@univerjs-pro/docs-shape-ui 1.0.0-rc.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.css +16 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +5 -2
- package/lib/types/controllers/format-painter.controller.d.ts +10 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +12 -0
- package/lib/types/controllers/mobile/ui.controller.d.ts +68 -0
- package/lib/types/controllers/ui.controller.d.ts +12 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +5 -0
- package/lib/types/mobile-plugin.d.ts +17 -0
- package/lib/types/plugin.d.ts +4 -1
- package/lib/types/services/shape-layout.service.d.ts +9 -0
- package/lib/types/views/ShapePicker.d.ts +11 -1
- package/lib/types/views/mobile/ShapePicker.d.ts +4 -0
- package/lib/types/views/object-list-panel/DocDrawingObjectListPanel.d.ts +5 -1
- package/lib/types/views/object-list-panel/MobileDocDrawingObjectListPanel.d.ts +1 -0
- package/lib/types/views/shape-editor-panel/MobileDocShapeEditPanel.d.ts +17 -0
- package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +4 -3
- package/lib/types/views/shape-floating-toolbar/DocsShapeMobileMenu.d.ts +13 -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 +22 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4f9d(_0x582a16,_0x52b0fb){_0x582a16=_0x582a16-0x9e;const _0x381b13=_0x381b();let _0x4f9d3f=_0x381b13[_0x582a16];return _0x4f9d3f;}(function(_0x3104d2,_0x4894e){const _0x2d4658=_0x4f9d,_0x55130a=_0x3104d2();while(!![]){try{const _0x3fed3b=-parseInt(_0x2d4658(0x1d3))/0x1*(parseInt(_0x2d4658(0x37b))/0x2)+-parseInt(_0x2d4658(0x344))/0x3+-parseInt(_0x2d4658(0x157))/0x4+parseInt(_0x2d4658(0x1da))/0x5+parseInt(_0x2d4658(0x2e7))/0x6+-parseInt(_0x2d4658(0x1e2))/0x7+parseInt(_0x2d4658(0x294))/0x8*(parseInt(_0x2d4658(0x2fb))/0x9);if(_0x3fed3b===_0x4894e)break;else _0x55130a['push'](_0x55130a['shift']());}catch(_0x47ea1d){_0x55130a['push'](_0x55130a['shift']());}}}(_0x381b,0x1b9cc),function(_0x225762,_0x144031){const _0xeb8094=_0x4f9d;typeof exports==_0xeb8094(0x2c8)&&typeof module<'u'?_0x144031(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/protocol')):typeof define==_0xeb8094(0x2ea)&&define[_0xeb8094(0x1fd)]?define([_0xeb8094(0xbb),_0xeb8094(0x32c),_0xeb8094(0x155),'@univerjs/ui',_0xeb8094(0x186),_0xeb8094(0xfd),_0xeb8094(0x295),_0xeb8094(0x1d8),_0xeb8094(0x23c),_0xeb8094(0x1cd),_0xeb8094(0x1ae),_0xeb8094(0x3d4),_0xeb8094(0x2ae),_0xeb8094(0x13e),_0xeb8094(0xbf),'@univerjs-pro/license',_0xeb8094(0x271),_0xeb8094(0x269),_0xeb8094(0x106)],_0x144031):(_0x225762=typeof globalThis<'u'?globalThis:_0x225762||self,_0x144031(_0x225762[_0xeb8094(0x311)]={},_0x225762[_0xeb8094(0x2b4)],_0x225762['UniverDocsUi'],_0x225762[_0xeb8094(0x2cd)],_0x225762[_0xeb8094(0xc8)],_0x225762[_0xeb8094(0x38e)],_0x225762[_0xeb8094(0x396)],_0x225762['UniverCore'],_0x225762[_0xeb8094(0x346)],_0x225762[_0xeb8094(0xf1)],_0x225762[_0xeb8094(0x39a)],_0x225762[_0xeb8094(0x2be)],_0x225762[_0xeb8094(0x321)],_0x225762[_0xeb8094(0xcb)],_0x225762[_0xeb8094(0xbf)],_0x225762[_0xeb8094(0x2d1)],_0x225762[_0xeb8094(0x2cc)],_0x225762[_0xeb8094(0xcb)],_0x225762[_0xeb8094(0x2d3)]));}(this,function(_0xd52142,_0x3be0ca,_0x4e182a,_0x40eeff,_0x473572,_0x1f7081,_0x184ef2,_0x3f9984,_0x421e15,_0x4d54ad,_0x1c0cd0,_0x4e3223,_0x1873b9,_0x133011,_0x880890,_0x30a9b9,_0x41e2ce,_0x3f4608,_0x50d816){const _0x4b60ce=_0x4f9d;Object[_0x4b60ce(0x329)](_0xd52142,Symbol[_0x4b60ce(0x14f)],{'value':_0x4b60ce(0x1c1)});function _0xc48106(_0x586046,_0x10b9c1){const _0x975da4=_0x4b60ce;if(_0x10b9c1){if((0x0,_0x1f7081[_0x975da4(0x241)])(_0x586046)&&(_0x10b9c1['startArrow']||_0x10b9c1[_0x975da4(0x325)]))return{'ln':{'startArrow':_0x10b9c1[_0x975da4(0x175)]?{'type':_0x1f7081[_0x975da4(0x29a)][_0x975da4(0x377)],'size':_0x1f7081[_0x975da4(0x2e2)][_0x975da4(0xcd)]}:void 0x0,'endArrow':_0x10b9c1[_0x975da4(0x325)]?{'type':_0x1f7081['ShapeArrowTypeEnum'][_0x975da4(0x377)],'size':_0x1f7081[_0x975da4(0x2e2)]['Large']}:void 0x0}};if(_0x586046===_0x1f7081[_0x975da4(0xda)][_0x975da4(0x3a9)]&&(_0x10b9c1['horizontal']||_0x10b9c1[_0x975da4(0x367)]))return(0x0,_0x184ef2[_0x975da4(0x1a0)])({'fill':{'fillType':_0x1f7081[_0x975da4(0x2b5)]['SolidFill'],'color':_0x975da4(0x23f)},'isHorizontal':!!_0x10b9c1[_0x975da4(0x137)],'stroke':{'lineStrokeType':_0x1f7081[_0x975da4(0x101)][_0x975da4(0x2a3)],'width':0x1,'color':_0x975da4(0x258)}});}}function _0x1e5b2f(_0x30a9a3,_0x3503f6){const _0x27186b=_0x4b60ce;var _0x26e5b6;let _0x71a91a=_0x3503f6[_0x27186b(0x1f1)]??'',_0x5bfd7d=(_0x26e5b6=_0x30a9a3[_0x27186b(0x1dd)](_0x71a91a))==null?void 0x0:_0x26e5b6[_0x27186b(0x1af)]();if(!_0x5bfd7d)return null;let _0x48a99e=_0x5bfd7d['paragraphs']??[],_0x220a93=_0x48a99e[_0x27186b(0x33d)](_0x74e95b=>{const _0x14e8cb=_0x27186b;let _0x33d32f=(0x0,_0x3f9984[_0x14e8cb(0xac)])(_0x5bfd7d,_0x74e95b);return _0x3503f6[_0x14e8cb(0x1ea)]>=_0x33d32f&&_0x3503f6[_0x14e8cb(0x1ea)]<=_0x74e95b['startIndex'];})??_0x48a99e[_0x48a99e[_0x27186b(0x38c)]-0x1];return _0x220a93?{'paragraphId':_0x220a93[_0x27186b(0x20d)],'segmentId':_0x71a91a,'position':_0x473572['DocShapeAnchorPosition'][_0x27186b(0x2de)],'offset':_0x3503f6[_0x27186b(0x1ea)]-(0x0,_0x3f9984[_0x27186b(0xac)])(_0x5bfd7d,_0x220a93)}:null;}function _0x1c77f0(_0x39f056,_0x5d829f,_0x2a13eb){const _0x1b5574=_0x4b60ce;var _0x4fa526,_0x263d05;if(!_0x2a13eb)return null;let _0x46134d=(_0x4fa526=_0x39f056[_0x1b5574(0x2bf)](_0x1c0cd0[_0x1b5574(0x361)])[_0x1b5574(0x338)](_0x5d829f))==null?void 0x0:_0x4fa526[_0x1b5574(0xfb)](_0x4e182a['DocParagraphMenuService'])[_0x1b5574(0x3c6)];if(!_0x46134d)return null;let _0x4e3e25=_0x2a13eb===_0x1b5574(0x1fa)?{'startOffset':_0x46134d[_0x1b5574(0x1fb)]['endOffset'],'endOffset':_0x46134d[_0x1b5574(0x1fb)]['endOffset']}:_0x46134d[_0x1b5574(0x22b)];return{'startOffset':_0x4e3e25[_0x1b5574(0x1ea)],'endOffset':_0x4e3e25[_0x1b5574(0x103)],'collapsed':_0x4e3e25[_0x1b5574(0x1ea)]===_0x4e3e25[_0x1b5574(0x103)],'segmentId':((_0x263d05=_0x46134d[_0x1b5574(0x296)])==null?void 0x0:_0x263d05[_0x1b5574(0x1f1)])??''};}let _0x4a32d3={'type':_0x3f9984[_0x4b60ce(0x1ec)][_0x4b60ce(0x21c)],'id':_0x4b60ce(0x2b2),'handler':async(_0x2c52ff,_0x5c1eb0)=>{const _0x3ecbf7=_0x4b60ce;let _0x587c7c=_0x2c52ff[_0x3ecbf7(0x2bf)](_0x3f9984[_0x3ecbf7(0x3aa)])[_0x3ecbf7(0x11a)](_0x3f9984[_0x3ecbf7(0x353)][_0x3ecbf7(0x2ad)]);if(!_0x587c7c)return!0x1;let _0x279190=_0x2c52ff[_0x3ecbf7(0x2bf)](_0x3f9984[_0x3ecbf7(0x36a)]),_0x562b40=_0x587c7c[_0x3ecbf7(0x281)](),_0x5e0fc4=_0x5c1eb0[_0x3ecbf7(0x3bb)]??(0x0,_0x3f9984[_0x3ecbf7(0x2d0)])(),_0x40da20=_0x5c1eb0[_0x3ecbf7(0x357)]??_0x473572['DEFAULT_DOC_SHAPE_WIDTH'],_0x454f51=_0x5c1eb0[_0x3ecbf7(0x1a1)]??_0x473572[_0x3ecbf7(0x27f)],_0x2ec88c=_0x5c1eb0[_0x3ecbf7(0xf4)]??_0xc48106(_0x5c1eb0[_0x3ecbf7(0x250)],_0x5c1eb0['enhanceParams']),_0x58bbc5=_0x1c77f0(_0x2c52ff,_0x562b40,_0x5c1eb0[_0x3ecbf7(0x292)])??_0x2c52ff[_0x3ecbf7(0x2bf)](_0x421e15[_0x3ecbf7(0x1c2)])[_0x3ecbf7(0x330)]();if(!_0x58bbc5)return!0x1;let _0x300bde=_0x1e5b2f(_0x587c7c,_0x58bbc5);return _0x300bde?!!_0x279190['syncExecuteCommand'](_0x473572[_0x3ecbf7(0x2a5)]['id'],{'unitId':_0x562b40,'shapeId':_0x5e0fc4,'shapeType':_0x5c1eb0[_0x3ecbf7(0x250)],'shapeData':_0x2ec88c,'transform':{'width':_0x40da20,'height':_0x454f51},'placement':{'wrappingStyle':_0x4d54ad[_0x3ecbf7(0x39c)]['INLINE'],'anchor':_0x300bde}}):!0x1;}},_0x262f18=_0x4b60ce(0x37a),_0x72e69e=_0x4b60ce(0x2f9),_0x2129ab=_0x4b60ce(0x2cb),_0x15d7a5=(0x0,_0x3f9984[_0x4b60ce(0x18e)])(_0x4b60ce(0x12c)),_0x2bad9d=_0x4b60ce(0x35e),_0x40c59c={'id':_0x4b60ce(0x18c),'type':_0x3f9984[_0x4b60ce(0x1ec)][_0x4b60ce(0x21c)],'handler':(_0x18e91d,_0x59b1d8)=>{const _0xbd3271=_0x4b60ce;let _0x3cbbb7=_0x18e91d[_0xbd3271(0x2bf)](_0x40eeff[_0xbd3271(0x2fe)]),_0x4e39fc=_0x18e91d[_0xbd3271(0x2bf)](_0x3f9984[_0xbd3271(0xad)]),_0x409cd9=_0x18e91d[_0xbd3271(0x2bf)](_0x4e3223[_0xbd3271(0x279)]);return(_0x59b1d8==null?void 0x0:_0x59b1d8[_0xbd3271(0x250)])==='close'?(_0x3cbbb7[_0xbd3271(0x2c5)](_0x2129ab),!0x0):(_0x3cbbb7[_0xbd3271(0x15c)]({'id':_0x2129ab,'header':{'title':_0x4e39fc['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x2129ab},'onClose':()=>{const _0x4d22c5=_0xbd3271;_0x409cd9[_0x4d22c5(0x1be)](null);},'width':0x168}),!0x0);}},_0x5d0e5f={'type':_0x3f9984[_0x4b60ce(0x1ec)][_0x4b60ce(0x375)],'id':_0x4b60ce(0x2c3),'handler'(){return!0x0;}};function _0x34b8dc(_0x3867d1){const _0x4a3837=_0x4b60ce;let _0x309673=_0x3867d1[_0x4a3837(0x2bf)](_0x4e3223['IDrawingManagerService'])[_0x4a3837(0x2b0)](),_0x85d07d=_0x309673[_0x4a3837(0x38c)]===0x1?_0x309673[0x0]:null;if(!_0x85d07d||_0x85d07d[_0x4a3837(0x205)]!==_0x3f9984[_0x4a3837(0xdb)][_0x4a3837(0xd5)])return null;let _0x13bc84=_0x3867d1[_0x4a3837(0x2bf)](_0x473572[_0x4a3837(0x3b4)]),_0x105b72=_0x13bc84['getShapeTypeById'](_0x85d07d[_0x4a3837(0x26a)],_0x85d07d[_0x4a3837(0x1c9)],_0x85d07d[_0x4a3837(0x17e)]),_0x20c456=_0x13bc84[_0x4a3837(0x26b)](_0x85d07d[_0x4a3837(0x26a)],_0x85d07d[_0x4a3837(0x1c9)],_0x85d07d['drawingId']);return _0x105b72===void 0x0||!_0x20c456?null:{'drawing':_0x85d07d,'shapeData':_0x20c456,'shapeType':_0x105b72};}let _0x2f240e={'id':'doc.operation.apply-shape-quick-style','type':_0x3f9984['CommandType'][_0x4b60ce(0x375)],'handler':(_0x1ec644,_0x21306d)=>{const _0x372613=_0x4b60ce;let _0xf72a79=_0x34b8dc(_0x1ec644),_0x4fee61=(0x0,_0x184ef2[_0x372613(0x32e)])((_0x21306d==null?void 0x0:_0x21306d['presetId'])??(_0x21306d==null?void 0x0:_0x21306d['value'])??'');if(!_0xf72a79||!_0x4fee61||_0x4fee61[_0x372613(0x317)]!==(0x0,_0x184ef2[_0x372613(0xab)])(_0xf72a79[_0x372613(0xf4)]))return!0x1;let _0x261975=(0x0,_0x184ef2[_0x372613(0x333)])(_0xf72a79[_0x372613(0xf4)],_0x4fee61);if(!_0x261975)return!0x1;let {drawing:_0x52e9eb}=_0xf72a79;return _0x1ec644[_0x372613(0x2bf)](_0x3f9984[_0x372613(0x36a)])[_0x372613(0x359)](_0x473572[_0x372613(0x1d5)]['id'],{'unitId':_0x52e9eb[_0x372613(0x26a)],'shapeId':_0x52e9eb[_0x372613(0x17e)],'shapeData':_0x261975,'oldShapeJSON':{'oldShapeData':_0xf72a79[_0x372613(0xf4)]}});}},_0x5e68c0={'id':_0x4b60ce(0x1ba),'type':_0x3f9984['CommandType']['OPERATION'],'handler':(_0x574fa1,_0x30d6d9)=>{const _0x50ba9c=_0x4b60ce;let _0xc39b65=_0x34b8dc(_0x574fa1),_0x45a2e6=(_0x30d6d9==null?void 0x0:_0x30d6d9[_0x50ba9c(0x16c)])??(_0x30d6d9==null?void 0x0:_0x30d6d9['value']);if(!_0xc39b65||!_0x45a2e6||(0x0,_0x1f7081[_0x50ba9c(0x241)])(_0xc39b65['shapeType'])||(0x0,_0x1f7081[_0x50ba9c(0x241)])(_0x45a2e6))return!0x1;let _0x2a78a0=(0x0,_0x184ef2['cloneShapeDataForType'])(_0xc39b65[_0x50ba9c(0xf4)],_0x45a2e6);if(!_0x2a78a0)return!0x1;let {drawing:_0x491978}=_0xc39b65;return _0x574fa1['get'](_0x3f9984[_0x50ba9c(0x36a)])['executeCommand'](_0x473572[_0x50ba9c(0x1d5)]['id'],{'unitId':_0x491978[_0x50ba9c(0x26a)],'shapeId':_0x491978[_0x50ba9c(0x17e)],'shapeType':_0x45a2e6,'shapeData':_0x2a78a0,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0xc39b65[_0x50ba9c(0x16c)],'oldShapeData':_0xc39b65[_0x50ba9c(0xf4)]}});}};function _0x18855d(_0x469e68,_0x5b6da9){return function(_0x5b484b,_0x5d4142){_0x5b6da9(_0x5b484b,_0x5d4142,_0x469e68);};}function _0x5adf5c(_0x2da2a5,_0x2f435b,_0x777e1,_0x165151){const _0xb89c95=_0x4b60ce;var _0x316218=arguments[_0xb89c95(0x38c)],_0x325496=_0x316218<0x3?_0x2f435b:_0x165151===null?_0x165151=Object['getOwnPropertyDescriptor'](_0x2f435b,_0x777e1):_0x165151,_0x114c87;if(typeof Reflect==_0xb89c95(0x2c8)&&typeof Reflect['decorate']=='function')_0x325496=Reflect[_0xb89c95(0x273)](_0x2da2a5,_0x2f435b,_0x777e1,_0x165151);else{for(var _0xdd52b9=_0x2da2a5['length']-0x1;_0xdd52b9>=0x0;_0xdd52b9--)(_0x114c87=_0x2da2a5[_0xdd52b9])&&(_0x325496=(_0x316218<0x3?_0x114c87(_0x325496):_0x316218>0x3?_0x114c87(_0x2f435b,_0x777e1,_0x325496):_0x114c87(_0x2f435b,_0x777e1))||_0x325496);}return _0x316218>0x3&&_0x325496&&Object[_0xb89c95(0x329)](_0x2f435b,_0x777e1,_0x325496),_0x325496;}let _0x241267=class extends _0x3f9984['Disposable']{constructor(_0x4d2d09,_0x34928e){const _0x537d6a=_0x4b60ce;super(),this[_0x537d6a(0x1f9)]=_0x4d2d09,this[_0x537d6a(0x298)]=_0x34928e,this['_registerImageShapeClipDelegate'](),this[_0x537d6a(0x1f9)][_0x537d6a(0x1d1)](!0x0),this[_0x537d6a(0x10e)]({'dispose':()=>this[_0x537d6a(0x1f9)]['setCanUseShapeClip'](!0x1)});}[_0x4b60ce(0x20e)](){const _0x2f903b=_0x4b60ce;let _0x2f9f61=new Map(),_0x3199d5=this[_0x2f903b(0x1f9)][_0x2f903b(0x39d)]((_0x36803f,_0x6a81e7,_0x566a18,_0xb4dd0b,_0x230dbe)=>{const _0x17e9e9=_0x2f903b;let _0x55c745=_0x6a81e7;if(_0x55c745===_0x1f7081[_0x17e9e9(0xda)][_0x17e9e9(0x176)]||_0x6a81e7===_0x17e9e9(0x159))return!0x1;try{let _0x337410=_0x2f9f61[_0x17e9e9(0x2bf)](_0x6a81e7);return _0x337410||(_0x337410=new _0x1f7081['ShapeModel'](_0x55c745,'clip-'+_0x6a81e7),_0x2f9f61[_0x17e9e9(0x374)](_0x6a81e7,_0x337410)),_0x337410[_0x17e9e9(0x254)](),_0x230dbe&&Object['keys'](_0x230dbe)[_0x17e9e9(0x38c)]>0x0&&_0x337410[_0x17e9e9(0x2d8)]({'adjustValues':_0x230dbe},!0x0),_0x337410['updateContext']({'width':_0x566a18,'height':_0xb4dd0b}),_0x337410['buildClipPath'](_0x36803f,{'left':0x0,'top':0x0,'width':_0x566a18,'height':_0xb4dd0b});}catch{return!0x1;}});this[_0x2f903b(0x10e)](_0x3199d5),this[_0x2f903b(0x10e)]({'dispose':()=>_0x2f9f61['clear']()});}[_0x4b60ce(0x2e4)](_0x5124f1,_0x511f29,_0x5974c4,_0x4e9b73,_0x424ca7){const _0x56d3e8=_0x4b60ce;let _0xa8545a=this[_0x56d3e8(0x298)][_0x56d3e8(0x10b)](_0x5124f1,_0x511f29)[_0x5974c4];!_0xa8545a||_0xa8545a[_0x56d3e8(0x205)]!==_0x3f9984[_0x56d3e8(0xdb)][_0x56d3e8(0x242)]||this[_0x56d3e8(0x298)][_0x56d3e8(0x1d9)]([{..._0xa8545a,'prstGeom':_0x4e9b73,'adjustValues':_0x424ca7}]);}};_0x241267=_0x5adf5c([_0x18855d(0x0,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x1873b9[_0x4b60ce(0x1c5)])),_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e3223[_0x4b60ce(0x279)]))],_0x241267);let _0x13da67=_0x4b60ce(0x1c8),_0x4b1e10=_0x4b60ce(0xa4);function _0x22ffae({onShapeClick:_0x3bc650,excludeGroups:_0x2e2d12}){const _0x1c9407=_0x4b60ce;return(0x0,_0x133011['jsx'])(_0x3be0ca[_0x1c9407(0x395)],{'excludeGroups':_0x2e2d12,'onShapeClick':_0x3bc650,'scrollContainer':'parent'});}function _0x2c5883(){const _0x1901f0=_0x4b60ce;let _0x29044c=(0x0,_0x40eeff[_0x1901f0(0x16b)])(_0x4e3223[_0x1901f0(0x279)]),_0x1b9d4d=(0x0,_0x40eeff[_0x1901f0(0x16b)])(_0x241267);return(0x0,_0x133011['jsx'])(_0x3be0ca[_0x1901f0(0xfc)],{'buttonLabel':_0x1901f0(0x3ba),'excludeGroups':[_0x3be0ca[_0x1901f0(0xf7)][_0x1901f0(0x259)]],'onShapeClick':_0x23becb=>{const _0x1bc645=_0x1901f0;let _0xe71bdb=_0x29044c['getFocusDrawings']()['find'](_0x1e2fa9=>_0x1e2fa9[_0x1bc645(0x205)]===_0x3f9984[_0x1bc645(0xdb)][_0x1bc645(0x242)]);if(!_0xe71bdb)return;let {unitId:_0x495dab,subUnitId:_0x2392c5,drawingId:_0x3ac85d}=_0xe71bdb;_0x1b9d4d[_0x1bc645(0x2e4)](_0x495dab,_0x2392c5,_0x3ac85d,_0x23becb[_0x1bc645(0x317)]);}});}function _0xf1018c(){const _0x42ff03=_0x4b60ce;let _0x1e082a=(0x0,_0x40eeff['useDependency'])(_0x40eeff['ComponentManager']),_0x3ef426=(0x0,_0x40eeff['useDependency'])(_0x4e3223[_0x42ff03(0x279)]),_0x106f62=(0x0,_0x40eeff[_0x42ff03(0x16b)])(_0x3f9984['IUniverInstanceService']),_0x399056=_0x3ef426[_0x42ff03(0x2b0)]()[0x0],_0x1e1005=_0x399056?_0x106f62['getUnitType'](_0x399056[_0x42ff03(0x26a)]):void 0x0,_0x421fe7=_0x1e1005===_0x3f9984[_0x42ff03(0x353)][_0x42ff03(0x2ad)]?_0x4b1e10:_0x1e1005===_0x3f9984[_0x42ff03(0x353)]['UNIVER_SHEET']?_0x42ff03(0x35b):void 0x0,_0x5c18ba=_0x421fe7?_0x1e082a[_0x42ff03(0x2bf)](_0x421fe7):void 0x0;return _0x5c18ba?(0x0,_0x133011[_0x42ff03(0x313)])(_0x5c18ba,{}):null;}function _0x54fb14({paragraphMenuPlacement:_0x195932}){const _0x1303b8=_0x4b60ce;let _0x19cece=(0x0,_0x40eeff[_0x1303b8(0x16b)])(_0x3f9984['ICommandService']);return(0x0,_0x133011[_0x1303b8(0x313)])(_0x22ffae,{'onShapeClick':_0xfd6bf1=>{const _0x551c7c=_0x1303b8;_0x19cece[_0x551c7c(0x359)](_0x4a32d3['id'],{'paragraphMenuPlacement':_0x195932,'value':_0xfd6bf1['type'],'enhanceParams':{'endArrow':_0xfd6bf1[_0x551c7c(0x325)],'startArrow':_0xfd6bf1[_0x551c7c(0x175)],'horizontal':_0xfd6bf1['horizontal'],'vertical':_0xfd6bf1[_0x551c7c(0x367)]}});}});}function _0x24e84c(_0x1510f0){const _0x201ab8=_0x4b60ce;return _0xdbb0a9=>({'id':_0x4a32d3['id'],'type':_0x40eeff[_0x201ab8(0xf0)][_0x201ab8(0xf2)],'selections':[{'label':{'name':_0x13da67,'hoverable':!0x1,'selectable':!0x1,'props':_0x1510f0?{'id':_0x4a32d3['id'],'paragraphMenuPlacement':_0x1510f0}:{'id':_0x4a32d3['id']}}}],'icon':_0x201ab8(0x1bb),'title':_0x201ab8(0x1a6),'tooltip':_0x201ab8(0x1a6),'hidden$':(0x0,_0x40eeff[_0x201ab8(0x245)])(_0xdbb0a9,_0x3f9984['UniverInstanceType']['UNIVER_DOC'])});}let _0x317db9=_0x24e84c(),_0x43740a=_0x24e84c('below'),_0x371f13=_0x24e84c(_0x4b60ce(0x2a0));function _0x397261(_0xe4c52e){const _0x3d6d89=_0x4b60ce;return{'id':_0x40c59c['id'],'type':_0x40eeff['MenuItemType'][_0x3d6d89(0x1d4)],'icon':_0x3d6d89(0x126),'title':_0x3d6d89(0x1fe),'tooltip':_0x3d6d89(0x1fe),'hidden$':(0x0,_0x40eeff[_0x3d6d89(0x245)])(_0xe4c52e,_0x3f9984[_0x3d6d89(0x353)][_0x3d6d89(0x2ad)])};}function _0x4eb952(_0x43aec5,_0x429bbb,_0x27120e,_0x12265c,_0x3bf0d7,_0x362f3a){const _0x22648c=_0x4b60ce;let _0x3c5b7b={'unitId':_0x429bbb,'shapeId':_0x12265c,'shapeData':_0x362f3a,'oldShapeJSON':_0x3bf0d7};return _0x43aec5[_0x22648c(0x359)](_0x473572[_0x22648c(0x1d5)]['id'],_0x3c5b7b);}function _0x3b1f62(_0xb1dbe6,_0xf6575a,_0x4d2202,_0x3a4735,_0x5badbd,_0x3845e9){const _0x45111d=_0x4b60ce;let _0x1521bc={'unitId':_0xf6575a,'shapeId':_0x3a4735,'shapeData':_0x3845e9,'oldShapeJSON':_0x5badbd};return _0xb1dbe6[_0x45111d(0x359)](_0x473572[_0x45111d(0x1d5)]['id'],_0x1521bc);}let _0x4669f8=_0x4b60ce(0x36d),_0x4580d7=_0x4b60ce(0x29d),_0x430825=_0x4b60ce(0x265),_0x4e3ec1=_0x4b60ce(0x1d6),_0x8805d6=_0x4b60ce(0xde),_0x1068d7=[{'value':_0x4d54ad[_0x4b60ce(0x39c)][_0x4b60ce(0x20a)],'label':_0x4b60ce(0x314),'icon':_0x4b60ce(0x322)},{'value':_0x4d54ad[_0x4b60ce(0x39c)][_0x4b60ce(0x33c)],'label':_0x4b60ce(0x30c),'icon':_0x4b60ce(0x1f7)},{'value':_0x4d54ad['TextWrappingStyle'][_0x4b60ce(0x216)],'label':'docs-shape-ui.textWrap.topAndBottom','icon':_0x4b60ce(0x302)},{'value':_0x4d54ad[_0x4b60ce(0x39c)][_0x4b60ce(0x1ef)],'label':'docs-shape-ui.textWrap.behindText','icon':_0x4b60ce(0xb8)},{'value':_0x4d54ad[_0x4b60ce(0x39c)][_0x4b60ce(0x178)],'label':_0x4b60ce(0xc4),'icon':_0x4b60ce(0x14b)}];function _0x11d1cf(){const _0x60b187=_0x4b60ce;let _0x4013eb=(0x0,_0x40eeff[_0x60b187(0x16b)])(_0x3f9984[_0x60b187(0x36a)]),_0x2efc41=(0x0,_0x40eeff[_0x60b187(0x16b)])(_0x4e3223[_0x60b187(0x279)]),_0x4414e5=(0x0,_0x40eeff[_0x60b187(0x16b)])(_0x473572[_0x60b187(0x3b4)]),_0x27c279=()=>{const _0x18ed2d=_0x60b187;var _0x11921a;let _0x5495b0=_0x2efc41[_0x18ed2d(0x2b0)]();if(_0x5495b0[_0x18ed2d(0x38c)]!==0x1||((_0x11921a=_0x5495b0[0x0])==null?void 0x0:_0x11921a[_0x18ed2d(0x205)])!==_0x3f9984[_0x18ed2d(0xdb)][_0x18ed2d(0xd5)])return null;let {unitId:_0x2a2415,subUnitId:_0x34af19,drawingId:_0x309d53}=_0x5495b0[0x0],_0x1f7f2a=_0x4414e5['getShapeTypeById'](_0x2a2415,_0x34af19,_0x309d53),_0x1fbafe=_0x4414e5[_0x18ed2d(0x26b)](_0x2a2415,_0x34af19,_0x309d53);return _0x1f7f2a===void 0x0||!_0x1fbafe?null:{'unitId':_0x2a2415,'subUnitId':_0x34af19,'drawingId':_0x309d53,'shapeType':_0x1f7f2a,'shapeData':_0x1fbafe};},_0x3df681=(0x0,_0x40eeff[_0x60b187(0x13b)])(()=>new _0x880890['Observable'](_0x2f5d2e=>{const _0x519b8c=_0x60b187;let _0x102135=()=>_0x2f5d2e['next'](_0x27c279()),_0x2065ff=_0x2efc41[_0x519b8c(0x36b)][_0x519b8c(0x3b5)](_0x102135),_0x431b60=_0x4013eb[_0x519b8c(0x32a)](_0x171408=>{const _0x1d9c17=_0x519b8c;_0x171408['id']===_0x473572[_0x1d9c17(0x3ad)]['id']&&_0x102135();});return _0x102135(),()=>{const _0x2749f3=_0x519b8c;_0x2065ff[_0x2749f3(0x2ab)](),_0x431b60[_0x2749f3(0x384)]();};}),_0x27c279(),!0x1,[_0x4013eb,_0x4414e5,_0x2efc41]);return{'selection':_0x3df681,'updateShapeData':_0x371ed7=>{const _0x101053=_0x60b187;_0x3df681&&_0x4eb952(_0x4013eb,_0x3df681['unitId'],_0x3df681[_0x101053(0x1c9)],_0x3df681[_0x101053(0x17e)],{'oldShapeData':_0x3df681['shapeData']},_0x371ed7);}};}function _0x5dc768(){const _0x24b329=_0x4b60ce;let {selection:_0x2966ff,updateShapeData:_0x55046}=_0x11d1cf();return _0x2966ff?(0x0,_0x133011[_0x24b329(0x313)])(_0x3be0ca['ShapeStyleRibbonControl'],{'shapeData':_0x2966ff[_0x24b329(0xf4)],'shapeType':_0x2966ff['shapeType'],'onUpdateShapeData':_0x55046}):null;}function _0x3fa152(){const _0x2e0a84=_0x4b60ce;let _0x491720=(0x0,_0x40eeff[_0x2e0a84(0x16b)])(_0x3f9984['ICommandService']),_0x193f2b=(0x0,_0x40eeff[_0x2e0a84(0x16b)])(_0x3f9984[_0x2e0a84(0xad)]),{selection:_0x3d036d}=_0x11d1cf();return _0x3d036d?(0x0,_0x133011[_0x2e0a84(0x313)])(_0x3be0ca[_0x2e0a84(0x3c5)],{'type':(0x0,_0x184ef2[_0x2e0a84(0xab)])(_0x3d036d[_0x2e0a84(0xf4)]),'ariaLabel':_0x193f2b['t'](_0x2e0a84(0xa3)),'activePresetId':(0x0,_0x184ef2[_0x2e0a84(0x288)])(_0x3d036d[_0x2e0a84(0xf4)]),'onSelect':_0x7a8ccd=>_0x491720[_0x2e0a84(0x359)](_0x2f240e['id'],{'presetId':_0x7a8ccd})}):null;}function _0x57ce15(){const _0x59706d=_0x4b60ce;let {selection:_0xeb8253,updateShapeData:_0x4a5d84}=_0x11d1cf();return _0xeb8253?(0x0,_0x133011[_0x59706d(0x313)])(_0x3be0ca['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x59706d(0x386),'shapeData':_0xeb8253['shapeData'],'onUpdateShapeData':_0x4a5d84}):null;}function _0x24f66d(){const _0x548736=_0x4b60ce;var _0x13148b;let {selection:_0x18bb2f,updateShapeData:_0x3caad1}=_0x11d1cf(),_0x55e30b=(0x0,_0x3be0ca[_0x548736(0x198)])({'hostType':_0x3f9984[_0x548736(0x353)][_0x548736(0x2ad)],'unitId':(_0x18bb2f==null?void 0x0:_0x18bb2f[_0x548736(0x26a)])??'','subUnitId':(_0x18bb2f==null?void 0x0:_0x18bb2f[_0x548736(0x1c9)])??'','shapeId':(_0x18bb2f==null?void 0x0:_0x18bb2f[_0x548736(0x17e)])??'','shapeData':_0x18bb2f==null?void 0x0:_0x18bb2f[_0x548736(0xf4)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x548736(0xd3),'onUpdateBinding':_0x3be68d=>_0x3caad1({'formulaBinding':_0x3be68d})}),_0x4afec7=((_0x13148b=_0x55e30b[_0x548736(0x3d2)])==null?void 0x0:_0x13148b[_0x548736(0x390)](_0x22a4a5=>_0x22a4a5[_0x548736(0x202)])[_0x548736(0x328)](_0x575426=>_0x575426[_0x548736(0x1c7)]!==!0x1))??[];return _0x18bb2f!=null&&_0x18bb2f[_0x548736(0xf4)][_0x548736(0x226)]?(0x0,_0x133011[_0x548736(0x313)])(_0x3be0ca['ShapeFormulaRibbonControl'],{'actions':_0x4afec7,'panel':_0x55e30b['panel']}):null;}function _0xfefac2({value:_0x264e4c}){const _0x2d4895=_0x4b60ce;let _0x337033=(0x0,_0x40eeff[_0x2d4895(0x16b)])(_0x3f9984[_0x2d4895(0xad)]),_0x49fd9d=_0x1068d7[_0x2d4895(0x33d)](_0x323c81=>_0x323c81[_0x2d4895(0x250)]===_0x264e4c)??_0x1068d7[0x0];return _0x49fd9d?(0x0,_0x133011[_0x2d4895(0x313)])(_0x2d4895(0x27c),{'children':_0x337033['t'](_0x49fd9d['label'])}):null;}let _0x32a993=_0x4b60ce(0x134),_0x370a51='docs-shape-ui.ribbon.shape-format.text-control',_0x2baa9f=_0x4b60ce(0x2ef),_0x87b544='docs-shape-ui.ribbon.shape-format.arrange-forward',_0x5859b6='docs-shape-ui.ribbon.shape-format.arrange-backward',_0x49cd0b=_0x4b60ce(0x28e),_0x59eab0=_0x4b60ce(0x397),_0x127f3d=_0x4b60ce(0x2c0);function _0x338289(_0x82419e){const _0x10b456=_0x4b60ce;let _0x4b91b5=_0x82419e[_0x10b456(0x2bf)](_0x3f9984[_0x10b456(0x36a)]),_0x48285e=_0x82419e[_0x10b456(0x2bf)](_0x4e3223[_0x10b456(0x279)]),_0x396cec=_0x82419e[_0x10b456(0x2bf)](_0x473572['DocsShapeService']);return new _0x880890['Observable'](_0x263ba4=>{const _0xa8b941=_0x10b456;let _0x3eb265=()=>{const _0x13b1be=_0x4f9d;let _0x6ded35=_0x1a0e03(_0x82419e),_0x271d2d=_0x6ded35?_0x396cec[_0x13b1be(0x26b)](_0x6ded35[_0x13b1be(0x26a)],_0x6ded35[_0x13b1be(0x1c9)],_0x6ded35['drawingId']):null;_0x263ba4[_0x13b1be(0xed)](_0x271d2d?(0x0,_0x184ef2['resolveActiveShapeQuickStylePresetId'])(_0x271d2d)??'':'');},_0x29457f=_0x48285e[_0xa8b941(0x36b)][_0xa8b941(0x3b5)](_0x3eb265),_0x2d827b=_0x4b91b5['onCommandExecuted'](_0x561d01=>{const _0xa4eff8=_0xa8b941;_0x561d01['id']===_0x473572[_0xa4eff8(0x3ad)]['id']&&_0x3eb265();});return _0x3eb265(),()=>{_0x29457f['unsubscribe'](),_0x2d827b['dispose']();};});}function _0x1a0e03(_0x29e83f){const _0x4788bb=_0x4b60ce;var _0x537353;let _0x2fbfff=_0x29e83f['get'](_0x4e3223[_0x4788bb(0x279)])['getFocusDrawings']();return _0x2fbfff[_0x4788bb(0x38c)]===0x1&&((_0x537353=_0x2fbfff[0x0])==null?void 0x0:_0x537353[_0x4788bb(0x205)])===_0x3f9984[_0x4788bb(0xdb)][_0x4788bb(0xd5)]?_0x2fbfff[0x0]:null;}function _0x27e626(_0x4c2809){const _0x4e3405=_0x4b60ce;return(_0x4c2809==null?void 0x0:_0x4c2809[_0x4e3405(0x238)])===_0x3f9984[_0x4e3405(0x2a7)][_0x4e3405(0x17d)]?_0x4c2809['behindDoc']===_0x3f9984[_0x4e3405(0x1d2)][_0x4e3405(0x3c1)]?_0x4d54ad[_0x4e3405(0x39c)][_0x4e3405(0x1ef)]:_0x4d54ad[_0x4e3405(0x39c)][_0x4e3405(0x178)]:(_0x4c2809==null?void 0x0:_0x4c2809[_0x4e3405(0x238)])===_0x3f9984[_0x4e3405(0x2a7)][_0x4e3405(0x33c)]?_0x4d54ad[_0x4e3405(0x39c)][_0x4e3405(0x33c)]:(_0x4c2809==null?void 0x0:_0x4c2809[_0x4e3405(0x238)])===_0x3f9984[_0x4e3405(0x2a7)][_0x4e3405(0x216)]?_0x4d54ad[_0x4e3405(0x39c)][_0x4e3405(0x216)]:_0x4d54ad['TextWrappingStyle'][_0x4e3405(0x20a)];}function _0x47db99(_0x169785){const _0x5ec043=_0x4b60ce;let _0x513c63=_0x169785[_0x5ec043(0x2bf)](_0x3f9984[_0x5ec043(0x36a)]),_0x2d054e=_0x169785['get'](_0x4e3223['IDrawingManagerService']),_0x54e990=_0x169785[_0x5ec043(0x2bf)](_0x3f9984['IUniverInstanceService']);return new _0x880890[(_0x5ec043(0x209))](_0x4ddb20=>{const _0x5e8cce=_0x5ec043;let _0x31364c=()=>{const _0x162ec6=_0x4f9d;var _0x4a1e72;let _0x558e3f=_0x1a0e03(_0x169785),_0xa5476b=_0x558e3f?_0x54e990[_0x162ec6(0xce)](_0x558e3f[_0x162ec6(0x26a)],_0x3f9984[_0x162ec6(0x353)][_0x162ec6(0x2ad)]):void 0x0;_0x4ddb20['next'](_0x27e626(_0x558e3f?_0xa5476b==null||(_0x4a1e72=_0xa5476b[_0x162ec6(0x263)]()[_0x162ec6(0x22e)])==null?void 0x0:_0x4a1e72[_0x558e3f[_0x162ec6(0x17e)]]:void 0x0));},_0x58ffbb=_0x2d054e[_0x5e8cce(0x36b)][_0x5e8cce(0x3b5)](_0x31364c),_0x4bab58=_0x513c63[_0x5e8cce(0x32a)](_0x3f5c8b=>{const _0x40d566=_0x5e8cce;_0x3f5c8b['id']===_0x421e15[_0x40d566(0x34d)]['id']&&_0x31364c();});return _0x31364c(),()=>{const _0x4f457e=_0x5e8cce;_0x58ffbb[_0x4f457e(0x2ab)](),_0x4bab58[_0x4f457e(0x384)]();};})[_0x5ec043(0xfe)]((0x0,_0x880890[_0x5ec043(0x184)])());}function _0x81f8ed(_0x570336,_0xa3d010=!0x1){const _0x5885b9=_0x4b60ce;let _0x24450e=_0x570336['get'](_0x3f9984[_0x5885b9(0x36a)]),_0x17b134=_0x570336[_0x5885b9(0x2bf)](_0x4e3223[_0x5885b9(0x279)]),_0x16075c=_0x570336[_0x5885b9(0x2bf)](_0x473572[_0x5885b9(0x3b4)]);return new _0x880890['Observable'](_0x55a76f=>{const _0x45b2ef=_0x5885b9;let _0x39abee=()=>{const _0x3ac885=_0x4f9d;let _0x27b14e=_0x1a0e03(_0x570336);if(!_0x27b14e){_0x55a76f[_0x3ac885(0xed)](!0x0);return;}let _0x455b4=_0x16075c[_0x3ac885(0x26b)](_0x27b14e['unitId'],_0x27b14e[_0x3ac885(0x1c9)],_0x27b14e[_0x3ac885(0x17e)]);_0x55a76f['next'](!_0x455b4||_0xa3d010&&_0x455b4[_0x3ac885(0x226)]==null);},_0x461ae5=_0x17b134['focus$'][_0x45b2ef(0x3b5)](_0x39abee),_0x1a79f7=_0x24450e[_0x45b2ef(0x32a)](_0x58d955=>{const _0x286f60=_0x45b2ef;_0x58d955['id']===_0x473572[_0x286f60(0x3ad)]['id']&&_0x39abee();});return _0x39abee(),()=>{const _0xdb1027=_0x45b2ef;_0x461ae5[_0xdb1027(0x2ab)](),_0x1a79f7[_0xdb1027(0x384)]();};});}function _0x3d8592(_0x2950de){const _0x80512d=_0x4b60ce;let _0x186e8d=_0x2950de[_0x80512d(0x2bf)](_0x4e3223[_0x80512d(0x279)]),_0xcc9c2e=_0x2950de[_0x80512d(0x2bf)](_0x473572['DocsShapeService']);return _0x186e8d[_0x80512d(0x36b)]['pipe']((0x0,_0x880890[_0x80512d(0x3b2)])(_0x186e8d[_0x80512d(0x2b0)]()),(0x0,_0x880890[_0x80512d(0x300)])(()=>{const _0x1ea8b3=_0x80512d;let _0x33bea5=_0x1a0e03(_0x2950de),_0x30f45f=_0x33bea5?_0xcc9c2e[_0x1ea8b3(0x207)](_0x33bea5[_0x1ea8b3(0x26a)],_0x33bea5[_0x1ea8b3(0x1c9)],_0x33bea5[_0x1ea8b3(0x17e)]):void 0x0;return _0x30f45f===void 0x0||(0x0,_0x1f7081['isConnectorShape'])(_0x30f45f);}));}function _0x53026e(_0x529f28){const _0xaef848=_0x4b60ce;return{'id':_0x2f240e['id'],'type':_0x40eeff[_0xaef848(0xf0)][_0xaef848(0xf2)],'icon':_0xaef848(0x1bc),'title':_0xaef848(0x204),'tooltip':_0xaef848(0x204),'selections':[{'label':{'name':_0x4669f8,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x338289(_0x529f28),'hidden$':_0x81f8ed(_0x529f28)};}function _0x3287ee(_0x5b0372){const _0xaa54fa=_0x4b60ce;return{'id':_0x5e68c0['id'],'type':_0x40eeff[_0xaa54fa(0xf0)][_0xaa54fa(0xf2)],'icon':'ShapeIcon','title':'shape-editor-ui.toolbar.changeShape','tooltip':_0xaa54fa(0xe3),'slot':!0x0,'selections':[{'label':{'name':_0x3be0ca[_0xaa54fa(0x2bd)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x3d8592(_0x5b0372)};}function _0x24b015(_0x2e9c6a,_0x45d882,_0x17988c=!0x1){const _0x40e769=_0x4b60ce;return _0x4281b8=>({'id':_0x2e9c6a,'type':_0x40eeff[_0x40e769(0xf0)][_0x40e769(0x1d4)],'label':{'name':_0x45d882,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x81f8ed(_0x4281b8,_0x17988c)});}let _0x3d26e6=_0x24b015(_0x32a993,_0x4580d7),_0x17d67a=_0x24b015(_0x370a51,_0x430825),_0x336b1a=_0x24b015(_0x2baa9f,_0x4e3ec1,!0x0);function _0x1f6e45(_0x4c468a){const _0x549176=_0x4b60ce;return{'id':_0x127f3d,'type':_0x40eeff['MenuItemType']['SELECTOR'],'icon':_0x1068d7[0x0][_0x549176(0x2f0)],'label':_0x8805d6,'selectionsCommandId':_0x4d54ad[_0x549176(0xa9)]['id'],'selections':_0x1068d7['map'](({icon:_0xd573bf,label:_0x20d87e,value:_0x590a5a})=>({'value':_0x590a5a,'label':_0x20d87e,'icon':_0xd573bf,'params':()=>{const _0x382f9b=_0x549176;let _0x46fe04=_0x1a0e03(_0x4c468a);return _0x46fe04?{'unitId':_0x46fe04[_0x382f9b(0x26a)],'subUnitId':_0x46fe04[_0x382f9b(0x1c9)],'drawings':[{'unitId':_0x46fe04[_0x382f9b(0x26a)],'subUnitId':_0x46fe04[_0x382f9b(0x1c9)],'drawingId':_0x46fe04['drawingId']}],'wrappingStyle':_0x590a5a}:void 0x0;}})),'value$':_0x47db99(_0x4c468a),'hidden$':_0x81f8ed(_0x4c468a)};}function _0x730c88(_0x4605e5,_0x319d35,_0x57cdfb,_0x526591){const _0x3c2c99=_0x4b60ce;return _0x3446b6=>({'id':_0x4605e5,'commandId':_0x4d54ad[_0x3c2c99(0x217)]['id'],'type':_0x40eeff[_0x3c2c99(0xf0)][_0x3c2c99(0x1d4)],'icon':_0x57cdfb,'title':_0x526591,'tooltip':_0x526591,'hidden$':_0x81f8ed(_0x3446b6),'params':()=>{const _0x50a01a=_0x3c2c99;let _0x2dda92=_0x1a0e03(_0x3446b6);return _0x2dda92?{'unitId':_0x2dda92[_0x50a01a(0x26a)],'subUnitId':_0x2dda92[_0x50a01a(0x1c9)],'drawingIds':[_0x2dda92[_0x50a01a(0x17e)]],'arrangeType':_0x319d35}:void 0x0;}});}let _0x136a7a=_0x730c88(_0x87b544,_0x3f9984[_0x4b60ce(0x237)]['forward'],_0x4b60ce(0xe5),'shape-editor-ui.arrange.forward'),_0x3e9fb0=_0x730c88(_0x5859b6,_0x3f9984[_0x4b60ce(0x237)]['backward'],_0x4b60ce(0x364),_0x4b60ce(0x3cb)),_0xd38522=_0x730c88(_0x49cd0b,_0x3f9984[_0x4b60ce(0x237)][_0x4b60ce(0x23b)],'TopmostIcon',_0x4b60ce(0x34c)),_0x220893=_0x730c88(_0x59eab0,_0x3f9984[_0x4b60ce(0x237)]['back'],_0x4b60ce(0x1b1),_0x4b60ce(0xe6));function _0x592463(_0x38d953){const _0x4d723f=_0x4b60ce;return{'id':_0x5d0e5f['id'],'type':_0x40eeff[_0x4d723f(0xf0)][_0x4d723f(0x1d4)],'icon':_0x4d723f(0x267),'title':'docs-shape-ui.formatShape','tooltip':_0x4d723f(0xd2),'hidden$':_0x81f8ed(_0x38d953),'params':()=>{const _0xbe354c=_0x4d723f;let _0x95a664=_0x1a0e03(_0x38d953);return _0x95a664?{'unitId':_0x95a664[_0xbe354c(0x26a)],'subUnitId':_0x95a664[_0xbe354c(0x1c9)],'drawingId':_0x95a664[_0xbe354c(0x17e)]}:void 0x0;}};}let _0x38ce24={[_0x40eeff[_0x4b60ce(0x1f3)][_0x4b60ce(0x210)]]:{[_0x72e69e]:{'order':0x64,'title':_0x4b60ce(0xd2),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x2f240e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x53026e},[_0x5e68c0['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3287ee}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x32a993]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x3d26e6}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x370a51]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x17d67a}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x127f3d]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x1f6e45},[_0x87b544]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x136a7a},[_0x5859b6]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x3e9fb0},[_0x49cd0b]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0xd38522},[_0x59eab0]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x220893}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2baa9f]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x336b1a}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5d0e5f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x592463},[_0x3be0ca[_0x4b60ce(0xca)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3be0ca[_0x4b60ce(0x225)]}}}}},_0x303ca5={[_0x40eeff[_0x4b60ce(0x228)]['MEDIA']]:{[_0x4a32d3['id']]:{'order':0x4,'menuItemFactory':_0x623bc4=>({..._0x317db9(_0x623bc4),'title':void 0x0})}},[_0x40eeff[_0x4b60ce(0x228)]['OTHERS']]:{[_0x40c59c['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x397261}},[_0x40eeff[_0x4b60ce(0x100)][_0x4b60ce(0x152)]]:{[_0x40eeff[_0x4b60ce(0x10d)][_0x4b60ce(0x26e)]]:{[_0x4e182a[_0x4b60ce(0x1b6)]]:{[_0x4a32d3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43740a}}},[_0x4e182a['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x40eeff['ContextMenuGroup'][_0x4b60ce(0x26e)]]:{[_0x4a32d3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43740a}}},[_0x4e182a[_0x4b60ce(0x122)]]:{[_0x40eeff[_0x4b60ce(0x10d)][_0x4b60ce(0x26e)]]:{[_0x4a32d3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x371f13}}},[_0x4e182a[_0x4b60ce(0x13a)]]:{'insert':{[_0x4a32d3['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x317db9}}},[_0x4e182a['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x4a32d3['id']+_0x4b60ce(0x32d)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x43740a}}}}};var _0x756864='@univerjs-pro/docs-shape-ui',_0x50b73b=_0x4b60ce(0x109);let _0x57aa4f={'type':_0x3f9984['CommandType'][_0x4b60ce(0x375)],'id':'doc.operation.close-doc-shape-format-panel','handler'(){return!0x0;}},_0x4a49f9={};function _0xdd538({ref:_0x469c00,..._0x4092c7}){const _0x5b6b2b=_0x4b60ce;let {preserveStrokeWidth:_0x8185b4,icon:_0x11788a,id:_0x47bd0d,className:_0x22b10a,extend:_0x149581,..._0x48c2b3}=_0x4092c7,_0x480c53=('univerjs-icon\x20univerjs-icon-'+_0x47bd0d+'\x20'+(_0x22b10a||''))['trim'](),_0xcb4818='_'+(0x0,_0x3f4608[_0x5b6b2b(0x135)])(),_0x3d0d9b=(0x0,_0x3f4608[_0x5b6b2b(0x26c)])(null);return(0x0,_0x3f4608[_0x5b6b2b(0x2f3)])(_0x469c00,()=>_0x3d0d9b['current']),(0x0,_0x3f4608[_0x5b6b2b(0x1c4)])(()=>{const _0x2c7d24=_0x5b6b2b;if(!(!_0x8185b4||!_0x3d0d9b[_0x2c7d24(0x334)]||_0x3d0d9b[_0x2c7d24(0x334)]['localName']!==_0x11788a[_0x2c7d24(0x355)]))return _0x2f8e3c(_0x3d0d9b[_0x2c7d24(0x334)]);},[_0x8185b4,_0x11788a]),_0x4f9ffd(_0x11788a,''+_0x47bd0d,{'defIds':_0x11788a[_0x5b6b2b(0x211)],'idSuffix':_0xcb4818},{'ref':_0x3d0d9b,'className':_0x480c53,..._0x48c2b3},_0x149581);}function _0x4f9ffd(_0x22018f,_0x25aef1,_0x2e10fc,_0x1bd171,_0x4456d2){const _0x2cc868=_0x4b60ce;return(0x0,_0x3f4608['createElement'])(_0x22018f[_0x2cc868(0x355)],{'key':_0x25aef1,..._0x857fb6(_0x22018f,_0x2e10fc,_0x4456d2),..._0x1bd171},(_0x52d269(_0x22018f,_0x2e10fc)[_0x2cc868(0x1b5)]||[])[_0x2cc868(0x300)]((_0x1d0500,_0x9f52b6)=>_0x4f9ffd(_0x1d0500,_0x25aef1+'-'+_0x22018f[_0x2cc868(0x355)]+'-'+_0x9f52b6,_0x2e10fc,void 0x0,_0x4456d2)));}function _0x857fb6(_0x327391,_0x3f6f84,_0x2328ac){const _0x2ab3c5=_0x4b60ce;let _0x259e0e={..._0x327391[_0x2ab3c5(0x34a)]};_0x2328ac!=null&&_0x2328ac[_0x2ab3c5(0x27b)]&&_0x259e0e['fill']===_0x2ab3c5(0x27b)&&(_0x259e0e[_0x2ab3c5(0x164)]=_0x2328ac[_0x2ab3c5(0x27b)]),_0x2328ac!=null&&_0x2328ac[_0x2ab3c5(0x27b)]&&_0x259e0e[_0x2ab3c5(0x2c1)]===_0x2ab3c5(0x27b)&&(_0x259e0e[_0x2ab3c5(0x2c1)]=_0x2328ac[_0x2ab3c5(0x27b)]),_0x327391[_0x2ab3c5(0x355)]===_0x2ab3c5(0x2ca)&&_0x259e0e['id']&&(_0x259e0e['id']+=_0x3f6f84['idSuffix']),Object['entries'](_0x259e0e)[_0x2ab3c5(0x125)](([_0x5b207e,_0x193f72])=>{const _0xa2ecd8=_0x2ab3c5;_0x5b207e===_0xa2ecd8(0x2ca)&&typeof _0x193f72==_0xa2ecd8(0x38a)&&(_0x259e0e[_0x5b207e]=_0x193f72['replace'](/url\(#(.*)\)/,_0xa2ecd8(0x293)+_0x3f6f84['idSuffix']+')'));});let {defIds:_0x5564a1}=_0x3f6f84;return!_0x5564a1||_0x5564a1[_0x2ab3c5(0x38c)]===0x0?_0x259e0e:(_0x327391[_0x2ab3c5(0x355)]===_0x2ab3c5(0x3be)&&_0x259e0e['xlink:href']&&(_0x259e0e[_0x2ab3c5(0x1ff)]+=_0x3f6f84['idSuffix']),Object[_0x2ab3c5(0x1de)](_0x259e0e)[_0x2ab3c5(0x125)](([_0x1764b8,_0x233639])=>{const _0x47de07=_0x2ab3c5;typeof _0x233639==_0x47de07(0x38a)&&(_0x259e0e[_0x1764b8]=_0x233639[_0x47de07(0x188)](/url\(#(.*)\)/,'url(#$1'+_0x3f6f84[_0x47de07(0x3c9)]+')'));}),_0x259e0e);}function _0x52d269(_0x2f18a6,_0x5b059c){const _0x5801b8=_0x4b60ce;var _0x4794dd;let {defIds:_0xa59164}=_0x5b059c;return!_0xa59164||_0xa59164['length']===0x0?_0x2f18a6:_0x2f18a6[_0x5801b8(0x355)]===_0x5801b8(0x14a)&&(_0x4794dd=_0x2f18a6[_0x5801b8(0x1b5)])!=null&&_0x4794dd[_0x5801b8(0x38c)]?{..._0x2f18a6,'children':_0x2f18a6[_0x5801b8(0x1b5)][_0x5801b8(0x300)](_0xbe9a0c=>typeof _0xbe9a0c[_0x5801b8(0x34a)]['id']==_0x5801b8(0x38a)&&_0xa59164&&_0xa59164['includes'](_0xbe9a0c[_0x5801b8(0x34a)]['id'])?{..._0xbe9a0c,'attrs':{..._0xbe9a0c[_0x5801b8(0x34a)],'id':_0xbe9a0c[_0x5801b8(0x34a)]['id']+_0x5b059c['idSuffix']}}:_0xbe9a0c)}:_0x2f18a6;}function _0x2f8e3c(_0x260cc8){const _0x50f2cc=_0x4b60ce;let _0x5e6d72=_0x260cc8[_0x50f2cc(0x340)][_0x50f2cc(0x3ca)],_0x535048=Math[_0x50f2cc(0x1f0)](_0x5e6d72['width'],_0x5e6d72[_0x50f2cc(0x1a1)]);if(!Number[_0x50f2cc(0x3cf)](_0x535048)||_0x535048<=0x0||_0x5e6d72[_0x50f2cc(0x357)]<=0x0||_0x5e6d72[_0x50f2cc(0x1a1)]<=0x0)return()=>void 0x0;let _0x480d60=0x10/_0x535048,_0x2bbd48=Array['from'](_0x260cc8['querySelectorAll'](_0x50f2cc(0x26f)))[_0x50f2cc(0x390)](_0x10c7dd=>{const _0x43d530=_0x50f2cc;let _0x462cda=getComputedStyle(_0x10c7dd),_0x443eb3=Number[_0x43d530(0x39e)](_0x462cda[_0x43d530(0x2dd)]);return _0x462cda[_0x43d530(0x2c1)]===_0x43d530(0xea)||Number[_0x43d530(0x39e)](_0x462cda[_0x43d530(0x383)])===0x0||_0x462cda[_0x43d530(0x3d5)]===_0x43d530(0x354)||!Number[_0x43d530(0x3cf)](_0x443eb3)||_0x443eb3<=0x0?[]:[{'element':_0x10c7dd,'hadStyleAttribute':_0x10c7dd['hasAttribute']('style'),'originalStrokeWidth':_0x443eb3,'strokeWidth':_0x451268(_0x10c7dd[_0x43d530(0x143)],'stroke-width')}];})[_0x50f2cc(0x300)](_0x4a4649=>({'appliedStrokeWidth':null,'element':_0x4a4649[_0x50f2cc(0x3ce)],'hadStyleAttribute':_0x4a4649['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x4a4649['originalStrokeWidth'],'strokeWidth':_0x4a4649[_0x50f2cc(0x2dd)]}));if(_0x2bbd48[_0x50f2cc(0x38c)]===0x0)return()=>void 0x0;let _0x346a0f=(_0x1a979e,_0x3199ed)=>{const _0x45c484=_0x50f2cc;if(_0x5e6d72[_0x45c484(0x357)]<=0x0||_0x5e6d72[_0x45c484(0x1a1)]<=0x0||_0x1a979e<=0x0||_0x3199ed<=0x0)return;let _0x3b81f9=Math[_0x45c484(0x33b)](_0x1a979e/_0x5e6d72[_0x45c484(0x357)],_0x3199ed/_0x5e6d72[_0x45c484(0x1a1)]);!Number['isFinite'](_0x3b81f9)||_0x3b81f9<=0x0||_0x2bbd48['forEach'](_0x165b80=>{const _0x139531=_0x45c484;if(_0x165b80['isReleased'])return;if(_0x165b80['appliedStrokeWidth']!==null&&(_0x165b80[_0x139531(0x3ce)][_0x139531(0x143)][_0x139531(0x30b)](_0x139531(0x1b9))!==_0x165b80[_0x139531(0x14c)]||_0x165b80[_0x139531(0x3ce)][_0x139531(0x143)]['getPropertyPriority']('stroke-width')!==_0x165b80[_0x139531(0x2dd)][_0x139531(0x2eb)])){_0x165b80[_0x139531(0x14c)]=null,_0x165b80[_0x139531(0x289)]=!0x0;return;}let _0x218b7e=_0x165b80[_0x139531(0x223)]*_0x480d60/_0x3b81f9,_0x209f89=Number(_0x218b7e[_0x139531(0x20b)](0xc))+'px';_0x165b80[_0x139531(0x3ce)][_0x139531(0x143)][_0x139531(0x3c2)](_0x139531(0x1b9),_0x209f89,_0x165b80[_0x139531(0x2dd)]['priority']),_0x165b80['appliedStrokeWidth']=_0x209f89;});},_0x5d9d97=_0x260cc8[_0x50f2cc(0x107)]();_0x346a0f(_0x5d9d97[_0x50f2cc(0x357)],_0x5d9d97[_0x50f2cc(0x1a1)]);let _0x223e25=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x321ad2=>{const _0x494897=_0x50f2cc;if(_0x321ad2[_0x494897(0xa8)](_0x104987=>_0x104987[_0x494897(0x2a0)]===_0x260cc8)){let _0x122a69=_0x260cc8[_0x494897(0x107)]();_0x346a0f(_0x122a69[_0x494897(0x357)],_0x122a69[_0x494897(0x1a1)]);}});return _0x223e25==null||_0x223e25[_0x50f2cc(0x2da)](_0x260cc8),()=>{const _0x5ac412=_0x50f2cc;_0x223e25==null||_0x223e25['disconnect'](),_0x2bbd48[_0x5ac412(0x125)](_0x18305f=>{const _0x5de550=_0x5ac412;_0x18305f[_0x5de550(0x14c)]!==null&&(_0x32326f(_0x18305f[_0x5de550(0x3ce)][_0x5de550(0x143)],_0x5de550(0x1b9),_0x18305f['appliedStrokeWidth'],_0x18305f[_0x5de550(0x2dd)][_0x5de550(0x2eb)],_0x18305f[_0x5de550(0x2dd)]),!_0x18305f['hadStyleAttribute']&&_0x18305f['element'][_0x5de550(0x143)][_0x5de550(0x38c)]===0x0&&_0x18305f[_0x5de550(0x3ce)]['removeAttribute']('style'));});};}function _0x451268(_0x289aa6,_0x2be02f){const _0x4428ec=_0x4b60ce;return{'priority':_0x289aa6[_0x4428ec(0xe9)](_0x2be02f),'value':_0x289aa6[_0x4428ec(0x30b)](_0x2be02f)};}function _0x32326f(_0x32a3a4,_0x4948d4,_0x5c4371,_0x1efae2,_0x370a4a){const _0x40e200=_0x4b60ce;_0x32a3a4[_0x40e200(0x30b)](_0x4948d4)===_0x5c4371&&_0x32a3a4[_0x40e200(0xe9)](_0x4948d4)===_0x1efae2&&(_0x370a4a[_0x40e200(0x250)]?_0x32a3a4[_0x40e200(0x3c2)](_0x4948d4,_0x370a4a[_0x40e200(0x250)],_0x370a4a[_0x40e200(0x2eb)]):_0x32a3a4[_0x40e200(0x2cf)](_0x4948d4));}_0xdd538[_0x4b60ce(0x323)]=_0x4b60ce(0x2e6);let _0x1d467f={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b60ce(0xea),'viewBox':'0\x200\x2017\x2016','width':_0x4b60ce(0x1c0),'height':_0x4b60ce(0x1c0)},'children':[{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'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':_0x4b60ce(0x34e),'clipRule':_0x4b60ce(0x34e)}},{'tag':'path','attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x203),'fillRule':_0x4b60ce(0x34e),'clipRule':_0x4b60ce(0x34e)}},{'tag':'path','attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x303)}},{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x39b)}}]},_0x32353d=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x3a31e9,_0x2fa6ea){const _0x433c6b=_0x4b60ce;return(0x0,_0x3f4608[_0x433c6b(0x3a1)])(_0xdd538,Object[_0x433c6b(0x1c3)]({},_0x3a31e9,{'id':_0x433c6b(0x19b),'ref':_0x2fa6ea,'icon':_0x1d467f}));});_0x32353d[_0x4b60ce(0x323)]=_0x4b60ce(0x1b1);let _0x494e86={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b60ce(0xea),'viewBox':_0x4b60ce(0x368),'width':_0x4b60ce(0x1c0),'height':'1em'},'children':[{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x15f),'fillRule':'evenodd','clipRule':_0x4b60ce(0x34e)}},{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':'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'}}]},_0x310861=(0x0,_0x3f4608['forwardRef'])(function(_0x3b64ac,_0x10f058){const _0x4bd449=_0x4b60ce;return(0x0,_0x3f4608[_0x4bd449(0x3a1)])(_0xdd538,Object[_0x4bd449(0x1c3)]({},_0x3b64ac,{'id':_0x4bd449(0x27e),'ref':_0x10f058,'icon':_0x494e86}));});_0x310861['displayName']='MoveDownIcon';let _0x5b4a4a={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':_0x4b60ce(0x376),'fill':_0x4b60ce(0xea),'viewBox':_0x4b60ce(0x368),'width':'1em','height':_0x4b60ce(0x1c0)},'children':[{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x4b60ce(0x34e),'clipRule':_0x4b60ce(0x34e)}},{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'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'}}]},_0x4fd1d9=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x2c12bd,_0x2894a1){const _0x506bff=_0x4b60ce;return(0x0,_0x3f4608[_0x506bff(0x3a1)])(_0xdd538,Object['assign']({},_0x2c12bd,{'id':_0x506bff(0x132),'ref':_0x2894a1,'icon':_0x5b4a4a}));});_0x4fd1d9[_0x4b60ce(0x323)]=_0x4b60ce(0xe5);let _0x10eeeb={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':_0x4b60ce(0x376),'fill':_0x4b60ce(0xea),'viewBox':_0x4b60ce(0x368),'width':'1em','height':_0x4b60ce(0x1c0)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4b60ce(0x1f5),'strokeLinecap':_0x4b60ce(0x1ce),'strokeLinejoin':_0x4b60ce(0x1ce),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x332),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x1b41f1=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x4be7ae,_0x29bedf){const _0x46fbae=_0x4b60ce;return(0x0,_0x3f4608[_0x46fbae(0x3a1)])(_0xdd538,Object[_0x46fbae(0x1c3)]({},_0x4be7ae,{'id':_0x46fbae(0x218),'ref':_0x29bedf,'icon':_0x10eeeb}));});_0x1b41f1['displayName']=_0x4b60ce(0x126);let _0x5e58f1={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':_0x4b60ce(0x376),'fill':'none','viewBox':_0x4b60ce(0x368),'width':_0x4b60ce(0x1c0),'height':_0x4b60ce(0x1c0)},'children':[{'tag':_0x4b60ce(0x14d),'attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x21e),'strokeLinecap':_0x4b60ce(0x1ce),'strokeLinejoin':_0x4b60ce(0x1ce),'strokeWidth':1.2}},{'tag':_0x4b60ce(0x14d),'attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x3d1),'strokeLinecap':_0x4b60ce(0x1ce),'strokeWidth':1.2}},{'tag':_0x4b60ce(0x14d),'attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x248),'strokeLinecap':_0x4b60ce(0x1ce),'strokeWidth':1.2}},{'tag':_0x4b60ce(0x14d),'attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x30d),'strokeLinejoin':_0x4b60ce(0x1ce)}},{'tag':'path','attrs':{'stroke':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x393)}}]},_0x3a9536=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x5a46a9,_0x300ce3){const _0x59b167=_0x4b60ce;return(0x0,_0x3f4608[_0x59b167(0x3a1)])(_0xdd538,Object[_0x59b167(0x1c3)]({},_0x5a46a9,{'id':_0x59b167(0xb7),'ref':_0x300ce3,'icon':_0x5e58f1}));});_0x3a9536[_0x4b60ce(0x323)]='ShapeFormatSettingIcon';let _0x3a5fa4={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b60ce(0xea),'viewBox':_0x4b60ce(0x2e9),'width':'1em','height':_0x4b60ce(0x1c0)},'children':[{'tag':_0x4b60ce(0x2f2),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':_0x4b60ce(0x2f2),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x4b60ce(0x2f2),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':_0x4b60ce(0x2f2),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':_0x4b60ce(0x2f2),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':_0x4b60ce(0x2f2),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x4b60ce(0x1f6),'rx':0.6}},{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0x23a),'fillRule':_0x4b60ce(0x34e),'clipRule':_0x4b60ce(0x34e)}}]},_0x3bdcba=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x3a5f8e,_0x12cc65){const _0x2c62a6=_0x4b60ce;return(0x0,_0x3f4608[_0x2c62a6(0x3a1)])(_0xdd538,Object[_0x2c62a6(0x1c3)]({},_0x3a5f8e,{'id':_0x2c62a6(0x268),'ref':_0x12cc65,'icon':_0x3a5fa4}));});_0x3bdcba['displayName']=_0x4b60ce(0xfa);let _0x4afab4={'tag':_0x4b60ce(0x140),'attrs':{'xmlns':_0x4b60ce(0x376),'fill':_0x4b60ce(0xea),'viewBox':_0x4b60ce(0x266),'width':_0x4b60ce(0x1c0),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0xef)}},{'tag':_0x4b60ce(0x14d),'attrs':{'fill':_0x4b60ce(0x1f6),'d':_0x4b60ce(0xa2),'fillRule':_0x4b60ce(0x34e),'clipRule':_0x4b60ce(0x34e)}},{'tag':'path','attrs':{'fill':_0x4b60ce(0x1f6),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':_0x4b60ce(0x34e)}}]},_0x48f6bb=(0x0,_0x3f4608[_0x4b60ce(0x124)])(function(_0x169bbb,_0x489cf0){const _0x9bec51=_0x4b60ce;return(0x0,_0x3f4608[_0x9bec51(0x3a1)])(_0xdd538,Object['assign']({},_0x169bbb,{'id':_0x9bec51(0x1b0),'ref':_0x489cf0,'icon':_0x4afab4}));});_0x48f6bb[_0x4b60ce(0x323)]=_0x4b60ce(0x235);function _0x5c8823(_0x3d9a80){const _0x2e5396=_0x4b60ce;return _0x3d9a80[_0x2e5396(0x1fc)]()||void 0x0;}function _0x1a7aed(_0x5ce102,_0x2502f7,_0x4f4ce3){const _0x5d9060=_0x4b60ce;var _0x43b875,_0x6e98ee;return((_0x43b875=_0x5ce102['name'])==null?void 0x0:_0x43b875[_0x5d9060(0x1fc)]())||((_0x6e98ee=_0x5ce102[_0x5d9060(0x1ac)])==null?void 0x0:_0x6e98ee[_0x5d9060(0x1fc)]())||(0x0,_0x1873b9[_0x5d9060(0x371)])(_0x4f4ce3,(0x0,_0x3be0ca[_0x5d9060(0x16a)])(_0x5ce102[_0x5d9060(0x205)]))+'\x20'+(_0x2502f7+0x1);}function _0x41b033(){const _0x398382=_0x4b60ce;let _0xcf776=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x3f9984[_0x398382(0xad)]),_0x3b6834=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x3f9984[_0x398382(0x36a)]),_0x742a8b=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x3f9984[_0x398382(0x3aa)]),_0x3ea774=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x4d54ad[_0x398382(0xcf)]),_0x34b10a=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x4e3223[_0x398382(0x279)]),_0x2c8390=(0x0,_0x40eeff[_0x398382(0x16b)])(_0x1c0cd0[_0x398382(0x361)]),[,_0x459570]=(0x0,_0x3f4608[_0x398382(0x1e9)])(_0x573cae=>_0x573cae+0x1,0x0),_0x3f52c6=_0x742a8b[_0x398382(0x11a)](_0x3f9984['UniverInstanceType'][_0x398382(0x2ad)]),_0x2a6d20=(_0x3f52c6==null?void 0x0:_0x3f52c6[_0x398382(0x281)]())??'',_0x23fa23=_0x2a6d20,_0x429b8c=(0x0,_0x40eeff[_0x398382(0x13b)])(()=>_0x34b10a[_0x398382(0x36b)],_0x34b10a[_0x398382(0x2b0)](),!0x1,[_0x34b10a]);(0x0,_0x3f4608[_0x398382(0x22d)])(()=>{const _0x5e878e=_0x398382;let _0x218d8d=_0x3b6834['onCommandExecuted'](()=>_0x459570());return()=>_0x218d8d[_0x5e878e(0x384)]();},[_0x3b6834]);let _0x2857ce=(0x0,_0x3f4608[_0x398382(0x179)])(()=>(0x0,_0x1873b9['getObjectListPanelLabels'])(_0xcf776),[_0xcf776]),_0x19def0=_0x2a6d20?_0x3ea774[_0x398382(0x10b)](_0x2a6d20,_0x23fa23):{},_0x4ef72a=(_0x2a6d20?_0x3ea774['getDrawingOrder'](_0x2a6d20,_0x23fa23):[])[_0x398382(0x300)](_0x1a8b32=>_0x19def0[_0x1a8b32])[_0x398382(0x328)](_0xbbf95a=>!!_0xbbf95a)[_0x398382(0x337)](),_0x5bba58=_0x4ef72a['reduce']((_0x4d81a4,_0x36acd2)=>(_0x4d81a4[(0x0,_0x1873b9[_0x398382(0x2a2)])(_0x36acd2[_0x398382(0x205)])]+=0x1,_0x4d81a4),{'canvas':0x0,'floating':0x0}),_0x1b225a={'canvas':0x0,'floating':0x0},_0x2deecf=_0x4ef72a[_0x398382(0x300)]((_0x49e074,_0x11c72e)=>{const _0x53e97=_0x398382;let _0x5860de=(0x0,_0x1873b9[_0x53e97(0x2a2)])(_0x49e074[_0x53e97(0x205)]),_0x389fe5=_0x5860de===_0x1873b9[_0x53e97(0x2db)],_0x5afdcd=_0x1b225a[_0x5860de]++;return{'id':_0x49e074[_0x53e97(0x17e)],'name':_0x1a7aed(_0x49e074,_0x11c72e,_0xcf776),'description':_0x49e074['description'],'visible':_0x49e074['hidden']!==!0x0,'selectable':_0x49e074[_0x53e97(0x28a)]!==!0x1,'sectionId':_0x5860de,'sectionTitle':_0x389fe5?_0x2857ce[_0x53e97(0x276)]:_0x2857ce['sectionCanvas'],'capabilities':_0x389fe5?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x389fe5&&_0x5afdcd>0x0,'canMoveBackward':!_0x389fe5&&_0x5afdcd<_0x5bba58['canvas']-0x1,'canReorder':!_0x389fe5};}),_0x40f45d=(0x0,_0x3f4608['useMemo'])(()=>(_0x429b8c??[])[_0x398382(0x328)](_0x24dcac=>_0x24dcac[_0x398382(0x26a)]===_0x2a6d20&&_0x24dcac[_0x398382(0x1c9)]===_0x23fa23)[_0x398382(0x300)](_0x3dab8a=>_0x3dab8a['drawingId']),[_0x429b8c,_0x23fa23,_0x2a6d20]),_0x9d6c99=_0x40f45d[_0x40f45d[_0x398382(0x38c)]-0x1]??null,_0x4933fe=_0x50bdc4=>_0x3ea774['getDrawingByParam']({'unitId':_0x2a6d20,'subUnitId':_0x23fa23,'drawingId':_0x50bdc4})??null,_0x1a0cab=async _0xc4a3fa=>{const _0x4ebf6c=_0x398382;!_0x2a6d20||!_0xc4a3fa['length']||await _0x3b6834['executeCommand'](_0x473572[_0x4ebf6c(0x3b9)]['id'],{'unitId':_0x2a6d20,'patches':_0xc4a3fa});},_0x46f0b2=(_0x1e78da,_0x58ca9e)=>{const _0x5900f1=_0x398382;if(!_0x2a6d20)return;let _0x230cf1=_0x58ca9e?_0x40f45d[_0x5900f1(0x341)](_0x1e78da)?_0x40f45d[_0x5900f1(0x328)](_0x25b7b5=>_0x25b7b5!==_0x1e78da):[..._0x40f45d,_0x1e78da]:[_0x1e78da];_0x3b6834[_0x5900f1(0x1b2)](_0x4e3223[_0x5900f1(0x24e)]['id'],_0x230cf1[_0x5900f1(0x300)](_0x120132=>({'unitId':_0x2a6d20,'subUnitId':_0x23fa23,'drawingId':_0x120132})));let _0x2d8a10=_0x230cf1[_0x230cf1['length']-0x1];_0x2d8a10?(0x0,_0x3be0ca[_0x5900f1(0x197)])(_0x2c8390,{'unitId':_0x2a6d20,'subUnitId':_0x23fa23,'drawingId':_0x2d8a10}):(0x0,_0x3be0ca[_0x5900f1(0x2a8)])(_0x2c8390,_0x2a6d20);},_0x505fdf=async(_0x4b5814,_0x318551)=>{const _0x3128dc=_0x398382;await _0x1a0cab(_0x4b5814[_0x3128dc(0x300)](_0x37e379=>_0x4933fe(_0x37e379))[_0x3128dc(0x328)](_0x5eef03=>!!_0x5eef03)[_0x3128dc(0x328)](_0x39409=>_0x39409['hidden']!==!0x0!==_0x318551)[_0x3128dc(0x300)](_0x57fa1f=>({'drawingId':_0x57fa1f[_0x3128dc(0x17e)],'hidden':!_0x318551})));},_0x2b4568=async(_0x31eca0,_0x5267ba)=>{const _0x40f85f=_0x398382;await _0x1a0cab(_0x31eca0[_0x40f85f(0x300)](_0x4edf00=>_0x4933fe(_0x4edf00))['filter'](_0x805731=>!!_0x805731)[_0x40f85f(0x328)](_0xc46219=>_0xc46219[_0x40f85f(0x28a)]!==!0x1!==_0x5267ba)['map'](_0x37b8d0=>({'drawingId':_0x37b8d0[_0x40f85f(0x17e)],'selectable':_0x5267ba})));},_0x27c20d=_0x7d13f8=>{let _0x133e58=_0x4933fe(_0x7d13f8);if(_0x133e58)return _0x2b4568([_0x7d13f8],_0x133e58['selectable']===!0x1);},_0x3a254f=async(_0xed8730,_0x5ae4d7)=>{const _0x5d35ff=_0x398382;let _0x72bba7=_0x4933fe(_0xed8730),_0x101a68=_0x5c8823(_0x5ae4d7);!_0x72bba7||(_0x72bba7[_0x5d35ff(0x260)]??void 0x0)===_0x101a68&&(_0x72bba7[_0x5d35ff(0x1ac)]||void 0x0)===_0x101a68||await _0x1a0cab([{'drawingId':_0xed8730,'name':_0x101a68,'title':_0x101a68}]);},_0x5826ee=async(_0xbb4dd9,_0x1f6739)=>{const _0x3ce60b=_0x398382;let _0x355237=_0x4933fe(_0xbb4dd9),_0x11c7c1=_0x5c8823(_0x1f6739);!_0x355237||(_0x355237[_0x3ce60b(0x108)]??void 0x0)===_0x11c7c1||await _0x1a0cab([{'drawingId':_0xbb4dd9,'description':_0x11c7c1}]);},_0x58853d=async(_0x1e4aa5,_0x381905)=>{const _0x364ac2=_0x398382;_0x2a6d20&&await _0x3b6834[_0x364ac2(0x359)](_0x4d54ad[_0x364ac2(0x217)]['id'],{'unitId':_0x2a6d20,'subUnitId':_0x23fa23,'drawingIds':[_0x1e4aa5],'arrangeType':_0x381905});};return _0x2a6d20?(0x0,_0x133011[_0x398382(0x313)])(_0x1873b9[_0x398382(0x219)],{'renderPermissionAction':_0x25fdb=>_0x3f52c6?(0x0,_0x133011['jsx'])(_0x40eeff[_0x398382(0xbe)],{'target':{'unitId':_0x2a6d20,'objectId':(0x0,_0x421e15[_0x398382(0x192)])((0x0,_0x421e15[_0x398382(0x17a)])(_0x3f52c6,_0x25fdb['id']),'drawing',_0x25fdb['id']),'objectType':_0x50d816[_0x398382(0x336)][_0x398382(0x232)]},'name':_0x25fdb['name'],'commandId':_0x421e15[_0x398382(0x3c0)]['id'],'exists':()=>!!_0x4933fe(_0x25fdb['id'])},_0x2a6d20+'/'+_0x25fdb['id']):null,'items':_0x2deecf,'selectedIds':_0x40f45d,'focusedId':_0x9d6c99,'labels':_0x2857ce,'showHeader':!0x1,'onSelect':_0x46f0b2,'onSetVisible':_0x505fdf,'onSetSelectable':_0x2b4568,'onCommitName':_0x3a254f,'onCommitDescription':_0x5826ee,'onMoveForward':async _0x3fbe4b=>_0x58853d(_0x3fbe4b,_0x3f9984[_0x398382(0x237)][_0x398382(0x215)]),'onMoveBackward':async _0x3e0023=>_0x58853d(_0x3e0023,_0x3f9984[_0x398382(0x237)][_0x398382(0x350)]),'onToggleSelectable':_0x27c20d}):(0x0,_0x133011[_0x398382(0x313)])(_0x398382(0x28f),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x2857ce[_0x398382(0x1ac)]});}let _0x125a74=class{constructor(_0x4483f3){const _0x3a249d=_0x4b60ce;this[_0x3a249d(0x11c)]=_0x4483f3;}['updateShapeFillImage'](_0x1ab25d,_0xe93e29){const _0x7a7c3a=_0x4b60ce;let _0x30586a=this[_0x7a7c3a(0x11c)]['getRenderUnitById'](_0x1ab25d[_0x7a7c3a(0x26a)]),_0x259142=_0x30586a==null?void 0x0:_0x30586a[_0x7a7c3a(0x2f1)];if(!_0x259142)return;let _0x153a90=(0x0,_0x4e3223[_0x7a7c3a(0x379)])(_0x1ab25d),_0x549158=_0x259142[_0x7a7c3a(0xc9)](_0x153a90);_0x549158==null||_0x549158['setFillImage'](_0xe93e29);}};_0x125a74=_0x5adf5c([_0x18855d(0x0,_0x1c0cd0[_0x4b60ce(0x361)])],_0x125a74);function _0x127e1c(){const _0x55faaf=_0x4b60ce;let _0x1dbded=(0x0,_0x40eeff[_0x55faaf(0x16b)])(_0x4e3223[_0x55faaf(0x279)]),_0x2a8fbe=(0x0,_0x40eeff['useObservable'])(()=>_0x1dbded[_0x55faaf(0x36b)],_0x1dbded[_0x55faaf(0x2b0)](),!0x1,[_0x1dbded]);return _0x2a8fbe['length']===0x0?null:(0x0,_0x133011[_0x55faaf(0x313)])(_0x55faaf(0x28f),{'children':(0x0,_0x133011[_0x55faaf(0x31e)])(_0x55faaf(0x28f),{'className':_0x55faaf(0x25f),'children':[(0x0,_0x133011[_0x55faaf(0x313)])(_0x1873b9[_0x55faaf(0x2af)],{'drawings':_0x2a8fbe,'hasCropper':!0x1}),(0x0,_0x133011['jsx'])(_0x41e2ce[_0x55faaf(0xd9)],{'drawings':_0x2a8fbe}),(0x0,_0x133011[_0x55faaf(0x313)])(_0x41e2ce['DocDrawingPosition'],{'drawings':_0x2a8fbe})]})});}function _0x4b6dba(_0x3d3b70){const _0x54983a=_0x4b60ce;let {unitId:_0xa94570,subUnitId:_0x4f8b06,shapeId:_0x1345b5}=_0x3d3b70,_0x320ac6=(0x0,_0x40eeff[_0x54983a(0x16b)])(_0x3f9984[_0x54983a(0x36a)]),_0x4719a7=(0x0,_0x40eeff[_0x54983a(0x16b)])(_0x125a74);return(0x0,_0x133011['jsx'])(_0x3be0ca['ShapeEditPanel'],{..._0x3d3b70,'positionEditor':(0x0,_0x133011[_0x54983a(0x313)])(_0x127e1c,{}),'onUpdateShapeData':(_0xab07f9,_0x39a9a5)=>{_0x4eb952(_0x320ac6,_0xa94570,_0x4f8b06,_0x1345b5,_0xab07f9,_0x39a9a5);},'onUpdateLineShapeData':(_0x5c23cb,_0x1c5439)=>{_0x3b1f62(_0x320ac6,_0xa94570,_0x4f8b06,_0x1345b5,_0x5c23cb,_0x1c5439);},'onUpdateShapeFillImage':_0x52d234=>{const _0x1a9fa5=_0x54983a;_0x4719a7[_0x1a9fa5(0x174)]({'unitId':_0xa94570,'subUnitId':_0x4f8b06,'drawingId':_0x1345b5},_0x52d234);}});}let _0x32ab16=_0x4b60ce(0x120);function _0x45c105(_0x5edd5e,_0x444c56){const _0x1abeab=_0x4b60ce;var _0x3909f3;let _0x400aa0=_0x5edd5e==null||(_0x3909f3=_0x5edd5e[_0x1abeab(0x263)]()[_0x1abeab(0x22e)])==null?void 0x0:_0x3909f3[_0x444c56];return _0x400aa0?_0x400aa0[_0x1abeab(0x238)]===_0x3f9984[_0x1abeab(0x2a7)][_0x1abeab(0x17d)]?_0x400aa0[_0x1abeab(0x1bd)]===_0x3f9984[_0x1abeab(0x1d2)][_0x1abeab(0x3c1)]?_0x4d54ad['TextWrappingStyle'][_0x1abeab(0x1ef)]:_0x4d54ad[_0x1abeab(0x39c)][_0x1abeab(0x178)]:_0x400aa0[_0x1abeab(0x238)]===_0x3f9984[_0x1abeab(0x2a7)]['WRAP_SQUARE']?_0x4d54ad[_0x1abeab(0x39c)][_0x1abeab(0x33c)]:_0x400aa0['layoutType']===_0x3f9984[_0x1abeab(0x2a7)][_0x1abeab(0x216)]?_0x4d54ad['TextWrappingStyle'][_0x1abeab(0x216)]:_0x4d54ad[_0x1abeab(0x39c)][_0x1abeab(0x20a)]:_0x4d54ad[_0x1abeab(0x39c)][_0x1abeab(0x20a)];}function _0x3fad27(_0x2601b4){const _0x526b84=_0x4b60ce;let _0x59b4be=(0x0,_0x40eeff[_0x526b84(0x16b)])(_0x3be0ca['ShapeFloatingToolbarService']),_0x4f4417=(0x0,_0x40eeff[_0x526b84(0x13b)])(()=>_0x59b4be[_0x526b84(0x25d)],_0x59b4be[_0x526b84(0x104)](),!0x1,[_0x59b4be]),_0x2393fb=_0x2601b4[_0x526b84(0x23d)][_0x526b84(0xa6)];return _0x4f4417?(0x0,_0x133011[_0x526b84(0x313)])(_0xc99123,{..._0x2393fb,'canvasElement':_0x2601b4[_0x526b84(0x23d)][_0x526b84(0xd1)]}):null;}function _0xc99123(_0x3bfa3a){const _0x395b50=_0x4b60ce;let _0x35ea07=(0x0,_0x40eeff[_0x395b50(0x16b)])(_0x3f9984['ICommandService']),_0x330ae9=(0x0,_0x40eeff['useDependency'])(_0x3f9984['LocaleService']),_0x134f6a=(0x0,_0x40eeff['useDependency'])(_0x473572[_0x395b50(0x3b4)]),_0x52164f=(0x0,_0x40eeff[_0x395b50(0x16b)])(_0x3f9984[_0x395b50(0x3aa)]),{unitId:_0x5fbb33,subUnitId:_0xc8b949,drawingId:_0x4c498e,shapeType:_0x51fd6b}=_0x3bfa3a,[_0x1d0acd,_0x4e1ab4]=(0x0,_0x3f4608[_0x395b50(0x227)])(_0x3bfa3a['shapeData']),_0x592fbd=_0x52164f[_0x395b50(0xce)](_0x5fbb33,_0x3f9984['UniverInstanceType']['UNIVER_DOC'])??void 0x0,[_0x12a4ed,_0x21cc28]=(0x0,_0x3f4608[_0x395b50(0x227)])(()=>_0x45c105(_0x592fbd,_0x4c498e)),_0x5a455e=(0x0,_0x3f4608[_0x395b50(0x179)])(()=>(0x0,_0x3be0ca[_0x395b50(0x138)])(_0x1d0acd),[_0x1d0acd]),_0x23bfc5=(0x0,_0x3f4608[_0x395b50(0x179)])(()=>(0x0,_0x3be0ca[_0x395b50(0x14e)])(_0x1d0acd),[_0x1d0acd]);(0x0,_0x3f4608[_0x395b50(0x22d)])(()=>{let _0x4e9ba0=_0x35ea07['onCommandExecuted'](_0x14c84d=>{const _0x2c4237=_0x4f9d;if(_0x14c84d['id']!==_0x473572[_0x2c4237(0x3ad)]['id'])return;let _0x115555=_0x134f6a[_0x2c4237(0x26b)](_0x5fbb33,_0xc8b949,_0x4c498e);_0x115555&&_0x4e1ab4(_0x115555);});return()=>_0x4e9ba0['dispose']();},[_0x35ea07,_0x134f6a,_0x4c498e,_0xc8b949,_0x5fbb33]);let _0x4b901a=_0x53bbe6=>{_0x4e1ab4(_0x5709c5=>({..._0x5709c5,..._0x53bbe6}));},_0x5d7caa=_0x2a48d7=>{const _0x17c3da=_0x395b50;let _0x5786a5=(0x0,_0x3be0ca[_0x17c3da(0x33e)])(_0x1d0acd,_0x2a48d7);_0x4eb952(_0x35ea07,_0x5fbb33,_0xc8b949,_0x4c498e,{'oldShapeData':{'shapeText':_0x1d0acd['shapeText']}},_0x5786a5),_0x4b901a(_0x5786a5);},_0x3fd43a=_0x400f08=>{const _0x16651c=_0x395b50;_0x21cc28(_0x400f08),_0x35ea07[_0x16651c(0x359)](_0x4d54ad[_0x16651c(0xa9)]['id'],{'unitId':_0x5fbb33,'subUnitId':_0xc8b949,'drawings':[{'unitId':_0x5fbb33,'subUnitId':_0xc8b949,'drawingId':_0x4c498e}],'wrappingStyle':_0x400f08});},_0x2066a2=(0x0,_0x3be0ca[_0x395b50(0x198)])({'hostType':_0x3f9984[_0x395b50(0x353)][_0x395b50(0x2ad)],'unitId':_0x5fbb33,'subUnitId':_0xc8b949,'shapeId':_0x4c498e,'shapeData':_0x1d0acd,'onUpdateBinding':_0x4a7b70=>{let _0x5650ca={'formulaBinding':_0x4a7b70};_0x4eb952(_0x35ea07,_0x5fbb33,_0xc8b949,_0x4c498e,{'oldShapeData':{'formulaBinding':_0x1d0acd['formulaBinding']}},_0x5650ca),_0x4b901a(_0x5650ca);}}),_0x9eda2c=[{'label':_0x330ae9['t']('docs-shape-ui.textWrap.inline'),'value':_0x4d54ad[_0x395b50(0x39c)][_0x395b50(0x20a)],'icon':(0x0,_0x133011[_0x395b50(0x313)])(_0x3bdcba,{})},{'label':_0x330ae9['t'](_0x395b50(0x30c)),'value':_0x4d54ad['TextWrappingStyle'][_0x395b50(0x33c)],'icon':(0x0,_0x133011['jsx'])(_0x3bdcba,{})},{'label':_0x330ae9['t'](_0x395b50(0x283)),'value':_0x4d54ad[_0x395b50(0x39c)][_0x395b50(0x216)],'icon':(0x0,_0x133011[_0x395b50(0x313)])(_0x3bdcba,{})},{'label':_0x330ae9['t'](_0x395b50(0xa7)),'value':_0x4d54ad[_0x395b50(0x39c)][_0x395b50(0x1ef)],'icon':(0x0,_0x133011[_0x395b50(0x313)])(_0x3bdcba,{})},{'label':_0x330ae9['t'](_0x395b50(0xc4)),'value':_0x4d54ad[_0x395b50(0x39c)][_0x395b50(0x178)],'icon':(0x0,_0x133011[_0x395b50(0x313)])(_0x3bdcba,{})}];return(0x0,_0x133011[_0x395b50(0x31e)])(_0x133011[_0x395b50(0x30a)],{'children':[(0x0,_0x133011[_0x395b50(0x313)])(_0x3be0ca[_0x395b50(0x177)],{'canvasElement':_0x3bfa3a[_0x395b50(0xd1)],'shapeData':_0x1d0acd,'shapeType':_0x51fd6b,'textStyle':{'ff':_0x1f7081['ShapeDefaultConfig'][_0x395b50(0x127)]['fontFamily'],'fs':_0x1f7081[_0x395b50(0x370)][_0x395b50(0x127)]['fontSize'],'cl':{'rgb':_0x1f7081[_0x395b50(0x370)][_0x395b50(0x127)]['color']},..._0x5a455e},'textModel':_0x23bfc5?{'ha':_0x23bfc5['ha']??_0x3f9984[_0x395b50(0x35a)][_0x395b50(0x24c)],'va':_0x23bfc5['va']??_0x3f9984[_0x395b50(0x117)][_0x395b50(0x114)]}:null,'wrappingStyle':_0x12a4ed,'wrappingStyleOptions':_0x9eda2c,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1f7081['ShapeDefaultConfig'][_0x395b50(0x164)],'defaultGradientEndColor':_0x1f7081[_0x395b50(0x370)]['gradientEndColor'],'defaultStrokeColor':_0x1f7081[_0x395b50(0x370)][_0x395b50(0x2c1)],'extensionGroups':_0x2066a2[_0x395b50(0x3d2)],'floatingObjectToolbarPosition':_0x40eeff[_0x395b50(0x34b)][_0x395b50(0x382)],'onUpdateShapeData':(_0x52082c,_0xbf4b24)=>{_0x4eb952(_0x35ea07,_0x5fbb33,_0xc8b949,_0x4c498e,_0x52082c,_0xbf4b24),_0xbf4b24&&_0x4b901a(_0xbf4b24);},'onUpdateText':_0x5d7caa,'onUpdateWrappingStyle':_0x3c373b=>_0x3fd43a(_0x3c373b),'onOpenPanel':()=>{const _0x4691f1=_0x395b50;_0x35ea07[_0x4691f1(0x359)](_0x5d0e5f['id'],{'unitId':_0x5fbb33,'subUnitId':_0xc8b949,'drawingId':_0x4c498e});},'onDelete':()=>{const _0x32ccfe=_0x395b50;_0x35ea07[_0x32ccfe(0x359)](_0x4d54ad[_0x32ccfe(0xc3)]['id'],{'unitId':_0x5fbb33,'drawings':[{'unitId':_0x5fbb33,'subUnitId':_0xc8b949,'drawingId':_0x4c498e}]});}}),_0x2066a2['panel']]});}function _0x428937({variant:_0x108724,extend:_0x125125,..._0x4a486a}){const _0x589f43=_0x4b60ce;let _0x45d83b=(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x2f2),{'x':'7','y':_0x589f43(0x2b1),'width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x589f43(0x12d),'stroke':_0x589f43(0x1f6),'strokeWidth':_0x589f43(0x13f)});return(0x0,_0x133011['jsxs'])('svg',{'aria-hidden':_0x589f43(0xf3),'fill':_0x589f43(0xea),'height':_0x589f43(0x1c0),'viewBox':_0x589f43(0x2e9),'width':'1em',..._0x4a486a,'children':[_0x108724===_0x589f43(0xb4)&&(0x0,_0x133011[_0x589f43(0x31e)])(_0x133011['Fragment'],{'children':[(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x14d),{'d':_0x589f43(0x312),'stroke':'currentColor','strokeLinecap':_0x589f43(0x1ce),'strokeWidth':_0x589f43(0x13f)}),(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x2f2),{'x':'8','y':'7','width':'4','height':'6','rx':_0x589f43(0x24b),'fill':_0x589f43(0x1f6),'fillOpacity':'0.14','stroke':'currentColor','strokeWidth':_0x589f43(0x13f)})]}),_0x108724===_0x589f43(0x305)&&(0x0,_0x133011[_0x589f43(0x31e)])(_0x133011[_0x589f43(0x30a)],{'children':[(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x14d),{'d':_0x589f43(0x3c8),'stroke':'currentColor','strokeLinecap':_0x589f43(0x1ce),'strokeWidth':_0x589f43(0x13f)}),_0x45d83b]}),_0x108724===_0x589f43(0x163)&&(0x0,_0x133011[_0x589f43(0x31e)])(_0x133011[_0x589f43(0x30a)],{'children':[(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x14d),{'d':_0x589f43(0x36c),'stroke':'currentColor','strokeLinecap':_0x589f43(0x1ce),'strokeWidth':'1.2'}),_0x45d83b]}),_0x108724==='behind'&&(0x0,_0x133011[_0x589f43(0x31e)])(_0x133011['Fragment'],{'children':[_0x45d83b,(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x14d),{'d':_0x589f43(0xbd),'stroke':_0x589f43(0x1f6),'strokeLinecap':_0x589f43(0x1ce),'strokeWidth':_0x589f43(0x13f)})]}),_0x108724===_0x589f43(0x23b)&&(0x0,_0x133011[_0x589f43(0x31e)])(_0x133011[_0x589f43(0x30a)],{'children':[(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x14d),{'d':_0x589f43(0xbd),'stroke':'currentColor','strokeLinecap':_0x589f43(0x1ce),'strokeWidth':_0x589f43(0x13f)}),(0x0,_0x133011[_0x589f43(0x313)])(_0x589f43(0x2f2),{'x':'7','y':_0x589f43(0x2b1),'width':'6','height':'9','rx':'1','fill':_0x589f43(0x1f6)})]})]});}let _0x32a4c7=_0x3be9de=>_0x3e0942=>(0x0,_0x133011['jsx'])(_0x428937,{..._0x3e0942,'variant':_0x3be9de}),_0x4f25c8={'DocsShapeWrapInlineIcon':_0x32a4c7(_0x4b60ce(0xb4)),'DocsShapeWrapSquareIcon':_0x32a4c7(_0x4b60ce(0x305)),'DocsShapeWrapTopBottomIcon':_0x32a4c7(_0x4b60ce(0x163)),'DocsShapeWrapBehindTextIcon':_0x32a4c7('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x32a4c7('front')};function _0x509d8a(_0x3b3a1d){'@babel/helpers - typeof';const _0xbd83c3=_0x4b60ce;return _0x509d8a=typeof Symbol==_0xbd83c3(0x2ea)&&typeof Symbol[_0xbd83c3(0x121)]=='symbol'?function(_0x222255){return typeof _0x222255;}:function(_0x1fff54){const _0x4d881d=_0xbd83c3;return _0x1fff54&&typeof Symbol==_0x4d881d(0x2ea)&&_0x1fff54['constructor']===Symbol&&_0x1fff54!==Symbol['prototype']?_0x4d881d(0x27d):typeof _0x1fff54;},_0x509d8a(_0x3b3a1d);}function _0x5e68c4(_0x11044c,_0xd89123){const _0xf88f19=_0x4b60ce;if(_0x509d8a(_0x11044c)!='object'||!_0x11044c)return _0x11044c;var _0x20f2d4=_0x11044c[Symbol[_0xf88f19(0x119)]];if(_0x20f2d4!==void 0x0){var _0x3be52f=_0x20f2d4[_0xf88f19(0x37d)](_0x11044c,_0xd89123||_0xf88f19(0x389));if(_0x509d8a(_0x3be52f)!=_0xf88f19(0x2c8))return _0x3be52f;throw TypeError(_0xf88f19(0x2b9));}return(_0xd89123===_0xf88f19(0x38a)?String:Number)(_0x11044c);}function _0x206fa4(_0x6a4d95){const _0x3c03dd=_0x4b60ce;var _0xb73ad6=_0x5e68c4(_0x6a4d95,'string');return _0x509d8a(_0xb73ad6)==_0x3c03dd(0x27d)?_0xb73ad6:_0xb73ad6+'';}function _0xea73af(_0x4a2222,_0x559868,_0x1e789b){const _0x5c727a=_0x4b60ce;return(_0x559868=_0x206fa4(_0x559868))in _0x4a2222?Object[_0x5c727a(0x329)](_0x4a2222,_0x559868,{'value':_0x1e789b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a2222[_0x559868]=_0x1e789b,_0x4a2222;}let _0xaea944=class extends _0x3f9984[_0x4b60ce(0x2ac)]{constructor(_0x1165f1,_0x2b10b3){const _0x47c966=_0x4b60ce;super(),this[_0x47c966(0x3b3)]=_0x1165f1,this[_0x47c966(0x372)]=_0x2b10b3,_0xea73af(this,_0x47c966(0x19f),new _0x880890[(_0x47c966(0x221))](null)),_0xea73af(this,_0x47c966(0xa0),this['_editingParams$'][_0x47c966(0x153)]()),_0xea73af(this,_0x47c966(0x17b),new _0x880890[(_0x47c966(0x221))](!0x1)),_0xea73af(this,'onSavingEditorData$',this[_0x47c966(0x17b)][_0x47c966(0x153)]()),_0xea73af(this,_0x47c966(0x3a4),void 0x0),this[_0x47c966(0x10e)](this[_0x47c966(0x3b3)][_0x47c966(0x3a0)][_0x47c966(0x3b5)](()=>{const _0xeccc60=_0x47c966;let _0x128be8=this[_0xeccc60(0x190)]();_0x128be8!=null&&_0x128be8['visible']&&!this[_0xeccc60(0xba)](_0x128be8)&&this[_0xeccc60(0xc2)](null);}));}[_0x4b60ce(0x384)](){const _0x5f1f35=_0x4b60ce;this[_0x5f1f35(0x182)](),this[_0x5f1f35(0x19f)][_0x5f1f35(0xed)](null),this[_0x5f1f35(0x19f)][_0x5f1f35(0x224)](),this[_0x5f1f35(0x17b)][_0x5f1f35(0xed)](!0x1),this[_0x5f1f35(0x17b)][_0x5f1f35(0x224)](),super['dispose']();}[_0x4b60ce(0xc2)](_0x54e8d2){const _0x4ef386=_0x4b60ce;_0x54e8d2!=null&&_0x54e8d2[_0x4ef386(0x1c7)]&&!this[_0x4ef386(0xba)](_0x54e8d2)||(this[_0x4ef386(0x182)](),this[_0x4ef386(0x19f)]['next'](_0x54e8d2),(_0x54e8d2==null||_0x54e8d2[_0x4ef386(0x1c7)]&&this[_0x4ef386(0x17b)]['getValue']())&&this['_onSavingEditorData$'][_0x4ef386(0xed)](!0x1));}[_0x4b60ce(0x230)](_0x15be64){const _0x2f18d5=_0x4b60ce;this[_0x2f18d5(0x17b)][_0x2f18d5(0xed)](_0x15be64);}[_0x4b60ce(0x190)](){const _0x1ece75=_0x4b60ce;return this[_0x1ece75(0x19f)][_0x1ece75(0x2c7)]();}[_0x4b60ce(0xba)](_0x2ecc81){const _0x1abdc7=_0x4b60ce;let _0x4e1025=this[_0x1abdc7(0x372)][_0x1abdc7(0xce)](_0x2ecc81[_0x1abdc7(0x26a)],_0x3f9984['UniverInstanceType']['UNIVER_DOC']);if(!_0x4e1025)return!0x0;let _0x34949f=(0x0,_0x421e15[_0x1abdc7(0x17a)])(_0x4e1025,_0x2ecc81[_0x1abdc7(0x3bb)]);return(0x0,_0x421e15[_0x1abdc7(0x2a9)])(this['_permissionService'],_0x2ecc81[_0x1abdc7(0x26a)],[...(0x0,_0x421e15[_0x1abdc7(0xe4)])(_0x4e1025,_0x34949f,_0x1abdc7(0x3c7),_0x2ecc81['shapeId']),(0x0,_0x421e15['getDocumentEntityPermissionObjectId'])(_0x34949f,_0x1abdc7(0x3c7),_0x2ecc81['shapeId'])]);}['completeEditing'](_0x15fc4f){const _0x51f3d5=_0x4b60ce;let _0x4dcccd=this['getEditing']();!_0x4dcccd||this[_0x51f3d5(0x3a4)]!==void 0x0||(this[_0x51f3d5(0x230)](!0x0),this[_0x51f3d5(0x3a4)]=requestAnimationFrame(()=>{const _0x1d495d=_0x51f3d5;this['_completionFrame']=void 0x0,this[_0x1d495d(0x190)]()===_0x4dcccd&&this[_0x1d495d(0xc2)](null);}));}[_0x4b60ce(0x182)](){const _0x2ac717=_0x4b60ce;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x2ac717(0x3a4)]),this[_0x2ac717(0x3a4)]=void 0x0);}['cancelEditing'](){const _0x3e8e07=_0x4b60ce;this[_0x3e8e07(0x190)]()&&this[_0x3e8e07(0xc2)](null);}};_0xaea944=_0x5adf5c([_0x18855d(0x0,_0x3f9984['IPermissionService']),_0x18855d(0x1,_0x3f9984['IUniverInstanceService'])],_0xaea944);let _0x334f4f=(0x0,_0x3f4608['memo'])(()=>{const _0x1646b0=_0x4b60ce;let _0x4f2ff4=(0x0,_0x40eeff[_0x1646b0(0x16b)])(_0xaea944),_0x296675=(0x0,_0x40eeff[_0x1646b0(0x16b)])(_0x473572[_0x1646b0(0x3b4)]),_0x18a58d=(0x0,_0x40eeff[_0x1646b0(0x16b)])(_0x4e3223[_0x1646b0(0x279)]),_0x45ca99=(0x0,_0x40eeff['useDependency'])(_0x3f9984[_0x1646b0(0x36a)]);return(0x0,_0x133011[_0x1646b0(0x313)])(_0x3be0ca[_0x1646b0(0x2d7)],{'adapter':(0x0,_0x3f4608[_0x1646b0(0x179)])(()=>({'getShapeModel':(_0x308f75,_0x47c7ed,_0x3cea68)=>_0x296675[_0x1646b0(0x2b8)](_0x308f75,_0x47c7ed,_0x3cea68),'getShapeData':(_0x2dd6e5,_0x520454,_0x340425)=>_0x296675[_0x1646b0(0x26b)](_0x2dd6e5,_0x520454,_0x340425),'getDrawingTransform':(_0x141924,_0x1c7557,_0x588c69)=>{const _0x1f97e8=_0x1646b0;let _0x596c73=_0x18a58d[_0x1f97e8(0x2ed)]({'unitId':_0x141924,'subUnitId':_0x1c7557,'drawingId':_0x588c69});return _0x596c73==null?void 0x0:_0x596c73[_0x1f97e8(0xeb)];},'updateShapeText':({unitId:_0x45fb8a,shapeId:_0x50aea0,shapeText:_0x420934,oldShapeText:_0x4871b3})=>{const _0x15b533=_0x1646b0;_0x45ca99['executeCommand'](_0x473572[_0x15b533(0x1d5)]['id'],{'unitId':_0x45fb8a,'shapeId':_0x50aea0,'shapeData':{'shapeText':_0x420934},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x4871b3}}});},'updateHostSize':({unitId:_0x1a3879,subUnitId:_0x3e4490,shapeId:_0x2dedfc,width:_0x581ab3,height:_0x286dda})=>{const _0x2774b2=_0x1646b0;_0x45ca99[_0x2774b2(0x359)](_0x4d54ad[_0x2774b2(0x196)]['id'],{'unitId':_0x1a3879,'subUnitId':_0x3e4490,'drawings':[{'drawingId':_0x2dedfc,'key':'size','value':{'width':_0x581ab3,'height':_0x286dda}}]});},'allowHostSizeShrink':({unitId:_0x25add7,subUnitId:_0x2c194d,shapeId:_0x38ddfd})=>(0x0,_0x3be0ca['shouldAllowShapeTextEditorHostSizeShrink'])(_0x296675['getShapeDataById'](_0x25add7,_0x2c194d,_0x38ddfd))}),[_0x45ca99,_0x296675,_0x18a58d]),'editingService':_0x4f2ff4,'editorUnitId':_0x15d7a5,'positionOptions':(0x0,_0x3f4608[_0x1646b0(0x179)])(()=>({'viewportKeys':{'main':_0x4e182a[_0x1646b0(0xe2)]['VIEW_MAIN']}}),[])});}),_0x5a1ead=class extends _0x3f9984[_0x4b60ce(0x2ac)]{constructor(_0x412e1c,_0x567a60){const _0x50d9ee=_0x4b60ce;super(),this[_0x50d9ee(0x270)]=_0x412e1c,this[_0x50d9ee(0x2a1)]=_0x567a60,this[_0x50d9ee(0x214)](),this[_0x50d9ee(0x36f)]();}[_0x4b60ce(0x214)](){const _0x3faec8=_0x4b60ce;this[_0x3faec8(0x2a1)][_0x3faec8(0x2d9)](_0x3faec8(0x126))||this[_0x3faec8(0x10e)](this[_0x3faec8(0x2a1)]['register']({'ObjectLayersIcon':_0x1b41f1})),this[_0x3faec8(0x2a1)]['has']('BottomIcon')||this[_0x3faec8(0x10e)](this[_0x3faec8(0x2a1)][_0x3faec8(0x145)]({'BottomIcon':_0x32353d})),this[_0x3faec8(0x2a1)]['has']('MoveDownIcon')||this[_0x3faec8(0x10e)](this['_iconManager'][_0x3faec8(0x145)]({'MoveDownIcon':_0x310861})),this[_0x3faec8(0x2a1)]['has']('MoveUpIcon')||this['disposeWithMe'](this[_0x3faec8(0x2a1)][_0x3faec8(0x145)]({'MoveUpIcon':_0x4fd1d9})),this['_iconManager']['has'](_0x3faec8(0x267))||this[_0x3faec8(0x10e)](this[_0x3faec8(0x2a1)][_0x3faec8(0x145)]({'ShapeFormatSettingIcon':_0x3a9536})),this[_0x3faec8(0x2a1)][_0x3faec8(0x2d9)](_0x3faec8(0x235))||this[_0x3faec8(0x10e)](this[_0x3faec8(0x2a1)][_0x3faec8(0x145)]({'TopmostIcon':_0x48f6bb})),this[_0x3faec8(0x10e)](this[_0x3faec8(0x2a1)][_0x3faec8(0x145)](_0x4f25c8));}[_0x4b60ce(0x36f)](){const _0x59d87f=_0x4b60ce;this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x262f18,_0x4b6dba)),this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x2129ab,_0x41b033)),this[_0x59d87f(0x10e)](this['_componentManager'][_0x59d87f(0x145)](_0x32ab16,_0x3fad27)),this['disposeWithMe'](this[_0x59d87f(0x270)]['register'](_0x4580d7,_0x5dc768)),this[_0x59d87f(0x10e)](this['_componentManager'][_0x59d87f(0x145)](_0x4669f8,_0x3fa152)),this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x430825,_0x57ce15)),this['disposeWithMe'](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x4e3ec1,_0x24f66d)),this['disposeWithMe'](this['_componentManager']['register'](_0x8805d6,_0xfefac2)),this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x2bad9d,_0x3be0ca[_0x59d87f(0x366)])),this['disposeWithMe'](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x13da67,_0x54fb14)),this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)](_0x4b1e10,_0x2c5883)),this[_0x59d87f(0x270)]['get'](_0x1873b9[_0x59d87f(0x2f7)])||this['disposeWithMe'](this[_0x59d87f(0x270)]['register'](_0x1873b9['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xf1018c)),this[_0x59d87f(0x10e)](this[_0x59d87f(0x270)][_0x59d87f(0x145)]('DocsShapeTextEditorContainer',_0x334f4f));}};_0x5a1ead=_0x5adf5c([_0x18855d(0x0,(0x0,_0x3f9984['Inject'])(_0x40eeff[_0x4b60ce(0x272)])),_0x18855d(0x1,(0x0,_0x3f9984['Inject'])(_0x40eeff[_0x4b60ce(0x1b8)]))],_0x5a1ead);var _0x125b62=class extends _0x1c0cd0[_0x4b60ce(0x10c)]{constructor(_0x142e31,_0x372844){const _0x1a891b=_0x4b60ce;super(_0x142e31,_0x372844),_0xea73af(this,_0x1a891b(0x28d),null),_0xea73af(this,_0x1a891b(0x392),null),_0xea73af(this,_0x1a891b(0x244),null),_0xea73af(this,'_subUnitId',null),_0x372844&&this[_0x1a891b(0x151)](_0x372844);}[_0x4b60ce(0x309)](){const _0x335136=_0x4b60ce;return{'unitId':this[_0x335136(0x244)],'subUnitId':this[_0x335136(0x17f)],'drawingId':this[_0x335136(0x28d)]};}[_0x4b60ce(0x151)](_0x26127a){const _0x11037c=_0x4b60ce;_0x26127a['shapeId']!==void 0x0&&(this['_shapeId']=_0x26127a[_0x11037c(0x3bb)]),_0x26127a[_0x11037c(0x239)]!==void 0x0&&(this[_0x11037c(0x392)]=_0x26127a[_0x11037c(0x239)]),_0x26127a['unitId']!==void 0x0&&(this[_0x11037c(0x244)]=_0x26127a['unitId']),_0x26127a[_0x11037c(0x1c9)]!==void 0x0&&(this['_subUnitId']=_0x26127a['subUnitId']),this[_0x11037c(0x181)]({'width':_0x26127a[_0x11037c(0x357)],'height':_0x26127a[_0x11037c(0x1a1)]});}[_0x4b60ce(0x1ab)](_0x1f969c){const _0x46fc61=_0x4b60ce;_0x1c0cd0[_0x46fc61(0xc0)]['drawWith'](_0x1f969c,{'radius':_0x1f7081[_0x46fc61(0x370)][_0x46fc61(0xa5)],'fill':_0x1f7081[_0x46fc61(0x370)][_0x46fc61(0x1b3)],'stroke':_0x1f7081['ShapeDefaultConfig'][_0x46fc61(0xdd)],'strokeWidth':0x1,'evented':!0x0});}};function _0x193158(_0x5ecb50,_0x4d524c,_0x4ceeab){const _0x5053e4=_0x4b60ce;let _0x11b9df=(0x0,_0x3be0ca[_0x5053e4(0x1e0)])(_0x5ecb50,{..._0x4d524c,'dataModel':{..._0x4d524c[_0x5053e4(0x306)]??{},..._0x4ceeab?{'doc':_0x4ceeab}:null}}),_0x10f4b7=(0x0,_0x3be0ca[_0x5053e4(0x360)])(_0x11b9df);return{'clip':(0x0,_0x3be0ca[_0x5053e4(0x123)])(_0x11b9df,_0x10f4b7),'wrapStrategy':_0x10f4b7};}var _0x316963=class extends _0x1c0cd0[_0x4b60ce(0x10c)]{constructor(_0x5ef0fd,_0x52f3d2){const _0x213a2c=_0x4b60ce;super(_0x5ef0fd,_0x52f3d2),_0xea73af(this,_0x213a2c(0x2a4),void 0x0),_0xea73af(this,_0x213a2c(0x349),new _0x3be0ca[(_0x213a2c(0x1a2))](()=>this[_0x213a2c(0x381)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0xea73af(this,'_transformCalculateSrcRect',!0x0),_0xea73af(this,_0x213a2c(0x11e),_0x3f9984[_0x213a2c(0xdb)][_0x213a2c(0xd5)]),_0xea73af(this,'isDrawingObject',!0x0),this[_0x213a2c(0x2a4)]={..._0x52f3d2},this['_formulaAnimation'][_0x213a2c(0xc7)](_0x52f3d2[_0x213a2c(0x262)],_0x52f3d2[_0x213a2c(0x24a)]!==!0x1),this['_init'](),this['_applyFormulaAutoFitSize']();}[_0x4b60ce(0x3a8)](){const _0x5d7dd4=_0x4b60ce;this[_0x5d7dd4(0x19d)]['subscribeEvent'](_0x708f4d=>{const _0x2899a3=_0x5d7dd4;this[_0x2899a3(0x388)](_0x708f4d);});}[_0x4b60ce(0x3a5)](_0x36d137){const _0x3b1422=_0x4b60ce;this[_0x3b1422(0x2a4)][_0x3b1422(0x399)]=_0x36d137;}[_0x4b60ce(0xc2)](_0x1c35fd){const _0x318eb1=_0x4b60ce;this[_0x318eb1(0x2a4)]['isEditing']=_0x1c35fd,this['makeDirty'](!0x0);}[_0x4b60ce(0x115)](_0x1e2f24,_0x1a7cf9=!0x0){const _0x3666eb=_0x4b60ce;this[_0x3666eb(0x349)][_0x3666eb(0xc7)](_0x1e2f24,_0x1a7cf9),this[_0x3666eb(0x2a4)][_0x3666eb(0x262)]=_0x1e2f24,this['_applyFormulaAutoFitSize'](),this[_0x3666eb(0x381)](!0x0);}[_0x4b60ce(0x29e)](){const _0x4a2e9c=_0x4b60ce;let _0x2fd803=this[_0x4a2e9c(0x2a4)]['shapeModel'],_0x58aa8e=_0x2fd803[_0x4a2e9c(0x183)](),_0x8591b3=(0x0,_0x3be0ca[_0x4a2e9c(0x387)])(_0x58aa8e==null?void 0x0:_0x58aa8e['dataModel']),_0x487b60=_0x8591b3==null?void 0x0:_0x8591b3[_0x4a2e9c(0xae)],_0xa2a273=this[_0x4a2e9c(0x349)][_0x4a2e9c(0xb3)]();if(!_0x487b60||_0xa2a273[_0x4a2e9c(0x38c)]===0x0)return;_0x2fd803['updateContext']({'width':this[_0x4a2e9c(0x357)],'height':this[_0x4a2e9c(0x1a1)]});let _0x269194=(0x0,_0x3be0ca[_0x4a2e9c(0x261)])({'documentData':_0xa2a273[_0x4a2e9c(0x300)](_0xfdc141=>(0x0,_0x184ef2['createShapeFormulaDocument'])(_0x487b60,_0xfdc141)),'height':this[_0x4a2e9c(0x1a1)],'shapeData':_0x2fd803[_0x4a2e9c(0x1ad)](),'textRect':_0x2fd803[_0x4a2e9c(0x212)]({'left':0x0,'top':0x0,'width':this[_0x4a2e9c(0x357)],'height':this[_0x4a2e9c(0x1a1)]}),'width':this[_0x4a2e9c(0x357)]});if(_0x269194){var _0x57a9a3;this[_0x4a2e9c(0x249)](_0x269194['width'],_0x269194['height']),(_0x57a9a3=this[_0x4a2e9c(0x2f4)]())==null||(_0x57a9a3=_0x57a9a3[_0x4a2e9c(0x2e1)]())==null||_0x57a9a3['debounceRefreshControls']();}}get[_0x4b60ce(0x26a)](){const _0x4690a4=_0x4b60ce;return this[_0x4690a4(0x2a4)]['unitId'];}get[_0x4b60ce(0x1c9)](){const _0x1b21f4=_0x4b60ce;return this[_0x1b21f4(0x2a4)]['subUnitId'];}[_0x4b60ce(0x388)](_0x228f71){const _0x40f4a2=_0x4b60ce;if(this[_0x40f4a2(0x2a4)][_0x40f4a2(0x356)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x1b273d,height:_0x55fc1c}=this,{width:_0x301b2f=0x0,height:_0x1c40ff=0x0}=_0x228f71[_0x40f4a2(0x287)],{left:_0x12f042=0x0,top:_0x402bae=0x0,right:_0x1e2531=0x0,bottom:_0x3f1297=0x0}=this['_props'][_0x40f4a2(0x356)],_0x441a16=_0x12f042,_0x38bcea=_0x402bae,_0x1ea350=_0x1e2531,_0x4dd901=_0x3f1297,_0x596324=!0x1;if(_0x301b2f!==0x0&&_0x301b2f!==_0x1b273d){let _0x1f59ba=_0x12f042/_0x301b2f,_0x213b8e=_0x1e2531/_0x301b2f;_0x441a16=_0x1b273d*_0x1f59ba,_0x1ea350=_0x1b273d*_0x213b8e,_0x596324=!0x0;}if(_0x1c40ff!==0x0&&_0x1c40ff!==_0x55fc1c){let _0x3cf0ca=_0x402bae/_0x1c40ff,_0x44bc12=_0x3f1297/_0x1c40ff;_0x38bcea=_0x55fc1c*_0x3cf0ca,_0x4dd901=_0x55fc1c*_0x44bc12,_0x596324=!0x0;}_0x596324&&this[_0x40f4a2(0x133)]({'left':_0x441a16,'top':_0x38bcea,'right':_0x1ea350,'bottom':_0x4dd901});}[_0x4b60ce(0x133)](_0x469fcb){const _0x5a8566=_0x4b60ce;this[_0x5a8566(0x2a4)]['srcRect']=_0x469fcb,this[_0x5a8566(0x381)](!0x0);}[_0x4b60ce(0x156)](_0x19abf8){const _0x28a916=_0x4b60ce;this['_props'][_0x28a916(0x21b)]=_0x19abf8,this[_0x28a916(0x381)](!0x0);}set[_0x4b60ce(0xeb)](_0x362ac0){const _0x18c828=_0x4b60ce;this[_0x18c828(0x307)]=_0x362ac0;}get[_0x4b60ce(0xeb)](){const _0x238beb=_0x4b60ce;this[_0x238beb(0x307)]||this[_0x238beb(0x38f)]();let _0x3ae622=this[_0x238beb(0x307)]['clone']();return this[_0x238beb(0x111)](_0x3ae622);}get[_0x4b60ce(0x173)](){const _0x22410e=_0x4b60ce;return this[_0x22410e(0x2a4)][_0x22410e(0x173)];}get[_0x4b60ce(0x3bb)](){const _0x96faa1=_0x4b60ce;return this['_props'][_0x96faa1(0x3bb)];}get[_0x4b60ce(0x180)](){return _0x1c0cd0['RENDER_CLASS_TYPE']['SHAPE'];}[_0x4b60ce(0x1ab)](_0xc9de13,_0x55cf8c,_0x4ad894,_0x3b1185){const _0x3770dd=_0x4b60ce;let _0x49e6d4=this[_0x3770dd(0x2a4)][_0x3770dd(0x173)];if(!_0x49e6d4||!_0x55cf8c)return;let _0x4caed0=_0x4ad894??this['width'],_0x5b56ba=_0x3b1185??this[_0x3770dd(0x1a1)],_0x2202c8={'shapeType':_0x49e6d4[_0x3770dd(0x297)](),'width':_0x4caed0,'height':_0x5b56ba},_0x18174c={'renderMode':_0x1f7081[_0x3770dd(0x37e)]['Path'],'oKey':this[_0x3770dd(0x243)],'image':this[_0x3770dd(0x2a4)][_0x3770dd(0x21b)],'angle':this[_0x3770dd(0x1e8)]};_0x49e6d4[_0x3770dd(0x278)](_0x2202c8),_0xc9de13[_0x3770dd(0x1e1)]();let _0x7ef60a={'top':0x0,'left':0x0,'width':_0x4caed0,'height':_0x5b56ba},_0x2b7817=_0x49e6d4[_0x3770dd(0x1d0)](_0x7ef60a);_0x2b7817?this[_0x3770dd(0x2ee)](_0xc9de13,_0x2b7817,_0x3d3459=>{_0x49e6d4['render'](_0x3d3459,_0x7ef60a,_0x18174c);}):(this['_releaseRenderCache'](),_0x49e6d4[_0x3770dd(0x3a6)](_0xc9de13,_0x7ef60a,_0x18174c)),_0xc9de13['restore']();let _0x3c733b=_0x49e6d4['getShapeTextData'](),_0x223b95=_0x49e6d4[_0x3770dd(0x212)](_0x7ef60a),_0x2fc772=_0x49e6d4[_0x3770dd(0x1a4)]();if(_0x3c733b&&_0x223b95&&!_0x2fc772){_0xc9de13[_0x3770dd(0x1e1)](),this[_0x3770dd(0x15b)]()[_0x3770dd(0x13d)]&&_0xc9de13['scale'](-0x1,0x1);let _0x142f23=_0x4caed0/0x2,_0x3f1626=_0x5b56ba/0x2;_0xc9de13[_0x3770dd(0x257)](-_0x142f23,-_0x3f1626),_0xc9de13['beginPath'](),this['_drawShapeText'](_0xc9de13,_0x3c733b,_0x223b95),_0xc9de13[_0x3770dd(0x274)]();}}['getDrawingPoints'](_0x5e572f){}[_0x4b60ce(0x391)](_0x4a1da1,_0x4609e1,_0x1e74ba){const _0x14a3f0=_0x4b60ce;var _0x29665e;this[_0x14a3f0(0x2a4)][_0x14a3f0(0x378)]||(!((_0x29665e=_0x4609e1['dataModel'])!=null&&_0x29665e[_0x14a3f0(0xae)])&&_0x14a3f0(0x304)in _0x4609e1&&_0x4609e1[_0x14a3f0(0x304)]===!0x1?this[_0x14a3f0(0x1f2)](_0x4a1da1,_0x4609e1,_0x1e74ba):this[_0x14a3f0(0x10a)](_0x4a1da1,_0x4609e1,_0x1e74ba));}[_0x4b60ce(0x1f2)](_0x25e609,_0x3a7144,_0x46f3a6){const _0x1cca88=_0x4b60ce;this[_0x1cca88(0x10a)](_0x25e609,{..._0x3a7144,'text':_0x3a7144[_0x1cca88(0x148)]??'','dataModel':{'doc':(0x0,_0x3be0ca[_0x1cca88(0xe7)])(_0x3a7144,_0x1cca88(0x3a7)+this['oKey'])}},_0x46f3a6);}[_0x4b60ce(0x10a)](_0x16a0b9,_0x38a8b6,_0x4c843c){const _0x4b88ee=_0x4b60ce;(0x0,_0x3be0ca[_0x4b88ee(0x27a)])(_0x16a0b9,this[_0x4b88ee(0x349)],(_0x151a49,_0x16674e)=>{const _0x2fb959=_0x4b88ee;this[_0x2fb959(0x251)](_0x151a49,_0x38a8b6,_0x4c843c,_0x16674e);});}['_drawRichTextLayer'](_0x407381,_0x4b41e1,_0x5ae3b2,_0xd91dd4){const _0x255535=_0x4b60ce;let _0x278b00=this[_0x255535(0x2a4)][_0x255535(0x394)];if(!_0x4b41e1['dataModel']||!_0x278b00){_0x278b00||console['warn']('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x4c065d=(0x0,_0x3be0ca[_0x255535(0x387)])(_0x4b41e1[_0x255535(0x306)]);if(!_0x4c065d)return;let _0x4bfe07=_0x4c065d[_0x255535(0xae)];if(!_0x4bfe07)return;let _0x2b75da=(0x0,_0x184ef2[_0x255535(0x326)])(_0x4bfe07,_0xd91dd4),_0x3dd298=_0x4c065d['va']??_0x3f9984[_0x255535(0x117)][_0x255535(0x114)],_0x20b608=_0x4c065d['ha']??_0x3f9984['HorizontalAlign'][_0x255535(0x24c)],_0x3b129a=_0x193158(this[_0x255535(0x2a4)]['shapeModel']['getShapeData'](),_0x4b41e1,_0x2b75da),_0x2439e0=_0x4b41e1[_0x255535(0xe8)],_0xaa5250=new _0x3f9984[(_0x255535(0x318))]((0x0,_0x3be0ca[_0x255535(0x129)])(_0x2b75da,{'isHorizontal':_0x2439e0!==!0x1,'textRect':_0x5ae3b2,'verticalAlign':_0x3dd298,'horizontalAlign':_0x20b608,'wrapStrategy':_0x3b129a['wrapStrategy']})),_0x34917f=new _0x1c0cd0[(_0x255535(0x3ab))](_0xaa5250),_0x4fda28=_0x1c0cd0[_0x255535(0x1ed)][_0x255535(0x206)](_0x34917f,_0x278b00);_0x4fda28['calculate']();let _0x24b9c5=_0x4fda28['getActualSize']()['actualHeight'],_0xf5f4=(0x0,_0x3be0ca[_0x255535(0x110)])({'contentHeight':_0x24b9c5,'verticalAlign':_0x3dd298,'viewportHeight':_0x5ae3b2['height']});_0xaa5250[_0x255535(0x1cc)]({'pageSize':{'width':_0x2439e0===!0x1?_0x5ae3b2[_0x255535(0x1a1)]:_0x5ae3b2[_0x255535(0x357)],'height':_0xf5f4[_0x255535(0x2f8)]}}),_0xaa5250[_0x255535(0x37c)]({'t':_0xf5f4[_0x255535(0x25a)]}),_0x4fda28[_0x255535(0x1db)]();let _0x585d23=new _0x1c0cd0[(_0x255535(0x2e8))](_0x255535(0x193)+this[_0x255535(0x243)],_0x4fda28,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x585d23[_0x255535(0x249)](_0x5ae3b2['width'],_0xf5f4[_0x255535(0x2f8)]),_0x407381['save'](),_0x407381[_0x255535(0x277)](_0x5ae3b2['left'],_0x5ae3b2[_0x255535(0x19e)]),_0x3b129a[_0x255535(0x195)]&&(_0x407381[_0x255535(0x39f)](),_0x407381[_0x255535(0x2f2)](0x0,_0xf5f4[_0x255535(0x1f4)],_0x5ae3b2[_0x255535(0x357)],_0xf5f4['clipHeight']),_0x407381['clip']()),_0xf5f4[_0x255535(0x2a6)]&&_0x407381['translateWithPrecision'](0x0,_0xf5f4[_0x255535(0x2a6)]),_0x585d23[_0x255535(0xd6)](_0x407381),_0x407381[_0x255535(0x274)](),_0x585d23[_0x255535(0x384)](),_0x4fda28[_0x255535(0x384)](),_0x34917f['dispose'](),_0xaa5250[_0x255535(0x384)]();}[_0x4b60ce(0x3a6)](_0x511d25,_0x59bfdf,_0x44a61e=!0x1){const _0x334ebe=_0x4b60ce;if(!this[_0x334ebe(0x1c7)])return this['makeDirty'](!0x1),this;let {width:_0x2a5d47,height:_0x3bfb21,left:_0x496651,top:_0x16a515}=this,_0x534594=this[_0x334ebe(0x2f6)]();if(_0x2a5d47=_0x534594[_0x334ebe(0x357)],_0x3bfb21=_0x534594[_0x334ebe(0x1a1)],_0x496651=_0x534594[_0x334ebe(0x31d)],_0x16a515=_0x534594[_0x334ebe(0x19e)],this[_0x334ebe(0x365)](_0x59bfdf)){let {top:_0x4f1137,left:_0x10cc35,bottom:_0x4c6c57,right:_0x20948b}=_0x59bfdf[_0x334ebe(0x1ca)];if(_0x2a5d47+this['strokeWidth']+_0x496651<_0x10cc35||_0x20948b<_0x496651||_0x3bfb21+this['strokeWidth']+_0x16a515<_0x4f1137||_0x4c6c57<_0x16a515)return this;}let _0x3dac49=_0x496651+_0x2a5d47/0x2,_0x25e2c1=_0x16a515+_0x3bfb21/0x2,_0x4408e9=this['transform'][_0x334ebe(0x21d)]();if(this[_0x334ebe(0x2a4)]['isEditing']){let _0x57ec1d=this[_0x334ebe(0x15b)](),_0x303490=new _0x1c0cd0['Transform']();_0x303490[_0x334ebe(0x3c4)]({..._0x57ec1d}),_0x4408e9=_0x303490['getMatrix']();}return _0x511d25[_0x334ebe(0x1e1)](),this[_0x334ebe(0x2a4)][_0x334ebe(0x173)][_0x334ebe(0x166)]===!0x0||_0x511d25[_0x334ebe(0xeb)](_0x4408e9[0x0],_0x4408e9[0x1],_0x4408e9[0x2],_0x4408e9[0x3],_0x3dac49,_0x25e2c1),this[_0x334ebe(0x1ab)](_0x511d25,_0x59bfdf,_0x2a5d47,_0x3bfb21),_0x511d25[_0x334ebe(0x274)](),this[_0x334ebe(0x381)](!0x1),this;}['getInverseCoord'](_0x258e6f){const _0xcea6b8=_0x4b60ce;let {left:_0x15872f,top:_0x34acf0,width:_0x45e1ca,height:_0x39205e}=this['getRealBound'](),_0x440504=this['transform'][_0xcea6b8(0x21d)](),_0x5c2495=_0x15872f+_0x45e1ca/0x2,_0x31fbb5=_0x34acf0+_0x39205e/0x2,_0x1124ad=new _0x1c0cd0[(_0xcea6b8(0x1e5))]([_0x440504[0x0],_0x440504[0x1],_0x440504[0x2],_0x440504[0x3],_0x5c2495,_0x31fbb5]),_0x2b202d=this[_0xcea6b8(0x348)]();return(this[_0xcea6b8(0x1a8)]&&(_0x2b202d==null?void 0x0:_0x2b202d[_0xcea6b8(0x180)])===_0x1c0cd0['RENDER_CLASS_TYPE']['GROUP']?_0x2b202d[_0xcea6b8(0x10f)]['multiply'](_0x1124ad):_0x1124ad)['invert']()[_0xcea6b8(0x1cf)](_0x258e6f);}[_0x4b60ce(0xd0)](_0x1d8aed){const _0x338d3b=_0x4b60ce;let {left:_0x46c7fe,top:_0x567f3d,width:_0x40e361,height:_0x21c2ad}=this[_0x338d3b(0x2f6)](),_0x2d27e8=_0x46c7fe+_0x40e361/0x2,_0x4c3436=_0x567f3d+_0x21c2ad/0x2,_0xba1ce0=this[_0x338d3b(0xeb)][_0x338d3b(0x21d)](),_0x141e28=new _0x1c0cd0['Transform']([_0xba1ce0[0x0],_0xba1ce0[0x1],_0xba1ce0[0x2],_0xba1ce0[0x3],_0x2d27e8,_0x4c3436]),_0x5bef7=this[_0x338d3b(0x348)](),_0x196b18=(this[_0x338d3b(0x1a8)]&&(_0x5bef7==null?void 0x0:_0x5bef7['classType'])===_0x1c0cd0[_0x338d3b(0x3d0)][_0x338d3b(0x29c)]?_0x5bef7[_0x338d3b(0x10f)][_0x338d3b(0x35c)](_0x141e28):_0x141e28)[_0x338d3b(0x2e5)]()[_0x338d3b(0x1cf)](_0x1d8aed),_0x4562b2=_0x40e361/0x2,_0x43eea8=_0x21c2ad/0x2,_0x5cac13=this[_0x338d3b(0x2a4)][_0x338d3b(0x173)];return _0x5cac13&&_0x5cac13[_0x338d3b(0x1a4)]()?_0x5cac13[_0x338d3b(0x3bc)](_0x196b18['x'],_0x196b18['y'],_0x40e361,_0x21c2ad):_0x196b18['x']>=-_0x4562b2-this[_0x338d3b(0x2dd)]/0x2&&_0x196b18['x']<=_0x4562b2+this[_0x338d3b(0x2dd)]/0x2&&_0x196b18['y']>=-_0x43eea8-this[_0x338d3b(0x2dd)]/0x2&&_0x196b18['y']<=_0x43eea8+this[_0x338d3b(0x2dd)]/0x2;}[_0x4b60ce(0x384)](){const _0x15ae37=_0x4b60ce;this[_0x15ae37(0x349)][_0x15ae37(0x384)](),this[_0x15ae37(0x2a4)][_0x15ae37(0x173)]=null,super[_0x15ae37(0x384)]();}};let _0x18d16f=class extends _0x3f9984['Disposable']{constructor(_0x31d294,_0x240fe5,_0x4a339c,_0xd5955a){const _0x5adb3d=_0x4b60ce;super(),this[_0x5adb3d(0x15d)]=_0x31d294,this['_drawingManagerService']=_0x240fe5,this[_0x5adb3d(0x2ff)]=_0x4a339c,this[_0x5adb3d(0x34f)]=_0xd5955a,_0xea73af(this,'_activeShapeId',null),_0xea73af(this,'_unitId',null),_0xea73af(this,_0x5adb3d(0x17f),null),_0xea73af(this,_0x5adb3d(0x299),void 0x0),_0xea73af(this,_0x5adb3d(0x32f),[]),_0xea73af(this,_0x5adb3d(0x282),0x0),_0xea73af(this,_0x5adb3d(0x2d5),0x0),_0xea73af(this,_0x5adb3d(0x18b),0x0),_0xea73af(this,_0x5adb3d(0x234),0x0),_0xea73af(this,_0x5adb3d(0x33a),!0x1),_0xea73af(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0xea73af(this,'_activeAdjustInfo',void 0x0),_0xea73af(this,_0x5adb3d(0x1ee),void 0x0),_0xea73af(this,_0x5adb3d(0x2b3),void 0x0),_0xea73af(this,'_adjHandlerPointerUp',void 0x0),this[_0x5adb3d(0xec)](),this['_registerDrawingTransformHandler']();}[_0x4b60ce(0x2fa)](){const _0x42add1=_0x4b60ce;this[_0x42add1(0x1df)]();}[_0x4b60ce(0xaf)](){const _0x12ceb2=_0x4b60ce;this[_0x12ceb2(0x1a7)](!0x0);}[_0x4b60ce(0x3d3)](_0x385471,_0x13f682,_0x515013){const _0x384729=_0x4b60ce;var _0x3374ce;return(_0x3374ce=this[_0x384729(0x2ff)][_0x384729(0x2b8)](_0x385471,_0x13f682,_0x515013))==null?void 0x0:_0x3374ce['getDrawingPoints']();}[_0x4b60ce(0x247)](_0x5e18bd,_0x320241,_0x232f47,_0x429941){const _0x1335dd=_0x4b60ce;var _0x2c5935;return(_0x2c5935=this[_0x1335dd(0x2ff)][_0x1335dd(0x2b8)](_0x5e18bd,_0x320241,_0x232f47))==null?void 0x0:_0x2c5935[_0x1335dd(0x362)](_0x429941);}[_0x4b60ce(0x1e4)](){const _0x291ec6=_0x4b60ce;return this[_0x291ec6(0x244)]===null||this[_0x291ec6(0x17f)]===null||this[_0x291ec6(0xaa)]===null?null:this[_0x291ec6(0x298)][_0x291ec6(0x2ed)]({'unitId':this['_unitId'],'subUnitId':this[_0x291ec6(0x17f)],'drawingId':this['_activeShapeId']})??null;}[_0x4b60ce(0x1e7)](_0x3f0b61){const _0x45f00d=_0x4b60ce;if(this[_0x45f00d(0x244)]===null||this[_0x45f00d(0x17f)]===null||this[_0x45f00d(0xaa)]===null)return null;let _0x45bd7b=(0x0,_0x4e3223[_0x45f00d(0x379)])({'unitId':this[_0x45f00d(0x244)],'subUnitId':this[_0x45f00d(0x17f)],'drawingId':this[_0x45f00d(0xaa)]}),_0x1f62c5=_0x3f0b61[_0x45f00d(0xc9)](_0x45bd7b);return _0x1f62c5 instanceof _0x316963?_0x1f62c5:null;}[_0x4b60ce(0x21f)](_0x4c5b18=!0x1){const _0x55e664=_0x4b60ce;if(this[_0x55e664(0x244)]===null||this['_subUnitId']===null||this[_0x55e664(0xaa)]===null)return;let _0x5ac6ce=this['_getActiveDrawingParam']();if((_0x5ac6ce==null?void 0x0:_0x5ac6ce['drawingType'])!==_0x3f9984['DrawingTypeEnum']['DRAWING_SHAPE']||!_0x5ac6ce[_0x55e664(0xeb)])return;let _0x48a6b8=this[_0x55e664(0x2ff)][_0x55e664(0x2b8)](this[_0x55e664(0x244)],this[_0x55e664(0x17f)],this[_0x55e664(0xaa)]);if(!_0x48a6b8||_0x48a6b8[_0x55e664(0x1a4)]())return;let {left:_0xc02c7f=0x0,top:_0x99aabe=0x0,width:_0x58cded=0x0,height:_0x328cc0=0x0,flipX:_0x41d5e1,flipY:_0x1001c4,angle:_0x540bbd=0x0}=_0x5ac6ce['transform'];(_0x4c5b18||!this['_activeShapeAdjustPointList'])&&(_0x48a6b8[_0x55e664(0x278)]({'width':_0x58cded,'height':_0x328cc0}),this[_0x55e664(0x299)]=_0x48a6b8['getDrawingPoints']());let _0x2cc5b7=this['_activeShapeAdjustPointList'];if(!(_0x2cc5b7!=null&&_0x2cc5b7[_0x55e664(0x38c)]))return;let {scene:_0x59608b}=this['_context'];for(let _0xac02fd of _0x2cc5b7){let _0xa6cc81=this[_0x55e664(0x33f)](_0xac02fd,_0x58cded,_0x328cc0,!!_0x41d5e1,!!_0x1001c4,_0x540bbd);this[_0x55e664(0x149)](_0x59608b,_0xa6cc81,_0xa6cc81['adjName'],_0xc02c7f,_0x99aabe,this[_0x55e664(0x244)],this[_0x55e664(0x17f)]);}}[_0x4b60ce(0x33f)](_0x3a4bfb,_0x31d8fb,_0x2e87eb,_0x2159de,_0xf2d584,_0xd7d399){const _0x552512=_0x4b60ce;let _0x267180=_0x3a4bfb['x'],_0x27073d=_0x3a4bfb['y'];if(_0x2159de&&(_0x267180=_0x31d8fb-_0x267180),_0xf2d584&&(_0x27073d=_0x2e87eb-_0x27073d),_0xd7d399!==0x0){let _0x34c267=_0x31d8fb/0x2,_0x199dc0=_0x2e87eb/0x2,_0x28288a=_0xd7d399*Math['PI']/0xb4,_0x48c30f=Math[_0x552512(0x12a)](_0x28288a),_0x4dfdc1=Math[_0x552512(0x130)](_0x28288a),_0x37ab1a=_0x267180-_0x34c267,_0x3e8278=_0x27073d-_0x199dc0;_0x267180=_0x34c267+(_0x37ab1a*_0x48c30f-_0x3e8278*_0x4dfdc1),_0x27073d=_0x199dc0+(_0x37ab1a*_0x4dfdc1+_0x3e8278*_0x48c30f);}return{'x':_0x267180,'y':_0x27073d,'adjName':_0x3a4bfb[_0x552512(0x239)]};}[_0x4b60ce(0x1a7)](_0x9149b7=!0x1){const _0x1d7d3d=_0x4b60ce;_0x9149b7&&this[_0x1d7d3d(0x1df)](),this[_0x1d7d3d(0x21f)](_0x9149b7);}['_addShapeAdjustControl'](_0x16ec6e,_0x57054f,_0x310b8a,_0x1b7ded,_0x3f4b15,_0x981678,_0x458755){const _0x56508f=_0x4b60ce;if(!this['_activeShapeId'])return;let _0x12be1c='doc-shape-adjust-point-'+this['_activeShapeId']+'-'+_0x310b8a,_0x32de3c=_0x16ec6e[_0x56508f(0xc9)](_0x12be1c);if(_0x32de3c){_0x32de3c['transformByState']({'left':_0x57054f['x']+_0x1b7ded-_0x1f7081[_0x56508f(0x370)][_0x56508f(0xa5)],'top':_0x57054f['y']+_0x3f4b15-_0x1f7081[_0x56508f(0x370)][_0x56508f(0xa5)]}),_0x32de3c[_0x56508f(0x381)](!0x0);return;}let _0xb89d15=new _0x125b62(_0x12be1c,{'left':_0x57054f['x']+_0x1b7ded-_0x1f7081[_0x56508f(0x370)][_0x56508f(0xa5)],'top':_0x57054f['y']+_0x3f4b15-_0x1f7081[_0x56508f(0x370)][_0x56508f(0xa5)],'adjName':_0x310b8a,'shapeId':this[_0x56508f(0xaa)],'unitId':_0x981678,'subUnitId':_0x458755,'width':_0x1f7081['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x1f7081[_0x56508f(0x370)]['adjHandleSize']+0x8,'zIndex':_0x1c0cd0[_0x56508f(0x38d)]+0x1,'evented':!0x0});this[_0x56508f(0x32f)][_0x56508f(0x246)](_0xb89d15),this[_0x56508f(0x11b)](_0xb89d15,_0x16ec6e,_0x310b8a),_0x16ec6e[_0x56508f(0x9e)](_0xb89d15,_0x1c0cd0[_0x56508f(0x38d)]+0x1);}['_clearShapeAdjustControls'](){const _0x9af40e=_0x4b60ce;this[_0x9af40e(0x32f)][_0x9af40e(0x125)](_0x55b923=>_0x55b923['dispose']()),this[_0x9af40e(0x32f)]=[];}[_0x4b60ce(0x32b)](){const _0x4e9950=_0x4b60ce;this[_0x4e9950(0x21f)]();}['_toScenePoint'](_0x159e3b,_0x49344c,_0xbd0595){const _0x38e28f=_0x4b60ce;let _0x360c3f=_0x1c0cd0[_0x38e28f(0x3b1)][_0x38e28f(0x339)]([_0x49344c,_0xbd0595]),_0xcd2cfa=_0x159e3b['getActiveViewportByCoord'](_0x360c3f)??_0x159e3b[_0x38e28f(0x358)]()[0x0];return(_0xcd2cfa==null?void 0x0:_0xcd2cfa[_0x38e28f(0x3a2)](_0x360c3f))??_0x360c3f;}[_0x4b60ce(0x11b)](_0x5634f7,_0x1bc638,_0x43af13){const _0x31179f=_0x4b60ce;this[_0x31179f(0x10e)]((0x0,_0x3f9984['toDisposable'])(_0x5634f7[_0x31179f(0x3b7)][_0x31179f(0x291)]((_0x33fab1,_0x36925f)=>{const _0x45045a=_0x31179f;var _0x414d0f;let _0x1b0f8d=_0x5634f7[_0x45045a(0x309)]();this['_activeAdjustInfo']=this[_0x45045a(0x247)](_0x1b0f8d['unitId'],_0x1b0f8d[_0x45045a(0x1c9)],_0x1b0f8d[_0x45045a(0x17e)],_0x43af13),this['_activeShapeModel']=this['_docsShapeService'][_0x45045a(0x2b8)](_0x1b0f8d[_0x45045a(0x26a)],_0x1b0f8d[_0x45045a(0x1c9)],_0x1b0f8d['drawingId']);let _0x5d6d73=this[_0x45045a(0x1e4)](),_0x1421fc=_0x5d6d73==null?void 0x0:_0x5d6d73[_0x45045a(0xeb)];if(!_0x5d6d73||!_0x1421fc||!this[_0x45045a(0x1ee)])return;this[_0x45045a(0x282)]=_0x1421fc[_0x45045a(0x31d)]||0x0,this['_baseShapeTop']=_0x1421fc[_0x45045a(0x19e)]||0x0,this[_0x45045a(0x18b)]=_0x1421fc[_0x45045a(0x357)]||0x0,this[_0x45045a(0x234)]=_0x1421fc[_0x45045a(0x1a1)]||0x0;let _0x1d492b=!!_0x1421fc['flipX'],_0x2c664d=!!_0x1421fc[_0x45045a(0x1e3)],_0x48be08=_0x1421fc[_0x45045a(0x1e8)]||0x0,_0x2aaec1={...((_0x414d0f=this[_0x45045a(0x264)])==null?void 0x0:_0x414d0f[_0x45045a(0x105)])??{}};this[_0x45045a(0x33a)]=!0x0,_0x1bc638[_0x45045a(0x2d2)](),this[_0x45045a(0x2b3)]=_0x1bc638['onPointerMove$'][_0x45045a(0x291)]((_0x1966f5,_0x4f7e82)=>{const _0x31b222=_0x45045a;var _0x3b6103;if(!this[_0x31b222(0x33a)]||!this['_activeShapeModel']||!this[_0x31b222(0x264)])return;_0x1bc638[_0x31b222(0x2d2)](),_0x1bc638[_0x31b222(0x12f)](_0x1c0cd0['CURSOR_TYPE'][_0x31b222(0x3c3)]);let _0x46a71b=this[_0x31b222(0x2c2)](_0x1bc638,_0x1966f5[_0x31b222(0xf5)],_0x1966f5[_0x31b222(0x171)]),_0xdca077=_0x46a71b['x']-this[_0x31b222(0x282)],_0x3063da=_0x46a71b['y']-this[_0x31b222(0x2d5)];if(_0x48be08!==0x0){let _0x3ab4e4=this[_0x31b222(0x18b)]/0x2,_0xfe994a=this['_baseShapeHeight']/0x2,_0x1cfdce=_0x48be08*Math['PI']/0xb4,_0x2d54b2=Math[_0x31b222(0x12a)](_0x1cfdce),_0x323145=Math[_0x31b222(0x130)](_0x1cfdce),_0x212233=_0xdca077-_0x3ab4e4,_0x169eb8=_0x3063da-_0xfe994a;_0xdca077=_0x3ab4e4+(_0x212233*_0x2d54b2+_0x169eb8*_0x323145),_0x3063da=_0xfe994a+(-_0x212233*_0x323145+_0x169eb8*_0x2d54b2);}_0x1d492b&&(_0xdca077=this['_baseShapeWidth']-_0xdca077),_0x2c664d&&(_0x3063da=this[_0x31b222(0x234)]-_0x3063da);let _0x167f3b={'left':0x0,'top':0x0,'width':this[_0x31b222(0x18b)],'height':this['_baseShapeHeight']},_0x3aeb8a=this[_0x31b222(0x1ee)]['calcAdjValues'](_0x167f3b,{'x':_0xdca077,'y':_0x3063da},this[_0x31b222(0x264)],_0x1d492b,_0x2c664d);if(Object[_0x31b222(0x310)](_0x3aeb8a)[_0x31b222(0x38c)]!==0x0){for(let [_0x597b62,_0x602961]of Object[_0x31b222(0x1de)](_0x3aeb8a))this[_0x31b222(0x1ee)][_0x31b222(0xd8)](_0x597b62,_0x602961);this[_0x31b222(0x1ee)][_0x31b222(0x278)]({'width':this[_0x31b222(0x18b)],'height':this[_0x31b222(0x234)]}),(_0x3b6103=this[_0x31b222(0x1e7)](_0x1bc638))==null||_0x3b6103[_0x31b222(0x381)](!0x0),this[_0x31b222(0x299)]=this[_0x31b222(0x3d3)](_0x1b0f8d[_0x31b222(0x26a)],_0x1b0f8d[_0x31b222(0x1c9)],_0x1b0f8d['drawingId']),this[_0x31b222(0x32b)](),_0x4f7e82[_0x31b222(0x324)]();}}),this[_0x45045a(0xe1)]=_0x1bc638[_0x45045a(0x236)]['subscribeEvent']((_0x437ad1,_0x32d82c)=>{const _0x5ed623=_0x45045a;var _0x1386c2,_0x2cffe6;(_0x1386c2=this[_0x5ed623(0x2b3)])==null||_0x1386c2[_0x5ed623(0x2ab)](),(_0x2cffe6=this[_0x5ed623(0xe1)])==null||_0x2cffe6[_0x5ed623(0x2ab)](),_0x1bc638[_0x5ed623(0x398)]();let _0xf558fd=this[_0x5ed623(0x264)];if(_0xf558fd&&this['_activeShapeModel']){let _0x19af42={};for(let _0x4a5427 of Object[_0x5ed623(0x310)](_0xf558fd[_0x5ed623(0x105)])){let _0x4f68e8=this[_0x5ed623(0x1ee)][_0x5ed623(0x158)](_0x4a5427);_0x4f68e8!==void 0x0&&(_0x19af42[_0x4a5427]=_0x4f68e8);}Object['keys'](_0x19af42)[_0x5ed623(0x38c)]>0x0&&_0x4eb952(this[_0x5ed623(0x34f)],_0x1b0f8d[_0x5ed623(0x26a)],_0x1b0f8d['subUnitId'],_0x1b0f8d[_0x5ed623(0x17e)],{'oldShapeData':{'adjustValues':_0x2aaec1}},{'adjustValues':_0x19af42});}this['_activeAdjustInfo']=void 0x0,this[_0x5ed623(0x1ee)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x1bc638[_0x5ed623(0x24d)](),_0x32d82c[_0x5ed623(0x324)]();}),_0x36925f[_0x45045a(0x324)]();})));}['_registerDrawingTransformHandler'](){const _0x4629c5=_0x4b60ce;let {scene:_0x5174fd}=this['_context'],_0x3c5721=_0x5174fd[_0x4629c5(0x280)]();this[_0x4629c5(0x10e)](_0x3c5721[_0x4629c5(0x23e)][_0x4629c5(0x3b5)](_0x21cbb4=>{const _0x37e98b=_0x4629c5;this['_createShapeAdjustControls'](),_0x21cbb4[_0x37e98b(0x351)]!==null&&_0x21cbb4[_0x37e98b(0x351)][_0x37e98b(0x343)]===0x1&&_0x21cbb4[_0x37e98b(0x351)][_0x37e98b(0x172)]()[_0x37e98b(0xed)]()[_0x37e98b(0x250)]instanceof _0x316963&&(this[_0x37e98b(0x19c)]=!0x0);})),this['disposeWithMe'](_0x3c5721[_0x4629c5(0x139)][_0x4629c5(0x3b5)](()=>{const _0x12bcf6=_0x4629c5;this[_0x12bcf6(0x19c)]&&this['_clearShapeAdjustControls']();})),this[_0x4629c5(0x10e)](_0x5174fd[_0x4629c5(0x236)][_0x4629c5(0x291)](()=>{const _0x32b2bd=_0x4629c5;this[_0x32b2bd(0x19c)]&&(this[_0x32b2bd(0x19c)]=!0x1,this[_0x32b2bd(0x21f)]());})),this[_0x4629c5(0x10e)](_0x3c5721['changeEnd$'][_0x4629c5(0x3b5)](()=>{const _0x1b10c7=_0x4629c5;this[_0x1b10c7(0x244)]&&this[_0x1b10c7(0x17f)]&&this[_0x1b10c7(0xaa)]&&(this[_0x1b10c7(0x299)]=this[_0x1b10c7(0x3d3)](this[_0x1b10c7(0x244)],this[_0x1b10c7(0x17f)],this[_0x1b10c7(0xaa)]),this[_0x1b10c7(0x32b)]());}));}[_0x4b60ce(0xec)](){const _0x2ea15d=_0x4b60ce;this['disposeWithMe'](this[_0x2ea15d(0x34f)][_0x2ea15d(0x32a)](_0xd04747=>{const _0x5da21c=_0x2ea15d;if(_0xd04747['id']!==_0x473572[_0x5da21c(0x3ad)]['id'])return;let {unitId:_0x4ac54b,shapeId:_0x2b3082}=_0xd04747[_0x5da21c(0x194)];_0x4ac54b===this[_0x5da21c(0x244)]&&_0x2b3082===this['_activeShapeId']&&this[_0x5da21c(0xaf)]();})),this[_0x2ea15d(0x10e)](this[_0x2ea15d(0x298)][_0x2ea15d(0x36b)][_0x2ea15d(0x3b5)](_0x54ec48=>{const _0x290d74=_0x2ea15d;if(_0x54ec48[_0x290d74(0x38c)]===0x1){let _0x34c538=_0x54ec48[0x0],_0x3589c3=this['_drawingManagerService']['getDrawingByParam'](_0x34c538);if((_0x3589c3==null?void 0x0:_0x3589c3[_0x290d74(0x205)])===_0x3f9984[_0x290d74(0xdb)][_0x290d74(0xd5)]){this[_0x290d74(0xaa)]=_0x34c538[_0x290d74(0x17e)],this[_0x290d74(0x244)]=_0x34c538[_0x290d74(0x26a)],this[_0x290d74(0x17f)]=_0x34c538[_0x290d74(0x1c9)],this[_0x290d74(0x299)]=this['_getShapeAdjustPointListById'](_0x34c538['unitId'],_0x34c538[_0x290d74(0x1c9)],_0x34c538[_0x290d74(0x17e)]),this[_0x290d74(0x1df)](),this['_createShapeAdjustControls']();return;}}this[_0x290d74(0xaa)]=null,this[_0x290d74(0x299)]=void 0x0,this[_0x290d74(0x244)]=null,this[_0x290d74(0x17f)]=null,this[_0x290d74(0x1df)]();})),this[_0x2ea15d(0x10e)]((0x0,_0x880890[_0x2ea15d(0x25c)])(this[_0x2ea15d(0x298)][_0x2ea15d(0x12e)],this[_0x2ea15d(0x298)][_0x2ea15d(0x229)])[_0x2ea15d(0x3b5)](_0x4517c3=>{const _0xc9a436=_0x2ea15d;var _0x1e683c;let _0x297d54=_0x4517c3[_0xc9a436(0x33d)](_0x2c4a13=>_0x2c4a13[_0xc9a436(0x17e)]===this[_0xc9a436(0xaa)]&&_0x2c4a13['unitId']===this[_0xc9a436(0x244)]&&_0x2c4a13[_0xc9a436(0x1c9)]===this['_subUnitId']);_0x297d54&&((_0x1e683c=this[_0xc9a436(0x298)][_0xc9a436(0x2ed)](_0x297d54))==null?void 0x0:_0x1e683c[_0xc9a436(0x205)])===_0x3f9984['DrawingTypeEnum'][_0xc9a436(0xd5)]&&this['_updateShapeAdjustControls'](!0x0);})),this[_0x2ea15d(0x10e)](this['_drawingManagerService'][_0x2ea15d(0x11d)][_0x2ea15d(0x3b5)](_0x143250=>{const _0x16d234=_0x2ea15d;for(let _0x140183 of _0x143250)this[_0x16d234(0xaa)]===_0x140183[_0x16d234(0x17e)]&&(this[_0x16d234(0xaa)]=null,this[_0x16d234(0x299)]=void 0x0,this[_0x16d234(0x244)]=null,this[_0x16d234(0x17f)]=null,this[_0x16d234(0x1df)]());}));}};_0x18d16f=_0x5adf5c([_0x18855d(0x1,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x2,(0x0,_0x3f9984['Inject'])(_0x473572[_0x4b60ce(0x3b4)])),_0x18855d(0x3,_0x3f9984[_0x4b60ce(0x36a)])],_0x18d16f);function _0x568cd7(_0x576928){const _0x21894d=_0x4b60ce;return _0x576928[_0x21894d(0x315)]===!0x0||_0x576928[_0x21894d(0x315)]===_0x3f9984['BooleanNumber'][_0x21894d(0x3c1)]||_0x576928['layoutType']===_0x3f9984[_0x21894d(0x2a7)][_0x21894d(0x17d)]&&_0x576928[_0x21894d(0x1bd)]===_0x3f9984[_0x21894d(0x1d2)][_0x21894d(0x3c1)]?_0x4e182a['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x1c0cd0['DRAWING_OBJECT_LAYER_INDEX'];}let _0x2cf1ea=class extends _0x3f9984['Disposable']{constructor(_0x53812f,_0x58e8dc,_0x23d6a8,_0x3553b9,_0x50a167,_0x361d09,_0x83026a){const _0x46c3ef=_0x4b60ce;super(),this[_0x46c3ef(0x298)]=_0x53812f,this[_0x46c3ef(0x2ff)]=_0x58e8dc,this[_0x46c3ef(0x16e)]=_0x23d6a8,this['_imageIoService']=_0x3553b9,this[_0x46c3ef(0x373)]=_0x50a167,this[_0x46c3ef(0x21a)]=_0x361d09,this[_0x46c3ef(0x112)]=_0x83026a,_0xea73af(this,'_formulaShapes',new Map()),this[_0x46c3ef(0x10e)](this[_0x46c3ef(0x112)]['presentationChanged$']['subscribe'](_0x4252ef=>{const _0x27df8c=_0x46c3ef;var _0x48e0a0;(_0x48e0a0=this[_0x27df8c(0x141)][_0x27df8c(0x2bf)](this['_formulaKey'](_0x4252ef['unitId'],_0x4252ef[_0x27df8c(0x1c9)],_0x4252ef['shapeId'])))==null||_0x48e0a0[_0x27df8c(0x125)](_0x2cc388=>_0x2cc388[_0x27df8c(0x115)](_0x4252ef[_0x27df8c(0x35f)],_0x4252ef[_0x27df8c(0x118)]));})),this[_0x46c3ef(0x10e)](this[_0x46c3ef(0x298)]['remove$'][_0x46c3ef(0x3b5)](_0x5be096=>{const _0x59f9b8=_0x46c3ef;_0x5be096[_0x59f9b8(0x125)](_0x56e605=>{const _0x2b514c=_0x59f9b8;this['_shapeFormulaService'][_0x2b514c(0x3b0)]({'unitId':_0x56e605['unitId'],'subUnitId':_0x56e605[_0x2b514c(0x1c9)],'shapeId':_0x56e605[_0x2b514c(0x17e)]}),this[_0x2b514c(0x141)][_0x2b514c(0xff)](this[_0x2b514c(0x213)](_0x56e605['unitId'],_0x56e605[_0x2b514c(0x1c9)],_0x56e605[_0x2b514c(0x17e)]));});}));}[_0x4b60ce(0x363)](_0xaf5dae,_0x3bea81){const _0x21dbb4=_0x4b60ce;let {transform:_0xb6f94b,drawingType:_0x56a02f,srcRect:_0x4614c4,prstGeom:_0x468cb7,groupId:_0x4f6ccc,unitId:_0x1aac31,subUnitId:_0x12c6f5,drawingId:_0x56a26b,isMultiTransform:_0x57b3d9,transforms:_0x9871ab,hidden:_0x32cda5,selectable:_0x50c9c8}=_0xaf5dae;if(_0x56a02f!==_0x3f9984[_0x21dbb4(0xdb)][_0x21dbb4(0xd5)]||!this['_drawingManagerService'][_0x21dbb4(0x25e)]()||_0xb6f94b==null)return;let _0x173413=this['_drawingManagerService'][_0x21dbb4(0x1e6)](),_0x5a4a09=_0x57b3d9&&_0x9871ab?_0x9871ab:[_0xb6f94b],_0x2bd497=[];for(let _0x46f37f of _0x5a4a09){let {left:_0x12f034,top:_0x528ebf,width:_0x273721,height:_0x649a8c,angle:_0x4dfbda,flipX:_0x437e19,flipY:_0x2d1a22,skewX:_0xfadcca,skewY:_0x5efc66}=_0x46f37f,_0x5d1678=_0x5a4a09[_0x21dbb4(0x147)](_0x46f37f),_0x1e109b=(0x0,_0x4e3223['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x1aac31,'subUnitId':_0x12c6f5,'drawingId':_0x56a26b},_0x57b3d9?_0x5d1678:void 0x0),_0x3a4986=_0x3bea81[_0x21dbb4(0xc9)](_0x1e109b);if(_0x3a4986!=null){let _0x35cd8f={'unitId':_0x1aac31,'subUnitId':_0x12c6f5,'shapeId':_0x56a26b};_0x3a4986 instanceof _0x316963&&this[_0x21dbb4(0x116)](_0x3a4986,_0x35cd8f),_0x3a4986['transformByState']({'left':_0x12f034,'top':_0x528ebf,'width':_0x273721,'height':_0x649a8c,'angle':_0x4dfbda,'flipX':_0x437e19,'flipY':_0x2d1a22,'skewX':_0xfadcca,'skewY':_0x5efc66});continue;}let _0xb76ae2=this[_0x21dbb4(0x298)]['getDrawingOrder'](_0x1aac31,_0x12c6f5),_0x4d6bee=_0xb76ae2['indexOf'](_0x56a26b);if(_0x3bea81[_0x21dbb4(0xc9)](_0x1e109b)||!this[_0x21dbb4(0x298)][_0x21dbb4(0x25e)]())continue;let _0x2d83b=this[_0x21dbb4(0x2ff)][_0x21dbb4(0x2b8)](_0x1aac31,_0x12c6f5,_0x56a26b);if(!_0x2d83b)continue;let _0x44cd88=(0x0,_0x1f7081[_0x21dbb4(0x241)])(_0x2d83b[_0x21dbb4(0x297)]())?{..._0x3be0ca['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3be0ca[_0x21dbb4(0x185)],_0x31f26a=_0x2d83b[_0x21dbb4(0x1ad)]()['formulaBinding'],_0x5d3a31={'unitId':_0x1aac31,'subUnitId':_0x12c6f5,'shapeId':_0x56a26b};_0x31f26a&&this[_0x21dbb4(0x112)][_0x21dbb4(0x145)](_0x5d3a31,_0x31f26a);let _0x4df0c5=new _0x316963(_0x1e109b,{..._0x46f37f,'zIndex':_0x4d6bee===-0x1?_0xb76ae2[_0x21dbb4(0x38c)]-0x1:_0x4d6bee,'shapeModel':_0x2d83b,'localeService':this[_0x21dbb4(0x16e)],'shapeId':_0x56a26b,'unitId':_0x1aac31,'subUnitId':_0x12c6f5,'visible':_0x32cda5!==!0x0,'evented':_0x50c9c8!==!0x1,'formulaPresentation':_0x31f26a?this[_0x21dbb4(0x112)][_0x21dbb4(0x285)](_0x5d3a31):void 0x0,'animateFormulaPresentation':(_0x31f26a==null?void 0x0:_0x31f26a[_0x21dbb4(0x118)])!==!0x1,'transformerConfig':_0x44cd88});if(_0x31f26a){let _0x5a15c2=this[_0x21dbb4(0x213)](_0x1aac31,_0x12c6f5,_0x56a26b),_0xda1b91=this[_0x21dbb4(0x141)][_0x21dbb4(0x2bf)](_0x5a15c2)??new Set();_0xda1b91[_0x21dbb4(0x2f5)](_0x4df0c5),this[_0x21dbb4(0x141)][_0x21dbb4(0x374)](_0x5a15c2,_0xda1b91);}this[_0x21dbb4(0x10e)]((0x0,_0x3f9984[_0x21dbb4(0x233)])(_0x4df0c5['onDblclick$']['subscribeEvent']((_0x354c87,_0x466249)=>{const _0x4081dc=_0x21dbb4;_0x2d83b[_0x4081dc(0x1a4)]()||_0x31f26a||(this['_shapeTextEditingService'][_0x4081dc(0xc2)]({'visible':!0x0,'unitId':_0x1aac31,'subUnitId':_0x12c6f5,'shapeId':_0x56a26b,'shapeKey':_0x4df0c5['oKey']}),_0x466249[_0x4081dc(0x324)]());}))),_0x3bea81['addObject'](_0x4df0c5,_0x568cd7(_0xaf5dae)),_0x173413&&_0x3bea81[_0x21dbb4(0x38b)](_0x4df0c5),_0x4f6ccc&&(0x0,_0x1873b9[_0x21dbb4(0x3a3)])({'drawingId':_0x4f6ccc,'unitId':_0x1aac31,'subUnitId':_0x12c6f5},_0x4df0c5,_0x3bea81,this[_0x21dbb4(0x298)]),_0x468cb7!=null&&_0x4df0c5[_0x21dbb4(0x3a5)](_0x468cb7),_0x4614c4!=null&&_0x4df0c5[_0x21dbb4(0x133)](_0x4614c4),this[_0x21dbb4(0x146)](_0x4df0c5,_0x2d83b[_0x21dbb4(0x1ad)]()),_0x2bd497[_0x21dbb4(0x246)](_0x4df0c5);}return _0x2bd497;}[_0x4b60ce(0x213)](_0x40ffa4,_0x5b998e,_0x5751f3){return _0x40ffa4+'\x00'+_0x5b998e+'\x00'+_0x5751f3;}[_0x4b60ce(0x116)](_0x53a35a,_0x31640e){const _0x4c05f5=_0x4b60ce;let _0x2a4f93=this['_docsShapeService'][_0x4c05f5(0x2b8)](_0x31640e[_0x4c05f5(0x26a)],_0x31640e[_0x4c05f5(0x1c9)],_0x31640e[_0x4c05f5(0x3bb)]),_0x15c5f7=_0x2a4f93==null?void 0x0:_0x2a4f93['getShapeData']()['formulaBinding'],_0x4424a5=this[_0x4c05f5(0x213)](_0x31640e[_0x4c05f5(0x26a)],_0x31640e[_0x4c05f5(0x1c9)],_0x31640e[_0x4c05f5(0x3bb)]);if(_0x15c5f7){this[_0x4c05f5(0x112)][_0x4c05f5(0x145)](_0x31640e,_0x15c5f7);let _0x57dc29=this['_formulaShapes'][_0x4c05f5(0x2bf)](_0x4424a5)??new Set();_0x57dc29[_0x4c05f5(0x2f5)](_0x53a35a),this[_0x4c05f5(0x141)][_0x4c05f5(0x374)](_0x4424a5,_0x57dc29);}else{var _0x339424;this[_0x4c05f5(0x112)][_0x4c05f5(0x3b0)](_0x31640e),(_0x339424=this['_formulaShapes'][_0x4c05f5(0x2bf)](_0x4424a5))==null||_0x339424[_0x4c05f5(0xff)](_0x53a35a);}_0x53a35a[_0x4c05f5(0x115)](_0x15c5f7?this[_0x4c05f5(0x112)][_0x4c05f5(0x285)](_0x31640e):void 0x0,(_0x15c5f7==null?void 0x0:_0x15c5f7[_0x4c05f5(0x118)])!==!0x1);}[_0x4b60ce(0x199)](_0x1291a2){const _0x456e58=_0x4b60ce;let _0x1c7c90=_0x1291a2[_0x456e58(0x173)][_0x456e58(0x1ad)](),_0x206a8e=_0x1c7c90['fill'];if(!_0x206a8e||_0x206a8e[_0x456e58(0x252)]!==_0x1f7081[_0x456e58(0x2b5)][_0x456e58(0x2bb)]||!_0x206a8e[_0x456e58(0x131)]){_0x1291a2[_0x456e58(0x156)](void 0x0);return;}this[_0x456e58(0x146)](_0x1291a2,_0x1c7c90);}[_0x4b60ce(0x146)](_0x9b751b,_0x3fa6a5){const _0x1edfd0=_0x4b60ce;let _0x2bda70=_0x3fa6a5[_0x1edfd0(0x164)];if(!_0x2bda70||_0x2bda70['fillType']!==_0x1f7081[_0x1edfd0(0x2b5)][_0x1edfd0(0x2bb)]||!_0x2bda70[_0x1edfd0(0x131)])return;let _0x241014=_0x2bda70[_0x1edfd0(0x131)],_0x39e9f4=_0x2bda70[_0x1edfd0(0x2c6)]??_0x1f7081[_0x1edfd0(0x2c9)][_0x1edfd0(0x2b7)],_0x53c05a=this[_0x1edfd0(0x2bc)][_0x1edfd0(0x1f8)](_0x241014,_0x39e9f4);if(_0x53c05a){_0x9b751b[_0x1edfd0(0x156)](_0x53c05a);return;}this['_loadAndSetImage'](_0x9b751b,_0x241014,_0x39e9f4);}async['_loadAndSetImage'](_0x55d694,_0x48bd0d,_0x36149d){const _0x302a21=_0x4b60ce;let _0x34684f;try{if(_0x36149d===_0x1f7081[_0x302a21(0x2c9)]['UUID'])_0x34684f=await this[_0x302a21(0x2bc)]['getImage'](_0x48bd0d);else{if(_0x36149d===_0x1f7081[_0x302a21(0x2c9)][_0x302a21(0x2b7)])try{_0x34684f=await this['_urlImageService']['getImage'](_0x48bd0d);}catch{_0x34684f=_0x48bd0d;}else _0x34684f=_0x48bd0d;}}catch(_0x42fe24){console['error'](_0x302a21(0x144),_0x42fe24);return;}let _0x6dd064=new window['Image']();_0x6dd064[_0x302a21(0x2d6)]=()=>{const _0x1ac469=_0x302a21;this[_0x1ac469(0x2bc)][_0x1ac469(0x2df)](_0x48bd0d,_0x36149d,_0x6dd064),_0x55d694[_0x1ac469(0x156)](_0x6dd064);},_0x6dd064[_0x302a21(0x1c6)]=()=>{const _0x353875=_0x302a21;console[_0x353875(0x26d)](_0x353875(0x31f),_0x48bd0d);},_0x6dd064['src']=_0x34684f;}};_0x2cf1ea=_0x5adf5c([_0x18855d(0x0,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x473572[_0x4b60ce(0x3b4)])),_0x18855d(0x2,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x3f9984[_0x4b60ce(0xad)])),_0x18855d(0x3,_0x3f9984[_0x4b60ce(0x12b)]),_0x18855d(0x4,_0x3f9984[_0x4b60ce(0x2ec)]),_0x18855d(0x5,(0x0,_0x3f9984['Inject'])(_0xaea944)),_0x18855d(0x6,(0x0,_0x3f9984['Inject'])(_0x184ef2[_0x4b60ce(0xc6)]))],_0x2cf1ea);let _0x430be1=class extends _0x3f9984[_0x4b60ce(0x2ac)]{constructor(_0x1dcd54,_0xb27af9,_0x47bb45){const _0x2b5c5f=_0x4b60ce;super(),this[_0x2b5c5f(0x3bf)]=_0x1dcd54,this[_0x2b5c5f(0x298)]=_0xb27af9,this[_0x2b5c5f(0x160)]=_0x47bb45,this[_0x2b5c5f(0x319)]();}[_0x4b60ce(0x319)](){const _0x130c83=_0x4b60ce;this[_0x130c83(0x10e)](this[_0x130c83(0x3bf)][_0x130c83(0x16f)][_0x130c83(0xcc)](this[_0x130c83(0x3bf)][_0x130c83(0x16f)]['getInterceptPoints']()[_0x130c83(0x17c)],{'handler':(_0x26f41c,_0x37d1de,_0x131cd3)=>{const _0x2ea598=_0x130c83;var _0x39426d;let {unitId:_0x34d630,scene:_0x321338,skeleton:_0x1fec4d}=_0x37d1de,{pageIndex:_0x29e75f}=_0x37d1de,_0x4d8ffb=(_0x39426d=this['_drawingManagerService'][_0x2ea598(0x1d7)](_0x34d630))==null?void 0x0:_0x39426d[_0x34d630],_0x3b42c7=_0x28861b(this[_0x2ea598(0x3bf)],_0x1fec4d,_0x29e75f);return _0x4d8ffb==null||_0x4d8ffb['order'][_0x2ea598(0x125)](_0x1c6b86=>{const _0x5d4283=_0x2ea598;if(_0x3b42c7&&!_0x3b42c7[_0x5d4283(0x2d9)](_0x1c6b86))return;let _0x129049=_0x4d8ffb[_0x5d4283(0x2dc)][_0x1c6b86];_0x129049[_0x5d4283(0x205)]===_0x3f9984[_0x5d4283(0xdb)][_0x5d4283(0xd5)]&&!_0x129049[_0x5d4283(0x335)]&&this['_shapeRenderController'][_0x5d4283(0x363)](_0x129049,_0x321338);}),_0x131cd3(_0x26f41c);}}));}};_0x430be1=_0x5adf5c([_0x18855d(0x0,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e182a[_0x4b60ce(0x29f)])),_0x18855d(0x1,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x2,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x2cf1ea))],_0x430be1);function _0x28861b(_0x11b84b,_0x32e2d5,_0xb5a9e6){const _0x590e04=_0x4b60ce;var _0x456de4,_0x5ad525;let _0x12187d=_0x11b84b;if(_0x12187d[_0x590e04(0x1a9)])return _0x12187d[_0x590e04(0x1a9)](_0x32e2d5,_0xb5a9e6);let _0x304840=_0x32e2d5[_0x590e04(0x316)]();if(!_0x304840||_0x304840[_0x590e04(0x301)][_0x590e04(0x38c)]<=0x1||_0xb5a9e6==null)return null;let _0x70c28f=new Set(),_0x2c74ee=_0x304840[_0x590e04(0x301)][_0xb5a9e6];if(!_0x2c74ee)return _0x70c28f;_0xe7b671(_0x2c74ee,_0x70c28f);let _0x161699=(_0x456de4=_0x304840[_0x590e04(0x1a5)][_0x590e04(0x2bf)](_0x2c74ee[_0x590e04(0x200)]))==null?void 0x0:_0x456de4[_0x590e04(0x2bf)](_0x2c74ee[_0x590e04(0xa1)]),_0x17470b=(_0x5ad525=_0x304840[_0x590e04(0x1dc)][_0x590e04(0x2bf)](_0x2c74ee['footerId']))==null?void 0x0:_0x5ad525['get'](_0x2c74ee[_0x590e04(0xa1)]);return _0x161699&&_0xe7b671(_0x161699,_0x70c28f),_0x17470b&&_0xe7b671(_0x17470b,_0x70c28f),_0x70c28f;}function _0xe7b671(_0x4a9887,_0x27485f){const _0x537604=_0x4b60ce;for(let _0x579fa7 of _0x4a9887[_0x537604(0x13c)][_0x537604(0x310)]())_0x27485f[_0x537604(0x2f5)](_0x579fa7);for(let _0x4a659f of _0x4a9887[_0x537604(0x22a)][_0x537604(0x172)]())for(let _0x25a989 of _0x4a659f[_0x537604(0x201)])for(let _0x225dbe of _0x25a989[_0x537604(0x22f)])_0xe7b671(_0x225dbe,_0x27485f);}let _0xec7900=_0x4b60ce(0x2d4),_0x4f2a37=class extends _0x3f9984[_0x4b60ce(0x2ac)]{constructor(_0x3ce80f,_0x125529,_0x3ad597,_0x4087be,_0x2643bd,_0x7b7d6d){const _0x6b883e=_0x4b60ce;super(),this[_0x6b883e(0x150)]=_0x3ce80f,this[_0x6b883e(0x385)]=_0x125529,this['_drawingManagerService']=_0x3ad597,this[_0x6b883e(0x113)]=_0x4087be,this[_0x6b883e(0x11c)]=_0x2643bd,this[_0x6b883e(0xf6)]=_0x7b7d6d,_0xea73af(this,_0x6b883e(0x3cc),!0x1),this['_menuManagerService']['mergeMenu'](_0x38ce24),this[_0x6b883e(0x10e)]((0x0,_0x3f9984[_0x6b883e(0x233)])(this['_drawingManagerService'][_0x6b883e(0x36b)][_0x6b883e(0x3b5)](()=>this[_0x6b883e(0x380)]()))),this['_update']();}['dispose'](){const _0x438445=_0x4b60ce;this[_0x438445(0xf6)][_0x438445(0x369)](!0x1,_0xec7900),this[_0x438445(0xf9)](),super['dispose']();}[_0x4b60ce(0x380)](){const _0x256518=_0x4b60ce;var _0xefdce5;let _0x101424=this[_0x256518(0x298)][_0x256518(0x2b0)](),_0x69669b=_0x101424[_0x256518(0x38c)]===0x1?_0x101424[0x0]:void 0x0;if((_0x69669b==null?void 0x0:_0x69669b[_0x256518(0x205)])!==_0x3f9984[_0x256518(0xdb)][_0x256518(0xd5)]||this['_univerInstanceService']['getUnitType'](_0x69669b['unitId'])!==_0x3f9984['UniverInstanceType'][_0x256518(0x2ad)]){this[_0x256518(0xf6)][_0x256518(0x369)](!0x1,_0xec7900),this[_0x256518(0xf9)]();return;}let _0x3cc80c=(0x0,_0x3be0ca[_0x256518(0x187)])((_0xefdce5=this[_0x256518(0x11c)][_0x256518(0x338)](_0x69669b[_0x256518(0x26a)]))==null?void 0x0:_0xefdce5['engine']['getCanvasElement']())===_0x256518(0x189);if(this[_0x256518(0xf6)]['setFallbackVisible'](_0x3cc80c,_0xec7900),_0x3cc80c){this[_0x256518(0xf9)]();return;}this[_0x256518(0x3cc)]||(this[_0x256518(0x3cc)]=!0x0,this[_0x256518(0x385)]['showContextualTab'](_0x72e69e,{'activate':!0x0}));}['_hide'](){const _0xd82f3d=_0x4b60ce;this[_0xd82f3d(0x3cc)]&&(this[_0xd82f3d(0x3cc)]=!0x1,this[_0xd82f3d(0x385)][_0xd82f3d(0x331)](_0x72e69e),this[_0xd82f3d(0x385)]['setCollapsedIds']([]));}};_0x4f2a37=_0x5adf5c([_0x18855d(0x0,_0x40eeff[_0x4b60ce(0xc1)]),_0x18855d(0x1,_0x40eeff['IRibbonService']),_0x18855d(0x2,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x3,_0x3f9984['IUniverInstanceService']),_0x18855d(0x4,_0x1c0cd0[_0x4b60ce(0x361)]),_0x18855d(0x5,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x3be0ca[_0x4b60ce(0x2c4)]))],_0x4f2a37);function _0x40b544(_0x1edcea,_0x6e0667){const _0x19d025=_0x4b60ce;let _0x19ec61=_0x1edcea;for(;_0x19ec61;){if(_0x6e0667(_0x19ec61))return _0x19ec61;_0x19ec61=typeof _0x19ec61[_0x19d025(0x348)]==_0x19d025(0x2ea)?_0x19ec61['getParent']():null;}return null;}function _0x51b60a(_0x1f728c){return _0x40b544(_0x1f728c,_0x433f89=>_0x433f89 instanceof _0x316963);}function _0x473c5d(_0x1e613b){const _0xed03cb=_0x4b60ce;return(_0x1e613b==null?void 0x0:_0x1e613b[_0xed03cb(0x226)])==null;}let _0x3ca077=class extends _0x3f9984['Disposable']{constructor(_0x39200e,_0x57bceb,_0x43a20b,_0x57d2a9,_0x54e52c,_0x357f63){const _0x4c0f7c=_0x4b60ce;super(),this[_0x4c0f7c(0x15d)]=_0x39200e,this['_shapeTextEditingService']=_0x57bceb,this[_0x4c0f7c(0x298)]=_0x43a20b,this[_0x4c0f7c(0x18f)]=_0x57d2a9,this[_0x4c0f7c(0x3cd)]=_0x54e52c,this[_0x4c0f7c(0x2ff)]=_0x357f63,_0xea73af(this,_0x4c0f7c(0x275),null),_0xea73af(this,_0x4c0f7c(0x256),null),this[_0x4c0f7c(0x142)](),this[_0x4c0f7c(0x3b8)](),this['_initEditingParams']();}[_0x4b60ce(0x384)](){const _0x1ab98b=_0x4b60ce;this[_0x1ab98b(0x284)](),super[_0x1ab98b(0x384)]();}[_0x4b60ce(0x142)](){const _0x34fb64=_0x4b60ce;let {scene:_0x161381}=this[_0x34fb64(0x15d)];this[_0x34fb64(0x10e)](_0x161381['onDblclick$']['subscribeEvent']((_0x32a68f,_0x1a728d)=>{const _0x537031=_0x34fb64;let {offsetX:_0x1e9127,offsetY:_0x9b252b}=_0x32a68f,_0x5071c7=_0x1c0cd0[_0x537031(0x3b1)][_0x537031(0x339)]([_0x1e9127,_0x9b252b]),_0x225dd4=_0x51b60a(_0x161381['pick'](_0x5071c7))??this[_0x537031(0x35d)](_0x5071c7);if(_0x225dd4){_0x1a728d[_0x537031(0x324)]();let _0xd27a16=this[_0x537031(0x2ff)]['getShapeModel'](_0x225dd4['unitId'],_0x225dd4[_0x537031(0x1c9)],_0x225dd4[_0x537031(0x3bb)]);if(!_0xd27a16||(0x0,_0x1f7081['isConnectorShape'])(_0xd27a16['getShapeType']())||!_0x473c5d(_0xd27a16[_0x537031(0x1ad)]()))return;this[_0x537031(0x21a)][_0x537031(0xc2)]({'visible':!0x0,'unitId':_0x225dd4[_0x537031(0x26a)],'subUnitId':_0x225dd4[_0x537031(0x1c9)],'shapeId':_0x225dd4[_0x537031(0x3bb)],'shapeKey':_0x225dd4[_0x537031(0x243)]});}}));}[_0x4b60ce(0x35d)](_0x5ad6f3){const _0x33fe6d=_0x4b60ce;let {scene:_0x47c655}=this[_0x33fe6d(0x15d)];return this['_drawingManagerService'][_0x33fe6d(0x2b0)]()[_0x33fe6d(0x300)](_0x303e21=>_0x47c655[_0x33fe6d(0xc9)]((0x0,_0x4e3223[_0x33fe6d(0x379)])(_0x303e21)))[_0x33fe6d(0x33d)](_0x468bac=>_0x468bac instanceof _0x316963&&_0x468bac[_0x33fe6d(0xd0)](_0x5ad6f3))??null;}[_0x4b60ce(0x3b8)](){const _0x381106=_0x4b60ce;this[_0x381106(0x10e)](this[_0x381106(0x298)][_0x381106(0x36b)][_0x381106(0x3b5)](_0x4465fd=>{const _0x254054=_0x381106;if(_0x4465fd[_0x254054(0x38c)]===0x1){let _0x1c0026=_0x4465fd[0x0],_0x111eea=this[_0x254054(0x298)]['getDrawingByParam'](_0x1c0026);if((_0x111eea==null?void 0x0:_0x111eea['drawingType'])===_0x3f9984['DrawingTypeEnum'][_0x254054(0xd5)]){let _0xcb7cdb=this[_0x254054(0x21a)]['getEditing']();if((_0xcb7cdb==null?void 0x0:_0xcb7cdb[_0x254054(0x3bb)])===_0x1c0026['drawingId']&&_0xcb7cdb[_0x254054(0x1c7)])return;(0x0,_0x1f7081[_0x254054(0x241)])(this[_0x254054(0x2ff)]['getShapeType'](_0x1c0026[_0x254054(0x26a)],_0x1c0026[_0x254054(0x1c9)],_0x1c0026['drawingId']))&&this['_shapeTextEditingService']['setEditing'](null);}else this['_shapeTextEditingService']['completeEditing']();}else this[_0x254054(0x21a)]['completeEditing']();})),this['disposeWithMe'](this[_0x381106(0x298)][_0x381106(0x11d)]['subscribe'](_0x40446b=>{const _0x57d287=_0x381106;let _0x2e79c2=this[_0x57d287(0x21a)][_0x57d287(0x190)]();_0x2e79c2&&_0x40446b[_0x57d287(0xa8)](_0x1abd66=>_0x1abd66[_0x57d287(0x17e)]===_0x2e79c2[_0x57d287(0x3bb)])&&this[_0x57d287(0x21a)]['setEditing'](null);}));}[_0x4b60ce(0xee)](){const _0x5367b1=_0x4b60ce;this[_0x5367b1(0x10e)](this[_0x5367b1(0x21a)]['editingParams$'][_0x5367b1(0x3b5)](_0x2ca141=>{const _0xe76f74=_0x5367b1;(_0x2ca141==null?void 0x0:_0x2ca141['visible'])===!0x0&&_0x2ca141[_0xe76f74(0x26a)]===this[_0xe76f74(0x15d)][_0xe76f74(0x26a)]?this['_layoutInteraction']??=this[_0xe76f74(0x3cd)][_0xe76f74(0x16d)]():this[_0xe76f74(0x284)]();let {scene:_0x1c1ae4}=this['_context'];if(this[_0xe76f74(0x275)]){let _0x424d16=_0x1c1ae4[_0xe76f74(0xc9)](this[_0xe76f74(0x275)]);_0x424d16&&_0x424d16[_0xe76f74(0xc2)](!0x1);}if(_0x2ca141){let _0x4954c8=!!_0x2ca141[_0xe76f74(0x1c7)],_0x3ff6bd=_0x1c1ae4[_0xe76f74(0xc9)](_0x2ca141[_0xe76f74(0x22c)]);_0x3ff6bd&&(_0x3ff6bd[_0xe76f74(0xc2)](_0x4954c8),this[_0xe76f74(0x275)]=_0x2ca141[_0xe76f74(0x22c)]),this[_0xe76f74(0x18f)]['setContextValue'](_0x3f9984[_0xe76f74(0x342)],_0x4954c8);}else this[_0xe76f74(0x275)]=null,this[_0xe76f74(0x18f)]['setContextValue'](_0x3f9984[_0xe76f74(0x342)],!0x1);}));}[_0x4b60ce(0x284)](){const _0x302479=_0x4b60ce;var _0x3bbe30;(_0x3bbe30=this[_0x302479(0x256)])==null||_0x3bbe30['dispose'](),this['_layoutInteraction']=null;}};_0x3ca077=_0x5adf5c([_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0xaea944)),_0x18855d(0x2,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x3,_0x3f9984[_0x4b60ce(0x128)]),_0x18855d(0x4,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e182a[_0x4b60ce(0x36e)])),_0x18855d(0x5,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x473572[_0x4b60ce(0x3b4)]))],_0x3ca077);let _0x386b5a=class extends _0x3be0ca[_0x4b60ce(0x253)]{constructor(_0x3482f4,_0x2cd311,_0x202e18,_0x1a25f5,_0x53e446,_0x540b74,_0x213788,_0xa99416,_0x12f155,_0x23f0fc){super(_0x3482f4,_0x2cd311,_0x202e18,_0x1a25f5,_0x53e446,_0x540b74,_0x213788,_0xa99416,_0x12f155,_0x23f0fc,{'componentKey':_0x2bad9d,'editorUnitId':_0x15d7a5});}};_0x386b5a=_0x5adf5c([_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x421e15['DocSelectionManagerService'])),_0x18855d(0x2,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e182a[_0x4b60ce(0x1cb)])),_0x18855d(0x3,(0x0,_0x3f9984['Inject'])(_0x4e182a[_0x4b60ce(0x24f)])),_0x18855d(0x4,_0x3f9984[_0x4b60ce(0x36a)]),_0x18855d(0x5,(0x0,_0x3f9984['Inject'])(_0x4e182a['DocEventManagerService'])),_0x18855d(0x6,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x3be0ca[_0x4b60ce(0x11f)])),_0x18855d(0x7,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x421e15[_0x4b60ce(0x20f)])),_0x18855d(0x8,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e182a['DocRenderController'])),_0x18855d(0x9,(0x0,_0x3f9984['Inject'])(_0xaea944))],_0x386b5a);let _0x5da2c1=class extends _0x3f9984['Disposable']{constructor(_0x5ca361,_0x40d9a9,_0x8373a2,_0x12d36e){const _0x205634=_0x4b60ce;super(),this[_0x205634(0x34f)]=_0x5ca361,this[_0x205634(0x11c)]=_0x40d9a9,this[_0x205634(0x298)]=_0x8373a2,this[_0x205634(0x168)]=_0x12d36e,this['_initialize']();}[_0x4b60ce(0xd7)](){const _0xf08d3d=_0x4b60ce;this[_0xf08d3d(0x10e)](this['_drawingManagerService'][_0xf08d3d(0x31a)][_0xf08d3d(0x3b5)](_0x22a72a=>this['_insertShapes'](_0x22a72a))),this[_0xf08d3d(0x10e)](this['_drawingManagerService'][_0xf08d3d(0x12e)][_0xf08d3d(0x3b5)](_0x2d65dc=>{_0x2d65dc['forEach'](_0x495851=>this['_updateShape'](_0x495851));})),this[_0xf08d3d(0x10e)](this[_0xf08d3d(0x34f)][_0xf08d3d(0x32a)](_0xa5b94d=>{if(_0xa5b94d['id']!==_0x473572['UpdateDocShapeDataMutation']['id'])return;let {unitId:_0x3ad4fa,shapeId:_0x1f5a87}=_0xa5b94d['params'];this['_refreshShapeData']({'unitId':_0x3ad4fa,'subUnitId':_0x3ad4fa,'drawingId':_0x1f5a87});}));}[_0x4b60ce(0x15e)](_0x5d11c9){const _0x176066=_0x4b60ce;_0x5d11c9[_0x176066(0x125)](_0x54dd23=>{const _0x21b5fc=_0x176066;let _0x565262=this[_0x21b5fc(0x167)](_0x54dd23[_0x21b5fc(0x26a)]);if(!_0x565262)return;let _0x2d9390=this['_drawingManagerService'][_0x21b5fc(0x2ed)](_0x54dd23);(_0x2d9390==null?void 0x0:_0x2d9390[_0x21b5fc(0x205)])===_0x3f9984['DrawingTypeEnum'][_0x21b5fc(0xd5)]&&this[_0x21b5fc(0x168)][_0x21b5fc(0x363)](_0x2d9390,_0x565262[_0x21b5fc(0x2f1)]);});}['_updateShape'](_0x5c9248){const _0x747f01=_0x4b60ce;let _0x36e03d=this[_0x747f01(0x298)]['getDrawingByParam'](_0x5c9248);if((_0x36e03d==null?void 0x0:_0x36e03d[_0x747f01(0x205)])!==_0x3f9984[_0x747f01(0xdb)][_0x747f01(0xd5)])return;let _0x2ac954=this['_getSceneByUnitId'](_0x5c9248[_0x747f01(0x26a)]);if(!_0x2ac954||_0x36e03d['transform']==null)return;let _0x2fd909=(0x0,_0x4e3223[_0x747f01(0x379)])(_0x5c9248),_0x38a167=_0x2ac954[_0x747f01(0x2f1)]['getObjectIncludeInGroup'](_0x2fd909);_0x38a167&&(_0x38a167[_0x747f01(0x133)](_0x36e03d['srcRect']),_0x38a167[_0x747f01(0x3a5)](_0x36e03d['prstGeom']),_0x38a167[_0x747f01(0x381)](!0x0));}['_refreshShapeData'](_0x5cf911){const _0x43a9eb=_0x4b60ce;let _0x1ea5fd=this[_0x43a9eb(0x167)](_0x5cf911[_0x43a9eb(0x26a)]);if(!_0x1ea5fd)return;let _0x480623=(0x0,_0x4e3223['getDrawingShapeKeyByDrawingSearch'])(_0x5cf911),_0x4134e2=_0x1ea5fd['scene']['getObjectIncludeInGroup'](_0x480623);_0x4134e2&&(this[_0x43a9eb(0x168)]['refreshShapeFillImage'](_0x4134e2),this[_0x43a9eb(0x168)][_0x43a9eb(0x116)](_0x4134e2,{'unitId':_0x5cf911['unitId'],'subUnitId':_0x5cf911[_0x43a9eb(0x1c9)],'shapeId':_0x5cf911[_0x43a9eb(0x17e)]}),_0x4134e2[_0x43a9eb(0x381)](!0x0));}['_getSceneByUnitId'](_0x53ab31){const _0x33cfe2=_0x4b60ce;if(_0x53ab31==null)return null;let _0x106508=this['_renderManagerService'][_0x33cfe2(0x338)](_0x53ab31),_0x5b9851=_0x106508==null?void 0x0:_0x106508[_0x33cfe2(0x2f1)];return _0x5b9851==null?null:{'scene':_0x5b9851};}};_0x5da2c1=_0x5adf5c([_0x18855d(0x0,_0x3f9984[_0x4b60ce(0x36a)]),_0x18855d(0x1,_0x1c0cd0['IRenderManagerService']),_0x18855d(0x2,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x3,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x2cf1ea))],_0x5da2c1);let _0x4c1de6=class extends _0x3f9984[_0x4b60ce(0x2ac)]{constructor(_0x1493dd,_0xcd316f,_0x2e1997,_0x4f7783,_0x53e154,_0x32aa47,_0x5a7e8d,_0xc367f6,_0x56f399,_0x42acc2,_0x476128,_0x4e0ec6){const _0x4404fc=_0x4b60ce;super(),this[_0x4404fc(0x113)]=_0x1493dd,this[_0x4404fc(0x2e3)]=_0xcd316f,this[_0x4404fc(0x150)]=_0x2e1997,this[_0x4404fc(0x2ff)]=_0x4f7783,this['_localeService']=_0x53e154,this[_0x4404fc(0x34f)]=_0x32aa47,this[_0x4404fc(0x298)]=_0x5a7e8d,this[_0x4404fc(0x28b)]=_0xc367f6,this['_renderManagerService']=_0x56f399,this['_contextService']=_0x42acc2,this['_shapeTextEditingService']=_0x476128,this[_0x4404fc(0x3b3)]=_0x4e0ec6,_0xea73af(this,_0x4404fc(0x29b),null),_0xea73af(this,_0x4404fc(0x37f),null),_0xea73af(this,_0x4404fc(0xf8),!0x1),_0xea73af(this,_0x4404fc(0x2fc),0x0),_0xea73af(this,_0x4404fc(0x136),new Map()),_0xea73af(this,_0x4404fc(0xbc),new Map()),this[_0x4404fc(0x15a)](),this[_0x4404fc(0x10e)](this[_0x4404fc(0x113)]['getCurrentTypeOfUnit$'](_0x3f9984[_0x4404fc(0x353)][_0x4404fc(0x2ad)])[_0x4404fc(0x3b5)](_0x5c3e80=>{const _0x97f41c=_0x4404fc;if(!_0x5c3e80){var _0x48758e;(_0x48758e=this[_0x97f41c(0x29b)])==null||_0x48758e[_0x97f41c(0x384)]();}})),this[_0x4404fc(0x347)](),this[_0x4404fc(0x10e)]((0x0,_0x3be0ca[_0x4404fc(0x18d)])(this[_0x4404fc(0x11c)],_0x3f9984[_0x4404fc(0x353)][_0x4404fc(0x2ad)],_0x44c2d1=>this[_0x4404fc(0x352)](_0x44c2d1))),this[_0x4404fc(0x10e)](this[_0x4404fc(0x21a)]['editingParams$'][_0x4404fc(0x3b5)](_0x3d243d=>{_0x3d243d&&this['_clearPopups'](void 0x0,!0x0);})),this[_0x4404fc(0x10e)](this[_0x4404fc(0x3b3)][_0x4404fc(0x3a0)]['subscribe'](()=>{const _0x379191=_0x4404fc;this[_0x379191(0x298)]['getFocusDrawings']()[_0x379191(0xa8)](_0x60ffb3=>_0x60ffb3[_0x379191(0x205)]===_0x3f9984['DrawingTypeEnum'][_0x379191(0xd5)]&&this[_0x379191(0x113)]['getUnitType'](_0x60ffb3[_0x379191(0x26a)])===_0x3f9984[_0x379191(0x353)][_0x379191(0x2ad)]&&!this['_canEditShape'](_0x60ffb3['unitId'],_0x60ffb3['drawingId']))&&(this[_0x379191(0xb6)](void 0x0,!0x0),this[_0x379191(0x1b4)]());}));}[_0x4b60ce(0x15a)](){const _0x35f46d=_0x4b60ce;this[_0x35f46d(0x150)]['mergeMenu'](_0x303ca5);}[_0x4b60ce(0x2b6)](_0x3dd623,_0x4d9fef,_0x52b0d3,_0x4b5639){const _0x8ad947=_0x4b60ce;return[{'label':_0x8ad947(0x2ba),'index':0x0,'commandId':_0x5d0e5f['id'],'commandParams':{'unitId':_0x3dd623,'subUnitId':_0x4d9fef,'drawingId':_0x52b0d3},'disable':_0x4b5639===_0x3f9984[_0x8ad947(0xdb)]['DRAWING_DOM']},{'label':_0x8ad947(0x2e0),'index':0x1,'commandId':_0x4d54ad['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x3dd623,'drawings':[{'unitId':_0x3dd623,'subUnitId':_0x4d9fef,'drawingId':_0x52b0d3}]},'disable':!0x1},{'label':_0x8ad947(0x255),'index':0x2,'commandId':_0x57aa4f['id'],'commandParams':{'unitId':_0x3dd623,'subUnitId':_0x4d9fef,'drawingId':_0x52b0d3},'disable':!0x1}];}[_0x4b60ce(0x3b6)](_0x5784ce,_0x309365,_0x5dbd76){const _0x22bde3=_0x4b60ce;let _0xd4d706=this[_0x22bde3(0x2ff)][_0x22bde3(0x207)](_0x5784ce,_0x309365,_0x5dbd76),_0x33b337=this['_docsShapeService'][_0x22bde3(0x26b)](_0x5784ce,_0x309365,_0x5dbd76);return _0xd4d706!==void 0x0&&_0x33b337!==void 0x0?{'shapeData':_0x33b337,'shapeId':_0x5dbd76,'shapeType':_0xd4d706,'unitId':_0x5784ce,'subUnitId':_0x309365,'version':this[_0x22bde3(0x2fc)],'disableShapeOption':!0x1}:null;}[_0x4b60ce(0xb6)](_0x2601c1,_0x106ad6=!0x1){const _0x5be3b9=_0x4b60ce;if(_0x2601c1==null){[...this['_disposePopupsByUnit']['keys']()][_0x5be3b9(0x125)](_0x5a3925=>this[_0x5be3b9(0xb6)](_0x5a3925,_0x106ad6));return;}let _0x258669=this[_0x5be3b9(0x136)][_0x5be3b9(0x2bf)](_0x2601c1);if(_0x258669){for(let _0x34c6fb=_0x258669[_0x5be3b9(0x38c)]-0x1;_0x34c6fb>=0x0;--_0x34c6fb){let _0x5cce4f=_0x258669[_0x34c6fb];(_0x106ad6||_0x5cce4f[_0x5be3b9(0xc5)]())&&(_0x5cce4f['dispose'](),_0x258669[_0x5be3b9(0x25b)](_0x34c6fb,0x1));}_0x258669[_0x5be3b9(0x38c)]===0x0&&(this[_0x5be3b9(0x136)][_0x5be3b9(0xff)](_0x2601c1),this[_0x5be3b9(0xbc)][_0x5be3b9(0xff)](_0x2601c1));}}[_0x4b60ce(0xb5)](_0x23dbf4){const _0x25d54b=_0x4b60ce;let _0x42eaa1=this[_0x25d54b(0x136)][_0x25d54b(0x2bf)](_0x23dbf4);if(_0x42eaa1)return _0x42eaa1;let _0x467ff0=[];return this[_0x25d54b(0x136)][_0x25d54b(0x374)](_0x23dbf4,_0x467ff0),_0x467ff0;}[_0x4b60ce(0x352)](_0x12026d){const _0x561cf4=_0x4b60ce;var _0x52a146;let _0x53151c=new _0x3f9984[(_0x561cf4(0x3ae))](),_0x508085=(_0x52a146=this[_0x561cf4(0x11c)]['getAllRenderersOfType'](_0x3f9984['UniverInstanceType']['UNIVER_DOC'])[_0x561cf4(0x33d)](_0x510208=>_0x510208['scene'][_0x561cf4(0x280)]()===_0x12026d))==null?void 0x0:_0x52a146[_0x561cf4(0x26a)];return _0x508085?(_0x53151c[_0x561cf4(0x2f5)](_0x12026d[_0x561cf4(0x286)][_0x561cf4(0x3b5)](()=>this[_0x561cf4(0x18a)](_0x12026d,_0x508085))),_0x53151c[_0x561cf4(0x2f5)](_0x12026d[_0x561cf4(0x162)]['subscribe'](()=>{const _0x49564=_0x561cf4;this[_0x49564(0xb6)](_0x508085),queueMicrotask(()=>{const _0x4db9a0=_0x49564;_0x12026d[_0x4db9a0(0x191)]()[_0x4db9a0(0x343)]>0x0||(this[_0x4db9a0(0x18f)][_0x4db9a0(0x31c)](_0x3f9984['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x4db9a0(0x298)][_0x4db9a0(0x1be)](null));});})),_0x53151c[_0x561cf4(0x2f5)](_0x12026d[_0x561cf4(0x139)]['subscribe'](()=>{const _0x40337f=_0x561cf4;this[_0x40337f(0xb6)](_0x508085,!0x0);})),_0x53151c):_0x53151c;}[_0x4b60ce(0x18a)](_0x3550f1,_0xccdf97){const _0x3da3ca=_0x4b60ce;let _0x48209e=_0x3550f1['getSelectedObjectMap']();if(this[_0x3da3ca(0xf8)]){this[_0x3da3ca(0xb6)](_0xccdf97,!0x0);return;}if(_0x48209e[_0x3da3ca(0x343)]>0x1){this[_0x3da3ca(0xb6)](_0xccdf97);return;}let _0x8b881c=_0x48209e[_0x3da3ca(0x172)]()['next']()['value'];if(!_0x8b881c){this[_0x3da3ca(0xb6)](_0xccdf97);return;}let _0x571a03=this[_0x3da3ca(0x298)][_0x3da3ca(0x220)](_0x8b881c[_0x3da3ca(0x243)]);if(!_0x571a03||_0x571a03['drawingType']!==_0x3f9984[_0x3da3ca(0xdb)][_0x3da3ca(0xd5)]){this[_0x3da3ca(0xb6)](_0xccdf97);return;}let {unitId:_0x170105,subUnitId:_0x3f33ac,drawingId:_0x1f8e97,drawingType:_0x12f0a4}=_0x571a03;if(!this[_0x3da3ca(0xd4)](_0x170105,_0x1f8e97)){this['_clearPopups'](_0xccdf97,!0x0);return;}let _0x1a4dd0=this[_0x3da3ca(0x3b6)](_0x170105,_0x3f33ac,_0x1f8e97);if(!_0x1a4dd0){this['_clearPopups'](_0xccdf97);return;}let _0x40f03e=this[_0x3da3ca(0x136)][_0x3da3ca(0x2bf)](_0xccdf97),_0x19b4fc=_0x170105+':'+_0x3f33ac+':'+_0x1f8e97;if(this['_popupTargetKeys'][_0x3da3ca(0x2bf)](_0xccdf97)===_0x19b4fc&&_0x40f03e&&_0x40f03e['length']>0x0)return;this[_0x3da3ca(0xb6)](_0xccdf97);let _0x5dfe9a=this[_0x3da3ca(0x11c)][_0x3da3ca(0x338)](_0x170105),_0x36f8fb=((_0x5dfe9a==null?void 0x0:_0x5dfe9a[_0x3da3ca(0xdf)])===!0x1?_0x5dfe9a[_0x3da3ca(0xfb)](_0x4e182a[_0x3da3ca(0x1cb)]):this[_0x3da3ca(0x28b)])['attachPopupToObject'](_0x8b881c,{'componentKey':_0x32ab16,'direction':'vertical-center','offset':[0x0,_0x3be0ca[_0x3da3ca(0x3bd)]],'extraProps':{'unitId':_0x170105,'subUnitId':_0x3f33ac,'drawingId':_0x1f8e97,'drawingType':_0x12f0a4,'shapeType':_0x1a4dd0[_0x3da3ca(0x16c)],'shapeData':_0x1a4dd0[_0x3da3ca(0xf4)]}},_0x170105);this[_0x3da3ca(0x10e)](_0x36f8fb),this['_getDisposePopups'](_0xccdf97)[_0x3da3ca(0x246)](_0x36f8fb),this[_0x3da3ca(0xbc)][_0x3da3ca(0x374)](_0xccdf97,_0x19b4fc),this[_0x3da3ca(0x298)][_0x3da3ca(0x2b0)]()[_0x3da3ca(0xa8)](_0x3a242b=>_0x3a242b['unitId']===_0x170105&&_0x3a242b[_0x3da3ca(0x1c9)]===_0x3f33ac&&_0x3a242b[_0x3da3ca(0x17e)]===_0x1f8e97)||this[_0x3da3ca(0x298)]['focusDrawing']([{'unitId':_0x170105,'subUnitId':_0x3f33ac,'drawingId':_0x1f8e97}]);}[_0x4b60ce(0xd4)](_0x50fd8d,_0x299fa1){const _0x17626b=_0x4b60ce;let _0x49de06=this[_0x17626b(0x113)][_0x17626b(0xce)](_0x50fd8d,_0x3f9984[_0x17626b(0x353)]['UNIVER_DOC']);if(!_0x49de06)return!0x1;let _0x50c388=(0x0,_0x421e15[_0x17626b(0x17a)])(_0x49de06,_0x299fa1);return(0x0,_0x421e15[_0x17626b(0x2a9)])(this[_0x17626b(0x3b3)],_0x50fd8d,[...(0x0,_0x421e15[_0x17626b(0xe4)])(_0x49de06,_0x50c388,_0x17626b(0x3c7),_0x299fa1),(0x0,_0x421e15[_0x17626b(0x192)])(_0x50c388,_0x17626b(0x3c7),_0x299fa1)]);}[_0x4b60ce(0x347)](){const _0xbec572=_0x4b60ce;this[_0xbec572(0x10e)](this['_commandService'][_0xbec572(0x32a)](_0x4eca72=>{const _0x4a4153=_0xbec572;if(_0x4eca72['id']===_0x5d0e5f['id']){let {unitId:_0x5eb592,subUnitId:_0x5e101d,drawingId:_0x4214ee}=_0x4eca72[_0x4a4153(0x194)];this['_shapeEditPanelVersion']+=0x1,this[_0x4a4153(0x37f)]=this[_0x4a4153(0x3b6)](_0x5eb592,_0x5e101d,_0x4214ee),this['_clearPopups'](void 0x0,!0x0),this['_openShapeEditPanel']();}if(_0x4eca72['id']===_0x57aa4f['id']&&(this[_0x4a4153(0x37f)]=null,this[_0x4a4153(0x1b4)]()),_0x4eca72['id']===_0x473572[_0x4a4153(0x3ad)]['id']){let {unitId:_0x335851,shapeId:_0x1b5f7e}=_0x4eca72[_0x4a4153(0x194)];if(this[_0x4a4153(0x37f)]&&this[_0x4a4153(0x37f)][_0x4a4153(0x3bb)]===_0x1b5f7e){let _0x242e72=this['_getShapeInfo'](_0x335851,this[_0x4a4153(0x37f)]['subUnitId'],_0x1b5f7e);_0x242e72&&(this[_0x4a4153(0x2fc)]+=0x1,_0x242e72[_0x4a4153(0x327)]=this[_0x4a4153(0x2fc)],this['_activeShapeInfo']=_0x242e72,this[_0x4a4153(0xf8)]&&this['_openShapeEditPanel']());}}})),this[_0xbec572(0x10e)](this['_drawingManagerService']['focus$'][_0xbec572(0x3b5)](_0x264383=>{const _0x17beaa=_0xbec572;if(this[_0x17beaa(0xf8)]===!0x1)return;if(_0x264383[_0x17beaa(0x38c)]===0x0){this[_0x17beaa(0x37f)]=null,this['_closeShapeEditPanel']();return;}if(_0x264383[_0x17beaa(0x38c)]===0x1&&_0x264383[0x0][_0x17beaa(0x205)]===_0x3f9984[_0x17beaa(0xdb)][_0x17beaa(0xd5)]&&(this[_0x17beaa(0x2fc)]+=0x1,this[_0x17beaa(0x37f)]=this[_0x17beaa(0x3b6)](_0x264383[0x0]['unitId'],_0x264383[0x0][_0x17beaa(0x1c9)],_0x264383[0x0]['drawingId']),this[_0x17beaa(0x37f)])){this[_0x17beaa(0xe0)]();return;}let _0x3cf49e=_0x264383[_0x17beaa(0x328)](_0x201abb=>_0x201abb[_0x17beaa(0x205)]===_0x3f9984[_0x17beaa(0xdb)][_0x17beaa(0xd5)]);if(_0x264383[_0x17beaa(0x38c)]>0x1&&_0x3cf49e['length']===_0x264383[_0x17beaa(0x38c)]){if(this[_0x17beaa(0x2fc)]+=0x1,this[_0x17beaa(0x37f)]=this[_0x17beaa(0x3b6)](_0x264383[0x0][_0x17beaa(0x26a)],_0x264383[0x0][_0x17beaa(0x1c9)],_0x264383[0x0]['drawingId']),this[_0x17beaa(0x37f)]){this[_0x17beaa(0xe0)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x17beaa(0x37f)]=this['_getShapeInfo'](_0x264383[0x0][_0x17beaa(0x26a)],_0x264383[0x0][_0x17beaa(0x1c9)],_0x264383[0x0][_0x17beaa(0x17e)]),this['_activeShapeInfo']){this[_0x17beaa(0x37f)][_0x17beaa(0x1b7)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x17beaa(0x1b4)]();}));}['_openShapeEditPanel'](){const _0x1f3889=_0x4b60ce;this[_0x1f3889(0x37f)]&&(this[_0x1f3889(0x29b)]=this[_0x1f3889(0x2e3)]['open']({'id':_0x262f18,'header':{'title':this[_0x1f3889(0x16e)]['t'](_0x1f3889(0xd2))},'width':0x184,'children':{'label':_0x262f18,...this[_0x1f3889(0x37f)]},'onClose':()=>{const _0x398c42=_0x1f3889;this[_0x398c42(0x298)][_0x398c42(0x1be)](null),this[_0x398c42(0x18f)]['setContextValue'](_0x3f9984['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x4b60ce(0x1b4)](){const _0xff68c3=_0x4b60ce;this[_0xff68c3(0xf8)]=!0x1,this[_0xff68c3(0x2e3)][_0xff68c3(0x2c5)](_0x262f18),this[_0xff68c3(0x29b)]=null,this[_0xff68c3(0x18f)][_0xff68c3(0x31c)](_0x3f9984[_0xff68c3(0x1bf)],!0x1),this[_0xff68c3(0x298)][_0xff68c3(0x1be)](null);}};_0x4c1de6=_0x5adf5c([_0x18855d(0x0,_0x3f9984['IUniverInstanceService']),_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x40eeff[_0x4b60ce(0x2fe)])),_0x18855d(0x2,_0x40eeff['IMenuManagerService']),_0x18855d(0x3,(0x0,_0x3f9984['Inject'])(_0x473572[_0x4b60ce(0x3b4)])),_0x18855d(0x4,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x3f9984[_0x4b60ce(0xad)])),_0x18855d(0x5,_0x3f9984[_0x4b60ce(0x36a)]),_0x18855d(0x6,_0x4e3223[_0x4b60ce(0x279)]),_0x18855d(0x7,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x4e182a[_0x4b60ce(0x1cb)])),_0x18855d(0x8,_0x1c0cd0['IRenderManagerService']),_0x18855d(0x9,_0x3f9984[_0x4b60ce(0x128)]),_0x18855d(0xa,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0xaea944)),_0x18855d(0xb,_0x3f9984[_0x4b60ce(0x165)])],_0x4c1de6);let _0x3272d2=class extends _0x3f9984[_0x4b60ce(0x231)]{constructor(_0x2d4cfc=_0x4a49f9,_0x1190e1,_0x4e31c8,_0x17d432,_0x2c1b7a){const _0x20fe90=_0x4b60ce;super(),this['_config']=_0x2d4cfc,this[_0x20fe90(0x320)]=_0x1190e1,this[_0x20fe90(0x34f)]=_0x4e31c8,this[_0x20fe90(0xb2)]=_0x17d432,this[_0x20fe90(0x11c)]=_0x2c1b7a;let {menu:_0x20a103,..._0x25e133}=(0x0,_0x3f9984[_0x20fe90(0x25c)])({},_0x4a49f9,this[_0x20fe90(0x2ce)]);_0x20a103&&this['_configService'][_0x20fe90(0xb9)](_0x20fe90(0x2aa),_0x20a103,{'merge':!0x0}),this['_configService']['setConfig']('docs-shape-ui.config',_0x25e133),this[_0x20fe90(0x240)]();}[_0x4b60ce(0x102)](){const _0x7e2ff5=_0x4b60ce;this[_0x7e2ff5(0x320)][_0x7e2ff5(0x2f5)]([_0x5a1ead]),this[_0x7e2ff5(0x320)]['get'](_0x5a1ead),(0x0,_0x3f9984['registerDependencies'])(this['_injector'],[[_0x4c1de6],[_0x5da2c1],[_0x2cf1ea],[_0x430be1],[_0x18d16f],[_0x241267],[_0x125a74],[_0xaea944],[_0x4f2a37]]),this['_initUIPart']();}[_0x4b60ce(0x1aa)](){const _0x5bd061=_0x4b60ce;this[_0x5bd061(0x11c)][_0x5bd061(0x208)](_0x3f9984[_0x5bd061(0x353)][_0x5bd061(0x2ad)],[_0x18d16f]),this['_renderManagerService']['registerRenderModule'](_0x3f9984[_0x5bd061(0x353)][_0x5bd061(0x2ad)],[_0x3ca077]),(0x0,_0x3f9984[_0x5bd061(0x308)])(this[_0x5bd061(0x320)],[[_0x4c1de6],[_0x5da2c1],[_0x2cf1ea],[_0x430be1],[_0x241267],[_0x125a74],[_0xaea944],[_0x4f2a37]]);}['onRendered'](){const _0x5cd5c3=_0x4b60ce;this[_0x5cd5c3(0x11c)][_0x5cd5c3(0x208)](_0x3f9984[_0x5cd5c3(0x353)][_0x5cd5c3(0x2ad)],[_0x386b5a]);}[_0x4b60ce(0x240)](){const _0x516f7a=_0x4b60ce;[_0x4a32d3,_0x57aa4f,_0x5d0e5f,_0x40c59c,_0x2f240e,_0x5e68c0]['forEach'](_0x412afe=>this[_0x516f7a(0x10e)](this['_commandService'][_0x516f7a(0x19a)](_0x412afe)));}[_0x4b60ce(0x1a3)](){const _0x316cf2=_0x4b60ce;let _0x36633a=this[_0x316cf2(0x320)],_0x20566c=_0x36633a[_0x316cf2(0x2bf)](_0x40eeff[_0x316cf2(0x3af)]);this[_0x316cf2(0x10e)](_0x20566c[_0x316cf2(0x170)](_0x40eeff[_0x316cf2(0x1eb)][_0x316cf2(0x345)],()=>(0x0,_0x40eeff[_0x316cf2(0x161)])(_0x334f4f,_0x36633a)));}};_0xea73af(_0x3272d2,_0x4b60ce(0x317),_0x3f9984[_0x4b60ce(0x353)][_0x4b60ce(0x2ad)]),_0xea73af(_0x3272d2,_0x4b60ce(0x20c),_0x4b60ce(0x290)),_0xea73af(_0x3272d2,'packageName',_0x756864),_0xea73af(_0x3272d2,'version',_0x50b73b),_0x3272d2=_0x5adf5c([(0x0,_0x3f9984[_0x4b60ce(0x30f)])(_0x30a9b9[_0x4b60ce(0x31b)],_0x421e15[_0x4b60ce(0x3ac)],_0x4e3223[_0x4b60ce(0x222)],_0x1873b9['UniverDrawingUIPlugin'],_0x1c0cd0[_0x4b60ce(0x30e)],_0x4e182a[_0x4b60ce(0xb0)],_0x184ef2[_0x4b60ce(0x154)],_0x41e2ce[_0x4b60ce(0x169)],_0x473572[_0x4b60ce(0xb1)],_0x3be0ca['UniverShapeEditorUIPlugin']),_0x18855d(0x1,(0x0,_0x3f9984[_0x4b60ce(0x2fd)])(_0x3f9984[_0x4b60ce(0x28c)])),_0x18855d(0x2,_0x3f9984['ICommandService']),_0x18855d(0x3,_0x3f9984[_0x4b60ce(0x9f)]),_0x18855d(0x4,_0x1c0cd0['IRenderManagerService'])],_0x3272d2),_0xd52142[_0x4b60ce(0xdc)]=_0x303ca5,Object['defineProperty'](_0xd52142,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x3272d2;}});}));function _0x381b(){const _0x567ee4=['INLINE','toFixed','pluginName','paragraphId','_registerImageShapeClipDelegate','DocInterceptorService','RIBBON','defIds','getShapeTextRect','_formulaKey','_registerIcons','forward','WRAP_TOP_AND_BOTTOM','SetDocDrawingArrangeCommand','object-layers-icon','ObjectListPanelBase','_shapeTextEditingService','image','COMMAND','getMatrix','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','_createShapeAdjustControls','getDrawingOKey','BehaviorSubject','UniverDrawingPlugin','originalStrokeWidth','complete','ShapeFloatingToolbarToggleFactory','formulaBinding','useState','RibbonInsertGroup','refreshTransform$','skeTables','menuRange','shapeKey','useEffect','drawings','cells','setOnSavingEditorData','Plugin','DocumentEntity','toDisposable','_baseShapeHeight','TopmostIcon','onPointerUp$','ArrangeTypeEnum','layoutType','adjName','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','front','@univerjs/docs','popup','changeStart$','#3B82F6','_initCommands','isConnectorShape','DRAWING_IMAGE','oKey','_unitId','getMenuHiddenObservable','push','_getShapeAdjustInfosById','M4.2\x208.3H6.8','resize','animateFormulaPresentation','0.8','LEFT','enableObjectsEvent','SetDrawingSelectedOperation','DocSelectionRenderService','value','_drawRichTextLayer','fillType','ShapeTextFloatMenuRenderControllerBase','clearAdjustValue','docs-shape-ui.hidePanel','_layoutInteraction','translate','#2563EB','Line','marginTop','splice','merge','visible$','getDrawingVisible','univer-box-border\x20univer-px-4\x20univer-text-sm','name','resolveFormulaShapeAutoFitSize','formulaPresentation','getSnapshot','_activeAdjustInfo','docs-shape-ui.shape-format.text-ribbon-control','0\x200\x2017\x2016','ShapeFormatSettingIcon','text-wrap-shape-icon','react','unitId','getShapeDataById','useRef','error','LAYOUT','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_componentManager','@univerjs/docs-drawing-ui','ComponentManager','decorate','restore','_lastEditingShapeKey','sectionFloating','translateWithPrecision','updateContext','IDrawingManagerService','drawFormulaShapeAnimationLayers','colorChannel1','span','symbol','move-down-icon','DEFAULT_DOC_SHAPE_HEIGHT','getTransformerByCreate','getUnitId','_baseShapeLeft','docs-shape-ui.textWrap.topAndBottom','_endLayoutInteraction','getPresentation','createControl$','preValue','resolveActiveShapeQuickStylePresetId','isReleased','selectable','_docCanvasPopManagerService','Injector','_shapeId','docs-shape-ui.ribbon.shape-format.arrange-front','div','DOCS_SHAPE_UI_PLUGIN','subscribeEvent','paragraphMenuPlacement','url(#$1','1486448BRhnGy','@univerjs-pro/shape-editor','paragraph','getShapeType','_drawingManagerService','_activeShapeAdjustPointList','ShapeArrowTypeEnum','_sidebarDisposable','GROUP','docs-shape-ui.shape-format.style-ribbon-control','_applyFormulaAutoFitSize','DocPrintInterceptorService','target','_iconManager','getObjectListPanelSectionIdForDrawingType','SolidLine','_props','InsertDocShapeCommand','contentVerticalOffset','PositionedObjectLayoutType','clearActiveDrawingObjects','canEditDocumentTargets','menu','unsubscribe','Disposable','UNIVER_DOC','@univerjs/drawing-ui','DrawingCommonPanel','getFocusDrawings','5.5','doc.command.menu-insert-shape','_adjHandlerPointerMove','UniverProShapeEditorUi','ShapeFillEnum','getShapePopupMenus','URL','getShapeModel','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs-shape-ui.openPanel','PictureFill','_imageIoService','SHAPE_CHANGE_PICKER_COMPONENT','UniverDrawing','get','docs-shape-ui.ribbon.shape-format.wrapping-style','stroke','_toScenePoint','doc.operation.open-doc-shape-format-panel','ShapeFloatingToolbarService','close','fillImageSourceType','getValue','object','ImageSourceTypeEnum','mask','doc.shape.object-list.panel','UniverDocsDrawingUi','UniverUi','_config','removeProperty','generateRandomId','UniverProLicense','disableObjectsEvent','UniverProtocol','docs-shape-contextual-ribbon','_baseShapeTop','onload','ShapeTextEditorContainer','setShapeData','has','observe','OBJECT_LIST_FLOATING_SECTION_ID','data','strokeWidth','OFFSET','addImageSourceCache','docs-shape-ui.deleteShape','getTransformer','ShapeArrowSizeEnum','_sidebarService','clipByShape','invert','UniverIcon','911400NOemzY','Documents','0\x200\x2020\x2020','function','priority','IURLImageService','getDrawingByParam','_renderWithCache','docs-shape-ui.ribbon.shape-format.formula-control','icon','scene','rect','useImperativeHandle','getScene','add','getRealBound','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','contentHeight','docs-shape-ui.ribbon.shape-format','clearAdjustControls','9yBEzhL','_shapeEditPanelVersion','Inject','ISidebarService','_docsShapeService','map','pages','DocsShapeWrapTopBottomIcon','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','isRichText','square','dataModel','_transform','touchDependencies','getDrawingSearch','Fragment','getPropertyValue','docs-shape-ui.textWrap.square','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','UniverRenderEnginePlugin','DependentOn','keys','UniverProDocsShapeUi','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','jsx','docs-shape-ui.textWrap.inline','behindText','getSkeletonData','type','DocumentDataModel','_initPrinting','add$','UniverLicensePlugin','setContextValue','left','jsxs','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_injector','UniverDrawingUi','DocsShapeWrapInlineIcon','displayName','stopPropagation','endArrow','createShapeFormulaDocument','version','filter','defineProperty','onCommandExecuted','_updateAdjustControlPositions','@univerjs-pro/shape-editor-ui','.below','getShapeQuickStylePreset','_adjustPointObjects','getActiveTextRange','hideContextualTab','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','applyQuickStyleToShapeData','current','hidden','UnitObject','reverse','getRenderUnitById','FromArray','_isStartAdjusting','min','WRAP_SQUARE','find','buildShapeTextDataUpdate','_toVisualAdjustPoint','viewBox','includes','FOCUSING_SHAPE_TEXT_EDITOR','size','423549KQLVBw','CONTENT','UniverDocs','_registerOperations','getParent','_formulaAnimation','attrs','FloatingObjectToolbarPosition','shape-editor-ui.arrange.front','RichTextEditingMutation','evenodd','_commandService','backward','objects','_popupMenuListener','UniverInstanceType','non-scaling-stroke','tag','srcRect','width','getViewports','executeCommand','HorizontalAlign','sheet.image-clip.shape-picker.component','multiply','_getFocusedShapeAtPoint','doc.shape.text.float-menu','presentation','resolveShapeTextEditorWrapStrategy','IRenderManagerService','getAdjustInfoByName','renderDrawingShape','MoveDownIcon','isRender','ShapeTextFloatToolbar','vertical','0\x200\x2016\x2016','setFallbackVisible','ICommandService','focus$','M2\x203h16M2\x2017h16','docs-shape-ui.shape-format.quick-style-gallery','DocLayoutInteractionService','_registerComponents','ShapeDefaultConfig','getObjectListPanelTypeName','_instanceService','_urlImageService','set','OPERATION','http://www.w3.org/2000/svg','Arrow','isEditing','getDrawingShapeKeyByDrawingSearch','doc.shape.edit.panel','210194JBZbVB','updateDocumentDataMargin','call','ShapeRenderModeEnum','_activeShapeInfo','_update','makeDirty','DOC','strokeOpacity','dispose','_ribbonService','docs-shape-format-font-family-menu','normalizeShapeTextModel','_updateSrcRectByTransform','default','string','attachTransformerTo','length','DRAWING_OBJECT_LAYER_INDEX','UniverProEngineShape','_setTransForm','flatMap','_drawShapeText','_adjName','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','localeService','ShapePickerPanel','UniverProShapeEditor','docs-shape-ui.ribbon.shape-format.arrange-back','resetCursor','prstGeom','UniverEngineRender','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','TextWrappingStyle','registerClipDelegate','parseFloat','beginPath','permissionPointUpdate$','createElement','transformVector2SceneCoord','insertGroupObject','_completionFrame','setPrstGeom','render','docs-shape-text-','_init','Rect','IUniverInstanceService','DocumentViewModel','UniverDocsPlugin','UpdateDocShapeDataMutation','DisposableCollection','IUIPartsService','unregister','Vector2','startWith','_permissionService','DocsShapeService','subscribe','_getShapeInfo','onPointerDown$','_initSelection','UpdateDocDrawingMetadataCommand','docs-shape-ui.crop.shape','shapeId','isHitLine','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','use','_docPrintInterceptorService','SetDocumentPermissionCommand','TRUE','setProperty','CROSSHAIR','composeMatrix','ShapeQuickStyleGallery','activeTarget','drawing','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','idSuffix','baseVal','shape-editor-ui.arrange.backward','_visible','_docLayoutInteractionService','element','isFinite','RENDER_CLASS_TYPE','M4.2\x205.5H10.5','extensionGroups','_getShapeAdjustPointListById','@univerjs/drawing','vectorEffect','addObject','IConfigService','editingParams$','pageWidth','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','docs-shape-ui.quickStyles','doc.image-clip.shape-picker.component','adjHandleSize','extraProps','docs-shape-ui.textWrap.behindText','some','UpdateDocDrawingWrappingStyleCommand','_activeShapeId','getShapeQuickStyleType','getParagraphContentStartOffset','LocaleService','doc','refreshAdjustControls','UniverDocsUIPlugin','UniverDocsShapePlugin','_configService','getAutoFitPresentations','inline','_getDisposePopups','_clearPopups','shape-format-setting-icon','DocsShapeWrapBehindTextIcon','setConfig','_canEdit','exports','_popupTargetKeys','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','ObjectPermissionButton','rxjs','Circle','IMenuManagerService','setEditing','RemoveDocDrawingCommand','docs-shape-ui.textWrap.inFrontText','canDispose','ShapeFormulaService','setPresentation','UniverProDocsShape','getObjectIncludeInGroup','ToggleShapeFloatingToolbarOperation','React','intercept','Medium','getUnit','IDocDrawingService','isHit','canvasElement','docs-shape-ui.formatShape','bottom','_canEditShape','DRAWING_SHAPE','draw','_initialize','setAdjustValueByName','DocDrawingTextWrap','ShapeTypeEnum','DrawingTypeEnum','DocsShapeUIMenuSchema','adjHandleStroke','docs-shape-ui.shape-format.wrapping-style-label','isMainScene','_openShapeEditPanel','_adjHandlerPointerUp','VIEWPORT_KEY','shape-editor-ui.toolbar.changeShape','getDocumentEntityParentPermissionObjectIds','MoveUpIcon','shape-editor-ui.arrange.back','plainShapeTextToDocumentData','isHorizontal','getPropertyPriority','none','transform','_registerDrawingFocusChangeHandler','next','_initEditingParams','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','MenuItemType','UniverDocsDrawing','SELECTOR','true','shapeData','offsetX','_shapeFloatingToolbarService','ShapeGroupEnum','_isOpenedShapeEditPanel','_hide','TextWrapShapeIcon','with','ShapePickerDropdown','@univerjs-pro/engine-shape','pipe','delete','ContextMenuPosition','ShapeLineTypeEnum','onStarting','endOffset','getVisible','currentAdjustValues','@univerjs/protocol','getBoundingClientRect','description','1.0.0-rc.0','_drawRichText','getDrawingData','Shape','ContextMenuGroup','disposeWithMe','ancestorTransform','resolveShapeTextDocumentRenderLayout','transformForAngle','_shapeFormulaService','_univerInstanceService','TOP','setFormulaPresentation','refreshFormulaPresentation','VerticalAlign','animationEnabled','toPrimitive','getCurrentUnitOfType','_attachAdjustEvent','_renderManagerService','remove$','_drawingType','ShapeTextHyperLinkPopupService','doc.shape.floating-toolbar','iterator','EMPTY_PARAGRAPH_MENU_ID','shouldClipShapeTextDocument','forwardRef','forEach','ObjectLayersIcon','shapeText','IContextService','prepareShapeTextDocumentData','cos','IImageIoService','SHAPE_TEXT','0.14','update$','setCursor','sin','fillImageSource','move-up-icon','setSrcRect','docs-shape-ui.ribbon.shape-format.style-control','useId','_disposePopupsByUnit','horizontal','getTextStyle','changing$','DOC_PARAGRAPH_T_INSERT_MENU_ID','useObservable','skeDrawings','flipX','react/jsx-runtime','1.2','svg','_formulaShapes','_initEvents','style','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','register','_loadShapePictureFill','indexOf','text','_addShapeAdjustControl','defs','DocsShapeWrapInFrontOfTextIcon','appliedStrokeWidth','path','getTextModel','toStringTag','_menuManagerService','setShapeProps','PARAGRAPH','asObservable','UniverShapeEditorPlugin','@univerjs/docs-ui','setFillImage','111636BfsAof','getAdjustValueByName','custom','_initMenu','getState','open','_context','_insertShapes','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','_shapeRenderController','connectInjector','clearControl$','top-bottom','fill','IPermissionService','isRenderLinePointsMode','_getSceneByUnitId','_docDrawingShapeRenderController','UniverDocsDrawingUIPlugin','getDrawingTypeNameKey','useDependency','shapeType','beginInteraction','_localeService','interceptor','registerComponent','offsetY','values','shapeModel','updateShapeFillImage','startArrow','None','ShapeFloatingToolbar','IN_FRONT_OF_TEXT','useMemo','getDocumentDrawingSegmentId','_onSavingEditorData$','PRINTING_COMPONENT_COLLECT','WRAP_NONE','drawingId','_subUnitId','classType','transformByState','_clearCompletionFrame','getShapeTextData','distinctUntilChanged','SHAPE_EDITOR_TRANSFORMER_CONFIG','@univerjs-pro/docs-shape','resolveShapeContextualRibbonHostMode','replace','isolated','_handleCreateControl','_baseShapeWidth','doc.operation.open-shape-object-list-panel','bindRenderTransformerLifecycle','createInternalEditorID','_contextService','getEditing','getSelectedObjectMap','getDocumentEntityPermissionObjectId','shape-text-','params','clip','UpdateDrawingDocTransformCommand','activateDrawingObject','useFormulaShapeToolbar','refreshShapeFillImage','registerCommand','bottom-icon','_isShouldShowDrawingShapeAdjust','onTransformChange$','top','_editingParams$','createShapeTextBoxShapeData','height','FormulaShapeAnimationController','_initUIPart','isLineShape','skeHeaders','docs-shape-ui.insertShape','_updateShapeAdjustControls','isInGroup','getPageDrawingIds','onReady','_draw','title','getShapeData','@univerjs/engine-render','getBody','topmost-icon','BottomIcon','syncExecuteCommand','adjHandleFill','_closeShapeEditPanel','children','INSERT_BELLOW_MENU_ID','disableShapeOption','IconManager','stroke-width','doc.operation.update-shape-type','ShapeIcon','PaintIcon','behindDoc','focusDrawing','FOCUSING_COMMON_DRAWINGS','1em','Module','DocSelectionManagerService','assign','useLayoutEffect','DrawingImageClipService','onerror','visible','doc.shape.picker.component','subUnitId','viewBound','DocCanvasPopManagerService','updateDocumentStyle','@univerjs/docs-drawing','round','applyPoint','getDrawingEffectBounds','setCanUseShapeClip','BooleanNumber','2pLxfbd','BUTTON','UpdateDocShapeDataCommand','docs-shape-ui.shape-format.formula-ribbon-control','getDrawingDataForUnit','@univerjs/core','featurePluginUpdateNotification','1025800UfbkQl','calculate','skeFooters','getSelfOrHeaderFooterModel','entries','_clearShapeAdjustControls','resolveShapeTextEditorBehaviorShapeData','save','353360ruRJva','flipY','_getActiveDrawingParam','Transform','getDrawingEditable','_getActiveDrawingShape','angle','useReducer','startOffset','BuiltInUIPart','CommandType','DocumentSkeleton','_activeShapeModel','BEHIND_TEXT','max','segmentId','_drawSimpleText','MenuManagerPosition','clipTop','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','currentColor','DocsShapeWrapSquareIcon','getImageSourceCache','_clipService','below','moveRange','trim','amd','docs-shape-ui.objectListPanel.open','xlink:href','headerId','rows','actions','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','shape-editor-ui.toolbar.quickStyles','drawingType','create','getShapeTypeById','registerRenderModule','Observable'];_0x381b=function(){return _0x567ee4;};return _0x381b();}
|
|
1
|
+
function _0x596e(){const _0x2bcba6=['@univerjs/drawing','_getShapePopup','getShapeQuickStylePreset','_shapeEditPanelVersion','getDrawingOKey','insertGroupObject','objects','ObjectPermissionButton','stopPropagation','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','find','attrs','docs-shape-ui.quickStyles','adjHandleSize','ShapeStyleRibbonControl','object','_drawingManagerService','_layoutInteraction','_registerObjectListPanel','_attachAdjustEvent','docs-shape-ui.textWrap.behindText','DRAWING_DOM','wrapStrategy','adjName','string','top','skeDrawings','shape-editor-ui.arrange.forward','_getShapeInfo','getRealBound','completeEditing','MoveUpIcon','drawing-ui.objectListPanel.moveBackward','autoFitType','getDrawingTypeNameKey','_initEvents','getSnapshot','backward','hidden','description','docs-shape-text-','SELECTOR','UpdateDocDrawingWrappingStyleCommand','registerClipDelegate','_initEditingParams','mask','http://www.w3.org/2000/svg','@univerjs/docs-drawing','clearActiveDrawingObjects','getShapeData','_adjHandlerPointerMove','getUnitId','function','cells','element','PaintIcon','shape-editor-ui.arrange.front','_urlImageService','ISidebarService','register','calcAdjValues','SetDocumentPermissionCommand','_isShouldShowDrawingShapeAdjust','getObjectListPanelSectionIdForDrawingType','use','_completionFrame','version','HorizontalAlign','DocsShapeWrapInlineIcon','MobileShapePickerPanel','_handleCreateControl','SolidFill','docs-shape-ui.ribbon.shape-format.arrange-forward','_shapeRenderController','7Uoavod','defs','_injector','IConfigService','toFixed','DocDrawingTextWrap','pick','viewBound','getShapeModel','skeTables','DrawingCommonPanel','useFormulaShapeToolbar','_sidebarService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_drawSimpleText','onPointerUp$','@univerjs/design','map','sectionFloating','getFocusDrawings','univer-grid\x20univer-gap-3','buildShapeTextDataUpdate','UniverDocsShapePlugin','DependentOn','invert','drawingType','entries','_updateAdjustControlPositions','UpdateDocShapeDataCommand','setPresentation','classType','doc.operation.apply-shape-quick-style','xlink:href','setShapeData','_registerFloatingToolbar','_context','resolveFormulaShapeAutoFitSize','setPrstGeom','Path','shapeModel','getAutoFitPresentations','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','getParagraphContentStartOffset','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','useObservable','formulaBinding','getAdjustValueByName','registerDependencies','createShapeFormulaDocument','inline','disableObjectsEvent','segmentId','ShapePickerDropdown','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','IN_FRONT_OF_TEXT','getParent','UniverDocsDrawing','vertical-center','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','DocumentViewModel','path','attachPopupToObject','canEditDocumentTargets','exports','CROSSHAIR','cos','EMPTY_PARAGRAPH_MENU_ID','resolveActiveShapeQuickStylePresetId','evenodd','startIndex','UniverProLicense','ShapeTypeEnum','_instanceService','current','featurePluginUpdateNotification','actualHeight','UpdateDrawingDocTransformCommand','_shapeFloatingToolbarService','querySelectorAll','add','getDrawingVisible','permissionPointUpdate$','ShapePickerPanel','docs-shape-ui.mobile.delete','round','scale','shape-editor-ui.toolbar.changeShape','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','set','_registerComponents','clear','setFallbackVisible','getFocusedUnit','isFinite','setAdjustValueByName','getBody','_docPrintInterceptorService','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_renderWithCache','startArrow','getSelectedObjectMap','doc.operation.open-doc-shape-format-panel','docs-shape-ui.shape-format.quick-style-gallery','getObjectIncludeInGroup','pluginName','_init','_addShapeAdjustControl','getValue','getSkeletonData','DOC_PARAGRAPH_T_INSERT_MENU_ID','515312qkDNTj','applyQuickStyleToShapeData','VerticalAlign','FOCUSING_SHAPE_TEXT_EDITOR','currentColor','DocLayoutInteractionService','TOP','drawing-ui.objectListPanel.show','startOffset','Large','_imageIoService','getDrawingPoints','_baseShapeLeft','onload','UniverShapeEditorPlugin','_activeShapeAdjustPointList','_adjustPointObjects','drawing-ui.objectListPanel.filterAll','shapeId','isHit','isMainScene','DRAWING_SHAPE','_activeAdjustInfo','contentHeight','_createShapeAdjustControls','context-bar','isReleased','src','distinctUntilChanged','docs-shape-ui.formatShape','DocDrawingPosition','DEFAULT_DOC_SHAPE_WIDTH','DocSelectionRenderService','UniverCore','MoveDownIcon','memo','top-bottom','square','toStringTag','UniverProtocol','style','onTransformChange$','DocsShapeWrapInFrontOfTextIcon','doc.shape.floating-toolbar','ShapeFormulaService','currentAdjustValues','remove$','shapeData','_baseShapeHeight','UniverLicensePlugin','vertical','_formulaAnimation','canvas','updateShapeFillImage','react','Rect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','title','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','getDocumentEntityPermissionObjectId','univerjs-icon\x20univerjs-icon-','spaceBelowApply','_disposePopupsByUnit','resolveShapeTextEditorWrapStrategy','UniverShapeEditorMobileUIPlugin','drawings','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','@univerjs/docs-drawing-ui','onReady','PositionedObjectLayoutType','Line','with','splice','more-up-icon','text-wrap-shape-icon','ShapeTextHyperLinkPopupService','get','doc.shape.edit.panel','applyPoint','TopmostIcon','VIEW_MAIN','getSelfOrHeaderFooterModel','viewBox','div','getShapeType','executeCommand','@univerjs/docs-ui','_loadAndSetImage','jsxs','behindText','update$','create','_formulaShapes','DocsShapeUIMenuSchema','FormatPainterSessionService','gradientEndColor','DrawingTypeEnum','_releaseRenderCache','IContextService','getBoundingClientRect','jsx','GROUP','.below','layoutType','formulaPresentation','fontFamily','_subUnitId','DocCanvasPopManagerService','getCurrentUnitOfType','120YXtLzK','drawing-ui.objectListPanel.lockAll','UniverProDocsShapeUi','ShapeDefaultConfig','522FWhwwE','_initialize','@univerjs/ui','UNIVER_DOC','DEFAULT_DOC_SHAPE_HEIGHT','5.5','ShapeFillEnum','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','Module','focus$','62072hTjXJt','has','save','popup','shape-editor-ui.arrange.back','_formulaKey','ShapeFormulaRibbonControl','editingParams$','LEFT','colorChannel1','ancestorTransform','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_initPrinting','paragraphMenuPlacement','_getDisposePopups','_registerDrawingFocusChangeHandler','_isStartAdjusting','shapeType','_clearShapeAdjustControls','_isOpenedShapeEditPanel','_activeShapeId','bindRenderTransformerLifecycle','assign','_componentManager','MobileDocDrawingPosition','stroke','prototype','getPropertyPriority','onerror','scene','1584037vyQDXn','object-layers-icon','createShapeTextBoxShapeData','docs-shape-ui.shape-format.style-ribbon-control','125880icVuJY','clone','UniverDocsShapeUIPlugin','baseVal','DocInterceptorService','UniverIcon','_popupTargetKeys','back','_configService','idSuffix','clipHeight','pipe','getScene','UniverShapeEditorUIPlugin','hadStyleAttribute','_initCommands','fillImageSourceType','_univerInstanceService','SHAPE','parseFloat','docs-shape-format-font-family-menu','drawing-ui.objectListPanel.locate','complete','getShapePopupMenus','DocsShapeWrapSquareIcon','#3B82F6','type','_shapeFormulaService','_transform','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','docs-shape-ui.objectListPanel.open','setSrcRect','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.crop.shape','MobileShapeEditorService','size','DOC_CONTENT_INSERT_MENU_ID','interceptor','getUnitType','subscribe','setConfig','#2563EB','docs-shape-contextual-ribbon','appliedStrokeWidth','stroke-width','_toScenePoint','DocEventManagerService','@univerjs-pro/engine-shape','getInverseCoord','drawing-ui.objectListPanel.unlockHint','presentation','getInterceptPoints','SetDrawingSelectedOperation','_clearPopups','hasAttribute','registerCommand','_toVisualAdjustPoint','unsubscribe','BooleanNumber','updateDocumentStyle','getDocumentEntityParentPermissionObjectIds','fill','DocPrintInterceptorService','getShapeTypeById','ArrangeTypeEnum','-layout','restore','sectionCanvas','RENDER_CLASS_TYPE','intercept','CommandType','label','useMemo','OTHERS','visible$','menu','Observable','FloatingObjectToolbarPosition','target','RibbonInsertGroup','plainShapeTextToDocumentData','changing$','_onSavingEditorData$','close','IRenderManagerService','children','from','OBJECT_LIST_FLOATING_SECTION_ID','ShapeArrowSizeEnum','UniverDocsUi','M4.2\x205.5H10.5','8851962wXRuuF','_permissionService','strokeWidth','srcRect','syncExecuteCommand','resolveShapeTextDocumentPageHeight','setOnSavingEditorData','WRAP_SQUARE','makeDirty','MobileActionRow','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','ShapeRenderModeEnum','addImageSourceCache','onCommandExecuted','clip','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','clipTop','ShapeFloatingToolbarService','dispose','docs-shape-ui.ribbon.shape-format.arrange-back','OPERATION','getDrawingData','visible','IUniverInstanceService','getPropertyValue','topmost-icon','_setTransForm','actions','fallbackWidth','_adjName','min','TRUE','getActiveTextRange','registerRenderModule','priority','DRAWING_IMAGE','ShapeEditPanel','width','setCursor','merge','getCanvasElement','cloneShapeDataForType','IDrawingManagerService','_iconManager','drawWith','IUIPartsService','1.2','docs-shape-ui.shape-format.formula-ribbon-control','UniverInstanceType','INLINE','refreshAdjustControls','Fragment','engine','getDocumentDrawingSegmentId','_registerPickers','MobileObjectListPanel','shape-format-setting-icon','rows','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','animateFormulaPresentation','doc','cancelEditing','UniverDrawingPlugin','add$','getActualSize','_activeShapeModel','VIEWPORT_KEY','doc.command.menu-insert-shape','docs-shape-ui.ribbon.shape-format.text-control','doc.operation.close-doc-shape-format-panel','ShapeTextAutoFitType','getActiveViewportByCoord','_drawingType','_getFocusedShapeAtPoint','flipY','none','value','_docDrawingShapeRenderController','defineProperty','open','_clearCompletionFrame','docs-shape-ui.config','UniverEngineRender','Shape','unregister','getShapeQuickStyleType','flipX','getImageSourceCache','UniverDrawingMobileUIPlugin','_popupMenuListener','updateContext','forwardRef','_registerDrawingTransformHandler','getMenuHiddenObservable','left','drawing-ui.objectListPanel.typeNames.','localName','IMenuManagerService','UniverProShapeEditorUi','resize','flatMap','resolveShapeTextDocumentRenderLayout','getDrawingSearch','_ribbonService','_contextService','height','isInGroup','strokeOpacity','front','selectable','_adjHandlerPointerUp','drawing-ui.objectListPanel.dragToReorder','_editingParams$','FOCUSING_COMMON_DRAWINGS','BottomIcon','_unitId','ShapeQuickStyleGallery','filter','generateRandomId','UnitObject','_canEditShape','0.8','_docCanvasPopManagerService','setFillImage','_measure','useEffect','RemoveDocDrawingCommand','endOffset','@univerjs-pro/license','_drawRichText','DocumentSkeleton','getContextValue','bottom','drawing-ui.objectListPanel.sectionFloating','_getActiveDrawingShape','useReducer','URL','call','clearAdjustControls','forward','docs-shape-ui.mobile.text','isHorizontal','custom','UniverDocsPlugin','skeFooters','_visible','shapeKey','params','isLineShape','subscribeEvent','fallbackHeight','transform','clearControl$','IPermissionService','CURSOR_TYPE','Arrow','isEditing','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','drawing-ui.objectListPanel.unlockAll','packageName','_updateShape','DocsShapeTextEditorContainer','default','Injector','drawing-ui.objectListPanel.noSelection','setShapeProps','render','beginPath','setDocsCustomBlockRenderViewportProvider','move-up-icon','docs-shape-ui.objectListPanel.title','DocSelectionManagerService','RIBBON','_baseShapeTop','composeMatrix','_applyFormulaAutoFitSize','OFFSET','paragraphId','IDocDrawingService','Documents','next','drawing-ui.objectListPanel.collapse','canDispose','IRibbonService','_initMenu','color','Medium','values','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','getShapeDataById','useId','_getShapeAdjustPointListById','createControl$','_getSceneByUnitId','icon','docs-shape-ui.ribbon.shape-format.arrange-backward','ContextMenuPosition','getImage','6966980hzMeNe','mergeMenu','reduce','docs-shape-ui.insertShape','setContextValue','@univerjs-pro/shape-editor-ui','getTextModel','getViewports','_commandService','paragraphs','COMMAND','createElement','_initSelection','unitId','rect','_shapeTextEditingService','ICommandService','getState','horizontal','_endLayoutInteraction','UniverDrawingUIPlugin','adjHandleStroke','setProperty','TextWrapShapeIcon','getShapeTextRect','multiply','1em','_docsShapeService','FromArray','behindDoc','onDblclick$','_getRenderModules','SHAPE_EDITOR_TRANSFORMER_CONFIG','Inject','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','ContextMenuGroup','setFormulaPresentation','useState','FormulaShapeAnimationController','drawing-ui.objectListPanel.filterLocked','getDrawingDataForUnit','2skHOlg','DocumentDataModel','_registerIcons','contentVerticalOffset','Plugin','adjHandleFill','activeTarget','asObservable','DOCS_COMPONENT_MAIN_LAYER_INDEX','calculate','@univerjs-pro/shape-editor','IImageIoService','replace','UNIVER_SHEET','pages','trim','ImageSourceTypeEnum','endArrow','_update','SetDocDrawingArrangeCommand','removeProperty','isolated','docs-shape-ui.deleteShape','clipByShape','doc.image-clip.shape-picker.component','originalStrokeWidth','updateDocumentDataMargin','docs-shape-ui.textWrap.topAndBottom','_menuManagerService','renderDrawingShape','drawing-ui.objectListPanel.description','connectInjector','_sidebarDisposable','DisposableCollection','parent','subUnitId','transformForAngle','ObjectLayersIcon','useImperativeHandle','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getDrawingEditable','0\x200\x2017\x2016','UniverDocsUIPlugin','ShapeArrowTypeEnum','drawing-ui.objectListPanel.hideAll','shapeText','BehaviorSubject','_closeShapeEditPanel','shape-editor-ui.arrange.backward','_localeService','_canEdit','univer-box-border\x20univer-px-4\x20univer-text-sm','image','resolveShapeTextBodyBehavior','offsetX','docs-shape-ui.ribbon.shape-format.wrapping-style','ShapeTextFloatToolbar','_lastEditingShapeKey','UniverDocs','isRichText','drawing-ui.objectListPanel.nameInput','PARAGRAPH','_getShapeAdjustInfosById','_baseShapeWidth','transformByState','getUnit','buildClipPath','DocsShapeService','prepareShapeTextDocumentData','drawFormulaShapeAnimationLayers','React','disposeWithMe','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','M4.2\x208.3H6.8','MobileShapeEditorControls','length','getLastLine','getDrawingShapeKeyByDrawingSearch','drawing-ui.objectListPanel.lock','drawing-ui.objectListPanel.expand','marginTop','LocaleService','moveRange','univer-grid\x20univer-gap-5\x20univer-p-3','0\x200\x2020\x2020','_updateShapeAdjustControls','getDrawingOrder','docs-shape-ui.openPanel','_props','UniverProEngineShape','_clipService','UniverDrawingUi','_openShapeEditPanel','tag','MEDIA','getPresentation','@univerjs-pro/docs-shape-ui','getMatrix','IconManager','ShapeGroupEnum','span','Circle','move-down-icon','preValue','order','Vector2','prstGeom','drawing-ui.objectListPanel.moveForward','enableObjectsEvent','_registerOperations','_getActiveDrawingParam','keys','shape-editor-ui.toolbar.quickStyles','_mobileEditorService','vectorEffect','useRef','forEach','_hide','includes','getShapeTextData','drawing-ui.objectListPanel.unlock','setEditing','toDisposable','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','MenuManagerPosition','_initUIPart','focusDrawing','MoreUpIcon','DOCS_SHAPE_UI_PLUGIN','doc.shape.text.float-menu','menuRange','_getDependencies','svg','true','drawingId','UniverDocsDrawingUIPlugin','UniverDocsShapeMobileUIPlugin','@univerjs/core','docs-shape-ui.hidePanel','dataModel','ShapeFormatSettingIcon','text','error','onSavingEditorData$','_renderManagerService','indexOf','isHitLine','drawing-ui.objectListPanel.close','_refreshShapeData','_draw','normalizeShapeTextModel','getCurrentTypeOfUnit$','_insertShapes','getPageDrawingIds','_activeShapeInfo','DocsShapeWrapTopBottomIcon','disableShapeOption','WRAP_NONE','transformVector2SceneCoord','registerShapeFormatPainter','offsetY','rxjs','extensionGroups','touchDependencies','_docLayoutInteractionService','some','@univerjs/drawing-ui','LAYOUT','4764056HMjOxC','defIds','useLayoutEffect','translateWithPrecision','getOwnPropertyDescriptor','isRender','_drawShapeText','attachTransformerTo','WRAP_TOP_AND_BOTTOM','Transform','drawing','UniverDesign','amd','0.14','BEHIND_TEXT','useDependency','fillImageSource','name','observe','UpdateDocShapeDataMutation','drawing-ui.objectListPanel.details','max','push','warn','Disposable','DocParagraphMenuService','_updateSrcRectByTransform','ComponentManager','MenuItemType','PRINTING_COMPONENT_COLLECT','enhanceParams','data','InsertDocShapeCommand','docs-shape-ui.shape-format.wrapping-style-label','fillType','setCanUseShapeClip','beginInteraction','angle','getAllRenderersOfType','addObject','getTransformerByCreate','disconnect','@univerjs/docs','0\x200\x2016\x2016','_config','BUTTON','debounceRefreshControls','getDrawingByParam','TextWrappingStyle','doc-shape-adjust-point-','ShapeLineTypeEnum','url(#$1','getRenderUnitById','_loadShapePictureFill','hideContextualTab','delete','refreshFormulaPresentation','docs-shape-ui.textWrap.square','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','oKey','docs-shape-ui.textWrap.inFrontText','displayName','isConnectorShape','getEditing','Image','removeAttribute','DocShapeAnchorPosition','localeService','DrawingImageClipService','_shapeId','docs-shape-ui.textWrap.inline','animationEnabled'];_0x596e=function(){return _0x2bcba6;};return _0x596e();}function _0x3f06(_0x3dd4d9,_0x4cdb6a){_0x3dd4d9=_0x3dd4d9-0x111;const _0x596ed7=_0x596e();let _0x3f063d=_0x596ed7[_0x3dd4d9];return _0x3f063d;}(function(_0x353b68,_0x1b391c){const _0x5e4453=_0x3f06,_0x411324=_0x353b68();while(!![]){try{const _0x21d583=parseInt(_0x5e4453(0x11b))/0x1*(parseInt(_0x5e4453(0x269))/0x2)+-parseInt(_0x5e4453(0x47f))/0x3*(-parseInt(_0x5e4453(0x48d))/0x4)+parseInt(_0x5e4453(0x240))/0x5+-parseInt(_0x5e4453(0x17a))/0x6*(parseInt(_0x5e4453(0x3a3))/0x7)+-parseInt(_0x5e4453(0x412))/0x8+parseInt(_0x5e4453(0x483))/0x9*(-parseInt(_0x5e4453(0x11f))/0xa)+-parseInt(_0x5e4453(0x311))/0xb;if(_0x21d583===_0x1b391c)break;else _0x411324['push'](_0x411324['shift']());}catch(_0x13a3c8){_0x411324['push'](_0x411324['shift']());}}}(_0x596e,0xda8ec),function(_0x1c4b90,_0x4c6cd2){const _0x48913d=_0x3f06;typeof exports==_0x48913d(0x368)&&typeof module<'u'?_0x4c6cd2(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[_0x48913d(0x31d)]?define([_0x48913d(0x3e2),_0x48913d(0x245),_0x48913d(0x468),_0x48913d(0x485),'@univerjs-pro/docs-shape',_0x48913d(0x14e),_0x48913d(0x273),_0x48913d(0x2f2),_0x48913d(0x33b),_0x48913d(0x388),'@univerjs/engine-render',_0x48913d(0x359),_0x48913d(0x30f),'react/jsx-runtime','rxjs',_0x48913d(0x1fa),_0x48913d(0x455),_0x48913d(0x448),_0x48913d(0x3b3),'@univerjs/protocol'],_0x4c6cd2):(_0x1c4b90=typeof globalThis<'u'?globalThis:_0x1c4b90||self,_0x4c6cd2(_0x1c4b90[_0x48913d(0x481)]={},_0x1c4b90[_0x48913d(0x1dc)],_0x1c4b90[_0x48913d(0x178)],_0x1c4b90['UniverUi'],_0x1c4b90['UniverProDocsShape'],_0x1c4b90[_0x48913d(0x2c2)],_0x1c4b90['UniverProShapeEditor'],_0x1c4b90[_0x48913d(0x433)],_0x1c4b90[_0x48913d(0x2a3)],_0x1c4b90[_0x48913d(0x3db)],_0x1c4b90[_0x48913d(0x1cc)],_0x1c4b90['UniverDrawing'],_0x1c4b90[_0x48913d(0x2c4)],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x30a)],_0x1c4b90[_0x48913d(0x3e9)],_0x1c4b90['UniverDocsDrawingUi'],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x31c)],_0x1c4b90[_0x48913d(0x439)]));}(this,function(_0x47b7a8,_0x56d51f,_0x130604,_0x86086d,_0x284855,_0x3becc2,_0x48b72a,_0x47c402,_0x18b339,_0x13d142,_0x54839f,_0x4152b2,_0x459a9e,_0x932776,_0x21926c,_0x2a35ca,_0x1d2176,_0x8303f3,_0x5c76ee,_0xad5fb1){const _0x7db477=_0x3f06;Object[_0x7db477(0x1c8)](_0x47b7a8,Symbol[_0x7db477(0x438)],{'value':_0x7db477(0x48b)});function _0xffe531(_0x540487,_0x2b0c60){const _0x2955a0=_0x7db477;if(_0x2b0c60){if((0x0,_0x3becc2[_0x2955a0(0x34f)])(_0x540487)&&(_0x2b0c60[_0x2955a0(0x407)]||_0x2b0c60['endArrow']))return{'ln':{'startArrow':_0x2b0c60['startArrow']?{'type':_0x3becc2[_0x2955a0(0x294)][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x234)]}:void 0x0,'endArrow':_0x2b0c60[_0x2955a0(0x27a)]?{'type':_0x3becc2['ShapeArrowTypeEnum'][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x41b)]}:void 0x0}};if(_0x540487===_0x3becc2[_0x2955a0(0x3ea)][_0x2955a0(0x449)]&&(_0x2b0c60['horizontal']||_0x2b0c60[_0x2955a0(0x444)]))return(0x0,_0x48b72a[_0x2955a0(0x11d)])({'fill':{'fillType':_0x3becc2[_0x2955a0(0x489)][_0x2955a0(0x3a0)],'color':_0x2955a0(0x138)},'isHorizontal':!!_0x2b0c60[_0x2955a0(0x252)],'stroke':{'lineStrokeType':_0x3becc2[_0x2955a0(0x343)]['SolidLine'],'width':0x1,'color':_0x2955a0(0x148)}});}}function _0x2b60c5(_0x5b6ade,_0x5725c6){const _0xbe6c58=_0x7db477;var _0x1a1c2c;let _0x42204f=_0x5725c6[_0xbe6c58(0x3d6)]??'',_0xc0b76c=(_0x1a1c2c=_0x5b6ade[_0xbe6c58(0x463)](_0x42204f))==null?void 0x0:_0x1a1c2c[_0xbe6c58(0x403)]();if(!_0xc0b76c)return null;let _0x431893=_0xc0b76c[_0xbe6c58(0x249)]??[],_0x5eb87b=_0x431893['find'](_0x511692=>{const _0x152686=_0xbe6c58;let _0x20ca6a=(0x0,_0x47c402[_0x152686(0x3cd)])(_0xc0b76c,_0x511692);return _0x5725c6[_0x152686(0x41a)]>=_0x20ca6a&&_0x5725c6[_0x152686(0x41a)]<=_0x511692[_0x152686(0x3e8)];})??_0x431893[_0x431893[_0xbe6c58(0x2b4)]-0x1];return _0x5eb87b?{'paragraphId':_0x5eb87b[_0xbe6c58(0x22b)],'segmentId':_0x42204f,'position':_0x284855[_0xbe6c58(0x353)][_0xbe6c58(0x22a)],'offset':_0x5725c6[_0xbe6c58(0x41a)]-(0x0,_0x47c402[_0xbe6c58(0x3cd)])(_0xc0b76c,_0x5eb87b)}:null;}function _0x48e532(_0x5dc0bd,_0x292648,_0x508e0e){const _0x45e397=_0x7db477;var _0x24058f,_0x113b05;if(!_0x508e0e)return null;let _0x54182d=(_0x24058f=_0x5dc0bd[_0x45e397(0x45e)](_0x54839f[_0x45e397(0x173)])[_0x45e397(0x345)](_0x292648))==null?void 0x0:_0x24058f[_0x45e397(0x459)](_0x130604[_0x45e397(0x32a)])[_0x45e397(0x26f)];if(!_0x54182d)return null;let _0x1e6d81=_0x508e0e==='below'?{'startOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)],'endOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)]}:_0x54182d[_0x45e397(0x2eb)];return{'startOffset':_0x1e6d81[_0x45e397(0x41a)],'endOffset':_0x1e6d81['endOffset'],'collapsed':_0x1e6d81[_0x45e397(0x41a)]===_0x1e6d81[_0x45e397(0x1f9)],'segmentId':((_0x113b05=_0x54182d['paragraph'])==null?void 0x0:_0x113b05[_0x45e397(0x3d6)])??''};}let _0x4654b3={'type':_0x47c402[_0x7db477(0x165)]['COMMAND'],'id':_0x7db477(0x1bd),'handler':async(_0x23ea01,_0xde4998)=>{const _0xe6f3d=_0x7db477;let _0x4954be=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x191)])[_0xe6f3d(0x47e)](_0x47c402['UniverInstanceType'][_0xe6f3d(0x486)]);if(!_0x4954be)return!0x1;let _0x1da3fc=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x250)]),_0x2abe32=_0x4954be[_0xe6f3d(0x38c)](),_0xeff554=_0xde4998[_0xe6f3d(0x424)]??(0x0,_0x47c402[_0xe6f3d(0x1f0)])(),_0x15ad1f=_0xde4998[_0xe6f3d(0x19f)]??_0x284855[_0xe6f3d(0x431)],_0x27802b=_0xde4998[_0xe6f3d(0x1e3)]??_0x284855[_0xe6f3d(0x487)],_0x4f797f=_0xde4998[_0xe6f3d(0x441)]??_0xffe531(_0xde4998[_0xe6f3d(0x1c6)],_0xde4998[_0xe6f3d(0x32f)]),_0x353b2c=_0x48e532(_0x23ea01,_0x2abe32,_0xde4998[_0xe6f3d(0x49a)])??_0x23ea01['get'](_0x18b339[_0xe6f3d(0x225)])[_0xe6f3d(0x19a)]();if(!_0x353b2c)return!0x1;let _0x5c4e57=_0x2b60c5(_0x4954be,_0x353b2c);return _0x5c4e57?!!_0x1da3fc[_0xe6f3d(0x17e)](_0x284855[_0xe6f3d(0x331)]['id'],{'unitId':_0x2abe32,'shapeId':_0xeff554,'shapeType':_0xde4998[_0xe6f3d(0x1c6)],'shapeData':_0x4f797f,'transform':{'width':_0x15ad1f,'height':_0x27802b},'placement':{'wrappingStyle':_0x13d142[_0xe6f3d(0x341)]['INLINE'],'anchor':_0x5c4e57}}):!0x1;}},_0x52a209=_0x7db477(0x45f),_0x2bcc29='docs-shape-ui.ribbon.shape-format',_0x4378d7='doc.shape.object-list.panel',_0x4e500d=(0x0,_0x47c402['createInternalEditorID'])('SHAPE_TEXT'),_0x469608=_0x7db477(0x2ea),_0x3a6f6f=_0x7db477(0x21b),_0x3c123e={'id':'doc.operation.open-shape-object-list-panel','type':_0x47c402['CommandType'][_0x7db477(0x24a)],'handler':(_0x15c3d6,_0x20d87e)=>{const _0x4c859b=_0x7db477;let _0x47f21c=_0x15c3d6[_0x4c859b(0x45e)](_0x86086d['ISidebarService']),_0x4def23=_0x15c3d6[_0x4c859b(0x45e)](_0x47c402['LocaleService']),_0x5273b9=_0x15c3d6[_0x4c859b(0x45e)](_0x4152b2['IDrawingManagerService']);return(_0x20d87e==null?void 0x0:_0x20d87e[_0x4c859b(0x1c6)])===_0x4c859b(0x172)?(_0x47f21c['close'](_0x4378d7),!0x0):(_0x47f21c['open']({'id':_0x4378d7,'header':{'title':_0x4def23['t'](_0x4c859b(0x224))},'children':{'label':_0x4378d7},'onClose':()=>{const _0xf18beb=_0x4c859b;_0x5273b9[_0xf18beb(0x2e7)](null);},'width':0x168}),!0x0);}},_0x39980d={'type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'id':_0x7db477(0x409),'handler'(){return!0x0;}};function _0x1dc900(_0x14980c){const _0x57881c=_0x7db477;let _0x83e026=_0x14980c['get'](_0x4152b2[_0x57881c(0x1a4)])[_0x57881c(0x3b6)](),_0x3edbd7=_0x83e026['length']===0x1?_0x83e026[0x0]:null;if(!_0x3edbd7||_0x3edbd7[_0x57881c(0x3bc)]!==_0x47c402[_0x57881c(0x472)][_0x57881c(0x427)])return null;let _0x278219=_0x14980c['get'](_0x284855[_0x57881c(0x2ac)]),_0xa4c8a4=_0x278219[_0x57881c(0x15e)](_0x3edbd7['unitId'],_0x3edbd7[_0x57881c(0x28c)],_0x3edbd7[_0x57881c(0x2ef)]),_0x2523b3=_0x278219['getShapeDataById'](_0x3edbd7[_0x57881c(0x24d)],_0x3edbd7['subUnitId'],_0x3edbd7[_0x57881c(0x2ef)]);return _0xa4c8a4===void 0x0||!_0x2523b3?null:{'drawing':_0x3edbd7,'shapeData':_0x2523b3,'shapeType':_0xa4c8a4};}let _0x5bf868={'id':_0x7db477(0x3c2),'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'handler':(_0x17b86d,_0x59f595)=>{const _0x4adf06=_0x7db477;let _0x31607d=_0x1dc900(_0x17b86d),_0x124dc6=(0x0,_0x48b72a[_0x4adf06(0x35b)])((_0x59f595==null?void 0x0:_0x59f595['presetId'])??(_0x59f595==null?void 0x0:_0x59f595['value'])??'');if(!_0x31607d||!_0x124dc6||_0x124dc6[_0x4adf06(0x139)]!==(0x0,_0x48b72a[_0x4adf06(0x1cf)])(_0x31607d[_0x4adf06(0x441)]))return!0x1;let _0x4f4ef9=(0x0,_0x48b72a[_0x4adf06(0x413)])(_0x31607d[_0x4adf06(0x441)],_0x124dc6);if(!_0x4f4ef9)return!0x1;let {drawing:_0x240452}=_0x31607d;return _0x17b86d[_0x4adf06(0x45e)](_0x47c402[_0x4adf06(0x250)])[_0x4adf06(0x467)](_0x284855[_0x4adf06(0x3bf)]['id'],{'unitId':_0x240452[_0x4adf06(0x24d)],'shapeId':_0x240452[_0x4adf06(0x2ef)],'shapeData':_0x4f4ef9,'oldShapeJSON':{'oldShapeData':_0x31607d['shapeData']}});}},_0x58df16={'id':'doc.operation.update-shape-type','type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'handler':(_0x4511ed,_0x2cfa2d)=>{const _0x4020f1=_0x7db477;let _0x21265f=_0x1dc900(_0x4511ed),_0x3597b5=(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x49e)])??(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x1c6)]);if(!_0x21265f||!_0x3597b5||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x21265f[_0x4020f1(0x49e)])||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x3597b5))return!0x1;let _0x36c0cc=(0x0,_0x48b72a[_0x4020f1(0x1a3)])(_0x21265f['shapeData'],_0x3597b5);if(!_0x36c0cc)return!0x1;let {drawing:_0x120b0c}=_0x21265f;return _0x4511ed['get'](_0x47c402[_0x4020f1(0x250)])['executeCommand'](_0x284855[_0x4020f1(0x3bf)]['id'],{'unitId':_0x120b0c[_0x4020f1(0x24d)],'shapeId':_0x120b0c[_0x4020f1(0x2ef)],'shapeType':_0x3597b5,'shapeData':_0x36c0cc,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x21265f[_0x4020f1(0x49e)],'oldShapeData':_0x21265f[_0x4020f1(0x441)]}});}};function _0x15d88a(_0x52ca52,_0x2b0495){return function(_0x2a2dd0,_0x13a8c3){_0x2b0495(_0x2a2dd0,_0x13a8c3,_0x52ca52);};}function _0x1cbdb5(_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1){const _0xb857e7=_0x7db477;var _0x1cfd0e=arguments[_0xb857e7(0x2b4)],_0x449d93=_0x1cfd0e<0x3?_0x49031b:_0x4ec7d1===null?_0x4ec7d1=Object[_0xb857e7(0x315)](_0x49031b,_0x30922d):_0x4ec7d1,_0x5e9115;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xb857e7(0x38d))_0x449d93=Reflect['decorate'](_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1);else{for(var _0x4b3f40=_0x1f352[_0xb857e7(0x2b4)]-0x1;_0x4b3f40>=0x0;_0x4b3f40--)(_0x5e9115=_0x1f352[_0x4b3f40])&&(_0x449d93=(_0x1cfd0e<0x3?_0x5e9115(_0x449d93):_0x1cfd0e>0x3?_0x5e9115(_0x49031b,_0x30922d,_0x449d93):_0x5e9115(_0x49031b,_0x30922d))||_0x449d93);}return _0x1cfd0e>0x3&&_0x449d93&&Object[_0xb857e7(0x1c8)](_0x49031b,_0x30922d,_0x449d93),_0x449d93;}let _0x1471d7=class extends _0x47c402['Disposable']{constructor(_0x389036,_0x500e17){const _0x485411=_0x7db477;super(),this['_clipService']=_0x389036,this[_0x485411(0x369)]=_0x500e17,this['_registerImageShapeClipDelegate'](),this[_0x485411(0x2c3)][_0x485411(0x334)](!0x0),this[_0x485411(0x2b0)]({'dispose':()=>this['_clipService'][_0x485411(0x334)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1689ab=_0x7db477;let _0xe164e5=new Map(),_0x344a9a=this['_clipService'][_0x1689ab(0x384)]((_0x120375,_0x195670,_0x47d0af,_0xea2061,_0x3ec7f4)=>{const _0x39fdba=_0x1689ab;let _0x228fb6=_0x195670;if(_0x228fb6===_0x3becc2['ShapeTypeEnum']['None']||_0x195670===_0x39fdba(0x208))return!0x1;try{let _0x354203=_0xe164e5[_0x39fdba(0x45e)](_0x195670);return _0x354203||(_0x354203=new _0x3becc2['ShapeModel'](_0x228fb6,'clip-'+_0x195670),_0xe164e5[_0x39fdba(0x3fc)](_0x195670,_0x354203)),_0x354203['clearAdjustValue'](),_0x3ec7f4&&Object[_0x39fdba(0x2d8)](_0x3ec7f4)[_0x39fdba(0x2b4)]>0x0&&_0x354203[_0x39fdba(0x3c4)]({'adjustValues':_0x3ec7f4},!0x0),_0x354203['updateContext']({'width':_0x47d0af,'height':_0xea2061}),_0x354203[_0x39fdba(0x2ab)](_0x120375,{'left':0x0,'top':0x0,'width':_0x47d0af,'height':_0xea2061});}catch{return!0x1;}});this[_0x1689ab(0x2b0)](_0x344a9a),this[_0x1689ab(0x2b0)]({'dispose':()=>_0xe164e5[_0x1689ab(0x3fe)]()});}[_0x7db477(0x280)](_0x3e5ae7,_0x3ab461,_0x48ab3d,_0x3bb4e1,_0x243ddf){const _0x7a1268=_0x7db477;let _0x15f320=this[_0x7a1268(0x369)][_0x7a1268(0x18f)](_0x3e5ae7,_0x3ab461)[_0x48ab3d];_0x15f320&&_0x15f320[_0x7a1268(0x3bc)]===_0x47c402['DrawingTypeEnum'][_0x7a1268(0x19d)]&&this[_0x7a1268(0x369)][_0x7a1268(0x3ed)]([{..._0x15f320,'prstGeom':_0x3bb4e1,'adjustValues':_0x243ddf}]);}};_0x1471d7=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x459a9e[_0x7db477(0x355)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x4152b2[_0x7db477(0x1a4)]))],_0x1471d7);let _0xc138a4='doc.shape.picker.component',_0x5e6476=_0x7db477(0x281);function _0x58d0e7({onShapeClick:_0x58eeb0,excludeGroups:_0x4e87c5}){const _0x311dee=_0x7db477;return(0x0,_0x932776[_0x311dee(0x476)])(_0x56d51f[_0x311dee(0x3f5)],{'excludeGroups':_0x4e87c5,'onShapeClick':_0x58eeb0,'scrollContainer':_0x311dee(0x28b)});}function _0x2ede24(){const _0x486420=_0x7db477;let _0x5c4f11=(0x0,_0x86086d[_0x486420(0x320)])(_0x4152b2[_0x486420(0x1a4)]),_0x12bf03=(0x0,_0x86086d[_0x486420(0x320)])(_0x1471d7);return _0x1ef8d7=>{const _0x5674b1=_0x486420;let _0x53e340=_0x5c4f11[_0x5674b1(0x3b6)]()[_0x5674b1(0x363)](_0x2b1b4c=>_0x2b1b4c[_0x5674b1(0x3bc)]===_0x47c402[_0x5674b1(0x472)][_0x5674b1(0x19d)]);_0x53e340&&_0x12bf03[_0x5674b1(0x280)](_0x53e340[_0x5674b1(0x24d)],_0x53e340[_0x5674b1(0x28c)],_0x53e340[_0x5674b1(0x2ef)],_0x1ef8d7[_0x5674b1(0x139)]);};}function _0x50210b(){const _0x5742fb=_0x7db477;let _0x1bcd25=_0x2ede24();return(0x0,_0x932776['jsx'])(_0x56d51f[_0x5742fb(0x3d7)],{'buttonLabel':_0x5742fb(0x140),'excludeGroups':[_0x56d51f[_0x5742fb(0x2cc)][_0x5742fb(0x458)]],'onShapeClick':_0x1bcd25});}function _0x34fc80(){const _0x3ec43a=_0x7db477;let _0x56911a=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x86086d[_0x3ec43a(0x32c)]),_0x3c82d9=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x4152b2[_0x3ec43a(0x1a4)]),_0x58fd2f=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x3ec43a(0x191)]),_0x355011=_0x3c82d9['getFocusDrawings']()[0x0],_0x3c301a=_0x355011?_0x58fd2f[_0x3ec43a(0x145)](_0x355011[_0x3ec43a(0x24d)]):void 0x0,_0x76e0d0=_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x486)]?_0x5e6476:_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x276)]?'sheet.image-clip.shape-picker.component':void 0x0,_0xef72ed=_0x76e0d0?_0x56911a[_0x3ec43a(0x45e)](_0x76e0d0):void 0x0;return _0xef72ed?(0x0,_0x932776['jsx'])(_0xef72ed,{}):null;}function _0x3be8f4({paragraphMenuPlacement:_0x165b61,PickerComponent:_0x2c5fb8=_0x58d0e7}){const _0x5660e5=_0x7db477;let _0x4daa1d=(0x0,_0x86086d['useDependency'])(_0x47c402['ICommandService']);return(0x0,_0x932776[_0x5660e5(0x476)])(_0x2c5fb8,{'onShapeClick':_0x42460c=>{const _0x44d26a=_0x5660e5;_0x4daa1d[_0x44d26a(0x467)](_0x4654b3['id'],{'paragraphMenuPlacement':_0x165b61,'value':_0x42460c[_0x44d26a(0x139)],'enhanceParams':{'endArrow':_0x42460c[_0x44d26a(0x27a)],'startArrow':_0x42460c[_0x44d26a(0x407)],'horizontal':_0x42460c['horizontal'],'vertical':_0x42460c['vertical']}});}});}function _0xc5dc5b(_0x2ae39c){const _0x56258b=_0x7db477;return _0x1511ce=>({'id':_0x4654b3['id'],'type':_0x86086d[_0x56258b(0x32d)][_0x56258b(0x382)],'selections':[{'label':{'name':_0xc138a4,'hoverable':!0x1,'selectable':!0x1,'props':_0x2ae39c?{'id':_0x4654b3['id'],'paragraphMenuPlacement':_0x2ae39c}:{'id':_0x4654b3['id']}}}],'icon':'ShapeIcon','title':_0x56258b(0x243),'tooltip':_0x56258b(0x243),'hidden$':(0x0,_0x86086d[_0x56258b(0x1d7)])(_0x1511ce,_0x47c402['UniverInstanceType'][_0x56258b(0x486)])});}let _0x287851=_0xc5dc5b(),_0x2f28bc=_0xc5dc5b('below'),_0x1f07e9=_0xc5dc5b(_0x7db477(0x16d));function _0x2f690f(_0x42ae86){const _0x8d5e04=_0x7db477;return{'id':_0x3c123e['id'],'type':_0x86086d[_0x8d5e04(0x32d)][_0x8d5e04(0x33e)],'icon':_0x8d5e04(0x28e),'title':'docs-shape-ui.objectListPanel.open','tooltip':_0x8d5e04(0x13d),'hidden$':(0x0,_0x86086d[_0x8d5e04(0x1d7)])(_0x42ae86,_0x47c402[_0x8d5e04(0x1aa)][_0x8d5e04(0x486)])};}function _0x59074d(_0x4a1069,_0x16ba35,_0x4b552d,_0x41aec3,_0x3b302b,_0x11e296){const _0x205211=_0x7db477;let _0x3649de={'unitId':_0x16ba35,'shapeId':_0x41aec3,'shapeData':_0x11e296,'oldShapeJSON':_0x3b302b};return _0x4a1069[_0x205211(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],_0x3649de);}function _0x205aee(_0x2fd570,_0x2b138c,_0x1b9dc2,_0x2e75a1,_0x566bc5,_0xb12dc0){const _0x177924=_0x7db477;let _0x1a2592={'unitId':_0x2b138c,'shapeId':_0x2e75a1,'shapeData':_0xb12dc0,'oldShapeJSON':_0x566bc5};return _0x2fd570[_0x177924(0x467)](_0x284855[_0x177924(0x3bf)]['id'],_0x1a2592);}let _0x560d2a=_0x7db477(0x40a),_0x4850a6=_0x7db477(0x11e),_0x19a0d7='docs-shape-ui.shape-format.text-ribbon-control',_0x2084e0=_0x7db477(0x1a9),_0x5ac958=_0x7db477(0x332),_0x2979c9=[{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x1ab)],'label':'docs-shape-ui.textWrap.inline','icon':_0x7db477(0x39d)},{'value':_0x13d142[_0x7db477(0x341)]['WRAP_SQUARE'],'label':_0x7db477(0x34a),'icon':_0x7db477(0x137)},{'value':_0x13d142['TextWrappingStyle'][_0x7db477(0x319)],'label':_0x7db477(0x284),'icon':_0x7db477(0x304)},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x31f)],'label':'docs-shape-ui.textWrap.behindText','icon':'DocsShapeWrapBehindTextIcon'},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x3d9)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x7db477(0x43c)}];function _0x490714(){const _0x5d39f8=_0x7db477;let _0x265fd9=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x47c402['ICommandService']),_0x219a6b=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x4152b2[_0x5d39f8(0x1a4)]),_0x2aa699=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x284855[_0x5d39f8(0x2ac)]),_0x26d0f7=()=>{const _0x268939=_0x5d39f8;var _0x4a7e4f;let _0x5d7384=_0x219a6b['getFocusDrawings']();if(_0x5d7384['length']!==0x1||((_0x4a7e4f=_0x5d7384[0x0])==null?void 0x0:_0x4a7e4f[_0x268939(0x3bc)])!==_0x47c402[_0x268939(0x472)][_0x268939(0x427)])return null;let {unitId:_0x3f1428,subUnitId:_0x36b3e8,drawingId:_0x1da3f8}=_0x5d7384[0x0],_0x4e5159=_0x2aa699[_0x268939(0x15e)](_0x3f1428,_0x36b3e8,_0x1da3f8),_0x7afb97=_0x2aa699[_0x268939(0x237)](_0x3f1428,_0x36b3e8,_0x1da3f8);return _0x4e5159===void 0x0||!_0x7afb97?null:{'unitId':_0x3f1428,'subUnitId':_0x36b3e8,'drawingId':_0x1da3f8,'shapeType':_0x4e5159,'shapeData':_0x7afb97};},_0x416d53=(0x0,_0x86086d[_0x5d39f8(0x3cf)])(()=>new _0x21926c[(_0x5d39f8(0x16b))](_0x3bc57c=>{const _0x304f4d=_0x5d39f8;let _0xf4a60a=()=>_0x3bc57c[_0x304f4d(0x22e)](_0x26d0f7()),_0x5c874e=_0x219a6b[_0x304f4d(0x48c)][_0x304f4d(0x146)](_0xf4a60a),_0x2dc94a=_0x265fd9[_0x304f4d(0x187)](_0x2b7f42=>{const _0x4293cd=_0x304f4d;_0x2b7f42['id']===_0x284855[_0x4293cd(0x324)]['id']&&_0xf4a60a();});return _0xf4a60a(),()=>{const _0x53160e=_0x304f4d;_0x5c874e[_0x53160e(0x158)](),_0x2dc94a[_0x53160e(0x18c)]();};}),_0x26d0f7(),!0x1,[_0x265fd9,_0x2aa699,_0x219a6b]);return{'selection':_0x416d53,'updateShapeData':_0x4df35d=>{const _0x5a5ca4=_0x5d39f8;_0x416d53&&_0x59074d(_0x265fd9,_0x416d53[_0x5a5ca4(0x24d)],_0x416d53[_0x5a5ca4(0x28c)],_0x416d53[_0x5a5ca4(0x2ef)],{'oldShapeData':_0x416d53[_0x5a5ca4(0x441)]},_0x4df35d);}};}function _0x532467(){const _0x4fc816=_0x7db477;let {selection:_0x38fdd3,updateShapeData:_0x4b0d7b}=_0x490714();return _0x38fdd3?(0x0,_0x932776[_0x4fc816(0x476)])(_0x56d51f[_0x4fc816(0x367)],{'shapeData':_0x38fdd3[_0x4fc816(0x441)],'shapeType':_0x38fdd3[_0x4fc816(0x49e)],'onUpdateShapeData':_0x4b0d7b}):null;}function _0x533993(){const _0x58799e=_0x7db477;let _0x11816f=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x250)]),_0x31a77d=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x2ba)]),{selection:_0x261a18}=_0x490714();return _0x261a18?(0x0,_0x932776[_0x58799e(0x476)])(_0x56d51f[_0x58799e(0x1ee)],{'type':(0x0,_0x48b72a[_0x58799e(0x1cf)])(_0x261a18[_0x58799e(0x441)]),'ariaLabel':_0x31a77d['t'](_0x58799e(0x365)),'activePresetId':(0x0,_0x48b72a[_0x58799e(0x3e6)])(_0x261a18[_0x58799e(0x441)]),'onSelect':_0x46327c=>_0x11816f[_0x58799e(0x467)](_0x5bf868['id'],{'presetId':_0x46327c})}):null;}function _0x5e650e(){const _0x7dc1f3=_0x7db477;let {selection:_0x32121e,updateShapeData:_0x2837a4}=_0x490714();return _0x32121e?(0x0,_0x932776[_0x7dc1f3(0x476)])(_0x56d51f['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x7dc1f3(0x133),'shapeData':_0x32121e[_0x7dc1f3(0x441)],'onUpdateShapeData':_0x2837a4}):null;}function _0x14a76c(){const _0x55ecdd=_0x7db477;var _0x5d1cd1;let {selection:_0x5d26a5,updateShapeData:_0x17f5e2}=_0x490714(),_0x59014f=(0x0,_0x56d51f['useFormulaShapeToolbar'])({'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x24d)])??'','subUnitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x28c)])??'','shapeId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x2ef)])??'','shapeData':_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x441)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x55ecdd(0x1fe),'onUpdateBinding':_0x412da0=>_0x17f5e2({'formulaBinding':_0x412da0})}),_0x5f472e=((_0x5d1cd1=_0x59014f[_0x55ecdd(0x30b)])==null?void 0x0:_0x5d1cd1[_0x55ecdd(0x1de)](_0x1a10c3=>_0x1a10c3[_0x55ecdd(0x195)])[_0x55ecdd(0x1ef)](_0x2f3f26=>_0x2f3f26['visible']!==!0x1))??[];return _0x5d26a5!=null&&_0x5d26a5['shapeData'][_0x55ecdd(0x3d0)]?(0x0,_0x932776[_0x55ecdd(0x476)])(_0x56d51f[_0x55ecdd(0x493)],{'actions':_0x5f472e,'panel':_0x59014f['panel']}):null;}function _0x45324f({value:_0x3f91ac}){const _0x4a1736=_0x7db477;let _0x1a3e09=(0x0,_0x86086d[_0x4a1736(0x320)])(_0x47c402[_0x4a1736(0x2ba)]),_0x2fc29c=_0x2979c9[_0x4a1736(0x363)](_0x38eed0=>_0x38eed0[_0x4a1736(0x1c6)]===_0x3f91ac)??_0x2979c9[0x0];return _0x2fc29c?(0x0,_0x932776[_0x4a1736(0x476)])(_0x4a1736(0x2cd),{'children':_0x1a3e09['t'](_0x2fc29c[_0x4a1736(0x166)])}):null;}let _0x2184b3='docs-shape-ui.ribbon.shape-format.style-control',_0x507dea=_0x7db477(0x1be),_0x2355bf='docs-shape-ui.ribbon.shape-format.formula-control',_0x3e66f1=_0x7db477(0x3a1),_0x8b18ed=_0x7db477(0x23d),_0x147939='docs-shape-ui.ribbon.shape-format.arrange-front',_0x48673f=_0x7db477(0x18d),_0xaf97ed=_0x7db477(0x2a0);function _0x3fa344(_0x1a4de2){const _0x36b6e8=_0x7db477;let _0x2552af=_0x1a4de2[_0x36b6e8(0x45e)](_0x47c402['ICommandService']),_0x2085a7=_0x1a4de2[_0x36b6e8(0x45e)](_0x4152b2[_0x36b6e8(0x1a4)]),_0xb7d451=_0x1a4de2[_0x36b6e8(0x45e)](_0x284855[_0x36b6e8(0x2ac)]);return new _0x21926c[(_0x36b6e8(0x16b))](_0x12a98f=>{const _0x520239=_0x36b6e8;let _0x3460a9=()=>{const _0xa793dd=_0x3f06;let _0x4e44fb=_0x4648f7(_0x1a4de2),_0x282ec3=_0x4e44fb?_0xb7d451[_0xa793dd(0x237)](_0x4e44fb[_0xa793dd(0x24d)],_0x4e44fb[_0xa793dd(0x28c)],_0x4e44fb['drawingId']):null;_0x12a98f[_0xa793dd(0x22e)](_0x282ec3?(0x0,_0x48b72a[_0xa793dd(0x3e6)])(_0x282ec3)??'':'');},_0xba82d9=_0x2085a7['focus$'][_0x520239(0x146)](_0x3460a9),_0x47b37b=_0x2552af[_0x520239(0x187)](_0x4b07fe=>{const _0x99b4ab=_0x520239;_0x4b07fe['id']===_0x284855[_0x99b4ab(0x324)]['id']&&_0x3460a9();});return _0x3460a9(),()=>{const _0x5a47a6=_0x520239;_0xba82d9[_0x5a47a6(0x158)](),_0x47b37b[_0x5a47a6(0x18c)]();};});}function _0x4648f7(_0x54d16a){const _0x4e9942=_0x7db477;var _0x15340e;let _0x57df39=_0x54d16a[_0x4e9942(0x45e)](_0x4152b2[_0x4e9942(0x1a4)])[_0x4e9942(0x3b6)]();return _0x57df39[_0x4e9942(0x2b4)]===0x1&&((_0x15340e=_0x57df39[0x0])==null?void 0x0:_0x15340e[_0x4e9942(0x3bc)])===_0x47c402[_0x4e9942(0x472)][_0x4e9942(0x427)]?_0x57df39[0x0]:null;}function _0x390bbe(_0x53efe2){const _0x30e278=_0x7db477;return(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x306)]?_0x53efe2[_0x30e278(0x25d)]===_0x47c402[_0x30e278(0x159)][_0x30e278(0x199)]?_0x13d142[_0x30e278(0x341)]['BEHIND_TEXT']:_0x13d142['TextWrappingStyle'][_0x30e278(0x3d9)]:(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x181)]?_0x13d142[_0x30e278(0x341)]['WRAP_SQUARE']:(_0x53efe2==null?void 0x0:_0x53efe2[_0x30e278(0x479)])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x319)]?_0x13d142[_0x30e278(0x341)][_0x30e278(0x319)]:_0x13d142[_0x30e278(0x341)]['INLINE'];}function _0x506810(_0x54ba55){const _0x408d37=_0x7db477;let _0x3bf9f0=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x250)]),_0x305025=_0x54ba55[_0x408d37(0x45e)](_0x4152b2[_0x408d37(0x1a4)]),_0x1e8d69=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x191)]);return new _0x21926c['Observable'](_0x2f507c=>{const _0xc209de=_0x408d37;let _0x304ece=()=>{const _0x2b0cb3=_0x3f06;var _0x4052c4;let _0x5b60b6=_0x4648f7(_0x54ba55),_0x592c39=_0x5b60b6?_0x1e8d69['getUnit'](_0x5b60b6[_0x2b0cb3(0x24d)],_0x47c402[_0x2b0cb3(0x1aa)][_0x2b0cb3(0x486)]):void 0x0;_0x2f507c[_0x2b0cb3(0x22e)](_0x390bbe(_0x5b60b6?_0x592c39==null||(_0x4052c4=_0x592c39['getSnapshot']()[_0x2b0cb3(0x453)])==null?void 0x0:_0x4052c4[_0x5b60b6['drawingId']]:void 0x0));},_0x42c632=_0x305025[_0xc209de(0x48c)][_0xc209de(0x146)](_0x304ece),_0x1d8ad5=_0x3bf9f0[_0xc209de(0x187)](_0x28d4bd=>{_0x28d4bd['id']===_0x18b339['RichTextEditingMutation']['id']&&_0x304ece();});return _0x304ece(),()=>{const _0x2fa717=_0xc209de;_0x42c632['unsubscribe'](),_0x1d8ad5[_0x2fa717(0x18c)]();};})[_0x408d37(0x12a)]((0x0,_0x21926c[_0x408d37(0x42e)])());}function _0x4a1498(_0x29a13d,_0x29f4d7=!0x1){const _0x2ae55f=_0x7db477;let _0x44a6e7=_0x29a13d[_0x2ae55f(0x45e)](_0x47c402[_0x2ae55f(0x250)]),_0x4735df=_0x29a13d[_0x2ae55f(0x45e)](_0x4152b2[_0x2ae55f(0x1a4)]),_0x3333d9=_0x29a13d[_0x2ae55f(0x45e)](_0x284855[_0x2ae55f(0x2ac)]);return new _0x21926c[(_0x2ae55f(0x16b))](_0x434d9f=>{const _0x5c072f=_0x2ae55f;let _0x3e825d=()=>{const _0x5baf28=_0x3f06;let _0x1d3550=_0x4648f7(_0x29a13d);if(!_0x1d3550){_0x434d9f['next'](!0x0);return;}let _0x4e7716=_0x3333d9[_0x5baf28(0x237)](_0x1d3550[_0x5baf28(0x24d)],_0x1d3550['subUnitId'],_0x1d3550[_0x5baf28(0x2ef)]);_0x434d9f[_0x5baf28(0x22e)](!_0x4e7716||_0x29f4d7&&_0x4e7716['formulaBinding']==null);},_0x1ce144=_0x4735df[_0x5c072f(0x48c)][_0x5c072f(0x146)](_0x3e825d),_0x492b7f=_0x44a6e7[_0x5c072f(0x187)](_0x269d8a=>{const _0x393260=_0x5c072f;_0x269d8a['id']===_0x284855[_0x393260(0x324)]['id']&&_0x3e825d();});return _0x3e825d(),()=>{const _0x2009d6=_0x5c072f;_0x1ce144[_0x2009d6(0x158)](),_0x492b7f[_0x2009d6(0x18c)]();};});}function _0x16c615(_0x2a99fc){const _0x415728=_0x7db477;let _0x519b36=_0x2a99fc[_0x415728(0x45e)](_0x4152b2['IDrawingManagerService']),_0x2b1e76=_0x2a99fc[_0x415728(0x45e)](_0x284855['DocsShapeService']);return _0x519b36[_0x415728(0x48c)][_0x415728(0x12a)]((0x0,_0x21926c['startWith'])(_0x519b36[_0x415728(0x3b6)]()),(0x0,_0x21926c[_0x415728(0x3b4)])(()=>{const _0x4b5572=_0x415728;let _0x3efce6=_0x4648f7(_0x2a99fc),_0xea1805=_0x3efce6?_0x2b1e76['getShapeTypeById'](_0x3efce6['unitId'],_0x3efce6['subUnitId'],_0x3efce6['drawingId']):void 0x0;return _0xea1805===void 0x0||(0x0,_0x3becc2[_0x4b5572(0x34f)])(_0xea1805);}));}function _0x1a15c1(_0x540f8e){const _0x3f1785=_0x7db477;return{'id':_0x5bf868['id'],'type':_0x86086d[_0x3f1785(0x32d)][_0x3f1785(0x382)],'icon':_0x3f1785(0x390),'title':_0x3f1785(0x2d9),'tooltip':_0x3f1785(0x2d9),'selections':[{'label':{'name':_0x560d2a,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3fa344(_0x540f8e),'hidden$':_0x4a1498(_0x540f8e)};}function _0x2f8034(_0x241078){const _0x2c9394=_0x7db477;return{'id':_0x58df16['id'],'type':_0x86086d['MenuItemType'][_0x2c9394(0x382)],'icon':'ShapeIcon','title':_0x2c9394(0x3f9),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x56d51f['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x16c615(_0x241078)};}function _0xea25f2(_0x19618,_0x5e94d5,_0xd832cf=!0x1){const _0x5ef637=_0x7db477;return _0x31bea7=>({'id':_0x19618,'type':_0x86086d[_0x5ef637(0x32d)][_0x5ef637(0x33e)],'label':{'name':_0x5e94d5,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x4a1498(_0x31bea7,_0xd832cf)});}let _0x39ac22=_0xea25f2(_0x2184b3,_0x4850a6),_0x5e4760=_0xea25f2(_0x507dea,_0x19a0d7),_0x592943=_0xea25f2(_0x2355bf,_0x2084e0,!0x0);function _0x4c61d6(_0x322948){const _0x4e22ab=_0x7db477;return{'id':_0xaf97ed,'type':_0x86086d[_0x4e22ab(0x32d)]['SELECTOR'],'icon':_0x2979c9[0x0][_0x4e22ab(0x23c)],'label':_0x5ac958,'selectionsCommandId':_0x13d142[_0x4e22ab(0x383)]['id'],'selections':_0x2979c9[_0x4e22ab(0x3b4)](({icon:_0x62d4ab,label:_0x38ec6e,value:_0x1c2fad})=>({'value':_0x1c2fad,'label':_0x38ec6e,'icon':_0x62d4ab,'params':()=>{const _0x32959f=_0x4e22ab;let _0x1b1861=_0x4648f7(_0x322948);return _0x1b1861?{'unitId':_0x1b1861[_0x32959f(0x24d)],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawings':[{'unitId':_0x1b1861['unitId'],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawingId':_0x1b1861[_0x32959f(0x2ef)]}],'wrappingStyle':_0x1c2fad}:void 0x0;}})),'value$':_0x506810(_0x322948),'hidden$':_0x4a1498(_0x322948)};}function _0x2d3256(_0x444412,_0x3886ba,_0x5a9146,_0x414f69){const _0x4785fb=_0x7db477;return _0x460a89=>({'id':_0x444412,'commandId':_0x13d142['SetDocDrawingArrangeCommand']['id'],'type':_0x86086d[_0x4785fb(0x32d)][_0x4785fb(0x33e)],'icon':_0x5a9146,'title':_0x414f69,'tooltip':_0x414f69,'hidden$':_0x4a1498(_0x460a89),'params':()=>{const _0x5719df=_0x4785fb;let _0x44c971=_0x4648f7(_0x460a89);return _0x44c971?{'unitId':_0x44c971[_0x5719df(0x24d)],'subUnitId':_0x44c971[_0x5719df(0x28c)],'drawingIds':[_0x44c971['drawingId']],'arrangeType':_0x3886ba}:void 0x0;}});}let _0x57389e=_0x2d3256(_0x3e66f1,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x205)],'MoveUpIcon',_0x7db477(0x374)),_0x52656a=_0x2d3256(_0x8b18ed,_0x47c402['ArrangeTypeEnum'][_0x7db477(0x37e)],'MoveDownIcon',_0x7db477(0x299)),_0x39441a=_0x2d3256(_0x147939,_0x47c402[_0x7db477(0x15f)]['front'],_0x7db477(0x461),_0x7db477(0x391)),_0x1b703f=_0x2d3256(_0x48673f,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x126)],_0x7db477(0x1ec),_0x7db477(0x491));function _0x53cb1a(_0x151fab){const _0x59b0f0=_0x7db477;return{'id':_0x39980d['id'],'type':_0x86086d[_0x59b0f0(0x32d)]['BUTTON'],'icon':_0x59b0f0(0x2f5),'title':_0x59b0f0(0x42f),'tooltip':_0x59b0f0(0x42f),'hidden$':_0x4a1498(_0x151fab),'params':()=>{const _0x354768=_0x59b0f0;let _0x38586f=_0x4648f7(_0x151fab);return _0x38586f?{'unitId':_0x38586f[_0x354768(0x24d)],'subUnitId':_0x38586f[_0x354768(0x28c)],'drawingId':_0x38586f[_0x354768(0x2ef)]}:void 0x0;}};}let _0x391af2={[_0x86086d[_0x7db477(0x2e5)][_0x7db477(0x226)]]:{[_0x2bcc29]:{'order':0x64,'title':_0x7db477(0x42f),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x5bf868['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1a15c1},[_0x58df16['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2f8034}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2184b3]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x39ac22}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x507dea]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5e4760}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0xaf97ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4c61d6},[_0x3e66f1]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x57389e},[_0x8b18ed]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x52656a},[_0x147939]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x39441a},[_0x48673f]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x1b703f}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2355bf]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x592943}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39980d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x53cb1a},[_0x56d51f['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x56d51f['ShapeFloatingToolbarToggleFactory']}}}}},_0x317aa8={[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x2c7)]]:{[_0x4654b3['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c3a45=>({..._0x287851(_0x2c3a45),'title':void 0x0})}},[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x168)]]:{[_0x3c123e['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2f690f}},[_0x86086d[_0x7db477(0x23e)][_0x7db477(0x2a6)]]:{[_0x86086d[_0x7db477(0x263)]['LAYOUT']]:{[_0x130604['INSERT_BELLOW_MENU_ID']]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x143)]]:{[_0x86086d['ContextMenuGroup'][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x3e5)]]:{[_0x86086d[_0x7db477(0x263)][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x1f07e9}}},[_0x130604[_0x7db477(0x411)]]:{'insert':{[_0x4654b3['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x287851}}},[_0x130604['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x4654b3['id']+_0x7db477(0x478)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2f28bc}}}}};var _0x45c6c8=_0x7db477(0x2c9),_0x279654='1.0.1';let _0x87b80e={'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'id':_0x7db477(0x1bf),'handler'(){return!0x0;}},_0x3c8ab9=_0x7db477(0x1cb),_0x1bd49e={};function _0x3f6c35(_0x4bc77b){'@babel/helpers - typeof';const _0x41d81e=_0x7db477;return _0x3f6c35=typeof Symbol==_0x41d81e(0x38d)&&typeof Symbol['iterator']=='symbol'?function(_0x2d6bbd){return typeof _0x2d6bbd;}:function(_0x1ae5c3){const _0x2b3ae8=_0x41d81e;return _0x1ae5c3&&typeof Symbol=='function'&&_0x1ae5c3['constructor']===Symbol&&_0x1ae5c3!==Symbol[_0x2b3ae8(0x117)]?'symbol':typeof _0x1ae5c3;},_0x3f6c35(_0x4bc77b);}function _0x3a811f(_0x2beaa6,_0x252636){const _0x250e8d=_0x7db477;if(_0x3f6c35(_0x2beaa6)!='object'||!_0x2beaa6)return _0x2beaa6;var _0x3d5387=_0x2beaa6[Symbol[_0x250e8d(0x3fa)]];if(_0x3d5387!==void 0x0){var _0x4e27e6=_0x3d5387[_0x250e8d(0x203)](_0x2beaa6,_0x252636||_0x250e8d(0x21c));if(_0x3f6c35(_0x4e27e6)!=_0x250e8d(0x368))return _0x4e27e6;throw TypeError(_0x250e8d(0x3fb));}return(_0x252636===_0x250e8d(0x371)?String:Number)(_0x2beaa6);}function _0x562ffa(_0x4b85d2){var _0x52d5cb=_0x3a811f(_0x4b85d2,'string');return _0x3f6c35(_0x52d5cb)=='symbol'?_0x52d5cb:_0x52d5cb+'';}function _0x38c0c9(_0x3bdc25,_0x12226c,_0x12947c){const _0x6943ee=_0x7db477;return(_0x12226c=_0x562ffa(_0x12226c))in _0x3bdc25?Object[_0x6943ee(0x1c8)](_0x3bdc25,_0x12226c,{'value':_0x12947c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3bdc25[_0x12226c]=_0x12947c,_0x3bdc25;}var _0x39a34d=class extends _0x54839f[_0x7db477(0x1cd)]{constructor(_0x574a5a,_0x27a999){const _0x56eb69=_0x7db477;super(_0x574a5a,_0x27a999),_0x38c0c9(this,_0x56eb69(0x356),null),_0x38c0c9(this,'_adjName',null),_0x38c0c9(this,_0x56eb69(0x1ed),null),_0x38c0c9(this,_0x56eb69(0x47c),null),_0x27a999&&this[_0x56eb69(0x21f)](_0x27a999);}[_0x7db477(0x1e0)](){const _0x36910b=_0x7db477;return{'unitId':this[_0x36910b(0x1ed)],'subUnitId':this[_0x36910b(0x47c)],'drawingId':this[_0x36910b(0x356)]};}['setShapeProps'](_0x356bcd){const _0x55c6c6=_0x7db477;_0x356bcd['shapeId']!==void 0x0&&(this[_0x55c6c6(0x356)]=_0x356bcd['shapeId']),_0x356bcd[_0x55c6c6(0x370)]!==void 0x0&&(this[_0x55c6c6(0x197)]=_0x356bcd[_0x55c6c6(0x370)]),_0x356bcd['unitId']!==void 0x0&&(this[_0x55c6c6(0x1ed)]=_0x356bcd[_0x55c6c6(0x24d)]),_0x356bcd[_0x55c6c6(0x28c)]!==void 0x0&&(this[_0x55c6c6(0x47c)]=_0x356bcd[_0x55c6c6(0x28c)]),this[_0x55c6c6(0x2a9)]({'width':_0x356bcd[_0x55c6c6(0x19f)],'height':_0x356bcd[_0x55c6c6(0x1e3)]});}[_0x7db477(0x2fe)](_0x27b711){const _0x23cabd=_0x7db477;_0x54839f[_0x23cabd(0x2ce)][_0x23cabd(0x1a6)](_0x27b711,{'radius':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x366)],'fill':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x26e)],'stroke':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x255)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4c90b5(_0x207abd,_0xa365e2,_0x1a6b98){const _0x1b4d92=_0x7db477;let _0x258065={..._0xa365e2,'dataModel':{..._0xa365e2[_0x1b4d92(0x2f4)]??{},..._0x1a6b98?{'doc':_0x1a6b98}:null}},_0x16348d=(0x0,_0x56d51f['resolveShapeTextEditorBehaviorShapeData'])(_0x207abd,_0x258065),_0x436e14=(0x0,_0x56d51f[_0x1b4d92(0x451)])(_0x16348d);return{'clip':(0x0,_0x56d51f['shouldClipShapeTextDocument'])(_0x16348d,_0x436e14),'wrapStrategy':_0x436e14};}var _0x5777c9=class extends _0x54839f['Shape']{constructor(_0xa28674,_0x3f892a){const _0x250d28=_0x7db477;super(_0xa28674,_0x3f892a),_0x38c0c9(this,_0x250d28(0x2c1),void 0x0),_0x38c0c9(this,'_formulaAnimation',new _0x56d51f[(_0x250d28(0x266))](()=>this['makeDirty'](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x38c0c9(this,'_transformCalculateSrcRect',!0x0),_0x38c0c9(this,_0x250d28(0x1c2),_0x47c402[_0x250d28(0x472)]['DRAWING_SHAPE']),_0x38c0c9(this,'isDrawingObject',!0x0),this[_0x250d28(0x2c1)]={..._0x3f892a},this['_formulaAnimation']['setPresentation'](_0x3f892a[_0x250d28(0x47a)],_0x3f892a[_0x250d28(0x1b5)]!==!0x1),this[_0x250d28(0x40d)](),this['_applyFormulaAutoFitSize']();}[_0x7db477(0x40d)](){const _0x29cb54=_0x7db477;this[_0x29cb54(0x43b)]['subscribeEvent'](_0x204aa3=>{const _0x52c78e=_0x29cb54;this[_0x52c78e(0x32b)](_0x204aa3);});}[_0x7db477(0x3c8)](_0x4d9e38){const _0x381bef=_0x7db477;this[_0x381bef(0x2c1)][_0x381bef(0x2d3)]=_0x4d9e38;}[_0x7db477(0x2e2)](_0x508552){const _0xcdca5d=_0x7db477;this[_0xcdca5d(0x2c1)][_0xcdca5d(0x216)]=_0x508552,this['makeDirty'](!0x0);}[_0x7db477(0x264)](_0x401aea,_0x4a5271=!0x0){const _0x33852f=_0x7db477;this['_formulaAnimation'][_0x33852f(0x3c0)](_0x401aea,_0x4a5271),this[_0x33852f(0x2c1)][_0x33852f(0x47a)]=_0x401aea,this[_0x33852f(0x229)](),this[_0x33852f(0x182)](!0x0);}[_0x7db477(0x229)](){const _0x154e11=_0x7db477;let _0x35f781=this[_0x154e11(0x2c1)][_0x154e11(0x3ca)],_0x47b9e4=_0x35f781[_0x154e11(0x2e0)](),_0x2cf376=(0x0,_0x56d51f[_0x154e11(0x2ff)])(_0x47b9e4==null?void 0x0:_0x47b9e4[_0x154e11(0x2f4)]),_0x34c897=_0x2cf376==null?void 0x0:_0x2cf376['doc'],_0x3452b6=this['_formulaAnimation'][_0x154e11(0x3cb)]();if(!_0x34c897||_0x3452b6[_0x154e11(0x2b4)]===0x0)return;_0x35f781['updateContext']({'width':this[_0x154e11(0x19f)],'height':this[_0x154e11(0x1e3)]});let _0x5b0384=(0x0,_0x56d51f[_0x154e11(0x3c7)])({'documentData':_0x3452b6[_0x154e11(0x3b4)](_0x4ae805=>(0x0,_0x48b72a[_0x154e11(0x3d3)])(_0x34c897,_0x4ae805)),'height':this[_0x154e11(0x1e3)],'shapeData':_0x35f781['getShapeData'](),'textRect':_0x35f781[_0x154e11(0x258)]({'left':0x0,'top':0x0,'width':this[_0x154e11(0x19f)],'height':this['height']}),'width':this[_0x154e11(0x19f)]});if(_0x5b0384){var _0x118d4d;this[_0x154e11(0x1dd)](_0x5b0384[_0x154e11(0x19f)],_0x5b0384['height']),(_0x118d4d=this[_0x154e11(0x12b)]())==null||(_0x118d4d=_0x118d4d['getTransformer']())==null||_0x118d4d[_0x154e11(0x33f)]();}}get[_0x7db477(0x24d)](){const _0x2d15f1=_0x7db477;return this[_0x2d15f1(0x2c1)][_0x2d15f1(0x24d)];}get[_0x7db477(0x28c)](){const _0x299eb9=_0x7db477;return this[_0x299eb9(0x2c1)][_0x299eb9(0x28c)];}[_0x7db477(0x32b)](_0x4f290c){const _0x4ae238=_0x7db477;if(this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x35db10,height:_0xf2f383}=this,{width:_0x4f11da=0x0,height:_0x4c8ddd=0x0}=_0x4f290c[_0x4ae238(0x2d0)],{left:_0x151ebe=0x0,top:_0x40f484=0x0,right:_0x15200c=0x0,bottom:_0x49660c=0x0}=this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)],_0x5e7a0b=_0x151ebe,_0x3a1148=_0x40f484,_0x3975a7=_0x15200c,_0x546f87=_0x49660c,_0x22dc14=!0x1;if(_0x4f11da!==0x0&&_0x4f11da!==_0x35db10){let _0x57ca0b=_0x151ebe/_0x4f11da,_0x3bd9ef=_0x15200c/_0x4f11da;_0x5e7a0b=_0x35db10*_0x57ca0b,_0x3975a7=_0x35db10*_0x3bd9ef,_0x22dc14=!0x0;}if(_0x4c8ddd!==0x0&&_0x4c8ddd!==_0xf2f383){let _0x2e3aff=_0x40f484/_0x4c8ddd,_0x3d73f8=_0x49660c/_0x4c8ddd;_0x3a1148=_0xf2f383*_0x2e3aff,_0x546f87=_0xf2f383*_0x3d73f8,_0x22dc14=!0x0;}_0x22dc14&&this['setSrcRect']({'left':_0x5e7a0b,'top':_0x3a1148,'right':_0x3975a7,'bottom':_0x546f87});}[_0x7db477(0x13e)](_0x116d9d){const _0x11d0b4=_0x7db477;this['_props'][_0x11d0b4(0x17d)]=_0x116d9d,this[_0x11d0b4(0x182)](!0x0);}[_0x7db477(0x1f5)](_0x25a880){const _0x43386a=_0x7db477;this[_0x43386a(0x2c1)]['image']=_0x25a880,this[_0x43386a(0x182)](!0x0);}set[_0x7db477(0x211)](_0xf7856b){const _0x919a31=_0x7db477;this[_0x919a31(0x13b)]=_0xf7856b;}get[_0x7db477(0x211)](){const _0x91e519=_0x7db477;this[_0x91e519(0x13b)]||this[_0x91e519(0x194)]();let _0x171d16=this[_0x91e519(0x13b)][_0x91e519(0x120)]();return this[_0x91e519(0x28d)](_0x171d16);}get['shapeModel'](){const _0x37d4e2=_0x7db477;return this['_props'][_0x37d4e2(0x3ca)];}get[_0x7db477(0x424)](){const _0x192a31=_0x7db477;return this[_0x192a31(0x2c1)][_0x192a31(0x424)];}get['classType'](){const _0x11116a=_0x7db477;return _0x54839f['RENDER_CLASS_TYPE'][_0x11116a(0x131)];}[_0x7db477(0x2fe)](_0x28737f,_0x399ddc,_0x375b05,_0x518923){const _0x154d6f=_0x7db477;let _0x12a584=this[_0x154d6f(0x2c1)][_0x154d6f(0x3ca)];if(!_0x12a584||!_0x399ddc)return;let _0x4a927a=_0x375b05??this[_0x154d6f(0x19f)],_0x3711dc=_0x518923??this[_0x154d6f(0x1e3)],_0xef6bb1={'shapeType':_0x12a584[_0x154d6f(0x466)](),'width':_0x4a927a,'height':_0x3711dc},_0x203bc8={'renderMode':_0x3becc2[_0x154d6f(0x185)][_0x154d6f(0x3c9)],'oKey':this[_0x154d6f(0x34c)],'image':this[_0x154d6f(0x2c1)][_0x154d6f(0x29d)],'angle':this[_0x154d6f(0x336)]};_0x12a584[_0x154d6f(0x1d4)](_0xef6bb1),_0x28737f['save']();let _0x53f3a2={'top':0x0,'left':0x0,'width':_0x4a927a,'height':_0x3711dc},_0x251f72=_0x12a584['getDrawingEffectBounds'](_0x53f3a2);_0x251f72?this[_0x154d6f(0x406)](_0x28737f,_0x251f72,_0x2d1ab8=>{const _0x31dddc=_0x154d6f;_0x12a584[_0x31dddc(0x220)](_0x2d1ab8,_0x53f3a2,_0x203bc8);}):(this[_0x154d6f(0x473)](),_0x12a584['render'](_0x28737f,_0x53f3a2,_0x203bc8)),_0x28737f[_0x154d6f(0x161)]();let _0x2e844b=_0x12a584[_0x154d6f(0x2e0)](),_0x5d77c0=_0x12a584[_0x154d6f(0x258)](_0x53f3a2),_0x4db5b8=_0x12a584[_0x154d6f(0x20e)]();if(_0x2e844b&&_0x5d77c0&&!_0x4db5b8){_0x28737f[_0x154d6f(0x48f)](),this[_0x154d6f(0x251)]()[_0x154d6f(0x1d0)]&&_0x28737f[_0x154d6f(0x3f8)](-0x1,0x1);let _0xa26c95=_0x4a927a/0x2,_0x59be47=_0x3711dc/0x2;_0x28737f['translate'](-_0xa26c95,-_0x59be47),_0x28737f['beginPath'](),this[_0x154d6f(0x317)](_0x28737f,_0x2e844b,_0x5d77c0),_0x28737f[_0x154d6f(0x161)]();}}[_0x7db477(0x41d)](_0x50ddfb){}['_drawShapeText'](_0x3747a1,_0x7f9644,_0x29d66d){const _0x195dab=_0x7db477;var _0x17d9ea;this['_props']['isEditing']||(!((_0x17d9ea=_0x7f9644[_0x195dab(0x2f4)])!=null&&_0x17d9ea['doc'])&&_0x195dab(0x2a4)in _0x7f9644&&_0x7f9644[_0x195dab(0x2a4)]===!0x1?this['_drawSimpleText'](_0x3747a1,_0x7f9644,_0x29d66d):this[_0x195dab(0x1fb)](_0x3747a1,_0x7f9644,_0x29d66d));}[_0x7db477(0x3b1)](_0x29102d,_0x4b67d8,_0x4b5e5a){const _0x4c9aca=_0x7db477;this[_0x4c9aca(0x1fb)](_0x29102d,{..._0x4b67d8,'text':_0x4b67d8[_0x4c9aca(0x2f6)]??'','dataModel':{'doc':(0x0,_0x56d51f['plainShapeTextToDocumentData'])(_0x4b67d8,_0x4c9aca(0x381)+this[_0x4c9aca(0x34c)])}},_0x4b5e5a);}[_0x7db477(0x1fb)](_0x1ab48e,_0x4b75f7,_0x2d7c00){const _0x478ac6=_0x7db477;(0x0,_0x56d51f[_0x478ac6(0x2ae)])(_0x1ab48e,this[_0x478ac6(0x445)],(_0x4cfc46,_0x1ac121)=>{this['_drawRichTextLayer'](_0x4cfc46,_0x4b75f7,_0x2d7c00,_0x1ac121);});}['_drawRichTextLayer'](_0x10bf3d,_0x107f4c,_0x2dc28a,_0x37f760){const _0x3ab7b1=_0x7db477;let _0xf42edd=this['_props'][_0x3ab7b1(0x354)];if(!_0x107f4c[_0x3ab7b1(0x2f4)]||!_0xf42edd){_0xf42edd||console[_0x3ab7b1(0x328)](_0x3ab7b1(0x290));return;}let _0x469f42=(0x0,_0x56d51f[_0x3ab7b1(0x2ff)])(_0x107f4c['dataModel']);if(!_0x469f42)return;let _0x49cbca=_0x469f42[_0x3ab7b1(0x1b6)];if(!_0x49cbca)return;let _0x1db8a9=(0x0,_0x48b72a[_0x3ab7b1(0x3d3)])(_0x49cbca,_0x37f760),_0x2fb761=_0x469f42['va']??_0x47c402[_0x3ab7b1(0x414)][_0x3ab7b1(0x418)],_0x368395=_0x469f42['ha']??_0x47c402[_0x3ab7b1(0x39c)]['LEFT'],_0x54d0c5=_0x4c90b5(this['_props'][_0x3ab7b1(0x3ca)][_0x3ab7b1(0x38a)](),_0x107f4c,_0x1db8a9),_0x39ed8e=_0x107f4c[_0x3ab7b1(0x207)],_0x398600=(0x0,_0x56d51f[_0x3ab7b1(0x2ad)])(_0x1db8a9,{'isHorizontal':_0x39ed8e!==!0x1,'textRect':_0x2dc28a,'verticalAlign':_0x2fb761,'horizontalAlign':_0x368395,'wrapStrategy':_0x54d0c5[_0x3ab7b1(0x36f)]}),_0x1c8385=new _0x47c402[(_0x3ab7b1(0x26a))](_0x398600),_0xeb804f=new _0x54839f[(_0x3ab7b1(0x3de))](_0x1c8385),_0x3c8afa=_0x54839f[_0x3ab7b1(0x1fc)][_0x3ab7b1(0x46d)](_0xeb804f,_0xf42edd);_0x3c8afa[_0x3ab7b1(0x272)]();let _0x55c4c4=_0x3c8afa[_0x3ab7b1(0x1ba)]()[_0x3ab7b1(0x3ee)],_0x1c60db=(0x0,_0x56d51f[_0x3ab7b1(0x1df)])({'contentHeight':_0x55c4c4,'verticalAlign':_0x2fb761,'viewportHeight':_0x2dc28a['height']});_0x1c8385[_0x3ab7b1(0x15a)]({'pageSize':{'width':_0x39ed8e===!0x1?_0x2dc28a['height']:_0x2dc28a[_0x3ab7b1(0x19f)],'height':(0x0,_0x56d51f[_0x3ab7b1(0x17f)])(_0x1db8a9,_0x1c60db[_0x3ab7b1(0x429)])}}),_0x1c8385[_0x3ab7b1(0x283)]({'t':_0x1c60db[_0x3ab7b1(0x2b9)]}),_0x3c8afa[_0x3ab7b1(0x272)]();let _0x3b8fea=new _0x54839f[(_0x3ab7b1(0x22d))]('shape-text-'+this[_0x3ab7b1(0x34c)],_0x3c8afa,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x3b8fea[_0x3ab7b1(0x1dd)](_0x2dc28a['width'],_0x1c60db[_0x3ab7b1(0x429)]),_0x10bf3d[_0x3ab7b1(0x48f)](),_0x10bf3d['translateWithPrecision'](_0x2dc28a['left'],_0x2dc28a[_0x3ab7b1(0x372)]),_0x54d0c5[_0x3ab7b1(0x188)]&&(_0x10bf3d[_0x3ab7b1(0x221)](),_0x10bf3d['rect'](0x0,_0x1c60db[_0x3ab7b1(0x18a)],_0x2dc28a[_0x3ab7b1(0x19f)],_0x1c60db[_0x3ab7b1(0x129)]),_0x10bf3d[_0x3ab7b1(0x188)]()),_0x1c60db[_0x3ab7b1(0x26c)]&&_0x10bf3d[_0x3ab7b1(0x314)](0x0,_0x1c60db[_0x3ab7b1(0x26c)]),_0x3b8fea['draw'](_0x10bf3d),_0x10bf3d[_0x3ab7b1(0x161)](),_0x3b8fea['dispose'](),_0x3c8afa[_0x3ab7b1(0x18c)](),_0xeb804f[_0x3ab7b1(0x18c)](),_0x1c8385[_0x3ab7b1(0x18c)]();}[_0x7db477(0x220)](_0x5f2c81,_0x51e36e,_0xf9dc95=!0x1){const _0x5066f8=_0x7db477;if(!this[_0x5066f8(0x190)])return this[_0x5066f8(0x182)](!0x1),this;let {width:_0x5bdc59,height:_0x183707,left:_0x2f8328,top:_0x4bab6}=this,_0x4d07ae=this[_0x5066f8(0x376)]();if(_0x5bdc59=_0x4d07ae[_0x5066f8(0x19f)],_0x183707=_0x4d07ae[_0x5066f8(0x1e3)],_0x2f8328=_0x4d07ae[_0x5066f8(0x1d8)],_0x4bab6=_0x4d07ae[_0x5066f8(0x372)],this[_0x5066f8(0x316)](_0x51e36e)){let {top:_0x45409e,left:_0x43fd74,bottom:_0x188e70,right:_0x484c84}=_0x51e36e[_0x5066f8(0x3aa)];if(_0x5bdc59+this[_0x5066f8(0x17c)]+_0x2f8328<_0x43fd74||_0x484c84<_0x2f8328||_0x183707+this[_0x5066f8(0x17c)]+_0x4bab6<_0x45409e||_0x188e70<_0x4bab6)return this;}let _0x526f7b=_0x2f8328+_0x5bdc59/0x2,_0x7bba4a=_0x4bab6+_0x183707/0x2,_0x5e4583=this[_0x5066f8(0x211)][_0x5066f8(0x2ca)]();if(this[_0x5066f8(0x2c1)]['isEditing']){let _0x38814e=this[_0x5066f8(0x251)](),_0x71c090=new _0x54839f['Transform']();_0x71c090[_0x5066f8(0x228)]({..._0x38814e}),_0x5e4583=_0x71c090[_0x5066f8(0x2ca)]();}return _0x5f2c81[_0x5066f8(0x48f)](),this['_props'][_0x5066f8(0x3ca)]['isRenderLinePointsMode']===!0x0||_0x5f2c81[_0x5066f8(0x211)](_0x5e4583[0x0],_0x5e4583[0x1],_0x5e4583[0x2],_0x5e4583[0x3],_0x526f7b,_0x7bba4a),this[_0x5066f8(0x2fe)](_0x5f2c81,_0x51e36e,_0x5bdc59,_0x183707),_0x5f2c81[_0x5066f8(0x161)](),this['makeDirty'](!0x1),this;}[_0x7db477(0x14f)](_0x1e3634){const _0x872025=_0x7db477;let {left:_0x8b5c84,top:_0x765d33,width:_0x22862e,height:_0x57de51}=this[_0x872025(0x376)](),_0x17f3a2=this[_0x872025(0x211)][_0x872025(0x2ca)](),_0x359df8=_0x8b5c84+_0x22862e/0x2,_0x21714e=_0x765d33+_0x57de51/0x2,_0x44742b=new _0x54839f[(_0x872025(0x31a))]([_0x17f3a2[0x0],_0x17f3a2[0x1],_0x17f3a2[0x2],_0x17f3a2[0x3],_0x359df8,_0x21714e]),_0x21d305=this['getParent']();return(this[_0x872025(0x1e4)]&&(_0x21d305==null?void 0x0:_0x21d305[_0x872025(0x3c1)])===_0x54839f[_0x872025(0x163)][_0x872025(0x477)]?_0x21d305[_0x872025(0x497)][_0x872025(0x259)](_0x44742b):_0x44742b)['invert']()[_0x872025(0x460)](_0x1e3634);}[_0x7db477(0x425)](_0x416cef){const _0x4974fb=_0x7db477;let {left:_0x3273f1,top:_0x10e5ab,width:_0x4ce185,height:_0x2d4e57}=this[_0x4974fb(0x376)](),_0x3b0223=_0x3273f1+_0x4ce185/0x2,_0x4a74ae=_0x10e5ab+_0x2d4e57/0x2,_0x5178d4=this[_0x4974fb(0x211)][_0x4974fb(0x2ca)](),_0x3170a4=new _0x54839f[(_0x4974fb(0x31a))]([_0x5178d4[0x0],_0x5178d4[0x1],_0x5178d4[0x2],_0x5178d4[0x3],_0x3b0223,_0x4a74ae]),_0x2eaec3=this['getParent'](),_0x711911=(this[_0x4974fb(0x1e4)]&&(_0x2eaec3==null?void 0x0:_0x2eaec3['classType'])===_0x54839f[_0x4974fb(0x163)][_0x4974fb(0x477)]?_0x2eaec3[_0x4974fb(0x497)]['multiply'](_0x3170a4):_0x3170a4)[_0x4974fb(0x3bb)]()['applyPoint'](_0x416cef),_0x5bcbfe=_0x4ce185/0x2,_0xc6a222=_0x2d4e57/0x2,_0x303a94=this[_0x4974fb(0x2c1)][_0x4974fb(0x3ca)];return _0x303a94&&_0x303a94[_0x4974fb(0x20e)]()?_0x303a94[_0x4974fb(0x2fb)](_0x711911['x'],_0x711911['y'],_0x4ce185,_0x2d4e57):_0x711911['x']>=-_0x5bcbfe-this[_0x4974fb(0x17c)]/0x2&&_0x711911['x']<=_0x5bcbfe+this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']>=-_0xc6a222-this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']<=_0xc6a222+this[_0x4974fb(0x17c)]/0x2;}['dispose'](){const _0x80ee45=_0x7db477;this['_formulaAnimation'][_0x80ee45(0x18c)](),this['_props'][_0x80ee45(0x3ca)]=null,super['dispose']();}};let _0x3e66ac=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x451955,_0x1fab29,_0xa250ce,_0x924ac1){const _0x133e5b=_0x7db477;super(),this[_0x133e5b(0x3c6)]=_0x451955,this[_0x133e5b(0x369)]=_0x1fab29,this[_0x133e5b(0x25b)]=_0xa250ce,this[_0x133e5b(0x248)]=_0x924ac1,_0x38c0c9(this,_0x133e5b(0x111),null),_0x38c0c9(this,_0x133e5b(0x1ed),null),_0x38c0c9(this,_0x133e5b(0x47c),null),_0x38c0c9(this,_0x133e5b(0x421),void 0x0),_0x38c0c9(this,'_adjustPointObjects',[]),_0x38c0c9(this,_0x133e5b(0x41e),0x0),_0x38c0c9(this,'_baseShapeTop',0x0),_0x38c0c9(this,_0x133e5b(0x2a8),0x0),_0x38c0c9(this,_0x133e5b(0x442),0x0),_0x38c0c9(this,_0x133e5b(0x49d),!0x1),_0x38c0c9(this,_0x133e5b(0x397),!0x1),_0x38c0c9(this,'_activeAdjustInfo',void 0x0),_0x38c0c9(this,'_activeShapeModel',void 0x0),_0x38c0c9(this,'_adjHandlerPointerMove',void 0x0),_0x38c0c9(this,_0x133e5b(0x1e8),void 0x0),this[_0x133e5b(0x49c)](),this['_registerDrawingTransformHandler']();}[_0x7db477(0x204)](){const _0x53a063=_0x7db477;this[_0x53a063(0x49f)]();}[_0x7db477(0x1ac)](){const _0x3ecaec=_0x7db477;this[_0x3ecaec(0x2be)](!0x0);}[_0x7db477(0x239)](_0x478ab7,_0x5ad853,_0x161848){const _0x188a28=_0x7db477;var _0x5cbd2c;return(_0x5cbd2c=this[_0x188a28(0x25b)][_0x188a28(0x3ab)](_0x478ab7,_0x5ad853,_0x161848))==null?void 0x0:_0x5cbd2c[_0x188a28(0x41d)]();}[_0x7db477(0x2a7)](_0x2f34cf,_0x4b2c1f,_0x3707fb,_0x17acc1){const _0x2c0e12=_0x7db477;var _0x4e6c6e;return(_0x4e6c6e=this[_0x2c0e12(0x25b)][_0x2c0e12(0x3ab)](_0x2f34cf,_0x4b2c1f,_0x3707fb))==null?void 0x0:_0x4e6c6e['getAdjustInfoByName'](_0x17acc1);}['_getActiveDrawingParam'](){const _0x2ea2e0=_0x7db477;return this[_0x2ea2e0(0x1ed)]===null||this['_subUnitId']===null||this[_0x2ea2e0(0x111)]===null?null:this[_0x2ea2e0(0x369)][_0x2ea2e0(0x340)]({'unitId':this[_0x2ea2e0(0x1ed)],'subUnitId':this[_0x2ea2e0(0x47c)],'drawingId':this[_0x2ea2e0(0x111)]})??null;}[_0x7db477(0x200)](_0x4002cd){const _0x169d40=_0x7db477;if(this[_0x169d40(0x1ed)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x3382ce=(0x0,_0x4152b2[_0x169d40(0x2b6)])({'unitId':this[_0x169d40(0x1ed)],'subUnitId':this[_0x169d40(0x47c)],'drawingId':this[_0x169d40(0x111)]}),_0x128650=_0x4002cd['getObjectIncludeInGroup'](_0x3382ce);return _0x128650 instanceof _0x5777c9?_0x128650:null;}[_0x7db477(0x42a)](_0x1526b1=!0x1){const _0x710878=_0x7db477;if(this['_unitId']===null||this['_subUnitId']===null||this[_0x710878(0x111)]===null)return;let _0x3ba8b5=this[_0x710878(0x2d7)]();if((_0x3ba8b5==null?void 0x0:_0x3ba8b5[_0x710878(0x3bc)])!==_0x47c402[_0x710878(0x472)]['DRAWING_SHAPE']||!_0x3ba8b5[_0x710878(0x211)])return;let _0x5c7ef0=this[_0x710878(0x25b)]['getShapeModel'](this[_0x710878(0x1ed)],this['_subUnitId'],this[_0x710878(0x111)]);if(!_0x5c7ef0||_0x5c7ef0[_0x710878(0x20e)]())return;let {left:_0x5c07d9=0x0,top:_0x280373=0x0,width:_0x2fc832=0x0,height:_0x399f31=0x0,flipX:_0x7b1cd8,flipY:_0x4f2c01,angle:_0x4bd794=0x0}=_0x3ba8b5[_0x710878(0x211)];(_0x1526b1||!this[_0x710878(0x421)])&&(_0x5c7ef0[_0x710878(0x1d4)]({'width':_0x2fc832,'height':_0x399f31}),this[_0x710878(0x421)]=_0x5c7ef0[_0x710878(0x41d)]());let _0x8b961a=this[_0x710878(0x421)];if(!(_0x8b961a!=null&&_0x8b961a[_0x710878(0x2b4)]))return;let {scene:_0xdeae23}=this['_context'];for(let _0x16fd4c of _0x8b961a){let _0x4c9cc9=this[_0x710878(0x157)](_0x16fd4c,_0x2fc832,_0x399f31,!!_0x7b1cd8,!!_0x4f2c01,_0x4bd794);this['_addShapeAdjustControl'](_0xdeae23,_0x4c9cc9,_0x4c9cc9[_0x710878(0x370)],_0x5c07d9,_0x280373,this[_0x710878(0x1ed)],this[_0x710878(0x47c)]);}}[_0x7db477(0x157)](_0x582d58,_0xe36328,_0x108201,_0x5a66d9,_0x316b33,_0x4a6363){const _0x5a8794=_0x7db477;let _0x28d704=_0x582d58['x'],_0x109692=_0x582d58['y'];if(_0x5a66d9&&(_0x28d704=_0xe36328-_0x28d704),_0x316b33&&(_0x109692=_0x108201-_0x109692),_0x4a6363!==0x0){let _0x228482=_0xe36328/0x2,_0x2d9a32=_0x108201/0x2,_0x32abf6=_0x4a6363*Math['PI']/0xb4,_0x31ab50=Math['cos'](_0x32abf6),_0x4871d6=Math['sin'](_0x32abf6),_0x286f9f=_0x28d704-_0x228482,_0x1e860d=_0x109692-_0x2d9a32;_0x28d704=_0x228482+(_0x286f9f*_0x31ab50-_0x1e860d*_0x4871d6),_0x109692=_0x2d9a32+(_0x286f9f*_0x4871d6+_0x1e860d*_0x31ab50);}return{'x':_0x28d704,'y':_0x109692,'adjName':_0x582d58[_0x5a8794(0x370)]};}[_0x7db477(0x2be)](_0x2f39cf=!0x1){const _0x46048d=_0x7db477;_0x2f39cf&&this[_0x46048d(0x49f)](),this['_createShapeAdjustControls'](_0x2f39cf);}[_0x7db477(0x40e)](_0x261245,_0x4490fa,_0x53c87f,_0x5f31c9,_0x56fc0d,_0x5480b2,_0x2c5afc){const _0xbd18c1=_0x7db477;if(!this['_activeShapeId'])return;let _0x589f09=_0xbd18c1(0x342)+this['_activeShapeId']+'-'+_0x53c87f,_0xa473f4=_0x261245['getObjectIncludeInGroup'](_0x589f09);if(_0xa473f4){_0xa473f4[_0xbd18c1(0x2a9)]({'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2['ShapeDefaultConfig'][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)]['adjHandleSize']}),_0xa473f4[_0xbd18c1(0x182)](!0x0);return;}let _0x376e4e=new _0x39a34d(_0x589f09,{'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'adjName':_0x53c87f,'shapeId':this['_activeShapeId'],'unitId':_0x5480b2,'subUnitId':_0x2c5afc,'width':_0x3becc2['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)]+0x8,'zIndex':_0x54839f[_0xbd18c1(0x13f)]+0x1,'evented':!0x0});this[_0xbd18c1(0x422)][_0xbd18c1(0x327)](_0x376e4e),this[_0xbd18c1(0x36c)](_0x376e4e,_0x261245,_0x53c87f),_0x261245[_0xbd18c1(0x338)](_0x376e4e,_0x54839f[_0xbd18c1(0x13f)]+0x1);}[_0x7db477(0x49f)](){const _0x5c6551=_0x7db477;this[_0x5c6551(0x422)][_0x5c6551(0x2dd)](_0xf99783=>_0xf99783[_0x5c6551(0x18c)]()),this[_0x5c6551(0x422)]=[];}['_updateAdjustControlPositions'](){const _0x13f718=_0x7db477;this[_0x13f718(0x42a)]();}['_toScenePoint'](_0xe06f07,_0x2078c8,_0x358ca1){const _0x3a9855=_0x7db477;let _0x273f63=_0x54839f[_0x3a9855(0x2d2)]['FromArray']([_0x2078c8,_0x358ca1]),_0x2f8145=_0xe06f07[_0x3a9855(0x1c1)](_0x273f63)??_0xe06f07[_0x3a9855(0x247)]()[0x0];return(_0x2f8145==null?void 0x0:_0x2f8145[_0x3a9855(0x307)](_0x273f63))??_0x273f63;}[_0x7db477(0x36c)](_0x5c5c7d,_0x105328,_0x3e6808){const _0x56a61c=_0x7db477;this[_0x56a61c(0x2b0)]((0x0,_0x47c402[_0x56a61c(0x2e3)])(_0x5c5c7d['onPointerDown$']['subscribeEvent']((_0x3a9f80,_0x1682ba)=>{const _0x43e9e8=_0x56a61c;var _0xf494dd;let _0x4722b8=_0x5c5c7d[_0x43e9e8(0x1e0)]();this['_activeAdjustInfo']=this[_0x43e9e8(0x2a7)](_0x4722b8[_0x43e9e8(0x24d)],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8[_0x43e9e8(0x2ef)],_0x3e6808),this[_0x43e9e8(0x1bb)]=this[_0x43e9e8(0x25b)][_0x43e9e8(0x3ab)](_0x4722b8['unitId'],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8['drawingId']);let _0x48ad23=this[_0x43e9e8(0x2d7)](),_0x577134=_0x48ad23==null?void 0x0:_0x48ad23['transform'];if(!_0x48ad23||!_0x577134||!this[_0x43e9e8(0x1bb)])return;this[_0x43e9e8(0x41e)]=_0x577134[_0x43e9e8(0x1d8)]||0x0,this[_0x43e9e8(0x227)]=_0x577134['top']||0x0,this['_baseShapeWidth']=_0x577134['width']||0x0,this['_baseShapeHeight']=_0x577134[_0x43e9e8(0x1e3)]||0x0;let _0x46c221=!!_0x577134['flipX'],_0x561121=!!_0x577134[_0x43e9e8(0x1c4)],_0x3734c6=_0x577134['angle']||0x0,_0x459c21={...((_0xf494dd=this['_activeAdjustInfo'])==null?void 0x0:_0xf494dd['currentAdjustValues'])??{}};this[_0x43e9e8(0x49d)]=!0x0,_0x105328[_0x43e9e8(0x3d5)](),this[_0x43e9e8(0x38b)]=_0x105328['onPointerMove$']['subscribeEvent']((_0x3696a7,_0xcd63cf)=>{const _0x264c1e=_0x43e9e8;var _0x1fdb3e;if(!this[_0x264c1e(0x49d)]||!this[_0x264c1e(0x1bb)]||!this[_0x264c1e(0x428)])return;_0x105328['disableObjectsEvent'](),_0x105328[_0x264c1e(0x1a0)](_0x54839f[_0x264c1e(0x214)][_0x264c1e(0x3e3)]);let _0xa87fe0=this[_0x264c1e(0x14c)](_0x105328,_0x3696a7[_0x264c1e(0x29f)],_0x3696a7[_0x264c1e(0x309)]),_0x1a3866=_0xa87fe0['x']-this[_0x264c1e(0x41e)],_0x56e55e=_0xa87fe0['y']-this[_0x264c1e(0x227)];if(_0x3734c6!==0x0){let _0x14cf1f=this[_0x264c1e(0x2a8)]/0x2,_0x55b1ce=this[_0x264c1e(0x442)]/0x2,_0x41e11c=_0x3734c6*Math['PI']/0xb4,_0x305d2f=Math[_0x264c1e(0x3e4)](_0x41e11c),_0x3c6461=Math['sin'](_0x41e11c),_0x3df95c=_0x1a3866-_0x14cf1f,_0xc3289=_0x56e55e-_0x55b1ce;_0x1a3866=_0x14cf1f+(_0x3df95c*_0x305d2f+_0xc3289*_0x3c6461),_0x56e55e=_0x55b1ce+(-_0x3df95c*_0x3c6461+_0xc3289*_0x305d2f);}_0x46c221&&(_0x1a3866=this[_0x264c1e(0x2a8)]-_0x1a3866),_0x561121&&(_0x56e55e=this['_baseShapeHeight']-_0x56e55e);let _0x567911={'left':0x0,'top':0x0,'width':this[_0x264c1e(0x2a8)],'height':this[_0x264c1e(0x442)]},_0xf228b6=this['_activeShapeModel'][_0x264c1e(0x395)](_0x567911,{'x':_0x1a3866,'y':_0x56e55e},this[_0x264c1e(0x428)],_0x46c221,_0x561121);if(Object[_0x264c1e(0x2d8)](_0xf228b6)[_0x264c1e(0x2b4)]!==0x0){for(let [_0x2e7c54,_0x4df8a5]of Object[_0x264c1e(0x3bd)](_0xf228b6))this[_0x264c1e(0x1bb)][_0x264c1e(0x402)](_0x2e7c54,_0x4df8a5);this[_0x264c1e(0x1bb)][_0x264c1e(0x1d4)]({'width':this[_0x264c1e(0x2a8)],'height':this['_baseShapeHeight']}),(_0x1fdb3e=this[_0x264c1e(0x200)](_0x105328))==null||_0x1fdb3e['makeDirty'](!0x0),this[_0x264c1e(0x421)]=this[_0x264c1e(0x239)](_0x4722b8[_0x264c1e(0x24d)],_0x4722b8[_0x264c1e(0x28c)],_0x4722b8[_0x264c1e(0x2ef)]),this[_0x264c1e(0x3be)](),_0xcd63cf[_0x264c1e(0x361)]();}}),this[_0x43e9e8(0x1e8)]=_0x105328[_0x43e9e8(0x3b2)][_0x43e9e8(0x20f)]((_0x2b255c,_0x220816)=>{const _0x5a8a8b=_0x43e9e8;var _0x4523aa,_0x968ff3;(_0x4523aa=this[_0x5a8a8b(0x38b)])==null||_0x4523aa[_0x5a8a8b(0x158)](),(_0x968ff3=this[_0x5a8a8b(0x1e8)])==null||_0x968ff3['unsubscribe'](),_0x105328['resetCursor']();let _0x26c5ee=this[_0x5a8a8b(0x428)];if(_0x26c5ee&&this['_activeShapeModel']){let _0x5270e9={};for(let _0x291725 of Object[_0x5a8a8b(0x2d8)](_0x26c5ee[_0x5a8a8b(0x43f)])){let _0x19f553=this['_activeShapeModel'][_0x5a8a8b(0x3d1)](_0x291725);_0x19f553!==void 0x0&&(_0x5270e9[_0x291725]=_0x19f553);}Object[_0x5a8a8b(0x2d8)](_0x5270e9)[_0x5a8a8b(0x2b4)]>0x0&&_0x59074d(this['_commandService'],_0x4722b8[_0x5a8a8b(0x24d)],_0x4722b8['subUnitId'],_0x4722b8[_0x5a8a8b(0x2ef)],{'oldShapeData':{'adjustValues':_0x459c21}},{'adjustValues':_0x5270e9});}this[_0x5a8a8b(0x428)]=void 0x0,this[_0x5a8a8b(0x1bb)]=void 0x0,this[_0x5a8a8b(0x49d)]=!0x1,_0x105328[_0x5a8a8b(0x2d5)](),_0x220816[_0x5a8a8b(0x361)]();}),_0x1682ba[_0x43e9e8(0x361)]();})));}[_0x7db477(0x1d6)](){const _0x12af19=_0x7db477;let {scene:_0x429416}=this[_0x12af19(0x3c6)],_0x512b45=_0x429416[_0x12af19(0x339)]();this[_0x12af19(0x2b0)](_0x512b45['changeStart$'][_0x12af19(0x146)](_0x5b32b3=>{const _0xd890d4=_0x12af19;this['_createShapeAdjustControls'](),_0x5b32b3[_0xd890d4(0x35f)]!==null&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x142)]===0x1&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x235)]()[_0xd890d4(0x22e)]()[_0xd890d4(0x1c6)]instanceof _0x5777c9&&(this[_0xd890d4(0x397)]=!0x0);})),this[_0x12af19(0x2b0)](_0x512b45[_0x12af19(0x170)][_0x12af19(0x146)](()=>{const _0x4e5af5=_0x12af19;this[_0x4e5af5(0x397)]&&this[_0x4e5af5(0x49f)]();})),this[_0x12af19(0x2b0)](_0x429416['onPointerUp$'][_0x12af19(0x20f)](()=>{const _0x3dca41=_0x12af19;this[_0x3dca41(0x397)]&&(this[_0x3dca41(0x397)]=!0x1,this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x512b45['changeEnd$']['subscribe'](()=>{const _0x1c127f=_0x12af19;this['_unitId']&&this['_subUnitId']&&this[_0x1c127f(0x111)]&&(this[_0x1c127f(0x421)]=this[_0x1c127f(0x239)](this['_unitId'],this['_subUnitId'],this[_0x1c127f(0x111)]),this[_0x1c127f(0x3be)]());}));}[_0x7db477(0x49c)](){const _0x9f8f06=_0x7db477;this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x248)]['onCommandExecuted'](_0x24cc79=>{const _0x4606de=_0x9f8f06;if(_0x24cc79['id']!==_0x284855[_0x4606de(0x324)]['id'])return;let {unitId:_0x19046a,shapeId:_0x431c58}=_0x24cc79['params'];_0x19046a===this[_0x4606de(0x1ed)]&&_0x431c58===this[_0x4606de(0x111)]&&this['refreshAdjustControls']();})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x48c)][_0x9f8f06(0x146)](_0x1f1691=>{const _0xa9f889=_0x9f8f06;if(_0x1f1691[_0xa9f889(0x2b4)]===0x1){let _0x5a57b0=_0x1f1691[0x0],_0x47781f=this['_drawingManagerService'][_0xa9f889(0x340)](_0x5a57b0);if((_0x47781f==null?void 0x0:_0x47781f[_0xa9f889(0x3bc)])===_0x47c402[_0xa9f889(0x472)][_0xa9f889(0x427)]){this[_0xa9f889(0x111)]=_0x5a57b0[_0xa9f889(0x2ef)],this[_0xa9f889(0x1ed)]=_0x5a57b0[_0xa9f889(0x24d)],this[_0xa9f889(0x47c)]=_0x5a57b0['subUnitId'],this['_activeShapeAdjustPointList']=this[_0xa9f889(0x239)](_0x5a57b0[_0xa9f889(0x24d)],_0x5a57b0[_0xa9f889(0x28c)],_0x5a57b0['drawingId']),this[_0xa9f889(0x49f)](),this[_0xa9f889(0x42a)]();return;}}this['_activeShapeId']=null,this[_0xa9f889(0x421)]=void 0x0,this['_unitId']=null,this[_0xa9f889(0x47c)]=null,this['_clearShapeAdjustControls']();})),this[_0x9f8f06(0x2b0)]((0x0,_0x21926c[_0x9f8f06(0x1a1)])(this[_0x9f8f06(0x369)][_0x9f8f06(0x46c)],this[_0x9f8f06(0x369)]['refreshTransform$'])['subscribe'](_0x5f511c=>{const _0x368787=_0x9f8f06;var _0x88a18e;let _0x37a3e9=_0x5f511c[_0x368787(0x363)](_0x13185f=>_0x13185f[_0x368787(0x2ef)]===this[_0x368787(0x111)]&&_0x13185f[_0x368787(0x24d)]===this['_unitId']&&_0x13185f[_0x368787(0x28c)]===this['_subUnitId']);_0x37a3e9&&((_0x88a18e=this[_0x368787(0x369)][_0x368787(0x340)](_0x37a3e9))==null?void 0x0:_0x88a18e['drawingType'])===_0x47c402[_0x368787(0x472)][_0x368787(0x427)]&&this[_0x368787(0x2be)](!0x0);})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x440)][_0x9f8f06(0x146)](_0x3749ed=>{const _0x463b2f=_0x9f8f06;for(let _0x1f6735 of _0x3749ed)this[_0x463b2f(0x111)]===_0x1f6735[_0x463b2f(0x2ef)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x463b2f(0x1ed)]=null,this[_0x463b2f(0x47c)]=null,this['_clearShapeAdjustControls']());}));}};_0x3e66ac=_0x1cbdb5([_0x15d88a(0x1,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x250)])],_0x3e66ac);let _0x43257f=class extends _0x47c402['Disposable']{constructor(_0x66de1,_0x10d321){const _0x8ea4db=_0x7db477;super(),this[_0x8ea4db(0x17b)]=_0x66de1,this[_0x8ea4db(0x3eb)]=_0x10d321,_0x38c0c9(this,_0x8ea4db(0x1ea),new _0x21926c[(_0x8ea4db(0x297))](null)),_0x38c0c9(this,_0x8ea4db(0x494),this[_0x8ea4db(0x1ea)]['asObservable']()),_0x38c0c9(this,_0x8ea4db(0x171),new _0x21926c[(_0x8ea4db(0x297))](!0x1)),_0x38c0c9(this,_0x8ea4db(0x2f8),this[_0x8ea4db(0x171)][_0x8ea4db(0x270)]()),_0x38c0c9(this,_0x8ea4db(0x39a),void 0x0),this[_0x8ea4db(0x2b0)](this[_0x8ea4db(0x17b)][_0x8ea4db(0x3f4)]['subscribe'](()=>{const _0x51eea0=_0x8ea4db;let _0x4bf172=this[_0x51eea0(0x350)]();_0x4bf172!=null&&_0x4bf172[_0x51eea0(0x190)]&&!this['_canEdit'](_0x4bf172)&&this[_0x51eea0(0x2e2)](null);}));}['dispose'](){const _0x4d1bc7=_0x7db477;this[_0x4d1bc7(0x1ca)](),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x22e)](null),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x135)](),this[_0x4d1bc7(0x171)][_0x4d1bc7(0x22e)](!0x1),this['_onSavingEditorData$'][_0x4d1bc7(0x135)](),super[_0x4d1bc7(0x18c)]();}['setEditing'](_0x343bbf){const _0x3f5fef=_0x7db477;(_0x343bbf==null||!_0x343bbf[_0x3f5fef(0x190)]||this[_0x3f5fef(0x29b)](_0x343bbf))&&(this['_clearCompletionFrame'](),this['_editingParams$'][_0x3f5fef(0x22e)](_0x343bbf),(_0x343bbf==null||_0x343bbf[_0x3f5fef(0x190)]&&this[_0x3f5fef(0x171)][_0x3f5fef(0x40f)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x7db477(0x180)](_0x1b1f0b){const _0x9aeca=_0x7db477;this[_0x9aeca(0x171)][_0x9aeca(0x22e)](_0x1b1f0b);}[_0x7db477(0x350)](){const _0xf24ff6=_0x7db477;return this['_editingParams$'][_0xf24ff6(0x40f)]();}[_0x7db477(0x29b)](_0x398c2a){const _0x216e01=_0x7db477;let _0x4f6a5c=this['_instanceService'][_0x216e01(0x2aa)](_0x398c2a[_0x216e01(0x24d)],_0x47c402[_0x216e01(0x1aa)][_0x216e01(0x486)]);if(!_0x4f6a5c)return!0x0;let _0x1a40b5=(0x0,_0x18b339[_0x216e01(0x1af)])(_0x4f6a5c,_0x398c2a[_0x216e01(0x424)]);return(0x0,_0x18b339[_0x216e01(0x3e1)])(this['_permissionService'],_0x398c2a[_0x216e01(0x24d)],[...(0x0,_0x18b339[_0x216e01(0x15b)])(_0x4f6a5c,_0x1a40b5,_0x216e01(0x31b),_0x398c2a[_0x216e01(0x424)]),(0x0,_0x18b339[_0x216e01(0x44d)])(_0x1a40b5,'drawing',_0x398c2a[_0x216e01(0x424)])]);}[_0x7db477(0x377)](_0x1dd933){const _0x44d25b=_0x7db477;let _0x4bf767=this['getEditing']();_0x4bf767&&this['_completionFrame']===void 0x0&&(this[_0x44d25b(0x180)](!0x0),this[_0x44d25b(0x39a)]=requestAnimationFrame(()=>{const _0x2fbc24=_0x44d25b;this['_completionFrame']=void 0x0,this[_0x2fbc24(0x350)]()===_0x4bf767&&this[_0x2fbc24(0x2e2)](null);}));}[_0x7db477(0x1ca)](){const _0x46ef34=_0x7db477;this[_0x46ef34(0x39a)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x7db477(0x1b7)](){const _0x4f9898=_0x7db477;this[_0x4f9898(0x350)]()&&this[_0x4f9898(0x2e2)](null);}};_0x43257f=_0x1cbdb5([_0x15d88a(0x0,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x1,_0x47c402['IUniverInstanceService'])],_0x43257f);function _0x5312b2(_0x5530cb){const _0xdcf6c8=_0x7db477;return _0x5530cb[_0xdcf6c8(0x46b)]===!0x0||_0x5530cb['behindText']===_0x47c402[_0xdcf6c8(0x159)][_0xdcf6c8(0x199)]||_0x5530cb[_0xdcf6c8(0x479)]===_0x47c402[_0xdcf6c8(0x457)]['WRAP_NONE']&&_0x5530cb[_0xdcf6c8(0x25d)]===_0x47c402['BooleanNumber'][_0xdcf6c8(0x199)]?_0x130604[_0xdcf6c8(0x271)]-0x1:_0x54839f['DRAWING_OBJECT_LAYER_INDEX'];}let _0x5b7161=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x438aeb,_0x4f16da,_0x2c8cc2,_0x3f637c,_0xd087,_0x3280e7,_0x313c53){const _0x48e798=_0x7db477;super(),this[_0x48e798(0x369)]=_0x438aeb,this[_0x48e798(0x25b)]=_0x4f16da,this['_localeService']=_0x2c8cc2,this[_0x48e798(0x41c)]=_0x3f637c,this['_urlImageService']=_0xd087,this[_0x48e798(0x24f)]=_0x3280e7,this[_0x48e798(0x13a)]=_0x313c53,_0x38c0c9(this,'_formulaShapes',new Map()),this[_0x48e798(0x2b0)](this['_shapeFormulaService']['presentationChanged$'][_0x48e798(0x146)](_0x54df86=>{const _0x9df44c=_0x48e798;var _0x44412d;(_0x44412d=this[_0x9df44c(0x46e)]['get'](this[_0x9df44c(0x492)](_0x54df86[_0x9df44c(0x24d)],_0x54df86[_0x9df44c(0x28c)],_0x54df86['shapeId'])))==null||_0x44412d[_0x9df44c(0x2dd)](_0xd1dc27=>_0xd1dc27['setFormulaPresentation'](_0x54df86[_0x9df44c(0x151)],_0x54df86[_0x9df44c(0x358)]));})),this['disposeWithMe'](this[_0x48e798(0x369)][_0x48e798(0x440)][_0x48e798(0x146)](_0x13d1f9=>{_0x13d1f9['forEach'](_0x3ff60a=>{const _0x52ca3e=_0x3f06;this['_shapeFormulaService'][_0x52ca3e(0x1ce)]({'unitId':_0x3ff60a[_0x52ca3e(0x24d)],'subUnitId':_0x3ff60a[_0x52ca3e(0x28c)],'shapeId':_0x3ff60a[_0x52ca3e(0x2ef)]}),this['_formulaShapes'][_0x52ca3e(0x348)](this[_0x52ca3e(0x492)](_0x3ff60a['unitId'],_0x3ff60a['subUnitId'],_0x3ff60a['drawingId']));});}));}['renderDrawingShape'](_0x2306fd,_0x341950){const _0x5df161=_0x7db477;let {transform:_0x5eb29c,drawingType:_0x35a392,srcRect:_0x5bc62b,prstGeom:_0x221892,groupId:_0x1b6e54,unitId:_0x44dfe4,subUnitId:_0x1c0ce4,drawingId:_0x59c933,isMultiTransform:_0x5dc999,transforms:_0x5c0371,hidden:_0x3b1e99,selectable:_0x3eb63f}=_0x2306fd;if(_0x35a392!==_0x47c402[_0x5df161(0x472)][_0x5df161(0x427)]||!this['_drawingManagerService'][_0x5df161(0x3f3)]()||_0x5eb29c==null)return;let _0x31fe78=this['_drawingManagerService'][_0x5df161(0x291)](),_0x531c09=_0x5dc999&&_0x5c0371?_0x5c0371:[_0x5eb29c],_0x318023=[];for(let [_0x3b32d5,_0xe803d4]of _0x531c09[_0x5df161(0x3bd)]()){let {left:_0x123023,top:_0x10d152,width:_0x28cfe2,height:_0x2a4db5,angle:_0x144160,flipX:_0x270e40,flipY:_0xc93720,skewX:_0x5f2dd8,skewY:_0x66a8d5}=_0xe803d4,_0x45d996=(0x0,_0x4152b2[_0x5df161(0x2b6)])({'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'drawingId':_0x59c933},_0x5dc999?_0x3b32d5:void 0x0),_0x1b8f78=_0x341950[_0x5df161(0x40b)](_0x45d996);if(_0x1b8f78!=null){let _0xc2820f={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x1b8f78 instanceof _0x5777c9&&this[_0x5df161(0x349)](_0x1b8f78,_0xc2820f),_0x1b8f78[_0x5df161(0x2a9)]({'left':_0x123023,'top':_0x10d152,'width':_0x28cfe2,'height':_0x2a4db5,'angle':_0x144160,'flipX':_0x270e40,'flipY':_0xc93720,'skewX':_0x5f2dd8,'skewY':_0x66a8d5});continue;}let _0x1467be=this[_0x5df161(0x369)][_0x5df161(0x2bf)](_0x44dfe4,_0x1c0ce4),_0x3c99ab=_0x1467be[_0x5df161(0x2fa)](_0x59c933);if(_0x341950['getObjectIncludeInGroup'](_0x45d996)||!this['_drawingManagerService'][_0x5df161(0x3f3)]())continue;let _0x272b20=this['_docsShapeService']['getShapeModel'](_0x44dfe4,_0x1c0ce4,_0x59c933);if(!_0x272b20)continue;let _0x47182e=(0x0,_0x3becc2[_0x5df161(0x34f)])(_0x272b20[_0x5df161(0x466)]())?{..._0x56d51f['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x56d51f[_0x5df161(0x260)],_0x44bcb2=_0x272b20[_0x5df161(0x38a)]()[_0x5df161(0x3d0)],_0x483ea6={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x44bcb2&&this[_0x5df161(0x13a)][_0x5df161(0x394)](_0x483ea6,_0x44bcb2);let _0x5de748=new _0x5777c9(_0x45d996,{..._0xe803d4,'zIndex':_0x3c99ab===-0x1?_0x1467be[_0x5df161(0x2b4)]-0x1:_0x3c99ab,'shapeModel':_0x272b20,'localeService':this[_0x5df161(0x29a)],'shapeId':_0x59c933,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'visible':_0x3b1e99!==!0x0,'evented':_0x3eb63f!==!0x1,'formulaPresentation':_0x44bcb2?this['_shapeFormulaService']['getPresentation'](_0x483ea6):void 0x0,'animateFormulaPresentation':(_0x44bcb2==null?void 0x0:_0x44bcb2[_0x5df161(0x358)])!==!0x1,'transformerConfig':_0x47182e});if(_0x44bcb2){let _0x4a74a5=this[_0x5df161(0x492)](_0x44dfe4,_0x1c0ce4,_0x59c933),_0xf635d=this['_formulaShapes'][_0x5df161(0x45e)](_0x4a74a5)??new Set();_0xf635d[_0x5df161(0x3f2)](_0x5de748),this[_0x5df161(0x46e)][_0x5df161(0x3fc)](_0x4a74a5,_0xf635d);}this[_0x5df161(0x2b0)]((0x0,_0x47c402['toDisposable'])(_0x5de748[_0x5df161(0x25e)][_0x5df161(0x20f)]((_0x51490d,_0x470c75)=>{const _0x5819d5=_0x5df161;_0x272b20[_0x5819d5(0x20e)]()||_0x44bcb2||(this[_0x5819d5(0x24f)][_0x5819d5(0x2e2)]({'visible':!0x0,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933,'shapeKey':_0x5de748[_0x5819d5(0x34c)]}),_0x470c75[_0x5819d5(0x361)]());}))),_0x341950[_0x5df161(0x338)](_0x5de748,_0x5312b2(_0x2306fd)),_0x31fe78&&_0x341950[_0x5df161(0x318)](_0x5de748),_0x1b6e54&&(0x0,_0x459a9e[_0x5df161(0x35e)])({'drawingId':_0x1b6e54,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4},_0x5de748,_0x341950,this['_drawingManagerService'],_0x5dc999?_0x3b32d5:void 0x0),_0x221892!=null&&_0x5de748[_0x5df161(0x3c8)](_0x221892),_0x5bc62b!=null&&_0x5de748[_0x5df161(0x13e)](_0x5bc62b),this['_loadShapePictureFill'](_0x5de748,_0x272b20[_0x5df161(0x38a)]()),_0x318023[_0x5df161(0x327)](_0x5de748);}return _0x318023;}[_0x7db477(0x492)](_0x305f57,_0x247778,_0x5c9896){return _0x305f57+'\x00'+_0x247778+'\x00'+_0x5c9896;}[_0x7db477(0x349)](_0x2cd3ec,_0x505b36){const _0x290bbb=_0x7db477;let _0x554e52=this['_docsShapeService']['getShapeModel'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]),_0x48fc38=_0x554e52==null?void 0x0:_0x554e52[_0x290bbb(0x38a)]()[_0x290bbb(0x3d0)],_0x5e0772=this['_formulaKey'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]);if(_0x48fc38){this[_0x290bbb(0x13a)]['register'](_0x505b36,_0x48fc38);let _0x319754=this[_0x290bbb(0x46e)][_0x290bbb(0x45e)](_0x5e0772)??new Set();_0x319754[_0x290bbb(0x3f2)](_0x2cd3ec),this[_0x290bbb(0x46e)][_0x290bbb(0x3fc)](_0x5e0772,_0x319754);}else{var _0x575b37;this[_0x290bbb(0x13a)]['unregister'](_0x505b36),(_0x575b37=this[_0x290bbb(0x46e)]['get'](_0x5e0772))==null||_0x575b37[_0x290bbb(0x348)](_0x2cd3ec);}_0x2cd3ec[_0x290bbb(0x264)](_0x48fc38?this[_0x290bbb(0x13a)][_0x290bbb(0x2c8)](_0x505b36):void 0x0,(_0x48fc38==null?void 0x0:_0x48fc38['animationEnabled'])!==!0x1);}['refreshShapeFillImage'](_0x1db94d){const _0x4054bc=_0x7db477;let _0x530886=_0x1db94d['shapeModel'][_0x4054bc(0x38a)](),_0x4b3d68=_0x530886[_0x4054bc(0x15c)];if(!_0x4b3d68||_0x4b3d68[_0x4054bc(0x333)]!==_0x3becc2[_0x4054bc(0x489)]['PictureFill']||!_0x4b3d68[_0x4054bc(0x321)]){_0x1db94d[_0x4054bc(0x1f5)](void 0x0);return;}this[_0x4054bc(0x346)](_0x1db94d,_0x530886);}[_0x7db477(0x346)](_0x559ec5,_0x35990e){const _0x399324=_0x7db477;let _0x4b4bbf=_0x35990e[_0x399324(0x15c)];if(!_0x4b4bbf||_0x4b4bbf[_0x399324(0x333)]!==_0x3becc2[_0x399324(0x489)]['PictureFill']||!_0x4b4bbf['fillImageSource'])return;let _0x48eecf=_0x4b4bbf[_0x399324(0x321)],_0x422499=_0x4b4bbf[_0x399324(0x12f)]??_0x3becc2[_0x399324(0x279)]['URL'],_0x58bd51=this[_0x399324(0x41c)][_0x399324(0x1d1)](_0x48eecf,_0x422499);if(_0x58bd51){_0x559ec5['setFillImage'](_0x58bd51);return;}this['_loadAndSetImage'](_0x559ec5,_0x48eecf,_0x422499);}async[_0x7db477(0x469)](_0x10c304,_0x52459d,_0x4bcc3e){const _0x5991ad=_0x7db477;let _0x1a74c0;try{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)]['UUID'])_0x1a74c0=await this[_0x5991ad(0x41c)][_0x5991ad(0x23f)](_0x52459d);else{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)][_0x5991ad(0x202)])try{_0x1a74c0=await this[_0x5991ad(0x392)][_0x5991ad(0x23f)](_0x52459d);}catch{_0x1a74c0=_0x52459d;}else _0x1a74c0=_0x52459d;}}catch(_0x599a21){console[_0x5991ad(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x599a21);return;}let _0x2fb7c5=new window[(_0x5991ad(0x351))]();_0x2fb7c5[_0x5991ad(0x41f)]=()=>{const _0xd063be=_0x5991ad;this[_0xd063be(0x41c)][_0xd063be(0x186)](_0x52459d,_0x4bcc3e,_0x2fb7c5),_0x10c304[_0xd063be(0x1f5)](_0x2fb7c5);},_0x2fb7c5[_0x5991ad(0x119)]=()=>{const _0xa0a01b=_0x5991ad;console[_0xa0a01b(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x52459d);},_0x2fb7c5[_0x5991ad(0x42d)]=_0x1a74c0;}};_0x5b7161=_0x1cbdb5([_0x15d88a(0x0,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x274)]),_0x15d88a(0x4,_0x47c402['IURLImageService']),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x48b72a[_0x7db477(0x43e)]))],_0x5b7161);let _0x2cac68=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xee8ab2,_0x5627d9,_0x10e974){const _0x5caa8d=_0x7db477;super(),this[_0x5caa8d(0x404)]=_0xee8ab2,this[_0x5caa8d(0x369)]=_0x5627d9,this[_0x5caa8d(0x3a2)]=_0x10e974,this[_0x5caa8d(0x499)]();}[_0x7db477(0x499)](){const _0xa82fb2=_0x7db477;this[_0xa82fb2(0x2b0)](this[_0xa82fb2(0x404)][_0xa82fb2(0x144)][_0xa82fb2(0x164)](this['_docPrintInterceptorService']['interceptor'][_0xa82fb2(0x152)]()[_0xa82fb2(0x32e)],{'handler':(_0x42709e,_0x223223,_0x5bff80)=>{const _0x37e708=_0xa82fb2;var _0x4948ba;let {unitId:_0x13afaf,scene:_0x572ccd,skeleton:_0x3b38bc}=_0x223223,{pageIndex:_0x18130e}=_0x223223,_0x1df6c9=(_0x4948ba=this['_drawingManagerService'][_0x37e708(0x268)](_0x13afaf))==null?void 0x0:_0x4948ba[_0x13afaf],_0x5ecb15=_0x26fa7c(this['_docPrintInterceptorService'],_0x3b38bc,_0x18130e);return _0x1df6c9==null||_0x1df6c9[_0x37e708(0x2d1)][_0x37e708(0x2dd)](_0x6efae7=>{const _0x45f16b=_0x37e708;if(_0x5ecb15&&!_0x5ecb15[_0x45f16b(0x48e)](_0x6efae7))return;let _0x59ebc1=_0x1df6c9[_0x45f16b(0x330)][_0x6efae7];_0x59ebc1[_0x45f16b(0x3bc)]===_0x47c402['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x59ebc1[_0x45f16b(0x37f)]&&this[_0x45f16b(0x3a2)]['renderDrawingShape'](_0x59ebc1,_0x572ccd);}),_0x5bff80(_0x42709e);}}));}};_0x2cac68=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x15d)])),_0x15d88a(0x1,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x5b7161))],_0x2cac68);function _0x26fa7c(_0xda5fcb,_0x2a526c,_0x110c29){const _0x46405d=_0x7db477;var _0x24b75a,_0x1cc5c4;let _0x2860a2=_0xda5fcb;if(_0x2860a2[_0x46405d(0x302)])return _0x2860a2[_0x46405d(0x302)](_0x2a526c,_0x110c29);let _0x4ad935=_0x2a526c['getSkeletonData']();if(!_0x4ad935||_0x4ad935[_0x46405d(0x277)][_0x46405d(0x2b4)]<=0x1||_0x110c29==null)return null;let _0x4cd01a=new Set(),_0x3cea2f=_0x4ad935[_0x46405d(0x277)][_0x110c29];if(!_0x3cea2f)return _0x4cd01a;_0x2025ed(_0x3cea2f,_0x4cd01a);let _0x1408b6=(_0x24b75a=_0x4ad935['skeHeaders'][_0x46405d(0x45e)](_0x3cea2f['headerId']))==null?void 0x0:_0x24b75a['get'](_0x3cea2f['pageWidth']),_0x1ff6dc=(_0x1cc5c4=_0x4ad935[_0x46405d(0x20a)][_0x46405d(0x45e)](_0x3cea2f['footerId']))==null?void 0x0:_0x1cc5c4[_0x46405d(0x45e)](_0x3cea2f['pageWidth']);return _0x1408b6&&_0x2025ed(_0x1408b6,_0x4cd01a),_0x1ff6dc&&_0x2025ed(_0x1ff6dc,_0x4cd01a),_0x4cd01a;}function _0x2025ed(_0x1dee8b,_0x427b17){const _0x3a92fe=_0x7db477;for(let _0x15ceb0 of _0x1dee8b[_0x3a92fe(0x373)]['keys']())_0x427b17[_0x3a92fe(0x3f2)](_0x15ceb0);for(let _0xaaa208 of _0x1dee8b[_0x3a92fe(0x3ac)][_0x3a92fe(0x235)]())for(let _0x3be938 of _0xaaa208[_0x3a92fe(0x1b3)])for(let _0x261406 of _0x3be938[_0x3a92fe(0x38e)])_0x2025ed(_0x261406,_0x427b17);}function _0x1dfb3a({ref:_0x1c739b,..._0x4b9794}){const _0x28fc56=_0x7db477;let {preserveStrokeWidth:_0x1dc424,icon:_0x59e172,id:_0xcbb597,className:_0x5a6ecc,extend:_0x1938b4,..._0x4c8b2c}=_0x4b9794,_0x2580a4=(_0x28fc56(0x44e)+_0xcbb597+'\x20'+(_0x5a6ecc||''))[_0x28fc56(0x278)](),_0xa10081='_'+(0x0,_0x8303f3[_0x28fc56(0x238)])(),_0x314495=(0x0,_0x8303f3[_0x28fc56(0x2dc)])(null);return(0x0,_0x8303f3[_0x28fc56(0x28f)])(_0x1c739b,()=>_0x314495[_0x28fc56(0x3ec)]),(0x0,_0x8303f3[_0x28fc56(0x313)])(()=>{const _0x2fe906=_0x28fc56;if(_0x1dc424&&_0x314495[_0x2fe906(0x3ec)]&&_0x314495[_0x2fe906(0x3ec)][_0x2fe906(0x1da)]===_0x59e172['tag'])return _0x32951d(_0x314495['current']);},[_0x1dc424,_0x59e172]),_0x215e67(_0x59e172,''+_0xcbb597,{'defIds':_0x59e172[_0x28fc56(0x312)],'idSuffix':_0xa10081},{'ref':_0x314495,'className':_0x2580a4,..._0x4c8b2c},_0x1938b4);}function _0x215e67(_0x168040,_0x254f47,_0x3f3666,_0x55af0d,_0x1d7730){const _0x2a319f=_0x7db477;return(0x0,_0x8303f3[_0x2a319f(0x24b)])(_0x168040[_0x2a319f(0x2c6)],{'key':_0x254f47,..._0x5869eb(_0x168040,_0x3f3666,_0x1d7730),..._0x55af0d},(_0x2a09db(_0x168040,_0x3f3666)['children']||[])[_0x2a319f(0x3b4)]((_0x19db55,_0x1b855d)=>_0x215e67(_0x19db55,_0x254f47+'-'+_0x168040[_0x2a319f(0x2c6)]+'-'+_0x1b855d,_0x3f3666,void 0x0,_0x1d7730)));}function _0x5869eb(_0x4e2224,_0x3f4c4a,_0x7d2236){const _0x5550a6=_0x7db477;let _0x352833={..._0x4e2224[_0x5550a6(0x364)]};_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x15c)]===_0x5550a6(0x496)&&(_0x352833['fill']=_0x7d2236[_0x5550a6(0x496)]),_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x116)]===_0x5550a6(0x496)&&(_0x352833[_0x5550a6(0x116)]=_0x7d2236[_0x5550a6(0x496)]),_0x4e2224[_0x5550a6(0x2c6)]==='mask'&&_0x352833['id']&&(_0x352833['id']+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x44f1b4,_0xf3b959])=>{const _0x1dfcbc=_0x5550a6;_0x44f1b4===_0x1dfcbc(0x386)&&typeof _0xf3b959==_0x1dfcbc(0x371)&&(_0x352833[_0x44f1b4]=_0xf3b959[_0x1dfcbc(0x275)](/url\(#(.*)\)/,_0x1dfcbc(0x344)+_0x3f4c4a[_0x1dfcbc(0x128)]+')'));});let {defIds:_0x3f58a6}=_0x3f4c4a;return!_0x3f58a6||_0x3f58a6[_0x5550a6(0x2b4)]===0x0?_0x352833:(_0x4e2224[_0x5550a6(0x2c6)]===_0x5550a6(0x399)&&_0x352833[_0x5550a6(0x3c3)]&&(_0x352833[_0x5550a6(0x3c3)]+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x98a0e3,_0x537bdf])=>{const _0x50f00e=_0x5550a6;typeof _0x537bdf==_0x50f00e(0x371)&&(_0x352833[_0x98a0e3]=_0x537bdf['replace'](/url\(#(.*)\)/,_0x50f00e(0x344)+_0x3f4c4a[_0x50f00e(0x128)]+')'));}),_0x352833);}function _0x2a09db(_0x783e71,_0x324d6d){const _0x5948a7=_0x7db477;var _0x1254e1;let {defIds:_0x3dd055}=_0x324d6d;return!_0x3dd055||_0x3dd055['length']===0x0?_0x783e71:_0x783e71[_0x5948a7(0x2c6)]===_0x5948a7(0x3a4)&&(_0x1254e1=_0x783e71[_0x5948a7(0x174)])!=null&&_0x1254e1[_0x5948a7(0x2b4)]?{..._0x783e71,'children':_0x783e71[_0x5948a7(0x174)][_0x5948a7(0x3b4)](_0x3bee49=>typeof _0x3bee49[_0x5948a7(0x364)]['id']=='string'&&_0x3dd055&&_0x3dd055[_0x5948a7(0x2df)](_0x3bee49[_0x5948a7(0x364)]['id'])?{..._0x3bee49,'attrs':{..._0x3bee49[_0x5948a7(0x364)],'id':_0x3bee49[_0x5948a7(0x364)]['id']+_0x324d6d[_0x5948a7(0x128)]}}:_0x3bee49)}:_0x783e71;}function _0x32951d(_0x28a435){const _0x14ead9=_0x7db477;let _0x22135d=_0x28a435[_0x14ead9(0x464)][_0x14ead9(0x122)],_0x59b2b1=Math[_0x14ead9(0x326)](_0x22135d[_0x14ead9(0x19f)],_0x22135d['height']);if(!Number[_0x14ead9(0x401)](_0x59b2b1)||_0x59b2b1<=0x0||_0x22135d['width']<=0x0||_0x22135d[_0x14ead9(0x1e3)]<=0x0)return()=>void 0x0;let _0x29193a=0x10/_0x59b2b1,_0x7cab18=Array[_0x14ead9(0x175)](_0x28a435[_0x14ead9(0x3f1)](_0x14ead9(0x3b0)))[_0x14ead9(0x1de)](_0x113480=>{const _0x41541b=_0x14ead9;let _0x19e6a6=getComputedStyle(_0x113480),_0x2c853c=Number[_0x41541b(0x132)](_0x19e6a6['strokeWidth']);return _0x19e6a6['stroke']===_0x41541b(0x1c5)||Number['parseFloat'](_0x19e6a6[_0x41541b(0x1e5)])===0x0||_0x19e6a6[_0x41541b(0x2db)]==='non-scaling-stroke'||!Number[_0x41541b(0x401)](_0x2c853c)||_0x2c853c<=0x0?[]:[{'element':_0x113480,'hadStyleAttribute':_0x113480[_0x41541b(0x155)](_0x41541b(0x43a)),'originalStrokeWidth':_0x2c853c,'strokeWidth':_0x447f92(_0x113480[_0x41541b(0x43a)],_0x41541b(0x14b))}];})[_0x14ead9(0x3b4)](_0x1a663c=>({'appliedStrokeWidth':null,'element':_0x1a663c['element'],'hadStyleAttribute':_0x1a663c[_0x14ead9(0x12d)],'isReleased':!0x1,'originalStrokeWidth':_0x1a663c[_0x14ead9(0x282)],'strokeWidth':_0x1a663c[_0x14ead9(0x17c)]}));if(_0x7cab18[_0x14ead9(0x2b4)]===0x0)return()=>void 0x0;let _0xc276b=(_0x43de45,_0x42d01f)=>{const _0x554701=_0x14ead9;if(_0x22135d[_0x554701(0x19f)]<=0x0||_0x22135d[_0x554701(0x1e3)]<=0x0||_0x43de45<=0x0||_0x42d01f<=0x0)return;let _0x27b96d=Math[_0x554701(0x198)](_0x43de45/_0x22135d[_0x554701(0x19f)],_0x42d01f/_0x22135d[_0x554701(0x1e3)]);!Number[_0x554701(0x401)](_0x27b96d)||_0x27b96d<=0x0||_0x7cab18['forEach'](_0x49986e=>{const _0x1e13b8=_0x554701;if(_0x49986e[_0x1e13b8(0x42c)])return;if(_0x49986e[_0x1e13b8(0x14a)]!==null&&(_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)]['getPropertyValue'](_0x1e13b8(0x14b))!==_0x49986e['appliedStrokeWidth']||_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)][_0x1e13b8(0x118)](_0x1e13b8(0x14b))!==_0x49986e['strokeWidth'][_0x1e13b8(0x19c)])){_0x49986e[_0x1e13b8(0x14a)]=null,_0x49986e[_0x1e13b8(0x42c)]=!0x0;return;}let _0x3ec477=_0x49986e[_0x1e13b8(0x282)]*_0x29193a/_0x27b96d,_0x33d377=Number(_0x3ec477[_0x1e13b8(0x3a7)](0xc))+'px';_0x49986e['element'][_0x1e13b8(0x43a)][_0x1e13b8(0x256)](_0x1e13b8(0x14b),_0x33d377,_0x49986e['strokeWidth'][_0x1e13b8(0x19c)]),_0x49986e['appliedStrokeWidth']=_0x33d377;});},_0x5cca29=_0x28a435[_0x14ead9(0x475)]();_0xc276b(_0x5cca29[_0x14ead9(0x19f)],_0x5cca29[_0x14ead9(0x1e3)]);let _0x3bf56d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22edf6=>{const _0x5344ad=_0x14ead9;if(_0x22edf6[_0x5344ad(0x30e)](_0x106f7b=>_0x106f7b['target']===_0x28a435)){let _0x5552a2=_0x28a435['getBoundingClientRect']();_0xc276b(_0x5552a2[_0x5344ad(0x19f)],_0x5552a2[_0x5344ad(0x1e3)]);}});return _0x3bf56d==null||_0x3bf56d[_0x14ead9(0x323)](_0x28a435),()=>{const _0x590400=_0x14ead9;_0x3bf56d==null||_0x3bf56d[_0x590400(0x33a)](),_0x7cab18['forEach'](_0x3dcfcc=>{const _0x2a3c44=_0x590400;_0x3dcfcc[_0x2a3c44(0x14a)]!==null&&(_0x39a905(_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)],_0x2a3c44(0x14b),_0x3dcfcc['appliedStrokeWidth'],_0x3dcfcc[_0x2a3c44(0x17c)][_0x2a3c44(0x19c)],_0x3dcfcc['strokeWidth']),!_0x3dcfcc['hadStyleAttribute']&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)][_0x2a3c44(0x2b4)]===0x0&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x352)](_0x2a3c44(0x43a)));});};}function _0x447f92(_0x9d88b6,_0x2a9faa){const _0x3af7ac=_0x7db477;return{'priority':_0x9d88b6[_0x3af7ac(0x118)](_0x2a9faa),'value':_0x9d88b6[_0x3af7ac(0x192)](_0x2a9faa)};}function _0x39a905(_0x11144a,_0x959eab,_0x2ee5e4,_0x552139,_0x3d48f5){const _0x4b70a1=_0x7db477;_0x11144a[_0x4b70a1(0x192)](_0x959eab)===_0x2ee5e4&&_0x11144a[_0x4b70a1(0x118)](_0x959eab)===_0x552139&&(_0x3d48f5[_0x4b70a1(0x1c6)]?_0x11144a[_0x4b70a1(0x256)](_0x959eab,_0x3d48f5[_0x4b70a1(0x1c6)],_0x3d48f5[_0x4b70a1(0x19c)]):_0x11144a[_0x4b70a1(0x27d)](_0x959eab));}_0x1dfb3a[_0x7db477(0x34e)]=_0x7db477(0x124);let _0x39fa14={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x189),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3ce),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x236)}},{'tag':'path','attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2b1)}}]},_0x48e3a1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x3e499d,_0x293cf0){const _0x171528=_0x7db477;return(0x0,_0x8303f3[_0x171528(0x24b)])(_0x1dfb3a,Object[_0x171528(0x113)]({},_0x3e499d,{'id':'bottom-icon','ref':_0x293cf0,'icon':_0x39fa14}));});_0x48e3a1[_0x7db477(0x34e)]=_0x7db477(0x1ec);let _0xadd8e9={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2e4),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x33c5c4=(0x0,_0x8303f3['forwardRef'])(function(_0x2a234e,_0xce44e4){const _0x20e723=_0x7db477;return(0x0,_0x8303f3[_0x20e723(0x24b)])(_0x1dfb3a,Object[_0x20e723(0x113)]({},_0x2a234e,{'id':'more-down-icon','ref':_0xce44e4,'icon':_0xadd8e9}));});_0x33c5c4[_0x7db477(0x34e)]='MoreDownIcon';let _0x28a193={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':'1em','height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x13c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x106a87=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x260a34,_0x115fce){const _0x3ebcfa=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x260a34,{'id':_0x3ebcfa(0x45b),'ref':_0x115fce,'icon':_0x28a193}));});_0x106a87['displayName']=_0x7db477(0x2e8);let _0x24b9f8={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'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','fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x362)}}]},_0x29fbfe=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x120be7,_0x3b6150){const _0x1752ff=_0x7db477;return(0x0,_0x8303f3[_0x1752ff(0x24b)])(_0x1dfb3a,Object[_0x1752ff(0x113)]({},_0x120be7,{'id':_0x1752ff(0x2cf),'ref':_0x3b6150,'icon':_0x24b9f8}));});_0x29fbfe[_0x7db477(0x34e)]=_0x7db477(0x434);let _0x2017d6={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3dd),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3d8)}}]},_0x2d9da1=(0x0,_0x8303f3['forwardRef'])(function(_0x14d802,_0x26a245){const _0x3ce777=_0x7db477;return(0x0,_0x8303f3[_0x3ce777(0x24b)])(_0x1dfb3a,Object[_0x3ce777(0x113)]({},_0x14d802,{'id':_0x3ce777(0x223),'ref':_0x26a245,'icon':_0x2017d6}));});_0x2d9da1['displayName']=_0x7db477(0x378);let _0x563dc2={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x498),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.3}}]},_0x1f286e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x49114e,_0x53934a){const _0x27b6c1=_0x7db477;return(0x0,_0x8303f3[_0x27b6c1(0x24b)])(_0x1dfb3a,Object[_0x27b6c1(0x113)]({},_0x49114e,{'id':_0x27b6c1(0x11c),'ref':_0x53934a,'icon':_0x563dc2}));});_0x1f286e[_0x7db477(0x34e)]=_0x7db477(0x28e);let _0x86b240={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x454),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x7db477(0x179),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x2b2),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x262),'strokeLinejoin':_0x7db477(0x3f7)}},{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x3cc)}}]},_0x660fb1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x25346c,_0x45ddc8){const _0x31f723=_0x7db477;return(0x0,_0x8303f3[_0x31f723(0x24b)])(_0x1dfb3a,Object[_0x31f723(0x113)]({},_0x25346c,{'id':_0x31f723(0x1b2),'ref':_0x45ddc8,'icon':_0x86b240}));});_0x660fb1[_0x7db477(0x34e)]='ShapeFormatSettingIcon';let _0x5a7ac5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x2bd),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x44c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x272d53=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x156121,_0x5d9cfa){const _0x4dabd9=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x156121,{'id':_0x4dabd9(0x45c),'ref':_0x5d9cfa,'icon':_0x5a7ac5}));});_0x272d53['displayName']=_0x7db477(0x257);let _0x721411={'tag':'svg','attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x1b4)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ac36e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x1ccf8f,_0x9383c1){const _0x25ed18=_0x7db477;return(0x0,_0x8303f3[_0x25ed18(0x24b)])(_0x1dfb3a,Object[_0x25ed18(0x113)]({},_0x1ccf8f,{'id':_0x25ed18(0x193),'ref':_0x9383c1,'icon':_0x721411}));});_0x2ac36e[_0x7db477(0x34e)]='TopmostIcon';function _0x4eeaa2(_0x1871d4){const _0x2058f2=_0x7db477;return(0x0,_0x932776[_0x2058f2(0x476)])(_0x3be8f4,{..._0x1871d4,'PickerComponent':_0x56d51f[_0x2058f2(0x39e)]});}function _0x2facba(){const _0x289c09=_0x7db477;let _0x58dde1=(0x0,_0x86086d[_0x289c09(0x320)])(_0x47c402[_0x289c09(0x2ba)]),_0x3a937a=_0x2ede24(),[_0x3fc931,_0x4b60df]=(0x0,_0x8303f3[_0x289c09(0x265)])(!0x1);return(0x0,_0x932776['jsxs'])(_0x289c09(0x465),{'className':_0x289c09(0x3b7),'children':[(0x0,_0x932776[_0x289c09(0x476)])(_0x5c76ee[_0x289c09(0x183)],{'title':_0x58dde1['t']('docs-shape-ui.crop.shape'),'aria-expanded':_0x3fc931,'variant':'subtle','trailing':_0x3fc931?(0x0,_0x932776[_0x289c09(0x476)])(_0x106a87,{}):(0x0,_0x932776[_0x289c09(0x476)])(_0x33c5c4,{}),'onClick':()=>_0x4b60df(_0x32229e=>!_0x32229e)}),_0x3fc931&&(0x0,_0x932776['jsx'])(_0x56d51f[_0x289c09(0x39e)],{'excludeGroups':[_0x56d51f[_0x289c09(0x2cc)][_0x289c09(0x458)]],'onShapeClick':_0xce96bd=>{_0x3a937a(_0xce96bd),_0x4b60df(!0x1);}})]});}function _0xb20ec8(_0x41909a){const _0x3d63e8=_0x7db477;return _0x41909a[_0x3d63e8(0x278)]()||void 0x0;}function _0x52ed91(_0xeb70c4,_0xdb2dbd,_0x5b9df7){const _0x4fdd0c=_0x7db477;var _0x559810,_0x1e9ed6;return((_0x559810=_0xeb70c4[_0x4fdd0c(0x322)])==null?void 0x0:_0x559810[_0x4fdd0c(0x278)]())||((_0x1e9ed6=_0xeb70c4[_0x4fdd0c(0x44b)])==null?void 0x0:_0x1e9ed6[_0x4fdd0c(0x278)]())||_0x5b9df7['t'](_0x4fdd0c(0x1d9)+(0x0,_0x56d51f[_0x4fdd0c(0x37b)])(_0xeb70c4[_0x4fdd0c(0x3bc)]))+'\x20'+(_0xdb2dbd+0x1);}function _0x2413ae({PanelComponent:_0x2da89e=_0x459a9e['ObjectListPanelBase']}){const _0x22fad5=_0x7db477;let _0x534d17=(0x0,_0x86086d['useDependency'])(_0x47c402['LocaleService']),_0x42ed7f={'title':_0x534d17['t']('drawing-ui.objectListPanel.title'),'empty':_0x534d17['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x534d17['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x534d17['t'](_0x22fad5(0x295)),'lockAll':_0x534d17['t'](_0x22fad5(0x480)),'unlockAll':_0x534d17['t'](_0x22fad5(0x218)),'moveForward':_0x534d17['t'](_0x22fad5(0x2d4)),'moveBackward':_0x534d17['t'](_0x22fad5(0x379)),'close':_0x534d17['t'](_0x22fad5(0x2fc)),'show':_0x534d17['t'](_0x22fad5(0x419)),'hide':_0x534d17['t']('drawing-ui.objectListPanel.hide'),'lock':_0x534d17['t'](_0x22fad5(0x2b7)),'unlock':_0x534d17['t'](_0x22fad5(0x2e1)),'lockHint':_0x534d17['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x534d17['t'](_0x22fad5(0x150)),'name':_0x534d17['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x534d17['t'](_0x22fad5(0x2a5)),'description':_0x534d17['t'](_0x22fad5(0x287)),'descriptionPlaceholder':_0x534d17['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x534d17['t'](_0x22fad5(0x325)),'noSelection':_0x534d17['t'](_0x22fad5(0x21e)),'locate':_0x534d17['t'](_0x22fad5(0x134)),'expand':_0x534d17['t'](_0x22fad5(0x2b8)),'collapse':_0x534d17['t'](_0x22fad5(0x22f)),'dragToReorder':_0x534d17['t'](_0x22fad5(0x1e9)),'search':_0x534d17['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x534d17['t'](_0x22fad5(0x423)),'filterHidden':_0x534d17['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x534d17['t'](_0x22fad5(0x267)),'sectionCanvas':_0x534d17['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x534d17['t'](_0x22fad5(0x1ff))},_0x3adfc8=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402[_0x22fad5(0x250)]),_0x11b730=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402['IUniverInstanceService']),_0x5d9646=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x13d142[_0x22fad5(0x22c)]),_0x4b1c49=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x4152b2[_0x22fad5(0x1a4)]),_0x305639=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x54839f[_0x22fad5(0x173)]),[,_0x5bf5cd]=(0x0,_0x8303f3[_0x22fad5(0x201)])(_0x3c55d4=>_0x3c55d4+0x1,0x0),_0x379cd1=_0x11b730[_0x22fad5(0x47e)](_0x47c402['UniverInstanceType']['UNIVER_DOC']),_0x41d36e=(_0x379cd1==null?void 0x0:_0x379cd1[_0x22fad5(0x38c)]())??'',_0xc19d3b=_0x41d36e,_0x2d8eab=(0x0,_0x86086d[_0x22fad5(0x3cf)])(()=>_0x4b1c49[_0x22fad5(0x48c)],_0x4b1c49[_0x22fad5(0x3b6)](),!0x1,[_0x4b1c49]);(0x0,_0x8303f3['useEffect'])(()=>{const _0x411e3c=_0x22fad5;let _0x1c5ba9=_0x3adfc8[_0x411e3c(0x187)](()=>_0x5bf5cd());return()=>_0x1c5ba9[_0x411e3c(0x18c)]();},[_0x3adfc8]);let _0x1a3c07=_0x41d36e?_0x5d9646[_0x22fad5(0x18f)](_0x41d36e,_0xc19d3b):{},_0x53b1ca=(_0x41d36e?_0x5d9646['getDrawingOrder'](_0x41d36e,_0xc19d3b):[])[_0x22fad5(0x3b4)](_0x3cc2f1=>_0x1a3c07[_0x3cc2f1])[_0x22fad5(0x1ef)](_0x7dae04=>!!_0x7dae04)['reverse'](),_0x41db47=_0x53b1ca[_0x22fad5(0x242)]((_0xb51a41,_0x4d33)=>(_0xb51a41[(0x0,_0x459a9e['getObjectListPanelSectionIdForDrawingType'])(_0x4d33[_0x22fad5(0x3bc)])]+=0x1,_0xb51a41),{'canvas':0x0,'floating':0x0}),_0x55b2b0={'canvas':0x0,'floating':0x0},_0x44d857=_0x53b1ca[_0x22fad5(0x3b4)]((_0x2cdfca,_0x451888)=>{const _0x461ec7=_0x22fad5;let _0x8fac4a=(0x0,_0x459a9e[_0x461ec7(0x398)])(_0x2cdfca[_0x461ec7(0x3bc)]),_0x1ffec9=_0x8fac4a===_0x459a9e[_0x461ec7(0x176)],_0x53fc21=_0x55b2b0[_0x8fac4a]++;return{'id':_0x2cdfca[_0x461ec7(0x2ef)],'name':_0x52ed91(_0x2cdfca,_0x451888,_0x534d17),'description':_0x2cdfca[_0x461ec7(0x380)],'visible':_0x2cdfca[_0x461ec7(0x37f)]!==!0x0,'selectable':_0x2cdfca[_0x461ec7(0x1e7)]!==!0x1,'sectionId':_0x8fac4a,'sectionTitle':_0x1ffec9?_0x42ed7f[_0x461ec7(0x3b5)]:_0x42ed7f[_0x461ec7(0x162)],'capabilities':_0x1ffec9?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1ffec9&&_0x53fc21>0x0,'canMoveBackward':!_0x1ffec9&&_0x53fc21<_0x41db47[_0x461ec7(0x446)]-0x1,'canReorder':!_0x1ffec9};}),_0x151728=(0x0,_0x8303f3['useMemo'])(()=>(_0x2d8eab??[])[_0x22fad5(0x1ef)](_0x5edc6f=>_0x5edc6f[_0x22fad5(0x24d)]===_0x41d36e&&_0x5edc6f[_0x22fad5(0x28c)]===_0xc19d3b)[_0x22fad5(0x3b4)](_0x37741e=>_0x37741e[_0x22fad5(0x2ef)]),[_0x2d8eab,_0xc19d3b,_0x41d36e]),_0x584add=_0x151728[_0x151728[_0x22fad5(0x2b4)]-0x1]??null,_0x469bc9=_0x12f19b=>_0x5d9646['getDrawingByParam']({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x12f19b})??null,_0x59ef72=async _0x1808cb=>{const _0x39895e=_0x22fad5;_0x41d36e&&_0x1808cb[_0x39895e(0x2b4)]&&await _0x3adfc8[_0x39895e(0x467)](_0x284855['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x41d36e,'patches':_0x1808cb});},_0x4e142b=(_0x4f844a,_0x32a424)=>{const _0xa74e84=_0x22fad5;if(!_0x41d36e)return;let _0x48f5e7=_0x32a424?_0x151728['includes'](_0x4f844a)?_0x151728[_0xa74e84(0x1ef)](_0x1c7afc=>_0x1c7afc!==_0x4f844a):[..._0x151728,_0x4f844a]:[_0x4f844a];_0x3adfc8[_0xa74e84(0x17e)](_0x4152b2[_0xa74e84(0x153)]['id'],_0x48f5e7[_0xa74e84(0x3b4)](_0x1901e3=>({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x1901e3})));let _0x368a97=_0x48f5e7[_0x48f5e7[_0xa74e84(0x2b4)]-0x1];_0x368a97?(0x0,_0x56d51f['activateDrawingObject'])(_0x305639,{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x368a97}):(0x0,_0x56d51f[_0xa74e84(0x389)])(_0x305639,_0x41d36e);},_0x483573=async(_0x45825a,_0x48e756)=>{const _0x590fe9=_0x22fad5;await _0x59ef72(_0x45825a[_0x590fe9(0x3b4)](_0x345542=>_0x469bc9(_0x345542))[_0x590fe9(0x1ef)](_0x7d5c7f=>!!_0x7d5c7f)[_0x590fe9(0x1ef)](_0x54efcf=>_0x54efcf[_0x590fe9(0x37f)]!==!0x0!==_0x48e756)[_0x590fe9(0x3b4)](_0x45c640=>({'drawingId':_0x45c640['drawingId'],'hidden':!_0x48e756})));},_0x4cda5e=async(_0x2ea8f0,_0x5d738f)=>{const _0x396b70=_0x22fad5;await _0x59ef72(_0x2ea8f0[_0x396b70(0x3b4)](_0x205b7b=>_0x469bc9(_0x205b7b))[_0x396b70(0x1ef)](_0x2d4c27=>!!_0x2d4c27)['filter'](_0x1b5a0c=>_0x1b5a0c['selectable']!==!0x1!==_0x5d738f)['map'](_0xe7c91e=>({'drawingId':_0xe7c91e[_0x396b70(0x2ef)],'selectable':_0x5d738f})));},_0x2bb1cf=_0xf9a9c2=>{const _0x156dc6=_0x22fad5;let _0x19d1b8=_0x469bc9(_0xf9a9c2);if(_0x19d1b8)return _0x4cda5e([_0xf9a9c2],_0x19d1b8[_0x156dc6(0x1e7)]===!0x1);},_0x40fc92=async(_0x4904a2,_0x5d67f0)=>{const _0x86a36d=_0x22fad5;let _0xe84caf=_0x469bc9(_0x4904a2),_0x41258a=_0xb20ec8(_0x5d67f0);!_0xe84caf||(_0xe84caf[_0x86a36d(0x322)]??void 0x0)===_0x41258a&&(_0xe84caf[_0x86a36d(0x44b)]||void 0x0)===_0x41258a||await _0x59ef72([{'drawingId':_0x4904a2,'name':_0x41258a,'title':_0x41258a}]);},_0x3c3fdd=async(_0x28bb09,_0x13efb6)=>{const _0x34b033=_0x22fad5;let _0x68f4ae=_0x469bc9(_0x28bb09),_0x1361e6=_0xb20ec8(_0x13efb6);_0x68f4ae&&(_0x68f4ae[_0x34b033(0x380)]??void 0x0)!==_0x1361e6&&await _0x59ef72([{'drawingId':_0x28bb09,'description':_0x1361e6}]);},_0x168109=async(_0x3f1871,_0x30c217)=>{const _0x424556=_0x22fad5;_0x41d36e&&await _0x3adfc8[_0x424556(0x467)](_0x13d142[_0x424556(0x27c)]['id'],{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingIds':[_0x3f1871],'arrangeType':_0x30c217});};return _0x41d36e?(0x0,_0x932776[_0x22fad5(0x476)])(_0x2da89e,{'labels':_0x42ed7f,'renderPermissionAction':_0x2a474f=>_0x379cd1?(0x0,_0x932776['jsx'])(_0x86086d[_0x22fad5(0x360)],{'target':{'unitId':_0x41d36e,'objectId':(0x0,_0x18b339[_0x22fad5(0x44d)])((0x0,_0x18b339[_0x22fad5(0x1af)])(_0x379cd1,_0x2a474f['id']),'drawing',_0x2a474f['id']),'objectType':_0xad5fb1[_0x22fad5(0x1f1)]['DocumentEntity']},'name':_0x2a474f[_0x22fad5(0x322)],'commandId':_0x18b339[_0x22fad5(0x396)]['id'],'exists':()=>!!_0x469bc9(_0x2a474f['id'])},_0x41d36e+'/'+_0x2a474f['id']):null,'items':_0x44d857,'selectedIds':_0x151728,'focusedId':_0x584add,'showHeader':!0x1,'onSelect':_0x4e142b,'onSetVisible':_0x483573,'onSetSelectable':_0x4cda5e,'onCommitName':_0x40fc92,'onCommitDescription':_0x3c3fdd,'onMoveForward':async _0x1a90e1=>_0x168109(_0x1a90e1,_0x47c402['ArrangeTypeEnum'][_0x22fad5(0x205)]),'onMoveBackward':async _0x5046d5=>_0x168109(_0x5046d5,_0x47c402[_0x22fad5(0x15f)][_0x22fad5(0x37e)]),'onToggleSelectable':_0x2bb1cf}):(0x0,_0x932776[_0x22fad5(0x476)])('div',{'className':_0x22fad5(0x405),'children':_0x42ed7f[_0x22fad5(0x44b)]});}function _0x264d9e(){const _0xbe0b38=_0x7db477;return(0x0,_0x932776[_0xbe0b38(0x476)])(_0x2413ae,{'PanelComponent':_0x459a9e[_0xbe0b38(0x1b1)]});}let _0xab8686=class{constructor(_0x2e86a6){this['_renderManagerService']=_0x2e86a6;}[_0x7db477(0x447)](_0x1540c4,_0xd88fac){const _0x39909a=_0x7db477;let _0x481ba3=this['_renderManagerService'][_0x39909a(0x345)](_0x1540c4[_0x39909a(0x24d)]),_0x5ac5cb=_0x481ba3==null?void 0x0:_0x481ba3[_0x39909a(0x11a)];if(!_0x5ac5cb)return;let _0x4daf57=(0x0,_0x4152b2[_0x39909a(0x2b6)])(_0x1540c4),_0x42bbdf=_0x5ac5cb[_0x39909a(0x40b)](_0x4daf57);_0x42bbdf==null||_0x42bbdf['setFillImage'](_0xd88fac);}};_0xab8686=_0x1cbdb5([_0x15d88a(0x0,_0x54839f[_0x7db477(0x173)])],_0xab8686);function _0x3d845d(){const _0x3260e2=_0x7db477;let _0x1b0a54=(0x0,_0x86086d[_0x3260e2(0x320)])(_0x4152b2[_0x3260e2(0x1a4)]),_0x208417=(0x0,_0x86086d['useObservable'])(()=>_0x1b0a54['focus$'],_0x1b0a54[_0x3260e2(0x3b6)](),!0x1,[_0x1b0a54]);return _0x208417[_0x3260e2(0x2b4)]===0x0?null:(0x0,_0x932776[_0x3260e2(0x476)])(_0x3260e2(0x465),{'children':(0x0,_0x932776['jsxs'])(_0x3260e2(0x465),{'className':_0x3260e2(0x29c),'children':[(0x0,_0x932776[_0x3260e2(0x476)])(_0x459a9e['DrawingCommonPanel'],{'drawings':_0x208417,'hasCropper':!0x1}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x3a8)],{'drawings':_0x208417}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x430)],{'drawings':_0x208417})]})});}function _0x38ef89(_0x1827da){const _0x34c377=_0x7db477;let {unitId:_0x11bc08,subUnitId:_0xc52106,shapeId:_0xeb5bc7,PositionComponent:_0x20c7b4=_0x3d845d}=_0x1827da,_0x2aea27=(0x0,_0x86086d[_0x34c377(0x320)])(_0x47c402['ICommandService']),_0x199171=(0x0,_0x86086d[_0x34c377(0x320)])(_0xab8686);return(0x0,_0x932776[_0x34c377(0x476)])(_0x56d51f[_0x34c377(0x19e)],{..._0x1827da,'positionEditor':(0x0,_0x932776[_0x34c377(0x476)])(_0x20c7b4,{}),'onUpdateShapeData':(_0x5b7fd3,_0x4e7624)=>{_0x59074d(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x5b7fd3,_0x4e7624);},'onUpdateLineShapeData':(_0x4d6c56,_0x3bf988)=>{_0x205aee(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x4d6c56,_0x3bf988);},'onUpdateShapeFillImage':_0x182688=>{const _0x36f9a2=_0x34c377;_0x199171[_0x36f9a2(0x447)]({'unitId':_0x11bc08,'subUnitId':_0xc52106,'drawingId':_0xeb5bc7},_0x182688);}});}function _0xa2d85d(){const _0x1bf670=_0x7db477;let _0x38b62e=(0x0,_0x86086d[_0x1bf670(0x320)])(_0x4152b2['IDrawingManagerService']),_0x5a3112=(0x0,_0x86086d[_0x1bf670(0x3cf)])(_0x38b62e['focus$'],_0x38b62e[_0x1bf670(0x3b6)]());return _0x5a3112[_0x1bf670(0x2b4)]===0x0?null:(0x0,_0x932776[_0x1bf670(0x46a)])('div',{'className':_0x1bf670(0x2bc),'children':[(0x0,_0x932776[_0x1bf670(0x476)])(_0x459a9e[_0x1bf670(0x3ad)],{'drawings':_0x5a3112,'hasCropper':!0x1}),(0x0,_0x932776['jsx'])(_0x1d2176['MobileDocDrawingTextWrap'],{'drawings':_0x5a3112}),(0x0,_0x932776[_0x1bf670(0x476)])(_0x1d2176[_0x1bf670(0x115)],{'drawings':_0x5a3112})]});}function _0x290e71(_0x2e7d11){const _0x32cb47=_0x7db477;return(0x0,_0x932776[_0x32cb47(0x476)])(_0x56d51f[_0x32cb47(0x2b3)],{'children':(0x0,_0x932776['jsx'])(_0x38ef89,{..._0x2e7d11,'PositionComponent':_0xa2d85d})});}function _0x170c97({popup:_0x40e156}){const _0x296844=_0x7db477;let _0x1586fb=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x296844(0x2ba)]),{shapeType:_0x1a9aba,onText:_0x35844c,onStyle:_0x3a09c6,onDelete:_0x39a5e8}=_0x40e156['extraProps'],_0x373df4=[{'key':_0x296844(0x2f6),'order':0x0,'item':{'id':_0x296844(0x2f6),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t'](_0x296844(0x206)),'disabled$':(0x0,_0x21926c['of'])((0x0,_0x3becc2[_0x296844(0x34f)])(_0x1a9aba))}},{'key':_0x296844(0x43a),'order':0x1,'item':{'id':_0x296844(0x43a),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t']('docs-shape-ui.mobile.style')}},{'key':_0x296844(0x348),'order':0x2,'item':{'id':_0x296844(0x348),'type':_0x86086d[_0x296844(0x32d)][_0x296844(0x33e)],'title':_0x1586fb['t'](_0x296844(0x3f6))}}];return(0x0,_0x932776['jsx'])(_0x86086d['MobileMenu'],{'schemas':_0x373df4,'presentation':_0x296844(0x42b),'onOptionSelect':async({id:_0x417b57})=>{const _0x309916=_0x296844;_0x417b57==='text'?await _0x35844c():_0x417b57===_0x309916(0x43a)?await _0x3a09c6():_0x417b57===_0x309916(0x348)&&await _0x39a5e8();}});}let _0x384936=_0x7db477(0x43d);function _0x7160b5(_0x2c2317,_0x4ea443){const _0x390d3d=_0x7db477;var _0x30133c;let _0x169f89=_0x2c2317==null||(_0x30133c=_0x2c2317[_0x390d3d(0x37d)]()[_0x390d3d(0x453)])==null?void 0x0:_0x30133c[_0x4ea443];return _0x169f89?_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x306)]?_0x169f89['behindDoc']===_0x47c402[_0x390d3d(0x159)][_0x390d3d(0x199)]?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x31f)]:_0x13d142['TextWrappingStyle'][_0x390d3d(0x3d9)]:_0x169f89[_0x390d3d(0x479)]===_0x47c402[_0x390d3d(0x457)]['WRAP_SQUARE']?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x181)]:_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x319)]?_0x13d142[_0x390d3d(0x341)]['WRAP_TOP_AND_BOTTOM']:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)]:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)];}function _0x14cedd(_0x429404){const _0x21a322=_0x7db477;let _0x2d88ca=(0x0,_0x86086d['useDependency'])(_0x56d51f[_0x21a322(0x18b)]),_0x41a1c3=(0x0,_0x86086d[_0x21a322(0x3cf)])(()=>_0x2d88ca[_0x21a322(0x169)],_0x2d88ca['getVisible'](),!0x1,[_0x2d88ca]),_0xbffb8c=_0x429404['popup']['extraProps'];return _0x41a1c3?(0x0,_0x932776['jsx'])(_0x20247b,{..._0xbffb8c,'canvasElement':_0x429404[_0x21a322(0x490)]['canvasElement']}):null;}function _0x20247b(_0x2c3422){const _0x22c4cb=_0x7db477;let _0x32e432=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x250)]),_0x4d5051=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x2ba)]),_0x5b7f6b=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x284855['DocsShapeService']),_0x24872e=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x191)]),{unitId:_0x335424,subUnitId:_0x3656cb,drawingId:_0x4cf1ee,shapeType:_0x2b0436}=_0x2c3422,[_0x119449,_0x31c76d]=(0x0,_0x8303f3['useState'])(_0x2c3422[_0x22c4cb(0x441)]),_0x32b8aa=_0x24872e[_0x22c4cb(0x2aa)](_0x335424,_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)])??void 0x0,[_0x38cb71,_0x69c4ce]=(0x0,_0x8303f3['useState'])(()=>_0x7160b5(_0x32b8aa,_0x4cf1ee)),_0x1fd130=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f['getTextStyle'])(_0x119449),[_0x119449]),_0x264123=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f[_0x22c4cb(0x246)])(_0x119449),[_0x119449]);(0x0,_0x8303f3[_0x22c4cb(0x1f7)])(()=>{const _0x472193=_0x22c4cb;let _0x1073c5=_0x32e432[_0x472193(0x187)](_0x45d9f9=>{const _0x9f0e2a=_0x472193;if(_0x45d9f9['id']!==_0x284855[_0x9f0e2a(0x324)]['id'])return;let _0x14cc44=_0x5b7f6b['getShapeDataById'](_0x335424,_0x3656cb,_0x4cf1ee);_0x14cc44&&_0x31c76d(_0x14cc44);});return()=>_0x1073c5[_0x472193(0x18c)]();},[_0x32e432,_0x5b7f6b,_0x4cf1ee,_0x3656cb,_0x335424]);let _0x3d1e7f=_0xbd03a4=>{_0x31c76d(_0x395d95=>({..._0x395d95,..._0xbd03a4}));},_0xe6d18e=_0x445ed0=>{const _0x174f3b=_0x22c4cb;let _0x3286eb=(0x0,_0x56d51f[_0x174f3b(0x3b8)])(_0x119449,_0x445ed0);_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'shapeText':_0x119449[_0x174f3b(0x296)]}},_0x3286eb),_0x3d1e7f(_0x3286eb);},_0x2db053=_0x22c337=>{const _0x566400=_0x22c4cb;_0x69c4ce(_0x22c337),_0x32e432['executeCommand'](_0x13d142[_0x566400(0x383)]['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}],'wrappingStyle':_0x22c337});},_0x3a04a1=(0x0,_0x56d51f[_0x22c4cb(0x3ae)])({'hostType':_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)],'unitId':_0x335424,'subUnitId':_0x3656cb,'shapeId':_0x4cf1ee,'shapeData':_0x119449,'onUpdateBinding':_0x41e83e=>{let _0x42843c={'formulaBinding':_0x41e83e};_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'formulaBinding':_0x119449['formulaBinding']}},_0x42843c),_0x3d1e7f(_0x42843c);}}),_0x4fbe63=[{'label':_0x4d5051['t'](_0x22c4cb(0x357)),'value':_0x13d142['TextWrappingStyle']['INLINE'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t']('docs-shape-ui.textWrap.square'),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x181)],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x284)),'value':_0x13d142[_0x22c4cb(0x341)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x36d)),'value':_0x13d142['TextWrappingStyle']['BEHIND_TEXT'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x34d)),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x3d9)],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})}];return(0x0,_0x932776['jsxs'])(_0x932776[_0x22c4cb(0x1ad)],{'children':[(0x0,_0x932776[_0x22c4cb(0x476)])(_0x56d51f['ShapeFloatingToolbar'],{'canvasElement':_0x2c3422['canvasElement'],'shapeData':_0x119449,'shapeType':_0x2b0436,'textStyle':{'ff':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)][_0x22c4cb(0x47b)],'fs':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)]['fontSize'],'cl':{'rgb':_0x3becc2[_0x22c4cb(0x482)]['shapeText'][_0x22c4cb(0x233)]},..._0x1fd130},'textModel':_0x264123?{'ha':_0x264123['ha']??_0x47c402[_0x22c4cb(0x39c)][_0x22c4cb(0x495)],'va':_0x264123['va']??_0x47c402[_0x22c4cb(0x414)][_0x22c4cb(0x418)]}:null,'wrappingStyle':_0x38cb71,'wrappingStyleOptions':_0x4fbe63,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x15c)],'defaultGradientEndColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x471)],'defaultStrokeColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x116)],'extensionGroups':_0x3a04a1[_0x22c4cb(0x30b)],'floatingObjectToolbarPosition':_0x86086d[_0x22c4cb(0x16c)]['DOC'],'onUpdateShapeData':(_0x413016,_0x1d18f7)=>{_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,_0x413016,_0x1d18f7),_0x1d18f7&&_0x3d1e7f(_0x1d18f7);},'onUpdateText':_0xe6d18e,'onUpdateWrappingStyle':_0x2a1fd9=>_0x2db053(_0x2a1fd9),'onOpenPanel':()=>{_0x32e432['executeCommand'](_0x39980d['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee});},'onDelete':()=>{const _0x4aff1c=_0x22c4cb;_0x32e432[_0x4aff1c(0x467)](_0x13d142['RemoveDocDrawingCommand']['id'],{'unitId':_0x335424,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}]});}}),_0x3a04a1['panel']]});}function _0x2438dd({variant:_0x42b12a,extend:_0x5ee8cc,..._0x762831}){const _0x3c0abe=_0x7db477;let _0x40e265=(0x0,_0x932776['jsx'])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)});return(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x3c0abe(0x2ed),{'aria-hidden':_0x3c0abe(0x2ee),'fill':_0x3c0abe(0x1c5),'height':_0x3c0abe(0x25a),'viewBox':_0x3c0abe(0x2bd),'width':_0x3c0abe(0x25a),..._0x762831,'children':[_0x42b12a===_0x3c0abe(0x3d4)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x48a),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x3c0abe(0x1f3),'fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x437)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[(0x0,_0x932776['jsx'])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x184),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a===_0x3c0abe(0x436)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x2017h16','stroke':'currentColor','strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a==='behind'&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[_0x40e265,(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x1e6)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x34b),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416)})]})]});}let _0x3e01ca=_0x35900=>_0x16b867=>(0x0,_0x932776[_0x7db477(0x476)])(_0x2438dd,{..._0x16b867,'variant':_0x35900}),_0xa1bd39={'DocsShapeWrapInlineIcon':_0x3e01ca(_0x7db477(0x3d4)),'DocsShapeWrapSquareIcon':_0x3e01ca(_0x7db477(0x437)),'DocsShapeWrapTopBottomIcon':_0x3e01ca('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x3e01ca('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x3e01ca('front')},_0x1e8cf0=(0x0,_0x8303f3[_0x7db477(0x435)])(()=>{const _0x4887c7=_0x7db477;let _0x94ade7=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x43257f),_0x277d2d=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x284855[_0x4887c7(0x2ac)]),_0x258e12=(0x0,_0x86086d['useDependency'])(_0x4152b2[_0x4887c7(0x1a4)]),_0x2575c1=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x47c402[_0x4887c7(0x250)]),_0x3c6f5d=(0x0,_0x8303f3[_0x4887c7(0x167)])(()=>({'getShapeModel':(_0x4247db,_0xe06b20,_0x1b7324)=>_0x277d2d[_0x4887c7(0x3ab)](_0x4247db,_0xe06b20,_0x1b7324),'getShapeData':(_0x13ae7f,_0x4bf2ee,_0xd94ba9)=>_0x277d2d['getShapeDataById'](_0x13ae7f,_0x4bf2ee,_0xd94ba9),'getDrawingTransform':(_0x2953e7,_0x378e01,_0x4afde2)=>{const _0x14cca5=_0x4887c7;let _0x33203f=_0x258e12[_0x14cca5(0x340)]({'unitId':_0x2953e7,'subUnitId':_0x378e01,'drawingId':_0x4afde2});return _0x33203f==null?void 0x0:_0x33203f[_0x14cca5(0x211)];},'updateShapeText':({unitId:_0x9cb067,shapeId:_0x1c1783,shapeText:_0x2bafbe,oldShapeText:_0x2678ff})=>{const _0x34c50f=_0x4887c7;_0x2575c1[_0x34c50f(0x467)](_0x284855[_0x34c50f(0x3bf)]['id'],{'unitId':_0x9cb067,'shapeId':_0x1c1783,'shapeData':{'shapeText':_0x2bafbe},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2678ff}}});},'updateHostSize':({unitId:_0x4f9380,subUnitId:_0xd38253,shapeId:_0x1c6a0c,width:_0x1bf126,height:_0x4067b2})=>{const _0x73b421=_0x4887c7;_0x2575c1[_0x73b421(0x467)](_0x13d142[_0x73b421(0x3ef)]['id'],{'unitId':_0x4f9380,'subUnitId':_0xd38253,'drawings':[{'drawingId':_0x1c6a0c,'key':_0x73b421(0x142),'value':{'width':_0x1bf126,'height':_0x4067b2}}]});},'allowHostSizeShrink':({unitId:_0x49c97d,subUnitId:_0x1e9934,shapeId:_0x53a3c2})=>(0x0,_0x56d51f['shouldAllowShapeTextEditorHostSizeShrink'])(_0x277d2d[_0x4887c7(0x237)](_0x49c97d,_0x1e9934,_0x53a3c2))}),[_0x2575c1,_0x277d2d,_0x258e12]),_0xbaca04=(0x0,_0x8303f3['useMemo'])(()=>({'viewportKeys':{'main':_0x130604[_0x4887c7(0x1bc)][_0x4887c7(0x462)]}}),[]);return(0x0,_0x932776['jsx'])(_0x56d51f['ShapeTextEditorContainer'],{'adapter':_0x3c6f5d,'editingService':_0x94ade7,'editorUnitId':_0x4e500d,'positionOptions':_0xbaca04});}),_0x33d9ae=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x3c7515,_0x252a6b){const _0x3ccb00=_0x7db477;super(),this[_0x3ccb00(0x114)]=_0x3c7515,this[_0x3ccb00(0x1a5)]=_0x252a6b,this[_0x3ccb00(0x26b)](),this[_0x3ccb00(0x3fd)]();}['_registerIcons'](){const _0x5d2a34=_0x7db477;this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x28e))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)]('BottomIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x5d2a34(0x1a5)]['has'](_0x5d2a34(0x434))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveDownIcon':_0x29fbfe})),this['_iconManager']['has']('MoveUpIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveUpIcon':_0x2d9da1})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x461))||this['disposeWithMe'](this['_iconManager'][_0x5d2a34(0x394)]({'TopmostIcon':_0x2ac36e})),this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register'](_0xa1bd39));}[_0x7db477(0x3fd)](){const _0x485ee8=_0x7db477;this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)]['register'](_0x52a209,_0x290e71)),this[_0x485ee8(0x36b)](),this[_0x485ee8(0x3c5)](),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x4850a6,_0x532467)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x560d2a,_0x533993)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x19a0d7,_0x5e650e)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x2084e0,_0x14a76c)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x5ac958,_0x45324f)),this[_0x485ee8(0x2b0)](this['_componentManager']['register'](_0x469608,_0x56d51f['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x485ee8(0x114)]['get'](_0x459a9e[_0x485ee8(0x44a)])||this['disposeWithMe'](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x3c07be=_0x7db477;this['disposeWithMe'](this[_0x3c07be(0x114)][_0x3c07be(0x394)](_0x4378d7,_0x264d9e));}[_0x7db477(0x3c5)](){const _0x3a7d0b=_0x7db477;this[_0x3a7d0b(0x2b0)](this[_0x3a7d0b(0x114)][_0x3a7d0b(0x394)](_0x384936,_0x170c97));}[_0x7db477(0x1b0)](){const _0x2ec621=_0x7db477;this[_0x2ec621(0x2b0)](this['_componentManager'][_0x2ec621(0x394)](_0xc138a4,_0x4eeaa2)),this['disposeWithMe'](this[_0x2ec621(0x114)][_0x2ec621(0x394)](_0x5e6476,_0x2facba));}};_0x33d9ae=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x32c)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x2cb)]))],_0x33d9ae);let _0x3a06ff=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xc8aaed,_0x2fdf4a,_0x2f51bd,_0x4b1d49,_0x3d0e49,_0x3f9724,_0x947914,_0x223c2c,_0x38404d,_0x482828,_0x10dfc4,_0x4c44c1,_0x2e3649){const _0x2c59fc=_0x7db477;super(),this['_univerInstanceService']=_0xc8aaed,this[_0x2c59fc(0x3af)]=_0x2fdf4a,this[_0x2c59fc(0x285)]=_0x2f51bd,this[_0x2c59fc(0x25b)]=_0x4b1d49,this['_localeService']=_0x3d0e49,this['_commandService']=_0x3f9724,this[_0x2c59fc(0x369)]=_0x947914,this[_0x2c59fc(0x1f4)]=_0x223c2c,this[_0x2c59fc(0x2f9)]=_0x38404d,this['_contextService']=_0x482828,this[_0x2c59fc(0x24f)]=_0x10dfc4,this[_0x2c59fc(0x17b)]=_0x4c44c1,this[_0x2c59fc(0x2da)]=_0x2e3649,_0x38c0c9(this,'_sidebarDisposable',null),_0x38c0c9(this,_0x2c59fc(0x303),null),_0x38c0c9(this,_0x2c59fc(0x4a0),!0x1),_0x38c0c9(this,_0x2c59fc(0x35c),0x0),_0x38c0c9(this,_0x2c59fc(0x450),new Map()),_0x38c0c9(this,'_popupTargetKeys',new Map()),this[_0x2c59fc(0x232)](),this[_0x2c59fc(0x2b0)](this['_univerInstanceService'][_0x2c59fc(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x2c59fc(0x146)](_0x3c7bdc=>{const _0x2ef768=_0x2c59fc;if(!_0x3c7bdc){var _0x5ec1e4;(_0x5ec1e4=this['_sidebarDisposable'])==null||_0x5ec1e4[_0x2ef768(0x18c)]();}})),this[_0x2c59fc(0x2d6)](),this[_0x2c59fc(0x2b0)]((0x0,_0x56d51f[_0x2c59fc(0x112)])(this[_0x2c59fc(0x2f9)],_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x49718a=>this[_0x2c59fc(0x1d3)](_0x49718a))),this['disposeWithMe'](this[_0x2c59fc(0x24f)]['editingParams$'][_0x2c59fc(0x146)](_0x49b248=>{const _0x117b2e=_0x2c59fc;_0x49b248&&this[_0x117b2e(0x154)](void 0x0,!0x0);})),this[_0x2c59fc(0x2b0)](this[_0x2c59fc(0x17b)][_0x2c59fc(0x3f4)]['subscribe'](()=>{const _0x262619=_0x2c59fc;this['_drawingManagerService'][_0x262619(0x3b6)]()['some'](_0x358d75=>_0x358d75[_0x262619(0x3bc)]===_0x47c402[_0x262619(0x472)][_0x262619(0x427)]&&this['_univerInstanceService']['getUnitType'](_0x358d75[_0x262619(0x24d)])===_0x47c402[_0x262619(0x1aa)][_0x262619(0x486)]&&!this['_canEditShape'](_0x358d75[_0x262619(0x24d)],_0x358d75[_0x262619(0x2ef)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x7db477(0x136)](_0x221dc6,_0xf3f593,_0x6e119b,_0x3696e0){const _0x2fb9b4=_0x7db477;return[{'label':_0x2fb9b4(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':_0x3696e0===_0x47c402[_0x2fb9b4(0x472)]['DRAWING_DOM']},{'label':_0x2fb9b4(0x27f),'index':0x1,'commandId':_0x13d142[_0x2fb9b4(0x1f8)]['id'],'commandParams':{'unitId':_0x221dc6,'drawings':[{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b}]},'disable':!0x1},{'label':_0x2fb9b4(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':!0x1}];}['_initMenu'](){const _0x1fffb7=_0x7db477;this[_0x1fffb7(0x285)][_0x1fffb7(0x241)](_0x317aa8);}[_0x7db477(0x375)](_0x58c886,_0x4ed663,_0x541e09){const _0x445305=_0x7db477;let _0x2d0347=this[_0x445305(0x25b)][_0x445305(0x15e)](_0x58c886,_0x4ed663,_0x541e09),_0x58cd8f=this[_0x445305(0x25b)][_0x445305(0x237)](_0x58c886,_0x4ed663,_0x541e09);return _0x2d0347===void 0x0||_0x58cd8f===void 0x0?null:{'shapeData':_0x58cd8f,'shapeId':_0x541e09,'shapeType':_0x2d0347,'unitId':_0x58c886,'subUnitId':_0x4ed663,'version':this[_0x445305(0x35c)],'disableShapeOption':!0x1};}[_0x7db477(0x154)](_0x1da2d7,_0x46b7f6=!0x1){const _0x18edd3=_0x7db477;if(_0x1da2d7==null){[...this['_disposePopupsByUnit'][_0x18edd3(0x2d8)]()]['forEach'](_0x3ff6c9=>this[_0x18edd3(0x154)](_0x3ff6c9,_0x46b7f6));return;}let _0x3fc994=this[_0x18edd3(0x450)]['get'](_0x1da2d7);if(_0x3fc994){for(let _0x21b594=_0x3fc994[_0x18edd3(0x2b4)]-0x1;_0x21b594>=0x0;--_0x21b594){let _0x327353=_0x3fc994[_0x21b594];(_0x46b7f6||_0x327353[_0x18edd3(0x230)]())&&(_0x327353[_0x18edd3(0x18c)](),_0x3fc994[_0x18edd3(0x45a)](_0x21b594,0x1));}_0x3fc994[_0x18edd3(0x2b4)]===0x0&&(this[_0x18edd3(0x450)][_0x18edd3(0x348)](_0x1da2d7),this[_0x18edd3(0x125)]['delete'](_0x1da2d7));}}['_getDisposePopups'](_0x1d5d4e){const _0x46ab1f=_0x7db477;let _0x159e60=this[_0x46ab1f(0x450)][_0x46ab1f(0x45e)](_0x1d5d4e);if(_0x159e60)return _0x159e60;let _0x159d35=[];return this[_0x46ab1f(0x450)][_0x46ab1f(0x3fc)](_0x1d5d4e,_0x159d35),_0x159d35;}[_0x7db477(0x1d3)](_0x49cb01){const _0x2827a5=_0x7db477;var _0x28c135;let _0x463d59=new _0x47c402[(_0x2827a5(0x28a))](),_0x44a623=(_0x28c135=this['_renderManagerService']['getAllRenderersOfType'](_0x47c402[_0x2827a5(0x1aa)][_0x2827a5(0x486)])[_0x2827a5(0x363)](_0x5b31bb=>_0x5b31bb['scene'][_0x2827a5(0x339)]()===_0x49cb01))==null?void 0x0:_0x28c135[_0x2827a5(0x24d)];return _0x44a623?(_0x463d59['add'](_0x49cb01[_0x2827a5(0x23a)][_0x2827a5(0x146)](()=>this[_0x2827a5(0x39f)](_0x49cb01,_0x44a623))),_0x463d59['add'](_0x49cb01[_0x2827a5(0x212)][_0x2827a5(0x146)](()=>{const _0x33c33f=_0x2827a5;this[_0x33c33f(0x154)](_0x44a623),queueMicrotask(()=>{const _0x34de94=_0x33c33f;_0x49cb01[_0x34de94(0x408)]()[_0x34de94(0x142)]>0x0||(this[_0x34de94(0x1e2)][_0x34de94(0x244)](_0x47c402['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x34de94(0x369)][_0x34de94(0x2e7)](null));});})),_0x463d59[_0x2827a5(0x3f2)](_0x49cb01[_0x2827a5(0x170)][_0x2827a5(0x146)](()=>{const _0x3828d6=_0x2827a5;this[_0x3828d6(0x154)](_0x44a623,!0x0);})),_0x463d59):_0x463d59;}[_0x7db477(0x39f)](_0x3d607f,_0x5765cc){const _0xa9193b=_0x7db477;let _0x3b0c4e=_0x3d607f['getSelectedObjectMap']();if(this['_isOpenedShapeEditPanel']){this['_clearPopups'](_0x5765cc,!0x0);return;}if(_0x3b0c4e[_0xa9193b(0x142)]>0x1){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x44a110=_0x3b0c4e[_0xa9193b(0x235)]()['next']()['value'];if(!_0x44a110){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x47160e=this['_drawingManagerService'][_0xa9193b(0x35d)](_0x44a110[_0xa9193b(0x34c)]);if(!_0x47160e||_0x47160e[_0xa9193b(0x3bc)]!==_0x47c402[_0xa9193b(0x472)][_0xa9193b(0x427)]){this[_0xa9193b(0x154)](_0x5765cc);return;}let {unitId:_0x4d3fd7,subUnitId:_0x2a3f48,drawingId:_0x32f541}=_0x47160e;if(!this[_0xa9193b(0x1f2)](_0x4d3fd7,_0x32f541)){this[_0xa9193b(0x154)](_0x5765cc,!0x0);return;}let _0x4dc5da=this[_0xa9193b(0x375)](_0x4d3fd7,_0x2a3f48,_0x32f541);if(!_0x4dc5da){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x6d8242=this[_0xa9193b(0x450)][_0xa9193b(0x45e)](_0x5765cc),_0x3c7e58=_0x4d3fd7+':'+_0x2a3f48+':'+_0x32f541;if(this['_popupTargetKeys'][_0xa9193b(0x45e)](_0x5765cc)===_0x3c7e58&&_0x6d8242!=null&&_0x6d8242[_0xa9193b(0x2b4)])return;this[_0xa9193b(0x154)](_0x5765cc);let _0x2d248a=this[_0xa9193b(0x2f9)][_0xa9193b(0x345)](_0x4d3fd7),_0x6dae8=((_0x2d248a==null?void 0x0:_0x2d248a[_0xa9193b(0x426)])===!0x1?_0x2d248a[_0xa9193b(0x459)](_0x130604[_0xa9193b(0x47d)]):this[_0xa9193b(0x1f4)])[_0xa9193b(0x3e0)](_0x44a110,this[_0xa9193b(0x35a)](_0x4dc5da,()=>this[_0xa9193b(0x154)](_0x5765cc,!0x0)),_0x4d3fd7);this[_0xa9193b(0x2b0)](_0x6dae8),this[_0xa9193b(0x49b)](_0x5765cc)[_0xa9193b(0x327)](_0x6dae8),this[_0xa9193b(0x125)][_0xa9193b(0x3fc)](_0x5765cc,_0x3c7e58),this[_0xa9193b(0x369)]['getFocusDrawings']()[_0xa9193b(0x30e)](_0x2ce5d2=>_0x2ce5d2['unitId']===_0x4d3fd7&&_0x2ce5d2[_0xa9193b(0x28c)]===_0x2a3f48&&_0x2ce5d2[_0xa9193b(0x2ef)]===_0x32f541)||this[_0xa9193b(0x369)][_0xa9193b(0x2e7)]([{'unitId':_0x4d3fd7,'subUnitId':_0x2a3f48,'drawingId':_0x32f541}]);}[_0x7db477(0x35a)](_0x454f6a,_0xcfbddc){const _0x41382c=_0x7db477;let {unitId:_0x2b3fa2,subUnitId:_0x1d8300,shapeId:_0x1d98a4}=_0x454f6a,_0x3875ee={'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'shapeId':_0x1d98a4};return{'componentKey':_0x384936,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x454f6a[_0x41382c(0x49e)],'onText':()=>{const _0x5c72bc=_0x41382c;_0xcfbddc(),this[_0x5c72bc(0x2da)][_0x5c72bc(0x1c9)](_0x5c72bc(0x2f6),_0x3875ee);},'onStyle':()=>{const _0x563963=_0x41382c;_0xcfbddc(),this['_mobileEditorService'][_0x563963(0x1c9)](_0x563963(0x43a),_0x3875ee);},'onDelete':()=>this[_0x41382c(0x248)][_0x41382c(0x467)](_0x13d142[_0x41382c(0x1f8)]['id'],{'unitId':_0x2b3fa2,'drawings':[{'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'drawingId':_0x1d98a4}]})}};}['_canEditShape'](_0x35235a,_0x4db8ba){const _0x376ad5=_0x7db477;let _0x41b2b8=this[_0x376ad5(0x130)][_0x376ad5(0x2aa)](_0x35235a,_0x47c402['UniverInstanceType'][_0x376ad5(0x486)]);if(!_0x41b2b8)return!0x1;let _0x2942c3=(0x0,_0x18b339['getDocumentDrawingSegmentId'])(_0x41b2b8,_0x4db8ba);return(0x0,_0x18b339[_0x376ad5(0x3e1)])(this[_0x376ad5(0x17b)],_0x35235a,[...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x41b2b8,_0x2942c3,'drawing',_0x4db8ba),(0x0,_0x18b339[_0x376ad5(0x44d)])(_0x2942c3,_0x376ad5(0x31b),_0x4db8ba)]);}[_0x7db477(0x2d6)](){const _0xd4dacc=_0x7db477;this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x248)][_0xd4dacc(0x187)](_0x230a82=>{const _0x3b60a3=_0xd4dacc;if(_0x230a82['id']===_0x39980d['id']){let {unitId:_0x1387c2,subUnitId:_0x13f934,drawingId:_0x59cc07}=_0x230a82[_0x3b60a3(0x20d)];this[_0x3b60a3(0x35c)]+=0x1,this[_0x3b60a3(0x303)]=this[_0x3b60a3(0x375)](_0x1387c2,_0x13f934,_0x59cc07),this[_0x3b60a3(0x154)](void 0x0,!0x0),this[_0x3b60a3(0x2c5)]();}if(_0x230a82['id']===_0x87b80e['id']&&(this[_0x3b60a3(0x303)]=null,this[_0x3b60a3(0x298)]()),_0x230a82['id']===_0x284855[_0x3b60a3(0x324)]['id']){var _0xd07dc3;let {unitId:_0x314c22,shapeId:_0x191dba}=_0x230a82[_0x3b60a3(0x20d)];if(((_0xd07dc3=this[_0x3b60a3(0x303)])==null?void 0x0:_0xd07dc3[_0x3b60a3(0x424)])===_0x191dba){let _0x3dbb43=this['_getShapeInfo'](_0x314c22,this[_0x3b60a3(0x303)][_0x3b60a3(0x28c)],_0x191dba);_0x3dbb43&&(this[_0x3b60a3(0x35c)]+=0x1,_0x3dbb43[_0x3b60a3(0x39b)]=this[_0x3b60a3(0x35c)],this[_0x3b60a3(0x303)]=_0x3dbb43,this[_0x3b60a3(0x4a0)]&&this['_openShapeEditPanel']());}}})),this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x369)][_0xd4dacc(0x48c)]['subscribe'](_0x417380=>{const _0xf515bf=_0xd4dacc;if(!this[_0xf515bf(0x4a0)])return;if(_0x417380[_0xf515bf(0x2b4)]===0x0){this['_activeShapeInfo']=null,this[_0xf515bf(0x298)]();return;}if(_0x417380['length']===0x1&&_0x417380[0x0]['drawingType']===_0x47c402['DrawingTypeEnum'][_0xf515bf(0x427)]&&(this[_0xf515bf(0x35c)]+=0x1,this[_0xf515bf(0x303)]=this[_0xf515bf(0x375)](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0][_0xf515bf(0x2ef)]),this[_0xf515bf(0x303)])){this['_openShapeEditPanel']();return;}let _0x5725f9=_0x417380['filter'](_0x2f42d7=>_0x2f42d7[_0xf515bf(0x3bc)]===_0x47c402[_0xf515bf(0x472)][_0xf515bf(0x427)]);if(this['_shapeEditPanelVersion']+=0x1,this[_0xf515bf(0x303)]=this['_getShapeInfo'](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0]['drawingId']),this['_activeShapeInfo']&&_0x417380['length']>0x1&&_0x5725f9[_0xf515bf(0x2b4)]===_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x2c5)]();return;}if(this['_activeShapeInfo']&&_0x5725f9[_0xf515bf(0x2b4)]!==_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x303)][_0xf515bf(0x305)]=!0x0,this[_0xf515bf(0x2c5)]();return;}this[_0xf515bf(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x3e8273=_0x7db477;this[_0x3e8273(0x303)]&&(this[_0x3e8273(0x289)]=this[_0x3e8273(0x3af)][_0x3e8273(0x1c9)]({'id':_0x52a209,'header':{'title':this[_0x3e8273(0x29a)]['t'](_0x3e8273(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x3e8273(0x303)]},'onClose':()=>{const _0x1b20d8=_0x3e8273;this[_0x1b20d8(0x369)][_0x1b20d8(0x2e7)](null),this[_0x1b20d8(0x1e2)][_0x1b20d8(0x244)](_0x47c402[_0x1b20d8(0x1eb)],!0x1),this[_0x1b20d8(0x289)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x7db477(0x298)](){const _0x3a61c9=_0x7db477;this[_0x3a61c9(0x4a0)]=!0x1,this[_0x3a61c9(0x3af)]['close'](_0x52a209),this[_0x3a61c9(0x289)]=null,this[_0x3a61c9(0x1e2)]['setContextValue'](_0x47c402[_0x3a61c9(0x1eb)],!0x1),this['_drawingManagerService'][_0x3a61c9(0x2e7)](null);}};_0x3a06ff=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d['IMenuManagerService']),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402['IContextService']),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0xc,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x141)]))],_0x3a06ff);let _0x5bde57=_0x7db477(0x149),_0x31410c=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x1344bd,_0x4895e7,_0x455aae,_0xb33b1b,_0xb3ae77,_0x5a6806){const _0x157a58=_0x7db477;super(),this[_0x157a58(0x285)]=_0x1344bd,this['_ribbonService']=_0x4895e7,this[_0x157a58(0x369)]=_0x455aae,this[_0x157a58(0x130)]=_0xb33b1b,this[_0x157a58(0x2f9)]=_0xb3ae77,this[_0x157a58(0x3f0)]=_0x5a6806,_0x38c0c9(this,_0x157a58(0x20b),!0x1),this[_0x157a58(0x285)][_0x157a58(0x241)](_0x391af2),this[_0x157a58(0x2b0)]((0x0,_0x47c402['toDisposable'])(this[_0x157a58(0x369)][_0x157a58(0x48c)]['subscribe'](()=>this[_0x157a58(0x27b)]()))),this['_update']();}[_0x7db477(0x18c)](){const _0x290a29=_0x7db477;this[_0x290a29(0x3f0)][_0x290a29(0x3ff)](!0x1,_0x5bde57),this['_hide'](),super[_0x290a29(0x18c)]();}['_update'](){const _0x30f81d=_0x7db477;var _0x243462;let _0x14f56d=this[_0x30f81d(0x369)]['getFocusDrawings'](),_0x467c59=_0x14f56d[_0x30f81d(0x2b4)]===0x1?_0x14f56d[0x0]:void 0x0;if((_0x467c59==null?void 0x0:_0x467c59[_0x30f81d(0x3bc)])!==_0x47c402[_0x30f81d(0x472)][_0x30f81d(0x427)]||this['_univerInstanceService']['getUnitType'](_0x467c59['unitId'])!==_0x47c402[_0x30f81d(0x1aa)][_0x30f81d(0x486)]){this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](!0x1,_0x5bde57),this[_0x30f81d(0x2de)]();return;}let _0x36f048=(_0x243462=this[_0x30f81d(0x2f9)][_0x30f81d(0x345)](_0x467c59[_0x30f81d(0x24d)]))==null?void 0x0:_0x243462[_0x30f81d(0x1ae)][_0x30f81d(0x1a2)](),_0x433fc0=(0x0,_0x56d51f['resolveShapeContextualRibbonHostMode'])(_0x36f048)===_0x30f81d(0x27e);if(this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](_0x433fc0,_0x5bde57),_0x433fc0){this['_hide']();return;}this[_0x30f81d(0x20b)]||(this[_0x30f81d(0x20b)]=!0x0,this[_0x30f81d(0x1e1)]['showContextualTab'](_0x2bcc29,{'activate':!0x0}));}[_0x7db477(0x2de)](){const _0x502e7a=_0x7db477;this[_0x502e7a(0x20b)]&&(this[_0x502e7a(0x20b)]=!0x1,this[_0x502e7a(0x1e1)][_0x502e7a(0x347)](_0x2bcc29),this[_0x502e7a(0x1e1)]['setCollapsedIds']([]));}};_0x31410c=_0x1cbdb5([_0x15d88a(0x0,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x1,_0x86086d[_0x7db477(0x231)]),_0x15d88a(0x2,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x3,_0x47c402['IUniverInstanceService']),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x18b)]))],_0x31410c);let _0x368f6a=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x159ee2,_0x26ea36,_0x38263f,_0x6f077d){const _0x22c449=_0x7db477;super(),this[_0x22c449(0x248)]=_0x159ee2,this[_0x22c449(0x2f9)]=_0x26ea36,this['_drawingManagerService']=_0x38263f,this[_0x22c449(0x1c7)]=_0x6f077d,this[_0x22c449(0x484)]();}[_0x7db477(0x484)](){const _0x5950e5=_0x7db477;this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)][_0x5950e5(0x1b9)][_0x5950e5(0x146)](_0x1b0126=>this[_0x5950e5(0x301)](_0x1b0126))),this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)]['update$'][_0x5950e5(0x146)](_0x2f6d59=>{const _0x46685f=_0x5950e5;_0x2f6d59[_0x46685f(0x2dd)](_0x56b432=>this[_0x46685f(0x21a)](_0x56b432));})),this['disposeWithMe'](this[_0x5950e5(0x248)][_0x5950e5(0x187)](_0x43f2dd=>{const _0x36f04a=_0x5950e5;if(_0x43f2dd['id']!==_0x284855[_0x36f04a(0x324)]['id'])return;let {unitId:_0x6e5451,shapeId:_0x899311}=_0x43f2dd['params'];this[_0x36f04a(0x2fd)]({'unitId':_0x6e5451,'subUnitId':_0x6e5451,'drawingId':_0x899311});}));}[_0x7db477(0x301)](_0x328e9a){const _0x4800c8=_0x7db477;_0x328e9a[_0x4800c8(0x2dd)](_0x4a3ab5=>{const _0x2366c7=_0x4800c8;let _0x2ace93=this[_0x2366c7(0x23b)](_0x4a3ab5[_0x2366c7(0x24d)]);if(!_0x2ace93)return;let _0x2428b1=this[_0x2366c7(0x369)][_0x2366c7(0x340)](_0x4a3ab5);(_0x2428b1==null?void 0x0:_0x2428b1[_0x2366c7(0x3bc)])===_0x47c402[_0x2366c7(0x472)][_0x2366c7(0x427)]&&this['_docDrawingShapeRenderController'][_0x2366c7(0x286)](_0x2428b1,_0x2ace93[_0x2366c7(0x11a)]);});}[_0x7db477(0x21a)](_0xed0d55){const _0x20fa61=_0x7db477;let _0xbb4ecc=this[_0x20fa61(0x369)][_0x20fa61(0x340)](_0xed0d55);if((_0xbb4ecc==null?void 0x0:_0xbb4ecc[_0x20fa61(0x3bc)])!==_0x47c402[_0x20fa61(0x472)]['DRAWING_SHAPE'])return;let _0x49ce25=this['_getSceneByUnitId'](_0xed0d55[_0x20fa61(0x24d)]);if(!_0x49ce25||_0xbb4ecc[_0x20fa61(0x211)]==null)return;let _0x2f8924=(0x0,_0x4152b2[_0x20fa61(0x2b6)])(_0xed0d55),_0x4e6155=_0x49ce25[_0x20fa61(0x11a)][_0x20fa61(0x40b)](_0x2f8924);_0x4e6155&&(_0x4e6155[_0x20fa61(0x13e)](_0xbb4ecc['srcRect']),_0x4e6155['setPrstGeom'](_0xbb4ecc[_0x20fa61(0x2d3)]),_0x4e6155[_0x20fa61(0x182)](!0x0));}[_0x7db477(0x2fd)](_0x793bc){const _0x13aa2c=_0x7db477;let _0x2518ea=this[_0x13aa2c(0x23b)](_0x793bc[_0x13aa2c(0x24d)]);if(!_0x2518ea)return;let _0x45ff19=(0x0,_0x4152b2[_0x13aa2c(0x2b6)])(_0x793bc),_0x566b52=_0x2518ea[_0x13aa2c(0x11a)]['getObjectIncludeInGroup'](_0x45ff19);_0x566b52&&(this['_docDrawingShapeRenderController']['refreshShapeFillImage'](_0x566b52),this[_0x13aa2c(0x1c7)][_0x13aa2c(0x349)](_0x566b52,{'unitId':_0x793bc[_0x13aa2c(0x24d)],'subUnitId':_0x793bc['subUnitId'],'shapeId':_0x793bc[_0x13aa2c(0x2ef)]}),_0x566b52[_0x13aa2c(0x182)](!0x0));}[_0x7db477(0x23b)](_0x24902e){const _0x3e8ae3=_0x7db477;if(_0x24902e==null)return null;let _0x1a5837=this[_0x3e8ae3(0x2f9)]['getRenderUnitById'](_0x24902e),_0x1fcba4=_0x1a5837==null?void 0x0:_0x1a5837[_0x3e8ae3(0x11a)];return _0x1fcba4==null?null:{'scene':_0x1fcba4};}};_0x368f6a=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['ICommandService']),_0x15d88a(0x1,_0x54839f['IRenderManagerService']),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x5b7161))],_0x368f6a);let _0x35c733=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0x196ac2=_0x1bd49e,_0x1e599c,_0x31f9f8,_0x66b58f,_0x268096){const _0x6a79a3=_0x7db477;super(),this[_0x6a79a3(0x33d)]=_0x196ac2,this['_injector']=_0x1e599c,this[_0x6a79a3(0x248)]=_0x31f9f8,this[_0x6a79a3(0x127)]=_0x66b58f,this[_0x6a79a3(0x2f9)]=_0x268096;let {menu:_0x4a7ffb,..._0x36c49e}=(0x0,_0x47c402[_0x6a79a3(0x1a1)])({},_0x1bd49e,this['_config']);_0x4a7ffb&&this[_0x6a79a3(0x127)][_0x6a79a3(0x147)]('menu',_0x4a7ffb,{'merge':!0x0}),this[_0x6a79a3(0x127)][_0x6a79a3(0x147)](_0x3c8ab9,_0x36c49e),[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x6a79a3(0x2dd)](_0x5b87a6=>this[_0x6a79a3(0x2b0)](this[_0x6a79a3(0x248)][_0x6a79a3(0x156)](_0x5b87a6)));}['onStarting'](){const _0x4a2b96=_0x7db477;let _0x2bbe9e=[[_0x33d9ae],[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]];(0x0,_0x47c402[_0x4a2b96(0x3d2)])(this[_0x4a2b96(0x3a5)],_0x2bbe9e),this[_0x4a2b96(0x3a5)][_0x4a2b96(0x45e)](_0x33d9ae);}[_0x7db477(0x456)](){const _0x5592be=_0x7db477;this[_0x5592be(0x2b0)](this[_0x5592be(0x2f9)][_0x5592be(0x19b)](_0x47c402[_0x5592be(0x1aa)][_0x5592be(0x486)],[_0x3e66ac])),(0x0,_0x47c402[_0x5592be(0x30c)])(this[_0x5592be(0x3a5)],[[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]]);}};_0x38c0c9(_0x35c733,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)][_0x7db477(0x486)]),_0x38c0c9(_0x35c733,'pluginName',_0x7db477(0x2e9)),_0x38c0c9(_0x35c733,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x35c733,_0x7db477(0x39b),_0x279654),_0x35c733=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339[_0x7db477(0x209)],_0x4152b2['UniverDrawingPlugin'],_0x459a9e[_0x7db477(0x1d2)],_0x54839f['UniverRenderEnginePlugin'],_0x130604['UniverDocsMobileUIPlugin'],_0x48b72a[_0x7db477(0x420)],_0x1d2176['UniverDocsDrawingMobileUIPlugin'],_0x284855[_0x7db477(0x3b9)],_0x56d51f[_0x7db477(0x452)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x21d)])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f['IRenderManagerService'])],_0x35c733);let _0x5ba519=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x2ba988,_0x14991f){const _0xa0cde2=_0x7db477;super(),this['_componentManager']=_0x2ba988,this[_0xa0cde2(0x1a5)]=_0x14991f,this[_0xa0cde2(0x26b)](),this['_registerComponents']();}[_0x7db477(0x26b)](){const _0x52e0ca=_0x7db477;this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x28e))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x1ec))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('MoveDownIcon')||this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveDownIcon':_0x29fbfe})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x378))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveUpIcon':_0x2d9da1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('ShapeFormatSettingIcon')||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x461))||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'TopmostIcon':_0x2ac36e})),this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)](_0xa1bd39));}['_registerComponents'](){const _0xb6e21f=_0x7db477;this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x52a209,_0x38ef89)),this[_0xb6e21f(0x36b)](),this['_registerFloatingToolbar'](),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)]['register'](_0x4850a6,_0x532467)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x560d2a,_0x533993)),this['disposeWithMe'](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x19a0d7,_0x5e650e)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x2084e0,_0x14a76c)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x5ac958,_0x45324f)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x469608,_0x56d51f[_0xb6e21f(0x2a1)])),this[_0xb6e21f(0x1b0)](),this[_0xb6e21f(0x114)][_0xb6e21f(0x45e)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0xb6e21f(0x2b0)](this['_componentManager']['register'](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x31b5cf=_0x7db477;this[_0x31b5cf(0x2b0)](this['_componentManager'][_0x31b5cf(0x394)](_0x4378d7,_0x2413ae));}['_registerFloatingToolbar'](){const _0x340ac9=_0x7db477;this[_0x340ac9(0x2b0)](this[_0x340ac9(0x114)][_0x340ac9(0x394)](_0x384936,_0x14cedd));}[_0x7db477(0x1b0)](){const _0x371636=_0x7db477;this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0xc138a4,_0x3be8f4)),this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0x5e6476,_0x50210b));}};_0x5ba519=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x86086d['ComponentManager'])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x86086d[_0x7db477(0x2cb)]))],_0x5ba519);let _0xac86fa=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x467225,_0x2f2639,_0x5209c3,_0x249b1c,_0x35bf7f,_0x24a19d,_0x12128e,_0x39bcba,_0x12cbb2){const _0x289e8d=_0x7db477;super();let _0x102c23=_0xe77ce2=>{const _0x41da0d=_0x3f06;let _0x3fe05=_0x24a19d[_0x41da0d(0x2aa)](_0xe77ce2[_0x41da0d(0x24d)],_0x47c402[_0x41da0d(0x1aa)]['UNIVER_DOC']),_0x328d8a=_0x3fe05?(0x0,_0x18b339[_0x41da0d(0x1af)])(_0x3fe05,_0xe77ce2[_0x41da0d(0x424)]):'';return!!_0x3fe05&&(0x0,_0x18b339[_0x41da0d(0x3e1)])(_0x39bcba,_0xe77ce2[_0x41da0d(0x24d)],[(0x0,_0x18b339[_0x41da0d(0x44d)])(_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)]),...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x3fe05,_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)])]);},_0x3cbe3c=_0x27cc97=>_0x27cc97[_0x289e8d(0x424)]&&_0x102c23(_0x27cc97)?_0x5209c3['getShapeDataById'](_0x27cc97[_0x289e8d(0x24d)],_0x27cc97[_0x289e8d(0x424)])??null:null,_0x277855=()=>{const _0x337d9d=_0x289e8d;let _0x4b564f=_0x35bf7f['getFocusDrawings'](),_0x3a9e99=_0x4b564f[_0x337d9d(0x2b4)]===0x1?_0x4b564f[0x0]:null;return(_0x3a9e99==null?void 0x0:_0x3a9e99[_0x337d9d(0x3bc)])===_0x47c402[_0x337d9d(0x472)][_0x337d9d(0x427)]&&_0x3a9e99[_0x337d9d(0x24d)]===_0x467225[_0x337d9d(0x24d)]?{'unitId':_0x3a9e99['unitId'],'subUnitId':_0x3a9e99[_0x337d9d(0x28c)],'shapeId':_0x3a9e99[_0x337d9d(0x2ef)]}:null;};this[_0x289e8d(0x2b0)]((0x0,_0x56d51f[_0x289e8d(0x308)])(_0x467225,_0x2f2639,{'changes$':(0x0,_0x21926c[_0x289e8d(0x1a1)])(_0x35bf7f[_0x289e8d(0x48c)],_0x249b1c['editingParams$'],_0x39bcba[_0x289e8d(0x3f4)]),'isActive':()=>{const _0x2e6f8c=_0x289e8d;var _0x27ec3b;return((_0x27ec3b=_0x24a19d[_0x2e6f8c(0x400)]())==null?void 0x0:_0x27ec3b[_0x2e6f8c(0x38c)]())===_0x467225[_0x2e6f8c(0x24d)]&&!_0x12128e[_0x2e6f8c(0x1fd)](_0x47c402[_0x2e6f8c(0x415)])&&_0x35bf7f[_0x2e6f8c(0x3b6)]()[_0x2e6f8c(0x30e)](_0x1190c7=>_0x1190c7['unitId']===_0x467225[_0x2e6f8c(0x24d)]);},'getSelectedTarget':_0x277855,'getSource':()=>{let _0x2e377e=_0x277855();return _0x2e377e?_0x3cbe3c(_0x2e377e):null;},'getTarget':_0x53b540=>{const _0x2b57f3=_0x289e8d;let _0x9297b7=_0x467225[_0x2b57f3(0x11a)][_0x2b57f3(0x3a9)](new _0x54839f['Vector2'](_0x53b540['offsetX'],_0x53b540[_0x2b57f3(0x309)]));if(!(_0x9297b7 instanceof _0x5777c9))return null;let _0x525acc={'unitId':_0x467225[_0x2b57f3(0x24d)],'subUnitId':_0x467225[_0x2b57f3(0x24d)],'shapeId':_0x9297b7['shapeId']};return _0x102c23(_0x525acc)?_0x525acc:null;},'getShape':_0x3cbe3c,'update':(_0x21c9cc,_0x42111c,_0x4c086c)=>_0x12cbb2[_0x289e8d(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],{..._0x21c9cc,'shapeData':_0x4c086c,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x42111c}})}));}};_0xac86fa=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x470)])),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x4,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x5,_0x47c402[_0x7db477(0x191)]),_0x15d88a(0x6,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x7,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x8,_0x47c402[_0x7db477(0x250)])],_0xac86fa);function _0x33479e(_0x422029,_0x4896be){const _0x54c6b3=_0x7db477;let _0x402555=_0x422029;for(;_0x402555;){if(_0x4896be(_0x402555))return _0x402555;_0x402555=typeof _0x402555[_0x54c6b3(0x3da)]==_0x54c6b3(0x38d)?_0x402555[_0x54c6b3(0x3da)]():null;}return null;}function _0x2211b1(_0x234939){return _0x33479e(_0x234939,_0x31c1f1=>_0x31c1f1 instanceof _0x5777c9);}function _0x16fbbf(_0x27cc46){const _0x48c2b7=_0x7db477;return(_0x27cc46==null?void 0x0:_0x27cc46[_0x48c2b7(0x3d0)])==null;}let _0x5df16b=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x925d98,_0x5b933d,_0x146d68,_0x3ac95a,_0x29537b,_0x5a5482){const _0x10e431=_0x7db477;super(),this[_0x10e431(0x3c6)]=_0x925d98,this[_0x10e431(0x24f)]=_0x5b933d,this[_0x10e431(0x369)]=_0x146d68,this[_0x10e431(0x1e2)]=_0x3ac95a,this[_0x10e431(0x30d)]=_0x29537b,this['_docsShapeService']=_0x5a5482,_0x38c0c9(this,_0x10e431(0x2a2),null),_0x38c0c9(this,_0x10e431(0x36a),null),this[_0x10e431(0x37c)](),this['_initSelection'](),this[_0x10e431(0x385)]();}[_0x7db477(0x18c)](){const _0x1be056=_0x7db477;this['_endLayoutInteraction'](),super[_0x1be056(0x18c)]();}[_0x7db477(0x37c)](){const _0x5bf652=_0x7db477;let {scene:_0x2f7e23}=this[_0x5bf652(0x3c6)];this[_0x5bf652(0x2b0)](_0x2f7e23[_0x5bf652(0x25e)][_0x5bf652(0x20f)]((_0x2993c8,_0x467a5e)=>{const _0x1f98f9=_0x5bf652;let {offsetX:_0x7da6e9,offsetY:_0x47717a}=_0x2993c8,_0x2c136f=_0x54839f[_0x1f98f9(0x2d2)][_0x1f98f9(0x25c)]([_0x7da6e9,_0x47717a]),_0x3c9b15=_0x2211b1(_0x2f7e23[_0x1f98f9(0x3a9)](_0x2c136f))??this[_0x1f98f9(0x1c3)](_0x2c136f);if(_0x3c9b15){_0x467a5e[_0x1f98f9(0x361)]();let _0x517b29=this['_docsShapeService']['getShapeModel'](_0x3c9b15['unitId'],_0x3c9b15[_0x1f98f9(0x28c)],_0x3c9b15[_0x1f98f9(0x424)]);if(!_0x517b29||(0x0,_0x3becc2[_0x1f98f9(0x34f)])(_0x517b29['getShapeType']())||!_0x16fbbf(_0x517b29['getShapeData']()))return;this[_0x1f98f9(0x24f)][_0x1f98f9(0x2e2)]({'visible':!0x0,'unitId':_0x3c9b15[_0x1f98f9(0x24d)],'subUnitId':_0x3c9b15[_0x1f98f9(0x28c)],'shapeId':_0x3c9b15[_0x1f98f9(0x424)],'shapeKey':_0x3c9b15[_0x1f98f9(0x34c)]});}}));}['_getFocusedShapeAtPoint'](_0x392bfc){const _0x442492=_0x7db477;let {scene:_0xae4f85}=this[_0x442492(0x3c6)];return this[_0x442492(0x369)][_0x442492(0x3b6)]()[_0x442492(0x3b4)](_0x3d6b04=>_0xae4f85[_0x442492(0x40b)]((0x0,_0x4152b2[_0x442492(0x2b6)])(_0x3d6b04)))[_0x442492(0x363)](_0xfb7e3d=>_0xfb7e3d instanceof _0x5777c9&&_0xfb7e3d['isHit'](_0x392bfc))??null;}[_0x7db477(0x24c)](){const _0x491fcf=_0x7db477;this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x48c)][_0x491fcf(0x146)](_0x3ad0db=>{const _0x9f19c8=_0x491fcf;if(_0x3ad0db[_0x9f19c8(0x2b4)]===0x1){let _0x28db70=_0x3ad0db[0x0],_0x8f98e9=this['_drawingManagerService']['getDrawingByParam'](_0x28db70);if((_0x8f98e9==null?void 0x0:_0x8f98e9['drawingType'])===_0x47c402[_0x9f19c8(0x472)][_0x9f19c8(0x427)]){let _0x1ac858=this[_0x9f19c8(0x24f)][_0x9f19c8(0x350)]();if((_0x1ac858==null?void 0x0:_0x1ac858[_0x9f19c8(0x424)])===_0x28db70['drawingId']&&_0x1ac858[_0x9f19c8(0x190)])return;(0x0,_0x3becc2[_0x9f19c8(0x34f)])(this[_0x9f19c8(0x25b)][_0x9f19c8(0x466)](_0x28db70['unitId'],_0x28db70[_0x9f19c8(0x28c)],_0x28db70[_0x9f19c8(0x2ef)]))&&this[_0x9f19c8(0x24f)][_0x9f19c8(0x2e2)](null);}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();})),this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x440)][_0x491fcf(0x146)](_0x4eae7b=>{const _0xdc75a9=_0x491fcf;let _0x522817=this['_shapeTextEditingService']['getEditing']();_0x522817&&_0x4eae7b['some'](_0x763f38=>_0x763f38[_0xdc75a9(0x2ef)]===_0x522817[_0xdc75a9(0x424)])&&this[_0xdc75a9(0x24f)][_0xdc75a9(0x2e2)](null);}));}[_0x7db477(0x385)](){const _0x11f8d1=_0x7db477;this[_0x11f8d1(0x2b0)](this[_0x11f8d1(0x24f)]['editingParams$'][_0x11f8d1(0x146)](_0x3cb15f=>{const _0x3782a0=_0x11f8d1;(_0x3cb15f==null?void 0x0:_0x3cb15f[_0x3782a0(0x190)])===!0x0&&_0x3cb15f[_0x3782a0(0x24d)]===this['_context'][_0x3782a0(0x24d)]?this['_layoutInteraction']??=this[_0x3782a0(0x30d)][_0x3782a0(0x335)]():this[_0x3782a0(0x253)]();let {scene:_0x183c38}=this[_0x3782a0(0x3c6)];if(this[_0x3782a0(0x2a2)]){let _0x44e7bb=_0x183c38[_0x3782a0(0x40b)](this[_0x3782a0(0x2a2)]);_0x44e7bb&&_0x44e7bb[_0x3782a0(0x2e2)](!0x1);}if(_0x3cb15f){let _0x5377dd=!!_0x3cb15f['visible'],_0x421ddc=_0x183c38['getObjectIncludeInGroup'](_0x3cb15f['shapeKey']);_0x421ddc&&(_0x421ddc[_0x3782a0(0x2e2)](_0x5377dd),this[_0x3782a0(0x2a2)]=_0x3cb15f[_0x3782a0(0x20c)]),this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],_0x5377dd);}else this[_0x3782a0(0x2a2)]=null,this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],!0x1);}));}[_0x7db477(0x253)](){const _0x15d4a8=_0x7db477;var _0x2aa13e;(_0x2aa13e=this[_0x15d4a8(0x36a)])==null||_0x2aa13e[_0x15d4a8(0x18c)](),this[_0x15d4a8(0x36a)]=null;}};_0x5df16b=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x417)])),_0x15d88a(0x5,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)]))],_0x5df16b);let _0x1642ea=class extends _0x56d51f['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509){super(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509,{'componentKey':_0x469608,'editorUnitId':_0x4e500d});}};_0x1642ea=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x18b339[_0x7db477(0x225)])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x432)])),_0x15d88a(0x4,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x14d)])),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x45d)])),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x18b339[_0x7db477(0x123)])),_0x15d88a(0x8,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocRenderController'])),_0x15d88a(0x9,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f))],_0x1642ea);let _0xc0e7ef=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xd2c99f,_0x5c7119,_0x4b2e46,_0x14d49c,_0x206c88,_0x139688,_0x710287,_0x411754,_0x33f121,_0x215c50,_0x3cee12,_0x36bfca){const _0x3bc39a=_0x7db477;super(),this[_0x3bc39a(0x130)]=_0xd2c99f,this[_0x3bc39a(0x3af)]=_0x5c7119,this['_menuManagerService']=_0x4b2e46,this[_0x3bc39a(0x25b)]=_0x14d49c,this['_localeService']=_0x206c88,this[_0x3bc39a(0x248)]=_0x139688,this[_0x3bc39a(0x369)]=_0x710287,this['_docCanvasPopManagerService']=_0x411754,this[_0x3bc39a(0x2f9)]=_0x33f121,this[_0x3bc39a(0x1e2)]=_0x215c50,this[_0x3bc39a(0x24f)]=_0x3cee12,this[_0x3bc39a(0x17b)]=_0x36bfca,_0x38c0c9(this,_0x3bc39a(0x289),null),_0x38c0c9(this,'_activeShapeInfo',null),_0x38c0c9(this,'_isOpenedShapeEditPanel',!0x1),_0x38c0c9(this,_0x3bc39a(0x35c),0x0),_0x38c0c9(this,_0x3bc39a(0x450),new Map()),_0x38c0c9(this,_0x3bc39a(0x125),new Map()),this[_0x3bc39a(0x232)](),this[_0x3bc39a(0x2b0)](this['_univerInstanceService'][_0x3bc39a(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x3bc39a(0x146)](_0x21e360=>{const _0x2e11d5=_0x3bc39a;if(!_0x21e360){var _0x31ed01;(_0x31ed01=this[_0x2e11d5(0x289)])==null||_0x31ed01[_0x2e11d5(0x18c)]();}})),this[_0x3bc39a(0x2d6)](),this[_0x3bc39a(0x2b0)]((0x0,_0x56d51f['bindRenderTransformerLifecycle'])(this[_0x3bc39a(0x2f9)],_0x47c402[_0x3bc39a(0x1aa)][_0x3bc39a(0x486)],_0x363bb7=>this[_0x3bc39a(0x1d3)](_0x363bb7))),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x3bc39a(0x146)](_0x3041ca=>{const _0x547555=_0x3bc39a;_0x3041ca&&this[_0x547555(0x154)](void 0x0,!0x0);})),this[_0x3bc39a(0x2b0)](this[_0x3bc39a(0x17b)]['permissionPointUpdate$']['subscribe'](()=>{const _0x2e80ae=_0x3bc39a;this[_0x2e80ae(0x369)][_0x2e80ae(0x3b6)]()['some'](_0x51492e=>_0x51492e[_0x2e80ae(0x3bc)]===_0x47c402[_0x2e80ae(0x472)][_0x2e80ae(0x427)]&&this[_0x2e80ae(0x130)][_0x2e80ae(0x145)](_0x51492e[_0x2e80ae(0x24d)])===_0x47c402[_0x2e80ae(0x1aa)]['UNIVER_DOC']&&!this[_0x2e80ae(0x1f2)](_0x51492e[_0x2e80ae(0x24d)],_0x51492e[_0x2e80ae(0x2ef)]))&&(this[_0x2e80ae(0x154)](void 0x0,!0x0),this[_0x2e80ae(0x298)]());}));}[_0x7db477(0x232)](){const _0x5d5896=_0x7db477;this[_0x5d5896(0x285)][_0x5d5896(0x241)](_0x317aa8);}[_0x7db477(0x136)](_0x564053,_0x156858,_0x3368f6,_0x38d239){const _0x2b475f=_0x7db477;return[{'label':_0x2b475f(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':_0x38d239===_0x47c402['DrawingTypeEnum'][_0x2b475f(0x36e)]},{'label':_0x2b475f(0x27f),'index':0x1,'commandId':_0x13d142['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x564053,'drawings':[{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6}]},'disable':!0x1},{'label':_0x2b475f(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':!0x1}];}[_0x7db477(0x375)](_0x2babdc,_0x5bb671,_0x8d4d1d){const _0x5bac62=_0x7db477;let _0xfe37a8=this[_0x5bac62(0x25b)][_0x5bac62(0x15e)](_0x2babdc,_0x5bb671,_0x8d4d1d),_0x4ad968=this[_0x5bac62(0x25b)][_0x5bac62(0x237)](_0x2babdc,_0x5bb671,_0x8d4d1d);return _0xfe37a8!==void 0x0&&_0x4ad968!==void 0x0?{'shapeData':_0x4ad968,'shapeId':_0x8d4d1d,'shapeType':_0xfe37a8,'unitId':_0x2babdc,'subUnitId':_0x5bb671,'version':this[_0x5bac62(0x35c)],'disableShapeOption':!0x1}:null;}[_0x7db477(0x154)](_0x238dd4,_0x19d3d0=!0x1){const _0x31b58c=_0x7db477;if(_0x238dd4==null){[...this[_0x31b58c(0x450)][_0x31b58c(0x2d8)]()][_0x31b58c(0x2dd)](_0x22513b=>this[_0x31b58c(0x154)](_0x22513b,_0x19d3d0));return;}let _0x42d3e1=this['_disposePopupsByUnit']['get'](_0x238dd4);if(_0x42d3e1){for(let _0x5f3225=_0x42d3e1['length']-0x1;_0x5f3225>=0x0;--_0x5f3225){let _0x2bb3b4=_0x42d3e1[_0x5f3225];(_0x19d3d0||_0x2bb3b4[_0x31b58c(0x230)]())&&(_0x2bb3b4[_0x31b58c(0x18c)](),_0x42d3e1[_0x31b58c(0x45a)](_0x5f3225,0x1));}_0x42d3e1['length']===0x0&&(this[_0x31b58c(0x450)]['delete'](_0x238dd4),this[_0x31b58c(0x125)][_0x31b58c(0x348)](_0x238dd4));}}[_0x7db477(0x49b)](_0x4bd59a){const _0x3916e6=_0x7db477;let _0x4a67e5=this['_disposePopupsByUnit'][_0x3916e6(0x45e)](_0x4bd59a);if(_0x4a67e5)return _0x4a67e5;let _0xdfeff8=[];return this['_disposePopupsByUnit'][_0x3916e6(0x3fc)](_0x4bd59a,_0xdfeff8),_0xdfeff8;}[_0x7db477(0x1d3)](_0x28eaef){const _0x376ed8=_0x7db477;var _0x1dc558;let _0xbb4b4a=new _0x47c402['DisposableCollection'](),_0x1004eb=(_0x1dc558=this['_renderManagerService'][_0x376ed8(0x337)](_0x47c402[_0x376ed8(0x1aa)][_0x376ed8(0x486)])[_0x376ed8(0x363)](_0x52b4af=>_0x52b4af[_0x376ed8(0x11a)][_0x376ed8(0x339)]()===_0x28eaef))==null?void 0x0:_0x1dc558[_0x376ed8(0x24d)];return _0x1004eb?(_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef['createControl$'][_0x376ed8(0x146)](()=>this['_handleCreateControl'](_0x28eaef,_0x1004eb))),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x212)][_0x376ed8(0x146)](()=>{const _0x330c73=_0x376ed8;this[_0x330c73(0x154)](_0x1004eb),queueMicrotask(()=>{const _0x590aa3=_0x330c73;_0x28eaef[_0x590aa3(0x408)]()['size']>0x0||(this[_0x590aa3(0x1e2)][_0x590aa3(0x244)](_0x47c402[_0x590aa3(0x1eb)],!0x1),this[_0x590aa3(0x369)]['focusDrawing'](null));});})),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x170)][_0x376ed8(0x146)](()=>{const _0x4db24c=_0x376ed8;this[_0x4db24c(0x154)](_0x1004eb,!0x0);})),_0xbb4b4a):_0xbb4b4a;}[_0x7db477(0x39f)](_0x200bf5,_0x2b9aca){const _0x199df0=_0x7db477;let _0x588b5b=_0x200bf5[_0x199df0(0x408)]();if(this[_0x199df0(0x4a0)]){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}if(_0x588b5b[_0x199df0(0x142)]>0x1){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x46a5d5=_0x588b5b['values']()[_0x199df0(0x22e)]()['value'];if(!_0x46a5d5){this['_clearPopups'](_0x2b9aca);return;}let _0x580c65=this[_0x199df0(0x369)][_0x199df0(0x35d)](_0x46a5d5[_0x199df0(0x34c)]);if(!_0x580c65||_0x580c65[_0x199df0(0x3bc)]!==_0x47c402[_0x199df0(0x472)][_0x199df0(0x427)]){this[_0x199df0(0x154)](_0x2b9aca);return;}let {unitId:_0x5afaa9,subUnitId:_0x572910,drawingId:_0x151952,drawingType:_0x34a38e}=_0x580c65;if(!this[_0x199df0(0x1f2)](_0x5afaa9,_0x151952)){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}let _0x46e28d=this[_0x199df0(0x375)](_0x5afaa9,_0x572910,_0x151952);if(!_0x46e28d){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x4a7ef4=this[_0x199df0(0x450)][_0x199df0(0x45e)](_0x2b9aca),_0x214555=_0x5afaa9+':'+_0x572910+':'+_0x151952;if(this['_popupTargetKeys'][_0x199df0(0x45e)](_0x2b9aca)===_0x214555&&_0x4a7ef4&&_0x4a7ef4[_0x199df0(0x2b4)]>0x0)return;this[_0x199df0(0x154)](_0x2b9aca);let _0x1f53b7=this[_0x199df0(0x2f9)]['getRenderUnitById'](_0x5afaa9),_0x4be348=((_0x1f53b7==null?void 0x0:_0x1f53b7[_0x199df0(0x426)])===!0x1?_0x1f53b7[_0x199df0(0x459)](_0x130604[_0x199df0(0x47d)]):this[_0x199df0(0x1f4)])[_0x199df0(0x3e0)](_0x46a5d5,this[_0x199df0(0x35a)](_0x46e28d,_0x34a38e),_0x5afaa9);this[_0x199df0(0x2b0)](_0x4be348),this['_getDisposePopups'](_0x2b9aca)[_0x199df0(0x327)](_0x4be348),this[_0x199df0(0x125)][_0x199df0(0x3fc)](_0x2b9aca,_0x214555),this[_0x199df0(0x369)][_0x199df0(0x3b6)]()[_0x199df0(0x30e)](_0x3aee6d=>_0x3aee6d['unitId']===_0x5afaa9&&_0x3aee6d[_0x199df0(0x28c)]===_0x572910&&_0x3aee6d[_0x199df0(0x2ef)]===_0x151952)||this['_drawingManagerService'][_0x199df0(0x2e7)]([{'unitId':_0x5afaa9,'subUnitId':_0x572910,'drawingId':_0x151952}]);}['_getShapePopup'](_0x34cd58,_0x21c662){const _0x4ef536=_0x7db477;return{'componentKey':_0x384936,'direction':_0x4ef536(0x3dc),'offset':[0x0,_0x56d51f[_0x4ef536(0x217)]],'extraProps':{'unitId':_0x34cd58['unitId'],'subUnitId':_0x34cd58[_0x4ef536(0x28c)],'drawingId':_0x34cd58['shapeId'],'drawingType':_0x21c662,'shapeType':_0x34cd58[_0x4ef536(0x49e)],'shapeData':_0x34cd58[_0x4ef536(0x441)]}};}[_0x7db477(0x1f2)](_0x2167ca,_0x4b8e06){const _0x89859d=_0x7db477;let _0x5b0f2e=this['_univerInstanceService']['getUnit'](_0x2167ca,_0x47c402[_0x89859d(0x1aa)]['UNIVER_DOC']);if(!_0x5b0f2e)return!0x1;let _0x3f626a=(0x0,_0x18b339[_0x89859d(0x1af)])(_0x5b0f2e,_0x4b8e06);return(0x0,_0x18b339[_0x89859d(0x3e1)])(this[_0x89859d(0x17b)],_0x2167ca,[...(0x0,_0x18b339[_0x89859d(0x15b)])(_0x5b0f2e,_0x3f626a,_0x89859d(0x31b),_0x4b8e06),(0x0,_0x18b339['getDocumentEntityPermissionObjectId'])(_0x3f626a,'drawing',_0x4b8e06)]);}[_0x7db477(0x2d6)](){const _0x32263b=_0x7db477;this[_0x32263b(0x2b0)](this[_0x32263b(0x248)][_0x32263b(0x187)](_0x266706=>{const _0x3fb181=_0x32263b;if(_0x266706['id']===_0x39980d['id']){let {unitId:_0x1ddf5d,subUnitId:_0x163bb5,drawingId:_0x4cd34f}=_0x266706[_0x3fb181(0x20d)];this[_0x3fb181(0x35c)]+=0x1,this[_0x3fb181(0x303)]=this[_0x3fb181(0x375)](_0x1ddf5d,_0x163bb5,_0x4cd34f),this['_clearPopups'](void 0x0,!0x0),this[_0x3fb181(0x2c5)]();}if(_0x266706['id']===_0x87b80e['id']&&(this['_activeShapeInfo']=null,this[_0x3fb181(0x298)]()),_0x266706['id']===_0x284855['UpdateDocShapeDataMutation']['id']){let {unitId:_0x307e76,shapeId:_0xc9739e}=_0x266706['params'];if(this['_activeShapeInfo']&&this[_0x3fb181(0x303)][_0x3fb181(0x424)]===_0xc9739e){let _0x5c1e0a=this[_0x3fb181(0x375)](_0x307e76,this[_0x3fb181(0x303)]['subUnitId'],_0xc9739e);_0x5c1e0a&&(this['_shapeEditPanelVersion']+=0x1,_0x5c1e0a[_0x3fb181(0x39b)]=this[_0x3fb181(0x35c)],this['_activeShapeInfo']=_0x5c1e0a,this[_0x3fb181(0x4a0)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this[_0x32263b(0x369)][_0x32263b(0x48c)][_0x32263b(0x146)](_0x2333b3=>{const _0x525605=_0x32263b;if(this[_0x525605(0x4a0)]===!0x1)return;if(_0x2333b3[_0x525605(0x2b4)]===0x0){this[_0x525605(0x303)]=null,this[_0x525605(0x298)]();return;}if(_0x2333b3[_0x525605(0x2b4)]===0x1&&_0x2333b3[0x0][_0x525605(0x3bc)]===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]&&(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0][_0x525605(0x24d)],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)])){this[_0x525605(0x2c5)]();return;}let _0x59e97e=_0x2333b3[_0x525605(0x1ef)](_0x55f4f8=>_0x55f4f8['drawingType']===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]);if(_0x2333b3[_0x525605(0x2b4)]>0x1&&_0x59e97e[_0x525605(0x2b4)]===_0x2333b3[_0x525605(0x2b4)]){if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this['_getShapeInfo'](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)]){this[_0x525605(0x2c5)]();return;}}else{if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0]['drawingId']),this[_0x525605(0x303)]){this[_0x525605(0x303)][_0x525605(0x305)]=!0x0,this[_0x525605(0x2c5)]();return;}}this[_0x525605(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x62cad=_0x7db477;this[_0x62cad(0x303)]&&(this[_0x62cad(0x289)]=this['_sidebarService'][_0x62cad(0x1c9)]({'id':_0x52a209,'header':{'title':this['_localeService']['t'](_0x62cad(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x62cad(0x303)]},'onClose':()=>{const _0x194ba3=_0x62cad;this[_0x194ba3(0x369)]['focusDrawing'](null),this[_0x194ba3(0x1e2)][_0x194ba3(0x244)](_0x47c402[_0x194ba3(0x1eb)],!0x1),this[_0x194ba3(0x289)]=null;}}),this[_0x62cad(0x4a0)]=!0x0);}['_closeShapeEditPanel'](){const _0x3252de=_0x7db477;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3252de(0x3af)][_0x3252de(0x172)](_0x52a209),this[_0x3252de(0x289)]=null,this[_0x3252de(0x1e2)][_0x3252de(0x244)](_0x47c402[_0x3252de(0x1eb)],!0x1),this[_0x3252de(0x369)][_0x3252de(0x2e7)](null);}};_0xc0e7ef=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402['ICommandService']),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocCanvasPopManagerService'])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)])],_0xc0e7ef);let _0x458493=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x18aafd,_0x3495ef){const _0x5e0d67=_0x7db477;super(),this[_0x5e0d67(0x25b)]=_0x18aafd,this[_0x5e0d67(0x29a)]=_0x3495ef,this['disposeWithMe']((0x0,_0x47c402[_0x5e0d67(0x2e3)])((0x0,_0x54839f[_0x5e0d67(0x222)])((_0x32b5cd,_0x162fef,_0x1d0167)=>this[_0x5e0d67(0x1f6)](_0x32b5cd,_0x162fef,_0x1d0167))));}[_0x7db477(0x1f6)](_0x2191ae,_0x26df1a,_0x5b5f29){const _0x2a856d=_0x7db477;let _0x1373f8=this[_0x2a856d(0x25b)]['getShapeModel'](_0x2191ae,_0x26df1a);if(!_0x1373f8)return null;let _0x5d02c9=_0x1373f8[_0x2a856d(0x38a)](),_0x8942f=(0x0,_0x3becc2[_0x2a856d(0x29e)])(_0x5d02c9),_0x254423=_0x5d02c9[_0x2a856d(0x296)];if(!_0x254423||_0x8942f[_0x2a856d(0x37a)]!==_0x3becc2[_0x2a856d(0x1c0)]['SpAutoFit'])return null;let _0x4e468a=_0x5b5f29[_0x2a856d(0x196)],_0x27a517=_0x5b5f29[_0x2a856d(0x210)];_0x1373f8[_0x2a856d(0x1d4)]({'width':_0x4e468a,'height':_0x27a517});let _0x526658=_0x1373f8[_0x2a856d(0x258)]({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}),_0x4e2005=(0x0,_0x56d51f[_0x2a856d(0x2ff)])(_0x2a856d(0x2f4)in _0x254423?_0x254423['dataModel']:void 0x0),_0x5e4010=(_0x4e2005==null?void 0x0:_0x4e2005[_0x2a856d(0x1b6)])??('isRichText'in _0x254423?(0x0,_0x56d51f[_0x2a856d(0x16f)])(_0x254423,_0x26df1a+_0x2a856d(0x160)):null);if(!_0x5e4010)return null;let _0x54ef93=(0x0,_0x56d51f[_0x2a856d(0x3c7)])({'documentData':_0x5e4010,'height':_0x27a517,'shapeData':_0x5d02c9,'textRect':_0x526658,'width':_0x4e468a,'widthBuffer':0x0});_0x54ef93&&({width:_0x4e468a,height:_0x27a517}=_0x54ef93,_0x1373f8['updateContext']({'width':_0x4e468a,'height':_0x27a517}),_0x526658=_0x1373f8['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}));let _0x5a5079=_0x254423['isHorizontal']!==!0x1,_0x22232a=(0x0,_0x56d51f['prepareShapeTextDocumentData'])(_0x5e4010,{'isHorizontal':_0x5a5079,'textRect':_0x526658,'verticalAlign':_0x4e2005==null?void 0x0:_0x4e2005['va'],'horizontalAlign':_0x4e2005==null?void 0x0:_0x4e2005['ha'],'wrapStrategy':(0x0,_0x56d51f[_0x2a856d(0x451)])(_0x5d02c9)}),_0x3c9757=new _0x47c402['DocumentDataModel'](_0x22232a),_0x1e58c9=new _0x54839f[(_0x2a856d(0x3de))](_0x3c9757),_0x32840a=_0x54839f[_0x2a856d(0x1fc)][_0x2a856d(0x46d)](_0x1e58c9,this['_localeService']);try{var _0x53e9fc,_0x15712b;_0x32840a[_0x2a856d(0x272)]();let _0x5e9a38=((_0x53e9fc=_0x32840a[_0x2a856d(0x410)]())==null?void 0x0:_0x53e9fc['pages'])??[],_0x455f8e=_0x5e9a38[_0x5e9a38[_0x2a856d(0x2b4)]-0x1],_0x3c7857=_0x455f8e?Math['max'](0x0,((_0x15712b=(0x0,_0x54839f[_0x2a856d(0x2b5)])(_0x455f8e))==null?void 0x0:_0x15712b[_0x2a856d(0x44f)])??0x0):0x0,_0x4fe5ba=_0x32840a[_0x2a856d(0x1ba)]()['actualHeight']+_0x3c7857-(_0x5a5079?_0x526658[_0x2a856d(0x1e3)]:_0x526658[_0x2a856d(0x19f)]);return Number[_0x2a856d(0x401)](_0x4fe5ba)?_0x5a5079?{'width':_0x4e468a,'height':Math['max'](0x1,_0x27a517+_0x4fe5ba)}:{'width':Math[_0x2a856d(0x326)](0x1,_0x4e468a+_0x4fe5ba),'height':_0x27a517}:null;}finally{_0x32840a['dispose'](),_0x1e58c9[_0x2a856d(0x18c)](),_0x3c9757['dispose']();}}};_0x458493=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x47c402['LocaleService']))],_0x458493);let _0x550cac=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0xdcb5ca=_0x1bd49e,_0x3e3654,_0x2f67cb,_0x25f7c0,_0x415e29){const _0x1867fd=_0x7db477;super(),this[_0x1867fd(0x33d)]=_0xdcb5ca,this['_injector']=_0x3e3654,this[_0x1867fd(0x248)]=_0x2f67cb,this[_0x1867fd(0x127)]=_0x25f7c0,this[_0x1867fd(0x2f9)]=_0x415e29;let {menu:_0x4870b8,..._0x4f3661}=(0x0,_0x47c402['merge'])({},_0x1bd49e,this[_0x1867fd(0x33d)]);_0x4870b8&&this[_0x1867fd(0x127)]['setConfig'](_0x1867fd(0x16a),_0x4870b8,{'merge':!0x0}),this['_configService'][_0x1867fd(0x147)](_0x3c8ab9,_0x4f3661),this[_0x1867fd(0x12e)]();}['onStarting'](){const _0x2ab351=_0x7db477;(0x0,_0x47c402['registerDependencies'])(this[_0x2ab351(0x3a5)],this['_getDependencies']()),this[_0x2ab351(0x3a5)]['get'](_0x5ba519),this['_initUIPart']();}[_0x7db477(0x2ec)](){return[[_0x5ba519],[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]];}['onReady'](){const _0x1339a9=_0x7db477;this[_0x1339a9(0x25f)]()[_0x1339a9(0x2dd)](_0x4fa06c=>{const _0x3c31a5=_0x1339a9;this[_0x3c31a5(0x2b0)](this['_renderManagerService']['registerRenderModule'](_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x4fa06c));}),(0x0,_0x47c402[_0x1339a9(0x30c)])(this[_0x1339a9(0x3a5)],[[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]]);}[_0x7db477(0x25f)](){return[[_0x3e66ac],[_0x5df16b],[_0xac86fa]];}['onRendered'](){const _0x397257=_0x7db477;this[_0x397257(0x2b0)](this[_0x397257(0x2f9)][_0x397257(0x19b)](_0x47c402[_0x397257(0x1aa)][_0x397257(0x486)],[_0x1642ea]));}[_0x7db477(0x12e)](){const _0x1c3e90=_0x7db477;[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x1c3e90(0x2dd)](_0x2e824e=>this[_0x1c3e90(0x2b0)](this[_0x1c3e90(0x248)][_0x1c3e90(0x156)](_0x2e824e)));}[_0x7db477(0x2e6)](){const _0x29970c=_0x7db477;let _0x54d74b=this[_0x29970c(0x3a5)],_0x33000e=_0x54d74b[_0x29970c(0x45e)](_0x86086d[_0x29970c(0x1a7)]);this[_0x29970c(0x2b0)](_0x33000e['registerComponent'](_0x86086d['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x86086d[_0x29970c(0x288)])(_0x1e8cf0,_0x54d74b)));}};_0x38c0c9(_0x550cac,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)]['UNIVER_DOC']),_0x38c0c9(_0x550cac,_0x7db477(0x40c),_0x7db477(0x2e9)),_0x38c0c9(_0x550cac,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x550cac,_0x7db477(0x39b),_0x279654),_0x550cac=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339['UniverDocsPlugin'],_0x4152b2[_0x7db477(0x1b8)],_0x459a9e[_0x7db477(0x254)],_0x54839f['UniverRenderEnginePlugin'],_0x130604[_0x7db477(0x293)],_0x48b72a['UniverShapeEditorPlugin'],_0x1d2176[_0x7db477(0x2f0)],_0x284855['UniverDocsShapePlugin'],_0x56d51f[_0x7db477(0x12c)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402['Injector'])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)])],_0x550cac),_0x47b7a8[_0x7db477(0x46f)]=_0x317aa8,Object['defineProperty'](_0x47b7a8,_0x7db477(0x2f1),{'enumerable':!0x0,'get':function(){return _0x35c733;}}),Object[_0x7db477(0x1c8)](_0x47b7a8,_0x7db477(0x121),{'enumerable':!0x0,'get':function(){return _0x550cac;}});}));
|