@univerjs-pro/docs-shape-ui 0.25.0-insiders.20260623-012b5a8 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3da21c=_0x4e41;(function(_0x395d91,_0x8c5dd1){const _0x5a56af=_0x4e41,_0x318612=_0x395d91();while(!![]){try{const _0x105fcf=parseInt(_0x5a56af(0x454))/0x1*(parseInt(_0x5a56af(0x378))/0x2)+-parseInt(_0x5a56af(0x22b))/0x3+parseInt(_0x5a56af(0x1b0))/0x4+-parseInt(_0x5a56af(0x2e5))/0x5+-parseInt(_0x5a56af(0x1d0))/0x6+parseInt(_0x5a56af(0x23e))/0x7+parseInt(_0x5a56af(0x3d0))/0x8;if(_0x105fcf===_0x8c5dd1)break;else _0x318612['push'](_0x318612['shift']());}catch(_0x49f9f6){_0x318612['push'](_0x318612['shift']());}}}(_0x4a91,0x6fdc5),Object[_0x3da21c(0x223)](exports,Symbol[_0x3da21c(0x37d)],{'value':_0x3da21c(0x296)}));let e=require('@univerjs-pro/docs-shape'),t=require('@univerjs-pro/engine-shape'),n=require('@univerjs/core'),r=require('@univerjs/docs'),i=require('@univerjs/docs-drawing-ui'),a=require('@univerjs/docs-ui'),o=require('@univerjs/engine-render'),s=require('@univerjs/drawing'),c=require('@univerjs/ui'),l=require('@univerjs/design'),u=require('@univerjs/drawing-ui'),d=require('react'),f=require('react/jsx-runtime'),p=require('rxjs'),m=require('@univerjs-pro/shape-editor-ui'),h=require('@univerjs-pro/license'),g=require('@univerjs/icons');const _=_0x3da21c(0x201),v=_0x3da21c(0x322);function y(_0x1bbc96,_0x4bc10f){const _0x321f4c=_0x3da21c;if(_0x4bc10f){if((0x0,t[_0x321f4c(0x192)])(_0x1bbc96)&&(_0x4bc10f['startArrow']||_0x4bc10f[_0x321f4c(0x331)]))return{'ln':{'startArrow':_0x4bc10f[_0x321f4c(0xbe)]?{'type':t[_0x321f4c(0x243)]['Arrow'],'size':t['ShapeArrowSizeEnum'][_0x321f4c(0x117)]}:void 0x0,'endArrow':_0x4bc10f[_0x321f4c(0x331)]?{'type':t['ShapeArrowTypeEnum'][_0x321f4c(0x401)],'size':t[_0x321f4c(0x430)][_0x321f4c(0x334)]}:void 0x0}};if(_0x1bbc96===t[_0x321f4c(0xb5)][_0x321f4c(0x2a3)]&&(_0x4bc10f[_0x321f4c(0x1cc)]||_0x4bc10f[_0x321f4c(0xc5)]))return{'fill':{'fillType':t[_0x321f4c(0x1e3)][_0x321f4c(0x389)],'color':_},'stroke':{'lineStrokeType':t['ShapeLineTypeEnum'][_0x321f4c(0x13b)],'width':0x1,'color':v},'shapeText':{'isHorizontal':!!_0x4bc10f[_0x321f4c(0x1cc)]}};}}function _0x4e41(_0x4d2fd8,_0xf6576b){_0x4d2fd8=_0x4d2fd8-0xaa;const _0x4a91e0=_0x4a91();let _0x4e41f6=_0x4a91e0[_0x4d2fd8];return _0x4e41f6;}function b(_0x3e2799,_0x513905){const _0x289f83=_0x3da21c;var _0x2b008d;let _0x4c5816=_0x3e2799[_0x289f83(0xf5)](o['IRenderManagerService'])[_0x289f83(0x14e)](_0x513905),_0x169cfb=_0x4c5816==null||(_0x2b008d=_0x4c5816[_0x289f83(0x3c5)](a[_0x289f83(0x445)])['getActiveTextRange']())==null?void 0x0:_0x2b008d[_0x289f83(0x168)]();return _0x169cfb?{'left':_0x169cfb[_0x289f83(0x191)],'top':_0x169cfb[_0x289f83(0x261)]}:null;}function x(_0x5c331a,_0x7d1f79,_0x1cd862){const _0x28e2b5=_0x3da21c;var _0x12d60f,_0x53b4d3,_0x45c1fe;if(!_0x1cd862)return null;let _0xe54078=_0x5c331a['get'](o[_0x28e2b5(0x104)])['getRenderById'](_0x7d1f79),_0xa87897=_0xe54078==null?void 0x0:_0xe54078[_0x28e2b5(0x3c5)](a[_0x28e2b5(0x10e)])[_0x28e2b5(0x3e8)];if(!_0xa87897)return null;let _0x4e4679=_0x1cd862===_0x28e2b5(0xb8)?{'startOffset':_0xa87897[_0x28e2b5(0x124)][_0x28e2b5(0x3ec)],'endOffset':_0xa87897[_0x28e2b5(0x124)][_0x28e2b5(0x3ec)]}:_0xa87897[_0x28e2b5(0xe4)];return{'range':{'unitId':_0x7d1f79,'startOffset':_0x4e4679[_0x28e2b5(0x366)],'endOffset':_0x4e4679[_0x28e2b5(0x3ec)],'segmentId':(_0x12d60f=(_0x53b4d3=_0xa87897[_0x28e2b5(0x3b4)])==null?void 0x0:_0x53b4d3['segmentId'])==null?'':_0x12d60f},'position':(_0x45c1fe=_0xa87897['paragraph'])!=null&&_0x45c1fe['rect']?{'left':_0xa87897[_0x28e2b5(0x3b4)][_0x28e2b5(0x253)]['left'],'top':_0x1cd862==='below'?_0xa87897[_0x28e2b5(0x3b4)][_0x28e2b5(0x253)][_0x28e2b5(0x26a)]:_0xa87897['paragraph'][_0x28e2b5(0x253)][_0x28e2b5(0x261)]}:null};}function _0x4a91(){const _0x92e507=['GridType','getDrawingOKey','FlowchartSummingJunction','doc.command.menu-insert-shape','docs-shape-ui.shape.type.callout2','ShapeSwooshArrowIcon','_popupMenuListener','docs-shape-ui.textWrap.behindText','_activeShapeInfo','connectInjector','_transformCalculateSrcRect','TRUE','docs-shape-ui.shape.type.flow-chart-collate','dataModel','ShapeUpDownArrowIcon','TOP','_docDrawingShapeRenderController','onCommandExecuted','Inject','DoubleWave','WRAP_NONE','ShapeDecagonIcon','ShapeRightArrowIcon','docs-shape-ui.shape.type.flow-chart-merge','executeCommand','FlowchartCollate','ShapeStar8Icon','ShapeNotchedRightArrowIcon','LeftArrow','Moon','ObjectRelativeFromH','docs-shape-ui.shape.type.action-button-sound','docs-shape-ui.shape.type.up-arrow-callout','docs-shape-ui.shape.type.left-arrow-callout','_registerDrawingFocusChangeHandler','docs-shape-ui.shape.type.funnel','_toVisualAdjustPoint','docs-shape-ui.hidePanel','docs-shape-ui.shape.type.left-brace','_initEvents','merge','forEach','UpDownArrow','unsubscribe','_getShapeAdjustPointListById','startOffset','onSavingEditorData$','getParent','cos','Star4','RENDER_CLASS_TYPE','fonts$','FlowChartInputOutput','doc.shape.text.float-menu','ShapePlaqueIcon','docs-shape-ui.shape.type.snip1-rect','docs-shape-ui.shape.type.flow-chart-extract','ShapeStar24Icon','refreshShapeFillImage','ShapeFunnelIcon','docs-shape-ui.shape.type.flow-chart-alternate-process','UNIVER_DOC','UniverInstanceType','10090XizDQA','visible','doc.command.update-doc-drawing-wrapping-style','ShapeLeftRightArrowIcon','rectangle','toStringTag','docs-shape-ui.shape.type.star32','_drawShapeText','_clearPopups','horizontalAlign','ShapeRtTriangleIcon','_initUIPart','ShapeRectTextboxVerticalIcon','SquareTabs','ShapeEllipseIcon','docs-shape-ui.shape.type.star6','src','SolidFill','Parallelogram','ShapeFlowChartMagneticTapeIcon','isHitLine','ShapeActionButtonHomeIcon','doc.shape.picker.component','getDrawingData','docs-shape-ui.shape.type.star8','registerDependencies','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','MathNotEqual','RoundRect','subUnitId','flipX','ShapeSnip1RectIcon','_clearShapeAdjustControls','dispose','docs-shape-ui.shape.type.wave','wrapTopAndBottom','getFonts','onPointerDown$','ShapeTextEditorContainer','docs-shape-ui.shape.type.chord','behindDoc','CurvedConnector3','ContextMenuPosition','ShapeFlowChartInputOutputIcon','docs-shape-ui.shape.type.action-button-movie','Chevron','clipByShape','ComponentManager','gdRefY','docs-shape-ui.shape.type.flow-chart-offline-storage','getFocusDrawings','FlowchartInternalStorage','ActionButtonForwardNext','Callout3','ShapeFlowChartPreparationIcon','docs-shape-ui.shape.type.down-arrow','shape-text-','IConfigService','setOnSavingEditorData','getState','paragraph','docs-shape-ui.shape.type.hexagon','FlowchartMerge','setInsertRange','ShapeStraightConnector1Icon','ShapeLightningBoltIcon','icon','name','IMenuManagerService','BuiltInUIPart','MenuItemType','docs-shape-ui.shape.type.bent-connector3-arrow1','_loadAndSetImage','ShapeChevronIcon','getDrawingShapeKeyByDrawingSearch','transformVector2SceneCoord','ShapeStar4Icon','with','_menuManagerService','string','Teardrop','_sidebarDisposable','Heptagon','snapToGrid','disableObjectsEvent','_updateSrcRectByTransform','LEFT','QuadArrow','12128840XPSvEQ','docs-shape-ui.shape.type.wedge-rect-callout','ShapeActionButtonBeginningIcon','_activeShapeId','docs-shape-ui.shape.type.heptagon','onDblclick$','docs-shape-ui.shape.type.right-arrow-callout','asObservable','getShapeData','getViewports','unitId','ShapeBentConnector3Arrow2Icon','OpenDocShapeFormatPanelOperation','StraightConnector1','docs-shape-ui.shape.type.wedge-round-rect-callout','docs-shape-ui.shape.type.snip2-same-rect','subscribe','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeFlowChartManualInputIcon','QuadArrowCallout','ShapeFlowChartConnectorIcon','docs-shape-ui.shape.type.down-arrow-callout','_componentManager','ShapeLeftArrowCalloutIcon','activeTarget','createInternalEditorID','wrapSquare','LeftRightRibbon','endOffset','docs-shape-ui.shape.type.flow-chart-internal-storage','docs-shape-ui.shape.type.arc','DocCanvasPopManagerService','ShapeRound2SameRectIcon','ShapeRoundRectIcon','setPrstGeom','ShapeWedgeEllipseCalloutIcon','textStyle','ShapeOctagonIcon','ShapeMathNotEqualIcon','value','WedgeRoundRectCallout','WRAP','Tools','getObjectIncludeInGroup','docs-shape-ui.shape.type.half-frame','Transform','DownArrow','restore','Star5','Arrow','group','DocsShapeService','position','object','has','docs-shape-ui.shape.type.pie','_getShapeInfo','getRealBound','height','docs-shape-ui.shape.type.flow-chart-multidocument','docs-shape-ui.shape.type.left-up-arrow','inline','BracketPair','_draw','IconManager','ShapeChordIcon','docs-shape-ui.shape.type.flow-chart-punched-tape','docs-shape-ui.shape.type.flow-chart-delay','ShapeDiagStripeIcon','_baseShapeHeight','docs-shape-ui.shape.type.star16','_getSceneByUnitId','docs-shape-ui.shape.type.quad-arrow-callout','ShapeTeardropIcon','ShapeAccentCallout1Icon','Pentagon','WedgeEllipseCallout','docs-shape-ui.shape.type.curved-up-arrow','_sidebarService','Gear9','AccentBorderCallout3','VerticalAlign','FlowchartOnlineStorage','Plaque','adjName','ShapeEllipseRibbon2Icon','URL','CurvedLeftArrow','ShapeCallout2Icon','isHit','ShapeArcIcon','docs-shape-ui.shape.type.trapezoid','_disposePopups','_drawingManagerService','docs-shape-ui.shape.type.uturn-arrow','EllipseRibbon2','ShapeArrowSizeEnum','ShapePentagonIcon','adjHandleFill','_urlImageService','_updateShapeAdjustControls','getDrawingOrder','ShapeCurvedRightArrowIcon','ShapeHorizontalScrollIcon','equationShape','ShapeMoonIcon','ShapeActionButtonInformationIcon','getTransformerByCreate','ShapeFlowChartDecisionIcon','error','_loadShapePictureFill','generateRandomId','NotchedRightArrow','gdRefAng','Disposable','docs-shape-ui.shape.type.bent-up-arrow','setContextValue','DocSelectionRenderService','ShapeFlowChartMagneticDiskIcon','ShapeStar16Icon','ICommandService','PositionedObjectLayoutType','jsx','ShapeActionButtonHelpIcon','docs-shape-ui.textWrap.square','docs-shape-ui.shape.type.irregular-seal2','_initEditingParams','Snip2DiagRect','ShapeRightBraceIcon','UniverLicensePlugin','beginPath','ShapeLineInvIcon','55AiFpFi','DEFAULT','getShapeModel','FlowchartProcess','_registerComponents','TextWrapShapeIcon','LocaleService','FlowchartTerminator','ShapePieIcon','ShapeCloudCalloutIcon','ShapeFlowChartSortIcon','create','drawingType','inFrontOfText','constructor','ShapeSnip2DiagRectIcon','PlaqueTabs','ShapeLeftRightRibbonIcon','gridType','ShapeCallout3Icon','docs-shape-ui.shape.type.curved-connector3-arrow1','ShapeUpArrowIcon','docs-shape-ui.shape.type.flow-chart-offpage-connector','renderConfig','preValue','docs-shape-ui.shape.type.notched-right-arrow','Snip2SameRect','gdRefR','docs-shape-ui.shape.type.rect-textbox-vertical','ShapeRibbonIcon','registerComponent','docs-shape-ui.shape.type.left-right-arrow','_iconManager','onload','CloseDocShapeFormatPanelOperation','lineSpacing','set','ShapeLeftBraceIcon','docs-shape-ui.shape.type.chevron','doc','ShapeTrapezoidIcon','Image','_drawRichText','_adjHandlerPointerMove','docs-shape-ui.shape.type.action-button-document','render','Round2SameRect','docs-shape-ui.shape.type.line-inv','docs-shape-ui.shape.type.round2-diag-rect','docs-shape-ui.shape.type.plaque','shapeText','Sun','ShapeDiamondIcon','_shapeEditPanelVersion','disposeWithMe','getAdjustInfoByName','IrregularSeal1','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','docs-shape-ui.shape.type.octagon','ShapeTypeEnum','Chord','Snip1Rect','below','ShapeDownArrowCalloutIcon','docs-shape-ui.config','BorderCallout1','clearAdjustControls','ShapeRightArrowCalloutIcon','startArrow','type','docs-shape-ui.shape.type.gear9','docs-shape-ui.shape.type.snip2-diag-rect','_registerIcons','ShapeGear9Icon','srcRect','vertical','DependentOn','_docsShapeService','ShapeLineTypeEnum','RightArrowCallout','ancestorTransform','ShapeFlowChartManualOperationIcon','CornerTabs','pluginName','CONTENT','update$','DrawingTypeEnum','getAdjustValueByName','RightTriangle','shapeData','translateWithPrecision','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','drawings','isRenderLinePointsMode','docs-shape-ui.shape.type.border-callout3','ShapeChartStarIcon','docs-shape-ui.shape.type.action-button-blank','ShapeStraightConnector2Icon','ShapeWedgeRectCalloutIcon','docs-shape-ui.shape.type.smiley-face','docs-shape-ui.shape.type.math-divide','DocumentViewModel','DRAWING_SHAPE','Star12','ShapeLeftCircularArrowIcon','multiply','menuRange','getSnapshot','docs-shape-ui.shape.type.no-smoking','ShapeRibbon2Icon','_getActiveDrawingParam','ShapeCallout1Icon','ShapeRound2DiagRectIcon','INLINE','VIEWPORT_KEY','ShapeChartXIcon','fillType','BehaviorSubject','sin','clip','ShapeCurvedDownArrowIcon','prstGeom','ShapeTriangleIcon','get','Can','_clipService','_initializedShapePopupMenu','onStarting','ShapeFlowChartOrIcon','.below','popup','Plugin','version','docs-shape-ui.insertShape','RightBrace','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs-shape-ui.shape.type.plus','ActionButtonBackPrevious','IRenderManagerService','shapeKey','ShapeCurvedLeftArrowIcon','ShapeLineIcon','basicShape','HomePlate','docs-shape-ui.shape.type.left-circular-arrow','docs-shape-ui.deleteShape','decorate','docs-shape-ui.shape.type.star24','DocParagraphMenuService','ShapeDonutIcon','Dropdown','getImageSourceCache','_lastEditingShapeKey','ShapeActionButtonSoundIcon','ShapeUpDownArrowCalloutIcon','_props','HorizontalAlign','Medium','ActionButtonDocument','Arc','docs-shape-ui.shape.type.accent-callout2','UniverDocsShapePlugin','DRAWING_IMAGE','isRender','docs-shape-ui.shape.type.non-isosceles-trapezoid','ShapeHalfFrameIcon','doc.operation.close-doc-shape-format-panel','ShapeDownArrowIcon','ShapeCurvedConnector3Arrow1Icon','applyPoint','moveRange','InsertDocDrawingCommand','dataStream','_configService','docs-shape-ui.shape.type.chart-star','DocSelectionManagerService','univer-mb-2','docs-shape-ui.shape.type.gear6','ShapeActionButtonReturnIcon','paragraphs','ShapeCurvedConnector3Icon','ShapeFlowChartMagneticDrumIcon','next','CurvedDownArrow','getUnit','docs-shape-ui.shape.type.flow-chart-summing-junction','WRAP_SQUARE','ShapeMathMultiplyIcon','spaceAbove','ShapeRenderModeEnum','ShapeAccentCallout2Icon','ShapeCloudIcon','ShapeRightBracketIcon','SolidLine','ShapeFlowChartCollateIcon','div','ShapeMathMinusIcon','_localeService','Ribbon','Ellipse','getImage','_activeShapeAdjustPointList','ShapeStripedRightArrowIcon','_getActiveDrawingShape','translate','_registerDrawingTransformHandler','COMMAND','toDisposable','call','fillImageSource','ShapeDefaultConfig','ActionButtonSound','getRenderById','docs-shape-ui.shape.type.bevel','ShapeBevelIcon','Dodecagon','ShapeIrregularSeal2Icon','ChartStar','setCanUseShapeClip','Heart','docs-shape-ui.shape.type.plaque-tabs','docs-shape-ui.shape.type.straight-connector1','MathMinus','docs-shape-ui.shape.type.vertical-scroll','values','ShapeAccentBorderCallout3Icon','syncExecuteCommand','getInverseCoord','_updateShape','FlowchartOffPageConnector','ShapeBentUpArrowIcon','isEditing','_renderManagerService','ShapeFlowChartOfflineStorageIcon','BlockArc','docs-shape-ui.shape.type.flow-chart-process','transform','ShapeGear6Icon','getAbsolutePosition','ShapeLeftBracketIcon','shapeType','_baseShapeLeft','docs-shape-ui.shape.type.line','docs-shape-ui.shape.type.swoosh-arrow','shapeId','ShapeHeptagonIcon','clear','ShapeCanIcon','viewBound','open','ShapeActionButtonEndIcon','ShapeBracketPairIcon','_getFocusedShapeAtPoint','ShapeRectIcon','_transform','ShapeFlowChartDocumentIcon','ShapeHexagonIcon','FlowchartDisplay','IImageIoService','angle','docs-shape-ui.shape.type.flow-chart-manual-operation','docs-shape-ui.shape.type.accent-callout3','ShapeFlowChartPunchedTapeIcon','documentStyle','ShapeSunIcon','ShapeActionButtonBlankIcon','SmileyFace','docs-shape-ui.shape.type.flow-chart-decision','ShapeBorderCallout2Icon','ShapeSquareTabsIcon','extraProps','ShapeLeftRightArrowCalloutIcon','docs-shape-ui.shape.type.border-callout1','FALSE','Vector2','Octagon','SwooshArrow','addObject','AccentCallout2','left','isConnectorShape','VERTICAL_ROTATE_ANGLE','makeDirty','BooleanNumber','_closeShapeEditPanel','docs-shape-ui.shape.type.decagon','FlowchartManualInput','getActiveViewportByCoord','DOC_CONTENT_INSERT_MENU_ID','Star10','enableObjectsEvent','draw','ShapeBentArrowIcon','FlowchartConnector','setSrcRect','UniverDocsDrawingUIPlugin','scale','ChartPlus','docs-shape-ui.shape.type.flow-chart-manual-input','_imageIoService','ShapeCurvedConnector3Arrow2Icon','ShapeUturnArrowIcon','docs-shape-ui.shape.type.math-not-equal','ShapePieWedgeIcon','useMemo','Pie','docs-shape-ui.shape.type.pentagon','_isStartAdjusting','IrregularSeal2','ShapeStar10Icon','743324DkiHiW','ShapeTextFloatToolbar','_refreshShapeData','getShapeTypeById','WrapTextType','_initShapePopupMenu','changeEnd$','Round1Rect','docs-shape-ui.shape.type.action-button-end','refreshTransform','gdRefX','ShapeCubeIcon','RibbonInsertGroup','ShapeFlowChartDelayIcon','getDrawingVisible','top-center','blockArrow','ShapeFlowChartTerminatorIcon','getDrawingSearch','_adjustPointObjects','changeStart$','UpArrow','params','UpDownArrowCallout','docs-shape-ui.shape.type.left-right-arrow-callout','FlowchartPreparation','ShapeNonIsoscelesTrapezoidIcon','ShapeFlowChartPunchedCardIcon','horizontal','docs-shape-ui.shape.type.home-plate','_unitId','some','3723906sJkLaC','ShapeBentConnector3Icon','getShapeType','attachPopupToObject','setConfig','_attachAdjustEvent','_baseShapeTop','ShapeQuadArrowCalloutIcon','ShapeBorderCallout3Icon','_openShapeEditPanel','focusDrawing','_isShouldShowDrawingShapeAdjust','docs-shape-ui.shape.type.rt-triangle','_subUnitId','Triangle','docs-shape-ui.shape.type.curved-down-arrow','line','getCurrentUniverDocInstance','BorderCallout2','ShapeFillEnum','_initMenu','ShapePlusIcon','docs-shape-ui.shape.type.up-arrow','registerCommand','docs-shape-ui.shape.type.action-button-home','CurvedUpArrow','docs-shape-ui.shape.type.frame','width','PARAGRAPH','attachTransformerTo','_univerInstanceService','getEditing','ShapeSmileyFaceIcon','docs-shape-ui.shape.type.right-brace','_toScenePoint','size','ShapeWedgeRoundRectCalloutIcon','docs-shape-ui.shape.type.round-rect','getSelectedObjectMap','warn','shapeModel','ActionButtonHome','_contextService','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','docs-shape-ui.shape.type.flow-chart-punched-card','DOC_PARAGRAPH_T_INSERT_MENU_ID','sectionBreaks','ShapeFlowChartAlternateProcessIcon','getDrawingPoints','#3B82F6','addImageSourceCache','BentConnector3','getShapePopupMenus','_createShapeAdjustControls','docs-shape-ui.shape.type.dodecagon','save','createControl$','ShapeSnipRoundRectIcon','ShapeHeartIcon','docs-shape-ui.shape.type.bent-connector3-arrow2','docs-shape-ui.shape.type.left-right-circular-arrow','docs-shape-ui.shape.type.flow-chart-input-output','docs-shape-ui.shape.type.flow-chart-magnetic-drum','insertGroupObject','ShapeFlowChartInternalStorageIcon','ShapeFlowChartOnlineStorageIcon','docs-shape-ui.shape.type.accent-callout1','_adjHandlerPointerUp','DocumentDataModel','docs-shape-ui.shape.type.border-callout2','spaceBelow','ShapeMathEqualIcon','docs-shape-ui.shape.type.flow-chart-document','FoldedCorner','FlowchartPredefinedProcess','_setTransForm','ShapeBlockArcIcon','isInGroup','Trapezoid','ShapeStar32Icon','ShapeLeftRightUpArrowIcon','ShapeHomePlateIcon','ShapeParallelogramIcon','defineProperty','starAndBanner','Circle','drawingId','docs-shape-ui.shape.type.callout3','docs-shape-ui.shape.type.lightning-bolt','ShapeUpArrowCalloutIcon','SHAPE_TEXT','1727994KktnJR','FlowchartMultiDocument','oKey','docs-shape-ui.shape.type.ribbon','isLineShape','_config','docs-shape-ui.shape.type.quad-arrow','FOCUSING_COMMON_DRAWINGS','docs-shape-ui.formatShape','UpdateDocShapeDataMutation','BentArrow','docs-shape-ui.shape.type.action-button-help','docs-shape-ui.shape.type.bracket-pair','docs-shape-ui.shape.type.star7','ShapeDodecagonIcon','updateShapeFillImage','Star24','UpdateDocShapeDataCommand','_commandService','1142120XYzDkf','ShapeStar7Icon','docs-shape-ui.shape.type.rect','memo','_adjName','ShapeArrowTypeEnum','_addShapeAdjustControl','ShapeEditPanel','DownArrowCallout','DOCS_SHAPE_UI_PLUGIN','max','LeftRightCircularArrow','_init','range','iterator','LeftUpArrow','GROUP','Frame','FlowchartSort','default','ImageSourceTypeEnum','rect','ShapeChartPlusIcon','pick','AccentCallout3','flowchart','PAGE','renderDrawingShape','ShapeFlowChartExtractIcon','calculate','ShapeLeftRightCircularArrowIcon','FlowchartDocument','docs-shape-ui.openPanel','FlowchartManualOperation','docs-shape-ui.shape.type.star12','top','clone','_injector','objects','ShapeMathPlusIcon','docs-shape-ui.shape.type.action-button-beginning','image','ActionButtonHelp','docs-shape-ui.shape.type.left-arrow','bottom','getMatrix','_insertShapes','ShapeFlowChartMergeIcon','stopPropagation','LAYOUT','_getShapeAdjustInfosById','INSERT_BELLOW_MENU_ID','changing$','jsxs','docs-shape-ui.shape.type.round2-same-rect','docs-shape-ui.shape.type.up-down-arrow','BorderCallout3','_createShapePopupMenu','FlowchartExtract','FromArray','_shapeId','docs-shape-ui.shape.type.rect-textbox-horizontal','ShapeFlowChartProcessIcon','_activeAdjustInfo','drawWith','ShapeIcon','calcAdjValue','setShapeProps','DrawingImageClipService','ShapeModel','subscribeEvent','_onSavingEditorData$','Star7','docs-shape-ui.shape.group.','StripedRightArrow','deepClone','other','FOCUSING_SHAPE_TEXT_EDITOR','CURSOR_TYPE','IDrawingManagerService','docs-shape-ui.shape.type.curved-left-arrow','scene','ShapeAccentBorderCallout2Icon','Ribbon2','docs-shape-ui.shape.type.striped-right-arrow','ActionButtonInformation','callout','_docCanvasPopManagerService','Module','ChartX','setEditing','docs-shape-ui.shape.type.cloud-callout','ShapeCircularArrowIcon','ShapeFlowChartOffpageConnectorIcon','LeftBracket','DocumentSkeleton','IUIPartsService','ContextMenuGroup','docs-shape-ui.shape.type.right-arrow','ShapeDoubleWaveIcon','Star16','Rect','Shape','docs-shape-ui.shape.type.flow-chart-preparation','complete','ShapeFlowChartSummingJunctionIcon','target','OPERATION','LineInv','_initSelection','LeftBrace','CommandType','HalfFrame','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','univer-box-border\x20univer-px-4\x20univer-text-sm','ShapeFloatingToolbar','WedgeRectCallout','_isOpenedShapeEditPanel','registerRenderModule','RemoveDocDrawingCommand','LeftRightArrowCallout','Wave','getDrawingByParam','add$','touchDependencies','paragraphStyle','transformByState','IContextService','classType','docs-shape-ui.shape.type.star4','updateContext','docs-shape-ui.shape.type.action-button-back-previous','ShapeFolderCornerIcon','docs-shape-ui.shape.type.block-arc','_initCommands','ShapeBorderCallout1Icon','docs-shape-ui.textWrap.inFrontText','useEffect','remove$','label','docs-shape-ui.shape.type.accent-border-callout3','includes','_editingParams$','#111827','packageName','docs-shape-ui.shape.type.circular-arrow','docs-shape-ui.shape.type.brace-pair','docs-shape-ui.shape.type.ellipse','DRAWING_OBJECT_LAYER_INDEX','ShapeRound1RectIcon','IUniverInstanceService','map','invert','docs-shape-ui.shape.type.math-equal','clearControl$','fill','ShapeFlowChartMultidocumentIcon','Funnel','_updateAdjustControlPositions','docs-shape-ui.shape.type.flow-chart-connector','docs-shape-ui.shape.type.cube','SnipRoundRect','body','getShapeTextRect','_drawSimpleText','Hexagon','indexOf','2438705GTsprd','toPrimitive','ShapeActionButtonMovieIcon','focus$','zeroWidthParagraphBreak','Star32','_context','ShapeBracePairIcon','WrapStrategy','strokeWidth','onTransformChange$','localeService','getAllUnitsForType','DEFAULT_DOC_SHAPE_HEIGHT','FlowchartPunchedTape','docs-shape-ui.shape.type.teardrop','push','NonIsoscelesTrapezoid','useDependency','docs-shape-ui.shape.type.ribbon2','Star8','ShapeSnip2SameRectIcon','DRAWING_DOM','fillImageSourceType','isRichText','editingParams$','flipY','getShapeTextData','useState','_shapeTextEditingService','ShapeActionButtonBackPreviousIcon','onReady','register','setFillImage','docs-shape-ui.shape.type.sun','UturnArrow','ShapeNoSmokingIcon','ShapeStar6Icon','ShapeActionButtonDocumentIcon','ShapeMathDivideIcon','ShapeEllipseRibbonIcon','getShapeDataById','ActionButtonEnd','_registerImageShapeClipDelegate','ShapeBentConnector3Arrow1Icon','symbol','ShapeLeftUpArrowIcon','onPointerUp$','layoutType','ShapeCornerTabsIcon','adjHandleSize','ShapeCurvedUpArrowIcon','PictureFill','_baseShapeWidth','resize','find','_activeShapeModel','Callout1','_initialize','docDrawingPositionToTransform','menu','#2563EB','ShapeCornerIcon','MenuInsertShapeCommand','CROSSHAIR','refreshAdjustControls','AccentBorderCallout2','docs-shape-ui.shape.type.corner','length','Gear6','ShapeVerticalScrollIcon','docs-shape-ui.shape.type.flow-chart-magnetic-disk','ShapeFrameIcon','Decagon','Bevel','DrawingCommonPanel','endArrow','DocDrawingPosition','ShapePlaqueTabsIcon','Large','CloudCallout','_registerOperations','docs-shape-ui.shape.type.square-tabs','filter'];_0x4a91=function(){return _0x92e507;};return _0x4a91();}function S(_0x44e9f1,_0x472ead,_0xb01e50){const _0x5a418d=_0x3da21c;var _0x4ee727;return{'size':{'width':_0x44e9f1,'height':_0x472ead},'positionH':{'relativeFrom':n[_0x5a418d(0x357)][_0x5a418d(0x258)],'posOffset':(_0x4ee727=_0xb01e50==null?void 0x0:_0xb01e50[_0x5a418d(0x191)])==null?0x0:_0x4ee727},'positionV':{'relativeFrom':n['ObjectRelativeFromV'][_0x5a418d(0x1ec)],'posOffset':0x0},'angle':0x0};}const C={'type':n[_0x3da21c(0x2ad)][_0x3da21c(0x148)],'id':_0x3da21c(0x33c),'handler':async(_0x4061a2,_0x143223)=>{const _0x125e6e=_0x3da21c;var _0x5825ad,_0x46bfc9,_0x2b2fd4,_0x4fbbb9,_0x2a0042,_0x40d11e;let _0xbe8bec=_0x4061a2['get'](n[_0x125e6e(0x2d4)])[_0x125e6e(0x1e1)]();if(!_0xbe8bec)return!0x1;let _0x2199c2=_0x4061a2[_0x125e6e(0xf5)](n[_0x125e6e(0x448)]),_0x117f2e=_0xbe8bec['getUnitId'](),_0x1c82f2=_0x117f2e,_0x3614fa=(_0x5825ad=_0x143223[_0x125e6e(0x16e)])==null?(0x0,n[_0x125e6e(0x43f)])():_0x5825ad,_0x48d6d8=(_0x46bfc9=_0x143223[_0x125e6e(0x1eb)])==null?e['DEFAULT_DOC_SHAPE_WIDTH']:_0x46bfc9,_0xf21b3a=(_0x2b2fd4=_0x143223[_0x125e6e(0x40a)])==null?e[_0x125e6e(0x2f2)]:_0x2b2fd4,_0x2c17b3=(_0x4fbbb9=(_0x2a0042=_0x143223[_0x125e6e(0xd3)])==null?y(_0x143223[_0x125e6e(0x3f7)],_0x143223['enhanceParams']):_0x2a0042)==null?{'fill':{'fillType':t[_0x125e6e(0x1e3)][_0x125e6e(0x389)],'color':_},'stroke':{'lineStrokeType':t[_0x125e6e(0xc8)][_0x125e6e(0x13b)],'width':0x1,'color':v}}:_0x4fbbb9,_0x4adc0c=x(_0x4061a2,_0x117f2e,_0x143223['paragraphMenuPlacement']),_0x36795b=(_0x40d11e=_0x4adc0c==null?void 0x0:_0x4adc0c[_0x125e6e(0x404)])==null?b(_0x4061a2,_0x117f2e):_0x40d11e,_0x304e6b=S(_0x48d6d8,_0xf21b3a,_0x36795b),_0x454ad0=(0x0,a[_0x125e6e(0x320)])(_0x304e6b);_0x454ad0&&_0x36795b&&(_0x454ad0[_0x125e6e(0x261)]=_0x36795b['top']),_0x2199c2[_0x125e6e(0x15c)](e['InsertDocShapeMutation']['id'],{'unitId':_0x117f2e,'shapeId':_0x3614fa,'shapeType':_0x143223['value'],'shapeData':_0x2c17b3}),_0x4adc0c&&_0x4061a2[_0x125e6e(0xf5)](r['DocContentInsertService'])[_0x125e6e(0x3b7)](_0x4adc0c[_0x125e6e(0x24b)]);let _0x2f9924={'unitId':_0x117f2e,'subUnitId':_0x1c82f2,'drawingId':_0x3614fa,'drawingType':n['DrawingTypeEnum'][_0x125e6e(0xe0)],'transform':_0x454ad0,'docTransform':_0x304e6b,'data':{'shapeType':_0x143223[_0x125e6e(0x3f7)],'shapeData':_0x2c17b3},'behindDoc':n[_0x125e6e(0x195)][_0x125e6e(0x18b)],'title':'','description':'','layoutType':n[_0x125e6e(0x449)][_0x125e6e(0xeb)],'wrapText':n[_0x125e6e(0x1b4)]['BOTH_SIDES'],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x2199c2[_0x125e6e(0x15c)](i[_0x125e6e(0x125)]['id'],{'unitId':_0x117f2e,'drawings':[_0x2f9924]});}},w={'type':n[_0x3da21c(0x2ad)][_0x3da21c(0x2a9)],'id':_0x3da21c(0x120),'handler'(){return!0x0;}},T={'type':n['CommandType'][_0x3da21c(0x2a9)],'id':'doc.operation.open-doc-shape-format-panel','handler'(){return!0x0;}},E='doc.shape.edit.panel',D=(0x0,n[_0x3da21c(0x3e9)])(_0x3da21c(0x22a));function O(_0x91c94c,_0x46908e){return function(_0x28a8a0,_0x3797ee){_0x46908e(_0x28a8a0,_0x3797ee,_0x91c94c);};}function k(_0x3527b0,_0x2f1fcc,_0x37790f,_0x4d78d6){const _0x26147a=_0x3da21c;var _0x4e59ca=arguments[_0x26147a(0x329)],_0x55158e=_0x4e59ca<0x3?_0x2f1fcc:_0x4d78d6===null?_0x4d78d6=Object['getOwnPropertyDescriptor'](_0x2f1fcc,_0x37790f):_0x4d78d6,_0xb1f441;if(typeof Reflect==_0x26147a(0x405)&&typeof Reflect[_0x26147a(0x10c)]=='function')_0x55158e=Reflect['decorate'](_0x3527b0,_0x2f1fcc,_0x37790f,_0x4d78d6);else{for(var _0x2913ae=_0x3527b0[_0x26147a(0x329)]-0x1;_0x2913ae>=0x0;_0x2913ae--)(_0xb1f441=_0x3527b0[_0x2913ae])&&(_0x55158e=(_0x4e59ca<0x3?_0xb1f441(_0x55158e):_0x4e59ca>0x3?_0xb1f441(_0x2f1fcc,_0x37790f,_0x55158e):_0xb1f441(_0x2f1fcc,_0x37790f))||_0x55158e);}return _0x4e59ca>0x3&&_0x55158e&&Object[_0x26147a(0x223)](_0x2f1fcc,_0x37790f,_0x55158e),_0x55158e;}let A=class extends n['Disposable']{constructor(_0x26ff31,_0x30bf4c){const _0x5efdaf=_0x3da21c;super(),this[_0x5efdaf(0xf7)]=_0x26ff31,this[_0x5efdaf(0x42d)]=_0x30bf4c,this[_0x5efdaf(0x310)](),this[_0x5efdaf(0xf7)][_0x5efdaf(0x154)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x5efdaf(0xf7)][_0x5efdaf(0x154)](!0x1)});}[_0x3da21c(0x310)](){const _0x3af304=_0x3da21c;let _0x125dab=new Map(),_0xe308e1=this[_0x3af304(0xf7)]['registerClipDelegate']((_0x2a6354,_0x403127,_0x167573,_0x1283eb,_0x54f863)=>{const _0x141b7d=_0x3af304;let _0x512151=_0x403127;if(_0x512151===t[_0x141b7d(0xb5)]['None']||_0x403127==='custom')return!0x1;try{let _0x27d0bc=_0x125dab['get'](_0x403127);return _0x27d0bc||(_0x27d0bc=new t[(_0x141b7d(0x283))](_0x512151,'clip-'+_0x403127),_0x125dab[_0x141b7d(0x478)](_0x403127,_0x27d0bc)),_0x54f863&&_0x27d0bc['setShapeData']({'adjustValues':_0x54f863},!0x0),_0x27d0bc[_0x141b7d(0x2c0)]({'width':_0x167573,'height':_0x1283eb}),_0x27d0bc['buildClipPath'](_0x2a6354,{'left':0x0,'top':0x0,'width':_0x167573,'height':_0x1283eb});}catch{return!0x1;}});this['disposeWithMe'](_0xe308e1),this[_0x3af304(0xb0)]({'dispose':()=>_0x125dab[_0x3af304(0x170)]()});}['clipByShape'](_0x5c7991,_0x5161d5,_0x335c0f,_0x1a2858,_0x4a3eee){const _0x19f525=_0x3da21c;let _0x3fac4d=this['_drawingManagerService'][_0x19f525(0x38f)](_0x5c7991,_0x5161d5)[_0x335c0f];!_0x3fac4d||_0x3fac4d[_0x19f525(0x460)]!==n[_0x19f525(0xd0)][_0x19f525(0x11c)]||this[_0x19f525(0x42d)]['featurePluginUpdateNotification']([{..._0x3fac4d,'prstGeom':_0x1a2858,'adjustValues':_0x4a3eee}]);}};A=k([O(0x0,(0x0,n[_0x3da21c(0x34b)])(u[_0x3da21c(0x282)])),O(0x1,(0x0,n[_0x3da21c(0x34b)])(s['IDrawingManagerService']))],A);const j=[{'group':_0x3da21c(0x1e0),'type':t['ShapeTypeEnum']['Line'],'icon':_0x3da21c(0x107),'name':_0x3da21c(0x16c)},{'group':'line','type':t['ShapeTypeEnum'][_0x3da21c(0x3dd)],'icon':'ShapeStraightConnector1Icon','name':_0x3da21c(0x157),'endArrow':!0x0},{'group':_0x3da21c(0x1e0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3dd)],'icon':_0x3da21c(0xdb),'name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':t['ShapeTypeEnum']['BentConnector3'],'icon':'ShapeBentConnector3Icon','name':'docs-shape-ui.shape.type.bent-connector3'},{'group':_0x3da21c(0x1e0),'type':t['ShapeTypeEnum'][_0x3da21c(0x203)],'icon':_0x3da21c(0x311),'name':_0x3da21c(0x3bf),'endArrow':!0x0},{'group':_0x3da21c(0x1e0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x203)],'icon':_0x3da21c(0x3db),'name':_0x3da21c(0x20b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x3da21c(0x1e0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3a1)],'icon':'ShapeCurvedConnector3Icon','name':'docs-shape-ui.shape.type.curved-connector3'},{'group':_0x3da21c(0x1e0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3a1)],'icon':_0x3da21c(0x122),'name':_0x3da21c(0x468),'endArrow':!0x0},{'group':'line','type':t[_0x3da21c(0xb5)][_0x3da21c(0x3a1)],'icon':_0x3da21c(0x1a6),'name':'docs-shape-ui.shape.type.curved-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':t[_0x3da21c(0xb5)][_0x3da21c(0x2a3)],'icon':_0x3da21c(0x177),'name':_0x3da21c(0x240)},{'group':_0x3da21c(0x37c),'type':t['ShapeTypeEnum'][_0x3da21c(0x394)],'icon':_0x3da21c(0x3f1),'name':_0x3da21c(0x1f5)},{'group':_0x3da21c(0x37c),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xb7)],'icon':_0x3da21c(0x397),'name':_0x3da21c(0x370)},{'group':_0x3da21c(0x37c),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x46e)],'icon':_0x3da21c(0x2fa),'name':_0x3da21c(0x3df)},{'group':'rectangle','type':t['ShapeTypeEnum'][_0x3da21c(0x44f)],'icon':_0x3da21c(0x463),'name':_0x3da21c(0xc1)},{'group':_0x3da21c(0x37c),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2df)],'icon':'ShapeSnipRoundRectIcon','name':'docs-shape-ui.shape.type.snip-round-rect'},{'group':_0x3da21c(0x37c),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1b7)],'icon':_0x3da21c(0x2d3),'name':'docs-shape-ui.shape.type.round1-rect'},{'group':_0x3da21c(0x37c),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x482)],'icon':_0x3da21c(0x3f0),'name':_0x3da21c(0x274)},{'group':_0x3da21c(0x37c),'type':t['ShapeTypeEnum']['Round2DiagRect'],'icon':_0x3da21c(0xea),'name':_0x3da21c(0xaa)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2a3)],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x3da21c(0x27b),'horizontal':!0x0},{'group':'basicShape','type':t[_0x3da21c(0xb5)]['Rect'],'icon':_0x3da21c(0x384),'name':_0x3da21c(0x470),'vertical':!0x0},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x141)],'icon':'ShapeEllipseIcon','name':_0x3da21c(0x2d1)},{'group':'basicShape','type':t['ShapeTypeEnum'][_0x3da21c(0x1de)],'icon':_0x3da21c(0xf4),'name':'docs-shape-ui.shape.type.triangle'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xd2)],'icon':_0x3da21c(0x382),'name':_0x3da21c(0x1dc)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x38a)],'icon':_0x3da21c(0x222),'name':'docs-shape-ui.shape.type.parallelogram'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x21e)],'icon':_0x3da21c(0x47c),'name':_0x3da21c(0x42b)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum']['Diamond'],'icon':'ShapeDiamondIcon','name':'docs-shape-ui.shape.type.diamond'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x41b)],'icon':_0x3da21c(0x431),'name':_0x3da21c(0x1ac)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2e3)],'icon':'ShapeHexagonIcon','name':_0x3da21c(0x3b5)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum'][_0x3da21c(0x3ca)],'icon':_0x3da21c(0x16f),'name':_0x3da21c(0x3d4)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum'][_0x3da21c(0x18d)],'icon':'ShapeOctagonIcon','name':_0x3da21c(0xb4)},{'group':'basicShape','type':t[_0x3da21c(0xb5)][_0x3da21c(0x32e)],'icon':'ShapeDecagonIcon','name':_0x3da21c(0x197)},{'group':'basicShape','type':t[_0x3da21c(0xb5)][_0x3da21c(0x151)],'icon':_0x3da21c(0x239),'name':_0x3da21c(0x206)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1ab)],'icon':_0x3da21c(0x45c),'name':_0x3da21c(0x407)},{'group':'basicShape','type':t[_0x3da21c(0xb5)][_0x3da21c(0xb6)],'icon':'ShapeChordIcon','name':_0x3da21c(0x39f)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum'][_0x3da21c(0x3c8)],'icon':_0x3da21c(0x419),'name':_0x3da21c(0x2f4)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x24f)],'icon':_0x3da21c(0x32d),'name':_0x3da21c(0x1ea)},{'group':'basicShape','type':t['ShapeTypeEnum'][_0x3da21c(0x2ae)],'icon':_0x3da21c(0x11f),'name':_0x3da21c(0x3fc)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum']['Corner'],'icon':_0x3da21c(0x323),'name':_0x3da21c(0x328)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['DiagStripe'],'icon':_0x3da21c(0x414),'name':'docs-shape-ui.shape.type.diag-stripe'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['Plus'],'icon':'ShapePlusIcon','name':_0x3da21c(0x102)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x423)],'icon':_0x3da21c(0x36f),'name':_0x3da21c(0xab)},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum'][_0x3da21c(0xf6)],'icon':_0x3da21c(0x171),'name':'docs-shape-ui.shape.type.can'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['Cube'],'icon':_0x3da21c(0x1bb),'name':_0x3da21c(0x2de)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x32f)],'icon':'ShapeBevelIcon','name':_0x3da21c(0x14f)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['Donut'],'icon':_0x3da21c(0x10f),'name':'docs-shape-ui.shape.type.donut'},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum']['NoSmoking'],'icon':_0x3da21c(0x309),'name':_0x3da21c(0xe6)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x164)],'icon':_0x3da21c(0x21c),'name':_0x3da21c(0x2c3)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x219)],'icon':_0x3da21c(0x2c2),'name':'docs-shape-ui.shape.type.folder-corner'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x184)],'icon':_0x3da21c(0x1f0),'name':_0x3da21c(0xdd)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x155)],'icon':'ShapeHeartIcon','name':'docs-shape-ui.shape.type.heart'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['LightningBolt'],'icon':_0x3da21c(0x3b9),'name':_0x3da21c(0x228)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xad)],'icon':_0x3da21c(0x182),'name':_0x3da21c(0x307)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x356)],'icon':_0x3da21c(0x439),'name':'docs-shape-ui.shape.type.moon'},{'group':'basicShape','type':t[_0x3da21c(0xb5)]['Cloud'],'icon':_0x3da21c(0x139),'name':'docs-shape-ui.shape.type.cloud'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x119)],'icon':_0x3da21c(0x42a),'name':_0x3da21c(0x3ee)},{'group':'basicShape','type':t[_0x3da21c(0xb5)][_0x3da21c(0x40e)],'icon':'ShapeBracketPairIcon','name':_0x3da21c(0x237)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['BracePair'],'icon':'ShapeBracePairIcon','name':_0x3da21c(0x2d0)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x29c)],'icon':'ShapeLeftBracketIcon','name':'docs-shape-ui.shape.type.left-bracket'},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)]['RightBracket'],'icon':_0x3da21c(0x13a),'name':'docs-shape-ui.shape.type.right-bracket'},{'group':_0x3da21c(0x108),'type':t['ShapeTypeEnum'][_0x3da21c(0x2ac)],'icon':'ShapeLeftBraceIcon','name':_0x3da21c(0x35f)},{'group':_0x3da21c(0x108),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x100)],'icon':_0x3da21c(0x450),'name':_0x3da21c(0x1f1)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['RightArrow'],'icon':_0x3da21c(0x34f),'name':_0x3da21c(0x2a0)},{'group':'blockArrow','type':t[_0x3da21c(0xb5)][_0x3da21c(0x355)],'icon':'ShapeLeftArrowIcon','name':_0x3da21c(0x269)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1c5)],'icon':_0x3da21c(0x469),'name':_0x3da21c(0x1e6)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3fe)],'icon':_0x3da21c(0x121),'name':_0x3da21c(0x3af)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['LeftRightArrow'],'icon':_0x3da21c(0x37b),'name':_0x3da21c(0x473)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x363)],'icon':_0x3da21c(0x347),'name':_0x3da21c(0x275)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3cf)],'icon':'ShapeQuadArrowIcon','name':_0x3da21c(0x231)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['LeftRightUpArrow'],'icon':_0x3da21c(0x220),'name':'docs-shape-ui.shape.type.left-right-up-arrow'},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x235)],'icon':_0x3da21c(0x19e),'name':'docs-shape-ui.shape.type.bent-arrow'},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x308)],'icon':_0x3da21c(0x1a7),'name':_0x3da21c(0x42e)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x24d)],'icon':_0x3da21c(0x313),'name':_0x3da21c(0x40c)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['BentUpArrow'],'icon':'ShapeBentUpArrowIcon','name':_0x3da21c(0x443)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['CurvedRightArrow'],'icon':'ShapeCurvedRightArrowIcon','name':'docs-shape-ui.shape.type.curved-right-arrow'},{'group':_0x3da21c(0x1c0),'type':t['ShapeTypeEnum'][_0x3da21c(0x427)],'icon':_0x3da21c(0x106),'name':_0x3da21c(0x28e)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1e9)],'icon':'ShapeCurvedUpArrowIcon','name':_0x3da21c(0x41d)},{'group':'blockArrow','type':t[_0x3da21c(0xb5)][_0x3da21c(0x131)],'icon':_0x3da21c(0xf2),'name':_0x3da21c(0x1df)},{'group':_0x3da21c(0x1c0),'type':t['ShapeTypeEnum'][_0x3da21c(0x288)],'icon':_0x3da21c(0x144),'name':_0x3da21c(0x292)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x440)],'icon':_0x3da21c(0x354),'name':_0x3da21c(0x46d)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x109)],'icon':_0x3da21c(0x221),'name':_0x3da21c(0x1cd)},{'group':'blockArrow','type':t['ShapeTypeEnum'][_0x3da21c(0x3a5)],'icon':_0x3da21c(0x3c1),'name':_0x3da21c(0x47a)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xc9)],'icon':_0x3da21c(0xbd),'name':_0x3da21c(0x3d6)},{'group':'blockArrow','type':t[_0x3da21c(0xb5)][_0x3da21c(0x246)],'icon':'ShapeDownArrowCalloutIcon','name':_0x3da21c(0x3e5)},{'group':_0x3da21c(0x1c0),'type':t['ShapeTypeEnum']['LeftArrowCallout'],'icon':'ShapeLeftArrowCalloutIcon','name':_0x3da21c(0x35a)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)]['UpArrowCallout'],'icon':_0x3da21c(0x229),'name':_0x3da21c(0x359)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2b6)],'icon':_0x3da21c(0x189),'name':_0x3da21c(0x1c8)},{'group':_0x3da21c(0x1c0),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3e3)],'icon':_0x3da21c(0x1d7),'name':_0x3da21c(0x418)},{'group':'blockArrow','type':t[_0x3da21c(0xb5)]['CircularArrow'],'icon':_0x3da21c(0x29a),'name':_0x3da21c(0x2cf)},{'group':_0x3da21c(0x438),'type':t[_0x3da21c(0xb5)]['MathPlus'],'icon':_0x3da21c(0x265),'name':'docs-shape-ui.shape.type.math-plus'},{'group':_0x3da21c(0x438),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x158)],'icon':_0x3da21c(0x13e),'name':'docs-shape-ui.shape.type.math-minus'},{'group':'equationShape','type':t['ShapeTypeEnum']['MathMultiply'],'icon':_0x3da21c(0x135),'name':'docs-shape-ui.shape.type.math-multiply'},{'group':_0x3da21c(0x438),'type':t[_0x3da21c(0xb5)]['MathDivide'],'icon':_0x3da21c(0x30c),'name':_0x3da21c(0xde)},{'group':'equationShape','type':t[_0x3da21c(0xb5)]['MathEqual'],'icon':_0x3da21c(0x217),'name':_0x3da21c(0x2d7)},{'group':'equationShape','type':t[_0x3da21c(0xb5)][_0x3da21c(0x393)],'icon':_0x3da21c(0x3f6),'name':_0x3da21c(0x1a8)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x457)],'icon':_0x3da21c(0x27c),'name':_0x3da21c(0x165)},{'group':'flowchart','type':t[_0x3da21c(0xb5)]['FlowchartAlternateProcess'],'icon':_0x3da21c(0x1ff),'name':_0x3da21c(0x375)},{'group':'flowchart','type':t[_0x3da21c(0xb5)]['FlowchartDecision'],'icon':_0x3da21c(0x43c),'name':_0x3da21c(0x185)},{'group':'flowchart','type':t['ShapeTypeEnum'][_0x3da21c(0x36d)],'icon':_0x3da21c(0x3a3),'name':_0x3da21c(0x20d)},{'group':'flowchart','type':t['ShapeTypeEnum'][_0x3da21c(0x21a)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3ab)],'icon':_0x3da21c(0x210),'name':_0x3da21c(0x3ed)},{'group':_0x3da21c(0x257),'type':t['ShapeTypeEnum'][_0x3da21c(0x25d)],'icon':_0x3da21c(0x179),'name':_0x3da21c(0x218)},{'group':'flowchart','type':t[_0x3da21c(0xb5)][_0x3da21c(0x22c)],'icon':_0x3da21c(0x2da),'name':_0x3da21c(0x40b)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x45b)],'icon':_0x3da21c(0x1c1),'name':'docs-shape-ui.shape.type.flow-chart-terminator'},{'group':_0x3da21c(0x257),'type':t['ShapeTypeEnum'][_0x3da21c(0x1c9)],'icon':_0x3da21c(0x3ae),'name':_0x3da21c(0x2a5)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x198)],'icon':_0x3da21c(0x3e2),'name':_0x3da21c(0x1a4)},{'group':'flowchart','type':t['ShapeTypeEnum'][_0x3da21c(0x25f)],'icon':_0x3da21c(0xcb),'name':_0x3da21c(0x17e)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x19f)],'icon':_0x3da21c(0x3e4),'name':_0x3da21c(0x2dd)},{'group':'flowchart','type':t['ShapeTypeEnum'][_0x3da21c(0x15f)],'icon':_0x3da21c(0x29b),'name':_0x3da21c(0x46a)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)]['FlowchartPunchedCard'],'icon':_0x3da21c(0x1cb),'name':_0x3da21c(0x1fc)},{'group':'flowchart','type':t[_0x3da21c(0xb5)][_0x3da21c(0x2f3)],'icon':_0x3da21c(0x180),'name':_0x3da21c(0x412)},{'group':'flowchart','type':t[_0x3da21c(0xb5)][_0x3da21c(0x33b)],'icon':_0x3da21c(0x2a7),'name':_0x3da21c(0x133)},{'group':'flowchart','type':t[_0x3da21c(0xb5)]['FlowchartOr'],'icon':_0x3da21c(0xfa),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x352)],'icon':_0x3da21c(0x13c),'name':_0x3da21c(0x345)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x250)],'icon':_0x3da21c(0x45e),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x3da21c(0x257),'type':t['ShapeTypeEnum'][_0x3da21c(0x278)],'icon':_0x3da21c(0x25a),'name':_0x3da21c(0x371)},{'group':'flowchart','type':t[_0x3da21c(0xb5)][_0x3da21c(0x3b6)],'icon':'ShapeFlowChartMergeIcon','name':_0x3da21c(0x350)},{'group':_0x3da21c(0x257),'type':t['ShapeTypeEnum'][_0x3da21c(0x422)],'icon':_0x3da21c(0x211),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)]['FlowchartDelay'],'icon':'ShapeFlowChartDelayIcon','name':_0x3da21c(0x413)},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)]['FlowchartMagneticTape'],'icon':'ShapeFlowChartMagneticTapeIcon','name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x3da21c(0x257),'type':t[_0x3da21c(0xb5)]['FlowchartMagneticDisk'],'icon':_0x3da21c(0x446),'name':_0x3da21c(0x32c)},{'group':_0x3da21c(0x257),'type':t['ShapeTypeEnum']['FlowchartMagneticDrum'],'icon':_0x3da21c(0x12f),'name':_0x3da21c(0x20e)},{'group':'flowchart','type':t[_0x3da21c(0xb5)][_0x3da21c(0x17b)],'icon':'ShapeFlowChartDisplayIcon','name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xb2)],'icon':'ShapeIrregularSeal1Icon','name':'docs-shape-ui.shape.type.irregular-seal1'},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1ae)],'icon':_0x3da21c(0x152),'name':_0x3da21c(0x44d)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x36a)],'icon':'ShapeStar4Icon','name':_0x3da21c(0x2bf)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x400)],'icon':'ShapeStar5Icon','name':'docs-shape-ui.shape.type.star5'},{'group':'starAndBanner','type':t['ShapeTypeEnum']['Star6'],'icon':_0x3da21c(0x30a),'name':_0x3da21c(0x387)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x286)],'icon':_0x3da21c(0x23f),'name':_0x3da21c(0x238)},{'group':_0x3da21c(0x224),'type':t['ShapeTypeEnum'][_0x3da21c(0x2f9)],'icon':_0x3da21c(0x353),'name':_0x3da21c(0x390)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x19b)],'icon':_0x3da21c(0x1af),'name':'docs-shape-ui.shape.type.star10'},{'group':_0x3da21c(0x224),'type':t['ShapeTypeEnum'][_0x3da21c(0xe1)],'icon':'ShapeStar12Icon','name':_0x3da21c(0x260)},{'group':_0x3da21c(0x224),'type':t['ShapeTypeEnum'][_0x3da21c(0x2a2)],'icon':_0x3da21c(0x447),'name':_0x3da21c(0x416)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x23b)],'icon':_0x3da21c(0x372),'name':_0x3da21c(0x10d)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2ea)],'icon':_0x3da21c(0x21f),'name':_0x3da21c(0x37e)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x291)],'icon':_0x3da21c(0xe7),'name':_0x3da21c(0x2f8)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x140)],'icon':'ShapeRibbonIcon','name':_0x3da21c(0x22e)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x42f)],'icon':_0x3da21c(0x425),'name':'docs-shape-ui.shape.type.ellipse-ribbon2'},{'group':_0x3da21c(0x224),'type':t['ShapeTypeEnum']['EllipseRibbon'],'icon':_0x3da21c(0x30d),'name':'docs-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)]['VerticalScroll'],'icon':'ShapeVerticalScrollIcon','name':_0x3da21c(0x159)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)]['HorizontalScroll'],'icon':'ShapeHorizontalScrollIcon','name':'docs-shape-ui.shape.type.horizontal-scroll'},{'group':'starAndBanner','type':t[_0x3da21c(0xb5)][_0x3da21c(0x2b7)],'icon':'ShapeWaveIcon','name':_0x3da21c(0x39a)},{'group':_0x3da21c(0x224),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x34c)],'icon':_0x3da21c(0x2a1),'name':'docs-shape-ui.shape.type.double-wave'},{'group':'callout','type':t[_0x3da21c(0xb5)][_0x3da21c(0x2b2)],'icon':_0x3da21c(0xdc),'name':_0x3da21c(0x3d1)},{'group':'callout','type':t[_0x3da21c(0xb5)][_0x3da21c(0x3f8)],'icon':_0x3da21c(0x1f4),'name':_0x3da21c(0x3de)},{'group':_0x3da21c(0x294),'type':t['ShapeTypeEnum'][_0x3da21c(0x41c)],'icon':_0x3da21c(0x3f3),'name':'docs-shape-ui.shape.type.wedge-ellipse-callout'},{'group':_0x3da21c(0x294),'type':t['ShapeTypeEnum'][_0x3da21c(0x335)],'icon':_0x3da21c(0x45d),'name':_0x3da21c(0x299)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xbb)],'icon':_0x3da21c(0x2c5),'name':_0x3da21c(0x18a)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1e2)],'icon':_0x3da21c(0x186),'name':_0x3da21c(0x215)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x276)],'icon':_0x3da21c(0x1d8),'name':_0x3da21c(0xd8)},{'group':'callout','type':t['ShapeTypeEnum']['AccentCallout1'],'icon':_0x3da21c(0x41a),'name':_0x3da21c(0x212)},{'group':'callout','type':t['ShapeTypeEnum'][_0x3da21c(0x190)],'icon':'ShapeAccentCallout2Icon','name':_0x3da21c(0x11a)},{'group':'callout','type':t[_0x3da21c(0xb5)][_0x3da21c(0x256)],'icon':'ShapeAccentCallout3Icon','name':_0x3da21c(0x17f)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x31e)],'icon':'ShapeCallout1Icon','name':'docs-shape-ui.shape.type.callout1'},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)]['Callout2'],'icon':_0x3da21c(0x428),'name':_0x3da21c(0x33d)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3ad)],'icon':_0x3da21c(0x467),'name':_0x3da21c(0x227)},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)]['AccentBorderCallout1'],'icon':'ShapeAccentBorderCallout1Icon','name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':_0x3da21c(0x294),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x327)],'icon':_0x3da21c(0x290),'name':'docs-shape-ui.shape.type.accent-border-callout2'},{'group':'callout','type':t[_0x3da21c(0xb5)][_0x3da21c(0x420)],'icon':_0x3da21c(0x15b),'name':_0x3da21c(0x2ca)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)]['LeftCircularArrow'],'icon':_0x3da21c(0xe2),'name':_0x3da21c(0x10a)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x249)],'icon':_0x3da21c(0x25c),'name':_0x3da21c(0x20c)},{'group':'other','type':t[_0x3da21c(0xb5)][_0x3da21c(0x18e)],'icon':_0x3da21c(0x33e),'name':_0x3da21c(0x16d)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x3eb)],'icon':_0x3da21c(0x465),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)]['PieWedge'],'icon':'ShapePieWedgeIcon','name':'docs-shape-ui.shape.type.pie-wedge'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2db)],'icon':_0x3da21c(0x374),'name':_0x3da21c(0x35c)},{'group':_0x3da21c(0x28a),'type':t['ShapeTypeEnum'][_0x3da21c(0x32a)],'icon':'ShapeGear6Icon','name':_0x3da21c(0x12b)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x41f)],'icon':_0x3da21c(0xc3),'name':_0x3da21c(0xc0)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0xcc)],'icon':_0x3da21c(0x316),'name':'docs-shape-ui.shape.type.corner-tabs'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x103)],'icon':_0x3da21c(0x303),'name':_0x3da21c(0x2c1)},{'group':'other','type':t[_0x3da21c(0xb5)][_0x3da21c(0x3ac)],'icon':'ShapeActionButtonForwardNextIcon','name':'docs-shape-ui.shape.type.action-button-forward-next'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)]['ActionButtonBeginning'],'icon':_0x3da21c(0x3d2),'name':_0x3da21c(0x266)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x30f)],'icon':_0x3da21c(0x174),'name':_0x3da21c(0x1b8)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1f9)],'icon':_0x3da21c(0x38d),'name':_0x3da21c(0x1e8)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x293)],'icon':_0x3da21c(0x43a),'name':'docs-shape-ui.shape.type.action-button-information'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)]['ActionButtonReturn'],'icon':'ShapeActionButtonReturnIcon','name':'docs-shape-ui.shape.type.action-button-return'},{'group':'other','type':t['ShapeTypeEnum']['ActionButtonMovie'],'icon':_0x3da21c(0x2e7),'name':_0x3da21c(0x3a4)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x118)],'icon':_0x3da21c(0x30b),'name':_0x3da21c(0x480)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x14d)],'icon':_0x3da21c(0x113),'name':_0x3da21c(0x358)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x268)],'icon':_0x3da21c(0x44b),'name':_0x3da21c(0x236)},{'group':_0x3da21c(0x28a),'type':t['ShapeTypeEnum']['ActionButtonBlank'],'icon':_0x3da21c(0x183),'name':_0x3da21c(0xda)},{'group':_0x3da21c(0x28a),'type':t['ShapeTypeEnum'][_0x3da21c(0x1a3)],'icon':_0x3da21c(0x254),'name':'docs-shape-ui.shape.type.chart-plus'},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x153)],'icon':_0x3da21c(0xd9),'name':_0x3da21c(0x128)},{'group':'other','type':t[_0x3da21c(0xb5)][_0x3da21c(0x297)],'icon':_0x3da21c(0xed),'name':'docs-shape-ui.shape.type.chart-x'},{'group':'other','type':t[_0x3da21c(0xb5)]['FlowChartOfflineStorage'],'icon':'ShapeFlowChartOfflineStorageIcon','name':_0x3da21c(0x3a9)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x2aa)],'icon':_0x3da21c(0x453),'name':_0x3da21c(0x483)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x464)],'icon':_0x3da21c(0x333),'name':_0x3da21c(0x156)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x385)],'icon':_0x3da21c(0x187),'name':_0x3da21c(0x337)},{'group':_0x3da21c(0x28a),'type':t[_0x3da21c(0xb5)][_0x3da21c(0x1c7)],'icon':_0x3da21c(0x114),'name':'docs-shape-ui.shape.type.up-down-arrow-callout'},{'group':'other','type':t[_0x3da21c(0xb5)][_0x3da21c(0x2f6)],'icon':_0x3da21c(0x1ca),'name':_0x3da21c(0x11e)}],M=_0x3da21c(0x38e);function N({onShapeClick:_0x14e4c6,excludeGroups:_0xffe790}){const _0x1e48f4=_0x3da21c;let _0x1225d7=(0x0,c[_0x1e48f4(0x2f7)])(n['LocaleService']),_0x1abb2f=(0x0,c[_0x1e48f4(0x2f7)])(c[_0x1e48f4(0x410)]),_0x202217=(_0xffe790?j[_0x1e48f4(0x338)](_0x4dd6c5=>!_0xffe790[_0x1e48f4(0x2cb)](_0x4dd6c5['group'])):j)['reduce']((_0x1fcaad,_0x39693c)=>(_0x1fcaad[_0x39693c['group']]||(_0x1fcaad[_0x39693c[_0x1e48f4(0x402)]]=[]),_0x1fcaad[_0x39693c['group']]['push'](_0x39693c),_0x1fcaad),{});return(0x0,f[_0x1e48f4(0x44a)])(_0x1e48f4(0x13d),{'className':_0x1e48f4(0x3e1),'children':Object['entries'](_0x202217)['map'](([_0x31c5cd,_0x3d31fd])=>(0x0,f['jsxs'])('div',{'className':_0x1e48f4(0x12a),'children':[(0x0,f[_0x1e48f4(0x44a)])('div',{'className':_0x1e48f4(0xd5),'children':_0x1225d7['t'](_0x1e48f4(0x287)+_0x31c5cd)}),(0x0,f[_0x1e48f4(0x44a)])(_0x1e48f4(0x13d),{'className':_0x1e48f4(0x1fb),'children':_0x3d31fd[_0x1e48f4(0x2d5)](_0x17efd4=>{const _0x5a0bce=_0x1e48f4;let _0xa10e8c=_0x1abb2f[_0x5a0bce(0xf5)](_0x17efd4[_0x5a0bce(0x3ba)]);return(0x0,f[_0x5a0bce(0x44a)])(_0x5a0bce(0x13d),{'title':_0x1225d7['t'](_0x17efd4[_0x5a0bce(0x3bb)]),'onClick':()=>_0x14e4c6(_0x17efd4),'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':_0xa10e8c&&(0x0,f[_0x5a0bce(0x44a)])(_0xa10e8c,{'className':'univer-size-full'})},_0x17efd4[_0x5a0bce(0x3bb)]);})})]},_0x31c5cd))});}function P(){const _0x242d72=_0x3da21c;let _0x52faac=(0x0,c[_0x242d72(0x2f7)])(n[_0x242d72(0x45a)]),_0x18495d=(0x0,c[_0x242d72(0x2f7)])(s['IDrawingManagerService']),_0x147151=(0x0,c[_0x242d72(0x2f7)])(A),[_0x4e00bb,_0x202b5e]=(0x0,d[_0x242d72(0x301)])(!0x1);return(0x0,f['jsx'])(l[_0x242d72(0x110)],{'side':_0x242d72(0x191),'open':_0x4e00bb,'onOpenChange':_0x202b5e,'overlay':(0x0,f[_0x242d72(0x44a)])(N,{'onShapeClick':_0x2862b2=>{const _0x4b2016=_0x242d72;let _0x51c998=_0x18495d[_0x4b2016(0x3aa)]()[_0x4b2016(0x31c)](_0x389e7f=>_0x389e7f[_0x4b2016(0x460)]===n[_0x4b2016(0xd0)][_0x4b2016(0x11c)]);if(!_0x51c998)return;let {unitId:_0xe172ac,subUnitId:_0x1685bc,drawingId:_0x4e7449}=_0x51c998;_0x147151[_0x4b2016(0x3a6)](_0xe172ac,_0x1685bc,_0x4e7449,_0x2862b2[_0x4b2016(0xbf)]),_0x202b5e(!0x1);},'excludeGroups':[_0x242d72(0x1e0)]}),'children':(0x0,f['jsx'])(l['Button'],{'children':_0x52faac['t']('docs-shape-ui.crop.shape')})});}function F({paragraphMenuPlacement:_0x428e94}){const _0x2f8671=_0x3da21c;let _0x4f7091=(0x0,c['useDependency'])(n[_0x2f8671(0x448)]);return(0x0,f[_0x2f8671(0x44a)])(N,{'onShapeClick':_0x41127a=>{const _0x2b8158=_0x2f8671;_0x4f7091[_0x2b8158(0x351)](C['id'],{'paragraphMenuPlacement':_0x428e94,'value':_0x41127a[_0x2b8158(0xbf)],'enhanceParams':{'endArrow':_0x41127a[_0x2b8158(0x331)],'startArrow':_0x41127a[_0x2b8158(0xbe)],'horizontal':_0x41127a[_0x2b8158(0x1cc)],'vertical':_0x41127a[_0x2b8158(0xc5)]}});}});}function I(_0x20c383){const _0x1954b5=_0x3da21c;return _0x402a60=>({'id':C['id'],'type':c[_0x1954b5(0x3be)]['SELECTOR'],'selections':[{'label':{'name':M,'hoverable':!0x1,'selectable':!0x1,'props':_0x20c383?{'id':C['id'],'paragraphMenuPlacement':_0x20c383}:{'id':C['id']}}}],'icon':_0x1954b5(0x27f),'title':_0x1954b5(0xff),'tooltip':_0x1954b5(0xff),'hidden$':(0x0,c['getMenuHiddenObservable'])(_0x402a60,n[_0x1954b5(0x377)][_0x1954b5(0x376)])});}const ee=I(),L=I(_0x3da21c(0xb8)),te=I(_0x3da21c(0x2a8)),ne={[c[_0x3da21c(0x1bc)]['MEDIA']]:{[C['id']]:{'order':0x4,'menuItemFactory':ee}},[c[_0x3da21c(0x3a2)]['PARAGRAPH']]:{[c[_0x3da21c(0x29f)][_0x3da21c(0x26f)]]:{[a[_0x3da21c(0x271)]]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':L}}},[a[_0x3da21c(0x19a)]]:{[c[_0x3da21c(0x29f)][_0x3da21c(0x26f)]]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':L}}},[a['EMPTY_PARAGRAPH_MENU_ID']]:{[c[_0x3da21c(0x29f)][_0x3da21c(0x26f)]]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':te}}},[a[_0x3da21c(0x1fd)]]:{'insert':{[C['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':ee}}},[a[_0x3da21c(0xb3)]]:{'insert':{[C['id']+_0x3da21c(0xfb)]:{'replace':!0x0,'order':0x2,'menuItemFactory':L}}}}};function R(_0x5998b8){'@babel/helpers - typeof';const _0x2201cb=_0x3da21c;return R=typeof Symbol=='function'&&typeof Symbol[_0x2201cb(0x24c)]=='symbol'?function(_0x57471e){return typeof _0x57471e;}:function(_0x30da16){const _0x1cc73f=_0x2201cb;return _0x30da16&&typeof Symbol=='function'&&_0x30da16[_0x1cc73f(0x462)]===Symbol&&_0x30da16!==Symbol['prototype']?'symbol':typeof _0x30da16;},R(_0x5998b8);}function re(_0x43897b,_0x46328c){const _0x32c66a=_0x3da21c;if(R(_0x43897b)!=_0x32c66a(0x405)||!_0x43897b)return _0x43897b;var _0x2af2ef=_0x43897b[Symbol[_0x32c66a(0x2e6)]];if(_0x2af2ef!==void 0x0){var _0x14031f=_0x2af2ef[_0x32c66a(0x14a)](_0x43897b,_0x46328c||_0x32c66a(0x251));if(R(_0x14031f)!='object')return _0x14031f;throw TypeError(_0x32c66a(0x101));}return(_0x46328c===_0x32c66a(0x3c7)?String:Number)(_0x43897b);}function ie(_0x52206a){const _0x323ed0=_0x3da21c;var _0x31230b=re(_0x52206a,_0x323ed0(0x3c7));return R(_0x31230b)==_0x323ed0(0x312)?_0x31230b:_0x31230b+'';}function z(_0x259c24,_0x12c25a,_0xe26b9f){const _0x2cd874=_0x3da21c;return(_0x12c25a=ie(_0x12c25a))in _0x259c24?Object[_0x2cd874(0x223)](_0x259c24,_0x12c25a,{'value':_0xe26b9f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x259c24[_0x12c25a]=_0xe26b9f,_0x259c24;}var B=class extends n['Disposable']{constructor(..._0x386820){const _0x3eeae5=_0x3da21c;super(..._0x386820),z(this,_0x3eeae5(0x2cc),new p[(_0x3eeae5(0xef))](null)),z(this,_0x3eeae5(0x2fe),this[_0x3eeae5(0x2cc)][_0x3eeae5(0x3d7)]()),z(this,_0x3eeae5(0x285),new p[(_0x3eeae5(0xef))](!0x1)),z(this,_0x3eeae5(0x367),this['_onSavingEditorData$'][_0x3eeae5(0x3d7)]());}[_0x3da21c(0x399)](){const _0x46172e=_0x3da21c;this[_0x46172e(0x2cc)][_0x46172e(0x130)](null),this[_0x46172e(0x2cc)]['complete'](),this['_onSavingEditorData$'][_0x46172e(0x130)](!0x1),this[_0x46172e(0x285)][_0x46172e(0x2a6)](),super[_0x46172e(0x399)]();}['setEditing'](_0x439b63){const _0x587b8e=_0x3da21c;this['_editingParams$'][_0x587b8e(0x130)](_0x439b63),_0x439b63==null&&this[_0x587b8e(0x285)][_0x587b8e(0x130)](!0x1);}[_0x3da21c(0x3b2)](_0x3766c0){const _0x53e235=_0x3da21c;this[_0x53e235(0x285)][_0x53e235(0x130)](_0x3766c0);}['getEditing'](){const _0xcc49a4=_0x3da21c;return this[_0xcc49a4(0x2cc)]['getValue']();}};function V(_0x4c4eea,_0x429c71,_0x4a47f2,_0x679eac,_0x495d7b,_0x3bc422){const _0x33afa3=_0x3da21c;let _0x440ac6={'unitId':_0x429c71,'shapeId':_0x679eac,'shapeData':_0x3bc422,'oldShapeJSON':_0x495d7b};return _0x4c4eea[_0x33afa3(0x351)](e[_0x33afa3(0x23c)]['id'],_0x440ac6);}function ae(_0x53ae59,_0x1f2bf6,_0x390448,_0x235aa2,_0x63a546,_0x492a1c){const _0x24e534=_0x3da21c;let _0x42b589={'unitId':_0x1f2bf6,'shapeId':_0x235aa2,'shapeData':_0x492a1c,'oldShapeJSON':_0x63a546};return _0x53ae59[_0x24e534(0x351)](e[_0x24e534(0x23c)]['id'],_0x42b589);}const H='doc.shape.floating-toolbar';function U(_0x3de252){const _0x3df1a3=_0x3da21c;let _0x2b8b41=_0x3de252['shapeText'];return _0x2b8b41&&_0x3df1a3(0x346)in _0x2b8b41&&_0x2b8b41['dataModel']?_0x2b8b41[_0x3df1a3(0x346)]:null;}function oe(_0xa49744){const _0x2e8eec=_0x3da21c;var _0x419eb5,_0xf19c7f,_0x1a8aeb,_0x1ae1df;let _0x1da099=(_0x419eb5=U(_0xa49744))==null?void 0x0:_0x419eb5[_0x2e8eec(0x47b)],_0x10c356=(_0xf19c7f=_0x1da099==null||(_0x1a8aeb=_0x1da099[_0x2e8eec(0x2e0)])==null||(_0x1a8aeb=_0x1a8aeb['textRuns'])==null||(_0x1a8aeb=_0x1a8aeb[0x0])==null?void 0x0:_0x1a8aeb['ts'])==null?{}:_0xf19c7f;return{..._0x1da099==null||(_0x1ae1df=_0x1da099['documentStyle'])==null?void 0x0:_0x1ae1df[_0x2e8eec(0x3f4)],..._0x10c356};}function se(_0x5ad92b,_0x39a2eb){const _0x57acb1=_0x3da21c;var _0x332fd9;let _0x2803e3=_0x5ad92b==null||(_0x332fd9=_0x5ad92b[_0x57acb1(0xe5)]()[_0x57acb1(0xd6)])==null?void 0x0:_0x332fd9[_0x39a2eb];return _0x2803e3?_0x2803e3[_0x57acb1(0x315)]===n[_0x57acb1(0x449)]['WRAP_NONE']?_0x2803e3[_0x57acb1(0x3a0)]===n['BooleanNumber'][_0x57acb1(0x344)]?'behindText':_0x57acb1(0x461):_0x2803e3[_0x57acb1(0x315)]===n[_0x57acb1(0x449)][_0x57acb1(0x134)]?_0x57acb1(0x3ea):_0x2803e3[_0x57acb1(0x315)]===n[_0x57acb1(0x449)]['WRAP_TOP_AND_BOTTOM']?_0x57acb1(0x39b):_0x57acb1(0x40d):_0x57acb1(0x40d);}function ce(_0x2fc4af){const _0x815f46=_0x3da21c;var _0x41dd78,_0x47defc,_0x27bbdd;let _0x133dab=_0x2fc4af[_0x815f46(0xfc)][_0x815f46(0x188)],_0x39902b=(0x0,c[_0x815f46(0x2f7)])(n[_0x815f46(0x448)]),_0x638ef7=(0x0,c[_0x815f46(0x2f7)])(n[_0x815f46(0x45a)]),_0x5e0207=(0x0,c[_0x815f46(0x2f7)])(e[_0x815f46(0x403)]),_0x47ec4f=(0x0,c[_0x815f46(0x2f7)])(n[_0x815f46(0x2d4)]),_0x3b3e7e=(0x0,c[_0x815f46(0x2f7)])(c['IFontService']),{unitId:_0x2082b7,subUnitId:_0xb79f1a,drawingId:_0x29219d,shapeType:_0x4cdc33}=_0x133dab,[_0x9a73f,_0x38f101]=(0x0,d['useState'])(_0x133dab['shapeData']),[_0x200409,_0x797de3]=(0x0,d[_0x815f46(0x301)])(()=>_0x3b3e7e[_0x815f46(0x39c)]()),_0x32b3d3=(_0x41dd78=_0x47ec4f[_0x815f46(0x132)](_0x2082b7,n['UniverInstanceType'][_0x815f46(0x376)]))==null?void 0x0:_0x41dd78,[_0x334036,_0x223f20]=(0x0,d[_0x815f46(0x301)])(()=>se(_0x32b3d3,_0x29219d)),_0x1f4f4d=(0x0,d['useMemo'])(()=>oe(_0x9a73f),[_0x9a73f]),_0x5d4a75=(0x0,d[_0x815f46(0x1aa)])(()=>U(_0x9a73f),[_0x9a73f]);(0x0,d[_0x815f46(0x2c7)])(()=>{const _0x22fed0=_0x815f46;let _0x164310=_0x39902b['onCommandExecuted'](_0xfce748=>{const _0xf1ebb5=_0x4e41;if(_0xfce748['id']!==e[_0xf1ebb5(0x234)]['id'])return;let _0xb204b3=_0x5e0207[_0xf1ebb5(0x30e)](_0x2082b7,_0xb79f1a,_0x29219d);_0xb204b3&&_0x38f101(_0xb204b3);});return()=>_0x164310[_0x22fed0(0x399)]();},[_0x39902b,_0x5e0207,_0x29219d,_0xb79f1a,_0x2082b7]),(0x0,d[_0x815f46(0x2c7)])(()=>{const _0x4a9e35=_0x815f46;let _0xd9feeb=_0x3b3e7e[_0x4a9e35(0x36c)][_0x4a9e35(0x3e0)](_0x28e9ad=>{_0x797de3(_0x28e9ad);});return()=>_0xd9feeb[_0x4a9e35(0x364)]();},[_0x3b3e7e]);let _0x1f269e=_0x32653f=>{_0x38f101(_0x1eae15=>({..._0x1eae15,..._0x32653f}));},_0x1f828c=_0x17065c=>{const _0x51d768=_0x815f46;let _0x51b6a6=(0x0,m['buildShapeTextDataUpdate'])(_0x9a73f,_0x17065c);V(_0x39902b,_0x2082b7,_0xb79f1a,_0x29219d,{'oldShapeData':{'shapeText':_0x9a73f[_0x51d768(0xac)]}},_0x51b6a6),_0x1f269e(_0x51b6a6);},_0x3491aa=_0xc0976d=>{const _0x34196c=_0x815f46;_0x223f20(_0xc0976d),_0x39902b[_0x34196c(0x351)](_0x34196c(0x37a),{'unitId':_0x2082b7,'subUnitId':_0xb79f1a,'drawings':[{'unitId':_0x2082b7,'subUnitId':_0xb79f1a,'drawingId':_0x29219d}],'wrappingStyle':_0xc0976d});},_0x3d24ab=_0x200409[_0x815f46(0x2d5)](_0x5f2675=>({'label':_0x638ef7['t'](_0x5f2675[_0x815f46(0x2c9)]),'value':_0x5f2675[_0x815f46(0x3f7)]})),_0x4c04f3=[{'label':_0x638ef7['t']('docs-shape-ui.textWrap.inline'),'value':_0x815f46(0x40d),'icon':(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x459)],{})},{'label':_0x638ef7['t'](_0x815f46(0x44c)),'value':_0x815f46(0x3ea),'icon':(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x459)],{})},{'label':_0x638ef7['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x815f46(0x39b),'icon':(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x459)],{})},{'label':_0x638ef7['t'](_0x815f46(0x340)),'value':'behindText','icon':(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x459)],{})},{'label':_0x638ef7['t'](_0x815f46(0x2c6)),'value':_0x815f46(0x461),'icon':(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x459)],{})}];return(0x0,f[_0x815f46(0x44a)])(m[_0x815f46(0x2b1)],{'shapeData':_0x9a73f,'shapeType':_0x4cdc33,'textStyle':{'cl':{'rgb':_0x815f46(0x2cd)},..._0x1f4f4d},'textModel':_0x5d4a75?{'ha':(_0x47defc=_0x5d4a75['ha'])==null?n['HorizontalAlign']['LEFT']:_0x47defc,'va':(_0x27bbdd=_0x5d4a75['va'])==null?n[_0x815f46(0x421)]['TOP']:_0x27bbdd}:null,'fontOptions':_0x3d24ab,'wrappingStyle':_0x334036,'wrappingStyleOptions':_0x4c04f3,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x585320,_0x395552)=>{V(_0x39902b,_0x2082b7,_0xb79f1a,_0x29219d,_0x585320,_0x395552),_0x395552&&_0x1f269e(_0x395552);},'onUpdateText':_0x1f828c,'onUpdateWrappingStyle':_0x4ab599=>_0x3491aa(_0x4ab599),'onOpenPanel':()=>{const _0x5a4ac0=_0x815f46;_0x39902b[_0x5a4ac0(0x351)](T['id'],{'unitId':_0x2082b7,'subUnitId':_0xb79f1a,'drawingId':_0x29219d});},'onDelete':()=>{const _0x2fd3e4=_0x815f46;_0x39902b[_0x2fd3e4(0x351)](i[_0x2fd3e4(0x2b5)]['id'],{'unitId':_0x2082b7,'drawings':[{'unitId':_0x2082b7,'subUnitId':_0xb79f1a,'drawingId':_0x29219d}]});}});}let W=class extends n['Disposable']{constructor(_0x44f105,_0x8646b,_0x44ea35,_0x2bf1d5,_0x4c4499,_0x404235,_0x3efd3f,_0x7a8d9f,_0x1d4b45,_0x2a4d04,_0x3ed41b){const _0x49ff10=_0x3da21c;super(),this[_0x49ff10(0x1ee)]=_0x44f105,this[_0x49ff10(0x41e)]=_0x8646b,this[_0x49ff10(0x3c6)]=_0x44ea35,this[_0x49ff10(0xc7)]=_0x2bf1d5,this[_0x49ff10(0x13f)]=_0x4c4499,this[_0x49ff10(0x23d)]=_0x404235,this[_0x49ff10(0x42d)]=_0x3efd3f,this[_0x49ff10(0x295)]=_0x7a8d9f,this['_renderManagerService']=_0x1d4b45,this[_0x49ff10(0x1fa)]=_0x2a4d04,this[_0x49ff10(0x302)]=_0x3ed41b,z(this,_0x49ff10(0x3c9),null),z(this,_0x49ff10(0x341),null),z(this,'_isOpenedShapeEditPanel',!0x1),z(this,_0x49ff10(0xaf),0x0),z(this,_0x49ff10(0xf8),new Set()),z(this,_0x49ff10(0x42c),[]),this['_initMenu'](),this['disposeWithMe'](this[_0x49ff10(0x1ee)]['getCurrentTypeOfUnit$'](n['UniverInstanceType'][_0x49ff10(0x376)])['subscribe'](_0x154550=>{const _0x56cdb6=_0x49ff10;if(!_0x154550){var _0x5ef783;(_0x5ef783=this[_0x56cdb6(0x3c9)])==null||_0x5ef783[_0x56cdb6(0x399)]();return;}this[_0x56cdb6(0x277)](_0x154550);})),this[_0x49ff10(0x336)](),this['_initShapePopupMenu'](),this[_0x49ff10(0xb0)](this[_0x49ff10(0x302)]['editingParams$']['subscribe'](_0x42e4fb=>{const _0x2be691=_0x49ff10;_0x42e4fb&&this[_0x2be691(0x380)]();}));}[_0x3da21c(0x1e4)](){const _0x30bb2c=_0x3da21c;this[_0x30bb2c(0x3c6)]['mergeMenu'](ne);}[_0x3da21c(0x1b5)](){const _0x2c16bd=_0x3da21c;this[_0x2c16bd(0x1ee)][_0x2c16bd(0x2f1)](n[_0x2c16bd(0x377)][_0x2c16bd(0x376)])[_0x2c16bd(0x362)](_0x4b5867=>this[_0x2c16bd(0x277)](_0x4b5867));}[_0x3da21c(0x204)](_0x214147,_0x84da85,_0xe01b8f,_0x49b533){const _0x10cf13=_0x3da21c;return[{'label':_0x10cf13(0x25e),'index':0x0,'commandId':T['id'],'commandParams':{'unitId':_0x214147,'subUnitId':_0x84da85,'drawingId':_0xe01b8f},'disable':_0x49b533===n[_0x10cf13(0xd0)][_0x10cf13(0x2fb)]},{'label':_0x10cf13(0x10b),'index':0x1,'commandId':i['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x214147,'drawings':[{'unitId':_0x214147,'subUnitId':_0x84da85,'drawingId':_0xe01b8f}]},'disable':!0x1},{'label':_0x10cf13(0x35e),'index':0x2,'commandId':w['id'],'commandParams':{'unitId':_0x214147,'subUnitId':_0x84da85,'drawingId':_0xe01b8f},'disable':!0x1}];}[_0x3da21c(0x408)](_0x1acc88,_0x5ab4f3,_0xc629dd){const _0x17c56e=_0x3da21c;let _0x735494=this[_0x17c56e(0xc7)][_0x17c56e(0x1b3)](_0x1acc88,_0x5ab4f3,_0xc629dd),_0x27a4d2=this[_0x17c56e(0xc7)]['getShapeDataById'](_0x1acc88,_0x5ab4f3,_0xc629dd);return _0x735494!==void 0x0&&_0x27a4d2!==void 0x0?{'shapeData':_0x27a4d2,'shapeId':_0xc629dd,'shapeType':_0x735494,'unitId':_0x1acc88,'subUnitId':_0x5ab4f3,'version':this[_0x17c56e(0xaf)],'disableShapeOption':!0x1}:null;}[_0x3da21c(0x277)](_0x5263ef){const _0x31dcb4=_0x3da21c;if(!_0x5263ef)return;let _0x1ca447=_0x5263ef['getUnitId']();this[_0x31dcb4(0x162)][_0x31dcb4(0x406)](_0x1ca447)&&!this[_0x31dcb4(0xf8)]['has'](_0x1ca447)&&(this[_0x31dcb4(0x33f)](_0x1ca447),this[_0x31dcb4(0xf8)]['add'](_0x1ca447));}[_0x3da21c(0x380)](){const _0x2bb78e=_0x3da21c;this[_0x2bb78e(0x42c)][_0x2bb78e(0x362)](_0x58d7e8=>_0x58d7e8[_0x2bb78e(0x399)]()),this[_0x2bb78e(0x42c)][_0x2bb78e(0x329)]=0x0;}[_0x3da21c(0x33f)](_0x5eb15e){const _0x24455e=_0x3da21c;var _0x3218d0;let _0x368e68=(_0x3218d0=this[_0x24455e(0x162)][_0x24455e(0x14e)](_0x5eb15e))==null?void 0x0:_0x3218d0[_0x24455e(0x28f)],_0x34a1be=_0x368e68==null?void 0x0:_0x368e68[_0x24455e(0x43b)]();!_0x368e68||!_0x34a1be||(this['disposeWithMe'](_0x34a1be[_0x24455e(0x208)]['subscribe'](()=>{const _0x5aa5be=_0x24455e;let _0x58ee11=_0x34a1be[_0x5aa5be(0x1f6)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x58ee11[_0x5aa5be(0x1f3)]>0x1)return;let _0x871ee8=_0x58ee11[_0x5aa5be(0x15a)]()[_0x5aa5be(0x130)]()[_0x5aa5be(0x3f7)];if(!_0x871ee8)return;let _0x5bdfda=this[_0x5aa5be(0x42d)][_0x5aa5be(0x33a)](_0x871ee8['oKey']);if(!_0x5bdfda||_0x5bdfda['drawingType']!==n[_0x5aa5be(0xd0)][_0x5aa5be(0xe0)])return;let {unitId:_0xd87555,subUnitId:_0x325398,drawingId:_0x56147b,drawingType:_0x541381}=_0x5bdfda,_0x30d084=this[_0x5aa5be(0x408)](_0xd87555,_0x325398,_0x56147b);if(!_0x30d084)return;let _0x5e4711=this[_0x5aa5be(0x295)][_0x5aa5be(0x1d3)](_0x871ee8,{'componentKey':H,'direction':_0x5aa5be(0x1bf),'offset':[0x0,0x8],'extraProps':{'unitId':_0xd87555,'subUnitId':_0x325398,'drawingId':_0x56147b,'drawingType':_0x541381,'shapeType':_0x30d084[_0x5aa5be(0x16a)],'shapeData':_0x30d084[_0x5aa5be(0xd3)]}},_0xd87555);this[_0x5aa5be(0x42c)][_0x5aa5be(0x2f5)](this[_0x5aa5be(0xb0)](_0x5e4711)),this[_0x5aa5be(0x42d)]['getFocusDrawings']()[_0x5aa5be(0x31c)](_0x204381=>_0x204381['unitId']===_0xd87555&&_0x204381[_0x5aa5be(0x395)]===_0x325398&&_0x204381[_0x5aa5be(0x226)]===_0x56147b)||this[_0x5aa5be(0x42d)][_0x5aa5be(0x1da)]([{'unitId':_0xd87555,'subUnitId':_0x325398,'drawingId':_0x56147b}]);})),this[_0x24455e(0xb0)](_0x34a1be[_0x24455e(0x2d8)][_0x24455e(0x3e0)](()=>{const _0x216594=_0x24455e;this[_0x216594(0x380)](),this[_0x216594(0x1fa)][_0x216594(0x444)](n['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x216594(0x1da)](null);})),this['disposeWithMe'](_0x34a1be[_0x24455e(0x272)]['subscribe'](()=>{const _0x3c824c=_0x24455e;this[_0x3c824c(0x380)]();})),this[_0x24455e(0xb0)](_0x34a1be[_0x24455e(0x1c4)][_0x24455e(0x3e0)](()=>{const _0x3d48fb=_0x24455e;this[_0x3d48fb(0x380)]();})));}[_0x3da21c(0x336)](){const _0xefe49a=_0x3da21c;this[_0xefe49a(0xb0)](this['_commandService'][_0xefe49a(0x34a)](_0x1c343c=>{const _0x1ea46e=_0xefe49a;if(_0x1c343c['id']===T['id']){let {unitId:_0x3e6650,subUnitId:_0x42187f,drawingId:_0x54075f}=_0x1c343c['params'];this[_0x1ea46e(0xaf)]+=0x1,this['_activeShapeInfo']=this[_0x1ea46e(0x408)](_0x3e6650,_0x42187f,_0x54075f),this[_0x1ea46e(0x380)](),this['_openShapeEditPanel']();}if(_0x1c343c['id']===w['id']&&(this[_0x1ea46e(0x341)]=null,this[_0x1ea46e(0x196)]()),_0x1c343c['id']===e[_0x1ea46e(0x234)]['id']){let {unitId:_0x345815,shapeId:_0x47713f}=_0x1c343c[_0x1ea46e(0x1c6)];if(this[_0x1ea46e(0x341)]&&this[_0x1ea46e(0x341)][_0x1ea46e(0x16e)]===_0x47713f){let _0x278d3d=this[_0x1ea46e(0x408)](_0x345815,this[_0x1ea46e(0x341)][_0x1ea46e(0x395)],_0x47713f);_0x278d3d&&(this[_0x1ea46e(0xaf)]+=0x1,_0x278d3d[_0x1ea46e(0xfe)]=this[_0x1ea46e(0xaf)],this['_activeShapeInfo']=_0x278d3d,this[_0x1ea46e(0x2b3)]&&this[_0x1ea46e(0x1d9)]());}}})),this['disposeWithMe'](this[_0xefe49a(0x42d)]['focus$']['subscribe'](_0x38b449=>{const _0x5aeacb=_0xefe49a;if(this[_0x5aeacb(0x2b3)]===!0x1)return;if(_0x38b449[_0x5aeacb(0x329)]===0x0){this[_0x5aeacb(0x341)]=null,this['_closeShapeEditPanel']();return;}if(_0x38b449[_0x5aeacb(0x329)]===0x1&&_0x38b449[0x0][_0x5aeacb(0x460)]===n[_0x5aeacb(0xd0)][_0x5aeacb(0xe0)]&&(this[_0x5aeacb(0xaf)]+=0x1,this[_0x5aeacb(0x341)]=this[_0x5aeacb(0x408)](_0x38b449[0x0][_0x5aeacb(0x3da)],_0x38b449[0x0][_0x5aeacb(0x395)],_0x38b449[0x0][_0x5aeacb(0x226)]),this[_0x5aeacb(0x341)])){this['_openShapeEditPanel']();return;}let _0x1d2e3c=_0x38b449['filter'](_0x448d07=>_0x448d07['drawingType']===n[_0x5aeacb(0xd0)][_0x5aeacb(0xe0)]);if(_0x38b449[_0x5aeacb(0x329)]>0x1&&_0x1d2e3c[_0x5aeacb(0x329)]===_0x38b449[_0x5aeacb(0x329)]){if(this[_0x5aeacb(0xaf)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x38b449[0x0][_0x5aeacb(0x3da)],_0x38b449[0x0]['subUnitId'],_0x38b449[0x0][_0x5aeacb(0x226)]),this['_activeShapeInfo']){this[_0x5aeacb(0x1d9)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x5aeacb(0x341)]=this[_0x5aeacb(0x408)](_0x38b449[0x0][_0x5aeacb(0x3da)],_0x38b449[0x0][_0x5aeacb(0x395)],_0x38b449[0x0]['drawingId']),this['_activeShapeInfo']){this[_0x5aeacb(0x341)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x5aeacb(0x196)]();}));}[_0x3da21c(0x1d9)](){const _0x3233b1=_0x3da21c;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this[_0x3233b1(0x41e)][_0x3233b1(0x173)]({'id':E,'header':{'title':this[_0x3233b1(0x13f)]['t'](_0x3233b1(0x233))},'width':0x184,'children':{'label':E,...this[_0x3233b1(0x341)]},'onClose':()=>{const _0x50c282=_0x3233b1;this[_0x50c282(0x42d)][_0x50c282(0x1da)](null),this[_0x50c282(0x1fa)][_0x50c282(0x444)](n[_0x50c282(0x232)],!0x1),this[_0x50c282(0x3c9)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x3da21c(0x196)](){const _0x301625=_0x3da21c;this[_0x301625(0x2b3)]=!0x1,this['_sidebarService']['close'](E),this[_0x301625(0x3c9)]=null,this['_contextService']['setContextValue'](n[_0x301625(0x232)],!0x1),this['_drawingManagerService'][_0x301625(0x1da)](null);}};W=k([O(0x0,n[_0x3da21c(0x2d4)]),O(0x1,(0x0,n['Inject'])(c['ISidebarService'])),O(0x2,c[_0x3da21c(0x3bc)]),O(0x3,(0x0,n[_0x3da21c(0x34b)])(e[_0x3da21c(0x403)])),O(0x4,(0x0,n['Inject'])(n['LocaleService'])),O(0x5,n[_0x3da21c(0x448)]),O(0x6,s[_0x3da21c(0x28d)]),O(0x7,(0x0,n[_0x3da21c(0x34b)])(a[_0x3da21c(0x3ef)])),O(0x8,o[_0x3da21c(0x104)]),O(0x9,n[_0x3da21c(0x2bd)]),O(0xa,(0x0,n[_0x3da21c(0x34b)])(B))],W);var le='@univerjs-pro/docs-shape-ui',ue='0.25.0-insiders.20260623-012b5a8';const G={};function de(_0x29c8d1){const _0x4bd85b=_0x3da21c;var _0xdfcabc,_0x472ff4,_0x1520a7,_0x51b5a0;let _0x3fe167=(_0xdfcabc=(_0x472ff4=_0x29c8d1[_0x4bd85b(0x2e0)])==null||(_0x472ff4=_0x472ff4[_0x4bd85b(0x126)])==null?void 0x0:_0x472ff4[_0x4bd85b(0x329)])==null?0x0:_0xdfcabc,_0x40688f=(_0x1520a7=_0x29c8d1[_0x4bd85b(0x2e0)])==null?void 0x0:_0x1520a7[_0x4bd85b(0x1fe)];if(_0x40688f!=null&&_0x40688f['length'])for(let _0x4ec6a6 of _0x40688f){var _0x238036;_0x4ec6a6[_0x4bd85b(0x466)]=(_0x238036=_0x4ec6a6[_0x4bd85b(0x466)])==null?n[_0x4bd85b(0x339)][_0x4bd85b(0x455)]:_0x238036;}else _0x29c8d1['body']&&(_0x29c8d1[_0x4bd85b(0x2e0)]['sectionBreaks']=[{'startIndex':Math[_0x4bd85b(0x248)](0x0,_0x3fe167-0x1),'gridType':n[_0x4bd85b(0x339)]['DEFAULT']}]);let _0x17483a=(_0x51b5a0=_0x29c8d1['body'])==null?void 0x0:_0x51b5a0[_0x4bd85b(0x12d)];if(_0x17483a)for(let _0x2d244a of _0x17483a){var _0x4a8531,_0xc5649,_0xcb785e,_0x5ee010,_0x173359,_0x50af5e,_0x1c9357,_0x515f9a;_0x2d244a[_0x4bd85b(0x2bb)]={..._0x2d244a[_0x4bd85b(0x2bb)],'lineSpacing':(_0x4a8531=(_0xc5649=_0x2d244a[_0x4bd85b(0x2bb)])==null?void 0x0:_0xc5649[_0x4bd85b(0x477)])==null?0x1:_0x4a8531,'snapToGrid':(_0xcb785e=(_0x5ee010=_0x2d244a[_0x4bd85b(0x2bb)])==null?void 0x0:_0x5ee010[_0x4bd85b(0x3cb)])==null?n[_0x4bd85b(0x195)][_0x4bd85b(0x18b)]:_0xcb785e,'spaceAbove':(_0x173359=(_0x50af5e=_0x2d244a['paragraphStyle'])==null?void 0x0:_0x50af5e[_0x4bd85b(0x136)])==null?{'v':0x0}:_0x173359,'spaceBelow':(_0x1c9357=(_0x515f9a=_0x2d244a[_0x4bd85b(0x2bb)])==null?void 0x0:_0x515f9a[_0x4bd85b(0x216)])==null?{'v':0x0}:_0x1c9357};}}function fe(_0x3ddb5a){const _0x325c8e=_0x3da21c;let _0x1d169b=_0x3ddb5a[_0x325c8e(0x2e0)],_0x9bd6e2=_0x1d169b==null?void 0x0:_0x1d169b[_0x325c8e(0x12d)],_0x129e96=_0x1d169b==null?void 0x0:_0x1d169b['dataStream'];if(!_0x1d169b||!(_0x9bd6e2!=null&&_0x9bd6e2['length'])||!_0x129e96)return;let _0x18fb9b=[];for(let _0x151184=0x0;_0x151184<_0x129e96[_0x325c8e(0x329)];_0x151184++)_0x129e96[_0x151184]==='\x0d'&&_0x18fb9b[_0x325c8e(0x2f5)](_0x151184);_0x18fb9b[_0x325c8e(0x329)]===_0x9bd6e2[_0x325c8e(0x329)]&&(_0x1d169b[_0x325c8e(0x12d)]=_0x9bd6e2[_0x325c8e(0x2d5)]((_0xc523b5,_0x26fddf)=>({..._0xc523b5,'startIndex':_0x18fb9b[_0x26fddf]})));}function pe(_0x3ddb76,_0x456b68){const _0x6ad507=_0x3da21c;var _0xac95b0,_0x1fcabc,_0x35c8fc;let {isHorizontal:_0x2438d5,textRect:_0x4fd17c,verticalAlign:_0x4a43e8}=_0x456b68,_0x2fdd80=_0x2438d5?_0x4fd17c[_0x6ad507(0x1eb)]:_0x4fd17c[_0x6ad507(0x40a)],_0x579603=n[_0x6ad507(0x3fa)][_0x6ad507(0x289)](_0x3ddb76),_0x1db050=(_0xac95b0=_0x579603[_0x6ad507(0x181)])==null?{}:_0xac95b0,_0x550284={..._0x1db050['renderConfig'],'centerAngle':_0x2438d5?0x0:o[_0x6ad507(0x193)],'vertexAngle':_0x2438d5?0x0:o[_0x6ad507(0x193)],'wrapStrategy':n[_0x6ad507(0x2ed)][_0x6ad507(0x3f9)],'zeroWidthParagraphBreak':(_0x1fcabc=(_0x35c8fc=_0x1db050[_0x6ad507(0x46b)])==null?void 0x0:_0x35c8fc[_0x6ad507(0x2e9)])==null?n[_0x6ad507(0x195)][_0x6ad507(0x344)]:_0x1fcabc};if(_0x4a43e8!==void 0x0&&(_0x550284['verticalAlign']=_0x4a43e8),_0x456b68[_0x6ad507(0x381)]!==void 0x0){var _0xb5f8b4;_0x550284['horizontalAlign']=_0x456b68[_0x6ad507(0x381)];let _0xd50cd1=(_0xb5f8b4=_0x579603[_0x6ad507(0x2e0)])==null?void 0x0:_0xb5f8b4[_0x6ad507(0x12d)];if(_0xd50cd1){for(let _0x22c506 of _0xd50cd1)_0x22c506[_0x6ad507(0x2bb)]||(_0x22c506[_0x6ad507(0x2bb)]={}),_0x22c506[_0x6ad507(0x2bb)][_0x6ad507(0x381)]=_0x456b68[_0x6ad507(0x381)];}}return _0x579603[_0x6ad507(0x181)]={..._0x1db050,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2fdd80,'height':0x1/0x0},'renderConfig':_0x550284},fe(_0x579603),de(_0x579603),_0x579603;}var K=class extends o[_0x3da21c(0x2a4)]{constructor(_0x5e62a7,_0x483844){const _0x1771b4=_0x3da21c;super(_0x5e62a7,_0x483844),z(this,_0x1771b4(0x115),void 0x0),z(this,_0x1771b4(0x343),!0x0),z(this,'_drawingType',n[_0x1771b4(0xd0)][_0x1771b4(0xe0)]),z(this,'isDrawingObject',!0x0),this['_props']={..._0x483844},this[_0x1771b4(0x24a)]();}[_0x3da21c(0x24a)](){const _0x235620=_0x3da21c;this[_0x235620(0x2ef)][_0x235620(0x284)](_0x117778=>{const _0x2c113c=_0x235620;this[_0x2c113c(0x3cd)](_0x117778);});}[_0x3da21c(0x3f2)](_0xde718){this['_props']['prstGeom']=_0xde718;}[_0x3da21c(0x298)](_0x3970e6){const _0x2bf72b=_0x3da21c;this['_props'][_0x2bf72b(0x161)]=_0x3970e6,this[_0x2bf72b(0x194)](!0x0);}get['unitId'](){const _0x117409=_0x3da21c;return this[_0x117409(0x115)]['unitId'];}get['subUnitId'](){const _0xbee4a5=_0x3da21c;return this[_0xbee4a5(0x115)][_0xbee4a5(0x395)];}[_0x3da21c(0x3cd)](_0x3de95c){const _0x14f4ab=_0x3da21c;if(this[_0x14f4ab(0x115)][_0x14f4ab(0xc4)]==null||!this[_0x14f4ab(0x343)])return;let {width:_0x4ba845,height:_0x45ff6d}=this,{width:_0x104098=0x0,height:_0x320bd7=0x0}=_0x3de95c[_0x14f4ab(0x46c)],{left:_0x546808=0x0,top:_0x1aabf7=0x0,right:_0x455a95=0x0,bottom:_0x22b4ab=0x0}=this[_0x14f4ab(0x115)][_0x14f4ab(0xc4)],_0x94b613=_0x546808,_0x3664a8=_0x1aabf7,_0x181e3d=_0x455a95,_0x5f2de2=_0x22b4ab,_0x29b85e=!0x1;if(_0x104098!==0x0&&_0x104098!==_0x4ba845){let _0x4da843=_0x546808/_0x104098,_0x45c8ed=_0x455a95/_0x104098;_0x94b613=_0x4ba845*_0x4da843,_0x181e3d=_0x4ba845*_0x45c8ed,_0x29b85e=!0x0;}if(_0x320bd7!==0x0&&_0x320bd7!==_0x45ff6d){let _0x4e2f3b=_0x1aabf7/_0x320bd7,_0x30fa87=_0x22b4ab/_0x320bd7;_0x3664a8=_0x45ff6d*_0x4e2f3b,_0x5f2de2=_0x45ff6d*_0x30fa87,_0x29b85e=!0x0;}_0x29b85e&&this[_0x14f4ab(0x1a0)]({'left':_0x94b613,'top':_0x3664a8,'right':_0x181e3d,'bottom':_0x5f2de2});}[_0x3da21c(0x1a0)](_0x45112b){const _0x41cef6=_0x3da21c;this[_0x41cef6(0x115)][_0x41cef6(0xc4)]=_0x45112b,this['makeDirty'](!0x0);}[_0x3da21c(0x306)](_0x50db4f){const _0x24a97a=_0x3da21c;this['_props'][_0x24a97a(0x267)]=_0x50db4f,this[_0x24a97a(0x194)](!0x0);}set['transform'](_0x3daf83){const _0xfee3d1=_0x3da21c;this[_0xfee3d1(0x178)]=_0x3daf83;}get['transform'](){const _0x2e807b=_0x3da21c;this[_0x2e807b(0x178)]||this[_0x2e807b(0x21b)]();let _0x529fda=this[_0x2e807b(0x178)][_0x2e807b(0x262)]();return this['transformForAngle'](_0x529fda);}get[_0x3da21c(0x1f8)](){const _0x22318d=_0x3da21c;return this[_0x22318d(0x115)][_0x22318d(0x1f8)];}get[_0x3da21c(0x16e)](){const _0x148d1c=_0x3da21c;return this[_0x148d1c(0x115)]['shapeId'];}get[_0x3da21c(0x2be)](){return o['RENDER_CLASS_TYPE']['SHAPE'];}[_0x3da21c(0x40f)](_0x350fc4,_0x5555e5,_0x44cfd0,_0x1af4a0){const _0x27231d=_0x3da21c;let _0xbc6c31=this[_0x27231d(0x115)][_0x27231d(0x1f8)];if(!_0xbc6c31||!_0x5555e5)return;let _0x3d0212=_0x44cfd0==null?this[_0x27231d(0x1eb)]:_0x44cfd0,_0xc95e75=_0x1af4a0==null?this[_0x27231d(0x40a)]:_0x1af4a0,_0x3594fb={'shapeType':_0xbc6c31[_0x27231d(0x1d2)](),'width':_0x3d0212,'height':_0xc95e75},_0x3e1666={'renderMode':t[_0x27231d(0x137)]['Path'],'oKey':this['oKey'],'image':this['_props'][_0x27231d(0x267)],'angle':this[_0x27231d(0x17d)]};_0xbc6c31[_0x27231d(0x2c0)](_0x3594fb),_0x350fc4[_0x27231d(0x207)]();let _0x270b0d={'top':0x0,'left':0x0,'width':_0x3d0212,'height':_0xc95e75};_0xbc6c31[_0x27231d(0x481)](_0x350fc4,_0x270b0d,_0x3e1666),_0x350fc4[_0x27231d(0x3ff)]();let _0x18735c=_0xbc6c31[_0x27231d(0x300)](),_0x28ca4b=_0xbc6c31[_0x27231d(0x2e1)](_0x270b0d),_0x494282=_0xbc6c31[_0x27231d(0x22f)]();if(_0x18735c&&_0x28ca4b&&!_0x494282){_0x350fc4['save'](),this[_0x27231d(0x3b3)]()[_0x27231d(0x396)]&&_0x350fc4[_0x27231d(0x1a2)](-0x1,0x1);let _0xc2dd05=_0x3d0212/0x2,_0xcd0597=_0xc95e75/0x2;_0x350fc4[_0x27231d(0x146)](-_0xc2dd05,-_0xcd0597),_0x350fc4[_0x27231d(0x452)](),this[_0x27231d(0x37f)](_0x350fc4,_0x18735c,_0x28ca4b),_0x350fc4['restore']();}}[_0x3da21c(0x200)](_0x2b987b){}[_0x3da21c(0x37f)](_0x4aac6c,_0x5b90b9,_0x5782d8){const _0x2a6fd4=_0x3da21c;this[_0x2a6fd4(0x115)][_0x2a6fd4(0x161)]||(_0x2a6fd4(0x2fd)in _0x5b90b9&&_0x5b90b9[_0x2a6fd4(0x2fd)]===!0x1?this[_0x2a6fd4(0x2e2)](_0x4aac6c,_0x5b90b9,_0x5782d8):this['_drawRichText'](_0x4aac6c,_0x5b90b9,_0x5782d8));}[_0x3da21c(0x2e2)](_0x36d7d2,_0x4d8d0c,_0x359ba8){}[_0x3da21c(0x47e)](_0x5285d7,_0x17b54f,_0x1e528d){const _0x1264a9=_0x3da21c;var _0x4c7994,_0x2ab50e;let _0x2ded37=this[_0x1264a9(0x115)][_0x1264a9(0x2f0)];if(!_0x17b54f[_0x1264a9(0x346)]||!_0x2ded37){_0x2ded37||console[_0x1264a9(0x1f7)](_0x1264a9(0x392));return;}let _0x27ce37=_0x17b54f[_0x1264a9(0x346)],_0x26c6bc=_0x27ce37[_0x1264a9(0x47b)],_0x3350ad=(_0x4c7994=_0x27ce37['va'])==null?n[_0x1264a9(0x421)][_0x1264a9(0x348)]:_0x4c7994,_0x28dd55=(_0x2ab50e=_0x27ce37['ha'])==null?n[_0x1264a9(0x116)][_0x1264a9(0x3ce)]:_0x2ab50e;if(!_0x26c6bc)return;let _0x5e3bc3=_0x17b54f['isHorizontal'],_0x1bbfd4=new n[(_0x1264a9(0x214))](pe(_0x26c6bc,{'isHorizontal':_0x5e3bc3!==!0x1,'textRect':_0x1e528d,'verticalAlign':_0x3350ad,'horizontalAlign':_0x28dd55})),_0x37c097=new o[(_0x1264a9(0xdf))](_0x1bbfd4),_0x485f34=o[_0x1264a9(0x29d)][_0x1264a9(0x45f)](_0x37c097,_0x2ded37);_0x485f34[_0x1264a9(0x25b)]();let _0x21b539=new o['Documents'](_0x1264a9(0x3b0)+this[_0x1264a9(0x22d)],_0x485f34,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x21b539[_0x1264a9(0x31b)](_0x1e528d[_0x1264a9(0x1eb)],_0x1e528d[_0x1264a9(0x40a)]),_0x5285d7['save'](),_0x5285d7[_0x1264a9(0xd4)](_0x1e528d['left'],_0x1e528d[_0x1264a9(0x261)]),_0x5285d7[_0x1264a9(0x452)](),_0x5285d7[_0x1264a9(0x253)](0x0,0x0,_0x1e528d[_0x1264a9(0x1eb)],_0x1e528d[_0x1264a9(0x40a)]),_0x5285d7[_0x1264a9(0xf1)](),_0x21b539[_0x1264a9(0x19d)](_0x5285d7),_0x5285d7[_0x1264a9(0x3ff)](),_0x21b539[_0x1264a9(0x399)](),_0x485f34[_0x1264a9(0x399)](),_0x37c097[_0x1264a9(0x399)](),_0x1bbfd4[_0x1264a9(0x399)]();}[_0x3da21c(0x481)](_0xf27501,_0x523264,_0x2b9726=!0x1){const _0x593043=_0x3da21c;if(!this[_0x593043(0x379)])return this[_0x593043(0x194)](!0x1),this;let {width:_0x5f1c6b,height:_0x3925e4,left:_0x4ded3f,top:_0x1bcba9}=this,_0x34dac5=this[_0x593043(0x409)]();if(_0x5f1c6b=_0x34dac5[_0x593043(0x1eb)],_0x3925e4=_0x34dac5[_0x593043(0x40a)],_0x4ded3f=_0x34dac5[_0x593043(0x191)],_0x1bcba9=_0x34dac5[_0x593043(0x261)],this[_0x593043(0x11d)](_0x523264)){let {top:_0x3b5e42,left:_0x377b3d,bottom:_0x2cbec4,right:_0xb0dbdc}=_0x523264[_0x593043(0x172)];if(_0x5f1c6b+this[_0x593043(0x2ee)]+_0x4ded3f<_0x377b3d||_0xb0dbdc<_0x4ded3f||_0x3925e4+this[_0x593043(0x2ee)]+_0x1bcba9<_0x3b5e42||_0x2cbec4<_0x1bcba9)return this;}let _0x25a6a2=_0x4ded3f+_0x5f1c6b/0x2,_0x1fb8d6=_0x1bcba9+_0x3925e4/0x2,_0x1ac6a9=this[_0x593043(0x166)]['getMatrix']();if(this[_0x593043(0x115)]['isEditing']){let _0x183866=this[_0x593043(0x3b3)](),_0x1064f9=new o[(_0x593043(0x3fd))]();_0x1064f9['composeMatrix']({..._0x183866}),_0x1ac6a9=_0x1064f9[_0x593043(0x26b)]();}return _0xf27501[_0x593043(0x207)](),this[_0x593043(0x115)]['shapeModel'][_0x593043(0xd7)]===!0x0||_0xf27501[_0x593043(0x166)](_0x1ac6a9[0x0],_0x1ac6a9[0x1],_0x1ac6a9[0x2],_0x1ac6a9[0x3],_0x25a6a2,_0x1fb8d6),this['_draw'](_0xf27501,_0x523264,_0x5f1c6b,_0x3925e4),_0xf27501['restore'](),this[_0x593043(0x194)](!0x1),this;}[_0x3da21c(0x15d)](_0x231783){const _0x4353f9=_0x3da21c;let {left:_0x4719d5,top:_0x43044b,width:_0x1bb9db,height:_0x1e260f}=this['getRealBound'](),_0x35e952=this[_0x4353f9(0x166)][_0x4353f9(0x26b)](),_0x4afdb2=_0x4719d5+_0x1bb9db/0x2,_0x4bd507=_0x43044b+_0x1e260f/0x2,_0x3d185e=new o['Transform']([_0x35e952[0x0],_0x35e952[0x1],_0x35e952[0x2],_0x35e952[0x3],_0x4afdb2,_0x4bd507]),_0x572804=this[_0x4353f9(0x368)]();return(this[_0x4353f9(0x21d)]&&(_0x572804==null?void 0x0:_0x572804[_0x4353f9(0x2be)])===o[_0x4353f9(0x36b)][_0x4353f9(0x24e)]?_0x572804[_0x4353f9(0xca)][_0x4353f9(0xe3)](_0x3d185e):_0x3d185e)[_0x4353f9(0x2d6)]()[_0x4353f9(0x123)](_0x231783);}[_0x3da21c(0x429)](_0x238b90){const _0x510132=_0x3da21c;let {left:_0xe91b79,top:_0x2afa48,width:_0x16057e,height:_0x4bb143}=this['getRealBound'](),_0x16b9a3=_0xe91b79+_0x16057e/0x2,_0x330725=_0x2afa48+_0x4bb143/0x2,_0x1373cf=this[_0x510132(0x166)][_0x510132(0x26b)](),_0xdcda08=new o[(_0x510132(0x3fd))]([_0x1373cf[0x0],_0x1373cf[0x1],_0x1373cf[0x2],_0x1373cf[0x3],_0x16b9a3,_0x330725]),_0x5ea755=this['getParent'](),_0x48b0d7=(this[_0x510132(0x21d)]&&(_0x5ea755==null?void 0x0:_0x5ea755[_0x510132(0x2be)])===o['RENDER_CLASS_TYPE'][_0x510132(0x24e)]?_0x5ea755['ancestorTransform'][_0x510132(0xe3)](_0xdcda08):_0xdcda08)[_0x510132(0x2d6)]()[_0x510132(0x123)](_0x238b90),_0x4b7cf2=_0x16057e/0x2,_0x1bc739=_0x4bb143/0x2,_0x3a7db3=this[_0x510132(0x115)][_0x510132(0x1f8)];return _0x3a7db3&&_0x3a7db3[_0x510132(0x22f)]()?_0x3a7db3[_0x510132(0x38c)](_0x48b0d7['x'],_0x48b0d7['y'],_0x16057e,_0x4bb143):_0x48b0d7['x']>=-_0x4b7cf2-this[_0x510132(0x2ee)]/0x2&&_0x48b0d7['x']<=_0x4b7cf2+this[_0x510132(0x2ee)]/0x2&&_0x48b0d7['y']>=-_0x1bc739-this['strokeWidth']/0x2&&_0x48b0d7['y']<=_0x1bc739+this[_0x510132(0x2ee)]/0x2;}['dispose'](){const _0x4e9c17=_0x3da21c;this['_props'][_0x4e9c17(0x1f8)]=null,super[_0x4e9c17(0x399)]();}};function me(_0x178ddb){const _0x5bae9b=_0x3da21c;return _0x178ddb['behindText']===!0x0||_0x178ddb['behindText']===n[_0x5bae9b(0x195)][_0x5bae9b(0x344)]||_0x178ddb[_0x5bae9b(0x315)]===n[_0x5bae9b(0x449)][_0x5bae9b(0x34d)]&&_0x178ddb[_0x5bae9b(0x3a0)]===n[_0x5bae9b(0x195)][_0x5bae9b(0x344)]?a['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:o[_0x5bae9b(0x2d2)];}let q=class extends n[_0x3da21c(0x442)]{constructor(_0x1a9405,_0x45e24e,_0x49dc0a,_0x401cd4,_0x32b0c1,_0x4ab768){const _0x49f7dc=_0x3da21c;super(),this[_0x49f7dc(0x42d)]=_0x1a9405,this[_0x49f7dc(0xc7)]=_0x45e24e,this[_0x49f7dc(0x13f)]=_0x49dc0a,this['_imageIoService']=_0x401cd4,this[_0x49f7dc(0x433)]=_0x32b0c1,this[_0x49f7dc(0x302)]=_0x4ab768;}[_0x3da21c(0x259)](_0x12f29a,_0x22e6be){const _0x2f7aac=_0x3da21c;let {transform:_0x25562b,drawingType:_0x596ed7,srcRect:_0x1ef628,prstGeom:_0x204541,groupId:_0x4a1193,unitId:_0x2dd1c1,subUnitId:_0x4e70e5,drawingId:_0x30ebb2,isMultiTransform:_0x48fcad,transforms:_0x1b3ee4,hidden:_0x24efd0}=_0x12f29a;if(_0x596ed7!==n[_0x2f7aac(0xd0)][_0x2f7aac(0xe0)]||!this[_0x2f7aac(0x42d)][_0x2f7aac(0x1be)]()||_0x25562b==null)return;let _0x14c9a5=_0x48fcad&&_0x1b3ee4?_0x1b3ee4:[_0x25562b],_0x6111fa=[];for(let _0x17af9b of _0x14c9a5){let {left:_0x51a706,top:_0x1547b9,width:_0x22d379,height:_0x44a70a,angle:_0x58a6f0,flipX:_0x56f0f3,flipY:_0x2edd09,skewX:_0x19cf6b,skewY:_0x1a91b5}=_0x17af9b,_0x33f148=_0x14c9a5[_0x2f7aac(0x2e4)](_0x17af9b),_0x41f763=(0x0,s[_0x2f7aac(0x3c2)])({'unitId':_0x2dd1c1,'subUnitId':_0x4e70e5,'drawingId':_0x30ebb2},_0x48fcad?_0x33f148:void 0x0),_0x3f8c00=_0x22e6be['getObjectIncludeInGroup'](_0x41f763);if(_0x3f8c00!=null){_0x3f8c00['transformByState']({'left':_0x51a706,'top':_0x1547b9,'width':_0x22d379,'height':_0x44a70a,'angle':_0x58a6f0,'flipX':_0x56f0f3,'flipY':_0x2edd09,'skewX':_0x19cf6b,'skewY':_0x1a91b5});continue;}let _0x520a1b=this[_0x2f7aac(0x42d)][_0x2f7aac(0x435)](_0x2dd1c1,_0x4e70e5),_0x5ad085=_0x520a1b[_0x2f7aac(0x2e4)](_0x30ebb2);if(_0x22e6be[_0x2f7aac(0x3fb)](_0x41f763)||!this['_drawingManagerService'][_0x2f7aac(0x1be)]())continue;let _0x2f3684=this[_0x2f7aac(0xc7)][_0x2f7aac(0x456)](_0x2dd1c1,_0x4e70e5,_0x30ebb2);if(!_0x2f3684)continue;let _0x3460b1=new K(_0x41f763,{...(0x0,t[_0x2f7aac(0x192)])(_0x2f3684[_0x2f7aac(0x1d2)]())?{..._0x17af9b,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x17af9b},'zIndex':_0x5ad085===-0x1?_0x520a1b['length']-0x1:_0x5ad085,'shapeModel':_0x2f3684,'localeService':this[_0x2f7aac(0x13f)],'shapeId':_0x30ebb2,'unitId':_0x2dd1c1,'subUnitId':_0x4e70e5,'visible':_0x24efd0!==!0x0});this[_0x2f7aac(0xb0)]((0x0,n[_0x2f7aac(0x149)])(_0x3460b1['onDblclick$'][_0x2f7aac(0x284)]((_0x4a04eb,_0x219cbb)=>{const _0x247408=_0x2f7aac;_0x2f3684[_0x247408(0x22f)]()||(this[_0x247408(0x302)]['setEditing']({'visible':!0x0,'unitId':_0x2dd1c1,'subUnitId':_0x4e70e5,'shapeId':_0x30ebb2,'shapeKey':_0x3460b1[_0x247408(0x22d)]}),_0x219cbb[_0x247408(0x26e)]());}))),_0x22e6be[_0x2f7aac(0x18f)](_0x3460b1,me(_0x12f29a)),this[_0x2f7aac(0x42d)]['getDrawingEditable']()&&_0x22e6be[_0x2f7aac(0x1ed)](_0x3460b1),_0x4a1193&&(0x0,u[_0x2f7aac(0x20f)])({'drawingId':_0x4a1193,'unitId':_0x2dd1c1,'subUnitId':_0x4e70e5},_0x3460b1,_0x22e6be,this['_drawingManagerService']),_0x204541!=null&&_0x3460b1[_0x2f7aac(0x3f2)](_0x204541),_0x1ef628!=null&&_0x3460b1[_0x2f7aac(0x1a0)](_0x1ef628),this['_loadShapePictureFill'](_0x3460b1,_0x2f3684[_0x2f7aac(0x3d8)]()),_0x6111fa[_0x2f7aac(0x2f5)](_0x3460b1);}return _0x6111fa;}[_0x3da21c(0x373)](_0x45f7ac){const _0x368742=_0x3da21c;let _0x4ccc1d=_0x45f7ac[_0x368742(0x1f8)][_0x368742(0x3d8)](),_0x120c52=_0x4ccc1d[_0x368742(0x2d9)];if(!_0x120c52||_0x120c52[_0x368742(0xee)]!==t[_0x368742(0x1e3)][_0x368742(0x319)]||!_0x120c52[_0x368742(0x14b)]){_0x45f7ac[_0x368742(0x306)](void 0x0);return;}this[_0x368742(0x43e)](_0x45f7ac,_0x4ccc1d);}[_0x3da21c(0x43e)](_0x5b2b94,_0x33ff96){const _0x4660b4=_0x3da21c;var _0x27c44a;let _0x4e995c=_0x33ff96[_0x4660b4(0x2d9)];if(!_0x4e995c||_0x4e995c[_0x4660b4(0xee)]!==t[_0x4660b4(0x1e3)]['PictureFill']||!_0x4e995c[_0x4660b4(0x14b)])return;let _0x57a132=_0x4e995c['fillImageSource'],_0x5666b5=(_0x27c44a=_0x4e995c[_0x4660b4(0x2fc)])==null?t[_0x4660b4(0x252)]['URL']:_0x27c44a,_0x51c6c1=this[_0x4660b4(0x1a5)][_0x4660b4(0x111)](_0x57a132,_0x5666b5);if(_0x51c6c1){_0x5b2b94[_0x4660b4(0x306)](_0x51c6c1);return;}this[_0x4660b4(0x3c0)](_0x5b2b94,_0x57a132,_0x5666b5);}async[_0x3da21c(0x3c0)](_0x1e1799,_0x3020fc,_0x4bfbba){const _0xb6f6c9=_0x3da21c;let _0x5603fe;try{if(_0x4bfbba===t[_0xb6f6c9(0x252)]['UUID'])_0x5603fe=await this[_0xb6f6c9(0x1a5)][_0xb6f6c9(0x142)](_0x3020fc);else{if(_0x4bfbba===t[_0xb6f6c9(0x252)][_0xb6f6c9(0x426)])try{_0x5603fe=await this['_urlImageService'][_0xb6f6c9(0x142)](_0x3020fc);}catch{_0x5603fe=_0x3020fc;}else _0x5603fe=_0x3020fc;}}catch(_0x5e5d72){console[_0xb6f6c9(0x43d)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x5e5d72);return;}let _0x47f4c5=new window[(_0xb6f6c9(0x47d))]();_0x47f4c5[_0xb6f6c9(0x475)]=()=>{const _0x44e49d=_0xb6f6c9;this[_0x44e49d(0x1a5)][_0x44e49d(0x202)](_0x3020fc,_0x4bfbba,_0x47f4c5),_0x1e1799[_0x44e49d(0x306)](_0x47f4c5);},_0x47f4c5['onerror']=()=>{const _0x198d0b=_0xb6f6c9;console[_0x198d0b(0x43d)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x3020fc);},_0x47f4c5[_0xb6f6c9(0x388)]=_0x5603fe;}};q=k([O(0x0,s[_0x3da21c(0x28d)]),O(0x1,(0x0,n[_0x3da21c(0x34b)])(e[_0x3da21c(0x403)])),O(0x2,(0x0,n[_0x3da21c(0x34b)])(n[_0x3da21c(0x45a)])),O(0x3,s[_0x3da21c(0x17c)]),O(0x4,n['IURLImageService']),O(0x5,(0x0,n[_0x3da21c(0x34b)])(B))],q);let J=class extends n[_0x3da21c(0x442)]{constructor(_0x1bbe95,_0x27cf3e,_0x2f52cb,_0x78750e){const _0x2b78a3=_0x3da21c;super(),this['_commandService']=_0x1bbe95,this[_0x2b78a3(0x162)]=_0x27cf3e,this[_0x2b78a3(0x42d)]=_0x2f52cb,this['_docDrawingShapeRenderController']=_0x78750e,this[_0x2b78a3(0x31f)]();}[_0x3da21c(0x31f)](){const _0x5c3f90=_0x3da21c;this[_0x5c3f90(0xb0)](this[_0x5c3f90(0x42d)][_0x5c3f90(0x2b9)][_0x5c3f90(0x3e0)](_0x4a1b9a=>this[_0x5c3f90(0x26c)](_0x4a1b9a))),this['disposeWithMe'](this[_0x5c3f90(0x42d)][_0x5c3f90(0xcf)]['subscribe'](_0x102b8a=>{const _0x43e6b9=_0x5c3f90;_0x102b8a[_0x43e6b9(0x362)](_0xae7b47=>this[_0x43e6b9(0x15e)](_0xae7b47));})),this[_0x5c3f90(0xb0)](this[_0x5c3f90(0x23d)][_0x5c3f90(0x34a)](_0x129455=>{const _0x573bb4=_0x5c3f90;if(_0x129455['id']!==e[_0x573bb4(0x234)]['id'])return;let {unitId:_0x8ad9c0,shapeId:_0x444e51}=_0x129455[_0x573bb4(0x1c6)];this[_0x573bb4(0x1b2)]({'unitId':_0x8ad9c0,'subUnitId':_0x8ad9c0,'drawingId':_0x444e51});}));}[_0x3da21c(0x23a)](_0x4a6dea,_0x7973ae){const _0x5ead42=_0x3da21c;let _0x56a405=this[_0x5ead42(0x417)](_0x4a6dea[_0x5ead42(0x3da)]),_0x4d8ea8=(0x0,s['getDrawingShapeKeyByDrawingSearch'])(_0x4a6dea),_0x17bde0=_0x56a405==null?void 0x0:_0x56a405[_0x5ead42(0x28f)][_0x5ead42(0x3fb)](_0x4d8ea8);_0x17bde0==null||_0x17bde0['setFillImage'](_0x7973ae);}[_0x3da21c(0x26c)](_0xcc23a3){const _0x26fec2=_0x3da21c;_0xcc23a3[_0x26fec2(0x362)](_0x5392c7=>{const _0x31e442=_0x26fec2;var _0x144450;let _0x485723=this[_0x31e442(0x417)](_0x5392c7['unitId']);if(!_0x485723)return;let _0x47ad1a=this[_0x31e442(0x42d)][_0x31e442(0x2b8)](_0x5392c7);(_0x47ad1a==null?void 0x0:_0x47ad1a[_0x31e442(0x460)])===n[_0x31e442(0xd0)][_0x31e442(0xe0)]&&((0x0,t[_0x31e442(0x192)])((_0x144450=_0x47ad1a['data'])==null?void 0x0:_0x144450[_0x31e442(0x16a)])&&_0x47ad1a['transform']&&(_0x47ad1a[_0x31e442(0x166)]={..._0x47ad1a[_0x31e442(0x166)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x31e442(0x42d)][_0x31e442(0x1b9)]([_0x47ad1a]),this['_docDrawingShapeRenderController'][_0x31e442(0x259)](_0x47ad1a,_0x485723['scene']));});}[_0x3da21c(0x15e)](_0x119c27){const _0x47a8f7=_0x3da21c;let _0x44b9e4=this[_0x47a8f7(0x42d)][_0x47a8f7(0x2b8)](_0x119c27);if((_0x44b9e4==null?void 0x0:_0x44b9e4['drawingType'])!==n[_0x47a8f7(0xd0)][_0x47a8f7(0xe0)])return;let _0x5091f2=this[_0x47a8f7(0x417)](_0x119c27[_0x47a8f7(0x3da)]);if(!_0x5091f2||_0x44b9e4[_0x47a8f7(0x166)]==null)return;let _0x5d5ba4=(0x0,s[_0x47a8f7(0x3c2)])(_0x119c27),_0x1c8fe6=_0x5091f2[_0x47a8f7(0x28f)]['getObjectIncludeInGroup'](_0x5d5ba4);_0x1c8fe6&&(_0x1c8fe6[_0x47a8f7(0x1a0)](_0x44b9e4[_0x47a8f7(0xc4)]),_0x1c8fe6[_0x47a8f7(0x3f2)](_0x44b9e4[_0x47a8f7(0xf3)]),_0x1c8fe6['makeDirty'](!0x0));}[_0x3da21c(0x1b2)](_0x4385cb){const _0x371df3=_0x3da21c;let _0x39ea65=this[_0x371df3(0x417)](_0x4385cb['unitId']);if(!_0x39ea65)return;let _0x4c24bc=(0x0,s['getDrawingShapeKeyByDrawingSearch'])(_0x4385cb),_0x297bb0=_0x39ea65['scene'][_0x371df3(0x3fb)](_0x4c24bc);_0x297bb0&&(this[_0x371df3(0x349)][_0x371df3(0x373)](_0x297bb0),_0x297bb0['makeDirty'](!0x0));}[_0x3da21c(0x417)](_0x46217b){const _0x106af3=_0x3da21c;if(_0x46217b==null)return null;let _0x6e2882=this[_0x106af3(0x162)][_0x106af3(0x14e)](_0x46217b),_0x2d6395=_0x6e2882==null?void 0x0:_0x6e2882['scene'];return _0x2d6395==null?null:{'scene':_0x2d6395};}};J=k([O(0x0,n[_0x3da21c(0x448)]),O(0x1,o[_0x3da21c(0x104)]),O(0x2,s[_0x3da21c(0x28d)]),O(0x3,(0x0,n[_0x3da21c(0x34b)])(q))],J);function he(){const _0x3f5d38=_0x3da21c;let _0xf80e69=(0x0,c[_0x3f5d38(0x2f7)])(s[_0x3f5d38(0x28d)]),[_0x3b85c4,_0x4dd16e]=(0x0,d[_0x3f5d38(0x301)])(_0xf80e69[_0x3f5d38(0x3aa)]());return(0x0,d[_0x3f5d38(0x2c7)])(()=>{const _0x4b5d08=_0x3f5d38;let _0x143f89=_0xf80e69[_0x4b5d08(0x2e8)][_0x4b5d08(0x3e0)](_0x284ee2=>{_0x4dd16e(_0x284ee2);});return()=>{const _0x565f30=_0x4b5d08;_0x143f89[_0x565f30(0x364)]();};},[]),_0x3b85c4[_0x3f5d38(0x329)]===0x0?null:(0x0,f[_0x3f5d38(0x44a)])('div',{'children':(0x0,f[_0x3f5d38(0x273)])(_0x3f5d38(0x13d),{'className':_0x3f5d38(0x2b0),'children':[(0x0,f[_0x3f5d38(0x44a)])(u[_0x3f5d38(0x330)],{'drawings':_0x3b85c4,'hasCropper':!0x1}),(0x0,f[_0x3f5d38(0x44a)])(i['DocDrawingTextWrap'],{'drawings':_0x3b85c4}),(0x0,f[_0x3f5d38(0x44a)])(i[_0x3f5d38(0x332)],{'drawings':_0x3b85c4})]})});}function ge(_0x12ad94){const _0x26b8d1=_0x3da21c;let {unitId:_0x2eca6d,subUnitId:_0x432352,shapeId:_0x5caa98}=_0x12ad94,_0x45dcf3=(0x0,c[_0x26b8d1(0x2f7)])(n[_0x26b8d1(0x448)]),_0x2cc96d=(0x0,c[_0x26b8d1(0x2f7)])(J);return(0x0,f[_0x26b8d1(0x44a)])(m[_0x26b8d1(0x245)],{..._0x12ad94,'positionEditor':(0x0,f[_0x26b8d1(0x44a)])(he,{}),'onUpdateShapeData':(_0x5b1833,_0x25ac0a)=>{V(_0x45dcf3,_0x2eca6d,_0x432352,_0x5caa98,_0x5b1833,_0x25ac0a);},'onUpdateLineShapeData':(_0x3db13d,_0x524a8a)=>{ae(_0x45dcf3,_0x2eca6d,_0x432352,_0x5caa98,_0x3db13d,_0x524a8a);},'onUpdateShapeFillImage':_0x311178=>{const _0x380583=_0x26b8d1;_0x2cc96d[_0x380583(0x23a)]({'unitId':_0x2eca6d,'subUnitId':_0x432352,'drawingId':_0x5caa98},_0x311178);}});}const _e=(0x0,d[_0x3da21c(0x241)])(()=>{const _0x2ef7a7=_0x3da21c;let _0x1e0436=(0x0,c['useDependency'])(B),_0x1e60f9=(0x0,c['useDependency'])(e[_0x2ef7a7(0x403)]),_0x57e5cb=(0x0,c[_0x2ef7a7(0x2f7)])(s[_0x2ef7a7(0x28d)]),_0x140c8c=(0x0,c[_0x2ef7a7(0x2f7)])(n[_0x2ef7a7(0x448)]);return(0x0,f[_0x2ef7a7(0x44a)])(m['ShapeTextEditorContainer'],{'adapter':(0x0,d[_0x2ef7a7(0x1aa)])(()=>({'getShapeModel':(_0x167bb0,_0x5c261a,_0xf6f2c)=>_0x1e60f9[_0x2ef7a7(0x456)](_0x167bb0,_0x5c261a,_0xf6f2c),'getDrawingTransform':(_0x4b5b0c,_0x35aa06,_0x483f94)=>{const _0x51506f=_0x2ef7a7;let _0x33355b=_0x57e5cb[_0x51506f(0x2b8)]({'unitId':_0x4b5b0c,'subUnitId':_0x35aa06,'drawingId':_0x483f94});return _0x33355b==null?void 0x0:_0x33355b[_0x51506f(0x166)];},'updateShapeText':({unitId:_0x5982bb,shapeId:_0xc933d2,shapeText:_0x1e3949,oldShapeText:_0x2f772b})=>{const _0x3d724d=_0x2ef7a7;_0x140c8c['executeCommand'](e[_0x3d724d(0x23c)]['id'],{'unitId':_0x5982bb,'shapeId':_0xc933d2,'shapeData':{'shapeText':_0x1e3949},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2f772b}}});}}),[_0x140c8c,_0x1e60f9,_0x57e5cb]),'editingService':_0x1e0436,'editorUnitId':D,'positionOptions':(0x0,d[_0x2ef7a7(0x1aa)])(()=>({'viewportKeys':{'main':a[_0x2ef7a7(0xec)]['VIEW_MAIN']}}),[])});});let Y=class extends n['Disposable']{constructor(_0x440e6b,_0x1cbf00){const _0x31a647=_0x3da21c;super(),this[_0x31a647(0x3e6)]=_0x440e6b,this[_0x31a647(0x474)]=_0x1cbf00,this[_0x31a647(0xc2)](),this[_0x31a647(0x458)]();}['_registerIcons'](){const _0x370f1c=_0x3da21c;this[_0x370f1c(0xb0)](this[_0x370f1c(0x474)][_0x370f1c(0x305)]({'ShapeAccentBorderCallout1Icon':g['ShapeAccentBorderCallout1Icon'],'ShapeAccentBorderCallout2Icon':g[_0x370f1c(0x290)],'ShapeAccentBorderCallout3Icon':g[_0x370f1c(0x15b)],'ShapeAccentCallout1Icon':g[_0x370f1c(0x41a)],'ShapeAccentCallout2Icon':g[_0x370f1c(0x138)],'ShapeAccentCallout3Icon':g['ShapeAccentCallout3Icon'],'ShapeActionButtonBackPreviousIcon':g[_0x370f1c(0x303)],'ShapeActionButtonBeginningIcon':g['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':g[_0x370f1c(0x183)],'ShapeActionButtonDocumentIcon':g[_0x370f1c(0x30b)],'ShapeActionButtonEndIcon':g[_0x370f1c(0x174)],'ShapeActionButtonForwardNextIcon':g['ShapeActionButtonForwardNextIcon'],'ShapeActionButtonHelpIcon':g[_0x370f1c(0x44b)],'ShapeActionButtonHomeIcon':g[_0x370f1c(0x38d)],'ShapeActionButtonInformationIcon':g[_0x370f1c(0x43a)],'ShapeActionButtonMovieIcon':g[_0x370f1c(0x2e7)],'ShapeActionButtonReturnIcon':g[_0x370f1c(0x12c)],'ShapeActionButtonSoundIcon':g[_0x370f1c(0x113)],'ShapeArcIcon':g[_0x370f1c(0x42a)],'ShapeBentArrowIcon':g[_0x370f1c(0x19e)],'ShapeBentConnector3Arrow1Icon':g[_0x370f1c(0x311)],'ShapeBentConnector3Arrow2Icon':g['ShapeBentConnector3Arrow2Icon'],'ShapeBentConnector3Icon':g[_0x370f1c(0x1d1)],'ShapeBentUpArrowIcon':g[_0x370f1c(0x160)],'ShapeBevelIcon':g[_0x370f1c(0x150)],'ShapeBlockArcIcon':g[_0x370f1c(0x21c)],'ShapeBorderCallout1Icon':g['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':g['ShapeBorderCallout2Icon'],'ShapeBorderCallout3Icon':g[_0x370f1c(0x1d8)],'ShapeBracePairIcon':g[_0x370f1c(0x2ec)],'ShapeBracketPairIcon':g[_0x370f1c(0x175)],'ShapeCallout1Icon':g[_0x370f1c(0xe9)],'ShapeCallout2Icon':g[_0x370f1c(0x428)],'ShapeCallout3Icon':g[_0x370f1c(0x467)],'ShapeCanIcon':g[_0x370f1c(0x171)],'ShapeChartPlusIcon':g[_0x370f1c(0x254)],'ShapeChartStarIcon':g[_0x370f1c(0xd9)],'ShapeChartXIcon':g['ShapeChartXIcon'],'ShapeChevronIcon':g[_0x370f1c(0x3c1)],'ShapeChordIcon':g[_0x370f1c(0x411)],'ShapeCircularArrowIcon':g[_0x370f1c(0x29a)],'ShapeCloudCalloutIcon':g[_0x370f1c(0x45d)],'ShapeCloudIcon':g[_0x370f1c(0x139)],'ShapeCornerIcon':g[_0x370f1c(0x323)],'ShapeCornerTabsIcon':g[_0x370f1c(0x316)],'ShapeCubeIcon':g[_0x370f1c(0x1bb)],'ShapeCurvedConnector3Arrow1Icon':g[_0x370f1c(0x122)],'ShapeCurvedConnector3Arrow2Icon':g[_0x370f1c(0x1a6)],'ShapeCurvedConnector3Icon':g[_0x370f1c(0x12e)],'ShapeCurvedDownArrowIcon':g[_0x370f1c(0xf2)],'ShapeCurvedLeftArrowIcon':g[_0x370f1c(0x106)],'ShapeCurvedRightArrowIcon':g[_0x370f1c(0x436)],'ShapeCurvedUpArrowIcon':g[_0x370f1c(0x318)],'ShapeDecagonIcon':g[_0x370f1c(0x34e)],'ShapeDiagStripeIcon':g[_0x370f1c(0x414)],'ShapeDiamondIcon':g[_0x370f1c(0xae)],'ShapeDodecagonIcon':g[_0x370f1c(0x239)],'ShapeDonutIcon':g[_0x370f1c(0x10f)],'ShapeDoubleWaveIcon':g[_0x370f1c(0x2a1)],'ShapeDownArrowCalloutIcon':g[_0x370f1c(0xb9)],'ShapeDownArrowIcon':g[_0x370f1c(0x121)],'ShapeEllipseIcon':g[_0x370f1c(0x386)],'ShapeEllipseRibbon2Icon':g[_0x370f1c(0x425)],'ShapeEllipseRibbonIcon':g[_0x370f1c(0x30d)],'ShapeFlowChartAlternateProcessIcon':g[_0x370f1c(0x1ff)],'ShapeFlowChartCollateIcon':g[_0x370f1c(0x13c)],'ShapeFlowChartConnectorIcon':g['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':g['ShapeFlowChartDecisionIcon'],'ShapeFlowChartDelayIcon':g[_0x370f1c(0x1bd)],'ShapeFlowChartDisplayIcon':g['ShapeFlowChartDisplayIcon'],'ShapeFlowChartDocumentIcon':g[_0x370f1c(0x179)],'ShapeFlowChartExtractIcon':g['ShapeFlowChartExtractIcon'],'ShapeFlowChartInputOutputIcon':g[_0x370f1c(0x3a3)],'ShapeFlowChartInternalStorageIcon':g[_0x370f1c(0x210)],'ShapeFlowChartMagneticDiskIcon':g[_0x370f1c(0x446)],'ShapeFlowChartMagneticDrumIcon':g['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':g[_0x370f1c(0x38b)],'ShapeFlowChartManualInputIcon':g['ShapeFlowChartManualInputIcon'],'ShapeFlowChartManualOperationIcon':g[_0x370f1c(0xcb)],'ShapeFlowChartMergeIcon':g[_0x370f1c(0x26d)],'ShapeFlowChartMultidocumentIcon':g[_0x370f1c(0x2da)],'ShapeFlowChartOfflineStorageIcon':g[_0x370f1c(0x163)],'ShapeFlowChartOffpageConnectorIcon':g[_0x370f1c(0x29b)],'ShapeFlowChartOnlineStorageIcon':g['ShapeFlowChartOnlineStorageIcon'],'ShapeFlowChartOrIcon':g[_0x370f1c(0xfa)],'ShapeFlowChartPredefinedProcessIcon':g['ShapeFlowChartPredefinedProcessIcon'],'ShapeFlowChartPreparationIcon':g[_0x370f1c(0x3ae)],'ShapeFlowChartProcessIcon':g['ShapeFlowChartProcessIcon'],'ShapeFlowChartPunchedCardIcon':g[_0x370f1c(0x1cb)],'ShapeFlowChartPunchedTapeIcon':g['ShapeFlowChartPunchedTapeIcon'],'ShapeFlowChartSortIcon':g[_0x370f1c(0x45e)],'ShapeFlowChartSummingJunctionIcon':g[_0x370f1c(0x2a7)],'ShapeFlowChartTerminatorIcon':g[_0x370f1c(0x1c1)],'ShapeFolderCornerIcon':g[_0x370f1c(0x2c2)],'ShapeFrameIcon':g[_0x370f1c(0x32d)],'ShapeFunnelIcon':g[_0x370f1c(0x374)],'ShapeGear6Icon':g[_0x370f1c(0x167)],'ShapeGear9Icon':g['ShapeGear9Icon'],'ShapeHalfFrameIcon':g[_0x370f1c(0x11f)],'ShapeHeartIcon':g[_0x370f1c(0x20a)],'ShapeHeptagonIcon':g[_0x370f1c(0x16f)],'ShapeHexagonIcon':g[_0x370f1c(0x17a)],'ShapeHomePlateIcon':g[_0x370f1c(0x221)],'ShapeHorizontalScrollIcon':g[_0x370f1c(0x437)],'ShapeIrregularSeal1Icon':g['ShapeIrregularSeal1Icon'],'ShapeIrregularSeal2Icon':g['ShapeIrregularSeal2Icon'],'ShapeLeftArrowCalloutIcon':g[_0x370f1c(0x3e7)],'ShapeLeftArrowIcon':g['ShapeLeftArrowIcon'],'ShapeLeftBraceIcon':g[_0x370f1c(0x479)],'ShapeLeftBracketIcon':g[_0x370f1c(0x169)],'ShapeLeftCircularArrowIcon':g[_0x370f1c(0xe2)],'ShapeLeftRightArrowCalloutIcon':g[_0x370f1c(0x189)],'ShapeLeftRightArrowIcon':g['ShapeLeftRightArrowIcon'],'ShapeLeftRightCircularArrowIcon':g[_0x370f1c(0x25c)],'ShapeLeftRightRibbonIcon':g[_0x370f1c(0x465)],'ShapeLeftRightUpArrowIcon':g[_0x370f1c(0x220)],'ShapeLeftUpArrowIcon':g['ShapeLeftUpArrowIcon'],'ShapeLightningBoltIcon':g[_0x370f1c(0x3b9)],'ShapeLineIcon':g[_0x370f1c(0x107)],'ShapeLineInvIcon':g[_0x370f1c(0x453)],'ShapeMathDivideIcon':g['ShapeMathDivideIcon'],'ShapeMathEqualIcon':g[_0x370f1c(0x217)],'ShapeMathMinusIcon':g[_0x370f1c(0x13e)],'ShapeMathMultiplyIcon':g[_0x370f1c(0x135)],'ShapeMathNotEqualIcon':g[_0x370f1c(0x3f6)],'ShapeMathPlusIcon':g[_0x370f1c(0x265)],'ShapeMoonIcon':g[_0x370f1c(0x439)],'ShapeNoSmokingIcon':g[_0x370f1c(0x309)],'ShapeNonIsoscelesTrapezoidIcon':g[_0x370f1c(0x1ca)],'ShapeNotchedRightArrowIcon':g['ShapeNotchedRightArrowIcon'],'ShapeOctagonIcon':g[_0x370f1c(0x3f5)],'ShapeParallelogramIcon':g[_0x370f1c(0x222)],'ShapePentagonIcon':g['ShapePentagonIcon'],'ShapePieIcon':g[_0x370f1c(0x45c)],'ShapePieWedgeIcon':g[_0x370f1c(0x1a9)],'ShapePlaqueIcon':g[_0x370f1c(0x36f)],'ShapePlaqueTabsIcon':g[_0x370f1c(0x333)],'ShapePlusIcon':g[_0x370f1c(0x1e5)],'ShapeQuadArrowCalloutIcon':g['ShapeQuadArrowCalloutIcon'],'ShapeQuadArrowIcon':g['ShapeQuadArrowIcon'],'ShapeRectIcon':g[_0x370f1c(0x177)],'ShapeRectTextboxHorizontalIcon':g['ShapeRectTextboxHorizontalIcon'],'ShapeRectTextboxVerticalIcon':g[_0x370f1c(0x384)],'ShapeRibbon2Icon':g[_0x370f1c(0xe7)],'ShapeRibbonIcon':g[_0x370f1c(0x471)],'ShapeRightArrowCalloutIcon':g[_0x370f1c(0xbd)],'ShapeRightArrowIcon':g[_0x370f1c(0x34f)],'ShapeRightBraceIcon':g[_0x370f1c(0x450)],'ShapeRightBracketIcon':g[_0x370f1c(0x13a)],'ShapeRound1RectIcon':g[_0x370f1c(0x2d3)],'ShapeRound2DiagRectIcon':g['ShapeRound2DiagRectIcon'],'ShapeRound2SameRectIcon':g['ShapeRound2SameRectIcon'],'ShapeRoundRectIcon':g[_0x370f1c(0x3f1)],'ShapeRtTriangleIcon':g[_0x370f1c(0x382)],'ShapeSmileyFaceIcon':g[_0x370f1c(0x1f0)],'ShapeSnip1RectIcon':g[_0x370f1c(0x397)],'ShapeSnip2DiagRectIcon':g[_0x370f1c(0x463)],'ShapeSnip2SameRectIcon':g[_0x370f1c(0x2fa)],'ShapeSnipRoundRectIcon':g[_0x370f1c(0x209)],'ShapeSquareTabsIcon':g[_0x370f1c(0x187)],'ShapeStar10Icon':g['ShapeStar10Icon'],'ShapeStar12Icon':g['ShapeStar12Icon'],'ShapeStar16Icon':g[_0x370f1c(0x447)],'ShapeStar24Icon':g['ShapeStar24Icon'],'ShapeStar32Icon':g[_0x370f1c(0x21f)],'ShapeStar4Icon':g[_0x370f1c(0x3c4)],'ShapeStar5Icon':g['ShapeStar5Icon'],'ShapeStar6Icon':g['ShapeStar6Icon'],'ShapeStar7Icon':g[_0x370f1c(0x23f)],'ShapeStar8Icon':g[_0x370f1c(0x353)],'ShapeStraightConnector1Icon':g[_0x370f1c(0x3b8)],'ShapeStraightConnector2Icon':g[_0x370f1c(0xdb)],'ShapeStripedRightArrowIcon':g['ShapeStripedRightArrowIcon'],'ShapeSunIcon':g[_0x370f1c(0x182)],'ShapeSwooshArrowIcon':g[_0x370f1c(0x33e)],'ShapeTeardropIcon':g[_0x370f1c(0x419)],'ShapeTrapezoidIcon':g[_0x370f1c(0x47c)],'ShapeTriangleIcon':g[_0x370f1c(0xf4)],'ShapeUpArrowCalloutIcon':g[_0x370f1c(0x229)],'ShapeUpArrowIcon':g[_0x370f1c(0x469)],'ShapeUpDownArrowCalloutIcon':g[_0x370f1c(0x114)],'ShapeUpDownArrowIcon':g['ShapeUpDownArrowIcon'],'ShapeUturnArrowIcon':g[_0x370f1c(0x1a7)],'ShapeVerticalScrollIcon':g[_0x370f1c(0x32b)],'ShapeWaveIcon':g['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':g[_0x370f1c(0x3f3)],'ShapeWedgeRectCalloutIcon':g[_0x370f1c(0xdc)],'ShapeWedgeRoundRectCalloutIcon':g[_0x370f1c(0x1f4)]}));}[_0x3da21c(0x458)](){const _0xe64436=_0x3da21c;this[_0xe64436(0xb0)](this['_componentManager']['register'](E,ge)),this['disposeWithMe'](this[_0xe64436(0x3e6)][_0xe64436(0x305)](H,ce)),this[_0xe64436(0xb0)](this['_componentManager'][_0xe64436(0x305)](M,F)),this[_0xe64436(0xb0)](this[_0xe64436(0x3e6)][_0xe64436(0x305)](u[_0xe64436(0x2af)],P)),this[_0xe64436(0xb0)](this[_0xe64436(0x3e6)][_0xe64436(0x305)](_0xe64436(0x39e),_e));}};Y=k([O(0x0,(0x0,n[_0x3da21c(0x34b)])(c[_0x3da21c(0x3a7)])),O(0x1,(0x0,n[_0x3da21c(0x34b)])(c[_0x3da21c(0x410)]))],Y);var ve=class extends o['Shape']{constructor(_0x11c0c8,_0x374e39){const _0x5c7cc4=_0x3da21c;super(_0x11c0c8,_0x374e39),z(this,_0x5c7cc4(0x27a),null),z(this,_0x5c7cc4(0x242),null),z(this,'_unitId',null),z(this,'_subUnitId',null),_0x374e39&&this[_0x5c7cc4(0x281)](_0x374e39);}[_0x3da21c(0x1c2)](){const _0x2fee39=_0x3da21c;return{'unitId':this[_0x2fee39(0x1ce)],'subUnitId':this[_0x2fee39(0x1dd)],'drawingId':this[_0x2fee39(0x27a)]};}[_0x3da21c(0x281)](_0x5f34c5){const _0x4d716e=_0x3da21c;_0x5f34c5[_0x4d716e(0x16e)]!==void 0x0&&(this[_0x4d716e(0x27a)]=_0x5f34c5[_0x4d716e(0x16e)]),_0x5f34c5[_0x4d716e(0x424)]!==void 0x0&&(this[_0x4d716e(0x242)]=_0x5f34c5[_0x4d716e(0x424)]),_0x5f34c5[_0x4d716e(0x3da)]!==void 0x0&&(this[_0x4d716e(0x1ce)]=_0x5f34c5['unitId']),_0x5f34c5['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x5f34c5['subUnitId']),this[_0x4d716e(0x2bc)]({'width':_0x5f34c5['width'],'height':_0x5f34c5['height']});}['_draw'](_0x32dee6){const _0x3ed9ed=_0x3da21c;o[_0x3ed9ed(0x225)][_0x3ed9ed(0x27e)](_0x32dee6,{'radius':t[_0x3ed9ed(0x14c)][_0x3ed9ed(0x317)],'fill':t[_0x3ed9ed(0x14c)][_0x3ed9ed(0x432)],'stroke':t['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};let X=class extends n['Disposable']{constructor(_0xde202e,_0x1c70fe,_0x326cb0,_0x25140a){const _0x20badf=_0x3da21c;super(),this[_0x20badf(0x2eb)]=_0xde202e,this['_drawingManagerService']=_0x1c70fe,this[_0x20badf(0xc7)]=_0x326cb0,this[_0x20badf(0x23d)]=_0x25140a,z(this,'_activeShapeId',null),z(this,'_unitId',null),z(this,_0x20badf(0x1dd),null),z(this,'_activeShapeAdjustPointList',void 0x0),z(this,_0x20badf(0x1c3),[]),z(this,_0x20badf(0x16b),0x0),z(this,'_baseShapeTop',0x0),z(this,_0x20badf(0x31a),0x0),z(this,_0x20badf(0x415),0x0),z(this,_0x20badf(0x1ad),!0x1),z(this,_0x20badf(0x1db),!0x1),z(this,'_activeAdjustInfo',void 0x0),z(this,_0x20badf(0x31d),void 0x0),z(this,_0x20badf(0x47f),void 0x0),z(this,_0x20badf(0x213),void 0x0),this['_registerDrawingFocusChangeHandler'](),this[_0x20badf(0x147)]();}[_0x3da21c(0xbc)](){const _0x568515=_0x3da21c;this[_0x568515(0x398)]();}[_0x3da21c(0x326)](){this['_updateShapeAdjustControls'](!0x0);}[_0x3da21c(0x365)](_0x4cad60,_0x2c296b,_0x4ac56e){const _0x19aca7=_0x3da21c;var _0x57d7ce;return(_0x57d7ce=this['_docsShapeService'][_0x19aca7(0x456)](_0x4cad60,_0x2c296b,_0x4ac56e))==null?void 0x0:_0x57d7ce[_0x19aca7(0x200)]();}[_0x3da21c(0x270)](_0x4833a2,_0x4c2fce,_0x387fad,_0x4fe14e){const _0x4bbd9b=_0x3da21c;var _0x5f4d60;return(_0x5f4d60=this[_0x4bbd9b(0xc7)][_0x4bbd9b(0x456)](_0x4833a2,_0x4c2fce,_0x387fad))==null?void 0x0:_0x5f4d60[_0x4bbd9b(0xb1)](_0x4fe14e);}['_getActiveDrawingParam'](){const _0xded4ad=_0x3da21c;if(this[_0xded4ad(0x1ce)]===null||this[_0xded4ad(0x1dd)]===null||this[_0xded4ad(0x3d3)]===null)return null;let _0x4bda80=this[_0xded4ad(0x42d)][_0xded4ad(0x2b8)]({'unitId':this[_0xded4ad(0x1ce)],'subUnitId':this[_0xded4ad(0x1dd)],'drawingId':this[_0xded4ad(0x3d3)]});return _0x4bda80==null?null:_0x4bda80;}[_0x3da21c(0x145)](_0x298f20){const _0x3d0ea6=_0x3da21c;if(this[_0x3d0ea6(0x1ce)]===null||this[_0x3d0ea6(0x1dd)]===null||this[_0x3d0ea6(0x3d3)]===null)return null;let _0x20ed4f=(0x0,s['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x3d0ea6(0x1ce)],'subUnitId':this[_0x3d0ea6(0x1dd)],'drawingId':this[_0x3d0ea6(0x3d3)]}),_0x49e7b4=_0x298f20[_0x3d0ea6(0x3fb)](_0x20ed4f);return _0x49e7b4 instanceof K?_0x49e7b4:null;}['_createShapeAdjustControls'](_0x5f5346=!0x1){const _0x460ada=_0x3da21c;if(this['_unitId']===null||this[_0x460ada(0x1dd)]===null||this[_0x460ada(0x3d3)]===null)return;let _0xdc57a6=this[_0x460ada(0xe8)]();if((_0xdc57a6==null?void 0x0:_0xdc57a6[_0x460ada(0x460)])!==n[_0x460ada(0xd0)][_0x460ada(0xe0)]||!_0xdc57a6[_0x460ada(0x166)])return;let _0x231087=this[_0x460ada(0xc7)]['getShapeModel'](this[_0x460ada(0x1ce)],this[_0x460ada(0x1dd)],this[_0x460ada(0x3d3)]);if(!_0x231087||_0x231087[_0x460ada(0x22f)]())return;(_0x5f5346||!this[_0x460ada(0x143)])&&(this[_0x460ada(0x143)]=this[_0x460ada(0x365)](this['_unitId'],this[_0x460ada(0x1dd)],this[_0x460ada(0x3d3)]));let _0x333cc8=this[_0x460ada(0x143)];if(!(_0x333cc8!=null&&_0x333cc8[_0x460ada(0x329)]))return;let {scene:_0x13f36f}=this[_0x460ada(0x2eb)],{left:_0x3987ab=0x0,top:_0x40d824=0x0,width:_0x2b20b0=0x0,height:_0x45b75e=0x0,flipX:_0x187da3,flipY:_0x3801a6,angle:_0x29b7e1=0x0}=_0xdc57a6[_0x460ada(0x166)];for(let _0x28c6e4 of _0x333cc8){let _0x33c071=this['_toVisualAdjustPoint'](_0x28c6e4,_0x2b20b0,_0x45b75e,!!_0x187da3,!!_0x3801a6,_0x29b7e1);this[_0x460ada(0x244)](_0x13f36f,_0x33c071,_0x33c071[_0x460ada(0x424)],_0x3987ab,_0x40d824,this[_0x460ada(0x1ce)],this[_0x460ada(0x1dd)]);}}[_0x3da21c(0x35d)](_0x3c244b,_0x17be5c,_0x22ed4c,_0x2bfb5a,_0x445b2e,_0x418fc6){const _0x59a9ba=_0x3da21c;let _0xaf3203=_0x3c244b['x'],_0x496e14=_0x3c244b['y'];if(_0x2bfb5a&&(_0xaf3203=_0x17be5c-_0xaf3203),_0x445b2e&&(_0x496e14=_0x22ed4c-_0x496e14),_0x418fc6!==0x0){let _0x3705ff=_0x17be5c/0x2,_0x2530c2=_0x22ed4c/0x2,_0x3334b6=_0x418fc6*Math['PI']/0xb4,_0x2cf711=Math[_0x59a9ba(0x369)](_0x3334b6),_0x5a62a8=Math[_0x59a9ba(0xf0)](_0x3334b6),_0x32b029=_0xaf3203-_0x3705ff,_0x420cdf=_0x496e14-_0x2530c2;_0xaf3203=_0x3705ff+(_0x32b029*_0x2cf711-_0x420cdf*_0x5a62a8),_0x496e14=_0x2530c2+(_0x32b029*_0x5a62a8+_0x420cdf*_0x2cf711);}return{'x':_0xaf3203,'y':_0x496e14,'adjName':_0x3c244b[_0x59a9ba(0x424)]};}['_updateShapeAdjustControls'](_0x272f75=!0x1){const _0x415820=_0x3da21c;_0x272f75&&this[_0x415820(0x398)](),this['_createShapeAdjustControls'](_0x272f75);}['_addShapeAdjustControl'](_0xfde2dc,_0x8ce82,_0x43561d,_0x3ee0d2,_0x4568ae,_0x3b6a6f,_0x1bef1c){const _0x102666=_0x3da21c;if(!this[_0x102666(0x3d3)])return;let _0x17663d='doc-shape-adjust-point-'+this[_0x102666(0x3d3)]+'-'+_0x43561d,_0x530a62=_0xfde2dc[_0x102666(0x3fb)](_0x17663d);if(_0x530a62){_0x530a62['transformByState']({'left':_0x8ce82['x']+_0x3ee0d2-t[_0x102666(0x14c)]['adjHandleSize'],'top':_0x8ce82['y']+_0x4568ae-t[_0x102666(0x14c)][_0x102666(0x317)]}),_0x530a62[_0x102666(0x194)](!0x0);return;}let _0xf43db8=new ve(_0x17663d,{'left':_0x8ce82['x']+_0x3ee0d2-t[_0x102666(0x14c)][_0x102666(0x317)],'top':_0x8ce82['y']+_0x4568ae-t[_0x102666(0x14c)]['adjHandleSize'],'adjName':_0x43561d,'shapeId':this[_0x102666(0x3d3)],'unitId':_0x3b6a6f,'subUnitId':_0x1bef1c,'width':t['ShapeDefaultConfig'][_0x102666(0x317)]+0x8,'height':t[_0x102666(0x14c)][_0x102666(0x317)]+0x8,'zIndex':o[_0x102666(0x2d2)]+0x1,'evented':!0x0});this[_0x102666(0x1c3)][_0x102666(0x2f5)](_0xf43db8),this[_0x102666(0x1d5)](_0xf43db8,_0xfde2dc,_0x43561d),_0xfde2dc['addObject'](_0xf43db8,o[_0x102666(0x2d2)]+0x1);}['_clearShapeAdjustControls'](){const _0x31011f=_0x3da21c;this[_0x31011f(0x1c3)][_0x31011f(0x362)](_0x2c9c7f=>_0x2c9c7f[_0x31011f(0x399)]()),this[_0x31011f(0x1c3)]=[];}['_updateAdjustControlPositions'](){const _0x1b9f27=_0x3da21c;this[_0x1b9f27(0x205)]();}[_0x3da21c(0x1f2)](_0x11d7cb,_0x232757,_0x33c481){const _0x3608cb=_0x3da21c;var _0x4bd76e,_0x1fc1b0;let _0x4b3f32=o[_0x3608cb(0x18c)]['FromArray']([_0x232757,_0x33c481]),_0x54ccf9=(_0x4bd76e=_0x11d7cb[_0x3608cb(0x199)](_0x4b3f32))==null?_0x11d7cb[_0x3608cb(0x3d9)]()[0x0]:_0x4bd76e;return(_0x1fc1b0=_0x54ccf9==null?void 0x0:_0x54ccf9[_0x3608cb(0x3c3)](_0x4b3f32))==null?_0x4b3f32:_0x1fc1b0;}[_0x3da21c(0x1d5)](_0xee111,_0x22bb0f,_0x5022fe){const _0x2d48fb=_0x3da21c;this['disposeWithMe']((0x0,n[_0x2d48fb(0x149)])(_0xee111[_0x2d48fb(0x39d)][_0x2d48fb(0x284)]((_0xc83be6,_0x5de80d)=>{const _0xca32dc=_0x2d48fb;var _0x54c180,_0x378646,_0x5e614b,_0x1f2677;let _0x458ec2=_0xee111['getDrawingSearch']();this[_0xca32dc(0x27d)]=this[_0xca32dc(0x270)](_0x458ec2['unitId'],_0x458ec2[_0xca32dc(0x395)],_0x458ec2[_0xca32dc(0x226)],_0x5022fe),this['_activeShapeModel']=this[_0xca32dc(0xc7)]['getShapeModel'](_0x458ec2[_0xca32dc(0x3da)],_0x458ec2[_0xca32dc(0x395)],_0x458ec2[_0xca32dc(0x226)]);let _0x28079f=this[_0xca32dc(0xe8)](),_0x1d28b2=_0x28079f==null?void 0x0:_0x28079f[_0xca32dc(0x166)];if(!_0x28079f||!_0x1d28b2||!this[_0xca32dc(0x31d)])return;this[_0xca32dc(0x16b)]=_0x1d28b2['left']||0x0,this[_0xca32dc(0x1d6)]=_0x1d28b2[_0xca32dc(0x261)]||0x0,this[_0xca32dc(0x31a)]=_0x1d28b2[_0xca32dc(0x1eb)]||0x0,this[_0xca32dc(0x415)]=_0x1d28b2[_0xca32dc(0x40a)]||0x0;let _0x5af4c0=!!_0x1d28b2[_0xca32dc(0x396)],_0xa39cb7=!!_0x1d28b2[_0xca32dc(0x2ff)],_0x3ad923=_0x1d28b2[_0xca32dc(0x17d)]||0x0,_0x10228=((_0x54c180=this['_activeAdjustInfo'])==null?void 0x0:_0x54c180[_0xca32dc(0x1ba)])||((_0x378646=this[_0xca32dc(0x27d)])==null?void 0x0:_0x378646[_0xca32dc(0x3a8)])||((_0x5e614b=this['_activeAdjustInfo'])==null?void 0x0:_0x5e614b[_0xca32dc(0x441)])||((_0x1f2677=this[_0xca32dc(0x27d)])==null?void 0x0:_0x1f2677[_0xca32dc(0x46f)])||_0x5022fe,_0x337bf2=this[_0xca32dc(0x31d)][_0xca32dc(0xd1)](_0x10228),_0x28a8b0={[_0x10228]:_0x337bf2};this[_0xca32dc(0x1ad)]=!0x0,_0x22bb0f[_0xca32dc(0x3cc)](),this[_0xca32dc(0x47f)]=_0x22bb0f['onPointerMove$'][_0xca32dc(0x284)]((_0x5dab66,_0x406562)=>{const _0x2a8987=_0xca32dc;var _0x3037c6;if(!this[_0x2a8987(0x1ad)]||!this['_activeShapeModel']||!this[_0x2a8987(0x27d)])return;_0x22bb0f[_0x2a8987(0x3cc)](),_0x22bb0f['setCursor'](o[_0x2a8987(0x28c)][_0x2a8987(0x325)]);let _0x3cbaa7=this[_0x2a8987(0x1f2)](_0x22bb0f,_0x5dab66['offsetX'],_0x5dab66['offsetY']),_0x4deed7=_0x3cbaa7['x']-this[_0x2a8987(0x16b)],_0x1fc2ff=_0x3cbaa7['y']-this['_baseShapeTop'];if(_0x3ad923!==0x0){let _0x5cfd47=this[_0x2a8987(0x31a)]/0x2,_0x9d9d87=this[_0x2a8987(0x415)]/0x2,_0x53c595=_0x3ad923*Math['PI']/0xb4,_0x297515=Math[_0x2a8987(0x369)](_0x53c595),_0x31cd6d=Math[_0x2a8987(0xf0)](_0x53c595),_0x47bb3e=_0x4deed7-_0x5cfd47,_0x1feaee=_0x1fc2ff-_0x9d9d87;_0x4deed7=_0x5cfd47+(_0x47bb3e*_0x297515+_0x1feaee*_0x31cd6d),_0x1fc2ff=_0x9d9d87+(-_0x47bb3e*_0x31cd6d+_0x1feaee*_0x297515);}_0x5af4c0&&(_0x4deed7=this[_0x2a8987(0x31a)]-_0x4deed7),_0xa39cb7&&(_0x1fc2ff=this['_baseShapeHeight']-_0x1fc2ff);let _0x50a5f6={'left':0x0,'top':0x0,'width':this[_0x2a8987(0x31a)],'height':this['_baseShapeHeight']},_0x237464=this[_0x2a8987(0x31d)][_0x2a8987(0x280)](_0x50a5f6,{'x':_0x4deed7,'y':_0x1fc2ff},this[_0x2a8987(0x27d)],_0x5af4c0,_0xa39cb7),_0x49faff=this[_0x2a8987(0x27d)][_0x2a8987(0x1ba)]||this[_0x2a8987(0x27d)][_0x2a8987(0x3a8)]||this['_activeAdjustInfo'][_0x2a8987(0x441)]||this[_0x2a8987(0x27d)][_0x2a8987(0x46f)];_0x49faff!==void 0x0&&(this[_0x2a8987(0x31d)]['setAdjustValueByName'](_0x49faff,_0x237464),(_0x3037c6=this[_0x2a8987(0x145)](_0x22bb0f))==null||_0x3037c6['makeDirty'](!0x0),this[_0x2a8987(0x143)]=this[_0x2a8987(0x365)](_0x458ec2[_0x2a8987(0x3da)],_0x458ec2['subUnitId'],_0x458ec2[_0x2a8987(0x226)]),this[_0x2a8987(0x2dc)](),_0x406562['stopPropagation']());}),this[_0xca32dc(0x213)]=_0x22bb0f[_0xca32dc(0x314)]['subscribeEvent']((_0x184548,_0x42f1f1)=>{const _0x49f8be=_0xca32dc;var _0x24515e,_0x4ac9ba;(_0x24515e=this[_0x49f8be(0x47f)])==null||_0x24515e[_0x49f8be(0x364)](),(_0x4ac9ba=this[_0x49f8be(0x213)])==null||_0x4ac9ba[_0x49f8be(0x364)](),_0x22bb0f['resetCursor']();let _0xb92463=this['_activeAdjustInfo'];if(_0xb92463&&this['_activeShapeModel']){let _0x397a0e=_0xb92463[_0x49f8be(0x1ba)]||_0xb92463[_0x49f8be(0x3a8)]||_0xb92463[_0x49f8be(0x441)]||_0xb92463[_0x49f8be(0x46f)];if(_0x397a0e!==void 0x0){let _0x271c7f=this[_0x49f8be(0x31d)][_0x49f8be(0xd1)](_0x397a0e);_0x271c7f!==void 0x0&&V(this['_commandService'],_0x458ec2[_0x49f8be(0x3da)],_0x458ec2[_0x49f8be(0x395)],_0x458ec2[_0x49f8be(0x226)],{'oldShapeData':{'adjustValues':_0x28a8b0}},{'adjustValues':{[_0x397a0e]:_0x271c7f}});}}this['_activeAdjustInfo']=void 0x0,this[_0x49f8be(0x31d)]=void 0x0,this[_0x49f8be(0x1ad)]=!0x1,_0x22bb0f[_0x49f8be(0x19c)](),_0x42f1f1[_0x49f8be(0x26e)]();}),_0x5de80d[_0xca32dc(0x26e)]();})));}[_0x3da21c(0x147)](){const _0x47b770=_0x3da21c;let {scene:_0x3fc5ed}=this[_0x47b770(0x2eb)],_0x32a354=_0x3fc5ed['getTransformerByCreate']();this[_0x47b770(0xb0)](_0x32a354['changeStart$'][_0x47b770(0x3e0)](_0x4da03c=>{const _0x5b24c5=_0x47b770;this['_createShapeAdjustControls'](),_0x4da03c[_0x5b24c5(0x264)]!==null&&_0x4da03c[_0x5b24c5(0x264)]['size']===0x1&&_0x4da03c[_0x5b24c5(0x264)][_0x5b24c5(0x15a)]()['next']()[_0x5b24c5(0x3f7)]instanceof K&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x47b770(0xb0)](_0x32a354[_0x47b770(0x272)][_0x47b770(0x3e0)](()=>{const _0xb453f5=_0x47b770;this[_0xb453f5(0x1db)]&&this[_0xb453f5(0x398)]();})),this[_0x47b770(0xb0)](_0x3fc5ed[_0x47b770(0x314)][_0x47b770(0x284)](()=>{const _0x49881a=_0x47b770;this[_0x49881a(0x1db)]&&(this[_0x49881a(0x1db)]=!0x1,this[_0x49881a(0x205)]());})),this[_0x47b770(0xb0)](_0x32a354[_0x47b770(0x1b6)][_0x47b770(0x3e0)](()=>{const _0x3c9905=_0x47b770;this['_unitId']&&this[_0x3c9905(0x1dd)]&&this[_0x3c9905(0x3d3)]&&(this[_0x3c9905(0x143)]=this[_0x3c9905(0x365)](this[_0x3c9905(0x1ce)],this[_0x3c9905(0x1dd)],this[_0x3c9905(0x3d3)]),this[_0x3c9905(0x2dc)]());}));}[_0x3da21c(0x35b)](){const _0x1d22a4=_0x3da21c;this[_0x1d22a4(0xb0)](this[_0x1d22a4(0x42d)][_0x1d22a4(0x2e8)][_0x1d22a4(0x3e0)](_0x101d04=>{const _0x162cba=_0x1d22a4;if(_0x101d04[_0x162cba(0x329)]===0x1){let _0x4a7476=_0x101d04[0x0],_0x4cd5ed=this['_drawingManagerService']['getDrawingByParam'](_0x4a7476);if((_0x4cd5ed==null?void 0x0:_0x4cd5ed[_0x162cba(0x460)])===n[_0x162cba(0xd0)]['DRAWING_SHAPE']){this[_0x162cba(0x3d3)]=_0x4a7476[_0x162cba(0x226)],this['_unitId']=_0x4a7476['unitId'],this[_0x162cba(0x1dd)]=_0x4a7476[_0x162cba(0x395)],this[_0x162cba(0x143)]=this[_0x162cba(0x365)](_0x4a7476[_0x162cba(0x3da)],_0x4a7476[_0x162cba(0x395)],_0x4a7476[_0x162cba(0x226)]),this[_0x162cba(0x398)](),this['_createShapeAdjustControls']();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x162cba(0x1dd)]=null,this[_0x162cba(0x398)]();})),this[_0x1d22a4(0xb0)](this['_drawingManagerService'][_0x1d22a4(0xcf)][_0x1d22a4(0x3e0)](_0x3f577f=>{const _0x397abe=_0x1d22a4;if(_0x3f577f['length']===0x1){var _0x4ff445;((_0x4ff445=this[_0x397abe(0x42d)][_0x397abe(0x2b8)](_0x3f577f[0x0]))==null?void 0x0:_0x4ff445[_0x397abe(0x460)])===n[_0x397abe(0xd0)]['DRAWING_SHAPE']&&this[_0x397abe(0x434)](!0x0);}})),this['disposeWithMe'](this[_0x1d22a4(0x42d)][_0x1d22a4(0x2c8)]['subscribe'](_0x39bf23=>{const _0x4d8518=_0x1d22a4;for(let _0xb1b5a8 of _0x39bf23)this[_0x4d8518(0x3d3)]===_0xb1b5a8[_0x4d8518(0x226)]&&(this[_0x4d8518(0x3d3)]=null,this[_0x4d8518(0x143)]=void 0x0,this[_0x4d8518(0x1ce)]=null,this['_subUnitId']=null,this[_0x4d8518(0x398)]());}));}};X=k([O(0x1,s[_0x3da21c(0x28d)]),O(0x2,(0x0,n[_0x3da21c(0x34b)])(e[_0x3da21c(0x403)])),O(0x3,n[_0x3da21c(0x448)])],X);function ye(_0xbefe3f,_0x59c9c3){const _0x26c5e6=_0x3da21c;let _0x1af313=_0xbefe3f;for(;_0x1af313;){if(_0x59c9c3(_0x1af313))return _0x1af313;_0x1af313=typeof _0x1af313[_0x26c5e6(0x368)]=='function'?_0x1af313[_0x26c5e6(0x368)]():null;}return null;}function be(_0xb7d945){return ye(_0xb7d945,_0x495911=>_0x495911 instanceof K);}let Z=class extends n[_0x3da21c(0x442)]{constructor(_0x5b6de1,_0x19ecce,_0x54ba98,_0x14983d,_0x477924){const _0x213664=_0x3da21c;super(),this['_context']=_0x5b6de1,this['_shapeTextEditingService']=_0x19ecce,this[_0x213664(0x42d)]=_0x54ba98,this[_0x213664(0x1fa)]=_0x14983d,this[_0x213664(0xc7)]=_0x477924,z(this,'_lastEditingShapeKey',null),this[_0x213664(0x360)](),this[_0x213664(0x2ab)](),this[_0x213664(0x44e)]();}[_0x3da21c(0x360)](){const _0x3bd1c7=_0x3da21c;let {scene:_0x4fa287}=this[_0x3bd1c7(0x2eb)];this['disposeWithMe'](_0x4fa287[_0x3bd1c7(0x3d5)][_0x3bd1c7(0x284)](_0x3a40a9=>{const _0x538ea1=_0x3bd1c7;var _0x58d291;let {offsetX:_0x3d9ef8,offsetY:_0x261b75}=_0x3a40a9,_0x1c92b0=o[_0x538ea1(0x18c)][_0x538ea1(0x279)]([_0x3d9ef8,_0x261b75]),_0xf24d7a=(_0x58d291=be(_0x4fa287[_0x538ea1(0x255)](_0x1c92b0)))==null?this[_0x538ea1(0x176)](_0x1c92b0):_0x58d291;if(_0xf24d7a){if((0x0,t[_0x538ea1(0x192)])(this[_0x538ea1(0xc7)][_0x538ea1(0x1d2)](_0xf24d7a[_0x538ea1(0x3da)],_0xf24d7a[_0x538ea1(0x395)],_0xf24d7a['shapeId'])))return;this['_shapeTextEditingService']['setEditing']({'visible':!0x0,'unitId':_0xf24d7a[_0x538ea1(0x3da)],'subUnitId':_0xf24d7a['subUnitId'],'shapeId':_0xf24d7a[_0x538ea1(0x16e)],'shapeKey':_0xf24d7a[_0x538ea1(0x22d)]});}}));}['_getFocusedShapeAtPoint'](_0x191a55){const _0x4634ac=_0x3da21c;let {scene:_0x1ab80b}=this[_0x4634ac(0x2eb)],_0x285b68=this['_drawingManagerService'][_0x4634ac(0x3aa)]()[_0x4634ac(0x2d5)](_0x3e76a0=>_0x1ab80b[_0x4634ac(0x3fb)]((0x0,s[_0x4634ac(0x3c2)])(_0x3e76a0)))[_0x4634ac(0x31c)](_0x1f8200=>_0x1f8200 instanceof K&&_0x1f8200[_0x4634ac(0x429)](_0x191a55));return _0x285b68==null?null:_0x285b68;}['_initSelection'](){const _0x3bd28e=_0x3da21c;this[_0x3bd28e(0xb0)](this['_drawingManagerService'][_0x3bd28e(0x2e8)][_0x3bd28e(0x3e0)](_0x56944d=>{const _0x46b894=_0x3bd28e;if(_0x56944d['length']===0x1){let _0x47f188=_0x56944d[0x0],_0x1108ce=this[_0x46b894(0x42d)]['getDrawingByParam'](_0x47f188);if((_0x1108ce==null?void 0x0:_0x1108ce[_0x46b894(0x460)])===n['DrawingTypeEnum'][_0x46b894(0xe0)]){let _0x3e76e1=this[_0x46b894(0x302)]['getEditing']();if((_0x3e76e1==null?void 0x0:_0x3e76e1[_0x46b894(0x16e)])===_0x47f188[_0x46b894(0x226)]&&_0x3e76e1[_0x46b894(0x379)])return;(0x0,t[_0x46b894(0x192)])(this[_0x46b894(0xc7)][_0x46b894(0x1d2)](_0x47f188[_0x46b894(0x3da)],_0x47f188[_0x46b894(0x395)],_0x47f188[_0x46b894(0x226)]))&&this[_0x46b894(0x302)][_0x46b894(0x298)](null);}else this[_0x46b894(0x302)][_0x46b894(0x1ef)]()&&(this[_0x46b894(0x302)][_0x46b894(0x3b2)](!0x0),requestAnimationFrame(()=>{const _0x495f14=_0x46b894;this['_shapeTextEditingService'][_0x495f14(0x298)](null);}));}else this['_shapeTextEditingService'][_0x46b894(0x1ef)]()&&(this[_0x46b894(0x302)][_0x46b894(0x3b2)](!0x0),requestAnimationFrame(()=>{const _0x217e1f=_0x46b894;this[_0x217e1f(0x302)][_0x217e1f(0x298)](null);}));})),this[_0x3bd28e(0xb0)](this[_0x3bd28e(0x42d)][_0x3bd28e(0x2c8)][_0x3bd28e(0x3e0)](_0xbd1dc0=>{const _0x4b1d84=_0x3bd28e;let _0x850a27=this[_0x4b1d84(0x302)][_0x4b1d84(0x1ef)]();_0x850a27&&_0xbd1dc0[_0x4b1d84(0x1cf)](_0x31cf16=>_0x31cf16[_0x4b1d84(0x226)]===_0x850a27[_0x4b1d84(0x16e)])&&this[_0x4b1d84(0x302)][_0x4b1d84(0x298)](null);}));}[_0x3da21c(0x44e)](){const _0x4f09e6=_0x3da21c;this[_0x4f09e6(0xb0)](this[_0x4f09e6(0x302)][_0x4f09e6(0x2fe)][_0x4f09e6(0x3e0)](_0x5b8265=>{const _0x126baa=_0x4f09e6;let {scene:_0x2add33}=this[_0x126baa(0x2eb)];if(this[_0x126baa(0x112)]){let _0x3cae58=_0x2add33[_0x126baa(0x3fb)](this[_0x126baa(0x112)]);_0x3cae58&&_0x3cae58[_0x126baa(0x298)](!0x1);}if(_0x5b8265){let _0x22d56d=!!_0x5b8265['visible'],_0xea2866=_0x2add33[_0x126baa(0x3fb)](_0x5b8265[_0x126baa(0x105)]);_0xea2866&&(_0xea2866[_0x126baa(0x298)](_0x22d56d),this[_0x126baa(0x112)]=_0x5b8265[_0x126baa(0x105)]),this[_0x126baa(0x1fa)][_0x126baa(0x444)](n[_0x126baa(0x28b)],_0x22d56d);}else this[_0x126baa(0x112)]=null,this[_0x126baa(0x1fa)][_0x126baa(0x444)](n[_0x126baa(0x28b)],!0x1);}));}};Z=k([O(0x1,(0x0,n['Inject'])(B)),O(0x2,s[_0x3da21c(0x28d)]),O(0x3,n[_0x3da21c(0x2bd)]),O(0x4,(0x0,n['Inject'])(e['DocsShapeService']))],Z);function xe(){const _0x20316a=_0x3da21c;return(0x0,f[_0x20316a(0x44a)])(m[_0x20316a(0x1b1)],{});}let Q=class extends m['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x10d429,_0xe78ca5,_0x584745,_0x4e631c,_0x226f7d){const _0x30995d=_0x3da21c;super(_0x10d429,_0xe78ca5,_0x584745,_0x4e631c,_0x226f7d,{'componentKey':_0x30995d(0x36e),'editorUnitId':D,'toolbarComponent':xe});}};Q=k([O(0x1,(0x0,n[_0x3da21c(0x34b)])(r[_0x3da21c(0x129)])),O(0x2,(0x0,n[_0x3da21c(0x34b)])(a[_0x3da21c(0x3ef)])),O(0x3,(0x0,n[_0x3da21c(0x34b)])(c[_0x3da21c(0x3a7)])),O(0x4,(0x0,n[_0x3da21c(0x34b)])(a[_0x3da21c(0x445)]))],Q);let $=class extends n[_0x3da21c(0xfd)]{constructor(_0x670186=G,_0x5d8ac9,_0x5051b6,_0x1f2df1,_0x10d1ca){const _0x33c613=_0x3da21c;super(),this[_0x33c613(0x230)]=_0x670186,this['_injector']=_0x5d8ac9,this['_commandService']=_0x5051b6,this[_0x33c613(0x127)]=_0x1f2df1,this[_0x33c613(0x162)]=_0x10d1ca;let {menu:_0x11aacf,..._0x3da97f}=(0x0,n[_0x33c613(0x361)])({},G,this[_0x33c613(0x230)]);_0x11aacf&&this[_0x33c613(0x127)]['setConfig'](_0x33c613(0x321),_0x11aacf,{'merge':!0x0}),this[_0x33c613(0x127)][_0x33c613(0x1d4)](_0x33c613(0xba),_0x3da97f),this[_0x33c613(0x2c4)]();}[_0x3da21c(0xf9)](){const _0x6d11fd=_0x3da21c;this[_0x6d11fd(0x263)]['add']([Y]),this[_0x6d11fd(0x263)][_0x6d11fd(0xf5)](Y),(0x0,n[_0x6d11fd(0x391)])(this[_0x6d11fd(0x263)],[[W],[J],[q],[X],[A],[B]]),this[_0x6d11fd(0x383)]();}[_0x3da21c(0x304)](){const _0x215110=_0x3da21c;this[_0x215110(0x162)]['registerRenderModule'](n['UniverInstanceType'][_0x215110(0x376)],[X]),this[_0x215110(0x162)][_0x215110(0x2b4)](n[_0x215110(0x377)]['UNIVER_DOC'],[Z]),this[_0x215110(0x162)][_0x215110(0x2b4)](n[_0x215110(0x377)][_0x215110(0x376)],[Q]),(0x0,n[_0x215110(0x2ba)])(this['_injector'],[[W],[J],[q],[A],[B]]);}[_0x3da21c(0x2c4)](){const _0x225849=_0x3da21c;[C,w,T]['forEach'](_0x53d701=>this['disposeWithMe'](this['_commandService'][_0x225849(0x1e7)](_0x53d701)));}[_0x3da21c(0x383)](){const _0x127329=_0x3da21c;let _0x2d8b80=this[_0x127329(0x263)],_0x521414=_0x2d8b80['get'](c[_0x127329(0x29e)]);this[_0x127329(0xb0)](_0x521414[_0x127329(0x472)](c[_0x127329(0x3bd)][_0x127329(0xce)],()=>(0x0,c[_0x127329(0x342)])(_e,_0x2d8b80)));}};z($,_0x3da21c(0xbf),n['UniverInstanceType']['UNIVER_DOC']),z($,_0x3da21c(0xcd),_0x3da21c(0x247)),z($,_0x3da21c(0x2ce),le),z($,_0x3da21c(0xfe),ue),$=k([(0x0,n[_0x3da21c(0xc6)])(h[_0x3da21c(0x451)],i[_0x3da21c(0x1a1)],e[_0x3da21c(0x11b)]),O(0x1,(0x0,n[_0x3da21c(0x34b)])(n['Injector'])),O(0x2,n[_0x3da21c(0x448)]),O(0x3,n[_0x3da21c(0x3b1)]),O(0x4,o[_0x3da21c(0x104)])],$),exports[_0x3da21c(0x476)]=w,Object[_0x3da21c(0x223)](exports,'DocsShapeUIController',{'enumerable':!0x0,'get':function(){return W;}}),exports[_0x3da21c(0x324)]=C,exports[_0x3da21c(0x3dc)]=T,Object[_0x3da21c(0x223)](exports,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return $;}});
|
|
1
|
+
function _0x3f87(_0x7b55c5,_0x3291fc){_0x7b55c5=_0x7b55c5-0x13c;const _0x5b28c8=_0x5b28();let _0x3f8768=_0x5b28c8[_0x7b55c5];return _0x3f8768;}const _0x17015d=_0x3f87;(function(_0x221da9,_0xced373){const _0x5c9ce4=_0x3f87,_0x153e8e=_0x221da9();while(!![]){try{const _0x5195ff=parseInt(_0x5c9ce4(0x291))/0x1+-parseInt(_0x5c9ce4(0x2d5))/0x2+-parseInt(_0x5c9ce4(0x207))/0x3*(-parseInt(_0x5c9ce4(0x365))/0x4)+-parseInt(_0x5c9ce4(0x1cb))/0x5+parseInt(_0x5c9ce4(0x323))/0x6*(parseInt(_0x5c9ce4(0x24c))/0x7)+-parseInt(_0x5c9ce4(0x269))/0x8+parseInt(_0x5c9ce4(0x464))/0x9;if(_0x5195ff===_0xced373)break;else _0x153e8e['push'](_0x153e8e['shift']());}catch(_0x5248d5){_0x153e8e['push'](_0x153e8e['shift']());}}}(_0x5b28,0x6d235),Object[_0x17015d(0x1d6)](exports,Symbol[_0x17015d(0x3e3)],{'value':'Module'}));let e=require('@univerjs-pro/docs-shape'),t=require('@univerjs-pro/engine-shape'),n=require('@univerjs/core'),r=require('@univerjs/docs'),i=require('@univerjs/docs-drawing-ui'),a=require('@univerjs/docs-ui'),o=require('@univerjs/engine-render'),s=require('@univerjs/drawing'),c=require('@univerjs/ui'),l=require('@univerjs/design'),u=require('@univerjs/drawing-ui'),d=require('react'),f=require('react/jsx-runtime'),p=require('rxjs'),m=require('@univerjs-pro/shape-editor-ui'),h=require('@univerjs-pro/license'),g=require('@univerjs/icons');const _=_0x17015d(0x214),v=_0x17015d(0x469);function y(_0x106d10,_0x4696f0){const _0x172e74=_0x17015d;if(_0x4696f0){if((0x0,t[_0x172e74(0x334)])(_0x106d10)&&(_0x4696f0[_0x172e74(0x462)]||_0x4696f0['endArrow']))return{'ln':{'startArrow':_0x4696f0['startArrow']?{'type':t['ShapeArrowTypeEnum'][_0x172e74(0x476)],'size':t[_0x172e74(0x460)][_0x172e74(0x3c4)]}:void 0x0,'endArrow':_0x4696f0['endArrow']?{'type':t[_0x172e74(0x2b6)][_0x172e74(0x476)],'size':t[_0x172e74(0x460)][_0x172e74(0x41b)]}:void 0x0}};if(_0x106d10===t['ShapeTypeEnum'][_0x172e74(0x249)]&&(_0x4696f0[_0x172e74(0x458)]||_0x4696f0[_0x172e74(0x472)]))return{'fill':{'fillType':t[_0x172e74(0x38f)][_0x172e74(0x16b)],'color':_},'stroke':{'lineStrokeType':t[_0x172e74(0x28c)][_0x172e74(0x50e)],'width':0x1,'color':v},'shapeText':{'isHorizontal':!!_0x4696f0[_0x172e74(0x458)]}};}}function b(_0x4b0d0b,_0x253ab2){const _0x7c926=_0x17015d;var _0x1f29b4;let _0x3eb710=_0x4b0d0b[_0x7c926(0x1b9)](o[_0x7c926(0x325)])[_0x7c926(0x2ac)](_0x253ab2),_0x249766=_0x3eb710==null||(_0x1f29b4=_0x3eb710[_0x7c926(0x3b5)](a[_0x7c926(0x253)])[_0x7c926(0x4d8)]())==null?void 0x0:_0x1f29b4[_0x7c926(0x40f)]();return _0x249766?{'left':_0x249766[_0x7c926(0x346)],'top':_0x249766[_0x7c926(0x4a0)]}:null;}function x(_0x47385b,_0x3d64a6,_0x3ecaa2){const _0x2cd347=_0x17015d;var _0x1a1135,_0xdb6f82,_0x168470;if(!_0x3ecaa2)return null;let _0xd4ea43=_0x47385b['get'](o[_0x2cd347(0x325)])[_0x2cd347(0x2ac)](_0x3d64a6),_0x222b94=_0xd4ea43==null?void 0x0:_0xd4ea43['with'](a[_0x2cd347(0x362)])[_0x2cd347(0x2a2)];if(!_0x222b94)return null;let _0x4ca002=_0x3ecaa2===_0x2cd347(0x1ef)?{'startOffset':_0x222b94[_0x2cd347(0x285)]['endOffset'],'endOffset':_0x222b94['moveRange'][_0x2cd347(0x519)]}:_0x222b94[_0x2cd347(0x164)];return{'range':{'unitId':_0x3d64a6,'startOffset':_0x4ca002[_0x2cd347(0x2c3)],'endOffset':_0x4ca002[_0x2cd347(0x519)],'segmentId':(_0x1a1135=(_0xdb6f82=_0x222b94[_0x2cd347(0x159)])==null?void 0x0:_0xdb6f82['segmentId'])==null?'':_0x1a1135},'position':(_0x168470=_0x222b94[_0x2cd347(0x159)])!=null&&_0x168470['rect']?{'left':_0x222b94[_0x2cd347(0x159)][_0x2cd347(0x320)][_0x2cd347(0x346)],'top':_0x3ecaa2===_0x2cd347(0x1ef)?_0x222b94[_0x2cd347(0x159)][_0x2cd347(0x320)][_0x2cd347(0x284)]:_0x222b94['paragraph'][_0x2cd347(0x320)]['top']}:null};}function S(_0x3070e0,_0x261075,_0x12a056){const _0xb84364=_0x17015d;var _0x32206c;return{'size':{'width':_0x3070e0,'height':_0x261075},'positionH':{'relativeFrom':n[_0xb84364(0x3fd)][_0xb84364(0x428)],'posOffset':(_0x32206c=_0x12a056==null?void 0x0:_0x12a056[_0xb84364(0x346)])==null?0x0:_0x32206c},'positionV':{'relativeFrom':n[_0xb84364(0x1ed)][_0xb84364(0x26f)],'posOffset':0x0},'angle':0x0};}const C={'type':n[_0x17015d(0x3f9)]['COMMAND'],'id':_0x17015d(0x241),'handler':async(_0x49b196,_0x34428c)=>{const _0x3d863c=_0x17015d;var _0x19f840,_0x35bf82,_0xeb3473,_0x18a825,_0x28924d,_0x2d6d4b;let _0xf28f99=_0x49b196['get'](n[_0x3d863c(0x4d7)])['getCurrentUniverDocInstance']();if(!_0xf28f99)return!0x1;let _0x10feb7=_0x49b196[_0x3d863c(0x1b9)](n[_0x3d863c(0x1cc)]),_0x9a5ba2=_0xf28f99[_0x3d863c(0x16c)](),_0x5c0de1=_0x9a5ba2,_0x1f8a85=(_0x19f840=_0x34428c['shapeId'])==null?(0x0,n[_0x3d863c(0x31f)])():_0x19f840,_0x5f9aaf=(_0x35bf82=_0x34428c[_0x3d863c(0x1e1)])==null?e[_0x3d863c(0x168)]:_0x35bf82,_0x22b1d0=(_0xeb3473=_0x34428c[_0x3d863c(0x4b8)])==null?e['DEFAULT_DOC_SHAPE_HEIGHT']:_0xeb3473,_0x13895a=(_0x18a825=(_0x28924d=_0x34428c[_0x3d863c(0x19f)])==null?y(_0x34428c[_0x3d863c(0x483)],_0x34428c[_0x3d863c(0x48f)]):_0x28924d)==null?{'fill':{'fillType':t['ShapeFillEnum'][_0x3d863c(0x16b)],'color':_},'stroke':{'lineStrokeType':t['ShapeLineTypeEnum'][_0x3d863c(0x50e)],'width':0x1,'color':v}}:_0x18a825,_0x1e28b6=x(_0x49b196,_0x9a5ba2,_0x34428c[_0x3d863c(0x40c)]),_0x1d3a46=(_0x2d6d4b=_0x1e28b6==null?void 0x0:_0x1e28b6['position'])==null?b(_0x49b196,_0x9a5ba2):_0x2d6d4b,_0x44dfa0=S(_0x5f9aaf,_0x22b1d0,_0x1d3a46),_0x47c73b=(0x0,a[_0x3d863c(0x3e4)])(_0x44dfa0);_0x47c73b&&_0x1d3a46&&(_0x47c73b[_0x3d863c(0x4a0)]=_0x1d3a46[_0x3d863c(0x4a0)]),_0x10feb7[_0x3d863c(0x3b8)](e['InsertDocShapeMutation']['id'],{'unitId':_0x9a5ba2,'shapeId':_0x1f8a85,'shapeType':_0x34428c[_0x3d863c(0x483)],'shapeData':_0x13895a}),_0x1e28b6&&_0x49b196['get'](r[_0x3d863c(0x1d9)])[_0x3d863c(0x3ce)](_0x1e28b6[_0x3d863c(0x317)]);let _0x5e15fc={'unitId':_0x9a5ba2,'subUnitId':_0x5c0de1,'drawingId':_0x1f8a85,'drawingType':n['DrawingTypeEnum'][_0x3d863c(0x1c1)],'transform':_0x47c73b,'docTransform':_0x44dfa0,'data':{'shapeType':_0x34428c[_0x3d863c(0x483)],'shapeData':_0x13895a},'behindDoc':n[_0x3d863c(0x3ac)][_0x3d863c(0x24b)],'title':'','description':'','layoutType':n[_0x3d863c(0x1de)]['INLINE'],'wrapText':n['WrapTextType'][_0x3d863c(0x502)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x10feb7['syncExecuteCommand'](i[_0x3d863c(0x306)]['id'],{'unitId':_0x9a5ba2,'drawings':[_0x5e15fc]});}},w={'type':n['CommandType'][_0x17015d(0x3ab)],'id':_0x17015d(0x3bf),'handler'(){return!0x0;}},T={'type':n['CommandType'][_0x17015d(0x3ab)],'id':_0x17015d(0x24e),'handler'(){return!0x0;}},E='doc.shape.edit.panel',D=(0x0,n[_0x17015d(0x32e)])('SHAPE_TEXT');function O(_0x433897,_0x2c9972){return function(_0xbc23a7,_0x22cfc8){_0x2c9972(_0xbc23a7,_0x22cfc8,_0x433897);};}function k(_0x3fd954,_0x1f0377,_0x5daba1,_0x5f15b4){const _0x21531a=_0x17015d;var _0x1f7ade=arguments['length'],_0x201d7a=_0x1f7ade<0x3?_0x1f0377:_0x5f15b4===null?_0x5f15b4=Object['getOwnPropertyDescriptor'](_0x1f0377,_0x5daba1):_0x5f15b4,_0x40732b;if(typeof Reflect==_0x21531a(0x18b)&&typeof Reflect[_0x21531a(0x315)]==_0x21531a(0x23d))_0x201d7a=Reflect['decorate'](_0x3fd954,_0x1f0377,_0x5daba1,_0x5f15b4);else{for(var _0x1889ee=_0x3fd954[_0x21531a(0x377)]-0x1;_0x1889ee>=0x0;_0x1889ee--)(_0x40732b=_0x3fd954[_0x1889ee])&&(_0x201d7a=(_0x1f7ade<0x3?_0x40732b(_0x201d7a):_0x1f7ade>0x3?_0x40732b(_0x1f0377,_0x5daba1,_0x201d7a):_0x40732b(_0x1f0377,_0x5daba1))||_0x201d7a);}return _0x1f7ade>0x3&&_0x201d7a&&Object[_0x21531a(0x1d6)](_0x1f0377,_0x5daba1,_0x201d7a),_0x201d7a;}let A=class extends n[_0x17015d(0x413)]{constructor(_0x1e56e6,_0x4c6aef){const _0x3f55a5=_0x17015d;super(),this[_0x3f55a5(0x27a)]=_0x1e56e6,this['_drawingManagerService']=_0x4c6aef,this[_0x3f55a5(0x246)](),this[_0x3f55a5(0x27a)]['setCanUseShapeClip'](!0x0),this[_0x3f55a5(0x3f5)]({'dispose':()=>this[_0x3f55a5(0x27a)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x792a8e=_0x17015d;let _0x1efffa=new Map(),_0x3dc4b0=this[_0x792a8e(0x27a)][_0x792a8e(0x363)]((_0x4961e4,_0x1cecf6,_0x31a182,_0x22f873,_0xaf3ec9)=>{const _0xc8b679=_0x792a8e;let _0x441467=_0x1cecf6;if(_0x441467===t[_0xc8b679(0x2eb)]['None']||_0x1cecf6===_0xc8b679(0x32b))return!0x1;try{let _0xd82391=_0x1efffa[_0xc8b679(0x1b9)](_0x1cecf6);return _0xd82391||(_0xd82391=new t[(_0xc8b679(0x350))](_0x441467,_0xc8b679(0x499)+_0x1cecf6),_0x1efffa[_0xc8b679(0x265)](_0x1cecf6,_0xd82391)),_0xaf3ec9&&_0xd82391[_0xc8b679(0x1b8)]({'adjustValues':_0xaf3ec9},!0x0),_0xd82391['updateContext']({'width':_0x31a182,'height':_0x22f873}),_0xd82391['buildClipPath'](_0x4961e4,{'left':0x0,'top':0x0,'width':_0x31a182,'height':_0x22f873});}catch{return!0x1;}});this[_0x792a8e(0x3f5)](_0x3dc4b0),this[_0x792a8e(0x3f5)]({'dispose':()=>_0x1efffa[_0x792a8e(0x446)]()});}[_0x17015d(0x180)](_0x275f24,_0x47599e,_0x43a31c,_0x2f06aa,_0x49bffe){const _0x4a6346=_0x17015d;let _0x49b941=this[_0x4a6346(0x270)][_0x4a6346(0x14a)](_0x275f24,_0x47599e)[_0x43a31c];!_0x49b941||_0x49b941['drawingType']!==n[_0x4a6346(0x42b)][_0x4a6346(0x489)]||this['_drawingManagerService'][_0x4a6346(0x501)]([{..._0x49b941,'prstGeom':_0x2f06aa,'adjustValues':_0x49bffe}]);}};A=k([O(0x0,(0x0,n['Inject'])(u[_0x17015d(0x2d6)])),O(0x1,(0x0,n['Inject'])(s[_0x17015d(0x283)]))],A);const j=[{'group':'line','type':t[_0x17015d(0x2eb)][_0x17015d(0x3be)],'icon':_0x17015d(0x31a),'name':'docs-shape-ui.shape.type.line'},{'group':'line','type':t['ShapeTypeEnum'][_0x17015d(0x37b)],'icon':_0x17015d(0x4f0),'name':_0x17015d(0x27e),'endArrow':!0x0},{'group':_0x17015d(0x4cf),'type':t['ShapeTypeEnum'][_0x17015d(0x37b)],'icon':_0x17015d(0x2bd),'name':_0x17015d(0x357),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x17015d(0x4cf),'type':t[_0x17015d(0x2eb)]['BentConnector3'],'icon':_0x17015d(0x2e6),'name':_0x17015d(0x3c2)},{'group':_0x17015d(0x4cf),'type':t['ShapeTypeEnum'][_0x17015d(0x4c5)],'icon':_0x17015d(0x4e3),'name':_0x17015d(0x375),'endArrow':!0x0},{'group':'line','type':t['ShapeTypeEnum'][_0x17015d(0x4c5)],'icon':_0x17015d(0x272),'name':_0x17015d(0x4b1),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':t[_0x17015d(0x2eb)][_0x17015d(0x1db)],'icon':_0x17015d(0x2a6),'name':_0x17015d(0x24d)},{'group':_0x17015d(0x4cf),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1db)],'icon':'ShapeCurvedConnector3Arrow1Icon','name':_0x17015d(0x224),'endArrow':!0x0},{'group':_0x17015d(0x4cf),'type':t['ShapeTypeEnum'][_0x17015d(0x1db)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x17015d(0x420),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':t[_0x17015d(0x2eb)][_0x17015d(0x249)],'icon':'ShapeRectIcon','name':_0x17015d(0x48a)},{'group':_0x17015d(0x490),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4dd)],'icon':_0x17015d(0x181),'name':_0x17015d(0x4f8)},{'group':'rectangle','type':t[_0x17015d(0x2eb)][_0x17015d(0x194)],'icon':'ShapeSnip1RectIcon','name':_0x17015d(0x157)},{'group':_0x17015d(0x490),'type':t['ShapeTypeEnum']['Snip2SameRect'],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':'rectangle','type':t['ShapeTypeEnum']['Snip2DiagRect'],'icon':_0x17015d(0x4f7),'name':_0x17015d(0x1cd)},{'group':_0x17015d(0x490),'type':t[_0x17015d(0x2eb)][_0x17015d(0x424)],'icon':_0x17015d(0x481),'name':_0x17015d(0x46f)},{'group':_0x17015d(0x490),'type':t[_0x17015d(0x2eb)][_0x17015d(0x477)],'icon':_0x17015d(0x36e),'name':_0x17015d(0x427)},{'group':_0x17015d(0x490),'type':t[_0x17015d(0x2eb)][_0x17015d(0x493)],'icon':_0x17015d(0x27f),'name':_0x17015d(0x18e)},{'group':'rectangle','type':t['ShapeTypeEnum'][_0x17015d(0x233)],'icon':_0x17015d(0x3fa),'name':_0x17015d(0x2b8)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x249)],'icon':_0x17015d(0x524),'name':_0x17015d(0x51a),'horizontal':!0x0},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x249)],'icon':_0x17015d(0x21a),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4ac)],'icon':_0x17015d(0x4b0),'name':_0x17015d(0x504)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum']['Triangle'],'icon':'ShapeTriangleIcon','name':_0x17015d(0x441)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['RightTriangle'],'icon':_0x17015d(0x167),'name':_0x17015d(0x150)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x19e)],'icon':_0x17015d(0x44f),'name':'docs-shape-ui.shape.type.parallelogram'},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Trapezoid'],'icon':_0x17015d(0x4c1),'name':_0x17015d(0x468)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2b7)],'icon':_0x17015d(0x255),'name':_0x17015d(0x3d7)},{'group':'basicShape','type':t['ShapeTypeEnum']['Pentagon'],'icon':_0x17015d(0x4cb),'name':'docs-shape-ui.shape.type.pentagon'},{'group':'basicShape','type':t['ShapeTypeEnum'][_0x17015d(0x49f)],'icon':_0x17015d(0x4de),'name':_0x17015d(0x25f)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x4e4)],'icon':_0x17015d(0x445),'name':_0x17015d(0x174)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x179)],'icon':_0x17015d(0x4ab),'name':_0x17015d(0x31e)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Decagon'],'icon':_0x17015d(0x1f3),'name':_0x17015d(0x259)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x35d)],'icon':_0x17015d(0x52d),'name':'docs-shape-ui.shape.type.dodecagon'},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x2cd)],'icon':'ShapePieIcon','name':_0x17015d(0x1e4)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4fb)],'icon':'ShapeChordIcon','name':'docs-shape-ui.shape.type.chord'},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1d3)],'icon':'ShapeTeardropIcon','name':_0x17015d(0x1d1)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Frame'],'icon':_0x17015d(0x1ce),'name':_0x17015d(0x18d)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x19d)],'icon':_0x17015d(0x24f),'name':'docs-shape-ui.shape.type.half-frame'},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2ef)],'icon':_0x17015d(0x3f0),'name':_0x17015d(0x3ee)},{'group':'basicShape','type':t[_0x17015d(0x2eb)]['DiagStripe'],'icon':_0x17015d(0x3b4),'name':_0x17015d(0x31d)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Plus'],'icon':'ShapePlusIcon','name':'docs-shape-ui.shape.type.plus'},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum']['Plaque'],'icon':_0x17015d(0x3d3),'name':_0x17015d(0x3d4)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x4c3)],'icon':_0x17015d(0x2d3),'name':_0x17015d(0x2f6)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x49b)],'icon':_0x17015d(0x378),'name':_0x17015d(0x34b)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x384)],'icon':_0x17015d(0x1f8),'name':_0x17015d(0x198)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Donut'],'icon':_0x17015d(0x391),'name':_0x17015d(0x443)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x3ba)],'icon':'ShapeNoSmokingIcon','name':_0x17015d(0x1bb)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x2e7)],'icon':_0x17015d(0x208),'name':_0x17015d(0x387)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x1a9)],'icon':'ShapeFolderCornerIcon','name':_0x17015d(0x171)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x1c0)],'icon':_0x17015d(0x143),'name':_0x17015d(0x223)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)]['Heart'],'icon':_0x17015d(0x1d0),'name':_0x17015d(0x239)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x423)],'icon':_0x17015d(0x13f),'name':_0x17015d(0x35a)},{'group':_0x17015d(0x1fb),'type':t['ShapeTypeEnum'][_0x17015d(0x3a5)],'icon':_0x17015d(0x2ed),'name':_0x17015d(0x21f)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x3e1)],'icon':'ShapeMoonIcon','name':_0x17015d(0x406)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x456)],'icon':'ShapeCloudIcon','name':_0x17015d(0x162)},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x14b)],'icon':_0x17015d(0x4d5),'name':'docs-shape-ui.shape.type.arc'},{'group':'basicShape','type':t['ShapeTypeEnum']['BracketPair'],'icon':_0x17015d(0x3da),'name':_0x17015d(0x2f3)},{'group':'basicShape','type':t['ShapeTypeEnum']['BracePair'],'icon':_0x17015d(0x478),'name':_0x17015d(0x383)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x3d0)],'icon':'ShapeLeftBracketIcon','name':_0x17015d(0x2e3)},{'group':'basicShape','type':t['ShapeTypeEnum']['RightBracket'],'icon':'ShapeRightBracketIcon','name':_0x17015d(0x2d2)},{'group':'basicShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x3ff)],'icon':'ShapeLeftBraceIcon','name':'docs-shape-ui.shape.type.left-brace'},{'group':_0x17015d(0x1fb),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2db)],'icon':'ShapeRightBraceIcon','name':_0x17015d(0x193)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x16f)],'icon':'ShapeRightArrowIcon','name':_0x17015d(0x28b)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x385)],'icon':_0x17015d(0x4e8),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x449)],'icon':'ShapeUpArrowIcon','name':_0x17015d(0x2fb)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x3b0)],'icon':_0x17015d(0x39c),'name':_0x17015d(0x500)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)]['LeftRightArrow'],'icon':_0x17015d(0x4d4),'name':_0x17015d(0x2a0)},{'group':_0x17015d(0x41a),'type':t['ShapeTypeEnum'][_0x17015d(0x388)],'icon':_0x17015d(0x386),'name':_0x17015d(0x512)},{'group':'blockArrow','type':t[_0x17015d(0x2eb)][_0x17015d(0x242)],'icon':_0x17015d(0x240),'name':_0x17015d(0x21e)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1a4)],'icon':_0x17015d(0x338),'name':_0x17015d(0x361)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x49e)],'icon':_0x17015d(0x36d),'name':_0x17015d(0x448)},{'group':'blockArrow','type':t[_0x17015d(0x2eb)]['UturnArrow'],'icon':'ShapeUturnArrowIcon','name':_0x17015d(0x354)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2fe)],'icon':'ShapeLeftUpArrowIcon','name':_0x17015d(0x35f)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)]['BentUpArrow'],'icon':_0x17015d(0x432),'name':'docs-shape-ui.shape.type.bent-up-arrow'},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2ee)],'icon':_0x17015d(0x4f1),'name':_0x17015d(0x39f)},{'group':'blockArrow','type':t['ShapeTypeEnum']['CurvedLeftArrow'],'icon':'ShapeCurvedLeftArrowIcon','name':_0x17015d(0x45f)},{'group':'blockArrow','type':t[_0x17015d(0x2eb)][_0x17015d(0x4db)],'icon':_0x17015d(0x29f),'name':'docs-shape-ui.shape.type.curved-up-arrow'},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x400)],'icon':_0x17015d(0x1f7),'name':_0x17015d(0x326)},{'group':'blockArrow','type':t['ShapeTypeEnum'][_0x17015d(0x141)],'icon':_0x17015d(0x1c4),'name':_0x17015d(0x4bf)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x436)],'icon':_0x17015d(0x3bb),'name':_0x17015d(0x163)},{'group':_0x17015d(0x41a),'type':t['ShapeTypeEnum']['HomePlate'],'icon':'ShapeHomePlateIcon','name':_0x17015d(0x2f2)},{'group':_0x17015d(0x41a),'type':t['ShapeTypeEnum'][_0x17015d(0x30d)],'icon':'ShapeChevronIcon','name':_0x17015d(0x1b0)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)]['RightArrowCallout'],'icon':_0x17015d(0x473),'name':'docs-shape-ui.shape.type.right-arrow-callout'},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4c6)],'icon':'ShapeDownArrowCalloutIcon','name':_0x17015d(0x2b3)},{'group':_0x17015d(0x41a),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2bf)],'icon':_0x17015d(0x32f),'name':'docs-shape-ui.shape.type.left-arrow-callout'},{'group':_0x17015d(0x41a),'type':t['ShapeTypeEnum'][_0x17015d(0x305)],'icon':_0x17015d(0x34f),'name':_0x17015d(0x154)},{'group':_0x17015d(0x41a),'type':t['ShapeTypeEnum'][_0x17015d(0x245)],'icon':'ShapeLeftRightArrowCalloutIcon','name':'docs-shape-ui.shape.type.left-right-arrow-callout'},{'group':'blockArrow','type':t['ShapeTypeEnum']['QuadArrowCallout'],'icon':'ShapeQuadArrowCalloutIcon','name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':'blockArrow','type':t[_0x17015d(0x2eb)][_0x17015d(0x437)],'icon':_0x17015d(0x33a),'name':'docs-shape-ui.shape.type.circular-arrow'},{'group':_0x17015d(0x2cf),'type':t[_0x17015d(0x2eb)]['MathPlus'],'icon':_0x17015d(0x341),'name':_0x17015d(0x43d)},{'group':'equationShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x280)],'icon':_0x17015d(0x40a),'name':_0x17015d(0x2f1)},{'group':_0x17015d(0x2cf),'type':t[_0x17015d(0x2eb)][_0x17015d(0x226)],'icon':_0x17015d(0x2ec),'name':_0x17015d(0x185)},{'group':'equationShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x35e)],'icon':_0x17015d(0x453),'name':_0x17015d(0x4ec)},{'group':'equationShape','type':t[_0x17015d(0x2eb)][_0x17015d(0x364)],'icon':'ShapeMathEqualIcon','name':_0x17015d(0x4af)},{'group':_0x17015d(0x2cf),'type':t['ShapeTypeEnum'][_0x17015d(0x44e)],'icon':'ShapeMathNotEqualIcon','name':_0x17015d(0x33b)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1b6)],'icon':'ShapeFlowChartProcessIcon','name':_0x17015d(0x4b6)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)]['FlowchartAlternateProcess'],'icon':_0x17015d(0x1b1),'name':'docs-shape-ui.shape.type.flow-chart-alternate-process'},{'group':'flowchart','type':t[_0x17015d(0x2eb)][_0x17015d(0x170)],'icon':_0x17015d(0x42a),'name':_0x17015d(0x1fc)},{'group':'flowchart','type':t['ShapeTypeEnum']['FlowChartInputOutput'],'icon':_0x17015d(0x2ad),'name':_0x17015d(0x199)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x348)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':_0x17015d(0x2bb)},{'group':_0x17015d(0x2e0),'type':t['ShapeTypeEnum']['FlowchartInternalStorage'],'icon':_0x17015d(0x23a),'name':_0x17015d(0x318)},{'group':'flowchart','type':t[_0x17015d(0x2eb)][_0x17015d(0x521)],'icon':'ShapeFlowChartDocumentIcon','name':'docs-shape-ui.shape.type.flow-chart-document'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1e9)],'icon':_0x17015d(0x25d),'name':_0x17015d(0x3a8)},{'group':'flowchart','type':t[_0x17015d(0x2eb)][_0x17015d(0x4c8)],'icon':_0x17015d(0x47c),'name':_0x17015d(0x178)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x52a)],'icon':_0x17015d(0x503),'name':_0x17015d(0x1b3)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4fa)],'icon':'ShapeFlowChartManualInputIcon','name':_0x17015d(0x3f6)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4e1)],'icon':_0x17015d(0x304),'name':'docs-shape-ui.shape.type.flow-chart-manual-operation'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1b7)],'icon':_0x17015d(0x416),'name':_0x17015d(0x247)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x404)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':'docs-shape-ui.shape.type.flow-chart-offpage-connector'},{'group':_0x17015d(0x2e0),'type':t['ShapeTypeEnum'][_0x17015d(0x407)],'icon':_0x17015d(0x313),'name':'docs-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x2e2)],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x17015d(0x366)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)]['FlowchartSummingJunction'],'icon':'ShapeFlowChartSummingJunctionIcon','name':'docs-shape-ui.shape.type.flow-chart-summing-junction'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x222)],'icon':_0x17015d(0x4e7),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)]['FlowchartCollate'],'icon':'ShapeFlowChartCollateIcon','name':'docs-shape-ui.shape.type.flow-chart-collate'},{'group':'flowchart','type':t['ShapeTypeEnum']['FlowchartSort'],'icon':'ShapeFlowChartSortIcon','name':_0x17015d(0x29d)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x142)],'icon':_0x17015d(0x444),'name':_0x17015d(0x37c)},{'group':'flowchart','type':t[_0x17015d(0x2eb)]['FlowchartMerge'],'icon':_0x17015d(0x370),'name':'docs-shape-ui.shape.type.flow-chart-merge'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)]['FlowchartOnlineStorage'],'icon':_0x17015d(0x4c0),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':'flowchart','type':t[_0x17015d(0x2eb)][_0x17015d(0x234)],'icon':'ShapeFlowChartDelayIcon','name':_0x17015d(0x518)},{'group':'flowchart','type':t[_0x17015d(0x2eb)][_0x17015d(0x3b7)],'icon':_0x17015d(0x369),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x440)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x17015d(0x45a)},{'group':_0x17015d(0x2e0),'type':t[_0x17015d(0x2eb)][_0x17015d(0x40d)],'icon':_0x17015d(0x257),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-drum'},{'group':'flowchart','type':t['ShapeTypeEnum'][_0x17015d(0x147)],'icon':_0x17015d(0x42d),'name':_0x17015d(0x412)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)]['IrregularSeal1'],'icon':_0x17015d(0x485),'name':_0x17015d(0x4ef)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x32c)],'icon':_0x17015d(0x41f),'name':_0x17015d(0x140)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x302)],'icon':_0x17015d(0x2b1),'name':_0x17015d(0x418)},{'group':'starAndBanner','type':t['ShapeTypeEnum'][_0x17015d(0x514)],'icon':_0x17015d(0x2ce),'name':_0x17015d(0x2cb)},{'group':'starAndBanner','type':t[_0x17015d(0x2eb)]['Star6'],'icon':_0x17015d(0x1eb),'name':_0x17015d(0x331)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4a3)],'icon':_0x17015d(0x4f6),'name':'docs-shape-ui.shape.type.star7'},{'group':'starAndBanner','type':t['ShapeTypeEnum'][_0x17015d(0x435)],'icon':_0x17015d(0x33e),'name':_0x17015d(0x251)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x3cc)],'icon':_0x17015d(0x50f),'name':_0x17015d(0x4a9)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x479)],'icon':_0x17015d(0x1bd),'name':_0x17015d(0x509)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4e0)],'icon':_0x17015d(0x204),'name':_0x17015d(0x1f5)},{'group':'starAndBanner','type':t['ShapeTypeEnum'][_0x17015d(0x236)],'icon':_0x17015d(0x4a7),'name':_0x17015d(0x352)},{'group':_0x17015d(0x277),'type':t['ShapeTypeEnum'][_0x17015d(0x46e)],'icon':_0x17015d(0x3f3),'name':_0x17015d(0x459)},{'group':'starAndBanner','type':t[_0x17015d(0x2eb)][_0x17015d(0x175)],'icon':_0x17015d(0x152),'name':'docs-shape-ui.shape.type.ribbon2'},{'group':'starAndBanner','type':t[_0x17015d(0x2eb)][_0x17015d(0x17b)],'icon':_0x17015d(0x353),'name':'docs-shape-ui.shape.type.ribbon'},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x39d)],'icon':_0x17015d(0x296),'name':_0x17015d(0x4c2)},{'group':_0x17015d(0x277),'type':t['ShapeTypeEnum']['EllipseRibbon'],'icon':_0x17015d(0x2a4),'name':_0x17015d(0x22b)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x410)],'icon':'ShapeVerticalScrollIcon','name':_0x17015d(0x1b4)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)]['HorizontalScroll'],'icon':_0x17015d(0x276),'name':_0x17015d(0x3c1)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x13d)],'icon':'ShapeWaveIcon','name':_0x17015d(0x380)},{'group':_0x17015d(0x277),'type':t[_0x17015d(0x2eb)][_0x17015d(0x23b)],'icon':_0x17015d(0x287),'name':_0x17015d(0x39b)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)]['WedgeRectCallout'],'icon':_0x17015d(0x22d),'name':'docs-shape-ui.shape.type.wedge-rect-callout'},{'group':'callout','type':t[_0x17015d(0x2eb)][_0x17015d(0x47d)],'icon':_0x17015d(0x393),'name':_0x17015d(0x206)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)][_0x17015d(0x34e)],'icon':_0x17015d(0x3d8),'name':'docs-shape-ui.shape.type.wedge-ellipse-callout'},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)]['CloudCallout'],'icon':_0x17015d(0x15c),'name':_0x17015d(0x4ce)},{'group':'callout','type':t[_0x17015d(0x2eb)][_0x17015d(0x3cf)],'icon':'ShapeBorderCallout1Icon','name':_0x17015d(0x3a6)},{'group':_0x17015d(0x3b6),'type':t['ShapeTypeEnum'][_0x17015d(0x1a0)],'icon':_0x17015d(0x15a),'name':_0x17015d(0x4e2)},{'group':_0x17015d(0x3b6),'type':t['ShapeTypeEnum'][_0x17015d(0x324)],'icon':'ShapeBorderCallout3Icon','name':_0x17015d(0x351)},{'group':'callout','type':t[_0x17015d(0x2eb)][_0x17015d(0x2c8)],'icon':_0x17015d(0x151),'name':_0x17015d(0x48e)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)]['AccentCallout2'],'icon':_0x17015d(0x44b),'name':_0x17015d(0x507)},{'group':_0x17015d(0x3b6),'type':t['ShapeTypeEnum'][_0x17015d(0x2f8)],'icon':_0x17015d(0x47a),'name':_0x17015d(0x408)},{'group':'callout','type':t[_0x17015d(0x2eb)][_0x17015d(0x252)],'icon':_0x17015d(0x3a9),'name':_0x17015d(0x173)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)]['Callout2'],'icon':_0x17015d(0x13c),'name':_0x17015d(0x33d)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1c9)],'icon':_0x17015d(0x4b5),'name':_0x17015d(0x16d)},{'group':'callout','type':t[_0x17015d(0x2eb)][_0x17015d(0x1a7)],'icon':'ShapeAccentBorderCallout1Icon','name':_0x17015d(0x339)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)][_0x17015d(0x52b)],'icon':_0x17015d(0x4da),'name':_0x17015d(0x290)},{'group':_0x17015d(0x3b6),'type':t[_0x17015d(0x2eb)][_0x17015d(0x231)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x17015d(0x166)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)]['LeftCircularArrow'],'icon':_0x17015d(0x218),'name':'docs-shape-ui.shape.type.left-circular-arrow'},{'group':'other','type':t['ShapeTypeEnum'][_0x17015d(0x177)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x17015d(0x20a)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4b9)],'icon':_0x17015d(0x237),'name':_0x17015d(0x4cc)},{'group':_0x17015d(0x1ee),'type':t['ShapeTypeEnum'][_0x17015d(0x202)],'icon':'ShapeLeftRightRibbonIcon','name':_0x17015d(0x260)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x216)],'icon':_0x17015d(0x4d2),'name':'docs-shape-ui.shape.type.pie-wedge'},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x19a)],'icon':_0x17015d(0x402),'name':_0x17015d(0x268)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x2e4)],'icon':_0x17015d(0x1bc),'name':'docs-shape-ui.shape.type.gear6'},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x470)],'icon':_0x17015d(0x211),'name':'docs-shape-ui.shape.type.gear9'},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x3f2)],'icon':_0x17015d(0x340),'name':_0x17015d(0x46c)},{'group':'other','type':t[_0x17015d(0x2eb)]['ActionButtonBackPrevious'],'icon':_0x17015d(0x399),'name':_0x17015d(0x33c)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4ca)],'icon':_0x17015d(0x2e9),'name':_0x17015d(0x2e8)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1e2)],'icon':_0x17015d(0x333),'name':'docs-shape-ui.shape.type.action-button-beginning'},{'group':'other','type':t['ShapeTypeEnum'][_0x17015d(0x316)],'icon':_0x17015d(0x2a1),'name':'docs-shape-ui.shape.type.action-button-end'},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x1cf)],'icon':_0x17015d(0x225),'name':_0x17015d(0x2c0)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x475)],'icon':'ShapeActionButtonInformationIcon','name':_0x17015d(0x3e2)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x3d5)],'icon':_0x17015d(0x33f),'name':_0x17015d(0x426)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)]['ActionButtonMovie'],'icon':_0x17015d(0x21b),'name':_0x17015d(0x3e6)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x4fe)],'icon':'ShapeActionButtonDocumentIcon','name':'docs-shape-ui.shape.type.action-button-document'},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x447)],'icon':_0x17015d(0x480),'name':_0x17015d(0x356)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x488)],'icon':_0x17015d(0x36f),'name':_0x17015d(0x1f6)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x50d)],'icon':_0x17015d(0x3b1),'name':_0x17015d(0x273)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x47b)],'icon':_0x17015d(0x1d5),'name':_0x17015d(0x451)},{'group':_0x17015d(0x1ee),'type':t['ShapeTypeEnum'][_0x17015d(0x4c4)],'icon':_0x17015d(0x20e),'name':'docs-shape-ui.shape.type.chart-star'},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x3c8)],'icon':_0x17015d(0x2ff),'name':_0x17015d(0x36a)},{'group':'other','type':t[_0x17015d(0x2eb)]['FlowChartOfflineStorage'],'icon':_0x17015d(0x3ea),'name':_0x17015d(0x3dc)},{'group':_0x17015d(0x1ee),'type':t[_0x17015d(0x2eb)][_0x17015d(0x4a1)],'icon':_0x17015d(0x1da),'name':_0x17015d(0x49d)},{'group':'other','type':t['ShapeTypeEnum'][_0x17015d(0x1a8)],'icon':_0x17015d(0x27c),'name':_0x17015d(0x289)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x1e6)],'icon':_0x17015d(0x337),'name':_0x17015d(0x3ed)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x395)],'icon':_0x17015d(0x1a3),'name':_0x17015d(0x4ae)},{'group':'other','type':t[_0x17015d(0x2eb)][_0x17015d(0x409)],'icon':_0x17015d(0x29b),'name':'docs-shape-ui.shape.type.non-isosceles-trapezoid'}],M='doc.shape.picker.component';function N({onShapeClick:_0xe1db12,excludeGroups:_0x242388}){const _0x43658f=_0x17015d;let _0x32ff91=(0x0,c[_0x43658f(0x156)])(n[_0x43658f(0x1ac)]),_0x5eff68=(0x0,c[_0x43658f(0x156)])(c[_0x43658f(0x43e)]),_0x4a418f=(_0x242388?j[_0x43658f(0x22e)](_0x1016fa=>!_0x242388[_0x43658f(0x28e)](_0x1016fa['group'])):j)[_0x43658f(0x4bd)]((_0x4a26c5,_0x1793d1)=>(_0x4a26c5[_0x1793d1[_0x43658f(0x405)]]||(_0x4a26c5[_0x1793d1[_0x43658f(0x405)]]=[]),_0x4a26c5[_0x1793d1[_0x43658f(0x405)]][_0x43658f(0x461)](_0x1793d1),_0x4a26c5),{});return(0x0,f[_0x43658f(0x14f)])(_0x43658f(0x32a),{'className':_0x43658f(0x294),'children':Object[_0x43658f(0x293)](_0x4a418f)[_0x43658f(0x169)](([_0x5bd8f2,_0x3c8028])=>(0x0,f['jsxs'])(_0x43658f(0x32a),{'className':_0x43658f(0x212),'children':[(0x0,f['jsx'])(_0x43658f(0x32a),{'className':_0x43658f(0x2ba),'children':_0x32ff91['t'](_0x43658f(0x457)+_0x5bd8f2)}),(0x0,f[_0x43658f(0x14f)])(_0x43658f(0x32a),{'className':_0x43658f(0x358),'children':_0x3c8028[_0x43658f(0x169)](_0xca1789=>{const _0x958a25=_0x43658f;let _0x351a62=_0x5eff68[_0x958a25(0x1b9)](_0xca1789[_0x958a25(0x523)]);return(0x0,f[_0x958a25(0x14f)])(_0x958a25(0x32a),{'title':_0x32ff91['t'](_0xca1789[_0x958a25(0x517)]),'onClick':()=>_0xe1db12(_0xca1789),'className':_0x958a25(0x243),'children':_0x351a62&&(0x0,f[_0x958a25(0x14f)])(_0x351a62,{'className':_0x958a25(0x4fd)})},_0xca1789[_0x958a25(0x517)]);})})]},_0x5bd8f2))});}function P(){const _0x489036=_0x17015d;let _0x7e10dc=(0x0,c['useDependency'])(n['LocaleService']),_0x1c88e9=(0x0,c[_0x489036(0x156)])(s[_0x489036(0x283)]),_0x2e0130=(0x0,c[_0x489036(0x156)])(A),[_0x2d8e1d,_0x330a64]=(0x0,d[_0x489036(0x22c)])(!0x1);return(0x0,f[_0x489036(0x14f)])(l[_0x489036(0x28f)],{'side':'left','open':_0x2d8e1d,'onOpenChange':_0x330a64,'overlay':(0x0,f[_0x489036(0x14f)])(N,{'onShapeClick':_0x443cb1=>{const _0x70d7ad=_0x489036;let _0x5637a=_0x1c88e9[_0x70d7ad(0x266)]()['find'](_0x4df41d=>_0x4df41d['drawingType']===n[_0x70d7ad(0x42b)][_0x70d7ad(0x489)]);if(!_0x5637a)return;let {unitId:_0x2e50d7,subUnitId:_0x44e5e4,drawingId:_0x3e6ae3}=_0x5637a;_0x2e0130['clipByShape'](_0x2e50d7,_0x44e5e4,_0x3e6ae3,_0x443cb1['type']),_0x330a64(!0x1);},'excludeGroups':['line']}),'children':(0x0,f[_0x489036(0x14f)])(l['Button'],{'children':_0x7e10dc['t'](_0x489036(0x3b9))})});}function F({paragraphMenuPlacement:_0x20fb00}){const _0x343cf4=_0x17015d;let _0x464602=(0x0,c[_0x343cf4(0x156)])(n[_0x343cf4(0x1cc)]);return(0x0,f[_0x343cf4(0x14f)])(N,{'onShapeClick':_0x240691=>{const _0x546340=_0x343cf4;_0x464602[_0x546340(0x2a3)](C['id'],{'paragraphMenuPlacement':_0x20fb00,'value':_0x240691[_0x546340(0x37d)],'enhanceParams':{'endArrow':_0x240691[_0x546340(0x4dc)],'startArrow':_0x240691[_0x546340(0x462)],'horizontal':_0x240691['horizontal'],'vertical':_0x240691[_0x546340(0x472)]}});}});}function I(_0x7e3ef5){const _0x531dbd=_0x17015d;return _0x23c610=>({'id':C['id'],'type':c[_0x531dbd(0x303)][_0x531dbd(0x396)],'selections':[{'label':{'name':M,'hoverable':!0x1,'selectable':!0x1,'props':_0x7e3ef5?{'id':C['id'],'paragraphMenuPlacement':_0x7e3ef5}:{'id':C['id']}}}],'icon':_0x531dbd(0x487),'title':_0x531dbd(0x274),'tooltip':_0x531dbd(0x274),'hidden$':(0x0,c[_0x531dbd(0x184)])(_0x23c610,n['UniverInstanceType'][_0x531dbd(0x244)])});}const ee=I(),L=I(_0x17015d(0x1ef)),te=I(_0x17015d(0x254)),ne={[c['RibbonInsertGroup']['MEDIA']]:{[C['id']]:{'order':0x4,'menuItemFactory':ee}},[c[_0x17015d(0x14e)]['PARAGRAPH']]:{[c[_0x17015d(0x415)][_0x17015d(0x1d4)]]:{[a[_0x17015d(0x201)]]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':L}}},[a[_0x17015d(0x389)]]:{[c[_0x17015d(0x415)]['LAYOUT']]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':L}}},[a['EMPTY_PARAGRAPH_MENU_ID']]:{[c[_0x17015d(0x415)][_0x17015d(0x1d4)]]:{[C['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':te}}},[a[_0x17015d(0x17c)]]:{'insert':{[C['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':ee}}},[a[_0x17015d(0x20d)]]:{'insert':{[C['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':L}}}}};function R(_0x23b861){'@babel/helpers - typeof';const _0x18bd2e=_0x17015d;return R=typeof Symbol==_0x18bd2e(0x23d)&&typeof Symbol[_0x18bd2e(0x148)]==_0x18bd2e(0x192)?function(_0x5a763c){return typeof _0x5a763c;}:function(_0x45064f){const _0x3c8853=_0x18bd2e;return _0x45064f&&typeof Symbol==_0x3c8853(0x23d)&&_0x45064f[_0x3c8853(0x497)]===Symbol&&_0x45064f!==Symbol[_0x3c8853(0x38d)]?_0x3c8853(0x192):typeof _0x45064f;},R(_0x23b861);}function re(_0x2afd32,_0x26d476){const _0x1f765a=_0x17015d;if(R(_0x2afd32)!=_0x1f765a(0x18b)||!_0x2afd32)return _0x2afd32;var _0x2880b6=_0x2afd32[Symbol[_0x1f765a(0x1a6)]];if(_0x2880b6!==void 0x0){var _0x526376=_0x2880b6[_0x1f765a(0x28a)](_0x2afd32,_0x26d476||_0x1f765a(0x232));if(R(_0x526376)!=_0x1f765a(0x18b))return _0x526376;throw TypeError(_0x1f765a(0x22a));}return(_0x26d476==='string'?String:Number)(_0x2afd32);}function ie(_0x497b8e){const _0x2538dd=_0x17015d;var _0x444c25=re(_0x497b8e,_0x2538dd(0x197));return R(_0x444c25)==_0x2538dd(0x192)?_0x444c25:_0x444c25+'';}function z(_0x176e58,_0x4b31be,_0x298e93){return(_0x4b31be=ie(_0x4b31be))in _0x176e58?Object['defineProperty'](_0x176e58,_0x4b31be,{'value':_0x298e93,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x176e58[_0x4b31be]=_0x298e93,_0x176e58;}var B=class extends n[_0x17015d(0x413)]{constructor(..._0x19e0e3){const _0x4190e8=_0x17015d;super(..._0x19e0e3),z(this,_0x4190e8(0x2b9),new p[(_0x4190e8(0x3a1))](null)),z(this,'editingParams$',this[_0x4190e8(0x2b9)][_0x4190e8(0x4ee)]()),z(this,_0x4190e8(0x281),new p[(_0x4190e8(0x3a1))](!0x1)),z(this,_0x4190e8(0x3ca),this[_0x4190e8(0x281)]['asObservable']());}[_0x17015d(0x34c)](){const _0x5c2ce6=_0x17015d;this['_editingParams$'][_0x5c2ce6(0x1e0)](null),this[_0x5c2ce6(0x2b9)]['complete'](),this[_0x5c2ce6(0x281)][_0x5c2ce6(0x1e0)](!0x1),this[_0x5c2ce6(0x281)][_0x5c2ce6(0x495)](),super[_0x5c2ce6(0x34c)]();}[_0x17015d(0x3aa)](_0x138326){const _0x9eff97=_0x17015d;this[_0x9eff97(0x2b9)][_0x9eff97(0x1e0)](_0x138326),_0x138326==null&&this[_0x9eff97(0x281)][_0x9eff97(0x1e0)](!0x1);}[_0x17015d(0x4f2)](_0xb84ea8){const _0x2d76d1=_0x17015d;this['_onSavingEditorData$'][_0x2d76d1(0x1e0)](_0xb84ea8);}[_0x17015d(0x45b)](){const _0x48acf9=_0x17015d;return this[_0x48acf9(0x2b9)][_0x48acf9(0x3c3)]();}};function V(_0x453f87,_0x5f1a36,_0x159aab,_0x1b37b6,_0x4d1685,_0x237b1e){const _0x4aa95d=_0x17015d;let _0x151f74={'unitId':_0x5f1a36,'shapeId':_0x1b37b6,'shapeData':_0x237b1e,'oldShapeJSON':_0x4d1685};return _0x453f87[_0x4aa95d(0x2a3)](e[_0x4aa95d(0x21d)]['id'],_0x151f74);}function _0x5b28(){const _0x25acc3=['_adjHandlerPointerMove','WRAP_TOP_AND_BOTTOM','docs-shape-ui.shape.type.trapezoid','#2563EB','_updateShape','_registerDrawingFocusChangeHandler','docs-shape-ui.shape.type.corner-tabs','dataModel','Star32','docs-shape-ui.shape.type.snip-round-rect','Gear9','DocumentViewModel','vertical','ShapeRightArrowCalloutIcon','#111827','ActionButtonInformation','Arrow','Round1Rect','ShapeBracePairIcon','Star12','ShapeAccentCallout3Icon','ChartPlus','ShapeFlowChartTerminatorIcon','WedgeRoundRectCallout','ShapeTriangleIcon','registerCommand','ShapeActionButtonSoundIcon','ShapeSnipRoundRectIcon','isDrawingObject','value','_drawSimpleText','ShapeIrregularSeal1Icon','getShapeTextData','ShapeIcon','ActionButtonHelp','DRAWING_IMAGE','docs-shape-ui.shape.type.rect','_toVisualAdjustPoint','snapToGrid','paragraphs','docs-shape-ui.shape.type.accent-callout1','enhanceParams','rectangle','GROUP','_docCanvasPopManagerService','Round2SameRect','VIEWPORT_KEY','complete','_renderManagerService','constructor','adjHandleFill','clip-','inline','Cube','ShapeFlowChartCollateIcon','docs-shape-ui.shape.type.line-inv','BentArrow','Hexagon','top','LineInv','_shapeEditPanelVersion','Star7','disableObjectsEvent','docs-shape-ui.textWrap.inline','getActiveViewportByCoord','ShapeStar24Icon','FOCUSING_SHAPE_TEXT_EDITOR','docs-shape-ui.shape.type.star10','calcAdjValue','ShapeOctagonIcon','Ellipse','sin','docs-shape-ui.shape.type.up-down-arrow-callout','docs-shape-ui.shape.type.math-equal','ShapeEllipseIcon','docs-shape-ui.shape.type.bent-connector3-arrow2','clone','renderConfig','jsxs','ShapeCallout3Icon','docs-shape-ui.shape.type.flow-chart-process','UniverDocsDrawingUIPlugin','height','SwooshArrow','registerDependencies','ComponentManager','_registerDrawingTransformHandler','reduce','ShapeFlowChartSortIcon','docs-shape-ui.shape.type.striped-right-arrow','ShapeFlowChartOnlineStorageIcon','ShapeTrapezoidIcon','docs-shape-ui.shape.type.ellipse-ribbon2','Can','ChartStar','BentConnector3','DownArrowCallout','gdRefX','FlowchartTerminator','getDrawingVisible','ActionButtonForwardNext','ShapePentagonIcon','docs-shape-ui.shape.type.swoosh-arrow','applyPoint','docs-shape-ui.shape.type.cloud-callout','line','touchDependencies','_docDrawingShapeRenderController','ShapePieWedgeIcon','documentStyle','ShapeLeftRightArrowIcon','ShapeArcIcon','top-center','IUniverInstanceService','getActiveTextRange','fillImageSource','ShapeAccentBorderCallout2Icon','CurvedUpArrow','endArrow','RoundRect','ShapeHexagonIcon','getObjectIncludeInGroup','Star16','FlowchartManualOperation','docs-shape-ui.shape.type.border-callout2','ShapeBentConnector3Arrow1Icon','Heptagon','isRenderLinePointsMode','_imageIoService','ShapeFlowChartOrIcon','ShapeLeftArrowIcon','wrapSquare','_unitId','DEFAULT','docs-shape-ui.shape.type.math-divide','getShapeType','asObservable','docs-shape-ui.shape.type.irregular-seal1','ShapeStraightConnector1Icon','ShapeCurvedRightArrowIcon','setOnSavingEditorData','docs-shape-ui.openPanel','subUnitId','ShapeMoonIcon','ShapeStar7Icon','ShapeSnip2DiagRectIcon','docs-shape-ui.shape.type.round-rect','getShapeTypeById','FlowchartManualInput','Chord','_updateSrcRectByTransform','univer-size-full','ActionButtonDocument','setShapeProps','docs-shape-ui.shape.type.down-arrow','featurePluginUpdateNotification','BOTH_SIDES','ShapeFlowChartPreparationIcon','docs-shape-ui.shape.type.ellipse','_contextService','changeStart$','docs-shape-ui.shape.type.accent-callout2','shapeText','docs-shape-ui.shape.type.star12','behindDoc','UniverLicensePlugin','docs-shape-ui.textWrap.topAndBottom','ActionButtonBlank','SolidLine','ShapeStar10Icon','registerRenderModule','_drawRichText','docs-shape-ui.shape.type.up-down-arrow','createControl$','Star5','behindText','getViewports','name','docs-shape-ui.shape.type.flow-chart-delay','endOffset','docs-shape-ui.shape.type.rect-textbox-horizontal','getRealBound','_sidebarDisposable','getState','isLineShape','_docsShapeService','Circle','FlowchartDocument','_lastEditingShapeKey','icon','ShapeRectTextboxHorizontalIcon','_activeAdjustInfo','remove$','version','dataStream','_init','FlowchartPreparation','AccentBorderCallout2','_initializedShapePopupMenu','ShapeDodecagonIcon','ShapeCallout2Icon','Wave','classType','ShapeLightningBoltIcon','docs-shape-ui.shape.type.irregular-seal2','StripedRightArrow','FlowchartExtract','ShapeSmileyFaceIcon','1.0.0-alpha.0','adjHandleStroke','scene','FlowchartDisplay','iterator','getMatrix','getDrawingData','Arc','Vector2','changing$','ContextMenuPosition','jsx','docs-shape-ui.shape.type.rt-triangle','ShapeAccentCallout1Icon','ShapeRibbon2Icon','ShapeFlowChartPunchedTapeIcon','docs-shape-ui.shape.type.up-arrow-callout','refreshShapeFillImage','useDependency','docs-shape-ui.shape.type.snip1-rect','ShapeWaveIcon','paragraph','ShapeBorderCallout2Icon','unitId','ShapeCloudCalloutIcon','_baseShapeWidth','_createShapeAdjustControls','Path','_injector','_attachAdjustEvent','docs-shape-ui.shape.type.cloud','docs-shape-ui.shape.type.notched-right-arrow','menuRange','shapeId','docs-shape-ui.shape.type.accent-border-callout3','ShapeRtTriangleIcon','DEFAULT_DOC_SHAPE_WIDTH','map','ShapeAccentBorderCallout3Icon','SolidFill','getUnitId','docs-shape-ui.shape.type.callout3','_popupMenuListener','RightArrow','FlowchartDecision','docs-shape-ui.shape.type.folder-corner','_urlImageService','docs-shape-ui.shape.type.callout1','docs-shape-ui.shape.type.heptagon','Ribbon2','TOP','LeftRightCircularArrow','docs-shape-ui.shape.type.flow-chart-terminator','Octagon','textRuns','Ribbon','DOC_PARAGRAPH_T_INSERT_MENU_ID','wrapTopAndBottom','connectInjector','_closeShapeEditPanel','clipByShape','ShapeRoundRectIcon','drawings','forEach','getMenuHiddenObservable','docs-shape-ui.shape.type.math-multiply','ShapeLeftBraceIcon','_getActiveDrawingParam','ShapeCurvedConnector3Arrow1Icon','multiply','getUnit','object','_getFocusedShapeAtPoint','docs-shape-ui.shape.type.frame','docs-shape-ui.shape.type.round2-same-rect','useMemo','getDrawingSearch','ShapeTextFloatMenuRenderControllerBase','symbol','docs-shape-ui.shape.type.right-brace','Snip1Rect','Documents','merge','string','docs-shape-ui.shape.type.bevel','docs-shape-ui.shape.type.flow-chart-input-output','Funnel','DocSelectionManagerService','doc','HalfFrame','Parallelogram','shapeData','BorderCallout2','VERTICAL_ROTATE_ANGLE','UniverInstanceType','ShapeUpDownArrowCalloutIcon','LeftRightUpArrow','getDrawingOKey','toPrimitive','AccentBorderCallout1','PlaqueTabs','FoldedCorner','_activeShapeInfo','CURSOR_TYPE','LocaleService','_subUnitId','verticalAlign','Injector','docs-shape-ui.shape.type.chevron','ShapeFlowChartAlternateProcessIcon','fonts$','docs-shape-ui.shape.type.flow-chart-preparation','docs-shape-ui.shape.type.vertical-scroll','getSelectedObjectMap','FlowchartProcess','FlowchartConnector','setShapeData','get','IImageIoService','docs-shape-ui.shape.type.no-smoking','ShapeGear6Icon','ShapeStar12Icon','ShapeLeftUpArrowIcon','_setTransForm','SmileyFace','DRAWING_SHAPE','_localeService','toDisposable','ShapeStripedRightArrowIcon','viewBound','Inject','ShapeFlowChartProcessIcon','ShapeChordIcon','Callout3','_adjustPointObjects','1810570VfyAQd','ICommandService','docs-shape-ui.shape.type.snip2-diag-rect','ShapeFrameIcon','ActionButtonHome','ShapeHeartIcon','docs-shape-ui.shape.type.teardrop','IContextService','Teardrop','LAYOUT','ShapeChartPlusIcon','defineProperty','_disposePopups','setSrcRect','DocContentInsertService','ShapeLineInvIcon','CurvedConnector3','shape-text-','add','PositionedObjectLayoutType','docs-shape-ui.textWrap.square','next','width','ActionButtonBeginning','gdRefY','docs-shape-ui.shape.type.pie','IFontService','SquareTabs','popup','isRender','FlowchartMultiDocument','_shapeTextEditingService','ShapeStar6Icon','WRAP_NONE','ObjectRelativeFromV','other','below','subscribe','flipY','WRAP_SQUARE','ShapeDecagonIcon','ancestorTransform','docs-shape-ui.shape.type.star16','docs-shape-ui.shape.type.action-button-help','ShapeCurvedDownArrowIcon','ShapeBevelIcon','_openShapeEditPanel','makeDirty','basicShape','docs-shape-ui.shape.type.flow-chart-decision','_props','_getShapeAdjustPointListById','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeQuadArrowCalloutIcon','INSERT_BELLOW_MENU_ID','LeftRightRibbon','create','ShapeStar16Icon','UUID','docs-shape-ui.shape.type.wedge-round-rect-callout','390081cynCDU','ShapeBlockArcIcon','docs-shape-ui.textWrap.inFrontText','docs-shape-ui.shape.type.left-right-circular-arrow','ShapeRectIcon','onPointerUp$','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','ShapeChartStarIcon','setContextValue','_isOpenedShapeEditPanel','ShapeGear9Icon','univer-mb-2','unsubscribe','#3B82F6','objects','PieWedge','adjName','ShapeLeftCircularArrowIcon','stopPropagation','ShapeRectTextboxVerticalIcon','ShapeActionButtonMovieIcon','ShapeBorderCallout1Icon','UpdateDocShapeDataCommand','docs-shape-ui.shape.type.quad-arrow','docs-shape-ui.shape.type.sun','label','_initShapePopupMenu','FlowchartOr','docs-shape-ui.shape.type.smiley-face','docs-shape-ui.shape.type.curved-connector3-arrow1','ShapeActionButtonHomeIcon','MathMultiply','sectionBreaks','setPrstGeom','getDrawingPoints','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs-shape-ui.shape.type.ellipse-ribbon','useState','ShapeWedgeRectCalloutIcon','filter','getShapeDataById','shapeType','AccentBorderCallout3','default','Round2DiagRect','FlowchartDelay','_initUIPart','Star24','ShapeSwooshArrowIcon','ShapeCloudIcon','docs-shape-ui.shape.type.heart','ShapeFlowChartInternalStorageIcon','DoubleWave','lineSpacing','function','ShapeTeardropIcon','DOCS_COMPONENT_MAIN_LAYER_INDEX','ShapeQuadArrowIcon','doc.command.menu-insert-shape','QuadArrow','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','UNIVER_DOC','LeftRightArrowCallout','_registerImageShapeClipDelegate','docs-shape-ui.shape.type.flow-chart-connector','isEditing','Rect','ShapeChevronIcon','FALSE','251496jsZxns','docs-shape-ui.shape.type.curved-connector3','doc.operation.open-doc-shape-format-panel','ShapeHalfFrameIcon','_baseShapeHeight','docs-shape-ui.shape.type.star8','Callout1','DocSelectionRenderService','target','ShapeDiamondIcon','_refreshShapeData','ShapeFlowChartMagneticDrumIcon','ShapeTextFloatToolbar','docs-shape-ui.shape.type.decagon','getSnapshot','ShapeFolderCornerIcon','srcRect','ShapeFlowChartMultidocumentIcon','spaceAbove','docs-shape-ui.shape.type.hexagon','docs-shape-ui.shape.type.left-right-ribbon','ShapeCurvedConnector3Arrow2Icon','TextWrapShapeIcon','has','focus$','set','getFocusDrawings','_initCommands','docs-shape-ui.shape.type.funnel','6035656vPXbjD','RemoveDocDrawingCommand','fillType','_createShapePopupMenu','setFillImage','DRAWING_OBJECT_LAYER_INDEX','PARAGRAPH','_drawingManagerService','clearControl$','ShapeBentConnector3Arrow2Icon','docs-shape-ui.shape.type.action-button-blank','docs-shape-ui.insertShape','_menuManagerService','ShapeHorizontalScrollIcon','starAndBanner','UniverDocsShapeUIPlugin','drawWith','_clipService','getShapeData','ShapePlaqueTabsIcon','updateContext','docs-shape-ui.shape.type.straight-connector1','ShapeRound2SameRectIcon','MathMinus','_onSavingEditorData$','getShapeModel','IDrawingManagerService','bottom','moveRange','size','ShapeDoubleWaveIcon','ShapeFlowChartMagneticDiskIcon','docs-shape-ui.shape.type.plaque-tabs','call','docs-shape-ui.shape.type.right-arrow','ShapeLineTypeEnum','max','includes','Dropdown','docs-shape-ui.shape.type.accent-border-callout2','364973GayEMo','ImageSourceTypeEnum','entries','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','transformForAngle','ShapeEllipseRibbon2Icon','shapeModel','zeroWidthParagraphBreak','_toScenePoint','subscribeEvent','ShapeNonIsoscelesTrapezoidIcon','_activeShapeId','docs-shape-ui.shape.type.flow-chart-sort','close','ShapeCurvedUpArrowIcon','docs-shape-ui.shape.type.left-right-arrow','ShapeActionButtonEndIcon','activeTarget','executeCommand','ShapeEllipseRibbonIcon','ShapeLeftRightArrowCalloutIcon','ShapeCurvedConnector3Icon','gdRefAng','inFrontOfText','visible','offsetX','getAdjustValueByName','getRenderById','ShapeFlowChartInputOutputIcon','adjHandleSize','getCurrentTypeOfUnit$','ShapeAccentBorderCallout1Icon','ShapeStar4Icon','IUIPartsService','docs-shape-ui.shape.type.down-arrow-callout','_isShouldShowDrawingShapeAdjust','transform','ShapeArrowTypeEnum','Diamond','docs-shape-ui.shape.type.round2-diag-rect','_editingParams$','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.flow-chart-predefined-process','_getShapeAdjustInfosById','ShapeStraightConnector2Icon','ShapeRenderModeEnum','LeftArrowCallout','docs-shape-ui.shape.type.action-button-home','isInGroup','calculate','startOffset','fill','menu','CONTENT','ShapeCurvedLeftArrowIcon','AccentCallout1','HorizontalAlign','_config','docs-shape-ui.shape.type.star5','_iconManager','Pie','ShapeStar5Icon','equationShape','docs-shape-ui.deleteShape','editingParams$','docs-shape-ui.shape.type.right-bracket','ShapeCanIcon','univer-box-border\x20univer-px-4\x20univer-text-sm','1724954cEBrxB','DrawingImageClipService','DocDrawingTextWrap','_activeShapeAdjustPointList','shapeKey','isHitLine','RightBrace','update$','ShapeFloatingToolbar','_initSelection','DocsShapeService','flowchart','buildShapeTextDataUpdate','FlowchartPunchedTape','docs-shape-ui.shape.type.left-bracket','Gear6','renderDrawingShape','ShapeBentConnector3Icon','BlockArc','docs-shape-ui.shape.type.action-button-forward-next','ShapeActionButtonForwardNextIcon','DocumentSkeleton','ShapeTypeEnum','ShapeMathMultiplyIcon','ShapeSunIcon','CurvedRightArrow','Corner','spaceBelow','docs-shape-ui.shape.type.math-minus','docs-shape-ui.shape.type.home-plate','docs-shape-ui.shape.type.bracket-pair','_configService','_initEditingParams','docs-shape-ui.shape.type.can','add$','AccentCallout3','refreshAdjustControls','register','docs-shape-ui.shape.type.up-arrow','error','warn','LeftUpArrow','ShapeChartXIcon','params','_getSceneByUnitId','Star4','MenuItemType','ShapeFlowChartManualOperationIcon','UpArrowCallout','InsertDocDrawingCommand','flipX','_transformCalculateSrcRect','isHit','isRichText','_clearShapeAdjustControls','getImageSourceCache','Chevron','LEFT','invert','find','getTransformerByCreate','drawingId','ShapeFlowChartPunchedCardIcon','packageName','decorate','ActionButtonEnd','range','docs-shape-ui.shape.type.flow-chart-internal-storage','drawingType','ShapeLineIcon','beginPath','onDblclick$','docs-shape-ui.shape.type.diag-stripe','docs-shape-ui.shape.type.octagon','generateRandomId','rect','gdRefR','VIEW_MAIN','144HkxsOs','BorderCallout3','IRenderManagerService','docs-shape-ui.shape.type.curved-down-arrow','angle','clearAdjustControls','ShapeRightBracketIcon','div','custom','IrregularSeal2','ShapeActionButtonInformationIcon','createInternalEditorID','ShapeLeftArrowCalloutIcon','_addShapeAdjustControl','docs-shape-ui.shape.type.star6','_initEvents','ShapeActionButtonBeginningIcon','isConnectorShape','Transform','ShapeHomePlateIcon','ShapeSquareTabsIcon','ShapeLeftRightUpArrowIcon','docs-shape-ui.shape.type.accent-border-callout1','ShapeCircularArrowIcon','docs-shape-ui.shape.type.math-not-equal','docs-shape-ui.shape.type.action-button-back-previous','docs-shape-ui.shape.type.callout2','ShapeStar8Icon','ShapeActionButtonReturnIcon','ShapeCornerTabsIcon','ShapeMathPlusIcon','_shapeId','_baseShapeLeft','doc.shape.text.float-menu','MenuInsertShapeCommand','left','docs-shape-ui.formatShape','FlowchartPredefinedProcess','ShapeLeftBracketIcon','_commandService','docs-shape-ui.shape.type.cube','dispose','SHAPE','WedgeEllipseCallout','ShapeUpArrowCalloutIcon','ShapeModel','docs-shape-ui.shape.type.border-callout3','docs-shape-ui.shape.type.star24','ShapeRibbonIcon','docs-shape-ui.shape.type.uturn-arrow','useEffect','docs-shape-ui.shape.type.action-button-sound','docs-shape-ui.shape.type.straight-connector2','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','URL','docs-shape-ui.shape.type.lightning-bolt','getAdjustInfoByName','gridType','Dodecagon','MathDivide','docs-shape-ui.shape.type.left-up-arrow','Image','docs-shape-ui.shape.type.left-right-up-arrow','DocParagraphMenuService','registerClipDelegate','MathEqual','16vdfOJP','docs-shape-ui.shape.type.flow-chart-punched-tape','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','translate','ShapeFlowChartMagneticTapeIcon','docs-shape-ui.shape.type.chart-x','_updateShapeAdjustControls','onCommandExecuted','ShapeBentArrowIcon','ShapeRound1RectIcon','ShapeActionButtonHelpIcon','ShapeFlowChartMergeIcon','ShapeRightArrowIcon','_activeShapeModel','getShapeTextRect','updateShapeFillImage','docs-shape-ui.shape.type.bent-connector3-arrow1','_initMenu','length','ShapeCubeIcon','_insertShapes','save','StraightConnector1','docs-shape-ui.shape.type.flow-chart-extract','type','onPointerDown$','@univerjs-pro/docs-shape-ui','docs-shape-ui.shape.type.wave','Plugin','_baseShapeTop','docs-shape-ui.shape.type.brace-pair','Bevel','LeftArrow','ShapeUpDownArrowIcon','docs-shape-ui.shape.type.block-arc','UpDownArrow','DOC_CONTENT_INSERT_MENU_ID','DocumentDataModel','UpdateDocShapeDataMutation','_draw','prototype','restore','ShapeFillEnum','doc.command.update-doc-drawing-wrapping-style','ShapeDonutIcon','RENDER_CLASS_TYPE','ShapeWedgeRoundRectCalloutIcon','pick','UpDownArrowCallout','SELECTOR','docs-shape-ui.config','ShapeActionButtonDocumentIcon','ShapeActionButtonBackPreviousIcon','resize','docs-shape-ui.shape.type.double-wave','ShapeDownArrowIcon','EllipseRibbon2','CROSSHAIR','docs-shape-ui.shape.type.curved-right-arrow','_univerInstanceService','BehaviorSubject','UniverDocsShapePlugin','ShapePieIcon','paragraphStyle','Sun','docs-shape-ui.shape.type.border-callout1','ShapeEditPanel','docs-shape-ui.shape.type.flow-chart-multidocument','ShapeCallout1Icon','setEditing','OPERATION','BooleanNumber','insertGroupObject','_adjName','transformVector2SceneCoord','DownArrow','ShapeActionButtonBlankIcon','FromArray','translateWithPrecision','ShapeDiagStripeIcon','with','callout','FlowchartMagneticTape','syncExecuteCommand','docs-shape-ui.crop.shape','NoSmoking','ShapeNotchedRightArrowIcon','registerComponent','WRAP','Line','doc.operation.close-doc-shape-format-panel','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','docs-shape-ui.shape.type.horizontal-scroll','docs-shape-ui.shape.type.bent-connector3','getValue','Medium','_initialize','enableObjectsEvent','ShapeSnip1RectIcon','ChartX','IConfigService','onSavingEditorData$','getDrawingShapeKeyByDrawingSearch','Star10','strokeWidth','setInsertRange','BorderCallout1','LeftBracket','_updateAdjustControlPositions','extraProps','ShapePlaqueIcon','docs-shape-ui.shape.type.plaque','ActionButtonReturn','addObject','docs-shape-ui.shape.type.diamond','ShapeWedgeEllipseCalloutIcon','setConfig','ShapeBracketPairIcon','PictureFill','docs-shape-ui.shape.type.flow-chart-offline-storage','DRAWING_DOM','FOCUSING_COMMON_DRAWINGS','Shape','ShapeTextEditorContainer','Moon','docs-shape-ui.shape.type.action-button-information','toStringTag','docDrawingPositionToTransform','image','docs-shape-ui.shape.type.action-button-movie','_loadAndSetImage','_sidebarService','_context','ShapeFlowChartOfflineStorageIcon','docs-shape-ui.textWrap.behindText','getParent','docs-shape-ui.shape.type.square-tabs','docs-shape-ui.shape.type.corner','onTransformChange$','ShapeCornerIcon','ShapeFlowChartSummingJunctionIcon','CornerTabs','ShapeStar32Icon','refreshTransform','disposeWithMe','docs-shape-ui.shape.type.flow-chart-manual-input','render','horizontalAlign','CommandType','ShapeRound2DiagRectIcon','Tools','focusDrawing','ObjectRelativeFromH','_isStartAdjusting','LeftBrace','CurvedDownArrow','getAllUnitsForType','ShapeFunnelIcon','getShapePopupMenus','FlowchartOffPageConnector','group','docs-shape-ui.shape.type.moon','FlowchartPunchedCard','docs-shape-ui.shape.type.accent-callout3','NonIsoscelesTrapezoid','ShapeMathMinusIcon','body','paragraphMenuPlacement','FlowchartMagneticDrum','_transform','getAbsolutePosition','VerticalScroll','ShapeFlowChartPredefinedProcessIcon','docs-shape-ui.shape.type.flow-chart-display','Disposable','_drawShapeText','ContextMenuGroup','ShapeFlowChartConnectorIcon','ShapeVerticalScrollIcon','docs-shape-ui.shape.type.star4','ShapeMathNotEqualIcon','blockArrow','Large','TRUE','prstGeom','IMenuManagerService','ShapeIrregularSeal2Icon','docs-shape-ui.shape.type.curved-connector3-arrow2','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_loadShapePictureFill','LightningBolt','SnipRoundRect','ShapeNoSmokingIcon','docs-shape-ui.shape.type.action-button-return','docs-shape-ui.shape.type.round1-rect','PAGE','setAdjustValueByName','ShapeFlowChartDecisionIcon','DrawingTypeEnum','_clearPopups','ShapeFlowChartDisplayIcon','ShapeDefaultConfig','localeService','_adjHandlerPointerUp','attachTransformerTo','ShapeBentUpArrowIcon','_registerComponents','mergeMenu','Star8','NotchedRightArrow','CircularArrow','_registerOperations','resetCursor','ShapeLeftRightRibbonIcon','oKey','DocsShapeUIController','docs-shape-ui.shape.type.math-plus','IconManager','layoutType','FlowchartMagneticDisk','docs-shape-ui.shape.type.triangle','setCursor','docs-shape-ui.shape.type.donut','ShapeFlowChartExtractIcon','ShapeHeptagonIcon','clear','ActionButtonSound','docs-shape-ui.shape.type.bent-arrow','UpArrow','getImage','ShapeAccentCallout2Icon','VerticalAlign','transformByState','MathNotEqual','ShapeParallelogramIcon','_componentManager','docs-shape-ui.shape.type.chart-plus','attachPopupToObject','ShapeMathDivideIcon','getDrawingByParam','_registerIcons','Cloud','docs-shape-ui.shape.group.','horizontal','docs-shape-ui.shape.type.star32','docs-shape-ui.shape.type.flow-chart-magnetic-disk','getEditing','onReady','_getShapeInfo','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape.type.curved-left-arrow','ShapeArrowSizeEnum','push','startArrow','changeEnd$','6108516eDWyCO','ShapeRightBraceIcon'];_0x5b28=function(){return _0x25acc3;};return _0x5b28();}function ae(_0x5f0ec8,_0x56bec2,_0x27df63,_0x48d7e7,_0x5f3cea,_0x16a3b4){const _0x28bc2f=_0x17015d;let _0x7ba843={'unitId':_0x56bec2,'shapeId':_0x48d7e7,'shapeData':_0x16a3b4,'oldShapeJSON':_0x5f3cea};return _0x5f0ec8[_0x28bc2f(0x2a3)](e[_0x28bc2f(0x21d)]['id'],_0x7ba843);}const H='doc.shape.floating-toolbar';function U(_0x378f95){const _0x54dba1=_0x17015d;let _0x2705dd=_0x378f95[_0x54dba1(0x508)];return _0x2705dd&&_0x54dba1(0x46d)in _0x2705dd&&_0x2705dd[_0x54dba1(0x46d)]?_0x2705dd[_0x54dba1(0x46d)]:null;}function oe(_0x1701cc){const _0x1e36c5=_0x17015d;var _0x215fbb,_0x36bca3,_0x2e8500,_0x37f686;let _0x2acfc1=(_0x215fbb=U(_0x1701cc))==null?void 0x0:_0x215fbb[_0x1e36c5(0x19c)],_0x358ddf=(_0x36bca3=_0x2acfc1==null||(_0x2e8500=_0x2acfc1[_0x1e36c5(0x40b)])==null||(_0x2e8500=_0x2e8500[_0x1e36c5(0x17a)])==null||(_0x2e8500=_0x2e8500[0x0])==null?void 0x0:_0x2e8500['ts'])==null?{}:_0x36bca3;return{..._0x2acfc1==null||(_0x37f686=_0x2acfc1[_0x1e36c5(0x4d3)])==null?void 0x0:_0x37f686['textStyle'],..._0x358ddf};}function se(_0x237a41,_0xab99c5){const _0x4b0de9=_0x17015d;var _0xe69369;let _0x1e421a=_0x237a41==null||(_0xe69369=_0x237a41[_0x4b0de9(0x25a)]()[_0x4b0de9(0x182)])==null?void 0x0:_0xe69369[_0xab99c5];return _0x1e421a?_0x1e421a['layoutType']===n['PositionedObjectLayoutType'][_0x4b0de9(0x1ec)]?_0x1e421a[_0x4b0de9(0x50a)]===n[_0x4b0de9(0x3ac)]['TRUE']?_0x4b0de9(0x515):_0x4b0de9(0x2a8):_0x1e421a[_0x4b0de9(0x43f)]===n[_0x4b0de9(0x1de)][_0x4b0de9(0x1f2)]?_0x4b0de9(0x4e9):_0x1e421a[_0x4b0de9(0x43f)]===n['PositionedObjectLayoutType'][_0x4b0de9(0x467)]?'wrapTopAndBottom':_0x4b0de9(0x49a):_0x4b0de9(0x49a);}function ce(_0x1691c9){const _0x5c77f6=_0x17015d;var _0x31c682,_0xadd139,_0x3bfa1e;let _0x5edbe5=_0x1691c9[_0x5c77f6(0x1e7)][_0x5c77f6(0x3d2)],_0x3c1a86=(0x0,c[_0x5c77f6(0x156)])(n[_0x5c77f6(0x1cc)]),_0x502820=(0x0,c[_0x5c77f6(0x156)])(n[_0x5c77f6(0x1ac)]),_0xec4780=(0x0,c[_0x5c77f6(0x156)])(e['DocsShapeService']),_0x3fdad6=(0x0,c['useDependency'])(n[_0x5c77f6(0x4d7)]),_0x2d9ecd=(0x0,c[_0x5c77f6(0x156)])(c[_0x5c77f6(0x1e5)]),{unitId:_0x3d78e1,subUnitId:_0xa93bc4,drawingId:_0x9731e8,shapeType:_0x4274ab}=_0x5edbe5,[_0x346d25,_0x53847f]=(0x0,d[_0x5c77f6(0x22c)])(_0x5edbe5['shapeData']),[_0x265b0e,_0x42c624]=(0x0,d[_0x5c77f6(0x22c)])(()=>_0x2d9ecd['getFonts']()),_0x207771=(_0x31c682=_0x3fdad6[_0x5c77f6(0x18a)](_0x3d78e1,n[_0x5c77f6(0x1a2)][_0x5c77f6(0x244)]))==null?void 0x0:_0x31c682,[_0x440452,_0x4bca8c]=(0x0,d[_0x5c77f6(0x22c)])(()=>se(_0x207771,_0x9731e8)),_0x38e5a3=(0x0,d['useMemo'])(()=>oe(_0x346d25),[_0x346d25]),_0x4c988c=(0x0,d['useMemo'])(()=>U(_0x346d25),[_0x346d25]);(0x0,d['useEffect'])(()=>{const _0x111085=_0x5c77f6;let _0x32ba53=_0x3c1a86['onCommandExecuted'](_0x26419a=>{const _0x56f2c9=_0x3f87;if(_0x26419a['id']!==e[_0x56f2c9(0x38b)]['id'])return;let _0x48d27a=_0xec4780[_0x56f2c9(0x22f)](_0x3d78e1,_0xa93bc4,_0x9731e8);_0x48d27a&&_0x53847f(_0x48d27a);});return()=>_0x32ba53[_0x111085(0x34c)]();},[_0x3c1a86,_0xec4780,_0x9731e8,_0xa93bc4,_0x3d78e1]),(0x0,d[_0x5c77f6(0x355)])(()=>{const _0x5733af=_0x5c77f6;let _0x1a7992=_0x2d9ecd[_0x5733af(0x1b2)][_0x5733af(0x1f0)](_0x3319c7=>{_0x42c624(_0x3319c7);});return()=>_0x1a7992[_0x5733af(0x213)]();},[_0x2d9ecd]);let _0x547de5=_0x3798ce=>{_0x53847f(_0x46090f=>({..._0x46090f,..._0x3798ce}));},_0x17a899=_0x18338e=>{const _0x53ffa2=_0x5c77f6;let _0x582938=(0x0,m[_0x53ffa2(0x2e1)])(_0x346d25,_0x18338e);V(_0x3c1a86,_0x3d78e1,_0xa93bc4,_0x9731e8,{'oldShapeData':{'shapeText':_0x346d25[_0x53ffa2(0x508)]}},_0x582938),_0x547de5(_0x582938);},_0x2c4948=_0x1fb2ab=>{const _0x283bbf=_0x5c77f6;_0x4bca8c(_0x1fb2ab),_0x3c1a86[_0x283bbf(0x2a3)](_0x283bbf(0x390),{'unitId':_0x3d78e1,'subUnitId':_0xa93bc4,'drawings':[{'unitId':_0x3d78e1,'subUnitId':_0xa93bc4,'drawingId':_0x9731e8}],'wrappingStyle':_0x1fb2ab});},_0xf00d94=_0x265b0e[_0x5c77f6(0x169)](_0x399cbd=>({'label':_0x502820['t'](_0x399cbd[_0x5c77f6(0x220)]),'value':_0x399cbd['value']})),_0x571ef8=[{'label':_0x502820['t'](_0x5c77f6(0x4a5)),'value':'inline','icon':(0x0,f['jsx'])(m[_0x5c77f6(0x262)],{})},{'label':_0x502820['t'](_0x5c77f6(0x1df)),'value':_0x5c77f6(0x4e9),'icon':(0x0,f[_0x5c77f6(0x14f)])(m[_0x5c77f6(0x262)],{})},{'label':_0x502820['t'](_0x5c77f6(0x50c)),'value':_0x5c77f6(0x17d),'icon':(0x0,f[_0x5c77f6(0x14f)])(m['TextWrapShapeIcon'],{})},{'label':_0x502820['t'](_0x5c77f6(0x3eb)),'value':_0x5c77f6(0x515),'icon':(0x0,f[_0x5c77f6(0x14f)])(m[_0x5c77f6(0x262)],{})},{'label':_0x502820['t'](_0x5c77f6(0x209)),'value':'inFrontOfText','icon':(0x0,f[_0x5c77f6(0x14f)])(m[_0x5c77f6(0x262)],{})}];return(0x0,f[_0x5c77f6(0x14f)])(m[_0x5c77f6(0x2dd)],{'shapeData':_0x346d25,'shapeType':_0x4274ab,'textStyle':{'cl':{'rgb':_0x5c77f6(0x474)},..._0x38e5a3},'textModel':_0x4c988c?{'ha':(_0xadd139=_0x4c988c['ha'])==null?n['HorizontalAlign'][_0x5c77f6(0x30e)]:_0xadd139,'va':(_0x3bfa1e=_0x4c988c['va'])==null?n[_0x5c77f6(0x44c)][_0x5c77f6(0x176)]:_0x3bfa1e}:null,'fontOptions':_0xf00d94,'wrappingStyle':_0x440452,'wrappingStyleOptions':_0x571ef8,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0xfa658b,_0x987815)=>{V(_0x3c1a86,_0x3d78e1,_0xa93bc4,_0x9731e8,_0xfa658b,_0x987815),_0x987815&&_0x547de5(_0x987815);},'onUpdateText':_0x17a899,'onUpdateWrappingStyle':_0x31738c=>_0x2c4948(_0x31738c),'onOpenPanel':()=>{const _0x13d5a1=_0x5c77f6;_0x3c1a86[_0x13d5a1(0x2a3)](T['id'],{'unitId':_0x3d78e1,'subUnitId':_0xa93bc4,'drawingId':_0x9731e8});},'onDelete':()=>{const _0x46aaba=_0x5c77f6;_0x3c1a86[_0x46aaba(0x2a3)](i[_0x46aaba(0x26a)]['id'],{'unitId':_0x3d78e1,'drawings':[{'unitId':_0x3d78e1,'subUnitId':_0xa93bc4,'drawingId':_0x9731e8}]});}});}let W=class extends n[_0x17015d(0x413)]{constructor(_0x39d983,_0x202e80,_0x12d296,_0x365a53,_0x1628e0,_0x93a467,_0x5e58b3,_0x47072c,_0x588dc6,_0x413e35,_0xaac03){const _0x2f51b7=_0x17015d;super(),this[_0x2f51b7(0x3a0)]=_0x39d983,this[_0x2f51b7(0x3e8)]=_0x202e80,this[_0x2f51b7(0x275)]=_0x12d296,this[_0x2f51b7(0x51f)]=_0x365a53,this[_0x2f51b7(0x1c2)]=_0x1628e0,this[_0x2f51b7(0x34a)]=_0x93a467,this[_0x2f51b7(0x270)]=_0x5e58b3,this[_0x2f51b7(0x492)]=_0x47072c,this['_renderManagerService']=_0x588dc6,this[_0x2f51b7(0x505)]=_0x413e35,this['_shapeTextEditingService']=_0xaac03,z(this,_0x2f51b7(0x51c),null),z(this,'_activeShapeInfo',null),z(this,_0x2f51b7(0x210),!0x1),z(this,_0x2f51b7(0x4a2),0x0),z(this,_0x2f51b7(0x52c),new Set()),z(this,_0x2f51b7(0x1d7),[]),this[_0x2f51b7(0x376)](),this['disposeWithMe'](this[_0x2f51b7(0x3a0)][_0x2f51b7(0x2af)](n['UniverInstanceType'][_0x2f51b7(0x244)])[_0x2f51b7(0x1f0)](_0x67b26f=>{const _0x338c2a=_0x2f51b7;if(!_0x67b26f){var _0x4afe2e;(_0x4afe2e=this[_0x338c2a(0x51c)])==null||_0x4afe2e[_0x338c2a(0x34c)]();return;}this[_0x338c2a(0x26c)](_0x67b26f);})),this[_0x2f51b7(0x438)](),this['_initShapePopupMenu'](),this[_0x2f51b7(0x3f5)](this['_shapeTextEditingService']['editingParams$'][_0x2f51b7(0x1f0)](_0x5688bc=>{const _0x1fd398=_0x2f51b7;_0x5688bc&&this[_0x1fd398(0x42c)]();}));}['_initMenu'](){const _0x2539ac=_0x17015d;this[_0x2539ac(0x275)][_0x2539ac(0x434)](ne);}[_0x17015d(0x221)](){const _0xfd6188=_0x17015d;this[_0xfd6188(0x3a0)][_0xfd6188(0x401)](n[_0xfd6188(0x1a2)][_0xfd6188(0x244)])[_0xfd6188(0x183)](_0x987534=>this['_createShapePopupMenu'](_0x987534));}[_0x17015d(0x403)](_0x27cd18,_0x57abbc,_0x454517,_0x5bd2b5){const _0xe461a6=_0x17015d;return[{'label':_0xe461a6(0x4f3),'index':0x0,'commandId':T['id'],'commandParams':{'unitId':_0x27cd18,'subUnitId':_0x57abbc,'drawingId':_0x454517},'disable':_0x5bd2b5===n[_0xe461a6(0x42b)][_0xe461a6(0x3dd)]},{'label':_0xe461a6(0x2d0),'index':0x1,'commandId':i[_0xe461a6(0x26a)]['id'],'commandParams':{'unitId':_0x27cd18,'drawings':[{'unitId':_0x27cd18,'subUnitId':_0x57abbc,'drawingId':_0x454517}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':w['id'],'commandParams':{'unitId':_0x27cd18,'subUnitId':_0x57abbc,'drawingId':_0x454517},'disable':!0x1}];}[_0x17015d(0x45d)](_0x5eeefd,_0x345c59,_0x2f1fe4){const _0x1bbd8e=_0x17015d;let _0x43749b=this['_docsShapeService'][_0x1bbd8e(0x4f9)](_0x5eeefd,_0x345c59,_0x2f1fe4),_0x21f35d=this['_docsShapeService'][_0x1bbd8e(0x22f)](_0x5eeefd,_0x345c59,_0x2f1fe4);return _0x43749b!==void 0x0&&_0x21f35d!==void 0x0?{'shapeData':_0x21f35d,'shapeId':_0x2f1fe4,'shapeType':_0x43749b,'unitId':_0x5eeefd,'subUnitId':_0x345c59,'version':this[_0x1bbd8e(0x4a2)],'disableShapeOption':!0x1}:null;}[_0x17015d(0x26c)](_0x3c406a){const _0xff6e3c=_0x17015d;if(!_0x3c406a)return;let _0x15ae5c=_0x3c406a[_0xff6e3c(0x16c)]();this[_0xff6e3c(0x496)][_0xff6e3c(0x263)](_0x15ae5c)&&!this[_0xff6e3c(0x52c)][_0xff6e3c(0x263)](_0x15ae5c)&&(this[_0xff6e3c(0x16e)](_0x15ae5c),this['_initializedShapePopupMenu']['add'](_0x15ae5c));}[_0x17015d(0x42c)](){const _0x34445c=_0x17015d;this[_0x34445c(0x1d7)][_0x34445c(0x183)](_0x5b7f38=>_0x5b7f38['dispose']()),this[_0x34445c(0x1d7)]['length']=0x0;}[_0x17015d(0x16e)](_0x5923ad){const _0x37b57a=_0x17015d;var _0x39977c;let _0x1d2fcb=(_0x39977c=this[_0x37b57a(0x496)][_0x37b57a(0x2ac)](_0x5923ad))==null?void 0x0:_0x39977c['scene'],_0x1add26=_0x1d2fcb==null?void 0x0:_0x1d2fcb[_0x37b57a(0x311)]();!_0x1d2fcb||!_0x1add26||(this[_0x37b57a(0x3f5)](_0x1add26[_0x37b57a(0x513)][_0x37b57a(0x1f0)](()=>{const _0x43fb44=_0x37b57a;let _0x579fb5=_0x1add26[_0x43fb44(0x1b5)]();if(this['_clearPopups'](),this[_0x43fb44(0x210)]||_0x579fb5[_0x43fb44(0x286)]>0x1)return;let _0x1dcfef=_0x579fb5['values']()[_0x43fb44(0x1e0)]()[_0x43fb44(0x483)];if(!_0x1dcfef)return;let _0x2213da=this[_0x43fb44(0x270)][_0x43fb44(0x1a5)](_0x1dcfef['oKey']);if(!_0x2213da||_0x2213da[_0x43fb44(0x319)]!==n[_0x43fb44(0x42b)][_0x43fb44(0x1c1)])return;let {unitId:_0x366bfc,subUnitId:_0x10b576,drawingId:_0x28db48,drawingType:_0x10bdc0}=_0x2213da,_0x3d8095=this[_0x43fb44(0x45d)](_0x366bfc,_0x10b576,_0x28db48);if(!_0x3d8095)return;let _0x57fed1=this[_0x43fb44(0x492)][_0x43fb44(0x452)](_0x1dcfef,{'componentKey':H,'direction':_0x43fb44(0x4d6),'offset':[0x0,0x8],'extraProps':{'unitId':_0x366bfc,'subUnitId':_0x10b576,'drawingId':_0x28db48,'drawingType':_0x10bdc0,'shapeType':_0x3d8095['shapeType'],'shapeData':_0x3d8095[_0x43fb44(0x19f)]}},_0x366bfc);this['_disposePopups'][_0x43fb44(0x461)](this[_0x43fb44(0x3f5)](_0x57fed1)),this[_0x43fb44(0x270)][_0x43fb44(0x266)]()[_0x43fb44(0x310)](_0x468294=>_0x468294[_0x43fb44(0x15b)]===_0x366bfc&&_0x468294[_0x43fb44(0x4f4)]===_0x10b576&&_0x468294[_0x43fb44(0x312)]===_0x28db48)||this['_drawingManagerService'][_0x43fb44(0x3fc)]([{'unitId':_0x366bfc,'subUnitId':_0x10b576,'drawingId':_0x28db48}]);})),this[_0x37b57a(0x3f5)](_0x1add26[_0x37b57a(0x271)][_0x37b57a(0x1f0)](()=>{const _0x140ab0=_0x37b57a;this[_0x140ab0(0x42c)](),this[_0x140ab0(0x505)][_0x140ab0(0x20f)](n[_0x140ab0(0x3de)],!0x1),this['_drawingManagerService'][_0x140ab0(0x3fc)](null);})),this[_0x37b57a(0x3f5)](_0x1add26[_0x37b57a(0x14d)][_0x37b57a(0x1f0)](()=>{const _0x372110=_0x37b57a;this[_0x372110(0x42c)]();})),this[_0x37b57a(0x3f5)](_0x1add26[_0x37b57a(0x506)][_0x37b57a(0x1f0)](()=>{const _0x17e2cc=_0x37b57a;this[_0x17e2cc(0x42c)]();})));}[_0x17015d(0x438)](){const _0x3ead39=_0x17015d;this[_0x3ead39(0x3f5)](this[_0x3ead39(0x34a)][_0x3ead39(0x36c)](_0x495f86=>{const _0xf6ddb2=_0x3ead39;if(_0x495f86['id']===T['id']){let {unitId:_0xb099a,subUnitId:_0x483364,drawingId:_0x42cee3}=_0x495f86['params'];this[_0xf6ddb2(0x4a2)]+=0x1,this[_0xf6ddb2(0x1aa)]=this['_getShapeInfo'](_0xb099a,_0x483364,_0x42cee3),this[_0xf6ddb2(0x42c)](),this[_0xf6ddb2(0x1f9)]();}if(_0x495f86['id']===w['id']&&(this[_0xf6ddb2(0x1aa)]=null,this['_closeShapeEditPanel']()),_0x495f86['id']===e[_0xf6ddb2(0x38b)]['id']){let {unitId:_0x67a14d,shapeId:_0x23d1ec}=_0x495f86[_0xf6ddb2(0x300)];if(this[_0xf6ddb2(0x1aa)]&&this['_activeShapeInfo'][_0xf6ddb2(0x165)]===_0x23d1ec){let _0x1e7ece=this[_0xf6ddb2(0x45d)](_0x67a14d,this[_0xf6ddb2(0x1aa)][_0xf6ddb2(0x4f4)],_0x23d1ec);_0x1e7ece&&(this[_0xf6ddb2(0x4a2)]+=0x1,_0x1e7ece[_0xf6ddb2(0x527)]=this['_shapeEditPanelVersion'],this[_0xf6ddb2(0x1aa)]=_0x1e7ece,this[_0xf6ddb2(0x210)]&&this[_0xf6ddb2(0x1f9)]());}}})),this[_0x3ead39(0x3f5)](this[_0x3ead39(0x270)]['focus$'][_0x3ead39(0x1f0)](_0x4a6406=>{const _0x1a4d3d=_0x3ead39;if(this[_0x1a4d3d(0x210)]===!0x1)return;if(_0x4a6406['length']===0x0){this['_activeShapeInfo']=null,this[_0x1a4d3d(0x17f)]();return;}if(_0x4a6406[_0x1a4d3d(0x377)]===0x1&&_0x4a6406[0x0][_0x1a4d3d(0x319)]===n[_0x1a4d3d(0x42b)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x1a4d3d(0x1aa)]=this[_0x1a4d3d(0x45d)](_0x4a6406[0x0][_0x1a4d3d(0x15b)],_0x4a6406[0x0][_0x1a4d3d(0x4f4)],_0x4a6406[0x0][_0x1a4d3d(0x312)]),this['_activeShapeInfo'])){this[_0x1a4d3d(0x1f9)]();return;}let _0xa25f37=_0x4a6406[_0x1a4d3d(0x22e)](_0xffb657=>_0xffb657['drawingType']===n['DrawingTypeEnum'][_0x1a4d3d(0x1c1)]);if(_0x4a6406[_0x1a4d3d(0x377)]>0x1&&_0xa25f37['length']===_0x4a6406[_0x1a4d3d(0x377)]){if(this[_0x1a4d3d(0x4a2)]+=0x1,this[_0x1a4d3d(0x1aa)]=this[_0x1a4d3d(0x45d)](_0x4a6406[0x0][_0x1a4d3d(0x15b)],_0x4a6406[0x0][_0x1a4d3d(0x4f4)],_0x4a6406[0x0][_0x1a4d3d(0x312)]),this[_0x1a4d3d(0x1aa)]){this[_0x1a4d3d(0x1f9)]();return;}}else{if(this[_0x1a4d3d(0x4a2)]+=0x1,this[_0x1a4d3d(0x1aa)]=this[_0x1a4d3d(0x45d)](_0x4a6406[0x0]['unitId'],_0x4a6406[0x0]['subUnitId'],_0x4a6406[0x0][_0x1a4d3d(0x312)]),this[_0x1a4d3d(0x1aa)]){this['_activeShapeInfo']['disableShapeOption']=!0x0,this[_0x1a4d3d(0x1f9)]();return;}}this[_0x1a4d3d(0x17f)]();}));}[_0x17015d(0x1f9)](){const _0x289ab1=_0x17015d;this[_0x289ab1(0x1aa)]&&(this['_sidebarDisposable']=this[_0x289ab1(0x3e8)]['open']({'id':E,'header':{'title':this[_0x289ab1(0x1c2)]['t'](_0x289ab1(0x347))},'width':0x184,'children':{'label':E,...this['_activeShapeInfo']},'onClose':()=>{const _0x3461fc=_0x289ab1;this[_0x3461fc(0x270)][_0x3461fc(0x3fc)](null),this[_0x3461fc(0x505)][_0x3461fc(0x20f)](n['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3461fc(0x51c)]=null;}}),this[_0x289ab1(0x210)]=!0x0);}[_0x17015d(0x17f)](){const _0x282dc5=_0x17015d;this['_isOpenedShapeEditPanel']=!0x1,this[_0x282dc5(0x3e8)][_0x282dc5(0x29e)](E),this[_0x282dc5(0x51c)]=null,this[_0x282dc5(0x505)][_0x282dc5(0x20f)](n[_0x282dc5(0x3de)],!0x1),this[_0x282dc5(0x270)][_0x282dc5(0x3fc)](null);}};W=k([O(0x0,n[_0x17015d(0x4d7)]),O(0x1,(0x0,n[_0x17015d(0x1c6)])(c['ISidebarService'])),O(0x2,c[_0x17015d(0x41e)]),O(0x3,(0x0,n['Inject'])(e['DocsShapeService'])),O(0x4,(0x0,n[_0x17015d(0x1c6)])(n[_0x17015d(0x1ac)])),O(0x5,n[_0x17015d(0x1cc)]),O(0x6,s[_0x17015d(0x283)]),O(0x7,(0x0,n[_0x17015d(0x1c6)])(a['DocCanvasPopManagerService'])),O(0x8,o[_0x17015d(0x325)]),O(0x9,n[_0x17015d(0x1d2)]),O(0xa,(0x0,n['Inject'])(B))],W);var le=_0x17015d(0x37f),ue=_0x17015d(0x144);const G={};function de(_0xb955b8){const _0x574e8c=_0x17015d;var _0x10dd01,_0x45fcf2,_0x3cd2cd,_0x2861fb;let _0x291bba=(_0x10dd01=(_0x45fcf2=_0xb955b8[_0x574e8c(0x40b)])==null||(_0x45fcf2=_0x45fcf2[_0x574e8c(0x528)])==null?void 0x0:_0x45fcf2[_0x574e8c(0x377)])==null?0x0:_0x10dd01,_0x399764=(_0x3cd2cd=_0xb955b8['body'])==null?void 0x0:_0x3cd2cd[_0x574e8c(0x227)];if(_0x399764!=null&&_0x399764['length'])for(let _0x3651db of _0x399764){var _0x410c35;_0x3651db[_0x574e8c(0x35c)]=(_0x410c35=_0x3651db[_0x574e8c(0x35c)])==null?n['GridType']['DEFAULT']:_0x410c35;}else _0xb955b8[_0x574e8c(0x40b)]&&(_0xb955b8[_0x574e8c(0x40b)]['sectionBreaks']=[{'startIndex':Math[_0x574e8c(0x28d)](0x0,_0x291bba-0x1),'gridType':n['GridType'][_0x574e8c(0x4eb)]}]);let _0x3a2beb=(_0x2861fb=_0xb955b8[_0x574e8c(0x40b)])==null?void 0x0:_0x2861fb[_0x574e8c(0x48d)];if(_0x3a2beb)for(let _0xe950ab of _0x3a2beb){var _0x125315,_0x13c38a,_0x238495,_0x16df85,_0x4d7cea,_0x4e9516,_0x13c057,_0x1aaad7;_0xe950ab[_0x574e8c(0x3a4)]={..._0xe950ab[_0x574e8c(0x3a4)],'lineSpacing':(_0x125315=(_0x13c38a=_0xe950ab[_0x574e8c(0x3a4)])==null?void 0x0:_0x13c38a[_0x574e8c(0x23c)])==null?0x1:_0x125315,'snapToGrid':(_0x238495=(_0x16df85=_0xe950ab[_0x574e8c(0x3a4)])==null?void 0x0:_0x16df85[_0x574e8c(0x48c)])==null?n[_0x574e8c(0x3ac)][_0x574e8c(0x24b)]:_0x238495,'spaceAbove':(_0x4d7cea=(_0x4e9516=_0xe950ab[_0x574e8c(0x3a4)])==null?void 0x0:_0x4e9516[_0x574e8c(0x25e)])==null?{'v':0x0}:_0x4d7cea,'spaceBelow':(_0x13c057=(_0x1aaad7=_0xe950ab[_0x574e8c(0x3a4)])==null?void 0x0:_0x1aaad7[_0x574e8c(0x2f0)])==null?{'v':0x0}:_0x13c057};}}function fe(_0x4ab83f){const _0x5d03a8=_0x17015d;let _0x559b48=_0x4ab83f[_0x5d03a8(0x40b)],_0x4a4db0=_0x559b48==null?void 0x0:_0x559b48[_0x5d03a8(0x48d)],_0x44449c=_0x559b48==null?void 0x0:_0x559b48['dataStream'];if(!_0x559b48||!(_0x4a4db0!=null&&_0x4a4db0[_0x5d03a8(0x377)])||!_0x44449c)return;let _0x322939=[];for(let _0x2e2d74=0x0;_0x2e2d74<_0x44449c[_0x5d03a8(0x377)];_0x2e2d74++)_0x44449c[_0x2e2d74]==='\x0d'&&_0x322939[_0x5d03a8(0x461)](_0x2e2d74);_0x322939[_0x5d03a8(0x377)]===_0x4a4db0[_0x5d03a8(0x377)]&&(_0x559b48[_0x5d03a8(0x48d)]=_0x4a4db0[_0x5d03a8(0x169)]((_0x214cfd,_0x2b648a)=>({..._0x214cfd,'startIndex':_0x322939[_0x2b648a]})));}function pe(_0x100b47,_0x5ae10c){const _0x3cd323=_0x17015d;var _0x523263,_0x4e7e18,_0x54e172;let {isHorizontal:_0x512b46,textRect:_0x2409a2,verticalAlign:_0x34a142}=_0x5ae10c,_0x2f903e=_0x512b46?_0x2409a2[_0x3cd323(0x1e1)]:_0x2409a2[_0x3cd323(0x4b8)],_0x3d620b=n[_0x3cd323(0x3fb)]['deepClone'](_0x100b47),_0x2f389b=(_0x523263=_0x3d620b[_0x3cd323(0x4d3)])==null?{}:_0x523263,_0x1be004={..._0x2f389b[_0x3cd323(0x4b3)],'centerAngle':_0x512b46?0x0:o[_0x3cd323(0x1a1)],'vertexAngle':_0x512b46?0x0:o['VERTICAL_ROTATE_ANGLE'],'wrapStrategy':n['WrapStrategy'][_0x3cd323(0x3bd)],'zeroWidthParagraphBreak':(_0x4e7e18=(_0x54e172=_0x2f389b[_0x3cd323(0x4b3)])==null?void 0x0:_0x54e172[_0x3cd323(0x298)])==null?n[_0x3cd323(0x3ac)]['TRUE']:_0x4e7e18};if(_0x34a142!==void 0x0&&(_0x1be004[_0x3cd323(0x1ae)]=_0x34a142),_0x5ae10c['horizontalAlign']!==void 0x0){var _0x393303;_0x1be004[_0x3cd323(0x3f8)]=_0x5ae10c[_0x3cd323(0x3f8)];let _0x1b25a3=(_0x393303=_0x3d620b['body'])==null?void 0x0:_0x393303[_0x3cd323(0x48d)];if(_0x1b25a3){for(let _0x155381 of _0x1b25a3)_0x155381[_0x3cd323(0x3a4)]||(_0x155381[_0x3cd323(0x3a4)]={}),_0x155381[_0x3cd323(0x3a4)]['horizontalAlign']=_0x5ae10c['horizontalAlign'];}}return _0x3d620b[_0x3cd323(0x4d3)]={..._0x2f389b,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2f903e,'height':0x1/0x0},'renderConfig':_0x1be004},fe(_0x3d620b),de(_0x3d620b),_0x3d620b;}var K=class extends o[_0x17015d(0x3df)]{constructor(_0x48ca79,_0x358c37){const _0x10e0ac=_0x17015d;super(_0x48ca79,_0x358c37),z(this,_0x10e0ac(0x1fd),void 0x0),z(this,_0x10e0ac(0x308),!0x0),z(this,'_drawingType',n[_0x10e0ac(0x42b)][_0x10e0ac(0x1c1)]),z(this,_0x10e0ac(0x482),!0x0),this[_0x10e0ac(0x1fd)]={..._0x358c37},this[_0x10e0ac(0x529)]();}[_0x17015d(0x529)](){const _0x3a4364=_0x17015d;this[_0x3a4364(0x3ef)]['subscribeEvent'](_0x3ace4a=>{const _0x22f341=_0x3a4364;this[_0x22f341(0x4fc)](_0x3ace4a);});}[_0x17015d(0x228)](_0x4bd915){const _0x12921c=_0x17015d;this[_0x12921c(0x1fd)][_0x12921c(0x41d)]=_0x4bd915;}[_0x17015d(0x3aa)](_0xc5f0e1){const _0x1c899e=_0x17015d;this['_props'][_0x1c899e(0x248)]=_0xc5f0e1,this['makeDirty'](!0x0);}get[_0x17015d(0x15b)](){const _0x451fa8=_0x17015d;return this[_0x451fa8(0x1fd)][_0x451fa8(0x15b)];}get[_0x17015d(0x4f4)](){const _0x79bd99=_0x17015d;return this[_0x79bd99(0x1fd)][_0x79bd99(0x4f4)];}[_0x17015d(0x4fc)](_0x29e4f3){const _0x5eeec3=_0x17015d;if(this[_0x5eeec3(0x1fd)]['srcRect']==null||!this['_transformCalculateSrcRect'])return;let {width:_0x5cd6d2,height:_0x1b4701}=this,{width:_0x1174c0=0x0,height:_0x3df58d=0x0}=_0x29e4f3['preValue'],{left:_0x4f6d3e=0x0,top:_0x3ab4eb=0x0,right:_0x120a63=0x0,bottom:_0x238543=0x0}=this['_props'][_0x5eeec3(0x25c)],_0x33c901=_0x4f6d3e,_0x425d96=_0x3ab4eb,_0x2e25fb=_0x120a63,_0x3ac931=_0x238543,_0x514b65=!0x1;if(_0x1174c0!==0x0&&_0x1174c0!==_0x5cd6d2){let _0x1422a8=_0x4f6d3e/_0x1174c0,_0x34eb1c=_0x120a63/_0x1174c0;_0x33c901=_0x5cd6d2*_0x1422a8,_0x2e25fb=_0x5cd6d2*_0x34eb1c,_0x514b65=!0x0;}if(_0x3df58d!==0x0&&_0x3df58d!==_0x1b4701){let _0x38ea5b=_0x3ab4eb/_0x3df58d,_0x3bd501=_0x238543/_0x3df58d;_0x425d96=_0x1b4701*_0x38ea5b,_0x3ac931=_0x1b4701*_0x3bd501,_0x514b65=!0x0;}_0x514b65&&this[_0x5eeec3(0x1d8)]({'left':_0x33c901,'top':_0x425d96,'right':_0x2e25fb,'bottom':_0x3ac931});}[_0x17015d(0x1d8)](_0x3532cd){const _0x2177a4=_0x17015d;this['_props'][_0x2177a4(0x25c)]=_0x3532cd,this[_0x2177a4(0x1fa)](!0x0);}['setFillImage'](_0x464547){const _0x2b10e6=_0x17015d;this[_0x2b10e6(0x1fd)][_0x2b10e6(0x3e5)]=_0x464547,this['makeDirty'](!0x0);}set['transform'](_0x5cd2a8){this['_transform']=_0x5cd2a8;}get[_0x17015d(0x2b5)](){const _0x87607c=_0x17015d;this[_0x87607c(0x40e)]||this[_0x87607c(0x1bf)]();let _0x3dc81d=this[_0x87607c(0x40e)][_0x87607c(0x4b2)]();return this[_0x87607c(0x295)](_0x3dc81d);}get[_0x17015d(0x297)](){const _0x4c8272=_0x17015d;return this[_0x4c8272(0x1fd)]['shapeModel'];}get[_0x17015d(0x165)](){const _0x199ac5=_0x17015d;return this[_0x199ac5(0x1fd)][_0x199ac5(0x165)];}get[_0x17015d(0x13e)](){const _0x4781dc=_0x17015d;return o[_0x4781dc(0x392)][_0x4781dc(0x34d)];}[_0x17015d(0x38c)](_0x94c171,_0x2d32ed,_0x958589,_0x327472){const _0x1dfb4d=_0x17015d;let _0x52f49e=this['_props'][_0x1dfb4d(0x297)];if(!_0x52f49e||!_0x2d32ed)return;let _0xc8fe0c=_0x958589==null?this[_0x1dfb4d(0x1e1)]:_0x958589,_0x230ab1=_0x327472==null?this[_0x1dfb4d(0x4b8)]:_0x327472,_0x5a9948={'shapeType':_0x52f49e[_0x1dfb4d(0x4ed)](),'width':_0xc8fe0c,'height':_0x230ab1},_0x9d677e={'renderMode':t[_0x1dfb4d(0x2be)][_0x1dfb4d(0x15f)],'oKey':this['oKey'],'image':this[_0x1dfb4d(0x1fd)][_0x1dfb4d(0x3e5)],'angle':this[_0x1dfb4d(0x327)]};_0x52f49e[_0x1dfb4d(0x27d)](_0x5a9948),_0x94c171[_0x1dfb4d(0x37a)]();let _0x2bd4f7={'top':0x0,'left':0x0,'width':_0xc8fe0c,'height':_0x230ab1};_0x52f49e[_0x1dfb4d(0x3f7)](_0x94c171,_0x2bd4f7,_0x9d677e),_0x94c171[_0x1dfb4d(0x38e)]();let _0x42b0b1=_0x52f49e[_0x1dfb4d(0x486)](),_0x1ff4dc=_0x52f49e[_0x1dfb4d(0x373)](_0x2bd4f7),_0x1cdfda=_0x52f49e['isLineShape']();if(_0x42b0b1&&_0x1ff4dc&&!_0x1cdfda){_0x94c171[_0x1dfb4d(0x37a)](),this[_0x1dfb4d(0x51d)]()[_0x1dfb4d(0x307)]&&_0x94c171['scale'](-0x1,0x1);let _0x337304=_0xc8fe0c/0x2,_0x146a32=_0x230ab1/0x2;_0x94c171[_0x1dfb4d(0x368)](-_0x337304,-_0x146a32),_0x94c171[_0x1dfb4d(0x31b)](),this[_0x1dfb4d(0x414)](_0x94c171,_0x42b0b1,_0x1ff4dc),_0x94c171[_0x1dfb4d(0x38e)]();}}[_0x17015d(0x229)](_0x2aae55){}[_0x17015d(0x414)](_0x4efc96,_0x522ce5,_0x6f5f5c){const _0x2d25ef=_0x17015d;this['_props'][_0x2d25ef(0x248)]||('isRichText'in _0x522ce5&&_0x522ce5[_0x2d25ef(0x30a)]===!0x1?this['_drawSimpleText'](_0x4efc96,_0x522ce5,_0x6f5f5c):this[_0x2d25ef(0x511)](_0x4efc96,_0x522ce5,_0x6f5f5c));}[_0x17015d(0x484)](_0x1a9edf,_0xba2d01,_0x1d4be5){}['_drawRichText'](_0x440e89,_0x2eacf7,_0x26d22e){const _0x2c332b=_0x17015d;var _0x103e11,_0x250f35;let _0x22a96b=this[_0x2c332b(0x1fd)][_0x2c332b(0x42f)];if(!_0x2eacf7['dataModel']||!_0x22a96b){_0x22a96b||console[_0x2c332b(0x2fd)](_0x2c332b(0x1ff));return;}let _0x2b2cb6=_0x2eacf7['dataModel'],_0x4dceb0=_0x2b2cb6[_0x2c332b(0x19c)],_0x2bcccb=(_0x103e11=_0x2b2cb6['va'])==null?n[_0x2c332b(0x44c)][_0x2c332b(0x176)]:_0x103e11,_0x53adcb=(_0x250f35=_0x2b2cb6['ha'])==null?n[_0x2c332b(0x2c9)][_0x2c332b(0x30e)]:_0x250f35;if(!_0x4dceb0)return;let _0xb6cb2=_0x2eacf7['isHorizontal'],_0x3e308c=new n[(_0x2c332b(0x38a))](pe(_0x4dceb0,{'isHorizontal':_0xb6cb2!==!0x1,'textRect':_0x26d22e,'verticalAlign':_0x2bcccb,'horizontalAlign':_0x53adcb})),_0x529ade=new o[(_0x2c332b(0x471))](_0x3e308c),_0x5ac759=o[_0x2c332b(0x2ea)][_0x2c332b(0x203)](_0x529ade,_0x22a96b);_0x5ac759[_0x2c332b(0x2c2)]();let _0x11cf10=new o[(_0x2c332b(0x195))](_0x2c332b(0x1dc)+this[_0x2c332b(0x43b)],_0x5ac759,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x11cf10[_0x2c332b(0x39a)](_0x26d22e['width'],_0x26d22e[_0x2c332b(0x4b8)]),_0x440e89[_0x2c332b(0x37a)](),_0x440e89[_0x2c332b(0x3b3)](_0x26d22e[_0x2c332b(0x346)],_0x26d22e['top']),_0x440e89[_0x2c332b(0x31b)](),_0x440e89['rect'](0x0,0x0,_0x26d22e[_0x2c332b(0x1e1)],_0x26d22e[_0x2c332b(0x4b8)]),_0x440e89['clip'](),_0x11cf10['draw'](_0x440e89),_0x440e89[_0x2c332b(0x38e)](),_0x11cf10[_0x2c332b(0x34c)](),_0x5ac759[_0x2c332b(0x34c)](),_0x529ade[_0x2c332b(0x34c)](),_0x3e308c[_0x2c332b(0x34c)]();}[_0x17015d(0x3f7)](_0x376d63,_0x212f0e,_0x4975cc=!0x1){const _0x244b34=_0x17015d;if(!this[_0x244b34(0x2a9)])return this[_0x244b34(0x1fa)](!0x1),this;let {width:_0x7b15d4,height:_0x2ce32a,left:_0x22ad56,top:_0x112223}=this,_0xbd89f1=this['getRealBound']();if(_0x7b15d4=_0xbd89f1[_0x244b34(0x1e1)],_0x2ce32a=_0xbd89f1['height'],_0x22ad56=_0xbd89f1[_0x244b34(0x346)],_0x112223=_0xbd89f1['top'],this[_0x244b34(0x1e8)](_0x212f0e)){let {top:_0x19dc41,left:_0x17df5b,bottom:_0x30cd37,right:_0x4d3d80}=_0x212f0e[_0x244b34(0x1c5)];if(_0x7b15d4+this[_0x244b34(0x3cd)]+_0x22ad56<_0x17df5b||_0x4d3d80<_0x22ad56||_0x2ce32a+this[_0x244b34(0x3cd)]+_0x112223<_0x19dc41||_0x30cd37<_0x112223)return this;}let _0x3f0bb3=_0x22ad56+_0x7b15d4/0x2,_0x35a615=_0x112223+_0x2ce32a/0x2,_0x3be3bd=this[_0x244b34(0x2b5)][_0x244b34(0x149)]();if(this[_0x244b34(0x1fd)][_0x244b34(0x248)]){let _0x1361f1=this['getState'](),_0x4b9cae=new o[(_0x244b34(0x335))]();_0x4b9cae['composeMatrix']({..._0x1361f1}),_0x3be3bd=_0x4b9cae['getMatrix']();}return _0x376d63['save'](),this[_0x244b34(0x1fd)]['shapeModel'][_0x244b34(0x4e5)]===!0x0||_0x376d63[_0x244b34(0x2b5)](_0x3be3bd[0x0],_0x3be3bd[0x1],_0x3be3bd[0x2],_0x3be3bd[0x3],_0x3f0bb3,_0x35a615),this['_draw'](_0x376d63,_0x212f0e,_0x7b15d4,_0x2ce32a),_0x376d63[_0x244b34(0x38e)](),this[_0x244b34(0x1fa)](!0x1),this;}['getInverseCoord'](_0x2cbe44){const _0x28cc6c=_0x17015d;let {left:_0x4f2278,top:_0x34f859,width:_0x10114f,height:_0x232d3d}=this['getRealBound'](),_0x54bc95=this[_0x28cc6c(0x2b5)][_0x28cc6c(0x149)](),_0x5b9da9=_0x4f2278+_0x10114f/0x2,_0x3c633d=_0x34f859+_0x232d3d/0x2,_0xcceefe=new o[(_0x28cc6c(0x335))]([_0x54bc95[0x0],_0x54bc95[0x1],_0x54bc95[0x2],_0x54bc95[0x3],_0x5b9da9,_0x3c633d]),_0x42ee82=this[_0x28cc6c(0x3ec)]();return(this[_0x28cc6c(0x2c1)]&&(_0x42ee82==null?void 0x0:_0x42ee82[_0x28cc6c(0x13e)])===o[_0x28cc6c(0x392)][_0x28cc6c(0x491)]?_0x42ee82[_0x28cc6c(0x1f4)]['multiply'](_0xcceefe):_0xcceefe)[_0x28cc6c(0x30f)]()[_0x28cc6c(0x4cd)](_0x2cbe44);}[_0x17015d(0x309)](_0x30ce37){const _0x44b649=_0x17015d;let {left:_0xcea69a,top:_0x74c1bc,width:_0x10b280,height:_0x1efb56}=this[_0x44b649(0x51b)](),_0x421477=_0xcea69a+_0x10b280/0x2,_0x4d875d=_0x74c1bc+_0x1efb56/0x2,_0x564d26=this[_0x44b649(0x2b5)][_0x44b649(0x149)](),_0x4c5bb3=new o[(_0x44b649(0x335))]([_0x564d26[0x0],_0x564d26[0x1],_0x564d26[0x2],_0x564d26[0x3],_0x421477,_0x4d875d]),_0x5c66ce=this['getParent'](),_0x426020=(this['isInGroup']&&(_0x5c66ce==null?void 0x0:_0x5c66ce[_0x44b649(0x13e)])===o[_0x44b649(0x392)][_0x44b649(0x491)]?_0x5c66ce[_0x44b649(0x1f4)][_0x44b649(0x189)](_0x4c5bb3):_0x4c5bb3)['invert']()['applyPoint'](_0x30ce37),_0x6cec5=_0x10b280/0x2,_0x437377=_0x1efb56/0x2,_0x438dc5=this[_0x44b649(0x1fd)][_0x44b649(0x297)];return _0x438dc5&&_0x438dc5['isLineShape']()?_0x438dc5[_0x44b649(0x2da)](_0x426020['x'],_0x426020['y'],_0x10b280,_0x1efb56):_0x426020['x']>=-_0x6cec5-this[_0x44b649(0x3cd)]/0x2&&_0x426020['x']<=_0x6cec5+this['strokeWidth']/0x2&&_0x426020['y']>=-_0x437377-this[_0x44b649(0x3cd)]/0x2&&_0x426020['y']<=_0x437377+this[_0x44b649(0x3cd)]/0x2;}['dispose'](){const _0x4e1206=_0x17015d;this[_0x4e1206(0x1fd)][_0x4e1206(0x297)]=null,super[_0x4e1206(0x34c)]();}};function me(_0x41d41e){const _0x5ad411=_0x17015d;return _0x41d41e['behindText']===!0x0||_0x41d41e[_0x5ad411(0x515)]===n[_0x5ad411(0x3ac)][_0x5ad411(0x41c)]||_0x41d41e['layoutType']===n['PositionedObjectLayoutType'][_0x5ad411(0x1ec)]&&_0x41d41e[_0x5ad411(0x50a)]===n[_0x5ad411(0x3ac)][_0x5ad411(0x41c)]?a[_0x5ad411(0x23f)]-0x1:o['DRAWING_OBJECT_LAYER_INDEX'];}let q=class extends n[_0x17015d(0x413)]{constructor(_0x155ecc,_0x4046dc,_0x3f19c0,_0x12d082,_0x515290,_0xbf1781){const _0x5bed97=_0x17015d;super(),this[_0x5bed97(0x270)]=_0x155ecc,this['_docsShapeService']=_0x4046dc,this[_0x5bed97(0x1c2)]=_0x3f19c0,this[_0x5bed97(0x4e6)]=_0x12d082,this[_0x5bed97(0x172)]=_0x515290,this[_0x5bed97(0x1ea)]=_0xbf1781;}[_0x17015d(0x2e5)](_0x57fabb,_0x3f87b1){const _0x2f5b0d=_0x17015d;let {transform:_0x34d6fa,drawingType:_0x82a16f,srcRect:_0x4bb69d,prstGeom:_0x3529b2,groupId:_0x458a02,unitId:_0x29928b,subUnitId:_0x233588,drawingId:_0x5d68d5,isMultiTransform:_0x4cc6e2,transforms:_0x58e928,hidden:_0x15c4b2}=_0x57fabb;if(_0x82a16f!==n[_0x2f5b0d(0x42b)][_0x2f5b0d(0x1c1)]||!this['_drawingManagerService'][_0x2f5b0d(0x4c9)]()||_0x34d6fa==null)return;let _0x2d13c3=_0x4cc6e2&&_0x58e928?_0x58e928:[_0x34d6fa],_0x5c38b8=[];for(let _0x4e0240 of _0x2d13c3){let {left:_0x3faf9a,top:_0x1d78dd,width:_0x2aaf66,height:_0x4cce4d,angle:_0x103284,flipX:_0x3647c8,flipY:_0x380498,skewX:_0x581055,skewY:_0x242ef8}=_0x4e0240,_0x2fe0ef=_0x2d13c3['indexOf'](_0x4e0240),_0x526473=(0x0,s[_0x2f5b0d(0x3cb)])({'unitId':_0x29928b,'subUnitId':_0x233588,'drawingId':_0x5d68d5},_0x4cc6e2?_0x2fe0ef:void 0x0),_0x595147=_0x3f87b1['getObjectIncludeInGroup'](_0x526473);if(_0x595147!=null){_0x595147['transformByState']({'left':_0x3faf9a,'top':_0x1d78dd,'width':_0x2aaf66,'height':_0x4cce4d,'angle':_0x103284,'flipX':_0x3647c8,'flipY':_0x380498,'skewX':_0x581055,'skewY':_0x242ef8});continue;}let _0xb0194a=this[_0x2f5b0d(0x270)]['getDrawingOrder'](_0x29928b,_0x233588),_0x118d8c=_0xb0194a['indexOf'](_0x5d68d5);if(_0x3f87b1[_0x2f5b0d(0x4df)](_0x526473)||!this[_0x2f5b0d(0x270)][_0x2f5b0d(0x4c9)]())continue;let _0x11fac2=this['_docsShapeService']['getShapeModel'](_0x29928b,_0x233588,_0x5d68d5);if(!_0x11fac2)continue;let _0x566918=new K(_0x526473,{...(0x0,t[_0x2f5b0d(0x334)])(_0x11fac2['getShapeType']())?{..._0x4e0240,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x4e0240},'zIndex':_0x118d8c===-0x1?_0xb0194a[_0x2f5b0d(0x377)]-0x1:_0x118d8c,'shapeModel':_0x11fac2,'localeService':this[_0x2f5b0d(0x1c2)],'shapeId':_0x5d68d5,'unitId':_0x29928b,'subUnitId':_0x233588,'visible':_0x15c4b2!==!0x0});this[_0x2f5b0d(0x3f5)]((0x0,n[_0x2f5b0d(0x1c3)])(_0x566918[_0x2f5b0d(0x31c)][_0x2f5b0d(0x29a)]((_0xcd94ff,_0x2dac4a)=>{const _0x357092=_0x2f5b0d;_0x11fac2[_0x357092(0x51e)]()||(this[_0x357092(0x1ea)][_0x357092(0x3aa)]({'visible':!0x0,'unitId':_0x29928b,'subUnitId':_0x233588,'shapeId':_0x5d68d5,'shapeKey':_0x566918[_0x357092(0x43b)]}),_0x2dac4a['stopPropagation']());}))),_0x3f87b1[_0x2f5b0d(0x3d6)](_0x566918,me(_0x57fabb)),this[_0x2f5b0d(0x270)]['getDrawingEditable']()&&_0x3f87b1[_0x2f5b0d(0x431)](_0x566918),_0x458a02&&(0x0,u[_0x2f5b0d(0x3ad)])({'drawingId':_0x458a02,'unitId':_0x29928b,'subUnitId':_0x233588},_0x566918,_0x3f87b1,this[_0x2f5b0d(0x270)]),_0x3529b2!=null&&_0x566918[_0x2f5b0d(0x228)](_0x3529b2),_0x4bb69d!=null&&_0x566918[_0x2f5b0d(0x1d8)](_0x4bb69d),this['_loadShapePictureFill'](_0x566918,_0x11fac2[_0x2f5b0d(0x27b)]()),_0x5c38b8['push'](_0x566918);}return _0x5c38b8;}[_0x17015d(0x155)](_0xe1fdbe){const _0x1efd0a=_0x17015d;let _0x1234ec=_0xe1fdbe[_0x1efd0a(0x297)][_0x1efd0a(0x27b)](),_0x4a4211=_0x1234ec[_0x1efd0a(0x2c4)];if(!_0x4a4211||_0x4a4211[_0x1efd0a(0x26b)]!==t[_0x1efd0a(0x38f)]['PictureFill']||!_0x4a4211[_0x1efd0a(0x4d9)]){_0xe1fdbe['setFillImage'](void 0x0);return;}this[_0x1efd0a(0x422)](_0xe1fdbe,_0x1234ec);}['_loadShapePictureFill'](_0x2815b7,_0x45e016){const _0x583cc8=_0x17015d;var _0x54c7d1;let _0x1a5202=_0x45e016[_0x583cc8(0x2c4)];if(!_0x1a5202||_0x1a5202[_0x583cc8(0x26b)]!==t[_0x583cc8(0x38f)][_0x583cc8(0x3db)]||!_0x1a5202[_0x583cc8(0x4d9)])return;let _0x35fa1e=_0x1a5202[_0x583cc8(0x4d9)],_0x28f87d=(_0x54c7d1=_0x1a5202['fillImageSourceType'])==null?t['ImageSourceTypeEnum'][_0x583cc8(0x359)]:_0x54c7d1,_0x20b67d=this[_0x583cc8(0x4e6)][_0x583cc8(0x30c)](_0x35fa1e,_0x28f87d);if(_0x20b67d){_0x2815b7[_0x583cc8(0x26d)](_0x20b67d);return;}this[_0x583cc8(0x3e7)](_0x2815b7,_0x35fa1e,_0x28f87d);}async[_0x17015d(0x3e7)](_0x242cdb,_0x40e303,_0x39b301){const _0x35896a=_0x17015d;let _0x352f59;try{if(_0x39b301===t[_0x35896a(0x292)][_0x35896a(0x205)])_0x352f59=await this[_0x35896a(0x4e6)][_0x35896a(0x44a)](_0x40e303);else{if(_0x39b301===t[_0x35896a(0x292)][_0x35896a(0x359)])try{_0x352f59=await this[_0x35896a(0x172)]['getImage'](_0x40e303);}catch{_0x352f59=_0x40e303;}else _0x352f59=_0x40e303;}}catch(_0x220be6){console['error'](_0x35896a(0x367),_0x220be6);return;}let _0x12a15b=new window[(_0x35896a(0x360))]();_0x12a15b['onload']=()=>{const _0x8787cd=_0x35896a;this[_0x8787cd(0x4e6)]['addImageSourceCache'](_0x40e303,_0x39b301,_0x12a15b),_0x242cdb[_0x8787cd(0x26d)](_0x12a15b);},_0x12a15b['onerror']=()=>{const _0x39b9bc=_0x35896a;console[_0x39b9bc(0x2fc)](_0x39b9bc(0x421),_0x40e303);},_0x12a15b['src']=_0x352f59;}};q=k([O(0x0,s[_0x17015d(0x283)]),O(0x1,(0x0,n[_0x17015d(0x1c6)])(e[_0x17015d(0x2df)])),O(0x2,(0x0,n[_0x17015d(0x1c6)])(n[_0x17015d(0x1ac)])),O(0x3,s[_0x17015d(0x1ba)]),O(0x4,n['IURLImageService']),O(0x5,(0x0,n[_0x17015d(0x1c6)])(B))],q);let J=class extends n['Disposable']{constructor(_0x512cde,_0x5a58c7,_0x4f72c4,_0x242288){const _0x58870b=_0x17015d;super(),this[_0x58870b(0x34a)]=_0x512cde,this['_renderManagerService']=_0x5a58c7,this[_0x58870b(0x270)]=_0x4f72c4,this[_0x58870b(0x4d1)]=_0x242288,this[_0x58870b(0x3c5)]();}[_0x17015d(0x3c5)](){const _0x10c8e0=_0x17015d;this[_0x10c8e0(0x3f5)](this[_0x10c8e0(0x270)][_0x10c8e0(0x2f7)]['subscribe'](_0x3fcc05=>this['_insertShapes'](_0x3fcc05))),this[_0x10c8e0(0x3f5)](this['_drawingManagerService'][_0x10c8e0(0x2dc)][_0x10c8e0(0x1f0)](_0x18907e=>{const _0x2b7737=_0x10c8e0;_0x18907e['forEach'](_0x4cb0fa=>this[_0x2b7737(0x46a)](_0x4cb0fa));})),this['disposeWithMe'](this['_commandService'][_0x10c8e0(0x36c)](_0x1f652b=>{const _0x177811=_0x10c8e0;if(_0x1f652b['id']!==e[_0x177811(0x38b)]['id'])return;let {unitId:_0x5f4dd7,shapeId:_0x27d106}=_0x1f652b[_0x177811(0x300)];this[_0x177811(0x256)]({'unitId':_0x5f4dd7,'subUnitId':_0x5f4dd7,'drawingId':_0x27d106});}));}[_0x17015d(0x374)](_0x243e50,_0x23ffe4){const _0x3eaf64=_0x17015d;let _0x320dae=this[_0x3eaf64(0x301)](_0x243e50[_0x3eaf64(0x15b)]),_0x1597ba=(0x0,s[_0x3eaf64(0x3cb)])(_0x243e50),_0x5000da=_0x320dae==null?void 0x0:_0x320dae[_0x3eaf64(0x146)][_0x3eaf64(0x4df)](_0x1597ba);_0x5000da==null||_0x5000da['setFillImage'](_0x23ffe4);}[_0x17015d(0x379)](_0x49ba2c){const _0x3035cd=_0x17015d;_0x49ba2c[_0x3035cd(0x183)](_0x170c09=>{const _0x406275=_0x3035cd;var _0x94713e;let _0x35d5d7=this[_0x406275(0x301)](_0x170c09[_0x406275(0x15b)]);if(!_0x35d5d7)return;let _0x108726=this[_0x406275(0x270)][_0x406275(0x454)](_0x170c09);(_0x108726==null?void 0x0:_0x108726['drawingType'])===n['DrawingTypeEnum'][_0x406275(0x1c1)]&&((0x0,t[_0x406275(0x334)])((_0x94713e=_0x108726['data'])==null?void 0x0:_0x94713e[_0x406275(0x230)])&&_0x108726['transform']&&(_0x108726[_0x406275(0x2b5)]={..._0x108726[_0x406275(0x2b5)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x406275(0x270)][_0x406275(0x3f4)]([_0x108726]),this[_0x406275(0x4d1)][_0x406275(0x2e5)](_0x108726,_0x35d5d7[_0x406275(0x146)]));});}[_0x17015d(0x46a)](_0x5162c6){const _0x132184=_0x17015d;let _0x2d974d=this['_drawingManagerService'][_0x132184(0x454)](_0x5162c6);if((_0x2d974d==null?void 0x0:_0x2d974d[_0x132184(0x319)])!==n['DrawingTypeEnum'][_0x132184(0x1c1)])return;let _0x5db697=this[_0x132184(0x301)](_0x5162c6[_0x132184(0x15b)]);if(!_0x5db697||_0x2d974d[_0x132184(0x2b5)]==null)return;let _0x5217c5=(0x0,s['getDrawingShapeKeyByDrawingSearch'])(_0x5162c6),_0x57567f=_0x5db697[_0x132184(0x146)][_0x132184(0x4df)](_0x5217c5);_0x57567f&&(_0x57567f[_0x132184(0x1d8)](_0x2d974d[_0x132184(0x25c)]),_0x57567f[_0x132184(0x228)](_0x2d974d[_0x132184(0x41d)]),_0x57567f[_0x132184(0x1fa)](!0x0));}['_refreshShapeData'](_0xc94ef0){const _0xbd6033=_0x17015d;let _0xa1fef5=this[_0xbd6033(0x301)](_0xc94ef0[_0xbd6033(0x15b)]);if(!_0xa1fef5)return;let _0x26e366=(0x0,s[_0xbd6033(0x3cb)])(_0xc94ef0),_0x267d73=_0xa1fef5[_0xbd6033(0x146)]['getObjectIncludeInGroup'](_0x26e366);_0x267d73&&(this[_0xbd6033(0x4d1)][_0xbd6033(0x155)](_0x267d73),_0x267d73[_0xbd6033(0x1fa)](!0x0));}[_0x17015d(0x301)](_0x4d8c00){const _0x18b0d7=_0x17015d;if(_0x4d8c00==null)return null;let _0x366010=this[_0x18b0d7(0x496)][_0x18b0d7(0x2ac)](_0x4d8c00),_0x584227=_0x366010==null?void 0x0:_0x366010[_0x18b0d7(0x146)];return _0x584227==null?null:{'scene':_0x584227};}};J=k([O(0x0,n[_0x17015d(0x1cc)]),O(0x1,o[_0x17015d(0x325)]),O(0x2,s['IDrawingManagerService']),O(0x3,(0x0,n[_0x17015d(0x1c6)])(q))],J);function he(){const _0xb5d4bb=_0x17015d;let _0x32a241=(0x0,c[_0xb5d4bb(0x156)])(s[_0xb5d4bb(0x283)]),[_0x940ff0,_0x2e728a]=(0x0,d[_0xb5d4bb(0x22c)])(_0x32a241[_0xb5d4bb(0x266)]());return(0x0,d[_0xb5d4bb(0x355)])(()=>{let _0x24dde2=_0x32a241['focus$']['subscribe'](_0x3cc431=>{_0x2e728a(_0x3cc431);});return()=>{const _0x31ea89=_0x3f87;_0x24dde2[_0x31ea89(0x213)]();};},[]),_0x940ff0[_0xb5d4bb(0x377)]===0x0?null:(0x0,f[_0xb5d4bb(0x14f)])('div',{'children':(0x0,f[_0xb5d4bb(0x4b4)])('div',{'className':_0xb5d4bb(0x2d4),'children':[(0x0,f[_0xb5d4bb(0x14f)])(u['DrawingCommonPanel'],{'drawings':_0x940ff0,'hasCropper':!0x1}),(0x0,f['jsx'])(i[_0xb5d4bb(0x2d7)],{'drawings':_0x940ff0}),(0x0,f[_0xb5d4bb(0x14f)])(i['DocDrawingPosition'],{'drawings':_0x940ff0})]})});}function ge(_0x1f46af){const _0x114675=_0x17015d;let {unitId:_0x586e3b,subUnitId:_0x162b4f,shapeId:_0x1ee19c}=_0x1f46af,_0x51ead6=(0x0,c['useDependency'])(n[_0x114675(0x1cc)]),_0x37ebe9=(0x0,c[_0x114675(0x156)])(J);return(0x0,f[_0x114675(0x14f)])(m[_0x114675(0x3a7)],{..._0x1f46af,'positionEditor':(0x0,f['jsx'])(he,{}),'onUpdateShapeData':(_0x570357,_0x42ec05)=>{V(_0x51ead6,_0x586e3b,_0x162b4f,_0x1ee19c,_0x570357,_0x42ec05);},'onUpdateLineShapeData':(_0x4d4384,_0x3d616d)=>{ae(_0x51ead6,_0x586e3b,_0x162b4f,_0x1ee19c,_0x4d4384,_0x3d616d);},'onUpdateShapeFillImage':_0x6e4ecb=>{_0x37ebe9['updateShapeFillImage']({'unitId':_0x586e3b,'subUnitId':_0x162b4f,'drawingId':_0x1ee19c},_0x6e4ecb);}});}const _e=(0x0,d['memo'])(()=>{const _0x2ce18d=_0x17015d;let _0x22d94f=(0x0,c[_0x2ce18d(0x156)])(B),_0x225839=(0x0,c['useDependency'])(e['DocsShapeService']),_0x85e8a7=(0x0,c[_0x2ce18d(0x156)])(s['IDrawingManagerService']),_0x20cc34=(0x0,c['useDependency'])(n[_0x2ce18d(0x1cc)]);return(0x0,f[_0x2ce18d(0x14f)])(m[_0x2ce18d(0x3e0)],{'adapter':(0x0,d['useMemo'])(()=>({'getShapeModel':(_0x576407,_0x5d493d,_0x2ab93b)=>_0x225839[_0x2ce18d(0x282)](_0x576407,_0x5d493d,_0x2ab93b),'getDrawingTransform':(_0x382831,_0x32e52d,_0xf3b131)=>{const _0x1f342b=_0x2ce18d;let _0x5c516c=_0x85e8a7[_0x1f342b(0x454)]({'unitId':_0x382831,'subUnitId':_0x32e52d,'drawingId':_0xf3b131});return _0x5c516c==null?void 0x0:_0x5c516c[_0x1f342b(0x2b5)];},'updateShapeText':({unitId:_0x8982c3,shapeId:_0x7e1aec,shapeText:_0x101312,oldShapeText:_0x35db2e})=>{const _0x40e467=_0x2ce18d;_0x20cc34[_0x40e467(0x2a3)](e[_0x40e467(0x21d)]['id'],{'unitId':_0x8982c3,'shapeId':_0x7e1aec,'shapeData':{'shapeText':_0x101312},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x35db2e}}});}}),[_0x20cc34,_0x225839,_0x85e8a7]),'editingService':_0x22d94f,'editorUnitId':D,'positionOptions':(0x0,d[_0x2ce18d(0x18f)])(()=>({'viewportKeys':{'main':a[_0x2ce18d(0x494)][_0x2ce18d(0x322)]}}),[])});});let Y=class extends n[_0x17015d(0x413)]{constructor(_0x1246aa,_0x4d3792){const _0x538685=_0x17015d;super(),this[_0x538685(0x450)]=_0x1246aa,this[_0x538685(0x2cc)]=_0x4d3792,this[_0x538685(0x455)](),this['_registerComponents']();}['_registerIcons'](){const _0x398628=_0x17015d;this[_0x398628(0x3f5)](this[_0x398628(0x2cc)][_0x398628(0x2fa)]({'ShapeAccentBorderCallout1Icon':g[_0x398628(0x2b0)],'ShapeAccentBorderCallout2Icon':g[_0x398628(0x4da)],'ShapeAccentBorderCallout3Icon':g[_0x398628(0x16a)],'ShapeAccentCallout1Icon':g[_0x398628(0x151)],'ShapeAccentCallout2Icon':g['ShapeAccentCallout2Icon'],'ShapeAccentCallout3Icon':g[_0x398628(0x47a)],'ShapeActionButtonBackPreviousIcon':g['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':g['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':g['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':g[_0x398628(0x398)],'ShapeActionButtonEndIcon':g[_0x398628(0x2a1)],'ShapeActionButtonForwardNextIcon':g[_0x398628(0x2e9)],'ShapeActionButtonHelpIcon':g[_0x398628(0x36f)],'ShapeActionButtonHomeIcon':g['ShapeActionButtonHomeIcon'],'ShapeActionButtonInformationIcon':g[_0x398628(0x32d)],'ShapeActionButtonMovieIcon':g[_0x398628(0x21b)],'ShapeActionButtonReturnIcon':g[_0x398628(0x33f)],'ShapeActionButtonSoundIcon':g['ShapeActionButtonSoundIcon'],'ShapeArcIcon':g[_0x398628(0x4d5)],'ShapeBentArrowIcon':g['ShapeBentArrowIcon'],'ShapeBentConnector3Arrow1Icon':g[_0x398628(0x4e3)],'ShapeBentConnector3Arrow2Icon':g[_0x398628(0x272)],'ShapeBentConnector3Icon':g[_0x398628(0x2e6)],'ShapeBentUpArrowIcon':g[_0x398628(0x432)],'ShapeBevelIcon':g['ShapeBevelIcon'],'ShapeBlockArcIcon':g[_0x398628(0x208)],'ShapeBorderCallout1Icon':g[_0x398628(0x21c)],'ShapeBorderCallout2Icon':g[_0x398628(0x15a)],'ShapeBorderCallout3Icon':g['ShapeBorderCallout3Icon'],'ShapeBracePairIcon':g[_0x398628(0x478)],'ShapeBracketPairIcon':g['ShapeBracketPairIcon'],'ShapeCallout1Icon':g['ShapeCallout1Icon'],'ShapeCallout2Icon':g[_0x398628(0x13c)],'ShapeCallout3Icon':g[_0x398628(0x4b5)],'ShapeCanIcon':g[_0x398628(0x2d3)],'ShapeChartPlusIcon':g['ShapeChartPlusIcon'],'ShapeChartStarIcon':g[_0x398628(0x20e)],'ShapeChartXIcon':g['ShapeChartXIcon'],'ShapeChevronIcon':g[_0x398628(0x24a)],'ShapeChordIcon':g[_0x398628(0x1c8)],'ShapeCircularArrowIcon':g[_0x398628(0x33a)],'ShapeCloudCalloutIcon':g[_0x398628(0x15c)],'ShapeCloudIcon':g[_0x398628(0x238)],'ShapeCornerIcon':g[_0x398628(0x3f0)],'ShapeCornerTabsIcon':g[_0x398628(0x340)],'ShapeCubeIcon':g[_0x398628(0x378)],'ShapeCurvedConnector3Arrow1Icon':g[_0x398628(0x188)],'ShapeCurvedConnector3Arrow2Icon':g[_0x398628(0x261)],'ShapeCurvedConnector3Icon':g[_0x398628(0x2a6)],'ShapeCurvedDownArrowIcon':g[_0x398628(0x1f7)],'ShapeCurvedLeftArrowIcon':g[_0x398628(0x2c7)],'ShapeCurvedRightArrowIcon':g[_0x398628(0x4f1)],'ShapeCurvedUpArrowIcon':g['ShapeCurvedUpArrowIcon'],'ShapeDecagonIcon':g[_0x398628(0x1f3)],'ShapeDiagStripeIcon':g[_0x398628(0x3b4)],'ShapeDiamondIcon':g['ShapeDiamondIcon'],'ShapeDodecagonIcon':g[_0x398628(0x52d)],'ShapeDonutIcon':g[_0x398628(0x391)],'ShapeDoubleWaveIcon':g[_0x398628(0x287)],'ShapeDownArrowCalloutIcon':g['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':g['ShapeDownArrowIcon'],'ShapeEllipseIcon':g[_0x398628(0x4b0)],'ShapeEllipseRibbon2Icon':g[_0x398628(0x296)],'ShapeEllipseRibbonIcon':g[_0x398628(0x2a4)],'ShapeFlowChartAlternateProcessIcon':g[_0x398628(0x1b1)],'ShapeFlowChartCollateIcon':g[_0x398628(0x49c)],'ShapeFlowChartConnectorIcon':g['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':g['ShapeFlowChartDecisionIcon'],'ShapeFlowChartDelayIcon':g['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':g[_0x398628(0x42d)],'ShapeFlowChartDocumentIcon':g['ShapeFlowChartDocumentIcon'],'ShapeFlowChartExtractIcon':g[_0x398628(0x444)],'ShapeFlowChartInputOutputIcon':g[_0x398628(0x2ad)],'ShapeFlowChartInternalStorageIcon':g[_0x398628(0x23a)],'ShapeFlowChartMagneticDiskIcon':g[_0x398628(0x288)],'ShapeFlowChartMagneticDrumIcon':g['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':g[_0x398628(0x369)],'ShapeFlowChartManualInputIcon':g['ShapeFlowChartManualInputIcon'],'ShapeFlowChartManualOperationIcon':g[_0x398628(0x304)],'ShapeFlowChartMergeIcon':g[_0x398628(0x370)],'ShapeFlowChartMultidocumentIcon':g[_0x398628(0x25d)],'ShapeFlowChartOfflineStorageIcon':g['ShapeFlowChartOfflineStorageIcon'],'ShapeFlowChartOffpageConnectorIcon':g['ShapeFlowChartOffpageConnectorIcon'],'ShapeFlowChartOnlineStorageIcon':g[_0x398628(0x4c0)],'ShapeFlowChartOrIcon':g[_0x398628(0x4e7)],'ShapeFlowChartPredefinedProcessIcon':g[_0x398628(0x411)],'ShapeFlowChartPreparationIcon':g[_0x398628(0x503)],'ShapeFlowChartProcessIcon':g[_0x398628(0x1c7)],'ShapeFlowChartPunchedCardIcon':g[_0x398628(0x313)],'ShapeFlowChartPunchedTapeIcon':g[_0x398628(0x153)],'ShapeFlowChartSortIcon':g[_0x398628(0x4be)],'ShapeFlowChartSummingJunctionIcon':g[_0x398628(0x3f1)],'ShapeFlowChartTerminatorIcon':g[_0x398628(0x47c)],'ShapeFolderCornerIcon':g[_0x398628(0x25b)],'ShapeFrameIcon':g[_0x398628(0x1ce)],'ShapeFunnelIcon':g['ShapeFunnelIcon'],'ShapeGear6Icon':g[_0x398628(0x1bc)],'ShapeGear9Icon':g['ShapeGear9Icon'],'ShapeHalfFrameIcon':g[_0x398628(0x24f)],'ShapeHeartIcon':g['ShapeHeartIcon'],'ShapeHeptagonIcon':g[_0x398628(0x445)],'ShapeHexagonIcon':g['ShapeHexagonIcon'],'ShapeHomePlateIcon':g[_0x398628(0x336)],'ShapeHorizontalScrollIcon':g[_0x398628(0x276)],'ShapeIrregularSeal1Icon':g['ShapeIrregularSeal1Icon'],'ShapeIrregularSeal2Icon':g['ShapeIrregularSeal2Icon'],'ShapeLeftArrowCalloutIcon':g[_0x398628(0x32f)],'ShapeLeftArrowIcon':g[_0x398628(0x4e8)],'ShapeLeftBraceIcon':g[_0x398628(0x186)],'ShapeLeftBracketIcon':g[_0x398628(0x349)],'ShapeLeftCircularArrowIcon':g[_0x398628(0x218)],'ShapeLeftRightArrowCalloutIcon':g[_0x398628(0x2a5)],'ShapeLeftRightArrowIcon':g[_0x398628(0x4d4)],'ShapeLeftRightCircularArrowIcon':g['ShapeLeftRightCircularArrowIcon'],'ShapeLeftRightRibbonIcon':g[_0x398628(0x43a)],'ShapeLeftRightUpArrowIcon':g[_0x398628(0x338)],'ShapeLeftUpArrowIcon':g[_0x398628(0x1be)],'ShapeLightningBoltIcon':g[_0x398628(0x13f)],'ShapeLineIcon':g['ShapeLineIcon'],'ShapeLineInvIcon':g['ShapeLineInvIcon'],'ShapeMathDivideIcon':g[_0x398628(0x453)],'ShapeMathEqualIcon':g['ShapeMathEqualIcon'],'ShapeMathMinusIcon':g['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':g[_0x398628(0x2ec)],'ShapeMathNotEqualIcon':g[_0x398628(0x419)],'ShapeMathPlusIcon':g[_0x398628(0x341)],'ShapeMoonIcon':g[_0x398628(0x4f5)],'ShapeNoSmokingIcon':g[_0x398628(0x425)],'ShapeNonIsoscelesTrapezoidIcon':g[_0x398628(0x29b)],'ShapeNotchedRightArrowIcon':g['ShapeNotchedRightArrowIcon'],'ShapeOctagonIcon':g[_0x398628(0x4ab)],'ShapeParallelogramIcon':g[_0x398628(0x44f)],'ShapePentagonIcon':g[_0x398628(0x4cb)],'ShapePieIcon':g[_0x398628(0x3a3)],'ShapePieWedgeIcon':g[_0x398628(0x4d2)],'ShapePlaqueIcon':g[_0x398628(0x3d3)],'ShapePlaqueTabsIcon':g[_0x398628(0x27c)],'ShapePlusIcon':g['ShapePlusIcon'],'ShapeQuadArrowCalloutIcon':g[_0x398628(0x200)],'ShapeQuadArrowIcon':g['ShapeQuadArrowIcon'],'ShapeRectIcon':g[_0x398628(0x20b)],'ShapeRectTextboxHorizontalIcon':g['ShapeRectTextboxHorizontalIcon'],'ShapeRectTextboxVerticalIcon':g[_0x398628(0x21a)],'ShapeRibbon2Icon':g[_0x398628(0x152)],'ShapeRibbonIcon':g[_0x398628(0x353)],'ShapeRightArrowCalloutIcon':g[_0x398628(0x473)],'ShapeRightArrowIcon':g[_0x398628(0x371)],'ShapeRightBraceIcon':g[_0x398628(0x465)],'ShapeRightBracketIcon':g[_0x398628(0x329)],'ShapeRound1RectIcon':g['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':g[_0x398628(0x3fa)],'ShapeRound2SameRectIcon':g[_0x398628(0x27f)],'ShapeRoundRectIcon':g[_0x398628(0x181)],'ShapeRtTriangleIcon':g[_0x398628(0x167)],'ShapeSmileyFaceIcon':g[_0x398628(0x143)],'ShapeSnip1RectIcon':g[_0x398628(0x3c7)],'ShapeSnip2DiagRectIcon':g[_0x398628(0x4f7)],'ShapeSnip2SameRectIcon':g['ShapeSnip2SameRectIcon'],'ShapeSnipRoundRectIcon':g['ShapeSnipRoundRectIcon'],'ShapeSquareTabsIcon':g[_0x398628(0x337)],'ShapeStar10Icon':g[_0x398628(0x50f)],'ShapeStar12Icon':g[_0x398628(0x1bd)],'ShapeStar16Icon':g[_0x398628(0x204)],'ShapeStar24Icon':g[_0x398628(0x4a7)],'ShapeStar32Icon':g['ShapeStar32Icon'],'ShapeStar4Icon':g[_0x398628(0x2b1)],'ShapeStar5Icon':g[_0x398628(0x2ce)],'ShapeStar6Icon':g[_0x398628(0x1eb)],'ShapeStar7Icon':g[_0x398628(0x4f6)],'ShapeStar8Icon':g[_0x398628(0x33e)],'ShapeStraightConnector1Icon':g[_0x398628(0x4f0)],'ShapeStraightConnector2Icon':g[_0x398628(0x2bd)],'ShapeStripedRightArrowIcon':g[_0x398628(0x1c4)],'ShapeSunIcon':g[_0x398628(0x2ed)],'ShapeSwooshArrowIcon':g[_0x398628(0x237)],'ShapeTeardropIcon':g[_0x398628(0x23e)],'ShapeTrapezoidIcon':g[_0x398628(0x4c1)],'ShapeTriangleIcon':g[_0x398628(0x47e)],'ShapeUpArrowCalloutIcon':g[_0x398628(0x34f)],'ShapeUpArrowIcon':g['ShapeUpArrowIcon'],'ShapeUpDownArrowCalloutIcon':g[_0x398628(0x1a3)],'ShapeUpDownArrowIcon':g[_0x398628(0x386)],'ShapeUturnArrowIcon':g['ShapeUturnArrowIcon'],'ShapeVerticalScrollIcon':g[_0x398628(0x417)],'ShapeWaveIcon':g[_0x398628(0x158)],'ShapeWedgeEllipseCalloutIcon':g['ShapeWedgeEllipseCalloutIcon'],'ShapeWedgeRectCalloutIcon':g[_0x398628(0x22d)],'ShapeWedgeRoundRectCalloutIcon':g['ShapeWedgeRoundRectCalloutIcon']}));}[_0x17015d(0x433)](){const _0x468529=_0x17015d;this['disposeWithMe'](this[_0x468529(0x450)]['register'](E,ge)),this[_0x468529(0x3f5)](this[_0x468529(0x450)][_0x468529(0x2fa)](H,ce)),this[_0x468529(0x3f5)](this[_0x468529(0x450)][_0x468529(0x2fa)](M,F)),this[_0x468529(0x3f5)](this[_0x468529(0x450)][_0x468529(0x2fa)](u[_0x468529(0x3c0)],P)),this['disposeWithMe'](this[_0x468529(0x450)][_0x468529(0x2fa)](_0x468529(0x3e0),_e));}};Y=k([O(0x0,(0x0,n[_0x17015d(0x1c6)])(c[_0x17015d(0x4bb)])),O(0x1,(0x0,n[_0x17015d(0x1c6)])(c['IconManager']))],Y);var ve=class extends o[_0x17015d(0x3df)]{constructor(_0x1133ed,_0x5f2527){const _0x29379b=_0x17015d;super(_0x1133ed,_0x5f2527),z(this,'_shapeId',null),z(this,'_adjName',null),z(this,_0x29379b(0x4ea),null),z(this,'_subUnitId',null),_0x5f2527&&this[_0x29379b(0x4ff)](_0x5f2527);}[_0x17015d(0x190)](){const _0xae4435=_0x17015d;return{'unitId':this[_0xae4435(0x4ea)],'subUnitId':this[_0xae4435(0x1ad)],'drawingId':this[_0xae4435(0x342)]};}[_0x17015d(0x4ff)](_0x3446a7){const _0x36d5d4=_0x17015d;_0x3446a7[_0x36d5d4(0x165)]!==void 0x0&&(this['_shapeId']=_0x3446a7[_0x36d5d4(0x165)]),_0x3446a7[_0x36d5d4(0x217)]!==void 0x0&&(this[_0x36d5d4(0x3ae)]=_0x3446a7['adjName']),_0x3446a7[_0x36d5d4(0x15b)]!==void 0x0&&(this[_0x36d5d4(0x4ea)]=_0x3446a7[_0x36d5d4(0x15b)]),_0x3446a7[_0x36d5d4(0x4f4)]!==void 0x0&&(this[_0x36d5d4(0x1ad)]=_0x3446a7[_0x36d5d4(0x4f4)]),this[_0x36d5d4(0x44d)]({'width':_0x3446a7['width'],'height':_0x3446a7[_0x36d5d4(0x4b8)]});}['_draw'](_0x56ea54){const _0x12ed00=_0x17015d;o[_0x12ed00(0x520)][_0x12ed00(0x279)](_0x56ea54,{'radius':t[_0x12ed00(0x42e)][_0x12ed00(0x2ae)],'fill':t[_0x12ed00(0x42e)][_0x12ed00(0x498)],'stroke':t[_0x12ed00(0x42e)][_0x12ed00(0x145)],'strokeWidth':0x1,'evented':!0x0});}};let X=class extends n[_0x17015d(0x413)]{constructor(_0x25c30d,_0x984ab7,_0x157c95,_0x446b54){const _0x1f62b5=_0x17015d;super(),this[_0x1f62b5(0x3e9)]=_0x25c30d,this[_0x1f62b5(0x270)]=_0x984ab7,this['_docsShapeService']=_0x157c95,this[_0x1f62b5(0x34a)]=_0x446b54,z(this,_0x1f62b5(0x29c),null),z(this,'_unitId',null),z(this,_0x1f62b5(0x1ad),null),z(this,'_activeShapeAdjustPointList',void 0x0),z(this,_0x1f62b5(0x1ca),[]),z(this,_0x1f62b5(0x343),0x0),z(this,'_baseShapeTop',0x0),z(this,_0x1f62b5(0x15d),0x0),z(this,_0x1f62b5(0x250),0x0),z(this,'_isStartAdjusting',!0x1),z(this,_0x1f62b5(0x2b4),!0x1),z(this,_0x1f62b5(0x525),void 0x0),z(this,_0x1f62b5(0x372),void 0x0),z(this,_0x1f62b5(0x466),void 0x0),z(this,_0x1f62b5(0x430),void 0x0),this[_0x1f62b5(0x46b)](),this['_registerDrawingTransformHandler']();}[_0x17015d(0x328)](){const _0x18ca96=_0x17015d;this[_0x18ca96(0x30b)]();}[_0x17015d(0x2f9)](){const _0x4a776c=_0x17015d;this[_0x4a776c(0x36b)](!0x0);}[_0x17015d(0x1fe)](_0x127b66,_0x57f5a9,_0x4282b2){const _0x3c39f9=_0x17015d;var _0x7ecfd0;return(_0x7ecfd0=this['_docsShapeService'][_0x3c39f9(0x282)](_0x127b66,_0x57f5a9,_0x4282b2))==null?void 0x0:_0x7ecfd0[_0x3c39f9(0x229)]();}[_0x17015d(0x2bc)](_0x3c9679,_0xbcf3fa,_0xd0a4ec,_0x1ba920){const _0x315b97=_0x17015d;var _0x27dcb5;return(_0x27dcb5=this[_0x315b97(0x51f)][_0x315b97(0x282)](_0x3c9679,_0xbcf3fa,_0xd0a4ec))==null?void 0x0:_0x27dcb5[_0x315b97(0x35b)](_0x1ba920);}[_0x17015d(0x187)](){const _0x3ebe29=_0x17015d;if(this[_0x3ebe29(0x4ea)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x3b3f85=this[_0x3ebe29(0x270)][_0x3ebe29(0x454)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']});return _0x3b3f85==null?null:_0x3b3f85;}['_getActiveDrawingShape'](_0x56029e){const _0x1b0e4c=_0x17015d;if(this['_unitId']===null||this[_0x1b0e4c(0x1ad)]===null||this[_0x1b0e4c(0x29c)]===null)return null;let _0x4514e8=(0x0,s['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x1b0e4c(0x4ea)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1b0e4c(0x29c)]}),_0x18f20f=_0x56029e[_0x1b0e4c(0x4df)](_0x4514e8);return _0x18f20f instanceof K?_0x18f20f:null;}['_createShapeAdjustControls'](_0x2b0c5e=!0x1){const _0x46a6a9=_0x17015d;if(this[_0x46a6a9(0x4ea)]===null||this[_0x46a6a9(0x1ad)]===null||this['_activeShapeId']===null)return;let _0x988a8c=this['_getActiveDrawingParam']();if((_0x988a8c==null?void 0x0:_0x988a8c[_0x46a6a9(0x319)])!==n['DrawingTypeEnum'][_0x46a6a9(0x1c1)]||!_0x988a8c[_0x46a6a9(0x2b5)])return;let _0x5b0f18=this['_docsShapeService'][_0x46a6a9(0x282)](this[_0x46a6a9(0x4ea)],this['_subUnitId'],this[_0x46a6a9(0x29c)]);if(!_0x5b0f18||_0x5b0f18['isLineShape']())return;(_0x2b0c5e||!this[_0x46a6a9(0x2d8)])&&(this[_0x46a6a9(0x2d8)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x46a6a9(0x1ad)],this['_activeShapeId']));let _0x474c0f=this[_0x46a6a9(0x2d8)];if(!(_0x474c0f!=null&&_0x474c0f[_0x46a6a9(0x377)]))return;let {scene:_0x36f1a3}=this[_0x46a6a9(0x3e9)],{left:_0x562784=0x0,top:_0x1bad19=0x0,width:_0x28c9cf=0x0,height:_0x39aa71=0x0,flipX:_0x3ed6f0,flipY:_0x574150,angle:_0x3dd375=0x0}=_0x988a8c[_0x46a6a9(0x2b5)];for(let _0x723a2f of _0x474c0f){let _0x1568da=this[_0x46a6a9(0x48b)](_0x723a2f,_0x28c9cf,_0x39aa71,!!_0x3ed6f0,!!_0x574150,_0x3dd375);this[_0x46a6a9(0x330)](_0x36f1a3,_0x1568da,_0x1568da[_0x46a6a9(0x217)],_0x562784,_0x1bad19,this[_0x46a6a9(0x4ea)],this[_0x46a6a9(0x1ad)]);}}['_toVisualAdjustPoint'](_0x2e4100,_0x5df795,_0x1e2218,_0x3cadbc,_0x12327e,_0x1ddce8){const _0x3fd7dc=_0x17015d;let _0x56866a=_0x2e4100['x'],_0xd1af8e=_0x2e4100['y'];if(_0x3cadbc&&(_0x56866a=_0x5df795-_0x56866a),_0x12327e&&(_0xd1af8e=_0x1e2218-_0xd1af8e),_0x1ddce8!==0x0){let _0x2bd520=_0x5df795/0x2,_0x20f90d=_0x1e2218/0x2,_0x1539b9=_0x1ddce8*Math['PI']/0xb4,_0x5ae940=Math['cos'](_0x1539b9),_0x1eb16d=Math[_0x3fd7dc(0x4ad)](_0x1539b9),_0x513dc8=_0x56866a-_0x2bd520,_0x1f4f1a=_0xd1af8e-_0x20f90d;_0x56866a=_0x2bd520+(_0x513dc8*_0x5ae940-_0x1f4f1a*_0x1eb16d),_0xd1af8e=_0x20f90d+(_0x513dc8*_0x1eb16d+_0x1f4f1a*_0x5ae940);}return{'x':_0x56866a,'y':_0xd1af8e,'adjName':_0x2e4100[_0x3fd7dc(0x217)]};}[_0x17015d(0x36b)](_0x31a371=!0x1){const _0x18ae5f=_0x17015d;_0x31a371&&this[_0x18ae5f(0x30b)](),this[_0x18ae5f(0x15e)](_0x31a371);}['_addShapeAdjustControl'](_0x10c7e4,_0x410c02,_0x460ace,_0x27c06a,_0x30bb61,_0x2b7258,_0x219d70){const _0xd4052=_0x17015d;if(!this[_0xd4052(0x29c)])return;let _0x547bf6='doc-shape-adjust-point-'+this[_0xd4052(0x29c)]+'-'+_0x460ace,_0x525f77=_0x10c7e4['getObjectIncludeInGroup'](_0x547bf6);if(_0x525f77){_0x525f77['transformByState']({'left':_0x410c02['x']+_0x27c06a-t[_0xd4052(0x42e)][_0xd4052(0x2ae)],'top':_0x410c02['y']+_0x30bb61-t[_0xd4052(0x42e)][_0xd4052(0x2ae)]}),_0x525f77['makeDirty'](!0x0);return;}let _0x4081ea=new ve(_0x547bf6,{'left':_0x410c02['x']+_0x27c06a-t[_0xd4052(0x42e)][_0xd4052(0x2ae)],'top':_0x410c02['y']+_0x30bb61-t[_0xd4052(0x42e)][_0xd4052(0x2ae)],'adjName':_0x460ace,'shapeId':this[_0xd4052(0x29c)],'unitId':_0x2b7258,'subUnitId':_0x219d70,'width':t[_0xd4052(0x42e)][_0xd4052(0x2ae)]+0x8,'height':t[_0xd4052(0x42e)]['adjHandleSize']+0x8,'zIndex':o[_0xd4052(0x26e)]+0x1,'evented':!0x0});this[_0xd4052(0x1ca)]['push'](_0x4081ea),this[_0xd4052(0x161)](_0x4081ea,_0x10c7e4,_0x460ace),_0x10c7e4[_0xd4052(0x3d6)](_0x4081ea,o[_0xd4052(0x26e)]+0x1);}[_0x17015d(0x30b)](){const _0x49f918=_0x17015d;this['_adjustPointObjects'][_0x49f918(0x183)](_0x1f7a7f=>_0x1f7a7f[_0x49f918(0x34c)]()),this[_0x49f918(0x1ca)]=[];}[_0x17015d(0x3d1)](){this['_createShapeAdjustControls']();}['_toScenePoint'](_0x3ba94d,_0x92a8a4,_0x24c4cf){const _0x411d77=_0x17015d;var _0x394325,_0x37156f;let _0x138fcf=o['Vector2'][_0x411d77(0x3b2)]([_0x92a8a4,_0x24c4cf]),_0x39665d=(_0x394325=_0x3ba94d[_0x411d77(0x4a6)](_0x138fcf))==null?_0x3ba94d[_0x411d77(0x516)]()[0x0]:_0x394325;return(_0x37156f=_0x39665d==null?void 0x0:_0x39665d[_0x411d77(0x3af)](_0x138fcf))==null?_0x138fcf:_0x37156f;}[_0x17015d(0x161)](_0x5708e9,_0x267b34,_0x37c359){const _0x419dcf=_0x17015d;this['disposeWithMe']((0x0,n[_0x419dcf(0x1c3)])(_0x5708e9[_0x419dcf(0x37e)]['subscribeEvent']((_0x2b0ee2,_0x8c7a3a)=>{const _0x346e8d=_0x419dcf;var _0x1bcdb5,_0x2aa438,_0x5ccb6e,_0x4191d6;let _0x4a0b94=_0x5708e9[_0x346e8d(0x190)]();this[_0x346e8d(0x525)]=this[_0x346e8d(0x2bc)](_0x4a0b94['unitId'],_0x4a0b94['subUnitId'],_0x4a0b94[_0x346e8d(0x312)],_0x37c359),this[_0x346e8d(0x372)]=this[_0x346e8d(0x51f)]['getShapeModel'](_0x4a0b94['unitId'],_0x4a0b94[_0x346e8d(0x4f4)],_0x4a0b94[_0x346e8d(0x312)]);let _0x5088c8=this[_0x346e8d(0x187)](),_0x55a05b=_0x5088c8==null?void 0x0:_0x5088c8['transform'];if(!_0x5088c8||!_0x55a05b||!this[_0x346e8d(0x372)])return;this[_0x346e8d(0x343)]=_0x55a05b[_0x346e8d(0x346)]||0x0,this[_0x346e8d(0x382)]=_0x55a05b['top']||0x0,this['_baseShapeWidth']=_0x55a05b[_0x346e8d(0x1e1)]||0x0,this['_baseShapeHeight']=_0x55a05b[_0x346e8d(0x4b8)]||0x0;let _0x5534d3=!!_0x55a05b[_0x346e8d(0x307)],_0x173e83=!!_0x55a05b[_0x346e8d(0x1f1)],_0x1ec1da=_0x55a05b[_0x346e8d(0x327)]||0x0,_0x44fc45=((_0x1bcdb5=this[_0x346e8d(0x525)])==null?void 0x0:_0x1bcdb5[_0x346e8d(0x4c7)])||((_0x2aa438=this[_0x346e8d(0x525)])==null?void 0x0:_0x2aa438[_0x346e8d(0x1e3)])||((_0x5ccb6e=this[_0x346e8d(0x525)])==null?void 0x0:_0x5ccb6e[_0x346e8d(0x2a7)])||((_0x4191d6=this[_0x346e8d(0x525)])==null?void 0x0:_0x4191d6['gdRefR'])||_0x37c359,_0x5c11d8=this[_0x346e8d(0x372)]['getAdjustValueByName'](_0x44fc45),_0x43e395={[_0x44fc45]:_0x5c11d8};this[_0x346e8d(0x3fe)]=!0x0,_0x267b34['disableObjectsEvent'](),this[_0x346e8d(0x466)]=_0x267b34['onPointerMove$'][_0x346e8d(0x29a)]((_0x3d514b,_0x3c9c25)=>{const _0x4be7d7=_0x346e8d;var _0x12eac6;if(!this[_0x4be7d7(0x3fe)]||!this[_0x4be7d7(0x372)]||!this[_0x4be7d7(0x525)])return;_0x267b34[_0x4be7d7(0x4a4)](),_0x267b34[_0x4be7d7(0x442)](o[_0x4be7d7(0x1ab)][_0x4be7d7(0x39e)]);let _0x2d2f17=this[_0x4be7d7(0x299)](_0x267b34,_0x3d514b[_0x4be7d7(0x2aa)],_0x3d514b['offsetY']),_0x151b90=_0x2d2f17['x']-this[_0x4be7d7(0x343)],_0x3298be=_0x2d2f17['y']-this[_0x4be7d7(0x382)];if(_0x1ec1da!==0x0){let _0x4957c8=this['_baseShapeWidth']/0x2,_0x42814d=this[_0x4be7d7(0x250)]/0x2,_0xafa782=_0x1ec1da*Math['PI']/0xb4,_0xaf3f8c=Math['cos'](_0xafa782),_0x52c82e=Math[_0x4be7d7(0x4ad)](_0xafa782),_0x4ffecc=_0x151b90-_0x4957c8,_0x3c5211=_0x3298be-_0x42814d;_0x151b90=_0x4957c8+(_0x4ffecc*_0xaf3f8c+_0x3c5211*_0x52c82e),_0x3298be=_0x42814d+(-_0x4ffecc*_0x52c82e+_0x3c5211*_0xaf3f8c);}_0x5534d3&&(_0x151b90=this[_0x4be7d7(0x15d)]-_0x151b90),_0x173e83&&(_0x3298be=this[_0x4be7d7(0x250)]-_0x3298be);let _0x148e0c={'left':0x0,'top':0x0,'width':this[_0x4be7d7(0x15d)],'height':this[_0x4be7d7(0x250)]},_0x192c3d=this['_activeShapeModel'][_0x4be7d7(0x4aa)](_0x148e0c,{'x':_0x151b90,'y':_0x3298be},this[_0x4be7d7(0x525)],_0x5534d3,_0x173e83),_0x197950=this['_activeAdjustInfo'][_0x4be7d7(0x4c7)]||this['_activeAdjustInfo'][_0x4be7d7(0x1e3)]||this[_0x4be7d7(0x525)][_0x4be7d7(0x2a7)]||this[_0x4be7d7(0x525)]['gdRefR'];_0x197950!==void 0x0&&(this[_0x4be7d7(0x372)][_0x4be7d7(0x429)](_0x197950,_0x192c3d),(_0x12eac6=this['_getActiveDrawingShape'](_0x267b34))==null||_0x12eac6[_0x4be7d7(0x1fa)](!0x0),this[_0x4be7d7(0x2d8)]=this['_getShapeAdjustPointListById'](_0x4a0b94[_0x4be7d7(0x15b)],_0x4a0b94[_0x4be7d7(0x4f4)],_0x4a0b94['drawingId']),this['_updateAdjustControlPositions'](),_0x3c9c25[_0x4be7d7(0x219)]());}),this[_0x346e8d(0x430)]=_0x267b34[_0x346e8d(0x20c)]['subscribeEvent']((_0x55d550,_0x191cfb)=>{const _0x54bbff=_0x346e8d;var _0x25fb60,_0x3dea7f;(_0x25fb60=this['_adjHandlerPointerMove'])==null||_0x25fb60['unsubscribe'](),(_0x3dea7f=this[_0x54bbff(0x430)])==null||_0x3dea7f[_0x54bbff(0x213)](),_0x267b34[_0x54bbff(0x439)]();let _0x14d43b=this[_0x54bbff(0x525)];if(_0x14d43b&&this[_0x54bbff(0x372)]){let _0xb2ff09=_0x14d43b['gdRefX']||_0x14d43b[_0x54bbff(0x1e3)]||_0x14d43b[_0x54bbff(0x2a7)]||_0x14d43b[_0x54bbff(0x321)];if(_0xb2ff09!==void 0x0){let _0x1a4399=this[_0x54bbff(0x372)][_0x54bbff(0x2ab)](_0xb2ff09);_0x1a4399!==void 0x0&&V(this[_0x54bbff(0x34a)],_0x4a0b94[_0x54bbff(0x15b)],_0x4a0b94['subUnitId'],_0x4a0b94[_0x54bbff(0x312)],{'oldShapeData':{'adjustValues':_0x43e395}},{'adjustValues':{[_0xb2ff09]:_0x1a4399}});}}this[_0x54bbff(0x525)]=void 0x0,this[_0x54bbff(0x372)]=void 0x0,this[_0x54bbff(0x3fe)]=!0x1,_0x267b34[_0x54bbff(0x3c6)](),_0x191cfb['stopPropagation']();}),_0x8c7a3a['stopPropagation']();})));}[_0x17015d(0x4bc)](){const _0x4b7c09=_0x17015d;let {scene:_0x506777}=this[_0x4b7c09(0x3e9)],_0x3abe90=_0x506777[_0x4b7c09(0x311)]();this[_0x4b7c09(0x3f5)](_0x3abe90[_0x4b7c09(0x506)][_0x4b7c09(0x1f0)](_0x25ff17=>{const _0x577632=_0x4b7c09;this[_0x577632(0x15e)](),_0x25ff17[_0x577632(0x215)]!==null&&_0x25ff17[_0x577632(0x215)][_0x577632(0x286)]===0x1&&_0x25ff17['objects']['values']()[_0x577632(0x1e0)]()['value']instanceof K&&(this[_0x577632(0x2b4)]=!0x0);})),this[_0x4b7c09(0x3f5)](_0x3abe90[_0x4b7c09(0x14d)][_0x4b7c09(0x1f0)](()=>{const _0x4d59c8=_0x4b7c09;this[_0x4d59c8(0x2b4)]&&this[_0x4d59c8(0x30b)]();})),this[_0x4b7c09(0x3f5)](_0x506777['onPointerUp$'][_0x4b7c09(0x29a)](()=>{const _0x5c86a0=_0x4b7c09;this[_0x5c86a0(0x2b4)]&&(this[_0x5c86a0(0x2b4)]=!0x1,this[_0x5c86a0(0x15e)]());})),this[_0x4b7c09(0x3f5)](_0x3abe90[_0x4b7c09(0x463)][_0x4b7c09(0x1f0)](()=>{const _0x332167=_0x4b7c09;this[_0x332167(0x4ea)]&&this[_0x332167(0x1ad)]&&this[_0x332167(0x29c)]&&(this[_0x332167(0x2d8)]=this[_0x332167(0x1fe)](this['_unitId'],this['_subUnitId'],this[_0x332167(0x29c)]),this[_0x332167(0x3d1)]());}));}[_0x17015d(0x46b)](){const _0x579e64=_0x17015d;this[_0x579e64(0x3f5)](this['_drawingManagerService']['focus$']['subscribe'](_0x3779db=>{const _0x4e34fe=_0x579e64;if(_0x3779db[_0x4e34fe(0x377)]===0x1){let _0xd87c29=_0x3779db[0x0],_0x24d7da=this[_0x4e34fe(0x270)][_0x4e34fe(0x454)](_0xd87c29);if((_0x24d7da==null?void 0x0:_0x24d7da['drawingType'])===n[_0x4e34fe(0x42b)]['DRAWING_SHAPE']){this[_0x4e34fe(0x29c)]=_0xd87c29[_0x4e34fe(0x312)],this[_0x4e34fe(0x4ea)]=_0xd87c29[_0x4e34fe(0x15b)],this[_0x4e34fe(0x1ad)]=_0xd87c29[_0x4e34fe(0x4f4)],this['_activeShapeAdjustPointList']=this[_0x4e34fe(0x1fe)](_0xd87c29['unitId'],_0xd87c29[_0x4e34fe(0x4f4)],_0xd87c29[_0x4e34fe(0x312)]),this[_0x4e34fe(0x30b)](),this[_0x4e34fe(0x15e)]();return;}}this[_0x4e34fe(0x29c)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4e34fe(0x4ea)]=null,this[_0x4e34fe(0x1ad)]=null,this['_clearShapeAdjustControls']();})),this[_0x579e64(0x3f5)](this[_0x579e64(0x270)][_0x579e64(0x2dc)]['subscribe'](_0xe16faa=>{const _0x3476f4=_0x579e64;if(_0xe16faa[_0x3476f4(0x377)]===0x1){var _0x213de4;((_0x213de4=this[_0x3476f4(0x270)][_0x3476f4(0x454)](_0xe16faa[0x0]))==null?void 0x0:_0x213de4[_0x3476f4(0x319)])===n[_0x3476f4(0x42b)]['DRAWING_SHAPE']&&this[_0x3476f4(0x36b)](!0x0);}})),this[_0x579e64(0x3f5)](this[_0x579e64(0x270)][_0x579e64(0x526)]['subscribe'](_0x483b64=>{const _0xab71ac=_0x579e64;for(let _0x2cba57 of _0x483b64)this[_0xab71ac(0x29c)]===_0x2cba57['drawingId']&&(this[_0xab71ac(0x29c)]=null,this[_0xab71ac(0x2d8)]=void 0x0,this[_0xab71ac(0x4ea)]=null,this[_0xab71ac(0x1ad)]=null,this[_0xab71ac(0x30b)]());}));}};X=k([O(0x1,s['IDrawingManagerService']),O(0x2,(0x0,n[_0x17015d(0x1c6)])(e[_0x17015d(0x2df)])),O(0x3,n['ICommandService'])],X);function ye(_0x149971,_0x5f38b8){const _0x181ac6=_0x17015d;let _0x27f21b=_0x149971;for(;_0x27f21b;){if(_0x5f38b8(_0x27f21b))return _0x27f21b;_0x27f21b=typeof _0x27f21b[_0x181ac6(0x3ec)]==_0x181ac6(0x23d)?_0x27f21b[_0x181ac6(0x3ec)]():null;}return null;}function be(_0x50500c){return ye(_0x50500c,_0x50d636=>_0x50d636 instanceof K);}let Z=class extends n[_0x17015d(0x413)]{constructor(_0x1d8be5,_0x22458c,_0x401e42,_0x1ae146,_0x5bc1fa){const _0x506cd5=_0x17015d;super(),this[_0x506cd5(0x3e9)]=_0x1d8be5,this[_0x506cd5(0x1ea)]=_0x22458c,this['_drawingManagerService']=_0x401e42,this[_0x506cd5(0x505)]=_0x1ae146,this[_0x506cd5(0x51f)]=_0x5bc1fa,z(this,_0x506cd5(0x522),null),this[_0x506cd5(0x332)](),this[_0x506cd5(0x2de)](),this[_0x506cd5(0x2f5)]();}[_0x17015d(0x332)](){const _0x39e9af=_0x17015d;let {scene:_0x38d5d9}=this[_0x39e9af(0x3e9)];this[_0x39e9af(0x3f5)](_0x38d5d9[_0x39e9af(0x31c)][_0x39e9af(0x29a)](_0x47ac9b=>{const _0x343dd6=_0x39e9af;var _0x37413d;let {offsetX:_0x4b59e8,offsetY:_0x2acae8}=_0x47ac9b,_0x2a34bc=o[_0x343dd6(0x14c)][_0x343dd6(0x3b2)]([_0x4b59e8,_0x2acae8]),_0x27fdc3=(_0x37413d=be(_0x38d5d9[_0x343dd6(0x394)](_0x2a34bc)))==null?this[_0x343dd6(0x18c)](_0x2a34bc):_0x37413d;if(_0x27fdc3){if((0x0,t[_0x343dd6(0x334)])(this[_0x343dd6(0x51f)][_0x343dd6(0x4ed)](_0x27fdc3[_0x343dd6(0x15b)],_0x27fdc3[_0x343dd6(0x4f4)],_0x27fdc3[_0x343dd6(0x165)])))return;this[_0x343dd6(0x1ea)][_0x343dd6(0x3aa)]({'visible':!0x0,'unitId':_0x27fdc3[_0x343dd6(0x15b)],'subUnitId':_0x27fdc3[_0x343dd6(0x4f4)],'shapeId':_0x27fdc3[_0x343dd6(0x165)],'shapeKey':_0x27fdc3['oKey']});}}));}[_0x17015d(0x18c)](_0x2b50e3){const _0x399257=_0x17015d;let {scene:_0x520120}=this[_0x399257(0x3e9)],_0x32f901=this[_0x399257(0x270)][_0x399257(0x266)]()[_0x399257(0x169)](_0x5787b2=>_0x520120['getObjectIncludeInGroup']((0x0,s[_0x399257(0x3cb)])(_0x5787b2)))['find'](_0x488161=>_0x488161 instanceof K&&_0x488161['isHit'](_0x2b50e3));return _0x32f901==null?null:_0x32f901;}[_0x17015d(0x2de)](){const _0x21bf6b=_0x17015d;this[_0x21bf6b(0x3f5)](this[_0x21bf6b(0x270)][_0x21bf6b(0x264)][_0x21bf6b(0x1f0)](_0x43dc0c=>{const _0x679ca6=_0x21bf6b;if(_0x43dc0c[_0x679ca6(0x377)]===0x1){let _0x20183b=_0x43dc0c[0x0],_0x53938c=this[_0x679ca6(0x270)][_0x679ca6(0x454)](_0x20183b);if((_0x53938c==null?void 0x0:_0x53938c['drawingType'])===n[_0x679ca6(0x42b)][_0x679ca6(0x1c1)]){let _0x39b65c=this[_0x679ca6(0x1ea)][_0x679ca6(0x45b)]();if((_0x39b65c==null?void 0x0:_0x39b65c[_0x679ca6(0x165)])===_0x20183b[_0x679ca6(0x312)]&&_0x39b65c[_0x679ca6(0x2a9)])return;(0x0,t[_0x679ca6(0x334)])(this[_0x679ca6(0x51f)][_0x679ca6(0x4ed)](_0x20183b[_0x679ca6(0x15b)],_0x20183b[_0x679ca6(0x4f4)],_0x20183b[_0x679ca6(0x312)]))&&this['_shapeTextEditingService'][_0x679ca6(0x3aa)](null);}else this['_shapeTextEditingService'][_0x679ca6(0x45b)]()&&(this['_shapeTextEditingService'][_0x679ca6(0x4f2)](!0x0),requestAnimationFrame(()=>{const _0x5cb4d5=_0x679ca6;this[_0x5cb4d5(0x1ea)][_0x5cb4d5(0x3aa)](null);}));}else this['_shapeTextEditingService'][_0x679ca6(0x45b)]()&&(this[_0x679ca6(0x1ea)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this['disposeWithMe'](this['_drawingManagerService']['remove$'][_0x21bf6b(0x1f0)](_0x31b4f6=>{const _0x196fb4=_0x21bf6b;let _0x4ef6fe=this[_0x196fb4(0x1ea)][_0x196fb4(0x45b)]();_0x4ef6fe&&_0x31b4f6['some'](_0x109cc5=>_0x109cc5[_0x196fb4(0x312)]===_0x4ef6fe[_0x196fb4(0x165)])&&this[_0x196fb4(0x1ea)]['setEditing'](null);}));}['_initEditingParams'](){const _0x514ac2=_0x17015d;this[_0x514ac2(0x3f5)](this[_0x514ac2(0x1ea)][_0x514ac2(0x2d1)][_0x514ac2(0x1f0)](_0x4c6f66=>{const _0x1cd3ce=_0x514ac2;let {scene:_0x180d3e}=this[_0x1cd3ce(0x3e9)];if(this['_lastEditingShapeKey']){let _0x36b5b6=_0x180d3e[_0x1cd3ce(0x4df)](this[_0x1cd3ce(0x522)]);_0x36b5b6&&_0x36b5b6[_0x1cd3ce(0x3aa)](!0x1);}if(_0x4c6f66){let _0x13582f=!!_0x4c6f66['visible'],_0x1c05e1=_0x180d3e['getObjectIncludeInGroup'](_0x4c6f66[_0x1cd3ce(0x2d9)]);_0x1c05e1&&(_0x1c05e1[_0x1cd3ce(0x3aa)](_0x13582f),this['_lastEditingShapeKey']=_0x4c6f66[_0x1cd3ce(0x2d9)]),this['_contextService']['setContextValue'](n[_0x1cd3ce(0x4a8)],_0x13582f);}else this[_0x1cd3ce(0x522)]=null,this[_0x1cd3ce(0x505)][_0x1cd3ce(0x20f)](n[_0x1cd3ce(0x4a8)],!0x1);}));}};Z=k([O(0x1,(0x0,n['Inject'])(B)),O(0x2,s[_0x17015d(0x283)]),O(0x3,n[_0x17015d(0x1d2)]),O(0x4,(0x0,n[_0x17015d(0x1c6)])(e['DocsShapeService']))],Z);function xe(){const _0x38d9a=_0x17015d;return(0x0,f[_0x38d9a(0x14f)])(m[_0x38d9a(0x258)],{});}let Q=class extends m[_0x17015d(0x191)]{constructor(_0x5cb0be,_0x4e9915,_0x593c52,_0x7bd2c8,_0x3fad59){const _0x4088cf=_0x17015d;super(_0x5cb0be,_0x4e9915,_0x593c52,_0x7bd2c8,_0x3fad59,{'componentKey':_0x4088cf(0x344),'editorUnitId':D,'toolbarComponent':xe});}};Q=k([O(0x1,(0x0,n[_0x17015d(0x1c6)])(r[_0x17015d(0x19b)])),O(0x2,(0x0,n[_0x17015d(0x1c6)])(a['DocCanvasPopManagerService'])),O(0x3,(0x0,n['Inject'])(c[_0x17015d(0x4bb)])),O(0x4,(0x0,n['Inject'])(a[_0x17015d(0x253)]))],Q);let $=class extends n[_0x17015d(0x381)]{constructor(_0x1a1e33=G,_0x32babe,_0x117c62,_0x317247,_0x219a3f){const _0x5ee52a=_0x17015d;super(),this[_0x5ee52a(0x2ca)]=_0x1a1e33,this[_0x5ee52a(0x160)]=_0x32babe,this['_commandService']=_0x117c62,this[_0x5ee52a(0x2f4)]=_0x317247,this[_0x5ee52a(0x496)]=_0x219a3f;let {menu:_0x4c36ce,..._0x45f4d0}=(0x0,n[_0x5ee52a(0x196)])({},G,this[_0x5ee52a(0x2ca)]);_0x4c36ce&&this[_0x5ee52a(0x2f4)][_0x5ee52a(0x3d9)](_0x5ee52a(0x2c5),_0x4c36ce,{'merge':!0x0}),this[_0x5ee52a(0x2f4)][_0x5ee52a(0x3d9)](_0x5ee52a(0x397),_0x45f4d0),this[_0x5ee52a(0x267)]();}['onStarting'](){const _0x115b41=_0x17015d;this[_0x115b41(0x160)][_0x115b41(0x1dd)]([Y]),this[_0x115b41(0x160)][_0x115b41(0x1b9)](Y),(0x0,n[_0x115b41(0x4ba)])(this['_injector'],[[W],[J],[q],[X],[A],[B]]),this[_0x115b41(0x235)]();}[_0x17015d(0x45c)](){const _0x36f6dc=_0x17015d;this[_0x36f6dc(0x496)]['registerRenderModule'](n[_0x36f6dc(0x1a2)][_0x36f6dc(0x244)],[X]),this['_renderManagerService'][_0x36f6dc(0x510)](n[_0x36f6dc(0x1a2)]['UNIVER_DOC'],[Z]),this['_renderManagerService'][_0x36f6dc(0x510)](n['UniverInstanceType'][_0x36f6dc(0x244)],[Q]),(0x0,n[_0x36f6dc(0x4d0)])(this['_injector'],[[W],[J],[q],[A],[B]]);}[_0x17015d(0x267)](){const _0x43094f=_0x17015d;[C,w,T][_0x43094f(0x183)](_0x3e7ee9=>this[_0x43094f(0x3f5)](this[_0x43094f(0x34a)][_0x43094f(0x47f)](_0x3e7ee9)));}[_0x17015d(0x235)](){const _0x54d684=_0x17015d;let _0x3b6859=this['_injector'],_0x2078ce=_0x3b6859[_0x54d684(0x1b9)](c[_0x54d684(0x2b2)]);this[_0x54d684(0x3f5)](_0x2078ce[_0x54d684(0x3bc)](c['BuiltInUIPart'][_0x54d684(0x2c6)],()=>(0x0,c[_0x54d684(0x17e)])(_e,_0x3b6859)));}};z($,_0x17015d(0x37d),n[_0x17015d(0x1a2)][_0x17015d(0x244)]),z($,'pluginName',_0x17015d(0x45e)),z($,_0x17015d(0x314),le),z($,_0x17015d(0x527),ue),$=k([(0x0,n['DependentOn'])(h[_0x17015d(0x50b)],i[_0x17015d(0x4b7)],e[_0x17015d(0x3a2)]),O(0x1,(0x0,n['Inject'])(n[_0x17015d(0x1af)])),O(0x2,n[_0x17015d(0x1cc)]),O(0x3,n[_0x17015d(0x3c9)]),O(0x4,o[_0x17015d(0x325)])],$),exports['CloseDocShapeFormatPanelOperation']=w,Object[_0x17015d(0x1d6)](exports,_0x17015d(0x43c),{'enumerable':!0x0,'get':function(){return W;}}),exports[_0x17015d(0x345)]=C,exports['OpenDocShapeFormatPanelOperation']=T,Object['defineProperty'](exports,_0x17015d(0x278),{'enumerable':!0x0,'get':function(){return $;}});
|