@univerjs-pro/docs-shape-ui 0.24.0-insiders.20260530-57a0a3e → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +14 -14
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4f29eb=_0x15ba;(function(_0x673d7a,_0x3556a2){const _0x1dc99d=_0x15ba,_0x36ca0f=_0x673d7a();while(!![]){try{const _0x53670f=-parseInt(_0x1dc99d(0x526))/0x1+-parseInt(_0x1dc99d(0x23a))/0x2*(-parseInt(_0x1dc99d(0x41e))/0x3)+-parseInt(_0x1dc99d(0x1d3))/0x4*(-parseInt(_0x1dc99d(0x2f9))/0x5)+parseInt(_0x1dc99d(0x63a))/0x6*(-parseInt(_0x1dc99d(0x249))/0x7)+parseInt(_0x1dc99d(0x575))/0x8+parseInt(_0x1dc99d(0x1d4))/0x9*(parseInt(_0x1dc99d(0x61f))/0xa)+-parseInt(_0x1dc99d(0x619))/0xb*(-parseInt(_0x1dc99d(0x248))/0xc);if(_0x53670f===_0x3556a2)break;else _0x36ca0f['push'](_0x36ca0f['shift']());}catch(_0x219ed6){_0x36ca0f['push'](_0x36ca0f['shift']());}}}(_0xc32b,0x89867),Object[_0x4f29eb(0x6ba)](exports,Symbol['toStringTag'],{'value':_0x4f29eb(0x352)}));var e=Object[_0x4f29eb(0x541)],t=Object[_0x4f29eb(0x6ba)],n=Object[_0x4f29eb(0x2b1)],r=Object['getOwnPropertyNames'],i=Object['getPrototypeOf'],a=Object['prototype'][_0x4f29eb(0x1b7)],o=(_0x29bdef,_0x77cbde,_0x5b8a38,_0x204384)=>{const _0x2f1448=_0x4f29eb;if(_0x77cbde&&typeof _0x77cbde==_0x2f1448(0x4cf)||typeof _0x77cbde==_0x2f1448(0x52c)){for(var _0x57052c=r(_0x77cbde),_0x467da5=0x0,_0x1383d3=_0x57052c[_0x2f1448(0x47b)],_0x482347;_0x467da5<_0x1383d3;_0x467da5++)_0x482347=_0x57052c[_0x467da5],!a[_0x2f1448(0x256)](_0x29bdef,_0x482347)&&_0x482347!==_0x5b8a38&&t(_0x29bdef,_0x482347,{'get':(_0x50362f=>_0x77cbde[_0x50362f])[_0x2f1448(0x1ed)](null,_0x482347),'enumerable':!(_0x204384=n(_0x77cbde,_0x482347))||_0x204384[_0x2f1448(0x605)]});}return _0x29bdef;},s=(_0x15d995,_0x290e4e,_0x496db2)=>(_0x496db2=_0x15d995==null?{}:e(i(_0x15d995)),o(_0x290e4e||!_0x15d995||!_0x15d995['__esModule']?t(_0x496db2,'default',{'value':_0x15d995,'enumerable':!0x0}):_0x496db2,_0x15d995));let c=require('@univerjs-pro/engine-shape'),l=require('@univerjs-pro/docs-shape'),u=require('@univerjs/core'),d=require('@univerjs/docs-drawing-ui'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-render'),m=require('@univerjs/drawing'),h=require('@univerjs/icons'),g=require('@univerjs/ui'),_=require('rxjs'),v=require('@univerjs/design'),y=require('react');y=s(y);let b=require('@univerjs/drawing-ui'),x=require('react/jsx-runtime'),S=require('@univerjs-pro/license'),C=require('@univerjs/docs');const w='#3B82F6',T=_0x4f29eb(0x5ce);function E(_0x56f7ac,_0x2cb580){const _0x2d8d95=_0x4f29eb;if(_0x2cb580){if((0x0,c[_0x2d8d95(0x5da)])(_0x56f7ac)&&(_0x2cb580[_0x2d8d95(0x628)]||_0x2cb580['endArrow']))return{'ln':{'startArrow':_0x2cb580[_0x2d8d95(0x628)]?{'type':c[_0x2d8d95(0x3f1)]['Arrow'],'size':c[_0x2d8d95(0x615)]['Medium']}:void 0x0,'endArrow':_0x2cb580['endArrow']?{'type':c[_0x2d8d95(0x3f1)][_0x2d8d95(0x1fe)],'size':c[_0x2d8d95(0x615)]['Large']}:void 0x0}};if(_0x56f7ac===c['ShapeTypeEnum']['Rect']&&(_0x2cb580[_0x2d8d95(0x4a1)]||_0x2cb580[_0x2d8d95(0x317)]))return{'fill':{'fillType':c[_0x2d8d95(0x64b)][_0x2d8d95(0x67d)],'color':w},'stroke':{'lineStrokeType':c[_0x2d8d95(0x275)][_0x2d8d95(0x603)],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x2cb580[_0x2d8d95(0x4a1)]}};}}function D(_0x2d07f3,_0x55d8f1){const _0x54815b=_0x4f29eb;var _0x27da99;let _0x47f9eb=_0x2d07f3[_0x54815b(0x48c)](p[_0x54815b(0x271)])[_0x54815b(0x2f6)](_0x55d8f1),_0x45e02c=_0x47f9eb==null||(_0x27da99=_0x47f9eb[_0x54815b(0x207)](f[_0x54815b(0x593)])['getActiveTextRange']())==null?void 0x0:_0x27da99['getAbsolutePosition']();return _0x45e02c?{'left':_0x45e02c[_0x54815b(0x46d)],'top':_0x45e02c[_0x54815b(0x1f3)]}:null;}function O(_0x4bf132,_0x618de2,_0x5c81ea){const _0x21e3e8=_0x4f29eb;var _0x3b95b8,_0x1eefb2,_0x30b129;if(!_0x5c81ea)return null;let _0x557ac5=_0x4bf132['get'](p['IRenderManagerService'])['getRenderById'](_0x618de2),_0x305da1=_0x557ac5==null?void 0x0:_0x557ac5['with'](f['DocParagraphMenuService'])[_0x21e3e8(0x1d2)];if(!_0x305da1)return null;let _0x531bdf=_0x5c81ea===_0x21e3e8(0x42a)?{'startOffset':_0x305da1[_0x21e3e8(0x6a1)][_0x21e3e8(0x288)],'endOffset':_0x305da1[_0x21e3e8(0x6a1)]['endOffset']}:_0x305da1[_0x21e3e8(0x283)];return{'range':{'unitId':_0x618de2,'startOffset':_0x531bdf[_0x21e3e8(0x678)],'endOffset':_0x531bdf['endOffset'],'segmentId':(_0x3b95b8=(_0x1eefb2=_0x305da1[_0x21e3e8(0x37c)])==null?void 0x0:_0x1eefb2['segmentId'])==null?'':_0x3b95b8},'position':(_0x30b129=_0x305da1['paragraph'])!=null&&_0x30b129[_0x21e3e8(0x39e)]?{'left':_0x305da1['paragraph'][_0x21e3e8(0x39e)][_0x21e3e8(0x46d)],'top':_0x5c81ea==='below'?_0x305da1['paragraph'][_0x21e3e8(0x39e)][_0x21e3e8(0x5ee)]:_0x305da1[_0x21e3e8(0x37c)][_0x21e3e8(0x39e)][_0x21e3e8(0x1f3)]}:null};}function k(_0x43669f,_0x5a9e98,_0x133aa9){const _0x13097c=_0x4f29eb;var _0x504d9f;return{'size':{'width':_0x43669f,'height':_0x5a9e98},'positionH':{'relativeFrom':u[_0x13097c(0x4c8)]['PAGE'],'posOffset':(_0x504d9f=_0x133aa9==null?void 0x0:_0x133aa9[_0x13097c(0x46d)])==null?0x0:_0x504d9f},'positionV':{'relativeFrom':u[_0x13097c(0x5df)][_0x13097c(0x2ac)],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x4f29eb(0x401)][_0x4f29eb(0x627)],'id':_0x4f29eb(0x55c),'handler':async(_0x292a09,_0x4c965a)=>{const _0x8a461c=_0x4f29eb;var _0x55e9a6,_0x27e416,_0x493fc0,_0x18b744,_0x4e9e1f,_0x4b6cdb;let _0x5ba7c3=_0x292a09[_0x8a461c(0x48c)](u[_0x8a461c(0x482)])[_0x8a461c(0x1ec)]();if(!_0x5ba7c3)return!0x1;let _0x3f62db=_0x292a09[_0x8a461c(0x48c)](u['ICommandService']),_0x20955b=_0x5ba7c3[_0x8a461c(0x333)](),_0xf2d406=_0x20955b,_0x433cc6=(_0x55e9a6=_0x4c965a[_0x8a461c(0x5b2)])==null?(0x0,u[_0x8a461c(0x415)])():_0x55e9a6,_0x30a5cc=(_0x27e416=_0x4c965a['width'])==null?l['DEFAULT_DOC_SHAPE_WIDTH']:_0x27e416,_0x3445b5=(_0x493fc0=_0x4c965a[_0x8a461c(0x689)])==null?l[_0x8a461c(0x4f3)]:_0x493fc0,_0x53fe68=(_0x18b744=(_0x4e9e1f=_0x4c965a[_0x8a461c(0x2e3)])==null?E(_0x4c965a[_0x8a461c(0x671)],_0x4c965a[_0x8a461c(0x6c3)]):_0x4e9e1f)==null?{'fill':{'fillType':c[_0x8a461c(0x64b)][_0x8a461c(0x67d)],'color':w},'stroke':{'lineStrokeType':c[_0x8a461c(0x275)][_0x8a461c(0x603)],'width':0x1,'color':T}}:_0x18b744,_0x4e7a21=O(_0x292a09,_0x20955b,_0x4c965a[_0x8a461c(0x4e6)]),_0x5c5f04=(_0x4b6cdb=_0x4e7a21==null?void 0x0:_0x4e7a21['position'])==null?D(_0x292a09,_0x20955b):_0x4b6cdb,_0x422c19=k(_0x30a5cc,_0x3445b5,_0x5c5f04),_0x59e311=(0x0,f[_0x8a461c(0x4c5)])(_0x422c19);_0x59e311&&_0x5c5f04&&(_0x59e311['top']=_0x5c5f04['top']),_0x3f62db['syncExecuteCommand'](l['InsertDocShapeMutation']['id'],{'unitId':_0x20955b,'shapeId':_0x433cc6,'shapeType':_0x4c965a[_0x8a461c(0x671)],'shapeData':_0x53fe68}),_0x4e7a21&&_0x292a09[_0x8a461c(0x48c)](f[_0x8a461c(0x599)])[_0x8a461c(0x354)](_0x4e7a21[_0x8a461c(0x5db)]);let _0x103bb2={'unitId':_0x20955b,'subUnitId':_0xf2d406,'drawingId':_0x433cc6,'drawingType':u[_0x8a461c(0x32d)][_0x8a461c(0x5d5)],'transform':_0x59e311,'docTransform':_0x422c19,'data':{'shapeType':_0x4c965a[_0x8a461c(0x671)],'shapeData':_0x53fe68},'behindDoc':u[_0x8a461c(0x550)]['FALSE'],'title':'','description':'','layoutType':u[_0x8a461c(0x3c6)]['INLINE'],'wrapText':u[_0x8a461c(0x43f)][_0x8a461c(0x3ea)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x3f62db['syncExecuteCommand'](d[_0x8a461c(0x22e)]['id'],{'unitId':_0x20955b,'drawings':[_0x103bb2]});}},j={'type':u[_0x4f29eb(0x401)][_0x4f29eb(0x1f5)],'id':_0x4f29eb(0x584),'handler'(){return!0x0;}},M={'type':u[_0x4f29eb(0x401)][_0x4f29eb(0x1f5)],'id':_0x4f29eb(0x446),'handler'(){return!0x0;}},N=_0x4f29eb(0x388),P=(0x0,u[_0x4f29eb(0x6b3)])(_0x4f29eb(0x5de));function F(_0x40720d){'@babel/helpers - typeof';const _0x2ca2de=_0x4f29eb;return F=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2ca2de(0x3cf)?function(_0x25261a){return typeof _0x25261a;}:function(_0x38e53b){const _0x5e1536=_0x2ca2de;return _0x38e53b&&typeof Symbol==_0x5e1536(0x52c)&&_0x38e53b[_0x5e1536(0x3e5)]===Symbol&&_0x38e53b!==Symbol['prototype']?_0x5e1536(0x3cf):typeof _0x38e53b;},F(_0x40720d);}function ee(_0x55c0b1,_0x2b915c){const _0x32b373=_0x4f29eb;if(F(_0x55c0b1)!=_0x32b373(0x4cf)||!_0x55c0b1)return _0x55c0b1;var _0x546078=_0x55c0b1[Symbol[_0x32b373(0x502)]];if(_0x546078!==void 0x0){var _0x352c90=_0x546078[_0x32b373(0x256)](_0x55c0b1,_0x2b915c||'default');if(F(_0x352c90)!=_0x32b373(0x4cf))return _0x352c90;throw TypeError(_0x32b373(0x63e));}return(_0x2b915c===_0x32b373(0x341)?String:Number)(_0x55c0b1);}function I(_0x32a1b5){const _0x522766=_0x4f29eb;var _0xf0ec5=ee(_0x32a1b5,_0x522766(0x341));return F(_0xf0ec5)==_0x522766(0x3cf)?_0xf0ec5:_0xf0ec5+'';}function L(_0x1ee6c0,_0x464a68,_0x1f6320){const _0x43fcbd=_0x4f29eb;return(_0x464a68=I(_0x464a68))in _0x1ee6c0?Object[_0x43fcbd(0x6ba)](_0x1ee6c0,_0x464a68,{'value':_0x1f6320,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ee6c0[_0x464a68]=_0x1f6320,_0x1ee6c0;}function _0x15ba(_0x44c386,_0x3e0a35){_0x44c386=_0x44c386-0x1a1;const _0xc32bd5=_0xc32b();let _0x15ba36=_0xc32bd5[_0x44c386];return _0x15ba36;}var R=class extends u['Disposable']{constructor(..._0x5b5af3){const _0x39bdbc=_0x4f29eb;super(..._0x5b5af3),L(this,_0x39bdbc(0x2ee),new _[(_0x39bdbc(0x428))](null)),L(this,_0x39bdbc(0x47f),this[_0x39bdbc(0x2ee)][_0x39bdbc(0x27d)]()),L(this,_0x39bdbc(0x1e2),new _[(_0x39bdbc(0x428))](!0x1)),L(this,_0x39bdbc(0x5e2),this['_onSavingEditorData$'][_0x39bdbc(0x27d)]());}['dispose'](){const _0x3b219a=_0x4f29eb;this['_editingParams$'][_0x3b219a(0x604)](null),this[_0x3b219a(0x2ee)][_0x3b219a(0x47c)](),this[_0x3b219a(0x1e2)]['next'](!0x1),this[_0x3b219a(0x1e2)][_0x3b219a(0x47c)](),super[_0x3b219a(0x4f7)]();}[_0x4f29eb(0x332)](_0x37a1ed){const _0x438214=_0x4f29eb;this['_editingParams$'][_0x438214(0x604)](_0x37a1ed),_0x37a1ed==null&&this[_0x438214(0x1e2)][_0x438214(0x604)](!0x1);}[_0x4f29eb(0x345)](_0x84eb78){const _0x2ca300=_0x4f29eb;this[_0x2ca300(0x1e2)][_0x2ca300(0x604)](_0x84eb78);}[_0x4f29eb(0x403)](){const _0x365c25=_0x4f29eb;return this[_0x365c25(0x2ee)][_0x365c25(0x58e)]();}};function z(_0xb79c97,_0x27d003,_0x59fca3,_0x236e04,_0x25f52e,_0x2b91d9){const _0x26f9ce=_0x4f29eb;let _0xf0bc5f={'unitId':_0x27d003,'shapeId':_0x236e04,'shapeData':_0x2b91d9,'oldShapeJSON':_0x25f52e};return _0xb79c97['executeCommand'](l[_0x26f9ce(0x5dc)]['id'],_0xf0bc5f);}function B(_0x4e51a7,_0x2a5a1b,_0xd992c1,_0x5a6cdd,_0x4908b4,_0x2b9db9){const _0x13ed7a=_0x4f29eb;let _0x13e7cd={'unitId':_0x2a5a1b,'shapeId':_0x5a6cdd,'shapeData':_0x2b9db9,'oldShapeJSON':_0x4908b4};return _0x4e51a7[_0x13ed7a(0x242)](l[_0x13ed7a(0x5dc)]['id'],_0x13e7cd);}function V(_0x1b04d5,_0x591224){const _0x1d450c=_0x4f29eb;var _0x47384b;let {isHorizontal:_0x11db64,textRect:_0x15cdcd,verticalAlign:_0x5f46a3}=_0x591224,_0xd50c85=_0x11db64?_0x15cdcd[_0x1d450c(0x640)]:_0x15cdcd[_0x1d450c(0x689)],_0xbbd893=u[_0x1d450c(0x5cc)]['deepClone'](_0x1b04d5),_0x55da40=(_0x47384b=_0xbbd893['documentStyle'])==null?{}:_0x47384b,_0x1fa5a8={..._0x55da40[_0x1d450c(0x209)],'centerAngle':_0x11db64?0x0:p[_0x1d450c(0x57a)],'vertexAngle':_0x11db64?0x0:p[_0x1d450c(0x57a)],'wrapStrategy':u[_0x1d450c(0x3f8)][_0x1d450c(0x1c4)]};if(_0x5f46a3!==void 0x0&&(_0x1fa5a8['verticalAlign']=_0x5f46a3),_0x591224['horizontalAlign']!==void 0x0){var _0x1402ef;_0x1fa5a8[_0x1d450c(0x286)]=_0x591224['horizontalAlign'];let _0x18ed25=(_0x1402ef=_0xbbd893[_0x1d450c(0x614)])==null?void 0x0:_0x1402ef['paragraphs'];if(_0x18ed25){for(let _0x5b9f7c of _0x18ed25)_0x5b9f7c[_0x1d450c(0x3d1)]||(_0x5b9f7c['paragraphStyle']={}),_0x5b9f7c[_0x1d450c(0x3d1)][_0x1d450c(0x286)]=_0x591224[_0x1d450c(0x286)];}}return _0xbbd893[_0x1d450c(0x31e)]={..._0x55da40,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0xd50c85,'height':0x1/0x0},'renderConfig':_0x1fa5a8},_0xbbd893;}function te(_0x2efab1){const _0x1c823c=_0x4f29eb;var _0x6305b7;let _0x493ada=u[_0x1c823c(0x5cc)][_0x1c823c(0x392)](_0x2efab1),_0x248b5f=(_0x6305b7=_0x493ada[_0x1c823c(0x31e)])==null?{}:_0x6305b7,_0x13b8a3={..._0x248b5f[_0x1c823c(0x209)]};return delete _0x13b8a3['centerAngle'],delete _0x13b8a3[_0x1c823c(0x3c0)],delete _0x13b8a3[_0x1c823c(0x4e8)],delete _0x13b8a3['wrapStrategy'],_0x493ada[_0x1c823c(0x31e)]={..._0x248b5f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x1c823c(0x546)](_0x13b8a3)[_0x1c823c(0x47b)]>0x0?_0x13b8a3:void 0x0},_0x493ada;}var H=class extends p[_0x4f29eb(0x564)]{constructor(_0x28876b,_0x247c9b){const _0x22f2d5=_0x4f29eb;super(_0x28876b,_0x247c9b),L(this,'_props',void 0x0),L(this,'_transformCalculateSrcRect',!0x0),L(this,_0x22f2d5(0x311),u[_0x22f2d5(0x32d)][_0x22f2d5(0x5d5)]),L(this,_0x22f2d5(0x5d4),!0x0),this[_0x22f2d5(0x4fb)]={..._0x247c9b},this[_0x22f2d5(0x2c0)]();}['_init'](){const _0x35e830=_0x4f29eb;this[_0x35e830(0x69f)]['subscribeEvent'](_0x772493=>{const _0x1a7f59=_0x35e830;this[_0x1a7f59(0x39f)](_0x772493);});}[_0x4f29eb(0x44a)](_0x354ce4){const _0x585c75=_0x4f29eb;this[_0x585c75(0x4fb)][_0x585c75(0x6b6)]=_0x354ce4;}[_0x4f29eb(0x332)](_0x362a26){const _0x4fd59a=_0x4f29eb;this[_0x4fd59a(0x4fb)][_0x4fd59a(0x380)]=_0x362a26,this[_0x4fd59a(0x501)](!0x0);}get[_0x4f29eb(0x480)](){const _0x2e2cc2=_0x4f29eb;return this['_props'][_0x2e2cc2(0x480)];}get[_0x4f29eb(0x623)](){const _0x46bd68=_0x4f29eb;return this[_0x46bd68(0x4fb)][_0x46bd68(0x623)];}[_0x4f29eb(0x39f)](_0x3274c1){const _0x51e017=_0x4f29eb;if(this[_0x51e017(0x4fb)][_0x51e017(0x5c3)]==null||!this[_0x51e017(0x624)])return;let {width:_0x558126,height:_0x326910}=this,{width:_0x2f5d0b=0x0,height:_0x446088=0x0}=_0x3274c1[_0x51e017(0x61b)],{left:_0x5ac321=0x0,top:_0x5a08c1=0x0,right:_0x5d1a9c=0x0,bottom:_0x415c27=0x0}=this[_0x51e017(0x4fb)]['srcRect'],_0x285d26=_0x5ac321,_0x2cfe49=_0x5a08c1,_0x529049=_0x5d1a9c,_0x40c72e=_0x415c27,_0x33577b=!0x1;if(_0x2f5d0b!==0x0&&_0x2f5d0b!==_0x558126){let _0x3a4d7a=_0x5ac321/_0x2f5d0b,_0x25e5ed=_0x5d1a9c/_0x2f5d0b;_0x285d26=_0x558126*_0x3a4d7a,_0x529049=_0x558126*_0x25e5ed,_0x33577b=!0x0;}if(_0x446088!==0x0&&_0x446088!==_0x326910){let _0x1a896b=_0x5a08c1/_0x446088,_0x49f585=_0x415c27/_0x446088;_0x2cfe49=_0x326910*_0x1a896b,_0x40c72e=_0x326910*_0x49f585,_0x33577b=!0x0;}_0x33577b&&this[_0x51e017(0x50a)]({'left':_0x285d26,'top':_0x2cfe49,'right':_0x529049,'bottom':_0x40c72e});}[_0x4f29eb(0x50a)](_0x2889c9){const _0x5868b1=_0x4f29eb;this[_0x5868b1(0x4fb)][_0x5868b1(0x5c3)]=_0x2889c9,this['makeDirty'](!0x0);}['setFillImage'](_0x277ee3){const _0x348032=_0x4f29eb;this[_0x348032(0x4fb)][_0x348032(0x1bf)]=_0x277ee3,this['makeDirty'](!0x0);}set[_0x4f29eb(0x441)](_0x154c62){const _0xd2ad12=_0x4f29eb;this[_0xd2ad12(0x2d4)]=_0x154c62;}get['transform'](){const _0x3697fb=_0x4f29eb;this[_0x3697fb(0x2d4)]||this[_0x3697fb(0x2dc)]();let _0x5a785e=this['_transform'][_0x3697fb(0x364)]();return this[_0x3697fb(0x611)](_0x5a785e);}get['shapeModel'](){const _0x15e547=_0x4f29eb;return this[_0x15e547(0x4fb)][_0x15e547(0x1c0)];}get['shapeId'](){const _0x4ba76c=_0x4f29eb;return this['_props'][_0x4ba76c(0x5b2)];}get[_0x4f29eb(0x212)](){const _0x4b3064=_0x4f29eb;return p[_0x4b3064(0x40b)][_0x4b3064(0x1f0)];}[_0x4f29eb(0x625)](_0x83d649,_0xb4a354,_0x39656c,_0x57abbb){const _0x301944=_0x4f29eb;let _0x3db5e4=this[_0x301944(0x4fb)][_0x301944(0x1c0)];if(!_0x3db5e4||!_0xb4a354)return;let _0x29a04e=_0x39656c==null?this[_0x301944(0x640)]:_0x39656c,_0x1f41e6=_0x57abbb==null?this[_0x301944(0x689)]:_0x57abbb,_0x21caeb={'shapeType':_0x3db5e4['getShapeType'](),'width':_0x29a04e,'height':_0x1f41e6},_0x44bd4f={'renderMode':c[_0x301944(0x223)][_0x301944(0x68d)],'oKey':this[_0x301944(0x49d)],'image':this[_0x301944(0x4fb)][_0x301944(0x1bf)],'angle':this['angle']};_0x3db5e4[_0x301944(0x607)](_0x21caeb),_0x83d649[_0x301944(0x6b2)]();let _0x382013={'top':0x0,'left':0x0,'width':_0x29a04e,'height':_0x1f41e6};_0x3db5e4['render'](_0x83d649,_0x382013,_0x44bd4f),_0x83d649['restore']();let _0x3a9ab3=_0x3db5e4['getShapeTextData'](),_0xc7e7b9=_0x3db5e4[_0x301944(0x5aa)](_0x382013),_0x4a1fac=_0x3db5e4[_0x301944(0x22f)]();if(_0x3a9ab3&&_0xc7e7b9&&!_0x4a1fac){_0x83d649['save'](),this[_0x301944(0x62b)]()[_0x301944(0x589)]&&_0x83d649[_0x301944(0x4bc)](-0x1,0x1);let _0x28ef39=_0x29a04e/0x2,_0x93cca2=_0x1f41e6/0x2;_0x83d649[_0x301944(0x229)](-_0x28ef39,-_0x93cca2),_0x83d649[_0x301944(0x225)](),this[_0x301944(0x6ac)](_0x83d649,_0x3a9ab3,_0xc7e7b9),_0x83d649[_0x301944(0x598)]();}}[_0x4f29eb(0x1dc)](_0x477936){}['_drawShapeText'](_0x330d81,_0x56f3b5,_0x15c8f2){const _0xd7b71a=_0x4f29eb;this[_0xd7b71a(0x4fb)][_0xd7b71a(0x380)]||(_0xd7b71a(0x3ed)in _0x56f3b5&&_0x56f3b5[_0xd7b71a(0x3ed)]===!0x1?this[_0xd7b71a(0x228)](_0x330d81,_0x56f3b5,_0x15c8f2):this[_0xd7b71a(0x5fa)](_0x330d81,_0x56f3b5,_0x15c8f2));}[_0x4f29eb(0x228)](_0x7902fa,_0x5e0cc0,_0x514b2b){}[_0x4f29eb(0x5fa)](_0x17a151,_0xccd81b,_0x27d36b){const _0x34cea2=_0x4f29eb;var _0xe0ce47,_0x1dd865;let _0x490928=this[_0x34cea2(0x4fb)]['localeService'];if(!_0xccd81b[_0x34cea2(0x68e)]||!_0x490928){_0x490928||console['warn'](_0x34cea2(0x58f));return;}let _0x4d50c5=_0xccd81b[_0x34cea2(0x68e)],_0x4ead35=_0x4d50c5[_0x34cea2(0x616)],_0x235ce6=(_0xe0ce47=_0x4d50c5['va'])==null?u[_0x34cea2(0x34c)][_0x34cea2(0x2ae)]:_0xe0ce47,_0x3c2050=(_0x1dd865=_0x4d50c5['ha'])==null?u[_0x34cea2(0x650)]['LEFT']:_0x1dd865;if(!_0x4ead35)return;let _0x45eb7d=_0xccd81b[_0x34cea2(0x43d)],_0x30c9be=new u[(_0x34cea2(0x5ae))](V(_0x4ead35,{'isHorizontal':_0x45eb7d!==!0x1,'textRect':_0x27d36b,'verticalAlign':_0x235ce6,'horizontalAlign':_0x3c2050})),_0x122200=new p[(_0x34cea2(0x4ba))](_0x30c9be),_0x521b51=p[_0x34cea2(0x2e1)][_0x34cea2(0x541)](_0x122200,_0x490928);_0x521b51[_0x34cea2(0x39b)]();let _0x10b2a0=new p[(_0x34cea2(0x487))]('shape-text-'+this[_0x34cea2(0x49d)],_0x521b51,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x10b2a0[_0x34cea2(0x639)](_0x27d36b['width'],_0x27d36b[_0x34cea2(0x689)]),_0x17a151[_0x34cea2(0x6b2)](),_0x17a151[_0x34cea2(0x486)](_0x27d36b['left'],_0x27d36b['top']),_0x17a151[_0x34cea2(0x225)](),_0x17a151[_0x34cea2(0x39e)](0x0,0x0,_0x27d36b[_0x34cea2(0x640)],_0x27d36b['height']),_0x17a151['clip'](),_0x10b2a0['draw'](_0x17a151),_0x17a151['restore'](),_0x10b2a0[_0x34cea2(0x4f7)](),_0x521b51[_0x34cea2(0x4f7)](),_0x122200['dispose'](),_0x30c9be['dispose']();}[_0x4f29eb(0x3b3)](_0x2ccc98,_0x33f527,_0x2107e8=!0x1){const _0x345e6c=_0x4f29eb;if(!this[_0x345e6c(0x654)])return this['makeDirty'](!0x1),this;let {width:_0x174037,height:_0x760209,left:_0x1c6cf2,top:_0x35fad3}=this,_0x27b696=this[_0x345e6c(0x265)]();if(_0x174037=_0x27b696[_0x345e6c(0x640)],_0x760209=_0x27b696[_0x345e6c(0x689)],_0x1c6cf2=_0x27b696[_0x345e6c(0x46d)],_0x35fad3=_0x27b696['top'],this['isRender'](_0x33f527)){let {top:_0x2befc9,left:_0x113193,bottom:_0x43b513,right:_0x2bdf90}=_0x33f527['viewBound'];if(_0x174037+this['strokeWidth']+_0x1c6cf2<_0x113193||_0x2bdf90<_0x1c6cf2||_0x760209+this[_0x345e6c(0x649)]+_0x35fad3<_0x2befc9||_0x43b513<_0x35fad3)return this;}let _0x4c4ffc=_0x1c6cf2+_0x174037/0x2,_0xbe1e88=_0x35fad3+_0x760209/0x2,_0x5f4bb6=this[_0x345e6c(0x441)][_0x345e6c(0x52a)]();if(this[_0x345e6c(0x4fb)][_0x345e6c(0x380)]){let _0x1872ad=this[_0x345e6c(0x62b)](),_0x3fbf49=new p[(_0x345e6c(0x493))]();_0x3fbf49['composeMatrix']({..._0x1872ad}),_0x5f4bb6=_0x3fbf49[_0x345e6c(0x52a)]();}return _0x2ccc98[_0x345e6c(0x6b2)](),this[_0x345e6c(0x4fb)][_0x345e6c(0x1c0)][_0x345e6c(0x22b)]===!0x0||_0x2ccc98[_0x345e6c(0x441)](_0x5f4bb6[0x0],_0x5f4bb6[0x1],_0x5f4bb6[0x2],_0x5f4bb6[0x3],_0x4c4ffc,_0xbe1e88),this[_0x345e6c(0x625)](_0x2ccc98,_0x33f527,_0x174037,_0x760209),_0x2ccc98[_0x345e6c(0x598)](),this[_0x345e6c(0x501)](!0x1),this;}[_0x4f29eb(0x3b9)](_0x3d1db2){const _0x3d5168=_0x4f29eb;let {left:_0x33b102,top:_0x506e6c,width:_0x5340dc,height:_0x2fff28}=this[_0x3d5168(0x265)](),_0x4d7e8c=this[_0x3d5168(0x441)][_0x3d5168(0x52a)](),_0x540b54=_0x33b102+_0x5340dc/0x2,_0x3fd1c6=_0x506e6c+_0x2fff28/0x2,_0x2daf42=new p[(_0x3d5168(0x493))]([_0x4d7e8c[0x0],_0x4d7e8c[0x1],_0x4d7e8c[0x2],_0x4d7e8c[0x3],_0x540b54,_0x3fd1c6]),_0x4728d7=this[_0x3d5168(0x200)]();return(this['isInGroup']&&(_0x4728d7==null?void 0x0:_0x4728d7['classType'])===p[_0x3d5168(0x40b)][_0x3d5168(0x1b0)]?_0x4728d7[_0x3d5168(0x538)][_0x3d5168(0x277)](_0x2daf42):_0x2daf42)[_0x3d5168(0x567)]()[_0x3d5168(0x59d)](_0x3d1db2);}[_0x4f29eb(0x62a)](_0x5ad22e){const _0xe3cf1f=_0x4f29eb;let {left:_0x1dd74d,top:_0x1b4fcc,width:_0x1668f7,height:_0x50121a}=this[_0xe3cf1f(0x265)](),_0xe6483a=_0x1dd74d+_0x1668f7/0x2,_0x1e5e4b=_0x1b4fcc+_0x50121a/0x2,_0x5b2c3e=this[_0xe3cf1f(0x441)][_0xe3cf1f(0x52a)](),_0x552a14=new p['Transform']([_0x5b2c3e[0x0],_0x5b2c3e[0x1],_0x5b2c3e[0x2],_0x5b2c3e[0x3],_0xe6483a,_0x1e5e4b]),_0x126763=this[_0xe3cf1f(0x200)](),_0xdbddca=(this['isInGroup']&&(_0x126763==null?void 0x0:_0x126763['classType'])===p[_0xe3cf1f(0x40b)][_0xe3cf1f(0x1b0)]?_0x126763[_0xe3cf1f(0x538)]['multiply'](_0x552a14):_0x552a14)[_0xe3cf1f(0x567)]()[_0xe3cf1f(0x59d)](_0x5ad22e),_0x236168=_0x1668f7/0x2,_0x38ceb3=_0x50121a/0x2,_0x27cafc=this[_0xe3cf1f(0x4fb)][_0xe3cf1f(0x1c0)];return _0x27cafc&&_0x27cafc[_0xe3cf1f(0x22f)]()?_0x27cafc[_0xe3cf1f(0x21c)](_0xdbddca['x'],_0xdbddca['y'],_0x1668f7,_0x50121a):_0xdbddca['x']>=-_0x236168-this[_0xe3cf1f(0x649)]/0x2&&_0xdbddca['x']<=_0x236168+this[_0xe3cf1f(0x649)]/0x2&&_0xdbddca['y']>=-_0x38ceb3-this[_0xe3cf1f(0x649)]/0x2&&_0xdbddca['y']<=_0x38ceb3+this[_0xe3cf1f(0x649)]/0x2;}[_0x4f29eb(0x4f7)](){const _0x359cdc=_0x4f29eb;this['_props'][_0x359cdc(0x1c0)]=null,super['dispose']();}};function U(_0x33f14b,_0x23211b){return function(_0x1774f5,_0x4820a0){_0x23211b(_0x1774f5,_0x4820a0,_0x33f14b);};}function W(_0x33859f,_0x310682,_0x2ad0c6,_0x236438){const _0x32690b=_0x4f29eb;var _0x4cf8a2=arguments['length'],_0x25f3ef=_0x4cf8a2<0x3?_0x310682:_0x236438===null?_0x236438=Object['getOwnPropertyDescriptor'](_0x310682,_0x2ad0c6):_0x236438,_0x4a8735;if(typeof Reflect==_0x32690b(0x4cf)&&typeof Reflect[_0x32690b(0x4f1)]==_0x32690b(0x52c))_0x25f3ef=Reflect[_0x32690b(0x4f1)](_0x33859f,_0x310682,_0x2ad0c6,_0x236438);else{for(var _0x278ee1=_0x33859f[_0x32690b(0x47b)]-0x1;_0x278ee1>=0x0;_0x278ee1--)(_0x4a8735=_0x33859f[_0x278ee1])&&(_0x25f3ef=(_0x4cf8a2<0x3?_0x4a8735(_0x25f3ef):_0x4cf8a2>0x3?_0x4a8735(_0x310682,_0x2ad0c6,_0x25f3ef):_0x4a8735(_0x310682,_0x2ad0c6))||_0x25f3ef);}return _0x4cf8a2>0x3&&_0x25f3ef&&Object[_0x32690b(0x6ba)](_0x310682,_0x2ad0c6,_0x25f3ef),_0x25f3ef;}let G=class extends u[_0x4f29eb(0x695)]{constructor(_0x5f1af4,_0x4b2682,_0x557135,_0x6de9bd,_0x311d57,_0x138c5e){const _0x70a9ed=_0x4f29eb;super(),this[_0x70a9ed(0x3e4)]=_0x5f1af4,this[_0x70a9ed(0x23b)]=_0x4b2682,this[_0x70a9ed(0x62e)]=_0x557135,this[_0x70a9ed(0x378)]=_0x6de9bd,this[_0x70a9ed(0x59c)]=_0x311d57,this[_0x70a9ed(0x56f)]=_0x138c5e;}[_0x4f29eb(0x258)](_0x979288,_0x5aef3e){const _0x32dc06=_0x4f29eb;let {transform:_0xa14e6b,drawingType:_0x3ed927,srcRect:_0x3ab2ee,prstGeom:_0x6329f,groupId:_0x4d5555,unitId:_0x505681,subUnitId:_0x1ac016,drawingId:_0x3b0f1e,isMultiTransform:_0x23711b,transforms:_0x514a76,hidden:_0x452b85}=_0x979288;if(_0x3ed927!==u[_0x32dc06(0x32d)][_0x32dc06(0x5d5)]||!this['_drawingManagerService']['getDrawingVisible']()||_0xa14e6b==null)return;let _0x3cbc92=_0x23711b&&_0x514a76?_0x514a76:[_0xa14e6b],_0x69c0b7=[];for(let _0x2192ba of _0x3cbc92){let {left:_0x436e1c,top:_0x4a45d2,width:_0x4f4647,height:_0x4a97db,angle:_0x389797,flipX:_0x5036fc,flipY:_0x37af75,skewX:_0x2c942a,skewY:_0x545a38}=_0x2192ba,_0x5ec6d8=_0x3cbc92[_0x32dc06(0x23e)](_0x2192ba),_0xbe80bb=(0x0,m[_0x32dc06(0x234)])({'unitId':_0x505681,'subUnitId':_0x1ac016,'drawingId':_0x3b0f1e},_0x23711b?_0x5ec6d8:void 0x0),_0x23494c=_0x5aef3e['getObjectIncludeInGroup'](_0xbe80bb);if(_0x23494c!=null){_0x23494c[_0x32dc06(0x42e)]({'left':_0x436e1c,'top':_0x4a45d2,'width':_0x4f4647,'height':_0x4a97db,'angle':_0x389797,'flipX':_0x5036fc,'flipY':_0x37af75,'skewX':_0x2c942a,'skewY':_0x545a38});continue;}let _0x2c0f2e=this['_drawingManagerService']['getDrawingOrder'](_0x505681,_0x1ac016),_0x4e5cc8=_0x2c0f2e['indexOf'](_0x3b0f1e);if(_0x5aef3e[_0x32dc06(0x404)](_0xbe80bb)||!this[_0x32dc06(0x3e4)][_0x32dc06(0x4eb)]())continue;let _0x33a9eb=this['_docsShapeService'][_0x32dc06(0x1d0)](_0x505681,_0x1ac016,_0x3b0f1e);if(!_0x33a9eb)continue;let _0xcf64d8=new H(_0xbe80bb,{...(0x0,c[_0x32dc06(0x5da)])(_0x33a9eb[_0x32dc06(0x1e7)]())?{..._0x2192ba,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x2192ba},'zIndex':_0x4e5cc8===-0x1?_0x2c0f2e['length']-0x1:_0x4e5cc8,'shapeModel':_0x33a9eb,'localeService':this[_0x32dc06(0x62e)],'shapeId':_0x3b0f1e,'unitId':_0x505681,'subUnitId':_0x1ac016,'visible':_0x452b85!==!0x0});this[_0x32dc06(0x28f)]((0x0,u[_0x32dc06(0x494)])(_0xcf64d8[_0x32dc06(0x68f)][_0x32dc06(0x33f)]((_0x52844f,_0x367b10)=>{const _0x1cecf6=_0x32dc06;_0x33a9eb[_0x1cecf6(0x22f)]()||(this['_shapeTextEditingService'][_0x1cecf6(0x332)]({'visible':!0x0,'unitId':_0x505681,'subUnitId':_0x1ac016,'shapeId':_0x3b0f1e,'shapeKey':_0xcf64d8[_0x1cecf6(0x49d)]}),_0x367b10[_0x1cecf6(0x2de)]());}))),_0x5aef3e[_0x32dc06(0x522)](_0xcf64d8,p[_0x32dc06(0x34b)]),this[_0x32dc06(0x3e4)][_0x32dc06(0x4d2)]()&&_0x5aef3e[_0x32dc06(0x23c)](_0xcf64d8),_0x4d5555&&(0x0,b[_0x32dc06(0x3d2)])({'drawingId':_0x4d5555,'unitId':_0x505681,'subUnitId':_0x1ac016},_0xcf64d8,_0x5aef3e,this[_0x32dc06(0x3e4)]),_0x6329f!=null&&_0xcf64d8['setPrstGeom'](_0x6329f),_0x3ab2ee!=null&&_0xcf64d8[_0x32dc06(0x50a)](_0x3ab2ee),this['_loadShapePictureFill'](_0xcf64d8,_0x33a9eb['getShapeData']()),_0x69c0b7[_0x32dc06(0x374)](_0xcf64d8);}return _0x69c0b7;}[_0x4f29eb(0x4a5)](_0x2d2f8f){const _0x3a271b=_0x4f29eb;let _0x1942b7=_0x2d2f8f['shapeModel'][_0x3a271b(0x4e4)](),_0xc2ef28=_0x1942b7[_0x3a271b(0x47e)];if(!_0xc2ef28||_0xc2ef28[_0x3a271b(0x2d9)]!==c[_0x3a271b(0x64b)]['PictureFill']||!_0xc2ef28[_0x3a271b(0x57b)]){_0x2d2f8f[_0x3a271b(0x50e)](void 0x0);return;}this[_0x3a271b(0x52b)](_0x2d2f8f,_0x1942b7);}[_0x4f29eb(0x52b)](_0x4527b0,_0x5a8461){const _0x2728cc=_0x4f29eb;var _0x229983;let _0x304fbc=_0x5a8461[_0x2728cc(0x47e)];if(!_0x304fbc||_0x304fbc['fillType']!==c[_0x2728cc(0x64b)][_0x2728cc(0x5f7)]||!_0x304fbc[_0x2728cc(0x57b)])return;let _0x2cbd9f=_0x304fbc[_0x2728cc(0x57b)],_0x1b989c=(_0x229983=_0x304fbc['fillImageSourceType'])==null?c['ImageSourceTypeEnum'][_0x2728cc(0x4ec)]:_0x229983,_0x307daf=this[_0x2728cc(0x378)][_0x2728cc(0x279)](_0x2cbd9f,_0x1b989c);if(_0x307daf){_0x4527b0[_0x2728cc(0x50e)](_0x307daf);return;}this['_loadAndSetImage'](_0x4527b0,_0x2cbd9f,_0x1b989c);}async[_0x4f29eb(0x612)](_0x3c6864,_0x1568b6,_0x41fd79){const _0xa51a46=_0x4f29eb;let _0x4202ae;try{if(_0x41fd79===c[_0xa51a46(0x519)][_0xa51a46(0x3f4)])_0x4202ae=await this['_imageIoService']['getImage'](_0x1568b6);else{if(_0x41fd79===c[_0xa51a46(0x519)][_0xa51a46(0x4ec)])try{_0x4202ae=await this[_0xa51a46(0x59c)][_0xa51a46(0x267)](_0x1568b6);}catch{_0x4202ae=_0x1568b6;}else _0x4202ae=_0x1568b6;}}catch(_0x507707){console[_0xa51a46(0x642)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x507707);return;}let _0x574271=new window[(_0xa51a46(0x32c))]();_0x574271['onload']=()=>{const _0x4d8654=_0xa51a46;this[_0x4d8654(0x378)][_0x4d8654(0x510)](_0x1568b6,_0x41fd79,_0x574271),_0x3c6864[_0x4d8654(0x50e)](_0x574271);},_0x574271[_0xa51a46(0x2b6)]=()=>{const _0x32d169=_0xa51a46;console['error'](_0x32d169(0x4d5),_0x1568b6);},_0x574271[_0xa51a46(0x426)]=_0x4202ae;}};G=W([U(0x0,m[_0x4f29eb(0x5d2)]),U(0x1,(0x0,u[_0x4f29eb(0x3f0)])(l[_0x4f29eb(0x309)])),U(0x2,(0x0,u[_0x4f29eb(0x3f0)])(u[_0x4f29eb(0x456)])),U(0x3,m['IImageIoService']),U(0x4,u[_0x4f29eb(0x338)]),U(0x5,(0x0,u[_0x4f29eb(0x3f0)])(R))],G);let K=class extends u[_0x4f29eb(0x695)]{constructor(_0xcd832d,_0x1de4d3,_0x386b6c,_0x3e14b8){const _0x555e3b=_0x4f29eb;super(),this['_commandService']=_0xcd832d,this[_0x555e3b(0x208)]=_0x1de4d3,this['_drawingManagerService']=_0x386b6c,this['_docDrawingShapeRenderController']=_0x3e14b8,this['_initialize']();}[_0x4f29eb(0x261)](){const _0x1bf62e=_0x4f29eb;this['disposeWithMe'](this[_0x1bf62e(0x3e4)]['add$']['subscribe'](_0x4cc00f=>this['_insertShapes'](_0x4cc00f))),this[_0x1bf62e(0x28f)](this[_0x1bf62e(0x3e4)][_0x1bf62e(0x427)]['subscribe'](_0x32b6f6=>{const _0xd01237=_0x1bf62e;_0x32b6f6[_0xd01237(0x3f5)](_0x388203=>this['_updateShape'](_0x388203));})),this[_0x1bf62e(0x28f)](this[_0x1bf62e(0x4a3)][_0x1bf62e(0x400)](_0x5ed2f3=>{const _0x813b97=_0x1bf62e;if(_0x5ed2f3['id']!==l[_0x813b97(0x35b)]['id'])return;let {unitId:_0x27196e,shapeId:_0x47e739}=_0x5ed2f3[_0x813b97(0x325)];this[_0x813b97(0x418)]({'unitId':_0x27196e,'subUnitId':_0x27196e,'drawingId':_0x47e739});}));}[_0x4f29eb(0x369)](_0x4aa362,_0x293987){const _0x3ae684=_0x4f29eb;let _0x83aebe=this[_0x3ae684(0x366)](_0x4aa362[_0x3ae684(0x480)]),_0x4541c9=(0x0,m[_0x3ae684(0x234)])(_0x4aa362),_0x4d7290=_0x83aebe==null?void 0x0:_0x83aebe[_0x3ae684(0x56b)][_0x3ae684(0x404)](_0x4541c9);_0x4d7290==null||_0x4d7290[_0x3ae684(0x50e)](_0x293987);}[_0x4f29eb(0x6b5)](_0x5c9638){const _0x58770a=_0x4f29eb;_0x5c9638[_0x58770a(0x3f5)](_0x59ce70=>{const _0x30d0f7=_0x58770a;var _0x5c3418;let _0x83b100=this[_0x30d0f7(0x366)](_0x59ce70[_0x30d0f7(0x480)]);if(!_0x83b100)return;let _0x544263=this[_0x30d0f7(0x3e4)]['getDrawingByParam'](_0x59ce70);(_0x544263==null?void 0x0:_0x544263[_0x30d0f7(0x29a)])===u[_0x30d0f7(0x32d)]['DRAWING_SHAPE']&&((0x0,c[_0x30d0f7(0x5da)])((_0x5c3418=_0x544263[_0x30d0f7(0x4b6)])==null?void 0x0:_0x5c3418[_0x30d0f7(0x582)])&&_0x544263['transform']&&(_0x544263['transform']={..._0x544263[_0x30d0f7(0x441)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x30d0f7(0x3e4)][_0x30d0f7(0x28b)]([_0x544263]),this[_0x30d0f7(0x491)][_0x30d0f7(0x258)](_0x544263,_0x83b100['scene']));});}[_0x4f29eb(0x6a3)](_0x2ecb1d){const _0x5f02d5=_0x4f29eb;let _0x49e73f=this[_0x5f02d5(0x3e4)][_0x5f02d5(0x62d)](_0x2ecb1d);if((_0x49e73f==null?void 0x0:_0x49e73f[_0x5f02d5(0x29a)])!==u[_0x5f02d5(0x32d)][_0x5f02d5(0x5d5)])return;let _0x4307c2=this[_0x5f02d5(0x366)](_0x2ecb1d[_0x5f02d5(0x480)]);if(!_0x4307c2||_0x49e73f['transform']==null)return;let _0x2e23a1=(0x0,m[_0x5f02d5(0x234)])(_0x2ecb1d),_0x36f4f0=_0x4307c2[_0x5f02d5(0x56b)][_0x5f02d5(0x404)](_0x2e23a1);_0x36f4f0&&(_0x36f4f0[_0x5f02d5(0x50a)](_0x49e73f[_0x5f02d5(0x5c3)]),_0x36f4f0[_0x5f02d5(0x44a)](_0x49e73f[_0x5f02d5(0x6b6)]),_0x36f4f0[_0x5f02d5(0x501)](!0x0));}[_0x4f29eb(0x418)](_0xd75a1){const _0x2e82c1=_0x4f29eb;let _0x9a3a9=this[_0x2e82c1(0x366)](_0xd75a1[_0x2e82c1(0x480)]);if(!_0x9a3a9)return;let _0x34d75d=(0x0,m[_0x2e82c1(0x234)])(_0xd75a1),_0x54f60f=_0x9a3a9['scene'][_0x2e82c1(0x404)](_0x34d75d);_0x54f60f&&(this[_0x2e82c1(0x491)][_0x2e82c1(0x4a5)](_0x54f60f),_0x54f60f[_0x2e82c1(0x501)](!0x0));}[_0x4f29eb(0x366)](_0x487212){const _0x145d3a=_0x4f29eb;if(_0x487212==null)return null;let _0x375b15=this['_renderManagerService'][_0x145d3a(0x2f6)](_0x487212),_0x1e75fd=_0x375b15==null?void 0x0:_0x375b15['scene'];return _0x1e75fd==null?null:{'scene':_0x1e75fd};}};K=W([U(0x0,u[_0x4f29eb(0x355)]),U(0x1,p[_0x4f29eb(0x271)]),U(0x2,m[_0x4f29eb(0x5d2)]),U(0x3,(0x0,u['Inject'])(G))],K);function ne(_0x13e5e8){const _0x5756e6=_0x4f29eb;var _0xf2938,_0x29adc6,_0x5f5bbe,_0x5e3bab,_0x84ad4a,_0x2e4c03,_0x4a717b,_0x17baf3,_0x2322fd,_0x4b9a96,_0x3d66c7,_0x36c374,_0x11fd1e;let {unitId:_0x223c4a,subUnitId:_0x2d59c6,shapeId:_0x465d87,shapeData:_0x58f1cf,disableShapeOption:_0x26c3a6}=_0x13e5e8,_0x6af03f=(0x0,g[_0x5756e6(0x659)])(u[_0x5756e6(0x456)]),_0x39765b=(0x0,g['useDependency'])(u[_0x5756e6(0x355)]),_0x571b33=(0x0,g[_0x5756e6(0x659)])(u[_0x5756e6(0x2d6)]),_0x2b6da6=(0x0,g[_0x5756e6(0x659)])(K),_0x50fa3b=(0x0,g[_0x5756e6(0x659)])(m[_0x5756e6(0x4d6)]),_0x32b239=(0x0,y['useRef'])(null),_0x4093e0=_0x58f1cf[_0x5756e6(0x47e)],_0x362544=!!(_0x4093e0!=null&&_0x4093e0[_0x5756e6(0x57b)]),[_0x5be671,_0x10bee0]=(0x0,y[_0x5756e6(0x2bc)])((_0xf2938=_0x4093e0==null?void 0x0:_0x4093e0[_0x5756e6(0x3f3)])==null?0x1:_0xf2938),[_0x42ddc3,_0x4a8988]=(0x0,y[_0x5756e6(0x2bc)])((_0x29adc6=_0x4093e0==null?void 0x0:_0x4093e0['imageFillMode'])==null?c['ImageFillModeEnum'][_0x5756e6(0x658)]:_0x29adc6),[_0x32db17,_0x4ac9a6]=(0x0,y[_0x5756e6(0x2bc)])((_0x5f5bbe=_0x4093e0==null?void 0x0:_0x4093e0[_0x5756e6(0x343)])==null?!0x1:_0x5f5bbe),[_0x4d7066,_0x5ca96f]=(0x0,y['useState'])((_0x5e3bab=_0x4093e0==null||(_0x84ad4a=_0x4093e0[_0x5756e6(0x67e)])==null?void 0x0:_0x84ad4a[_0x5756e6(0x1c1)])==null?0x0:_0x5e3bab),[_0x3897aa,_0x3271b7]=(0x0,y[_0x5756e6(0x2bc)])((_0x2e4c03=_0x4093e0==null||(_0x4a717b=_0x4093e0[_0x5756e6(0x67e)])==null?void 0x0:_0x4a717b[_0x5756e6(0x448)])==null?0x0:_0x2e4c03),[_0x3cdd1e,_0x4186cc]=(0x0,y[_0x5756e6(0x2bc)])((_0x17baf3=_0x4093e0==null||(_0x2322fd=_0x4093e0[_0x5756e6(0x67e)])==null?void 0x0:_0x2322fd[_0x5756e6(0x31a)])==null?0x1:_0x17baf3),[_0x58c2d4,_0x5cdfc1]=(0x0,y['useState'])((_0x4b9a96=_0x4093e0==null||(_0x3d66c7=_0x4093e0[_0x5756e6(0x67e)])==null?void 0x0:_0x3d66c7[_0x5756e6(0x5a1)])==null?0x1:_0x4b9a96),[_0x3265ce,_0x2a3806]=(0x0,y[_0x5756e6(0x2bc)])((_0x36c374=_0x4093e0==null||(_0x11fd1e=_0x4093e0[_0x5756e6(0x67e)])==null?void 0x0:_0x11fd1e[_0x5756e6(0x46f)])==null?'tl':_0x36c374),_0xf18227=_0x42ddc3===c[_0x5756e6(0x336)][_0x5756e6(0x484)],_0x403910=Math[_0x5756e6(0x21b)]((0x1-_0x5be671)*0x64),_0x58a36c=Math[_0x5756e6(0x21b)](_0x3cdd1e*0x64),_0x48902d=Math[_0x5756e6(0x21b)](_0x58c2d4*0x64),_0x12e632=_0x47cafe=>_0x6af03f['t'](_0x47cafe),_0x444b36=[{'label':_0x12e632(_0x5756e6(0x29b)),'value':'tl'},{'label':_0x12e632(_0x5756e6(0x6ae)),'value':'t'},{'label':_0x12e632(_0x5756e6(0x5bb)),'value':'tr'},{'label':_0x12e632(_0x5756e6(0x2fd)),'value':'l'},{'label':_0x12e632(_0x5756e6(0x29c)),'value':'ctr'},{'label':_0x12e632(_0x5756e6(0x204)),'value':'r'},{'label':_0x12e632(_0x5756e6(0x433)),'value':'bl'},{'label':_0x12e632(_0x5756e6(0x58c)),'value':'b'},{'label':_0x12e632(_0x5756e6(0x3d5)),'value':'br'}],_0x7a4fdb=_0x577570=>{z(_0x39765b,_0x223c4a,_0x2d59c6,_0x465d87,{'oldShapeData':{'fill':_0x4093e0?{..._0x4093e0}:void 0x0}},{'fill':{..._0x4093e0,..._0x577570}});},_0x1e9299=_0x4b6eac=>{_0x7a4fdb({'imageTile':{..._0x4093e0==null?void 0x0:_0x4093e0['imageTile'],..._0x4b6eac}});},_0x55fc28=()=>{const _0x4b8c01=_0x5756e6;var _0x50265a;return(_0x50265a=_0x32b239[_0x4b8c01(0x55e)])==null?void 0x0:_0x50265a['click']();},_0x4d9195=async _0x16e4fc=>{const _0x3aa5c6=_0x5756e6;var _0x3b0529;let _0x725119=(_0x3b0529=_0x16e4fc['target'][_0x3aa5c6(0x2e2)])==null?void 0x0:_0x3b0529[0x0];if(!_0x725119)return;_0x16e4fc[_0x3aa5c6(0x65e)][_0x3aa5c6(0x671)]='';let _0x5d2086=await _0x50fa3b[_0x3aa5c6(0x218)](_0x725119);if(_0x5d2086==null)return;let {imageSourceType:_0x4eeee7,source:_0x886e73,base64Cache:_0x5f4c50}=_0x5d2086,{image:_0x382ac6}=await(0x0,m[_0x3aa5c6(0x384)])(_0x5f4c50||'');_0x50fa3b[_0x3aa5c6(0x510)](_0x886e73,_0x4eeee7,_0x382ac6),z(_0x39765b,_0x223c4a,_0x2d59c6,_0x465d87,{'oldShapeData':{'fill':_0x4093e0?{..._0x4093e0}:void 0x0}},{'fill':{..._0x4093e0,'fillType':c['ShapeFillEnum'][_0x3aa5c6(0x5f7)],'fillImageSource':_0x886e73,'fillImageSourceType':_0x4eeee7}}),_0x2b6da6[_0x3aa5c6(0x369)]({'unitId':_0x223c4a,'subUnitId':_0x2d59c6,'drawingId':_0x465d87},_0x382ac6);},_0x49c7e4=_0x5756e6(0x281),_0x43b581='univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3';return(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x5756e6(0x313),'children':[(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x5756e6(0x40e),'children':[(0x0,x['jsx'])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632(_0x5756e6(0x35c))}),(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x5756e6(0x4fd),'children':[(0x0,x[_0x5756e6(0x509)])('input',{'ref':_0x32b239,'type':'file','accept':_0x5756e6(0x1b2),'className':'univer-hidden','onChange':_0x4d9195}),(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':'group\x20univer-relative\x20univer-inline-block','children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2c5),{'type':_0x5756e6(0x2c5),'disabled':_0x26c3a6,'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','onClick':_0x55fc28,'children':(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x2a0),{'children':[_0x12e632('docs-shape-ui.fill.picture.insert'),'\x20']})}),_0x362544&&(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':_0x5756e6(0x282),'children':(0x0,x[_0x5756e6(0x509)])('img',{'src':_0x4093e0==null?void 0x0:_0x4093e0['fillImageSource'],'alt':'','className':'univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover'})})]})]})]}),(0x0,x[_0x5756e6(0x51f)])('div',{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632('docs-shape-ui.fill.transparency')}),(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':_0x5756e6(0x255),'children':(0x0,x[_0x5756e6(0x509)])(v[_0x5756e6(0x2a9)],{'className':_0x5756e6(0x347),'value':_0x403910,'disabled':_0x26c3a6,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x560628=>_0x560628+'%','parser':_0xdd86f3=>(_0xdd86f3==null?void 0x0:_0xdd86f3[_0x5756e6(0x41a)]('%',''))||'','onChange':_0x55dd31=>{const _0x229fc0=_0x5756e6;let _0x191efc=(0x64-Math[_0x229fc0(0x379)](0x0,Math[_0x229fc0(0x4b0)](0x64,_0x55dd31==null?0x0:_0x55dd31)))/0x64;_0x10bee0(_0x191efc),_0x7a4fdb({'imageOpacity':_0x191efc}),_0x571b33[_0x229fc0(0x4ef)](u[_0x229fc0(0x2c4)],!0x1);},'onFocus':()=>_0x571b33[_0x5756e6(0x4ef)](u[_0x5756e6(0x2c4)],!0x0),'onBlur':()=>_0x571b33['setContextValue'](u[_0x5756e6(0x2c4)],!0x1)})})]}),(0x0,x[_0x5756e6(0x509)])(v[_0x5756e6(0x299)],{'checked':_0xf18227,'disabled':_0x26c3a6,'onChange':_0x1d6b45=>{const _0x4b8423=_0x5756e6;let _0x5249c6=_0x1d6b45?c[_0x4b8423(0x336)]['Tile']:c[_0x4b8423(0x336)][_0x4b8423(0x658)];_0x4a8988(_0x5249c6),_0x7a4fdb({'imageFillMode':_0x5249c6});},'children':(0x0,x['jsx'])(_0x5756e6(0x2a0),{'className':_0x5756e6(0x319),'children':_0x12e632(_0x5756e6(0x2a8))})}),_0xf18227&&(0x0,x['jsxs'])(_0x5756e6(0x632),{'className':_0x5756e6(0x4ca),'children':[(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632('docs-shape-ui.fill.picture.offsetX')}),(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':_0x5756e6(0x255),'children':(0x0,x[_0x5756e6(0x509)])(v[_0x5756e6(0x2a9)],{'className':_0x5756e6(0x347),'value':_0x4d7066,'disabled':_0x26c3a6,'step':0x1,'onChange':_0x37bee2=>{_0x1e9299({'offsetX':_0x37bee2==null?0x0:_0x37bee2}),_0x5ca96f(_0x37bee2==null?0x0:_0x37bee2);},'onFocus':()=>_0x571b33[_0x5756e6(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x571b33['setContextValue'](u[_0x5756e6(0x2c4)],!0x1)})})]}),(0x0,x[_0x5756e6(0x51f)])('div',{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632('docs-shape-ui.fill.picture.offsetY')}),(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':_0x5756e6(0x255),'children':(0x0,x[_0x5756e6(0x509)])(v['InputNumber'],{'className':_0x5756e6(0x347),'value':_0x3897aa,'disabled':_0x26c3a6,'step':0x1,'onChange':_0x410a82=>{_0x1e9299({'offsetY':_0x410a82==null?0x0:_0x410a82}),_0x3271b7(_0x410a82==null?0x0:_0x410a82);},'onFocus':()=>_0x571b33[_0x5756e6(0x4ef)](u[_0x5756e6(0x2c4)],!0x0),'onBlur':()=>_0x571b33['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x['jsxs'])(_0x5756e6(0x632),{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632('docs-shape-ui.fill.picture.scaleX')}),(0x0,x['jsx'])(_0x5756e6(0x632),{'className':_0x5756e6(0x255),'children':(0x0,x['jsx'])(v['InputNumber'],{'className':_0x5756e6(0x347),'value':_0x58a36c,'disabled':_0x26c3a6,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x5cc462=>_0x5cc462+'%','parser':_0x1f212d=>(_0x1f212d==null?void 0x0:_0x1f212d[_0x5756e6(0x41a)]('%',''))||'','onChange':_0x7ce6eb=>{const _0x33de99=_0x5756e6;let _0x2df485=Math[_0x33de99(0x379)](0.01,(_0x7ce6eb==null?0x64:_0x7ce6eb)/0x64);_0x4186cc(_0x2df485),_0x1e9299({'scaleX':_0x2df485}),_0x571b33[_0x33de99(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x571b33['setContextValue'](u[_0x5756e6(0x2c4)],!0x0),'onBlur':()=>_0x571b33[_0x5756e6(0x4ef)](u[_0x5756e6(0x2c4)],!0x1)})})]}),(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632(_0x5756e6(0x3a2))}),(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':_0x5756e6(0x255),'children':(0x0,x[_0x5756e6(0x509)])(v['InputNumber'],{'className':_0x5756e6(0x347),'value':_0x48902d,'disabled':_0x26c3a6,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x4ff4f0=>_0x4ff4f0+'%','parser':_0xdacf0e=>(_0xdacf0e==null?void 0x0:_0xdacf0e[_0x5756e6(0x41a)]('%',''))||'','onChange':_0x4d670a=>{const _0x46f11f=_0x5756e6;let _0x17e858=Math[_0x46f11f(0x379)](0.01,(_0x4d670a==null?0x64:_0x4d670a)/0x64);_0x5cdfc1(_0x17e858),_0x1e9299({'scaleY':_0x17e858}),_0x571b33['setContextValue'](u[_0x46f11f(0x2c4)],!0x1);},'onFocus':()=>_0x571b33[_0x5756e6(0x4ef)](u[_0x5756e6(0x2c4)],!0x0),'onBlur':()=>_0x571b33[_0x5756e6(0x4ef)](u[_0x5756e6(0x2c4)],!0x1)})})]}),(0x0,x[_0x5756e6(0x51f)])(_0x5756e6(0x632),{'className':_0x43b581,'children':[(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x2a0),{'className':_0x49c7e4,'children':_0x12e632(_0x5756e6(0x479))}),(0x0,x[_0x5756e6(0x509)])(_0x5756e6(0x632),{'className':'univer-w-28','children':(0x0,x[_0x5756e6(0x509)])(v[_0x5756e6(0x3be)],{'className':_0x5756e6(0x347),'value':_0x3265ce,'options':_0x444b36,'disabled':_0x26c3a6,'onChange':_0x3d9b83=>{_0x2a3806(_0x3d9b83),_0x1e9299({'alignment':_0x3d9b83});}})})]})]}),(0x0,x[_0x5756e6(0x509)])(v[_0x5756e6(0x299)],{'checked':_0x32db17,'disabled':_0x26c3a6,'onChange':_0x39019d=>{_0x4ac9a6(_0x39019d),_0x7a4fdb({'imageRotateWithShape':_0x39019d});},'children':(0x0,x[_0x5756e6(0x509)])('span',{'className':_0x5756e6(0x319),'children':_0x12e632(_0x5756e6(0x2b7))})})]});}function re(_0x168823){const _0x2d609b=_0x4f29eb;var _0x132540,_0x2031ea;return(_0x132540=(_0x2031ea=_0x168823['fill'])==null?void 0x0:_0x2031ea[_0x2d609b(0x2d9)])==null?c['ShapeFillEnum'][_0x2d609b(0x2ef)]:_0x132540;}function ie(_0x216643){const _0x599c9e=_0x4f29eb;var _0x1a54bb,_0x20c290,_0x43d653,_0xffefe1;let _0x144a72=(0x0,g[_0x599c9e(0x659)])(u[_0x599c9e(0x456)]),_0xae377b=(0x0,g['useDependency'])(u[_0x599c9e(0x355)]),_0x4eb905=(0x0,g[_0x599c9e(0x659)])(u[_0x599c9e(0x2d6)]),{shapeData:_0x466666,isLineShape:_0x31d5c1,unitId:_0x3dc377,subUnitId:_0x16c4fd,shapeId:_0x3c2784,disableShapeOption:_0x703a6a}=_0x216643,[_0x13f8d2,_0x46100e]=(0x0,y[_0x599c9e(0x2bc)])(re(_0x466666)),[_0x1b9d7c,_0x40c0c1]=(0x0,y[_0x599c9e(0x2bc)])((_0x1a54bb=(_0x20c290=_0x466666['fill'])==null?void 0x0:_0x20c290['color'])==null?c[_0x599c9e(0x62c)][_0x599c9e(0x47e)]:_0x1a54bb),[_0x3ec8ef,_0x481675]=(0x0,y[_0x599c9e(0x2bc)])((_0x43d653=(_0xffefe1=_0x466666['fill'])==null?void 0x0:_0xffefe1[_0x599c9e(0x45c)])==null?0x1:_0x43d653),[_0x423fb4,_0x542559]=(0x0,y[_0x599c9e(0x2bc)])(!0x1);if(_0x31d5c1)return null;let _0x2b4623=0x64-_0x3ec8ef*0x64;return(0x0,x[_0x599c9e(0x51f)])(_0x599c9e(0x632),{'className':_0x599c9e(0x3fd),'children':[(0x0,x[_0x599c9e(0x51f)])(v['RadioGroup'],{'value':_0x13f8d2,'disabled':_0x703a6a,'onChange':_0x1a25ce=>{const _0x2de03d=_0x599c9e;var _0x36275c;z(_0xae377b,_0x3dc377,_0x16c4fd,_0x3c2784,{'oldShapeData':{'fill':{'fillType':(_0x36275c=_0x466666[_0x2de03d(0x47e)])==null?void 0x0:_0x36275c[_0x2de03d(0x2d9)]}}},{'fill':{'fillType':_0x1a25ce}}),_0x46100e(_0x1a25ce);},'direction':_0x599c9e(0x317),'children':[(0x0,x['jsx'])(v[_0x599c9e(0x47a)],{'value':c[_0x599c9e(0x64b)][_0x599c9e(0x2ef)],'children':(0x0,x[_0x599c9e(0x509)])(_0x599c9e(0x2a0),{'className':_0x599c9e(0x319),'children':_0x144a72['t'](_0x599c9e(0x284))})}),(0x0,x[_0x599c9e(0x509)])(v[_0x599c9e(0x47a)],{'value':c[_0x599c9e(0x64b)][_0x599c9e(0x67d)],'children':(0x0,x['jsx'])(_0x599c9e(0x2a0),{'className':_0x599c9e(0x319),'children':_0x144a72['t'](_0x599c9e(0x4ee))})}),(0x0,x[_0x599c9e(0x509)])(v[_0x599c9e(0x47a)],{'value':c[_0x599c9e(0x64b)][_0x599c9e(0x1af)],'children':(0x0,x['jsx'])(_0x599c9e(0x2a0),{'className':_0x599c9e(0x319),'children':_0x144a72['t']('docs-shape-ui.fill.gradientFill')})}),(0x0,x[_0x599c9e(0x509)])(v['Radio'],{'value':c[_0x599c9e(0x64b)]['PictureFill'],'children':(0x0,x[_0x599c9e(0x509)])(_0x599c9e(0x2a0),{'className':'univer-text-sm','children':_0x144a72['t'](_0x599c9e(0x440))})})]}),_0x13f8d2===c[_0x599c9e(0x64b)][_0x599c9e(0x67d)]&&(0x0,x['jsxs'])(_0x599c9e(0x632),{'className':_0x599c9e(0x552),'children':[(0x0,x[_0x599c9e(0x51f)])('div',{'className':_0x599c9e(0x398),'children':[(0x0,x['jsx'])(_0x599c9e(0x2a0),{'className':_0x599c9e(0x59f),'children':_0x144a72['t'](_0x599c9e(0x53f))}),(0x0,x[_0x599c9e(0x509)])(v[_0x599c9e(0x312)],{'disabled':_0x703a6a,'overlay':(0x0,x['jsx'])(_0x599c9e(0x632),{'className':_0x599c9e(0x691),'children':(0x0,x[_0x599c9e(0x509)])(v[_0x599c9e(0x3e7)],{'value':_0x1b9d7c,'onChange':_0x4bc808=>{const _0x576692=_0x599c9e;var _0xa51c43;z(_0xae377b,_0x3dc377,_0x16c4fd,_0x3c2784,{'oldShapeData':{'fill':{'color':(_0xa51c43=_0x466666[_0x576692(0x47e)])==null?void 0x0:_0xa51c43[_0x576692(0x24b)]}}},{'fill':{'color':_0x4bc808}}),_0x40c0c1(_0x4bc808),_0x542559(!0x1);}})}),'open':_0x423fb4,'onOpenChange':_0x542559,'children':(0x0,x[_0x599c9e(0x51f)])('a',{'className':_0x599c9e(0x3ce),'children':[(0x0,x[_0x599c9e(0x509)])(h['PaintBucketDoubleIcon'],{'className':_0x599c9e(0x217),'extend':{'colorChannel1':_0x1b9d7c}}),(0x0,x['jsx'])(h['MoreDownIcon'],{'className':(0x0,v[_0x599c9e(0x656)])(_0x599c9e(0x69b),{'univer-rotate-180':_0x423fb4})})]})})]}),(0x0,x['jsxs'])(_0x599c9e(0x632),{'className':_0x599c9e(0x43c),'children':[(0x0,x[_0x599c9e(0x509)])(_0x599c9e(0x2a0),{'className':_0x599c9e(0x281),'children':_0x144a72['t'](_0x599c9e(0x681))}),(0x0,x[_0x599c9e(0x509)])(_0x599c9e(0x632),{'className':_0x599c9e(0x2a5),'children':(0x0,x[_0x599c9e(0x509)])('div',{'className':_0x599c9e(0x255),'children':(0x0,x[_0x599c9e(0x509)])(v[_0x599c9e(0x2a9)],{'className':_0x599c9e(0x347),'value':_0x2b4623,'disabled':_0x703a6a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x55711b=>_0x55711b+'%','parser':_0x42e010=>(_0x42e010==null?void 0x0:_0x42e010['replace']('%',''))||'','onChange':_0x123999=>{const _0x4fb483=_0x599c9e;let _0x59eecd=(0x64-Math[_0x4fb483(0x379)](0x0,Math[_0x4fb483(0x4b0)](0x64,_0x123999==null?0x0:_0x123999)))/0x64;_0x481675(_0x59eecd),z(_0xae377b,_0x3dc377,_0x16c4fd,_0x3c2784,{'oldShapeData':{'fill':{..._0x466666[_0x4fb483(0x47e)],'fillType':_0x13f8d2}}},{'fill':{..._0x466666['fill'],'fillType':_0x13f8d2,'opacity':_0x59eecd}}),_0x4eb905[_0x4fb483(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4eb905[_0x599c9e(0x4ef)](u[_0x599c9e(0x2c4)],!0x0),'onBlur':()=>{const _0x51a93c=_0x599c9e;_0x4eb905[_0x51a93c(0x4ef)](u[_0x51a93c(0x2c4)],!0x1);}})})})]})]}),_0x13f8d2===c[_0x599c9e(0x64b)]['GradientFill']&&(0x0,x['jsx'])(J,{'shapeData':_0x466666,'disableShapeOption':_0x703a6a,'onUpdate':_0xa030d2=>{z(_0xae377b,_0x3dc377,_0x16c4fd,_0x3c2784,{'oldShapeData':{'fill':{..._0x466666['fill']}}},{'fill':{..._0x466666['fill'],..._0xa030d2}});}}),_0x13f8d2===c[_0x599c9e(0x64b)][_0x599c9e(0x5f7)]&&(0x0,x[_0x599c9e(0x509)])(ne,{'unitId':_0x3dc377,'subUnitId':_0x16c4fd,'shapeId':_0x3c2784,'shapeData':_0x466666,'disableShapeOption':_0x703a6a})]});}function q(_0x12f162){const _0x415a13=_0x4f29eb;switch(_0x12f162){case c['ShapeGradientTypeEnum']['Linear']:return _0x415a13(0x26a);case c[_0x415a13(0x630)][_0x415a13(0x66e)]:return _0x415a13(0x472);case c[_0x415a13(0x630)]['Angular']:return _0x415a13(0x5ed);case c[_0x415a13(0x630)][_0x415a13(0x65f)]:return'diamond';default:return _0x415a13(0x26a);}}function ae(_0x5930e6){const _0xdf5725=_0x4f29eb;switch(_0x5930e6){case _0xdf5725(0x26a):return c[_0xdf5725(0x630)]['Linear'];case _0xdf5725(0x472):return c[_0xdf5725(0x630)][_0xdf5725(0x66e)];case'angular':return c[_0xdf5725(0x630)][_0xdf5725(0x1aa)];case _0xdf5725(0x668):return c[_0xdf5725(0x630)]['Diamond'];default:return c[_0xdf5725(0x630)][_0xdf5725(0x35d)];}}function J(_0x1e551d){const _0x44a04a=_0x4f29eb;let {shapeData:_0x27587a,disableShapeOption:_0xeada4a,onUpdate:_0x225d6e}=_0x1e551d,_0x8d6987=(0x0,y['useMemo'])(()=>{const _0x5b5017=_0x15ba;var _0xbf534f;let _0x4b92ab=_0x27587a[_0x5b5017(0x47e)];return{'type':q(_0x4b92ab==null?void 0x0:_0x4b92ab[_0x5b5017(0x67f)]),'angle':(_0xbf534f=_0x4b92ab==null?void 0x0:_0x4b92ab[_0x5b5017(0x570)])==null?0x5a:_0xbf534f,'stops':_0x4b92ab!=null&&_0x4b92ab[_0x5b5017(0x2be)]&&_0x4b92ab[_0x5b5017(0x2be)][_0x5b5017(0x47b)]>=0x2?_0x4b92ab[_0x5b5017(0x2be)][_0x5b5017(0x62f)](_0x19b198=>({'color':_0x19b198['color'],'offset':_0x19b198['position']*0x64})):[{'color':(_0x4b92ab==null?void 0x0:_0x4b92ab[_0x5b5017(0x24b)])||_0x5b5017(0x4fe),'offset':0x0},{'color':'#000000','offset':0x64}]};},[_0x27587a['fill']]);return(0x0,x[_0x44a04a(0x509)])('div',{'className':_0x44a04a(0x2cc),'children':(0x0,x[_0x44a04a(0x509)])(v[_0x44a04a(0x1a5)],{'value':_0x8d6987,'onChange':_0x3b36aa=>{const _0x2efdad=_0x44a04a;let _0x36b708=ae(_0x3b36aa[_0x2efdad(0x587)]),_0x5b04b5=_0x3b36aa[_0x2efdad(0x270)];_0x225d6e({'gradientType':_0x36b708,'gradientAngle':_0x5b04b5,'gradientStops':_0x3b36aa[_0x2efdad(0x302)]['map'](_0x364554=>({'color':_0x364554[_0x2efdad(0x24b)],'position':_0x364554[_0x2efdad(0x585)]/0x64}))});}})});}function oe(_0x324bfe){const _0x306043=_0x4f29eb;var _0x5f0be5,_0x8a8012,_0x2f4290,_0x399d2b,_0x51b1f4,_0x55c63d,_0xdff840,_0x25584f,_0x46597c,_0x4a76d9,_0x387cb1,_0x2d4ccf,_0x4ca168,_0x4a7e80,_0x4d9d88,_0x2ac521;let _0x1b3cea=(0x0,g['useDependency'])(u[_0x306043(0x456)]),_0x5d7507=(0x0,g[_0x306043(0x659)])(u[_0x306043(0x355)]),_0x1ed486=(0x0,g[_0x306043(0x659)])(u['IContextService']),{shapeData:_0x3a5230,isLineShape:_0x552908,unitId:_0x20e078,subUnitId:_0x281301,shapeId:_0xa6df8c,disableShapeOption:_0x1756cd}=_0x324bfe,_0x181b7d=_0x3a5230[_0x306043(0x38e)],[_0x219cdd,_0x15ffc9]=(0x0,y[_0x306043(0x2bc)])((_0x5f0be5=_0x181b7d==null?void 0x0:_0x181b7d['lineStrokeType'])==null?c[_0x306043(0x275)][_0x306043(0x603)]:_0x5f0be5),[_0x27c74d,_0x3cbb1e]=(0x0,y[_0x306043(0x2bc)])((_0x8a8012=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x24b)])==null?c['ShapeDefaultConfig']['stroke']:_0x8a8012),[_0x1476fe,_0x49eab5]=(0x0,y[_0x306043(0x2bc)])((_0x2f4290=_0x181b7d==null?void 0x0:_0x181b7d['opacity'])==null?0x1:_0x2f4290),[_0x51dcf8,_0x38b110]=(0x0,y[_0x306043(0x2bc)])((_0x399d2b=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x640)])==null?c[_0x306043(0x62c)]['strokeWidth']:_0x399d2b),[_0x1a82af,_0x39c4aa]=(0x0,y[_0x306043(0x2bc)])((_0x51b1f4=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x536)])==null?c[_0x306043(0x503)]['Solid']:_0x51b1f4),[_0x325705,_0x9d0cc1]=(0x0,y[_0x306043(0x2bc)])((_0x55c63d=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x64a)])==null?c['ShapeLineCapEnum']['Flat']:_0x55c63d),[_0x28e214,_0x53454b]=(0x0,y['useState'])((_0xdff840=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x3cc)])==null?c[_0x306043(0x5d3)][_0x306043(0x60d)]:_0xdff840),[_0x35c20c,_0x2ae50b]=(0x0,y['useState'])((_0x25584f=_0x181b7d==null?void 0x0:_0x181b7d[_0x306043(0x475)])==null?c[_0x306043(0x5bd)][_0x306043(0x3f2)]:_0x25584f),_0xd0ede0=_0x3a5230,[_0x435e1b,_0x38c15c]=(0x0,y[_0x306043(0x2bc)])((_0x46597c=(_0x4a76d9=_0xd0ede0['ln'])==null||(_0x4a76d9=_0x4a76d9['startArrow'])==null?void 0x0:_0x4a76d9[_0x306043(0x587)])==null?c['ShapeArrowTypeEnum'][_0x306043(0x3f2)]:_0x46597c),[_0x465ea4,_0x578415]=(0x0,y[_0x306043(0x2bc)])((_0x387cb1=(_0x2d4ccf=_0xd0ede0['ln'])==null||(_0x2d4ccf=_0x2d4ccf[_0x306043(0x628)])==null?void 0x0:_0x2d4ccf[_0x306043(0x512)])==null?c['ShapeArrowSizeEnum']['Medium']:_0x387cb1),[_0x2d155d,_0x14c64a]=(0x0,y['useState'])((_0x4ca168=(_0x4a7e80=_0xd0ede0['ln'])==null||(_0x4a7e80=_0x4a7e80[_0x306043(0x643)])==null?void 0x0:_0x4a7e80[_0x306043(0x587)])==null?c[_0x306043(0x3f1)][_0x306043(0x3f2)]:_0x4ca168),[_0x1dc03d,_0x3209cb]=(0x0,y[_0x306043(0x2bc)])((_0x4d9d88=(_0x2ac521=_0xd0ede0['ln'])==null||(_0x2ac521=_0x2ac521['endArrow'])==null?void 0x0:_0x2ac521[_0x306043(0x512)])==null?c['ShapeArrowSizeEnum'][_0x306043(0x565)]:_0x4d9d88),[_0x500d90,_0x7ac22]=(0x0,y[_0x306043(0x2bc)])(!0x1),_0x214f47=0x64-_0x1476fe*0x64,_0x318133=[{'label':_0x1b3cea['t'](_0x306043(0x61a)),'value':String(c['ShapeLineDashEnum']['Solid'])},{'label':_0x1b3cea['t'](_0x306043(0x507)),'value':String(c['ShapeLineDashEnum']['RoundDot'])},{'label':_0x1b3cea['t'](_0x306043(0x5b1)),'value':String(c['ShapeLineDashEnum'][_0x306043(0x244)])},{'label':_0x1b3cea['t']('docs-shape-ui.line.dashType.dash'),'value':String(c['ShapeLineDashEnum'][_0x306043(0x685)])},{'label':_0x1b3cea['t'](_0x306043(0x613)),'value':String(c['ShapeLineDashEnum'][_0x306043(0x5c2)])},{'label':_0x1b3cea['t'](_0x306043(0x45a)),'value':String(c[_0x306043(0x503)][_0x306043(0x2ed)])},{'label':_0x1b3cea['t'](_0x306043(0x362)),'value':String(c['ShapeLineDashEnum'][_0x306043(0x5f1)])},{'label':_0x1b3cea['t'](_0x306043(0x534)),'value':String(c[_0x306043(0x503)][_0x306043(0x220)])}],_0x352d38=[{'label':_0x1b3cea['t'](_0x306043(0x30c)),'value':String(c[_0x306043(0x2e6)]['Flat'])},{'label':_0x1b3cea['t'](_0x306043(0x558)),'value':String(c[_0x306043(0x2e6)][_0x306043(0x36a)])},{'label':_0x1b3cea['t']('docs-shape-ui.line.capType.square'),'value':String(c[_0x306043(0x2e6)][_0x306043(0x544)])}],_0x576caf=[{'label':_0x1b3cea['t'](_0x306043(0x5f8)),'value':String(c[_0x306043(0x5bd)][_0x306043(0x3f2)])},{'label':_0x1b3cea['t'](_0x306043(0x22a)),'value':String(c[_0x306043(0x5bd)]['Curved'])},{'label':_0x1b3cea['t'](_0x306043(0x4d3)),'value':String(c['ShapeSketchTypeEnum']['Freehand'])},{'label':_0x1b3cea['t']('docs-shape-ui.line.sketchType.handDrawn'),'value':String(c[_0x306043(0x5bd)][_0x306043(0x1d5)])}],_0xb8537a=[{'label':_0x1b3cea['t'](_0x306043(0x675)),'value':String(c['ShapeLineJoinEnum']['Miter'])},{'label':_0x1b3cea['t']('docs-shape-ui.line.joinType.round'),'value':String(c[_0x306043(0x5d3)][_0x306043(0x36a)])},{'label':_0x1b3cea['t']('docs-shape-ui.line.joinType.bevel'),'value':String(c[_0x306043(0x5d3)][_0x306043(0x497)])}],_0xea441=[{'label':_0x1b3cea['t'](_0x306043(0x586)),'value':String(c['ShapeArrowTypeEnum']['None'])},{'label':_0x1b3cea['t'](_0x306043(0x2bf)),'value':String(c[_0x306043(0x3f1)]['Arrow'])},{'label':_0x1b3cea['t']('docs-shape-ui.line.arrowType.openArrow'),'value':String(c['ShapeArrowTypeEnum']['OpenArrow'])},{'label':_0x1b3cea['t'](_0x306043(0x56c)),'value':String(c[_0x306043(0x3f1)][_0x306043(0x5c5)])},{'label':_0x1b3cea['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(c['ShapeArrowTypeEnum'][_0x306043(0x5c6)])},{'label':_0x1b3cea['t'](_0x306043(0x2c7)),'value':String(c['ShapeArrowTypeEnum'][_0x306043(0x44e)])}],_0xb21e07=[{'label':_0x1b3cea['t'](_0x306043(0x560)),'value':String(c[_0x306043(0x615)][_0x306043(0x4a7)])},{'label':_0x1b3cea['t']('docs-shape-ui.line.arrowSize.medium'),'value':String(c[_0x306043(0x615)]['Medium'])},{'label':_0x1b3cea['t']('docs-shape-ui.line.arrowSize.large'),'value':String(c[_0x306043(0x615)][_0x306043(0x532)])}];return(0x0,x['jsxs'])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,x[_0x306043(0x51f)])(v[_0x306043(0x25e)],{'value':String(_0x219cdd),'disabled':_0x1756cd,'onChange':_0x448c82=>{const _0x369c6e=_0x306043;var _0x5ae39a;_0x15ffc9(Number(_0x448c82)),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x5ae39a=_0x3a5230[_0x369c6e(0x38e)])==null?void 0x0:_0x5ae39a[_0x369c6e(0x4be)]}}},{'stroke':{'lineStrokeType':Number(_0x448c82)}});},'direction':'vertical','children':[(0x0,x[_0x306043(0x509)])(v['Radio'],{'value':String(c[_0x306043(0x275)][_0x306043(0x3aa)]),'children':(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':_0x306043(0x319),'children':_0x1b3cea['t'](_0x306043(0x492))})}),(0x0,x['jsx'])(v[_0x306043(0x47a)],{'value':String(c[_0x306043(0x275)][_0x306043(0x603)]),'children':(0x0,x['jsx'])(_0x306043(0x2a0),{'className':'univer-text-sm','children':_0x1b3cea['t'](_0x306043(0x1f6))})})]}),_0x219cdd!==c['ShapeLineTypeEnum'][_0x306043(0x3aa)]&&(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':_0x306043(0x552),'children':[(0x0,x[_0x306043(0x51f)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x306043(0x509)])('span',{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x692))}),(0x0,x[_0x306043(0x509)])(v[_0x306043(0x312)],{'disabled':_0x1756cd,'overlay':(0x0,x['jsx'])('div',{'className':_0x306043(0x691),'children':(0x0,x['jsx'])(v[_0x306043(0x3e7)],{'value':_0x27c74d,'onChange':_0x456e49=>{const _0x586b32=_0x306043;var _0x22a3c6;z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'color':(_0x22a3c6=_0x3a5230[_0x586b32(0x38e)])==null?void 0x0:_0x22a3c6[_0x586b32(0x24b)]}}},{'stroke':{'color':_0x456e49}}),_0x3cbb1e(_0x456e49),_0x7ac22(!0x1);}})}),'open':_0x500d90,'onOpenChange':_0x7ac22,'children':(0x0,x['jsxs'])('a',{'className':_0x306043(0x3ce),'children':[(0x0,x[_0x306043(0x509)])(h[_0x306043(0x4af)],{'className':_0x306043(0x581),'extend':{'colorChannel1':_0x27c74d}}),(0x0,x[_0x306043(0x509)])(h['MoreDownIcon'],{'className':(0x0,v[_0x306043(0x656)])(_0x306043(0x69b),{'univer-rotate-180':_0x500d90})})]})})]}),(0x0,x[_0x306043(0x51f)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,x[_0x306043(0x509)])('span',{'className':_0x306043(0x281),'children':_0x1b3cea['t'](_0x306043(0x29d))}),(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x43c),'children':(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x3dd),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x2a9)],{'className':_0x306043(0x347),'value':_0x214f47,'disabled':_0x1756cd,'min':0x0,'max':0x64,'formatter':_0x59c3e6=>_0x59c3e6+'%','parser':_0x9e398d=>(_0x9e398d==null?void 0x0:_0x9e398d[_0x306043(0x41a)]('%',''))||'','onChange':_0x13e68f=>{const _0x1b2082=_0x306043;var _0x39c79e;let _0x156118=(0x64-Math['max'](0x0,Math[_0x1b2082(0x4b0)](0x64,_0x13e68f==null?0x0:_0x13e68f)))/0x64;_0x49eab5(_0x156118),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'opacity':(_0x39c79e=_0x3a5230['stroke'])==null?void 0x0:_0x39c79e[_0x1b2082(0x45c)]}}},{'stroke':{'opacity':_0x156118}}),_0x1ed486[_0x1b2082(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1ed486[_0x306043(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x4c0e46=>{const _0x5b3dc9=_0x306043;_0x1ed486[_0x5b3dc9(0x4ef)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]}),(0x0,x['jsxs'])(_0x306043(0x632),{'className':_0x306043(0x43c),'children':[(0x0,x['jsx'])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1b3cea['t'](_0x306043(0x6c2))}),(0x0,x[_0x306043(0x509)])(_0x306043(0x632),{'className':_0x306043(0x255),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x2a9)],{'className':'univer-w-full','disabled':_0x1756cd,'value':_0x51dcf8,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x3e622a=>_0x3e622a+_0x306043(0x303),'parser':_0x44bc08=>(_0x44bc08==null?void 0x0:_0x44bc08[_0x306043(0x41a)]('\x20px',''))||'','onChange':_0x3c23f5=>{const _0x2f8f23=_0x306043;if(!Number[_0x2f8f23(0x5a6)](_0x3c23f5)&&_0x3c23f5!==null){var _0x20b8be;z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'width':(_0x20b8be=_0x3a5230[_0x2f8f23(0x38e)])==null?void 0x0:_0x20b8be[_0x2f8f23(0x640)]}}},{'stroke':{'width':_0x3c23f5}});}_0x1ed486['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1ed486[_0x306043(0x4ef)](u[_0x306043(0x2c4)],!0x0),'onBlur':_0xe531a8=>{const _0x41b371=_0x306043;_0x1ed486['setContextValue'](u[_0x41b371(0x2c4)],!0x1);}})})]}),(0x0,x[_0x306043(0x51f)])('div',{'className':_0x306043(0x398),'children':[(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x419))}),(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v['Select'],{'className':_0x306043(0x347),'value':String(_0x1a82af),'options':_0x318133,'disabled':_0x1756cd,'onChange':_0x442b81=>{const _0x341971=_0x306043;var _0xca5258;_0x39c4aa(Number(_0x442b81)),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'dashType':(_0xca5258=_0x3a5230[_0x341971(0x38e)])==null?void 0x0:_0xca5258[_0x341971(0x536)]}}},{'stroke':{'dashType':Number(_0x442b81)}});}})})]}),(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t']('docs-shape-ui.line.capType.title')}),(0x0,x[_0x306043(0x509)])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':'univer-w-full','value':String(_0x325705),'options':_0x352d38,'disabled':_0x1756cd,'onChange':_0x48ea2b=>{const _0x358682=_0x306043;var _0x3239ed;_0x9d0cc1(Number(_0x48ea2b)),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'capType':(_0x3239ed=_0x3a5230[_0x358682(0x38e)])==null?void 0x0:_0x3239ed['capType']}}},{'stroke':{'capType':Number(_0x48ea2b)}});}})})]}),(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x202))}),(0x0,x[_0x306043(0x509)])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':_0x306043(0x347),'value':String(_0x28e214),'options':_0xb8537a,'disabled':_0x1756cd,'onChange':_0x41a8e6=>{const _0x1b8e57=_0x306043;var _0x1fce93;_0x53454b(Number(_0x41a8e6)),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'lineJoinType':(_0x1fce93=_0x3a5230[_0x1b8e57(0x38e)])==null?void 0x0:_0x1fce93[_0x1b8e57(0x3cc)]}}},{'stroke':{'lineJoinType':Number(_0x41a8e6)}});}})})]}),!_0x552908&&(0x0,x['jsxs'])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x3db))}),(0x0,x[_0x306043(0x509)])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':_0x306043(0x347),'value':String(_0x35c20c),'options':_0x576caf,'disabled':_0x1756cd,'onChange':_0x538367=>{const _0x368871=_0x306043;var _0x557768;_0x2ae50b(Number(_0x538367)),z(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'stroke':{'sketchType':(_0x557768=_0x3a5230[_0x368871(0x38e)])==null?void 0x0:_0x557768[_0x368871(0x475)]}}},{'stroke':{'sketchType':Number(_0x538367)}});}})})]}),_0x552908&&(0x0,x[_0x306043(0x51f)])(x[_0x306043(0x367)],{'children':[(0x0,x['jsxs'])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x['jsx'])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x232))}),(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x['jsx'])(v[_0x306043(0x3be)],{'className':_0x306043(0x347),'value':String(_0x435e1b),'options':_0xea441,'onChange':_0x47a0f5=>{const _0x5bd324=_0x306043;var _0xb137e7;_0x38c15c(Number(_0x47a0f5)),B(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'ln':{'startArrow':{'type':(_0xb137e7=_0x3a5230['ln'])==null||(_0xb137e7=_0xb137e7[_0x5bd324(0x628)])==null?void 0x0:_0xb137e7[_0x5bd324(0x587)]}}}},{'ln':{'startArrow':{'type':Number(_0x47a0f5)}}});}})})]}),(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x306043(0x509)])(_0x306043(0x2a0),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1b3cea['t'](_0x306043(0x597))}),(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':'univer-w-full','value':String(_0x465ea4),'options':_0xb21e07,'onChange':_0x47c807=>{const _0xfc3e3f=_0x306043;var _0x1a249b;_0x578415(Number(_0x47c807)),B(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x1a249b=_0x3a5230['ln'])==null||(_0x1a249b=_0x1a249b[_0xfc3e3f(0x628)])==null?void 0x0:_0x1a249b['size']}}}},{'ln':{'startArrow':{'size':Number(_0x47c807)}}});}})})]}),(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x[_0x306043(0x509)])('span',{'className':_0x306043(0x59f),'children':_0x1b3cea['t']('docs-shape-ui.line.endArrowType')}),(0x0,x['jsx'])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':_0x306043(0x347),'value':String(_0x2d155d),'options':_0xea441,'onChange':_0x3fa950=>{const _0x141404=_0x306043;var _0x2a3a69;_0x14c64a(Number(_0x3fa950)),B(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x2a3a69=_0x3a5230['ln'])==null||(_0x2a3a69=_0x2a3a69[_0x141404(0x643)])==null?void 0x0:_0x2a3a69[_0x141404(0x587)]}}}},{'ln':{'endArrow':{'type':Number(_0x3fa950)}}});}})})]}),(0x0,x[_0x306043(0x51f)])(_0x306043(0x632),{'className':_0x306043(0x398),'children':[(0x0,x['jsx'])(_0x306043(0x2a0),{'className':_0x306043(0x59f),'children':_0x1b3cea['t'](_0x306043(0x3d6))}),(0x0,x[_0x306043(0x509)])(_0x306043(0x632),{'className':_0x306043(0x617),'children':(0x0,x[_0x306043(0x509)])(v[_0x306043(0x3be)],{'className':_0x306043(0x347),'value':String(_0x1dc03d),'options':_0xb21e07,'onChange':_0x2c50ab=>{const _0x4f2c5a=_0x306043;var _0x59e0c3;_0x3209cb(Number(_0x2c50ab)),B(_0x5d7507,_0x20e078,_0x281301,_0xa6df8c,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x59e0c3=_0x3a5230['ln'])==null||(_0x59e0c3=_0x59e0c3[_0x4f2c5a(0x643)])==null?void 0x0:_0x59e0c3[_0x4f2c5a(0x512)]}}}},{'ln':{'endArrow':{'size':Number(_0x2c50ab)}}});}})})]})]})]})]});}function Y(){const _0x3407a5=_0x4f29eb;let _0x159a4e=(0x0,g[_0x3407a5(0x659)])(m[_0x3407a5(0x5d2)]),[_0x538f5b,_0x164920]=(0x0,y[_0x3407a5(0x2bc)])(_0x159a4e['getFocusDrawings']());return(0x0,y[_0x3407a5(0x4b4)])(()=>{const _0x49034f=_0x3407a5;let _0x26a8ab=_0x159a4e[_0x49034f(0x52f)][_0x49034f(0x32f)](_0xba37d5=>{_0x164920(_0xba37d5);});return()=>{const _0x503012=_0x49034f;_0x26a8ab[_0x503012(0x429)]();};},[]),_0x538f5b[_0x3407a5(0x47b)]===0x0?null:(0x0,x[_0x3407a5(0x509)])(_0x3407a5(0x632),{'children':(0x0,x['jsxs'])('div',{'className':_0x3407a5(0x324),'children':[(0x0,x[_0x3407a5(0x509)])(b[_0x3407a5(0x1a7)],{'drawings':_0x538f5b,'hasCropper':!0x1}),(0x0,x['jsx'])(d[_0x3407a5(0x231)],{'drawings':_0x538f5b}),(0x0,x[_0x3407a5(0x509)])(d[_0x3407a5(0x4b3)],{'drawings':_0x538f5b})]})});}function X(_0x487a5f){const _0x18fa30=_0x4f29eb;let {shapeData:_0x4fb910,shapeId:_0x294b99,shapeType:_0x1222ff,version:_0x40a28e,unitId:_0x80893,subUnitId:_0x53a73b,disableShapeOption:_0x466837}=_0x487a5f,_0x45d914=(0x0,g[_0x18fa30(0x659)])(u['LocaleService']),_0x5dd75c=(0x0,c[_0x18fa30(0x5da)])(_0x1222ff),[_0x5803b7,_0x472b40]=(0x0,y[_0x18fa30(0x2bc)])(0x0),_0x44007f=[{'label':(0x0,x['jsx'])(_0x18fa30(0x632),{'children':_0x45d914['t'](_0x18fa30(0x211))}),'children':(0x0,x[_0x18fa30(0x509)])('section',{'className':_0x18fa30(0x42f),'children':(0x0,x[_0x18fa30(0x509)])(ie,{'shapeId':_0x294b99,'shapeData':_0x4fb910,'isLineShape':_0x5dd75c,'subUnitId':_0x53a73b,'unitId':_0x80893,'disableShapeOption':_0x466837},_0x294b99)})},{'label':(0x0,x[_0x18fa30(0x509)])('div',{'children':_0x45d914['t'](_0x18fa30(0x559))}),'children':(0x0,x[_0x18fa30(0x509)])(_0x18fa30(0x4ac),{'className':_0x18fa30(0x42f),'children':(0x0,x[_0x18fa30(0x509)])(oe,{'shapeId':_0x294b99,'shapeData':_0x4fb910,'isLineShape':_0x5dd75c,'subUnitId':_0x53a73b,'unitId':_0x80893,'disableShapeOption':_0x466837},_0x294b99)})}];return(0x0,x[_0x18fa30(0x51f)])(_0x18fa30(0x632),{'className':_0x18fa30(0x5a5),'children':[(0x0,x[_0x18fa30(0x51f)])(_0x18fa30(0x632),{'className':'univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','children':[(0x0,x[_0x18fa30(0x51f)])('div',{'className':(0x0,v['clsx'])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x5803b7===0x0?'univer-text-primary-600':_0x18fa30(0x581)),'onClick':()=>_0x472b40(0x0),'children':[_0x45d914['t'](_0x18fa30(0x1ff)),(0x0,x[_0x18fa30(0x509)])('div',{'className':(0x0,v['clsx'])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x5803b7===0x0,'univer-bg-transparent':_0x5803b7!==0x0})})]}),(0x0,x['jsxs'])(_0x18fa30(0x632),{'className':(0x0,v[_0x18fa30(0x656)])(_0x18fa30(0x1b4),{'univer-text-primary-600':_0x5803b7===0x1,'univer-text-gray-500':_0x5803b7!==0x1}),'onClick':()=>_0x472b40(0x1),'children':[_0x45d914['t']('docs-shape-ui.shapePosition'),(0x0,x[_0x18fa30(0x509)])(_0x18fa30(0x632),{'className':(0x0,v[_0x18fa30(0x656)])(_0x18fa30(0x609),{'univer-bg-primary-600':_0x5803b7===0x1,'univer-bg-transparent':_0x5803b7!==0x1})})]})]}),(0x0,x[_0x18fa30(0x509)])(_0x18fa30(0x632),{'className':_0x18fa30(0x1e8),'children':_0x5803b7===0x0?(0x0,x[_0x18fa30(0x509)])(_0x18fa30(0x632),{'className':'','children':(0x0,x[_0x18fa30(0x509)])(v[_0x18fa30(0x3b7)],{'items':_0x44007f})},_0x40a28e):(0x0,x[_0x18fa30(0x509)])(Y,{})})]});}function se(_0x7834aa,_0x27f292=u[_0x4f29eb(0x650)]['LEFT']){const _0x54eb50=_0x4f29eb;return{'id':_0x54eb50(0x5b4),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x27f292}}]},'documentStyle':{'textStyle':_0x7834aa?{..._0x7834aa}:void 0x0}};}function Z(_0x5b4167,_0x47394a){const _0x2e6fc5=_0x4f29eb;var _0x5279c3,_0x458227;let _0x17afbb=_0x5b4167[_0x2e6fc5(0x335)],_0x38a423=_0x17afbb&&_0x2e6fc5(0x68e)in _0x17afbb?_0x17afbb['dataModel']:void 0x0,_0x4a9d30=(_0x5279c3=(_0x458227=_0x47394a[_0x2e6fc5(0x286)])==null?_0x38a423==null?void 0x0:_0x38a423['ha']:_0x458227)==null?u['HorizontalAlign'][_0x2e6fc5(0x1a8)]:_0x5279c3;if(_0x38a423!=null&&_0x38a423[_0x2e6fc5(0x616)]){var _0x37240e,_0x3ac073;return{'va':(_0x37240e=_0x38a423['va'])==null?u['VerticalAlign']['TOP']:_0x37240e,'ha':(_0x3ac073=_0x38a423['ha'])==null?u['HorizontalAlign'][_0x2e6fc5(0x1a8)]:_0x3ac073,'doc':u['Tools'][_0x2e6fc5(0x392)](_0x38a423[_0x2e6fc5(0x616)])};}return{'va':u['VerticalAlign']['TOP'],'ha':_0x4a9d30,'doc':se(_0x47394a[_0x2e6fc5(0x31b)],_0x4a9d30)};}function ce(_0x2f38fe,_0x4e8859){const _0x536bf3=_0x4f29eb;var _0xb324d,_0x29807a,_0xd293c0,_0x4399d5;let _0x50442c=_0x2f38fe[_0x536bf3(0x335)],_0x358ccb=Z(_0x2f38fe,_0x4e8859),_0x4c8db2=(_0xb324d=_0x4e8859[_0x536bf3(0x286)])==null?_0x358ccb['ha']:_0xb324d,_0x281999=(_0x29807a=_0x4e8859[_0x536bf3(0x4e8)])==null?_0x358ccb['va']:_0x29807a,_0x5e27ab=_0x358ccb['doc'];if(_0x4e8859[_0x536bf3(0x31b)]){var _0x1e52c1,_0x21bd7b;_0x5e27ab[_0x536bf3(0x31e)]={..._0x5e27ab[_0x536bf3(0x31e)],'textStyle':{...(_0x1e52c1=_0x5e27ab[_0x536bf3(0x31e)])==null?void 0x0:_0x1e52c1[_0x536bf3(0x31b)],..._0x4e8859[_0x536bf3(0x31b)]}};let _0x273a63=(_0x21bd7b=_0x5e27ab[_0x536bf3(0x614)])==null?void 0x0:_0x21bd7b[_0x536bf3(0x27b)];if(_0x273a63){for(let _0x37979b of _0x273a63)_0x37979b['ts']={..._0x37979b['ts'],..._0x4e8859[_0x536bf3(0x31b)]};}}let _0x1f3584=(_0xd293c0=_0x5e27ab[_0x536bf3(0x614)])==null?void 0x0:_0xd293c0['paragraphs'];if(_0x1f3584){for(let _0x50b303 of _0x1f3584)_0x50b303['paragraphStyle']={..._0x50b303['paragraphStyle'],'horizontalAlign':_0x4c8db2};}return{'shapeText':{'isHorizontal':(_0x4399d5=_0x50442c==null?void 0x0:_0x50442c[_0x536bf3(0x43d)])==null?!0x0:_0x4399d5,'dataModel':{'va':_0x281999,'ha':_0x4c8db2,'doc':_0x5e27ab}}};}const le=_0x4f29eb(0x5a8);function Q(_0x4f38ee){const _0x54a78e=_0x4f29eb;let _0xfa1f7d=_0x4f38ee[_0x54a78e(0x335)];return _0xfa1f7d&&_0x54a78e(0x68e)in _0xfa1f7d&&_0xfa1f7d['dataModel']?_0xfa1f7d[_0x54a78e(0x68e)]:null;}function ue(_0x672ffb){const _0x15c519=_0x4f29eb;var _0xa05196,_0x1671b4,_0x23d6f0,_0x29347a;let _0x2b5dda=(_0xa05196=Q(_0x672ffb))==null?void 0x0:_0xa05196[_0x15c519(0x616)],_0x35b4e2=(_0x1671b4=_0x2b5dda==null||(_0x23d6f0=_0x2b5dda[_0x15c519(0x614)])==null||(_0x23d6f0=_0x23d6f0[_0x15c519(0x27b)])==null||(_0x23d6f0=_0x23d6f0[0x0])==null?void 0x0:_0x23d6f0['ts'])==null?{}:_0x1671b4;return{..._0x2b5dda==null||(_0x29347a=_0x2b5dda['documentStyle'])==null?void 0x0:_0x29347a[_0x15c519(0x31b)],..._0x35b4e2};}function de(_0x2c8578,_0x5cd5de){const _0x2aa5ac=_0x4f29eb;var _0x23011f;let _0x16b328=_0x2c8578==null||(_0x23011f=_0x2c8578[_0x2aa5ac(0x4df)]()[_0x2aa5ac(0x337)])==null?void 0x0:_0x23011f[_0x5cd5de];return _0x16b328?_0x16b328[_0x2aa5ac(0x31f)]===u[_0x2aa5ac(0x3c6)][_0x2aa5ac(0x6b9)]?_0x16b328['behindDoc']===u[_0x2aa5ac(0x550)][_0x2aa5ac(0x622)]?'behindText':_0x2aa5ac(0x68c):_0x16b328[_0x2aa5ac(0x31f)]===u[_0x2aa5ac(0x3c6)]['WRAP_SQUARE']?_0x2aa5ac(0x476):_0x16b328['layoutType']===u[_0x2aa5ac(0x3c6)][_0x2aa5ac(0x36c)]?'wrapTopAndBottom':_0x2aa5ac(0x1d7):_0x2aa5ac(0x1d7);}function fe(){const _0x3605da=_0x4f29eb;return(0x0,x[_0x3605da(0x509)])(_0x3605da(0x2a0),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'});}function pe(){const _0x64ce3e=_0x4f29eb;return(0x0,x[_0x64ce3e(0x51f)])(_0x64ce3e(0x23d),{'viewBox':_0x64ce3e(0x370),'width':_0x64ce3e(0x3bd),'height':_0x64ce3e(0x3bd),'fill':_0x64ce3e(0x54f),'aria-hidden':_0x64ce3e(0x2db),'children':[(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x344),{'d':_0x64ce3e(0x3dc),'stroke':_0x64ce3e(0x6a4),'strokeWidth':_0x64ce3e(0x359),'strokeLinecap':'round'}),(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x344),{'d':_0x64ce3e(0x542),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':_0x64ce3e(0x21b)}),(0x0,x['jsx'])('path',{'d':_0x64ce3e(0x26b),'stroke':_0x64ce3e(0x6a4),'strokeWidth':_0x64ce3e(0x359),'strokeLinecap':_0x64ce3e(0x21b)}),(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x344),{'d':_0x64ce3e(0x5ef),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x344),{'d':_0x64ce3e(0x664),'stroke':'currentColor','strokeWidth':_0x64ce3e(0x359),'strokeLinecap':_0x64ce3e(0x21b)}),(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x344),{'d':_0x64ce3e(0x2a2),'stroke':_0x64ce3e(0x6a4),'strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x[_0x64ce3e(0x509)])(_0x64ce3e(0x39e),{'x':'6.8','y':'7','width':_0x64ce3e(0x2e4),'height':'6','rx':'1','stroke':'currentColor','strokeWidth':'1.4'})]});}function _0xc32b(){const _0x45709e=['addImageSourceCache','FontColorDoubleIcon','size','ShapeWaveIcon','ShapeCornerIcon','ShapeCornerTabsIcon','clip-','_registerImageShapeClipDelegate','_showFloatMenu','ImageSourceTypeEnum','entries','docs-shape-ui.formatShape','ShapeBracketPairIcon','docs-shape-ui.shape.type.flow-chart-multidocument','docs-shape-ui.shape.type.non-isosceles-trapezoid','jsxs','docs-shape-ui.shape.type.plaque','MathNotEqual','addObject','docs-shape-ui.shape.type.corner','_activeShapeModel','RightBrace','1002606eIQjTo','ActionButtonDocument','options','setConfig','getMatrix','_loadShapePictureFill','function','ShapeFlowChartPunchedTapeIcon','docs-shape-ui.shape.type.flow-chart-magnetic-tape','focus$','ShapeLeftRightArrowCalloutIcon','DRAWING_IMAGE','Large','Button','docs-shape-ui.line.dashType.longDashDotDot','docs-shape-ui.shape.type.curved-connector3-arrow2','dashType','ShapeAccentBorderCallout3Icon','ancestorTransform','getAdjustValueByName','BracePair','ShapeFlowChartMultidocumentIcon','docs-shape-ui.shape.type.ellipse-ribbon2','_adjHandlerPointerMove','Star12','docs-shape-ui.fill.color','docs-shape-ui.shape.type.action-button-home','create','M11.8\x204.5H17.5','buildClipPath','Square','useLeftAndRightArrow','keys','basicShape','getShapeDataById','docs-shape-ui.shape.type.star6','docs-shape-ui.shape.type.star7','ShapeActionButtonBackPreviousIcon','IConfigService','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeFlowChartMagneticDiskIcon','none','BooleanNumber','ShapeDoubleWaveIcon','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','ShapeCloudCalloutIcon','docs-shape-ui.shape.type.curved-connector3-arrow1','_activeShapeId','Trapezoid','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','docs-shape-ui.line.capType.round','docs-shape-ui.line.title','docs-shape-ui.shape.type.bent-connector3-arrow1','DocSettingIcon','doc.command.menu-insert-shape','Callout1','current','ShapeRightArrowIcon','docs-shape-ui.line.arrowSize.small','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','ShapeFlowChartCollateIcon','useRef','Shape','Medium','disposable','invert','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.gear6','Snip2SameRect','scene','docs-shape-ui.line.arrowType.stealthArrow','BlockArc','_baseShapeTop','_shapeTextEditingService','gradientAngle','disabled','docs-shape-ui.shape.type.star24','ShapeActionButtonEndIcon','_initEditingParams','168944mrXybq','docs-shape-ui.shape.type.ribbon2','children','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','HalfFrame','VERTICAL_ROTATE_ANGLE','fillImageSource','ShapeFlowChartManualOperationIcon','gdRefX','univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','docs-shape-ui.shape.type.star10','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-gray-500','shapeType','CTRL_COMMAND','doc.operation.close-doc-shape-format-panel','offset','docs-shape-ui.line.arrowType.none','type','FlowchartManualInput','flipX','NoSmoking','_clearPopups','docs-shape-ui.fill.picture.align.b','ShapePieWedgeIcon','getValue','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','docs-shape-ui.align.bottom','VerticalCenterIcon','attachPopupToObject','DocSelectionRenderService','some','docs-shape-ui.shape.type.hexagon','_docSelectionRenderService','docs-shape-ui.line.beginArrowSize','restore','DocContentInsertService','Cloud','getBoundingClientRect','_urlImageService','applyPoint','_subUnitId','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','LeftBrace','scaleY','docs-shape-ui.shape.type.flow-chart-punched-tape','doc.shape.text.float-menu','docs-shape-ui.shape.type.action-button-return','univer-size-full','isNaN','Ribbon2','doc.shape.floating-toolbar','getFonts','getShapeTextRect','CURSOR_TYPE','FlowchartOffPageConnector','Gear9','DocumentDataModel','_menuManagerService','resetCursor','docs-shape-ui.line.dashType.squareDot','shapeId','ActionButtonBackPrevious','shape-text','docs-shape-ui.toolbar.alignLeft','setZoomRatio','ShapeTextEditorContainer','docs-shape-ui.shape.type.smiley-face','onScrollAfter$','ShapeDonutIcon','docs-shape-ui.fill.picture.align.tr','docs-shape-ui.shape.type.flow-chart-magnetic-disk','ShapeSketchTypeEnum','ShapeLeftRightRibbonIcon','viewportScrollY','ShapeRightBracketIcon','ShapeFlowChartInternalStorageIcon','DashDot','srcRect','docs-shape-ui.shape.type.flow-chart-connector','StealthArrow','DiamondArrow','ShapeActionButtonBlankIcon','shapeKey','ShapeHomePlateIcon','ShapeChartPlusIcon','Pie','Tools','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','#2563EB','docs-shape-ui.toolbar.strikethrough','PERIOD','_isStartAdjusting','IDrawingManagerService','ShapeLineJoinEnum','isDrawingObject','DRAWING_SHAPE','_activeAdjustInfo','ShapePlaqueIcon','docs-shape-ui.shape.type.frame','FlowchartDisplay','isConnectorShape','range','UpdateDocShapeDataCommand','_adjustPointObjects','SHAPE_TEXT','ObjectRelativeFromV','blockArrow','Donut','onSavingEditorData$','_initEvents','Can','cos','item','MathMultiply','#3B82F6','open','key','ShapeBevelIcon','getObject','angular','bottom','M14.3\x2010H17.5','docs-shape-ui.shape.type.border-callout3','LongDashDot','clearControl$','setCursor','label','other','docs-shape-ui.config','PictureFill','docs-shape-ui.line.sketchType.none','_hideFloatMenu','_drawRichText','useKeyboardEvent','ShapeActionButtonBeginningIcon','ShapeStar16Icon','ChartPlus','getDocumentData','ShapeQuadArrowIcon','textSelection$','docs-shape-ui.shape.type.star4','SolidLine','next','enumerable','ShapeFlowChartProcessIcon','updateContext','ShapeNoSmokingIcon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','ActionButtonBeginning','docs-shape-ui.shape.type.border-callout1','icon','Miter','changing$','Digit7','ShapeCurvedConnector3Icon','transformForAngle','_loadAndSetImage','docs-shape-ui.line.dashType.dashDot','body','ShapeArrowSizeEnum','doc','univer-w-28','DocCanvasPopManagerService','44ELEvLM','docs-shape-ui.line.dashType.solid','preValue','startNodePosition','shape-floating-toolbar','Vector2','2520740DCXQLl','docs-shape-ui.shape.type.ribbon','deepCompare','TRUE','subUnitId','_transformCalculateSrcRect','_draw','AccentBorderCallout3','COMMAND','startArrow','FlowchartMagneticTape','isHit','getState','ShapeDefaultConfig','getDrawingByParam','_localeService','map','ShapeGradientTypeEnum','_getShapeAdjustInfosById','div','SmileyFace','docs-shape-ui.shape.type.double-wave','VerticalScroll','setAdjustValueByName','clearAdjustControls','ShapeUpDownArrowIcon','resize','804BdrwQe','_updateAdjustControlPositions','MetaKeys','ShapeActionButtonForwardNextIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs-shape-ui.toolbar.bold','width','SetInlineFormatFontSizeCommand','error','endArrow','SwooshArrow','docs-shape-ui.shape.type.accent-border-callout3','Callout2','docs-shape-ui.shape.type.accent-border-callout1','univer-flex-1','strokeWidth','capType','ShapeFillEnum','ShapeDownArrowCalloutIcon','adjHandleSize','docs-shape-ui.shape.type.funnel','ShapeLeftRightArrowIcon','HorizontalAlign','adjHandleFill','getActualSize','docs-shape-ui.shape.type.left-right-circular-arrow','visible','_isShouldShowDrawingShapeAdjust','clsx','docs-shape-ui.toolbar.fillColor','Stretch','useDependency','CloudCallout','docs-shape-ui.shape.type.flow-chart-delay','FOCUSING_COMMON_DRAWINGS','docs-shape-ui.shape.type.right-brace','target','Diamond','docs-shape-ui.shape.type.bent-arrow','calcAdjValue','ShapeStraightConnector2Icon','ShapeRound1RectIcon','M2.5\x2015.5H8.2','docs-shape-ui.shape.type.bent-connector3','AlignCenterCommand','clearTimeout','diamond','wrapTopAndBottom','ShapeHorizontalScrollIcon','ShapeCurvedUpArrowIcon','mainComponent','Wave','Radial','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','AccentCallout1','value','docs-shape-ui.shape.type.sun','ShapeCubeIcon','ShapeChevronIcon','docs-shape-ui.line.joinType.miter','_getShapeInfo','FlowchartExtract','startOffset','BoldIcon','docs-shape-ui.shape.type.moon','merge','ShapeStraightConnector1Icon','SolidFill','imageTile','gradientType','ShapeBorderCallout3Icon','docs-shape-ui.fill.transparency','ShapeNotchedRightArrowIcon','_baseShapeLeft','ShapeWedgeEllipseCalloutIcon','Dash','ShapeCircularArrowIcon','docs-shape-ui.shape.type.flow-chart-magnetic-drum','getSkeleton','height','useMemo','docs-shape-ui.shape.type.corner-tabs','inFrontOfText','Path','dataModel','onDblclick$','pluginName','univer-rounded-lg\x20univer-p-3','docs-shape-ui.line.color','_config','SELECTOR','Disposable','ShapeSwooshArrowIcon','_context','engine','extraProps','docs-shape-ui.shape.type.parallelogram','univer-text-gray-600\x20univer-transition-transform','has','LeftArrow','Funnel','onTransformChange$','Star4','moveRange','FlowchartSummingJunction','_updateShape','currentColor','docs-shape-ui.shape.type.accent-border-callout2','docs-shape-ui.shape.type.plus','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs-pro/docs-shape-ui','ShapeLeftArrowCalloutIcon','docs-shape-ui.shape.type.chart-plus','ShapeRtTriangleIcon','_drawShapeText','ShapeFlowChartOnlineStorageIcon','docs-shape-ui.fill.picture.align.t','onPointerMove$','docs-shape-ui.toolbar.alignRight','StripedRightArrow','save','createInternalEditorID','Round2SameRect','_insertShapes','prstGeom','DOC_CONTENT_INSERT_MENU_ID','docs-shape-ui.shape.type.callout2','WRAP_NONE','defineProperty','docs-shape-ui.shape.type.snip-round-rect','getAncestorScale','ShapeQuadArrowCalloutIcon','ShapeAccentBorderCallout2Icon','Frame','IEditorService','docs-shape-ui.shape.type.accent-callout1','docs-shape-ui.line.width','enhanceParams','ShapeActionButtonHomeIcon','docs-shape-ui.shape.type.snip2-same-rect','registerClipDelegate','ShapeIrregularSeal1Icon','BreakLineCommand','BorderCallout1','touchDependencies','GradientColorPicker','AccentBorderCallout1','DrawingCommonPanel','LEFT','ShapeFlowChartOffpageConnectorIcon','Angular','ShapeCloudIcon','Round2DiagRect','remove$','_activeShapeAdjustPointList','GradientFill','GROUP','docs-shape-ui.shape.type.action-button-forward-next','image/*','AlignJustifyCommand','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','Arc','docs-shape-ui.shape.type.up-down-arrow-callout','hasOwnProperty','ShapeCallout1Icon','ShapeBlockArcIcon','docs-shape-ui.shape.type.callout3','ActionButtonInformation','enableObjectsEvent','_getShapeAdjustPointListById','UniverInstanceType','image','shapeModel','offsetX','docs-shape-ui.shape.type.left-circular-arrow','docs-shape-ui.shape.type.flow-chart-punched-card','WRAP','docs-shape-ui.shape.type.snip2-diag-rect','SetInlineFormatTextBackgroundColorCommand','#111827','FlowchartManualOperation','_initUIPart','docs-shape-ui.shape.type.math-equal','ShapeRectTextboxVerticalIcon','ComponentManager','docs-shape-ui.shape.type.action-button-help','FlowchartCollate','setDocumentData','getShapeModel','ShapeRightBraceIcon','activeTarget','544ZdqaHN','18vqOVpq','HandDrawn','docs-shape-ui.shape.type.flow-chart-online-storage','inline','shape-text-editor','docs-shape-ui.shape.type.flow-chart-terminator','docs-shape-ui.shape.type.flow-chart-extract','Digit8','getDrawingPoints','_shapeId','UpDownArrow','Triangle','docs-shape-ui.shape.type.cube','ShapeFlowChartDelayIcon','_onSavingEditorData$','ShapeTriangleIcon','ShapeCurvedLeftArrowIcon','docs-shape-ui.shape.type.bracket-pair','Star10','getShapeType','univer-flex-1\x20univer-overflow-auto','docs-shape-ui.shape.type.brace-pair','docs-shape-ui.shape.type.no-smoking','ShapeActionButtonMovieIcon','getCurrentUniverDocInstance','bind','SetInlineFormatUnderlineCommand','_initializedShapePopupMenu','SHAPE','docs-shape-ui.shape.type.chevron','BentConnector3','top','ShapeBracePairIcon','OPERATION','docs-shape-ui.line.solidLine','docs-shape-ui.shape.type.math-not-equal','docs-shape-ui.insertShape','onPointerUp$','changeStart$','ShapeGear9Icon','Cube','gdRefAng','Arrow','docs-shape-ui.shapeStyle','getParent','docs-shape-ui.shape.type.flow-chart-internal-storage','docs-shape-ui.line.joinType.title','docs-shape-ui.shape.type.can','docs-shape-ui.fill.picture.align.r','ShapeLeftRightUpArrowIcon','_getFocusedShapeAtPoint','with','_renderManagerService','renderConfig','ShapeHexagonIcon','docs-shape-ui.shape.type.action-button-document','ShapeRectIcon','ShapeEllipseIcon','FlowchartPunchedCard','closest','ShapePlusIcon','docs-shape-ui.fill.title','classType','LightningBolt','ShapeArcIcon','ActionButtonForwardNext','ShapeStripedRightArrowIcon','univer-text-xl\x20univer-text-gray-500','saveImage','ShapeSnip2SameRectIcon','LeftBracket','round','isHitLine','getFocusDrawings','Star6','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','LongDashDotDot','ToolbarItem','LeftRightRibbon','ShapeRenderModeEnum','docs-shape-ui.shape.type.rect-textbox-horizontal','beginPath','getDrawingSearch','docs-shape-ui.shape.type.right-bracket','_drawSimpleText','translate','docs-shape-ui.line.sketchType.curved','isRenderLinePointsMode','ShapeStar8Icon','Star7','InsertDocDrawingCommand','isLineShape','DOCS_SHAPE_UI_PLUGIN','DocDrawingTextWrap','docs-shape-ui.line.beginArrowType','ShapeFlowChartDisplayIcon','getDrawingShapeKeyByDrawingSearch','_initShapePopupMenu','ShapeLeftUpArrowIcon','getViewport','_registerDrawingTransformHandler','setSelectionRanges','621154brdSBH','_docsShapeService','attachTransformerTo','svg','indexOf','borderClassName','docs-shape-ui.shape.type.math-multiply','ShapeAccentCallout1Icon','executeCommand','Decagon','SquareDot','ShapeHeptagonIcon','ShapeAccentBorderCallout1Icon','ShapeFlowChartMagneticDrumIcon','316236IfjNot','20489POEDVj','BentArrow','color','ShapeActionButtonSoundIcon','_toVisualAdjustPoint','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','ShapeIrregularSeal2Icon','ShapeDodecagonIcon','docs-shape-ui.toolbar.alignJustify','StraightConnector1','RemoveDocDrawingCommand','EllipseRibbon','univer-w-20','call','AlignLeftCommand','renderDrawingShape','ShapeStar6Icon','getShapePopupMenus','docs-shape-ui.shape.type.bent-up-arrow','docs-shape-ui.shape.type.chord','UNIVER_DOC','RadioGroup','docs-shape-ui.shape.type.line-inv','ShapeCallout3Icon','_initialize','ShapeFlowChartManualInputIcon','ShapeFlowChartDecisionIcon','_docCanvasPopManagerService','getRealBound','top-center','getImage','SetInlineFormatTextColorCommand','Moon','linear','M2.5\x2010H5.7','ShapeStar12Icon','DRAWING_DOM','DeleteRightCommand','ShapeBentConnector3Arrow1Icon','angle','IRenderManagerService','getMenuHiddenObservable','LeftRightArrow','Plus','ShapeLineTypeEnum','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','multiply','ShapeBentConnector3Icon','getImageSourceCache','docs-shape-ui.shape.type.wedge-rect-callout','textRuns','AccentCallout3','asObservable','_contextService','docs-shape-ui.shape.type.star5','createControl$','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','menuRange','docs-shape-ui.fill.noFill','_popupMenuListener','horizontalAlign','objects','endOffset','DownArrowCallout','style','refreshTransform','_registerDrawingFocusChangeHandler','ShapeStar5Icon','DeleteIcon','disposeWithMe','FlowchartDelay','Plugin','ShapeBentConnector3Arrow2Icon','ShapePlaqueTabsIcon','docs-shape-ui.shape.type.round1-rect','ShapeStar4Icon','ShapeDiagStripeIcon','version','rgb','Checkbox','drawingType','docs-shape-ui.fill.picture.align.tl','docs-shape-ui.fill.picture.align.ctr','docs-shape-ui.line.transparency','docs-shape-ui.textWrap.square','ShapeVerticalScrollIcon','span','ShapeStar10Icon','M11.8\x2015.5H17.5','group','DocSelectAllCommand','univer-flex\x20univer-items-center\x20univer-gap-3','callout','RIGHT','docs-shape-ui.fill.picture.tileAsTexture','InputNumber','ShapeMathDivideIcon','ShapeCallout2Icon','PARAGRAPH','Chord','TOP','ShapeLineInvIcon','ShapeFlowChartOfflineStorageIcon','getOwnPropertyDescriptor','docs-shape-ui.align.top','ShapeWedgeRectCalloutIcon','ShapeCurvedConnector3Arrow1Icon','_registerOperations','onerror','docs-shape-ui.fill.picture.rotateWithShape','CurvedLeftArrow','LeftArrowCallout','BorderCallout2','Star16','useState','FlowchartOr','gradientStops','docs-shape-ui.line.arrowType.arrow','_init','ShapeRightArrowCalloutIcon','ShapeRibbonIcon','getTransformerByCreate','FOCUSING_PANEL_EDITOR','button','docs-shape-ui.shape.type.left-arrow','docs-shape-ui.line.arrowType.ovalArrow','ShapeParallelogramIcon','focus','Tooltip','docs-shape-ui.shape.type.curved-down-arrow','univer-pt-2','StrikethroughIcon','ShapeChartStarIcon','docs-shape-ui.shape.type.left-right-up-arrow','docs-shape-ui.shape.type.ellipse','docs-shape-ui.shape.type.wedge-ellipse-callout','registerCommand','docs-shape-ui.shape.type.irregular-seal2','_transform','ShapeMathEqualIcon','IContextService','FoldedCorner','FlowchartTerminator','fillType','values','true','_setTransForm','ShapeFlowChartPreparationIcon','stopPropagation','getFlatMenuByPositionKey','docs-shape-ui.shape.type.snip1-rect','DocumentSkeleton','files','shapeData','6.4','_sidebarDisposable','ShapeLineCapEnum','ShapeRibbon2Icon','IMenuManagerService','docs-shape-ui.textWrap.topAndBottom','Callout3','clear','ShapeTrapezoidIcon','LongDash','_editingParams$','NoFill','_getActiveDrawingShape','RightTriangle','Heart','RoundRect','includes','name','getRenderById','ShapeDecagonIcon','Round1Rect','37385wJEFvs','ShapeLeftCircularArrowIcon','ShapeCurvedDownArrowIcon','docs-shape-ui.shape.type.round2-diag-rect','docs-shape-ui.fill.picture.align.l','VIEW_MAIN','menuChanged$','ShapeUturnArrowIcon','ShapeMathMinusIcon','stops','\x20px','RightJustifyingIcon','preventDefault','MathMinus','docs-shape-ui.shape.type.flow-chart-or','IrregularSeal1','DocsShapeService','ShapeLeftArrowIcon','ShapeFolderCornerIcon','docs-shape-ui.line.capType.flat','ShapeActionButtonInformationIcon','ShapeSnip1RectIcon','BentUpArrow','docs-shape-ui.shape.type.border-callout2','_drawingType','Dropdown','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','ShapeLeftBraceIcon','updateDocumentStyle','_attachAdjustEvent','vertical','UnderlineIcon','univer-text-sm','scaleX','textStyle','WedgeRectCallout','ShapeFlowChartAlternateProcessIcon','documentStyle','layoutType','CurvedConnector3','CONTENT','textRect','CurvedDownArrow','univer-box-border\x20univer-px-4\x20univer-text-sm','params','Star8','_univerInstanceService','docs-shape-ui.shape.type.ellipse-ribbon','docs-shape-ui.shape.type.pie-wedge','gdRefR','docs-shape-ui.shape.type.lightning-bolt','Image','DrawingTypeEnum','ContextMenuGroup','subscribe','changeEnd$','starAndBanner','setEditing','getUnitId','_injector','shapeText','ImageFillModeEnum','drawings','IURLImageService','_toScenePoint','docs-shape-ui.shape.type.curved-left-arrow','useIsFocusing','ShapeFlowChartConnectorIcon','Pentagon','docs-shape-ui.shape.type.star16','subscribeEvent','add','string','getCurrentTypeOfUnit$','imageRotateWithShape','path','setOnSavingEditorData','registerRenderModule','univer-w-full','FLOAT_TEXT_STYLE_MENU_ID','find','_clipService','DRAWING_OBJECT_LAYER_INDEX','VerticalAlign','AlignBottomIcon','ShapeFlowChartSortIcon','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','ShapeCurvedRightArrowIcon','ShapeLeftRightCircularArrowIcon','Module','docs-shape-ui.shape.type.left-right-arrow','setInsertRange','ICommandService','ShapeCanIcon','ShapeFlowChartExtractIcon','Teardrop','1.4','ActionButtonSound','UpdateDocShapeDataMutation','docs-shape-ui.fill.picture.source','Linear','gdRefY','docs-shape-ui.toolbar.textColor','_baseShapeHeight','focusDrawing','docs-shape-ui.line.dashType.longDashDot','register','clone','refreshAdjustControls','_getSceneByUnitId','Fragment','docs-shape-ui.shape.type.left-arrow-callout','updateShapeFillImage','Round','fonts$','WRAP_TOP_AND_BOTTOM','docs-shape-ui.hidePanel','useObservable','MathEqual','0\x200\x2020\x2020','VIEWPORT_KEY','Rect','SetInlineFormatStrikethroughCommand','push','docs-shape-ui.textWrap.inline','FlowChartInputOutput','ShapeRound2SameRectIcon','_imageIoService','max','docs-shape-ui.shape.type.arc','QuadArrow','paragraph','collapsed','ShapeSnip2DiagRectIcon','ShapeIcon','isEditing','docs-shape-ui.shape.type.donut','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','rectangle','getImageSize','active','docs-shape-ui.shape.type.left-brace','docs-shape-ui.shape.type.flow-chart-sort','doc.shape.edit.panel','docs-shape-ui.toolbar.underline','docs-shape-ui.shape.type.callout1','setShapeData','ShapeFlowChartDocumentIcon','Snip1Rect','stroke','univer-mb-2','ShapeFlowChartInputOutputIcon','UndoCommand','deepClone','CornerTabs','SetInlineFormatBoldCommand','ShapeBentUpArrowIcon','ShapeChordIcon','ShapeTeardropIcon','univer-flex\x20univer-items-center\x20univer-justify-between','SetInlineFormatSuperscriptCommand','AlignTextBothIcon','calculate','UniverDocsShapeUIPlugin','docs-shape-ui.shape.type.square-tabs','rect','_updateSrcRectByTransform','docs-shape-ui.textWrap.inFrontText','ShapeRoundRectIcon','docs-shape-ui.fill.picture.scaleY','ActionButtonReturn','docs-shape-ui.shape.type.star12','parseFloat','viewportScrollX','KeyCode','HomePlate','_initMenu','NoLine','adjHandleStroke','auto','Snip2DiagRect','ShapeLineIcon','SetInlineFormatItalicCommand','docs-shape-ui.shape.type.cloud-callout','_componentManager','docs-shape-ui.shape.group.','render','docs-shape-ui.shape.type.action-button-blank','docs-shape-ui.shape.type.left-right-arrow-callout','Line','Accordion','docs-shape-ui.shape.type.line','getInverseCoord','getSelectionRanges','ShapeOctagonIcon','univer-text-xs','1em','Select','docs-shape-ui.shape.type.action-button-end','vertexAngle','Octagon','flowchart','filter','ShapeActionButtonReturnIcon','RibbonInsertGroup','PositionedObjectLayoutType','ShapeDownArrowIcon','blur','docs-shape-ui.shape.type.flow-chart-display','onSelectionStart$','docs-shape-ui.shape.type.flow-chart-preparation','lineJoinType','menu','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','symbol','_disposePopups','paragraphStyle','insertGroupObject','_closeShapeEditPanel','title','docs-shape-ui.fill.picture.align.br','docs-shape-ui.line.endArrowSize','isFinite','ENTER','_clearShapeAdjustControls','backward','docs-shape-ui.line.sketchType.title','M2.5\x204.5H8.2','univer-w-20\x20univer-flex-1','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeFrameIcon','useCallback','_adjHandlerPointerUp','flipY','ShapeUpDownArrowCalloutIcon','_drawingManagerService','constructor','_baseShapeWidth','ColorPicker','UpDownArrowCallout','ShapeActionButtonHelpIcon','BOTH_SIDES','docs-shape-ui.shape.type.chart-x','Star24','isRichText','_registerComponent','IrregularSeal2','Inject','ShapeArrowTypeEnum','None','imageOpacity','UUID','forEach','disableShapeOption','_lastEditingShapeKey','WrapStrategy','ShapeFlowChartTerminatorIcon','docs-shape-ui.shape.type.trapezoid','DocsShapeUIController','ShapeChartXIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','pick','ShapeMathMultiplyIcon','onCommandExecuted','CommandType','ShapeCurvedConnector3Arrow2Icon','getEditing','getObjectIncludeInGroup','DocSelectionManagerService','onChange','ShapeHalfFrameIcon','docs-shape-ui.shape.type.flow-chart-process','docs-shape-ui.shape.type.straight-connector1','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','RENDER_CLASS_TYPE','LineInv','univer-relative\x20univer-size-full\x20univer-overflow-visible','univer-flex\x20univer-flex-col\x20univer-gap-2','AccentCallout2','RightArrow','docs-shape-ui.shape.type.right-arrow','AccentBorderCallout2','_updateShapeAdjustControls','ShapeFlowChartMergeIcon','generateRandomId','_unitId','sin','_refreshShapeData','docs-shape-ui.line.dashType.title','replace','docs-shape-ui.shape.type.striped-right-arrow','ShapeGear6Icon','direction','3WzNDpX','LeftUpArrow','ShapeSquareTabsIcon','BOTTOM','rotate(','_initCommands','docs-shape-ui.shape.type.flow-chart-decision','FONT_SIZE_LIST','src','update$','BehaviorSubject','unsubscribe','below','docs-shape-ui.shape.type.dodecagon','FLOAT_TOOLBAR_MENU_POSITION','FromArray','transformByState','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','docs-shape-ui.shape.type.up-arrow-callout','_configService','FlowchartMagneticDisk','docs-shape-ui.fill.picture.align.bl','ShapeStar24Icon','FlowchartAlternateProcess','_floatMenu','AlignRightCommand','packageName','ShapeFlowChartMagneticTapeIcon','ChartStar','Hexagon','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','isHorizontal','FlowchartProcess','WrapTextType','docs-shape-ui.fill.pictureFill','transform','docs-shape-ui.title','ShapeNonIsoscelesTrapezoidIcon','RightBracket','_sidebarService','doc.operation.open-doc-shape-format-panel','docs-shape-ui.deleteShape','offsetY','ShapeSmileyFaceIcon','setPrstGeom','line','PlaqueTabs','docs-shape-ui.shape.type.left-up-arrow','OvalArrow','ShapeMathPlusIcon','LeftCircularArrow','docs-shape-ui.shape.type.flow-chart-input-output','ShapeFlowChartPredefinedProcessIcon','ShapeFlowChartPunchedCardIcon','DownArrow','ShapeRectTextboxHorizontalIcon','LocaleService','ShapeActionButtonDocumentIcon','updateDocumentDataMargin','ShapeSunIcon','docs-shape-ui.line.dashType.longDash','UniverLicensePlugin','opacity','docs-shape-ui.shape.type.diag-stripe','drawWith','_getActiveDrawingParam','BuiltInUIPart','updateDocumentRenderConfig','shape-text-editor-content','docs-shape-ui.shape.type.left-bracket','BACKSPACE','drawingId','FlowchartPunchedTape','SetInlineFormatSubscriptCommand','getDrawingData','doc.shape.picker.component','ShapeRound2DiagRectIcon','docs-shape-ui.shape.type.bent-connector3-arrow2','PieWedge','left','ShapeStar7Icon','alignment','ShapeLeftBracketIcon','_createShapePopupMenu','radial','ShapeBentArrowIcon','getSelectedObjectMap','sketchType','wrapSquare','FlowchartDocument','Chevron','docs-shape-ui.fill.picture.alignment','Radio','length','complete','Gear6','fill','editingParams$','unitId','FlowchartMerge','IUniverInstanceService','clipByShape','Tile','ShapeUpArrowIcon','translateWithPrecision','Documents','ShapeFlowChartSummingJunctionIcon','docs-shape-ui.shape.type.flow-chart-manual-operation','equationShape','docs-shape-ui.shape.type.flow-chart-document','get','ShapeFunnelIcon','featurePluginUpdateNotification','UniverDocsShapePlugin','docs-shape-ui.toolbar.italic','_docDrawingShapeRenderController','docs-shape-ui.line.noLine','Transform','toDisposable','docs-shape-ui.shape.type.flow-chart-collate','_activeShapeInfo','Bevel','LeftRightArrowCallout','FALSE','ShapeFlowChartOrIcon','_openShapeEditPanel','DiagStripe','oKey','memo','LAYOUT','ShapeBorderCallout1Icon','horizontal','_docSelectionManagerService','_commandService','HorizontallyIcon','refreshShapeFillImage','DELETE','Small','getCanvasElement','docs-shape-ui.shape.type.action-button-beginning','onStarting','ShapeSnipRoundRectIcon','section','FlowchartSort','docs-shape-ui.shape.type.left-right-ribbon','PaintBucketDoubleIcon','min','MoreDownIcon','docs-shape-ui.shape.type.decagon','DocDrawingPosition','useEffect','Ellipse','data','docs-shape-ui.shape.type.notched-right-arrow','ShapeBorderCallout2Icon','setShapeProps','DocumentViewModel','Heptagon','scale','docs-shape-ui.shape.type.right-arrow-callout','lineStrokeType','ShapePentagonIcon','docs-shape-ui.shape.type.flow-chart-merge','ShapePieIcon','ShapeDiamondIcon','FlowchartMagneticDrum','docs-shape-ui.shape.type.heptagon','docDrawingPositionToTransform','MenuItemType','custom','ObjectRelativeFromH','ContextMenuPosition','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','docs-shape-ui.shape.type.quad-arrow-callout','ShapeStar32Icon','ShapeModel','FlowchartOnlineStorage','object','SnipRoundRect','docs-shape-ui.shape.type.rect','getDrawingEditable','docs-shape-ui.line.sketchType.freehand','QuadArrowCallout','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','IImageIoService','ShapeWedgeRoundRectCalloutIcon','docs-shape-ui.shape.type.gear9','docs-shape-ui.shape.type.math-minus','WedgeEllipseCallout','ShapeEllipseRibbon2Icon','RichTextEditingMutation','docs-shape-ui.toolbar.alignCenter','FlowchartDecision','getSnapshot','ShapeAccentCallout2Icon','ShapeTypeEnum','_createShapeAdjustControls','docs-shape-ui.shape.type.triangle','getShapeData','ShapeAccentCallout3Icon','paragraphMenuPlacement','docs-shape-ui.shape.type.straight-connector2','verticalAlign','0.24.0-insiders.20260530-57a0a3e','Injector','getDrawingVisible','URL','DrawingImageClipService','docs-shape-ui.fill.solidFill','setContextValue','ShapeUpArrowCalloutIcon','decorate','getShapeTypeById','DEFAULT_DOC_SHAPE_HEIGHT','transparent','ShapeHeartIcon','docs-shape-ui.shape.type.pentagon','dispose','ShapeEllipseRibbonIcon','docs-shape-ui.shape.type.plaque-tabs','MIDDLE','_props','bottom-center','univer-flex\x20univer-items-center\x20univer-gap-2','#ffffff','dataStream','INSERT_BELLOW_MENU_ID','makeDirty','toPrimitive','ShapeLineDashEnum','docs-shape-ui.shape.type.down-arrow-callout','COMMA','LeftRightUpArrow','docs-shape-ui.line.dashType.roundDot','adjName','jsx','setSrcRect','docs-shape-ui.openPanel','getShapeTextData','registerDependencies','setFillImage','Sun'];_0xc32b=function(){return _0x45709e;};return _0xc32b();}function me(_0x432a92){const _0x2cee7a=_0x4f29eb;return _0x432a92 instanceof HTMLElement?!!_0x432a92[_0x2cee7a(0x20f)](_0x2cee7a(0x276)):!0x1;}function $(_0x1aa4aa){const _0xe9275a=_0x4f29eb;return(0x0,x[_0xe9275a(0x509)])(_0xe9275a(0x632),{'className':_0xe9275a(0x578),'children':_0x1aa4aa[_0xe9275a(0x577)]});}function he(_0x6a63a1){const _0x3e8479=_0x4f29eb;return(0x0,x[_0x3e8479(0x509)])(v[_0x3e8479(0x2ca)],{'title':_0x6a63a1[_0x3e8479(0x3d4)],'placement':_0x3e8479(0x5ee),'children':(0x0,x[_0x3e8479(0x509)])(_0x3e8479(0x2c5),{'type':_0x3e8479(0x2c5),'disabled':_0x6a63a1[_0x3e8479(0x571)],'onClick':_0x6a63a1['onClick'],'className':(0x0,v[_0x3e8479(0x656)])(_0x3e8479(0x66f),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x6a63a1[_0x3e8479(0x385)]}),'children':_0x6a63a1['children']})});}function ge(_0x5924c0){const _0x1b47da=_0x4f29eb;let [_0x35f697,_0x4d0577]=(0x0,y[_0x1b47da(0x2bc)])(!0x1);return(0x0,x['jsx'])(v['Dropdown'],{'disabled':_0x5924c0[_0x1b47da(0x571)],'open':_0x35f697,'onOpenChange':_0x4d0577,'overlay':(0x0,x[_0x1b47da(0x509)])(_0x1b47da(0x632),{'className':_0x1b47da(0x5cd),'children':(0x0,x[_0x1b47da(0x509)])(v[_0x1b47da(0x3e7)],{'value':_0x5924c0['color'],'onChange':_0xa69a27=>{const _0x46af14=_0x1b47da;_0x5924c0[_0x46af14(0x406)](_0xa69a27),_0x4d0577(!0x1);}})}),'children':(0x0,x['jsx'])(_0x1b47da(0x2a0),{'children':(0x0,x[_0x1b47da(0x509)])(v[_0x1b47da(0x2ca)],{'title':_0x5924c0['title'],'placement':'bottom','children':(0x0,x[_0x1b47da(0x51f)])(_0x1b47da(0x2c5),{'type':_0x1b47da(0x2c5),'disabled':_0x5924c0[_0x1b47da(0x571)],'className':_0x1b47da(0x3de),'children':[_0x5924c0['children'],(0x0,x[_0x1b47da(0x509)])(_0x1b47da(0x2a0),{'className':_0x1b47da(0x580),'style':{'backgroundColor':_0x5924c0[_0x1b47da(0x24b)]}})]})})})});}function _e(_0x513e0b){const _0x3d882f=_0x4f29eb;var _0x210e10;let [_0x239814,_0x2d128f]=(0x0,y[_0x3d882f(0x2bc)])(!0x1),_0x496847=(_0x210e10=_0x513e0b['options'][_0x3d882f(0x349)](_0x5ebfb3=>_0x5ebfb3[_0x3d882f(0x671)]===_0x513e0b[_0x3d882f(0x671)]))==null?_0x513e0b[_0x3d882f(0x528)][0x0]:_0x210e10;return(0x0,x[_0x3d882f(0x509)])(v[_0x3d882f(0x312)],{'open':_0x239814,'onOpenChange':_0x2d128f,'overlay':(0x0,x[_0x3d882f(0x509)])(_0x3d882f(0x632),{'className':_0x3d882f(0x24e),'children':_0x513e0b[_0x3d882f(0x528)][_0x3d882f(0x62f)](_0x38f2cb=>(0x0,x['jsxs'])(_0x3d882f(0x2c5),{'type':'button','onClick':()=>{const _0x380537=_0x3d882f;_0x513e0b[_0x380537(0x406)](_0x38f2cb[_0x380537(0x671)]),_0x2d128f(!0x1);},'className':(0x0,v['clsx'])(_0x3d882f(0x382),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x38f2cb[_0x3d882f(0x671)]===_0x513e0b['value']}),'children':[(0x0,x[_0x3d882f(0x509)])(_0x3d882f(0x2a0),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x38f2cb[_0x3d882f(0x60c)]}),(0x0,x['jsx'])(_0x3d882f(0x2a0),{'className':_0x3d882f(0x648),'children':_0x38f2cb['label']})]},_0x38f2cb[_0x3d882f(0x671)]))}),'children':(0x0,x['jsx'])(_0x3d882f(0x2a0),{'children':(0x0,x[_0x3d882f(0x509)])(v['Tooltip'],{'title':_0x513e0b[_0x3d882f(0x3d4)],'placement':_0x3d882f(0x5ee),'children':(0x0,x[_0x3d882f(0x51f)])('button',{'type':_0x3d882f(0x2c5),'className':(0x0,v['clsx'])(_0x3d882f(0x557),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x239814}),'children':[_0x496847[_0x3d882f(0x60c)],(0x0,x[_0x3d882f(0x509)])(h[_0x3d882f(0x4b1)],{'className':_0x3d882f(0x3bc)})]})})})});}function ve(_0x4756de){const _0x4303a9=_0x4f29eb;var _0x11ac9f,_0x51435e,_0x402555,_0x46f388,_0x344baa,_0x55beb8,_0x1faa30,_0x11a5fc,_0x1ed399,_0x3d24d9,_0x2861eb,_0x161b69,_0x580b69,_0x341987,_0x460911,_0xcac453,_0x569f8c,_0x37d4b2,_0x412b2a,_0x39fb2b,_0x19ed4c;let _0x520907=_0x4756de['popup'][_0x4303a9(0x699)];if(!_0x520907)return null;let _0x3c1bfa=(0x0,g[_0x4303a9(0x659)])(u[_0x4303a9(0x355)]),_0x2650d5=(0x0,g['useDependency'])(u[_0x4303a9(0x456)]),_0x2936e3=(0x0,g[_0x4303a9(0x659)])(l[_0x4303a9(0x309)]),_0x877f4d=(0x0,g[_0x4303a9(0x659)])(u[_0x4303a9(0x482)]),_0x19c2c4=(0x0,g[_0x4303a9(0x659)])(u['IContextService']),_0x5ef5ee=(0x0,g['useDependency'])(g['IFontService']),{unitId:_0x6f00a5,subUnitId:_0x1cc243,drawingId:_0xfcb5e5,shapeType:_0x6d7222}=_0x520907,[_0xaea9b3,_0x24066e]=(0x0,y[_0x4303a9(0x2bc)])(_0x520907['shapeData']),[_0x1fd99c,_0x2a2330]=(0x0,y['useState'])(!0x1),[_0x12e6d9,_0x5baf12]=(0x0,y[_0x4303a9(0x2bc)])(()=>_0x5ef5ee[_0x4303a9(0x5a9)]()),_0x5e1690=(_0x11ac9f=_0x877f4d['getUnit'](_0x6f00a5,u[_0x4303a9(0x1be)][_0x4303a9(0x25d)]))==null?void 0x0:_0x11ac9f,[_0x296ff2,_0x240faa]=(0x0,y[_0x4303a9(0x2bc)])(()=>de(_0x5e1690,_0xfcb5e5)),_0x225bd8=(0x0,c[_0x4303a9(0x5da)])(_0x6d7222),_0x488def=(0x0,y['useMemo'])(()=>ue(_0xaea9b3),[_0xaea9b3]),_0x2f60e8=(0x0,y[_0x4303a9(0x68a)])(()=>Q(_0xaea9b3),[_0xaea9b3]);(0x0,y['useEffect'])(()=>{const _0x95b44f=_0x4303a9;let _0x3db858=_0x3c1bfa[_0x95b44f(0x400)](_0x346c75=>{const _0x282eb1=_0x95b44f;if(_0x346c75['id']!==l[_0x282eb1(0x35b)]['id'])return;let _0x24fc27=_0x2936e3[_0x282eb1(0x548)](_0x6f00a5,_0x1cc243,_0xfcb5e5);_0x24fc27&&_0x24066e(_0x24fc27);});return()=>_0x3db858[_0x95b44f(0x4f7)]();},[_0x3c1bfa,_0x2936e3,_0xfcb5e5,_0x1cc243,_0x6f00a5]),(0x0,y[_0x4303a9(0x4b4)])(()=>{const _0x224057=_0x4303a9;let _0x38b782=_0x5ef5ee[_0x224057(0x36b)]['subscribe'](_0x91a430=>{_0x5baf12(_0x91a430);});return()=>_0x38b782[_0x224057(0x429)]();},[_0x5ef5ee]);let _0x44a518=_0x57be6e=>{_0x24066e(_0x316b99=>({..._0x316b99,..._0x57be6e}));},_0x391c79=_0x1a21e2=>{let _0x39b222=ce(_0xaea9b3,_0x1a21e2);z(_0x3c1bfa,_0x6f00a5,_0x1cc243,_0xfcb5e5,{'oldShapeData':{'shapeText':_0xaea9b3['shapeText']}},_0x39b222),_0x44a518(_0x39b222);},_0x42292b=_0x5f533c=>{const _0x29055a=_0x4303a9;_0x240faa(_0x5f533c),_0x3c1bfa[_0x29055a(0x242)]('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x6f00a5,'subUnitId':_0x1cc243,'drawings':[{'unitId':_0x6f00a5,'subUnitId':_0x1cc243,'drawingId':_0xfcb5e5}],'wrappingStyle':_0x5f533c});};if(_0x1fd99c)return null;let _0x2166d9=(_0x51435e=(_0x402555=_0xaea9b3[_0x4303a9(0x47e)])==null?void 0x0:_0x402555[_0x4303a9(0x24b)])==null?_0x4303a9(0x5e8):_0x51435e,_0x325a73=(_0x46f388=(_0x344baa=_0xaea9b3['stroke'])==null?void 0x0:_0x344baa[_0x4303a9(0x24b)])==null?_0x4303a9(0x5ce):_0x46f388,_0x8ead6e=(_0x55beb8=(_0x1faa30=_0x488def['cl'])==null?void 0x0:_0x1faa30[_0x4303a9(0x298)])==null?_0x4303a9(0x1c7):_0x55beb8,_0x5acf81=(_0x11a5fc=(_0x1ed399=_0x488def['bg'])==null?void 0x0:_0x1ed399['rgb'])==null?_0x4303a9(0x4fe):_0x11a5fc,_0x541d4b=(_0x3d24d9=_0x488def['ff'])==null?'monospace':_0x3d24d9,_0x18439a=(_0x2861eb=_0x488def['fs'])==null?0xe:_0x2861eb,_0x3b7147=_0x488def['bl']===u['BooleanNumber'][_0x4303a9(0x622)],_0x5e8547=_0x488def['it']===u[_0x4303a9(0x550)][_0x4303a9(0x622)],_0x757f32=((_0x161b69=_0x488def['ul'])==null?void 0x0:_0x161b69['s'])===u[_0x4303a9(0x550)][_0x4303a9(0x622)],_0x5b0a44=((_0x580b69=_0x488def['st'])==null?void 0x0:_0x580b69['s'])===u[_0x4303a9(0x550)][_0x4303a9(0x622)],_0x150787=_0x12e6d9[_0x4303a9(0x62f)](_0x3e6793=>({'label':_0x2650d5['t'](_0x3e6793[_0x4303a9(0x5f4)]),'value':_0x3e6793['value']})),_0x144d23=g[_0x4303a9(0x425)][_0x4303a9(0x62f)](_0x3c8da0=>({'label':_0x3c8da0['label'],'value':String(_0x3c8da0['value'])})),_0x38a4aa=(_0x341987=_0x2f60e8==null?void 0x0:_0x2f60e8['ha'])==null?u[_0x4303a9(0x650)][_0x4303a9(0x1a8)]:_0x341987,_0x210d2e=(_0x460911=_0x2f60e8==null?void 0x0:_0x2f60e8['va'])==null?u[_0x4303a9(0x34c)]['TOP']:_0x460911,_0x1dffa0=[{'label':_0x2650d5['t'](_0x4303a9(0x5b5)),'value':u[_0x4303a9(0x650)][_0x4303a9(0x1a8)],'icon':(0x0,x[_0x4303a9(0x509)])(h['LeftJustifyingIcon'],{})},{'label':_0x2650d5['t'](_0x4303a9(0x4dd)),'value':u[_0x4303a9(0x650)]['CENTER'],'icon':(0x0,x['jsx'])(h[_0x4303a9(0x4a4)],{})},{'label':_0x2650d5['t'](_0x4303a9(0x6b0)),'value':u[_0x4303a9(0x650)][_0x4303a9(0x2a7)],'icon':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x304)],{})},{'label':_0x2650d5['t'](_0x4303a9(0x251)),'value':u[_0x4303a9(0x650)]['JUSTIFIED'],'icon':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x39a)],{})}],_0x438aa4=[{'label':_0x2650d5['t'](_0x4303a9(0x2b2)),'value':u[_0x4303a9(0x34c)][_0x4303a9(0x2ae)],'icon':(0x0,x['jsx'])(h['AlignTopIcon'],{})},{'label':_0x2650d5['t']('docs-shape-ui.align.middle'),'value':u['VerticalAlign'][_0x4303a9(0x4fa)],'icon':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x591)],{})},{'label':_0x2650d5['t'](_0x4303a9(0x590)),'value':u[_0x4303a9(0x34c)][_0x4303a9(0x421)],'icon':(0x0,x['jsx'])(h[_0x4303a9(0x34d)],{})}],_0x197c12=[{'label':_0x2650d5['t'](_0x4303a9(0x375)),'value':'inline','icon':(0x0,x[_0x4303a9(0x509)])(pe,{})},{'label':_0x2650d5['t'](_0x4303a9(0x29e)),'value':_0x4303a9(0x476),'icon':(0x0,x[_0x4303a9(0x509)])(pe,{})},{'label':_0x2650d5['t'](_0x4303a9(0x2e9)),'value':_0x4303a9(0x669),'icon':(0x0,x[_0x4303a9(0x509)])(pe,{})},{'label':_0x2650d5['t']('docs-shape-ui.textWrap.behindText'),'value':'behindText','icon':(0x0,x[_0x4303a9(0x509)])(pe,{})},{'label':_0x2650d5['t'](_0x4303a9(0x3a0)),'value':_0x4303a9(0x68c),'icon':(0x0,x[_0x4303a9(0x509)])(pe,{})}];return(0x0,x['jsxs'])('div',{'data-u-comp':_0x4303a9(0x61d),'onMouseDown':_0x4f8611=>{const _0x7c629e=_0x4303a9;_0x4f8611['stopPropagation'](),me(_0x4f8611[_0x7c629e(0x65e)])||_0x4f8611[_0x7c629e(0x305)]();},'className':(0x0,v[_0x4303a9(0x656)])('univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',v[_0x4303a9(0x23f)]),'children':[(0x0,x[_0x4303a9(0x51f)])($,{'compact':!0x0,'children':[(0x0,x[_0x4303a9(0x509)])(ge,{'title':_0x2650d5['t'](_0x4303a9(0x211)),'color':_0x2166d9,'disabled':_0x225bd8,'onChange':_0x57a20e=>{const _0x3d323c=_0x4303a9;let _0x4fedce={'fill':{..._0xaea9b3[_0x3d323c(0x47e)],'fillType':c['ShapeFillEnum'][_0x3d323c(0x67d)],'color':_0x57a20e}};z(_0x3c1bfa,_0x6f00a5,_0x1cc243,_0xfcb5e5,{'oldShapeData':{'fill':_0xaea9b3['fill']}},_0x4fedce),_0x44a518(_0x4fedce);},'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x4af)],{'extend':{'colorChannel1':_0x2166d9}})}),(0x0,x['jsx'])(ge,{'title':_0x2650d5['t'](_0x4303a9(0x559)),'color':_0x325a73,'onChange':_0xfd9fe3=>{const _0x130559=_0x4303a9;let _0xe95b5b={'stroke':{..._0xaea9b3[_0x130559(0x38e)],'lineStrokeType':c[_0x130559(0x275)]['SolidLine'],'color':_0xfd9fe3}};z(_0x3c1bfa,_0x6f00a5,_0x1cc243,_0xfcb5e5,{'oldShapeData':{'stroke':_0xaea9b3[_0x130559(0x38e)]}},_0xe95b5b),_0x44a518(_0xe95b5b);},'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x3ae)],{})})]}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x51f)])($,{'children':[(0x0,x[_0x4303a9(0x509)])(v['Select'],{'className':_0x4303a9(0x40a),'value':_0x541d4b,'options':_0x150787,'onChange':_0x1e05e4=>_0x391c79({'textStyle':{'ff':String(_0x1e05e4)}})}),(0x0,x['jsx'])(v[_0x4303a9(0x3be)],{'className':'!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':String(_0x18439a),'options':_0x144d23,'onChange':_0x5bf974=>{const _0x18b5ca=_0x4303a9;let _0x4a6965=Number(_0x5bf974);Number[_0x18b5ca(0x5a6)](_0x4a6965)||_0x391c79({'textStyle':{'fs':_0x4a6965}}),_0x19c2c4[_0x18b5ca(0x4ef)](u[_0x18b5ca(0x2c4)],!0x1);}})]}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x51f)])($,{'compact':!0x0,'children':[(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x63f)),'active':_0x3b7147,'onClick':()=>_0x391c79({'textStyle':{'bl':_0x3b7147?u[_0x4303a9(0x550)][_0x4303a9(0x499)]:u[_0x4303a9(0x550)][_0x4303a9(0x622)]}}),'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x679)],{})}),(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x490)),'active':_0x5e8547,'onClick':()=>_0x391c79({'textStyle':{'it':_0x5e8547?u['BooleanNumber'][_0x4303a9(0x499)]:u[_0x4303a9(0x550)]['TRUE']}}),'children':(0x0,x[_0x4303a9(0x509)])(h['ItalicIcon'],{})}),(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x389)),'active':_0x757f32,'onClick':()=>_0x391c79({'textStyle':{'ul':{'s':_0x757f32?u[_0x4303a9(0x550)][_0x4303a9(0x499)]:u[_0x4303a9(0x550)]['TRUE']}}}),'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x318)],{})}),(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x5cf)),'active':_0x5b0a44,'onClick':()=>_0x391c79({'textStyle':{'st':{'s':_0x5b0a44?u[_0x4303a9(0x550)][_0x4303a9(0x499)]:u[_0x4303a9(0x550)][_0x4303a9(0x622)]}}}),'children':(0x0,x['jsx'])(h[_0x4303a9(0x2cd)],{})})]}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x51f)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(ge,{'title':_0x2650d5['t'](_0x4303a9(0x35f)),'color':_0x8ead6e,'onChange':_0x16ef63=>_0x391c79({'textStyle':{'cl':{'rgb':_0x16ef63}}}),'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x511)],{'extend':{'colorChannel1':_0x8ead6e}})}),(0x0,x[_0x4303a9(0x509)])(ge,{'title':_0x2650d5['t'](_0x4303a9(0x657)),'color':_0x5acf81,'onChange':_0x22324e=>_0x391c79({'textStyle':{'bg':{'rgb':_0x22324e}}}),'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x4af)],{'extend':{'colorChannel1':_0x5acf81}})})]}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x51f)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(_e,{'title':(_0xcac453=(_0x569f8c=_0x1dffa0[_0x4303a9(0x349)](_0x43565e=>_0x43565e[_0x4303a9(0x671)]===_0x38a4aa))==null?void 0x0:_0x569f8c[_0x4303a9(0x5f4)])==null?_0x2650d5['t']('docs-shape-ui.toolbar.alignLeft'):_0xcac453,'value':_0x38a4aa,'options':_0x1dffa0,'onChange':_0x54593b=>_0x391c79({'horizontalAlign':_0x54593b})}),(0x0,x['jsx'])(_e,{'title':(_0x37d4b2=(_0x412b2a=_0x438aa4[_0x4303a9(0x349)](_0x331525=>_0x331525[_0x4303a9(0x671)]===_0x210d2e))==null?void 0x0:_0x412b2a[_0x4303a9(0x5f4)])==null?_0x2650d5['t'](_0x4303a9(0x2b2)):_0x37d4b2,'value':_0x210d2e,'options':_0x438aa4,'onChange':_0x46a3d8=>_0x391c79({'verticalAlign':_0x46a3d8})})]}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x509)])($,{'compact':!0x0,'children':(0x0,x[_0x4303a9(0x509)])(_e,{'title':(_0x39fb2b=(_0x19ed4c=_0x197c12[_0x4303a9(0x349)](_0x3e48fb=>_0x3e48fb[_0x4303a9(0x671)]===_0x296ff2))==null?void 0x0:_0x19ed4c['label'])==null?_0x2650d5['t'](_0x4303a9(0x375)):_0x39fb2b,'value':_0x296ff2,'options':_0x197c12,'onChange':_0x42292b})}),(0x0,x[_0x4303a9(0x509)])(fe,{}),(0x0,x[_0x4303a9(0x51f)])($,{'compact':!0x0,'children':[(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x50b)),'onClick':()=>{_0x2a2330(!0x0),_0x3c1bfa['executeCommand'](M['id'],{'unitId':_0x6f00a5,'subUnitId':_0x1cc243,'drawingId':_0xfcb5e5});},'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x55b)],{})}),(0x0,x[_0x4303a9(0x509)])(he,{'title':_0x2650d5['t'](_0x4303a9(0x447)),'onClick':()=>{const _0x4e4391=_0x4303a9;_0x3c1bfa[_0x4e4391(0x242)](d['RemoveDocDrawingCommand']['id'],{'unitId':_0x6f00a5,'drawings':[{'unitId':_0x6f00a5,'subUnitId':_0x1cc243,'drawingId':_0xfcb5e5}]});},'children':(0x0,x[_0x4303a9(0x509)])(h[_0x4303a9(0x28e)],{})})]})]});}let ye=class extends u[_0x4f29eb(0x695)]{constructor(_0x126b3e,_0x5e1670){const _0x53e591=_0x4f29eb;super(),this['_clipService']=_0x126b3e,this[_0x53e591(0x3e4)]=_0x5e1670,this[_0x53e591(0x517)](),this['_clipService']['setCanUseShapeClip'](!0x0),this[_0x53e591(0x28f)]({'dispose':()=>this['_clipService']['setCanUseShapeClip'](!0x1)});}[_0x4f29eb(0x517)](){const _0x432f31=_0x4f29eb;let _0x21ae54=new Map(),_0x19f510=this[_0x432f31(0x34a)][_0x432f31(0x6c6)]((_0x2b9914,_0x49c047,_0xa34256,_0x4b6041,_0x49b011)=>{const _0x3e3eca=_0x432f31;let _0x3ca80e=_0x49c047;if(_0x3ca80e===c[_0x3e3eca(0x4e1)][_0x3e3eca(0x3f2)]||_0x49c047===_0x3e3eca(0x4c7))return!0x1;try{let _0x5a63a0=_0x21ae54['get'](_0x49c047);return _0x5a63a0||(_0x5a63a0=new c[(_0x3e3eca(0x4cd))](_0x3ca80e,_0x3e3eca(0x516)+_0x49c047),_0x21ae54['set'](_0x49c047,_0x5a63a0)),_0x49b011&&_0x5a63a0[_0x3e3eca(0x38b)]({'adjustValues':_0x49b011},!0x0),_0x5a63a0[_0x3e3eca(0x607)]({'width':_0xa34256,'height':_0x4b6041}),_0x5a63a0[_0x3e3eca(0x543)](_0x2b9914,{'left':0x0,'top':0x0,'width':_0xa34256,'height':_0x4b6041});}catch{return!0x1;}});this[_0x432f31(0x28f)](_0x19f510),this[_0x432f31(0x28f)]({'dispose':()=>_0x21ae54[_0x432f31(0x2eb)]()});}[_0x4f29eb(0x483)](_0x3e4c3d,_0x42acad,_0x2157cb,_0x1297b5,_0x531599){const _0x3d628a=_0x4f29eb;let _0x4b951b=this['_drawingManagerService'][_0x3d628a(0x468)](_0x3e4c3d,_0x42acad)[_0x2157cb];!_0x4b951b||_0x4b951b[_0x3d628a(0x29a)]!==u[_0x3d628a(0x32d)][_0x3d628a(0x531)]||this['_drawingManagerService'][_0x3d628a(0x48e)]([{..._0x4b951b,'prstGeom':_0x1297b5,'adjustValues':_0x531599}]);}};ye=W([U(0x0,(0x0,u['Inject'])(b[_0x4f29eb(0x4ed)])),U(0x1,(0x0,u[_0x4f29eb(0x3f0)])(m['IDrawingManagerService']))],ye);const be=[{'group':_0x4f29eb(0x44b),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3b6)],'icon':_0x4f29eb(0x3ae),'name':_0x4f29eb(0x3b8)},{'group':_0x4f29eb(0x44b),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x252)],'icon':_0x4f29eb(0x67c),'name':_0x4f29eb(0x409),'endArrow':!0x0},{'group':_0x4f29eb(0x44b),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x252)],'icon':'ShapeStraightConnector2Icon','name':_0x4f29eb(0x4e7),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x4f29eb(0x44b),'type':c['ShapeTypeEnum']['BentConnector3'],'icon':'ShapeBentConnector3Icon','name':_0x4f29eb(0x665)},{'group':'line','type':c[_0x4f29eb(0x4e1)]['BentConnector3'],'icon':_0x4f29eb(0x26f),'name':_0x4f29eb(0x55a),'endArrow':!0x0},{'group':_0x4f29eb(0x44b),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1f2)],'icon':_0x4f29eb(0x292),'name':_0x4f29eb(0x46b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x4f29eb(0x44b),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x320)],'icon':_0x4f29eb(0x610),'name':'docs-shape-ui.shape.type.curved-connector3'},{'group':_0x4f29eb(0x44b),'type':c['ShapeTypeEnum'][_0x4f29eb(0x320)],'icon':_0x4f29eb(0x2b4),'name':_0x4f29eb(0x554),'endArrow':!0x0},{'group':_0x4f29eb(0x44b),'type':c['ShapeTypeEnum'][_0x4f29eb(0x320)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x4f29eb(0x535),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x372)],'icon':'ShapeRectIcon','name':_0x4f29eb(0x4d1)},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2f3)],'icon':_0x4f29eb(0x3a1),'name':'docs-shape-ui.shape.type.round-rect'},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x38d)],'icon':_0x4f29eb(0x30e),'name':_0x4f29eb(0x2e0)},{'group':_0x4f29eb(0x383),'type':c['ShapeTypeEnum'][_0x4f29eb(0x56a)],'icon':'ShapeSnip2SameRectIcon','name':_0x4f29eb(0x6c5)},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3ad)],'icon':_0x4f29eb(0x37e),'name':_0x4f29eb(0x1c5)},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4d0)],'icon':_0x4f29eb(0x4ab),'name':_0x4f29eb(0x6bb)},{'group':_0x4f29eb(0x383),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2f8)],'icon':_0x4f29eb(0x663),'name':_0x4f29eb(0x294)},{'group':'rectangle','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x6b4)],'icon':_0x4f29eb(0x377),'name':'docs-shape-ui.shape.type.round2-same-rect'},{'group':'rectangle','type':c['ShapeTypeEnum'][_0x4f29eb(0x1ac)],'icon':_0x4f29eb(0x46a),'name':_0x4f29eb(0x2fc)},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum']['Rect'],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x4f29eb(0x224),'horizontal':!0x0},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x372)],'icon':'ShapeRectTextboxVerticalIcon','name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x4f29eb(0x4b5)],'icon':_0x4f29eb(0x20d),'name':_0x4f29eb(0x2d0)},{'group':'basicShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1df)],'icon':'ShapeTriangleIcon','name':_0x4f29eb(0x4e3)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2f1)],'icon':'ShapeRtTriangleIcon','name':'docs-shape-ui.shape.type.rt-triangle'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['Parallelogram'],'icon':'ShapeParallelogramIcon','name':_0x4f29eb(0x69a)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x556)],'icon':'ShapeTrapezoidIcon','name':_0x4f29eb(0x3fa)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x65f)],'icon':_0x4f29eb(0x4c2),'name':'docs-shape-ui.shape.type.diamond'},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x33d)],'icon':'ShapePentagonIcon','name':_0x4f29eb(0x4f6)},{'group':'basicShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x43b)],'icon':_0x4f29eb(0x20a),'name':_0x4f29eb(0x595)},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x4bb)],'icon':_0x4f29eb(0x245),'name':_0x4f29eb(0x4c4)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3c1)],'icon':_0x4f29eb(0x3bb),'name':'docs-shape-ui.shape.type.octagon'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x243)],'icon':_0x4f29eb(0x2f7),'name':_0x4f29eb(0x4b2)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['Dodecagon'],'icon':_0x4f29eb(0x250),'name':_0x4f29eb(0x42b)},{'group':'basicShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5cb)],'icon':'ShapePieIcon','name':'docs-shape-ui.shape.type.pie'},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x2ad)],'icon':_0x4f29eb(0x396),'name':_0x4f29eb(0x25c)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x358)],'icon':_0x4f29eb(0x397),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x6bf)],'icon':'ShapeFrameIcon','name':_0x4f29eb(0x5d8)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x579)],'icon':'ShapeHalfFrameIcon','name':'docs-shape-ui.shape.type.half-frame'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['Corner'],'icon':_0x4f29eb(0x514),'name':_0x4f29eb(0x523)},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x49c)],'icon':_0x4f29eb(0x296),'name':_0x4f29eb(0x45d)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x4f29eb(0x274)],'icon':_0x4f29eb(0x210),'name':_0x4f29eb(0x6a6)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['Plaque'],'icon':_0x4f29eb(0x5d7),'name':_0x4f29eb(0x520)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5e4)],'icon':_0x4f29eb(0x356),'name':_0x4f29eb(0x203)},{'group':'basicShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1fc)],'icon':_0x4f29eb(0x673),'name':_0x4f29eb(0x1e0)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['Bevel'],'icon':_0x4f29eb(0x5eb),'name':'docs-shape-ui.shape.type.bevel'},{'group':'basicShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5e1)],'icon':_0x4f29eb(0x5ba),'name':_0x4f29eb(0x381)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x58a)],'icon':'ShapeNoSmokingIcon','name':_0x4f29eb(0x1ea)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x56d)],'icon':_0x4f29eb(0x1b9),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2d7)],'icon':_0x4f29eb(0x30b),'name':'docs-shape-ui.shape.type.folder-corner'},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x633)],'icon':_0x4f29eb(0x449),'name':_0x4f29eb(0x5b8)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2f2)],'icon':_0x4f29eb(0x4f5),'name':'docs-shape-ui.shape.type.heart'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x213)],'icon':'ShapeLightningBoltIcon','name':_0x4f29eb(0x32b)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x50f)],'icon':'ShapeSunIcon','name':_0x4f29eb(0x672)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x269)],'icon':'ShapeMoonIcon','name':_0x4f29eb(0x67a)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x4f29eb(0x59a)],'icon':_0x4f29eb(0x1ab),'name':'docs-shape-ui.shape.type.cloud'},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1b5)],'icon':'ShapeArcIcon','name':_0x4f29eb(0x37a)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)]['BracketPair'],'icon':_0x4f29eb(0x51c),'name':_0x4f29eb(0x1e5)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x53a)],'icon':_0x4f29eb(0x1f4),'name':_0x4f29eb(0x1e9)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x21a)],'icon':_0x4f29eb(0x470),'name':_0x4f29eb(0x463)},{'group':_0x4f29eb(0x547),'type':c['ShapeTypeEnum'][_0x4f29eb(0x444)],'icon':_0x4f29eb(0x5c0),'name':_0x4f29eb(0x227)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5a0)],'icon':'ShapeLeftBraceIcon','name':_0x4f29eb(0x386)},{'group':_0x4f29eb(0x547),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x525)],'icon':_0x4f29eb(0x1d1),'name':_0x4f29eb(0x65d)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x410)],'icon':_0x4f29eb(0x55f),'name':_0x4f29eb(0x411)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x69d)],'icon':_0x4f29eb(0x30a),'name':_0x4f29eb(0x2c6)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)]['UpArrow'],'icon':'ShapeUpArrowIcon','name':'docs-shape-ui.shape.type.up-arrow'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x454)],'icon':_0x4f29eb(0x3c7),'name':'docs-shape-ui.shape.type.down-arrow'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x273)],'icon':_0x4f29eb(0x64f),'name':_0x4f29eb(0x353)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1de)],'icon':_0x4f29eb(0x638),'name':'docs-shape-ui.shape.type.up-down-arrow'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x37b)],'icon':_0x4f29eb(0x600),'name':'docs-shape-ui.shape.type.quad-arrow'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x506)],'icon':_0x4f29eb(0x205),'name':_0x4f29eb(0x2cf)},{'group':_0x4f29eb(0x5e0),'type':c['ShapeTypeEnum'][_0x4f29eb(0x24a)],'icon':_0x4f29eb(0x473),'name':_0x4f29eb(0x660)},{'group':_0x4f29eb(0x5e0),'type':c['ShapeTypeEnum']['UturnArrow'],'icon':_0x4f29eb(0x300),'name':'docs-shape-ui.shape.type.uturn-arrow'},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x41f)],'icon':_0x4f29eb(0x236),'name':_0x4f29eb(0x44d)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x30f)],'icon':_0x4f29eb(0x395),'name':_0x4f29eb(0x25b)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)]['CurvedRightArrow'],'icon':_0x4f29eb(0x350),'name':'docs-shape-ui.shape.type.curved-right-arrow'},{'group':_0x4f29eb(0x5e0),'type':c['ShapeTypeEnum'][_0x4f29eb(0x2b8)],'icon':_0x4f29eb(0x1e4),'name':_0x4f29eb(0x33a)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)]['CurvedUpArrow'],'icon':_0x4f29eb(0x66b),'name':'docs-shape-ui.shape.type.curved-up-arrow'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x323)],'icon':_0x4f29eb(0x2fb),'name':_0x4f29eb(0x2cb)},{'group':_0x4f29eb(0x5e0),'type':c['ShapeTypeEnum'][_0x4f29eb(0x6b1)],'icon':_0x4f29eb(0x216),'name':_0x4f29eb(0x41b)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)]['NotchedRightArrow'],'icon':_0x4f29eb(0x682),'name':_0x4f29eb(0x4b7)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3a8)],'icon':_0x4f29eb(0x5c9),'name':'docs-shape-ui.shape.type.home-plate'},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x478)],'icon':_0x4f29eb(0x674),'name':_0x4f29eb(0x1f1)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)]['RightArrowCallout'],'icon':_0x4f29eb(0x2c1),'name':_0x4f29eb(0x4bd)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x289)],'icon':'ShapeDownArrowCalloutIcon','name':_0x4f29eb(0x504)},{'group':_0x4f29eb(0x5e0),'type':c['ShapeTypeEnum'][_0x4f29eb(0x2b9)],'icon':_0x4f29eb(0x6a9),'name':_0x4f29eb(0x368)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)]['UpArrowCallout'],'icon':_0x4f29eb(0x4f0),'name':_0x4f29eb(0x430)},{'group':_0x4f29eb(0x5e0),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x498)],'icon':_0x4f29eb(0x530),'name':_0x4f29eb(0x3b5)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4d4)],'icon':_0x4f29eb(0x6bd),'name':_0x4f29eb(0x4cb)},{'group':'blockArrow','type':c[_0x4f29eb(0x4e1)]['CircularArrow'],'icon':_0x4f29eb(0x686),'name':'docs-shape-ui.shape.type.circular-arrow'},{'group':'equationShape','type':c[_0x4f29eb(0x4e1)]['MathPlus'],'icon':_0x4f29eb(0x44f),'name':'docs-shape-ui.shape.type.math-plus'},{'group':_0x4f29eb(0x48a),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x306)],'icon':'ShapeMathMinusIcon','name':_0x4f29eb(0x4d9)},{'group':'equationShape','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5e7)],'icon':_0x4f29eb(0x3ff),'name':_0x4f29eb(0x240)},{'group':'equationShape','type':c[_0x4f29eb(0x4e1)]['MathDivide'],'icon':_0x4f29eb(0x2aa),'name':'docs-shape-ui.shape.type.math-divide'},{'group':'equationShape','type':c['ShapeTypeEnum'][_0x4f29eb(0x36f)],'icon':'ShapeMathEqualIcon','name':_0x4f29eb(0x1ca)},{'group':'equationShape','type':c['ShapeTypeEnum'][_0x4f29eb(0x521)],'icon':'ShapeMathNotEqualIcon','name':_0x4f29eb(0x1f7)},{'group':'flowchart','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x43e)],'icon':_0x4f29eb(0x606),'name':_0x4f29eb(0x408)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x435)],'icon':'ShapeFlowChartAlternateProcessIcon','name':'docs-shape-ui.shape.type.flow-chart-alternate-process'},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4de)],'icon':_0x4f29eb(0x263),'name':_0x4f29eb(0x424)},{'group':_0x4f29eb(0x3c2),'type':c['ShapeTypeEnum'][_0x4f29eb(0x376)],'icon':'ShapeFlowChartInputOutputIcon','name':_0x4f29eb(0x451)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)]['FlowchartPredefinedProcess'],'icon':_0x4f29eb(0x452),'name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)]['FlowchartInternalStorage'],'icon':_0x4f29eb(0x5c1),'name':_0x4f29eb(0x201)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x477)],'icon':_0x4f29eb(0x38c),'name':_0x4f29eb(0x48b)},{'group':'flowchart','type':c[_0x4f29eb(0x4e1)]['FlowchartMultiDocument'],'icon':_0x4f29eb(0x53b),'name':_0x4f29eb(0x51d)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2d8)],'icon':_0x4f29eb(0x3f9),'name':_0x4f29eb(0x1d9)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)]['FlowchartPreparation'],'icon':_0x4f29eb(0x2dd),'name':_0x4f29eb(0x3cb)},{'group':_0x4f29eb(0x3c2),'type':c['ShapeTypeEnum'][_0x4f29eb(0x588)],'icon':_0x4f29eb(0x262),'name':'docs-shape-ui.shape.type.flow-chart-manual-input'},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1c8)],'icon':_0x4f29eb(0x57c),'name':_0x4f29eb(0x489)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)]['FlowchartConnector'],'icon':'ShapeFlowChartConnectorIcon','name':_0x4f29eb(0x5c4)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5ac)],'icon':_0x4f29eb(0x1a9),'name':'docs-shape-ui.shape.type.flow-chart-offpage-connector'},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x20e)],'icon':_0x4f29eb(0x453),'name':_0x4f29eb(0x1c3)},{'group':_0x4f29eb(0x3c2),'type':c['ShapeTypeEnum'][_0x4f29eb(0x466)],'icon':_0x4f29eb(0x52d),'name':_0x4f29eb(0x5a2)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x4f29eb(0x6a2)],'icon':_0x4f29eb(0x488),'name':'docs-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2bd)],'icon':_0x4f29eb(0x49a),'name':_0x4f29eb(0x307)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1ce)],'icon':_0x4f29eb(0x562),'name':_0x4f29eb(0x495)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4ad)],'icon':_0x4f29eb(0x34e),'name':_0x4f29eb(0x387)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x677)],'icon':_0x4f29eb(0x357),'name':_0x4f29eb(0x1da)},{'group':'flowchart','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x481)],'icon':_0x4f29eb(0x414),'name':_0x4f29eb(0x4c0)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4ce)],'icon':_0x4f29eb(0x6ad),'name':_0x4f29eb(0x1d6)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x290)],'icon':_0x4f29eb(0x1e1),'name':_0x4f29eb(0x65b)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x629)],'icon':'ShapeFlowChartMagneticTapeIcon','name':_0x4f29eb(0x52e)},{'group':_0x4f29eb(0x3c2),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x432)],'icon':_0x4f29eb(0x54e),'name':_0x4f29eb(0x5bc)},{'group':_0x4f29eb(0x3c2),'type':c['ShapeTypeEnum'][_0x4f29eb(0x4c3)],'icon':_0x4f29eb(0x247),'name':_0x4f29eb(0x687)},{'group':'flowchart','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5d9)],'icon':_0x4f29eb(0x233),'name':_0x4f29eb(0x3c9)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x308)],'icon':_0x4f29eb(0x1a1),'name':'docs-shape-ui.shape.type.irregular-seal1'},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3ef)],'icon':_0x4f29eb(0x24f),'name':_0x4f29eb(0x2d3)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x6a0)],'icon':_0x4f29eb(0x295),'name':_0x4f29eb(0x602)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)]['Star5'],'icon':'ShapeStar5Icon','name':_0x4f29eb(0x27f)},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum'][_0x4f29eb(0x21e)],'icon':'ShapeStar6Icon','name':_0x4f29eb(0x549)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x22d)],'icon':_0x4f29eb(0x46e),'name':_0x4f29eb(0x54a)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x326)],'icon':'ShapeStar8Icon','name':'docs-shape-ui.shape.type.star8'},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum'][_0x4f29eb(0x1e6)],'icon':_0x4f29eb(0x2a1),'name':_0x4f29eb(0x57f)},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum'][_0x4f29eb(0x53e)],'icon':_0x4f29eb(0x26c),'name':_0x4f29eb(0x3a4)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2bb)],'icon':_0x4f29eb(0x5fd),'name':_0x4f29eb(0x33e)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3ec)],'icon':_0x4f29eb(0x434),'name':_0x4f29eb(0x572)},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)]['Star32'],'icon':_0x4f29eb(0x4cc),'name':'docs-shape-ui.shape.type.star32'},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5a7)],'icon':_0x4f29eb(0x2e7),'name':_0x4f29eb(0x576)},{'group':'starAndBanner','type':c[_0x4f29eb(0x4e1)]['Ribbon'],'icon':_0x4f29eb(0x2c2),'name':_0x4f29eb(0x620)},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum']['EllipseRibbon2'],'icon':_0x4f29eb(0x4db),'name':_0x4f29eb(0x53c)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x4f29eb(0x254)],'icon':_0x4f29eb(0x4f8),'name':_0x4f29eb(0x328)},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum'][_0x4f29eb(0x635)],'icon':'ShapeVerticalScrollIcon','name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)]['HorizontalScroll'],'icon':_0x4f29eb(0x66a),'name':'docs-shape-ui.shape.type.horizontal-scroll'},{'group':_0x4f29eb(0x331),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x66d)],'icon':_0x4f29eb(0x513),'name':'docs-shape-ui.shape.type.wave'},{'group':_0x4f29eb(0x331),'type':c['ShapeTypeEnum']['DoubleWave'],'icon':_0x4f29eb(0x551),'name':_0x4f29eb(0x634)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x31c)],'icon':'ShapeWedgeRectCalloutIcon','name':_0x4f29eb(0x27a)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)]['WedgeRoundRectCallout'],'icon':_0x4f29eb(0x4d7),'name':'docs-shape-ui.shape.type.wedge-round-rect-callout'},{'group':'callout','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x4da)],'icon':_0x4f29eb(0x684),'name':_0x4f29eb(0x2d1)},{'group':'callout','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x65a)],'icon':_0x4f29eb(0x553),'name':_0x4f29eb(0x3b0)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1a3)],'icon':_0x4f29eb(0x4a0),'name':_0x4f29eb(0x60b)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x2ba)],'icon':_0x4f29eb(0x4b8),'name':_0x4f29eb(0x310)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)]['BorderCallout3'],'icon':'ShapeBorderCallout3Icon','name':_0x4f29eb(0x5f0)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x670)],'icon':_0x4f29eb(0x241),'name':_0x4f29eb(0x6c1)},{'group':_0x4f29eb(0x2a6),'type':c['ShapeTypeEnum'][_0x4f29eb(0x40f)],'icon':'ShapeAccentCallout2Icon','name':'docs-shape-ui.shape.type.accent-callout2'},{'group':_0x4f29eb(0x2a6),'type':c['ShapeTypeEnum'][_0x4f29eb(0x27c)],'icon':_0x4f29eb(0x4e5),'name':'docs-shape-ui.shape.type.accent-callout3'},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x55d)],'icon':_0x4f29eb(0x1b8),'name':_0x4f29eb(0x38a)},{'group':_0x4f29eb(0x2a6),'type':c['ShapeTypeEnum'][_0x4f29eb(0x646)],'icon':'ShapeCallout2Icon','name':_0x4f29eb(0x6b8)},{'group':_0x4f29eb(0x2a6),'type':c['ShapeTypeEnum'][_0x4f29eb(0x2ea)],'icon':_0x4f29eb(0x260),'name':_0x4f29eb(0x1ba)},{'group':'callout','type':c['ShapeTypeEnum'][_0x4f29eb(0x1a6)],'icon':'ShapeAccentBorderCallout1Icon','name':_0x4f29eb(0x647)},{'group':_0x4f29eb(0x2a6),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x412)],'icon':_0x4f29eb(0x6be),'name':_0x4f29eb(0x6a5)},{'group':_0x4f29eb(0x2a6),'type':c['ShapeTypeEnum'][_0x4f29eb(0x626)],'icon':_0x4f29eb(0x537),'name':_0x4f29eb(0x645)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x450)],'icon':_0x4f29eb(0x2fa),'name':_0x4f29eb(0x1c2)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['LeftRightCircularArrow'],'icon':_0x4f29eb(0x351),'name':_0x4f29eb(0x653)},{'group':'other','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x644)],'icon':_0x4f29eb(0x696),'name':'docs-shape-ui.shape.type.swoosh-arrow'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x222)],'icon':_0x4f29eb(0x5be),'name':_0x4f29eb(0x4ae)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum'][_0x4f29eb(0x46c)],'icon':_0x4f29eb(0x58d),'name':_0x4f29eb(0x329)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x69e)],'icon':_0x4f29eb(0x48d),'name':_0x4f29eb(0x64e)},{'group':'other','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x47d)],'icon':_0x4f29eb(0x41c),'name':_0x4f29eb(0x569)},{'group':'other','type':c['ShapeTypeEnum'][_0x4f29eb(0x5ad)],'icon':_0x4f29eb(0x1fb),'name':_0x4f29eb(0x4d8)},{'group':'other','type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x393)],'icon':_0x4f29eb(0x515),'name':_0x4f29eb(0x68b)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum'][_0x4f29eb(0x5b3)],'icon':_0x4f29eb(0x54b),'name':'docs-shape-ui.shape.type.action-button-back-previous'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x215)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x4f29eb(0x1b1)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x60a)],'icon':_0x4f29eb(0x5fc),'name':_0x4f29eb(0x4a9)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum']['ActionButtonEnd'],'icon':_0x4f29eb(0x573),'name':_0x4f29eb(0x3bf)},{'group':'other','type':c[_0x4f29eb(0x4e1)]['ActionButtonHome'],'icon':_0x4f29eb(0x6c4),'name':_0x4f29eb(0x540)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x1bb)],'icon':_0x4f29eb(0x30d),'name':'docs-shape-ui.shape.type.action-button-information'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x3a3)],'icon':'ShapeActionButtonReturnIcon','name':_0x4f29eb(0x5a4)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum']['ActionButtonMovie'],'icon':_0x4f29eb(0x1eb),'name':'docs-shape-ui.shape.type.action-button-movie'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x527)],'icon':_0x4f29eb(0x457),'name':_0x4f29eb(0x20b)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x35a)],'icon':_0x4f29eb(0x24c),'name':'docs-shape-ui.shape.type.action-button-sound'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['ActionButtonHelp'],'icon':_0x4f29eb(0x3e9),'name':_0x4f29eb(0x1cd)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['ActionButtonBlank'],'icon':_0x4f29eb(0x5c7),'name':_0x4f29eb(0x3b4)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x5fe)],'icon':_0x4f29eb(0x5ca),'name':_0x4f29eb(0x6aa)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum'][_0x4f29eb(0x43a)],'icon':_0x4f29eb(0x2ce),'name':'docs-shape-ui.shape.type.chart-star'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['ChartX'],'icon':_0x4f29eb(0x3fc),'name':_0x4f29eb(0x3eb)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['FlowChartOfflineStorage'],'icon':_0x4f29eb(0x2b0),'name':'docs-shape-ui.shape.type.flow-chart-offline-storage'},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)][_0x4f29eb(0x40c)],'icon':_0x4f29eb(0x2af),'name':_0x4f29eb(0x25f)},{'group':'other','type':c['ShapeTypeEnum'][_0x4f29eb(0x44c)],'icon':_0x4f29eb(0x293),'name':_0x4f29eb(0x4f9)},{'group':'other','type':c[_0x4f29eb(0x4e1)]['SquareTabs'],'icon':_0x4f29eb(0x420),'name':_0x4f29eb(0x39d)},{'group':_0x4f29eb(0x5f5),'type':c['ShapeTypeEnum'][_0x4f29eb(0x3e8)],'icon':_0x4f29eb(0x3e3),'name':_0x4f29eb(0x1b6)},{'group':_0x4f29eb(0x5f5),'type':c[_0x4f29eb(0x4e1)]['NonIsoscelesTrapezoid'],'icon':_0x4f29eb(0x443),'name':_0x4f29eb(0x51e)}],xe=_0x4f29eb(0x469);function Se({onShapeClick:_0x1d578b,excludeGroups:_0x2c17ca}){const _0x5b3e96=_0x4f29eb;let _0x56164e=(0x0,g[_0x5b3e96(0x659)])(u[_0x5b3e96(0x456)]),_0x40209e=(0x0,g[_0x5b3e96(0x659)])(g[_0x5b3e96(0x1cc)]),_0x4a2ac5=(_0x2c17ca?be[_0x5b3e96(0x3c3)](_0x380bbe=>!_0x2c17ca[_0x5b3e96(0x2f4)](_0x380bbe[_0x5b3e96(0x2a3)])):be)['reduce']((_0x155ef8,_0x43517b)=>(_0x155ef8[_0x43517b[_0x5b3e96(0x2a3)]]||(_0x155ef8[_0x43517b[_0x5b3e96(0x2a3)]]=[]),_0x155ef8[_0x43517b[_0x5b3e96(0x2a3)]][_0x5b3e96(0x374)](_0x43517b),_0x155ef8),{});return(0x0,x[_0x5b3e96(0x509)])(_0x5b3e96(0x632),{'className':_0x5b3e96(0x54d),'children':Object[_0x5b3e96(0x51a)](_0x4a2ac5)['map'](([_0x765a64,_0x5b2728])=>(0x0,x[_0x5b3e96(0x51f)])(_0x5b3e96(0x632),{'className':_0x5b3e96(0x38f),'children':[(0x0,x[_0x5b3e96(0x509)])(_0x5b3e96(0x632),{'className':_0x5b3e96(0x561),'children':_0x56164e['t'](_0x5b3e96(0x3b2)+_0x765a64)}),(0x0,x[_0x5b3e96(0x509)])(_0x5b3e96(0x632),{'className':'univer-grid\x20univer-grid-cols-10\x20univer-gap-1','children':_0x5b2728[_0x5b3e96(0x62f)](_0x3210b3=>{const _0x32470e=_0x5b3e96;let _0x1870b8=_0x40209e['get'](_0x3210b3[_0x32470e(0x60c)]);return(0x0,x[_0x32470e(0x509)])(_0x32470e(0x632),{'title':_0x56164e['t'](_0x3210b3[_0x32470e(0x2f5)]),'onClick':()=>_0x1d578b(_0x3210b3),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0x1870b8&&(0x0,x[_0x32470e(0x509)])(_0x1870b8,{'className':'univer-size-full'})},_0x3210b3[_0x32470e(0x2f5)]);})})]},_0x765a64))});}function Ce(){const _0x50859e=_0x4f29eb;let _0x20bd52=(0x0,g[_0x50859e(0x659)])(u['LocaleService']),_0x3ef75c=(0x0,g[_0x50859e(0x659)])(m[_0x50859e(0x5d2)]),_0x539652=(0x0,g[_0x50859e(0x659)])(ye),[_0x25feca,_0x3e32d8]=(0x0,y[_0x50859e(0x2bc)])(!0x1);return(0x0,x['jsx'])(v[_0x50859e(0x312)],{'side':_0x50859e(0x46d),'open':_0x25feca,'onOpenChange':_0x3e32d8,'overlay':(0x0,x[_0x50859e(0x509)])(Se,{'onShapeClick':_0x133eff=>{const _0x1d4a77=_0x50859e;let _0xb8eb76=_0x3ef75c['getFocusDrawings']()[_0x1d4a77(0x349)](_0x8f5287=>_0x8f5287[_0x1d4a77(0x29a)]===u[_0x1d4a77(0x32d)][_0x1d4a77(0x531)]);if(!_0xb8eb76)return;let {unitId:_0x24ac6a,subUnitId:_0x324b4a,drawingId:_0x5a516f}=_0xb8eb76;_0x539652[_0x1d4a77(0x483)](_0x24ac6a,_0x324b4a,_0x5a516f,_0x133eff[_0x1d4a77(0x587)]),_0x3e32d8(!0x1);},'excludeGroups':[_0x50859e(0x44b)]}),'children':(0x0,x[_0x50859e(0x509)])(v[_0x50859e(0x533)],{'children':_0x20bd52['t']('docs-shape-ui.crop.shape')})});}function we({paragraphMenuPlacement:_0x1487d5}){const _0x592f63=_0x4f29eb;let _0x412323=(0x0,g[_0x592f63(0x659)])(u[_0x592f63(0x355)]);return(0x0,x[_0x592f63(0x509)])(Se,{'onShapeClick':_0x3f5000=>{const _0x25d4bf=_0x592f63;_0x412323[_0x25d4bf(0x242)](A['id'],{'paragraphMenuPlacement':_0x1487d5,'value':_0x3f5000['type'],'enhanceParams':{'endArrow':_0x3f5000[_0x25d4bf(0x643)],'startArrow':_0x3f5000[_0x25d4bf(0x628)],'horizontal':_0x3f5000[_0x25d4bf(0x4a1)],'vertical':_0x3f5000[_0x25d4bf(0x317)]}});}});}function Te(_0x596e3c){const _0x1d14cd=_0x4f29eb;return _0x59c6f0=>({'id':A['id'],'type':g[_0x1d14cd(0x4c6)][_0x1d14cd(0x694)],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x596e3c?{'id':A['id'],'paragraphMenuPlacement':_0x596e3c}:{'id':A['id']}}}],'icon':_0x1d14cd(0x37f),'title':_0x1d14cd(0x442),'tooltip':_0x1d14cd(0x1f8),'hidden$':(0x0,g[_0x1d14cd(0x272)])(_0x59c6f0,u[_0x1d14cd(0x1be)]['UNIVER_DOC'])});}const Ee=Te(),De=Te(_0x4f29eb(0x42a)),Oe=Te(_0x4f29eb(0x65e)),ke={[g[_0x4f29eb(0x3c5)]['MEDIA']]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x4f29eb(0x4c9)][_0x4f29eb(0x2ac)]]:{[g[_0x4f29eb(0x32e)][_0x4f29eb(0x49f)]]:{[f[_0x4f29eb(0x500)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x4f29eb(0x6b7)]]:{[g[_0x4f29eb(0x32e)][_0x4f29eb(0x49f)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f['EMPTY_PARAGRAPH_MENU_ID']]:{[g['ContextMenuGroup']['LAYOUT']]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u['Disposable']{constructor(_0x5ca59a,_0xdff20e,_0x26c871,_0x4aece7,_0x31aa89,_0x24890d,_0x47dc82,_0x54ab19,_0x3ff448,_0x44f228,_0x51ee74,_0x2076bd){const _0x362721=_0x4f29eb;super(),this['_univerInstanceService']=_0x5ca59a,this[_0x362721(0x445)]=_0xdff20e,this[_0x362721(0x5af)]=_0x26c871,this['_docsShapeService']=_0x4aece7,this[_0x362721(0x62e)]=_0x31aa89,this['_componentManager']=_0x24890d,this[_0x362721(0x4a3)]=_0x47dc82,this['_drawingManagerService']=_0x54ab19,this[_0x362721(0x264)]=_0x3ff448,this[_0x362721(0x208)]=_0x44f228,this[_0x362721(0x27e)]=_0x51ee74,this[_0x362721(0x56f)]=_0x2076bd,L(this,'_sidebarDisposable',null),L(this,_0x362721(0x496),null),L(this,'_isOpenedShapeEditPanel',!0x1),L(this,'_initializedShapePopupMenu',new Set()),L(this,'_disposePopups',[]),this[_0x362721(0x3ee)](),this[_0x362721(0x3a9)](),this['disposeWithMe'](this['_univerInstanceService'][_0x362721(0x342)](u[_0x362721(0x1be)]['UNIVER_DOC'])['subscribe'](_0x5be64d=>{const _0x168a90=_0x362721;if(!_0x5be64d){var _0x4d4757;(_0x4d4757=this['_sidebarDisposable'])==null||_0x4d4757[_0x168a90(0x4f7)]();return;}this[_0x168a90(0x471)](_0x5be64d);})),this[_0x362721(0x2b5)](),this[_0x362721(0x235)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x362721(0x47f)]['subscribe'](_0x5af382=>{const _0x2982ac=_0x362721;_0x5af382&&this[_0x2982ac(0x58b)]();}));}[_0x4f29eb(0x3a9)](){this['_menuManagerService']['mergeMenu'](ke);}[_0x4f29eb(0x235)](){const _0x336146=_0x4f29eb;this[_0x336146(0x327)]['getAllUnitsForType'](u[_0x336146(0x1be)][_0x336146(0x25d)])[_0x336146(0x3f5)](_0x493c30=>this[_0x336146(0x471)](_0x493c30));}[_0x4f29eb(0x25a)](_0x51d211,_0x256669,_0xfac5c6,_0x488195){const _0xbed87d=_0x4f29eb;return[{'label':_0xbed87d(0x50b),'index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x51d211,'subUnitId':_0x256669,'drawingId':_0xfac5c6},'disable':_0x488195===u[_0xbed87d(0x32d)][_0xbed87d(0x26d)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':d[_0xbed87d(0x253)]['id'],'commandParams':{'unitId':_0x51d211,'drawings':[{'unitId':_0x51d211,'subUnitId':_0x256669,'drawingId':_0xfac5c6}]},'disable':!0x1},{'label':_0xbed87d(0x36d),'index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x51d211,'subUnitId':_0x256669,'drawingId':_0xfac5c6},'disable':!0x1}];}['_getShapeInfo'](_0x488601,_0x230301,_0x4fa7ab){const _0x1c9b02=_0x4f29eb;let _0x1283a1=this[_0x1c9b02(0x23b)][_0x1c9b02(0x4f2)](_0x488601,_0x230301,_0x4fa7ab),_0x436783=this[_0x1c9b02(0x23b)][_0x1c9b02(0x548)](_0x488601,_0x230301,_0x4fa7ab);return _0x1283a1!==void 0x0&&_0x436783!==void 0x0?{'shapeData':_0x436783,'shapeId':_0x4fa7ab,'shapeType':_0x1283a1,'unitId':_0x488601,'subUnitId':_0x230301,'disableShapeOption':!0x1}:null;}[_0x4f29eb(0x471)](_0x1d527b){const _0x2c8092=_0x4f29eb;if(!_0x1d527b)return;let _0x2cdc99=_0x1d527b[_0x2c8092(0x333)]();this[_0x2c8092(0x208)]['has'](_0x2cdc99)&&!this[_0x2c8092(0x1ef)][_0x2c8092(0x69c)](_0x2cdc99)&&(this[_0x2c8092(0x285)](_0x2cdc99),this['_initializedShapePopupMenu'][_0x2c8092(0x340)](_0x2cdc99));}[_0x4f29eb(0x58b)](){const _0x36b3f0=_0x4f29eb;this['_disposePopups'][_0x36b3f0(0x3f5)](_0x389115=>_0x389115['dispose']()),this[_0x36b3f0(0x3d0)]['length']=0x0;}['_popupMenuListener'](_0x5e38b1){const _0x5a71cb=_0x4f29eb;var _0x1bb2d4;let _0x59d53c=(_0x1bb2d4=this[_0x5a71cb(0x208)][_0x5a71cb(0x2f6)](_0x5e38b1))==null?void 0x0:_0x1bb2d4[_0x5a71cb(0x56b)],_0x26bf68=_0x59d53c==null?void 0x0:_0x59d53c[_0x5a71cb(0x2c3)]();!_0x59d53c||!_0x26bf68||(this[_0x5a71cb(0x28f)](_0x26bf68[_0x5a71cb(0x280)][_0x5a71cb(0x32f)](()=>{const _0x157f5d=_0x5a71cb;let _0x1b3301=_0x26bf68[_0x157f5d(0x474)]();if(this['_clearPopups'](),this[_0x157f5d(0x568)]||_0x1b3301['size']>0x1)return;let _0x5e471a=_0x1b3301['values']()[_0x157f5d(0x604)]()['value'];if(!_0x5e471a)return;let _0x20d16b=this[_0x157f5d(0x3e4)]['getDrawingOKey'](_0x5e471a['oKey']);if(!_0x20d16b||_0x20d16b['drawingType']!==u[_0x157f5d(0x32d)]['DRAWING_SHAPE'])return;let {unitId:_0x376c26,subUnitId:_0x12134e,drawingId:_0x3202b0,drawingType:_0x41d537}=_0x20d16b,_0x4ee617=this[_0x157f5d(0x676)](_0x376c26,_0x12134e,_0x3202b0);if(!_0x4ee617)return;let _0x81f678=this['_docCanvasPopManagerService'][_0x157f5d(0x592)](_0x5e471a,{'componentKey':le,'direction':_0x157f5d(0x266),'offset':[0x0,0x8],'extraProps':{'unitId':_0x376c26,'subUnitId':_0x12134e,'drawingId':_0x3202b0,'drawingType':_0x41d537,'shapeType':_0x4ee617[_0x157f5d(0x582)],'shapeData':_0x4ee617[_0x157f5d(0x2e3)]}},_0x376c26);this[_0x157f5d(0x3d0)][_0x157f5d(0x374)](this[_0x157f5d(0x28f)](_0x81f678)),this[_0x157f5d(0x3e4)]['getFocusDrawings']()[_0x157f5d(0x349)](_0x4fd668=>_0x4fd668[_0x157f5d(0x480)]===_0x376c26&&_0x4fd668[_0x157f5d(0x623)]===_0x12134e&&_0x4fd668[_0x157f5d(0x465)]===_0x3202b0)||this[_0x157f5d(0x3e4)][_0x157f5d(0x361)]([{'unitId':_0x376c26,'subUnitId':_0x12134e,'drawingId':_0x3202b0}]);})),this[_0x5a71cb(0x28f)](_0x26bf68[_0x5a71cb(0x5f2)][_0x5a71cb(0x32f)](()=>{const _0x4e4b8c=_0x5a71cb;this[_0x4e4b8c(0x58b)](),this[_0x4e4b8c(0x27e)]['setContextValue'](u[_0x4e4b8c(0x65c)],!0x1),this[_0x4e4b8c(0x3e4)][_0x4e4b8c(0x361)](null);})),this[_0x5a71cb(0x28f)](_0x26bf68[_0x5a71cb(0x60e)]['subscribe'](()=>{const _0x516e4f=_0x5a71cb;this[_0x516e4f(0x58b)]();})),this[_0x5a71cb(0x28f)](_0x26bf68[_0x5a71cb(0x1fa)][_0x5a71cb(0x32f)](()=>{const _0x5f4bb9=_0x5a71cb;this[_0x5f4bb9(0x58b)]();})));}[_0x4f29eb(0x2b5)](){const _0x21a412=_0x4f29eb;this[_0x21a412(0x28f)](this[_0x21a412(0x4a3)]['onCommandExecuted'](_0x2d6b42=>{const _0x17cdfd=_0x21a412;if(_0x2d6b42['id']===M['id']){let {unitId:_0x5a8503,subUnitId:_0x11605c,drawingId:_0x1a97a5}=_0x2d6b42[_0x17cdfd(0x325)];this['_activeShapeInfo']=this[_0x17cdfd(0x676)](_0x5a8503,_0x11605c,_0x1a97a5),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x2d6b42['id']===j['id']&&(this['_activeShapeInfo']=null,this[_0x17cdfd(0x3d3)]()),_0x2d6b42['id']===l[_0x17cdfd(0x35b)]['id']){let {unitId:_0x35bb22,shapeId:_0x53a38b}=_0x2d6b42[_0x17cdfd(0x325)];if(this[_0x17cdfd(0x496)]&&this['_activeShapeInfo'][_0x17cdfd(0x5b2)]===_0x53a38b){let _0x4d68ac=this['_getShapeInfo'](_0x35bb22,this[_0x17cdfd(0x496)][_0x17cdfd(0x623)],_0x53a38b);_0x4d68ac&&(this[_0x17cdfd(0x496)]=_0x4d68ac);}}})),this[_0x21a412(0x28f)](this[_0x21a412(0x3e4)][_0x21a412(0x52f)][_0x21a412(0x32f)](_0x1b3a5c=>{const _0x400851=_0x21a412;if(this[_0x400851(0x568)]===!0x1)return;if(_0x1b3a5c[_0x400851(0x47b)]===0x0){this[_0x400851(0x496)]=null,this[_0x400851(0x3d3)]();return;}if(_0x1b3a5c[_0x400851(0x47b)]===0x1&&_0x1b3a5c[0x0][_0x400851(0x29a)]===u[_0x400851(0x32d)]['DRAWING_SHAPE']&&(this[_0x400851(0x496)]=this['_getShapeInfo'](_0x1b3a5c[0x0][_0x400851(0x480)],_0x1b3a5c[0x0][_0x400851(0x623)],_0x1b3a5c[0x0][_0x400851(0x465)]),this[_0x400851(0x496)])){this[_0x400851(0x49b)]();return;}let _0x4061ec=_0x1b3a5c['filter'](_0x22a811=>_0x22a811['drawingType']===u[_0x400851(0x32d)][_0x400851(0x5d5)]);if(_0x1b3a5c[_0x400851(0x47b)]>0x1&&_0x4061ec[_0x400851(0x47b)]===_0x1b3a5c[_0x400851(0x47b)]){if(this[_0x400851(0x496)]=this[_0x400851(0x676)](_0x1b3a5c[0x0][_0x400851(0x480)],_0x1b3a5c[0x0][_0x400851(0x623)],_0x1b3a5c[0x0][_0x400851(0x465)]),this[_0x400851(0x496)]){this[_0x400851(0x49b)]();return;}}else{if(this[_0x400851(0x496)]=this['_getShapeInfo'](_0x1b3a5c[0x0][_0x400851(0x480)],_0x1b3a5c[0x0]['subUnitId'],_0x1b3a5c[0x0][_0x400851(0x465)]),this[_0x400851(0x496)]){this[_0x400851(0x496)][_0x400851(0x3f6)]=!0x0,this[_0x400851(0x49b)]();return;}}this[_0x400851(0x3d3)]();}));}[_0x4f29eb(0x3ee)](){const _0x26c322=_0x4f29eb;[[_0x26c322(0x37f),h[_0x26c322(0x37f)]],[_0x26c322(0x246),h['ShapeAccentBorderCallout1Icon']],[_0x26c322(0x6be),h['ShapeAccentBorderCallout2Icon']],[_0x26c322(0x537),h[_0x26c322(0x537)]],[_0x26c322(0x241),h[_0x26c322(0x241)]],[_0x26c322(0x4e0),h[_0x26c322(0x4e0)]],[_0x26c322(0x4e5),h[_0x26c322(0x4e5)]],[_0x26c322(0x54b),h[_0x26c322(0x54b)]],[_0x26c322(0x5fc),h[_0x26c322(0x5fc)]],[_0x26c322(0x5c7),h[_0x26c322(0x5c7)]],[_0x26c322(0x457),h[_0x26c322(0x457)]],[_0x26c322(0x573),h[_0x26c322(0x573)]],[_0x26c322(0x63d),h[_0x26c322(0x63d)]],['ShapeActionButtonHelpIcon',h[_0x26c322(0x3e9)]],[_0x26c322(0x6c4),h[_0x26c322(0x6c4)]],['ShapeActionButtonInformationIcon',h['ShapeActionButtonInformationIcon']],[_0x26c322(0x1eb),h[_0x26c322(0x1eb)]],[_0x26c322(0x3c4),h[_0x26c322(0x3c4)]],[_0x26c322(0x24c),h['ShapeActionButtonSoundIcon']],[_0x26c322(0x214),h[_0x26c322(0x214)]],['ShapeBentArrowIcon',h[_0x26c322(0x473)]],[_0x26c322(0x26f),h[_0x26c322(0x26f)]],[_0x26c322(0x292),h[_0x26c322(0x292)]],[_0x26c322(0x278),h[_0x26c322(0x278)]],[_0x26c322(0x395),h[_0x26c322(0x395)]],[_0x26c322(0x5eb),h[_0x26c322(0x5eb)]],[_0x26c322(0x1b9),h['ShapeBlockArcIcon']],[_0x26c322(0x4a0),h['ShapeBorderCallout1Icon']],[_0x26c322(0x4b8),h[_0x26c322(0x4b8)]],[_0x26c322(0x680),h[_0x26c322(0x680)]],[_0x26c322(0x1f4),h[_0x26c322(0x1f4)]],[_0x26c322(0x51c),h[_0x26c322(0x51c)]],[_0x26c322(0x1b8),h['ShapeCallout1Icon']],[_0x26c322(0x2ab),h[_0x26c322(0x2ab)]],['ShapeCallout3Icon',h[_0x26c322(0x260)]],[_0x26c322(0x356),h['ShapeCanIcon']],[_0x26c322(0x5ca),h[_0x26c322(0x5ca)]],['ShapeChartStarIcon',h[_0x26c322(0x2ce)]],[_0x26c322(0x3fc),h[_0x26c322(0x3fc)]],[_0x26c322(0x674),h['ShapeChevronIcon']],[_0x26c322(0x396),h[_0x26c322(0x396)]],[_0x26c322(0x686),h[_0x26c322(0x686)]],['ShapeCloudCalloutIcon',h[_0x26c322(0x553)]],[_0x26c322(0x1ab),h[_0x26c322(0x1ab)]],[_0x26c322(0x514),h[_0x26c322(0x514)]],[_0x26c322(0x515),h[_0x26c322(0x515)]],[_0x26c322(0x673),h[_0x26c322(0x673)]],[_0x26c322(0x2b4),h[_0x26c322(0x2b4)]],['ShapeCurvedConnector3Arrow2Icon',h[_0x26c322(0x402)]],[_0x26c322(0x610),h[_0x26c322(0x610)]],[_0x26c322(0x2fb),h[_0x26c322(0x2fb)]],[_0x26c322(0x1e4),h[_0x26c322(0x1e4)]],[_0x26c322(0x350),h['ShapeCurvedRightArrowIcon']],[_0x26c322(0x66b),h['ShapeCurvedUpArrowIcon']],[_0x26c322(0x2f7),h[_0x26c322(0x2f7)]],[_0x26c322(0x296),h['ShapeDiagStripeIcon']],[_0x26c322(0x4c2),h['ShapeDiamondIcon']],[_0x26c322(0x250),h['ShapeDodecagonIcon']],[_0x26c322(0x5ba),h[_0x26c322(0x5ba)]],[_0x26c322(0x551),h[_0x26c322(0x551)]],[_0x26c322(0x64c),h[_0x26c322(0x64c)]],[_0x26c322(0x3c7),h['ShapeDownArrowIcon']],['ShapeEllipseIcon',h[_0x26c322(0x20d)]],['ShapeEllipseRibbon2Icon',h[_0x26c322(0x4db)]],[_0x26c322(0x4f8),h[_0x26c322(0x4f8)]],['ShapeFlowChartAlternateProcessIcon',h[_0x26c322(0x31d)]],[_0x26c322(0x562),h['ShapeFlowChartCollateIcon']],[_0x26c322(0x33c),h[_0x26c322(0x33c)]],['ShapeFlowChartDecisionIcon',h[_0x26c322(0x263)]],[_0x26c322(0x1e1),h['ShapeFlowChartDelayIcon']],[_0x26c322(0x233),h[_0x26c322(0x233)]],[_0x26c322(0x38c),h[_0x26c322(0x38c)]],[_0x26c322(0x357),h[_0x26c322(0x357)]],[_0x26c322(0x390),h[_0x26c322(0x390)]],[_0x26c322(0x5c1),h['ShapeFlowChartInternalStorageIcon']],[_0x26c322(0x54e),h[_0x26c322(0x54e)]],[_0x26c322(0x247),h[_0x26c322(0x247)]],[_0x26c322(0x439),h['ShapeFlowChartMagneticTapeIcon']],['ShapeFlowChartManualInputIcon',h[_0x26c322(0x262)]],[_0x26c322(0x57c),h['ShapeFlowChartManualOperationIcon']],['ShapeFlowChartMergeIcon',h[_0x26c322(0x414)]],[_0x26c322(0x53b),h[_0x26c322(0x53b)]],[_0x26c322(0x2b0),h[_0x26c322(0x2b0)]],['ShapeFlowChartOffpageConnectorIcon',h[_0x26c322(0x1a9)]],[_0x26c322(0x6ad),h[_0x26c322(0x6ad)]],[_0x26c322(0x49a),h[_0x26c322(0x49a)]],[_0x26c322(0x452),h[_0x26c322(0x452)]],['ShapeFlowChartPreparationIcon',h[_0x26c322(0x2dd)]],[_0x26c322(0x606),h[_0x26c322(0x606)]],[_0x26c322(0x453),h[_0x26c322(0x453)]],['ShapeFlowChartPunchedTapeIcon',h[_0x26c322(0x52d)]],[_0x26c322(0x34e),h[_0x26c322(0x34e)]],[_0x26c322(0x488),h['ShapeFlowChartSummingJunctionIcon']],[_0x26c322(0x3f9),h[_0x26c322(0x3f9)]],['ShapeFolderCornerIcon',h[_0x26c322(0x30b)]],[_0x26c322(0x3df),h[_0x26c322(0x3df)]],[_0x26c322(0x48d),h[_0x26c322(0x48d)]],['ShapeGear6Icon',h[_0x26c322(0x41c)]],[_0x26c322(0x1fb),h[_0x26c322(0x1fb)]],[_0x26c322(0x407),h['ShapeHalfFrameIcon']],[_0x26c322(0x4f5),h[_0x26c322(0x4f5)]],['ShapeHeptagonIcon',h['ShapeHeptagonIcon']],[_0x26c322(0x20a),h[_0x26c322(0x20a)]],[_0x26c322(0x5c9),h['ShapeHomePlateIcon']],['ShapeHorizontalScrollIcon',h[_0x26c322(0x66a)]],[_0x26c322(0x1a1),h[_0x26c322(0x1a1)]],[_0x26c322(0x24f),h['ShapeIrregularSeal2Icon']],[_0x26c322(0x6a9),h[_0x26c322(0x6a9)]],[_0x26c322(0x30a),h[_0x26c322(0x30a)]],[_0x26c322(0x314),h['ShapeLeftBraceIcon']],[_0x26c322(0x470),h[_0x26c322(0x470)]],[_0x26c322(0x2fa),h[_0x26c322(0x2fa)]],[_0x26c322(0x530),h['ShapeLeftRightArrowCalloutIcon']],[_0x26c322(0x64f),h[_0x26c322(0x64f)]],[_0x26c322(0x351),h[_0x26c322(0x351)]],['ShapeLeftRightRibbonIcon',h[_0x26c322(0x5be)]],['ShapeLeftRightUpArrowIcon',h[_0x26c322(0x205)]],[_0x26c322(0x236),h[_0x26c322(0x236)]],['ShapeLightningBoltIcon',h['ShapeLightningBoltIcon']],[_0x26c322(0x3ae),h['ShapeLineIcon']],[_0x26c322(0x2af),h['ShapeLineInvIcon']],[_0x26c322(0x2aa),h[_0x26c322(0x2aa)]],['ShapeMathEqualIcon',h[_0x26c322(0x2d5)]],[_0x26c322(0x301),h['ShapeMathMinusIcon']],[_0x26c322(0x3ff),h[_0x26c322(0x3ff)]],['ShapeMathNotEqualIcon',h['ShapeMathNotEqualIcon']],[_0x26c322(0x44f),h[_0x26c322(0x44f)]],['ShapeMoonIcon',h['ShapeMoonIcon']],['ShapeNoSmokingIcon',h[_0x26c322(0x608)]],[_0x26c322(0x443),h[_0x26c322(0x443)]],['ShapeNotchedRightArrowIcon',h[_0x26c322(0x682)]],[_0x26c322(0x3bb),h[_0x26c322(0x3bb)]],[_0x26c322(0x2c8),h['ShapeParallelogramIcon']],[_0x26c322(0x4bf),h[_0x26c322(0x4bf)]],[_0x26c322(0x4c1),h[_0x26c322(0x4c1)]],[_0x26c322(0x58d),h[_0x26c322(0x58d)]],[_0x26c322(0x5d7),h[_0x26c322(0x5d7)]],[_0x26c322(0x293),h[_0x26c322(0x293)]],[_0x26c322(0x210),h['ShapePlusIcon']],['ShapeQuadArrowCalloutIcon',h['ShapeQuadArrowCalloutIcon']],[_0x26c322(0x600),h[_0x26c322(0x600)]],[_0x26c322(0x20c),h[_0x26c322(0x20c)]],['ShapeRectTextboxHorizontalIcon',h[_0x26c322(0x455)]],[_0x26c322(0x1cb),h[_0x26c322(0x1cb)]],[_0x26c322(0x2e7),h[_0x26c322(0x2e7)]],[_0x26c322(0x2c2),h[_0x26c322(0x2c2)]],[_0x26c322(0x2c1),h['ShapeRightArrowCalloutIcon']],[_0x26c322(0x55f),h['ShapeRightArrowIcon']],[_0x26c322(0x1d1),h[_0x26c322(0x1d1)]],[_0x26c322(0x5c0),h[_0x26c322(0x5c0)]],[_0x26c322(0x663),h[_0x26c322(0x663)]],['ShapeRound2DiagRectIcon',h[_0x26c322(0x46a)]],[_0x26c322(0x377),h[_0x26c322(0x377)]],[_0x26c322(0x3a1),h[_0x26c322(0x3a1)]],[_0x26c322(0x6ab),h[_0x26c322(0x6ab)]],[_0x26c322(0x449),h['ShapeSmileyFaceIcon']],['ShapeSnip1RectIcon',h[_0x26c322(0x30e)]],[_0x26c322(0x37e),h[_0x26c322(0x37e)]],[_0x26c322(0x219),h['ShapeSnip2SameRectIcon']],[_0x26c322(0x4ab),h[_0x26c322(0x4ab)]],[_0x26c322(0x420),h[_0x26c322(0x420)]],['ShapeStar10Icon',h[_0x26c322(0x2a1)]],['ShapeStar12Icon',h[_0x26c322(0x26c)]],['ShapeStar16Icon',h['ShapeStar16Icon']],[_0x26c322(0x434),h[_0x26c322(0x434)]],[_0x26c322(0x4cc),h[_0x26c322(0x4cc)]],[_0x26c322(0x295),h[_0x26c322(0x295)]],[_0x26c322(0x28d),h[_0x26c322(0x28d)]],[_0x26c322(0x259),h[_0x26c322(0x259)]],[_0x26c322(0x46e),h[_0x26c322(0x46e)]],[_0x26c322(0x22c),h[_0x26c322(0x22c)]],[_0x26c322(0x67c),h[_0x26c322(0x67c)]],[_0x26c322(0x662),h[_0x26c322(0x662)]],[_0x26c322(0x216),h[_0x26c322(0x216)]],[_0x26c322(0x459),h[_0x26c322(0x459)]],[_0x26c322(0x696),h[_0x26c322(0x696)]],[_0x26c322(0x397),h['ShapeTeardropIcon']],['ShapeTrapezoidIcon',h[_0x26c322(0x2ec)]],[_0x26c322(0x1e3),h[_0x26c322(0x1e3)]],['ShapeUpArrowCalloutIcon',h[_0x26c322(0x4f0)]],[_0x26c322(0x485),h[_0x26c322(0x485)]],['ShapeUpDownArrowCalloutIcon',h['ShapeUpDownArrowCalloutIcon']],['ShapeUpDownArrowIcon',h[_0x26c322(0x638)]],[_0x26c322(0x300),h[_0x26c322(0x300)]],[_0x26c322(0x29f),h[_0x26c322(0x29f)]],[_0x26c322(0x513),h[_0x26c322(0x513)]],[_0x26c322(0x684),h['ShapeWedgeEllipseCalloutIcon']],['ShapeWedgeRectCalloutIcon',h[_0x26c322(0x2b3)]],[_0x26c322(0x4d7),h[_0x26c322(0x4d7)]],[N,X],[le,ve],[xe,we],[b[_0x26c322(0x21f)],Ce]][_0x26c322(0x3f5)](([_0x3604bc,_0x2a46a1])=>{const _0x537bac=_0x26c322;this[_0x537bac(0x28f)](this[_0x537bac(0x3b1)][_0x537bac(0x363)](_0x3604bc,_0x2a46a1));});}['_openShapeEditPanel'](){const _0x421e81=_0x4f29eb;this[_0x421e81(0x2e5)]=this[_0x421e81(0x445)][_0x421e81(0x5e9)]({'id':N,'header':{'title':this[_0x421e81(0x62e)]['t'](_0x421e81(0x51b))},'width':0x184,'children':{'label':N,...this['_activeShapeInfo']},'onClose':()=>{const _0x5f2989=_0x421e81;this[_0x5f2989(0x3e4)][_0x5f2989(0x361)](null),this[_0x5f2989(0x27e)][_0x5f2989(0x4ef)](u[_0x5f2989(0x65c)],!0x1),this[_0x5f2989(0x2e5)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0;}[_0x4f29eb(0x3d3)](){const _0x3265b2=_0x4f29eb;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3265b2(0x445)]['close'](N),this[_0x3265b2(0x2e5)]=null,this[_0x3265b2(0x27e)]['setContextValue'](u[_0x3265b2(0x65c)],!0x1),this[_0x3265b2(0x3e4)]['focusDrawing'](null);}};Ae=W([U(0x0,u[_0x4f29eb(0x482)]),U(0x1,(0x0,u[_0x4f29eb(0x3f0)])(g['ISidebarService'])),U(0x2,g[_0x4f29eb(0x2e8)]),U(0x3,(0x0,u[_0x4f29eb(0x3f0)])(l['DocsShapeService'])),U(0x4,(0x0,u['Inject'])(u['LocaleService'])),U(0x5,(0x0,u['Inject'])(g[_0x4f29eb(0x1cc)])),U(0x6,u[_0x4f29eb(0x355)]),U(0x7,m['IDrawingManagerService']),U(0x8,(0x0,u['Inject'])(f[_0x4f29eb(0x618)])),U(0x9,p[_0x4f29eb(0x271)]),U(0xa,u['IContextService']),U(0xb,(0x0,u['Inject'])(R))],Ae);var je=_0x4f29eb(0x6a8),Me=_0x4f29eb(0x4e9);const Ne={};var Pe=class extends p[_0x4f29eb(0x564)]{constructor(_0x4ef400,_0x4741f0){const _0x12f136=_0x4f29eb;super(_0x4ef400,_0x4741f0),L(this,_0x12f136(0x1dd),null),L(this,'_adjName',null),L(this,_0x12f136(0x416),null),L(this,_0x12f136(0x59e),null),_0x4741f0&&this[_0x12f136(0x4b9)](_0x4741f0);}['getDrawingSearch'](){const _0x206a1c=_0x4f29eb;return{'unitId':this['_unitId'],'subUnitId':this[_0x206a1c(0x59e)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x36c6d0){const _0x246295=_0x4f29eb;_0x36c6d0[_0x246295(0x5b2)]!==void 0x0&&(this[_0x246295(0x1dd)]=_0x36c6d0[_0x246295(0x5b2)]),_0x36c6d0['adjName']!==void 0x0&&(this['_adjName']=_0x36c6d0['adjName']),_0x36c6d0[_0x246295(0x480)]!==void 0x0&&(this[_0x246295(0x416)]=_0x36c6d0[_0x246295(0x480)]),_0x36c6d0[_0x246295(0x623)]!==void 0x0&&(this[_0x246295(0x59e)]=_0x36c6d0['subUnitId']),this[_0x246295(0x42e)]({'width':_0x36c6d0[_0x246295(0x640)],'height':_0x36c6d0[_0x246295(0x689)]});}[_0x4f29eb(0x625)](_0x2b7c9e){const _0x53b5ff=_0x4f29eb;p['Circle'][_0x53b5ff(0x45e)](_0x2b7c9e,{'radius':c[_0x53b5ff(0x62c)][_0x53b5ff(0x64d)],'fill':c[_0x53b5ff(0x62c)][_0x53b5ff(0x651)],'stroke':c[_0x53b5ff(0x62c)][_0x53b5ff(0x3ab)],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x4f29eb(0x695)]{constructor(_0x1bf361,_0x15e65c,_0xfc8ce5,_0x2af788){const _0x582a2d=_0x4f29eb;super(),this[_0x582a2d(0x697)]=_0x1bf361,this[_0x582a2d(0x3e4)]=_0x15e65c,this[_0x582a2d(0x23b)]=_0xfc8ce5,this['_commandService']=_0x2af788,L(this,'_activeShapeId',null),L(this,'_unitId',null),L(this,_0x582a2d(0x59e),null),L(this,_0x582a2d(0x1ae),void 0x0),L(this,'_adjustPointObjects',[]),L(this,'_baseShapeLeft',0x0),L(this,_0x582a2d(0x56e),0x0),L(this,_0x582a2d(0x3e6),0x0),L(this,_0x582a2d(0x360),0x0),L(this,_0x582a2d(0x5d1),!0x1),L(this,_0x582a2d(0x655),!0x1),L(this,_0x582a2d(0x5d6),void 0x0),L(this,_0x582a2d(0x524),void 0x0),L(this,_0x582a2d(0x53d),void 0x0),L(this,'_adjHandlerPointerUp',void 0x0),this[_0x582a2d(0x28c)](),this[_0x582a2d(0x238)]();}[_0x4f29eb(0x637)](){const _0x4230fd=_0x4f29eb;this[_0x4230fd(0x3d9)]();}[_0x4f29eb(0x365)](){const _0x2da5be=_0x4f29eb;this[_0x2da5be(0x413)](!0x0);}[_0x4f29eb(0x1bd)](_0x33b679,_0x4a7742,_0x4370a6){const _0x43191c=_0x4f29eb;var _0x5719c4;return(_0x5719c4=this['_docsShapeService']['getShapeModel'](_0x33b679,_0x4a7742,_0x4370a6))==null?void 0x0:_0x5719c4[_0x43191c(0x1dc)]();}[_0x4f29eb(0x631)](_0x3d633c,_0x5dea01,_0x4b61bc,_0x4b4ffb){const _0x2fc55e=_0x4f29eb;var _0x3c2d0a;return(_0x3c2d0a=this[_0x2fc55e(0x23b)]['getShapeModel'](_0x3d633c,_0x5dea01,_0x4b61bc))==null?void 0x0:_0x3c2d0a['getAdjustInfoByName'](_0x4b4ffb);}[_0x4f29eb(0x45f)](){const _0x364542=_0x4f29eb;if(this[_0x364542(0x416)]===null||this[_0x364542(0x59e)]===null||this[_0x364542(0x555)]===null)return null;let _0x19d8a7=this['_drawingManagerService'][_0x364542(0x62d)]({'unitId':this[_0x364542(0x416)],'subUnitId':this[_0x364542(0x59e)],'drawingId':this[_0x364542(0x555)]});return _0x19d8a7==null?null:_0x19d8a7;}[_0x4f29eb(0x2f0)](_0x2b8d16){const _0x37db4c=_0x4f29eb;if(this[_0x37db4c(0x416)]===null||this[_0x37db4c(0x59e)]===null||this[_0x37db4c(0x555)]===null)return null;let _0x1dc87e=(0x0,m[_0x37db4c(0x234)])({'unitId':this[_0x37db4c(0x416)],'subUnitId':this[_0x37db4c(0x59e)],'drawingId':this[_0x37db4c(0x555)]}),_0x2b1059=_0x2b8d16[_0x37db4c(0x404)](_0x1dc87e);return _0x2b1059 instanceof H?_0x2b1059:null;}[_0x4f29eb(0x4e2)](_0xa7bce2=!0x1){const _0x494fa6=_0x4f29eb;if(this[_0x494fa6(0x416)]===null||this[_0x494fa6(0x59e)]===null||this['_activeShapeId']===null)return;let _0x1aab70=this[_0x494fa6(0x45f)]();if((_0x1aab70==null?void 0x0:_0x1aab70[_0x494fa6(0x29a)])!==u[_0x494fa6(0x32d)][_0x494fa6(0x5d5)]||!_0x1aab70[_0x494fa6(0x441)])return;let _0x2b0d6e=this[_0x494fa6(0x23b)]['getShapeModel'](this[_0x494fa6(0x416)],this['_subUnitId'],this['_activeShapeId']);if(!_0x2b0d6e||_0x2b0d6e[_0x494fa6(0x22f)]())return;(_0xa7bce2||!this['_activeShapeAdjustPointList'])&&(this[_0x494fa6(0x1ae)]=this[_0x494fa6(0x1bd)](this[_0x494fa6(0x416)],this['_subUnitId'],this[_0x494fa6(0x555)]));let _0x3d04be=this['_activeShapeAdjustPointList'];if(!(_0x3d04be!=null&&_0x3d04be['length']))return;let {scene:_0x3cf8ac}=this[_0x494fa6(0x697)],{left:_0xf2600=0x0,top:_0x453ebf=0x0,width:_0x34acf6=0x0,height:_0x48352a=0x0,flipX:_0x3e18e9,flipY:_0x2a399e,angle:_0x2a740=0x0}=_0x1aab70[_0x494fa6(0x441)];for(let _0x16c1a0 of _0x3d04be){let _0xd8af59=this[_0x494fa6(0x24d)](_0x16c1a0,_0x34acf6,_0x48352a,!!_0x3e18e9,!!_0x2a399e,_0x2a740);this['_addShapeAdjustControl'](_0x3cf8ac,_0xd8af59,_0xd8af59[_0x494fa6(0x508)],_0xf2600,_0x453ebf,this[_0x494fa6(0x416)],this[_0x494fa6(0x59e)]);}}[_0x4f29eb(0x24d)](_0x581399,_0x22e8ce,_0xc37a60,_0x5f119f,_0x30e0b8,_0x207017){const _0x1ef432=_0x4f29eb;let _0x41fcc8=_0x581399['x'],_0x1239b8=_0x581399['y'];if(_0x5f119f&&(_0x41fcc8=_0x22e8ce-_0x41fcc8),_0x30e0b8&&(_0x1239b8=_0xc37a60-_0x1239b8),_0x207017!==0x0){let _0x2d1c8d=_0x22e8ce/0x2,_0x346e45=_0xc37a60/0x2,_0x4bdc66=_0x207017*Math['PI']/0xb4,_0x5d5168=Math[_0x1ef432(0x5e5)](_0x4bdc66),_0x326d20=Math['sin'](_0x4bdc66),_0x34c18d=_0x41fcc8-_0x2d1c8d,_0x357ec0=_0x1239b8-_0x346e45;_0x41fcc8=_0x2d1c8d+(_0x34c18d*_0x5d5168-_0x357ec0*_0x326d20),_0x1239b8=_0x346e45+(_0x34c18d*_0x326d20+_0x357ec0*_0x5d5168);}return{'x':_0x41fcc8,'y':_0x1239b8,'adjName':_0x581399['adjName']};}[_0x4f29eb(0x413)](_0xe50924=!0x1){const _0x56b76b=_0x4f29eb;_0xe50924&&this['_clearShapeAdjustControls'](),this[_0x56b76b(0x4e2)](_0xe50924);}['_addShapeAdjustControl'](_0x138bfb,_0xa604c8,_0x556015,_0x1d29e7,_0x2cea74,_0xdb0bc6,_0x2f4c08){const _0x3b6c87=_0x4f29eb;if(!this[_0x3b6c87(0x555)])return;let _0x318942='doc-shape-adjust-point-'+this[_0x3b6c87(0x555)]+'-'+_0x556015,_0x520ee9=_0x138bfb['getObjectIncludeInGroup'](_0x318942);if(_0x520ee9){_0x520ee9[_0x3b6c87(0x42e)]({'left':_0xa604c8['x']+_0x1d29e7-c[_0x3b6c87(0x62c)]['adjHandleSize'],'top':_0xa604c8['y']+_0x2cea74-c['ShapeDefaultConfig'][_0x3b6c87(0x64d)]}),_0x520ee9[_0x3b6c87(0x501)](!0x0);return;}let _0x4a5e38=new Pe(_0x318942,{'left':_0xa604c8['x']+_0x1d29e7-c['ShapeDefaultConfig']['adjHandleSize'],'top':_0xa604c8['y']+_0x2cea74-c[_0x3b6c87(0x62c)][_0x3b6c87(0x64d)],'adjName':_0x556015,'shapeId':this[_0x3b6c87(0x555)],'unitId':_0xdb0bc6,'subUnitId':_0x2f4c08,'width':c[_0x3b6c87(0x62c)]['adjHandleSize']+0x8,'height':c[_0x3b6c87(0x62c)][_0x3b6c87(0x64d)]+0x8,'zIndex':p[_0x3b6c87(0x34b)]+0x1,'evented':!0x0});this[_0x3b6c87(0x5dd)][_0x3b6c87(0x374)](_0x4a5e38),this[_0x3b6c87(0x316)](_0x4a5e38,_0x138bfb,_0x556015),_0x138bfb[_0x3b6c87(0x522)](_0x4a5e38,p[_0x3b6c87(0x34b)]+0x1);}[_0x4f29eb(0x3d9)](){const _0x562953=_0x4f29eb;this[_0x562953(0x5dd)][_0x562953(0x3f5)](_0x558b7d=>_0x558b7d[_0x562953(0x4f7)]()),this[_0x562953(0x5dd)]=[];}['_updateAdjustControlPositions'](){const _0x5355c3=_0x4f29eb;this[_0x5355c3(0x4e2)]();}[_0x4f29eb(0x339)](_0x5aad73,_0x48ce02,_0x335d5d){const _0x3b2385=_0x4f29eb;var _0xc6b332,_0x3cd879;let _0x405929=p[_0x3b2385(0x61e)][_0x3b2385(0x42d)]([_0x48ce02,_0x335d5d]),_0x256097=(_0xc6b332=_0x5aad73['getActiveViewportByCoord'](_0x405929))==null?_0x5aad73['getViewports']()[0x0]:_0xc6b332;return(_0x3cd879=_0x256097==null?void 0x0:_0x256097['transformVector2SceneCoord'](_0x405929))==null?_0x405929:_0x3cd879;}[_0x4f29eb(0x316)](_0x221d10,_0x1bd6b1,_0x364d8c){const _0x31bf5a=_0x4f29eb;this['disposeWithMe']((0x0,u[_0x31bf5a(0x494)])(_0x221d10['onPointerDown$']['subscribeEvent']((_0xebb64e,_0x52f9b8)=>{const _0x53f188=_0x31bf5a;var _0x4117ff,_0x10fa9c,_0xf5a5ea,_0x2fd97d;let _0x2a207f=_0x221d10[_0x53f188(0x226)]();this[_0x53f188(0x5d6)]=this[_0x53f188(0x631)](_0x2a207f[_0x53f188(0x480)],_0x2a207f['subUnitId'],_0x2a207f[_0x53f188(0x465)],_0x364d8c),this[_0x53f188(0x524)]=this['_docsShapeService'][_0x53f188(0x1d0)](_0x2a207f[_0x53f188(0x480)],_0x2a207f[_0x53f188(0x623)],_0x2a207f['drawingId']);let _0x2b7fad=this[_0x53f188(0x45f)](),_0x17e389=_0x2b7fad==null?void 0x0:_0x2b7fad[_0x53f188(0x441)];if(!_0x2b7fad||!_0x17e389||!this[_0x53f188(0x524)])return;this['_baseShapeLeft']=_0x17e389[_0x53f188(0x46d)]||0x0,this[_0x53f188(0x56e)]=_0x17e389[_0x53f188(0x1f3)]||0x0,this[_0x53f188(0x3e6)]=_0x17e389[_0x53f188(0x640)]||0x0,this[_0x53f188(0x360)]=_0x17e389[_0x53f188(0x689)]||0x0;let _0x387ead=!!_0x17e389[_0x53f188(0x589)],_0x435d11=!!_0x17e389[_0x53f188(0x3e2)],_0x443995=_0x17e389[_0x53f188(0x270)]||0x0,_0x23a431=((_0x4117ff=this['_activeAdjustInfo'])==null?void 0x0:_0x4117ff[_0x53f188(0x57d)])||((_0x10fa9c=this[_0x53f188(0x5d6)])==null?void 0x0:_0x10fa9c[_0x53f188(0x35e)])||((_0xf5a5ea=this['_activeAdjustInfo'])==null?void 0x0:_0xf5a5ea[_0x53f188(0x1fd)])||((_0x2fd97d=this[_0x53f188(0x5d6)])==null?void 0x0:_0x2fd97d['gdRefR'])||_0x364d8c,_0x3b4b9c=this[_0x53f188(0x524)][_0x53f188(0x539)](_0x23a431),_0x48813c={[_0x23a431]:_0x3b4b9c};this['_isStartAdjusting']=!0x0,_0x1bd6b1['disableObjectsEvent'](),this[_0x53f188(0x53d)]=_0x1bd6b1[_0x53f188(0x6af)][_0x53f188(0x33f)]((_0x56a1a9,_0x52ab31)=>{const _0x56200a=_0x53f188;var _0x50e2fb;if(!this[_0x56200a(0x5d1)]||!this['_activeShapeModel']||!this[_0x56200a(0x5d6)])return;_0x1bd6b1['disableObjectsEvent'](),_0x1bd6b1[_0x56200a(0x5f3)](p[_0x56200a(0x5ab)]['CROSSHAIR']);let _0x5af0ab=this[_0x56200a(0x339)](_0x1bd6b1,_0x56a1a9[_0x56200a(0x1c1)],_0x56a1a9['offsetY']),_0x86da49=_0x5af0ab['x']-this[_0x56200a(0x683)],_0x275556=_0x5af0ab['y']-this[_0x56200a(0x56e)];if(_0x443995!==0x0){let _0x2acc58=this['_baseShapeWidth']/0x2,_0x4c5685=this[_0x56200a(0x360)]/0x2,_0x1cb9af=_0x443995*Math['PI']/0xb4,_0x9de1bc=Math['cos'](_0x1cb9af),_0x437cc0=Math[_0x56200a(0x417)](_0x1cb9af),_0x282c40=_0x86da49-_0x2acc58,_0x2f9f1d=_0x275556-_0x4c5685;_0x86da49=_0x2acc58+(_0x282c40*_0x9de1bc+_0x2f9f1d*_0x437cc0),_0x275556=_0x4c5685+(-_0x282c40*_0x437cc0+_0x2f9f1d*_0x9de1bc);}_0x387ead&&(_0x86da49=this[_0x56200a(0x3e6)]-_0x86da49),_0x435d11&&(_0x275556=this[_0x56200a(0x360)]-_0x275556);let _0x2c0de5={'left':0x0,'top':0x0,'width':this[_0x56200a(0x3e6)],'height':this['_baseShapeHeight']},_0xccd218=this[_0x56200a(0x524)][_0x56200a(0x661)](_0x2c0de5,{'x':_0x86da49,'y':_0x275556},this[_0x56200a(0x5d6)],_0x387ead,_0x435d11),_0x490e09=this[_0x56200a(0x5d6)][_0x56200a(0x57d)]||this[_0x56200a(0x5d6)][_0x56200a(0x35e)]||this[_0x56200a(0x5d6)]['gdRefAng']||this[_0x56200a(0x5d6)][_0x56200a(0x32a)];_0x490e09!==void 0x0&&(this['_activeShapeModel'][_0x56200a(0x636)](_0x490e09,_0xccd218),(_0x50e2fb=this[_0x56200a(0x2f0)](_0x1bd6b1))==null||_0x50e2fb['makeDirty'](!0x0),this[_0x56200a(0x1ae)]=this[_0x56200a(0x1bd)](_0x2a207f[_0x56200a(0x480)],_0x2a207f['subUnitId'],_0x2a207f[_0x56200a(0x465)]),this[_0x56200a(0x63b)](),_0x52ab31['stopPropagation']());}),this['_adjHandlerPointerUp']=_0x1bd6b1['onPointerUp$'][_0x53f188(0x33f)]((_0x38065b,_0x58f904)=>{const _0x407577=_0x53f188;var _0x375d96,_0x19b632;(_0x375d96=this[_0x407577(0x53d)])==null||_0x375d96[_0x407577(0x429)](),(_0x19b632=this[_0x407577(0x3e1)])==null||_0x19b632['unsubscribe'](),_0x1bd6b1[_0x407577(0x5b0)]();let _0x2cb67a=this[_0x407577(0x5d6)];if(_0x2cb67a&&this[_0x407577(0x524)]){let _0x53c696=_0x2cb67a[_0x407577(0x57d)]||_0x2cb67a['gdRefY']||_0x2cb67a[_0x407577(0x1fd)]||_0x2cb67a[_0x407577(0x32a)];if(_0x53c696!==void 0x0){let _0x52f433=this[_0x407577(0x524)][_0x407577(0x539)](_0x53c696);_0x52f433!==void 0x0&&z(this[_0x407577(0x4a3)],_0x2a207f['unitId'],_0x2a207f[_0x407577(0x623)],_0x2a207f['drawingId'],{'oldShapeData':{'adjustValues':_0x48813c}},{'adjustValues':{[_0x53c696]:_0x52f433}});}}this[_0x407577(0x5d6)]=void 0x0,this[_0x407577(0x524)]=void 0x0,this[_0x407577(0x5d1)]=!0x1,_0x1bd6b1[_0x407577(0x1bc)](),_0x58f904[_0x407577(0x2de)]();}),_0x52f9b8['stopPropagation']();})));}[_0x4f29eb(0x238)](){const _0x3f7726=_0x4f29eb;let {scene:_0x1bfd85}=this['_context'],_0x1143c6=_0x1bfd85[_0x3f7726(0x2c3)]();this[_0x3f7726(0x28f)](_0x1143c6[_0x3f7726(0x1fa)][_0x3f7726(0x32f)](_0x1fa08c=>{const _0xaf1098=_0x3f7726;this['_createShapeAdjustControls'](),_0x1fa08c[_0xaf1098(0x287)]!==null&&_0x1fa08c['objects'][_0xaf1098(0x512)]===0x1&&_0x1fa08c[_0xaf1098(0x287)][_0xaf1098(0x2da)]()[_0xaf1098(0x604)]()['value']instanceof H&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x3f7726(0x28f)](_0x1143c6['changing$'][_0x3f7726(0x32f)](()=>{const _0x2f32b6=_0x3f7726;this[_0x2f32b6(0x655)]&&this[_0x2f32b6(0x3d9)]();})),this['disposeWithMe'](_0x1bfd85[_0x3f7726(0x1f9)][_0x3f7726(0x33f)](()=>{const _0x50ccf3=_0x3f7726;this[_0x50ccf3(0x655)]&&(this[_0x50ccf3(0x655)]=!0x1,this[_0x50ccf3(0x4e2)]());})),this['disposeWithMe'](_0x1143c6[_0x3f7726(0x330)][_0x3f7726(0x32f)](()=>{const _0x1f8a2d=_0x3f7726;this[_0x1f8a2d(0x416)]&&this[_0x1f8a2d(0x59e)]&&this[_0x1f8a2d(0x555)]&&(this[_0x1f8a2d(0x1ae)]=this[_0x1f8a2d(0x1bd)](this[_0x1f8a2d(0x416)],this[_0x1f8a2d(0x59e)],this[_0x1f8a2d(0x555)]),this['_updateAdjustControlPositions']());}));}['_registerDrawingFocusChangeHandler'](){const _0x17d449=_0x4f29eb;this['disposeWithMe'](this[_0x17d449(0x3e4)][_0x17d449(0x52f)][_0x17d449(0x32f)](_0xfb703c=>{const _0x186490=_0x17d449;if(_0xfb703c[_0x186490(0x47b)]===0x1){let _0x39b015=_0xfb703c[0x0],_0x5b32eb=this['_drawingManagerService']['getDrawingByParam'](_0x39b015);if((_0x5b32eb==null?void 0x0:_0x5b32eb[_0x186490(0x29a)])===u[_0x186490(0x32d)][_0x186490(0x5d5)]){this[_0x186490(0x555)]=_0x39b015[_0x186490(0x465)],this[_0x186490(0x416)]=_0x39b015['unitId'],this[_0x186490(0x59e)]=_0x39b015[_0x186490(0x623)],this['_activeShapeAdjustPointList']=this[_0x186490(0x1bd)](_0x39b015[_0x186490(0x480)],_0x39b015[_0x186490(0x623)],_0x39b015[_0x186490(0x465)]),this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls']();return;}}this['_activeShapeId']=null,this[_0x186490(0x1ae)]=void 0x0,this[_0x186490(0x416)]=null,this[_0x186490(0x59e)]=null,this[_0x186490(0x3d9)]();})),this[_0x17d449(0x28f)](this[_0x17d449(0x3e4)][_0x17d449(0x427)]['subscribe'](_0x1de122=>{const _0x4db40a=_0x17d449;if(_0x1de122[_0x4db40a(0x47b)]===0x1){var _0x5345c3;((_0x5345c3=this[_0x4db40a(0x3e4)][_0x4db40a(0x62d)](_0x1de122[0x0]))==null?void 0x0:_0x5345c3[_0x4db40a(0x29a)])===u[_0x4db40a(0x32d)][_0x4db40a(0x5d5)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x17d449(0x28f)](this[_0x17d449(0x3e4)][_0x17d449(0x1ad)][_0x17d449(0x32f)](_0x282cd2=>{const _0x411a49=_0x17d449;for(let _0xbf4a06 of _0x282cd2)this['_activeShapeId']===_0xbf4a06[_0x411a49(0x465)]&&(this[_0x411a49(0x555)]=null,this[_0x411a49(0x1ae)]=void 0x0,this[_0x411a49(0x416)]=null,this[_0x411a49(0x59e)]=null,this[_0x411a49(0x3d9)]());}));}};Fe=W([U(0x1,m[_0x4f29eb(0x5d2)]),U(0x2,(0x0,u[_0x4f29eb(0x3f0)])(l[_0x4f29eb(0x309)])),U(0x3,u['ICommandService'])],Fe);function Ie(_0x37202e,_0x27c193){const _0x4f62a9=_0x4f29eb;let _0x2d5256=_0x37202e;for(;_0x2d5256;){if(_0x27c193(_0x2d5256))return _0x2d5256;_0x2d5256=typeof _0x2d5256[_0x4f62a9(0x200)]==_0x4f62a9(0x52c)?_0x2d5256['getParent']():null;}return null;}function Le(_0x3a231a){return Ie(_0x3a231a,_0xf645f5=>_0xf645f5 instanceof H);}let Re=class extends u[_0x4f29eb(0x695)]{constructor(_0x24fba3,_0xbb56e2,_0x2bbc32,_0xf96937,_0x3d41fe){const _0x3957e4=_0x4f29eb;super(),this[_0x3957e4(0x697)]=_0x24fba3,this[_0x3957e4(0x56f)]=_0xbb56e2,this[_0x3957e4(0x3e4)]=_0x2bbc32,this['_contextService']=_0xf96937,this[_0x3957e4(0x23b)]=_0x3d41fe,L(this,_0x3957e4(0x3f7),null),this[_0x3957e4(0x5e3)](),this['_initSelection'](),this[_0x3957e4(0x574)]();}[_0x4f29eb(0x5e3)](){const _0x579b5e=_0x4f29eb;let {scene:_0xad75}=this[_0x579b5e(0x697)];this[_0x579b5e(0x28f)](_0xad75[_0x579b5e(0x68f)][_0x579b5e(0x33f)](_0x182aad=>{const _0x339c6b=_0x579b5e;var _0x1208ff;let {offsetX:_0x3ac47e,offsetY:_0x188fcd}=_0x182aad,_0x4511ed=p[_0x339c6b(0x61e)][_0x339c6b(0x42d)]([_0x3ac47e,_0x188fcd]),_0x154342=(_0x1208ff=Le(_0xad75[_0x339c6b(0x3fe)](_0x4511ed)))==null?this[_0x339c6b(0x206)](_0x4511ed):_0x1208ff;if(_0x154342){if((0x0,c[_0x339c6b(0x5da)])(this[_0x339c6b(0x23b)][_0x339c6b(0x1e7)](_0x154342[_0x339c6b(0x480)],_0x154342[_0x339c6b(0x623)],_0x154342[_0x339c6b(0x5b2)])))return;this[_0x339c6b(0x56f)][_0x339c6b(0x332)]({'visible':!0x0,'unitId':_0x154342['unitId'],'subUnitId':_0x154342[_0x339c6b(0x623)],'shapeId':_0x154342['shapeId'],'shapeKey':_0x154342[_0x339c6b(0x49d)]});}}));}['_getFocusedShapeAtPoint'](_0x572994){const _0x679373=_0x4f29eb;let {scene:_0x3e9755}=this[_0x679373(0x697)],_0xeabd1b=this['_drawingManagerService'][_0x679373(0x21d)]()[_0x679373(0x62f)](_0x8e3930=>_0x3e9755[_0x679373(0x404)]((0x0,m[_0x679373(0x234)])(_0x8e3930)))[_0x679373(0x349)](_0x3fac7b=>_0x3fac7b instanceof H&&_0x3fac7b['isHit'](_0x572994));return _0xeabd1b==null?null:_0xeabd1b;}['_initSelection'](){const _0x44df5b=_0x4f29eb;this[_0x44df5b(0x28f)](this['_drawingManagerService'][_0x44df5b(0x52f)][_0x44df5b(0x32f)](_0x226ffb=>{const _0x4e9e1a=_0x44df5b;if(_0x226ffb[_0x4e9e1a(0x47b)]===0x1){let _0x21e5c8=_0x226ffb[0x0],_0x229862=this['_drawingManagerService'][_0x4e9e1a(0x62d)](_0x21e5c8);if((_0x229862==null?void 0x0:_0x229862[_0x4e9e1a(0x29a)])===u[_0x4e9e1a(0x32d)]['DRAWING_SHAPE']){let _0x240ae0=this['_shapeTextEditingService']['getEditing']();if((_0x240ae0==null?void 0x0:_0x240ae0[_0x4e9e1a(0x5b2)])===_0x21e5c8[_0x4e9e1a(0x465)]&&_0x240ae0[_0x4e9e1a(0x654)])return;(0x0,c[_0x4e9e1a(0x5da)])(this[_0x4e9e1a(0x23b)]['getShapeType'](_0x21e5c8['unitId'],_0x21e5c8[_0x4e9e1a(0x623)],_0x21e5c8['drawingId']))&&this[_0x4e9e1a(0x56f)][_0x4e9e1a(0x332)](null);}else this['_shapeTextEditingService'][_0x4e9e1a(0x403)]()&&(this[_0x4e9e1a(0x56f)][_0x4e9e1a(0x345)](!0x0),requestAnimationFrame(()=>{const _0x3201da=_0x4e9e1a;this[_0x3201da(0x56f)][_0x3201da(0x332)](null);}));}else this[_0x4e9e1a(0x56f)][_0x4e9e1a(0x403)]()&&(this['_shapeTextEditingService'][_0x4e9e1a(0x345)](!0x0),requestAnimationFrame(()=>{const _0xd3332c=_0x4e9e1a;this[_0xd3332c(0x56f)][_0xd3332c(0x332)](null);}));})),this[_0x44df5b(0x28f)](this[_0x44df5b(0x3e4)]['remove$'][_0x44df5b(0x32f)](_0x471cc2=>{const _0x37ad0f=_0x44df5b;let _0x3ffe6a=this[_0x37ad0f(0x56f)][_0x37ad0f(0x403)]();_0x3ffe6a&&_0x471cc2[_0x37ad0f(0x594)](_0x3b665f=>_0x3b665f[_0x37ad0f(0x465)]===_0x3ffe6a[_0x37ad0f(0x5b2)])&&this[_0x37ad0f(0x56f)][_0x37ad0f(0x332)](null);}));}[_0x4f29eb(0x574)](){const _0x4fab92=_0x4f29eb;this[_0x4fab92(0x28f)](this[_0x4fab92(0x56f)][_0x4fab92(0x47f)][_0x4fab92(0x32f)](_0x541be5=>{const _0x216b6c=_0x4fab92;let {scene:_0x4f9a50}=this[_0x216b6c(0x697)];if(this[_0x216b6c(0x3f7)]){let _0x4ec03f=_0x4f9a50[_0x216b6c(0x404)](this[_0x216b6c(0x3f7)]);_0x4ec03f&&_0x4ec03f[_0x216b6c(0x332)](!0x1);}if(_0x541be5){let _0x4047ff=!!_0x541be5['visible'],_0x19387c=_0x4f9a50[_0x216b6c(0x404)](_0x541be5[_0x216b6c(0x5c8)]);_0x19387c&&(_0x19387c[_0x216b6c(0x332)](_0x4047ff),this[_0x216b6c(0x3f7)]=_0x541be5[_0x216b6c(0x5c8)]),this[_0x216b6c(0x27e)][_0x216b6c(0x4ef)](u[_0x216b6c(0x6a7)],_0x4047ff);}else this[_0x216b6c(0x3f7)]=null,this[_0x216b6c(0x27e)]['setContextValue'](u[_0x216b6c(0x6a7)],!0x1);}));}};Re=W([U(0x1,(0x0,u[_0x4f29eb(0x3f0)])(R)),U(0x2,m[_0x4f29eb(0x5d2)]),U(0x3,u['IContextService']),U(0x4,(0x0,u[_0x4f29eb(0x3f0)])(l['DocsShapeService']))],Re);const ze=[f[_0x4f29eb(0x348)],f[_0x4f29eb(0x641)]['id'],f[_0x4f29eb(0x394)]['id'],f[_0x4f29eb(0x3af)]['id'],f[_0x4f29eb(0x1ee)]['id'],f[_0x4f29eb(0x373)]['id'],f[_0x4f29eb(0x467)]['id'],f[_0x4f29eb(0x399)]['id'],f[_0x4f29eb(0x268)]['id'],f[_0x4f29eb(0x1c6)]['id']];function Be(){const _0x4495c4=_0x4f29eb;let _0x1ff0fb=(0x0,g[_0x4495c4(0x659)])(g['IMenuManagerService']),[_0x5ab458,_0x10df3d]=(0x0,y[_0x4495c4(0x2bc)])([]);return(0x0,y['useEffect'])(()=>{const _0x1dbfae=_0x4495c4;function _0x2b964a(){const _0x68528d=_0x15ba;let _0x5a606d=[..._0x1ff0fb['getFlatMenuByPositionKey'](f[_0x68528d(0x42c)]),..._0x1ff0fb[_0x68528d(0x2df)](g['MenuManagerPosition']['RIBBON'])];_0x10df3d(ze[_0x68528d(0x62f)](_0x51b5e1=>_0x5a606d['find'](_0x49ca14=>_0x49ca14['key']===_0x51b5e1))[_0x68528d(0x3c3)](_0x3ceb00=>!!(_0x3ceb00!=null&&_0x3ceb00[_0x68528d(0x5e6)])));}_0x2b964a();let _0x5da820=_0x1ff0fb[_0x1dbfae(0x2ff)]['subscribe'](_0x2b964a);return()=>_0x5da820[_0x1dbfae(0x429)]();},[_0x1ff0fb]),(0x0,x['jsx'])(_0x4495c4(0x632),{'className':(0x0,v['clsx'])(_0x4495c4(0x57e),v[_0x4495c4(0x23f)]),'children':_0x5ab458[_0x4495c4(0x62f)](_0x1c2be5=>_0x1c2be5[_0x4495c4(0x5e6)]&&(0x0,x[_0x4495c4(0x509)])(_0x4495c4(0x632),{'className':'univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','children':(0x0,x[_0x4495c4(0x509)])(g[_0x4495c4(0x221)],{..._0x1c2be5['item']},_0x1c2be5[_0x4495c4(0x5ea)])},_0x1c2be5[_0x4495c4(0x5ea)]))});}const Ve=_0x4f29eb(0x5a3);function He(_0x32210a,_0x523117){const _0x8d612a=_0x4f29eb;if(_0x32210a==null||_0x523117==null)return!0x1;let {glyph:_0x45666f,..._0x1aa16e}=_0x32210a,{glyph:_0x8029c7,..._0x26460d}=_0x523117;return(0x0,u[_0x8d612a(0x621)])(_0x1aa16e,_0x26460d);}let Ue=class extends u['Disposable']{constructor(_0x416381,_0x10391a,_0x1a6e5e,_0x1fe9ca,_0x56ef7b){const _0x4f626c=_0x4f29eb;super(),this[_0x4f626c(0x697)]=_0x416381,this[_0x4f626c(0x4a2)]=_0x10391a,this[_0x4f626c(0x264)]=_0x1a6e5e,this[_0x4f626c(0x3b1)]=_0x1fe9ca,this['_docSelectionRenderService']=_0x56ef7b,L(this,_0x4f626c(0x436),null),this[_0x4f626c(0x697)]['unitId']===P&&(this[_0x4f626c(0x28f)](this['_componentManager'][_0x4f626c(0x363)](Ve,Be)),this['_initSelectionChange'](),this[_0x4f626c(0x28f)](()=>this['_hideFloatMenu']()));}['_initSelectionChange'](){const _0x24d885=_0x4f29eb;this[_0x24d885(0x28f)](this[_0x24d885(0x596)][_0x24d885(0x3ca)][_0x24d885(0x32f)](()=>{const _0x5aeca6=_0x24d885;this[_0x5aeca6(0x5f9)]();})),this[_0x24d885(0x28f)](this['_docSelectionManagerService'][_0x24d885(0x601)][_0x24d885(0x32f)](_0x1edfad=>{const _0x525420=_0x24d885;var _0x4018ac,_0x5ccc9d;let {unitId:_0x5849b8,textRanges:_0x46a106}=_0x1edfad;if(_0x5849b8!==this[_0x525420(0x697)][_0x525420(0x480)])return;let _0x54b434=_0x46a106['find'](_0x6faf10=>!_0x6faf10[_0x525420(0x37d)]);if(!_0x54b434){this[_0x525420(0x5f9)]();return;}_0x54b434[_0x525420(0x678)]===((_0x4018ac=this[_0x525420(0x436)])==null?void 0x0:_0x4018ac['start'])&&_0x54b434[_0x525420(0x288)]===((_0x5ccc9d=this[_0x525420(0x436)])==null?void 0x0:_0x5ccc9d['end'])||(this[_0x525420(0x5f9)](),this[_0x525420(0x518)](_0x5849b8,_0x54b434));}));}['_hideFloatMenu'](){const _0x5f05fb=_0x4f29eb;var _0x93f967;(_0x93f967=this[_0x5f05fb(0x436)])==null||_0x93f967[_0x5f05fb(0x566)][_0x5f05fb(0x4f7)](),this[_0x5f05fb(0x436)]=null;}[_0x4f29eb(0x518)](_0x4ca332,_0x4b996a){const _0x5d2978=_0x4f29eb;this[_0x5d2978(0x436)]={'disposable':this[_0x5d2978(0x264)]['attachPopupToRange'](_0x4b996a,{'componentKey':Ve,'direction':_0x4b996a[_0x5d2978(0x41d)]===_0x5d2978(0x3da)||He(_0x4b996a[_0x5d2978(0x61c)],_0x4b996a['endNodePosition'])?_0x5d2978(0x266):_0x5d2978(0x4fc),'offset':[0x0,0x4]},_0x4ca332),'start':_0x4b996a[_0x5d2978(0x678)],'end':_0x4b996a['endOffset']};}};Ue=W([U(0x1,(0x0,u['Inject'])(C[_0x4f29eb(0x405)])),U(0x2,(0x0,u[_0x4f29eb(0x3f0)])(f['DocCanvasPopManagerService'])),U(0x3,(0x0,u[_0x4f29eb(0x3f0)])(g[_0x4f29eb(0x1cc)])),U(0x4,(0x0,u[_0x4f29eb(0x3f0)])(f[_0x4f29eb(0x593)]))],Ue);function We(_0x2a9355,_0x2714eb){const _0x7de10=_0x4f29eb;return{'top':0x0,'left':0x0,'width':_0x2a9355,'height':_0x2714eb,'borderColor':_0x7de10(0x4f4),'outlineColor':'transparent','backgroundColor':_0x7de10(0x4f4)};}function Ge(_0x576f29){const _0x3ef430=_0x4f29eb;var _0x1d0bca,_0x3dc0c0;let _0x16de67=_0x576f29==null||(_0x1d0bca=_0x576f29[_0x3ef430(0x698)])==null||(_0x3dc0c0=_0x1d0bca['getCanvasElement'])==null?void 0x0:_0x3dc0c0['call'](_0x1d0bca);_0x16de67&&(_0x16de67[_0x3ef430(0x28a)]['backgroundColor']=_0x3ef430(0x4f4));}function Ke(_0x54308c){const _0x540e6b=_0x4f29eb;let _0x46642e=g[_0x540e6b(0x63c)][_0x540e6b(0x583)],_0x262797=g['MetaKeys'][_0x540e6b(0x583)]|g['MetaKeys']['SHIFT'];return{'keyCodes':[{'keyCode':g[_0x540e6b(0x3a7)][_0x540e6b(0x3d8)]},{'keyCode':g[_0x540e6b(0x3a7)][_0x540e6b(0x464)]},{'keyCode':g[_0x540e6b(0x3a7)][_0x540e6b(0x4a6)]},{'keyCode':g['KeyCode']['A'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['B'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['I'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['U'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['X'],'metaKey':_0x262797},{'keyCode':g['KeyCode']['COMMA'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['PERIOD'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['L'],'metaKey':_0x262797},{'keyCode':g[_0x540e6b(0x3a7)]['R'],'metaKey':_0x262797},{'keyCode':g['KeyCode']['E'],'metaKey':_0x262797},{'keyCode':g[_0x540e6b(0x3a7)]['J'],'metaKey':_0x262797},{'keyCode':g[_0x540e6b(0x3a7)][_0x540e6b(0x60f)],'metaKey':_0x262797},{'keyCode':g['KeyCode'][_0x540e6b(0x1db)],'metaKey':_0x262797},{'keyCode':g[_0x540e6b(0x3a7)]['Z'],'metaKey':_0x46642e},{'keyCode':g[_0x540e6b(0x3a7)]['Y'],'metaKey':_0x46642e},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x262797}],'handler':(_0x1e100f,_0x3ee588)=>{const _0xed0b96=_0x540e6b;switch(_0x1e100f+':'+(_0x3ee588==null?0x0:_0x3ee588)){case g[_0xed0b96(0x3a7)]['ENTER']+':0':_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x1a2)]['id']);break;case g['KeyCode'][_0xed0b96(0x464)]+':0':_0x54308c[_0xed0b96(0x242)](f['DeleteLeftCommand']['id']);break;case g['KeyCode'][_0xed0b96(0x4a6)]+':0':_0x54308c['executeCommand'](f[_0xed0b96(0x26e)]['id']);break;case g['KeyCode']['A']+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x2a4)]['id']);break;case g[_0xed0b96(0x3a7)]['B']+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x394)]['id']);break;case g[_0xed0b96(0x3a7)]['I']+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x3af)]['id']);break;case g['KeyCode']['U']+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x1ee)]['id']);break;case g[_0xed0b96(0x3a7)]['X']+':'+_0x262797:_0x54308c['executeCommand'](f['SetInlineFormatStrikethroughCommand']['id']);break;case g[_0xed0b96(0x3a7)][_0xed0b96(0x505)]+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x467)]['id']);break;case g[_0xed0b96(0x3a7)][_0xed0b96(0x5d0)]+':'+_0x46642e:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x399)]['id']);break;case g[_0xed0b96(0x3a7)]['L']+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x257)]['id']);break;case g[_0xed0b96(0x3a7)]['R']+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x437)]['id']);break;case g[_0xed0b96(0x3a7)]['E']+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x666)]['id']);break;case g[_0xed0b96(0x3a7)]['J']+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](f[_0xed0b96(0x1b3)]['id']);break;case g[_0xed0b96(0x3a7)][_0xed0b96(0x60f)]+':'+_0x262797:_0x54308c['executeCommand'](f['OrderListCommand']['id']);break;case g[_0xed0b96(0x3a7)][_0xed0b96(0x1db)]+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](f['BulletListCommand']['id']);break;case g['KeyCode']['Z']+':'+_0x46642e:_0x54308c['executeCommand'](u[_0xed0b96(0x391)]['id']);break;case g[_0xed0b96(0x3a7)]['Y']+':'+_0x46642e:case g[_0xed0b96(0x3a7)]['Z']+':'+_0x262797:_0x54308c[_0xed0b96(0x242)](u['RedoCommand']['id']);break;}}};}const qe=function(_0x4ea093){const _0xcecb88=_0x4f29eb;let {containerWidth:_0x1f620b,containerHeight:_0x13e1c8,scaleX:_0x46035e,scaleY:_0x596aea}=_0x4ea093,_0x5a6469=_0x46035e||0x1,_0x5b1ee0=_0x596aea||0x1,_0x4d62c5=(0x0,g[_0xcecb88(0x659)])(R),_0x440692=(0x0,g[_0xcecb88(0x659)])(f[_0xcecb88(0x6c0)]),_0x2106aa=(0x0,g[_0xcecb88(0x659)])(p['IRenderManagerService']),_0x208b86=(0x0,g[_0xcecb88(0x659)])(u[_0xcecb88(0x482)]),_0x10a3a7=(0x0,g[_0xcecb88(0x659)])(m[_0xcecb88(0x5d2)]),_0x225432=(0x0,g[_0xcecb88(0x659)])(l[_0xcecb88(0x309)]),_0x2d72cd=(0x0,g['useDependency'])(u[_0xcecb88(0x355)]),_0x5252a1=(0x0,g[_0xcecb88(0x36e)])(_0x4d62c5[_0xcecb88(0x47f)]),_0x5d002c=(0x0,g['useObservable'])(_0x4d62c5['onSavingEditorData$']),_0x3f36a7=(0x0,y[_0xcecb88(0x563)])(null),_0x345d5b=(0x0,y[_0xcecb88(0x563)])(null),_0x18e6b1=(0x0,y['useRef'])(null),_0x9e4f32=(0x0,y[_0xcecb88(0x563)])(null),_0x2c24c3=(0x0,y[_0xcecb88(0x563)])(null),_0xcfd911=(0x0,y[_0xcecb88(0x563)])(null),[,_0x3cfa62]=(0x0,y[_0xcecb88(0x2bc)])({'editorHeight':_0x13e1c8,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x118447=(0x0,y[_0xcecb88(0x3e0)])(_0x9db5e5=>{queueMicrotask(()=>{_0x3cfa62(_0x9db5e5);});},[]),_0x24df3e=(0x0,y[_0xcecb88(0x3e0)])(()=>_0x208b86['getUnit'](P,u[_0xcecb88(0x1be)][_0xcecb88(0x25d)]),[_0x208b86]),_0x3207d6=(0x0,y[_0xcecb88(0x3e0)])(()=>{const _0x5d2c00=_0xcecb88;var _0x359a8c;let _0x30a33b=_0x5a6469,_0x5ba1d5=_0x5b1ee0;if(!_0x5252a1)return{'scaleAdjust':0x1,'renderScaleX':_0x30a33b,'renderScaleY':_0x5ba1d5};let _0x11f09f=_0x2106aa[_0x5d2c00(0x2f6)](_0x5252a1[_0x5d2c00(0x480)]),_0x56ac29=_0x11f09f==null?void 0x0:_0x11f09f[_0x5d2c00(0x56b)][_0x5d2c00(0x6bc)](),_0x5dfb99=_0x11f09f==null?void 0x0:_0x11f09f['engine'][_0x5d2c00(0x4a8)](),_0x7d2729=_0x5dfb99?Number[_0x5d2c00(0x3a5)](_0x5dfb99[_0x5d2c00(0x28a)][_0x5d2c00(0x640)]||''):0x0,_0x3401cb=(_0x359a8c=_0x5dfb99==null?void 0x0:_0x5dfb99[_0x5d2c00(0x59b)]()[_0x5d2c00(0x640)])==null?0x0:_0x359a8c,_0xe2fa5b=_0x7d2729>0x0&&_0x3401cb>0x0?_0x3401cb/_0x7d2729:0x1;return{'scaleAdjust':Number[_0x5d2c00(0x3d7)](_0xe2fa5b)&&_0xe2fa5b>0x0?_0xe2fa5b:0x1,'renderScaleX':(_0x56ac29==null?void 0x0:_0x56ac29[_0x5d2c00(0x31a)])||_0x30a33b,'renderScaleY':(_0x56ac29==null?void 0x0:_0x56ac29['scaleY'])||_0x5ba1d5};},[_0x5a6469,_0x5b1ee0,_0x5252a1,_0x2106aa]),_0x5549eb=(0x0,y[_0xcecb88(0x3e0)])(()=>{const _0x46a8f6=_0xcecb88;if(!_0x5252a1)return{'left':0x0,'top':0x0,'width':_0x1f620b/_0x5a6469,'height':_0x13e1c8/_0x5b1ee0};let {unitId:_0x4d50d4,subUnitId:_0x36df22,shapeId:_0x34a90c}=_0x5252a1,_0xbb7663=_0x225432['getShapeModel'](_0x4d50d4,_0x36df22,_0x34a90c);if(!_0xbb7663)return{'left':0x0,'top':0x0,'width':_0x1f620b/_0x5a6469,'height':_0x13e1c8/_0x5b1ee0};let _0x28199e={'left':0x0,'top':0x0,'width':_0x1f620b/_0x5a6469,'height':_0x13e1c8/_0x5b1ee0};return _0xbb7663[_0x46a8f6(0x5aa)](_0x28199e);},[_0x5252a1,_0x1f620b,_0x13e1c8,_0x5a6469,_0x5b1ee0,_0x225432]),_0x47cd6e=(0x0,y[_0xcecb88(0x3e0)])(()=>{const _0x43cc10=_0xcecb88;if(!_0x5252a1)return null;let {unitId:_0x5c45c1,subUnitId:_0x1e6fe3,shapeId:_0x1a9181}=_0x5252a1,_0x5e23ac=_0x225432[_0x43cc10(0x1d0)](_0x5c45c1,_0x1e6fe3,_0x1a9181);if(!_0x5e23ac)return null;let _0x17f176=_0x5e23ac[_0x43cc10(0x50c)]();if(!_0x17f176)return null;let _0x35fd03={'unitId':_0x5c45c1,'subUnitId':_0x1e6fe3,'drawingId':_0x1a9181},_0x9d29b6=_0x10a3a7['getDrawingByParam'](_0x35fd03),_0x5f18fe={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x9d29b6&&_0x9d29b6[_0x43cc10(0x441)]&&(_0x5f18fe=_0x9d29b6['transform']);let _0x1dbece={'left':0x0,'top':0x0,'width':_0x1f620b/_0x5a6469,'height':_0x13e1c8/_0x5b1ee0},_0x4026b3=_0x5e23ac[_0x43cc10(0x5aa)](_0x1dbece),_0x185b06,_0x858ab2=u[_0x43cc10(0x34c)][_0x43cc10(0x2ae)],_0xbee66a=u[_0x43cc10(0x650)]['LEFT'];if(_0x43cc10(0x68e)in _0x17f176&&_0x17f176[_0x43cc10(0x68e)]){var _0x34581c,_0x496c96;let _0x130be4=_0x17f176[_0x43cc10(0x68e)];_0x130be4!=null&&_0x130be4[_0x43cc10(0x616)]&&(_0x185b06=_0x130be4['doc']),_0x858ab2=(_0x34581c=_0x130be4==null?void 0x0:_0x130be4['va'])==null?u[_0x43cc10(0x34c)][_0x43cc10(0x2ae)]:_0x34581c,_0xbee66a=(_0x496c96=_0x130be4==null?void 0x0:_0x130be4['ha'])==null?u[_0x43cc10(0x650)][_0x43cc10(0x1a8)]:_0x496c96;}return{'doc':_0x185b06,'verticalAlign':_0x858ab2,'horizontalAlign':_0xbee66a,'textRect':_0x4026b3,'transform':_0x5f18fe,'isHorizontal':_0x17f176[_0x43cc10(0x43d)]};},[_0x5252a1,_0x225432,_0x10a3a7,_0x1f620b,_0x13e1c8,_0x5a6469,_0x5b1ee0]),_0x2deadb=(0x0,y['useMemo'])(()=>{const _0x41546c=_0xcecb88;let _0x3c4694=_0x47cd6e();return _0x3c4694!=null&&_0x3c4694[_0x41546c(0x616)]?V(_0x3c4694[_0x41546c(0x616)],{'isHorizontal':!0x0,'textRect':_0x3c4694[_0x41546c(0x322)],'verticalAlign':_0x3c4694[_0x41546c(0x4e8)],'horizontalAlign':_0x3c4694[_0x41546c(0x286)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x1f620b/_0x5a6469,'height':0x1/0x0}}};},[_0x47cd6e,_0x1f620b,_0x5a6469]),_0x2f50ce=(0x0,f['useEditor'])({'editorId':P,'initialValue':_0x2deadb,'container':_0x345d5b,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0xcecb88(0x4f4)},'isSingle':!0x1});(0x0,y[_0xcecb88(0x4b4)])(()=>{const _0x13df96=_0xcecb88;_0x2f50ce&&Ge(_0x2106aa[_0x13df96(0x2f6)](P));},[_0x2f50ce,_0x2106aa]);let _0x5bcd46=(0x0,f[_0xcecb88(0x33b)])(P);(0x0,f[_0xcecb88(0x5fb)])(_0x5bcd46,(0x0,y['useMemo'])(()=>Ke(_0x2d72cd),[_0x2d72cd]),_0x2f50ce),(0x0,f[_0xcecb88(0x545)])(_0x5bcd46,!0x1,_0x2f50ce);let _0x53f6ed=(0x0,y[_0xcecb88(0x3e0)])((_0x51bcbf=!0x0)=>{const _0xafa74e=_0xcecb88;var _0x2def59,_0x489807,_0x221a4c;if(!_0x2f50ce)return;let _0xafef30=_0x2f50ce[_0xafa74e(0x3ba)]()[_0xafa74e(0x349)](_0x8931e1=>_0x8931e1[_0xafa74e(0x37d)]),_0x4ceb9e=((_0x2def59=(_0x489807=_0x2f50ce['getDocumentData']()[_0xafa74e(0x614)])==null?void 0x0:_0x489807[_0xafa74e(0x4ff)]['length'])==null?0x2:_0x2def59)-0x2,_0x1ef034=(_0x221a4c=_0xafef30==null?void 0x0:_0xafef30[_0xafa74e(0x678)])==null?_0x51bcbf?_0x4ceb9e:null:_0x221a4c;_0x1ef034!==null&&_0x2f50ce[_0xafa74e(0x239)]([{'startOffset':_0x1ef034,'endOffset':_0x1ef034}],!0x1);},[_0x2f50ce]),_0x440503=(0x0,y[_0xcecb88(0x3e0)])(()=>{const _0x84db80=_0xcecb88;_0x2c24c3[_0x84db80(0x55e)]!==null&&(cancelAnimationFrame(_0x2c24c3['current']),_0x2c24c3[_0x84db80(0x55e)]=null),_0xcfd911[_0x84db80(0x55e)]!==null&&(window[_0x84db80(0x667)](_0xcfd911[_0x84db80(0x55e)]),_0xcfd911['current']=null);},[]),_0x479e8=(0x0,y['useCallback'])(()=>{const _0x4bb827=_0xcecb88;var _0x27e1eb,_0x50c6da,_0x4827ef;if(!_0x2f50ce)return;let _0x1944f1=_0x2106aa[_0x4bb827(0x2f6)](P),_0x14bc7d=_0x1944f1==null?void 0x0:_0x1944f1[_0x4bb827(0x207)](C['DocSkeletonManagerService']);if(!_0x14bc7d)return;let _0x23518f=_0x14bc7d[_0x4bb827(0x688)](),_0x32a0e9=_0x24df3e(),{renderScaleX:_0x30834d,renderScaleY:_0x63f045,scaleAdjust:_0x5ab25c}=_0x3207d6(),_0x5070c0=_0x47cd6e(),_0x135cf8=(_0x27e1eb=_0x5070c0==null?void 0x0:_0x5070c0[_0x4bb827(0x4e8)])==null?u['VerticalAlign'][_0x4bb827(0x2ae)]:_0x27e1eb,_0x476361=(_0x50c6da=_0x5070c0==null?void 0x0:_0x5070c0[_0x4bb827(0x286)])==null?u[_0x4bb827(0x650)][_0x4bb827(0x1a8)]:_0x50c6da,_0x752291=(_0x4827ef=_0x5549eb())==null?{'left':0x0,'top':0x0,'width':_0x1f620b/_0x5a6469,'height':_0x13e1c8/_0x5b1ee0}:_0x4827ef,_0x2eae29=_0x1f620b/_0x5a6469,_0x2f3587=_0x13e1c8/_0x5b1ee0;_0x32a0e9&&(_0x32a0e9[_0x4bb827(0x5b6)](Math[_0x4bb827(0x379)](_0x30834d,_0x63f045)),_0x32a0e9['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x752291[_0x4bb827(0x640)],'height':0x1/0x0}}),_0x32a0e9[_0x4bb827(0x461)]({'verticalAlign':_0x135cf8,'horizontalAlign':_0x476361,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u[_0x4bb827(0x3f8)][_0x4bb827(0x1c4)]})),_0x23518f['calculate']();let {actualHeight:_0xcc80c0}=_0x23518f[_0x4bb827(0x652)](),_0x46a124=_0x752291['height'],_0x22488a=0x0;if(_0xcc80c0<=_0x46a124)_0x135cf8===u[_0x4bb827(0x34c)][_0x4bb827(0x4fa)]?_0x22488a=(_0x46a124-_0xcc80c0)/0x2:_0x135cf8===u['VerticalAlign']['BOTTOM']&&(_0x22488a=_0x46a124-_0xcc80c0),_0x118447({'editorHeight':_0x752291[_0x4bb827(0x689)]*_0x5b1ee0,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0xc8b1c1=0x0;_0x135cf8===u[_0x4bb827(0x34c)][_0x4bb827(0x4fa)]?_0xc8b1c1=(_0x46a124-_0xcc80c0)/0x2:_0x135cf8===u[_0x4bb827(0x34c)][_0x4bb827(0x421)]&&(_0xc8b1c1=_0x46a124-_0xcc80c0),_0x22488a=0x0,_0x118447({'editorHeight':_0xcc80c0*_0x5b1ee0,'marginTop':_0xc8b1c1*_0x5b1ee0,'useAbsolutePosition':!0x0});}if(_0x32a0e9){let _0x2702e9=Math[_0x4bb827(0x379)](0x0,_0x752291[_0x4bb827(0x46d)]),_0x3c9dfe=Math[_0x4bb827(0x379)](0x0,_0x752291[_0x4bb827(0x1f3)]+_0x22488a);_0x32a0e9[_0x4bb827(0x315)]({'marginLeft':_0x2702e9,'marginRight':Math[_0x4bb827(0x379)](0x0,_0x2eae29-_0x752291[_0x4bb827(0x46d)]-_0x752291[_0x4bb827(0x640)]),'marginBottom':Math[_0x4bb827(0x379)](0x0,_0x2f3587-_0x752291['top']-_0x752291[_0x4bb827(0x689)]),'pageSize':{'width':_0x2eae29,'height':_0x2f3587}}),_0x32a0e9[_0x4bb827(0x458)]({'t':_0x3c9dfe}),_0x23518f[_0x4bb827(0x39b)]();}if(_0x1944f1){let _0x34d608=_0x1f620b,_0x560dc6=_0x13e1c8;_0x1944f1[_0x4bb827(0x56b)][_0x4bb827(0x42e)]({'width':_0x34d608*_0x5ab25c/_0x30834d,'height':_0x560dc6*_0x5ab25c/_0x63f045,'scaleX':_0x30834d*_0x5ab25c,'scaleY':_0x63f045*_0x5ab25c}),_0x1944f1[_0x4bb827(0x66c)]&&_0x1944f1[_0x4bb827(0x66c)][_0x4bb827(0x639)](_0x34d608*_0x5ab25c/_0x30834d,_0x560dc6*_0x5ab25c/_0x63f045);}},[_0x2f50ce,_0x2106aa,_0x24df3e,_0x3207d6,_0x47cd6e,_0x5549eb,_0x1f620b,_0x13e1c8,_0x5a6469,_0x5b1ee0,_0x118447]),_0x638db3=(0x0,y[_0xcecb88(0x3e0)])((_0x2c6a73=!0x1)=>{_0x440503(),_0x2c24c3['current']=requestAnimationFrame(()=>{const _0x53be9c=_0x15ba;_0x479e8(),_0x2c6a73&&_0x53f6ed(!0x1),_0x2c24c3[_0x53be9c(0x55e)]=null,_0xcfd911[_0x53be9c(0x55e)]=window['setTimeout'](()=>{const _0x43d6e0=_0x53be9c;_0x479e8(),_0x2c6a73&&_0x53f6ed(!0x1),_0xcfd911[_0x43d6e0(0x55e)]=null;},0x14);});},[_0x479e8,_0x440503,_0x53f6ed]);(0x0,y[_0xcecb88(0x4b4)])(()=>{const _0x539e40=_0xcecb88;if(!_0x2f50ce||!_0x5252a1)return;let {shapeId:_0x3fd005,unitId:_0x13fe15}=_0x5252a1;if(_0x5d002c){var _0x3028d4,_0x1dc92d,_0xf6b07e,_0x4cdfa5;let _0x40a8c2=te(_0x2f50ce[_0x539e40(0x5ff)]()),_0x1734b4=_0x47cd6e(),_0x3a778d={'va':(_0x3028d4=_0x1734b4==null?void 0x0:_0x1734b4[_0x539e40(0x4e8)])==null?u[_0x539e40(0x34c)][_0x539e40(0x2ae)]:_0x3028d4,'ha':(_0x1dc92d=_0x1734b4==null?void 0x0:_0x1734b4['horizontalAlign'])==null?u[_0x539e40(0x650)][_0x539e40(0x1a8)]:_0x1dc92d,'doc':_0x40a8c2};_0x2d72cd[_0x539e40(0x242)](l['UpdateDocShapeDataCommand']['id'],{'unitId':_0x13fe15,'shapeId':_0x3fd005,'shapeData':{'shapeText':{'isHorizontal':(_0xf6b07e=_0x1734b4==null?void 0x0:_0x1734b4[_0x539e40(0x43d)])==null?!0x0:_0xf6b07e,'dataModel':_0x3a778d}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x4cdfa5=_0x1734b4==null?void 0x0:_0x1734b4[_0x539e40(0x43d)])==null?!0x0:_0x4cdfa5,'dataModel':_0x18e6b1[_0x539e40(0x55e)]}}}});return;}let _0x2c18e7=_0x47cd6e();if(_0x2c18e7!=null&&_0x2c18e7[_0x539e40(0x616)]){_0x18e6b1['current']={'va':_0x2c18e7[_0x539e40(0x4e8)],'ha':_0x2c18e7[_0x539e40(0x286)],'doc':u[_0x539e40(0x5cc)][_0x539e40(0x392)](_0x2c18e7['doc'])};let _0x392090=V(_0x2c18e7[_0x539e40(0x616)],{'isHorizontal':!0x0,'textRect':_0x2c18e7['textRect'],'verticalAlign':_0x2c18e7[_0x539e40(0x4e8)],'horizontalAlign':_0x2c18e7[_0x539e40(0x286)]});return _0x2f50ce[_0x539e40(0x1cf)](_0x392090,null),()=>{const _0xd291f3=_0x539e40;var _0x533305,_0x4cb121,_0x13c6b7,_0x41a5ce;let _0x3897fe=te(_0x2f50ce[_0xd291f3(0x5ff)]()),_0xeb7508=_0x47cd6e(),_0x38c686={'va':(_0x533305=_0xeb7508==null?void 0x0:_0xeb7508[_0xd291f3(0x4e8)])==null?u[_0xd291f3(0x34c)]['TOP']:_0x533305,'ha':(_0x4cb121=_0xeb7508==null?void 0x0:_0xeb7508['horizontalAlign'])==null?u[_0xd291f3(0x650)][_0xd291f3(0x1a8)]:_0x4cb121,'doc':_0x3897fe};_0x2d72cd['executeCommand'](l[_0xd291f3(0x5dc)]['id'],{'unitId':_0x13fe15,'shapeId':_0x3fd005,'shapeData':{'shapeText':{'isHorizontal':(_0x13c6b7=_0xeb7508==null?void 0x0:_0xeb7508[_0xd291f3(0x43d)])==null?!0x0:_0x13c6b7,'dataModel':_0x38c686}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x41a5ce=_0xeb7508==null?void 0x0:_0xeb7508[_0xd291f3(0x43d)])==null?!0x0:_0x41a5ce,'dataModel':_0x18e6b1[_0xd291f3(0x55e)]}}}});};}else _0x2f50ce[_0x539e40(0x1cf)](_0x2deadb,null);},[_0x2f50ce,_0x5252a1,_0x5d002c]),(0x0,y[_0xcecb88(0x4b4)])(()=>{const _0x4faa35=_0xcecb88;if(!(!_0x2f50ce||!_0x5252a1))return _0x440692['blur'](!0x0),_0x479e8(),_0x9e4f32[_0x4faa35(0x55e)]=requestAnimationFrame(()=>{const _0x5a5979=_0x4faa35;_0x440692[_0x5a5979(0x2c9)](P),_0x53f6ed(),_0x638db3(),_0x9e4f32[_0x5a5979(0x55e)]=null;}),()=>{const _0x5f15ae=_0x4faa35;_0x9e4f32[_0x5f15ae(0x55e)]!==null&&(cancelAnimationFrame(_0x9e4f32['current']),_0x9e4f32[_0x5f15ae(0x55e)]=null),_0x440503(),_0x440692[_0x5f15ae(0x3c8)](!0x0);};},[_0x2f50ce,_0x5252a1,_0x440692,_0x479e8,_0x53f6ed,_0x638db3,_0x440503]),(0x0,y[_0xcecb88(0x4b4)])(()=>{const _0x4896e1=_0xcecb88;if(!_0x2f50ce)return;let _0x12b029=_0x2d72cd[_0x4896e1(0x400)](_0x3fb1de=>{const _0x4cca1d=_0x4896e1;_0x3fb1de['id']===C[_0x4cca1d(0x4dc)]['id']&&_0x3fb1de[_0x4cca1d(0x325)]['unitId']===P&&_0x5252a1&&(_0x5252a1['visible']?_0x479e8():_0x4d62c5[_0x4cca1d(0x332)]({..._0x5252a1,'visible':!0x0}));});return()=>{const _0x567181=_0x4896e1;_0x12b029[_0x567181(0x4f7)]();};},[_0x2f50ce,_0x479e8,_0x5252a1,_0x638db3,_0x4d62c5]),(0x0,y[_0xcecb88(0x4b4)])(()=>(_0x479e8(),_0x638db3(),()=>{_0x440503();}),[_0x479e8,_0x638db3,_0x440503]);let _0x23f458=(0x0,y[_0xcecb88(0x68a)])(()=>We(_0x1f620b,_0x13e1c8),[_0x1f620b,_0x13e1c8]),_0x45eeb3=(0x0,y[_0xcecb88(0x68a)])(()=>{let _0x460d72=_0x47cd6e(),_0x457e89=_0x460d72==null?void 0x0:_0x460d72['transform'];return _0x457e89&&_0x457e89||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x47cd6e]);return(0x0,x[_0xcecb88(0x509)])(_0xcecb88(0x632),{'ref':_0x3f36a7,'data-u-comp':_0xcecb88(0x1d8),'className':_0xcecb88(0x40d),'style':{'transform':_0xcecb88(0x422)+_0x45eeb3['angle']+'deg)\x20scaleY('+(_0x45eeb3[_0xcecb88(0x3e2)]?-0x1:0x1)+')'},'children':(0x0,x[_0xcecb88(0x509)])('div',{'ref':_0x345d5b,'className':'univer-absolute','data-u-comp':_0xcecb88(0x462),'style':_0x23f458,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x500323,_0x4dbfbf,_0x5abd02,_0x560c66,_0x51ee67,_0x7b9d33){const _0x27be44=_0x4f29eb;var _0x98ab59,_0x3b2e57;let {scaleX:_0x4f4f89,scaleY:_0x4df443}=_0x7b9d33[_0x27be44(0x6bc)](),_0x408731=_0x7b9d33[_0x27be44(0x237)](f[_0x27be44(0x371)][_0x27be44(0x2fe)]),_0x5d1c75=(_0x98ab59=_0x408731==null?void 0x0:_0x408731[_0x27be44(0x3a6)])==null?0x0:_0x98ab59,_0x26fb40=(_0x3b2e57=_0x408731==null?void 0x0:_0x408731[_0x27be44(0x5bf)])==null?0x0:_0x3b2e57;return{'left':(_0x500323-_0x5d1c75)*_0x4f4f89,'top':(_0x4dbfbf-_0x26fb40)*_0x4df443,'width':_0x5abd02*_0x4f4f89,'height':_0x560c66*_0x4df443,'angle':_0x51ee67,'scaleX':_0x4f4f89,'scaleY':_0x4df443};}function Xe(_0x5e1941){const _0x4a146d=_0x4f29eb;let {editingParams:_0x31fedd,scene:_0x4d2dac,getShapeTransform:_0x5047eb}=_0x5e1941,[_0x39fff2,_0xf4e8c0]=(0x0,y[_0x4a146d(0x2bc)])(Je),_0x1eb6cb=(0x0,y[_0x4a146d(0x563)])(_0x39fff2);_0x1eb6cb['current']=_0x39fff2;let _0x150172=(0x0,y[_0x4a146d(0x3e0)])(()=>{const _0x29c05c=_0x4a146d;if(!_0x31fedd||!_0x4d2dac){_0x1eb6cb[_0x29c05c(0x55e)]!==Je&&_0xf4e8c0(Je);return;}let _0xc5f69c=_0x5047eb();if(!_0xc5f69c){_0x1eb6cb[_0x29c05c(0x55e)]!==Je&&_0xf4e8c0(Je);return;}let {left:_0x3b4d38,top:_0x1642d6,width:_0x7b1b2e,height:_0xf04dd9,angle:_0x3df076}=_0xc5f69c,{scaleX:_0x42706e,scaleY:_0xa07316}=_0x4d2dac[_0x29c05c(0x6bc)]();if(!_0x31fedd[_0x29c05c(0x654)]){_0xf4e8c0({'left':-0x270f,'top':-0x270f,'width':_0x7b1b2e*_0x42706e,'height':_0xf04dd9*_0xa07316,'angle':0x0,'scaleX':_0x42706e,'scaleY':_0xa07316});return;}_0xf4e8c0(Ye(_0x3b4d38,_0x1642d6,_0x7b1b2e,_0xf04dd9,_0x3df076,_0x4d2dac));},[_0x31fedd,_0x4d2dac,_0x5047eb]);return(0x0,y[_0x4a146d(0x4b4)])(()=>{_0x150172();},[_0x31fedd,_0x150172]),{'position':_0x39fff2,'updatePosition':_0x150172};}const Ze=(0x0,y[_0x4f29eb(0x49e)])(_0x47dfb9=>{const _0xca590d=_0x4f29eb;let {children:_0xf5bfc1,onPositionUpdate:_0x5c1da1}=_0x47dfb9,_0x1899b3=(0x0,y['useRef'])(null),_0x21ed7d=(0x0,g[_0xca590d(0x659)])(R),_0xfdd58d=(0x0,g[_0xca590d(0x659)])(p['IRenderManagerService']),_0x37ffd4=(0x0,g[_0xca590d(0x36e)])(_0x21ed7d[_0xca590d(0x47f)]),_0x4c2aad=(0x0,y[_0xca590d(0x68a)])(()=>_0x37ffd4?_0xfdd58d[_0xca590d(0x2f6)](_0x37ffd4[_0xca590d(0x480)]):null,[_0x37ffd4,_0xfdd58d]),_0x521fb0=(0x0,y['useMemo'])(()=>{const _0x5256f3=_0xca590d;var _0x51a36;return(_0x51a36=_0x4c2aad==null?void 0x0:_0x4c2aad[_0x5256f3(0x56b)])==null?null:_0x51a36;},[_0x4c2aad]),{position:_0xf5e9b7,updatePosition:_0x353db5}=Xe({'editingParams':_0x37ffd4,'scene':_0x521fb0,'getShapeTransform':(0x0,y['useCallback'])(()=>{const _0x483cc7=_0xca590d;if(!_0x37ffd4||!_0x521fb0)return null;let _0x5c5214=_0x37ffd4[_0x483cc7(0x5c8)],_0x2a3637=_0x521fb0[_0x483cc7(0x5ec)](_0x5c5214);return _0x2a3637 instanceof H?{'left':_0x2a3637[_0x483cc7(0x46d)],'top':_0x2a3637[_0x483cc7(0x1f3)],'width':_0x2a3637[_0x483cc7(0x640)],'height':_0x2a3637[_0x483cc7(0x689)],'angle':_0x2a3637['angle']}:null;},[_0x37ffd4,_0x521fb0])}),_0x12d53c=(0x0,y[_0xca590d(0x3e0)])(()=>{const _0x341741=_0xca590d;let _0x319b23=_0x1899b3[_0x341741(0x55e)];_0x319b23&&(_0x319b23['style']['left']=_0xf5e9b7[_0x341741(0x46d)]+'px',_0x319b23[_0x341741(0x28a)][_0x341741(0x1f3)]=_0xf5e9b7[_0x341741(0x1f3)]+'px',_0x319b23[_0x341741(0x28a)][_0x341741(0x640)]=_0xf5e9b7[_0x341741(0x640)]+'px',_0x319b23['style']['height']=_0xf5e9b7[_0x341741(0x689)]+'px');},[_0xf5e9b7]);return(0x0,y[_0xca590d(0x4b4)])(()=>{const _0x5dd3b0=_0xca590d;_0x12d53c(),_0x5c1da1==null||_0x5c1da1({'width':_0xf5e9b7['width'],'height':_0xf5e9b7['height'],'scaleX':_0xf5e9b7['scaleX'],'scaleY':_0xf5e9b7[_0x5dd3b0(0x5a1)]});},[_0xf5e9b7,_0x12d53c,_0x5c1da1]),(0x0,y[_0xca590d(0x4b4)])(()=>{const _0x1b2ca4=_0xca590d;if(!_0x521fb0)return;let _0x3c5d1f=_0x521fb0[_0x1b2ca4(0x237)](f[_0x1b2ca4(0x371)]['VIEW_MAIN']);if(!_0x3c5d1f)return;let _0x467a04=_0x3c5d1f[_0x1b2ca4(0x5b9)][_0x1b2ca4(0x33f)](()=>{_0x353db5();});return()=>{_0x467a04['unsubscribe']();};},[_0x521fb0,_0x353db5]),(0x0,y[_0xca590d(0x4b4)])(()=>{const _0x24a851=_0xca590d;if(!_0x37ffd4||!_0x521fb0)return;let _0x5e9338=_0x37ffd4['shapeKey'],_0x8ca1be=_0x521fb0[_0x24a851(0x5ec)](_0x5e9338);if(_0x8ca1be instanceof H){let _0x464cad=_0x8ca1be[_0x24a851(0x69f)][_0x24a851(0x33f)](()=>{_0x353db5();});return()=>{const _0xf2b6a1=_0x24a851;_0x464cad[_0xf2b6a1(0x429)]();};}},[_0x37ffd4,_0x521fb0,_0x353db5]),(0x0,x[_0xca590d(0x509)])(_0xca590d(0x632),{'ref':_0x1899b3,'data-u-comp':'shape-text-editor-position-wrapper','className':_0xca590d(0x34f),'style':(0x0,y['useMemo'])(()=>({'left':_0xf5e9b7[_0xca590d(0x46d)],'top':_0xf5e9b7['top'],'width':_0xf5e9b7[_0xca590d(0x640)],'height':_0xf5e9b7[_0xca590d(0x689)],'pointerEvents':_0x37ffd4!=null&&_0x37ffd4[_0xca590d(0x654)]?_0xca590d(0x3ac):'none'}),[_0xf5e9b7,_0x37ffd4==null?void 0x0:_0x37ffd4[_0xca590d(0x654)]]),'children':_0xf5bfc1});}),Qe=(0x0,y['memo'])(()=>{const _0x20b164=_0x4f29eb;let _0x486fb6=(0x0,g[_0x20b164(0x36e)])((0x0,g[_0x20b164(0x659)])(R)[_0x20b164(0x47f)]),[_0x46401e,_0x1e7440]=(0x0,y[_0x20b164(0x2bc)])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x27f667=(0x0,y[_0x20b164(0x3e0)])(_0x54300a=>{const _0x5756cf=_0x20b164;_0x1e7440({'width':_0x54300a['width'],'height':_0x54300a[_0x5756cf(0x689)],'scaleX':_0x54300a[_0x5756cf(0x31a)],'scaleY':_0x54300a['scaleY']});},[]);return _0x486fb6!=null&&_0x486fb6[_0x20b164(0x654)]?(0x0,x[_0x20b164(0x509)])(Ze,{'onPositionUpdate':_0x27f667,'children':(0x0,x['jsx'])(qe,{'containerWidth':_0x46401e[_0x20b164(0x640)],'containerHeight':_0x46401e[_0x20b164(0x689)],'scaleX':_0x46401e[_0x20b164(0x31a)],'scaleY':_0x46401e['scaleY']})}):null;});let $e=class extends u[_0x4f29eb(0x291)]{constructor(_0x3ead29=Ne,_0x1ca423,_0x4fbc23,_0x556671,_0x198cce){const _0x551431=_0x4f29eb;super(),this[_0x551431(0x693)]=_0x3ead29,this[_0x551431(0x334)]=_0x1ca423,this[_0x551431(0x4a3)]=_0x4fbc23,this[_0x551431(0x431)]=_0x556671,this[_0x551431(0x208)]=_0x198cce;let {menu:_0x55da0e,..._0xa660f3}=(0x0,u[_0x551431(0x67b)])({},Ne,this[_0x551431(0x693)]);_0x55da0e&&this['_configService'][_0x551431(0x529)](_0x551431(0x3cd),_0x55da0e,{'merge':!0x0}),this['_configService']['setConfig'](_0x551431(0x5f6),_0xa660f3),this['_initCommands']();}[_0x4f29eb(0x4aa)](){const _0x115316=_0x4f29eb;(0x0,u[_0x115316(0x50d)])(this[_0x115316(0x334)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x115316(0x1c9)]();}['onReady'](){const _0x44449d=_0x4f29eb;this['_renderManagerService'][_0x44449d(0x346)](u[_0x44449d(0x1be)][_0x44449d(0x25d)],[Fe]),this[_0x44449d(0x208)][_0x44449d(0x346)](u[_0x44449d(0x1be)][_0x44449d(0x25d)],[Re]),this[_0x44449d(0x208)][_0x44449d(0x346)](u[_0x44449d(0x1be)][_0x44449d(0x25d)],[Ue]),(0x0,u[_0x44449d(0x1a4)])(this[_0x44449d(0x334)],[[Ae],[K],[G],[ye],[R]]);}[_0x4f29eb(0x423)](){const _0x30a7a2=_0x4f29eb;[A,j,M][_0x30a7a2(0x3f5)](_0x3d2ffa=>this['disposeWithMe'](this[_0x30a7a2(0x4a3)][_0x30a7a2(0x2d2)](_0x3d2ffa)));}['_initUIPart'](){const _0x3c18ba=_0x4f29eb;let _0x501607=this[_0x3c18ba(0x334)],_0x545ba1=_0x501607[_0x3c18ba(0x48c)](g[_0x3c18ba(0x1cc)]),_0x199532=_0x501607[_0x3c18ba(0x48c)](g['IUIPartsService']);this[_0x3c18ba(0x28f)](_0x545ba1[_0x3c18ba(0x363)](_0x3c18ba(0x5b7),Qe)),this[_0x3c18ba(0x28f)](_0x199532['registerComponent'](g[_0x3c18ba(0x460)][_0x3c18ba(0x321)],()=>(0x0,g['connectInjector'])(Qe,_0x501607)));}};L($e,_0x4f29eb(0x587),u['UniverInstanceType'][_0x4f29eb(0x25d)]),L($e,_0x4f29eb(0x690),_0x4f29eb(0x230)),L($e,_0x4f29eb(0x438),je),L($e,_0x4f29eb(0x297),Me),$e=W([(0x0,u['DependentOn'])(S[_0x4f29eb(0x45b)],d['UniverDocsDrawingUIPlugin'],l[_0x4f29eb(0x48f)]),U(0x1,(0x0,u[_0x4f29eb(0x3f0)])(u[_0x4f29eb(0x4ea)])),U(0x2,u['ICommandService']),U(0x3,u[_0x4f29eb(0x54c)]),U(0x4,p[_0x4f29eb(0x271)])],$e),exports['CloseDocShapeFormatPanelOperation']=j,Object[_0x4f29eb(0x6ba)](exports,_0x4f29eb(0x3fb),{'enumerable':!0x0,'get':function(){return Ae;}}),exports['MenuInsertShapeCommand']=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x4f29eb(0x6ba)](exports,_0x4f29eb(0x39c),{'enumerable':!0x0,'get':function(){return $e;}});
1
+ function _0x1a94(_0x412539,_0x3ad88e){_0x412539=_0x412539-0xce;const _0x218478=_0x2184();let _0x1a94ef=_0x218478[_0x412539];return _0x1a94ef;}const _0x3b6577=_0x1a94;(function(_0x2b5cb2,_0x3fe717){const _0x3c6c96=_0x1a94,_0x1fb96f=_0x2b5cb2();while(!![]){try{const _0x5212eb=parseInt(_0x3c6c96(0xd2))/0x1*(-parseInt(_0x3c6c96(0x352))/0x2)+-parseInt(_0x3c6c96(0x4ef))/0x3+parseInt(_0x3c6c96(0x18f))/0x4*(parseInt(_0x3c6c96(0x571))/0x5)+parseInt(_0x3c6c96(0x44f))/0x6+-parseInt(_0x3c6c96(0x397))/0x7*(-parseInt(_0x3c6c96(0x3e8))/0x8)+-parseInt(_0x3c6c96(0x153))/0x9*(parseInt(_0x3c6c96(0x4aa))/0xa)+-parseInt(_0x3c6c96(0xfa))/0xb;if(_0x5212eb===_0x3fe717)break;else _0x1fb96f['push'](_0x1fb96f['shift']());}catch(_0xf4df7e){_0x1fb96f['push'](_0x1fb96f['shift']());}}}(_0x2184,0xeb478),Object[_0x3b6577(0x126)](exports,Symbol[_0x3b6577(0x337)],{'value':_0x3b6577(0x383)}));var e=Object[_0x3b6577(0x3fa)],t=Object[_0x3b6577(0x126)],n=Object['getOwnPropertyDescriptor'],r=Object['getOwnPropertyNames'],i=Object[_0x3b6577(0x506)],a=Object['prototype'][_0x3b6577(0x389)],o=(_0x104ae8,_0x57a9ee,_0x139994,_0x5b547a)=>{const _0x4bc1ca=_0x3b6577;if(_0x57a9ee&&typeof _0x57a9ee=='object'||typeof _0x57a9ee=='function'){for(var _0x4e3f6a=r(_0x57a9ee),_0x49b5d7=0x0,_0x41e161=_0x4e3f6a[_0x4bc1ca(0x254)],_0x286e0e;_0x49b5d7<_0x41e161;_0x49b5d7++)_0x286e0e=_0x4e3f6a[_0x49b5d7],!a[_0x4bc1ca(0x47a)](_0x104ae8,_0x286e0e)&&_0x286e0e!==_0x139994&&t(_0x104ae8,_0x286e0e,{'get':(_0x1baaf8=>_0x57a9ee[_0x1baaf8])[_0x4bc1ca(0x377)](null,_0x286e0e),'enumerable':!(_0x5b547a=n(_0x57a9ee,_0x286e0e))||_0x5b547a[_0x4bc1ca(0x1a6)]});}return _0x104ae8;},s=(_0x1be02b,_0x40000a,_0x5e5761)=>(_0x5e5761=_0x1be02b==null?{}:e(i(_0x1be02b)),o(_0x40000a||!_0x1be02b||!_0x1be02b['__esModule']?t(_0x5e5761,'default',{'value':_0x1be02b,'enumerable':!0x0}):_0x5e5761,_0x1be02b));let c=require('@univerjs-pro/engine-shape'),l=require('@univerjs-pro/docs-shape'),u=require('@univerjs/core'),d=require('@univerjs/docs-drawing-ui'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-render'),m=require('@univerjs/drawing'),h=require('@univerjs/icons'),g=require('@univerjs/ui'),_=require('rxjs'),v=require('@univerjs/design'),y=require('react');y=s(y);let b=require('@univerjs/drawing-ui'),x=require('react/jsx-runtime'),S=require('@univerjs-pro/license'),C=require('@univerjs/docs');const w=_0x3b6577(0x106),T='#2563EB';function E(_0x2a2cc3,_0x1ad8e6){const _0x3edf3b=_0x3b6577;if(_0x1ad8e6){if((0x0,c[_0x3edf3b(0x448)])(_0x2a2cc3)&&(_0x1ad8e6[_0x3edf3b(0x1fa)]||_0x1ad8e6[_0x3edf3b(0x174)]))return{'ln':{'startArrow':_0x1ad8e6[_0x3edf3b(0x1fa)]?{'type':c[_0x3edf3b(0x12c)][_0x3edf3b(0x32e)],'size':c[_0x3edf3b(0x52f)][_0x3edf3b(0x157)]}:void 0x0,'endArrow':_0x1ad8e6[_0x3edf3b(0x174)]?{'type':c[_0x3edf3b(0x12c)][_0x3edf3b(0x32e)],'size':c[_0x3edf3b(0x52f)][_0x3edf3b(0x55d)]}:void 0x0}};if(_0x2a2cc3===c[_0x3edf3b(0x2df)][_0x3edf3b(0x54c)]&&(_0x1ad8e6['horizontal']||_0x1ad8e6[_0x3edf3b(0x44c)]))return{'fill':{'fillType':c[_0x3edf3b(0x4c9)][_0x3edf3b(0x1db)],'color':w},'stroke':{'lineStrokeType':c[_0x3edf3b(0x526)][_0x3edf3b(0x315)],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x1ad8e6[_0x3edf3b(0x16c)]}};}}function D(_0x137fa4,_0x324715){const _0x12a8bf=_0x3b6577;var _0x10c68f;let _0x258ead=_0x137fa4[_0x12a8bf(0x272)](p[_0x12a8bf(0x5d6)])[_0x12a8bf(0x1c9)](_0x324715),_0x1180fd=_0x258ead==null||(_0x10c68f=_0x258ead['with'](f[_0x12a8bf(0x2ee)])[_0x12a8bf(0x402)]())==null?void 0x0:_0x10c68f[_0x12a8bf(0x334)]();return _0x1180fd?{'left':_0x1180fd['left'],'top':_0x1180fd['top']}:null;}function O(_0x2068b2,_0x104fbb,_0x261c40){const _0x1bd835=_0x3b6577;var _0x3e65ad,_0x445a0f,_0x33632f;if(!_0x261c40)return null;let _0x3892ce=_0x2068b2[_0x1bd835(0x272)](p['IRenderManagerService'])[_0x1bd835(0x1c9)](_0x104fbb),_0x5ea3a3=_0x3892ce==null?void 0x0:_0x3892ce[_0x1bd835(0x4ee)](f['DocParagraphMenuService'])[_0x1bd835(0x31f)];if(!_0x5ea3a3)return null;let _0x21fda9=_0x261c40==='below'?{'startOffset':_0x5ea3a3[_0x1bd835(0x435)]['endOffset'],'endOffset':_0x5ea3a3[_0x1bd835(0x435)][_0x1bd835(0x458)]}:_0x5ea3a3[_0x1bd835(0x214)];return{'range':{'unitId':_0x104fbb,'startOffset':_0x21fda9[_0x1bd835(0x4e9)],'endOffset':_0x21fda9[_0x1bd835(0x458)],'segmentId':(_0x3e65ad=(_0x445a0f=_0x5ea3a3['paragraph'])==null?void 0x0:_0x445a0f[_0x1bd835(0x182)])==null?'':_0x3e65ad},'position':(_0x33632f=_0x5ea3a3[_0x1bd835(0x1ee)])!=null&&_0x33632f[_0x1bd835(0x309)]?{'left':_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)]['left'],'top':_0x261c40===_0x1bd835(0x24d)?_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)][_0x1bd835(0x4a5)]:_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)][_0x1bd835(0x107)]}:null};}function k(_0x5d14c7,_0x27637a,_0x4b77c4){const _0x48d4d2=_0x3b6577;var _0x29ca72;return{'size':{'width':_0x5d14c7,'height':_0x27637a},'positionH':{'relativeFrom':u[_0x48d4d2(0x239)][_0x48d4d2(0xf8)],'posOffset':(_0x29ca72=_0x4b77c4==null?void 0x0:_0x4b77c4['left'])==null?0x0:_0x29ca72},'positionV':{'relativeFrom':u['ObjectRelativeFromV']['PARAGRAPH'],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x3b6577(0xf5)][_0x3b6577(0x48d)],'id':_0x3b6577(0x328),'handler':async(_0x227407,_0x30e1b0)=>{const _0x47065a=_0x3b6577;var _0x44bcf4,_0x3705ac,_0x425778,_0x372fdc,_0x4d6df5,_0x171ac7;let _0x58724=_0x227407[_0x47065a(0x272)](u[_0x47065a(0x58c)])['getCurrentUniverDocInstance']();if(!_0x58724)return!0x1;let _0x14cc51=_0x227407[_0x47065a(0x272)](u['ICommandService']),_0x2ec351=_0x58724[_0x47065a(0x40e)](),_0x151af9=_0x2ec351,_0x475800=(_0x44bcf4=_0x30e1b0['shapeId'])==null?(0x0,u['generateRandomId'])():_0x44bcf4,_0x4723b5=(_0x3705ac=_0x30e1b0[_0x47065a(0x3ed)])==null?l[_0x47065a(0x3c1)]:_0x3705ac,_0x30205b=(_0x425778=_0x30e1b0['height'])==null?l['DEFAULT_DOC_SHAPE_HEIGHT']:_0x425778,_0x4424ce=(_0x372fdc=(_0x4d6df5=_0x30e1b0[_0x47065a(0x5a2)])==null?E(_0x30e1b0[_0x47065a(0x5e4)],_0x30e1b0[_0x47065a(0x521)]):_0x4d6df5)==null?{'fill':{'fillType':c[_0x47065a(0x4c9)]['SolidFill'],'color':w},'stroke':{'lineStrokeType':c['ShapeLineTypeEnum'][_0x47065a(0x315)],'width':0x1,'color':T}}:_0x372fdc,_0x239ccf=O(_0x227407,_0x2ec351,_0x30e1b0[_0x47065a(0x1bc)]),_0x553252=(_0x171ac7=_0x239ccf==null?void 0x0:_0x239ccf[_0x47065a(0x285)])==null?D(_0x227407,_0x2ec351):_0x171ac7,_0x46ff13=k(_0x4723b5,_0x30205b,_0x553252),_0x5af01b=(0x0,f[_0x47065a(0x259)])(_0x46ff13);_0x5af01b&&_0x553252&&(_0x5af01b[_0x47065a(0x107)]=_0x553252['top']),_0x14cc51[_0x47065a(0x120)](l[_0x47065a(0x28b)]['id'],{'unitId':_0x2ec351,'shapeId':_0x475800,'shapeType':_0x30e1b0['value'],'shapeData':_0x4424ce}),_0x239ccf&&_0x227407[_0x47065a(0x272)](f[_0x47065a(0x4f4)])[_0x47065a(0x282)](_0x239ccf[_0x47065a(0x317)]);let _0x33027e={'unitId':_0x2ec351,'subUnitId':_0x151af9,'drawingId':_0x475800,'drawingType':u['DrawingTypeEnum'][_0x47065a(0x223)],'transform':_0x5af01b,'docTransform':_0x46ff13,'data':{'shapeType':_0x30e1b0[_0x47065a(0x5e4)],'shapeData':_0x4424ce},'behindDoc':u[_0x47065a(0x340)][_0x47065a(0x20e)],'title':'','description':'','layoutType':u[_0x47065a(0x471)][_0x47065a(0x18e)],'wrapText':u[_0x47065a(0x2af)][_0x47065a(0xd9)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x14cc51[_0x47065a(0x120)](d[_0x47065a(0x28d)]['id'],{'unitId':_0x2ec351,'drawings':[_0x33027e]});}},j={'type':u['CommandType'][_0x3b6577(0x26b)],'id':_0x3b6577(0x404),'handler'(){return!0x0;}},M={'type':u[_0x3b6577(0xf5)][_0x3b6577(0x26b)],'id':_0x3b6577(0x5ca),'handler'(){return!0x0;}},N=_0x3b6577(0x336),P=(0x0,u['createInternalEditorID'])(_0x3b6577(0x23d));function F(_0xbd3346){'@babel/helpers - typeof';const _0x596643=_0x3b6577;return F=typeof Symbol=='function'&&typeof Symbol[_0x596643(0x522)]==_0x596643(0x1ae)?function(_0x2741cb){return typeof _0x2741cb;}:function(_0x3b696a){const _0x5b04af=_0x596643;return _0x3b696a&&typeof Symbol==_0x5b04af(0x30b)&&_0x3b696a[_0x5b04af(0x3b7)]===Symbol&&_0x3b696a!==Symbol[_0x5b04af(0x165)]?_0x5b04af(0x1ae):typeof _0x3b696a;},F(_0xbd3346);}function _0x2184(){const _0x391487=['ShapeDonutIcon','docs-shape-ui.align.top','type','getDrawingSearch','ChartX','onPointerUp$','univer-text-xl\x20univer-text-gray-500','_drawingType','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','unitId','transform','docs-shape-ui.line.beginArrowSize','WRAP_NONE','imageOpacity','ShapeActionButtonBlankIcon','options','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','docs-shape-ui.toolbar.alignJustify','docs-shape-ui.shape.type.callout1','FOCUSING_PANEL_EDITOR','has','SHIFT','_clearPopups','M2.5\x2015.5H8.2','ShapeBentUpArrowIcon','LeftRightCircularArrow','moveRange','data','ShapeHexagonIcon','univer-flex\x20univer-items-center\x20univer-gap-3','_initShapePopupMenu','ShapeStar7Icon','FlowchartSummingJunction','MenuManagerPosition','_activeShapeModel','_attachAdjustEvent','HorizontallyIcon','docs-shape-ui.shape.type.wedge-round-rect-callout','ShapePieIcon','docs-shape-ui.shape.type.straight-connector1','DRAWING_OBJECT_LAYER_INDEX','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','icon','ShapeWaveIcon','radial','isConnectorShape','setContextValue','ShapeDefaultConfig','dashType','vertical','ShapeCloudIcon','objects','11196774LUUoEu','LeftRightArrowCallout','subscribe','filter','SetInlineFormatItalicCommand','ShapeChartXIcon','register','univer-flex\x20univer-flex-col\x20univer-gap-2','ShapeFlowChartOfflineStorageIcon','endOffset','ShapeCurvedConnector3Arrow1Icon','ShapeLeftRightArrowCalloutIcon','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','docs-shape-ui.toolbar.bold','true','ShapeUpDownArrowCalloutIcon','docs-shape-ui.shape.type.flow-chart-extract','ShapeStar6Icon','docs-shape-ui.shape.type.right-brace','registerRenderModule','getShapeTypeById','refreshAdjustControls','beginPath','section','setShapeProps','ShapeBorderCallout1Icon','textRect','ShapeRound2SameRectIcon','docs-shape-ui.line.joinType.miter','string','DeleteLeftCommand','docs-shape-ui.shapeStyle','ShapeAccentCallout2Icon','docs-shape-ui.shape.type.line-inv','PositionedObjectLayoutType','isNaN','FlowchartMultiDocument','_getShapeAdjustInfosById','_initUIPart','ShapeChevronIcon','ShapeFlowChartDecisionIcon','ItalicIcon','paragraphs','call','getCurrentTypeOfUnit$','KeyCode','Tile','IConfigService','shapeModel','M2.5\x2010H5.7','univer-rounded-lg\x20univer-p-3','closest','_transform','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','univer-text-sm','ISidebarService','clip-','stopPropagation','ComponentManager','docs-shape-ui.fill.title','_baseShapeTop','dataStream','COMMAND','FOCUSING_COMMON_DRAWINGS','ShapeHomePlateIcon','ShapeFlowChartPreparationIcon','docs-shape-ui.shape.type.action-button-beginning','scene','OvalArrow','AlignRightCommand','Plus','getFlatMenuByPositionKey','_insertShapes','_editingParams$','BorderCallout1','ShapeSketchTypeEnum','menuChanged$','docs-shape-ui.hidePanel','SquareDot','ShapeLeftUpArrowIcon','ShapeLeftCircularArrowIcon','univer-flex\x20univer-items-center\x20univer-gap-2','docs-shape-ui.shape.type.wedge-rect-callout','addImageSourceCache','6.8','setTimeout','bottom','WRAP_TOP_AND_BOTTOM','_initSelection','diamond','ShapeHeptagonIcon','10MzyoPq','_activeShapeId','path','AlignTextBothIcon','docs-shape-ui.shape.type.math-equal','Select','ShapeFlowChartOnlineStorageIcon','params','useState','ShapeStar24Icon','1.4','getDrawingEditable','clearAdjustControls','getShapeTextData','_clipService','docs-shape-ui.shape.type.lightning-bolt','_activeAdjustInfo','docs-shape-ui.shape.type.flow-chart-manual-input','docs-shape-ui.shape.type.double-wave','docs-shape-ui.shape.type.action-button-sound','menu','shapeType','ShapeStar10Icon','docs-shape-ui.shape.type.star8','Star24','docs-shape-ui.shape.type.chart-plus','translate','docs-shape-ui.fill.picture.align.r','SmileyFace','_showFloatMenu','updateDocumentDataMargin','ShapeFillEnum','ShapeStar32Icon','docs-shape-ui.toolbar.alignRight','univer-text-gray-600\x20univer-transition-transform','getImageSourceCache','gradientAngle','AccentCallout3','ShapeCornerTabsIcon','docs-shape-ui.fill.picture.align.t','docs-shape-ui.fill.transparency','size','documentStyle','isHorizontal','BentUpArrow','changing$','univer-box-border\x20univer-px-4\x20univer-text-sm','PictureFill','docs-shape-ui.shape.type.cube','Star8','univer-pt-2','#111827','ShapePlaqueIcon','_adjName','height','add','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','jsx','CornerTabs','push','docs-shape-ui.fill.picture.align.tl','Diamond','MathDivide','startOffset','docs-shape-ui.fill.picture.offsetX','adjHandleSize','image','shape-text-editor-content','with','2712363zbwjwI','ShapeCurvedUpArrowIcon','adjName','MEDIA','NoLine','DocContentInsertService','univer-text-xs','LeftBrace','docs-shape-ui.shape.type.cloud-callout','onDblclick$','docs-shape-ui.shape.type.funnel','Cloud','FlowchartMagneticDrum','ShapePentagonIcon','ShapeFlowChartMagneticDiskIcon','ShapeAccentCallout1Icon','ShapeGear6Icon','univer-w-20','Moon','univer-flex\x20univer-items-center\x20univer-justify-between','ShapeMathMinusIcon','SetInlineFormatTextBackgroundColorCommand','docs-shape-ui.textWrap.behindText','getPrototypeOf','UniverLicensePlugin','ShapeStraightConnector1Icon','ShapeUpArrowCalloutIcon','featurePluginUpdateNotification','drawWith','rectangle','docs-shape-ui.shape.type.up-down-arrow','_localeService','Funnel','docs-shape-ui.shape.type.border-callout1','jsxs','UNIVER_DOC','docs-shape-ui.shape.type.left-right-circular-arrow','_initialize','QuadArrowCallout','setOnSavingEditorData','AccentBorderCallout3','borderClassName','_createShapePopupMenu','ShapeSnipRoundRectIcon','transparent','docs-shape-ui.line.capType.title','isInGroup','VerticalScroll','_shapeTextEditingService','EllipseRibbon2','enhanceParams','iterator','useMemo','equationShape','Star5','ShapeLineTypeEnum','VerticalCenterIcon','flowchart','_baseShapeHeight','ShapeBorderCallout2Icon','unsubscribe','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','setEditing','docs-shape-ui.shape.type.quad-arrow','ShapeArrowSizeEnum','M11.8\x204.5H17.5','useEffect','docs-shape-ui.line.arrowSize.medium','FlowchartDisplay','docs-shape-ui.toolbar.alignLeft','SetInlineFormatFontSizeCommand','None','docs-shape-ui.shape.type.chart-x','max','IDrawingManagerService','getShapeType','ShapeFlowChartSortIcon','getShapeModel','getImage','sin','bottom-center','ShapeRound1RectIcon','rotate(','PERIOD','docs-shape-ui.shape.type.circular-arrow','BentConnector3','touchDependencies','LeftBracket','monospace','viewportScrollX','Gear9','_getShapeInfo','viewportScrollY','Rect','docs-shape-ui.toolbar.strikethrough','memo','ActionButtonHelp','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','univer-w-20\x20univer-flex-1','paragraphStyle','ShapeFlowChartMagneticTapeIcon','ShapeFlowChartPunchedTapeIcon','docs-shape-ui.shape.type.flow-chart-predefined-process','RIBBON','docs-shape-ui.toolbar.italic','currentColor','getParent','Accordion','Wave','_activeShapeInfo','Large','docs-shape-ui.shape.type.star32','FlowchartPunchedTape','multiply','Pie','setShapeData','span','ShapeIrregularSeal2Icon','docs-shape-ui.shape.group.','docs-shape-ui.shape.type.accent-border-callout2','map','getEditing','docs-shape-ui.shape.type.notched-right-arrow','offset','docs-shape-ui.shape.type.accent-callout1','vertexAngle','docs-shape-ui.line.arrowType.arrow','getDrawingShapeKeyByDrawingSearch','Button','extraProps','5HYxwxE','useLeftAndRightArrow','getShapeDataById','toDisposable','Image','_updateAdjustControlPositions','div','docs-shape-ui.fill.picture.align.tr','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','docs-shape-ui.shape.type.left-circular-arrow','_activeShapeAdjustPointList','ShapeCurvedConnector3Arrow2Icon','docs-shape-ui.shape.type.trapezoid','_menuManagerService','rgb','FLOAT_TOOLBAR_MENU_POSITION','ShapeStar8Icon','stops','Round1Rect','ShapeAccentBorderCallout3Icon','docs-shape-ui.shape.type.bent-arrow','univer-hidden','_urlImageService','merge','ActionButtonInformation','WedgeRoundRectCallout','IUniverInstanceService','offsetX','Square','DOC_CONTENT_INSERT_MENU_ID','dataModel','RightArrow','ShapeGear9Icon','strokeWidth','FlowchartInternalStorage','clipByShape','UnderlineIcon','FlowchartTerminator','direction','ShapeLeftRightUpArrowIcon','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Line','_registerComponent','docs-shape-ui.shape.type.bracket-pair','ShapeActionButtonBeginningIcon','InputNumber','warn','FLOAT_TEXT_STYLE_MENU_ID','shapeData','ShapePieWedgeIcon','collapsed','ShapeAccentBorderCallout2Icon','_docSelectionRenderService','ShapeQuadArrowIcon','docs-shape-ui.shape.type.up-down-arrow-callout','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','6.4','ShapePlusIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','ShapeRectTextboxVerticalIcon','_loadAndSetImage','_updateSrcRectByTransform','docs-shape-ui.shape.type.frame','ShapeRound2DiagRectIcon','BehaviorSubject','AccentCallout2','@univerjs-pro/docs-shape-ui','FlowchartConnector','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','docs-shape-ui.shape.type.plaque-tabs','_renderManagerService','docs-shape-ui.line.dashType.longDashDotDot','ShapeStar12Icon','Star10','textStyle','getShapeTextRect','_baseShapeLeft','docs-shape-ui.shape.type.parallelogram','docs-shape-ui.line.dashType.longDash','shapeText','ContextMenuPosition','getAllUnitsForType','getSelectedObjectMap','Callout3','docs-shape-ui.fill.picture.source','ShapeChartPlusIcon','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','behindDoc','doc.operation.open-doc-shape-format-panel','CurvedRightArrow','_refreshShapeData','docs-shape-ui.fill.gradientFill','docs-shape-ui.line.solidLine','LeftArrowCallout','IContextService','imageTile','getFonts','Curved','getSelectionRanges','ShapeHeartIcon','IRenderManagerService','isEditing','onload','_updateShape','SetInlineFormatStrikethroughCommand','SetInlineFormatSuperscriptCommand','docs-shape-ui.fill.picture.scaleX','ShapeActionButtonReturnIcon','ActionButtonBeginning','CTRL_COMMAND','_isStartAdjusting','onTransformChange$','ActionButtonEnd','LeftRightArrow','value','docs-shape-ui.shape.type.star12','docs-shape-ui.shape.type.wedge-ellipse-callout','ShapeRightArrowCalloutIcon','executeCommand','docs-shape-ui.fill.picture.tileAsTexture','onerror','_hideFloatMenu','docs-shape-ui.shape.type.flow-chart-manual-operation','docs-shape-ui.shape.type.star7','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','docs-shape-ui.line.joinType.round','ShapeFlowChartMergeIcon','DocSelectionManagerService','docs-shape-ui.shape.type.square-tabs','_registerDrawingFocusChangeHandler','332619kcoWhY','ShapeFlowChartExtractIcon','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','URL','parseFloat','ShapeWedgeEllipseCalloutIcon','_loadShapePictureFill','BOTH_SIDES','DocDrawingPosition','svg','transformByState','UniverDocsShapeUIPlugin','entries','disableShapeOption','doc','ShapeCallout2Icon','getViewport','_disposePopups','CURSOR_TYPE','\x20px','ShapeDiagStripeIcon','docs-shape-ui.openPanel','ShapeAccentCallout3Icon','Star6','drawingType','applyPoint','MetaKeys','_popupMenuListener','ShapeBlockArcIcon','Path','docs-shape-ui.shape.type.corner','DrawingCommonPanel','connectInjector','ShapeIrregularSeal1Icon','docs-shape-ui.shape.type.border-callout3','CommandType','docs-shape-ui.shape.type.curved-connector3-arrow2','docs-shape-ui.shape.type.action-button-back-previous','PAGE','HorizontalAlign','31553170MrJZGJ','FoldedCorner','shape-text-editor','MathPlus','LineInv','Star12','docs-shape-ui.shape.type.cloud','ShapeCloudCalloutIcon','FOCUSING_SHAPE_TEXT_EDITOR','docs-shape-ui.shape.type.home-plate','docs-shape-ui.shape.type.chevron','updateContext','#3B82F6','top','Angular','docs-shape-ui.shape.type.folder-corner','getMatrix','doc.shape.picker.component','ShapeBracePairIcon','setZoomRatio','Dropdown','toPrimitive','DocumentSkeleton','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeUpDownArrowIcon','Shape','ShapeHorizontalScrollIcon','ShapeCurvedConnector3Icon','getCanvasElement','docs-shape-ui.fill.picture.offsetY','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','docs-shape-ui.shape.type.curved-left-arrow','Radial','classType','FlowchartManualOperation','_initCommands','fillImageSourceType','wrapTopAndBottom','syncExecuteCommand','OpenArrow','ShapeGradientTypeEnum','keys','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','Transform','defineProperty','ShapeMathPlusIcon','SetInlineFormatBoldCommand','renderConfig','ColorPicker','oKey','ShapeArrowTypeEnum','BorderCallout3','docs-shape-ui.shape.type.sun','ShapeBentArrowIcon','docs-shape-ui.shape.type.action-button-forward-next','FONT_SIZE_LIST','Star7','docs-shape-ui.line.dashType.dash','docs-shape-ui.shape.type.bent-connector3-arrow1','round','_componentManager','HorizontalScroll','ShapeDodecagonIcon','HomePlate','_props','_initEditingParams','getMenuHiddenObservable','deepCompare','docs-shape-ui.fill.pictureFill','_drawRichText','docs-shape-ui.line.sketchType.freehand','ShapeArcIcon','onSavingEditorData$','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','docs-shape-ui.shape.type.donut','ShapeHalfFrameIcon','useEditor','makeDirty','asObservable','docs-shape-ui.fill.solidFill','sketchType','ShapeLeftBraceIcon','ShapeFlowChartOrIcon','backgroundColor','ShapeBentConnector3Arrow2Icon','_drawShapeText','body','Plugin','addObject','193329yudRXQ','docs-shape-ui.shape.type.accent-border-callout3','scaleY','TRUE','Medium','children','docs-shape-ui.shape.type.smiley-face','offsetY','Plaque','_docDrawingShapeRenderController','univer-flex-1\x20univer-overflow-auto','DownArrow','save','_sidebarService','ShapeFolderCornerIcon','docs-shape-ui.shape.type.rect-textbox-horizontal','ActionButtonForwardNext','ShapeTrapezoidIcon','prototype','univer-flex-1','adjHandleFill','ShapeFlowChartPredefinedProcessIcon','docs-shape-ui.shape.type.star6','ShapeRectTextboxHorizontalIcon','AlignBottomIcon','horizontal','docs-shape-ui.shape.type.star4','Frame','blur','TOP','adjHandleStroke','docs-shape-ui.shape.type.left-arrow-callout','docs-shape-ui.shape.type.ellipse-ribbon2','endArrow','reduce','FlowchartDelay','LongDashDotDot','auto','ShapeFlowChartConnectorIcon','clearTimeout','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','docs-shape-ui.shape.type.decagon','docs-shape-ui.shape.type.gear9','registerComponent','WRAP','Flat','ShapeSmileyFaceIcon','segmentId','getRealBound','forEach','univer-w-28','setCursor','_floatMenu','setPrstGeom','remove$','_injector','CurvedDownArrow','_adjHandlerPointerMove','docs-shape-ui.shape.type.flow-chart-input-output','INLINE','7678084oJYkgs','group\x20univer-relative\x20univer-inline-block','_draw','Inject','ShapeMoonIcon','getTransformerByCreate','1em','ShapeBracketPairIcon','docs-shape-ui.shape.type.uturn-arrow','Parallelogram','wrapStrategy','verticalAlign','FlowchartOr','onCommandExecuted','some','useDependency','ShapeNotchedRightArrowIcon','docs-shape-ui.shape.type.accent-callout2','ShapeFlowChartDisplayIcon','imageFillMode','opacity','getObjectIncludeInGroup','useKeyboardEvent','enumerable','gdRefY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeLineInvIcon','ShapeSnip2SameRectIcon','gradientStops','Disposable','docs-shape-ui.shape.type.snip-round-rect','symbol','_toScenePoint','docs-shape-ui.shape.type.action-button-return','target','BlockArc','ShapeCanIcon','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','docs-shape-ui.shape.type.can','MenuItemType','ShapeFlowChartCollateIcon','item','Star32','drawings','docs-shape-ui.shape.type.snip2-diag-rect','paragraphMenuPlacement','ShapeFlowChartMagneticDrumIcon','docs-shape-ui.shape.type.action-button-help','_univerInstanceService','docs-shape-ui.shape.type.math-plus','_onSavingEditorData$','docs-shape-ui.align.bottom','doc.shape.text.float-menu','ShapeQuadArrowCalloutIcon','ActionButtonMovie','INSERT_BELLOW_MENU_ID','docs-shape-ui.line.dashType.squareDot','ShapeStraightConnector2Icon','getRenderById','ShapeActionButtonEndIcon','CONTENT','docs-shape-ui.shape.type.callout3','docs-shape-ui.shape.type.flow-chart-magnetic-tape','docs-shape-ui.fill.noFill','EMPTY_PARAGRAPH_MENU_ID','IEditorService','ShapeCurvedLeftArrowIcon','Octagon','linear','_initializedShapePopupMenu','_adjustPointObjects','onClick','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','FlowchartMagneticTape','docs-shape-ui.line.capType.round','SolidFill','pick','Callout2','docs-shape-ui.line.dashType.longDashDot','docs-shape-ui.shape.type.chord','textSelection$','ShapeSquareTabsIcon','ShapeCallout1Icon','StraightConnector1','Checkbox','docs-shape-ui.shape.type.left-right-up-arrow','BuiltInUIPart','docs-shape-ui.shape.type.swoosh-arrow','AccentBorderCallout1','wrapSquare','docs-shape-ui.deleteShape','docs-shape-ui.shape.type.non-isosceles-trapezoid','editingParams$','FlowchartPredefinedProcess','paragraph','univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','left','ShapeBentConnector3Arrow1Icon','prstGeom','title','transformVector2SceneCoord','LocaleService','line','FlowChartInputOutput','_isShouldShowDrawingShapeAdjust','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','startArrow','WrapStrategy','DocsShapeService','ImageSourceTypeEnum','IImageIoService','onPointerDown$','insertGroupObject','mergeMenu','DownArrowCallout','ShapeFrameIcon','preventDefault','docs-shape-ui.fill.picture.align.br','docs-shape-ui.shape.type.bent-up-arrow','fill','lineStrokeType','ShapeMathNotEqualIcon','Digit7','min','ShapeLeftArrowCalloutIcon','_getSceneByUnitId','FALSE','Star16','ShapeCircularArrowIcon','docs-shape-ui.shape.type.snip1-rect','getDrawingByParam','docs-shape-ui.crop.shape','menuRange','onChange','UpDownArrow','RENDER_CLASS_TYPE','flipX','ShapeCurvedDownArrowIcon','FlowchartOffPageConnector','subUnitId','disableObjectsEvent','lineJoinType','buildClipPath','disposeWithMe','DocsShapeUIController','univer-relative\x20univer-size-full\x20univer-overflow-visible','MathMinus','DRAWING_SHAPE','Stretch','_subUnitId','disabled','shape-floating-toolbar','ShapePlaqueTabsIcon','docs-shape-ui.shape.type.flow-chart-merge','default','open','BulletListCommand','ENTER','Chevron','ShapeLeftRightCircularArrowIcon','scaleX','mainComponent','Radio','univer-w-full','updateShapeFillImage','Decagon','ShapeRightArrowIcon','docs-shape-ui.shape.type.left-right-arrow-callout','Tools','ObjectRelativeFromH','getObject','docs-shape-ui.shape.type.bevel','includes','SHAPE_TEXT','ShapeLeftArrowIcon','Round2SameRect','getDrawingVisible','DeleteRightCommand','MoreDownIcon','ICommandService','ShapeFunnelIcon','ShapeVerticalScrollIcon','object','ShapeBevelIcon','disposable','shapeKey','ShapeIcon','translateWithPrecision','Triangle','below','useIsFocusing','shapeId','ShapeCallout3Icon','DRAWING_IMAGE','ActionButtonHome','docs-shape-ui.shape.type.right-bracket','length','angular','focus','docs-shape-ui.shapePosition','FlowChartOfflineStorage','docDrawingPositionToTransform','engine','setDocumentData','subscribeEvent','NonIsoscelesTrapezoid','getDocumentData','ShapeEllipseRibbonIcon','behindText','docs-shape-ui.shape.type.round-rect','docs-shape-ui.shape.type.flow-chart-alternate-process','onPointerMove$','_openShapeEditPanel','docs-shape-ui.shape.type.down-arrow','isHit','LeftRightRibbon','docs-shape-ui.shape.type.pentagon','isLineShape','renderDrawingShape','OPERATION','SquareTabs','DiamondArrow','_initSelectionChange','AlignCenterCommand','onStarting','ShapeCornerIcon','get','_createShapeAdjustControls','ShapeActionButtonDocumentIcon','ShapeTriangleIcon','find','ancestorTransform','_baseShapeWidth','useObservable','docs-shape-ui.shape.type.irregular-seal1','ShapeCubeIcon','docs-shape-ui.shape.type.round2-diag-rect','registerCommand','Bevel','gradientType','FlowchartManualInput','_getActiveDrawingParam','setInsertRange','gdRefX','_contextService','position','docs-shape-ui.line.joinType.bevel','current','NoFill','setConfig','docs-shape-ui.title','InsertDocShapeMutation','ShapeRoundRectIcon','InsertDocDrawingCommand','ShapeDownArrowIcon','button','FlowchartMagneticDisk','inFrontOfText','_shapeId','docs-shape-ui.line.endArrowSize','basicShape','SwooshArrow','GradientColorPicker','deepClone','UpdateDocShapeDataCommand','ShapeRightBraceIcon','error','ShapeSnip1RectIcon','replace','isHitLine','docs-shape-ui.shape.type.vertical-scroll','ShapeNonIsoscelesTrapezoidIcon','fillType','VIEWPORT_KEY','ShapeTextEditorContainer','SetInlineFormatSubscriptCommand','docs-shape-ui.line.arrowType.ovalArrow','getShapePopupMenus','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','ShapeActionButtonHelpIcon','invert','click','ShapeActionButtonBackPreviousIcon','PaintBucketDoubleIcon','docs-shape-ui.shape.type.bent-connector3','onReady','ShapeDiamondIcon','WrapTextType','restore','FlowchartDecision','end','ShapeMathDivideIcon','docs-shape-ui.shape.type.plaque','UpArrowCallout','stroke','ShapeWedgeRoundRectCalloutIcon','_initEvents','UndoCommand','docs-shape-ui.fill.picture.align.l','Digit8','ShapeFlowChartTerminatorIcon','draw','ShapeLightningBoltIcon','docs-shape-ui.shape.type.math-minus','getBoundingClientRect','docs-shape-ui.shape.type.flow-chart-preparation','docs-shape-ui.shape.type.flow-chart-delay','clsx','custom','ShapeEllipseRibbon2Icon','docs-shape-ui.line.title','ShapeLeftRightArrowIcon','LEFT','ShapeChordIcon','ShapeBorderCallout3Icon','BentArrow','ShapeFlowChartOffpageConnectorIcon','_getShapeAdjustPointListById','FlowchartCollate','StripedRightArrow','angle','FlowchartDocument','endNodePosition','QuadArrow','PieWedge','ShapeUturnArrowIcon','ShapeFlowChartPunchedCardIcon','group','_updateShapeAdjustControls','_sidebarDisposable','docs-shape-ui.shape.type.curved-right-arrow','docs-shape-ui.shape.type.flow-chart-connector','Sun','ShapeFlowChartManualOperationIcon','GROUP','ShapeTypeEnum','RightBracket','ShapeDecagonIcon','complete','callout','getImageSize','ShapeLeftBracketIcon','docs-shape-ui.shape.type.ellipse-ribbon','Fragment','docs-shape-ui.shape.type.left-bracket','NoSmoking','ActionButtonSound','RadioGroup','_unitId','fillImageSource','DocSelectionRenderService','docs-shape-ui.shape.type.flow-chart-or','backward','shape-text','ShapeLeftRightRibbonIcon','docs-shape-ui.shape.type.flow-chart-punched-tape','LeftUpArrow','_lastEditingShapeKey','docs-shape-ui.shape.type.action-button-information','docs-shape-ui.shape.type.corner-tabs','UniverInstanceType','_addShapeAdjustControl','ShapeActionButtonForwardNextIcon','Arc','DrawingImageClipService','Linear','ShapeSwooshArrowIcon','docs-shape-ui.shape.type.action-button-home','ShapeRenderModeEnum','ShapeRightBracketIcon','docs-shape-ui.shape.type.plus','IMenuManagerService','#2563EB','docs-shape-ui.fill.picture.align.b','docs-shape-ui.shape.type.flow-chart-multidocument','ImageFillModeEnum','ContextMenuGroup','rect','horizontalAlign','function','_toVisualAdjustPoint','_imageIoService','PlaqueTabs','color','CloseDocShapeFormatPanelOperation','layoutType','file','add$','setFillImage','SolidLine','clip','range','dispose','UUID','style','getAdjustValueByName','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','RichTextEditingMutation','focusDrawing','activeTarget','WedgeRectCallout','getFocusDrawings','getAncestorScale','docs-shape-ui.toolbar.textColor','ShapeSunIcon','docs-shape-ui.line.arrowSize.large','Documents','ShapeParallelogramIcon','doc.command.menu-insert-shape','changeStart$','ShapeLineDashEnum','getActualSize','setSrcRect','VERTICAL_ROTATE_ANGLE','Arrow','ShapeFlowChartInputOutputIcon','docs-shape-ui.shape.type.right-arrow-callout','getShapeData','LeftArrow','UniverDocsDrawingUIPlugin','getAbsolutePosition','_initMenu','doc.shape.edit.panel','toStringTag','univer-absolute','FlowchartPreparation','ShapeBentConnector3Icon','calcAdjValue','FlowchartMerge','ShapeSnip2DiagRectIcon','Round','start','BooleanNumber','useCallback','ShapeRibbonIcon','getSkeleton','DependentOn','gdRefAng','isRenderLinePointsMode','textRuns','getState','_context','Solid','_adjHandlerPointerUp','name','set','starAndBanner','ActionButtonReturn','ShapeRibbon2Icon','ShapeFlowChartProcessIcon','2DNSAIC','NotchedRightArrow','MathEqual','ShapeChartStarIcon','values','ShapeRtTriangleIcon','indexOf','docs-shape-ui.toolbar.alignCenter','cos','_configService','ShapeActionButtonHomeIcon','_getActiveDrawingShape','docs-shape-ui.shape.type.flow-chart-collate','ShapeLineIcon','getDrawingOKey','ShapeLineJoinEnum','useRef','ShapeMathEqualIcon','srcRect','_registerOperations','drawingId','docs-shape-ui.fill.picture.alignment','ShapeStar5Icon','AccentBorderCallout2','DocCanvasPopManagerService','MIDDLE','HandDrawn','focus$','COMMA','docs-shape-ui.fill.picture.align.ctr','docs-shape-ui.line.dashType.solid','BorderCallout2','_docsShapeService','IURLImageService','clone','key','AlignLeftCommand','bind','_transformCalculateSrcRect','_commandService','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.action-button-movie','attachTransformerTo','docs-shape-ui.shape.type.flow-chart-process','StrikethroughIcon','files','DocumentDataModel','CurvedLeftArrow','ShapeDoubleWaveIcon','Module','Ribbon2','RemoveDocDrawingCommand','docs-shape-ui.shape.type.flow-chart-terminator','_closeShapeEditPanel','UpdateDocShapeDataMutation','hasOwnProperty','FlowchartPunchedCard','Dash','DocSelectAllCommand','localeService','RightTriangle','ShapeOctagonIcon','ShapeFlowChartAlternateProcessIcon','ActionButtonDocument','changeEnd$','BreakLineCommand','gdRefR','0.25.0','docs-shape-ui.shape.type.star24','3044405kIHlRl','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.up-arrow-callout','scale','docs-shape-ui.shape.type.brace-pair','JUSTIFIED','capType','clearControl$','SetInlineFormatUnderlineCommand','ShapeFlowChartDocumentIcon','Cube','docs-shape-ui.line.sketchType.handDrawn','close','Heart','docs-shape-ui.line.sketchType.curved','ShapeWedgeRectCalloutIcon','_registerDrawingTransformHandler','Tooltip','Ribbon','_docCanvasPopManagerService','blockArrow','SHAPE','ShapeActionButtonMovieIcon','Snip2SameRect','ShapeLineCapEnum','Teardrop','HalfFrame','resize','_drawSimpleText','isRichText','docs-shape-ui.shape.type.star5','other','constructor','#ffffff','Pentagon','CurvedConnector3','_registerImageShapeClipDelegate','docs-shape-ui.shape.type.chart-star','docs-shape-ui.line.arrowType.openArrow','docs-shape-ui.shape.type.wave','docs-shape-ui.shape.type.heart','Vector2','DEFAULT_DOC_SHAPE_WIDTH','_config','visible','composeMatrix','BOTTOM','setCanUseShapeClip','LAYOUT','ShapeFlowChartSummingJunctionIcon','docs-shape-ui.line.transparency','refreshShapeFillImage','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ctr','ShapeFlowChartMultidocumentIcon','ShapeMathMultiplyIcon','docs-shape-ui.shape.type.octagon','ShapeNoSmokingIcon','setAdjustValueByName','top-center','docs-shape-ui.shape.type.flow-chart-document','ShapeRectIcon','registerClipDelegate','_init','ShapeEllipseIcon','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','VerticalAlign','getDrawingPoints','render','preValue','label','CurvedUpArrow','RIGHT','_getFocusedShapeAtPoint','docs-shape-ui.shape.type.diag-stripe','ShapeStar4Icon','ShapeFlowChartDelayIcon','docs-shape-ui.shape.type.flow-chart-offpage-connector','docs-shape-ui.shape.type.half-frame','img','BACKSPACE','24hBtEqO','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getAdjustInfoByName','StealthArrow','DocDrawingTextWrap','width','inline','calculate','Snip2DiagRect','Snip1Rect','Star4','MathNotEqual','_drawingManagerService','docs-shape-ui.shape.type.curved-connector3-arrow1','ShapeCurvedRightArrowIcon','ShapeTeardropIcon','0\x200\x2020\x2020','Callout1','create','Small','ShapeActionButtonSoundIcon','getSnapshot','_docSelectionManagerService','CROSSHAIR','DrawingTypeEnum','docs-shape-ui.shape.type.ribbon','getActiveTextRange','ShapeAccentBorderCallout1Icon','doc.operation.close-doc-shape-format-panel','ShapeStar16Icon','DELETE','univer-text-gray-500','IrregularSeal1','getDrawingOrder','next','ShapeDownArrowCalloutIcon','ShapeActionButtonInformationIcon','docs-shape-ui.shape.type.left-brace','getUnitId','ShapeFlowChartInternalStorageIcon','docs-shape-ui.line.dashType.title','version','docs-shape-ui.shape.type.right-arrow','docs-shape-ui.shape.type.flow-chart-magnetic-drum','docs-shape-ui.line.joinType.title','isDrawingObject','docs-shape-ui.shape.type.up-arrow','ShapeStripedRightArrowIcon','ShapeUpArrowIcon','decorate','_clearShapeAdjustControls'];_0x2184=function(){return _0x391487;};return _0x2184();}function ee(_0x283c79,_0x29c232){const _0x32564c=_0x3b6577;if(F(_0x283c79)!=_0x32564c(0x246)||!_0x283c79)return _0x283c79;var _0x4f08ca=_0x283c79[Symbol[_0x32564c(0x10f)]];if(_0x4f08ca!==void 0x0){var _0x4700da=_0x4f08ca[_0x32564c(0x47a)](_0x283c79,_0x29c232||_0x32564c(0x22a));if(F(_0x4700da)!='object')return _0x4700da;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x29c232===_0x32564c(0x46c)?String:Number)(_0x283c79);}function I(_0x183254){const _0x3354f2=_0x3b6577;var _0x4ce4b0=ee(_0x183254,_0x3354f2(0x46c));return F(_0x4ce4b0)==_0x3354f2(0x1ae)?_0x4ce4b0:_0x4ce4b0+'';}function L(_0xf6962a,_0x438cc1,_0x4b0c36){return(_0x438cc1=I(_0x438cc1))in _0xf6962a?Object['defineProperty'](_0xf6962a,_0x438cc1,{'value':_0x4b0c36,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf6962a[_0x438cc1]=_0x4b0c36,_0xf6962a;}var R=class extends u[_0x3b6577(0x1ac)]{constructor(..._0xa51a0a){const _0x574acd=_0x3b6577;super(..._0xa51a0a),L(this,_0x574acd(0x498),new _[(_0x574acd(0x5b2))](null)),L(this,'editingParams$',this[_0x574acd(0x498)][_0x574acd(0x148)]()),L(this,'_onSavingEditorData$',new _[(_0x574acd(0x5b2))](!0x1)),L(this,'onSavingEditorData$',this[_0x574acd(0x1c1)][_0x574acd(0x148)]());}[_0x3b6577(0x318)](){const _0x5c6e21=_0x3b6577;this[_0x5c6e21(0x498)][_0x5c6e21(0x40a)](null),this[_0x5c6e21(0x498)][_0x5c6e21(0x2e2)](),this['_onSavingEditorData$'][_0x5c6e21(0x40a)](!0x1),this[_0x5c6e21(0x1c1)][_0x5c6e21(0x2e2)](),super['dispose']();}[_0x3b6577(0x52d)](_0x1dd18f){const _0x4be3b3=_0x3b6577;this[_0x4be3b3(0x498)][_0x4be3b3(0x40a)](_0x1dd18f),_0x1dd18f==null&&this[_0x4be3b3(0x1c1)][_0x4be3b3(0x40a)](!0x1);}[_0x3b6577(0x516)](_0x28a2a5){const _0x4409e0=_0x3b6577;this[_0x4409e0(0x1c1)][_0x4409e0(0x40a)](_0x28a2a5);}[_0x3b6577(0x568)](){return this['_editingParams$']['getValue']();}};function z(_0x1317cb,_0x62044c,_0x71c299,_0x545dd2,_0x1499c8,_0x5b2768){const _0x30bdc4=_0x3b6577;let _0x273f8a={'unitId':_0x62044c,'shapeId':_0x545dd2,'shapeData':_0x5b2768,'oldShapeJSON':_0x1499c8};return _0x1317cb['executeCommand'](l[_0x30bdc4(0x298)]['id'],_0x273f8a);}function B(_0x3a25e6,_0x523f92,_0x377ba1,_0x5c66dd,_0x31da39,_0x4019f6){let _0x2db5e3={'unitId':_0x523f92,'shapeId':_0x5c66dd,'shapeData':_0x4019f6,'oldShapeJSON':_0x31da39};return _0x3a25e6['executeCommand'](l['UpdateDocShapeDataCommand']['id'],_0x2db5e3);}function V(_0x3b71be,_0x486ce3){const _0x2ca3a0=_0x3b6577;var _0x4b802c;let {isHorizontal:_0x477b6d,textRect:_0x30a452,verticalAlign:_0xdf0330}=_0x486ce3,_0x37be8f=_0x477b6d?_0x30a452['width']:_0x30a452[_0x2ca3a0(0x4e0)],_0x6eaf3b=u[_0x2ca3a0(0x238)][_0x2ca3a0(0x297)](_0x3b71be),_0x1e791c=(_0x4b802c=_0x6eaf3b['documentStyle'])==null?{}:_0x4b802c,_0x4f52a9={..._0x1e791c[_0x2ca3a0(0x129)],'centerAngle':_0x477b6d?0x0:p[_0x2ca3a0(0x32d)],'vertexAngle':_0x477b6d?0x0:p[_0x2ca3a0(0x32d)],'wrapStrategy':u[_0x2ca3a0(0x1fb)][_0x2ca3a0(0x17f)]};if(_0xdf0330!==void 0x0&&(_0x4f52a9[_0x2ca3a0(0x19a)]=_0xdf0330),_0x486ce3[_0x2ca3a0(0x30a)]!==void 0x0){var _0x16470e;_0x4f52a9[_0x2ca3a0(0x30a)]=_0x486ce3['horizontalAlign'];let _0x34d784=(_0x16470e=_0x6eaf3b[_0x2ca3a0(0x150)])==null?void 0x0:_0x16470e['paragraphs'];if(_0x34d784){for(let _0x5ba3fa of _0x34d784)_0x5ba3fa['paragraphStyle']||(_0x5ba3fa[_0x2ca3a0(0x552)]={}),_0x5ba3fa[_0x2ca3a0(0x552)][_0x2ca3a0(0x30a)]=_0x486ce3[_0x2ca3a0(0x30a)];}}return _0x6eaf3b[_0x2ca3a0(0x4d4)]={..._0x1e791c,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x37be8f,'height':0x1/0x0},'renderConfig':_0x4f52a9},_0x6eaf3b;}function te(_0x390ea4){const _0x2c926a=_0x3b6577;var _0x4a07f3;let _0x3a5400=u[_0x2c926a(0x238)][_0x2c926a(0x297)](_0x390ea4),_0xf19f0=(_0x4a07f3=_0x3a5400['documentStyle'])==null?{}:_0x4a07f3,_0x1c616c={..._0xf19f0['renderConfig']};return delete _0x1c616c['centerAngle'],delete _0x1c616c[_0x2c926a(0x56c)],delete _0x1c616c[_0x2c926a(0x19a)],delete _0x1c616c[_0x2c926a(0x199)],_0x3a5400[_0x2c926a(0x4d4)]={..._0xf19f0,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x2c926a(0x123)](_0x1c616c)['length']>0x0?_0x1c616c:void 0x0},_0x3a5400;}var H=class extends p[_0x3b6577(0x113)]{constructor(_0x38c256,_0x143e49){const _0x11fdc9=_0x3b6577;super(_0x38c256,_0x143e49),L(this,'_props',void 0x0),L(this,_0x11fdc9(0x378),!0x0),L(this,_0x11fdc9(0x422),u[_0x11fdc9(0x400)][_0x11fdc9(0x223)]),L(this,_0x11fdc9(0x415),!0x0),this['_props']={..._0x143e49},this[_0x11fdc9(0x3d6)]();}[_0x3b6577(0x3d6)](){const _0x973733=_0x3b6577;this[_0x973733(0x5e1)]['subscribeEvent'](_0x1023a8=>{const _0x21a1a4=_0x973733;this[_0x21a1a4(0x5af)](_0x1023a8);});}[_0x3b6577(0x188)](_0x3f0229){const _0x1f27cf=_0x3b6577;this[_0x1f27cf(0x13a)]['prstGeom']=_0x3f0229;}[_0x3b6577(0x52d)](_0x28f2d1){const _0x2492c2=_0x3b6577;this[_0x2492c2(0x13a)]['isEditing']=_0x28f2d1,this['makeDirty'](!0x0);}get[_0x3b6577(0x424)](){const _0x4044ad=_0x3b6577;return this[_0x4044ad(0x13a)][_0x4044ad(0x424)];}get[_0x3b6577(0x21b)](){const _0x4da0d5=_0x3b6577;return this['_props'][_0x4da0d5(0x21b)];}[_0x3b6577(0x5af)](_0x23a5d1){const _0x4319da=_0x3b6577;if(this[_0x4319da(0x13a)][_0x4319da(0x364)]==null||!this[_0x4319da(0x378)])return;let {width:_0x233612,height:_0x3e2a64}=this,{width:_0x199343=0x0,height:_0x363a38=0x0}=_0x23a5d1[_0x4319da(0x3dc)],{left:_0x2c75de=0x0,top:_0x3041e3=0x0,right:_0x2e4463=0x0,bottom:_0x230f97=0x0}=this['_props']['srcRect'],_0x1f8356=_0x2c75de,_0x3af627=_0x3041e3,_0x5bad69=_0x2e4463,_0x2fedc4=_0x230f97,_0xc2a9ff=!0x1;if(_0x199343!==0x0&&_0x199343!==_0x233612){let _0x1dbd87=_0x2c75de/_0x199343,_0x277d53=_0x2e4463/_0x199343;_0x1f8356=_0x233612*_0x1dbd87,_0x5bad69=_0x233612*_0x277d53,_0xc2a9ff=!0x0;}if(_0x363a38!==0x0&&_0x363a38!==_0x3e2a64){let _0x3abd8f=_0x3041e3/_0x363a38,_0x4ebaac=_0x230f97/_0x363a38;_0x3af627=_0x3e2a64*_0x3abd8f,_0x2fedc4=_0x3e2a64*_0x4ebaac,_0xc2a9ff=!0x0;}_0xc2a9ff&&this[_0x4319da(0x32c)]({'left':_0x1f8356,'top':_0x3af627,'right':_0x5bad69,'bottom':_0x2fedc4});}[_0x3b6577(0x32c)](_0x23773c){const _0x477e33=_0x3b6577;this[_0x477e33(0x13a)]['srcRect']=_0x23773c,this[_0x477e33(0x147)](!0x0);}[_0x3b6577(0x314)](_0x3bda2b){const _0x353d77=_0x3b6577;this[_0x353d77(0x13a)][_0x353d77(0x4ec)]=_0x3bda2b,this[_0x353d77(0x147)](!0x0);}set[_0x3b6577(0x425)](_0x41042b){const _0x324f80=_0x3b6577;this[_0x324f80(0x483)]=_0x41042b;}get[_0x3b6577(0x425)](){const _0x3cd220=_0x3b6577;this[_0x3cd220(0x483)]||this['_setTransForm']();let _0x1edcf5=this[_0x3cd220(0x483)][_0x3cd220(0x374)]();return this['transformForAngle'](_0x1edcf5);}get['shapeModel'](){const _0x9eced=_0x3b6577;return this[_0x9eced(0x13a)][_0x9eced(0x47f)];}get[_0x3b6577(0x24f)](){const _0x3efa6c=_0x3b6577;return this['_props'][_0x3efa6c(0x24f)];}get[_0x3b6577(0x11b)](){const _0xd1a007=_0x3b6577;return p[_0xd1a007(0x217)][_0xd1a007(0x3ac)];}[_0x3b6577(0x191)](_0x12d329,_0x102a5e,_0x548ac2,_0x2bf292){const _0x151deb=_0x3b6577;let _0x353391=this['_props']['shapeModel'];if(!_0x353391||!_0x102a5e)return;let _0x5b3226=_0x548ac2==null?this[_0x151deb(0x3ed)]:_0x548ac2,_0x14f17b=_0x2bf292==null?this[_0x151deb(0x4e0)]:_0x2bf292,_0xf93332={'shapeType':_0x353391[_0x151deb(0x53a)](),'width':_0x5b3226,'height':_0x14f17b},_0x3ad7b8={'renderMode':c[_0x151deb(0x300)][_0x151deb(0xef)],'oKey':this[_0x151deb(0x12b)],'image':this[_0x151deb(0x13a)][_0x151deb(0x4ec)],'angle':this[_0x151deb(0x2d0)]};_0x353391[_0x151deb(0x105)](_0xf93332),_0x12d329['save']();let _0x32e278={'top':0x0,'left':0x0,'width':_0x5b3226,'height':_0x14f17b};_0x353391[_0x151deb(0x3db)](_0x12d329,_0x32e278,_0x3ad7b8),_0x12d329['restore']();let _0x983db=_0x353391[_0x151deb(0x4b7)](),_0x152f57=_0x353391[_0x151deb(0x5bd)](_0x32e278),_0x498b57=_0x353391[_0x151deb(0x269)]();if(_0x983db&&_0x152f57&&!_0x498b57){_0x12d329[_0x151deb(0x15f)](),this[_0x151deb(0x348)]()[_0x151deb(0x218)]&&_0x12d329[_0x151deb(0x39a)](-0x1,0x1);let _0xc169ec=_0x5b3226/0x2,_0xbf5f97=_0x14f17b/0x2;_0x12d329[_0x151deb(0x4c4)](-_0xc169ec,-_0xbf5f97),_0x12d329[_0x151deb(0x465)](),this[_0x151deb(0x14f)](_0x12d329,_0x983db,_0x152f57),_0x12d329['restore']();}}[_0x3b6577(0x3da)](_0x4e2357){}[_0x3b6577(0x14f)](_0x577559,_0x41e15d,_0x304a34){const _0x2796ba=_0x3b6577;this[_0x2796ba(0x13a)][_0x2796ba(0x5d7)]||(_0x2796ba(0x3b4)in _0x41e15d&&_0x41e15d[_0x2796ba(0x3b4)]===!0x1?this[_0x2796ba(0x3b3)](_0x577559,_0x41e15d,_0x304a34):this[_0x2796ba(0x13f)](_0x577559,_0x41e15d,_0x304a34));}[_0x3b6577(0x3b3)](_0x1a9ad0,_0x4e34fe,_0xffa391){}[_0x3b6577(0x13f)](_0x24b604,_0x4e150a,_0x5924eb){const _0x441581=_0x3b6577;var _0x30dc6f,_0x1b03d6;let _0x46685c=this['_props'][_0x441581(0x38d)];if(!_0x4e150a['dataModel']||!_0x46685c){_0x46685c||console[_0x441581(0x5a0)](_0x441581(0x42b));return;}let _0x4795d3=_0x4e150a[_0x441581(0x590)],_0x8d3fd9=_0x4795d3[_0x441581(0xe0)],_0x59c5cf=(_0x30dc6f=_0x4795d3['va'])==null?u[_0x441581(0x3d9)][_0x441581(0x170)]:_0x30dc6f,_0x2eee30=(_0x1b03d6=_0x4795d3['ha'])==null?u[_0x441581(0xf9)][_0x441581(0x2c8)]:_0x1b03d6;if(!_0x8d3fd9)return;let _0x14faba=_0x4e150a[_0x441581(0x4d5)],_0x167f8e=new u[(_0x441581(0x380))](V(_0x8d3fd9,{'isHorizontal':_0x14faba!==!0x1,'textRect':_0x5924eb,'verticalAlign':_0x59c5cf,'horizontalAlign':_0x2eee30})),_0x3fd3cb=new p['DocumentViewModel'](_0x167f8e),_0x28c081=p[_0x441581(0x110)][_0x441581(0x3fa)](_0x3fd3cb,_0x46685c);_0x28c081[_0x441581(0x3ef)]();let _0x147f78=new p[(_0x441581(0x326))]('shape-text-'+this[_0x441581(0x12b)],_0x28c081,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x147f78['resize'](_0x5924eb[_0x441581(0x3ed)],_0x5924eb[_0x441581(0x4e0)]),_0x24b604[_0x441581(0x15f)](),_0x24b604[_0x441581(0x24b)](_0x5924eb[_0x441581(0x1f0)],_0x5924eb[_0x441581(0x107)]),_0x24b604[_0x441581(0x465)](),_0x24b604[_0x441581(0x309)](0x0,0x0,_0x5924eb[_0x441581(0x3ed)],_0x5924eb[_0x441581(0x4e0)]),_0x24b604[_0x441581(0x316)](),_0x147f78[_0x441581(0x2bd)](_0x24b604),_0x24b604['restore'](),_0x147f78[_0x441581(0x318)](),_0x28c081['dispose'](),_0x3fd3cb[_0x441581(0x318)](),_0x167f8e[_0x441581(0x318)]();}[_0x3b6577(0x3db)](_0x5a0801,_0x347ba0,_0x4fde9f=!0x1){const _0x1dfe77=_0x3b6577;if(!this[_0x1dfe77(0x3c3)])return this[_0x1dfe77(0x147)](!0x1),this;let {width:_0x457b74,height:_0x402e8f,left:_0x3a9dd8,top:_0x3ed543}=this,_0x5928ce=this[_0x1dfe77(0x183)]();if(_0x457b74=_0x5928ce[_0x1dfe77(0x3ed)],_0x402e8f=_0x5928ce[_0x1dfe77(0x4e0)],_0x3a9dd8=_0x5928ce['left'],_0x3ed543=_0x5928ce[_0x1dfe77(0x107)],this['isRender'](_0x347ba0)){let {top:_0x54aea5,left:_0x2f4cc9,bottom:_0x40fca8,right:_0x36b7fe}=_0x347ba0['viewBound'];if(_0x457b74+this[_0x1dfe77(0x593)]+_0x3a9dd8<_0x2f4cc9||_0x36b7fe<_0x3a9dd8||_0x402e8f+this[_0x1dfe77(0x593)]+_0x3ed543<_0x54aea5||_0x40fca8<_0x3ed543)return this;}let _0x2de7b2=_0x3a9dd8+_0x457b74/0x2,_0x392230=_0x3ed543+_0x402e8f/0x2,_0x1a56c2=this[_0x1dfe77(0x425)]['getMatrix']();if(this[_0x1dfe77(0x13a)]['isEditing']){let _0xca1526=this[_0x1dfe77(0x348)](),_0x3c179a=new p[(_0x1dfe77(0x125))]();_0x3c179a[_0x1dfe77(0x3c4)]({..._0xca1526}),_0x1a56c2=_0x3c179a[_0x1dfe77(0x10a)]();}return _0x5a0801[_0x1dfe77(0x15f)](),this[_0x1dfe77(0x13a)][_0x1dfe77(0x47f)][_0x1dfe77(0x346)]===!0x0||_0x5a0801[_0x1dfe77(0x425)](_0x1a56c2[0x0],_0x1a56c2[0x1],_0x1a56c2[0x2],_0x1a56c2[0x3],_0x2de7b2,_0x392230),this[_0x1dfe77(0x191)](_0x5a0801,_0x347ba0,_0x457b74,_0x402e8f),_0x5a0801[_0x1dfe77(0x2b0)](),this['makeDirty'](!0x1),this;}['getInverseCoord'](_0x1b1fb4){const _0x560fbd=_0x3b6577;let {left:_0x2b0a7e,top:_0x2ad7dc,width:_0x38153a,height:_0x440858}=this[_0x560fbd(0x183)](),_0x5e0426=this[_0x560fbd(0x425)]['getMatrix'](),_0x122184=_0x2b0a7e+_0x38153a/0x2,_0x39a298=_0x2ad7dc+_0x440858/0x2,_0x10adc4=new p[(_0x560fbd(0x125))]([_0x5e0426[0x0],_0x5e0426[0x1],_0x5e0426[0x2],_0x5e0426[0x3],_0x122184,_0x39a298]),_0x5a6add=this[_0x560fbd(0x559)]();return(this['isInGroup']&&(_0x5a6add==null?void 0x0:_0x5a6add[_0x560fbd(0x11b)])===p[_0x560fbd(0x217)][_0x560fbd(0x2de)]?_0x5a6add[_0x560fbd(0x277)][_0x560fbd(0x560)](_0x10adc4):_0x10adc4)[_0x560fbd(0x2a8)]()[_0x560fbd(0xeb)](_0x1b1fb4);}['isHit'](_0x2d8973){const _0x3196cb=_0x3b6577;let {left:_0x422d44,top:_0xf4101,width:_0x3ce539,height:_0x5c895d}=this['getRealBound'](),_0x5d0fbd=_0x422d44+_0x3ce539/0x2,_0x4cd8b9=_0xf4101+_0x5c895d/0x2,_0x325e76=this['transform'][_0x3196cb(0x10a)](),_0x20fd4c=new p[(_0x3196cb(0x125))]([_0x325e76[0x0],_0x325e76[0x1],_0x325e76[0x2],_0x325e76[0x3],_0x5d0fbd,_0x4cd8b9]),_0x521239=this[_0x3196cb(0x559)](),_0x57c0e5=(this[_0x3196cb(0x51d)]&&(_0x521239==null?void 0x0:_0x521239[_0x3196cb(0x11b)])===p['RENDER_CLASS_TYPE'][_0x3196cb(0x2de)]?_0x521239['ancestorTransform'][_0x3196cb(0x560)](_0x20fd4c):_0x20fd4c)[_0x3196cb(0x2a8)]()['applyPoint'](_0x2d8973),_0x2f21e4=_0x3ce539/0x2,_0xa291a1=_0x5c895d/0x2,_0x23728c=this[_0x3196cb(0x13a)][_0x3196cb(0x47f)];return _0x23728c&&_0x23728c[_0x3196cb(0x269)]()?_0x23728c[_0x3196cb(0x29d)](_0x57c0e5['x'],_0x57c0e5['y'],_0x3ce539,_0x5c895d):_0x57c0e5['x']>=-_0x2f21e4-this['strokeWidth']/0x2&&_0x57c0e5['x']<=_0x2f21e4+this[_0x3196cb(0x593)]/0x2&&_0x57c0e5['y']>=-_0xa291a1-this[_0x3196cb(0x593)]/0x2&&_0x57c0e5['y']<=_0xa291a1+this['strokeWidth']/0x2;}[_0x3b6577(0x318)](){const _0x15b445=_0x3b6577;this[_0x15b445(0x13a)]['shapeModel']=null,super['dispose']();}};function U(_0x581ce0,_0x217a54){return function(_0x1a9c29,_0x25bb1d){_0x217a54(_0x1a9c29,_0x25bb1d,_0x581ce0);};}function W(_0x319c84,_0x1da86b,_0x4eb050,_0x3864f5){const _0x476b37=_0x3b6577;var _0xa2cde2=arguments[_0x476b37(0x254)],_0xf48710=_0xa2cde2<0x3?_0x1da86b:_0x3864f5===null?_0x3864f5=Object['getOwnPropertyDescriptor'](_0x1da86b,_0x4eb050):_0x3864f5,_0x46e910;if(typeof Reflect==_0x476b37(0x246)&&typeof Reflect[_0x476b37(0x419)]==_0x476b37(0x30b))_0xf48710=Reflect['decorate'](_0x319c84,_0x1da86b,_0x4eb050,_0x3864f5);else{for(var _0x33f876=_0x319c84[_0x476b37(0x254)]-0x1;_0x33f876>=0x0;_0x33f876--)(_0x46e910=_0x319c84[_0x33f876])&&(_0xf48710=(_0xa2cde2<0x3?_0x46e910(_0xf48710):_0xa2cde2>0x3?_0x46e910(_0x1da86b,_0x4eb050,_0xf48710):_0x46e910(_0x1da86b,_0x4eb050))||_0xf48710);}return _0xa2cde2>0x3&&_0xf48710&&Object['defineProperty'](_0x1da86b,_0x4eb050,_0xf48710),_0xf48710;}let G=class extends u['Disposable']{constructor(_0x7fba34,_0x4d8b9f,_0x2f253d,_0x3cfdca,_0x39a38f,_0x426ae9){const _0x52f1fc=_0x3b6577;super(),this['_drawingManagerService']=_0x7fba34,this[_0x52f1fc(0x372)]=_0x4d8b9f,this[_0x52f1fc(0x50e)]=_0x2f253d,this[_0x52f1fc(0x30d)]=_0x3cfdca,this[_0x52f1fc(0x588)]=_0x39a38f,this['_shapeTextEditingService']=_0x426ae9;}['renderDrawingShape'](_0x37284f,_0x530ed6){const _0x2fa992=_0x3b6577;let {transform:_0x53fbfe,drawingType:_0xbc084f,srcRect:_0x4d4d2b,prstGeom:_0x20311f,groupId:_0x361f75,unitId:_0x46448c,subUnitId:_0x250a9a,drawingId:_0x417f83,isMultiTransform:_0x5023bd,transforms:_0x12f385,hidden:_0x2397cf}=_0x37284f;if(_0xbc084f!==u[_0x2fa992(0x400)][_0x2fa992(0x223)]||!this['_drawingManagerService'][_0x2fa992(0x240)]()||_0x53fbfe==null)return;let _0x57e35c=_0x5023bd&&_0x12f385?_0x12f385:[_0x53fbfe],_0x433c46=[];for(let _0x4dfc6c of _0x57e35c){let {left:_0x3ff47a,top:_0x544e9b,width:_0x5635a9,height:_0x2231bc,angle:_0x50ea5c,flipX:_0x42a9e3,flipY:_0x4942f8,skewX:_0x3b8b29,skewY:_0xad8ce4}=_0x4dfc6c,_0x666afd=_0x57e35c[_0x2fa992(0x358)](_0x4dfc6c),_0x43fa26=(0x0,m[_0x2fa992(0x56e)])({'unitId':_0x46448c,'subUnitId':_0x250a9a,'drawingId':_0x417f83},_0x5023bd?_0x666afd:void 0x0),_0x24e9e9=_0x530ed6[_0x2fa992(0x1a4)](_0x43fa26);if(_0x24e9e9!=null){_0x24e9e9[_0x2fa992(0xdc)]({'left':_0x3ff47a,'top':_0x544e9b,'width':_0x5635a9,'height':_0x2231bc,'angle':_0x50ea5c,'flipX':_0x42a9e3,'flipY':_0x4942f8,'skewX':_0x3b8b29,'skewY':_0xad8ce4});continue;}let _0x1eacd3=this['_drawingManagerService'][_0x2fa992(0x409)](_0x46448c,_0x250a9a),_0x18c6b0=_0x1eacd3[_0x2fa992(0x358)](_0x417f83);if(_0x530ed6[_0x2fa992(0x1a4)](_0x43fa26)||!this[_0x2fa992(0x3f4)]['getDrawingVisible']())continue;let _0x1977a0=this[_0x2fa992(0x372)]['getShapeModel'](_0x46448c,_0x250a9a,_0x417f83);if(!_0x1977a0)continue;let _0x8f7a90=new H(_0x43fa26,{...(0x0,c['isConnectorShape'])(_0x1977a0['getShapeType']())?{..._0x4dfc6c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x4dfc6c},'zIndex':_0x18c6b0===-0x1?_0x1eacd3['length']-0x1:_0x18c6b0,'shapeModel':_0x1977a0,'localeService':this[_0x2fa992(0x50e)],'shapeId':_0x417f83,'unitId':_0x46448c,'subUnitId':_0x250a9a,'visible':_0x2397cf!==!0x0});this[_0x2fa992(0x21f)]((0x0,u[_0x2fa992(0x574)])(_0x8f7a90[_0x2fa992(0x4f8)][_0x2fa992(0x25c)]((_0x3efa1d,_0x4bbe89)=>{const _0x23aaad=_0x2fa992;_0x1977a0[_0x23aaad(0x269)]()||(this[_0x23aaad(0x51f)][_0x23aaad(0x52d)]({'visible':!0x0,'unitId':_0x46448c,'subUnitId':_0x250a9a,'shapeId':_0x417f83,'shapeKey':_0x8f7a90[_0x23aaad(0x12b)]}),_0x4bbe89[_0x23aaad(0x488)]());}))),_0x530ed6[_0x2fa992(0x152)](_0x8f7a90,p['DRAWING_OBJECT_LAYER_INDEX']),this[_0x2fa992(0x3f4)][_0x2fa992(0x4b5)]()&&_0x530ed6[_0x2fa992(0x37c)](_0x8f7a90),_0x361f75&&(0x0,b[_0x2fa992(0x200)])({'drawingId':_0x361f75,'unitId':_0x46448c,'subUnitId':_0x250a9a},_0x8f7a90,_0x530ed6,this[_0x2fa992(0x3f4)]),_0x20311f!=null&&_0x8f7a90['setPrstGeom'](_0x20311f),_0x4d4d2b!=null&&_0x8f7a90[_0x2fa992(0x32c)](_0x4d4d2b),this[_0x2fa992(0xd8)](_0x8f7a90,_0x1977a0['getShapeData']()),_0x433c46[_0x2fa992(0x4e5)](_0x8f7a90);}return _0x433c46;}['refreshShapeFillImage'](_0x7a5cbe){const _0x539e98=_0x3b6577;let _0x33fcde=_0x7a5cbe[_0x539e98(0x47f)][_0x539e98(0x331)](),_0x385365=_0x33fcde[_0x539e98(0x207)];if(!_0x385365||_0x385365[_0x539e98(0x2a0)]!==c[_0x539e98(0x4c9)][_0x539e98(0x4d9)]||!_0x385365['fillImageSource']){_0x7a5cbe[_0x539e98(0x314)](void 0x0);return;}this[_0x539e98(0xd8)](_0x7a5cbe,_0x33fcde);}[_0x3b6577(0xd8)](_0x2c2835,_0x41e7cd){const _0x2010b9=_0x3b6577;var _0x46663b;let _0x451060=_0x41e7cd['fill'];if(!_0x451060||_0x451060[_0x2010b9(0x2a0)]!==c['ShapeFillEnum'][_0x2010b9(0x4d9)]||!_0x451060['fillImageSource'])return;let _0x2ed901=_0x451060[_0x2010b9(0x2ed)],_0x27b3d8=(_0x46663b=_0x451060[_0x2010b9(0x11e)])==null?c[_0x2010b9(0x1fd)]['URL']:_0x46663b,_0x2e119d=this['_imageIoService'][_0x2010b9(0x4cd)](_0x2ed901,_0x27b3d8);if(_0x2e119d){_0x2c2835['setFillImage'](_0x2e119d);return;}this[_0x2010b9(0x5ae)](_0x2c2835,_0x2ed901,_0x27b3d8);}async['_loadAndSetImage'](_0x364a58,_0x139cb9,_0x240305){const _0x5e77ef=_0x3b6577;let _0x9a755a;try{if(_0x240305===c[_0x5e77ef(0x1fd)][_0x5e77ef(0x319)])_0x9a755a=await this[_0x5e77ef(0x30d)][_0x5e77ef(0x53d)](_0x139cb9);else{if(_0x240305===c[_0x5e77ef(0x1fd)][_0x5e77ef(0xd5)])try{_0x9a755a=await this[_0x5e77ef(0x588)]['getImage'](_0x139cb9);}catch{_0x9a755a=_0x139cb9;}else _0x9a755a=_0x139cb9;}}catch(_0x1e0953){console[_0x5e77ef(0x29a)](_0x5e77ef(0x111),_0x1e0953);return;}let _0x199a9=new window[(_0x5e77ef(0x575))]();_0x199a9[_0x5e77ef(0x5d8)]=()=>{const _0xe9482c=_0x5e77ef;this['_imageIoService'][_0xe9482c(0x4a2)](_0x139cb9,_0x240305,_0x199a9),_0x364a58[_0xe9482c(0x314)](_0x199a9);},_0x199a9[_0x5e77ef(0x5ea)]=()=>{const _0x25b456=_0x5e77ef;console[_0x25b456(0x29a)](_0x25b456(0x1b4),_0x139cb9);},_0x199a9['src']=_0x9a755a;}};G=W([U(0x0,m[_0x3b6577(0x539)]),U(0x1,(0x0,u[_0x3b6577(0x192)])(l['DocsShapeService'])),U(0x2,(0x0,u['Inject'])(u[_0x3b6577(0x1f5)])),U(0x3,m[_0x3b6577(0x1fe)]),U(0x4,u[_0x3b6577(0x373)]),U(0x5,(0x0,u[_0x3b6577(0x192)])(R))],G);let K=class extends u['Disposable']{constructor(_0x5ea671,_0x4ed449,_0x78111b,_0x3c41e0){const _0x5cb321=_0x3b6577;super(),this[_0x5cb321(0x379)]=_0x5ea671,this[_0x5cb321(0x5b8)]=_0x4ed449,this[_0x5cb321(0x3f4)]=_0x78111b,this[_0x5cb321(0x15c)]=_0x3c41e0,this['_initialize']();}[_0x3b6577(0x514)](){const _0x331829=_0x3b6577;this[_0x331829(0x21f)](this[_0x331829(0x3f4)][_0x331829(0x313)][_0x331829(0x451)](_0x530363=>this[_0x331829(0x497)](_0x530363))),this[_0x331829(0x21f)](this[_0x331829(0x3f4)]['update$'][_0x331829(0x451)](_0x533d6f=>{const _0x2d29d6=_0x331829;_0x533d6f['forEach'](_0x3d137b=>this[_0x2d29d6(0x5d9)](_0x3d137b));})),this['disposeWithMe'](this[_0x331829(0x379)][_0x331829(0x19c)](_0x556eb8=>{const _0x2e873e=_0x331829;if(_0x556eb8['id']!==l[_0x2e873e(0x388)]['id'])return;let {unitId:_0x2f0e9d,shapeId:_0x438dca}=_0x556eb8[_0x2e873e(0x4b1)];this[_0x2e873e(0x5cc)]({'unitId':_0x2f0e9d,'subUnitId':_0x2f0e9d,'drawingId':_0x438dca});}));}[_0x3b6577(0x234)](_0x2b177d,_0x2fcf11){const _0x2ead94=_0x3b6577;let _0x16b1ab=this[_0x2ead94(0x20d)](_0x2b177d[_0x2ead94(0x424)]),_0x2bf371=(0x0,m[_0x2ead94(0x56e)])(_0x2b177d),_0x4ae7e5=_0x16b1ab==null?void 0x0:_0x16b1ab['scene']['getObjectIncludeInGroup'](_0x2bf371);_0x4ae7e5==null||_0x4ae7e5[_0x2ead94(0x314)](_0x2fcf11);}[_0x3b6577(0x497)](_0x5e0a12){_0x5e0a12['forEach'](_0x2ce4a4=>{const _0x2d17f1=_0x1a94;var _0x4ac4df;let _0x3d61a9=this[_0x2d17f1(0x20d)](_0x2ce4a4[_0x2d17f1(0x424)]);if(!_0x3d61a9)return;let _0x36091f=this[_0x2d17f1(0x3f4)][_0x2d17f1(0x212)](_0x2ce4a4);(_0x36091f==null?void 0x0:_0x36091f[_0x2d17f1(0xea)])===u[_0x2d17f1(0x400)][_0x2d17f1(0x223)]&&((0x0,c[_0x2d17f1(0x448)])((_0x4ac4df=_0x36091f[_0x2d17f1(0x436)])==null?void 0x0:_0x4ac4df[_0x2d17f1(0x4bf)])&&_0x36091f['transform']&&(_0x36091f['transform']={..._0x36091f[_0x2d17f1(0x425)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x2d17f1(0x3f4)]['refreshTransform']([_0x36091f]),this[_0x2d17f1(0x15c)][_0x2d17f1(0x26a)](_0x36091f,_0x3d61a9['scene']));});}[_0x3b6577(0x5d9)](_0x39ed15){const _0x2ff7cc=_0x3b6577;let _0x22635a=this[_0x2ff7cc(0x3f4)][_0x2ff7cc(0x212)](_0x39ed15);if((_0x22635a==null?void 0x0:_0x22635a[_0x2ff7cc(0xea)])!==u[_0x2ff7cc(0x400)][_0x2ff7cc(0x223)])return;let _0x2778a2=this[_0x2ff7cc(0x20d)](_0x39ed15[_0x2ff7cc(0x424)]);if(!_0x2778a2||_0x22635a[_0x2ff7cc(0x425)]==null)return;let _0x51b464=(0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x39ed15),_0x49be22=_0x2778a2[_0x2ff7cc(0x492)]['getObjectIncludeInGroup'](_0x51b464);_0x49be22&&(_0x49be22[_0x2ff7cc(0x32c)](_0x22635a[_0x2ff7cc(0x364)]),_0x49be22[_0x2ff7cc(0x188)](_0x22635a[_0x2ff7cc(0x1f2)]),_0x49be22['makeDirty'](!0x0));}[_0x3b6577(0x5cc)](_0x2641a7){const _0x74e686=_0x3b6577;let _0x44c00f=this[_0x74e686(0x20d)](_0x2641a7[_0x74e686(0x424)]);if(!_0x44c00f)return;let _0x263761=(0x0,m[_0x74e686(0x56e)])(_0x2641a7),_0x1e4cf2=_0x44c00f[_0x74e686(0x492)][_0x74e686(0x1a4)](_0x263761);_0x1e4cf2&&(this[_0x74e686(0x15c)][_0x74e686(0x3ca)](_0x1e4cf2),_0x1e4cf2[_0x74e686(0x147)](!0x0));}[_0x3b6577(0x20d)](_0x209a89){const _0x164528=_0x3b6577;if(_0x209a89==null)return null;let _0x42c804=this[_0x164528(0x5b8)][_0x164528(0x1c9)](_0x209a89),_0x4e9ed8=_0x42c804==null?void 0x0:_0x42c804['scene'];return _0x4e9ed8==null?null:{'scene':_0x4e9ed8};}};K=W([U(0x0,u[_0x3b6577(0x243)]),U(0x1,p[_0x3b6577(0x5d6)]),U(0x2,m['IDrawingManagerService']),U(0x3,(0x0,u[_0x3b6577(0x192)])(G))],K);function ne(_0x49cb77){const _0x370aed=_0x3b6577;var _0x1297fc,_0x2d09e6,_0x338977,_0x4e4881,_0x326d9f,_0x2be9ff,_0x35a5ae,_0x4063c4,_0x143bfd,_0x51b88b,_0x2ee7f2,_0x5bebcf,_0x422cc7;let {unitId:_0x494080,subUnitId:_0x48e8c5,shapeId:_0x26a917,shapeData:_0x4e4eb5,disableShapeOption:_0x245cdf}=_0x49cb77,_0x2eb6db=(0x0,g[_0x370aed(0x19e)])(u[_0x370aed(0x1f5)]),_0x1a1c61=(0x0,g['useDependency'])(u[_0x370aed(0x243)]),_0x39fc4e=(0x0,g[_0x370aed(0x19e)])(u[_0x370aed(0x5d0)]),_0x41a384=(0x0,g[_0x370aed(0x19e)])(K),_0x54e299=(0x0,g[_0x370aed(0x19e)])(m[_0x370aed(0x1fe)]),_0x13f2e1=(0x0,y[_0x370aed(0x362)])(null),_0x4f076e=_0x4e4eb5[_0x370aed(0x207)],_0x364720=!!(_0x4f076e!=null&&_0x4f076e['fillImageSource']),[_0x5e86bd,_0x4460ba]=(0x0,y[_0x370aed(0x4b2)])((_0x1297fc=_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x428)])==null?0x1:_0x1297fc),[_0x28ef39,_0x163ed6]=(0x0,y['useState'])((_0x2d09e6=_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x1a2)])==null?c['ImageFillModeEnum'][_0x370aed(0x224)]:_0x2d09e6),[_0x619e98,_0x3076cc]=(0x0,y[_0x370aed(0x4b2)])((_0x338977=_0x4f076e==null?void 0x0:_0x4f076e['imageRotateWithShape'])==null?!0x1:_0x338977),[_0x334cd4,_0x255a04]=(0x0,y[_0x370aed(0x4b2)])((_0x4e4881=_0x4f076e==null||(_0x326d9f=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x326d9f['offsetX'])==null?0x0:_0x4e4881),[_0x1bc743,_0x365da7]=(0x0,y[_0x370aed(0x4b2)])((_0x2be9ff=_0x4f076e==null||(_0x35a5ae=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x35a5ae[_0x370aed(0x15a)])==null?0x0:_0x2be9ff),[_0x3f960d,_0x472ed9]=(0x0,y['useState'])((_0x4063c4=_0x4f076e==null||(_0x143bfd=_0x4f076e['imageTile'])==null?void 0x0:_0x143bfd[_0x370aed(0x230)])==null?0x1:_0x4063c4),[_0x5c4f1d,_0x527669]=(0x0,y[_0x370aed(0x4b2)])((_0x51b88b=_0x4f076e==null||(_0x2ee7f2=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x2ee7f2[_0x370aed(0x155)])==null?0x1:_0x51b88b),[_0x43ce8b,_0x8fdf8e]=(0x0,y[_0x370aed(0x4b2)])((_0x5bebcf=_0x4f076e==null||(_0x422cc7=_0x4f076e['imageTile'])==null?void 0x0:_0x422cc7['alignment'])==null?'tl':_0x5bebcf),_0x5f2cf2=_0x28ef39===c[_0x370aed(0x307)][_0x370aed(0x47d)],_0x143613=Math[_0x370aed(0x135)]((0x1-_0x5e86bd)*0x64),_0x3beaaa=Math['round'](_0x3f960d*0x64),_0x5dcc43=Math[_0x370aed(0x135)](_0x5c4f1d*0x64),_0x32bfe7=_0x2d0fa5=>_0x2eb6db['t'](_0x2d0fa5),_0x56c6df=[{'label':_0x32bfe7(_0x370aed(0x4e6)),'value':'tl'},{'label':_0x32bfe7(_0x370aed(0x4d1)),'value':'t'},{'label':_0x32bfe7(_0x370aed(0x578)),'value':'tr'},{'label':_0x32bfe7(_0x370aed(0x2ba)),'value':'l'},{'label':_0x32bfe7(_0x370aed(0x36f)),'value':_0x370aed(0x3cc)},{'label':_0x32bfe7(_0x370aed(0x4c5)),'value':'r'},{'label':_0x32bfe7('docs-shape-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x32bfe7(_0x370aed(0x305)),'value':'b'},{'label':_0x32bfe7(_0x370aed(0x205)),'value':'br'}],_0x12ae88=_0x51cea5=>{z(_0x1a1c61,_0x494080,_0x48e8c5,_0x26a917,{'oldShapeData':{'fill':_0x4f076e?{..._0x4f076e}:void 0x0}},{'fill':{..._0x4f076e,..._0x51cea5}});},_0x2e201f=_0x35ffa1=>{const _0xca1480=_0x370aed;_0x12ae88({'imageTile':{..._0x4f076e==null?void 0x0:_0x4f076e[_0xca1480(0x5d1)],..._0x35ffa1}});},_0x2a29a7=()=>{const _0x524e74=_0x370aed;var _0x163964;return(_0x163964=_0x13f2e1[_0x524e74(0x287)])==null?void 0x0:_0x163964[_0x524e74(0x2a9)]();},_0x4a65d9=async _0x38d4fb=>{const _0x2a5235=_0x370aed;var _0x52b628;let _0x127895=(_0x52b628=_0x38d4fb[_0x2a5235(0x1b1)][_0x2a5235(0x37f)])==null?void 0x0:_0x52b628[0x0];if(!_0x127895)return;_0x38d4fb['target'][_0x2a5235(0x5e4)]='';let _0x4e41e7=await _0x54e299['saveImage'](_0x127895);if(_0x4e41e7==null)return;let {imageSourceType:_0x53b950,source:_0x3323de,base64Cache:_0xa903ce}=_0x4e41e7,{image:_0x2c0493}=await(0x0,m[_0x2a5235(0x2e4)])(_0xa903ce||'');_0x54e299['addImageSourceCache'](_0x3323de,_0x53b950,_0x2c0493),z(_0x1a1c61,_0x494080,_0x48e8c5,_0x26a917,{'oldShapeData':{'fill':_0x4f076e?{..._0x4f076e}:void 0x0}},{'fill':{..._0x4f076e,'fillType':c[_0x2a5235(0x4c9)][_0x2a5235(0x4d9)],'fillImageSource':_0x3323de,'fillImageSourceType':_0x53b950}}),_0x41a384[_0x2a5235(0x234)]({'unitId':_0x494080,'subUnitId':_0x48e8c5,'drawingId':_0x26a917},_0x2c0493);},_0x1b88a9='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x2521a8=_0x370aed(0x2a6);return(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x5a9),'children':[(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x456),'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x5c6))}),(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x4a0),'children':[(0x0,x[_0x370aed(0x4e3)])('input',{'ref':_0x13f2e1,'type':_0x370aed(0x312),'accept':'image/*','className':_0x370aed(0x587),'onChange':_0x4a65d9}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x370aed(0x190),'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x28f),{'type':_0x370aed(0x28f),'disabled':_0x245cdf,'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','onClick':_0x2a29a7,'children':(0x0,x[_0x370aed(0x511)])(_0x370aed(0x563),{'children':[_0x32bfe7('docs-shape-ui.fill.picture.insert'),'\x20']})}),_0x364720&&(0x0,x[_0x370aed(0x4e3)])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x3e6),{'src':_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x2ed)],'alt':'','className':_0x370aed(0x45b)})})]})]})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x4d2))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':'univer-w-20','children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x143613,'disabled':_0x245cdf,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x37aa5a=>_0x37aa5a+'%','parser':_0x30562b=>(_0x30562b==null?void 0x0:_0x30562b['replace']('%',''))||'','onChange':_0x4283b3=>{const _0x463742=_0x370aed;let _0xba049e=(0x64-Math[_0x463742(0x538)](0x0,Math[_0x463742(0x20b)](0x64,_0x4283b3==null?0x0:_0x4283b3)))/0x64;_0x4460ba(_0xba049e),_0x12ae88({'imageOpacity':_0xba049e}),_0x39fc4e[_0x463742(0x449)](u[_0x463742(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x1e4)],{'checked':_0x5f2cf2,'disabled':_0x245cdf,'onChange':_0x2eca8f=>{const _0x4973bb=_0x370aed;let _0x38ffa5=_0x2eca8f?c[_0x4973bb(0x307)][_0x4973bb(0x47d)]:c[_0x4973bb(0x307)][_0x4973bb(0x224)];_0x163ed6(_0x38ffa5),_0x12ae88({'imageFillMode':_0x38ffa5});},'children':(0x0,x['jsx'])('span',{'className':_0x370aed(0x485),'children':_0x32bfe7(_0x370aed(0x5e9))})}),_0x5f2cf2&&(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])('span',{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x4ea))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':_0x370aed(0x500),'children':(0x0,x['jsx'])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x334cd4,'disabled':_0x245cdf,'step':0x1,'onChange':_0x36eb1f=>{_0x2e201f({'offsetX':_0x36eb1f==null?0x0:_0x36eb1f}),_0x255a04(_0x36eb1f==null?0x0:_0x36eb1f);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x['jsx'])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x117))}),(0x0,x['jsx'])(_0x370aed(0x577),{'className':_0x370aed(0x500),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x1bc743,'disabled':_0x245cdf,'step':0x1,'onChange':_0x2f60bc=>{_0x2e201f({'offsetY':_0x2f60bc==null?0x0:_0x2f60bc}),_0x365da7(_0x2f60bc==null?0x0:_0x2f60bc);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x['jsx'])('span',{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x5dc))}),(0x0,x[_0x370aed(0x4e3)])('div',{'className':_0x370aed(0x500),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':_0x370aed(0x233),'value':_0x3beaaa,'disabled':_0x245cdf,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x39a306=>_0x39a306+'%','parser':_0x5e4bb0=>(_0x5e4bb0==null?void 0x0:_0x5e4bb0[_0x370aed(0x29c)]('%',''))||'','onChange':_0x570ec4=>{const _0x1bbf4=_0x370aed;let _0x18c239=Math['max'](0.01,(_0x570ec4==null?0x64:_0x570ec4)/0x64);_0x472ed9(_0x18c239),_0x2e201f({'scaleX':_0x18c239}),_0x39fc4e['setContextValue'](u[_0x1bbf4(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])('div',{'className':_0x2521a8,'children':[(0x0,x['jsx'])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7('docs-shape-ui.fill.picture.scaleY')}),(0x0,x[_0x370aed(0x4e3)])('div',{'className':_0x370aed(0x500),'children':(0x0,x['jsx'])(v['InputNumber'],{'className':_0x370aed(0x233),'value':_0x5dcc43,'disabled':_0x245cdf,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x5da917=>_0x5da917+'%','parser':_0x13d5ec=>(_0x13d5ec==null?void 0x0:_0x13d5ec[_0x370aed(0x29c)]('%',''))||'','onChange':_0x9ede10=>{const _0xc57305=_0x370aed;let _0x19ed55=Math[_0xc57305(0x538)](0.01,(_0x9ede10==null?0x64:_0x9ede10)/0x64);_0x527669(_0x19ed55),_0x2e201f({'scaleY':_0x19ed55}),_0x39fc4e['setContextValue'](u[_0xc57305(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x367))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':_0x370aed(0x185),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x4af)],{'className':_0x370aed(0x233),'value':_0x43ce8b,'options':_0x56c6df,'disabled':_0x245cdf,'onChange':_0x1faa1d=>{_0x8fdf8e(_0x1faa1d),_0x2e201f({'alignment':_0x1faa1d});}})})]})]}),(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x1e4)],{'checked':_0x619e98,'disabled':_0x245cdf,'onChange':_0x179002=>{_0x3076cc(_0x179002),_0x12ae88({'imageRotateWithShape':_0x179002});},'children':(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':'univer-text-sm','children':_0x32bfe7('docs-shape-ui.fill.picture.rotateWithShape')})})]});}function re(_0x224f65){const _0x5edfde=_0x3b6577;var _0x53ed64,_0x41a50d;return(_0x53ed64=(_0x41a50d=_0x224f65[_0x5edfde(0x207)])==null?void 0x0:_0x41a50d[_0x5edfde(0x2a0)])==null?c[_0x5edfde(0x4c9)][_0x5edfde(0x288)]:_0x53ed64;}function ie(_0x4cc31c){const _0xe344d=_0x3b6577;var _0x2c0089,_0x3fd353,_0x28abe9,_0x47a7e4;let _0x41a7bd=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x1f5)]),_0x53e5a1=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x243)]),_0x322877=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x5d0)]),{shapeData:_0x38e1c6,isLineShape:_0xa93070,unitId:_0x2e4adf,subUnitId:_0x44a27e,shapeId:_0x28b895,disableShapeOption:_0x539235}=_0x4cc31c,[_0x3e9115,_0xac1d85]=(0x0,y[_0xe344d(0x4b2)])(re(_0x38e1c6)),[_0x2b726f,_0x5752c6]=(0x0,y['useState'])((_0x2c0089=(_0x3fd353=_0x38e1c6['fill'])==null?void 0x0:_0x3fd353['color'])==null?c['ShapeDefaultConfig']['fill']:_0x2c0089),[_0x1c7d2c,_0x17a2a8]=(0x0,y[_0xe344d(0x4b2)])((_0x28abe9=(_0x47a7e4=_0x38e1c6[_0xe344d(0x207)])==null?void 0x0:_0x47a7e4[_0xe344d(0x1a3)])==null?0x1:_0x28abe9),[_0x51cba1,_0x3ad0c7]=(0x0,y[_0xe344d(0x4b2)])(!0x1);if(_0xa93070)return null;let _0x35401d=0x64-_0x1c7d2c*0x64;return(0x0,x['jsxs'])(_0xe344d(0x577),{'className':_0xe344d(0x5ac),'children':[(0x0,x['jsxs'])(v['RadioGroup'],{'value':_0x3e9115,'disabled':_0x539235,'onChange':_0x895cf9=>{const _0x57fb9b=_0xe344d;var _0x1612d0;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{'fillType':(_0x1612d0=_0x38e1c6[_0x57fb9b(0x207)])==null?void 0x0:_0x1612d0[_0x57fb9b(0x2a0)]}}},{'fill':{'fillType':_0x895cf9}}),_0xac1d85(_0x895cf9);},'direction':_0xe344d(0x44c),'children':[(0x0,x['jsx'])(v['Radio'],{'value':c[_0xe344d(0x4c9)]['NoFill'],'children':(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x1ce))})}),(0x0,x['jsx'])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)][_0xe344d(0x1db)],'children':(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x149))})}),(0x0,x[_0xe344d(0x4e3)])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)]['GradientFill'],'children':(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x5cd))})}),(0x0,x[_0xe344d(0x4e3)])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)][_0xe344d(0x4d9)],'children':(0x0,x[_0xe344d(0x4e3)])('span',{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x13e))})})]}),_0x3e9115===c[_0xe344d(0x4c9)]['SolidFill']&&(0x0,x['jsxs'])(_0xe344d(0x577),{'className':_0xe344d(0x5b6),'children':[(0x0,x[_0xe344d(0x511)])(_0xe344d(0x577),{'className':_0xe344d(0x502),'children':[(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0xd4),'children':_0x41a7bd['t']('docs-shape-ui.fill.color')}),(0x0,x['jsx'])(v[_0xe344d(0x10e)],{'disabled':_0x539235,'overlay':(0x0,x['jsx'])('div',{'className':_0xe344d(0x481),'children':(0x0,x['jsx'])(v['ColorPicker'],{'value':_0x2b726f,'onChange':_0xe5ba50=>{const _0x1d20ba=_0xe344d;var _0x5ec89c;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{'color':(_0x5ec89c=_0x38e1c6[_0x1d20ba(0x207)])==null?void 0x0:_0x5ec89c[_0x1d20ba(0x30f)]}}},{'fill':{'color':_0xe5ba50}}),_0x5752c6(_0xe5ba50),_0x3ad0c7(!0x1);}})}),'open':_0x51cba1,'onOpenChange':_0x3ad0c7,'children':(0x0,x[_0xe344d(0x511)])('a',{'className':_0xe344d(0x143),'children':[(0x0,x['jsx'])(h[_0xe344d(0x2ab)],{'className':_0xe344d(0x421),'extend':{'colorChannel1':_0x2b726f}}),(0x0,x[_0xe344d(0x4e3)])(h[_0xe344d(0x242)],{'className':(0x0,v[_0xe344d(0x2c3)])(_0xe344d(0x4cc),{'univer-rotate-180':_0x51cba1})})]})})]}),(0x0,x[_0xe344d(0x511)])(_0xe344d(0x577),{'className':_0xe344d(0x2a6),'children':[(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x59a),'children':_0x41a7bd['t'](_0xe344d(0x4d2))}),(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x577),{'className':_0xe344d(0x438),'children':(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x577),{'className':_0xe344d(0x500),'children':(0x0,x[_0xe344d(0x4e3)])(v['InputNumber'],{'className':_0xe344d(0x233),'value':_0x35401d,'disabled':_0x539235,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2ea6f7=>_0x2ea6f7+'%','parser':_0x1c8c5b=>(_0x1c8c5b==null?void 0x0:_0x1c8c5b[_0xe344d(0x29c)]('%',''))||'','onChange':_0xc2a022=>{const _0x41b725=_0xe344d;let _0xc477eb=(0x64-Math[_0x41b725(0x538)](0x0,Math[_0x41b725(0x20b)](0x64,_0xc2a022==null?0x0:_0xc2a022)))/0x64;_0x17a2a8(_0xc477eb),z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{..._0x38e1c6[_0x41b725(0x207)],'fillType':_0x3e9115}}},{'fill':{..._0x38e1c6[_0x41b725(0x207)],'fillType':_0x3e9115,'opacity':_0xc477eb}}),_0x322877[_0x41b725(0x449)](u[_0x41b725(0x42e)],!0x1);},'onFocus':()=>_0x322877['setContextValue'](u[_0xe344d(0x42e)],!0x0),'onBlur':()=>{const _0x564b98=_0xe344d;_0x322877[_0x564b98(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x3e9115===c['ShapeFillEnum']['GradientFill']&&(0x0,x[_0xe344d(0x4e3)])(J,{'shapeData':_0x38e1c6,'disableShapeOption':_0x539235,'onUpdate':_0x427abe=>{const _0x3c85dc=_0xe344d;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{..._0x38e1c6[_0x3c85dc(0x207)]}}},{'fill':{..._0x38e1c6[_0x3c85dc(0x207)],..._0x427abe}});}}),_0x3e9115===c['ShapeFillEnum'][_0xe344d(0x4d9)]&&(0x0,x[_0xe344d(0x4e3)])(ne,{'unitId':_0x2e4adf,'subUnitId':_0x44a27e,'shapeId':_0x28b895,'shapeData':_0x38e1c6,'disableShapeOption':_0x539235})]});}function q(_0x13cf8d){const _0x49a401=_0x3b6577;switch(_0x13cf8d){case c[_0x49a401(0x122)][_0x49a401(0x2fd)]:return _0x49a401(0x1d3);case c[_0x49a401(0x122)][_0x49a401(0x11a)]:return _0x49a401(0x447);case c[_0x49a401(0x122)]['Angular']:return _0x49a401(0x255);case c[_0x49a401(0x122)][_0x49a401(0x4e7)]:return _0x49a401(0x4a8);default:return'linear';}}function ae(_0x5c4d07){const _0xf05d7c=_0x3b6577;switch(_0x5c4d07){case _0xf05d7c(0x1d3):return c[_0xf05d7c(0x122)][_0xf05d7c(0x2fd)];case'radial':return c[_0xf05d7c(0x122)][_0xf05d7c(0x11a)];case _0xf05d7c(0x255):return c[_0xf05d7c(0x122)][_0xf05d7c(0x108)];case'diamond':return c[_0xf05d7c(0x122)][_0xf05d7c(0x4e7)];default:return c['ShapeGradientTypeEnum'][_0xf05d7c(0x2fd)];}}function J(_0x256edb){const _0x1924e3=_0x3b6577;let {shapeData:_0x4ef06e,disableShapeOption:_0x502050,onUpdate:_0x2c04f7}=_0x256edb,_0xdcc1d2=(0x0,y['useMemo'])(()=>{const _0x52e350=_0x1a94;var _0x42564a;let _0x15d92d=_0x4ef06e['fill'];return{'type':q(_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x27f)]),'angle':(_0x42564a=_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x4ce)])==null?0x5a:_0x42564a,'stops':_0x15d92d!=null&&_0x15d92d[_0x52e350(0x1ab)]&&_0x15d92d[_0x52e350(0x1ab)][_0x52e350(0x254)]>=0x2?_0x15d92d['gradientStops'][_0x52e350(0x567)](_0xd2b2d4=>({'color':_0xd2b2d4['color'],'offset':_0xd2b2d4[_0x52e350(0x285)]*0x64})):[{'color':(_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x30f)])||_0x52e350(0x3b8),'offset':0x0},{'color':'#000000','offset':0x64}]};},[_0x4ef06e[_0x1924e3(0x207)]]);return(0x0,x['jsx'])(_0x1924e3(0x577),{'className':_0x1924e3(0x4dc),'children':(0x0,x[_0x1924e3(0x4e3)])(v[_0x1924e3(0x296)],{'value':_0xdcc1d2,'onChange':_0x51f8f5=>{const _0x3a579d=_0x1924e3;let _0x2c802e=ae(_0x51f8f5['type']),_0x3a9026=_0x51f8f5[_0x3a579d(0x2d0)];_0x2c04f7({'gradientType':_0x2c802e,'gradientAngle':_0x3a9026,'gradientStops':_0x51f8f5[_0x3a579d(0x583)][_0x3a579d(0x567)](_0x1ad867=>({'color':_0x1ad867[_0x3a579d(0x30f)],'position':_0x1ad867[_0x3a579d(0x56a)]/0x64}))});}})});}function oe(_0x46219b){const _0x5c5e0e=_0x3b6577;var _0x3fadb0,_0x21bab7,_0x93f489,_0x12321a,_0x8978cd,_0x11edb0,_0xf707f5,_0x5cb5a4,_0x4d885d,_0x3c6df3,_0x3d3fa4,_0xdbde14,_0x253e41,_0x3ab93c,_0x93f6b2,_0x2212ff;let _0x368f36=(0x0,g[_0x5c5e0e(0x19e)])(u['LocaleService']),_0x3bf211=(0x0,g[_0x5c5e0e(0x19e)])(u['ICommandService']),_0x286c6c=(0x0,g[_0x5c5e0e(0x19e)])(u[_0x5c5e0e(0x5d0)]),{shapeData:_0xcff10b,isLineShape:_0x537495,unitId:_0x415f83,subUnitId:_0x3e0f78,shapeId:_0x3c4dfe,disableShapeOption:_0x39544a}=_0x46219b,_0xa8cc95=_0xcff10b[_0x5c5e0e(0x2b6)],[_0x2720e3,_0x1e9e41]=(0x0,y['useState'])((_0x3fadb0=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x208)])==null?c['ShapeLineTypeEnum'][_0x5c5e0e(0x315)]:_0x3fadb0),[_0x189ea5,_0x2f337b]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x21bab7=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x30f)])==null?c['ShapeDefaultConfig']['stroke']:_0x21bab7),[_0x297930,_0x307a71]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x93f489=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x1a3)])==null?0x1:_0x93f489),[_0x4d40ab,_0x33ad20]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x12321a=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x3ed)])==null?c[_0x5c5e0e(0x44a)][_0x5c5e0e(0x593)]:_0x12321a),[_0x47637a,_0xd11c3a]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x8978cd=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x44b)])==null?c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x34a)]:_0x8978cd),[_0x9daaf1,_0x47ec17]=(0x0,y['useState'])((_0x11edb0=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x39d)])==null?c[_0x5c5e0e(0x3af)]['Flat']:_0x11edb0),[_0x586d61,_0x4fd50b]=(0x0,y[_0x5c5e0e(0x4b2)])((_0xf707f5=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x21d)])==null?c[_0x5c5e0e(0x361)]['Miter']:_0xf707f5),[_0x52b706,_0x47efcf]=(0x0,y['useState'])((_0x5cb5a4=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x14a)])==null?c['ShapeSketchTypeEnum']['None']:_0x5cb5a4),_0x31b36a=_0xcff10b,[_0x4d2c1d,_0x2fff99]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x4d885d=(_0x3c6df3=_0x31b36a['ln'])==null||(_0x3c6df3=_0x3c6df3[_0x5c5e0e(0x1fa)])==null?void 0x0:_0x3c6df3[_0x5c5e0e(0x41d)])==null?c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x536)]:_0x4d885d),[_0x4eb76f,_0x5f5a1c]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x3d3fa4=(_0xdbde14=_0x31b36a['ln'])==null||(_0xdbde14=_0xdbde14[_0x5c5e0e(0x1fa)])==null?void 0x0:_0xdbde14[_0x5c5e0e(0x4d3)])==null?c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x157)]:_0x3d3fa4),[_0x4d2dba,_0x2373ff]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x253e41=(_0x3ab93c=_0x31b36a['ln'])==null||(_0x3ab93c=_0x3ab93c['endArrow'])==null?void 0x0:_0x3ab93c[_0x5c5e0e(0x41d)])==null?c['ShapeArrowTypeEnum']['None']:_0x253e41),[_0x4cb3c2,_0xeeb2c7]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x93f6b2=(_0x2212ff=_0x31b36a['ln'])==null||(_0x2212ff=_0x2212ff[_0x5c5e0e(0x174)])==null?void 0x0:_0x2212ff[_0x5c5e0e(0x4d3)])==null?c['ShapeArrowSizeEnum'][_0x5c5e0e(0x157)]:_0x93f6b2),[_0x16eef1,_0x59c7cb]=(0x0,y[_0x5c5e0e(0x4b2)])(!0x1),_0x1e15e9=0x64-_0x297930*0x64,_0x39840e=[{'label':_0x368f36['t'](_0x5c5e0e(0x370)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x34a)])},{'label':_0x368f36['t']('docs-shape-ui.line.dashType.roundDot'),'value':String(c[_0x5c5e0e(0x32a)]['RoundDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x1c7)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x49d)])},{'label':_0x368f36['t'](_0x5c5e0e(0x133)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x38b)])},{'label':_0x368f36['t']('docs-shape-ui.line.dashType.dashDot'),'value':String(c['ShapeLineDashEnum']['DashDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5c0)),'value':String(c[_0x5c5e0e(0x32a)]['LongDash'])},{'label':_0x368f36['t'](_0x5c5e0e(0x1de)),'value':String(c[_0x5c5e0e(0x32a)]['LongDashDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5b9)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x177)])}],_0x15353e=[{'label':_0x368f36['t']('docs-shape-ui.line.capType.flat'),'value':String(c[_0x5c5e0e(0x3af)][_0x5c5e0e(0x180)])},{'label':_0x368f36['t'](_0x5c5e0e(0x1da)),'value':String(c['ShapeLineCapEnum'][_0x5c5e0e(0x33e)])},{'label':_0x368f36['t']('docs-shape-ui.line.capType.square'),'value':String(c[_0x5c5e0e(0x3af)][_0x5c5e0e(0x58e)])}],_0x4f545b=[{'label':_0x368f36['t']('docs-shape-ui.line.sketchType.none'),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x536)])},{'label':_0x368f36['t'](_0x5c5e0e(0x3a5)),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x5d3)])},{'label':_0x368f36['t'](_0x5c5e0e(0x140)),'value':String(c[_0x5c5e0e(0x49a)]['Freehand'])},{'label':_0x368f36['t'](_0x5c5e0e(0x3a2)),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x36c)])}],_0x2cf1d1=[{'label':_0x368f36['t'](_0x5c5e0e(0x46b)),'value':String(c[_0x5c5e0e(0x361)]['Miter'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5ef)),'value':String(c['ShapeLineJoinEnum'][_0x5c5e0e(0x33e)])},{'label':_0x368f36['t'](_0x5c5e0e(0x286)),'value':String(c[_0x5c5e0e(0x361)][_0x5c5e0e(0x27e)])}],_0x2e3cfa=[{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.none'),'value':String(c['ShapeArrowTypeEnum']['None'])},{'label':_0x368f36['t'](_0x5c5e0e(0x56d)),'value':String(c['ShapeArrowTypeEnum'][_0x5c5e0e(0x32e)])},{'label':_0x368f36['t'](_0x5c5e0e(0x3bd)),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x121)])},{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.stealthArrow'),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x3eb)])},{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x26d)])},{'label':_0x368f36['t'](_0x5c5e0e(0x2a4)),'value':String(c['ShapeArrowTypeEnum'][_0x5c5e0e(0x493)])}],_0x147222=[{'label':_0x368f36['t']('docs-shape-ui.line.arrowSize.small'),'value':String(c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x3fb)])},{'label':_0x368f36['t'](_0x5c5e0e(0x532)),'value':String(c['ShapeArrowSizeEnum']['Medium'])},{'label':_0x368f36['t'](_0x5c5e0e(0x325)),'value':String(c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x55d)])}];return(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x5ac),'children':[(0x0,x['jsxs'])(v[_0x5c5e0e(0x2eb)],{'value':String(_0x2720e3),'disabled':_0x39544a,'onChange':_0x3be99e=>{const _0x24a290=_0x5c5e0e;var _0x2d9b73;_0x1e9e41(Number(_0x3be99e)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x2d9b73=_0xcff10b[_0x24a290(0x2b6)])==null?void 0x0:_0x2d9b73[_0x24a290(0x208)]}}},{'stroke':{'lineStrokeType':Number(_0x3be99e)}});},'direction':_0x5c5e0e(0x44c),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(v['Radio'],{'value':String(c[_0x5c5e0e(0x526)]['NoLine']),'children':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0x485),'children':_0x368f36['t']('docs-shape-ui.line.noLine')})}),(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x232)],{'value':String(c[_0x5c5e0e(0x526)][_0x5c5e0e(0x315)]),'children':(0x0,x['jsx'])('span',{'className':_0x5c5e0e(0x485),'children':_0x368f36['t'](_0x5c5e0e(0x5ce))})})]}),_0x2720e3!==c['ShapeLineTypeEnum'][_0x5c5e0e(0x4f3)]&&(0x0,x['jsxs'])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,x['jsxs'])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t']('docs-shape-ui.line.color')}),(0x0,x['jsx'])(v[_0x5c5e0e(0x10e)],{'disabled':_0x39544a,'overlay':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,x['jsx'])(v[_0x5c5e0e(0x12a)],{'value':_0x189ea5,'onChange':_0x2aed63=>{const _0x33d9ed=_0x5c5e0e;var _0x10a6eb;z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'color':(_0x10a6eb=_0xcff10b[_0x33d9ed(0x2b6)])==null?void 0x0:_0x10a6eb['color']}}},{'stroke':{'color':_0x2aed63}}),_0x2f337b(_0x2aed63),_0x59c7cb(!0x1);}})}),'open':_0x16eef1,'onOpenChange':_0x59c7cb,'children':(0x0,x[_0x5c5e0e(0x511)])('a',{'className':_0x5c5e0e(0x143),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(h[_0x5c5e0e(0x2ab)],{'className':'univer-text-gray-500','extend':{'colorChannel1':_0x189ea5}}),(0x0,x[_0x5c5e0e(0x4e3)])(h[_0x5c5e0e(0x242)],{'className':(0x0,v['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x16eef1})})]})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x2a6),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0x59a),'children':_0x368f36['t'](_0x5c5e0e(0x3c9))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x551),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x59f)],{'className':_0x5c5e0e(0x233),'value':_0x1e15e9,'disabled':_0x39544a,'min':0x0,'max':0x64,'formatter':_0x4b277c=>_0x4b277c+'%','parser':_0x15caa1=>(_0x15caa1==null?void 0x0:_0x15caa1[_0x5c5e0e(0x29c)]('%',''))||'','onChange':_0x2eef85=>{const _0x9098f4=_0x5c5e0e;var _0x33e6d1;let _0x7a85a0=(0x64-Math['max'](0x0,Math['min'](0x64,_0x2eef85==null?0x0:_0x2eef85)))/0x64;_0x307a71(_0x7a85a0),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'opacity':(_0x33e6d1=_0xcff10b['stroke'])==null?void 0x0:_0x33e6d1['opacity']}}},{'stroke':{'opacity':_0x7a85a0}}),_0x286c6c[_0x9098f4(0x449)](u[_0x9098f4(0x42e)],!0x1);},'onFocus':()=>_0x286c6c['setContextValue'](u[_0x5c5e0e(0x42e)],!0x0),'onBlur':_0x5e1a86=>{const _0x5e8485=_0x5c5e0e;_0x286c6c[_0x5e8485(0x449)](u[_0x5e8485(0x42e)],!0x1);}})})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x2a6),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.width')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x500),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x59f)],{'className':_0x5c5e0e(0x233),'disabled':_0x39544a,'value':_0x4d40ab,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x2714d4=>_0x2714d4+_0x5c5e0e(0xe5),'parser':_0xe9c4fe=>(_0xe9c4fe==null?void 0x0:_0xe9c4fe[_0x5c5e0e(0x29c)](_0x5c5e0e(0xe5),''))||'','onChange':_0x5c3914=>{const _0x4d2662=_0x5c5e0e;if(!Number[_0x4d2662(0x472)](_0x5c3914)&&_0x5c3914!==null){var _0x6864d7;z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'width':(_0x6864d7=_0xcff10b['stroke'])==null?void 0x0:_0x6864d7[_0x4d2662(0x3ed)]}}},{'stroke':{'width':_0x5c3914}});}_0x286c6c[_0x4d2662(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x286c6c[_0x5c5e0e(0x449)](u[_0x5c5e0e(0x42e)],!0x0),'onBlur':_0x21a88b=>{const _0x5bbb77=_0x5c5e0e;_0x286c6c[_0x5bbb77(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x410))}),(0x0,x[_0x5c5e0e(0x4e3)])('div',{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x47637a),'options':_0x39840e,'disabled':_0x39544a,'onChange':_0x502a28=>{const _0x5edd2d=_0x5c5e0e;var _0x4a958f;_0xd11c3a(Number(_0x502a28)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'dashType':(_0x4a958f=_0xcff10b[_0x5edd2d(0x2b6)])==null?void 0x0:_0x4a958f['dashType']}}},{'stroke':{'dashType':Number(_0x502a28)}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])('div',{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x51c))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x9daaf1),'options':_0x15353e,'disabled':_0x39544a,'onChange':_0x605f11=>{const _0x23a2e7=_0x5c5e0e;var _0x3c08ad;_0x47ec17(Number(_0x605f11)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'capType':(_0x3c08ad=_0xcff10b[_0x23a2e7(0x2b6)])==null?void 0x0:_0x3c08ad['capType']}}},{'stroke':{'capType':Number(_0x605f11)}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t'](_0x5c5e0e(0x414))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x586d61),'options':_0x2cf1d1,'disabled':_0x39544a,'onChange':_0x1760f6=>{const _0x48f575=_0x5c5e0e;var _0x18e876;_0x4fd50b(Number(_0x1760f6)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'lineJoinType':(_0x18e876=_0xcff10b[_0x48f575(0x2b6)])==null?void 0x0:_0x18e876['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x1760f6)}});}})})]}),!_0x537495&&(0x0,x[_0x5c5e0e(0x511)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t']('docs-shape-ui.line.sketchType.title')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x52b706),'options':_0x4f545b,'disabled':_0x39544a,'onChange':_0x39bbd2=>{const _0x4949f6=_0x5c5e0e;var _0x4e3f6c;_0x47efcf(Number(_0x39bbd2)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'sketchType':(_0x4e3f6c=_0xcff10b['stroke'])==null?void 0x0:_0x4e3f6c[_0x4949f6(0x14a)]}}},{'stroke':{'sketchType':Number(_0x39bbd2)}});}})})]}),_0x537495&&(0x0,x[_0x5c5e0e(0x511)])(x[_0x5c5e0e(0x2e7)],{'children':[(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.beginArrowType')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x4d2c1d),'options':_0x2e3cfa,'onChange':_0x2e46c9=>{const _0x52467d=_0x5c5e0e;var _0x2df00c;_0x2fff99(Number(_0x2e46c9)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x2df00c=_0xcff10b['ln'])==null||(_0x2df00c=_0x2df00c[_0x52467d(0x1fa)])==null?void 0x0:_0x2df00c[_0x52467d(0x41d)]}}}},{'ln':{'startArrow':{'type':Number(_0x2e46c9)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x426))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v['Select'],{'className':_0x5c5e0e(0x233),'value':String(_0x4eb76f),'options':_0x147222,'onChange':_0x2284bd=>{const _0x4d5706=_0x5c5e0e;var _0x4fead5;_0x5f5a1c(Number(_0x2284bd)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x4fead5=_0xcff10b['ln'])==null||(_0x4fead5=_0x4fead5[_0x4d5706(0x1fa)])==null?void 0x0:_0x4fead5['size']}}}},{'ln':{'startArrow':{'size':Number(_0x2284bd)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.endArrowType')}),(0x0,x['jsx'])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x['jsx'])(v['Select'],{'className':_0x5c5e0e(0x233),'value':String(_0x4d2dba),'options':_0x2e3cfa,'onChange':_0x47f112=>{const _0x4af820=_0x5c5e0e;var _0xaef8b3;_0x2373ff(Number(_0x47f112)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'endArrow':{'type':(_0xaef8b3=_0xcff10b['ln'])==null||(_0xaef8b3=_0xaef8b3[_0x4af820(0x174)])==null?void 0x0:_0xaef8b3[_0x4af820(0x41d)]}}}},{'ln':{'endArrow':{'type':Number(_0x47f112)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])('div',{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])('span',{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x293))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x['jsx'])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x4cb3c2),'options':_0x147222,'onChange':_0x850c6a=>{const _0x2f2a74=_0x5c5e0e;var _0x4ecd0e;_0xeeb2c7(Number(_0x850c6a)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x4ecd0e=_0xcff10b['ln'])==null||(_0x4ecd0e=_0x4ecd0e[_0x2f2a74(0x174)])==null?void 0x0:_0x4ecd0e[_0x2f2a74(0x4d3)]}}}},{'ln':{'endArrow':{'size':Number(_0x850c6a)}}});}})})]})]})]})]});}function Y(){const _0xef0a12=_0x3b6577;let _0x1c9202=(0x0,g[_0xef0a12(0x19e)])(m[_0xef0a12(0x539)]),[_0x47ac49,_0x5ccba3]=(0x0,y[_0xef0a12(0x4b2)])(_0x1c9202[_0xef0a12(0x321)]());return(0x0,y[_0xef0a12(0x531)])(()=>{const _0x545bf5=_0xef0a12;let _0x4324c5=_0x1c9202[_0x545bf5(0x36d)][_0x545bf5(0x451)](_0x3e39e0=>{_0x5ccba3(_0x3e39e0);});return()=>{const _0x451ce2=_0x545bf5;_0x4324c5[_0x451ce2(0x52b)]();};},[]),_0x47ac49[_0xef0a12(0x254)]===0x0?null:(0x0,x['jsx'])('div',{'children':(0x0,x[_0xef0a12(0x511)])(_0xef0a12(0x577),{'className':_0xef0a12(0x4d8),'children':[(0x0,x[_0xef0a12(0x4e3)])(b[_0xef0a12(0xf1)],{'drawings':_0x47ac49,'hasCropper':!0x1}),(0x0,x[_0xef0a12(0x4e3)])(d[_0xef0a12(0x3ec)],{'drawings':_0x47ac49}),(0x0,x[_0xef0a12(0x4e3)])(d[_0xef0a12(0xda)],{'drawings':_0x47ac49})]})});}function X(_0x4cf217){const _0x52e328=_0x3b6577;let {shapeData:_0x145376,shapeId:_0x50f28d,shapeType:_0x46a312,version:_0x51c85f,unitId:_0x1b5aab,subUnitId:_0x47d6ef,disableShapeOption:_0x28826d}=_0x4cf217,_0x25267b=(0x0,g[_0x52e328(0x19e)])(u[_0x52e328(0x1f5)]),_0x2c00d4=(0x0,c[_0x52e328(0x448)])(_0x46a312),[_0x5ed8a9,_0x4d42a3]=(0x0,y[_0x52e328(0x4b2)])(0x0),_0x542377=[{'label':(0x0,x[_0x52e328(0x4e3)])('div',{'children':_0x25267b['t']('docs-shape-ui.fill.title')}),'children':(0x0,x['jsx'])(_0x52e328(0x466),{'className':_0x52e328(0x3cb),'children':(0x0,x['jsx'])(ie,{'shapeId':_0x50f28d,'shapeData':_0x145376,'isLineShape':_0x2c00d4,'subUnitId':_0x47d6ef,'unitId':_0x1b5aab,'disableShapeOption':_0x28826d},_0x50f28d)})},{'label':(0x0,x['jsx'])(_0x52e328(0x577),{'children':_0x25267b['t'](_0x52e328(0x2c6))}),'children':(0x0,x[_0x52e328(0x4e3)])('section',{'className':_0x52e328(0x3cb),'children':(0x0,x[_0x52e328(0x4e3)])(oe,{'shapeId':_0x50f28d,'shapeData':_0x145376,'isLineShape':_0x2c00d4,'subUnitId':_0x47d6ef,'unitId':_0x1b5aab,'disableShapeOption':_0x28826d},_0x50f28d)})}];return(0x0,x[_0x52e328(0x511)])('div',{'className':'univer-size-full','children':[(0x0,x[_0x52e328(0x511)])(_0x52e328(0x577),{'className':_0x52e328(0x1f9),'children':[(0x0,x[_0x52e328(0x511)])(_0x52e328(0x577),{'className':(0x0,v[_0x52e328(0x2c3)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x5ed8a9===0x0?'univer-text-primary-600':_0x52e328(0x407)),'onClick':()=>_0x4d42a3(0x0),'children':[_0x25267b['t'](_0x52e328(0x46e)),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':(0x0,v['clsx'])(_0x52e328(0x4e2),{'univer-bg-primary-600':_0x5ed8a9===0x0,'univer-bg-transparent':_0x5ed8a9!==0x0})})]}),(0x0,x['jsxs'])(_0x52e328(0x577),{'className':(0x0,v['clsx'])(_0x52e328(0x550),{'univer-text-primary-600':_0x5ed8a9===0x1,'univer-text-gray-500':_0x5ed8a9!==0x1}),'onClick':()=>_0x4d42a3(0x1),'children':[_0x25267b['t'](_0x52e328(0x257)),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':(0x0,v[_0x52e328(0x2c3)])(_0x52e328(0x5ee),{'univer-bg-primary-600':_0x5ed8a9===0x1,'univer-bg-transparent':_0x5ed8a9!==0x1})})]})]}),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':_0x52e328(0x15d),'children':_0x5ed8a9===0x0?(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':'','children':(0x0,x['jsx'])(v[_0x52e328(0x55a)],{'items':_0x542377})},_0x51c85f):(0x0,x[_0x52e328(0x4e3)])(Y,{})})]});}function se(_0x12e40d,_0x449006=u['HorizontalAlign'][_0x3b6577(0x2c8)]){const _0x501bcb=_0x3b6577;return{'id':_0x501bcb(0x2f1),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x449006}}]},'documentStyle':{'textStyle':_0x12e40d?{..._0x12e40d}:void 0x0}};}function Z(_0x4ca996,_0x40a70b){const _0x563967=_0x3b6577;var _0x2b8ff9,_0x308504;let _0x31ebec=_0x4ca996[_0x563967(0x5c1)],_0x249c8a=_0x31ebec&&'dataModel'in _0x31ebec?_0x31ebec[_0x563967(0x590)]:void 0x0,_0x5c1edf=(_0x2b8ff9=(_0x308504=_0x40a70b[_0x563967(0x30a)])==null?_0x249c8a==null?void 0x0:_0x249c8a['ha']:_0x308504)==null?u['HorizontalAlign'][_0x563967(0x2c8)]:_0x2b8ff9;if(_0x249c8a!=null&&_0x249c8a[_0x563967(0xe0)]){var _0xad7149,_0x560fcc;return{'va':(_0xad7149=_0x249c8a['va'])==null?u[_0x563967(0x3d9)][_0x563967(0x170)]:_0xad7149,'ha':(_0x560fcc=_0x249c8a['ha'])==null?u['HorizontalAlign'][_0x563967(0x2c8)]:_0x560fcc,'doc':u[_0x563967(0x238)]['deepClone'](_0x249c8a[_0x563967(0xe0)])};}return{'va':u[_0x563967(0x3d9)][_0x563967(0x170)],'ha':_0x5c1edf,'doc':se(_0x40a70b['textStyle'],_0x5c1edf)};}function ce(_0xf18bc1,_0x1ff57a){const _0x2c7a1c=_0x3b6577;var _0x476ecd,_0x52b914,_0x34d881,_0x29cf28;let _0x288aac=_0xf18bc1[_0x2c7a1c(0x5c1)],_0x44807b=Z(_0xf18bc1,_0x1ff57a),_0x3238c2=(_0x476ecd=_0x1ff57a[_0x2c7a1c(0x30a)])==null?_0x44807b['ha']:_0x476ecd,_0x156d46=(_0x52b914=_0x1ff57a[_0x2c7a1c(0x19a)])==null?_0x44807b['va']:_0x52b914,_0x370724=_0x44807b[_0x2c7a1c(0xe0)];if(_0x1ff57a[_0x2c7a1c(0x5bc)]){var _0x2a38ca,_0x2f4604;_0x370724[_0x2c7a1c(0x4d4)]={..._0x370724['documentStyle'],'textStyle':{...(_0x2a38ca=_0x370724['documentStyle'])==null?void 0x0:_0x2a38ca['textStyle'],..._0x1ff57a['textStyle']}};let _0x543ca6=(_0x2f4604=_0x370724[_0x2c7a1c(0x150)])==null?void 0x0:_0x2f4604[_0x2c7a1c(0x347)];if(_0x543ca6){for(let _0x36323c of _0x543ca6)_0x36323c['ts']={..._0x36323c['ts'],..._0x1ff57a[_0x2c7a1c(0x5bc)]};}}let _0xdc1330=(_0x34d881=_0x370724[_0x2c7a1c(0x150)])==null?void 0x0:_0x34d881[_0x2c7a1c(0x479)];if(_0xdc1330){for(let _0x59f5f6 of _0xdc1330)_0x59f5f6[_0x2c7a1c(0x552)]={..._0x59f5f6[_0x2c7a1c(0x552)],'horizontalAlign':_0x3238c2};}return{'shapeText':{'isHorizontal':(_0x29cf28=_0x288aac==null?void 0x0:_0x288aac[_0x2c7a1c(0x4d5)])==null?!0x0:_0x29cf28,'dataModel':{'va':_0x156d46,'ha':_0x3238c2,'doc':_0x370724}}};}const le='doc.shape.floating-toolbar';function Q(_0x367a41){const _0x286f11=_0x3b6577;let _0x45c042=_0x367a41[_0x286f11(0x5c1)];return _0x45c042&&_0x286f11(0x590)in _0x45c042&&_0x45c042[_0x286f11(0x590)]?_0x45c042[_0x286f11(0x590)]:null;}function ue(_0x5d419b){const _0x5f328b=_0x3b6577;var _0x1aa5d5,_0x593cd4,_0x156c47,_0x1c7a2c;let _0x4d0012=(_0x1aa5d5=Q(_0x5d419b))==null?void 0x0:_0x1aa5d5[_0x5f328b(0xe0)],_0x5e1f11=(_0x593cd4=_0x4d0012==null||(_0x156c47=_0x4d0012[_0x5f328b(0x150)])==null||(_0x156c47=_0x156c47[_0x5f328b(0x347)])==null||(_0x156c47=_0x156c47[0x0])==null?void 0x0:_0x156c47['ts'])==null?{}:_0x593cd4;return{..._0x4d0012==null||(_0x1c7a2c=_0x4d0012['documentStyle'])==null?void 0x0:_0x1c7a2c[_0x5f328b(0x5bc)],..._0x5e1f11};}function de(_0x3734d9,_0x1c2155){const _0x31e137=_0x3b6577;var _0x5bdff5;let _0x423d17=_0x3734d9==null||(_0x5bdff5=_0x3734d9[_0x31e137(0x3fd)]()[_0x31e137(0x1ba)])==null?void 0x0:_0x5bdff5[_0x1c2155];return _0x423d17?_0x423d17[_0x31e137(0x311)]===u['PositionedObjectLayoutType'][_0x31e137(0x427)]?_0x423d17[_0x31e137(0x5c9)]===u[_0x31e137(0x340)][_0x31e137(0x156)]?_0x31e137(0x260):'inFrontOfText':_0x423d17[_0x31e137(0x311)]===u[_0x31e137(0x471)]['WRAP_SQUARE']?'wrapSquare':_0x423d17[_0x31e137(0x311)]===u[_0x31e137(0x471)][_0x31e137(0x4a6)]?_0x31e137(0x11f):_0x31e137(0x3ee):_0x31e137(0x3ee);}function fe(){const _0x33efee=_0x3b6577;return(0x0,x[_0x33efee(0x4e3)])(_0x33efee(0x563),{'className':_0x33efee(0x1a8)});}function pe(){const _0x13a6b1=_0x3b6577;return(0x0,x['jsxs'])(_0x13a6b1(0xdb),{'viewBox':_0x13a6b1(0x3f8),'width':'1em','height':_0x13a6b1(0x195),'fill':'none','aria-hidden':_0x13a6b1(0x45d),'children':[(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':'M2.5\x204.5H8.2','stroke':_0x13a6b1(0x558),'strokeWidth':'1.4','strokeLinecap':_0x13a6b1(0x135)}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x530),'stroke':'currentColor','strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':'round'}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x480),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':'M14.3\x2010H17.5','stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x432),'stroke':_0x13a6b1(0x558),'strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':_0x13a6b1(0x135)}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':'M11.8\x2015.5H17.5','stroke':_0x13a6b1(0x558),'strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':_0x13a6b1(0x135)}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x309),{'x':_0x13a6b1(0x4a3),'y':'7','width':_0x13a6b1(0x5aa),'height':'6','rx':'1','stroke':'currentColor','strokeWidth':_0x13a6b1(0x4b4)})]});}function me(_0x1de0bd){const _0x1b631a=_0x3b6577;return _0x1de0bd instanceof HTMLElement?!!_0x1de0bd[_0x1b631a(0x482)](_0x1b631a(0x52c)):!0x1;}function $(_0x2803a5){const _0x3afb48=_0x3b6577;return(0x0,x['jsx'])(_0x3afb48(0x577),{'className':_0x3afb48(0x484),'children':_0x2803a5[_0x3afb48(0x158)]});}function he(_0x4da705){const _0x29de2e=_0x3b6577;return(0x0,x[_0x29de2e(0x4e3)])(v[_0x29de2e(0x3a8)],{'title':_0x4da705[_0x29de2e(0x1f3)],'placement':_0x29de2e(0x4a5),'children':(0x0,x[_0x29de2e(0x4e3)])('button',{'type':'button','disabled':_0x4da705[_0x29de2e(0x226)],'onClick':_0x4da705[_0x29de2e(0x1d6)],'className':(0x0,v[_0x29de2e(0x2c3)])('univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4da705['active']}),'children':_0x4da705[_0x29de2e(0x158)]})});}function ge(_0xd94d28){const _0x10cce6=_0x3b6577;let [_0x342a1e,_0x53c558]=(0x0,y[_0x10cce6(0x4b2)])(!0x1);return(0x0,x[_0x10cce6(0x4e3)])(v[_0x10cce6(0x10e)],{'disabled':_0xd94d28[_0x10cce6(0x226)],'open':_0x342a1e,'onOpenChange':_0x53c558,'overlay':(0x0,x[_0x10cce6(0x4e3)])(_0x10cce6(0x577),{'className':_0x10cce6(0x444),'children':(0x0,x[_0x10cce6(0x4e3)])(v[_0x10cce6(0x12a)],{'value':_0xd94d28[_0x10cce6(0x30f)],'onChange':_0x4e1f56=>{const _0x334379=_0x10cce6;_0xd94d28[_0x334379(0x215)](_0x4e1f56),_0x53c558(!0x1);}})}),'children':(0x0,x[_0x10cce6(0x4e3)])(_0x10cce6(0x563),{'children':(0x0,x[_0x10cce6(0x4e3)])(v['Tooltip'],{'title':_0xd94d28[_0x10cce6(0x1f3)],'placement':_0x10cce6(0x4a5),'children':(0x0,x[_0x10cce6(0x511)])(_0x10cce6(0x28f),{'type':'button','disabled':_0xd94d28[_0x10cce6(0x226)],'className':_0x10cce6(0x3d8),'children':[_0xd94d28['children'],(0x0,x[_0x10cce6(0x4e3)])('span',{'className':_0x10cce6(0x3e9),'style':{'backgroundColor':_0xd94d28[_0x10cce6(0x30f)]}})]})})})});}function _e(_0x5a8c41){const _0xc93910=_0x3b6577;var _0x1be213;let [_0x917f8d,_0x210b88]=(0x0,y[_0xc93910(0x4b2)])(!0x1),_0xfe04ed=(_0x1be213=_0x5a8c41[_0xc93910(0x42a)][_0xc93910(0x276)](_0x2d24da=>_0x2d24da['value']===_0x5a8c41['value']))==null?_0x5a8c41['options'][0x0]:_0x1be213;return(0x0,x[_0xc93910(0x4e3)])(v['Dropdown'],{'open':_0x917f8d,'onOpenChange':_0x210b88,'overlay':(0x0,x['jsx'])(_0xc93910(0x577),{'className':'univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x5a8c41[_0xc93910(0x42a)][_0xc93910(0x567)](_0x1a180d=>(0x0,x[_0xc93910(0x511)])(_0xc93910(0x28f),{'type':_0xc93910(0x28f),'onClick':()=>{const _0x4a7fd8=_0xc93910;_0x5a8c41[_0x4a7fd8(0x215)](_0x1a180d[_0x4a7fd8(0x5e4)]),_0x210b88(!0x1);},'className':(0x0,v[_0xc93910(0x2c3)])(_0xc93910(0x1d8),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x1a180d[_0xc93910(0x5e4)]===_0x5a8c41['value']}),'children':[(0x0,x[_0xc93910(0x4e3)])(_0xc93910(0x563),{'className':_0xc93910(0x423),'children':_0x1a180d['icon']}),(0x0,x['jsx'])(_0xc93910(0x563),{'className':_0xc93910(0x166),'children':_0x1a180d[_0xc93910(0x3dd)]})]},_0x1a180d[_0xc93910(0x5e4)]))}),'children':(0x0,x['jsx'])(_0xc93910(0x563),{'children':(0x0,x[_0xc93910(0x4e3)])(v['Tooltip'],{'title':_0x5a8c41[_0xc93910(0x1f3)],'placement':_0xc93910(0x4a5),'children':(0x0,x[_0xc93910(0x511)])(_0xc93910(0x28f),{'type':_0xc93910(0x28f),'className':(0x0,v[_0xc93910(0x2c3)])(_0xc93910(0x579),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x917f8d}),'children':[_0xfe04ed[_0xc93910(0x445)],(0x0,x[_0xc93910(0x4e3)])(h[_0xc93910(0x242)],{'className':_0xc93910(0x4f5)})]})})})});}function ve(_0x150690){const _0x473e22=_0x3b6577;var _0x36f669,_0x45d137,_0x43791d,_0xae8fef,_0x2c0600,_0x528a93,_0x5d6359,_0x5b0815,_0x41f213,_0x3566da,_0x4df0f5,_0xc9ecbd,_0x167db9,_0x56396a,_0x20748d,_0x14649c,_0x386083,_0x5a7808,_0x467c74,_0x2931db,_0x2725a0;let _0x3f2159=_0x150690['popup'][_0x473e22(0x570)];if(!_0x3f2159)return null;let _0x5b654f=(0x0,g[_0x473e22(0x19e)])(u[_0x473e22(0x243)]),_0x458cd5=(0x0,g['useDependency'])(u[_0x473e22(0x1f5)]),_0x5160f0=(0x0,g['useDependency'])(l[_0x473e22(0x1fc)]),_0x197356=(0x0,g['useDependency'])(u[_0x473e22(0x58c)]),_0x583b0c=(0x0,g[_0x473e22(0x19e)])(u['IContextService']),_0x5aca15=(0x0,g[_0x473e22(0x19e)])(g['IFontService']),{unitId:_0x5cf109,subUnitId:_0x38c3ac,drawingId:_0x4ba3ce,shapeType:_0x44dc08}=_0x3f2159,[_0xbcdda6,_0x5ebc9d]=(0x0,y[_0x473e22(0x4b2)])(_0x3f2159[_0x473e22(0x5a2)]),[_0x5acf03,_0x54aea1]=(0x0,y[_0x473e22(0x4b2)])(!0x1),[_0x45155e,_0x48bc8a]=(0x0,y[_0x473e22(0x4b2)])(()=>_0x5aca15[_0x473e22(0x5d2)]()),_0x7ef924=(_0x36f669=_0x197356['getUnit'](_0x5cf109,u[_0x473e22(0x2f8)][_0x473e22(0x512)]))==null?void 0x0:_0x36f669,[_0x221477,_0x4b430a]=(0x0,y['useState'])(()=>de(_0x7ef924,_0x4ba3ce)),_0x52e1fb=(0x0,c[_0x473e22(0x448)])(_0x44dc08),_0x2232ee=(0x0,y[_0x473e22(0x523)])(()=>ue(_0xbcdda6),[_0xbcdda6]),_0x21db3b=(0x0,y[_0x473e22(0x523)])(()=>Q(_0xbcdda6),[_0xbcdda6]);(0x0,y[_0x473e22(0x531)])(()=>{const _0x2f489b=_0x473e22;let _0x41e4e0=_0x5b654f[_0x2f489b(0x19c)](_0x13eb74=>{const _0x49081f=_0x2f489b;if(_0x13eb74['id']!==l[_0x49081f(0x388)]['id'])return;let _0x1b3163=_0x5160f0[_0x49081f(0x573)](_0x5cf109,_0x38c3ac,_0x4ba3ce);_0x1b3163&&_0x5ebc9d(_0x1b3163);});return()=>_0x41e4e0['dispose']();},[_0x5b654f,_0x5160f0,_0x4ba3ce,_0x38c3ac,_0x5cf109]),(0x0,y['useEffect'])(()=>{const _0x2609e6=_0x473e22;let _0xd04342=_0x5aca15['fonts$']['subscribe'](_0x3791a3=>{_0x48bc8a(_0x3791a3);});return()=>_0xd04342[_0x2609e6(0x52b)]();},[_0x5aca15]);let _0x2ddd75=_0x3d7728=>{_0x5ebc9d(_0x3ee704=>({..._0x3ee704,..._0x3d7728}));},_0x1fbd0f=_0x56fd6b=>{const _0x337b97=_0x473e22;let _0x2b9a32=ce(_0xbcdda6,_0x56fd6b);z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'shapeText':_0xbcdda6[_0x337b97(0x5c1)]}},_0x2b9a32),_0x2ddd75(_0x2b9a32);},_0x45c4bf=_0x155241=>{const _0x48d52d=_0x473e22;_0x4b430a(_0x155241),_0x5b654f[_0x48d52d(0x5e8)]('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawings':[{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce}],'wrappingStyle':_0x155241});};if(_0x5acf03)return null;let _0x55c22c=(_0x45d137=(_0x43791d=_0xbcdda6[_0x473e22(0x207)])==null?void 0x0:_0x43791d[_0x473e22(0x30f)])==null?'#3B82F6':_0x45d137,_0x5bdec5=(_0xae8fef=(_0x2c0600=_0xbcdda6[_0x473e22(0x2b6)])==null?void 0x0:_0x2c0600[_0x473e22(0x30f)])==null?_0x473e22(0x304):_0xae8fef,_0x5e2db5=(_0x528a93=(_0x5d6359=_0x2232ee['cl'])==null?void 0x0:_0x5d6359[_0x473e22(0x580)])==null?_0x473e22(0x4dd):_0x528a93,_0x667f05=(_0x5b0815=(_0x41f213=_0x2232ee['bg'])==null?void 0x0:_0x41f213['rgb'])==null?_0x473e22(0x3b8):_0x5b0815,_0x2d507b=(_0x3566da=_0x2232ee['ff'])==null?_0x473e22(0x547):_0x3566da,_0x4aafd1=(_0x4df0f5=_0x2232ee['fs'])==null?0xe:_0x4df0f5,_0x20e585=_0x2232ee['bl']===u['BooleanNumber'][_0x473e22(0x156)],_0x55f096=_0x2232ee['it']===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x5d4ba5=((_0xc9ecbd=_0x2232ee['ul'])==null?void 0x0:_0xc9ecbd['s'])===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x4e2881=((_0x167db9=_0x2232ee['st'])==null?void 0x0:_0x167db9['s'])===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x2c4b32=_0x45155e['map'](_0x44414a=>({'label':_0x458cd5['t'](_0x44414a[_0x473e22(0x3dd)]),'value':_0x44414a[_0x473e22(0x5e4)]})),_0x46bdbb=g[_0x473e22(0x131)][_0x473e22(0x567)](_0x338e3d=>({'label':_0x338e3d['label'],'value':String(_0x338e3d[_0x473e22(0x5e4)])})),_0x3abdf1=(_0x56396a=_0x21db3b==null?void 0x0:_0x21db3b['ha'])==null?u[_0x473e22(0xf9)][_0x473e22(0x2c8)]:_0x56396a,_0x6c2cd2=(_0x20748d=_0x21db3b==null?void 0x0:_0x21db3b['va'])==null?u[_0x473e22(0x3d9)][_0x473e22(0x170)]:_0x20748d,_0xd900=[{'label':_0x458cd5['t'](_0x473e22(0x534)),'value':u[_0x473e22(0xf9)][_0x473e22(0x2c8)],'icon':(0x0,x[_0x473e22(0x4e3)])(h['LeftJustifyingIcon'],{})},{'label':_0x458cd5['t'](_0x473e22(0x359)),'value':u['HorizontalAlign']['CENTER'],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x43f)],{})},{'label':_0x458cd5['t'](_0x473e22(0x4cb)),'value':u['HorizontalAlign'][_0x473e22(0x3df)],'icon':(0x0,x['jsx'])(h['RightJustifyingIcon'],{})},{'label':_0x458cd5['t'](_0x473e22(0x42c)),'value':u[_0x473e22(0xf9)][_0x473e22(0x39c)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x4ad)],{})}],_0x1a4591=[{'label':_0x458cd5['t'](_0x473e22(0x41c)),'value':u[_0x473e22(0x3d9)][_0x473e22(0x170)],'icon':(0x0,x[_0x473e22(0x4e3)])(h['AlignTopIcon'],{})},{'label':_0x458cd5['t']('docs-shape-ui.align.middle'),'value':u[_0x473e22(0x3d9)][_0x473e22(0x36b)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x527)],{})},{'label':_0x458cd5['t'](_0x473e22(0x1c2)),'value':u[_0x473e22(0x3d9)][_0x473e22(0x3c5)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x16b)],{})}],_0x28b338=[{'label':_0x458cd5['t']('docs-shape-ui.textWrap.inline'),'value':'inline','icon':(0x0,x['jsx'])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.square'),'value':_0x473e22(0x1e9),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x473e22(0x11f),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t'](_0x473e22(0x505)),'value':'behindText','icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x473e22(0x291),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})}];return(0x0,x[_0x473e22(0x511)])(_0x473e22(0x577),{'data-u-comp':_0x473e22(0x227),'onMouseDown':_0x126ea7=>{const _0x11a2db=_0x473e22;_0x126ea7[_0x11a2db(0x488)](),me(_0x126ea7['target'])||_0x126ea7[_0x11a2db(0x204)]();},'className':(0x0,v[_0x473e22(0x2c3)])('univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',v['borderClassName']),'children':[(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(ge,{'title':_0x458cd5['t'](_0x473e22(0x48a)),'color':_0x55c22c,'disabled':_0x52e1fb,'onChange':_0xbd308d=>{const _0x425d78=_0x473e22;let _0x1f40fb={'fill':{..._0xbcdda6['fill'],'fillType':c[_0x425d78(0x4c9)][_0x425d78(0x1db)],'color':_0xbd308d}};z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'fill':_0xbcdda6[_0x425d78(0x207)]}},_0x1f40fb),_0x2ddd75(_0x1f40fb);},'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x2ab)],{'extend':{'colorChannel1':_0x55c22c}})}),(0x0,x[_0x473e22(0x4e3)])(ge,{'title':_0x458cd5['t']('docs-shape-ui.line.title'),'color':_0x5bdec5,'onChange':_0x48c0f3=>{const _0x10ee10=_0x473e22;let _0x510b93={'stroke':{..._0xbcdda6[_0x10ee10(0x2b6)],'lineStrokeType':c[_0x10ee10(0x526)][_0x10ee10(0x315)],'color':_0x48c0f3}};z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'stroke':_0xbcdda6['stroke']}},_0x510b93),_0x2ddd75(_0x510b93);},'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x35f)],{})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'children':[(0x0,x[_0x473e22(0x4e3)])(v[_0x473e22(0x4af)],{'className':_0x473e22(0x118),'value':_0x2d507b,'options':_0x2c4b32,'onChange':_0x42974c=>_0x1fbd0f({'textStyle':{'ff':String(_0x42974c)}})}),(0x0,x[_0x473e22(0x4e3)])(v['Select'],{'className':_0x473e22(0x5c8),'value':String(_0x4aafd1),'options':_0x46bdbb,'onChange':_0x4c5619=>{const _0x2887ac=_0x473e22;let _0x4a2cf5=Number(_0x4c5619);Number[_0x2887ac(0x472)](_0x4a2cf5)||_0x1fbd0f({'textStyle':{'fs':_0x4a2cf5}}),_0x583b0c[_0x2887ac(0x449)](u[_0x2887ac(0x42e)],!0x1);}})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t'](_0x473e22(0x45c)),'active':_0x20e585,'onClick':()=>_0x1fbd0f({'textStyle':{'bl':_0x20e585?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u['BooleanNumber'][_0x473e22(0x156)]}}),'children':(0x0,x[_0x473e22(0x4e3)])(h['BoldIcon'],{})}),(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t'](_0x473e22(0x557)),'active':_0x55f096,'onClick':()=>_0x1fbd0f({'textStyle':{'it':_0x55f096?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u[_0x473e22(0x340)][_0x473e22(0x156)]}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x478)],{})}),(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t']('docs-shape-ui.toolbar.underline'),'active':_0x5d4ba5,'onClick':()=>_0x1fbd0f({'textStyle':{'ul':{'s':_0x5d4ba5?u[_0x473e22(0x340)]['FALSE']:u[_0x473e22(0x340)]['TRUE']}}}),'children':(0x0,x['jsx'])(h[_0x473e22(0x596)],{})}),(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0x54d)),'active':_0x4e2881,'onClick':()=>_0x1fbd0f({'textStyle':{'st':{'s':_0x4e2881?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u['BooleanNumber']['TRUE']}}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x37e)],{})})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(ge,{'title':_0x458cd5['t'](_0x473e22(0x323)),'color':_0x5e2db5,'onChange':_0x307b4e=>_0x1fbd0f({'textStyle':{'cl':{'rgb':_0x307b4e}}}),'children':(0x0,x['jsx'])(h['FontColorDoubleIcon'],{'extend':{'colorChannel1':_0x5e2db5}})}),(0x0,x['jsx'])(ge,{'title':_0x458cd5['t']('docs-shape-ui.toolbar.fillColor'),'color':_0x667f05,'onChange':_0x207a35=>_0x1fbd0f({'textStyle':{'bg':{'rgb':_0x207a35}}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x2ab)],{'extend':{'colorChannel1':_0x667f05}})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x14649c=(_0x386083=_0xd900[_0x473e22(0x276)](_0x4916d3=>_0x4916d3[_0x473e22(0x5e4)]===_0x3abdf1))==null?void 0x0:_0x386083[_0x473e22(0x3dd)])==null?_0x458cd5['t']('docs-shape-ui.toolbar.alignLeft'):_0x14649c,'value':_0x3abdf1,'options':_0xd900,'onChange':_0x3435c1=>_0x1fbd0f({'horizontalAlign':_0x3435c1})}),(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x5a7808=(_0x467c74=_0x1a4591[_0x473e22(0x276)](_0x32ceb3=>_0x32ceb3[_0x473e22(0x5e4)]===_0x6c2cd2))==null?void 0x0:_0x467c74[_0x473e22(0x3dd)])==null?_0x458cd5['t'](_0x473e22(0x41c)):_0x5a7808,'value':_0x6c2cd2,'options':_0x1a4591,'onChange':_0x3e2477=>_0x1fbd0f({'verticalAlign':_0x3e2477})})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x['jsx'])($,{'compact':!0x0,'children':(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x2931db=(_0x2725a0=_0x28b338[_0x473e22(0x276)](_0x358dc4=>_0x358dc4[_0x473e22(0x5e4)]===_0x221477))==null?void 0x0:_0x2725a0['label'])==null?_0x458cd5['t']('docs-shape-ui.textWrap.inline'):_0x2931db,'value':_0x221477,'options':_0x28b338,'onChange':_0x45c4bf})}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0xe7)),'onClick':()=>{const _0x356f78=_0x473e22;_0x54aea1(!0x0),_0x5b654f[_0x356f78(0x5e8)](M['id'],{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce});},'children':(0x0,x[_0x473e22(0x4e3)])(h['DocSettingIcon'],{})}),(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0x1ea)),'onClick':()=>{const _0x1f10ec=_0x473e22;_0x5b654f[_0x1f10ec(0x5e8)](d[_0x1f10ec(0x385)]['id'],{'unitId':_0x5cf109,'drawings':[{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce}]});},'children':(0x0,x[_0x473e22(0x4e3)])(h['DeleteIcon'],{})})]})]});}let ye=class extends u['Disposable']{constructor(_0x2404f7,_0x1a1321){const _0x42b299=_0x3b6577;super(),this[_0x42b299(0x4b8)]=_0x2404f7,this[_0x42b299(0x3f4)]=_0x1a1321,this[_0x42b299(0x3bb)](),this[_0x42b299(0x4b8)][_0x42b299(0x3c6)](!0x0),this[_0x42b299(0x21f)]({'dispose':()=>this[_0x42b299(0x4b8)][_0x42b299(0x3c6)](!0x1)});}[_0x3b6577(0x3bb)](){const _0x4fa07f=_0x3b6577;let _0x2f379b=new Map(),_0x4737e5=this['_clipService'][_0x4fa07f(0x3d5)]((_0x5cad30,_0x35cb5b,_0x3cc494,_0x42f293,_0x40b963)=>{const _0x3502ec=_0x4fa07f;let _0x58d5e4=_0x35cb5b;if(_0x58d5e4===c[_0x3502ec(0x2df)]['None']||_0x35cb5b===_0x3502ec(0x2c4))return!0x1;try{let _0x6c8c5a=_0x2f379b[_0x3502ec(0x272)](_0x35cb5b);return _0x6c8c5a||(_0x6c8c5a=new c['ShapeModel'](_0x58d5e4,_0x3502ec(0x487)+_0x35cb5b),_0x2f379b[_0x3502ec(0x34d)](_0x35cb5b,_0x6c8c5a)),_0x40b963&&_0x6c8c5a[_0x3502ec(0x562)]({'adjustValues':_0x40b963},!0x0),_0x6c8c5a[_0x3502ec(0x105)]({'width':_0x3cc494,'height':_0x42f293}),_0x6c8c5a[_0x3502ec(0x21e)](_0x5cad30,{'left':0x0,'top':0x0,'width':_0x3cc494,'height':_0x42f293});}catch{return!0x1;}});this[_0x4fa07f(0x21f)](_0x4737e5),this[_0x4fa07f(0x21f)]({'dispose':()=>_0x2f379b['clear']()});}[_0x3b6577(0x595)](_0x3b5bdb,_0x42afa4,_0xc90b3,_0x1b92aa,_0x4e3121){const _0x521e54=_0x3b6577;let _0x474ba9=this[_0x521e54(0x3f4)]['getDrawingData'](_0x3b5bdb,_0x42afa4)[_0xc90b3];!_0x474ba9||_0x474ba9[_0x521e54(0xea)]!==u[_0x521e54(0x400)][_0x521e54(0x251)]||this[_0x521e54(0x3f4)][_0x521e54(0x50a)]([{..._0x474ba9,'prstGeom':_0x1b92aa,'adjustValues':_0x4e3121}]);}};ye=W([U(0x0,(0x0,u[_0x3b6577(0x192)])(b[_0x3b6577(0x2fc)])),U(0x1,(0x0,u['Inject'])(m[_0x3b6577(0x539)]))],ye);const be=[{'group':'line','type':c[_0x3b6577(0x2df)][_0x3b6577(0x59b)],'icon':_0x3b6577(0x35f),'name':'docs-shape-ui.shape.type.line'},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e3)],'icon':_0x3b6577(0x508),'name':_0x3b6577(0x442),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e3)],'icon':'ShapeStraightConnector2Icon','name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c['ShapeTypeEnum'][_0x3b6577(0x544)],'icon':_0x3b6577(0x33a),'name':_0x3b6577(0x2ac)},{'group':'line','type':c[_0x3b6577(0x2df)][_0x3b6577(0x544)],'icon':_0x3b6577(0x1f1),'name':_0x3b6577(0x134),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c['ShapeTypeEnum']['BentConnector3'],'icon':_0x3b6577(0x14e),'name':'docs-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)]['CurvedConnector3'],'icon':_0x3b6577(0x115),'name':'docs-shape-ui.shape.type.curved-connector3'},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3ba)],'icon':_0x3b6577(0x459),'name':_0x3b6577(0x3f5),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x3b6577(0xf6),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x3d4),'name':'docs-shape-ui.shape.type.rect'},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum']['RoundRect'],'icon':_0x3b6577(0x28c),'name':_0x3b6577(0x261)},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f1)],'icon':_0x3b6577(0x29b),'name':_0x3b6577(0x211)},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum'][_0x3b6577(0x3ae)],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':'rectangle','type':c['ShapeTypeEnum'][_0x3b6577(0x3f0)],'icon':'ShapeSnip2DiagRectIcon','name':_0x3b6577(0x1bb)},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum']['SnipRoundRect'],'icon':_0x3b6577(0x51a),'name':_0x3b6577(0x1ad)},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x584)],'icon':'ShapeRound1RectIcon','name':'docs-shape-ui.shape.type.round1-rect'},{'group':'rectangle','type':c[_0x3b6577(0x2df)][_0x3b6577(0x23f)],'icon':_0x3b6577(0x46a),'name':'docs-shape-ui.shape.type.round2-same-rect'},{'group':'rectangle','type':c[_0x3b6577(0x2df)]['Round2DiagRect'],'icon':_0x3b6577(0x5b1),'name':_0x3b6577(0x27c)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x16a),'name':_0x3b6577(0x162),'horizontal':!0x0},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x5ad),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Ellipse'],'icon':_0x3b6577(0x3d7),'name':'docs-shape-ui.shape.type.ellipse'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x24c)],'icon':_0x3b6577(0x275),'name':'docs-shape-ui.shape.type.triangle'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x38e)],'icon':_0x3b6577(0x357),'name':'docs-shape-ui.shape.type.rt-triangle'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x198)],'icon':_0x3b6577(0x327),'name':_0x3b6577(0x5bf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Trapezoid'],'icon':_0x3b6577(0x164),'name':_0x3b6577(0x57e)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4e7)],'icon':'ShapeDiamondIcon','name':'docs-shape-ui.shape.type.diamond'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3b9)],'icon':_0x3b6577(0x4fc),'name':_0x3b6577(0x268)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['Hexagon'],'icon':_0x3b6577(0x437),'name':'docs-shape-ui.shape.type.hexagon'},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['Heptagon'],'icon':_0x3b6577(0x4a9),'name':_0x3b6577(0x398)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1d2)],'icon':_0x3b6577(0x38f),'name':_0x3b6577(0x3cf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x235)],'icon':_0x3b6577(0x2e1),'name':_0x3b6577(0x17c)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Dodecagon'],'icon':_0x3b6577(0x138),'name':'docs-shape-ui.shape.type.dodecagon'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x561)],'icon':_0x3b6577(0x441),'name':'docs-shape-ui.shape.type.pie'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Chord'],'icon':'ShapeChordIcon','name':_0x3b6577(0x1df)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x3b0)],'icon':_0x3b6577(0x3f7),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x16e)],'icon':_0x3b6577(0x203),'name':_0x3b6577(0x5b0)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3b1)],'icon':_0x3b6577(0x145),'name':_0x3b6577(0x3e5)},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['Corner'],'icon':'ShapeCornerIcon','name':_0x3b6577(0xf0)},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['DiagStripe'],'icon':'ShapeDiagStripeIcon','name':_0x3b6577(0x3e1)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x3b6577(0x495)],'icon':'ShapePlusIcon','name':_0x3b6577(0x302)},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x15b)],'icon':_0x3b6577(0x4de),'name':_0x3b6577(0x2b4)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Can'],'icon':'ShapeCanIcon','name':_0x3b6577(0x1b5)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3a1)],'icon':'ShapeCubeIcon','name':_0x3b6577(0x4da)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Bevel'],'icon':_0x3b6577(0x247),'name':_0x3b6577(0x23b)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['Donut'],'icon':_0x3b6577(0x41b),'name':_0x3b6577(0x144)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2e9)],'icon':_0x3b6577(0x3d0),'name':'docs-shape-ui.shape.type.no-smoking'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x1b2)],'icon':_0x3b6577(0xee),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xfb)],'icon':_0x3b6577(0x161),'name':_0x3b6577(0x109)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x4c6)],'icon':'ShapeSmileyFaceIcon','name':_0x3b6577(0x159)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x3a4)],'icon':_0x3b6577(0x5d5),'name':_0x3b6577(0x3bf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['LightningBolt'],'icon':'ShapeLightningBoltIcon','name':_0x3b6577(0x4b9)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2dc)],'icon':_0x3b6577(0x324),'name':_0x3b6577(0x12e)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x501)],'icon':_0x3b6577(0x193),'name':'docs-shape-ui.shape.type.moon'},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x3b6577(0x4fa)],'icon':_0x3b6577(0x44d),'name':_0x3b6577(0x100)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x2fb)],'icon':_0x3b6577(0x141),'name':'docs-shape-ui.shape.type.arc'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['BracketPair'],'icon':'ShapeBracketPairIcon','name':_0x3b6577(0x59d)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['BracePair'],'icon':'ShapeBracePairIcon','name':_0x3b6577(0x39b)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x546)],'icon':_0x3b6577(0x2e5),'name':_0x3b6577(0x2e8)},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2e0)],'icon':_0x3b6577(0x301),'name':_0x3b6577(0x253)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4f6)],'icon':_0x3b6577(0x14b),'name':_0x3b6577(0x40d)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['RightBrace'],'icon':_0x3b6577(0x299),'name':_0x3b6577(0x461)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x591)],'icon':_0x3b6577(0x236),'name':_0x3b6577(0x412)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x332)],'icon':_0x3b6577(0x23e),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['UpArrow'],'icon':_0x3b6577(0x418),'name':_0x3b6577(0x416)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x15e)],'icon':_0x3b6577(0x28e),'name':_0x3b6577(0x265)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x5e3)],'icon':'ShapeLeftRightArrowIcon','name':'docs-shape-ui.shape.type.left-right-arrow'},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x216)],'icon':'ShapeUpDownArrowIcon','name':_0x3b6577(0x50d)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x2d3)],'icon':_0x3b6577(0x5a7),'name':_0x3b6577(0x52e)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['LeftRightUpArrow'],'icon':_0x3b6577(0x599),'name':_0x3b6577(0x1e5)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2cb)],'icon':_0x3b6577(0x12f),'name':_0x3b6577(0x586)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['UturnArrow'],'icon':_0x3b6577(0x2d5),'name':_0x3b6577(0x197)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2f4)],'icon':'ShapeLeftUpArrowIcon','name':'docs-shape-ui.shape.type.left-up-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4d6)],'icon':_0x3b6577(0x433),'name':_0x3b6577(0x206)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x5cb)],'icon':_0x3b6577(0x3f6),'name':_0x3b6577(0x2da)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x381)],'icon':_0x3b6577(0x1d1),'name':_0x3b6577(0x119)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x3b6577(0x3de)],'icon':_0x3b6577(0x4f0),'name':'docs-shape-ui.shape.type.curved-up-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x18b)],'icon':_0x3b6577(0x219),'name':'docs-shape-ui.shape.type.curved-down-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2cf)],'icon':_0x3b6577(0x417),'name':'docs-shape-ui.shape.type.striped-right-arrow'},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x353)],'icon':_0x3b6577(0x19f),'name':_0x3b6577(0x569)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x139)],'icon':_0x3b6577(0x48f),'name':_0x3b6577(0x103)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x3b6577(0x22e)],'icon':_0x3b6577(0x476),'name':_0x3b6577(0x104)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['RightArrowCallout'],'icon':_0x3b6577(0x5e7),'name':_0x3b6577(0x330)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x202)],'icon':_0x3b6577(0x40b),'name':'docs-shape-ui.shape.type.down-arrow-callout'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5cf)],'icon':_0x3b6577(0x20c),'name':_0x3b6577(0x172)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x2b5)],'icon':_0x3b6577(0x509),'name':_0x3b6577(0x399)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x450)],'icon':_0x3b6577(0x45a),'name':_0x3b6577(0x237)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x515)],'icon':_0x3b6577(0x1c4),'name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['CircularArrow'],'icon':_0x3b6577(0x210),'name':_0x3b6577(0x543)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xfd)],'icon':_0x3b6577(0x127),'name':_0x3b6577(0x1c0)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x222)],'icon':'ShapeMathMinusIcon','name':_0x3b6577(0x2bf)},{'group':_0x3b6577(0x524),'type':c['ShapeTypeEnum']['MathMultiply'],'icon':_0x3b6577(0x3ce),'name':'docs-shape-ui.shape.type.math-multiply'},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4e8)],'icon':'ShapeMathDivideIcon','name':'docs-shape-ui.shape.type.math-divide'},{'group':_0x3b6577(0x524),'type':c['ShapeTypeEnum'][_0x3b6577(0x354)],'icon':'ShapeMathEqualIcon','name':_0x3b6577(0x4ae)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f3)],'icon':_0x3b6577(0x209),'name':'docs-shape-ui.shape.type.math-not-equal'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartProcess'],'icon':'ShapeFlowChartProcessIcon','name':_0x3b6577(0x37d)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartAlternateProcess'],'icon':_0x3b6577(0x390),'name':_0x3b6577(0x262)},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2b1)],'icon':_0x3b6577(0x477),'name':'docs-shape-ui.shape.type.flow-chart-decision'},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum'][_0x3b6577(0x1f7)],'icon':_0x3b6577(0x32f),'name':_0x3b6577(0x18d)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1ed)],'icon':_0x3b6577(0x168),'name':_0x3b6577(0x555)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x594)],'icon':_0x3b6577(0x40f),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2d1)],'icon':_0x3b6577(0x3a0),'name':_0x3b6577(0x3d3)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x473)],'icon':'ShapeFlowChartMultidocumentIcon','name':_0x3b6577(0x306)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x597)],'icon':_0x3b6577(0x2bc),'name':_0x3b6577(0x386)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x3b6577(0x339)],'icon':_0x3b6577(0x490),'name':_0x3b6577(0x2c1)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x280)],'icon':'ShapeFlowChartManualInputIcon','name':_0x3b6577(0x4bb)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x11c)],'icon':_0x3b6577(0x2dd),'name':_0x3b6577(0x5ec)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5b5)],'icon':_0x3b6577(0x179),'name':_0x3b6577(0x2db)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x21a)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x3b6577(0x3e4)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x38a)],'icon':_0x3b6577(0x2d6),'name':'docs-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x55f)],'icon':_0x3b6577(0x554),'name':_0x3b6577(0x2f3)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x43b)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'docs-shape-ui.shape.type.flow-chart-summing-junction'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x19b)],'icon':'ShapeFlowChartOrIcon','name':_0x3b6577(0x2ef)},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum'][_0x3b6577(0x2ce)],'icon':_0x3b6577(0x1b7),'name':_0x3b6577(0x35e)},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum']['FlowchartSort'],'icon':_0x3b6577(0x53b),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum']['FlowchartExtract'],'icon':_0x3b6577(0xd3),'name':_0x3b6577(0x45f)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x33c)],'icon':_0x3b6577(0xce),'name':_0x3b6577(0x229)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartOnlineStorage'],'icon':'ShapeFlowChartOnlineStorageIcon','name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x176)],'icon':'ShapeFlowChartDelayIcon','name':_0x3b6577(0x2c2)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x3b6577(0x1d9)],'icon':_0x3b6577(0x553),'name':_0x3b6577(0x1cd)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x290)],'icon':_0x3b6577(0x4fd),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x4fb)],'icon':_0x3b6577(0x1bd),'name':_0x3b6577(0x413)},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x533)],'icon':_0x3b6577(0x1a1),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x408)],'icon':_0x3b6577(0xf3),'name':_0x3b6577(0x27a)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum']['IrregularSeal2'],'icon':_0x3b6577(0x564),'name':'docs-shape-ui.shape.type.irregular-seal2'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f2)],'icon':_0x3b6577(0x3e2),'name':_0x3b6577(0x16d)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x525)],'icon':'ShapeStar5Icon','name':_0x3b6577(0x3b5)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x3b6577(0xe9)],'icon':'ShapeStar6Icon','name':_0x3b6577(0x169)},{'group':'starAndBanner','type':c[_0x3b6577(0x2df)][_0x3b6577(0x132)],'icon':'ShapeStar7Icon','name':_0x3b6577(0x5ed)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4db)],'icon':_0x3b6577(0x582),'name':_0x3b6577(0x4c1)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x5bb)],'icon':_0x3b6577(0x4c0),'name':'docs-shape-ui.shape.type.star10'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xff)],'icon':_0x3b6577(0x5ba),'name':_0x3b6577(0x5e5)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x20f)],'icon':_0x3b6577(0x405),'name':'docs-shape-ui.shape.type.star16'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4c2)],'icon':'ShapeStar24Icon','name':_0x3b6577(0x396)},{'group':'starAndBanner','type':c[_0x3b6577(0x2df)][_0x3b6577(0x1b9)],'icon':'ShapeStar32Icon','name':_0x3b6577(0x55e)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x384)],'icon':_0x3b6577(0x350),'name':'docs-shape-ui.shape.type.ribbon2'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3a9)],'icon':_0x3b6577(0x342),'name':_0x3b6577(0x401)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x520)],'icon':_0x3b6577(0x2c5),'name':_0x3b6577(0x173)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)]['EllipseRibbon'],'icon':_0x3b6577(0x25f),'name':_0x3b6577(0x2e6)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x51e)],'icon':_0x3b6577(0x245),'name':_0x3b6577(0x29e)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x137)],'icon':'ShapeHorizontalScrollIcon','name':'docs-shape-ui.shape.type.horizontal-scroll'},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x55b)],'icon':_0x3b6577(0x446),'name':_0x3b6577(0x3be)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)]['DoubleWave'],'icon':_0x3b6577(0x382),'name':_0x3b6577(0x4bc)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x320)],'icon':_0x3b6577(0x3a6),'name':_0x3b6577(0x4a1)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x58b)],'icon':_0x3b6577(0x2b7),'name':_0x3b6577(0x440)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['WedgeEllipseCallout'],'icon':_0x3b6577(0xd7),'name':_0x3b6577(0x5e6)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['CloudCallout'],'icon':'ShapeCloudCalloutIcon','name':_0x3b6577(0x4f7)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x499)],'icon':'ShapeBorderCallout1Icon','name':_0x3b6577(0x510)},{'group':_0x3b6577(0x2e3),'type':c['ShapeTypeEnum'][_0x3b6577(0x371)],'icon':_0x3b6577(0x52a),'name':'docs-shape-ui.shape.type.border-callout2'},{'group':_0x3b6577(0x2e3),'type':c['ShapeTypeEnum'][_0x3b6577(0x12d)],'icon':_0x3b6577(0x2ca),'name':_0x3b6577(0xf4)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['AccentCallout1'],'icon':_0x3b6577(0x4fe),'name':_0x3b6577(0x56b)},{'group':'callout','type':c['ShapeTypeEnum'][_0x3b6577(0x5b3)],'icon':_0x3b6577(0x46f),'name':_0x3b6577(0x1a0)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x4cf)],'icon':_0x3b6577(0xe8),'name':'docs-shape-ui.shape.type.accent-callout3'},{'group':'callout','type':c['ShapeTypeEnum'][_0x3b6577(0x3f9)],'icon':'ShapeCallout1Icon','name':_0x3b6577(0x42d)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1dd)],'icon':'ShapeCallout2Icon','name':'docs-shape-ui.shape.type.callout2'},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5c5)],'icon':_0x3b6577(0x250),'name':_0x3b6577(0x1cc)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e8)],'icon':_0x3b6577(0x403),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x369)],'icon':_0x3b6577(0x5a5),'name':_0x3b6577(0x566)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x517)],'icon':_0x3b6577(0x585),'name':_0x3b6577(0x154)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':_0x3b6577(0x57b)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x434)],'icon':_0x3b6577(0x22f),'name':_0x3b6577(0x513)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x295)],'icon':'ShapeSwooshArrowIcon','name':_0x3b6577(0x1e7)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x267)],'icon':_0x3b6577(0x2f2),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2d4)],'icon':_0x3b6577(0x5a3),'name':'docs-shape-ui.shape.type.pie-wedge'},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x50f)],'icon':_0x3b6577(0x244),'name':_0x3b6577(0x4f9)},{'group':'other','type':c['ShapeTypeEnum']['Gear6'],'icon':'ShapeGear6Icon','name':'docs-shape-ui.shape.type.gear6'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x549)],'icon':_0x3b6577(0x592),'name':_0x3b6577(0x17d)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x4e4)],'icon':_0x3b6577(0x4d0),'name':_0x3b6577(0x2f7)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ActionButtonBackPrevious'],'icon':_0x3b6577(0x2aa),'name':_0x3b6577(0xf7)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x163)],'icon':_0x3b6577(0x2fa),'name':_0x3b6577(0x130)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x5de)],'icon':_0x3b6577(0x59e),'name':_0x3b6577(0x491)},{'group':'other','type':c['ShapeTypeEnum'][_0x3b6577(0x5e2)],'icon':'ShapeActionButtonEndIcon','name':'docs-shape-ui.shape.type.action-button-end'},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x252)],'icon':'ShapeActionButtonHomeIcon','name':_0x3b6577(0x2ff)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x58a)],'icon':_0x3b6577(0x40c),'name':_0x3b6577(0x2f6)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x34f)],'icon':_0x3b6577(0x5dd),'name':_0x3b6577(0x1b0)},{'group':'other','type':c['ShapeTypeEnum'][_0x3b6577(0x1c5)],'icon':_0x3b6577(0x3ad),'name':_0x3b6577(0x37b)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x391)],'icon':'ShapeActionButtonDocumentIcon','name':'docs-shape-ui.shape.type.action-button-document'},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2ea)],'icon':_0x3b6577(0x3fc),'name':_0x3b6577(0x4bd)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x54f)],'icon':_0x3b6577(0x2a7),'name':_0x3b6577(0x1be)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ActionButtonBlank'],'icon':_0x3b6577(0x429),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ChartPlus'],'icon':_0x3b6577(0x5c7),'name':_0x3b6577(0x4c3)},{'group':'other','type':c['ShapeTypeEnum']['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x3b6577(0x3bc)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x41f)],'icon':_0x3b6577(0x454),'name':_0x3b6577(0x537)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x258)],'icon':_0x3b6577(0x457),'name':'docs-shape-ui.shape.type.flow-chart-offline-storage'},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0xfe)],'icon':_0x3b6577(0x1a9),'name':_0x3b6577(0x470)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x30e)],'icon':_0x3b6577(0x228),'name':_0x3b6577(0x5b7)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x26c)],'icon':_0x3b6577(0x1e1),'name':_0x3b6577(0xd0)},{'group':'other','type':c['ShapeTypeEnum']['UpDownArrowCallout'],'icon':_0x3b6577(0x45e),'name':_0x3b6577(0x5a8)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x25d)],'icon':_0x3b6577(0x29f),'name':_0x3b6577(0x1eb)}],xe=_0x3b6577(0x10b);function Se({onShapeClick:_0x36bcf8,excludeGroups:_0x35c684}){const _0x489625=_0x3b6577;let _0x3bd775=(0x0,g[_0x489625(0x19e)])(u['LocaleService']),_0x2b5dda=(0x0,g[_0x489625(0x19e)])(g[_0x489625(0x489)]),_0x5a7ecc=(_0x35c684?be[_0x489625(0x452)](_0x1a8c0e=>!_0x35c684[_0x489625(0x23c)](_0x1a8c0e[_0x489625(0x2d7)])):be)[_0x489625(0x175)]((_0x40ba00,_0x1f51f9)=>(_0x40ba00[_0x1f51f9['group']]||(_0x40ba00[_0x1f51f9[_0x489625(0x2d7)]]=[]),_0x40ba00[_0x1f51f9['group']][_0x489625(0x4e5)](_0x1f51f9),_0x40ba00),{});return(0x0,x['jsx'])(_0x489625(0x577),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0x489625(0xde)](_0x5a7ecc)['map'](([_0x1a295b,_0x10f09f])=>(0x0,x[_0x489625(0x511)])(_0x489625(0x577),{'className':'univer-mb-2','children':[(0x0,x[_0x489625(0x4e3)])(_0x489625(0x577),{'className':_0x489625(0x17b),'children':_0x3bd775['t'](_0x489625(0x565)+_0x1a295b)}),(0x0,x['jsx'])('div',{'className':_0x489625(0x1d7),'children':_0x10f09f['map'](_0x57cd97=>{const _0x4b1b21=_0x489625;let _0x5d6eef=_0x2b5dda[_0x4b1b21(0x272)](_0x57cd97[_0x4b1b21(0x445)]);return(0x0,x[_0x4b1b21(0x4e3)])('div',{'title':_0x3bd775['t'](_0x57cd97['name']),'onClick':()=>_0x36bcf8(_0x57cd97),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0x5d6eef&&(0x0,x[_0x4b1b21(0x4e3)])(_0x5d6eef,{'className':'univer-size-full'})},_0x57cd97[_0x4b1b21(0x34c)]);})})]},_0x1a295b))});}function Ce(){const _0x25de4e=_0x3b6577;let _0x393139=(0x0,g[_0x25de4e(0x19e)])(u[_0x25de4e(0x1f5)]),_0x78c697=(0x0,g[_0x25de4e(0x19e)])(m[_0x25de4e(0x539)]),_0x50fc74=(0x0,g[_0x25de4e(0x19e)])(ye),[_0xc8028b,_0x17f28a]=(0x0,y[_0x25de4e(0x4b2)])(!0x1);return(0x0,x[_0x25de4e(0x4e3)])(v[_0x25de4e(0x10e)],{'side':'left','open':_0xc8028b,'onOpenChange':_0x17f28a,'overlay':(0x0,x[_0x25de4e(0x4e3)])(Se,{'onShapeClick':_0x59fa68=>{const _0x531341=_0x25de4e;let _0x540ce9=_0x78c697[_0x531341(0x321)]()[_0x531341(0x276)](_0x33dd03=>_0x33dd03[_0x531341(0xea)]===u['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x540ce9)return;let {unitId:_0x2cd31b,subUnitId:_0x5a033a,drawingId:_0xc0b391}=_0x540ce9;_0x50fc74['clipByShape'](_0x2cd31b,_0x5a033a,_0xc0b391,_0x59fa68[_0x531341(0x41d)]),_0x17f28a(!0x1);},'excludeGroups':[_0x25de4e(0x1f6)]}),'children':(0x0,x[_0x25de4e(0x4e3)])(v[_0x25de4e(0x56f)],{'children':_0x393139['t'](_0x25de4e(0x213))})});}function we({paragraphMenuPlacement:_0x53fec4}){const _0x1175c1=_0x3b6577;let _0x4e566c=(0x0,g[_0x1175c1(0x19e)])(u[_0x1175c1(0x243)]);return(0x0,x[_0x1175c1(0x4e3)])(Se,{'onShapeClick':_0x156179=>{const _0x543c04=_0x1175c1;_0x4e566c[_0x543c04(0x5e8)](A['id'],{'paragraphMenuPlacement':_0x53fec4,'value':_0x156179['type'],'enhanceParams':{'endArrow':_0x156179[_0x543c04(0x174)],'startArrow':_0x156179[_0x543c04(0x1fa)],'horizontal':_0x156179[_0x543c04(0x16c)],'vertical':_0x156179[_0x543c04(0x44c)]}});}});}function Te(_0x4b3ec0){const _0x3707f7=_0x3b6577;return _0x24dbc0=>({'id':A['id'],'type':g[_0x3707f7(0x1b6)]['SELECTOR'],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x4b3ec0?{'id':A['id'],'paragraphMenuPlacement':_0x4b3ec0}:{'id':A['id']}}}],'icon':_0x3707f7(0x24a),'title':_0x3707f7(0x28a),'tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,g[_0x3707f7(0x13c)])(_0x24dbc0,u['UniverInstanceType'][_0x3707f7(0x512)])});}const Ee=Te(),De=Te(_0x3b6577(0x24d)),Oe=Te(_0x3b6577(0x1b1)),ke={[g['RibbonInsertGroup'][_0x3b6577(0x4f2)]]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x3b6577(0x5c2)]['PARAGRAPH']]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[f[_0x3b6577(0x1c6)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x3b6577(0x58f)]]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x3b6577(0x1cf)]]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u[_0x3b6577(0x1ac)]{constructor(_0x4be930,_0x151e1c,_0x38bf13,_0x5408b5,_0x7ac06a,_0x16e0dd,_0x420680,_0x40dd8a,_0x3e9757,_0x4d5b77,_0x155589,_0x3b0ce3){const _0xbe544c=_0x3b6577;super(),this['_univerInstanceService']=_0x4be930,this[_0xbe544c(0x160)]=_0x151e1c,this['_menuManagerService']=_0x38bf13,this[_0xbe544c(0x372)]=_0x5408b5,this[_0xbe544c(0x50e)]=_0x7ac06a,this[_0xbe544c(0x136)]=_0x16e0dd,this[_0xbe544c(0x379)]=_0x420680,this[_0xbe544c(0x3f4)]=_0x40dd8a,this[_0xbe544c(0x3aa)]=_0x3e9757,this[_0xbe544c(0x5b8)]=_0x4d5b77,this[_0xbe544c(0x284)]=_0x155589,this[_0xbe544c(0x51f)]=_0x3b0ce3,L(this,_0xbe544c(0x2d9),null),L(this,_0xbe544c(0x55c),null),L(this,_0xbe544c(0x37a),!0x1),L(this,_0xbe544c(0x1d4),new Set()),L(this,_0xbe544c(0xe3),[]),this[_0xbe544c(0x59c)](),this[_0xbe544c(0x335)](),this['disposeWithMe'](this[_0xbe544c(0x1bf)][_0xbe544c(0x47b)](u[_0xbe544c(0x2f8)][_0xbe544c(0x512)])[_0xbe544c(0x451)](_0x26bcd6=>{const _0x46de28=_0xbe544c;if(!_0x26bcd6){var _0xdbfd9b;(_0xdbfd9b=this['_sidebarDisposable'])==null||_0xdbfd9b[_0x46de28(0x318)]();return;}this[_0x46de28(0x519)](_0x26bcd6);})),this[_0xbe544c(0x365)](),this[_0xbe544c(0x439)](),this[_0xbe544c(0x21f)](this[_0xbe544c(0x51f)][_0xbe544c(0x1ec)][_0xbe544c(0x451)](_0x4c1cd5=>{const _0x3ec5c0=_0xbe544c;_0x4c1cd5&&this[_0x3ec5c0(0x431)]();}));}[_0x3b6577(0x335)](){const _0x1a5080=_0x3b6577;this[_0x1a5080(0x57f)][_0x1a5080(0x201)](ke);}[_0x3b6577(0x439)](){const _0x3025a9=_0x3b6577;this[_0x3025a9(0x1bf)][_0x3025a9(0x5c3)](u['UniverInstanceType']['UNIVER_DOC'])[_0x3025a9(0x184)](_0x20258a=>this['_createShapePopupMenu'](_0x20258a));}[_0x3b6577(0x2a5)](_0x169d48,_0xd3401b,_0x708f6c,_0x315c4b){const _0x51f21e=_0x3b6577;return[{'label':_0x51f21e(0xe7),'index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c},'disable':_0x315c4b===u[_0x51f21e(0x400)]['DRAWING_DOM']},{'label':_0x51f21e(0x1ea),'index':0x1,'commandId':d[_0x51f21e(0x385)]['id'],'commandParams':{'unitId':_0x169d48,'drawings':[{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c}]},'disable':!0x1},{'label':_0x51f21e(0x49c),'index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c},'disable':!0x1}];}[_0x3b6577(0x54a)](_0x4e1f2f,_0x9cf27,_0x8364ac){const _0x120ff0=_0x3b6577;let _0x461c3f=this[_0x120ff0(0x372)][_0x120ff0(0x463)](_0x4e1f2f,_0x9cf27,_0x8364ac),_0x379b8b=this['_docsShapeService'][_0x120ff0(0x573)](_0x4e1f2f,_0x9cf27,_0x8364ac);return _0x461c3f!==void 0x0&&_0x379b8b!==void 0x0?{'shapeData':_0x379b8b,'shapeId':_0x8364ac,'shapeType':_0x461c3f,'unitId':_0x4e1f2f,'subUnitId':_0x9cf27,'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x3cc09a){const _0x38e229=_0x3b6577;if(!_0x3cc09a)return;let _0x4473c7=_0x3cc09a['getUnitId']();this['_renderManagerService'][_0x38e229(0x42f)](_0x4473c7)&&!this[_0x38e229(0x1d4)][_0x38e229(0x42f)](_0x4473c7)&&(this[_0x38e229(0xed)](_0x4473c7),this['_initializedShapePopupMenu'][_0x38e229(0x4e1)](_0x4473c7));}[_0x3b6577(0x431)](){const _0xb16445=_0x3b6577;this[_0xb16445(0xe3)]['forEach'](_0x6d3223=>_0x6d3223[_0xb16445(0x318)]()),this['_disposePopups'][_0xb16445(0x254)]=0x0;}[_0x3b6577(0xed)](_0x46445e){const _0x5812a6=_0x3b6577;var _0x3f2613;let _0x554d2d=(_0x3f2613=this['_renderManagerService'][_0x5812a6(0x1c9)](_0x46445e))==null?void 0x0:_0x3f2613['scene'],_0x4e496f=_0x554d2d==null?void 0x0:_0x554d2d['getTransformerByCreate']();!_0x554d2d||!_0x4e496f||(this[_0x5812a6(0x21f)](_0x4e496f['createControl$'][_0x5812a6(0x451)](()=>{const _0x55837d=_0x5812a6;let _0x510e5f=_0x4e496f[_0x55837d(0x5c4)]();if(this[_0x55837d(0x431)](),this[_0x55837d(0x37a)]||_0x510e5f[_0x55837d(0x4d3)]>0x1)return;let _0x2d2583=_0x510e5f[_0x55837d(0x356)]()[_0x55837d(0x40a)]()[_0x55837d(0x5e4)];if(!_0x2d2583)return;let _0x48c38f=this[_0x55837d(0x3f4)][_0x55837d(0x360)](_0x2d2583[_0x55837d(0x12b)]);if(!_0x48c38f||_0x48c38f['drawingType']!==u[_0x55837d(0x400)][_0x55837d(0x223)])return;let {unitId:_0x40b749,subUnitId:_0x732850,drawingId:_0x37c036,drawingType:_0x43ce8e}=_0x48c38f,_0x218b53=this[_0x55837d(0x54a)](_0x40b749,_0x732850,_0x37c036);if(!_0x218b53)return;let _0x527c58=this[_0x55837d(0x3aa)]['attachPopupToObject'](_0x2d2583,{'componentKey':le,'direction':_0x55837d(0x3d2),'offset':[0x0,0x8],'extraProps':{'unitId':_0x40b749,'subUnitId':_0x732850,'drawingId':_0x37c036,'drawingType':_0x43ce8e,'shapeType':_0x218b53['shapeType'],'shapeData':_0x218b53[_0x55837d(0x5a2)]}},_0x40b749);this[_0x55837d(0xe3)][_0x55837d(0x4e5)](this['disposeWithMe'](_0x527c58)),this[_0x55837d(0x3f4)][_0x55837d(0x321)]()[_0x55837d(0x276)](_0x2da639=>_0x2da639[_0x55837d(0x424)]===_0x40b749&&_0x2da639['subUnitId']===_0x732850&&_0x2da639[_0x55837d(0x366)]===_0x37c036)||this[_0x55837d(0x3f4)][_0x55837d(0x31e)]([{'unitId':_0x40b749,'subUnitId':_0x732850,'drawingId':_0x37c036}]);})),this[_0x5812a6(0x21f)](_0x4e496f[_0x5812a6(0x39e)]['subscribe'](()=>{const _0x3b5cd8=_0x5812a6;this[_0x3b5cd8(0x431)](),this[_0x3b5cd8(0x284)][_0x3b5cd8(0x449)](u[_0x3b5cd8(0x48e)],!0x1),this[_0x3b5cd8(0x3f4)][_0x3b5cd8(0x31e)](null);})),this['disposeWithMe'](_0x4e496f[_0x5812a6(0x4d7)]['subscribe'](()=>{const _0x57ea79=_0x5812a6;this[_0x57ea79(0x431)]();})),this[_0x5812a6(0x21f)](_0x4e496f['changeStart$'][_0x5812a6(0x451)](()=>{const _0x2374a1=_0x5812a6;this[_0x2374a1(0x431)]();})));}[_0x3b6577(0x365)](){const _0x74db49=_0x3b6577;this['disposeWithMe'](this['_commandService'][_0x74db49(0x19c)](_0x2bf84c=>{const _0xde0b66=_0x74db49;if(_0x2bf84c['id']===M['id']){let {unitId:_0x4c9214,subUnitId:_0x90d0c7,drawingId:_0x1d767b}=_0x2bf84c[_0xde0b66(0x4b1)];this[_0xde0b66(0x55c)]=this[_0xde0b66(0x54a)](_0x4c9214,_0x90d0c7,_0x1d767b),this[_0xde0b66(0x431)](),this[_0xde0b66(0x264)]();}if(_0x2bf84c['id']===j['id']&&(this['_activeShapeInfo']=null,this[_0xde0b66(0x387)]()),_0x2bf84c['id']===l[_0xde0b66(0x388)]['id']){let {unitId:_0x28f7dc,shapeId:_0x34ad2d}=_0x2bf84c[_0xde0b66(0x4b1)];if(this[_0xde0b66(0x55c)]&&this[_0xde0b66(0x55c)][_0xde0b66(0x24f)]===_0x34ad2d){let _0x5755f2=this['_getShapeInfo'](_0x28f7dc,this[_0xde0b66(0x55c)]['subUnitId'],_0x34ad2d);_0x5755f2&&(this[_0xde0b66(0x55c)]=_0x5755f2);}}})),this[_0x74db49(0x21f)](this[_0x74db49(0x3f4)][_0x74db49(0x36d)][_0x74db49(0x451)](_0x580f70=>{const _0x22ea20=_0x74db49;if(this[_0x22ea20(0x37a)]===!0x1)return;if(_0x580f70[_0x22ea20(0x254)]===0x0){this['_activeShapeInfo']=null,this[_0x22ea20(0x387)]();return;}if(_0x580f70[_0x22ea20(0x254)]===0x1&&_0x580f70[0x0]['drawingType']===u['DrawingTypeEnum'][_0x22ea20(0x223)]&&(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0][_0x22ea20(0x366)]),this[_0x22ea20(0x55c)])){this['_openShapeEditPanel']();return;}let _0x469428=_0x580f70[_0x22ea20(0x452)](_0x460b02=>_0x460b02[_0x22ea20(0xea)]===u['DrawingTypeEnum'][_0x22ea20(0x223)]);if(_0x580f70[_0x22ea20(0x254)]>0x1&&_0x469428[_0x22ea20(0x254)]===_0x580f70[_0x22ea20(0x254)]){if(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0]['drawingId']),this[_0x22ea20(0x55c)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0]['drawingId']),this[_0x22ea20(0x55c)]){this[_0x22ea20(0x55c)][_0x22ea20(0xdf)]=!0x0,this[_0x22ea20(0x264)]();return;}}this['_closeShapeEditPanel']();}));}['_registerComponent'](){const _0x320477=_0x3b6577;[[_0x320477(0x24a),h[_0x320477(0x24a)]],[_0x320477(0x403),h[_0x320477(0x403)]],[_0x320477(0x5a5),h['ShapeAccentBorderCallout2Icon']],[_0x320477(0x585),h[_0x320477(0x585)]],['ShapeAccentCallout1Icon',h[_0x320477(0x4fe)]],[_0x320477(0x46f),h[_0x320477(0x46f)]],[_0x320477(0xe8),h[_0x320477(0xe8)]],[_0x320477(0x2aa),h[_0x320477(0x2aa)]],[_0x320477(0x59e),h[_0x320477(0x59e)]],['ShapeActionButtonBlankIcon',h[_0x320477(0x429)]],[_0x320477(0x274),h[_0x320477(0x274)]],[_0x320477(0x1ca),h[_0x320477(0x1ca)]],[_0x320477(0x2fa),h[_0x320477(0x2fa)]],[_0x320477(0x2a7),h[_0x320477(0x2a7)]],[_0x320477(0x35c),h[_0x320477(0x35c)]],['ShapeActionButtonInformationIcon',h[_0x320477(0x40c)]],[_0x320477(0x3ad),h['ShapeActionButtonMovieIcon']],[_0x320477(0x5dd),h[_0x320477(0x5dd)]],[_0x320477(0x3fc),h['ShapeActionButtonSoundIcon']],['ShapeArcIcon',h[_0x320477(0x141)]],[_0x320477(0x12f),h['ShapeBentArrowIcon']],[_0x320477(0x1f1),h[_0x320477(0x1f1)]],[_0x320477(0x14e),h[_0x320477(0x14e)]],[_0x320477(0x33a),h['ShapeBentConnector3Icon']],[_0x320477(0x433),h['ShapeBentUpArrowIcon']],[_0x320477(0x247),h[_0x320477(0x247)]],[_0x320477(0xee),h[_0x320477(0xee)]],[_0x320477(0x468),h[_0x320477(0x468)]],[_0x320477(0x52a),h['ShapeBorderCallout2Icon']],[_0x320477(0x2ca),h[_0x320477(0x2ca)]],[_0x320477(0x10c),h['ShapeBracePairIcon']],[_0x320477(0x196),h[_0x320477(0x196)]],[_0x320477(0x1e2),h['ShapeCallout1Icon']],['ShapeCallout2Icon',h[_0x320477(0xe1)]],[_0x320477(0x250),h['ShapeCallout3Icon']],[_0x320477(0x1b3),h[_0x320477(0x1b3)]],[_0x320477(0x5c7),h['ShapeChartPlusIcon']],[_0x320477(0x355),h[_0x320477(0x355)]],[_0x320477(0x454),h[_0x320477(0x454)]],[_0x320477(0x476),h[_0x320477(0x476)]],[_0x320477(0x2c9),h[_0x320477(0x2c9)]],[_0x320477(0x210),h['ShapeCircularArrowIcon']],[_0x320477(0x101),h[_0x320477(0x101)]],[_0x320477(0x44d),h[_0x320477(0x44d)]],[_0x320477(0x271),h[_0x320477(0x271)]],[_0x320477(0x4d0),h[_0x320477(0x4d0)]],[_0x320477(0x27b),h[_0x320477(0x27b)]],[_0x320477(0x459),h[_0x320477(0x459)]],['ShapeCurvedConnector3Arrow2Icon',h[_0x320477(0x57d)]],['ShapeCurvedConnector3Icon',h['ShapeCurvedConnector3Icon']],[_0x320477(0x219),h['ShapeCurvedDownArrowIcon']],[_0x320477(0x1d1),h[_0x320477(0x1d1)]],['ShapeCurvedRightArrowIcon',h[_0x320477(0x3f6)]],[_0x320477(0x4f0),h[_0x320477(0x4f0)]],[_0x320477(0x2e1),h[_0x320477(0x2e1)]],['ShapeDiagStripeIcon',h[_0x320477(0xe6)]],['ShapeDiamondIcon',h[_0x320477(0x2ae)]],[_0x320477(0x138),h[_0x320477(0x138)]],['ShapeDonutIcon',h[_0x320477(0x41b)]],[_0x320477(0x382),h[_0x320477(0x382)]],[_0x320477(0x40b),h['ShapeDownArrowCalloutIcon']],[_0x320477(0x28e),h[_0x320477(0x28e)]],['ShapeEllipseIcon',h[_0x320477(0x3d7)]],['ShapeEllipseRibbon2Icon',h[_0x320477(0x2c5)]],[_0x320477(0x25f),h[_0x320477(0x25f)]],[_0x320477(0x390),h[_0x320477(0x390)]],[_0x320477(0x1b7),h[_0x320477(0x1b7)]],[_0x320477(0x179),h[_0x320477(0x179)]],['ShapeFlowChartDecisionIcon',h[_0x320477(0x477)]],['ShapeFlowChartDelayIcon',h[_0x320477(0x3e3)]],[_0x320477(0x1a1),h[_0x320477(0x1a1)]],[_0x320477(0x3a0),h[_0x320477(0x3a0)]],['ShapeFlowChartExtractIcon',h[_0x320477(0xd3)]],[_0x320477(0x32f),h[_0x320477(0x32f)]],[_0x320477(0x40f),h[_0x320477(0x40f)]],[_0x320477(0x4fd),h['ShapeFlowChartMagneticDiskIcon']],[_0x320477(0x1bd),h[_0x320477(0x1bd)]],[_0x320477(0x553),h['ShapeFlowChartMagneticTapeIcon']],['ShapeFlowChartManualInputIcon',h['ShapeFlowChartManualInputIcon']],[_0x320477(0x2dd),h[_0x320477(0x2dd)]],[_0x320477(0xce),h[_0x320477(0xce)]],[_0x320477(0x3cd),h['ShapeFlowChartMultidocumentIcon']],[_0x320477(0x457),h[_0x320477(0x457)]],[_0x320477(0x2cc),h['ShapeFlowChartOffpageConnectorIcon']],[_0x320477(0x4b0),h[_0x320477(0x4b0)]],['ShapeFlowChartOrIcon',h[_0x320477(0x14c)]],[_0x320477(0x168),h[_0x320477(0x168)]],[_0x320477(0x490),h['ShapeFlowChartPreparationIcon']],[_0x320477(0x351),h[_0x320477(0x351)]],[_0x320477(0x2d6),h['ShapeFlowChartPunchedCardIcon']],[_0x320477(0x554),h[_0x320477(0x554)]],[_0x320477(0x53b),h[_0x320477(0x53b)]],[_0x320477(0x3c8),h[_0x320477(0x3c8)]],['ShapeFlowChartTerminatorIcon',h[_0x320477(0x2bc)]],['ShapeFolderCornerIcon',h[_0x320477(0x161)]],[_0x320477(0x203),h[_0x320477(0x203)]],[_0x320477(0x244),h[_0x320477(0x244)]],[_0x320477(0x4ff),h[_0x320477(0x4ff)]],[_0x320477(0x592),h['ShapeGear9Icon']],[_0x320477(0x145),h[_0x320477(0x145)]],[_0x320477(0x5d5),h[_0x320477(0x5d5)]],['ShapeHeptagonIcon',h['ShapeHeptagonIcon']],[_0x320477(0x437),h[_0x320477(0x437)]],[_0x320477(0x48f),h[_0x320477(0x48f)]],['ShapeHorizontalScrollIcon',h[_0x320477(0x114)]],['ShapeIrregularSeal1Icon',h[_0x320477(0xf3)]],[_0x320477(0x564),h[_0x320477(0x564)]],[_0x320477(0x20c),h[_0x320477(0x20c)]],[_0x320477(0x23e),h[_0x320477(0x23e)]],[_0x320477(0x14b),h[_0x320477(0x14b)]],['ShapeLeftBracketIcon',h['ShapeLeftBracketIcon']],[_0x320477(0x49f),h[_0x320477(0x49f)]],[_0x320477(0x45a),h['ShapeLeftRightArrowCalloutIcon']],['ShapeLeftRightArrowIcon',h[_0x320477(0x2c7)]],[_0x320477(0x22f),h[_0x320477(0x22f)]],[_0x320477(0x2f2),h[_0x320477(0x2f2)]],[_0x320477(0x599),h[_0x320477(0x599)]],['ShapeLeftUpArrowIcon',h[_0x320477(0x49e)]],['ShapeLightningBoltIcon',h[_0x320477(0x2be)]],[_0x320477(0x35f),h[_0x320477(0x35f)]],[_0x320477(0x1a9),h[_0x320477(0x1a9)]],[_0x320477(0x2b3),h['ShapeMathDivideIcon']],[_0x320477(0x363),h[_0x320477(0x363)]],[_0x320477(0x503),h[_0x320477(0x503)]],[_0x320477(0x3ce),h[_0x320477(0x3ce)]],[_0x320477(0x209),h[_0x320477(0x209)]],['ShapeMathPlusIcon',h[_0x320477(0x127)]],[_0x320477(0x193),h[_0x320477(0x193)]],[_0x320477(0x3d0),h['ShapeNoSmokingIcon']],[_0x320477(0x29f),h[_0x320477(0x29f)]],[_0x320477(0x19f),h[_0x320477(0x19f)]],['ShapeOctagonIcon',h[_0x320477(0x38f)]],[_0x320477(0x327),h['ShapeParallelogramIcon']],[_0x320477(0x4fc),h[_0x320477(0x4fc)]],[_0x320477(0x441),h[_0x320477(0x441)]],['ShapePieWedgeIcon',h['ShapePieWedgeIcon']],[_0x320477(0x4de),h[_0x320477(0x4de)]],['ShapePlaqueTabsIcon',h[_0x320477(0x228)]],['ShapePlusIcon',h[_0x320477(0x5ab)]],['ShapeQuadArrowCalloutIcon',h[_0x320477(0x1c4)]],[_0x320477(0x5a7),h['ShapeQuadArrowIcon']],['ShapeRectIcon',h[_0x320477(0x3d4)]],['ShapeRectTextboxHorizontalIcon',h[_0x320477(0x16a)]],[_0x320477(0x5ad),h['ShapeRectTextboxVerticalIcon']],[_0x320477(0x350),h[_0x320477(0x350)]],[_0x320477(0x342),h[_0x320477(0x342)]],[_0x320477(0x5e7),h['ShapeRightArrowCalloutIcon']],[_0x320477(0x236),h['ShapeRightArrowIcon']],[_0x320477(0x299),h[_0x320477(0x299)]],[_0x320477(0x301),h[_0x320477(0x301)]],[_0x320477(0x540),h[_0x320477(0x540)]],[_0x320477(0x5b1),h['ShapeRound2DiagRectIcon']],[_0x320477(0x46a),h[_0x320477(0x46a)]],['ShapeRoundRectIcon',h['ShapeRoundRectIcon']],[_0x320477(0x357),h[_0x320477(0x357)]],[_0x320477(0x181),h[_0x320477(0x181)]],[_0x320477(0x29b),h[_0x320477(0x29b)]],[_0x320477(0x33d),h[_0x320477(0x33d)]],[_0x320477(0x1aa),h[_0x320477(0x1aa)]],['ShapeSnipRoundRectIcon',h[_0x320477(0x51a)]],[_0x320477(0x1e1),h[_0x320477(0x1e1)]],['ShapeStar10Icon',h[_0x320477(0x4c0)]],[_0x320477(0x5ba),h['ShapeStar12Icon']],['ShapeStar16Icon',h['ShapeStar16Icon']],[_0x320477(0x4b3),h[_0x320477(0x4b3)]],[_0x320477(0x4ca),h['ShapeStar32Icon']],['ShapeStar4Icon',h[_0x320477(0x3e2)]],['ShapeStar5Icon',h[_0x320477(0x368)]],[_0x320477(0x460),h[_0x320477(0x460)]],[_0x320477(0x43a),h[_0x320477(0x43a)]],[_0x320477(0x582),h[_0x320477(0x582)]],['ShapeStraightConnector1Icon',h[_0x320477(0x508)]],['ShapeStraightConnector2Icon',h[_0x320477(0x1c8)]],[_0x320477(0x417),h['ShapeStripedRightArrowIcon']],[_0x320477(0x324),h[_0x320477(0x324)]],[_0x320477(0x2fe),h[_0x320477(0x2fe)]],[_0x320477(0x3f7),h[_0x320477(0x3f7)]],[_0x320477(0x164),h['ShapeTrapezoidIcon']],[_0x320477(0x275),h[_0x320477(0x275)]],['ShapeUpArrowCalloutIcon',h['ShapeUpArrowCalloutIcon']],['ShapeUpArrowIcon',h['ShapeUpArrowIcon']],[_0x320477(0x45e),h['ShapeUpDownArrowCalloutIcon']],['ShapeUpDownArrowIcon',h[_0x320477(0x112)]],[_0x320477(0x2d5),h['ShapeUturnArrowIcon']],[_0x320477(0x245),h[_0x320477(0x245)]],['ShapeWaveIcon',h['ShapeWaveIcon']],[_0x320477(0xd7),h[_0x320477(0xd7)]],[_0x320477(0x3a6),h[_0x320477(0x3a6)]],['ShapeWedgeRoundRectCalloutIcon',h[_0x320477(0x2b7)]],[N,X],[le,ve],[xe,we],[b[_0x320477(0x124)],Ce]][_0x320477(0x184)](([_0x30f721,_0xe68c3c])=>{const _0x41f95e=_0x320477;this[_0x41f95e(0x21f)](this[_0x41f95e(0x136)]['register'](_0x30f721,_0xe68c3c));});}['_openShapeEditPanel'](){const _0x8a95c4=_0x3b6577;this[_0x8a95c4(0x2d9)]=this[_0x8a95c4(0x160)][_0x8a95c4(0x22b)]({'id':N,'header':{'title':this['_localeService']['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':N,...this[_0x8a95c4(0x55c)]},'onClose':()=>{const _0x5b18fa=_0x8a95c4;this[_0x5b18fa(0x3f4)][_0x5b18fa(0x31e)](null),this[_0x5b18fa(0x284)][_0x5b18fa(0x449)](u[_0x5b18fa(0x48e)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x8a95c4(0x37a)]=!0x0;}[_0x3b6577(0x387)](){const _0x3394c0=_0x3b6577;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3394c0(0x160)][_0x3394c0(0x3a3)](N),this[_0x3394c0(0x2d9)]=null,this['_contextService'][_0x3394c0(0x449)](u[_0x3394c0(0x48e)],!0x1),this[_0x3394c0(0x3f4)][_0x3394c0(0x31e)](null);}};Ae=W([U(0x0,u['IUniverInstanceService']),U(0x1,(0x0,u[_0x3b6577(0x192)])(g[_0x3b6577(0x486)])),U(0x2,g[_0x3b6577(0x303)]),U(0x3,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)])),U(0x4,(0x0,u[_0x3b6577(0x192)])(u[_0x3b6577(0x1f5)])),U(0x5,(0x0,u['Inject'])(g[_0x3b6577(0x489)])),U(0x6,u[_0x3b6577(0x243)]),U(0x7,m['IDrawingManagerService']),U(0x8,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x36a)])),U(0x9,p['IRenderManagerService']),U(0xa,u[_0x3b6577(0x5d0)]),U(0xb,(0x0,u['Inject'])(R))],Ae);var je=_0x3b6577(0x5b4),Me=_0x3b6577(0x395);const Ne={};var Pe=class extends p[_0x3b6577(0x113)]{constructor(_0xf7e706,_0x121a8d){const _0xe5e214=_0x3b6577;super(_0xf7e706,_0x121a8d),L(this,'_shapeId',null),L(this,_0xe5e214(0x4df),null),L(this,_0xe5e214(0x2ec),null),L(this,_0xe5e214(0x225),null),_0x121a8d&&this[_0xe5e214(0x467)](_0x121a8d);}['getDrawingSearch'](){const _0x35ca71=_0x3b6577;return{'unitId':this['_unitId'],'subUnitId':this[_0x35ca71(0x225)],'drawingId':this[_0x35ca71(0x292)]};}['setShapeProps'](_0x62b532){const _0x1014b7=_0x3b6577;_0x62b532[_0x1014b7(0x24f)]!==void 0x0&&(this[_0x1014b7(0x292)]=_0x62b532['shapeId']),_0x62b532[_0x1014b7(0x4f1)]!==void 0x0&&(this[_0x1014b7(0x4df)]=_0x62b532[_0x1014b7(0x4f1)]),_0x62b532['unitId']!==void 0x0&&(this[_0x1014b7(0x2ec)]=_0x62b532[_0x1014b7(0x424)]),_0x62b532[_0x1014b7(0x21b)]!==void 0x0&&(this[_0x1014b7(0x225)]=_0x62b532[_0x1014b7(0x21b)]),this[_0x1014b7(0xdc)]({'width':_0x62b532['width'],'height':_0x62b532[_0x1014b7(0x4e0)]});}['_draw'](_0x4d7449){const _0x47b332=_0x3b6577;p['Circle'][_0x47b332(0x50b)](_0x4d7449,{'radius':c['ShapeDefaultConfig']['adjHandleSize'],'fill':c['ShapeDefaultConfig'][_0x47b332(0x167)],'stroke':c['ShapeDefaultConfig'][_0x47b332(0x171)],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x3b6577(0x1ac)]{constructor(_0x1ad2ea,_0x5548ff,_0x91e924,_0x3b7a4f){const _0x1a9f59=_0x3b6577;super(),this[_0x1a9f59(0x349)]=_0x1ad2ea,this[_0x1a9f59(0x3f4)]=_0x5548ff,this[_0x1a9f59(0x372)]=_0x91e924,this['_commandService']=_0x3b7a4f,L(this,_0x1a9f59(0x4ab),null),L(this,'_unitId',null),L(this,_0x1a9f59(0x225),null),L(this,'_activeShapeAdjustPointList',void 0x0),L(this,_0x1a9f59(0x1d5),[]),L(this,_0x1a9f59(0x5be),0x0),L(this,'_baseShapeTop',0x0),L(this,'_baseShapeWidth',0x0),L(this,'_baseShapeHeight',0x0),L(this,_0x1a9f59(0x5e0),!0x1),L(this,_0x1a9f59(0x1f8),!0x1),L(this,_0x1a9f59(0x4ba),void 0x0),L(this,_0x1a9f59(0x43d),void 0x0),L(this,_0x1a9f59(0x18c),void 0x0),L(this,_0x1a9f59(0x34b),void 0x0),this[_0x1a9f59(0xd1)](),this[_0x1a9f59(0x3a7)]();}[_0x3b6577(0x4b6)](){this['_clearShapeAdjustControls']();}[_0x3b6577(0x464)](){this['_updateShapeAdjustControls'](!0x0);}[_0x3b6577(0x2cd)](_0x3fe889,_0xfea611,_0x5a1787){const _0x142a40=_0x3b6577;var _0x321420;return(_0x321420=this[_0x142a40(0x372)][_0x142a40(0x53c)](_0x3fe889,_0xfea611,_0x5a1787))==null?void 0x0:_0x321420[_0x142a40(0x3da)]();}['_getShapeAdjustInfosById'](_0x4b64a9,_0x5c12df,_0x8554af,_0x3788da){const _0x596955=_0x3b6577;var _0xc15e16;return(_0xc15e16=this[_0x596955(0x372)]['getShapeModel'](_0x4b64a9,_0x5c12df,_0x8554af))==null?void 0x0:_0xc15e16[_0x596955(0x3ea)](_0x3788da);}['_getActiveDrawingParam'](){const _0x5350d9=_0x3b6577;if(this['_unitId']===null||this[_0x5350d9(0x225)]===null||this[_0x5350d9(0x4ab)]===null)return null;let _0x4f9899=this[_0x5350d9(0x3f4)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x5350d9(0x225)],'drawingId':this[_0x5350d9(0x4ab)]});return _0x4f9899==null?null:_0x4f9899;}[_0x3b6577(0x35d)](_0x18f4b2){const _0x153331=_0x3b6577;if(this[_0x153331(0x2ec)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x47237a=(0x0,m[_0x153331(0x56e)])({'unitId':this[_0x153331(0x2ec)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x153331(0x4ab)]}),_0x151524=_0x18f4b2[_0x153331(0x1a4)](_0x47237a);return _0x151524 instanceof H?_0x151524:null;}[_0x3b6577(0x273)](_0x51797f=!0x1){const _0x117c6e=_0x3b6577;if(this[_0x117c6e(0x2ec)]===null||this[_0x117c6e(0x225)]===null||this[_0x117c6e(0x4ab)]===null)return;let _0x3ae494=this[_0x117c6e(0x281)]();if((_0x3ae494==null?void 0x0:_0x3ae494['drawingType'])!==u[_0x117c6e(0x400)][_0x117c6e(0x223)]||!_0x3ae494[_0x117c6e(0x425)])return;let _0x22db9a=this['_docsShapeService'][_0x117c6e(0x53c)](this[_0x117c6e(0x2ec)],this['_subUnitId'],this[_0x117c6e(0x4ab)]);if(!_0x22db9a||_0x22db9a[_0x117c6e(0x269)]())return;(_0x51797f||!this[_0x117c6e(0x57c)])&&(this[_0x117c6e(0x57c)]=this['_getShapeAdjustPointListById'](this[_0x117c6e(0x2ec)],this[_0x117c6e(0x225)],this[_0x117c6e(0x4ab)]));let _0x81a60e=this[_0x117c6e(0x57c)];if(!(_0x81a60e!=null&&_0x81a60e[_0x117c6e(0x254)]))return;let {scene:_0x141da2}=this[_0x117c6e(0x349)],{left:_0x26c798=0x0,top:_0x5de3a3=0x0,width:_0x674980=0x0,height:_0xa36c51=0x0,flipX:_0x37c15d,flipY:_0x3f6122,angle:_0x53bc40=0x0}=_0x3ae494[_0x117c6e(0x425)];for(let _0x53ad39 of _0x81a60e){let _0x459329=this[_0x117c6e(0x30c)](_0x53ad39,_0x674980,_0xa36c51,!!_0x37c15d,!!_0x3f6122,_0x53bc40);this[_0x117c6e(0x2f9)](_0x141da2,_0x459329,_0x459329[_0x117c6e(0x4f1)],_0x26c798,_0x5de3a3,this[_0x117c6e(0x2ec)],this[_0x117c6e(0x225)]);}}[_0x3b6577(0x30c)](_0x469ecf,_0x109b42,_0x182f7e,_0x45f013,_0x4a5b7e,_0x40c004){const _0xa36f4f=_0x3b6577;let _0x557584=_0x469ecf['x'],_0x380e94=_0x469ecf['y'];if(_0x45f013&&(_0x557584=_0x109b42-_0x557584),_0x4a5b7e&&(_0x380e94=_0x182f7e-_0x380e94),_0x40c004!==0x0){let _0x2895bc=_0x109b42/0x2,_0x57a268=_0x182f7e/0x2,_0x3e6188=_0x40c004*Math['PI']/0xb4,_0xdaa0f9=Math[_0xa36f4f(0x35a)](_0x3e6188),_0x2dab52=Math[_0xa36f4f(0x53e)](_0x3e6188),_0x2af678=_0x557584-_0x2895bc,_0x319a31=_0x380e94-_0x57a268;_0x557584=_0x2895bc+(_0x2af678*_0xdaa0f9-_0x319a31*_0x2dab52),_0x380e94=_0x57a268+(_0x2af678*_0x2dab52+_0x319a31*_0xdaa0f9);}return{'x':_0x557584,'y':_0x380e94,'adjName':_0x469ecf['adjName']};}[_0x3b6577(0x2d8)](_0x4fc376=!0x1){const _0x520709=_0x3b6577;_0x4fc376&&this[_0x520709(0x41a)](),this[_0x520709(0x273)](_0x4fc376);}[_0x3b6577(0x2f9)](_0x294d40,_0x334428,_0x11394a,_0x151034,_0x319116,_0x39d6e3,_0xe42d17){const _0x42cca4=_0x3b6577;if(!this[_0x42cca4(0x4ab)])return;let _0x102101='doc-shape-adjust-point-'+this[_0x42cca4(0x4ab)]+'-'+_0x11394a,_0x423494=_0x294d40[_0x42cca4(0x1a4)](_0x102101);if(_0x423494){_0x423494['transformByState']({'left':_0x334428['x']+_0x151034-c['ShapeDefaultConfig'][_0x42cca4(0x4eb)],'top':_0x334428['y']+_0x319116-c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)]}),_0x423494[_0x42cca4(0x147)](!0x0);return;}let _0x5f102b=new Pe(_0x102101,{'left':_0x334428['x']+_0x151034-c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)],'top':_0x334428['y']+_0x319116-c['ShapeDefaultConfig']['adjHandleSize'],'adjName':_0x11394a,'shapeId':this[_0x42cca4(0x4ab)],'unitId':_0x39d6e3,'subUnitId':_0xe42d17,'width':c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)]+0x8,'height':c['ShapeDefaultConfig'][_0x42cca4(0x4eb)]+0x8,'zIndex':p[_0x42cca4(0x443)]+0x1,'evented':!0x0});this[_0x42cca4(0x1d5)][_0x42cca4(0x4e5)](_0x5f102b),this['_attachAdjustEvent'](_0x5f102b,_0x294d40,_0x11394a),_0x294d40[_0x42cca4(0x152)](_0x5f102b,p[_0x42cca4(0x443)]+0x1);}['_clearShapeAdjustControls'](){const _0x12b1c4=_0x3b6577;this[_0x12b1c4(0x1d5)]['forEach'](_0x1ef45d=>_0x1ef45d['dispose']()),this[_0x12b1c4(0x1d5)]=[];}[_0x3b6577(0x576)](){const _0x1d276c=_0x3b6577;this[_0x1d276c(0x273)]();}['_toScenePoint'](_0x34be38,_0x3ffd93,_0x4f3548){const _0x254883=_0x3b6577;var _0x5c1c12,_0x599364;let _0x47757a=p[_0x254883(0x3c0)]['FromArray']([_0x3ffd93,_0x4f3548]),_0x26aa54=(_0x5c1c12=_0x34be38['getActiveViewportByCoord'](_0x47757a))==null?_0x34be38['getViewports']()[0x0]:_0x5c1c12;return(_0x599364=_0x26aa54==null?void 0x0:_0x26aa54[_0x254883(0x1f4)](_0x47757a))==null?_0x47757a:_0x599364;}[_0x3b6577(0x43e)](_0xe473e0,_0x4840bd,_0x47261c){const _0x4ae924=_0x3b6577;this['disposeWithMe']((0x0,u['toDisposable'])(_0xe473e0[_0x4ae924(0x1ff)][_0x4ae924(0x25c)]((_0x22612f,_0x139be7)=>{const _0x516dea=_0x4ae924;var _0xb715c,_0x268275,_0x28da64,_0x11fe18;let _0x329dbe=_0xe473e0[_0x516dea(0x41e)]();this[_0x516dea(0x4ba)]=this[_0x516dea(0x474)](_0x329dbe[_0x516dea(0x424)],_0x329dbe[_0x516dea(0x21b)],_0x329dbe['drawingId'],_0x47261c),this[_0x516dea(0x43d)]=this[_0x516dea(0x372)][_0x516dea(0x53c)](_0x329dbe[_0x516dea(0x424)],_0x329dbe['subUnitId'],_0x329dbe[_0x516dea(0x366)]);let _0x142dd0=this[_0x516dea(0x281)](),_0x4c7c3b=_0x142dd0==null?void 0x0:_0x142dd0[_0x516dea(0x425)];if(!_0x142dd0||!_0x4c7c3b||!this[_0x516dea(0x43d)])return;this[_0x516dea(0x5be)]=_0x4c7c3b[_0x516dea(0x1f0)]||0x0,this[_0x516dea(0x48b)]=_0x4c7c3b['top']||0x0,this[_0x516dea(0x278)]=_0x4c7c3b[_0x516dea(0x3ed)]||0x0,this['_baseShapeHeight']=_0x4c7c3b[_0x516dea(0x4e0)]||0x0;let _0x5e5f8d=!!_0x4c7c3b['flipX'],_0x1b088f=!!_0x4c7c3b['flipY'],_0x5ec454=_0x4c7c3b[_0x516dea(0x2d0)]||0x0,_0x3f2c59=((_0xb715c=this[_0x516dea(0x4ba)])==null?void 0x0:_0xb715c['gdRefX'])||((_0x268275=this[_0x516dea(0x4ba)])==null?void 0x0:_0x268275[_0x516dea(0x1a7)])||((_0x28da64=this[_0x516dea(0x4ba)])==null?void 0x0:_0x28da64[_0x516dea(0x345)])||((_0x11fe18=this['_activeAdjustInfo'])==null?void 0x0:_0x11fe18['gdRefR'])||_0x47261c,_0x4a6a5e=this['_activeShapeModel']['getAdjustValueByName'](_0x3f2c59),_0x2ddd89={[_0x3f2c59]:_0x4a6a5e};this['_isStartAdjusting']=!0x0,_0x4840bd['disableObjectsEvent'](),this[_0x516dea(0x18c)]=_0x4840bd[_0x516dea(0x263)][_0x516dea(0x25c)]((_0x32bf76,_0x42625f)=>{const _0x9eff55=_0x516dea;var _0x4898ac;if(!this[_0x9eff55(0x5e0)]||!this['_activeShapeModel']||!this['_activeAdjustInfo'])return;_0x4840bd[_0x9eff55(0x21c)](),_0x4840bd[_0x9eff55(0x186)](p[_0x9eff55(0xe4)][_0x9eff55(0x3ff)]);let _0xb33b21=this[_0x9eff55(0x1af)](_0x4840bd,_0x32bf76[_0x9eff55(0x58d)],_0x32bf76['offsetY']),_0x2cd9af=_0xb33b21['x']-this[_0x9eff55(0x5be)],_0x396a3c=_0xb33b21['y']-this[_0x9eff55(0x48b)];if(_0x5ec454!==0x0){let _0x3bfe92=this[_0x9eff55(0x278)]/0x2,_0x575dd9=this[_0x9eff55(0x529)]/0x2,_0x1016eb=_0x5ec454*Math['PI']/0xb4,_0x548ab0=Math[_0x9eff55(0x35a)](_0x1016eb),_0x43baed=Math['sin'](_0x1016eb),_0x21a538=_0x2cd9af-_0x3bfe92,_0x3cea9b=_0x396a3c-_0x575dd9;_0x2cd9af=_0x3bfe92+(_0x21a538*_0x548ab0+_0x3cea9b*_0x43baed),_0x396a3c=_0x575dd9+(-_0x21a538*_0x43baed+_0x3cea9b*_0x548ab0);}_0x5e5f8d&&(_0x2cd9af=this[_0x9eff55(0x278)]-_0x2cd9af),_0x1b088f&&(_0x396a3c=this[_0x9eff55(0x529)]-_0x396a3c);let _0x19071a={'left':0x0,'top':0x0,'width':this[_0x9eff55(0x278)],'height':this[_0x9eff55(0x529)]},_0x369918=this[_0x9eff55(0x43d)][_0x9eff55(0x33b)](_0x19071a,{'x':_0x2cd9af,'y':_0x396a3c},this['_activeAdjustInfo'],_0x5e5f8d,_0x1b088f),_0x59312c=this['_activeAdjustInfo']['gdRefX']||this['_activeAdjustInfo'][_0x9eff55(0x1a7)]||this[_0x9eff55(0x4ba)][_0x9eff55(0x345)]||this['_activeAdjustInfo'][_0x9eff55(0x394)];_0x59312c!==void 0x0&&(this[_0x9eff55(0x43d)][_0x9eff55(0x3d1)](_0x59312c,_0x369918),(_0x4898ac=this[_0x9eff55(0x35d)](_0x4840bd))==null||_0x4898ac[_0x9eff55(0x147)](!0x0),this[_0x9eff55(0x57c)]=this['_getShapeAdjustPointListById'](_0x329dbe[_0x9eff55(0x424)],_0x329dbe['subUnitId'],_0x329dbe[_0x9eff55(0x366)]),this[_0x9eff55(0x576)](),_0x42625f[_0x9eff55(0x488)]());}),this['_adjHandlerPointerUp']=_0x4840bd[_0x516dea(0x420)][_0x516dea(0x25c)]((_0x51c6dc,_0x587677)=>{const _0x5bbd48=_0x516dea;var _0x73ba60,_0x526f58;(_0x73ba60=this[_0x5bbd48(0x18c)])==null||_0x73ba60[_0x5bbd48(0x52b)](),(_0x526f58=this['_adjHandlerPointerUp'])==null||_0x526f58[_0x5bbd48(0x52b)](),_0x4840bd['resetCursor']();let _0x54c726=this[_0x5bbd48(0x4ba)];if(_0x54c726&&this[_0x5bbd48(0x43d)]){let _0x5cc53e=_0x54c726[_0x5bbd48(0x283)]||_0x54c726[_0x5bbd48(0x1a7)]||_0x54c726[_0x5bbd48(0x345)]||_0x54c726[_0x5bbd48(0x394)];if(_0x5cc53e!==void 0x0){let _0x377094=this[_0x5bbd48(0x43d)][_0x5bbd48(0x31b)](_0x5cc53e);_0x377094!==void 0x0&&z(this[_0x5bbd48(0x379)],_0x329dbe[_0x5bbd48(0x424)],_0x329dbe[_0x5bbd48(0x21b)],_0x329dbe[_0x5bbd48(0x366)],{'oldShapeData':{'adjustValues':_0x2ddd89}},{'adjustValues':{[_0x5cc53e]:_0x377094}});}}this[_0x5bbd48(0x4ba)]=void 0x0,this[_0x5bbd48(0x43d)]=void 0x0,this[_0x5bbd48(0x5e0)]=!0x1,_0x4840bd['enableObjectsEvent'](),_0x587677['stopPropagation']();}),_0x139be7[_0x516dea(0x488)]();})));}[_0x3b6577(0x3a7)](){const _0x1ee5f6=_0x3b6577;let {scene:_0x2f172c}=this[_0x1ee5f6(0x349)],_0x9247b5=_0x2f172c[_0x1ee5f6(0x194)]();this[_0x1ee5f6(0x21f)](_0x9247b5[_0x1ee5f6(0x329)]['subscribe'](_0x1ea8ca=>{const _0xe41efb=_0x1ee5f6;this[_0xe41efb(0x273)](),_0x1ea8ca[_0xe41efb(0x44e)]!==null&&_0x1ea8ca[_0xe41efb(0x44e)]['size']===0x1&&_0x1ea8ca[_0xe41efb(0x44e)][_0xe41efb(0x356)]()[_0xe41efb(0x40a)]()[_0xe41efb(0x5e4)]instanceof H&&(this[_0xe41efb(0x1f8)]=!0x0);})),this['disposeWithMe'](_0x9247b5[_0x1ee5f6(0x4d7)][_0x1ee5f6(0x451)](()=>{const _0x41cea7=_0x1ee5f6;this[_0x41cea7(0x1f8)]&&this[_0x41cea7(0x41a)]();})),this['disposeWithMe'](_0x2f172c[_0x1ee5f6(0x420)][_0x1ee5f6(0x25c)](()=>{const _0x58a418=_0x1ee5f6;this[_0x58a418(0x1f8)]&&(this['_isShouldShowDrawingShapeAdjust']=!0x1,this[_0x58a418(0x273)]());})),this[_0x1ee5f6(0x21f)](_0x9247b5[_0x1ee5f6(0x392)]['subscribe'](()=>{const _0x3005fd=_0x1ee5f6;this[_0x3005fd(0x2ec)]&&this['_subUnitId']&&this[_0x3005fd(0x4ab)]&&(this[_0x3005fd(0x57c)]=this['_getShapeAdjustPointListById'](this[_0x3005fd(0x2ec)],this[_0x3005fd(0x225)],this[_0x3005fd(0x4ab)]),this[_0x3005fd(0x576)]());}));}[_0x3b6577(0xd1)](){const _0x26c909=_0x3b6577;this['disposeWithMe'](this[_0x26c909(0x3f4)][_0x26c909(0x36d)][_0x26c909(0x451)](_0x334ea5=>{const _0x228934=_0x26c909;if(_0x334ea5[_0x228934(0x254)]===0x1){let _0x39be40=_0x334ea5[0x0],_0x33fadd=this[_0x228934(0x3f4)]['getDrawingByParam'](_0x39be40);if((_0x33fadd==null?void 0x0:_0x33fadd[_0x228934(0xea)])===u['DrawingTypeEnum'][_0x228934(0x223)]){this[_0x228934(0x4ab)]=_0x39be40[_0x228934(0x366)],this['_unitId']=_0x39be40[_0x228934(0x424)],this[_0x228934(0x225)]=_0x39be40[_0x228934(0x21b)],this[_0x228934(0x57c)]=this[_0x228934(0x2cd)](_0x39be40[_0x228934(0x424)],_0x39be40['subUnitId'],_0x39be40[_0x228934(0x366)]),this[_0x228934(0x41a)](),this[_0x228934(0x273)]();return;}}this['_activeShapeId']=null,this[_0x228934(0x57c)]=void 0x0,this['_unitId']=null,this[_0x228934(0x225)]=null,this[_0x228934(0x41a)]();})),this['disposeWithMe'](this[_0x26c909(0x3f4)]['update$']['subscribe'](_0x32dc23=>{const _0x1b7f5c=_0x26c909;if(_0x32dc23[_0x1b7f5c(0x254)]===0x1){var _0x29031f;((_0x29031f=this['_drawingManagerService'][_0x1b7f5c(0x212)](_0x32dc23[0x0]))==null?void 0x0:_0x29031f['drawingType'])===u['DrawingTypeEnum'][_0x1b7f5c(0x223)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x26c909(0x21f)](this['_drawingManagerService'][_0x26c909(0x189)][_0x26c909(0x451)](_0x37d8de=>{const _0x43b84f=_0x26c909;for(let _0x40a318 of _0x37d8de)this[_0x43b84f(0x4ab)]===_0x40a318[_0x43b84f(0x366)]&&(this[_0x43b84f(0x4ab)]=null,this[_0x43b84f(0x57c)]=void 0x0,this[_0x43b84f(0x2ec)]=null,this[_0x43b84f(0x225)]=null,this[_0x43b84f(0x41a)]());}));}};Fe=W([U(0x1,m['IDrawingManagerService']),U(0x2,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)])),U(0x3,u[_0x3b6577(0x243)])],Fe);function Ie(_0x166d0b,_0x2a3341){const _0x4d65f9=_0x3b6577;let _0x26eef3=_0x166d0b;for(;_0x26eef3;){if(_0x2a3341(_0x26eef3))return _0x26eef3;_0x26eef3=typeof _0x26eef3[_0x4d65f9(0x559)]=='function'?_0x26eef3[_0x4d65f9(0x559)]():null;}return null;}function Le(_0x114967){return Ie(_0x114967,_0x2497c8=>_0x2497c8 instanceof H);}let Re=class extends u['Disposable']{constructor(_0x2a8a3c,_0x34d2e8,_0xa805a9,_0x2d4422,_0x581ddb){const _0x16faf7=_0x3b6577;super(),this[_0x16faf7(0x349)]=_0x2a8a3c,this['_shapeTextEditingService']=_0x34d2e8,this[_0x16faf7(0x3f4)]=_0xa805a9,this[_0x16faf7(0x284)]=_0x2d4422,this[_0x16faf7(0x372)]=_0x581ddb,L(this,_0x16faf7(0x2f5),null),this[_0x16faf7(0x2b8)](),this[_0x16faf7(0x4a7)](),this['_initEditingParams']();}['_initEvents'](){const _0x157183=_0x3b6577;let {scene:_0x3b86d7}=this[_0x157183(0x349)];this[_0x157183(0x21f)](_0x3b86d7['onDblclick$'][_0x157183(0x25c)](_0x1adaf1=>{const _0x205386=_0x157183;var _0x159a2e;let {offsetX:_0x16c8ef,offsetY:_0x35d7a3}=_0x1adaf1,_0x3ec476=p[_0x205386(0x3c0)]['FromArray']([_0x16c8ef,_0x35d7a3]),_0x62b3ae=(_0x159a2e=Le(_0x3b86d7[_0x205386(0x1dc)](_0x3ec476)))==null?this[_0x205386(0x3e0)](_0x3ec476):_0x159a2e;if(_0x62b3ae){if((0x0,c[_0x205386(0x448)])(this['_docsShapeService']['getShapeType'](_0x62b3ae[_0x205386(0x424)],_0x62b3ae[_0x205386(0x21b)],_0x62b3ae[_0x205386(0x24f)])))return;this[_0x205386(0x51f)][_0x205386(0x52d)]({'visible':!0x0,'unitId':_0x62b3ae[_0x205386(0x424)],'subUnitId':_0x62b3ae[_0x205386(0x21b)],'shapeId':_0x62b3ae[_0x205386(0x24f)],'shapeKey':_0x62b3ae[_0x205386(0x12b)]});}}));}[_0x3b6577(0x3e0)](_0x3761d2){const _0x4a8b2e=_0x3b6577;let {scene:_0x335e42}=this[_0x4a8b2e(0x349)],_0x387d0b=this[_0x4a8b2e(0x3f4)][_0x4a8b2e(0x321)]()[_0x4a8b2e(0x567)](_0x89df5=>_0x335e42[_0x4a8b2e(0x1a4)]((0x0,m[_0x4a8b2e(0x56e)])(_0x89df5)))[_0x4a8b2e(0x276)](_0x4d0197=>_0x4d0197 instanceof H&&_0x4d0197[_0x4a8b2e(0x266)](_0x3761d2));return _0x387d0b==null?null:_0x387d0b;}[_0x3b6577(0x4a7)](){const _0x1fbd33=_0x3b6577;this[_0x1fbd33(0x21f)](this[_0x1fbd33(0x3f4)]['focus$'][_0x1fbd33(0x451)](_0x51e183=>{const _0x5461e6=_0x1fbd33;if(_0x51e183[_0x5461e6(0x254)]===0x1){let _0x23985a=_0x51e183[0x0],_0x57c9f0=this[_0x5461e6(0x3f4)]['getDrawingByParam'](_0x23985a);if((_0x57c9f0==null?void 0x0:_0x57c9f0['drawingType'])===u[_0x5461e6(0x400)][_0x5461e6(0x223)]){let _0x10a516=this[_0x5461e6(0x51f)][_0x5461e6(0x568)]();if((_0x10a516==null?void 0x0:_0x10a516[_0x5461e6(0x24f)])===_0x23985a[_0x5461e6(0x366)]&&_0x10a516[_0x5461e6(0x3c3)])return;(0x0,c[_0x5461e6(0x448)])(this['_docsShapeService'][_0x5461e6(0x53a)](_0x23985a[_0x5461e6(0x424)],_0x23985a['subUnitId'],_0x23985a[_0x5461e6(0x366)]))&&this[_0x5461e6(0x51f)][_0x5461e6(0x52d)](null);}else this[_0x5461e6(0x51f)][_0x5461e6(0x568)]()&&(this['_shapeTextEditingService'][_0x5461e6(0x516)](!0x0),requestAnimationFrame(()=>{const _0x3f7c41=_0x5461e6;this[_0x3f7c41(0x51f)][_0x3f7c41(0x52d)](null);}));}else this['_shapeTextEditingService'][_0x5461e6(0x568)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this[_0x1fbd33(0x21f)](this[_0x1fbd33(0x3f4)][_0x1fbd33(0x189)][_0x1fbd33(0x451)](_0x122038=>{const _0x2995ec=_0x1fbd33;let _0x1f76dd=this['_shapeTextEditingService'][_0x2995ec(0x568)]();_0x1f76dd&&_0x122038[_0x2995ec(0x19d)](_0xc8f636=>_0xc8f636[_0x2995ec(0x366)]===_0x1f76dd[_0x2995ec(0x24f)])&&this[_0x2995ec(0x51f)][_0x2995ec(0x52d)](null);}));}[_0x3b6577(0x13b)](){const _0x3b4874=_0x3b6577;this[_0x3b4874(0x21f)](this[_0x3b4874(0x51f)][_0x3b4874(0x1ec)]['subscribe'](_0x4f4e89=>{const _0x4b3298=_0x3b4874;let {scene:_0x2693a7}=this[_0x4b3298(0x349)];if(this[_0x4b3298(0x2f5)]){let _0x5460f9=_0x2693a7[_0x4b3298(0x1a4)](this[_0x4b3298(0x2f5)]);_0x5460f9&&_0x5460f9[_0x4b3298(0x52d)](!0x1);}if(_0x4f4e89){let _0x45f074=!!_0x4f4e89[_0x4b3298(0x3c3)],_0x249621=_0x2693a7[_0x4b3298(0x1a4)](_0x4f4e89[_0x4b3298(0x249)]);_0x249621&&(_0x249621[_0x4b3298(0x52d)](_0x45f074),this[_0x4b3298(0x2f5)]=_0x4f4e89[_0x4b3298(0x249)]),this[_0x4b3298(0x284)][_0x4b3298(0x449)](u[_0x4b3298(0x102)],_0x45f074);}else this[_0x4b3298(0x2f5)]=null,this[_0x4b3298(0x284)][_0x4b3298(0x449)](u[_0x4b3298(0x102)],!0x1);}));}};Re=W([U(0x1,(0x0,u[_0x3b6577(0x192)])(R)),U(0x2,m[_0x3b6577(0x539)]),U(0x3,u[_0x3b6577(0x5d0)]),U(0x4,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)]))],Re);const ze=[f[_0x3b6577(0x5a1)],f[_0x3b6577(0x535)]['id'],f[_0x3b6577(0x128)]['id'],f[_0x3b6577(0x453)]['id'],f[_0x3b6577(0x39f)]['id'],f[_0x3b6577(0x5da)]['id'],f[_0x3b6577(0x2a3)]['id'],f[_0x3b6577(0x5db)]['id'],f['SetInlineFormatTextColorCommand']['id'],f[_0x3b6577(0x504)]['id']];function Be(){const _0x2cc683=_0x3b6577;let _0x3db042=(0x0,g[_0x2cc683(0x19e)])(g[_0x2cc683(0x303)]),[_0x560410,_0x18a5b3]=(0x0,y[_0x2cc683(0x4b2)])([]);return(0x0,y[_0x2cc683(0x531)])(()=>{const _0x1a0cfb=_0x2cc683;function _0x37ae4c(){const _0x2e6c9c=_0x1a94;let _0x18b083=[..._0x3db042[_0x2e6c9c(0x496)](f[_0x2e6c9c(0x581)]),..._0x3db042['getFlatMenuByPositionKey'](g[_0x2e6c9c(0x43c)][_0x2e6c9c(0x556)])];_0x18a5b3(ze[_0x2e6c9c(0x567)](_0x3da3be=>_0x18b083[_0x2e6c9c(0x276)](_0x3edff1=>_0x3edff1['key']===_0x3da3be))[_0x2e6c9c(0x452)](_0x56a9f4=>!!(_0x56a9f4!=null&&_0x56a9f4[_0x2e6c9c(0x1b8)])));}_0x37ae4c();let _0x3fd93b=_0x3db042[_0x1a0cfb(0x49b)][_0x1a0cfb(0x451)](_0x37ae4c);return()=>_0x3fd93b[_0x1a0cfb(0x52b)]();},[_0x3db042]),(0x0,x['jsx'])(_0x2cc683(0x577),{'className':(0x0,v[_0x2cc683(0x2c3)])(_0x2cc683(0x1ef),v[_0x2cc683(0x518)]),'children':_0x560410['map'](_0x436a4c=>_0x436a4c['item']&&(0x0,x[_0x2cc683(0x4e3)])(_0x2cc683(0x577),{'className':_0x2cc683(0x31c),'children':(0x0,x[_0x2cc683(0x4e3)])(g['ToolbarItem'],{..._0x436a4c['item']},_0x436a4c[_0x2cc683(0x375)])},_0x436a4c['key']))});}const Ve=_0x3b6577(0x1c3);function He(_0x42a67e,_0x49e3f9){const _0x2f0677=_0x3b6577;if(_0x42a67e==null||_0x49e3f9==null)return!0x1;let {glyph:_0x1e5e11,..._0x1e11a4}=_0x42a67e,{glyph:_0x5abe3e,..._0x32aa34}=_0x49e3f9;return(0x0,u[_0x2f0677(0x13d)])(_0x1e11a4,_0x32aa34);}let Ue=class extends u[_0x3b6577(0x1ac)]{constructor(_0x1668b9,_0x466dfb,_0x2c1366,_0x2beae4,_0xb22fe5){const _0xf5c495=_0x3b6577;super(),this['_context']=_0x1668b9,this[_0xf5c495(0x3fe)]=_0x466dfb,this['_docCanvasPopManagerService']=_0x2c1366,this[_0xf5c495(0x136)]=_0x2beae4,this['_docSelectionRenderService']=_0xb22fe5,L(this,_0xf5c495(0x187),null),this['_context'][_0xf5c495(0x424)]===P&&(this[_0xf5c495(0x21f)](this[_0xf5c495(0x136)][_0xf5c495(0x455)](Ve,Be)),this[_0xf5c495(0x26e)](),this[_0xf5c495(0x21f)](()=>this[_0xf5c495(0x5eb)]()));}[_0x3b6577(0x26e)](){const _0x3b6dfc=_0x3b6577;this[_0x3b6dfc(0x21f)](this[_0x3b6dfc(0x5a6)]['onSelectionStart$']['subscribe'](()=>{const _0x48dab8=_0x3b6dfc;this[_0x48dab8(0x5eb)]();})),this[_0x3b6dfc(0x21f)](this[_0x3b6dfc(0x3fe)][_0x3b6dfc(0x1e0)][_0x3b6dfc(0x451)](_0x34e571=>{const _0x1f9148=_0x3b6dfc;var _0x2ff9c3,_0x42152d;let {unitId:_0x2c7c38,textRanges:_0x34962a}=_0x34e571;if(_0x2c7c38!==this[_0x1f9148(0x349)][_0x1f9148(0x424)])return;let _0x2bf4be=_0x34962a[_0x1f9148(0x276)](_0xfd4b88=>!_0xfd4b88[_0x1f9148(0x5a4)]);if(!_0x2bf4be){this[_0x1f9148(0x5eb)]();return;}_0x2bf4be[_0x1f9148(0x4e9)]===((_0x2ff9c3=this[_0x1f9148(0x187)])==null?void 0x0:_0x2ff9c3[_0x1f9148(0x33f)])&&_0x2bf4be[_0x1f9148(0x458)]===((_0x42152d=this[_0x1f9148(0x187)])==null?void 0x0:_0x42152d[_0x1f9148(0x2b2)])||(this[_0x1f9148(0x5eb)](),this['_showFloatMenu'](_0x2c7c38,_0x2bf4be));}));}[_0x3b6577(0x5eb)](){const _0x543672=_0x3b6577;var _0x5c32bc;(_0x5c32bc=this[_0x543672(0x187)])==null||_0x5c32bc[_0x543672(0x248)][_0x543672(0x318)](),this[_0x543672(0x187)]=null;}[_0x3b6577(0x4c7)](_0x143b55,_0x1c384a){const _0x4f5df3=_0x3b6577;this['_floatMenu']={'disposable':this[_0x4f5df3(0x3aa)]['attachPopupToRange'](_0x1c384a,{'componentKey':Ve,'direction':_0x1c384a[_0x4f5df3(0x598)]===_0x4f5df3(0x2f0)||He(_0x1c384a['startNodePosition'],_0x1c384a[_0x4f5df3(0x2d2)])?_0x4f5df3(0x3d2):_0x4f5df3(0x53f),'offset':[0x0,0x4]},_0x143b55),'start':_0x1c384a[_0x4f5df3(0x4e9)],'end':_0x1c384a['endOffset']};}};Ue=W([U(0x1,(0x0,u[_0x3b6577(0x192)])(C[_0x3b6577(0xcf)])),U(0x2,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x36a)])),U(0x3,(0x0,u['Inject'])(g[_0x3b6577(0x489)])),U(0x4,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x2ee)]))],Ue);function We(_0x47a3f1,_0xf5152c){const _0x52ca1f=_0x3b6577;return{'top':0x0,'left':0x0,'width':_0x47a3f1,'height':_0xf5152c,'borderColor':_0x52ca1f(0x51b),'outlineColor':'transparent','backgroundColor':_0x52ca1f(0x51b)};}function Ge(_0x1ca382){const _0x15df28=_0x3b6577;var _0x289592,_0x503d4f;let _0x4b5ea2=_0x1ca382==null||(_0x289592=_0x1ca382[_0x15df28(0x25a)])==null||(_0x503d4f=_0x289592[_0x15df28(0x116)])==null?void 0x0:_0x503d4f[_0x15df28(0x47a)](_0x289592);_0x4b5ea2&&(_0x4b5ea2['style'][_0x15df28(0x14d)]=_0x15df28(0x51b));}function Ke(_0x267caf){const _0x31b556=_0x3b6577;let _0x3dbb0f=g['MetaKeys']['CTRL_COMMAND'],_0x53f1dd=g['MetaKeys'][_0x31b556(0x5df)]|g[_0x31b556(0xec)][_0x31b556(0x430)];return{'keyCodes':[{'keyCode':g['KeyCode'][_0x31b556(0x22d)]},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x3e7)]},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x406)]},{'keyCode':g[_0x31b556(0x47c)]['A'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['B'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['I'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['U'],'metaKey':_0x3dbb0f},{'keyCode':g['KeyCode']['X'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x36e)],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x542)],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['L'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['R'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)]['E'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['J'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['Digit7'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x2bb)],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['Y'],'metaKey':_0x3dbb0f},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x53f1dd}],'handler':(_0x16a3f7,_0xe5a6da)=>{const _0x3bf15f=_0x31b556;switch(_0x16a3f7+':'+(_0xe5a6da==null?0x0:_0xe5a6da)){case g[_0x3bf15f(0x47c)][_0x3bf15f(0x22d)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x393)]['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x3e7)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x46d)]['id']);break;case g['KeyCode'][_0x3bf15f(0x406)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x241)]['id']);break;case g[_0x3bf15f(0x47c)]['A']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x38c)]['id']);break;case g[_0x3bf15f(0x47c)]['B']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x128)]['id']);break;case g['KeyCode']['I']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x453)]['id']);break;case g[_0x3bf15f(0x47c)]['U']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f['SetInlineFormatUnderlineCommand']['id']);break;case g[_0x3bf15f(0x47c)]['X']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x5da)]['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x36e)]+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x2a3)]['id']);break;case g['KeyCode'][_0x3bf15f(0x542)]+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x5db)]['id']);break;case g[_0x3bf15f(0x47c)]['L']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x376)]['id']);break;case g[_0x3bf15f(0x47c)]['R']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x494)]['id']);break;case g[_0x3bf15f(0x47c)]['E']+':'+_0x53f1dd:_0x267caf['executeCommand'](f[_0x3bf15f(0x26f)]['id']);break;case g[_0x3bf15f(0x47c)]['J']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f['AlignJustifyCommand']['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x20a)]+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f['OrderListCommand']['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x2bb)]+':'+_0x53f1dd:_0x267caf['executeCommand'](f[_0x3bf15f(0x22c)]['id']);break;case g[_0x3bf15f(0x47c)]['Z']+':'+_0x3dbb0f:_0x267caf['executeCommand'](u[_0x3bf15f(0x2b9)]['id']);break;case g[_0x3bf15f(0x47c)]['Y']+':'+_0x3dbb0f:case g['KeyCode']['Z']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](u['RedoCommand']['id']);break;}}};}const qe=function(_0x438af5){const _0x5aba63=_0x3b6577;let {containerWidth:_0x56e82e,containerHeight:_0x5be1b1,scaleX:_0x5a9a40,scaleY:_0x49f144}=_0x438af5,_0x42fc5d=_0x5a9a40||0x1,_0x381c0d=_0x49f144||0x1,_0x4c98ce=(0x0,g[_0x5aba63(0x19e)])(R),_0x496185=(0x0,g['useDependency'])(f[_0x5aba63(0x1d0)]),_0x484e15=(0x0,g[_0x5aba63(0x19e)])(p['IRenderManagerService']),_0x7810c9=(0x0,g[_0x5aba63(0x19e)])(u['IUniverInstanceService']),_0x49dbaf=(0x0,g[_0x5aba63(0x19e)])(m['IDrawingManagerService']),_0x374c74=(0x0,g[_0x5aba63(0x19e)])(l[_0x5aba63(0x1fc)]),_0x4dfeee=(0x0,g[_0x5aba63(0x19e)])(u[_0x5aba63(0x243)]),_0x5465ce=(0x0,g[_0x5aba63(0x279)])(_0x4c98ce[_0x5aba63(0x1ec)]),_0x453e32=(0x0,g[_0x5aba63(0x279)])(_0x4c98ce[_0x5aba63(0x142)]),_0x304f89=(0x0,y[_0x5aba63(0x362)])(null),_0x25fe11=(0x0,y[_0x5aba63(0x362)])(null),_0x3ecc44=(0x0,y[_0x5aba63(0x362)])(null),_0x4718f0=(0x0,y[_0x5aba63(0x362)])(null),_0x11abce=(0x0,y[_0x5aba63(0x362)])(null),_0x4cd19e=(0x0,y[_0x5aba63(0x362)])(null),[,_0x564142]=(0x0,y['useState'])({'editorHeight':_0x5be1b1,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0xa88835=(0x0,y[_0x5aba63(0x341)])(_0x5920f1=>{queueMicrotask(()=>{_0x564142(_0x5920f1);});},[]),_0x52d406=(0x0,y[_0x5aba63(0x341)])(()=>_0x7810c9['getUnit'](P,u[_0x5aba63(0x2f8)]['UNIVER_DOC']),[_0x7810c9]),_0x16e4e7=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x2bbadc=_0x5aba63;var _0x3f3ba9;let _0x3aeb0b=_0x42fc5d,_0x228fbf=_0x381c0d;if(!_0x5465ce)return{'scaleAdjust':0x1,'renderScaleX':_0x3aeb0b,'renderScaleY':_0x228fbf};let _0x4c900f=_0x484e15['getRenderById'](_0x5465ce[_0x2bbadc(0x424)]),_0x17498c=_0x4c900f==null?void 0x0:_0x4c900f[_0x2bbadc(0x492)][_0x2bbadc(0x322)](),_0x4eefdb=_0x4c900f==null?void 0x0:_0x4c900f['engine']['getCanvasElement'](),_0x508591=_0x4eefdb?Number[_0x2bbadc(0xd6)](_0x4eefdb['style']['width']||''):0x0,_0x1476d1=(_0x3f3ba9=_0x4eefdb==null?void 0x0:_0x4eefdb[_0x2bbadc(0x2c0)]()[_0x2bbadc(0x3ed)])==null?0x0:_0x3f3ba9,_0x24d4c1=_0x508591>0x0&&_0x1476d1>0x0?_0x1476d1/_0x508591:0x1;return{'scaleAdjust':Number['isFinite'](_0x24d4c1)&&_0x24d4c1>0x0?_0x24d4c1:0x1,'renderScaleX':(_0x17498c==null?void 0x0:_0x17498c[_0x2bbadc(0x230)])||_0x3aeb0b,'renderScaleY':(_0x17498c==null?void 0x0:_0x17498c[_0x2bbadc(0x155)])||_0x228fbf};},[_0x42fc5d,_0x381c0d,_0x5465ce,_0x484e15]),_0x4b400f=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x5b06ec=_0x5aba63;if(!_0x5465ce)return{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};let {unitId:_0x2815a4,subUnitId:_0x53d751,shapeId:_0x4a580b}=_0x5465ce,_0x235783=_0x374c74['getShapeModel'](_0x2815a4,_0x53d751,_0x4a580b);if(!_0x235783)return{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};let _0x1c3461={'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};return _0x235783[_0x5b06ec(0x5bd)](_0x1c3461);},[_0x5465ce,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d,_0x374c74]),_0x434257=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x11016c=_0x5aba63;if(!_0x5465ce)return null;let {unitId:_0x1255ce,subUnitId:_0x26bee0,shapeId:_0x544f5f}=_0x5465ce,_0x238375=_0x374c74[_0x11016c(0x53c)](_0x1255ce,_0x26bee0,_0x544f5f);if(!_0x238375)return null;let _0x50c451=_0x238375[_0x11016c(0x4b7)]();if(!_0x50c451)return null;let _0x3f7d54={'unitId':_0x1255ce,'subUnitId':_0x26bee0,'drawingId':_0x544f5f},_0x2716fc=_0x49dbaf[_0x11016c(0x212)](_0x3f7d54),_0x577a01={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x2716fc&&_0x2716fc[_0x11016c(0x425)]&&(_0x577a01=_0x2716fc[_0x11016c(0x425)]);let _0x4b6e60={'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d},_0x517107=_0x238375['getShapeTextRect'](_0x4b6e60),_0x18d15a,_0x2715d3=u['VerticalAlign'][_0x11016c(0x170)],_0x5153be=u[_0x11016c(0xf9)]['LEFT'];if(_0x11016c(0x590)in _0x50c451&&_0x50c451[_0x11016c(0x590)]){var _0x5d768b,_0x378e55;let _0x1f2159=_0x50c451[_0x11016c(0x590)];_0x1f2159!=null&&_0x1f2159[_0x11016c(0xe0)]&&(_0x18d15a=_0x1f2159[_0x11016c(0xe0)]),_0x2715d3=(_0x5d768b=_0x1f2159==null?void 0x0:_0x1f2159['va'])==null?u[_0x11016c(0x3d9)][_0x11016c(0x170)]:_0x5d768b,_0x5153be=(_0x378e55=_0x1f2159==null?void 0x0:_0x1f2159['ha'])==null?u['HorizontalAlign'][_0x11016c(0x2c8)]:_0x378e55;}return{'doc':_0x18d15a,'verticalAlign':_0x2715d3,'horizontalAlign':_0x5153be,'textRect':_0x517107,'transform':_0x577a01,'isHorizontal':_0x50c451[_0x11016c(0x4d5)]};},[_0x5465ce,_0x374c74,_0x49dbaf,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d]),_0x5e63d0=(0x0,y['useMemo'])(()=>{const _0x4c3c10=_0x5aba63;let _0x57a469=_0x434257();return _0x57a469!=null&&_0x57a469[_0x4c3c10(0xe0)]?V(_0x57a469[_0x4c3c10(0xe0)],{'isHorizontal':!0x0,'textRect':_0x57a469[_0x4c3c10(0x469)],'verticalAlign':_0x57a469['verticalAlign'],'horizontalAlign':_0x57a469[_0x4c3c10(0x30a)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x56e82e/_0x42fc5d,'height':0x1/0x0}}};},[_0x434257,_0x56e82e,_0x42fc5d]),_0x45ba00=(0x0,f[_0x5aba63(0x146)])({'editorId':P,'initialValue':_0x5e63d0,'container':_0x25fe11,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,y[_0x5aba63(0x531)])(()=>{const _0x26394e=_0x5aba63;_0x45ba00&&Ge(_0x484e15[_0x26394e(0x1c9)](P));},[_0x45ba00,_0x484e15]);let _0x2ac6ba=(0x0,f[_0x5aba63(0x24e)])(P);(0x0,f[_0x5aba63(0x1a5)])(_0x2ac6ba,(0x0,y['useMemo'])(()=>Ke(_0x4dfeee),[_0x4dfeee]),_0x45ba00),(0x0,f[_0x5aba63(0x572)])(_0x2ac6ba,!0x1,_0x45ba00);let _0x4de4a7=(0x0,y[_0x5aba63(0x341)])((_0x19fdbe=!0x0)=>{const _0x14926f=_0x5aba63;var _0x33536e,_0xca9ebe,_0x4c8809;if(!_0x45ba00)return;let _0x58417b=_0x45ba00[_0x14926f(0x5d4)]()[_0x14926f(0x276)](_0x52235d=>_0x52235d[_0x14926f(0x5a4)]),_0x353a52=((_0x33536e=(_0xca9ebe=_0x45ba00[_0x14926f(0x25e)]()['body'])==null?void 0x0:_0xca9ebe[_0x14926f(0x48c)][_0x14926f(0x254)])==null?0x2:_0x33536e)-0x2,_0x2ac96b=(_0x4c8809=_0x58417b==null?void 0x0:_0x58417b[_0x14926f(0x4e9)])==null?_0x19fdbe?_0x353a52:null:_0x4c8809;_0x2ac96b!==null&&_0x45ba00['setSelectionRanges']([{'startOffset':_0x2ac96b,'endOffset':_0x2ac96b}],!0x1);},[_0x45ba00]),_0x44cf4c=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x59d731=_0x5aba63;_0x11abce['current']!==null&&(cancelAnimationFrame(_0x11abce['current']),_0x11abce[_0x59d731(0x287)]=null),_0x4cd19e[_0x59d731(0x287)]!==null&&(window[_0x59d731(0x17a)](_0x4cd19e[_0x59d731(0x287)]),_0x4cd19e[_0x59d731(0x287)]=null);},[]),_0x1aca15=(0x0,y['useCallback'])(()=>{const _0x9ebb45=_0x5aba63;var _0x3dd9a8,_0x5edd13,_0xf1144e;if(!_0x45ba00)return;let _0x3858e5=_0x484e15[_0x9ebb45(0x1c9)](P),_0x159c76=_0x3858e5==null?void 0x0:_0x3858e5['with'](C['DocSkeletonManagerService']);if(!_0x159c76)return;let _0x866e65=_0x159c76[_0x9ebb45(0x343)](),_0x141c90=_0x52d406(),{renderScaleX:_0x3d9b6d,renderScaleY:_0x3ec539,scaleAdjust:_0x11c9d0}=_0x16e4e7(),_0x189e45=_0x434257(),_0x5d24f7=(_0x3dd9a8=_0x189e45==null?void 0x0:_0x189e45['verticalAlign'])==null?u[_0x9ebb45(0x3d9)]['TOP']:_0x3dd9a8,_0x3b50f0=(_0x5edd13=_0x189e45==null?void 0x0:_0x189e45[_0x9ebb45(0x30a)])==null?u[_0x9ebb45(0xf9)][_0x9ebb45(0x2c8)]:_0x5edd13,_0x1da1fb=(_0xf1144e=_0x4b400f())==null?{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d}:_0xf1144e,_0x3eb30d=_0x56e82e/_0x42fc5d,_0x39593b=_0x5be1b1/_0x381c0d;_0x141c90&&(_0x141c90[_0x9ebb45(0x10d)](Math['max'](_0x3d9b6d,_0x3ec539)),_0x141c90['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x1da1fb['width'],'height':0x1/0x0}}),_0x141c90['updateDocumentRenderConfig']({'verticalAlign':_0x5d24f7,'horizontalAlign':_0x3b50f0,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u['WrapStrategy'][_0x9ebb45(0x17f)]})),_0x866e65[_0x9ebb45(0x3ef)]();let {actualHeight:_0x5b9d03}=_0x866e65[_0x9ebb45(0x32b)](),_0xb86c7d=_0x1da1fb[_0x9ebb45(0x4e0)],_0x38551d=0x0;if(_0x5b9d03<=_0xb86c7d)_0x5d24f7===u[_0x9ebb45(0x3d9)][_0x9ebb45(0x36b)]?_0x38551d=(_0xb86c7d-_0x5b9d03)/0x2:_0x5d24f7===u[_0x9ebb45(0x3d9)]['BOTTOM']&&(_0x38551d=_0xb86c7d-_0x5b9d03),_0xa88835({'editorHeight':_0x1da1fb[_0x9ebb45(0x4e0)]*_0x381c0d,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x5cf027=0x0;_0x5d24f7===u['VerticalAlign'][_0x9ebb45(0x36b)]?_0x5cf027=(_0xb86c7d-_0x5b9d03)/0x2:_0x5d24f7===u[_0x9ebb45(0x3d9)][_0x9ebb45(0x3c5)]&&(_0x5cf027=_0xb86c7d-_0x5b9d03),_0x38551d=0x0,_0xa88835({'editorHeight':_0x5b9d03*_0x381c0d,'marginTop':_0x5cf027*_0x381c0d,'useAbsolutePosition':!0x0});}if(_0x141c90){let _0x12f4b1=Math['max'](0x0,_0x1da1fb[_0x9ebb45(0x1f0)]),_0x1e79ed=Math[_0x9ebb45(0x538)](0x0,_0x1da1fb[_0x9ebb45(0x107)]+_0x38551d);_0x141c90['updateDocumentStyle']({'marginLeft':_0x12f4b1,'marginRight':Math[_0x9ebb45(0x538)](0x0,_0x3eb30d-_0x1da1fb[_0x9ebb45(0x1f0)]-_0x1da1fb[_0x9ebb45(0x3ed)]),'marginBottom':Math[_0x9ebb45(0x538)](0x0,_0x39593b-_0x1da1fb['top']-_0x1da1fb[_0x9ebb45(0x4e0)]),'pageSize':{'width':_0x3eb30d,'height':_0x39593b}}),_0x141c90[_0x9ebb45(0x4c8)]({'t':_0x1e79ed}),_0x866e65[_0x9ebb45(0x3ef)]();}if(_0x3858e5){let _0x16678e=_0x56e82e,_0x3cf3a1=_0x5be1b1;_0x3858e5[_0x9ebb45(0x492)][_0x9ebb45(0xdc)]({'width':_0x16678e*_0x11c9d0/_0x3d9b6d,'height':_0x3cf3a1*_0x11c9d0/_0x3ec539,'scaleX':_0x3d9b6d*_0x11c9d0,'scaleY':_0x3ec539*_0x11c9d0}),_0x3858e5[_0x9ebb45(0x231)]&&_0x3858e5[_0x9ebb45(0x231)][_0x9ebb45(0x3b2)](_0x16678e*_0x11c9d0/_0x3d9b6d,_0x3cf3a1*_0x11c9d0/_0x3ec539);}},[_0x45ba00,_0x484e15,_0x52d406,_0x16e4e7,_0x434257,_0x4b400f,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d,_0xa88835]),_0x12b98d=(0x0,y[_0x5aba63(0x341)])((_0x286403=!0x1)=>{const _0x49c904=_0x5aba63;_0x44cf4c(),_0x11abce[_0x49c904(0x287)]=requestAnimationFrame(()=>{const _0x2f54fa=_0x49c904;_0x1aca15(),_0x286403&&_0x4de4a7(!0x1),_0x11abce[_0x2f54fa(0x287)]=null,_0x4cd19e[_0x2f54fa(0x287)]=window[_0x2f54fa(0x4a4)](()=>{const _0x5cb97a=_0x2f54fa;_0x1aca15(),_0x286403&&_0x4de4a7(!0x1),_0x4cd19e[_0x5cb97a(0x287)]=null;},0x14);});},[_0x1aca15,_0x44cf4c,_0x4de4a7]);(0x0,y[_0x5aba63(0x531)])(()=>{const _0x580448=_0x5aba63;if(!_0x45ba00||!_0x5465ce)return;let {shapeId:_0x3c58da,unitId:_0x2521f3}=_0x5465ce;if(_0x453e32){var _0xad00b8,_0x82d746,_0x566c97,_0x868c1e;let _0x4cadcd=te(_0x45ba00[_0x580448(0x25e)]()),_0x14a8d6=_0x434257(),_0x44947c={'va':(_0xad00b8=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x19a)])==null?u[_0x580448(0x3d9)][_0x580448(0x170)]:_0xad00b8,'ha':(_0x82d746=_0x14a8d6==null?void 0x0:_0x14a8d6['horizontalAlign'])==null?u[_0x580448(0xf9)]['LEFT']:_0x82d746,'doc':_0x4cadcd};_0x4dfeee[_0x580448(0x5e8)](l[_0x580448(0x298)]['id'],{'unitId':_0x2521f3,'shapeId':_0x3c58da,'shapeData':{'shapeText':{'isHorizontal':(_0x566c97=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x4d5)])==null?!0x0:_0x566c97,'dataModel':_0x44947c}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x868c1e=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x4d5)])==null?!0x0:_0x868c1e,'dataModel':_0x3ecc44[_0x580448(0x287)]}}}});return;}let _0x1930e0=_0x434257();if(_0x1930e0!=null&&_0x1930e0[_0x580448(0xe0)]){_0x3ecc44['current']={'va':_0x1930e0[_0x580448(0x19a)],'ha':_0x1930e0[_0x580448(0x30a)],'doc':u['Tools'][_0x580448(0x297)](_0x1930e0[_0x580448(0xe0)])};let _0x400c59=V(_0x1930e0[_0x580448(0xe0)],{'isHorizontal':!0x0,'textRect':_0x1930e0['textRect'],'verticalAlign':_0x1930e0['verticalAlign'],'horizontalAlign':_0x1930e0[_0x580448(0x30a)]});return _0x45ba00[_0x580448(0x25b)](_0x400c59,null),()=>{const _0x2fb84a=_0x580448;var _0x3cdc58,_0xfa9a68,_0x21ee94,_0x8fab7e;let _0x17ee13=te(_0x45ba00[_0x2fb84a(0x25e)]()),_0x13d40e=_0x434257(),_0x408449={'va':(_0x3cdc58=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x19a)])==null?u[_0x2fb84a(0x3d9)][_0x2fb84a(0x170)]:_0x3cdc58,'ha':(_0xfa9a68=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x30a)])==null?u[_0x2fb84a(0xf9)][_0x2fb84a(0x2c8)]:_0xfa9a68,'doc':_0x17ee13};_0x4dfeee[_0x2fb84a(0x5e8)](l[_0x2fb84a(0x298)]['id'],{'unitId':_0x2521f3,'shapeId':_0x3c58da,'shapeData':{'shapeText':{'isHorizontal':(_0x21ee94=_0x13d40e==null?void 0x0:_0x13d40e['isHorizontal'])==null?!0x0:_0x21ee94,'dataModel':_0x408449}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x8fab7e=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x4d5)])==null?!0x0:_0x8fab7e,'dataModel':_0x3ecc44[_0x2fb84a(0x287)]}}}});};}else _0x45ba00[_0x580448(0x25b)](_0x5e63d0,null);},[_0x45ba00,_0x5465ce,_0x453e32]),(0x0,y[_0x5aba63(0x531)])(()=>{const _0x35fbd9=_0x5aba63;if(!(!_0x45ba00||!_0x5465ce))return _0x496185[_0x35fbd9(0x16f)](!0x0),_0x1aca15(),_0x4718f0[_0x35fbd9(0x287)]=requestAnimationFrame(()=>{const _0x4ff293=_0x35fbd9;_0x496185[_0x4ff293(0x256)](P),_0x4de4a7(),_0x12b98d(),_0x4718f0[_0x4ff293(0x287)]=null;}),()=>{const _0x1854b0=_0x35fbd9;_0x4718f0['current']!==null&&(cancelAnimationFrame(_0x4718f0[_0x1854b0(0x287)]),_0x4718f0['current']=null),_0x44cf4c(),_0x496185[_0x1854b0(0x16f)](!0x0);};},[_0x45ba00,_0x5465ce,_0x496185,_0x1aca15,_0x4de4a7,_0x12b98d,_0x44cf4c]),(0x0,y[_0x5aba63(0x531)])(()=>{if(!_0x45ba00)return;let _0x1829b8=_0x4dfeee['onCommandExecuted'](_0x133137=>{const _0x517cce=_0x1a94;_0x133137['id']===C[_0x517cce(0x31d)]['id']&&_0x133137[_0x517cce(0x4b1)][_0x517cce(0x424)]===P&&_0x5465ce&&(_0x5465ce[_0x517cce(0x3c3)]?_0x1aca15():_0x4c98ce[_0x517cce(0x52d)]({..._0x5465ce,'visible':!0x0}));});return()=>{const _0xa9f9f8=_0x1a94;_0x1829b8[_0xa9f9f8(0x318)]();};},[_0x45ba00,_0x1aca15,_0x5465ce,_0x12b98d,_0x4c98ce]),(0x0,y[_0x5aba63(0x531)])(()=>(_0x1aca15(),_0x12b98d(),()=>{_0x44cf4c();}),[_0x1aca15,_0x12b98d,_0x44cf4c]);let _0x3bde57=(0x0,y['useMemo'])(()=>We(_0x56e82e,_0x5be1b1),[_0x56e82e,_0x5be1b1]),_0x3f849b=(0x0,y[_0x5aba63(0x523)])(()=>{const _0x3f58f7=_0x5aba63;let _0x288fea=_0x434257(),_0x359f9a=_0x288fea==null?void 0x0:_0x288fea[_0x3f58f7(0x425)];return _0x359f9a&&_0x359f9a||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x434257]);return(0x0,x[_0x5aba63(0x4e3)])(_0x5aba63(0x577),{'ref':_0x304f89,'data-u-comp':_0x5aba63(0xfc),'className':_0x5aba63(0x221),'style':{'transform':_0x5aba63(0x541)+_0x3f849b[_0x5aba63(0x2d0)]+'deg)\x20scaleY('+(_0x3f849b['flipY']?-0x1:0x1)+')'},'children':(0x0,x[_0x5aba63(0x4e3)])(_0x5aba63(0x577),{'ref':_0x25fe11,'className':_0x5aba63(0x338),'data-u-comp':_0x5aba63(0x4ed),'style':_0x3bde57,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x20f04c,_0x1239b5,_0x419470,_0x2e9096,_0x554bfc,_0x18aa23){const _0x5a7e03=_0x3b6577;var _0x2c4b20,_0x349a04;let {scaleX:_0xba5422,scaleY:_0x949ca5}=_0x18aa23[_0x5a7e03(0x322)](),_0xad6063=_0x18aa23[_0x5a7e03(0xe2)](f[_0x5a7e03(0x2a1)]['VIEW_MAIN']),_0xcb0704=(_0x2c4b20=_0xad6063==null?void 0x0:_0xad6063[_0x5a7e03(0x548)])==null?0x0:_0x2c4b20,_0x4a7269=(_0x349a04=_0xad6063==null?void 0x0:_0xad6063[_0x5a7e03(0x54b)])==null?0x0:_0x349a04;return{'left':(_0x20f04c-_0xcb0704)*_0xba5422,'top':(_0x1239b5-_0x4a7269)*_0x949ca5,'width':_0x419470*_0xba5422,'height':_0x2e9096*_0x949ca5,'angle':_0x554bfc,'scaleX':_0xba5422,'scaleY':_0x949ca5};}function Xe(_0x5db682){const _0x5fc865=_0x3b6577;let {editingParams:_0x2e5f7b,scene:_0x287c3a,getShapeTransform:_0x3d5125}=_0x5db682,[_0xbad74a,_0x4a8bd7]=(0x0,y[_0x5fc865(0x4b2)])(Je),_0x279e8e=(0x0,y['useRef'])(_0xbad74a);_0x279e8e[_0x5fc865(0x287)]=_0xbad74a;let _0x3e0aa8=(0x0,y[_0x5fc865(0x341)])(()=>{const _0x201ceb=_0x5fc865;if(!_0x2e5f7b||!_0x287c3a){_0x279e8e['current']!==Je&&_0x4a8bd7(Je);return;}let _0x59c287=_0x3d5125();if(!_0x59c287){_0x279e8e[_0x201ceb(0x287)]!==Je&&_0x4a8bd7(Je);return;}let {left:_0x2ba45b,top:_0x4e8917,width:_0x6fdb43,height:_0x2a9c1d,angle:_0x5a79aa}=_0x59c287,{scaleX:_0x18327d,scaleY:_0x5b3ccd}=_0x287c3a[_0x201ceb(0x322)]();if(!_0x2e5f7b[_0x201ceb(0x3c3)]){_0x4a8bd7({'left':-0x270f,'top':-0x270f,'width':_0x6fdb43*_0x18327d,'height':_0x2a9c1d*_0x5b3ccd,'angle':0x0,'scaleX':_0x18327d,'scaleY':_0x5b3ccd});return;}_0x4a8bd7(Ye(_0x2ba45b,_0x4e8917,_0x6fdb43,_0x2a9c1d,_0x5a79aa,_0x287c3a));},[_0x2e5f7b,_0x287c3a,_0x3d5125]);return(0x0,y[_0x5fc865(0x531)])(()=>{_0x3e0aa8();},[_0x2e5f7b,_0x3e0aa8]),{'position':_0xbad74a,'updatePosition':_0x3e0aa8};}const Ze=(0x0,y[_0x3b6577(0x54e)])(_0x59c3ad=>{const _0x181b82=_0x3b6577;let {children:_0x1488e4,onPositionUpdate:_0x1e4865}=_0x59c3ad,_0x577f7d=(0x0,y['useRef'])(null),_0x34959c=(0x0,g[_0x181b82(0x19e)])(R),_0x2ccede=(0x0,g[_0x181b82(0x19e)])(p[_0x181b82(0x5d6)]),_0x152619=(0x0,g[_0x181b82(0x279)])(_0x34959c[_0x181b82(0x1ec)]),_0x97aace=(0x0,y[_0x181b82(0x523)])(()=>_0x152619?_0x2ccede[_0x181b82(0x1c9)](_0x152619[_0x181b82(0x424)]):null,[_0x152619,_0x2ccede]),_0x10b4aa=(0x0,y['useMemo'])(()=>{const _0xc62da2=_0x181b82;var _0x559745;return(_0x559745=_0x97aace==null?void 0x0:_0x97aace[_0xc62da2(0x492)])==null?null:_0x559745;},[_0x97aace]),{position:_0x5646f2,updatePosition:_0x29d570}=Xe({'editingParams':_0x152619,'scene':_0x10b4aa,'getShapeTransform':(0x0,y[_0x181b82(0x341)])(()=>{const _0x5105f0=_0x181b82;if(!_0x152619||!_0x10b4aa)return null;let _0x1822bd=_0x152619['shapeKey'],_0x455654=_0x10b4aa[_0x5105f0(0x23a)](_0x1822bd);return _0x455654 instanceof H?{'left':_0x455654[_0x5105f0(0x1f0)],'top':_0x455654[_0x5105f0(0x107)],'width':_0x455654[_0x5105f0(0x3ed)],'height':_0x455654[_0x5105f0(0x4e0)],'angle':_0x455654[_0x5105f0(0x2d0)]}:null;},[_0x152619,_0x10b4aa])}),_0x4df2eb=(0x0,y[_0x181b82(0x341)])(()=>{const _0xb8879f=_0x181b82;let _0x3c35c0=_0x577f7d['current'];_0x3c35c0&&(_0x3c35c0[_0xb8879f(0x31a)]['left']=_0x5646f2[_0xb8879f(0x1f0)]+'px',_0x3c35c0[_0xb8879f(0x31a)][_0xb8879f(0x107)]=_0x5646f2['top']+'px',_0x3c35c0['style'][_0xb8879f(0x3ed)]=_0x5646f2[_0xb8879f(0x3ed)]+'px',_0x3c35c0['style'][_0xb8879f(0x4e0)]=_0x5646f2[_0xb8879f(0x4e0)]+'px');},[_0x5646f2]);return(0x0,y[_0x181b82(0x531)])(()=>{const _0x345915=_0x181b82;_0x4df2eb(),_0x1e4865==null||_0x1e4865({'width':_0x5646f2['width'],'height':_0x5646f2['height'],'scaleX':_0x5646f2[_0x345915(0x230)],'scaleY':_0x5646f2[_0x345915(0x155)]});},[_0x5646f2,_0x4df2eb,_0x1e4865]),(0x0,y[_0x181b82(0x531)])(()=>{const _0x71623a=_0x181b82;if(!_0x10b4aa)return;let _0x26da0e=_0x10b4aa[_0x71623a(0xe2)](f[_0x71623a(0x2a1)]['VIEW_MAIN']);if(!_0x26da0e)return;let _0x41a11d=_0x26da0e['onScrollAfter$']['subscribeEvent'](()=>{_0x29d570();});return()=>{_0x41a11d['unsubscribe']();};},[_0x10b4aa,_0x29d570]),(0x0,y[_0x181b82(0x531)])(()=>{const _0x29125b=_0x181b82;if(!_0x152619||!_0x10b4aa)return;let _0x21806e=_0x152619['shapeKey'],_0x1a4114=_0x10b4aa[_0x29125b(0x23a)](_0x21806e);if(_0x1a4114 instanceof H){let _0x57536d=_0x1a4114['onTransformChange$'][_0x29125b(0x25c)](()=>{_0x29d570();});return()=>{const _0x1d2ca9=_0x29125b;_0x57536d[_0x1d2ca9(0x52b)]();};}},[_0x152619,_0x10b4aa,_0x29d570]),(0x0,x[_0x181b82(0x4e3)])(_0x181b82(0x577),{'ref':_0x577f7d,'data-u-comp':'shape-text-editor-position-wrapper','className':_0x181b82(0x57a),'style':(0x0,y['useMemo'])(()=>({'left':_0x5646f2['left'],'top':_0x5646f2[_0x181b82(0x107)],'width':_0x5646f2[_0x181b82(0x3ed)],'height':_0x5646f2[_0x181b82(0x4e0)],'pointerEvents':_0x152619!=null&&_0x152619[_0x181b82(0x3c3)]?_0x181b82(0x178):'none'}),[_0x5646f2,_0x152619==null?void 0x0:_0x152619[_0x181b82(0x3c3)]]),'children':_0x1488e4});}),Qe=(0x0,y['memo'])(()=>{const _0x5559d0=_0x3b6577;let _0x12a76e=(0x0,g['useObservable'])((0x0,g['useDependency'])(R)[_0x5559d0(0x1ec)]),[_0x3f32c6,_0x4df41a]=(0x0,y['useState'])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x4788a8=(0x0,y['useCallback'])(_0x28a880=>{const _0x406347=_0x5559d0;_0x4df41a({'width':_0x28a880['width'],'height':_0x28a880['height'],'scaleX':_0x28a880['scaleX'],'scaleY':_0x28a880[_0x406347(0x155)]});},[]);return _0x12a76e!=null&&_0x12a76e['visible']?(0x0,x[_0x5559d0(0x4e3)])(Ze,{'onPositionUpdate':_0x4788a8,'children':(0x0,x[_0x5559d0(0x4e3)])(qe,{'containerWidth':_0x3f32c6[_0x5559d0(0x3ed)],'containerHeight':_0x3f32c6[_0x5559d0(0x4e0)],'scaleX':_0x3f32c6[_0x5559d0(0x230)],'scaleY':_0x3f32c6[_0x5559d0(0x155)]})}):null;});let $e=class extends u[_0x3b6577(0x151)]{constructor(_0x34df2d=Ne,_0x318d49,_0x5be3bc,_0x441682,_0x914aba){const _0x28cfeb=_0x3b6577;super(),this[_0x28cfeb(0x3c2)]=_0x34df2d,this['_injector']=_0x318d49,this[_0x28cfeb(0x379)]=_0x5be3bc,this[_0x28cfeb(0x35b)]=_0x441682,this['_renderManagerService']=_0x914aba;let {menu:_0x434965,..._0x73a8dd}=(0x0,u[_0x28cfeb(0x589)])({},Ne,this[_0x28cfeb(0x3c2)]);_0x434965&&this[_0x28cfeb(0x35b)][_0x28cfeb(0x289)](_0x28cfeb(0x4be),_0x434965,{'merge':!0x0}),this['_configService'][_0x28cfeb(0x289)]('docs-shape-ui.config',_0x73a8dd),this[_0x28cfeb(0x11d)]();}[_0x3b6577(0x270)](){const _0x3b6556=_0x3b6577;(0x0,u['registerDependencies'])(this[_0x3b6556(0x18a)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x3b6556(0x475)]();}[_0x3b6577(0x2ad)](){const _0x288c78=_0x3b6577;this[_0x288c78(0x5b8)][_0x288c78(0x462)](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Fe]),this[_0x288c78(0x5b8)]['registerRenderModule'](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Re]),this[_0x288c78(0x5b8)][_0x288c78(0x462)](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Ue]),(0x0,u[_0x288c78(0x545)])(this['_injector'],[[Ae],[K],[G],[ye],[R]]);}['_initCommands'](){const _0x5c72e4=_0x3b6577;[A,j,M][_0x5c72e4(0x184)](_0x2637b7=>this[_0x5c72e4(0x21f)](this[_0x5c72e4(0x379)][_0x5c72e4(0x27d)](_0x2637b7)));}[_0x3b6577(0x475)](){const _0x52e18f=_0x3b6577;let _0x47ce6f=this[_0x52e18f(0x18a)],_0x580843=_0x47ce6f[_0x52e18f(0x272)](g[_0x52e18f(0x489)]),_0x499fb1=_0x47ce6f[_0x52e18f(0x272)](g['IUIPartsService']);this[_0x52e18f(0x21f)](_0x580843['register'](_0x52e18f(0x2a2),Qe)),this['disposeWithMe'](_0x499fb1[_0x52e18f(0x17e)](g[_0x52e18f(0x1e6)][_0x52e18f(0x1cb)],()=>(0x0,g[_0x52e18f(0xf2)])(Qe,_0x47ce6f)));}};L($e,_0x3b6577(0x41d),u[_0x3b6577(0x2f8)][_0x3b6577(0x512)]),L($e,'pluginName','DOCS_SHAPE_UI_PLUGIN'),L($e,'packageName',je),L($e,_0x3b6577(0x411),Me),$e=W([(0x0,u[_0x3b6577(0x344)])(S[_0x3b6577(0x507)],d[_0x3b6577(0x333)],l['UniverDocsShapePlugin']),U(0x1,(0x0,u[_0x3b6577(0x192)])(u['Injector'])),U(0x2,u['ICommandService']),U(0x3,u[_0x3b6577(0x47e)]),U(0x4,p['IRenderManagerService'])],$e),exports[_0x3b6577(0x310)]=j,Object[_0x3b6577(0x126)](exports,_0x3b6577(0x220),{'enumerable':!0x0,'get':function(){return Ae;}}),exports['MenuInsertShapeCommand']=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x3b6577(0x126)](exports,_0x3b6577(0xdd),{'enumerable':!0x0,'get':function(){return $e;}});