@univerjs-pro/docs-shape-ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/update-doc-drawing-metadata.command.d.ts +15 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/controllers/shape-text-editing.render-controller.d.ts +2 -3
- package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
- package/lib/types/view-model/drawing-shape.d.ts +2 -0
- package/lib/types/view-model/shape-data-model.d.ts +8 -0
- package/lib/types/views/ShapeOptions.d.ts +26 -0
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +1 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
- package/lib/types/views/shapes.d.ts +58 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4042(){const _0x15b2f9=['setPrstGeom','canvas','OFFSET','backward','applyQuickStyleToShapeData','setFillImage','docs-shape-ui.ribbon.shape-format.arrange-forward','FromArray','activeTarget','filter','symbol','UniverDrawingPlugin','transform','useId','_applyFormulaAutoFitSize','resolveShapeTextEditorBehaviorShapeData','skeFooters','pageWidth','ShapeTextFloatMenuRenderControllerBase','UniverDocsDrawingMobileUIPlugin','SolidLine','packageName','_formulaShapes','adjName','getMenuHiddenObservable','_univerInstanceService','move-down-icon','docs-shape-ui.textWrap.topAndBottom','_disposePopupsByUnit','UpdateDocDrawingWrappingStyleCommand','_addShapeAdjustControl','getInterceptPoints','focus$','6782212WWgcPb','toStringTag','doc.image-clip.shape-picker.component','getSkeletonData','top','Observable','updateDocumentStyle','clip','UpdateDrawingDocTransformCommand','setPresentation','canDispose','_updateShape','_popupTargetKeys','createElement','registerRenderModule','setShapeProps','UNIVER_DOC','_renderWithCache','resolveActiveShapeQuickStylePresetId','resolveShapeTextDocumentRenderLayout','_configService','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','disconnect','getShapeTextRect','_loadAndSetImage','MobileShapePickerPanel','_handleCreateControl','rxjs','Documents','drawing','call','_measure','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','M2\x203h16M2\x2017h16','IMenuManagerService','drawing-ui.objectListPanel.name','calculate','cloneShapeDataForType','UniverDocs','plainShapeTextToDocumentData','MobileShapeEditorService','transformByState','BEHIND_TEXT','icon','defIds','PictureFill','setConfig','_contextService','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getRealBound','viewBox','_initUIPart','_context','pipe','isolated','addObject','moveRange','_setTransForm','MoveDownIcon','FOCUSING_SHAPE_TEXT_EDITOR','parent','onDblclick$','_lastEditingShapeKey','_shapeRenderController','UniverDocsShapePlugin','getCurrentTypeOfUnit$','PositionedObjectLayoutType','ComponentManager','ShapeIcon','disableObjectsEvent','IN_FRONT_OF_TEXT','beginPath','vectorEffect','docs-shape-ui.crop.shape','_drawSimpleText','renderDrawingShape','DEFAULT_DOC_SHAPE_WIDTH','useLayoutEffect','onSavingEditorData$','-layout','_isShouldShowDrawingShapeAdjust','drawing-ui.objectListPanel.moveBackward','_instanceService','drawing-ui.objectListPanel.search','_clearCompletionFrame','_shapeFormulaService','docs-shape-ui.mobile.style','docs-shape-format-font-family-menu','_drawRichTextLayer','updateShapeFillImage','_completionFrame','shapeKey','stroke','FloatingObjectToolbarPosition','Medium','syncExecuteCommand','min','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','children','UniverDocsShapeUIPlugin','shape-format-setting-icon','drawing-ui.objectListPanel.showAll','_componentManager','MenuItemType','mask','_getActiveDrawingParam','WRAP_NONE','5.5','MobileObjectListPanel','adjHandleFill','endArrow','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape-format.wrapping-style-label','DEFAULT_DOC_SHAPE_HEIGHT','ObjectPermissionButton','getDocumentEntityParentPermissionObjectIds','inline','DocSelectionRenderService','RENDER_CLASS_TYPE','IRenderManagerService','isEditing','attachTransformerTo','entries','height','17552952UVlvRT','_registerOperations','_docLayoutInteractionService','_editingParams$','UniverEngineRender','ShapeRenderModeEnum','UniverDocsDrawingUIPlugin','_transform','resolveShapeTextEditorWrapStrategy','UniverProtocol','UniverDocsDrawing','DocumentEntity','attachPopupToObject','useDependency','doc.shape.text.float-menu','useEffect','onPointerUp$','ShapeTextEditorContainer','toPrimitive','docs-shape-ui.openPanel','UniverDesign','bindRenderTransformerLifecycle','shapeId','MoveUpIcon','ShapeTypeEnum','docs-shape-ui.shape-format.quick-style-gallery','render','Vector2','BUTTON','_toVisualAdjustPoint','shape-text-','push','VerticalAlign','UniverShapeEditorPlugin','visible','drawing-ui.objectListPanel.dragToReorder','includes','createInternalEditorID','UniverDocsPlugin','drawingType','displayName','createShapeFormulaDocument','subscribe','DocsShapeUIMenuSchema','parseFloat','viewBound','@univerjs/docs-drawing','Line','clearAdjustValue','xlink:href','contentVerticalOffset','drawing-ui.objectListPanel.details','completeEditing','observe','applyPoint','getDrawingEffectBounds','getShapeTextData','getObjectListPanelSectionIdForDrawingType','_isOpenedShapeEditPanel','_docsShapeService','composeMatrix','target','getDrawingByParam','subscribeEvent','pluginName','_docCanvasPopManagerService','0.8','MenuManagerPosition','ArrangeTypeEnum','ShapeFloatingToolbarToggleFactory','DocSelectionManagerService','getDrawingData','none','TopmostIcon','_sidebarDisposable','url(#$1','_registerPickers','getSelectedObjectMap','map','shape-editor-ui.toolbar.changeShape','HorizontalAlign','_createShapeAdjustControls','sectionFloating','ShapeTextRibbonControl','IPermissionService','DependentOn','docs-shape-ui.shape-format.formula-ribbon-control','src','UniverProEngineShape','originalStrokeWidth','cos','forEach','M4.2\x208.3H6.8','BehaviorSubject','skeDrawings','getEditing','DRAWING_SHAPE','_mobileEditorService','object','flipY','ShapeQuickStyleGallery','DocDrawingPosition','Module','UpdateDocShapeDataCommand','INLINE','text','featurePluginUpdateNotification','DOCS_COMPONENT_MAIN_LAYER_INDEX','clipHeight','getShapeDataById','FOCUSING_COMMON_DRAWINGS','next','getDrawingSearch','1em','MoreDownIcon','getShapeType','createShapeTextBoxShapeData','1.2','_updateAdjustControlPositions','getShapeQuickStylePreset','None','values','_canEditShape','getPageDrawingIds','IContextService','span','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','ancestorTransform','docs-shape-ui.hidePanel','docs-shape-ui.textWrap.square','canvasElement','IConfigService','UniverProDocsShape','BottomIcon','open','strokeWidth','_props','params','engine','object-layers-icon','drawingId','max','_subUnitId','UniverDocsMobileUIPlugin','UUID','doc.shape.floating-toolbar','_onSavingEditorData$','docs-shape-ui.objectListPanel.open','getTransformerByCreate','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','setCollapsedIds','UNIVER_SHEET','splice','querySelectorAll','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','docs-shape-ui.textWrap.inline','onReady','univer-grid\x20univer-gap-3','0\x200\x2020\x2020','text-wrap-shape-icon','@univerjs/docs-ui','getDrawingPoints','find','fallbackHeight','getOwnPropertyDescriptor','_registerComponents','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','http://www.w3.org/2000/svg','_getShapeAdjustInfosById','animateFormulaPresentation','9149EQBFIB','unsubscribe','shapeType','hideContextualTab','multiply','ShapeArrowTypeEnum','docs-shape-ui.formatShape','showContextualTab','vertical-center','jsx','docs-shape-ui.ribbon.shape-format.formula-control','_initEditingParams','@univerjs-pro/docs-shape','appliedStrokeWidth','defs','round','_popupMenuListener','shape-editor-ui.arrange.front','_docDrawingShapeRenderController','UniverIcon','_initCommands','getAdjustValueByName','Disposable','DocsShapeWrapBehindTextIcon','drawing-ui.objectListPanel.unlock','setCanUseShapeClip','ShapeTextHyperLinkPopupService','getDrawingOrder','_endLayoutInteraction','length','registerCommand','3254508UOkTgb','UniverProLicense','priority','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','TextWrappingStyle','_initEvents','getUnitType','_drawRichText','getShapeTypeById','description','paragraphMenuPlacement','_commandService','restore','stopPropagation','docs-shape-ui.quickStyles','MobileShapeEditorControls','name','clearAdjustControls','removeProperty','UniverDocsUi','Transform','DocumentViewModel','resize','docs-shape-ui.textWrap.behindText','div','_registerIcons','touchDependencies','univer-box-border\x20univer-px-4\x20univer-text-sm','_insertShapes','setFormulaPresentation','path','_baseShapeHeight','isHit','drawing-ui.objectListPanel.lock','Large','2514CjCFyX','more-up-icon','isFinite','extraProps','ShapePickerDropdown','skeTables','UniverRenderEnginePlugin','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','style','hasAttribute','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','setProperty','add','clearActiveDrawingObjects','version','endOffset','square','vertical','shapeModel','UpdateDocDrawingMetadataCommand','skeHeaders','isInGroup','docs-shape-ui.ribbon.shape-format.arrange-backward','getDrawingTypeNameKey','width','below','resolveShapeContextualRibbonHostMode','TextWrapShapeIcon','reverse','clipTop','UniverDocsDrawingUi','changing$','disposeWithMe','UniverUi','merge','ImageSourceTypeEnum','_ribbonService','ShapeFloatingToolbar','layoutType','title','menuRange','MobileDocDrawingPosition','SELECTOR','spaceBelowApply','@univerjs/drawing','close','Rect','DocEventManagerService','doc.shape.object-list.panel','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','value','back','0\x200\x2017\x2016','insertGroupObject','getSelfOrHeaderFooterModel','getActualSize','calcAdjValues','_activeShapeInfo','scale','SpAutoFit','react/jsx-runtime','LAYOUT','Inject','UniverDrawing','docs-shape-ui.deleteShape','isLineShape','startOffset','Fragment','_adjustPointObjects','shape-editor-ui.toolbar.quickStyles','DocumentSkeleton','UniverDocsShapeMobileUIPlugin','svg','UniverProShapeEditor','DOC_PARAGRAPH_T_INSERT_MENU_ID','shapeData','extensionGroups','UpdateDocShapeDataMutation','left','actualHeight','docs-shape-ui.ribbon.shape-format','paragraphs','fillImageSourceType','_releaseRenderCache','jsxs','behind','prototype','getImageSourceCache','_getFocusedShapeAtPoint','asObservable','@univerjs-pro/shape-editor-ui','TOP','true','Image','decorate','GROUP','docs-shape-ui.shape-format.text-ribbon-control','resolveShapeTextBodyBehavior','COMMAND','string','currentColor','localeService','_shapeTextEditingService','getDrawingShapeKeyByDrawingSearch','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','INSERT_BELLOW_MENU_ID','strokeOpacity','IURLImageService','DocumentDataModel','label','shape-editor-ui.arrange.backward','0.14','setContextValue','docs-shape-ui.config','drawWith','popup','_transformCalculateSrcRect','clipByShape','_baseShapeTop','remove$','2FJZgTc','getParent','useState','_openShapeEditPanel','invert','_registerDrawingTransformHandler','current','_docPrintInterceptorService','drawings','ShapeTextFloatToolbar','getShapeData','setFallbackVisible','_renderManagerService','_isStartAdjusting','_formulaAnimation','7255685jUjwTp','_injector','getImage','panel','horizontal','doc.operation.apply-shape-quick-style','@univerjs/core','fillType','refreshFormulaPresentation','debounceRefreshControls','autoFitType','_initPrinting','update$','_getRenderModules','updateContext','getObjectIncludeInGroup','dispose','move-up-icon','getAutoFitPresentations','disableShapeOption','warn','_closeShapeEditPanel','_registerDrawingFocusChangeHandler','getCanvasElement','ShapeTextAutoFitType','isRenderLinePointsMode','getParagraphContentStartOffset','_permissionService','shapeText','DRAWING_DOM','colorChannel1','getShapeModel','setEditing','_menuManagerService','docs-shape-text-','_getSceneByUnitId','IUniverInstanceService','unitId','editingParams$','create','buildShapeTextDataUpdate','_adjHandlerPointerUp','connectInjector','IconManager','_config','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','forwardRef','subUnitId','distinctUntilChanged','ShapeStyleRibbonControl','UniverCore','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_unitId','fillImageSource','reduce','IDocDrawingService','drawing-ui.objectListPanel.descriptionPlaceholder','getBoundingClientRect','doc.operation.close-doc-shape-format-panel','_getActiveDrawingShape','isReleased','translate','rows','generateRandomId','_adjHandlerPointerMove','assign','docs-shape-contextual-ribbon','translateWithPrecision','keys','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','OPERATION','clone','registerClipDelegate','ContextMenuGroup','canEditDocumentTargets','onCommandExecuted','currentAdjustValues','@univerjs-pro/shape-editor','refreshAdjustControls','onStarting','isHitLine','getActiveViewportByCoord','error','fill','_initialize','cells','getBody','_hide','_clearPopups','setSrcRect','srcRect','_sidebarService','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','_activeShapeAdjustPointList','DrawingTypeEnum','VIEW_MAIN','front','createControl$','TRUE','drawing-ui.objectListPanel.description','behindText','drawing-ui.objectListPanel.sectionFloating','_initMenu','_activeShapeId','getAdjustInfoByName','doc.operation.update-shape-type','startArrow','transformForAngle','useFormulaShapeToolbar','getPropertyValue','replace','bottom','mergeMenu','rect','@univerjs-pro/license','getMatrix','docs-shape-ui.insertShape','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getDisposePopups','useObservable','isRichText','removeAttribute','getUnitId','toFixed','amd','useMemo','DRAWING_OBJECT_LAYER_INDEX','offsetX','_shapeEditPanelVersion','formulaBinding','clearControl$','getShapePopupMenus','UniverInstanceType','adjHandleSize','isRender','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','exports','ShapeDefaultConfig','drawing-ui.objectListPanel.lockHint','tag','DocsShapeWrapTopBottomIcon','_clipService','getUnit','getPropertyPriority','univerjs-icon\x20univerjs-icon-','isHorizontal','marginTop','_toScenePoint','set','headerId','_activeAdjustInfo','Plugin','selectable','memo','getFocusedUnit','getTextModel','1.0.2','setCursor','@univerjs/ui','trim','OBJECT_LIST_FLOATING_SECTION_ID','@univerjs-pro/engine-shape','_shapeId','_layoutInteraction','get','useImperativeHandle','evenodd','paragraph','_updateShapeAdjustControls','CommandType','IDrawingManagerService','_shapeFloatingToolbarService','DocDrawingTextWrap','executeCommand','_draw','drawing-ui.objectListPanel.nameInput','Shape','forward','getActiveTextRange','URL','useReducer','iterator','_canEdit','_registerFloatingToolbar','formulaPresentation','register','DocsShapeWrapInlineIcon','_clearShapeAdjustControls','contentHeight','pages','setOnSavingEditorData','getPresentation','_getShapeAdjustPointListById','top-center','RemoveDocDrawingCommand','IRibbonService','_adjName','ShapeFloatingToolbarService','toDisposable','SetDocDrawingArrangeCommand','normalizeShapeTextModel','focusDrawing','ShapeFormulaRibbonControl','drawing-ui.objectListPanel.lockAll','_imageIoService','#2563EB','WRAP_TOP_AND_BOTTOM','_getShapePopup','some','UniverProDocsShapeUi','type','stroke-width','InsertDocShapeCommand','oKey','FormatPainterSessionService','scene','VIEWPORT_KEY','LocaleService','ShapeFillEnum','topmost-icon','WRAP_SQUARE','SetDocumentPermissionCommand','drawing-ui.objectListPanel.hide','hadStyleAttribute','objects','doc.command.menu-insert-shape','SetDrawingSelectedOperation','setAdjustValueByName','_iconManager','ShapeModel','_refreshShapeData','Injector','_formulaKey','baseVal','_updateSrcRectByTransform','wrapStrategy','idSuffix','draw','PARAGRAPH','getViewports','localName','fallbackWidth','setShapeData','RibbonInsertGroup','size','getDrawingDataForUnit','_localeService','DrawingCommonPanel','doc','attrs','RichTextEditingMutation','unregister','offsetY','dataModel','_baseShapeLeft','prepareShapeTextDocumentData','resetCursor','OTHERS','getAllRenderersOfType','drawing-ui.objectListPanel.show','BooleanNumber','getDrawingOKey','_init','ObjectListPanelBase','LEFT','getContextValue','PRINTING_COMPONENT_COLLECT','_drawingManagerService','UniverLicensePlugin','DocCanvasPopManagerService','clear','univer-grid\x20univer-gap-5\x20univer-p-3','enableObjectsEvent','DocsShapeWrapInFrontOfTextIcon','flipX','_update','addImageSourceCache','registerComponent','order','React','DocInterceptorService','doc.operation.open-doc-shape-format-panel','delete','UniverProShapeEditorUi','_urlImageService','_initSelection','docs-shape-ui.mobile.text','13892952ATXXRF','UniverDrawingUIPlugin','getDocumentEntityPermissionObjectId','registerDependencies','visible$','SHAPE_TEXT','element','getRenderUnitById','DRAWING_IMAGE','resolveFormulaShapeAutoFitSize','DocsShapeService','onload','_visible','animationEnabled','isDrawingObject','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDrawingMobileUIPlugin','default','pick','ShapeArrowSizeEnum','with','docs-shape-ui.ribbon.shape-format.arrange-back','_getShapeInfo','menu','doc.operation.open-shape-object-list-panel','behindDoc','drawing-ui.objectListPanel.collapse','ShapeFormatSettingIcon','getCurrentUnitOfType','classType','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','sin','onRendered','interceptor','SolidFill','IImageIoService','function','drawing-ui.objectListPanel.sectionCanvas','_baseShapeWidth','getDrawingVisible','_registerImageShapeClipDelegate','_getDependencies','permissionPointUpdate$','0\x200\x2016\x2016','EMPTY_PARAGRAPH_MENU_ID','defineProperty','ObjectLayersIcon','ShapePickerPanel','shape-editor-ui.arrange.forward','.below','preValue','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','non-scaling-stroke','constructor','drawing-ui.objectListPanel.unlockAll','presentation','_activeShapeModel','DisposableCollection','isMainScene','PaintIcon','807731sQsODc','hidden','image','DocParagraphMenuService','@univerjs/engine-render','_loadShapePictureFill','IUIPartsService','makeDirty','intercept','Path','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','drawing-ui.objectListPanel.unlockHint','add$','getDocumentDrawingSegmentId','useRef','prstGeom','_registerObjectListPanel','isConnectorShape','drawing-ui.objectListPanel.filterLocked','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','has','save','ICommandService','drawing-ui.objectListPanel.title','getFocusDrawings','flatMap'];_0x4042=function(){return _0x15b2f9;};return _0x4042();}function _0x9d29(_0x1b180f,_0x167d39){_0x1b180f=_0x1b180f-0x8a;const _0x40424b=_0x4042();let _0x9d2960=_0x40424b[_0x1b180f];return _0x9d2960;}(function(_0x359432,_0x55ae70){const _0xc9fe37=_0x9d29,_0xdc4e29=_0x359432();while(!![]){try{const _0x2b7b10=-parseInt(_0xc9fe37(0x2c5))/0x1*(parseInt(_0xc9fe37(0x15b))/0x2)+-parseInt(_0xc9fe37(0xc0))/0x3+parseInt(_0xc9fe37(0x300))/0x4+parseInt(_0xc9fe37(0x16a))/0x5+parseInt(_0xc9fe37(0xe3))/0x6*(-parseInt(_0xc9fe37(0xa1))/0x7)+-parseInt(_0xc9fe37(0x289))/0x8+parseInt(_0xc9fe37(0x37c))/0x9;if(_0x2b7b10===_0x55ae70)break;else _0xdc4e29['push'](_0xdc4e29['shift']());}catch(_0xf8335a){_0xdc4e29['push'](_0xdc4e29['shift']());}}}(_0x4042,0xe0a87),function(_0x32ce47,_0x3aaa20){const _0x4a52a2=_0x9d29;typeof exports==_0x4a52a2(0x3de)&&typeof module<'u'?_0x3aaa20(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x4a52a2(0x2ad)&&define[_0x4a52a2(0x1e6)]?define([_0x4a52a2(0x1f2),_0x4a52a2(0x13d),_0x4a52a2(0x97),_0x4a52a2(0x208),_0x4a52a2(0xad),_0x4a52a2(0x20b),_0x4a52a2(0x1b7),_0x4a52a2(0x170),'@univerjs/docs',_0x4a52a2(0x3aa),_0x4a52a2(0x2c9),_0x4a52a2(0x10f),'@univerjs/drawing-ui',_0x4a52a2(0x11f),'rxjs',_0x4a52a2(0x1dc),'@univerjs/docs-drawing-ui','react','@univerjs/design','@univerjs/protocol'],_0x3aaa20):(_0x32ce47=typeof globalThis<'u'?globalThis:_0x32ce47||self,_0x3aaa20(_0x32ce47[_0x4a52a2(0x23b)]={},_0x32ce47[_0x4a52a2(0x285)],_0x32ce47[_0x4a52a2(0xd3)],_0x32ce47[_0x4a52a2(0x104)],_0x32ce47[_0x4a52a2(0x400)],_0x32ce47[_0x4a52a2(0x3d4)],_0x32ce47[_0x4a52a2(0x12c)],_0x32ce47[_0x4a52a2(0x19c)],_0x32ce47[_0x4a52a2(0x326)],_0x32ce47[_0x4a52a2(0x386)],_0x32ce47[_0x4a52a2(0x380)],_0x32ce47[_0x4a52a2(0x122)],_0x32ce47['UniverDrawingUi'],_0x32ce47['React'],_0x32ce47[_0x4a52a2(0x31b)],_0x32ce47[_0x4a52a2(0xc1)],_0x32ce47[_0x4a52a2(0x101)],_0x32ce47[_0x4a52a2(0x281)],_0x32ce47[_0x4a52a2(0x390)],_0x32ce47[_0x4a52a2(0x385)]));}(this,function(_0x3e8be1,_0x1bc9bf,_0x341d83,_0x446708,_0x1897fd,_0x349291,_0x535f5e,_0x5bc1cc,_0x42aa76,_0x1c356f,_0x24aff0,_0x3cf577,_0x390061,_0x4b014e,_0x587404,_0x1e2ae2,_0x24a9ae,_0x18e885,_0x48b50a,_0x49f26c){const _0x4ea115=_0x9d29;Object[_0x4ea115(0x2b6)](_0x3e8be1,Symbol[_0x4ea115(0x301)],{'value':_0x4ea115(0x3e2)});function _0x47ca61(_0x22b56c,_0x233b85){const _0x48b1f8=_0x4ea115;if(_0x233b85){if((0x0,_0x349291['isConnectorShape'])(_0x22b56c)&&(_0x233b85[_0x48b1f8(0x1d4)]||_0x233b85[_0x48b1f8(0x36e)]))return{'ln':{'startArrow':_0x233b85[_0x48b1f8(0x1d4)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291['ShapeArrowSizeEnum'][_0x48b1f8(0x35e)]}:void 0x0,'endArrow':_0x233b85[_0x48b1f8(0x36e)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291[_0x48b1f8(0x29c)][_0x48b1f8(0xe2)]}:void 0x0}};if(_0x22b56c===_0x349291[_0x48b1f8(0x394)][_0x48b1f8(0x111)]&&(_0x233b85['horizontal']||_0x233b85[_0x48b1f8(0xf4)]))return(0x0,_0x535f5e[_0x48b1f8(0x3f0)])({'fill':{'fillType':_0x349291['ShapeFillEnum'][_0x48b1f8(0x2ab)],'color':'#3B82F6'},'isHorizontal':!!_0x233b85[_0x48b1f8(0x16e)],'stroke':{'lineStrokeType':_0x349291['ShapeLineTypeEnum'][_0x48b1f8(0x2f3)],'width':0x1,'color':_0x48b1f8(0x237)}});}}function _0x52ebc2(_0x549bb1,_0x7e9c18){const _0x269198=_0x4ea115;var _0x134fb6;let _0x344a4d=_0x7e9c18['segmentId']??'',_0x289de7=(_0x134fb6=_0x549bb1[_0x269198(0x119)](_0x344a4d))==null?void 0x0:_0x134fb6[_0x269198(0x1c0)]();if(!_0x289de7)return null;let _0x391311=_0x289de7[_0x269198(0x134)]??[],_0x3ff500=_0x391311[_0x269198(0x99)](_0x4da359=>{const _0x4357eb=_0x269198;let _0x32127f=(0x0,_0x5bc1cc[_0x4357eb(0x184)])(_0x289de7,_0x4da359);return _0x7e9c18[_0x4357eb(0x125)]>=_0x32127f&&_0x7e9c18['startOffset']<=_0x4da359['startIndex'];})??_0x391311[_0x391311[_0x269198(0xbe)]-0x1];return _0x3ff500?{'paragraphId':_0x3ff500['paragraphId'],'segmentId':_0x344a4d,'position':_0x1897fd['DocShapeAnchorPosition'][_0x269198(0x2e1)],'offset':_0x7e9c18['startOffset']-(0x0,_0x5bc1cc['getParagraphContentStartOffset'])(_0x289de7,_0x3ff500)}:null;}function _0x1766c2(_0x1771fc,_0x3ab33c,_0x28a038){const _0x37c287=_0x4ea115;var _0x34bae0,_0x42a1f5;if(!_0x28a038)return null;let _0xec1612=(_0x34bae0=_0x1771fc[_0x37c287(0x20e)](_0x24aff0[_0x37c287(0x377)])[_0x37c287(0x290)](_0x3ab33c))==null?void 0x0:_0x34bae0[_0x37c287(0x29d)](_0x341d83[_0x37c287(0x2c8)])[_0x37c287(0x2e7)];if(!_0xec1612)return null;let _0x543e3f=_0x28a038===_0x37c287(0xfc)?{'startOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)],'endOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)]}:_0xec1612[_0x37c287(0x10b)];return{'startOffset':_0x543e3f[_0x37c287(0x125)],'endOffset':_0x543e3f[_0x37c287(0xf2)],'collapsed':_0x543e3f[_0x37c287(0x125)]===_0x543e3f[_0x37c287(0xf2)],'segmentId':((_0x42a1f5=_0xec1612[_0x37c287(0x211)])==null?void 0x0:_0x42a1f5['segmentId'])??''};}let _0x59105c={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x145)],'id':_0x4ea115(0x24b),'handler':async(_0x48d756,_0x4e4ad9)=>{const _0x2e9bd1=_0x4ea115;let _0x3d2f90=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc['IUniverInstanceService'])[_0x2e9bd1(0x2a5)](_0x5bc1cc[_0x2e9bd1(0x1ee)][_0x2e9bd1(0x310)]);if(!_0x3d2f90)return!0x1;let _0x403106=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc[_0x2e9bd1(0x2db)]),_0x3394a6=_0x3d2f90[_0x2e9bd1(0x1e4)](),_0x301df9=_0x4e4ad9['shapeId']??(0x0,_0x5bc1cc[_0x2e9bd1(0x1a9)])(),_0x2f0475=_0x4e4ad9[_0x2e9bd1(0xfb)]??_0x1897fd[_0x2e9bd1(0x34c)],_0x1d7aff=_0x4e4ad9[_0x2e9bd1(0x37b)]??_0x1897fd[_0x2e9bd1(0x371)],_0x48f81a=_0x4e4ad9[_0x2e9bd1(0x12e)]??_0x47ca61(_0x4e4ad9[_0x2e9bd1(0x115)],_0x4e4ad9['enhanceParams']),_0x4e180a=_0x1766c2(_0x48d756,_0x3394a6,_0x4e4ad9[_0x2e9bd1(0xca)])??_0x48d756[_0x2e9bd1(0x20e)](_0x42aa76['DocSelectionManagerService'])[_0x2e9bd1(0x21c)]();if(!_0x4e180a)return!0x1;let _0x31eb3c=_0x52ebc2(_0x3d2f90,_0x4e180a);return _0x31eb3c?!!_0x403106[_0x2e9bd1(0x35f)](_0x1897fd[_0x2e9bd1(0x23e)]['id'],{'unitId':_0x3394a6,'shapeId':_0x301df9,'shapeType':_0x4e4ad9['value'],'shapeData':_0x48f81a,'transform':{'width':_0x2f0475,'height':_0x1d7aff},'placement':{'wrappingStyle':_0x1c356f[_0x2e9bd1(0xc4)]['INLINE'],'anchor':_0x31eb3c}}):!0x1;}},_0x135e7b='doc.shape.edit.panel',_0x3a28ca=_0x4ea115(0x133),_0x593cd4=_0x4ea115(0x113),_0x33ec1c=(0x0,_0x5bc1cc[_0x4ea115(0x3a1)])(_0x4ea115(0x28e)),_0x57b3d6=_0x4ea115(0x38a),_0x16861b='DocsShapeTextEditorContainer',_0x28b9a9={'id':_0x4ea115(0x2a1),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x145)],'handler':(_0x5693cc,_0x3d406a)=>{const _0x401379=_0x4ea115;let _0x454bdc=_0x5693cc[_0x401379(0x20e)](_0x446708['ISidebarService']),_0x1cfb96=_0x5693cc[_0x401379(0x20e)](_0x5bc1cc[_0x401379(0x243)]),_0x3f7697=_0x5693cc[_0x401379(0x20e)](_0x3cf577[_0x401379(0x214)]);return(_0x3d406a==null?void 0x0:_0x3d406a[_0x401379(0x115)])===_0x401379(0x110)?(_0x454bdc['close'](_0x593cd4),!0x0):(_0x454bdc[_0x401379(0x402)]({'id':_0x593cd4,'header':{'title':_0x1cfb96['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x593cd4},'onClose':()=>{const _0x1b5885=_0x401379;_0x3f7697[_0x1b5885(0x233)](null);},'width':0x168}),!0x0);}},_0x5a08b9={'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'id':_0x4ea115(0x283),'handler'(){return!0x0;}};function _0x3c66(_0x586ffe){const _0x90637c=_0x4ea115;let _0xadbf5e=_0x586ffe['get'](_0x3cf577['IDrawingManagerService'])['getFocusDrawings'](),_0x4df27a=_0xadbf5e[_0x90637c(0xbe)]===0x1?_0xadbf5e[0x0]:null;if(!_0x4df27a||_0x4df27a['drawingType']!==_0x5bc1cc['DrawingTypeEnum'][_0x90637c(0x3dc)])return null;let _0x5f0e39=_0x586ffe[_0x90637c(0x20e)](_0x1897fd[_0x90637c(0x293)]),_0x1b3172=_0x5f0e39[_0x90637c(0xc8)](_0x4df27a['unitId'],_0x4df27a['subUnitId'],_0x4df27a['drawingId']),_0xefe14c=_0x5f0e39[_0x90637c(0x3e9)](_0x4df27a['unitId'],_0x4df27a[_0x90637c(0x199)],_0x4df27a[_0x90637c(0x408)]);return _0x1b3172===void 0x0||!_0xefe14c?null:{'drawing':_0x4df27a,'shapeData':_0xefe14c,'shapeType':_0x1b3172};}let _0x1af57a={'id':_0x4ea115(0x16f),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x1e0d81,_0x13f636)=>{const _0x23187a=_0x4ea115;let _0x315105=_0x3c66(_0x1e0d81),_0x2a3c07=(0x0,_0x535f5e[_0x23187a(0x3f3)])((_0x13f636==null?void 0x0:_0x13f636['presetId'])??(_0x13f636==null?void 0x0:_0x13f636[_0x23187a(0x115)])??'');if(!_0x315105||!_0x2a3c07||_0x2a3c07[_0x23187a(0x23c)]!==(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x315105[_0x23187a(0x12e)]))return!0x1;let _0x160ad2=(0x0,_0x535f5e[_0x23187a(0x2e3)])(_0x315105['shapeData'],_0x2a3c07);if(!_0x160ad2)return!0x1;let {drawing:_0x37840c}=_0x315105;return _0x1e0d81[_0x23187a(0x20e)](_0x5bc1cc[_0x23187a(0x2db)])[_0x23187a(0x217)](_0x1897fd[_0x23187a(0x3e3)]['id'],{'unitId':_0x37840c[_0x23187a(0x18f)],'shapeId':_0x37840c[_0x23187a(0x408)],'shapeData':_0x160ad2,'oldShapeJSON':{'oldShapeData':_0x315105[_0x23187a(0x12e)]}});}},_0x33e271={'id':_0x4ea115(0x1d3),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x469ab2,_0x479303)=>{const _0x22bcba=_0x4ea115;let _0x4f50d9=_0x3c66(_0x469ab2),_0x284b2f=(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0xa3)])??(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0x115)]);if(!_0x4f50d9||!_0x284b2f||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x4f50d9['shapeType'])||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x284b2f))return!0x1;let _0x2a3451=(0x0,_0x535f5e[_0x22bcba(0x325)])(_0x4f50d9[_0x22bcba(0x12e)],_0x284b2f);if(!_0x2a3451)return!0x1;let {drawing:_0x1f4575}=_0x4f50d9;return _0x469ab2[_0x22bcba(0x20e)](_0x5bc1cc[_0x22bcba(0x2db)])[_0x22bcba(0x217)](_0x1897fd[_0x22bcba(0x3e3)]['id'],{'unitId':_0x1f4575[_0x22bcba(0x18f)],'shapeId':_0x1f4575[_0x22bcba(0x408)],'shapeType':_0x284b2f,'shapeData':_0x2a3451,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x4f50d9[_0x22bcba(0xa3)],'oldShapeData':_0x4f50d9[_0x22bcba(0x12e)]}});}};function _0x379978(_0x44324e,_0x2bd2fc){return function(_0x3202e3,_0x590dc8){_0x2bd2fc(_0x3202e3,_0x590dc8,_0x44324e);};}function _0x555290(_0x3d606e,_0x2b8dec,_0x172e62,_0x516161){const _0x2a3f5c=_0x4ea115;var _0x4353c6=arguments[_0x2a3f5c(0xbe)],_0x2ae555=_0x4353c6<0x3?_0x2b8dec:_0x516161===null?_0x516161=Object[_0x2a3f5c(0x9b)](_0x2b8dec,_0x172e62):_0x516161,_0x1c561e;if(typeof Reflect==_0x2a3f5c(0x3de)&&typeof Reflect[_0x2a3f5c(0x141)]=='function')_0x2ae555=Reflect[_0x2a3f5c(0x141)](_0x3d606e,_0x2b8dec,_0x172e62,_0x516161);else{for(var _0x1d0ef7=_0x3d606e['length']-0x1;_0x1d0ef7>=0x0;_0x1d0ef7--)(_0x1c561e=_0x3d606e[_0x1d0ef7])&&(_0x2ae555=(_0x4353c6<0x3?_0x1c561e(_0x2ae555):_0x4353c6>0x3?_0x1c561e(_0x2b8dec,_0x172e62,_0x2ae555):_0x1c561e(_0x2b8dec,_0x172e62))||_0x2ae555);}return _0x4353c6>0x3&&_0x2ae555&&Object[_0x2a3f5c(0x2b6)](_0x2b8dec,_0x172e62,_0x2ae555),_0x2ae555;}let _0x1499e6=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x247405,_0x21cd27){const _0x2db403=_0x4ea115;super(),this[_0x2db403(0x1f7)]=_0x247405,this[_0x2db403(0x275)]=_0x21cd27,this[_0x2db403(0x2b1)](),this[_0x2db403(0x1f7)]['setCanUseShapeClip'](!0x0),this[_0x2db403(0x103)]({'dispose':()=>this[_0x2db403(0x1f7)][_0x2db403(0xba)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x34f67c=_0x4ea115;let _0x3b35ef=new Map(),_0x391f2e=this[_0x34f67c(0x1f7)][_0x34f67c(0x1b2)]((_0x2d2e6e,_0x2513e3,_0x3493f6,_0x4c0331,_0x262af3)=>{const _0x4bafd1=_0x34f67c;let _0x168a27=_0x2513e3;if(_0x168a27===_0x349291['ShapeTypeEnum'][_0x4bafd1(0x3f4)]||_0x2513e3==='custom')return!0x1;try{let _0x45afdd=_0x3b35ef[_0x4bafd1(0x20e)](_0x2513e3);return _0x45afdd||(_0x45afdd=new _0x349291[(_0x4bafd1(0x24f))](_0x168a27,'clip-'+_0x2513e3),_0x3b35ef[_0x4bafd1(0x1fe)](_0x2513e3,_0x45afdd)),_0x45afdd[_0x4bafd1(0x3ac)](),_0x262af3&&Object[_0x4bafd1(0x1ae)](_0x262af3)[_0x4bafd1(0xbe)]>0x0&&_0x45afdd[_0x4bafd1(0x25c)]({'adjustValues':_0x262af3},!0x0),_0x45afdd[_0x4bafd1(0x178)]({'width':_0x3493f6,'height':_0x4c0331}),_0x45afdd['buildClipPath'](_0x2d2e6e,{'left':0x0,'top':0x0,'width':_0x3493f6,'height':_0x4c0331});}catch{return!0x1;}});this['disposeWithMe'](_0x391f2e),this[_0x34f67c(0x103)]({'dispose':()=>_0x3b35ef[_0x34f67c(0x278)]()});}[_0x4ea115(0x158)](_0xa11aaa,_0x530146,_0x3e9459,_0x335b4c,_0x236404){const _0x2ed917=_0x4ea115;let _0x281006=this['_drawingManagerService'][_0x2ed917(0x3c3)](_0xa11aaa,_0x530146)[_0x3e9459];_0x281006&&_0x281006[_0x2ed917(0x3a3)]===_0x5bc1cc[_0x2ed917(0x1c8)][_0x2ed917(0x291)]&&this['_drawingManagerService'][_0x2ed917(0x3e6)]([{..._0x281006,'prstGeom':_0x335b4c,'adjustValues':_0x236404}]);}};_0x1499e6=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x390061['DrawingImageClipService'])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x3cf577['IDrawingManagerService']))],_0x1499e6);let _0x215dca='doc.shape.picker.component',_0x19b74d=_0x4ea115(0x302);function _0x28696f({onShapeClick:_0x55fe5b,excludeGroups:_0x5eda0d}){const _0x4bae1b=_0x4ea115;return(0x0,_0x4b014e[_0x4bae1b(0xaa)])(_0x1bc9bf[_0x4bae1b(0x2b8)],{'excludeGroups':_0x5eda0d,'onShapeClick':_0x55fe5b,'scrollContainer':_0x4bae1b(0x33c)});}function _0x1406e3(){const _0x21db25=_0x4ea115;let _0x1f32c5=(0x0,_0x446708[_0x21db25(0x389)])(_0x3cf577[_0x21db25(0x214)]),_0x3e73c3=(0x0,_0x446708[_0x21db25(0x389)])(_0x1499e6);return _0x39ad01=>{const _0x42bdc1=_0x21db25;let _0x27c84f=_0x1f32c5[_0x42bdc1(0x2dd)]()[_0x42bdc1(0x99)](_0x6ad9fb=>_0x6ad9fb[_0x42bdc1(0x3a3)]===_0x5bc1cc[_0x42bdc1(0x1c8)][_0x42bdc1(0x291)]);_0x27c84f&&_0x3e73c3[_0x42bdc1(0x158)](_0x27c84f['unitId'],_0x27c84f[_0x42bdc1(0x199)],_0x27c84f[_0x42bdc1(0x408)],_0x39ad01['type']);};}function _0x418549(){const _0x43b0a5=_0x4ea115;let _0x579547=_0x1406e3();return(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x43b0a5(0xe7)],{'buttonLabel':_0x43b0a5(0x349),'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x43b0a5(0x3ab)]],'onShapeClick':_0x579547});}function _0xdb8590(){const _0x37f702=_0x4ea115;let _0x4e762f=(0x0,_0x446708['useDependency'])(_0x446708[_0x37f702(0x343)]),_0x3a0a9a=(0x0,_0x446708[_0x37f702(0x389)])(_0x3cf577[_0x37f702(0x214)]),_0x4654a7=(0x0,_0x446708[_0x37f702(0x389)])(_0x5bc1cc['IUniverInstanceService']),_0x1fddce=_0x3a0a9a[_0x37f702(0x2dd)]()[0x0],_0x28a155=_0x1fddce?_0x4654a7[_0x37f702(0xc6)](_0x1fddce[_0x37f702(0x18f)]):void 0x0,_0x102dde=_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)]['UNIVER_DOC']?_0x19b74d:_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)][_0x37f702(0x8e)]?'sheet.image-clip.shape-picker.component':void 0x0,_0x1a9637=_0x102dde?_0x4e762f[_0x37f702(0x20e)](_0x102dde):void 0x0;return _0x1a9637?(0x0,_0x4b014e[_0x37f702(0xaa)])(_0x1a9637,{}):null;}function _0x4e301f({paragraphMenuPlacement:_0x1992b0,PickerComponent:_0x12cfc7=_0x28696f}){const _0x349f03=_0x4ea115;let _0x3721e4=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x349f03(0x2db)]);return(0x0,_0x4b014e[_0x349f03(0xaa)])(_0x12cfc7,{'onShapeClick':_0x25d951=>{const _0x13667d=_0x349f03;_0x3721e4[_0x13667d(0x217)](_0x59105c['id'],{'paragraphMenuPlacement':_0x1992b0,'value':_0x25d951['type'],'enhanceParams':{'endArrow':_0x25d951['endArrow'],'startArrow':_0x25d951[_0x13667d(0x1d4)],'horizontal':_0x25d951[_0x13667d(0x16e)],'vertical':_0x25d951[_0x13667d(0xf4)]}});}});}function _0x52c349(_0x165c74){const _0x4309b5=_0x4ea115;return _0x56ea8d=>({'id':_0x59105c['id'],'type':_0x446708[_0x4309b5(0x367)][_0x4309b5(0x10d)],'selections':[{'label':{'name':_0x215dca,'hoverable':!0x1,'selectable':!0x1,'props':_0x165c74?{'id':_0x59105c['id'],'paragraphMenuPlacement':_0x165c74}:{'id':_0x59105c['id']}}}],'icon':_0x4309b5(0x344),'title':_0x4309b5(0x1de),'tooltip':_0x4309b5(0x1de),'hidden$':(0x0,_0x446708['getMenuHiddenObservable'])(_0x56ea8d,_0x5bc1cc[_0x4309b5(0x1ee)]['UNIVER_DOC'])});}let _0x229060=_0x52c349(),_0x5e545b=_0x52c349(_0x4ea115(0xfc)),_0x485714=_0x52c349('target');function _0x3ca1c8(_0x1b1ddf){const _0x5497bb=_0x4ea115;return{'id':_0x28b9a9['id'],'type':_0x446708[_0x5497bb(0x367)][_0x5497bb(0x398)],'icon':_0x5497bb(0x2b7),'title':_0x5497bb(0x8a),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x446708[_0x5497bb(0x2f7)])(_0x1b1ddf,_0x5bc1cc['UniverInstanceType'][_0x5497bb(0x310)])};}function _0x9420a0(_0x5d4c12,_0x1d434b,_0xbd9179,_0x2d7aa4,_0x203714,_0x3da539){const _0x240a3a=_0x4ea115;let _0xbb7a8={'unitId':_0x1d434b,'shapeId':_0x2d7aa4,'shapeData':_0x3da539,'oldShapeJSON':_0x203714};return _0x5d4c12['executeCommand'](_0x1897fd[_0x240a3a(0x3e3)]['id'],_0xbb7a8);}function _0x3174af(_0x88c9d1,_0x2e4e1e,_0x1e7b84,_0x65eff5,_0x36b644,_0x1c8c8e){const _0x557db2=_0x4ea115;let _0x3d3529={'unitId':_0x2e4e1e,'shapeId':_0x65eff5,'shapeData':_0x1c8c8e,'oldShapeJSON':_0x36b644};return _0x88c9d1[_0x557db2(0x217)](_0x1897fd[_0x557db2(0x3e3)]['id'],_0x3d3529);}let _0x205f1c=_0x4ea115(0x395),_0x9bb98f='docs-shape-ui.shape-format.style-ribbon-control',_0xcb0280=_0x4ea115(0x143),_0x5c919f=_0x4ea115(0x3d2),_0x2dab50=_0x4ea115(0x370),_0x41ab61=[{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x3e4)],'label':_0x4ea115(0x92),'icon':_0x4ea115(0x224)},{'value':_0x1c356f['TextWrappingStyle'][_0x4ea115(0x246)],'label':'docs-shape-ui.textWrap.square','icon':'DocsShapeWrapSquareIcon'},{'value':_0x1c356f[_0x4ea115(0xc4)]['WRAP_TOP_AND_BOTTOM'],'label':_0x4ea115(0x2fa),'icon':_0x4ea115(0x1f6)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x32a)],'label':_0x4ea115(0xd7),'icon':_0x4ea115(0xb8)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x346)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x4ea115(0x27b)}];function _0x18c6c2(){const _0x5abcab=_0x4ea115;let _0x24893d=(0x0,_0x446708[_0x5abcab(0x389)])(_0x5bc1cc[_0x5abcab(0x2db)]),_0x3e2537=(0x0,_0x446708[_0x5abcab(0x389)])(_0x3cf577[_0x5abcab(0x214)]),_0x3743a2=(0x0,_0x446708[_0x5abcab(0x389)])(_0x1897fd[_0x5abcab(0x293)]),_0x51fbb5=()=>{const _0x3fa43c=_0x5abcab;var _0x10c379;let _0x43c141=_0x3e2537[_0x3fa43c(0x2dd)]();if(_0x43c141[_0x3fa43c(0xbe)]!==0x1||((_0x10c379=_0x43c141[0x0])==null?void 0x0:_0x10c379['drawingType'])!==_0x5bc1cc[_0x3fa43c(0x1c8)]['DRAWING_SHAPE'])return null;let {unitId:_0xd5a7e4,subUnitId:_0x70d538,drawingId:_0x54dc8b}=_0x43c141[0x0],_0x360b45=_0x3743a2['getShapeTypeById'](_0xd5a7e4,_0x70d538,_0x54dc8b),_0x45c46f=_0x3743a2['getShapeDataById'](_0xd5a7e4,_0x70d538,_0x54dc8b);return _0x360b45===void 0x0||!_0x45c46f?null:{'unitId':_0xd5a7e4,'subUnitId':_0x70d538,'drawingId':_0x54dc8b,'shapeType':_0x360b45,'shapeData':_0x45c46f};},_0x318903=(0x0,_0x446708[_0x5abcab(0x1e1)])(()=>new _0x587404['Observable'](_0x1a76d8=>{const _0x21444f=_0x5abcab;let _0x253530=()=>_0x1a76d8['next'](_0x51fbb5()),_0x171836=_0x3e2537['focus$']['subscribe'](_0x253530),_0x3722f6=_0x24893d[_0x21444f(0x1b5)](_0x2a16a2=>{_0x2a16a2['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x253530();});return _0x253530(),()=>{const _0x242aa9=_0x21444f;_0x171836[_0x242aa9(0xa2)](),_0x3722f6[_0x242aa9(0x17a)]();};}),_0x51fbb5(),!0x1,[_0x24893d,_0x3743a2,_0x3e2537]);return{'selection':_0x318903,'updateShapeData':_0x1adf82=>{const _0x4448b6=_0x5abcab;_0x318903&&_0x9420a0(_0x24893d,_0x318903['unitId'],_0x318903[_0x4448b6(0x199)],_0x318903['drawingId'],{'oldShapeData':_0x318903[_0x4448b6(0x12e)]},_0x1adf82);}};}function _0x1d84be(){const _0x2ab212=_0x4ea115;let {selection:_0xb8bbca,updateShapeData:_0x54e857}=_0x18c6c2();return _0xb8bbca?(0x0,_0x4b014e[_0x2ab212(0xaa)])(_0x1bc9bf[_0x2ab212(0x19b)],{'shapeData':_0xb8bbca[_0x2ab212(0x12e)],'shapeType':_0xb8bbca[_0x2ab212(0xa3)],'onUpdateShapeData':_0x54e857}):null;}function _0x5f0bda(){const _0x52d555=_0x4ea115;let _0x400c72=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x52d555(0x2db)]),_0x1f0cb3=(0x0,_0x446708[_0x52d555(0x389)])(_0x5bc1cc['LocaleService']),{selection:_0x1233df}=_0x18c6c2();return _0x1233df?(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x52d555(0x3e0)],{'type':(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x1233df['shapeData']),'ariaLabel':_0x1f0cb3['t'](_0x52d555(0xce)),'activePresetId':(0x0,_0x535f5e[_0x52d555(0x312)])(_0x1233df['shapeData']),'onSelect':_0x592205=>_0x400c72[_0x52d555(0x217)](_0x1af57a['id'],{'presetId':_0x592205})}):null;}function _0x2c2195(){const _0xa185a5=_0x4ea115;let {selection:_0x2021bd,updateShapeData:_0x31e166}=_0x18c6c2();return _0x2021bd?(0x0,_0x4b014e[_0xa185a5(0xaa)])(_0x1bc9bf[_0xa185a5(0x3cf)],{'fontFamilyPopupDataComponent':_0xa185a5(0x357),'shapeData':_0x2021bd[_0xa185a5(0x12e)],'onUpdateShapeData':_0x31e166}):null;}function _0x204deb(){const _0xa17de=_0x4ea115;var _0x16247e;let {selection:_0x24ae5a,updateShapeData:_0x429026}=_0x18c6c2(),_0x4d3785=(0x0,_0x1bc9bf[_0xa17de(0x1d6)])({'hostType':_0x5bc1cc[_0xa17de(0x1ee)]['UNIVER_DOC'],'unitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x18f)])??'','subUnitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x199)])??'','shapeId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x408)])??'','shapeData':_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x12e)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xa17de(0x1d9),'onUpdateBinding':_0x40046a=>_0x429026({'formulaBinding':_0x40046a})}),_0x18d07e=((_0x16247e=_0x4d3785[_0xa17de(0x12f)])==null?void 0x0:_0x16247e[_0xa17de(0x2de)](_0x5d8f1f=>_0x5d8f1f['actions'])[_0xa17de(0x2e8)](_0x4764af=>_0x4764af[_0xa17de(0x39e)]!==!0x1))??[];return _0x24ae5a!=null&&_0x24ae5a['shapeData'][_0xa17de(0x1eb)]?(0x0,_0x4b014e[_0xa17de(0xaa)])(_0x1bc9bf[_0xa17de(0x234)],{'actions':_0x18d07e,'panel':_0x4d3785[_0xa17de(0x16d)]}):null;}function _0x231d64({value:_0x1818cb}){const _0xeeaed8=_0x4ea115;let _0x5682f2=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0xeeaed8(0x243)]),_0xcab9dd=_0x41ab61[_0xeeaed8(0x99)](_0x4d5d27=>_0x4d5d27[_0xeeaed8(0x115)]===_0x1818cb)??_0x41ab61[0x0];return _0xcab9dd?(0x0,_0x4b014e[_0xeeaed8(0xaa)])(_0xeeaed8(0x3f9),{'children':_0x5682f2['t'](_0xcab9dd[_0xeeaed8(0x150)])}):null;}let _0x160de6='docs-shape-ui.ribbon.shape-format.style-control',_0xb0d995='docs-shape-ui.ribbon.shape-format.text-control',_0x29c71b=_0x4ea115(0xab),_0x1efdde=_0x4ea115(0x2e5),_0x5199ec=_0x4ea115(0xf9),_0x556e0e='docs-shape-ui.ribbon.shape-format.arrange-front',_0x44deec=_0x4ea115(0x29e),_0x1650b6='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0xa3ce66(_0x49fb29){const _0x3f24ed=_0x4ea115;let _0x163f8f=_0x49fb29[_0x3f24ed(0x20e)](_0x5bc1cc[_0x3f24ed(0x2db)]),_0xaec77d=_0x49fb29['get'](_0x3cf577[_0x3f24ed(0x214)]),_0x4e5f7c=_0x49fb29['get'](_0x1897fd['DocsShapeService']);return new _0x587404[(_0x3f24ed(0x305))](_0x251215=>{const _0x353483=_0x3f24ed;let _0x29764c=()=>{const _0x2a3fec=_0x9d29;let _0x242b25=_0x574053(_0x49fb29),_0x525e64=_0x242b25?_0x4e5f7c[_0x2a3fec(0x3e9)](_0x242b25[_0x2a3fec(0x18f)],_0x242b25[_0x2a3fec(0x199)],_0x242b25[_0x2a3fec(0x408)]):null;_0x251215[_0x2a3fec(0x3eb)](_0x525e64?(0x0,_0x535f5e[_0x2a3fec(0x312)])(_0x525e64)??'':'');},_0x3925c2=_0xaec77d['focus$']['subscribe'](_0x29764c),_0x620c3a=_0x163f8f[_0x353483(0x1b5)](_0x4a2090=>{_0x4a2090['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x29764c();});return _0x29764c(),()=>{const _0x231556=_0x353483;_0x3925c2[_0x231556(0xa2)](),_0x620c3a[_0x231556(0x17a)]();};});}function _0x574053(_0x597733){const _0x3b9409=_0x4ea115;var _0x1a9c29;let _0x4144cb=_0x597733['get'](_0x3cf577[_0x3b9409(0x214)])[_0x3b9409(0x2dd)]();return _0x4144cb[_0x3b9409(0xbe)]===0x1&&((_0x1a9c29=_0x4144cb[0x0])==null?void 0x0:_0x1a9c29[_0x3b9409(0x3a3)])===_0x5bc1cc[_0x3b9409(0x1c8)][_0x3b9409(0x3dc)]?_0x4144cb[0x0]:null;}function _0xfa670c(_0x2bb4cd){const _0x4cc425=_0x4ea115;return(_0x2bb4cd==null?void 0x0:_0x2bb4cd['layoutType'])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x36a)]?_0x2bb4cd[_0x4cc425(0x2a2)]===_0x5bc1cc['BooleanNumber'][_0x4cc425(0x1cc)]?_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x32a)]:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x346)]:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle']['WRAP_SQUARE']:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x238)]?_0x1c356f[_0x4cc425(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x3e4)];}function _0x43e11e(_0x55ea3a){const _0x4f8832=_0x4ea115;let _0x28cc12=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc['ICommandService']),_0x1f49c2=_0x55ea3a['get'](_0x3cf577['IDrawingManagerService']),_0x3e1d20=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc[_0x4f8832(0x18e)]);return new _0x587404[(_0x4f8832(0x305))](_0x83f016=>{const _0x373f07=_0x4f8832;let _0x1c0b1a=()=>{const _0x5a8d78=_0x9d29;var _0x3fbaaf;let _0x3e8dc3=_0x574053(_0x55ea3a),_0x47914a=_0x3e8dc3?_0x3e1d20[_0x5a8d78(0x1f8)](_0x3e8dc3['unitId'],_0x5bc1cc[_0x5a8d78(0x1ee)][_0x5a8d78(0x310)]):void 0x0;_0x83f016[_0x5a8d78(0x3eb)](_0xfa670c(_0x3e8dc3?_0x47914a==null||(_0x3fbaaf=_0x47914a['getSnapshot']()['drawings'])==null?void 0x0:_0x3fbaaf[_0x3e8dc3[_0x5a8d78(0x408)]]:void 0x0));},_0x303430=_0x1f49c2[_0x373f07(0x2ff)][_0x373f07(0x3a6)](_0x1c0b1a),_0x320020=_0x28cc12[_0x373f07(0x1b5)](_0x2b21ec=>{const _0x1ed83e=_0x373f07;_0x2b21ec['id']===_0x42aa76[_0x1ed83e(0x264)]['id']&&_0x1c0b1a();});return _0x1c0b1a(),()=>{const _0x296c9f=_0x373f07;_0x303430[_0x296c9f(0xa2)](),_0x320020[_0x296c9f(0x17a)]();};})[_0x4f8832(0x335)]((0x0,_0x587404[_0x4f8832(0x19a)])());}function _0x3a29c6(_0xd37295,_0xfd881b=!0x1){const _0x51a946=_0x4ea115;let _0x3a05ba=_0xd37295['get'](_0x5bc1cc[_0x51a946(0x2db)]),_0x1969c4=_0xd37295[_0x51a946(0x20e)](_0x3cf577[_0x51a946(0x214)]),_0x4c68b8=_0xd37295['get'](_0x1897fd[_0x51a946(0x293)]);return new _0x587404[(_0x51a946(0x305))](_0x24cbe6=>{const _0x535916=_0x51a946;let _0x47862b=()=>{const _0x16a21b=_0x9d29;let _0x1946c3=_0x574053(_0xd37295);if(!_0x1946c3){_0x24cbe6[_0x16a21b(0x3eb)](!0x0);return;}let _0x4c806d=_0x4c68b8[_0x16a21b(0x3e9)](_0x1946c3[_0x16a21b(0x18f)],_0x1946c3[_0x16a21b(0x199)],_0x1946c3[_0x16a21b(0x408)]);_0x24cbe6[_0x16a21b(0x3eb)](!_0x4c806d||_0xfd881b&&_0x4c806d[_0x16a21b(0x1eb)]==null);},_0x380b95=_0x1969c4[_0x535916(0x2ff)][_0x535916(0x3a6)](_0x47862b),_0x1c0277=_0x3a05ba[_0x535916(0x1b5)](_0x354773=>{const _0x3c943d=_0x535916;_0x354773['id']===_0x1897fd[_0x3c943d(0x130)]['id']&&_0x47862b();});return _0x47862b(),()=>{const _0x11f837=_0x535916;_0x380b95[_0x11f837(0xa2)](),_0x1c0277[_0x11f837(0x17a)]();};});}function _0x5d444e(_0x5ead46){const _0x231c7e=_0x4ea115;let _0x1e0161=_0x5ead46[_0x231c7e(0x20e)](_0x3cf577['IDrawingManagerService']),_0x33a53d=_0x5ead46[_0x231c7e(0x20e)](_0x1897fd[_0x231c7e(0x293)]);return _0x1e0161[_0x231c7e(0x2ff)]['pipe']((0x0,_0x587404['startWith'])(_0x1e0161[_0x231c7e(0x2dd)]()),(0x0,_0x587404[_0x231c7e(0x3ca)])(()=>{const _0x387db5=_0x231c7e;let _0x8707ce=_0x574053(_0x5ead46),_0x236d57=_0x8707ce?_0x33a53d[_0x387db5(0xc8)](_0x8707ce[_0x387db5(0x18f)],_0x8707ce[_0x387db5(0x199)],_0x8707ce[_0x387db5(0x408)]):void 0x0;return _0x236d57===void 0x0||(0x0,_0x349291[_0x387db5(0x2d6)])(_0x236d57);}));}function _0xc49d7a(_0x2c1f51){const _0x1fdff3=_0x4ea115;return{'id':_0x1af57a['id'],'type':_0x446708[_0x1fdff3(0x367)][_0x1fdff3(0x10d)],'icon':_0x1fdff3(0x2c4),'title':_0x1fdff3(0x128),'tooltip':_0x1fdff3(0x128),'selections':[{'label':{'name':_0x205f1c,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0xa3ce66(_0x2c1f51),'hidden$':_0x3a29c6(_0x2c1f51)};}function _0x57c6e9(_0x153aab){const _0x32141f=_0x4ea115;return{'id':_0x33e271['id'],'type':_0x446708['MenuItemType']['SELECTOR'],'icon':_0x32141f(0x344),'title':_0x32141f(0x3cb),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x1bc9bf['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5d444e(_0x153aab)};}function _0x15752e(_0x3df071,_0x80a18c,_0x3c7cd1=!0x1){const _0x4a9583=_0x4ea115;return _0xc404be=>({'id':_0x3df071,'type':_0x446708[_0x4a9583(0x367)]['BUTTON'],'label':{'name':_0x80a18c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3a29c6(_0xc404be,_0x3c7cd1)});}let _0x55e340=_0x15752e(_0x160de6,_0x9bb98f),_0xaea9dd=_0x15752e(_0xb0d995,_0xcb0280),_0x355d75=_0x15752e(_0x29c71b,_0x5c919f,!0x0);function _0x126119(_0x48bca4){const _0x18404c=_0x4ea115;return{'id':_0x1650b6,'type':_0x446708[_0x18404c(0x367)][_0x18404c(0x10d)],'icon':_0x41ab61[0x0][_0x18404c(0x32b)],'label':_0x2dab50,'selectionsCommandId':_0x1c356f[_0x18404c(0x2fc)]['id'],'selections':_0x41ab61[_0x18404c(0x3ca)](({icon:_0x41cd82,label:_0xdf3dd7,value:_0x24b949})=>({'value':_0x24b949,'label':_0xdf3dd7,'icon':_0x41cd82,'params':()=>{const _0x5ecea1=_0x18404c;let _0x455543=_0x574053(_0x48bca4);return _0x455543?{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawings':[{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawingId':_0x455543[_0x5ecea1(0x408)]}],'wrappingStyle':_0x24b949}:void 0x0;}})),'value$':_0x43e11e(_0x48bca4),'hidden$':_0x3a29c6(_0x48bca4)};}function _0x624f7a(_0x335458,_0x4e3322,_0x297086,_0x27868e){const _0x2a9e6c=_0x4ea115;return _0x14c040=>({'id':_0x335458,'commandId':_0x1c356f[_0x2a9e6c(0x231)]['id'],'type':_0x446708[_0x2a9e6c(0x367)][_0x2a9e6c(0x398)],'icon':_0x297086,'title':_0x27868e,'tooltip':_0x27868e,'hidden$':_0x3a29c6(_0x14c040),'params':()=>{const _0x16ae6a=_0x2a9e6c;let _0x379dd8=_0x574053(_0x14c040);return _0x379dd8?{'unitId':_0x379dd8[_0x16ae6a(0x18f)],'subUnitId':_0x379dd8[_0x16ae6a(0x199)],'drawingIds':[_0x379dd8['drawingId']],'arrangeType':_0x4e3322}:void 0x0;}});}let _0xabfc7=_0x624f7a(_0x1efdde,_0x5bc1cc[_0x4ea115(0x3c0)]['forward'],_0x4ea115(0x393),_0x4ea115(0x2b9)),_0x104ba9=_0x624f7a(_0x5199ec,_0x5bc1cc['ArrangeTypeEnum'][_0x4ea115(0x2e2)],'MoveDownIcon',_0x4ea115(0x151)),_0x4dd57e=_0x624f7a(_0x556e0e,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x1ca)],_0x4ea115(0x3c5),_0x4ea115(0xb2)),_0xe89930=_0x624f7a(_0x44deec,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x116)],_0x4ea115(0x401),'shape-editor-ui.arrange.back');function _0x36c35d(_0xd8b67){const _0x310bff=_0x4ea115;return{'id':_0x5a08b9['id'],'type':_0x446708[_0x310bff(0x367)][_0x310bff(0x398)],'icon':_0x310bff(0x2a4),'title':_0x310bff(0xa7),'tooltip':_0x310bff(0xa7),'hidden$':_0x3a29c6(_0xd8b67),'params':()=>{const _0x239f88=_0x310bff;let _0x5a6af6=_0x574053(_0xd8b67);return _0x5a6af6?{'unitId':_0x5a6af6['unitId'],'subUnitId':_0x5a6af6[_0x239f88(0x199)],'drawingId':_0x5a6af6[_0x239f88(0x408)]}:void 0x0;}};}let _0x296b2a={[_0x446708[_0x4ea115(0x3bf)]['RIBBON']]:{[_0x3a28ca]:{'order':0x64,'title':_0x4ea115(0xa7),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x1af57a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xc49d7a},[_0x33e271['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x57c6e9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x160de6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x55e340}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xb0d995]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xaea9dd}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1650b6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x126119},[_0x1efdde]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0xabfc7},[_0x5199ec]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x104ba9},[_0x556e0e]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x4dd57e},[_0x44deec]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0xe89930}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x29c71b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x355d75}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5a08b9['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x36c35d},[_0x1bc9bf['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1bc9bf[_0x4ea115(0x3c1)]}}}}},_0x2b9f36={[_0x446708['RibbonInsertGroup']['MEDIA']]:{[_0x59105c['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x37dbad=>({..._0x229060(_0x37dbad),'title':void 0x0})}},[_0x446708[_0x4ea115(0x25d)][_0x4ea115(0x26b)]]:{[_0x28b9a9['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x3ca1c8}},[_0x446708['ContextMenuPosition'][_0x4ea115(0x258)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x341d83[_0x4ea115(0x14c)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x446708[_0x4ea115(0x1b3)][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83[_0x4ea115(0x2b5)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x485714}}},[_0x341d83[_0x4ea115(0x12d)]]:{'insert':{[_0x59105c['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x229060}}},[_0x341d83['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x59105c['id']+_0x4ea115(0x2ba)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x5e545b}}}}};var _0x25865a='@univerjs-pro/docs-shape-ui',_0x44d234=_0x4ea115(0x206);let _0x181065={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x1b0)],'id':_0x4ea115(0x1a4),'handler'(){return!0x0;}},_0x3f849b=_0x4ea115(0x154),_0xd4dc79={};function _0x2b6523(_0x285b3e){'@babel/helpers - typeof';const _0x4673ed=_0x4ea115;return _0x2b6523=typeof Symbol==_0x4673ed(0x2ad)&&typeof Symbol[_0x4673ed(0x21f)]==_0x4673ed(0x2e9)?function(_0xd5bddc){return typeof _0xd5bddc;}:function(_0x321bb0){const _0x2591fc=_0x4673ed;return _0x321bb0&&typeof Symbol==_0x2591fc(0x2ad)&&_0x321bb0[_0x2591fc(0x2be)]===Symbol&&_0x321bb0!==Symbol[_0x2591fc(0x139)]?_0x2591fc(0x2e9):typeof _0x321bb0;},_0x2b6523(_0x285b3e);}function _0x259ec8(_0x487b06,_0x59493d){const _0x50acf1=_0x4ea115;if(_0x2b6523(_0x487b06)!=_0x50acf1(0x3de)||!_0x487b06)return _0x487b06;var _0x4281b4=_0x487b06[Symbol[_0x50acf1(0x38e)]];if(_0x4281b4!==void 0x0){var _0x4f4864=_0x4281b4[_0x50acf1(0x31e)](_0x487b06,_0x59493d||_0x50acf1(0x29a));if(_0x2b6523(_0x4f4864)!=_0x50acf1(0x3de))return _0x4f4864;throw TypeError(_0x50acf1(0x1df));}return(_0x59493d===_0x50acf1(0x146)?String:Number)(_0x487b06);}function _0x16242f(_0x1e2062){const _0x4904e1=_0x4ea115;var _0x351365=_0x259ec8(_0x1e2062,_0x4904e1(0x146));return _0x2b6523(_0x351365)=='symbol'?_0x351365:_0x351365+'';}function _0x128b9e(_0xe901bc,_0x8769a6,_0x442b1b){const _0x5c3370=_0x4ea115;return(_0x8769a6=_0x16242f(_0x8769a6))in _0xe901bc?Object[_0x5c3370(0x2b6)](_0xe901bc,_0x8769a6,{'value':_0x442b1b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe901bc[_0x8769a6]=_0x442b1b,_0xe901bc;}var _0x5c2dc0=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x3dacb4,_0x20304a){const _0x2b705b=_0x4ea115;super(_0x3dacb4,_0x20304a),_0x128b9e(this,_0x2b705b(0x20c),null),_0x128b9e(this,_0x2b705b(0x22e),null),_0x128b9e(this,_0x2b705b(0x19e),null),_0x128b9e(this,_0x2b705b(0x40a),null),_0x20304a&&this['setShapeProps'](_0x20304a);}['getDrawingSearch'](){const _0x344d4e=_0x4ea115;return{'unitId':this[_0x344d4e(0x19e)],'subUnitId':this[_0x344d4e(0x40a)],'drawingId':this[_0x344d4e(0x20c)]};}[_0x4ea115(0x30f)](_0x3a0c22){const _0x30d473=_0x4ea115;_0x3a0c22[_0x30d473(0x392)]!==void 0x0&&(this[_0x30d473(0x20c)]=_0x3a0c22['shapeId']),_0x3a0c22[_0x30d473(0x2f6)]!==void 0x0&&(this[_0x30d473(0x22e)]=_0x3a0c22['adjName']),_0x3a0c22[_0x30d473(0x18f)]!==void 0x0&&(this[_0x30d473(0x19e)]=_0x3a0c22[_0x30d473(0x18f)]),_0x3a0c22[_0x30d473(0x199)]!==void 0x0&&(this[_0x30d473(0x40a)]=_0x3a0c22[_0x30d473(0x199)]),this['transformByState']({'width':_0x3a0c22['width'],'height':_0x3a0c22[_0x30d473(0x37b)]});}['_draw'](_0x293f21){const _0x10854e=_0x4ea115;_0x24aff0['Circle'][_0x10854e(0x155)](_0x293f21,{'radius':_0x349291[_0x10854e(0x1f3)][_0x10854e(0x1ef)],'fill':_0x349291['ShapeDefaultConfig'][_0x10854e(0x36d)],'stroke':_0x349291[_0x10854e(0x1f3)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x2df64e(_0x18183a,_0x3bca0b,_0xfb8059){const _0x4c69b7=_0x4ea115;let _0x1ffe3a={..._0x3bca0b,'dataModel':{..._0x3bca0b[_0x4c69b7(0x267)]??{},..._0xfb8059?{'doc':_0xfb8059}:null}},_0x2aaba2=(0x0,_0x1bc9bf[_0x4c69b7(0x2ee)])(_0x18183a,_0x1ffe3a),_0x2b3339=(0x0,_0x1bc9bf[_0x4c69b7(0x384)])(_0x2aaba2);return{'clip':(0x0,_0x1bc9bf['shouldClipShapeTextDocument'])(_0x2aaba2,_0x2b3339),'wrapStrategy':_0x2b3339};}var _0x49294f=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x323df0,_0x40075b){const _0xcb749a=_0x4ea115;super(_0x323df0,_0x40075b),_0x128b9e(this,_0xcb749a(0x404),void 0x0),_0x128b9e(this,_0xcb749a(0x169),new _0x1bc9bf['FormulaShapeAnimationController'](()=>this[_0xcb749a(0x2cc)](!0x0),()=>this[_0xcb749a(0x2ed)]())),_0x128b9e(this,_0xcb749a(0x157),!0x0),_0x128b9e(this,'_drawingType',_0x5bc1cc[_0xcb749a(0x1c8)][_0xcb749a(0x3dc)]),_0x128b9e(this,_0xcb749a(0x297),!0x0),this[_0xcb749a(0x404)]={..._0x40075b},this['_formulaAnimation'][_0xcb749a(0x309)](_0x40075b[_0xcb749a(0x222)],_0x40075b[_0xcb749a(0xa0)]!==!0x1),this[_0xcb749a(0x270)](),this[_0xcb749a(0x2ed)]();}[_0x4ea115(0x270)](){this['onTransformChange$']['subscribeEvent'](_0x2e8923=>{this['_updateSrcRectByTransform'](_0x2e8923);});}['setPrstGeom'](_0x31df1e){const _0x13acd0=_0x4ea115;this[_0x13acd0(0x404)][_0x13acd0(0x2d4)]=_0x31df1e;}[_0x4ea115(0x18a)](_0x39e852){const _0x4cdbe5=_0x4ea115;this['_props'][_0x4cdbe5(0x378)]=_0x39e852,this[_0x4cdbe5(0x2cc)](!0x0);}[_0x4ea115(0xdd)](_0x2c110e,_0x424316=!0x0){const _0x5c7395=_0x4ea115;this['_formulaAnimation']['setPresentation'](_0x2c110e,_0x424316),this[_0x5c7395(0x404)]['formulaPresentation']=_0x2c110e,this[_0x5c7395(0x2ed)](),this['makeDirty'](!0x0);}[_0x4ea115(0x2ed)](){const _0x4acd28=_0x4ea115;let _0x9ebe49=this['_props'][_0x4acd28(0xf5)],_0x439004=_0x9ebe49[_0x4acd28(0x3b4)](),_0xb1bdcc=(0x0,_0x1bc9bf[_0x4acd28(0x232)])(_0x439004==null?void 0x0:_0x439004[_0x4acd28(0x267)]),_0x1e902e=_0xb1bdcc==null?void 0x0:_0xb1bdcc[_0x4acd28(0x262)],_0x510ef7=this[_0x4acd28(0x169)][_0x4acd28(0x17c)]();if(!_0x1e902e||_0x510ef7['length']===0x0)return;_0x9ebe49[_0x4acd28(0x178)]({'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]});let _0x405d75=(0x0,_0x1bc9bf[_0x4acd28(0x292)])({'documentData':_0x510ef7[_0x4acd28(0x3ca)](_0x15fa9c=>(0x0,_0x535f5e[_0x4acd28(0x3a5)])(_0x1e902e,_0x15fa9c)),'height':this[_0x4acd28(0x37b)],'shapeData':_0x9ebe49['getShapeData'](),'textRect':_0x9ebe49[_0x4acd28(0x317)]({'left':0x0,'top':0x0,'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]}),'width':this[_0x4acd28(0xfb)]});if(_0x405d75){var _0x43d643;this[_0x4acd28(0xd6)](_0x405d75[_0x4acd28(0xfb)],_0x405d75[_0x4acd28(0x37b)]),(_0x43d643=this['getScene']())==null||(_0x43d643=_0x43d643['getTransformer']())==null||_0x43d643[_0x4acd28(0x173)]();}}get[_0x4ea115(0x18f)](){const _0x21792e=_0x4ea115;return this[_0x21792e(0x404)][_0x21792e(0x18f)];}get[_0x4ea115(0x199)](){const _0x2ba5c7=_0x4ea115;return this['_props'][_0x2ba5c7(0x199)];}[_0x4ea115(0x254)](_0x92fa79){const _0x4625e2=_0x4ea115;if(this['_props'][_0x4625e2(0x1c4)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x37f5b9,height:_0x13b0ab}=this,{width:_0x3bec25=0x0,height:_0x5cb536=0x0}=_0x92fa79[_0x4625e2(0x2bb)],{left:_0x4620ed=0x0,top:_0x28bc92=0x0,right:_0x1337f4=0x0,bottom:_0xc0e361=0x0}=this[_0x4625e2(0x404)][_0x4625e2(0x1c4)],_0x380a1d=_0x4620ed,_0x2b36ff=_0x28bc92,_0x531811=_0x1337f4,_0x37e760=_0xc0e361,_0x29471b=!0x1;if(_0x3bec25!==0x0&&_0x3bec25!==_0x37f5b9){let _0x44defa=_0x4620ed/_0x3bec25,_0x40d7b3=_0x1337f4/_0x3bec25;_0x380a1d=_0x37f5b9*_0x44defa,_0x531811=_0x37f5b9*_0x40d7b3,_0x29471b=!0x0;}if(_0x5cb536!==0x0&&_0x5cb536!==_0x13b0ab){let _0x124528=_0x28bc92/_0x5cb536,_0x32223a=_0xc0e361/_0x5cb536;_0x2b36ff=_0x13b0ab*_0x124528,_0x37e760=_0x13b0ab*_0x32223a,_0x29471b=!0x0;}_0x29471b&&this['setSrcRect']({'left':_0x380a1d,'top':_0x2b36ff,'right':_0x531811,'bottom':_0x37e760});}[_0x4ea115(0x1c3)](_0x487c13){const _0x29dd0b=_0x4ea115;this[_0x29dd0b(0x404)][_0x29dd0b(0x1c4)]=_0x487c13,this[_0x29dd0b(0x2cc)](!0x0);}[_0x4ea115(0x2e4)](_0x420731){const _0x3ca033=_0x4ea115;this['_props']['image']=_0x420731,this[_0x3ca033(0x2cc)](!0x0);}set[_0x4ea115(0x2eb)](_0x2de7e3){this['_transform']=_0x2de7e3;}get[_0x4ea115(0x2eb)](){const _0x5b38ef=_0x4ea115;this['_transform']||this[_0x5b38ef(0x339)]();let _0x5d4d7b=this[_0x5b38ef(0x383)][_0x5b38ef(0x1b1)]();return this[_0x5b38ef(0x1d5)](_0x5d4d7b);}get[_0x4ea115(0xf5)](){const _0x35903b=_0x4ea115;return this['_props'][_0x35903b(0xf5)];}get[_0x4ea115(0x392)](){const _0x4cfaa5=_0x4ea115;return this[_0x4cfaa5(0x404)][_0x4cfaa5(0x392)];}get[_0x4ea115(0x2a6)](){const _0x31de80=_0x4ea115;return _0x24aff0[_0x31de80(0x376)]['SHAPE'];}[_0x4ea115(0x218)](_0x1c634c,_0x315752,_0x291067,_0x4df0fb){const _0x29f2ab=_0x4ea115;let _0x58a5bf=this['_props'][_0x29f2ab(0xf5)];if(!_0x58a5bf||!_0x315752)return;let _0x25c2a1=_0x291067??this[_0x29f2ab(0xfb)],_0x595ce2=_0x4df0fb??this['height'],_0x4fc57c={'shapeType':_0x58a5bf['getShapeType'](),'width':_0x25c2a1,'height':_0x595ce2},_0x53d9c8={'renderMode':_0x349291[_0x29f2ab(0x381)][_0x29f2ab(0x2ce)],'oKey':this[_0x29f2ab(0x23f)],'image':this['_props'][_0x29f2ab(0x2c7)],'angle':this['angle']};_0x58a5bf[_0x29f2ab(0x178)](_0x4fc57c),_0x1c634c[_0x29f2ab(0x2da)]();let _0x33e7a2={'top':0x0,'left':0x0,'width':_0x25c2a1,'height':_0x595ce2},_0x2d8f29=_0x58a5bf[_0x29f2ab(0x3b3)](_0x33e7a2);_0x2d8f29?this[_0x29f2ab(0x311)](_0x1c634c,_0x2d8f29,_0x5dac1d=>{const _0x54fd63=_0x29f2ab;_0x58a5bf[_0x54fd63(0x396)](_0x5dac1d,_0x33e7a2,_0x53d9c8);}):(this[_0x29f2ab(0x136)](),_0x58a5bf['render'](_0x1c634c,_0x33e7a2,_0x53d9c8)),_0x1c634c[_0x29f2ab(0xcc)]();let _0x255be3=_0x58a5bf[_0x29f2ab(0x3b4)](),_0x5b54b6=_0x58a5bf[_0x29f2ab(0x317)](_0x33e7a2),_0xb4c75d=_0x58a5bf[_0x29f2ab(0x124)]();if(_0x255be3&&_0x5b54b6&&!_0xb4c75d){_0x1c634c[_0x29f2ab(0x2da)](),this['getState']()['flipX']&&_0x1c634c[_0x29f2ab(0x11d)](-0x1,0x1);let _0x76a40f=_0x25c2a1/0x2,_0x1e92e8=_0x595ce2/0x2;_0x1c634c[_0x29f2ab(0x1a7)](-_0x76a40f,-_0x1e92e8),_0x1c634c[_0x29f2ab(0x347)](),this['_drawShapeText'](_0x1c634c,_0x255be3,_0x5b54b6),_0x1c634c['restore']();}}['getDrawingPoints'](_0x1812c6){}['_drawShapeText'](_0x335d59,_0x3e948a,_0x5e5292){const _0x12d756=_0x4ea115;var _0x485b78;this[_0x12d756(0x404)]['isEditing']||(!((_0x485b78=_0x3e948a[_0x12d756(0x267)])!=null&&_0x485b78[_0x12d756(0x262)])&&'isRichText'in _0x3e948a&&_0x3e948a[_0x12d756(0x1e2)]===!0x1?this[_0x12d756(0x34a)](_0x335d59,_0x3e948a,_0x5e5292):this[_0x12d756(0xc7)](_0x335d59,_0x3e948a,_0x5e5292));}['_drawSimpleText'](_0x1bbb4a,_0x34d807,_0x58bf5b){const _0x514652=_0x4ea115;this[_0x514652(0xc7)](_0x1bbb4a,{..._0x34d807,'text':_0x34d807[_0x514652(0x3e5)]??'','dataModel':{'doc':(0x0,_0x1bc9bf[_0x514652(0x327)])(_0x34d807,_0x514652(0x18c)+this[_0x514652(0x23f)])}},_0x58bf5b);}[_0x4ea115(0xc7)](_0x5d417e,_0x520f43,_0x1bdde2){const _0x5ed1b4=_0x4ea115;(0x0,_0x1bc9bf['drawFormulaShapeAnimationLayers'])(_0x5d417e,this[_0x5ed1b4(0x169)],(_0x3356b8,_0xad3695)=>{const _0x4aa527=_0x5ed1b4;this[_0x4aa527(0x358)](_0x3356b8,_0x520f43,_0x1bdde2,_0xad3695);});}[_0x4ea115(0x358)](_0x357bc8,_0x755653,_0x283398,_0x385cca){const _0x49be24=_0x4ea115;let _0x365994=this[_0x49be24(0x404)][_0x49be24(0x148)];if(!_0x755653['dataModel']||!_0x365994){_0x365994||console[_0x49be24(0x17e)](_0x49be24(0x330));return;}let _0x5a2391=(0x0,_0x1bc9bf[_0x49be24(0x232)])(_0x755653[_0x49be24(0x267)]);if(!_0x5a2391)return;let _0x131460=_0x5a2391['doc'];if(!_0x131460)return;let _0x490410=(0x0,_0x535f5e[_0x49be24(0x3a5)])(_0x131460,_0x385cca),_0x49234e=_0x5a2391['va']??_0x5bc1cc['VerticalAlign'][_0x49be24(0x13e)],_0x57bebc=_0x5a2391['ha']??_0x5bc1cc[_0x49be24(0x3cc)]['LEFT'],_0x36719c=_0x2df64e(this[_0x49be24(0x404)]['shapeModel'][_0x49be24(0x165)](),_0x755653,_0x490410),_0x41974d=_0x755653[_0x49be24(0x1fb)],_0x1b1732=(0x0,_0x1bc9bf[_0x49be24(0x269)])(_0x490410,{'isHorizontal':_0x41974d!==!0x1,'textRect':_0x283398,'verticalAlign':_0x49234e,'horizontalAlign':_0x57bebc,'wrapStrategy':_0x36719c[_0x49be24(0x255)]}),_0x36cb68=new _0x5bc1cc[(_0x49be24(0x14f))](_0x1b1732),_0x2f3da5=new _0x24aff0[(_0x49be24(0xd5))](_0x36cb68),_0x5324bf=_0x24aff0[_0x49be24(0x129)]['create'](_0x2f3da5,_0x365994);_0x5324bf[_0x49be24(0x324)]();let _0xd38d5d=_0x5324bf[_0x49be24(0x11a)]()[_0x49be24(0x132)],_0x527076=(0x0,_0x1bc9bf[_0x49be24(0x313)])({'contentHeight':_0xd38d5d,'verticalAlign':_0x49234e,'viewportHeight':_0x283398[_0x49be24(0x37b)]});_0x36cb68[_0x49be24(0x306)]({'pageSize':{'width':_0x41974d===!0x1?_0x283398[_0x49be24(0x37b)]:_0x283398[_0x49be24(0xfb)],'height':(0x0,_0x1bc9bf['resolveShapeTextDocumentPageHeight'])(_0x490410,_0x527076[_0x49be24(0x226)])}}),_0x36cb68['updateDocumentDataMargin']({'t':_0x527076[_0x49be24(0x1fc)]}),_0x5324bf['calculate']();let _0x2e002b=new _0x24aff0[(_0x49be24(0x31c))](_0x49be24(0x39a)+this[_0x49be24(0x23f)],_0x5324bf,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x49be24(0x2cc)](!0x0)});_0x2e002b[_0x49be24(0xd6)](_0x283398[_0x49be24(0xfb)],_0x527076[_0x49be24(0x226)]),_0x357bc8[_0x49be24(0x2da)](),_0x357bc8[_0x49be24(0x1ad)](_0x283398[_0x49be24(0x131)],_0x283398[_0x49be24(0x304)]),_0x36719c[_0x49be24(0x307)]&&(_0x357bc8[_0x49be24(0x347)](),_0x357bc8[_0x49be24(0x1db)](0x0,_0x527076[_0x49be24(0x100)],_0x283398['width'],_0x527076[_0x49be24(0x3e8)]),_0x357bc8[_0x49be24(0x307)]()),_0x527076[_0x49be24(0x3ae)]&&_0x357bc8[_0x49be24(0x1ad)](0x0,_0x527076[_0x49be24(0x3ae)]),_0x2e002b[_0x49be24(0x257)](_0x357bc8),_0x357bc8['restore'](),_0x2e002b[_0x49be24(0x17a)](),_0x5324bf[_0x49be24(0x17a)](),_0x2f3da5[_0x49be24(0x17a)](),_0x36cb68['dispose']();}[_0x4ea115(0x396)](_0x39bb9b,_0x17bc3c,_0xec0343=!0x1){const _0x5b6d9f=_0x4ea115;if(!this[_0x5b6d9f(0x39e)])return this[_0x5b6d9f(0x2cc)](!0x1),this;let {width:_0x3c1853,height:_0x5ae4df,left:_0x1106e5,top:_0x459f76}=this,_0x2b7353=this['getRealBound']();if(_0x3c1853=_0x2b7353['width'],_0x5ae4df=_0x2b7353[_0x5b6d9f(0x37b)],_0x1106e5=_0x2b7353[_0x5b6d9f(0x131)],_0x459f76=_0x2b7353['top'],this[_0x5b6d9f(0x1f0)](_0x17bc3c)){let {top:_0x45c14d,left:_0x539136,bottom:_0x5459a3,right:_0xa9dcf6}=_0x17bc3c[_0x5b6d9f(0x3a9)];if(_0x3c1853+this[_0x5b6d9f(0x403)]+_0x1106e5<_0x539136||_0xa9dcf6<_0x1106e5||_0x5ae4df+this[_0x5b6d9f(0x403)]+_0x459f76<_0x45c14d||_0x5459a3<_0x459f76)return this;}let _0x5b2aba=_0x1106e5+_0x3c1853/0x2,_0x333f09=_0x459f76+_0x5ae4df/0x2,_0x2433f8=this[_0x5b6d9f(0x2eb)][_0x5b6d9f(0x1dd)]();if(this[_0x5b6d9f(0x404)][_0x5b6d9f(0x378)]){let _0x10aeac=this['getState'](),_0x1282c6=new _0x24aff0[(_0x5b6d9f(0xd4))]();_0x1282c6[_0x5b6d9f(0x3b8)]({..._0x10aeac}),_0x2433f8=_0x1282c6[_0x5b6d9f(0x1dd)]();}return _0x39bb9b[_0x5b6d9f(0x2da)](),this['_props'][_0x5b6d9f(0xf5)][_0x5b6d9f(0x183)]===!0x0||_0x39bb9b[_0x5b6d9f(0x2eb)](_0x2433f8[0x0],_0x2433f8[0x1],_0x2433f8[0x2],_0x2433f8[0x3],_0x5b2aba,_0x333f09),this[_0x5b6d9f(0x218)](_0x39bb9b,_0x17bc3c,_0x3c1853,_0x5ae4df),_0x39bb9b[_0x5b6d9f(0xcc)](),this['makeDirty'](!0x1),this;}['getInverseCoord'](_0xf02ddf){const _0x206140=_0x4ea115;let {left:_0x4b4192,top:_0x5da89f,width:_0xcd335f,height:_0x393524}=this[_0x206140(0x331)](),_0x1fc4e1=this[_0x206140(0x2eb)]['getMatrix'](),_0x48731e=_0x4b4192+_0xcd335f/0x2,_0x29c189=_0x5da89f+_0x393524/0x2,_0xef7bdb=new _0x24aff0[(_0x206140(0xd4))]([_0x1fc4e1[0x0],_0x1fc4e1[0x1],_0x1fc4e1[0x2],_0x1fc4e1[0x3],_0x48731e,_0x29c189]),_0xf84c26=this['getParent']();return(this[_0x206140(0xf8)]&&(_0xf84c26==null?void 0x0:_0xf84c26['classType'])===_0x24aff0['RENDER_CLASS_TYPE'][_0x206140(0x142)]?_0xf84c26[_0x206140(0x3fb)]['multiply'](_0xef7bdb):_0xef7bdb)['invert']()['applyPoint'](_0xf02ddf);}[_0x4ea115(0xe0)](_0xad239d){const _0x5da1e3=_0x4ea115;let {left:_0x14d7ac,top:_0x33fdd9,width:_0x352cc7,height:_0x1b6b94}=this[_0x5da1e3(0x331)](),_0x4d7fc9=_0x14d7ac+_0x352cc7/0x2,_0x16fed7=_0x33fdd9+_0x1b6b94/0x2,_0x2213bc=this[_0x5da1e3(0x2eb)][_0x5da1e3(0x1dd)](),_0x1ec7c3=new _0x24aff0['Transform']([_0x2213bc[0x0],_0x2213bc[0x1],_0x2213bc[0x2],_0x2213bc[0x3],_0x4d7fc9,_0x16fed7]),_0x5623c6=this[_0x5da1e3(0x15c)](),_0x59289b=(this[_0x5da1e3(0xf8)]&&(_0x5623c6==null?void 0x0:_0x5623c6[_0x5da1e3(0x2a6)])===_0x24aff0[_0x5da1e3(0x376)][_0x5da1e3(0x142)]?_0x5623c6[_0x5da1e3(0x3fb)][_0x5da1e3(0xa5)](_0x1ec7c3):_0x1ec7c3)[_0x5da1e3(0x15f)]()[_0x5da1e3(0x3b2)](_0xad239d),_0x445450=_0x352cc7/0x2,_0x381190=_0x1b6b94/0x2,_0x3de6d2=this['_props'][_0x5da1e3(0xf5)];return _0x3de6d2&&_0x3de6d2[_0x5da1e3(0x124)]()?_0x3de6d2[_0x5da1e3(0x1ba)](_0x59289b['x'],_0x59289b['y'],_0x352cc7,_0x1b6b94):_0x59289b['x']>=-_0x445450-this[_0x5da1e3(0x403)]/0x2&&_0x59289b['x']<=_0x445450+this['strokeWidth']/0x2&&_0x59289b['y']>=-_0x381190-this['strokeWidth']/0x2&&_0x59289b['y']<=_0x381190+this['strokeWidth']/0x2;}['dispose'](){const _0x18ef63=_0x4ea115;this[_0x18ef63(0x169)][_0x18ef63(0x17a)](),this['_props'][_0x18ef63(0xf5)]=null,super[_0x18ef63(0x17a)]();}};let _0x3d330d=class extends _0x5bc1cc['Disposable']{constructor(_0x5af381,_0x3568c9,_0x4304e2,_0x2d830a){const _0x1d7a5b=_0x4ea115;super(),this['_context']=_0x5af381,this[_0x1d7a5b(0x275)]=_0x3568c9,this[_0x1d7a5b(0x3b7)]=_0x4304e2,this[_0x1d7a5b(0xcb)]=_0x2d830a,_0x128b9e(this,_0x1d7a5b(0x1d1),null),_0x128b9e(this,_0x1d7a5b(0x19e),null),_0x128b9e(this,_0x1d7a5b(0x40a),null),_0x128b9e(this,_0x1d7a5b(0x1c7),void 0x0),_0x128b9e(this,_0x1d7a5b(0x127),[]),_0x128b9e(this,'_baseShapeLeft',0x0),_0x128b9e(this,_0x1d7a5b(0x159),0x0),_0x128b9e(this,_0x1d7a5b(0x2af),0x0),_0x128b9e(this,_0x1d7a5b(0xdf),0x0),_0x128b9e(this,'_isStartAdjusting',!0x1),_0x128b9e(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x128b9e(this,_0x1d7a5b(0x200),void 0x0),_0x128b9e(this,'_activeShapeModel',void 0x0),_0x128b9e(this,_0x1d7a5b(0x1aa),void 0x0),_0x128b9e(this,_0x1d7a5b(0x193),void 0x0),this[_0x1d7a5b(0x180)](),this[_0x1d7a5b(0x160)]();}[_0x4ea115(0xd1)](){this['_clearShapeAdjustControls']();}[_0x4ea115(0x1b8)](){const _0x1747d6=_0x4ea115;this[_0x1747d6(0x212)](!0x0);}[_0x4ea115(0x22a)](_0x28151d,_0x13d9c6,_0x43fcf9){const _0x229213=_0x4ea115;var _0x14d59a;return(_0x14d59a=this['_docsShapeService'][_0x229213(0x189)](_0x28151d,_0x13d9c6,_0x43fcf9))==null?void 0x0:_0x14d59a[_0x229213(0x98)]();}[_0x4ea115(0x9f)](_0x2ee213,_0x3c2450,_0x57112e,_0x4ac5e5){const _0xc44a1=_0x4ea115;var _0x531596;return(_0x531596=this[_0xc44a1(0x3b7)][_0xc44a1(0x189)](_0x2ee213,_0x3c2450,_0x57112e))==null?void 0x0:_0x531596[_0xc44a1(0x1d2)](_0x4ac5e5);}[_0x4ea115(0x369)](){const _0x11bcec=_0x4ea115;return this['_unitId']===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this['_drawingManagerService'][_0x11bcec(0x3ba)]({'unitId':this[_0x11bcec(0x19e)],'subUnitId':this[_0x11bcec(0x40a)],'drawingId':this[_0x11bcec(0x1d1)]})??null;}[_0x4ea115(0x1a5)](_0x24a552){const _0x25a258=_0x4ea115;if(this[_0x25a258(0x19e)]===null||this[_0x25a258(0x40a)]===null||this[_0x25a258(0x1d1)]===null)return null;let _0x3db5c4=(0x0,_0x3cf577[_0x25a258(0x14a)])({'unitId':this[_0x25a258(0x19e)],'subUnitId':this[_0x25a258(0x40a)],'drawingId':this['_activeShapeId']}),_0x5c3263=_0x24a552['getObjectIncludeInGroup'](_0x3db5c4);return _0x5c3263 instanceof _0x49294f?_0x5c3263:null;}[_0x4ea115(0x3cd)](_0x21018e=!0x1){const _0x30e8de=_0x4ea115;if(this['_unitId']===null||this[_0x30e8de(0x40a)]===null||this[_0x30e8de(0x1d1)]===null)return;let _0xabfe95=this[_0x30e8de(0x369)]();if((_0xabfe95==null?void 0x0:_0xabfe95[_0x30e8de(0x3a3)])!==_0x5bc1cc[_0x30e8de(0x1c8)][_0x30e8de(0x3dc)]||!_0xabfe95[_0x30e8de(0x2eb)])return;let _0x4a8667=this[_0x30e8de(0x3b7)][_0x30e8de(0x189)](this[_0x30e8de(0x19e)],this['_subUnitId'],this['_activeShapeId']);if(!_0x4a8667||_0x4a8667[_0x30e8de(0x124)]())return;let {left:_0x3da2d7=0x0,top:_0x42acf6=0x0,width:_0x1be51b=0x0,height:_0x73c50=0x0,flipX:_0x22e4c1,flipY:_0x5fff69,angle:_0x271903=0x0}=_0xabfe95[_0x30e8de(0x2eb)];(_0x21018e||!this[_0x30e8de(0x1c7)])&&(_0x4a8667[_0x30e8de(0x178)]({'width':_0x1be51b,'height':_0x73c50}),this[_0x30e8de(0x1c7)]=_0x4a8667[_0x30e8de(0x98)]());let _0x287c37=this[_0x30e8de(0x1c7)];if(!(_0x287c37!=null&&_0x287c37[_0x30e8de(0xbe)]))return;let {scene:_0x9dd424}=this[_0x30e8de(0x334)];for(let _0x49a4f7 of _0x287c37){let _0x52fe18=this['_toVisualAdjustPoint'](_0x49a4f7,_0x1be51b,_0x73c50,!!_0x22e4c1,!!_0x5fff69,_0x271903);this['_addShapeAdjustControl'](_0x9dd424,_0x52fe18,_0x52fe18[_0x30e8de(0x2f6)],_0x3da2d7,_0x42acf6,this[_0x30e8de(0x19e)],this['_subUnitId']);}}[_0x4ea115(0x399)](_0x2e4fe2,_0x41d49d,_0x371f9c,_0x2d3853,_0x233a95,_0x3eeb5f){const _0x5141c1=_0x4ea115;let _0x3f7e2c=_0x2e4fe2['x'],_0x26ca91=_0x2e4fe2['y'];if(_0x2d3853&&(_0x3f7e2c=_0x41d49d-_0x3f7e2c),_0x233a95&&(_0x26ca91=_0x371f9c-_0x26ca91),_0x3eeb5f!==0x0){let _0x46454a=_0x41d49d/0x2,_0x5e809b=_0x371f9c/0x2,_0x3ba175=_0x3eeb5f*Math['PI']/0xb4,_0x421241=Math[_0x5141c1(0x3d6)](_0x3ba175),_0x3cb5ce=Math['sin'](_0x3ba175),_0xd3a919=_0x3f7e2c-_0x46454a,_0x41fa4b=_0x26ca91-_0x5e809b;_0x3f7e2c=_0x46454a+(_0xd3a919*_0x421241-_0x41fa4b*_0x3cb5ce),_0x26ca91=_0x5e809b+(_0xd3a919*_0x3cb5ce+_0x41fa4b*_0x421241);}return{'x':_0x3f7e2c,'y':_0x26ca91,'adjName':_0x2e4fe2[_0x5141c1(0x2f6)]};}['_updateShapeAdjustControls'](_0x317c43=!0x1){const _0x20b414=_0x4ea115;_0x317c43&&this[_0x20b414(0x225)](),this['_createShapeAdjustControls'](_0x317c43);}[_0x4ea115(0x2fd)](_0x586009,_0x5f5c5c,_0x307642,_0x26ee65,_0x301c60,_0x210861,_0x1a1022){const _0x2f6807=_0x4ea115;if(!this[_0x2f6807(0x1d1)])return;let _0x19a118='doc-shape-adjust-point-'+this[_0x2f6807(0x1d1)]+'-'+_0x307642,_0x53aeaf=_0x586009['getObjectIncludeInGroup'](_0x19a118);if(_0x53aeaf){_0x53aeaf['transformByState']({'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]}),_0x53aeaf[_0x2f6807(0x2cc)](!0x0);return;}let _0x5d368b=new _0x5c2dc0(_0x19a118,{'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291[_0x2f6807(0x1f3)][_0x2f6807(0x1ef)],'adjName':_0x307642,'shapeId':this[_0x2f6807(0x1d1)],'unitId':_0x210861,'subUnitId':_0x1a1022,'width':_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]+0x8,'height':_0x349291[_0x2f6807(0x1f3)]['adjHandleSize']+0x8,'zIndex':_0x24aff0[_0x2f6807(0x1e8)]+0x1,'evented':!0x0});this[_0x2f6807(0x127)][_0x2f6807(0x39b)](_0x5d368b),this['_attachAdjustEvent'](_0x5d368b,_0x586009,_0x307642),_0x586009[_0x2f6807(0x337)](_0x5d368b,_0x24aff0[_0x2f6807(0x1e8)]+0x1);}[_0x4ea115(0x225)](){const _0x2efdd9=_0x4ea115;this[_0x2efdd9(0x127)][_0x2efdd9(0x3d7)](_0xc9caa4=>_0xc9caa4[_0x2efdd9(0x17a)]()),this['_adjustPointObjects']=[];}[_0x4ea115(0x3f2)](){const _0x4bf390=_0x4ea115;this[_0x4bf390(0x3cd)]();}[_0x4ea115(0x1fd)](_0x108bb0,_0x41210e,_0x11b0b6){const _0x4e98b1=_0x4ea115;let _0x4cd781=_0x24aff0['Vector2'][_0x4e98b1(0x2e6)]([_0x41210e,_0x11b0b6]),_0x380602=_0x108bb0[_0x4e98b1(0x1bb)](_0x4cd781)??_0x108bb0[_0x4e98b1(0x259)]()[0x0];return(_0x380602==null?void 0x0:_0x380602['transformVector2SceneCoord'](_0x4cd781))??_0x4cd781;}['_attachAdjustEvent'](_0x3cf876,_0x96a1e8,_0x3daa2e){const _0x4d98db=_0x4ea115;this['disposeWithMe']((0x0,_0x5bc1cc['toDisposable'])(_0x3cf876['onPointerDown$'][_0x4d98db(0x3bb)]((_0x545230,_0x3060b9)=>{const _0x5f37c0=_0x4d98db;var _0x1a21a5;let _0x3aae40=_0x3cf876[_0x5f37c0(0x3ec)]();this[_0x5f37c0(0x200)]=this[_0x5f37c0(0x9f)](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)],_0x3daa2e),this[_0x5f37c0(0x2c1)]=this[_0x5f37c0(0x3b7)]['getShapeModel'](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)]);let _0xe4509c=this[_0x5f37c0(0x369)](),_0x138c12=_0xe4509c==null?void 0x0:_0xe4509c['transform'];if(!_0xe4509c||!_0x138c12||!this[_0x5f37c0(0x2c1)])return;this[_0x5f37c0(0x268)]=_0x138c12[_0x5f37c0(0x131)]||0x0,this[_0x5f37c0(0x159)]=_0x138c12['top']||0x0,this[_0x5f37c0(0x2af)]=_0x138c12[_0x5f37c0(0xfb)]||0x0,this[_0x5f37c0(0xdf)]=_0x138c12[_0x5f37c0(0x37b)]||0x0;let _0xcdb161=!!_0x138c12[_0x5f37c0(0x27c)],_0x552a65=!!_0x138c12[_0x5f37c0(0x3df)],_0xd1a433=_0x138c12['angle']||0x0,_0x3b6f5c={...((_0x1a21a5=this[_0x5f37c0(0x200)])==null?void 0x0:_0x1a21a5[_0x5f37c0(0x1b6)])??{}};this[_0x5f37c0(0x168)]=!0x0,_0x96a1e8['disableObjectsEvent'](),this[_0x5f37c0(0x1aa)]=_0x96a1e8['onPointerMove$'][_0x5f37c0(0x3bb)]((_0x1fa13b,_0x3cf05d)=>{const _0x4d6363=_0x5f37c0;var _0x2ac2ad;if(!this[_0x4d6363(0x168)]||!this[_0x4d6363(0x2c1)]||!this['_activeAdjustInfo'])return;_0x96a1e8[_0x4d6363(0x345)](),_0x96a1e8[_0x4d6363(0x207)](_0x24aff0['CURSOR_TYPE']['CROSSHAIR']);let _0x3f548f=this[_0x4d6363(0x1fd)](_0x96a1e8,_0x1fa13b['offsetX'],_0x1fa13b[_0x4d6363(0x266)]),_0x38aaaf=_0x3f548f['x']-this[_0x4d6363(0x268)],_0x4e22fd=_0x3f548f['y']-this[_0x4d6363(0x159)];if(_0xd1a433!==0x0){let _0x1e97b2=this[_0x4d6363(0x2af)]/0x2,_0x33b48a=this[_0x4d6363(0xdf)]/0x2,_0xe1644d=_0xd1a433*Math['PI']/0xb4,_0x3394fa=Math[_0x4d6363(0x3d6)](_0xe1644d),_0x6ec872=Math[_0x4d6363(0x2a8)](_0xe1644d),_0xb70c69=_0x38aaaf-_0x1e97b2,_0x5a5d56=_0x4e22fd-_0x33b48a;_0x38aaaf=_0x1e97b2+(_0xb70c69*_0x3394fa+_0x5a5d56*_0x6ec872),_0x4e22fd=_0x33b48a+(-_0xb70c69*_0x6ec872+_0x5a5d56*_0x3394fa);}_0xcdb161&&(_0x38aaaf=this[_0x4d6363(0x2af)]-_0x38aaaf),_0x552a65&&(_0x4e22fd=this[_0x4d6363(0xdf)]-_0x4e22fd);let _0x4ec4d7={'left':0x0,'top':0x0,'width':this[_0x4d6363(0x2af)],'height':this['_baseShapeHeight']},_0x148fc4=this[_0x4d6363(0x2c1)][_0x4d6363(0x11b)](_0x4ec4d7,{'x':_0x38aaaf,'y':_0x4e22fd},this['_activeAdjustInfo'],_0xcdb161,_0x552a65);if(Object[_0x4d6363(0x1ae)](_0x148fc4)[_0x4d6363(0xbe)]!==0x0){for(let [_0x29254d,_0x9e69b4]of Object[_0x4d6363(0x37a)](_0x148fc4))this[_0x4d6363(0x2c1)][_0x4d6363(0x24d)](_0x29254d,_0x9e69b4);this[_0x4d6363(0x2c1)][_0x4d6363(0x178)]({'width':this[_0x4d6363(0x2af)],'height':this[_0x4d6363(0xdf)]}),(_0x2ac2ad=this[_0x4d6363(0x1a5)](_0x96a1e8))==null||_0x2ac2ad[_0x4d6363(0x2cc)](!0x0),this[_0x4d6363(0x1c7)]=this[_0x4d6363(0x22a)](_0x3aae40[_0x4d6363(0x18f)],_0x3aae40[_0x4d6363(0x199)],_0x3aae40[_0x4d6363(0x408)]),this[_0x4d6363(0x3f2)](),_0x3cf05d[_0x4d6363(0xcd)]();}}),this[_0x5f37c0(0x193)]=_0x96a1e8[_0x5f37c0(0x38c)]['subscribeEvent']((_0x42b0fd,_0x2461fe)=>{const _0x59b73e=_0x5f37c0;var _0x2fcb0f,_0x3555fa;(_0x2fcb0f=this[_0x59b73e(0x1aa)])==null||_0x2fcb0f[_0x59b73e(0xa2)](),(_0x3555fa=this[_0x59b73e(0x193)])==null||_0x3555fa[_0x59b73e(0xa2)](),_0x96a1e8[_0x59b73e(0x26a)]();let _0x2f8f84=this[_0x59b73e(0x200)];if(_0x2f8f84&&this['_activeShapeModel']){let _0x2ecbc5={};for(let _0x4b15e3 of Object['keys'](_0x2f8f84['currentAdjustValues'])){let _0x297f28=this[_0x59b73e(0x2c1)][_0x59b73e(0xb6)](_0x4b15e3);_0x297f28!==void 0x0&&(_0x2ecbc5[_0x4b15e3]=_0x297f28);}Object[_0x59b73e(0x1ae)](_0x2ecbc5)[_0x59b73e(0xbe)]>0x0&&_0x9420a0(this['_commandService'],_0x3aae40[_0x59b73e(0x18f)],_0x3aae40[_0x59b73e(0x199)],_0x3aae40['drawingId'],{'oldShapeData':{'adjustValues':_0x3b6f5c}},{'adjustValues':_0x2ecbc5});}this['_activeAdjustInfo']=void 0x0,this[_0x59b73e(0x2c1)]=void 0x0,this[_0x59b73e(0x168)]=!0x1,_0x96a1e8[_0x59b73e(0x27a)](),_0x2461fe[_0x59b73e(0xcd)]();}),_0x3060b9[_0x5f37c0(0xcd)]();})));}[_0x4ea115(0x160)](){const _0x3ca15b=_0x4ea115;let {scene:_0x50a1e7}=this[_0x3ca15b(0x334)],_0x1b5fec=_0x50a1e7[_0x3ca15b(0x8b)]();this[_0x3ca15b(0x103)](_0x1b5fec['changeStart$'][_0x3ca15b(0x3a6)](_0x10892c=>{const _0x578bc7=_0x3ca15b;this['_createShapeAdjustControls'](),_0x10892c[_0x578bc7(0x24a)]!==null&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x25e)]===0x1&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x3f5)]()[_0x578bc7(0x3eb)]()[_0x578bc7(0x115)]instanceof _0x49294f&&(this[_0x578bc7(0x350)]=!0x0);})),this[_0x3ca15b(0x103)](_0x1b5fec[_0x3ca15b(0x102)][_0x3ca15b(0x3a6)](()=>{const _0x2aef1f=_0x3ca15b;this[_0x2aef1f(0x350)]&&this[_0x2aef1f(0x225)]();})),this['disposeWithMe'](_0x50a1e7['onPointerUp$'][_0x3ca15b(0x3bb)](()=>{const _0x2bd214=_0x3ca15b;this[_0x2bd214(0x350)]&&(this[_0x2bd214(0x350)]=!0x1,this[_0x2bd214(0x3cd)]());})),this[_0x3ca15b(0x103)](_0x1b5fec['changeEnd$'][_0x3ca15b(0x3a6)](()=>{const _0x54115d=_0x3ca15b;this['_unitId']&&this['_subUnitId']&&this['_activeShapeId']&&(this[_0x54115d(0x1c7)]=this[_0x54115d(0x22a)](this[_0x54115d(0x19e)],this[_0x54115d(0x40a)],this[_0x54115d(0x1d1)]),this[_0x54115d(0x3f2)]());}));}[_0x4ea115(0x180)](){const _0x3bb01f=_0x4ea115;this[_0x3bb01f(0x103)](this[_0x3bb01f(0xcb)][_0x3bb01f(0x1b5)](_0x30027d=>{const _0x131803=_0x3bb01f;if(_0x30027d['id']!==_0x1897fd[_0x131803(0x130)]['id'])return;let {unitId:_0x193daa,shapeId:_0x304c24}=_0x30027d[_0x131803(0x405)];_0x193daa===this[_0x131803(0x19e)]&&_0x304c24===this[_0x131803(0x1d1)]&&this[_0x131803(0x1b8)]();})),this['disposeWithMe'](this[_0x3bb01f(0x275)][_0x3bb01f(0x2ff)][_0x3bb01f(0x3a6)](_0x8480d=>{const _0x419d4f=_0x3bb01f;if(_0x8480d[_0x419d4f(0xbe)]===0x1){let _0x4848b9=_0x8480d[0x0],_0x11c3e2=this[_0x419d4f(0x275)][_0x419d4f(0x3ba)](_0x4848b9);if((_0x11c3e2==null?void 0x0:_0x11c3e2['drawingType'])===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x419d4f(0x1d1)]=_0x4848b9[_0x419d4f(0x408)],this[_0x419d4f(0x19e)]=_0x4848b9[_0x419d4f(0x18f)],this[_0x419d4f(0x40a)]=_0x4848b9[_0x419d4f(0x199)],this[_0x419d4f(0x1c7)]=this['_getShapeAdjustPointListById'](_0x4848b9[_0x419d4f(0x18f)],_0x4848b9[_0x419d4f(0x199)],_0x4848b9[_0x419d4f(0x408)]),this[_0x419d4f(0x225)](),this[_0x419d4f(0x3cd)]();return;}}this[_0x419d4f(0x1d1)]=null,this[_0x419d4f(0x1c7)]=void 0x0,this[_0x419d4f(0x19e)]=null,this[_0x419d4f(0x40a)]=null,this['_clearShapeAdjustControls']();})),this[_0x3bb01f(0x103)]((0x0,_0x587404[_0x3bb01f(0x105)])(this[_0x3bb01f(0x275)][_0x3bb01f(0x176)],this['_drawingManagerService']['refreshTransform$'])[_0x3bb01f(0x3a6)](_0x1fc6a3=>{const _0x4502e9=_0x3bb01f;var _0x224d36;let _0x4eb207=_0x1fc6a3[_0x4502e9(0x99)](_0x2e4afc=>_0x2e4afc[_0x4502e9(0x408)]===this[_0x4502e9(0x1d1)]&&_0x2e4afc[_0x4502e9(0x18f)]===this[_0x4502e9(0x19e)]&&_0x2e4afc[_0x4502e9(0x199)]===this[_0x4502e9(0x40a)]);_0x4eb207&&((_0x224d36=this['_drawingManagerService'][_0x4502e9(0x3ba)](_0x4eb207))==null?void 0x0:_0x224d36['drawingType'])===_0x5bc1cc[_0x4502e9(0x1c8)][_0x4502e9(0x3dc)]&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this[_0x3bb01f(0x275)]['remove$'][_0x3bb01f(0x3a6)](_0x190b93=>{const _0x58bb95=_0x3bb01f;for(let _0x6faa8b of _0x190b93)this[_0x58bb95(0x1d1)]===_0x6faa8b['drawingId']&&(this[_0x58bb95(0x1d1)]=null,this[_0x58bb95(0x1c7)]=void 0x0,this[_0x58bb95(0x19e)]=null,this[_0x58bb95(0x40a)]=null,this[_0x58bb95(0x225)]());}));}};_0x3d330d=_0x555290([_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService'])),_0x379978(0x3,_0x5bc1cc['ICommandService'])],_0x3d330d);let _0x213530=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x47750f,_0x384669){const _0x548fb4=_0x4ea115;super(),this[_0x548fb4(0x185)]=_0x47750f,this['_instanceService']=_0x384669,_0x128b9e(this,_0x548fb4(0x37f),new _0x587404[(_0x548fb4(0x3d9))](null)),_0x128b9e(this,'editingParams$',this['_editingParams$']['asObservable']()),_0x128b9e(this,_0x548fb4(0x40e),new _0x587404['BehaviorSubject'](!0x1)),_0x128b9e(this,_0x548fb4(0x34e),this[_0x548fb4(0x40e)][_0x548fb4(0x13c)]()),_0x128b9e(this,_0x548fb4(0x35a),void 0x0),this[_0x548fb4(0x103)](this[_0x548fb4(0x185)][_0x548fb4(0x2b3)][_0x548fb4(0x3a6)](()=>{const _0x28cd64=_0x548fb4;let _0x4b783e=this[_0x28cd64(0x3db)]();_0x4b783e!=null&&_0x4b783e['visible']&&!this[_0x28cd64(0x220)](_0x4b783e)&&this[_0x28cd64(0x18a)](null);}));}[_0x4ea115(0x17a)](){const _0x48ac1f=_0x4ea115;this[_0x48ac1f(0x354)](),this[_0x48ac1f(0x37f)]['next'](null),this[_0x48ac1f(0x37f)]['complete'](),this['_onSavingEditorData$'][_0x48ac1f(0x3eb)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x48ac1f(0x17a)]();}[_0x4ea115(0x18a)](_0x5cd3eb){const _0x209325=_0x4ea115;(_0x5cd3eb==null||!_0x5cd3eb[_0x209325(0x39e)]||this[_0x209325(0x220)](_0x5cd3eb))&&(this[_0x209325(0x354)](),this['_editingParams$'][_0x209325(0x3eb)](_0x5cd3eb),(_0x5cd3eb==null||_0x5cd3eb['visible']&&this[_0x209325(0x40e)]['getValue']())&&this[_0x209325(0x40e)][_0x209325(0x3eb)](!0x1));}[_0x4ea115(0x228)](_0x57fc34){const _0x1c0915=_0x4ea115;this['_onSavingEditorData$'][_0x1c0915(0x3eb)](_0x57fc34);}[_0x4ea115(0x3db)](){const _0x20f1e3=_0x4ea115;return this[_0x20f1e3(0x37f)]['getValue']();}[_0x4ea115(0x220)](_0x1f1af1){const _0x12ff33=_0x4ea115;let _0x1cb7f8=this[_0x12ff33(0x352)][_0x12ff33(0x1f8)](_0x1f1af1[_0x12ff33(0x18f)],_0x5bc1cc[_0x12ff33(0x1ee)][_0x12ff33(0x310)]);if(!_0x1cb7f8)return!0x0;let _0x3498fd=(0x0,_0x42aa76[_0x12ff33(0x2d2)])(_0x1cb7f8,_0x1f1af1[_0x12ff33(0x392)]);return(0x0,_0x42aa76['canEditDocumentTargets'])(this['_permissionService'],_0x1f1af1[_0x12ff33(0x18f)],[...(0x0,_0x42aa76[_0x12ff33(0x373)])(_0x1cb7f8,_0x3498fd,_0x12ff33(0x31d),_0x1f1af1[_0x12ff33(0x392)]),(0x0,_0x42aa76[_0x12ff33(0x28b)])(_0x3498fd,_0x12ff33(0x31d),_0x1f1af1['shapeId'])]);}[_0x4ea115(0x3b0)](_0x4f86fe){const _0x51dd49=_0x4ea115;let _0x1a38cd=this[_0x51dd49(0x3db)]();_0x1a38cd&&this[_0x51dd49(0x35a)]===void 0x0&&(this[_0x51dd49(0x228)](!0x0),this[_0x51dd49(0x35a)]=requestAnimationFrame(()=>{const _0x58cdc5=_0x51dd49;this[_0x58cdc5(0x35a)]=void 0x0,this[_0x58cdc5(0x3db)]()===_0x1a38cd&&this[_0x58cdc5(0x18a)](null);}));}[_0x4ea115(0x354)](){const _0x23a573=_0x4ea115;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x23a573(0x35a)]),this[_0x23a573(0x35a)]=void 0x0);}['cancelEditing'](){const _0x409cb9=_0x4ea115;this[_0x409cb9(0x3db)]()&&this[_0x409cb9(0x18a)](null);}};_0x213530=_0x555290([_0x379978(0x0,_0x5bc1cc['IPermissionService']),_0x379978(0x1,_0x5bc1cc[_0x4ea115(0x18e)])],_0x213530);function _0x352cb0(_0x2b7906){const _0xea74f9=_0x4ea115;return _0x2b7906[_0xea74f9(0x1ce)]===!0x0||_0x2b7906[_0xea74f9(0x1ce)]===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']||_0x2b7906[_0xea74f9(0x109)]===_0x5bc1cc[_0xea74f9(0x342)]['WRAP_NONE']&&_0x2b7906['behindDoc']===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']?_0x341d83[_0xea74f9(0x3e7)]-0x1:_0x24aff0[_0xea74f9(0x1e8)];}let _0x2d120d=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x50c788,_0x310cff,_0x38fec3,_0x57ef,_0x5d3ff2,_0x5df209,_0x3feaf1){const _0x3a57fb=_0x4ea115;super(),this[_0x3a57fb(0x275)]=_0x50c788,this[_0x3a57fb(0x3b7)]=_0x310cff,this[_0x3a57fb(0x260)]=_0x38fec3,this[_0x3a57fb(0x236)]=_0x57ef,this[_0x3a57fb(0x286)]=_0x5d3ff2,this[_0x3a57fb(0x149)]=_0x5df209,this[_0x3a57fb(0x355)]=_0x3feaf1,_0x128b9e(this,_0x3a57fb(0x2f5),new Map()),this[_0x3a57fb(0x103)](this[_0x3a57fb(0x355)]['presentationChanged$'][_0x3a57fb(0x3a6)](_0x54c893=>{const _0x4f2fce=_0x3a57fb;var _0xa26330;(_0xa26330=this['_formulaShapes'][_0x4f2fce(0x20e)](this['_formulaKey'](_0x54c893[_0x4f2fce(0x18f)],_0x54c893[_0x4f2fce(0x199)],_0x54c893[_0x4f2fce(0x392)])))==null||_0xa26330[_0x4f2fce(0x3d7)](_0x32062a=>_0x32062a[_0x4f2fce(0xdd)](_0x54c893[_0x4f2fce(0x2c0)],_0x54c893[_0x4f2fce(0x296)]));})),this[_0x3a57fb(0x103)](this['_drawingManagerService']['remove$']['subscribe'](_0x367475=>{_0x367475['forEach'](_0x4497db=>{const _0x158234=_0x9d29;this[_0x158234(0x355)]['unregister']({'unitId':_0x4497db[_0x158234(0x18f)],'subUnitId':_0x4497db[_0x158234(0x199)],'shapeId':_0x4497db['drawingId']}),this['_formulaShapes'][_0x158234(0x284)](this[_0x158234(0x252)](_0x4497db[_0x158234(0x18f)],_0x4497db[_0x158234(0x199)],_0x4497db[_0x158234(0x408)]));});}));}['renderDrawingShape'](_0x34151b,_0xe4f8f5){const _0x1e1a11=_0x4ea115;let {transform:_0x57c64c,drawingType:_0x30cdfc,srcRect:_0x20dc38,prstGeom:_0x2a4677,groupId:_0x161fbd,unitId:_0x1dbf87,subUnitId:_0x144957,drawingId:_0x49bd5c,isMultiTransform:_0x33992b,transforms:_0x1e924f,hidden:_0x3356bf,selectable:_0xbf69e1}=_0x34151b;if(_0x30cdfc!==_0x5bc1cc[_0x1e1a11(0x1c8)][_0x1e1a11(0x3dc)]||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]()||_0x57c64c==null)return;let _0x2ce4e9=this[_0x1e1a11(0x275)]['getDrawingEditable'](),_0x8f037c=_0x33992b&&_0x1e924f?_0x1e924f:[_0x57c64c],_0x3cad7d=[];for(let [_0x1607ea,_0x2962ff]of _0x8f037c[_0x1e1a11(0x37a)]()){let {left:_0x518339,top:_0x1d2d13,width:_0x153c4a,height:_0x309639,angle:_0x5096fc,flipX:_0x375849,flipY:_0x167148,skewX:_0x3c8e66,skewY:_0x1309a1}=_0x2962ff,_0x1963ef=(0x0,_0x3cf577[_0x1e1a11(0x14a)])({'unitId':_0x1dbf87,'subUnitId':_0x144957,'drawingId':_0x49bd5c},_0x33992b?_0x1607ea:void 0x0),_0x233040=_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef);if(_0x233040!=null){let _0x5548c8={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x233040 instanceof _0x49294f&&this[_0x1e1a11(0x172)](_0x233040,_0x5548c8),_0x233040[_0x1e1a11(0x329)]({'left':_0x518339,'top':_0x1d2d13,'width':_0x153c4a,'height':_0x309639,'angle':_0x5096fc,'flipX':_0x375849,'flipY':_0x167148,'skewX':_0x3c8e66,'skewY':_0x1309a1});continue;}let _0x130c7b=this['_drawingManagerService'][_0x1e1a11(0xbc)](_0x1dbf87,_0x144957),_0x4fb036=_0x130c7b['indexOf'](_0x49bd5c);if(_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef)||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]())continue;let _0x1ee7af=this[_0x1e1a11(0x3b7)][_0x1e1a11(0x189)](_0x1dbf87,_0x144957,_0x49bd5c);if(!_0x1ee7af)continue;let _0x4eea90=(0x0,_0x349291[_0x1e1a11(0x2d6)])(_0x1ee7af[_0x1e1a11(0x3ef)]())?{..._0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x28fb13=_0x1ee7af['getShapeData']()[_0x1e1a11(0x1eb)],_0x3b92bf={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x28fb13&&this['_shapeFormulaService'][_0x1e1a11(0x223)](_0x3b92bf,_0x28fb13);let _0x2b2534=new _0x49294f(_0x1963ef,{..._0x2962ff,'zIndex':_0x4fb036===-0x1?_0x130c7b[_0x1e1a11(0xbe)]-0x1:_0x4fb036,'shapeModel':_0x1ee7af,'localeService':this[_0x1e1a11(0x260)],'shapeId':_0x49bd5c,'unitId':_0x1dbf87,'subUnitId':_0x144957,'visible':_0x3356bf!==!0x0,'evented':_0xbf69e1!==!0x1,'formulaPresentation':_0x28fb13?this[_0x1e1a11(0x355)]['getPresentation'](_0x3b92bf):void 0x0,'animateFormulaPresentation':(_0x28fb13==null?void 0x0:_0x28fb13['animationEnabled'])!==!0x1,'transformerConfig':_0x4eea90});if(_0x28fb13){let _0xd0b4d5=this['_formulaKey'](_0x1dbf87,_0x144957,_0x49bd5c),_0x27c65e=this[_0x1e1a11(0x2f5)][_0x1e1a11(0x20e)](_0xd0b4d5)??new Set();_0x27c65e[_0x1e1a11(0xef)](_0x2b2534),this['_formulaShapes']['set'](_0xd0b4d5,_0x27c65e);}this[_0x1e1a11(0x103)]((0x0,_0x5bc1cc[_0x1e1a11(0x230)])(_0x2b2534['onDblclick$'][_0x1e1a11(0x3bb)]((_0x2c5b9c,_0x5c4283)=>{const _0x5e55cf=_0x1e1a11;_0x1ee7af[_0x5e55cf(0x124)]()||_0x28fb13||(this['_shapeTextEditingService'][_0x5e55cf(0x18a)]({'visible':!0x0,'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c,'shapeKey':_0x2b2534[_0x5e55cf(0x23f)]}),_0x5c4283[_0x5e55cf(0xcd)]());}))),_0xe4f8f5[_0x1e1a11(0x337)](_0x2b2534,_0x352cb0(_0x34151b)),_0x2ce4e9&&_0xe4f8f5[_0x1e1a11(0x379)](_0x2b2534),_0x161fbd&&(0x0,_0x390061[_0x1e1a11(0x118)])({'drawingId':_0x161fbd,'unitId':_0x1dbf87,'subUnitId':_0x144957},_0x2b2534,_0xe4f8f5,this[_0x1e1a11(0x275)],_0x33992b?_0x1607ea:void 0x0),_0x2a4677!=null&&_0x2b2534['setPrstGeom'](_0x2a4677),_0x20dc38!=null&&_0x2b2534['setSrcRect'](_0x20dc38),this['_loadShapePictureFill'](_0x2b2534,_0x1ee7af[_0x1e1a11(0x165)]()),_0x3cad7d[_0x1e1a11(0x39b)](_0x2b2534);}return _0x3cad7d;}[_0x4ea115(0x252)](_0x4d428c,_0x504386,_0x12d77b){return _0x4d428c+'\x00'+_0x504386+'\x00'+_0x12d77b;}[_0x4ea115(0x172)](_0x381140,_0x34cccc){const _0x352796=_0x4ea115;let _0x8aba53=this[_0x352796(0x3b7)][_0x352796(0x189)](_0x34cccc['unitId'],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]),_0x36aaeb=_0x8aba53==null?void 0x0:_0x8aba53[_0x352796(0x165)]()['formulaBinding'],_0x32faa4=this[_0x352796(0x252)](_0x34cccc[_0x352796(0x18f)],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]);if(_0x36aaeb){this['_shapeFormulaService'][_0x352796(0x223)](_0x34cccc,_0x36aaeb);let _0x844da6=this[_0x352796(0x2f5)]['get'](_0x32faa4)??new Set();_0x844da6[_0x352796(0xef)](_0x381140),this[_0x352796(0x2f5)][_0x352796(0x1fe)](_0x32faa4,_0x844da6);}else{var _0x1094c2;this[_0x352796(0x355)][_0x352796(0x265)](_0x34cccc),(_0x1094c2=this[_0x352796(0x2f5)][_0x352796(0x20e)](_0x32faa4))==null||_0x1094c2[_0x352796(0x284)](_0x381140);}_0x381140['setFormulaPresentation'](_0x36aaeb?this[_0x352796(0x355)][_0x352796(0x229)](_0x34cccc):void 0x0,(_0x36aaeb==null?void 0x0:_0x36aaeb[_0x352796(0x296)])!==!0x1);}['refreshShapeFillImage'](_0x1b16d1){const _0x3a05e2=_0x4ea115;let _0x51518f=_0x1b16d1['shapeModel']['getShapeData'](),_0xea73d6=_0x51518f[_0x3a05e2(0x1bd)];if(!_0xea73d6||_0xea73d6['fillType']!==_0x349291[_0x3a05e2(0x244)]['PictureFill']||!_0xea73d6[_0x3a05e2(0x19f)]){_0x1b16d1[_0x3a05e2(0x2e4)](void 0x0);return;}this[_0x3a05e2(0x2ca)](_0x1b16d1,_0x51518f);}['_loadShapePictureFill'](_0x1c3953,_0x223099){const _0x464750=_0x4ea115;let _0x309db4=_0x223099[_0x464750(0x1bd)];if(!_0x309db4||_0x309db4[_0x464750(0x171)]!==_0x349291[_0x464750(0x244)][_0x464750(0x32d)]||!_0x309db4[_0x464750(0x19f)])return;let _0x1c93c7=_0x309db4['fillImageSource'],_0x11f6a9=_0x309db4[_0x464750(0x135)]??_0x349291[_0x464750(0x106)][_0x464750(0x21d)],_0x194313=this[_0x464750(0x236)][_0x464750(0x13a)](_0x1c93c7,_0x11f6a9);if(_0x194313){_0x1c3953[_0x464750(0x2e4)](_0x194313);return;}this[_0x464750(0x318)](_0x1c3953,_0x1c93c7,_0x11f6a9);}async[_0x4ea115(0x318)](_0x1be3ad,_0x46d3a5,_0x2a1fb){const _0x2bb348=_0x4ea115;let _0x44ae17;try{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x40c)])_0x44ae17=await this[_0x2bb348(0x236)][_0x2bb348(0x16c)](_0x46d3a5);else{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x21d)])try{_0x44ae17=await this['_urlImageService']['getImage'](_0x46d3a5);}catch{_0x44ae17=_0x46d3a5;}else _0x44ae17=_0x46d3a5;}}catch(_0x4ddecf){console[_0x2bb348(0x1bc)](_0x2bb348(0x197),_0x4ddecf);return;}let _0xcc2356=new window[(_0x2bb348(0x140))]();_0xcc2356[_0x2bb348(0x294)]=()=>{const _0x11f00f=_0x2bb348;this[_0x11f00f(0x236)][_0x11f00f(0x27e)](_0x46d3a5,_0x2a1fb,_0xcc2356),_0x1be3ad['setFillImage'](_0xcc2356);},_0xcc2356['onerror']=()=>{const _0x835df0=_0x2bb348;console[_0x835df0(0x1bc)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x46d3a5);},_0xcc2356[_0x2bb348(0x3d3)]=_0x44ae17;}};_0x2d120d=_0x555290([_0x379978(0x0,_0x3cf577['IDrawingManagerService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x2ac)]),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x14e)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x6,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x535f5e['ShapeFormulaService']))],_0x2d120d);let _0x22d8c8=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x34bd41,_0x1a9507,_0x20f36c){const _0x3dab51=_0x4ea115;super(),this[_0x3dab51(0x162)]=_0x34bd41,this['_drawingManagerService']=_0x1a9507,this[_0x3dab51(0x33f)]=_0x20f36c,this[_0x3dab51(0x175)]();}[_0x4ea115(0x175)](){const _0x8de407=_0x4ea115;this['disposeWithMe'](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2cd)](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2fe)]()[_0x8de407(0x274)],{'handler':(_0x1fed13,_0xbc8194,_0x5bc048)=>{const _0x5677da=_0x8de407;var _0x22f273;let {unitId:_0x10882b,scene:_0x248361,skeleton:_0x25e691}=_0xbc8194,{pageIndex:_0x37b963}=_0xbc8194,_0x5d1ba8=(_0x22f273=this[_0x5677da(0x275)][_0x5677da(0x25f)](_0x10882b))==null?void 0x0:_0x22f273[_0x10882b],_0x575224=_0x14e2fb(this[_0x5677da(0x162)],_0x25e691,_0x37b963);return _0x5d1ba8==null||_0x5d1ba8[_0x5677da(0x280)][_0x5677da(0x3d7)](_0x47d2c6=>{const _0x1ac93b=_0x5677da;if(_0x575224&&!_0x575224[_0x1ac93b(0x2d9)](_0x47d2c6))return;let _0x8dc38e=_0x5d1ba8['data'][_0x47d2c6];_0x8dc38e['drawingType']===_0x5bc1cc[_0x1ac93b(0x1c8)][_0x1ac93b(0x3dc)]&&!_0x8dc38e[_0x1ac93b(0x2c6)]&&this[_0x1ac93b(0x33f)][_0x1ac93b(0x34b)](_0x8dc38e,_0x248361);}),_0x5bc048(_0x1fed13);}}));}};_0x22d8c8=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc['Inject'])(_0x341d83['DocPrintInterceptorService'])),_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x22d8c8);function _0x14e2fb(_0x5def01,_0x270d7a,_0x2c1473){const _0xccda7c=_0x4ea115;var _0x4e39e5,_0x4f9a90;let _0x5c9168=_0x5def01;if(_0x5c9168[_0xccda7c(0x3f7)])return _0x5c9168[_0xccda7c(0x3f7)](_0x270d7a,_0x2c1473);let _0xa91284=_0x270d7a[_0xccda7c(0x303)]();if(!_0xa91284||_0xa91284[_0xccda7c(0x227)]['length']<=0x1||_0x2c1473==null)return null;let _0x2781bf=new Set(),_0x22ea2a=_0xa91284[_0xccda7c(0x227)][_0x2c1473];if(!_0x22ea2a)return _0x2781bf;_0x356120(_0x22ea2a,_0x2781bf);let _0x2fb5fc=(_0x4e39e5=_0xa91284[_0xccda7c(0xf7)][_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x1ff)]))==null?void 0x0:_0x4e39e5['get'](_0x22ea2a[_0xccda7c(0x2f0)]),_0x20b312=(_0x4f9a90=_0xa91284[_0xccda7c(0x2ef)][_0xccda7c(0x20e)](_0x22ea2a['footerId']))==null?void 0x0:_0x4f9a90[_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x2f0)]);return _0x2fb5fc&&_0x356120(_0x2fb5fc,_0x2781bf),_0x20b312&&_0x356120(_0x20b312,_0x2781bf),_0x2781bf;}function _0x356120(_0x3db0ca,_0x2eec16){const _0x379a43=_0x4ea115;for(let _0x240aaf of _0x3db0ca[_0x379a43(0x3da)]['keys']())_0x2eec16['add'](_0x240aaf);for(let _0x451120 of _0x3db0ca[_0x379a43(0xe8)][_0x379a43(0x3f5)]())for(let _0x4c9966 of _0x451120[_0x379a43(0x1a8)])for(let _0x11f573 of _0x4c9966[_0x379a43(0x1bf)])_0x356120(_0x11f573,_0x2eec16);}function _0x344428({ref:_0x1b371c,..._0x56bbbc}){const _0x5488e9=_0x4ea115;let {preserveStrokeWidth:_0x120201,icon:_0x4bf825,id:_0x3742f9,className:_0xdab093,extend:_0x51e2bd,..._0x2de1a4}=_0x56bbbc,_0x5b04d8=(_0x5488e9(0x1fa)+_0x3742f9+'\x20'+(_0xdab093||''))[_0x5488e9(0x209)](),_0x55d4b4='_'+(0x0,_0x18e885[_0x5488e9(0x2ec)])(),_0x23a12d=(0x0,_0x18e885[_0x5488e9(0x2d3)])(null);return(0x0,_0x18e885[_0x5488e9(0x20f)])(_0x1b371c,()=>_0x23a12d[_0x5488e9(0x161)]),(0x0,_0x18e885[_0x5488e9(0x34d)])(()=>{const _0x46543c=_0x5488e9;if(_0x120201&&_0x23a12d[_0x46543c(0x161)]&&_0x23a12d[_0x46543c(0x161)][_0x46543c(0x25a)]===_0x4bf825[_0x46543c(0x1f5)])return _0x2f6b5a(_0x23a12d['current']);},[_0x120201,_0x4bf825]),_0x5df308(_0x4bf825,''+_0x3742f9,{'defIds':_0x4bf825[_0x5488e9(0x32c)],'idSuffix':_0x55d4b4},{'ref':_0x23a12d,'className':_0x5b04d8,..._0x2de1a4},_0x51e2bd);}function _0x5df308(_0x5ef4df,_0x354096,_0x1743c2,_0x274a40,_0x1c9b9c){const _0x1f3b3e=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x5ef4df['tag'],{'key':_0x354096,..._0x334387(_0x5ef4df,_0x1743c2,_0x1c9b9c),..._0x274a40},(_0x393965(_0x5ef4df,_0x1743c2)[_0x1f3b3e(0x362)]||[])[_0x1f3b3e(0x3ca)]((_0x567f28,_0x2ecc37)=>_0x5df308(_0x567f28,_0x354096+'-'+_0x5ef4df[_0x1f3b3e(0x1f5)]+'-'+_0x2ecc37,_0x1743c2,void 0x0,_0x1c9b9c)));}function _0x334387(_0x591754,_0x9eb82a,_0x3889b8){const _0x1fa05a=_0x4ea115;let _0x4cb23b={..._0x591754[_0x1fa05a(0x263)]};_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x1bd)]==='colorChannel1'&&(_0x4cb23b[_0x1fa05a(0x1bd)]=_0x3889b8[_0x1fa05a(0x188)]),_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x35c)]===_0x1fa05a(0x188)&&(_0x4cb23b[_0x1fa05a(0x35c)]=_0x3889b8[_0x1fa05a(0x188)]),_0x591754[_0x1fa05a(0x1f5)]===_0x1fa05a(0x368)&&_0x4cb23b['id']&&(_0x4cb23b['id']+=_0x9eb82a[_0x1fa05a(0x256)]),Object[_0x1fa05a(0x37a)](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0x5a2a35,_0x4bc8af])=>{const _0x376263=_0x1fa05a;_0x5a2a35===_0x376263(0x368)&&typeof _0x4bc8af==_0x376263(0x146)&&(_0x4cb23b[_0x5a2a35]=_0x4bc8af[_0x376263(0x1d8)](/url\(#(.*)\)/,_0x376263(0x3c7)+_0x9eb82a['idSuffix']+')'));});let {defIds:_0x4a9dc3}=_0x9eb82a;return!_0x4a9dc3||_0x4a9dc3[_0x1fa05a(0xbe)]===0x0?_0x4cb23b:(_0x591754[_0x1fa05a(0x1f5)]==='use'&&_0x4cb23b[_0x1fa05a(0x3ad)]&&(_0x4cb23b['xlink:href']+=_0x9eb82a[_0x1fa05a(0x256)]),Object['entries'](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0xf68651,_0x558489])=>{const _0xa84b87=_0x1fa05a;typeof _0x558489=='string'&&(_0x4cb23b[_0xf68651]=_0x558489[_0xa84b87(0x1d8)](/url\(#(.*)\)/,_0xa84b87(0x3c7)+_0x9eb82a[_0xa84b87(0x256)]+')'));}),_0x4cb23b);}function _0x393965(_0xc424b7,_0x25fcf2){const _0x41b0bc=_0x4ea115;var _0x691f9e;let {defIds:_0x3e8da6}=_0x25fcf2;return!_0x3e8da6||_0x3e8da6[_0x41b0bc(0xbe)]===0x0?_0xc424b7:_0xc424b7[_0x41b0bc(0x1f5)]===_0x41b0bc(0xaf)&&(_0x691f9e=_0xc424b7[_0x41b0bc(0x362)])!=null&&_0x691f9e[_0x41b0bc(0xbe)]?{..._0xc424b7,'children':_0xc424b7[_0x41b0bc(0x362)]['map'](_0x1c4fe5=>typeof _0x1c4fe5[_0x41b0bc(0x263)]['id']==_0x41b0bc(0x146)&&_0x3e8da6&&_0x3e8da6[_0x41b0bc(0x3a0)](_0x1c4fe5[_0x41b0bc(0x263)]['id'])?{..._0x1c4fe5,'attrs':{..._0x1c4fe5[_0x41b0bc(0x263)],'id':_0x1c4fe5[_0x41b0bc(0x263)]['id']+_0x25fcf2['idSuffix']}}:_0x1c4fe5)}:_0xc424b7;}function _0x2f6b5a(_0x19b89){const _0x55297d=_0x4ea115;let _0x332b48=_0x19b89[_0x55297d(0x332)][_0x55297d(0x253)],_0x58d157=Math[_0x55297d(0x409)](_0x332b48[_0x55297d(0xfb)],_0x332b48[_0x55297d(0x37b)]);if(!Number[_0x55297d(0xe5)](_0x58d157)||_0x58d157<=0x0||_0x332b48[_0x55297d(0xfb)]<=0x0||_0x332b48[_0x55297d(0x37b)]<=0x0)return()=>void 0x0;let _0x1f251e=0x10/_0x58d157,_0x2f7f93=Array['from'](_0x19b89[_0x55297d(0x90)](_0x55297d(0x298)))['flatMap'](_0x45280a=>{const _0x5d4296=_0x55297d;let _0xc6c2b6=getComputedStyle(_0x45280a),_0x3a4d0b=Number['parseFloat'](_0xc6c2b6[_0x5d4296(0x403)]);return _0xc6c2b6[_0x5d4296(0x35c)]===_0x5d4296(0x3c4)||Number[_0x5d4296(0x3a8)](_0xc6c2b6[_0x5d4296(0x14d)])===0x0||_0xc6c2b6[_0x5d4296(0x348)]===_0x5d4296(0x2bd)||!Number[_0x5d4296(0xe5)](_0x3a4d0b)||_0x3a4d0b<=0x0?[]:[{'element':_0x45280a,'hadStyleAttribute':_0x45280a[_0x5d4296(0xec)](_0x5d4296(0xeb)),'originalStrokeWidth':_0x3a4d0b,'strokeWidth':_0x3ffd12(_0x45280a[_0x5d4296(0xeb)],'stroke-width')}];})['map'](_0x249fe3=>({'appliedStrokeWidth':null,'element':_0x249fe3['element'],'hadStyleAttribute':_0x249fe3[_0x55297d(0x249)],'isReleased':!0x1,'originalStrokeWidth':_0x249fe3[_0x55297d(0x3d5)],'strokeWidth':_0x249fe3['strokeWidth']}));if(_0x2f7f93['length']===0x0)return()=>void 0x0;let _0x423690=(_0x44c847,_0x51e64d)=>{const _0x34f988=_0x55297d;if(_0x332b48[_0x34f988(0xfb)]<=0x0||_0x332b48[_0x34f988(0x37b)]<=0x0||_0x44c847<=0x0||_0x51e64d<=0x0)return;let _0x433d9b=Math[_0x34f988(0x360)](_0x44c847/_0x332b48['width'],_0x51e64d/_0x332b48[_0x34f988(0x37b)]);!Number[_0x34f988(0xe5)](_0x433d9b)||_0x433d9b<=0x0||_0x2f7f93[_0x34f988(0x3d7)](_0x466a34=>{const _0x3c8e77=_0x34f988;if(_0x466a34['isReleased'])return;if(_0x466a34[_0x3c8e77(0xae)]!==null&&(_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1d7)]('stroke-width')!==_0x466a34[_0x3c8e77(0xae)]||_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1f9)](_0x3c8e77(0x23d))!==_0x466a34['strokeWidth'][_0x3c8e77(0xc2)])){_0x466a34[_0x3c8e77(0xae)]=null,_0x466a34[_0x3c8e77(0x1a6)]=!0x0;return;}let _0x521831=_0x466a34[_0x3c8e77(0x3d5)]*_0x1f251e/_0x433d9b,_0xb96ab=Number(_0x521831[_0x3c8e77(0x1e5)](0xc))+'px';_0x466a34[_0x3c8e77(0x28f)][_0x3c8e77(0xeb)]['setProperty'](_0x3c8e77(0x23d),_0xb96ab,_0x466a34[_0x3c8e77(0x403)][_0x3c8e77(0xc2)]),_0x466a34['appliedStrokeWidth']=_0xb96ab;});},_0x35363d=_0x19b89[_0x55297d(0x1a3)]();_0x423690(_0x35363d['width'],_0x35363d[_0x55297d(0x37b)]);let _0x308ce3=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x33f228=>{const _0x5ce3ae=_0x55297d;if(_0x33f228[_0x5ce3ae(0x23a)](_0x5aac39=>_0x5aac39[_0x5ce3ae(0x3b9)]===_0x19b89)){let _0x3ea33a=_0x19b89[_0x5ce3ae(0x1a3)]();_0x423690(_0x3ea33a[_0x5ce3ae(0xfb)],_0x3ea33a[_0x5ce3ae(0x37b)]);}});return _0x308ce3==null||_0x308ce3[_0x55297d(0x3b1)](_0x19b89),()=>{const _0x78bbf8=_0x55297d;_0x308ce3==null||_0x308ce3[_0x78bbf8(0x316)](),_0x2f7f93[_0x78bbf8(0x3d7)](_0x35f187=>{const _0x1b7fbf=_0x78bbf8;_0x35f187[_0x1b7fbf(0xae)]!==null&&(_0xea798(_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)],_0x1b7fbf(0x23d),_0x35f187[_0x1b7fbf(0xae)],_0x35f187[_0x1b7fbf(0x403)][_0x1b7fbf(0xc2)],_0x35f187[_0x1b7fbf(0x403)]),!_0x35f187[_0x1b7fbf(0x249)]&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)][_0x1b7fbf(0xbe)]===0x0&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0x1e3)]('style'));});};}function _0x3ffd12(_0x28f68a,_0x5be34b){const _0x38ef35=_0x4ea115;return{'priority':_0x28f68a[_0x38ef35(0x1f9)](_0x5be34b),'value':_0x28f68a[_0x38ef35(0x1d7)](_0x5be34b)};}function _0xea798(_0x56dfcc,_0x5e0bfc,_0x2cfd3e,_0x1e2535,_0x1bb88c){const _0x3b8258=_0x4ea115;_0x56dfcc['getPropertyValue'](_0x5e0bfc)===_0x2cfd3e&&_0x56dfcc[_0x3b8258(0x1f9)](_0x5e0bfc)===_0x1e2535&&(_0x1bb88c[_0x3b8258(0x115)]?_0x56dfcc[_0x3b8258(0xee)](_0x5e0bfc,_0x1bb88c[_0x3b8258(0x115)],_0x1bb88c['priority']):_0x56dfcc[_0x3b8258(0xd2)](_0x5e0bfc));}_0x344428['displayName']=_0x4ea115(0xb4);let _0x335f5e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':'none','viewBox':_0x4ea115(0x117),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2d8),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1c6)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x32945e=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x468aef,_0x1c8bb8){const _0x4910ee=_0x4ea115;return(0x0,_0x18e885[_0x4910ee(0x30d)])(_0x344428,Object[_0x4910ee(0x1ab)]({},_0x468aef,{'id':'bottom-icon','ref':_0x1c8bb8,'icon':_0x335f5e}));});_0x32945e[_0x4ea115(0x3a4)]=_0x4ea115(0x401);let _0x2ce878={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x9d),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x345ed1=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x266223,_0x3115d2){return(0x0,_0x18e885['createElement'])(_0x344428,Object['assign']({},_0x266223,{'id':'more-down-icon','ref':_0x3115d2,'icon':_0x2ce878}));});_0x345ed1[_0x4ea115(0x3a4)]=_0x4ea115(0x3ee);let _0x4be27f={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':'M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','fillRule':'evenodd','clipRule':_0x4ea115(0x210)}}]},_0x38360f=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0xc6e3c4,_0x58e824){const _0x156cd4=_0x4ea115;return(0x0,_0x18e885[_0x156cd4(0x30d)])(_0x344428,Object[_0x156cd4(0x1ab)]({},_0xc6e3c4,{'id':_0x156cd4(0xe4),'ref':_0x58e824,'icon':_0x4be27f}));});_0x38360f[_0x4ea115(0x3a4)]='MoreUpIcon';let _0x133da7={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2016\x2016','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x3fa),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x2cf)}}]},_0x4f55f7=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x54a7d8,_0x39d892){const _0x122618=_0x4ea115;return(0x0,_0x18e885[_0x122618(0x30d)])(_0x344428,Object[_0x122618(0x1ab)]({},_0x54a7d8,{'id':_0x122618(0x2f9),'ref':_0x39d892,'icon':_0x133da7}));});_0x4f55f7['displayName']=_0x4ea115(0x33a);let _0x799933={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x315),'fillRule':_0x4ea115(0x210),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x8c)}}]},_0x2c5f65=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x1de1bc,_0x245831){const _0x2fc85f=_0x4ea115;return(0x0,_0x18e885[_0x2fc85f(0x30d)])(_0x344428,Object[_0x2fc85f(0x1ab)]({},_0x1de1bc,{'id':_0x2fc85f(0x17b),'ref':_0x245831,'icon':_0x799933}));});_0x2c5f65['displayName']='MoveUpIcon';let _0x40d325={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x4ea115(0xb0),'strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}}]},_0x12045a=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x58458d,_0x28c7e8){const _0x1a789f=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x344428,Object[_0x1a789f(0x1ab)]({},_0x58458d,{'id':_0x1a789f(0x407),'ref':_0x28c7e8,'icon':_0x40d325}));});_0x12045a['displayName']=_0x4ea115(0x2b7);let _0x431d8d={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x1af),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':'currentColor','d':_0x4ea115(0x3d8),'strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x114),'strokeLinejoin':'round'}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x2bc)}}]},_0x230f39=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x4f551a,_0x3431e2){const _0xb4dffc=_0x4ea115;return(0x0,_0x18e885[_0xb4dffc(0x30d)])(_0x344428,Object[_0xb4dffc(0x1ab)]({},_0x4f551a,{'id':_0xb4dffc(0x364),'ref':_0x3431e2,'icon':_0x431d8d}));});_0x230f39['displayName']='ShapeFormatSettingIcon';let _0xa1765e={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2020\x2020','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xc3),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0xe5ab3d=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x6d6d02,_0x1e787b){const _0x5530e3=_0x4ea115;return(0x0,_0x18e885[_0x5530e3(0x30d)])(_0x344428,Object[_0x5530e3(0x1ab)]({},_0x6d6d02,{'id':_0x5530e3(0x96),'ref':_0x1e787b,'icon':_0xa1765e}));});_0xe5ab3d[_0x4ea115(0x3a4)]=_0x4ea115(0xfe);let _0x43d24e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x117),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xed)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1f1),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2a7),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x33a0d3=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x17799f,_0x36f0d3){const _0x4cec06=_0x4ea115;return(0x0,_0x18e885[_0x4cec06(0x30d)])(_0x344428,Object[_0x4cec06(0x1ab)]({},_0x17799f,{'id':_0x4cec06(0x245),'ref':_0x36f0d3,'icon':_0x43d24e}));});_0x33a0d3['displayName']=_0x4ea115(0x3c5);function _0x203fd8(_0x3c8eed){const _0x1290ce=_0x4ea115;return(0x0,_0x4b014e[_0x1290ce(0xaa)])(_0x4e301f,{..._0x3c8eed,'PickerComponent':_0x1bc9bf['MobileShapePickerPanel']});}function _0x4df747(){const _0x31b340=_0x4ea115;let _0x5b1688=(0x0,_0x446708[_0x31b340(0x389)])(_0x5bc1cc[_0x31b340(0x243)]),_0xa61f2a=_0x1406e3(),[_0x56ff29,_0x33d9e2]=(0x0,_0x18e885[_0x31b340(0x15d)])(!0x1);return(0x0,_0x4b014e['jsxs'])(_0x31b340(0xd8),{'className':_0x31b340(0x94),'children':[(0x0,_0x4b014e['jsx'])(_0x48b50a['MobileActionRow'],{'title':_0x5b1688['t'](_0x31b340(0x349)),'aria-expanded':_0x56ff29,'variant':'subtle','trailing':_0x56ff29?(0x0,_0x4b014e['jsx'])(_0x38360f,{}):(0x0,_0x4b014e['jsx'])(_0x345ed1,{}),'onClick':()=>_0x33d9e2(_0xa28f81=>!_0xa28f81)}),_0x56ff29&&(0x0,_0x4b014e[_0x31b340(0xaa)])(_0x1bc9bf[_0x31b340(0x319)],{'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x31b340(0x3ab)]],'onShapeClick':_0x580fc6=>{_0xa61f2a(_0x580fc6),_0x33d9e2(!0x1);}})]});}function _0x5a4f2a(_0x2c7566){const _0x3155ee=_0x4ea115;return _0x2c7566[_0x3155ee(0x209)]()||void 0x0;}function _0x4396d2(_0x18a502,_0x128797,_0x24e8ee){const _0x2b6b64=_0x4ea115;var _0x1aa0e0,_0x24c0f8;return((_0x1aa0e0=_0x18a502[_0x2b6b64(0xd0)])==null?void 0x0:_0x1aa0e0[_0x2b6b64(0x209)]())||((_0x24c0f8=_0x18a502[_0x2b6b64(0x10a)])==null?void 0x0:_0x24c0f8[_0x2b6b64(0x209)]())||_0x24e8ee['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x1bc9bf[_0x2b6b64(0xfa)])(_0x18a502[_0x2b6b64(0x3a3)]))+'\x20'+(_0x128797+0x1);}function _0x37b32e({PanelComponent:_0x2b3363=_0x390061[_0x4ea115(0x271)]}){const _0x9b4591=_0x4ea115;let _0x26af31=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x9b4591(0x243)]),_0x5cfdba={'title':_0x26af31['t'](_0x9b4591(0x2dc)),'empty':_0x26af31['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x26af31['t'](_0x9b4591(0x365)),'hideAll':_0x26af31['t']('drawing-ui.objectListPanel.hideAll'),'lockAll':_0x26af31['t'](_0x9b4591(0x235)),'unlockAll':_0x26af31['t'](_0x9b4591(0x2bf)),'moveForward':_0x26af31['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x26af31['t'](_0x9b4591(0x351)),'close':_0x26af31['t']('drawing-ui.objectListPanel.close'),'show':_0x26af31['t'](_0x9b4591(0x26d)),'hide':_0x26af31['t'](_0x9b4591(0x248)),'lock':_0x26af31['t'](_0x9b4591(0xe1)),'unlock':_0x26af31['t'](_0x9b4591(0xb9)),'lockHint':_0x26af31['t'](_0x9b4591(0x1f4)),'unlockHint':_0x26af31['t'](_0x9b4591(0x2d0)),'name':_0x26af31['t'](_0x9b4591(0x323)),'nameInput':_0x26af31['t'](_0x9b4591(0x219)),'description':_0x26af31['t'](_0x9b4591(0x1cd)),'descriptionPlaceholder':_0x26af31['t'](_0x9b4591(0x1a2)),'details':_0x26af31['t'](_0x9b4591(0x3af)),'noSelection':_0x26af31['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x26af31['t']('drawing-ui.objectListPanel.locate'),'expand':_0x26af31['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x26af31['t'](_0x9b4591(0x2a3)),'dragToReorder':_0x26af31['t'](_0x9b4591(0x39f)),'search':_0x26af31['t'](_0x9b4591(0x353)),'filterAll':_0x26af31['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x26af31['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x26af31['t'](_0x9b4591(0x2d7)),'sectionCanvas':_0x26af31['t'](_0x9b4591(0x2ae)),'sectionFloating':_0x26af31['t'](_0x9b4591(0x1cf))},_0x48cc5f=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x2db)]),_0x5f87e7=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x18e)]),_0x3dfbac=(0x0,_0x446708[_0x9b4591(0x389)])(_0x1c356f[_0x9b4591(0x1a1)]),_0x1e14e4=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x9b4591(0x214)]),_0x1943b1=(0x0,_0x446708[_0x9b4591(0x389)])(_0x24aff0[_0x9b4591(0x377)]),[,_0x13c0f0]=(0x0,_0x18e885[_0x9b4591(0x21e)])(_0x236f94=>_0x236f94+0x1,0x0),_0x1b2951=_0x5f87e7[_0x9b4591(0x2a5)](_0x5bc1cc[_0x9b4591(0x1ee)][_0x9b4591(0x310)]),_0x593233=(_0x1b2951==null?void 0x0:_0x1b2951[_0x9b4591(0x1e4)]())??'',_0x3f35ce=_0x593233,_0x54f8e6=(0x0,_0x446708[_0x9b4591(0x1e1)])(()=>_0x1e14e4[_0x9b4591(0x2ff)],_0x1e14e4[_0x9b4591(0x2dd)](),!0x1,[_0x1e14e4]);(0x0,_0x18e885[_0x9b4591(0x38b)])(()=>{const _0x340a1b=_0x9b4591;let _0x158668=_0x48cc5f[_0x340a1b(0x1b5)](()=>_0x13c0f0());return()=>_0x158668[_0x340a1b(0x17a)]();},[_0x48cc5f]);let _0x3a2e5d=_0x593233?_0x3dfbac['getDrawingData'](_0x593233,_0x3f35ce):{},_0x2baa5e=(_0x593233?_0x3dfbac['getDrawingOrder'](_0x593233,_0x3f35ce):[])[_0x9b4591(0x3ca)](_0x1a6949=>_0x3a2e5d[_0x1a6949])[_0x9b4591(0x2e8)](_0x1fda80=>!!_0x1fda80)[_0x9b4591(0xff)](),_0x594e1a=_0x2baa5e[_0x9b4591(0x1a0)]((_0x16db39,_0xb5ceb3)=>(_0x16db39[(0x0,_0x390061['getObjectListPanelSectionIdForDrawingType'])(_0xb5ceb3[_0x9b4591(0x3a3)])]+=0x1,_0x16db39),{'canvas':0x0,'floating':0x0}),_0x548af2={'canvas':0x0,'floating':0x0},_0x18bb5a=_0x2baa5e[_0x9b4591(0x3ca)]((_0xcc6406,_0x4f62f2)=>{const _0x3d47e7=_0x9b4591;let _0x4bed14=(0x0,_0x390061[_0x3d47e7(0x3b5)])(_0xcc6406[_0x3d47e7(0x3a3)]),_0x4b9247=_0x4bed14===_0x390061[_0x3d47e7(0x20a)],_0x3ad1a6=_0x548af2[_0x4bed14]++;return{'id':_0xcc6406[_0x3d47e7(0x408)],'name':_0x4396d2(_0xcc6406,_0x4f62f2,_0x26af31),'description':_0xcc6406[_0x3d47e7(0xc9)],'visible':_0xcc6406[_0x3d47e7(0x2c6)]!==!0x0,'selectable':_0xcc6406[_0x3d47e7(0x202)]!==!0x1,'sectionId':_0x4bed14,'sectionTitle':_0x4b9247?_0x5cfdba[_0x3d47e7(0x3ce)]:_0x5cfdba['sectionCanvas'],'capabilities':_0x4b9247?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x4b9247&&_0x3ad1a6>0x0,'canMoveBackward':!_0x4b9247&&_0x3ad1a6<_0x594e1a[_0x3d47e7(0x2e0)]-0x1,'canReorder':!_0x4b9247};}),_0x5b4f6f=(0x0,_0x18e885['useMemo'])(()=>(_0x54f8e6??[])['filter'](_0x35182f=>_0x35182f[_0x9b4591(0x18f)]===_0x593233&&_0x35182f[_0x9b4591(0x199)]===_0x3f35ce)['map'](_0xf6de10=>_0xf6de10['drawingId']),[_0x54f8e6,_0x3f35ce,_0x593233]),_0x2bad1d=_0x5b4f6f[_0x5b4f6f[_0x9b4591(0xbe)]-0x1]??null,_0x380414=_0x524998=>_0x3dfbac[_0x9b4591(0x3ba)]({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x524998})??null,_0x308c49=async _0x1e3d96=>{const _0x4549f4=_0x9b4591;_0x593233&&_0x1e3d96[_0x4549f4(0xbe)]&&await _0x48cc5f[_0x4549f4(0x217)](_0x1897fd[_0x4549f4(0xf6)]['id'],{'unitId':_0x593233,'patches':_0x1e3d96});},_0x323298=(_0x18cb79,_0x14512e)=>{const _0x31f76c=_0x9b4591;if(!_0x593233)return;let _0x56d8b3=_0x14512e?_0x5b4f6f[_0x31f76c(0x3a0)](_0x18cb79)?_0x5b4f6f[_0x31f76c(0x2e8)](_0x16261a=>_0x16261a!==_0x18cb79):[..._0x5b4f6f,_0x18cb79]:[_0x18cb79];_0x48cc5f[_0x31f76c(0x35f)](_0x3cf577[_0x31f76c(0x24c)]['id'],_0x56d8b3['map'](_0x37297e=>({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x37297e})));let _0x595763=_0x56d8b3[_0x56d8b3[_0x31f76c(0xbe)]-0x1];_0x595763?(0x0,_0x1bc9bf['activateDrawingObject'])(_0x1943b1,{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x595763}):(0x0,_0x1bc9bf[_0x31f76c(0xf0)])(_0x1943b1,_0x593233);},_0x3acee0=async(_0x5d6692,_0x2f0017)=>{const _0x37d516=_0x9b4591;await _0x308c49(_0x5d6692[_0x37d516(0x3ca)](_0x3a363f=>_0x380414(_0x3a363f))[_0x37d516(0x2e8)](_0x2770ff=>!!_0x2770ff)[_0x37d516(0x2e8)](_0x4e15db=>_0x4e15db[_0x37d516(0x2c6)]!==!0x0!==_0x2f0017)[_0x37d516(0x3ca)](_0x431f19=>({'drawingId':_0x431f19[_0x37d516(0x408)],'hidden':!_0x2f0017})));},_0x3ff70f=async(_0x3b6347,_0xec7828)=>{const _0x2ed19a=_0x9b4591;await _0x308c49(_0x3b6347['map'](_0x67f6de=>_0x380414(_0x67f6de))['filter'](_0x5512ff=>!!_0x5512ff)[_0x2ed19a(0x2e8)](_0xd8a990=>_0xd8a990[_0x2ed19a(0x202)]!==!0x1!==_0xec7828)[_0x2ed19a(0x3ca)](_0x5b42da=>({'drawingId':_0x5b42da[_0x2ed19a(0x408)],'selectable':_0xec7828})));},_0x4b195d=_0x257206=>{const _0x13c23a=_0x9b4591;let _0x45aa13=_0x380414(_0x257206);if(_0x45aa13)return _0x3ff70f([_0x257206],_0x45aa13[_0x13c23a(0x202)]===!0x1);},_0x222d7f=async(_0x17bd18,_0x32751e)=>{const _0x5bc4b8=_0x9b4591;let _0x4301a3=_0x380414(_0x17bd18),_0x45b5b6=_0x5a4f2a(_0x32751e);!_0x4301a3||(_0x4301a3[_0x5bc4b8(0xd0)]??void 0x0)===_0x45b5b6&&(_0x4301a3[_0x5bc4b8(0x10a)]||void 0x0)===_0x45b5b6||await _0x308c49([{'drawingId':_0x17bd18,'name':_0x45b5b6,'title':_0x45b5b6}]);},_0xef5c3e=async(_0x3aef3b,_0x4913ae)=>{const _0x4eadff=_0x9b4591;let _0x5c50b5=_0x380414(_0x3aef3b),_0x50d279=_0x5a4f2a(_0x4913ae);_0x5c50b5&&(_0x5c50b5[_0x4eadff(0xc9)]??void 0x0)!==_0x50d279&&await _0x308c49([{'drawingId':_0x3aef3b,'description':_0x50d279}]);},_0x3281bf=async(_0x4e800c,_0x1acd37)=>{const _0x36be12=_0x9b4591;_0x593233&&await _0x48cc5f['executeCommand'](_0x1c356f[_0x36be12(0x231)]['id'],{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingIds':[_0x4e800c],'arrangeType':_0x1acd37});};return _0x593233?(0x0,_0x4b014e['jsx'])(_0x2b3363,{'labels':_0x5cfdba,'renderPermissionAction':_0x40401d=>_0x1b2951?(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x446708[_0x9b4591(0x372)],{'target':{'unitId':_0x593233,'objectId':(0x0,_0x42aa76[_0x9b4591(0x28b)])((0x0,_0x42aa76[_0x9b4591(0x2d2)])(_0x1b2951,_0x40401d['id']),_0x9b4591(0x31d),_0x40401d['id']),'objectType':_0x49f26c['UnitObject'][_0x9b4591(0x387)]},'name':_0x40401d[_0x9b4591(0xd0)],'commandId':_0x42aa76[_0x9b4591(0x247)]['id'],'exists':()=>!!_0x380414(_0x40401d['id'])},_0x593233+'/'+_0x40401d['id']):null,'items':_0x18bb5a,'selectedIds':_0x5b4f6f,'focusedId':_0x2bad1d,'showHeader':!0x1,'onSelect':_0x323298,'onSetVisible':_0x3acee0,'onSetSelectable':_0x3ff70f,'onCommitName':_0x222d7f,'onCommitDescription':_0xef5c3e,'onMoveForward':async _0x5f40a8=>_0x3281bf(_0x5f40a8,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x21b)]),'onMoveBackward':async _0x2d5c36=>_0x3281bf(_0x2d5c36,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x2e2)]),'onToggleSelectable':_0x4b195d}):(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x9b4591(0xd8),{'className':_0x9b4591(0x19d),'children':_0x5cfdba[_0x9b4591(0x10a)]});}function _0x79c86c(){const _0x29c89c=_0x4ea115;return(0x0,_0x4b014e['jsx'])(_0x37b32e,{'PanelComponent':_0x390061[_0x29c89c(0x36c)]});}let _0x298f44=class{constructor(_0x1de883){const _0x5af6ec=_0x4ea115;this[_0x5af6ec(0x167)]=_0x1de883;}[_0x4ea115(0x359)](_0x4fbad7,_0x3bea02){const _0x563ba2=_0x4ea115;let _0x283578=this[_0x563ba2(0x167)][_0x563ba2(0x290)](_0x4fbad7[_0x563ba2(0x18f)]),_0xf3f29f=_0x283578==null?void 0x0:_0x283578['scene'];if(!_0xf3f29f)return;let _0x26ac05=(0x0,_0x3cf577[_0x563ba2(0x14a)])(_0x4fbad7),_0x3fb345=_0xf3f29f[_0x563ba2(0x179)](_0x26ac05);_0x3fb345==null||_0x3fb345['setFillImage'](_0x3bea02);}};_0x298f44=_0x555290([_0x379978(0x0,_0x24aff0[_0x4ea115(0x377)])],_0x298f44);function _0x587d36(){const _0x398d79=_0x4ea115;let _0xfebd91=(0x0,_0x446708[_0x398d79(0x389)])(_0x3cf577[_0x398d79(0x214)]),_0x2a5d4c=(0x0,_0x446708['useObservable'])(()=>_0xfebd91[_0x398d79(0x2ff)],_0xfebd91[_0x398d79(0x2dd)](),!0x1,[_0xfebd91]);return _0x2a5d4c[_0x398d79(0xbe)]===0x0?null:(0x0,_0x4b014e['jsx'])(_0x398d79(0xd8),{'children':(0x0,_0x4b014e['jsxs'])(_0x398d79(0xd8),{'className':_0x398d79(0xdb),'children':[(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x390061[_0x398d79(0x261)],{'drawings':_0x2a5d4c,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x24a9ae[_0x398d79(0x216)],{'drawings':_0x2a5d4c}),(0x0,_0x4b014e['jsx'])(_0x24a9ae[_0x398d79(0x3e1)],{'drawings':_0x2a5d4c})]})});}function _0x2e5427(_0x4191b2){const _0x125ea5=_0x4ea115;let {unitId:_0x347ba0,subUnitId:_0x254cc9,shapeId:_0x154b34,PositionComponent:_0x5ca043=_0x587d36}=_0x4191b2,_0x443f72=(0x0,_0x446708[_0x125ea5(0x389)])(_0x5bc1cc[_0x125ea5(0x2db)]),_0x182fb7=(0x0,_0x446708['useDependency'])(_0x298f44);return(0x0,_0x4b014e['jsx'])(_0x1bc9bf['ShapeEditPanel'],{..._0x4191b2,'positionEditor':(0x0,_0x4b014e['jsx'])(_0x5ca043,{}),'onUpdateShapeData':(_0x2b1ee0,_0x60424d)=>{_0x9420a0(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x2b1ee0,_0x60424d);},'onUpdateLineShapeData':(_0x333fd0,_0x1f840a)=>{_0x3174af(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x333fd0,_0x1f840a);},'onUpdateShapeFillImage':_0x158ec0=>{const _0x64555f=_0x125ea5;_0x182fb7[_0x64555f(0x359)]({'unitId':_0x347ba0,'subUnitId':_0x254cc9,'drawingId':_0x154b34},_0x158ec0);}});}function _0x33d8ed(){const _0x13b808=_0x4ea115;let _0x12aa6c=(0x0,_0x446708['useDependency'])(_0x3cf577['IDrawingManagerService']),_0x221005=(0x0,_0x446708[_0x13b808(0x1e1)])(_0x12aa6c[_0x13b808(0x2ff)],_0x12aa6c[_0x13b808(0x2dd)]());return _0x221005['length']===0x0?null:(0x0,_0x4b014e[_0x13b808(0x137)])('div',{'className':_0x13b808(0x279),'children':[(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x390061[_0x13b808(0x261)],{'drawings':_0x221005,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae['MobileDocDrawingTextWrap'],{'drawings':_0x221005}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae[_0x13b808(0x10c)],{'drawings':_0x221005})]});}function _0x5a8298(_0x26dfa5){const _0x1cda9d=_0x4ea115;return(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x1bc9bf[_0x1cda9d(0xcf)],{'children':(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x2e5427,{..._0x26dfa5,'PositionComponent':_0x33d8ed})});}function _0x444fe5({popup:_0x5b182a}){const _0x18fa97=_0x4ea115;let _0x34cf95=(0x0,_0x446708[_0x18fa97(0x389)])(_0x5bc1cc[_0x18fa97(0x243)]),{shapeType:_0x518cbf,onText:_0x59122f,onStyle:_0x32245e,onDelete:_0x4d4ca5}=_0x5b182a['extraProps'],_0x5102f0=[{'key':_0x18fa97(0x3e5),'order':0x0,'item':{'id':'text','type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x288)),'disabled$':(0x0,_0x587404['of'])((0x0,_0x349291['isConnectorShape'])(_0x518cbf))}},{'key':_0x18fa97(0xeb),'order':0x1,'item':{'id':_0x18fa97(0xeb),'type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x356))}},{'key':_0x18fa97(0x284),'order':0x2,'item':{'id':_0x18fa97(0x284),'type':_0x446708[_0x18fa97(0x367)]['BUTTON'],'title':_0x34cf95['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x4b014e[_0x18fa97(0xaa)])(_0x446708['MobileMenu'],{'schemas':_0x5102f0,'presentation':'context-bar','onOptionSelect':async({id:_0x5e116d})=>{const _0x369073=_0x18fa97;_0x5e116d==='text'?await _0x59122f():_0x5e116d===_0x369073(0xeb)?await _0x32245e():_0x5e116d===_0x369073(0x284)&&await _0x4d4ca5();}});}let _0x300198=_0x4ea115(0x40d);function _0x277c61(_0x59ce55,_0x19d6a7){const _0x4bedbf=_0x4ea115;var _0x3fe81c;let _0x350f4c=_0x59ce55==null||(_0x3fe81c=_0x59ce55['getSnapshot']()[_0x4bedbf(0x163)])==null?void 0x0:_0x3fe81c[_0x19d6a7];return _0x350f4c?_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x36a)]?_0x350f4c[_0x4bedbf(0x2a2)]===_0x5bc1cc[_0x4bedbf(0x26e)]['TRUE']?_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x32a)]:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x346)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc[_0x4bedbf(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle'][_0x4bedbf(0x246)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x238)]?_0x1c356f[_0x4bedbf(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4bedbf(0xc4)]['INLINE']:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x3e4)];}function _0x1573e3(_0x286119){const _0x59bc1b=_0x4ea115;let _0x26814e=(0x0,_0x446708[_0x59bc1b(0x389)])(_0x1bc9bf[_0x59bc1b(0x22f)]),_0x4e342a=(0x0,_0x446708[_0x59bc1b(0x1e1)])(()=>_0x26814e[_0x59bc1b(0x28d)],_0x26814e['getVisible'](),!0x1,[_0x26814e]),_0x2d5f17=_0x286119['popup'][_0x59bc1b(0xe6)];return _0x4e342a?(0x0,_0x4b014e['jsx'])(_0x46acdc,{..._0x2d5f17,'canvasElement':_0x286119[_0x59bc1b(0x156)]['canvasElement']}):null;}function _0x46acdc(_0x113bcc){const _0x38a583=_0x4ea115;let _0x2a0e70=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x38a583(0x2db)]),_0x2688b7=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc['LocaleService']),_0x251a33=(0x0,_0x446708['useDependency'])(_0x1897fd[_0x38a583(0x293)]),_0x1b50db=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc[_0x38a583(0x18e)]),{unitId:_0x4eb6c8,subUnitId:_0x571a70,drawingId:_0x19163d,shapeType:_0x2f6cd0}=_0x113bcc,[_0x1df8a0,_0x4d3840]=(0x0,_0x18e885[_0x38a583(0x15d)])(_0x113bcc[_0x38a583(0x12e)]),_0x39e156=_0x1b50db[_0x38a583(0x1f8)](_0x4eb6c8,_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)])??void 0x0,[_0x1fcca2,_0x125222]=(0x0,_0x18e885[_0x38a583(0x15d)])(()=>_0x277c61(_0x39e156,_0x19163d)),_0xe4669d=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf['getTextStyle'])(_0x1df8a0),[_0x1df8a0]),_0x364fc5=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf[_0x38a583(0x205)])(_0x1df8a0),[_0x1df8a0]);(0x0,_0x18e885[_0x38a583(0x38b)])(()=>{const _0x5e570a=_0x38a583;let _0x3537c0=_0x2a0e70[_0x5e570a(0x1b5)](_0x86a5a5=>{const _0x52fc83=_0x5e570a;if(_0x86a5a5['id']!==_0x1897fd[_0x52fc83(0x130)]['id'])return;let _0x13c6b9=_0x251a33[_0x52fc83(0x3e9)](_0x4eb6c8,_0x571a70,_0x19163d);_0x13c6b9&&_0x4d3840(_0x13c6b9);});return()=>_0x3537c0[_0x5e570a(0x17a)]();},[_0x2a0e70,_0x251a33,_0x19163d,_0x571a70,_0x4eb6c8]);let _0x3394c6=_0xe0dd0c=>{_0x4d3840(_0x20619f=>({..._0x20619f,..._0xe0dd0c}));},_0x4c7dad=_0x4a40e3=>{const _0x614fce=_0x38a583;let _0x2ec3b8=(0x0,_0x1bc9bf[_0x614fce(0x192)])(_0x1df8a0,_0x4a40e3);_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'shapeText':_0x1df8a0[_0x614fce(0x186)]}},_0x2ec3b8),_0x3394c6(_0x2ec3b8);},_0x13c699=_0x1ebc46=>{const _0x4c74a8=_0x38a583;_0x125222(_0x1ebc46),_0x2a0e70[_0x4c74a8(0x217)](_0x1c356f['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}],'wrappingStyle':_0x1ebc46});},_0x5dcec8=(0x0,_0x1bc9bf[_0x38a583(0x1d6)])({'hostType':_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)],'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'shapeId':_0x19163d,'shapeData':_0x1df8a0,'onUpdateBinding':_0xf6d5f1=>{const _0x5ac820=_0x38a583;let _0xf5bd0c={'formulaBinding':_0xf6d5f1};_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'formulaBinding':_0x1df8a0[_0x5ac820(0x1eb)]}},_0xf5bd0c),_0x3394c6(_0xf5bd0c);}}),_0xf7cc58=[{'label':_0x2688b7['t'](_0x38a583(0x92)),'value':_0x1c356f['TextWrappingStyle'][_0x38a583(0x3e4)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0x3fd)),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_SQUARE'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0xd7)),'value':_0x1c356f[_0x38a583(0xc4)]['BEHIND_TEXT'],'icon':(0x0,_0x4b014e['jsx'])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x1c356f[_0x38a583(0xc4)][_0x38a583(0x346)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})}];return(0x0,_0x4b014e[_0x38a583(0x137)])(_0x4b014e[_0x38a583(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x38a583(0x108)],{'canvasElement':_0x113bcc[_0x38a583(0x3fe)],'shapeData':_0x1df8a0,'shapeType':_0x2f6cd0,'textStyle':{'ff':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontFamily'],'fs':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontSize'],'cl':{'rgb':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['color']},..._0xe4669d},'textModel':_0x364fc5?{'ha':_0x364fc5['ha']??_0x5bc1cc[_0x38a583(0x3cc)][_0x38a583(0x272)],'va':_0x364fc5['va']??_0x5bc1cc[_0x38a583(0x39c)][_0x38a583(0x13e)]}:null,'wrappingStyle':_0x1fcca2,'wrappingStyleOptions':_0xf7cc58,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x1bd)],'defaultGradientEndColor':_0x349291['ShapeDefaultConfig']['gradientEndColor'],'defaultStrokeColor':_0x349291[_0x38a583(0x1f3)]['stroke'],'extensionGroups':_0x5dcec8[_0x38a583(0x12f)],'floatingObjectToolbarPosition':_0x446708[_0x38a583(0x35d)]['DOC'],'onUpdateShapeData':(_0x33b538,_0x168996)=>{_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,_0x33b538,_0x168996),_0x168996&&_0x3394c6(_0x168996);},'onUpdateText':_0x4c7dad,'onUpdateWrappingStyle':_0x10a1e8=>_0x13c699(_0x10a1e8),'onOpenPanel':()=>{const _0x21a86e=_0x38a583;_0x2a0e70[_0x21a86e(0x217)](_0x5a08b9['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d});},'onDelete':()=>{const _0x40de9d=_0x38a583;_0x2a0e70[_0x40de9d(0x217)](_0x1c356f[_0x40de9d(0x22c)]['id'],{'unitId':_0x4eb6c8,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}]});}}),_0x5dcec8[_0x38a583(0x16d)]]});}function _0x3f7203({variant:_0x92388c,extend:_0x9fc52,..._0x5ac7df}){const _0x218c67=_0x4ea115;let _0x36a228=(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147),'fillOpacity':'0.14','stroke':_0x218c67(0x147),'strokeWidth':'1.2'});return(0x0,_0x4b014e['jsxs'])(_0x218c67(0x12b),{'aria-hidden':_0x218c67(0x13f),'fill':'none','height':_0x218c67(0x3ed),'viewBox':_0x218c67(0x95),'width':_0x218c67(0x3ed),..._0x5ac7df,'children':[_0x92388c===_0x218c67(0x374)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e['Fragment'],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x320),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'8','y':'7','width':'4','height':'6','rx':_0x218c67(0x3be),'fill':_0x218c67(0x147),'fillOpacity':_0x218c67(0x152),'stroke':_0x218c67(0x147),'strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c===_0x218c67(0xf3)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x218c67(0xde),{'d':_0x218c67(0x91),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c==='top-bottom'&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x321),'stroke':_0x218c67(0x147),'strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c===_0x218c67(0x138)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[_0x36a228,(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x361),'stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c==='front'&&(0x0,_0x4b014e['jsxs'])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])('path',{'d':_0x218c67(0x361),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147)})]})]});}let _0x131965=_0xc502e5=>_0x1a2183=>(0x0,_0x4b014e[_0x4ea115(0xaa)])(_0x3f7203,{..._0x1a2183,'variant':_0xc502e5}),_0x47ad89={'DocsShapeWrapInlineIcon':_0x131965(_0x4ea115(0x374)),'DocsShapeWrapSquareIcon':_0x131965('square'),'DocsShapeWrapTopBottomIcon':_0x131965('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x131965('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x131965('front')},_0x3ca34c=(0x0,_0x18e885[_0x4ea115(0x203)])(()=>{const _0x37a4ac=_0x4ea115;let _0x41ff28=(0x0,_0x446708['useDependency'])(_0x213530),_0x3c0b42=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x1897fd[_0x37a4ac(0x293)]),_0x2d8a82=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x37a4ac(0x214)]),_0x57258d=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x5bc1cc[_0x37a4ac(0x2db)]),_0x28c21e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'getShapeModel':(_0x4139de,_0x4cadad,_0x4ffc18)=>_0x3c0b42[_0x37a4ac(0x189)](_0x4139de,_0x4cadad,_0x4ffc18),'getShapeData':(_0x4d38b8,_0x25e197,_0x5a88d3)=>_0x3c0b42[_0x37a4ac(0x3e9)](_0x4d38b8,_0x25e197,_0x5a88d3),'getDrawingTransform':(_0x3f92c0,_0x57ef06,_0x21f47f)=>{const _0xb34236=_0x37a4ac;let _0x28ccd7=_0x2d8a82[_0xb34236(0x3ba)]({'unitId':_0x3f92c0,'subUnitId':_0x57ef06,'drawingId':_0x21f47f});return _0x28ccd7==null?void 0x0:_0x28ccd7['transform'];},'updateShapeText':({unitId:_0x1c5da7,shapeId:_0x118837,shapeText:_0x205081,oldShapeText:_0x186a66})=>{const _0x32577a=_0x37a4ac;_0x57258d[_0x32577a(0x217)](_0x1897fd[_0x32577a(0x3e3)]['id'],{'unitId':_0x1c5da7,'shapeId':_0x118837,'shapeData':{'shapeText':_0x205081},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x186a66}}});},'updateHostSize':({unitId:_0x1ea3e6,subUnitId:_0x1a04ac,shapeId:_0x4b5aff,width:_0x573fdb,height:_0xa0081f})=>{const _0x560754=_0x37a4ac;_0x57258d[_0x560754(0x217)](_0x1c356f[_0x560754(0x308)]['id'],{'unitId':_0x1ea3e6,'subUnitId':_0x1a04ac,'drawings':[{'drawingId':_0x4b5aff,'key':'size','value':{'width':_0x573fdb,'height':_0xa0081f}}]});},'allowHostSizeShrink':({unitId:_0x4c041c,subUnitId:_0x332b08,shapeId:_0x3e3dea})=>(0x0,_0x1bc9bf['shouldAllowShapeTextEditorHostSizeShrink'])(_0x3c0b42[_0x37a4ac(0x3e9)](_0x4c041c,_0x332b08,_0x3e3dea))}),[_0x57258d,_0x3c0b42,_0x2d8a82]),_0x255d6e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'viewportKeys':{'main':_0x341d83[_0x37a4ac(0x242)][_0x37a4ac(0x1c9)]}}),[]);return(0x0,_0x4b014e[_0x37a4ac(0xaa)])(_0x1bc9bf[_0x37a4ac(0x38d)],{'adapter':_0x28c21e,'editingService':_0x41ff28,'editorUnitId':_0x33ec1c,'positionOptions':_0x255d6e});}),_0x4f75fa=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4991ab,_0x26d472){const _0x3ef0f6=_0x4ea115;super(),this[_0x3ef0f6(0x366)]=_0x4991ab,this[_0x3ef0f6(0x24e)]=_0x26d472,this['_registerIcons'](),this[_0x3ef0f6(0x9c)]();}[_0x4ea115(0xd9)](){const _0x561509=_0x4ea115;this[_0x561509(0x24e)]['has'](_0x561509(0x2b7))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x401))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'BottomIcon':_0x32945e})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x33a))||this[_0x561509(0x103)](this[_0x561509(0x24e)]['register']({'MoveDownIcon':_0x4f55f7})),this[_0x561509(0x24e)]['has'](_0x561509(0x393))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x561509(0x24e)]['has'](_0x561509(0x2a4))||this['disposeWithMe'](this[_0x561509(0x24e)][_0x561509(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x561509(0x2d9)]('TopmostIcon')||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)](_0x47ad89));}[_0x4ea115(0x9c)](){const _0x283463=_0x4ea115;this['disposeWithMe'](this['_componentManager'][_0x283463(0x223)](_0x135e7b,_0x5a8298)),this[_0x283463(0x2d5)](),this[_0x283463(0x221)](),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x9bb98f,_0x1d84be)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x205f1c,_0x5f0bda)),this[_0x283463(0x103)](this['_componentManager']['register'](_0xcb0280,_0x2c2195)),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x5c919f,_0x204deb)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x2dab50,_0x231d64)),this[_0x283463(0x103)](this['_componentManager']['register'](_0x57b3d6,_0x1bc9bf['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x283463(0x366)][_0x283463(0x20e)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x390061[_0x283463(0xea)],_0xdb8590)),this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x53334c=_0x4ea115;this[_0x53334c(0x103)](this['_componentManager'][_0x53334c(0x223)](_0x593cd4,_0x79c86c));}['_registerFloatingToolbar'](){const _0x138972=_0x4ea115;this[_0x138972(0x103)](this[_0x138972(0x366)][_0x138972(0x223)](_0x300198,_0x444fe5));}[_0x4ea115(0x3c8)](){const _0x2c1cd0=_0x4ea115;this[_0x2c1cd0(0x103)](this[_0x2c1cd0(0x366)]['register'](_0x215dca,_0x203fd8)),this['disposeWithMe'](this[_0x2c1cd0(0x366)][_0x2c1cd0(0x223)](_0x19b74d,_0x4df747));}};_0x4f75fa=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x195)]))],_0x4f75fa);let _0x3fa5ff=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x1cae56,_0x4ffdce,_0x3d09b3,_0x3ec095,_0x3dead7,_0x28ab71,_0x165c9d,_0x9d88a0,_0x54a19b,_0x16edf6,_0x4e5a22,_0x467fa4,_0x16b951){const _0x176665=_0x4ea115;super(),this[_0x176665(0x2f8)]=_0x1cae56,this[_0x176665(0x1c5)]=_0x4ffdce,this['_menuManagerService']=_0x3d09b3,this['_docsShapeService']=_0x3ec095,this[_0x176665(0x260)]=_0x3dead7,this[_0x176665(0xcb)]=_0x28ab71,this['_drawingManagerService']=_0x165c9d,this[_0x176665(0x3bd)]=_0x9d88a0,this[_0x176665(0x167)]=_0x54a19b,this[_0x176665(0x32f)]=_0x16edf6,this[_0x176665(0x149)]=_0x4e5a22,this[_0x176665(0x185)]=_0x467fa4,this[_0x176665(0x3dd)]=_0x16b951,_0x128b9e(this,_0x176665(0x3c6),null),_0x128b9e(this,_0x176665(0x11c),null),_0x128b9e(this,_0x176665(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x176665(0x2fb),new Map()),_0x128b9e(this,_0x176665(0x30c),new Map()),this['_initMenu'](),this[_0x176665(0x103)](this[_0x176665(0x2f8)][_0x176665(0x341)](_0x5bc1cc['UniverInstanceType'][_0x176665(0x310)])['subscribe'](_0x32e4ca=>{const _0x413d54=_0x176665;if(!_0x32e4ca){var _0x54ab7d;(_0x54ab7d=this['_sidebarDisposable'])==null||_0x54ab7d[_0x413d54(0x17a)]();}})),this[_0x176665(0x37d)](),this[_0x176665(0x103)]((0x0,_0x1bc9bf[_0x176665(0x391)])(this['_renderManagerService'],_0x5bc1cc['UniverInstanceType']['UNIVER_DOC'],_0x1f7e0b=>this[_0x176665(0xb1)](_0x1f7e0b))),this[_0x176665(0x103)](this[_0x176665(0x149)][_0x176665(0x190)][_0x176665(0x3a6)](_0x5492c9=>{const _0x217b88=_0x176665;_0x5492c9&&this[_0x217b88(0x1c2)](void 0x0,!0x0);})),this[_0x176665(0x103)](this['_permissionService'][_0x176665(0x2b3)][_0x176665(0x3a6)](()=>{const _0x1495e2=_0x176665;this[_0x1495e2(0x275)][_0x1495e2(0x2dd)]()['some'](_0x43a589=>_0x43a589[_0x1495e2(0x3a3)]===_0x5bc1cc[_0x1495e2(0x1c8)]['DRAWING_SHAPE']&&this[_0x1495e2(0x2f8)][_0x1495e2(0xc6)](_0x43a589['unitId'])===_0x5bc1cc[_0x1495e2(0x1ee)][_0x1495e2(0x310)]&&!this['_canEditShape'](_0x43a589['unitId'],_0x43a589[_0x1495e2(0x408)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x1495e2(0x17f)]());}));}[_0x4ea115(0x1ed)](_0x2ea3c7,_0xd8330,_0x2ee0ab,_0x17e25d){const _0x2b8af1=_0x4ea115;return[{'label':_0x2b8af1(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':_0x17e25d===_0x5bc1cc[_0x2b8af1(0x1c8)][_0x2b8af1(0x187)]},{'label':_0x2b8af1(0x123),'index':0x1,'commandId':_0x1c356f[_0x2b8af1(0x22c)]['id'],'commandParams':{'unitId':_0x2ea3c7,'drawings':[{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab}]},'disable':!0x1},{'label':_0x2b8af1(0x3fc),'index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':!0x1}];}[_0x4ea115(0x1d0)](){const _0x173888=_0x4ea115;this['_menuManagerService'][_0x173888(0x1da)](_0x2b9f36);}['_getShapeInfo'](_0x13a381,_0x164dc3,_0x2d862){const _0x58b45a=_0x4ea115;let _0x7cbf50=this[_0x58b45a(0x3b7)][_0x58b45a(0xc8)](_0x13a381,_0x164dc3,_0x2d862),_0x1457da=this[_0x58b45a(0x3b7)]['getShapeDataById'](_0x13a381,_0x164dc3,_0x2d862);return _0x7cbf50===void 0x0||_0x1457da===void 0x0?null:{'shapeData':_0x1457da,'shapeId':_0x2d862,'shapeType':_0x7cbf50,'unitId':_0x13a381,'subUnitId':_0x164dc3,'version':this[_0x58b45a(0x1ea)],'disableShapeOption':!0x1};}[_0x4ea115(0x1c2)](_0x24cdf4,_0x5a4977=!0x1){const _0x171877=_0x4ea115;if(_0x24cdf4==null){[...this[_0x171877(0x2fb)][_0x171877(0x1ae)]()][_0x171877(0x3d7)](_0x2889be=>this[_0x171877(0x1c2)](_0x2889be,_0x5a4977));return;}let _0x3aa96d=this[_0x171877(0x2fb)][_0x171877(0x20e)](_0x24cdf4);if(_0x3aa96d){for(let _0x1bfde9=_0x3aa96d[_0x171877(0xbe)]-0x1;_0x1bfde9>=0x0;--_0x1bfde9){let _0x4c4e69=_0x3aa96d[_0x1bfde9];(_0x5a4977||_0x4c4e69[_0x171877(0x30a)]())&&(_0x4c4e69[_0x171877(0x17a)](),_0x3aa96d['splice'](_0x1bfde9,0x1));}_0x3aa96d[_0x171877(0xbe)]===0x0&&(this[_0x171877(0x2fb)][_0x171877(0x284)](_0x24cdf4),this[_0x171877(0x30c)][_0x171877(0x284)](_0x24cdf4));}}[_0x4ea115(0x1e0)](_0x2daa06){const _0x41b93c=_0x4ea115;let _0x4bffa9=this[_0x41b93c(0x2fb)][_0x41b93c(0x20e)](_0x2daa06);if(_0x4bffa9)return _0x4bffa9;let _0x11a7e4=[];return this[_0x41b93c(0x2fb)][_0x41b93c(0x1fe)](_0x2daa06,_0x11a7e4),_0x11a7e4;}[_0x4ea115(0xb1)](_0x4ecf59){const _0x2f9ddb=_0x4ea115;var _0x50e7de;let _0x530b1e=new _0x5bc1cc['DisposableCollection'](),_0x4f52f5=(_0x50e7de=this[_0x2f9ddb(0x167)][_0x2f9ddb(0x26c)](_0x5bc1cc[_0x2f9ddb(0x1ee)][_0x2f9ddb(0x310)])[_0x2f9ddb(0x99)](_0x466fb1=>_0x466fb1[_0x2f9ddb(0x241)][_0x2f9ddb(0x8b)]()===_0x4ecf59))==null?void 0x0:_0x50e7de[_0x2f9ddb(0x18f)];return _0x4f52f5?(_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59[_0x2f9ddb(0x1cb)][_0x2f9ddb(0x3a6)](()=>this['_handleCreateControl'](_0x4ecf59,_0x4f52f5))),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['clearControl$'][_0x2f9ddb(0x3a6)](()=>{const _0x1f2932=_0x2f9ddb;this[_0x1f2932(0x1c2)](_0x4f52f5),queueMicrotask(()=>{const _0x5374c8=_0x1f2932;_0x4ecf59['getSelectedObjectMap']()['size']>0x0||(this[_0x5374c8(0x32f)]['setContextValue'](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5374c8(0x275)]['focusDrawing'](null));});})),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['changing$'][_0x2f9ddb(0x3a6)](()=>{this['_clearPopups'](_0x4f52f5,!0x0);})),_0x530b1e):_0x530b1e;}[_0x4ea115(0x31a)](_0x11a786,_0x166091){const _0x20e927=_0x4ea115;let _0x2237d9=_0x11a786[_0x20e927(0x3c9)]();if(this[_0x20e927(0x3b6)]){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}if(_0x2237d9['size']>0x1){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x4f73ca=_0x2237d9[_0x20e927(0x3f5)]()[_0x20e927(0x3eb)]()['value'];if(!_0x4f73ca){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x25ddeb=this['_drawingManagerService'][_0x20e927(0x26f)](_0x4f73ca['oKey']);if(!_0x25ddeb||_0x25ddeb[_0x20e927(0x3a3)]!==_0x5bc1cc[_0x20e927(0x1c8)]['DRAWING_SHAPE']){this[_0x20e927(0x1c2)](_0x166091);return;}let {unitId:_0x49fc03,subUnitId:_0x5d34b7,drawingId:_0x131b7c}=_0x25ddeb;if(!this[_0x20e927(0x3f6)](_0x49fc03,_0x131b7c)){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}let _0x3d3927=this[_0x20e927(0x29f)](_0x49fc03,_0x5d34b7,_0x131b7c);if(!_0x3d3927){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x3f6464=this[_0x20e927(0x2fb)][_0x20e927(0x20e)](_0x166091),_0xd06a1b=_0x49fc03+':'+_0x5d34b7+':'+_0x131b7c;if(this[_0x20e927(0x30c)][_0x20e927(0x20e)](_0x166091)===_0xd06a1b&&_0x3f6464!=null&&_0x3f6464[_0x20e927(0xbe)])return;this[_0x20e927(0x1c2)](_0x166091);let _0x419ec3=this['_renderManagerService'][_0x20e927(0x290)](_0x49fc03),_0x46e782=((_0x419ec3==null?void 0x0:_0x419ec3[_0x20e927(0x2c3)])===!0x1?_0x419ec3[_0x20e927(0x29d)](_0x341d83[_0x20e927(0x277)]):this[_0x20e927(0x3bd)])[_0x20e927(0x388)](_0x4f73ca,this[_0x20e927(0x239)](_0x3d3927,()=>this[_0x20e927(0x1c2)](_0x166091,!0x0)),_0x49fc03);this[_0x20e927(0x103)](_0x46e782),this[_0x20e927(0x1e0)](_0x166091)['push'](_0x46e782),this[_0x20e927(0x30c)]['set'](_0x166091,_0xd06a1b),this['_drawingManagerService'][_0x20e927(0x2dd)]()[_0x20e927(0x23a)](_0x2a19c3=>_0x2a19c3[_0x20e927(0x18f)]===_0x49fc03&&_0x2a19c3[_0x20e927(0x199)]===_0x5d34b7&&_0x2a19c3[_0x20e927(0x408)]===_0x131b7c)||this[_0x20e927(0x275)][_0x20e927(0x233)]([{'unitId':_0x49fc03,'subUnitId':_0x5d34b7,'drawingId':_0x131b7c}]);}[_0x4ea115(0x239)](_0x1121a9,_0x3782d4){const _0xd0d113=_0x4ea115;let {unitId:_0x1dcb4b,subUnitId:_0xa79ab0,shapeId:_0x3caa2a}=_0x1121a9,_0xf41cb3={'hostType':_0x5bc1cc[_0xd0d113(0x1ee)][_0xd0d113(0x310)],'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'shapeId':_0x3caa2a};return{'componentKey':_0x300198,'direction':_0xd0d113(0x22b),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x1121a9[_0xd0d113(0xa3)],'onText':()=>{const _0x283d1e=_0xd0d113;_0x3782d4(),this[_0x283d1e(0x3dd)]['open'](_0x283d1e(0x3e5),_0xf41cb3);},'onStyle':()=>{const _0x4c0329=_0xd0d113;_0x3782d4(),this['_mobileEditorService'][_0x4c0329(0x402)]('style',_0xf41cb3);},'onDelete':()=>this['_commandService']['executeCommand'](_0x1c356f[_0xd0d113(0x22c)]['id'],{'unitId':_0x1dcb4b,'drawings':[{'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'drawingId':_0x3caa2a}]})}};}[_0x4ea115(0x3f6)](_0x592994,_0x52b369){const _0x546242=_0x4ea115;let _0xc02d9d=this[_0x546242(0x2f8)][_0x546242(0x1f8)](_0x592994,_0x5bc1cc[_0x546242(0x1ee)][_0x546242(0x310)]);if(!_0xc02d9d)return!0x1;let _0x807902=(0x0,_0x42aa76[_0x546242(0x2d2)])(_0xc02d9d,_0x52b369);return(0x0,_0x42aa76[_0x546242(0x1b4)])(this[_0x546242(0x185)],_0x592994,[...(0x0,_0x42aa76[_0x546242(0x373)])(_0xc02d9d,_0x807902,'drawing',_0x52b369),(0x0,_0x42aa76[_0x546242(0x28b)])(_0x807902,_0x546242(0x31d),_0x52b369)]);}[_0x4ea115(0x37d)](){const _0xf14857=_0x4ea115;this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28c1de=>{const _0x136cd4=_0x9d29;if(_0x28c1de['id']===_0x5a08b9['id']){let {unitId:_0x34a28c,subUnitId:_0x316a86,drawingId:_0x5d6353}=_0x28c1de[_0x136cd4(0x405)];this[_0x136cd4(0x1ea)]+=0x1,this[_0x136cd4(0x11c)]=this['_getShapeInfo'](_0x34a28c,_0x316a86,_0x5d6353),this[_0x136cd4(0x1c2)](void 0x0,!0x0),this[_0x136cd4(0x15e)]();}if(_0x28c1de['id']===_0x181065['id']&&(this['_activeShapeInfo']=null,this[_0x136cd4(0x17f)]()),_0x28c1de['id']===_0x1897fd[_0x136cd4(0x130)]['id']){var _0x3eed49;let {unitId:_0x1b4404,shapeId:_0x215d2b}=_0x28c1de[_0x136cd4(0x405)];if(((_0x3eed49=this[_0x136cd4(0x11c)])==null?void 0x0:_0x3eed49[_0x136cd4(0x392)])===_0x215d2b){let _0x1c2075=this[_0x136cd4(0x29f)](_0x1b4404,this[_0x136cd4(0x11c)][_0x136cd4(0x199)],_0x215d2b);_0x1c2075&&(this['_shapeEditPanelVersion']+=0x1,_0x1c2075[_0x136cd4(0xf1)]=this[_0x136cd4(0x1ea)],this[_0x136cd4(0x11c)]=_0x1c2075,this[_0x136cd4(0x3b6)]&&this[_0x136cd4(0x15e)]());}}})),this[_0xf14857(0x103)](this['_drawingManagerService'][_0xf14857(0x2ff)]['subscribe'](_0x479008=>{const _0x4ccc89=_0xf14857;if(!this[_0x4ccc89(0x3b6)])return;if(_0x479008['length']===0x0){this['_activeShapeInfo']=null,this[_0x4ccc89(0x17f)]();return;}if(_0x479008[_0x4ccc89(0xbe)]===0x1&&_0x479008[0x0][_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x4ccc89(0x3dc)]&&(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this['_activeShapeInfo'])){this[_0x4ccc89(0x15e)]();return;}let _0x1c8d0d=_0x479008[_0x4ccc89(0x2e8)](_0x5647a7=>_0x5647a7[_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']);if(this[_0x4ccc89(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this[_0x4ccc89(0x11c)]&&_0x479008[_0x4ccc89(0xbe)]>0x1&&_0x1c8d0d[_0x4ccc89(0xbe)]===_0x479008[_0x4ccc89(0xbe)]){this['_openShapeEditPanel']();return;}if(this[_0x4ccc89(0x11c)]&&_0x1c8d0d['length']!==_0x479008[_0x4ccc89(0xbe)]){this['_activeShapeInfo'][_0x4ccc89(0x17d)]=!0x0,this['_openShapeEditPanel']();return;}this[_0x4ccc89(0x17f)]();}));}[_0x4ea115(0x15e)](){const _0x473cf4=_0x4ea115;this[_0x473cf4(0x11c)]&&(this[_0x473cf4(0x3c6)]=this['_sidebarService']['open']({'id':_0x135e7b,'header':{'title':this[_0x473cf4(0x260)]['t'](_0x473cf4(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x473cf4(0x11c)]},'onClose':()=>{const _0x518f9a=_0x473cf4;this[_0x518f9a(0x275)][_0x518f9a(0x233)](null),this['_contextService']['setContextValue'](_0x5bc1cc[_0x518f9a(0x3ea)],!0x1),this[_0x518f9a(0x3c6)]=null;}}),this[_0x473cf4(0x3b6)]=!0x0);}['_closeShapeEditPanel'](){const _0x556c4b=_0x4ea115;this[_0x556c4b(0x3b6)]=!0x1,this['_sidebarService'][_0x556c4b(0x110)](_0x135e7b),this['_sidebarDisposable']=null,this['_contextService'][_0x556c4b(0x153)](_0x5bc1cc[_0x556c4b(0x3ea)],!0x1),this[_0x556c4b(0x275)][_0x556c4b(0x233)](null);}};_0x3fa5ff=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc['Inject'])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc['Inject'])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc['IPermissionService']),_0x379978(0xc,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1bc9bf[_0x4ea115(0x328)]))],_0x3fa5ff);let _0x80d163=_0x4ea115(0x1ac),_0x19d7a9=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x155833,_0x3d5430,_0x1ae649,_0x146a18,_0x450345,_0x2c2729){const _0x4a4280=_0x4ea115;super(),this[_0x4a4280(0x18b)]=_0x155833,this[_0x4a4280(0x107)]=_0x3d5430,this[_0x4a4280(0x275)]=_0x1ae649,this[_0x4a4280(0x2f8)]=_0x146a18,this['_renderManagerService']=_0x450345,this[_0x4a4280(0x215)]=_0x2c2729,_0x128b9e(this,'_visible',!0x1),this[_0x4a4280(0x18b)][_0x4a4280(0x1da)](_0x296b2a),this[_0x4a4280(0x103)]((0x0,_0x5bc1cc[_0x4a4280(0x230)])(this[_0x4a4280(0x275)][_0x4a4280(0x2ff)]['subscribe'](()=>this[_0x4a4280(0x27d)]()))),this[_0x4a4280(0x27d)]();}[_0x4ea115(0x17a)](){const _0x1c54d8=_0x4ea115;this[_0x1c54d8(0x215)][_0x1c54d8(0x166)](!0x1,_0x80d163),this[_0x1c54d8(0x1c1)](),super[_0x1c54d8(0x17a)]();}[_0x4ea115(0x27d)](){const _0xcede17=_0x4ea115;var _0x1202e7;let _0x395090=this[_0xcede17(0x275)][_0xcede17(0x2dd)](),_0x1004cb=_0x395090[_0xcede17(0xbe)]===0x1?_0x395090[0x0]:void 0x0;if((_0x1004cb==null?void 0x0:_0x1004cb[_0xcede17(0x3a3)])!==_0x5bc1cc['DrawingTypeEnum'][_0xcede17(0x3dc)]||this[_0xcede17(0x2f8)][_0xcede17(0xc6)](_0x1004cb[_0xcede17(0x18f)])!==_0x5bc1cc['UniverInstanceType'][_0xcede17(0x310)]){this['_shapeFloatingToolbarService']['setFallbackVisible'](!0x1,_0x80d163),this['_hide']();return;}let _0xe02088=(_0x1202e7=this['_renderManagerService']['getRenderUnitById'](_0x1004cb[_0xcede17(0x18f)]))==null?void 0x0:_0x1202e7[_0xcede17(0x406)][_0xcede17(0x181)](),_0x8164ff=(0x0,_0x1bc9bf[_0xcede17(0xfd)])(_0xe02088)===_0xcede17(0x336);if(this[_0xcede17(0x215)][_0xcede17(0x166)](_0x8164ff,_0x80d163),_0x8164ff){this[_0xcede17(0x1c1)]();return;}this['_visible']||(this[_0xcede17(0x295)]=!0x0,this[_0xcede17(0x107)][_0xcede17(0xa8)](_0x3a28ca,{'activate':!0x0}));}['_hide'](){const _0x10b831=_0x4ea115;this[_0x10b831(0x295)]&&(this['_visible']=!0x1,this[_0x10b831(0x107)][_0x10b831(0xa4)](_0x3a28ca),this[_0x10b831(0x107)][_0x10b831(0x8d)]([]));}};_0x19d7a9=_0x555290([_0x379978(0x0,_0x446708[_0x4ea115(0x322)]),_0x379978(0x1,_0x446708[_0x4ea115(0x22d)]),_0x379978(0x2,_0x3cf577['IDrawingManagerService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x4,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x5,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0x22f)]))],_0x19d7a9);let _0x141a20=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4c15a1,_0x1e3a63,_0x4581e0,_0x45cde2){const _0x3c314a=_0x4ea115;super(),this[_0x3c314a(0xcb)]=_0x4c15a1,this[_0x3c314a(0x167)]=_0x1e3a63,this[_0x3c314a(0x275)]=_0x4581e0,this['_docDrawingShapeRenderController']=_0x45cde2,this[_0x3c314a(0x1be)]();}[_0x4ea115(0x1be)](){const _0x1bb846=_0x4ea115;this[_0x1bb846(0x103)](this[_0x1bb846(0x275)][_0x1bb846(0x2d1)][_0x1bb846(0x3a6)](_0x23726f=>this[_0x1bb846(0xdc)](_0x23726f))),this[_0x1bb846(0x103)](this['_drawingManagerService'][_0x1bb846(0x176)][_0x1bb846(0x3a6)](_0x6646f=>{const _0x2ec725=_0x1bb846;_0x6646f['forEach'](_0x4b5dc2=>this[_0x2ec725(0x30b)](_0x4b5dc2));})),this[_0x1bb846(0x103)](this[_0x1bb846(0xcb)][_0x1bb846(0x1b5)](_0x1a65e2=>{const _0x159ba4=_0x1bb846;if(_0x1a65e2['id']!==_0x1897fd[_0x159ba4(0x130)]['id'])return;let {unitId:_0x3d230a,shapeId:_0x1d7988}=_0x1a65e2[_0x159ba4(0x405)];this[_0x159ba4(0x250)]({'unitId':_0x3d230a,'subUnitId':_0x3d230a,'drawingId':_0x1d7988});}));}['_insertShapes'](_0x39d84d){const _0x252f1d=_0x4ea115;_0x39d84d[_0x252f1d(0x3d7)](_0x3316d0=>{const _0x29a440=_0x252f1d;let _0x467075=this[_0x29a440(0x18d)](_0x3316d0[_0x29a440(0x18f)]);if(!_0x467075)return;let _0x7fd1bc=this[_0x29a440(0x275)][_0x29a440(0x3ba)](_0x3316d0);(_0x7fd1bc==null?void 0x0:_0x7fd1bc['drawingType'])===_0x5bc1cc['DrawingTypeEnum'][_0x29a440(0x3dc)]&&this[_0x29a440(0xb3)][_0x29a440(0x34b)](_0x7fd1bc,_0x467075[_0x29a440(0x241)]);});}['_updateShape'](_0x509717){const _0x271430=_0x4ea115;let _0x4bf63d=this['_drawingManagerService']['getDrawingByParam'](_0x509717);if((_0x4bf63d==null?void 0x0:_0x4bf63d['drawingType'])!==_0x5bc1cc[_0x271430(0x1c8)]['DRAWING_SHAPE'])return;let _0x52d4d2=this['_getSceneByUnitId'](_0x509717[_0x271430(0x18f)]);if(!_0x52d4d2||_0x4bf63d[_0x271430(0x2eb)]==null)return;let _0x3d1059=(0x0,_0x3cf577[_0x271430(0x14a)])(_0x509717),_0x550e49=_0x52d4d2[_0x271430(0x241)][_0x271430(0x179)](_0x3d1059);_0x550e49&&(_0x550e49[_0x271430(0x1c3)](_0x4bf63d['srcRect']),_0x550e49[_0x271430(0x2df)](_0x4bf63d['prstGeom']),_0x550e49['makeDirty'](!0x0));}[_0x4ea115(0x250)](_0x69b9cd){const _0x35a0a0=_0x4ea115;let _0x5731f6=this[_0x35a0a0(0x18d)](_0x69b9cd[_0x35a0a0(0x18f)]);if(!_0x5731f6)return;let _0x357602=(0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x69b9cd),_0x113c52=_0x5731f6['scene'][_0x35a0a0(0x179)](_0x357602);_0x113c52&&(this[_0x35a0a0(0xb3)]['refreshShapeFillImage'](_0x113c52),this[_0x35a0a0(0xb3)][_0x35a0a0(0x172)](_0x113c52,{'unitId':_0x69b9cd[_0x35a0a0(0x18f)],'subUnitId':_0x69b9cd['subUnitId'],'shapeId':_0x69b9cd[_0x35a0a0(0x408)]}),_0x113c52[_0x35a0a0(0x2cc)](!0x0));}[_0x4ea115(0x18d)](_0x4296f5){const _0x1ba85b=_0x4ea115;if(_0x4296f5==null)return null;let _0x210352=this[_0x1ba85b(0x167)][_0x1ba85b(0x290)](_0x4296f5),_0xa65d57=_0x210352==null?void 0x0:_0x210352[_0x1ba85b(0x241)];return _0xa65d57==null?null:{'scene':_0xa65d57};}};_0x141a20=_0x555290([_0x379978(0x0,_0x5bc1cc['ICommandService']),_0x379978(0x1,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x141a20);let _0x118582=class extends _0x5bc1cc[_0x4ea115(0x201)]{constructor(_0x23ad0c=_0xd4dc79,_0x13021d,_0x2af6b7,_0x13bab6,_0x4e745e){const _0x4a40f9=_0x4ea115;super(),this['_config']=_0x23ad0c,this[_0x4a40f9(0x16b)]=_0x13021d,this[_0x4a40f9(0xcb)]=_0x2af6b7,this['_configService']=_0x13bab6,this[_0x4a40f9(0x167)]=_0x4e745e;let {menu:_0x1f1d6a,..._0x4c3cec}=(0x0,_0x5bc1cc[_0x4a40f9(0x105)])({},_0xd4dc79,this[_0x4a40f9(0x196)]);_0x1f1d6a&&this['_configService'][_0x4a40f9(0x32e)](_0x4a40f9(0x2a0),_0x1f1d6a,{'merge':!0x0}),this[_0x4a40f9(0x314)][_0x4a40f9(0x32e)](_0x3f849b,_0x4c3cec),[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x4a40f9(0x3d7)](_0x1681a9=>this[_0x4a40f9(0x103)](this['_commandService']['registerCommand'](_0x1681a9)));}['onStarting'](){const _0x269573=_0x4ea115;let _0x3a1f5f=[[_0x4f75fa],[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]];(0x0,_0x5bc1cc[_0x269573(0x28c)])(this[_0x269573(0x16b)],_0x3a1f5f),this['_injector'][_0x269573(0x20e)](_0x4f75fa);}[_0x4ea115(0x93)](){const _0x2bc9da=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x2bc9da(0x30e)](_0x5bc1cc[_0x2bc9da(0x1ee)]['UNIVER_DOC'],[_0x3d330d])),(0x0,_0x5bc1cc[_0x2bc9da(0xda)])(this[_0x2bc9da(0x16b)],[[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]]);}};_0x128b9e(_0x118582,'type',_0x5bc1cc[_0x4ea115(0x1ee)][_0x4ea115(0x310)]),_0x128b9e(_0x118582,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x118582,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x118582,'version',_0x44d234),_0x118582=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2[_0x4ea115(0x276)],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x299)],_0x24aff0[_0x4ea115(0xe9)],_0x341d83[_0x4ea115(0x40b)],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x2f2)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorMobileUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x118582);let _0x4e161f=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x54c294,_0x43c309){const _0x3f7d3d=_0x4ea115;super(),this[_0x3f7d3d(0x366)]=_0x54c294,this[_0x3f7d3d(0x24e)]=_0x43c309,this[_0x3f7d3d(0xd9)](),this['_registerComponents']();}[_0x4ea115(0xd9)](){const _0x5ae9da=_0x4ea115;this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x2b7))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x401))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'BottomIcon':_0x32945e})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x33a))||this[_0x5ae9da(0x103)](this['_iconManager']['register']({'MoveDownIcon':_0x4f55f7})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x393))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x2a4))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x3c5))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)](_0x47ad89));}['_registerComponents'](){const _0x27a5f6=_0x4ea115;this['disposeWithMe'](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x135e7b,_0x2e5427)),this[_0x27a5f6(0x2d5)](),this[_0x27a5f6(0x221)](),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x9bb98f,_0x1d84be)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x205f1c,_0x5f0bda)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0xcb0280,_0x2c2195)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x5c919f,_0x204deb)),this[_0x27a5f6(0x103)](this['_componentManager'][_0x27a5f6(0x223)](_0x2dab50,_0x231d64)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x57b3d6,_0x1bc9bf[_0x27a5f6(0x164)])),this['_registerPickers'](),this[_0x27a5f6(0x366)]['get'](_0x390061[_0x27a5f6(0xea)])||this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xdb8590)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x40cffd=_0x4ea115;this[_0x40cffd(0x103)](this[_0x40cffd(0x366)][_0x40cffd(0x223)](_0x593cd4,_0x37b32e));}[_0x4ea115(0x221)](){const _0x58dbf3=_0x4ea115;this[_0x58dbf3(0x103)](this[_0x58dbf3(0x366)]['register'](_0x300198,_0x1573e3));}['_registerPickers'](){const _0x31d6a3=_0x4ea115;this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x215dca,_0x4e301f)),this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x19b74d,_0x418549));}};_0x4e161f=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['IconManager']))],_0x4e161f);let _0x245a37=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x5bbcf7,_0xea62d3,_0x3509b7,_0x2761fd,_0x57f7af,_0x2a5743,_0x2c80a7,_0x4e68f2,_0xcb0c26){const _0x558d70=_0x4ea115;super();let _0x38f97f=_0x45edeb=>{const _0x1d1378=_0x9d29;let _0x1a7fb5=_0x2a5743[_0x1d1378(0x1f8)](_0x45edeb[_0x1d1378(0x18f)],_0x5bc1cc['UniverInstanceType'][_0x1d1378(0x310)]),_0x5d8cb0=_0x1a7fb5?(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1a7fb5,_0x45edeb['shapeId']):'';return!!_0x1a7fb5&&(0x0,_0x42aa76[_0x1d1378(0x1b4)])(_0x4e68f2,_0x45edeb[_0x1d1378(0x18f)],[(0x0,_0x42aa76[_0x1d1378(0x28b)])(_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)]),...(0x0,_0x42aa76[_0x1d1378(0x373)])(_0x1a7fb5,_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)])]);},_0x152c2b=_0x4b5188=>_0x4b5188[_0x558d70(0x392)]&&_0x38f97f(_0x4b5188)?_0x3509b7[_0x558d70(0x3e9)](_0x4b5188[_0x558d70(0x18f)],_0x4b5188[_0x558d70(0x392)])??null:null,_0x28b7f1=()=>{const _0x44212e=_0x558d70;let _0x10859d=_0x57f7af[_0x44212e(0x2dd)](),_0xe24307=_0x10859d[_0x44212e(0xbe)]===0x1?_0x10859d[0x0]:null;return(_0xe24307==null?void 0x0:_0xe24307[_0x44212e(0x3a3)])===_0x5bc1cc[_0x44212e(0x1c8)]['DRAWING_SHAPE']&&_0xe24307[_0x44212e(0x18f)]===_0x5bbcf7[_0x44212e(0x18f)]?{'unitId':_0xe24307['unitId'],'subUnitId':_0xe24307[_0x44212e(0x199)],'shapeId':_0xe24307['drawingId']}:null;};this['disposeWithMe']((0x0,_0x1bc9bf['registerShapeFormatPainter'])(_0x5bbcf7,_0xea62d3,{'changes$':(0x0,_0x587404[_0x558d70(0x105)])(_0x57f7af[_0x558d70(0x2ff)],_0x2761fd[_0x558d70(0x190)],_0x4e68f2[_0x558d70(0x2b3)]),'isActive':()=>{const _0x3514b8=_0x558d70;var _0xfd789b;return((_0xfd789b=_0x2a5743[_0x3514b8(0x204)]())==null?void 0x0:_0xfd789b[_0x3514b8(0x1e4)]())===_0x5bbcf7['unitId']&&!_0x2c80a7[_0x3514b8(0x273)](_0x5bc1cc[_0x3514b8(0x33b)])&&_0x57f7af['getFocusDrawings']()[_0x3514b8(0x23a)](_0x3d58d9=>_0x3d58d9[_0x3514b8(0x18f)]===_0x5bbcf7[_0x3514b8(0x18f)]);},'getSelectedTarget':_0x28b7f1,'getSource':()=>{let _0x2b08ef=_0x28b7f1();return _0x2b08ef?_0x152c2b(_0x2b08ef):null;},'getTarget':_0x3f9e06=>{const _0x298319=_0x558d70;let _0x53b496=_0x5bbcf7['scene'][_0x298319(0x29b)](new _0x24aff0[(_0x298319(0x397))](_0x3f9e06[_0x298319(0x1e9)],_0x3f9e06[_0x298319(0x266)]));if(!(_0x53b496 instanceof _0x49294f))return null;let _0x3ee49a={'unitId':_0x5bbcf7[_0x298319(0x18f)],'subUnitId':_0x5bbcf7['unitId'],'shapeId':_0x53b496['shapeId']};return _0x38f97f(_0x3ee49a)?_0x3ee49a:null;},'getShape':_0x152c2b,'update':(_0x2bb193,_0x219318,_0x4a2ce1)=>_0xcb0c26[_0x558d70(0x217)](_0x1897fd[_0x558d70(0x3e3)]['id'],{..._0x2bb193,'shapeData':_0x4a2ce1,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x219318}})}));}};_0x245a37=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708[_0x4ea115(0x240)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x4,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x6,_0x5bc1cc['IContextService']),_0x379978(0x7,_0x5bc1cc[_0x4ea115(0x3d0)]),_0x379978(0x8,_0x5bc1cc[_0x4ea115(0x2db)])],_0x245a37);function _0x43489b(_0x1cba30,_0x471557){const _0x54eaaf=_0x4ea115;let _0x2817f1=_0x1cba30;for(;_0x2817f1;){if(_0x471557(_0x2817f1))return _0x2817f1;_0x2817f1=typeof _0x2817f1[_0x54eaaf(0x15c)]==_0x54eaaf(0x2ad)?_0x2817f1[_0x54eaaf(0x15c)]():null;}return null;}function _0x370239(_0x1586d1){return _0x43489b(_0x1586d1,_0x26e6ab=>_0x26e6ab instanceof _0x49294f);}function _0x6442d(_0x4abec4){const _0x2a5fa4=_0x4ea115;return(_0x4abec4==null?void 0x0:_0x4abec4[_0x2a5fa4(0x1eb)])==null;}let _0x8a76d7=class extends _0x5bc1cc['Disposable']{constructor(_0x3dbe6f,_0x3ce4f4,_0xe3f62c,_0x107467,_0x143216,_0x352b37){const _0x41feee=_0x4ea115;super(),this[_0x41feee(0x334)]=_0x3dbe6f,this[_0x41feee(0x149)]=_0x3ce4f4,this[_0x41feee(0x275)]=_0xe3f62c,this[_0x41feee(0x32f)]=_0x107467,this[_0x41feee(0x37e)]=_0x143216,this[_0x41feee(0x3b7)]=_0x352b37,_0x128b9e(this,_0x41feee(0x33e),null),_0x128b9e(this,_0x41feee(0x20d),null),this['_initEvents'](),this[_0x41feee(0x287)](),this[_0x41feee(0xac)]();}['dispose'](){const _0x16fe73=_0x4ea115;this[_0x16fe73(0xbd)](),super[_0x16fe73(0x17a)]();}[_0x4ea115(0xc5)](){const _0x14d449=_0x4ea115;let {scene:_0x582473}=this[_0x14d449(0x334)];this[_0x14d449(0x103)](_0x582473[_0x14d449(0x33d)][_0x14d449(0x3bb)]((_0x33d27b,_0xf474a9)=>{const _0x5c4341=_0x14d449;let {offsetX:_0x4127fa,offsetY:_0x187b19}=_0x33d27b,_0x2879ae=_0x24aff0[_0x5c4341(0x397)][_0x5c4341(0x2e6)]([_0x4127fa,_0x187b19]),_0xb5d894=_0x370239(_0x582473[_0x5c4341(0x29b)](_0x2879ae))??this[_0x5c4341(0x13b)](_0x2879ae);if(_0xb5d894){_0xf474a9[_0x5c4341(0xcd)]();let _0x3d50fb=this[_0x5c4341(0x3b7)][_0x5c4341(0x189)](_0xb5d894[_0x5c4341(0x18f)],_0xb5d894[_0x5c4341(0x199)],_0xb5d894[_0x5c4341(0x392)]);if(!_0x3d50fb||(0x0,_0x349291[_0x5c4341(0x2d6)])(_0x3d50fb['getShapeType']())||!_0x6442d(_0x3d50fb[_0x5c4341(0x165)]()))return;this[_0x5c4341(0x149)][_0x5c4341(0x18a)]({'visible':!0x0,'unitId':_0xb5d894[_0x5c4341(0x18f)],'subUnitId':_0xb5d894[_0x5c4341(0x199)],'shapeId':_0xb5d894[_0x5c4341(0x392)],'shapeKey':_0xb5d894[_0x5c4341(0x23f)]});}}));}[_0x4ea115(0x13b)](_0x1036c7){const _0x41a572=_0x4ea115;let {scene:_0x2df1cf}=this[_0x41a572(0x334)];return this[_0x41a572(0x275)][_0x41a572(0x2dd)]()[_0x41a572(0x3ca)](_0x1f7935=>_0x2df1cf[_0x41a572(0x179)]((0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x1f7935)))[_0x41a572(0x99)](_0x39a1f9=>_0x39a1f9 instanceof _0x49294f&&_0x39a1f9['isHit'](_0x1036c7))??null;}[_0x4ea115(0x287)](){const _0x4d6c3b=_0x4ea115;this[_0x4d6c3b(0x103)](this[_0x4d6c3b(0x275)][_0x4d6c3b(0x2ff)][_0x4d6c3b(0x3a6)](_0x401c31=>{const _0x5a89a9=_0x4d6c3b;if(_0x401c31[_0x5a89a9(0xbe)]===0x1){let _0x1108a8=_0x401c31[0x0],_0x599267=this[_0x5a89a9(0x275)][_0x5a89a9(0x3ba)](_0x1108a8);if((_0x599267==null?void 0x0:_0x599267[_0x5a89a9(0x3a3)])===_0x5bc1cc[_0x5a89a9(0x1c8)]['DRAWING_SHAPE']){let _0x5e194d=this[_0x5a89a9(0x149)]['getEditing']();if((_0x5e194d==null?void 0x0:_0x5e194d[_0x5a89a9(0x392)])===_0x1108a8[_0x5a89a9(0x408)]&&_0x5e194d['visible'])return;(0x0,_0x349291['isConnectorShape'])(this[_0x5a89a9(0x3b7)]['getShapeType'](_0x1108a8[_0x5a89a9(0x18f)],_0x1108a8[_0x5a89a9(0x199)],_0x1108a8[_0x5a89a9(0x408)]))&&this['_shapeTextEditingService'][_0x5a89a9(0x18a)](null);}else this['_shapeTextEditingService'][_0x5a89a9(0x3b0)]();}else this[_0x5a89a9(0x149)][_0x5a89a9(0x3b0)]();})),this[_0x4d6c3b(0x103)](this['_drawingManagerService'][_0x4d6c3b(0x15a)][_0x4d6c3b(0x3a6)](_0x34e695=>{const _0x355e3c=_0x4d6c3b;let _0x1e6ca5=this[_0x355e3c(0x149)][_0x355e3c(0x3db)]();_0x1e6ca5&&_0x34e695[_0x355e3c(0x23a)](_0x46495f=>_0x46495f[_0x355e3c(0x408)]===_0x1e6ca5[_0x355e3c(0x392)])&&this[_0x355e3c(0x149)][_0x355e3c(0x18a)](null);}));}[_0x4ea115(0xac)](){const _0x59a654=_0x4ea115;this[_0x59a654(0x103)](this[_0x59a654(0x149)][_0x59a654(0x190)][_0x59a654(0x3a6)](_0x2471f4=>{const _0x16a825=_0x59a654;(_0x2471f4==null?void 0x0:_0x2471f4[_0x16a825(0x39e)])===!0x0&&_0x2471f4[_0x16a825(0x18f)]===this[_0x16a825(0x334)]['unitId']?this[_0x16a825(0x20d)]??=this[_0x16a825(0x37e)]['beginInteraction']():this['_endLayoutInteraction']();let {scene:_0x1f0279}=this['_context'];if(this['_lastEditingShapeKey']){let _0x4dd0ee=_0x1f0279[_0x16a825(0x179)](this[_0x16a825(0x33e)]);_0x4dd0ee&&_0x4dd0ee[_0x16a825(0x18a)](!0x1);}if(_0x2471f4){let _0x27aaf7=!!_0x2471f4[_0x16a825(0x39e)],_0x2fbcd4=_0x1f0279[_0x16a825(0x179)](_0x2471f4[_0x16a825(0x35b)]);_0x2fbcd4&&(_0x2fbcd4[_0x16a825(0x18a)](_0x27aaf7),this[_0x16a825(0x33e)]=_0x2471f4['shapeKey']),this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc['FOCUSING_SHAPE_TEXT_EDITOR'],_0x27aaf7);}else this[_0x16a825(0x33e)]=null,this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc[_0x16a825(0x33b)],!0x1);}));}[_0x4ea115(0xbd)](){const _0xe7c534=_0x4ea115;var _0x2999e5;(_0x2999e5=this[_0xe7c534(0x20d)])==null||_0x2999e5[_0xe7c534(0x17a)](),this[_0xe7c534(0x20d)]=null;}};_0x8a76d7=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x213530)),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocLayoutInteractionService'])),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService']))],_0x8a76d7);let _0x57f8f2=class extends _0x1bc9bf[_0x4ea115(0x2f1)]{constructor(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc){super(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc,{'componentKey':_0x57b3d6,'editorUnitId':_0x33ec1c});}};_0x57f8f2=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x3c2)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocCanvasPopManagerService'])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x375)])),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x112)])),_0x379978(0x6,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0xbb)])),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x282)])),_0x379978(0x8,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocRenderController'])),_0x379978(0x9,(0x0,_0x5bc1cc['Inject'])(_0x213530))],_0x57f8f2);let _0x500c6d=class extends _0x5bc1cc['Disposable']{constructor(_0x2a35ac,_0x29d304,_0x53529e,_0x4cc4f3,_0x3e818f,_0x4ecb5c,_0x545b8b,_0x59de27,_0x6f2804,_0xb0452c,_0x38469b,_0x4c1791){const _0x408ab8=_0x4ea115;super(),this['_univerInstanceService']=_0x2a35ac,this[_0x408ab8(0x1c5)]=_0x29d304,this[_0x408ab8(0x18b)]=_0x53529e,this['_docsShapeService']=_0x4cc4f3,this[_0x408ab8(0x260)]=_0x3e818f,this[_0x408ab8(0xcb)]=_0x4ecb5c,this[_0x408ab8(0x275)]=_0x545b8b,this[_0x408ab8(0x3bd)]=_0x59de27,this['_renderManagerService']=_0x6f2804,this['_contextService']=_0xb0452c,this[_0x408ab8(0x149)]=_0x38469b,this[_0x408ab8(0x185)]=_0x4c1791,_0x128b9e(this,'_sidebarDisposable',null),_0x128b9e(this,'_activeShapeInfo',null),_0x128b9e(this,_0x408ab8(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x408ab8(0x2fb),new Map()),_0x128b9e(this,_0x408ab8(0x30c),new Map()),this[_0x408ab8(0x1d0)](),this[_0x408ab8(0x103)](this[_0x408ab8(0x2f8)][_0x408ab8(0x341)](_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)])[_0x408ab8(0x3a6)](_0x52bfd7=>{const _0x169e51=_0x408ab8;if(!_0x52bfd7){var _0x80ee55;(_0x80ee55=this[_0x169e51(0x3c6)])==null||_0x80ee55[_0x169e51(0x17a)]();}})),this[_0x408ab8(0x37d)](),this['disposeWithMe']((0x0,_0x1bc9bf[_0x408ab8(0x391)])(this['_renderManagerService'],_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)],_0x4b0192=>this[_0x408ab8(0xb1)](_0x4b0192))),this[_0x408ab8(0x103)](this['_shapeTextEditingService'][_0x408ab8(0x190)][_0x408ab8(0x3a6)](_0x2df984=>{const _0x56e0ff=_0x408ab8;_0x2df984&&this[_0x56e0ff(0x1c2)](void 0x0,!0x0);})),this[_0x408ab8(0x103)](this[_0x408ab8(0x185)][_0x408ab8(0x2b3)][_0x408ab8(0x3a6)](()=>{const _0x2e80ed=_0x408ab8;this['_drawingManagerService']['getFocusDrawings']()['some'](_0xde8e0=>_0xde8e0['drawingType']===_0x5bc1cc[_0x2e80ed(0x1c8)][_0x2e80ed(0x3dc)]&&this[_0x2e80ed(0x2f8)][_0x2e80ed(0xc6)](_0xde8e0[_0x2e80ed(0x18f)])===_0x5bc1cc[_0x2e80ed(0x1ee)][_0x2e80ed(0x310)]&&!this[_0x2e80ed(0x3f6)](_0xde8e0[_0x2e80ed(0x18f)],_0xde8e0[_0x2e80ed(0x408)]))&&(this[_0x2e80ed(0x1c2)](void 0x0,!0x0),this[_0x2e80ed(0x17f)]());}));}[_0x4ea115(0x1d0)](){const _0x1746e0=_0x4ea115;this['_menuManagerService'][_0x1746e0(0x1da)](_0x2b9f36);}['getShapePopupMenus'](_0x23b6d3,_0x94c0a3,_0x562d0e,_0x42dc9b){const _0x27c856=_0x4ea115;return[{'label':_0x27c856(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':_0x42dc9b===_0x5bc1cc['DrawingTypeEnum'][_0x27c856(0x187)]},{'label':_0x27c856(0x123),'index':0x1,'commandId':_0x1c356f['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x23b6d3,'drawings':[{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':!0x1}];}[_0x4ea115(0x29f)](_0x5e4950,_0x1a42e4,_0x72dcbd){const _0x582e11=_0x4ea115;let _0x238d63=this['_docsShapeService'][_0x582e11(0xc8)](_0x5e4950,_0x1a42e4,_0x72dcbd),_0x8d1d9f=this[_0x582e11(0x3b7)][_0x582e11(0x3e9)](_0x5e4950,_0x1a42e4,_0x72dcbd);return _0x238d63!==void 0x0&&_0x8d1d9f!==void 0x0?{'shapeData':_0x8d1d9f,'shapeId':_0x72dcbd,'shapeType':_0x238d63,'unitId':_0x5e4950,'subUnitId':_0x1a42e4,'version':this[_0x582e11(0x1ea)],'disableShapeOption':!0x1}:null;}[_0x4ea115(0x1c2)](_0x5dbc47,_0x1e46d9=!0x1){const _0x29fd99=_0x4ea115;if(_0x5dbc47==null){[...this[_0x29fd99(0x2fb)]['keys']()][_0x29fd99(0x3d7)](_0x21d65b=>this[_0x29fd99(0x1c2)](_0x21d65b,_0x1e46d9));return;}let _0x21b9bf=this[_0x29fd99(0x2fb)][_0x29fd99(0x20e)](_0x5dbc47);if(_0x21b9bf){for(let _0x3af000=_0x21b9bf[_0x29fd99(0xbe)]-0x1;_0x3af000>=0x0;--_0x3af000){let _0x4fa1d6=_0x21b9bf[_0x3af000];(_0x1e46d9||_0x4fa1d6[_0x29fd99(0x30a)]())&&(_0x4fa1d6[_0x29fd99(0x17a)](),_0x21b9bf[_0x29fd99(0x8f)](_0x3af000,0x1));}_0x21b9bf['length']===0x0&&(this[_0x29fd99(0x2fb)][_0x29fd99(0x284)](_0x5dbc47),this[_0x29fd99(0x30c)][_0x29fd99(0x284)](_0x5dbc47));}}[_0x4ea115(0x1e0)](_0x3b4175){const _0xe0eeba=_0x4ea115;let _0x5df015=this['_disposePopupsByUnit']['get'](_0x3b4175);if(_0x5df015)return _0x5df015;let _0x5a5dd9=[];return this[_0xe0eeba(0x2fb)][_0xe0eeba(0x1fe)](_0x3b4175,_0x5a5dd9),_0x5a5dd9;}[_0x4ea115(0xb1)](_0x2c08a2){const _0x573d1c=_0x4ea115;var _0x13e89e;let _0x5ebb60=new _0x5bc1cc[(_0x573d1c(0x2c2))](),_0x3c15b5=(_0x13e89e=this[_0x573d1c(0x167)][_0x573d1c(0x26c)](_0x5bc1cc[_0x573d1c(0x1ee)][_0x573d1c(0x310)])[_0x573d1c(0x99)](_0x3214ef=>_0x3214ef[_0x573d1c(0x241)]['getTransformerByCreate']()===_0x2c08a2))==null?void 0x0:_0x13e89e[_0x573d1c(0x18f)];return _0x3c15b5?(_0x5ebb60['add'](_0x2c08a2[_0x573d1c(0x1cb)][_0x573d1c(0x3a6)](()=>this[_0x573d1c(0x31a)](_0x2c08a2,_0x3c15b5))),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x1ec)]['subscribe'](()=>{const _0xa296d1=_0x573d1c;this[_0xa296d1(0x1c2)](_0x3c15b5),queueMicrotask(()=>{const _0x15f24c=_0xa296d1;_0x2c08a2[_0x15f24c(0x3c9)]()[_0x15f24c(0x25e)]>0x0||(this['_contextService']['setContextValue'](_0x5bc1cc[_0x15f24c(0x3ea)],!0x1),this[_0x15f24c(0x275)][_0x15f24c(0x233)](null));});})),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x102)]['subscribe'](()=>{const _0x5740a0=_0x573d1c;this[_0x5740a0(0x1c2)](_0x3c15b5,!0x0);})),_0x5ebb60):_0x5ebb60;}[_0x4ea115(0x31a)](_0x520f0d,_0x22fc56){const _0x41ccb3=_0x4ea115;let _0x62e6ab=_0x520f0d[_0x41ccb3(0x3c9)]();if(this['_isOpenedShapeEditPanel']){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}if(_0x62e6ab['size']>0x1){this['_clearPopups'](_0x22fc56);return;}let _0x5af983=_0x62e6ab[_0x41ccb3(0x3f5)]()[_0x41ccb3(0x3eb)]()[_0x41ccb3(0x115)];if(!_0x5af983){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x33861f=this[_0x41ccb3(0x275)][_0x41ccb3(0x26f)](_0x5af983[_0x41ccb3(0x23f)]);if(!_0x33861f||_0x33861f[_0x41ccb3(0x3a3)]!==_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let {unitId:_0x7d7aa,subUnitId:_0x22be00,drawingId:_0x388af7,drawingType:_0xce6dab}=_0x33861f;if(!this['_canEditShape'](_0x7d7aa,_0x388af7)){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}let _0x91456d=this['_getShapeInfo'](_0x7d7aa,_0x22be00,_0x388af7);if(!_0x91456d){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x7b997a=this[_0x41ccb3(0x2fb)][_0x41ccb3(0x20e)](_0x22fc56),_0x45ebbd=_0x7d7aa+':'+_0x22be00+':'+_0x388af7;if(this[_0x41ccb3(0x30c)][_0x41ccb3(0x20e)](_0x22fc56)===_0x45ebbd&&_0x7b997a&&_0x7b997a[_0x41ccb3(0xbe)]>0x0)return;this[_0x41ccb3(0x1c2)](_0x22fc56);let _0x152f36=this[_0x41ccb3(0x167)][_0x41ccb3(0x290)](_0x7d7aa),_0x4de1b1=((_0x152f36==null?void 0x0:_0x152f36[_0x41ccb3(0x2c3)])===!0x1?_0x152f36['with'](_0x341d83['DocCanvasPopManagerService']):this[_0x41ccb3(0x3bd)])[_0x41ccb3(0x388)](_0x5af983,this[_0x41ccb3(0x239)](_0x91456d,_0xce6dab),_0x7d7aa);this['disposeWithMe'](_0x4de1b1),this['_getDisposePopups'](_0x22fc56)[_0x41ccb3(0x39b)](_0x4de1b1),this[_0x41ccb3(0x30c)][_0x41ccb3(0x1fe)](_0x22fc56,_0x45ebbd),this[_0x41ccb3(0x275)][_0x41ccb3(0x2dd)]()['some'](_0x23c78c=>_0x23c78c[_0x41ccb3(0x18f)]===_0x7d7aa&&_0x23c78c['subUnitId']===_0x22be00&&_0x23c78c['drawingId']===_0x388af7)||this[_0x41ccb3(0x275)][_0x41ccb3(0x233)]([{'unitId':_0x7d7aa,'subUnitId':_0x22be00,'drawingId':_0x388af7}]);}[_0x4ea115(0x239)](_0x466f2c,_0x4bfa59){const _0x29493c=_0x4ea115;return{'componentKey':_0x300198,'direction':_0x29493c(0xa9),'offset':[0x0,_0x1bc9bf['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x466f2c[_0x29493c(0x18f)],'subUnitId':_0x466f2c[_0x29493c(0x199)],'drawingId':_0x466f2c[_0x29493c(0x392)],'drawingType':_0x4bfa59,'shapeType':_0x466f2c['shapeType'],'shapeData':_0x466f2c['shapeData']}};}[_0x4ea115(0x3f6)](_0x265ec9,_0x1c12ad){const _0x57ec09=_0x4ea115;let _0x1766b4=this[_0x57ec09(0x2f8)][_0x57ec09(0x1f8)](_0x265ec9,_0x5bc1cc[_0x57ec09(0x1ee)][_0x57ec09(0x310)]);if(!_0x1766b4)return!0x1;let _0x385a1c=(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1766b4,_0x1c12ad);return(0x0,_0x42aa76[_0x57ec09(0x1b4)])(this[_0x57ec09(0x185)],_0x265ec9,[...(0x0,_0x42aa76['getDocumentEntityParentPermissionObjectIds'])(_0x1766b4,_0x385a1c,'drawing',_0x1c12ad),(0x0,_0x42aa76[_0x57ec09(0x28b)])(_0x385a1c,_0x57ec09(0x31d),_0x1c12ad)]);}[_0x4ea115(0x37d)](){const _0x25221a=_0x4ea115;this['disposeWithMe'](this[_0x25221a(0xcb)][_0x25221a(0x1b5)](_0x55a4ed=>{const _0x43d437=_0x25221a;if(_0x55a4ed['id']===_0x5a08b9['id']){let {unitId:_0x2538b1,subUnitId:_0xfc35c5,drawingId:_0x396db6}=_0x55a4ed[_0x43d437(0x405)];this[_0x43d437(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x43d437(0x29f)](_0x2538b1,_0xfc35c5,_0x396db6),this[_0x43d437(0x1c2)](void 0x0,!0x0),this[_0x43d437(0x15e)]();}if(_0x55a4ed['id']===_0x181065['id']&&(this[_0x43d437(0x11c)]=null,this[_0x43d437(0x17f)]()),_0x55a4ed['id']===_0x1897fd[_0x43d437(0x130)]['id']){let {unitId:_0x25af3f,shapeId:_0x5dde7b}=_0x55a4ed[_0x43d437(0x405)];if(this[_0x43d437(0x11c)]&&this[_0x43d437(0x11c)][_0x43d437(0x392)]===_0x5dde7b){let _0x212164=this[_0x43d437(0x29f)](_0x25af3f,this[_0x43d437(0x11c)][_0x43d437(0x199)],_0x5dde7b);_0x212164&&(this[_0x43d437(0x1ea)]+=0x1,_0x212164[_0x43d437(0xf1)]=this['_shapeEditPanelVersion'],this[_0x43d437(0x11c)]=_0x212164,this['_isOpenedShapeEditPanel']&&this[_0x43d437(0x15e)]());}}})),this[_0x25221a(0x103)](this['_drawingManagerService'][_0x25221a(0x2ff)][_0x25221a(0x3a6)](_0x1d3968=>{const _0x490993=_0x25221a;if(this[_0x490993(0x3b6)]===!0x1)return;if(_0x1d3968['length']===0x0){this[_0x490993(0x11c)]=null,this['_closeShapeEditPanel']();return;}if(_0x1d3968[_0x490993(0xbe)]===0x1&&_0x1d3968[0x0][_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)])){this[_0x490993(0x15e)]();return;}let _0x2e6939=_0x1d3968[_0x490993(0x2e8)](_0x287b28=>_0x287b28[_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x490993(0x3dc)]);if(_0x1d3968[_0x490993(0xbe)]>0x1&&_0x2e6939['length']===_0x1d3968['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this[_0x490993(0x29f)](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0]['subUnitId'],_0x1d3968[0x0]['drawingId']),this['_activeShapeInfo']){this['_openShapeEditPanel']();return;}}else{if(this[_0x490993(0x1ea)]+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0]['unitId'],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)]){this[_0x490993(0x11c)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x490993(0x17f)]();}));}['_openShapeEditPanel'](){const _0x16cd22=_0x4ea115;this[_0x16cd22(0x11c)]&&(this[_0x16cd22(0x3c6)]=this[_0x16cd22(0x1c5)][_0x16cd22(0x402)]({'id':_0x135e7b,'header':{'title':this[_0x16cd22(0x260)]['t'](_0x16cd22(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x16cd22(0x11c)]},'onClose':()=>{const _0x5d1426=_0x16cd22;this['_drawingManagerService'][_0x5d1426(0x233)](null),this[_0x5d1426(0x32f)][_0x5d1426(0x153)](_0x5bc1cc[_0x5d1426(0x3ea)],!0x1),this[_0x5d1426(0x3c6)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x4ea115(0x17f)](){const _0x5638e9=_0x4ea115;this[_0x5638e9(0x3b6)]=!0x1,this[_0x5638e9(0x1c5)]['close'](_0x135e7b),this[_0x5638e9(0x3c6)]=null,this[_0x5638e9(0x32f)][_0x5638e9(0x153)](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x5638e9(0x233)](null);}};_0x500c6d=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc['IContextService']),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc[_0x4ea115(0x3d0)])],_0x500c6d);let _0x3d1652=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x2ae459,_0x54faee){const _0x4f721f=_0x4ea115;super(),this['_docsShapeService']=_0x2ae459,this[_0x4f721f(0x260)]=_0x54faee,this[_0x4f721f(0x103)]((0x0,_0x5bc1cc[_0x4f721f(0x230)])((0x0,_0x24aff0['setDocsCustomBlockRenderViewportProvider'])((_0x497dd4,_0x2f1035,_0x2f4f0b)=>this['_measure'](_0x497dd4,_0x2f1035,_0x2f4f0b))));}[_0x4ea115(0x31f)](_0x216384,_0x1ff668,_0x1bd633){const _0x2310ba=_0x4ea115;let _0x314bdf=this[_0x2310ba(0x3b7)]['getShapeModel'](_0x216384,_0x1ff668);if(!_0x314bdf)return null;let _0x1ab247=_0x314bdf['getShapeData'](),_0xe9ca5e=(0x0,_0x349291[_0x2310ba(0x144)])(_0x1ab247),_0x4e1d2c=_0x1ab247[_0x2310ba(0x186)];if(!_0x4e1d2c||_0xe9ca5e[_0x2310ba(0x174)]!==_0x349291[_0x2310ba(0x182)][_0x2310ba(0x11e)])return null;let _0x401e16=_0x1bd633[_0x2310ba(0x25b)],_0x43a839=_0x1bd633[_0x2310ba(0x9a)];_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839});let _0x3b231c=_0x314bdf[_0x2310ba(0x317)]({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}),_0xfa99f4=(0x0,_0x1bc9bf[_0x2310ba(0x232)])(_0x2310ba(0x267)in _0x4e1d2c?_0x4e1d2c['dataModel']:void 0x0),_0x4fde25=(_0xfa99f4==null?void 0x0:_0xfa99f4[_0x2310ba(0x262)])??('isRichText'in _0x4e1d2c?(0x0,_0x1bc9bf[_0x2310ba(0x327)])(_0x4e1d2c,_0x1ff668+_0x2310ba(0x34f)):null);if(!_0x4fde25)return null;let _0x2c6579=(0x0,_0x1bc9bf[_0x2310ba(0x292)])({'documentData':_0x4fde25,'height':_0x43a839,'shapeData':_0x1ab247,'textRect':_0x3b231c,'width':_0x401e16,'widthBuffer':0x0});_0x2c6579&&({width:_0x401e16,height:_0x43a839}=_0x2c6579,_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839}),_0x3b231c=_0x314bdf['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}));let _0x33bcc6=_0x4e1d2c[_0x2310ba(0x1fb)]!==!0x1,_0x5b5711=(0x0,_0x1bc9bf['prepareShapeTextDocumentData'])(_0x4fde25,{'isHorizontal':_0x33bcc6,'textRect':_0x3b231c,'verticalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['va'],'horizontalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['ha'],'wrapStrategy':(0x0,_0x1bc9bf['resolveShapeTextEditorWrapStrategy'])(_0x1ab247)}),_0x3569a1=new _0x5bc1cc['DocumentDataModel'](_0x5b5711),_0x63f7fe=new _0x24aff0[(_0x2310ba(0xd5))](_0x3569a1),_0x5953a8=_0x24aff0[_0x2310ba(0x129)][_0x2310ba(0x191)](_0x63f7fe,this[_0x2310ba(0x260)]);try{var _0x2b93b9,_0x10b925;_0x5953a8['calculate']();let _0x3af383=((_0x2b93b9=_0x5953a8[_0x2310ba(0x303)]())==null?void 0x0:_0x2b93b9[_0x2310ba(0x227)])??[],_0x3e85a9=_0x3af383[_0x3af383[_0x2310ba(0xbe)]-0x1],_0x3cbd86=_0x3e85a9?Math[_0x2310ba(0x409)](0x0,((_0x10b925=(0x0,_0x24aff0['getLastLine'])(_0x3e85a9))==null?void 0x0:_0x10b925[_0x2310ba(0x10e)])??0x0):0x0,_0x2078ff=_0x5953a8['getActualSize']()['actualHeight']+_0x3cbd86-(_0x33bcc6?_0x3b231c[_0x2310ba(0x37b)]:_0x3b231c['width']);return Number[_0x2310ba(0xe5)](_0x2078ff)?_0x33bcc6?{'width':_0x401e16,'height':Math[_0x2310ba(0x409)](0x1,_0x43a839+_0x2078ff)}:{'width':Math[_0x2310ba(0x409)](0x1,_0x401e16+_0x2078ff),'height':_0x43a839}:null;}finally{_0x5953a8[_0x2310ba(0x17a)](),_0x63f7fe['dispose'](),_0x3569a1['dispose']();}}};_0x3d1652=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)]))],_0x3d1652);let _0x1879e9=class extends _0x5bc1cc['Plugin']{constructor(_0x486b0b=_0xd4dc79,_0x262e78,_0x5e0263,_0x2b3d47,_0x2b265f){const _0xd2c492=_0x4ea115;super(),this[_0xd2c492(0x196)]=_0x486b0b,this[_0xd2c492(0x16b)]=_0x262e78,this[_0xd2c492(0xcb)]=_0x5e0263,this['_configService']=_0x2b3d47,this['_renderManagerService']=_0x2b265f;let {menu:_0x410f67,..._0x349922}=(0x0,_0x5bc1cc[_0xd2c492(0x105)])({},_0xd4dc79,this[_0xd2c492(0x196)]);_0x410f67&&this['_configService'][_0xd2c492(0x32e)]('menu',_0x410f67,{'merge':!0x0}),this[_0xd2c492(0x314)][_0xd2c492(0x32e)](_0x3f849b,_0x349922),this[_0xd2c492(0xb5)]();}[_0x4ea115(0x1b9)](){const _0x149380=_0x4ea115;(0x0,_0x5bc1cc[_0x149380(0x28c)])(this[_0x149380(0x16b)],this[_0x149380(0x2b2)]()),this[_0x149380(0x16b)][_0x149380(0x20e)](_0x4e161f),this[_0x149380(0x333)]();}[_0x4ea115(0x2b2)](){return[[_0x4e161f],[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]];}[_0x4ea115(0x93)](){const _0x4c21be=_0x4ea115;this[_0x4c21be(0x177)]()[_0x4c21be(0x3d7)](_0x3da660=>{const _0x1f3260=_0x4c21be;this[_0x1f3260(0x103)](this[_0x1f3260(0x167)][_0x1f3260(0x30e)](_0x5bc1cc['UniverInstanceType'][_0x1f3260(0x310)],_0x3da660));}),(0x0,_0x5bc1cc['touchDependencies'])(this[_0x4c21be(0x16b)],[[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]]);}[_0x4ea115(0x177)](){return[[_0x3d330d],[_0x8a76d7],[_0x245a37]];}[_0x4ea115(0x2a9)](){const _0x1754c3=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x1754c3(0x30e)](_0x5bc1cc[_0x1754c3(0x1ee)][_0x1754c3(0x310)],[_0x57f8f2]));}[_0x4ea115(0xb5)](){const _0x145489=_0x4ea115;[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x145489(0x3d7)](_0x577149=>this[_0x145489(0x103)](this['_commandService'][_0x145489(0xbf)](_0x577149)));}[_0x4ea115(0x333)](){const _0x112efc=_0x4ea115;let _0x3b0165=this[_0x112efc(0x16b)],_0x363dd7=_0x3b0165[_0x112efc(0x20e)](_0x446708[_0x112efc(0x2cb)]);this[_0x112efc(0x103)](_0x363dd7[_0x112efc(0x27f)](_0x446708['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x446708[_0x112efc(0x194)])(_0x3ca34c,_0x3b0165)));}};_0x128b9e(_0x1879e9,_0x4ea115(0x23c),_0x5bc1cc['UniverInstanceType']['UNIVER_DOC']),_0x128b9e(_0x1879e9,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x1879e9,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x1879e9,_0x4ea115(0xf1),_0x44d234),_0x1879e9=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2['UniverLicensePlugin'],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x28a)],_0x24aff0['UniverRenderEnginePlugin'],_0x341d83['UniverDocsUIPlugin'],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x382)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x1879e9),_0x3e8be1[_0x4ea115(0x3a7)]=_0x2b9f36,Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x12a),{'enumerable':!0x0,'get':function(){return _0x118582;}}),Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x363),{'enumerable':!0x0,'get':function(){return _0x1879e9;}});}));
|
|
1
|
+
(function(_0x265299,_0x2b731b){const _0x444810=_0x5827,_0x429237=_0x265299();while(!![]){try{const _0x538804=-parseInt(_0x444810(0x41c))/0x1+parseInt(_0x444810(0x2cf))/0x2+-parseInt(_0x444810(0x347))/0x3*(parseInt(_0x444810(0x426))/0x4)+-parseInt(_0x444810(0x393))/0x5+-parseInt(_0x444810(0x461))/0x6+parseInt(_0x444810(0x117))/0x7+parseInt(_0x444810(0x12b))/0x8;if(_0x538804===_0x2b731b)break;else _0x429237['push'](_0x429237['shift']());}catch(_0x327945){_0x429237['push'](_0x429237['shift']());}}}(_0x3f6a,0x212cb),function(_0x1d8cda,_0x2fc232){const _0x5f9034=_0x5827;typeof exports==_0x5f9034(0x1b7)&&typeof module<'u'?_0x2fc232(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define=='function'&&define[_0x5f9034(0x14b)]?define([_0x5f9034(0x330),'@univerjs-pro/shape-editor-ui',_0x5f9034(0x156),_0x5f9034(0x498),'@univerjs-pro/docs-shape',_0x5f9034(0x206),_0x5f9034(0x468),_0x5f9034(0x165),_0x5f9034(0x1e3),_0x5f9034(0x397),'@univerjs/engine-render','@univerjs/drawing',_0x5f9034(0x2ce),_0x5f9034(0x2d3),_0x5f9034(0x1f0),_0x5f9034(0x33f),'@univerjs/docs-drawing-ui',_0x5f9034(0x491),_0x5f9034(0x1dd),'@univerjs/protocol'],_0x2fc232):(_0x1d8cda=typeof globalThis<'u'?globalThis:_0x1d8cda||self,_0x2fc232(_0x1d8cda[_0x5f9034(0x2d7)]={},_0x1d8cda[_0x5f9034(0x47d)],_0x1d8cda[_0x5f9034(0x2a7)],_0x1d8cda[_0x5f9034(0x3d6)],_0x1d8cda[_0x5f9034(0x1b9)],_0x1d8cda['UniverProEngineShape'],_0x1d8cda[_0x5f9034(0x495)],_0x1d8cda[_0x5f9034(0x20a)],_0x1d8cda[_0x5f9034(0x205)],_0x1d8cda['UniverDocsDrawing'],_0x1d8cda[_0x5f9034(0x270)],_0x1d8cda['UniverDrawing'],_0x1d8cda[_0x5f9034(0x245)],_0x1d8cda[_0x5f9034(0x164)],_0x1d8cda['rxjs'],_0x1d8cda['UniverProLicense'],_0x1d8cda['UniverDocsDrawingUi'],_0x1d8cda[_0x5f9034(0x164)],_0x1d8cda[_0x5f9034(0x222)],_0x1d8cda[_0x5f9034(0x24c)]));}(this,function(_0x20f644,_0x257c32,_0x33827d,_0x342c24,_0x1d4bf7,_0x2bd245,_0x198678,_0x179bf7,_0x31f1d7,_0x3a4044,_0x1126ec,_0x567d02,_0x5656f0,_0x480c6f,_0x5cf427,_0x58581a,_0x4b09d7,_0x308052,_0x309aa3,_0x5d6c3c){const _0x1f6723=_0x5827;Object[_0x1f6723(0x395)](_0x20f644,Symbol['toStringTag'],{'value':_0x1f6723(0x1e7)});function _0x14e1fb(_0x3541fa,_0x2c8b77){const _0x5540fb=_0x1f6723;if(_0x2c8b77){if((0x0,_0x2bd245['isConnectorShape'])(_0x3541fa)&&(_0x2c8b77['startArrow']||_0x2c8b77['endArrow']))return{'ln':{'startArrow':_0x2c8b77[_0x5540fb(0x401)]?{'type':_0x2bd245[_0x5540fb(0x1c6)][_0x5540fb(0x3a8)],'size':_0x2bd245[_0x5540fb(0x2d0)]['Medium']}:void 0x0,'endArrow':_0x2c8b77[_0x5540fb(0x35a)]?{'type':_0x2bd245[_0x5540fb(0x1c6)][_0x5540fb(0x3a8)],'size':_0x2bd245[_0x5540fb(0x2d0)][_0x5540fb(0x3aa)]}:void 0x0}};if(_0x3541fa===_0x2bd245['ShapeTypeEnum']['Rect']&&(_0x2c8b77['horizontal']||_0x2c8b77['vertical']))return(0x0,_0x198678[_0x5540fb(0x1f4)])({'fill':{'fillType':_0x2bd245[_0x5540fb(0x436)][_0x5540fb(0x383)],'color':_0x5540fb(0x13c)},'isHorizontal':!!_0x2c8b77[_0x5540fb(0x1bb)],'stroke':{'lineStrokeType':_0x2bd245[_0x5540fb(0x195)][_0x5540fb(0x305)],'width':0x1,'color':_0x5540fb(0x221)}});}}function _0x4a6f59(_0x5743aa,_0x1ab53f){const _0x290ae1=_0x1f6723;var _0x87d9e8;let _0x34769e=_0x1ab53f['segmentId']??'',_0x500948=(_0x87d9e8=_0x5743aa[_0x290ae1(0x439)](_0x34769e))==null?void 0x0:_0x87d9e8['getBody']();if(!_0x500948)return null;let _0x3278c5=_0x500948['paragraphs']??[],_0x18268d=_0x3278c5[_0x290ae1(0x237)](_0x37c6a4=>{const _0x32d5cc=_0x290ae1;let _0x5873bc=(0x0,_0x179bf7[_0x32d5cc(0x45f)])(_0x500948,_0x37c6a4);return _0x1ab53f['startOffset']>=_0x5873bc&&_0x1ab53f['startOffset']<=_0x37c6a4[_0x32d5cc(0x447)];})??_0x3278c5[_0x3278c5['length']-0x1];return _0x18268d?{'paragraphId':_0x18268d['paragraphId'],'segmentId':_0x34769e,'position':_0x1d4bf7[_0x290ae1(0x3ac)]['OFFSET'],'offset':_0x1ab53f[_0x290ae1(0x489)]-(0x0,_0x179bf7[_0x290ae1(0x45f)])(_0x500948,_0x18268d)}:null;}function _0x2ee294(_0x48f43d,_0x270aad,_0x134896){const _0x44310b=_0x1f6723;var _0x4e0568,_0x5b8c0e;if(!_0x134896)return null;let _0xe64b06=(_0x4e0568=_0x48f43d[_0x44310b(0x2c6)](_0x1126ec['IRenderManagerService'])[_0x44310b(0x1bc)](_0x270aad))==null?void 0x0:_0x4e0568[_0x44310b(0x1e4)](_0x33827d[_0x44310b(0x262)])[_0x44310b(0x44b)];if(!_0xe64b06)return null;let _0x54593f=_0x134896==='below'?{'startOffset':_0xe64b06[_0x44310b(0x2b4)][_0x44310b(0x28a)],'endOffset':_0xe64b06[_0x44310b(0x2b4)][_0x44310b(0x28a)]}:_0xe64b06[_0x44310b(0x26f)];return{'startOffset':_0x54593f[_0x44310b(0x489)],'endOffset':_0x54593f[_0x44310b(0x28a)],'collapsed':_0x54593f[_0x44310b(0x489)]===_0x54593f[_0x44310b(0x28a)],'segmentId':((_0x5b8c0e=_0xe64b06[_0x44310b(0x1bf)])==null?void 0x0:_0x5b8c0e[_0x44310b(0x427)])??''};}let _0x171f92={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x2f0)],'id':_0x1f6723(0x411),'handler':async(_0x130587,_0x41ddfa)=>{const _0x2179ec=_0x1f6723;let _0x1711c1=_0x130587[_0x2179ec(0x2c6)](_0x179bf7['IUniverInstanceService'])[_0x2179ec(0x25b)](_0x179bf7[_0x2179ec(0x42f)][_0x2179ec(0x369)]);if(!_0x1711c1)return!0x1;let _0x775c3f=_0x130587[_0x2179ec(0x2c6)](_0x179bf7[_0x2179ec(0x483)]),_0x3b8319=_0x1711c1[_0x2179ec(0x40d)](),_0x5b0fea=_0x41ddfa['shapeId']??(0x0,_0x179bf7[_0x2179ec(0x273)])(),_0x44e0ab=_0x41ddfa[_0x2179ec(0x258)]??_0x1d4bf7[_0x2179ec(0x398)],_0x46f112=_0x41ddfa[_0x2179ec(0x3a9)]??_0x1d4bf7[_0x2179ec(0x1f3)],_0x5b1391=_0x41ddfa[_0x2179ec(0x2c0)]??_0x14e1fb(_0x41ddfa['value'],_0x41ddfa[_0x2179ec(0x372)]),_0x5d4229=_0x2ee294(_0x130587,_0x3b8319,_0x41ddfa[_0x2179ec(0x268)])??_0x130587['get'](_0x31f1d7[_0x2179ec(0x33b)])[_0x2179ec(0x38e)]();if(!_0x5d4229)return!0x1;let _0x295a09=_0x4a6f59(_0x1711c1,_0x5d4229);return _0x295a09?!!_0x775c3f['syncExecuteCommand'](_0x1d4bf7[_0x2179ec(0x49f)]['id'],{'unitId':_0x3b8319,'shapeId':_0x5b0fea,'shapeType':_0x41ddfa['value'],'shapeData':_0x5b1391,'transform':{'width':_0x44e0ab,'height':_0x46f112},'placement':{'wrappingStyle':_0x3a4044[_0x2179ec(0x3ee)][_0x2179ec(0x3c4)],'anchor':_0x295a09}}):!0x1;}},_0x138c9c='doc.shape.edit.panel',_0x4008c0='docs-shape-ui.ribbon.shape-format',_0x4872be=_0x1f6723(0x177),_0x397c85=(0x0,_0x179bf7[_0x1f6723(0x13d)])('SHAPE_TEXT'),_0x110c09=_0x1f6723(0x3fd),_0x13f5c4='DocsShapeTextEditorContainer',_0x57f7a8={'id':_0x1f6723(0x175),'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x2f0)],'handler':(_0x4815d5,_0x23033d)=>{const _0x478524=_0x1f6723;let _0x23eb8f=_0x4815d5[_0x478524(0x2c6)](_0x342c24['ISidebarService']),_0x5b18f3=_0x4815d5[_0x478524(0x2c6)](_0x179bf7['LocaleService']),_0xe0858d=_0x4815d5[_0x478524(0x2c6)](_0x567d02[_0x478524(0x316)]);return(_0x23033d==null?void 0x0:_0x23033d[_0x478524(0x442)])===_0x478524(0x312)?(_0x23eb8f[_0x478524(0x312)](_0x4872be),!0x0):(_0x23eb8f[_0x478524(0x1dc)]({'id':_0x4872be,'header':{'title':_0x5b18f3['t'](_0x478524(0x308))},'children':{'label':_0x4872be},'onClose':()=>{const _0x24271b=_0x478524;_0xe0858d[_0x24271b(0x389)](null);},'width':0x168}),!0x0);}},_0x344cfa={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'id':_0x1f6723(0x2ff),'handler'(){return!0x0;}};function _0x22bf44(_0x1b791a){const _0x5ece41=_0x1f6723;let _0x509bff=_0x1b791a['get'](_0x567d02[_0x5ece41(0x316)])['getFocusDrawings'](),_0x342f23=_0x509bff['length']===0x1?_0x509bff[0x0]:null;if(!_0x342f23||_0x342f23['drawingType']!==_0x179bf7[_0x5ece41(0x121)][_0x5ece41(0x29c)])return null;let _0x4622ae=_0x1b791a[_0x5ece41(0x2c6)](_0x1d4bf7['DocsShapeService']),_0x3b4dbf=_0x4622ae['getShapeTypeById'](_0x342f23[_0x5ece41(0x2aa)],_0x342f23[_0x5ece41(0x189)],_0x342f23[_0x5ece41(0x140)]),_0x463a73=_0x4622ae[_0x5ece41(0x43e)](_0x342f23[_0x5ece41(0x2aa)],_0x342f23[_0x5ece41(0x189)],_0x342f23[_0x5ece41(0x140)]);return _0x3b4dbf===void 0x0||!_0x463a73?null:{'drawing':_0x342f23,'shapeData':_0x463a73,'shapeType':_0x3b4dbf};}let _0x155dac={'id':_0x1f6723(0x2b2),'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'handler':(_0x58df62,_0x100d88)=>{const _0x598f82=_0x1f6723;let _0x5af42f=_0x22bf44(_0x58df62),_0xe4f071=(0x0,_0x198678[_0x598f82(0x239)])((_0x100d88==null?void 0x0:_0x100d88['presetId'])??(_0x100d88==null?void 0x0:_0x100d88['value'])??'');if(!_0x5af42f||!_0xe4f071||_0xe4f071['type']!==(0x0,_0x198678[_0x598f82(0x3c3)])(_0x5af42f[_0x598f82(0x2c0)]))return!0x1;let _0x1b611b=(0x0,_0x198678[_0x598f82(0x3d7)])(_0x5af42f[_0x598f82(0x2c0)],_0xe4f071);if(!_0x1b611b)return!0x1;let {drawing:_0x5619a0}=_0x5af42f;return _0x58df62[_0x598f82(0x2c6)](_0x179bf7[_0x598f82(0x483)])[_0x598f82(0x15c)](_0x1d4bf7[_0x598f82(0x2ee)]['id'],{'unitId':_0x5619a0[_0x598f82(0x2aa)],'shapeId':_0x5619a0[_0x598f82(0x140)],'shapeData':_0x1b611b,'oldShapeJSON':{'oldShapeData':_0x5af42f[_0x598f82(0x2c0)]}});}},_0x1317e1={'id':_0x1f6723(0x119),'type':_0x179bf7['CommandType']['OPERATION'],'handler':(_0x56123f,_0x371dc1)=>{const _0x350ce3=_0x1f6723;let _0x357225=_0x22bf44(_0x56123f),_0x1bac90=(_0x371dc1==null?void 0x0:_0x371dc1[_0x350ce3(0x24e)])??(_0x371dc1==null?void 0x0:_0x371dc1[_0x350ce3(0x442)]);if(!_0x357225||!_0x1bac90||(0x0,_0x2bd245['isConnectorShape'])(_0x357225['shapeType'])||(0x0,_0x2bd245[_0x350ce3(0x452)])(_0x1bac90))return!0x1;let _0x3cf3f4=(0x0,_0x198678[_0x350ce3(0x3dd)])(_0x357225['shapeData'],_0x1bac90);if(!_0x3cf3f4)return!0x1;let {drawing:_0x4ae068}=_0x357225;return _0x56123f[_0x350ce3(0x2c6)](_0x179bf7[_0x350ce3(0x483)])[_0x350ce3(0x15c)](_0x1d4bf7[_0x350ce3(0x2ee)]['id'],{'unitId':_0x4ae068['unitId'],'shapeId':_0x4ae068[_0x350ce3(0x140)],'shapeType':_0x1bac90,'shapeData':_0x3cf3f4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x357225['shapeType'],'oldShapeData':_0x357225['shapeData']}});}};function _0x23cccd(_0x3ac351,_0x35ccde){return function(_0x369267,_0x3e5f1a){_0x35ccde(_0x369267,_0x3e5f1a,_0x3ac351);};}function _0x139e28(_0xa13512,_0x5a698b,_0x76f20b,_0x53f66c){const _0x105ed6=_0x1f6723;var _0x5524d8=arguments[_0x105ed6(0x231)],_0x112edf=_0x5524d8<0x3?_0x5a698b:_0x53f66c===null?_0x53f66c=Object['getOwnPropertyDescriptor'](_0x5a698b,_0x76f20b):_0x53f66c,_0x40d6ca;if(typeof Reflect==_0x105ed6(0x1b7)&&typeof Reflect[_0x105ed6(0x24d)]=='function')_0x112edf=Reflect[_0x105ed6(0x24d)](_0xa13512,_0x5a698b,_0x76f20b,_0x53f66c);else{for(var _0x385b67=_0xa13512[_0x105ed6(0x231)]-0x1;_0x385b67>=0x0;_0x385b67--)(_0x40d6ca=_0xa13512[_0x385b67])&&(_0x112edf=(_0x5524d8<0x3?_0x40d6ca(_0x112edf):_0x5524d8>0x3?_0x40d6ca(_0x5a698b,_0x76f20b,_0x112edf):_0x40d6ca(_0x5a698b,_0x76f20b))||_0x112edf);}return _0x5524d8>0x3&&_0x112edf&&Object['defineProperty'](_0x5a698b,_0x76f20b,_0x112edf),_0x112edf;}let _0x142998=class extends _0x179bf7['Disposable']{constructor(_0x5a43ae,_0x4f3068){const _0x5240e6=_0x1f6723;super(),this[_0x5240e6(0x408)]=_0x5a43ae,this[_0x5240e6(0x41e)]=_0x4f3068,this[_0x5240e6(0x19d)](),this['_clipService']['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x5240e6(0x408)][_0x5240e6(0x423)](!0x1)});}[_0x1f6723(0x19d)](){const _0x114a9a=_0x1f6723;let _0x37095c=new Map(),_0x2b9e85=this[_0x114a9a(0x408)][_0x114a9a(0x419)]((_0x2334fa,_0x52cdee,_0x18f8e2,_0x3a99dc,_0x381906)=>{const _0x5b7b06=_0x114a9a;let _0x4970aa=_0x52cdee;if(_0x4970aa===_0x2bd245[_0x5b7b06(0x3ce)][_0x5b7b06(0x2a9)]||_0x52cdee===_0x5b7b06(0x34d))return!0x1;try{let _0x7b4c2e=_0x37095c[_0x5b7b06(0x2c6)](_0x52cdee);return _0x7b4c2e||(_0x7b4c2e=new _0x2bd245[(_0x5b7b06(0x1ce))](_0x4970aa,_0x5b7b06(0x285)+_0x52cdee),_0x37095c[_0x5b7b06(0x21a)](_0x52cdee,_0x7b4c2e)),_0x7b4c2e[_0x5b7b06(0x1fb)](),_0x381906&&Object[_0x5b7b06(0x313)](_0x381906)[_0x5b7b06(0x231)]>0x0&&_0x7b4c2e['setShapeData']({'adjustValues':_0x381906},!0x0),_0x7b4c2e['updateContext']({'width':_0x18f8e2,'height':_0x3a99dc}),_0x7b4c2e[_0x5b7b06(0x456)](_0x2334fa,{'left':0x0,'top':0x0,'width':_0x18f8e2,'height':_0x3a99dc});}catch{return!0x1;}});this[_0x114a9a(0x18f)](_0x2b9e85),this[_0x114a9a(0x18f)]({'dispose':()=>_0x37095c[_0x114a9a(0x3f1)]()});}[_0x1f6723(0x284)](_0x2a1e50,_0x5ba22b,_0x329f95,_0x22ae69,_0x5a272f){const _0x536115=_0x1f6723;let _0x3fada0=this[_0x536115(0x41e)][_0x536115(0x3a6)](_0x2a1e50,_0x5ba22b)[_0x329f95];_0x3fada0&&_0x3fada0[_0x536115(0x31a)]===_0x179bf7[_0x536115(0x121)]['DRAWING_IMAGE']&&this[_0x536115(0x41e)]['featurePluginUpdateNotification']([{..._0x3fada0,'prstGeom':_0x22ae69,'adjustValues':_0x5a272f}]);}};_0x142998=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x5656f0[_0x1f6723(0x451)])),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x567d02[_0x1f6723(0x316)]))],_0x142998);let _0x50e49e=_0x1f6723(0x29e),_0xed3168=_0x1f6723(0x3f4);function _0x2f16b4({onShapeClick:_0x16194,excludeGroups:_0x2fac2f}){const _0x23bf21=_0x1f6723;return(0x0,_0x480c6f[_0x23bf21(0x17a)])(_0x257c32[_0x23bf21(0x3f8)],{'excludeGroups':_0x2fac2f,'onShapeClick':_0x16194,'scrollContainer':_0x23bf21(0x255)});}function _0x24e12d(){const _0x500b18=_0x1f6723;let _0x1d1953=(0x0,_0x342c24[_0x500b18(0x185)])(_0x567d02[_0x500b18(0x316)]),_0x236983=(0x0,_0x342c24[_0x500b18(0x185)])(_0x142998);return _0x42621a=>{const _0x5910bf=_0x500b18;let _0x1238ef=_0x1d1953[_0x5910bf(0x2b0)]()[_0x5910bf(0x237)](_0x943d32=>_0x943d32[_0x5910bf(0x31a)]===_0x179bf7[_0x5910bf(0x121)][_0x5910bf(0x2ed)]);_0x1238ef&&_0x236983[_0x5910bf(0x284)](_0x1238ef['unitId'],_0x1238ef[_0x5910bf(0x189)],_0x1238ef[_0x5910bf(0x140)],_0x42621a[_0x5910bf(0x333)]);};}function _0x9b0db7(){const _0x469152=_0x1f6723;let _0xbc2097=_0x24e12d();return(0x0,_0x480c6f[_0x469152(0x17a)])(_0x257c32[_0x469152(0x449)],{'buttonLabel':_0x469152(0x193),'excludeGroups':[_0x257c32[_0x469152(0x458)][_0x469152(0x1ed)]],'onShapeClick':_0xbc2097});}function _0x57e581(){const _0x35d41b=_0x1f6723;let _0x320ffe=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x342c24['ComponentManager']),_0x1c7e36=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x567d02['IDrawingManagerService']),_0x30db2d=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x179bf7['IUniverInstanceService']),_0x56c115=_0x1c7e36['getFocusDrawings']()[0x0],_0x46348b=_0x56c115?_0x30db2d[_0x35d41b(0x1b1)](_0x56c115[_0x35d41b(0x2aa)]):void 0x0,_0x5e2719=_0x46348b===_0x179bf7[_0x35d41b(0x42f)][_0x35d41b(0x369)]?_0xed3168:_0x46348b===_0x179bf7['UniverInstanceType'][_0x35d41b(0x296)]?'sheet.image-clip.shape-picker.component':void 0x0,_0x49e2b0=_0x5e2719?_0x320ffe[_0x35d41b(0x2c6)](_0x5e2719):void 0x0;return _0x49e2b0?(0x0,_0x480c6f[_0x35d41b(0x17a)])(_0x49e2b0,{}):null;}function _0x6c1722({paragraphMenuPlacement:_0x56410e,PickerComponent:_0x5210db=_0x2f16b4}){const _0x5a31e5=_0x1f6723;let _0x49096b=(0x0,_0x342c24[_0x5a31e5(0x185)])(_0x179bf7[_0x5a31e5(0x483)]);return(0x0,_0x480c6f[_0x5a31e5(0x17a)])(_0x5210db,{'onShapeClick':_0x1affb5=>{const _0x5cb637=_0x5a31e5;_0x49096b[_0x5cb637(0x15c)](_0x171f92['id'],{'paragraphMenuPlacement':_0x56410e,'value':_0x1affb5[_0x5cb637(0x333)],'enhanceParams':{'endArrow':_0x1affb5[_0x5cb637(0x35a)],'startArrow':_0x1affb5['startArrow'],'horizontal':_0x1affb5[_0x5cb637(0x1bb)],'vertical':_0x1affb5['vertical']}});}});}function _0x4b246a(_0x3da778){const _0x120fbf=_0x1f6723;return _0x3b85db=>({'id':_0x171f92['id'],'type':_0x342c24[_0x120fbf(0x1fa)]['SELECTOR'],'selections':[{'label':{'name':_0x50e49e,'hoverable':!0x1,'selectable':!0x1,'props':_0x3da778?{'id':_0x171f92['id'],'paragraphMenuPlacement':_0x3da778}:{'id':_0x171f92['id']}}}],'icon':_0x120fbf(0x2b1),'title':'docs-shape-ui.insertShape','tooltip':_0x120fbf(0x3fe),'hidden$':(0x0,_0x342c24[_0x120fbf(0x3b6)])(_0x3b85db,_0x179bf7['UniverInstanceType'][_0x120fbf(0x369)])});}let _0x16e6f5=_0x4b246a(),_0x273fd0=_0x4b246a(_0x1f6723(0x146)),_0x62066=_0x4b246a(_0x1f6723(0x158));function _0x2c4093(_0x214816){const _0x3dc975=_0x1f6723;return{'id':_0x57f7a8['id'],'type':_0x342c24[_0x3dc975(0x1fa)][_0x3dc975(0x12e)],'icon':_0x3dc975(0x22c),'title':_0x3dc975(0x3b2),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x342c24[_0x3dc975(0x3b6)])(_0x214816,_0x179bf7['UniverInstanceType']['UNIVER_DOC'])};}function _0x5a93d6(_0x356005,_0x4a77d4,_0x5e0599,_0x36593a,_0x20c383,_0x4c259c){const _0x4ca33a=_0x1f6723;let _0x518913={'unitId':_0x4a77d4,'shapeId':_0x36593a,'shapeData':_0x4c259c,'oldShapeJSON':_0x20c383};return _0x356005[_0x4ca33a(0x15c)](_0x1d4bf7[_0x4ca33a(0x2ee)]['id'],_0x518913);}function _0x3a7e1f(_0x5f2070,_0x410c5c,_0x32d600,_0xe57b4d,_0xa76400,_0x767737){const _0x2fcff9=_0x1f6723;let _0x22302b={'unitId':_0x410c5c,'shapeId':_0xe57b4d,'shapeData':_0x767737,'oldShapeJSON':_0xa76400};return _0x5f2070[_0x2fcff9(0x15c)](_0x1d4bf7[_0x2fcff9(0x2ee)]['id'],_0x22302b);}let _0x21c9ec=_0x1f6723(0x2ef),_0x3e7612=_0x1f6723(0x286),_0x47fb23=_0x1f6723(0x407),_0x517deb=_0x1f6723(0x11c),_0xf7d6ad='docs-shape-ui.shape-format.wrapping-style-label',_0x2bd368=[{'value':_0x3a4044[_0x1f6723(0x3ee)]['INLINE'],'label':_0x1f6723(0x190),'icon':'DocsShapeWrapInlineIcon'},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x326)],'label':_0x1f6723(0x3c5),'icon':_0x1f6723(0x359)},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x481)],'label':_0x1f6723(0x1e5),'icon':_0x1f6723(0x471)},{'value':_0x3a4044['TextWrappingStyle'][_0x1f6723(0x424)],'label':'docs-shape-ui.textWrap.behindText','icon':_0x1f6723(0x157)},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x2d5)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x1f6723(0x2f5)}];function _0x5b37d7(){const _0x2c497c=_0x1f6723;let _0x7c73fa=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x179bf7['ICommandService']),_0x41490a=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x567d02['IDrawingManagerService']),_0x5eadd2=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x1d4bf7[_0x2c497c(0x390)]),_0x5c2fae=()=>{const _0x598ec4=_0x2c497c;var _0x51b02b;let _0xc23ec=_0x41490a[_0x598ec4(0x2b0)]();if(_0xc23ec[_0x598ec4(0x231)]!==0x1||((_0x51b02b=_0xc23ec[0x0])==null?void 0x0:_0x51b02b['drawingType'])!==_0x179bf7[_0x598ec4(0x121)][_0x598ec4(0x29c)])return null;let {unitId:_0xcc6ced,subUnitId:_0x2419da,drawingId:_0x28df3a}=_0xc23ec[0x0],_0x2150b2=_0x5eadd2[_0x598ec4(0x138)](_0xcc6ced,_0x2419da,_0x28df3a),_0x1c5998=_0x5eadd2[_0x598ec4(0x43e)](_0xcc6ced,_0x2419da,_0x28df3a);return _0x2150b2===void 0x0||!_0x1c5998?null:{'unitId':_0xcc6ced,'subUnitId':_0x2419da,'drawingId':_0x28df3a,'shapeType':_0x2150b2,'shapeData':_0x1c5998};},_0x5a550b=(0x0,_0x342c24[_0x2c497c(0x161)])(()=>new _0x5cf427['Observable'](_0x3d3a5e=>{const _0x38da09=_0x2c497c;let _0x2d4fca=()=>_0x3d3a5e[_0x38da09(0x431)](_0x5c2fae()),_0x43d62c=_0x41490a[_0x38da09(0x2e7)]['subscribe'](_0x2d4fca),_0x3e64ae=_0x7c73fa[_0x38da09(0x2e4)](_0x612db1=>{_0x612db1['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']&&_0x2d4fca();});return _0x2d4fca(),()=>{const _0x387557=_0x38da09;_0x43d62c[_0x387557(0x1d4)](),_0x3e64ae[_0x387557(0x2ba)]();};}),_0x5c2fae(),!0x1,[_0x7c73fa,_0x5eadd2,_0x41490a]);return{'selection':_0x5a550b,'updateShapeData':_0x2960fd=>{const _0x30bff2=_0x2c497c;_0x5a550b&&_0x5a93d6(_0x7c73fa,_0x5a550b[_0x30bff2(0x2aa)],_0x5a550b[_0x30bff2(0x189)],_0x5a550b[_0x30bff2(0x140)],{'oldShapeData':_0x5a550b[_0x30bff2(0x2c0)]},_0x2960fd);}};}function _0xf4080c(){const _0x54277c=_0x1f6723;let {selection:_0xc183f2,updateShapeData:_0x3952ab}=_0x5b37d7();return _0xc183f2?(0x0,_0x480c6f[_0x54277c(0x17a)])(_0x257c32[_0x54277c(0x47c)],{'shapeData':_0xc183f2[_0x54277c(0x2c0)],'shapeType':_0xc183f2[_0x54277c(0x24e)],'onUpdateShapeData':_0x3952ab}):null;}function _0x509acc(){const _0x5d40e4=_0x1f6723;let _0x1f3e83=(0x0,_0x342c24['useDependency'])(_0x179bf7['ICommandService']),_0xdddd9c=(0x0,_0x342c24[_0x5d40e4(0x185)])(_0x179bf7[_0x5d40e4(0x46f)]),{selection:_0x23b1b1}=_0x5b37d7();return _0x23b1b1?(0x0,_0x480c6f[_0x5d40e4(0x17a)])(_0x257c32[_0x5d40e4(0x290)],{'type':(0x0,_0x198678[_0x5d40e4(0x3c3)])(_0x23b1b1[_0x5d40e4(0x2c0)]),'ariaLabel':_0xdddd9c['t'](_0x5d40e4(0x33c)),'activePresetId':(0x0,_0x198678[_0x5d40e4(0x328)])(_0x23b1b1[_0x5d40e4(0x2c0)]),'onSelect':_0x670be2=>_0x1f3e83['executeCommand'](_0x155dac['id'],{'presetId':_0x670be2})}):null;}function _0x1a18d1(){const _0x31a5d8=_0x1f6723;let {selection:_0x1bced3,updateShapeData:_0x1cc680}=_0x5b37d7();return _0x1bced3?(0x0,_0x480c6f[_0x31a5d8(0x17a)])(_0x257c32[_0x31a5d8(0x1cd)],{'fontFamilyPopupDataComponent':'docs-shape-format-font-family-menu','shapeData':_0x1bced3[_0x31a5d8(0x2c0)],'onUpdateShapeData':_0x1cc680}):null;}function _0x15d181(){const _0x313aa4=_0x1f6723;var _0xe15e2e;let {selection:_0x5277ef,updateShapeData:_0xfb4257}=_0x5b37d7(),_0x12c717=(0x0,_0x257c32[_0x313aa4(0x36a)])({'hostType':_0x179bf7[_0x313aa4(0x42f)][_0x313aa4(0x369)],'unitId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x2aa)])??'','subUnitId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x189)])??'','shapeId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x140)])??'','shapeData':_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x2c0)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x313aa4(0x135),'onUpdateBinding':_0x5a6d2f=>_0xfb4257({'formulaBinding':_0x5a6d2f})}),_0x3e147c=((_0xe15e2e=_0x12c717[_0x313aa4(0x12f)])==null?void 0x0:_0xe15e2e[_0x313aa4(0x391)](_0x2f966c=>_0x2f966c[_0x313aa4(0x17e)])[_0x313aa4(0x44a)](_0x581969=>_0x581969['visible']!==!0x1))??[];return _0x5277ef!=null&&_0x5277ef[_0x313aa4(0x2c0)][_0x313aa4(0x441)]?(0x0,_0x480c6f[_0x313aa4(0x17a)])(_0x257c32[_0x313aa4(0x2f7)],{'actions':_0x3e147c,'panel':_0x12c717[_0x313aa4(0x184)]}):null;}function _0x10ab8f({value:_0x36362e}){const _0x16a56b=_0x1f6723;let _0x35bbb5=(0x0,_0x342c24[_0x16a56b(0x185)])(_0x179bf7[_0x16a56b(0x46f)]),_0x5d1cc6=_0x2bd368[_0x16a56b(0x237)](_0xd53393=>_0xd53393[_0x16a56b(0x442)]===_0x36362e)??_0x2bd368[0x0];return _0x5d1cc6?(0x0,_0x480c6f['jsx'])('span',{'children':_0x35bbb5['t'](_0x5d1cc6[_0x16a56b(0x250)])}):null;}let _0x5be356=_0x1f6723(0x15d),_0x16971b=_0x1f6723(0x429),_0x2171c5=_0x1f6723(0x303),_0xa55cd7=_0x1f6723(0x2fa),_0x4274b4=_0x1f6723(0x288),_0x19a469=_0x1f6723(0x266),_0x5eaac0=_0x1f6723(0x2d2),_0x5e39c1='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0x4dca94(_0x76d00e){const _0xa9389=_0x1f6723;let _0x15fa53=_0x76d00e[_0xa9389(0x2c6)](_0x179bf7[_0xa9389(0x483)]),_0x789cc9=_0x76d00e[_0xa9389(0x2c6)](_0x567d02['IDrawingManagerService']),_0x39929d=_0x76d00e[_0xa9389(0x2c6)](_0x1d4bf7[_0xa9389(0x390)]);return new _0x5cf427[(_0xa9389(0x293))](_0x138cf4=>{const _0x596dac=_0xa9389;let _0x295c1e=()=>{const _0x485e59=_0x5827;let _0x3bd21b=_0x5e13ed(_0x76d00e),_0x2d4c71=_0x3bd21b?_0x39929d[_0x485e59(0x43e)](_0x3bd21b['unitId'],_0x3bd21b['subUnitId'],_0x3bd21b[_0x485e59(0x140)]):null;_0x138cf4[_0x485e59(0x431)](_0x2d4c71?(0x0,_0x198678[_0x485e59(0x328)])(_0x2d4c71)??'':'');},_0x35cfd9=_0x789cc9['focus$'][_0x596dac(0x37a)](_0x295c1e),_0x2b1446=_0x15fa53[_0x596dac(0x2e4)](_0x544336=>{const _0x31b7b2=_0x596dac;_0x544336['id']===_0x1d4bf7[_0x31b7b2(0x34a)]['id']&&_0x295c1e();});return _0x295c1e(),()=>{const _0x21ac48=_0x596dac;_0x35cfd9['unsubscribe'](),_0x2b1446[_0x21ac48(0x2ba)]();};});}function _0x5e13ed(_0x417bc1){const _0x4fdcf4=_0x1f6723;var _0x1d88d2;let _0x216b77=_0x417bc1[_0x4fdcf4(0x2c6)](_0x567d02[_0x4fdcf4(0x316)])[_0x4fdcf4(0x2b0)]();return _0x216b77[_0x4fdcf4(0x231)]===0x1&&((_0x1d88d2=_0x216b77[0x0])==null?void 0x0:_0x1d88d2[_0x4fdcf4(0x31a)])===_0x179bf7[_0x4fdcf4(0x121)][_0x4fdcf4(0x29c)]?_0x216b77[0x0]:null;}function _0x479a09(_0x4994c7){const _0x94f22c=_0x1f6723;return(_0x4994c7==null?void 0x0:_0x4994c7[_0x94f22c(0x1a4)])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x1a1)]?_0x4994c7[_0x94f22c(0x18c)]===_0x179bf7[_0x94f22c(0x1d6)][_0x94f22c(0x22f)]?_0x3a4044[_0x94f22c(0x3ee)]['BEHIND_TEXT']:_0x3a4044['TextWrappingStyle']['IN_FRONT_OF_TEXT']:(_0x4994c7==null?void 0x0:_0x4994c7[_0x94f22c(0x1a4)])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x326)]?_0x3a4044[_0x94f22c(0x3ee)]['WRAP_SQUARE']:(_0x4994c7==null?void 0x0:_0x4994c7['layoutType'])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x481)]?_0x3a4044[_0x94f22c(0x3ee)][_0x94f22c(0x481)]:_0x3a4044[_0x94f22c(0x3ee)][_0x94f22c(0x3c4)];}function _0x5e11a1(_0x411841){const _0x29c4b0=_0x1f6723;let _0x5f1bf8=_0x411841['get'](_0x179bf7[_0x29c4b0(0x483)]),_0x209594=_0x411841['get'](_0x567d02['IDrawingManagerService']),_0x28ce4f=_0x411841['get'](_0x179bf7['IUniverInstanceService']);return new _0x5cf427[(_0x29c4b0(0x293))](_0x54f813=>{const _0x20a160=_0x29c4b0;let _0xb4d58d=()=>{const _0x4a31f3=_0x5827;var _0x3939de;let _0x8b4ef4=_0x5e13ed(_0x411841),_0x28f186=_0x8b4ef4?_0x28ce4f['getUnit'](_0x8b4ef4[_0x4a31f3(0x2aa)],_0x179bf7[_0x4a31f3(0x42f)][_0x4a31f3(0x369)]):void 0x0;_0x54f813['next'](_0x479a09(_0x8b4ef4?_0x28f186==null||(_0x3939de=_0x28f186['getSnapshot']()[_0x4a31f3(0x125)])==null?void 0x0:_0x3939de[_0x8b4ef4['drawingId']]:void 0x0));},_0x19ca78=_0x209594[_0x20a160(0x2e7)]['subscribe'](_0xb4d58d),_0x327a8f=_0x5f1bf8[_0x20a160(0x2e4)](_0x379017=>{const _0x1fc60d=_0x20a160;_0x379017['id']===_0x31f1d7[_0x1fc60d(0x274)]['id']&&_0xb4d58d();});return _0xb4d58d(),()=>{const _0x571be6=_0x20a160;_0x19ca78['unsubscribe'](),_0x327a8f[_0x571be6(0x2ba)]();};})['pipe']((0x0,_0x5cf427['distinctUntilChanged'])());}function _0x1dfc26(_0x226af8,_0x3b7dd1=!0x1){const _0xbb8ad8=_0x1f6723;let _0x2b8378=_0x226af8['get'](_0x179bf7['ICommandService']),_0x2cc147=_0x226af8[_0xbb8ad8(0x2c6)](_0x567d02[_0xbb8ad8(0x316)]),_0x574171=_0x226af8[_0xbb8ad8(0x2c6)](_0x1d4bf7[_0xbb8ad8(0x390)]);return new _0x5cf427['Observable'](_0x342ea9=>{const _0x48ad32=_0xbb8ad8;let _0x180e21=()=>{const _0x4a4431=_0x5827;let _0x4cb130=_0x5e13ed(_0x226af8);if(!_0x4cb130){_0x342ea9[_0x4a4431(0x431)](!0x0);return;}let _0x2464c5=_0x574171['getShapeDataById'](_0x4cb130[_0x4a4431(0x2aa)],_0x4cb130[_0x4a4431(0x189)],_0x4cb130['drawingId']);_0x342ea9['next'](!_0x2464c5||_0x3b7dd1&&_0x2464c5[_0x4a4431(0x441)]==null);},_0x2ddec0=_0x2cc147[_0x48ad32(0x2e7)]['subscribe'](_0x180e21),_0x4091f6=_0x2b8378['onCommandExecuted'](_0x134b22=>{_0x134b22['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']&&_0x180e21();});return _0x180e21(),()=>{const _0x3512d2=_0x48ad32;_0x2ddec0[_0x3512d2(0x1d4)](),_0x4091f6[_0x3512d2(0x2ba)]();};});}function _0x3c86db(_0x24d4d5){const _0x478912=_0x1f6723;let _0x573e06=_0x24d4d5[_0x478912(0x2c6)](_0x567d02[_0x478912(0x316)]),_0x1c1531=_0x24d4d5[_0x478912(0x2c6)](_0x1d4bf7['DocsShapeService']);return _0x573e06[_0x478912(0x2e7)][_0x478912(0x36b)]((0x0,_0x5cf427[_0x478912(0x418)])(_0x573e06[_0x478912(0x2b0)]()),(0x0,_0x5cf427['map'])(()=>{const _0x32f1ef=_0x478912;let _0x3cd3b4=_0x5e13ed(_0x24d4d5),_0x4d56eb=_0x3cd3b4?_0x1c1531[_0x32f1ef(0x138)](_0x3cd3b4['unitId'],_0x3cd3b4[_0x32f1ef(0x189)],_0x3cd3b4[_0x32f1ef(0x140)]):void 0x0;return _0x4d56eb===void 0x0||(0x0,_0x2bd245[_0x32f1ef(0x452)])(_0x4d56eb);}));}function _0x3d50a1(_0x3f2a49){const _0x2fb1a2=_0x1f6723;return{'id':_0x155dac['id'],'type':_0x342c24[_0x2fb1a2(0x1fa)]['SELECTOR'],'icon':_0x2fb1a2(0x3f6),'title':_0x2fb1a2(0x301),'tooltip':_0x2fb1a2(0x301),'selections':[{'label':{'name':_0x21c9ec,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4dca94(_0x3f2a49),'hidden$':_0x1dfc26(_0x3f2a49)};}function _0xf45f2(_0x4c3a76){const _0x3984f0=_0x1f6723;return{'id':_0x1317e1['id'],'type':_0x342c24[_0x3984f0(0x1fa)][_0x3984f0(0x3bd)],'icon':_0x3984f0(0x2b1),'title':_0x3984f0(0x12c),'tooltip':_0x3984f0(0x12c),'slot':!0x0,'selections':[{'label':{'name':_0x257c32[_0x3984f0(0x214)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x3c86db(_0x4c3a76)};}function _0x2b2a3a(_0x1cb41c,_0x3bcf21,_0x53e902=!0x1){return _0x20ff4c=>({'id':_0x1cb41c,'type':_0x342c24['MenuItemType']['BUTTON'],'label':{'name':_0x3bcf21,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x1dfc26(_0x20ff4c,_0x53e902)});}let _0x4e9fab=_0x2b2a3a(_0x5be356,_0x3e7612),_0x53d1a5=_0x2b2a3a(_0x16971b,_0x47fb23),_0x2f6eaa=_0x2b2a3a(_0x2171c5,_0x517deb,!0x0);function _0x5c0eb5(_0x48edc3){const _0x27664b=_0x1f6723;return{'id':_0x5e39c1,'type':_0x342c24['MenuItemType'][_0x27664b(0x3bd)],'icon':_0x2bd368[0x0][_0x27664b(0x1c3)],'label':_0xf7d6ad,'selectionsCommandId':_0x3a4044[_0x27664b(0x355)]['id'],'selections':_0x2bd368['map'](({icon:_0x4f62bb,label:_0x1e12e9,value:_0x1f635d})=>({'value':_0x1f635d,'label':_0x1e12e9,'icon':_0x4f62bb,'params':()=>{const _0x3b5a95=_0x27664b;let _0x335f9d=_0x5e13ed(_0x48edc3);return _0x335f9d?{'unitId':_0x335f9d[_0x3b5a95(0x2aa)],'subUnitId':_0x335f9d[_0x3b5a95(0x189)],'drawings':[{'unitId':_0x335f9d[_0x3b5a95(0x2aa)],'subUnitId':_0x335f9d['subUnitId'],'drawingId':_0x335f9d[_0x3b5a95(0x140)]}],'wrappingStyle':_0x1f635d}:void 0x0;}})),'value$':_0x5e11a1(_0x48edc3),'hidden$':_0x1dfc26(_0x48edc3)};}function _0x3b83d6(_0x2ffc1a,_0x2a90c3,_0x2ab150,_0x3e23ef){const _0x4e4216=_0x1f6723;return _0x1309fd=>({'id':_0x2ffc1a,'commandId':_0x3a4044[_0x4e4216(0x3f0)]['id'],'type':_0x342c24[_0x4e4216(0x1fa)]['BUTTON'],'icon':_0x2ab150,'title':_0x3e23ef,'tooltip':_0x3e23ef,'hidden$':_0x1dfc26(_0x1309fd),'params':()=>{const _0x22cd00=_0x4e4216;let _0x4597a0=_0x5e13ed(_0x1309fd);return _0x4597a0?{'unitId':_0x4597a0[_0x22cd00(0x2aa)],'subUnitId':_0x4597a0['subUnitId'],'drawingIds':[_0x4597a0[_0x22cd00(0x140)]],'arrangeType':_0x2a90c3}:void 0x0;}});}let _0x4da1fe=_0x3b83d6(_0xa55cd7,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x224)],_0x1f6723(0x197),_0x1f6723(0x3b7)),_0x3d27a1=_0x3b83d6(_0x4274b4,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x317)],_0x1f6723(0x3d4),'shape-editor-ui.arrange.backward'),_0xb4db3a=_0x3b83d6(_0x19a469,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x465)],_0x1f6723(0x20e),_0x1f6723(0x329)),_0xd4ba5d=_0x3b83d6(_0x5eaac0,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x474)],_0x1f6723(0x34c),'shape-editor-ui.arrange.back');function _0x13213f(_0x13da5d){const _0x3b7202=_0x1f6723;return{'id':_0x344cfa['id'],'type':_0x342c24[_0x3b7202(0x1fa)][_0x3b7202(0x12e)],'icon':_0x3b7202(0x3dc),'title':'docs-shape-ui.formatShape','tooltip':'docs-shape-ui.formatShape','hidden$':_0x1dfc26(_0x13da5d),'params':()=>{const _0x38dc5b=_0x3b7202;let _0x2fe8e4=_0x5e13ed(_0x13da5d);return _0x2fe8e4?{'unitId':_0x2fe8e4[_0x38dc5b(0x2aa)],'subUnitId':_0x2fe8e4[_0x38dc5b(0x189)],'drawingId':_0x2fe8e4[_0x38dc5b(0x140)]}:void 0x0;}};}let _0x4f740a={[_0x342c24[_0x1f6723(0x400)][_0x1f6723(0x437)]]:{[_0x4008c0]:{'order':0x64,'title':_0x1f6723(0x309),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x155dac['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3d50a1},[_0x1317e1['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xf45f2}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x5be356]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4e9fab}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x16971b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x53d1a5}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5e39c1]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5c0eb5},[_0xa55cd7]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4da1fe},[_0x4274b4]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x3d27a1},[_0x19a469]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0xb4db3a},[_0x5eaac0]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0xd4ba5d}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2171c5]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x2f6eaa}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x344cfa['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x13213f},[_0x257c32['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x257c32['ShapeFloatingToolbarToggleFactory']}}}}},_0x44179d={[_0x342c24[_0x1f6723(0x244)][_0x1f6723(0x2ca)]]:{[_0x171f92['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2cb1af=>({..._0x16e6f5(_0x2cb1af),'title':void 0x0})}},[_0x342c24[_0x1f6723(0x244)][_0x1f6723(0x210)]]:{[_0x57f7a8['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2c4093}},[_0x342c24[_0x1f6723(0x228)][_0x1f6723(0x196)]]:{[_0x342c24['ContextMenuGroup'][_0x1f6723(0x281)]]:{[_0x33827d[_0x1f6723(0x47a)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x273fd0}}},[_0x33827d[_0x1f6723(0x4ad)]]:{[_0x342c24[_0x1f6723(0x11b)][_0x1f6723(0x281)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x273fd0}}},[_0x33827d[_0x1f6723(0x27a)]]:{[_0x342c24[_0x1f6723(0x11b)][_0x1f6723(0x281)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x62066}}},[_0x33827d[_0x1f6723(0x375)]]:{'insert':{[_0x171f92['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x16e6f5}}},[_0x33827d[_0x1f6723(0x26c)]]:{'insert':{[_0x171f92['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x273fd0}}}}};var _0x2a39c7=_0x1f6723(0x209),_0x23b802='1.0.4';let _0x4fb5aa={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'id':_0x1f6723(0x2bf),'handler'(){return!0x0;}},_0x49f7b9=_0x1f6723(0x271),_0x1b5005={};function _0x20c52f(_0x1bfac4){'@babel/helpers - typeof';const _0x488d7e=_0x1f6723;return _0x20c52f=typeof Symbol==_0x488d7e(0x1f2)&&typeof Symbol[_0x488d7e(0x339)]=='symbol'?function(_0x4b077d){return typeof _0x4b077d;}:function(_0x18fea4){const _0x391b2a=_0x488d7e;return _0x18fea4&&typeof Symbol=='function'&&_0x18fea4['constructor']===Symbol&&_0x18fea4!==Symbol[_0x391b2a(0x2b3)]?'symbol':typeof _0x18fea4;},_0x20c52f(_0x1bfac4);}function _0x19fd1e(_0x937221,_0x2d42df){const _0x614237=_0x1f6723;if(_0x20c52f(_0x937221)!='object'||!_0x937221)return _0x937221;var _0xb5d978=_0x937221[Symbol[_0x614237(0x2de)]];if(_0xb5d978!==void 0x0){var _0x1210cd=_0xb5d978['call'](_0x937221,_0x2d42df||'default');if(_0x20c52f(_0x1210cd)!='object')return _0x1210cd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d42df===_0x614237(0x2e5)?String:Number)(_0x937221);}function _0x385986(_0x46a22f){const _0x129cdc=_0x1f6723;var _0x44a4e1=_0x19fd1e(_0x46a22f,_0x129cdc(0x2e5));return _0x20c52f(_0x44a4e1)=='symbol'?_0x44a4e1:_0x44a4e1+'';}function _0x6a547(_0x1e8eaf,_0x5bd8ad,_0x5a24bc){return(_0x5bd8ad=_0x385986(_0x5bd8ad))in _0x1e8eaf?Object['defineProperty'](_0x1e8eaf,_0x5bd8ad,{'value':_0x5a24bc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e8eaf[_0x5bd8ad]=_0x5a24bc,_0x1e8eaf;}var _0x218868=class extends _0x1126ec[_0x1f6723(0x1cf)]{constructor(_0x4b2404,_0x5b5cfc){const _0x5ce2a0=_0x1f6723;super(_0x4b2404,_0x5b5cfc),_0x6a547(this,_0x5ce2a0(0x34e),null),_0x6a547(this,_0x5ce2a0(0x149),null),_0x6a547(this,_0x5ce2a0(0x42d),null),_0x6a547(this,_0x5ce2a0(0x3cf),null),_0x5b5cfc&&this[_0x5ce2a0(0x124)](_0x5b5cfc);}[_0x1f6723(0x256)](){const _0x55f7aa=_0x1f6723;return{'unitId':this['_unitId'],'subUnitId':this[_0x55f7aa(0x3cf)],'drawingId':this[_0x55f7aa(0x34e)]};}[_0x1f6723(0x124)](_0x26bfe7){const _0x70a422=_0x1f6723;_0x26bfe7[_0x70a422(0x36e)]!==void 0x0&&(this[_0x70a422(0x34e)]=_0x26bfe7[_0x70a422(0x36e)]),_0x26bfe7[_0x70a422(0x145)]!==void 0x0&&(this[_0x70a422(0x149)]=_0x26bfe7[_0x70a422(0x145)]),_0x26bfe7[_0x70a422(0x2aa)]!==void 0x0&&(this['_unitId']=_0x26bfe7[_0x70a422(0x2aa)]),_0x26bfe7['subUnitId']!==void 0x0&&(this[_0x70a422(0x3cf)]=_0x26bfe7[_0x70a422(0x189)]),this[_0x70a422(0x18d)]({'width':_0x26bfe7[_0x70a422(0x258)],'height':_0x26bfe7[_0x70a422(0x3a9)]});}[_0x1f6723(0x1d5)](_0xec4086){const _0x572f10=_0x1f6723;_0x1126ec['Circle'][_0x572f10(0x417)](_0xec4086,{'radius':_0x2bd245[_0x572f10(0x490)][_0x572f10(0x186)],'fill':_0x2bd245['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x2bd245[_0x572f10(0x490)][_0x572f10(0x1b5)],'strokeWidth':0x1,'evented':!0x0});}};function _0x5a61c0(_0x4ded78,_0x4dddcc,_0xa864be){const _0x22af28=_0x1f6723;let _0x5e3a7b={..._0x4dddcc,'dataModel':{..._0x4dddcc['dataModel']??{},..._0xa864be?{'doc':_0xa864be}:null}},_0x1b1196=(0x0,_0x257c32[_0x22af28(0x3c6)])(_0x4ded78,_0x5e3a7b),_0x38341a=(0x0,_0x257c32[_0x22af28(0x2ea)])(_0x1b1196);return{'clip':(0x0,_0x257c32[_0x22af28(0x173)])(_0x1b1196,_0x38341a),'wrapStrategy':_0x38341a};}var _0x229152=class extends _0x1126ec[_0x1f6723(0x1cf)]{constructor(_0x5d8bdb,_0x497814){const _0x59843c=_0x1f6723;super(_0x5d8bdb,_0x497814),_0x6a547(this,_0x59843c(0x3c2),[]),_0x6a547(this,_0x59843c(0x236),void 0x0),_0x6a547(this,_0x59843c(0x388),new _0x257c32[(_0x59843c(0x192))](()=>this['makeDirty'](!0x0),()=>this[_0x59843c(0x1cc)]())),_0x6a547(this,_0x59843c(0x22d),!0x0),_0x6a547(this,_0x59843c(0x413),_0x179bf7[_0x59843c(0x121)][_0x59843c(0x29c)]),_0x6a547(this,_0x59843c(0x15e),!0x0),this[_0x59843c(0x236)]={..._0x497814},this[_0x59843c(0x388)][_0x59843c(0x357)](_0x497814['formulaPresentation'],_0x497814[_0x59843c(0x16d)]!==!0x1),this['_init'](),this[_0x59843c(0x1cc)]();}[_0x1f6723(0x22e)](){const _0x33e5f3=_0x1f6723;this[_0x33e5f3(0x240)][_0x33e5f3(0x176)](_0xc9015b=>{const _0x1ff10b=_0x33e5f3;this[_0x1ff10b(0x278)](_0xc9015b);});}['setPrstGeom'](_0x48229c){const _0x3fd1ef=_0x1f6723;this[_0x3fd1ef(0x236)][_0x3fd1ef(0x342)]=_0x48229c;}['resolveHyperLinkAt'](_0x1bb74d){const _0xba097d=_0x1f6723;if(this['_props'][_0xba097d(0x331)])return null;let _0x4688d3=this[_0xba097d(0x2a4)](_0x1bb74d),{width:_0x193b62,height:_0x31d767}=this[_0xba097d(0x3b9)]();return(0x0,_0x257c32[_0xba097d(0x1d0)])(this[_0xba097d(0x3c2)],{'x':(this[_0xba097d(0x3c9)]?-_0x4688d3['x']:_0x4688d3['x'])+_0x193b62/0x2,'y':_0x4688d3['y']+_0x31d767/0x2});}[_0x1f6723(0x11e)](_0x6b6aff){const _0x48478c=_0x1f6723;this[_0x48478c(0x236)][_0x48478c(0x331)]=_0x6b6aff,this[_0x48478c(0x402)](!0x0);}[_0x1f6723(0x2c3)](_0x5c9de8,_0x5557b5=!0x0){const _0x462735=_0x1f6723;this[_0x462735(0x388)][_0x462735(0x357)](_0x5c9de8,_0x5557b5),this[_0x462735(0x236)][_0x462735(0x276)]=_0x5c9de8,this[_0x462735(0x1cc)](),this[_0x462735(0x402)](!0x0);}[_0x1f6723(0x1cc)](){const _0x33dcde=_0x1f6723;let _0xc84911=this[_0x33dcde(0x236)][_0x33dcde(0x39a)],_0x1e6df5=_0xc84911[_0x33dcde(0x28c)](),_0x20c1fe=(0x0,_0x257c32[_0x33dcde(0x415)])(_0x1e6df5==null?void 0x0:_0x1e6df5[_0x33dcde(0x2bc)]),_0x1e664f=_0x20c1fe==null?void 0x0:_0x20c1fe['doc'],_0x2d020c=this[_0x33dcde(0x388)][_0x33dcde(0x3ab)]();if(!_0x1e664f||_0x2d020c[_0x33dcde(0x231)]===0x0)return;_0xc84911[_0x33dcde(0x353)]({'width':this['width'],'height':this[_0x33dcde(0x3a9)]});let _0x29ce80=(0x0,_0x257c32[_0x33dcde(0x2e3)])({'documentData':_0x2d020c[_0x33dcde(0x35f)](_0xdc6f1c=>(0x0,_0x198678[_0x33dcde(0x29f)])(_0x1e664f,_0xdc6f1c)),'height':this[_0x33dcde(0x3a9)],'shapeData':_0xc84911[_0x33dcde(0x4a3)](),'textRect':_0xc84911['getShapeTextRect']({'left':0x0,'top':0x0,'width':this['width'],'height':this['height']}),'width':this[_0x33dcde(0x258)]});if(_0x29ce80){var _0x3af3eb;this['resize'](_0x29ce80[_0x33dcde(0x258)],_0x29ce80[_0x33dcde(0x3a9)]),(_0x3af3eb=this[_0x33dcde(0x39c)]())==null||(_0x3af3eb=_0x3af3eb[_0x33dcde(0x3d5)]())==null||_0x3af3eb[_0x33dcde(0x3e6)]();}}get['unitId'](){const _0x3ef901=_0x1f6723;return this['_props'][_0x3ef901(0x2aa)];}get[_0x1f6723(0x189)](){const _0x1fc21d=_0x1f6723;return this[_0x1fc21d(0x236)]['subUnitId'];}['_updateSrcRectByTransform'](_0x49e3f2){const _0x938b79=_0x1f6723;if(this[_0x938b79(0x236)][_0x938b79(0x37f)]==null||!this[_0x938b79(0x22d)])return;let {width:_0x482d4b,height:_0x30db50}=this,{width:_0x18da6f=0x0,height:_0x4f5655=0x0}=_0x49e3f2[_0x938b79(0x233)],{left:_0x430185=0x0,top:_0x3f363c=0x0,right:_0x1bafee=0x0,bottom:_0x4f333d=0x0}=this[_0x938b79(0x236)][_0x938b79(0x37f)],_0x2b0dae=_0x430185,_0x213685=_0x3f363c,_0x2d56a9=_0x1bafee,_0x47fcfa=_0x4f333d,_0x119480=!0x1;if(_0x18da6f!==0x0&&_0x18da6f!==_0x482d4b){let _0x117a33=_0x430185/_0x18da6f,_0x55347f=_0x1bafee/_0x18da6f;_0x2b0dae=_0x482d4b*_0x117a33,_0x2d56a9=_0x482d4b*_0x55347f,_0x119480=!0x0;}if(_0x4f5655!==0x0&&_0x4f5655!==_0x30db50){let _0x22df25=_0x3f363c/_0x4f5655,_0x4f79c4=_0x4f333d/_0x4f5655;_0x213685=_0x30db50*_0x22df25,_0x47fcfa=_0x30db50*_0x4f79c4,_0x119480=!0x0;}_0x119480&&this['setSrcRect']({'left':_0x2b0dae,'top':_0x213685,'right':_0x2d56a9,'bottom':_0x47fcfa});}[_0x1f6723(0x153)](_0x360297){const _0x3a08fc=_0x1f6723;this[_0x3a08fc(0x236)][_0x3a08fc(0x37f)]=_0x360297,this[_0x3a08fc(0x402)](!0x0);}[_0x1f6723(0x482)](_0x10f701){const _0x2a1201=_0x1f6723;this[_0x2a1201(0x236)][_0x2a1201(0x494)]=_0x10f701,this['makeDirty'](!0x0);}set['transform'](_0x20a506){this['_transform']=_0x20a506;}get[_0x1f6723(0x182)](){const _0x488124=_0x1f6723;this[_0x488124(0x20f)]||this[_0x488124(0x335)]();let _0x4a6ede=this[_0x488124(0x20f)]['clone']();return this[_0x488124(0x406)](_0x4a6ede);}get[_0x1f6723(0x39a)](){const _0x20debf=_0x1f6723;return this[_0x20debf(0x236)][_0x20debf(0x39a)];}get[_0x1f6723(0x36e)](){const _0x35a436=_0x1f6723;return this[_0x35a436(0x236)][_0x35a436(0x36e)];}get['classType'](){const _0x4bcf10=_0x1f6723;return _0x1126ec['RENDER_CLASS_TYPE'][_0x4bcf10(0x314)];}[_0x1f6723(0x1d5)](_0x470cd0,_0x3aff61,_0x323522,_0x356d87){const _0x3218ba=_0x1f6723;let _0x341556=this[_0x3218ba(0x236)][_0x3218ba(0x39a)];if(!_0x341556||!_0x3aff61)return;let _0x1849e1=_0x323522??this[_0x3218ba(0x258)],_0x88c7bc=_0x356d87??this[_0x3218ba(0x3a9)],_0x53578b={'shapeType':_0x341556['getShapeType'](),'width':_0x1849e1,'height':_0x88c7bc},_0x18f6b4={'renderMode':_0x2bd245['ShapeRenderModeEnum'][_0x3218ba(0x47b)],'oKey':this[_0x3218ba(0x377)],'image':this['_props']['image'],'angle':this[_0x3218ba(0x38f)]};_0x341556['updateContext'](_0x53578b),_0x470cd0['save']();let _0x503a79={'top':0x0,'left':0x0,'width':_0x1849e1,'height':_0x88c7bc},_0xd42053=_0x341556[_0x3218ba(0x469)](_0x503a79);_0xd42053?this[_0x3218ba(0x292)](_0x470cd0,_0xd42053,_0x9e1423=>{_0x341556['render'](_0x9e1423,_0x503a79,_0x18f6b4);}):(this[_0x3218ba(0x472)](),_0x341556[_0x3218ba(0x2b8)](_0x470cd0,_0x503a79,_0x18f6b4)),_0x470cd0[_0x3218ba(0x485)]();let _0x2496de=_0x341556[_0x3218ba(0x28c)](),_0x45547a=_0x341556[_0x3218ba(0x2a3)](_0x503a79),_0x3aa834=_0x341556[_0x3218ba(0x368)]();if(_0x2496de&&_0x45547a&&!_0x3aa834){_0x470cd0[_0x3218ba(0x4aa)](),this[_0x3218ba(0x320)]()[_0x3218ba(0x3c9)]&&_0x470cd0[_0x3218ba(0x261)](-0x1,0x1);let _0x53e547=_0x1849e1/0x2,_0x35422b=_0x88c7bc/0x2;_0x470cd0[_0x3218ba(0x1ab)](-_0x53e547,-_0x35422b),_0x470cd0[_0x3218ba(0x1f5)](),this[_0x3218ba(0x2db)](_0x470cd0,_0x2496de,_0x45547a),_0x470cd0[_0x3218ba(0x485)]();}}[_0x1f6723(0x38b)](_0x3b9113){}[_0x1f6723(0x2db)](_0x3ceaca,_0x4637dd,_0x578bbc){const _0x3c6ffa=_0x1f6723;var _0x1f66de;this[_0x3c6ffa(0x3c2)]=[],!this[_0x3c6ffa(0x236)][_0x3c6ffa(0x331)]&&(!((_0x1f66de=_0x4637dd[_0x3c6ffa(0x2bc)])!=null&&_0x1f66de[_0x3c6ffa(0x3a0)])&&_0x3c6ffa(0x319)in _0x4637dd&&_0x4637dd['isRichText']===!0x1?this[_0x3c6ffa(0x31f)](_0x3ceaca,_0x4637dd,_0x578bbc):this['_drawRichText'](_0x3ceaca,_0x4637dd,_0x578bbc));}['_drawSimpleText'](_0x30a758,_0x467c99,_0x11e633){const _0x3ca968=_0x1f6723;this[_0x3ca968(0x162)](_0x30a758,{..._0x467c99,'text':_0x467c99[_0x3ca968(0x201)]??'','dataModel':{'doc':(0x0,_0x257c32['plainShapeTextToDocumentData'])(_0x467c99,_0x3ca968(0x1ba)+this['oKey'])}},_0x11e633);}[_0x1f6723(0x162)](_0xd836a5,_0x304578,_0x3e8c0a){const _0xedf35a=_0x1f6723;(0x0,_0x257c32['drawFormulaShapeAnimationLayers'])(_0xd836a5,this[_0xedf35a(0x388)],(_0x51fb81,_0x13f93d,_0x16acb3)=>{const _0x162c52=_0xedf35a;this['_drawRichTextLayer'](_0x51fb81,_0x304578,_0x3e8c0a,_0x13f93d,_0x16acb3===_0x162c52(0x35c));});}[_0x1f6723(0x150)](_0x1204a6,_0x43ef59,_0x4fb523,_0x1f2e41,_0x394eb0){const _0x27ac54=_0x1f6723;let _0x571a71=this[_0x27ac54(0x236)][_0x27ac54(0x48e)];if(!_0x43ef59[_0x27ac54(0x2bc)]||!_0x571a71){_0x571a71||console[_0x27ac54(0x405)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0xd79788=(0x0,_0x257c32[_0x27ac54(0x415)])(_0x43ef59[_0x27ac54(0x2bc)]);if(!_0xd79788)return;let _0x39026a=_0xd79788['doc'];if(!_0x39026a)return;let _0x161d56=(0x0,_0x198678[_0x27ac54(0x29f)])(_0x39026a,_0x1f2e41),_0x487302=_0xd79788['va']??_0x179bf7[_0x27ac54(0x3c8)]['TOP'],_0x4c6178=_0xd79788['ha']??_0x179bf7[_0x27ac54(0x1f9)][_0x27ac54(0x410)],_0x49108d=_0x5a61c0(this[_0x27ac54(0x236)][_0x27ac54(0x39a)]['getShapeData'](),_0x43ef59,_0x161d56),_0x33c117=_0x43ef59[_0x27ac54(0x220)],_0x294f06=(0x0,_0x257c32['prepareShapeTextDocumentData'])(_0x161d56,{'isHorizontal':_0x33c117!==!0x1,'textRect':_0x4fb523,'verticalAlign':_0x487302,'horizontalAlign':_0x4c6178,'wrapStrategy':_0x49108d[_0x27ac54(0x433)]}),_0x25068c=new _0x179bf7['DocumentDataModel'](_0x294f06),_0x3deb39=new _0x1126ec[(_0x27ac54(0x33e))](_0x25068c),_0x9e2aff=_0x1126ec[_0x27ac54(0x3f7)][_0x27ac54(0x38c)](_0x3deb39,_0x571a71);_0x9e2aff[_0x27ac54(0x129)]();let _0x225fe4=_0x9e2aff[_0x27ac54(0x409)]()['actualHeight'],_0x1be888=(0x0,_0x257c32['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x225fe4,'verticalAlign':_0x487302,'viewportHeight':_0x4fb523[_0x27ac54(0x3a9)]});_0x25068c[_0x27ac54(0x25a)]({'pageSize':{'width':_0x33c117===!0x1?_0x4fb523[_0x27ac54(0x3a9)]:_0x4fb523['width'],'height':(0x0,_0x257c32['resolveShapeTextDocumentPageHeight'])(_0x161d56,_0x1be888[_0x27ac54(0x434)])}}),_0x25068c[_0x27ac54(0x2c4)]({'t':_0x1be888[_0x27ac54(0x13e)]}),_0x9e2aff[_0x27ac54(0x129)]();let _0x5e189e=new _0x1126ec[(_0x27ac54(0x19a))](_0x27ac54(0x30e)+this[_0x27ac54(0x377)],_0x9e2aff,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x27ac54(0x402)](!0x0)});_0x5e189e[_0x27ac54(0x445)](_0x4fb523['width'],_0x1be888['contentHeight']),_0x1204a6['save'](),_0x1204a6[_0x27ac54(0x3bc)](_0x4fb523[_0x27ac54(0x3ec)],_0x4fb523[_0x27ac54(0x130)]),_0x49108d[_0x27ac54(0x454)]&&(_0x1204a6[_0x27ac54(0x1f5)](),_0x1204a6[_0x27ac54(0x4b5)](0x0,_0x1be888[_0x27ac54(0x374)],_0x4fb523['width'],_0x1be888[_0x27ac54(0x39d)]),_0x1204a6[_0x27ac54(0x454)]()),_0x1be888[_0x27ac54(0x27f)]&&_0x1204a6[_0x27ac54(0x3bc)](0x0,_0x1be888[_0x27ac54(0x27f)]),_0x5e189e[_0x27ac54(0x2c5)](_0x1204a6),_0x394eb0&&(this[_0x27ac54(0x3c2)]=(0x0,_0x257c32['createShapeTextHyperLinkRegions'])(_0x5e189e,{'left':_0x4fb523[_0x27ac54(0x3ec)],'top':_0x4fb523['top']+_0x1be888[_0x27ac54(0x27f)]},_0x49108d[_0x27ac54(0x454)]?{'left':_0x4fb523[_0x27ac54(0x3ec)],'right':_0x4fb523['left']+_0x4fb523['width'],'top':_0x4fb523[_0x27ac54(0x130)]+_0x1be888[_0x27ac54(0x374)],'bottom':_0x4fb523[_0x27ac54(0x130)]+_0x1be888['clipTop']+_0x1be888['clipHeight']}:void 0x0)),_0x1204a6[_0x27ac54(0x485)](),_0x5e189e[_0x27ac54(0x2ba)](),_0x9e2aff[_0x27ac54(0x2ba)](),_0x3deb39[_0x27ac54(0x2ba)](),_0x25068c[_0x27ac54(0x2ba)]();}[_0x1f6723(0x2b8)](_0x8093c1,_0x54b28c,_0x36ecdc=!0x1){const _0x5d6aa2=_0x1f6723;if(!this['visible'])return this[_0x5d6aa2(0x402)](!0x1),this;let {width:_0x79363a,height:_0x45c8fb,left:_0xf9e69f,top:_0x9498ef}=this,_0x5de6a4=this[_0x5d6aa2(0x3b9)]();if(_0x79363a=_0x5de6a4[_0x5d6aa2(0x258)],_0x45c8fb=_0x5de6a4['height'],_0xf9e69f=_0x5de6a4[_0x5d6aa2(0x3ec)],_0x9498ef=_0x5de6a4[_0x5d6aa2(0x130)],this['isRender'](_0x54b28c)){let {top:_0x1d9d0d,left:_0x5ae0da,bottom:_0x55800a,right:_0x4a0c46}=_0x54b28c[_0x5d6aa2(0x3da)];if(_0x79363a+this[_0x5d6aa2(0x366)]+_0xf9e69f<_0x5ae0da||_0x4a0c46<_0xf9e69f||_0x45c8fb+this['strokeWidth']+_0x9498ef<_0x1d9d0d||_0x55800a<_0x9498ef)return this;}let _0x1ee40a=_0xf9e69f+_0x79363a/0x2,_0x1b6257=_0x9498ef+_0x45c8fb/0x2,_0x94b000=this['transform'][_0x5d6aa2(0x1c1)]();if(this[_0x5d6aa2(0x236)][_0x5d6aa2(0x331)]){let _0x2693ed=this['getState'](),_0x73ccf9=new _0x1126ec[(_0x5d6aa2(0x46e))]();_0x73ccf9['composeMatrix']({..._0x2693ed}),_0x94b000=_0x73ccf9[_0x5d6aa2(0x1c1)]();}return _0x8093c1[_0x5d6aa2(0x4aa)](),this[_0x5d6aa2(0x236)][_0x5d6aa2(0x39a)][_0x5d6aa2(0x343)]===!0x0||_0x8093c1['transform'](_0x94b000[0x0],_0x94b000[0x1],_0x94b000[0x2],_0x94b000[0x3],_0x1ee40a,_0x1b6257),this[_0x5d6aa2(0x1d5)](_0x8093c1,_0x54b28c,_0x79363a,_0x45c8fb),_0x8093c1[_0x5d6aa2(0x485)](),this['makeDirty'](!0x1),this;}[_0x1f6723(0x2a4)](_0x19cb9f){const _0x5c4f2e=_0x1f6723;let {left:_0x41df11,top:_0x1c2b6e,width:_0x2c526c,height:_0x249a56}=this['getRealBound'](),_0x5c08bd=this['transform'][_0x5c4f2e(0x1c1)](),_0x370632=_0x41df11+_0x2c526c/0x2,_0x34291f=_0x1c2b6e+_0x249a56/0x2,_0x3489a9=new _0x1126ec[(_0x5c4f2e(0x46e))]([_0x5c08bd[0x0],_0x5c08bd[0x1],_0x5c08bd[0x2],_0x5c08bd[0x3],_0x370632,_0x34291f]),_0x2c4948=this[_0x5c4f2e(0x21c)]();return(this['isInGroup']&&(_0x2c4948==null?void 0x0:_0x2c4948['classType'])===_0x1126ec[_0x5c4f2e(0x394)][_0x5c4f2e(0x16f)]?_0x2c4948[_0x5c4f2e(0x44e)]['multiply'](_0x3489a9):_0x3489a9)[_0x5c4f2e(0x167)]()[_0x5c4f2e(0x1df)](_0x19cb9f);}[_0x1f6723(0x2d4)](_0x3e422c){const _0x3080d4=_0x1f6723;let {left:_0xded83,top:_0x58113a,width:_0x829b27,height:_0x3ebebf}=this[_0x3080d4(0x3b9)](),_0x250c83=_0xded83+_0x829b27/0x2,_0xe16a93=_0x58113a+_0x3ebebf/0x2,_0x6fd8e7=this[_0x3080d4(0x182)][_0x3080d4(0x1c1)](),_0x327ceb=new _0x1126ec[(_0x3080d4(0x46e))]([_0x6fd8e7[0x0],_0x6fd8e7[0x1],_0x6fd8e7[0x2],_0x6fd8e7[0x3],_0x250c83,_0xe16a93]),_0x3480cc=this[_0x3080d4(0x21c)](),_0x46caf4=(this[_0x3080d4(0x204)]&&(_0x3480cc==null?void 0x0:_0x3480cc[_0x3080d4(0x1fd)])===_0x1126ec[_0x3080d4(0x394)][_0x3080d4(0x16f)]?_0x3480cc[_0x3080d4(0x44e)][_0x3080d4(0x3d2)](_0x327ceb):_0x327ceb)[_0x3080d4(0x167)]()['applyPoint'](_0x3e422c),_0x3e6921=_0x829b27/0x2,_0x31c9b3=_0x3ebebf/0x2,_0x3f562b=this[_0x3080d4(0x236)][_0x3080d4(0x39a)];return _0x3f562b&&_0x3f562b['isLineShape']()?_0x3f562b['isHitLine'](_0x46caf4['x'],_0x46caf4['y'],_0x829b27,_0x3ebebf):_0x46caf4['x']>=-_0x3e6921-this[_0x3080d4(0x366)]/0x2&&_0x46caf4['x']<=_0x3e6921+this[_0x3080d4(0x366)]/0x2&&_0x46caf4['y']>=-_0x31c9b3-this[_0x3080d4(0x366)]/0x2&&_0x46caf4['y']<=_0x31c9b3+this[_0x3080d4(0x366)]/0x2;}[_0x1f6723(0x2ba)](){const _0x4afa4a=_0x1f6723;this[_0x4afa4a(0x388)][_0x4afa4a(0x2ba)](),this['_props'][_0x4afa4a(0x39a)]=null,super['dispose']();}};let _0x32a51d=class extends _0x179bf7['Disposable']{constructor(_0x44e7f9,_0x501c16,_0x238ecd,_0x2b96fc){const _0x29bec0=_0x1f6723;super(),this['_context']=_0x44e7f9,this[_0x29bec0(0x41e)]=_0x501c16,this[_0x29bec0(0x4ae)]=_0x238ecd,this[_0x29bec0(0x213)]=_0x2b96fc,_0x6a547(this,_0x29bec0(0x360),null),_0x6a547(this,_0x29bec0(0x42d),null),_0x6a547(this,_0x29bec0(0x3cf),null),_0x6a547(this,'_activeShapeAdjustPointList',void 0x0),_0x6a547(this,_0x29bec0(0x11d),[]),_0x6a547(this,_0x29bec0(0x118),0x0),_0x6a547(this,_0x29bec0(0x24a),0x0),_0x6a547(this,'_baseShapeWidth',0x0),_0x6a547(this,_0x29bec0(0x218),0x0),_0x6a547(this,_0x29bec0(0x3ed),!0x1),_0x6a547(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x6a547(this,_0x29bec0(0x17d),void 0x0),_0x6a547(this,_0x29bec0(0x23a),void 0x0),_0x6a547(this,_0x29bec0(0x152),void 0x0),_0x6a547(this,_0x29bec0(0x36c),void 0x0),this[_0x29bec0(0x49c)](),this[_0x29bec0(0x11a)]();}[_0x1f6723(0x15f)](){const _0x1de2ed=_0x1f6723;this[_0x1de2ed(0x486)]();}[_0x1f6723(0x412)](){const _0x2700db=_0x1f6723;this[_0x2700db(0x24f)](!0x0);}[_0x1f6723(0x1da)](_0x3e386b,_0x64f0a1,_0x3c704a){const _0x38385d=_0x1f6723;var _0x55936f;return(_0x55936f=this[_0x38385d(0x4ae)][_0x38385d(0x21b)](_0x3e386b,_0x64f0a1,_0x3c704a))==null?void 0x0:_0x55936f[_0x38385d(0x38b)]();}[_0x1f6723(0x275)](_0x27dea9,_0xc78acc,_0x368385,_0x5368a6){const _0x50bf01=_0x1f6723;var _0x5db0e0;return(_0x5db0e0=this['_docsShapeService'][_0x50bf01(0x21b)](_0x27dea9,_0xc78acc,_0x368385))==null?void 0x0:_0x5db0e0[_0x50bf01(0x475)](_0x5368a6);}[_0x1f6723(0x464)](){const _0xa1181f=_0x1f6723;return this[_0xa1181f(0x42d)]===null||this[_0xa1181f(0x3cf)]===null||this[_0xa1181f(0x360)]===null?null:this['_drawingManagerService'][_0xa1181f(0x235)]({'unitId':this[_0xa1181f(0x42d)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})??null;}[_0x1f6723(0x1b0)](_0x366cc1){const _0x218f1c=_0x1f6723;if(this[_0x218f1c(0x42d)]===null||this[_0x218f1c(0x3cf)]===null||this['_activeShapeId']===null)return null;let _0x2e4bce=(0x0,_0x567d02[_0x218f1c(0x1e8)])({'unitId':this[_0x218f1c(0x42d)],'subUnitId':this[_0x218f1c(0x3cf)],'drawingId':this[_0x218f1c(0x360)]}),_0x2d02e7=_0x366cc1['getObjectIncludeInGroup'](_0x2e4bce);return _0x2d02e7 instanceof _0x229152?_0x2d02e7:null;}[_0x1f6723(0x295)](_0x585789=!0x1){const _0x4c2538=_0x1f6723;if(this[_0x4c2538(0x42d)]===null||this[_0x4c2538(0x3cf)]===null||this[_0x4c2538(0x360)]===null)return;let _0x3ee9e9=this[_0x4c2538(0x464)]();if((_0x3ee9e9==null?void 0x0:_0x3ee9e9[_0x4c2538(0x31a)])!==_0x179bf7[_0x4c2538(0x121)][_0x4c2538(0x29c)]||!_0x3ee9e9[_0x4c2538(0x182)])return;let _0x50e07e=this[_0x4c2538(0x4ae)][_0x4c2538(0x21b)](this[_0x4c2538(0x42d)],this[_0x4c2538(0x3cf)],this[_0x4c2538(0x360)]);if(!_0x50e07e||_0x50e07e[_0x4c2538(0x368)]())return;let {left:_0x3a77f3=0x0,top:_0x18c910=0x0,width:_0xa89cd=0x0,height:_0x1e6cad=0x0,flipX:_0x342a8b,flipY:_0x3f1080,angle:_0x4b42cf=0x0}=_0x3ee9e9['transform'];(_0x585789||!this[_0x4c2538(0x1b6)])&&(_0x50e07e[_0x4c2538(0x353)]({'width':_0xa89cd,'height':_0x1e6cad}),this['_activeShapeAdjustPointList']=_0x50e07e['getDrawingPoints']());let _0x4edd25=this[_0x4c2538(0x1b6)];if(!(_0x4edd25!=null&&_0x4edd25[_0x4c2538(0x231)]))return;let {scene:_0x449bab}=this[_0x4c2538(0x364)];for(let _0x211ece of _0x4edd25){let _0x1f928e=this['_toVisualAdjustPoint'](_0x211ece,_0xa89cd,_0x1e6cad,!!_0x342a8b,!!_0x3f1080,_0x4b42cf);this['_addShapeAdjustControl'](_0x449bab,_0x1f928e,_0x1f928e[_0x4c2538(0x145)],_0x3a77f3,_0x18c910,this[_0x4c2538(0x42d)],this[_0x4c2538(0x3cf)]);}}['_toVisualAdjustPoint'](_0x5bce4c,_0x299f12,_0x2e2cb6,_0x5826e6,_0x2b49a8,_0x44351a){const _0x456ccd=_0x1f6723;let _0x5650f0=_0x5bce4c['x'],_0x51f5f0=_0x5bce4c['y'];if(_0x5826e6&&(_0x5650f0=_0x299f12-_0x5650f0),_0x2b49a8&&(_0x51f5f0=_0x2e2cb6-_0x51f5f0),_0x44351a!==0x0){let _0x353df1=_0x299f12/0x2,_0x13058f=_0x2e2cb6/0x2,_0x108395=_0x44351a*Math['PI']/0xb4,_0x31eb3b=Math[_0x456ccd(0x269)](_0x108395),_0x7fc737=Math[_0x456ccd(0x466)](_0x108395),_0x51eadb=_0x5650f0-_0x353df1,_0x2bbe6b=_0x51f5f0-_0x13058f;_0x5650f0=_0x353df1+(_0x51eadb*_0x31eb3b-_0x2bbe6b*_0x7fc737),_0x51f5f0=_0x13058f+(_0x51eadb*_0x7fc737+_0x2bbe6b*_0x31eb3b);}return{'x':_0x5650f0,'y':_0x51f5f0,'adjName':_0x5bce4c[_0x456ccd(0x145)]};}[_0x1f6723(0x24f)](_0x2b5e7e=!0x1){const _0x1f1ce1=_0x1f6723;_0x2b5e7e&&this[_0x1f1ce1(0x486)](),this[_0x1f1ce1(0x295)](_0x2b5e7e);}[_0x1f6723(0x3ef)](_0x24e1a8,_0x48ffc2,_0x2be09c,_0x31503d,_0x49e8e9,_0x300e2f,_0x259abe){const _0x5446af=_0x1f6723;if(!this[_0x5446af(0x360)])return;let _0x1a303e='doc-shape-adjust-point-'+this[_0x5446af(0x360)]+'-'+_0x2be09c,_0x591b9d=_0x24e1a8[_0x5446af(0x457)](_0x1a303e);if(_0x591b9d){_0x591b9d[_0x5446af(0x18d)]({'left':_0x48ffc2['x']+_0x31503d-_0x2bd245['ShapeDefaultConfig'][_0x5446af(0x186)],'top':_0x48ffc2['y']+_0x49e8e9-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]}),_0x591b9d[_0x5446af(0x402)](!0x0);return;}let _0x577668=new _0x218868(_0x1a303e,{'left':_0x48ffc2['x']+_0x31503d-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)],'top':_0x48ffc2['y']+_0x49e8e9-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)],'adjName':_0x2be09c,'shapeId':this[_0x5446af(0x360)],'unitId':_0x300e2f,'subUnitId':_0x259abe,'width':_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]+0x8,'height':_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]+0x8,'zIndex':_0x1126ec[_0x5446af(0x12a)]+0x1,'evented':!0x0});this[_0x5446af(0x11d)]['push'](_0x577668),this[_0x5446af(0x2bb)](_0x577668,_0x24e1a8,_0x2be09c),_0x24e1a8['addObject'](_0x577668,_0x1126ec[_0x5446af(0x12a)]+0x1);}[_0x1f6723(0x486)](){const _0x34030f=_0x1f6723;this['_adjustPointObjects']['forEach'](_0x42fdb6=>_0x42fdb6['dispose']()),this[_0x34030f(0x11d)]=[];}[_0x1f6723(0x420)](){const _0x5c2894=_0x1f6723;this[_0x5c2894(0x295)]();}['_toScenePoint'](_0x191eaf,_0x10562b,_0x3e0bf7){const _0xe5e29c=_0x1f6723;let _0xe911fc=_0x1126ec[_0xe5e29c(0x17b)][_0xe5e29c(0x443)]([_0x10562b,_0x3e0bf7]),_0x484223=_0x191eaf['getActiveViewportByCoord'](_0xe911fc)??_0x191eaf[_0xe5e29c(0x25e)]()[0x0];return(_0x484223==null?void 0x0:_0x484223['transformVector2SceneCoord'](_0xe911fc))??_0xe911fc;}['_attachAdjustEvent'](_0x2ab867,_0x5572da,_0x4f6dd0){const _0x5bda3b=_0x1f6723;this[_0x5bda3b(0x18f)]((0x0,_0x179bf7['toDisposable'])(_0x2ab867['onPointerDown$'][_0x5bda3b(0x176)]((_0x47f148,_0x5db022)=>{const _0x4625c6=_0x5bda3b;var _0x2089f2;let _0x5cff03=_0x2ab867[_0x4625c6(0x256)]();this[_0x4625c6(0x17d)]=this[_0x4625c6(0x275)](_0x5cff03[_0x4625c6(0x2aa)],_0x5cff03[_0x4625c6(0x189)],_0x5cff03[_0x4625c6(0x140)],_0x4f6dd0),this[_0x4625c6(0x23a)]=this['_docsShapeService'][_0x4625c6(0x21b)](_0x5cff03[_0x4625c6(0x2aa)],_0x5cff03[_0x4625c6(0x189)],_0x5cff03[_0x4625c6(0x140)]);let _0x4cf49d=this[_0x4625c6(0x464)](),_0x952bfa=_0x4cf49d==null?void 0x0:_0x4cf49d[_0x4625c6(0x182)];if(!_0x4cf49d||!_0x952bfa||!this['_activeShapeModel'])return;this[_0x4625c6(0x118)]=_0x952bfa[_0x4625c6(0x3ec)]||0x0,this['_baseShapeTop']=_0x952bfa[_0x4625c6(0x130)]||0x0,this[_0x4625c6(0x2f9)]=_0x952bfa[_0x4625c6(0x258)]||0x0,this[_0x4625c6(0x218)]=_0x952bfa['height']||0x0;let _0x267e4b=!!_0x952bfa[_0x4625c6(0x3c9)],_0x5df443=!!_0x952bfa[_0x4625c6(0x36f)],_0x1abf8e=_0x952bfa[_0x4625c6(0x38f)]||0x0,_0x5b9864={...((_0x2089f2=this['_activeAdjustInfo'])==null?void 0x0:_0x2089f2['currentAdjustValues'])??{}};this[_0x4625c6(0x3ed)]=!0x0,_0x5572da['disableObjectsEvent'](),this['_adjHandlerPointerMove']=_0x5572da[_0x4625c6(0x148)][_0x4625c6(0x176)]((_0x4ed1f3,_0x3180d4)=>{const _0x774295=_0x4625c6;var _0x1aa4ca;if(!this[_0x774295(0x3ed)]||!this[_0x774295(0x23a)]||!this[_0x774295(0x17d)])return;_0x5572da[_0x774295(0x30c)](),_0x5572da['setCursor'](_0x1126ec[_0x774295(0x2fe)]['CROSSHAIR']);let _0x3d4a5e=this['_toScenePoint'](_0x5572da,_0x4ed1f3[_0x774295(0x392)],_0x4ed1f3[_0x774295(0x287)]),_0x32b5d3=_0x3d4a5e['x']-this[_0x774295(0x118)],_0x24f48e=_0x3d4a5e['y']-this['_baseShapeTop'];if(_0x1abf8e!==0x0){let _0x58596e=this[_0x774295(0x2f9)]/0x2,_0x17aa29=this[_0x774295(0x218)]/0x2,_0x50fe2f=_0x1abf8e*Math['PI']/0xb4,_0x4d11e5=Math[_0x774295(0x269)](_0x50fe2f),_0x23a97b=Math['sin'](_0x50fe2f),_0x596bb1=_0x32b5d3-_0x58596e,_0x3fe0af=_0x24f48e-_0x17aa29;_0x32b5d3=_0x58596e+(_0x596bb1*_0x4d11e5+_0x3fe0af*_0x23a97b),_0x24f48e=_0x17aa29+(-_0x596bb1*_0x23a97b+_0x3fe0af*_0x4d11e5);}_0x267e4b&&(_0x32b5d3=this[_0x774295(0x2f9)]-_0x32b5d3),_0x5df443&&(_0x24f48e=this['_baseShapeHeight']-_0x24f48e);let _0x45f023={'left':0x0,'top':0x0,'width':this[_0x774295(0x2f9)],'height':this[_0x774295(0x218)]},_0x14c5d5=this[_0x774295(0x23a)][_0x774295(0x3d9)](_0x45f023,{'x':_0x32b5d3,'y':_0x24f48e},this[_0x774295(0x17d)],_0x267e4b,_0x5df443);if(Object['keys'](_0x14c5d5)[_0x774295(0x231)]!==0x0){for(let [_0x4571b8,_0x5b50b1]of Object[_0x774295(0x4b3)](_0x14c5d5))this[_0x774295(0x23a)]['setAdjustValueByName'](_0x4571b8,_0x5b50b1);this['_activeShapeModel'][_0x774295(0x353)]({'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']}),(_0x1aa4ca=this[_0x774295(0x1b0)](_0x5572da))==null||_0x1aa4ca[_0x774295(0x402)](!0x0),this[_0x774295(0x1b6)]=this[_0x774295(0x1da)](_0x5cff03[_0x774295(0x2aa)],_0x5cff03[_0x774295(0x189)],_0x5cff03[_0x774295(0x140)]),this['_updateAdjustControlPositions'](),_0x3180d4[_0x774295(0x147)]();}}),this[_0x4625c6(0x36c)]=_0x5572da[_0x4625c6(0x40e)][_0x4625c6(0x176)]((_0x5db8e0,_0x36ed19)=>{const _0x40224a=_0x4625c6;var _0x26a226,_0x3b225d;(_0x26a226=this[_0x40224a(0x152)])==null||_0x26a226['unsubscribe'](),(_0x3b225d=this[_0x40224a(0x36c)])==null||_0x3b225d[_0x40224a(0x1d4)](),_0x5572da[_0x40224a(0x453)]();let _0x4ed696=this[_0x40224a(0x17d)];if(_0x4ed696&&this[_0x40224a(0x23a)]){let _0x3a1361={};for(let _0x5754ec of Object[_0x40224a(0x313)](_0x4ed696[_0x40224a(0x2d6)])){let _0x5ed792=this['_activeShapeModel']['getAdjustValueByName'](_0x5754ec);_0x5ed792!==void 0x0&&(_0x3a1361[_0x5754ec]=_0x5ed792);}Object['keys'](_0x3a1361)[_0x40224a(0x231)]>0x0&&_0x5a93d6(this['_commandService'],_0x5cff03[_0x40224a(0x2aa)],_0x5cff03['subUnitId'],_0x5cff03[_0x40224a(0x140)],{'oldShapeData':{'adjustValues':_0x5b9864}},{'adjustValues':_0x3a1361});}this[_0x40224a(0x17d)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x40224a(0x3ed)]=!0x1,_0x5572da[_0x40224a(0x1eb)](),_0x36ed19[_0x40224a(0x147)]();}),_0x5db022[_0x4625c6(0x147)]();})));}[_0x1f6723(0x11a)](){const _0x3bd907=_0x1f6723;let {scene:_0x45d10c}=this[_0x3bd907(0x364)],_0x534d52=_0x45d10c[_0x3bd907(0x49d)]();this[_0x3bd907(0x18f)](_0x534d52['changeStart$'][_0x3bd907(0x37a)](_0x5b08f4=>{const _0xc95990=_0x3bd907;this[_0xc95990(0x295)](),_0x5b08f4['objects']!==null&&_0x5b08f4[_0xc95990(0x470)][_0xc95990(0x2b5)]===0x1&&_0x5b08f4[_0xc95990(0x470)]['values']()['next']()[_0xc95990(0x442)]instanceof _0x229152&&(this[_0xc95990(0x3ad)]=!0x0);})),this[_0x3bd907(0x18f)](_0x534d52[_0x3bd907(0x4a8)][_0x3bd907(0x37a)](()=>{const _0x123132=_0x3bd907;this[_0x123132(0x3ad)]&&this[_0x123132(0x486)]();})),this[_0x3bd907(0x18f)](_0x45d10c[_0x3bd907(0x40e)][_0x3bd907(0x176)](()=>{const _0x3145a2=_0x3bd907;this[_0x3145a2(0x3ad)]&&(this[_0x3145a2(0x3ad)]=!0x1,this[_0x3145a2(0x295)]());})),this['disposeWithMe'](_0x534d52[_0x3bd907(0x249)][_0x3bd907(0x37a)](()=>{const _0x24cd5c=_0x3bd907;this['_unitId']&&this[_0x24cd5c(0x3cf)]&&this[_0x24cd5c(0x360)]&&(this[_0x24cd5c(0x1b6)]=this[_0x24cd5c(0x1da)](this[_0x24cd5c(0x42d)],this[_0x24cd5c(0x3cf)],this[_0x24cd5c(0x360)]),this[_0x24cd5c(0x420)]());}));}[_0x1f6723(0x49c)](){const _0x2fa6ea=_0x1f6723;this[_0x2fa6ea(0x18f)](this[_0x2fa6ea(0x213)][_0x2fa6ea(0x2e4)](_0x566645=>{const _0x48c74b=_0x2fa6ea;if(_0x566645['id']!==_0x1d4bf7[_0x48c74b(0x34a)]['id'])return;let {unitId:_0x4955df,shapeId:_0x553b87}=_0x566645['params'];_0x4955df===this[_0x48c74b(0x42d)]&&_0x553b87===this[_0x48c74b(0x360)]&&this[_0x48c74b(0x412)]();})),this[_0x2fa6ea(0x18f)](this['_drawingManagerService']['focus$'][_0x2fa6ea(0x37a)](_0x2e8832=>{const _0xff9b50=_0x2fa6ea;if(_0x2e8832[_0xff9b50(0x231)]===0x1){let _0x3875e1=_0x2e8832[0x0],_0x1134ea=this[_0xff9b50(0x41e)]['getDrawingByParam'](_0x3875e1);if((_0x1134ea==null?void 0x0:_0x1134ea[_0xff9b50(0x31a)])===_0x179bf7[_0xff9b50(0x121)][_0xff9b50(0x29c)]){this[_0xff9b50(0x360)]=_0x3875e1[_0xff9b50(0x140)],this[_0xff9b50(0x42d)]=_0x3875e1[_0xff9b50(0x2aa)],this[_0xff9b50(0x3cf)]=_0x3875e1['subUnitId'],this[_0xff9b50(0x1b6)]=this[_0xff9b50(0x1da)](_0x3875e1['unitId'],_0x3875e1[_0xff9b50(0x189)],_0x3875e1[_0xff9b50(0x140)]),this[_0xff9b50(0x486)](),this[_0xff9b50(0x295)]();return;}}this[_0xff9b50(0x360)]=null,this[_0xff9b50(0x1b6)]=void 0x0,this[_0xff9b50(0x42d)]=null,this['_subUnitId']=null,this[_0xff9b50(0x486)]();})),this[_0x2fa6ea(0x18f)]((0x0,_0x5cf427[_0x2fa6ea(0x283)])(this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x151)],this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x2c2)])[_0x2fa6ea(0x37a)](_0x606422=>{const _0x957f7c=_0x2fa6ea;var _0x412b4b;let _0x4e7923=_0x606422[_0x957f7c(0x237)](_0x5c8503=>_0x5c8503[_0x957f7c(0x140)]===this[_0x957f7c(0x360)]&&_0x5c8503['unitId']===this[_0x957f7c(0x42d)]&&_0x5c8503[_0x957f7c(0x189)]===this[_0x957f7c(0x3cf)]);_0x4e7923&&((_0x412b4b=this[_0x957f7c(0x41e)][_0x957f7c(0x235)](_0x4e7923))==null?void 0x0:_0x412b4b[_0x957f7c(0x31a)])===_0x179bf7[_0x957f7c(0x121)][_0x957f7c(0x29c)]&&this[_0x957f7c(0x24f)](!0x0);})),this['disposeWithMe'](this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x45c)][_0x2fa6ea(0x37a)](_0x33e128=>{const _0x4885b4=_0x2fa6ea;for(let _0x225752 of _0x33e128)this['_activeShapeId']===_0x225752[_0x4885b4(0x140)]&&(this[_0x4885b4(0x360)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4885b4(0x42d)]=null,this[_0x4885b4(0x3cf)]=null,this['_clearShapeAdjustControls']());}));}};_0x32a51d=_0x139e28([_0x23cccd(0x1,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x483)])],_0x32a51d);let _0x1bc893=class extends _0x179bf7['Disposable']{constructor(_0x34d7bd,_0x2732f9){const _0x4dedd3=_0x1f6723;super(),this[_0x4dedd3(0x49a)]=_0x34d7bd,this[_0x4dedd3(0x45e)]=_0x2732f9,_0x6a547(this,_0x4dedd3(0x14d),new _0x5cf427[(_0x4dedd3(0x242))](null)),_0x6a547(this,_0x4dedd3(0x310),this['_editingParams$']['asObservable']()),_0x6a547(this,'_onSavingEditorData$',new _0x5cf427[(_0x4dedd3(0x242))](!0x1)),_0x6a547(this,_0x4dedd3(0x159),this[_0x4dedd3(0x487)][_0x4dedd3(0x223)]()),_0x6a547(this,_0x4dedd3(0x2ec),void 0x0),this[_0x4dedd3(0x18f)](this[_0x4dedd3(0x49a)]['permissionPointUpdate$'][_0x4dedd3(0x37a)](()=>{const _0x551348=_0x4dedd3;let _0x1fc4cd=this[_0x551348(0x1db)]();_0x1fc4cd!=null&&_0x1fc4cd[_0x551348(0x3f9)]&&!this[_0x551348(0x346)](_0x1fc4cd)&&this['setEditing'](null);}));}[_0x1f6723(0x2ba)](){const _0x326c22=_0x1f6723;this[_0x326c22(0x3f5)](),this['_editingParams$']['next'](null),this[_0x326c22(0x14d)][_0x326c22(0x3fc)](),this[_0x326c22(0x487)][_0x326c22(0x431)](!0x1),this[_0x326c22(0x487)][_0x326c22(0x3fc)](),super['dispose']();}[_0x1f6723(0x11e)](_0x4bc9ce){const _0x3a7067=_0x1f6723;(_0x4bc9ce==null||!_0x4bc9ce[_0x3a7067(0x3f9)]||this[_0x3a7067(0x346)](_0x4bc9ce))&&(this[_0x3a7067(0x3f5)](),this[_0x3a7067(0x14d)][_0x3a7067(0x431)](_0x4bc9ce),(_0x4bc9ce==null||_0x4bc9ce['visible']&&this['_onSavingEditorData$'][_0x3a7067(0x4a4)]())&&this[_0x3a7067(0x487)][_0x3a7067(0x431)](!0x1));}[_0x1f6723(0x2ab)](_0x2e504c){this['_onSavingEditorData$']['next'](_0x2e504c);}[_0x1f6723(0x1db)](){const _0x4e454e=_0x1f6723;return this[_0x4e454e(0x14d)][_0x4e454e(0x4a4)]();}[_0x1f6723(0x346)](_0xc89cf9){const _0x3cba86=_0x1f6723;let _0x4aaee5=this['_instanceService'][_0x3cba86(0x259)](_0xc89cf9[_0x3cba86(0x2aa)],_0x179bf7[_0x3cba86(0x42f)][_0x3cba86(0x369)]);if(!_0x4aaee5)return!0x0;let _0x1515ba=(0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x4aaee5,_0xc89cf9[_0x3cba86(0x36e)]);return(0x0,_0x31f1d7[_0x3cba86(0x380)])(this['_permissionService'],_0xc89cf9[_0x3cba86(0x2aa)],[...(0x0,_0x31f1d7[_0x3cba86(0x46a)])(_0x4aaee5,_0x1515ba,'drawing',_0xc89cf9['shapeId']),(0x0,_0x31f1d7['getDocumentEntityPermissionObjectId'])(_0x1515ba,_0x3cba86(0x199),_0xc89cf9[_0x3cba86(0x36e)])]);}[_0x1f6723(0x225)](_0x545203){const _0xd52f06=_0x1f6723;let _0x5602f9=this['getEditing']();_0x5602f9&&this[_0xd52f06(0x2ec)]===void 0x0&&(this[_0xd52f06(0x2ab)](!0x0),this[_0xd52f06(0x2ec)]=requestAnimationFrame(()=>{const _0x10b416=_0xd52f06;this['_completionFrame']=void 0x0,this[_0x10b416(0x1db)]()===_0x5602f9&&this[_0x10b416(0x11e)](null);}));}[_0x1f6723(0x3f5)](){const _0x424958=_0x1f6723;this[_0x424958(0x2ec)]!==void 0x0&&(cancelAnimationFrame(this[_0x424958(0x2ec)]),this[_0x424958(0x2ec)]=void 0x0);}[_0x1f6723(0x1f6)](){const _0x457b8f=_0x1f6723;this[_0x457b8f(0x1db)]()&&this[_0x457b8f(0x11e)](null);}};_0x1bc893=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0x1,_0x179bf7[_0x1f6723(0x18b)])],_0x1bc893);function _0x2ecc1b(_0x5ef87a){const _0x3ae049=_0x1f6723;return _0x5ef87a[_0x3ae049(0x16b)]===!0x0||_0x5ef87a[_0x3ae049(0x16b)]===_0x179bf7[_0x3ae049(0x1d6)][_0x3ae049(0x22f)]||_0x5ef87a[_0x3ae049(0x1a4)]===_0x179bf7[_0x3ae049(0x41d)][_0x3ae049(0x1a1)]&&_0x5ef87a[_0x3ae049(0x18c)]===_0x179bf7['BooleanNumber'][_0x3ae049(0x22f)]?_0x33827d[_0x3ae049(0x297)]-0x1:_0x1126ec['DRAWING_OBJECT_LAYER_INDEX'];}let _0x26cade=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x38fcf4,_0x2106a3,_0x47a3c2,_0x284d9e,_0x1c3418,_0x943273,_0x17e208){const _0x396f2b=_0x1f6723;super(),this['_drawingManagerService']=_0x38fcf4,this[_0x396f2b(0x4ae)]=_0x2106a3,this[_0x396f2b(0x4ac)]=_0x47a3c2,this[_0x396f2b(0x32d)]=_0x284d9e,this[_0x396f2b(0x460)]=_0x1c3418,this['_shapeTextEditingService']=_0x943273,this[_0x396f2b(0x254)]=_0x17e208,_0x6a547(this,_0x396f2b(0x2cc),new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x396f2b(0x2df)][_0x396f2b(0x37a)](_0x7e32b1=>{const _0x573a9f=_0x396f2b;var _0x1f7a7e;(_0x1f7a7e=this[_0x573a9f(0x2cc)][_0x573a9f(0x2c6)](this[_0x573a9f(0x202)](_0x7e32b1[_0x573a9f(0x2aa)],_0x7e32b1[_0x573a9f(0x189)],_0x7e32b1[_0x573a9f(0x36e)])))==null||_0x1f7a7e[_0x573a9f(0x32c)](_0x1412d5=>_0x1412d5['setFormulaPresentation'](_0x7e32b1[_0x573a9f(0x322)],_0x7e32b1[_0x573a9f(0x386)]));})),this[_0x396f2b(0x18f)](this[_0x396f2b(0x41e)][_0x396f2b(0x45c)]['subscribe'](_0x7f87cb=>{const _0x5d03a3=_0x396f2b;_0x7f87cb[_0x5d03a3(0x32c)](_0xd1f3ba=>{const _0x2aa52b=_0x5d03a3;this[_0x2aa52b(0x254)][_0x2aa52b(0x2c7)]({'unitId':_0xd1f3ba['unitId'],'subUnitId':_0xd1f3ba[_0x2aa52b(0x189)],'shapeId':_0xd1f3ba[_0x2aa52b(0x140)]}),this[_0x2aa52b(0x2cc)][_0x2aa52b(0x33d)](this[_0x2aa52b(0x202)](_0xd1f3ba[_0x2aa52b(0x2aa)],_0xd1f3ba[_0x2aa52b(0x189)],_0xd1f3ba['drawingId']));});}));}['renderDrawingShape'](_0x416ca5,_0x42f477){const _0x568ef5=_0x1f6723;let {transform:_0x355c8d,drawingType:_0x399579,srcRect:_0x52f38f,prstGeom:_0x34c76c,groupId:_0xb01e2e,unitId:_0xbb863,subUnitId:_0x325681,drawingId:_0x127531,isMultiTransform:_0x429b66,transforms:_0x5eec6f,hidden:_0x17b500,selectable:_0x203e93}=_0x416ca5;if(_0x399579!==_0x179bf7[_0x568ef5(0x121)][_0x568ef5(0x29c)]||!this[_0x568ef5(0x41e)]['getDrawingVisible']()||_0x355c8d==null)return;let _0x338af6=this[_0x568ef5(0x41e)]['getDrawingEditable'](),_0x45267b=_0x429b66&&_0x5eec6f?_0x5eec6f:[_0x355c8d],_0x441215=[];for(let [_0x19ea7d,_0x111223]of _0x45267b[_0x568ef5(0x4b3)]()){let {left:_0x3be6bf,top:_0x31dae8,width:_0x464898,height:_0x4644ea,angle:_0x357d96,flipX:_0x274c2c,flipY:_0x552b34,skewX:_0x49f8d1,skewY:_0x42ba1f}=_0x111223,_0x5bfba9=(0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xbb863,'subUnitId':_0x325681,'drawingId':_0x127531},_0x429b66?_0x19ea7d:void 0x0),_0x4831f2=_0x42f477[_0x568ef5(0x457)](_0x5bfba9);if(_0x4831f2!=null){let _0x56a8c3={'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531};_0x4831f2 instanceof _0x229152&&this[_0x568ef5(0x2a1)](_0x4831f2,_0x56a8c3),_0x4831f2[_0x568ef5(0x18d)]({'left':_0x3be6bf,'top':_0x31dae8,'width':_0x464898,'height':_0x4644ea,'angle':_0x357d96,'flipX':_0x274c2c,'flipY':_0x552b34,'skewX':_0x49f8d1,'skewY':_0x42ba1f});continue;}let _0x5c9802=this['_drawingManagerService']['getDrawingOrder'](_0xbb863,_0x325681),_0x4bd4e5=_0x5c9802[_0x568ef5(0x35d)](_0x127531);if(_0x42f477['getObjectIncludeInGroup'](_0x5bfba9)||!this[_0x568ef5(0x41e)]['getDrawingVisible']())continue;let _0x17aecb=this[_0x568ef5(0x4ae)][_0x568ef5(0x21b)](_0xbb863,_0x325681,_0x127531);if(!_0x17aecb)continue;let _0xc6aaca=(0x0,_0x2bd245[_0x568ef5(0x452)])(_0x17aecb['getShapeType']())?{..._0x257c32[_0x568ef5(0x25d)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x257c32[_0x568ef5(0x25d)],_0x58dbc0=_0x17aecb[_0x568ef5(0x4a3)]()[_0x568ef5(0x441)],_0x1e39ff={'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531};_0x58dbc0&&this['_shapeFormulaService'][_0x568ef5(0x160)](_0x1e39ff,_0x58dbc0);let _0x4fe5a2=new _0x229152(_0x5bfba9,{..._0x111223,'zIndex':_0x4bd4e5===-0x1?_0x5c9802[_0x568ef5(0x231)]-0x1:_0x4bd4e5,'shapeModel':_0x17aecb,'localeService':this[_0x568ef5(0x4ac)],'shapeId':_0x127531,'unitId':_0xbb863,'subUnitId':_0x325681,'visible':_0x17b500!==!0x0,'evented':_0x203e93!==!0x1,'formulaPresentation':_0x58dbc0?this[_0x568ef5(0x254)][_0x568ef5(0x378)](_0x1e39ff):void 0x0,'animateFormulaPresentation':(_0x58dbc0==null?void 0x0:_0x58dbc0['animationEnabled'])!==!0x1,'transformerConfig':_0xc6aaca});if(_0x58dbc0){let _0x2dc2e5=this['_formulaKey'](_0xbb863,_0x325681,_0x127531),_0x127378=this[_0x568ef5(0x2cc)][_0x568ef5(0x2c6)](_0x2dc2e5)??new Set();_0x127378['add'](_0x4fe5a2),this[_0x568ef5(0x2cc)]['set'](_0x2dc2e5,_0x127378);}this[_0x568ef5(0x18f)]((0x0,_0x179bf7[_0x568ef5(0x4a5)])(_0x4fe5a2[_0x568ef5(0x399)]['subscribeEvent']((_0x12cc1f,_0x855ed0)=>{const _0x3ee8e2=_0x568ef5;_0x17aecb[_0x3ee8e2(0x368)]()||_0x58dbc0||(this[_0x3ee8e2(0x16e)][_0x3ee8e2(0x11e)]({'visible':!0x0,'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531,'shapeKey':_0x4fe5a2[_0x3ee8e2(0x377)]}),_0x855ed0[_0x3ee8e2(0x147)]());}))),_0x42f477['addObject'](_0x4fe5a2,_0x2ecc1b(_0x416ca5)),_0x338af6&&_0x42f477['attachTransformerTo'](_0x4fe5a2),_0xb01e2e&&(0x0,_0x5656f0[_0x568ef5(0x251)])({'drawingId':_0xb01e2e,'unitId':_0xbb863,'subUnitId':_0x325681},_0x4fe5a2,_0x42f477,this['_drawingManagerService'],_0x429b66?_0x19ea7d:void 0x0),_0x34c76c!=null&&_0x4fe5a2[_0x568ef5(0x4a0)](_0x34c76c),_0x52f38f!=null&&_0x4fe5a2[_0x568ef5(0x153)](_0x52f38f),this[_0x568ef5(0x42c)](_0x4fe5a2,_0x17aecb['getShapeData']()),_0x441215[_0x568ef5(0x45d)](_0x4fe5a2);}return _0x441215;}[_0x1f6723(0x202)](_0x39f478,_0x2c197c,_0x215446){return _0x39f478+'\x00'+_0x2c197c+'\x00'+_0x215446;}[_0x1f6723(0x2a1)](_0x2fada0,_0x4878c1){const _0x30e6a3=_0x1f6723;let _0x594f6a=this[_0x30e6a3(0x4ae)][_0x30e6a3(0x21b)](_0x4878c1[_0x30e6a3(0x2aa)],_0x4878c1['subUnitId'],_0x4878c1[_0x30e6a3(0x36e)]),_0x5eb27a=_0x594f6a==null?void 0x0:_0x594f6a[_0x30e6a3(0x4a3)]()[_0x30e6a3(0x441)],_0x16eafb=this['_formulaKey'](_0x4878c1['unitId'],_0x4878c1[_0x30e6a3(0x189)],_0x4878c1[_0x30e6a3(0x36e)]);if(_0x5eb27a){this[_0x30e6a3(0x254)][_0x30e6a3(0x160)](_0x4878c1,_0x5eb27a);let _0x1baaae=this[_0x30e6a3(0x2cc)][_0x30e6a3(0x2c6)](_0x16eafb)??new Set();_0x1baaae[_0x30e6a3(0x480)](_0x2fada0),this[_0x30e6a3(0x2cc)][_0x30e6a3(0x21a)](_0x16eafb,_0x1baaae);}else{var _0x140597;this[_0x30e6a3(0x254)][_0x30e6a3(0x2c7)](_0x4878c1),(_0x140597=this[_0x30e6a3(0x2cc)][_0x30e6a3(0x2c6)](_0x16eafb))==null||_0x140597[_0x30e6a3(0x33d)](_0x2fada0);}_0x2fada0['setFormulaPresentation'](_0x5eb27a?this[_0x30e6a3(0x254)][_0x30e6a3(0x378)](_0x4878c1):void 0x0,(_0x5eb27a==null?void 0x0:_0x5eb27a[_0x30e6a3(0x386)])!==!0x1);}[_0x1f6723(0x467)](_0x4b8ceb){const _0x1fea88=_0x1f6723;let _0x3fbf6d=_0x4b8ceb[_0x1fea88(0x39a)][_0x1fea88(0x4a3)](),_0xe56885=_0x3fbf6d['fill'];if(!_0xe56885||_0xe56885['fillType']!==_0x2bd245[_0x1fea88(0x436)][_0x1fea88(0x2a2)]||!_0xe56885[_0x1fea88(0x21f)]){_0x4b8ceb[_0x1fea88(0x482)](void 0x0);return;}this[_0x1fea88(0x42c)](_0x4b8ceb,_0x3fbf6d);}['_loadShapePictureFill'](_0x413d67,_0x1c0f80){const _0x49d926=_0x1f6723;let _0x318908=_0x1c0f80['fill'];if(!_0x318908||_0x318908['fillType']!==_0x2bd245['ShapeFillEnum']['PictureFill']||!_0x318908[_0x49d926(0x21f)])return;let _0x533b1c=_0x318908['fillImageSource'],_0x8c14af=_0x318908['fillImageSourceType']??_0x2bd245[_0x49d926(0x154)]['URL'],_0x3478e9=this[_0x49d926(0x32d)][_0x49d926(0x1ca)](_0x533b1c,_0x8c14af);if(_0x3478e9){_0x413d67[_0x49d926(0x482)](_0x3478e9);return;}this[_0x49d926(0x3d3)](_0x413d67,_0x533b1c,_0x8c14af);}async[_0x1f6723(0x3d3)](_0x571350,_0x5ca3b9,_0x23a4f1){const _0x28273c=_0x1f6723;let _0x3d21c9;try{if(_0x23a4f1===_0x2bd245[_0x28273c(0x154)][_0x28273c(0x43f)])_0x3d21c9=await this[_0x28273c(0x32d)][_0x28273c(0x27d)](_0x5ca3b9);else{if(_0x23a4f1===_0x2bd245[_0x28273c(0x154)][_0x28273c(0x1d9)])try{_0x3d21c9=await this[_0x28273c(0x460)]['getImage'](_0x5ca3b9);}catch{_0x3d21c9=_0x5ca3b9;}else _0x3d21c9=_0x5ca3b9;}}catch(_0x4600ce){console['error']('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x4600ce);return;}let _0x1a90d4=new window['Image']();_0x1a90d4[_0x28273c(0x2e6)]=()=>{const _0x42a7c2=_0x28273c;this[_0x42a7c2(0x32d)][_0x42a7c2(0x2a6)](_0x5ca3b9,_0x23a4f1,_0x1a90d4),_0x571350[_0x42a7c2(0x482)](_0x1a90d4);},_0x1a90d4[_0x28273c(0x318)]=()=>{const _0x28dec5=_0x28273c;console[_0x28dec5(0x45a)](_0x28dec5(0x1f7),_0x5ca3b9);},_0x1a90d4[_0x28273c(0x142)]=_0x3d21c9;}};_0x26cade=_0x139e28([_0x23cccd(0x0,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x2,(0x0,_0x179bf7['Inject'])(_0x179bf7['LocaleService'])),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x127)]),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x1c0)]),_0x23cccd(0x5,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0x6,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x198678[_0x1f6723(0x358)]))],_0x26cade);let _0x36caba=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x7b9c7e,_0x33b36b,_0x11554f){const _0x4bcf77=_0x1f6723;super(),this[_0x4bcf77(0x40b)]=_0x7b9c7e,this[_0x4bcf77(0x41e)]=_0x33b36b,this[_0x4bcf77(0x3a2)]=_0x11554f,this[_0x4bcf77(0x2dd)]();}[_0x1f6723(0x2dd)](){const _0x52b29d=_0x1f6723;this[_0x52b29d(0x18f)](this[_0x52b29d(0x40b)]['interceptor'][_0x52b29d(0x345)](this[_0x52b29d(0x40b)]['interceptor'][_0x52b29d(0x31c)]()[_0x52b29d(0x341)],{'handler':(_0x52dbd3,_0x1576ce,_0xde71c7)=>{const _0x3e52a3=_0x52b29d;var _0x39ca67;let {unitId:_0x5e8659,scene:_0x4464e8,skeleton:_0x565fc6}=_0x1576ce,{pageIndex:_0x8acf80}=_0x1576ce,_0x273389=(_0x39ca67=this['_drawingManagerService'][_0x3e52a3(0x479)](_0x5e8659))==null?void 0x0:_0x39ca67[_0x5e8659],_0x41d363=_0x5d26f5(this[_0x3e52a3(0x40b)],_0x565fc6,_0x8acf80);return _0x273389==null||_0x273389[_0x3e52a3(0x141)]['forEach'](_0x18aaf7=>{const _0x24e96f=_0x3e52a3;if(_0x41d363&&!_0x41d363[_0x24e96f(0x1ee)](_0x18aaf7))return;let _0x16b3c1=_0x273389[_0x24e96f(0x2fb)][_0x18aaf7];_0x16b3c1['drawingType']===_0x179bf7[_0x24e96f(0x121)]['DRAWING_SHAPE']&&!_0x16b3c1['hidden']&&this[_0x24e96f(0x3a2)][_0x24e96f(0x1b4)](_0x16b3c1,_0x4464e8);}),_0xde71c7(_0x52dbd3);}}));}};_0x36caba=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x19c)])),_0x23cccd(0x1,_0x567d02['IDrawingManagerService']),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x26cade))],_0x36caba);function _0x5d26f5(_0x2e199a,_0x4755f2,_0x4ea5dd){const _0x18d996=_0x1f6723;var _0x46ebab,_0x172f89;let _0x335728=_0x2e199a;if(_0x335728[_0x18d996(0x3f3)])return _0x335728[_0x18d996(0x3f3)](_0x4755f2,_0x4ea5dd);let _0x50f49e=_0x4755f2[_0x18d996(0x3c7)]();if(!_0x50f49e||_0x50f49e[_0x18d996(0x34b)]['length']<=0x1||_0x4ea5dd==null)return null;let _0x1a629e=new Set(),_0x1bc1c5=_0x50f49e[_0x18d996(0x34b)][_0x4ea5dd];if(!_0x1bc1c5)return _0x1a629e;_0x4da517(_0x1bc1c5,_0x1a629e);let _0x4b2f0c=(_0x46ebab=_0x50f49e[_0x18d996(0x298)][_0x18d996(0x2c6)](_0x1bc1c5[_0x18d996(0x133)]))==null?void 0x0:_0x46ebab[_0x18d996(0x2c6)](_0x1bc1c5['headerLayoutKey']??_0x1bc1c5[_0x18d996(0x178)]),_0x2655da=(_0x172f89=_0x50f49e[_0x18d996(0x169)]['get'](_0x1bc1c5[_0x18d996(0x28f)]))==null?void 0x0:_0x172f89['get'](_0x1bc1c5['footerLayoutKey']??_0x1bc1c5[_0x18d996(0x178)]);return _0x4b2f0c&&_0x4da517(_0x4b2f0c,_0x1a629e),_0x2655da&&_0x4da517(_0x2655da,_0x1a629e),_0x1a629e;}function _0x4da517(_0x2a9d47,_0x3876e7){const _0x51c370=_0x1f6723;for(let _0x2f1b6d of _0x2a9d47[_0x51c370(0x15b)][_0x51c370(0x313)]())_0x3876e7['add'](_0x2f1b6d);for(let _0x214988 of _0x2a9d47[_0x51c370(0x14f)][_0x51c370(0x3e7)]())for(let _0x10b364 of _0x214988[_0x51c370(0x1ff)])for(let _0x1d34d0 of _0x10b364[_0x51c370(0x23c)])_0x4da517(_0x1d34d0,_0x3876e7);}function _0x5dce21({ref:_0x58cf0e,..._0x2f0159}){const _0x579a68=_0x1f6723;let {preserveStrokeWidth:_0x4f6425,icon:_0x389696,id:_0xa7390d,className:_0x3b8914,extend:_0x17481d,..._0x362b09}=_0x2f0159,_0x368138=(_0x579a68(0x1ea)+_0xa7390d+'\x20'+(_0x3b8914||''))[_0x579a68(0x174)](),_0xaeb1c4='_'+(0x0,_0x308052[_0x579a68(0x134)])(),_0x49b870=(0x0,_0x308052[_0x579a68(0x238)])(null);return(0x0,_0x308052['useImperativeHandle'])(_0x58cf0e,()=>_0x49b870[_0x579a68(0x35c)]),(0x0,_0x308052[_0x579a68(0x1e2)])(()=>{const _0x130943=_0x579a68;if(_0x4f6425&&_0x49b870[_0x130943(0x35c)]&&_0x49b870[_0x130943(0x35c)][_0x130943(0x234)]===_0x389696[_0x130943(0x3ca)])return _0x2cd9ad(_0x49b870['current']);},[_0x4f6425,_0x389696]),_0x500a0a(_0x389696,''+_0xa7390d,{'defIds':_0x389696[_0x579a68(0x166)],'idSuffix':_0xaeb1c4},{'ref':_0x49b870,'className':_0x368138,..._0x362b09},_0x17481d);}function _0x500a0a(_0xa05d49,_0x332012,_0x1f999d,_0x3eee5e,_0x4d09ab){const _0x33f18c=_0x1f6723;return(0x0,_0x308052[_0x33f18c(0x29d)])(_0xa05d49[_0x33f18c(0x3ca)],{'key':_0x332012,..._0x99185e(_0xa05d49,_0x1f999d,_0x4d09ab),..._0x3eee5e},(_0x3fe976(_0xa05d49,_0x1f999d)[_0x33f18c(0x1a7)]||[])[_0x33f18c(0x35f)]((_0x1b1c14,_0x2557aa)=>_0x500a0a(_0x1b1c14,_0x332012+'-'+_0xa05d49[_0x33f18c(0x3ca)]+'-'+_0x2557aa,_0x1f999d,void 0x0,_0x4d09ab)));}function _0x99185e(_0x43cdbd,_0x13d6e1,_0x41504b){const _0x46e374=_0x1f6723;let _0x38305f={..._0x43cdbd[_0x46e374(0x139)]};_0x41504b!=null&&_0x41504b[_0x46e374(0x47f)]&&_0x38305f[_0x46e374(0x131)]==='colorChannel1'&&(_0x38305f['fill']=_0x41504b[_0x46e374(0x47f)]),_0x41504b!=null&&_0x41504b[_0x46e374(0x47f)]&&_0x38305f['stroke']===_0x46e374(0x47f)&&(_0x38305f[_0x46e374(0x18e)]=_0x41504b[_0x46e374(0x47f)]),_0x43cdbd[_0x46e374(0x3ca)]===_0x46e374(0x325)&&_0x38305f['id']&&(_0x38305f['id']+=_0x13d6e1[_0x46e374(0x3c1)]),Object[_0x46e374(0x4b3)](_0x38305f)[_0x46e374(0x32c)](([_0x5cf3e4,_0x205b7f])=>{const _0x1ce44a=_0x46e374;_0x5cf3e4==='mask'&&typeof _0x205b7f==_0x1ce44a(0x2e5)&&(_0x38305f[_0x5cf3e4]=_0x205b7f[_0x1ce44a(0x416)](/url\(#(.*)\)/,_0x1ce44a(0x155)+_0x13d6e1[_0x1ce44a(0x3c1)]+')'));});let {defIds:_0x539893}=_0x13d6e1;return!_0x539893||_0x539893[_0x46e374(0x231)]===0x0?_0x38305f:(_0x43cdbd['tag']===_0x46e374(0x1c2)&&_0x38305f['xlink:href']&&(_0x38305f[_0x46e374(0x179)]+=_0x13d6e1[_0x46e374(0x3c1)]),Object[_0x46e374(0x4b3)](_0x38305f)[_0x46e374(0x32c)](([_0x84f5bd,_0x83e94c])=>{const _0x348434=_0x46e374;typeof _0x83e94c==_0x348434(0x2e5)&&(_0x38305f[_0x84f5bd]=_0x83e94c['replace'](/url\(#(.*)\)/,'url(#$1'+_0x13d6e1[_0x348434(0x3c1)]+')'));}),_0x38305f);}function _0x3fe976(_0x37b614,_0x5d521d){const _0x2a980c=_0x1f6723;var _0x32ddc6;let {defIds:_0x374e7f}=_0x5d521d;return!_0x374e7f||_0x374e7f[_0x2a980c(0x231)]===0x0?_0x37b614:_0x37b614[_0x2a980c(0x3ca)]==='defs'&&(_0x32ddc6=_0x37b614['children'])!=null&&_0x32ddc6['length']?{..._0x37b614,'children':_0x37b614['children']['map'](_0x4e5353=>typeof _0x4e5353[_0x2a980c(0x139)]['id']=='string'&&_0x374e7f&&_0x374e7f[_0x2a980c(0x3f2)](_0x4e5353[_0x2a980c(0x139)]['id'])?{..._0x4e5353,'attrs':{..._0x4e5353[_0x2a980c(0x139)],'id':_0x4e5353[_0x2a980c(0x139)]['id']+_0x5d521d[_0x2a980c(0x3c1)]}}:_0x4e5353)}:_0x37b614;}function _0x2cd9ad(_0x18b6d4){const _0x16655c=_0x1f6723;let _0x373837=_0x18b6d4[_0x16655c(0x304)][_0x16655c(0x24b)],_0x11e6dd=Math[_0x16655c(0x226)](_0x373837[_0x16655c(0x258)],_0x373837['height']);if(!Number[_0x16655c(0x1be)](_0x11e6dd)||_0x11e6dd<=0x0||_0x373837['width']<=0x0||_0x373837[_0x16655c(0x3a9)]<=0x0)return()=>void 0x0;let _0x315c2e=0x10/_0x11e6dd,_0x47aed6=Array[_0x16655c(0x2c9)](_0x18b6d4[_0x16655c(0x324)](_0x16655c(0x430)))[_0x16655c(0x391)](_0x347fe2=>{const _0xe790cb=_0x16655c;let _0x1c2831=getComputedStyle(_0x347fe2),_0x46f9bc=Number['parseFloat'](_0x1c2831['strokeWidth']);return _0x1c2831['stroke']===_0xe790cb(0x432)||Number[_0xe790cb(0x1ac)](_0x1c2831[_0xe790cb(0x497)])===0x0||_0x1c2831[_0xe790cb(0x1cb)]==='non-scaling-stroke'||!Number[_0xe790cb(0x1be)](_0x46f9bc)||_0x46f9bc<=0x0?[]:[{'element':_0x347fe2,'hadStyleAttribute':_0x347fe2[_0xe790cb(0x463)](_0xe790cb(0x207)),'originalStrokeWidth':_0x46f9bc,'strokeWidth':_0x16204d(_0x347fe2[_0xe790cb(0x207)],_0xe790cb(0x3e8))}];})['map'](_0x3ca6f1=>({'appliedStrokeWidth':null,'element':_0x3ca6f1['element'],'hadStyleAttribute':_0x3ca6f1[_0x16655c(0x323)],'isReleased':!0x1,'originalStrokeWidth':_0x3ca6f1[_0x16655c(0x31d)],'strokeWidth':_0x3ca6f1[_0x16655c(0x366)]}));if(_0x47aed6[_0x16655c(0x231)]===0x0)return()=>void 0x0;let _0x57bc43=(_0xe886b8,_0x599423)=>{const _0x2f02e1=_0x16655c;if(_0x373837[_0x2f02e1(0x258)]<=0x0||_0x373837[_0x2f02e1(0x3a9)]<=0x0||_0xe886b8<=0x0||_0x599423<=0x0)return;let _0x21e7e5=Math[_0x2f02e1(0x3b0)](_0xe886b8/_0x373837[_0x2f02e1(0x258)],_0x599423/_0x373837[_0x2f02e1(0x3a9)]);!Number[_0x2f02e1(0x1be)](_0x21e7e5)||_0x21e7e5<=0x0||_0x47aed6[_0x2f02e1(0x32c)](_0x8a35=>{const _0x5b00e1=_0x2f02e1;if(_0x8a35['isReleased'])return;if(_0x8a35[_0x5b00e1(0x1d2)]!==null&&(_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x496)](_0x5b00e1(0x3e8))!==_0x8a35[_0x5b00e1(0x1d2)]||_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x3db)](_0x5b00e1(0x3e8))!==_0x8a35[_0x5b00e1(0x366)][_0x5b00e1(0x143)])){_0x8a35[_0x5b00e1(0x1d2)]=null,_0x8a35[_0x5b00e1(0x26b)]=!0x0;return;}let _0x1e68b5=_0x8a35[_0x5b00e1(0x31d)]*_0x315c2e/_0x21e7e5,_0x5ac6dd=Number(_0x1e68b5['toFixed'](0xc))+'px';_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x2c8)](_0x5b00e1(0x3e8),_0x5ac6dd,_0x8a35[_0x5b00e1(0x366)][_0x5b00e1(0x143)]),_0x8a35[_0x5b00e1(0x1d2)]=_0x5ac6dd;});},_0x388aee=_0x18b6d4['getBoundingClientRect']();_0x57bc43(_0x388aee[_0x16655c(0x258)],_0x388aee[_0x16655c(0x3a9)]);let _0x4f557d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x226417=>{const _0x82483d=_0x16655c;if(_0x226417[_0x82483d(0x215)](_0x112dc1=>_0x112dc1[_0x82483d(0x158)]===_0x18b6d4)){let _0x45aef4=_0x18b6d4[_0x82483d(0x180)]();_0x57bc43(_0x45aef4['width'],_0x45aef4['height']);}});return _0x4f557d==null||_0x4f557d['observe'](_0x18b6d4),()=>{const _0xb38eea=_0x16655c;_0x4f557d==null||_0x4f557d[_0xb38eea(0x45b)](),_0x47aed6[_0xb38eea(0x32c)](_0x34c4d2=>{const _0x38c52a=_0xb38eea;_0x34c4d2[_0x38c52a(0x1d2)]!==null&&(_0x5be44f(_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x207)],_0x38c52a(0x3e8),_0x34c4d2[_0x38c52a(0x1d2)],_0x34c4d2[_0x38c52a(0x366)][_0x38c52a(0x143)],_0x34c4d2[_0x38c52a(0x366)]),!_0x34c4d2[_0x38c52a(0x323)]&&_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x207)][_0x38c52a(0x231)]===0x0&&_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x1fe)](_0x38c52a(0x207)));});};}function _0x16204d(_0x5c2668,_0x34b81e){const _0x11165c=_0x1f6723;return{'priority':_0x5c2668[_0x11165c(0x3db)](_0x34b81e),'value':_0x5c2668[_0x11165c(0x496)](_0x34b81e)};}function _0x5be44f(_0x15fe51,_0x320507,_0x5260fa,_0x154de0,_0x43ba8d){const _0x2f8003=_0x1f6723;_0x15fe51[_0x2f8003(0x496)](_0x320507)===_0x5260fa&&_0x15fe51[_0x2f8003(0x3db)](_0x320507)===_0x154de0&&(_0x43ba8d['value']?_0x15fe51['setProperty'](_0x320507,_0x43ba8d[_0x2f8003(0x442)],_0x43ba8d[_0x2f8003(0x143)]):_0x15fe51[_0x2f8003(0x1af)](_0x320507));}_0x5dce21[_0x1f6723(0x2e9)]=_0x1f6723(0x2d8);let _0x25ae04={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x1b2),'width':'1em','height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x404),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x478),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x22a)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x4d1c39=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x57e6d8,_0x22bc21){const _0x5c4dbd=_0x1f6723;return(0x0,_0x308052[_0x5c4dbd(0x29d)])(_0x5dce21,Object[_0x5c4dbd(0x21e)]({},_0x57e6d8,{'id':_0x5c4dbd(0x38a),'ref':_0x22bc21,'icon':_0x25ae04}));});_0x4d1c39[_0x1f6723(0x2e9)]=_0x1f6723(0x34c);let _0xbb5149={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':'1em','height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x382),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x4113b7=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x58f07c,_0x3b57e2){const _0x1604bc=_0x1f6723;return(0x0,_0x308052[_0x1604bc(0x29d)])(_0x5dce21,Object[_0x1604bc(0x21e)]({},_0x58f07c,{'id':_0x1604bc(0x42b),'ref':_0x3b57e2,'icon':_0xbb5149}));});_0x4113b7[_0x1f6723(0x2e9)]=_0x1f6723(0x168);let _0xaa4596={'tag':'svg','attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x361),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x517694=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x2f9625,_0x34795c){const _0x4d2862=_0x1f6723;return(0x0,_0x308052[_0x4d2862(0x29d)])(_0x5dce21,Object['assign']({},_0x2f9625,{'id':_0x4d2862(0x294),'ref':_0x34795c,'icon':_0xaa4596}));});_0x517694[_0x1f6723(0x2e9)]=_0x1f6723(0x1e0);let _0x4aa9b1={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x2a8),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x37d)}}]},_0x9f23a2=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0xd645bb,_0x5497af){const _0x1af7b3=_0x1f6723;return(0x0,_0x308052[_0x1af7b3(0x29d)])(_0x5dce21,Object[_0x1af7b3(0x21e)]({},_0xd645bb,{'id':_0x1af7b3(0x2c1),'ref':_0x5497af,'icon':_0x4aa9b1}));});_0x9f23a2['displayName']='MoveDownIcon';let _0x4de6c4={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x13a),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x3869ba=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x250fbc,_0x99cda2){const _0x112945=_0x1f6723;return(0x0,_0x308052[_0x112945(0x29d)])(_0x5dce21,Object[_0x112945(0x21e)]({},_0x250fbc,{'id':_0x112945(0x26e),'ref':_0x99cda2,'icon':_0x4de6c4}));});_0x3869ba['displayName']=_0x1f6723(0x197);let _0x52179a={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x20b),'strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':'currentColor','d':_0x1f6723(0x381),'strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':_0x1f6723(0x28d),'strokeWidth':1.3}}]},_0x513f1a=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x15963a,_0x514ac9){return(0x0,_0x308052['createElement'])(_0x5dce21,Object['assign']({},_0x15963a,{'id':'object-layers-icon','ref':_0x514ac9,'icon':_0x52179a}));});_0x513f1a[_0x1f6723(0x2e9)]=_0x1f6723(0x22c);let _0x538a59={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x198),'strokeLinecap':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x48f),'strokeLinecap':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':'round'}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x217)}}]},_0x230edf=(0x0,_0x308052['forwardRef'])(function(_0x7b6fee,_0x5c9962){const _0x11271f=_0x1f6723;return(0x0,_0x308052[_0x11271f(0x29d)])(_0x5dce21,Object[_0x11271f(0x21e)]({},_0x7b6fee,{'id':_0x11271f(0x2dc),'ref':_0x5c9962,'icon':_0x538a59}));});_0x230edf[_0x1f6723(0x2e9)]=_0x1f6723(0x3dc);let _0xf28b5={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x3e9),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x4b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x1f6723(0x4b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':_0x1f6723(0x4b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x1de),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x1c991d=(0x0,_0x308052['forwardRef'])(function(_0x5e97fd,_0x21e9a1){const _0x18326a=_0x1f6723;return(0x0,_0x308052['createElement'])(_0x5dce21,Object[_0x18326a(0x21e)]({},_0x5e97fd,{'id':_0x18326a(0x32a),'ref':_0x21e9a1,'icon':_0xf28b5}));});_0x1c991d[_0x1f6723(0x2e9)]=_0x1f6723(0x300);let _0x5593c1={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x1b2),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x42a)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x440),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x3b8),'fillRule':'evenodd','clipRule':_0x1f6723(0x46b)}}]},_0xd27de2=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x557595,_0x4c95e8){const _0x36fd20=_0x1f6723;return(0x0,_0x308052[_0x36fd20(0x29d)])(_0x5dce21,Object[_0x36fd20(0x21e)]({},_0x557595,{'id':_0x36fd20(0x1c4),'ref':_0x4c95e8,'icon':_0x5593c1}));});_0xd27de2[_0x1f6723(0x2e9)]=_0x1f6723(0x20e);function _0x4288cd(_0x5ae8aa){const _0x22ebc4=_0x1f6723;return(0x0,_0x480c6f[_0x22ebc4(0x17a)])(_0x6c1722,{..._0x5ae8aa,'PickerComponent':_0x257c32[_0x22ebc4(0x31b)]});}function _0x266409(){const _0x518a10=_0x1f6723;let _0x221662=(0x0,_0x342c24[_0x518a10(0x185)])(_0x179bf7[_0x518a10(0x46f)]),_0x2fc26b=_0x24e12d(),[_0x5a169a,_0x1eb95c]=(0x0,_0x308052['useState'])(!0x1);return(0x0,_0x480c6f['jsxs'])(_0x518a10(0x1e9),{'className':_0x518a10(0x22b),'children':[(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x309aa3[_0x518a10(0x41f)],{'title':_0x221662['t'](_0x518a10(0x193)),'aria-expanded':_0x5a169a,'variant':_0x518a10(0x21d),'trailing':_0x5a169a?(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x517694,{}):(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x4113b7,{}),'onClick':()=>_0x1eb95c(_0x2339ad=>!_0x2339ad)}),_0x5a169a&&(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x257c32[_0x518a10(0x31b)],{'excludeGroups':[_0x257c32[_0x518a10(0x458)][_0x518a10(0x1ed)]],'onShapeClick':_0x20d7ac=>{_0x2fc26b(_0x20d7ac),_0x1eb95c(!0x1);}})]});}function _0x20c94b(_0xa04073){return _0xa04073['trim']()||void 0x0;}function _0x325da8(_0xb7a37b,_0x38c3ed,_0x492d41){const _0x48ebbd=_0x1f6723;var _0x13cf11,_0x48a547;return((_0x13cf11=_0xb7a37b[_0x48ebbd(0x123)])==null?void 0x0:_0x13cf11[_0x48ebbd(0x174)]())||((_0x48a547=_0xb7a37b[_0x48ebbd(0x2f2)])==null?void 0x0:_0x48a547[_0x48ebbd(0x174)]())||_0x492d41['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x257c32[_0x48ebbd(0x246)])(_0xb7a37b[_0x48ebbd(0x31a)]))+'\x20'+(_0x38c3ed+0x1);}function _0x3292ea({PanelComponent:_0x1fbf81=_0x5656f0[_0x1f6723(0x227)]}){const _0x2d0c71=_0x1f6723;let _0x193403=(0x0,_0x342c24['useDependency'])(_0x179bf7[_0x2d0c71(0x46f)]),_0x2ee8ac={'title':_0x193403['t']('drawing-ui.objectListPanel.title'),'empty':_0x193403['t'](_0x2d0c71(0x2b7)),'showAll':_0x193403['t'](_0x2d0c71(0x191)),'hideAll':_0x193403['t'](_0x2d0c71(0x2d9)),'lockAll':_0x193403['t'](_0x2d0c71(0x2a5)),'unlockAll':_0x193403['t']('drawing-ui.objectListPanel.unlockAll'),'moveForward':_0x193403['t'](_0x2d0c71(0x230)),'moveBackward':_0x193403['t'](_0x2d0c71(0x334)),'close':_0x193403['t']('drawing-ui.objectListPanel.close'),'show':_0x193403['t']('drawing-ui.objectListPanel.show'),'hide':_0x193403['t'](_0x2d0c71(0x2fc)),'lock':_0x193403['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x193403['t'](_0x2d0c71(0x2f6)),'lockHint':_0x193403['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x193403['t'](_0x2d0c71(0x136)),'name':_0x193403['t'](_0x2d0c71(0x35e)),'nameInput':_0x193403['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x193403['t'](_0x2d0c71(0x232)),'descriptionPlaceholder':_0x193403['t'](_0x2d0c71(0x48c)),'details':_0x193403['t'](_0x2d0c71(0x499)),'noSelection':_0x193403['t'](_0x2d0c71(0x311)),'locate':_0x193403['t']('drawing-ui.objectListPanel.locate'),'expand':_0x193403['t'](_0x2d0c71(0x379)),'collapse':_0x193403['t'](_0x2d0c71(0x14c)),'dragToReorder':_0x193403['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x193403['t'](_0x2d0c71(0x3b4)),'filterAll':_0x193403['t'](_0x2d0c71(0x247)),'filterHidden':_0x193403['t'](_0x2d0c71(0x3af)),'filterLocked':_0x193403['t'](_0x2d0c71(0x30d)),'sectionCanvas':_0x193403['t'](_0x2d0c71(0x2d1)),'sectionFloating':_0x193403['t'](_0x2d0c71(0x3e1))},_0x56ddb9=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x179bf7[_0x2d0c71(0x483)]),_0x37406d=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x179bf7[_0x2d0c71(0x18b)]),_0x486e89=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x3a4044[_0x2d0c71(0x484)]),_0x420504=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x567d02[_0x2d0c71(0x316)]),_0x49c38f=(0x0,_0x342c24['useDependency'])(_0x1126ec[_0x2d0c71(0x208)]),[,_0x5359e8]=(0x0,_0x308052[_0x2d0c71(0x212)])(_0x508838=>_0x508838+0x1,0x0),_0x571178=_0x37406d['getCurrentUnitOfType'](_0x179bf7['UniverInstanceType'][_0x2d0c71(0x369)]),_0x50d191=(_0x571178==null?void 0x0:_0x571178['getUnitId']())??'',_0x2c3ac8=_0x50d191,_0x1cf0ba=(0x0,_0x342c24[_0x2d0c71(0x161)])(()=>_0x420504[_0x2d0c71(0x2e7)],_0x420504[_0x2d0c71(0x2b0)](),!0x1,[_0x420504]);(0x0,_0x308052[_0x2d0c71(0x3a7)])(()=>{let _0x1f1bce=_0x56ddb9['onCommandExecuted'](()=>_0x5359e8());return()=>_0x1f1bce['dispose']();},[_0x56ddb9]);let _0x30c1e0=_0x50d191?_0x486e89[_0x2d0c71(0x3a6)](_0x50d191,_0x2c3ac8):{},_0x140a21=(_0x50d191?_0x486e89[_0x2d0c71(0x19f)](_0x50d191,_0x2c3ac8):[])[_0x2d0c71(0x35f)](_0x217153=>_0x30c1e0[_0x217153])[_0x2d0c71(0x44a)](_0x2b3556=>!!_0x2b3556)[_0x2d0c71(0x289)](),_0x242663=_0x140a21[_0x2d0c71(0x1b3)]((_0x46e11c,_0x1c3ac5)=>(_0x46e11c[(0x0,_0x5656f0[_0x2d0c71(0x428)])(_0x1c3ac5['drawingType'])]+=0x1,_0x46e11c),{'canvas':0x0,'floating':0x0}),_0x88576={'canvas':0x0,'floating':0x0},_0x264109=_0x140a21[_0x2d0c71(0x35f)]((_0x569711,_0x5a6d79)=>{const _0x5e3d14=_0x2d0c71;let _0xf8657a=(0x0,_0x5656f0[_0x5e3d14(0x428)])(_0x569711['drawingType']),_0x1df551=_0xf8657a===_0x5656f0[_0x5e3d14(0x332)],_0xca9bf6=_0x88576[_0xf8657a]++;return{'id':_0x569711[_0x5e3d14(0x140)],'name':_0x325da8(_0x569711,_0x5a6d79,_0x193403),'description':_0x569711[_0x5e3d14(0x171)],'visible':_0x569711[_0x5e3d14(0x263)]!==!0x0,'selectable':_0x569711['selectable']!==!0x1,'sectionId':_0xf8657a,'sectionTitle':_0x1df551?_0x2ee8ac[_0x5e3d14(0x200)]:_0x2ee8ac[_0x5e3d14(0x2fd)],'capabilities':_0x1df551?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1df551&&_0xca9bf6>0x0,'canMoveBackward':!_0x1df551&&_0xca9bf6<_0x242663[_0x5e3d14(0x3b5)]-0x1,'canReorder':!_0x1df551};}),_0x74b714=(0x0,_0x308052[_0x2d0c71(0x1b8)])(()=>(_0x1cf0ba??[])[_0x2d0c71(0x44a)](_0x3576a3=>_0x3576a3['unitId']===_0x50d191&&_0x3576a3['subUnitId']===_0x2c3ac8)[_0x2d0c71(0x35f)](_0x1be28d=>_0x1be28d[_0x2d0c71(0x140)]),[_0x1cf0ba,_0x2c3ac8,_0x50d191]),_0x5b2669=_0x74b714[_0x74b714[_0x2d0c71(0x231)]-0x1]??null,_0x37c51a=_0x390509=>_0x486e89['getDrawingByParam']({'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x390509})??null,_0x2c4405=async _0x1aaae7=>{const _0x1937b1=_0x2d0c71;_0x50d191&&_0x1aaae7[_0x1937b1(0x231)]&&await _0x56ddb9['executeCommand'](_0x1d4bf7[_0x1937b1(0x3c0)]['id'],{'unitId':_0x50d191,'patches':_0x1aaae7});},_0x24ad11=(_0xc12d82,_0x478bcd)=>{const _0x1531e2=_0x2d0c71;if(!_0x50d191)return;let _0x54f74a=_0x478bcd?_0x74b714[_0x1531e2(0x3f2)](_0xc12d82)?_0x74b714[_0x1531e2(0x44a)](_0x37dd9b=>_0x37dd9b!==_0xc12d82):[..._0x74b714,_0xc12d82]:[_0xc12d82];_0x56ddb9[_0x1531e2(0x46c)](_0x567d02['SetDrawingSelectedOperation']['id'],_0x54f74a[_0x1531e2(0x35f)](_0x2e77c6=>({'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x2e77c6})));let _0x32fbcb=_0x54f74a[_0x54f74a[_0x1531e2(0x231)]-0x1];_0x32fbcb?(0x0,_0x257c32[_0x1531e2(0x462)])(_0x49c38f,{'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x32fbcb}):(0x0,_0x257c32[_0x1531e2(0x3e2)])(_0x49c38f,_0x50d191);},_0x441c19=async(_0x1a7965,_0x60483b)=>{const _0x454d97=_0x2d0c71;await _0x2c4405(_0x1a7965[_0x454d97(0x35f)](_0x3b85a0=>_0x37c51a(_0x3b85a0))[_0x454d97(0x44a)](_0x4ffe4f=>!!_0x4ffe4f)[_0x454d97(0x44a)](_0xa0fc77=>_0xa0fc77[_0x454d97(0x263)]!==!0x0!==_0x60483b)[_0x454d97(0x35f)](_0x1827dd=>({'drawingId':_0x1827dd[_0x454d97(0x140)],'hidden':!_0x60483b})));},_0x18aa09=async(_0x16dea1,_0x3984b4)=>{const _0x118514=_0x2d0c71;await _0x2c4405(_0x16dea1[_0x118514(0x35f)](_0x2f2e68=>_0x37c51a(_0x2f2e68))[_0x118514(0x44a)](_0x23f5c1=>!!_0x23f5c1)[_0x118514(0x44a)](_0x27fa53=>_0x27fa53['selectable']!==!0x1!==_0x3984b4)[_0x118514(0x35f)](_0xde93b3=>({'drawingId':_0xde93b3['drawingId'],'selectable':_0x3984b4})));},_0x56ae5f=_0x22a040=>{const _0x37f9a2=_0x2d0c71;let _0x46e0f6=_0x37c51a(_0x22a040);if(_0x46e0f6)return _0x18aa09([_0x22a040],_0x46e0f6[_0x37f9a2(0x365)]===!0x1);},_0x1bdf62=async(_0x3c43fe,_0x18f5d9)=>{const _0x12fffb=_0x2d0c71;let _0x24cdb3=_0x37c51a(_0x3c43fe),_0x7762ce=_0x20c94b(_0x18f5d9);!_0x24cdb3||(_0x24cdb3[_0x12fffb(0x123)]??void 0x0)===_0x7762ce&&(_0x24cdb3[_0x12fffb(0x2f2)]||void 0x0)===_0x7762ce||await _0x2c4405([{'drawingId':_0x3c43fe,'name':_0x7762ce,'title':_0x7762ce}]);},_0x34fbd2=async(_0x57e591,_0x4e16d0)=>{const _0xf4ecd3=_0x2d0c71;let _0x59b8fe=_0x37c51a(_0x57e591),_0x58d943=_0x20c94b(_0x4e16d0);_0x59b8fe&&(_0x59b8fe[_0xf4ecd3(0x171)]??void 0x0)!==_0x58d943&&await _0x2c4405([{'drawingId':_0x57e591,'description':_0x58d943}]);},_0x5206f9=async(_0x490afb,_0x27df39)=>{const _0x177316=_0x2d0c71;_0x50d191&&await _0x56ddb9[_0x177316(0x15c)](_0x3a4044[_0x177316(0x3f0)]['id'],{'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingIds':[_0x490afb],'arrangeType':_0x27df39});};return _0x50d191?(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x1fbf81,{'labels':_0x2ee8ac,'renderPermissionAction':_0xef2a72=>_0x571178?(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x342c24[_0x2d0c71(0x216)],{'target':{'unitId':_0x50d191,'objectId':(0x0,_0x31f1d7[_0x2d0c71(0x2da)])((0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x571178,_0xef2a72['id']),_0x2d0c71(0x199),_0xef2a72['id']),'objectType':_0x5d6c3c[_0x2d0c71(0x2eb)][_0x2d0c71(0x336)]},'name':_0xef2a72['name'],'commandId':_0x31f1d7[_0x2d0c71(0x1f1)]['id'],'exists':()=>!!_0x37c51a(_0xef2a72['id'])},_0x50d191+'/'+_0xef2a72['id']):null,'items':_0x264109,'selectedIds':_0x74b714,'focusedId':_0x5b2669,'showHeader':!0x1,'onSelect':_0x24ad11,'onSetVisible':_0x441c19,'onSetSelectable':_0x18aa09,'onCommitName':_0x1bdf62,'onCommitDescription':_0x34fbd2,'onMoveForward':async _0x53f8e0=>_0x5206f9(_0x53f8e0,_0x179bf7['ArrangeTypeEnum']['forward']),'onMoveBackward':async _0x572464=>_0x5206f9(_0x572464,_0x179bf7['ArrangeTypeEnum'][_0x2d0c71(0x317)]),'onToggleSelectable':_0x56ae5f}):(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x2d0c71(0x1e9),{'className':_0x2d0c71(0x3a4),'children':_0x2ee8ac['title']});}function _0x2c56e2(){const _0xf741c4=_0x1f6723;return(0x0,_0x480c6f[_0xf741c4(0x17a)])(_0x3292ea,{'PanelComponent':_0x5656f0[_0xf741c4(0x2f8)]});}let _0x26fa84=class{constructor(_0x55965a){const _0x1a857f=_0x1f6723;this[_0x1a857f(0x33a)]=_0x55965a;}[_0x1f6723(0x12d)](_0x310e20,_0x126b1a){const _0x265811=_0x1f6723;let _0x143450=this['_renderManagerService'][_0x265811(0x1bc)](_0x310e20[_0x265811(0x2aa)]),_0x1bf8af=_0x143450==null?void 0x0:_0x143450[_0x265811(0x280)];if(!_0x1bf8af)return;let _0x25ec27=(0x0,_0x567d02[_0x265811(0x1e8)])(_0x310e20),_0x4893df=_0x1bf8af['getObjectIncludeInGroup'](_0x25ec27);_0x4893df==null||_0x4893df[_0x265811(0x482)](_0x126b1a);}};_0x26fa84=_0x139e28([_0x23cccd(0x0,_0x1126ec[_0x1f6723(0x208)])],_0x26fa84);function _0x2c2dc7(){const _0xb06376=_0x1f6723;let _0x3c23c6=(0x0,_0x342c24[_0xb06376(0x185)])(_0x567d02['IDrawingManagerService']),_0x47d44a=(0x0,_0x342c24[_0xb06376(0x161)])(()=>_0x3c23c6['focus$'],_0x3c23c6[_0xb06376(0x2b0)](),!0x1,[_0x3c23c6]);return _0x47d44a[_0xb06376(0x231)]===0x0?null:(0x0,_0x480c6f['jsx'])(_0xb06376(0x1e9),{'children':(0x0,_0x480c6f[_0xb06376(0x438)])('div',{'className':_0xb06376(0x1a2),'children':[(0x0,_0x480c6f['jsx'])(_0x5656f0[_0xb06376(0x17c)],{'drawings':_0x47d44a,'hasCropper':!0x1}),(0x0,_0x480c6f['jsx'])(_0x4b09d7[_0xb06376(0x32e)],{'drawings':_0x47d44a}),(0x0,_0x480c6f[_0xb06376(0x17a)])(_0x4b09d7[_0xb06376(0x30a)],{'drawings':_0x47d44a})]})});}function _0x1ff39a(_0x22c196){const _0x3a30e5=_0x1f6723;let {unitId:_0x4c5f34,subUnitId:_0x1a4120,shapeId:_0x2866f9,PositionComponent:_0x1cb629=_0x2c2dc7}=_0x22c196,_0x3f5c2b=(0x0,_0x342c24[_0x3a30e5(0x185)])(_0x179bf7[_0x3a30e5(0x483)]),_0x546784=(0x0,_0x342c24[_0x3a30e5(0x185)])(_0x26fa84);return(0x0,_0x480c6f[_0x3a30e5(0x17a)])(_0x257c32[_0x3a30e5(0x352)],{..._0x22c196,'positionEditor':(0x0,_0x480c6f[_0x3a30e5(0x17a)])(_0x1cb629,{}),'onUpdateShapeData':(_0x3bb4f7,_0x219e76)=>{_0x5a93d6(_0x3f5c2b,_0x4c5f34,_0x1a4120,_0x2866f9,_0x3bb4f7,_0x219e76);},'onUpdateLineShapeData':(_0x21359c,_0x1704f8)=>{_0x3a7e1f(_0x3f5c2b,_0x4c5f34,_0x1a4120,_0x2866f9,_0x21359c,_0x1704f8);},'onUpdateShapeFillImage':_0x5ee11d=>{const _0x4222ac=_0x3a30e5;_0x546784[_0x4222ac(0x12d)]({'unitId':_0x4c5f34,'subUnitId':_0x1a4120,'drawingId':_0x2866f9},_0x5ee11d);}});}function _0x56bce5(){const _0x4c73b1=_0x1f6723;let _0x5ee103=(0x0,_0x342c24['useDependency'])(_0x567d02[_0x4c73b1(0x316)]),_0x531ce4=(0x0,_0x342c24[_0x4c73b1(0x161)])(_0x5ee103[_0x4c73b1(0x2e7)],_0x5ee103[_0x4c73b1(0x2b0)]());return _0x531ce4[_0x4c73b1(0x231)]===0x0?null:(0x0,_0x480c6f[_0x4c73b1(0x438)])(_0x4c73b1(0x1e9),{'className':_0x4c73b1(0x351),'children':[(0x0,_0x480c6f[_0x4c73b1(0x17a)])(_0x5656f0[_0x4c73b1(0x17c)],{'drawings':_0x531ce4,'hasCropper':!0x1}),(0x0,_0x480c6f[_0x4c73b1(0x17a)])(_0x4b09d7[_0x4c73b1(0x2be)],{'drawings':_0x531ce4}),(0x0,_0x480c6f['jsx'])(_0x4b09d7[_0x4c73b1(0x1d8)],{'drawings':_0x531ce4})]});}function _0x40377c(_0x48bbd2){const _0x44956a=_0x1f6723;return(0x0,_0x480c6f[_0x44956a(0x17a)])(_0x257c32[_0x44956a(0x25c)],{'children':(0x0,_0x480c6f[_0x44956a(0x17a)])(_0x1ff39a,{..._0x48bbd2,'PositionComponent':_0x56bce5})});}function _0x1a1021({popup:_0x41ff2c}){const _0x4aebc6=_0x1f6723;let _0x4c899b=(0x0,_0x342c24['useDependency'])(_0x179bf7[_0x4aebc6(0x46f)]),{shapeType:_0x5efc51,onText:_0x1cc86e,onStyle:_0x12ac25,onDelete:_0x253076}=_0x41ff2c[_0x4aebc6(0x120)],_0x287554=[{'key':_0x4aebc6(0x201),'order':0x0,'item':{'id':_0x4aebc6(0x201),'type':_0x342c24['MenuItemType'][_0x4aebc6(0x12e)],'title':_0x4c899b['t'](_0x4aebc6(0x354)),'disabled$':(0x0,_0x5cf427['of'])((0x0,_0x2bd245[_0x4aebc6(0x452)])(_0x5efc51))}},{'key':_0x4aebc6(0x207),'order':0x1,'item':{'id':_0x4aebc6(0x207),'type':_0x342c24['MenuItemType']['BUTTON'],'title':_0x4c899b['t'](_0x4aebc6(0x4b0))}},{'key':'delete','order':0x2,'item':{'id':_0x4aebc6(0x33d),'type':_0x342c24['MenuItemType'][_0x4aebc6(0x12e)],'title':_0x4c899b['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x480c6f[_0x4aebc6(0x17a)])(_0x342c24[_0x4aebc6(0x448)],{'schemas':_0x287554,'presentation':'context-bar','onOptionSelect':async({id:_0x144666})=>{const _0x245e5c=_0x4aebc6;_0x144666===_0x245e5c(0x201)?await _0x1cc86e():_0x144666===_0x245e5c(0x207)?await _0x12ac25():_0x144666===_0x245e5c(0x33d)&&await _0x253076();}});}let _0x51fd45=_0x1f6723(0x41a);function _0x2bcb06(_0x22c09d,_0xa81ffe){const _0x4c5567=_0x1f6723;var _0x254e8a;let _0x158f29=_0x22c09d==null||(_0x254e8a=_0x22c09d[_0x4c5567(0x34f)]()['drawings'])==null?void 0x0:_0x254e8a[_0xa81ffe];return _0x158f29?_0x158f29[_0x4c5567(0x1a4)]===_0x179bf7['PositionedObjectLayoutType'][_0x4c5567(0x1a1)]?_0x158f29['behindDoc']===_0x179bf7[_0x4c5567(0x1d6)][_0x4c5567(0x22f)]?_0x3a4044[_0x4c5567(0x3ee)]['BEHIND_TEXT']:_0x3a4044[_0x4c5567(0x3ee)][_0x4c5567(0x2d5)]:_0x158f29['layoutType']===_0x179bf7[_0x4c5567(0x41d)]['WRAP_SQUARE']?_0x3a4044['TextWrappingStyle'][_0x4c5567(0x326)]:_0x158f29['layoutType']===_0x179bf7[_0x4c5567(0x41d)][_0x4c5567(0x481)]?_0x3a4044[_0x4c5567(0x3ee)][_0x4c5567(0x481)]:_0x3a4044['TextWrappingStyle']['INLINE']:_0x3a4044['TextWrappingStyle'][_0x4c5567(0x3c4)];}function _0x2feffd(_0x113824){const _0x1980ae=_0x1f6723;let _0x1df968=(0x0,_0x342c24[_0x1980ae(0x185)])(_0x257c32[_0x1980ae(0x29a)]),_0x24f266=(0x0,_0x342c24[_0x1980ae(0x161)])(()=>_0x1df968[_0x1980ae(0x48d)],_0x1df968['getVisible'](),!0x1,[_0x1df968]),_0x301f79=_0x113824['popup']['extraProps'];return _0x24f266?(0x0,_0x480c6f[_0x1980ae(0x17a)])(_0x49f189,{..._0x301f79,'canvasElement':_0x113824[_0x1980ae(0x340)][_0x1980ae(0x14a)]}):null;}function _0x49f189(_0x41c003){const _0x981ae7=_0x1f6723;let _0x5959de=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7['ICommandService']),_0x4061b0=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7[_0x981ae7(0x46f)]),_0x95e227=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x1d4bf7[_0x981ae7(0x390)]),_0x2303b8=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7[_0x981ae7(0x18b)]),{unitId:_0x1b8d81,subUnitId:_0x1ce103,drawingId:_0x24968b,shapeType:_0x20d9da}=_0x41c003,[_0x377a6e,_0x1e5df0]=(0x0,_0x308052[_0x981ae7(0x3cb)])(_0x41c003[_0x981ae7(0x2c0)]),_0x30bed1=_0x2303b8[_0x981ae7(0x259)](_0x1b8d81,_0x179bf7[_0x981ae7(0x42f)][_0x981ae7(0x369)])??void 0x0,[_0x4f65bc,_0x2babcc]=(0x0,_0x308052['useState'])(()=>_0x2bcb06(_0x30bed1,_0x24968b)),_0x221e52=(0x0,_0x308052['useMemo'])(()=>(0x0,_0x257c32[_0x981ae7(0x3ea)])(_0x377a6e),[_0x377a6e]),_0x21b62e=(0x0,_0x308052[_0x981ae7(0x1b8)])(()=>(0x0,_0x257c32[_0x981ae7(0x37e)])(_0x377a6e),[_0x377a6e]);(0x0,_0x308052[_0x981ae7(0x3a7)])(()=>{const _0x404d5a=_0x981ae7;let _0x26554b=_0x5959de[_0x404d5a(0x2e4)](_0x24d2b6=>{const _0x49dcbd=_0x404d5a;if(_0x24d2b6['id']!==_0x1d4bf7['UpdateDocShapeDataMutation']['id'])return;let _0x1dd96b=_0x95e227[_0x49dcbd(0x43e)](_0x1b8d81,_0x1ce103,_0x24968b);_0x1dd96b&&_0x1e5df0(_0x1dd96b);});return()=>_0x26554b[_0x404d5a(0x2ba)]();},[_0x5959de,_0x95e227,_0x24968b,_0x1ce103,_0x1b8d81]);let _0x1b23ff=_0x5a0556=>{_0x1e5df0(_0x3177e8=>({..._0x3177e8,..._0x5a0556}));},_0x30370c=_0x1be876=>{const _0x1ee704=_0x981ae7;let _0x1c2ce0=(0x0,_0x257c32[_0x1ee704(0x1ec)])(_0x377a6e,_0x1be876);_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,{'oldShapeData':{'shapeText':_0x377a6e['shapeText']}},_0x1c2ce0),_0x1b23ff(_0x1c2ce0);},_0x499096=_0x283974=>{const _0x1caa09=_0x981ae7;_0x2babcc(_0x283974),_0x5959de[_0x1caa09(0x15c)](_0x3a4044[_0x1caa09(0x355)]['id'],{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawings':[{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b}],'wrappingStyle':_0x283974});},_0x9d1f52=(0x0,_0x257c32[_0x981ae7(0x36a)])({'hostType':_0x179bf7[_0x981ae7(0x42f)]['UNIVER_DOC'],'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'shapeId':_0x24968b,'shapeData':_0x377a6e,'onUpdateBinding':_0xb6aa74=>{let _0xf17607={'formulaBinding':_0xb6aa74};_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,{'oldShapeData':{'formulaBinding':_0x377a6e['formulaBinding']}},_0xf17607),_0x1b23ff(_0xf17607);}}),_0x1da419=[{'label':_0x4061b0['t'](_0x981ae7(0x190)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x3c4)],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x3c5)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x326)],'icon':(0x0,_0x480c6f['jsx'])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x1e5)),'value':_0x3a4044[_0x981ae7(0x3ee)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t']('docs-shape-ui.textWrap.behindText'),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x424)],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x4b2)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x2d5)],'icon':(0x0,_0x480c6f['jsx'])(_0x1c991d,{})}];return(0x0,_0x480c6f[_0x981ae7(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x257c32[_0x981ae7(0x299)],{'canvasElement':_0x41c003['canvasElement'],'shapeData':_0x377a6e,'shapeType':_0x20d9da,'textStyle':{'ff':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x3a1)][_0x981ae7(0x279)],'fs':_0x2bd245[_0x981ae7(0x490)]['shapeText'][_0x981ae7(0x337)],'cl':{'rgb':_0x2bd245['ShapeDefaultConfig'][_0x981ae7(0x3a1)][_0x981ae7(0x265)]},..._0x221e52},'textModel':_0x21b62e?{'ha':_0x21b62e['ha']??_0x179bf7[_0x981ae7(0x1f9)][_0x981ae7(0x410)],'va':_0x21b62e['va']??_0x179bf7[_0x981ae7(0x3c8)][_0x981ae7(0x23b)]}:null,'wrappingStyle':_0x4f65bc,'wrappingStyleOptions':_0x1da419,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x131)],'defaultGradientEndColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x1ad)],'defaultStrokeColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x18e)],'extensionGroups':_0x9d1f52[_0x981ae7(0x12f)],'floatingObjectToolbarPosition':_0x342c24[_0x981ae7(0x3fb)][_0x981ae7(0x373)],'onUpdateShapeData':(_0x5553f3,_0x5885cb)=>{_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,_0x5553f3,_0x5885cb),_0x5885cb&&_0x1b23ff(_0x5885cb);},'onUpdateText':_0x30370c,'onUpdateWrappingStyle':_0x42f0a6=>_0x499096(_0x42f0a6),'onOpenPanel':()=>{const _0x5de4a1=_0x981ae7;_0x5959de[_0x5de4a1(0x15c)](_0x344cfa['id'],{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b});},'onDelete':()=>{const _0x2ce53d=_0x981ae7;_0x5959de[_0x2ce53d(0x15c)](_0x3a4044['RemoveDocDrawingCommand']['id'],{'unitId':_0x1b8d81,'drawings':[{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b}]});}}),_0x9d1f52[_0x981ae7(0x184)]]});}function _0x3163c8({variant:_0x5dfc3d,extend:_0x34d41c,..._0xd1ec02}){const _0x40f2c0=_0x1f6723;let _0x56f3bd=(0x0,_0x480c6f[_0x40f2c0(0x17a)])('rect',{'x':'7','y':_0x40f2c0(0x1a9),'width':'6','height':'9','rx':'1','fill':_0x40f2c0(0x211),'fillOpacity':_0x40f2c0(0x4b4),'stroke':'currentColor','strokeWidth':_0x40f2c0(0x2bd)});return(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x40f2c0(0x20c),{'aria-hidden':_0x40f2c0(0x23d),'fill':_0x40f2c0(0x432),'height':'1em','viewBox':'0\x200\x2020\x2020','width':_0x40f2c0(0x15a),..._0xd1ec02,'children':[_0x5dfc3d==='inline'&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f[_0x40f2c0(0x32f)],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])('path',{'d':_0x40f2c0(0x421),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),(0x0,_0x480c6f['jsx'])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x40f2c0(0x19e),'fill':_0x40f2c0(0x211),'fillOpacity':_0x40f2c0(0x4b4),'stroke':_0x40f2c0(0x211),'strokeWidth':_0x40f2c0(0x2bd)})]}),_0x5dfc3d===_0x40f2c0(0x403)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x348),'stroke':_0x40f2c0(0x211),'strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),_0x56f3bd]}),_0x5dfc3d===_0x40f2c0(0x44c)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])('path',{'d':_0x40f2c0(0x2cb),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),_0x56f3bd]}),_0x5dfc3d===_0x40f2c0(0x132)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f[_0x40f2c0(0x32f)],{'children':[_0x56f3bd,(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x27c),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)})]}),_0x5dfc3d===_0x40f2c0(0x465)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f['jsx'])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x27c),'stroke':_0x40f2c0(0x211),'strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x4b5),{'x':'7','y':_0x40f2c0(0x1a9),'width':'6','height':'9','rx':'1','fill':_0x40f2c0(0x211)})]})]});}let _0x4d6312=_0x244f2d=>_0x46cc41=>(0x0,_0x480c6f[_0x1f6723(0x17a)])(_0x3163c8,{..._0x46cc41,'variant':_0x244f2d}),_0x11a507={'DocsShapeWrapInlineIcon':_0x4d6312('inline'),'DocsShapeWrapSquareIcon':_0x4d6312('square'),'DocsShapeWrapTopBottomIcon':_0x4d6312(_0x1f6723(0x44c)),'DocsShapeWrapBehindTextIcon':_0x4d6312('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x4d6312(_0x1f6723(0x465))},_0x14ef5c=(0x0,_0x308052[_0x1f6723(0x29b)])(()=>{const _0x32aa19=_0x1f6723;let _0x197da3=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x1bc893),_0x192484=(0x0,_0x342c24['useDependency'])(_0x1d4bf7['DocsShapeService']),_0x4e156c=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x567d02['IDrawingManagerService']),_0x3d6843=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x179bf7[_0x32aa19(0x483)]),_0x59780a=(0x0,_0x308052[_0x32aa19(0x1b8)])(()=>({'getShapeModel':(_0x1d38b5,_0x1c7f49,_0x282ff8)=>_0x192484[_0x32aa19(0x21b)](_0x1d38b5,_0x1c7f49,_0x282ff8),'getShapeData':(_0x6809d,_0x2759e1,_0xbe2f5f)=>_0x192484[_0x32aa19(0x43e)](_0x6809d,_0x2759e1,_0xbe2f5f),'getDrawingTransform':(_0x3cf652,_0x2d114,_0x3af802)=>{const _0x1f919a=_0x32aa19;let _0x1de12e=_0x4e156c['getDrawingByParam']({'unitId':_0x3cf652,'subUnitId':_0x2d114,'drawingId':_0x3af802});return _0x1de12e==null?void 0x0:_0x1de12e[_0x1f919a(0x182)];},'updateShapeText':({unitId:_0xcdeb00,shapeId:_0x17a242,shapeText:_0x1cb67b,oldShapeText:_0x2df3b8})=>{const _0x16c28c=_0x32aa19;_0x3d6843['executeCommand'](_0x1d4bf7[_0x16c28c(0x2ee)]['id'],{'unitId':_0xcdeb00,'shapeId':_0x17a242,'shapeData':{'shapeText':_0x1cb67b},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2df3b8}}});},'updateHostSize':({unitId:_0x150e73,subUnitId:_0x2d9c01,shapeId:_0x25cc0f,width:_0x7011fd,height:_0x37d804})=>{const _0x4ca2b4=_0x32aa19;_0x3d6843[_0x4ca2b4(0x15c)](_0x3a4044['UpdateDrawingDocTransformCommand']['id'],{'unitId':_0x150e73,'subUnitId':_0x2d9c01,'drawings':[{'drawingId':_0x25cc0f,'key':_0x4ca2b4(0x2b5),'value':{'width':_0x7011fd,'height':_0x37d804}}]});},'allowHostSizeShrink':({unitId:_0x62e07,subUnitId:_0x2579b8,shapeId:_0x354e4b})=>(0x0,_0x257c32[_0x32aa19(0x26d)])(_0x192484[_0x32aa19(0x43e)](_0x62e07,_0x2579b8,_0x354e4b))}),[_0x3d6843,_0x192484,_0x4e156c]),_0x3d912d=(0x0,_0x308052[_0x32aa19(0x1b8)])(()=>({'viewportKeys':{'main':_0x33827d[_0x32aa19(0x46d)][_0x32aa19(0x2cd)]}}),[]);return(0x0,_0x480c6f['jsx'])(_0x257c32[_0x32aa19(0x49b)],{'adapter':_0x59780a,'editingService':_0x197da3,'editorUnitId':_0x397c85,'positionOptions':_0x3d912d});}),_0x527c2c=class extends _0x179bf7['Disposable']{constructor(_0xf5ae2,_0x2e5520){const _0x5bd7fa=_0x1f6723;super(),this['_componentManager']=_0xf5ae2,this[_0x5bd7fa(0x4b1)]=_0x2e5520,this['_registerIcons'](),this['_registerComponents']();}[_0x1f6723(0x48b)](){const _0x3fffd7=_0x1f6723;this[_0x3fffd7(0x4b1)]['has'](_0x3fffd7(0x22c))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'ObjectLayersIcon':_0x513f1a})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x34c))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'BottomIcon':_0x4d1c39})),this['_iconManager'][_0x3fffd7(0x1ee)](_0x3fffd7(0x3d4))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'MoveDownIcon':_0x9f23a2})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x197))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'MoveUpIcon':_0x3869ba})),this[_0x3fffd7(0x4b1)]['has'](_0x3fffd7(0x3dc))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'ShapeFormatSettingIcon':_0x230edf})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x20e))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'TopmostIcon':_0xd27de2})),this['disposeWithMe'](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)](_0x11a507));}[_0x1f6723(0x307)](){const _0x1de7e6=_0x1f6723;this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x138c9c,_0x40377c)),this[_0x1de7e6(0x30f)](),this[_0x1de7e6(0x291)](),this[_0x1de7e6(0x18f)](this['_componentManager'][_0x1de7e6(0x160)](_0x3e7612,_0xf4080c)),this[_0x1de7e6(0x18f)](this['_componentManager'][_0x1de7e6(0x160)](_0x21c9ec,_0x509acc)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x47fb23,_0x1a18d1)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x517deb,_0x15d181)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)]['register'](_0xf7d6ad,_0x10ab8f)),this['disposeWithMe'](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x110c09,_0x257c32[_0x1de7e6(0x272)])),this[_0x1de7e6(0x1a0)](),this[_0x1de7e6(0x4a1)]['hasDefault'](_0x5656f0['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this['disposeWithMe'](this[_0x1de7e6(0x4a1)]['register'](_0x5656f0['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x57e581)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x13f5c4,_0x14ef5c));}[_0x1f6723(0x30f)](){const _0x117d28=_0x1f6723;this['disposeWithMe'](this['_componentManager'][_0x117d28(0x160)](_0x4872be,_0x2c56e2));}['_registerFloatingToolbar'](){const _0x49fb36=_0x1f6723;this[_0x49fb36(0x18f)](this[_0x49fb36(0x4a1)]['register'](_0x51fd45,_0x1a1021));}[_0x1f6723(0x1a0)](){const _0x3c3da6=_0x1f6723;this[_0x3c3da6(0x18f)](this['_componentManager'][_0x3c3da6(0x160)](_0x50e49e,_0x4288cd)),this[_0x3c3da6(0x18f)](this[_0x3c3da6(0x4a1)]['register'](_0xed3168,_0x266409));}};_0x527c2c=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x376)])),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x342c24[_0x1f6723(0x18a)]))],_0x527c2c);let _0x3f3d6a=class extends _0x179bf7['Disposable']{constructor(_0x15a554,_0x4463a6,_0x2a7e68,_0x43e038,_0x3d0d10,_0x25fbc2,_0x2502dc,_0xf83b0b,_0xba473,_0x333b8b,_0x57bf8e,_0xa1a448,_0x4d22c2){const _0xd36547=_0x1f6723;super(),this['_univerInstanceService']=_0x15a554,this['_sidebarService']=_0x4463a6,this[_0xd36547(0x39b)]=_0x2a7e68,this[_0xd36547(0x4ae)]=_0x43e038,this['_localeService']=_0x3d0d10,this[_0xd36547(0x213)]=_0x25fbc2,this[_0xd36547(0x41e)]=_0x2502dc,this[_0xd36547(0x385)]=_0xf83b0b,this[_0xd36547(0x33a)]=_0xba473,this['_contextService']=_0x333b8b,this[_0xd36547(0x16e)]=_0x57bf8e,this[_0xd36547(0x49a)]=_0xa1a448,this[_0xd36547(0x2b9)]=_0x4d22c2,_0x6a547(this,_0xd36547(0x362),null),_0x6a547(this,_0xd36547(0x194),null),_0x6a547(this,_0xd36547(0x3d1),!0x1),_0x6a547(this,_0xd36547(0x493),0x0),_0x6a547(this,'_disposePopupsByUnit',new Map()),_0x6a547(this,'_popupTargetKeys',new Map()),this[_0xd36547(0x23f)](),this['disposeWithMe'](this[_0xd36547(0x35b)]['getCurrentTypeOfUnit$'](_0x179bf7['UniverInstanceType']['UNIVER_DOC'])['subscribe'](_0x5c3878=>{const _0x1675f1=_0xd36547;if(!_0x5c3878){var _0xb23c2b;(_0xb23c2b=this[_0x1675f1(0x362)])==null||_0xb23c2b[_0x1675f1(0x2ba)]();}})),this['_registerOperations'](),this[_0xd36547(0x18f)]((0x0,_0x257c32[_0xd36547(0x1bd)])(this[_0xd36547(0x33a)],_0x179bf7[_0xd36547(0x42f)]['UNIVER_DOC'],_0x54822d=>this[_0xd36547(0x3cd)](_0x54822d))),this[_0xd36547(0x18f)](this[_0xd36547(0x16e)][_0xd36547(0x310)]['subscribe'](_0x21e32f=>{_0x21e32f&&this['_clearPopups'](void 0x0,!0x0);})),this[_0xd36547(0x18f)](this[_0xd36547(0x49a)]['permissionPointUpdate$'][_0xd36547(0x37a)](()=>{const _0x291aa8=_0xd36547;this['_drawingManagerService'][_0x291aa8(0x2b0)]()[_0x291aa8(0x215)](_0x464e7e=>_0x464e7e[_0x291aa8(0x31a)]===_0x179bf7[_0x291aa8(0x121)]['DRAWING_SHAPE']&&this[_0x291aa8(0x35b)][_0x291aa8(0x1b1)](_0x464e7e[_0x291aa8(0x2aa)])===_0x179bf7[_0x291aa8(0x42f)][_0x291aa8(0x369)]&&!this[_0x291aa8(0x1e1)](_0x464e7e[_0x291aa8(0x2aa)],_0x464e7e[_0x291aa8(0x140)]))&&(this[_0x291aa8(0x252)](void 0x0,!0x0),this[_0x291aa8(0x1c7)]());}));}[_0x1f6723(0x241)](_0x3dd1f8,_0x442c8a,_0x301b27,_0x4fe0b1){const _0x375b87=_0x1f6723;return[{'label':_0x375b87(0x1a8),'index':0x0,'commandId':_0x344cfa['id'],'commandParams':{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27},'disable':_0x4fe0b1===_0x179bf7[_0x375b87(0x121)][_0x375b87(0x2b6)]},{'label':_0x375b87(0x39f),'index':0x1,'commandId':_0x3a4044[_0x375b87(0x188)]['id'],'commandParams':{'unitId':_0x3dd1f8,'drawings':[{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27}]},'disable':!0x1},{'label':_0x375b87(0x36d),'index':0x2,'commandId':_0x4fb5aa['id'],'commandParams':{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27},'disable':!0x1}];}[_0x1f6723(0x23f)](){const _0x4b8668=_0x1f6723;this['_menuManagerService'][_0x4b8668(0x425)](_0x44179d);}[_0x1f6723(0x172)](_0x179b2c,_0x8c58bd,_0x58edd8){const _0xcd4d99=_0x1f6723;let _0x532cf0=this[_0xcd4d99(0x4ae)]['getShapeTypeById'](_0x179b2c,_0x8c58bd,_0x58edd8),_0x49e91a=this[_0xcd4d99(0x4ae)]['getShapeDataById'](_0x179b2c,_0x8c58bd,_0x58edd8);return _0x532cf0===void 0x0||_0x49e91a===void 0x0?null:{'shapeData':_0x49e91a,'shapeId':_0x58edd8,'shapeType':_0x532cf0,'unitId':_0x179b2c,'subUnitId':_0x8c58bd,'version':this[_0xcd4d99(0x493)],'disableShapeOption':!0x1};}['_clearPopups'](_0xc84b8a,_0x3a02a4=!0x1){const _0x42685b=_0x1f6723;if(_0xc84b8a==null){[...this['_disposePopupsByUnit']['keys']()]['forEach'](_0x583405=>this['_clearPopups'](_0x583405,_0x3a02a4));return;}let _0x3f4262=this[_0x42685b(0x3cc)][_0x42685b(0x2c6)](_0xc84b8a);if(_0x3f4262){for(let _0x5eb0db=_0x3f4262[_0x42685b(0x231)]-0x1;_0x5eb0db>=0x0;--_0x5eb0db){let _0x2eb0b6=_0x3f4262[_0x5eb0db];(_0x3a02a4||_0x2eb0b6[_0x42685b(0x349)]())&&(_0x2eb0b6['dispose'](),_0x3f4262[_0x42685b(0x1a5)](_0x5eb0db,0x1));}_0x3f4262[_0x42685b(0x231)]===0x0&&(this[_0x42685b(0x3cc)]['delete'](_0xc84b8a),this['_popupTargetKeys'][_0x42685b(0x33d)](_0xc84b8a));}}[_0x1f6723(0x23e)](_0x39f81e){const _0x59beb0=_0x1f6723;let _0x380644=this['_disposePopupsByUnit'][_0x59beb0(0x2c6)](_0x39f81e);if(_0x380644)return _0x380644;let _0x22a11c=[];return this[_0x59beb0(0x3cc)]['set'](_0x39f81e,_0x22a11c),_0x22a11c;}[_0x1f6723(0x3cd)](_0x1f0065){const _0x381986=_0x1f6723;var _0x42ccb1;let _0x374460=new _0x179bf7[(_0x381986(0x446))](),_0x929f8f=(_0x42ccb1=this[_0x381986(0x33a)]['getAllRenderersOfType'](_0x179bf7[_0x381986(0x42f)][_0x381986(0x369)])['find'](_0x17c552=>_0x17c552[_0x381986(0x280)][_0x381986(0x49d)]()===_0x1f0065))==null?void 0x0:_0x42ccb1[_0x381986(0x2aa)];return _0x929f8f?(_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x260)][_0x381986(0x37a)](()=>this['_handleCreateControl'](_0x1f0065,_0x929f8f))),_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x344)][_0x381986(0x37a)](()=>{const _0x2cedaa=_0x381986;this[_0x2cedaa(0x252)](_0x929f8f),queueMicrotask(()=>{const _0x27faf9=_0x2cedaa;_0x1f0065['getSelectedObjectMap']()['size']>0x0||!this[_0x27faf9(0x41e)]['getFocusDrawings']()[_0x27faf9(0x215)](_0x183ef1=>_0x183ef1['unitId']===_0x929f8f)||(this[_0x27faf9(0x492)][_0x27faf9(0x122)](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x27faf9(0x389)](null));});})),_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x4a8)][_0x381986(0x37a)](()=>{this['_clearPopups'](_0x929f8f,!0x0);})),_0x374460):_0x374460;}[_0x1f6723(0x1c8)](_0x127ee6,_0x5521f0){const _0x152a05=_0x1f6723;let _0xb5c445=_0x127ee6[_0x152a05(0x128)]();if(this[_0x152a05(0x3d1)]){this[_0x152a05(0x252)](_0x5521f0,!0x0);return;}if(_0xb5c445[_0x152a05(0x2b5)]>0x1){this[_0x152a05(0x252)](_0x5521f0);return;}let _0x3ab521=_0xb5c445[_0x152a05(0x3e7)]()[_0x152a05(0x431)]()[_0x152a05(0x442)];if(!_0x3ab521){this['_clearPopups'](_0x5521f0);return;}let _0x5ec6eb=this[_0x152a05(0x41e)][_0x152a05(0x44f)](_0x3ab521[_0x152a05(0x377)]);if(!_0x5ec6eb||_0x5ec6eb[_0x152a05(0x31a)]!==_0x179bf7[_0x152a05(0x121)][_0x152a05(0x29c)]){this['_clearPopups'](_0x5521f0);return;}let {unitId:_0x23bf93,subUnitId:_0x417c80,drawingId:_0x1f0a8a}=_0x5ec6eb;if(!this[_0x152a05(0x1e1)](_0x23bf93,_0x1f0a8a)){this[_0x152a05(0x252)](_0x5521f0,!0x0);return;}let _0x14c9b4=this[_0x152a05(0x172)](_0x23bf93,_0x417c80,_0x1f0a8a);if(!_0x14c9b4){this[_0x152a05(0x252)](_0x5521f0);return;}let _0x21be73=this[_0x152a05(0x3cc)][_0x152a05(0x2c6)](_0x5521f0),_0x1305d4=_0x23bf93+':'+_0x417c80+':'+_0x1f0a8a;if(this[_0x152a05(0x384)][_0x152a05(0x2c6)](_0x5521f0)===_0x1305d4&&_0x21be73!=null&&_0x21be73[_0x152a05(0x231)])return;this[_0x152a05(0x252)](_0x5521f0);let _0x43a0b2=this[_0x152a05(0x33a)]['getRenderUnitById'](_0x23bf93),_0x4accbf=((_0x43a0b2==null?void 0x0:_0x43a0b2['isMainScene'])===!0x1?_0x43a0b2[_0x152a05(0x1e4)](_0x33827d[_0x152a05(0x1ae)]):this['_docCanvasPopManagerService'])['attachPopupToObject'](_0x3ab521,this[_0x152a05(0x229)](_0x14c9b4,()=>this[_0x152a05(0x252)](_0x5521f0,!0x0)),_0x23bf93);this['disposeWithMe'](_0x4accbf),this[_0x152a05(0x23e)](_0x5521f0)['push'](_0x4accbf),this[_0x152a05(0x384)][_0x152a05(0x21a)](_0x5521f0,_0x1305d4),this[_0x152a05(0x41e)][_0x152a05(0x2b0)]()['some'](_0x826168=>_0x826168[_0x152a05(0x2aa)]===_0x23bf93&&_0x826168[_0x152a05(0x189)]===_0x417c80&&_0x826168['drawingId']===_0x1f0a8a)||this[_0x152a05(0x41e)][_0x152a05(0x389)]([{'unitId':_0x23bf93,'subUnitId':_0x417c80,'drawingId':_0x1f0a8a}]);}['_getShapePopup'](_0x3d402f,_0x212259){const _0x338d91=_0x1f6723;let {unitId:_0x4ac3b3,subUnitId:_0x3b6681,shapeId:_0x5a3491}=_0x3d402f,_0x32b780={'hostType':_0x179bf7['UniverInstanceType'][_0x338d91(0x369)],'unitId':_0x4ac3b3,'subUnitId':_0x3b6681,'shapeId':_0x5a3491};return{'componentKey':_0x51fd45,'direction':_0x338d91(0x37b),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x3d402f[_0x338d91(0x24e)],'onText':()=>{const _0x1d89cb=_0x338d91;_0x212259(),this[_0x1d89cb(0x2b9)][_0x1d89cb(0x1dc)]('text',_0x32b780);},'onStyle':()=>{const _0x5110ec=_0x338d91;_0x212259(),this[_0x5110ec(0x2b9)][_0x5110ec(0x1dc)](_0x5110ec(0x207),_0x32b780);},'onDelete':()=>this[_0x338d91(0x213)][_0x338d91(0x15c)](_0x3a4044[_0x338d91(0x188)]['id'],{'unitId':_0x4ac3b3,'drawings':[{'unitId':_0x4ac3b3,'subUnitId':_0x3b6681,'drawingId':_0x5a3491}]})}};}[_0x1f6723(0x1e1)](_0x4898b0,_0x42c1be){const _0x34b840=_0x1f6723;let _0x1442d=this[_0x34b840(0x35b)][_0x34b840(0x259)](_0x4898b0,_0x179bf7[_0x34b840(0x42f)][_0x34b840(0x369)]);if(!_0x1442d)return!0x1;let _0x1c6159=(0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x1442d,_0x42c1be);return(0x0,_0x31f1d7['canEditDocumentTargets'])(this['_permissionService'],_0x4898b0,[...(0x0,_0x31f1d7[_0x34b840(0x46a)])(_0x1442d,_0x1c6159,_0x34b840(0x199),_0x42c1be),(0x0,_0x31f1d7[_0x34b840(0x2da)])(_0x1c6159,_0x34b840(0x199),_0x42c1be)]);}[_0x1f6723(0x43a)](){const _0xe4ed7f=_0x1f6723;this['disposeWithMe'](this[_0xe4ed7f(0x213)][_0xe4ed7f(0x2e4)](_0x2a958f=>{const _0x4afdf1=_0xe4ed7f;if(_0x2a958f['id']===_0x344cfa['id']){let {unitId:_0x1f7b42,subUnitId:_0x3fe10b,drawingId:_0x5efa6e}=_0x2a958f['params'];this[_0x4afdf1(0x493)]+=0x1,this[_0x4afdf1(0x194)]=this[_0x4afdf1(0x172)](_0x1f7b42,_0x3fe10b,_0x5efa6e),this['_clearPopups'](void 0x0,!0x0),this[_0x4afdf1(0x3a3)]();}if(_0x2a958f['id']===_0x4fb5aa['id']&&(this[_0x4afdf1(0x194)]=null,this['_closeShapeEditPanel']()),_0x2a958f['id']===_0x1d4bf7[_0x4afdf1(0x34a)]['id']){var _0x9c93e1;let {unitId:_0x528713,shapeId:_0x222278}=_0x2a958f[_0x4afdf1(0x41b)];if(((_0x9c93e1=this[_0x4afdf1(0x194)])==null?void 0x0:_0x9c93e1[_0x4afdf1(0x36e)])===_0x222278){let _0x155041=this[_0x4afdf1(0x172)](_0x528713,this[_0x4afdf1(0x194)][_0x4afdf1(0x189)],_0x222278);_0x155041&&(this[_0x4afdf1(0x493)]+=0x1,_0x155041['version']=this['_shapeEditPanelVersion'],this[_0x4afdf1(0x194)]=_0x155041,this[_0x4afdf1(0x3d1)]&&this[_0x4afdf1(0x3a3)]());}}})),this[_0xe4ed7f(0x18f)](this[_0xe4ed7f(0x41e)][_0xe4ed7f(0x2e7)][_0xe4ed7f(0x37a)](_0x4b54e7=>{const _0x320188=_0xe4ed7f;if(!this['_isOpenedShapeEditPanel'])return;if(_0x4b54e7[_0x320188(0x231)]===0x0){this[_0x320188(0x194)]=null,this[_0x320188(0x1c7)]();return;}if(_0x4b54e7[_0x320188(0x231)]===0x1&&_0x4b54e7[0x0][_0x320188(0x31a)]===_0x179bf7[_0x320188(0x121)][_0x320188(0x29c)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x320188(0x194)]=this[_0x320188(0x172)](_0x4b54e7[0x0]['unitId'],_0x4b54e7[0x0][_0x320188(0x189)],_0x4b54e7[0x0][_0x320188(0x140)]),this[_0x320188(0x194)])){this[_0x320188(0x3a3)]();return;}let _0x5edfca=_0x4b54e7['filter'](_0x251300=>_0x251300['drawingType']===_0x179bf7[_0x320188(0x121)]['DRAWING_SHAPE']);if(this[_0x320188(0x493)]+=0x1,this['_activeShapeInfo']=this[_0x320188(0x172)](_0x4b54e7[0x0][_0x320188(0x2aa)],_0x4b54e7[0x0][_0x320188(0x189)],_0x4b54e7[0x0][_0x320188(0x140)]),this[_0x320188(0x194)]&&_0x4b54e7['length']>0x1&&_0x5edfca[_0x320188(0x231)]===_0x4b54e7[_0x320188(0x231)]){this[_0x320188(0x3a3)]();return;}if(this[_0x320188(0x194)]&&_0x5edfca[_0x320188(0x231)]!==_0x4b54e7[_0x320188(0x231)]){this[_0x320188(0x194)][_0x320188(0x3bf)]=!0x0,this[_0x320188(0x3a3)]();return;}this[_0x320188(0x1c7)]();}));}[_0x1f6723(0x3a3)](){const _0x5926be=_0x1f6723;this[_0x5926be(0x194)]&&(this[_0x5926be(0x362)]=this[_0x5926be(0x363)]['open']({'id':_0x138c9c,'header':{'title':this['_localeService']['t'](_0x5926be(0x309))},'width':0x184,'children':{'label':_0x138c9c,...this[_0x5926be(0x194)]},'onClose':()=>{const _0x10e585=_0x5926be;this[_0x10e585(0x41e)][_0x10e585(0x389)](null),this[_0x10e585(0x492)]['setContextValue'](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x10e585(0x362)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x3cb947=_0x1f6723;this[_0x3cb947(0x3d1)]=!0x1,this[_0x3cb947(0x363)][_0x3cb947(0x312)](_0x138c9c),this[_0x3cb947(0x362)]=null,this['_contextService'][_0x3cb947(0x122)](_0x179bf7[_0x3cb947(0x4a2)],!0x1),this[_0x3cb947(0x41e)][_0x3cb947(0x389)](null);}};_0x3f3d6a=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x126)])),_0x23cccd(0x2,_0x342c24['IMenuManagerService']),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7['DocsShapeService'])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7['LocaleService'])),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x6,_0x567d02['IDrawingManagerService']),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocCanvasPopManagerService'])),_0x23cccd(0x8,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x9,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0xa,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0xb,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0xc,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x257c32[_0x1f6723(0x450)]))],_0x3f3d6a);let _0x5d802c=_0x1f6723(0x3e3),_0x7e1561=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x1003f0,_0x523b46,_0x4ea89b,_0x36bf34,_0x553d00,_0x1bf22d){const _0x56c284=_0x1f6723;super(),this[_0x56c284(0x39b)]=_0x1003f0,this[_0x56c284(0x1ef)]=_0x523b46,this[_0x56c284(0x41e)]=_0x4ea89b,this[_0x56c284(0x35b)]=_0x36bf34,this[_0x56c284(0x33a)]=_0x553d00,this[_0x56c284(0x43d)]=_0x1bf22d,_0x6a547(this,_0x56c284(0x2e1),!0x1),this['_menuManagerService'][_0x56c284(0x425)](_0x4f740a),this[_0x56c284(0x18f)]((0x0,_0x179bf7[_0x56c284(0x4a5)])(this[_0x56c284(0x41e)][_0x56c284(0x2e7)][_0x56c284(0x37a)](()=>this['_update']()))),this[_0x56c284(0x32b)]();}[_0x1f6723(0x2ba)](){const _0x36bd56=_0x1f6723;this[_0x36bd56(0x43d)][_0x36bd56(0x459)](!0x1,_0x5d802c),this[_0x36bd56(0x253)](),super[_0x36bd56(0x2ba)]();}[_0x1f6723(0x32b)](){const _0x2a0d3a=_0x1f6723;var _0x59e6ea;let _0x5c079c=this[_0x2a0d3a(0x41e)][_0x2a0d3a(0x2b0)](),_0x13d1eb=_0x5c079c[_0x2a0d3a(0x231)]===0x1?_0x5c079c[0x0]:void 0x0;if((_0x13d1eb==null?void 0x0:_0x13d1eb['drawingType'])!==_0x179bf7[_0x2a0d3a(0x121)][_0x2a0d3a(0x29c)]||this[_0x2a0d3a(0x35b)][_0x2a0d3a(0x1b1)](_0x13d1eb[_0x2a0d3a(0x2aa)])!==_0x179bf7[_0x2a0d3a(0x42f)][_0x2a0d3a(0x369)]){this[_0x2a0d3a(0x43d)][_0x2a0d3a(0x459)](!0x1,_0x5d802c),this[_0x2a0d3a(0x253)]();return;}let _0x22ae7d=(_0x59e6ea=this[_0x2a0d3a(0x33a)][_0x2a0d3a(0x1bc)](_0x13d1eb[_0x2a0d3a(0x2aa)]))==null?void 0x0:_0x59e6ea['engine']['getCanvasElement'](),_0x14fc22=(0x0,_0x257c32[_0x2a0d3a(0x1aa)])(_0x22ae7d)===_0x2a0d3a(0x31e);if(this['_shapeFloatingToolbarService'][_0x2a0d3a(0x459)](_0x14fc22,_0x5d802c),_0x14fc22){this[_0x2a0d3a(0x253)]();return;}this[_0x2a0d3a(0x2e1)]=!0x0,this['_ribbonService'][_0x2a0d3a(0x1c5)](_0x4008c0,{'activate':!0x0});}[_0x1f6723(0x253)](){const _0x1cbeac=_0x1f6723;this[_0x1cbeac(0x2e1)]&&(this[_0x1cbeac(0x2e1)]=!0x1,this[_0x1cbeac(0x1ef)]['hideContextualTab'](_0x4008c0),this[_0x1cbeac(0x1ef)]['setCollapsedIds']([]));}};_0x7e1561=_0x139e28([_0x23cccd(0x0,_0x342c24[_0x1f6723(0x1c9)]),_0x23cccd(0x1,_0x342c24[_0x1f6723(0x1d7)]),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x5,(0x0,_0x179bf7['Inject'])(_0x257c32[_0x1f6723(0x29a)]))],_0x7e1561);let _0x3eb109=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x28ce53,_0x17e75b,_0x76322,_0x201774){const _0x5799e5=_0x1f6723;super(),this[_0x5799e5(0x213)]=_0x28ce53,this['_renderManagerService']=_0x17e75b,this['_drawingManagerService']=_0x76322,this[_0x5799e5(0x14e)]=_0x201774,this[_0x5799e5(0x444)]();}['_initialize'](){const _0x2f42d9=_0x1f6723;this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x41e)][_0x2f42d9(0x37c)]['subscribe'](_0x212300=>this['_insertShapes'](_0x212300))),this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x41e)][_0x2f42d9(0x151)][_0x2f42d9(0x37a)](_0xd113c0=>{const _0x17201b=_0x2f42d9;_0xd113c0[_0x17201b(0x32c)](_0x130318=>this[_0x17201b(0x2ae)](_0x130318));})),this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x213)]['onCommandExecuted'](_0xe9dc92=>{const _0x1901a3=_0x2f42d9;if(_0xe9dc92['id']!==_0x1d4bf7[_0x1901a3(0x34a)]['id'])return;let {unitId:_0x2e6e00,shapeId:_0x46f55b}=_0xe9dc92[_0x1901a3(0x41b)];this[_0x1901a3(0x350)]({'unitId':_0x2e6e00,'subUnitId':_0x2e6e00,'drawingId':_0x46f55b});}));}[_0x1f6723(0x2e8)](_0x4bd83c){const _0x51af2d=_0x1f6723;_0x4bd83c[_0x51af2d(0x32c)](_0x2f5d61=>{const _0x3eee60=_0x51af2d;let _0x3d9e27=this[_0x3eee60(0x1e6)](_0x2f5d61[_0x3eee60(0x2aa)]);if(!_0x3d9e27)return;let _0x577016=this['_drawingManagerService'][_0x3eee60(0x235)](_0x2f5d61);(_0x577016==null?void 0x0:_0x577016[_0x3eee60(0x31a)])===_0x179bf7[_0x3eee60(0x121)]['DRAWING_SHAPE']&&this[_0x3eee60(0x14e)]['renderDrawingShape'](_0x577016,_0x3d9e27['scene']);});}[_0x1f6723(0x2ae)](_0x14d6ee){const _0x3c7f24=_0x1f6723;let _0x2e63e2=this[_0x3c7f24(0x41e)][_0x3c7f24(0x235)](_0x14d6ee);if((_0x2e63e2==null?void 0x0:_0x2e63e2[_0x3c7f24(0x31a)])!==_0x179bf7['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x2f4482=this['_getSceneByUnitId'](_0x14d6ee[_0x3c7f24(0x2aa)]);if(!_0x2f4482||_0x2e63e2[_0x3c7f24(0x182)]==null)return;let _0x5a91d2=(0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])(_0x14d6ee),_0x28a100=_0x2f4482[_0x3c7f24(0x280)]['getObjectIncludeInGroup'](_0x5a91d2);_0x28a100&&(_0x28a100[_0x3c7f24(0x153)](_0x2e63e2['srcRect']),_0x28a100[_0x3c7f24(0x4a0)](_0x2e63e2[_0x3c7f24(0x342)]),_0x28a100[_0x3c7f24(0x402)](!0x0));}[_0x1f6723(0x350)](_0x4c9517){const _0x5103dc=_0x1f6723;let _0x2bf1bb=this[_0x5103dc(0x1e6)](_0x4c9517[_0x5103dc(0x2aa)]);if(!_0x2bf1bb)return;let _0x29edc9=(0x0,_0x567d02[_0x5103dc(0x1e8)])(_0x4c9517),_0x2ecb81=_0x2bf1bb[_0x5103dc(0x280)]['getObjectIncludeInGroup'](_0x29edc9);_0x2ecb81&&(this[_0x5103dc(0x14e)][_0x5103dc(0x467)](_0x2ecb81),this['_docDrawingShapeRenderController'][_0x5103dc(0x2a1)](_0x2ecb81,{'unitId':_0x4c9517['unitId'],'subUnitId':_0x4c9517[_0x5103dc(0x189)],'shapeId':_0x4c9517[_0x5103dc(0x140)]}),_0x2ecb81[_0x5103dc(0x402)](!0x0));}[_0x1f6723(0x1e6)](_0x3fa3d2){const _0x2d0133=_0x1f6723;if(_0x3fa3d2==null)return null;let _0x38f3fb=this[_0x2d0133(0x33a)][_0x2d0133(0x1bc)](_0x3fa3d2),_0x4000dc=_0x38f3fb==null?void 0x0:_0x38f3fb[_0x2d0133(0x280)];return _0x4000dc==null?null:{'scene':_0x4000dc};}};_0x3eb109=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x1,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x26cade))],_0x3eb109);let _0x173d84=class extends _0x179bf7[_0x1f6723(0x477)]{constructor(_0x3ef309=_0x1b5005,_0x4cbb9c,_0x44eae0,_0x2579fc,_0x47602f){const _0x378503=_0x1f6723;super(),this[_0x378503(0x2e0)]=_0x3ef309,this[_0x378503(0x48a)]=_0x4cbb9c,this[_0x378503(0x213)]=_0x44eae0,this[_0x378503(0x2f4)]=_0x2579fc,this['_renderManagerService']=_0x47602f;let {menu:_0x9f7b96,..._0x5400d2}=(0x0,_0x179bf7['merge'])({},_0x1b5005,this[_0x378503(0x2e0)]);_0x9f7b96&&this[_0x378503(0x2f4)][_0x378503(0x163)](_0x378503(0x422),_0x9f7b96,{'merge':!0x0}),this[_0x378503(0x2f4)][_0x378503(0x163)](_0x49f7b9,_0x5400d2),[_0x171f92,_0x4fb5aa,_0x344cfa,_0x57f7a8,_0x155dac,_0x1317e1][_0x378503(0x32c)](_0x3f539c=>this[_0x378503(0x18f)](this['_commandService'][_0x378503(0x2f1)](_0x3f539c)));}[_0x1f6723(0x3e0)](){const _0x5d9dc8=_0x1f6723;let _0x213e08=[[_0x527c2c],[_0x3f3d6a],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x32a51d],[_0x142998],[_0x26fa84],[_0x1bc893],[_0x7e1561]];(0x0,_0x179bf7[_0x5d9dc8(0x2f3)])(this[_0x5d9dc8(0x48a)],_0x213e08),this['_injector'][_0x5d9dc8(0x2c6)](_0x527c2c);}[_0x1f6723(0x315)](){const _0x11445c=_0x1f6723;this[_0x11445c(0x18f)](this[_0x11445c(0x33a)]['registerRenderModule'](_0x179bf7['UniverInstanceType'][_0x11445c(0x369)],[_0x32a51d])),(0x0,_0x179bf7[_0x11445c(0x3e5)])(this[_0x11445c(0x48a)],[[_0x3f3d6a],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x142998],[_0x26fa84],[_0x1bc893],[_0x7e1561]]);}};_0x6a547(_0x173d84,'type',_0x179bf7[_0x1f6723(0x42f)][_0x1f6723(0x369)]),_0x6a547(_0x173d84,'pluginName',_0x1f6723(0x387)),_0x6a547(_0x173d84,_0x1f6723(0x3b1),_0x2a39c7),_0x6a547(_0x173d84,_0x1f6723(0x3fa),_0x23b802),_0x173d84=_0x139e28([(0x0,_0x179bf7[_0x1f6723(0x43b)])(_0x58581a['UniverLicensePlugin'],_0x31f1d7[_0x1f6723(0x11f)],_0x567d02[_0x1f6723(0x306)],_0x5656f0[_0x1f6723(0x203)],_0x1126ec[_0x1f6723(0x3a5)],_0x33827d['UniverDocsMobileUIPlugin'],_0x198678[_0x1f6723(0x455)],_0x4b09d7[_0x1f6723(0x27b)],_0x1d4bf7[_0x1f6723(0x1d1)],_0x257c32[_0x1f6723(0x302)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7[_0x1f6723(0x181)])),_0x23cccd(0x2,_0x179bf7['ICommandService']),_0x23cccd(0x3,_0x179bf7['IConfigService']),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)])],_0x173d84);let _0x4e6a45=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x444e2a,_0x15ca5a){const _0x57acd0=_0x1f6723;super(),this[_0x57acd0(0x4a1)]=_0x444e2a,this[_0x57acd0(0x4b1)]=_0x15ca5a,this[_0x57acd0(0x48b)](),this['_registerComponents']();}[_0x1f6723(0x48b)](){const _0xcde67b=_0x1f6723;this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)]('ObjectLayersIcon')||this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)]({'ObjectLayersIcon':_0x513f1a})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x34c))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'BottomIcon':_0x4d1c39})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x3d4))||this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)]({'MoveDownIcon':_0x9f23a2})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x197))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'MoveUpIcon':_0x3869ba})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x3dc))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'ShapeFormatSettingIcon':_0x230edf})),this[_0xcde67b(0x4b1)]['has']('TopmostIcon')||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'TopmostIcon':_0xd27de2})),this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)](_0x11a507));}[_0x1f6723(0x307)](){const _0x18f036=_0x1f6723;this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x138c9c,_0x1ff39a)),this['_registerObjectListPanel'](),this[_0x18f036(0x291)](),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x3e7612,_0xf4080c)),this['disposeWithMe'](this[_0x18f036(0x4a1)]['register'](_0x21c9ec,_0x509acc)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x47fb23,_0x1a18d1)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x517deb,_0x15d181)),this[_0x18f036(0x18f)](this['_componentManager']['register'](_0xf7d6ad,_0x10ab8f)),this[_0x18f036(0x18f)](this['_componentManager'][_0x18f036(0x160)](_0x110c09,_0x257c32[_0x18f036(0x272)])),this[_0x18f036(0x1a0)](),this['_componentManager'][_0x18f036(0x38d)](_0x5656f0[_0x18f036(0x4af)])||this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x5656f0[_0x18f036(0x4af)],_0x57e581)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x13f5c4,_0x14ef5c));}[_0x1f6723(0x30f)](){const _0x5e5687=_0x1f6723;this[_0x5e5687(0x18f)](this['_componentManager'][_0x5e5687(0x160)](_0x4872be,_0x3292ea));}[_0x1f6723(0x291)](){const _0x45a822=_0x1f6723;this['disposeWithMe'](this[_0x45a822(0x4a1)][_0x45a822(0x160)](_0x51fd45,_0x2feffd));}['_registerPickers'](){const _0x440417=_0x1f6723;this[_0x440417(0x18f)](this[_0x440417(0x4a1)][_0x440417(0x160)](_0x50e49e,_0x6c1722)),this[_0x440417(0x18f)](this[_0x440417(0x4a1)][_0x440417(0x160)](_0xed3168,_0x9b0db7));}};_0x4e6a45=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7['Inject'])(_0x342c24[_0x1f6723(0x376)])),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x18a)]))],_0x4e6a45);let _0x4abcb2=class extends _0x179bf7['Disposable']{constructor(_0xa455bf,_0x4a1b5d,_0x23b855,_0x25b869,_0x523979,_0x5d1753,_0x118295,_0x484d5b,_0x2039a2){const _0x2c7c59=_0x1f6723;super();let _0xec79a5=_0x2790c9=>{const _0xb0b933=_0x5827;let _0x3c925a=_0x5d1753[_0xb0b933(0x259)](_0x2790c9[_0xb0b933(0x2aa)],_0x179bf7[_0xb0b933(0x42f)][_0xb0b933(0x369)]),_0x583903=_0x3c925a?(0x0,_0x31f1d7[_0xb0b933(0x327)])(_0x3c925a,_0x2790c9['shapeId']):'';return!!_0x3c925a&&(0x0,_0x31f1d7[_0xb0b933(0x380)])(_0x484d5b,_0x2790c9[_0xb0b933(0x2aa)],[(0x0,_0x31f1d7['getDocumentEntityPermissionObjectId'])(_0x583903,_0xb0b933(0x199),_0x2790c9[_0xb0b933(0x36e)]),...(0x0,_0x31f1d7[_0xb0b933(0x46a)])(_0x3c925a,_0x583903,_0xb0b933(0x199),_0x2790c9['shapeId'])]);},_0x4956c6=_0x1df41=>_0x1df41['shapeId']&&_0xec79a5(_0x1df41)?_0x23b855[_0x2c7c59(0x43e)](_0x1df41[_0x2c7c59(0x2aa)],_0x1df41[_0x2c7c59(0x36e)])??null:null,_0x746a9c=()=>{const _0x103ff2=_0x2c7c59;let _0x4b8d9c=_0x523979[_0x103ff2(0x2b0)](),_0x7308c6=_0x4b8d9c['length']===0x1?_0x4b8d9c[0x0]:null;return(_0x7308c6==null?void 0x0:_0x7308c6[_0x103ff2(0x31a)])===_0x179bf7[_0x103ff2(0x121)]['DRAWING_SHAPE']&&_0x7308c6[_0x103ff2(0x2aa)]===_0xa455bf[_0x103ff2(0x2aa)]?{'unitId':_0x7308c6[_0x103ff2(0x2aa)],'subUnitId':_0x7308c6['subUnitId'],'shapeId':_0x7308c6['drawingId']}:null;};this[_0x2c7c59(0x18f)]((0x0,_0x257c32[_0x2c7c59(0x30b)])(_0xa455bf,_0x4a1b5d,{'changes$':(0x0,_0x5cf427[_0x2c7c59(0x283)])(_0x523979[_0x2c7c59(0x2e7)],_0x25b869['editingParams$'],_0x484d5b[_0x2c7c59(0x16a)]),'isActive':()=>{const _0x1c041a=_0x2c7c59;var _0x5380b9;return((_0x5380b9=_0x5d1753[_0x1c041a(0x414)]())==null?void 0x0:_0x5380b9[_0x1c041a(0x40d)]())===_0xa455bf[_0x1c041a(0x2aa)]&&!_0x118295['getContextValue'](_0x179bf7[_0x1c041a(0x187)])&&_0x523979[_0x1c041a(0x2b0)]()['some'](_0x2b08f3=>_0x2b08f3[_0x1c041a(0x2aa)]===_0xa455bf[_0x1c041a(0x2aa)]);},'getSelectedTarget':_0x746a9c,'getSource':()=>{let _0x4091e9=_0x746a9c();return _0x4091e9?_0x4956c6(_0x4091e9):null;},'getTarget':_0x3c3353=>{const _0x683366=_0x2c7c59;let _0x5545f=_0xa455bf['scene'][_0x683366(0x43c)](new _0x1126ec['Vector2'](_0x3c3353['offsetX'],_0x3c3353[_0x683366(0x287)]));if(!(_0x5545f instanceof _0x229152))return null;let _0x5ae939={'unitId':_0xa455bf[_0x683366(0x2aa)],'subUnitId':_0xa455bf[_0x683366(0x2aa)],'shapeId':_0x5545f['shapeId']};return _0xec79a5(_0x5ae939)?_0x5ae939:null;},'getShape':_0x4956c6,'update':(_0x264954,_0x2d3c14,_0x51d754)=>_0x2039a2['executeCommand'](_0x1d4bf7['UpdateDocShapeDataCommand']['id'],{..._0x264954,'shapeData':_0x51d754,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x2d3c14}})}));}};_0x4abcb2=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24['FormatPainterSessionService'])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x3,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0x4,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x6,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0x7,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0x8,_0x179bf7['ICommandService'])],_0x4abcb2);function _0x14ac8a(_0x243a02,_0x21f1a5){const _0x498688=_0x1f6723;let _0x16e44d=_0x243a02;for(;_0x16e44d;){if(_0x21f1a5(_0x16e44d))return _0x16e44d;_0x16e44d=typeof _0x16e44d[_0x498688(0x21c)]==_0x498688(0x1f2)?_0x16e44d[_0x498688(0x21c)]():null;}return null;}function _0x2eab05(_0x5debce){return _0x14ac8a(_0x5debce,_0x322057=>_0x322057 instanceof _0x229152);}function _0x3f7d7a(_0x480293){return(_0x480293==null?void 0x0:_0x480293['formulaBinding'])==null;}let _0x3c5128=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x5cc4fe,_0x27f152,_0x3de3b6,_0x13df02,_0x1a5dd2){const _0x43c7cc=_0x1f6723;super(),this[_0x43c7cc(0x364)]=_0x5cc4fe,this['_shapeTextEditingService']=_0x27f152,this[_0x43c7cc(0x41e)]=_0x3de3b6,this[_0x43c7cc(0x40a)]=_0x13df02,this[_0x43c7cc(0x4ae)]=_0x1a5dd2,_0x6a547(this,_0x43c7cc(0x3ae),null),_0x6a547(this,_0x43c7cc(0x277),null),this[_0x43c7cc(0x20d)](),this[_0x43c7cc(0x3b3)](),this['_initEditingParams']();}[_0x1f6723(0x2ba)](){const _0x1eb0c7=_0x1f6723;this[_0x1eb0c7(0x47e)](),super[_0x1eb0c7(0x2ba)]();}[_0x1f6723(0x20d)](){const _0x540e9f=_0x1f6723;let {scene:_0x527328}=this[_0x540e9f(0x364)];this[_0x540e9f(0x18f)](_0x527328[_0x540e9f(0x399)][_0x540e9f(0x176)]((_0x6b2aac,_0x110162)=>{const _0x301522=_0x540e9f;let {offsetX:_0x37e032,offsetY:_0x3c666}=_0x6b2aac,_0x332c57=_0x1126ec[_0x301522(0x17b)][_0x301522(0x443)]([_0x37e032,_0x3c666]),_0x5e0556=_0x2eab05(_0x527328[_0x301522(0x43c)](_0x332c57))??this[_0x301522(0x144)](_0x332c57);if(_0x5e0556){_0x110162['stopPropagation']();let _0x224c50=this[_0x301522(0x4ae)][_0x301522(0x21b)](_0x5e0556[_0x301522(0x2aa)],_0x5e0556[_0x301522(0x189)],_0x5e0556['shapeId']);if(!_0x224c50||(0x0,_0x2bd245[_0x301522(0x452)])(_0x224c50[_0x301522(0x2a0)]())||!_0x3f7d7a(_0x224c50['getShapeData']()))return;this[_0x301522(0x16e)][_0x301522(0x11e)]({'visible':!0x0,'unitId':_0x5e0556[_0x301522(0x2aa)],'subUnitId':_0x5e0556[_0x301522(0x189)],'shapeId':_0x5e0556[_0x301522(0x36e)],'shapeKey':_0x5e0556[_0x301522(0x377)]});}}));}[_0x1f6723(0x144)](_0x44c1e5){const _0x496e79=_0x1f6723;let {scene:_0x432d65}=this[_0x496e79(0x364)];return this[_0x496e79(0x41e)]['getFocusDrawings']()['map'](_0x325ad7=>_0x432d65[_0x496e79(0x457)]((0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])(_0x325ad7)))[_0x496e79(0x237)](_0x5db974=>_0x5db974 instanceof _0x229152&&_0x5db974[_0x496e79(0x2d4)](_0x44c1e5))??null;}[_0x1f6723(0x3b3)](){const _0xf73671=_0x1f6723;this[_0xf73671(0x18f)](this[_0xf73671(0x41e)][_0xf73671(0x2e7)][_0xf73671(0x37a)](_0x50dff3=>{const _0x569b0f=_0xf73671;if(_0x50dff3['length']===0x1){let _0x28f1d8=_0x50dff3[0x0],_0xbc1cd=this[_0x569b0f(0x41e)][_0x569b0f(0x235)](_0x28f1d8);if((_0xbc1cd==null?void 0x0:_0xbc1cd['drawingType'])===_0x179bf7['DrawingTypeEnum']['DRAWING_SHAPE']){let _0x5d26db=this[_0x569b0f(0x16e)][_0x569b0f(0x1db)]();if((_0x5d26db==null?void 0x0:_0x5d26db[_0x569b0f(0x36e)])===_0x28f1d8['drawingId']&&_0x5d26db['visible'])return;(0x0,_0x2bd245[_0x569b0f(0x452)])(this[_0x569b0f(0x4ae)][_0x569b0f(0x2a0)](_0x28f1d8[_0x569b0f(0x2aa)],_0x28f1d8[_0x569b0f(0x189)],_0x28f1d8['drawingId']))&&this['_shapeTextEditingService']['setEditing'](null);}else this[_0x569b0f(0x16e)]['completeEditing']();}else this[_0x569b0f(0x16e)]['completeEditing']();})),this[_0xf73671(0x18f)](this[_0xf73671(0x41e)][_0xf73671(0x45c)][_0xf73671(0x37a)](_0x511ad6=>{const _0x3d977c=_0xf73671;let _0x4918cd=this[_0x3d977c(0x16e)][_0x3d977c(0x1db)]();_0x4918cd&&_0x511ad6[_0x3d977c(0x215)](_0x214bf9=>_0x214bf9[_0x3d977c(0x140)]===_0x4918cd[_0x3d977c(0x36e)])&&this['_shapeTextEditingService'][_0x3d977c(0x11e)](null);}));}[_0x1f6723(0x49e)](){const _0x5995c6=_0x1f6723;this[_0x5995c6(0x18f)](this[_0x5995c6(0x16e)]['editingParams$']['subscribe'](_0x2c0417=>{const _0x951ae0=_0x5995c6;(_0x2c0417==null?void 0x0:_0x2c0417[_0x951ae0(0x3f9)])===!0x0&&_0x2c0417[_0x951ae0(0x2aa)]===this['_context'][_0x951ae0(0x2aa)]?this[_0x951ae0(0x277)]??=this[_0x951ae0(0x40a)][_0x951ae0(0x137)]():this[_0x951ae0(0x47e)]();let {scene:_0x1cfb50}=this['_context'];if(this[_0x951ae0(0x3ae)]){let _0x44200f=_0x1cfb50[_0x951ae0(0x457)](this[_0x951ae0(0x3ae)]);_0x44200f&&_0x44200f[_0x951ae0(0x11e)](!0x1);}if(_0x2c0417){let _0x2cbc4e=!!_0x2c0417[_0x951ae0(0x3f9)],_0x342ae1=_0x1cfb50['getObjectIncludeInGroup'](_0x2c0417[_0x951ae0(0x2ad)]);_0x342ae1&&(_0x342ae1[_0x951ae0(0x11e)](_0x2cbc4e),this['_lastEditingShapeKey']=_0x2c0417[_0x951ae0(0x2ad)]);}else this['_lastEditingShapeKey']=null;}));}[_0x1f6723(0x47e)](){const _0x17981b=_0x1f6723;var _0x55035e;(_0x55035e=this['_layoutInteraction'])==null||_0x55035e['dispose'](),this[_0x17981b(0x277)]=null;}};_0x3c5128=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,(0x0,_0x179bf7['Inject'])(_0x33827d['DocLayoutInteractionService'])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)]))],_0x3c5128);let _0x9f4c35=class extends _0x257c32['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x3d7c0e,_0x409b3e,_0x12db78,_0x264516,_0x5a0378,_0x4aefeb,_0x5a3497,_0xdc40d8,_0x195a4f,_0x2a5c99){super(_0x3d7c0e,_0x409b3e,_0x12db78,_0x264516,_0x5a0378,_0x4aefeb,_0x5a3497,_0xdc40d8,_0x195a4f,_0x2a5c99,{'componentKey':_0x110c09,'editorUnitId':_0x397c85});}};_0x9f4c35=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x31f1d7['DocSelectionManagerService'])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocCanvasPopManagerService'])),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1a3)])),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x5,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocEventManagerService'])),_0x23cccd(0x6,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x257c32['ShapeTextHyperLinkPopupService'])),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x31f1d7[_0x1f6723(0x3de)])),_0x23cccd(0x8,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocRenderController'])),_0x23cccd(0x9,(0x0,_0x179bf7['Inject'])(_0x1bc893))],_0x9f4c35);let _0x333cc7=class extends _0x257c32[_0x1f6723(0x183)]{constructor(_0x439d75,_0x3cd026,_0x1b02fb,_0x50eb86,_0x355852){super(_0x439d75,_0x3cd026,{'editing$':_0x1b02fb['editingParams$'],'resolve':_0x1e9771=>{const _0x487e21=_0x5827;var _0xf5fa3c;let _0x20008c=new _0x1126ec[(_0x487e21(0x17b))](_0x1e9771['offsetX'],_0x1e9771[_0x487e21(0x287)]),_0x29b666=((_0xf5fa3c=_0x439d75[_0x487e21(0x280)]['getActiveViewportByCoord'](_0x20008c))==null?void 0x0:_0xf5fa3c[_0x487e21(0x243)](_0x20008c))??_0x20008c,_0x598d53=(0x0,_0x257c32[_0x487e21(0x267)])(_0x439d75[_0x487e21(0x280)]['pick'](_0x20008c)??null,_0x29b666);if(!(_0x598d53 instanceof _0x229152))return null;let _0x43d6cc=_0x598d53[_0x487e21(0x27e)](_0x29b666);if(!_0x43d6cc)return null;let _0x3aa0e4=_0x598d53,_0x21b849={'componentKey':_0x257c32[_0x487e21(0x40f)][_0x487e21(0x264)],'direction':_0x487e21(0x37b),'offset':[0x0,0xa],'onClickOutside':()=>_0x3cd026[_0x487e21(0x282)]()};return{'object':_0x598d53,'info':{..._0x43d6cc,'unitId':_0x598d53[_0x487e21(0x2aa)],'subUnitId':_0x598d53['subUnitId'],'shapeKey':_0x598d53[_0x487e21(0x377)],'readonly':!0x0,'copyable':(0x0,_0x31f1d7[_0x487e21(0x321)])(_0x355852,_0x598d53[_0x487e21(0x2aa)],_0x598d53[_0x487e21(0x2aa)],_0x5d6c3c[_0x487e21(0x13f)][_0x487e21(0x39e)])},'attachPopup':()=>_0x50eb86[_0x487e21(0x248)](_0x3aa0e4,_0x21b849,_0x3aa0e4['unitId'])};}});}};_0x333cc7=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x257c32[_0x1f6723(0x473)])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1ae)])),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x356)])],_0x333cc7);let _0x1beda1=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x3aad80,_0x8124c6,_0x16f1ef,_0x4fcc43,_0xec7757,_0xa6e749,_0x15a660,_0x439ba0,_0xc5a1c1,_0x30f115,_0x172727,_0x180e5c){const _0x4b7d7=_0x1f6723;super(),this[_0x4b7d7(0x35b)]=_0x3aad80,this[_0x4b7d7(0x363)]=_0x8124c6,this['_menuManagerService']=_0x16f1ef,this[_0x4b7d7(0x4ae)]=_0x4fcc43,this[_0x4b7d7(0x4ac)]=_0xec7757,this[_0x4b7d7(0x213)]=_0xa6e749,this[_0x4b7d7(0x41e)]=_0x15a660,this[_0x4b7d7(0x385)]=_0x439ba0,this[_0x4b7d7(0x33a)]=_0xc5a1c1,this[_0x4b7d7(0x492)]=_0x30f115,this[_0x4b7d7(0x16e)]=_0x172727,this[_0x4b7d7(0x49a)]=_0x180e5c,_0x6a547(this,'_sidebarDisposable',null),_0x6a547(this,_0x4b7d7(0x194),null),_0x6a547(this,_0x4b7d7(0x3d1),!0x1),_0x6a547(this,_0x4b7d7(0x493),0x0),_0x6a547(this,_0x4b7d7(0x3cc),new Map()),_0x6a547(this,_0x4b7d7(0x384),new Map()),this['_initMenu'](),this[_0x4b7d7(0x18f)](this['_univerInstanceService'][_0x4b7d7(0x435)](_0x179bf7[_0x4b7d7(0x42f)][_0x4b7d7(0x369)])[_0x4b7d7(0x37a)](_0x17ca0e=>{const _0x802828=_0x4b7d7;if(!_0x17ca0e){var _0x1b7646;(_0x1b7646=this[_0x802828(0x362)])==null||_0x1b7646[_0x802828(0x2ba)]();}})),this['_registerOperations'](),this[_0x4b7d7(0x18f)]((0x0,_0x257c32[_0x4b7d7(0x1bd)])(this['_renderManagerService'],_0x179bf7['UniverInstanceType'][_0x4b7d7(0x369)],_0x4a336=>this[_0x4b7d7(0x3cd)](_0x4a336))),this['disposeWithMe'](this[_0x4b7d7(0x16e)][_0x4b7d7(0x310)][_0x4b7d7(0x37a)](_0x11d3ec=>{const _0x39b222=_0x4b7d7;_0x11d3ec&&this[_0x39b222(0x252)](void 0x0,!0x0);})),this[_0x4b7d7(0x18f)](this[_0x4b7d7(0x49a)]['permissionPointUpdate$'][_0x4b7d7(0x37a)](()=>{const _0x3fcb2e=_0x4b7d7;this[_0x3fcb2e(0x41e)][_0x3fcb2e(0x2b0)]()['some'](_0x23ff51=>_0x23ff51['drawingType']===_0x179bf7['DrawingTypeEnum'][_0x3fcb2e(0x29c)]&&this[_0x3fcb2e(0x35b)][_0x3fcb2e(0x1b1)](_0x23ff51[_0x3fcb2e(0x2aa)])===_0x179bf7['UniverInstanceType'][_0x3fcb2e(0x369)]&&!this[_0x3fcb2e(0x1e1)](_0x23ff51[_0x3fcb2e(0x2aa)],_0x23ff51[_0x3fcb2e(0x140)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x1f6723(0x23f)](){const _0x4e7f84=_0x1f6723;this[_0x4e7f84(0x39b)][_0x4e7f84(0x425)](_0x44179d);}[_0x1f6723(0x241)](_0x1ca151,_0x4cd400,_0x1af04a,_0x5ba823){const _0x53ed4a=_0x1f6723;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x344cfa['id'],'commandParams':{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a},'disable':_0x5ba823===_0x179bf7['DrawingTypeEnum'][_0x53ed4a(0x2b6)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x3a4044[_0x53ed4a(0x188)]['id'],'commandParams':{'unitId':_0x1ca151,'drawings':[{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x4fb5aa['id'],'commandParams':{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a},'disable':!0x1}];}['_getShapeInfo'](_0x15b552,_0x421bfc,_0x4f6e0b){const _0x13b10f=_0x1f6723;let _0x4eeba3=this[_0x13b10f(0x4ae)][_0x13b10f(0x138)](_0x15b552,_0x421bfc,_0x4f6e0b),_0xe15cca=this['_docsShapeService'][_0x13b10f(0x43e)](_0x15b552,_0x421bfc,_0x4f6e0b);return _0x4eeba3!==void 0x0&&_0xe15cca!==void 0x0?{'shapeData':_0xe15cca,'shapeId':_0x4f6e0b,'shapeType':_0x4eeba3,'unitId':_0x15b552,'subUnitId':_0x421bfc,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x1f6723(0x252)](_0x98bcbd,_0x24ca07=!0x1){const _0x17f21e=_0x1f6723;if(_0x98bcbd==null){[...this[_0x17f21e(0x3cc)][_0x17f21e(0x313)]()][_0x17f21e(0x32c)](_0x3113fb=>this['_clearPopups'](_0x3113fb,_0x24ca07));return;}let _0x398ba5=this[_0x17f21e(0x3cc)][_0x17f21e(0x2c6)](_0x98bcbd);if(_0x398ba5){for(let _0xce8053=_0x398ba5[_0x17f21e(0x231)]-0x1;_0xce8053>=0x0;--_0xce8053){let _0x255d48=_0x398ba5[_0xce8053];(_0x24ca07||_0x255d48[_0x17f21e(0x349)]())&&(_0x255d48['dispose'](),_0x398ba5[_0x17f21e(0x1a5)](_0xce8053,0x1));}_0x398ba5[_0x17f21e(0x231)]===0x0&&(this[_0x17f21e(0x3cc)][_0x17f21e(0x33d)](_0x98bcbd),this[_0x17f21e(0x384)][_0x17f21e(0x33d)](_0x98bcbd));}}[_0x1f6723(0x23e)](_0x3dd599){const _0x318f7d=_0x1f6723;let _0x13fc2b=this['_disposePopupsByUnit'][_0x318f7d(0x2c6)](_0x3dd599);if(_0x13fc2b)return _0x13fc2b;let _0x15148f=[];return this[_0x318f7d(0x3cc)][_0x318f7d(0x21a)](_0x3dd599,_0x15148f),_0x15148f;}['_popupMenuListener'](_0x15a3b6){const _0x4d4619=_0x1f6723;var _0x80c1e4;let _0x3866e4=new _0x179bf7[(_0x4d4619(0x446))](),_0x1a56cb=(_0x80c1e4=this[_0x4d4619(0x33a)][_0x4d4619(0x257)](_0x179bf7[_0x4d4619(0x42f)]['UNIVER_DOC'])[_0x4d4619(0x237)](_0x21e545=>_0x21e545[_0x4d4619(0x280)][_0x4d4619(0x49d)]()===_0x15a3b6))==null?void 0x0:_0x80c1e4['unitId'];return _0x1a56cb?(_0x3866e4['add'](_0x15a3b6['createControl$'][_0x4d4619(0x37a)](()=>this['_handleCreateControl'](_0x15a3b6,_0x1a56cb))),_0x3866e4[_0x4d4619(0x480)](_0x15a3b6[_0x4d4619(0x344)]['subscribe'](()=>{const _0xdbd675=_0x4d4619;this[_0xdbd675(0x252)](_0x1a56cb),queueMicrotask(()=>{const _0xc613cb=_0xdbd675;_0x15a3b6[_0xc613cb(0x128)]()[_0xc613cb(0x2b5)]>0x0||!this[_0xc613cb(0x41e)][_0xc613cb(0x2b0)]()['some'](_0x329ea1=>_0x329ea1[_0xc613cb(0x2aa)]===_0x1a56cb)||(this[_0xc613cb(0x492)][_0xc613cb(0x122)](_0x179bf7[_0xc613cb(0x4a2)],!0x1),this[_0xc613cb(0x41e)]['focusDrawing'](null));});})),_0x3866e4[_0x4d4619(0x480)](_0x15a3b6[_0x4d4619(0x4a8)][_0x4d4619(0x37a)](()=>{const _0x247e8d=_0x4d4619;this[_0x247e8d(0x252)](_0x1a56cb,!0x0);})),_0x3866e4):_0x3866e4;}[_0x1f6723(0x1c8)](_0x2e3160,_0x21d08e){const _0x7b4e17=_0x1f6723;let _0x82200b=_0x2e3160[_0x7b4e17(0x128)]();if(this[_0x7b4e17(0x3d1)]){this[_0x7b4e17(0x252)](_0x21d08e,!0x0);return;}if(_0x82200b[_0x7b4e17(0x2b5)]>0x1){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x365ee7=_0x82200b[_0x7b4e17(0x3e7)]()[_0x7b4e17(0x431)]()[_0x7b4e17(0x442)];if(!_0x365ee7){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x3e01ba=this[_0x7b4e17(0x41e)][_0x7b4e17(0x44f)](_0x365ee7[_0x7b4e17(0x377)]);if(!_0x3e01ba||_0x3e01ba[_0x7b4e17(0x31a)]!==_0x179bf7[_0x7b4e17(0x121)][_0x7b4e17(0x29c)]){this[_0x7b4e17(0x252)](_0x21d08e);return;}let {unitId:_0x45eeb0,subUnitId:_0x312b37,drawingId:_0x153a1e,drawingType:_0x313076}=_0x3e01ba;if(!this[_0x7b4e17(0x1e1)](_0x45eeb0,_0x153a1e)){this['_clearPopups'](_0x21d08e,!0x0);return;}let _0x538dd0=this['_getShapeInfo'](_0x45eeb0,_0x312b37,_0x153a1e);if(!_0x538dd0){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x23f5ae=this[_0x7b4e17(0x3cc)][_0x7b4e17(0x2c6)](_0x21d08e),_0x125d53=_0x45eeb0+':'+_0x312b37+':'+_0x153a1e;if(this[_0x7b4e17(0x384)][_0x7b4e17(0x2c6)](_0x21d08e)===_0x125d53&&_0x23f5ae&&_0x23f5ae[_0x7b4e17(0x231)]>0x0)return;this[_0x7b4e17(0x252)](_0x21d08e);let _0x3bc628=this[_0x7b4e17(0x33a)][_0x7b4e17(0x1bc)](_0x45eeb0),_0x5b20c0=((_0x3bc628==null?void 0x0:_0x3bc628[_0x7b4e17(0x1d3)])===!0x1?_0x3bc628[_0x7b4e17(0x1e4)](_0x33827d[_0x7b4e17(0x1ae)]):this[_0x7b4e17(0x385)])[_0x7b4e17(0x248)](_0x365ee7,this[_0x7b4e17(0x229)](_0x538dd0,_0x313076),_0x45eeb0);this[_0x7b4e17(0x18f)](_0x5b20c0),this[_0x7b4e17(0x23e)](_0x21d08e)[_0x7b4e17(0x45d)](_0x5b20c0),this['_popupTargetKeys'][_0x7b4e17(0x21a)](_0x21d08e,_0x125d53),this[_0x7b4e17(0x41e)][_0x7b4e17(0x2b0)]()[_0x7b4e17(0x215)](_0x1ad2a7=>_0x1ad2a7[_0x7b4e17(0x2aa)]===_0x45eeb0&&_0x1ad2a7[_0x7b4e17(0x189)]===_0x312b37&&_0x1ad2a7[_0x7b4e17(0x140)]===_0x153a1e)||this['_drawingManagerService'][_0x7b4e17(0x389)]([{'unitId':_0x45eeb0,'subUnitId':_0x312b37,'drawingId':_0x153a1e}]);}['_getShapePopup'](_0x862e86,_0x1c1c67){const _0x12a49d=_0x1f6723;return{'componentKey':_0x51fd45,'direction':'vertical-center','offset':[0x0,_0x257c32[_0x12a49d(0x25f)]],'extraProps':{'unitId':_0x862e86[_0x12a49d(0x2aa)],'subUnitId':_0x862e86[_0x12a49d(0x189)],'drawingId':_0x862e86['shapeId'],'drawingType':_0x1c1c67,'shapeType':_0x862e86[_0x12a49d(0x24e)],'shapeData':_0x862e86['shapeData']}};}[_0x1f6723(0x1e1)](_0x2069ca,_0x5797ce){const _0x31a657=_0x1f6723;let _0x21d4eb=this[_0x31a657(0x35b)][_0x31a657(0x259)](_0x2069ca,_0x179bf7['UniverInstanceType'][_0x31a657(0x369)]);if(!_0x21d4eb)return!0x1;let _0x355732=(0x0,_0x31f1d7[_0x31a657(0x327)])(_0x21d4eb,_0x5797ce);return(0x0,_0x31f1d7[_0x31a657(0x380)])(this[_0x31a657(0x49a)],_0x2069ca,[...(0x0,_0x31f1d7['getDocumentEntityParentPermissionObjectIds'])(_0x21d4eb,_0x355732,_0x31a657(0x199),_0x5797ce),(0x0,_0x31f1d7[_0x31a657(0x2da)])(_0x355732,'drawing',_0x5797ce)]);}[_0x1f6723(0x43a)](){const _0xc148cf=_0x1f6723;this[_0xc148cf(0x18f)](this[_0xc148cf(0x213)][_0xc148cf(0x2e4)](_0x4cd7bc=>{const _0x26e87c=_0xc148cf;if(_0x4cd7bc['id']===_0x344cfa['id']){let {unitId:_0x1cb6c4,subUnitId:_0xbdb57a,drawingId:_0x15b4e8}=_0x4cd7bc[_0x26e87c(0x41b)];this[_0x26e87c(0x493)]+=0x1,this[_0x26e87c(0x194)]=this[_0x26e87c(0x172)](_0x1cb6c4,_0xbdb57a,_0x15b4e8),this[_0x26e87c(0x252)](void 0x0,!0x0),this[_0x26e87c(0x3a3)]();}if(_0x4cd7bc['id']===_0x4fb5aa['id']&&(this[_0x26e87c(0x194)]=null,this[_0x26e87c(0x1c7)]()),_0x4cd7bc['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']){let {unitId:_0x5449da,shapeId:_0x69bc29}=_0x4cd7bc[_0x26e87c(0x41b)];if(this['_activeShapeInfo']&&this[_0x26e87c(0x194)]['shapeId']===_0x69bc29){let _0x1a1c1f=this[_0x26e87c(0x172)](_0x5449da,this[_0x26e87c(0x194)]['subUnitId'],_0x69bc29);_0x1a1c1f&&(this[_0x26e87c(0x493)]+=0x1,_0x1a1c1f[_0x26e87c(0x3fa)]=this[_0x26e87c(0x493)],this['_activeShapeInfo']=_0x1a1c1f,this[_0x26e87c(0x3d1)]&&this['_openShapeEditPanel']());}}})),this[_0xc148cf(0x18f)](this['_drawingManagerService'][_0xc148cf(0x2e7)][_0xc148cf(0x37a)](_0x4204d6=>{const _0x3854e2=_0xc148cf;if(this[_0x3854e2(0x3d1)]===!0x1)return;if(_0x4204d6['length']===0x0){this[_0x3854e2(0x194)]=null,this[_0x3854e2(0x1c7)]();return;}if(_0x4204d6[_0x3854e2(0x231)]===0x1&&_0x4204d6[0x0][_0x3854e2(0x31a)]===_0x179bf7[_0x3854e2(0x121)][_0x3854e2(0x29c)]&&(this[_0x3854e2(0x493)]+=0x1,this[_0x3854e2(0x194)]=this[_0x3854e2(0x172)](_0x4204d6[0x0]['unitId'],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0][_0x3854e2(0x140)]),this[_0x3854e2(0x194)])){this['_openShapeEditPanel']();return;}let _0x2d59ab=_0x4204d6[_0x3854e2(0x44a)](_0x47544c=>_0x47544c[_0x3854e2(0x31a)]===_0x179bf7[_0x3854e2(0x121)]['DRAWING_SHAPE']);if(_0x4204d6[_0x3854e2(0x231)]>0x1&&_0x2d59ab[_0x3854e2(0x231)]===_0x4204d6[_0x3854e2(0x231)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x3854e2(0x194)]=this['_getShapeInfo'](_0x4204d6[0x0]['unitId'],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0]['drawingId']),this[_0x3854e2(0x194)]){this[_0x3854e2(0x3a3)]();return;}}else{if(this[_0x3854e2(0x493)]+=0x1,this[_0x3854e2(0x194)]=this['_getShapeInfo'](_0x4204d6[0x0][_0x3854e2(0x2aa)],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0][_0x3854e2(0x140)]),this[_0x3854e2(0x194)]){this['_activeShapeInfo'][_0x3854e2(0x3bf)]=!0x0,this[_0x3854e2(0x3a3)]();return;}}this[_0x3854e2(0x1c7)]();}));}[_0x1f6723(0x3a3)](){const _0x86e4eb=_0x1f6723;this[_0x86e4eb(0x194)]&&(this[_0x86e4eb(0x362)]=this[_0x86e4eb(0x363)][_0x86e4eb(0x1dc)]({'id':_0x138c9c,'header':{'title':this['_localeService']['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x138c9c,...this[_0x86e4eb(0x194)]},'onClose':()=>{const _0x4a10d5=_0x86e4eb;this[_0x4a10d5(0x41e)]['focusDrawing'](null),this[_0x4a10d5(0x492)]['setContextValue'](_0x179bf7[_0x4a10d5(0x4a2)],!0x1),this[_0x4a10d5(0x362)]=null;}}),this[_0x86e4eb(0x3d1)]=!0x0);}[_0x1f6723(0x1c7)](){const _0x586785=_0x1f6723;this[_0x586785(0x3d1)]=!0x1,this['_sidebarService']['close'](_0x138c9c),this[_0x586785(0x362)]=null,this['_contextService'][_0x586785(0x122)](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x586785(0x41e)][_0x586785(0x389)](null);}};_0x1beda1=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x126)])),_0x23cccd(0x2,_0x342c24[_0x1f6723(0x1c9)]),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7[_0x1f6723(0x46f)])),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x6,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1ae)])),_0x23cccd(0x8,_0x1126ec['IRenderManagerService']),_0x23cccd(0x9,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0xa,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0xb,_0x179bf7[_0x1f6723(0x356)])],_0x1beda1);let _0x2a86b3=class extends _0x179bf7['Disposable']{constructor(_0xb66b86,_0x2f6478){const _0x319da9=_0x1f6723;super(),this[_0x319da9(0x4ae)]=_0xb66b86,this[_0x319da9(0x4ac)]=_0x2f6478,this[_0x319da9(0x18f)]((0x0,_0x179bf7[_0x319da9(0x4a5)])((0x0,_0x1126ec[_0x319da9(0x42e)])((_0x1f5390,_0x4d0ccf,_0x48c77f)=>this[_0x319da9(0x4a9)](_0x1f5390,_0x4d0ccf,_0x48c77f))));}[_0x1f6723(0x4a9)](_0x576429,_0x52e7e6,_0x2ecd5f){const _0x1256a6=_0x1f6723;let _0x1e58e4=this[_0x1256a6(0x4ae)][_0x1256a6(0x21b)](_0x576429,_0x52e7e6);if(!_0x1e58e4)return null;let _0x303907=_0x1e58e4['getShapeData'](),_0x353fd5=(0x0,_0x2bd245[_0x1256a6(0x338)])(_0x303907),_0x51ba95=_0x303907[_0x1256a6(0x3a1)];if(!_0x51ba95||_0x353fd5[_0x1256a6(0x4ab)]!==_0x2bd245[_0x1256a6(0x2ac)][_0x1256a6(0x3be)])return null;let _0x3553f8=_0x2ecd5f[_0x1256a6(0x370)],_0x3870f2=_0x2ecd5f['fallbackHeight'];_0x1e58e4[_0x1256a6(0x353)]({'width':_0x3553f8,'height':_0x3870f2});let _0x63d04=_0x1e58e4[_0x1256a6(0x2a3)]({'left':0x0,'top':0x0,'width':_0x3553f8,'height':_0x3870f2}),_0x5b7832=(0x0,_0x257c32[_0x1256a6(0x415)])(_0x1256a6(0x2bc)in _0x51ba95?_0x51ba95[_0x1256a6(0x2bc)]:void 0x0),_0x4f643f=(_0x5b7832==null?void 0x0:_0x5b7832[_0x1256a6(0x3a0)])??('isRichText'in _0x51ba95?(0x0,_0x257c32['plainShapeTextToDocumentData'])(_0x51ba95,_0x52e7e6+_0x1256a6(0x26a)):null);if(!_0x4f643f)return null;let _0x5aab70=(0x0,_0x257c32[_0x1256a6(0x2e3)])({'documentData':_0x4f643f,'height':_0x3870f2,'shapeData':_0x303907,'textRect':_0x63d04,'width':_0x3553f8,'widthBuffer':0x0});_0x5aab70&&({width:_0x3553f8,height:_0x3870f2}=_0x5aab70,_0x1e58e4['updateContext']({'width':_0x3553f8,'height':_0x3870f2}),_0x63d04=_0x1e58e4['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x3553f8,'height':_0x3870f2}));let _0x4cdc7f=_0x51ba95[_0x1256a6(0x220)]!==!0x1,_0x5b3f64=(0x0,_0x257c32[_0x1256a6(0x367)])(_0x4f643f,{'isHorizontal':_0x4cdc7f,'textRect':_0x63d04,'verticalAlign':_0x5b7832==null?void 0x0:_0x5b7832['va'],'horizontalAlign':_0x5b7832==null?void 0x0:_0x5b7832['ha'],'wrapStrategy':(0x0,_0x257c32[_0x1256a6(0x2ea)])(_0x303907)}),_0x15a174=new _0x179bf7[(_0x1256a6(0x40c))](_0x5b3f64),_0x559930=new _0x1126ec[(_0x1256a6(0x33e))](_0x15a174),_0x281729=_0x1126ec[_0x1256a6(0x3f7)][_0x1256a6(0x38c)](_0x559930,this['_localeService']);try{var _0x31098c,_0x53cb0e;_0x281729['calculate']();let _0x2f7d59=((_0x31098c=_0x281729['getSkeletonData']())==null?void 0x0:_0x31098c['pages'])??[],_0x36b7a7=_0x2f7d59[_0x2f7d59['length']-0x1],_0x1a062a=_0x36b7a7?Math[_0x1256a6(0x226)](0x0,((_0x53cb0e=(0x0,_0x1126ec['getLastLine'])(_0x36b7a7))==null?void 0x0:_0x53cb0e[_0x1256a6(0x44d)])??0x0):0x0,_0x43ea7b=_0x281729[_0x1256a6(0x409)]()[_0x1256a6(0x2af)]+_0x1a062a-(_0x4cdc7f?_0x63d04['height']:_0x63d04[_0x1256a6(0x258)]);return Number[_0x1256a6(0x1be)](_0x43ea7b)?_0x4cdc7f?{'width':_0x3553f8,'height':Math[_0x1256a6(0x226)](0x1,_0x3870f2+_0x43ea7b)}:{'width':Math[_0x1256a6(0x226)](0x1,_0x3553f8+_0x43ea7b),'height':_0x3870f2}:null;}finally{_0x281729[_0x1256a6(0x2ba)](),_0x559930['dispose'](),_0x15a174[_0x1256a6(0x2ba)]();}}};_0x2a86b3=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x179bf7[_0x1f6723(0x46f)]))],_0x2a86b3);let _0x627297=class extends _0x179bf7[_0x1f6723(0x477)]{constructor(_0x2b9a4c=_0x1b5005,_0x723d19,_0x32044e,_0x5d473e,_0x44e5e4){const _0x4b74ed=_0x1f6723;super(),this['_config']=_0x2b9a4c,this[_0x4b74ed(0x48a)]=_0x723d19,this[_0x4b74ed(0x213)]=_0x32044e,this[_0x4b74ed(0x2f4)]=_0x5d473e,this[_0x4b74ed(0x33a)]=_0x44e5e4;let {menu:_0x1009d8,..._0x5da73f}=(0x0,_0x179bf7['merge'])({},_0x1b5005,this['_config']);_0x1009d8&&this['_configService'][_0x4b74ed(0x163)](_0x4b74ed(0x422),_0x1009d8,{'merge':!0x0}),this[_0x4b74ed(0x2f4)][_0x4b74ed(0x163)](_0x49f7b9,_0x5da73f),this[_0x4b74ed(0x3ba)]();}[_0x1f6723(0x3e0)](){const _0x153344=_0x1f6723;(0x0,_0x179bf7[_0x153344(0x2f3)])(this['_injector'],this[_0x153344(0x1fc)]()),this['_injector'][_0x153344(0x2c6)](_0x4e6a45),this[_0x153344(0x476)]();}[_0x1f6723(0x1fc)](){return[[_0x4e6a45],[_0x1beda1],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x32a51d],[_0x142998],[_0x26fa84],[_0x2a86b3],[_0x1bc893],[_0x7e1561]];}[_0x1f6723(0x315)](){const _0x217504=_0x1f6723;this[_0x217504(0x3df)]()['forEach'](_0x57ff2c=>{const _0xab3c4a=_0x217504;this[_0xab3c4a(0x18f)](this[_0xab3c4a(0x33a)][_0xab3c4a(0x17f)](_0x179bf7[_0xab3c4a(0x42f)][_0xab3c4a(0x369)],_0x57ff2c));}),(0x0,_0x179bf7[_0x217504(0x3e5)])(this['_injector'],[[_0x1beda1],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x142998],[_0x26fa84],[_0x2a86b3],[_0x1bc893],[_0x7e1561]]);}['_getRenderModules'](){return[[_0x32a51d],[_0x3c5128],[_0x333cc7],[_0x4abcb2]];}['onRendered'](){const _0xceadce=_0x1f6723;this[_0xceadce(0x18f)](this[_0xceadce(0x33a)]['registerRenderModule'](_0x179bf7['UniverInstanceType']['UNIVER_DOC'],[_0x9f4c35]));}[_0x1f6723(0x3ba)](){const _0x40ac2a=_0x1f6723;[_0x171f92,_0x4fb5aa,_0x344cfa,_0x57f7a8,_0x155dac,_0x1317e1][_0x40ac2a(0x32c)](_0x4c539d=>this['disposeWithMe'](this['_commandService'][_0x40ac2a(0x2f1)](_0x4c539d)));}[_0x1f6723(0x476)](){const _0x78b64b=_0x1f6723;let _0x407a75=this[_0x78b64b(0x48a)],_0x151b2f=_0x407a75[_0x78b64b(0x2c6)](_0x342c24[_0x78b64b(0x3bb)]);this[_0x78b64b(0x18f)](_0x151b2f['registerComponent'](_0x342c24[_0x78b64b(0x1a6)][_0x78b64b(0x28e)],()=>(0x0,_0x342c24[_0x78b64b(0x2e2)])(_0x14ef5c,_0x407a75)));}};_0x6a547(_0x627297,_0x1f6723(0x333),_0x179bf7[_0x1f6723(0x42f)][_0x1f6723(0x369)]),_0x6a547(_0x627297,'pluginName',_0x1f6723(0x387)),_0x6a547(_0x627297,'packageName',_0x2a39c7),_0x6a547(_0x627297,_0x1f6723(0x3fa),_0x23b802),_0x627297=_0x139e28([(0x0,_0x179bf7['DependentOn'])(_0x58581a[_0x1f6723(0x28b)],_0x31f1d7[_0x1f6723(0x11f)],_0x567d02['UniverDrawingPlugin'],_0x5656f0[_0x1f6723(0x13b)],_0x1126ec[_0x1f6723(0x3a5)],_0x33827d[_0x1f6723(0x16c)],_0x198678[_0x1f6723(0x455)],_0x4b09d7[_0x1f6723(0x396)],_0x1d4bf7[_0x1f6723(0x1d1)],_0x257c32['UniverShapeEditorUIPlugin']),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7['Injector'])),_0x23cccd(0x2,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x19b)]),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)])],_0x627297),_0x20f644['DocsShapeUIMenuSchema']=_0x44179d,Object['defineProperty'](_0x20f644,_0x1f6723(0x219),{'enumerable':!0x0,'get':function(){return _0x173d84;}}),Object[_0x1f6723(0x395)](_0x20f644,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x627297;}});}));function _0x5827(_0x5ee0b3,_0x42ab03){_0x5ee0b3=_0x5ee0b3-0x117;const _0x3f6ab0=_0x3f6a();let _0x5827d9=_0x3f6ab0[_0x5ee0b3];return _0x5827d9;}function _0x3f6a(){const _0x2dac3a=['Fragment','exports','isEditing','OBJECT_LIST_FLOATING_SECTION_ID','type','drawing-ui.objectListPanel.moveBackward','_setTransForm','DocumentEntity','fontSize','resolveShapeTextBodyBehavior','iterator','_renderManagerService','DocSelectionManagerService','docs-shape-ui.quickStyles','delete','DocumentViewModel','@univerjs-pro/license','popup','PRINTING_COMPONENT_COLLECT','prstGeom','isRenderLinePointsMode','clearControl$','intercept','_canEdit','2049tQvvqV','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','canDispose','UpdateDocShapeDataMutation','pages','BottomIcon','custom','_shapeId','getSnapshot','_refreshShapeData','univer-grid\x20univer-gap-5\x20univer-p-3','ShapeEditPanel','updateContext','docs-shape-ui.mobile.text','UpdateDocDrawingWrappingStyleCommand','IPermissionService','setPresentation','ShapeFormulaService','DocsShapeWrapSquareIcon','endArrow','_univerInstanceService','current','indexOf','drawing-ui.objectListPanel.name','map','_activeShapeId','M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','_sidebarDisposable','_sidebarService','_context','selectable','strokeWidth','prepareShapeTextDocumentData','isLineShape','UNIVER_DOC','useFormulaShapeToolbar','pipe','_adjHandlerPointerUp','docs-shape-ui.hidePanel','shapeId','flipY','fallbackWidth','Inject','enhanceParams','DOC','clipTop','DOC_PARAGRAPH_T_INSERT_MENU_ID','ComponentManager','oKey','getPresentation','drawing-ui.objectListPanel.expand','subscribe','top-center','add$','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','getTextModel','srcRect','canEditDocumentTargets','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','SolidFill','_popupTargetKeys','_docCanvasPopManagerService','animationEnabled','DOCS_SHAPE_UI_PLUGIN','_formulaAnimation','focusDrawing','bottom-icon','getDrawingPoints','create','hasDefault','getActiveTextRange','angle','DocsShapeService','flatMap','offsetX','717650OoJkGj','RENDER_CLASS_TYPE','defineProperty','UniverDocsDrawingUIPlugin','@univerjs/docs-drawing','DEFAULT_DOC_SHAPE_WIDTH','onDblclick$','shapeModel','_menuManagerService','getScene','clipHeight','Copy','docs-shape-ui.deleteShape','doc','shapeText','_shapeRenderController','_openShapeEditPanel','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverRenderEnginePlugin','getDrawingData','useEffect','Arrow','height','Large','getAutoFitPresentations','DocShapeAnchorPosition','_isShouldShowDrawingShapeAdjust','_lastEditingShapeKey','drawing-ui.objectListPanel.filterHidden','min','packageName','docs-shape-ui.objectListPanel.open','_initSelection','drawing-ui.objectListPanel.search','canvas','getMenuHiddenObservable','shape-editor-ui.arrange.forward','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','getRealBound','_initCommands','IUIPartsService','translateWithPrecision','SELECTOR','SpAutoFit','disableShapeOption','UpdateDocDrawingMetadataCommand','idSuffix','_hyperLinkRegions','getShapeQuickStyleType','INLINE','docs-shape-ui.textWrap.square','resolveShapeTextEditorBehaviorShapeData','getSkeletonData','VerticalAlign','flipX','tag','useState','_disposePopupsByUnit','_popupMenuListener','ShapeTypeEnum','_subUnitId','ArrangeTypeEnum','_isOpenedShapeEditPanel','multiply','_loadAndSetImage','MoveDownIcon','getTransformer','UniverUi','applyQuickStyleToShapeData','IContextService','calcAdjValues','viewBound','getPropertyPriority','ShapeFormatSettingIcon','cloneShapeDataForType','DocInterceptorService','_getRenderModules','onStarting','drawing-ui.objectListPanel.sectionFloating','clearActiveDrawingObjects','docs-shape-contextual-ribbon','forwardRef','touchDependencies','debounceRefreshControls','values','stroke-width','0\x200\x2020\x2020','getTextStyle','path','left','_isStartAdjusting','TextWrappingStyle','_addShapeAdjustControl','SetDocDrawingArrangeCommand','clear','includes','getPageDrawingIds','doc.image-clip.shape-picker.component','_clearCompletionFrame','PaintIcon','DocumentSkeleton','ShapePickerPanel','visible','version','FloatingObjectToolbarPosition','complete','doc.shape.text.float-menu','docs-shape-ui.insertShape','http://www.w3.org/2000/svg','MenuManagerPosition','startArrow','makeDirty','square','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','warn','transformForAngle','docs-shape-ui.shape-format.text-ribbon-control','_clipService','getActualSize','_docLayoutInteractionService','_docPrintInterceptorService','DocumentDataModel','getUnitId','onPointerUp$','ShapeTextHyperLinkInfo','LEFT','doc.command.menu-insert-shape','refreshAdjustControls','_drawingType','getFocusedUnit','normalizeShapeTextModel','replace','drawWith','startWith','registerClipDelegate','doc.shape.floating-toolbar','params','209977rEkvem','PositionedObjectLayoutType','_drawingManagerService','MobileActionRow','_updateAdjustControlPositions','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','menu','setCanUseShapeClip','BEHIND_TEXT','mergeMenu','1204AMpdfB','segmentId','getObjectListPanelSectionIdForDrawingType','docs-shape-ui.ribbon.shape-format.text-control','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','more-down-icon','_loadShapePictureFill','_unitId','setDocsCustomBlockRenderViewportProvider','UniverInstanceType','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','next','none','wrapStrategy','contentHeight','getCurrentTypeOfUnit$','ShapeFillEnum','RIBBON','jsxs','getSelfOrHeaderFooterModel','_registerOperations','DependentOn','pick','_shapeFloatingToolbarService','getShapeDataById','UUID','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','formulaBinding','value','FromArray','_initialize','resize','DisposableCollection','startIndex','MobileMenu','ShapePickerDropdown','filter','activeTarget','top-bottom','spaceBelowApply','ancestorTransform','getDrawingOKey','MobileShapeEditorService','DrawingImageClipService','isConnectorShape','resetCursor','clip','UniverShapeEditorPlugin','buildClipPath','getObjectIncludeInGroup','ShapeGroupEnum','setFallbackVisible','error','disconnect','remove$','push','_instanceService','getParagraphContentStartOffset','_urlImageService','1021086TLqCiZ','activateDrawingObject','hasAttribute','_getActiveDrawingParam','front','sin','refreshShapeFillImage','@univerjs-pro/shape-editor','getDrawingEffectBounds','getDocumentEntityParentPermissionObjectIds','evenodd','syncExecuteCommand','VIEWPORT_KEY','Transform','LocaleService','objects','DocsShapeWrapTopBottomIcon','_releaseRenderCache','ShapeTextHyperLinkPopupService','back','getAdjustInfoByName','_initUIPart','Plugin','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','getDrawingDataForUnit','INSERT_BELLOW_MENU_ID','Path','ShapeStyleRibbonControl','UniverProShapeEditorUi','_endLayoutInteraction','colorChannel1','add','WRAP_TOP_AND_BOTTOM','setFillImage','ICommandService','IDocDrawingService','restore','_clearShapeAdjustControls','_onSavingEditorData$','element','startOffset','_injector','_registerIcons','drawing-ui.objectListPanel.descriptionPlaceholder','visible$','localeService','M4.2\x208.3H6.8','ShapeDefaultConfig','react','_contextService','_shapeEditPanelVersion','image','UniverProShapeEditor','getPropertyValue','strokeOpacity','@univerjs/ui','drawing-ui.objectListPanel.details','_permissionService','ShapeTextEditorContainer','_registerDrawingFocusChangeHandler','getTransformerByCreate','_initEditingParams','InsertDocShapeCommand','setPrstGeom','_componentManager','FOCUSING_COMMON_DRAWINGS','getShapeData','getValue','toDisposable','0\x200\x2016\x2016','OPERATION','changing$','_measure','save','autoFitType','_localeService','DOC_CONTENT_INSERT_MENU_ID','_docsShapeService','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','docs-shape-ui.mobile.style','_iconManager','docs-shape-ui.textWrap.inFrontText','entries','0.14','rect','512799FUEryz','_baseShapeLeft','doc.operation.update-shape-type','_registerDrawingTransformHandler','ContextMenuGroup','docs-shape-ui.shape-format.formula-ribbon-control','_adjustPointObjects','setEditing','UniverDocsPlugin','extraProps','DrawingTypeEnum','setContextValue','name','setShapeProps','drawings','ISidebarService','IImageIoService','getSelectedObjectMap','calculate','DRAWING_OBJECT_LAYER_INDEX','5534752uzeaBq','shape-editor-ui.toolbar.changeShape','updateShapeFillImage','BUTTON','extensionGroups','top','fill','behind','headerId','useId','bottom','drawing-ui.objectListPanel.unlockHint','beginInteraction','getShapeTypeById','attrs','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','UniverDrawingUIPlugin','#3B82F6','createInternalEditorID','marginTop','UnitAction','drawingId','order','src','priority','_getFocusedShapeAtPoint','adjName','below','stopPropagation','onPointerMove$','_adjName','canvasElement','amd','drawing-ui.objectListPanel.collapse','_editingParams$','_docDrawingShapeRenderController','skeTables','_drawRichTextLayer','update$','_adjHandlerPointerMove','setSrcRect','ImageSourceTypeEnum','url(#$1','@univerjs/docs-ui','DocsShapeWrapBehindTextIcon','target','onSavingEditorData$','1em','skeDrawings','executeCommand','docs-shape-ui.ribbon.shape-format.style-control','isDrawingObject','clearAdjustControls','register','useObservable','_drawRichText','setConfig','React','@univerjs/core','defIds','invert','MoreDownIcon','skeFooters','permissionPointUpdate$','behindText','UniverDocsUIPlugin','animateFormulaPresentation','_shapeTextEditingService','GROUP','Disposable','description','_getShapeInfo','shouldClipShapeTextDocument','trim','doc.operation.open-shape-object-list-panel','subscribeEvent','doc.shape.object-list.panel','pageWidth','xlink:href','jsx','Vector2','DrawingCommonPanel','_activeAdjustInfo','actions','registerRenderModule','getBoundingClientRect','Injector','transform','ShapeTextHyperLinkHoverController','panel','useDependency','adjHandleSize','FOCUSING_SHAPE_TEXT_EDITOR','RemoveDocDrawingCommand','subUnitId','IconManager','IUniverInstanceService','behindDoc','transformByState','stroke','disposeWithMe','docs-shape-ui.textWrap.inline','drawing-ui.objectListPanel.showAll','FormulaShapeAnimationController','docs-shape-ui.crop.shape','_activeShapeInfo','ShapeLineTypeEnum','PARAGRAPH','MoveUpIcon','M4.2\x205.5H10.5','drawing','Documents','IConfigService','DocPrintInterceptorService','_registerImageShapeClipDelegate','0.8','getDrawingOrder','_registerPickers','WRAP_NONE','univer-box-border\x20univer-px-4\x20univer-text-sm','DocSelectionRenderService','layoutType','splice','BuiltInUIPart','children','docs-shape-ui.openPanel','5.5','resolveShapeContextualRibbonHostMode','translate','parseFloat','gradientEndColor','DocCanvasPopManagerService','removeProperty','_getActiveDrawingShape','getUnitType','0\x200\x2017\x2016','reduce','renderDrawingShape','adjHandleStroke','_activeShapeAdjustPointList','object','useMemo','UniverProDocsShape','docs-shape-text-','horizontal','getRenderUnitById','bindRenderTransformerLifecycle','isFinite','paragraph','IURLImageService','getMatrix','use','icon','topmost-icon','showContextualTab','ShapeArrowTypeEnum','_closeShapeEditPanel','_handleCreateControl','IMenuManagerService','getImageSourceCache','vectorEffect','_applyFormulaAutoFitSize','ShapeTextRibbonControl','ShapeModel','Shape','resolveShapeTextHyperLinkAt','UniverDocsShapePlugin','appliedStrokeWidth','isMainScene','unsubscribe','_draw','BooleanNumber','IRibbonService','MobileDocDrawingPosition','URL','_getShapeAdjustPointListById','getEditing','open','@univerjs/design','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','applyPoint','MoreUpIcon','_canEditShape','useLayoutEffect','@univerjs/docs','with','docs-shape-ui.textWrap.topAndBottom','_getSceneByUnitId','Module','getDrawingShapeKeyByDrawingSearch','div','univerjs-icon\x20univerjs-icon-','enableObjectsEvent','buildShapeTextDataUpdate','Line','has','_ribbonService','rxjs','SetDocumentPermissionCommand','function','DEFAULT_DOC_SHAPE_HEIGHT','createShapeTextBoxShapeData','beginPath','cancelEditing','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','CommandType','HorizontalAlign','MenuItemType','clearAdjustValue','_getDependencies','classType','removeAttribute','rows','sectionFloating','text','_formulaKey','UniverDrawingMobileUIPlugin','isInGroup','UniverDocs','@univerjs-pro/engine-shape','style','IRenderManagerService','@univerjs-pro/docs-shape-ui','UniverCore','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','svg','_initEvents','TopmostIcon','_transform','OTHERS','currentColor','useReducer','_commandService','SHAPE_CHANGE_PICKER_COMPONENT','some','ObjectPermissionButton','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','_baseShapeHeight','UniverDocsShapeMobileUIPlugin','set','getShapeModel','getParent','subtle','assign','fillImageSource','isHorizontal','#2563EB','UniverDesign','asObservable','forward','completeEditing','max','ObjectListPanelBase','ContextMenuPosition','_getShapePopup','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','univer-grid\x20univer-gap-3','ObjectLayersIcon','_transformCalculateSrcRect','_init','TRUE','drawing-ui.objectListPanel.moveForward','length','drawing-ui.objectListPanel.description','preValue','localName','getDrawingByParam','_props','find','useRef','getShapeQuickStylePreset','_activeShapeModel','TOP','cells','true','_getDisposePopups','_initMenu','onTransformChange$','getShapePopupMenus','BehaviorSubject','transformVector2SceneCoord','RibbonInsertGroup','UniverDrawingUi','getDrawingTypeNameKey','drawing-ui.objectListPanel.filterAll','attachPopupToObject','changeEnd$','_baseShapeTop','baseVal','UniverProtocol','decorate','shapeType','_updateShapeAdjustControls','label','insertGroupObject','_clearPopups','_hide','_shapeFormulaService','parent','getDrawingSearch','getAllRenderersOfType','width','getUnit','updateDocumentStyle','getCurrentUnitOfType','MobileShapeEditorControls','SHAPE_EDITOR_TRANSFORMER_CONFIG','getViewports','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','createControl$','scale','DocParagraphMenuService','hidden','componentKey','color','docs-shape-ui.ribbon.shape-format.arrange-front','resolveShapeTextHyperLinkObject','paragraphMenuPlacement','cos','-layout','isReleased','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','shouldAllowShapeTextEditorHostSizeShrink','move-up-icon','menuRange','UniverEngineRender','docs-shape-ui.config','ShapeTextFloatToolbar','generateRandomId','RichTextEditingMutation','_getShapeAdjustInfosById','formulaPresentation','_layoutInteraction','_updateSrcRectByTransform','fontFamily','EMPTY_PARAGRAPH_MENU_ID','UniverDocsDrawingMobileUIPlugin','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','getImage','resolveHyperLinkAt','contentVerticalOffset','scene','LAYOUT','hideInfoPopup','merge','clipByShape','clip-','docs-shape-ui.shape-format.style-ribbon-control','offsetY','docs-shape-ui.ribbon.shape-format.arrange-backward','reverse','endOffset','UniverLicensePlugin','getShapeTextData','round','CONTENT','footerId','ShapeQuickStyleGallery','_registerFloatingToolbar','_renderWithCache','Observable','more-up-icon','_createShapeAdjustControls','UNIVER_SHEET','DOCS_COMPONENT_MAIN_LAYER_INDEX','skeHeaders','ShapeFloatingToolbar','ShapeFloatingToolbarService','memo','DRAWING_SHAPE','createElement','doc.shape.picker.component','createShapeFormulaDocument','getShapeType','refreshFormulaPresentation','PictureFill','getShapeTextRect','getInverseCoord','drawing-ui.objectListPanel.lockAll','addImageSourceCache','UniverDocsUi','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','None','unitId','setOnSavingEditorData','ShapeTextAutoFitType','shapeKey','_updateShape','actualHeight','getFocusDrawings','ShapeIcon','doc.operation.apply-shape-quick-style','prototype','moveRange','size','DRAWING_DOM','drawing-ui.objectListPanel.empty','render','_mobileEditorService','dispose','_attachAdjustEvent','dataModel','1.2','MobileDocDrawingTextWrap','doc.operation.close-doc-shape-format-panel','shapeData','move-down-icon','refreshTransform$','setFormulaPresentation','updateDocumentDataMargin','draw','get','unregister','setProperty','from','MEDIA','M2\x203h16M2\x2017h16','_formulaShapes','VIEW_MAIN','@univerjs/drawing-ui','200106RNaPBI','ShapeArrowSizeEnum','drawing-ui.objectListPanel.sectionCanvas','docs-shape-ui.ribbon.shape-format.arrange-back','react/jsx-runtime','isHit','IN_FRONT_OF_TEXT','currentAdjustValues','UniverProDocsShapeUi','UniverIcon','drawing-ui.objectListPanel.hideAll','getDocumentEntityPermissionObjectId','_drawShapeText','shape-format-setting-icon','_initPrinting','toPrimitive','presentationChanged$','_config','_visible','connectInjector','resolveFormulaShapeAutoFitSize','onCommandExecuted','string','onload','focus$','_insertShapes','displayName','resolveShapeTextEditorWrapStrategy','UnitObject','_completionFrame','DRAWING_IMAGE','UpdateDocShapeDataCommand','docs-shape-ui.shape-format.quick-style-gallery','COMMAND','registerCommand','title','registerDependencies','_configService','DocsShapeWrapInFrontOfTextIcon','drawing-ui.objectListPanel.unlock','ShapeFormulaRibbonControl','MobileObjectListPanel','_baseShapeWidth','docs-shape-ui.ribbon.shape-format.arrange-forward','data','drawing-ui.objectListPanel.hide','sectionCanvas','CURSOR_TYPE','doc.operation.open-doc-shape-format-panel','TextWrapShapeIcon','shape-editor-ui.toolbar.quickStyles','UniverShapeEditorMobileUIPlugin','docs-shape-ui.ribbon.shape-format.formula-control','viewBox','SolidLine','UniverDrawingPlugin','_registerComponents','docs-shape-ui.objectListPanel.title','docs-shape-ui.formatShape','DocDrawingPosition','registerShapeFormatPainter','disableObjectsEvent','drawing-ui.objectListPanel.filterLocked','shape-text-','_registerObjectListPanel','editingParams$','drawing-ui.objectListPanel.noSelection','close','keys','SHAPE','onReady','IDrawingManagerService','backward','onerror','isRichText','drawingType','MobileShapePickerPanel','getInterceptPoints','originalStrokeWidth','isolated','_drawSimpleText','getState','getDocumentPermissionValue','presentation','hadStyleAttribute','querySelectorAll','mask','WRAP_SQUARE','getDocumentDrawingSegmentId','resolveActiveShapeQuickStylePresetId','shape-editor-ui.arrange.front','text-wrap-shape-icon','_update','forEach','_imageIoService','DocDrawingTextWrap'];_0x3f6a=function(){return _0x2dac3a;};return _0x3f6a();}
|