@univerjs-pro/docs-shape-ui 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- 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 +5 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4b6e0f,_0x5abbe9){const _0xcd6ac0=_0x8eb6,_0x373286=_0x4b6e0f();while(!![]){try{const _0x57b9ff=parseInt(_0xcd6ac0(0x30b))/0x1+parseInt(_0xcd6ac0(0x2cd))/0x2+-parseInt(_0xcd6ac0(0x33d))/0x3+-parseInt(_0xcd6ac0(0x30e))/0x4+-parseInt(_0xcd6ac0(0x19c))/0x5*(parseInt(_0xcd6ac0(0x507))/0x6)+parseInt(_0xcd6ac0(0x1fc))/0x7*(-parseInt(_0xcd6ac0(0x38b))/0x8)+parseInt(_0xcd6ac0(0x380))/0x9*(parseInt(_0xcd6ac0(0x388))/0xa);if(_0x57b9ff===_0x5abbe9)break;else _0x373286['push'](_0x373286['shift']());}catch(_0x3ecf26){_0x373286['push'](_0x373286['shift']());}}}(_0xd530,0xb2abb),function(_0x1384d4,_0x565662){const _0x5f5235=_0x8eb6;typeof exports=='object'&&typeof module<'u'?_0x565662(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==_0x5f5235(0x418)&&define['amd']?define(['exports',_0x5f5235(0x4d5),'@univerjs/docs-ui',_0x5f5235(0x48c),'@univerjs-pro/docs-shape',_0x5f5235(0x4c1),_0x5f5235(0x47e),'@univerjs/core',_0x5f5235(0x498),'@univerjs/docs-drawing',_0x5f5235(0x364),_0x5f5235(0x2d8),_0x5f5235(0x3f8),'react/jsx-runtime',_0x5f5235(0x48a),_0x5f5235(0x241),'@univerjs/docs-drawing-ui','react',_0x5f5235(0x312),_0x5f5235(0x23e)],_0x565662):(_0x1384d4=typeof globalThis<'u'?globalThis:_0x1384d4||self,_0x565662(_0x1384d4[_0x5f5235(0x1cf)]={},_0x1384d4[_0x5f5235(0x327)],_0x1384d4[_0x5f5235(0x31a)],_0x1384d4[_0x5f5235(0x1b0)],_0x1384d4[_0x5f5235(0x2a1)],_0x1384d4['UniverProEngineShape'],_0x1384d4[_0x5f5235(0x4a9)],_0x1384d4[_0x5f5235(0x202)],_0x1384d4[_0x5f5235(0x4e1)],_0x1384d4[_0x5f5235(0x3cc)],_0x1384d4['UniverEngineRender'],_0x1384d4[_0x5f5235(0x4c3)],_0x1384d4['UniverDrawingUi'],_0x1384d4[_0x5f5235(0x265)],_0x1384d4[_0x5f5235(0x48a)],_0x1384d4['UniverProLicense'],_0x1384d4[_0x5f5235(0x35d)],_0x1384d4[_0x5f5235(0x265)],_0x1384d4['UniverDesign'],_0x1384d4['UniverProtocol']));}(this,function(_0x4494af,_0x49227b,_0x4fb755,_0x17ddbe,_0x3a18ad,_0x14b8aa,_0x5e0109,_0x1f0d53,_0x1d5dc9,_0x468af2,_0x2de297,_0x1b10bd,_0x1b3d5c,_0x49e713,_0x50deea,_0x2f7626,_0x9fb89c,_0x474eb8,_0x2ee841,_0x3036e9){const _0x5936e8=_0x8eb6;Object[_0x5936e8(0x4aa)](_0x4494af,Symbol[_0x5936e8(0x370)],{'value':_0x5936e8(0x3f5)});function _0x17a881(_0x14107a,_0x1b8b2a){const _0x4f5283=_0x5936e8;if(_0x1b8b2a){if((0x0,_0x14b8aa['isConnectorShape'])(_0x14107a)&&(_0x1b8b2a['startArrow']||_0x1b8b2a['endArrow']))return{'ln':{'startArrow':_0x1b8b2a[_0x4f5283(0x467)]?{'type':_0x14b8aa[_0x4f5283(0x3eb)][_0x4f5283(0x275)],'size':_0x14b8aa[_0x4f5283(0x43c)][_0x4f5283(0x44d)]}:void 0x0,'endArrow':_0x1b8b2a[_0x4f5283(0x38e)]?{'type':_0x14b8aa[_0x4f5283(0x3eb)][_0x4f5283(0x275)],'size':_0x14b8aa[_0x4f5283(0x43c)][_0x4f5283(0x223)]}:void 0x0}};if(_0x14107a===_0x14b8aa[_0x4f5283(0x2fa)][_0x4f5283(0x234)]&&(_0x1b8b2a[_0x4f5283(0x4a0)]||_0x1b8b2a[_0x4f5283(0x24b)]))return(0x0,_0x5e0109[_0x4f5283(0x326)])({'fill':{'fillType':_0x14b8aa[_0x4f5283(0x2ee)]['SolidFill'],'color':'#3B82F6'},'isHorizontal':!!_0x1b8b2a[_0x4f5283(0x4a0)],'stroke':{'lineStrokeType':_0x14b8aa[_0x4f5283(0x38f)][_0x4f5283(0x461)],'width':0x1,'color':_0x4f5283(0x4dd)}});}}function _0x41da7c(_0x5ab20c,_0x4befd7){const _0x1e6443=_0x5936e8;var _0x2c665b;let _0x1afc85=_0x4befd7['segmentId']??'',_0x23be4a=(_0x2c665b=_0x5ab20c['getSelfOrHeaderFooterModel'](_0x1afc85))==null?void 0x0:_0x2c665b[_0x1e6443(0x491)]();if(!_0x23be4a)return null;let _0x5d61d1=_0x23be4a[_0x1e6443(0x3c7)]??[],_0x1a5b9e=_0x5d61d1[_0x1e6443(0x372)](_0x1d905b=>{const _0x40721d=_0x1e6443;let _0x406a90=(0x0,_0x1f0d53[_0x40721d(0x1a4)])(_0x23be4a,_0x1d905b);return _0x4befd7[_0x40721d(0x2c6)]>=_0x406a90&&_0x4befd7[_0x40721d(0x2c6)]<=_0x1d905b[_0x40721d(0x4b3)];})??_0x5d61d1[_0x5d61d1[_0x1e6443(0x2b1)]-0x1];return _0x1a5b9e?{'paragraphId':_0x1a5b9e[_0x1e6443(0x38a)],'segmentId':_0x1afc85,'position':_0x3a18ad['DocShapeAnchorPosition'][_0x1e6443(0x470)],'offset':_0x4befd7[_0x1e6443(0x2c6)]-(0x0,_0x1f0d53[_0x1e6443(0x1a4)])(_0x23be4a,_0x1a5b9e)}:null;}function _0x3be6fd(_0x4c5623,_0x2a4d3b,_0x4eda66){const _0x18294f=_0x5936e8;var _0x1e4781,_0x8d434;if(!_0x4eda66)return null;let _0x3f33aa=(_0x1e4781=_0x4c5623['get'](_0x2de297[_0x18294f(0x434)])[_0x18294f(0x246)](_0x2a4d3b))==null?void 0x0:_0x1e4781[_0x18294f(0x407)](_0x4fb755[_0x18294f(0x23d)])[_0x18294f(0x3de)];if(!_0x3f33aa)return null;let _0x4099cb=_0x4eda66===_0x18294f(0x43b)?{'startOffset':_0x3f33aa['moveRange'][_0x18294f(0x469)],'endOffset':_0x3f33aa[_0x18294f(0x32d)][_0x18294f(0x469)]}:_0x3f33aa[_0x18294f(0x3d6)];return{'startOffset':_0x4099cb[_0x18294f(0x2c6)],'endOffset':_0x4099cb[_0x18294f(0x469)],'collapsed':_0x4099cb['startOffset']===_0x4099cb['endOffset'],'segmentId':((_0x8d434=_0x3f33aa[_0x18294f(0x32b)])==null?void 0x0:_0x8d434['segmentId'])??''};}let _0x5dc3f0={'type':_0x1f0d53[_0x5936e8(0x1e1)]['COMMAND'],'id':_0x5936e8(0x287),'handler':async(_0x51f59e,_0x2a98c1)=>{const _0x19f8bb=_0x5936e8;let _0x4ed7ea=_0x51f59e[_0x19f8bb(0x22c)](_0x1f0d53[_0x19f8bb(0x474)])[_0x19f8bb(0x279)](_0x1f0d53[_0x19f8bb(0x2ab)]['UNIVER_DOC']);if(!_0x4ed7ea)return!0x1;let _0x5268dc=_0x51f59e['get'](_0x1f0d53['ICommandService']),_0x44be6d=_0x4ed7ea[_0x19f8bb(0x28c)](),_0x474fb7=_0x2a98c1[_0x19f8bb(0x4b8)]??(0x0,_0x1f0d53[_0x19f8bb(0x452)])(),_0x5b226b=_0x2a98c1[_0x19f8bb(0x280)]??_0x3a18ad[_0x19f8bb(0x50d)],_0x16bb43=_0x2a98c1['height']??_0x3a18ad[_0x19f8bb(0x332)],_0x228ed3=_0x2a98c1[_0x19f8bb(0x457)]??_0x17a881(_0x2a98c1['value'],_0x2a98c1[_0x19f8bb(0x45e)]),_0x1e298f=_0x3be6fd(_0x51f59e,_0x44be6d,_0x2a98c1['paragraphMenuPlacement'])??_0x51f59e[_0x19f8bb(0x22c)](_0x1d5dc9['DocSelectionManagerService'])[_0x19f8bb(0x41d)]();if(!_0x1e298f)return!0x1;let _0x330852=_0x41da7c(_0x4ed7ea,_0x1e298f);return _0x330852?!!_0x5268dc[_0x19f8bb(0x30d)](_0x3a18ad[_0x19f8bb(0x320)]['id'],{'unitId':_0x44be6d,'shapeId':_0x474fb7,'shapeType':_0x2a98c1[_0x19f8bb(0x3ca)],'shapeData':_0x228ed3,'transform':{'width':_0x5b226b,'height':_0x16bb43},'placement':{'wrappingStyle':_0x468af2[_0x19f8bb(0x1d8)][_0x19f8bb(0x1d1)],'anchor':_0x330852}}):!0x1;}},_0x33cbc8=_0x5936e8(0x2d0),_0x4a26b7='docs-shape-ui.ribbon.shape-format',_0x2f3622=_0x5936e8(0x4d6),_0x44e212=(0x0,_0x1f0d53[_0x5936e8(0x281)])(_0x5936e8(0x195)),_0x54e3e8=_0x5936e8(0x2db),_0x3006fa=_0x5936e8(0x244),_0x1ac0f7={'id':_0x5936e8(0x472),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x402)],'handler':(_0x4b1b28,_0x231ebc)=>{const _0x1da4ef=_0x5936e8;let _0x55120f=_0x4b1b28['get'](_0x17ddbe['ISidebarService']),_0x3dfe5d=_0x4b1b28[_0x1da4ef(0x22c)](_0x1f0d53['LocaleService']),_0x3ab4b6=_0x4b1b28[_0x1da4ef(0x22c)](_0x1b10bd[_0x1da4ef(0x224)]);return(_0x231ebc==null?void 0x0:_0x231ebc[_0x1da4ef(0x3ca)])===_0x1da4ef(0x44b)?(_0x55120f[_0x1da4ef(0x44b)](_0x2f3622),!0x0):(_0x55120f['open']({'id':_0x2f3622,'header':{'title':_0x3dfe5d['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x2f3622},'onClose':()=>{_0x3ab4b6['focusDrawing'](null);},'width':0x168}),!0x0);}},_0x4bbe2e={'type':_0x1f0d53['CommandType'][_0x5936e8(0x266)],'id':_0x5936e8(0x47d),'handler'(){return!0x0;}};function _0x48f6bf(_0x6ccf88){const _0x2789bb=_0x5936e8;let _0x59c777=_0x6ccf88[_0x2789bb(0x22c)](_0x1b10bd[_0x2789bb(0x224)])[_0x2789bb(0x456)](),_0x5d46d8=_0x59c777[_0x2789bb(0x2b1)]===0x1?_0x59c777[0x0]:null;if(!_0x5d46d8||_0x5d46d8['drawingType']!==_0x1f0d53['DrawingTypeEnum'][_0x2789bb(0x39d)])return null;let _0x557f79=_0x6ccf88[_0x2789bb(0x22c)](_0x3a18ad[_0x2789bb(0x39c)]),_0x36206c=_0x557f79[_0x2789bb(0x325)](_0x5d46d8[_0x2789bb(0x458)],_0x5d46d8['subUnitId'],_0x5d46d8['drawingId']),_0x44a952=_0x557f79[_0x2789bb(0x2ed)](_0x5d46d8[_0x2789bb(0x458)],_0x5d46d8['subUnitId'],_0x5d46d8[_0x2789bb(0x240)]);return _0x36206c===void 0x0||!_0x44a952?null:{'drawing':_0x5d46d8,'shapeData':_0x44a952,'shapeType':_0x36206c};}let _0x3c67d5={'id':_0x5936e8(0x291),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'handler':(_0x597687,_0x391294)=>{const _0x348a24=_0x5936e8;let _0x3f6d0f=_0x48f6bf(_0x597687),_0xae3a10=(0x0,_0x5e0109[_0x348a24(0x322)])((_0x391294==null?void 0x0:_0x391294[_0x348a24(0x440)])??(_0x391294==null?void 0x0:_0x391294[_0x348a24(0x3ca)])??'');if(!_0x3f6d0f||!_0xae3a10||_0xae3a10['type']!==(0x0,_0x5e0109[_0x348a24(0x2fd)])(_0x3f6d0f[_0x348a24(0x457)]))return!0x1;let _0x2900b1=(0x0,_0x5e0109['applyQuickStyleToShapeData'])(_0x3f6d0f['shapeData'],_0xae3a10);if(!_0x2900b1)return!0x1;let {drawing:_0x54b711}=_0x3f6d0f;return _0x597687[_0x348a24(0x22c)](_0x1f0d53[_0x348a24(0x298)])[_0x348a24(0x502)](_0x3a18ad[_0x348a24(0x1c0)]['id'],{'unitId':_0x54b711[_0x348a24(0x458)],'shapeId':_0x54b711[_0x348a24(0x240)],'shapeData':_0x2900b1,'oldShapeJSON':{'oldShapeData':_0x3f6d0f[_0x348a24(0x457)]}});}},_0x5116cf={'id':_0x5936e8(0x2b9),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'handler':(_0x48a08f,_0x134979)=>{const _0x3fcd4d=_0x5936e8;let _0x53bf31=_0x48f6bf(_0x48a08f),_0x1c7646=(_0x134979==null?void 0x0:_0x134979[_0x3fcd4d(0x329)])??(_0x134979==null?void 0x0:_0x134979['value']);if(!_0x53bf31||!_0x1c7646||(0x0,_0x14b8aa[_0x3fcd4d(0x214)])(_0x53bf31[_0x3fcd4d(0x329)])||(0x0,_0x14b8aa['isConnectorShape'])(_0x1c7646))return!0x1;let _0x4139cf=(0x0,_0x5e0109[_0x3fcd4d(0x435)])(_0x53bf31[_0x3fcd4d(0x457)],_0x1c7646);if(!_0x4139cf)return!0x1;let {drawing:_0x3a0c1f}=_0x53bf31;return _0x48a08f[_0x3fcd4d(0x22c)](_0x1f0d53[_0x3fcd4d(0x298)])[_0x3fcd4d(0x502)](_0x3a18ad[_0x3fcd4d(0x1c0)]['id'],{'unitId':_0x3a0c1f[_0x3fcd4d(0x458)],'shapeId':_0x3a0c1f['drawingId'],'shapeType':_0x1c7646,'shapeData':_0x4139cf,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x53bf31[_0x3fcd4d(0x329)],'oldShapeData':_0x53bf31[_0x3fcd4d(0x457)]}});}};function _0x570e4a(_0x4df22c,_0x4b9071){return function(_0x47498d,_0x4b3443){_0x4b9071(_0x47498d,_0x4b3443,_0x4df22c);};}function _0x348fea(_0x78567a,_0x1f5ee9,_0x4e9c7f,_0x58c59b){const _0x3ce9bf=_0x5936e8;var _0x44d3fb=arguments[_0x3ce9bf(0x2b1)],_0x375040=_0x44d3fb<0x3?_0x1f5ee9:_0x58c59b===null?_0x58c59b=Object[_0x3ce9bf(0x504)](_0x1f5ee9,_0x4e9c7f):_0x58c59b,_0x289d62;if(typeof Reflect==_0x3ce9bf(0x43f)&&typeof Reflect[_0x3ce9bf(0x4de)]==_0x3ce9bf(0x418))_0x375040=Reflect[_0x3ce9bf(0x4de)](_0x78567a,_0x1f5ee9,_0x4e9c7f,_0x58c59b);else{for(var _0x35de8e=_0x78567a[_0x3ce9bf(0x2b1)]-0x1;_0x35de8e>=0x0;_0x35de8e--)(_0x289d62=_0x78567a[_0x35de8e])&&(_0x375040=(_0x44d3fb<0x3?_0x289d62(_0x375040):_0x44d3fb>0x3?_0x289d62(_0x1f5ee9,_0x4e9c7f,_0x375040):_0x289d62(_0x1f5ee9,_0x4e9c7f))||_0x375040);}return _0x44d3fb>0x3&&_0x375040&&Object['defineProperty'](_0x1f5ee9,_0x4e9c7f,_0x375040),_0x375040;}let _0x31289f=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x7638a7,_0x4ccb58){const _0x58e267=_0x5936e8;super(),this['_clipService']=_0x7638a7,this[_0x58e267(0x1e2)]=_0x4ccb58,this['_registerImageShapeClipDelegate'](),this['_clipService'][_0x58e267(0x2a9)](!0x0),this[_0x58e267(0x487)]({'dispose':()=>this[_0x58e267(0x4a2)][_0x58e267(0x2a9)](!0x1)});}[_0x5936e8(0x201)](){const _0x920e1c=_0x5936e8;let _0x2a996e=new Map(),_0x20cd7c=this[_0x920e1c(0x4a2)][_0x920e1c(0x3c9)]((_0xb09d47,_0xc5ad48,_0x3f0cc0,_0x439ce2,_0x4fcde1)=>{const _0x271cac=_0x920e1c;let _0x47830c=_0xc5ad48;if(_0x47830c===_0x14b8aa[_0x271cac(0x2fa)][_0x271cac(0x49d)]||_0xc5ad48===_0x271cac(0x44e))return!0x1;try{let _0x3df78a=_0x2a996e[_0x271cac(0x22c)](_0xc5ad48);return _0x3df78a||(_0x3df78a=new _0x14b8aa['ShapeModel'](_0x47830c,_0x271cac(0x480)+_0xc5ad48),_0x2a996e[_0x271cac(0x4fe)](_0xc5ad48,_0x3df78a)),_0x3df78a[_0x271cac(0x18c)](),_0x4fcde1&&Object[_0x271cac(0x3c5)](_0x4fcde1)[_0x271cac(0x2b1)]>0x0&&_0x3df78a[_0x271cac(0x352)]({'adjustValues':_0x4fcde1},!0x0),_0x3df78a[_0x271cac(0x264)]({'width':_0x3f0cc0,'height':_0x439ce2}),_0x3df78a[_0x271cac(0x2a3)](_0xb09d47,{'left':0x0,'top':0x0,'width':_0x3f0cc0,'height':_0x439ce2});}catch{return!0x1;}});this['disposeWithMe'](_0x20cd7c),this[_0x920e1c(0x487)]({'dispose':()=>_0x2a996e[_0x920e1c(0x3d9)]()});}[_0x5936e8(0x2f1)](_0x234fd4,_0x1f00da,_0x1a5652,_0x369497,_0x778797){const _0x2683e0=_0x5936e8;let _0x5b77bd=this[_0x2683e0(0x1e2)][_0x2683e0(0x1d9)](_0x234fd4,_0x1f00da)[_0x1a5652];_0x5b77bd&&_0x5b77bd[_0x2683e0(0x486)]===_0x1f0d53[_0x2683e0(0x331)][_0x2683e0(0x48f)]&&this[_0x2683e0(0x1e2)][_0x2683e0(0x4f2)]([{..._0x5b77bd,'prstGeom':_0x369497,'adjustValues':_0x778797}]);}};_0x31289f=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1b3d5c[_0x5936e8(0x274)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1b10bd[_0x5936e8(0x224)]))],_0x31289f);let _0x11dc99=_0x5936e8(0x3c8),_0xb8ab1f=_0x5936e8(0x4e5);function _0x17177a({onShapeClick:_0x2bcb76,excludeGroups:_0xaf3536}){const _0x1cc985=_0x5936e8;return(0x0,_0x49e713[_0x1cc985(0x340)])(_0x49227b[_0x1cc985(0x3bf)],{'excludeGroups':_0xaf3536,'onShapeClick':_0x2bcb76,'scrollContainer':_0x1cc985(0x22e)});}function _0x18ffed(){const _0xe1f7a9=_0x5936e8;let _0x3a83f8=(0x0,_0x17ddbe[_0xe1f7a9(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x2a1389=(0x0,_0x17ddbe[_0xe1f7a9(0x448)])(_0x31289f);return _0x1b5d50=>{const _0x2c1ec8=_0xe1f7a9;let _0x5d4756=_0x3a83f8['getFocusDrawings']()[_0x2c1ec8(0x372)](_0x4e7f1e=>_0x4e7f1e[_0x2c1ec8(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x2c1ec8(0x48f)]);_0x5d4756&&_0x2a1389['clipByShape'](_0x5d4756[_0x2c1ec8(0x458)],_0x5d4756['subUnitId'],_0x5d4756[_0x2c1ec8(0x240)],_0x1b5d50['type']);};}function _0xe0be09(){const _0xb90012=_0x5936e8;let _0x30a55a=_0x18ffed();return(0x0,_0x49e713[_0xb90012(0x340)])(_0x49227b['ShapePickerDropdown'],{'buttonLabel':'docs-shape-ui.crop.shape','excludeGroups':[_0x49227b[_0xb90012(0x42c)][_0xb90012(0x276)]],'onShapeClick':_0x30a55a});}function _0xbfcf2a(){const _0x1dfa15=_0x5936e8;let _0x2af65c=(0x0,_0x17ddbe['useDependency'])(_0x17ddbe[_0x1dfa15(0x33a)]),_0x2ce9e2=(0x0,_0x17ddbe[_0x1dfa15(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x1aa102=(0x0,_0x17ddbe[_0x1dfa15(0x448)])(_0x1f0d53[_0x1dfa15(0x474)]),_0x4050e0=_0x2ce9e2['getFocusDrawings']()[0x0],_0x165d46=_0x4050e0?_0x1aa102[_0x1dfa15(0x4b2)](_0x4050e0[_0x1dfa15(0x458)]):void 0x0,_0x3db0af=_0x165d46===_0x1f0d53[_0x1dfa15(0x2ab)][_0x1dfa15(0x471)]?_0xb8ab1f:_0x165d46===_0x1f0d53[_0x1dfa15(0x2ab)]['UNIVER_SHEET']?'sheet.image-clip.shape-picker.component':void 0x0,_0x272cdf=_0x3db0af?_0x2af65c[_0x1dfa15(0x22c)](_0x3db0af):void 0x0;return _0x272cdf?(0x0,_0x49e713['jsx'])(_0x272cdf,{}):null;}function _0x16b51e({paragraphMenuPlacement:_0x2069ee,PickerComponent:_0x2dfb80=_0x17177a}){const _0x19a990=_0x5936e8;let _0x7705d9=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x19a990(0x298)]);return(0x0,_0x49e713['jsx'])(_0x2dfb80,{'onShapeClick':_0x17d837=>{const _0xfe6072=_0x19a990;_0x7705d9[_0xfe6072(0x502)](_0x5dc3f0['id'],{'paragraphMenuPlacement':_0x2069ee,'value':_0x17d837[_0xfe6072(0x481)],'enhanceParams':{'endArrow':_0x17d837['endArrow'],'startArrow':_0x17d837[_0xfe6072(0x467)],'horizontal':_0x17d837['horizontal'],'vertical':_0x17d837[_0xfe6072(0x24b)]}});}});}function _0x37f6ff(_0x75ac9c){const _0x48d4b9=_0x5936e8;return _0x3eac8b=>({'id':_0x5dc3f0['id'],'type':_0x17ddbe['MenuItemType'][_0x48d4b9(0x443)],'selections':[{'label':{'name':_0x11dc99,'hoverable':!0x1,'selectable':!0x1,'props':_0x75ac9c?{'id':_0x5dc3f0['id'],'paragraphMenuPlacement':_0x75ac9c}:{'id':_0x5dc3f0['id']}}}],'icon':_0x48d4b9(0x27d),'title':_0x48d4b9(0x462),'tooltip':_0x48d4b9(0x462),'hidden$':(0x0,_0x17ddbe[_0x48d4b9(0x270)])(_0x3eac8b,_0x1f0d53['UniverInstanceType'][_0x48d4b9(0x471)])});}let _0x2a8a47=_0x37f6ff(),_0x5ddd5e=_0x37f6ff(_0x5936e8(0x43b)),_0x130151=_0x37f6ff(_0x5936e8(0x316));function _0x335167(_0x30a170){const _0x146668=_0x5936e8;let _0x6202e8=_0x30a170['get'](_0x17ddbe['ISidebarService']);return{'id':_0x1ac0f7['id'],'type':_0x17ddbe[_0x146668(0x306)][_0x146668(0x2fb)],'icon':_0x146668(0x1eb),'title':'docs-shape-ui.objectListPanel.open','tooltip':_0x146668(0x3e2),'activated$':(0x0,_0x50deea[_0x146668(0x367)])(()=>_0x6202e8['sidebarOptions$'][_0x146668(0x218)]((0x0,_0x50deea[_0x146668(0x20e)])(_0x6202e8[_0x146668(0x2f5)]),(0x0,_0x50deea[_0x146668(0x2e6)])(_0x4e9d27=>_0x4e9d27[_0x146668(0x343)]===!0x0&&_0x4e9d27['id']==='doc.shape.object-list.panel'),(0x0,_0x50deea[_0x146668(0x3b5)])())),'hidden$':(0x0,_0x17ddbe[_0x146668(0x270)])(_0x30a170,_0x1f0d53[_0x146668(0x2ab)]['UNIVER_DOC'])};}function _0x17f719(_0x2daf25,_0x4e8ef5,_0x44fefb,_0xf34b1f,_0x2ed5b5,_0x4e06c3){const _0x30d333=_0x5936e8;let _0x2b7d87={'unitId':_0x4e8ef5,'shapeId':_0xf34b1f,'shapeData':_0x4e06c3,'oldShapeJSON':_0x2ed5b5};return _0x2daf25[_0x30d333(0x502)](_0x3a18ad[_0x30d333(0x1c0)]['id'],_0x2b7d87);}function _0x445078(_0x3921e4,_0x2d3052,_0x36cd74,_0xa1a486,_0x7ab5e8,_0x570a2b){let _0x4955f5={'unitId':_0x2d3052,'shapeId':_0xa1a486,'shapeData':_0x570a2b,'oldShapeJSON':_0x7ab5e8};return _0x3921e4['executeCommand'](_0x3a18ad['UpdateDocShapeDataCommand']['id'],_0x4955f5);}let _0x5a7f89=_0x5936e8(0x23a),_0x369dfe='docs-shape-ui.shape-format.style-ribbon-control',_0x4c6bd2='docs-shape-ui.shape-format.text-ribbon-control',_0xaa2613=_0x5936e8(0x261),_0x3cd69e=_0x5936e8(0x26a),_0x3f6d23=[{'value':_0x468af2[_0x5936e8(0x1d8)]['INLINE'],'label':'docs-shape-ui.textWrap.inline','icon':_0x5936e8(0x207)},{'value':_0x468af2['TextWrappingStyle'][_0x5936e8(0x3bd)],'label':_0x5936e8(0x49c),'icon':'DocsShapeWrapSquareIcon'},{'value':_0x468af2[_0x5936e8(0x1d8)][_0x5936e8(0x375)],'label':_0x5936e8(0x2b0),'icon':_0x5936e8(0x359)},{'value':_0x468af2[_0x5936e8(0x1d8)][_0x5936e8(0x475)],'label':_0x5936e8(0x1f6),'icon':_0x5936e8(0x45f)},{'value':_0x468af2['TextWrappingStyle'][_0x5936e8(0x2bb)],'label':_0x5936e8(0x290),'icon':'DocsShapeWrapInFrontOfTextIcon'}];function _0x3363a5(){const _0x12b340=_0x5936e8;let _0x39ffb6=(0x0,_0x17ddbe[_0x12b340(0x448)])(_0x1f0d53['ICommandService']),_0x19064d=(0x0,_0x17ddbe['useDependency'])(_0x1b10bd[_0x12b340(0x224)]),_0x2bf2bb=(0x0,_0x17ddbe[_0x12b340(0x448)])(_0x3a18ad[_0x12b340(0x39c)]),_0x193900=()=>{const _0xf63044=_0x12b340;var _0x5cca37;let _0x2d2113=_0x19064d[_0xf63044(0x456)]();if(_0x2d2113[_0xf63044(0x2b1)]!==0x1||((_0x5cca37=_0x2d2113[0x0])==null?void 0x0:_0x5cca37['drawingType'])!==_0x1f0d53[_0xf63044(0x331)]['DRAWING_SHAPE'])return null;let {unitId:_0x4907af,subUnitId:_0x11bf3a,drawingId:_0x137783}=_0x2d2113[0x0],_0x123deb=_0x2bf2bb[_0xf63044(0x325)](_0x4907af,_0x11bf3a,_0x137783),_0x547f2d=_0x2bf2bb[_0xf63044(0x2ed)](_0x4907af,_0x11bf3a,_0x137783);return _0x123deb===void 0x0||!_0x547f2d?null:{'unitId':_0x4907af,'subUnitId':_0x11bf3a,'drawingId':_0x137783,'shapeType':_0x123deb,'shapeData':_0x547f2d};},_0x4e1ef3=(0x0,_0x17ddbe[_0x12b340(0x1b2)])(()=>new _0x50deea[(_0x12b340(0x198))](_0x4212eb=>{const _0x5d03e7=_0x12b340;let _0x1ae87d=()=>_0x4212eb[_0x5d03e7(0x420)](_0x193900()),_0x24b04c=_0x19064d[_0x5d03e7(0x4b1)][_0x5d03e7(0x442)](_0x1ae87d),_0x1550c1=_0x39ffb6[_0x5d03e7(0x25a)](_0x48b28f=>{const _0x37ddbf=_0x5d03e7;_0x48b28f['id']===_0x3a18ad[_0x37ddbf(0x338)]['id']&&_0x1ae87d();});return _0x1ae87d(),()=>{const _0x48d212=_0x5d03e7;_0x24b04c[_0x48d212(0x3b6)](),_0x1550c1[_0x48d212(0x342)]();};}),_0x193900(),!0x1,[_0x39ffb6,_0x2bf2bb,_0x19064d]);return{'selection':_0x4e1ef3,'updateShapeData':_0x45b510=>{const _0x4d1956=_0x12b340;_0x4e1ef3&&_0x17f719(_0x39ffb6,_0x4e1ef3['unitId'],_0x4e1ef3['subUnitId'],_0x4e1ef3['drawingId'],{'oldShapeData':_0x4e1ef3[_0x4d1956(0x457)]},_0x45b510);}};}function _0x27cbef(){const _0x1017f2=_0x5936e8;let {selection:_0x45564d,updateShapeData:_0xdc81e0}=_0x3363a5();return _0x45564d?(0x0,_0x49e713[_0x1017f2(0x340)])(_0x49227b['ShapeStyleRibbonControl'],{'shapeData':_0x45564d[_0x1017f2(0x457)],'shapeType':_0x45564d['shapeType'],'onUpdateShapeData':_0xdc81e0}):null;}function _0x4edd4a(){const _0xc5761b=_0x5936e8;let _0x31ba41=(0x0,_0x17ddbe[_0xc5761b(0x448)])(_0x1f0d53[_0xc5761b(0x298)]),_0x4a06d9=(0x0,_0x17ddbe[_0xc5761b(0x448)])(_0x1f0d53['LocaleService']),{selection:_0x127c15}=_0x3363a5();return _0x127c15?(0x0,_0x49e713['jsx'])(_0x49227b['ShapeQuickStyleGallery'],{'type':(0x0,_0x5e0109[_0xc5761b(0x2fd)])(_0x127c15[_0xc5761b(0x457)]),'ariaLabel':_0x4a06d9['t'](_0xc5761b(0x205)),'activePresetId':(0x0,_0x5e0109[_0xc5761b(0x292)])(_0x127c15['shapeData']),'onSelect':_0x4cdc0c=>_0x31ba41[_0xc5761b(0x502)](_0x3c67d5['id'],{'presetId':_0x4cdc0c})}):null;}function _0x23ba1c(){const _0x6ca993=_0x5936e8;let {selection:_0x594a31,updateShapeData:_0x35b9f8}=_0x3363a5();return _0x594a31?(0x0,_0x49e713['jsx'])(_0x49227b[_0x6ca993(0x40f)],{'fontFamilyPopupDataComponent':_0x6ca993(0x1fd),'shapeData':_0x594a31[_0x6ca993(0x457)],'onUpdateShapeData':_0x35b9f8}):null;}function _0xa256a4(){const _0x40ddde=_0x5936e8;var _0x4a5656;let {selection:_0x25237d,updateShapeData:_0x3b6c66}=_0x3363a5(),_0x4304b4=(0x0,_0x49227b[_0x40ddde(0x2b8)])({'hostType':_0x1f0d53['UniverInstanceType']['UNIVER_DOC'],'unitId':(_0x25237d==null?void 0x0:_0x25237d['unitId'])??'','subUnitId':(_0x25237d==null?void 0x0:_0x25237d['subUnitId'])??'','shapeId':(_0x25237d==null?void 0x0:_0x25237d[_0x40ddde(0x240)])??'','shapeData':_0x25237d==null?void 0x0:_0x25237d[_0x40ddde(0x457)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x40ddde(0x501),'onUpdateBinding':_0x3a00cd=>_0x3b6c66({'formulaBinding':_0x3a00cd})}),_0x4f93a6=((_0x4a5656=_0x4304b4['extensionGroups'])==null?void 0x0:_0x4a5656[_0x40ddde(0x4e4)](_0x8c21ee=>_0x8c21ee[_0x40ddde(0x48d)])[_0x40ddde(0x21f)](_0x51c034=>_0x51c034[_0x40ddde(0x343)]!==!0x1))??[];return _0x25237d!=null&&_0x25237d[_0x40ddde(0x457)][_0x40ddde(0x1e0)]?(0x0,_0x49e713[_0x40ddde(0x340)])(_0x49227b[_0x40ddde(0x33f)],{'actions':_0x4f93a6,'panel':_0x4304b4[_0x40ddde(0x184)]}):null;}function _0x20ddd2({value:_0x622cfa}){const _0x3d70f4=_0x5936e8;let _0x19b543=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x3d70f4(0x3f4)]),_0x5e94fc=_0x3f6d23[_0x3d70f4(0x372)](_0x4012b2=>_0x4012b2[_0x3d70f4(0x3ca)]===_0x622cfa)??_0x3f6d23[0x0];return _0x5e94fc?(0x0,_0x49e713['jsx'])(_0x3d70f4(0x4a1),{'children':_0x19b543['t'](_0x5e94fc[_0x3d70f4(0x4c7)])}):null;}let _0x2eb64a=_0x5936e8(0x20a),_0x577b8c='docs-shape-ui.ribbon.shape-format.text-control',_0x9c2bcd='docs-shape-ui.ribbon.shape-format.formula-control',_0x521b1c=_0x5936e8(0x3ee),_0x52b220=_0x5936e8(0x2a6),_0x4bf4d0=_0x5936e8(0x200),_0x474f1f=_0x5936e8(0x44a),_0x511fe0='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0x1224d4(_0x39e182){const _0xe3ccc9=_0x5936e8;let _0x2612fc=_0x39e182[_0xe3ccc9(0x22c)](_0x1f0d53[_0xe3ccc9(0x298)]),_0x5f077f=_0x39e182[_0xe3ccc9(0x22c)](_0x1b10bd[_0xe3ccc9(0x224)]),_0x52e855=_0x39e182[_0xe3ccc9(0x22c)](_0x3a18ad[_0xe3ccc9(0x39c)]);return new _0x50deea[(_0xe3ccc9(0x198))](_0x461941=>{const _0x5ba6a0=_0xe3ccc9;let _0x34dd42=()=>{const _0x2c825f=_0x8eb6;let _0x4889a2=_0x6f60bd(_0x39e182),_0x19e9f7=_0x4889a2?_0x52e855[_0x2c825f(0x2ed)](_0x4889a2['unitId'],_0x4889a2[_0x2c825f(0x384)],_0x4889a2[_0x2c825f(0x240)]):null;_0x461941[_0x2c825f(0x420)](_0x19e9f7?(0x0,_0x5e0109[_0x2c825f(0x292)])(_0x19e9f7)??'':'');},_0x10a303=_0x5f077f[_0x5ba6a0(0x4b1)]['subscribe'](_0x34dd42),_0x363b10=_0x2612fc[_0x5ba6a0(0x25a)](_0x53ee64=>{const _0x1fe042=_0x5ba6a0;_0x53ee64['id']===_0x3a18ad[_0x1fe042(0x338)]['id']&&_0x34dd42();});return _0x34dd42(),()=>{_0x10a303['unsubscribe'](),_0x363b10['dispose']();};});}function _0x6f60bd(_0x4aac19){const _0x1fe320=_0x5936e8;var _0x21a9b1;let _0x548245=_0x4aac19['get'](_0x1b10bd['IDrawingManagerService'])['getFocusDrawings']();return _0x548245[_0x1fe320(0x2b1)]===0x1&&((_0x21a9b1=_0x548245[0x0])==null?void 0x0:_0x21a9b1[_0x1fe320(0x486)])===_0x1f0d53[_0x1fe320(0x331)]['DRAWING_SHAPE']?_0x548245[0x0]:null;}function _0x510be2(_0x525110){const _0x556ff9=_0x5936e8;return(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53['PositionedObjectLayoutType']['WRAP_NONE']?_0x525110['behindDoc']===_0x1f0d53[_0x556ff9(0x4c6)]['TRUE']?_0x468af2[_0x556ff9(0x1d8)][_0x556ff9(0x475)]:_0x468af2['TextWrappingStyle'][_0x556ff9(0x2bb)]:(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53['PositionedObjectLayoutType'][_0x556ff9(0x3bd)]?_0x468af2[_0x556ff9(0x1d8)][_0x556ff9(0x3bd)]:(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53[_0x556ff9(0x341)]['WRAP_TOP_AND_BOTTOM']?_0x468af2['TextWrappingStyle'][_0x556ff9(0x375)]:_0x468af2[_0x556ff9(0x1d8)]['INLINE'];}function _0x3fe65b(_0x3b480e){const _0x528980=_0x5936e8;let _0x2180ff=_0x3b480e['get'](_0x1f0d53[_0x528980(0x298)]),_0x56008d=_0x3b480e[_0x528980(0x22c)](_0x1b10bd[_0x528980(0x224)]),_0x4a26db=_0x3b480e[_0x528980(0x22c)](_0x1f0d53[_0x528980(0x474)]);return new _0x50deea['Observable'](_0x4af1c5=>{const _0x14545f=_0x528980;let _0x2e6a39=()=>{const _0x24ace6=_0x8eb6;var _0x3ea8c2;let _0x2e9bdb=_0x6f60bd(_0x3b480e),_0x25882a=_0x2e9bdb?_0x4a26db['getUnit'](_0x2e9bdb['unitId'],_0x1f0d53[_0x24ace6(0x2ab)][_0x24ace6(0x471)]):void 0x0;_0x4af1c5['next'](_0x510be2(_0x2e9bdb?_0x25882a==null||(_0x3ea8c2=_0x25882a[_0x24ace6(0x1b9)]()[_0x24ace6(0x2f0)])==null?void 0x0:_0x3ea8c2[_0x2e9bdb[_0x24ace6(0x240)]]:void 0x0));},_0x25124a=_0x56008d[_0x14545f(0x4b1)][_0x14545f(0x442)](_0x2e6a39),_0x4bf7c9=_0x2180ff[_0x14545f(0x25a)](_0x218630=>{_0x218630['id']===_0x1d5dc9['RichTextEditingMutation']['id']&&_0x2e6a39();});return _0x2e6a39(),()=>{_0x25124a['unsubscribe'](),_0x4bf7c9['dispose']();};})[_0x528980(0x218)]((0x0,_0x50deea[_0x528980(0x3b5)])());}function _0x45184c(_0x384992,_0x533f04=!0x1){const _0x4c00a2=_0x5936e8;let _0x1f6a6e=_0x384992[_0x4c00a2(0x22c)](_0x1f0d53[_0x4c00a2(0x298)]),_0x55224a=_0x384992['get'](_0x1b10bd['IDrawingManagerService']),_0x155d0a=_0x384992[_0x4c00a2(0x22c)](_0x3a18ad[_0x4c00a2(0x39c)]);return new _0x50deea[(_0x4c00a2(0x198))](_0x48187f=>{const _0x31c7c7=_0x4c00a2;let _0x53d75d=()=>{const _0x55a121=_0x8eb6;let _0x5bdfcb=_0x6f60bd(_0x384992);if(!_0x5bdfcb){_0x48187f[_0x55a121(0x420)](!0x0);return;}let _0x43cf6e=_0x155d0a['getShapeDataById'](_0x5bdfcb[_0x55a121(0x458)],_0x5bdfcb[_0x55a121(0x384)],_0x5bdfcb['drawingId']);_0x48187f[_0x55a121(0x420)](!_0x43cf6e||_0x533f04&&_0x43cf6e[_0x55a121(0x1e0)]==null);},_0x4f0546=_0x55224a[_0x31c7c7(0x4b1)]['subscribe'](_0x53d75d),_0x58085b=_0x1f6a6e['onCommandExecuted'](_0xb9a0ca=>{const _0x29548b=_0x31c7c7;_0xb9a0ca['id']===_0x3a18ad[_0x29548b(0x338)]['id']&&_0x53d75d();});return _0x53d75d(),()=>{const _0x37b277=_0x31c7c7;_0x4f0546[_0x37b277(0x3b6)](),_0x58085b[_0x37b277(0x342)]();};});}function _0xbc8928(_0x3979ea){const _0x308614=_0x5936e8;let _0x215667=_0x3979ea[_0x308614(0x22c)](_0x1b10bd['IDrawingManagerService']),_0x21d70c=_0x3979ea[_0x308614(0x22c)](_0x3a18ad[_0x308614(0x39c)]);return _0x215667[_0x308614(0x4b1)][_0x308614(0x218)]((0x0,_0x50deea['startWith'])(_0x215667[_0x308614(0x456)]()),(0x0,_0x50deea[_0x308614(0x2e6)])(()=>{const _0x4e3a00=_0x308614;let _0x1ab0d2=_0x6f60bd(_0x3979ea),_0xae2347=_0x1ab0d2?_0x21d70c[_0x4e3a00(0x325)](_0x1ab0d2[_0x4e3a00(0x458)],_0x1ab0d2[_0x4e3a00(0x384)],_0x1ab0d2[_0x4e3a00(0x240)]):void 0x0;return _0xae2347===void 0x0||(0x0,_0x14b8aa[_0x4e3a00(0x214)])(_0xae2347);}));}function _0x2330da(_0x1b2616){const _0x471dc7=_0x5936e8;return{'id':_0x3c67d5['id'],'type':_0x17ddbe[_0x471dc7(0x306)][_0x471dc7(0x443)],'icon':'PaintIcon','title':_0x471dc7(0x1b4),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x5a7f89,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1224d4(_0x1b2616),'hidden$':_0x45184c(_0x1b2616)};}function _0x4ce916(_0x1e1ae7){const _0x28f91d=_0x5936e8;return{'id':_0x5116cf['id'],'type':_0x17ddbe[_0x28f91d(0x306)]['SELECTOR'],'icon':_0x28f91d(0x27d),'title':_0x28f91d(0x2e3),'tooltip':_0x28f91d(0x2e3),'slot':!0x0,'selections':[{'label':{'name':_0x49227b[_0x28f91d(0x468)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xbc8928(_0x1e1ae7)};}function _0x269689(_0x1eeaa9,_0x1cf1f7,_0x2cd8c7=!0x1){const _0x10231c=_0x5936e8;return _0x1b667b=>({'id':_0x1eeaa9,'type':_0x17ddbe[_0x10231c(0x306)]['BUTTON'],'label':{'name':_0x1cf1f7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x45184c(_0x1b667b,_0x2cd8c7)});}let _0x49d2e1=_0x269689(_0x2eb64a,_0x369dfe),_0x55efe2=_0x269689(_0x577b8c,_0x4c6bd2),_0xe7ef26=_0x269689(_0x9c2bcd,_0xaa2613,!0x0);function _0x137b9e(_0x438b06){const _0x51f39e=_0x5936e8;return{'id':_0x511fe0,'type':_0x17ddbe[_0x51f39e(0x306)]['SELECTOR'],'icon':_0x3f6d23[0x0][_0x51f39e(0x289)],'label':_0x3cd69e,'selectionsCommandId':_0x468af2[_0x51f39e(0x1c9)]['id'],'selections':_0x3f6d23[_0x51f39e(0x2e6)](({icon:_0x3a4f8a,label:_0x554b88,value:_0x5b879b})=>({'value':_0x5b879b,'label':_0x554b88,'icon':_0x3a4f8a,'params':()=>{const _0x3c4b9c=_0x51f39e;let _0x1a4035=_0x6f60bd(_0x438b06);return _0x1a4035?{'unitId':_0x1a4035[_0x3c4b9c(0x458)],'subUnitId':_0x1a4035['subUnitId'],'drawings':[{'unitId':_0x1a4035[_0x3c4b9c(0x458)],'subUnitId':_0x1a4035[_0x3c4b9c(0x384)],'drawingId':_0x1a4035['drawingId']}],'wrappingStyle':_0x5b879b}:void 0x0;}})),'value$':_0x3fe65b(_0x438b06),'hidden$':_0x45184c(_0x438b06)};}function _0x5174e0(_0x37bcfc,_0x401c37,_0x45a951,_0x1c19ff){const _0x1dc25c=_0x5936e8;return _0x46ce24=>({'id':_0x37bcfc,'commandId':_0x468af2[_0x1dc25c(0x272)]['id'],'type':_0x17ddbe[_0x1dc25c(0x306)][_0x1dc25c(0x2fb)],'icon':_0x45a951,'title':_0x1c19ff,'tooltip':_0x1c19ff,'hidden$':_0x45184c(_0x46ce24),'params':()=>{const _0x187ad6=_0x1dc25c;let _0x2ad78f=_0x6f60bd(_0x46ce24);return _0x2ad78f?{'unitId':_0x2ad78f[_0x187ad6(0x458)],'subUnitId':_0x2ad78f[_0x187ad6(0x384)],'drawingIds':[_0x2ad78f['drawingId']],'arrangeType':_0x401c37}:void 0x0;}});}let _0x4813fe=_0x5174e0(_0x521b1c,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x477)],_0x5936e8(0x1df),'shape-editor-ui.arrange.forward'),_0x526bce=_0x5174e0(_0x52b220,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x4f8)],_0x5936e8(0x362),'shape-editor-ui.arrange.backward'),_0x2d5821=_0x5174e0(_0x4bf4d0,_0x1f0d53[_0x5936e8(0x1ff)]['front'],_0x5936e8(0x345),'shape-editor-ui.arrange.front'),_0x209621=_0x5174e0(_0x474f1f,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x1db)],'BottomIcon',_0x5936e8(0x228));function _0x162749(_0x1084c3){const _0x5b46e0=_0x5936e8;let _0x2d4f17=_0x1084c3[_0x5b46e0(0x22c)](_0x17ddbe[_0x5b46e0(0x3cd)]);return{'activated$':(0x0,_0x50deea[_0x5b46e0(0x367)])(()=>_0x2d4f17[_0x5b46e0(0x3b2)][_0x5b46e0(0x218)]((0x0,_0x50deea[_0x5b46e0(0x20e)])(_0x2d4f17[_0x5b46e0(0x2f5)]),(0x0,_0x50deea[_0x5b46e0(0x2e6)])(_0x40d5bc=>_0x40d5bc[_0x5b46e0(0x343)]===!0x0&&_0x40d5bc['id']===_0x5b46e0(0x2d0)),(0x0,_0x50deea[_0x5b46e0(0x3b5)])())),'id':_0x4bbe2e['id'],'type':_0x17ddbe[_0x5b46e0(0x306)][_0x5b46e0(0x2fb)],'icon':_0x5b46e0(0x4eb),'title':_0x5b46e0(0x27c),'tooltip':_0x5b46e0(0x27c),'hidden$':_0x45184c(_0x1084c3),'params':()=>{const _0x2098c4=_0x5b46e0;let _0x4eb610=_0x6f60bd(_0x1084c3);return _0x4eb610?{'unitId':_0x4eb610[_0x2098c4(0x458)],'subUnitId':_0x4eb610[_0x2098c4(0x384)],'drawingId':_0x4eb610[_0x2098c4(0x240)]}:void 0x0;}};}let _0x138f4a={[_0x17ddbe[_0x5936e8(0x4c5)]['RIBBON']]:{[_0x4a26b7]:{'order':0x64,'title':_0x5936e8(0x27c),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x3c67d5['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2330da},[_0x5116cf['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4ce916}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2eb64a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x49d2e1}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x577b8c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x55efe2}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x511fe0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x137b9e},[_0x521b1c]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4813fe},[_0x52b220]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x526bce},[_0x4bf4d0]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x2d5821},[_0x474f1f]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x209621}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x9c2bcd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xe7ef26}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x4bbe2e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x162749},[_0x49227b[_0x5936e8(0x415)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x49227b[_0x5936e8(0x4ad)]}}}}},_0x394914={[_0x17ddbe[_0x5936e8(0x2ca)][_0x5936e8(0x2ef)]]:{[_0x5dc3f0['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x3979c2=>({..._0x2a8a47(_0x3979c2),'title':void 0x0})}},[_0x17ddbe['RibbonInsertGroup']['OTHERS']]:{[_0x1ac0f7['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x335167}},[_0x17ddbe[_0x5936e8(0x361)][_0x5936e8(0x432)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x4fb755['INSERT_BELLOW_MENU_ID']]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5ddd5e}}},[_0x4fb755[_0x5936e8(0x317)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5ddd5e}}},[_0x4fb755[_0x5936e8(0x1c7)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x130151}}},[_0x4fb755['DOC_PARAGRAPH_T_INSERT_MENU_ID']]:{'insert':{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2a8a47}}},[_0x4fb755[_0x5936e8(0x489)]]:{'insert':{[_0x5dc3f0['id']+_0x5936e8(0x333)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x5ddd5e}}}}};var _0x3fc22f=_0x5936e8(0x50c),_0x54ac81=_0x5936e8(0x503);let _0x5d3d74={'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'id':_0x5936e8(0x4e8),'handler'(){return!0x0;}},_0x286ff0=_0x5936e8(0x365),_0x599d43={};function _0x3862ec(_0x317f48){'@babel/helpers - typeof';const _0x50dfd6=_0x5936e8;return _0x3862ec=typeof Symbol==_0x50dfd6(0x418)&&typeof Symbol[_0x50dfd6(0x4cc)]=='symbol'?function(_0x2bfc3f){return typeof _0x2bfc3f;}:function(_0x561ad3){const _0x3290c7=_0x50dfd6;return _0x561ad3&&typeof Symbol=='function'&&_0x561ad3[_0x3290c7(0x4ab)]===Symbol&&_0x561ad3!==Symbol[_0x3290c7(0x36b)]?_0x3290c7(0x3ad):typeof _0x561ad3;},_0x3862ec(_0x317f48);}function _0x49d733(_0x5302c1,_0x4499ce){const _0x221e5a=_0x5936e8;if(_0x3862ec(_0x5302c1)!='object'||!_0x5302c1)return _0x5302c1;var _0x1868ad=_0x5302c1[Symbol['toPrimitive']];if(_0x1868ad!==void 0x0){var _0x34905=_0x1868ad[_0x221e5a(0x210)](_0x5302c1,_0x4499ce||_0x221e5a(0x2c4));if(_0x3862ec(_0x34905)!=_0x221e5a(0x43f))return _0x34905;throw TypeError(_0x221e5a(0x19a));}return(_0x4499ce===_0x221e5a(0x3ab)?String:Number)(_0x5302c1);}function _0x1d2f95(_0x6e9983){const _0x17e396=_0x5936e8;var _0x17ea01=_0x49d733(_0x6e9983,'string');return _0x3862ec(_0x17ea01)==_0x17e396(0x3ad)?_0x17ea01:_0x17ea01+'';}function _0x3f767d(_0x5a6d20,_0x10ce94,_0x57d0e4){const _0xb83d29=_0x5936e8;return(_0x10ce94=_0x1d2f95(_0x10ce94))in _0x5a6d20?Object[_0xb83d29(0x4aa)](_0x5a6d20,_0x10ce94,{'value':_0x57d0e4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a6d20[_0x10ce94]=_0x57d0e4,_0x5a6d20;}var _0x1af378=class extends _0x2de297[_0x5936e8(0x354)]{constructor(_0x54a877,_0x3b4a18){const _0x31a246=_0x5936e8;super(_0x54a877,_0x3b4a18),_0x3f767d(this,_0x31a246(0x2da),null),_0x3f767d(this,_0x31a246(0x2c3),null),_0x3f767d(this,_0x31a246(0x255),null),_0x3f767d(this,'_subUnitId',null),_0x3b4a18&&this[_0x31a246(0x4dc)](_0x3b4a18);}[_0x5936e8(0x510)](){const _0x459b8c=_0x5936e8;return{'unitId':this['_unitId'],'subUnitId':this[_0x459b8c(0x314)],'drawingId':this[_0x459b8c(0x2da)]};}['setShapeProps'](_0x2457d5){const _0x13a889=_0x5936e8;_0x2457d5[_0x13a889(0x4b8)]!==void 0x0&&(this[_0x13a889(0x2da)]=_0x2457d5['shapeId']),_0x2457d5[_0x13a889(0x3cb)]!==void 0x0&&(this[_0x13a889(0x2c3)]=_0x2457d5[_0x13a889(0x3cb)]),_0x2457d5[_0x13a889(0x458)]!==void 0x0&&(this[_0x13a889(0x255)]=_0x2457d5['unitId']),_0x2457d5[_0x13a889(0x384)]!==void 0x0&&(this[_0x13a889(0x314)]=_0x2457d5[_0x13a889(0x384)]),this['transformByState']({'width':_0x2457d5[_0x13a889(0x280)],'height':_0x2457d5[_0x13a889(0x2c1)]});}[_0x5936e8(0x254)](_0xf330e1){const _0x3ff2c0=_0x5936e8;_0x2de297[_0x3ff2c0(0x23c)]['drawWith'](_0xf330e1,{'radius':_0x14b8aa['ShapeDefaultConfig'][_0x3ff2c0(0x50f)],'fill':_0x14b8aa[_0x3ff2c0(0x45b)][_0x3ff2c0(0x1ce)],'stroke':_0x14b8aa[_0x3ff2c0(0x45b)][_0x3ff2c0(0x251)],'strokeWidth':0x1,'evented':!0x0});}};function _0x3ed9b3(_0x1992ac,_0x49a247,_0x598b77){const _0x4eb464=_0x5936e8;let _0x956556={..._0x49a247,'dataModel':{..._0x49a247[_0x4eb464(0x4a5)]??{},..._0x598b77?{'doc':_0x598b77}:null}},_0x4b8ed7=(0x0,_0x49227b[_0x4eb464(0x2e8)])(_0x1992ac,_0x956556),_0x2903c0=(0x0,_0x49227b['resolveShapeTextEditorWrapStrategy'])(_0x4b8ed7);return{'clip':(0x0,_0x49227b[_0x4eb464(0x2e9)])(_0x4b8ed7,_0x2903c0),'wrapStrategy':_0x2903c0};}var _0x22f474=class extends _0x2de297[_0x5936e8(0x354)]{constructor(_0x105067,_0xf27dca){const _0x40ddba=_0x5936e8;super(_0x105067,_0xf27dca),_0x3f767d(this,_0x40ddba(0x4e7),[]),_0x3f767d(this,_0x40ddba(0x1fa),void 0x0),_0x3f767d(this,_0x40ddba(0x19e),new _0x49227b[(_0x40ddba(0x2be))](()=>this[_0x40ddba(0x446)](!0x0),()=>this[_0x40ddba(0x4bb)]())),_0x3f767d(this,_0x40ddba(0x459),!0x0),_0x3f767d(this,'_drawingType',_0x1f0d53[_0x40ddba(0x331)][_0x40ddba(0x39d)]),_0x3f767d(this,_0x40ddba(0x217),!0x0),this[_0x40ddba(0x1fa)]={..._0xf27dca},this['_formulaAnimation']['setPresentation'](_0xf27dca['formulaPresentation'],_0xf27dca[_0x40ddba(0x1f3)]!==!0x1),this['_init'](),this[_0x40ddba(0x4bb)]();}[_0x5936e8(0x1c2)](){const _0x5abfa5=_0x5936e8;this[_0x5abfa5(0x286)][_0x5abfa5(0x30f)](_0x2656e5=>{const _0xe0d42a=_0x5abfa5;this[_0xe0d42a(0x1a2)](_0x2656e5);});}[_0x5936e8(0x376)](_0x3b6ea6){const _0x3b66a9=_0x5936e8;this[_0x3b66a9(0x1fa)]['prstGeom']=_0x3b6ea6;}[_0x5936e8(0x1e6)](_0x2eea72){const _0x1973ab=_0x5936e8;if(this['_props'][_0x1973ab(0x389)])return null;let _0x4bedd8=this[_0x1973ab(0x2ec)](_0x2eea72),{width:_0x5e2792,height:_0x71442d}=this[_0x1973ab(0x395)]();return(0x0,_0x49227b['resolveShapeTextHyperLinkAt'])(this['_hyperLinkRegions'],{'x':(this[_0x1973ab(0x425)]?-_0x4bedd8['x']:_0x4bedd8['x'])+_0x5e2792/0x2,'y':_0x4bedd8['y']+_0x71442d/0x2});}['setEditing'](_0x97d0bd){const _0x15096a=_0x5936e8;this[_0x15096a(0x1fa)]['isEditing']=_0x97d0bd,this[_0x15096a(0x446)](!0x0);}['setFormulaPresentation'](_0x1edba2,_0x4f6a78=!0x0){const _0x5cbbd5=_0x5936e8;this[_0x5cbbd5(0x19e)][_0x5cbbd5(0x476)](_0x1edba2,_0x4f6a78),this['_props'][_0x5cbbd5(0x1cc)]=_0x1edba2,this[_0x5cbbd5(0x4bb)](),this[_0x5cbbd5(0x446)](!0x0);}[_0x5936e8(0x4bb)](){const _0x52c228=_0x5936e8;let _0x57c8f2=this[_0x52c228(0x1fa)]['shapeModel'],_0x3a25cb=_0x57c8f2[_0x52c228(0x278)](),_0x21a474=(0x0,_0x49227b[_0x52c228(0x294)])(_0x3a25cb==null?void 0x0:_0x3a25cb[_0x52c228(0x4a5)]),_0x2aae2f=_0x21a474==null?void 0x0:_0x21a474['doc'],_0x2ba4ea=this[_0x52c228(0x19e)]['getAutoFitPresentations']();if(!_0x2aae2f||_0x2ba4ea[_0x52c228(0x2b1)]===0x0)return;_0x57c8f2[_0x52c228(0x264)]({'width':this[_0x52c228(0x280)],'height':this[_0x52c228(0x2c1)]});let _0x596760=(0x0,_0x49227b['resolveFormulaShapeAutoFitSize'])({'documentData':_0x2ba4ea[_0x52c228(0x2e6)](_0x4438c0=>(0x0,_0x5e0109[_0x52c228(0x383)])(_0x2aae2f,_0x4438c0)),'height':this[_0x52c228(0x2c1)],'shapeData':_0x57c8f2[_0x52c228(0x4fc)](),'textRect':_0x57c8f2['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x52c228(0x280)],'height':this[_0x52c228(0x2c1)]}),'width':this[_0x52c228(0x280)]});if(_0x596760){var _0x5bb4b8;this[_0x52c228(0x47c)](_0x596760[_0x52c228(0x280)],_0x596760[_0x52c228(0x2c1)]),(_0x5bb4b8=this[_0x52c228(0x3e0)]())==null||(_0x5bb4b8=_0x5bb4b8['getTransformer']())==null||_0x5bb4b8[_0x52c228(0x269)]();}}get['unitId'](){const _0x19a7fe=_0x5936e8;return this['_props'][_0x19a7fe(0x458)];}get[_0x5936e8(0x384)](){const _0x120ab6=_0x5936e8;return this[_0x120ab6(0x1fa)]['subUnitId'];}[_0x5936e8(0x1a2)](_0x3b30ce){const _0x357411=_0x5936e8;if(this['_props'][_0x357411(0x493)]==null||!this[_0x357411(0x459)])return;let {width:_0x1ad864,height:_0x2c65ef}=this,{width:_0x5a0970=0x0,height:_0x560d3d=0x0}=_0x3b30ce['preValue'],{left:_0x764516=0x0,top:_0x287a13=0x0,right:_0x1d92e5=0x0,bottom:_0x4deb20=0x0}=this['_props'][_0x357411(0x493)],_0x3afdd2=_0x764516,_0x43f21f=_0x287a13,_0x5621cc=_0x1d92e5,_0x528840=_0x4deb20,_0x37c2a6=!0x1;if(_0x5a0970!==0x0&&_0x5a0970!==_0x1ad864){let _0x16d9f7=_0x764516/_0x5a0970,_0x4c1c83=_0x1d92e5/_0x5a0970;_0x3afdd2=_0x1ad864*_0x16d9f7,_0x5621cc=_0x1ad864*_0x4c1c83,_0x37c2a6=!0x0;}if(_0x560d3d!==0x0&&_0x560d3d!==_0x2c65ef){let _0x5ed7d6=_0x287a13/_0x560d3d,_0x4b1f32=_0x4deb20/_0x560d3d;_0x43f21f=_0x2c65ef*_0x5ed7d6,_0x528840=_0x2c65ef*_0x4b1f32,_0x37c2a6=!0x0;}_0x37c2a6&&this[_0x357411(0x4b5)]({'left':_0x3afdd2,'top':_0x43f21f,'right':_0x5621cc,'bottom':_0x528840});}[_0x5936e8(0x4b5)](_0x589e49){const _0x555956=_0x5936e8;this[_0x555956(0x1fa)][_0x555956(0x493)]=_0x589e49,this[_0x555956(0x446)](!0x0);}['setFillImage'](_0x363690){const _0x2eda6d=_0x5936e8;this[_0x2eda6d(0x1fa)][_0x2eda6d(0x463)]=_0x363690,this[_0x2eda6d(0x446)](!0x0);}set['transform'](_0x78c75){const _0x15254e=_0x5936e8;this[_0x15254e(0x2d9)]=_0x78c75;}get[_0x5936e8(0x1c5)](){const _0x50af59=_0x5936e8;this['_transform']||this[_0x50af59(0x3ae)]();let _0x1b26d6=this[_0x50af59(0x2d9)]['clone']();return this[_0x50af59(0x465)](_0x1b26d6);}get[_0x5936e8(0x339)](){const _0x33e210=_0x5936e8;return this[_0x33e210(0x1fa)]['shapeModel'];}get[_0x5936e8(0x4b8)](){const _0x5dde5b=_0x5936e8;return this[_0x5dde5b(0x1fa)][_0x5dde5b(0x4b8)];}get[_0x5936e8(0x2e1)](){return _0x2de297['RENDER_CLASS_TYPE']['SHAPE'];}[_0x5936e8(0x254)](_0x1df14e,_0x1f6dff,_0x4d0814,_0x3246be){const _0x1d8b50=_0x5936e8;let _0x396a9b=this[_0x1d8b50(0x1fa)]['shapeModel'];if(!_0x396a9b||!_0x1f6dff)return;let _0x1c2483=_0x4d0814??this['width'],_0x26273e=_0x3246be??this[_0x1d8b50(0x2c1)],_0x33d93a={'shapeType':_0x396a9b['getShapeType'](),'width':_0x1c2483,'height':_0x26273e},_0x7b7291={'renderMode':_0x14b8aa[_0x1d8b50(0x3dd)][_0x1d8b50(0x257)],'oKey':this[_0x1d8b50(0x3e3)],'image':this[_0x1d8b50(0x1fa)][_0x1d8b50(0x463)],'angle':this[_0x1d8b50(0x245)]};_0x396a9b['updateContext'](_0x33d93a),_0x1df14e[_0x1d8b50(0x4bd)]();let _0x54ea72={'top':0x0,'left':0x0,'width':_0x1c2483,'height':_0x26273e},_0x1db2d6=_0x396a9b[_0x1d8b50(0x3c3)](_0x54ea72);_0x1db2d6?this[_0x1d8b50(0x2d2)](_0x1df14e,_0x1db2d6,_0x482955=>{const _0x37158b=_0x1d8b50;_0x396a9b[_0x37158b(0x26b)](_0x482955,_0x54ea72,_0x7b7291);}):(this[_0x1d8b50(0x1e4)](),_0x396a9b[_0x1d8b50(0x26b)](_0x1df14e,_0x54ea72,_0x7b7291)),_0x1df14e[_0x1d8b50(0x355)]();let _0x5475b3=_0x396a9b[_0x1d8b50(0x278)](),_0x1e1c5d=_0x396a9b[_0x1d8b50(0x34e)](_0x54ea72),_0x58b8af=_0x396a9b['isLineShape']();if(_0x5475b3&&_0x1e1c5d&&!_0x58b8af){_0x1df14e['save'](),this[_0x1d8b50(0x49f)]()[_0x1d8b50(0x425)]&&_0x1df14e[_0x1d8b50(0x34d)](-0x1,0x1);let _0x2f2850=_0x1c2483/0x2,_0x629a41=_0x26273e/0x2;_0x1df14e[_0x1d8b50(0x2ae)](-_0x2f2850,-_0x629a41),_0x1df14e[_0x1d8b50(0x4be)](),this[_0x1d8b50(0x482)](_0x1df14e,_0x5475b3,_0x1e1c5d),_0x1df14e[_0x1d8b50(0x355)]();}}[_0x5936e8(0x32e)](_0x8518bb){}['_drawShapeText'](_0x289b3f,_0x3dd117,_0x49cece){const _0x1b6ad6=_0x5936e8;var _0xb8942e;this[_0x1b6ad6(0x4e7)]=[],this[_0x1b6ad6(0x1fa)]['isEditing']||(!((_0xb8942e=_0x3dd117[_0x1b6ad6(0x4a5)])!=null&&_0xb8942e['doc'])&&_0x1b6ad6(0x3e8)in _0x3dd117&&_0x3dd117[_0x1b6ad6(0x3e8)]===!0x1?this[_0x1b6ad6(0x1cb)](_0x289b3f,_0x3dd117,_0x49cece):this[_0x1b6ad6(0x21b)](_0x289b3f,_0x3dd117,_0x49cece));}[_0x5936e8(0x1cb)](_0xed5f1b,_0x254fe,_0x3d19ad){const _0x11b417=_0x5936e8;this[_0x11b417(0x21b)](_0xed5f1b,{..._0x254fe,'text':_0x254fe[_0x11b417(0x46a)]??'','dataModel':{'doc':(0x0,_0x49227b[_0x11b417(0x466)])(_0x254fe,_0x11b417(0x27e)+this[_0x11b417(0x3e3)])}},_0x3d19ad);}['_drawRichText'](_0x2bf5af,_0x5c0ef7,_0x1d060e){const _0x552198=_0x5936e8;(0x0,_0x49227b[_0x552198(0x323)])(_0x2bf5af,this[_0x552198(0x19e)],(_0x5232d7,_0xef193f,_0x42a655)=>{const _0x17c1e7=_0x552198;this[_0x17c1e7(0x3fa)](_0x5232d7,_0x5c0ef7,_0x1d060e,_0xef193f,_0x42a655===_0x17c1e7(0x249));});}['_drawRichTextLayer'](_0x5c1447,_0x44c6ba,_0x3f1146,_0x39c975,_0x5a5ca5){const _0x92fb99=_0x5936e8;let _0x28c19e=this['_props'][_0x92fb99(0x3b3)];if(!_0x44c6ba['dataModel']||!_0x28c19e){_0x28c19e||console['warn']('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x4ddbe4=(0x0,_0x49227b[_0x92fb99(0x294)])(_0x44c6ba[_0x92fb99(0x4a5)]);if(!_0x4ddbe4)return;let _0x4371e1=_0x4ddbe4[_0x92fb99(0x509)];if(!_0x4371e1)return;let _0x17d88f=(0x0,_0x5e0109['createShapeFormulaDocument'])(_0x4371e1,_0x39c975),_0x131b80=_0x4ddbe4['va']??_0x1f0d53['VerticalAlign']['TOP'],_0x4d5a9f=_0x4ddbe4['ha']??_0x1f0d53[_0x92fb99(0x506)][_0x92fb99(0x50e)],_0x4ecabc=_0x3ed9b3(this[_0x92fb99(0x1fa)]['shapeModel']['getShapeData'](),_0x44c6ba,_0x17d88f),_0x3d76e0=_0x44c6ba[_0x92fb99(0x3e7)],_0x313e5a=(0x0,_0x49227b[_0x92fb99(0x41c)])(_0x17d88f,{'isHorizontal':_0x3d76e0!==!0x1,'textRect':_0x3f1146,'verticalAlign':_0x131b80,'horizontalAlign':_0x4d5a9f,'wrapStrategy':_0x4ecabc[_0x92fb99(0x256)]}),_0x42bf16=new _0x1f0d53[(_0x92fb99(0x335))](_0x313e5a),_0x29176f=new _0x2de297[(_0x92fb99(0x2cb))](_0x42bf16),_0x1ecda0=_0x2de297[_0x92fb99(0x3a9)][_0x92fb99(0x33e)](_0x29176f,_0x28c19e);_0x1ecda0['calculate']();let _0xb9f1d0=_0x1ecda0[_0x92fb99(0x4a7)]()['actualHeight'],_0x52584c=(0x0,_0x49227b[_0x92fb99(0x2e5)])({'contentHeight':_0xb9f1d0,'verticalAlign':_0x131b80,'viewportHeight':_0x3f1146[_0x92fb99(0x2c1)]});_0x42bf16['updateDocumentStyle']({'pageSize':{'width':_0x3d76e0===!0x1?_0x3f1146[_0x92fb99(0x2c1)]:_0x3f1146[_0x92fb99(0x280)],'height':(0x0,_0x49227b['resolveShapeTextDocumentPageHeight'])(_0x17d88f,_0x52584c[_0x92fb99(0x203)])}}),_0x42bf16['updateDocumentDataMargin']({'t':_0x52584c[_0x92fb99(0x358)]}),_0x1ecda0[_0x92fb99(0x37f)]();let _0x564579=new _0x2de297[(_0x92fb99(0x303))](_0x92fb99(0x3a0)+this[_0x92fb99(0x3e3)],_0x1ecda0,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x92fb99(0x446)](!0x0)});_0x564579[_0x92fb99(0x47c)](_0x3f1146[_0x92fb99(0x280)],_0x52584c[_0x92fb99(0x203)]),_0x5c1447[_0x92fb99(0x4bd)](),_0x5c1447[_0x92fb99(0x483)](_0x3f1146['left'],_0x3f1146[_0x92fb99(0x3b4)]),_0x4ecabc['clip']&&(_0x5c1447[_0x92fb99(0x4be)](),_0x5c1447[_0x92fb99(0x2a5)](0x0,_0x52584c[_0x92fb99(0x231)],_0x3f1146['width'],_0x52584c[_0x92fb99(0x1c4)]),_0x5c1447[_0x92fb99(0x238)]()),_0x52584c[_0x92fb99(0x189)]&&_0x5c1447[_0x92fb99(0x483)](0x0,_0x52584c[_0x92fb99(0x189)]),_0x564579[_0x92fb99(0x2bc)](_0x5c1447),_0x5a5ca5&&(this[_0x92fb99(0x4e7)]=(0x0,_0x49227b['createShapeTextHyperLinkRegions'])(_0x564579,{'left':_0x3f1146['left'],'top':_0x3f1146[_0x92fb99(0x3b4)]+_0x52584c['contentVerticalOffset']},_0x4ecabc['clip']?{'left':_0x3f1146[_0x92fb99(0x3ef)],'right':_0x3f1146[_0x92fb99(0x3ef)]+_0x3f1146[_0x92fb99(0x280)],'top':_0x3f1146['top']+_0x52584c['clipTop'],'bottom':_0x3f1146[_0x92fb99(0x3b4)]+_0x52584c[_0x92fb99(0x231)]+_0x52584c[_0x92fb99(0x1c4)]}:void 0x0)),_0x5c1447[_0x92fb99(0x355)](),_0x564579[_0x92fb99(0x342)](),_0x1ecda0[_0x92fb99(0x342)](),_0x29176f['dispose'](),_0x42bf16[_0x92fb99(0x342)]();}['render'](_0x106f8b,_0x2c3ba4,_0x40ad4e=!0x1){const _0x2b5167=_0x5936e8;if(!this['visible'])return this[_0x2b5167(0x446)](!0x1),this;let {width:_0x3cbbc4,height:_0x45eb53,left:_0x5d3205,top:_0x1c88d0}=this,_0x325eb8=this['getRealBound']();if(_0x3cbbc4=_0x325eb8[_0x2b5167(0x280)],_0x45eb53=_0x325eb8[_0x2b5167(0x2c1)],_0x5d3205=_0x325eb8['left'],_0x1c88d0=_0x325eb8[_0x2b5167(0x3b4)],this[_0x2b5167(0x4e9)](_0x2c3ba4)){let {top:_0x50b188,left:_0x51635a,bottom:_0x25d804,right:_0x5ddc4e}=_0x2c3ba4['viewBound'];if(_0x3cbbc4+this[_0x2b5167(0x248)]+_0x5d3205<_0x51635a||_0x5ddc4e<_0x5d3205||_0x45eb53+this[_0x2b5167(0x248)]+_0x1c88d0<_0x50b188||_0x25d804<_0x1c88d0)return this;}let _0x38ef75=_0x5d3205+_0x3cbbc4/0x2,_0x2a6c79=_0x1c88d0+_0x45eb53/0x2,_0x4d31d7=this['transform']['getMatrix']();if(this[_0x2b5167(0x1fa)][_0x2b5167(0x389)]){let _0x28a7f1=this['getState'](),_0x1385f2=new _0x2de297[(_0x2b5167(0x293))]();_0x1385f2[_0x2b5167(0x1c6)]({..._0x28a7f1}),_0x4d31d7=_0x1385f2[_0x2b5167(0x25c)]();}return _0x106f8b[_0x2b5167(0x4bd)](),this[_0x2b5167(0x1fa)][_0x2b5167(0x339)][_0x2b5167(0x3fc)]===!0x0||_0x106f8b[_0x2b5167(0x1c5)](_0x4d31d7[0x0],_0x4d31d7[0x1],_0x4d31d7[0x2],_0x4d31d7[0x3],_0x38ef75,_0x2a6c79),this['_draw'](_0x106f8b,_0x2c3ba4,_0x3cbbc4,_0x45eb53),_0x106f8b[_0x2b5167(0x355)](),this[_0x2b5167(0x446)](!0x1),this;}['getInverseCoord'](_0x32fe91){const _0x10fd20=_0x5936e8;let {left:_0x56bc3c,top:_0x25ec21,width:_0xf1d734,height:_0x1d1a0d}=this[_0x10fd20(0x395)](),_0x47294c=this['transform'][_0x10fd20(0x25c)](),_0x4e897d=_0x56bc3c+_0xf1d734/0x2,_0x4ebfc1=_0x25ec21+_0x1d1a0d/0x2,_0x24a157=new _0x2de297[(_0x10fd20(0x293))]([_0x47294c[0x0],_0x47294c[0x1],_0x47294c[0x2],_0x47294c[0x3],_0x4e897d,_0x4ebfc1]),_0x4edf4d=this[_0x10fd20(0x2f4)]();return(this[_0x10fd20(0x37d)]&&(_0x4edf4d==null?void 0x0:_0x4edf4d[_0x10fd20(0x2e1)])===_0x2de297[_0x10fd20(0x421)][_0x10fd20(0x262)]?_0x4edf4d[_0x10fd20(0x1d3)]['multiply'](_0x24a157):_0x24a157)[_0x10fd20(0x4f9)]()['applyPoint'](_0x32fe91);}[_0x5936e8(0x2a2)](_0x52e63b){const _0x4c9237=_0x5936e8;let {left:_0x4bfc31,top:_0x430a58,width:_0x36662e,height:_0x303b3a}=this[_0x4c9237(0x395)](),_0x844d7a=_0x4bfc31+_0x36662e/0x2,_0x5c6139=_0x430a58+_0x303b3a/0x2,_0x54cc57=this[_0x4c9237(0x1c5)][_0x4c9237(0x25c)](),_0x4a431b=new _0x2de297['Transform']([_0x54cc57[0x0],_0x54cc57[0x1],_0x54cc57[0x2],_0x54cc57[0x3],_0x844d7a,_0x5c6139]),_0xa226db=this['getParent'](),_0x239f6b=(this[_0x4c9237(0x37d)]&&(_0xa226db==null?void 0x0:_0xa226db['classType'])===_0x2de297[_0x4c9237(0x421)][_0x4c9237(0x262)]?_0xa226db[_0x4c9237(0x1d3)][_0x4c9237(0x2af)](_0x4a431b):_0x4a431b)[_0x4c9237(0x4f9)]()[_0x4c9237(0x1d5)](_0x52e63b),_0x10e77c=_0x36662e/0x2,_0x33c2f2=_0x303b3a/0x2,_0x16aa91=this[_0x4c9237(0x1fa)][_0x4c9237(0x339)];return _0x16aa91&&_0x16aa91[_0x4c9237(0x1b6)]()?_0x16aa91[_0x4c9237(0x282)](_0x239f6b['x'],_0x239f6b['y'],_0x36662e,_0x303b3a):_0x239f6b['x']>=-_0x10e77c-this[_0x4c9237(0x248)]/0x2&&_0x239f6b['x']<=_0x10e77c+this[_0x4c9237(0x248)]/0x2&&_0x239f6b['y']>=-_0x33c2f2-this['strokeWidth']/0x2&&_0x239f6b['y']<=_0x33c2f2+this['strokeWidth']/0x2;}[_0x5936e8(0x342)](){const _0x4e7273=_0x5936e8;this[_0x4e7273(0x19e)][_0x4e7273(0x342)](),this['_props'][_0x4e7273(0x339)]=null,super[_0x4e7273(0x342)]();}};let _0x8ad386=class extends _0x1f0d53['Disposable']{constructor(_0x76c630,_0xfa6be5,_0x214b4b,_0x466090){const _0xfdc120=_0x5936e8;super(),this[_0xfdc120(0x2dc)]=_0x76c630,this[_0xfdc120(0x1e2)]=_0xfa6be5,this[_0xfdc120(0x397)]=_0x214b4b,this['_commandService']=_0x466090,_0x3f767d(this,'_activeShapeId',null),_0x3f767d(this,_0xfdc120(0x255),null),_0x3f767d(this,_0xfdc120(0x314),null),_0x3f767d(this,_0xfdc120(0x24e),void 0x0),_0x3f767d(this,_0xfdc120(0x20b),[]),_0x3f767d(this,'_baseShapeLeft',0x0),_0x3f767d(this,'_baseShapeTop',0x0),_0x3f767d(this,_0xfdc120(0x4d3),0x0),_0x3f767d(this,_0xfdc120(0x46d),0x0),_0x3f767d(this,_0xfdc120(0x42d),!0x1),_0x3f767d(this,_0xfdc120(0x295),!0x1),_0x3f767d(this,_0xfdc120(0x401),void 0x0),_0x3f767d(this,_0xfdc120(0x492),void 0x0),_0x3f767d(this,'_adjHandlerPointerMove',void 0x0),_0x3f767d(this,'_adjHandlerPointerUp',void 0x0),this[_0xfdc120(0x356)](),this[_0xfdc120(0x357)]();}[_0x5936e8(0x2ce)](){const _0x397331=_0x5936e8;this[_0x397331(0x26c)]();}['refreshAdjustControls'](){this['_updateShapeAdjustControls'](!0x0);}['_getShapeAdjustPointListById'](_0x4fa865,_0x3688c2,_0xc6ccb7){const _0x53c9a1=_0x5936e8;var _0x53fa5e;return(_0x53fa5e=this[_0x53c9a1(0x397)][_0x53c9a1(0x206)](_0x4fa865,_0x3688c2,_0xc6ccb7))==null?void 0x0:_0x53fa5e[_0x53c9a1(0x32e)]();}[_0x5936e8(0x4fb)](_0x3a1075,_0x345214,_0x160f4a,_0x2c0051){const _0x3345cf=_0x5936e8;var _0xdc2974;return(_0xdc2974=this['_docsShapeService']['getShapeModel'](_0x3a1075,_0x345214,_0x160f4a))==null?void 0x0:_0xdc2974[_0x3345cf(0x204)](_0x2c0051);}[_0x5936e8(0x2c9)](){const _0x590414=_0x5936e8;return this[_0x590414(0x255)]===null||this['_subUnitId']===null||this[_0x590414(0x405)]===null?null:this[_0x590414(0x1e2)][_0x590414(0x44c)]({'unitId':this[_0x590414(0x255)],'subUnitId':this[_0x590414(0x314)],'drawingId':this[_0x590414(0x405)]})??null;}['_getActiveDrawingShape'](_0x5b9a0f){const _0x1cfd6c=_0x5936e8;if(this['_unitId']===null||this[_0x1cfd6c(0x314)]===null||this[_0x1cfd6c(0x405)]===null)return null;let _0x4f6b31=(0x0,_0x1b10bd['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x1cfd6c(0x255)],'subUnitId':this[_0x1cfd6c(0x314)],'drawingId':this[_0x1cfd6c(0x405)]}),_0x4e50f7=_0x5b9a0f['getObjectIncludeInGroup'](_0x4f6b31);return _0x4e50f7 instanceof _0x22f474?_0x4e50f7:null;}[_0x5936e8(0x3b7)](_0x58e08c=!0x1){const _0x312d8b=_0x5936e8;if(this[_0x312d8b(0x255)]===null||this['_subUnitId']===null||this[_0x312d8b(0x405)]===null)return;let _0x208caf=this[_0x312d8b(0x2c9)]();if((_0x208caf==null?void 0x0:_0x208caf[_0x312d8b(0x486)])!==_0x1f0d53['DrawingTypeEnum'][_0x312d8b(0x39d)]||!_0x208caf[_0x312d8b(0x1c5)])return;let _0x5733a1=this['_docsShapeService'][_0x312d8b(0x206)](this['_unitId'],this[_0x312d8b(0x314)],this[_0x312d8b(0x405)]);if(!_0x5733a1||_0x5733a1[_0x312d8b(0x1b6)]())return;let {left:_0x1ef3b7=0x0,top:_0x48f307=0x0,width:_0x1e8ccc=0x0,height:_0x125967=0x0,flipX:_0x117e60,flipY:_0x2a8dc1,angle:_0x3876f3=0x0}=_0x208caf['transform'];(_0x58e08c||!this[_0x312d8b(0x24e)])&&(_0x5733a1[_0x312d8b(0x264)]({'width':_0x1e8ccc,'height':_0x125967}),this[_0x312d8b(0x24e)]=_0x5733a1[_0x312d8b(0x32e)]());let _0x1ec2b0=this[_0x312d8b(0x24e)];if(!(_0x1ec2b0!=null&&_0x1ec2b0['length']))return;let {scene:_0x48314e}=this['_context'];for(let _0x5c4559 of _0x1ec2b0){let _0x1daa51=this[_0x312d8b(0x3d0)](_0x5c4559,_0x1e8ccc,_0x125967,!!_0x117e60,!!_0x2a8dc1,_0x3876f3);this[_0x312d8b(0x46f)](_0x48314e,_0x1daa51,_0x1daa51[_0x312d8b(0x3cb)],_0x1ef3b7,_0x48f307,this[_0x312d8b(0x255)],this['_subUnitId']);}}[_0x5936e8(0x3d0)](_0x22c005,_0x24883c,_0x3cd598,_0x495b84,_0x3bee90,_0x23fa75){const _0x25d1f1=_0x5936e8;let _0x1c3f5d=_0x22c005['x'],_0x22bf16=_0x22c005['y'];if(_0x495b84&&(_0x1c3f5d=_0x24883c-_0x1c3f5d),_0x3bee90&&(_0x22bf16=_0x3cd598-_0x22bf16),_0x23fa75!==0x0){let _0x237755=_0x24883c/0x2,_0x240083=_0x3cd598/0x2,_0x1e7103=_0x23fa75*Math['PI']/0xb4,_0x1eac48=Math[_0x25d1f1(0x305)](_0x1e7103),_0x177d34=Math['sin'](_0x1e7103),_0x7ed30c=_0x1c3f5d-_0x237755,_0x1a3b8f=_0x22bf16-_0x240083;_0x1c3f5d=_0x237755+(_0x7ed30c*_0x1eac48-_0x1a3b8f*_0x177d34),_0x22bf16=_0x240083+(_0x7ed30c*_0x177d34+_0x1a3b8f*_0x1eac48);}return{'x':_0x1c3f5d,'y':_0x22bf16,'adjName':_0x22c005[_0x25d1f1(0x3cb)]};}[_0x5936e8(0x209)](_0x4baa6f=!0x1){const _0x35268f=_0x5936e8;_0x4baa6f&&this['_clearShapeAdjustControls'](),this[_0x35268f(0x3b7)](_0x4baa6f);}[_0x5936e8(0x46f)](_0x2975be,_0x2cb7cc,_0x4b9619,_0xc93021,_0x488299,_0x5cc232,_0x1fdc04){const _0x3b599b=_0x5936e8;if(!this[_0x3b599b(0x405)])return;let _0x1590c7=_0x3b599b(0x2b2)+this[_0x3b599b(0x405)]+'-'+_0x4b9619,_0x5bbe4b=_0x2975be['getObjectIncludeInGroup'](_0x1590c7);if(_0x5bbe4b){_0x5bbe4b['transformByState']({'left':_0x2cb7cc['x']+_0xc93021-_0x14b8aa['ShapeDefaultConfig'][_0x3b599b(0x50f)],'top':_0x2cb7cc['y']+_0x488299-_0x14b8aa[_0x3b599b(0x45b)]['adjHandleSize']}),_0x5bbe4b[_0x3b599b(0x446)](!0x0);return;}let _0x26d2f8=new _0x1af378(_0x1590c7,{'left':_0x2cb7cc['x']+_0xc93021-_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)],'top':_0x2cb7cc['y']+_0x488299-_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)],'adjName':_0x4b9619,'shapeId':this[_0x3b599b(0x405)],'unitId':_0x5cc232,'subUnitId':_0x1fdc04,'width':_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)]+0x8,'height':_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)]+0x8,'zIndex':_0x2de297['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x3b599b(0x20b)][_0x3b599b(0x2a4)](_0x26d2f8),this[_0x3b599b(0x45c)](_0x26d2f8,_0x2975be,_0x4b9619),_0x2975be[_0x3b599b(0x19f)](_0x26d2f8,_0x2de297[_0x3b599b(0x1d4)]+0x1);}[_0x5936e8(0x26c)](){const _0xf6f8a1=_0x5936e8;this[_0xf6f8a1(0x20b)][_0xf6f8a1(0x2f3)](_0x22e733=>_0x22e733['dispose']()),this[_0xf6f8a1(0x20b)]=[];}['_updateAdjustControlPositions'](){const _0xa56fa8=_0x5936e8;this[_0xa56fa8(0x3b7)]();}[_0x5936e8(0x213)](_0x30df55,_0x31d01a,_0x77cb3d){const _0x3618ae=_0x5936e8;let _0x403f7d=_0x2de297[_0x3618ae(0x424)][_0x3618ae(0x1c8)]([_0x31d01a,_0x77cb3d]),_0x5c2253=_0x30df55[_0x3618ae(0x39e)](_0x403f7d)??_0x30df55[_0x3618ae(0x3a1)]()[0x0];return(_0x5c2253==null?void 0x0:_0x5c2253[_0x3618ae(0x34c)](_0x403f7d))??_0x403f7d;}['_attachAdjustEvent'](_0x3a9ee4,_0x4da946,_0x44d0ab){const _0x125384=_0x5936e8;this[_0x125384(0x487)]((0x0,_0x1f0d53[_0x125384(0x296)])(_0x3a9ee4[_0x125384(0x45d)][_0x125384(0x30f)]((_0x3534f4,_0x253d9f)=>{const _0x3ec972=_0x125384;var _0x132857;let _0x155c23=_0x3a9ee4[_0x3ec972(0x510)]();this[_0x3ec972(0x401)]=this['_getShapeAdjustInfosById'](_0x155c23[_0x3ec972(0x458)],_0x155c23[_0x3ec972(0x384)],_0x155c23[_0x3ec972(0x240)],_0x44d0ab),this[_0x3ec972(0x492)]=this[_0x3ec972(0x397)]['getShapeModel'](_0x155c23['unitId'],_0x155c23[_0x3ec972(0x384)],_0x155c23[_0x3ec972(0x240)]);let _0x57d2b7=this[_0x3ec972(0x2c9)](),_0x49421b=_0x57d2b7==null?void 0x0:_0x57d2b7[_0x3ec972(0x1c5)];if(!_0x57d2b7||!_0x49421b||!this[_0x3ec972(0x492)])return;this[_0x3ec972(0x3b8)]=_0x49421b[_0x3ec972(0x3ef)]||0x0,this[_0x3ec972(0x2e0)]=_0x49421b[_0x3ec972(0x3b4)]||0x0,this[_0x3ec972(0x4d3)]=_0x49421b[_0x3ec972(0x280)]||0x0,this[_0x3ec972(0x46d)]=_0x49421b[_0x3ec972(0x2c1)]||0x0;let _0x3f187c=!!_0x49421b[_0x3ec972(0x425)],_0x5cefdf=!!_0x49421b[_0x3ec972(0x4d9)],_0x2f2abf=_0x49421b['angle']||0x0,_0x4451df={...((_0x132857=this[_0x3ec972(0x401)])==null?void 0x0:_0x132857[_0x3ec972(0x2c8)])??{}};this[_0x3ec972(0x42d)]=!0x0,_0x4da946['disableObjectsEvent'](),this['_adjHandlerPointerMove']=_0x4da946[_0x3ec972(0x3fb)][_0x3ec972(0x30f)]((_0x173a2e,_0x8a76d6)=>{const _0x14a07a=_0x3ec972;var _0x59e3e8;if(!this[_0x14a07a(0x42d)]||!this[_0x14a07a(0x492)]||!this[_0x14a07a(0x401)])return;_0x4da946[_0x14a07a(0x47b)](),_0x4da946[_0x14a07a(0x242)](_0x2de297[_0x14a07a(0x4cd)]['CROSSHAIR']);let _0x1d14a1=this[_0x14a07a(0x213)](_0x4da946,_0x173a2e['offsetX'],_0x173a2e[_0x14a07a(0x250)]),_0x3497c2=_0x1d14a1['x']-this[_0x14a07a(0x3b8)],_0x29ca0a=_0x1d14a1['y']-this[_0x14a07a(0x2e0)];if(_0x2f2abf!==0x0){let _0x3d8ab4=this[_0x14a07a(0x4d3)]/0x2,_0x3dad73=this[_0x14a07a(0x46d)]/0x2,_0x3cceb2=_0x2f2abf*Math['PI']/0xb4,_0x738663=Math['cos'](_0x3cceb2),_0x7a75ee=Math[_0x14a07a(0x4cb)](_0x3cceb2),_0x6c07e8=_0x3497c2-_0x3d8ab4,_0x262dbf=_0x29ca0a-_0x3dad73;_0x3497c2=_0x3d8ab4+(_0x6c07e8*_0x738663+_0x262dbf*_0x7a75ee),_0x29ca0a=_0x3dad73+(-_0x6c07e8*_0x7a75ee+_0x262dbf*_0x738663);}_0x3f187c&&(_0x3497c2=this[_0x14a07a(0x4d3)]-_0x3497c2),_0x5cefdf&&(_0x29ca0a=this[_0x14a07a(0x46d)]-_0x29ca0a);let _0x59fbae={'left':0x0,'top':0x0,'width':this[_0x14a07a(0x4d3)],'height':this['_baseShapeHeight']},_0x306f37=this[_0x14a07a(0x492)][_0x14a07a(0x4b6)](_0x59fbae,{'x':_0x3497c2,'y':_0x29ca0a},this[_0x14a07a(0x401)],_0x3f187c,_0x5cefdf);if(Object['keys'](_0x306f37)[_0x14a07a(0x2b1)]!==0x0){for(let [_0x50d53c,_0x3c8fe7]of Object[_0x14a07a(0x1f2)](_0x306f37))this['_activeShapeModel'][_0x14a07a(0x42a)](_0x50d53c,_0x3c8fe7);this['_activeShapeModel']['updateContext']({'width':this[_0x14a07a(0x4d3)],'height':this[_0x14a07a(0x46d)]}),(_0x59e3e8=this[_0x14a07a(0x369)](_0x4da946))==null||_0x59e3e8[_0x14a07a(0x446)](!0x0),this[_0x14a07a(0x24e)]=this[_0x14a07a(0x2f8)](_0x155c23['unitId'],_0x155c23[_0x14a07a(0x384)],_0x155c23[_0x14a07a(0x240)]),this[_0x14a07a(0x41e)](),_0x8a76d6[_0x14a07a(0x260)]();}}),this['_adjHandlerPointerUp']=_0x4da946['onPointerUp$']['subscribeEvent']((_0x91debc,_0x3d7c91)=>{const _0x265a42=_0x3ec972;var _0x340813,_0x1fba51;(_0x340813=this[_0x265a42(0x2ea)])==null||_0x340813[_0x265a42(0x3b6)](),(_0x1fba51=this[_0x265a42(0x414)])==null||_0x1fba51[_0x265a42(0x3b6)](),_0x4da946[_0x265a42(0x439)]();let _0x45e5d6=this[_0x265a42(0x401)];if(_0x45e5d6&&this[_0x265a42(0x492)]){let _0x2f385f={};for(let _0x543857 of Object[_0x265a42(0x3c5)](_0x45e5d6[_0x265a42(0x2c8)])){let _0x406248=this[_0x265a42(0x492)]['getAdjustValueByName'](_0x543857);_0x406248!==void 0x0&&(_0x2f385f[_0x543857]=_0x406248);}Object[_0x265a42(0x3c5)](_0x2f385f)['length']>0x0&&_0x17f719(this['_commandService'],_0x155c23[_0x265a42(0x458)],_0x155c23['subUnitId'],_0x155c23[_0x265a42(0x240)],{'oldShapeData':{'adjustValues':_0x4451df}},{'adjustValues':_0x2f385f});}this['_activeAdjustInfo']=void 0x0,this[_0x265a42(0x492)]=void 0x0,this[_0x265a42(0x42d)]=!0x1,_0x4da946[_0x265a42(0x18d)](),_0x3d7c91[_0x265a42(0x260)]();}),_0x253d9f[_0x3ec972(0x260)]();})));}[_0x5936e8(0x357)](){const _0x10a61f=_0x5936e8;let {scene:_0xaad470}=this['_context'],_0x5f1e90=_0xaad470[_0x10a61f(0x26e)]();this['disposeWithMe'](_0x5f1e90['changeStart$'][_0x10a61f(0x442)](_0x9ce1d=>{const _0x48c918=_0x10a61f;this['_createShapeAdjustControls'](),_0x9ce1d[_0x48c918(0x24f)]!==null&&_0x9ce1d['objects'][_0x48c918(0x26f)]===0x1&&_0x9ce1d[_0x48c918(0x24f)][_0x48c918(0x21a)]()[_0x48c918(0x420)]()[_0x48c918(0x3ca)]instanceof _0x22f474&&(this[_0x48c918(0x295)]=!0x0);})),this[_0x10a61f(0x487)](_0x5f1e90[_0x10a61f(0x4f7)][_0x10a61f(0x442)](()=>{const _0x35139d=_0x10a61f;this[_0x35139d(0x295)]&&this[_0x35139d(0x26c)]();})),this[_0x10a61f(0x487)](_0xaad470[_0x10a61f(0x1ed)][_0x10a61f(0x30f)](()=>{const _0x3f4eed=_0x10a61f;this[_0x3f4eed(0x295)]&&(this[_0x3f4eed(0x295)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x10a61f(0x487)](_0x5f1e90[_0x10a61f(0x232)][_0x10a61f(0x442)](()=>{const _0x23833f=_0x10a61f;this[_0x23833f(0x255)]&&this['_subUnitId']&&this[_0x23833f(0x405)]&&(this[_0x23833f(0x24e)]=this[_0x23833f(0x2f8)](this[_0x23833f(0x255)],this[_0x23833f(0x314)],this[_0x23833f(0x405)]),this[_0x23833f(0x41e)]());}));}[_0x5936e8(0x356)](){const _0x43c6d1=_0x5936e8;this[_0x43c6d1(0x487)](this[_0x43c6d1(0x500)][_0x43c6d1(0x25a)](_0x484e9b=>{const _0x59dede=_0x43c6d1;if(_0x484e9b['id']!==_0x3a18ad[_0x59dede(0x338)]['id'])return;let {unitId:_0x1f2a21,shapeId:_0x401ea9}=_0x484e9b[_0x59dede(0x41a)];_0x1f2a21===this['_unitId']&&_0x401ea9===this[_0x59dede(0x405)]&&this[_0x59dede(0x4c0)]();})),this[_0x43c6d1(0x487)](this[_0x43c6d1(0x1e2)][_0x43c6d1(0x4b1)][_0x43c6d1(0x442)](_0x2dc98e=>{const _0x2144af=_0x43c6d1;if(_0x2dc98e[_0x2144af(0x2b1)]===0x1){let _0x1cfa2a=_0x2dc98e[0x0],_0x1e86d0=this[_0x2144af(0x1e2)]['getDrawingByParam'](_0x1cfa2a);if((_0x1e86d0==null?void 0x0:_0x1e86d0[_0x2144af(0x486)])===_0x1f0d53[_0x2144af(0x331)][_0x2144af(0x39d)]){this[_0x2144af(0x405)]=_0x1cfa2a[_0x2144af(0x240)],this[_0x2144af(0x255)]=_0x1cfa2a[_0x2144af(0x458)],this[_0x2144af(0x314)]=_0x1cfa2a[_0x2144af(0x384)],this['_activeShapeAdjustPointList']=this[_0x2144af(0x2f8)](_0x1cfa2a[_0x2144af(0x458)],_0x1cfa2a[_0x2144af(0x384)],_0x1cfa2a[_0x2144af(0x240)]),this[_0x2144af(0x26c)](),this['_createShapeAdjustControls']();return;}}this[_0x2144af(0x405)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2144af(0x255)]=null,this[_0x2144af(0x314)]=null,this[_0x2144af(0x26c)]();})),this['disposeWithMe']((0x0,_0x50deea[_0x43c6d1(0x1a1)])(this[_0x43c6d1(0x1e2)][_0x43c6d1(0x3a2)],this[_0x43c6d1(0x1e2)][_0x43c6d1(0x4fa)])['subscribe'](_0x7440ac=>{const _0x2aed9c=_0x43c6d1;var _0x455464;let _0xe8863d=_0x7440ac[_0x2aed9c(0x372)](_0x51d430=>_0x51d430['drawingId']===this['_activeShapeId']&&_0x51d430[_0x2aed9c(0x458)]===this[_0x2aed9c(0x255)]&&_0x51d430[_0x2aed9c(0x384)]===this['_subUnitId']);_0xe8863d&&((_0x455464=this[_0x2aed9c(0x1e2)][_0x2aed9c(0x44c)](_0xe8863d))==null?void 0x0:_0x455464[_0x2aed9c(0x486)])===_0x1f0d53[_0x2aed9c(0x331)][_0x2aed9c(0x39d)]&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this[_0x43c6d1(0x1e2)]['remove$']['subscribe'](_0x45711d=>{const _0x4aba62=_0x43c6d1;for(let _0x2f5e10 of _0x45711d)this[_0x4aba62(0x405)]===_0x2f5e10['drawingId']&&(this['_activeShapeId']=null,this[_0x4aba62(0x24e)]=void 0x0,this[_0x4aba62(0x255)]=null,this[_0x4aba62(0x314)]=null,this['_clearShapeAdjustControls']());}));}};_0x8ad386=_0x348fea([_0x570e4a(0x1,_0x1b10bd['IDrawingManagerService']),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad['DocsShapeService'])),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x298)])],_0x8ad386);let _0x3e3971=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2251bf,_0x244e56){const _0x233d50=_0x5936e8;super(),this[_0x233d50(0x221)]=_0x2251bf,this['_instanceService']=_0x244e56,_0x3f767d(this,_0x233d50(0x35c),new _0x50deea[(_0x233d50(0x48b))](null)),_0x3f767d(this,_0x233d50(0x3af),this[_0x233d50(0x35c)]['asObservable']()),_0x3f767d(this,_0x233d50(0x3a8),new _0x50deea[(_0x233d50(0x48b))](!0x1)),_0x3f767d(this,_0x233d50(0x31e),this[_0x233d50(0x3a8)][_0x233d50(0x374)]()),_0x3f767d(this,_0x233d50(0x4e3),void 0x0),this[_0x233d50(0x487)](this[_0x233d50(0x221)]['permissionPointUpdate$'][_0x233d50(0x442)](()=>{const _0x24d4c4=_0x233d50;let _0x14ef85=this[_0x24d4c4(0x450)]();_0x14ef85!=null&&_0x14ef85['visible']&&!this[_0x24d4c4(0x4a3)](_0x14ef85)&&this['setEditing'](null);}));}[_0x5936e8(0x342)](){const _0xf5b545=_0x5936e8;this[_0xf5b545(0x24d)](),this[_0xf5b545(0x35c)]['next'](null),this['_editingParams$'][_0xf5b545(0x2cf)](),this[_0xf5b545(0x3a8)][_0xf5b545(0x420)](!0x1),this[_0xf5b545(0x3a8)]['complete'](),super['dispose']();}['setEditing'](_0x468902){const _0x566a58=_0x5936e8;(_0x468902==null||!_0x468902[_0x566a58(0x343)]||this[_0x566a58(0x4a3)](_0x468902))&&(this[_0x566a58(0x24d)](),this['_editingParams$']['next'](_0x468902),(_0x468902==null||_0x468902[_0x566a58(0x343)]&&this[_0x566a58(0x3a8)][_0x566a58(0x385)]())&&this[_0x566a58(0x3a8)][_0x566a58(0x420)](!0x1));}['setOnSavingEditorData'](_0x52a7aa){const _0x2ebe01=_0x5936e8;this[_0x2ebe01(0x3a8)][_0x2ebe01(0x420)](_0x52a7aa);}[_0x5936e8(0x450)](){const _0x27e7ee=_0x5936e8;return this[_0x27e7ee(0x35c)]['getValue']();}[_0x5936e8(0x4a3)](_0x55d7be){const _0x1b6022=_0x5936e8;let _0x2dafb9=this[_0x1b6022(0x3f0)]['getUnit'](_0x55d7be[_0x1b6022(0x458)],_0x1f0d53[_0x1b6022(0x2ab)][_0x1b6022(0x471)]);if(!_0x2dafb9)return!0x0;let _0x218d5b=(0x0,_0x1d5dc9[_0x1b6022(0x186)])(_0x2dafb9,_0x55d7be[_0x1b6022(0x4b8)]);return(0x0,_0x1d5dc9[_0x1b6022(0x18b)])(this['_permissionService'],_0x55d7be[_0x1b6022(0x458)],[...(0x0,_0x1d5dc9[_0x1b6022(0x4d7)])(_0x2dafb9,_0x218d5b,_0x1b6022(0x436),_0x55d7be['shapeId']),(0x0,_0x1d5dc9[_0x1b6022(0x351)])(_0x218d5b,_0x1b6022(0x436),_0x55d7be[_0x1b6022(0x4b8)])]);}['completeEditing'](_0x22dbc4){const _0x1344af=_0x5936e8;let _0x4f13ca=this['getEditing']();_0x4f13ca&&this[_0x1344af(0x4e3)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0x1344af(0x4e3)]=requestAnimationFrame(()=>{const _0x9cca8b=_0x1344af;this['_completionFrame']=void 0x0,this[_0x9cca8b(0x450)]()===_0x4f13ca&&this[_0x9cca8b(0x4ac)](null);}));}[_0x5936e8(0x24d)](){const _0x1c3ce7=_0x5936e8;this[_0x1c3ce7(0x4e3)]!==void 0x0&&(cancelAnimationFrame(this[_0x1c3ce7(0x4e3)]),this[_0x1c3ce7(0x4e3)]=void 0x0);}['cancelEditing'](){const _0x508737=_0x5936e8;this[_0x508737(0x450)]()&&this[_0x508737(0x4ac)](null);}};_0x3e3971=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IPermissionService']),_0x570e4a(0x1,_0x1f0d53[_0x5936e8(0x474)])],_0x3e3971);function _0x335322(_0x17537f){const _0x2c7b07=_0x5936e8;return _0x17537f[_0x2c7b07(0x23b)]===!0x0||_0x17537f['behindText']===_0x1f0d53[_0x2c7b07(0x4c6)]['TRUE']||_0x17537f[_0x2c7b07(0x496)]===_0x1f0d53[_0x2c7b07(0x341)]['WRAP_NONE']&&_0x17537f[_0x2c7b07(0x2d3)]===_0x1f0d53[_0x2c7b07(0x4c6)][_0x2c7b07(0x43d)]?_0x4fb755[_0x2c7b07(0x399)]-0x1:_0x2de297[_0x2c7b07(0x1d4)];}let _0x511fb8=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2a3e58,_0x5cfbda,_0x2cc24a,_0x77b844,_0x130656,_0x4ba9d4,_0x4dbe5b){const _0x5a41eb=_0x5936e8;super(),this[_0x5a41eb(0x1e2)]=_0x2a3e58,this[_0x5a41eb(0x397)]=_0x5cfbda,this['_localeService']=_0x2cc24a,this[_0x5a41eb(0x419)]=_0x77b844,this[_0x5a41eb(0x31d)]=_0x130656,this[_0x5a41eb(0x304)]=_0x4ba9d4,this[_0x5a41eb(0x416)]=_0x4dbe5b,_0x3f767d(this,_0x5a41eb(0x46b),new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x5a41eb(0x423)][_0x5a41eb(0x442)](_0x4c798a=>{const _0x25ab06=_0x5a41eb;var _0xccf29d;(_0xccf29d=this[_0x25ab06(0x46b)]['get'](this['_formulaKey'](_0x4c798a[_0x25ab06(0x458)],_0x4c798a['subUnitId'],_0x4c798a[_0x25ab06(0x4b8)])))==null||_0xccf29d['forEach'](_0x2c7626=>_0x2c7626[_0x25ab06(0x258)](_0x4c798a[_0x25ab06(0x4e2)],_0x4c798a[_0x25ab06(0x196)]));})),this[_0x5a41eb(0x487)](this[_0x5a41eb(0x1e2)][_0x5a41eb(0x301)][_0x5a41eb(0x442)](_0x18ee28=>{const _0xa4d192=_0x5a41eb;_0x18ee28[_0xa4d192(0x2f3)](_0x4af9ad=>{const _0x5139cf=_0xa4d192;this[_0x5139cf(0x416)][_0x5139cf(0x24a)]({'unitId':_0x4af9ad[_0x5139cf(0x458)],'subUnitId':_0x4af9ad['subUnitId'],'shapeId':_0x4af9ad['drawingId']}),this[_0x5139cf(0x46b)][_0x5139cf(0x30a)](this['_formulaKey'](_0x4af9ad[_0x5139cf(0x458)],_0x4af9ad[_0x5139cf(0x384)],_0x4af9ad[_0x5139cf(0x240)]));});}));}[_0x5936e8(0x4b7)](_0x11429d,_0x176508){const _0x3e191c=_0x5936e8;let {transform:_0x32b5bc,drawingType:_0x5946f4,srcRect:_0xbf8847,prstGeom:_0xd47538,groupId:_0x488751,unitId:_0x13fafd,subUnitId:_0x3ce097,drawingId:_0x5251b7,isMultiTransform:_0x422fbf,transforms:_0x36a3ee,hidden:_0x5ca47c,selectable:_0x40bd4e}=_0x11429d;if(_0x5946f4!==_0x1f0d53[_0x3e191c(0x331)]['DRAWING_SHAPE']||!this[_0x3e191c(0x1e2)][_0x3e191c(0x28a)]()||_0x32b5bc==null)return;let _0x18eb71=this[_0x3e191c(0x1e2)]['getDrawingEditable'](),_0x4ecec3=_0x422fbf&&_0x36a3ee?_0x36a3ee:[_0x32b5bc],_0x496656=[];for(let [_0x2449a3,_0x2c5103]of _0x4ecec3['entries']()){let {left:_0x296f23,top:_0x229227,width:_0x7e94e0,height:_0x7406a2,angle:_0x2cb02d,flipX:_0xb2e2fa,flipY:_0xda81fa,skewX:_0x4bb2d6,skewY:_0xef7a74}=_0x2c5103,_0x107220=(0x0,_0x1b10bd['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x13fafd,'subUnitId':_0x3ce097,'drawingId':_0x5251b7},_0x422fbf?_0x2449a3:void 0x0),_0x353e6a=_0x176508[_0x3e191c(0x410)](_0x107220);if(_0x353e6a!=null){let _0x29437f={'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7};_0x353e6a instanceof _0x22f474&&this[_0x3e191c(0x29e)](_0x353e6a,_0x29437f),_0x353e6a['transformByState']({'left':_0x296f23,'top':_0x229227,'width':_0x7e94e0,'height':_0x7406a2,'angle':_0x2cb02d,'flipX':_0xb2e2fa,'flipY':_0xda81fa,'skewX':_0x4bb2d6,'skewY':_0xef7a74});continue;}let _0x13ef8a=this[_0x3e191c(0x1e2)][_0x3e191c(0x1d7)](_0x13fafd,_0x3ce097),_0x37b222=_0x13ef8a[_0x3e191c(0x1bd)](_0x5251b7);if(_0x176508[_0x3e191c(0x410)](_0x107220)||!this[_0x3e191c(0x1e2)]['getDrawingVisible']())continue;let _0x1bbd63=this[_0x3e191c(0x397)][_0x3e191c(0x206)](_0x13fafd,_0x3ce097,_0x5251b7);if(!_0x1bbd63)continue;let _0x44c15b=(0x0,_0x14b8aa[_0x3e191c(0x214)])(_0x1bbd63[_0x3e191c(0x2de)]())?{..._0x49227b[_0x3e191c(0x412)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x49227b[_0x3e191c(0x412)],_0x52c9ec=_0x1bbd63[_0x3e191c(0x4fc)]()['formulaBinding'],_0x29e7ed={'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7};_0x52c9ec&&this[_0x3e191c(0x416)][_0x3e191c(0x373)](_0x29e7ed,_0x52c9ec);let _0x4a0158=new _0x22f474(_0x107220,{..._0x2c5103,'zIndex':_0x37b222===-0x1?_0x13ef8a[_0x3e191c(0x2b1)]-0x1:_0x37b222,'shapeModel':_0x1bbd63,'localeService':this[_0x3e191c(0x3a3)],'shapeId':_0x5251b7,'unitId':_0x13fafd,'subUnitId':_0x3ce097,'visible':_0x5ca47c!==!0x0,'evented':_0x40bd4e!==!0x1,'formulaPresentation':_0x52c9ec?this['_shapeFormulaService'][_0x3e191c(0x192)](_0x29e7ed):void 0x0,'animateFormulaPresentation':(_0x52c9ec==null?void 0x0:_0x52c9ec[_0x3e191c(0x196)])!==!0x1,'transformerConfig':_0x44c15b});if(_0x52c9ec){let _0xdaea6f=this[_0x3e191c(0x4d0)](_0x13fafd,_0x3ce097,_0x5251b7),_0x4be860=this[_0x3e191c(0x46b)]['get'](_0xdaea6f)??new Set();_0x4be860[_0x3e191c(0x4c8)](_0x4a0158),this[_0x3e191c(0x46b)][_0x3e191c(0x4fe)](_0xdaea6f,_0x4be860);}this['disposeWithMe']((0x0,_0x1f0d53[_0x3e191c(0x296)])(_0x4a0158[_0x3e191c(0x4e6)][_0x3e191c(0x30f)]((_0x48e212,_0x4dbcbb)=>{const _0x1ce62f=_0x3e191c;_0x1bbd63[_0x1ce62f(0x1b6)]()||_0x52c9ec||(this[_0x1ce62f(0x304)][_0x1ce62f(0x4ac)]({'visible':!0x0,'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7,'shapeKey':_0x4a0158[_0x1ce62f(0x3e3)]}),_0x4dbcbb[_0x1ce62f(0x260)]());}))),_0x176508[_0x3e191c(0x19f)](_0x4a0158,_0x335322(_0x11429d)),_0x18eb71&&_0x176508[_0x3e191c(0x4f0)](_0x4a0158),_0x488751&&(0x0,_0x1b3d5c['insertGroupObject'])({'drawingId':_0x488751,'unitId':_0x13fafd,'subUnitId':_0x3ce097},_0x4a0158,_0x176508,this['_drawingManagerService'],_0x422fbf?_0x2449a3:void 0x0),_0xd47538!=null&&_0x4a0158['setPrstGeom'](_0xd47538),_0xbf8847!=null&&_0x4a0158['setSrcRect'](_0xbf8847),this[_0x3e191c(0x37b)](_0x4a0158,_0x1bbd63[_0x3e191c(0x4fc)]()),_0x496656[_0x3e191c(0x2a4)](_0x4a0158);}return _0x496656;}[_0x5936e8(0x4d0)](_0x56af82,_0x43b889,_0x31393a){return _0x56af82+'\x00'+_0x43b889+'\x00'+_0x31393a;}[_0x5936e8(0x29e)](_0x36f0ed,_0x543432){const _0x2fc4f9=_0x5936e8;let _0x49e920=this[_0x2fc4f9(0x397)]['getShapeModel'](_0x543432[_0x2fc4f9(0x458)],_0x543432[_0x2fc4f9(0x384)],_0x543432[_0x2fc4f9(0x4b8)]),_0x29b538=_0x49e920==null?void 0x0:_0x49e920['getShapeData']()[_0x2fc4f9(0x1e0)],_0x233b74=this[_0x2fc4f9(0x4d0)](_0x543432[_0x2fc4f9(0x458)],_0x543432['subUnitId'],_0x543432[_0x2fc4f9(0x4b8)]);if(_0x29b538){this[_0x2fc4f9(0x416)]['register'](_0x543432,_0x29b538);let _0xf32c67=this[_0x2fc4f9(0x46b)][_0x2fc4f9(0x22c)](_0x233b74)??new Set();_0xf32c67[_0x2fc4f9(0x4c8)](_0x36f0ed),this['_formulaShapes'][_0x2fc4f9(0x4fe)](_0x233b74,_0xf32c67);}else{var _0xbf2126;this[_0x2fc4f9(0x416)][_0x2fc4f9(0x24a)](_0x543432),(_0xbf2126=this[_0x2fc4f9(0x46b)]['get'](_0x233b74))==null||_0xbf2126['delete'](_0x36f0ed);}_0x36f0ed['setFormulaPresentation'](_0x29b538?this[_0x2fc4f9(0x416)][_0x2fc4f9(0x192)](_0x543432):void 0x0,(_0x29b538==null?void 0x0:_0x29b538['animationEnabled'])!==!0x1);}[_0x5936e8(0x2eb)](_0x241cbc){const _0x586838=_0x5936e8;let _0x250c30=_0x241cbc[_0x586838(0x339)][_0x586838(0x4fc)](),_0x1dfdab=_0x250c30[_0x586838(0x237)];!_0x1dfdab||_0x1dfdab[_0x586838(0x44f)]!==_0x14b8aa[_0x586838(0x2ee)][_0x586838(0x473)]||!_0x1dfdab[_0x586838(0x3ed)]?_0x241cbc[_0x586838(0x1e3)](void 0x0):this[_0x586838(0x37b)](_0x241cbc,_0x250c30);}[_0x5936e8(0x37b)](_0x4250ba,_0x77cab6){const _0x5008f1=_0x5936e8;let _0x2998f9=_0x77cab6[_0x5008f1(0x237)];if(!_0x2998f9||_0x2998f9[_0x5008f1(0x44f)]!==_0x14b8aa['ShapeFillEnum'][_0x5008f1(0x473)]||!_0x2998f9[_0x5008f1(0x3ed)])return;let _0x5d267f=_0x2998f9['fillImageSource'],_0x137a9b=_0x2998f9[_0x5008f1(0x1e8)]??_0x14b8aa[_0x5008f1(0x38d)][_0x5008f1(0x3b0)],_0x2e1b2e=this[_0x5008f1(0x419)][_0x5008f1(0x3ac)](_0x5d267f,_0x137a9b);_0x2e1b2e?_0x4250ba[_0x5008f1(0x1e3)](_0x2e1b2e):this[_0x5008f1(0x35f)](_0x4250ba,_0x5d267f,_0x137a9b);}async['_loadAndSetImage'](_0x38b743,_0x37f219,_0x5284d2){const _0x2b275d=_0x5936e8;let _0x313060;try{if(_0x5284d2===_0x14b8aa[_0x2b275d(0x38d)][_0x2b275d(0x438)])_0x313060=await this[_0x2b275d(0x419)][_0x2b275d(0x18a)](_0x37f219);else{if(_0x5284d2===_0x14b8aa[_0x2b275d(0x38d)][_0x2b275d(0x3b0)])try{_0x313060=await this[_0x2b275d(0x31d)][_0x2b275d(0x18a)](_0x37f219);}catch{_0x313060=_0x37f219;}else _0x313060=_0x37f219;}}catch(_0x212ef0){console[_0x2b275d(0x2ac)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x212ef0);return;}let _0x101f9d=new window['Image']();_0x101f9d['onload']=()=>{const _0x40dc74=_0x2b275d;this[_0x40dc74(0x419)][_0x40dc74(0x236)](_0x37f219,_0x5284d2,_0x101f9d),_0x38b743[_0x40dc74(0x1e3)](_0x101f9d);},_0x101f9d[_0x2b275d(0x4af)]=()=>{const _0x4d333e=_0x2b275d;console[_0x4d333e(0x2ac)](_0x4d333e(0x4ee),_0x37f219);},_0x101f9d[_0x2b275d(0x2a7)]=_0x313060;}};_0x511fb8=_0x348fea([_0x570e4a(0x0,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x2,(0x0,_0x1f0d53['Inject'])(_0x1f0d53[_0x5936e8(0x3f4)])),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x199)]),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x400)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x6,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x5e0109['ShapeFormulaService']))],_0x511fb8);let _0x1e8cf3=class extends _0x1f0d53['Disposable']{constructor(_0x50e85b,_0x5a6c60,_0x42fdbb){const _0x1bfaa9=_0x5936e8;super(),this[_0x1bfaa9(0x3be)]=_0x50e85b,this[_0x1bfaa9(0x1e2)]=_0x5a6c60,this[_0x1bfaa9(0x360)]=_0x42fdbb,this[_0x1bfaa9(0x411)]();}['_initPrinting'](){const _0x3dcd23=_0x5936e8;this['disposeWithMe'](this[_0x3dcd23(0x3be)][_0x3dcd23(0x211)][_0x3dcd23(0x3e6)](this[_0x3dcd23(0x3be)]['interceptor'][_0x3dcd23(0x252)]()[_0x3dcd23(0x349)],{'handler':(_0x5118f2,_0x453011,_0x5db03a)=>{const _0x59010c=_0x3dcd23;var _0x2fb155;let {unitId:_0x120ec2,scene:_0x21cf2a,skeleton:_0x112bfd}=_0x453011,{pageIndex:_0x43a3a7}=_0x453011,_0x2538aa=(_0x2fb155=this['_drawingManagerService']['getDrawingDataForUnit'](_0x120ec2))==null?void 0x0:_0x2fb155[_0x120ec2],_0xed5b57=_0x57eca1(this['_docPrintInterceptorService'],_0x112bfd,_0x43a3a7);return _0x2538aa==null||_0x2538aa[_0x59010c(0x4c2)]['forEach'](_0x3f5afa=>{const _0x1bc28c=_0x59010c;if(_0xed5b57&&!_0xed5b57['has'](_0x3f5afa))return;let _0x51a463=_0x2538aa['data'][_0x3f5afa];_0x51a463[_0x1bc28c(0x486)]===_0x1f0d53[_0x1bc28c(0x331)][_0x1bc28c(0x39d)]&&!_0x51a463['hidden']&&this[_0x1bc28c(0x360)][_0x1bc28c(0x4b7)](_0x51a463,_0x21cf2a);}),_0x5db03a(_0x5118f2);}}));}};_0x1e8cf3=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755['DocPrintInterceptorService'])),_0x570e4a(0x1,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x511fb8))],_0x1e8cf3);function _0x57eca1(_0x3e9bc2,_0x1cf8d4,_0x129d79){const _0x2651fc=_0x5936e8;var _0x495513,_0x5224d9;let _0x15dece=_0x3e9bc2;if(_0x15dece['getPageDrawingIds'])return _0x15dece[_0x2651fc(0x36f)](_0x1cf8d4,_0x129d79);let _0x3b8751=_0x1cf8d4['getSkeletonData']();if(!_0x3b8751||_0x3b8751[_0x2651fc(0x485)][_0x2651fc(0x2b1)]<=0x1||_0x129d79==null)return null;let _0x335c14=new Set(),_0x159121=_0x3b8751[_0x2651fc(0x485)][_0x129d79];if(!_0x159121)return _0x335c14;_0x4c0810(_0x159121,_0x335c14);let _0x4c7e40=(_0x495513=_0x3b8751[_0x2651fc(0x1f0)]['get'](_0x159121[_0x2651fc(0x3fe)]))==null?void 0x0:_0x495513['get'](_0x159121[_0x2651fc(0x1fe)]??_0x159121[_0x2651fc(0x4d4)]),_0xac6a43=(_0x5224d9=_0x3b8751[_0x2651fc(0x3b1)][_0x2651fc(0x22c)](_0x159121[_0x2651fc(0x41b)]))==null?void 0x0:_0x5224d9[_0x2651fc(0x22c)](_0x159121[_0x2651fc(0x20d)]??_0x159121[_0x2651fc(0x4d4)]);return _0x4c7e40&&_0x4c0810(_0x4c7e40,_0x335c14),_0xac6a43&&_0x4c0810(_0xac6a43,_0x335c14),_0x335c14;}function _0x4c0810(_0xf89ba8,_0x4225ef){const _0x133239=_0x5936e8;for(let _0x9dba10 of _0xf89ba8[_0x133239(0x334)][_0x133239(0x3c5)]())_0x4225ef[_0x133239(0x4c8)](_0x9dba10);for(let _0xb8a414 of _0xf89ba8[_0x133239(0x43a)]['values']())for(let _0x48be03 of _0xb8a414[_0x133239(0x1bb)])for(let _0x1dd557 of _0x48be03[_0x133239(0x39a)])_0x4c0810(_0x1dd557,_0x4225ef);}function _0x3ed5cb({ref:_0x4a0dfe,..._0x249701}){const _0x4b7add=_0x5936e8;let {preserveStrokeWidth:_0x2912a8,icon:_0x38faf8,id:_0x5e6ff7,className:_0x5e1a60,extend:_0x579c23,..._0x4e01ca}=_0x249701,_0x2cc601=(_0x4b7add(0x253)+_0x5e6ff7+'\x20'+(_0x5e1a60||''))[_0x4b7add(0x2e7)](),_0x1305e0='_'+(0x0,_0x474eb8[_0x4b7add(0x4f6)])(),_0x3e03fc=(0x0,_0x474eb8[_0x4b7add(0x422)])(null);return(0x0,_0x474eb8[_0x4b7add(0x2aa)])(_0x4a0dfe,()=>_0x3e03fc[_0x4b7add(0x249)]),(0x0,_0x474eb8[_0x4b7add(0x182)])(()=>{const _0x287146=_0x4b7add;if(_0x2912a8&&_0x3e03fc[_0x287146(0x249)]&&_0x3e03fc[_0x287146(0x249)][_0x287146(0x2d1)]===_0x38faf8[_0x287146(0x2df)])return _0x377c74(_0x3e03fc['current']);},[_0x2912a8,_0x38faf8]),_0x923c00(_0x38faf8,''+_0x5e6ff7,{'defIds':_0x38faf8[_0x4b7add(0x215)],'idSuffix':_0x1305e0},{'ref':_0x3e03fc,'className':_0x2cc601,..._0x4e01ca},_0x579c23);}function _0x923c00(_0x5751c4,_0x2b512b,_0x3ef8e3,_0x5c5831,_0x13cc24){const _0x55576a=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x5751c4[_0x55576a(0x2df)],{'key':_0x2b512b,..._0x3af2ca(_0x5751c4,_0x3ef8e3,_0x13cc24),..._0x5c5831},(_0x4b98a7(_0x5751c4,_0x3ef8e3)[_0x55576a(0x371)]||[])[_0x55576a(0x2e6)]((_0x5f3a59,_0x24ed8e)=>_0x923c00(_0x5f3a59,_0x2b512b+'-'+_0x5751c4[_0x55576a(0x2df)]+'-'+_0x24ed8e,_0x3ef8e3,void 0x0,_0x13cc24)));}function _0x3af2ca(_0x5f52db,_0x388e65,_0x4e220e){const _0x2b6245=_0x5936e8;let _0x54a04e={..._0x5f52db['attrs']};_0x4e220e!=null&&_0x4e220e[_0x2b6245(0x259)]&&_0x54a04e['fill']===_0x2b6245(0x259)&&(_0x54a04e[_0x2b6245(0x237)]=_0x4e220e['colorChannel1']),_0x4e220e!=null&&_0x4e220e[_0x2b6245(0x259)]&&_0x54a04e['stroke']===_0x2b6245(0x259)&&(_0x54a04e[_0x2b6245(0x1f1)]=_0x4e220e[_0x2b6245(0x259)]),_0x5f52db[_0x2b6245(0x2df)]===_0x2b6245(0x2d6)&&_0x54a04e['id']&&(_0x54a04e['id']+=_0x388e65[_0x2b6245(0x1b5)]),Object[_0x2b6245(0x1f2)](_0x54a04e)['forEach'](([_0x127b95,_0x10ec1b])=>{const _0x2e93c0=_0x2b6245;_0x127b95===_0x2e93c0(0x2d6)&&typeof _0x10ec1b==_0x2e93c0(0x3ab)&&(_0x54a04e[_0x127b95]=_0x10ec1b['replace'](/url\(#(.*)\)/,'url(#$1'+_0x388e65[_0x2e93c0(0x1b5)]+')'));});let {defIds:_0x4b2af8}=_0x388e65;return!_0x4b2af8||_0x4b2af8['length']===0x0||(_0x5f52db[_0x2b6245(0x2df)]==='use'&&_0x54a04e['xlink:href']&&(_0x54a04e['xlink:href']+=_0x388e65['idSuffix']),Object[_0x2b6245(0x1f2)](_0x54a04e)[_0x2b6245(0x2f3)](([_0x1fd8a0,_0x32029a])=>{const _0x29d9c4=_0x2b6245;typeof _0x32029a==_0x29d9c4(0x3ab)&&(_0x54a04e[_0x1fd8a0]=_0x32029a[_0x29d9c4(0x49e)](/url\(#(.*)\)/,_0x29d9c4(0x310)+_0x388e65[_0x29d9c4(0x1b5)]+')'));})),_0x54a04e;}function _0x4b98a7(_0x511bf3,_0x159703){const _0x478c76=_0x5936e8;var _0x35dfbb;let {defIds:_0x364d5b}=_0x159703;return!_0x364d5b||_0x364d5b[_0x478c76(0x2b1)]===0x0?_0x511bf3:_0x511bf3[_0x478c76(0x2df)]==='defs'&&(_0x35dfbb=_0x511bf3[_0x478c76(0x371)])!=null&&_0x35dfbb['length']?{..._0x511bf3,'children':_0x511bf3['children'][_0x478c76(0x2e6)](_0x3d172d=>typeof _0x3d172d[_0x478c76(0x484)]['id']==_0x478c76(0x3ab)&&_0x364d5b&&_0x364d5b[_0x478c76(0x2c2)](_0x3d172d[_0x478c76(0x484)]['id'])?{..._0x3d172d,'attrs':{..._0x3d172d[_0x478c76(0x484)],'id':_0x3d172d[_0x478c76(0x484)]['id']+_0x159703[_0x478c76(0x1b5)]}}:_0x3d172d)}:_0x511bf3;}function _0x377c74(_0x400376){const _0x2fc246=_0x5936e8;let _0x5efa1f=_0x400376['viewBox']['baseVal'],_0x2cdd0b=Math[_0x2fc246(0x1ac)](_0x5efa1f[_0x2fc246(0x280)],_0x5efa1f['height']);if(!Number[_0x2fc246(0x1be)](_0x2cdd0b)||_0x2cdd0b<=0x0||_0x5efa1f['width']<=0x0||_0x5efa1f[_0x2fc246(0x2c1)]<=0x0)return()=>void 0x0;let _0x3dea85=0x10/_0x2cdd0b,_0x9b0a25=Array['from'](_0x400376['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x2fc246(0x4e4)](_0x24cb2c=>{const _0x217d32=_0x2fc246;let _0x339ef8=getComputedStyle(_0x24cb2c),_0x944093=Number[_0x217d32(0x18f)](_0x339ef8[_0x217d32(0x248)]);return _0x339ef8[_0x217d32(0x1f1)]===_0x217d32(0x505)||Number[_0x217d32(0x18f)](_0x339ef8[_0x217d32(0x4d1)])===0x0||_0x339ef8[_0x217d32(0x35a)]===_0x217d32(0x3cf)||!Number[_0x217d32(0x1be)](_0x944093)||_0x944093<=0x0?[]:[{'element':_0x24cb2c,'hadStyleAttribute':_0x24cb2c[_0x217d32(0x319)](_0x217d32(0x1a7)),'originalStrokeWidth':_0x944093,'strokeWidth':_0x44a0df(_0x24cb2c[_0x217d32(0x1a7)],'stroke-width')}];})[_0x2fc246(0x2e6)](_0x2c996f=>({'appliedStrokeWidth':null,'element':_0x2c996f[_0x2fc246(0x3a6)],'hadStyleAttribute':_0x2c996f[_0x2fc246(0x23f)],'isReleased':!0x1,'originalStrokeWidth':_0x2c996f[_0x2fc246(0x429)],'strokeWidth':_0x2c996f[_0x2fc246(0x248)]}));if(_0x9b0a25[_0x2fc246(0x2b1)]===0x0)return()=>void 0x0;let _0x519da2=(_0x4aba32,_0x287035)=>{const _0x225f1d=_0x2fc246;if(_0x5efa1f[_0x225f1d(0x280)]<=0x0||_0x5efa1f[_0x225f1d(0x2c1)]<=0x0||_0x4aba32<=0x0||_0x287035<=0x0)return;let _0x564160=Math['min'](_0x4aba32/_0x5efa1f['width'],_0x287035/_0x5efa1f[_0x225f1d(0x2c1)]);!Number[_0x225f1d(0x1be)](_0x564160)||_0x564160<=0x0||_0x9b0a25['forEach'](_0x1d641b=>{const _0x2d7092=_0x225f1d;if(_0x1d641b[_0x2d7092(0x2f6)])return;if(_0x1d641b['appliedStrokeWidth']!==null&&(_0x1d641b['element'][_0x2d7092(0x1a7)][_0x2d7092(0x46e)](_0x2d7092(0x453))!==_0x1d641b[_0x2d7092(0x32a)]||_0x1d641b[_0x2d7092(0x3a6)][_0x2d7092(0x1a7)][_0x2d7092(0x428)](_0x2d7092(0x453))!==_0x1d641b['strokeWidth']['priority'])){_0x1d641b['appliedStrokeWidth']=null,_0x1d641b['isReleased']=!0x0;return;}let _0x58ea55=_0x1d641b[_0x2d7092(0x429)]*_0x3dea85/_0x564160,_0x5edd25=Number(_0x58ea55[_0x2d7092(0x4f4)](0xc))+'px';_0x1d641b[_0x2d7092(0x3a6)][_0x2d7092(0x1a7)][_0x2d7092(0x441)](_0x2d7092(0x453),_0x5edd25,_0x1d641b[_0x2d7092(0x248)][_0x2d7092(0x488)]),_0x1d641b[_0x2d7092(0x32a)]=_0x5edd25;});},_0x18ccea=_0x400376['getBoundingClientRect']();_0x519da2(_0x18ccea[_0x2fc246(0x280)],_0x18ccea[_0x2fc246(0x2c1)]);let _0x45ac75=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x228503=>{const _0x1b917d=_0x2fc246;if(_0x228503[_0x1b917d(0x318)](_0x3dbd93=>_0x3dbd93['target']===_0x400376)){let _0x4150e6=_0x400376['getBoundingClientRect']();_0x519da2(_0x4150e6['width'],_0x4150e6[_0x1b917d(0x2c1)]);}});return _0x45ac75==null||_0x45ac75['observe'](_0x400376),()=>{const _0x2decc5=_0x2fc246;_0x45ac75==null||_0x45ac75[_0x2decc5(0x35b)](),_0x9b0a25[_0x2decc5(0x2f3)](_0x5635e5=>{const _0x520587=_0x2decc5;_0x5635e5[_0x520587(0x32a)]!==null&&(_0x5ee9a0(_0x5635e5[_0x520587(0x3a6)][_0x520587(0x1a7)],_0x520587(0x453),_0x5635e5[_0x520587(0x32a)],_0x5635e5[_0x520587(0x248)]['priority'],_0x5635e5[_0x520587(0x248)]),!_0x5635e5['hadStyleAttribute']&&_0x5635e5['element'][_0x520587(0x1a7)]['length']===0x0&&_0x5635e5[_0x520587(0x3a6)][_0x520587(0x297)](_0x520587(0x1a7)));});};}function _0x44a0df(_0x526f03,_0x42ea0f){const _0x12358e=_0x5936e8;return{'priority':_0x526f03[_0x12358e(0x428)](_0x42ea0f),'value':_0x526f03[_0x12358e(0x46e)](_0x42ea0f)};}function _0x5ee9a0(_0x3bb5fd,_0x5f263d,_0x4dc318,_0x4782e5,_0x57c8bf){const _0x45eee3=_0x5936e8;_0x3bb5fd[_0x45eee3(0x46e)](_0x5f263d)===_0x4dc318&&_0x3bb5fd[_0x45eee3(0x428)](_0x5f263d)===_0x4782e5&&(_0x57c8bf[_0x45eee3(0x3ca)]?_0x3bb5fd[_0x45eee3(0x441)](_0x5f263d,_0x57c8bf['value'],_0x57c8bf[_0x45eee3(0x488)]):_0x3bb5fd[_0x45eee3(0x1b7)](_0x5f263d));}_0x3ed5cb[_0x5936e8(0x490)]=_0x5936e8(0x3c2);let _0x231f83={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x219),'fillRule':'evenodd','clipRule':_0x5936e8(0x42f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5936e8(0x31f),'fillRule':_0x5936e8(0x42f),'clipRule':'evenodd'}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x368)}},{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x404)}}]},_0x258f24=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x182e46,_0x2196b4){const _0x3e53bb=_0x5936e8;return(0x0,_0x474eb8[_0x3e53bb(0x1bf)])(_0x3ed5cb,Object[_0x3e53bb(0x308)]({},_0x182e46,{'id':'bottom-icon','ref':_0x2196b4,'icon':_0x231f83}));});_0x258f24[_0x5936e8(0x490)]='BottomIcon';let _0x63bb00={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5936e8(0x22a),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':'round','strokeWidth':1.2}}]},_0x2db895=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x4c0d0a,_0x57af28){const _0x2c22a8=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x2c22a8(0x308)]({},_0x4c0d0a,{'id':_0x2c22a8(0x366),'ref':_0x57af28,'icon':_0x63bb00}));});_0x2db895[_0x5936e8(0x490)]=_0x5936e8(0x4b4);let _0x578a24={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':'currentColor','d':_0x5936e8(0x229),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.2}}]},_0x56d6ed=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x37b610,_0x8fc515){const _0x150109=_0x5936e8;return(0x0,_0x474eb8[_0x150109(0x1bf)])(_0x3ed5cb,Object[_0x150109(0x308)]({},_0x37b610,{'id':_0x150109(0x3c4),'ref':_0x8fc515,'icon':_0x578a24}));});_0x56d6ed[_0x5936e8(0x490)]='MoreUpIcon';let _0x1a5df9={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'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':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'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'}}]},_0x5e0d23=(0x0,_0x474eb8['forwardRef'])(function(_0x38e0fa,_0xbca69){const _0x32513e=_0x5936e8;return(0x0,_0x474eb8[_0x32513e(0x1bf)])(_0x3ed5cb,Object[_0x32513e(0x308)]({},_0x38e0fa,{'id':_0x32513e(0x497),'ref':_0xbca69,'icon':_0x1a5df9}));});_0x5e0d23[_0x5936e8(0x490)]=_0x5936e8(0x362);let _0x4b9094={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':'none','viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x451),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'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'}}]},_0x41667e=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x1d76af,_0x11487d){const _0x3e7d9a=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x3e7d9a(0x308)]({},_0x1d76af,{'id':_0x3e7d9a(0x2dd),'ref':_0x11487d,'icon':_0x4b9094}));});_0x41667e[_0x5936e8(0x490)]=_0x5936e8(0x1df);let _0x1372f5={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x21e),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':'currentColor','d':_0x5936e8(0x4ed),'strokeLinecap':'round','strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.3}}]},_0x4699fe=(0x0,_0x474eb8['forwardRef'])(function(_0x1737a8,_0xbecb11){const _0x5dd2a7=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x5dd2a7(0x308)]({},_0x1737a8,{'id':_0x5dd2a7(0x3d5),'ref':_0xbecb11,'icon':_0x1372f5}));});_0x4699fe[_0x5936e8(0x490)]=_0x5936e8(0x1eb);let _0x5126e0={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':'0\x200\x2016\x2016','width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x445),'strokeLinecap':'round','strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x437),'strokeLinecap':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5936e8(0x4ae),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x5936e8(0x3ce)}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x1d0)}}]},_0x4813c5=(0x0,_0x474eb8['forwardRef'])(function(_0x4ea267,_0x5af4d1){const _0x1f8c4b=_0x5936e8;return(0x0,_0x474eb8[_0x1f8c4b(0x1bf)])(_0x3ed5cb,Object['assign']({},_0x4ea267,{'id':'shape-format-setting-icon','ref':_0x5af4d1,'icon':_0x5126e0}));});_0x4813c5[_0x5936e8(0x490)]=_0x5936e8(0x4eb);let _0x5a3e0d={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x346),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':_0x5936e8(0x2a5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x33c),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}}]},_0x5e0225=(0x0,_0x474eb8['forwardRef'])(function(_0x40dd61,_0x19c49a){const _0x586cdd=_0x5936e8;return(0x0,_0x474eb8[_0x586cdd(0x1bf)])(_0x3ed5cb,Object[_0x586cdd(0x308)]({},_0x40dd61,{'id':_0x586cdd(0x1af),'ref':_0x19c49a,'icon':_0x5a3e0d}));});_0x5e0225['displayName']=_0x5936e8(0x225);let _0x3dd5d4={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x190),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x36d)}},{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x330),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5936e8(0x222),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}}]},_0x4cfda8=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x370666,_0x438353){const _0x1a8db6=_0x5936e8;return(0x0,_0x474eb8[_0x1a8db6(0x1bf)])(_0x3ed5cb,Object['assign']({},_0x370666,{'id':_0x1a8db6(0x2a0),'ref':_0x438353,'icon':_0x3dd5d4}));});_0x4cfda8[_0x5936e8(0x490)]=_0x5936e8(0x345);function _0x13abad(_0x272752){const _0x5714e=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x16b51e,{..._0x272752,'PickerComponent':_0x49227b[_0x5714e(0x19b)]});}function _0x476f4f(){const _0x52cc7a=_0x5936e8;let _0x4dec0d=(0x0,_0x17ddbe[_0x52cc7a(0x448)])(_0x1f0d53[_0x52cc7a(0x3f4)]),_0x331feb=_0x18ffed(),[_0x89f206,_0x27e4f6]=(0x0,_0x474eb8[_0x52cc7a(0x2cc)])(!0x1);return(0x0,_0x49e713['jsxs'])(_0x52cc7a(0x430),{'className':_0x52cc7a(0x39b),'children':[(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x2ee841['MobileActionRow'],{'title':_0x4dec0d['t'](_0x52cc7a(0x1da)),'aria-expanded':_0x89f206,'variant':_0x52cc7a(0x273),'trailing':_0x89f206?(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x56d6ed,{}):(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x2db895,{}),'onClick':()=>_0x27e4f6(_0x2322dd=>!_0x2322dd)}),_0x89f206&&(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x49227b[_0x52cc7a(0x19b)],{'excludeGroups':[_0x49227b[_0x52cc7a(0x42c)]['Line']],'onShapeClick':_0x3e0d0d=>{_0x331feb(_0x3e0d0d),_0x27e4f6(!0x1);}})]});}function _0x42b610(_0x17efbf){return _0x17efbf['trim']()||void 0x0;}function _0x2414df(_0xd360f0,_0x2d6e75,_0x435366){const _0x534433=_0x5936e8;var _0x4b6a67,_0x272a68;return((_0x4b6a67=_0xd360f0[_0x534433(0x379)])==null?void 0x0:_0x4b6a67[_0x534433(0x2e7)]())||((_0x272a68=_0xd360f0[_0x534433(0x2d7)])==null?void 0x0:_0x272a68[_0x534433(0x2e7)]())||_0x435366['t'](_0x534433(0x4a8)+(0x0,_0x49227b[_0x534433(0x4f5)])(_0xd360f0[_0x534433(0x486)]))+'\x20'+(_0x2d6e75+0x1);}function _0x362e91({PanelComponent:_0x45ef73=_0x1b3d5c[_0x5936e8(0x1dd)]}){const _0x282858=_0x5936e8;let _0x2b1e01=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53[_0x282858(0x3f4)]),_0x417af5={'title':_0x2b1e01['t'](_0x282858(0x3e9)),'empty':_0x2b1e01['t'](_0x282858(0x300)),'showAll':_0x2b1e01['t'](_0x282858(0x28d)),'hideAll':_0x2b1e01['t'](_0x282858(0x3ba)),'lockAll':_0x2b1e01['t']('drawing-ui.objectListPanel.lockAll'),'unlockAll':_0x2b1e01['t'](_0x282858(0x50b)),'moveForward':_0x2b1e01['t'](_0x282858(0x2a8)),'moveBackward':_0x2b1e01['t'](_0x282858(0x3db)),'close':_0x2b1e01['t'](_0x282858(0x24c)),'show':_0x2b1e01['t'](_0x282858(0x426)),'hide':_0x2b1e01['t'](_0x282858(0x4bc)),'lock':_0x2b1e01['t'](_0x282858(0x3b9)),'unlock':_0x2b1e01['t'](_0x282858(0x4b9)),'lockHint':_0x2b1e01['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x2b1e01['t'](_0x282858(0x3f2)),'name':_0x2b1e01['t'](_0x282858(0x2f9)),'nameInput':_0x2b1e01['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x2b1e01['t'](_0x282858(0x2e2)),'descriptionPlaceholder':_0x2b1e01['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x2b1e01['t'](_0x282858(0x386)),'noSelection':_0x2b1e01['t'](_0x282858(0x235)),'locate':_0x2b1e01['t'](_0x282858(0x392)),'expand':_0x2b1e01['t'](_0x282858(0x27b)),'collapse':_0x2b1e01['t']('drawing-ui.objectListPanel.collapse'),'dragToReorder':_0x2b1e01['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x2b1e01['t'](_0x282858(0x2bd)),'filterAll':_0x2b1e01['t'](_0x282858(0x39f)),'filterHidden':_0x2b1e01['t'](_0x282858(0x277)),'filterLocked':_0x2b1e01['t'](_0x282858(0x28e)),'sectionCanvas':_0x2b1e01['t'](_0x282858(0x49b)),'sectionFloating':_0x2b1e01['t'](_0x282858(0x3e4))},_0x14fd94=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53['ICommandService']),_0x3a4f57=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53[_0x282858(0x474)]),_0x2f7ec9=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x468af2[_0x282858(0x2e4)]),_0x33d102=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x48d80c=(0x0,_0x17ddbe['useDependency'])(_0x2de297[_0x282858(0x434)]),[,_0x255d1d]=(0x0,_0x474eb8['useReducer'])(_0x4ab3e9=>_0x4ab3e9+0x1,0x0),_0x4159c1=_0x3a4f57[_0x282858(0x279)](_0x1f0d53[_0x282858(0x2ab)][_0x282858(0x471)]),_0x582fef=(_0x4159c1==null?void 0x0:_0x4159c1['getUnitId']())??'',_0xca2095=_0x582fef,_0x37af62=(0x0,_0x17ddbe[_0x282858(0x1b2)])(()=>_0x33d102['focus$'],_0x33d102['getFocusDrawings'](),!0x1,[_0x33d102]);(0x0,_0x474eb8[_0x282858(0x45a)])(()=>{const _0x510968=_0x282858;let _0x1fff48=_0x14fd94[_0x510968(0x25a)](()=>_0x255d1d());return()=>_0x1fff48[_0x510968(0x342)]();},[_0x14fd94]);let _0x147507=_0x582fef?_0x2f7ec9[_0x282858(0x1d9)](_0x582fef,_0xca2095):{},_0x51ca30=(_0x582fef?_0x2f7ec9[_0x282858(0x1d7)](_0x582fef,_0xca2095):[])['map'](_0xf87c3e=>_0x147507[_0xf87c3e])['filter'](_0x39c8da=>!!_0x39c8da)[_0x282858(0x29b)](),_0x120682=_0x51ca30[_0x282858(0x193)]((_0x207791,_0x58861e)=>(_0x207791[(0x0,_0x1b3d5c['getObjectListPanelSectionIdForDrawingType'])(_0x58861e[_0x282858(0x486)])]+=0x1,_0x207791),{'canvas':0x0,'floating':0x0}),_0x984390={'canvas':0x0,'floating':0x0},_0xbdfc6c=_0x51ca30[_0x282858(0x2e6)]((_0x58563d,_0x1eb1f9)=>{const _0x2f5e08=_0x282858;let _0x4b4adf=(0x0,_0x1b3d5c[_0x2f5e08(0x3c0)])(_0x58563d['drawingType']),_0xaeb7e3=_0x4b4adf===_0x1b3d5c[_0x2f5e08(0x32c)],_0x461860=_0x984390[_0x4b4adf]++;return{'id':_0x58563d['drawingId'],'name':_0x2414df(_0x58563d,_0x1eb1f9,_0x2b1e01),'description':_0x58563d[_0x2f5e08(0x302)],'visible':_0x58563d[_0x2f5e08(0x36c)]!==!0x0,'selectable':_0x58563d[_0x2f5e08(0x2f2)]!==!0x1,'sectionId':_0x4b4adf,'sectionTitle':_0xaeb7e3?_0x417af5[_0x2f5e08(0x315)]:_0x417af5[_0x2f5e08(0x433)],'capabilities':_0xaeb7e3?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0xaeb7e3&&_0x461860>0x0,'canMoveBackward':!_0xaeb7e3&&_0x461860<_0x120682[_0x2f5e08(0x1f5)]-0x1,'canReorder':!_0xaeb7e3};}),_0x43cda8=(0x0,_0x474eb8[_0x282858(0x381)])(()=>(_0x37af62??[])[_0x282858(0x21f)](_0x365a96=>_0x365a96[_0x282858(0x458)]===_0x582fef&&_0x365a96['subUnitId']===_0xca2095)[_0x282858(0x2e6)](_0x5d75ba=>_0x5d75ba['drawingId']),[_0x37af62,_0xca2095,_0x582fef]),_0x49abfd=_0x43cda8[_0x43cda8[_0x282858(0x2b1)]-0x1]??null,_0x38b5e5=_0x535931=>_0x2f7ec9[_0x282858(0x44c)]({'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0x535931})??null,_0x16c4f5=async _0x9d6179=>{const _0x15e4d2=_0x282858;_0x582fef&&_0x9d6179[_0x15e4d2(0x2b1)]&&await _0x14fd94[_0x15e4d2(0x502)](_0x3a18ad['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x582fef,'patches':_0x9d6179});},_0x2bc529=(_0x2bf7e0,_0x7e3c6)=>{const _0x4b2d3b=_0x282858;if(!_0x582fef)return;let _0x2dfc2b=_0x7e3c6?_0x43cda8[_0x4b2d3b(0x2c2)](_0x2bf7e0)?_0x43cda8['filter'](_0x16146c=>_0x16146c!==_0x2bf7e0):[..._0x43cda8,_0x2bf7e0]:[_0x2bf7e0];_0x14fd94[_0x4b2d3b(0x30d)](_0x1b10bd['SetDrawingSelectedOperation']['id'],_0x2dfc2b[_0x4b2d3b(0x2e6)](_0x2194a8=>({'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0x2194a8})));let _0xdb420d=_0x2dfc2b[_0x2dfc2b[_0x4b2d3b(0x2b1)]-0x1];_0xdb420d?(0x0,_0x49227b[_0x4b2d3b(0x460)])(_0x48d80c,{'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0xdb420d}):(0x0,_0x49227b['clearActiveDrawingObjects'])(_0x48d80c,_0x582fef);},_0x464690=async(_0x1405eb,_0x19acac)=>{const _0x15833b=_0x282858;await _0x16c4f5(_0x1405eb[_0x15833b(0x2e6)](_0x2191cc=>_0x38b5e5(_0x2191cc))['filter'](_0x30c314=>!!_0x30c314)['filter'](_0x51d0ca=>_0x51d0ca[_0x15833b(0x36c)]!==!0x0!==_0x19acac)[_0x15833b(0x2e6)](_0x4b2c0e=>({'drawingId':_0x4b2c0e[_0x15833b(0x240)],'hidden':!_0x19acac})));},_0x4d5e1b=async(_0x289ed6,_0x3bcfa6)=>{const _0x576cd2=_0x282858;await _0x16c4f5(_0x289ed6['map'](_0x2f1a2b=>_0x38b5e5(_0x2f1a2b))[_0x576cd2(0x21f)](_0x549038=>!!_0x549038)['filter'](_0x2c6a3d=>_0x2c6a3d[_0x576cd2(0x2f2)]!==!0x1!==_0x3bcfa6)['map'](_0x4fb695=>({'drawingId':_0x4fb695[_0x576cd2(0x240)],'selectable':_0x3bcfa6})));},_0x42739a=_0xfa6464=>{const _0x248277=_0x282858;let _0x2d02a9=_0x38b5e5(_0xfa6464);if(_0x2d02a9)return _0x4d5e1b([_0xfa6464],_0x2d02a9[_0x248277(0x2f2)]===!0x1);},_0x391248=async(_0x118624,_0x6385d0)=>{const _0x28e70a=_0x282858;let _0x11d451=_0x38b5e5(_0x118624),_0x23d445=_0x42b610(_0x6385d0);!_0x11d451||(_0x11d451[_0x28e70a(0x379)]??void 0x0)===_0x23d445&&(_0x11d451[_0x28e70a(0x2d7)]||void 0x0)===_0x23d445||await _0x16c4f5([{'drawingId':_0x118624,'name':_0x23d445,'title':_0x23d445}]);},_0x13bc92=async(_0x1516c1,_0x3a8e68)=>{const _0x171c22=_0x282858;let _0x33784b=_0x38b5e5(_0x1516c1),_0x4ed32e=_0x42b610(_0x3a8e68);_0x33784b&&(_0x33784b[_0x171c22(0x302)]??void 0x0)!==_0x4ed32e&&await _0x16c4f5([{'drawingId':_0x1516c1,'description':_0x4ed32e}]);},_0xea5dbd=async(_0x1c445e,_0x447e54)=>{const _0x503e3f=_0x282858;_0x582fef&&await _0x14fd94[_0x503e3f(0x502)](_0x468af2['SetDocDrawingArrangeCommand']['id'],{'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingIds':[_0x1c445e],'arrangeType':_0x447e54});};return _0x582fef?(0x0,_0x49e713[_0x282858(0x340)])(_0x45ef73,{'labels':_0x417af5,'renderPermissionAction':_0xe91c6f=>_0x4159c1?(0x0,_0x49e713[_0x282858(0x340)])(_0x17ddbe[_0x282858(0x1ba)],{'target':{'unitId':_0x582fef,'objectId':(0x0,_0x1d5dc9['getDocumentEntityPermissionObjectId'])((0x0,_0x1d5dc9[_0x282858(0x186)])(_0x4159c1,_0xe91c6f['id']),'drawing',_0xe91c6f['id']),'objectType':_0x3036e9[_0x282858(0x3f9)][_0x282858(0x239)]},'name':_0xe91c6f['name'],'commandId':_0x1d5dc9[_0x282858(0x2c0)]['id'],'exists':()=>!!_0x38b5e5(_0xe91c6f['id'])},_0x582fef+'/'+_0xe91c6f['id']):null,'items':_0xbdfc6c,'selectedIds':_0x43cda8,'focusedId':_0x49abfd,'showHeader':!0x1,'onSelect':_0x2bc529,'onSetVisible':_0x464690,'onSetSelectable':_0x4d5e1b,'onCommitName':_0x391248,'onCommitDescription':_0x13bc92,'onMoveForward':async _0x14805f=>_0xea5dbd(_0x14805f,_0x1f0d53[_0x282858(0x1ff)][_0x282858(0x477)]),'onMoveBackward':async _0xab02f6=>_0xea5dbd(_0xab02f6,_0x1f0d53[_0x282858(0x1ff)]['backward']),'onToggleSelectable':_0x42739a}):(0x0,_0x49e713[_0x282858(0x340)])(_0x282858(0x430),{'className':_0x282858(0x4e0),'children':_0x417af5[_0x282858(0x2d7)]});}function _0x2ac504(){const _0x199cfe=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x362e91,{'PanelComponent':_0x1b3d5c[_0x199cfe(0x1a6)]});}let _0x212450=class{constructor(_0x350ed6){this['_renderManagerService']=_0x350ed6;}[_0x5936e8(0x29f)](_0x4694db,_0x1e985a){const _0xfb41a5=_0x5936e8;let _0x952a8=this[_0xfb41a5(0x271)][_0xfb41a5(0x246)](_0x4694db['unitId']),_0x275cef=_0x952a8==null?void 0x0:_0x952a8[_0xfb41a5(0x307)];if(!_0x275cef)return;let _0x261d02=(0x0,_0x1b10bd[_0xfb41a5(0x2fe)])(_0x4694db),_0x393264=_0x275cef['getObjectIncludeInGroup'](_0x261d02);_0x393264==null||_0x393264[_0xfb41a5(0x1e3)](_0x1e985a);}};_0x212450=_0x348fea([_0x570e4a(0x0,_0x2de297[_0x5936e8(0x434)])],_0x212450);function _0x1652a1(){const _0x58dc26=_0x5936e8;let _0x16c81e=(0x0,_0x17ddbe[_0x58dc26(0x448)])(_0x1b10bd[_0x58dc26(0x224)]),_0x6c0acd=(0x0,_0x17ddbe[_0x58dc26(0x1b2)])(()=>_0x16c81e[_0x58dc26(0x4b1)],_0x16c81e[_0x58dc26(0x456)](),!0x1,[_0x16c81e]);return _0x6c0acd[_0x58dc26(0x2b1)]===0x0?null:(0x0,_0x49e713[_0x58dc26(0x340)])(_0x58dc26(0x430),{'children':(0x0,_0x49e713['jsxs'])('div',{'className':_0x58dc26(0x478),'children':[(0x0,_0x49e713[_0x58dc26(0x340)])(_0x1b3d5c[_0x58dc26(0x40e)],{'drawings':_0x6c0acd,'hasCropper':!0x1}),(0x0,_0x49e713[_0x58dc26(0x340)])(_0x9fb89c['DocDrawingTextWrap'],{'drawings':_0x6c0acd}),(0x0,_0x49e713['jsx'])(_0x9fb89c['DocDrawingPosition'],{'drawings':_0x6c0acd})]})});}function _0x1fa60a(_0x5c9608){const _0x106662=_0x5936e8;let {unitId:_0x207497,subUnitId:_0x10cc6f,shapeId:_0x5ed9b4,PositionComponent:_0x28193f=_0x1652a1}=_0x5c9608,_0x4db4f1=(0x0,_0x17ddbe[_0x106662(0x448)])(_0x1f0d53[_0x106662(0x298)]),_0x1ddd3b=(0x0,_0x17ddbe[_0x106662(0x448)])(_0x212450);return(0x0,_0x49e713[_0x106662(0x340)])(_0x49227b['ShapeEditPanel'],{..._0x5c9608,'positionEditor':(0x0,_0x49e713[_0x106662(0x340)])(_0x28193f,{}),'onUpdateShapeData':(_0x174d3e,_0x46c579)=>{_0x17f719(_0x4db4f1,_0x207497,_0x10cc6f,_0x5ed9b4,_0x174d3e,_0x46c579);},'onUpdateLineShapeData':(_0x2a9fc1,_0xc04c61)=>{_0x445078(_0x4db4f1,_0x207497,_0x10cc6f,_0x5ed9b4,_0x2a9fc1,_0xc04c61);},'onUpdateShapeFillImage':_0x4714bb=>{const _0x39a90c=_0x106662;_0x1ddd3b[_0x39a90c(0x29f)]({'unitId':_0x207497,'subUnitId':_0x10cc6f,'drawingId':_0x5ed9b4},_0x4714bb);}});}function _0x4bd1e9(){const _0x161cf9=_0x5936e8;let _0x5ee7f4=(0x0,_0x17ddbe['useDependency'])(_0x1b10bd['IDrawingManagerService']),_0x1fda87=(0x0,_0x17ddbe[_0x161cf9(0x1b2)])(_0x5ee7f4[_0x161cf9(0x4b1)],_0x5ee7f4['getFocusDrawings']());return _0x1fda87[_0x161cf9(0x2b1)]===0x0?null:(0x0,_0x49e713[_0x161cf9(0x35e)])('div',{'className':'univer-grid\x20univer-gap-5\x20univer-p-3','children':[(0x0,_0x49e713[_0x161cf9(0x340)])(_0x1b3d5c[_0x161cf9(0x40e)],{'drawings':_0x1fda87,'hasCropper':!0x1}),(0x0,_0x49e713[_0x161cf9(0x340)])(_0x9fb89c['MobileDocDrawingTextWrap'],{'drawings':_0x1fda87}),(0x0,_0x49e713[_0x161cf9(0x340)])(_0x9fb89c['MobileDocDrawingPosition'],{'drawings':_0x1fda87})]});}function _0xe18d4a(_0x540f53){const _0x34ffd7=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x49227b[_0x34ffd7(0x3ff)],{'children':(0x0,_0x49e713[_0x34ffd7(0x340)])(_0x1fa60a,{..._0x540f53,'PositionComponent':_0x4bd1e9})});}function _0x2c0419({popup:_0x4e5fa0}){const _0xb05d97=_0x5936e8;let _0x44de13=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0xb05d97(0x3f4)]),{shapeType:_0x1aeddb,onText:_0x2b4091,onStyle:_0x3f14d5,onDelete:_0xd9d87b}=_0x4e5fa0[_0xb05d97(0x268)],_0x1d7766=[{'key':_0xb05d97(0x46a),'order':0x0,'item':{'id':'text','type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t'](_0xb05d97(0x3e5)),'disabled$':(0x0,_0x50deea['of'])((0x0,_0x14b8aa['isConnectorShape'])(_0x1aeddb))}},{'key':_0xb05d97(0x1a7),'order':0x1,'item':{'id':_0xb05d97(0x1a7),'type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t']('docs-shape-ui.mobile.style')}},{'key':_0xb05d97(0x30a),'order':0x2,'item':{'id':'delete','type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x49e713['jsx'])(_0x17ddbe[_0xb05d97(0x321)],{'schemas':_0x1d7766,'presentation':_0xb05d97(0x34b),'onOptionSelect':async({id:_0xd51f7c})=>{const _0x2eb7e0=_0xb05d97;_0xd51f7c===_0x2eb7e0(0x46a)?await _0x2b4091():_0xd51f7c==='style'?await _0x3f14d5():_0xd51f7c===_0x2eb7e0(0x30a)&&await _0xd9d87b();}});}let _0x2df62f=_0x5936e8(0x4ff);function _0x5eb14f(_0xf607ee,_0x321e75){const _0xdcdd76=_0x5936e8;var _0xed8dee;let _0x38fecc=_0xf607ee==null||(_0xed8dee=_0xf607ee[_0xdcdd76(0x1b9)]()[_0xdcdd76(0x2f0)])==null?void 0x0:_0xed8dee[_0x321e75];return _0x38fecc?_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53['PositionedObjectLayoutType'][_0xdcdd76(0x4ea)]?_0x38fecc['behindDoc']===_0x1f0d53[_0xdcdd76(0x4c6)]['TRUE']?_0x468af2['TextWrappingStyle'][_0xdcdd76(0x475)]:_0x468af2[_0xdcdd76(0x1d8)]['IN_FRONT_OF_TEXT']:_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53['PositionedObjectLayoutType']['WRAP_SQUARE']?_0x468af2['TextWrappingStyle']['WRAP_SQUARE']:_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53[_0xdcdd76(0x341)][_0xdcdd76(0x375)]?_0x468af2[_0xdcdd76(0x1d8)][_0xdcdd76(0x375)]:_0x468af2['TextWrappingStyle'][_0xdcdd76(0x1d1)]:_0x468af2[_0xdcdd76(0x1d8)][_0xdcdd76(0x1d1)];}function _0x5f7f1f(_0x46d223){const _0x44a6d1=_0x5936e8;let _0x25f89e=(0x0,_0x17ddbe[_0x44a6d1(0x448)])(_0x49227b[_0x44a6d1(0x309)]),_0x5c1a3c=(0x0,_0x17ddbe[_0x44a6d1(0x1b2)])(()=>_0x25f89e[_0x44a6d1(0x449)],_0x25f89e[_0x44a6d1(0x3aa)](),!0x1,[_0x25f89e]),_0x30ee6c=_0x46d223[_0x44a6d1(0x4d2)]['extraProps'];return _0x5c1a3c?(0x0,_0x49e713['jsx'])(_0x34500e,{..._0x30ee6c,'canvasElement':_0x46d223[_0x44a6d1(0x4d2)]['canvasElement']}):null;}function _0x34500e(_0x48c969){const _0x2d945e=_0x5936e8;let _0x5a995e=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x2d945e(0x298)]),_0x57f65e=(0x0,_0x17ddbe[_0x2d945e(0x448)])(_0x1f0d53[_0x2d945e(0x3f4)]),_0x10a5c3=(0x0,_0x17ddbe['useDependency'])(_0x3a18ad[_0x2d945e(0x39c)]),_0x24d33e=(0x0,_0x17ddbe[_0x2d945e(0x448)])(_0x1f0d53[_0x2d945e(0x474)]),{unitId:_0x409076,subUnitId:_0xadf096,drawingId:_0x491d37,shapeType:_0x309e8c}=_0x48c969,[_0x12cc2e,_0xe205bd]=(0x0,_0x474eb8['useState'])(_0x48c969[_0x2d945e(0x457)]),_0x37d981=_0x24d33e[_0x2d945e(0x4c9)](_0x409076,_0x1f0d53[_0x2d945e(0x2ab)][_0x2d945e(0x471)])??void 0x0,[_0x1cdda0,_0x20be2a]=(0x0,_0x474eb8[_0x2d945e(0x2cc)])(()=>_0x5eb14f(_0x37d981,_0x491d37)),_0xdf2389=(0x0,_0x474eb8[_0x2d945e(0x381)])(()=>(0x0,_0x49227b['getTextStyle'])(_0x12cc2e),[_0x12cc2e]),_0x348bac=(0x0,_0x474eb8[_0x2d945e(0x381)])(()=>(0x0,_0x49227b[_0x2d945e(0x4ba)])(_0x12cc2e),[_0x12cc2e]);(0x0,_0x474eb8['useEffect'])(()=>{const _0x4b9f1f=_0x2d945e;let _0x55f073=_0x5a995e[_0x4b9f1f(0x25a)](_0x22b69d=>{const _0x350078=_0x4b9f1f;if(_0x22b69d['id']!==_0x3a18ad[_0x350078(0x338)]['id'])return;let _0x22bce0=_0x10a5c3['getShapeDataById'](_0x409076,_0xadf096,_0x491d37);_0x22bce0&&_0xe205bd(_0x22bce0);});return()=>_0x55f073[_0x4b9f1f(0x342)]();},[_0x5a995e,_0x10a5c3,_0x491d37,_0xadf096,_0x409076]);let _0x5e14dd=_0x344693=>{_0xe205bd(_0x4ae066=>({..._0x4ae066,..._0x344693}));},_0xdbb9e1=_0x34a7ec=>{const _0x2296e9=_0x2d945e;let _0x3985e3=(0x0,_0x49227b[_0x2296e9(0x284)])(_0x12cc2e,_0x34a7ec);_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,{'oldShapeData':{'shapeText':_0x12cc2e[_0x2296e9(0x3f6)]}},_0x3985e3),_0x5e14dd(_0x3985e3);},_0x4d3eea=_0x5cc5ee=>{const _0x161230=_0x2d945e;_0x20be2a(_0x5cc5ee),_0x5a995e['executeCommand'](_0x468af2[_0x161230(0x1c9)]['id'],{'unitId':_0x409076,'subUnitId':_0xadf096,'drawings':[{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37}],'wrappingStyle':_0x5cc5ee});},_0x24b41e=(0x0,_0x49227b['useFormulaShapeToolbar'])({'hostType':_0x1f0d53[_0x2d945e(0x2ab)]['UNIVER_DOC'],'unitId':_0x409076,'subUnitId':_0xadf096,'shapeId':_0x491d37,'shapeData':_0x12cc2e,'onUpdateBinding':_0x30369e=>{const _0x19ffc5=_0x2d945e;let _0x4c5301={'formulaBinding':_0x30369e};_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,{'oldShapeData':{'formulaBinding':_0x12cc2e[_0x19ffc5(0x1e0)]}},_0x4c5301),_0x5e14dd(_0x4c5301);}}),_0x2f66d6=[{'label':_0x57f65e['t'](_0x2d945e(0x427)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x1d1)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x49c)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x3bd)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x2b0)),'value':_0x468af2['TextWrappingStyle'][_0x2d945e(0x375)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x1f6)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x475)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x290)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x2bb)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})}];return(0x0,_0x49e713[_0x2d945e(0x35e)])(_0x49e713[_0x2d945e(0x3d3)],{'children':[(0x0,_0x49e713['jsx'])(_0x49227b[_0x2d945e(0x267)],{'canvasElement':_0x48c969[_0x2d945e(0x1e9)],'shapeData':_0x12cc2e,'shapeType':_0x309e8c,'textStyle':{'ff':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x3f6)][_0x2d945e(0x464)],'fs':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x3f6)][_0x2d945e(0x390)],'cl':{'rgb':_0x14b8aa[_0x2d945e(0x45b)]['shapeText'][_0x2d945e(0x191)]},..._0xdf2389},'textModel':_0x348bac?{'ha':_0x348bac['ha']??_0x1f0d53['HorizontalAlign'][_0x2d945e(0x50e)],'va':_0x348bac['va']??_0x1f0d53['VerticalAlign']['TOP']}:null,'wrappingStyle':_0x1cdda0,'wrappingStyleOptions':_0x2f66d6,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x237)],'defaultGradientEndColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x1ef)],'defaultStrokeColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x1f1)],'extensionGroups':_0x24b41e[_0x2d945e(0x40c)],'floatingObjectToolbarPosition':_0x17ddbe[_0x2d945e(0x1ea)]['DOC'],'onUpdateShapeData':(_0x362019,_0x4d659b)=>{_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,_0x362019,_0x4d659b),_0x4d659b&&_0x5e14dd(_0x4d659b);},'onUpdateText':_0xdbb9e1,'onUpdateWrappingStyle':_0x4fea3f=>_0x4d3eea(_0x4fea3f),'onOpenPanel':()=>{const _0x725caa=_0x2d945e;_0x5a995e[_0x725caa(0x502)](_0x4bbe2e['id'],{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37});},'onDelete':()=>{const _0x3e6965=_0x2d945e;_0x5a995e[_0x3e6965(0x502)](_0x468af2[_0x3e6965(0x247)]['id'],{'unitId':_0x409076,'drawings':[{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37}]});}}),_0x24b41e[_0x2d945e(0x184)]]});}function _0x1e24f5({variant:_0x550cbc,extend:_0x1281e3,..._0x2306e2}){const _0x56d952=_0x5936e8;let _0x4bb367=(0x0,_0x49e713['jsx'])(_0x56d952(0x2a5),{'x':'7','y':_0x56d952(0x3d2),'width':'6','height':'9','rx':'1','fill':_0x56d952(0x4ae),'fillOpacity':'0.14','stroke':'currentColor','strokeWidth':_0x56d952(0x187)});return(0x0,_0x49e713['jsxs'])(_0x56d952(0x2d4),{'aria-hidden':_0x56d952(0x212),'fill':'none','height':'1em','viewBox':'0\x200\x2020\x2020','width':_0x56d952(0x29c),..._0x2306e2,'children':[_0x550cbc===_0x56d952(0x1cd)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x33b),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':'1.2'}),(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x2a5),{'x':'8','y':'7','width':'4','height':'6','rx':_0x56d952(0x348),'fill':_0x56d952(0x4ae),'fillOpacity':_0x56d952(0x34a),'stroke':_0x56d952(0x4ae),'strokeWidth':_0x56d952(0x187)})]}),_0x550cbc===_0x56d952(0x4ec)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713['Fragment'],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x27f),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)}),_0x4bb367]}),_0x550cbc===_0x56d952(0x350)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x409),'stroke':'currentColor','strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)}),_0x4bb367]}),_0x550cbc===_0x56d952(0x4b0)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[_0x4bb367,(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x2b5),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)})]}),_0x550cbc==='front'&&(0x0,_0x49e713['jsxs'])(_0x49e713['Fragment'],{'children':[(0x0,_0x49e713['jsx'])(_0x56d952(0x47a),{'d':_0x56d952(0x2b5),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':'1.2'}),(0x0,_0x49e713['jsx'])(_0x56d952(0x2a5),{'x':'7','y':_0x56d952(0x3d2),'width':'6','height':'9','rx':'1','fill':'currentColor'})]})]});}let _0x5bf683=_0x3c2440=>_0x1267e9=>(0x0,_0x49e713[_0x5936e8(0x340)])(_0x1e24f5,{..._0x1267e9,'variant':_0x3c2440}),_0x3fe0b9={'DocsShapeWrapInlineIcon':_0x5bf683(_0x5936e8(0x1cd)),'DocsShapeWrapSquareIcon':_0x5bf683(_0x5936e8(0x4ec)),'DocsShapeWrapTopBottomIcon':_0x5bf683(_0x5936e8(0x350)),'DocsShapeWrapBehindTextIcon':_0x5bf683(_0x5936e8(0x4b0)),'DocsShapeWrapInFrontOfTextIcon':_0x5bf683(_0x5936e8(0x42e))},_0x1ea311=(0x0,_0x474eb8[_0x5936e8(0x48e)])(()=>{const _0x387bf2=_0x5936e8;let _0x1390bc=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x3e3971),_0x371e7e=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x3a18ad[_0x387bf2(0x39c)]),_0x47a0a3=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x5a5de8=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x1f0d53[_0x387bf2(0x298)]),_0xa3b7f7=(0x0,_0x474eb8[_0x387bf2(0x381)])(()=>({'getShapeModel':(_0x12c993,_0x52a53a,_0x4ba6a5)=>_0x371e7e[_0x387bf2(0x206)](_0x12c993,_0x52a53a,_0x4ba6a5),'getShapeData':(_0x447e2e,_0x37aa78,_0x238251)=>_0x371e7e['getShapeDataById'](_0x447e2e,_0x37aa78,_0x238251),'getDrawingTransform':(_0x1ce280,_0x2b9a54,_0x2d21fc)=>{const _0x16c9d6=_0x387bf2;let _0x52329f=_0x47a0a3[_0x16c9d6(0x44c)]({'unitId':_0x1ce280,'subUnitId':_0x2b9a54,'drawingId':_0x2d21fc});return _0x52329f==null?void 0x0:_0x52329f['transform'];},'updateShapeText':({unitId:_0x3c4565,shapeId:_0x5d05dc,shapeText:_0x347a6d,oldShapeText:_0x2b693e})=>{const _0x5b7c65=_0x387bf2;_0x5a5de8['executeCommand'](_0x3a18ad[_0x5b7c65(0x1c0)]['id'],{'unitId':_0x3c4565,'shapeId':_0x5d05dc,'shapeData':{'shapeText':_0x347a6d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2b693e}}});},'updateHostSize':({unitId:_0x46e2d3,subUnitId:_0x26f3dd,shapeId:_0x57c44c,width:_0x3c6a73,height:_0x27db19})=>{const _0x14b702=_0x387bf2;_0x5a5de8[_0x14b702(0x502)](_0x468af2[_0x14b702(0x3d1)]['id'],{'unitId':_0x46e2d3,'subUnitId':_0x26f3dd,'drawings':[{'drawingId':_0x57c44c,'key':'size','value':{'width':_0x3c6a73,'height':_0x27db19}}]});},'allowHostSizeShrink':({unitId:_0x2b6037,subUnitId:_0x125da9,shapeId:_0x581a83})=>(0x0,_0x49227b[_0x387bf2(0x22d)])(_0x371e7e['getShapeDataById'](_0x2b6037,_0x125da9,_0x581a83))}),[_0x5a5de8,_0x371e7e,_0x47a0a3]),_0x95e478=(0x0,_0x474eb8[_0x387bf2(0x381)])(()=>({'viewportKeys':{'main':_0x4fb755['VIEWPORT_KEY']['VIEW_MAIN']}}),[]);return(0x0,_0x49e713[_0x387bf2(0x340)])(_0x49227b[_0x387bf2(0x1c3)],{'adapter':_0xa3b7f7,'editingService':_0x1390bc,'editorUnitId':_0x44e212,'positionOptions':_0x95e478});}),_0x5ac066=class extends _0x1f0d53['Disposable']{constructor(_0x14390e,_0x16d368){const _0x5f2c66=_0x5936e8;super(),this[_0x5f2c66(0x398)]=_0x14390e,this['_iconManager']=_0x16d368,this[_0x5f2c66(0x3da)](),this[_0x5f2c66(0x3f1)]();}[_0x5936e8(0x3da)](){const _0x2c64d7=_0x5936e8;this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)]('ObjectLayersIcon')||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)]['register']({'ObjectLayersIcon':_0x4699fe})),this['_iconManager']['has'](_0x2c64d7(0x3f3))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'BottomIcon':_0x258f24})),this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)]('MoveDownIcon')||this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)]({'MoveDownIcon':_0x5e0d23})),this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)](_0x2c64d7(0x1df))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'MoveUpIcon':_0x41667e})),this[_0x2c64d7(0x4a4)]['has'](_0x2c64d7(0x4eb))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'ShapeFormatSettingIcon':_0x4813c5})),this[_0x2c64d7(0x4a4)]['has'](_0x2c64d7(0x345))||this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)]({'TopmostIcon':_0x4cfda8})),this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)](_0x3fe0b9));}[_0x5936e8(0x3f1)](){const _0x4be90e=_0x5936e8;this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x33cbc8,_0xe18d4a)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x2f3622,_0x2ac504)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x2df62f,_0x2c0419)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)]['register'](_0x369dfe,_0x27cbef)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)]['register'](_0x5a7f89,_0x4edd4a)),this['disposeWithMe'](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x4c6bd2,_0x23ba1c)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0xaa2613,_0xa256a4)),this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x3cd69e,_0x20ddd2)),this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x54e3e8,_0x49227b[_0x4be90e(0x494)])),this[_0x4be90e(0x487)](this['_componentManager']['register'](_0x11dc99,_0x13abad)),this['disposeWithMe'](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0xb8ab1f,_0x476f4f)),this[_0x4be90e(0x398)][_0x4be90e(0x25b)](_0x1b3d5c[_0x4be90e(0x2b4)])||this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x1b3d5c[_0x4be90e(0x2b4)],_0xbfcf2a)),this['disposeWithMe'](this['_componentManager']['register'](_0x3006fa,_0x1ea311));}};_0x5ac066=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x33a)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe[_0x5936e8(0x2b7)]))],_0x5ac066);let _0x529e7f=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x4977f7,_0x30b8eb,_0x2e3e76,_0x58a91c,_0x199cc6,_0x486605,_0x127771,_0x2947a4,_0x41ee5e,_0x5d0468,_0x1dd3c7,_0x3dd50f,_0x2deeb5){const _0x4a6d72=_0x5936e8;super(),this[_0x4a6d72(0x391)]=_0x4977f7,this[_0x4a6d72(0x336)]=_0x30b8eb,this['_menuManagerService']=_0x2e3e76,this['_docsShapeService']=_0x58a91c,this[_0x4a6d72(0x3a3)]=_0x199cc6,this[_0x4a6d72(0x500)]=_0x486605,this[_0x4a6d72(0x1e2)]=_0x127771,this[_0x4a6d72(0x41f)]=_0x2947a4,this[_0x4a6d72(0x271)]=_0x41ee5e,this[_0x4a6d72(0x31c)]=_0x5d0468,this[_0x4a6d72(0x304)]=_0x1dd3c7,this['_permissionService']=_0x3dd50f,this[_0x4a6d72(0x3c6)]=_0x2deeb5,_0x3f767d(this,_0x4a6d72(0x508),null),_0x3f767d(this,_0x4a6d72(0x495),null),_0x3f767d(this,_0x4a6d72(0x1aa),!0x1),_0x3f767d(this,_0x4a6d72(0x1de),0x0),_0x3f767d(this,_0x4a6d72(0x50a),new Map()),_0x3f767d(this,'_popupTargetKeys',new Map()),this['_initMenu'](),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x391)][_0x4a6d72(0x227)](_0x1f0d53[_0x4a6d72(0x2ab)][_0x4a6d72(0x471)])[_0x4a6d72(0x442)](_0x2a0841=>{const _0x1b6225=_0x4a6d72;if(!_0x2a0841){var _0x2bba65;(_0x2bba65=this['_sidebarDisposable'])==null||_0x2bba65[_0x1b6225(0x342)]();}})),this['_registerOperations'](),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x1e2)][_0x4a6d72(0x301)]['subscribe'](_0x4be514=>{const _0x415a6b=_0x4a6d72;for(let _0x5dfd31 of _0x4be514){let _0x1bd40c=_0x5dfd31['unitId']+':'+_0x5dfd31[_0x415a6b(0x384)]+':'+_0x5dfd31['drawingId'];for(let [_0x1b1cb,_0x241bfe]of this[_0x415a6b(0x4df)])_0x241bfe===_0x1bd40c&&this[_0x415a6b(0x394)](_0x1b1cb,!0x0);}})),this[_0x4a6d72(0x487)]((0x0,_0x49227b[_0x4a6d72(0x1ec)])(this[_0x4a6d72(0x271)],_0x1f0d53[_0x4a6d72(0x2ab)][_0x4a6d72(0x471)],_0x5c489f=>this[_0x4a6d72(0x1f8)](_0x5c489f))),this[_0x4a6d72(0x487)](this['_shapeTextEditingService']['editingParams$'][_0x4a6d72(0x442)](_0x51b83f=>{_0x51b83f&&this['_clearPopups'](void 0x0,!0x0);})),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x221)][_0x4a6d72(0x1ae)][_0x4a6d72(0x442)](()=>{const _0xedff66=_0x4a6d72;this[_0xedff66(0x1e2)][_0xedff66(0x456)]()[_0xedff66(0x318)](_0x5b8cca=>_0x5b8cca['drawingType']===_0x1f0d53[_0xedff66(0x331)][_0xedff66(0x39d)]&&this['_univerInstanceService'][_0xedff66(0x4b2)](_0x5b8cca[_0xedff66(0x458)])===_0x1f0d53[_0xedff66(0x2ab)]['UNIVER_DOC']&&!this['_canEditShape'](_0x5b8cca[_0xedff66(0x458)],_0x5b8cca[_0xedff66(0x240)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x5936e8(0x2b3)](_0x1a54ff,_0x1c3874,_0x445295,_0x2dcd26){const _0x1609ca=_0x5936e8;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x4bbe2e['id'],'commandParams':{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295},'disable':_0x2dcd26===_0x1f0d53[_0x1609ca(0x331)][_0x1609ca(0x49a)]},{'label':_0x1609ca(0x36a),'index':0x1,'commandId':_0x468af2[_0x1609ca(0x247)]['id'],'commandParams':{'unitId':_0x1a54ff,'drawings':[{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295}]},'disable':!0x1},{'label':_0x1609ca(0x21c),'index':0x2,'commandId':_0x5d3d74['id'],'commandParams':{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295},'disable':!0x1}];}['_initMenu'](){const _0xa2b7ca=_0x5936e8;this[_0xa2b7ca(0x21d)][_0xa2b7ca(0x1a3)](_0x394914);}[_0x5936e8(0x3e1)](_0x3124f4,_0x566d67,_0x3c6549){const _0x4b001e=_0x5936e8;let _0xb982a0=this['_docsShapeService']['getShapeTypeById'](_0x3124f4,_0x566d67,_0x3c6549),_0x362e1e=this[_0x4b001e(0x397)][_0x4b001e(0x2ed)](_0x3124f4,_0x566d67,_0x3c6549);return _0xb982a0===void 0x0||_0x362e1e===void 0x0?null:{'shapeData':_0x362e1e,'shapeId':_0x3c6549,'shapeType':_0xb982a0,'unitId':_0x3124f4,'subUnitId':_0x566d67,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1};}[_0x5936e8(0x394)](_0x43d48d,_0x820697=!0x1){const _0xc5ba69=_0x5936e8;if(_0x43d48d==null){[...this[_0xc5ba69(0x50a)]['keys']()][_0xc5ba69(0x2f3)](_0x3f60fc=>this[_0xc5ba69(0x394)](_0x3f60fc,_0x820697));return;}let _0x246e27=this[_0xc5ba69(0x50a)]['get'](_0x43d48d);if(_0x246e27){for(let _0x35f990=_0x246e27[_0xc5ba69(0x2b1)]-0x1;_0x35f990>=0x0;--_0x35f990){let _0x19dbf0=_0x246e27[_0x35f990];(_0x820697||_0x19dbf0[_0xc5ba69(0x3bc)]())&&(_0x19dbf0['dispose'](),_0x246e27[_0xc5ba69(0x4cf)](_0x35f990,0x1));}_0x246e27[_0xc5ba69(0x2b1)]===0x0&&(this[_0xc5ba69(0x50a)][_0xc5ba69(0x30a)](_0x43d48d),this[_0xc5ba69(0x4df)][_0xc5ba69(0x30a)](_0x43d48d));}}[_0x5936e8(0x1bc)](_0x32273f){const _0x2c650a=_0x5936e8;let _0x27feec=this[_0x2c650a(0x50a)]['get'](_0x32273f);if(_0x27feec)return _0x27feec;let _0x173fb5=[];return this[_0x2c650a(0x50a)][_0x2c650a(0x4fe)](_0x32273f,_0x173fb5),_0x173fb5;}[_0x5936e8(0x1f8)](_0x19365a){const _0x161b0d=_0x5936e8;var _0x538468;let _0x5a3d00=new _0x1f0d53[(_0x161b0d(0x393))](),_0x1534ce=(_0x538468=this[_0x161b0d(0x271)][_0x161b0d(0x31b)](_0x1f0d53[_0x161b0d(0x2ab)][_0x161b0d(0x471)])[_0x161b0d(0x372)](_0x3c34ad=>_0x3c34ad[_0x161b0d(0x307)][_0x161b0d(0x26e)]()===_0x19365a))==null?void 0x0:_0x538468['unitId'];return _0x1534ce&&(_0x5a3d00[_0x161b0d(0x4c8)](_0x19365a['createControl$'][_0x161b0d(0x442)](()=>this[_0x161b0d(0x40a)](_0x19365a,_0x1534ce))),_0x5a3d00['add'](_0x19365a[_0x161b0d(0x1e5)]['subscribe'](()=>{this['_clearPopups'](_0x1534ce),queueMicrotask(()=>{const _0x1b6707=_0x8eb6;_0x19365a[_0x1b6707(0x1c1)]()[_0x1b6707(0x26f)]>0x0||!this[_0x1b6707(0x1e2)][_0x1b6707(0x456)]()[_0x1b6707(0x318)](_0x46a07e=>_0x46a07e[_0x1b6707(0x458)]===_0x1534ce)||(this[_0x1b6707(0x31c)][_0x1b6707(0x4ef)](_0x1f0d53[_0x1b6707(0x4ca)],!0x1),this[_0x1b6707(0x1e2)]['focusDrawing'](null));});})),_0x5a3d00[_0x161b0d(0x4c8)](_0x19365a['changing$'][_0x161b0d(0x442)](()=>{const _0x52eafd=_0x161b0d;this[_0x52eafd(0x394)](_0x1534ce,!0x0);}))),_0x5a3d00;}[_0x5936e8(0x40a)](_0x516e57,_0x2eeab7){const _0x38ff65=_0x5936e8;let _0x15a1b1=_0x516e57['getSelectedObjectMap']();if(this[_0x38ff65(0x1aa)]){this['_clearPopups'](_0x2eeab7,!0x0);return;}if(_0x15a1b1[_0x38ff65(0x26f)]>0x1){this['_clearPopups'](_0x2eeab7);return;}let _0x496a80=_0x15a1b1[_0x38ff65(0x21a)]()[_0x38ff65(0x420)]()[_0x38ff65(0x3ca)];if(!_0x496a80){this[_0x38ff65(0x394)](_0x2eeab7);return;}let _0x4f95c2=this[_0x38ff65(0x1e2)][_0x38ff65(0x2fc)](_0x496a80['oKey']);if(!_0x4f95c2||_0x4f95c2[_0x38ff65(0x486)]!==_0x1f0d53['DrawingTypeEnum'][_0x38ff65(0x39d)]){this[_0x38ff65(0x394)](_0x2eeab7);return;}let {unitId:_0x3572c2,subUnitId:_0xbe59eb,drawingId:_0x572134}=_0x4f95c2;if(!this[_0x38ff65(0x243)](_0x3572c2,_0x572134)){this[_0x38ff65(0x394)](_0x2eeab7,!0x0);return;}let _0xaf9f71=this[_0x38ff65(0x3e1)](_0x3572c2,_0xbe59eb,_0x572134);if(!_0xaf9f71){this['_clearPopups'](_0x2eeab7);return;}let _0x110962=this[_0x38ff65(0x50a)][_0x38ff65(0x22c)](_0x2eeab7),_0x157aa3=_0x3572c2+':'+_0xbe59eb+':'+_0x572134;if(this[_0x38ff65(0x4df)]['get'](_0x2eeab7)===_0x157aa3&&_0x110962!=null&&_0x110962[_0x38ff65(0x2b1)])return;this[_0x38ff65(0x394)](_0x2eeab7);let _0x142df4=this[_0x38ff65(0x271)][_0x38ff65(0x246)](_0x3572c2),_0x4c8fa3=((_0x142df4==null?void 0x0:_0x142df4[_0x38ff65(0x4bf)])===!0x1?_0x142df4[_0x38ff65(0x407)](_0x4fb755[_0x38ff65(0x37a)]):this[_0x38ff65(0x41f)])[_0x38ff65(0x4da)](_0x496a80,this['_getShapePopup'](_0xaf9f71,()=>this[_0x38ff65(0x394)](_0x2eeab7,!0x0)),_0x3572c2);this[_0x38ff65(0x487)](_0x4c8fa3),this[_0x38ff65(0x1bc)](_0x2eeab7)[_0x38ff65(0x2a4)](_0x4c8fa3),this[_0x38ff65(0x4df)]['set'](_0x2eeab7,_0x157aa3),this[_0x38ff65(0x1e2)][_0x38ff65(0x456)]()[_0x38ff65(0x318)](_0xd05549=>_0xd05549[_0x38ff65(0x458)]===_0x3572c2&&_0xd05549[_0x38ff65(0x384)]===_0xbe59eb&&_0xd05549[_0x38ff65(0x240)]===_0x572134)||this[_0x38ff65(0x1e2)][_0x38ff65(0x4c4)]([{'unitId':_0x3572c2,'subUnitId':_0xbe59eb,'drawingId':_0x572134}]);}[_0x5936e8(0x42b)](_0x32940f,_0x326605){const _0x2a3302=_0x5936e8;let {unitId:_0x5878da,subUnitId:_0x34910d,shapeId:_0x3e4178}=_0x32940f,_0x1260f6={'hostType':_0x1f0d53[_0x2a3302(0x2ab)][_0x2a3302(0x471)],'unitId':_0x5878da,'subUnitId':_0x34910d,'shapeId':_0x3e4178};return{'componentKey':_0x2df62f,'requiresStableLayout':!0x1,'direction':_0x2a3302(0x22f),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x32940f[_0x2a3302(0x329)],'onText':()=>{const _0x556c50=_0x2a3302;_0x326605(),this['_mobileEditorService'][_0x556c50(0x328)](_0x556c50(0x46a),_0x1260f6);},'onStyle':()=>{const _0x5c1e64=_0x2a3302;_0x326605(),this['_mobileEditorService'][_0x5c1e64(0x328)](_0x5c1e64(0x1a7),_0x1260f6);},'onDelete':()=>this['_commandService']['executeCommand'](_0x468af2[_0x2a3302(0x247)]['id'],{'unitId':_0x5878da,'drawings':[{'unitId':_0x5878da,'subUnitId':_0x34910d,'drawingId':_0x3e4178}]})}};}[_0x5936e8(0x243)](_0x6c9018,_0xd508ee){const _0x1e8f58=_0x5936e8;let _0x50c528=this['_univerInstanceService'][_0x1e8f58(0x4c9)](_0x6c9018,_0x1f0d53['UniverInstanceType'][_0x1e8f58(0x471)]);if(!_0x50c528)return!0x1;let _0x113e9b=(0x0,_0x1d5dc9['getDocumentDrawingSegmentId'])(_0x50c528,_0xd508ee);return(0x0,_0x1d5dc9[_0x1e8f58(0x18b)])(this[_0x1e8f58(0x221)],_0x6c9018,[...(0x0,_0x1d5dc9[_0x1e8f58(0x4d7)])(_0x50c528,_0x113e9b,_0x1e8f58(0x436),_0xd508ee),(0x0,_0x1d5dc9[_0x1e8f58(0x351)])(_0x113e9b,_0x1e8f58(0x436),_0xd508ee)]);}[_0x5936e8(0x2d5)](){const _0x312db8=_0x5936e8;this[_0x312db8(0x487)](this['_commandService'][_0x312db8(0x25a)](_0x4e896e=>{const _0x497122=_0x312db8;if(_0x4e896e['id']===_0x4bbe2e['id']){let {unitId:_0x12034c,subUnitId:_0x4b1456,drawingId:_0x52ec74}=_0x4e896e['params'];this[_0x497122(0x1de)]+=0x1,this[_0x497122(0x495)]=this[_0x497122(0x3e1)](_0x12034c,_0x4b1456,_0x52ec74),this['_clearPopups'](void 0x0,!0x0),this[_0x497122(0x47f)]();}if(_0x4e896e['id']===_0x5d3d74['id']&&(this[_0x497122(0x495)]=null,this[_0x497122(0x4fd)]()),_0x4e896e['id']===_0x3a18ad['UpdateDocShapeDataMutation']['id']){var _0x474270;let {unitId:_0x58f410,shapeId:_0x131457}=_0x4e896e[_0x497122(0x41a)];if(((_0x474270=this[_0x497122(0x495)])==null?void 0x0:_0x474270[_0x497122(0x4b8)])===_0x131457){let _0x15cc46=this['_getShapeInfo'](_0x58f410,this[_0x497122(0x495)]['subUnitId'],_0x131457);_0x15cc46&&(this['_shapeEditPanelVersion']+=0x1,_0x15cc46[_0x497122(0x2ba)]=this[_0x497122(0x1de)],this[_0x497122(0x495)]=_0x15cc46,this[_0x497122(0x1aa)]&&this['_openShapeEditPanel']());}}})),this[_0x312db8(0x487)](this['_drawingManagerService'][_0x312db8(0x4b1)]['subscribe'](_0x58db06=>{const _0x17dc3c=_0x312db8;if(!this[_0x17dc3c(0x1aa)])return;if(_0x58db06[_0x17dc3c(0x2b1)]===0x0){this[_0x17dc3c(0x495)]=null,this[_0x17dc3c(0x4fd)]();return;}if(_0x58db06[_0x17dc3c(0x2b1)]===0x1&&_0x58db06[0x0][_0x17dc3c(0x486)]===_0x1f0d53[_0x17dc3c(0x331)][_0x17dc3c(0x39d)]&&(this[_0x17dc3c(0x1de)]+=0x1,this['_activeShapeInfo']=this[_0x17dc3c(0x3e1)](_0x58db06[0x0][_0x17dc3c(0x458)],_0x58db06[0x0][_0x17dc3c(0x384)],_0x58db06[0x0][_0x17dc3c(0x240)]),this[_0x17dc3c(0x495)])){this[_0x17dc3c(0x47f)]();return;}let _0x5863ed=_0x58db06[_0x17dc3c(0x21f)](_0x57140b=>_0x57140b[_0x17dc3c(0x486)]===_0x1f0d53[_0x17dc3c(0x331)][_0x17dc3c(0x39d)]);this[_0x17dc3c(0x1de)]+=0x1,this['_activeShapeInfo']=this[_0x17dc3c(0x3e1)](_0x58db06[0x0]['unitId'],_0x58db06[0x0][_0x17dc3c(0x384)],_0x58db06[0x0][_0x17dc3c(0x240)]),this[_0x17dc3c(0x495)]&&_0x58db06['length']>0x1&&_0x5863ed[_0x17dc3c(0x2b1)]===_0x58db06['length']?this[_0x17dc3c(0x47f)]():this[_0x17dc3c(0x495)]&&_0x5863ed[_0x17dc3c(0x2b1)]!==_0x58db06[_0x17dc3c(0x2b1)]?(this['_activeShapeInfo'][_0x17dc3c(0x25f)]=!0x0,this[_0x17dc3c(0x47f)]()):this[_0x17dc3c(0x4fd)]();}));}[_0x5936e8(0x47f)](){const _0x97c423=_0x5936e8;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this['_sidebarService'][_0x97c423(0x328)]({'id':_0x33cbc8,'header':{'title':this[_0x97c423(0x3a3)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x33cbc8,...this[_0x97c423(0x495)]},'onClose':()=>{const _0x26725a=_0x97c423;this[_0x26725a(0x1e2)][_0x26725a(0x4c4)](null),this[_0x26725a(0x31c)][_0x26725a(0x4ef)](_0x1f0d53['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x26725a(0x508)]=null;}}),this[_0x97c423(0x1aa)]=!0x0);}[_0x5936e8(0x4fd)](){const _0x1dd153=_0x5936e8;this[_0x1dd153(0x1aa)]=!0x1,this['_sidebarService']['close'](_0x33cbc8),this['_sidebarDisposable']=null,this[_0x1dd153(0x31c)][_0x1dd153(0x4ef)](_0x1f0d53[_0x1dd153(0x4ca)],!0x1),this['_drawingManagerService']['focusDrawing'](null);}};_0x529e7f=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IUniverInstanceService']),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x3cd)])),_0x570e4a(0x2,_0x17ddbe[_0x5936e8(0x25d)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53['LocaleService'])),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x6,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755['DocCanvasPopManagerService'])),_0x570e4a(0x8,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x9,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0xa,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0xb,_0x1f0d53['IPermissionService']),_0x570e4a(0xc,(0x0,_0x1f0d53['Inject'])(_0x49227b[_0x5936e8(0x455)]))],_0x529e7f);let _0x3db13c='docs-shape-contextual-ribbon',_0x79c20b=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x195997,_0x4c4401,_0x2680e2,_0x39130f,_0x1b1399,_0x2031bb){const _0x338813=_0x5936e8;super(),this['_menuManagerService']=_0x195997,this['_ribbonService']=_0x4c4401,this[_0x338813(0x1e2)]=_0x2680e2,this[_0x338813(0x391)]=_0x39130f,this['_renderManagerService']=_0x1b1399,this['_shapeFloatingToolbarService']=_0x2031bb,_0x3f767d(this,_0x338813(0x285),!0x1),this[_0x338813(0x21d)]['mergeMenu'](_0x138f4a),this['disposeWithMe']((0x0,_0x1f0d53[_0x338813(0x296)])(this[_0x338813(0x1e2)][_0x338813(0x4b1)]['subscribe'](()=>this[_0x338813(0x1ee)]()))),this[_0x338813(0x1ee)]();}[_0x5936e8(0x342)](){const _0x565524=_0x5936e8;this['_shapeFloatingToolbarService'][_0x565524(0x4a6)](!0x1,_0x3db13c),this['_hide'](),super[_0x565524(0x342)]();}[_0x5936e8(0x1ee)](){const _0x12c460=_0x5936e8;var _0x110adb;let _0x2f5fab=this[_0x12c460(0x1e2)][_0x12c460(0x456)](),_0x3d3f9e=_0x2f5fab[_0x12c460(0x2b1)]===0x1?_0x2f5fab[0x0]:void 0x0;if((_0x3d3f9e==null?void 0x0:_0x3d3f9e[_0x12c460(0x486)])!==_0x1f0d53[_0x12c460(0x331)][_0x12c460(0x39d)]||this[_0x12c460(0x391)][_0x12c460(0x4b2)](_0x3d3f9e['unitId'])!==_0x1f0d53['UniverInstanceType'][_0x12c460(0x471)]){this['_shapeFloatingToolbarService']['setFallbackVisible'](!0x1,_0x3db13c),this[_0x12c460(0x3d8)]();return;}let _0x460c00=(_0x110adb=this['_renderManagerService'][_0x12c460(0x246)](_0x3d3f9e['unitId']))==null?void 0x0:_0x110adb['engine'][_0x12c460(0x3d4)](),_0xd4a12d=(0x0,_0x49227b[_0x12c460(0x28b)])(_0x460c00)==='isolated';this['_shapeFloatingToolbarService'][_0x12c460(0x4a6)](_0xd4a12d,_0x3db13c),_0xd4a12d?this[_0x12c460(0x3d8)]():(this['_visible']=!0x0,this['_ribbonService'][_0x12c460(0x2ad)](_0x4a26b7,{'activate':!0x0}));}[_0x5936e8(0x3d8)](){const _0xcb741a=_0x5936e8;this[_0xcb741a(0x285)]&&(this['_visible']=!0x1,this['_ribbonService']['hideContextualTab'](_0x4a26b7),this[_0xcb741a(0x479)]['setCollapsedIds']([]));}};_0x79c20b=_0x348fea([_0x570e4a(0x0,_0x17ddbe['IMenuManagerService']),_0x570e4a(0x1,_0x17ddbe['IRibbonService']),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x474)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x49227b['ShapeFloatingToolbarService']))],_0x79c20b);let _0x5264e0=class extends _0x1f0d53['Disposable']{constructor(_0x2ab102,_0x3ebb98,_0x394d25,_0x10d595){const _0x353130=_0x5936e8;super(),this[_0x353130(0x500)]=_0x2ab102,this[_0x353130(0x271)]=_0x3ebb98,this[_0x353130(0x1e2)]=_0x394d25,this[_0x353130(0x1a5)]=_0x10d595,this[_0x353130(0x1b1)]();}['_initialize'](){const _0x5cd76e=_0x5936e8;this[_0x5cd76e(0x487)](this[_0x5cd76e(0x1e2)][_0x5cd76e(0x406)][_0x5cd76e(0x442)](_0x24a3d5=>this[_0x5cd76e(0x4f3)](_0x24a3d5))),this[_0x5cd76e(0x487)](this['_drawingManagerService'][_0x5cd76e(0x3a2)]['subscribe'](_0x5f4313=>{const _0x14bcdd=_0x5cd76e;_0x5f4313[_0x14bcdd(0x2f3)](_0x4375c7=>this['_updateShape'](_0x4375c7));})),this[_0x5cd76e(0x487)](this[_0x5cd76e(0x500)]['onCommandExecuted'](_0x21ff6d=>{const _0x16a0a7=_0x5cd76e;if(_0x21ff6d['id']!==_0x3a18ad[_0x16a0a7(0x338)]['id'])return;let {unitId:_0x4c7472,shapeId:_0x452b9d}=_0x21ff6d[_0x16a0a7(0x41a)];this[_0x16a0a7(0x18e)]({'unitId':_0x4c7472,'subUnitId':_0x4c7472,'drawingId':_0x452b9d});}));}['_insertShapes'](_0x4ab705){const _0x516b01=_0x5936e8;_0x4ab705[_0x516b01(0x2f3)](_0x10fe1c=>{const _0x2da2da=_0x516b01;let _0x22230c=this[_0x2da2da(0x324)](_0x10fe1c['unitId']);if(!_0x22230c)return;let _0x55e5df=this[_0x2da2da(0x1e2)][_0x2da2da(0x44c)](_0x10fe1c);(_0x55e5df==null?void 0x0:_0x55e5df[_0x2da2da(0x486)])===_0x1f0d53[_0x2da2da(0x331)][_0x2da2da(0x39d)]&&this[_0x2da2da(0x1a5)][_0x2da2da(0x4b7)](_0x55e5df,_0x22230c[_0x2da2da(0x307)]);});}['_updateShape'](_0xf6c3a){const _0x1eece3=_0x5936e8;let _0x2594a0=this[_0x1eece3(0x1e2)][_0x1eece3(0x44c)](_0xf6c3a);if((_0x2594a0==null?void 0x0:_0x2594a0[_0x1eece3(0x486)])!==_0x1f0d53[_0x1eece3(0x331)]['DRAWING_SHAPE'])return;let _0x13d9fa=this['_getSceneByUnitId'](_0xf6c3a['unitId']);if(!_0x13d9fa||_0x2594a0['transform']==null)return;let _0x287953=(0x0,_0x1b10bd[_0x1eece3(0x2fe)])(_0xf6c3a),_0x1afe92=_0x13d9fa[_0x1eece3(0x307)][_0x1eece3(0x410)](_0x287953);_0x1afe92&&(_0x1afe92[_0x1eece3(0x4b5)](_0x2594a0['srcRect']),_0x1afe92['setPrstGeom'](_0x2594a0[_0x1eece3(0x40d)]),_0x1afe92[_0x1eece3(0x446)](!0x0));}[_0x5936e8(0x18e)](_0x23f262){const _0x539352=_0x5936e8;let _0x489187=this[_0x539352(0x324)](_0x23f262[_0x539352(0x458)]);if(!_0x489187)return;let _0x20e876=(0x0,_0x1b10bd[_0x539352(0x2fe)])(_0x23f262),_0x2b1b7f=_0x489187[_0x539352(0x307)][_0x539352(0x410)](_0x20e876);_0x2b1b7f&&(this[_0x539352(0x1a5)][_0x539352(0x2eb)](_0x2b1b7f),this[_0x539352(0x1a5)][_0x539352(0x29e)](_0x2b1b7f,{'unitId':_0x23f262['unitId'],'subUnitId':_0x23f262[_0x539352(0x384)],'shapeId':_0x23f262[_0x539352(0x240)]}),_0x2b1b7f[_0x539352(0x446)](!0x0));}[_0x5936e8(0x324)](_0xaed233){const _0x46c497=_0x5936e8;if(_0xaed233==null)return null;let _0x5e0e81=this['_renderManagerService']['getRenderUnitById'](_0xaed233),_0x108316=_0x5e0e81==null?void 0x0:_0x5e0e81[_0x46c497(0x307)];return _0x108316==null?null:{'scene':_0x108316};}};_0x5264e0=_0x348fea([_0x570e4a(0x0,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x1,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x511fb8))],_0x5264e0);let _0x3019be=class extends _0x1f0d53[_0x5936e8(0x1d6)]{constructor(_0x29a25f=_0x599d43,_0x357503,_0x241fdc,_0xb13c59,_0x2103e4){const _0x51f914=_0x5936e8;super(),this[_0x51f914(0x29d)]=_0x29a25f,this['_injector']=_0x357503,this[_0x51f914(0x500)]=_0x241fdc,this[_0x51f914(0x216)]=_0xb13c59,this['_renderManagerService']=_0x2103e4;let {menu:_0x3ae748,..._0x43b76f}=(0x0,_0x1f0d53[_0x51f914(0x1a1)])({},_0x599d43,this[_0x51f914(0x29d)]);_0x3ae748&&this[_0x51f914(0x216)]['setConfig'](_0x51f914(0x4f1),_0x3ae748,{'merge':!0x0}),this[_0x51f914(0x216)][_0x51f914(0x408)](_0x286ff0,_0x43b76f),[_0x5dc3f0,_0x5d3d74,_0x4bbe2e,_0x1ac0f7,_0x3c67d5,_0x5116cf][_0x51f914(0x2f3)](_0x58ae6c=>this[_0x51f914(0x487)](this[_0x51f914(0x500)][_0x51f914(0x3fd)](_0x58ae6c)));}[_0x5936e8(0x3c1)](){const _0x355659=_0x5936e8;let _0x4111ea=[[_0x5ac066],[_0x529e7f],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x8ad386],[_0x31289f],[_0x212450],[_0x3e3971],[_0x79c20b]];(0x0,_0x1f0d53[_0x355659(0x220)])(this[_0x355659(0x233)],_0x4111ea),this['_injector']['get'](_0x5ac066);}[_0x5936e8(0x32f)](){const _0xce7987=_0x5936e8;this[_0xce7987(0x487)](this['_renderManagerService']['registerRenderModule'](_0x1f0d53[_0xce7987(0x2ab)][_0xce7987(0x471)],[_0x8ad386])),(0x0,_0x1f0d53[_0xce7987(0x444)])(this[_0xce7987(0x233)],[[_0x529e7f],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x31289f],[_0x212450],[_0x3e3971],[_0x79c20b]]);}};_0x3f767d(_0x3019be,_0x5936e8(0x481),_0x1f0d53['UniverInstanceType'][_0x5936e8(0x471)]),_0x3f767d(_0x3019be,_0x5936e8(0x2b6),_0x5936e8(0x447)),_0x3f767d(_0x3019be,_0x5936e8(0x194),_0x3fc22f),_0x3f767d(_0x3019be,_0x5936e8(0x2ba),_0x54ac81),_0x3019be=_0x348fea([(0x0,_0x1f0d53[_0x5936e8(0x1b3)])(_0x2f7626[_0x5936e8(0x27a)],_0x1d5dc9[_0x5936e8(0x1ab)],_0x1b10bd['UniverDrawingPlugin'],_0x1b3d5c['UniverDrawingMobileUIPlugin'],_0x2de297[_0x5936e8(0x337)],_0x4fb755[_0x5936e8(0x26d)],_0x5e0109[_0x5936e8(0x185)],_0x9fb89c[_0x5936e8(0x22b)],_0x3a18ad[_0x5936e8(0x1ca)],_0x49227b['UniverShapeEditorMobileUIPlugin']),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x1f0d53[_0x5936e8(0x431)])),_0x570e4a(0x2,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x4ce)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)])],_0x3019be);let _0x50f8ec=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x1c5282,_0x18a332){const _0x1bdd89=_0x5936e8;super(),this['_componentManager']=_0x1c5282,this[_0x1bdd89(0x4a4)]=_0x18a332,this['_registerIcons'](),this[_0x1bdd89(0x3f1)]();}[_0x5936e8(0x3da)](){const _0x2a226a=_0x5936e8;this[_0x2a226a(0x4a4)]['has'](_0x2a226a(0x1eb))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)]['register']({'ObjectLayersIcon':_0x4699fe})),this['_iconManager'][_0x2a226a(0x1f7)]('BottomIcon')||this[_0x2a226a(0x487)](this['_iconManager'][_0x2a226a(0x373)]({'BottomIcon':_0x258f24})),this['_iconManager'][_0x2a226a(0x1f7)](_0x2a226a(0x362))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)]['register']({'MoveDownIcon':_0x5e0d23})),this[_0x2a226a(0x4a4)][_0x2a226a(0x1f7)](_0x2a226a(0x1df))||this['disposeWithMe'](this['_iconManager'][_0x2a226a(0x373)]({'MoveUpIcon':_0x41667e})),this[_0x2a226a(0x4a4)][_0x2a226a(0x1f7)]('ShapeFormatSettingIcon')||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)]({'ShapeFormatSettingIcon':_0x4813c5})),this['_iconManager'][_0x2a226a(0x1f7)](_0x2a226a(0x345))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)]({'TopmostIcon':_0x4cfda8})),this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)](_0x3fe0b9));}[_0x5936e8(0x3f1)](){const _0x5f4a79=_0x5936e8;this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x33cbc8,_0x1fa60a)),this['disposeWithMe'](this['_componentManager']['register'](_0x2f3622,_0x362e91)),this['disposeWithMe'](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x2df62f,_0x5f7f1f)),this['disposeWithMe'](this['_componentManager'][_0x5f4a79(0x373)](_0x369dfe,_0x27cbef)),this['disposeWithMe'](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x5a7f89,_0x4edd4a)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x4c6bd2,_0x23ba1c)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)]['register'](_0xaa2613,_0xa256a4)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x3cd69e,_0x20ddd2)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x54e3e8,_0x49227b[_0x5f4a79(0x494)])),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x11dc99,_0x16b51e)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0xb8ab1f,_0xe0be09)),this[_0x5f4a79(0x398)][_0x5f4a79(0x25b)](_0x1b3d5c[_0x5f4a79(0x2b4)])||this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)]['register'](_0x1b3d5c[_0x5f4a79(0x2b4)],_0xbfcf2a)),this[_0x5f4a79(0x487)](this['_componentManager'][_0x5f4a79(0x373)](_0x3006fa,_0x1ea311));}};_0x50f8ec=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x33a)])),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x2b7)]))],_0x50f8ec);let _0xf9ce1d=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2717d9,_0x4a06ac,_0x3ca9d3,_0x4039d8,_0xa9701d,_0x3b3cff,_0x5bbc5a,_0x3e36fc,_0x555368){const _0x4e6e57=_0x5936e8;super();let _0x4c1bcc=_0xfca55=>{const _0x15c576=_0x8eb6;let _0xbbd0f4=_0x3b3cff['getUnit'](_0xfca55[_0x15c576(0x458)],_0x1f0d53[_0x15c576(0x2ab)][_0x15c576(0x471)]),_0x19a710=_0xbbd0f4?(0x0,_0x1d5dc9[_0x15c576(0x186)])(_0xbbd0f4,_0xfca55[_0x15c576(0x4b8)]):'';return!!_0xbbd0f4&&(0x0,_0x1d5dc9['canEditDocumentTargets'])(_0x3e36fc,_0xfca55[_0x15c576(0x458)],[(0x0,_0x1d5dc9[_0x15c576(0x351)])(_0x19a710,'drawing',_0xfca55[_0x15c576(0x4b8)]),...(0x0,_0x1d5dc9[_0x15c576(0x4d7)])(_0xbbd0f4,_0x19a710,_0x15c576(0x436),_0xfca55[_0x15c576(0x4b8)])]);},_0xe7af80=_0x34d8a9=>_0x34d8a9[_0x4e6e57(0x4b8)]&&_0x4c1bcc(_0x34d8a9)?_0x3ca9d3[_0x4e6e57(0x2ed)](_0x34d8a9[_0x4e6e57(0x458)],_0x34d8a9[_0x4e6e57(0x4b8)])??null:null,_0x1aff0e=()=>{const _0x3ae8b0=_0x4e6e57;let _0x42f084=_0xa9701d['getFocusDrawings'](),_0x1783f6=_0x42f084[_0x3ae8b0(0x2b1)]===0x1?_0x42f084[0x0]:null;return(_0x1783f6==null?void 0x0:_0x1783f6[_0x3ae8b0(0x486)])===_0x1f0d53[_0x3ae8b0(0x331)][_0x3ae8b0(0x39d)]&&_0x1783f6[_0x3ae8b0(0x458)]===_0x2717d9['unitId']?{'unitId':_0x1783f6['unitId'],'subUnitId':_0x1783f6[_0x3ae8b0(0x384)],'shapeId':_0x1783f6[_0x3ae8b0(0x240)]}:null;};this[_0x4e6e57(0x487)]((0x0,_0x49227b[_0x4e6e57(0x311)])(_0x2717d9,_0x4a06ac,{'changes$':(0x0,_0x50deea[_0x4e6e57(0x1a1)])(_0xa9701d[_0x4e6e57(0x4b1)],_0x4039d8[_0x4e6e57(0x3af)],_0x3e36fc[_0x4e6e57(0x1ae)]),'isActive':()=>{const _0x383aaa=_0x4e6e57;var _0x904675;return((_0x904675=_0x3b3cff['getFocusedUnit']())==null?void 0x0:_0x904675['getUnitId']())===_0x2717d9['unitId']&&!_0x5bbc5a[_0x383aaa(0x4d8)](_0x1f0d53[_0x383aaa(0x3f7)])&&_0xa9701d[_0x383aaa(0x456)]()[_0x383aaa(0x318)](_0x3c2978=>_0x3c2978['unitId']===_0x2717d9[_0x383aaa(0x458)]);},'getSelectedTarget':_0x1aff0e,'getSource':()=>{let _0x50ab49=_0x1aff0e();return _0x50ab49?_0xe7af80(_0x50ab49):null;},'getTarget':_0x227ece=>{const _0x43f715=_0x4e6e57;let _0x5d3f7e=_0x2717d9[_0x43f715(0x307)][_0x43f715(0x1a8)](new _0x2de297[(_0x43f715(0x424))](_0x227ece[_0x43f715(0x3a5)],_0x227ece[_0x43f715(0x250)]));if(!(_0x5d3f7e instanceof _0x22f474))return null;let _0x46a8c1={'unitId':_0x2717d9[_0x43f715(0x458)],'subUnitId':_0x2717d9[_0x43f715(0x458)],'shapeId':_0x5d3f7e[_0x43f715(0x4b8)]};return _0x4c1bcc(_0x46a8c1)?_0x46a8c1:null;},'getShape':_0xe7af80,'update':(_0x3d2df6,_0x1b94a4,_0x4f7e15)=>_0x555368[_0x4e6e57(0x502)](_0x3a18ad[_0x4e6e57(0x1c0)]['id'],{..._0x3d2df6,'shapeData':_0x4f7e15,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x1b94a4}})}));}};_0xf9ce1d=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe['FormatPainterSessionService'])),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x3e3971)),_0x570e4a(0x4,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x474)]),_0x570e4a(0x6,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0x7,_0x1f0d53['IPermissionService']),_0x570e4a(0x8,_0x1f0d53['ICommandService'])],_0xf9ce1d);function _0x24dd80(_0x3b6749,_0x16f090){const _0x15a982=_0x5936e8;let _0xb9fa43=_0x3b6749;for(;_0xb9fa43;){if(_0x16f090(_0xb9fa43))return _0xb9fa43;_0xb9fa43=typeof _0xb9fa43[_0x15a982(0x2f4)]==_0x15a982(0x418)?_0xb9fa43[_0x15a982(0x2f4)]():null;}return null;}function _0x570b06(_0x4c413f){return _0x24dd80(_0x4c413f,_0xfddce8=>_0xfddce8 instanceof _0x22f474);}function _0x2252bb(_0x1d8e6f){const _0x1f0f4b=_0x5936e8;return(_0x1d8e6f==null?void 0x0:_0x1d8e6f[_0x1f0f4b(0x1e0)])==null;}let _0x4ed37a=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x45f02b,_0x2bbf29,_0x508d0d,_0x360f0a,_0x2cb72c){const _0x39b3cd=_0x5936e8;super(),this[_0x39b3cd(0x2dc)]=_0x45f02b,this[_0x39b3cd(0x304)]=_0x2bbf29,this[_0x39b3cd(0x1e2)]=_0x508d0d,this[_0x39b3cd(0x382)]=_0x360f0a,this['_docsShapeService']=_0x2cb72c,_0x3f767d(this,_0x39b3cd(0x1a0),null),_0x3f767d(this,'_layoutInteraction',null),this['_initEvents'](),this[_0x39b3cd(0x3a4)](),this[_0x39b3cd(0x1b8)]();}[_0x5936e8(0x342)](){const _0x7cd9cd=_0x5936e8;this['_endLayoutInteraction'](),super[_0x7cd9cd(0x342)]();}[_0x5936e8(0x417)](){const _0x222691=_0x5936e8;let {scene:_0x39bb21}=this['_context'];this[_0x222691(0x487)](_0x39bb21[_0x222691(0x4e6)]['subscribeEvent']((_0x2c438c,_0x2028fb)=>{const _0x2d4962=_0x222691;let {offsetX:_0x3ba76d,offsetY:_0x1a4ff4}=_0x2c438c,_0x53289a=_0x2de297[_0x2d4962(0x424)][_0x2d4962(0x1c8)]([_0x3ba76d,_0x1a4ff4]),_0x426263=_0x570b06(_0x39bb21[_0x2d4962(0x1a8)](_0x53289a))??this[_0x2d4962(0x29a)](_0x53289a);if(_0x426263){_0x2028fb['stopPropagation']();let _0x3abbd8=this[_0x2d4962(0x397)]['getShapeModel'](_0x426263[_0x2d4962(0x458)],_0x426263[_0x2d4962(0x384)],_0x426263[_0x2d4962(0x4b8)]);if(!_0x3abbd8||(0x0,_0x14b8aa['isConnectorShape'])(_0x3abbd8[_0x2d4962(0x2de)]())||!_0x2252bb(_0x3abbd8['getShapeData']()))return;this['_shapeTextEditingService'][_0x2d4962(0x4ac)]({'visible':!0x0,'unitId':_0x426263[_0x2d4962(0x458)],'subUnitId':_0x426263[_0x2d4962(0x384)],'shapeId':_0x426263['shapeId'],'shapeKey':_0x426263[_0x2d4962(0x3e3)]});}}));}[_0x5936e8(0x29a)](_0x146d11){const _0xfcdbaf=_0x5936e8;let {scene:_0x5afd4f}=this[_0xfcdbaf(0x2dc)];return this[_0xfcdbaf(0x1e2)][_0xfcdbaf(0x456)]()[_0xfcdbaf(0x2e6)](_0x5836d6=>_0x5afd4f[_0xfcdbaf(0x410)]((0x0,_0x1b10bd[_0xfcdbaf(0x2fe)])(_0x5836d6)))[_0xfcdbaf(0x372)](_0x26c4ae=>_0x26c4ae instanceof _0x22f474&&_0x26c4ae[_0xfcdbaf(0x2a2)](_0x146d11))??null;}[_0x5936e8(0x3a4)](){const _0x5702dc=_0x5936e8;this['disposeWithMe'](this['_drawingManagerService'][_0x5702dc(0x4b1)][_0x5702dc(0x442)](_0x3050e5=>{const _0x519844=_0x5702dc;if(_0x3050e5[_0x519844(0x2b1)]===0x1){let _0x1a3f9a=_0x3050e5[0x0],_0x271b0c=this['_drawingManagerService'][_0x519844(0x44c)](_0x1a3f9a);if((_0x271b0c==null?void 0x0:_0x271b0c[_0x519844(0x486)])===_0x1f0d53[_0x519844(0x331)]['DRAWING_SHAPE']){let _0x4c1749=this[_0x519844(0x304)][_0x519844(0x450)]();if((_0x4c1749==null?void 0x0:_0x4c1749[_0x519844(0x4b8)])===_0x1a3f9a[_0x519844(0x240)]&&_0x4c1749[_0x519844(0x343)])return;(0x0,_0x14b8aa[_0x519844(0x214)])(this[_0x519844(0x397)]['getShapeType'](_0x1a3f9a[_0x519844(0x458)],_0x1a3f9a[_0x519844(0x384)],_0x1a3f9a[_0x519844(0x240)]))&&this[_0x519844(0x304)][_0x519844(0x4ac)](null);}else this['_shapeTextEditingService'][_0x519844(0x299)]();}else this[_0x519844(0x304)]['completeEditing']();})),this[_0x5702dc(0x487)](this['_drawingManagerService'][_0x5702dc(0x301)]['subscribe'](_0x2c47ba=>{const _0x47231a=_0x5702dc;let _0x104f93=this[_0x47231a(0x304)]['getEditing']();_0x104f93&&_0x2c47ba[_0x47231a(0x318)](_0x205e6f=>_0x205e6f['drawingId']===_0x104f93[_0x47231a(0x4b8)])&&this[_0x47231a(0x304)][_0x47231a(0x4ac)](null);}));}[_0x5936e8(0x1b8)](){const _0x56821c=_0x5936e8;this[_0x56821c(0x487)](this[_0x56821c(0x304)][_0x56821c(0x3af)][_0x56821c(0x442)](_0x4d7390=>{const _0xcd930c=_0x56821c;(_0x4d7390==null?void 0x0:_0x4d7390['visible'])===!0x0&&_0x4d7390[_0xcd930c(0x458)]===this['_context'][_0xcd930c(0x458)]?this[_0xcd930c(0x4db)]??=this[_0xcd930c(0x382)][_0xcd930c(0x183)]():this[_0xcd930c(0x37c)]();let {scene:_0x1583c5}=this[_0xcd930c(0x2dc)];if(this[_0xcd930c(0x1a0)]){let _0x2e23be=_0x1583c5[_0xcd930c(0x410)](this['_lastEditingShapeKey']);_0x2e23be&&_0x2e23be[_0xcd930c(0x4ac)](!0x1);}if(_0x4d7390){let _0x68de66=!!_0x4d7390[_0xcd930c(0x343)],_0x90c227=_0x1583c5[_0xcd930c(0x410)](_0x4d7390[_0xcd930c(0x3ec)]);_0x90c227&&(_0x90c227[_0xcd930c(0x4ac)](_0x68de66),this[_0xcd930c(0x1a0)]=_0x4d7390[_0xcd930c(0x3ec)]);}else this[_0xcd930c(0x1a0)]=null;}));}[_0x5936e8(0x37c)](){const _0x1145d3=_0x5936e8;var _0x4952e5;(_0x4952e5=this['_layoutInteraction'])==null||_0x4952e5[_0x1145d3(0x342)](),this[_0x1145d3(0x4db)]=null;}};_0x4ed37a=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x37e)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)]))],_0x4ed37a);let _0xa231f2=class extends _0x49227b[_0x5936e8(0x1fb)]{constructor(_0x457617,_0xc68ec1,_0x2b183a,_0xadc257,_0x3f2636,_0x1ddf1f,_0x2c7084,_0x349e39,_0x47319f,_0xf5caf){super(_0x457617,_0xc68ec1,_0x2b183a,_0xadc257,_0x3f2636,_0x1ddf1f,_0x2c7084,_0x349e39,_0x47319f,_0xf5caf,{'componentKey':_0x54e3e8,'editorUnitId':_0x44e212});}};_0xa231f2=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x1d5dc9['DocSelectionManagerService'])),_0x570e4a(0x2,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x2c7)])),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x288)])),_0x570e4a(0x6,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x49227b[_0x5936e8(0x1d2)])),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1d5dc9[_0x5936e8(0x3a7)])),_0x570e4a(0x8,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x25e)])),_0x570e4a(0x9,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971))],_0xa231f2);let _0x213643=class extends _0x49227b[_0x5936e8(0x3bb)]{constructor(_0x5781ee,_0x8bb784,_0x5e07f3,_0x201cd2,_0x504dbc){super(_0x5781ee,_0x8bb784,{'editing$':_0x5e07f3['editingParams$'],'resolve':_0x44767b=>{const _0x22e50c=_0x8eb6;var _0x42e878;let _0xe3c66f=new _0x2de297[(_0x22e50c(0x424))](_0x44767b['offsetX'],_0x44767b['offsetY']),_0x53a07d=((_0x42e878=_0x5781ee[_0x22e50c(0x307)][_0x22e50c(0x39e)](_0xe3c66f))==null?void 0x0:_0x42e878[_0x22e50c(0x34c)](_0xe3c66f))??_0xe3c66f,_0x1777b5=(0x0,_0x49227b[_0x22e50c(0x30c)])(_0x5781ee[_0x22e50c(0x307)][_0x22e50c(0x1a8)](_0xe3c66f)??null,_0x53a07d);if(!(_0x1777b5 instanceof _0x22f474))return null;let _0x3f267e=_0x1777b5[_0x22e50c(0x1e6)](_0x53a07d);if(!_0x3f267e)return null;let _0x46c0c3=_0x1777b5,_0x4fd43d={'componentKey':_0x49227b[_0x22e50c(0x36e)][_0x22e50c(0x2ff)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x8bb784[_0x22e50c(0x347)]()};return{'object':_0x1777b5,'info':{..._0x3f267e,'unitId':_0x1777b5[_0x22e50c(0x458)],'subUnitId':_0x1777b5[_0x22e50c(0x384)],'shapeKey':_0x1777b5[_0x22e50c(0x3e3)],'readonly':!0x0,'copyable':(0x0,_0x1d5dc9[_0x22e50c(0x3d7)])(_0x504dbc,_0x1777b5[_0x22e50c(0x458)],_0x1777b5[_0x22e50c(0x458)],_0x3036e9[_0x22e50c(0x197)][_0x22e50c(0x208)])},'attachPopup':()=>_0x201cd2['attachPopupToObject'](_0x46c0c3,_0x4fd43d,_0x46c0c3[_0x22e50c(0x458)])};}});}};_0x213643=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x49227b[_0x5936e8(0x1d2)])),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x377)])],_0x213643);let _0x408080=class extends _0x1f0d53['Disposable']{constructor(_0x1c4c31,_0x429b63,_0x27a289,_0x518503,_0x358d22,_0x1435a1,_0x54655a,_0x50cf56,_0x25af0f,_0x235712,_0x37c2c1,_0x3a25bc){const _0x11dade=_0x5936e8;super(),this[_0x11dade(0x391)]=_0x1c4c31,this[_0x11dade(0x336)]=_0x429b63,this['_menuManagerService']=_0x27a289,this[_0x11dade(0x397)]=_0x518503,this[_0x11dade(0x3a3)]=_0x358d22,this['_commandService']=_0x1435a1,this[_0x11dade(0x1e2)]=_0x54655a,this[_0x11dade(0x41f)]=_0x50cf56,this['_renderManagerService']=_0x25af0f,this[_0x11dade(0x31c)]=_0x235712,this[_0x11dade(0x304)]=_0x37c2c1,this[_0x11dade(0x221)]=_0x3a25bc,_0x3f767d(this,_0x11dade(0x508),null),_0x3f767d(this,_0x11dade(0x495),null),_0x3f767d(this,_0x11dade(0x1aa),!0x1),_0x3f767d(this,_0x11dade(0x1de),0x0),_0x3f767d(this,'_disposePopupsByUnit',new Map()),_0x3f767d(this,'_popupTargetKeys',new Map()),this[_0x11dade(0x3dc)](),this[_0x11dade(0x487)](this[_0x11dade(0x391)][_0x11dade(0x227)](_0x1f0d53[_0x11dade(0x2ab)][_0x11dade(0x471)])[_0x11dade(0x442)](_0x3fbf7e=>{const _0x2a3b0e=_0x11dade;if(!_0x3fbf7e){var _0x10a936;(_0x10a936=this[_0x2a3b0e(0x508)])==null||_0x10a936[_0x2a3b0e(0x342)]();}})),this[_0x11dade(0x2d5)](),this[_0x11dade(0x487)](this['_drawingManagerService']['remove$'][_0x11dade(0x442)](_0x25d1f8=>{const _0x1ca865=_0x11dade;for(let _0xf760f8 of _0x25d1f8){let _0x1f6115=_0xf760f8[_0x1ca865(0x458)]+':'+_0xf760f8[_0x1ca865(0x384)]+':'+_0xf760f8[_0x1ca865(0x240)];for(let [_0xf87606,_0xf32c5b]of this[_0x1ca865(0x4df)])_0xf32c5b===_0x1f6115&&this[_0x1ca865(0x394)](_0xf87606,!0x0);}})),this[_0x11dade(0x487)]((0x0,_0x49227b[_0x11dade(0x1ec)])(this[_0x11dade(0x271)],_0x1f0d53[_0x11dade(0x2ab)][_0x11dade(0x471)],_0x1e7bc0=>this[_0x11dade(0x1f8)](_0x1e7bc0))),this[_0x11dade(0x487)](this[_0x11dade(0x304)]['editingParams$'][_0x11dade(0x442)](_0x386687=>{const _0x3ff303=_0x11dade;_0x386687&&this[_0x3ff303(0x394)](void 0x0,!0x0);})),this[_0x11dade(0x487)](this['_permissionService'][_0x11dade(0x1ae)][_0x11dade(0x442)](()=>{const _0x484758=_0x11dade;this[_0x484758(0x1e2)]['getFocusDrawings']()['some'](_0x376e1d=>_0x376e1d[_0x484758(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x484758(0x39d)]&&this[_0x484758(0x391)]['getUnitType'](_0x376e1d[_0x484758(0x458)])===_0x1f0d53[_0x484758(0x2ab)][_0x484758(0x471)]&&!this[_0x484758(0x243)](_0x376e1d['unitId'],_0x376e1d[_0x484758(0x240)]))&&(this[_0x484758(0x394)](void 0x0,!0x0),this[_0x484758(0x4fd)]());}));}['_initMenu'](){const _0x1243bb=_0x5936e8;this[_0x1243bb(0x21d)]['mergeMenu'](_0x394914);}['getShapePopupMenus'](_0x1ec5de,_0x1df654,_0x5f4d56,_0x3e2d15){const _0xe58d7a=_0x5936e8;return[{'label':_0xe58d7a(0x313),'index':0x0,'commandId':_0x4bbe2e['id'],'commandParams':{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56},'disable':_0x3e2d15===_0x1f0d53['DrawingTypeEnum'][_0xe58d7a(0x49a)]},{'label':_0xe58d7a(0x36a),'index':0x1,'commandId':_0x468af2['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x1ec5de,'drawings':[{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56}]},'disable':!0x1},{'label':_0xe58d7a(0x21c),'index':0x2,'commandId':_0x5d3d74['id'],'commandParams':{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56},'disable':!0x1}];}['_getShapeInfo'](_0x4dbcb4,_0x4478a9,_0x4989a1){const _0x2fa44e=_0x5936e8;let _0x9080a7=this[_0x2fa44e(0x397)][_0x2fa44e(0x325)](_0x4dbcb4,_0x4478a9,_0x4989a1),_0x207423=this[_0x2fa44e(0x397)][_0x2fa44e(0x2ed)](_0x4dbcb4,_0x4478a9,_0x4989a1);return _0x9080a7!==void 0x0&&_0x207423!==void 0x0?{'shapeData':_0x207423,'shapeId':_0x4989a1,'shapeType':_0x9080a7,'unitId':_0x4dbcb4,'subUnitId':_0x4478a9,'version':this[_0x2fa44e(0x1de)],'disableShapeOption':!0x1}:null;}[_0x5936e8(0x394)](_0x2164bf,_0x14082d=!0x1){const _0x4770c7=_0x5936e8;if(_0x2164bf==null){[...this[_0x4770c7(0x50a)][_0x4770c7(0x3c5)]()][_0x4770c7(0x2f3)](_0x1d9ec9=>this[_0x4770c7(0x394)](_0x1d9ec9,_0x14082d));return;}let _0x473e06=this[_0x4770c7(0x50a)][_0x4770c7(0x22c)](_0x2164bf);if(_0x473e06){for(let _0x54358d=_0x473e06[_0x4770c7(0x2b1)]-0x1;_0x54358d>=0x0;--_0x54358d){let _0x4ccf73=_0x473e06[_0x54358d];(_0x14082d||_0x4ccf73['canDispose']())&&(_0x4ccf73[_0x4770c7(0x342)](),_0x473e06[_0x4770c7(0x4cf)](_0x54358d,0x1));}_0x473e06[_0x4770c7(0x2b1)]===0x0&&(this['_disposePopupsByUnit'][_0x4770c7(0x30a)](_0x2164bf),this[_0x4770c7(0x4df)][_0x4770c7(0x30a)](_0x2164bf));}}[_0x5936e8(0x1bc)](_0x3cf81d){const _0x69311=_0x5936e8;let _0x290b21=this['_disposePopupsByUnit'][_0x69311(0x22c)](_0x3cf81d);if(_0x290b21)return _0x290b21;let _0x40b94d=[];return this[_0x69311(0x50a)]['set'](_0x3cf81d,_0x40b94d),_0x40b94d;}['_popupMenuListener'](_0xb68edd){const _0x321e22=_0x5936e8;var _0x4ba585;let _0x403077=new _0x1f0d53[(_0x321e22(0x393))](),_0x58ace8=(_0x4ba585=this[_0x321e22(0x271)][_0x321e22(0x31b)](_0x1f0d53[_0x321e22(0x2ab)]['UNIVER_DOC'])[_0x321e22(0x372)](_0x1c46f2=>_0x1c46f2[_0x321e22(0x307)][_0x321e22(0x26e)]()===_0xb68edd))==null?void 0x0:_0x4ba585[_0x321e22(0x458)];return _0x58ace8&&(_0x403077[_0x321e22(0x4c8)](_0xb68edd[_0x321e22(0x230)][_0x321e22(0x442)](()=>this[_0x321e22(0x40a)](_0xb68edd,_0x58ace8))),_0x403077[_0x321e22(0x4c8)](_0xb68edd['clearControl$']['subscribe'](()=>{const _0x59c58a=_0x321e22;this[_0x59c58a(0x394)](_0x58ace8),queueMicrotask(()=>{const _0x500a97=_0x59c58a;_0xb68edd['getSelectedObjectMap']()[_0x500a97(0x26f)]>0x0||!this['_drawingManagerService'][_0x500a97(0x456)]()[_0x500a97(0x318)](_0x326826=>_0x326826['unitId']===_0x58ace8)||(this[_0x500a97(0x31c)][_0x500a97(0x4ef)](_0x1f0d53['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x500a97(0x1e2)]['focusDrawing'](null));});})),_0x403077[_0x321e22(0x4c8)](_0xb68edd[_0x321e22(0x4f7)][_0x321e22(0x442)](()=>{this['_clearPopups'](_0x58ace8,!0x0);}))),_0x403077;}[_0x5936e8(0x40a)](_0xe4e269,_0x5025e8){const _0x1851fe=_0x5936e8;let _0x4d8ef2=_0xe4e269['getSelectedObjectMap']();if(this[_0x1851fe(0x1aa)]){this[_0x1851fe(0x394)](_0x5025e8,!0x0);return;}if(_0x4d8ef2[_0x1851fe(0x26f)]>0x1){this['_clearPopups'](_0x5025e8);return;}let _0x168c79=_0x4d8ef2[_0x1851fe(0x21a)]()[_0x1851fe(0x420)]()[_0x1851fe(0x3ca)];if(!_0x168c79){this[_0x1851fe(0x394)](_0x5025e8);return;}let _0x458a46=this[_0x1851fe(0x1e2)]['getDrawingOKey'](_0x168c79[_0x1851fe(0x3e3)]);if(!_0x458a46||_0x458a46[_0x1851fe(0x486)]!==_0x1f0d53[_0x1851fe(0x331)][_0x1851fe(0x39d)]){this[_0x1851fe(0x394)](_0x5025e8);return;}let {unitId:_0x4498c5,subUnitId:_0x396427,drawingId:_0x2f595f,drawingType:_0x2dc2e9}=_0x458a46;if(!this[_0x1851fe(0x243)](_0x4498c5,_0x2f595f)){this['_clearPopups'](_0x5025e8,!0x0);return;}let _0x31ccfd=this[_0x1851fe(0x3e1)](_0x4498c5,_0x396427,_0x2f595f);if(!_0x31ccfd){this[_0x1851fe(0x394)](_0x5025e8);return;}let _0x2578f0=this[_0x1851fe(0x50a)][_0x1851fe(0x22c)](_0x5025e8),_0x1a9408=_0x4498c5+':'+_0x396427+':'+_0x2f595f;if(this[_0x1851fe(0x4df)]['get'](_0x5025e8)===_0x1a9408&&_0x2578f0&&_0x2578f0[_0x1851fe(0x2b1)]>0x0)return;this[_0x1851fe(0x394)](_0x5025e8);let _0xdc9663=this[_0x1851fe(0x271)]['getRenderUnitById'](_0x4498c5),_0x1ba993=((_0xdc9663==null?void 0x0:_0xdc9663[_0x1851fe(0x4bf)])===!0x1?_0xdc9663['with'](_0x4fb755[_0x1851fe(0x37a)]):this[_0x1851fe(0x41f)])[_0x1851fe(0x4da)](_0x168c79,this['_getShapePopup'](_0x31ccfd,_0x2dc2e9),_0x4498c5);this['disposeWithMe'](_0x1ba993),this[_0x1851fe(0x1bc)](_0x5025e8)[_0x1851fe(0x2a4)](_0x1ba993),this[_0x1851fe(0x4df)][_0x1851fe(0x4fe)](_0x5025e8,_0x1a9408),this[_0x1851fe(0x1e2)][_0x1851fe(0x456)]()[_0x1851fe(0x318)](_0x208a84=>_0x208a84[_0x1851fe(0x458)]===_0x4498c5&&_0x208a84[_0x1851fe(0x384)]===_0x396427&&_0x208a84[_0x1851fe(0x240)]===_0x2f595f)||this[_0x1851fe(0x1e2)]['focusDrawing']([{'unitId':_0x4498c5,'subUnitId':_0x396427,'drawingId':_0x2f595f}]);}[_0x5936e8(0x42b)](_0x2e6d46,_0x3793a0){const _0x43794f=_0x5936e8;return{'componentKey':_0x2df62f,'requiresStableLayout':!0x1,'direction':'vertical-center','offset':[0x0,_0x49227b[_0x43794f(0x34f)]],'extraProps':{'unitId':_0x2e6d46[_0x43794f(0x458)],'subUnitId':_0x2e6d46[_0x43794f(0x384)],'drawingId':_0x2e6d46['shapeId'],'drawingType':_0x3793a0,'shapeType':_0x2e6d46['shapeType'],'shapeData':_0x2e6d46['shapeData']}};}[_0x5936e8(0x243)](_0x2b20f4,_0x4fe022){const _0x64ae4a=_0x5936e8;let _0x2ca279=this[_0x64ae4a(0x391)][_0x64ae4a(0x4c9)](_0x2b20f4,_0x1f0d53['UniverInstanceType']['UNIVER_DOC']);if(!_0x2ca279)return!0x1;let _0x284139=(0x0,_0x1d5dc9[_0x64ae4a(0x186)])(_0x2ca279,_0x4fe022);return(0x0,_0x1d5dc9[_0x64ae4a(0x18b)])(this[_0x64ae4a(0x221)],_0x2b20f4,[...(0x0,_0x1d5dc9[_0x64ae4a(0x4d7)])(_0x2ca279,_0x284139,_0x64ae4a(0x436),_0x4fe022),(0x0,_0x1d5dc9['getDocumentEntityPermissionObjectId'])(_0x284139,_0x64ae4a(0x436),_0x4fe022)]);}['_registerOperations'](){const _0x12c896=_0x5936e8;this[_0x12c896(0x487)](this[_0x12c896(0x500)]['onCommandExecuted'](_0x518ca0=>{const _0x1d0702=_0x12c896;if(_0x518ca0['id']===_0x4bbe2e['id']){let {unitId:_0x5e342a,subUnitId:_0x2925c0,drawingId:_0x456a86}=_0x518ca0[_0x1d0702(0x41a)];this[_0x1d0702(0x1de)]+=0x1,this[_0x1d0702(0x495)]=this[_0x1d0702(0x3e1)](_0x5e342a,_0x2925c0,_0x456a86),this[_0x1d0702(0x394)](void 0x0,!0x0),this[_0x1d0702(0x47f)]();}if(_0x518ca0['id']===_0x5d3d74['id']&&(this[_0x1d0702(0x495)]=null,this[_0x1d0702(0x4fd)]()),_0x518ca0['id']===_0x3a18ad['UpdateDocShapeDataMutation']['id']){let {unitId:_0x506448,shapeId:_0x475aee}=_0x518ca0[_0x1d0702(0x41a)];if(this['_activeShapeInfo']&&this[_0x1d0702(0x495)]['shapeId']===_0x475aee){let _0x4aa94a=this[_0x1d0702(0x3e1)](_0x506448,this['_activeShapeInfo'][_0x1d0702(0x384)],_0x475aee);_0x4aa94a&&(this[_0x1d0702(0x1de)]+=0x1,_0x4aa94a['version']=this[_0x1d0702(0x1de)],this[_0x1d0702(0x495)]=_0x4aa94a,this[_0x1d0702(0x1aa)]&&this[_0x1d0702(0x47f)]());}}})),this[_0x12c896(0x487)](this[_0x12c896(0x1e2)][_0x12c896(0x4b1)][_0x12c896(0x442)](_0x51794a=>{const _0x1b81d0=_0x12c896;if(this[_0x1b81d0(0x1aa)]===!0x1)return;if(_0x51794a['length']===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x51794a['length']===0x1&&_0x51794a[0x0][_0x1b81d0(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x1b81d0(0x39d)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0]['subUnitId'],_0x51794a[0x0]['drawingId']),this[_0x1b81d0(0x495)])){this['_openShapeEditPanel']();return;}let _0x5ef76a=_0x51794a[_0x1b81d0(0x21f)](_0x4a9344=>_0x4a9344[_0x1b81d0(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x1b81d0(0x39d)]);if(_0x51794a[_0x1b81d0(0x2b1)]>0x1&&_0x5ef76a[_0x1b81d0(0x2b1)]===_0x51794a['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0]['subUnitId'],_0x51794a[0x0][_0x1b81d0(0x240)]),this['_activeShapeInfo']){this[_0x1b81d0(0x47f)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0][_0x1b81d0(0x384)],_0x51794a[0x0][_0x1b81d0(0x240)]),this[_0x1b81d0(0x495)]){this['_activeShapeInfo'][_0x1b81d0(0x25f)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x1b81d0(0x4fd)]();}));}[_0x5936e8(0x47f)](){const _0x495c96=_0x5936e8;this[_0x495c96(0x495)]&&(this['_sidebarDisposable']=this[_0x495c96(0x336)][_0x495c96(0x328)]({'id':_0x33cbc8,'header':{'title':this[_0x495c96(0x3a3)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x33cbc8,...this[_0x495c96(0x495)]},'onClose':()=>{const _0x2db43c=_0x495c96;this['_drawingManagerService'][_0x2db43c(0x4c4)](null),this[_0x2db43c(0x31c)][_0x2db43c(0x4ef)](_0x1f0d53[_0x2db43c(0x4ca)],!0x1),this[_0x2db43c(0x508)]=null;}}),this[_0x495c96(0x1aa)]=!0x0);}[_0x5936e8(0x4fd)](){const _0x1d0d4c=_0x5936e8;this[_0x1d0d4c(0x1aa)]=!0x1,this[_0x1d0d4c(0x336)]['close'](_0x33cbc8),this['_sidebarDisposable']=null,this[_0x1d0d4c(0x31c)][_0x1d0d4c(0x4ef)](_0x1f0d53[_0x1d0d4c(0x4ca)],!0x1),this['_drawingManagerService'][_0x1d0d4c(0x4c4)](null);}};_0x408080=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IUniverInstanceService']),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe['ISidebarService'])),_0x570e4a(0x2,_0x17ddbe[_0x5936e8(0x25d)]),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53[_0x5936e8(0x3f4)])),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x6,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x8,_0x2de297['IRenderManagerService']),_0x570e4a(0x9,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0xa,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0xb,_0x1f0d53[_0x5936e8(0x377)])],_0x408080);let _0x5c79a4=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x4a96eb,_0x447ad1){const _0x1401a3=_0x5936e8;super(),this[_0x1401a3(0x397)]=_0x4a96eb,this[_0x1401a3(0x3a3)]=_0x447ad1,this[_0x1401a3(0x487)]((0x0,_0x1f0d53[_0x1401a3(0x296)])((0x0,_0x2de297[_0x1401a3(0x38c)])((_0x283615,_0x8e782d,_0x4e9948)=>this['_measure'](_0x283615,_0x8e782d,_0x4e9948))));}['_measure'](_0x25690b,_0x5959c8,_0x238a7d){const _0x5bfa61=_0x5936e8;let _0x241858=this[_0x5bfa61(0x397)][_0x5bfa61(0x206)](_0x25690b,_0x5959c8);if(!_0x241858)return null;let _0x49a9e2=_0x241858[_0x5bfa61(0x4fc)](),_0x277189=(0x0,_0x14b8aa['resolveShapeTextBodyBehavior'])(_0x49a9e2),_0x27d5d8=_0x49a9e2['shapeText'];if(!_0x27d5d8||_0x277189[_0x5bfa61(0x20c)]!==_0x14b8aa[_0x5bfa61(0x43e)][_0x5bfa61(0x403)])return null;let _0x424f7c=_0x238a7d[_0x5bfa61(0x19d)],_0x2d6f1b=_0x238a7d['fallbackHeight'];_0x241858['updateContext']({'width':_0x424f7c,'height':_0x2d6f1b});let _0x56890d=_0x241858[_0x5bfa61(0x34e)]({'left':0x0,'top':0x0,'width':_0x424f7c,'height':_0x2d6f1b}),_0x15ee15=(0x0,_0x49227b['normalizeShapeTextModel'])(_0x5bfa61(0x4a5)in _0x27d5d8?_0x27d5d8['dataModel']:void 0x0),_0x382b11=(_0x15ee15==null?void 0x0:_0x15ee15[_0x5bfa61(0x509)])??(_0x5bfa61(0x3e8)in _0x27d5d8?(0x0,_0x49227b['plainShapeTextToDocumentData'])(_0x27d5d8,_0x5959c8+'-layout'):null);if(!_0x382b11)return null;let _0x53466f=(0x0,_0x49227b[_0x5bfa61(0x226)])({'documentData':_0x382b11,'height':_0x2d6f1b,'shapeData':_0x49a9e2,'textRect':_0x56890d,'width':_0x424f7c,'widthBuffer':0x0});_0x53466f&&({width:_0x424f7c,height:_0x2d6f1b}=_0x53466f,_0x241858[_0x5bfa61(0x264)]({'width':_0x424f7c,'height':_0x2d6f1b}),_0x56890d=_0x241858[_0x5bfa61(0x34e)]({'left':0x0,'top':0x0,'width':_0x424f7c,'height':_0x2d6f1b}));let _0x47cc9a=_0x27d5d8['isHorizontal']!==!0x1,_0xe53ff2=(0x0,_0x49227b[_0x5bfa61(0x41c)])(_0x382b11,{'isHorizontal':_0x47cc9a,'textRect':_0x56890d,'verticalAlign':_0x15ee15==null?void 0x0:_0x15ee15['va'],'horizontalAlign':_0x15ee15==null?void 0x0:_0x15ee15['ha'],'wrapStrategy':(0x0,_0x49227b[_0x5bfa61(0x20f)])(_0x49a9e2)}),_0x40f440=new _0x1f0d53[(_0x5bfa61(0x335))](_0xe53ff2),_0x32139d=new _0x2de297[(_0x5bfa61(0x2cb))](_0x40f440),_0x40f0f8=_0x2de297[_0x5bfa61(0x3a9)][_0x5bfa61(0x33e)](_0x32139d,this[_0x5bfa61(0x3a3)]);try{var _0x2ee292,_0x12162f;_0x40f0f8[_0x5bfa61(0x37f)]();let _0x3df94d=((_0x2ee292=_0x40f0f8['getSkeletonData']())==null?void 0x0:_0x2ee292[_0x5bfa61(0x485)])??[],_0x3cb35e=_0x3df94d[_0x3df94d[_0x5bfa61(0x2b1)]-0x1],_0x334c95=_0x3cb35e?Math[_0x5bfa61(0x1ac)](0x0,((_0x12162f=(0x0,_0x2de297['getLastLine'])(_0x3cb35e))==null?void 0x0:_0x12162f[_0x5bfa61(0x396)])??0x0):0x0,_0x5740d8=_0x40f0f8[_0x5bfa61(0x4a7)]()[_0x5bfa61(0x283)]+_0x334c95-(_0x47cc9a?_0x56890d[_0x5bfa61(0x2c1)]:_0x56890d['width']);return Number[_0x5bfa61(0x1be)](_0x5740d8)?_0x47cc9a?{'width':_0x424f7c,'height':Math[_0x5bfa61(0x1ac)](0x1,_0x2d6f1b+_0x5740d8)}:{'width':Math['max'](0x1,_0x424f7c+_0x5740d8),'height':_0x2d6f1b}:null;}finally{_0x40f0f8[_0x5bfa61(0x342)](),_0x32139d['dispose'](),_0x40f440[_0x5bfa61(0x342)]();}}};_0x5c79a4=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53[_0x5936e8(0x3f4)]))],_0x5c79a4);let _0xb48c3e=class extends _0x1f0d53[_0x5936e8(0x1d6)]{constructor(_0x429f=_0x599d43,_0x587240,_0x567610,_0x43b9ac,_0x431f1b){const _0x2c5f72=_0x5936e8;super(),this['_config']=_0x429f,this[_0x2c5f72(0x233)]=_0x587240,this[_0x2c5f72(0x500)]=_0x567610,this[_0x2c5f72(0x216)]=_0x43b9ac,this[_0x2c5f72(0x271)]=_0x431f1b;let {menu:_0x349f6c,..._0x331287}=(0x0,_0x1f0d53[_0x2c5f72(0x1a1)])({},_0x599d43,this[_0x2c5f72(0x29d)]);_0x349f6c&&this[_0x2c5f72(0x216)][_0x2c5f72(0x408)]('menu',_0x349f6c,{'merge':!0x0}),this[_0x2c5f72(0x216)]['setConfig'](_0x286ff0,_0x331287),this['_initCommands']();}['onStarting'](){const _0x42be35=_0x5936e8;(0x0,_0x1f0d53[_0x42be35(0x220)])(this['_injector'],this[_0x42be35(0x188)]()),this[_0x42be35(0x233)][_0x42be35(0x22c)](_0x50f8ec),this['_initUIPart']();}[_0x5936e8(0x188)](){return[[_0x50f8ec],[_0x408080],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x8ad386],[_0x31289f],[_0x212450],[_0x5c79a4],[_0x3e3971],[_0x79c20b]];}[_0x5936e8(0x32f)](){const _0x5df4d1=_0x5936e8;this[_0x5df4d1(0x3ea)]()[_0x5df4d1(0x2f3)](_0xe2e46f=>{const _0x21ddbf=_0x5df4d1;this[_0x21ddbf(0x487)](this[_0x21ddbf(0x271)][_0x21ddbf(0x2c5)](_0x1f0d53['UniverInstanceType'][_0x21ddbf(0x471)],_0xe2e46f));}),(0x0,_0x1f0d53[_0x5df4d1(0x444)])(this[_0x5df4d1(0x233)],[[_0x408080],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x31289f],[_0x212450],[_0x5c79a4],[_0x3e3971],[_0x79c20b]]);}['_getRenderModules'](){return[[_0x8ad386],[_0x4ed37a],[_0x213643],[_0xf9ce1d]];}[_0x5936e8(0x363)](){const _0x67f66c=_0x5936e8;this[_0x67f66c(0x487)](this['_renderManagerService'][_0x67f66c(0x2c5)](_0x1f0d53[_0x67f66c(0x2ab)][_0x67f66c(0x471)],[_0xa231f2]));}[_0x5936e8(0x1f9)](){const _0xa0dc9e=_0x5936e8;[_0x5dc3f0,_0x5d3d74,_0x4bbe2e,_0x1ac0f7,_0x3c67d5,_0x5116cf][_0xa0dc9e(0x2f3)](_0x43194c=>this['disposeWithMe'](this[_0xa0dc9e(0x500)][_0xa0dc9e(0x3fd)](_0x43194c)));}[_0x5936e8(0x3df)](){const _0x11119a=_0x5936e8;let _0xb20d74=this['_injector'],_0x1a053a=_0xb20d74[_0x11119a(0x22c)](_0x17ddbe[_0x11119a(0x499)]);this[_0x11119a(0x487)](_0x1a053a['registerComponent'](_0x17ddbe[_0x11119a(0x387)][_0x11119a(0x28f)],()=>(0x0,_0x17ddbe[_0x11119a(0x2f7)])(_0x1ea311,_0xb20d74)));}};_0x3f767d(_0xb48c3e,'type',_0x1f0d53[_0x5936e8(0x2ab)][_0x5936e8(0x471)]),_0x3f767d(_0xb48c3e,_0x5936e8(0x2b6),_0x5936e8(0x447)),_0x3f767d(_0xb48c3e,_0x5936e8(0x194),_0x3fc22f),_0x3f767d(_0xb48c3e,_0x5936e8(0x2ba),_0x54ac81),_0xb48c3e=_0x348fea([(0x0,_0x1f0d53[_0x5936e8(0x1b3)])(_0x2f7626[_0x5936e8(0x27a)],_0x1d5dc9[_0x5936e8(0x1ab)],_0x1b10bd[_0x5936e8(0x353)],_0x1b3d5c[_0x5936e8(0x40b)],_0x2de297['UniverRenderEnginePlugin'],_0x4fb755['UniverDocsUIPlugin'],_0x5e0109['UniverShapeEditorPlugin'],_0x9fb89c[_0x5936e8(0x454)],_0x3a18ad['UniverDocsShapePlugin'],_0x49227b['UniverShapeEditorUIPlugin']),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53['Injector'])),_0x570e4a(0x2,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x4ce)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)])],_0xb48c3e),_0x4494af[_0x5936e8(0x263)]=_0x394914,Object[_0x5936e8(0x4aa)](_0x4494af,_0x5936e8(0x1ad),{'enumerable':!0x0,'get':function(){return _0x3019be;}}),Object['defineProperty'](_0x4494af,_0x5936e8(0x1a9),{'enumerable':!0x0,'get':function(){return _0xb48c3e;}});}));function _0x8eb6(_0x5a7c99,_0xf55f92){_0x5a7c99=_0x5a7c99-0x182;const _0xd530ef=_0xd530();let _0x8eb677=_0xd530ef[_0x5a7c99];return _0x8eb677;}function _0xd530(){const _0x17c777=['Module','shapeText','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs/drawing-ui','UnitObject','_drawRichTextLayer','onPointerMove$','isRenderLinePointsMode','registerCommand','headerId','MobileShapeEditorControls','IURLImageService','_activeAdjustInfo','COMMAND','SpAutoFit','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','_activeShapeId','add$','with','setConfig','M2\x203h16M2\x2017h16','_handleCreateControl','UniverDrawingUIPlugin','extensionGroups','prstGeom','DrawingCommonPanel','ShapeTextRibbonControl','getObjectIncludeInGroup','_initPrinting','SHAPE_EDITOR_TRANSFORMER_CONFIG','IContextService','_adjHandlerPointerUp','ToggleShapeFloatingToolbarOperation','_shapeFormulaService','_initEvents','function','_imageIoService','params','footerId','prepareShapeTextDocumentData','getActiveTextRange','_updateAdjustControlPositions','_docCanvasPopManagerService','next','RENDER_CLASS_TYPE','useRef','presentationChanged$','Vector2','flipX','drawing-ui.objectListPanel.show','docs-shape-ui.textWrap.inline','getPropertyPriority','originalStrokeWidth','setAdjustValueByName','_getShapePopup','ShapeGroupEnum','_isStartAdjusting','front','evenodd','div','Injector','PARAGRAPH','sectionCanvas','IRenderManagerService','cloneShapeDataForType','drawing','M4.2\x208.3H6.8','UUID','resetCursor','skeTables','below','ShapeArrowSizeEnum','TRUE','ShapeTextAutoFitType','object','presetId','setProperty','subscribe','SELECTOR','touchDependencies','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','makeDirty','DOCS_SHAPE_UI_PLUGIN','useDependency','visible$','docs-shape-ui.ribbon.shape-format.arrange-back','close','getDrawingByParam','Medium','custom','fillType','getEditing','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','generateRandomId','stroke-width','UniverDocsDrawingUIPlugin','MobileShapeEditorService','getFocusDrawings','shapeData','unitId','_transformCalculateSrcRect','useEffect','ShapeDefaultConfig','_attachAdjustEvent','onPointerDown$','enhanceParams','DocsShapeWrapBehindTextIcon','activateDrawingObject','SolidLine','docs-shape-ui.insertShape','image','fontFamily','transformForAngle','plainShapeTextToDocumentData','startArrow','SHAPE_CHANGE_PICKER_COMPONENT','endOffset','text','_formulaShapes','forwardRef','_baseShapeHeight','getPropertyValue','_addShapeAdjustControl','OFFSET','UNIVER_DOC','doc.operation.open-shape-object-list-panel','PictureFill','IUniverInstanceService','BEHIND_TEXT','setPresentation','forward','univer-box-border\x20univer-px-4\x20univer-text-sm','_ribbonService','path','disableObjectsEvent','resize','doc.operation.open-doc-shape-format-panel','@univerjs-pro/shape-editor','_openShapeEditPanel','clip-','type','_drawShapeText','translateWithPrecision','attrs','pages','drawingType','disposeWithMe','priority','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','rxjs','BehaviorSubject','@univerjs/ui','actions','memo','DRAWING_IMAGE','displayName','getBody','_activeShapeModel','srcRect','ShapeTextFloatToolbar','_activeShapeInfo','layoutType','move-down-icon','@univerjs/docs','IUIPartsService','DRAWING_DOM','drawing-ui.objectListPanel.sectionCanvas','docs-shape-ui.textWrap.square','None','replace','getState','horizontal','span','_clipService','_canEdit','_iconManager','dataModel','setFallbackVisible','getActualSize','drawing-ui.objectListPanel.typeNames.','UniverProShapeEditor','defineProperty','constructor','setEditing','ShapeFloatingToolbarToggleFactory','currentColor','onerror','behind','focus$','getUnitType','startIndex','MoreDownIcon','setSrcRect','calcAdjValues','renderDrawingShape','shapeId','drawing-ui.objectListPanel.unlock','getTextModel','_applyFormulaAutoFitSize','drawing-ui.objectListPanel.hide','save','beginPath','isMainScene','refreshAdjustControls','@univerjs-pro/engine-shape','order','UniverDrawing','focusDrawing','MenuManagerPosition','BooleanNumber','label','add','getUnit','FOCUSING_COMMON_DRAWINGS','sin','iterator','CURSOR_TYPE','IConfigService','splice','_formulaKey','strokeOpacity','popup','_baseShapeWidth','pageWidth','@univerjs-pro/shape-editor-ui','doc.shape.object-list.panel','getDocumentEntityParentPermissionObjectIds','getContextValue','flipY','attachPopupToObject','_layoutInteraction','setShapeProps','#2563EB','decorate','_popupTargetKeys','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverDocs','presentation','_completionFrame','flatMap','doc.image-clip.shape-picker.component','onDblclick$','_hyperLinkRegions','doc.operation.close-doc-shape-format-panel','isRender','WRAP_NONE','ShapeFormatSettingIcon','square','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','setContextValue','attachTransformerTo','menu','featurePluginUpdateNotification','_insertShapes','toFixed','getDrawingTypeNameKey','useId','changing$','backward','invert','refreshTransform$','_getShapeAdjustInfosById','getShapeData','_closeShapeEditPanel','set','doc.shape.floating-toolbar','_commandService','bottom','executeCommand','1.4.0','getOwnPropertyDescriptor','none','HorizontalAlign','1632234OMKTZt','_sidebarDisposable','doc','_disposePopupsByUnit','drawing-ui.objectListPanel.unlockAll','@univerjs-pro/docs-shape-ui','DEFAULT_DOC_SHAPE_WIDTH','LEFT','adjHandleSize','getDrawingSearch','useLayoutEffect','beginInteraction','panel','UniverShapeEditorPlugin','getDocumentDrawingSegmentId','1.2','_getDependencies','contentVerticalOffset','getImage','canEditDocumentTargets','clearAdjustValue','enableObjectsEvent','_refreshShapeData','parseFloat','0\x200\x2017\x2016','color','getPresentation','reduce','packageName','SHAPE_TEXT','animationEnabled','UnitAction','Observable','IImageIoService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MobileShapePickerPanel','20PgqNXg','fallbackWidth','_formulaAnimation','addObject','_lastEditingShapeKey','merge','_updateSrcRectByTransform','mergeMenu','getParagraphContentStartOffset','_docDrawingShapeRenderController','MobileObjectListPanel','style','pick','UniverDocsShapeUIPlugin','_isOpenedShapeEditPanel','UniverDocsPlugin','max','UniverDocsShapeMobileUIPlugin','permissionPointUpdate$','text-wrap-shape-icon','UniverUi','_initialize','useObservable','DependentOn','shape-editor-ui.toolbar.quickStyles','idSuffix','isLineShape','removeProperty','_initEditingParams','getSnapshot','ObjectPermissionButton','rows','_getDisposePopups','indexOf','isFinite','createElement','UpdateDocShapeDataCommand','getSelectedObjectMap','_init','ShapeTextEditorContainer','clipHeight','transform','composeMatrix','EMPTY_PARAGRAPH_MENU_ID','FromArray','UpdateDocDrawingWrappingStyleCommand','UniverDocsShapePlugin','_drawSimpleText','formulaPresentation','inline','adjHandleFill','UniverProDocsShapeUi','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','INLINE','ShapeTextHyperLinkPopupService','ancestorTransform','DRAWING_OBJECT_LAYER_INDEX','applyPoint','Plugin','getDrawingOrder','TextWrappingStyle','getDrawingData','docs-shape-ui.crop.shape','back','Disposable','ObjectListPanelBase','_shapeEditPanelVersion','MoveUpIcon','formulaBinding','CommandType','_drawingManagerService','setFillImage','_releaseRenderCache','clearControl$','resolveHyperLinkAt','Inject','fillImageSourceType','canvasElement','FloatingObjectToolbarPosition','ObjectLayersIcon','bindRenderTransformerLifecycle','onPointerUp$','_update','gradientEndColor','skeHeaders','stroke','entries','animateFormulaPresentation','ContextMenuGroup','canvas','docs-shape-ui.textWrap.behindText','has','_popupMenuListener','_initCommands','_props','ShapeTextFloatMenuRenderControllerBase','7HDYlyJ','docs-shape-format-font-family-menu','headerLayoutKey','ArrangeTypeEnum','docs-shape-ui.ribbon.shape-format.arrange-front','_registerImageShapeClipDelegate','UniverCore','contentHeight','getAdjustInfoByName','docs-shape-ui.quickStyles','getShapeModel','DocsShapeWrapInlineIcon','Copy','_updateShapeAdjustControls','docs-shape-ui.ribbon.shape-format.style-control','_adjustPointObjects','autoFitType','footerLayoutKey','startWith','resolveShapeTextEditorWrapStrategy','call','interceptor','true','_toScenePoint','isConnectorShape','defIds','_configService','isDrawingObject','pipe','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','values','_drawRichText','docs-shape-ui.hidePanel','_menuManagerService','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','filter','registerDependencies','_permissionService','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','Large','IDrawingManagerService','TextWrapShapeIcon','resolveFormulaShapeAutoFitSize','getCurrentTypeOfUnit$','shape-editor-ui.arrange.back','M5\x209.5L8\x206.5L11\x209.5','M5\x206.5L8\x209.5L11\x206.5','UniverDocsDrawingMobileUIPlugin','get','shouldAllowShapeTextEditorHostSizeShrink','parent','top-center','createControl$','clipTop','changeEnd$','_injector','Rect','drawing-ui.objectListPanel.noSelection','addImageSourceCache','fill','clip','DocumentEntity','docs-shape-ui.shape-format.quick-style-gallery','behindText','Circle','DocParagraphMenuService','@univerjs/protocol','hadStyleAttribute','drawingId','@univerjs-pro/license','setCursor','_canEditShape','DocsShapeTextEditorContainer','angle','getRenderUnitById','RemoveDocDrawingCommand','strokeWidth','current','unregister','vertical','drawing-ui.objectListPanel.close','_clearCompletionFrame','_activeShapeAdjustPointList','objects','offsetY','adjHandleStroke','getInterceptPoints','univerjs-icon\x20univerjs-icon-','_draw','_unitId','wrapStrategy','Path','setFormulaPresentation','colorChannel1','onCommandExecuted','hasDefault','getMatrix','IMenuManagerService','DocRenderController','disableShapeOption','stopPropagation','docs-shape-ui.shape-format.formula-ribbon-control','GROUP','DocsShapeUIMenuSchema','updateContext','React','OPERATION','ShapeFloatingToolbar','extraProps','debounceRefreshControls','docs-shape-ui.shape-format.wrapping-style-label','render','_clearShapeAdjustControls','UniverDocsMobileUIPlugin','getTransformerByCreate','size','getMenuHiddenObservable','_renderManagerService','SetDocDrawingArrangeCommand','subtle','DrawingImageClipService','Arrow','Line','drawing-ui.objectListPanel.filterHidden','getShapeTextData','getCurrentUnitOfType','UniverLicensePlugin','drawing-ui.objectListPanel.expand','docs-shape-ui.formatShape','ShapeIcon','docs-shape-text-','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','width','createInternalEditorID','isHitLine','actualHeight','buildShapeTextDataUpdate','_visible','onTransformChange$','doc.command.menu-insert-shape','DocEventManagerService','icon','getDrawingVisible','resolveShapeContextualRibbonHostMode','getUnitId','drawing-ui.objectListPanel.showAll','drawing-ui.objectListPanel.filterLocked','CONTENT','docs-shape-ui.textWrap.inFrontText','doc.operation.apply-shape-quick-style','resolveActiveShapeQuickStylePresetId','Transform','normalizeShapeTextModel','_isShouldShowDrawingShapeAdjust','toDisposable','removeAttribute','ICommandService','completeEditing','_getFocusedShapeAtPoint','reverse','1em','_config','refreshFormulaPresentation','updateShapeFillImage','topmost-icon','UniverProDocsShape','isHit','buildClipPath','push','rect','docs-shape-ui.ribbon.shape-format.arrange-backward','src','drawing-ui.objectListPanel.moveForward','setCanUseShapeClip','useImperativeHandle','UniverInstanceType','error','showContextualTab','translate','multiply','docs-shape-ui.textWrap.topAndBottom','length','doc-shape-adjust-point-','getShapePopupMenus','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','pluginName','IconManager','useFormulaShapeToolbar','doc.operation.update-shape-type','version','IN_FRONT_OF_TEXT','draw','drawing-ui.objectListPanel.search','FormulaShapeAnimationController','LAYOUT','SetDocumentPermissionCommand','height','includes','_adjName','default','registerRenderModule','startOffset','DocSelectionRenderService','currentAdjustValues','_getActiveDrawingParam','RibbonInsertGroup','DocumentViewModel','useState','209140oeGgke','clearAdjustControls','complete','doc.shape.edit.panel','localName','_renderWithCache','behindDoc','svg','_registerOperations','mask','title','@univerjs/drawing','_transform','_shapeId','doc.shape.text.float-menu','_context','move-up-icon','getShapeType','tag','_baseShapeTop','classType','drawing-ui.objectListPanel.description','shape-editor-ui.toolbar.changeShape','IDocDrawingService','resolveShapeTextDocumentRenderLayout','map','trim','resolveShapeTextEditorBehaviorShapeData','shouldClipShapeTextDocument','_adjHandlerPointerMove','refreshShapeFillImage','getInverseCoord','getShapeDataById','ShapeFillEnum','MEDIA','drawings','clipByShape','selectable','forEach','getParent','options','isReleased','connectInjector','_getShapeAdjustPointListById','drawing-ui.objectListPanel.name','ShapeTypeEnum','BUTTON','getDrawingOKey','getShapeQuickStyleType','getDrawingShapeKeyByDrawingSearch','componentKey','drawing-ui.objectListPanel.empty','remove$','description','Documents','_shapeTextEditingService','cos','MenuItemType','scene','assign','ShapeFloatingToolbarService','delete','1291514crrMgB','resolveShapeTextHyperLinkObject','syncExecuteCommand','5138760Sjxztc','subscribeEvent','url(#$1','registerShapeFormatPainter','@univerjs/design','docs-shape-ui.openPanel','_subUnitId','sectionFloating','target','DOC_CONTENT_INSERT_MENU_ID','some','hasAttribute','UniverDocsUi','getAllRenderersOfType','_contextService','_urlImageService','onSavingEditorData$','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','InsertDocShapeCommand','MobileMenu','getShapeQuickStylePreset','drawFormulaShapeAnimationLayers','_getSceneByUnitId','getShapeTypeById','createShapeTextBoxShapeData','UniverProShapeEditorUi','open','shapeType','appliedStrokeWidth','paragraph','OBJECT_LIST_FLOATING_SECTION_ID','moveRange','getDrawingPoints','onReady','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','DrawingTypeEnum','DEFAULT_DOC_SHAPE_HEIGHT','.below','skeDrawings','DocumentDataModel','_sidebarService','UniverRenderEnginePlugin','UpdateDocShapeDataMutation','shapeModel','ComponentManager','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','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','1730826qKkrJp','create','ShapeFormulaRibbonControl','jsx','PositionedObjectLayoutType','dispose','visible','0\x200\x2016\x2016','TopmostIcon','0\x200\x2020\x2020','hideInfoPopup','0.8','PRINTING_COMPONENT_COLLECT','0.14','context-bar','transformVector2SceneCoord','scale','getShapeTextRect','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','top-bottom','getDocumentEntityPermissionObjectId','setShapeData','UniverDrawingPlugin','Shape','restore','_registerDrawingFocusChangeHandler','_registerDrawingTransformHandler','marginTop','DocsShapeWrapTopBottomIcon','vectorEffect','disconnect','_editingParams$','UniverDocsDrawingUi','jsxs','_loadAndSetImage','_shapeRenderController','ContextMenuPosition','MoveDownIcon','onRendered','@univerjs/engine-render','docs-shape-ui.config','more-down-icon','defer','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','_getActiveDrawingShape','docs-shape-ui.deleteShape','prototype','hidden','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','ShapeTextHyperLinkInfo','getPageDrawingIds','toStringTag','children','find','register','asObservable','WRAP_TOP_AND_BOTTOM','setPrstGeom','IPermissionService','http://www.w3.org/2000/svg','name','DocCanvasPopManagerService','_loadShapePictureFill','_endLayoutInteraction','isInGroup','DocLayoutInteractionService','calculate','3658455XDFpVW','useMemo','_docLayoutInteractionService','createShapeFormulaDocument','subUnitId','getValue','drawing-ui.objectListPanel.details','BuiltInUIPart','80peyfXw','isEditing','paragraphId','7731368WdTtLh','setDocsCustomBlockRenderViewportProvider','ImageSourceTypeEnum','endArrow','ShapeLineTypeEnum','fontSize','_univerInstanceService','drawing-ui.objectListPanel.locate','DisposableCollection','_clearPopups','getRealBound','spaceBelowApply','_docsShapeService','_componentManager','DOCS_COMPONENT_MAIN_LAYER_INDEX','cells','univer-grid\x20univer-gap-3','DocsShapeService','DRAWING_SHAPE','getActiveViewportByCoord','drawing-ui.objectListPanel.filterAll','shape-text-','getViewports','update$','_localeService','_initSelection','offsetX','element','DocInterceptorService','_onSavingEditorData$','DocumentSkeleton','getVisible','string','getImageSourceCache','symbol','_setTransForm','editingParams$','URL','skeFooters','sidebarOptions$','localeService','top','distinctUntilChanged','unsubscribe','_createShapeAdjustControls','_baseShapeLeft','drawing-ui.objectListPanel.lock','drawing-ui.objectListPanel.hideAll','ShapeTextHyperLinkHoverController','canDispose','WRAP_SQUARE','_docPrintInterceptorService','ShapePickerPanel','getObjectListPanelSectionIdForDrawingType','onStarting','UniverIcon','getDrawingEffectBounds','more-up-icon','keys','_mobileEditorService','paragraphs','doc.shape.picker.component','registerClipDelegate','value','adjName','UniverDocsDrawing','ISidebarService','round','non-scaling-stroke','_toVisualAdjustPoint','UpdateDrawingDocTransformCommand','5.5','Fragment','getCanvasElement','object-layers-icon','menuRange','getDocumentPermissionValue','_hide','clear','_registerIcons','drawing-ui.objectListPanel.moveBackward','_initMenu','ShapeRenderModeEnum','activeTarget','_initUIPart','getScene','_getShapeInfo','docs-shape-ui.objectListPanel.open','oKey','drawing-ui.objectListPanel.sectionFloating','docs-shape-ui.mobile.text','intercept','isHorizontal','isRichText','drawing-ui.objectListPanel.title','_getRenderModules','ShapeArrowTypeEnum','shapeKey','fillImageSource','docs-shape-ui.ribbon.shape-format.arrange-forward','left','_instanceService','_registerComponents','drawing-ui.objectListPanel.unlockHint','BottomIcon','LocaleService'];_0xd530=function(){return _0x17c777;};return _0xd530();}
|
|
1
|
+
(function(_0x5ee86c,_0x3d384d){const _0x5e6412=_0x2ff4,_0x407cd2=_0x5ee86c();while(!![]){try{const _0x465c5d=parseInt(_0x5e6412(0x20c))/0x1*(parseInt(_0x5e6412(0x140))/0x2)+parseInt(_0x5e6412(0x226))/0x3+parseInt(_0x5e6412(0x2a1))/0x4*(-parseInt(_0x5e6412(0x13d))/0x5)+parseInt(_0x5e6412(0x410))/0x6*(parseInt(_0x5e6412(0x36f))/0x7)+parseInt(_0x5e6412(0x27b))/0x8*(-parseInt(_0x5e6412(0x1e0))/0x9)+-parseInt(_0x5e6412(0xcd))/0xa+parseInt(_0x5e6412(0x149))/0xb;if(_0x465c5d===_0x3d384d)break;else _0x407cd2['push'](_0x407cd2['shift']());}catch(_0x2af180){_0x407cd2['push'](_0x407cd2['shift']());}}}(_0x1fb0,0xb0f7c),function(_0x102682,_0xe846cb){const _0x366094=_0x2ff4;typeof exports==_0x366094(0x3a8)&&typeof module<'u'?_0xe846cb(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x366094(0x298)&&define[_0x366094(0x259)]?define([_0x366094(0x360),'@univerjs-pro/shape-editor-ui',_0x366094(0x36c),_0x366094(0x202),_0x366094(0x38d),'@univerjs-pro/engine-shape',_0x366094(0xd9),_0x366094(0x2b8),_0x366094(0xeb),'@univerjs/docs-drawing',_0x366094(0xee),_0x366094(0x1f5),'@univerjs/drawing-ui','react/jsx-runtime',_0x366094(0x23d),_0x366094(0xa7),_0x366094(0x1af),'react',_0x366094(0x19d),_0x366094(0x168)],_0xe846cb):(_0x102682=typeof globalThis<'u'?globalThis:_0x102682||self,_0xe846cb(_0x102682['UniverProDocsShapeUi']={},_0x102682[_0x366094(0x116)],_0x102682[_0x366094(0xfc)],_0x102682[_0x366094(0x14f)],_0x102682[_0x366094(0x132)],_0x102682['UniverProEngineShape'],_0x102682[_0x366094(0x12c)],_0x102682['UniverCore'],_0x102682['UniverDocs'],_0x102682[_0x366094(0x109)],_0x102682[_0x366094(0x341)],_0x102682[_0x366094(0x3a2)],_0x102682[_0x366094(0xd0)],_0x102682['React'],_0x102682[_0x366094(0x23d)],_0x102682[_0x366094(0x1eb)],_0x102682[_0x366094(0x1d6)],_0x102682[_0x366094(0xf3)],_0x102682[_0x366094(0x264)],_0x102682[_0x366094(0x25d)]));}(this,function(_0xb0f434,_0x4df77c,_0x25d652,_0x1f9d09,_0xddc3b0,_0x59d795,_0x4e08a0,_0x51ff18,_0x31599d,_0x522777,_0x164900,_0x893ff7,_0x358a20,_0x3eb5bb,_0x1191c7,_0x330c89,_0x2fdebd,_0x40ced8,_0xe2a8e7,_0x239f90){const _0x14788d=_0x2ff4;Object[_0x14788d(0x2f3)](_0xb0f434,Symbol['toStringTag'],{'value':_0x14788d(0xba)});function _0x4c31ea(_0x26454a,_0x5182c3){const _0x466f26=_0x14788d;if(_0x5182c3){if((0x0,_0x59d795[_0x466f26(0xdb)])(_0x26454a)&&(_0x5182c3[_0x466f26(0x337)]||_0x5182c3[_0x466f26(0x2ac)]))return{'ln':{'startArrow':_0x5182c3[_0x466f26(0x337)]?{'type':_0x59d795[_0x466f26(0x246)]['Arrow'],'size':_0x59d795[_0x466f26(0x2e5)][_0x466f26(0x40a)]}:void 0x0,'endArrow':_0x5182c3['endArrow']?{'type':_0x59d795[_0x466f26(0x246)][_0x466f26(0x3b4)],'size':_0x59d795[_0x466f26(0x2e5)]['Large']}:void 0x0}};if(_0x26454a===_0x59d795[_0x466f26(0x333)][_0x466f26(0x124)]&&(_0x5182c3[_0x466f26(0x32e)]||_0x5182c3['vertical']))return(0x0,_0x4e08a0[_0x466f26(0x2e2)])({'fill':{'fillType':_0x59d795['ShapeFillEnum']['SolidFill'],'color':_0x466f26(0x1b9)},'isHorizontal':!!_0x5182c3[_0x466f26(0x32e)],'stroke':{'lineStrokeType':_0x59d795['ShapeLineTypeEnum'][_0x466f26(0x146)],'width':0x1,'color':_0x466f26(0x331)}});}}function _0x5c1f1b(_0x421f73,_0x66943c){const _0x1c27bd=_0x14788d;var _0x5929f5;let _0x4886d7=_0x66943c['segmentId']??'',_0x49cf8f=(_0x5929f5=_0x421f73[_0x1c27bd(0x285)](_0x4886d7))==null?void 0x0:_0x5929f5['getBody']();if(!_0x49cf8f)return null;let _0x36f137=_0x49cf8f[_0x1c27bd(0x370)]??[],_0x47d5b8=_0x36f137[_0x1c27bd(0x16d)](_0xbe9bc5=>{const _0x482ca6=_0x1c27bd;let _0x4943e4=(0x0,_0x51ff18[_0x482ca6(0xbc)])(_0x49cf8f,_0xbe9bc5);return _0x66943c[_0x482ca6(0x32b)]>=_0x4943e4&&_0x66943c[_0x482ca6(0x32b)]<=_0xbe9bc5[_0x482ca6(0x216)];})??_0x36f137[_0x36f137[_0x1c27bd(0x12a)]-0x1];return _0x47d5b8?{'paragraphId':_0x47d5b8[_0x1c27bd(0x218)],'segmentId':_0x4886d7,'position':_0xddc3b0['DocShapeAnchorPosition'][_0x1c27bd(0xdc)],'offset':_0x66943c[_0x1c27bd(0x32b)]-(0x0,_0x51ff18[_0x1c27bd(0xbc)])(_0x49cf8f,_0x47d5b8)}:null;}function _0x326025(_0x588700,_0x535192,_0x21eac9){const _0x227475=_0x14788d;var _0x4cd9e2,_0x181c93;if(!_0x21eac9)return null;let _0x2d4b0e=(_0x4cd9e2=_0x588700[_0x227475(0x347)](_0x164900[_0x227475(0x1fd)])[_0x227475(0x307)](_0x535192))==null?void 0x0:_0x4cd9e2['with'](_0x25d652[_0x227475(0x295)])[_0x227475(0x212)];if(!_0x2d4b0e)return null;let _0x34c4e7=_0x21eac9===_0x227475(0x100)?{'startOffset':_0x2d4b0e[_0x227475(0x414)]['endOffset'],'endOffset':_0x2d4b0e[_0x227475(0x414)][_0x227475(0x183)]}:_0x2d4b0e[_0x227475(0x251)];return{'startOffset':_0x34c4e7[_0x227475(0x32b)],'endOffset':_0x34c4e7[_0x227475(0x183)],'collapsed':_0x34c4e7[_0x227475(0x32b)]===_0x34c4e7['endOffset'],'segmentId':((_0x181c93=_0x2d4b0e[_0x227475(0x25a)])==null?void 0x0:_0x181c93[_0x227475(0x3fe)])??''};}let _0x26e47b={'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x198)],'id':_0x14788d(0x2a5),'handler':async(_0x47f9a9,_0xbd4867)=>{const _0x42e668=_0x14788d;let _0x213d37=_0x47f9a9['get'](_0x51ff18['IUniverInstanceService'])['getCurrentUnitOfType'](_0x51ff18[_0x42e668(0x1b6)][_0x42e668(0x33c)]);if(!_0x213d37)return!0x1;let _0x3141ac=_0x47f9a9[_0x42e668(0x347)](_0x51ff18[_0x42e668(0x220)]),_0x29f7f1=_0x213d37['getUnitId'](),_0x2f2ecf=_0xbd4867[_0x42e668(0x344)]??(0x0,_0x51ff18[_0x42e668(0x258)])(),_0x4b3738=_0xbd4867[_0x42e668(0x11a)]??_0xddc3b0['DEFAULT_DOC_SHAPE_WIDTH'],_0x50d8f8=_0xbd4867[_0x42e668(0x346)]??_0xddc3b0[_0x42e668(0x19b)],_0x1822c8=_0xbd4867['shapeData']??_0x4c31ea(_0xbd4867[_0x42e668(0x1d7)],_0xbd4867[_0x42e668(0x336)]),_0x288e0a=_0x326025(_0x47f9a9,_0x29f7f1,_0xbd4867[_0x42e668(0x38e)])??_0x47f9a9[_0x42e668(0x347)](_0x31599d[_0x42e668(0x378)])[_0x42e668(0xb9)]();if(!_0x288e0a)return!0x1;let _0x161e22=_0x5c1f1b(_0x213d37,_0x288e0a);return _0x161e22?!!_0x3141ac['syncExecuteCommand'](_0xddc3b0[_0x42e668(0x2da)]['id'],{'unitId':_0x29f7f1,'shapeId':_0x2f2ecf,'shapeType':_0xbd4867[_0x42e668(0x1d7)],'shapeData':_0x1822c8,'transform':{'width':_0x4b3738,'height':_0x50d8f8},'placement':{'wrappingStyle':_0x522777[_0x42e668(0x306)][_0x42e668(0x2fd)],'anchor':_0x161e22}}):!0x1;}},_0x489aae=_0x14788d(0x272),_0x51acc9=_0x14788d(0xcb),_0x182d51='doc.shape.object-list.panel',_0x4e1cb4=(0x0,_0x51ff18['createInternalEditorID'])(_0x14788d(0xbf)),_0x1b5ebb=_0x14788d(0x181),_0x5381b7=_0x14788d(0x227),_0x132c8f={'id':_0x14788d(0x9f),'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x198)],'handler':(_0x13c2d8,_0x4a9f4d)=>{const _0xf22945=_0x14788d;let _0x447798=_0x13c2d8['get'](_0x1f9d09[_0xf22945(0x3b8)]),_0x21c302=_0x13c2d8[_0xf22945(0x347)](_0x51ff18[_0xf22945(0x18a)]),_0x37627e=_0x13c2d8['get'](_0x893ff7['IDrawingManagerService']);return(_0x4a9f4d==null?void 0x0:_0x4a9f4d[_0xf22945(0x1d7)])===_0xf22945(0x253)?(_0x447798[_0xf22945(0x253)](_0x182d51),!0x0):(_0x447798[_0xf22945(0x15c)]({'id':_0x182d51,'header':{'title':_0x21c302['t'](_0xf22945(0x23e))},'children':{'label':_0x182d51},'onClose':()=>{const _0x27188a=_0xf22945;_0x37627e[_0x27188a(0x200)](null);},'width':0x168}),!0x0);}},_0x38c6c0={'type':_0x51ff18['CommandType'][_0x14788d(0x327)],'id':_0x14788d(0x2ec),'handler'(){return!0x0;}};function _0x5be45a(_0x1a5f3b){const _0x1708f9=_0x14788d;let _0x33a5b1=_0x1a5f3b[_0x1708f9(0x347)](_0x893ff7[_0x1708f9(0x2f4)])[_0x1708f9(0x34e)](),_0x33b988=_0x33a5b1[_0x1708f9(0x12a)]===0x1?_0x33a5b1[0x0]:null;if(!_0x33b988||_0x33b988[_0x1708f9(0x22c)]!==_0x51ff18['DrawingTypeEnum'][_0x1708f9(0x376)])return null;let _0x181fc8=_0x1a5f3b[_0x1708f9(0x347)](_0xddc3b0[_0x1708f9(0x131)]),_0x16f125=_0x181fc8[_0x1708f9(0x417)](_0x33b988[_0x1708f9(0x1b5)],_0x33b988['subUnitId'],_0x33b988[_0x1708f9(0x3f7)]),_0x4c1217=_0x181fc8[_0x1708f9(0x325)](_0x33b988[_0x1708f9(0x1b5)],_0x33b988[_0x1708f9(0x151)],_0x33b988[_0x1708f9(0x3f7)]);return _0x16f125===void 0x0||!_0x4c1217?null:{'drawing':_0x33b988,'shapeData':_0x4c1217,'shapeType':_0x16f125};}let _0x4949f5={'id':'doc.operation.apply-shape-quick-style','type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x327)],'handler':(_0x21aacb,_0x46c8f2)=>{const _0x2dc89c=_0x14788d;let _0x373a3d=_0x5be45a(_0x21aacb),_0x1b4de8=(0x0,_0x4e08a0[_0x2dc89c(0x283)])((_0x46c8f2==null?void 0x0:_0x46c8f2[_0x2dc89c(0x107)])??(_0x46c8f2==null?void 0x0:_0x46c8f2[_0x2dc89c(0x1d7)])??'');if(!_0x373a3d||!_0x1b4de8||_0x1b4de8[_0x2dc89c(0x31f)]!==(0x0,_0x4e08a0[_0x2dc89c(0x3e8)])(_0x373a3d[_0x2dc89c(0x167)]))return!0x1;let _0x193643=(0x0,_0x4e08a0[_0x2dc89c(0x345)])(_0x373a3d[_0x2dc89c(0x167)],_0x1b4de8);if(!_0x193643)return!0x1;let {drawing:_0x2149df}=_0x373a3d;return _0x21aacb['get'](_0x51ff18['ICommandService'])[_0x2dc89c(0x238)](_0xddc3b0[_0x2dc89c(0x1d3)]['id'],{'unitId':_0x2149df[_0x2dc89c(0x1b5)],'shapeId':_0x2149df[_0x2dc89c(0x3f7)],'shapeData':_0x193643,'oldShapeJSON':{'oldShapeData':_0x373a3d[_0x2dc89c(0x167)]}});}},_0x55fbd0={'id':'doc.operation.update-shape-type','type':_0x51ff18['CommandType'][_0x14788d(0x327)],'handler':(_0x3f1c38,_0x466b5e)=>{const _0x217cd7=_0x14788d;let _0x32a679=_0x5be45a(_0x3f1c38),_0x53f948=(_0x466b5e==null?void 0x0:_0x466b5e[_0x217cd7(0x18b)])??(_0x466b5e==null?void 0x0:_0x466b5e[_0x217cd7(0x1d7)]);if(!_0x32a679||!_0x53f948||(0x0,_0x59d795[_0x217cd7(0xdb)])(_0x32a679[_0x217cd7(0x18b)])||(0x0,_0x59d795[_0x217cd7(0xdb)])(_0x53f948))return!0x1;let _0x10e724=(0x0,_0x4e08a0[_0x217cd7(0x113)])(_0x32a679['shapeData'],_0x53f948);if(!_0x10e724)return!0x1;let {drawing:_0x29c9c2}=_0x32a679;return _0x3f1c38[_0x217cd7(0x347)](_0x51ff18[_0x217cd7(0x220)])[_0x217cd7(0x238)](_0xddc3b0[_0x217cd7(0x1d3)]['id'],{'unitId':_0x29c9c2[_0x217cd7(0x1b5)],'shapeId':_0x29c9c2[_0x217cd7(0x3f7)],'shapeType':_0x53f948,'shapeData':_0x10e724,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x32a679[_0x217cd7(0x18b)],'oldShapeData':_0x32a679[_0x217cd7(0x167)]}});}};function _0x3fe79d(_0x5a85bc,_0x4f720f){return function(_0x1a83bc,_0x2e01f5){_0x4f720f(_0x1a83bc,_0x2e01f5,_0x5a85bc);};}function _0x1e5419(_0x5ee077,_0x50deef,_0x58b8b8,_0x112870){const _0x20f135=_0x14788d;var _0x2dcc77=arguments[_0x20f135(0x12a)],_0x1086b3=_0x2dcc77<0x3?_0x50deef:_0x112870===null?_0x112870=Object[_0x20f135(0x294)](_0x50deef,_0x58b8b8):_0x112870,_0x58dba3;if(typeof Reflect=='object'&&typeof Reflect[_0x20f135(0x21c)]==_0x20f135(0x298))_0x1086b3=Reflect[_0x20f135(0x21c)](_0x5ee077,_0x50deef,_0x58b8b8,_0x112870);else{for(var _0x407ebc=_0x5ee077[_0x20f135(0x12a)]-0x1;_0x407ebc>=0x0;_0x407ebc--)(_0x58dba3=_0x5ee077[_0x407ebc])&&(_0x1086b3=(_0x2dcc77<0x3?_0x58dba3(_0x1086b3):_0x2dcc77>0x3?_0x58dba3(_0x50deef,_0x58b8b8,_0x1086b3):_0x58dba3(_0x50deef,_0x58b8b8))||_0x1086b3);}return _0x2dcc77>0x3&&_0x1086b3&&Object[_0x20f135(0x2f3)](_0x50deef,_0x58b8b8,_0x1086b3),_0x1086b3;}let _0x14ecae=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x482009,_0x12871c){const _0x5068f1=_0x14788d;super(),this[_0x5068f1(0x1be)]=_0x482009,this['_drawingManagerService']=_0x12871c,this['_registerImageShapeClipDelegate'](),this[_0x5068f1(0x1be)][_0x5068f1(0x3ef)](!0x0),this[_0x5068f1(0x2c1)]({'dispose':()=>this[_0x5068f1(0x1be)][_0x5068f1(0x3ef)](!0x1)});}[_0x14788d(0x382)](){const _0x12ce53=_0x14788d;let _0x20828e=new Map(),_0x5bc866=this['_clipService'][_0x12ce53(0x208)]((_0x99d559,_0x3f7018,_0x1f0a1a,_0x1b00ab,_0x5ec2d8)=>{const _0x488833=_0x12ce53;let _0x28253f=_0x3f7018;if(_0x28253f===_0x59d795[_0x488833(0x333)][_0x488833(0x3af)]||_0x3f7018===_0x488833(0x41e))return!0x1;try{let _0x2ac581=_0x20828e[_0x488833(0x347)](_0x3f7018);return _0x2ac581||(_0x2ac581=new _0x59d795[(_0x488833(0x33e))](_0x28253f,_0x488833(0x3dc)+_0x3f7018),_0x20828e['set'](_0x3f7018,_0x2ac581)),_0x2ac581['clearAdjustValue'](),_0x5ec2d8&&Object[_0x488833(0xd4)](_0x5ec2d8)[_0x488833(0x12a)]>0x0&&_0x2ac581[_0x488833(0x3d8)]({'adjustValues':_0x5ec2d8},!0x0),_0x2ac581[_0x488833(0x118)]({'width':_0x1f0a1a,'height':_0x1b00ab}),_0x2ac581[_0x488833(0x15d)](_0x99d559,{'left':0x0,'top':0x0,'width':_0x1f0a1a,'height':_0x1b00ab});}catch{return!0x1;}});this[_0x12ce53(0x2c1)](_0x5bc866),this[_0x12ce53(0x2c1)]({'dispose':()=>_0x20828e[_0x12ce53(0x3c9)]()});}[_0x14788d(0x3d1)](_0x49fd87,_0x3c9b84,_0xc22690,_0x134846,_0x3c80ab){const _0x3311a4=_0x14788d;let _0x37c7b9=this[_0x3311a4(0x39e)][_0x3311a4(0x192)](_0x49fd87,_0x3c9b84)[_0xc22690];_0x37c7b9&&_0x37c7b9[_0x3311a4(0x22c)]===_0x51ff18[_0x3311a4(0x1d4)]['DRAWING_IMAGE']&&this['_drawingManagerService']['featurePluginUpdateNotification']([{..._0x37c7b9,'prstGeom':_0x134846,'adjustValues':_0x3c80ab}]);}};_0x14ecae=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x358a20[_0x14788d(0x429)])),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x893ff7[_0x14788d(0x2f4)]))],_0x14ecae);let _0x5d3b2d=_0x14788d(0x3e6),_0x1f5594=_0x14788d(0x2cb);function _0x158617({onShapeClick:_0x57b2cb,excludeGroups:_0x3c6fe5}){const _0x400cbb=_0x14788d;return(0x0,_0x3eb5bb[_0x400cbb(0x2cc)])(_0x4df77c[_0x400cbb(0x193)],{'excludeGroups':_0x3c6fe5,'onShapeClick':_0x57b2cb,'scrollContainer':_0x400cbb(0xd5)});}function _0x39e837(){const _0x206608=_0x14788d;let _0xcb6cdf=(0x0,_0x1f9d09[_0x206608(0xe6)])(_0x893ff7[_0x206608(0x2f4)]),_0x47466b=(0x0,_0x1f9d09[_0x206608(0xe6)])(_0x14ecae);return _0x5b823b=>{const _0x4d7055=_0x206608;let _0x148736=_0xcb6cdf['getFocusDrawings']()['find'](_0x1f1063=>_0x1f1063[_0x4d7055(0x22c)]===_0x51ff18[_0x4d7055(0x1d4)][_0x4d7055(0x157)]);_0x148736&&_0x47466b[_0x4d7055(0x3d1)](_0x148736[_0x4d7055(0x1b5)],_0x148736[_0x4d7055(0x151)],_0x148736[_0x4d7055(0x3f7)],_0x5b823b[_0x4d7055(0x31f)]);};}function _0x3bae6b(){const _0x188554=_0x14788d;let _0x4001a4=_0x39e837();return(0x0,_0x3eb5bb['jsx'])(_0x4df77c[_0x188554(0x19a)],{'buttonLabel':_0x188554(0xbd),'excludeGroups':[_0x4df77c[_0x188554(0xa2)][_0x188554(0x1f0)]],'onShapeClick':_0x4001a4});}function _0x17755e(){const _0x2a2af3=_0x14788d;let _0x59b562=(0x0,_0x1f9d09[_0x2a2af3(0xe6)])(_0x1f9d09['ComponentManager']),_0x5f47a8=(0x0,_0x1f9d09['useDependency'])(_0x893ff7[_0x2a2af3(0x2f4)]),_0x21895a=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['IUniverInstanceService']),_0xe0a4e0=_0x5f47a8[_0x2a2af3(0x34e)]()[0x0],_0x43db6d=_0xe0a4e0?_0x21895a[_0x2a2af3(0x128)](_0xe0a4e0[_0x2a2af3(0x1b5)]):void 0x0,_0x4d5c6a=_0x43db6d===_0x51ff18[_0x2a2af3(0x1b6)][_0x2a2af3(0x33c)]?_0x1f5594:_0x43db6d===_0x51ff18['UniverInstanceType'][_0x2a2af3(0x2ef)]?_0x2a2af3(0xd3):void 0x0,_0x5d6d24=_0x4d5c6a?_0x59b562['get'](_0x4d5c6a):void 0x0;return _0x5d6d24?(0x0,_0x3eb5bb['jsx'])(_0x5d6d24,{}):null;}function _0x2b2ad6({paragraphMenuPlacement:_0xb43151,PickerComponent:_0x1af123=_0x158617}){const _0x5366de=_0x14788d;let _0x2a27a9=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x5366de(0x220)]);return(0x0,_0x3eb5bb['jsx'])(_0x1af123,{'onShapeClick':_0x1436ae=>{const _0x290ccd=_0x5366de;_0x2a27a9[_0x290ccd(0x238)](_0x26e47b['id'],{'paragraphMenuPlacement':_0xb43151,'value':_0x1436ae[_0x290ccd(0x31f)],'enhanceParams':{'endArrow':_0x1436ae['endArrow'],'startArrow':_0x1436ae['startArrow'],'horizontal':_0x1436ae['horizontal'],'vertical':_0x1436ae['vertical']}});}});}function _0x49e187(_0x370654){const _0x4c1ada=_0x14788d;return _0x2eaca1=>({'id':_0x26e47b['id'],'type':_0x1f9d09[_0x4c1ada(0x236)][_0x4c1ada(0x3cd)],'selections':[{'label':{'name':_0x5d3b2d,'hoverable':!0x1,'selectable':!0x1,'props':_0x370654?{'id':_0x26e47b['id'],'paragraphMenuPlacement':_0x370654}:{'id':_0x26e47b['id']}}}],'icon':_0x4c1ada(0x24b),'title':'docs-shape-ui.insertShape','tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,_0x1f9d09[_0x4c1ada(0x34a)])(_0x2eaca1,_0x51ff18[_0x4c1ada(0x1b6)]['UNIVER_DOC'])});}let _0x1329c0=_0x49e187(),_0x43561a=_0x49e187(_0x14788d(0x100)),_0x197c8e=_0x49e187(_0x14788d(0x1bd));function _0x9249e8(_0x2bddc2){const _0x58dde9=_0x14788d;let _0x58ed34=_0x2bddc2[_0x58dde9(0x347)](_0x1f9d09[_0x58dde9(0x3b8)]);return{'id':_0x132c8f['id'],'type':_0x1f9d09[_0x58dde9(0x236)]['BUTTON'],'icon':_0x58dde9(0x1bb),'title':_0x58dde9(0xe0),'tooltip':_0x58dde9(0xe0),'activated$':(0x0,_0x1191c7[_0x58dde9(0x2a2)])(()=>_0x58ed34[_0x58dde9(0x15b)][_0x58dde9(0x32a)]((0x0,_0x1191c7[_0x58dde9(0x1e3)])(_0x58ed34[_0x58dde9(0x373)]),(0x0,_0x1191c7[_0x58dde9(0xf0)])(_0x5455bd=>_0x5455bd[_0x58dde9(0x2dd)]===!0x0&&_0x5455bd['id']===_0x58dde9(0xf8)),(0x0,_0x1191c7[_0x58dde9(0x235)])())),'hidden$':(0x0,_0x1f9d09[_0x58dde9(0x34a)])(_0x2bddc2,_0x51ff18[_0x58dde9(0x1b6)][_0x58dde9(0x33c)])};}function _0x50d249(_0x3eef6f,_0x24cff4,_0x4a8e25,_0x3330e0,_0x2de8b5,_0x5dee25){const _0x5e32b6=_0x14788d;let _0x2c2ca4={'unitId':_0x24cff4,'shapeId':_0x3330e0,'shapeData':_0x5dee25,'oldShapeJSON':_0x2de8b5};return _0x3eef6f[_0x5e32b6(0x238)](_0xddc3b0[_0x5e32b6(0x1d3)]['id'],_0x2c2ca4);}function _0x529d23(_0x373c44,_0x314383,_0x4f6656,_0x3d0789,_0x40597f,_0x2831bb){let _0x1800d9={'unitId':_0x314383,'shapeId':_0x3d0789,'shapeData':_0x2831bb,'oldShapeJSON':_0x40597f};return _0x373c44['executeCommand'](_0xddc3b0['UpdateDocShapeDataCommand']['id'],_0x1800d9);}let _0x2260b3=_0x14788d(0x2d5),_0x130032=_0x14788d(0x269),_0x1dea17='docs-shape-ui.shape-format.text-ribbon-control',_0x5f5cfd='docs-shape-ui.shape-format.formula-ribbon-control',_0x26b4d2=_0x14788d(0x3cb),_0x3309fe=[{'value':_0x522777[_0x14788d(0x306)][_0x14788d(0x2fd)],'label':_0x14788d(0x2b4),'icon':_0x14788d(0xc3)},{'value':_0x522777['TextWrappingStyle']['WRAP_SQUARE'],'label':_0x14788d(0x2bb),'icon':_0x14788d(0x1e8)},{'value':_0x522777['TextWrappingStyle']['WRAP_TOP_AND_BOTTOM'],'label':_0x14788d(0x303),'icon':'DocsShapeWrapTopBottomIcon'},{'value':_0x522777['TextWrappingStyle'][_0x14788d(0x3b6)],'label':_0x14788d(0x2d1),'icon':'DocsShapeWrapBehindTextIcon'},{'value':_0x522777[_0x14788d(0x306)][_0x14788d(0x28a)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x14788d(0x170)}];function _0x76812(){const _0xf9dcd3=_0x14788d;let _0x595a11=(0x0,_0x1f9d09[_0xf9dcd3(0xe6)])(_0x51ff18[_0xf9dcd3(0x220)]),_0x1721d9=(0x0,_0x1f9d09[_0xf9dcd3(0xe6)])(_0x893ff7[_0xf9dcd3(0x2f4)]),_0x3bcb34=(0x0,_0x1f9d09['useDependency'])(_0xddc3b0[_0xf9dcd3(0x131)]),_0x4edb4d=()=>{const _0x4ca371=_0xf9dcd3;var _0x101d11;let _0x53a302=_0x1721d9[_0x4ca371(0x34e)]();if(_0x53a302[_0x4ca371(0x12a)]!==0x1||((_0x101d11=_0x53a302[0x0])==null?void 0x0:_0x101d11[_0x4ca371(0x22c)])!==_0x51ff18[_0x4ca371(0x1d4)]['DRAWING_SHAPE'])return null;let {unitId:_0x3811be,subUnitId:_0x3241af,drawingId:_0x8aef94}=_0x53a302[0x0],_0x1aac2d=_0x3bcb34[_0x4ca371(0x417)](_0x3811be,_0x3241af,_0x8aef94),_0x17fa4c=_0x3bcb34[_0x4ca371(0x325)](_0x3811be,_0x3241af,_0x8aef94);return _0x1aac2d===void 0x0||!_0x17fa4c?null:{'unitId':_0x3811be,'subUnitId':_0x3241af,'drawingId':_0x8aef94,'shapeType':_0x1aac2d,'shapeData':_0x17fa4c};},_0xda94b7=(0x0,_0x1f9d09[_0xf9dcd3(0xec)])(()=>new _0x1191c7[(_0xf9dcd3(0x266))](_0x17cbff=>{const _0x269b5e=_0xf9dcd3;let _0x5c987f=()=>_0x17cbff['next'](_0x4edb4d()),_0x720ad4=_0x1721d9[_0x269b5e(0x301)][_0x269b5e(0x402)](_0x5c987f),_0x523439=_0x595a11[_0x269b5e(0x3f1)](_0x47e2ed=>{_0x47e2ed['id']===_0xddc3b0['UpdateDocShapeDataMutation']['id']&&_0x5c987f();});return _0x5c987f(),()=>{const _0x19902b=_0x269b5e;_0x720ad4[_0x19902b(0x2ee)](),_0x523439[_0x19902b(0x20b)]();};}),_0x4edb4d(),!0x1,[_0x595a11,_0x3bcb34,_0x1721d9]);return{'selection':_0xda94b7,'updateShapeData':_0x2babfd=>{const _0x276c89=_0xf9dcd3;_0xda94b7&&_0x50d249(_0x595a11,_0xda94b7[_0x276c89(0x1b5)],_0xda94b7[_0x276c89(0x151)],_0xda94b7[_0x276c89(0x3f7)],{'oldShapeData':_0xda94b7['shapeData']},_0x2babfd);}};}function _0xeae6d5(){const _0x34e6f4=_0x14788d;let {selection:_0x26cec2,updateShapeData:_0x2d4e2e}=_0x76812();return _0x26cec2?(0x0,_0x3eb5bb[_0x34e6f4(0x2cc)])(_0x4df77c[_0x34e6f4(0x19f)],{'shapeData':_0x26cec2[_0x34e6f4(0x167)],'shapeType':_0x26cec2['shapeType'],'onUpdateShapeData':_0x2d4e2e}):null;}function _0x2f0f28(){const _0x580dac=_0x14788d;let _0x445c35=(0x0,_0x1f9d09[_0x580dac(0xe6)])(_0x51ff18[_0x580dac(0x220)]),_0x4664de=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x580dac(0x18a)]),{selection:_0x4b6b5f}=_0x76812();return _0x4b6b5f?(0x0,_0x3eb5bb[_0x580dac(0x2cc)])(_0x4df77c[_0x580dac(0x147)],{'type':(0x0,_0x4e08a0[_0x580dac(0x3e8)])(_0x4b6b5f['shapeData']),'ariaLabel':_0x4664de['t'](_0x580dac(0x22b)),'activePresetId':(0x0,_0x4e08a0['resolveActiveShapeQuickStylePresetId'])(_0x4b6b5f[_0x580dac(0x167)]),'onSelect':_0x44d7af=>_0x445c35[_0x580dac(0x238)](_0x4949f5['id'],{'presetId':_0x44d7af})}):null;}function _0x122530(){const _0x197af5=_0x14788d;let {selection:_0x28365b,updateShapeData:_0x32dde0}=_0x76812();return _0x28365b?(0x0,_0x3eb5bb[_0x197af5(0x2cc)])(_0x4df77c[_0x197af5(0x1d8)],{'fontFamilyPopupDataComponent':'docs-shape-format-font-family-menu','shapeData':_0x28365b[_0x197af5(0x167)],'onUpdateShapeData':_0x32dde0}):null;}function _0x238d7a(){const _0x56cbb9=_0x14788d;var _0x5c3ceb;let {selection:_0x30d659,updateShapeData:_0x5b4c12}=_0x76812(),_0x15db4b=(0x0,_0x4df77c[_0x56cbb9(0x2a3)])({'hostType':_0x51ff18['UniverInstanceType'][_0x56cbb9(0x33c)],'unitId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x1b5)])??'','subUnitId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x151)])??'','shapeId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x3f7)])??'','shapeData':_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x167)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x56cbb9(0xd6),'onUpdateBinding':_0x69d238=>_0x5b4c12({'formulaBinding':_0x69d238})}),_0x5f4752=((_0x5c3ceb=_0x15db4b[_0x56cbb9(0x1e2)])==null?void 0x0:_0x5c3ceb[_0x56cbb9(0x11f)](_0x5db29d=>_0x5db29d[_0x56cbb9(0x1e5)])[_0x56cbb9(0x33d)](_0x2c7a2a=>_0x2c7a2a['visible']!==!0x1))??[];return _0x30d659!=null&&_0x30d659[_0x56cbb9(0x167)][_0x56cbb9(0x37a)]?(0x0,_0x3eb5bb[_0x56cbb9(0x2cc)])(_0x4df77c[_0x56cbb9(0x158)],{'actions':_0x5f4752,'panel':_0x15db4b[_0x56cbb9(0xb2)]}):null;}function _0x1b89c8({value:_0x524dfc}){const _0x1afe3f=_0x14788d;let _0x307be5=(0x0,_0x1f9d09[_0x1afe3f(0xe6)])(_0x51ff18['LocaleService']),_0x2b1edc=_0x3309fe[_0x1afe3f(0x16d)](_0x495bb5=>_0x495bb5[_0x1afe3f(0x1d7)]===_0x524dfc)??_0x3309fe[0x0];return _0x2b1edc?(0x0,_0x3eb5bb[_0x1afe3f(0x2cc)])(_0x1afe3f(0x32c),{'children':_0x307be5['t'](_0x2b1edc['label'])}):null;}let _0x1f4c22='docs-shape-ui.ribbon.shape-format.style-control',_0xcb6cf8=_0x14788d(0x1a8),_0x1b68b9=_0x14788d(0x41c),_0x599041=_0x14788d(0x39a),_0x1bff96=_0x14788d(0x3ce),_0x5fb2b1='docs-shape-ui.ribbon.shape-format.arrange-front',_0x1c02fb=_0x14788d(0x242),_0x22c792=_0x14788d(0x14b);function _0x1bfed9(_0x1e26aa){const _0x12aea7=_0x14788d;let _0x5813d8=_0x1e26aa[_0x12aea7(0x347)](_0x51ff18[_0x12aea7(0x220)]),_0x147346=_0x1e26aa[_0x12aea7(0x347)](_0x893ff7['IDrawingManagerService']),_0x1061b0=_0x1e26aa[_0x12aea7(0x347)](_0xddc3b0[_0x12aea7(0x131)]);return new _0x1191c7[(_0x12aea7(0x266))](_0x5d3c26=>{const _0x3c00a0=_0x12aea7;let _0x3dabb1=()=>{const _0x2bdb6e=_0x2ff4;let _0x5065c4=_0x50347b(_0x1e26aa),_0x272209=_0x5065c4?_0x1061b0['getShapeDataById'](_0x5065c4[_0x2bdb6e(0x1b5)],_0x5065c4[_0x2bdb6e(0x151)],_0x5065c4[_0x2bdb6e(0x3f7)]):null;_0x5d3c26['next'](_0x272209?(0x0,_0x4e08a0[_0x2bdb6e(0x3a7)])(_0x272209)??'':'');},_0x26cf22=_0x147346['focus$']['subscribe'](_0x3dabb1),_0x4401f5=_0x5813d8[_0x3c00a0(0x3f1)](_0x618470=>{const _0x2e6e25=_0x3c00a0;_0x618470['id']===_0xddc3b0[_0x2e6e25(0x127)]['id']&&_0x3dabb1();});return _0x3dabb1(),()=>{const _0xf0f11a=_0x3c00a0;_0x26cf22[_0xf0f11a(0x2ee)](),_0x4401f5['dispose']();};});}function _0x50347b(_0xb0d395){const _0x5b24be=_0x14788d;var _0x195e92;let _0x9d9dcc=_0xb0d395[_0x5b24be(0x347)](_0x893ff7[_0x5b24be(0x2f4)])['getFocusDrawings']();return _0x9d9dcc[_0x5b24be(0x12a)]===0x1&&((_0x195e92=_0x9d9dcc[0x0])==null?void 0x0:_0x195e92[_0x5b24be(0x22c)])===_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE']?_0x9d9dcc[0x0]:null;}function _0x1fc3b0(_0x36ccca){const _0x709639=_0x14788d;return(_0x36ccca==null?void 0x0:_0x36ccca[_0x709639(0x1e9)])===_0x51ff18[_0x709639(0x2ea)]['WRAP_NONE']?_0x36ccca[_0x709639(0x3ae)]===_0x51ff18[_0x709639(0x277)]['TRUE']?_0x522777[_0x709639(0x306)][_0x709639(0x3b6)]:_0x522777['TextWrappingStyle'][_0x709639(0x28a)]:(_0x36ccca==null?void 0x0:_0x36ccca[_0x709639(0x1e9)])===_0x51ff18[_0x709639(0x2ea)][_0x709639(0x3ad)]?_0x522777['TextWrappingStyle']['WRAP_SQUARE']:(_0x36ccca==null?void 0x0:_0x36ccca['layoutType'])===_0x51ff18['PositionedObjectLayoutType'][_0x709639(0x2e7)]?_0x522777[_0x709639(0x306)][_0x709639(0x2e7)]:_0x522777[_0x709639(0x306)][_0x709639(0x2fd)];}function _0x120ba9(_0x877543){const _0x3fd741=_0x14788d;let _0x584b8e=_0x877543['get'](_0x51ff18[_0x3fd741(0x220)]),_0x540427=_0x877543[_0x3fd741(0x347)](_0x893ff7[_0x3fd741(0x2f4)]),_0x356050=_0x877543[_0x3fd741(0x347)](_0x51ff18[_0x3fd741(0x3bc)]);return new _0x1191c7[(_0x3fd741(0x266))](_0x534d67=>{const _0x4ffb08=_0x3fd741;let _0x33b203=()=>{const _0x681d5e=_0x2ff4;var _0x516c40;let _0x194485=_0x50347b(_0x877543),_0x174f5b=_0x194485?_0x356050['getUnit'](_0x194485[_0x681d5e(0x1b5)],_0x51ff18[_0x681d5e(0x1b6)]['UNIVER_DOC']):void 0x0;_0x534d67[_0x681d5e(0x234)](_0x1fc3b0(_0x194485?_0x174f5b==null||(_0x516c40=_0x174f5b[_0x681d5e(0x27d)]()[_0x681d5e(0x3e2)])==null?void 0x0:_0x516c40[_0x194485[_0x681d5e(0x3f7)]]:void 0x0));},_0x3d7d46=_0x540427[_0x4ffb08(0x301)]['subscribe'](_0x33b203),_0xcc6a6=_0x584b8e[_0x4ffb08(0x3f1)](_0x472b95=>{const _0x231277=_0x4ffb08;_0x472b95['id']===_0x31599d[_0x231277(0x2c9)]['id']&&_0x33b203();});return _0x33b203(),()=>{const _0xf54a05=_0x4ffb08;_0x3d7d46[_0xf54a05(0x2ee)](),_0xcc6a6['dispose']();};})[_0x3fd741(0x32a)]((0x0,_0x1191c7[_0x3fd741(0x235)])());}function _0x339d6f(_0x2f6405,_0x90ec32=!0x1){const _0x52eea2=_0x14788d;let _0x11a857=_0x2f6405[_0x52eea2(0x347)](_0x51ff18[_0x52eea2(0x220)]),_0x539f61=_0x2f6405[_0x52eea2(0x347)](_0x893ff7[_0x52eea2(0x2f4)]),_0x530bda=_0x2f6405[_0x52eea2(0x347)](_0xddc3b0['DocsShapeService']);return new _0x1191c7[(_0x52eea2(0x266))](_0x3bee79=>{const _0x223d3f=_0x52eea2;let _0x2e82a7=()=>{const _0x291455=_0x2ff4;let _0x5eb489=_0x50347b(_0x2f6405);if(!_0x5eb489){_0x3bee79[_0x291455(0x234)](!0x0);return;}let _0xc7af6=_0x530bda[_0x291455(0x325)](_0x5eb489[_0x291455(0x1b5)],_0x5eb489['subUnitId'],_0x5eb489[_0x291455(0x3f7)]);_0x3bee79[_0x291455(0x234)](!_0xc7af6||_0x90ec32&&_0xc7af6[_0x291455(0x37a)]==null);},_0x5f0a74=_0x539f61[_0x223d3f(0x301)][_0x223d3f(0x402)](_0x2e82a7),_0x851be3=_0x11a857[_0x223d3f(0x3f1)](_0x467266=>{const _0x500679=_0x223d3f;_0x467266['id']===_0xddc3b0[_0x500679(0x127)]['id']&&_0x2e82a7();});return _0x2e82a7(),()=>{const _0x1ec9a7=_0x223d3f;_0x5f0a74[_0x1ec9a7(0x2ee)](),_0x851be3[_0x1ec9a7(0x20b)]();};});}function _0x13aaba(_0x297bb1){const _0x4f0b1c=_0x14788d;let _0x6acc80=_0x297bb1[_0x4f0b1c(0x347)](_0x893ff7['IDrawingManagerService']),_0x393316=_0x297bb1['get'](_0xddc3b0['DocsShapeService']);return _0x6acc80[_0x4f0b1c(0x301)][_0x4f0b1c(0x32a)]((0x0,_0x1191c7[_0x4f0b1c(0x1e3)])(_0x6acc80[_0x4f0b1c(0x34e)]()),(0x0,_0x1191c7['map'])(()=>{const _0x1bf3be=_0x4f0b1c;let _0x50f3f0=_0x50347b(_0x297bb1),_0x52da0a=_0x50f3f0?_0x393316[_0x1bf3be(0x417)](_0x50f3f0[_0x1bf3be(0x1b5)],_0x50f3f0[_0x1bf3be(0x151)],_0x50f3f0[_0x1bf3be(0x3f7)]):void 0x0;return _0x52da0a===void 0x0||(0x0,_0x59d795[_0x1bf3be(0xdb)])(_0x52da0a);}));}function _0x55a348(_0x369e4a){const _0x2f806b=_0x14788d;return{'id':_0x4949f5['id'],'type':_0x1f9d09['MenuItemType'][_0x2f806b(0x3cd)],'icon':_0x2f806b(0x188),'title':'shape-editor-ui.toolbar.quickStyles','tooltip':_0x2f806b(0x1c5),'selections':[{'label':{'name':_0x2260b3,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1bfed9(_0x369e4a),'hidden$':_0x339d6f(_0x369e4a)};}function _0x3525cd(_0x173558){const _0x463376=_0x14788d;return{'id':_0x55fbd0['id'],'type':_0x1f9d09[_0x463376(0x236)][_0x463376(0x3cd)],'icon':'ShapeIcon','title':_0x463376(0x26f),'tooltip':_0x463376(0x26f),'slot':!0x0,'selections':[{'label':{'name':_0x4df77c['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x13aaba(_0x173558)};}function _0x28e730(_0x298352,_0x4e7bfd,_0x132f2c=!0x1){const _0x33652a=_0x14788d;return _0x3e95ee=>({'id':_0x298352,'type':_0x1f9d09[_0x33652a(0x236)][_0x33652a(0x1dc)],'label':{'name':_0x4e7bfd,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x339d6f(_0x3e95ee,_0x132f2c)});}let _0x44955d=_0x28e730(_0x1f4c22,_0x130032),_0x306441=_0x28e730(_0xcb6cf8,_0x1dea17),_0x25dd2f=_0x28e730(_0x1b68b9,_0x5f5cfd,!0x0);function _0x221864(_0x3337e4){const _0x347713=_0x14788d;return{'id':_0x22c792,'type':_0x1f9d09[_0x347713(0x236)][_0x347713(0x3cd)],'icon':_0x3309fe[0x0][_0x347713(0x356)],'label':_0x26b4d2,'selectionsCommandId':_0x522777[_0x347713(0x21e)]['id'],'selections':_0x3309fe[_0x347713(0xf0)](({icon:_0x4cd20a,label:_0x2a84ce,value:_0x523b76})=>({'value':_0x523b76,'label':_0x2a84ce,'icon':_0x4cd20a,'params':()=>{const _0x486a33=_0x347713;let _0x537ac3=_0x50347b(_0x3337e4);return _0x537ac3?{'unitId':_0x537ac3['unitId'],'subUnitId':_0x537ac3['subUnitId'],'drawings':[{'unitId':_0x537ac3[_0x486a33(0x1b5)],'subUnitId':_0x537ac3['subUnitId'],'drawingId':_0x537ac3[_0x486a33(0x3f7)]}],'wrappingStyle':_0x523b76}:void 0x0;}})),'value$':_0x120ba9(_0x3337e4),'hidden$':_0x339d6f(_0x3337e4)};}function _0x448a28(_0x4cc70a,_0x48ebfb,_0x32d950,_0x19e34e){const _0x1d8297=_0x14788d;return _0x595957=>({'id':_0x4cc70a,'commandId':_0x522777[_0x1d8297(0x403)]['id'],'type':_0x1f9d09[_0x1d8297(0x236)][_0x1d8297(0x1dc)],'icon':_0x32d950,'title':_0x19e34e,'tooltip':_0x19e34e,'hidden$':_0x339d6f(_0x595957),'params':()=>{const _0xca2bae=_0x1d8297;let _0x4c3f63=_0x50347b(_0x595957);return _0x4c3f63?{'unitId':_0x4c3f63[_0xca2bae(0x1b5)],'subUnitId':_0x4c3f63[_0xca2bae(0x151)],'drawingIds':[_0x4c3f63['drawingId']],'arrangeType':_0x48ebfb}:void 0x0;}});}let _0x26e18f=_0x448a28(_0x599041,_0x51ff18[_0x14788d(0x426)]['forward'],_0x14788d(0xdd),_0x14788d(0x359)),_0x301c4e=_0x448a28(_0x1bff96,_0x51ff18[_0x14788d(0x426)][_0x14788d(0x416)],_0x14788d(0x3ee),_0x14788d(0x36a)),_0x85e059=_0x448a28(_0x5fb2b1,_0x51ff18['ArrangeTypeEnum'][_0x14788d(0x2fc)],_0x14788d(0x135),'shape-editor-ui.arrange.front'),_0x5d0edd=_0x448a28(_0x1c02fb,_0x51ff18[_0x14788d(0x426)][_0x14788d(0x27e)],_0x14788d(0xe3),_0x14788d(0x29b));function _0xa1fc84(_0x5f27b6){const _0x372691=_0x14788d;let _0xa023ee=_0x5f27b6[_0x372691(0x347)](_0x1f9d09[_0x372691(0x3b8)]);return{'activated$':(0x0,_0x1191c7['defer'])(()=>_0xa023ee[_0x372691(0x15b)][_0x372691(0x32a)]((0x0,_0x1191c7[_0x372691(0x1e3)])(_0xa023ee[_0x372691(0x373)]),(0x0,_0x1191c7[_0x372691(0xf0)])(_0x24d9af=>_0x24d9af[_0x372691(0x2dd)]===!0x0&&_0x24d9af['id']==='doc.shape.edit.panel'),(0x0,_0x1191c7[_0x372691(0x235)])())),'id':_0x38c6c0['id'],'type':_0x1f9d09[_0x372691(0x236)]['BUTTON'],'icon':_0x372691(0x282),'title':_0x372691(0x379),'tooltip':_0x372691(0x379),'hidden$':_0x339d6f(_0x5f27b6),'params':()=>{const _0x303af7=_0x372691;let _0x5627ee=_0x50347b(_0x5f27b6);return _0x5627ee?{'unitId':_0x5627ee[_0x303af7(0x1b5)],'subUnitId':_0x5627ee[_0x303af7(0x151)],'drawingId':_0x5627ee[_0x303af7(0x3f7)]}:void 0x0;}};}let _0x31d4d4={[_0x1f9d09[_0x14788d(0x31d)]['RIBBON']]:{[_0x51acc9]:{'order':0x64,'title':_0x14788d(0x379),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x4949f5['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x55a348},[_0x55fbd0['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3525cd}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x1f4c22]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x44955d}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xcb6cf8]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x306441}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x22c792]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x221864},[_0x599041]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x26e18f},[_0x1bff96]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x301c4e},[_0x5fb2b1]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x85e059},[_0x1c02fb]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x5d0edd}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x1b68b9]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x25dd2f}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x38c6c0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xa1fc84},[_0x4df77c[_0x14788d(0x2bf)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4df77c['ShapeFloatingToolbarToggleFactory']}}}}},_0x4b53ac={[_0x1f9d09[_0x14788d(0x232)]['MEDIA']]:{[_0x26e47b['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xb5478=>({..._0x1329c0(_0xb5478),'title':void 0x0})}},[_0x1f9d09[_0x14788d(0x232)][_0x14788d(0x2a6)]]:{[_0x132c8f['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x9249e8}},[_0x1f9d09[_0x14788d(0x13a)][_0x14788d(0x136)]]:{[_0x1f9d09[_0x14788d(0x17d)][_0x14788d(0x222)]]:{[_0x25d652[_0x14788d(0x3a9)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43561a}}},[_0x25d652['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x1f9d09[_0x14788d(0x17d)][_0x14788d(0x222)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43561a}}},[_0x25d652[_0x14788d(0x1ac)]]:{[_0x1f9d09['ContextMenuGroup'][_0x14788d(0x222)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x197c8e}}},[_0x25d652[_0x14788d(0x26d)]]:{'insert':{[_0x26e47b['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x1329c0}}},[_0x25d652[_0x14788d(0x2ce)]]:{'insert':{[_0x26e47b['id']+_0x14788d(0x2c0)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x43561a}}}}};var _0xdb48a4=_0x14788d(0x260),_0x1ddf68=_0x14788d(0x3cf);let _0xd2094f={'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x327)],'id':_0x14788d(0x1bf),'handler'(){return!0x0;}},_0x302969=_0x14788d(0x28e),_0x13f191={};function _0x32131c(_0x3a4dea){'@babel/helpers - typeof';const _0x1b1aa=_0x14788d;return _0x32131c=typeof Symbol==_0x1b1aa(0x298)&&typeof Symbol['iterator']=='symbol'?function(_0x2e3f1f){return typeof _0x2e3f1f;}:function(_0x3efe4b){const _0x2a4431=_0x1b1aa;return _0x3efe4b&&typeof Symbol==_0x2a4431(0x298)&&_0x3efe4b[_0x2a4431(0x328)]===Symbol&&_0x3efe4b!==Symbol['prototype']?_0x2a4431(0x311):typeof _0x3efe4b;},_0x32131c(_0x3a4dea);}function _0x28a6c9(_0x549e03,_0x50cf27){const _0x1df730=_0x14788d;if(_0x32131c(_0x549e03)!=_0x1df730(0x3a8)||!_0x549e03)return _0x549e03;var _0x399cbb;if(typeof Symbol<'u'&&(_0x399cbb=_0x549e03[Symbol['toPrimitive']])!==void 0x0){var _0x5950a8=_0x399cbb[_0x1df730(0x3de)](_0x549e03,_0x50cf27||_0x1df730(0x27c));if(_0x32131c(_0x5950a8)!=_0x1df730(0x3a8))return _0x5950a8;throw TypeError(_0x1df730(0x2b2));}return(_0x50cf27==='string'?String:Number)(_0x549e03);}function _0xaae9b2(_0x5b1128){const _0x39258c=_0x14788d;var _0x2a1d44=_0x28a6c9(_0x5b1128,_0x39258c(0x415));return _0x32131c(_0x2a1d44)==_0x39258c(0x311)?_0x2a1d44:_0x2a1d44+'';}function _0x30c9f5(_0x1128b6,_0x1c2f8e,_0x172686){const _0x362af6=_0x14788d;return(_0x1c2f8e=_0xaae9b2(_0x1c2f8e))in _0x1128b6?Object[_0x362af6(0x2f3)](_0x1128b6,_0x1c2f8e,{'value':_0x172686,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1128b6[_0x1c2f8e]=_0x172686,_0x1128b6;}var _0x2fda31=class extends _0x164900[_0x14788d(0x13c)]{constructor(_0x35ec04,_0x2d2fab){const _0x3d4c31=_0x14788d;super(_0x35ec04,_0x2d2fab),_0x30c9f5(this,_0x3d4c31(0x1ff),null),_0x30c9f5(this,'_adjName',null),_0x30c9f5(this,'_unitId',null),_0x30c9f5(this,_0x3d4c31(0x357),null),_0x2d2fab&&this['setShapeProps'](_0x2d2fab);}[_0x14788d(0x37f)](){const _0x5a84a8=_0x14788d;return{'unitId':this['_unitId'],'subUnitId':this[_0x5a84a8(0x357)],'drawingId':this[_0x5a84a8(0x1ff)]};}[_0x14788d(0x3e7)](_0x3182bd){const _0x587e1d=_0x14788d;_0x3182bd[_0x587e1d(0x344)]!==void 0x0&&(this['_shapeId']=_0x3182bd['shapeId']),_0x3182bd[_0x587e1d(0x2cf)]!==void 0x0&&(this[_0x587e1d(0x400)]=_0x3182bd[_0x587e1d(0x2cf)]),_0x3182bd[_0x587e1d(0x1b5)]!==void 0x0&&(this['_unitId']=_0x3182bd[_0x587e1d(0x1b5)]),_0x3182bd[_0x587e1d(0x151)]!==void 0x0&&(this[_0x587e1d(0x357)]=_0x3182bd[_0x587e1d(0x151)]),this[_0x587e1d(0x229)]({'width':_0x3182bd[_0x587e1d(0x11a)],'height':_0x3182bd[_0x587e1d(0x346)]});}[_0x14788d(0x3d0)](_0x14b05c){const _0x4544e1=_0x14788d;_0x164900[_0x4544e1(0x29e)]['drawWith'](_0x14b05c,{'radius':_0x59d795['ShapeDefaultConfig'][_0x4544e1(0xd8)],'fill':_0x59d795[_0x4544e1(0x248)]['adjHandleFill'],'stroke':_0x59d795['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x3a9531(_0x233407,_0x225943,_0x31ea66){const _0x3b5fcc=_0x14788d;let _0x1d29a1={..._0x225943,'dataModel':{..._0x225943[_0x3b5fcc(0x394)]??{},..._0x31ea66?{'doc':_0x31ea66}:null}},_0x1c5019=(0x0,_0x4df77c[_0x3b5fcc(0x287)])(_0x233407,_0x1d29a1),_0x3846e7=(0x0,_0x4df77c['resolveShapeTextEditorWrapStrategy'])(_0x1c5019);return{'clip':(0x0,_0x4df77c[_0x3b5fcc(0x354)])(_0x1c5019,_0x3846e7),'wrapStrategy':_0x3846e7};}var _0x5d2ab8=class extends _0x164900['Shape']{constructor(_0x392281,_0x220dae){const _0xeb7bee=_0x14788d;super(_0x392281,_0x220dae),_0x30c9f5(this,_0xeb7bee(0x139),[]),_0x30c9f5(this,'_props',void 0x0),_0x30c9f5(this,'_formulaAnimation',new _0x4df77c['FormulaShapeAnimationController'](()=>this[_0xeb7bee(0x41f)](!0x0),()=>this[_0xeb7bee(0x381)]())),_0x30c9f5(this,_0xeb7bee(0x209),!0x0),_0x30c9f5(this,'_drawingType',_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE']),_0x30c9f5(this,_0xeb7bee(0x1c7),!0x0),this['_props']={..._0x220dae},this['_formulaAnimation'][_0xeb7bee(0x279)](_0x220dae[_0xeb7bee(0x41a)],_0x220dae['animateFormulaPresentation']!==!0x1),this[_0xeb7bee(0x108)](),this[_0xeb7bee(0x381)]();}[_0x14788d(0x108)](){const _0x59d073=_0x14788d;this[_0x59d073(0x1f7)][_0x59d073(0x3e0)](_0x598ea1=>{const _0x33699a=_0x59d073;this[_0x33699a(0x2d7)](_0x598ea1);});}[_0x14788d(0x2f6)](_0x125639){const _0x54181a=_0x14788d;this[_0x54181a(0x164)]['prstGeom']=_0x125639;}[_0x14788d(0x2a9)](_0x5383cd){const _0xed7081=_0x14788d;if(this[_0xed7081(0x164)][_0xed7081(0x1cc)])return null;let _0xf2e70b=this[_0xed7081(0x138)](_0x5383cd),{width:_0x4ce6bd,height:_0x4efcb4}=this[_0xed7081(0x3a6)]();return(0x0,_0x4df77c[_0xed7081(0x393)])(this[_0xed7081(0x139)],{'x':(this['flipX']?-_0xf2e70b['x']:_0xf2e70b['x'])+_0x4ce6bd/0x2,'y':_0xf2e70b['y']+_0x4efcb4/0x2});}[_0x14788d(0x11e)](_0x17231f){const _0x374789=_0x14788d;this[_0x374789(0x164)][_0x374789(0x1cc)]=_0x17231f,this[_0x374789(0x41f)](!0x0);}[_0x14788d(0x114)](_0x1e4f5,_0x5d8d41=!0x0){const _0x1a8374=_0x14788d;this[_0x1a8374(0x22a)]['setPresentation'](_0x1e4f5,_0x5d8d41),this['_props'][_0x1a8374(0x41a)]=_0x1e4f5,this[_0x1a8374(0x381)](),this[_0x1a8374(0x41f)](!0x0);}[_0x14788d(0x381)](){const _0x176802=_0x14788d;let _0x26c850=this[_0x176802(0x164)][_0x176802(0x30e)],_0x590edd=_0x26c850['getShapeTextData'](),_0x5d4dbe=(0x0,_0x4df77c[_0x176802(0x42a)])(_0x590edd==null?void 0x0:_0x590edd[_0x176802(0x394)]),_0x3b6c80=_0x5d4dbe==null?void 0x0:_0x5d4dbe['doc'],_0x4f5b50=this[_0x176802(0x22a)][_0x176802(0x3d7)]();if(!_0x3b6c80||_0x4f5b50[_0x176802(0x12a)]===0x0)return;_0x26c850[_0x176802(0x118)]({'width':this['width'],'height':this[_0x176802(0x346)]});let _0x2a718e=(0x0,_0x4df77c['resolveFormulaShapeAutoFitSize'])({'documentData':_0x4f5b50['map'](_0x16734b=>(0x0,_0x4e08a0[_0x176802(0x407)])(_0x3b6c80,_0x16734b)),'height':this['height'],'shapeData':_0x26c850['getShapeData'](),'textRect':_0x26c850['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x176802(0x11a)],'height':this['height']}),'width':this[_0x176802(0x11a)]});if(_0x2a718e){var _0x3f1830;this['resize'](_0x2a718e['width'],_0x2a718e[_0x176802(0x346)]),(_0x3f1830=this['getScene']())==null||(_0x3f1830=_0x3f1830['getTransformer']())==null||_0x3f1830[_0x176802(0x1a7)]();}}get['unitId'](){const _0x148e1e=_0x14788d;return this[_0x148e1e(0x164)][_0x148e1e(0x1b5)];}get[_0x14788d(0x151)](){const _0xfa38ec=_0x14788d;return this[_0xfa38ec(0x164)][_0xfa38ec(0x151)];}[_0x14788d(0x2d7)](_0x439c71){const _0x2e1fc0=_0x14788d;if(this['_props'][_0x2e1fc0(0x358)]==null||!this[_0x2e1fc0(0x209)])return;let {width:_0x1bdf96,height:_0x2d8db7}=this,{width:_0x4b383f=0x0,height:_0x28a7c3=0x0}=_0x439c71[_0x2e1fc0(0xd7)],{left:_0x79e263=0x0,top:_0x2fdec9=0x0,right:_0x5dd939=0x0,bottom:_0xc27efa=0x0}=this['_props'][_0x2e1fc0(0x358)],_0x929ab6=_0x79e263,_0x3a0e91=_0x2fdec9,_0x39ccc8=_0x5dd939,_0x7ad67a=_0xc27efa,_0x59a531=!0x1;if(_0x4b383f!==0x0&&_0x4b383f!==_0x1bdf96){let _0x1e0e4e=_0x79e263/_0x4b383f,_0x9183a4=_0x5dd939/_0x4b383f;_0x929ab6=_0x1bdf96*_0x1e0e4e,_0x39ccc8=_0x1bdf96*_0x9183a4,_0x59a531=!0x0;}if(_0x28a7c3!==0x0&&_0x28a7c3!==_0x2d8db7){let _0x4afb78=_0x2fdec9/_0x28a7c3,_0x2d5882=_0xc27efa/_0x28a7c3;_0x3a0e91=_0x2d8db7*_0x4afb78,_0x7ad67a=_0x2d8db7*_0x2d5882,_0x59a531=!0x0;}_0x59a531&&this[_0x2e1fc0(0xc9)]({'left':_0x929ab6,'top':_0x3a0e91,'right':_0x39ccc8,'bottom':_0x7ad67a});}[_0x14788d(0xc9)](_0x299879){const _0x58ff8b=_0x14788d;this[_0x58ff8b(0x164)][_0x58ff8b(0x358)]=_0x299879,this[_0x58ff8b(0x41f)](!0x0);}[_0x14788d(0x316)](_0x473f72){const _0x465e59=_0x14788d;this[_0x465e59(0x164)]['image']=_0x473f72,this[_0x465e59(0x41f)](!0x0);}set[_0x14788d(0x362)](_0x56790b){this['_transform']=_0x56790b;}get[_0x14788d(0x362)](){const _0x4feab9=_0x14788d;this[_0x4feab9(0x9e)]||this[_0x4feab9(0x305)]();let _0x3a64dd=this[_0x4feab9(0x9e)][_0x4feab9(0x320)]();return this[_0x4feab9(0x2e0)](_0x3a64dd);}get[_0x14788d(0x30e)](){const _0x4a30f9=_0x14788d;return this['_props'][_0x4a30f9(0x30e)];}get[_0x14788d(0x344)](){const _0x5026c3=_0x14788d;return this['_props'][_0x5026c3(0x344)];}get['classType'](){const _0xb92670=_0x14788d;return _0x164900[_0xb92670(0x243)]['SHAPE'];}[_0x14788d(0x3d0)](_0xa00e1a,_0x4d688a,_0x3e3bad,_0x1d2236){const _0x2f576b=_0x14788d;let _0x498f99=this['_props'][_0x2f576b(0x30e)];if(!_0x498f99||!_0x4d688a)return;let _0x8dc921=_0x3e3bad??this[_0x2f576b(0x11a)],_0x28d04a=_0x1d2236??this[_0x2f576b(0x346)],_0x3bb9fe={'shapeType':_0x498f99[_0x2f576b(0x18d)](),'width':_0x8dc921,'height':_0x28d04a},_0x3676ec={'renderMode':_0x59d795[_0x2f576b(0x224)][_0x2f576b(0xed)],'oKey':this['oKey'],'image':this[_0x2f576b(0x164)]['image'],'angle':this[_0x2f576b(0x163)]};_0x498f99[_0x2f576b(0x118)](_0x3bb9fe),_0xa00e1a[_0x2f576b(0xe8)]();let _0x383b28={'top':0x0,'left':0x0,'width':_0x8dc921,'height':_0x28d04a},_0x32eea1=_0x498f99[_0x2f576b(0x2f5)](_0x383b28);_0x32eea1?this[_0x2f576b(0x42b)](_0xa00e1a,_0x32eea1,_0x321e52=>{const _0x227059=_0x2f576b;_0x498f99[_0x227059(0x1d9)](_0x321e52,_0x383b28,_0x3676ec);}):(this[_0x2f576b(0x37b)](),_0x498f99['render'](_0xa00e1a,_0x383b28,_0x3676ec)),_0xa00e1a[_0x2f576b(0x265)]();let _0x122275=_0x498f99[_0x2f576b(0x290)](),_0x565fd5=_0x498f99[_0x2f576b(0x194)](_0x383b28),_0x4f797a=_0x498f99[_0x2f576b(0xab)]();if(_0x122275&&_0x565fd5&&!_0x4f797a){_0xa00e1a[_0x2f576b(0xe8)](),this[_0x2f576b(0x166)]()['flipX']&&_0xa00e1a[_0x2f576b(0x33b)](-0x1,0x1);let _0x44dab6=_0x8dc921/0x2,_0x1a3f2b=_0x28d04a/0x2;_0xa00e1a['translate'](-_0x44dab6,-_0x1a3f2b),_0xa00e1a[_0x2f576b(0xaa)](),this[_0x2f576b(0x411)](_0xa00e1a,_0x122275,_0x565fd5),_0xa00e1a['restore']();}}[_0x14788d(0x28c)](_0x2d6f9d){}[_0x14788d(0x411)](_0x2e4396,_0x3c883d,_0x42a17e){const _0x3bfb6c=_0x14788d;var _0x47988a;this['_hyperLinkRegions']=[],this[_0x3bfb6c(0x164)][_0x3bfb6c(0x1cc)]||(!((_0x47988a=_0x3c883d['dataModel'])!=null&&_0x47988a[_0x3bfb6c(0x35f)])&&_0x3bfb6c(0x38c)in _0x3c883d&&_0x3c883d[_0x3bfb6c(0x38c)]===!0x1?this[_0x3bfb6c(0x2f0)](_0x2e4396,_0x3c883d,_0x42a17e):this[_0x3bfb6c(0xb5)](_0x2e4396,_0x3c883d,_0x42a17e));}['_drawSimpleText'](_0x58b43d,_0x504905,_0x34f7bb){const _0x5b1511=_0x14788d;this['_drawRichText'](_0x58b43d,{..._0x504905,'text':_0x504905[_0x5b1511(0x21a)]??'','dataModel':{'doc':(0x0,_0x4df77c[_0x5b1511(0x141)])(_0x504905,_0x5b1511(0x3a1)+this[_0x5b1511(0xf9)])}},_0x34f7bb);}['_drawRichText'](_0x1b8e36,_0x3c56e3,_0x51e0f4){const _0x3fab1b=_0x14788d;(0x0,_0x4df77c[_0x3fab1b(0x119)])(_0x1b8e36,this[_0x3fab1b(0x22a)],(_0x24b011,_0x41ce3d,_0x526478)=>{const _0x202092=_0x3fab1b;this[_0x202092(0x324)](_0x24b011,_0x3c56e3,_0x51e0f4,_0x41ce3d,_0x526478==='current');});}['_drawRichTextLayer'](_0x3339e1,_0x24358e,_0x564884,_0x30146b,_0x4aa3bd){const _0x39e539=_0x14788d;let _0x8d038a=this['_props'][_0x39e539(0x1fe)];if(!_0x24358e['dataModel']||!_0x8d038a){_0x8d038a||console['warn'](_0x39e539(0x1ec));return;}let _0x450393=(0x0,_0x4df77c['normalizeShapeTextModel'])(_0x24358e[_0x39e539(0x394)]);if(!_0x450393)return;let _0x5963d7=_0x450393['doc'];if(!_0x5963d7)return;let _0x596cf1=(0x0,_0x4e08a0[_0x39e539(0x407)])(_0x5963d7,_0x30146b),_0x834a46=_0x450393['va']??_0x51ff18[_0x39e539(0x189)][_0x39e539(0x309)],_0x98ebdb=_0x450393['ha']??_0x51ff18[_0x39e539(0x2e8)][_0x39e539(0x3dd)],_0x42e81b=_0x3a9531(this[_0x39e539(0x164)][_0x39e539(0x30e)]['getShapeData'](),_0x24358e,_0x596cf1),_0x506134=_0x24358e['isHorizontal'],_0x28c52b=(0x0,_0x4df77c[_0x39e539(0x3cc)])(_0x596cf1,{'isHorizontal':_0x506134!==!0x1,'textRect':_0x564884,'verticalAlign':_0x834a46,'horizontalAlign':_0x98ebdb,'wrapStrategy':_0x42e81b[_0x39e539(0x110)]}),_0x11a0a0=new _0x51ff18[(_0x39e539(0x3ab))](_0x28c52b),_0x8b29d=new _0x164900[(_0x39e539(0x2f7))](_0x11a0a0),_0x1f6bfe=_0x164900['DocumentSkeleton'][_0x39e539(0x366)](_0x8b29d,_0x8d038a);_0x1f6bfe[_0x39e539(0x267)]();let _0x4d7a5b=_0x1f6bfe[_0x39e539(0x197)]()[_0x39e539(0x3d2)],_0x5714c7=(0x0,_0x4df77c[_0x39e539(0xad)])({'contentHeight':_0x4d7a5b,'verticalAlign':_0x834a46,'viewportHeight':_0x564884[_0x39e539(0x346)]});_0x11a0a0[_0x39e539(0x3f4)]({'pageSize':{'width':_0x506134===!0x1?_0x564884['height']:_0x564884[_0x39e539(0x11a)],'height':(0x0,_0x4df77c['resolveShapeTextDocumentPageHeight'])(_0x596cf1,_0x5714c7['contentHeight'])}}),_0x11a0a0[_0x39e539(0xe4)]({'t':_0x5714c7[_0x39e539(0xca)]}),_0x1f6bfe[_0x39e539(0x267)]();let _0x1a38fc=new _0x164900[(_0x39e539(0x3bf))](_0x39e539(0x120)+this[_0x39e539(0xf9)],_0x1f6bfe,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x1a38fc[_0x39e539(0x3f3)](_0x564884[_0x39e539(0x11a)],_0x5714c7[_0x39e539(0x1f1)]),_0x3339e1[_0x39e539(0xe8)](),_0x3339e1['translateWithPrecision'](_0x564884['left'],_0x564884['top']),_0x42e81b[_0x39e539(0x225)]&&(_0x3339e1[_0x39e539(0xaa)](),_0x3339e1[_0x39e539(0x2b5)](0x0,_0x5714c7[_0x39e539(0x342)],_0x564884[_0x39e539(0x11a)],_0x5714c7[_0x39e539(0x34f)]),_0x3339e1[_0x39e539(0x225)]()),_0x5714c7['contentVerticalOffset']&&_0x3339e1[_0x39e539(0xaf)](0x0,_0x5714c7[_0x39e539(0xc0)]),_0x1a38fc[_0x39e539(0x10a)](_0x3339e1),_0x4aa3bd&&(this[_0x39e539(0x139)]=(0x0,_0x4df77c['createShapeTextHyperLinkRegions'])(_0x1a38fc,{'left':_0x564884[_0x39e539(0x1c3)],'top':_0x564884[_0x39e539(0x24f)]+_0x5714c7[_0x39e539(0xc0)]},_0x42e81b['clip']?{'left':_0x564884[_0x39e539(0x1c3)],'right':_0x564884[_0x39e539(0x1c3)]+_0x564884['width'],'top':_0x564884[_0x39e539(0x24f)]+_0x5714c7[_0x39e539(0x342)],'bottom':_0x564884['top']+_0x5714c7['clipTop']+_0x5714c7[_0x39e539(0x34f)]}:void 0x0)),_0x3339e1['restore'](),_0x1a38fc[_0x39e539(0x20b)](),_0x1f6bfe[_0x39e539(0x20b)](),_0x8b29d['dispose'](),_0x11a0a0['dispose']();}['render'](_0x2d741f,_0x42ab6b,_0x244d90=!0x1){const _0x5c7ab4=_0x14788d;if(!this['visible'])return this[_0x5c7ab4(0x41f)](!0x1),this;let {width:_0x18a93d,height:_0x28263c,left:_0x53cf6f,top:_0x104814}=this,_0x282709=this['getRealBound']();if(_0x18a93d=_0x282709[_0x5c7ab4(0x11a)],_0x28263c=_0x282709['height'],_0x53cf6f=_0x282709[_0x5c7ab4(0x1c3)],_0x104814=_0x282709['top'],this['isRender'](_0x42ab6b)){let {top:_0x1bd637,left:_0x7d4983,bottom:_0x41b032,right:_0xf68336}=_0x42ab6b[_0x5c7ab4(0x350)];if(_0x18a93d+this[_0x5c7ab4(0x256)]+_0x53cf6f<_0x7d4983||_0xf68336<_0x53cf6f||_0x28263c+this[_0x5c7ab4(0x256)]+_0x104814<_0x1bd637||_0x41b032<_0x104814)return this;}let _0x133e4f=_0x53cf6f+_0x18a93d/0x2,_0x4b0b74=_0x104814+_0x28263c/0x2,_0x1ed36a=this[_0x5c7ab4(0x362)][_0x5c7ab4(0x343)]();if(this[_0x5c7ab4(0x164)][_0x5c7ab4(0x1cc)]){let _0x7125e=this['getState'](),_0x17004b=new _0x164900[(_0x5c7ab4(0x387))]();_0x17004b[_0x5c7ab4(0xce)]({..._0x7125e}),_0x1ed36a=_0x17004b[_0x5c7ab4(0x343)]();}return _0x2d741f[_0x5c7ab4(0xe8)](),this[_0x5c7ab4(0x164)][_0x5c7ab4(0x30e)][_0x5c7ab4(0x115)]===!0x0||_0x2d741f['transform'](_0x1ed36a[0x0],_0x1ed36a[0x1],_0x1ed36a[0x2],_0x1ed36a[0x3],_0x133e4f,_0x4b0b74),this[_0x5c7ab4(0x3d0)](_0x2d741f,_0x42ab6b,_0x18a93d,_0x28263c),_0x2d741f[_0x5c7ab4(0x265)](),this[_0x5c7ab4(0x41f)](!0x1),this;}[_0x14788d(0x138)](_0x37e457){const _0x565fbc=_0x14788d;let {left:_0x318b49,top:_0x3647b7,width:_0x51d378,height:_0x2814e9}=this[_0x565fbc(0x3a6)](),_0x27471b=this[_0x565fbc(0x362)][_0x565fbc(0x343)](),_0xae778e=_0x318b49+_0x51d378/0x2,_0xd3b632=_0x3647b7+_0x2814e9/0x2,_0x285436=new _0x164900[(_0x565fbc(0x387))]([_0x27471b[0x0],_0x27471b[0x1],_0x27471b[0x2],_0x27471b[0x3],_0xae778e,_0xd3b632]),_0x5ba59c=this[_0x565fbc(0x250)]();return(this[_0x565fbc(0x291)]&&(_0x5ba59c==null?void 0x0:_0x5ba59c[_0x565fbc(0x237)])===_0x164900['RENDER_CLASS_TYPE']['GROUP']?_0x5ba59c[_0x565fbc(0x302)][_0x565fbc(0x112)](_0x285436):_0x285436)[_0x565fbc(0x20d)]()[_0x565fbc(0x206)](_0x37e457);}['isHit'](_0x183a1d){const _0x350714=_0x14788d;let {left:_0x2c2491,top:_0x477145,width:_0x231ad5,height:_0x453f2f}=this[_0x350714(0x3a6)](),_0xdf66ff=_0x2c2491+_0x231ad5/0x2,_0x14dd9f=_0x477145+_0x453f2f/0x2,_0x44b318=this[_0x350714(0x362)]['getMatrix'](),_0x361107=new _0x164900[(_0x350714(0x387))]([_0x44b318[0x0],_0x44b318[0x1],_0x44b318[0x2],_0x44b318[0x3],_0xdf66ff,_0x14dd9f]),_0x121b92=this['getParent'](),_0x23079a=(this[_0x350714(0x291)]&&(_0x121b92==null?void 0x0:_0x121b92[_0x350714(0x237)])===_0x164900['RENDER_CLASS_TYPE'][_0x350714(0x36e)]?_0x121b92[_0x350714(0x302)][_0x350714(0x112)](_0x361107):_0x361107)[_0x350714(0x20d)]()[_0x350714(0x206)](_0x183a1d),_0x551506=_0x231ad5/0x2,_0x3a1806=_0x453f2f/0x2,_0x54dbab=this[_0x350714(0x164)][_0x350714(0x30e)];return _0x54dbab&&_0x54dbab[_0x350714(0xab)]()?_0x54dbab['isHitLine'](_0x23079a['x'],_0x23079a['y'],_0x231ad5,_0x453f2f):_0x23079a['x']>=-_0x551506-this['strokeWidth']/0x2&&_0x23079a['x']<=_0x551506+this[_0x350714(0x256)]/0x2&&_0x23079a['y']>=-_0x3a1806-this[_0x350714(0x256)]/0x2&&_0x23079a['y']<=_0x3a1806+this[_0x350714(0x256)]/0x2;}['dispose'](){const _0x35d3f6=_0x14788d;this[_0x35d3f6(0x22a)][_0x35d3f6(0x20b)](),this[_0x35d3f6(0x164)][_0x35d3f6(0x30e)]=null,super[_0x35d3f6(0x20b)]();}};let _0x40c79a=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x436b6e,_0x27d36f,_0x5398bd,_0x8c0b30){const _0x338293=_0x14788d;super(),this['_context']=_0x436b6e,this[_0x338293(0x39e)]=_0x27d36f,this[_0x338293(0xf2)]=_0x5398bd,this[_0x338293(0x22f)]=_0x8c0b30,_0x30c9f5(this,'_activeShapeId',null),_0x30c9f5(this,_0x338293(0x30c),null),_0x30c9f5(this,_0x338293(0x357),null),_0x30c9f5(this,'_activeShapeAdjustPointList',void 0x0),_0x30c9f5(this,_0x338293(0x35e),[]),_0x30c9f5(this,_0x338293(0x12d),0x0),_0x30c9f5(this,'_baseShapeTop',0x0),_0x30c9f5(this,_0x338293(0xff),0x0),_0x30c9f5(this,_0x338293(0x1ed),0x0),_0x30c9f5(this,'_isStartAdjusting',!0x1),_0x30c9f5(this,_0x338293(0x401),!0x1),_0x30c9f5(this,_0x338293(0x1e6),void 0x0),_0x30c9f5(this,_0x338293(0x2b0),void 0x0),_0x30c9f5(this,'_adjHandlerPointerMove',void 0x0),_0x30c9f5(this,_0x338293(0x9d),void 0x0),this[_0x338293(0x162)](),this[_0x338293(0xae)]();}[_0x14788d(0x312)](){this['_clearShapeAdjustControls']();}[_0x14788d(0x261)](){const _0x297887=_0x14788d;this[_0x297887(0x10e)](!0x0);}['_getShapeAdjustPointListById'](_0x4220c7,_0xb6db8b,_0x48c849){const _0x3e3ff4=_0x14788d;var _0x4915b6;return(_0x4915b6=this['_docsShapeService'][_0x3e3ff4(0x11b)](_0x4220c7,_0xb6db8b,_0x48c849))==null?void 0x0:_0x4915b6['getDrawingPoints']();}[_0x14788d(0x153)](_0x4356b3,_0x585eb0,_0x32fd68,_0x333048){const _0x3256ce=_0x14788d;var _0x384590;return(_0x384590=this[_0x3256ce(0xf2)]['getShapeModel'](_0x4356b3,_0x585eb0,_0x32fd68))==null?void 0x0:_0x384590[_0x3256ce(0x39f)](_0x333048);}[_0x14788d(0x29d)](){const _0x3560c6=_0x14788d;return this[_0x3560c6(0x30c)]===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this[_0x3560c6(0x39e)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x3560c6(0x357)],'drawingId':this[_0x3560c6(0x172)]})??null;}['_getActiveDrawingShape'](_0x30f13d){const _0x1c483b=_0x14788d;if(this[_0x1c483b(0x30c)]===null||this['_subUnitId']===null||this[_0x1c483b(0x172)]===null)return null;let _0x206dd3=(0x0,_0x893ff7[_0x1c483b(0x3d4)])({'unitId':this[_0x1c483b(0x30c)],'subUnitId':this[_0x1c483b(0x357)],'drawingId':this[_0x1c483b(0x172)]}),_0x359745=_0x30f13d[_0x1c483b(0xa5)](_0x206dd3);return _0x359745 instanceof _0x5d2ab8?_0x359745:null;}['_createShapeAdjustControls'](_0x3b1083=!0x1){const _0x27d51d=_0x14788d;if(this[_0x27d51d(0x30c)]===null||this['_subUnitId']===null||this[_0x27d51d(0x172)]===null)return;let _0x2fc11a=this[_0x27d51d(0x29d)]();if((_0x2fc11a==null?void 0x0:_0x2fc11a[_0x27d51d(0x22c)])!==_0x51ff18[_0x27d51d(0x1d4)]['DRAWING_SHAPE']||!_0x2fc11a[_0x27d51d(0x362)])return;let _0x5a577e=this['_docsShapeService'][_0x27d51d(0x11b)](this[_0x27d51d(0x30c)],this[_0x27d51d(0x357)],this[_0x27d51d(0x172)]);if(!_0x5a577e||_0x5a577e[_0x27d51d(0xab)]())return;let {left:_0x4141cb=0x0,top:_0x57cf0b=0x0,width:_0x4e6b45=0x0,height:_0x132bfc=0x0,flipX:_0x1ac21a,flipY:_0x5c5700,angle:_0x118a0b=0x0}=_0x2fc11a[_0x27d51d(0x362)];(_0x3b1083||!this['_activeShapeAdjustPointList'])&&(_0x5a577e[_0x27d51d(0x118)]({'width':_0x4e6b45,'height':_0x132bfc}),this['_activeShapeAdjustPointList']=_0x5a577e[_0x27d51d(0x28c)]());let _0x533276=this[_0x27d51d(0x37e)];if(!(_0x533276!=null&&_0x533276[_0x27d51d(0x12a)]))return;let {scene:_0xbd262}=this[_0x27d51d(0x2d0)];for(let _0x52a1cd of _0x533276){let _0x30f2ed=this[_0x27d51d(0x280)](_0x52a1cd,_0x4e6b45,_0x132bfc,!!_0x1ac21a,!!_0x5c5700,_0x118a0b);this['_addShapeAdjustControl'](_0xbd262,_0x30f2ed,_0x30f2ed[_0x27d51d(0x2cf)],_0x4141cb,_0x57cf0b,this['_unitId'],this[_0x27d51d(0x357)]);}}[_0x14788d(0x280)](_0x48a4d6,_0x240dc9,_0x4e8161,_0x4bf847,_0x339b5f,_0x3d0f3f){const _0x23a9ad=_0x14788d;let _0xa777be=_0x48a4d6['x'],_0xdb142b=_0x48a4d6['y'];if(_0x4bf847&&(_0xa777be=_0x240dc9-_0xa777be),_0x339b5f&&(_0xdb142b=_0x4e8161-_0xdb142b),_0x3d0f3f!==0x0){let _0x108c20=_0x240dc9/0x2,_0x5e35d7=_0x4e8161/0x2,_0x4407f2=_0x3d0f3f*Math['PI']/0xb4,_0x21ff10=Math[_0x23a9ad(0x15e)](_0x4407f2),_0x3c7671=Math[_0x23a9ad(0x29f)](_0x4407f2),_0x1c975e=_0xa777be-_0x108c20,_0x487e0e=_0xdb142b-_0x5e35d7;_0xa777be=_0x108c20+(_0x1c975e*_0x21ff10-_0x487e0e*_0x3c7671),_0xdb142b=_0x5e35d7+(_0x1c975e*_0x3c7671+_0x487e0e*_0x21ff10);}return{'x':_0xa777be,'y':_0xdb142b,'adjName':_0x48a4d6[_0x23a9ad(0x2cf)]};}[_0x14788d(0x10e)](_0x5d43a5=!0x1){const _0x20c195=_0x14788d;_0x5d43a5&&this[_0x20c195(0x2e1)](),this[_0x20c195(0x32d)](_0x5d43a5);}['_addShapeAdjustControl'](_0x5411cf,_0x318676,_0x21decb,_0x159849,_0x376674,_0x37436b,_0x5ec16c){const _0x3c443d=_0x14788d;if(!this[_0x3c443d(0x172)])return;let _0x26b691=_0x3c443d(0x10d)+this[_0x3c443d(0x172)]+'-'+_0x21decb,_0x33bcad=_0x5411cf[_0x3c443d(0xa5)](_0x26b691);if(_0x33bcad){_0x33bcad[_0x3c443d(0x229)]({'left':_0x318676['x']+_0x159849-_0x59d795['ShapeDefaultConfig']['adjHandleSize'],'top':_0x318676['y']+_0x376674-_0x59d795[_0x3c443d(0x248)][_0x3c443d(0xd8)]}),_0x33bcad[_0x3c443d(0x41f)](!0x0);return;}let _0xbf4fc=new _0x2fda31(_0x26b691,{'left':_0x318676['x']+_0x159849-_0x59d795['ShapeDefaultConfig']['adjHandleSize'],'top':_0x318676['y']+_0x376674-_0x59d795['ShapeDefaultConfig'][_0x3c443d(0xd8)],'adjName':_0x21decb,'shapeId':this[_0x3c443d(0x172)],'unitId':_0x37436b,'subUnitId':_0x5ec16c,'width':_0x59d795[_0x3c443d(0x248)]['adjHandleSize']+0x8,'height':_0x59d795[_0x3c443d(0x248)]['adjHandleSize']+0x8,'zIndex':_0x164900[_0x3c443d(0x33f)]+0x1,'evented':!0x0});this[_0x3c443d(0x35e)]['push'](_0xbf4fc),this[_0x3c443d(0x2fb)](_0xbf4fc,_0x5411cf,_0x21decb),_0x5411cf[_0x3c443d(0x17a)](_0xbf4fc,_0x164900[_0x3c443d(0x33f)]+0x1);}[_0x14788d(0x2e1)](){const _0x5b3cf9=_0x14788d;this[_0x5b3cf9(0x35e)]['forEach'](_0xcd3cf5=>_0xcd3cf5[_0x5b3cf9(0x20b)]()),this[_0x5b3cf9(0x35e)]=[];}[_0x14788d(0x310)](){const _0x1009f4=_0x14788d;this[_0x1009f4(0x32d)]();}[_0x14788d(0xe7)](_0x1e92e2,_0x11d02b,_0x48ff89){const _0x5850aa=_0x14788d;let _0x57dfc6=_0x164900['Vector2'][_0x5850aa(0x16f)]([_0x11d02b,_0x48ff89]),_0x6c1164=_0x1e92e2[_0x5850aa(0x101)](_0x57dfc6)??_0x1e92e2[_0x5850aa(0xbe)]()[0x0];return(_0x6c1164==null?void 0x0:_0x6c1164['transformVector2SceneCoord'](_0x57dfc6))??_0x57dfc6;}[_0x14788d(0x2fb)](_0x516330,_0x1f5d40,_0x509042){const _0x4c3dd3=_0x14788d;this[_0x4c3dd3(0x2c1)]((0x0,_0x51ff18[_0x4c3dd3(0x273)])(_0x516330[_0x4c3dd3(0xa1)][_0x4c3dd3(0x3e0)]((_0x1053ba,_0x4a2ae5)=>{const _0x481b3b=_0x4c3dd3;var _0x2d4dd9;let _0x455fc7=_0x516330[_0x481b3b(0x37f)]();this['_activeAdjustInfo']=this['_getShapeAdjustInfosById'](_0x455fc7[_0x481b3b(0x1b5)],_0x455fc7[_0x481b3b(0x151)],_0x455fc7[_0x481b3b(0x3f7)],_0x509042),this[_0x481b3b(0x2b0)]=this[_0x481b3b(0xf2)][_0x481b3b(0x11b)](_0x455fc7[_0x481b3b(0x1b5)],_0x455fc7[_0x481b3b(0x151)],_0x455fc7[_0x481b3b(0x3f7)]);let _0xf66446=this['_getActiveDrawingParam'](),_0x46c695=_0xf66446==null?void 0x0:_0xf66446[_0x481b3b(0x362)];if(!_0xf66446||!_0x46c695||!this['_activeShapeModel'])return;this[_0x481b3b(0x12d)]=_0x46c695[_0x481b3b(0x1c3)]||0x0,this[_0x481b3b(0xb3)]=_0x46c695[_0x481b3b(0x24f)]||0x0,this['_baseShapeWidth']=_0x46c695[_0x481b3b(0x11a)]||0x0,this[_0x481b3b(0x1ed)]=_0x46c695[_0x481b3b(0x346)]||0x0;let _0x10d936=!!_0x46c695[_0x481b3b(0x186)],_0x33579d=!!_0x46c695[_0x481b3b(0x9c)],_0x709413=_0x46c695[_0x481b3b(0x163)]||0x0,_0x498908={...((_0x2d4dd9=this[_0x481b3b(0x1e6)])==null?void 0x0:_0x2d4dd9['currentAdjustValues'])??{}};this['_isStartAdjusting']=!0x0,_0x1f5d40[_0x481b3b(0x21b)](),this[_0x481b3b(0x14c)]=_0x1f5d40['onPointerMove$'][_0x481b3b(0x3e0)]((_0x504f64,_0x3ea65e)=>{const _0x2e2e04=_0x481b3b;var _0x2301eb;if(!this[_0x2e2e04(0x270)]||!this[_0x2e2e04(0x2b0)]||!this[_0x2e2e04(0x1e6)])return;_0x1f5d40[_0x2e2e04(0x21b)](),_0x1f5d40['setCursor'](_0x164900[_0x2e2e04(0xd2)][_0x2e2e04(0x3c0)]);let _0x355944=this[_0x2e2e04(0xe7)](_0x1f5d40,_0x504f64['offsetX'],_0x504f64[_0x2e2e04(0x3a4)]),_0x3b709f=_0x355944['x']-this[_0x2e2e04(0x12d)],_0x3b607f=_0x355944['y']-this[_0x2e2e04(0xb3)];if(_0x709413!==0x0){let _0x29d9e7=this['_baseShapeWidth']/0x2,_0x3243aa=this[_0x2e2e04(0x1ed)]/0x2,_0x5b52e8=_0x709413*Math['PI']/0xb4,_0x1a7fd9=Math['cos'](_0x5b52e8),_0x5a4d5e=Math[_0x2e2e04(0x29f)](_0x5b52e8),_0x5e5f12=_0x3b709f-_0x29d9e7,_0x3c3cba=_0x3b607f-_0x3243aa;_0x3b709f=_0x29d9e7+(_0x5e5f12*_0x1a7fd9+_0x3c3cba*_0x5a4d5e),_0x3b607f=_0x3243aa+(-_0x5e5f12*_0x5a4d5e+_0x3c3cba*_0x1a7fd9);}_0x10d936&&(_0x3b709f=this['_baseShapeWidth']-_0x3b709f),_0x33579d&&(_0x3b607f=this[_0x2e2e04(0x1ed)]-_0x3b607f);let _0x47032a={'left':0x0,'top':0x0,'width':this[_0x2e2e04(0xff)],'height':this[_0x2e2e04(0x1ed)]},_0x44e313=this[_0x2e2e04(0x2b0)][_0x2e2e04(0x215)](_0x47032a,{'x':_0x3b709f,'y':_0x3b607f},this[_0x2e2e04(0x1e6)],_0x10d936,_0x33579d);if(Object[_0x2e2e04(0xd4)](_0x44e313)[_0x2e2e04(0x12a)]!==0x0){for(let [_0x2fa638,_0x15e76d]of Object[_0x2e2e04(0x13e)](_0x44e313))this[_0x2e2e04(0x2b0)]['setAdjustValueByName'](_0x2fa638,_0x15e76d);this[_0x2e2e04(0x2b0)][_0x2e2e04(0x118)]({'width':this[_0x2e2e04(0xff)],'height':this[_0x2e2e04(0x1ed)]}),(_0x2301eb=this[_0x2e2e04(0x2c6)](_0x1f5d40))==null||_0x2301eb[_0x2e2e04(0x41f)](!0x0),this[_0x2e2e04(0x37e)]=this[_0x2e2e04(0x241)](_0x455fc7[_0x2e2e04(0x1b5)],_0x455fc7[_0x2e2e04(0x151)],_0x455fc7[_0x2e2e04(0x3f7)]),this[_0x2e2e04(0x310)](),_0x3ea65e[_0x2e2e04(0x1c4)]();}}),this[_0x481b3b(0x9d)]=_0x1f5d40[_0x481b3b(0x3ac)]['subscribeEvent']((_0x5a225f,_0x2c8628)=>{const _0x594101=_0x481b3b;var _0x4d2ee7,_0x590f16;(_0x4d2ee7=this[_0x594101(0x14c)])==null||_0x4d2ee7[_0x594101(0x2ee)](),(_0x590f16=this[_0x594101(0x9d)])==null||_0x590f16[_0x594101(0x2ee)](),_0x1f5d40['resetCursor']();let _0x1338f7=this[_0x594101(0x1e6)];if(_0x1338f7&&this['_activeShapeModel']){let _0x6d44be={};for(let _0xce63c1 of Object['keys'](_0x1338f7[_0x594101(0xc7)])){let _0x102a40=this[_0x594101(0x2b0)][_0x594101(0x35a)](_0xce63c1);_0x102a40!==void 0x0&&(_0x6d44be[_0xce63c1]=_0x102a40);}Object[_0x594101(0xd4)](_0x6d44be)[_0x594101(0x12a)]>0x0&&_0x50d249(this[_0x594101(0x22f)],_0x455fc7[_0x594101(0x1b5)],_0x455fc7[_0x594101(0x151)],_0x455fc7[_0x594101(0x3f7)],{'oldShapeData':{'adjustValues':_0x498908}},{'adjustValues':_0x6d44be});}this[_0x594101(0x1e6)]=void 0x0,this[_0x594101(0x2b0)]=void 0x0,this[_0x594101(0x270)]=!0x1,_0x1f5d40[_0x594101(0x14a)](),_0x2c8628[_0x594101(0x1c4)]();}),_0x4a2ae5[_0x481b3b(0x1c4)]();})));}[_0x14788d(0xae)](){const _0xd94f17=_0x14788d;let {scene:_0x4035ac}=this['_context'],_0x26667b=_0x4035ac[_0xd94f17(0x2f8)]();this['disposeWithMe'](_0x26667b[_0xd94f17(0x10c)][_0xd94f17(0x402)](_0x2c590a=>{const _0x1e6010=_0xd94f17;this[_0x1e6010(0x32d)](),_0x2c590a['objects']!==null&&_0x2c590a[_0x1e6010(0x3a0)][_0x1e6010(0x397)]===0x1&&_0x2c590a[_0x1e6010(0x3a0)][_0x1e6010(0x2be)]()[_0x1e6010(0x234)]()[_0x1e6010(0x1d7)]instanceof _0x5d2ab8&&(this[_0x1e6010(0x401)]=!0x0);})),this[_0xd94f17(0x2c1)](_0x26667b[_0xd94f17(0x1aa)][_0xd94f17(0x402)](()=>{this['_isShouldShowDrawingShapeAdjust']&&this['_clearShapeAdjustControls']();})),this[_0xd94f17(0x2c1)](_0x4035ac[_0xd94f17(0x3ac)]['subscribeEvent'](()=>{const _0x2b8a7a=_0xd94f17;this[_0x2b8a7a(0x401)]&&(this[_0x2b8a7a(0x401)]=!0x1,this[_0x2b8a7a(0x32d)]());})),this['disposeWithMe'](_0x26667b[_0xd94f17(0x348)][_0xd94f17(0x402)](()=>{const _0x1eb077=_0xd94f17;this[_0x1eb077(0x30c)]&&this['_subUnitId']&&this[_0x1eb077(0x172)]&&(this[_0x1eb077(0x37e)]=this[_0x1eb077(0x241)](this[_0x1eb077(0x30c)],this[_0x1eb077(0x357)],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}[_0x14788d(0x162)](){const _0x57aa54=_0x14788d;this[_0x57aa54(0x2c1)](this[_0x57aa54(0x22f)][_0x57aa54(0x3f1)](_0xa8fa89=>{const _0x2fc50d=_0x57aa54;if(_0xa8fa89['id']!==_0xddc3b0[_0x2fc50d(0x127)]['id'])return;let {unitId:_0x64fc01,shapeId:_0x23e3e9}=_0xa8fa89[_0x2fc50d(0x423)];_0x64fc01===this[_0x2fc50d(0x30c)]&&_0x23e3e9===this[_0x2fc50d(0x172)]&&this[_0x2fc50d(0x261)]();})),this[_0x57aa54(0x2c1)](this[_0x57aa54(0x39e)]['focus$'][_0x57aa54(0x402)](_0xfa9bfc=>{const _0x450241=_0x57aa54;if(_0xfa9bfc[_0x450241(0x12a)]===0x1){let _0x298712=_0xfa9bfc[0x0],_0x574c9c=this[_0x450241(0x39e)][_0x450241(0x122)](_0x298712);if((_0x574c9c==null?void 0x0:_0x574c9c[_0x450241(0x22c)])===_0x51ff18[_0x450241(0x1d4)][_0x450241(0x376)]){this['_activeShapeId']=_0x298712[_0x450241(0x3f7)],this[_0x450241(0x30c)]=_0x298712['unitId'],this[_0x450241(0x357)]=_0x298712[_0x450241(0x151)],this['_activeShapeAdjustPointList']=this[_0x450241(0x241)](_0x298712[_0x450241(0x1b5)],_0x298712[_0x450241(0x151)],_0x298712['drawingId']),this['_clearShapeAdjustControls'](),this[_0x450241(0x32d)]();return;}}this[_0x450241(0x172)]=null,this[_0x450241(0x37e)]=void 0x0,this[_0x450241(0x30c)]=null,this[_0x450241(0x357)]=null,this[_0x450241(0x2e1)]();})),this[_0x57aa54(0x2c1)]((0x0,_0x1191c7['merge'])(this[_0x57aa54(0x39e)][_0x57aa54(0x2a8)],this[_0x57aa54(0x39e)][_0x57aa54(0x191)])[_0x57aa54(0x402)](_0x101a41=>{const _0x43b21d=_0x57aa54;var _0x2172ca;let _0x5226db=_0x101a41[_0x43b21d(0x16d)](_0x28557d=>_0x28557d['drawingId']===this[_0x43b21d(0x172)]&&_0x28557d[_0x43b21d(0x1b5)]===this[_0x43b21d(0x30c)]&&_0x28557d['subUnitId']===this[_0x43b21d(0x357)]);_0x5226db&&((_0x2172ca=this['_drawingManagerService'][_0x43b21d(0x122)](_0x5226db))==null?void 0x0:_0x2172ca[_0x43b21d(0x22c)])===_0x51ff18[_0x43b21d(0x1d4)]['DRAWING_SHAPE']&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this['_drawingManagerService'][_0x57aa54(0x3ec)][_0x57aa54(0x402)](_0x3a8dfa=>{const _0x408d05=_0x57aa54;for(let _0x529e8e of _0x3a8dfa)this[_0x408d05(0x172)]===_0x529e8e[_0x408d05(0x3f7)]&&(this[_0x408d05(0x172)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x408d05(0x30c)]=null,this[_0x408d05(0x357)]=null,this[_0x408d05(0x2e1)]());}));}};_0x40c79a=_0x1e5419([_0x3fe79d(0x1,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x220)])],_0x40c79a);let _0x1e6cd8=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x46ca68,_0x55f558){const _0x18424d=_0x14788d;super(),this[_0x18424d(0x102)]=_0x46ca68,this[_0x18424d(0x1cf)]=_0x55f558,_0x30c9f5(this,_0x18424d(0x2b7),new _0x1191c7[(_0x18424d(0x148))](null)),_0x30c9f5(this,_0x18424d(0x334),this[_0x18424d(0x2b7)][_0x18424d(0xef)]()),_0x30c9f5(this,'_onSavingEditorData$',new _0x1191c7[(_0x18424d(0x148))](!0x1)),_0x30c9f5(this,_0x18424d(0x1a3),this[_0x18424d(0x179)]['asObservable']()),_0x30c9f5(this,_0x18424d(0x3e9),void 0x0),this[_0x18424d(0x2c1)](this[_0x18424d(0x102)][_0x18424d(0x349)][_0x18424d(0x402)](()=>{const _0x5da200=_0x18424d;let _0x276095=this[_0x5da200(0x317)]();_0x276095!=null&&_0x276095[_0x5da200(0x2dd)]&&!this[_0x5da200(0x1fc)](_0x276095)&&this['setEditing'](null);}));}[_0x14788d(0x20b)](){const _0x463f50=_0x14788d;this[_0x463f50(0x1b0)](),this[_0x463f50(0x2b7)][_0x463f50(0x234)](null),this[_0x463f50(0x2b7)][_0x463f50(0x18f)](),this[_0x463f50(0x179)][_0x463f50(0x234)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x463f50(0x20b)]();}[_0x14788d(0x11e)](_0x5d2d48){const _0xb23f22=_0x14788d;(_0x5d2d48==null||!_0x5d2d48['visible']||this[_0xb23f22(0x1fc)](_0x5d2d48))&&(this[_0xb23f22(0x1b0)](),this['_editingParams$'][_0xb23f22(0x234)](_0x5d2d48),(_0x5d2d48==null||_0x5d2d48[_0xb23f22(0x2dd)]&&this[_0xb23f22(0x179)][_0xb23f22(0x2fe)]())&&this[_0xb23f22(0x179)][_0xb23f22(0x234)](!0x1));}[_0x14788d(0x11d)](_0x144688){const _0x3e357e=_0x14788d;this[_0x3e357e(0x179)]['next'](_0x144688);}[_0x14788d(0x317)](){const _0x1a83fa=_0x14788d;return this[_0x1a83fa(0x2b7)][_0x1a83fa(0x2fe)]();}[_0x14788d(0x1fc)](_0x44e40d){const _0x51e146=_0x14788d;let _0x4d19c6=this[_0x51e146(0x1cf)][_0x51e146(0x419)](_0x44e40d['unitId'],_0x51ff18[_0x51e146(0x1b6)]['UNIVER_DOC']);if(!_0x4d19c6)return!0x0;let _0x30af46=(0x0,_0x31599d[_0x51e146(0x332)])(_0x4d19c6,_0x44e40d[_0x51e146(0x344)]);return(0x0,_0x31599d[_0x51e146(0x117)])(this[_0x51e146(0x102)],_0x44e40d[_0x51e146(0x1b5)],[...(0x0,_0x31599d[_0x51e146(0x363)])(_0x4d19c6,_0x30af46,_0x51e146(0xfa),_0x44e40d[_0x51e146(0x344)]),(0x0,_0x31599d[_0x51e146(0xb6)])(_0x30af46,_0x51e146(0xfa),_0x44e40d['shapeId'])]);}[_0x14788d(0x161)](_0x5c3796){const _0x1155fe=_0x14788d;let _0x52a2c2=this[_0x1155fe(0x317)]();_0x52a2c2&&this[_0x1155fe(0x3e9)]===void 0x0&&(this[_0x1155fe(0x11d)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0xe5c828=_0x1155fe;this[_0xe5c828(0x3e9)]=void 0x0,this['getEditing']()===_0x52a2c2&&this[_0xe5c828(0x11e)](null);}));}[_0x14788d(0x1b0)](){const _0x2d8766=_0x14788d;this[_0x2d8766(0x3e9)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this[_0x2d8766(0x3e9)]=void 0x0);}['cancelEditing'](){const _0x48d1c6=_0x14788d;this[_0x48d1c6(0x317)]()&&this[_0x48d1c6(0x11e)](null);}};_0x1e6cd8=_0x1e5419([_0x3fe79d(0x0,_0x51ff18['IPermissionService']),_0x3fe79d(0x1,_0x51ff18[_0x14788d(0x3bc)])],_0x1e6cd8);function _0xcb94e3(_0x513fdf){const _0x24f13b=_0x14788d;return _0x513fdf[_0x24f13b(0x36d)]===!0x0||_0x513fdf[_0x24f13b(0x36d)]===_0x51ff18['BooleanNumber'][_0x24f13b(0x221)]||_0x513fdf['layoutType']===_0x51ff18[_0x24f13b(0x2ea)]['WRAP_NONE']&&_0x513fdf[_0x24f13b(0x3ae)]===_0x51ff18[_0x24f13b(0x277)]['TRUE']?_0x25d652['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x164900[_0x24f13b(0x33f)];}let _0x3b1cf5=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0xc810a4,_0x560324,_0xec852a,_0x19ee24,_0x56462b,_0xfb54d0,_0x4cf531){const _0x2f40b1=_0x14788d;super(),this[_0x2f40b1(0x39e)]=_0xc810a4,this['_docsShapeService']=_0x560324,this[_0x2f40b1(0xf1)]=_0xec852a,this['_imageIoService']=_0x19ee24,this[_0x2f40b1(0x2d2)]=_0x56462b,this[_0x2f40b1(0x1de)]=_0xfb54d0,this['_shapeFormulaService']=_0x4cf531,_0x30c9f5(this,_0x2f40b1(0x16e),new Map()),this[_0x2f40b1(0x2c1)](this[_0x2f40b1(0x24a)][_0x2f40b1(0x2ca)][_0x2f40b1(0x402)](_0x392020=>{const _0x580c21=_0x2f40b1;var _0x3f58e2;(_0x3f58e2=this[_0x580c21(0x16e)][_0x580c21(0x347)](this[_0x580c21(0x3d5)](_0x392020[_0x580c21(0x1b5)],_0x392020[_0x580c21(0x151)],_0x392020['shapeId'])))==null||_0x3f58e2[_0x580c21(0x23f)](_0x4f83c4=>_0x4f83c4[_0x580c21(0x114)](_0x392020[_0x580c21(0x1c9)],_0x392020['animationEnabled']));})),this['disposeWithMe'](this[_0x2f40b1(0x39e)][_0x2f40b1(0x3ec)]['subscribe'](_0xc70b0=>{_0xc70b0['forEach'](_0x460ee7=>{const _0x34eafd=_0x2ff4;this[_0x34eafd(0x24a)]['unregister']({'unitId':_0x460ee7[_0x34eafd(0x1b5)],'subUnitId':_0x460ee7[_0x34eafd(0x151)],'shapeId':_0x460ee7['drawingId']}),this[_0x34eafd(0x16e)]['delete'](this[_0x34eafd(0x3d5)](_0x460ee7[_0x34eafd(0x1b5)],_0x460ee7[_0x34eafd(0x151)],_0x460ee7[_0x34eafd(0x3f7)]));});}));}['renderDrawingShape'](_0x442da0,_0x3bb8b9){const _0x4b365e=_0x14788d;let {transform:_0x39aecc,drawingType:_0x26c308,srcRect:_0x45f18d,prstGeom:_0x2f204e,groupId:_0x2baa5d,unitId:_0x1ab779,subUnitId:_0x465a15,drawingId:_0x200d39,isMultiTransform:_0x1c3741,transforms:_0x4a5ab6,hidden:_0x4146f4,selectable:_0x919803}=_0x442da0;if(_0x26c308!==_0x51ff18['DrawingTypeEnum'][_0x4b365e(0x376)]||!this['_drawingManagerService']['getDrawingVisible']()||_0x39aecc==null)return;let _0x3fdd5e=this[_0x4b365e(0x39e)]['getDrawingEditable'](),_0x34ce6f=_0x1c3741&&_0x4a5ab6?_0x4a5ab6:[_0x39aecc],_0x473e2a=[];for(let [_0x434dfe,_0x148152]of _0x34ce6f[_0x4b365e(0x13e)]()){let {left:_0x1bb2c9,top:_0x5a1c45,width:_0x42db1d,height:_0xa642a7,angle:_0x474b63,flipX:_0xb607eb,flipY:_0x176afe,skewX:_0x378cbc,skewY:_0x56823b}=_0x148152,_0x4740f5=(0x0,_0x893ff7[_0x4b365e(0x3d4)])({'unitId':_0x1ab779,'subUnitId':_0x465a15,'drawingId':_0x200d39},_0x1c3741?_0x434dfe:void 0x0),_0x47d04c=_0x3bb8b9[_0x4b365e(0xa5)](_0x4740f5);if(_0x47d04c!=null){let _0x4b9aac={'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39};_0x47d04c instanceof _0x5d2ab8&&this[_0x4b365e(0x2bc)](_0x47d04c,_0x4b9aac),_0x47d04c['transformByState']({'left':_0x1bb2c9,'top':_0x5a1c45,'width':_0x42db1d,'height':_0xa642a7,'angle':_0x474b63,'flipX':_0xb607eb,'flipY':_0x176afe,'skewX':_0x378cbc,'skewY':_0x56823b});continue;}let _0x4940be=this[_0x4b365e(0x39e)][_0x4b365e(0x262)](_0x1ab779,_0x465a15),_0x3e81d0=_0x4940be['indexOf'](_0x200d39);if(_0x3bb8b9[_0x4b365e(0xa5)](_0x4740f5)||!this['_drawingManagerService'][_0x4b365e(0x14e)]())continue;let _0x2aa3e3=this[_0x4b365e(0xf2)][_0x4b365e(0x11b)](_0x1ab779,_0x465a15,_0x200d39);if(!_0x2aa3e3)continue;let _0x29eaf5=(0x0,_0x59d795[_0x4b365e(0xdb)])(_0x2aa3e3[_0x4b365e(0x18d)]())?{..._0x4df77c[_0x4b365e(0x288)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x4df77c['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x1ea9b7=_0x2aa3e3['getShapeData']()[_0x4b365e(0x37a)],_0x32e34a={'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39};_0x1ea9b7&&this[_0x4b365e(0x24a)]['register'](_0x32e34a,_0x1ea9b7);let _0x1911b1=new _0x5d2ab8(_0x4740f5,{..._0x148152,'zIndex':_0x3e81d0===-0x1?_0x4940be[_0x4b365e(0x12a)]-0x1:_0x3e81d0,'shapeModel':_0x2aa3e3,'localeService':this['_localeService'],'shapeId':_0x200d39,'unitId':_0x1ab779,'subUnitId':_0x465a15,'visible':_0x4146f4!==!0x0,'evented':_0x919803!==!0x1,'formulaPresentation':_0x1ea9b7?this[_0x4b365e(0x24a)][_0x4b365e(0xde)](_0x32e34a):void 0x0,'animateFormulaPresentation':(_0x1ea9b7==null?void 0x0:_0x1ea9b7[_0x4b365e(0x3c8)])!==!0x1,'transformerConfig':_0x29eaf5});if(_0x1ea9b7){let _0x34ea7a=this[_0x4b365e(0x3d5)](_0x1ab779,_0x465a15,_0x200d39),_0x30221b=this[_0x4b365e(0x16e)][_0x4b365e(0x347)](_0x34ea7a)??new Set();_0x30221b[_0x4b365e(0x338)](_0x1911b1),this[_0x4b365e(0x16e)][_0x4b365e(0x2e4)](_0x34ea7a,_0x30221b);}this[_0x4b365e(0x2c1)]((0x0,_0x51ff18['toDisposable'])(_0x1911b1['onDblclick$'][_0x4b365e(0x3e0)]((_0x5ed4fc,_0x272c71)=>{const _0x3320c0=_0x4b365e;_0x2aa3e3[_0x3320c0(0xab)]()||_0x1ea9b7||(this[_0x3320c0(0x1de)][_0x3320c0(0x11e)]({'visible':!0x0,'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39,'shapeKey':_0x1911b1[_0x3320c0(0xf9)]}),_0x272c71['stopPropagation']());}))),_0x3bb8b9['addObject'](_0x1911b1,_0xcb94e3(_0x442da0)),_0x3fdd5e&&_0x3bb8b9[_0x4b365e(0x244)](_0x1911b1),_0x2baa5d&&(0x0,_0x358a20[_0x4b365e(0x1ef)])({'drawingId':_0x2baa5d,'unitId':_0x1ab779,'subUnitId':_0x465a15},_0x1911b1,_0x3bb8b9,this[_0x4b365e(0x39e)],_0x1c3741?_0x434dfe:void 0x0),_0x2f204e!=null&&_0x1911b1[_0x4b365e(0x2f6)](_0x2f204e),_0x45f18d!=null&&_0x1911b1[_0x4b365e(0xc9)](_0x45f18d),this[_0x4b365e(0x386)](_0x1911b1,_0x2aa3e3[_0x4b365e(0x3b3)]()),_0x473e2a[_0x4b365e(0x3a5)](_0x1911b1);}return _0x473e2a;}[_0x14788d(0x3d5)](_0x3134bd,_0x232103,_0x228613){return _0x3134bd+'\x00'+_0x232103+'\x00'+_0x228613;}['refreshFormulaPresentation'](_0x5f05a4,_0x59fe93){const _0x28691c=_0x14788d;let _0x410e11=this[_0x28691c(0xf2)][_0x28691c(0x11b)](_0x59fe93[_0x28691c(0x1b5)],_0x59fe93['subUnitId'],_0x59fe93[_0x28691c(0x344)]),_0x4ed140=_0x410e11==null?void 0x0:_0x410e11[_0x28691c(0x3b3)]()['formulaBinding'],_0x16a86e=this[_0x28691c(0x3d5)](_0x59fe93[_0x28691c(0x1b5)],_0x59fe93[_0x28691c(0x151)],_0x59fe93['shapeId']);if(_0x4ed140){this[_0x28691c(0x24a)]['register'](_0x59fe93,_0x4ed140);let _0x4bc771=this[_0x28691c(0x16e)][_0x28691c(0x347)](_0x16a86e)??new Set();_0x4bc771[_0x28691c(0x338)](_0x5f05a4),this[_0x28691c(0x16e)]['set'](_0x16a86e,_0x4bc771);}else{var _0x253e5f;this[_0x28691c(0x24a)]['unregister'](_0x59fe93),(_0x253e5f=this[_0x28691c(0x16e)]['get'](_0x16a86e))==null||_0x253e5f[_0x28691c(0x142)](_0x5f05a4);}_0x5f05a4[_0x28691c(0x114)](_0x4ed140?this['_shapeFormulaService']['getPresentation'](_0x59fe93):void 0x0,(_0x4ed140==null?void 0x0:_0x4ed140[_0x28691c(0x3c8)])!==!0x1);}[_0x14788d(0x2ff)](_0x352ca1){const _0x1dc2e3=_0x14788d;let _0x15555b=_0x352ca1[_0x1dc2e3(0x30e)][_0x1dc2e3(0x3b3)](),_0x4c1eec=_0x15555b[_0x1dc2e3(0x1f6)];!_0x4c1eec||_0x4c1eec[_0x1dc2e3(0x3e1)]!==_0x59d795[_0x1dc2e3(0x1b8)][_0x1dc2e3(0x375)]||!_0x4c1eec[_0x1dc2e3(0x1dd)]?_0x352ca1[_0x1dc2e3(0x316)](void 0x0):this['_loadShapePictureFill'](_0x352ca1,_0x15555b);}[_0x14788d(0x386)](_0x152acf,_0x20261d){const _0xf63912=_0x14788d;let _0x164f99=_0x20261d[_0xf63912(0x1f6)];if(!_0x164f99||_0x164f99['fillType']!==_0x59d795['ShapeFillEnum'][_0xf63912(0x375)]||!_0x164f99['fillImageSource'])return;let _0x12ad81=_0x164f99[_0xf63912(0x1dd)],_0x77d31e=_0x164f99['fillImageSourceType']??_0x59d795[_0xf63912(0x1ad)]['URL'],_0x260eb9=this[_0xf63912(0x247)][_0xf63912(0x18e)](_0x12ad81,_0x77d31e);_0x260eb9?_0x152acf[_0xf63912(0x316)](_0x260eb9):this[_0xf63912(0x30f)](_0x152acf,_0x12ad81,_0x77d31e);}async['_loadAndSetImage'](_0x2ffc7a,_0x160cbb,_0x1bd7de){const _0x5d0b98=_0x14788d;let _0x4f22c1;try{if(_0x1bd7de===_0x59d795[_0x5d0b98(0x1ad)][_0x5d0b98(0x3c5)])_0x4f22c1=await this[_0x5d0b98(0x247)]['getImage'](_0x160cbb);else{if(_0x1bd7de===_0x59d795[_0x5d0b98(0x1ad)]['URL'])try{_0x4f22c1=await this['_urlImageService'][_0x5d0b98(0x274)](_0x160cbb);}catch{_0x4f22c1=_0x160cbb;}else _0x4f22c1=_0x160cbb;}}catch(_0x4fdb91){console['error'](_0x5d0b98(0x286),_0x4fdb91);return;}let _0x49550=new window['Image']();_0x49550[_0x5d0b98(0x3ba)]=()=>{const _0x26d52e=_0x5d0b98;this[_0x26d52e(0x247)]['addImageSourceCache'](_0x160cbb,_0x1bd7de,_0x49550),_0x2ffc7a[_0x26d52e(0x316)](_0x49550);},_0x49550[_0x5d0b98(0x10f)]=()=>{const _0x20d45b=_0x5d0b98;console[_0x20d45b(0x3ff)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x160cbb);},_0x49550['src']=_0x4f22c1;}};_0x3b1cf5=_0x1e5419([_0x3fe79d(0x0,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0xfe)]),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0x364)]),_0x3fe79d(0x5,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x6,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4e08a0[_0x14788d(0x1d5)]))],_0x3b1cf5);let _0x26a0b9=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x19ede1,_0x5deffd,_0x42a882){const _0x144539=_0x14788d;super(),this[_0x144539(0x18c)]=_0x19ede1,this[_0x144539(0x39e)]=_0x5deffd,this[_0x144539(0x1b1)]=_0x42a882,this[_0x144539(0x408)]();}[_0x14788d(0x408)](){const _0x3b0eeb=_0x14788d;this[_0x3b0eeb(0x2c1)](this[_0x3b0eeb(0x18c)][_0x3b0eeb(0x296)][_0x3b0eeb(0xd1)](this[_0x3b0eeb(0x18c)][_0x3b0eeb(0x296)]['getInterceptPoints']()[_0x3b0eeb(0x33a)],{'handler':(_0x52fd8c,_0x5b2162,_0x5918b0)=>{const _0x18feaa=_0x3b0eeb;var _0x56ad75;let {unitId:_0x2a3507,scene:_0x4a0d03,skeleton:_0x814e36}=_0x5b2162,{pageIndex:_0x5170f5}=_0x5b2162,_0x36fe27=(_0x56ad75=this[_0x18feaa(0x39e)]['getDrawingDataForUnit'](_0x2a3507))==null?void 0x0:_0x56ad75[_0x2a3507],_0x1135cf=_0x17dad8(this[_0x18feaa(0x18c)],_0x814e36,_0x5170f5);return _0x36fe27==null||_0x36fe27[_0x18feaa(0xb1)]['forEach'](_0x572c1d=>{const _0xf85c94=_0x18feaa;if(_0x1135cf&&!_0x1135cf[_0xf85c94(0xa3)](_0x572c1d))return;let _0x28161f=_0x36fe27[_0xf85c94(0x2d4)][_0x572c1d];_0x28161f['drawingType']===_0x51ff18[_0xf85c94(0x1d4)][_0xf85c94(0x376)]&&!_0x28161f['hidden']&&this[_0xf85c94(0x1b1)][_0xf85c94(0xb0)](_0x28161f,_0x4a0d03);}),_0x5918b0(_0x52fd8c);}}));}};_0x26a0b9=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x31b)])),_0x3fe79d(0x1,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0x3b1cf5))],_0x26a0b9);function _0x17dad8(_0x5283bc,_0x2dee98,_0x409de9){const _0x54675a=_0x14788d;var _0x586a03,_0x153598;let _0x2d24ee=_0x5283bc;if(_0x2d24ee[_0x54675a(0x392)])return _0x2d24ee[_0x54675a(0x392)](_0x2dee98,_0x409de9);let _0x4a5b75=_0x2dee98[_0x54675a(0x17e)]();if(!_0x4a5b75||_0x4a5b75[_0x54675a(0x239)]['length']<=0x1||_0x409de9==null)return null;let _0x149160=new Set(),_0xa84884=_0x4a5b75['pages'][_0x409de9];if(!_0xa84884)return _0x149160;_0x5ae427(_0xa84884,_0x149160);let _0x52dcf3=(_0x586a03=_0x4a5b75['skeHeaders'][_0x54675a(0x347)](_0xa84884[_0x54675a(0xc2)]))==null?void 0x0:_0x586a03['get'](_0xa84884[_0x54675a(0x177)]??_0xa84884[_0x54675a(0x3da)]),_0x45d619=(_0x153598=_0x4a5b75[_0x54675a(0x39c)][_0x54675a(0x347)](_0xa84884['footerId']))==null?void 0x0:_0x153598[_0x54675a(0x347)](_0xa84884[_0x54675a(0x26e)]??_0xa84884['pageWidth']);return _0x52dcf3&&_0x5ae427(_0x52dcf3,_0x149160),_0x45d619&&_0x5ae427(_0x45d619,_0x149160),_0x149160;}function _0x5ae427(_0x5a441a,_0x7d394){const _0x168887=_0x14788d;for(let _0x2df238 of _0x5a441a[_0x168887(0x30d)]['keys']())_0x7d394['add'](_0x2df238);for(let _0x1d6d1e of _0x5a441a[_0x168887(0x2fa)][_0x168887(0x2be)]())for(let _0x212bf4 of _0x1d6d1e[_0x168887(0xa6)])for(let _0x2f9793 of _0x212bf4[_0x168887(0x2d8)])_0x5ae427(_0x2f9793,_0x7d394);}function _0x39e6aa({ref:_0x50bcc2,..._0x17ba4d}){const _0x335c4f=_0x14788d;let {preserveStrokeWidth:_0x4d1e33,icon:_0x37fdff,id:_0xe72bb8,className:_0x418160,extend:_0x549a55,..._0x301dd6}=_0x17ba4d,_0x2812d0=(_0x335c4f(0xc8)+_0xe72bb8+'\x20'+(_0x418160||''))[_0x335c4f(0x150)](),_0xce0463='_'+(0x0,_0x40ced8[_0x335c4f(0x254)])(),_0x54bae5=(0x0,_0x40ced8['useRef'])(null);return(0x0,_0x40ced8[_0x335c4f(0x2b1)])(_0x50bcc2,()=>_0x54bae5[_0x335c4f(0xfb)]),(0x0,_0x40ced8[_0x335c4f(0x17c)])(()=>{const _0x1045b2=_0x335c4f;if(_0x4d1e33&&_0x54bae5[_0x1045b2(0xfb)]&&_0x54bae5[_0x1045b2(0xfb)][_0x1045b2(0x3bd)]===_0x37fdff[_0x1045b2(0x2a4)])return _0x2f58e6(_0x54bae5[_0x1045b2(0xfb)]);},[_0x4d1e33,_0x37fdff]),_0x1bd2ac(_0x37fdff,''+_0xe72bb8,{'defIds':_0x37fdff[_0x335c4f(0x1f2)],'idSuffix':_0xce0463},{'ref':_0x54bae5,'className':_0x2812d0,..._0x301dd6},_0x549a55);}function _0x1bd2ac(_0x481fc1,_0x2f54a0,_0x1ed106,_0x5246d5,_0x2407dc){const _0x3fc73d=_0x14788d;return(0x0,_0x40ced8[_0x3fc73d(0x257)])(_0x481fc1[_0x3fc73d(0x2a4)],{'key':_0x2f54a0,..._0x16a2ec(_0x481fc1,_0x1ed106,_0x2407dc),..._0x5246d5},(_0x3da5fb(_0x481fc1,_0x1ed106)[_0x3fc73d(0x3e4)]||[])[_0x3fc73d(0xf0)]((_0x3467d9,_0x4adb71)=>_0x1bd2ac(_0x3467d9,_0x2f54a0+'-'+_0x481fc1[_0x3fc73d(0x2a4)]+'-'+_0x4adb71,_0x1ed106,void 0x0,_0x2407dc)));}function _0x16a2ec(_0x241dbb,_0x528d95,_0x15b85c){const _0x3a4d04=_0x14788d;let _0x11da74={..._0x241dbb[_0x3a4d04(0x3c7)]};_0x15b85c!=null&&_0x15b85c[_0x3a4d04(0x3c2)]&&_0x11da74[_0x3a4d04(0x1f6)]===_0x3a4d04(0x3c2)&&(_0x11da74['fill']=_0x15b85c[_0x3a4d04(0x3c2)]),_0x15b85c!=null&&_0x15b85c[_0x3a4d04(0x3c2)]&&_0x11da74['stroke']===_0x3a4d04(0x3c2)&&(_0x11da74[_0x3a4d04(0x3f6)]=_0x15b85c[_0x3a4d04(0x3c2)]),_0x241dbb[_0x3a4d04(0x2a4)]==='mask'&&_0x11da74['id']&&(_0x11da74['id']+=_0x528d95[_0x3a4d04(0x1b7)]),Object['entries'](_0x11da74)[_0x3a4d04(0x23f)](([_0x556387,_0x3ad998])=>{const _0x1e1adf=_0x3a4d04;_0x556387===_0x1e1adf(0x173)&&typeof _0x3ad998==_0x1e1adf(0x415)&&(_0x11da74[_0x556387]=_0x3ad998[_0x1e1adf(0x1a6)](/url\(#(.*)\)/,_0x1e1adf(0x231)+_0x528d95[_0x1e1adf(0x1b7)]+')'));});let {defIds:_0x45e885}=_0x528d95;return!_0x45e885||_0x45e885[_0x3a4d04(0x12a)]===0x0||(_0x241dbb[_0x3a4d04(0x2a4)]==='use'&&_0x11da74[_0x3a4d04(0x249)]&&(_0x11da74['xlink:href']+=_0x528d95[_0x3a4d04(0x1b7)]),Object['entries'](_0x11da74)['forEach'](([_0x204387,_0x273876])=>{const _0x4fdd8d=_0x3a4d04;typeof _0x273876==_0x4fdd8d(0x415)&&(_0x11da74[_0x204387]=_0x273876[_0x4fdd8d(0x1a6)](/url\(#(.*)\)/,_0x4fdd8d(0x231)+_0x528d95['idSuffix']+')'));})),_0x11da74;}function _0x3da5fb(_0x1e5b68,_0x1f0f00){const _0x4fa498=_0x14788d;var _0x4f66a8;let {defIds:_0x7ae3da}=_0x1f0f00;return!_0x7ae3da||_0x7ae3da['length']===0x0?_0x1e5b68:_0x1e5b68['tag']==='defs'&&(_0x4f66a8=_0x1e5b68[_0x4fa498(0x3e4)])!=null&&_0x4f66a8[_0x4fa498(0x12a)]?{..._0x1e5b68,'children':_0x1e5b68[_0x4fa498(0x3e4)][_0x4fa498(0xf0)](_0x789ecf=>typeof _0x789ecf['attrs']['id']==_0x4fa498(0x415)&&_0x7ae3da&&_0x7ae3da[_0x4fa498(0xa0)](_0x789ecf[_0x4fa498(0x3c7)]['id'])?{..._0x789ecf,'attrs':{..._0x789ecf[_0x4fa498(0x3c7)],'id':_0x789ecf[_0x4fa498(0x3c7)]['id']+_0x1f0f00['idSuffix']}}:_0x789ecf)}:_0x1e5b68;}function _0x2f58e6(_0x4797e1){const _0x55fee3=_0x14788d;let _0x59705f=_0x4797e1[_0x55fee3(0xf6)][_0x55fee3(0x40e)],_0x161f28=Math[_0x55fee3(0x20e)](_0x59705f['width'],_0x59705f[_0x55fee3(0x346)]);if(!Number[_0x55fee3(0x1ae)](_0x161f28)||_0x161f28<=0x0||_0x59705f['width']<=0x0||_0x59705f[_0x55fee3(0x346)]<=0x0)return()=>void 0x0;let _0x146691=0x10/_0x161f28,_0x19e8d4=Array[_0x55fee3(0x28f)](_0x4797e1[_0x55fee3(0x2de)](_0x55fee3(0x1b2)))[_0x55fee3(0x11f)](_0x414a5e=>{const _0x2e6150=_0x55fee3;let _0x1b8760=getComputedStyle(_0x414a5e),_0x3d2bbf=Number[_0x2e6150(0x13b)](_0x1b8760['strokeWidth']);return _0x1b8760[_0x2e6150(0x3f6)]===_0x2e6150(0x3bb)||Number[_0x2e6150(0x13b)](_0x1b8760['strokeOpacity'])===0x0||_0x1b8760[_0x2e6150(0x38a)]==='non-scaling-stroke'||!Number['isFinite'](_0x3d2bbf)||_0x3d2bbf<=0x0?[]:[{'element':_0x414a5e,'hadStyleAttribute':_0x414a5e[_0x2e6150(0x22d)](_0x2e6150(0x1c8)),'originalStrokeWidth':_0x3d2bbf,'strokeWidth':_0x3f5452(_0x414a5e[_0x2e6150(0x1c8)],'stroke-width')}];})['map'](_0x52f96b=>({'appliedStrokeWidth':null,'element':_0x52f96b[_0x55fee3(0x22e)],'hadStyleAttribute':_0x52f96b[_0x55fee3(0x20f)],'isReleased':!0x1,'originalStrokeWidth':_0x52f96b['originalStrokeWidth'],'strokeWidth':_0x52f96b[_0x55fee3(0x256)]}));if(_0x19e8d4[_0x55fee3(0x12a)]===0x0)return()=>void 0x0;let _0x1f661f=(_0x57e97d,_0x2fa431)=>{const _0x1c63a7=_0x55fee3;if(_0x59705f[_0x1c63a7(0x11a)]<=0x0||_0x59705f[_0x1c63a7(0x346)]<=0x0||_0x57e97d<=0x0||_0x2fa431<=0x0)return;let _0xc55098=Math[_0x1c63a7(0x329)](_0x57e97d/_0x59705f['width'],_0x2fa431/_0x59705f[_0x1c63a7(0x346)]);!Number['isFinite'](_0xc55098)||_0xc55098<=0x0||_0x19e8d4['forEach'](_0x79e615=>{const _0x1883c6=_0x1c63a7;if(_0x79e615[_0x1883c6(0x23b)])return;if(_0x79e615[_0x1883c6(0x1d0)]!==null&&(_0x79e615[_0x1883c6(0x22e)]['style']['getPropertyValue'](_0x1883c6(0xea))!==_0x79e615[_0x1883c6(0x1d0)]||_0x79e615[_0x1883c6(0x22e)][_0x1883c6(0x1c8)][_0x1883c6(0x223)](_0x1883c6(0xea))!==_0x79e615[_0x1883c6(0x256)]['priority'])){_0x79e615['appliedStrokeWidth']=null,_0x79e615[_0x1883c6(0x23b)]=!0x0;return;}let _0xd53160=_0x79e615[_0x1883c6(0x32f)]*_0x146691/_0xc55098,_0x2bcc71=Number(_0xd53160[_0x1883c6(0x3f2)](0xc))+'px';_0x79e615[_0x1883c6(0x22e)][_0x1883c6(0x1c8)][_0x1883c6(0x233)](_0x1883c6(0xea),_0x2bcc71,_0x79e615[_0x1883c6(0x256)][_0x1883c6(0xc6)]),_0x79e615[_0x1883c6(0x1d0)]=_0x2bcc71;});},_0x5b856a=_0x4797e1['getBoundingClientRect']();_0x1f661f(_0x5b856a[_0x55fee3(0x11a)],_0x5b856a['height']);let _0x597cd1=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4ee0ee=>{const _0x14fbde=_0x55fee3;if(_0x4ee0ee[_0x14fbde(0x330)](_0x54861b=>_0x54861b[_0x14fbde(0x1bd)]===_0x4797e1)){let _0x1dc51a=_0x4797e1[_0x14fbde(0x2a7)]();_0x1f661f(_0x1dc51a[_0x14fbde(0x11a)],_0x1dc51a[_0x14fbde(0x346)]);}});return _0x597cd1==null||_0x597cd1['observe'](_0x4797e1),()=>{const _0x551824=_0x55fee3;_0x597cd1==null||_0x597cd1['disconnect'](),_0x19e8d4[_0x551824(0x23f)](_0x1ec993=>{const _0x253e80=_0x551824;_0x1ec993[_0x253e80(0x1d0)]!==null&&(_0xf883b5(_0x1ec993['element'][_0x253e80(0x1c8)],'stroke-width',_0x1ec993[_0x253e80(0x1d0)],_0x1ec993['strokeWidth']['priority'],_0x1ec993[_0x253e80(0x256)]),!_0x1ec993[_0x253e80(0x20f)]&&_0x1ec993[_0x253e80(0x22e)][_0x253e80(0x1c8)][_0x253e80(0x12a)]===0x0&&_0x1ec993[_0x253e80(0x22e)][_0x253e80(0x353)](_0x253e80(0x1c8)));});};}function _0x3f5452(_0x30d833,_0x4bfa52){const _0x8a4474=_0x14788d;return{'priority':_0x30d833[_0x8a4474(0x223)](_0x4bfa52),'value':_0x30d833[_0x8a4474(0x41b)](_0x4bfa52)};}function _0xf883b5(_0x233da7,_0xdbb248,_0x290f8c,_0x2c0f9a,_0x3b584e){const _0x23cf82=_0x14788d;_0x233da7[_0x23cf82(0x41b)](_0xdbb248)===_0x290f8c&&_0x233da7['getPropertyPriority'](_0xdbb248)===_0x2c0f9a&&(_0x3b584e[_0x23cf82(0x1d7)]?_0x233da7['setProperty'](_0xdbb248,_0x3b584e['value'],_0x3b584e[_0x23cf82(0xc6)]):_0x233da7[_0x23cf82(0x24c)](_0xdbb248));}_0x39e6aa['displayName']='UniverIcon';let _0x4833cd={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x1fb),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x27f),'fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x2cd),'fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x195)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':'currentColor','d':_0x14788d(0x159)}}]},_0x89ad3c=(0x0,_0x40ced8['forwardRef'])(function(_0xd9780a,_0x3e14bb){const _0x9c72ee=_0x14788d;return(0x0,_0x40ced8[_0x9c72ee(0x257)])(_0x39e6aa,Object['assign']({},_0xd9780a,{'id':_0x9c72ee(0x2d6),'ref':_0x3e14bb,'icon':_0x4833cd}));});_0x89ad3c[_0x14788d(0x1e4)]=_0x14788d(0xe3);let _0x4b54d9={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x2af),'strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}}]},_0x5e5871=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x195d1c,_0x44e718){const _0x45b253=_0x14788d;return(0x0,_0x40ced8[_0x45b253(0x257)])(_0x39e6aa,Object['assign']({},_0x195d1c,{'id':'more-down-icon','ref':_0x44e718,'icon':_0x4b54d9}));});_0x5e5871[_0x14788d(0x1e4)]='MoreDownIcon';let _0x45cd54={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x29c),'strokeLinecap':'round','strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}}]},_0x3f34b8=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x2b4651,_0x3045d9){const _0x58d90b=_0x14788d;return(0x0,_0x40ced8[_0x58d90b(0x257)])(_0x39e6aa,Object['assign']({},_0x2b4651,{'id':'more-up-icon','ref':_0x3045d9,'icon':_0x45cd54}));});_0x3f34b8[_0x14788d(0x1e4)]=_0x14788d(0x3c1);let _0x4bec2d={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':'none','viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x1e7),'fillRule':'evenodd','clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x372)}}]},_0x19b97d=(0x0,_0x40ced8['forwardRef'])(function(_0x303657,_0x2035a3){const _0x25c32e=_0x14788d;return(0x0,_0x40ced8[_0x25c32e(0x257)])(_0x39e6aa,Object['assign']({},_0x303657,{'id':_0x25c32e(0x16a),'ref':_0x2035a3,'icon':_0x4bec2d}));});_0x19b97d[_0x14788d(0x1e4)]=_0x14788d(0x3ee);let _0x5868c5={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':'currentColor','d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':'evenodd','clipRule':_0x14788d(0x39d)}},{'tag':'path','attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x409)}}]},_0x5a6d9e=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x4448b3,_0x58017b){const _0xb12cf7=_0x14788d;return(0x0,_0x40ced8[_0xb12cf7(0x257)])(_0x39e6aa,Object[_0xb12cf7(0x351)]({},_0x4448b3,{'id':_0xb12cf7(0x396),'ref':_0x58017b,'icon':_0x5868c5}));});_0x5a6d9e[_0x14788d(0x1e4)]=_0x14788d(0xdd);let _0x54f137={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':'currentColor','d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x55676f=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x5d4bc1,_0x535db6){const _0x617fb3=_0x14788d;return(0x0,_0x40ced8['createElement'])(_0x39e6aa,Object[_0x617fb3(0x351)]({},_0x5d4bc1,{'id':_0x617fb3(0x190),'ref':_0x535db6,'icon':_0x54f137}));});_0x55676f[_0x14788d(0x1e4)]=_0x14788d(0x1bb);let _0x522221={'tag':'svg','attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':'0\x200\x2016\x2016','width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x2c8),'strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x1fa),'strokeLinecap':_0x14788d(0x26c),'strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x12e),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x3b2),'strokeLinejoin':_0x14788d(0x26c)}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x5942b0=(0x0,_0x40ced8['forwardRef'])(function(_0x32013b,_0x1688ba){const _0x171dca=_0x14788d;return(0x0,_0x40ced8[_0x171dca(0x257)])(_0x39e6aa,Object[_0x171dca(0x351)]({},_0x32013b,{'id':_0x171dca(0x420),'ref':_0x1688ba,'icon':_0x522221}));});_0x5942b0[_0x14788d(0x1e4)]=_0x14788d(0x282);let _0x2d317a={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':'none','viewBox':_0x14788d(0xa9),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x2b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0xa8),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x4d6fbf=(0x0,_0x40ced8['forwardRef'])(function(_0x399ae2,_0x443179){const _0x32ed39=_0x14788d;return(0x0,_0x40ced8[_0x32ed39(0x257)])(_0x39e6aa,Object[_0x32ed39(0x351)]({},_0x399ae2,{'id':_0x32ed39(0x297),'ref':_0x443179,'icon':_0x2d317a}));});_0x4d6fbf[_0x14788d(0x1e4)]=_0x14788d(0x299);let _0x515b63={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x1fb),'width':_0x14788d(0x154),'height':'1em'},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x3b7)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x2ed),'fillRule':'evenodd','clipRule':_0x14788d(0x39d)}}]},_0x405cdd=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x4b4233,_0x12162b){const _0x4dd3b4=_0x14788d;return(0x0,_0x40ced8['createElement'])(_0x39e6aa,Object[_0x4dd3b4(0x351)]({},_0x4b4233,{'id':_0x4dd3b4(0x1df),'ref':_0x12162b,'icon':_0x515b63}));});_0x405cdd['displayName']='TopmostIcon';function _0x40167c(_0x303f88){const _0x587266=_0x14788d;return(0x0,_0x3eb5bb['jsx'])(_0x2b2ad6,{..._0x303f88,'PickerComponent':_0x4df77c[_0x587266(0x3c4)]});}function _0x132d09(){const _0x4bcd48=_0x14788d;let _0x5686c6=(0x0,_0x1f9d09[_0x4bcd48(0xe6)])(_0x51ff18[_0x4bcd48(0x18a)]),_0x592e07=_0x39e837(),[_0x92464a,_0x5df3e8]=(0x0,_0x40ced8['useState'])(!0x1);return(0x0,_0x3eb5bb[_0x4bcd48(0x388)])('div',{'className':'univer-grid\x20univer-gap-3','children':[(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0xe2a8e7[_0x4bcd48(0x1f3)],{'title':_0x5686c6['t'](_0x4bcd48(0xbd)),'aria-expanded':_0x92464a,'variant':_0x4bcd48(0x2f9),'trailing':_0x92464a?(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x3f34b8,{}):(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x5e5871,{}),'onClick':()=>_0x5df3e8(_0x4b100e=>!_0x4b100e)}),_0x92464a&&(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x4df77c[_0x4bcd48(0x3c4)],{'excludeGroups':[_0x4df77c[_0x4bcd48(0xa2)][_0x4bcd48(0x1f0)]],'onShapeClick':_0x36a576=>{_0x592e07(_0x36a576),_0x5df3e8(!0x1);}})]});}function _0x31d126(_0x4a96c4){const _0x390732=_0x14788d;return _0x4a96c4[_0x390732(0x150)]()||void 0x0;}function _0x313e3a(_0x3e2d83,_0x413cf3,_0x26ae86){const _0x36524b=_0x14788d;var _0x2a0219,_0x24b4c5;return((_0x2a0219=_0x3e2d83['name'])==null?void 0x0:_0x2a0219[_0x36524b(0x150)]())||((_0x24b4c5=_0x3e2d83[_0x36524b(0x213)])==null?void 0x0:_0x24b4c5['trim']())||_0x26ae86['t'](_0x36524b(0x425)+(0x0,_0x4df77c[_0x36524b(0x1c2)])(_0x3e2d83[_0x36524b(0x22c)]))+'\x20'+(_0x413cf3+0x1);}function _0x262e74({PanelComponent:_0x291649=_0x358a20[_0x14788d(0x31e)]}){const _0x512d86=_0x14788d;let _0x393c16=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x51ff18[_0x512d86(0x18a)]),_0x59a2d4={'title':_0x393c16['t'](_0x512d86(0x335)),'empty':_0x393c16['t'](_0x512d86(0x3fc)),'showAll':_0x393c16['t'](_0x512d86(0x184)),'hideAll':_0x393c16['t']('drawing-ui.objectListPanel.hideAll'),'lockAll':_0x393c16['t'](_0x512d86(0x289)),'unlockAll':_0x393c16['t'](_0x512d86(0x240)),'moveForward':_0x393c16['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x393c16['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x393c16['t']('drawing-ui.objectListPanel.close'),'show':_0x393c16['t']('drawing-ui.objectListPanel.show'),'hide':_0x393c16['t'](_0x512d86(0x217)),'lock':_0x393c16['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x393c16['t'](_0x512d86(0x3be)),'lockHint':_0x393c16['t'](_0x512d86(0x1ab)),'unlockHint':_0x393c16['t'](_0x512d86(0x245)),'name':_0x393c16['t'](_0x512d86(0x3fb)),'nameInput':_0x393c16['t'](_0x512d86(0x12b)),'description':_0x393c16['t'](_0x512d86(0xfd)),'descriptionPlaceholder':_0x393c16['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x393c16['t'](_0x512d86(0x144)),'noSelection':_0x393c16['t'](_0x512d86(0x211)),'locate':_0x393c16['t']('drawing-ui.objectListPanel.locate'),'expand':_0x393c16['t'](_0x512d86(0x30b)),'collapse':_0x393c16['t'](_0x512d86(0x3d3)),'dragToReorder':_0x393c16['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x393c16['t'](_0x512d86(0xdf)),'filterAll':_0x393c16['t'](_0x512d86(0x26a)),'filterHidden':_0x393c16['t'](_0x512d86(0x155)),'filterLocked':_0x393c16['t'](_0x512d86(0x145)),'sectionCanvas':_0x393c16['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x393c16['t'](_0x512d86(0xf7))},_0x1a5026=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x512d86(0x220)]),_0x45f70b=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['IUniverInstanceService']),_0x26facc=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x522777[_0x512d86(0x3fd)]),_0x2b26cc=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x893ff7[_0x512d86(0x2f4)]),_0x1ecd48=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x164900[_0x512d86(0x1fd)]),[,_0x232060]=(0x0,_0x40ced8[_0x512d86(0x2ae)])(_0x2841c=>_0x2841c+0x1,0x0),_0x4fb898=_0x45f70b['getCurrentUnitOfType'](_0x51ff18[_0x512d86(0x1b6)]['UNIVER_DOC']),_0x1b5ab8=(_0x4fb898==null?void 0x0:_0x4fb898[_0x512d86(0x38f)]())??'',_0x3f2129=_0x1b5ab8,_0x383cb1=(0x0,_0x1f9d09[_0x512d86(0xec)])(()=>_0x2b26cc[_0x512d86(0x301)],_0x2b26cc[_0x512d86(0x34e)](),!0x1,[_0x2b26cc]);(0x0,_0x40ced8[_0x512d86(0x187)])(()=>{const _0x4b1c7d=_0x512d86;let _0x3755e4=_0x1a5026[_0x4b1c7d(0x3f1)](()=>_0x232060());return()=>_0x3755e4['dispose']();},[_0x1a5026]);let _0x13323f=_0x1b5ab8?_0x26facc[_0x512d86(0x192)](_0x1b5ab8,_0x3f2129):{},_0x221f4c=(_0x1b5ab8?_0x26facc[_0x512d86(0x262)](_0x1b5ab8,_0x3f2129):[])[_0x512d86(0xf0)](_0x558008=>_0x13323f[_0x558008])['filter'](_0x3d26b8=>!!_0x3d26b8)['reverse'](),_0x1f24e4=_0x221f4c['reduce']((_0xd9b476,_0x32d778)=>(_0xd9b476[(0x0,_0x358a20[_0x512d86(0x1a1)])(_0x32d778['drawingType'])]+=0x1,_0xd9b476),{'canvas':0x0,'floating':0x0}),_0x3fce24={'canvas':0x0,'floating':0x0},_0x13e653=_0x221f4c[_0x512d86(0xf0)]((_0x373406,_0x346845)=>{const _0x1cf34c=_0x512d86;let _0x5ac989=(0x0,_0x358a20[_0x1cf34c(0x1a1)])(_0x373406['drawingType']),_0x3712b8=_0x5ac989===_0x358a20[_0x1cf34c(0x106)],_0x4fd614=_0x3fce24[_0x5ac989]++;return{'id':_0x373406[_0x1cf34c(0x3f7)],'name':_0x313e3a(_0x373406,_0x346845,_0x393c16),'description':_0x373406[_0x1cf34c(0x3c6)],'visible':_0x373406[_0x1cf34c(0x390)]!==!0x0,'selectable':_0x373406[_0x1cf34c(0x20a)]!==!0x1,'sectionId':_0x5ac989,'sectionTitle':_0x3712b8?_0x59a2d4[_0x1cf34c(0x214)]:_0x59a2d4[_0x1cf34c(0x2dc)],'capabilities':_0x3712b8?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x3712b8&&_0x4fd614>0x0,'canMoveBackward':!_0x3712b8&&_0x4fd614<_0x1f24e4[_0x1cf34c(0x2b9)]-0x1,'canReorder':!_0x3712b8};}),_0x137f05=(0x0,_0x40ced8['useMemo'])(()=>(_0x383cb1??[])[_0x512d86(0x33d)](_0x2e3b88=>_0x2e3b88[_0x512d86(0x1b5)]===_0x1b5ab8&&_0x2e3b88[_0x512d86(0x151)]===_0x3f2129)[_0x512d86(0xf0)](_0x31fa51=>_0x31fa51[_0x512d86(0x3f7)]),[_0x383cb1,_0x3f2129,_0x1b5ab8]),_0x2bd255=_0x137f05[_0x137f05[_0x512d86(0x12a)]-0x1]??null,_0x5cdb1d=_0x4f4e58=>_0x26facc[_0x512d86(0x122)]({'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x4f4e58})??null,_0x18e5af=async _0x87c069=>{const _0x2a60c2=_0x512d86;_0x1b5ab8&&_0x87c069['length']&&await _0x1a5026[_0x2a60c2(0x238)](_0xddc3b0[_0x2a60c2(0x263)]['id'],{'unitId':_0x1b5ab8,'patches':_0x87c069});},_0x27b720=(_0x58a210,_0x15fd23)=>{const _0x145f87=_0x512d86;if(!_0x1b5ab8)return;let _0x21941d=_0x15fd23?_0x137f05[_0x145f87(0xa0)](_0x58a210)?_0x137f05[_0x145f87(0x33d)](_0x482fc8=>_0x482fc8!==_0x58a210):[..._0x137f05,_0x58a210]:[_0x58a210];_0x1a5026[_0x145f87(0x3aa)](_0x893ff7[_0x145f87(0xb7)]['id'],_0x21941d[_0x145f87(0xf0)](_0x4bb186=>({'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x4bb186})));let _0x222807=_0x21941d[_0x21941d[_0x145f87(0x12a)]-0x1];_0x222807?(0x0,_0x4df77c[_0x145f87(0x37c)])(_0x1ecd48,{'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x222807}):(0x0,_0x4df77c[_0x145f87(0xf4)])(_0x1ecd48,_0x1b5ab8);},_0x34efa3=async(_0x19d31c,_0x242c1a)=>{const _0x5d1380=_0x512d86;await _0x18e5af(_0x19d31c[_0x5d1380(0xf0)](_0x2a6604=>_0x5cdb1d(_0x2a6604))[_0x5d1380(0x33d)](_0x1c2971=>!!_0x1c2971)['filter'](_0x2a5114=>_0x2a5114[_0x5d1380(0x390)]!==!0x0!==_0x242c1a)[_0x5d1380(0xf0)](_0xd5a397=>({'drawingId':_0xd5a397[_0x5d1380(0x3f7)],'hidden':!_0x242c1a})));},_0x311e5d=async(_0x285d32,_0x2a022f)=>{const _0xf9cd73=_0x512d86;await _0x18e5af(_0x285d32[_0xf9cd73(0xf0)](_0x450418=>_0x5cdb1d(_0x450418))[_0xf9cd73(0x33d)](_0x176ffd=>!!_0x176ffd)[_0xf9cd73(0x33d)](_0x4480a4=>_0x4480a4[_0xf9cd73(0x20a)]!==!0x1!==_0x2a022f)[_0xf9cd73(0xf0)](_0x3ff46f=>({'drawingId':_0x3ff46f[_0xf9cd73(0x3f7)],'selectable':_0x2a022f})));},_0x242ce6=_0x3221b9=>{const _0x3e7175=_0x512d86;let _0x28e932=_0x5cdb1d(_0x3221b9);if(_0x28e932)return _0x311e5d([_0x3221b9],_0x28e932[_0x3e7175(0x20a)]===!0x1);},_0x36ad52=async(_0x523db2,_0x1c5165)=>{const _0x25b43b=_0x512d86;let _0x334792=_0x5cdb1d(_0x523db2),_0x41885b=_0x31d126(_0x1c5165);!_0x334792||(_0x334792[_0x25b43b(0x29a)]??void 0x0)===_0x41885b&&(_0x334792[_0x25b43b(0x213)]||void 0x0)===_0x41885b||await _0x18e5af([{'drawingId':_0x523db2,'name':_0x41885b,'title':_0x41885b}]);},_0x205d48=async(_0x33c385,_0x3f6dfc)=>{const _0x52e7d7=_0x512d86;let _0x57b8c4=_0x5cdb1d(_0x33c385),_0x486159=_0x31d126(_0x3f6dfc);_0x57b8c4&&(_0x57b8c4[_0x52e7d7(0x3c6)]??void 0x0)!==_0x486159&&await _0x18e5af([{'drawingId':_0x33c385,'description':_0x486159}]);},_0x2bf331=async(_0xb68082,_0x44186f)=>{const _0x1ac3f8=_0x512d86;_0x1b5ab8&&await _0x1a5026[_0x1ac3f8(0x238)](_0x522777[_0x1ac3f8(0x403)]['id'],{'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingIds':[_0xb68082],'arrangeType':_0x44186f});};return _0x1b5ab8?(0x0,_0x3eb5bb[_0x512d86(0x2cc)])(_0x291649,{'labels':_0x59a2d4,'renderPermissionAction':_0x3b431d=>_0x4fb898?(0x0,_0x3eb5bb['jsx'])(_0x1f9d09[_0x512d86(0x271)],{'target':{'unitId':_0x1b5ab8,'objectId':(0x0,_0x31599d['getDocumentEntityPermissionObjectId'])((0x0,_0x31599d[_0x512d86(0x332)])(_0x4fb898,_0x3b431d['id']),'drawing',_0x3b431d['id']),'objectType':_0x239f90[_0x512d86(0x160)][_0x512d86(0x276)]},'name':_0x3b431d['name'],'commandId':_0x31599d['SetDocumentPermissionCommand']['id'],'exists':()=>!!_0x5cdb1d(_0x3b431d['id'])},_0x1b5ab8+'/'+_0x3b431d['id']):null,'items':_0x13e653,'selectedIds':_0x137f05,'focusedId':_0x2bd255,'showHeader':!0x1,'onSelect':_0x27b720,'onSetVisible':_0x34efa3,'onSetSelectable':_0x311e5d,'onCommitName':_0x36ad52,'onCommitDescription':_0x205d48,'onMoveForward':async _0x5a178c=>_0x2bf331(_0x5a178c,_0x51ff18[_0x512d86(0x426)][_0x512d86(0x1f9)]),'onMoveBackward':async _0x653d0b=>_0x2bf331(_0x653d0b,_0x51ff18[_0x512d86(0x426)][_0x512d86(0x416)]),'onToggleSelectable':_0x242ce6}):(0x0,_0x3eb5bb[_0x512d86(0x2cc)])(_0x512d86(0x1a2),{'className':_0x512d86(0x255),'children':_0x59a2d4[_0x512d86(0x213)]});}function _0x226c5b(){const _0x36b608=_0x14788d;return(0x0,_0x3eb5bb[_0x36b608(0x2cc)])(_0x262e74,{'PanelComponent':_0x358a20[_0x36b608(0x219)]});}let _0xf7061=class{constructor(_0x376bc2){const _0x1efad4=_0x14788d;this[_0x1efad4(0x11c)]=_0x376bc2;}[_0x14788d(0x31a)](_0x317fcc,_0x13e2e0){const _0x23ee55=_0x14788d;let _0x5efc31=this[_0x23ee55(0x11c)][_0x23ee55(0x307)](_0x317fcc[_0x23ee55(0x1b5)]),_0x36d6d7=_0x5efc31==null?void 0x0:_0x5efc31[_0x23ee55(0x413)];if(!_0x36d6d7)return;let _0x585158=(0x0,_0x893ff7[_0x23ee55(0x3d4)])(_0x317fcc),_0x5e2ab3=_0x36d6d7[_0x23ee55(0xa5)](_0x585158);_0x5e2ab3==null||_0x5e2ab3[_0x23ee55(0x316)](_0x13e2e0);}};_0xf7061=_0x1e5419([_0x3fe79d(0x0,_0x164900[_0x14788d(0x1fd)])],_0xf7061);function _0x284eae(){const _0x3e718f=_0x14788d;let _0x4b75af=(0x0,_0x1f9d09[_0x3e718f(0xe6)])(_0x893ff7[_0x3e718f(0x2f4)]),_0x1763cc=(0x0,_0x1f9d09[_0x3e718f(0xec)])(()=>_0x4b75af['focus$'],_0x4b75af[_0x3e718f(0x34e)](),!0x1,[_0x4b75af]);return _0x1763cc[_0x3e718f(0x12a)]===0x0?null:(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x3e718f(0x1a2),{'children':(0x0,_0x3eb5bb[_0x3e718f(0x388)])(_0x3e718f(0x1a2),{'className':_0x3e718f(0x3b5),'children':[(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x358a20[_0x3e718f(0x3ca)],{'drawings':_0x1763cc,'hasCropper':!0x1}),(0x0,_0x3eb5bb['jsx'])(_0x2fdebd[_0x3e718f(0xb8)],{'drawings':_0x1763cc}),(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x2fdebd['DocDrawingPosition'],{'drawings':_0x1763cc})]})});}function _0x310271(_0x24edcb){const _0x1fc5d3=_0x14788d;let {unitId:_0x44dd16,subUnitId:_0x371cd7,shapeId:_0x5af5bf,PositionComponent:_0x16ae78=_0x284eae}=_0x24edcb,_0x4a4e33=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['ICommandService']),_0x49033f=(0x0,_0x1f9d09[_0x1fc5d3(0xe6)])(_0xf7061);return(0x0,_0x3eb5bb[_0x1fc5d3(0x2cc)])(_0x4df77c[_0x1fc5d3(0x361)],{..._0x24edcb,'positionEditor':(0x0,_0x3eb5bb[_0x1fc5d3(0x2cc)])(_0x16ae78,{}),'onUpdateShapeData':(_0x4075c9,_0x466530)=>{_0x50d249(_0x4a4e33,_0x44dd16,_0x371cd7,_0x5af5bf,_0x4075c9,_0x466530);},'onUpdateLineShapeData':(_0x1648f3,_0x4ca13b)=>{_0x529d23(_0x4a4e33,_0x44dd16,_0x371cd7,_0x5af5bf,_0x1648f3,_0x4ca13b);},'onUpdateShapeFillImage':_0x20ed52=>{const _0x28d77f=_0x1fc5d3;_0x49033f[_0x28d77f(0x31a)]({'unitId':_0x44dd16,'subUnitId':_0x371cd7,'drawingId':_0x5af5bf},_0x20ed52);}});}function _0x43947a(){const _0x2c617b=_0x14788d;let _0x723fcc=(0x0,_0x1f9d09[_0x2c617b(0xe6)])(_0x893ff7['IDrawingManagerService']),_0x3081cb=(0x0,_0x1f9d09[_0x2c617b(0xec)])(_0x723fcc[_0x2c617b(0x301)],_0x723fcc[_0x2c617b(0x34e)]());return _0x3081cb[_0x2c617b(0x12a)]===0x0?null:(0x0,_0x3eb5bb[_0x2c617b(0x388)])(_0x2c617b(0x1a2),{'className':'univer-grid\x20univer-gap-5\x20univer-px-4\x20univer-py-3','children':[(0x0,_0x3eb5bb['jsx'])(_0x358a20[_0x2c617b(0x3ca)],{'drawings':_0x3081cb,'hasCropper':!0x1}),(0x0,_0x3eb5bb['jsx'])(_0x2fdebd[_0x2c617b(0x230)],{'drawings':_0x3081cb}),(0x0,_0x3eb5bb[_0x2c617b(0x2cc)])(_0x2fdebd[_0x2c617b(0x25b)],{'drawings':_0x3081cb})]});}function _0x16cc75(_0x471265){const _0x5f2617=_0x14788d;return(0x0,_0x3eb5bb['jsx'])(_0x4df77c[_0x5f2617(0x178)],{'children':(0x0,_0x3eb5bb[_0x5f2617(0x2cc)])(_0x310271,{..._0x471265,'PositionComponent':_0x43947a})});}function _0x4b40b3({popup:_0x1f0044}){const _0xf1f453=_0x14788d;let _0x42745b=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0xf1f453(0x18a)]),{shapeType:_0x4d5d27,onText:_0x17c1d3,onStyle:_0x2d16a7,onDelete:_0x12067e}=_0x1f0044[_0xf1f453(0x405)],_0x3ae082=[{'key':_0xf1f453(0x21a),'order':0x0,'item':{'id':_0xf1f453(0x21a),'type':_0x1f9d09[_0xf1f453(0x236)][_0xf1f453(0x1dc)],'title':_0x42745b['t'](_0xf1f453(0x3e5)),'disabled$':(0x0,_0x1191c7['of'])((0x0,_0x59d795[_0xf1f453(0xdb)])(_0x4d5d27))}},{'key':_0xf1f453(0x1c8),'order':0x1,'item':{'id':_0xf1f453(0x1c8),'type':_0x1f9d09[_0xf1f453(0x236)]['BUTTON'],'title':_0x42745b['t'](_0xf1f453(0x38b))}},{'key':_0xf1f453(0x142),'order':0x2,'item':{'id':_0xf1f453(0x142),'type':_0x1f9d09[_0xf1f453(0x236)]['BUTTON'],'title':_0x42745b['t'](_0xf1f453(0x428))}}];return(0x0,_0x3eb5bb[_0xf1f453(0x2cc)])(_0x1f9d09[_0xf1f453(0x40f)],{'schemas':_0x3ae082,'presentation':'context-bar','onOptionSelect':async({id:_0xaa9c94})=>{const _0x13a408=_0xf1f453;_0xaa9c94==='text'?await _0x17c1d3():_0xaa9c94==='style'?await _0x2d16a7():_0xaa9c94===_0x13a408(0x142)&&await _0x12067e();}});}let _0x3538af='doc.shape.floating-toolbar';function _0x374521(_0x5c0124,_0x57eccd){const _0x22bd12=_0x14788d;var _0x5eb723;let _0x3a65ad=_0x5c0124==null||(_0x5eb723=_0x5c0124[_0x22bd12(0x27d)]()[_0x22bd12(0x3e2)])==null?void 0x0:_0x5eb723[_0x57eccd];return _0x3a65ad?_0x3a65ad[_0x22bd12(0x1e9)]===_0x51ff18[_0x22bd12(0x2ea)]['WRAP_NONE']?_0x3a65ad[_0x22bd12(0x3ae)]===_0x51ff18[_0x22bd12(0x277)][_0x22bd12(0x221)]?_0x522777[_0x22bd12(0x306)]['BEHIND_TEXT']:_0x522777[_0x22bd12(0x306)][_0x22bd12(0x28a)]:_0x3a65ad['layoutType']===_0x51ff18[_0x22bd12(0x2ea)]['WRAP_SQUARE']?_0x522777[_0x22bd12(0x306)]['WRAP_SQUARE']:_0x3a65ad['layoutType']===_0x51ff18[_0x22bd12(0x2ea)][_0x22bd12(0x2e7)]?_0x522777[_0x22bd12(0x306)][_0x22bd12(0x2e7)]:_0x522777['TextWrappingStyle'][_0x22bd12(0x2fd)]:_0x522777['TextWrappingStyle'][_0x22bd12(0x2fd)];}function _0x2dc890(_0x2b3c1c){const _0x4bcb60=_0x14788d;let _0x44d991=(0x0,_0x1f9d09[_0x4bcb60(0xe6)])(_0x4df77c['ShapeFloatingToolbarService']),_0x3908e4=(0x0,_0x1f9d09[_0x4bcb60(0xec)])(()=>_0x44d991['visible$'],_0x44d991[_0x4bcb60(0x371)](),!0x1,[_0x44d991]),_0x33e872=_0x2b3c1c[_0x4bcb60(0x3f8)][_0x4bcb60(0x405)];return _0x3908e4?(0x0,_0x3eb5bb[_0x4bcb60(0x2cc)])(_0x1958f1,{..._0x33e872,'canvasElement':_0x2b3c1c['popup'][_0x4bcb60(0x383)]}):null;}function _0x1958f1(_0x36bff1){const _0x5edd9a=_0x14788d;let _0x2beb36=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0x51ff18[_0x5edd9a(0x220)]),_0x2f65e2=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0x51ff18[_0x5edd9a(0x18a)]),_0x35fd12=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0xddc3b0[_0x5edd9a(0x131)]),_0x607aff=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x5edd9a(0x3bc)]),{unitId:_0x25b402,subUnitId:_0x9b4242,drawingId:_0x2835ec,shapeType:_0x2a2f54}=_0x36bff1,[_0x3a7d03,_0x4c6d3d]=(0x0,_0x40ced8[_0x5edd9a(0x125)])(_0x36bff1[_0x5edd9a(0x167)]),_0x56da6c=_0x607aff[_0x5edd9a(0x419)](_0x25b402,_0x51ff18[_0x5edd9a(0x1b6)][_0x5edd9a(0x33c)])??void 0x0,[_0x594e09,_0x1743ef]=(0x0,_0x40ced8['useState'])(()=>_0x374521(_0x56da6c,_0x2835ec)),_0x4e3bcc=(0x0,_0x40ced8['useMemo'])(()=>(0x0,_0x4df77c['getTextStyle'])(_0x3a7d03),[_0x3a7d03]),_0x281c48=(0x0,_0x40ced8['useMemo'])(()=>(0x0,_0x4df77c['getTextModel'])(_0x3a7d03),[_0x3a7d03]);(0x0,_0x40ced8[_0x5edd9a(0x187)])(()=>{const _0x1c7ee7=_0x5edd9a;let _0x824469=_0x2beb36[_0x1c7ee7(0x3f1)](_0x398927=>{const _0x3f7e17=_0x1c7ee7;if(_0x398927['id']!==_0xddc3b0[_0x3f7e17(0x127)]['id'])return;let _0x479074=_0x35fd12[_0x3f7e17(0x325)](_0x25b402,_0x9b4242,_0x2835ec);_0x479074&&_0x4c6d3d(_0x479074);});return()=>_0x824469[_0x1c7ee7(0x20b)]();},[_0x2beb36,_0x35fd12,_0x2835ec,_0x9b4242,_0x25b402]);let _0x462c88=_0x5c8b5e=>{_0x4c6d3d(_0x18ee7d=>({..._0x18ee7d,..._0x5c8b5e}));},_0x15ab69=_0xe39c97=>{const _0x2cf9b4=_0x5edd9a;let _0x5a1c26=(0x0,_0x4df77c[_0x2cf9b4(0x395)])(_0x3a7d03,_0xe39c97);_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,{'oldShapeData':{'shapeText':_0x3a7d03['shapeText']}},_0x5a1c26),_0x462c88(_0x5a1c26);},_0x4dbf4a=_0x5f11da=>{const _0x2ee226=_0x5edd9a;_0x1743ef(_0x5f11da),_0x2beb36['executeCommand'](_0x522777[_0x2ee226(0x21e)]['id'],{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawings':[{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec}],'wrappingStyle':_0x5f11da});},_0x54f38d=(0x0,_0x4df77c[_0x5edd9a(0x2a3)])({'hostType':_0x51ff18[_0x5edd9a(0x1b6)][_0x5edd9a(0x33c)],'unitId':_0x25b402,'subUnitId':_0x9b4242,'shapeId':_0x2835ec,'shapeData':_0x3a7d03,'onUpdateBinding':_0x58979b=>{const _0x37d8b5=_0x5edd9a;let _0x546c1b={'formulaBinding':_0x58979b};_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,{'oldShapeData':{'formulaBinding':_0x3a7d03[_0x37d8b5(0x37a)]}},_0x546c1b),_0x462c88(_0x546c1b);}}),_0x32dee5=[{'label':_0x2f65e2['t'](_0x5edd9a(0x2b4)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x2fd)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x2bb)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x3ad)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x303)),'value':_0x522777['TextWrappingStyle'][_0x5edd9a(0x2e7)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x2d1)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x3b6)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x21f)),'value':_0x522777['TextWrappingStyle'][_0x5edd9a(0x28a)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})}];return(0x0,_0x3eb5bb['jsxs'])(_0x3eb5bb[_0x5edd9a(0x268)],{'children':[(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4df77c[_0x5edd9a(0x2bd)],{'canvasElement':_0x36bff1[_0x5edd9a(0x383)],'shapeData':_0x3a7d03,'shapeType':_0x2a2f54,'textStyle':{'ff':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3a3)][_0x5edd9a(0x1db)],'fs':_0x59d795['ShapeDefaultConfig'][_0x5edd9a(0x3a3)][_0x5edd9a(0x1d1)],'cl':{'rgb':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3a3)][_0x5edd9a(0x21d)]},..._0x4e3bcc},'textModel':_0x281c48?{'ha':_0x281c48['ha']??_0x51ff18[_0x5edd9a(0x2e8)][_0x5edd9a(0x3dd)],'va':_0x281c48['va']??_0x51ff18['VerticalAlign']['TOP']}:null,'wrappingStyle':_0x594e09,'wrappingStyleOptions':_0x32dee5,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x59d795['ShapeDefaultConfig']['fill'],'defaultGradientEndColor':_0x59d795['ShapeDefaultConfig']['gradientEndColor'],'defaultStrokeColor':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3f6)],'extensionGroups':_0x54f38d['extensionGroups'],'floatingObjectToolbarPosition':_0x1f9d09['FloatingObjectToolbarPosition']['DOC'],'onUpdateShapeData':(_0x16c365,_0x3eec0e)=>{_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,_0x16c365,_0x3eec0e),_0x3eec0e&&_0x462c88(_0x3eec0e);},'onUpdateText':_0x15ab69,'onUpdateWrappingStyle':_0x426192=>_0x4dbf4a(_0x426192),'onOpenPanel':()=>{_0x2beb36['executeCommand'](_0x38c6c0['id'],{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec});},'onDelete':()=>{const _0x2d52c3=_0x5edd9a;_0x2beb36['executeCommand'](_0x522777[_0x2d52c3(0x3b1)]['id'],{'unitId':_0x25b402,'drawings':[{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec}]});}}),_0x54f38d[_0x5edd9a(0xb2)]]});}function _0x39277d({variant:_0x1fe582,extend:_0x5685ab,..._0x12bbbc}){const _0x62d947=_0x14788d;let _0x6f1a2a=(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x2b5),{'x':'7','y':_0x62d947(0x319),'width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x62d947(0x2db),'stroke':'currentColor','strokeWidth':_0x62d947(0x15f)});return(0x0,_0x3eb5bb[_0x62d947(0x388)])('svg',{'aria-hidden':_0x62d947(0x104),'fill':_0x62d947(0x3bb),'height':'1em','viewBox':_0x62d947(0xa9),'width':_0x62d947(0x154),..._0x12bbbc,'children':[_0x1fe582==='inline'&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb['jsx'])('path',{'d':_0x62d947(0x1ea),'stroke':_0x62d947(0x3b9),'strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),(0x0,_0x3eb5bb[_0x62d947(0x2cc)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x62d947(0x210),'fill':_0x62d947(0x3b9),'fillOpacity':_0x62d947(0x2db),'stroke':_0x62d947(0x3b9),'strokeWidth':_0x62d947(0x15f)})]}),_0x1fe582===_0x62d947(0x103)&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':_0x62d947(0x3b0),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),_0x6f1a2a]}),_0x1fe582===_0x62d947(0x1f4)&&(0x0,_0x3eb5bb['jsxs'])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':_0x62d947(0x339),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),_0x6f1a2a]}),_0x1fe582===_0x62d947(0x281)&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[_0x6f1a2a,(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':_0x62d947(0x3b9),'strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)})]}),_0x1fe582==='front'&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])('path',{'d':_0x62d947(0x3f5),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x2b5),{'x':'7','y':_0x62d947(0x319),'width':'6','height':'9','rx':'1','fill':_0x62d947(0x3b9)})]})]});}let _0x15d7b9=_0x57fa60=>_0x5e56ab=>(0x0,_0x3eb5bb[_0x14788d(0x2cc)])(_0x39277d,{..._0x5e56ab,'variant':_0x57fa60}),_0x334124={'DocsShapeWrapInlineIcon':_0x15d7b9(_0x14788d(0x406)),'DocsShapeWrapSquareIcon':_0x15d7b9(_0x14788d(0x103)),'DocsShapeWrapTopBottomIcon':_0x15d7b9(_0x14788d(0x1f4)),'DocsShapeWrapBehindTextIcon':_0x15d7b9(_0x14788d(0x281)),'DocsShapeWrapInFrontOfTextIcon':_0x15d7b9(_0x14788d(0x2fc))},_0x640c7d=(0x0,_0x40ced8['memo'])(()=>{const _0x344345=_0x14788d;let _0x2ff55c=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0x1e6cd8),_0x590ba0=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0xddc3b0[_0x344345(0x131)]),_0x22448f=(0x0,_0x1f9d09['useDependency'])(_0x893ff7[_0x344345(0x2f4)]),_0x7eea1e=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0x51ff18[_0x344345(0x220)]),_0x177007=(0x0,_0x40ced8[_0x344345(0x385)])(()=>({'getShapeModel':(_0x3a7eee,_0x492deb,_0x2079fc)=>_0x590ba0[_0x344345(0x11b)](_0x3a7eee,_0x492deb,_0x2079fc),'getShapeData':(_0x648b74,_0x2e6a7e,_0x2e3b86)=>_0x590ba0[_0x344345(0x325)](_0x648b74,_0x2e6a7e,_0x2e3b86),'getDrawingTransform':(_0x30b456,_0xf46f6a,_0x25dcb2)=>{const _0x441251=_0x344345;let _0x1883f7=_0x22448f[_0x441251(0x122)]({'unitId':_0x30b456,'subUnitId':_0xf46f6a,'drawingId':_0x25dcb2});return _0x1883f7==null?void 0x0:_0x1883f7[_0x441251(0x362)];},'updateShapeText':({unitId:_0x4f6d58,shapeId:_0x12b7bf,shapeText:_0x4015dd,oldShapeText:_0x551efe})=>{const _0x437089=_0x344345;_0x7eea1e[_0x437089(0x238)](_0xddc3b0[_0x437089(0x1d3)]['id'],{'unitId':_0x4f6d58,'shapeId':_0x12b7bf,'shapeData':{'shapeText':_0x4015dd},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x551efe}}});},'updateHostSize':({unitId:_0x30f29d,subUnitId:_0x55ab1d,shapeId:_0x1b03c6,width:_0x44bd82,height:_0x24c330})=>{const _0x4c72f8=_0x344345;_0x7eea1e[_0x4c72f8(0x238)](_0x522777[_0x4c72f8(0x121)]['id'],{'unitId':_0x30f29d,'subUnitId':_0x55ab1d,'drawings':[{'drawingId':_0x1b03c6,'key':_0x4c72f8(0x397),'value':{'width':_0x44bd82,'height':_0x24c330}}]});},'allowHostSizeShrink':({unitId:_0x5d65ea,subUnitId:_0x45b41f,shapeId:_0x429f79})=>(0x0,_0x4df77c[_0x344345(0x40d)])(_0x590ba0[_0x344345(0x325)](_0x5d65ea,_0x45b41f,_0x429f79))}),[_0x7eea1e,_0x590ba0,_0x22448f]),_0xcc338b=(0x0,_0x40ced8[_0x344345(0x385)])(()=>({'viewportKeys':{'main':_0x25d652[_0x344345(0x3db)][_0x344345(0x24d)]}}),[]);return(0x0,_0x3eb5bb[_0x344345(0x2cc)])(_0x4df77c[_0x344345(0x293)],{'adapter':_0x177007,'editingService':_0x2ff55c,'editorUnitId':_0x4e1cb4,'positionOptions':_0xcc338b});}),_0x1dc9ea=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x10407e,_0x4161af){const _0x4f9552=_0x14788d;super(),this[_0x4f9552(0x31c)]=_0x10407e,this['_iconManager']=_0x4161af,this['_registerIcons'](),this[_0x4f9552(0xc4)]();}[_0x14788d(0x137)](){const _0x363eb2=_0x14788d;this[_0x363eb2(0x355)]['has'](_0x363eb2(0x1bb))||this['disposeWithMe'](this['_iconManager']['register']({'ObjectLayersIcon':_0x55676f})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)](_0x363eb2(0xe3))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'BottomIcon':_0x89ad3c})),this['_iconManager']['has'](_0x363eb2(0x3ee))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'MoveDownIcon':_0x19b97d})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)](_0x363eb2(0xdd))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'MoveUpIcon':_0x5a6d9e})),this['_iconManager'][_0x363eb2(0xa3)](_0x363eb2(0x282))||this['disposeWithMe'](this[_0x363eb2(0x355)]['register']({'ShapeFormatSettingIcon':_0x5942b0})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)]('TopmostIcon')||this[_0x363eb2(0x2c1)](this['_iconManager'][_0x363eb2(0x380)]({'TopmostIcon':_0x405cdd})),this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)]['register'](_0x334124));}[_0x14788d(0xc4)](){const _0x19f282=_0x14788d;this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)]['register'](_0x489aae,_0x16cc75)),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x182d51,_0x226c5b)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x3538af,_0x4b40b3)),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x130032,_0xeae6d5)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x2260b3,_0x2f0f28)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x1dea17,_0x122530)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5f5cfd,_0x238d7a)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x26b4d2,_0x1b89c8)),this[_0x19f282(0x2c1)](this['_componentManager'][_0x19f282(0x380)](_0x1b5ebb,_0x4df77c['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5d3b2d,_0x40167c)),this['disposeWithMe'](this['_componentManager'][_0x19f282(0x380)](_0x1f5594,_0x132d09)),this[_0x19f282(0x31c)][_0x19f282(0x24e)](_0x358a20[_0x19f282(0x1cb)])||this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x358a20[_0x19f282(0x1cb)],_0x17755e)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5381b7,_0x640c7d));}};_0x1dc9ea=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18['Inject'])(_0x1f9d09[_0x14788d(0x292)])),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09[_0x14788d(0x3f9)]))],_0x1dc9ea);let _0xadf974=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x473667,_0x5835fe,_0x3dd0ac,_0x31581a,_0x3125d7,_0x169820,_0x8e0ed3,_0x365d70,_0x4e884d,_0x3625a1,_0x4c9fb2,_0x21cf24,_0x1a8b1b){const _0x2c9ec4=_0x14788d;super(),this[_0x2c9ec4(0x3d6)]=_0x473667,this[_0x2c9ec4(0x2ad)]=_0x5835fe,this[_0x2c9ec4(0x35d)]=_0x3dd0ac,this['_docsShapeService']=_0x31581a,this['_localeService']=_0x3125d7,this[_0x2c9ec4(0x22f)]=_0x169820,this[_0x2c9ec4(0x39e)]=_0x8e0ed3,this[_0x2c9ec4(0x42c)]=_0x365d70,this[_0x2c9ec4(0x11c)]=_0x4e884d,this[_0x2c9ec4(0x300)]=_0x3625a1,this[_0x2c9ec4(0x1de)]=_0x4c9fb2,this[_0x2c9ec4(0x102)]=_0x21cf24,this[_0x2c9ec4(0x398)]=_0x1a8b1b,_0x30c9f5(this,_0x2c9ec4(0x23a),null),_0x30c9f5(this,'_activeShapeInfo',null),_0x30c9f5(this,'_isOpenedShapeEditPanel',!0x1),_0x30c9f5(this,'_shapeEditPanelVersion',0x0),_0x30c9f5(this,_0x2c9ec4(0x1ba),new Map()),_0x30c9f5(this,_0x2c9ec4(0x2a0),new Map()),this['_initMenu'](),this[_0x2c9ec4(0x2c1)](this[_0x2c9ec4(0x3d6)][_0x2c9ec4(0x1da)](_0x51ff18[_0x2c9ec4(0x1b6)][_0x2c9ec4(0x33c)])['subscribe'](_0x38f65e=>{const _0x3c55ea=_0x2c9ec4;if(!_0x38f65e){var _0x1ca7d8;(_0x1ca7d8=this['_sidebarDisposable'])==null||_0x1ca7d8[_0x3c55ea(0x20b)]();}})),this[_0x2c9ec4(0x34d)](),this['disposeWithMe'](this[_0x2c9ec4(0x39e)][_0x2c9ec4(0x3ec)]['subscribe'](_0x3b02f7=>{const _0x563213=_0x2c9ec4;for(let _0x262450 of _0x3b02f7){let _0x1c9550=_0x262450[_0x563213(0x1b5)]+':'+_0x262450[_0x563213(0x151)]+':'+_0x262450[_0x563213(0x3f7)];for(let [_0x58649a,_0x52b9fa]of this[_0x563213(0x2a0)])_0x52b9fa===_0x1c9550&&this[_0x563213(0x174)](_0x58649a,!0x0);}})),this['disposeWithMe']((0x0,_0x4df77c['bindRenderTransformerLifecycle'])(this['_renderManagerService'],_0x51ff18[_0x2c9ec4(0x1b6)][_0x2c9ec4(0x33c)],_0x432d62=>this[_0x2c9ec4(0x3e3)](_0x432d62))),this[_0x2c9ec4(0x2c1)](this[_0x2c9ec4(0x1de)][_0x2c9ec4(0x334)][_0x2c9ec4(0x402)](_0x195d83=>{const _0x5d0e17=_0x2c9ec4;_0x195d83&&this[_0x5d0e17(0x174)](void 0x0,!0x0);})),this[_0x2c9ec4(0x2c1)](this['_permissionService'][_0x2c9ec4(0x349)]['subscribe'](()=>{const _0x5d648e=_0x2c9ec4;this[_0x5d648e(0x39e)]['getFocusDrawings']()[_0x5d648e(0x330)](_0x376fb5=>_0x376fb5['drawingType']===_0x51ff18[_0x5d648e(0x1d4)][_0x5d648e(0x376)]&&this[_0x5d648e(0x3d6)][_0x5d648e(0x128)](_0x376fb5['unitId'])===_0x51ff18[_0x5d648e(0x1b6)][_0x5d648e(0x33c)]&&!this[_0x5d648e(0x130)](_0x376fb5[_0x5d648e(0x1b5)],_0x376fb5[_0x5d648e(0x3f7)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x5d648e(0x35c)]());}));}[_0x14788d(0x205)](_0x4ae7e8,_0x3613c0,_0x53a527,_0x538bb2){const _0x2f7fa6=_0x14788d;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x38c6c0['id'],'commandParams':{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527},'disable':_0x538bb2===_0x51ff18[_0x2f7fa6(0x1d4)][_0x2f7fa6(0x111)]},{'label':_0x2f7fa6(0x3eb),'index':0x1,'commandId':_0x522777[_0x2f7fa6(0x3b1)]['id'],'commandParams':{'unitId':_0x4ae7e8,'drawings':[{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527}]},'disable':!0x1},{'label':_0x2f7fa6(0x1e1),'index':0x2,'commandId':_0xd2094f['id'],'commandParams':{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527},'disable':!0x1}];}['_initMenu'](){const _0x2e364f=_0x14788d;this[_0x2e364f(0x35d)]['mergeMenu'](_0x4b53ac);}[_0x14788d(0x1a4)](_0x261786,_0x48fd4a,_0x139257){const _0x56c652=_0x14788d;let _0x1f28eb=this[_0x56c652(0xf2)][_0x56c652(0x417)](_0x261786,_0x48fd4a,_0x139257),_0x3ad414=this[_0x56c652(0xf2)][_0x56c652(0x325)](_0x261786,_0x48fd4a,_0x139257);return _0x1f28eb===void 0x0||_0x3ad414===void 0x0?null:{'shapeData':_0x3ad414,'shapeId':_0x139257,'shapeType':_0x1f28eb,'unitId':_0x261786,'subUnitId':_0x48fd4a,'version':this[_0x56c652(0x252)],'disableShapeOption':!0x1};}['_clearPopups'](_0x564faf,_0x232cad=!0x1){const _0x4f16ad=_0x14788d;if(_0x564faf==null){[...this['_disposePopupsByUnit'][_0x4f16ad(0xd4)]()][_0x4f16ad(0x23f)](_0x404223=>this[_0x4f16ad(0x174)](_0x404223,_0x232cad));return;}let _0x177008=this[_0x4f16ad(0x1ba)][_0x4f16ad(0x347)](_0x564faf);if(_0x177008){for(let _0x989ae9=_0x177008[_0x4f16ad(0x12a)]-0x1;_0x989ae9>=0x0;--_0x989ae9){let _0x3b1c35=_0x177008[_0x989ae9];(_0x232cad||_0x3b1c35[_0x4f16ad(0x16c)]())&&(_0x3b1c35['dispose'](),_0x177008[_0x4f16ad(0x1b4)](_0x989ae9,0x1));}_0x177008['length']===0x0&&(this[_0x4f16ad(0x1ba)]['delete'](_0x564faf),this[_0x4f16ad(0x2a0)]['delete'](_0x564faf));}}[_0x14788d(0x2c7)](_0x4a132e){const _0x2cd3bf=_0x14788d;let _0x5bc2ed=this[_0x2cd3bf(0x1ba)][_0x2cd3bf(0x347)](_0x4a132e);if(_0x5bc2ed)return _0x5bc2ed;let _0x428e27=[];return this[_0x2cd3bf(0x1ba)][_0x2cd3bf(0x2e4)](_0x4a132e,_0x428e27),_0x428e27;}[_0x14788d(0x3e3)](_0x503879){const _0x17591b=_0x14788d;var _0x265597;let _0x4d9338=new _0x51ff18[(_0x17591b(0x2c5))](),_0x2071b7=(_0x265597=this[_0x17591b(0x11c)][_0x17591b(0x3df)](_0x51ff18['UniverInstanceType'][_0x17591b(0x33c)])['find'](_0x2b8d8e=>_0x2b8d8e['scene'][_0x17591b(0x2f8)]()===_0x503879))==null?void 0x0:_0x265597['unitId'];return _0x2071b7&&(_0x4d9338['add'](_0x503879[_0x17591b(0xbb)]['subscribe'](()=>this[_0x17591b(0x175)](_0x503879,_0x2071b7))),_0x4d9338[_0x17591b(0x338)](_0x503879[_0x17591b(0x2eb)]['subscribe'](()=>{const _0x172dd1=_0x17591b;this[_0x172dd1(0x174)](_0x2071b7),queueMicrotask(()=>{const _0x4b65df=_0x172dd1;_0x503879['getSelectedObjectMap']()[_0x4b65df(0x397)]>0x0||!this[_0x4b65df(0x39e)][_0x4b65df(0x34e)]()['some'](_0x121621=>_0x121621[_0x4b65df(0x1b5)]===_0x2071b7)||(this['_contextService'][_0x4b65df(0x10b)](_0x51ff18[_0x4b65df(0x17b)],!0x1),this['_drawingManagerService'][_0x4b65df(0x200)](null));});})),_0x4d9338['add'](_0x503879[_0x17591b(0x1aa)]['subscribe'](()=>{this['_clearPopups'](_0x2071b7,!0x0);}))),_0x4d9338;}[_0x14788d(0x175)](_0x270b48,_0x1d27de){const _0x43896b=_0x14788d;let _0x574b08=_0x270b48['getSelectedObjectMap']();if(this[_0x43896b(0x389)]){this['_clearPopups'](_0x1d27de,!0x0);return;}if(_0x574b08[_0x43896b(0x397)]>0x1){this[_0x43896b(0x174)](_0x1d27de);return;}let _0x574106=_0x574b08[_0x43896b(0x2be)]()['next']()[_0x43896b(0x1d7)];if(!_0x574106){this['_clearPopups'](_0x1d27de);return;}let _0x2a515a=this[_0x43896b(0x39e)]['getDrawingOKey'](_0x574106[_0x43896b(0xf9)]);if(!_0x2a515a||_0x2a515a[_0x43896b(0x22c)]!==_0x51ff18['DrawingTypeEnum'][_0x43896b(0x376)]){this[_0x43896b(0x174)](_0x1d27de);return;}let {unitId:_0x27680,subUnitId:_0xcd97b5,drawingId:_0x1d4e3b}=_0x2a515a;if(!this[_0x43896b(0x130)](_0x27680,_0x1d4e3b)){this[_0x43896b(0x174)](_0x1d27de,!0x0);return;}let _0x11c076=this[_0x43896b(0x1a4)](_0x27680,_0xcd97b5,_0x1d4e3b);if(!_0x11c076){this[_0x43896b(0x174)](_0x1d27de);return;}let _0x62548a=this['_disposePopupsByUnit'][_0x43896b(0x347)](_0x1d27de),_0x3b4158=_0x27680+':'+_0xcd97b5+':'+_0x1d4e3b;if(this[_0x43896b(0x2a0)][_0x43896b(0x347)](_0x1d27de)===_0x3b4158&&_0x62548a!=null&&_0x62548a['length'])return;this['_clearPopups'](_0x1d27de);let _0xadfc56=this['_renderManagerService'][_0x43896b(0x307)](_0x27680),_0x5ba06c=((_0xadfc56==null?void 0x0:_0xadfc56[_0x43896b(0x228)])===!0x1?_0xadfc56[_0x43896b(0x201)](_0x25d652[_0x43896b(0x40c)]):this[_0x43896b(0x42c)])['attachPopupToObject'](_0x574106,this[_0x43896b(0x278)](_0x11c076,()=>this[_0x43896b(0x174)](_0x1d27de,!0x0)),_0x27680);this[_0x43896b(0x2c1)](_0x5ba06c),this[_0x43896b(0x2c7)](_0x1d27de)[_0x43896b(0x3a5)](_0x5ba06c),this['_popupTargetKeys']['set'](_0x1d27de,_0x3b4158),this['_drawingManagerService'][_0x43896b(0x34e)]()[_0x43896b(0x330)](_0x321faa=>_0x321faa['unitId']===_0x27680&&_0x321faa['subUnitId']===_0xcd97b5&&_0x321faa[_0x43896b(0x3f7)]===_0x1d4e3b)||this[_0x43896b(0x39e)]['focusDrawing']([{'unitId':_0x27680,'subUnitId':_0xcd97b5,'drawingId':_0x1d4e3b}]);}[_0x14788d(0x278)](_0x3d2760,_0x3e93bc){const _0x109c92=_0x14788d;let {unitId:_0x2226ca,subUnitId:_0x3a920,shapeId:_0x29e6e1}=_0x3d2760,_0x2fbca2={'hostType':_0x51ff18[_0x109c92(0x1b6)]['UNIVER_DOC'],'unitId':_0x2226ca,'subUnitId':_0x3a920,'shapeId':_0x29e6e1};return{'componentKey':_0x3538af,'requiresStableLayout':!0x1,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x3d2760[_0x109c92(0x18b)],'onText':()=>{const _0x52fb88=_0x109c92;_0x3e93bc(),this[_0x52fb88(0x398)][_0x52fb88(0x15c)](_0x52fb88(0x21a),_0x2fbca2);},'onStyle':()=>{const _0x587697=_0x109c92;_0x3e93bc(),this[_0x587697(0x398)][_0x587697(0x15c)](_0x587697(0x1c8),_0x2fbca2);},'onDelete':()=>this[_0x109c92(0x22f)][_0x109c92(0x238)](_0x522777[_0x109c92(0x3b1)]['id'],{'unitId':_0x2226ca,'drawings':[{'unitId':_0x2226ca,'subUnitId':_0x3a920,'drawingId':_0x29e6e1}]})}};}[_0x14788d(0x130)](_0x508137,_0x486975){const _0x5a027e=_0x14788d;let _0x2d8423=this['_univerInstanceService']['getUnit'](_0x508137,_0x51ff18[_0x5a027e(0x1b6)][_0x5a027e(0x33c)]);if(!_0x2d8423)return!0x1;let _0x183068=(0x0,_0x31599d['getDocumentDrawingSegmentId'])(_0x2d8423,_0x486975);return(0x0,_0x31599d[_0x5a027e(0x117)])(this['_permissionService'],_0x508137,[...(0x0,_0x31599d['getDocumentEntityParentPermissionObjectIds'])(_0x2d8423,_0x183068,'drawing',_0x486975),(0x0,_0x31599d[_0x5a027e(0xb6)])(_0x183068,_0x5a027e(0xfa),_0x486975)]);}[_0x14788d(0x34d)](){const _0x5800e0=_0x14788d;this[_0x5800e0(0x2c1)](this[_0x5800e0(0x22f)][_0x5800e0(0x3f1)](_0x31abd5=>{const _0x59552d=_0x5800e0;if(_0x31abd5['id']===_0x38c6c0['id']){let {unitId:_0x34d111,subUnitId:_0x2f54b6,drawingId:_0x51dc6f}=_0x31abd5[_0x59552d(0x423)];this['_shapeEditPanelVersion']+=0x1,this[_0x59552d(0x313)]=this[_0x59552d(0x1a4)](_0x34d111,_0x2f54b6,_0x51dc6f),this[_0x59552d(0x174)](void 0x0,!0x0),this[_0x59552d(0x156)]();}if(_0x31abd5['id']===_0xd2094f['id']&&(this['_activeShapeInfo']=null,this[_0x59552d(0x35c)]()),_0x31abd5['id']===_0xddc3b0[_0x59552d(0x127)]['id']){var _0x9e7721;let {unitId:_0x2f4c5d,shapeId:_0x3eef4e}=_0x31abd5['params'];if(((_0x9e7721=this['_activeShapeInfo'])==null?void 0x0:_0x9e7721[_0x59552d(0x344)])===_0x3eef4e){let _0x5d3b18=this[_0x59552d(0x1a4)](_0x2f4c5d,this[_0x59552d(0x313)]['subUnitId'],_0x3eef4e);_0x5d3b18&&(this['_shapeEditPanelVersion']+=0x1,_0x5d3b18['version']=this[_0x59552d(0x252)],this[_0x59552d(0x313)]=_0x5d3b18,this[_0x59552d(0x389)]&&this['_openShapeEditPanel']());}}})),this[_0x5800e0(0x2c1)](this[_0x5800e0(0x39e)][_0x5800e0(0x301)][_0x5800e0(0x402)](_0x608a0b=>{const _0x5da208=_0x5800e0;if(!this[_0x5da208(0x389)])return;if(_0x608a0b[_0x5da208(0x12a)]===0x0){this['_activeShapeInfo']=null,this[_0x5da208(0x35c)]();return;}if(_0x608a0b['length']===0x1&&_0x608a0b[0x0][_0x5da208(0x22c)]===_0x51ff18['DrawingTypeEnum'][_0x5da208(0x376)]&&(this[_0x5da208(0x252)]+=0x1,this[_0x5da208(0x313)]=this[_0x5da208(0x1a4)](_0x608a0b[0x0][_0x5da208(0x1b5)],_0x608a0b[0x0][_0x5da208(0x151)],_0x608a0b[0x0][_0x5da208(0x3f7)]),this[_0x5da208(0x313)])){this['_openShapeEditPanel']();return;}let _0x10030c=_0x608a0b['filter'](_0x1e203e=>_0x1e203e['drawingType']===_0x51ff18[_0x5da208(0x1d4)][_0x5da208(0x376)]);this[_0x5da208(0x252)]+=0x1,this[_0x5da208(0x313)]=this[_0x5da208(0x1a4)](_0x608a0b[0x0][_0x5da208(0x1b5)],_0x608a0b[0x0][_0x5da208(0x151)],_0x608a0b[0x0][_0x5da208(0x3f7)]),this[_0x5da208(0x313)]&&_0x608a0b[_0x5da208(0x12a)]>0x1&&_0x10030c[_0x5da208(0x12a)]===_0x608a0b[_0x5da208(0x12a)]?this[_0x5da208(0x156)]():this[_0x5da208(0x313)]&&_0x10030c[_0x5da208(0x12a)]!==_0x608a0b[_0x5da208(0x12a)]?(this['_activeShapeInfo'][_0x5da208(0x39b)]=!0x0,this[_0x5da208(0x156)]()):this[_0x5da208(0x35c)]();}));}[_0x14788d(0x156)](){const _0x5610f0=_0x14788d;this['_activeShapeInfo']&&(this[_0x5610f0(0x23a)]=this[_0x5610f0(0x2ad)]['open']({'id':_0x489aae,'header':{'title':this[_0x5610f0(0xf1)]['t'](_0x5610f0(0x379))},'width':0x184,'children':{'label':_0x489aae,...this[_0x5610f0(0x313)]},'onClose':()=>{const _0x574674=_0x5610f0;this[_0x574674(0x39e)][_0x574674(0x200)](null),this[_0x574674(0x300)][_0x574674(0x10b)](_0x51ff18['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x574674(0x23a)]=null;}}),this[_0x5610f0(0x389)]=!0x0);}[_0x14788d(0x35c)](){const _0x30420a=_0x14788d;this[_0x30420a(0x389)]=!0x1,this[_0x30420a(0x2ad)]['close'](_0x489aae),this[_0x30420a(0x23a)]=null,this[_0x30420a(0x300)]['setContextValue'](_0x51ff18[_0x30420a(0x17b)],!0x1),this[_0x30420a(0x39e)][_0x30420a(0x200)](null);}};_0xadf974=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09['ISidebarService'])),_0x3fe79d(0x2,_0x1f9d09[_0x14788d(0xc1)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x6,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652['DocCanvasPopManagerService'])),_0x3fe79d(0x8,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x9,_0x51ff18['IContextService']),_0x3fe79d(0xa,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0xb,_0x51ff18[_0x14788d(0xcf)]),_0x3fe79d(0xc,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c[_0x14788d(0x2df)]))],_0xadf974);let _0x20870d=_0x14788d(0x1a5),_0x13f5b6=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x38ad31,_0x1dfc0f,_0x5b31a0,_0x270e4f,_0x31fb3b,_0x3523f1){const _0x576f81=_0x14788d;super(),this[_0x576f81(0x35d)]=_0x38ad31,this[_0x576f81(0x2f1)]=_0x1dfc0f,this[_0x576f81(0x39e)]=_0x5b31a0,this[_0x576f81(0x3d6)]=_0x270e4f,this[_0x576f81(0x11c)]=_0x31fb3b,this[_0x576f81(0x2e6)]=_0x3523f1,_0x30c9f5(this,'_visible',!0x1),this[_0x576f81(0x35d)]['mergeMenu'](_0x31d4d4),this[_0x576f81(0x2c1)]((0x0,_0x51ff18[_0x576f81(0x273)])(this[_0x576f81(0x39e)][_0x576f81(0x301)][_0x576f81(0x402)](()=>this[_0x576f81(0xac)]()))),this[_0x576f81(0xac)]();}['dispose'](){const _0x295da5=_0x14788d;this[_0x295da5(0x2e6)]['setFallbackVisible'](!0x1,_0x20870d),this['_hide'](),super['dispose']();}['_update'](){const _0xe41f2d=_0x14788d;var _0x4d4d94;let _0xf8bbac=this['_drawingManagerService'][_0xe41f2d(0x34e)](),_0x1c9869=_0xf8bbac['length']===0x1?_0xf8bbac[0x0]:void 0x0;if((_0x1c9869==null?void 0x0:_0x1c9869[_0xe41f2d(0x22c)])!==_0x51ff18['DrawingTypeEnum'][_0xe41f2d(0x376)]||this[_0xe41f2d(0x3d6)][_0xe41f2d(0x128)](_0x1c9869[_0xe41f2d(0x1b5)])!==_0x51ff18[_0xe41f2d(0x1b6)][_0xe41f2d(0x33c)]){this[_0xe41f2d(0x2e6)][_0xe41f2d(0x23c)](!0x1,_0x20870d),this[_0xe41f2d(0x25f)]();return;}let _0x5d8421=(_0x4d4d94=this[_0xe41f2d(0x11c)][_0xe41f2d(0x307)](_0x1c9869[_0xe41f2d(0x1b5)]))==null?void 0x0:_0x4d4d94['engine'][_0xe41f2d(0x28d)](),_0x280abc=(0x0,_0x4df77c[_0xe41f2d(0x185)])(_0x5d8421)===_0xe41f2d(0x171);this[_0xe41f2d(0x2e6)][_0xe41f2d(0x23c)](_0x280abc,_0x20870d),_0x280abc?this[_0xe41f2d(0x25f)]():(this['_visible']=!0x0,this[_0xe41f2d(0x2f1)][_0xe41f2d(0xc5)](_0x51acc9,{'activate':!0x0}));}['_hide'](){const _0x562d96=_0x14788d;this[_0x562d96(0x1bc)]&&(this[_0x562d96(0x1bc)]=!0x1,this[_0x562d96(0x2f1)][_0x562d96(0x367)](_0x51acc9),this[_0x562d96(0x2f1)][_0x562d96(0x2ba)]([]));}};_0x13f5b6=_0x1e5419([_0x3fe79d(0x0,_0x1f9d09['IMenuManagerService']),_0x3fe79d(0x1,_0x1f9d09[_0x14788d(0x2f2)]),_0x3fe79d(0x2,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x5,(0x0,_0x51ff18['Inject'])(_0x4df77c[_0x14788d(0x1cd)]))],_0x13f5b6);let _0x3278c7=class extends _0x51ff18['Disposable']{constructor(_0x974b8e,_0x5cadd9,_0x5c5b17,_0xa29bc){const _0x29d19d=_0x14788d;super(),this[_0x29d19d(0x22f)]=_0x974b8e,this['_renderManagerService']=_0x5cadd9,this[_0x29d19d(0x39e)]=_0x5c5b17,this[_0x29d19d(0xe9)]=_0xa29bc,this['_initialize']();}[_0x14788d(0x28b)](){const _0x1083e3=_0x14788d;this['disposeWithMe'](this[_0x1083e3(0x39e)][_0x1083e3(0x365)][_0x1083e3(0x402)](_0xa8af00=>this[_0x1083e3(0x424)](_0xa8af00))),this[_0x1083e3(0x2c1)](this['_drawingManagerService'][_0x1083e3(0x2a8)]['subscribe'](_0x482235=>{const _0x492d01=_0x1083e3;_0x482235['forEach'](_0x364eba=>this[_0x492d01(0x37d)](_0x364eba));})),this[_0x1083e3(0x2c1)](this[_0x1083e3(0x22f)]['onCommandExecuted'](_0x827fd=>{const _0x32b455=_0x1083e3;if(_0x827fd['id']!==_0xddc3b0[_0x32b455(0x127)]['id'])return;let {unitId:_0x56a15a,shapeId:_0x3dedf4}=_0x827fd[_0x32b455(0x423)];this[_0x32b455(0x2b6)]({'unitId':_0x56a15a,'subUnitId':_0x56a15a,'drawingId':_0x3dedf4});}));}[_0x14788d(0x424)](_0x34af97){const _0x42d059=_0x14788d;_0x34af97[_0x42d059(0x23f)](_0x28d72c=>{const _0x1b2e66=_0x42d059;let _0x388d0d=this['_getSceneByUnitId'](_0x28d72c[_0x1b2e66(0x1b5)]);if(!_0x388d0d)return;let _0xb26f5=this['_drawingManagerService'][_0x1b2e66(0x122)](_0x28d72c);(_0xb26f5==null?void 0x0:_0xb26f5[_0x1b2e66(0x22c)])===_0x51ff18[_0x1b2e66(0x1d4)][_0x1b2e66(0x376)]&&this[_0x1b2e66(0xe9)][_0x1b2e66(0xb0)](_0xb26f5,_0x388d0d[_0x1b2e66(0x413)]);});}[_0x14788d(0x37d)](_0x352dec){const _0x17538f=_0x14788d;let _0x156b05=this[_0x17538f(0x39e)][_0x17538f(0x122)](_0x352dec);if((_0x156b05==null?void 0x0:_0x156b05['drawingType'])!==_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x735159=this[_0x17538f(0xcc)](_0x352dec[_0x17538f(0x1b5)]);if(!_0x735159||_0x156b05[_0x17538f(0x362)]==null)return;let _0x14448c=(0x0,_0x893ff7[_0x17538f(0x3d4)])(_0x352dec),_0x4e0370=_0x735159[_0x17538f(0x413)][_0x17538f(0xa5)](_0x14448c);_0x4e0370&&(_0x4e0370[_0x17538f(0xc9)](_0x156b05[_0x17538f(0x358)]),_0x4e0370[_0x17538f(0x2f6)](_0x156b05[_0x17538f(0x199)]),_0x4e0370['makeDirty'](!0x0));}['_refreshShapeData'](_0x4d34c2){const _0x299b5d=_0x14788d;let _0x1a54bd=this[_0x299b5d(0xcc)](_0x4d34c2[_0x299b5d(0x1b5)]);if(!_0x1a54bd)return;let _0x20ab15=(0x0,_0x893ff7[_0x299b5d(0x3d4)])(_0x4d34c2),_0x10efe6=_0x1a54bd[_0x299b5d(0x413)][_0x299b5d(0xa5)](_0x20ab15);_0x10efe6&&(this[_0x299b5d(0xe9)][_0x299b5d(0x2ff)](_0x10efe6),this[_0x299b5d(0xe9)][_0x299b5d(0x2bc)](_0x10efe6,{'unitId':_0x4d34c2[_0x299b5d(0x1b5)],'subUnitId':_0x4d34c2[_0x299b5d(0x151)],'shapeId':_0x4d34c2[_0x299b5d(0x3f7)]}),_0x10efe6[_0x299b5d(0x41f)](!0x0));}[_0x14788d(0xcc)](_0x275d55){const _0x501874=_0x14788d;if(_0x275d55==null)return null;let _0x6e4435=this[_0x501874(0x11c)]['getRenderUnitById'](_0x275d55),_0x18d10e=_0x6e4435==null?void 0x0:_0x6e4435[_0x501874(0x413)];return _0x18d10e==null?null:{'scene':_0x18d10e};}};_0x3278c7=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x1,_0x164900['IRenderManagerService']),_0x3fe79d(0x2,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x3,(0x0,_0x51ff18['Inject'])(_0x3b1cf5))],_0x3278c7);let _0x3b80ca=class extends _0x51ff18['Plugin']{constructor(_0x487467=_0x13f191,_0x436c0b,_0x3cb4fc,_0x4afde4,_0x54f896){const _0x2cbbee=_0x14788d;super(),this[_0x2cbbee(0x284)]=_0x487467,this['_injector']=_0x436c0b,this['_commandService']=_0x3cb4fc,this[_0x2cbbee(0x26b)]=_0x4afde4,this[_0x2cbbee(0x11c)]=_0x54f896;let {menu:_0x223deb,..._0x3f0f47}=(0x0,_0x51ff18[_0x2cbbee(0x134)])({},_0x13f191,this[_0x2cbbee(0x284)]);_0x223deb&&this[_0x2cbbee(0x26b)]['setConfig'](_0x2cbbee(0x180),_0x223deb,{'merge':!0x0}),this[_0x2cbbee(0x26b)][_0x2cbbee(0x323)](_0x302969,_0x3f0f47),[_0x26e47b,_0xd2094f,_0x38c6c0,_0x132c8f,_0x4949f5,_0x55fbd0][_0x2cbbee(0x23f)](_0x3afb92=>this['disposeWithMe'](this[_0x2cbbee(0x22f)][_0x2cbbee(0x165)](_0x3afb92)));}[_0x14788d(0x19c)](){const _0x8a02d8=_0x14788d;let _0x447fe5=[[_0x1dc9ea],[_0xadf974],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x40c79a],[_0x14ecae],[_0xf7061],[_0x1e6cd8],[_0x13f5b6]];(0x0,_0x51ff18[_0x8a02d8(0x374)])(this['_injector'],_0x447fe5),this['_injector'][_0x8a02d8(0x347)](_0x1dc9ea);}[_0x14788d(0x169)](){const _0x5b43b9=_0x14788d;this[_0x5b43b9(0x2c1)](this[_0x5b43b9(0x11c)]['registerRenderModule'](_0x51ff18['UniverInstanceType'][_0x5b43b9(0x33c)],[_0x40c79a])),(0x0,_0x51ff18[_0x5b43b9(0x384)])(this[_0x5b43b9(0xb4)],[[_0xadf974],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x14ecae],[_0xf7061],[_0x1e6cd8],[_0x13f5b6]]);}};_0x30c9f5(_0x3b80ca,_0x14788d(0x31f),_0x51ff18['UniverInstanceType']['UNIVER_DOC']),_0x30c9f5(_0x3b80ca,_0x14788d(0x34b),'DOCS_SHAPE_UI_PLUGIN'),_0x30c9f5(_0x3b80ca,_0x14788d(0xda),_0xdb48a4),_0x30c9f5(_0x3b80ca,_0x14788d(0x3d9),_0x1ddf68),_0x3b80ca=_0x1e5419([(0x0,_0x51ff18['DependentOn'])(_0x330c89[_0x14788d(0x36b)],_0x31599d[_0x14788d(0x1f8)],_0x893ff7['UniverDrawingPlugin'],_0x358a20['UniverDrawingMobileUIPlugin'],_0x164900['UniverRenderEnginePlugin'],_0x25d652[_0x14788d(0x352)],_0x4e08a0[_0x14788d(0x19e)],_0x2fdebd[_0x14788d(0x3f0)],_0xddc3b0[_0x14788d(0x12f)],_0x4df77c[_0x14788d(0x129)]),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x51ff18['Injector'])),_0x3fe79d(0x2,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x16b)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)])],_0x3b80ca);let _0x3e82c2=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x5bd72e,_0x4e3d73){const _0x46d392=_0x14788d;super(),this[_0x46d392(0x31c)]=_0x5bd72e,this['_iconManager']=_0x4e3d73,this[_0x46d392(0x137)](),this['_registerComponents']();}[_0x14788d(0x137)](){const _0x2d832e=_0x14788d;this['_iconManager'][_0x2d832e(0xa3)](_0x2d832e(0x1bb))||this['disposeWithMe'](this['_iconManager']['register']({'ObjectLayersIcon':_0x55676f})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0xe3))||this['disposeWithMe'](this[_0x2d832e(0x355)][_0x2d832e(0x380)]({'BottomIcon':_0x89ad3c})),this['_iconManager'][_0x2d832e(0xa3)](_0x2d832e(0x3ee))||this[_0x2d832e(0x2c1)](this['_iconManager'][_0x2d832e(0x380)]({'MoveDownIcon':_0x19b97d})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0xdd))||this[_0x2d832e(0x2c1)](this[_0x2d832e(0x355)]['register']({'MoveUpIcon':_0x5a6d9e})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0x282))||this[_0x2d832e(0x2c1)](this[_0x2d832e(0x355)][_0x2d832e(0x380)]({'ShapeFormatSettingIcon':_0x5942b0})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0x135))||this['disposeWithMe'](this['_iconManager'][_0x2d832e(0x380)]({'TopmostIcon':_0x405cdd})),this['disposeWithMe'](this[_0x2d832e(0x355)][_0x2d832e(0x380)](_0x334124));}['_registerComponents'](){const _0x3d71a9=_0x14788d;this[_0x3d71a9(0x2c1)](this['_componentManager']['register'](_0x489aae,_0x310271)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x182d51,_0x262e74)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x3538af,_0x2dc890)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x130032,_0xeae6d5)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x2260b3,_0x2f0f28)),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x1dea17,_0x122530)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5f5cfd,_0x238d7a)),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x26b4d2,_0x1b89c8)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x1b5ebb,_0x4df77c['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5d3b2d,_0x2b2ad6)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x1f5594,_0x3bae6b)),this[_0x3d71a9(0x31c)]['hasDefault'](_0x358a20[_0x3d71a9(0x1cb)])||this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x358a20['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x17755e)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5381b7,_0x640c7d));}};_0x3e82c2=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09['ComponentManager'])),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x1f9d09[_0x14788d(0x3f9)]))],_0x3e82c2);let _0xbd3fc3=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x6198ab,_0x4af04c,_0x388ab7,_0x27070d,_0x490928,_0x3f3c29,_0x4b2e9f,_0x13cee9,_0x2e8110){const _0x45dda4=_0x14788d;super();let _0x29c0bb=_0x4ae1a8=>{const _0x9aa3e7=_0x2ff4;let _0x4709cf=_0x3f3c29[_0x9aa3e7(0x419)](_0x4ae1a8[_0x9aa3e7(0x1b5)],_0x51ff18[_0x9aa3e7(0x1b6)][_0x9aa3e7(0x33c)]),_0x18136f=_0x4709cf?(0x0,_0x31599d[_0x9aa3e7(0x332)])(_0x4709cf,_0x4ae1a8['shapeId']):'';return!!_0x4709cf&&(0x0,_0x31599d['canEditDocumentTargets'])(_0x13cee9,_0x4ae1a8[_0x9aa3e7(0x1b5)],[(0x0,_0x31599d[_0x9aa3e7(0xb6)])(_0x18136f,_0x9aa3e7(0xfa),_0x4ae1a8[_0x9aa3e7(0x344)]),...(0x0,_0x31599d['getDocumentEntityParentPermissionObjectIds'])(_0x4709cf,_0x18136f,_0x9aa3e7(0xfa),_0x4ae1a8[_0x9aa3e7(0x344)])]);},_0x5dad73=_0x2a0b82=>_0x2a0b82[_0x45dda4(0x344)]&&_0x29c0bb(_0x2a0b82)?_0x388ab7[_0x45dda4(0x325)](_0x2a0b82['unitId'],_0x2a0b82['shapeId'])??null:null,_0x4b2325=()=>{const _0x1cb1a5=_0x45dda4;let _0x4ba9c3=_0x490928['getFocusDrawings'](),_0xc422c5=_0x4ba9c3[_0x1cb1a5(0x12a)]===0x1?_0x4ba9c3[0x0]:null;return(_0xc422c5==null?void 0x0:_0xc422c5['drawingType'])===_0x51ff18[_0x1cb1a5(0x1d4)][_0x1cb1a5(0x376)]&&_0xc422c5[_0x1cb1a5(0x1b5)]===_0x6198ab[_0x1cb1a5(0x1b5)]?{'unitId':_0xc422c5[_0x1cb1a5(0x1b5)],'subUnitId':_0xc422c5[_0x1cb1a5(0x151)],'shapeId':_0xc422c5[_0x1cb1a5(0x3f7)]}:null;};this[_0x45dda4(0x2c1)]((0x0,_0x4df77c[_0x45dda4(0x304)])(_0x6198ab,_0x4af04c,{'changes$':(0x0,_0x1191c7[_0x45dda4(0x134)])(_0x490928[_0x45dda4(0x301)],_0x27070d[_0x45dda4(0x334)],_0x13cee9[_0x45dda4(0x349)]),'isActive':()=>{const _0x59f96e=_0x45dda4;var _0x3c94ba;return((_0x3c94ba=_0x3f3c29['getFocusedUnit']())==null?void 0x0:_0x3c94ba['getUnitId']())===_0x6198ab['unitId']&&!_0x4b2e9f['getContextValue'](_0x51ff18['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x490928[_0x59f96e(0x34e)]()[_0x59f96e(0x330)](_0x2a1d70=>_0x2a1d70['unitId']===_0x6198ab[_0x59f96e(0x1b5)]);},'getSelectedTarget':_0x4b2325,'getSource':()=>{let _0x3cea88=_0x4b2325();return _0x3cea88?_0x5dad73(_0x3cea88):null;},'getTarget':_0x13dadc=>{const _0x31bccf=_0x45dda4;let _0x21d818=_0x6198ab['scene'][_0x31bccf(0x1c1)](new _0x164900[(_0x31bccf(0x34c))](_0x13dadc['offsetX'],_0x13dadc[_0x31bccf(0x3a4)]));if(!(_0x21d818 instanceof _0x5d2ab8))return null;let _0x40e65f={'unitId':_0x6198ab[_0x31bccf(0x1b5)],'subUnitId':_0x6198ab[_0x31bccf(0x1b5)],'shapeId':_0x21d818[_0x31bccf(0x344)]};return _0x29c0bb(_0x40e65f)?_0x40e65f:null;},'getShape':_0x5dad73,'update':(_0x3997a7,_0x2261d8,_0x18a4f5)=>_0x2e8110[_0x45dda4(0x238)](_0xddc3b0[_0x45dda4(0x1d3)]['id'],{..._0x3997a7,'shapeData':_0x18a4f5,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x2261d8}})}));}};_0xbd3fc3=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09[_0x14788d(0x152)])),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0xddc3b0['DocsShapeService'])),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x4,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x6,_0x51ff18['IContextService']),_0x3fe79d(0x7,_0x51ff18['IPermissionService']),_0x3fe79d(0x8,_0x51ff18[_0x14788d(0x220)])],_0xbd3fc3);function _0x505731(_0x20d87c,_0x55e638){const _0x19fb85=_0x14788d;let _0x55c2ea=_0x20d87c;for(;_0x55c2ea;){if(_0x55e638(_0x55c2ea))return _0x55c2ea;_0x55c2ea=typeof _0x55c2ea['getParent']==_0x19fb85(0x298)?_0x55c2ea[_0x19fb85(0x250)]():null;}return null;}function _0x393e77(_0x6c2605){return _0x505731(_0x6c2605,_0x20dc9e=>_0x20dc9e instanceof _0x5d2ab8);}function _0x284dfc(_0x32d44d){return(_0x32d44d==null?void 0x0:_0x32d44d['formulaBinding'])==null;}let _0x181822=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x4f6a09,_0x17bf0d,_0xa5ff5b,_0x35cd55,_0x238aaf){const _0x183bc6=_0x14788d;super(),this[_0x183bc6(0x2d0)]=_0x4f6a09,this[_0x183bc6(0x1de)]=_0x17bf0d,this[_0x183bc6(0x39e)]=_0xa5ff5b,this[_0x183bc6(0x2e3)]=_0x35cd55,this[_0x183bc6(0xf2)]=_0x238aaf,_0x30c9f5(this,'_lastEditingShapeKey',null),_0x30c9f5(this,_0x183bc6(0x207),null),this[_0x183bc6(0x176)](),this[_0x183bc6(0x35b)](),this['_initEditingParams']();}[_0x14788d(0x20b)](){this['_endLayoutInteraction'](),super['dispose']();}[_0x14788d(0x176)](){const _0x547994=_0x14788d;let {scene:_0x2cf8c7}=this[_0x547994(0x2d0)];this[_0x547994(0x2c1)](_0x2cf8c7[_0x547994(0x105)][_0x547994(0x3e0)]((_0x9882d7,_0xb3b52f)=>{const _0x222c38=_0x547994;let {offsetX:_0x143ecb,offsetY:_0x225acd}=_0x9882d7,_0x3e5fd0=_0x164900[_0x222c38(0x34c)][_0x222c38(0x16f)]([_0x143ecb,_0x225acd]),_0x391e06=_0x393e77(_0x2cf8c7[_0x222c38(0x1c1)](_0x3e5fd0))??this[_0x222c38(0x399)](_0x3e5fd0);if(_0x391e06){_0xb3b52f[_0x222c38(0x1c4)]();let _0x2a1e57=this[_0x222c38(0xf2)]['getShapeModel'](_0x391e06[_0x222c38(0x1b5)],_0x391e06[_0x222c38(0x151)],_0x391e06['shapeId']);if(!_0x2a1e57||(0x0,_0x59d795[_0x222c38(0xdb)])(_0x2a1e57[_0x222c38(0x18d)]())||!_0x284dfc(_0x2a1e57['getShapeData']()))return;this['_shapeTextEditingService'][_0x222c38(0x11e)]({'visible':!0x0,'unitId':_0x391e06['unitId'],'subUnitId':_0x391e06[_0x222c38(0x151)],'shapeId':_0x391e06[_0x222c38(0x344)],'shapeKey':_0x391e06['oKey']});}}));}['_getFocusedShapeAtPoint'](_0x2f2c79){const _0xdd9863=_0x14788d;let {scene:_0x179192}=this[_0xdd9863(0x2d0)];return this[_0xdd9863(0x39e)]['getFocusDrawings']()[_0xdd9863(0xf0)](_0x8b7c94=>_0x179192[_0xdd9863(0xa5)]((0x0,_0x893ff7[_0xdd9863(0x3d4)])(_0x8b7c94)))[_0xdd9863(0x16d)](_0x4f89ed=>_0x4f89ed instanceof _0x5d2ab8&&_0x4f89ed['isHit'](_0x2f2c79))??null;}['_initSelection'](){const _0x7e4eea=_0x14788d;this['disposeWithMe'](this['_drawingManagerService'][_0x7e4eea(0x301)][_0x7e4eea(0x402)](_0x503e7b=>{const _0x572715=_0x7e4eea;if(_0x503e7b['length']===0x1){let _0x45b01c=_0x503e7b[0x0],_0x303e3c=this[_0x572715(0x39e)][_0x572715(0x122)](_0x45b01c);if((_0x303e3c==null?void 0x0:_0x303e3c['drawingType'])===_0x51ff18[_0x572715(0x1d4)][_0x572715(0x376)]){let _0x255ed9=this[_0x572715(0x1de)][_0x572715(0x317)]();if((_0x255ed9==null?void 0x0:_0x255ed9[_0x572715(0x344)])===_0x45b01c[_0x572715(0x3f7)]&&_0x255ed9[_0x572715(0x2dd)])return;(0x0,_0x59d795[_0x572715(0xdb)])(this[_0x572715(0xf2)][_0x572715(0x18d)](_0x45b01c['unitId'],_0x45b01c[_0x572715(0x151)],_0x45b01c[_0x572715(0x3f7)]))&&this['_shapeTextEditingService'][_0x572715(0x11e)](null);}else this[_0x572715(0x1de)][_0x572715(0x161)]();}else this['_shapeTextEditingService'][_0x572715(0x161)]();})),this[_0x7e4eea(0x2c1)](this['_drawingManagerService'][_0x7e4eea(0x3ec)][_0x7e4eea(0x402)](_0xb82087=>{const _0x29233c=_0x7e4eea;let _0x57d77d=this[_0x29233c(0x1de)][_0x29233c(0x317)]();_0x57d77d&&_0xb82087[_0x29233c(0x330)](_0x2a7fd2=>_0x2a7fd2[_0x29233c(0x3f7)]===_0x57d77d[_0x29233c(0x344)])&&this[_0x29233c(0x1de)]['setEditing'](null);}));}[_0x14788d(0x412)](){const _0x50322b=_0x14788d;this[_0x50322b(0x2c1)](this[_0x50322b(0x1de)][_0x50322b(0x334)][_0x50322b(0x402)](_0x52e550=>{const _0x2c43cf=_0x50322b;(_0x52e550==null?void 0x0:_0x52e550[_0x2c43cf(0x2dd)])===!0x0&&_0x52e550[_0x2c43cf(0x1b5)]===this[_0x2c43cf(0x2d0)]['unitId']?this[_0x2c43cf(0x207)]??=this[_0x2c43cf(0x2e3)]['beginInteraction']():this['_endLayoutInteraction']();let {scene:_0x12e1d8}=this[_0x2c43cf(0x2d0)];if(this[_0x2c43cf(0x133)]){let _0x175fe6=_0x12e1d8['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x175fe6&&_0x175fe6[_0x2c43cf(0x11e)](!0x1);}if(_0x52e550){let _0x5aa494=!!_0x52e550['visible'],_0x4ecf95=_0x12e1d8[_0x2c43cf(0xa5)](_0x52e550[_0x2c43cf(0x418)]);_0x4ecf95&&(_0x4ecf95['setEditing'](_0x5aa494),this[_0x2c43cf(0x133)]=_0x52e550['shapeKey']);}else this[_0x2c43cf(0x133)]=null;}));}[_0x14788d(0x2d3)](){const _0x55463e=_0x14788d;var _0xd86a18;(_0xd86a18=this[_0x55463e(0x207)])==null||_0xd86a18[_0x55463e(0x20b)](),this['_layoutInteraction']=null;}};_0x181822=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x2,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x369)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)]))],_0x181822);let _0x575728=class extends _0x4df77c['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x5a40d3,_0x18258e,_0x10dd1e,_0x280a2b,_0x2b72c4,_0x3cd024,_0x5651f7,_0x4e80ef,_0x5cee13,_0x1f615e){super(_0x5a40d3,_0x18258e,_0x10dd1e,_0x280a2b,_0x2b72c4,_0x3cd024,_0x5651f7,_0x4e80ef,_0x5cee13,_0x1f615e,{'componentKey':_0x1b5ebb,'editorUnitId':_0x4e1cb4});}};_0x575728=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x31599d[_0x14788d(0x378)])),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x3c3)])),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x5,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x275)])),_0x3fe79d(0x6,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c['ShapeTextHyperLinkPopupService'])),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x31599d[_0x14788d(0x25e)])),_0x3fe79d(0x8,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652['DocRenderController'])),_0x3fe79d(0x9,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8))],_0x575728);let _0x1cb18d=class extends _0x4df77c[_0x14788d(0x126)]{constructor(_0x522a9d,_0x3c189e,_0x4e5a0b,_0x22beef,_0x5e7dc5){const _0x413da4=_0x14788d;super(_0x522a9d,_0x3c189e,{'editing$':_0x4e5a0b[_0x413da4(0x334)],'resolve':_0x5b8e3b=>{const _0x4ac2bb=_0x413da4;var _0x5ef9ac;let _0x21d7e6=new _0x164900[(_0x4ac2bb(0x34c))](_0x5b8e3b[_0x4ac2bb(0x308)],_0x5b8e3b[_0x4ac2bb(0x3a4)]),_0x46969a=((_0x5ef9ac=_0x522a9d['scene']['getActiveViewportByCoord'](_0x21d7e6))==null?void 0x0:_0x5ef9ac[_0x4ac2bb(0x3ed)](_0x21d7e6))??_0x21d7e6,_0x244488=(0x0,_0x4df77c[_0x4ac2bb(0x1b3)])(_0x522a9d[_0x4ac2bb(0x413)]['pick'](_0x21d7e6)??null,_0x46969a);if(!(_0x244488 instanceof _0x5d2ab8))return null;let _0x2608cd=_0x244488[_0x4ac2bb(0x2a9)](_0x46969a);if(!_0x2608cd)return null;let _0x21ae4e=_0x244488,_0x1003c6={'componentKey':_0x4df77c[_0x4ac2bb(0x1d2)][_0x4ac2bb(0x123)],'direction':_0x4ac2bb(0x1a9),'offset':[0x0,0xa],'onClickOutside':()=>_0x3c189e['hideInfoPopup']()};return{'object':_0x244488,'info':{..._0x2608cd,'unitId':_0x244488[_0x4ac2bb(0x1b5)],'subUnitId':_0x244488[_0x4ac2bb(0x151)],'shapeKey':_0x244488[_0x4ac2bb(0xf9)],'readonly':!0x0,'copyable':(0x0,_0x31599d['getDocumentPermissionValue'])(_0x5e7dc5,_0x244488[_0x4ac2bb(0x1b5)],_0x244488['unitId'],_0x239f90[_0x4ac2bb(0x25c)][_0x4ac2bb(0x326)])},'attachPopup':()=>_0x22beef[_0x4ac2bb(0x404)](_0x21ae4e,_0x1003c6,_0x21ae4e[_0x4ac2bb(0x1b5)])};}});}};_0x1cb18d=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c['ShapeTextHyperLinkPopupService'])),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0xcf)])],_0x1cb18d);let _0x27584b=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x3b490c,_0x163b0f,_0x36e4e0,_0x5e471a,_0x4111fd,_0x611e78,_0x327632,_0x2b9fc9,_0x3e9110,_0x3190f9,_0x1c0677,_0x4647db){const _0x3feefd=_0x14788d;super(),this[_0x3feefd(0x3d6)]=_0x3b490c,this['_sidebarService']=_0x163b0f,this[_0x3feefd(0x35d)]=_0x36e4e0,this[_0x3feefd(0xf2)]=_0x5e471a,this['_localeService']=_0x4111fd,this[_0x3feefd(0x22f)]=_0x611e78,this[_0x3feefd(0x39e)]=_0x327632,this[_0x3feefd(0x42c)]=_0x2b9fc9,this[_0x3feefd(0x11c)]=_0x3e9110,this[_0x3feefd(0x300)]=_0x3190f9,this[_0x3feefd(0x1de)]=_0x1c0677,this[_0x3feefd(0x102)]=_0x4647db,_0x30c9f5(this,_0x3feefd(0x23a),null),_0x30c9f5(this,_0x3feefd(0x313),null),_0x30c9f5(this,_0x3feefd(0x389),!0x1),_0x30c9f5(this,_0x3feefd(0x252),0x0),_0x30c9f5(this,_0x3feefd(0x1ba),new Map()),_0x30c9f5(this,_0x3feefd(0x2a0),new Map()),this[_0x3feefd(0x2b3)](),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x3d6)][_0x3feefd(0x1da)](_0x51ff18[_0x3feefd(0x1b6)]['UNIVER_DOC'])['subscribe'](_0x813a98=>{const _0x588d01=_0x3feefd;if(!_0x813a98){var _0x18889c;(_0x18889c=this[_0x588d01(0x23a)])==null||_0x18889c[_0x588d01(0x20b)]();}})),this['_registerOperations'](),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x39e)][_0x3feefd(0x3ec)]['subscribe'](_0x48e397=>{const _0xe7dfef=_0x3feefd;for(let _0x336eef of _0x48e397){let _0x2c217f=_0x336eef[_0xe7dfef(0x1b5)]+':'+_0x336eef[_0xe7dfef(0x151)]+':'+_0x336eef[_0xe7dfef(0x3f7)];for(let [_0x406819,_0x977ddb]of this[_0xe7dfef(0x2a0)])_0x977ddb===_0x2c217f&&this[_0xe7dfef(0x174)](_0x406819,!0x0);}})),this['disposeWithMe']((0x0,_0x4df77c[_0x3feefd(0x1ca)])(this[_0x3feefd(0x11c)],_0x51ff18[_0x3feefd(0x1b6)][_0x3feefd(0x33c)],_0x44bd3f=>this[_0x3feefd(0x3e3)](_0x44bd3f))),this[_0x3feefd(0x2c1)](this['_shapeTextEditingService'][_0x3feefd(0x334)][_0x3feefd(0x402)](_0x29f4b0=>{_0x29f4b0&&this['_clearPopups'](void 0x0,!0x0);})),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x102)]['permissionPointUpdate$']['subscribe'](()=>{const _0x5472e4=_0x3feefd;this['_drawingManagerService'][_0x5472e4(0x34e)]()[_0x5472e4(0x330)](_0x2a4f8c=>_0x2a4f8c['drawingType']===_0x51ff18[_0x5472e4(0x1d4)][_0x5472e4(0x376)]&&this['_univerInstanceService'][_0x5472e4(0x128)](_0x2a4f8c[_0x5472e4(0x1b5)])===_0x51ff18[_0x5472e4(0x1b6)][_0x5472e4(0x33c)]&&!this[_0x5472e4(0x130)](_0x2a4f8c[_0x5472e4(0x1b5)],_0x2a4f8c[_0x5472e4(0x3f7)]))&&(this[_0x5472e4(0x174)](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x14788d(0x2b3)](){const _0x2e1ab7=_0x14788d;this[_0x2e1ab7(0x35d)][_0x2e1ab7(0x1c0)](_0x4b53ac);}['getShapePopupMenus'](_0x12eb55,_0x415a3e,_0x1e518f,_0x176639){const _0x2dd9e0=_0x14788d;return[{'label':_0x2dd9e0(0x340),'index':0x0,'commandId':_0x38c6c0['id'],'commandParams':{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f},'disable':_0x176639===_0x51ff18[_0x2dd9e0(0x1d4)][_0x2dd9e0(0x111)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x522777['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x12eb55,'drawings':[{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f}]},'disable':!0x1},{'label':_0x2dd9e0(0x1e1),'index':0x2,'commandId':_0xd2094f['id'],'commandParams':{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f},'disable':!0x1}];}[_0x14788d(0x1a4)](_0x1fc681,_0x462ca4,_0x269533){const _0x1198f2=_0x14788d;let _0x145828=this['_docsShapeService'][_0x1198f2(0x417)](_0x1fc681,_0x462ca4,_0x269533),_0x44c394=this[_0x1198f2(0xf2)]['getShapeDataById'](_0x1fc681,_0x462ca4,_0x269533);return _0x145828!==void 0x0&&_0x44c394!==void 0x0?{'shapeData':_0x44c394,'shapeId':_0x269533,'shapeType':_0x145828,'unitId':_0x1fc681,'subUnitId':_0x462ca4,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x14788d(0x174)](_0x25a9a3,_0x48f5d2=!0x1){const _0xced9a9=_0x14788d;if(_0x25a9a3==null){[...this['_disposePopupsByUnit'][_0xced9a9(0xd4)]()]['forEach'](_0x558df2=>this[_0xced9a9(0x174)](_0x558df2,_0x48f5d2));return;}let _0x1c2bd9=this[_0xced9a9(0x1ba)][_0xced9a9(0x347)](_0x25a9a3);if(_0x1c2bd9){for(let _0x4b735a=_0x1c2bd9[_0xced9a9(0x12a)]-0x1;_0x4b735a>=0x0;--_0x4b735a){let _0x4f61fc=_0x1c2bd9[_0x4b735a];(_0x48f5d2||_0x4f61fc[_0xced9a9(0x16c)]())&&(_0x4f61fc[_0xced9a9(0x20b)](),_0x1c2bd9[_0xced9a9(0x1b4)](_0x4b735a,0x1));}_0x1c2bd9[_0xced9a9(0x12a)]===0x0&&(this[_0xced9a9(0x1ba)][_0xced9a9(0x142)](_0x25a9a3),this['_popupTargetKeys'][_0xced9a9(0x142)](_0x25a9a3));}}[_0x14788d(0x2c7)](_0x47b4b6){const _0x309aa0=_0x14788d;let _0x3d7e38=this[_0x309aa0(0x1ba)][_0x309aa0(0x347)](_0x47b4b6);if(_0x3d7e38)return _0x3d7e38;let _0x1f6555=[];return this['_disposePopupsByUnit']['set'](_0x47b4b6,_0x1f6555),_0x1f6555;}['_popupMenuListener'](_0xcde2cc){const _0xda54a3=_0x14788d;var _0x2c392f;let _0x2a18dc=new _0x51ff18[(_0xda54a3(0x2c5))](),_0x37de89=(_0x2c392f=this[_0xda54a3(0x11c)][_0xda54a3(0x3df)](_0x51ff18[_0xda54a3(0x1b6)][_0xda54a3(0x33c)])[_0xda54a3(0x16d)](_0x38f398=>_0x38f398[_0xda54a3(0x413)][_0xda54a3(0x2f8)]()===_0xcde2cc))==null?void 0x0:_0x2c392f[_0xda54a3(0x1b5)];return _0x37de89&&(_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0xbb)]['subscribe'](()=>this[_0xda54a3(0x175)](_0xcde2cc,_0x37de89))),_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0x2eb)]['subscribe'](()=>{this['_clearPopups'](_0x37de89),queueMicrotask(()=>{const _0x4becd3=_0x2ff4;_0xcde2cc[_0x4becd3(0x322)]()['size']>0x0||!this[_0x4becd3(0x39e)][_0x4becd3(0x34e)]()[_0x4becd3(0x330)](_0x2cfc40=>_0x2cfc40['unitId']===_0x37de89)||(this[_0x4becd3(0x300)][_0x4becd3(0x10b)](_0x51ff18[_0x4becd3(0x17b)],!0x1),this[_0x4becd3(0x39e)][_0x4becd3(0x200)](null));});})),_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0x1aa)][_0xda54a3(0x402)](()=>{const _0x444cf8=_0xda54a3;this[_0x444cf8(0x174)](_0x37de89,!0x0);}))),_0x2a18dc;}['_handleCreateControl'](_0x33b780,_0x50534c){const _0x2ba460=_0x14788d;let _0x29c968=_0x33b780['getSelectedObjectMap']();if(this['_isOpenedShapeEditPanel']){this[_0x2ba460(0x174)](_0x50534c,!0x0);return;}if(_0x29c968[_0x2ba460(0x397)]>0x1){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x2fb0bc=_0x29c968['values']()[_0x2ba460(0x234)]()[_0x2ba460(0x1d7)];if(!_0x2fb0bc){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x3be4ce=this['_drawingManagerService'][_0x2ba460(0x13f)](_0x2fb0bc[_0x2ba460(0xf9)]);if(!_0x3be4ce||_0x3be4ce[_0x2ba460(0x22c)]!==_0x51ff18[_0x2ba460(0x1d4)]['DRAWING_SHAPE']){this['_clearPopups'](_0x50534c);return;}let {unitId:_0x353a75,subUnitId:_0x5cc49f,drawingId:_0x12e3eb,drawingType:_0x26cffb}=_0x3be4ce;if(!this[_0x2ba460(0x130)](_0x353a75,_0x12e3eb)){this['_clearPopups'](_0x50534c,!0x0);return;}let _0x4e415c=this['_getShapeInfo'](_0x353a75,_0x5cc49f,_0x12e3eb);if(!_0x4e415c){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x59671d=this['_disposePopupsByUnit'][_0x2ba460(0x347)](_0x50534c),_0x412cfa=_0x353a75+':'+_0x5cc49f+':'+_0x12e3eb;if(this[_0x2ba460(0x2a0)][_0x2ba460(0x347)](_0x50534c)===_0x412cfa&&_0x59671d&&_0x59671d[_0x2ba460(0x12a)]>0x0)return;this[_0x2ba460(0x174)](_0x50534c);let _0x4d1d2a=this['_renderManagerService']['getRenderUnitById'](_0x353a75),_0x324118=((_0x4d1d2a==null?void 0x0:_0x4d1d2a[_0x2ba460(0x228)])===!0x1?_0x4d1d2a['with'](_0x25d652[_0x2ba460(0x40c)]):this['_docCanvasPopManagerService'])[_0x2ba460(0x404)](_0x2fb0bc,this[_0x2ba460(0x278)](_0x4e415c,_0x26cffb),_0x353a75);this[_0x2ba460(0x2c1)](_0x324118),this[_0x2ba460(0x2c7)](_0x50534c)[_0x2ba460(0x3a5)](_0x324118),this[_0x2ba460(0x2a0)][_0x2ba460(0x2e4)](_0x50534c,_0x412cfa),this[_0x2ba460(0x39e)][_0x2ba460(0x34e)]()['some'](_0xd3749a=>_0xd3749a[_0x2ba460(0x1b5)]===_0x353a75&&_0xd3749a[_0x2ba460(0x151)]===_0x5cc49f&&_0xd3749a['drawingId']===_0x12e3eb)||this[_0x2ba460(0x39e)][_0x2ba460(0x200)]([{'unitId':_0x353a75,'subUnitId':_0x5cc49f,'drawingId':_0x12e3eb}]);}[_0x14788d(0x278)](_0x25a684,_0x5991f5){const _0x3df84c=_0x14788d;return{'componentKey':_0x3538af,'requiresStableLayout':!0x1,'direction':_0x3df84c(0x422),'offset':[0x0,_0x4df77c[_0x3df84c(0x204)]],'extraProps':{'unitId':_0x25a684[_0x3df84c(0x1b5)],'subUnitId':_0x25a684[_0x3df84c(0x151)],'drawingId':_0x25a684[_0x3df84c(0x344)],'drawingType':_0x5991f5,'shapeType':_0x25a684[_0x3df84c(0x18b)],'shapeData':_0x25a684[_0x3df84c(0x167)]}};}[_0x14788d(0x130)](_0x542d09,_0x4f2337){const _0x3ef7f7=_0x14788d;let _0x4bf0f3=this[_0x3ef7f7(0x3d6)][_0x3ef7f7(0x419)](_0x542d09,_0x51ff18[_0x3ef7f7(0x1b6)][_0x3ef7f7(0x33c)]);if(!_0x4bf0f3)return!0x1;let _0x11d1e0=(0x0,_0x31599d[_0x3ef7f7(0x332)])(_0x4bf0f3,_0x4f2337);return(0x0,_0x31599d[_0x3ef7f7(0x117)])(this[_0x3ef7f7(0x102)],_0x542d09,[...(0x0,_0x31599d[_0x3ef7f7(0x363)])(_0x4bf0f3,_0x11d1e0,_0x3ef7f7(0xfa),_0x4f2337),(0x0,_0x31599d[_0x3ef7f7(0xb6)])(_0x11d1e0,_0x3ef7f7(0xfa),_0x4f2337)]);}[_0x14788d(0x34d)](){const _0x82d41b=_0x14788d;this['disposeWithMe'](this['_commandService'][_0x82d41b(0x3f1)](_0xefda2f=>{const _0xdab144=_0x82d41b;if(_0xefda2f['id']===_0x38c6c0['id']){let {unitId:_0x2b74a3,subUnitId:_0x2fb1ef,drawingId:_0x1dba66}=_0xefda2f[_0xdab144(0x423)];this[_0xdab144(0x252)]+=0x1,this['_activeShapeInfo']=this[_0xdab144(0x1a4)](_0x2b74a3,_0x2fb1ef,_0x1dba66),this[_0xdab144(0x174)](void 0x0,!0x0),this['_openShapeEditPanel']();}if(_0xefda2f['id']===_0xd2094f['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0xefda2f['id']===_0xddc3b0[_0xdab144(0x127)]['id']){let {unitId:_0x905452,shapeId:_0x1257fe}=_0xefda2f[_0xdab144(0x423)];if(this[_0xdab144(0x313)]&&this[_0xdab144(0x313)][_0xdab144(0x344)]===_0x1257fe){let _0xdf0341=this['_getShapeInfo'](_0x905452,this[_0xdab144(0x313)]['subUnitId'],_0x1257fe);_0xdf0341&&(this['_shapeEditPanelVersion']+=0x1,_0xdf0341[_0xdab144(0x3d9)]=this[_0xdab144(0x252)],this['_activeShapeInfo']=_0xdf0341,this[_0xdab144(0x389)]&&this[_0xdab144(0x156)]());}}})),this[_0x82d41b(0x2c1)](this['_drawingManagerService'][_0x82d41b(0x301)]['subscribe'](_0x217053=>{const _0x4044cd=_0x82d41b;if(this[_0x4044cd(0x389)]===!0x1)return;if(_0x217053['length']===0x0){this[_0x4044cd(0x313)]=null,this['_closeShapeEditPanel']();return;}if(_0x217053[_0x4044cd(0x12a)]===0x1&&_0x217053[0x0][_0x4044cd(0x22c)]===_0x51ff18[_0x4044cd(0x1d4)][_0x4044cd(0x376)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0]['unitId'],_0x217053[0x0][_0x4044cd(0x151)],_0x217053[0x0][_0x4044cd(0x3f7)]),this[_0x4044cd(0x313)])){this[_0x4044cd(0x156)]();return;}let _0x180419=_0x217053[_0x4044cd(0x33d)](_0x57c3aa=>_0x57c3aa[_0x4044cd(0x22c)]===_0x51ff18[_0x4044cd(0x1d4)]['DRAWING_SHAPE']);if(_0x217053[_0x4044cd(0x12a)]>0x1&&_0x180419['length']===_0x217053[_0x4044cd(0x12a)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0][_0x4044cd(0x1b5)],_0x217053[0x0][_0x4044cd(0x151)],_0x217053[0x0]['drawingId']),this[_0x4044cd(0x313)]){this[_0x4044cd(0x156)]();return;}}else{if(this[_0x4044cd(0x252)]+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0][_0x4044cd(0x1b5)],_0x217053[0x0]['subUnitId'],_0x217053[0x0]['drawingId']),this[_0x4044cd(0x313)]){this[_0x4044cd(0x313)][_0x4044cd(0x39b)]=!0x0,this[_0x4044cd(0x156)]();return;}}this[_0x4044cd(0x35c)]();}));}[_0x14788d(0x156)](){const _0x26ff8e=_0x14788d;this['_activeShapeInfo']&&(this[_0x26ff8e(0x23a)]=this[_0x26ff8e(0x2ad)][_0x26ff8e(0x15c)]({'id':_0x489aae,'header':{'title':this['_localeService']['t'](_0x26ff8e(0x379))},'width':0x184,'children':{'label':_0x489aae,...this[_0x26ff8e(0x313)]},'onClose':()=>{const _0x465c0b=_0x26ff8e;this[_0x465c0b(0x39e)][_0x465c0b(0x200)](null),this[_0x465c0b(0x300)][_0x465c0b(0x10b)](_0x51ff18[_0x465c0b(0x17b)],!0x1),this[_0x465c0b(0x23a)]=null;}}),this[_0x26ff8e(0x389)]=!0x0);}[_0x14788d(0x35c)](){const _0x81274a=_0x14788d;this['_isOpenedShapeEditPanel']=!0x1,this[_0x81274a(0x2ad)][_0x81274a(0x253)](_0x489aae),this['_sidebarDisposable']=null,this[_0x81274a(0x300)][_0x81274a(0x10b)](_0x51ff18['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x81274a(0x39e)][_0x81274a(0x200)](null);}};_0x27584b=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x1f9d09['ISidebarService'])),_0x3fe79d(0x2,_0x1f9d09[_0x14788d(0xc1)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x6,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x8,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x9,_0x51ff18[_0x14788d(0x182)]),_0x3fe79d(0xa,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0xb,_0x51ff18[_0x14788d(0xcf)])],_0x27584b);let _0x368bc4=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x543b90,_0x154993){const _0xf9a7a8=_0x14788d;super(),this[_0xf9a7a8(0xf2)]=_0x543b90,this[_0xf9a7a8(0xf1)]=_0x154993,this[_0xf9a7a8(0x2c1)]((0x0,_0x51ff18[_0xf9a7a8(0x273)])((0x0,_0x164900[_0xf9a7a8(0x3ea)])((_0x4ff5c2,_0x4cd981,_0x3e83af)=>this['_measure'](_0x4ff5c2,_0x4cd981,_0x3e83af))));}['_measure'](_0x3872f8,_0x612f73,_0x4538eb){const _0x352181=_0x14788d;let _0x25b92c=this['_docsShapeService']['getShapeModel'](_0x3872f8,_0x612f73);if(!_0x25b92c)return null;let _0x2b6215=_0x25b92c[_0x352181(0x3b3)](),_0x3a52ee=(0x0,_0x59d795[_0x352181(0x30a)])(_0x2b6215),_0xdf7387=_0x2b6215[_0x352181(0x3a3)];if(!_0xdf7387||_0x3a52ee[_0x352181(0x2ab)]!==_0x59d795['ShapeTextAutoFitType'][_0x352181(0x1a0)])return null;let _0x10c142=_0x4538eb[_0x352181(0xa4)],_0x3800d6=_0x4538eb['fallbackHeight'];_0x25b92c[_0x352181(0x118)]({'width':_0x10c142,'height':_0x3800d6});let _0x442007=_0x25b92c[_0x352181(0x194)]({'left':0x0,'top':0x0,'width':_0x10c142,'height':_0x3800d6}),_0x37a490=(0x0,_0x4df77c[_0x352181(0x42a)])(_0x352181(0x394)in _0xdf7387?_0xdf7387[_0x352181(0x394)]:void 0x0),_0x5c42c6=(_0x37a490==null?void 0x0:_0x37a490[_0x352181(0x35f)])??(_0x352181(0x38c)in _0xdf7387?(0x0,_0x4df77c[_0x352181(0x141)])(_0xdf7387,_0x612f73+_0x352181(0xe2)):null);if(!_0x5c42c6)return null;let _0x4f4dae=(0x0,_0x4df77c[_0x352181(0x1ee)])({'documentData':_0x5c42c6,'height':_0x3800d6,'shapeData':_0x2b6215,'textRect':_0x442007,'width':_0x10c142,'widthBuffer':0x0});_0x4f4dae&&({width:_0x10c142,height:_0x3800d6}=_0x4f4dae,_0x25b92c[_0x352181(0x118)]({'width':_0x10c142,'height':_0x3800d6}),_0x442007=_0x25b92c[_0x352181(0x194)]({'left':0x0,'top':0x0,'width':_0x10c142,'height':_0x3800d6}));let _0x3fc79a=_0xdf7387[_0x352181(0xe5)]!==!0x1,_0x1368bd=(0x0,_0x4df77c[_0x352181(0x3cc)])(_0x5c42c6,{'isHorizontal':_0x3fc79a,'textRect':_0x442007,'verticalAlign':_0x37a490==null?void 0x0:_0x37a490['va'],'horizontalAlign':_0x37a490==null?void 0x0:_0x37a490['ha'],'wrapStrategy':(0x0,_0x4df77c[_0x352181(0x315)])(_0x2b6215)}),_0xf8e77c=new _0x51ff18[(_0x352181(0x3ab))](_0x1368bd),_0x22b002=new _0x164900[(_0x352181(0x2f7))](_0xf8e77c),_0x11dce2=_0x164900['DocumentSkeleton']['create'](_0x22b002,this[_0x352181(0xf1)]);try{var _0x1361f1,_0x4faecc;_0x11dce2['calculate']();let _0x1f4064=((_0x1361f1=_0x11dce2[_0x352181(0x17e)]())==null?void 0x0:_0x1361f1[_0x352181(0x239)])??[],_0x57cc33=_0x1f4064[_0x1f4064[_0x352181(0x12a)]-0x1],_0x17d6d8=_0x57cc33?Math[_0x352181(0x20e)](0x0,((_0x4faecc=(0x0,_0x164900[_0x352181(0x318)])(_0x57cc33))==null?void 0x0:_0x4faecc[_0x352181(0x421)])??0x0):0x0,_0xe00886=_0x11dce2[_0x352181(0x197)]()[_0x352181(0x3d2)]+_0x17d6d8-(_0x3fc79a?_0x442007[_0x352181(0x346)]:_0x442007[_0x352181(0x11a)]);return Number[_0x352181(0x1ae)](_0xe00886)?_0x3fc79a?{'width':_0x10c142,'height':Math[_0x352181(0x20e)](0x1,_0x3800d6+_0xe00886)}:{'width':Math[_0x352181(0x20e)](0x1,_0x10c142+_0xe00886),'height':_0x3800d6}:null;}finally{_0x11dce2['dispose'](),_0x22b002[_0x352181(0x20b)](),_0xf8e77c['dispose']();}}};_0x368bc4=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x51ff18[_0x14788d(0x18a)]))],_0x368bc4);let _0x256039=class extends _0x51ff18[_0x14788d(0x3fa)]{constructor(_0x4b0b30=_0x13f191,_0x49c68e,_0x400597,_0x525f85,_0x2d9bfa){const _0x55bcda=_0x14788d;super(),this['_config']=_0x4b0b30,this[_0x55bcda(0xb4)]=_0x49c68e,this[_0x55bcda(0x22f)]=_0x400597,this['_configService']=_0x525f85,this[_0x55bcda(0x11c)]=_0x2d9bfa;let {menu:_0x2d116e,..._0x57de8b}=(0x0,_0x51ff18[_0x55bcda(0x134)])({},_0x13f191,this[_0x55bcda(0x284)]);_0x2d116e&&this[_0x55bcda(0x26b)][_0x55bcda(0x323)]('menu',_0x2d116e,{'merge':!0x0}),this[_0x55bcda(0x26b)][_0x55bcda(0x323)](_0x302969,_0x57de8b),this[_0x55bcda(0x368)]();}[_0x14788d(0x19c)](){const _0x3b17de=_0x14788d;(0x0,_0x51ff18[_0x3b17de(0x374)])(this['_injector'],this[_0x3b17de(0x2d9)]()),this[_0x3b17de(0xb4)]['get'](_0x3e82c2),this['_initUIPart']();}[_0x14788d(0x2d9)](){return[[_0x3e82c2],[_0x27584b],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x40c79a],[_0x14ecae],[_0xf7061],[_0x368bc4],[_0x1e6cd8],[_0x13f5b6]];}[_0x14788d(0x169)](){const _0x17a0d1=_0x14788d;this[_0x17a0d1(0xe1)]()[_0x17a0d1(0x23f)](_0x44675a=>{const _0x27e191=_0x17a0d1;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x51ff18[_0x27e191(0x1b6)][_0x27e191(0x33c)],_0x44675a));}),(0x0,_0x51ff18['touchDependencies'])(this['_injector'],[[_0x27584b],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x14ecae],[_0xf7061],[_0x368bc4],[_0x1e6cd8],[_0x13f5b6]]);}['_getRenderModules'](){return[[_0x40c79a],[_0x181822],[_0x1cb18d],[_0xbd3fc3]];}['onRendered'](){const _0x2a17a6=_0x14788d;this[_0x2a17a6(0x2c1)](this[_0x2a17a6(0x11c)]['registerRenderModule'](_0x51ff18[_0x2a17a6(0x1b6)][_0x2a17a6(0x33c)],[_0x575728]));}[_0x14788d(0x368)](){const _0x2fc5d1=_0x14788d;[_0x26e47b,_0xd2094f,_0x38c6c0,_0x132c8f,_0x4949f5,_0x55fbd0][_0x2fc5d1(0x23f)](_0x5d56f0=>this[_0x2fc5d1(0x2c1)](this[_0x2fc5d1(0x22f)][_0x2fc5d1(0x165)](_0x5d56f0)));}[_0x14788d(0x27a)](){const _0x139fbf=_0x14788d;let _0x4734cb=this[_0x139fbf(0xb4)],_0x5c54d4=_0x4734cb[_0x139fbf(0x347)](_0x1f9d09[_0x139fbf(0x377)]);this[_0x139fbf(0x2c1)](_0x5c54d4[_0x139fbf(0x2c2)](_0x1f9d09[_0x139fbf(0x427)]['CONTENT'],()=>(0x0,_0x1f9d09[_0x139fbf(0x2aa)])(_0x640c7d,_0x4734cb)));}};_0x30c9f5(_0x256039,_0x14788d(0x31f),_0x51ff18['UniverInstanceType'][_0x14788d(0x33c)]),_0x30c9f5(_0x256039,'pluginName',_0x14788d(0x203)),_0x30c9f5(_0x256039,_0x14788d(0xda),_0xdb48a4),_0x30c9f5(_0x256039,_0x14788d(0x3d9),_0x1ddf68),_0x256039=_0x1e5419([(0x0,_0x51ff18['DependentOn'])(_0x330c89[_0x14788d(0x36b)],_0x31599d[_0x14788d(0x1f8)],_0x893ff7['UniverDrawingPlugin'],_0x358a20[_0x14788d(0x1c6)],_0x164900[_0x14788d(0x2e9)],_0x25d652[_0x14788d(0x2c4)],_0x4e08a0['UniverShapeEditorPlugin'],_0x2fdebd[_0x14788d(0x14d)],_0xddc3b0[_0x14788d(0x12f)],_0x4df77c[_0x14788d(0x17f)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x41d)])),_0x3fe79d(0x2,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x16b)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)])],_0x256039),_0xb0f434[_0x14788d(0x40b)]=_0x4b53ac,Object[_0x14788d(0x2f3)](_0xb0f434,_0x14788d(0x391),{'enumerable':!0x0,'get':function(){return _0x3b80ca;}}),Object[_0x14788d(0x2f3)](_0xb0f434,_0x14788d(0x42d),{'enumerable':!0x0,'get':function(){return _0x256039;}});}));function _0x2ff4(_0x31b29a,_0x212846){_0x31b29a=_0x31b29a-0x9c;const _0x1fb02c=_0x1fb0();let _0x2ff4ac=_0x1fb02c[_0x31b29a];return _0x2ff4ac;}function _0x1fb0(){const _0x2f455b=['DocParagraphMenuService','interceptor','text-wrap-shape-icon','function','TextWrapShapeIcon','name','shape-editor-ui.arrange.back','M5\x209.5L8\x206.5L11\x209.5','_getActiveDrawingParam','Circle','sin','_popupTargetKeys','149820tsBXwz','defer','useFormulaShapeToolbar','tag','doc.command.menu-insert-shape','OTHERS','getBoundingClientRect','update$','resolveHyperLinkAt','connectInjector','autoFitType','endArrow','_sidebarService','useReducer','M5\x206.5L8\x209.5L11\x206.5','_activeShapeModel','useImperativeHandle','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_initMenu','docs-shape-ui.textWrap.inline','rect','_refreshShapeData','_editingParams$','@univerjs/core','canvas','setCollapsedIds','docs-shape-ui.textWrap.square','refreshFormulaPresentation','ShapeFloatingToolbar','values','ToggleShapeFloatingToolbarOperation','.below','disposeWithMe','registerComponent','forwardRef','UniverDocsUIPlugin','DisposableCollection','_getActiveDrawingShape','_getDisposePopups','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','RichTextEditingMutation','presentationChanged$','doc.image-clip.shape-picker.component','jsx','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','adjName','_context','docs-shape-ui.textWrap.behindText','_urlImageService','_endLayoutInteraction','data','docs-shape-ui.shape-format.quick-style-gallery','bottom-icon','_updateSrcRectByTransform','cells','_getDependencies','InsertDocShapeCommand','0.14','sectionCanvas','visible','querySelectorAll','MobileShapeEditorService','transformForAngle','_clearShapeAdjustControls','createShapeTextBoxShapeData','_docLayoutInteractionService','set','ShapeArrowSizeEnum','_shapeFloatingToolbarService','WRAP_TOP_AND_BOTTOM','HorizontalAlign','UniverRenderEnginePlugin','PositionedObjectLayoutType','clearControl$','doc.operation.open-doc-shape-format-panel','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','unsubscribe','UNIVER_SHEET','_drawSimpleText','_ribbonService','IRibbonService','defineProperty','IDrawingManagerService','getDrawingEffectBounds','setPrstGeom','DocumentViewModel','getTransformerByCreate','subtle','skeTables','_attachAdjustEvent','front','INLINE','getValue','refreshShapeFillImage','_contextService','focus$','ancestorTransform','docs-shape-ui.textWrap.topAndBottom','registerShapeFormatPainter','_setTransForm','TextWrappingStyle','getRenderUnitById','offsetX','TOP','resolveShapeTextBodyBehavior','drawing-ui.objectListPanel.expand','_unitId','skeDrawings','shapeModel','_loadAndSetImage','_updateAdjustControlPositions','symbol','clearAdjustControls','_activeShapeInfo','http://www.w3.org/2000/svg','resolveShapeTextEditorWrapStrategy','setFillImage','getEditing','getLastLine','5.5','updateShapeFillImage','DocPrintInterceptorService','_componentManager','MenuManagerPosition','ObjectListPanelBase','type','clone','CommandType','getSelectedObjectMap','setConfig','_drawRichTextLayer','getShapeDataById','Copy','OPERATION','constructor','min','pipe','startOffset','span','_createShapeAdjustControls','horizontal','originalStrokeWidth','some','#2563EB','getDocumentDrawingSegmentId','ShapeTypeEnum','editingParams$','drawing-ui.objectListPanel.title','enhanceParams','startArrow','add','M2\x203h16M2\x2017h16','PRINTING_COMPONENT_COLLECT','scale','UNIVER_DOC','filter','ShapeModel','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.openPanel','UniverEngineRender','clipTop','getMatrix','shapeId','applyQuickStyleToShapeData','height','get','changeEnd$','permissionPointUpdate$','getMenuHiddenObservable','pluginName','Vector2','_registerOperations','getFocusDrawings','clipHeight','viewBound','assign','UniverDocsMobileUIPlugin','removeAttribute','shouldClipShapeTextDocument','_iconManager','icon','_subUnitId','srcRect','shape-editor-ui.arrange.forward','getAdjustValueByName','_initSelection','_closeShapeEditPanel','_menuManagerService','_adjustPointObjects','doc','exports','ShapeEditPanel','transform','getDocumentEntityParentPermissionObjectIds','IURLImageService','add$','create','hideContextualTab','_initCommands','DocLayoutInteractionService','shape-editor-ui.arrange.backward','UniverLicensePlugin','@univerjs/docs-ui','behindText','GROUP','14KwcNKq','paragraphs','getVisible','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','options','registerDependencies','PictureFill','DRAWING_SHAPE','IUIPartsService','DocSelectionManagerService','docs-shape-ui.formatShape','formulaBinding','_releaseRenderCache','activateDrawingObject','_updateShape','_activeShapeAdjustPointList','getDrawingSearch','register','_applyFormulaAutoFitSize','_registerImageShapeClipDelegate','canvasElement','touchDependencies','useMemo','_loadShapePictureFill','Transform','jsxs','_isOpenedShapeEditPanel','vectorEffect','docs-shape-ui.mobile.style','isRichText','@univerjs-pro/docs-shape','paragraphMenuPlacement','getUnitId','hidden','UniverDocsShapeMobileUIPlugin','getPageDrawingIds','resolveShapeTextHyperLinkAt','dataModel','buildShapeTextDataUpdate','move-up-icon','size','_mobileEditorService','_getFocusedShapeAtPoint','docs-shape-ui.ribbon.shape-format.arrange-forward','disableShapeOption','skeFooters','evenodd','_drawingManagerService','getAdjustInfoByName','objects','docs-shape-text-','UniverDrawing','shapeText','offsetY','push','getRealBound','resolveActiveShapeQuickStylePresetId','object','INSERT_BELLOW_MENU_ID','syncExecuteCommand','DocumentDataModel','onPointerUp$','WRAP_SQUARE','behindDoc','None','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','RemoveDocDrawingCommand','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','getShapeData','Arrow','univer-box-border\x20univer-px-4\x20univer-text-sm','BEHIND_TEXT','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','ISidebarService','currentColor','onload','none','IUniverInstanceService','localName','drawing-ui.objectListPanel.unlock','Documents','CROSSHAIR','MoreUpIcon','colorChannel1','DocSelectionRenderService','MobileShapePickerPanel','UUID','description','attrs','animationEnabled','clear','DrawingCommonPanel','docs-shape-ui.shape-format.wrapping-style-label','prepareShapeTextDocumentData','SELECTOR','docs-shape-ui.ribbon.shape-format.arrange-backward','1.5.1','_draw','clipByShape','actualHeight','drawing-ui.objectListPanel.collapse','getDrawingShapeKeyByDrawingSearch','_formulaKey','_univerInstanceService','getAutoFitPresentations','setShapeData','version','pageWidth','VIEWPORT_KEY','clip-','LEFT','call','getAllRenderersOfType','subscribeEvent','fillType','drawings','_popupMenuListener','children','docs-shape-ui.mobile.text','doc.shape.picker.component','setShapeProps','getShapeQuickStyleType','_completionFrame','setDocsCustomBlockRenderViewportProvider','docs-shape-ui.deleteShape','remove$','transformVector2SceneCoord','MoveDownIcon','setCanUseShapeClip','UniverDocsDrawingMobileUIPlugin','onCommandExecuted','toFixed','resize','updateDocumentStyle','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke','drawingId','popup','IconManager','Plugin','drawing-ui.objectListPanel.name','drawing-ui.objectListPanel.empty','IDocDrawingService','segmentId','error','_adjName','_isShouldShowDrawingShapeAdjust','subscribe','SetDocDrawingArrangeCommand','attachPopupToObject','extraProps','inline','createShapeFormulaDocument','_initPrinting','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','Medium','DocsShapeUIMenuSchema','DocCanvasPopManagerService','shouldAllowShapeTextEditorHostSizeShrink','baseVal','MobileMenu','356766aaiEYm','_drawShapeText','_initEditingParams','scene','moveRange','string','backward','getShapeTypeById','shapeKey','getUnit','formulaPresentation','getPropertyValue','docs-shape-ui.ribbon.shape-format.formula-control','Injector','custom','makeDirty','shape-format-setting-icon','spaceBelowApply','vertical-center','params','_insertShapes','drawing-ui.objectListPanel.typeNames.','ArrangeTypeEnum','BuiltInUIPart','docs-shape-ui.mobile.delete','DrawingImageClipService','normalizeShapeTextModel','_renderWithCache','_docCanvasPopManagerService','UniverDocsShapeUIPlugin','flipY','_adjHandlerPointerUp','_transform','doc.operation.open-shape-object-list-panel','includes','onPointerDown$','ShapeGroupEnum','has','fallbackWidth','getObjectIncludeInGroup','rows','@univerjs-pro/license','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','0\x200\x2020\x2020','beginPath','isLineShape','_update','resolveShapeTextDocumentRenderLayout','_registerDrawingTransformHandler','translateWithPrecision','renderDrawingShape','order','panel','_baseShapeTop','_injector','_drawRichText','getDocumentEntityPermissionObjectId','SetDrawingSelectedOperation','DocDrawingTextWrap','getActiveTextRange','Module','createControl$','getParagraphContentStartOffset','docs-shape-ui.crop.shape','getViewports','SHAPE_TEXT','contentVerticalOffset','IMenuManagerService','headerId','DocsShapeWrapInlineIcon','_registerComponents','showContextualTab','priority','currentAdjustValues','univerjs-icon\x20univerjs-icon-','setSrcRect','marginTop','docs-shape-ui.ribbon.shape-format','_getSceneByUnitId','2054260vSxkIH','composeMatrix','IPermissionService','UniverDrawingUi','intercept','CURSOR_TYPE','sheet.image-clip.shape-picker.component','keys','parent','bottom','preValue','adjHandleSize','@univerjs-pro/shape-editor','packageName','isConnectorShape','OFFSET','MoveUpIcon','getPresentation','drawing-ui.objectListPanel.search','docs-shape-ui.objectListPanel.open','_getRenderModules','-layout','BottomIcon','updateDocumentDataMargin','isHorizontal','useDependency','_toScenePoint','save','_docDrawingShapeRenderController','stroke-width','@univerjs/docs','useObservable','Path','@univerjs/engine-render','asObservable','map','_localeService','_docsShapeService','React','clearActiveDrawingObjects','svg','viewBox','drawing-ui.objectListPanel.sectionFloating','doc.shape.object-list.panel','oKey','drawing','current','UniverDocsUi','drawing-ui.objectListPanel.description','IImageIoService','_baseShapeWidth','below','getActiveViewportByCoord','_permissionService','square','true','onDblclick$','OBJECT_LIST_FLOATING_SECTION_ID','presetId','_init','UniverDocsDrawing','draw','setContextValue','changeStart$','doc-shape-adjust-point-','_updateShapeAdjustControls','onerror','wrapStrategy','DRAWING_DOM','multiply','cloneShapeDataForType','setFormulaPresentation','isRenderLinePointsMode','UniverProShapeEditorUi','canEditDocumentTargets','updateContext','drawFormulaShapeAnimationLayers','width','getShapeModel','_renderManagerService','setOnSavingEditorData','setEditing','flatMap','shape-text-','UpdateDrawingDocTransformCommand','getDrawingByParam','componentKey','Rect','useState','ShapeTextHyperLinkHoverController','UpdateDocShapeDataMutation','getUnitType','UniverShapeEditorMobileUIPlugin','length','drawing-ui.objectListPanel.nameInput','UniverProShapeEditor','_baseShapeLeft','M4.2\x208.3H6.8','UniverDocsShapePlugin','_canEditShape','DocsShapeService','UniverProDocsShape','_lastEditingShapeKey','merge','TopmostIcon','PARAGRAPH','_registerIcons','getInverseCoord','_hyperLinkRegions','ContextMenuPosition','parseFloat','Shape','135zpBmas','entries','getDrawingOKey','165716DrXQlX','plainShapeTextToDocumentData','delete','Inject','drawing-ui.objectListPanel.details','drawing-ui.objectListPanel.filterLocked','SolidLine','ShapeQuickStyleGallery','BehaviorSubject','17287897Knxmpb','enableObjectsEvent','docs-shape-ui.ribbon.shape-format.wrapping-style','_adjHandlerPointerMove','UniverDocsDrawingUIPlugin','getDrawingVisible','UniverUi','trim','subUnitId','FormatPainterSessionService','_getShapeAdjustInfosById','1em','drawing-ui.objectListPanel.filterHidden','_openShapeEditPanel','DRAWING_IMAGE','ShapeFormulaRibbonControl','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','path','sidebarOptions$','open','buildClipPath','cos','1.2','UnitObject','completeEditing','_registerDrawingFocusChangeHandler','angle','_props','registerCommand','getState','shapeData','@univerjs/protocol','onReady','move-down-icon','IConfigService','canDispose','find','_formulaShapes','FromArray','DocsShapeWrapInFrontOfTextIcon','isolated','_activeShapeId','mask','_clearPopups','_handleCreateControl','_initEvents','headerLayoutKey','MobileShapeEditorControls','_onSavingEditorData$','addObject','FOCUSING_COMMON_DRAWINGS','useLayoutEffect','ContextMenuGroup','getSkeletonData','UniverShapeEditorUIPlugin','menu','doc.shape.text.float-menu','IContextService','endOffset','drawing-ui.objectListPanel.showAll','resolveShapeContextualRibbonHostMode','flipX','useEffect','PaintIcon','VerticalAlign','LocaleService','shapeType','_docPrintInterceptorService','getShapeType','getImageSourceCache','complete','object-layers-icon','refreshTransform$','getDrawingData','ShapePickerPanel','getShapeTextRect','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','0\x200\x2016\x2016','getActualSize','COMMAND','prstGeom','ShapePickerDropdown','DEFAULT_DOC_SHAPE_HEIGHT','onStarting','@univerjs/design','UniverShapeEditorPlugin','ShapeStyleRibbonControl','SpAutoFit','getObjectListPanelSectionIdForDrawingType','div','onSavingEditorData$','_getShapeInfo','docs-shape-contextual-ribbon','replace','debounceRefreshControls','docs-shape-ui.ribbon.shape-format.text-control','top-center','changing$','drawing-ui.objectListPanel.lockHint','EMPTY_PARAGRAPH_MENU_ID','ImageSourceTypeEnum','isFinite','@univerjs/docs-drawing-ui','_clearCompletionFrame','_shapeRenderController','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','resolveShapeTextHyperLinkObject','splice','unitId','UniverInstanceType','idSuffix','ShapeFillEnum','#3B82F6','_disposePopupsByUnit','ObjectLayersIcon','_visible','target','_clipService','doc.operation.close-doc-shape-format-panel','mergeMenu','pick','getDrawingTypeNameKey','left','stopPropagation','shape-editor-ui.toolbar.quickStyles','UniverDrawingUIPlugin','isDrawingObject','style','presentation','bindRenderTransformerLifecycle','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','isEditing','ShapeFloatingToolbarService','Disposable','_instanceService','appliedStrokeWidth','fontSize','ShapeTextHyperLinkInfo','UpdateDocShapeDataCommand','DrawingTypeEnum','ShapeFormulaService','UniverDocsDrawingUi','value','ShapeTextRibbonControl','render','getCurrentTypeOfUnit$','fontFamily','BUTTON','fillImageSource','_shapeTextEditingService','topmost-icon','121293ApNhRq','docs-shape-ui.hidePanel','extensionGroups','startWith','displayName','actions','_activeAdjustInfo','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','DocsShapeWrapSquareIcon','layoutType','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','UniverProLicense','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','_baseShapeHeight','resolveFormulaShapeAutoFitSize','insertGroupObject','Line','contentHeight','defIds','MobileActionRow','top-bottom','@univerjs/drawing','fill','onTransformChange$','UniverDocsPlugin','forward','M4.2\x205.5H10.5','0\x200\x2017\x2016','_canEdit','IRenderManagerService','localeService','_shapeId','focusDrawing','with','@univerjs/ui','DOCS_SHAPE_UI_PLUGIN','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getShapePopupMenus','applyPoint','_layoutInteraction','registerClipDelegate','_transformCalculateSrcRect','selectable','dispose','1TQPHvG','invert','max','hadStyleAttribute','0.8','drawing-ui.objectListPanel.noSelection','activeTarget','title','sectionFloating','calcAdjValues','startIndex','drawing-ui.objectListPanel.hide','paragraphId','MobileObjectListPanel','text','disableObjectsEvent','decorate','color','UpdateDocDrawingWrappingStyleCommand','docs-shape-ui.textWrap.inFrontText','ICommandService','TRUE','LAYOUT','getPropertyPriority','ShapeRenderModeEnum','clip','1191819IbXTpx','DocsShapeTextEditorContainer','isMainScene','transformByState','_formulaAnimation','docs-shape-ui.quickStyles','drawingType','hasAttribute','element','_commandService','MobileDocDrawingTextWrap','url(#$1','RibbonInsertGroup','setProperty','next','distinctUntilChanged','MenuItemType','classType','executeCommand','pages','_sidebarDisposable','isReleased','setFallbackVisible','rxjs','docs-shape-ui.objectListPanel.title','forEach','drawing-ui.objectListPanel.unlockAll','_getShapeAdjustPointListById','docs-shape-ui.ribbon.shape-format.arrange-back','RENDER_CLASS_TYPE','attachTransformerTo','drawing-ui.objectListPanel.unlockHint','ShapeArrowTypeEnum','_imageIoService','ShapeDefaultConfig','xlink:href','_shapeFormulaService','ShapeIcon','removeProperty','VIEW_MAIN','hasDefault','top','getParent','menuRange','_shapeEditPanelVersion','close','useId','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','strokeWidth','createElement','generateRandomId','amd','paragraph','MobileDocDrawingPosition','UnitAction','UniverProtocol','DocInterceptorService','_hide','@univerjs-pro/docs-shape-ui','refreshAdjustControls','getDrawingOrder','UpdateDocDrawingMetadataCommand','UniverDesign','restore','Observable','calculate','Fragment','docs-shape-ui.shape-format.style-ribbon-control','drawing-ui.objectListPanel.filterAll','_configService','round','DOC_PARAGRAPH_T_INSERT_MENU_ID','footerLayoutKey','shape-editor-ui.toolbar.changeShape','_isStartAdjusting','ObjectPermissionButton','doc.shape.edit.panel','toDisposable','getImage','DocEventManagerService','DocumentEntity','BooleanNumber','_getShapePopup','setPresentation','_initUIPart','136EtAOxT','default','getSnapshot','back','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','_toVisualAdjustPoint','behind','ShapeFormatSettingIcon','getShapeQuickStylePreset','_config','getSelfOrHeaderFooterModel','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','resolveShapeTextEditorBehaviorShapeData','SHAPE_EDITOR_TRANSFORMER_CONFIG','drawing-ui.objectListPanel.lockAll','IN_FRONT_OF_TEXT','_initialize','getDrawingPoints','getCanvasElement','docs-shape-ui.config','from','getShapeTextData','isInGroup','ComponentManager','ShapeTextEditorContainer','getOwnPropertyDescriptor'];_0x1fb0=function(){return _0x2f455b;};return _0x1fb0();}
|