@univerjs-pro/sheets-shape-ui 1.3.1 → 1.4.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 +25 -25
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x413c(_0x506b56,_0x1bc734){_0x506b56=_0x506b56-0xfe;const _0x14935e=_0x1493();let _0x413c20=_0x14935e[_0x506b56];return _0x413c20;}(function(_0x2b202e,_0x1fa51a){const _0x4c2c91=_0x413c,_0x29bcdc=_0x2b202e();while(!![]){try{const _0x568c42=parseInt(_0x4c2c91(0x1fa))/0x1+-parseInt(_0x4c2c91(0x2f6))/0x2*(parseInt(_0x4c2c91(0x2e4))/0x3)+-parseInt(_0x4c2c91(0x1b0))/0x4+parseInt(_0x4c2c91(0x1b4))/0x5*(parseInt(_0x4c2c91(0x2af))/0x6)+-parseInt(_0x4c2c91(0x261))/0x7+-parseInt(_0x4c2c91(0x2de))/0x8*(-parseInt(_0x4c2c91(0x151))/0x9)+parseInt(_0x4c2c91(0x24f))/0xa;if(_0x568c42===_0x1fa51a)break;else _0x29bcdc['push'](_0x29bcdc['shift']());}catch(_0x4b0b09){_0x29bcdc['push'](_0x29bcdc['shift']());}}}(_0x1493,0xb6c48),function(_0x1db78b,_0x5ed9b8){const _0x25ec64=_0x413c;typeof exports=='object'&&typeof module<'u'?_0x5ed9b8(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x25ec64(0x17e)&&define['amd']?define([_0x25ec64(0x4e0),'@univerjs-pro/shape-editor-ui','@univerjs/ui','@univerjs-pro/engine-shape',_0x25ec64(0x3e0),_0x25ec64(0x31a),_0x25ec64(0x160),_0x25ec64(0x32d),_0x25ec64(0x486),_0x25ec64(0x47f),'@univerjs/sheets-ui',_0x25ec64(0x11c),_0x25ec64(0x15d),'@univerjs/design',_0x25ec64(0x408),_0x25ec64(0x3af),_0x25ec64(0x34f),_0x25ec64(0x34b),_0x25ec64(0x2c1),'@univerjs/sheets-drawing-ui',_0x25ec64(0x125)],_0x5ed9b8):(_0x1db78b=typeof globalThis<'u'?globalThis:_0x1db78b||self,_0x5ed9b8(_0x1db78b[_0x25ec64(0x3b1)]={},_0x1db78b[_0x25ec64(0x15c)],_0x1db78b[_0x25ec64(0x1e7)],_0x1db78b[_0x25ec64(0x368)],_0x1db78b[_0x25ec64(0x3eb)],_0x1db78b[_0x25ec64(0x27f)],_0x1db78b['UniverCore'],_0x1db78b[_0x25ec64(0x374)],_0x1db78b[_0x25ec64(0x4ce)],_0x1db78b[_0x25ec64(0x1df)],_0x1db78b['UniverSheetsUi'],_0x1db78b[_0x25ec64(0x11c)],_0x1db78b['UniverDrawingUi'],_0x1db78b['UniverDesign'],_0x1db78b['React'],_0x1db78b[_0x25ec64(0x489)],_0x1db78b['UniverProLicense'],_0x1db78b[_0x25ec64(0x3fc)],_0x1db78b['UniverDocsUi'],_0x1db78b[_0x25ec64(0x37f)],_0x1db78b[_0x25ec64(0x3bc)]));}(this,function(_0x442ed5,_0x583754,_0x1b3cd1,_0x756c25,_0x41ad7c,_0x111169,_0x3d2575,_0x306a90,_0xf3cf76,_0x610ad8,_0x542241,_0x133625,_0x2114cd,_0x41eb39,_0x1fd74c,_0x20c5a7,_0x477279,_0x14cace,_0xa851c1,_0x51ad4c,_0x5335a7){const _0x1bb2bd=_0x413c;Object['defineProperty'](_0x442ed5,Symbol[_0x1bb2bd(0x361)],{'value':_0x1bb2bd(0x113)});function _0x4a2023(_0x2b36eb,_0x9f3987){const _0x106434=_0x1bb2bd;let _0x27b0e9={};for(let _0x45f001 of Object[_0x106434(0x434)](_0x9f3987)){let _0x3c5ace=_0x9f3987[_0x45f001],_0x578994=_0x2b36eb[_0x45f001];_0x27b0e9[_0x45f001]=_0x578994===void 0x0?void 0x0:typeof _0x3c5ace=='object'&&_0x3c5ace&&!Array[_0x106434(0x15a)](_0x3c5ace)&&typeof _0x578994==_0x106434(0x381)&&_0x578994&&!Array[_0x106434(0x15a)](_0x578994)?_0x4a2023(_0x578994,_0x3c5ace):_0x578994;}return _0x27b0e9;}let _0x28edce={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'id':_0x1bb2bd(0x1f4),'handler':(_0x1fc315,_0x3a9e13)=>{const _0xe02885=_0x1bb2bd;let _0x129bb4=_0x1fc315[_0xe02885(0x107)](_0x111169[_0xe02885(0x4d3)]),{unitId:_0x5d1308,subUnitId:_0x3715c4,shapeType:_0x3fca52,shapeId:_0x54bbe6,shapeData:_0x3b95a4,replaceShapeData:_0x529e24,oldShapeJSON:_0x2e4787}=_0x3a9e13;if(!_0x129bb4['getShapeModel'](_0x5d1308,_0x3715c4,_0x54bbe6))return!0x1;let _0xaabe8a=_0x1fc315['get'](_0x3d2575[_0xe02885(0x196)]),_0x258e12=_0x1fc315[_0xe02885(0x107)](_0x3d2575[_0xe02885(0x3a2)]),{oldShapeType:_0x47b4d7,oldShapeData:_0x1f0d60={}}=_0x2e4787,_0x3cad07=_0x529e24?_0x1f0d60:_0x4a2023(_0x1f0d60,_0x3b95a4||{}),_0x61ab25={'id':_0x111169[_0xe02885(0x1d6)]['id'],'params':{'unitId':_0x5d1308,'subUnitId':_0x3715c4,'shapeId':_0x54bbe6,'shapeType':_0x3fca52,'shapeData':_0x3b95a4,'replace':_0x529e24}},_0x30f75d={'id':_0x111169[_0xe02885(0x1d6)]['id'],'params':{'unitId':_0x5d1308,'subUnitId':_0x3715c4,'shapeId':_0x54bbe6,'shapeType':_0x47b4d7,'shapeData':_0x3cad07,'replace':_0x529e24}};return _0xaabe8a[_0xe02885(0x2ca)](_0x61ab25['id'],_0x61ab25[_0xe02885(0x4ad)])?(_0x258e12['pushUndoRedo']({'unitID':_0x5d1308,'undoMutations':[_0x30f75d],'redoMutations':[_0x61ab25]}),!0x0):!0x1;}};function _0x5c7f30(_0xf4f3b3,_0x21b69a,_0x3edca2,_0x2bbad3,_0x246f52,_0x11ba6c){const _0x38aa0f=_0x1bb2bd;let _0x343031={'unitId':_0x21b69a,'subUnitId':_0x3edca2,'shapeId':_0x2bbad3,'shapeData':_0x11ba6c,'oldShapeJSON':_0x246f52};return _0xf4f3b3[_0x38aa0f(0x24d)](_0x28edce['id'],_0x343031);}function _0x500b09(_0x4d301d,_0x56c78e,_0x529d79,_0x504745,_0x84ec9b,_0x48e4dc){const _0x22dc04=_0x1bb2bd;let _0x47ee6f={'unitId':_0x56c78e,'subUnitId':_0x529d79,'shapeId':_0x504745,'shapeData':_0x48e4dc,'oldShapeJSON':_0x84ec9b};return _0x4d301d[_0x22dc04(0x24d)](_0x28edce['id'],_0x47ee6f);}function _0x5104ec(_0x41c9df){'@babel/helpers - typeof';const _0x2d8b26=_0x1bb2bd;return _0x5104ec=typeof Symbol=='function'&&typeof Symbol[_0x2d8b26(0x44b)]=='symbol'?function(_0x47c425){return typeof _0x47c425;}:function(_0x5ea785){const _0x1047e2=_0x2d8b26;return _0x5ea785&&typeof Symbol=='function'&&_0x5ea785[_0x1047e2(0x267)]===Symbol&&_0x5ea785!==Symbol['prototype']?_0x1047e2(0x3a7):typeof _0x5ea785;},_0x5104ec(_0x41c9df);}function _0x40d943(_0x5d2706,_0x420805){const _0x2fb0cc=_0x1bb2bd;if(_0x5104ec(_0x5d2706)!=_0x2fb0cc(0x381)||!_0x5d2706)return _0x5d2706;var _0x5354d2=_0x5d2706[Symbol[_0x2fb0cc(0x427)]];if(_0x5354d2!==void 0x0){var _0x1c3c9f=_0x5354d2['call'](_0x5d2706,_0x420805||'default');if(_0x5104ec(_0x1c3c9f)!=_0x2fb0cc(0x381))return _0x1c3c9f;throw TypeError(_0x2fb0cc(0x12f));}return(_0x420805===_0x2fb0cc(0x2b6)?String:Number)(_0x5d2706);}function _0x5102d7(_0x4fa1b1){const _0x589533=_0x1bb2bd;var _0x91a4ab=_0x40d943(_0x4fa1b1,_0x589533(0x2b6));return _0x5104ec(_0x91a4ab)==_0x589533(0x3a7)?_0x91a4ab:_0x91a4ab+'';}function _0x19f136(_0x384f02,_0x5eb137,_0x827681){const _0x4a4e3b=_0x1bb2bd;return(_0x5eb137=_0x5102d7(_0x5eb137))in _0x384f02?Object[_0x4a4e3b(0x2e1)](_0x384f02,_0x5eb137,{'value':_0x827681,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x384f02[_0x5eb137]=_0x827681,_0x384f02;}function _0x21e536(_0x40b7cb,_0x50feda,_0x503364){const _0x19f000=_0x1bb2bd;let _0x26f306={..._0x50feda,'dataModel':{..._0x50feda['dataModel']??{},..._0x503364?{'doc':_0x503364}:null}},_0x2c091c=(0x0,_0x583754[_0x19f000(0x3e8)])(_0x40b7cb,_0x26f306),_0x1051d3=(0x0,_0x583754[_0x19f000(0x3d2)])(_0x2c091c);return{'clip':(0x0,_0x583754[_0x19f000(0x271)])(_0x2c091c,_0x1051d3),'wrapStrategy':_0x1051d3};}var _0x28ba5a=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x4e22f1,_0x8464b9){const _0x3ebbc8=_0x1bb2bd;super(_0x4e22f1,_0x8464b9),_0x19f136(this,'_hyperLinkRegions',[]),_0x19f136(this,_0x3ebbc8(0x2b8),void 0x0),_0x19f136(this,_0x3ebbc8(0x45a),new _0x583754[(_0x3ebbc8(0x23f))](()=>this[_0x3ebbc8(0x4a5)](!0x0),()=>this[_0x3ebbc8(0x402)]())),_0x19f136(this,_0x3ebbc8(0x186),!0x0),_0x19f136(this,_0x3ebbc8(0x311),_0x3d2575[_0x3ebbc8(0x2d2)]['DRAWING_SHAPE']),_0x19f136(this,'isDrawingObject',!0x0),this[_0x3ebbc8(0x2b8)]={..._0x8464b9},this[_0x3ebbc8(0x45a)][_0x3ebbc8(0x141)](_0x8464b9[_0x3ebbc8(0x318)],_0x8464b9[_0x3ebbc8(0x274)]!==!0x1),this['_init'](),this[_0x3ebbc8(0x402)]();}[_0x1bb2bd(0x433)](){const _0x946057=_0x1bb2bd;this['onTransformChange$'][_0x946057(0x11b)](_0x28fd9e=>{this['_updateSrcRectByTransform'](_0x28fd9e);});}[_0x1bb2bd(0x468)](_0x230347){const _0x4898bf=_0x1bb2bd;this[_0x4898bf(0x2b8)][_0x4898bf(0x4ee)]=_0x230347;}['resolveHyperLinkAt'](_0x17f762){const _0x596557=_0x1bb2bd;if(this[_0x596557(0x2b8)][_0x596557(0x397)])return null;let _0x223f19=this[_0x596557(0x18d)](_0x17f762),{width:_0x11433f,height:_0x3769c5}=this[_0x596557(0x430)]();return(0x0,_0x583754[_0x596557(0x476)])(this[_0x596557(0x2eb)],{'x':(this[_0x596557(0x115)]?-_0x223f19['x']:_0x223f19['x'])+_0x11433f/0x2,'y':_0x223f19['y']+_0x3769c5/0x2});}[_0x1bb2bd(0x1b5)](_0x318200){const _0x5302e9=_0x1bb2bd;this['_props'][_0x5302e9(0x397)]=_0x318200,this[_0x5302e9(0x4a5)](!0x0);}[_0x1bb2bd(0x409)](_0x92e596,_0x597c3e=!0x0){const _0x3e46bc=_0x1bb2bd;this[_0x3e46bc(0x45a)]['setPresentation'](_0x92e596,_0x597c3e),this[_0x3e46bc(0x2b8)]['formulaPresentation']=_0x92e596,this[_0x3e46bc(0x402)](),this[_0x3e46bc(0x4a5)](!0x0);}[_0x1bb2bd(0x402)](){const _0x27c71f=_0x1bb2bd;let _0x23a99f=this['_props'][_0x27c71f(0x184)],_0x3ad8f4=_0x23a99f['getShapeTextData'](),_0x16a3b1=(0x0,_0x583754[_0x27c71f(0x2fa)])(_0x3ad8f4==null?void 0x0:_0x3ad8f4[_0x27c71f(0x33b)]),_0x6bbda4=_0x16a3b1==null?void 0x0:_0x16a3b1[_0x27c71f(0x412)],_0xda6c06=this[_0x27c71f(0x45a)][_0x27c71f(0x1dd)]();if(!_0x6bbda4||_0xda6c06[_0x27c71f(0x40e)]===0x0)return;_0x23a99f[_0x27c71f(0x210)]({'width':this[_0x27c71f(0x181)],'height':this[_0x27c71f(0x1db)]});let _0x4b536a=(0x0,_0x583754[_0x27c71f(0x3c3)])({'documentData':_0xda6c06['map'](_0x222119=>(0x0,_0x41ad7c[_0x27c71f(0x25c)])(_0x6bbda4,_0x222119)),'height':this[_0x27c71f(0x1db)],'shapeData':_0x23a99f[_0x27c71f(0x4d2)](),'textRect':_0x23a99f[_0x27c71f(0x214)]({'left':0x0,'top':0x0,'width':this[_0x27c71f(0x181)],'height':this[_0x27c71f(0x1db)]}),'width':this[_0x27c71f(0x181)]});if(_0x4b536a){var _0x2d640e;this['resize'](_0x4b536a['width'],_0x4b536a[_0x27c71f(0x1db)]),(_0x2d640e=this[_0x27c71f(0x3f8)]())==null||(_0x2d640e=_0x2d640e[_0x27c71f(0x460)]())==null||_0x2d640e[_0x27c71f(0x129)]();}}get['unitId'](){const _0x44e7c5=_0x1bb2bd;return this[_0x44e7c5(0x2b8)][_0x44e7c5(0x26d)];}get['subUnitId'](){const _0x286c69=_0x1bb2bd;return this[_0x286c69(0x2b8)][_0x286c69(0x114)];}['_updateSrcRectByTransform'](_0x30c457){const _0x3157d2=_0x1bb2bd;if(this[_0x3157d2(0x2b8)][_0x3157d2(0x208)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x3d9e81,height:_0x34c398}=this,{width:_0x27e2b2=0x0,height:_0x5f5829=0x0}=_0x30c457[_0x3157d2(0x31c)],{left:_0xdc2f5a=0x0,top:_0x346cc8=0x0,right:_0x12dd74=0x0,bottom:_0x51e5ca=0x0}=this[_0x3157d2(0x2b8)][_0x3157d2(0x208)],_0xe2ec56=_0xdc2f5a,_0x2af79f=_0x346cc8,_0x31cc31=_0x12dd74,_0xeafa18=_0x51e5ca,_0x5444b5=!0x1;if(_0x27e2b2!==0x0&&_0x27e2b2!==_0x3d9e81){let _0xcabbdb=_0xdc2f5a/_0x27e2b2,_0x169242=_0x12dd74/_0x27e2b2;_0xe2ec56=_0x3d9e81*_0xcabbdb,_0x31cc31=_0x3d9e81*_0x169242,_0x5444b5=!0x0;}if(_0x5f5829!==0x0&&_0x5f5829!==_0x34c398){let _0x327fbb=_0x346cc8/_0x5f5829,_0x3487fb=_0x51e5ca/_0x5f5829;_0x2af79f=_0x34c398*_0x327fbb,_0xeafa18=_0x34c398*_0x3487fb,_0x5444b5=!0x0;}_0x5444b5&&this[_0x3157d2(0x242)]({'left':_0xe2ec56,'top':_0x2af79f,'right':_0x31cc31,'bottom':_0xeafa18});}[_0x1bb2bd(0x242)](_0x152dd8){const _0x526b27=_0x1bb2bd;this[_0x526b27(0x2b8)][_0x526b27(0x208)]=_0x152dd8,this[_0x526b27(0x4a5)](!0x0);}['setFillImage'](_0x21c965){const _0x1139f3=_0x1bb2bd;this['_props'][_0x1139f3(0x289)]=_0x21c965,this[_0x1139f3(0x4a5)](!0x0);}set[_0x1bb2bd(0x3e4)](_0x5ed83e){const _0x159ca5=_0x1bb2bd;this[_0x159ca5(0x3e9)]=_0x5ed83e;}get[_0x1bb2bd(0x3e4)](){const _0x5067d2=_0x1bb2bd;this[_0x5067d2(0x3e9)]||this['_setTransForm']();let _0x628352=this[_0x5067d2(0x3e9)][_0x5067d2(0x3c0)]();return this[_0x5067d2(0x2a6)](_0x628352);}get['shapeModel'](){const _0x538b77=_0x1bb2bd;return this[_0x538b77(0x2b8)][_0x538b77(0x184)];}get[_0x1bb2bd(0x4dd)](){const _0xde31f6=_0x1bb2bd;return this[_0xde31f6(0x2b8)][_0xde31f6(0x4dd)];}get[_0x1bb2bd(0x285)](){const _0x8c1e00=_0x1bb2bd;return _0x610ad8[_0x8c1e00(0x164)]['SHAPE'];}[_0x1bb2bd(0x2cb)](_0x258254,_0x4e7dd0,_0x4de669,_0x584453){const _0x4764cd=_0x1bb2bd;let _0xc35018=this[_0x4764cd(0x2b8)]['shapeModel'];if(!_0xc35018||!_0x4e7dd0)return;let _0x3812b4=_0x4de669??this[_0x4764cd(0x181)],_0x386240=_0x584453??this[_0x4764cd(0x1db)],_0x3e646a={'shapeType':_0xc35018[_0x4764cd(0x441)](),'width':_0x3812b4,'height':_0x386240},_0xe418d5={'renderMode':_0x756c25[_0x4764cd(0x1f1)][_0x4764cd(0x2fc)],'oKey':this[_0x4764cd(0x3ae)],'image':this[_0x4764cd(0x2b8)][_0x4764cd(0x289)],'angle':this[_0x4764cd(0x3c9)]};_0xc35018[_0x4764cd(0x210)](_0x3e646a),_0x258254[_0x4764cd(0xff)]();let _0x49adb6={'top':0x0,'left':0x0,'width':_0x3812b4,'height':_0x386240},_0x5302af=_0xc35018[_0x4764cd(0x148)](_0x49adb6);_0x5302af?this['_renderWithCache'](_0x258254,_0x5302af,_0x5e4d1a=>{_0xc35018['render'](_0x5e4d1a,_0x49adb6,_0xe418d5);}):(this[_0x4764cd(0x197)](),_0xc35018[_0x4764cd(0x47c)](_0x258254,_0x49adb6,_0xe418d5)),_0x258254[_0x4764cd(0x1b2)]();let _0xd74b58=_0xc35018[_0x4764cd(0x1cc)](),_0x22d919=_0xc35018[_0x4764cd(0x214)](_0x49adb6),_0x4f065d=_0xc35018[_0x4764cd(0x128)]();if(_0xd74b58&&_0x22d919&&!_0x4f065d){_0x258254[_0x4764cd(0xff)](),this[_0x4764cd(0x31d)]()['flipX']&&_0x258254[_0x4764cd(0x284)](-0x1,0x1);let _0x440201=_0x3812b4/0x2,_0x3fbb3d=_0x386240/0x2;_0x258254['translate'](-_0x440201,-_0x3fbb3d),_0x258254[_0x4764cd(0x386)](),this[_0x4764cd(0x425)](_0x258254,_0xd74b58,_0x22d919),_0x258254['restore']();}}[_0x1bb2bd(0x321)](_0x2e04ec){}['_drawShapeText'](_0x1b3b1d,_0x10c0fe,_0x3f8127){const _0xd2bdc0=_0x1bb2bd;var _0x112fb4;this[_0xd2bdc0(0x2eb)]=[],!this[_0xd2bdc0(0x2b8)][_0xd2bdc0(0x397)]&&(!((_0x112fb4=_0x10c0fe[_0xd2bdc0(0x33b)])!=null&&_0x112fb4[_0xd2bdc0(0x412)])&&'isRichText'in _0x10c0fe&&_0x10c0fe[_0xd2bdc0(0x4ed)]===!0x1?this['_drawSimpleText'](_0x1b3b1d,_0x10c0fe,_0x3f8127):this[_0xd2bdc0(0x296)](_0x1b3b1d,_0x10c0fe,_0x3f8127));}['_drawSimpleText'](_0x49c5c5,_0x42d645,_0x3b0769){const _0x329cb5=_0x1bb2bd;this[_0x329cb5(0x296)](_0x49c5c5,{..._0x42d645,'text':_0x42d645['text']??'','dataModel':{'doc':(0x0,_0x583754[_0x329cb5(0x199)])(_0x42d645,'sheets-shape-text-'+this['oKey'])}},_0x3b0769);}[_0x1bb2bd(0x296)](_0x21caa3,_0x2e3d0e,_0x27ca0d){const _0x4720ea=_0x1bb2bd;(0x0,_0x583754['drawFormulaShapeAnimationLayers'])(_0x21caa3,this[_0x4720ea(0x45a)],(_0x38153e,_0x2a87a0,_0x67a898)=>{const _0x7dce4f=_0x4720ea;this[_0x7dce4f(0x1de)](_0x38153e,_0x2e3d0e,_0x27ca0d,_0x2a87a0,_0x67a898==='current');});}[_0x1bb2bd(0x1de)](_0x5ba00e,_0x2622db,_0x3d3981,_0x2bcce6,_0x4c7fbc){const _0x551a35=_0x1bb2bd;let _0x3c3161=this['_props'][_0x551a35(0x370)];if(!_0x2622db['dataModel']||!_0x3c3161)return;let _0x2f7e91=(0x0,_0x583754[_0x551a35(0x2fa)])(_0x2622db[_0x551a35(0x33b)]);if(!_0x2f7e91)return;let _0x3b55f6=_0x2f7e91[_0x551a35(0x412)];if(!_0x3b55f6)return;let _0x48664f=(0x0,_0x41ad7c['createShapeFormulaDocument'])(_0x3b55f6,_0x2bcce6),_0x49adc9=_0x2f7e91['va']??_0x3d2575[_0x551a35(0x27d)]['TOP'],_0x4c75b5=_0x2f7e91['ha']??_0x3d2575['HorizontalAlign'][_0x551a35(0x42c)],_0x23648f=_0x21e536(this[_0x551a35(0x2b8)][_0x551a35(0x184)][_0x551a35(0x4d2)](),_0x2622db,_0x48664f),_0x582e8d=_0x2622db[_0x551a35(0x130)],_0x2acea6=(0x0,_0x583754[_0x551a35(0x3a1)])(_0x48664f,{'isHorizontal':_0x582e8d!==!0x1,'textRect':_0x3d3981,'verticalAlign':_0x49adc9,'horizontalAlign':_0x4c75b5,'wrapStrategy':_0x23648f['wrapStrategy']}),_0x2b5a0c=new _0x3d2575[(_0x551a35(0x2c4))](_0x2acea6),_0x54a8fe=new _0x610ad8[(_0x551a35(0x222))](_0x2b5a0c),_0xe9789b=_0x610ad8[_0x551a35(0x259)][_0x551a35(0x25d)](_0x54a8fe,_0x3c3161);_0xe9789b['calculate']();let _0x553feb=_0xe9789b[_0x551a35(0x2ff)]()[_0x551a35(0x1da)],_0x32973c=(0x0,_0x583754[_0x551a35(0x187)])({'contentHeight':_0x553feb,'verticalAlign':_0x49adc9,'viewportHeight':_0x3d3981[_0x551a35(0x1db)]});_0x2b5a0c[_0x551a35(0x3d3)]({'pageSize':{'width':_0x582e8d===!0x1?_0x3d3981[_0x551a35(0x1db)]:_0x3d3981[_0x551a35(0x181)],'height':(0x0,_0x583754[_0x551a35(0x482)])(_0x48664f,_0x32973c['contentHeight'])}}),_0x2b5a0c[_0x551a35(0x4c6)]({'t':_0x32973c[_0x551a35(0x177)]}),_0xe9789b[_0x551a35(0x198)]();let _0x470e70=new _0x610ad8[(_0x551a35(0x30d))](_0x551a35(0x172)+this[_0x551a35(0x3ae)],_0xe9789b,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x551a35(0x4a5)](!0x0)});_0x470e70[_0x551a35(0x269)](_0x3d3981[_0x551a35(0x181)],_0x32973c[_0x551a35(0x27e)]),_0x5ba00e[_0x551a35(0xff)](),_0x5ba00e[_0x551a35(0x38e)](_0x3d3981[_0x551a35(0x20a)],_0x3d3981[_0x551a35(0x49c)]),_0x23648f[_0x551a35(0x4d0)]&&(_0x5ba00e['beginPath'](),_0x5ba00e['rect'](0x0,_0x32973c['clipTop'],_0x3d3981[_0x551a35(0x181)],_0x32973c['clipHeight']),_0x5ba00e[_0x551a35(0x4d0)]()),_0x32973c['contentVerticalOffset']&&_0x5ba00e['translateWithPrecision'](0x0,_0x32973c[_0x551a35(0x473)]),_0x470e70['draw'](_0x5ba00e),_0x4c7fbc&&(this[_0x551a35(0x2eb)]=(0x0,_0x583754[_0x551a35(0x1f6)])(_0x470e70,{'left':_0x3d3981[_0x551a35(0x20a)],'top':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x473)]},_0x23648f[_0x551a35(0x4d0)]?{'left':_0x3d3981['left'],'right':_0x3d3981['left']+_0x3d3981[_0x551a35(0x181)],'top':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x162)],'bottom':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x162)]+_0x32973c['clipHeight']}:void 0x0)),_0x5ba00e[_0x551a35(0x1b2)](),_0x470e70[_0x551a35(0x3cc)](),_0xe9789b[_0x551a35(0x3cc)](),_0x54a8fe[_0x551a35(0x3cc)](),_0x2b5a0c[_0x551a35(0x3cc)]();}[_0x1bb2bd(0x47c)](_0x33aa02,_0x2d1afc,_0x1c5522=!0x1){const _0x4d27eb=_0x1bb2bd;if(!this[_0x4d27eb(0x4a1)])return this[_0x4d27eb(0x4a5)](!0x1),this;let {width:_0x41b67b,height:_0x39aca3,left:_0x26d0d8,top:_0x3cac74}=this,_0x1f11cd=this[_0x4d27eb(0x430)]();if(_0x41b67b=_0x1f11cd[_0x4d27eb(0x181)],_0x39aca3=_0x1f11cd[_0x4d27eb(0x1db)],_0x26d0d8=_0x1f11cd[_0x4d27eb(0x20a)],_0x3cac74=_0x1f11cd['top'],this[_0x4d27eb(0x250)](_0x2d1afc)){let {top:_0x2a91d4,left:_0x28f724,bottom:_0x12eb69,right:_0x2830fe}=_0x2d1afc['viewBound'];if(_0x41b67b+this[_0x4d27eb(0x3e1)]+_0x26d0d8<_0x28f724||_0x2830fe<_0x26d0d8||_0x39aca3+this['strokeWidth']+_0x3cac74<_0x2a91d4||_0x12eb69<_0x3cac74)return this;}let _0x2e5c45=_0x26d0d8+_0x41b67b/0x2,_0x129c4e=_0x3cac74+_0x39aca3/0x2,_0x13970d=this[_0x4d27eb(0x3e4)]['getMatrix']();if(this['_props'][_0x4d27eb(0x397)]){let _0x144838=this['getState'](),_0x3d124f=new _0x610ad8[(_0x4d27eb(0x2dc))]();_0x3d124f['composeMatrix']({..._0x144838}),_0x13970d=_0x3d124f['getMatrix']();}return _0x33aa02[_0x4d27eb(0xff)](),this[_0x4d27eb(0x2b8)]['shapeModel'][_0x4d27eb(0x202)]===!0x0||_0x33aa02[_0x4d27eb(0x3e4)](_0x13970d[0x0],_0x13970d[0x1],_0x13970d[0x2],_0x13970d[0x3],_0x2e5c45,_0x129c4e),this[_0x4d27eb(0x2cb)](_0x33aa02,_0x2d1afc,_0x41b67b,_0x39aca3),_0x33aa02[_0x4d27eb(0x1b2)](),this['makeDirty'](!0x1),this;}[_0x1bb2bd(0x18d)](_0x5511fe){const _0x4be5f2=_0x1bb2bd;let {left:_0x4d93a8,top:_0x19ce33,width:_0x2bfafb,height:_0x50c541}=this[_0x4be5f2(0x430)](),_0x50be55=this[_0x4be5f2(0x3e4)]['getMatrix'](),_0x1a7219=_0x4d93a8+_0x2bfafb/0x2,_0x1c7b16=_0x19ce33+_0x50c541/0x2,_0x1ea413=new _0x610ad8[(_0x4be5f2(0x2dc))]([_0x50be55[0x0],_0x50be55[0x1],_0x50be55[0x2],_0x50be55[0x3],_0x1a7219,_0x1c7b16]),_0x5bb0d0=this[_0x4be5f2(0x303)]();return(this[_0x4be5f2(0x1bc)]&&(_0x5bb0d0==null?void 0x0:_0x5bb0d0[_0x4be5f2(0x285)])===_0x610ad8['RENDER_CLASS_TYPE'][_0x4be5f2(0x25f)]?_0x5bb0d0[_0x4be5f2(0x3d6)][_0x4be5f2(0x444)](_0x1ea413):_0x1ea413)[_0x4be5f2(0x111)]()[_0x4be5f2(0x356)](_0x5511fe);}[_0x1bb2bd(0x4f3)](_0x550c44){const _0x315352=_0x1bb2bd;let {left:_0xcd0ae3,top:_0x3803d0,width:_0x5e3c6e,height:_0x159fad}=this[_0x315352(0x430)](),_0x474c32=_0xcd0ae3+_0x5e3c6e/0x2,_0x21832a=_0x3803d0+_0x159fad/0x2,_0x1adebc=this[_0x315352(0x3e4)][_0x315352(0x328)](),_0x3745d8=new _0x610ad8[(_0x315352(0x2dc))]([_0x1adebc[0x0],_0x1adebc[0x1],_0x1adebc[0x2],_0x1adebc[0x3],_0x474c32,_0x21832a]),_0x204d3a=this[_0x315352(0x303)](),_0x49001e=(this['isInGroup']&&(_0x204d3a==null?void 0x0:_0x204d3a[_0x315352(0x285)])===_0x610ad8['RENDER_CLASS_TYPE'][_0x315352(0x25f)]?_0x204d3a[_0x315352(0x3d6)][_0x315352(0x444)](_0x3745d8):_0x3745d8)[_0x315352(0x111)]()['applyPoint'](_0x550c44),_0x28f5a2=_0x5e3c6e/0x2,_0x85b89b=_0x159fad/0x2,_0x28463e=this[_0x315352(0x2b8)][_0x315352(0x184)];return _0x28463e&&_0x28463e[_0x315352(0x128)]()?_0x28463e[_0x315352(0x388)](_0x49001e['x'],_0x49001e['y'],_0x5e3c6e,_0x159fad):_0x49001e['x']>=-_0x28f5a2-this[_0x315352(0x3e1)]/0x2&&_0x49001e['x']<=_0x28f5a2+this['strokeWidth']/0x2&&_0x49001e['y']>=-_0x85b89b-this[_0x315352(0x3e1)]/0x2&&_0x49001e['y']<=_0x85b89b+this['strokeWidth']/0x2;}['dispose'](){const _0x2238e9=_0x1bb2bd;this[_0x2238e9(0x45a)][_0x2238e9(0x3cc)](),this['_props'][_0x2238e9(0x184)]=null,super[_0x2238e9(0x3cc)]();}},_0x28a1af=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x333bdc,_0x4950a5){const _0x99c181=_0x1bb2bd;super(_0x333bdc,_0x4950a5),_0x19f136(this,'_shapeId',null),_0x19f136(this,'_adjName',null),_0x19f136(this,_0x99c181(0x4f9),null),_0x19f136(this,_0x99c181(0x34e),null),_0x4950a5&&this['setShapeProps'](_0x4950a5);}['getDrawingSearch'](){const _0x43e0f8=_0x1bb2bd;return{'unitId':this[_0x43e0f8(0x4f9)],'subUnitId':this[_0x43e0f8(0x34e)],'drawingId':this[_0x43e0f8(0x4a9)]};}[_0x1bb2bd(0x36d)](_0xa66690){const _0x21221e=_0x1bb2bd;_0xa66690[_0x21221e(0x4dd)]!==void 0x0&&(this['_shapeId']=_0xa66690[_0x21221e(0x4dd)]),_0xa66690[_0x21221e(0x12b)]!==void 0x0&&(this['_adjName']=_0xa66690[_0x21221e(0x12b)]),_0xa66690[_0x21221e(0x26d)]!==void 0x0&&(this[_0x21221e(0x4f9)]=_0xa66690[_0x21221e(0x26d)]),_0xa66690[_0x21221e(0x114)]!==void 0x0&&(this[_0x21221e(0x34e)]=_0xa66690['subUnitId']),this['transformByState']({'width':_0xa66690[_0x21221e(0x181)],'height':_0xa66690[_0x21221e(0x1db)]});}[_0x1bb2bd(0x2cb)](_0x40a34c){const _0x43eb1e=_0x1bb2bd;_0x610ad8[_0x43eb1e(0x41c)][_0x43eb1e(0x4cc)](_0x40a34c,{'radius':_0x756c25[_0x43eb1e(0x3ba)][_0x43eb1e(0x233)],'fill':_0x756c25['ShapeDefaultConfig'][_0x43eb1e(0x135)],'stroke':_0x756c25['ShapeDefaultConfig'][_0x43eb1e(0x3b7)],'strokeWidth':0x1,'evented':!0x0});}};function _0x25f0d4(_0x54de15,_0x167b1e){return function(_0x19e3ea,_0x3f4f34){_0x167b1e(_0x19e3ea,_0x3f4f34,_0x54de15);};}function _0x4d7d62(_0x3b9b55,_0x29dd02,_0x5ee6d7,_0x252f46){const _0x1056f2=_0x1bb2bd;var _0x6ab918=arguments[_0x1056f2(0x40e)],_0x1c56ef=_0x6ab918<0x3?_0x29dd02:_0x252f46===null?_0x252f46=Object['getOwnPropertyDescriptor'](_0x29dd02,_0x5ee6d7):_0x252f46,_0x4cc1e1;if(typeof Reflect=='object'&&typeof Reflect[_0x1056f2(0x20d)]==_0x1056f2(0x17e))_0x1c56ef=Reflect[_0x1056f2(0x20d)](_0x3b9b55,_0x29dd02,_0x5ee6d7,_0x252f46);else{for(var _0x136901=_0x3b9b55['length']-0x1;_0x136901>=0x0;_0x136901--)(_0x4cc1e1=_0x3b9b55[_0x136901])&&(_0x1c56ef=(_0x6ab918<0x3?_0x4cc1e1(_0x1c56ef):_0x6ab918>0x3?_0x4cc1e1(_0x29dd02,_0x5ee6d7,_0x1c56ef):_0x4cc1e1(_0x29dd02,_0x5ee6d7))||_0x1c56ef);}return _0x6ab918>0x3&&_0x1c56ef&&Object[_0x1056f2(0x2e1)](_0x29dd02,_0x5ee6d7,_0x1c56ef),_0x1c56ef;}let _0x34a6bf=class extends _0x3d2575['Disposable']{constructor(_0x10b38a,_0x1c9f39,_0x5daa4c,_0x1db812,_0x1e24c9,_0x4fa6e0){const _0x36cab4=_0x1bb2bd;super(),this[_0x36cab4(0x479)]=_0x10b38a,this[_0x36cab4(0x496)]=_0x1c9f39,this[_0x36cab4(0x122)]=_0x5daa4c,this[_0x36cab4(0x190)]=_0x1db812,this['_urlImageService']=_0x1e24c9,this['_shapeFormulaService']=_0x4fa6e0,_0x19f136(this,_0x36cab4(0x21c),new Map()),this['disposeWithMe'](this[_0x36cab4(0x2e0)]['presentationChanged$'][_0x36cab4(0x3b2)](_0x41b693=>{const _0x45c89c=_0x36cab4;var _0x4b982c;(_0x4b982c=this[_0x45c89c(0x21c)][_0x45c89c(0x107)](this['_formulaKey'](_0x41b693['unitId'],_0x41b693[_0x45c89c(0x114)],_0x41b693[_0x45c89c(0x4dd)])))==null||_0x4b982c[_0x45c89c(0x307)](_0x5c1493=>_0x5c1493['setFormulaPresentation'](_0x41b693['presentation'],_0x41b693['animationEnabled']));})),this['disposeWithMe'](this[_0x36cab4(0x479)][_0x36cab4(0x348)][_0x36cab4(0x3b2)](_0x55c70d=>{_0x55c70d['forEach'](_0xec38a4=>{const _0x36c142=_0x413c;this[_0x36c142(0x2e0)][_0x36c142(0x439)]({'unitId':_0xec38a4[_0x36c142(0x26d)],'subUnitId':_0xec38a4['subUnitId'],'shapeId':_0xec38a4['drawingId']}),this[_0x36c142(0x21c)]['delete'](this[_0x36c142(0x17f)](_0xec38a4[_0x36c142(0x26d)],_0xec38a4[_0x36c142(0x114)],_0xec38a4[_0x36c142(0x17d)]));});}));}[_0x1bb2bd(0x39d)](_0x346e29,_0x13a278,_0x51af4e){const _0x513e66=_0x1bb2bd;let {transform:_0x397082,drawingType:_0x1dfad6,srcRect:_0x50842d,prstGeom:_0x1e250b,groupId:_0xca3c67,unitId:_0x23750b,subUnitId:_0xd42d2b,drawingId:_0xbc33e0,isMultiTransform:_0x540249,transforms:_0x416542,hidden:_0x1c079c,selectable:_0x2f320a}=_0x346e29;if(_0x1dfad6!==_0x3d2575[_0x513e66(0x2d2)][_0x513e66(0x30b)]||!this[_0x513e66(0x479)][_0x513e66(0x19a)]()||_0x397082==null)return;let _0x63ee78=this[_0x513e66(0x479)]['getDrawingEditable'](),_0x2a7b7f=_0x540249&&_0x416542?_0x416542:[_0x397082],_0x548fe9=[];for(let _0x4bb7f9 of _0x2a7b7f){let {left:_0x11cad2,top:_0x50ae78,width:_0x2af246,height:_0x519121,angle:_0x3ed486,flipX:_0x3410ac,flipY:_0x324fd2,skewX:_0x3fbcb9,skewY:_0x57fd54}=_0x4bb7f9,_0x3db77b=_0x2a7b7f[_0x513e66(0x11e)](_0x4bb7f9),_0x356b13=(0x0,_0xf3cf76[_0x513e66(0x372)])({'unitId':_0x23750b,'subUnitId':_0xd42d2b,'drawingId':_0xbc33e0},_0x540249?_0x3db77b:void 0x0),_0x197247=_0x13a278[_0x513e66(0x195)](_0x356b13);if(_0x197247!=null){let _0x3e359c={'unitId':_0x23750b,'subUnitId':_0xd42d2b,'shapeId':_0xbc33e0};_0x197247 instanceof _0x28ba5a&&this[_0x513e66(0x4a2)](_0x197247,_0x3e359c),_0x197247[_0x513e66(0x2e5)]({'left':_0x11cad2,'top':_0x50ae78,'width':_0x2af246,'height':_0x519121,'angle':_0x3ed486,'flipX':_0x3410ac,'flipY':_0x324fd2,'skewX':_0x3fbcb9,'skewY':_0x57fd54});continue;}let _0x5e9b2e=this[_0x513e66(0x479)][_0x513e66(0x3ce)](_0x23750b,_0xd42d2b),_0x5732d6=_0x5e9b2e[_0x513e66(0x11e)](_0xbc33e0);if(_0x13a278[_0x513e66(0x195)](_0x356b13)||!this[_0x513e66(0x479)][_0x513e66(0x19a)]())continue;let _0x149f6e=this[_0x513e66(0x496)][_0x513e66(0x286)](_0x23750b,_0xd42d2b,_0xbc33e0);if(!_0x149f6e)continue;let _0x179794=(0x0,_0x756c25['isConnectorShape'])(_0x149f6e[_0x513e66(0x441)]())?{..._0x583754['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x583754[_0x513e66(0x4d5)],_0x2c9b41=_0x149f6e[_0x513e66(0x4d2)]()[_0x513e66(0x103)],_0x2542e0={'unitId':_0x23750b,'subUnitId':_0xd42d2b,'shapeId':_0xbc33e0};_0x2c9b41&&this[_0x513e66(0x2e0)]['register'](_0x2542e0,_0x2c9b41);let _0xb198e=new _0x28ba5a(_0x356b13,{..._0x4bb7f9,'zIndex':_0x5732d6===-0x1?_0x5e9b2e['length']-0x1:_0x5732d6,'shapeModel':_0x149f6e,'localeService':this['_localeService'],'shapeId':_0xbc33e0,'unitId':_0x23750b,'subUnitId':_0xd42d2b,'visible':_0x1c079c!==!0x0,'evented':_0x2f320a!==!0x1,'formulaPresentation':_0x2c9b41?this[_0x513e66(0x2e0)]['getPresentation'](_0x2542e0):void 0x0,'animateFormulaPresentation':(_0x2c9b41==null?void 0x0:_0x2c9b41[_0x513e66(0x33a)])!==!0x1,'transformerConfig':_0x179794});if(_0x2c9b41){let _0x57162f=this[_0x513e66(0x17f)](_0x23750b,_0xd42d2b,_0xbc33e0),_0x2898dc=this[_0x513e66(0x21c)]['get'](_0x57162f)??new Set();_0x2898dc[_0x513e66(0x358)](_0xb198e),this[_0x513e66(0x21c)][_0x513e66(0x100)](_0x57162f,_0x2898dc);}_0x13a278['addObject'](_0xb198e,_0x610ad8[_0x513e66(0x239)]),_0x63ee78&&_0x13a278['attachTransformerTo'](_0xb198e),_0xca3c67&&(0x0,_0x2114cd[_0x513e66(0x4ae)])({'drawingId':_0xca3c67,'unitId':_0x23750b,'subUnitId':_0xd42d2b},_0xb198e,_0x13a278,this['_drawingManagerService']),_0x1e250b!=null&&_0xb198e[_0x513e66(0x468)](_0x1e250b),_0x50842d!=null&&_0xb198e[_0x513e66(0x242)](_0x50842d);let _0x4d86a8=this[_0x513e66(0x355)](_0xb198e,_0x149f6e['getShapeData']());if(_0x4d86a8){var _0x17c030;_0x51af4e==null||(_0x17c030=_0x51af4e['resourceCollector'])==null||_0x17c030[_0x513e66(0x358)](_0x4d86a8);}_0x548fe9[_0x513e66(0x37e)](_0xb198e);}return _0x548fe9;}[_0x1bb2bd(0x17f)](_0x482f80,_0x164066,_0x1e0928){return _0x482f80+'\x00'+_0x164066+'\x00'+_0x1e0928;}['refreshFormulaPresentation'](_0x14e71c,_0x3dfbca){const _0x99380e=_0x1bb2bd;let _0x1a52e1=this['_sheetsShapeService'][_0x99380e(0x286)](_0x3dfbca[_0x99380e(0x26d)],_0x3dfbca[_0x99380e(0x114)],_0x3dfbca[_0x99380e(0x4dd)]),_0x4ac3d5=_0x1a52e1==null?void 0x0:_0x1a52e1[_0x99380e(0x4d2)]()[_0x99380e(0x103)],_0x3c90f1=this[_0x99380e(0x17f)](_0x3dfbca[_0x99380e(0x26d)],_0x3dfbca['subUnitId'],_0x3dfbca[_0x99380e(0x4dd)]);if(_0x4ac3d5){this[_0x99380e(0x2e0)]['register'](_0x3dfbca,_0x4ac3d5);let _0x3ff411=this[_0x99380e(0x21c)]['get'](_0x3c90f1)??new Set();_0x3ff411[_0x99380e(0x358)](_0x14e71c),this[_0x99380e(0x21c)][_0x99380e(0x100)](_0x3c90f1,_0x3ff411);}else{var _0x2d05a7;this[_0x99380e(0x2e0)][_0x99380e(0x439)](_0x3dfbca),(_0x2d05a7=this['_formulaShapes'][_0x99380e(0x107)](_0x3c90f1))==null||_0x2d05a7[_0x99380e(0x417)](_0x14e71c);}_0x14e71c[_0x99380e(0x409)](_0x4ac3d5?this[_0x99380e(0x2e0)][_0x99380e(0x2bc)](_0x3dfbca):void 0x0,(_0x4ac3d5==null?void 0x0:_0x4ac3d5[_0x99380e(0x33a)])!==!0x1);}[_0x1bb2bd(0x3cd)](_0x25c69c){const _0x19a054=_0x1bb2bd;let _0x4c722a=_0x25c69c[_0x19a054(0x184)][_0x19a054(0x4d2)](),_0x36b77f=_0x4c722a[_0x19a054(0x266)];!_0x36b77f||_0x36b77f[_0x19a054(0x256)]!==_0x756c25['ShapeFillEnum'][_0x19a054(0x308)]||!_0x36b77f[_0x19a054(0x253)]?_0x25c69c['setFillImage'](void 0x0):this['_loadShapePictureFill'](_0x25c69c,_0x4c722a);}[_0x1bb2bd(0x355)](_0x2dee30,_0x2bc56e){const _0x13d79c=_0x1bb2bd;let _0x247bbb=_0x2bc56e['fill'];if(!_0x247bbb||_0x247bbb[_0x13d79c(0x256)]!==_0x756c25[_0x13d79c(0x17b)][_0x13d79c(0x308)]||!_0x247bbb[_0x13d79c(0x253)])return;let _0x2a2af2=_0x247bbb[_0x13d79c(0x253)],_0x57fd99=_0x247bbb[_0x13d79c(0x118)]??_0x756c25[_0x13d79c(0x29d)][_0x13d79c(0x161)],_0x218f0d=this[_0x13d79c(0x190)]['getImageSourceCache'](_0x2a2af2,_0x57fd99);if(_0x218f0d)_0x2dee30['setFillImage'](_0x218f0d);else return this[_0x13d79c(0x137)](_0x2dee30,_0x2a2af2,_0x57fd99);}async[_0x1bb2bd(0x137)](_0xb042fb,_0x58574b,_0x1a1722){const _0x127ead=_0x1bb2bd;let _0xbe56f;try{if(_0x1a1722===_0x756c25[_0x127ead(0x29d)][_0x127ead(0x4a8)])_0xbe56f=await this['_imageIoService'][_0x127ead(0x424)](_0x58574b);else{if(_0x1a1722===_0x756c25['ImageSourceTypeEnum']['URL'])try{_0xbe56f=await this[_0x127ead(0x310)][_0x127ead(0x424)](_0x58574b);}catch{_0xbe56f=_0x58574b;}else _0xbe56f=_0x58574b;}}catch(_0x36f7b3){console[_0x127ead(0x283)](_0x127ead(0x40a),_0x36f7b3);return;}await new Promise(_0x26b7c5=>{const _0x47816c=_0x127ead;let _0x542fd3=new window[(_0x47816c(0x213))]();_0x542fd3['onload']=()=>{const _0x250f80=_0x47816c;this[_0x250f80(0x190)][_0x250f80(0x304)](_0x58574b,_0x1a1722,_0x542fd3),_0xb042fb['setFillImage'](_0x542fd3),_0x26b7c5();},_0x542fd3[_0x47816c(0x4bd)]=()=>{const _0x5e64f8=_0x47816c;console['error'](_0x5e64f8(0x1d5),_0x58574b),_0x26b7c5();},_0x542fd3[_0x47816c(0x138)]=_0xbe56f;});}};_0x34a6bf=_0x4d7d62([_0x25f0d4(0x0,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x263)])),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x10b)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x3df)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x41ad7c['ShapeFormulaService']))],_0x34a6bf);let _0x3f0181=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x47c955,_0x4b9200,_0xbb4339,_0x562078,_0x24bded,_0x3c69eb){const _0x450bfb=_0x1bb2bd;super(),this[_0x450bfb(0x479)]=_0x47c955,this[_0x450bfb(0x496)]=_0x4b9200,this[_0x450bfb(0x2ba)]=_0xbb4339,this['_sheetDrawingShapeRenderController']=_0x562078,this[_0x450bfb(0x3da)]=_0x24bded,this[_0x450bfb(0x101)]=_0x3c69eb,_0x19f136(this,_0x450bfb(0x1dc),null),_0x19f136(this,_0x450bfb(0x4f9),null),_0x19f136(this,_0x450bfb(0x34e),null),_0x19f136(this,'_activeShapeAdjustPointList',void 0x0),_0x19f136(this,'_shapes',[]),_0x19f136(this,'_baseShapeLeft',0x0),_0x19f136(this,_0x450bfb(0x2c7),0x0),_0x19f136(this,_0x450bfb(0x102),0x0),_0x19f136(this,_0x450bfb(0x1a8),0x0),_0x19f136(this,'_isStartAdjusting',!0x1),_0x19f136(this,'_activeAdjustInfo',void 0x0),_0x19f136(this,_0x450bfb(0x1ca),void 0x0),_0x19f136(this,'_adjHandlerPointerMove',void 0x0),_0x19f136(this,_0x450bfb(0x4a0),void 0x0),_0x19f136(this,_0x450bfb(0x3ff),!0x1),this[_0x450bfb(0x20c)](),this[_0x450bfb(0x309)]();}['_getShapeAdjustPointListById'](_0x27a478,_0x4a9620,_0x2846a2){const _0x1bb890=_0x1bb2bd;let _0x551cc2=this[_0x1bb890(0x496)][_0x1bb890(0x286)](_0x27a478,_0x4a9620,_0x2846a2);if(_0x551cc2)return _0x551cc2[_0x1bb890(0x321)]();}[_0x1bb2bd(0x3fe)](){const _0x116dcc=_0x1bb2bd;this[_0x116dcc(0x351)]();}['refreshAdjustControls'](){const _0x5fd27=_0x1bb2bd;this[_0x5fd27(0x47b)](!0x0);}['setShouldShowAdjust'](_0x53e0b0){const _0x372896=_0x1bb2bd;this[_0x372896(0x3ff)]=_0x53e0b0;}[_0x1bb2bd(0x405)](_0x525737,_0xab6c66,_0x18fa2f,_0x33fc4d){const _0x58ced0=_0x1bb2bd;let _0x2dcb3a=this['_sheetsShapeService'][_0x58ced0(0x286)](_0x525737,_0xab6c66,_0x18fa2f);if(_0x2dcb3a)return _0x2dcb3a[_0x58ced0(0x2f1)](_0x33fc4d);}[_0x1bb2bd(0x4f6)](_0x47ff4d=!0x1){const _0x266bf2=_0x1bb2bd;if(this[_0x266bf2(0x4f9)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x1af546=this[_0x266bf2(0x2ba)][_0x266bf2(0x40c)](this['_unitId']);if(!_0x1af546||!_0x1af546[_0x266bf2(0x10a)](_0x542241['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x2d9996}=_0x1af546,_0x48d528={'unitId':this[_0x266bf2(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x266bf2(0x1dc)]},_0x5f7929=this[_0x266bf2(0x479)][_0x266bf2(0x4f0)](_0x48d528),{transform:_0x40d10c}=_0x5f7929;if(!_0x40d10c||_0x5f7929[_0x266bf2(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x266bf2(0x30b)])return;let {left:_0x5b5340,top:_0x2d9071,width:_0x15b703,height:_0x41add4,flipX:_0x2acf69,flipY:_0x479b9b,angle:_0x542590=0x0}=_0x40d10c;if(_0x5b5340===void 0x0||_0x2d9071===void 0x0)return;if(_0x47ff4d){let _0x4fdd80=this['_sheetsShapeService'][_0x266bf2(0x286)](this[_0x266bf2(0x4f9)],this[_0x266bf2(0x34e)],this[_0x266bf2(0x1dc)]);_0x4fdd80==null||_0x4fdd80[_0x266bf2(0x210)]({'width':_0x15b703??0x0,'height':_0x41add4??0x0}),this[_0x266bf2(0x48d)]=_0x4fdd80==null?void 0x0:_0x4fdd80[_0x266bf2(0x321)]();}let _0x5be72c=this[_0x266bf2(0x48d)];for(let _0x7fb01d=0x0;_0x7fb01d<_0x5be72c[_0x266bf2(0x40e)];_0x7fb01d++){let _0x2167fd=_0x5be72c[_0x7fb01d],_0x4c75c5=_0x2167fd['x'],_0x31c458=_0x2167fd['y'];if(_0x2acf69&&(_0x4c75c5=(_0x15b703||0x0)-_0x4c75c5),_0x479b9b&&(_0x31c458=(_0x41add4||0x0)-_0x31c458),_0x542590!==0x0){let _0x4426da=(_0x15b703||0x0)/0x2,_0x49fc29=(_0x41add4||0x0)/0x2,_0x34ef3b=_0x542590*Math['PI']/0xb4,_0x1db4d0=Math[_0x266bf2(0x226)](_0x34ef3b),_0x3f3369=Math[_0x266bf2(0x241)](_0x34ef3b),_0x128e31=_0x4c75c5-_0x4426da,_0x4e770c=_0x31c458-_0x49fc29;_0x4c75c5=_0x4426da+(_0x128e31*_0x1db4d0-_0x4e770c*_0x3f3369),_0x31c458=_0x49fc29+(_0x128e31*_0x3f3369+_0x4e770c*_0x1db4d0);}let _0x2c7bf3={'x':_0x4c75c5,'y':_0x31c458,'adjName':_0x2167fd['adjName']};this[_0x266bf2(0x1e3)](_0x2d9996,_0x2c7bf3,_0x2c7bf3[_0x266bf2(0x12b)],_0x5b5340,_0x2d9071,this['_unitId'],this['_subUnitId']);}}[_0x1bb2bd(0x47b)](_0x3664c2=!0x1){const _0x11124a=_0x1bb2bd;_0x3664c2&&(this[_0x11124a(0x351)](),this[_0x11124a(0x4f6)](_0x3664c2));}[_0x1bb2bd(0x1e3)](_0x2a3ae2,_0x2c3933,_0x3b197e,_0x31674e,_0x321615,_0x7a815a,_0x19e8ef){const _0x33b557=_0x1bb2bd;if(!this[_0x33b557(0x1dc)])return;let _0x5366e9=_0x2a3ae2[_0x33b557(0x195)]('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x3b197e);if(_0x5366e9){_0x5366e9[_0x33b557(0x2e5)]({'left':_0x2c3933['x']+_0x31674e-_0x756c25['ShapeDefaultConfig']['adjHandleSize'],'top':_0x2c3933['y']+_0x321615-_0x756c25[_0x33b557(0x3ba)]['adjHandleSize']});return;}let _0x23551c={'left':_0x2c3933['x']+_0x31674e-_0x756c25[_0x33b557(0x3ba)]['adjHandleSize'],'top':_0x2c3933['y']+_0x321615-_0x756c25['ShapeDefaultConfig'][_0x33b557(0x233)],'adjName':_0x3b197e,'shapeId':this[_0x33b557(0x1dc)],'unitId':_0x7a815a,'subUnitId':_0x19e8ef,'width':_0x756c25[_0x33b557(0x3ba)][_0x33b557(0x233)]+0x8,'height':_0x756c25[_0x33b557(0x3ba)][_0x33b557(0x233)]+0x8,'zIndex':_0x610ad8[_0x33b557(0x239)]+0x1,'evented':!0x0},_0x25c162=new _0x28a1af(_0x33b557(0x106)+this[_0x33b557(0x1dc)]+'-'+_0x3b197e,_0x23551c);this['_shapes']['push'](_0x25c162),this['_attachAdjustEvent'](_0x25c162,_0x2a3ae2,_0x3b197e),_0x2a3ae2[_0x33b557(0x301)](_0x25c162,_0x610ad8[_0x33b557(0x239)]+0x1);}['_clearShapeAdjustControls'](){const _0x1335c5=_0x1bb2bd;this[_0x1335c5(0x3b4)][_0x1335c5(0x40e)]!==0x0&&(this[_0x1335c5(0x3b4)]['forEach'](_0x2bb009=>{const _0x15a22e=_0x1335c5;_0x2bb009[_0x15a22e(0x3cc)]();}),this[_0x1335c5(0x3b4)]=[]);}[_0x1bb2bd(0x313)](){const _0x5b4d84=_0x1bb2bd;this[_0x5b4d84(0x4f6)]();}[_0x1bb2bd(0x1ae)](_0x5a89cb,_0x5682da){const _0x426065=_0x1bb2bd;var _0x55266d;let _0x366a69={'x':0x0,'y':0x0};if(!_0x5a89cb||!_0x5682da)return _0x366a69;let _0x1664e5=this[_0x426065(0x2ba)][_0x426065(0x40c)](_0x5a89cb);if(!_0x1664e5||!_0x1664e5[_0x426065(0x10a)](_0x542241[_0x426065(0x15f)])[_0x426065(0x2cc)](_0x5682da))return _0x366a69;let _0x5d8654=_0x1664e5[_0x426065(0x10a)](_0x542241[_0x426065(0x2c6)]),_0x2849e0=_0x5d8654==null?void 0x0:_0x5d8654[_0x426065(0x27b)]();if(!_0x2849e0)return _0x366a69;let _0x552913=(_0x55266d=this[_0x426065(0x3da)][_0x426065(0x4d8)](_0x5a89cb))==null?void 0x0:_0x55266d['getSheetBySheetId'](_0x5682da);if(!_0x552913)return _0x366a69;let _0x34156f=(0x0,_0x542241[_0x426065(0x48b)])(_0x2849e0[_0x426065(0x4b6)],_0x2849e0[_0x426065(0x340)],_0x1664e5[_0x426065(0x179)],_0x552913);return _0x34156f?{'x':_0x34156f['viewportScrollX'],'y':_0x34156f[_0x426065(0x2a3)]}:_0x366a69;}[_0x1bb2bd(0x29b)](_0x95ecba,_0x59c9b9){const _0x3d03d5=_0x1bb2bd;var _0x5afc4e;let _0x57e6ff=(_0x5afc4e=this['_univerInstanceService'][_0x3d03d5(0x4d8)](_0x95ecba))==null?void 0x0:_0x5afc4e[_0x3d03d5(0x200)](_0x59c9b9);return(_0x57e6ff==null?void 0x0:_0x57e6ff['getZoomRatio']())??0x1;}[_0x1bb2bd(0x4db)](_0x427566,_0x89b206,_0x44471b){const _0x4c7357=_0x1bb2bd;this[_0x4c7357(0x275)]((0x0,_0x3d2575['toDisposable'])(_0x427566[_0x4c7357(0x246)][_0x4c7357(0x11b)]((_0x371338,_0x339f8f)=>{const _0x4c667f=_0x4c7357;var _0x239a68,_0x55dadc,_0x18be0e,_0x53ce64;let _0x454c93=_0x427566[_0x4c667f(0x1c1)]();this[_0x4c667f(0x3a5)]=this[_0x4c667f(0x405)](_0x454c93[_0x4c667f(0x26d)],_0x454c93['subUnitId'],_0x454c93[_0x4c667f(0x17d)],_0x44471b),this[_0x4c667f(0x1ca)]=this[_0x4c667f(0x496)]['getShapeModel'](_0x454c93['unitId'],_0x454c93[_0x4c667f(0x114)],_0x454c93[_0x4c667f(0x17d)]);let _0x41c07d=this[_0x4c667f(0x479)][_0x4c667f(0x4f0)]({'unitId':this[_0x4c667f(0x4f9)],'subUnitId':this[_0x4c667f(0x34e)],'drawingId':this[_0x4c667f(0x1dc)]}),{transform:_0x3774f6}=_0x41c07d;if(_0x3774f6){let {left:_0x539a65,top:_0x1478fc,width:_0x31fc2e,height:_0x38f051}=_0x3774f6;this['_baseShapeLeft']=_0x539a65||0x0,this[_0x4c667f(0x2c7)]=_0x1478fc||0x0,this[_0x4c667f(0x102)]=_0x31fc2e||0x0,this[_0x4c667f(0x1a8)]=_0x38f051||0x0;}let _0x273704=!!((_0x239a68=_0x41c07d[_0x4c667f(0x3e4)])!=null&&_0x239a68[_0x4c667f(0x115)]),_0x2ac429=!!((_0x55dadc=_0x41c07d[_0x4c667f(0x3e4)])!=null&&_0x55dadc[_0x4c667f(0x3cf)]),_0x1d9077=((_0x18be0e=_0x41c07d[_0x4c667f(0x3e4)])==null?void 0x0:_0x18be0e[_0x4c667f(0x3c9)])||0x0;this['_isStartAdjusting']=!0x0,_0x89b206[_0x4c667f(0x251)]();let _0x2a7286={...((_0x53ce64=this[_0x4c667f(0x3a5)])==null?void 0x0:_0x53ce64[_0x4c667f(0x3aa)])??{}};this['_adjHandlerPointerMove']=_0x89b206['onPointerMove$'][_0x4c667f(0x11b)]((_0x4baaa4,_0x44e900)=>{const _0x215e1e=_0x4c667f;if(!this[_0x215e1e(0x280)])return;let {offsetX:_0x19c3d9,offsetY:_0x35ff5a}=_0x4baaa4,_0x2af7cc=this[_0x215e1e(0x3a5)];if(this[_0x215e1e(0x1ca)]&&_0x2af7cc){_0x89b206[_0x215e1e(0x251)](),_0x89b206[_0x215e1e(0x46e)](_0x610ad8[_0x215e1e(0x2cf)][_0x215e1e(0x21e)]);let _0x562d41={'left':0x0,'top':0x0,'width':this[_0x215e1e(0x102)],'height':this[_0x215e1e(0x1a8)]},_0x448850=this[_0x215e1e(0x1ae)](this[_0x215e1e(0x4f9)],this['_subUnitId']),_0xbc0412=this[_0x215e1e(0x29b)](this[_0x215e1e(0x4f9)],this[_0x215e1e(0x34e)]),_0x2048c2=_0x19c3d9/_0xbc0412+_0x448850['x']-this[_0x215e1e(0x448)],_0x28e1d5=_0x35ff5a/_0xbc0412+_0x448850['y']-this['_baseShapeTop'];if(_0x1d9077!==0x0){let _0x4ed04a=this[_0x215e1e(0x102)]/0x2,_0x2762fb=this[_0x215e1e(0x1a8)]/0x2,_0x49459f=_0x1d9077*Math['PI']/0xb4,_0x486857=Math['cos'](_0x49459f),_0x4f3341=Math[_0x215e1e(0x241)](_0x49459f),_0x3e632b=_0x2048c2-_0x4ed04a,_0x2a2001=_0x28e1d5-_0x2762fb;_0x2048c2=_0x4ed04a+(_0x3e632b*_0x486857+_0x2a2001*_0x4f3341),_0x28e1d5=_0x2762fb+(-_0x3e632b*_0x4f3341+_0x2a2001*_0x486857);}_0x273704&&(_0x2048c2=this[_0x215e1e(0x102)]-_0x2048c2),_0x2ac429&&(_0x28e1d5=this['_baseShapeHeight']-_0x28e1d5);let _0x51f691={'x':_0x2048c2,'y':_0x28e1d5},_0x27269b=this[_0x215e1e(0x1ca)][_0x215e1e(0x30c)](_0x562d41,_0x51f691,_0x2af7cc,_0x273704,_0x2ac429);if(Object[_0x215e1e(0x434)](_0x27269b)[_0x215e1e(0x40e)]===0x0)return;for(let [_0x583b55,_0xccefd2]of Object[_0x215e1e(0x334)](_0x27269b))this[_0x215e1e(0x1ca)][_0x215e1e(0x2ee)](_0x583b55,_0xccefd2);this[_0x215e1e(0x1ca)][_0x215e1e(0x210)]({'width':this[_0x215e1e(0x102)],'height':this[_0x215e1e(0x1a8)]});let _0x1cb681=this[_0x215e1e(0x479)][_0x215e1e(0x4f0)]({'unitId':_0x454c93[_0x215e1e(0x26d)],'subUnitId':_0x454c93[_0x215e1e(0x114)],'drawingId':_0x454c93['drawingId']});_0x1cb681&&(this[_0x215e1e(0x2ad)]['renderDrawingShape'](_0x1cb681,_0x89b206),this['_activeShapeAdjustPointList']=this[_0x215e1e(0x49a)](_0x454c93['unitId'],_0x454c93['subUnitId'],_0x454c93[_0x215e1e(0x17d)]),this[_0x215e1e(0x313)]());}_0x44e900['stopPropagation']();}),this[_0x4c667f(0x4a0)]=_0x89b206[_0x4c667f(0x2e2)][_0x4c667f(0x11b)]((_0x43eb5e,_0x3fe4fc)=>{const _0x26978c=_0x4c667f;this[_0x26978c(0x4cf)][_0x26978c(0x1a1)](),this[_0x26978c(0x4a0)][_0x26978c(0x1a1)](),_0x89b206[_0x26978c(0x35d)]();let _0x1a7512=this[_0x26978c(0x3a5)];if(_0x1a7512){let _0x48e66f=_0x454c93[_0x26978c(0x26d)],_0x14da29=_0x454c93[_0x26978c(0x114)],_0x83bfe3=_0x454c93[_0x26978c(0x17d)],_0x3460e6={};for(let _0x10234e of Object[_0x26978c(0x434)](_0x1a7512[_0x26978c(0x3aa)])){var _0x1a1035;let _0x2b3ee2=(_0x1a1035=this['_activeShapeModel'])==null?void 0x0:_0x1a1035[_0x26978c(0x26c)](_0x10234e);_0x2b3ee2!==void 0x0&&(_0x3460e6[_0x10234e]=_0x2b3ee2);}Object[_0x26978c(0x434)](_0x3460e6)[_0x26978c(0x40e)]>0x0&&_0x5c7f30(this[_0x26978c(0x101)],_0x48e66f,_0x14da29,_0x83bfe3,{'oldShapeData':{'adjustValues':_0x2a7286}},{'adjustValues':_0x3460e6});}this['_activeAdjustInfo']=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x26978c(0x280)]=!0x1,_0x3fe4fc[_0x26978c(0x407)](),_0x89b206[_0x26978c(0x4c0)]();}),_0x339f8f[_0x4c667f(0x407)]();})));}[_0x1bb2bd(0x309)](){const _0x10afb2=_0x1bb2bd;let _0x422c80=this['_univerInstanceService'][_0x10afb2(0x25b)](_0x3d2575['UniverInstanceType'][_0x10afb2(0x245)]);this[_0x10afb2(0x275)](_0x422c80['pipe']((0x0,_0x133625[_0x10afb2(0x14f)])(_0x4f4a65=>_0x4f4a65?_0x4f4a65[_0x10afb2(0x404)]['pipe']((0x0,_0x133625['switchMap'])(_0x18ec2f=>{const _0x20ee73=_0x10afb2;if(!_0x18ec2f)return _0x133625['EMPTY'];let _0x253b92=_0x4f4a65[_0x20ee73(0x455)](),_0x50f578=this[_0x20ee73(0x2ba)][_0x20ee73(0x40c)](_0x253b92),_0x3c29ca=_0x50f578==null?void 0x0:_0x50f578[_0x20ee73(0x179)];return _0x3c29ca?(0x0,_0x133625['of'])(_0x3c29ca):_0x133625[_0x20ee73(0x21d)];})):_0x133625[_0x10afb2(0x21d)]))[_0x10afb2(0x3b2)](_0x6b0d29=>{const _0xc8a044=_0x10afb2;let _0x44c709=_0x6b0d29[_0xc8a044(0x4b5)]();this[_0xc8a044(0x275)](_0x6b0d29['onPointerMove$'][_0xc8a044(0x11b)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x3c2)][_0xc8a044(0x3b2)](_0x3753=>{const _0x4f11ec=_0xc8a044;let {objects:_0x560d6a}=_0x3753;this[_0x4f11ec(0x4f6)](),_0x560d6a!==null&&_0x560d6a[_0x4f11ec(0x349)]===0x1&&_0x560d6a[_0x4f11ec(0x174)]()[_0x4f11ec(0x188)]()[_0x4f11ec(0x18a)]instanceof _0x28ba5a&&this['setShouldShowAdjust'](!0x0);})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x3ec)]['subscribe'](()=>{const _0x4eb91d=_0xc8a044;this[_0x4eb91d(0x3ff)]&&this['_clearShapeAdjustControls']();})),this[_0xc8a044(0x275)](_0x6b0d29[_0xc8a044(0x2e2)][_0xc8a044(0x11b)](()=>{const _0x54d270=_0xc8a044;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x54d270(0x170)](!0x1),this[_0x54d270(0x4f6)]());})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x10c)][_0xc8a044(0x3b2)](()=>{const _0x216f58=_0xc8a044;this['_unitId']&&this[_0x216f58(0x34e)]&&this['_activeShapeId']&&this[_0x216f58(0x479)][_0x216f58(0x4f0)]({'unitId':this[_0x216f58(0x4f9)],'subUnitId':this[_0x216f58(0x34e)],'drawingId':this[_0x216f58(0x1dc)]})&&(this[_0x216f58(0x48d)]=this[_0x216f58(0x49a)](this['_unitId'],this[_0x216f58(0x34e)],this['_activeShapeId']),this[_0x216f58(0x313)]());}));}));}[_0x1bb2bd(0x20c)](){const _0x1b1740=_0x1bb2bd;this[_0x1b1740(0x275)](this[_0x1b1740(0x101)][_0x1b1740(0x2df)](_0x52d488=>{const _0x3b4b0d=_0x1b1740;if(_0x52d488['id']!==_0x111169[_0x3b4b0d(0x1d6)]['id'])return;let {unitId:_0x191d00,subUnitId:_0x297b69,shapeId:_0x3dbe6a}=_0x52d488[_0x3b4b0d(0x4ad)];_0x191d00===this['_unitId']&&_0x297b69===this['_subUnitId']&&_0x3dbe6a===this[_0x3b4b0d(0x1dc)]&&this['refreshAdjustControls']();})),this[_0x1b1740(0x275)](this[_0x1b1740(0x479)][_0x1b1740(0x2c2)][_0x1b1740(0x3b2)](_0x453ee5=>{const _0x1ae995=_0x1b1740;if(_0x453ee5[_0x1ae995(0x40e)]===0x1){let _0x387164=_0x453ee5[0x0];if(_0x387164[_0x1ae995(0x1f2)]===_0x3d2575[_0x1ae995(0x2d2)][_0x1ae995(0x30b)]&&this['_univerInstanceService'][_0x1ae995(0x28c)](_0x387164['unitId'])===_0x3d2575[_0x1ae995(0x4f8)][_0x1ae995(0x245)]){this[_0x1ae995(0x1dc)]=_0x387164['drawingId'];let {unitId:_0x247179,subUnitId:_0x586a5f}=_0x387164;this[_0x1ae995(0x48d)]=this[_0x1ae995(0x49a)](_0x247179,_0x586a5f,this['_activeShapeId']),this['_unitId']=_0x247179,this['_subUnitId']=_0x586a5f,this[_0x1ae995(0x351)](),this['_createShapeAdjustControls']();return;}}this[_0x1ae995(0x1dc)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x1ae995(0x34e)]=null,this[_0x1ae995(0x351)]();})),this['disposeWithMe'](this['_drawingManagerService']['update$'][_0x1b1740(0x3b2)](_0xf9caf8=>{const _0x38ddd3=_0x1b1740;if(_0xf9caf8['length']===0x1){var _0x18371e;let _0x313352=_0xf9caf8[0x0];((_0x18371e=this[_0x38ddd3(0x479)][_0x38ddd3(0x4f0)](_0x313352))==null?void 0x0:_0x18371e[_0x38ddd3(0x1f2)])===_0x3d2575[_0x38ddd3(0x2d2)][_0x38ddd3(0x30b)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x1b1740(0x275)](this['_drawingManagerService'][_0x1b1740(0x348)][_0x1b1740(0x3b2)](_0x4bcfab=>{const _0x2d6d72=_0x1b1740;for(let _0x3b6573 of _0x4bcfab)this[_0x2d6d72(0x1dc)]===_0x3b6573[_0x2d6d72(0x17d)]&&(this[_0x2d6d72(0x1dc)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2d6d72(0x4f9)]=null,this[_0x2d6d72(0x34e)]=null,this[_0x2d6d72(0x351)]());}));}};_0x3f0181=_0x4d7d62([_0x25f0d4(0x0,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf)),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x196)])],_0x3f0181);let _0x1798ea={'id':'drawing.operation.set-drawing-active','type':_0x3d2575[_0x1bb2bd(0x481)]['OPERATION'],'handler':(_0x4d4b8e,_0xd6938e)=>{const _0x45611d=_0x1bb2bd;let _0x1cc66b=_0x4d4b8e[_0x45611d(0x107)](_0xf3cf76[_0x45611d(0x2fe)]),_0x4e94fa=_0x4d4b8e[_0x45611d(0x107)](_0x610ad8[_0x45611d(0x1a3)]),_0x9c908c=_0x4d4b8e[_0x45611d(0x107)](_0x3f0181);if(_0xd6938e==null)return!0x0;if(_0xd6938e[_0x45611d(0x40e)]>0x0){var _0x3729c0;let _0x16c65e=(_0x3729c0=_0x4e94fa[_0x45611d(0x40c)](_0xd6938e[0x0][_0x45611d(0x26d)]))==null?void 0x0:_0x3729c0['scene'];if(_0x16c65e){let {unitId:_0x48d598,subUnitId:_0x16ccc0,drawingId:_0x597f88}=_0xd6938e[0x0],_0x15cb8a=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x48d598,'subUnitId':_0x16ccc0,'drawingId':_0x597f88},void 0x0),_0x27e8c1=_0x16c65e[_0x45611d(0x195)](_0x15cb8a);if(_0x27e8c1){var _0x1cb1fc;(_0x1cb1fc=_0x4e94fa[_0x45611d(0x40c)](_0xd6938e[0x0]['unitId']))==null||(_0x1cb1fc=_0x1cb1fc[_0x45611d(0x179)][_0x45611d(0x460)]())==null||_0x1cb1fc[_0x45611d(0x1a2)](_0x27e8c1);}}_0x1cc66b['focusDrawing'](_0xd6938e),_0x9c908c[_0x45611d(0x170)](!0x1);}return!0x0;}},_0x5b3fe4={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'id':_0x1bb2bd(0x248),'handler':async(_0x3677c1,_0x513289)=>{const _0x40e70c=_0x1bb2bd;let _0x37fd67=(0x0,_0x306a90[_0x40e70c(0x173)])(_0x3677c1[_0x40e70c(0x107)](_0x3d2575[_0x40e70c(0x363)]));if(!_0x37fd67)return!0x1;let _0xc49612=_0x3677c1[_0x40e70c(0x107)](_0x306a90[_0x40e70c(0x390)])['getCurrentLastSelection']();if(!_0xc49612)return!0x1;let _0x5f0e23=_0x3677c1[_0x40e70c(0x107)](_0x3d2575[_0x40e70c(0x196)]),{unitId:_0xb606e1,subUnitId:_0x51747f}=_0x37fd67,{value:_0x355167,enhanceParams:_0x14708f}=_0x513289,{range:_0x40ada9}=_0xc49612,_0x3bcb52={'unitId':_0xb606e1,'subUnitId':_0x51747f,'shapeType':_0x355167,'range':_0x40ada9,'shapeId':(0x0,_0x3d2575[_0x40e70c(0x13f)])()};if(_0x14708f){let _0x103b17=(0x0,_0x756c25[_0x40e70c(0x4c9)])(_0x355167),_0x3563a7=_0x355167===_0x756c25[_0x40e70c(0x3a3)]['Rect'];_0x103b17&&(_0x14708f[_0x40e70c(0x287)]||_0x14708f[_0x40e70c(0x436)])&&(_0x3bcb52[_0x40e70c(0x268)]={'ln':{'startArrow':_0x14708f['startArrow']?{'type':_0x756c25[_0x40e70c(0x264)][_0x40e70c(0x230)],'size':_0x756c25[_0x40e70c(0x359)][_0x40e70c(0x1fe)]}:void 0x0,'endArrow':_0x14708f[_0x40e70c(0x436)]?{'type':_0x756c25['ShapeArrowTypeEnum'][_0x40e70c(0x230)],'size':_0x756c25[_0x40e70c(0x359)][_0x40e70c(0x39a)]}:void 0x0}}),_0x3563a7&&(_0x14708f[_0x40e70c(0x4e1)]||_0x14708f[_0x40e70c(0x1ab)])&&(_0x3bcb52['shapeData']=(0x0,_0x41ad7c[_0x40e70c(0x3f1)])({'fill':{'fillType':_0x756c25[_0x40e70c(0x17b)][_0x40e70c(0x43d)],'color':_0x40e70c(0x273)},'isHorizontal':!!_0x14708f[_0x40e70c(0x4e1)],'stroke':{'lineStrokeType':_0x756c25[_0x40e70c(0x380)][_0x40e70c(0x41d)],'width':0x1,'color':_0x40e70c(0x41e)}}));}let _0x81468d=_0x5f0e23[_0x40e70c(0x2ca)](_0x111169[_0x40e70c(0x1cd)]['id'],_0x3bcb52);return setTimeout(()=>{const _0x433401=_0x40e70c;_0x5f0e23[_0x433401(0x24d)](_0x1798ea['id'],[{'unitId':_0xb606e1,'subUnitId':_0x51747f,'drawingId':_0x3bcb52[_0x433401(0x4dd)]}]);},0xc8),_0x81468d;}},_0x326d15=_0x1bb2bd(0x1e4),_0x10e550='sheet.shape.object-list.panel',_0x2c0ba8=_0x1bb2bd(0x38b),_0x262faa='sheets-shape-ui.ribbon.shape-format',_0x37cb6a=(0x0,_0x3d2575[_0x1bb2bd(0x2dd)])(_0x1bb2bd(0x254)),_0x26229f='sheet.shape.text.float-menu',_0x1e7df2={'id':_0x1bb2bd(0x4bf),'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'handler':(_0x5b0922,_0x15be67)=>{const _0x3d3e53=_0x1bb2bd;let _0x3edb1a=_0x5b0922[_0x3d3e53(0x107)](_0x1b3cd1[_0x3d3e53(0x28d)]),_0x475a1c=_0x5b0922[_0x3d3e53(0x107)](_0x3d2575['LocaleService']),_0x316209=_0x5b0922['get'](_0x3d2575[_0x3d3e53(0x363)]),_0x161a29=_0x5b0922[_0x3d3e53(0x107)](_0x3d2575[_0x3d3e53(0x196)]);return(0x0,_0x306a90[_0x3d3e53(0x173)])(_0x316209)?(_0x15be67==null?void 0x0:_0x15be67[_0x3d3e53(0x18a)])===_0x3d3e53(0x1a4)?(_0x3edb1a['close'](_0x10e550),!0x0):(_0x3edb1a[_0x3d3e53(0x339)]({'id':_0x10e550,'header':{'title':_0x475a1c['t'](_0x3d3e53(0x3e7))},'children':{'label':_0x10e550},'onClose':()=>{const _0x9c1cca=_0x3d3e53;_0x161a29[_0x9c1cca(0x2ca)](_0xf3cf76['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x3c6df3={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'id':_0x1bb2bd(0x2d9),'handler'(){return!0x0;}};function _0x444c5f(_0x37778d){const _0x230ba6=_0x1bb2bd;let _0x37bec7=_0x37778d[_0x230ba6(0x107)](_0xf3cf76['IDrawingManagerService'])['getFocusDrawings'](),_0x4a53b5=_0x37bec7['length']===0x1?_0x37bec7[0x0]:null;if(!_0x4a53b5||_0x4a53b5['drawingType']!==_0x3d2575[_0x230ba6(0x2d2)][_0x230ba6(0x30b)])return null;let _0x232efa=_0x37778d['get'](_0x111169[_0x230ba6(0x4d3)]),_0x38e494=_0x232efa['getShapeTypeById'](_0x4a53b5[_0x230ba6(0x26d)],_0x4a53b5[_0x230ba6(0x114)],_0x4a53b5[_0x230ba6(0x17d)]),_0x575f69=_0x232efa[_0x230ba6(0x1f5)](_0x4a53b5[_0x230ba6(0x26d)],_0x4a53b5[_0x230ba6(0x114)],_0x4a53b5[_0x230ba6(0x17d)]);return _0x38e494===void 0x0||!_0x575f69?null:{'drawing':_0x4a53b5,'shapeData':_0x575f69,'shapeType':_0x38e494};}let _0x19375c={'id':_0x1bb2bd(0x3b9),'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'handler':(_0x4ad750,_0x4848a8)=>{const _0x5c9bb3=_0x1bb2bd;let _0x38f916=_0x444c5f(_0x4ad750),_0xfe63db=(0x0,_0x41ad7c[_0x5c9bb3(0x142)])((_0x4848a8==null?void 0x0:_0x4848a8['presetId'])??(_0x4848a8==null?void 0x0:_0x4848a8[_0x5c9bb3(0x18a)])??'');if(!_0x38f916||!_0xfe63db||_0xfe63db[_0x5c9bb3(0x443)]!==(0x0,_0x41ad7c[_0x5c9bb3(0x243)])(_0x38f916['shapeData']))return!0x1;let _0x5a2256=(0x0,_0x41ad7c[_0x5c9bb3(0x414)])(_0x38f916[_0x5c9bb3(0x268)],_0xfe63db);if(!_0x5a2256)return!0x1;let {drawing:_0x462a66}=_0x38f916;return _0x4ad750[_0x5c9bb3(0x107)](_0x3d2575[_0x5c9bb3(0x196)])[_0x5c9bb3(0x24d)](_0x28edce['id'],{'unitId':_0x462a66[_0x5c9bb3(0x26d)],'subUnitId':_0x462a66[_0x5c9bb3(0x114)],'shapeId':_0x462a66[_0x5c9bb3(0x17d)],'shapeData':_0x5a2256,'oldShapeJSON':{'oldShapeData':_0x38f916[_0x5c9bb3(0x268)]}});}},_0x1534d4={'id':_0x1bb2bd(0x371),'type':_0x3d2575['CommandType'][_0x1bb2bd(0x212)],'handler':(_0x44a2b4,_0x59fd62)=>{const _0x3000ec=_0x1bb2bd;let _0x4bb12e=_0x444c5f(_0x44a2b4),_0x20db39=(_0x59fd62==null?void 0x0:_0x59fd62['shapeType'])??(_0x59fd62==null?void 0x0:_0x59fd62[_0x3000ec(0x18a)]);if(!_0x4bb12e||!_0x20db39||(0x0,_0x756c25[_0x3000ec(0x4c9)])(_0x4bb12e[_0x3000ec(0x1a7)])||(0x0,_0x756c25[_0x3000ec(0x4c9)])(_0x20db39))return!0x1;let _0x280682=(0x0,_0x41ad7c['cloneShapeDataForType'])(_0x4bb12e[_0x3000ec(0x268)],_0x20db39);if(!_0x280682)return!0x1;let {drawing:_0x4ace58}=_0x4bb12e;return _0x44a2b4[_0x3000ec(0x107)](_0x3d2575[_0x3000ec(0x196)])[_0x3000ec(0x24d)](_0x28edce['id'],{'unitId':_0x4ace58[_0x3000ec(0x26d)],'subUnitId':_0x4ace58[_0x3000ec(0x114)],'shapeId':_0x4ace58[_0x3000ec(0x17d)],'shapeType':_0x20db39,'shapeData':_0x280682,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x4bb12e[_0x3000ec(0x1a7)],'oldShapeData':_0x4bb12e['shapeData']}});}},_0xd84245=class extends _0x3d2575['Disposable']{constructor(_0x583a19,_0x1e60ba){const _0x3efd9a=_0x1bb2bd;super(),this['_clipService']=_0x583a19,this['_drawingManagerService']=_0x1e60ba,this[_0x3efd9a(0x3ca)](),this[_0x3efd9a(0x3d5)]['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x3efd9a(0x3d5)][_0x3efd9a(0x2b1)](!0x1)});}[_0x1bb2bd(0x3ca)](){const _0x3a7c2b=_0x1bb2bd;let _0x308270=this[_0x3a7c2b(0x3d5)],_0x3ba7d5=new Map(),_0x4265da=_0x308270[_0x3a7c2b(0x3f3)]((_0x5f0fc9,_0xf732bf,_0x195eda,_0x26d394,_0x3b2334)=>{const _0x87c75a=_0x3a7c2b;let _0x40f135=_0xf732bf;if(_0x40f135===_0x756c25['ShapeTypeEnum'][_0x87c75a(0x2f3)]||_0xf732bf===_0x87c75a(0x1ac))return!0x1;try{let _0x2993ff=_0x3ba7d5['get'](_0xf732bf);return _0x2993ff||(_0x2993ff=new _0x756c25[(_0x87c75a(0x13b))](_0x40f135,_0x87c75a(0x1ee)+_0xf732bf),_0x3ba7d5[_0x87c75a(0x100)](_0xf732bf,_0x2993ff)),_0x2993ff[_0x87c75a(0x413)](),_0x3b2334&&Object[_0x87c75a(0x434)](_0x3b2334)['length']>0x0&&_0x2993ff[_0x87c75a(0x38f)]({'adjustValues':_0x3b2334},!0x0),_0x2993ff[_0x87c75a(0x210)]({'width':_0x195eda,'height':_0x26d394}),_0x2993ff['buildClipPath'](_0x5f0fc9,{'left':0x0,'top':0x0,'width':_0x195eda,'height':_0x26d394});}catch{return!0x1;}});this['disposeWithMe'](_0x4265da),this[_0x3a7c2b(0x275)]({'dispose':()=>_0x3ba7d5[_0x3a7c2b(0x1c2)]()});}['clipByShape'](_0x36e5ef,_0x2767e0,_0x2979db,_0x2aa9cf,_0x35bf88){const _0x37f574=_0x1bb2bd;let _0x46148f=this[_0x37f574(0x479)]['getDrawingData'](_0x36e5ef,_0x2767e0);if(!_0x46148f[_0x2979db])return;let _0x26cf0e={..._0x46148f[_0x2979db],'prstGeom':_0x2aa9cf,'adjustValues':_0x35bf88};this[_0x37f574(0x479)][_0x37f574(0x136)]([_0x26cf0e]);}};_0xd84245=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575['Inject'])(_0x2114cd[_0x1bb2bd(0x36f)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xf3cf76[_0x1bb2bd(0x2fe)]))],_0xd84245);let _0x47cd2f=_0x1bb2bd(0x134),_0x45262e=_0x1bb2bd(0x20b);function _0x1602e7({onShapeClick:_0x2a4c89,excludeGroups:_0x4adbb1}){const _0xeb1d80=_0x1bb2bd;return(0x0,_0x1fd74c[_0xeb1d80(0x451)])(_0x583754[_0xeb1d80(0x1ec)],{'excludeGroups':_0x4adbb1,'onShapeClick':_0x2a4c89,'scrollContainer':_0xeb1d80(0x48f)});}function _0x280cd7(){const _0x5bd23e=_0x1bb2bd;let _0x5f36e1=(0x0,_0x1b3cd1[_0x5bd23e(0x4bb)])(_0xf3cf76[_0x5bd23e(0x2fe)]),_0x10a491=(0x0,_0x1b3cd1[_0x5bd23e(0x4bb)])(_0xd84245);return(0x0,_0x1fd74c[_0x5bd23e(0x451)])(_0x583754['ShapePickerDropdown'],{'buttonLabel':_0x5bd23e(0x4b1),'excludeGroups':[_0x583754['ShapeGroupEnum'][_0x5bd23e(0x383)]],'onShapeClick':_0x515cdd=>{const _0x3efb94=_0x5bd23e;let _0x35c0d0=_0x5f36e1['getFocusDrawings']()['find'](_0x2c74db=>_0x2c74db['drawingType']===_0x3d2575['DrawingTypeEnum'][_0x3efb94(0x3b3)]);if(!_0x35c0d0)return;let {unitId:_0x43e6fd,subUnitId:_0x1e369f,drawingId:_0xa10df7}=_0x35c0d0;_0x10a491[_0x3efb94(0x231)](_0x43e6fd,_0x1e369f,_0xa10df7,_0x515cdd[_0x3efb94(0x443)]);}});}function _0x12dff2(){const _0x4411ea=_0x1bb2bd;let _0x3f6046=(0x0,_0x1b3cd1[_0x4411ea(0x4bb)])(_0xf3cf76[_0x4411ea(0x2fe)]),_0x2781bd=(0x0,_0x1b3cd1[_0x4411ea(0x4bb)])(_0xd84245);return(0x0,_0x1fd74c[_0x4411ea(0x451)])(_0x583754[_0x4411ea(0x3ed)],{'buttonLabel':_0x4411ea(0x4b1),'excludeGroups':[_0x583754[_0x4411ea(0x26e)][_0x4411ea(0x383)]],'DropdownComponent':_0x41eb39[_0x4411ea(0x11d)],'onShapeClick':_0x213d50=>{const _0x13d963=_0x4411ea;let _0x4dad76=_0x3f6046[_0x13d963(0x337)]()['find'](_0x49fac7=>_0x49fac7[_0x13d963(0x1f2)]===_0x3d2575[_0x13d963(0x2d2)]['DRAWING_IMAGE']);if(!_0x4dad76)return;let {unitId:_0x173ce2,subUnitId:_0xca6899,drawingId:_0x4f0ab2}=_0x4dad76;_0x2781bd['clipByShape'](_0x173ce2,_0xca6899,_0x4f0ab2,_0x213d50[_0x13d963(0x443)]);}});}function _0x2c0838(){const _0x4ded5d=_0x1bb2bd;let _0x1b3a5e=(0x0,_0x1b3cd1[_0x4ded5d(0x4bb)])(_0x1b3cd1[_0x4ded5d(0x447)]),_0x48e6b8=(0x0,_0x1b3cd1[_0x4ded5d(0x4bb)])(_0xf3cf76[_0x4ded5d(0x2fe)]),_0x5277a2=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575['IUniverInstanceService']),_0x32cd62=_0x48e6b8['getFocusDrawings']()[0x0],_0x1fce2e=_0x32cd62?_0x5277a2['getUnitType'](_0x32cd62[_0x4ded5d(0x26d)]):void 0x0,_0x4b652b=_0x1fce2e===_0x3d2575[_0x4ded5d(0x4f8)][_0x4ded5d(0x17a)]?_0x4ded5d(0x3be):_0x1fce2e===_0x3d2575[_0x4ded5d(0x4f8)][_0x4ded5d(0x245)]?_0x45262e:void 0x0,_0x3a0f97=_0x4b652b?_0x1b3a5e[_0x4ded5d(0x107)](_0x4b652b):void 0x0;return _0x3a0f97?(0x0,_0x1fd74c['jsx'])(_0x3a0f97,{}):null;}function _0x2e8109(){const _0x3aa92e=_0x1bb2bd;let _0x24b753=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x3aa92e(0x196)]);return(0x0,_0x1fd74c[_0x3aa92e(0x451)])(_0x1602e7,{'onShapeClick':_0x55ba24=>{const _0x3d9b16=_0x3aa92e;_0x24b753['executeCommand'](_0x5b3fe4['id'],{'value':_0x55ba24[_0x3d9b16(0x443)],'enhanceParams':{'endArrow':_0x55ba24['endArrow'],'startArrow':_0x55ba24[_0x3d9b16(0x287)],'horizontal':_0x55ba24[_0x3d9b16(0x4e1)],'vertical':_0x55ba24[_0x3d9b16(0x1ab)]}});}});}function _0x5a39c6(){return(0x0,_0x1fd74c['jsx'])(_0x2e8109,{});}function _0x3b0516(_0x473017){const _0x4590d0=_0x1bb2bd;let _0x3676cf=_0x473017['get'](_0x3d2575[_0x4590d0(0x363)]);return{'id':_0x5b3fe4['id'],'type':_0x1b3cd1['MenuItemType'][_0x4590d0(0x139)],'selections':[{'label':{'name':_0x47cd2f,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x5b3fe4['id']}}}],'icon':_0x4590d0(0x240),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x542241[_0x4590d0(0x12c)])(_0x3676cf,!0x1,()=>new _0x133625['Observable'](_0x1ce394=>{const _0x316489=_0x4590d0;_0x1ce394[_0x316489(0x188)](!0x1);})),'hidden$':(0x0,_0x1b3cd1['getMenuHiddenObservable'])(_0x473017,_0x3d2575[_0x4590d0(0x4f8)][_0x4590d0(0x245)]),'disabled$':(0x0,_0x542241['getCurrentRangeDisable$'])(_0x473017)};}function _0x4112c6(_0xf0e797){const _0x15318b=_0x1bb2bd;let _0x5b91b0=_0xf0e797[_0x15318b(0x107)](_0x3d2575['IUniverInstanceService']);return{'id':_0x1e7df2['id'],'type':_0x1b3cd1[_0x15318b(0x255)][_0x15318b(0x277)],'icon':_0x15318b(0x343),'title':_0x15318b(0x1a6),'tooltip':_0x15318b(0x1a6),'activated$':(0x0,_0x542241['deriveStateFromActiveSheet$'])(_0x5b91b0,!0x1,()=>new _0x133625[(_0x15318b(0x499))](_0x237a07=>{_0x237a07['next'](!0x1);})),'hidden$':(0x0,_0x1b3cd1[_0x15318b(0x30f)])(_0xf0e797,_0x3d2575[_0x15318b(0x4f8)][_0x15318b(0x245)]),'disabled$':(0x0,_0x542241[_0x15318b(0x485)])(_0xf0e797)};}let _0x1a641b=_0x1bb2bd(0x315),_0x4f9b1d=_0x1bb2bd(0x1f3);function _0x334033(_0x2405b4){const _0x21a7f7=_0x1bb2bd;let _0x16e152=_0x2405b4[_0x21a7f7(0x107)](_0xf3cf76['IDrawingManagerService'])[_0x21a7f7(0x337)]();return _0x16e152[_0x21a7f7(0x40e)]===0x1&&_0x16e152[0x0][_0x21a7f7(0x1f2)]===_0x3d2575[_0x21a7f7(0x2d2)][_0x21a7f7(0x30b)]?_0x16e152[0x0]:null;}function _0xb10545(_0x1e4933){const _0x2f2eb2=_0x1bb2bd;let _0x2f5ec3=_0x1e4933[_0x2f2eb2(0x107)](_0xf3cf76[_0x2f2eb2(0x2fe)]);return _0x2f5ec3[_0x2f2eb2(0x2c2)]['pipe']((0x0,_0x133625[_0x2f2eb2(0x2ab)])(_0x2f5ec3[_0x2f2eb2(0x337)]()),(0x0,_0x133625[_0x2f2eb2(0x2f5)])(_0x355d3c=>_0x355d3c[_0x2f2eb2(0x40e)]!==0x1||_0x355d3c[0x0]['drawingType']!==_0x3d2575[_0x2f2eb2(0x2d2)]['DRAWING_SHAPE']));}function _0x111344(_0x1bfd3d){const _0x2ccae5=_0x1bb2bd;return{'id':_0x1a641b,'commandId':_0x111169[_0x2ccae5(0x4b2)]['id'],'type':_0x1b3cd1['MenuItemType'][_0x2ccae5(0x277)],'title':_0x2ccae5(0x3fb),'tooltip':_0x2ccae5(0x3fb),'icon':_0x2ccae5(0x396),'hidden$':_0xb10545(_0x1bfd3d),'params':()=>{const _0x21479d=_0x2ccae5;let _0x340703=_0x334033(_0x1bfd3d);return _0x340703?{'unitId':_0x340703['unitId'],'subUnitId':_0x340703[_0x21479d(0x114)],'shapeId':_0x340703[_0x21479d(0x17d)],'flipH':!0x0}:void 0x0;}};}function _0x162f45(_0x549563){const _0x181884=_0x1bb2bd;return{'id':_0x4f9b1d,'commandId':_0x111169[_0x181884(0x4b2)]['id'],'type':_0x1b3cd1['MenuItemType'][_0x181884(0x277)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x181884(0x119),'icon':_0x181884(0x144),'hidden$':_0xb10545(_0x549563),'params':()=>{const _0x130b0f=_0x181884;let _0x3253b9=_0x334033(_0x549563);return _0x3253b9?{'unitId':_0x3253b9[_0x130b0f(0x26d)],'subUnitId':_0x3253b9[_0x130b0f(0x114)],'shapeId':_0x3253b9[_0x130b0f(0x17d)],'flipV':!0x0}:void 0x0;}};}let _0xab61b7=_0x1bb2bd(0x2db),_0x238dee='sheets-shape-ui.shape-format.style-ribbon-control',_0x220c17='sheets-shape-ui.shape-format.text-ribbon-control',_0x1bccbb=_0x1bb2bd(0x29a);function _0x3e079a(){const _0xceda15=_0x1bb2bd;let _0x4a63f4=(0x0,_0x1b3cd1[_0xceda15(0x4bb)])(_0x3d2575[_0xceda15(0x196)]),_0xfca338=(0x0,_0x1b3cd1['useDependency'])(_0xf3cf76[_0xceda15(0x2fe)]),_0x5ccc54=(0x0,_0x1b3cd1[_0xceda15(0x4bb)])(_0x111169[_0xceda15(0x4d3)]),_0x9d05d6=()=>{const _0x4cb492=_0xceda15;var _0x127da4;let _0x5a3afb=_0xfca338[_0x4cb492(0x337)]();if(_0x5a3afb[_0x4cb492(0x40e)]!==0x1||((_0x127da4=_0x5a3afb[0x0])==null?void 0x0:_0x127da4[_0x4cb492(0x1f2)])!==_0x3d2575['DrawingTypeEnum'][_0x4cb492(0x30b)])return null;let {unitId:_0x330e9e,subUnitId:_0x2f8b20,drawingId:_0x313c30}=_0x5a3afb[0x0],_0x5c60f2=_0x5ccc54[_0x4cb492(0x14b)](_0x330e9e,_0x2f8b20,_0x313c30),_0x456350=_0x5ccc54['getShapeDataById'](_0x330e9e,_0x2f8b20,_0x313c30);return _0x5c60f2===void 0x0||!_0x456350?null:{'unitId':_0x330e9e,'subUnitId':_0x2f8b20,'drawingId':_0x313c30,'shapeType':_0x5c60f2,'shapeData':_0x456350};},_0x452af3=(0x0,_0x1b3cd1[_0xceda15(0x28f)])(()=>new _0x133625[(_0xceda15(0x499))](_0x295343=>{const _0x2d58cb=_0xceda15;let _0x4284af=()=>_0x295343[_0x2d58cb(0x188)](_0x9d05d6()),_0x4252bc=_0xfca338[_0x2d58cb(0x2c2)]['subscribe'](_0x4284af),_0x479bde=_0x4a63f4[_0x2d58cb(0x2df)](_0xa9de81=>{const _0x5592a0=_0x2d58cb;_0xa9de81['id']===_0x111169[_0x5592a0(0x1d6)]['id']&&_0x4284af();});return _0x4284af(),()=>{_0x4252bc['unsubscribe'](),_0x479bde['dispose']();};}),_0x9d05d6(),!0x1,[_0x4a63f4,_0xfca338,_0x5ccc54]);return{'selection':_0x452af3,'updateShapeData':_0x353921=>{const _0x43357d=_0xceda15;_0x452af3&&_0x5c7f30(_0x4a63f4,_0x452af3[_0x43357d(0x26d)],_0x452af3[_0x43357d(0x114)],_0x452af3[_0x43357d(0x17d)],{'oldShapeData':_0x452af3['shapeData']},_0x353921);}};}function _0x32fb78(){const _0x1e9fbc=_0x1bb2bd;let {selection:_0x5c7b92,updateShapeData:_0x10853c}=_0x3e079a();return _0x5c7b92?(0x0,_0x1fd74c[_0x1e9fbc(0x451)])(_0x583754[_0x1e9fbc(0x28e)],{'shapeData':_0x5c7b92[_0x1e9fbc(0x268)],'shapeType':_0x5c7b92[_0x1e9fbc(0x1a7)],'onUpdateShapeData':_0x10853c}):null;}function _0x3157e2(){const _0x608fb6=_0x1bb2bd;let _0x2208d5=(0x0,_0x1b3cd1[_0x608fb6(0x4bb)])(_0x3d2575[_0x608fb6(0x196)]),_0x4f9742=(0x0,_0x1b3cd1[_0x608fb6(0x4bb)])(_0x3d2575[_0x608fb6(0x263)]),{selection:_0x2ac1bf}=_0x3e079a();return _0x2ac1bf?(0x0,_0x1fd74c[_0x608fb6(0x451)])(_0x583754['ShapeQuickStyleGallery'],{'type':(0x0,_0x41ad7c[_0x608fb6(0x243)])(_0x2ac1bf[_0x608fb6(0x268)]),'ariaLabel':_0x4f9742['t'](_0x608fb6(0x38c)),'activePresetId':(0x0,_0x41ad7c['resolveActiveShapeQuickStylePresetId'])(_0x2ac1bf[_0x608fb6(0x268)]),'onSelect':_0x42aa90=>_0x2208d5[_0x608fb6(0x24d)](_0x19375c['id'],{'presetId':_0x42aa90})}):null;}function _0x43a566(){const _0x1baf16=_0x1bb2bd;let {selection:_0x447c54,updateShapeData:_0xc3d4b3}=_0x3e079a();return _0x447c54?(0x0,_0x1fd74c['jsx'])(_0x583754[_0x1baf16(0x1b6)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x447c54[_0x1baf16(0x268)],'onUpdateShapeData':_0xc3d4b3}):null;}function _0x41076a(){const _0x1fddc1=_0x1bb2bd;var _0x46e6e1;let {selection:_0x35e3e8,updateShapeData:_0x439353}=_0x3e079a(),_0x4b8ae9=(0x0,_0x583754[_0x1fddc1(0x42e)])({'hostType':_0x3d2575[_0x1fddc1(0x4f8)][_0x1fddc1(0x245)],'unitId':(_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x26d)])??'','subUnitId':(_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x114)])??'','shapeId':(_0x35e3e8==null?void 0x0:_0x35e3e8['drawingId'])??'','shapeData':_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x268)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x1fddc1(0x126),'onUpdateBinding':_0xcdbc34=>_0x439353({'formulaBinding':_0xcdbc34})}),_0x9628e1=((_0x46e6e1=_0x4b8ae9[_0x1fddc1(0x16a)])==null?void 0x0:_0x46e6e1[_0x1fddc1(0x493)](_0x1f836e=>_0x1f836e[_0x1fddc1(0x244)])[_0x1fddc1(0x262)](_0x347886=>_0x347886[_0x1fddc1(0x4a1)]!==!0x1))??[];return _0x35e3e8!=null&&_0x35e3e8[_0x1fddc1(0x268)][_0x1fddc1(0x103)]?(0x0,_0x1fd74c['jsx'])(_0x583754[_0x1fddc1(0x24b)],{'actions':_0x9628e1,'panel':_0x4b8ae9[_0x1fddc1(0x4ec)]}):null;}let _0xc789b6=_0x1bb2bd(0x27c),_0x400356=_0x1bb2bd(0x3ee),_0x147c87=_0x1bb2bd(0x4a3),_0x53377c=_0x1bb2bd(0x299),_0x5cb5f9='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x2ed731=_0x1bb2bd(0x1ed),_0x3605c2=_0x1bb2bd(0x2ed);function _0x1c08fc(_0x4f8390){const _0x4ddb3c=_0x1bb2bd;let _0x34f238=_0x4f8390['get'](_0x3d2575[_0x4ddb3c(0x196)]),_0x2fe8ae=_0x4f8390[_0x4ddb3c(0x107)](_0xf3cf76['IDrawingManagerService']),_0x36d32c=_0x4f8390[_0x4ddb3c(0x107)](_0x111169[_0x4ddb3c(0x4d3)]);return new _0x133625[(_0x4ddb3c(0x499))](_0x35ddad=>{const _0x250b26=_0x4ddb3c;let _0x274d90=()=>{const _0x1499d2=_0x413c;let _0x5b692e=_0xbc573a(_0x4f8390),_0x1a903d=_0x5b692e?_0x36d32c[_0x1499d2(0x1f5)](_0x5b692e[_0x1499d2(0x26d)],_0x5b692e['subUnitId'],_0x5b692e[_0x1499d2(0x17d)]):null;_0x35ddad[_0x1499d2(0x188)](_0x1a903d?(0x0,_0x41ad7c[_0x1499d2(0x2a8)])(_0x1a903d)??'':'');},_0x40b204=_0x2fe8ae['focus$'][_0x250b26(0x3b2)](_0x274d90),_0x541815=_0x34f238[_0x250b26(0x2df)](_0x2cfe56=>{const _0x35d9e1=_0x250b26;_0x2cfe56['id']===_0x111169[_0x35d9e1(0x1d6)]['id']&&_0x274d90();});return _0x274d90(),()=>{const _0x3760af=_0x250b26;_0x40b204['unsubscribe'](),_0x541815[_0x3760af(0x3cc)]();};});}function _0xbc573a(_0x49f891){const _0x1bcc8d=_0x1bb2bd;var _0x1412b7;let _0x46ca60=_0x49f891['get'](_0xf3cf76[_0x1bcc8d(0x2fe)])['getFocusDrawings']();return _0x46ca60[_0x1bcc8d(0x40e)]===0x1&&((_0x1412b7=_0x46ca60[0x0])==null?void 0x0:_0x1412b7[_0x1bcc8d(0x1f2)])===_0x3d2575[_0x1bcc8d(0x2d2)][_0x1bcc8d(0x30b)]?_0x46ca60[0x0]:null;}function _0x25bbdf(_0x175b37,_0x4fefa7=!0x1){const _0x1a7b2b=_0x1bb2bd;let _0x1b5afd=_0x175b37[_0x1a7b2b(0x107)](_0x3d2575['ICommandService']),_0x1ed99a=_0x175b37['get'](_0xf3cf76['IDrawingManagerService']),_0x48740d=_0x175b37[_0x1a7b2b(0x107)](_0x111169['SheetsShapeService']);return new _0x133625[(_0x1a7b2b(0x499))](_0x111f75=>{const _0x31423e=_0x1a7b2b;let _0x19a4d2=()=>{const _0x5dfb92=_0x413c;let _0x5a12a5=_0xbc573a(_0x175b37);if(!_0x5a12a5){_0x111f75['next'](!0x0);return;}let _0x1841cc=_0x48740d[_0x5dfb92(0x1f5)](_0x5a12a5[_0x5dfb92(0x26d)],_0x5a12a5[_0x5dfb92(0x114)],_0x5a12a5['drawingId']);_0x111f75[_0x5dfb92(0x188)](!_0x1841cc||_0x4fefa7&&_0x1841cc[_0x5dfb92(0x103)]==null);},_0x3a4c40=_0x1ed99a['focus$'][_0x31423e(0x3b2)](_0x19a4d2),_0x54c0d8=_0x1b5afd['onCommandExecuted'](_0x373514=>{const _0xc4be71=_0x31423e;_0x373514['id']===_0x111169[_0xc4be71(0x1d6)]['id']&&_0x19a4d2();});return _0x19a4d2(),()=>{const _0x2026d4=_0x31423e;_0x3a4c40[_0x2026d4(0x1a1)](),_0x54c0d8[_0x2026d4(0x3cc)]();};});}function _0x522ed5(_0xc5f33a){const _0x376b96=_0x1bb2bd;let _0x2af502=_0xc5f33a[_0x376b96(0x107)](_0xf3cf76[_0x376b96(0x2fe)]),_0x4278b0=_0xc5f33a[_0x376b96(0x107)](_0x111169[_0x376b96(0x4d3)]);return _0x2af502[_0x376b96(0x2c2)][_0x376b96(0x3f4)]((0x0,_0x133625['startWith'])(_0x2af502['getFocusDrawings']()),(0x0,_0x133625[_0x376b96(0x2f5)])(()=>{const _0xbca401=_0x376b96;let _0x175802=_0xbc573a(_0xc5f33a),_0x3d94d5=_0x175802?_0x4278b0['getShapeTypeById'](_0x175802[_0xbca401(0x26d)],_0x175802[_0xbca401(0x114)],_0x175802[_0xbca401(0x17d)]):void 0x0;return _0x3d94d5===void 0x0||(0x0,_0x756c25[_0xbca401(0x4c9)])(_0x3d94d5);}));}function _0x5182ae(_0x35cfb2){const _0x3d4df8=_0x1bb2bd;return{'id':_0x19375c['id'],'type':_0x1b3cd1[_0x3d4df8(0x255)][_0x3d4df8(0x139)],'icon':_0x3d4df8(0x33d),'title':_0x3d4df8(0x1af),'tooltip':_0x3d4df8(0x1af),'selections':[{'label':{'name':_0xab61b7,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1c08fc(_0x35cfb2),'hidden$':_0x25bbdf(_0x35cfb2)};}function _0x577ffe(_0x49498b){const _0x22b6e4=_0x1bb2bd;return{'id':_0x1534d4['id'],'type':_0x1b3cd1[_0x22b6e4(0x255)]['SELECTOR'],'icon':_0x22b6e4(0x240),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x22b6e4(0x203),'slot':!0x0,'selections':[{'label':{'name':_0x583754[_0x22b6e4(0x14a)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x522ed5(_0x49498b)};}function _0x1591bf(_0x5cc827,_0x4a171a,_0x1436a1=!0x1){const _0x57e274=_0x1bb2bd;return _0xa6d82a=>({'id':_0x5cc827,'type':_0x1b3cd1[_0x57e274(0x255)]['BUTTON'],'label':{'name':_0x4a171a,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x25bbdf(_0xa6d82a,_0x1436a1)});}let _0x13571e=_0x1591bf(_0xc789b6,_0x238dee),_0x409920=_0x1591bf(_0x400356,_0x220c17),_0x371a60=_0x1591bf(_0x147c87,_0x1bccbb,!0x0);function _0x3ab093(_0x4fdb49,_0x100444,_0x56d4d1,_0x29c814){const _0xf21d7b=_0x1bb2bd;return _0x2718ac=>({'id':_0x4fdb49,'commandId':_0x20c5a7['SetDrawingArrangeCommand']['id'],'type':_0x1b3cd1[_0xf21d7b(0x255)][_0xf21d7b(0x277)],'icon':_0x56d4d1,'title':_0x29c814,'tooltip':_0x29c814,'hidden$':_0x25bbdf(_0x2718ac),'params':()=>{const _0x5e3344=_0xf21d7b;let _0x2b0555=_0xbc573a(_0x2718ac);return _0x2b0555?{'unitId':_0x2b0555[_0x5e3344(0x26d)],'subUnitId':_0x2b0555[_0x5e3344(0x114)],'drawingIds':[_0x2b0555[_0x5e3344(0x17d)]],'arrangeType':_0x100444}:void 0x0;}});}let _0x273574=_0x3ab093(_0x53377c,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x23b)],_0x1bb2bd(0x490),_0x1bb2bd(0x40f)),_0x4e88b7=_0x3ab093(_0x5cb5f9,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x1ea)],_0x1bb2bd(0x1be),_0x1bb2bd(0x42b)),_0x1b84e2=_0x3ab093(_0x2ed731,_0x3d2575[_0x1bb2bd(0x31e)]['front'],_0x1bb2bd(0x2ec),'shape-editor-ui.arrange.front'),_0x40e52a=_0x3ab093(_0x3605c2,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x21f)],_0x1bb2bd(0x1c6),_0x1bb2bd(0x373));function _0x251b49(_0x43d951){const _0x551b8a=_0x1bb2bd;return{'id':_0x3c6df3['id'],'type':_0x1b3cd1[_0x551b8a(0x255)][_0x551b8a(0x277)],'icon':_0x551b8a(0x17c),'title':_0x551b8a(0x292),'tooltip':_0x551b8a(0x292),'hidden$':_0x25bbdf(_0x43d951),'params':()=>{const _0x3e0032=_0x551b8a;let _0x415350=_0xbc573a(_0x43d951);return _0x415350?{'unitId':_0x415350[_0x3e0032(0x26d)],'subUnitId':_0x415350[_0x3e0032(0x114)],'drawingId':_0x415350[_0x3e0032(0x17d)]}:void 0x0;}};}let _0xa4546b={[_0x1b3cd1[_0x1bb2bd(0x43a)][_0x1bb2bd(0x13e)]]:{[_0x262faa]:{'order':0x64,'title':_0x1bb2bd(0x292),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x19375c['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5182ae},[_0x1534d4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x577ffe}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xc789b6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x13571e}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x400356]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x409920}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1a641b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x111344},[_0x4f9b1d]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x162f45},[_0x53377c]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x273574},[_0x5cb5f9]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4e88b7},[_0x2ed731]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1b84e2},[_0x3605c2]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x40e52a}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x147c87]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x371a60}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x3c6df3['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x251b49},[_0x583754[_0x1bb2bd(0x2ea)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x583754[_0x1bb2bd(0x4a7)]}}}}},_0x1c1dc2={[_0x1b3cd1['RibbonInsertGroup'][_0x1bb2bd(0x4dc)]]:{[_0x5b3fe4['id']]:{'order':0x3,'menuItemFactory':_0x3b0516}}},_0xb0b3d3={..._0x1c1dc2,[_0x1b3cd1[_0x1bb2bd(0x4d9)][_0x1bb2bd(0x369)]]:{[_0x1e7df2['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4112c6}},[_0x1b3cd1[_0x1bb2bd(0x182)]['DRAWING']]:{[_0x1b3cd1[_0x1bb2bd(0x291)]['OTHERS']]:{[_0x1a641b]:{'order':0x4,'menuItemFactory':_0x111344},[_0x4f9b1d]:{'order':0x5,'menuItemFactory':_0x162f45}}}};var _0xb85a59=_0x1bb2bd(0x211),_0x40799a=_0x1bb2bd(0x49b);let _0x3c4530={'id':'sheet.operation.open-mobile-shape-editor','type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'handler'(_0x352d23,_0x38faeb){const _0x314bb9=_0x1bb2bd;return _0x38faeb?(_0x352d23['get'](_0x583754[_0x314bb9(0x20e)])[_0x314bb9(0x339)](_0x38faeb[_0x314bb9(0x154)],{'hostType':_0x3d2575['UniverInstanceType'][_0x314bb9(0x245)],'shapeId':_0x38faeb['drawingId'],'subUnitId':_0x38faeb[_0x314bb9(0x114)],'unitId':_0x38faeb[_0x314bb9(0x26d)]}),!0x0):!0x1;}},_0x230154=_0x1bb2bd(0x193),_0x19b925={},_0x3c521c=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1ff28b,_0x4778f9,_0x134492,_0x265f31,_0x38b3eb){const _0x50a2ab=_0x1bb2bd;super(),this[_0x50a2ab(0x19e)]=_0x1ff28b,this[_0x50a2ab(0x479)]=_0x4778f9,this[_0x50a2ab(0x2ba)]=_0x134492,this['_univerInstanceService']=_0x265f31,this[_0x50a2ab(0x3ad)]=_0x38b3eb,_0x19f136(this,_0x50a2ab(0x44c),null),_0x19f136(this,_0x50a2ab(0x4f9),null),_0x19f136(this,_0x50a2ab(0x34e),null),_0x19f136(this,_0x50a2ab(0x227),void 0x0),_0x19f136(this,_0x50a2ab(0x3b4),[]),_0x19f136(this,_0x50a2ab(0x45c),0x0),_0x19f136(this,_0x50a2ab(0x276),0x0),_0x19f136(this,_0x50a2ab(0x117),0x0),_0x19f136(this,_0x50a2ab(0x2e8),0x0),_0x19f136(this,_0x50a2ab(0x280),!0x1),_0x19f136(this,_0x50a2ab(0x3a5),void 0x0),_0x19f136(this,_0x50a2ab(0x1ca),void 0x0),_0x19f136(this,_0x50a2ab(0x4cf),void 0x0),_0x19f136(this,_0x50a2ab(0x4a0),void 0x0),_0x19f136(this,'_isImagePointerDown',!0x1),this[_0x50a2ab(0x36c)](),this[_0x50a2ab(0x4aa)]();}[_0x1bb2bd(0x3fe)](){const _0x150f65=_0x1bb2bd;this[_0x150f65(0x418)]();}[_0x1bb2bd(0x498)](){const _0x166189=_0x1bb2bd;this[_0x166189(0x418)](),this[_0x166189(0x46b)](!0x0);}[_0x1bb2bd(0x466)](_0x544086,_0x569a68,_0x2021f6,_0x34e7bf){const _0x35a419=_0x1bb2bd;let _0x819729=_0x544086;if(_0x819729!==_0x756c25['ShapeTypeEnum'][_0x35a419(0x2f3)]&&_0x544086!=='custom')try{let _0x3b9786=new _0x756c25[(_0x35a419(0x13b))](_0x819729,'clip-adj-'+_0x544086);return _0x34e7bf&&_0x3b9786['setShapeData']({'adjustValues':_0x34e7bf},!0x0),_0x3b9786[_0x35a419(0x210)]({'width':_0x569a68,'height':_0x2021f6}),_0x3b9786;}catch{return;}}[_0x1bb2bd(0x1bb)](_0x18b465,_0x269d81,_0x31fc59){const _0x3b26ae=_0x1bb2bd;let _0x5b5dfc={'unitId':_0x18b465,'subUnitId':_0x269d81,'drawingId':_0x31fc59},_0x3f858d=this[_0x3b26ae(0x479)][_0x3b26ae(0x4f0)](_0x5b5dfc);if(_0x3f858d&&_0x3f858d[_0x3b26ae(0x1f2)]===_0x3d2575['DrawingTypeEnum'][_0x3b26ae(0x3b3)])return _0x3f858d;}[_0x1bb2bd(0x205)](_0x2a66b4,_0x4937e5,_0x525503){const _0x286f15=_0x1bb2bd;let _0x117bca=this[_0x286f15(0x2ba)][_0x286f15(0x40c)](_0x2a66b4);if(!_0x117bca)return;let {scene:_0x145bcd}=_0x117bca,_0x20c633=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x2a66b4,'subUnitId':_0x4937e5,'drawingId':_0x525503}),_0x438d39=_0x145bcd['getObject'](_0x20c633);if(_0x438d39 instanceof _0x610ad8[_0x286f15(0x213)]){let _0x5550cd=_0x438d39[_0x286f15(0x4ee)];if(_0x5550cd)return{'prstGeom':_0x5550cd,'adjustValues':_0x438d39[_0x286f15(0x2f4)]};}}[_0x1bb2bd(0x46b)](_0x263457=!0x1){const _0x4645de=_0x1bb2bd;if(!this[_0x4645de(0x4f9)]||!this['_subUnitId']||!this[_0x4645de(0x44c)])return;let _0x32ad32=this['_renderManagerService'][_0x4645de(0x40c)](this[_0x4645de(0x4f9)]);if(!_0x32ad32||!_0x32ad32[_0x4645de(0x10a)](_0x542241[_0x4645de(0x15f)])[_0x4645de(0x16b)]())return;let {scene:_0x1fffba}=_0x32ad32,_0x122343=this[_0x4645de(0x1bb)](this[_0x4645de(0x4f9)],this[_0x4645de(0x34e)],this[_0x4645de(0x44c)]);if(!_0x122343)return;let {transform:_0x2ded34}=_0x122343;if(!_0x2ded34)return;let {left:_0x25fbdf,top:_0xcb434,width:_0x13be8d,height:_0x370d9d,flipX:_0x185e82,flipY:_0x59de34,angle:_0x7a7059=0x0}=_0x2ded34;if(_0x25fbdf===void 0x0||_0xcb434===void 0x0)return;let _0x4323b6=this[_0x4645de(0x205)](this[_0x4645de(0x4f9)],this[_0x4645de(0x34e)],this[_0x4645de(0x44c)]);if(!_0x4323b6)return;if(_0x263457){let _0x5e9219=this[_0x4645de(0x466)](_0x4323b6[_0x4645de(0x4ee)],_0x13be8d||0x0,_0x370d9d||0x0,_0x4323b6[_0x4645de(0x1bf)]);if(!_0x5e9219)return;this[_0x4645de(0x227)]=_0x5e9219[_0x4645de(0x321)]();}let _0x5d15e5=this['_activeAdjustPointList'];if(_0x5d15e5&&_0x5d15e5[_0x4645de(0x40e)]!==0x0)for(let _0x3e8432=0x0;_0x3e8432<_0x5d15e5[_0x4645de(0x40e)];_0x3e8432++){let _0x491a1a=_0x5d15e5[_0x3e8432],_0x2f484e=_0x491a1a['x'],_0x45cf7c=_0x491a1a['y'];if(_0x185e82&&(_0x2f484e=(_0x13be8d||0x0)-_0x2f484e),_0x59de34&&(_0x45cf7c=(_0x370d9d||0x0)-_0x45cf7c),_0x7a7059!==0x0){let _0x31930d=(_0x13be8d||0x0)/0x2,_0x1c9676=(_0x370d9d||0x0)/0x2,_0x154fd4=_0x7a7059*Math['PI']/0xb4,_0x3636d1=Math[_0x4645de(0x226)](_0x154fd4),_0x5902d3=Math['sin'](_0x154fd4),_0x509af2=_0x2f484e-_0x31930d,_0x52a3d8=_0x45cf7c-_0x1c9676;_0x2f484e=_0x31930d+(_0x509af2*_0x3636d1-_0x52a3d8*_0x5902d3),_0x45cf7c=_0x1c9676+(_0x509af2*_0x5902d3+_0x52a3d8*_0x3636d1);}let _0x1bb358={'x':_0x2f484e,'y':_0x45cf7c,'adjName':_0x491a1a[_0x4645de(0x12b)]};this[_0x4645de(0x1d7)](_0x1fffba,_0x1bb358,_0x1bb358['adjName'],_0x25fbdf,_0xcb434,this[_0x4645de(0x4f9)],this['_subUnitId']);}}[_0x1bb2bd(0x1d7)](_0x1493be,_0x57f446,_0x478ba0,_0x1f7341,_0x4c1c6a,_0x337c05,_0xec2b1e){const _0x115de3=_0x1bb2bd;if(!this[_0x115de3(0x44c)])return;let _0x1224fa=_0x115de3(0x445)+this[_0x115de3(0x44c)]+'-'+_0x478ba0,_0x3bf0bf=_0x1493be[_0x115de3(0x195)](_0x1224fa);if(_0x3bf0bf){_0x3bf0bf[_0x115de3(0x2e5)]({'left':_0x57f446['x']+_0x1f7341-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)],'top':_0x57f446['y']+_0x4c1c6a-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)]});return;}let _0x4303ee=new _0x28a1af(_0x1224fa,{'left':_0x57f446['x']+_0x1f7341-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)],'top':_0x57f446['y']+_0x4c1c6a-_0x756c25['ShapeDefaultConfig'][_0x115de3(0x233)],'adjName':_0x478ba0,'shapeId':this[_0x115de3(0x44c)],'unitId':_0x337c05,'subUnitId':_0xec2b1e,'width':_0x756c25[_0x115de3(0x3ba)]['adjHandleSize']+0x8,'height':_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)]+0x8,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x115de3(0x3b4)][_0x115de3(0x37e)](_0x4303ee),this[_0x115de3(0x4db)](_0x4303ee,_0x1493be,_0x478ba0),_0x1493be['addObject'](_0x4303ee,_0x610ad8[_0x115de3(0x239)]+0x1);}[_0x1bb2bd(0x418)](){const _0x5ab115=_0x1bb2bd;this[_0x5ab115(0x3b4)][_0x5ab115(0x40e)]!==0x0&&(this['_shapes'][_0x5ab115(0x307)](_0x3e62b2=>_0x3e62b2[_0x5ab115(0x3cc)]()),this[_0x5ab115(0x3b4)]=[]);}[_0x1bb2bd(0x1ae)](_0x9bdc86,_0x55e9f1){const _0x4db25a=_0x1bb2bd;var _0x1f9bcc;let _0x15de92={'x':0x0,'y':0x0},_0x2b59fc=this[_0x4db25a(0x2ba)][_0x4db25a(0x40c)](_0x9bdc86);if(!_0x2b59fc||!_0x2b59fc[_0x4db25a(0x10a)](_0x542241['SheetSkeletonManagerService'])['getSkeleton'](_0x55e9f1))return _0x15de92;let _0x494a92=_0x2b59fc[_0x4db25a(0x10a)](_0x542241[_0x4db25a(0x2c6)]),_0x5d7e7e=_0x494a92==null?void 0x0:_0x494a92[_0x4db25a(0x27b)]();if(!_0x5d7e7e)return _0x15de92;let _0xebe59c=(_0x1f9bcc=this[_0x4db25a(0x3da)][_0x4db25a(0x4d8)](_0x9bdc86))==null?void 0x0:_0x1f9bcc['getSheetBySheetId'](_0x55e9f1);if(!_0xebe59c)return _0x15de92;let _0x4235c8=(0x0,_0x542241[_0x4db25a(0x48b)])(_0x5d7e7e['sheetViewStartRow'],_0x5d7e7e[_0x4db25a(0x340)],_0x2b59fc[_0x4db25a(0x179)],_0xebe59c);return _0x4235c8?{'x':_0x4235c8[_0x4db25a(0x43b)],'y':_0x4235c8[_0x4db25a(0x2a3)]}:_0x15de92;}[_0x1bb2bd(0x29b)](_0x46722a,_0x183577){const _0x21ebd8=_0x1bb2bd;var _0x35a84b;let _0x27a9ea=(_0x35a84b=this[_0x21ebd8(0x3da)][_0x21ebd8(0x4d8)](_0x46722a))==null?void 0x0:_0x35a84b[_0x21ebd8(0x200)](_0x183577);return(_0x27a9ea==null?void 0x0:_0x27a9ea['getZoomRatio']())??0x1;}[_0x1bb2bd(0x4db)](_0x22e6f3,_0x496e69,_0x5f4393){const _0xfe0acc=_0x1bb2bd;this[_0xfe0acc(0x275)]((0x0,_0x3d2575[_0xfe0acc(0x1ba)])(_0x22e6f3[_0xfe0acc(0x246)]['subscribeEvent']((_0xd331,_0x340e35)=>{const _0x52fea2=_0xfe0acc;var _0x2b7d63,_0x163cf6,_0x55d823;let {unitId:_0x1fd775,subUnitId:_0x4f113e,drawingId:_0x5a5d4a}=_0x22e6f3[_0x52fea2(0x1c1)](),_0x3fb2c9=this[_0x52fea2(0x1bb)](_0x1fd775,_0x4f113e,_0x5a5d4a);if(!(_0x3fb2c9!=null&&_0x3fb2c9['transform']))return;let {left:_0x59c59e,top:_0x123846,width:_0x3c00aa,height:_0x275986}=_0x3fb2c9[_0x52fea2(0x3e4)];this[_0x52fea2(0x45c)]=_0x59c59e||0x0,this['_baseTop']=_0x123846||0x0,this['_baseWidth']=_0x3c00aa||0x0,this[_0x52fea2(0x2e8)]=_0x275986||0x0;let _0x12319e=!!((_0x2b7d63=_0x3fb2c9[_0x52fea2(0x3e4)])!=null&&_0x2b7d63[_0x52fea2(0x115)]),_0xa6fab9=!!((_0x163cf6=_0x3fb2c9['transform'])!=null&&_0x163cf6['flipY']),_0x5347e7=((_0x55d823=_0x3fb2c9['transform'])==null?void 0x0:_0x55d823[_0x52fea2(0x3c9)])||0x0,_0x108451=this[_0x52fea2(0x205)](_0x1fd775,_0x4f113e,_0x5a5d4a);if(!_0x108451)return;let _0x4b1321=this[_0x52fea2(0x466)](_0x108451[_0x52fea2(0x4ee)],this[_0x52fea2(0x117)],this['_baseHeight'],_0x108451[_0x52fea2(0x1bf)]);if(!_0x4b1321||(this[_0x52fea2(0x1ca)]=_0x4b1321,this['_activeAdjustInfo']=_0x4b1321['getAdjustInfoByName'](_0x5f4393),!this[_0x52fea2(0x3a5)]))return;this['_isStartAdjusting']=!0x0,_0x496e69[_0x52fea2(0x251)]();let _0x23f038=_0x108451[_0x52fea2(0x4ee)];this['_adjHandlerPointerMove']=_0x496e69[_0x52fea2(0x37b)][_0x52fea2(0x11b)]((_0x18ab02,_0x101b96)=>{const _0x5795e8=_0x52fea2;if(!this[_0x5795e8(0x280)])return;let {offsetX:_0x531b99,offsetY:_0x2c7b75}=_0x18ab02,_0x152995=this[_0x5795e8(0x3a5)];if(!this[_0x5795e8(0x1ca)]||!_0x152995)return;_0x496e69[_0x5795e8(0x251)](),_0x496e69[_0x5795e8(0x46e)](_0x610ad8[_0x5795e8(0x2cf)][_0x5795e8(0x21e)]);let _0xc29c61={'left':0x0,'top':0x0,'width':this[_0x5795e8(0x117)],'height':this[_0x5795e8(0x2e8)]},_0x5c5985=this[_0x5795e8(0x1ae)](_0x1fd775,_0x4f113e),_0xa84ef7=this[_0x5795e8(0x29b)](_0x1fd775,_0x4f113e),_0x506a24=_0x531b99/_0xa84ef7+_0x5c5985['x']-this['_baseLeft'],_0x286b55=_0x2c7b75/_0xa84ef7+_0x5c5985['y']-this[_0x5795e8(0x276)];if(_0x5347e7!==0x0){let _0x2e3f91=this['_baseWidth']/0x2,_0x120a42=this[_0x5795e8(0x2e8)]/0x2,_0x1e433f=_0x5347e7*Math['PI']/0xb4,_0x16bd3e=Math[_0x5795e8(0x226)](_0x1e433f),_0x234f29=Math[_0x5795e8(0x241)](_0x1e433f),_0x490c89=_0x506a24-_0x2e3f91,_0xf371d4=_0x286b55-_0x120a42;_0x506a24=_0x2e3f91+(_0x490c89*_0x16bd3e+_0xf371d4*_0x234f29),_0x286b55=_0x120a42+(-_0x490c89*_0x234f29+_0xf371d4*_0x16bd3e);}_0x12319e&&(_0x506a24=this[_0x5795e8(0x117)]-_0x506a24),_0xa6fab9&&(_0x286b55=this[_0x5795e8(0x2e8)]-_0x286b55);let _0x5b1dd3=this[_0x5795e8(0x1ca)][_0x5795e8(0x30c)](_0xc29c61,{'x':_0x506a24,'y':_0x286b55},_0x152995,_0x12319e,_0xa6fab9);if(Object[_0x5795e8(0x434)](_0x5b1dd3)[_0x5795e8(0x40e)]!==0x0){for(let [_0x4670b3,_0x152a69]of Object['entries'](_0x5b1dd3))this[_0x5795e8(0x1ca)]['setAdjustValueByName'](_0x4670b3,_0x152a69);this[_0x5795e8(0x1ca)][_0x5795e8(0x210)]({'width':this['_baseWidth'],'height':this[_0x5795e8(0x2e8)]}),this[_0x5795e8(0x18b)](_0x1fd775,_0x4f113e,_0x5a5d4a,_0x5b1dd3),this[_0x5795e8(0x227)]=this[_0x5795e8(0x1ca)][_0x5795e8(0x321)](),this[_0x5795e8(0x46b)](),_0x101b96['stopPropagation']();}}),this['_adjHandlerPointerUp']=_0x496e69[_0x52fea2(0x2e2)][_0x52fea2(0x11b)]((_0x19d8d4,_0x161973)=>{const _0x419858=_0x52fea2;if(this[_0x419858(0x4cf)][_0x419858(0x1a1)](),this[_0x419858(0x4a0)]['unsubscribe'](),_0x496e69[_0x419858(0x35d)](),this['_activeShapeModel']){let _0xf7f625=this[_0x419858(0x1ca)]['getAdjustNames'](),_0x29c253={};for(let _0x2db25a of _0xf7f625){let _0xcca507=this['_activeShapeModel'][_0x419858(0x26c)](_0x2db25a);_0xcca507!==void 0x0&&(_0x29c253[_0x2db25a]=_0xcca507);}this[_0x419858(0x3ad)][_0x419858(0x231)](_0x1fd775,_0x4f113e,_0x5a5d4a,_0x23f038,_0x29c253);}this[_0x419858(0x3a5)]=void 0x0,this[_0x419858(0x1ca)]=void 0x0,this[_0x419858(0x280)]=!0x1,_0x161973['stopPropagation'](),_0x496e69[_0x419858(0x4c0)]();}),_0x340e35[_0x52fea2(0x407)]();})));}[_0x1bb2bd(0x18b)](_0x3acd5a,_0x469062,_0x408cf6,_0x3c6cc2){const _0x394997=_0x1bb2bd;let _0x3946e3=this[_0x394997(0x2ba)][_0x394997(0x40c)](_0x3acd5a);if(!_0x3946e3)return;let {scene:_0x3727bd}=_0x3946e3,_0x14a90e=(0x0,_0xf3cf76[_0x394997(0x372)])({'unitId':_0x3acd5a,'subUnitId':_0x469062,'drawingId':_0x408cf6}),_0x42038a=_0x3727bd[_0x394997(0x2f7)](_0x14a90e);if(_0x42038a instanceof _0x610ad8[_0x394997(0x213)]){let _0x11d43a=_0x42038a['prstGeomAdjValues']??{};_0x42038a[_0x394997(0x483)]({..._0x11d43a,..._0x3c6cc2}),_0x42038a[_0x394997(0x4a5)](!0x0);}}['_registerMoveHandler'](){const _0x489964=_0x1bb2bd;let _0x5b0c34=this['_univerInstanceService'][_0x489964(0x25b)](_0x3d2575[_0x489964(0x4f8)][_0x489964(0x245)]);this[_0x489964(0x275)](_0x5b0c34[_0x489964(0x3f4)]((0x0,_0x133625[_0x489964(0x14f)])(_0x4b3cc3=>_0x4b3cc3?_0x4b3cc3[_0x489964(0x404)][_0x489964(0x3f4)]((0x0,_0x133625['switchMap'])(_0x1a7b7f=>{const _0xaf21=_0x489964;if(!_0x1a7b7f)return _0x133625[_0xaf21(0x21d)];let _0x33aa84=_0x4b3cc3[_0xaf21(0x455)](),_0xea8073=this[_0xaf21(0x2ba)]['getRenderUnitById'](_0x33aa84),_0x5500e3=_0xea8073==null?void 0x0:_0xea8073[_0xaf21(0x179)];return _0x5500e3?(0x0,_0x133625['of'])(_0x5500e3):_0x133625[_0xaf21(0x21d)];})):_0x133625[_0x489964(0x21d)]))[_0x489964(0x3b2)](_0x256cda=>{const _0x15f4d7=_0x489964;let _0x4023ff=_0x256cda['getTransformerByCreate']();this[_0x15f4d7(0x275)](_0x256cda[_0x15f4d7(0x37b)][_0x15f4d7(0x11b)](()=>{const _0x39a738=_0x15f4d7;this['_isImagePointerDown']&&this[_0x39a738(0x418)]();})),this[_0x15f4d7(0x275)](_0x4023ff['changeStart$'][_0x15f4d7(0x3b2)](_0x12f387=>{const _0x2ed454=_0x15f4d7;let {objects:_0x465a87}=_0x12f387;if(this['_createControls'](),_0x465a87!==null&&_0x465a87['size']===0x1){let _0x3560ff=_0x465a87[_0x2ed454(0x174)]()[_0x2ed454(0x188)]()[_0x2ed454(0x18a)];_0x3560ff instanceof _0x610ad8[_0x2ed454(0x213)]&&_0x3560ff[_0x2ed454(0x4ee)]&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x4023ff[_0x15f4d7(0x3ec)]['subscribe'](()=>{const _0x1d5a76=_0x15f4d7;this[_0x1d5a76(0x4bc)]&&this[_0x1d5a76(0x418)]();})),this[_0x15f4d7(0x275)](_0x256cda[_0x15f4d7(0x2e2)][_0x15f4d7(0x11b)](()=>{const _0x1507c0=_0x15f4d7;this[_0x1507c0(0x4bc)]&&(this[_0x1507c0(0x4bc)]=!0x1,this[_0x1507c0(0x46b)]());})),this[_0x15f4d7(0x275)](_0x4023ff['changeEnd$'][_0x15f4d7(0x3b2)](()=>{const _0x2b4e79=_0x15f4d7;if(this[_0x2b4e79(0x4f9)]&&this['_subUnitId']&&this[_0x2b4e79(0x44c)]){let _0x56a00c=this['_getImagePrstGeom'](this[_0x2b4e79(0x4f9)],this[_0x2b4e79(0x34e)],this[_0x2b4e79(0x44c)]);if(_0x56a00c){var _0x8858b4,_0x539811;let _0x27fca1=this['_getImageDrawingInfo'](this[_0x2b4e79(0x4f9)],this[_0x2b4e79(0x34e)],this['_activeImageId']),_0x2871ba=(_0x27fca1==null||(_0x8858b4=_0x27fca1[_0x2b4e79(0x3e4)])==null?void 0x0:_0x8858b4['width'])||0x0,_0x2211f8=(_0x27fca1==null||(_0x539811=_0x27fca1[_0x2b4e79(0x3e4)])==null?void 0x0:_0x539811[_0x2b4e79(0x1db)])||0x0,_0x5317e0=this['_getOrCreateShapeModel'](_0x56a00c['prstGeom'],_0x2871ba,_0x2211f8,_0x56a00c[_0x2b4e79(0x1bf)]);_0x5317e0&&(this[_0x2b4e79(0x227)]=_0x5317e0[_0x2b4e79(0x321)](),this[_0x2b4e79(0x418)](),this[_0x2b4e79(0x46b)](!0x0));}}}));}));}[_0x1bb2bd(0x36c)](){const _0x21d0f4=_0x1bb2bd;this[_0x21d0f4(0x275)](this[_0x21d0f4(0x479)]['focus$'][_0x21d0f4(0x3b2)](_0x285d4c=>{const _0x58b33c=_0x21d0f4;if(_0x285d4c[_0x58b33c(0x40e)]===0x1){let _0x419a7b=_0x285d4c[0x0];if(_0x419a7b[_0x58b33c(0x1f2)]===_0x3d2575[_0x58b33c(0x2d2)]['DRAWING_IMAGE']){let {unitId:_0x3ac456,subUnitId:_0x544063,drawingId:_0x277505}=_0x419a7b,_0xd8e1a4=this[_0x58b33c(0x205)](_0x3ac456,_0x544063,_0x277505);if(_0xd8e1a4){var _0x4ad07e,_0x636473;this['_activeImageId']=_0x277505,this[_0x58b33c(0x4f9)]=_0x3ac456,this['_subUnitId']=_0x544063;let _0xfb5b11=this[_0x58b33c(0x1bb)](_0x3ac456,_0x544063,_0x277505),_0x341c73=(_0xfb5b11==null||(_0x4ad07e=_0xfb5b11['transform'])==null?void 0x0:_0x4ad07e[_0x58b33c(0x181)])||0x0,_0x33c83e=(_0xfb5b11==null||(_0x636473=_0xfb5b11['transform'])==null?void 0x0:_0x636473[_0x58b33c(0x1db)])||0x0,_0xbf74e=this[_0x58b33c(0x466)](_0xd8e1a4[_0x58b33c(0x4ee)],_0x341c73,_0x33c83e,_0xd8e1a4[_0x58b33c(0x1bf)]);_0xbf74e&&(this[_0x58b33c(0x227)]=_0xbf74e[_0x58b33c(0x321)]()),this[_0x58b33c(0x418)](),this[_0x58b33c(0x46b)](!0x0);}else this[_0x58b33c(0x342)]();}else this['_resetState']();}else this[_0x58b33c(0x342)]();})),this['disposeWithMe'](this[_0x21d0f4(0x479)][_0x21d0f4(0x465)]['subscribe'](_0x554856=>{const _0x44cb1d=_0x21d0f4;if(_0x554856[_0x44cb1d(0x40e)]===0x1){let _0x33ce86=_0x554856[0x0],_0x274f99=this[_0x44cb1d(0x479)]['getDrawingByParam'](_0x33ce86);(_0x274f99==null?void 0x0:_0x274f99[_0x44cb1d(0x1f2)])===_0x3d2575[_0x44cb1d(0x2d2)][_0x44cb1d(0x3b3)]&&this[_0x44cb1d(0x44c)]===_0x33ce86[_0x44cb1d(0x17d)]&&(this['_clearControls'](),this[_0x44cb1d(0x46b)](!0x0));}})),this['disposeWithMe'](this[_0x21d0f4(0x479)][_0x21d0f4(0x348)][_0x21d0f4(0x3b2)](_0xf2ddf5=>{const _0x1c97c9=_0x21d0f4;for(let _0x5c17a7 of _0xf2ddf5)this['_activeImageId']===_0x5c17a7['drawingId']&&this[_0x1c97c9(0x342)]();}));}[_0x1bb2bd(0x342)](){const _0x2be764=_0x1bb2bd;this['_activeImageId']=null,this[_0x2be764(0x4f9)]=null,this['_subUnitId']=null,this[_0x2be764(0x227)]=void 0x0,this[_0x2be764(0x418)]();}};_0x3c521c=_0x4d7d62([_0x25f0d4(0x1,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xd84245))],_0x3c521c);function _0x3bc39e({ref:_0x212455,..._0x36db7d}){const _0x2c6d64=_0x1bb2bd;let {preserveStrokeWidth:_0x345905,icon:_0x5be37c,id:_0x4056b2,className:_0x5f038f,extend:_0x49e235,..._0x5454aa}=_0x36db7d,_0x53c4da=(_0x2c6d64(0x1cb)+_0x4056b2+'\x20'+(_0x5f038f||''))[_0x2c6d64(0x4e3)](),_0x265364='_'+(0x0,_0x5335a7[_0x2c6d64(0x333)])(),_0x1d9ff1=(0x0,_0x5335a7[_0x2c6d64(0x4c5)])(null);return(0x0,_0x5335a7['useImperativeHandle'])(_0x212455,()=>_0x1d9ff1[_0x2c6d64(0x423)]),(0x0,_0x5335a7[_0x2c6d64(0x2ce)])(()=>{const _0x205e54=_0x2c6d64;if(_0x345905&&_0x1d9ff1[_0x205e54(0x423)]&&_0x1d9ff1['current'][_0x205e54(0x3f2)]===_0x5be37c[_0x205e54(0x3cb)])return _0x3b150b(_0x1d9ff1[_0x205e54(0x423)]);},[_0x345905,_0x5be37c]),_0xcba36a(_0x5be37c,''+_0x4056b2,{'defIds':_0x5be37c[_0x2c6d64(0x2f0)],'idSuffix':_0x265364},{'ref':_0x1d9ff1,'className':_0x53c4da,..._0x5454aa},_0x49e235);}function _0xcba36a(_0x4f554b,_0x106bff,_0x4fb66f,_0x328d9,_0x21981d){const _0x21849d=_0x1bb2bd;return(0x0,_0x5335a7[_0x21849d(0x393)])(_0x4f554b[_0x21849d(0x3cb)],{'key':_0x106bff,..._0x1875e1(_0x4f554b,_0x4fb66f,_0x21981d),..._0x328d9},(_0x1c2811(_0x4f554b,_0x4fb66f)[_0x21849d(0x49d)]||[])[_0x21849d(0x2f5)]((_0x39be05,_0x1b5a75)=>_0xcba36a(_0x39be05,_0x106bff+'-'+_0x4f554b[_0x21849d(0x3cb)]+'-'+_0x1b5a75,_0x4fb66f,void 0x0,_0x21981d)));}function _0x1875e1(_0x68d8eb,_0x3dc1b5,_0x308e69){const _0x150535=_0x1bb2bd;let _0x5cee8e={..._0x68d8eb[_0x150535(0x316)]};_0x308e69!=null&&_0x308e69[_0x150535(0x258)]&&_0x5cee8e['fill']==='colorChannel1'&&(_0x5cee8e[_0x150535(0x266)]=_0x308e69[_0x150535(0x258)]),_0x308e69!=null&&_0x308e69[_0x150535(0x258)]&&_0x5cee8e['stroke']==='colorChannel1'&&(_0x5cee8e[_0x150535(0x4e8)]=_0x308e69[_0x150535(0x258)]),_0x68d8eb[_0x150535(0x3cb)]===_0x150535(0x2c5)&&_0x5cee8e['id']&&(_0x5cee8e['id']+=_0x3dc1b5[_0x150535(0x452)]),Object['entries'](_0x5cee8e)[_0x150535(0x307)](([_0x2d6474,_0x2063b4])=>{const _0x3c898a=_0x150535;_0x2d6474===_0x3c898a(0x2c5)&&typeof _0x2063b4==_0x3c898a(0x2b6)&&(_0x5cee8e[_0x2d6474]=_0x2063b4[_0x3c898a(0x1fc)](/url\(#(.*)\)/,'url(#$1'+_0x3dc1b5[_0x3c898a(0x452)]+')'));});let {defIds:_0x29780c}=_0x3dc1b5;return!_0x29780c||_0x29780c[_0x150535(0x40e)]===0x0||(_0x68d8eb[_0x150535(0x3cb)]===_0x150535(0x281)&&_0x5cee8e['xlink:href']&&(_0x5cee8e[_0x150535(0x4ac)]+=_0x3dc1b5[_0x150535(0x452)]),Object[_0x150535(0x334)](_0x5cee8e)[_0x150535(0x307)](([_0x376239,_0x20584b])=>{const _0x1f79a0=_0x150535;typeof _0x20584b==_0x1f79a0(0x2b6)&&(_0x5cee8e[_0x376239]=_0x20584b[_0x1f79a0(0x1fc)](/url\(#(.*)\)/,_0x1f79a0(0x2bd)+_0x3dc1b5[_0x1f79a0(0x452)]+')'));})),_0x5cee8e;}function _0x1c2811(_0x35a0b0,_0x5b0974){const _0x599950=_0x1bb2bd;var _0x14c1f6;let {defIds:_0x209add}=_0x5b0974;return!_0x209add||_0x209add[_0x599950(0x40e)]===0x0?_0x35a0b0:_0x35a0b0[_0x599950(0x3cb)]==='defs'&&(_0x14c1f6=_0x35a0b0[_0x599950(0x49d)])!=null&&_0x14c1f6[_0x599950(0x40e)]?{..._0x35a0b0,'children':_0x35a0b0[_0x599950(0x49d)][_0x599950(0x2f5)](_0x1580d6=>typeof _0x1580d6[_0x599950(0x316)]['id']==_0x599950(0x2b6)&&_0x209add&&_0x209add['includes'](_0x1580d6[_0x599950(0x316)]['id'])?{..._0x1580d6,'attrs':{..._0x1580d6['attrs'],'id':_0x1580d6[_0x599950(0x316)]['id']+_0x5b0974['idSuffix']}}:_0x1580d6)}:_0x35a0b0;}function _0x3b150b(_0x421a9d){const _0x3ede26=_0x1bb2bd;let _0xf0049f=_0x421a9d[_0x3ede26(0x4e9)]['baseVal'],_0x572f8b=Math[_0x3ede26(0x49f)](_0xf0049f[_0x3ede26(0x181)],_0xf0049f[_0x3ede26(0x1db)]);if(!Number['isFinite'](_0x572f8b)||_0x572f8b<=0x0||_0xf0049f[_0x3ede26(0x181)]<=0x0||_0xf0049f[_0x3ede26(0x1db)]<=0x0)return()=>void 0x0;let _0x5823eb=0x10/_0x572f8b,_0x1064dc=Array[_0x3ede26(0x24e)](_0x421a9d['querySelectorAll'](_0x3ede26(0x42f)))['flatMap'](_0x5e9049=>{const _0x50f8a9=_0x3ede26;let _0x31bafa=getComputedStyle(_0x5e9049),_0x3bbeba=Number['parseFloat'](_0x31bafa[_0x50f8a9(0x3e1)]);return _0x31bafa[_0x50f8a9(0x4e8)]===_0x50f8a9(0x32a)||Number[_0x50f8a9(0x24a)](_0x31bafa[_0x50f8a9(0x4da)])===0x0||_0x31bafa['vectorEffect']==='non-scaling-stroke'||!Number[_0x50f8a9(0x2ae)](_0x3bbeba)||_0x3bbeba<=0x0?[]:[{'element':_0x5e9049,'hadStyleAttribute':_0x5e9049[_0x50f8a9(0x249)](_0x50f8a9(0x2c3)),'originalStrokeWidth':_0x3bbeba,'strokeWidth':_0x2bfd08(_0x5e9049[_0x50f8a9(0x2c3)],_0x50f8a9(0x453))}];})[_0x3ede26(0x2f5)](_0xfce5d9=>({'appliedStrokeWidth':null,'element':_0xfce5d9[_0x3ede26(0x3c8)],'hadStyleAttribute':_0xfce5d9[_0x3ede26(0x1ff)],'isReleased':!0x1,'originalStrokeWidth':_0xfce5d9[_0x3ede26(0x183)],'strokeWidth':_0xfce5d9['strokeWidth']}));if(_0x1064dc[_0x3ede26(0x40e)]===0x0)return()=>void 0x0;let _0x3f4442=(_0x569599,_0x14cf6)=>{const _0x1133e3=_0x3ede26;if(_0xf0049f[_0x1133e3(0x181)]<=0x0||_0xf0049f[_0x1133e3(0x1db)]<=0x0||_0x569599<=0x0||_0x14cf6<=0x0)return;let _0xba01d6=Math[_0x1133e3(0x306)](_0x569599/_0xf0049f[_0x1133e3(0x181)],_0x14cf6/_0xf0049f[_0x1133e3(0x1db)]);!Number['isFinite'](_0xba01d6)||_0xba01d6<=0x0||_0x1064dc[_0x1133e3(0x307)](_0xb43996=>{const _0x2afdbf=_0x1133e3;if(_0xb43996[_0x2afdbf(0x4f2)])return;if(_0xb43996['appliedStrokeWidth']!==null&&(_0xb43996[_0x2afdbf(0x3c8)]['style'][_0x2afdbf(0x47a)](_0x2afdbf(0x453))!==_0xb43996[_0x2afdbf(0x426)]||_0xb43996[_0x2afdbf(0x3c8)][_0x2afdbf(0x2c3)][_0x2afdbf(0x3c7)]('stroke-width')!==_0xb43996[_0x2afdbf(0x3e1)][_0x2afdbf(0x2bf)])){_0xb43996[_0x2afdbf(0x426)]=null,_0xb43996[_0x2afdbf(0x4f2)]=!0x0;return;}let _0x3374e8=_0xb43996[_0x2afdbf(0x183)]*_0x5823eb/_0xba01d6,_0xfe82f7=Number(_0x3374e8[_0x2afdbf(0x1ef)](0xc))+'px';_0xb43996[_0x2afdbf(0x3c8)]['style'][_0x2afdbf(0x346)](_0x2afdbf(0x453),_0xfe82f7,_0xb43996['strokeWidth'][_0x2afdbf(0x2bf)]),_0xb43996[_0x2afdbf(0x426)]=_0xfe82f7;});},_0x2d45a2=_0x421a9d['getBoundingClientRect']();_0x3f4442(_0x2d45a2[_0x3ede26(0x181)],_0x2d45a2[_0x3ede26(0x1db)]);let _0x10ab02=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x48c98a=>{const _0x136194=_0x3ede26;if(_0x48c98a[_0x136194(0x1f9)](_0x5c6ca0=>_0x5c6ca0[_0x136194(0x2a4)]===_0x421a9d)){let _0x28b270=_0x421a9d['getBoundingClientRect']();_0x3f4442(_0x28b270[_0x136194(0x181)],_0x28b270[_0x136194(0x1db)]);}});return _0x10ab02==null||_0x10ab02[_0x3ede26(0x43e)](_0x421a9d),()=>{_0x10ab02==null||_0x10ab02['disconnect'](),_0x1064dc['forEach'](_0x391380=>{const _0x1b06a0=_0x413c;_0x391380['appliedStrokeWidth']!==null&&(_0x43ee90(_0x391380['element'][_0x1b06a0(0x2c3)],_0x1b06a0(0x453),_0x391380['appliedStrokeWidth'],_0x391380[_0x1b06a0(0x3e1)]['priority'],_0x391380[_0x1b06a0(0x3e1)]),!_0x391380[_0x1b06a0(0x1ff)]&&_0x391380[_0x1b06a0(0x3c8)][_0x1b06a0(0x2c3)][_0x1b06a0(0x40e)]===0x0&&_0x391380[_0x1b06a0(0x3c8)][_0x1b06a0(0x236)](_0x1b06a0(0x2c3)));});};}function _0x2bfd08(_0x2988cd,_0x4547cf){const _0x6a1ff1=_0x1bb2bd;return{'priority':_0x2988cd['getPropertyPriority'](_0x4547cf),'value':_0x2988cd[_0x6a1ff1(0x47a)](_0x4547cf)};}function _0x43ee90(_0x260590,_0x5e2416,_0x240c6f,_0x179056,_0x12a8ef){const _0x349d1b=_0x1bb2bd;_0x260590[_0x349d1b(0x47a)](_0x5e2416)===_0x240c6f&&_0x260590[_0x349d1b(0x3c7)](_0x5e2416)===_0x179056&&(_0x12a8ef[_0x349d1b(0x18a)]?_0x260590[_0x349d1b(0x346)](_0x5e2416,_0x12a8ef[_0x349d1b(0x18a)],_0x12a8ef[_0x349d1b(0x2bf)]):_0x260590[_0x349d1b(0x40d)](_0x5e2416));}_0x3bc39e[_0x1bb2bd(0x324)]=_0x1bb2bd(0x35b);let _0x1da060={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x33e),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x477),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4c7)}},{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x11a)}}]},_0x470652=(0x0,_0x5335a7['forwardRef'])(function(_0x2b8865,_0x1b154f){const _0x5bd3a3=_0x1bb2bd;return(0x0,_0x5335a7[_0x5bd3a3(0x393)])(_0x3bc39e,Object['assign']({},_0x2b8865,{'id':_0x5bd3a3(0x387),'ref':_0x1b154f,'icon':_0x1da060}));});_0x470652['displayName']=_0x1bb2bd(0x1c6);let _0x2f1f9e={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':'0\x200\x2016\x2016','width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x22f),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4ea),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4e5),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M8\x2010.2V11.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x458),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}}]},_0x35fab2=(0x0,_0x5335a7['forwardRef'])(function(_0x54c604,_0x277cc0){const _0x50d65f=_0x1bb2bd;return(0x0,_0x5335a7[_0x50d65f(0x393)])(_0x3bc39e,Object[_0x50d65f(0x278)]({},_0x54c604,{'id':'flip-horizontal-icon','ref':_0x277cc0,'icon':_0x2f1f9e}));});_0x35fab2[_0x1bb2bd(0x324)]=_0x1bb2bd(0x396);let _0x48ee22={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x215),'strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x207),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x19d),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x36b),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M10.2\x208H11.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x150),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}}]},_0x52fe81=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x1b30de,_0x2571b0){const _0x1c8524=_0x1bb2bd;return(0x0,_0x5335a7[_0x1c8524(0x393)])(_0x3bc39e,Object[_0x1c8524(0x278)]({},_0x1b30de,{'id':_0x1c8524(0x44f),'ref':_0x2571b0,'icon':_0x48ee22}));});_0x52fe81[_0x1bb2bd(0x324)]=_0x1bb2bd(0x144);let _0x327ca6={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x2e3),'fillRule':_0x1bb2bd(0x46c),'clipRule':'evenodd'}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x288)}}]},_0x435f4c=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x564d66,_0x3397f1){const _0x5313a5=_0x1bb2bd;return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object[_0x5313a5(0x278)]({},_0x564d66,{'id':_0x5313a5(0x3b5),'ref':_0x3397f1,'icon':_0x327ca6}));});_0x435f4c[_0x1bb2bd(0x324)]=_0x1bb2bd(0x1be);let _0x2033da={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x48a),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x109)}}]},_0x524c1b=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0xbd637d,_0x57aede){return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object['assign']({},_0xbd637d,{'id':'move-up-icon','ref':_0x57aede,'icon':_0x2033da}));});_0x524c1b['displayName']=_0x1bb2bd(0x490);let _0x3efa2a={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x46f),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x10d),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}}]},_0xdbe423=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x29d95a,_0x12e31f){const _0x28f67a=_0x1bb2bd;return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object[_0x28f67a(0x278)]({},_0x29d95a,{'id':_0x28f67a(0x31f),'ref':_0x12e31f,'icon':_0x3efa2a}));});_0xdbe423[_0x1bb2bd(0x324)]=_0x1bb2bd(0x343);let _0x22a992={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':'none','viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x403),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M4.2\x208.3H6.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x4f4),'strokeLinejoin':'round'}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x2fb)}}]},_0x96e2b1=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x4ccb59,_0x5442cc){const _0x25dcf6=_0x1bb2bd;return(0x0,_0x5335a7[_0x25dcf6(0x393)])(_0x3bc39e,Object[_0x25dcf6(0x278)]({},_0x4ccb59,{'id':_0x25dcf6(0x175),'ref':_0x5442cc,'icon':_0x22a992}));});_0x96e2b1[_0x1bb2bd(0x324)]='ShapeFormatSettingIcon';let _0x2dc293={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':'0\x200\x2017\x2016','width':_0x1bb2bd(0x105),'height':'1em'},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':'currentColor','d':_0x1bb2bd(0x3b6)}},{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x279),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':'currentColor','d':_0x1bb2bd(0x19b),'fillRule':'evenodd','clipRule':_0x1bb2bd(0x46c)}}]},_0x49b7d3=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0xe8ff7d,_0x5430e5){const _0x35ffc2=_0x1bb2bd;return(0x0,_0x5335a7[_0x35ffc2(0x393)])(_0x3bc39e,Object['assign']({},_0xe8ff7d,{'id':'topmost-icon','ref':_0x5430e5,'icon':_0x2dc293}));});_0x49b7d3[_0x1bb2bd(0x324)]=_0x1bb2bd(0x2ec);function _0x1a2184(_0x4e98a3){return _0x4e98a3['trim']()||void 0x0;}function _0x184059(_0x2f0506,_0x302d77,_0x4985c9){const _0x2d624e=_0x1bb2bd;var _0x215688;return((_0x215688=_0x2f0506[_0x2d624e(0x189)])==null?void 0x0:_0x215688[_0x2d624e(0x4e3)]())||_0x4985c9['t'](_0x2d624e(0x23d)+(0x0,_0x583754[_0x2d624e(0x4cd)])(_0x2f0506['drawingType']))+'\x20'+(_0x302d77+0x1);}function _0x264bc1({PanelComponent:_0x6a0a04=_0x2114cd[_0x1bb2bd(0x353)]}){const _0x374b90=_0x1bb2bd;var _0x3a6b46;let _0x56ed8a=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x3d2575[_0x374b90(0x263)]),_0x5c7973={'title':_0x56ed8a['t'](_0x374b90(0x290)),'empty':_0x56ed8a['t'](_0x374b90(0x32b)),'showAll':_0x56ed8a['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x56ed8a['t'](_0x374b90(0x474)),'lockAll':_0x56ed8a['t'](_0x374b90(0x3e2)),'unlockAll':_0x56ed8a['t'](_0x374b90(0x2a0)),'moveForward':_0x56ed8a['t'](_0x374b90(0x27a)),'moveBackward':_0x56ed8a['t'](_0x374b90(0x2a7)),'close':_0x56ed8a['t'](_0x374b90(0x1b7)),'show':_0x56ed8a['t']('drawing-ui.objectListPanel.show'),'hide':_0x56ed8a['t'](_0x374b90(0x35e)),'lock':_0x56ed8a['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x56ed8a['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x56ed8a['t'](_0x374b90(0x112)),'unlockHint':_0x56ed8a['t'](_0x374b90(0x123)),'name':_0x56ed8a['t'](_0x374b90(0x270)),'nameInput':_0x56ed8a['t'](_0x374b90(0x143)),'description':_0x56ed8a['t'](_0x374b90(0x45e)),'descriptionPlaceholder':_0x56ed8a['t'](_0x374b90(0x219)),'details':_0x56ed8a['t']('drawing-ui.objectListPanel.details'),'noSelection':_0x56ed8a['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x56ed8a['t'](_0x374b90(0x26a)),'expand':_0x56ed8a['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x56ed8a['t'](_0x374b90(0x153)),'dragToReorder':_0x56ed8a['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x56ed8a['t'](_0x374b90(0x298)),'filterAll':_0x56ed8a['t'](_0x374b90(0x3e5)),'filterHidden':_0x56ed8a['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x56ed8a['t']('drawing-ui.objectListPanel.filterLocked'),'sectionCanvas':_0x56ed8a['t'](_0x374b90(0x454)),'sectionFloating':_0x56ed8a['t'](_0x374b90(0x2b5))},_0x135bc4=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x374b90(0x196)]),_0x4622cf=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x3d2575[_0x374b90(0x363)]),_0x53e2fc=(0x0,_0x1b3cd1['useDependency'])(_0x20c5a7[_0x374b90(0x1c7)]),_0x1de15c=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0xf3cf76[_0x374b90(0x2fe)]),_0x29d3b8=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x610ad8[_0x374b90(0x1a3)]),[,_0x1f1180]=(0x0,_0x5335a7[_0x374b90(0x1e2)])(_0x4b20cc=>_0x4b20cc+0x1,0x0),_0x796ebe=_0x4622cf[_0x374b90(0x3d0)](_0x3d2575[_0x374b90(0x4f8)]['UNIVER_SHEET']),_0xdafa6d=(_0x796ebe==null?void 0x0:_0x796ebe['getUnitId']())??'',_0xcb22e9=(_0x796ebe==null||(_0x3a6b46=_0x796ebe[_0x374b90(0x419)]())==null?void 0x0:_0x3a6b46[_0x374b90(0x335)]())??'',_0x25afe4=(0x0,_0x1b3cd1[_0x374b90(0x28f)])(()=>_0x1de15c[_0x374b90(0x2c2)],_0x1de15c[_0x374b90(0x337)](),!0x1,[_0x1de15c]);(0x0,_0x5335a7[_0x374b90(0x294)])(()=>{const _0x456d29=_0x374b90;let _0x14d57e=_0x135bc4[_0x456d29(0x2df)](()=>_0x1f1180());return()=>_0x14d57e[_0x456d29(0x3cc)]();},[_0x135bc4]);let _0x507cba=_0xdafa6d&&_0xcb22e9?_0x53e2fc['getDrawingData'](_0xdafa6d,_0xcb22e9):{},_0x5674fd=(_0xdafa6d&&_0xcb22e9?_0x53e2fc['getDrawingOrder'](_0xdafa6d,_0xcb22e9):[])['map'](_0x4490d9=>_0x507cba[_0x4490d9])[_0x374b90(0x262)](_0x472635=>!!_0x472635)[_0x374b90(0x163)](),_0x4e0d75=_0x5674fd['reduce']((_0x300fc0,_0x4e05c9)=>(_0x300fc0[(0x0,_0x2114cd[_0x374b90(0x4e6)])(_0x4e05c9[_0x374b90(0x1f2)])]+=0x1,_0x300fc0),{'canvas':0x0,'floating':0x0}),_0x52b081={'canvas':0x0,'floating':0x0},_0x152c64=_0x5674fd[_0x374b90(0x2f5)]((_0x49402f,_0x31ed78)=>{const _0x20eea9=_0x374b90;let _0x35501a=(0x0,_0x2114cd[_0x20eea9(0x4e6)])(_0x49402f['drawingType']),_0x17ef81=_0x35501a===_0x2114cd['OBJECT_LIST_FLOATING_SECTION_ID'],_0x4335b0=_0x52b081[_0x35501a]++;return{'id':_0x49402f[_0x20eea9(0x17d)],'name':_0x184059(_0x49402f,_0x31ed78,_0x56ed8a),'description':_0x49402f[_0x20eea9(0x1f7)],'visible':_0x49402f[_0x20eea9(0x300)]!==!0x0,'selectable':_0x49402f[_0x20eea9(0x1d9)]!==!0x1,'sectionId':_0x35501a,'sectionTitle':_0x17ef81?_0x5c7973['sectionFloating']:_0x5c7973[_0x20eea9(0x1e0)],'capabilities':_0x17ef81?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x17ef81&&_0x4335b0>0x0,'canMoveBackward':!_0x17ef81&&_0x4335b0<_0x4e0d75[_0x20eea9(0x156)]-0x1,'canReorder':!_0x17ef81};}),_0x4b48d1=(0x0,_0x5335a7[_0x374b90(0x415)])(()=>(_0x25afe4??[])[_0x374b90(0x262)](_0x20d326=>_0x20d326[_0x374b90(0x26d)]===_0xdafa6d&&_0x20d326[_0x374b90(0x114)]===_0xcb22e9)[_0x374b90(0x2f5)](_0x2a16a4=>_0x2a16a4[_0x374b90(0x17d)]),[_0x25afe4,_0xcb22e9,_0xdafa6d]),_0x20ce46=_0x4b48d1[_0x4b48d1[_0x374b90(0x40e)]-0x1]??null,_0xe245d6=_0x268d8e=>_0x53e2fc[_0x374b90(0x4f0)]({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x268d8e})??null,_0x3e5ac8=async _0x500648=>{const _0x5b7ac0=_0x374b90;_0xdafa6d&&_0x500648[_0x5b7ac0(0x40e)]&&await _0x135bc4[_0x5b7ac0(0x24d)](_0x20c5a7[_0x5b7ac0(0x40b)]['id'],{'unitId':_0xdafa6d,'drawings':_0x500648});},_0x4a8f27=async(_0x539db7,_0x17db7a)=>{_0xe245d6(_0x539db7)&&await _0x3e5ac8([{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x539db7,..._0x17db7a}]);},_0x29a9c6=(_0x53fc7e,_0xa90d15)=>{const _0x4ce49e=_0x374b90;if(!_0xdafa6d||!_0xcb22e9)return;let _0x1071ae=_0xa90d15?_0x4b48d1[_0x4ce49e(0x34d)](_0x53fc7e)?_0x4b48d1[_0x4ce49e(0x262)](_0x2915d7=>_0x2915d7!==_0x53fc7e):[..._0x4b48d1,_0x53fc7e]:[_0x53fc7e];_0x135bc4[_0x4ce49e(0x2ca)](_0xf3cf76['SetDrawingSelectedOperation']['id'],_0x1071ae['map'](_0xd4bdfe=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0xd4bdfe})));let _0x53edc4=_0x1071ae[_0x1071ae[_0x4ce49e(0x40e)]-0x1];_0x53edc4?(0x0,_0x583754[_0x4ce49e(0x471)])(_0x29d3b8,{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x53edc4}):(0x0,_0x583754[_0x4ce49e(0x26b)])(_0x29d3b8,_0xdafa6d);},_0x57ab65=async(_0x39dd81,_0x459046)=>{const _0x296743=_0x374b90;await _0x3e5ac8(_0x39dd81[_0x296743(0x2f5)](_0x41b747=>_0xe245d6(_0x41b747))['filter'](_0x209d93=>!!_0x209d93)[_0x296743(0x262)](_0x22b399=>_0x22b399[_0x296743(0x300)]!==!0x0!==_0x459046)['map'](_0x48ec55=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x48ec55[_0x296743(0x17d)],'hidden':!_0x459046})));},_0xebfd9=async(_0x11e770,_0x79858c)=>{const _0x59754a=_0x374b90;await _0x3e5ac8(_0x11e770[_0x59754a(0x2f5)](_0x4ff1eb=>_0xe245d6(_0x4ff1eb))[_0x59754a(0x262)](_0x553be6=>!!_0x553be6)[_0x59754a(0x262)](_0x4b491d=>_0x4b491d[_0x59754a(0x1d9)]!==!0x1!==_0x79858c)[_0x59754a(0x2f5)](_0x20dd63=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x20dd63[_0x59754a(0x17d)],'selectable':_0x79858c})));},_0x2d3d8a=_0x363f37=>{const _0x33a1ea=_0x374b90;let _0x1c5c1c=_0xe245d6(_0x363f37);if(_0x1c5c1c)return _0xebfd9([_0x363f37],_0x1c5c1c[_0x33a1ea(0x1d9)]===!0x1);},_0x435f97=async(_0x360ced,_0x1c58df)=>{var _0x1380b4;let _0x1ea41b=_0x1a2184(_0x1c58df);(((_0x1380b4=_0xe245d6(_0x360ced))==null?void 0x0:_0x1380b4['name'])??void 0x0)!==_0x1ea41b&&await _0x4a8f27(_0x360ced,{'name':_0x1ea41b});},_0x30c3b0=async(_0x279d0c,_0x3ada44)=>{const _0x2a443a=_0x374b90;var _0x53746c;let _0x46954e=_0x1a2184(_0x3ada44);(((_0x53746c=_0xe245d6(_0x279d0c))==null?void 0x0:_0x53746c[_0x2a443a(0x1f7)])??void 0x0)!==_0x46954e&&await _0x4a8f27(_0x279d0c,{'description':_0x46954e});},_0x5337fa=async(_0x49de4b,_0x4efc50)=>{const _0x1d9420=_0x374b90;_0xdafa6d&&_0xcb22e9&&await _0x135bc4[_0x1d9420(0x24d)](_0x20c5a7[_0x1d9420(0x2b3)]['id'],{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingIds':[_0x49de4b],'arrangeType':_0x4efc50});};return!_0xdafa6d||!_0xcb22e9?(0x0,_0x1fd74c['jsx'])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x5c7973[_0x374b90(0x461)]}):(0x0,_0x1fd74c[_0x374b90(0x451)])(_0x6a0a04,{'labels':_0x5c7973,'items':_0x152c64,'selectedIds':_0x4b48d1,'focusedId':_0x20ce46,'showHeader':!0x1,'onSelect':_0x29a9c6,'onSetVisible':_0x57ab65,'onSetSelectable':_0xebfd9,'onCommitName':_0x435f97,'onCommitDescription':_0x30c3b0,'onMoveForward':async _0x3a2fd2=>_0x5337fa(_0x3a2fd2,_0x3d2575[_0x374b90(0x31e)][_0x374b90(0x23b)]),'onMoveBackward':async _0x1b89e2=>_0x5337fa(_0x1b89e2,_0x3d2575[_0x374b90(0x31e)][_0x374b90(0x1ea)]),'onToggleSelectable':_0x2d3d8a});}function _0x5107b2(){return(0x0,_0x1fd74c['jsx'])(_0x264bc1,{'PanelComponent':_0x2114cd['MobileObjectListPanel']});}let _0x17e610=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x29b89b,_0x264ff2){const _0x1f6c49=_0x1bb2bd;super(),this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x10e550,_0x5107b2)),this['disposeWithMe'](_0x264ff2[_0x1f6c49(0x232)]({'BottomIcon':_0x470652,'FlipHorizontalIcon':_0x35fab2,'FlipVerticalIcon':_0x52fe81,'MoveDownIcon':_0x435f4c,'MoveUpIcon':_0x524c1b,'ObjectLayersIcon':_0xdbe423,'ShapeFormatSettingIcon':_0x96e2b1,'TopmostIcon':_0x49b7d3})),this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x47cd2f,_0x5a39c6)),this[_0x1f6c49(0x275)](_0x29b89b[_0x1f6c49(0x232)](_0x45262e,_0x12dff2)),_0x29b89b[_0x1f6c49(0x229)](_0x2114cd[_0x1f6c49(0x257)])||this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x2114cd['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x2c0838));}};_0x17e610=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x447)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x108)]))],_0x17e610);let _0x47b563=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x57a19d){const _0x37601b=_0x1bb2bd;super(),this[_0x37601b(0x2d3)]=_0x57a19d,_0x19f136(this,_0x37601b(0x3a4),new _0x133625[(_0x37601b(0x467))](null)),_0x19f136(this,_0x37601b(0x3d4),this[_0x37601b(0x3a4)]['asObservable']()),_0x19f136(this,'_onSavingEditorData$',new _0x133625['BehaviorSubject'](!0x1)),_0x19f136(this,_0x37601b(0x45f),this[_0x37601b(0x354)][_0x37601b(0x4af)]()),_0x19f136(this,_0x37601b(0x440),void 0x0),this[_0x37601b(0x275)](this[_0x37601b(0x2d3)][_0x37601b(0x399)]['subscribe'](()=>{const _0x2a4ae6=_0x37601b;let _0x328098=this[_0x2a4ae6(0x18e)]();_0x328098!=null&&_0x328098[_0x2a4ae6(0x4a1)]&&!this[_0x2a4ae6(0x391)](_0x328098)&&this['setEditing'](null);}));}['dispose'](){const _0x1958e4=_0x1bb2bd;this[_0x1958e4(0x2d0)](),this['_editingParams$'][_0x1958e4(0x188)](null),this['_editingParams$'][_0x1958e4(0x400)](),this['_onSavingEditorData$'][_0x1958e4(0x188)](!0x1),this[_0x1958e4(0x354)][_0x1958e4(0x400)](),super[_0x1958e4(0x3cc)]();}[_0x1bb2bd(0x1b5)](_0x9a6fb0){const _0x56c2e7=_0x1bb2bd;(_0x9a6fb0==null||!_0x9a6fb0[_0x56c2e7(0x4a1)]||this[_0x56c2e7(0x391)](_0x9a6fb0))&&(this[_0x56c2e7(0x2d0)](),this[_0x56c2e7(0x3a4)][_0x56c2e7(0x188)](_0x9a6fb0),(_0x9a6fb0==null||_0x9a6fb0[_0x56c2e7(0x4a1)]&&this[_0x56c2e7(0x354)][_0x56c2e7(0x23a)]())&&this[_0x56c2e7(0x354)][_0x56c2e7(0x188)](!0x1));}[_0x1bb2bd(0x46d)](_0x534930){const _0x4c2103=_0x1bb2bd;this[_0x4c2103(0x354)][_0x4c2103(0x188)](_0x534930);}[_0x1bb2bd(0x18e)](){const _0x44870e=_0x1bb2bd;return this['_editingParams$'][_0x44870e(0x23a)]();}[_0x1bb2bd(0x391)](_0x507ac3){const _0x2f74e1=_0x1bb2bd;let _0x2c0a68=this['_permissionService'][_0x2f74e1(0x450)](new _0x306a90[(_0x2f74e1(0x4f7))](_0x507ac3['unitId'])['id']),_0x2608c9=this['_permissionService'][_0x2f74e1(0x450)](new _0x306a90[(_0x2f74e1(0x4b9))](_0x507ac3['unitId'],_0x507ac3[_0x2f74e1(0x114)])['id']);return((_0x2c0a68==null?void 0x0:_0x2c0a68[_0x2f74e1(0x18a)])??!0x0)&&((_0x2608c9==null?void 0x0:_0x2608c9[_0x2f74e1(0x18a)])??!0x0);}[_0x1bb2bd(0x341)](_0x518a4b){const _0x15979c=_0x1bb2bd;let _0x32af8a=this[_0x15979c(0x18e)]();_0x32af8a&&this[_0x15979c(0x440)]===void 0x0&&(this[_0x15979c(0x46d)](!0x0),this[_0x15979c(0x440)]=requestAnimationFrame(()=>{const _0x529717=_0x15979c;this[_0x529717(0x440)]=void 0x0,this[_0x529717(0x18e)]()===_0x32af8a&&this['setEditing'](null);}));}[_0x1bb2bd(0x2d0)](){const _0x48b224=_0x1bb2bd;this[_0x48b224(0x440)]!==void 0x0&&(cancelAnimationFrame(this[_0x48b224(0x440)]),this[_0x48b224(0x440)]=void 0x0);}[_0x1bb2bd(0x329)](){const _0x43ac2=_0x1bb2bd;this[_0x43ac2(0x18e)]()&&this[_0x43ac2(0x1b5)](null);}};_0x47b563=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x1a5)])],_0x47b563);let _0x1083b2=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1c429b,_0x3e11ad,_0x20331b,_0x291d93,_0x55677e,_0x1ec9db){const _0xc3c9cc=_0x1bb2bd;super(),this['_context']=_0x1c429b,this['_injector']=_0x3e11ad,this[_0xc3c9cc(0x416)]=_0x20331b,this['_drawingManagerService']=_0x291d93,this['_contextService']=_0x55677e,this[_0xc3c9cc(0x496)]=_0x1ec9db,_0x19f136(this,_0xc3c9cc(0x15e),null),this[_0xc3c9cc(0x364)](),this['_initSelection'](),this[_0xc3c9cc(0x12a)]();}[_0x1bb2bd(0x364)](){const _0x503665=_0x1bb2bd;let {scene:_0x1fd9e8}=this['_context'];this[_0x503665(0x275)](_0x1fd9e8[_0x503665(0x104)]['subscribeEvent'](_0xb6c5d=>{const _0x598e63=_0x503665;let {offsetX:_0x4be718,offsetY:_0x555e08}=_0xb6c5d,_0x41c56c=_0x1fd9e8[_0x598e63(0x121)](_0x610ad8[_0x598e63(0x330)][_0x598e63(0x33c)]([_0x4be718,_0x555e08]));if(_0x41c56c instanceof _0x28ba5a){let _0x6c851=this[_0x598e63(0x496)][_0x598e63(0x286)](_0x41c56c[_0x598e63(0x26d)],_0x41c56c[_0x598e63(0x114)],_0x41c56c[_0x598e63(0x4dd)]);if((0x0,_0x756c25['isConnectorShape'])(this[_0x598e63(0x496)][_0x598e63(0x441)](_0x41c56c[_0x598e63(0x26d)],_0x41c56c[_0x598e63(0x114)],_0x41c56c[_0x598e63(0x4dd)]))||_0x6c851!=null&&_0x6c851[_0x598e63(0x4d2)]()[_0x598e63(0x103)])return;this['_shapeTextEditingService'][_0x598e63(0x1b5)]({'visible':!0x0,'unitId':_0x41c56c[_0x598e63(0x26d)],'subUnitId':_0x41c56c[_0x598e63(0x114)],'shapeId':_0x41c56c[_0x598e63(0x4dd)],'shapeKey':_0x41c56c[_0x598e63(0x3ae)]});}}));}[_0x1bb2bd(0x4f5)](){const _0x52fa8c=_0x1bb2bd;this[_0x52fa8c(0x275)](this[_0x52fa8c(0x479)][_0x52fa8c(0x2c2)][_0x52fa8c(0x3b2)](_0x164773=>{const _0x4909a4=_0x52fa8c;if(_0x164773[_0x4909a4(0x40e)]===0x1){let _0x4f8087=_0x164773[0x0],_0x2ee1a1=this[_0x4909a4(0x479)][_0x4909a4(0x4f0)](_0x4f8087);if((_0x2ee1a1==null?void 0x0:_0x2ee1a1[_0x4909a4(0x1f2)])===_0x3d2575['DrawingTypeEnum'][_0x4909a4(0x30b)]){var _0x48f54d;let _0x7d3043=this[_0x4909a4(0x416)][_0x4909a4(0x18e)]();if((_0x7d3043==null?void 0x0:_0x7d3043[_0x4909a4(0x4dd)])===_0x4f8087['drawingId']&&_0x7d3043[_0x4909a4(0x4a1)])return;let _0x1d4f8a=(0x0,_0x756c25[_0x4909a4(0x4c9)])(this[_0x4909a4(0x496)][_0x4909a4(0x441)](_0x4f8087[_0x4909a4(0x26d)],_0x4f8087[_0x4909a4(0x114)],_0x4f8087[_0x4909a4(0x17d)])),_0x3ceec1=!!((_0x48f54d=this[_0x4909a4(0x496)][_0x4909a4(0x286)](_0x4f8087['unitId'],_0x4f8087[_0x4909a4(0x114)],_0x4f8087[_0x4909a4(0x17d)]))!=null&&_0x48f54d[_0x4909a4(0x4d2)]()[_0x4909a4(0x103)]);(_0x1d4f8a||_0x3ceec1)&&this[_0x4909a4(0x416)][_0x4909a4(0x1b5)](null);}else this[_0x4909a4(0x416)][_0x4909a4(0x341)]();}else this[_0x4909a4(0x416)][_0x4909a4(0x341)]();})),this[_0x52fa8c(0x275)](this['_drawingManagerService'][_0x52fa8c(0x348)][_0x52fa8c(0x3b2)](_0x2cca4e=>{const _0x552f62=_0x52fa8c;let _0x132bb2=this['_shapeTextEditingService'][_0x552f62(0x18e)]();_0x132bb2&&_0x2cca4e['some'](_0x25e3b8=>_0x25e3b8[_0x552f62(0x17d)]===_0x132bb2['shapeId'])&&this[_0x552f62(0x416)]['setEditing'](null);}));}[_0x1bb2bd(0x12a)](){const _0x20fe9f=_0x1bb2bd;this[_0x20fe9f(0x275)](this['_shapeTextEditingService'][_0x20fe9f(0x3d4)][_0x20fe9f(0x3b2)](_0x3e9afe=>{const _0x18fa0e=_0x20fe9f;let {scene:_0xfd1e98}=this[_0x18fa0e(0x19e)];if(this[_0x18fa0e(0x15e)]){let _0xf4316e=_0xfd1e98['getObjectIncludeInGroup'](this[_0x18fa0e(0x15e)]);_0xf4316e&&_0xf4316e[_0x18fa0e(0x1b5)](!0x1);}if(_0x3e9afe){let _0x145abb=!!_0x3e9afe['visible'],_0x14ca94=_0xfd1e98[_0x18fa0e(0x195)](_0x3e9afe['shapeKey']);_0x14ca94&&(_0x14ca94[_0x18fa0e(0x1b5)](_0x145abb),this['_lastEditingShapeKey']=_0x3e9afe['shapeKey']),this[_0x18fa0e(0x2ef)]['setContextValue'](_0x3d2575['FOCUSING_SHAPE_TEXT_EDITOR'],_0x145abb);}else this[_0x18fa0e(0x15e)]=null,this[_0x18fa0e(0x2ef)][_0x18fa0e(0x4f1)](_0x3d2575[_0x18fa0e(0x44a)],!0x1);}));}};_0x1083b2=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x3d2575['Injector'])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169['SheetsShapeService']))],_0x1083b2);var _0x25d7a6=class extends _0x1083b2{['_initEvents'](){const _0x42d6fb=_0x1bb2bd;let {scene:_0x37c6bb}=this['_context'],_0x513cb8=this[_0x42d6fb(0x49e)][_0x42d6fb(0x107)](_0x583754[_0x42d6fb(0x20e)]);this[_0x42d6fb(0x275)](_0x37c6bb[_0x42d6fb(0x104)][_0x42d6fb(0x11b)](_0x922759=>{const _0x425d37=_0x42d6fb;let {offsetX:_0x231d6e,offsetY:_0x2ddd27}=_0x922759,_0x2c6918=_0x37c6bb[_0x425d37(0x121)](_0x610ad8[_0x425d37(0x330)][_0x425d37(0x33c)]([_0x231d6e,_0x2ddd27]));if(!(_0x2c6918 instanceof _0x28ba5a))return;let _0x2de4b8=this[_0x425d37(0x496)]['getShapeModel'](_0x2c6918[_0x425d37(0x26d)],_0x2c6918[_0x425d37(0x114)],_0x2c6918['shapeId']);(0x0,_0x756c25[_0x425d37(0x4c9)])(this[_0x425d37(0x496)][_0x425d37(0x441)](_0x2c6918['unitId'],_0x2c6918['subUnitId'],_0x2c6918[_0x425d37(0x4dd)]))||_0x2de4b8!=null&&_0x2de4b8[_0x425d37(0x4d2)]()[_0x425d37(0x103)]||_0x513cb8[_0x425d37(0x339)](_0x425d37(0x319),{'hostType':_0x3d2575[_0x425d37(0x4f8)]['UNIVER_SHEET'],'unitId':_0x2c6918['unitId'],'subUnitId':_0x2c6918[_0x425d37(0x114)],'shapeId':_0x2c6918['shapeId']});}));}};let _0x2f3aec={..._0x1c1dc2},_0x7a1081=class extends _0x3d2575['Disposable']{constructor(_0x386c05,_0x979ade,_0x1875fd,_0x3fa7c0,_0x120e88,_0x5bf57b,_0x930f02,_0x23aebd){const _0x28ffb7=_0x1bb2bd;super(),this[_0x28ffb7(0x39e)]=_0x386c05,this['_sheetsShapeService']=_0x979ade,this[_0x28ffb7(0x101)]=_0x1875fd,this[_0x28ffb7(0x479)]=_0x3fa7c0,this[_0x28ffb7(0x3db)]=_0x120e88,this['_contextService']=_0x5bf57b,this['_renderManagerService']=_0x930f02,this[_0x28ffb7(0x416)]=_0x23aebd,_0x19f136(this,_0x28ffb7(0x4eb),null),this[_0x28ffb7(0x39e)]['mergeMenu'](_0x2f3aec),this[_0x28ffb7(0x2da)](),this[_0x28ffb7(0x275)](this[_0x28ffb7(0x416)][_0x28ffb7(0x3d4)][_0x28ffb7(0x3b2)](_0x1710e1=>{_0x1710e1&&this['_clearFocusedShape']();}));}['initShapePopupMenu'](){const _0x2a385b=_0x1bb2bd;this[_0x2a385b(0x4eb)]||=this[_0x2a385b(0x275)]((0x0,_0x583754[_0x2a385b(0x331)])(this[_0x2a385b(0x2ba)],_0x3d2575[_0x2a385b(0x4f8)]['UNIVER_SHEET'],_0x508f32=>this[_0x2a385b(0x29f)](_0x508f32)));}[_0x1bb2bd(0x2da)](){const _0xfe1b5=_0x1bb2bd;this[_0xfe1b5(0x3db)][_0xfe1b5(0x4c8)](_0x3d2575[_0xfe1b5(0x2d2)]['DRAWING_SHAPE'],(_0x42d476,_0x5e9b21,_0x588820,_0x58695e)=>{const _0x357423=_0xfe1b5;let _0xa5c88f=this[_0x357423(0x496)][_0x357423(0x14b)](_0x42d476,_0x5e9b21,_0x588820),_0x123145=this[_0x357423(0x496)][_0x357423(0x1f5)](_0x42d476,_0x5e9b21,_0x588820),_0x235304=_0xa5c88f!==void 0x0&&!(0x0,_0x756c25[_0x357423(0x4c9)])(_0xa5c88f)&&!(_0x123145!=null&&_0x123145[_0x357423(0x103)]);return[{'label':_0x357423(0x2a9),'index':0x0,'commandId':_0x3c4530['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'mode':_0x357423(0x2c3)},'disable':!0x1},..._0x235304?[{'label':_0x357423(0x14c),'index':0x1,'commandId':_0x3c4530['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'mode':_0x357423(0x319)},'disable':!0x1}]:[],{'label':_0x357423(0x35f),'index':0x2,'commandId':_0x20c5a7[_0x357423(0x116)]['id'],'commandParams':{'unitId':_0x42d476,'drawings':[{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'drawingType':_0x58695e}]},'disable':!0x1},{'label':_0x357423(0x3fb),'index':0x3,'commandId':_0x111169[_0x357423(0x4b2)]['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'shapeId':_0x588820,'flipH':!0x0},'disable':!0x1},{'label':_0x357423(0x119),'index':0x4,'commandId':_0x111169[_0x357423(0x4b2)]['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'shapeId':_0x588820,'flipV':!0x0},'disable':!0x1}];},_0xfe1b5(0x4a4));}[_0x1bb2bd(0x29f)](_0x564d8f){const _0x101469=_0x1bb2bd;let _0x44a12d=new _0x3d2575[(_0x101469(0x3bf))](),_0x1a6170=null,_0x6e59d8=()=>{const _0x5d5c34=_0x101469;if(!_0x1a6170)return;let _0xd146a5=this[_0x5d5c34(0x479)][_0x5d5c34(0x337)](),_0xe71aea=_0xd146a5['length']===0x0||_0xd146a5[_0x5d5c34(0x40e)]===0x1&&_0xd146a5[_0x5d5c34(0x1f9)](_0x3495f8=>_0x3495f8['unitId']===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x26d)])&&_0x3495f8[_0x5d5c34(0x114)]===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x114)])&&_0x3495f8[_0x5d5c34(0x17d)]===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x17d)]));_0x1a6170=null,_0xe71aea&&(this['_contextService'][_0x5d5c34(0x4f1)](_0x3d2575[_0x5d5c34(0x1ce)],!0x1),this[_0x5d5c34(0x479)][_0x5d5c34(0x323)](null));};return _0x44a12d[_0x101469(0x358)](_0x564d8f[_0x101469(0x3de)][_0x101469(0x3b2)](()=>{const _0x4c8bad=_0x101469;let _0x30e262=_0x564d8f[_0x4c8bad(0x25a)]();if(_0x30e262['size']>0x1){_0x6e59d8();return;}let _0x5cae3d=_0x30e262[_0x4c8bad(0x174)]()[_0x4c8bad(0x188)]()[_0x4c8bad(0x18a)];if(!_0x5cae3d){_0x6e59d8();return;}let _0x56988c=this['_drawingManagerService'][_0x4c8bad(0x3a8)](_0x5cae3d[_0x4c8bad(0x3ae)]);if(!_0x56988c||_0x56988c[_0x4c8bad(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x4c8bad(0x30b)]){_0x6e59d8();return;}let {unitId:_0x36b5e0,subUnitId:_0x64c8ce,drawingId:_0x4a6038}=_0x56988c;_0x1a6170={'unitId':_0x36b5e0,'subUnitId':_0x64c8ce,'drawingId':_0x4a6038},this['_contextService'][_0x4c8bad(0x4f1)](_0x3d2575[_0x4c8bad(0x1ce)],!0x0),this[_0x4c8bad(0x479)][_0x4c8bad(0x337)]()[_0x4c8bad(0x30a)](_0x3d4017=>_0x3d4017[_0x4c8bad(0x26d)]===_0x36b5e0&&_0x3d4017[_0x4c8bad(0x114)]===_0x64c8ce&&_0x3d4017[_0x4c8bad(0x17d)]===_0x4a6038)||this[_0x4c8bad(0x479)][_0x4c8bad(0x323)]([{'unitId':_0x36b5e0,'subUnitId':_0x64c8ce,'drawingId':_0x4a6038}]);})),_0x44a12d[_0x101469(0x358)](_0x564d8f[_0x101469(0x326)]['subscribe'](()=>{_0x6e59d8();})),(0x0,_0x3d2575[_0x101469(0x1ba)])(()=>{const _0x5acf99=_0x101469;_0x44a12d[_0x5acf99(0x3cc)](),_0x6e59d8();});}[_0x1bb2bd(0x4ba)](){const _0x54b0ec=_0x1bb2bd;this[_0x54b0ec(0x2ef)][_0x54b0ec(0x4f1)](_0x3d2575[_0x54b0ec(0x1ce)],!0x1),this[_0x54b0ec(0x479)][_0x54b0ec(0x323)](null);}};_0x7a1081=_0x4d7d62([_0x25f0d4(0x0,_0x1b3cd1[_0x1bb2bd(0x16e)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x378)])),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x6,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x7a1081);function _0x58a49d(_0x34a025,_0x41053f,_0x3b8b28,_0x2a4528){const _0x366ec7=_0x1bb2bd;let _0x151892=(0x0,_0xf3cf76[_0x366ec7(0x2b9)])(_0x34a025,_0x41053f,_0x3b8b28),_0x729c54=[];for(let _0x3b20c0 of _0x41053f){let _0x5585f3=_0x151892[_0x366ec7(0x379)][_0x366ec7(0x107)](_0x3b20c0[_0x366ec7(0x17d)]),_0x165064=_0x2a4528(_0x3b20c0);_0x5585f3&&_0x165064&&_0x729c54[_0x366ec7(0x37e)]({'targetShapeId':_0x5585f3,'source':_0x165064});}return _0x729c54;}let _0x4a4b35=class extends _0x3d2575['Disposable']{constructor(_0x5545de,_0x253b40,_0xb3b80e,_0xe2819b){const _0x50df09=_0x1bb2bd;super(),this[_0x50df09(0x3da)]=_0x5545de,this[_0x50df09(0x4d4)]=_0x253b40,this[_0x50df09(0x37c)]=_0xb3b80e,this[_0x50df09(0x496)]=_0xe2819b,this[_0x50df09(0x4d6)]();}[_0x1bb2bd(0x4d6)](){const _0x253752=_0x1bb2bd;this[_0x253752(0x275)](this[_0x253752(0x4d4)][_0x253752(0x459)]({'getMutations':_0x3e0042=>{const _0x2fc86=_0x253752;if(_0x3e0042['id']===_0x306a90[_0x2fc86(0x1e9)]['id']){let _0x5cad37=(0x0,_0x306a90[_0x2fc86(0x173)])(this[_0x2fc86(0x3da)],_0x3e0042[_0x2fc86(0x4ad)]);if(!_0x5cad37)return{'redos':[],'undos':[]};let {unitId:_0x461829,subUnitId:_0x237c72}=_0x5cad37,_0x1340d6=this['_sheetDrawingService'][_0x2fc86(0x4c4)](_0x461829,_0x237c72),_0x2170ac=Object[_0x2fc86(0x174)](_0x1340d6)[_0x2fc86(0x262)](_0x29b429=>_0x29b429['drawingType']===_0x3d2575[_0x2fc86(0x2d2)][_0x2fc86(0x30b)]);if(_0x2170ac[_0x2fc86(0x40e)]===0x0)return{'redos':[],'undos':[]};let _0x18c006=[],_0x175489=[];for(let _0x3ab38c=0x0;_0x3ab38c<_0x2170ac['length'];_0x3ab38c++){let _0x1aa7b1=_0x2170ac[_0x3ab38c],_0x4521c0=this[_0x2fc86(0x496)][_0x2fc86(0x286)](_0x1aa7b1[_0x2fc86(0x26d)],_0x1aa7b1['subUnitId'],_0x1aa7b1[_0x2fc86(0x17d)]);_0x4521c0&&(_0x18c006[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x3f6)]['id'],'params':{'unitId':_0x461829,'subUnitId':_0x237c72,'shapeId':_0x1aa7b1[_0x2fc86(0x17d)]}}),_0x175489[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x1d1)]['id'],'params':{'unitId':_0x461829,'subUnitId':_0x237c72,'shapeId':_0x1aa7b1[_0x2fc86(0x17d)],'shapeType':_0x4521c0[_0x2fc86(0x441)](),'shapeData':JSON[_0x2fc86(0x37a)](JSON[_0x2fc86(0x28a)](_0x4521c0[_0x2fc86(0x4d2)]()))}}));}return{'redos':_0x18c006,'undos':_0x175489};}if(_0x3e0042['id']===_0x306a90['CopySheetCommand']['id']){let {unitId:_0x298aa4,subUnitId:_0x443cd2,targetSubUnitId:_0x5f53a,copyContext:_0x4265f6}=_0x3e0042[_0x2fc86(0x4ad)];if(!_0x298aa4||!_0x443cd2||!_0x5f53a)return{'redos':[],'undos':[]};let _0x45c972=this[_0x2fc86(0x37c)]['getDrawingData'](_0x298aa4,_0x443cd2),_0x202b9d=Object[_0x2fc86(0x174)](_0x45c972)['filter'](_0x23c2fe=>_0x23c2fe[_0x2fc86(0x1f2)]===_0x3d2575[_0x2fc86(0x2d2)][_0x2fc86(0x30b)]);if(_0x202b9d[_0x2fc86(0x40e)]===0x0)return{'redos':[],'undos':[]};let _0x317bdf=_0x58a49d(_0x4265f6,_0x202b9d,{'unitId':_0x298aa4,'sourceSubUnitId':_0x443cd2,'targetSubUnitId':_0x5f53a},_0x132310=>{const _0x54bff4=_0x2fc86;let _0x2f5d06=this[_0x54bff4(0x496)]['getShapeModel'](_0x132310[_0x54bff4(0x26d)],_0x132310[_0x54bff4(0x114)],_0x132310[_0x54bff4(0x17d)]);if(_0x2f5d06)return{'shapeType':_0x2f5d06[_0x54bff4(0x441)](),'shapeData':JSON['parse'](JSON[_0x54bff4(0x28a)](_0x2f5d06[_0x54bff4(0x4d2)]()))};}),_0xa9bf5d=[],_0x265b22=[];for(let {targetShapeId:_0x191da4,source:_0x3680d0}of _0x317bdf)_0xa9bf5d[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x1d1)]['id'],'params':{'unitId':_0x298aa4,'subUnitId':_0x5f53a,'shapeId':_0x191da4,'shapeType':_0x3680d0[_0x2fc86(0x1a7)],'shapeData':_0x3680d0[_0x2fc86(0x268)]}}),_0x265b22[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x3f6)]['id'],'params':{'unitId':_0x298aa4,'subUnitId':_0x5f53a,'shapeId':_0x191da4}});return{'redos':_0xa9bf5d,'undos':_0x265b22};}return{'redos':[],'undos':[]};}}));}};_0x4a4b35=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x363)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x327)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x20c5a7[_0x1bb2bd(0x1c7)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)]))],_0x4a4b35);let _0x550c2f=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x5157a8,_0x1be1ef,_0x2eb3a8,_0x9d1a84,_0x480d2b,_0x33355a){const _0x15a9db=_0x1bb2bd;super(),this[_0x15a9db(0x101)]=_0x5157a8,this[_0x15a9db(0x2ba)]=_0x1be1ef,this['_drawingManagerService']=_0x2eb3a8,this[_0x15a9db(0x48c)]=_0x9d1a84,this['_drawingRenderService']=_0x480d2b,this[_0x15a9db(0x2ad)]=_0x33355a,_0x19f136(this,_0x15a9db(0x2b4),new Set()),this[_0x15a9db(0x221)]();}[_0x1bb2bd(0x221)](){const _0xf86ba3=_0x1bb2bd;this[_0xf86ba3(0x38a)](),this[_0xf86ba3(0x382)](),this['_shapeUpdateListener']();}[_0x1bb2bd(0x38a)](){const _0x123ceb=_0x1bb2bd;this['disposeWithMe'](this['_drawingManagerService'][_0x123ceb(0x1c4)][_0x123ceb(0x3b2)](_0x1fb702=>{const _0x50610e=_0x123ceb;this[_0x50610e(0x360)](_0x1fb702);}));}[_0x1bb2bd(0x382)](){const _0x326fe2=_0x1bb2bd;this[_0x326fe2(0x275)](this[_0x326fe2(0x101)][_0x326fe2(0x2df)]((_0x5d4f65,_0x5dadfa)=>{const _0x3a8335=_0x326fe2;if(_0x5d4f65['id']===_0x111169[_0x3a8335(0x1d6)]['id']){let {unitId:_0x14aecf,subUnitId:_0x3e44f5,shapeId:_0x3f3e83}=_0x5d4f65[_0x3a8335(0x4ad)],_0x1cc89e=this[_0x3a8335(0x4c3)](_0x14aecf),_0x30fe00=(0x0,_0xf3cf76[_0x3a8335(0x372)])({'unitId':_0x14aecf,'subUnitId':_0x3e44f5,'drawingId':_0x3f3e83}),_0x18a0b4=_0x1cc89e==null?void 0x0:_0x1cc89e[_0x3a8335(0x179)][_0x3a8335(0x195)](_0x30fe00);_0x18a0b4&&(this[_0x3a8335(0x2ad)][_0x3a8335(0x3cd)](_0x18a0b4),this[_0x3a8335(0x2ad)][_0x3a8335(0x4a2)](_0x18a0b4,{'unitId':_0x14aecf,'subUnitId':_0x3e44f5,'shapeId':_0x3f3e83}),_0x18a0b4[_0x3a8335(0x4a5)](!0x0));}else{if(_0x5d4f65['id']===_0x111169[_0x3a8335(0x1d1)]['id']){var _0xa63acc;let {unitId:_0xeca003,subUnitId:_0x309cf4,shapeId:_0x1197b6}=_0x5d4f65[_0x3a8335(0x4ad)],_0x464007=this[_0x3a8335(0x4c3)](_0xeca003);if(_0x464007==null)return;let {scene:_0x431a51}=_0x464007,_0x51e32f=(0x0,_0xf3cf76[_0x3a8335(0x372)])({'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}),_0x581596=_0x431a51[_0x3a8335(0x195)](_0x51e32f);if(!((_0xa63acc=this[_0x3a8335(0x2ba)][_0x3a8335(0x40c)](_0xeca003))!=null&&_0xa63acc[_0x3a8335(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x3a8335(0x2cc)](_0x309cf4)))return!0x1;if(_0x581596)return;if(_0x5dadfa!=null&&_0x5dadfa['fromChangeset']){queueMicrotask(()=>{const _0x444cb7=_0x3a8335;this[_0x444cb7(0x1d8)]||this[_0x444cb7(0x360)]([{'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}]);});return;}this[_0x3a8335(0x360)]([{'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}]);}}}));}['_shapeUpdateListener'](){const _0x24b8c8=_0x1bb2bd;this[_0x24b8c8(0x275)](this['_drawingManagerService']['update$'][_0x24b8c8(0x3b2)](_0x10944b=>{const _0x469299=_0x24b8c8;_0x10944b[_0x469299(0x307)](_0x1e394d=>{const _0x36498b=_0x469299;let {unitId:_0x3566a2,subUnitId:_0x50c76b,drawingId:_0x22ab3d}=_0x1e394d,_0x1895bf=this[_0x36498b(0x479)][_0x36498b(0x4f0)](_0x1e394d);if(_0x1895bf==null)return;let {transform:_0x5a946d,drawingType:_0x382477,srcRect:_0x2c10d5,prstGeom:_0x3d2046}=_0x1895bf;if(_0x382477!==_0x3d2575[_0x36498b(0x2d2)][_0x36498b(0x30b)])return;let _0x3d29fe=this[_0x36498b(0x4c3)](_0x3566a2);if(_0x3d29fe==null)return;let {scene:_0x43a05c,transformer:_0x147b93}=_0x3d29fe;if(_0x5a946d==null)return!0x0;let _0x3a64ec=(0x0,_0xf3cf76[_0x36498b(0x372)])({'unitId':_0x3566a2,'subUnitId':_0x50c76b,'drawingId':_0x22ab3d}),_0xeae3b=_0x43a05c[_0x36498b(0x195)](_0x3a64ec);if(_0xeae3b==null)return!0x0;_0xeae3b['setSrcRect'](_0x2c10d5),_0xeae3b[_0x36498b(0x468)](_0x3d2046);});}));}[_0x1bb2bd(0x360)](_0xf105ba){const _0x365440=_0x1bb2bd;for(let _0x1c2974 of _0xf105ba){var _0x31c762;let {unitId:_0x4dd924,subUnitId:_0x11ae12,drawingId:_0x19f21b}=_0x1c2974,_0x16da4b=this[_0x365440(0x4c3)](_0x4dd924),_0x50d14f=(_0x31c762=(0x0,_0x2114cd[_0x365440(0x265)])(this['_currentUniverService'],_0x4dd924))==null?void 0x0:_0x31c762['subUnitId'];if(_0x16da4b==null||_0x50d14f!==_0x11ae12)return;let _0x2d885c=(0x0,_0xf3cf76[_0x365440(0x372)])({'unitId':_0x4dd924,'subUnitId':_0x11ae12,'drawingId':_0x19f21b});if(this[_0x365440(0x2b4)][_0x365440(0x22c)](_0x2d885c)||_0x16da4b[_0x365440(0x179)][_0x365440(0x195)](_0x2d885c)!=null)return;let _0x2cd850=this['_drawingManagerService'][_0x365440(0x4f0)](_0x1c2974);if(_0x2cd850==null||_0x2cd850[_0x365440(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x365440(0x30b)])return;let _0x2cc0ba=_0x2cd850[_0x365440(0x157)]||{};if((0x0,_0x756c25[_0x365440(0x4c9)])(_0x2cc0ba[_0x365440(0x1a7)])){let _0x2c98a1=_0x2cd850['transform'];_0x2c98a1&&(_0x2cd850[_0x365440(0x3e4)]={..._0x2c98a1,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x365440(0x2b4)][_0x365440(0x358)](_0x2d885c);try{this[_0x365440(0x2ad)][_0x365440(0x39d)](_0x2cd850,_0x16da4b[_0x365440(0x179)]);}finally{this[_0x365440(0x2b4)][_0x365440(0x417)](_0x2d885c);}queueMicrotask(()=>{const _0x3e188c=_0x365440;if(this[_0x3e188c(0x1d8)])return;let _0x21a7bc=(0x0,_0xf3cf76[_0x3e188c(0x372)])(_0x1c2974);if(!_0x16da4b[_0x3e188c(0x179)][_0x3e188c(0x195)](_0x21a7bc))return;let _0x8dbb0d=this[_0x3e188c(0x479)][_0x3e188c(0x4f0)](_0x1c2974);_0x8dbb0d&&this['_drawingManagerService'][_0x3e188c(0x149)]([_0x8dbb0d]);});}}[_0x1bb2bd(0x4c3)](_0x3444a1){const _0x1467f5=_0x1bb2bd;if(_0x3444a1==null)return;let _0x1812a3=this['_renderManagerService'][_0x1467f5(0x40c)](_0x3444a1),_0xd2690=_0x1812a3==null?void 0x0:_0x1812a3['scene'];return _0xd2690==null?null:{'scene':_0xd2690,'transformer':_0xd2690[_0x1467f5(0x4b5)]()};}};_0x550c2f=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x1,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x2,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x2114cd['DrawingRenderService'])),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf))],_0x550c2f);let _0x136eef={'normal':{'fill':_0x756c25[_0x1bb2bd(0x3ba)][_0x1bb2bd(0x392)],'stroke':_0x756c25[_0x1bb2bd(0x3ba)][_0x1bb2bd(0x124)],'strokeWidth':_0x756c25['ShapeDefaultConfig'][_0x1bb2bd(0x3dd)]},'highlighted':{'fill':_0x1bb2bd(0x22b),'stroke':_0x1bb2bd(0x2d8),'strokeWidth':0x2}};var _0x4c5a49=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x19853e,_0x52a703){const _0x524943=_0x1bb2bd;super(_0x19853e,_0x52a703),_0x19f136(this,_0x524943(0x305),''),_0x19f136(this,_0x524943(0x14d),-0x1),_0x19f136(this,_0x524943(0x4f9),''),_0x19f136(this,_0x524943(0x34e),''),_0x19f136(this,'_isHighlighted',!0x1),_0x52a703&&this[_0x524943(0x36d)](_0x52a703);}[_0x1bb2bd(0x3a6)](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this['_cxnIndex']};}[_0x1bb2bd(0x155)](_0x2263a6){const _0x48023f=_0x1bb2bd;this[_0x48023f(0x41f)]!==_0x2263a6&&(this[_0x48023f(0x41f)]=_0x2263a6,this[_0x48023f(0x4a5)](!0x0));}[_0x1bb2bd(0x420)](){return this['_isHighlighted'];}[_0x1bb2bd(0x36d)](_0x59babd){const _0x452b45=_0x1bb2bd;_0x59babd['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x59babd[_0x452b45(0x3f5)]),_0x59babd[_0x452b45(0x320)]!==void 0x0&&(this[_0x452b45(0x14d)]=_0x59babd[_0x452b45(0x320)]),_0x59babd['unitId']!==void 0x0&&(this[_0x452b45(0x4f9)]=_0x59babd['unitId']),_0x59babd['subUnitId']!==void 0x0&&(this[_0x452b45(0x34e)]=_0x59babd[_0x452b45(0x114)]),_0x59babd['isHighlighted']!==void 0x0&&(this[_0x452b45(0x41f)]=_0x59babd[_0x452b45(0x420)]),this[_0x452b45(0x2e5)]({'width':_0x59babd['width']??_0x756c25[_0x452b45(0x3ba)]['cxnPointRadius']*0x2,'height':_0x59babd[_0x452b45(0x1db)]??_0x756c25[_0x452b45(0x3ba)][_0x452b45(0x19f)]*0x2});}[_0x1bb2bd(0x2cb)](_0x3025e3){const _0x2b5627=_0x1bb2bd;let _0x29bb09=this[_0x2b5627(0x41f)]?_0x136eef['highlighted']:_0x136eef[_0x2b5627(0x37d)];_0x610ad8['Circle'][_0x2b5627(0x4cc)](_0x3025e3,{'radius':_0x756c25[_0x2b5627(0x3ba)][_0x2b5627(0x19f)],'fill':_0x29bb09[_0x2b5627(0x266)],'stroke':_0x29bb09[_0x2b5627(0x4e8)],'strokeWidth':_0x29bb09['strokeWidth'],'evented':!0x0});}};let _0x3ac682=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x45d23e,_0x12a09d,_0x10503a,_0x2e3abd){const _0x3bfbcb=_0x1bb2bd;super(),this['_context']=_0x45d23e,this['_renderManagerService']=_0x12a09d,this['_drawingManagerService']=_0x10503a,this[_0x3bfbcb(0x496)]=_0x2e3abd,_0x19f136(this,'_connectionSiteObjects',[]),_0x19f136(this,_0x3bfbcb(0x438),null),_0x19f136(this,_0x3bfbcb(0x385),-0x1),_0x19f136(this,_0x3bfbcb(0x36e),null),_0x19f136(this,_0x3bfbcb(0x4f9),''),_0x19f136(this,'_subUnitId',''),_0x19f136(this,_0x3bfbcb(0x2b0),null);}[_0x1bb2bd(0x347)](_0x281bb1,_0x534f98,_0x5761f8,_0x408eda){const _0x2ab456=_0x1bb2bd;this[_0x2ab456(0x36e)]=_0x281bb1,this[_0x2ab456(0x4f9)]=_0x534f98,this['_subUnitId']=_0x5761f8,this[_0x2ab456(0x2b0)]=_0x408eda;}['updateConnectionDetection'](_0x4ffcd4){const _0x1e177d=_0x1bb2bd;if(!this[_0x1e177d(0x36e)])return null;let _0x259bc8=this['_findShapeAtPoint'](_0x4ffcd4);return _0x259bc8?(this[_0x1e177d(0x438)]!==_0x259bc8[_0x1e177d(0x4dd)]&&(this[_0x1e177d(0x204)](),this[_0x1e177d(0x3b0)](_0x259bc8['shapeId'],_0x259bc8[_0x1e177d(0x184)]),this[_0x1e177d(0x438)]=_0x259bc8[_0x1e177d(0x4dd)]),this['_findNearestConnectionSite'](_0x4ffcd4)):(this['_activeTargetShapeId']!==null&&(this['_clearConnectionSites'](),this[_0x1e177d(0x438)]=null),null);}[_0x1bb2bd(0x435)](){const _0xf96cb8=_0x1bb2bd;this['_clearConnectionSites'](),this[_0xf96cb8(0x36e)]=null,this[_0xf96cb8(0x438)]=null,this[_0xf96cb8(0x385)]=-0x1,this[_0xf96cb8(0x2b0)]=null;}[_0x1bb2bd(0x3a9)](){const _0x102220=_0x1bb2bd;return this[_0x102220(0x438)]===null||this[_0x102220(0x385)]<0x0?null:{'shapeId':this[_0x102220(0x438)],'cxnIndex':this[_0x102220(0x385)]};}[_0x1bb2bd(0x3c1)](_0x3bd885){const _0x27d55c=_0x1bb2bd;let _0x45f3f4=this[_0x27d55c(0x479)][_0x27d55c(0x4c4)](this['_unitId'],this['_subUnitId']);for(let _0x2f7572 of Object['keys'](_0x45f3f4)){if(_0x2f7572===this[_0x27d55c(0x2b0)]||_0x45f3f4[_0x2f7572][_0x27d55c(0x1f2)]!==_0x3d2575[_0x27d55c(0x2d2)][_0x27d55c(0x30b)])continue;let _0x317c9b=this[_0x27d55c(0x496)][_0x27d55c(0x286)](this[_0x27d55c(0x4f9)],this[_0x27d55c(0x34e)],_0x2f7572);if(!_0x317c9b||(0x0,_0x756c25[_0x27d55c(0x4c9)])(_0x317c9b[_0x27d55c(0x441)]())||_0x317c9b[_0x27d55c(0x30e)]()[_0x27d55c(0x40e)]===0x0||!this[_0x27d55c(0x36e)])continue;let _0x389b78=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x27d55c(0x4f9)],'subUnitId':this[_0x27d55c(0x34e)],'drawingId':_0x2f7572}),_0x505ce2=this[_0x27d55c(0x36e)][_0x27d55c(0x195)](_0x389b78);if(!_0x505ce2)continue;let {left:_0x6b211a,top:_0x515b09,width:_0x38d23b,height:_0x21dfdf}=_0x505ce2[_0x27d55c(0x430)](),_0x5ee30c=_0x6b211a+_0x38d23b/0x2,_0x2285d4=_0x515b09+_0x21dfdf/0x2,_0x556843=_0x505ce2[_0x27d55c(0x3e4)][_0x27d55c(0x328)](),_0x361014=new _0x610ad8[(_0x27d55c(0x2dc))]([_0x556843[0x0],_0x556843[0x1],_0x556843[0x2],_0x556843[0x3],_0x5ee30c,_0x2285d4]),_0x38d2e8=_0x505ce2[_0x27d55c(0x303)](),_0x306013=(_0x505ce2['isInGroup']&&(_0x38d2e8==null?void 0x0:_0x38d2e8['classType'])===_0x610ad8[_0x27d55c(0x164)]['GROUP']?_0x38d2e8[_0x27d55c(0x3d6)][_0x27d55c(0x444)](_0x361014):_0x361014)[_0x27d55c(0x111)]()[_0x27d55c(0x356)](_0x3bd885),_0x594966=_0x38d23b/0x2,_0x7cca1d=_0x21dfdf/0x2;if(_0x306013['x']>=-_0x594966-0x5&&_0x306013['x']<=_0x594966+0x5&&_0x306013['y']>=-_0x7cca1d-0x5&&_0x306013['y']<=_0x7cca1d+0x5)return{'shapeId':_0x2f7572,'shapeModel':_0x317c9b};}return null;}[_0x1bb2bd(0x3b0)](_0x2a3c7c,_0x10b3d4){const _0x57841c=_0x1bb2bd;if(!this[_0x57841c(0x36e)])return;let _0x8394cd=(0x0,_0xf3cf76[_0x57841c(0x372)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x2a3c7c}),_0x4923b9=this[_0x57841c(0x36e)][_0x57841c(0x195)](_0x8394cd);if(!_0x4923b9)return;let {left:_0xb4df12,top:_0x4071b8,width:_0x139be4,height:_0x23d0e9}=_0x4923b9[_0x57841c(0x430)](),_0x589ecc=_0xb4df12+_0x139be4/0x2,_0x95453e=_0x4071b8+_0x23d0e9/0x2,_0x198856=_0x4923b9['transform'][_0x57841c(0x328)](),_0x516f31=new _0x610ad8['Transform']([_0x198856[0x0],_0x198856[0x1],_0x198856[0x2],_0x198856[0x3],_0x589ecc,_0x95453e]),_0x3c4467=_0x4923b9[_0x57841c(0x303)](),_0x45cc7c=_0x4923b9['isInGroup']&&(_0x3c4467==null?void 0x0:_0x3c4467[_0x57841c(0x285)])===_0x610ad8[_0x57841c(0x164)][_0x57841c(0x25f)]?_0x3c4467[_0x57841c(0x3d6)][_0x57841c(0x444)](_0x516f31):_0x516f31;_0x10b3d4[_0x57841c(0x210)]({'width':_0x139be4,'height':_0x23d0e9});let _0x205f25=_0x10b3d4['getConnectionSiteList']();for(let _0x85118 of _0x205f25){let _0x540137=_0x85118['x']-_0x139be4/0x2,_0x4fdab1=_0x85118['y']-_0x23d0e9/0x2,_0x2e51d9=_0x45cc7c[_0x57841c(0x356)]({'x':_0x540137,'y':_0x4fdab1}),_0x3cf6b6=_0x2e51d9['x'],_0x1508c6=_0x2e51d9['y'],_0x5615ec=new _0x4c5a49(_0x57841c(0x133)+_0x2a3c7c+'-'+_0x85118[_0x57841c(0x19c)],{'left':_0x3cf6b6-_0x756c25[_0x57841c(0x3ba)][_0x57841c(0x19f)],'top':_0x1508c6-_0x756c25['ShapeDefaultConfig'][_0x57841c(0x19f)],'targetShapeId':_0x2a3c7c,'cxnIndex':_0x85118[_0x57841c(0x19c)],'unitId':this[_0x57841c(0x4f9)],'subUnitId':this[_0x57841c(0x34e)],'width':_0x756c25['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x756c25[_0x57841c(0x3ba)][_0x57841c(0x19f)]*0x2,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x57841c(0x216)][_0x57841c(0x37e)](_0x5615ec),this[_0x57841c(0x36e)]['addObject'](_0x5615ec,_0x610ad8[_0x57841c(0x239)]+0x2);}}[_0x1bb2bd(0x3c4)](_0x3e478e){const _0x25be0=_0x1bb2bd;let _0x965551=null,_0x583c89=0x1/0x0,_0x285e71=null;for(let _0x1c1695 of this[_0x25be0(0x216)]){let _0xc7e9cc=_0x1c1695[_0x25be0(0x20a)]+_0x756c25[_0x25be0(0x3ba)][_0x25be0(0x19f)],_0x21bdb4=_0x1c1695[_0x25be0(0x49c)]+_0x756c25[_0x25be0(0x3ba)][_0x25be0(0x19f)],_0x32b1bd=_0x3e478e['x']-_0xc7e9cc,_0x5aac74=_0x3e478e['y']-_0x21bdb4,_0x29578c=Math['sqrt'](_0x32b1bd*_0x32b1bd+_0x5aac74*_0x5aac74);_0x29578c<_0x583c89&&(_0x583c89=_0x29578c,_0x965551=_0x1c1695,_0x285e71={'x':_0xc7e9cc,'y':_0x21bdb4});}let _0x24eb8b=_0x583c89<=0xa&&_0x965551?_0x965551[_0x25be0(0x3a6)]()[_0x25be0(0x320)]:-0x1;if(_0x24eb8b!==this['_highlightedSiteIndex']){for(let _0x240487 of this[_0x25be0(0x216)]){let _0x114131=_0x240487[_0x25be0(0x3a6)]();_0x240487['setHighlighted'](_0x114131[_0x25be0(0x320)]===_0x24eb8b);}this[_0x25be0(0x385)]=_0x24eb8b;}if(_0x583c89<=0xa&&_0x965551&&_0x285e71){let _0x1c9fad=_0x965551[_0x25be0(0x3a6)](),_0x36d5d4=this[_0x25be0(0x394)](_0x1c9fad[_0x25be0(0x4dd)],_0x1c9fad[_0x25be0(0x320)]);return{'shapeId':_0x1c9fad[_0x25be0(0x4dd)],'cxnIndex':_0x1c9fad[_0x25be0(0x320)],'unitId':_0x1c9fad['unitId'],'subUnitId':_0x1c9fad[_0x25be0(0x114)],'worldPoint':_0x285e71,'angle':_0x36d5d4};}return null;}[_0x1bb2bd(0x394)](_0x1b569c,_0x50bef9){const _0x2232c0=_0x1bb2bd;let _0xb04b37=this['_sheetsShapeService']['getShapeModel'](this[_0x2232c0(0x4f9)],this['_subUnitId'],_0x1b569c);if(!_0xb04b37)return 0x0;let _0x414102=this[_0x2232c0(0x479)][_0x2232c0(0x4f0)]({'unitId':this[_0x2232c0(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':_0x1b569c});if(!(_0x414102!=null&&_0x414102['transform']))return 0x0;let {width:_0x4be2e9=0x0,height:_0x35fec1=0x0,flipX:_0x3a4149=!0x1,flipY:_0x5582d1=!0x1}=_0x414102[_0x2232c0(0x3e4)];_0xb04b37['updateContext']({'width':_0x4be2e9,'height':_0x35fec1});let _0x5b57f6=_0xb04b37[_0x2232c0(0x30e)]()[_0x2232c0(0x30a)](_0x5b34e0=>_0x5b34e0[_0x2232c0(0x19c)]===_0x50bef9);if(!_0x5b57f6)return 0x0;let _0x304d6a=_0x5b57f6['ang']/0xea60;return _0x3a4149&&(_0x304d6a=0xb4-_0x304d6a),_0x5582d1&&(_0x304d6a=-_0x304d6a),_0x304d6a=(_0x304d6a%0x168+0x168)%0x168,_0x304d6a;}[_0x1bb2bd(0x204)](){const _0xc4825b=_0x1bb2bd;for(let _0x185677 of this[_0xc4825b(0x216)])_0x185677[_0xc4825b(0x3cc)]();this[_0xc4825b(0x216)]=[],this[_0xc4825b(0x385)]=-0x1;}[_0x1bb2bd(0x3cc)](){const _0x453621=_0x1bb2bd;this['_clearConnectionSites'](),super[_0x453621(0x3cc)]();}};_0x3ac682=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xf3cf76[_0x1bb2bd(0x2fe)])),_0x25f0d4(0x3,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)]))],_0x3ac682);let _0x4e2732=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x138baa,_0x76dd47,_0x31288e,_0x5ba741,_0x1e09e6){const _0x16e109=_0x1bb2bd;super(),this[_0x16e109(0x2a5)]=_0x138baa,this[_0x16e109(0x32c)]=_0x76dd47,this[_0x16e109(0x37c)]=_0x31288e,this[_0x16e109(0x169)]=_0x5ba741,this['_groupCopyPasteController']=_0x1e09e6,_0x19f136(this,_0x16e109(0xfe),void 0x0),this[_0x16e109(0x1c5)](),this[_0x16e109(0x389)]();}get[_0x1bb2bd(0x2d5)](){const _0x9344d7=_0x1bb2bd;return this[_0x9344d7(0x37c)][_0x9344d7(0x337)]();}[_0x1bb2bd(0x389)](){const _0x43253e=_0x1bb2bd;this[_0x43253e(0x1a0)][_0x43253e(0x1f0)](({fromUnitId:_0x4bd721,fromSubUnitId:_0x3670ce,toUnitId:_0x3c86db,toSubUnitId:_0x155f8c,idMap:_0x10e927})=>{const _0x49d81a=_0x43253e;let _0xa4ea35=[],_0x5b53da=[];for(let [_0x498d9e,_0x3692bb]of _0x10e927[_0x49d81a(0x334)]()){let _0x2d3a17=this[_0x49d81a(0x169)][_0x49d81a(0x286)](_0x4bd721,_0x3670ce,_0x498d9e);if(!_0x2d3a17)continue;let _0x3b1133=_0x2d3a17[_0x49d81a(0x441)](),_0x5e8af0=JSON['parse'](JSON[_0x49d81a(0x28a)](_0x2d3a17[_0x49d81a(0x4d2)]()));if(_0x5e8af0[_0x49d81a(0x297)]){var _0x1e64ec,_0xa60fc;let _0xae6f32=(_0x1e64ec=_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)])==null?void 0x0:_0x1e64ec[_0x49d81a(0x4dd)],_0x49b9ca=(_0xa60fc=_0x5e8af0[_0x49d81a(0x297)]['to'])==null?void 0x0:_0xa60fc[_0x49d81a(0x4dd)],_0x42aa5b=!_0xae6f32||_0x10e927['has'](_0xae6f32),_0x3ab7db=!_0x49b9ca||_0x10e927[_0x49d81a(0x22c)](_0x49b9ca);_0x42aa5b&&_0xae6f32&&_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]?_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]={..._0x5e8af0[_0x49d81a(0x297)]['from'],'shapeId':_0x10e927[_0x49d81a(0x107)](_0xae6f32)}:_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]=void 0x0,_0x3ab7db&&_0x49b9ca&&_0x5e8af0[_0x49d81a(0x297)]['to']?_0x5e8af0['relation']['to']={..._0x5e8af0[_0x49d81a(0x297)]['to'],'shapeId':_0x10e927['get'](_0x49b9ca)}:_0x5e8af0['relation']['to']=void 0x0;}_0xa4ea35[_0x49d81a(0x37e)]({'id':_0x111169[_0x49d81a(0x1d1)]['id'],'params':{'unitId':_0x3c86db,'subUnitId':_0x155f8c,'shapeId':_0x3692bb,'shapeType':_0x3b1133,'shapeData':_0x5e8af0}}),_0x5b53da['push']({'id':_0x111169['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x3c86db,'subUnitId':_0x155f8c,'shapeId':_0x3692bb}});}return{'redos':_0xa4ea35,'undos':_0x5b53da};});}[_0x1bb2bd(0x1c5)](){const _0x11bb91=_0x1bb2bd;this['disposeWithMe'](this[_0x11bb91(0x32c)][_0x11bb91(0x4d1)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x4872a9,_0x4d8edb,_0x55baf9)=>{const _0x56ced5=_0x11bb91;this['_copyInfo']=null;let _0x11c125=this[_0x56ced5(0x2d5)][_0x56ced5(0x262)](_0x4649b0=>_0x4649b0[_0x56ced5(0x1f2)]===_0x3d2575[_0x56ced5(0x2d2)][_0x56ced5(0x30b)]);return _0x11c125[_0x56ced5(0x40e)]!==0x0&&(this['_copyInfo']={'unitId':_0x4872a9,'subUnitId':_0x4d8edb,'copyType':_0x55baf9,'drawings':_0x11c125},!0x0);},'onBeforeCopy':(_0xf09c88,_0x11f025,_0x51a802,_0x477eac)=>{const _0x254314=_0x11bb91;this[_0x254314(0xfe)]=null,this[_0x254314(0x1b1)](_0xf09c88,_0x11f025,_0x51a802,_0x477eac);},'onPasteCells':(_0x117421,_0x1a3a18,_0x2f1819,_0x53ad39)=>{const _0x11bcb7=_0x11bb91;if(!_0x53ad39[_0x11bcb7(0x1c8)]||!_0x117421||!this[_0x11bcb7(0xfe)])return{'redos':[],'undos':[]};let {pasteType:_0x2b8018}=_0x53ad39;return _0x2b8018===_0x542241[_0x11bcb7(0x2c9)][_0x11bcb7(0x3ef)]?this[_0x11bcb7(0x1d0)](_0x1a3a18,this[_0x11bcb7(0xfe)][_0x11bcb7(0x20f)]===_0x542241[_0x11bcb7(0x1c3)][_0x11bcb7(0x166)]):{'redos':[],'undos':[]};}}));}[_0x1bb2bd(0x1b1)](_0x49d1d5,_0x362706,_0x1d147a,_0x48f8eb){const _0x4b41c4=_0x1bb2bd;let _0xd25446=this[_0x4b41c4(0x2a5)][_0x4b41c4(0x2cc)](_0x49d1d5,_0x362706);if(!_0xd25446)return;let _0x57f70e=(0x0,_0x306a90[_0x4b41c4(0x344)])(_0xd25446,_0x1d147a);if(!_0x57f70e)return;let {startX:_0x3ee408,endX:_0x4c8964,startY:_0x318bad,endY:_0x357ce9}=_0x57f70e,_0x3e8863=this['_sheetDrawingService'][_0x4b41c4(0x4c4)](_0x49d1d5,_0x362706),_0x30adca=[];for(let [_0x68c5df,_0x25a0dd]of Object[_0x4b41c4(0x334)](_0x3e8863)){if(_0x25a0dd[_0x4b41c4(0x1f2)]!==_0x3d2575[_0x4b41c4(0x2d2)][_0x4b41c4(0x30b)])continue;let {transform:_0x176248}=_0x25a0dd;if(!_0x176248)continue;let {left:_0xa2659=0x0,top:_0x200983=0x0,width:_0x2b0ddd=0x0,height:_0x58eb08=0x0}=_0x176248;_0x3ee408<=_0xa2659&&_0x4c8964>=_0xa2659+_0x2b0ddd&&_0x318bad<=_0x200983&&_0x357ce9>=_0x200983+_0x58eb08&&_0x30adca['push'](_0x25a0dd);}_0x30adca[_0x4b41c4(0x40e)]>0x0&&(this[_0x4b41c4(0xfe)]={'unitId':_0x49d1d5,'subUnitId':_0x362706,'copyType':_0x48f8eb,'copyRange':_0x1d147a,'drawings':_0x30adca});}[_0x1bb2bd(0x1d0)](_0x755a30,_0x393473){const _0x989c1b=_0x1bb2bd;let {unitId:_0x2e4930,subUnitId:_0x403e4c,range:_0x2687b6}=_0x755a30,_0x470dd2=this[_0x989c1b(0x2a5)]['getSkeleton'](_0x2e4930,_0x403e4c);if(!_0x470dd2)return{'redos':[],'undos':[]};let _0x185c80=(0x0,_0x306a90[_0x989c1b(0x3fa)])(_0x2687b6),{unitId:_0x1a0052,subUnitId:_0x44cccc,copyRange:_0x2f6f91,drawings:_0x573d2f}=this['_copyInfo'],_0x1df4be=this[_0x989c1b(0x2a5)][_0x989c1b(0x2cc)](_0x1a0052,_0x44cccc);if(!_0x1df4be)return{'redos':[],'undos':[]};let _0x37dfa5;if(!_0x2f6f91){let _0x540e33=0x1/0x0,_0x662a47=0x1/0x0;for(let _0x3b7746 of _0x573d2f){let {left:_0x25872a=0x0,top:_0x39f758=0x0}=_0x3b7746[_0x989c1b(0x3e4)]??{};_0x25872a<_0x540e33&&(_0x540e33=_0x25872a),_0x39f758<_0x662a47&&(_0x662a47=_0x39f758);}_0x540e33!==0x1/0x0&&_0x662a47!==0x1/0x0&&(_0x37dfa5={'left':_0x540e33,'top':_0x662a47});}let _0x360111=new Map();if(!_0x393473){for(let _0x18f5f5 of _0x573d2f)_0x360111[_0x989c1b(0x100)](_0x18f5f5[_0x989c1b(0x17d)],(0x0,_0x3d2575[_0x989c1b(0x13f)])());}let _0x477247=[],_0xce16ea=[];for(let _0x37d02b of _0x573d2f){let {drawingId:_0x169da9,transform:_0x4acc28,sheetTransform:_0x2192a1}=_0x37d02b;if(!_0x4acc28||!_0x2192a1)continue;let _0x437580=this['_updateTransform']({'transform':_0x4acc28,'sheetTransform':_0x2192a1},{'skeleton':_0x1df4be,'range':_0x2f6f91},{'skeleton':_0x470dd2,'range':_0x185c80},_0x37dfa5);if(_0x393473){let {redos:_0x34a68e,undos:_0x2c5ba0}=this[_0x989c1b(0x293)]({'fromUnitId':_0x1a0052,'fromSubUnitId':_0x44cccc,'toUnitId':_0x2e4930,'toSubUnitId':_0x403e4c,'drawing':_0x37d02b,'newTransforms':_0x437580});_0x477247[_0x989c1b(0x37e)](..._0x34a68e),_0xce16ea['push'](..._0x2c5ba0);continue;}let {redos:_0x2be408,undos:_0x341b12}=this[_0x989c1b(0x398)]({'toUnitId':_0x2e4930,'toSubUnitId':_0x403e4c,'drawing':_0x37d02b,'newTransforms':_0x437580,'newDrawingId':_0x360111[_0x989c1b(0x107)](_0x169da9),'idMap':_0x360111});_0x477247[_0x989c1b(0x37e)](..._0x2be408),_0xce16ea['push'](..._0x341b12);}return{'redos':_0x477247,'undos':_0xce16ea};}['_generateCutPasteMutations'](_0x478c20){const _0x41053c=_0x1bb2bd;let {fromUnitId:_0x86a04e,fromSubUnitId:_0x3044da,toUnitId:_0x5ba55b,toSubUnitId:_0x332669,drawing:_0x5d7e94,newTransforms:_0x4bbd8c}=_0x478c20,_0x2d7b9a={..._0x5d7e94,'unitId':_0x5ba55b,'subUnitId':_0x332669,'transform':_0x4bbd8c['transform'],'sheetTransform':_0x4bbd8c[_0x41053c(0x492)]};if(_0x5ba55b===_0x86a04e&&_0x332669===_0x3044da){let {redo:_0x185ef5,undo:_0x446661,objects:_0x300d90}=this[_0x41053c(0x37c)][_0x41053c(0x338)]([_0x2d7b9a]);return{'redos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x45b)],'op':_0x185ef5,'objects':_0x300d90}}],'undos':[{'id':_0x20c5a7['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x45b)],'op':_0x446661,'objects':_0x300d90}}]};}{let _0x4585bd=this[_0x41053c(0x37c)][_0x41053c(0x282)]([_0x5d7e94]),_0x11e9ce=this[_0x41053c(0x37c)][_0x41053c(0x428)]([_0x2d7b9a]),_0x1887c2=this[_0x41053c(0x169)][_0x41053c(0x286)](_0x5d7e94[_0x41053c(0x26d)],_0x5d7e94['subUnitId'],_0x5d7e94[_0x41053c(0x17d)]);if(!_0x1887c2)return{'redos':[],'undos':[]};let _0x5d1b79=_0x1887c2[_0x41053c(0x441)](),_0x589c00=JSON['parse'](JSON[_0x41053c(0x28a)](_0x1887c2[_0x41053c(0x4d2)]()));return{'redos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x1b8)],'op':_0x4585bd[_0x41053c(0x395)],'objects':_0x4585bd[_0x41053c(0x180)]}},{'id':_0x111169['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'shapeId':_0x5d7e94[_0x41053c(0x17d)]}},{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x357)],'op':_0x11e9ce[_0x41053c(0x395)],'objects':_0x11e9ce[_0x41053c(0x180)]}},{'id':_0x111169[_0x41053c(0x1d1)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'shapeId':_0x5d7e94[_0x41053c(0x17d)],'shapeType':_0x5d1b79,'shapeData':_0x589c00}}],'undos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x357)],'op':_0x4585bd[_0x41053c(0x432)],'objects':_0x4585bd[_0x41053c(0x180)]}},{'id':_0x111169['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'shapeId':_0x5d7e94['drawingId'],'shapeType':_0x5d1b79,'shapeData':_0x589c00}},{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7['DrawingApplyType']['REMOVE'],'op':_0x11e9ce[_0x41053c(0x432)],'objects':_0x11e9ce[_0x41053c(0x180)]}},{'id':_0x111169[_0x41053c(0x3f6)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'shapeId':_0x5d7e94['drawingId']}}]};}}[_0x1bb2bd(0x398)](_0x437be2){const _0x479583=_0x1bb2bd;let {toUnitId:_0x3b8c18,toSubUnitId:_0x2ea586,drawing:_0x1dcb97,newTransforms:_0x3307b1,newDrawingId:_0x2414dc,idMap:_0x1e74e6}=_0x437be2,_0x433030={..._0x1dcb97,'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'drawingId':_0x2414dc,'transform':_0x3307b1[_0x479583(0x3e4)],'sheetTransform':_0x3307b1[_0x479583(0x492)]},{redo:_0x56bdac,undo:_0x2da038,objects:_0x39a34e}=this[_0x479583(0x37c)][_0x479583(0x428)]([_0x433030]),_0x40abd7=this['_shapeService']['getShapeModel'](_0x1dcb97[_0x479583(0x26d)],_0x1dcb97[_0x479583(0x114)],_0x1dcb97[_0x479583(0x17d)]);if(!_0x40abd7)return{'redos':[],'undos':[]};let _0x2c99b6=_0x40abd7[_0x479583(0x441)](),_0x2d7007=JSON[_0x479583(0x37a)](JSON[_0x479583(0x28a)](_0x40abd7[_0x479583(0x4d2)]()));if(_0x2d7007[_0x479583(0x297)]){var _0x4424e9,_0x4e17d4;let _0x1a3c31=(_0x4424e9=_0x2d7007['relation'][_0x479583(0x24e)])==null?void 0x0:_0x4424e9[_0x479583(0x4dd)],_0xb5a610=(_0x4e17d4=_0x2d7007[_0x479583(0x297)]['to'])==null?void 0x0:_0x4e17d4[_0x479583(0x4dd)],_0x2e356b=!_0x1a3c31||_0x1e74e6[_0x479583(0x22c)](_0x1a3c31),_0x4bcde7=!_0xb5a610||_0x1e74e6[_0x479583(0x22c)](_0xb5a610);_0x2e356b&&_0x1a3c31&&_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]?_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]={..._0x2d7007[_0x479583(0x297)][_0x479583(0x24e)],'shapeId':_0x1e74e6[_0x479583(0x107)](_0x1a3c31)}:_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]=void 0x0,_0x4bcde7&&_0xb5a610&&_0x2d7007[_0x479583(0x297)]['to']?_0x2d7007['relation']['to']={..._0x2d7007[_0x479583(0x297)]['to'],'shapeId':_0x1e74e6['get'](_0xb5a610)}:_0x2d7007['relation']['to']=void 0x0;}return{'redos':[{'id':_0x20c5a7[_0x479583(0x1f8)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'type':_0x20c5a7[_0x479583(0x34c)][_0x479583(0x357)],'op':_0x56bdac,'objects':_0x39a34e}},{'id':_0x111169[_0x479583(0x1d1)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'shapeId':_0x2414dc,'shapeType':_0x2c99b6,'shapeData':_0x2d7007}}],'undos':[{'id':_0x20c5a7[_0x479583(0x1f8)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'type':_0x20c5a7['DrawingApplyType'][_0x479583(0x1b8)],'op':_0x2da038,'objects':_0x39a34e}},{'id':_0x111169[_0x479583(0x3f6)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'shapeId':_0x2414dc}}]};}['_updateTransform'](_0x361c77,_0x1f21ce,_0x2487f1,_0x59e74f){const _0x4cfdb4=_0x1bb2bd;let {range:_0x6c21e2,skeleton:_0x3c14ab}=_0x1f21ce,{range:_0x211949,skeleton:_0x1e5c1d}=_0x2487f1,{transform:_0x3c7f68,sheetTransform:_0x1dcb7b}=_0x361c77,_0x555a46={..._0x3c7f68};if(_0x6c21e2){let _0x5da3e0=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x3c14ab,_0x6c21e2),_0x211ff4=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x1e5c1d,_0x211949);if(_0x5da3e0&&_0x211ff4){let _0x4f9d8c=_0x211ff4['startX']-_0x5da3e0[_0x4cfdb4(0x2ac)],_0x3cc6f0=_0x211ff4[_0x4cfdb4(0x332)]-_0x5da3e0[_0x4cfdb4(0x332)];_0x555a46['left']=(_0x555a46['left']??0x0)+_0x4f9d8c,_0x555a46['top']=(_0x555a46['top']??0x0)+_0x3cc6f0;}}else{let _0x4bf7a8=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x1e5c1d,_0x211949);if(_0x59e74f&&_0x4bf7a8){let _0xe5a99d=(_0x555a46[_0x4cfdb4(0x20a)]??0x0)-_0x59e74f[_0x4cfdb4(0x20a)],_0x5cfe4f=(_0x555a46[_0x4cfdb4(0x49c)]??0x0)-_0x59e74f[_0x4cfdb4(0x49c)];_0x555a46['left']=_0x4bf7a8[_0x4cfdb4(0x2ac)]+_0xe5a99d,_0x555a46[_0x4cfdb4(0x49c)]=_0x4bf7a8['startY']+_0x5cfe4f;}else _0x555a46['left']=_0x4bf7a8==null?void 0x0:_0x4bf7a8[_0x4cfdb4(0x2ac)],_0x555a46[_0x4cfdb4(0x49c)]=_0x4bf7a8==null?void 0x0:_0x4bf7a8[_0x4cfdb4(0x332)];}return{'transform':_0x555a46,'sheetTransform':(0x0,_0x20c5a7[_0x4cfdb4(0x456)])(_0x555a46,_0x1e5c1d)??_0x1dcb7b};}};_0x4e2732=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x41a)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x12e)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x20c5a7[_0x1bb2bd(0x1c7)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x51ad4c['SheetsDrawingGroupCopyPasteController']))],_0x4e2732);var _0x2a5063=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x37c63d,_0x52705a){const _0x453243=_0x1bb2bd;super(_0x37c63d,_0x52705a),_0x19f136(this,_0x453243(0x4a9),null),_0x19f136(this,_0x453243(0x2d4),null),_0x19f136(this,_0x453243(0x4f9),null),_0x19f136(this,'_subUnitId',null),_0x19f136(this,_0x453243(0x4b3),!0x1),_0x52705a&&this[_0x453243(0x36d)](_0x52705a);}[_0x1bb2bd(0x1c1)](){const _0x5aafd6=_0x1bb2bd;return{'unitId':this['_unitId'],'subUnitId':this[_0x5aafd6(0x34e)],'drawingId':this[_0x5aafd6(0x4a9)]};}['setShapeProps'](_0x51128e){const _0x2cd07b=_0x1bb2bd;_0x51128e['shapeId']!==void 0x0&&(this[_0x2cd07b(0x4a9)]=_0x51128e[_0x2cd07b(0x4dd)]),_0x51128e[_0x2cd07b(0x26d)]!==void 0x0&&(this['_unitId']=_0x51128e[_0x2cd07b(0x26d)]),_0x51128e[_0x2cd07b(0x114)]!==void 0x0&&(this[_0x2cd07b(0x34e)]=_0x51128e[_0x2cd07b(0x114)]),_0x51128e[_0x2cd07b(0x3ab)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x51128e['isStartConnectorPoint']),this[_0x2cd07b(0x2e5)]({'width':_0x51128e[_0x2cd07b(0x181)],'height':_0x51128e[_0x2cd07b(0x1db)]});}['_draw'](_0x13a9b6){const _0x513f8c=_0x1bb2bd;_0x610ad8['Circle'][_0x513f8c(0x4cc)](_0x13a9b6,{'radius':_0x756c25['ShapeDefaultConfig'][_0x513f8c(0x19f)],'fill':_0x756c25['ShapeDefaultConfig'][_0x513f8c(0x392)],'stroke':_0x756c25[_0x513f8c(0x3ba)]['cxnPointStroke'],'strokeWidth':_0x756c25[_0x513f8c(0x3ba)][_0x513f8c(0x3dd)],'evented':!0x0});}};let _0xf83a23=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x3ad7a5,_0x20f888,_0x4c8d63,_0x68a664,_0x13ba7b,_0x319a17,_0x331ef5,_0x375185){const _0x5bdc2a=_0x1bb2bd;super(),this[_0x5bdc2a(0x19e)]=_0x3ad7a5,this[_0x5bdc2a(0x101)]=_0x20f888,this['_renderManagerService']=_0x4c8d63,this[_0x5bdc2a(0x479)]=_0x68a664,this['_univerInstanceService']=_0x13ba7b,this['_sheetsShapeService']=_0x319a17,this['_sheetShapeAdjustController']=_0x331ef5,this[_0x5bdc2a(0x3d1)]=_0x375185,_0x19f136(this,_0x5bdc2a(0x1dc),void 0x0),_0x19f136(this,'_unitId',void 0x0),_0x19f136(this,'_subUnitId',void 0x0),_0x19f136(this,_0x5bdc2a(0x25e),[]),_0x19f136(this,_0x5bdc2a(0x472),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x19f136(this,_0x5bdc2a(0x1ca),void 0x0),_0x19f136(this,_0x5bdc2a(0x235),!0x1),_0x19f136(this,'_isDrawingShapePointDown',!0x1),_0x19f136(this,'_hasReset',!0x1),_0x19f136(this,'_cxtHandlerPointerMove',void 0x0),_0x19f136(this,_0x5bdc2a(0x260),void 0x0),_0x19f136(this,_0x5bdc2a(0x152),null),this[_0x5bdc2a(0x221)]();}['_initialize'](){const _0x2e750a=_0x1bb2bd;this[_0x2e750a(0x20c)](),this[_0x2e750a(0x309)]();}[_0x1bb2bd(0x191)](){const _0x15bf9a=_0x1bb2bd;if(!this[_0x15bf9a(0x4f9)]||!this[_0x15bf9a(0x34e)]||!this['_activeShapeId'])return;let _0x52bee1={'unitId':this[_0x15bf9a(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']},{transform:_0x2bb7b9}=this['_drawingManagerService'][_0x15bf9a(0x4f0)](_0x52bee1);if(_0x2bb7b9)return{'left':_0x2bb7b9['left']||0x0,'top':_0x2bb7b9['top']||0x0,'width':_0x2bb7b9[_0x15bf9a(0x181)]||0x0,'height':_0x2bb7b9[_0x15bf9a(0x1db)]||0x0,'flipX':_0x2bb7b9[_0x15bf9a(0x115)]||!0x1,'flipY':_0x2bb7b9[_0x15bf9a(0x3cf)]||!0x1,'angle':_0x2bb7b9['angle']};}[_0x1bb2bd(0x2a2)](){const _0x332f2e=_0x1bb2bd;if(this[_0x332f2e(0x4f9)]===void 0x0||this[_0x332f2e(0x34e)]===void 0x0||this[_0x332f2e(0x1dc)]===void 0x0)return;let _0x4d21a2=this[_0x332f2e(0x2ba)][_0x332f2e(0x40c)](this[_0x332f2e(0x4f9)]);if(!_0x4d21a2||!_0x4d21a2[_0x332f2e(0x10a)](_0x542241[_0x332f2e(0x15f)])[_0x332f2e(0x16b)]())return;let {scene:_0x317392}=_0x4d21a2,_0x3bd6da=this[_0x332f2e(0x191)]();if(!_0x3bd6da)return;let _0x21f917=this[_0x332f2e(0x496)]['getShapeModel'](this['_unitId'],this[_0x332f2e(0x34e)],this[_0x332f2e(0x1dc)]);if(!_0x21f917||!(0x0,_0x756c25[_0x332f2e(0x4c9)])(_0x21f917[_0x332f2e(0x441)]()))return;let _0x83d9a2=_0x21f917[_0x332f2e(0x470)]();if(_0x83d9a2[_0x332f2e(0x40e)]<0x2)return;let _0x56f4c8=new _0x756c25['ConnectorCoordinateTransform'](_0x3bd6da),_0x1f0ab0=_0x83d9a2[0x0],_0x473d2b=_0x83d9a2[_0x83d9a2[_0x332f2e(0x40e)]-0x1],_0x335b3c=_0x56f4c8[_0x332f2e(0x168)](_0x1f0ab0),_0x4729cb=_0x56f4c8[_0x332f2e(0x168)](_0x473d2b);this[_0x332f2e(0x39f)](_0x317392,{..._0x335b3c},!0x0),this[_0x332f2e(0x39f)](_0x317392,{..._0x4729cb},!0x1);}['_addShapeConnectorHandlerObject'](_0x22cc59,_0x2e0492,_0x568252){const _0x56772e=_0x1bb2bd;if(this[_0x56772e(0x1dc)]===void 0x0||this[_0x56772e(0x4f9)]===void 0x0||this[_0x56772e(0x34e)]===void 0x0)return;let _0x304295=_0x56772e(0x312)+this[_0x56772e(0x4f9)]+'-'+this['_subUnitId']+'-'+this[_0x56772e(0x1dc)]+'-'+(_0x568252?'start':_0x56772e(0x4e4)),_0x4168d9=_0x22cc59[_0x56772e(0x195)](_0x304295);if(_0x4168d9){_0x4168d9[_0x56772e(0x2e5)]({'left':_0x2e0492['x']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)],'top':_0x2e0492['y']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)]});return;}let _0xe8a691=new _0x2a5063(_0x304295,{'left':_0x2e0492['x']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)],'top':_0x2e0492['y']-_0x756c25[_0x56772e(0x3ba)]['cxnPointRadius'],'shapeId':this[_0x56772e(0x1dc)],'unitId':this[_0x56772e(0x4f9)],'subUnitId':this[_0x56772e(0x34e)],'isStartConnectorPoint':_0x568252,'width':_0x756c25['ShapeDefaultConfig'][_0x56772e(0x19f)]*0x2,'height':_0x756c25['ShapeDefaultConfig'][_0x56772e(0x19f)]*0x2,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_connectorObjects'][_0x56772e(0x37e)](_0xe8a691),this[_0x56772e(0x41b)](_0xe8a691,_0x22cc59,_0x568252),_0x22cc59[_0x56772e(0x301)](_0xe8a691,_0x610ad8[_0x56772e(0x239)]+0x1);}[_0x1bb2bd(0x1ae)](_0x1bdfde,_0x17a5ed){const _0x189e98=_0x1bb2bd;var _0x544038;let _0x823441={'x':0x0,'y':0x0};if(!_0x1bdfde||!_0x17a5ed)return _0x823441;let _0x21d6d5=this[_0x189e98(0x2ba)][_0x189e98(0x40c)](_0x1bdfde);if(!_0x21d6d5||!_0x21d6d5['with'](_0x542241['SheetSkeletonManagerService'])[_0x189e98(0x2cc)](_0x17a5ed))return _0x823441;let _0x5829d6=_0x21d6d5[_0x189e98(0x10a)](_0x542241[_0x189e98(0x2c6)]),_0x566840=_0x5829d6==null?void 0x0:_0x5829d6['getCurrentScrollState']();if(!_0x566840)return _0x823441;let _0x1ec0bc=(_0x544038=this[_0x189e98(0x3da)]['getUnit'](_0x1bdfde))==null?void 0x0:_0x544038[_0x189e98(0x200)](_0x17a5ed);if(!_0x1ec0bc)return _0x823441;let _0x1bd16c=(0x0,_0x542241[_0x189e98(0x48b)])(_0x566840['sheetViewStartRow'],_0x566840[_0x189e98(0x340)],_0x21d6d5[_0x189e98(0x179)],_0x1ec0bc);return _0x1bd16c?{'x':_0x1bd16c[_0x189e98(0x43b)],'y':_0x1bd16c[_0x189e98(0x2a3)]}:_0x823441;}[_0x1bb2bd(0x29b)](_0x2efc9e,_0x158d3f){const _0x284024=_0x1bb2bd;var _0x8241b4;let _0xfa6b7d=(_0x8241b4=this[_0x284024(0x3da)][_0x284024(0x4d8)](_0x2efc9e))==null?void 0x0:_0x8241b4['getSheetBySheetId'](_0x158d3f);return(_0xfa6b7d==null?void 0x0:_0xfa6b7d[_0x284024(0x375)]())??0x1;}[_0x1bb2bd(0x3bd)](_0x59153a,_0x257a2a,_0x52fef9,_0x2ec826,_0x2c6078){const _0x58f356=_0x1bb2bd;this[_0x58f356(0x3bb)][_0x58f356(0x1a1)](),this[_0x58f356(0x260)][_0x58f356(0x1a1)](),this[_0x58f356(0x487)][_0x58f356(0x498)]();let _0x187cd8=this['_currentConnectionTarget'];this[_0x58f356(0x3d1)][_0x58f356(0x435)]();let _0x51ee9a=this['_getScrollInfo'](this['_unitId'],this[_0x58f356(0x34e)]),_0xb3d090=this[_0x58f356(0x29b)](this[_0x58f356(0x4f9)],this[_0x58f356(0x34e)]),_0x4a2fe1={'x':_0x52fef9[_0x58f356(0x165)]/_0xb3d090+_0x51ee9a['x'],'y':_0x52fef9[_0x58f356(0x10f)]/_0xb3d090+_0x51ee9a['y']},_0x4ac987=_0x187cd8?_0x187cd8[_0x58f356(0x3f0)]:_0x4a2fe1,_0x27ee10=_0x2ec826?this[_0x58f356(0x1ca)][_0x58f356(0x32f)]():this['_activeShapeModel'][_0x58f356(0x345)](),_0x57b351=this['_activeShapeModel'][_0x58f356(0x441)]();_0x27ee10?this['_handleConnectedEndpointPointerUp'](_0x27ee10,_0x4ac987,_0x2ec826,_0x187cd8,_0x2c6078):this[_0x58f356(0x2f9)](_0x257a2a,_0x4ac987,_0x2ec826,_0x187cd8,_0x2c6078,_0x57b351),this[_0x58f356(0x235)]=!0x1,this[_0x58f356(0x32e)]=!0x1,this[_0x58f356(0x152)]=null,_0x59153a[_0x58f356(0x4c0)]();}[_0x1bb2bd(0x2f9)](_0x20c626,_0x5ca031,_0x401197,_0x724153,_0x228285,_0x2db3ae){const _0x59383b=_0x1bb2bd;let _0x193cb0=_0x2db3ae===_0x756c25[_0x59383b(0x3a3)][_0x59383b(0x383)]||_0x2db3ae===_0x756c25['ShapeTypeEnum'][_0x59383b(0x42d)],_0x446ed5=_0x401197?_0x5ca031:_0x20c626,_0x3f7923=_0x401197?_0x20c626:_0x5ca031,_0x4066fc=this[_0x59383b(0x1ca)][_0x59383b(0x470)](),_0x2d10bf=this[_0x59383b(0x1ca)][_0x59383b(0x441)](),_0x4032ac=(0x0,_0x756c25[_0x59383b(0x4c1)])(_0x2d10bf),_0x5357ec=_0x756c25[_0x59383b(0x1b9)][_0x59383b(0x159)](_0x4066fc,_0x4032ac),_0x599e48=_0x193cb0?_0x756c25[_0x59383b(0x1b9)]['computeStraightConnectorLayout'](_0x446ed5,_0x3f7923):_0x756c25[_0x59383b(0x1b9)][_0x59383b(0x147)](_0x20c626,_0x5ca031,_0x401197,_0x5357ec);_0x724153?this[_0x59383b(0x47d)](_0x599e48,_0x724153,_0x401197,_0x228285):this[_0x59383b(0x206)](_0x599e48,_0x228285);}[_0x1bb2bd(0x4d7)](_0x5b6435,_0x31c169,_0x1e577f,_0x51e048,_0x536fda){const _0x329b62=_0x1bb2bd;let _0x59fcb2=this[_0x329b62(0x132)](_0x5b6435);if(!_0x59fcb2)return;let _0x1fce69=_0x51e048?_0x51e048[_0x329b62(0x3c9)]:this[_0x329b62(0x314)](_0x59fcb2['point'],_0x31c169),_0x4e75c9;if(_0x51e048){let _0x3660ae=this[_0x329b62(0x479)][_0x329b62(0x4f0)]({'unitId':_0x51e048[_0x329b62(0x26d)],'subUnitId':_0x51e048[_0x329b62(0x114)],'drawingId':_0x51e048['shapeId']});if(_0x3660ae!=null&&_0x3660ae[_0x329b62(0x3e4)]){let {left:_0x25e534=0x0,top:_0x2ef8dc=0x0,width:_0x311761=0x0,height:_0x5a3c99=0x0,angle:_0x4bf0a8}=_0x3660ae['transform'];_0x4e75c9=(0x0,_0x756c25[_0x329b62(0x1eb)])({'left':_0x25e534,'top':_0x2ef8dc,'width':_0x311761,'height':_0x5a3c99},_0x4bf0a8||0x0);}else _0x4e75c9={'left':_0x31c169['x'],'top':_0x31c169['y'],'width':0x0,'height':0x0};}else _0x4e75c9={'left':_0x31c169['x'],'top':_0x31c169['y'],'width':0x0,'height':0x0};let _0x3c8d00={'point':_0x31c169,'angle':_0x1fce69,'bounds':_0x4e75c9},_0x5088bc=_0x1e577f?_0x3c8d00:_0x59fcb2,_0x36a477=_0x1e577f?_0x59fcb2:_0x3c8d00,_0x2e58cf=this[_0x329b62(0x1ca)][_0x329b62(0x441)](),_0x3108c8=(0x0,_0x756c25[_0x329b62(0x4de)])(_0x5088bc,_0x36a477,_0x2e58cf);this[_0x329b62(0x1ca)]['removeLinePoints']();let _0x480c9c=(0x0,_0x756c25['computeConnectorRouteLayout'])(_0x3108c8,_0x2e58cf);_0x51e048?this[_0x329b62(0x13d)](_0x480c9c,_0x51e048,_0x5b6435,_0x1e577f,_0x536fda):this['_executeConnectedRouteResizeCommand'](_0x480c9c,_0x5b6435,_0x1e577f,_0x536fda);}[_0x1bb2bd(0x47d)](_0xf47599,_0x44674b,_0x2e7b2d,_0x33cb24){const _0x576623=_0x1bb2bd;let _0xfe8627=this[_0x576623(0x1ca)][_0x576623(0x4d2)]()['relation'],_0x33a56f={..._0xfe8627},_0x2c2638={'shapeId':_0x44674b[_0x576623(0x4dd)],'cxnIndex':_0x44674b['cxnIndex']};_0x2e7b2d?_0x33a56f[_0x576623(0x24e)]=_0x2c2638:_0x33a56f['to']=_0x2c2638;let _0x206b61=this[_0x576623(0x1ca)][_0x576623(0x441)](),_0x2c62c2=(0x0,_0x756c25[_0x576623(0x2c0)])(_0xf47599['worldPoints'],_0x206b61),_0x271193={'unitId':this[_0x576623(0x4f9)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x576623(0x1dc)],'width':_0xf47599['worldRect'][_0x576623(0x181)],'height':_0xf47599['worldRect'][_0x576623(0x1db)],'left':_0xf47599[_0x576623(0x4e2)][_0x576623(0x20a)],'top':_0xf47599[_0x576623(0x4e2)]['top'],'flipX':_0xf47599['worldRect'][_0x576623(0x115)]||!0x1,'flipY':_0xf47599[_0x576623(0x4e2)][_0x576623(0x3cf)]||!0x1,'newAdjustValues':_0x2c62c2[_0x576623(0x1bf)],'oldAdjustValues':_0x33cb24,'oldRelation':_0xfe8627,'newRelation':_0x33a56f,'newLineType':_0x2c62c2[_0x576623(0x131)],'oldLineType':_0x206b61};this['_commandService'][_0x576623(0x24d)](_0x111169[_0x576623(0x4b0)]['id'],_0x271193);}[_0x1bb2bd(0x206)](_0x2fe09f,_0x4bf0aa){const _0x237ed7=_0x1bb2bd;let _0x487220=this[_0x237ed7(0x1ca)][_0x237ed7(0x441)](),_0x44276a=(0x0,_0x756c25['computeConnectorRouteLayout'])(_0x2fe09f[_0x237ed7(0x16d)],_0x487220),_0x1a2917={'unitId':this[_0x237ed7(0x4f9)],'subUnitId':this[_0x237ed7(0x34e)],'shapeId':this[_0x237ed7(0x1dc)],'width':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x181)],'height':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x1db)],'left':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x20a)],'top':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x49c)],'flipX':_0x2fe09f[_0x237ed7(0x4e2)]['flipX']||!0x1,'flipY':_0x2fe09f['worldRect'][_0x237ed7(0x3cf)]||!0x1,'angle':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x3c9)]||0x0,'newAdjustValues':_0x44276a[_0x237ed7(0x1bf)],'oldAdjustValues':_0x4bf0aa,'newLineType':_0x44276a['lineType'],'oldLineType':_0x487220};this[_0x237ed7(0x101)][_0x237ed7(0x24d)](_0x111169[_0x237ed7(0x29e)]['id'],_0x1a2917);}[_0x1bb2bd(0x13d)](_0x3347b5,_0x317d29,_0x49723a,_0x250fa0,_0x18ccef){const _0x390189=_0x1bb2bd;let _0xad6c81=this[_0x390189(0x1ca)][_0x390189(0x4d2)]()['relation'],_0x3e971c={..._0xad6c81},_0x1c6dda={'shapeId':_0x317d29[_0x390189(0x4dd)],'cxnIndex':_0x317d29[_0x390189(0x320)]};_0x250fa0?(_0x3e971c['from']=_0x1c6dda,_0x3e971c['to']=_0x49723a):(_0x3e971c['from']=_0x49723a,_0x3e971c['to']=_0x1c6dda);let _0x163c91={'unitId':this['_unitId'],'subUnitId':this[_0x390189(0x34e)],'connectorShapeId':this[_0x390189(0x1dc)],'width':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x181)],'height':_0x3347b5['worldRect']['height'],'left':_0x3347b5[_0x390189(0x4e2)]['left'],'top':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x49c)],'flipX':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x115)]||!0x1,'flipY':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x3cf)]||!0x1,'oldAdjustValues':_0x18ccef,'newAdjustValues':_0x3347b5['adjustValues'],'newLineType':_0x3347b5[_0x390189(0x131)],'rotation':_0x3347b5['rotation'],'oldRelation':_0xad6c81,'newRelation':_0x3e971c};this[_0x390189(0x101)]['executeCommand'](_0x111169[_0x390189(0x4b0)]['id'],_0x163c91);}[_0x1bb2bd(0x1b3)](_0x218fb8,_0x1079be,_0x4e233a,_0x475b2b){const _0x499cd9=_0x1bb2bd;let _0x420b28=this[_0x499cd9(0x1ca)][_0x499cd9(0x4d2)]()[_0x499cd9(0x297)],_0x2cab0e={};_0x4e233a?(_0x2cab0e['to']=_0x1079be,_0x2cab0e[_0x499cd9(0x24e)]=void 0x0):(_0x2cab0e['from']=_0x1079be,_0x2cab0e['to']=void 0x0);let _0xcc6ae2={'unitId':this[_0x499cd9(0x4f9)],'subUnitId':this[_0x499cd9(0x34e)],'connectorShapeId':this[_0x499cd9(0x1dc)],'width':_0x218fb8['worldRect']['width'],'height':_0x218fb8[_0x499cd9(0x4e2)][_0x499cd9(0x1db)],'left':_0x218fb8[_0x499cd9(0x4e2)][_0x499cd9(0x20a)],'top':_0x218fb8[_0x499cd9(0x4e2)]['top'],'flipX':_0x218fb8['worldRect'][_0x499cd9(0x115)]||!0x1,'flipY':_0x218fb8[_0x499cd9(0x4e2)]['flipY']||!0x1,'oldAdjustValues':_0x475b2b,'newAdjustValues':_0x218fb8[_0x499cd9(0x1bf)],'newLineType':_0x218fb8['lineType'],'rotation':_0x218fb8[_0x499cd9(0x224)],'oldRelation':_0x420b28,'newRelation':_0x2cab0e};this['_commandService']['executeCommand'](_0x111169['UpdateConnectorRelationCommand']['id'],_0xcc6ae2);}[_0x1bb2bd(0x41b)](_0x1cce20,_0x626f9c,_0x11821a){const _0x13ad42=_0x1bb2bd;this[_0x13ad42(0x275)]((0x0,_0x3d2575['toDisposable'])(_0x1cce20['onPointerDown$']['subscribeEvent']((_0x47b099,_0x190f7a)=>{const _0x5b95d1=_0x13ad42;let _0x16e569=_0x1cce20['getDrawingSearch']();if(this[_0x5b95d1(0x1ca)]=this[_0x5b95d1(0x496)]['getShapeModel'](_0x16e569[_0x5b95d1(0x26d)],_0x16e569['subUnitId'],_0x16e569[_0x5b95d1(0x17d)]),!this[_0x5b95d1(0x1ca)])return;let _0x3464fa={};this[_0x5b95d1(0x1ca)][_0x5b95d1(0x411)]()['forEach'](_0x4beb3b=>{const _0x37643e=_0x5b95d1;let _0x5847db=this[_0x37643e(0x1ca)]['getAdjustValueByName'](_0x4beb3b);_0x5847db!==void 0x0&&(_0x3464fa[_0x4beb3b]=_0x5847db);});let _0x4bdc0b=this[_0x5b95d1(0x191)]();if(!_0x4bdc0b)return;this[_0x5b95d1(0x472)]={..._0x4bdc0b};let _0x6600cd=new _0x756c25[(_0x5b95d1(0x1b9))](this[_0x5b95d1(0x472)]),_0xe69d7e=(0x0,_0xf3cf76[_0x5b95d1(0x372)])({'unitId':this[_0x5b95d1(0x4f9)],'subUnitId':this[_0x5b95d1(0x34e)],'drawingId':this[_0x5b95d1(0x1dc)]}),_0x47007a=_0x626f9c[_0x5b95d1(0x195)](_0xe69d7e);this[_0x5b95d1(0x235)]=!0x0,_0x626f9c[_0x5b95d1(0x251)](),this[_0x5b95d1(0x3d1)]['startConnectionDetection'](_0x626f9c,this[_0x5b95d1(0x4f9)],this[_0x5b95d1(0x34e)],this[_0x5b95d1(0x1dc)]),this['_currentConnectionTarget']=null;let _0x54923a=this[_0x5b95d1(0x1ca)][_0x5b95d1(0x470)](),_0x2023e7=_0x54923a[0x0],_0x53aece=_0x54923a[_0x54923a[_0x5b95d1(0x40e)]-0x1],_0x176a57=_0x11821a?_0x6600cd[_0x5b95d1(0x168)](_0x53aece):_0x6600cd[_0x5b95d1(0x168)](_0x2023e7);this[_0x5b95d1(0x3bb)]=_0x626f9c[_0x5b95d1(0x37b)][_0x5b95d1(0x11b)]((_0x5b07a6,_0x30b5ad)=>{const _0x51306c=_0x5b95d1;if(!this[_0x51306c(0x235)]||!this[_0x51306c(0x1ca)])return;this[_0x51306c(0x32e)]||=(this[_0x51306c(0x487)][_0x51306c(0x3fe)](),this[_0x51306c(0x1ca)][_0x51306c(0x413)](),!0x0);let _0x24475a=this[_0x51306c(0x1ae)](this[_0x51306c(0x4f9)],this[_0x51306c(0x34e)]),_0x54450d=this[_0x51306c(0x29b)](this[_0x51306c(0x4f9)],this[_0x51306c(0x34e)]),_0x21bb1b={'x':_0x5b07a6['offsetX']/_0x54450d+_0x24475a['x'],'y':_0x5b07a6[_0x51306c(0x10f)]/_0x54450d+_0x24475a['y']},_0x54f63f=this['_sheetBasicShapeConnectionPointController'][_0x51306c(0x39b)](_0x21bb1b);if(_0x54f63f){let {shapeId:_0x25e3cb,unitId:_0x274798,subUnitId:_0x406a02}=_0x54f63f;if(_0x25e3cb&&_0x274798&&_0x406a02){let _0x1b2099=(0x0,_0xf3cf76[_0x51306c(0x372)])({'unitId':_0x274798,'subUnitId':_0x406a02,'drawingId':_0x25e3cb});_0x54f63f['angle']=(_0x626f9c['getObjectIncludeInGroup'](_0x1b2099)['angle']||0x0)+_0x54f63f[_0x51306c(0x3c9)];}}this['_currentConnectionTarget']=_0x54f63f;let _0x2593db=_0x11821a?this['_activeShapeModel'][_0x51306c(0x32f)]():this[_0x51306c(0x1ca)][_0x51306c(0x345)]();_0x2593db?this['_handleConnectedEndpointMove'](_0x2593db,_0x21bb1b,_0x11821a,_0x47007a,_0x1cce20):this[_0x51306c(0x3e3)](_0x21bb1b,_0x176a57,_0x11821a,_0x47007a,_0x1cce20);}),this[_0x5b95d1(0x260)]=_0x626f9c[_0x5b95d1(0x2e2)][_0x5b95d1(0x11b)]((_0x11ef41,_0x5af40a)=>{const _0x2b59c7=_0x5b95d1;this[_0x2b59c7(0x3bd)](_0x626f9c,_0x176a57,_0x11ef41,_0x11821a,_0x3464fa);}),_0x190f7a[_0x5b95d1(0x407)]();})));}[_0x1bb2bd(0x429)](_0x42a61d,_0x155060,_0x4d35c7){const _0x47fe14=_0x1bb2bd;let _0x5c31bf=this[_0x47fe14(0x496)][_0x47fe14(0x237)](_0x42a61d,_0x155060,_0x4d35c7);if(!_0x5c31bf||_0x5c31bf[_0x47fe14(0x40e)]===0x0)return;let _0x4ae2d3=this['_renderManagerService'][_0x47fe14(0x40c)](_0x42a61d);if(!_0x4ae2d3)return;let {scene:_0x533c9b}=_0x4ae2d3;for(let _0x5ae39 of _0x5c31bf){let _0x27184b=_0x5ae39[_0x47fe14(0x1e5)],_0x4382cb=this[_0x47fe14(0x496)][_0x47fe14(0x286)](_0x42a61d,_0x155060,_0x27184b);if(!_0x4382cb)continue;let _0x110cf7=_0x4382cb[_0x47fe14(0x345)](),_0x122a81=_0x4382cb[_0x47fe14(0x32f)](),_0x4d2805=(_0x110cf7==null?void 0x0:_0x110cf7['shapeId'])===_0x4d35c7,_0x558beb=(0x0,_0xf3cf76[_0x47fe14(0x372)])({'unitId':_0x42a61d,'subUnitId':_0x155060,'drawingId':_0x27184b}),_0x5563e3=_0x533c9b['getObjectIncludeInGroup'](_0x558beb);if(!_0x5563e3)continue;let _0x31785e=this[_0x47fe14(0x479)][_0x47fe14(0x4f0)]({'unitId':_0x42a61d,'subUnitId':_0x155060,'drawingId':_0x27184b});_0x31785e!=null&&_0x31785e[_0x47fe14(0x3e4)]&&(_0x110cf7&&_0x122a81?this[_0x47fe14(0x3f9)](_0x42a61d,_0x155060,_0x27184b,_0x4382cb,_0x110cf7,_0x122a81,_0x5563e3):this[_0x47fe14(0x24c)](_0x42a61d,_0x155060,_0x27184b,_0x4382cb,_0x4d2805?_0x110cf7:_0x122a81,_0x4d2805,_0x31785e,_0x5563e3));}}[_0x1bb2bd(0x3f9)](_0x2845f4,_0x563dc0,_0x21b22b,_0x482da7,_0x5bc858,_0x56fbb9,_0x40130a){const _0x3cf40e=_0x1bb2bd;let _0x2fa8cb=this[_0x3cf40e(0x4f9)],_0x430d4f=this[_0x3cf40e(0x34e)];this[_0x3cf40e(0x4f9)]=_0x2845f4,this[_0x3cf40e(0x34e)]=_0x563dc0;let _0xd973bf=this['_getConnectPointInfo'](_0x5bc858),_0x38d5c8=this[_0x3cf40e(0x132)](_0x56fbb9);if(this[_0x3cf40e(0x4f9)]=_0x2fa8cb,this['_subUnitId']=_0x430d4f,!_0xd973bf||!_0x38d5c8)return;let _0x2882bb=_0x482da7[_0x3cf40e(0x441)](),_0x38543f=(0x0,_0x756c25[_0x3cf40e(0x4de)])(_0xd973bf,_0x38d5c8,_0x2882bb);_0x38543f&&_0x482da7[_0x3cf40e(0x223)](_0x38543f);let _0x38ba94=(0x0,_0x756c25[_0x3cf40e(0x2c0)])(_0x38543f,_0x2882bb);_0x38ba94[_0x3cf40e(0x131)]!==_0x2882bb&&_0x482da7[_0x3cf40e(0x4a6)](_0x38ba94[_0x3cf40e(0x131)]),_0x482da7[_0x3cf40e(0x413)]();for(let [_0x44f21b,_0x112c78]of Object['entries'](_0x38ba94[_0x3cf40e(0x1bf)]))_0x482da7[_0x3cf40e(0x2ee)](_0x44f21b,_0x112c78);_0x482da7[_0x3cf40e(0x210)]({'width':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x181)],'height':_0x38ba94['worldRect']['height']}),_0x40130a[_0x3cf40e(0x2e5)]({'flipX':_0x38ba94[_0x3cf40e(0x4e2)]['flipX'],'flipY':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x3cf)],'left':_0x38ba94['worldRect'][_0x3cf40e(0x20a)],'top':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x49c)],'width':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x181)],'height':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x1db)],'angle':_0x38ba94[_0x3cf40e(0x224)]}),_0x482da7['removeLinePoints']();}['_moveConnectorWithShape'](_0x5cf935,_0x4e3c8c,_0x4664d1,_0x500647,_0x5ab2c6,_0x5282ec,_0x4faa90,_0x4df56d){const _0x19e68e=_0x1bb2bd;let _0x35f919=this['_unitId'],_0x5ebdd3=this['_subUnitId'];this['_unitId']=_0x5cf935,this[_0x19e68e(0x34e)]=_0x4e3c8c;let _0x2eea64=this[_0x19e68e(0x132)](_0x5ab2c6);if(this['_unitId']=_0x35f919,this['_subUnitId']=_0x5ebdd3,!_0x2eea64)return;let {left:_0x2af4f7=0x0,top:_0x6ba0a2=0x0,width:_0x10ff83=0x0,height:_0x338c55=0x0,flipX:_0x4e1190=!0x1,flipY:_0x1142fa=!0x1}=_0x4faa90['transform'],_0x2fe139=_0x500647['getConnectorLinePoints']();if(_0x2fe139[_0x19e68e(0x40e)]<0x2)return;let _0x57d39f=new _0x756c25[(_0x19e68e(0x1b9))]({'left':_0x2af4f7,'top':_0x6ba0a2,'width':_0x10ff83,'height':_0x338c55,'flipX':_0x4e1190,'flipY':_0x1142fa}),_0x52f92b=_0x5282ec?_0x2fe139[_0x2fe139[_0x19e68e(0x40e)]-0x1]:_0x2fe139[0x0],_0x370c1a=_0x57d39f['localToWorld'](_0x52f92b),_0x57dd6c=_0x756c25[_0x19e68e(0x1b9)]['computeConnectorResizeLayout'](_0x370c1a,_0x2eea64[_0x19e68e(0x4e7)],!_0x5282ec);_0x4df56d[_0x19e68e(0x2e5)]({'flipX':_0x57dd6c['worldRect'][_0x19e68e(0x115)],'flipY':_0x57dd6c[_0x19e68e(0x4e2)]['flipY'],'left':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x20a)],'top':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x49c)],'width':_0x57dd6c['worldRect'][_0x19e68e(0x181)],'height':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x1db)],'angle':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x3c9)]}),_0x4df56d[_0x19e68e(0x4a5)](!0x0);}[_0x1bb2bd(0x35c)](){const _0x23cd21=_0x1bb2bd;this['_connectorObjects'][_0x23cd21(0x40e)]!==0x0&&(this[_0x23cd21(0x25e)][_0x23cd21(0x307)](_0x5de506=>{const _0x36c226=_0x23cd21;_0x5de506[_0x36c226(0x3cc)]();}),this[_0x23cd21(0x25e)]=[]);}[_0x1bb2bd(0x309)](){const _0xdcd3db=_0x1bb2bd;let _0x2b52ba=this[_0xdcd3db(0x3da)][_0xdcd3db(0x25b)](_0x3d2575[_0xdcd3db(0x4f8)][_0xdcd3db(0x245)]);this[_0xdcd3db(0x275)](_0x2b52ba['pipe']((0x0,_0x133625['switchMap'])(_0xcd4f3d=>_0xcd4f3d?_0xcd4f3d[_0xdcd3db(0x404)][_0xdcd3db(0x3f4)]((0x0,_0x133625[_0xdcd3db(0x14f)])(_0x5ce12c=>{const _0x8c908b=_0xdcd3db;if(!_0x5ce12c)return _0x133625[_0x8c908b(0x21d)];let _0x4f47df=_0xcd4f3d[_0x8c908b(0x455)](),_0x513bc2=this[_0x8c908b(0x2ba)][_0x8c908b(0x40c)](_0x4f47df),_0x48ab77=_0x513bc2==null?void 0x0:_0x513bc2[_0x8c908b(0x179)];return _0x48ab77?(0x0,_0x133625['of'])(_0x48ab77):_0x133625[_0x8c908b(0x21d)];})):_0x133625[_0xdcd3db(0x21d)]))['subscribe'](_0x40072a=>{const _0x20a39d=_0xdcd3db;let _0x234a4f=_0x40072a[_0x20a39d(0x4b5)]();this[_0x20a39d(0x275)](_0x40072a['onPointerMove$'][_0x20a39d(0x11b)](_0x1c50f0=>{const _0x243555=_0x20a39d;this['_isDrawingShapePointDown']&&this[_0x243555(0x1dc)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x3c2)]['subscribe'](_0x59e620=>{const _0x3d27c6=_0x20a39d;let {objects:_0x539b78}=_0x59e620;this['_clearShapeConnectorHandlerObjects'](),_0x539b78!==null&&_0x539b78[_0x3d27c6(0x349)]===0x1&&_0x539b78[_0x3d27c6(0x174)]()['next']()[_0x3d27c6(0x18a)]instanceof _0x28ba5a&&(this[_0x3d27c6(0x494)]=!0x0);})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x3ec)][_0x20a39d(0x3b2)](_0xc1decd=>{const _0x1cf651=_0x20a39d;this[_0x1cf651(0x494)]&&this[_0x1cf651(0x35c)]();})),this[_0x20a39d(0x275)](_0x40072a[_0x20a39d(0x2e2)]['subscribeEvent'](()=>{this['_isDrawingShapePointDown']&&(this['_isDrawingShapePointDown']=!0x1,this['_addShapeConnectorHandlerObjects']());})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x10c)][_0x20a39d(0x3b2)](()=>{const _0xceb14c=_0x20a39d;this[_0xceb14c(0x4f9)]&&this[_0xceb14c(0x34e)]&&this[_0xceb14c(0x1dc)]&&this[_0xceb14c(0x479)][_0xceb14c(0x4f0)]({'unitId':this[_0xceb14c(0x4f9)],'subUnitId':this[_0xceb14c(0x34e)],'drawingId':this[_0xceb14c(0x1dc)]})&&(this[_0xceb14c(0x35c)](),this[_0xceb14c(0x2a2)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x2a1342=_0x1bb2bd;this['disposeWithMe'](this[_0x2a1342(0x479)]['focus$'][_0x2a1342(0x3b2)](_0x41fe16=>{const _0x3f4f92=_0x2a1342;if(_0x41fe16['length']===0x1){let _0x1b0a43=_0x41fe16[0x0];if(_0x1b0a43['drawingType']===_0x3d2575['DrawingTypeEnum'][_0x3f4f92(0x30b)]){let _0x55f827=this[_0x3f4f92(0x496)][_0x3f4f92(0x286)](_0x1b0a43[_0x3f4f92(0x26d)],_0x1b0a43[_0x3f4f92(0x114)],_0x1b0a43['drawingId']);if(_0x55f827&&(0x0,_0x756c25[_0x3f4f92(0x4c9)])(_0x55f827['getShapeType']())){this[_0x3f4f92(0x1dc)]=_0x1b0a43['drawingId'],this['_unitId']=_0x1b0a43[_0x3f4f92(0x26d)],this[_0x3f4f92(0x34e)]=_0x1b0a43[_0x3f4f92(0x114)],this['_clearShapeConnectorHandlerObjects'](),this[_0x3f4f92(0x2a2)]();return;}}}this[_0x3f4f92(0x1dc)]=void 0x0,this[_0x3f4f92(0x4f9)]=void 0x0,this[_0x3f4f92(0x34e)]=void 0x0,this[_0x3f4f92(0x35c)]();})),this['disposeWithMe'](this[_0x2a1342(0x479)][_0x2a1342(0x465)][_0x2a1342(0x3b2)](_0x4aa0be=>{const _0x4ad745=_0x2a1342;if(_0x4aa0be[_0x4ad745(0x40e)]===0x1){var _0x385099;let _0x5125b6=_0x4aa0be[0x0],_0x598bbe=(_0x385099=this['_drawingManagerService'][_0x4ad745(0x4f0)](_0x5125b6))==null?void 0x0:_0x385099[_0x4ad745(0x1f2)];_0x598bbe===_0x3d2575[_0x4ad745(0x2d2)]['DRAWING_SHAPE']&&_0x5125b6[_0x4ad745(0x17d)]===this[_0x4ad745(0x1dc)]?(this[_0x4ad745(0x35c)](),this[_0x4ad745(0x2a2)]()):!this['_activeShapeId']&&_0x598bbe===_0x3d2575[_0x4ad745(0x2d2)][_0x4ad745(0x30b)]&&this[_0x4ad745(0x429)](_0x5125b6[_0x4ad745(0x26d)],_0x5125b6['subUnitId'],_0x5125b6[_0x4ad745(0x17d)]);}})),this[_0x2a1342(0x275)](this['_drawingManagerService'][_0x2a1342(0x348)][_0x2a1342(0x3b2)](_0x5c4b51=>{const _0x1b0242=_0x2a1342;for(let _0x57ebdb of _0x5c4b51){let {drawingId:_0x3c5c83}=_0x57ebdb;if(this[_0x1b0242(0x1dc)]===_0x3c5c83){this[_0x1b0242(0x421)]();return;}}}));}[_0x1bb2bd(0x495)](_0x126ae9,_0x271cec,_0x10c051,_0x30fef7,_0x403988){const _0x454bdc=_0x1bb2bd;var _0x3fd0c7;if(!this[_0x454bdc(0x1ca)])return;let _0x35386b=this[_0x454bdc(0x132)](_0x126ae9);if(!_0x35386b)return;let _0x4600ef=this[_0x454bdc(0x152)]?this['_currentConnectionTarget'][_0x454bdc(0x3f0)]:_0x271cec,_0x290923=this[_0x454bdc(0x152)]?this[_0x454bdc(0x152)]['angle']:this[_0x454bdc(0x314)](_0x35386b['point'],_0x4600ef),_0x1b0bb8;if(this[_0x454bdc(0x152)]){let _0x5ae687=this[_0x454bdc(0x479)][_0x454bdc(0x4f0)]({'unitId':this['_currentConnectionTarget'][_0x454bdc(0x26d)],'subUnitId':this[_0x454bdc(0x152)][_0x454bdc(0x114)],'drawingId':this[_0x454bdc(0x152)][_0x454bdc(0x4dd)]});if(_0x5ae687!=null&&_0x5ae687[_0x454bdc(0x3e4)]){let {left:_0x2523a8=0x0,top:_0x1a733d=0x0,width:_0x25bfba=0x0,height:_0xfecc96=0x0,angle:_0x12e4fc}=_0x5ae687[_0x454bdc(0x3e4)];_0x1b0bb8=(0x0,_0x756c25[_0x454bdc(0x1eb)])({'left':_0x2523a8,'top':_0x1a733d,'width':_0x25bfba,'height':_0xfecc96},_0x12e4fc||0x0);}else _0x1b0bb8={'left':_0x4600ef['x'],'top':_0x4600ef['y'],'width':0x0,'height':0x0};}else _0x1b0bb8={'left':_0x4600ef['x'],'top':_0x4600ef['y'],'width':0x0,'height':0x0};let _0x5dee94={'point':_0x4600ef,'angle':_0x290923,'bounds':_0x1b0bb8},_0xd8adf5=_0x10c051?_0x5dee94:_0x35386b,_0x22b31b=_0x10c051?_0x35386b:_0x5dee94,_0x249db0=this['_activeShapeModel'][_0x454bdc(0x441)](),_0xdc4628=(0x0,_0x756c25['routeConnectorLineShape'])(_0xd8adf5,_0x22b31b,_0x249db0);_0xdc4628&&this[_0x454bdc(0x1ca)]['updateLinePoints'](_0xdc4628);let _0x12d497=(0x0,_0x756c25[_0x454bdc(0x2c0)])(_0xdc4628,_0x249db0);_0x12d497['lineType']!==_0x249db0&&this['_activeShapeModel'][_0x454bdc(0x4a6)](_0x12d497[_0x454bdc(0x131)]);for(let [_0x5193a4,_0x312934]of Object[_0x454bdc(0x334)](_0x12d497[_0x454bdc(0x1bf)]))this['_activeShapeModel'][_0x454bdc(0x2ee)](_0x5193a4,_0x312934);this[_0x454bdc(0x1ca)][_0x454bdc(0x210)]({'width':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x181)],'height':_0x12d497['worldRect'][_0x454bdc(0x1db)]}),_0x30fef7['transformByState']({'flipX':_0x12d497[_0x454bdc(0x4e2)]['flipX'],'flipY':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x3cf)],'left':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x20a)],'top':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x49c)],'width':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x181)],'height':_0x12d497['worldRect'][_0x454bdc(0x1db)],'angle':_0x12d497[_0x454bdc(0x224)]}),_0x30fef7[_0x454bdc(0x4a5)](!0x0);let _0x1c09d9=((_0x3fd0c7=this['_currentConnectionTarget'])==null?void 0x0:_0x3fd0c7[_0x454bdc(0x3f0)])??_0x271cec;_0x403988[_0x454bdc(0x2e5)]({'left':_0x1c09d9['x']-_0x756c25[_0x454bdc(0x3ba)]['cxnPointRadius'],'top':_0x1c09d9['y']-_0x756c25[_0x454bdc(0x3ba)][_0x454bdc(0x19f)]});}[_0x1bb2bd(0x3e3)](_0x30830c,_0x55c9be,_0x3a0198,_0x561b26,_0x4f9a72){const _0x1bddab=_0x1bb2bd;var _0x5aa396,_0x1bfa61;let _0x1c5b1b=((_0x5aa396=this[_0x1bddab(0x152)])==null?void 0x0:_0x5aa396['worldPoint'])??_0x30830c,_0x24219e=_0x756c25[_0x1bddab(0x1b9)]['computeConnectorResizeLayout'](_0x55c9be,_0x1c5b1b,_0x3a0198);_0x561b26['transformByState']({'flipX':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x115)],'flipY':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x3cf)],'left':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x20a)],'top':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x49c)],'width':_0x24219e['worldRect']['width'],'height':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x1db)],'angle':_0x24219e['worldRect'][_0x1bddab(0x3c9)]});let _0x3796a6=((_0x1bfa61=this['_currentConnectionTarget'])==null?void 0x0:_0x1bfa61[_0x1bddab(0x3f0)])??_0x30830c;_0x4f9a72['transformByState']({'left':_0x3796a6['x']-_0x756c25[_0x1bddab(0x3ba)][_0x1bddab(0x19f)],'top':_0x3796a6['y']-_0x756c25[_0x1bddab(0x3ba)][_0x1bddab(0x19f)]});}[_0x1bb2bd(0x132)](_0x507c55){const _0x1a398b=_0x1bb2bd;if(!this[_0x1a398b(0x4f9)]||!this['_subUnitId'])return null;let {shapeId:_0xb34a62,cxnIndex:_0x1c61a1}=_0x507c55,_0x27b433=this[_0x1a398b(0x496)][_0x1a398b(0x286)](this[_0x1a398b(0x4f9)],this[_0x1a398b(0x34e)],_0xb34a62);if(!_0x27b433)return null;let _0x432ec0=this[_0x1a398b(0x479)][_0x1a398b(0x4f0)]({'unitId':this[_0x1a398b(0x4f9)],'subUnitId':this[_0x1a398b(0x34e)],'drawingId':_0xb34a62});if(!(_0x432ec0!=null&&_0x432ec0[_0x1a398b(0x3e4)]))return null;let {left:_0x1d2823=0x0,top:_0x37c831=0x0,width:_0x48c7db=0x0,height:_0x253816=0x0,flipX:_0x18be12=!0x1,flipY:_0x57eeea=!0x1,angle:_0x2dcdec}=_0x432ec0[_0x1a398b(0x3e4)];_0x27b433['updateContext']({'width':_0x48c7db,'height':_0x253816});let _0x2da70a=_0x27b433[_0x1a398b(0x30e)]()[_0x1a398b(0x30a)](_0x410b91=>_0x410b91[_0x1a398b(0x19c)]===_0x1c61a1);if(!_0x2da70a)return null;let _0x51366f=_0x18be12?_0x48c7db-_0x2da70a['x']:_0x2da70a['x'],_0x57ce0a=_0x57eeea?_0x253816-_0x2da70a['y']:_0x2da70a['y'];if(_0x2dcdec!==0x0&&_0x2dcdec!=null){let _0x41b93f=_0x2dcdec*Math['PI']/0xb4,_0x2f89cb=Math[_0x1a398b(0x226)](_0x41b93f),_0x1d96b3=Math['sin'](_0x41b93f),_0x4b9413=_0x48c7db/0x2,_0x12b178=_0x253816/0x2,_0x5857eb=_0x51366f-_0x4b9413,_0x2cb79a=_0x57ce0a-_0x12b178;_0x51366f=_0x4b9413+_0x5857eb*_0x2f89cb-_0x2cb79a*_0x1d96b3,_0x57ce0a=_0x12b178+_0x5857eb*_0x1d96b3+_0x2cb79a*_0x2f89cb;}_0x51366f+=_0x1d2823,_0x57ce0a+=_0x37c831;let _0xe53d88=_0x2da70a['ang']/0xea60;_0x18be12&&(_0xe53d88=0xb4-_0xe53d88),_0x57eeea&&(_0xe53d88=-_0xe53d88),_0xe53d88+=_0x2dcdec||0x0,_0xe53d88=(_0xe53d88%0x168+0x168)%0x168;let _0x50a4af=(0x0,_0x756c25[_0x1a398b(0x1eb)])({'left':_0x1d2823,'top':_0x37c831,'width':_0x48c7db,'height':_0x253816},_0x2dcdec||0x0);return{'point':{'x':_0x51366f,'y':_0x57ce0a},'angle':_0xe53d88,'bounds':_0x50a4af};}[_0x1bb2bd(0x314)](_0x4a3798,_0x35fcdd){const _0x44b25b=_0x1bb2bd;let _0x4fad5d=_0x35fcdd['x']-_0x4a3798['x'],_0x96a9ed=_0x35fcdd['y']-_0x4a3798['y'];return Math[_0x44b25b(0x3b8)](_0x4fad5d)>=Math['abs'](_0x96a9ed)?_0x4fad5d>=0x0?0xb4:0x0:_0x96a9ed>=0x0?0x10e:0x5a;}[_0x1bb2bd(0x421)](){const _0x37999e=_0x1bb2bd;this[_0x37999e(0x1dc)]=void 0x0,this[_0x37999e(0x4f9)]=void 0x0,this[_0x37999e(0x34e)]=void 0x0,this[_0x37999e(0x35c)]();}[_0x1bb2bd(0x3cc)](){const _0x2c6378=_0x1bb2bd;this[_0x2c6378(0x35c)](),super[_0x2c6378(0x3cc)]();}};_0xf83a23=_0x4d7d62([_0x25f0d4(0x1,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x2,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x6,(0x0,_0x3d2575['Inject'])(_0x3f0181)),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3ac682))],_0xf83a23);let _0x28f2f5=class extends _0x3d2575['Disposable']{constructor(_0x26efdb,_0x91032c,_0x51e475){const _0x506220=_0x1bb2bd;super(),this[_0x506220(0x2e9)]=_0x26efdb,this['_drawingManagerService']=_0x91032c,this[_0x506220(0x352)]=_0x51e475,this[_0x506220(0x3fd)]();}[_0x1bb2bd(0x3fd)](){const _0x395eb7=_0x1bb2bd;this[_0x395eb7(0x275)](this[_0x395eb7(0x2e9)][_0x395eb7(0x322)][_0x395eb7(0x401)](this[_0x395eb7(0x2e9)][_0x395eb7(0x322)][_0x395eb7(0x4df)]()[_0x395eb7(0x33f)],{'handler':(_0x38fd9c,_0x29b413,_0x31899a)=>{const _0x307270=_0x395eb7;var _0x29a833;let {unitId:_0x1925aa,subUnitId:_0x45528a,scene:_0x1708e5,resourceCollector:_0x785529}=_0x29b413,_0xea49b1=(_0x29a833=this[_0x307270(0x479)][_0x307270(0x158)](_0x1925aa))==null?void 0x0:_0x29a833[_0x45528a];return _0xea49b1==null||_0xea49b1[_0x307270(0x2b7)][_0x307270(0x307)](_0x58dd5e=>{const _0x2ef90a=_0x307270;let _0x25884c=_0xea49b1[_0x2ef90a(0x157)][_0x58dd5e];_0x25884c[_0x2ef90a(0x1f2)]===_0x3d2575['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x25884c[_0x2ef90a(0x300)]&&this['_shapeRenderController'][_0x2ef90a(0x39d)](_0x25884c,_0x1708e5,{'resourceCollector':_0x785529});}),_0x31899a(_0x38fd9c);}}));}};_0x28f2f5=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241['SheetPrintInterceptorService'])),_0x25f0d4(0x1,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf))],_0x28f2f5);let _0x4614ff=class extends _0x3d2575['Disposable']{constructor(_0x18eabf,_0x5ac99a,_0x181931){const _0x4132e8=_0x1bb2bd;super(),this[_0x4132e8(0x101)]=_0x18eabf,this['_localeService']=_0x5ac99a,this[_0x4132e8(0x16f)]=_0x181931,this[_0x4132e8(0x497)]();}[_0x1bb2bd(0x497)](){const _0x47eca5=_0x1bb2bd;this[_0x47eca5(0x275)](this[_0x47eca5(0x101)][_0x47eca5(0x2fd)](_0x2495cc=>{const _0x48a318=_0x47eca5;let _0x5999c0,_0x33d948;if(_0x2495cc['id']===_0x111169['InsertShapeCommand']['id']||_0x2495cc['id']===_0x111169['SetShapeDrawingDataCommand']['id']||_0x2495cc['id']===_0x111169['UpdateConnectorRelationCommand']['id']){let _0x402019=_0x2495cc[_0x48a318(0x4ad)];_0x5999c0=_0x402019['unitId'],_0x33d948=_0x402019[_0x48a318(0x114)];}_0x5999c0&&_0x33d948&&(this[_0x48a318(0x16f)][_0x48a318(0x3c6)]({'workbookTypes':[_0x306a90['WorkbookEditablePermission']],'worksheetTypes':[_0x306a90[_0x48a318(0x4b9)]]},_0x5999c0,_0x33d948)||this[_0x48a318(0x16f)]['blockExecuteWithoutPermission'](this[_0x48a318(0x122)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x4614ff=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x196)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575['LocaleService'])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x4c2)]))],_0x4614ff);let _0x438c32=class{constructor(_0x1b513a){const _0x969f67=_0x1bb2bd;this[_0x969f67(0x2ba)]=_0x1b513a;}[_0x1bb2bd(0x10e)](_0x1f6c70,_0x35c4ca){const _0x8ffecd=_0x1bb2bd;let _0x21a099=this['_renderManagerService']['getRenderUnitById'](_0x1f6c70['unitId']),_0x19fbdc=_0x21a099==null?void 0x0:_0x21a099[_0x8ffecd(0x179)];if(!_0x19fbdc)return;let _0x4739a4=(0x0,_0xf3cf76[_0x8ffecd(0x372)])(_0x1f6c70),_0x33b31e=_0x19fbdc[_0x8ffecd(0x195)](_0x4739a4);_0x33b31e==null||_0x33b31e[_0x8ffecd(0x437)](_0x35c4ca);}};_0x438c32=_0x4d7d62([_0x25f0d4(0x0,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x438c32);let _0x271f1d=class extends _0x3d2575['Plugin']{constructor(_0x4add07=_0x19b925,_0x9a8d1c,_0x4c07ce,_0x57d412,_0x4af60e){const _0x528a12=_0x1bb2bd;super(),this[_0x528a12(0x491)]=_0x4add07,this[_0x528a12(0x49e)]=_0x9a8d1c,this['_commandService']=_0x4c07ce,this['_configService']=_0x57d412,this[_0x528a12(0x2ba)]=_0x4af60e;let {..._0x10617c}=(0x0,_0x3d2575[_0x528a12(0x462)])({},_0x19b925,this[_0x528a12(0x491)]);this['_configService']['setConfig'](_0x230154,_0x10617c),this[_0x528a12(0x1cf)]();}['onStarting'](){const _0x3be56c=_0x1bb2bd;this[_0x3be56c(0x49e)][_0x3be56c(0x358)]([_0x17e610]),this[_0x3be56c(0x49e)][_0x3be56c(0x107)](_0x17e610),(0x0,_0x3d2575['registerDependencies'])(this[_0x3be56c(0x49e)],[[_0x7a1081],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff]]);}[_0x1bb2bd(0x4ab)](){const _0x1a3b77=_0x1bb2bd;(0x0,_0x3d2575['registerDependencies'])(this[_0x1a3b77(0x49e)],[[_0x3ac682],[_0x3f0181],[_0x4e2732]]),(0x0,_0x3d2575[_0x1a3b77(0x480)])(this[_0x1a3b77(0x49e)],[[_0x4e2732],[_0x3f0181]]),[[_0x3ac682],[_0x3c521c],[_0xf83a23],[_0x25d7a6]][_0x1a3b77(0x307)](_0x181881=>{const _0x5ec7c5=_0x1a3b77;this['disposeWithMe'](this[_0x5ec7c5(0x2ba)][_0x5ec7c5(0x469)](_0x3d2575[_0x5ec7c5(0x4f8)][_0x5ec7c5(0x245)],_0x181881));});}[_0x1bb2bd(0x1fb)](){const _0x3e315a=_0x1bb2bd;(0x0,_0x3d2575[_0x3e315a(0x480)])(this['_injector'],[[_0x7a1081],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff]]);}[_0x1bb2bd(0x22e)](){const _0x382999=_0x1bb2bd;this[_0x382999(0x49e)][_0x382999(0x107)](_0x7a1081)[_0x382999(0x2aa)]();}['_initCommands'](){const _0x28fb19=_0x1bb2bd;[_0x5b3fe4,_0x28edce,_0x1798ea,_0x3c4530][_0x28fb19(0x307)](_0x512717=>this[_0x28fb19(0x275)](this[_0x28fb19(0x101)][_0x28fb19(0x1e6)](_0x512717)));}};_0x19f136(_0x271f1d,_0x1bb2bd(0x443),_0x3d2575[_0x1bb2bd(0x4f8)][_0x1bb2bd(0x245)]),_0x19f136(_0x271f1d,_0x1bb2bd(0x4b7),_0x1bb2bd(0x272)),_0x19f136(_0x271f1d,_0x1bb2bd(0x194),_0xb85a59),_0x19f136(_0x271f1d,_0x1bb2bd(0x1c9),_0x40799a),_0x271f1d=_0x4d7d62([(0x0,_0x3d2575[_0x1bb2bd(0x1a9)])(_0x477279[_0x1bb2bd(0x140)],_0x14cace[_0x1bb2bd(0x238)],_0xf3cf76[_0x1bb2bd(0x42a)],_0x610ad8['UniverRenderEnginePlugin'],_0x306a90[_0x1bb2bd(0x2e6)],_0xa851c1[_0x1bb2bd(0x2b2)],_0x20c5a7[_0x1bb2bd(0x406)],_0x41ad7c[_0x1bb2bd(0x4b8)],_0x51ad4c['UniverSheetsDrawingMobileUIPlugin'],_0x111169[_0x1bb2bd(0x464)],_0x542241['UniverSheetsMobileUIPlugin'],_0x583754[_0x1bb2bd(0x39c)],_0x1b3cd1['UniverMobileUIPlugin']),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x22d)])),_0x25f0d4(0x2,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x176)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x271f1d);let _0x2c111e={'type':_0x3d2575['CommandType'][_0x1bb2bd(0x212)],'id':_0x1bb2bd(0x110),'handler'(){return!0x0;}};function _0x156107(){const _0x12f1e4=_0x1bb2bd;let _0x5a02bc=(0x0,_0x1b3cd1[_0x12f1e4(0x4bb)])(_0xf3cf76[_0x12f1e4(0x2fe)]),_0x488742=(0x0,_0x1b3cd1[_0x12f1e4(0x28f)])(()=>_0x5a02bc[_0x12f1e4(0x2c2)],_0x5a02bc['getFocusDrawings'](),!0x1,[_0x5a02bc]);return _0x488742[_0x12f1e4(0x40e)]===0x0?null:(0x0,_0x1fd74c['jsx'])(_0x12f1e4(0x145),{'children':(0x0,_0x1fd74c[_0x12f1e4(0x13a)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x1fd74c[_0x12f1e4(0x451)])(_0x2114cd[_0x12f1e4(0x488)],{'drawings':_0x488742,'hasCropper':!0x1}),(0x0,_0x1fd74c[_0x12f1e4(0x451)])(_0x51ad4c[_0x12f1e4(0x377)],{'drawings':_0x488742})]})});}function _0x450232(_0x4be86f){const _0x2b48e3=_0x1bb2bd;let {unitId:_0x53e5f6,subUnitId:_0x557d9e,shapeId:_0x4f8e0f}=_0x4be86f,_0x56eda6=(0x0,_0x1b3cd1[_0x2b48e3(0x4bb)])(_0x3d2575['ICommandService']),_0x2ba62e=(0x0,_0x1b3cd1['useDependency'])(_0x438c32);return(0x0,_0x1fd74c[_0x2b48e3(0x451)])(_0x583754['ShapeEditPanel'],{..._0x4be86f,'positionEditor':(0x0,_0x1fd74c[_0x2b48e3(0x451)])(_0x156107,{}),'onUpdateShapeData':(_0x2d326f,_0x58a46f)=>{_0x5c7f30(_0x56eda6,_0x53e5f6,_0x557d9e,_0x4f8e0f,_0x2d326f,_0x58a46f);},'onUpdateLineShapeData':(_0x3a7621,_0x2c48e0)=>{_0x500b09(_0x56eda6,_0x53e5f6,_0x557d9e,_0x4f8e0f,_0x3a7621,_0x2c48e0);},'onUpdateShapeFillImage':_0x3f5c68=>{const _0x3b336b=_0x2b48e3;_0x2ba62e[_0x3b336b(0x10e)]({'unitId':_0x53e5f6,'subUnitId':_0x557d9e,'drawingId':_0x4f8e0f},_0x3f5c68);}});}function _0x4a5369(_0x40a07f){const _0x219832=_0x1bb2bd;let _0x5d37d8=(0x0,_0x1b3cd1[_0x219832(0x4bb)])(_0x583754['ShapeFloatingToolbarService']),_0x2b667b=(0x0,_0x1b3cd1['useObservable'])(()=>_0x5d37d8[_0x219832(0x376)],_0x5d37d8[_0x219832(0x26f)](),!0x1,[_0x5d37d8]),_0x50e490=_0x40a07f[_0x219832(0x1c0)][_0x219832(0x21b)];return!_0x50e490||!_0x2b667b?null:(0x0,_0x1fd74c[_0x219832(0x451)])(_0x259047,{..._0x50e490,'canvasElement':_0x40a07f[_0x219832(0x1c0)][_0x219832(0x3e6)]});}function _0x259047(_0x52c685){const _0x51b0ab=_0x1bb2bd;let _0x1ce1bd=(0x0,_0x1b3cd1[_0x51b0ab(0x4bb)])(_0x3d2575[_0x51b0ab(0x196)]),_0x4de21d=(0x0,_0x1b3cd1[_0x51b0ab(0x4bb)])(_0x111169[_0x51b0ab(0x4d3)]),{unitId:_0x4fe357,subUnitId:_0x388094,drawingId:_0x31a72d,drawingType:_0x126c53,shapeType:_0x478932}=_0x52c685,[_0x5ec74b,_0xe7fdbd]=(0x0,_0x5335a7[_0x51b0ab(0x431)])(_0x52c685[_0x51b0ab(0x268)]),_0x3468b7=(0x0,_0x5335a7[_0x51b0ab(0x415)])(()=>(0x0,_0x583754[_0x51b0ab(0x225)])(_0x5ec74b),[_0x5ec74b]),_0x392f74=(0x0,_0x5335a7[_0x51b0ab(0x415)])(()=>(0x0,_0x583754['getTextModel'])(_0x5ec74b),[_0x5ec74b]);(0x0,_0x5335a7[_0x51b0ab(0x294)])(()=>{const _0xd30371=_0x51b0ab;let _0x2aa0b3=_0x1ce1bd[_0xd30371(0x2df)](_0x2e7c26=>{const _0x28be32=_0xd30371;if(_0x2e7c26['id']!==_0x111169[_0x28be32(0x1d6)]['id'])return;let _0x4e3fdc=_0x4de21d[_0x28be32(0x1f5)](_0x4fe357,_0x388094,_0x31a72d);_0x4e3fdc&&_0xe7fdbd(_0x4e3fdc);});return()=>_0x2aa0b3['dispose']();},[_0x1ce1bd,_0x31a72d,_0x4de21d,_0x388094,_0x4fe357]);let _0x51a0fe=_0x136d81=>{_0xe7fdbd(_0x59d03b=>({..._0x59d03b,..._0x136d81}));},_0xa15eff=_0x9553b2=>{const _0x39c002=_0x51b0ab;let _0x540bf3=(0x0,_0x583754[_0x39c002(0x23c)])(_0x5ec74b,_0x9553b2);_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,{'oldShapeData':{'shapeText':_0x5ec74b[_0x39c002(0x234)]}},_0x540bf3),_0x51a0fe(_0x540bf3);},_0xeb6e1a=(0x0,_0x583754[_0x51b0ab(0x42e)])({'hostType':_0x3d2575[_0x51b0ab(0x4f8)][_0x51b0ab(0x245)],'unitId':_0x4fe357,'subUnitId':_0x388094,'shapeId':_0x31a72d,'shapeData':_0x5ec74b,'onUpdateBinding':_0x5ac4b4=>{const _0xa2317d=_0x51b0ab;let _0x4a9fb3={'formulaBinding':_0x5ac4b4};_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,{'oldShapeData':{'formulaBinding':_0x5ec74b[_0xa2317d(0x103)]}},_0x4a9fb3),_0x51a0fe(_0x4a9fb3);}});return(0x0,_0x1fd74c[_0x51b0ab(0x13a)])(_0x1fd74c[_0x51b0ab(0x1e8)],{'children':[(0x0,_0x1fd74c['jsx'])(_0x583754[_0x51b0ab(0x201)],{'canvasElement':_0x52c685['canvasElement'],'shapeData':_0x5ec74b,'shapeType':_0x478932,'textStyle':{'ff':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x234)][_0x51b0ab(0x48e)],'fs':_0x756c25['ShapeDefaultConfig'][_0x51b0ab(0x234)][_0x51b0ab(0x478)],'cl':{'rgb':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x234)][_0x51b0ab(0x178)]},..._0x3468b7},'textModel':_0x392f74?{'ha':_0x392f74['ha']??_0x3d2575[_0x51b0ab(0x217)]['LEFT'],'va':_0x392f74['va']??_0x3d2575[_0x51b0ab(0x27d)]['TOP']}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x266)],'defaultGradientEndColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x295)],'defaultStrokeColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x4e8)],'extensionGroups':_0xeb6e1a['extensionGroups'],'floatingObjectToolbarPosition':_0x1b3cd1[_0x51b0ab(0x36a)][_0x51b0ab(0x167)],'onUpdateShapeData':(_0x540bbd,_0x4d4b37)=>{_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,_0x540bbd,_0x4d4b37),_0x4d4b37&&_0x51a0fe(_0x4d4b37);},'onUpdateText':_0xa15eff,'onOpenPanel':()=>{const _0x5afb60=_0x51b0ab;_0x1ce1bd[_0x5afb60(0x24d)](_0x3c6df3['id'],{'unitId':_0x4fe357,'subUnitId':_0x388094,'drawingId':_0x31a72d});},'onDelete':()=>{const _0x3c639c=_0x51b0ab;_0x1ce1bd[_0x3c639c(0x24d)](_0x20c5a7['RemoveSheetDrawingCommand']['id'],{'unitId':_0x4fe357,'drawings':[{'unitId':_0x4fe357,'subUnitId':_0x388094,'drawingId':_0x31a72d,'drawingType':_0x126c53}]});}}),_0xeb6e1a['panel']]});}function _0x278664(_0xf20be9){const _0xa09c52=_0x1bb2bd;return!!_0xf20be9&&'axisAlignSheetTransform'in _0xf20be9&&_0xa09c52(0x492)in _0xf20be9;}let _0x4cee40=(0x0,_0x5335a7['memo'])(()=>{const _0x49ecfe=_0x1bb2bd;let _0x5a24a9=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x47b563),_0xc3b2f6=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x111169['SheetsShapeService']),_0x1d5130=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0xf3cf76['IDrawingManagerService']),_0x4720b3=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x49ecfe(0x196)]),_0x5288f0=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x1b3cd1['UndoRedoGroupService']),_0x4bd2d1=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x610ad8[_0x49ecfe(0x1a3)]),_0x3fab45=(0x0,_0x5335a7[_0x49ecfe(0x415)])(()=>({'getShapeModel':(_0x16733a,_0x53a97d,_0x249c9a)=>_0xc3b2f6['getShapeModel'](_0x16733a,_0x53a97d,_0x249c9a),'getShapeData':(_0x26c92e,_0x16157e,_0xb626a2)=>_0xc3b2f6[_0x49ecfe(0x1f5)](_0x26c92e,_0x16157e,_0xb626a2),'getDrawingTransform':(_0x1360c3,_0x416f10,_0x4be1c3)=>{const _0x3ecc57=_0x49ecfe;let _0x15d2d3=_0x1d5130['getDrawingByParam']({'unitId':_0x1360c3,'subUnitId':_0x416f10,'drawingId':_0x4be1c3});return _0x15d2d3==null?void 0x0:_0x15d2d3[_0x3ecc57(0x3e4)];},'updateShapeText':({unitId:_0x554da4,subUnitId:_0x3827f7,shapeId:_0xf29be5,shapeText:_0x181de3,oldShapeText:_0x5a46b9,hostSize:_0x4a04f4})=>{const _0x2e0c0a=_0x49ecfe;_0x5288f0[_0x2e0c0a(0x192)](_0x554da4,()=>{const _0x5942ce=_0x2e0c0a;var _0x3e3a56;let _0xfa3401=_0x4720b3[_0x5942ce(0x2ca)](_0x28edce['id'],{'unitId':_0x554da4,'subUnitId':_0x3827f7,'shapeId':_0xf29be5,'shapeData':{'shapeText':_0x181de3},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5a46b9}}});if(!_0xfa3401||!_0x4a04f4)return _0xfa3401;let _0x4533d2=_0x1d5130['getDrawingByParam']({'unitId':_0x554da4,'subUnitId':_0x3827f7,'drawingId':_0xf29be5}),_0x4144de=_0x4533d2==null?void 0x0:_0x4533d2['transform'];if(!_0x278664(_0x4533d2)||!_0x4144de)return!0x1;let _0x30d68c={..._0x4144de,'width':_0x4a04f4[_0x5942ce(0x181)],'height':_0x4a04f4[_0x5942ce(0x1db)]},_0x2500c6=(_0x3e3a56=_0x4bd2d1[_0x5942ce(0x40c)](_0x554da4))==null||(_0x3e3a56=_0x3e3a56['with'](_0x542241[_0x5942ce(0x15f)])[_0x5942ce(0x38d)](_0x3827f7))==null?void 0x0:_0x3e3a56[_0x5942ce(0x4be)];return _0x4720b3['syncExecuteCommand'](_0x20c5a7[_0x5942ce(0x40b)]['id'],{'unitId':_0x554da4,'drawings':[{..._0x4533d2,'transform':_0x30d68c,'sheetTransform':_0x2500c6?(0x0,_0x20c5a7[_0x5942ce(0x456)])(_0x30d68c,_0x2500c6)??_0x4533d2[_0x5942ce(0x492)]:_0x4533d2['sheetTransform'],'axisAlignSheetTransform':_0x2500c6?(0x0,_0x20c5a7[_0x5942ce(0x3a0)])(_0x30d68c,_0x2500c6)??_0x4533d2[_0x5942ce(0x1d3)]:_0x4533d2['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x4e921e,subUnitId:_0x11c58b,shapeId:_0x44720b,width:_0x10a3b6,height:_0x354c09})=>{const _0x1b50b7=_0x49ecfe;var _0x3dce4a;let _0x5ca7dd=_0x1d5130[_0x1b50b7(0x4f0)]({'unitId':_0x4e921e,'subUnitId':_0x11c58b,'drawingId':_0x44720b}),_0x36d482=_0x5ca7dd==null?void 0x0:_0x5ca7dd[_0x1b50b7(0x3e4)];if(!_0x278664(_0x5ca7dd)||!_0x36d482)return;let _0x1685fe={..._0x36d482,'width':_0x10a3b6,'height':_0x354c09},_0x23892f=(_0x3dce4a=_0x4bd2d1['getRenderUnitById'](_0x4e921e))==null||(_0x3dce4a=_0x3dce4a[_0x1b50b7(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x1b50b7(0x38d)](_0x11c58b))==null?void 0x0:_0x3dce4a[_0x1b50b7(0x4be)],_0x301dd3=_0x23892f?(0x0,_0x20c5a7[_0x1b50b7(0x456)])(_0x1685fe,_0x23892f)??_0x5ca7dd[_0x1b50b7(0x492)]:_0x5ca7dd[_0x1b50b7(0x492)],_0x1daeb6=_0x23892f?(0x0,_0x20c5a7[_0x1b50b7(0x3a0)])(_0x1685fe,_0x23892f)??_0x5ca7dd[_0x1b50b7(0x1d3)]:_0x5ca7dd[_0x1b50b7(0x1d3)];_0x4720b3[_0x1b50b7(0x24d)](_0x20c5a7[_0x1b50b7(0x40b)]['id'],{'unitId':_0x4e921e,'drawings':[{..._0x5ca7dd,'transform':_0x1685fe,'sheetTransform':_0x301dd3,'axisAlignSheetTransform':_0x1daeb6}]});},'allowHostSizeShrink':({unitId:_0x16213e,subUnitId:_0x5700d6,shapeId:_0x37a7f3})=>(0x0,_0x583754[_0x49ecfe(0x2bb)])(_0xc3b2f6[_0x49ecfe(0x1f5)](_0x16213e,_0x5700d6,_0x37a7f3)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4720b3,_0x1d5130,_0x4bd2d1,_0xc3b2f6,_0x5288f0]),_0x21788a=(0x0,_0x5335a7[_0x49ecfe(0x415)])(()=>({'viewportKeys':{'main':_0x610ad8[_0x49ecfe(0x2d7)]['VIEW_MAIN'],'leftTop':_0x610ad8[_0x49ecfe(0x2d7)]['VIEW_MAIN_LEFT_TOP'],'top':_0x610ad8['SHEET_VIEWPORT_KEY'][_0x49ecfe(0x1d4)],'left':_0x610ad8[_0x49ecfe(0x2d7)][_0x49ecfe(0x12d)]},'getSkeleton':(_0x240865,_0x1f4eb3)=>{const _0x3d80c9=_0x49ecfe;var _0x1018ba;return((_0x1018ba=_0x240865[_0x3d80c9(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x3d80c9(0x38d)](_0x1f4eb3[_0x3d80c9(0x114)]))==null?void 0x0:_0x1018ba[_0x3d80c9(0x4be)])??null;}}),[]);return(0x0,_0x1fd74c[_0x49ecfe(0x451)])(_0x583754[_0x49ecfe(0x3ac)],{'adapter':_0x3fab45,'editingService':_0x5a24a9,'editorUnitId':_0x37cb6a,'positionOptions':_0x21788a});}),_0x5dbe2c=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1230b6,_0x4edb4a){const _0x1ae447=_0x1bb2bd;super(),this[_0x1ae447(0x2f8)]=_0x1230b6,this[_0x1ae447(0x1fd)]=_0x4edb4a,this[_0x1ae447(0x362)](),this[_0x1ae447(0x317)]();}[_0x1bb2bd(0x362)](){const _0x35d59f=_0x1bb2bd;this[_0x35d59f(0x1fd)]['has'](_0x35d59f(0x343))||this[_0x35d59f(0x275)](this['_iconManager'][_0x35d59f(0x232)]({'ObjectLayersIcon':_0xdbe423})),this['_iconManager'][_0x35d59f(0x22c)]('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'FlipHorizontalIcon':_0x35fab2})),this[_0x35d59f(0x1fd)][_0x35d59f(0x22c)](_0x35d59f(0x144))||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'FlipVerticalIcon':_0x52fe81})),this['_iconManager'][_0x35d59f(0x22c)]('BottomIcon')||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)]['register']({'BottomIcon':_0x470652})),this[_0x35d59f(0x1fd)]['has']('MoveDownIcon')||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'MoveDownIcon':_0x435f4c})),this[_0x35d59f(0x1fd)][_0x35d59f(0x22c)](_0x35d59f(0x490))||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'MoveUpIcon':_0x524c1b})),this['_iconManager']['has'](_0x35d59f(0x17c))||this['disposeWithMe'](this['_iconManager']['register']({'ShapeFormatSettingIcon':_0x96e2b1})),this[_0x35d59f(0x1fd)]['has'](_0x35d59f(0x2ec))||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'TopmostIcon':_0x49b7d3}));}[_0x1bb2bd(0x317)](){const _0x499f6f=_0x1bb2bd;this[_0x499f6f(0x275)](this['_componentManager'][_0x499f6f(0x232)](_0x326d15,_0x450232)),this['disposeWithMe'](this[_0x499f6f(0x2f8)]['register'](_0x10e550,_0x264bc1)),this[_0x499f6f(0x275)](this['_componentManager']['register'](_0x47cd2f,_0x2e8109)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x45262e,_0x280cd7)),this[_0x499f6f(0x2f8)][_0x499f6f(0x229)](_0x2114cd[_0x499f6f(0x257)])||this[_0x499f6f(0x275)](this['_componentManager'][_0x499f6f(0x232)](_0x2114cd['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x2c0838)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x2c0ba8,_0x4a5369)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x238dee,_0x32fb78)),this[_0x499f6f(0x275)](this['_componentManager']['register'](_0xab61b7,_0x3157e2)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x220c17,_0x43a566)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x1bccbb,_0x41076a)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x26229f,_0x583754[_0x499f6f(0x3d8)])),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x499f6f(0x410),_0x4cee40));}};_0x5dbe2c=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1['ComponentManager'])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1['IconManager']))],_0x5dbe2c);let _0x1c4a0e=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1f2be4,_0xd99b9b,_0x5c459c,_0x47c0a6,_0x378636,_0x39fa7f,_0x338e30,_0x21a1ba,_0x26b10c){const _0x20baa7=_0x1bb2bd;super();let _0x5b9b48=_0x31ee94=>{const _0x380896=_0x413c;var _0x3470f2,_0xca66e2;return(((_0x3470f2=_0x21a1ba['getPermissionPoint'](new _0x306a90[(_0x380896(0x4f7))](_0x31ee94['unitId'])['id']))==null?void 0x0:_0x3470f2[_0x380896(0x18a)])??!0x0)&&(((_0xca66e2=_0x21a1ba[_0x380896(0x450)](new _0x306a90['WorksheetEditPermission'](_0x31ee94['unitId'],_0x31ee94['subUnitId'])['id']))==null?void 0x0:_0xca66e2[_0x380896(0x18a)])??!0x0);},_0x5a7721=_0x45bc8d=>_0x45bc8d[_0x20baa7(0x4dd)]&&_0x5b9b48(_0x45bc8d)?_0x5c459c[_0x20baa7(0x1f5)](_0x45bc8d[_0x20baa7(0x26d)],_0x45bc8d[_0x20baa7(0x114)],_0x45bc8d[_0x20baa7(0x4dd)])??null:null,_0x9f5c9f=()=>{const _0x908657=_0x20baa7;let _0x1eeee8=_0x378636[_0x908657(0x337)](),_0x3bd0b4=_0x1eeee8[_0x908657(0x40e)]===0x1?_0x1eeee8[0x0]:null;return(_0x3bd0b4==null?void 0x0:_0x3bd0b4['drawingType'])===_0x3d2575['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x3bd0b4[_0x908657(0x26d)]===_0x1f2be4[_0x908657(0x26d)]?{'unitId':_0x3bd0b4['unitId'],'subUnitId':_0x3bd0b4['subUnitId'],'shapeId':_0x3bd0b4[_0x908657(0x17d)]}:null;};this[_0x20baa7(0x275)]((0x0,_0x583754[_0x20baa7(0x3f7)])(_0x1f2be4,_0xd99b9b,{'changes$':(0x0,_0x133625[_0x20baa7(0x462)])(_0x378636[_0x20baa7(0x2c2)],_0x47c0a6[_0x20baa7(0x3d4)],_0x21a1ba[_0x20baa7(0x399)]),'isActive':()=>{const _0x1e8792=_0x20baa7;var _0x4be223;return((_0x4be223=_0x39fa7f[_0x1e8792(0x446)]())==null?void 0x0:_0x4be223['getUnitId']())===_0x1f2be4[_0x1e8792(0x26d)]&&!_0x338e30[_0x1e8792(0x4cb)](_0x3d2575[_0x1e8792(0x44a)])&&_0x378636[_0x1e8792(0x337)]()[_0x1e8792(0x1f9)](_0x41041c=>_0x41041c[_0x1e8792(0x26d)]===_0x1f2be4[_0x1e8792(0x26d)]);},'getSelectedTarget':_0x9f5c9f,'getSource':()=>{let _0x1d5ded=_0x9f5c9f();return _0x1d5ded?_0x5a7721(_0x1d5ded):null;},'getTarget':_0x207001=>{const _0x2639a2=_0x20baa7;let _0x15f492=_0x1f2be4[_0x2639a2(0x179)][_0x2639a2(0x121)](new _0x610ad8[(_0x2639a2(0x330))](_0x207001[_0x2639a2(0x165)],_0x207001[_0x2639a2(0x10f)]));if(!(_0x15f492 instanceof _0x28ba5a))return null;let _0x56744f={'unitId':_0x1f2be4[_0x2639a2(0x26d)],'subUnitId':_0x15f492['subUnitId'],'shapeId':_0x15f492['shapeId']};return _0x5b9b48(_0x56744f)?_0x56744f:null;},'getShape':_0x5a7721,'update':(_0x3b51e1,_0x46144c,_0x206f08)=>_0x26b10c[_0x20baa7(0x24d)](_0x28edce['id'],{..._0x3b51e1,'shapeData':_0x206f08,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x46144c}})}));}};_0x1c4a0e=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x475)])),_0x25f0d4(0x2,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x4,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x5,_0x3d2575['IUniverInstanceService']),_0x25f0d4(0x6,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x7,_0x3d2575[_0x1bb2bd(0x1a5)]),_0x25f0d4(0x8,_0x3d2575[_0x1bb2bd(0x196)])],_0x1c4a0e);let _0x308c68=_0x1bb2bd(0x336),_0x17bdd5=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x4ba0a5,_0x3b5bfc,_0x2c80e1,_0x34b073,_0x4295c8,_0x168bef){const _0x4d9d44=_0x1bb2bd;super(),this[_0x4d9d44(0x39e)]=_0x4ba0a5,this['_ribbonService']=_0x3b5bfc,this[_0x4d9d44(0x479)]=_0x2c80e1,this[_0x4d9d44(0x3da)]=_0x34b073,this[_0x4d9d44(0x2ba)]=_0x4295c8,this[_0x4d9d44(0x15b)]=_0x168bef,_0x19f136(this,_0x4d9d44(0x2d1),!0x1),this[_0x4d9d44(0x39e)][_0x4d9d44(0x171)](_0xa4546b),this['disposeWithMe']((0x0,_0x3d2575['toDisposable'])(this[_0x4d9d44(0x479)][_0x4d9d44(0x2c2)][_0x4d9d44(0x3b2)](()=>this[_0x4d9d44(0x449)]()))),this['_update']();}[_0x1bb2bd(0x3cc)](){const _0x20f9db=_0x1bb2bd;this[_0x20f9db(0x15b)][_0x20f9db(0x2e7)](!0x1,_0x308c68),this[_0x20f9db(0x35a)](),super[_0x20f9db(0x3cc)]();}[_0x1bb2bd(0x449)](){const _0x344b92=_0x1bb2bd;var _0x11f212;let _0x23b7a8=this[_0x344b92(0x479)][_0x344b92(0x337)](),_0xc72b0a=_0x23b7a8[_0x344b92(0x40e)]===0x1?_0x23b7a8[0x0]:void 0x0;if((_0xc72b0a==null?void 0x0:_0xc72b0a[_0x344b92(0x1f2)])!==_0x3d2575['DrawingTypeEnum'][_0x344b92(0x30b)]||this['_univerInstanceService'][_0x344b92(0x28c)](_0xc72b0a[_0x344b92(0x26d)])!==_0x3d2575[_0x344b92(0x4f8)][_0x344b92(0x245)]){this[_0x344b92(0x15b)][_0x344b92(0x2e7)](!0x1,_0x308c68),this[_0x344b92(0x35a)]();return;}let _0x4a3755=(_0x11f212=this['_renderManagerService'][_0x344b92(0x40c)](_0xc72b0a[_0x344b92(0x26d)]))==null?void 0x0:_0x11f212[_0x344b92(0x43c)]['getCanvasElement'](),_0x3dac4b=(0x0,_0x583754[_0x344b92(0x16c)])(_0x4a3755)===_0x344b92(0x44d);this[_0x344b92(0x15b)]['setFallbackVisible'](_0x3dac4b,_0x308c68),_0x3dac4b?this['_hide']():this[_0x344b92(0x2d1)]||(this[_0x344b92(0x2d1)]=!0x0,this[_0x344b92(0x127)]['showContextualTab'](_0x262faa,{'activate':!0x0}));}[_0x1bb2bd(0x35a)](){const _0x32b9d7=_0x1bb2bd;this[_0x32b9d7(0x2d1)]&&(this[_0x32b9d7(0x2d1)]=!0x1,this[_0x32b9d7(0x127)][_0x32b9d7(0x457)](_0x262faa),this[_0x32b9d7(0x127)][_0x32b9d7(0x21a)]([]));}};_0x17bdd5=_0x4d7d62([_0x25f0d4(0x0,_0x1b3cd1['IMenuManagerService']),_0x25f0d4(0x1,_0x1b3cd1[_0x1bb2bd(0x484)]),_0x25f0d4(0x2,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x583754[_0x1bb2bd(0x325)]))],_0x17bdd5);let _0x26a9bd=class extends _0x583754[_0x1bb2bd(0x422)]{constructor(_0x162888,_0x3be598,_0x5ae509,_0x155318,_0x3f077b,_0x310d6a,_0x313a2a,_0x5c0081,_0x468da3,_0x4b9cd4){super(_0x162888,_0x3be598,_0x5ae509,_0x155318,_0x3f077b,_0x310d6a,_0x313a2a,_0x5c0081,_0x468da3,_0x4b9cd4,{'componentKey':_0x26229f,'editorUnitId':_0x37cb6a});}};_0x26a9bd=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x14cace[_0x1bb2bd(0x1bd)])),_0x25f0d4(0x2,(0x0,_0x3d2575['Inject'])(_0xa851c1[_0x1bb2bd(0x1aa)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xa851c1['DocSelectionRenderService'])),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xa851c1['DocEventManagerService'])),_0x25f0d4(0x6,(0x0,_0x3d2575['Inject'])(_0x583754['ShapeTextHyperLinkPopupService'])),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x14cace[_0x1bb2bd(0x3ea)])),_0x25f0d4(0x8,(0x0,_0x3d2575['Inject'])(_0xa851c1[_0x1bb2bd(0x1d2)])),_0x25f0d4(0x9,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x26a9bd);let _0x442744=class extends _0x583754[_0x1bb2bd(0x247)]{constructor(_0x115b6b,_0xdd39b7,_0x4d0c9d,_0x472b39,_0xac6dd5){const _0x4c1cc9=_0x1bb2bd;super(_0x115b6b,_0xdd39b7,{'editing$':_0x4d0c9d['editingParams$'],'resolve':_0x4906df=>{const _0x4e1f72=_0x413c;var _0x42f255,_0xdcd1f0,_0x321d23;let _0x19e45f=new _0x610ad8[(_0x4e1f72(0x330))](_0x4906df[_0x4e1f72(0x165)],_0x4906df[_0x4e1f72(0x10f)]),_0x4a10f0=((_0x42f255=_0x115b6b[_0x4e1f72(0x179)][_0x4e1f72(0x2be)](_0x19e45f))==null?void 0x0:_0x42f255['transformVector2SceneCoord'](_0x19e45f))??_0x19e45f,_0x6b2b5e=(0x0,_0x583754[_0x4e1f72(0x367)])(_0x115b6b[_0x4e1f72(0x179)][_0x4e1f72(0x121)](_0x19e45f)??null,_0x4a10f0);if(!(_0x6b2b5e instanceof _0x28ba5a))return null;let _0x37e568=_0x6b2b5e[_0x4e1f72(0x218)](_0x4a10f0);if(!_0x37e568)return null;let _0x585834=_0x6b2b5e,_0x44c9af={'componentKey':_0x583754[_0x4e1f72(0x18c)][_0x4e1f72(0x252)],'direction':_0x4e1f72(0x2cd),'offset':[0x0,0xa],'onClickOutside':()=>_0xdd39b7['hideInfoPopup']()};return{'object':_0x6b2b5e,'info':{..._0x37e568,'unitId':_0x6b2b5e[_0x4e1f72(0x26d)],'subUnitId':_0x6b2b5e[_0x4e1f72(0x114)],'shapeKey':_0x6b2b5e[_0x4e1f72(0x3ae)],'readonly':!0x0,'copyable':((_0xdcd1f0=_0xac6dd5['getPermissionPoint'](new _0x306a90['WorkbookCopyPermission'](_0x6b2b5e['unitId'])['id']))==null?void 0x0:_0xdcd1f0[_0x4e1f72(0x18a)])!==!0x1&&((_0x321d23=_0xac6dd5[_0x4e1f72(0x450)](new _0x306a90[(_0x4e1f72(0x302))](_0x6b2b5e[_0x4e1f72(0x26d)],_0x6b2b5e[_0x4e1f72(0x114)])['id']))==null?void 0x0:_0x321d23[_0x4e1f72(0x18a)])!==!0x1},'attachPopup':()=>_0x472b39['attachPopupToObject'](_0x585834,_0x44c9af)};}}),this[_0x4c1cc9(0x275)](_0x115b6b[_0x4c1cc9(0x23e)][_0x4c1cc9(0x404)][_0x4c1cc9(0x3b2)](()=>this['clear']()));}};_0x442744=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x583754[_0x1bb2bd(0x3d7)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241['SheetCanvasPopManagerService'])),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x1a5)])],_0x442744);let _0x54f0c1=class extends _0x3d2575['Disposable']{constructor(_0x1c85de,_0x421a75,_0x1b0bfb,_0x3e9547,_0x33d224,_0x5007df,_0x35724e,_0x5b32de,_0x11747e,_0x39341b,_0x5c6a4d){const _0xb76a40=_0x1bb2bd;super(),this[_0xb76a40(0x3da)]=_0x1c85de,this[_0xb76a40(0x44e)]=_0x421a75,this[_0xb76a40(0x39e)]=_0x1b0bfb,this[_0xb76a40(0x496)]=_0x3e9547,this[_0xb76a40(0x122)]=_0x33d224,this['_commandService']=_0x5007df,this[_0xb76a40(0x479)]=_0x35724e,this[_0xb76a40(0x3db)]=_0x5b32de,this[_0xb76a40(0x2ef)]=_0x11747e,this[_0xb76a40(0x2ba)]=_0x39341b,this['_shapeTextEditingService']=_0x5c6a4d,_0x19f136(this,_0xb76a40(0x2c8),null),_0x19f136(this,_0xb76a40(0x146),null),_0x19f136(this,_0xb76a40(0x3dc),!0x1),_0x19f136(this,_0xb76a40(0x1ad),0x0),_0x19f136(this,'_shapePopupMenuDisposable',null),_0x19f136(this,'_disposePopups',[]),this[_0xb76a40(0x28b)](),this[_0xb76a40(0x275)](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x3d2575[_0xb76a40(0x4f8)][_0xb76a40(0x245)])[_0xb76a40(0x3b2)](_0x3a0fcf=>{const _0x43ebae=_0xb76a40;if(!_0x3a0fcf){var _0x51b5f3;(_0x51b5f3=this[_0x43ebae(0x2c8)])==null||_0x51b5f3[_0x43ebae(0x3cc)]();}})),this[_0xb76a40(0x11f)](),this['initShapePopupMenu'](),this[_0xb76a40(0x275)](this['_shapeTextEditingService'][_0xb76a40(0x3d4)][_0xb76a40(0x3b2)](_0x308c4a=>{const _0x3bb031=_0xb76a40;_0x308c4a&&this[_0x3bb031(0x46a)]();}));}['_initMenu'](){const _0x1c18d5=_0x1bb2bd;this[_0x1c18d5(0x39e)][_0x1c18d5(0x171)](_0xb0b3d3);}[_0x1bb2bd(0x2aa)](){const _0x4c9e37=_0x1bb2bd;this['_shapePopupMenuDisposable']||=this[_0x4c9e37(0x275)]((0x0,_0x583754[_0x4c9e37(0x331)])(this[_0x4c9e37(0x2ba)],_0x3d2575[_0x4c9e37(0x4f8)]['UNIVER_SHEET'],_0x259466=>this[_0x4c9e37(0x29f)](_0x259466)));}['_getShapeInfo'](_0xdf3000,_0x50628a,_0x72471b){const _0x4b92ad=_0x1bb2bd;let _0x18aa6a=this[_0x4b92ad(0x496)]['getShapeTypeById'](_0xdf3000,_0x50628a,_0x72471b),_0x434c9e=this['_sheetsShapeService'][_0x4b92ad(0x1f5)](_0xdf3000,_0x50628a,_0x72471b);return _0x18aa6a!==void 0x0&&_0x434c9e!==void 0x0?{'shapeData':_0x434c9e,'shapeId':_0x72471b,'shapeType':_0x18aa6a,'unitId':_0xdf3000,'subUnitId':_0x50628a,'version':this[_0x4b92ad(0x1ad)],'disableShapeOption':!0x1}:null;}[_0x1bb2bd(0x46a)](){const _0x44bf08=_0x1bb2bd;this['_disposePopups'][_0x44bf08(0x307)](_0x3321e0=>_0x3321e0[_0x44bf08(0x3cc)]()),this[_0x44bf08(0x3d9)]['length']=0x0;}['_popupMenuListener'](_0x25b987){const _0x5c483e=_0x1bb2bd;let _0x1d378e=new _0x3d2575[(_0x5c483e(0x3bf))]();return _0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3de)][_0x5c483e(0x3b2)](()=>{const _0x45f708=_0x5c483e;let _0xaa5d2a=_0x25b987[_0x45f708(0x25a)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0xaa5d2a[_0x45f708(0x349)]>0x1)return;let _0x14286f=_0xaa5d2a['values']()[_0x45f708(0x188)]()[_0x45f708(0x18a)];if(!_0x14286f)return;let _0x22437a=this[_0x45f708(0x479)]['getDrawingOKey'](_0x14286f['oKey']);if(!_0x22437a||_0x22437a[_0x45f708(0x1f2)]!==_0x3d2575[_0x45f708(0x2d2)][_0x45f708(0x30b)])return;let {unitId:_0xc8c18,subUnitId:_0x4408e9,drawingId:_0x2dec3a,drawingType:_0x8bb394}=_0x22437a,_0x28eda7=this[_0x45f708(0x4b4)](_0xc8c18,_0x4408e9,_0x2dec3a);if(!_0x28eda7)return;this[_0x45f708(0x2ef)]['setContextValue'](_0x3d2575['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x206396=this[_0x45f708(0x2ba)][_0x45f708(0x40c)](_0xc8c18),_0x5d1d1e=((_0x206396==null?void 0x0:_0x206396[_0x45f708(0x45d)])===!0x1?_0x206396[_0x45f708(0x10a)](_0x542241[_0x45f708(0x378)]):this[_0x45f708(0x3db)])[_0x45f708(0x365)](_0x14286f,{'componentKey':_0x2c0ba8,'direction':'vertical-center','offset':[0x0,_0x583754[_0x45f708(0x13c)]],'extraProps':{'unitId':_0xc8c18,'subUnitId':_0x4408e9,'drawingId':_0x2dec3a,'drawingType':_0x8bb394,'shapeType':_0x28eda7[_0x45f708(0x1a7)],'shapeData':_0x28eda7['shapeData']}});this[_0x45f708(0x3d9)][_0x45f708(0x37e)](this[_0x45f708(0x275)](_0x5d1d1e)),this[_0x45f708(0x479)][_0x45f708(0x337)]()[_0x45f708(0x30a)](_0x152f42=>_0x152f42['unitId']===_0xc8c18&&_0x152f42[_0x45f708(0x114)]===_0x4408e9&&_0x152f42[_0x45f708(0x17d)]===_0x2dec3a)||this[_0x45f708(0x479)][_0x45f708(0x323)]([{'unitId':_0xc8c18,'subUnitId':_0x4408e9,'drawingId':_0x2dec3a}]);})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x326)][_0x5c483e(0x3b2)](()=>{const _0x1c3e92=_0x5c483e;this[_0x1c3e92(0x46a)](),this[_0x1c3e92(0x2ef)][_0x1c3e92(0x4f1)](_0x3d2575['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x1c3e92(0x479)][_0x1c3e92(0x323)](null);})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3ec)][_0x5c483e(0x3b2)](()=>{const _0x1e2a34=_0x5c483e;this[_0x1e2a34(0x46a)]();})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3c2)][_0x5c483e(0x3b2)](()=>{const _0x4568d5=_0x5c483e;this[_0x4568d5(0x46a)]();})),(0x0,_0x3d2575[_0x5c483e(0x1ba)])(()=>{const _0xa55c9=_0x5c483e;_0x1d378e[_0xa55c9(0x3cc)](),this[_0xa55c9(0x46a)]();});}[_0x1bb2bd(0x11f)](){const _0x12dd14=_0x1bb2bd;this['disposeWithMe'](this[_0x12dd14(0x101)]['onCommandExecuted'](_0x5be2c5=>{const _0xab80d7=_0x12dd14;if(_0x5be2c5['id']===_0x3c6df3['id']){let {unitId:_0x3da326,subUnitId:_0x1d80d8,drawingId:_0xe316a6}=_0x5be2c5['params'];this[_0xab80d7(0x1ad)]+=0x1,this[_0xab80d7(0x146)]=this[_0xab80d7(0x4b4)](_0x3da326,_0x1d80d8,_0xe316a6),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x5be2c5['id']===_0x2c111e['id']&&(this[_0xab80d7(0x146)]=null,this[_0xab80d7(0x350)]()),_0x5be2c5['id']===_0x111169[_0xab80d7(0x1d6)]['id']){let {unitId:_0x139d4e,subUnitId:_0x281b91,shapeId:_0x5f22a8}=_0x5be2c5[_0xab80d7(0x4ad)];if(this[_0xab80d7(0x146)]&&this[_0xab80d7(0x146)]['shapeId']===_0x5f22a8){let _0x94ac68=this['_getShapeInfo'](_0x139d4e,_0x281b91,_0x5f22a8);_0x94ac68&&(this[_0xab80d7(0x1ad)]+=0x1,_0x94ac68[_0xab80d7(0x1c9)]=this[_0xab80d7(0x1ad)],this[_0xab80d7(0x146)]=_0x94ac68,this[_0xab80d7(0x3dc)]&&this[_0xab80d7(0x384)]());}}})),this[_0x12dd14(0x275)](this[_0x12dd14(0x479)][_0x12dd14(0x2c2)][_0x12dd14(0x3b2)](_0x3c31cb=>{const _0x4a3a83=_0x12dd14;if(this[_0x4a3a83(0x3dc)]===!0x1)return;if(_0x3c31cb[_0x4a3a83(0x40e)]===0x0){this[_0x4a3a83(0x146)]=null,this[_0x4a3a83(0x350)]();return;}if(_0x3c31cb[_0x4a3a83(0x40e)]===0x1&&_0x3c31cb[0x0][_0x4a3a83(0x1f2)]===_0x3d2575['DrawingTypeEnum'][_0x4a3a83(0x30b)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this['_getShapeInfo'](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0][_0x4a3a83(0x17d)]),this['_activeShapeInfo'])){this[_0x4a3a83(0x384)]();return;}let _0x42b262=_0x3c31cb[_0x4a3a83(0x262)](_0x4cd48e=>_0x4cd48e[_0x4a3a83(0x1f2)]===_0x3d2575[_0x4a3a83(0x2d2)][_0x4a3a83(0x30b)]);if(_0x3c31cb[_0x4a3a83(0x40e)]>0x1&&_0x42b262[_0x4a3a83(0x40e)]===_0x3c31cb['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this[_0x4a3a83(0x4b4)](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0][_0x4a3a83(0x17d)]),this['_activeShapeInfo']){this[_0x4a3a83(0x384)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this[_0x4a3a83(0x4b4)](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0]['drawingId']),this[_0x4a3a83(0x146)]){this[_0x4a3a83(0x146)][_0x4a3a83(0x209)]=!0x0,this[_0x4a3a83(0x384)]();return;}}this[_0x4a3a83(0x350)]();}));}[_0x1bb2bd(0x384)](){const _0x494897=_0x1bb2bd;this[_0x494897(0x146)]&&(this[_0x494897(0x2c8)]=this[_0x494897(0x44e)][_0x494897(0x339)]({'id':_0x326d15,'header':{'title':this[_0x494897(0x122)]['t'](_0x494897(0x292))},'width':0x184,'children':{'label':_0x326d15,...this[_0x494897(0x146)]},'onClose':()=>{const _0x47e5cc=_0x494897;this['_drawingManagerService'][_0x47e5cc(0x323)](null),this['_contextService'][_0x47e5cc(0x4f1)](_0x3d2575[_0x47e5cc(0x1ce)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x1bb2bd(0x350)](){const _0x4390c7=_0x1bb2bd;this['_isOpenedShapeEditPanel']=!0x1,this[_0x4390c7(0x44e)][_0x4390c7(0x1a4)](_0x326d15),this[_0x4390c7(0x2c8)]=null,this[_0x4390c7(0x2ef)][_0x4390c7(0x4f1)](_0x3d2575[_0x4390c7(0x1ce)],!0x1),this[_0x4390c7(0x479)]['focusDrawing'](null);}};_0x54f0c1=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x1b3cd1['ISidebarService'])),_0x25f0d4(0x2,_0x1b3cd1[_0x1bb2bd(0x16e)]),_0x25f0d4(0x3,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x263)])),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x6,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x378)])),_0x25f0d4(0x8,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x9,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0xa,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x54f0c1);let _0x4e6b4c=class extends _0x3d2575[_0x1bb2bd(0x185)]{constructor(_0x196af0=_0x19b925,_0x48775a,_0x57d397,_0x285c8e,_0xda42bc){const _0x292ed2=_0x1bb2bd;super(),this['_config']=_0x196af0,this[_0x292ed2(0x49e)]=_0x48775a,this['_commandService']=_0x57d397,this['_configService']=_0x285c8e,this[_0x292ed2(0x2ba)]=_0xda42bc;let {..._0x29ef82}=(0x0,_0x3d2575[_0x292ed2(0x462)])({},_0x19b925,this['_config']);this[_0x292ed2(0x31b)]['setConfig'](_0x230154,_0x29ef82),this[_0x292ed2(0x1cf)]();}[_0x1bb2bd(0x1fb)](){const _0x5e70b1=_0x1bb2bd;this[_0x5e70b1(0x2ba)][_0x5e70b1(0x469)](_0x3d2575[_0x5e70b1(0x4f8)]['UNIVER_DOC'],[_0x26a9bd]),(0x0,_0x3d2575[_0x5e70b1(0x480)])(this[_0x5e70b1(0x49e)],[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x28f2f5]]);}[_0x1bb2bd(0x22e)](){const _0x38a3ce=_0x1bb2bd;this[_0x38a3ce(0x49e)][_0x38a3ce(0x107)](_0x54f0c1)[_0x38a3ce(0x2aa)]();}[_0x1bb2bd(0x4ab)](){const _0x32a6d7=_0x1bb2bd;[[_0x3ac682],[_0x3f0181],[_0x4e2732]][_0x32a6d7(0x307)](_0x3a15b3=>this[_0x32a6d7(0x49e)][_0x32a6d7(0x358)](_0x3a15b3)),(0x0,_0x3d2575[_0x32a6d7(0x480)])(this['_injector'],[[_0x4e2732],[_0x3f0181]]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x3ac682]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x3c521c]),this[_0x32a6d7(0x2ba)]['registerRenderModule'](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0xf83a23]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x1083b2]),this[_0x32a6d7(0x275)](this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)]['UNIVER_SHEET'],[_0x442744])),this['disposeWithMe'](this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575['UniverInstanceType']['UNIVER_SHEET'],[_0x1c4a0e]));}['onStarting'](){const _0x391dd5=_0x1bb2bd;this[_0x391dd5(0x49e)][_0x391dd5(0x358)]([_0x5dbe2c]),this['_injector']['get'](_0x5dbe2c);let _0x4fd5f8=this[_0x391dd5(0x49e)];[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff],[_0x17bdd5]]['forEach'](_0x2ddcc7=>_0x4fd5f8[_0x391dd5(0x358)](_0x2ddcc7)),(0x0,_0x3d2575[_0x391dd5(0x480)])(this[_0x391dd5(0x49e)],[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff],[_0x17bdd5]]);}[_0x1bb2bd(0x1cf)](){const _0x4c75ed=_0x1bb2bd;[_0x5b3fe4,_0x28edce,_0x2c111e,_0x3c6df3,_0x1e7df2,_0x1798ea,_0x19375c,_0x1534d4]['forEach'](_0x15c719=>this['disposeWithMe'](this[_0x4c75ed(0x101)][_0x4c75ed(0x1e6)](_0x15c719)));}};_0x19f136(_0x4e6b4c,_0x1bb2bd(0x443),_0x3d2575['UniverInstanceType'][_0x1bb2bd(0x245)]),_0x19f136(_0x4e6b4c,_0x1bb2bd(0x4b7),_0x1bb2bd(0x272)),_0x19f136(_0x4e6b4c,'packageName',_0xb85a59),_0x19f136(_0x4e6b4c,_0x1bb2bd(0x1c9),_0x40799a),_0x4e6b4c=_0x4d7d62([(0x0,_0x3d2575[_0x1bb2bd(0x1a9)])(_0x477279[_0x1bb2bd(0x140)],_0x14cace[_0x1bb2bd(0x238)],_0xf3cf76[_0x1bb2bd(0x42a)],_0x2114cd[_0x1bb2bd(0x366)],_0x610ad8['UniverRenderEnginePlugin'],_0x306a90[_0x1bb2bd(0x2e6)],_0xa851c1[_0x1bb2bd(0x2b2)],_0x20c5a7[_0x1bb2bd(0x406)],_0x41ad7c[_0x1bb2bd(0x4b8)],_0x51ad4c[_0x1bb2bd(0x43f)],_0x111169[_0x1bb2bd(0x464)],_0x542241['UniverSheetsUIPlugin'],_0x583754[_0x1bb2bd(0x2f2)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x22d)])),_0x25f0d4(0x2,_0x3d2575['ICommandService']),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x176)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x4e6b4c),_0x442ed5[_0x1bb2bd(0x2a1)]=_0xa4546b,_0x442ed5[_0x1bb2bd(0x29c)]=_0xb0b3d3,Object[_0x1bb2bd(0x2e1)](_0x442ed5,_0x1bb2bd(0x220),{'enumerable':!0x0,'get':function(){return _0x271f1d;}}),Object[_0x1bb2bd(0x2e1)](_0x442ed5,_0x1bb2bd(0x14e),{'enumerable':!0x0,'get':function(){return _0x4e6b4c;}});}));function _0x1493(){const _0x53f465=['attachPopupToObject','UniverDrawingUIPlugin','resolveShapeTextHyperLinkObject','UniverProEngineShape','OTHERS','FloatingObjectToolbarPosition','M6.2\x208H7.8','_registerFocusChangeHandler','setShapeProps','_currentScene','DrawingImageClipService','localeService','sheet.operation.update-shape-type','getDrawingShapeKeyByDrawingSearch','shape-editor-ui.arrange.back','UniverSheets','getZoomRatio','visible$','SheetDrawingAnchor','SheetCanvasPopManagerService','idMap','parse','onPointerMove$','_sheetDrawingService','normal','push','UniverSheetsDrawingUi','ShapeLineTypeEnum','object','_commandExecutedListener','Line','_openShapeEditPanel','_highlightedSiteIndex','beginPath','bottom-icon','isHitLine','_registerGroupFeaturePasteHook','_drawingAddListener','sheet.shape.floating-toolbar','sheets-shape-ui.quickStyles','getSkeletonParam','translateWithPrecision','setShapeData','SheetsSelectionsService','_canEdit','cxnPointFill','createElement','_getConnectionSiteAngle','redo','FlipHorizontalIcon','isEditing','_generateCopyPasteMutations','permissionPointUpdate$','Large','updateConnectionDetection','UniverShapeEditorMobileUIPlugin','renderDrawingShape','_menuManagerService','_addShapeConnectorHandlerObject','transformToAxisAlignPosition','prepareShapeTextDocumentData','IUndoRedoService','ShapeTypeEnum','_editingParams$','_activeAdjustInfo','getConnectionInfo','symbol','getDrawingOKey','getConnectionRelation','currentAdjustValues','isStartConnectorPoint','ShapeTextEditorContainer','_imageShapeClipController','oKey','@univerjs/sheets-drawing','_showConnectionSites','UniverProSheetsShapeUi','subscribe','DRAWING_IMAGE','_shapes','move-down-icon','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','adjHandleStroke','abs','sheet.operation.apply-shape-quick-style','ShapeDefaultConfig','_cxtHandlerPointerMove','React','_handleConnectorPointerUp','doc.image-clip.shape-picker.component','DisposableCollection','clone','_findShapeAtPoint','changeStart$','resolveFormulaShapeAutoFitSize','_findNearestConnectionSite','Shape','permissionCheckWithoutRange','getPropertyPriority','element','angle','_registerImageShapeClipDelegate','tag','dispose','refreshShapeFillImage','getDrawingOrder','flipY','getCurrentUnitOfType','_sheetBasicShapeConnectionPointController','resolveShapeTextEditorWrapStrategy','updateDocumentStyle','editingParams$','_clipService','ancestorTransform','ShapeTextHyperLinkPopupService','ShapeTextFloatToolbar','_disposePopups','_univerInstanceService','_sheetCanvasPopManagerService','_isOpenedShapeEditPanel','cxnPointStrokeWidth','createControl$','IURLImageService','@univerjs-pro/shape-editor','strokeWidth','drawing-ui.objectListPanel.lockAll','_handleFreeEndpointMove','transform','drawing-ui.objectListPanel.filterAll','canvasElement','sheets-shape-ui.objectListPanel.title','resolveShapeTextEditorBehaviorShapeData','_transform','DocInterceptorService','UniverProShapeEditor','changing$','ShapePickerDropdown','sheets-shape-ui.ribbon.shape-format.text-control','DEFAULT_PASTE','worldPoint','createShapeTextBoxShapeData','localName','registerClipDelegate','pipe','targetShapeId','RemoveSheetsShapeMutation','registerShapeFormatPainter','getScene','_rerouteConnectorLine','discreteRangeToRange','sheets-shape-ui.flipHorizontal','UniverDocs','_initPrinting','clearAdjustControls','_isShouldShowDrawingShapeAdjust','complete','intercept','_applyFormulaAutoFitSize','M4.2\x205.5H10.5','activeSheet$','_getShapeAdjustInfosById','UniverSheetsDrawingPlugin','stopPropagation','react/jsx-runtime','setFormulaPresentation','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','SetSheetDrawingCommand','getRenderUnitById','removeProperty','length','shape-editor-ui.arrange.forward','SheetShapeTextEditorContainer','getAdjustNames','doc','clearAdjustValue','applyQuickStyleToShapeData','useMemo','_shapeTextEditingService','delete','_clearControls','getActiveSheet','SheetSkeletonService','_attachConnectorObjectEvent','Circle','SolidLine','#bcbcbc','_isHighlighted','isHighlighted','_reset','ShapeTextFloatMenuRenderControllerBase','current','getImage','_drawShapeText','appliedStrokeWidth','toPrimitive','getBatchAddOp','_handleBasicShapeUpdateConnectorLineShape','UniverDrawingPlugin','shape-editor-ui.arrange.backward','LEFT','StraightConnector1','useFormulaShapeToolbar','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getRealBound','useState','undo','_init','keys','endConnectionDetection','endArrow','setFillImage','_activeTargetShapeId','unregister','MenuManagerPosition','viewportScrollX','engine','SolidFill','observe','UniverSheetsDrawingUIPlugin','_completionFrame','getShapeType','0\x200\x2016\x2016','type','multiply','image-clip-adjust-point-','getFocusedUnit','ComponentManager','_baseShapeLeft','_update','FOCUSING_SHAPE_TEXT_EDITOR','iterator','_activeImageId','isolated','_sidebarService','flip-vertical-icon','getPermissionPoint','jsx','idSuffix','stroke-width','drawing-ui.objectListPanel.sectionCanvas','getUnitId','transformToDrawingPosition','hideContextualTab','M8\x2014V14.2','interceptCommand','_formulaAnimation','UPDATE','_baseLeft','isMainScene','drawing-ui.objectListPanel.description','onSavingEditorData$','getTransformer','title','merge','Disposable','UniverSheetsShapePlugin','update$','_getOrCreateShapeModel','BehaviorSubject','setPrstGeom','registerRenderModule','_clearPopups','_createControls','evenodd','setOnSavingEditorData','setCursor','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','getConnectorLinePoints','activateDrawingObject','_baseDrawingRect','contentVerticalOffset','drawing-ui.objectListPanel.hideAll','FormatPainterSessionService','resolveShapeTextHyperLinkAt','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fontSize','_drawingManagerService','getPropertyValue','_updateShapeAdjustControls','render','_executeConnectionCommand','currentColor','@univerjs/engine-render','touchDependencies','CommandType','resolveShapeTextDocumentPageHeight','setPrstGeomAdjValues','IRibbonService','getCurrentRangeDisable$','@univerjs/drawing','_sheetShapeAdjustController','DrawingCommonPanel','UniverSheetsDrawing','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','getViewportByCell','_currentUniverService','_activeShapeAdjustPointList','fontFamily','parent','MoveUpIcon','_config','sheetTransform','flatMap','_isDrawingShapePointDown','_handleConnectedEndpointMove','_sheetsShapeService','_initPermission','refreshAdjustControls','Observable','_getShapeAdjustPointListById','1.3.1','top','children','_injector','max','_adjHandlerPointerUp','visible','refreshFormulaPresentation','sheets-shape-ui.ribbon.shape-format.formula-control','sheets-shape-ui.title','makeDirty','changeShapeType','ShapeFloatingToolbarToggleFactory','UUID','_shapeId','_registerMoveHandler','onReady','xlink:href','params','insertGroupObject','asObservable','UpdateConnectorRelationCommand','sheets-shape-ui.imagePanel.crop.shape','ToggleSheetsShapeFlipCommand','_isStartConnectorPoint','_getShapeInfo','getTransformerByCreate','sheetViewStartRow','pluginName','UniverShapeEditorPlugin','WorksheetEditPermission','_clearFocusedShape','useDependency','_isImagePointerDown','onerror','skeleton','sheet.operation.open-shape-object-list-panel','enableObjectsEvent','isCurvedConnectorShape','SheetPermissionCheckController','_getSceneAndTransformerByDrawingSearch','getDrawingData','useRef','updateDocumentDataMargin','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','registerFeatureMenu','isConnectorShape','http://www.w3.org/2000/svg','getContextValue','drawWith','getDrawingTypeNameKey','UniverDrawing','_adjHandlerPointerMove','clip','addClipboardHook','getShapeData','SheetsShapeService','_sheetInterceptorService','SHAPE_EDITOR_TRANSFORMER_CONFIG','_initSheetChange','_handleConnectedEndpointPointerUp','getUnit','RibbonInsertGroup','strokeOpacity','_attachAdjustEvent','MEDIA','shapeId','routeConnectorLineShape','getInterceptPoints','exports','horizontal','worldRect','trim','end','M8\x206.2V7.8','getObjectListPanelSectionIdForDrawingType','point','stroke','viewBox','M8\x202.2V3.8','_shapePopupMenuDisposable','panel','isRichText','prstGeom','svg','getDrawingByParam','setContextValue','isReleased','isHit','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','_initSelection','_createShapeAdjustControls','WorkbookEditablePermission','UniverInstanceType','_unitId','_copyInfo','save','set','_commandService','_baseShapeWidth','formulaBinding','onDblclick$','1em','shape-adjust-point-','get','IconManager','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','with','IImageIoService','changeEnd$','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','updateShapeFillImage','offsetY','sheet.operation.close-sheet-shape-format-panel','invert','drawing-ui.objectListPanel.lockHint','Module','subUnitId','flipX','RemoveSheetDrawingCommand','_baseWidth','fillImageSourceType','sheets-shape-ui.flipVertical','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','subscribeEvent','rxjs','MobileDropdown','indexOf','_registerOperations','round','pick','_localeService','drawing-ui.objectListPanel.unlockHint','cxnPointStroke','react','bottom','_ribbonService','isLineShape','debounceRefreshControls','_initEditingParams','adjName','deriveStateFromActiveSheet$','VIEW_MAIN_LEFT','ISheetClipboardService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isHorizontal','lineType','_getConnectPointInfo','connection-site-','sheet.shape.picker.component','adjHandleFill','featurePluginUpdateNotification','_loadAndSetImage','src','SELECTOR','jsxs','ShapeModel','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','_executeConnectedRouteConnectionCommand','RIBBON','generateRandomId','UniverLicensePlugin','setPresentation','getShapeQuickStylePreset','drawing-ui.objectListPanel.nameInput','FlipVerticalIcon','div','_activeShapeInfo','computeConnectorResizeLayout','getDrawingEffectBounds','refreshTransform','SHAPE_CHANGE_PICKER_COMPONENT','getShapeTypeById','sheets-shape-ui.editText','_cxnIndex','UniverSheetsShapeUIPlugin','switchMap','M14\x208H14.2','9tkegIL','_currentConnectionTarget','drawing-ui.objectListPanel.collapse','mode','setHighlighted','canvas','data','getDrawingDataForUnit','getBentTypeFromPoints','isArray','_shapeFloatingToolbarService','UniverProShapeEditorUi','@univerjs/drawing-ui','_lastEditingShapeKey','SheetSkeletonManagerService','@univerjs/core','URL','clipTop','reverse','RENDER_CLASS_TYPE','offsetX','CUT','SHEET','localToWorld','_shapeService','extensionGroups','getCurrentSkeleton','resolveShapeContextualRibbonHostMode','worldPoints','IMenuManagerService','_sheetPermissionCheckController','setShouldShowAdjust','mergeMenu','shape-text-','getSheetCommandTarget','values','shape-format-setting-icon','IConfigService','marginTop','color','scene','UNIVER_DOC','ShapeFillEnum','ShapeFormatSettingIcon','drawingId','function','_formulaKey','objects','width','ContextMenuPosition','originalStrokeWidth','shapeModel','Plugin','_transformCalculateSrcRect','resolveShapeTextDocumentRenderLayout','next','name','value','_updateImageAdjValues','ShapeTextHyperLinkInfo','getInverseCoord','getEditing','path','_imageIoService','_getDrawingRect','run','sheets-shape-ui.config','packageName','getObjectIncludeInGroup','ICommandService','_releaseRenderCache','calculate','plainShapeTextToDocumentData','getDrawingVisible','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','index','M2.2\x208H3.8','_context','cxnPointRadius','_groupCopyPasteController','unsubscribe','activeAnObject','IRenderManagerService','close','IPermissionService','sheets-shape-ui.objectListPanel.open','shapeType','_baseShapeHeight','DependentOn','DocCanvasPopManagerService','vertical','custom','_shapeEditPanelVersion','_getScrollInfo','shape-editor-ui.toolbar.quickStyles','297680WkCCqm','_createCopyInfoByRange','restore','_executeConnectedRouteResizeCommand','145285oKvZDj','setEditing','ShapeTextRibbonControl','drawing-ui.objectListPanel.close','REMOVE','ConnectorCoordinateTransform','toDisposable','_getImageDrawingInfo','isInGroup','DocSelectionManagerService','MoveDownIcon','adjustValues','popup','getDrawingSearch','clear','COPY_TYPE','add$','_initCopyPaste','BottomIcon','ISheetDrawingService','copyId','version','_activeShapeModel','univerjs-icon\x20univerjs-icon-','getShapeTextData','InsertShapeCommand','FOCUSING_COMMON_DRAWINGS','_initCommands','_generatePasteMutations','InsertSheetsShapeMutation','DocRenderController','axisAlignSheetTransform','VIEW_MAIN_TOP','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','UpdateSheetsShapeDataMutation','_addControl','_disposed','selectable','actualHeight','height','_activeShapeId','getAutoFitPresentations','_drawRichTextLayer','UniverEngineRender','sectionCanvas','IContextService','useReducer','_addShapeAdjustControl','sheet.shape.edit.panel','lineShapeId','registerCommand','UniverUi','Fragment','RemoveSheetCommand','backward','getBasicShapeRotateBound','ShapePickerPanel','sheets-shape-ui.ribbon.shape-format.arrange-front','clip-','toFixed','registerFeaturePasteHook','ShapeRenderModeEnum','drawingType','sheet.menu.shape.flip-vertical','sheet.command.update-shape-data','getShapeDataById','createShapeTextHyperLinkRegions','description','SetDrawingApplyMutation','some','98148fQjRRK','onRendered','replace','_iconManager','Medium','hadStyleAttribute','getSheetBySheetId','ShapeFloatingToolbar','isRenderLinePointsMode','shape-editor-ui.toolbar.changeShape','_clearConnectionSites','_getImagePrstGeom','_executeResizeCommand','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','srcRect','disableShapeOption','left','sheet.image-clip.shape-picker.component','_registerDrawingFocusChangeHandler','decorate','MobileShapeEditorService','copyType','updateContext','@univerjs-pro/sheets-shape-ui','OPERATION','Image','getShapeTextRect','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_connectionSiteObjects','HorizontalAlign','resolveHyperLinkAt','drawing-ui.objectListPanel.descriptionPlaceholder','setCollapsedIds','extraProps','_formulaShapes','EMPTY','CROSSHAIR','back','UniverSheetsShapeMobileUIPlugin','_initialize','DocumentViewModel','updateLinePoints','rotation','getTextStyle','cos','_activeAdjustPointList','COMMAND','hasDefault','Inject','#4285f4','has','Injector','onSteady','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','Arrow','clipByShape','register','adjHandleSize','shapeText','_isConnecting','removeAttribute','getBasicShapeRelation','UniverDocsPlugin','DRAWING_OBJECT_LAYER_INDEX','getValue','forward','buildShapeTextDataUpdate','drawing-ui.objectListPanel.typeNames.','unit','FormulaShapeAnimationController','ShapeIcon','sin','setSrcRect','getShapeQuickStyleType','actions','UNIVER_SHEET','onPointerDown$','ShapeTextHyperLinkHoverController','sheet.command.menu-insert-shape','hasAttribute','parseFloat','ShapeFormulaRibbonControl','_moveConnectorWithShape','executeCommand','from','12804650PkaxTd','isRender','disableObjectsEvent','componentKey','fillImageSource','SHAPE_TEXT','MenuItemType','fillType','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','colorChannel1','DocumentSkeleton','getSelectedObjectMap','getCurrentTypeOfUnit$','createShapeFormulaDocument','create','_connectorObjects','GROUP','_cxtHandlerPointerUp','6130950SzUBHC','filter','LocaleService','ShapeArrowTypeEnum','getCurrentUnitInfo','fill','constructor','shapeData','resize','drawing-ui.objectListPanel.locate','clearActiveDrawingObjects','getAdjustValueByName','unitId','ShapeGroupEnum','getVisible','drawing-ui.objectListPanel.name','shouldClipShapeTextDocument','SHEET_SHAPE_UI_PLUGIN','#FFFFFF','animateFormulaPresentation','disposeWithMe','_baseTop','BUTTON','assign','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','drawing-ui.objectListPanel.moveForward','getCurrentScrollState','sheets-shape-ui.ribbon.shape-format.style-control','VerticalAlign','contentHeight','UniverProSheetsShape','_isStartAdjusting','use','getBatchRemoveOp','error','scale','classType','getShapeModel','startArrow','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','image','stringify','_initMenu','getUnitType','ISidebarService','ShapeStyleRibbonControl','useObservable','drawing-ui.objectListPanel.title','ContextMenuGroup','sheets-shape-ui.formatShape','_generateCutPasteMutations','useEffect','gradientEndColor','_drawRichText','relation','drawing-ui.objectListPanel.search','sheets-shape-ui.ribbon.shape-format.arrange-forward','sheets-shape-ui.shape-format.formula-ribbon-control','_getZoomRatio','SheetsShapeUIMenuSchema','ImageSourceTypeEnum','UpdateLineShapeResizeCommand','_popupMenuListener','drawing-ui.objectListPanel.unlockAll','SheetsShapeUIContextualRibbonSchema','_addShapeConnectorHandlerObjects','viewportScrollY','target','_sheetSkeletonService','transformForAngle','drawing-ui.objectListPanel.moveBackward','resolveActiveShapeQuickStylePresetId','sheets-shape-ui.editShape','initShapePopupMenu','startWith','startX','_sheetDrawingShapeRenderController','isFinite','42VPZnXe','_draggingConnectorId','setCanUseShapeClip','UniverDocsUIPlugin','SetDrawingArrangeCommand','_insertingShapeKeys','drawing-ui.objectListPanel.sectionFloating','string','order','_props','getOrCreateDrawingCopyPlan','_renderManagerService','shouldAllowShapeTextEditorHostSizeShrink','getPresentation','url(#$1','getActiveViewportByCoord','priority','computeConnectorRouteLayout','@univerjs/docs-ui','focus$','style','DocumentDataModel','mask','SheetScrollManagerService','_baseShapeTop','_sidebarDisposable','PREDEFINED_HOOK_NAME','syncExecuteCommand','_draw','getSkeleton','top-center','useLayoutEffect','CURSOR_TYPE','_clearCompletionFrame','_visible','DrawingTypeEnum','_permissionService','_index','_focusedDrawings','forwardRef','SHEET_VIEWPORT_KEY','#1a73e8','sheet.operation.open-sheet-shape-format-panel','_registerFeatureMenu','sheets-shape-ui.shape-format.quick-style-gallery','Transform','createInternalEditorID','9484440vdJXBl','onCommandExecuted','_shapeFormulaService','defineProperty','onPointerUp$','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','3206043HKApVm','transformByState','UniverSheetsPlugin','setFallbackVisible','_baseHeight','_sheetPrintInterceptorService','ToggleShapeFloatingToolbarOperation','_hyperLinkRegions','TopmostIcon','sheets-shape-ui.ribbon.shape-format.arrange-back','setAdjustValueByName','_contextService','defIds','getAdjustInfoByName','UniverShapeEditorUIPlugin','None','prstGeomAdjValues','map','2AyEVDh','getObject','_componentManager','_handleFreeEndpointPointerUp','normalizeShapeTextModel','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','Path','beforeCommandExecuted','IDrawingManagerService','getActualSize','hidden','addObject','WorksheetCopyPermission','getParent','addImageSourceCache','_targetShapeId','min','forEach','PictureFill','_registerDrawingMoveHandler','find','DRAWING_SHAPE','calcAdjValues','Documents','getConnectionSiteList','getMenuHiddenObservable','_urlImageService','_drawingType','connector-handler-','_updateAdjustControlPositions','_calculateFreeEndpointAngle','sheet.menu.shape.flip-horizontal','attrs','_registerComponents','formulaPresentation','text','@univerjs-pro/sheets-shape','_configService','preValue','getState','ArrangeTypeEnum','object-layers-icon','cxnIndex','getDrawingPoints','interceptor','focusDrawing','displayName','ShapeFloatingToolbarService','clearControl$','SheetInterceptorService','getMatrix','cancelEditing','none','drawing-ui.objectListPanel.empty','_sheetClipboardService','@univerjs/sheets','_hasReset','getEndConnectInfo','Vector2','bindRenderTransformerLifecycle','startY','useId','entries','getSheetId','sheets-shape-contextual-ribbon','getFocusDrawings','getBatchUpdateOp','open','animationEnabled','dataModel','FromArray','PaintIcon','0\x200\x2017\x2016','PRINTING_COMPONENT_COLLECT','sheetViewStartColumn','completeEditing','_resetState','ObjectLayersIcon','attachRangeWithCoord','getStartConnectInfo','setProperty','startConnectionDetection','remove$','size','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','@univerjs/docs','DrawingApplyType','includes','_subUnitId','@univerjs-pro/license','_closeShapeEditPanel','_clearShapeAdjustControls','_shapeRenderController','ObjectListPanelBase','_onSavingEditorData$','_loadShapePictureFill','applyPoint','INSERT','add','ShapeArrowSizeEnum','_hide','UniverIcon','_clearShapeConnectorHandlerObjects','resetCursor','drawing-ui.objectListPanel.hide','sheets-shape-ui.deleteShape','_insertShapes','toStringTag','_registerIcons','IUniverInstanceService','_initEvents'];_0x1493=function(){return _0x53f465;};return _0x1493();}
1
+ function _0x40a5(){const _0x2cb533=['shouldClipShapeTextDocument','UPDATE','@univerjs/core','toDisposable','InsertSheetsShapeMutation','keys','_sheetsShapeService','getTransformer','SheetsShapeUIMenuSchema','_shapeFloatingToolbarService','DrawingImageClipService','LocaleService','_getOrCreateShapeModel','_menuManagerService','beforeCommandExecuted','_completionFrame','onerror','Module','applyQuickStyleToShapeData','ShapeModel','getAdjustInfoByName','sheets-shape-format-font-family-menu','130648jYpQDH','DRAWING','clipTop','height','ShapeTypeEnum','isRender','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','presentation','cxnPointStrokeWidth','#1a73e8','SHAPE_TEXT','_updateAdjustControlPositions','sheet.command.menu-insert-shape','_drawRichTextLayer','stopPropagation','getShapeTextRect','isArray','call','adjustValues','@univerjs/sheets','WorkbookCopyPermission','_getImagePrstGeom','URL','Plugin','sheets-shape-ui.insertShape','entries','UUID','drawing-ui.objectListPanel.sectionFloating','back','subscribe','2271xcMUBL','offsetX','getMatrix','Large','EMPTY','hadStyleAttribute','DRAWING_OBJECT_LAYER_INDEX','cxnPointFill','_activeShapeId','presentationChanged$','UniverDocsUIPlugin','getFocusDrawings','onDblclick$','vectorEffect','cancelEditing','transformForAngle','_moveConnectorWithShape','size','_urlImageService','getDrawingData','sheets-shape-ui.ribbon.shape-format.arrange-back','Medium','shapeType','SolidFill','IContextService','WorksheetEditPermission','8205624spXJdB','resolveShapeTextEditorBehaviorShapeData','asObservable','object-layers-icon','UniverDrawing','toFixed','defIds','colorChannel1','sheets-shape-ui.ribbon.shape-format','getBasicShapeRotateBound','iterator','Path','hasDefault','_univerInstanceService','clearActiveDrawingObjects','UniverSheets','getUnitId','with','_formulaKey','composeMatrix','@univerjs/sheets-drawing-ui','sheets-shape-ui.imagePanel.crop.shape','_drawSimpleText','subUnitId','DRAWING_IMAGE','ObjectLayersIcon','index','sheet.shape.picker.component','_attachAdjustEvent','normalizeShapeTextModel','vertical-center','INSERT','CURSOR_TYPE','get','viewBox','_updateShapeAdjustControls','removeLinePoints','_clearShapeConnectorHandlerObjects','tag','stringify','contentHeight','FlipHorizontalIcon','SetDrawingApplyMutation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','M10.2\x208H11.8','RemoveSheetDrawingCommand','_loadShapePictureFill','drawing-ui.objectListPanel.lock','_permissionService','scene','_initPrinting','getCurrentRangeDisable$','parent','getCurrentLastSelection','0\x200\x2017\x2016','disposeWithMe','TOP','_currentScene','UniverInstanceType','title','sheets-shape-ui.shape-format.text-ribbon-control','showContextualTab','SheetPrintInterceptorService','options','UniverDocs','sqrt','updateContext','ShapeFloatingToolbarToggleFactory','_baseShapeLeft','_currentConnectionTarget','drawing-ui.objectListPanel.nameInput','setFillImage','SheetsSelectionsService','getShapeType','drawing-ui.objectListPanel.collapse','@univerjs-pro/shape-editor','UniverSheetsShapePlugin','_closeShapeEditPanel','634XebOWx','MenuItemType','getConnectionSiteList','jsx','replace','buildShapeTextDataUpdate','_activeShapeAdjustPointList','contentVerticalOffset','useImperativeHandle','_registerDrawingFocusChangeHandler','xlink:href','getZoomRatio','touchDependencies','presetId','UniverProLicense','useMemo','_groupCopyPasteController','_baseShapeHeight','sheet.operation.open-shape-object-list-panel','has','MoveUpIcon','error','getDrawingTypeNameKey','getShapeTextData','strokeWidth','width','@univerjs/docs-ui','draw','ArrangeTypeEnum','drawing-ui.objectListPanel.descriptionPlaceholder','addClipboardHook','_connectorObjects','_sheetPrintInterceptorService','RIBBON','toStringTag','getDrawingSearch','shape-editor-ui.toolbar.quickStyles','_draw','sheets-shape-ui.flipVertical','fillType','CROSSHAIR','reverse','DocRenderController','drawing-ui.objectListPanel.unlock','ShapeArrowTypeEnum','_sidebarDisposable','startArrow','354kZtPFW','useReducer','_handleFreeEndpointPointerUp','getOwnPropertyDescriptor','canvasElement','_clearControls','_shapeService','_initSheetChange','_insertingShapeKeys','clip','getPropertyPriority','data','clearAdjustControls','_insertShapes','doc','OPERATION','redo','extensionGroups','startConnectionDetection','invert','currentAdjustValues','setContextValue','Shape','shapeId','disableObjectsEvent','shapeText','scale','_config','_activeAdjustInfo','_sheetShapeAdjustController','push','_baseDrawingRect','prstGeomAdjValues','from','getSkeletonParam','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','selectable','DocSelectionRenderService','ShapeDefaultConfig','getShapeModel','PictureFill','_ribbonService','startY','getBatchRemoveOp','_cxtHandlerPointerMove','transformToAxisAlignPosition','DEFAULT_PASTE','drawing-ui.objectListPanel.typeNames.','getOrCreateDrawingCopyPlan','setFallbackVisible','shape-adjust-point-','_currentUniverService','ContextMenuGroup','computeConnectorResizeLayout','registerDependencies','addImageSourceCache','_copyInfo','#FFFFFF','ShapeFloatingToolbar','_adjName','@univerjs/drawing-ui','PRINTING_COMPONENT_COLLECT','getConnectorLinePoints','FOCUSING_SHAPE_TEXT_EDITOR','_getConnectionSiteAngle','DocEventManagerService','_registerDrawingMoveHandler','image','transformToDrawingPosition','top-center','changeShapeType','map','disconnect','FromArray','insertGroupObject','Observable','DrawingTypeEnum','copyId','_getShapeInfo','adjHandleFill','getAdjustNames','VIEW_MAIN','_sheetCanvasPopManagerService','connection-site-','endConnectionDetection','_updateTransform','prstGeom','GROUP','_getShapeAdjustPointListById','IDrawingManagerService','popup','SheetScrollManagerService','drawing-ui.objectListPanel.filterLocked','updateConnectionDetection','COPY_TYPE','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','delete','_initialize','_shapeRenderController','UniverShapeEditorPlugin','_handleConnectedEndpointMove','_shapePopupMenuDisposable','render','_resetState','routeConnectorLineShape','_executeConnectionCommand','_registerImageShapeClipDelegate','ShapePickerDropdown','_isConnecting','cloneShapeDataForType','lineShapeId','refreshAdjustControls','remove$','clip-','@univerjs-pro/sheets-shape','visible$','classType','top','params','SHEET_SHAPE_UI_PLUGIN','createInternalEditorID','localToWorld','_drawingManagerService','attachTransformerTo','computeStraightConnectorLayout','_isStartAdjusting','getDrawingShapeKeyByDrawingSearch','@univerjs/docs','onReady','preValue','calcAdjValues','undo','@univerjs/sheets-drawing','ShapeGroupEnum','drawing-ui.objectListPanel.sectionCanvas','getObject','copyType','attachPopupToObject','UniverSheetsShapeMobileUIPlugin','ShapeTextHyperLinkHoverController','defer','_cxtHandlerPointerUp','getDrawingPoints','SheetPermissionCheckController','getSheetId','ShapeRenderModeEnum','getCanvasElement','RemoveSheetCommand','adjHandleSize','_focusedDrawings','bindRenderTransformerLifecycle','getDrawingVisible','_baseLeft','_executeResizeCommand','_drawRichText','forwardRef','getInterceptPoints','updateLinePoints','current','marginTop','sheet.image-clip.shape-picker.component','UniverSheetsPlugin','getMenuHiddenObservable','_isImagePointerDown','SheetsShapeUIContextualRibbonSchema','computeConnectorRouteLayout','amd','CUT','getConnectionInfo','sheets-shape-ui.ribbon.shape-format.formula-control','_baseTop','VerticalAlign','M8\x2014V14.2','IRenderManagerService','_applyFormulaAutoFitSize','string','getValue','getDrawingByParam','Fragment','_getShapeAdjustInfosById','vertical','ShapeLineTypeEnum','VIEW_MAIN_LEFT','UniverSheetsShapeUIPlugin','setPresentation','_activeAdjustPointList','UniverMobileUIPlugin','@univerjs/sheets-ui','_getDrawingRect','srcRect','sheet.operation.open-sheet-shape-format-panel','getSkeleton','gradientEndColor','648084LfFbtv','React','UniverDrawingPlugin','IConfigService','setShapeProps','dispose','_imageIoService','SHEET','setHighlighted','UniverProSheetsShape','resolveHyperLinkAt','shape-editor-ui.toolbar.changeShape','isStartConnectorPoint','ICommandService','sheets-shape-contextual-ribbon','_showConnectionSites','_subUnitId','engine','_iconManager','fontSize','name','setProperty','UNIVER_SHEET','changeStart$','ShapeTextFloatMenuRenderControllerBase','startX','_props','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','completeEditing','getCurrentUnitOfType','stroke','length','mask','move-down-icon','_sheetClipboardService','UniverSheetsDrawingMobileUIPlugin','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','disableShapeOption','resolveShapeTextDocumentRenderLayout','_connectionSiteObjects','isConnectorShape','some','_updateImageAdjValues','setCursor','_sidebarService','createShapeFormulaDocument','_clearShapeAdjustControls','_clearFocusedShape','attrs','pick','@univerjs-pro/shape-editor-ui','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','clearControl$','shouldAllowShapeTextEditorHostSizeShrink','getCurrentTypeOfUnit$','blockExecuteWithoutPermission','_initSelection','MobileObjectListPanel','_getImageDrawingInfo','refreshShapeFillImage','find','getObjectIncludeInGroup','bottom-icon','getSheetCommandTarget','_executeConnectedRouteResizeCommand','pushUndoRedo','image-clip-adjust-point-','M6.2\x208H7.8','normal','isolated','trim','resize','Transform','getCurrentScrollState','sheet.shape.edit.panel','RemoveSheetsShapeMutation','color','sheet.menu.shape.flip-horizontal','registerRenderModule','drawing-ui.objectListPanel.empty','getActiveSheet','REMOVE','DependentOn','clone','angle','_generatePasteMutations','drawFormulaShapeAnimationLayers','canvas','_baseShapeWidth','Vector2','cxnPointRadius','PREDEFINED_HOOK_NAME','ShapeTextFloatToolbar','getRealBound','registerClipDelegate','ConnectorCoordinateTransform','_baseShapeTop','_disposed','_activeShapeModel','ContextMenuPosition','_getConnectPointInfo','1em','_highlightedSiteIndex','drawing-ui.objectListPanel.show','_renderWithCache','set','unsubscribe','_handleFreeEndpointMove','panel','open','ShapeArrowSizeEnum','SheetSkeletonManagerService','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','M8\x2010.2V11.8','featurePluginUpdateNotification','IPermissionService','_openShapeEditPanel','exports','axisAlignSheetTransform','forward','_reset','getBatchAddOp','_clearCompletionFrame','sheets-shape-ui.editText','setSrcRect','CommandType','animationEnabled','objects','adjName','text','refreshTransform','getInverseCoord','sheets-shape-ui.deleteShape','DocumentSkeleton','getState','_rerouteConnectorLine','mergeMenu','_popupMenuListener','IRibbonService','_initEvents','plainShapeTextToDocumentData','strokeOpacity','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','onPointerDown$','getDrawingDataForUnit','non-scaling-stroke','BehaviorSubject','_commandService','evenodd','ShapeTextEditorContainer','visible','drawing-ui.objectListPanel.moveForward','wrapStrategy','transformByState','object','_addControl','UniverSheetsDrawingUIPlugin','_context','start','_setTransForm','generateRandomId','drawingType','1.4.0','sectionCanvas','permissionPointUpdate$','drawing-ui.objectListPanel.unlockAll','flipY','subscribeEvent','localeService','originalStrokeWidth','setCanUseShapeClip','OTHERS','fillImageSource','sin','ShapeFillEnum','focus$','clipHeight','appliedStrokeWidth','assign','_isDrawingShapePointDown','HorizontalAlign','drawing-ui.objectListPanel.filterAll','_canEdit','getViewportByCell','shapeData','svg','function','idMap','_handleConnectorPointerUp','setOnSavingEditorData','_cxnIndex','ancestorTransform','getShapeData','http://www.w3.org/2000/svg','switchMap','getImage','restore','flip-vertical-icon','@univerjs-pro/engine-shape','ShapeQuickStyleGallery','getEndConnectInfo','update$','getShapeDataById','setPrstGeom','close','_hasReset','clearAdjustValue','drawing-ui.objectListPanel.locate','drawing-ui.objectListPanel.unlockHint','_createControls','use','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','rotation','addObject','ShapeTextHyperLinkPopupService','children','packageName','getShapeTypeById','sheetViewStartColumn','shape-editor-ui.arrange.back','getShapeQuickStyleType','Inject','ISidebarService','url(#$1','rxjs','worldPoints','getParent','_adjHandlerPointerUp','_renderManagerService','SheetInterceptorService','LEFT','parse','sheet.menu.shape.flip-vertical','drawWith','shape-editor-ui.arrange.forward','description','flipX','flip-horizontal-icon','CopySheetCommand','M8\x206.2V7.8','shapeKey','_calculateFreeEndpointAngle','multiply','drawing-ui.objectListPanel.expand','SELECTOR','indexOf','UpdateConnectorRelationCommand','SHAPE_EDITOR_TRANSFORMER_CONFIG','isEditing','setShouldShowAdjust','SheetsShapeService','FormatPainterSessionService','SheetCanvasPopManagerService','style','_formulaShapes','hideContextualTab','sheets-shape-ui.flipHorizontal','FOCUSING_COMMON_DRAWINGS','_commandExecutedListener','round','_registerComponents','UniverDocsPlugin','updateShapeFillImage','onStarting','IMenuManagerService','DrawingRenderService','sheets-shape-ui.ribbon.shape-format.text-control','resourceCollector','getDrawingOKey','forEach','UniverLicensePlugin','VIEW_MAIN_LEFT_TOP','_createCopyInfoByRange','MobileShapeEditorService','_drawShapeText','relation','_lastEditingShapeKey','formulaPresentation','Circle','univerjs-icon\x20univerjs-icon-','translate','order','SetDrawingArrangeCommand','UndoRedoGroupService','changeEnd$','useEffect','_registerFocusChangeHandler','resetCursor','activeSheet$','_editingParams$','dataModel','_addShapeConnectorHandlerObjects','_localeService','SheetShapeTextEditorContainer','UniverSheetsDrawingPlugin','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','Injector','unitId','_formulaAnimation','move-up-icon','isInGroup','_shapes','renderDrawingShape','transform','drawing-ui.objectListPanel.title','getSelectedObjectMap','BUTTON','drawing-ui.objectListPanel.hideAll','worldRect','getPropertyValue','calculate','UniverSheetsDrawing','InsertShapeCommand','BottomIcon','flatMap','_registerOperations','onSteady','memo','_clearConnectionSites','drawing-ui.objectListPanel.lockAll','getImageSourceCache','DocumentDataModel','UNIVER_DOC','PaintIcon','highlighted','abs','setConfig','getTextStyle','_sheetDrawingService','onload','sheets-shape-ui.shape-format.quick-style-gallery','_activeShapeInfo','drawing.operation.set-drawing-active','_clipService','ToggleSheetsShapeFlipCommand','_contextService','FlipVerticalIcon','ang','ShapeTextRibbonControl','_attachConnectorObjectEvent','add$','SheetDrawingAnchor','_isShouldShowDrawingShapeAdjust','none','src','resolveShapeTextEditorWrapStrategy','DocInterceptorService','UniverDocsUi','_isStartConnectorPoint','useObservable','None','version','_getZoomRatio','localName','interceptor','UniverUi','#4285f4','_shapeEditPanelVersion','getBatchUpdateOp','MoveDownIcon','isMainScene','MEDIA','IUniverInstanceService','_shapeTextEditingService','resolveFormulaShapeAutoFitSize','transformVector2SceneCoord','_configService','worldPoint','add','animateFormulaPresentation','getActiveViewportByCoord','654080ErajVU','getActualSize','clear','Disposable','value','shape-editor-ui.arrange.front','save','Line','isHit','fillImageSourceType','getPermissionPoint','doc.image-clip.shape-picker.component','translateWithPrecision','includes','_onSavingEditorData$','ComponentManager','applyPoint','_shapeId','RENDER_CLASS_TYPE','getUnit','M4.2\x208.3H6.8','sidebarOptions$','_initCopyPaste','UpdateSheetsShapeDataMutation','_disposePopups','_isOpenedShapeEditPanel','ShapeFloatingToolbarService','_targetShapeId','_visible','offsetY','_clearPopups','setPrstGeomAdjValues','SetSheetDrawingCommand','reduce','merge','getRenderUnitById','getAutoFitPresentations','Image','_transformCalculateSrcRect','values','UniverProShapeEditorUi','makeDirty','setFormulaPresentation','symbol','activateDrawingObject','_registerIcons','_componentManager','buildClipPath','_findShapeAtPoint','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','_releaseRenderCache','SHEET_VIEWPORT_KEY','0\x200\x2016\x2016','sheets-shape-ui.objectListPanel.title','setShapeData','clipByShape','beginPath','WorksheetCopyPermission','FloatingObjectToolbarPosition','sheets-shape-ui.config','Arrow','_adjHandlerPointerMove','_activeImageId','createControl$','ShapeIcon','attachRangeWithCoord','cxnPointStroke','refreshFormulaPresentation','IURLImageService','UniverDesign','ShapeFormatSettingIcon','_hide','cxnIndex','sheet.shape.floating-toolbar','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','sheets-shape-ui.formatShape','_registerFeatureMenu','IconManager','getSheetBySheetId','hideInfoPopup','isRichText','_baseHeight','resolveActiveShapeQuickStylePresetId','DocCanvasPopManagerService','register','_sheetBasicShapeConnectionPointController','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_shapeFormulaService','createElement','setAdjustValueByName','ImageSourceTypeEnum','complete','getEditing','targetShapeId','univer-box-border\x20univer-px-4\x20univer-text-sm','discreteRangeToRange','ObjectListPanelBase','_imageShapeClipController','_generateCopyPasteMutations','_registerGroupFeaturePasteHook','_loadAndSetImage','#bcbcbc','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_initCommands','onPointerUp$','unregister','syncExecuteCommand','drawingId','getTextModel','changing$','sheet.operation.apply-shape-quick-style','registerShapeFormatPainter','getBoundingClientRect','4355330ifJOjR','_findNearestConnectionSite','focusDrawing','_transform','_getSceneAndTransformerByDrawingSearch','_initEditingParams','intercept','pluginName','hidden','_update','sheetViewStartRow','isFinite','useState','drawing-ui.objectListPanel.details','viewportScrollY','UniverShapeEditorMobileUIPlugin','type','fill','initShapePopupMenu','bottom','registerCommand','_hyperLinkRegions','getCurrentSkeleton','useFormulaShapeToolbar','ISheetDrawingService','ShapeStyleRibbonControl','isLineShape','toPrimitive','point','_isHighlighted','MenuManagerPosition','clip-adj-','defineProperty','oKey','DocumentViewModel','setEditing','sheets-shape-ui.quickStyles','custom','getShapeQuickStylePreset','WorkbookEditablePermission','_draggingConnectorId','UniverDrawingUi','_initPermission','_addShapeConnectorHandlerObject','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','currentColor','pipe','UniverRenderEnginePlugin','decorate','getAdjustValueByName','isRenderLinePointsMode','registerFeaturePasteHook','endArrow','_injector','prepareShapeTextDocumentData','1808406kNRWAr','M14\x208H14.2','priority','_sheetPermissionCheckController','_sheetInterceptorService','sheets-shape-ui.shape-format.style-ribbon-control','_unitId','create','ToggleShapeFloatingToolbarOperation','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','lineType','path','onRendered','useDependency','_shapeUpdateListener','filter','onCommandExecuted','DrawingCommonPanel','target','enableObjectsEvent','getUnitType','_sheetSkeletonService','M4.2\x205.5H10.5','shape-text-','baseVal','sheetTransform','idSuffix','distinctUntilChanged','_sheetDrawingShapeRenderController','_initMenu','_activeTargetShapeId','executeCommand','@univerjs-pro/license','jsxs','DisposableCollection','displayName','DRAWING_SHAPE','_baseWidth','element','COMMAND','SetDrawingSelectedOperation','getDrawingEditable','onPointerMove$','isReleased','shape-format-setting-icon','_init','registerFeatureMenu','startWith','skeleton','_handleConnectedEndpointPointerUp','DrawingApplyType','_handleBasicShapeUpdateConnectorLineShape','_createShapeAdjustControls','UniverDrawingUIPlugin','shapeModel','@univerjs/engine-render','constructor','getStartConnectInfo','getDrawingOrder','UniverProShapeEditor','editingParams$','_generateCutPasteMutations','viewportScrollX','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','left','formulaBinding','_updateSrcRectByTransform','StraightConnector1','stroke-width','sheets-shape-ui.ribbon.shape-format.arrange-forward','_drawingRenderService','sheets-shape-ui.ribbon.shape-format.arrange-backward','_index','parseFloat','max','_executeConnectedRouteConnectionCommand','SHAPE_CHANGE_PICKER_COMPONENT','react/jsx-runtime','sheets-shape-ui.objectListPanel.open','next','getScene','getObjectListPanelSectionIdForDrawingType','getTransformerByCreate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getCurrentUnitInfo','cos','getPresentation','resolveShapeTextHyperLinkObject','UniverIcon','_getScrollInfo','_drawingAddListener','_addShapeAdjustControl'];_0x40a5=function(){return _0x2cb533;};return _0x40a5();}function _0x3385(_0x50749b,_0x521a97){_0x50749b=_0x50749b-0x1b1;const _0x40a57f=_0x40a5();let _0x33857c=_0x40a57f[_0x50749b];return _0x33857c;}(function(_0x4824c1,_0x3a6363){const _0x22c8f9=_0x3385,_0x35da26=_0x4824c1();while(!![]){try{const _0x49ebf7=-parseInt(_0x22c8f9(0x524))/0x1*(-parseInt(_0x22c8f9(0x58c))/0x2)+-parseInt(_0x22c8f9(0x494))/0x3+-parseInt(_0x22c8f9(0x279))/0x4+parseInt(_0x22c8f9(0x45d))/0x5+parseInt(_0x22c8f9(0x1b8))/0x6*(-parseInt(_0x22c8f9(0x506))/0x7)+-parseInt(_0x22c8f9(0x3ec))/0x8+parseInt(_0x22c8f9(0x53e))/0x9;if(_0x49ebf7===_0x3a6363)break;else _0x35da26['push'](_0x35da26['shift']());}catch(_0xfda17b){_0x35da26['push'](_0x35da26['shift']());}}}(_0x40a5,0x877c6),function(_0x47fd0a,_0x55de6){const _0x1a71af=_0x3385;typeof exports==_0x1a71af(0x313)&&typeof module<'u'?_0x55de6(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x1a71af(0x333)&&define[_0x1a71af(0x25e)]?define([_0x1a71af(0x2ee),_0x1a71af(0x2ab),'@univerjs/ui',_0x1a71af(0x33f),_0x1a71af(0x589),_0x1a71af(0x22a),_0x1a71af(0x4f2),_0x1a71af(0x519),'@univerjs/drawing',_0x1a71af(0x4cb),_0x1a71af(0x273),_0x1a71af(0x359),_0x1a71af(0x1f4),'@univerjs/design',_0x1a71af(0x4e1),_0x1a71af(0x23c),_0x1a71af(0x4b4),_0x1a71af(0x237),_0x1a71af(0x5a6),_0x1a71af(0x552),'react'],_0x55de6):(_0x47fd0a=typeof globalThis<'u'?globalThis:_0x47fd0a||self,_0x55de6(_0x47fd0a['UniverProSheetsShapeUi']={},_0x47fd0a[_0x1a71af(0x414)],_0x47fd0a[_0x1a71af(0x3dc)],_0x47fd0a['UniverProEngineShape'],_0x47fd0a[_0x1a71af(0x4cf)],_0x47fd0a[_0x1a71af(0x282)],_0x47fd0a['UniverCore'],_0x47fd0a[_0x1a71af(0x54d)],_0x47fd0a[_0x1a71af(0x542)],_0x47fd0a['UniverEngineRender'],_0x47fd0a['UniverSheetsUi'],_0x47fd0a[_0x1a71af(0x359)],_0x47fd0a[_0x1a71af(0x486)],_0x47fd0a[_0x1a71af(0x431)],_0x47fd0a['React'],_0x47fd0a[_0x1a71af(0x3b0)],_0x47fd0a[_0x1a71af(0x59a)],_0x47fd0a[_0x1a71af(0x57e)],_0x47fd0a[_0x1a71af(0x3d4)],_0x47fd0a['UniverSheetsDrawingUi'],_0x47fd0a[_0x1a71af(0x27a)]));}(this,function(_0x2c14d8,_0x1a617a,_0x3412e6,_0x42c76f,_0x1959c2,_0x43ee3e,_0x4fcc67,_0x33d9c6,_0x89eb48,_0x5e3080,_0x5b8007,_0x5597c9,_0x108bdb,_0x44add0,_0x58bcbb,_0x51f92a,_0x53e697,_0x73dbdf,_0x505021,_0x254bb3,_0x9d5ee3){const _0x439e5d=_0x3385;Object[_0x439e5d(0x47d)](_0x2c14d8,Symbol[_0x439e5d(0x5ae)],{'value':_0x439e5d(0x501)});function _0x216822(_0x113703,_0x5c5cb1){const _0x52c436=_0x439e5d;let _0x749895={};for(let _0x1693f0 of Object[_0x52c436(0x4f5)](_0x5c5cb1)){let _0x40c020=_0x5c5cb1[_0x1693f0],_0x229ebd=_0x113703[_0x1693f0];_0x749895[_0x1693f0]=_0x229ebd===void 0x0?void 0x0:typeof _0x40c020==_0x52c436(0x313)&&_0x40c020&&!Array[_0x52c436(0x516)](_0x40c020)&&typeof _0x229ebd==_0x52c436(0x313)&&_0x229ebd&&!Array[_0x52c436(0x516)](_0x229ebd)?_0x216822(_0x229ebd,_0x40c020):_0x229ebd;}return _0x749895;}let _0x4b1d28={'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x4bb)],'id':'sheet.command.update-shape-data','handler':(_0x4729bf,_0x1b4b7a)=>{const _0x2e85da=_0x439e5d;let _0x6873b=_0x4729bf[_0x2e85da(0x55f)](_0x43ee3e[_0x2e85da(0x373)]),{unitId:_0x21a4f3,subUnitId:_0x34b9ab,shapeType:_0x118f9c,shapeId:_0x49f1bc,shapeData:_0x41e6b7,replaceShapeData:_0x598761,oldShapeJSON:_0x425b14}=_0x1b4b7a;if(!_0x6873b[_0x2e85da(0x1df)](_0x21a4f3,_0x34b9ab,_0x49f1bc))return!0x1;let _0x4b7ec5=_0x4729bf[_0x2e85da(0x55f)](_0x4fcc67[_0x2e85da(0x286)]),_0xcdece9=_0x4729bf['get'](_0x4fcc67['IUndoRedoService']),{oldShapeType:_0x10816d,oldShapeData:_0x3a3cd4={}}=_0x425b14,_0x14baa7=_0x598761?_0x3a3cd4:_0x216822(_0x3a3cd4,_0x41e6b7||{}),_0x333738={'id':_0x43ee3e['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x21a4f3,'subUnitId':_0x34b9ab,'shapeId':_0x49f1bc,'shapeType':_0x118f9c,'shapeData':_0x41e6b7,'replace':_0x598761}},_0x42ca00={'id':_0x43ee3e[_0x2e85da(0x403)]['id'],'params':{'unitId':_0x21a4f3,'subUnitId':_0x34b9ab,'shapeId':_0x49f1bc,'shapeType':_0x10816d,'shapeData':_0x14baa7,'replace':_0x598761}};return _0x4b7ec5[_0x2e85da(0x456)](_0x333738['id'],_0x333738[_0x2e85da(0x22e)])?(_0xcdece9[_0x2e85da(0x2ba)]({'unitID':_0x21a4f3,'undoMutations':[_0x42ca00],'redoMutations':[_0x333738]}),!0x0):!0x1;}};function _0x15d4c3(_0xe840c9,_0x4a03bf,_0x42431d,_0x24643d,_0x4e2d29,_0x40f222){const _0xf63cee=_0x439e5d;let _0x2e3b3b={'unitId':_0x4a03bf,'subUnitId':_0x42431d,'shapeId':_0x24643d,'shapeData':_0x40f222,'oldShapeJSON':_0x4e2d29};return _0xe840c9[_0xf63cee(0x4b3)](_0x4b1d28['id'],_0x2e3b3b);}function _0x8a2fc8(_0xc318a7,_0x30b90e,_0x1d2266,_0x2dba94,_0xb694db,_0x2799d5){let _0x1bf768={'unitId':_0x30b90e,'subUnitId':_0x1d2266,'shapeId':_0x2dba94,'shapeData':_0x2799d5,'oldShapeJSON':_0xb694db};return _0xc318a7['executeCommand'](_0x4b1d28['id'],_0x1bf768);}function _0x34c4d8(_0x43d5b8){'@babel/helpers - typeof';const _0x78b3f=_0x439e5d;return _0x34c4d8=typeof Symbol==_0x78b3f(0x333)&&typeof Symbol[_0x78b3f(0x548)]==_0x78b3f(0x417)?function(_0xc2aa18){return typeof _0xc2aa18;}:function(_0x43313e){const _0xfe79aa=_0x78b3f;return _0x43313e&&typeof Symbol=='function'&&_0x43313e[_0xfe79aa(0x4cc)]===Symbol&&_0x43313e!==Symbol['prototype']?_0xfe79aa(0x417):typeof _0x43313e;},_0x34c4d8(_0x43d5b8);}function _0x23b99c(_0x2301b9,_0x223bb9){const _0x2437aa=_0x439e5d;if(_0x34c4d8(_0x2301b9)!=_0x2437aa(0x313)||!_0x2301b9)return _0x2301b9;var _0x581116=_0x2301b9[Symbol[_0x2437aa(0x478)]];if(_0x581116!==void 0x0){var _0x4db622=_0x581116[_0x2437aa(0x517)](_0x2301b9,_0x223bb9||'default');if(_0x34c4d8(_0x4db622)!=_0x2437aa(0x313))return _0x4db622;throw TypeError(_0x2437aa(0x4e7));}return(_0x223bb9===_0x2437aa(0x267)?String:Number)(_0x2301b9);}function _0x2dc238(_0x13447d){const _0x286e78=_0x439e5d;var _0x28c3d5=_0x23b99c(_0x13447d,_0x286e78(0x267));return _0x34c4d8(_0x28c3d5)=='symbol'?_0x28c3d5:_0x28c3d5+'';}function _0x355f4a(_0x2b1d19,_0x1fd510,_0x4f3aac){const _0x2c7e99=_0x439e5d;return(_0x1fd510=_0x2dc238(_0x1fd510))in _0x2b1d19?Object[_0x2c7e99(0x47d)](_0x2b1d19,_0x1fd510,{'value':_0x4f3aac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b1d19[_0x1fd510]=_0x4f3aac,_0x2b1d19;}function _0x4ee1ee(_0x4bb744,_0x2cf386,_0x5040c0){const _0x319c13=_0x439e5d;let _0x10e1d8={..._0x2cf386,'dataModel':{..._0x2cf386[_0x319c13(0x39b)]??{},..._0x5040c0?{'doc':_0x5040c0}:null}},_0x259e49=(0x0,_0x1a617a[_0x319c13(0x53f)])(_0x4bb744,_0x10e1d8),_0x2314d3=(0x0,_0x1a617a[_0x319c13(0x3d2)])(_0x259e49);return{'clip':(0x0,_0x1a617a[_0x319c13(0x4f0)])(_0x259e49,_0x2314d3),'wrapStrategy':_0x2314d3};}var _0x11dd97=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x301a57,_0x403c63){const _0x5e52f0=_0x439e5d;super(_0x301a57,_0x403c63),_0x355f4a(this,_0x5e52f0(0x472),[]),_0x355f4a(this,_0x5e52f0(0x293),void 0x0),_0x355f4a(this,_0x5e52f0(0x3a3),new _0x1a617a['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x355f4a(this,_0x5e52f0(0x412),!0x0),_0x355f4a(this,'_drawingType',_0x4fcc67['DrawingTypeEnum']['DRAWING_SHAPE']),_0x355f4a(this,'isDrawingObject',!0x0),this['_props']={..._0x403c63},this[_0x5e52f0(0x3a3)][_0x5e52f0(0x270)](_0x403c63[_0x5e52f0(0x38e)],_0x403c63[_0x5e52f0(0x3ea)]!==!0x1),this[_0x5e52f0(0x4c1)](),this[_0x5e52f0(0x266)]();}[_0x439e5d(0x4c1)](){this['onTransformChange$']['subscribeEvent'](_0x58c13f=>{const _0x10e8fc=_0x3385;this[_0x10e8fc(0x4d6)](_0x58c13f);});}['setPrstGeom'](_0x18cc8a){const _0x4082d9=_0x439e5d;this[_0x4082d9(0x293)]['prstGeom']=_0x18cc8a;}['resolveHyperLinkAt'](_0x2d0927){const _0x2dd8ba=_0x439e5d;if(this[_0x2dd8ba(0x293)][_0x2dd8ba(0x371)])return null;let _0x21aa3c=this[_0x2dd8ba(0x2fc)](_0x2d0927),{width:_0x39ccf7,height:_0x493c9d}=this[_0x2dd8ba(0x2d6)]();return(0x0,_0x1a617a['resolveShapeTextHyperLinkAt'])(this[_0x2dd8ba(0x472)],{'x':(this['flipX']?-_0x21aa3c['x']:_0x21aa3c['x'])+_0x39ccf7/0x2,'y':_0x21aa3c['y']+_0x493c9d/0x2});}[_0x439e5d(0x480)](_0x5f0a39){const _0x42ce86=_0x439e5d;this['_props'][_0x42ce86(0x371)]=_0x5f0a39,this[_0x42ce86(0x415)](!0x0);}['setFormulaPresentation'](_0x1a0bd7,_0x1406d9=!0x0){const _0x5c7a95=_0x439e5d;this[_0x5c7a95(0x3a3)][_0x5c7a95(0x270)](_0x1a0bd7,_0x1406d9),this[_0x5c7a95(0x293)][_0x5c7a95(0x38e)]=_0x1a0bd7,this[_0x5c7a95(0x266)](),this[_0x5c7a95(0x415)](!0x0);}[_0x439e5d(0x266)](){const _0x4884ad=_0x439e5d;let _0x53e5f5=this['_props'][_0x4884ad(0x4ca)],_0x504ded=_0x53e5f5[_0x4884ad(0x5a3)](),_0x5e8606=(0x0,_0x1a617a[_0x4884ad(0x55b)])(_0x504ded==null?void 0x0:_0x504ded[_0x4884ad(0x39b)]),_0x331918=_0x5e8606==null?void 0x0:_0x5e8606[_0x4884ad(0x1c6)],_0x4819ba=this[_0x4884ad(0x3a3)][_0x4884ad(0x410)]();if(!_0x331918||_0x4819ba[_0x4884ad(0x298)]===0x0)return;_0x53e5f5['updateContext']({'width':this[_0x4884ad(0x5a5)],'height':this[_0x4884ad(0x509)]});let _0x11c8e6=(0x0,_0x1a617a[_0x4884ad(0x3e5)])({'documentData':_0x4819ba[_0x4884ad(0x1ff)](_0x47941e=>(0x0,_0x1959c2[_0x4884ad(0x2a6)])(_0x331918,_0x47941e)),'height':this[_0x4884ad(0x509)],'shapeData':_0x53e5f5[_0x4884ad(0x339)](),'textRect':_0x53e5f5[_0x4884ad(0x515)]({'left':0x0,'top':0x0,'width':this[_0x4884ad(0x5a5)],'height':this[_0x4884ad(0x509)]}),'width':this['width']});if(_0x11c8e6){var _0x273e30;this[_0x4884ad(0x2c0)](_0x11c8e6[_0x4884ad(0x5a5)],_0x11c8e6[_0x4884ad(0x509)]),(_0x273e30=this[_0x4884ad(0x4e4)]())==null||(_0x273e30=_0x273e30['getTransformer']())==null||_0x273e30['debounceRefreshControls']();}}get[_0x439e5d(0x3a2)](){const _0x47ec72=_0x439e5d;return this[_0x47ec72(0x293)][_0x47ec72(0x3a2)];}get[_0x439e5d(0x555)](){const _0x27c224=_0x439e5d;return this[_0x27c224(0x293)][_0x27c224(0x555)];}[_0x439e5d(0x4d6)](_0x1af8fb){const _0x4ee922=_0x439e5d;if(this[_0x4ee922(0x293)][_0x4ee922(0x275)]==null||!this[_0x4ee922(0x412)])return;let {width:_0x1c8521,height:_0x13f919}=this,{width:_0x260971=0x0,height:_0x15ff53=0x0}=_0x1af8fb[_0x4ee922(0x239)],{left:_0x27a1c4=0x0,top:_0x502b61=0x0,right:_0x400aaf=0x0,bottom:_0x5054e1=0x0}=this['_props'][_0x4ee922(0x275)],_0x4f3991=_0x27a1c4,_0x3b82a9=_0x502b61,_0x548fbb=_0x400aaf,_0xf7fea2=_0x5054e1,_0x1d8366=!0x1;if(_0x260971!==0x0&&_0x260971!==_0x1c8521){let _0x11a509=_0x27a1c4/_0x260971,_0x3f2fd6=_0x400aaf/_0x260971;_0x4f3991=_0x1c8521*_0x11a509,_0x548fbb=_0x1c8521*_0x3f2fd6,_0x1d8366=!0x0;}if(_0x15ff53!==0x0&&_0x15ff53!==_0x13f919){let _0x47fa91=_0x502b61/_0x15ff53,_0x2eb78c=_0x5054e1/_0x15ff53;_0x3b82a9=_0x13f919*_0x47fa91,_0xf7fea2=_0x13f919*_0x2eb78c,_0x1d8366=!0x0;}_0x1d8366&&this['setSrcRect']({'left':_0x4f3991,'top':_0x3b82a9,'right':_0x548fbb,'bottom':_0xf7fea2});}[_0x439e5d(0x2f5)](_0x472ebd){const _0x370d85=_0x439e5d;this[_0x370d85(0x293)][_0x370d85(0x275)]=_0x472ebd,this[_0x370d85(0x415)](!0x0);}[_0x439e5d(0x585)](_0x80e1ed){const _0x59b557=_0x439e5d;this[_0x59b557(0x293)][_0x59b557(0x1fb)]=_0x80e1ed,this[_0x59b557(0x415)](!0x0);}set[_0x439e5d(0x3a8)](_0x47a41){const _0x4be322=_0x439e5d;this[_0x4be322(0x460)]=_0x47a41;}get[_0x439e5d(0x3a8)](){const _0x2fac98=_0x439e5d;this[_0x2fac98(0x460)]||this[_0x2fac98(0x318)]();let _0x5448a2=this[_0x2fac98(0x460)][_0x2fac98(0x2cc)]();return this[_0x2fac98(0x533)](_0x5448a2);}get[_0x439e5d(0x4ca)](){const _0x1692f8=_0x439e5d;return this[_0x1692f8(0x293)][_0x1692f8(0x4ca)];}get[_0x439e5d(0x1cf)](){const _0x4eb4f9=_0x439e5d;return this['_props'][_0x4eb4f9(0x1cf)];}get[_0x439e5d(0x22c)](){const _0x21e6b5=_0x439e5d;return _0x5e3080[_0x21e6b5(0x3fe)]['SHAPE'];}['_draw'](_0x2b0dd8,_0x347f98,_0x1d2e31,_0x24e37a){const _0x2c8e21=_0x439e5d;let _0x2cdf32=this[_0x2c8e21(0x293)]['shapeModel'];if(!_0x2cdf32||!_0x347f98)return;let _0x31aa24=_0x1d2e31??this[_0x2c8e21(0x5a5)],_0x5bf5ee=_0x24e37a??this[_0x2c8e21(0x509)],_0x4c5005={'shapeType':_0x2cdf32[_0x2c8e21(0x587)](),'width':_0x31aa24,'height':_0x5bf5ee},_0x1297a3={'renderMode':_0x42c76f[_0x2c8e21(0x249)][_0x2c8e21(0x549)],'oKey':this[_0x2c8e21(0x47e)],'image':this[_0x2c8e21(0x293)][_0x2c8e21(0x1fb)],'angle':this['angle']};_0x2cdf32['updateContext'](_0x4c5005),_0x2b0dd8[_0x2c8e21(0x3f2)]();let _0x45326a={'top':0x0,'left':0x0,'width':_0x31aa24,'height':_0x5bf5ee},_0x2a9277=_0x2cdf32['getDrawingEffectBounds'](_0x45326a);_0x2a9277?this[_0x2c8e21(0x2e1)](_0x2b0dd8,_0x2a9277,_0x31e194=>{_0x2cdf32['render'](_0x31e194,_0x45326a,_0x1297a3);}):(this[_0x2c8e21(0x41e)](),_0x2cdf32[_0x2c8e21(0x21e)](_0x2b0dd8,_0x45326a,_0x1297a3)),_0x2b0dd8[_0x2c8e21(0x33d)]();let _0x13ff97=_0x2cdf32['getShapeTextData'](),_0x157413=_0x2cdf32[_0x2c8e21(0x515)](_0x45326a),_0x40d381=_0x2cdf32['isLineShape']();if(_0x13ff97&&_0x157413&&!_0x40d381){_0x2b0dd8[_0x2c8e21(0x3f2)](),this[_0x2c8e21(0x2ff)]()[_0x2c8e21(0x365)]&&_0x2b0dd8[_0x2c8e21(0x1d2)](-0x1,0x1);let _0x797c1f=_0x31aa24/0x2,_0x4cb270=_0x5bf5ee/0x2;_0x2b0dd8[_0x2c8e21(0x391)](-_0x797c1f,-_0x4cb270),_0x2b0dd8[_0x2c8e21(0x424)](),this[_0x2c8e21(0x38b)](_0x2b0dd8,_0x13ff97,_0x157413),_0x2b0dd8['restore']();}}[_0x439e5d(0x246)](_0x11cb6d){}[_0x439e5d(0x38b)](_0x3575b7,_0x1b66ac,_0x542db2){const _0x240e40=_0x439e5d;var _0x59a269;this[_0x240e40(0x472)]=[],this[_0x240e40(0x293)][_0x240e40(0x371)]||(!((_0x59a269=_0x1b66ac['dataModel'])!=null&&_0x59a269[_0x240e40(0x1c6)])&&_0x240e40(0x43c)in _0x1b66ac&&_0x1b66ac[_0x240e40(0x43c)]===!0x1?this['_drawSimpleText'](_0x3575b7,_0x1b66ac,_0x542db2):this['_drawRichText'](_0x3575b7,_0x1b66ac,_0x542db2));}[_0x439e5d(0x554)](_0x28ccfb,_0xf1308c,_0x2a4794){const _0x375dd5=_0x439e5d;this[_0x375dd5(0x252)](_0x28ccfb,{..._0xf1308c,'text':_0xf1308c[_0x375dd5(0x2fa)]??'','dataModel':{'doc':(0x0,_0x1a617a[_0x375dd5(0x305)])(_0xf1308c,'sheets-shape-text-'+this[_0x375dd5(0x47e)])}},_0x2a4794);}[_0x439e5d(0x252)](_0x531794,_0x1713f5,_0x41e3a4){const _0x377340=_0x439e5d;(0x0,_0x1a617a[_0x377340(0x2cf)])(_0x531794,this[_0x377340(0x3a3)],(_0x3804f9,_0x2b7fb8,_0x58a80b)=>{const _0x999e1a=_0x377340;this[_0x999e1a(0x513)](_0x3804f9,_0x1713f5,_0x41e3a4,_0x2b7fb8,_0x58a80b===_0x999e1a(0x256));});}[_0x439e5d(0x513)](_0x21a910,_0x112239,_0x50ca43,_0x5bbfe6,_0x3a7243){const _0x4714d3=_0x439e5d;let _0x199175=this[_0x4714d3(0x293)][_0x4714d3(0x321)];if(!_0x112239[_0x4714d3(0x39b)]||!_0x199175)return;let _0x3b5af7=(0x0,_0x1a617a[_0x4714d3(0x55b)])(_0x112239[_0x4714d3(0x39b)]);if(!_0x3b5af7)return;let _0x2c9c8d=_0x3b5af7[_0x4714d3(0x1c6)];if(!_0x2c9c8d)return;let _0x13a4c2=(0x0,_0x1959c2[_0x4714d3(0x2a6)])(_0x2c9c8d,_0x5bbfe6),_0x419b6d=_0x3b5af7['va']??_0x4fcc67[_0x4714d3(0x263)][_0x4714d3(0x576)],_0x41ee95=_0x3b5af7['ha']??_0x4fcc67[_0x4714d3(0x32d)][_0x4714d3(0x35f)],_0x19adee=_0x4ee1ee(this[_0x4714d3(0x293)]['shapeModel'][_0x4714d3(0x339)](),_0x112239,_0x13a4c2),_0xedcf8c=_0x112239['isHorizontal'],_0x3fe25d=(0x0,_0x1a617a[_0x4714d3(0x493)])(_0x13a4c2,{'isHorizontal':_0xedcf8c!==!0x1,'textRect':_0x50ca43,'verticalAlign':_0x419b6d,'horizontalAlign':_0x41ee95,'wrapStrategy':_0x19adee[_0x4714d3(0x311)]}),_0x2565e3=new _0x4fcc67[(_0x4714d3(0x3ba))](_0x3fe25d),_0x1fe7ce=new _0x5e3080[(_0x4714d3(0x47f))](_0x2565e3),_0x28195f=_0x5e3080[_0x4714d3(0x2fe)][_0x4714d3(0x49b)](_0x1fe7ce,_0x199175);_0x28195f[_0x4714d3(0x3af)]();let _0x36a835=_0x28195f[_0x4714d3(0x3ed)]()['actualHeight'],_0x4f9dd9=(0x0,_0x1a617a[_0x4714d3(0x29f)])({'contentHeight':_0x36a835,'verticalAlign':_0x419b6d,'viewportHeight':_0x50ca43[_0x4714d3(0x509)]});_0x2565e3['updateDocumentStyle']({'pageSize':{'width':_0xedcf8c===!0x1?_0x50ca43[_0x4714d3(0x509)]:_0x50ca43[_0x4714d3(0x5a5)],'height':(0x0,_0x1a617a['resolveShapeTextDocumentPageHeight'])(_0x13a4c2,_0x4f9dd9[_0x4714d3(0x566)])}}),_0x2565e3['updateDocumentDataMargin']({'t':_0x4f9dd9[_0x4714d3(0x257)]}),_0x28195f[_0x4714d3(0x3af)]();let _0x528034=new _0x5e3080['Documents'](_0x4714d3(0x4ab)+this[_0x4714d3(0x47e)],_0x28195f,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x4714d3(0x415)](!0x0)});_0x528034['resize'](_0x50ca43[_0x4714d3(0x5a5)],_0x4f9dd9[_0x4714d3(0x566)]),_0x21a910[_0x4714d3(0x3f2)](),_0x21a910[_0x4714d3(0x3f8)](_0x50ca43[_0x4714d3(0x4d4)],_0x50ca43[_0x4714d3(0x22d)]),_0x19adee['clip']&&(_0x21a910[_0x4714d3(0x424)](),_0x21a910['rect'](0x0,_0x4f9dd9['clipTop'],_0x50ca43[_0x4714d3(0x5a5)],_0x4f9dd9['clipHeight']),_0x21a910[_0x4714d3(0x1c1)]()),_0x4f9dd9[_0x4714d3(0x593)]&&_0x21a910[_0x4714d3(0x3f8)](0x0,_0x4f9dd9[_0x4714d3(0x593)]),_0x528034[_0x4714d3(0x5a7)](_0x21a910),_0x3a7243&&(this['_hyperLinkRegions']=(0x0,_0x1a617a['createShapeTextHyperLinkRegions'])(_0x528034,{'left':_0x50ca43['left'],'top':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9['contentVerticalOffset']},_0x19adee[_0x4714d3(0x1c1)]?{'left':_0x50ca43['left'],'right':_0x50ca43[_0x4714d3(0x4d4)]+_0x50ca43[_0x4714d3(0x5a5)],'top':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9[_0x4714d3(0x508)],'bottom':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9['clipTop']+_0x4f9dd9[_0x4714d3(0x329)]}:void 0x0)),_0x21a910['restore'](),_0x528034[_0x4714d3(0x27e)](),_0x28195f[_0x4714d3(0x27e)](),_0x1fe7ce[_0x4714d3(0x27e)](),_0x2565e3[_0x4714d3(0x27e)]();}[_0x439e5d(0x21e)](_0x307c0c,_0x401b23,_0x273f02=!0x1){const _0x9d1a43=_0x439e5d;if(!this[_0x9d1a43(0x30f)])return this[_0x9d1a43(0x415)](!0x1),this;let {width:_0x2ee576,height:_0x2b0ad9,left:_0x511dd2,top:_0x1817b5}=this,_0x51348a=this['getRealBound']();if(_0x2ee576=_0x51348a[_0x9d1a43(0x5a5)],_0x2b0ad9=_0x51348a[_0x9d1a43(0x509)],_0x511dd2=_0x51348a[_0x9d1a43(0x4d4)],_0x1817b5=_0x51348a[_0x9d1a43(0x22d)],this[_0x9d1a43(0x50b)](_0x401b23)){let {top:_0x3ba389,left:_0x2cef91,bottom:_0x245c17,right:_0x5851df}=_0x401b23['viewBound'];if(_0x2ee576+this[_0x9d1a43(0x5a4)]+_0x511dd2<_0x2cef91||_0x5851df<_0x511dd2||_0x2b0ad9+this[_0x9d1a43(0x5a4)]+_0x1817b5<_0x3ba389||_0x245c17<_0x1817b5)return this;}let _0x1044b5=_0x511dd2+_0x2ee576/0x2,_0x14ae32=_0x1817b5+_0x2b0ad9/0x2,_0x51f834=this[_0x9d1a43(0x3a8)][_0x9d1a43(0x526)]();if(this[_0x9d1a43(0x293)]['isEditing']){let _0x403f28=this['getState'](),_0x57d030=new _0x5e3080[(_0x9d1a43(0x2c1))]();_0x57d030[_0x9d1a43(0x551)]({..._0x403f28}),_0x51f834=_0x57d030[_0x9d1a43(0x526)]();}return _0x307c0c['save'](),this[_0x9d1a43(0x293)]['shapeModel'][_0x9d1a43(0x48f)]===!0x0||_0x307c0c[_0x9d1a43(0x3a8)](_0x51f834[0x0],_0x51f834[0x1],_0x51f834[0x2],_0x51f834[0x3],_0x1044b5,_0x14ae32),this[_0x9d1a43(0x5b1)](_0x307c0c,_0x401b23,_0x2ee576,_0x2b0ad9),_0x307c0c[_0x9d1a43(0x33d)](),this[_0x9d1a43(0x415)](!0x1),this;}['getInverseCoord'](_0x12481b){const _0x2312a3=_0x439e5d;let {left:_0x18178f,top:_0x5a5e9a,width:_0x586c26,height:_0x4e966b}=this[_0x2312a3(0x2d6)](),_0x40f148=this[_0x2312a3(0x3a8)][_0x2312a3(0x526)](),_0xfbb74f=_0x18178f+_0x586c26/0x2,_0x27c9d0=_0x5a5e9a+_0x4e966b/0x2,_0x10a07a=new _0x5e3080[(_0x2312a3(0x2c1))]([_0x40f148[0x0],_0x40f148[0x1],_0x40f148[0x2],_0x40f148[0x3],_0xfbb74f,_0x27c9d0]),_0x17eaf0=this[_0x2312a3(0x35b)]();return(this[_0x2312a3(0x3a5)]&&(_0x17eaf0==null?void 0x0:_0x17eaf0[_0x2312a3(0x22c)])===_0x5e3080['RENDER_CLASS_TYPE'][_0x2312a3(0x20f)]?_0x17eaf0[_0x2312a3(0x338)]['multiply'](_0x10a07a):_0x10a07a)['invert']()['applyPoint'](_0x12481b);}[_0x439e5d(0x3f4)](_0x2250b4){const _0x1a8383=_0x439e5d;let {left:_0x1a3e74,top:_0x47b920,width:_0x26c0d7,height:_0x17b161}=this['getRealBound'](),_0x13d23f=_0x1a3e74+_0x26c0d7/0x2,_0x41cd82=_0x47b920+_0x17b161/0x2,_0x1385d1=this[_0x1a8383(0x3a8)][_0x1a8383(0x526)](),_0x5dac50=new _0x5e3080[(_0x1a8383(0x2c1))]([_0x1385d1[0x0],_0x1385d1[0x1],_0x1385d1[0x2],_0x1385d1[0x3],_0x13d23f,_0x41cd82]),_0x552230=this['getParent'](),_0x43d361=(this['isInGroup']&&(_0x552230==null?void 0x0:_0x552230[_0x1a8383(0x22c)])===_0x5e3080[_0x1a8383(0x3fe)][_0x1a8383(0x20f)]?_0x552230[_0x1a8383(0x338)][_0x1a8383(0x36b)](_0x5dac50):_0x5dac50)[_0x1a8383(0x1cb)]()[_0x1a8383(0x3fc)](_0x2250b4),_0x23bd7d=_0x26c0d7/0x2,_0x10cdcc=_0x17b161/0x2,_0x502b96=this[_0x1a8383(0x293)][_0x1a8383(0x4ca)];return _0x502b96&&_0x502b96[_0x1a8383(0x477)]()?_0x502b96['isHitLine'](_0x43d361['x'],_0x43d361['y'],_0x26c0d7,_0x17b161):_0x43d361['x']>=-_0x23bd7d-this[_0x1a8383(0x5a4)]/0x2&&_0x43d361['x']<=_0x23bd7d+this['strokeWidth']/0x2&&_0x43d361['y']>=-_0x10cdcc-this[_0x1a8383(0x5a4)]/0x2&&_0x43d361['y']<=_0x10cdcc+this['strokeWidth']/0x2;}[_0x439e5d(0x27e)](){const _0x3d4479=_0x439e5d;this[_0x3d4479(0x3a3)][_0x3d4479(0x27e)](),this[_0x3d4479(0x293)][_0x3d4479(0x4ca)]=null,super[_0x3d4479(0x27e)]();}},_0x309015=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x1b95ca,_0x189369){const _0x2f08dd=_0x439e5d;super(_0x1b95ca,_0x189369),_0x355f4a(this,_0x2f08dd(0x3fd),null),_0x355f4a(this,_0x2f08dd(0x1f3),null),_0x355f4a(this,_0x2f08dd(0x49a),null),_0x355f4a(this,_0x2f08dd(0x289),null),_0x189369&&this[_0x2f08dd(0x27d)](_0x189369);}[_0x439e5d(0x5af)](){const _0x218f23=_0x439e5d;return{'unitId':this[_0x218f23(0x49a)],'subUnitId':this[_0x218f23(0x289)],'drawingId':this[_0x218f23(0x3fd)]};}[_0x439e5d(0x27d)](_0x2d488a){const _0x352f3c=_0x439e5d;_0x2d488a['shapeId']!==void 0x0&&(this['_shapeId']=_0x2d488a[_0x352f3c(0x1cf)]),_0x2d488a[_0x352f3c(0x2f9)]!==void 0x0&&(this[_0x352f3c(0x1f3)]=_0x2d488a[_0x352f3c(0x2f9)]),_0x2d488a['unitId']!==void 0x0&&(this['_unitId']=_0x2d488a['unitId']),_0x2d488a[_0x352f3c(0x555)]!==void 0x0&&(this[_0x352f3c(0x289)]=_0x2d488a[_0x352f3c(0x555)]),this[_0x352f3c(0x312)]({'width':_0x2d488a[_0x352f3c(0x5a5)],'height':_0x2d488a['height']});}[_0x439e5d(0x5b1)](_0x159e99){const _0x924c75=_0x439e5d;_0x5e3080[_0x924c75(0x38f)][_0x924c75(0x362)](_0x159e99,{'radius':_0x42c76f[_0x924c75(0x1de)][_0x924c75(0x24c)],'fill':_0x42c76f[_0x924c75(0x1de)][_0x924c75(0x207)],'stroke':_0x42c76f['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x56348c(_0x36f53e,_0x585e0e){return function(_0x53f48a,_0x196d04){_0x585e0e(_0x53f48a,_0x196d04,_0x36f53e);};}function _0x5b9725(_0xc4cea5,_0x36f426,_0x2c27cc,_0x59556e){const _0x51be01=_0x439e5d;var _0x567bba=arguments[_0x51be01(0x298)],_0x3e1352=_0x567bba<0x3?_0x36f426:_0x59556e===null?_0x59556e=Object[_0x51be01(0x1bb)](_0x36f426,_0x2c27cc):_0x59556e,_0x586c4b;if(typeof Reflect==_0x51be01(0x313)&&typeof Reflect[_0x51be01(0x48d)]==_0x51be01(0x333))_0x3e1352=Reflect[_0x51be01(0x48d)](_0xc4cea5,_0x36f426,_0x2c27cc,_0x59556e);else{for(var _0x2458f9=_0xc4cea5[_0x51be01(0x298)]-0x1;_0x2458f9>=0x0;_0x2458f9--)(_0x586c4b=_0xc4cea5[_0x2458f9])&&(_0x3e1352=(_0x567bba<0x3?_0x586c4b(_0x3e1352):_0x567bba>0x3?_0x586c4b(_0x36f426,_0x2c27cc,_0x3e1352):_0x586c4b(_0x36f426,_0x2c27cc))||_0x3e1352);}return _0x567bba>0x3&&_0x3e1352&&Object[_0x51be01(0x47d)](_0x36f426,_0x2c27cc,_0x3e1352),_0x3e1352;}let _0x5e7905=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x2651a3,_0x25288a,_0xc1fc97,_0x49852a,_0xf46972,_0x16e75e){const _0x153b80=_0x439e5d;super(),this[_0x153b80(0x232)]=_0x2651a3,this['_sheetsShapeService']=_0x25288a,this[_0x153b80(0x39d)]=_0xc1fc97,this[_0x153b80(0x27f)]=_0x49852a,this['_urlImageService']=_0xf46972,this['_shapeFormulaService']=_0x16e75e,_0x355f4a(this,'_formulaShapes',new Map()),this[_0x153b80(0x575)](this[_0x153b80(0x443)][_0x153b80(0x52d)]['subscribe'](_0x1266b9=>{const _0x32cca7=_0x153b80;var _0x44afad;(_0x44afad=this[_0x32cca7(0x377)][_0x32cca7(0x55f)](this[_0x32cca7(0x550)](_0x1266b9['unitId'],_0x1266b9['subUnitId'],_0x1266b9['shapeId'])))==null||_0x44afad[_0x32cca7(0x386)](_0x58433e=>_0x58433e[_0x32cca7(0x416)](_0x1266b9[_0x32cca7(0x50d)],_0x1266b9[_0x32cca7(0x2f7)]));})),this[_0x153b80(0x575)](this[_0x153b80(0x232)][_0x153b80(0x228)][_0x153b80(0x523)](_0x4d410a=>{_0x4d410a['forEach'](_0x74f39f=>{const _0x26b6c2=_0x3385;this['_formulaShapes'][_0x26b6c2(0x218)](this[_0x26b6c2(0x550)](_0x74f39f['unitId'],_0x74f39f[_0x26b6c2(0x555)],_0x74f39f[_0x26b6c2(0x457)]));});}));}[_0x439e5d(0x3a7)](_0x45ba11,_0x937133,_0x16cc20){const _0x3cb108=_0x439e5d;let {transform:_0x23b99b,drawingType:_0xa13e02,srcRect:_0x2d5c5b,prstGeom:_0x2ad03c,groupId:_0x42d801,unitId:_0x4c1712,subUnitId:_0x34c871,drawingId:_0x1c3805,isMultiTransform:_0x44f2dc,transforms:_0x1079f8,hidden:_0x1d9656,selectable:_0x439820}=_0x45ba11;if(_0xa13e02!==_0x4fcc67[_0x3cb108(0x204)][_0x3cb108(0x4b8)]||!this['_drawingManagerService'][_0x3cb108(0x24f)]()||_0x23b99b==null)return;let _0x19ae69=this[_0x3cb108(0x232)][_0x3cb108(0x4bd)](),_0x4d27b2=_0x44f2dc&&_0x1079f8?_0x1079f8:[_0x23b99b],_0x303c94=[];for(let _0x90edf3 of _0x4d27b2){let {left:_0x479f69,top:_0x31242d,width:_0x2ec94e,height:_0x15a408,angle:_0x119a45,flipX:_0x358cd7,flipY:_0x1f1ec2,skewX:_0x410522,skewY:_0x5c7d10}=_0x90edf3,_0x699682=_0x4d27b2[_0x3cb108(0x36e)](_0x90edf3),_0xd7142f=(0x0,_0x89eb48[_0x3cb108(0x236)])({'unitId':_0x4c1712,'subUnitId':_0x34c871,'drawingId':_0x1c3805},_0x44f2dc?_0x699682:void 0x0),_0x1028fc=_0x937133['getObjectIncludeInGroup'](_0xd7142f);if(_0x1028fc!=null){let _0xfe6254={'unitId':_0x4c1712,'subUnitId':_0x34c871,'shapeId':_0x1c3805};_0x1028fc instanceof _0x11dd97&&this[_0x3cb108(0x42f)](_0x1028fc,_0xfe6254),_0x1028fc[_0x3cb108(0x312)]({'left':_0x479f69,'top':_0x31242d,'width':_0x2ec94e,'height':_0x15a408,'angle':_0x119a45,'flipX':_0x358cd7,'flipY':_0x1f1ec2,'skewX':_0x410522,'skewY':_0x5c7d10});continue;}let _0x487341=this[_0x3cb108(0x232)][_0x3cb108(0x4ce)](_0x4c1712,_0x34c871),_0x43e9b9=_0x487341[_0x3cb108(0x36e)](_0x1c3805);if(_0x937133[_0x3cb108(0x2b6)](_0xd7142f)||!this[_0x3cb108(0x232)]['getDrawingVisible']())continue;let _0x125edf=this[_0x3cb108(0x4f6)][_0x3cb108(0x1df)](_0x4c1712,_0x34c871,_0x1c3805);if(!_0x125edf)continue;let _0x101a65=(0x0,_0x42c76f['isConnectorShape'])(_0x125edf[_0x3cb108(0x587)]())?{..._0x1a617a[_0x3cb108(0x370)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1a617a[_0x3cb108(0x370)],_0x3f8669=_0x125edf[_0x3cb108(0x339)]()[_0x3cb108(0x4d5)],_0x28b954={'unitId':_0x4c1712,'subUnitId':_0x34c871,'shapeId':_0x1c3805};_0x3f8669&&this[_0x3cb108(0x443)][_0x3cb108(0x440)](_0x28b954,_0x3f8669);let _0x5b51be=new _0x11dd97(_0xd7142f,{..._0x90edf3,'zIndex':_0x43e9b9===-0x1?_0x487341[_0x3cb108(0x298)]-0x1:_0x43e9b9,'shapeModel':_0x125edf,'localeService':this[_0x3cb108(0x39d)],'shapeId':_0x1c3805,'unitId':_0x4c1712,'subUnitId':_0x34c871,'visible':_0x1d9656!==!0x0,'evented':_0x439820!==!0x1,'formulaPresentation':_0x3f8669?this['_shapeFormulaService'][_0x3cb108(0x4ea)](_0x28b954):void 0x0,'animateFormulaPresentation':(_0x3f8669==null?void 0x0:_0x3f8669[_0x3cb108(0x2f7)])!==!0x1,'transformerConfig':_0x101a65});if(_0x3f8669){let _0x300655=this[_0x3cb108(0x550)](_0x4c1712,_0x34c871,_0x1c3805),_0x17ea03=this[_0x3cb108(0x377)][_0x3cb108(0x55f)](_0x300655)??new Set();_0x17ea03[_0x3cb108(0x3e9)](_0x5b51be),this['_formulaShapes'][_0x3cb108(0x2e2)](_0x300655,_0x17ea03);}_0x937133[_0x3cb108(0x34e)](_0x5b51be,_0x5e3080[_0x3cb108(0x52a)]),_0x19ae69&&_0x937133[_0x3cb108(0x233)](_0x5b51be),_0x42d801&&(0x0,_0x108bdb[_0x3cb108(0x202)])({'drawingId':_0x42d801,'unitId':_0x4c1712,'subUnitId':_0x34c871},_0x5b51be,_0x937133,this['_drawingManagerService']),_0x2ad03c!=null&&_0x5b51be['setPrstGeom'](_0x2ad03c),_0x2d5c5b!=null&&_0x5b51be[_0x3cb108(0x2f5)](_0x2d5c5b);let _0x45d809=this[_0x3cb108(0x56c)](_0x5b51be,_0x125edf[_0x3cb108(0x339)]());if(_0x45d809){var _0x58cf6d;_0x16cc20==null||(_0x58cf6d=_0x16cc20[_0x3cb108(0x384)])==null||_0x58cf6d[_0x3cb108(0x3e9)](_0x45d809);}_0x303c94[_0x3cb108(0x1d6)](_0x5b51be);}return _0x303c94;}['_formulaKey'](_0xafbda3,_0x55253f,_0x36a466){return _0xafbda3+'\x00'+_0x55253f+'\x00'+_0x36a466;}[_0x439e5d(0x42f)](_0xaa7a9f,_0x23af7b){const _0x2287cd=_0x439e5d;let _0x531ba7=this['_sheetsShapeService'][_0x2287cd(0x1df)](_0x23af7b['unitId'],_0x23af7b['subUnitId'],_0x23af7b['shapeId']),_0x22f4dd=_0x531ba7==null?void 0x0:_0x531ba7[_0x2287cd(0x339)]()[_0x2287cd(0x4d5)],_0x3d6ee6=this[_0x2287cd(0x550)](_0x23af7b[_0x2287cd(0x3a2)],_0x23af7b['subUnitId'],_0x23af7b[_0x2287cd(0x1cf)]);if(_0x22f4dd){this[_0x2287cd(0x443)][_0x2287cd(0x440)](_0x23af7b,_0x22f4dd);let _0x11dc14=this[_0x2287cd(0x377)][_0x2287cd(0x55f)](_0x3d6ee6)??new Set();_0x11dc14[_0x2287cd(0x3e9)](_0xaa7a9f),this[_0x2287cd(0x377)][_0x2287cd(0x2e2)](_0x3d6ee6,_0x11dc14);}else{var _0x3478e5;this[_0x2287cd(0x443)][_0x2287cd(0x455)](_0x23af7b),(_0x3478e5=this[_0x2287cd(0x377)]['get'](_0x3d6ee6))==null||_0x3478e5[_0x2287cd(0x218)](_0xaa7a9f);}_0xaa7a9f[_0x2287cd(0x416)](_0x22f4dd?this['_shapeFormulaService'][_0x2287cd(0x4ea)](_0x23af7b):void 0x0,(_0x22f4dd==null?void 0x0:_0x22f4dd[_0x2287cd(0x2f7)])!==!0x1);}[_0x439e5d(0x2b4)](_0xf69d0a){const _0x1fa33f=_0x439e5d;let _0x44300c=_0xf69d0a[_0x1fa33f(0x4ca)][_0x1fa33f(0x339)](),_0x6e0db5=_0x44300c[_0x1fa33f(0x46e)];!_0x6e0db5||_0x6e0db5[_0x1fa33f(0x5b3)]!==_0x42c76f[_0x1fa33f(0x327)][_0x1fa33f(0x1e0)]||!_0x6e0db5[_0x1fa33f(0x325)]?_0xf69d0a[_0x1fa33f(0x585)](void 0x0):this[_0x1fa33f(0x56c)](_0xf69d0a,_0x44300c);}[_0x439e5d(0x56c)](_0x2af370,_0x471f8d){const _0x2b9ff4=_0x439e5d;let _0x1a948a=_0x471f8d[_0x2b9ff4(0x46e)];if(!_0x1a948a||_0x1a948a[_0x2b9ff4(0x5b3)]!==_0x42c76f['ShapeFillEnum'][_0x2b9ff4(0x1e0)]||!_0x1a948a[_0x2b9ff4(0x325)])return;let _0x532b4b=_0x1a948a['fillImageSource'],_0x39ded1=_0x1a948a[_0x2b9ff4(0x3f5)]??_0x42c76f[_0x2b9ff4(0x446)][_0x2b9ff4(0x51c)],_0x2e21e9=this[_0x2b9ff4(0x27f)][_0x2b9ff4(0x3b9)](_0x532b4b,_0x39ded1);if(_0x2e21e9)_0x2af370[_0x2b9ff4(0x585)](_0x2e21e9);else return this['_loadAndSetImage'](_0x2af370,_0x532b4b,_0x39ded1);}async[_0x439e5d(0x450)](_0x529a96,_0x30a30d,_0x3f4fe5){const _0xb48ba4=_0x439e5d;let _0x59204f;try{if(_0x3f4fe5===_0x42c76f['ImageSourceTypeEnum'][_0xb48ba4(0x520)])_0x59204f=await this[_0xb48ba4(0x27f)][_0xb48ba4(0x33c)](_0x30a30d);else{if(_0x3f4fe5===_0x42c76f[_0xb48ba4(0x446)]['URL'])try{_0x59204f=await this[_0xb48ba4(0x536)][_0xb48ba4(0x33c)](_0x30a30d);}catch{_0x59204f=_0x30a30d;}else _0x59204f=_0x30a30d;}}catch(_0x3d83bf){console[_0xb48ba4(0x5a1)](_0xb48ba4(0x489),_0x3d83bf);return;}await new Promise(_0x256f7d=>{const _0x4faabf=_0xb48ba4;let _0x266149=new window[(_0x4faabf(0x411))]();_0x266149[_0x4faabf(0x3c2)]=()=>{const _0x263418=_0x4faabf;this['_imageIoService'][_0x263418(0x1ef)](_0x30a30d,_0x3f4fe5,_0x266149),_0x529a96['setFillImage'](_0x266149),_0x256f7d();},_0x266149[_0x4faabf(0x500)]=()=>{const _0x53c685=_0x4faabf;console[_0x53c685(0x5a1)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x30a30d),_0x256f7d();},_0x266149[_0x4faabf(0x3d1)]=_0x59204f;});}};_0x5e7905=_0x5b9725([_0x56348c(0x0,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x3,_0x4fcc67['IImageIoService']),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x430)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1959c2['ShapeFormulaService']))],_0x5e7905);let _0xcd5dc6=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x241add,_0x14e961,_0x5e785c,_0x4a2a22,_0x396ae2,_0x2c69bc){const _0x3bcaaf=_0x439e5d;super(),this[_0x3bcaaf(0x232)]=_0x241add,this[_0x3bcaaf(0x4f6)]=_0x14e961,this[_0x3bcaaf(0x35d)]=_0x5e785c,this[_0x3bcaaf(0x4b0)]=_0x4a2a22,this['_univerInstanceService']=_0x396ae2,this[_0x3bcaaf(0x30c)]=_0x2c69bc,_0x355f4a(this,_0x3bcaaf(0x52c),null),_0x355f4a(this,_0x3bcaaf(0x49a),null),_0x355f4a(this,_0x3bcaaf(0x289),null),_0x355f4a(this,'_activeShapeAdjustPointList',void 0x0),_0x355f4a(this,_0x3bcaaf(0x3a6),[]),_0x355f4a(this,_0x3bcaaf(0x582),0x0),_0x355f4a(this,'_baseShapeTop',0x0),_0x355f4a(this,_0x3bcaaf(0x2d1),0x0),_0x355f4a(this,_0x3bcaaf(0x59d),0x0),_0x355f4a(this,'_isStartAdjusting',!0x1),_0x355f4a(this,_0x3bcaaf(0x1d4),void 0x0),_0x355f4a(this,_0x3bcaaf(0x2db),void 0x0),_0x355f4a(this,'_adjHandlerPointerMove',void 0x0),_0x355f4a(this,_0x3bcaaf(0x35c),void 0x0),_0x355f4a(this,_0x3bcaaf(0x3cf),!0x1),this[_0x3bcaaf(0x595)](),this['_registerDrawingMoveHandler']();}[_0x439e5d(0x210)](_0x3b9817,_0x4eb2d7,_0x482009){const _0x5736b6=_0x439e5d;let _0x40fdbf=this[_0x5736b6(0x4f6)][_0x5736b6(0x1df)](_0x3b9817,_0x4eb2d7,_0x482009);if(_0x40fdbf)return _0x40fdbf[_0x5736b6(0x246)]();}[_0x439e5d(0x1c4)](){const _0x1eccf8=_0x439e5d;this[_0x1eccf8(0x2a7)]();}[_0x439e5d(0x227)](){const _0x540255=_0x439e5d;this[_0x540255(0x561)](!0x0);}['setShouldShowAdjust'](_0x36b6eb){const _0x7442c6=_0x439e5d;this[_0x7442c6(0x3cf)]=_0x36b6eb;}[_0x439e5d(0x26b)](_0x27871c,_0x428146,_0x26c8ed,_0x40335f){const _0x42e466=_0x439e5d;let _0x178d95=this[_0x42e466(0x4f6)][_0x42e466(0x1df)](_0x27871c,_0x428146,_0x26c8ed);if(_0x178d95)return _0x178d95[_0x42e466(0x504)](_0x40335f);}[_0x439e5d(0x4c8)](_0x2198f0=!0x1){const _0x4d31d6=_0x439e5d;if(this[_0x4d31d6(0x49a)]===null||this[_0x4d31d6(0x289)]===null||this[_0x4d31d6(0x52c)]===null)return;let _0x592cec=this[_0x4d31d6(0x35d)]['getRenderUnitById'](this[_0x4d31d6(0x49a)]);if(!_0x592cec||!_0x592cec[_0x4d31d6(0x54f)](_0x5b8007[_0x4d31d6(0x2e8)])[_0x4d31d6(0x473)]())return;let {scene:_0x47138a}=_0x592cec,_0xfa99ed={'unitId':this[_0x4d31d6(0x49a)],'subUnitId':this[_0x4d31d6(0x289)],'drawingId':this[_0x4d31d6(0x52c)]},_0x2b5104=this['_drawingManagerService'][_0x4d31d6(0x269)](_0xfa99ed),{transform:_0x5b1f0e}=_0x2b5104;if(!_0x5b1f0e||_0x2b5104[_0x4d31d6(0x31a)]!==_0x4fcc67[_0x4d31d6(0x204)]['DRAWING_SHAPE'])return;let {left:_0x2f1007,top:_0x260f48,width:_0x4dcf4b,height:_0x2d7cc2,flipX:_0x10de8f,flipY:_0x282239,angle:_0x122913=0x0}=_0x5b1f0e;if(_0x2f1007===void 0x0||_0x260f48===void 0x0)return;if(_0x2198f0){let _0x32dc3b=this[_0x4d31d6(0x4f6)][_0x4d31d6(0x1df)](this['_unitId'],this['_subUnitId'],this['_activeShapeId']);_0x32dc3b==null||_0x32dc3b[_0x4d31d6(0x580)]({'width':_0x4dcf4b??0x0,'height':_0x2d7cc2??0x0}),this['_activeShapeAdjustPointList']=_0x32dc3b==null?void 0x0:_0x32dc3b[_0x4d31d6(0x246)]();}let _0x9590c7=this[_0x4d31d6(0x592)];for(let _0x106610=0x0;_0x106610<_0x9590c7[_0x4d31d6(0x298)];_0x106610++){let _0x30fe33=_0x9590c7[_0x106610],_0x59b016=_0x30fe33['x'],_0x4ef43b=_0x30fe33['y'];if(_0x10de8f&&(_0x59b016=(_0x4dcf4b||0x0)-_0x59b016),_0x282239&&(_0x4ef43b=(_0x2d7cc2||0x0)-_0x4ef43b),_0x122913!==0x0){let _0x1e7ca9=(_0x4dcf4b||0x0)/0x2,_0x76f269=(_0x2d7cc2||0x0)/0x2,_0x37617b=_0x122913*Math['PI']/0xb4,_0x20d1e3=Math['cos'](_0x37617b),_0x28de23=Math[_0x4d31d6(0x326)](_0x37617b),_0xd924a4=_0x59b016-_0x1e7ca9,_0x42b41a=_0x4ef43b-_0x76f269;_0x59b016=_0x1e7ca9+(_0xd924a4*_0x20d1e3-_0x42b41a*_0x28de23),_0x4ef43b=_0x76f269+(_0xd924a4*_0x28de23+_0x42b41a*_0x20d1e3);}let _0x4cb84d={'x':_0x59b016,'y':_0x4ef43b,'adjName':_0x30fe33[_0x4d31d6(0x2f9)]};this['_addShapeAdjustControl'](_0x47138a,_0x4cb84d,_0x4cb84d[_0x4d31d6(0x2f9)],_0x2f1007,_0x260f48,this['_unitId'],this[_0x4d31d6(0x289)]);}}[_0x439e5d(0x561)](_0x57c6b9=!0x1){const _0x32f294=_0x439e5d;_0x57c6b9&&(this[_0x32f294(0x2a7)](),this['_createShapeAdjustControls'](_0x57c6b9));}[_0x439e5d(0x4ef)](_0x3b3327,_0x4bc461,_0x2c924c,_0x131b9c,_0x418a12,_0x5780c8,_0x5887d3){const _0x38b84f=_0x439e5d;if(!this[_0x38b84f(0x52c)])return;let _0x4e3e8f=_0x3b3327[_0x38b84f(0x2b6)](_0x38b84f(0x1ea)+this[_0x38b84f(0x52c)]+'-'+_0x2c924c);if(_0x4e3e8f){_0x4e3e8f[_0x38b84f(0x312)]({'left':_0x4bc461['x']+_0x131b9c-_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize'],'top':_0x4bc461['y']+_0x418a12-_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize']});return;}let _0x38d00b={'left':_0x4bc461['x']+_0x131b9c-_0x42c76f[_0x38b84f(0x1de)][_0x38b84f(0x24c)],'top':_0x4bc461['y']+_0x418a12-_0x42c76f[_0x38b84f(0x1de)][_0x38b84f(0x24c)],'adjName':_0x2c924c,'shapeId':this['_activeShapeId'],'unitId':_0x5780c8,'subUnitId':_0x5887d3,'width':_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize']+0x8,'height':_0x42c76f['ShapeDefaultConfig'][_0x38b84f(0x24c)]+0x8,'zIndex':_0x5e3080[_0x38b84f(0x52a)]+0x1,'evented':!0x0},_0x360830=new _0x309015(_0x38b84f(0x1ea)+this['_activeShapeId']+'-'+_0x2c924c,_0x38d00b);this[_0x38b84f(0x3a6)]['push'](_0x360830),this['_attachAdjustEvent'](_0x360830,_0x3b3327,_0x2c924c),_0x3b3327[_0x38b84f(0x34e)](_0x360830,_0x5e3080['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x439e5d(0x2a7)](){const _0x45a125=_0x439e5d;this['_shapes'][_0x45a125(0x298)]!==0x0&&(this[_0x45a125(0x3a6)][_0x45a125(0x386)](_0x38a572=>{const _0x1a3e96=_0x45a125;_0x38a572[_0x1a3e96(0x27e)]();}),this[_0x45a125(0x3a6)]=[]);}['_updateAdjustControlPositions'](){this['_createShapeAdjustControls']();}[_0x439e5d(0x4ed)](_0x47a137,_0x54771f){const _0x574161=_0x439e5d;var _0x12aa1b;let _0x3866ef={'x':0x0,'y':0x0};if(!_0x47a137||!_0x54771f)return _0x3866ef;let _0x11d1f6=this[_0x574161(0x35d)][_0x574161(0x40f)](_0x47a137);if(!_0x11d1f6||!_0x11d1f6['with'](_0x5b8007[_0x574161(0x2e8)])['getSkeleton'](_0x54771f))return _0x3866ef;let _0x517c51=_0x11d1f6[_0x574161(0x54f)](_0x5b8007[_0x574161(0x213)]),_0xfb0264=_0x517c51==null?void 0x0:_0x517c51[_0x574161(0x2c2)]();if(!_0xfb0264)return _0x3866ef;let _0x3f05bc=(_0x12aa1b=this[_0x574161(0x54b)][_0x574161(0x3ff)](_0x47a137))==null?void 0x0:_0x12aa1b[_0x574161(0x43a)](_0x54771f);if(!_0x3f05bc)return _0x3866ef;let _0x2b7f13=(0x0,_0x5b8007[_0x574161(0x330)])(_0xfb0264[_0x574161(0x467)],_0xfb0264[_0x574161(0x353)],_0x11d1f6[_0x574161(0x56f)],_0x3f05bc);return _0x2b7f13?{'x':_0x2b7f13[_0x574161(0x4d2)],'y':_0x2b7f13[_0x574161(0x46b)]}:_0x3866ef;}[_0x439e5d(0x3d9)](_0x2c0a45,_0xc99a4c){const _0x5d5bb4=_0x439e5d;var _0xbead95;let _0x3597c5=(_0xbead95=this[_0x5d5bb4(0x54b)][_0x5d5bb4(0x3ff)](_0x2c0a45))==null?void 0x0:_0xbead95['getSheetBySheetId'](_0xc99a4c);return(_0x3597c5==null?void 0x0:_0x3597c5[_0x5d5bb4(0x597)]())??0x1;}[_0x439e5d(0x55a)](_0x577250,_0x49b20a,_0x46eb87){const _0x4d9c97=_0x439e5d;this['disposeWithMe']((0x0,_0x4fcc67[_0x4d9c97(0x4f3)])(_0x577250['onPointerDown$'][_0x4d9c97(0x320)]((_0x12e4b7,_0x4f3d2a)=>{const _0x467578=_0x4d9c97;var _0x333f4c,_0x1e692f,_0x2c82e9,_0x2ae711;let _0x269393=_0x577250[_0x467578(0x5af)]();this[_0x467578(0x1d4)]=this['_getShapeAdjustInfosById'](_0x269393[_0x467578(0x3a2)],_0x269393[_0x467578(0x555)],_0x269393['drawingId'],_0x46eb87),this[_0x467578(0x2db)]=this[_0x467578(0x4f6)]['getShapeModel'](_0x269393[_0x467578(0x3a2)],_0x269393[_0x467578(0x555)],_0x269393[_0x467578(0x457)]);let _0x4181ce=this[_0x467578(0x232)][_0x467578(0x269)]({'unitId':this['_unitId'],'subUnitId':this[_0x467578(0x289)],'drawingId':this[_0x467578(0x52c)]}),{transform:_0x45a63a}=_0x4181ce;if(_0x45a63a){let {left:_0x3be534,top:_0x2be654,width:_0x56787c,height:_0xe01a4a}=_0x45a63a;this[_0x467578(0x582)]=_0x3be534||0x0,this[_0x467578(0x2d9)]=_0x2be654||0x0,this[_0x467578(0x2d1)]=_0x56787c||0x0,this[_0x467578(0x59d)]=_0xe01a4a||0x0;}let _0x1624b6=!!((_0x333f4c=_0x4181ce['transform'])!=null&&_0x333f4c[_0x467578(0x365)]),_0x1cca58=!!((_0x1e692f=_0x4181ce['transform'])!=null&&_0x1e692f[_0x467578(0x31f)]),_0x4597ad=((_0x2c82e9=_0x4181ce[_0x467578(0x3a8)])==null?void 0x0:_0x2c82e9[_0x467578(0x2cd)])||0x0;this[_0x467578(0x235)]=!0x0,_0x49b20a[_0x467578(0x1d0)]();let _0x424ac8={...((_0x2ae711=this[_0x467578(0x1d4)])==null?void 0x0:_0x2ae711[_0x467578(0x1cc)])??{}};this['_adjHandlerPointerMove']=_0x49b20a[_0x467578(0x4be)]['subscribeEvent']((_0x3fbb7f,_0x4c3cc5)=>{const _0x51f486=_0x467578;if(!this['_isStartAdjusting'])return;let {offsetX:_0x42413e,offsetY:_0x3e8ade}=_0x3fbb7f,_0x538a19=this[_0x51f486(0x1d4)];if(this['_activeShapeModel']&&_0x538a19){_0x49b20a[_0x51f486(0x1d0)](),_0x49b20a[_0x51f486(0x2a4)](_0x5e3080[_0x51f486(0x55e)][_0x51f486(0x1b1)]);let _0x25b12c={'left':0x0,'top':0x0,'width':this[_0x51f486(0x2d1)],'height':this[_0x51f486(0x59d)]},_0x46f3fc=this[_0x51f486(0x4ed)](this[_0x51f486(0x49a)],this[_0x51f486(0x289)]),_0x392090=this['_getZoomRatio'](this[_0x51f486(0x49a)],this['_subUnitId']),_0x17492b=_0x42413e/_0x392090+_0x46f3fc['x']-this[_0x51f486(0x582)],_0x3325af=_0x3e8ade/_0x392090+_0x46f3fc['y']-this[_0x51f486(0x2d9)];if(_0x4597ad!==0x0){let _0x38af75=this[_0x51f486(0x2d1)]/0x2,_0x154b37=this[_0x51f486(0x59d)]/0x2,_0x473fb3=_0x4597ad*Math['PI']/0xb4,_0x2ebe08=Math[_0x51f486(0x4e9)](_0x473fb3),_0x119594=Math[_0x51f486(0x326)](_0x473fb3),_0x2270d9=_0x17492b-_0x38af75,_0x3aa187=_0x3325af-_0x154b37;_0x17492b=_0x38af75+(_0x2270d9*_0x2ebe08+_0x3aa187*_0x119594),_0x3325af=_0x154b37+(-_0x2270d9*_0x119594+_0x3aa187*_0x2ebe08);}_0x1624b6&&(_0x17492b=this[_0x51f486(0x2d1)]-_0x17492b),_0x1cca58&&(_0x3325af=this[_0x51f486(0x59d)]-_0x3325af);let _0x5b14b8={'x':_0x17492b,'y':_0x3325af},_0x262784=this[_0x51f486(0x2db)][_0x51f486(0x23a)](_0x25b12c,_0x5b14b8,_0x538a19,_0x1624b6,_0x1cca58);if(Object[_0x51f486(0x4f5)](_0x262784)[_0x51f486(0x298)]===0x0)return;for(let [_0x4360bc,_0xe9039e]of Object[_0x51f486(0x51f)](_0x262784))this[_0x51f486(0x2db)][_0x51f486(0x445)](_0x4360bc,_0xe9039e);this[_0x51f486(0x2db)][_0x51f486(0x580)]({'width':this[_0x51f486(0x2d1)],'height':this[_0x51f486(0x59d)]});let _0x2dcb3c=this[_0x51f486(0x232)]['getDrawingByParam']({'unitId':_0x269393[_0x51f486(0x3a2)],'subUnitId':_0x269393[_0x51f486(0x555)],'drawingId':_0x269393['drawingId']});_0x2dcb3c&&(this['_sheetDrawingShapeRenderController'][_0x51f486(0x3a7)](_0x2dcb3c,_0x49b20a),this['_activeShapeAdjustPointList']=this[_0x51f486(0x210)](_0x269393[_0x51f486(0x3a2)],_0x269393['subUnitId'],_0x269393[_0x51f486(0x457)]),this['_updateAdjustControlPositions']());}_0x4c3cc5[_0x51f486(0x514)]();}),this[_0x467578(0x35c)]=_0x49b20a[_0x467578(0x454)][_0x467578(0x320)]((_0xc1e610,_0x57b24b)=>{const _0x12195f=_0x467578;this[_0x12195f(0x429)]['unsubscribe'](),this['_adjHandlerPointerUp'][_0x12195f(0x2e3)](),_0x49b20a[_0x12195f(0x398)]();let _0x55eaf9=this[_0x12195f(0x1d4)];if(_0x55eaf9){let _0x5342f7=_0x269393[_0x12195f(0x3a2)],_0xa5f297=_0x269393[_0x12195f(0x555)],_0x221bd2=_0x269393['drawingId'],_0x22341d={};for(let _0x4cd23c of Object[_0x12195f(0x4f5)](_0x55eaf9[_0x12195f(0x1cc)])){var _0x55370c;let _0x50c0b3=(_0x55370c=this['_activeShapeModel'])==null?void 0x0:_0x55370c[_0x12195f(0x48e)](_0x4cd23c);_0x50c0b3!==void 0x0&&(_0x22341d[_0x4cd23c]=_0x50c0b3);}Object['keys'](_0x22341d)['length']>0x0&&_0x15d4c3(this[_0x12195f(0x30c)],_0x5342f7,_0xa5f297,_0x221bd2,{'oldShapeData':{'adjustValues':_0x424ac8}},{'adjustValues':_0x22341d});}this[_0x12195f(0x1d4)]=void 0x0,this['_activeShapeModel']=void 0x0,this['_isStartAdjusting']=!0x1,_0x57b24b[_0x12195f(0x514)](),_0x49b20a[_0x12195f(0x4a7)]();}),_0x4f3d2a[_0x467578(0x514)]();})));}[_0x439e5d(0x1fa)](){const _0x3b4840=_0x439e5d;let _0x51e13c=this[_0x3b4840(0x54b)][_0x3b4840(0x2af)](_0x4fcc67[_0x3b4840(0x578)]['UNIVER_SHEET']);this['disposeWithMe'](_0x51e13c[_0x3b4840(0x48b)]((0x0,_0x5597c9['switchMap'])(_0x8fc339=>_0x8fc339?_0x8fc339[_0x3b4840(0x399)][_0x3b4840(0x48b)]((0x0,_0x5597c9[_0x3b4840(0x33b)])(_0x3c9ce4=>{const _0x30c4b3=_0x3b4840;if(!_0x3c9ce4)return _0x5597c9[_0x30c4b3(0x528)];let _0x3b53f2=_0x8fc339['getUnitId'](),_0x9cf04a=this['_renderManagerService'][_0x30c4b3(0x40f)](_0x3b53f2),_0x2cd548=_0x9cf04a==null?void 0x0:_0x9cf04a[_0x30c4b3(0x56f)];return _0x2cd548?(0x0,_0x5597c9['of'])(_0x2cd548):_0x5597c9[_0x30c4b3(0x528)];})):_0x5597c9['EMPTY']))['subscribe'](_0x99c87=>{const _0x32e7dd=_0x3b4840;let _0x2e725a=_0x99c87[_0x32e7dd(0x4e6)]();this[_0x32e7dd(0x575)](_0x99c87['onPointerMove$'][_0x32e7dd(0x320)](()=>{const _0x5928b4=_0x32e7dd;this[_0x5928b4(0x3cf)];})),this[_0x32e7dd(0x575)](_0x2e725a['changeStart$'][_0x32e7dd(0x523)](_0x5e13b1=>{const _0x504b12=_0x32e7dd;let {objects:_0x432490}=_0x5e13b1;this[_0x504b12(0x4c8)](),_0x432490!==null&&_0x432490[_0x504b12(0x535)]===0x1&&_0x432490[_0x504b12(0x413)]()[_0x504b12(0x4e3)]()[_0x504b12(0x3f0)]instanceof _0x11dd97&&this[_0x504b12(0x372)](!0x0);})),this['disposeWithMe'](_0x2e725a[_0x32e7dd(0x459)][_0x32e7dd(0x523)](()=>{const _0x3916c4=_0x32e7dd;this[_0x3916c4(0x3cf)]&&this[_0x3916c4(0x2a7)]();})),this['disposeWithMe'](_0x99c87[_0x32e7dd(0x454)]['subscribeEvent'](()=>{const _0x4a3879=_0x32e7dd;this[_0x4a3879(0x3cf)]&&(this[_0x4a3879(0x372)](!0x1),this['_createShapeAdjustControls']());})),this[_0x32e7dd(0x575)](_0x2e725a[_0x32e7dd(0x395)][_0x32e7dd(0x523)](()=>{const _0x5cd71c=_0x32e7dd;this[_0x5cd71c(0x49a)]&&this['_subUnitId']&&this[_0x5cd71c(0x52c)]&&this['_drawingManagerService'][_0x5cd71c(0x269)]({'unitId':this[_0x5cd71c(0x49a)],'subUnitId':this[_0x5cd71c(0x289)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](this[_0x5cd71c(0x49a)],this[_0x5cd71c(0x289)],this['_activeShapeId']),this[_0x5cd71c(0x511)]());}));}));}[_0x439e5d(0x595)](){const _0x4e1c2e=_0x439e5d;this[_0x4e1c2e(0x575)](this['_commandService'][_0x4e1c2e(0x4a4)](_0x3edffe=>{const _0x1f8e00=_0x4e1c2e;if(_0x3edffe['id']!==_0x43ee3e[_0x1f8e00(0x403)]['id'])return;let {unitId:_0x5d43eb,subUnitId:_0x49c0af,shapeId:_0x260b1b}=_0x3edffe[_0x1f8e00(0x22e)];_0x5d43eb===this[_0x1f8e00(0x49a)]&&_0x49c0af===this['_subUnitId']&&_0x260b1b===this[_0x1f8e00(0x52c)]&&this['refreshAdjustControls']();})),this[_0x4e1c2e(0x575)](this[_0x4e1c2e(0x232)][_0x4e1c2e(0x328)][_0x4e1c2e(0x523)](_0x48f09f=>{const _0xa9efd8=_0x4e1c2e;if(_0x48f09f[_0xa9efd8(0x298)]===0x1){let _0x539a81=_0x48f09f[0x0];if(_0x539a81[_0xa9efd8(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0xa9efd8(0x4b8)]&&this[_0xa9efd8(0x54b)][_0xa9efd8(0x4a8)](_0x539a81[_0xa9efd8(0x3a2)])===_0x4fcc67[_0xa9efd8(0x578)][_0xa9efd8(0x28f)]){this['_activeShapeId']=_0x539a81[_0xa9efd8(0x457)];let {unitId:_0x4cb90c,subUnitId:_0x5e59d7}=_0x539a81;this[_0xa9efd8(0x592)]=this['_getShapeAdjustPointListById'](_0x4cb90c,_0x5e59d7,this[_0xa9efd8(0x52c)]),this[_0xa9efd8(0x49a)]=_0x4cb90c,this[_0xa9efd8(0x289)]=_0x5e59d7,this['_clearShapeAdjustControls'](),this[_0xa9efd8(0x4c8)]();return;}}this[_0xa9efd8(0x52c)]=null,this[_0xa9efd8(0x592)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0xa9efd8(0x2a7)]();})),this[_0x4e1c2e(0x575)](this['_drawingManagerService'][_0x4e1c2e(0x342)][_0x4e1c2e(0x523)](_0x4a45f5=>{const _0xad26a5=_0x4e1c2e;if(_0x4a45f5[_0xad26a5(0x298)]===0x1){var _0xf82d71;let _0x2fc1ed=_0x4a45f5[0x0];((_0xf82d71=this['_drawingManagerService'][_0xad26a5(0x269)](_0x2fc1ed))==null?void 0x0:_0xf82d71[_0xad26a5(0x31a)])===_0x4fcc67[_0xad26a5(0x204)][_0xad26a5(0x4b8)]&&this[_0xad26a5(0x561)](!0x0);}})),this['disposeWithMe'](this['_drawingManagerService'][_0x4e1c2e(0x228)][_0x4e1c2e(0x523)](_0x5ec81d=>{const _0x51db39=_0x4e1c2e;for(let _0x25d8ab of _0x5ec81d)this['_activeShapeId']===_0x25d8ab[_0x51db39(0x457)]&&(this['_activeShapeId']=null,this[_0x51db39(0x592)]=void 0x0,this[_0x51db39(0x49a)]=null,this[_0x51db39(0x289)]=null,this['_clearShapeAdjustControls']());}));}};_0xcd5dc6=_0x5b9725([_0x56348c(0x0,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x3,(0x0,_0x4fcc67['Inject'])(_0x5e7905)),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x286)])],_0xcd5dc6);let _0x4d0210={'id':_0x439e5d(0x3c5),'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler':(_0x1df109,_0x5b9fbb)=>{const _0x1bb22f=_0x439e5d;let _0x50bddc=_0x1df109[_0x1bb22f(0x55f)](_0x89eb48['IDrawingManagerService']),_0x2c28b2=_0x1df109[_0x1bb22f(0x55f)](_0x5e3080[_0x1bb22f(0x265)]),_0x3a883a=_0x1df109[_0x1bb22f(0x55f)](_0xcd5dc6);if(_0x5b9fbb==null)return!0x0;if(_0x5b9fbb[_0x1bb22f(0x298)]>0x0){var _0xb7fa54;let _0x3ff5db=(_0xb7fa54=_0x2c28b2[_0x1bb22f(0x40f)](_0x5b9fbb[0x0][_0x1bb22f(0x3a2)]))==null?void 0x0:_0xb7fa54[_0x1bb22f(0x56f)];if(_0x3ff5db){let {unitId:_0x4838ee,subUnitId:_0x456b8c,drawingId:_0x348835}=_0x5b9fbb[0x0],_0x272246=(0x0,_0x89eb48['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4838ee,'subUnitId':_0x456b8c,'drawingId':_0x348835},void 0x0),_0x167768=_0x3ff5db['getObjectIncludeInGroup'](_0x272246);if(_0x167768){var _0x1f44d5;(_0x1f44d5=_0x2c28b2['getRenderUnitById'](_0x5b9fbb[0x0]['unitId']))==null||(_0x1f44d5=_0x1f44d5[_0x1bb22f(0x56f)][_0x1bb22f(0x4f7)]())==null||_0x1f44d5['activeAnObject'](_0x167768);}}_0x50bddc[_0x1bb22f(0x45f)](_0x5b9fbb),_0x3a883a[_0x1bb22f(0x372)](!0x1);}return!0x0;}},_0x595989={'type':_0x4fcc67['CommandType'][_0x439e5d(0x4bb)],'id':_0x439e5d(0x512),'handler':async(_0x37fe51,_0x4ad563)=>{const _0x4bbf23=_0x439e5d;let _0x1920fc=(0x0,_0x33d9c6[_0x4bbf23(0x2b8)])(_0x37fe51[_0x4bbf23(0x55f)](_0x4fcc67['IUniverInstanceService']));if(!_0x1920fc)return!0x1;let _0x32b567=_0x37fe51[_0x4bbf23(0x55f)](_0x33d9c6[_0x4bbf23(0x586)])[_0x4bbf23(0x573)]();if(!_0x32b567)return!0x1;let _0x531bf9=_0x37fe51[_0x4bbf23(0x55f)](_0x4fcc67[_0x4bbf23(0x286)]),{unitId:_0x46262d,subUnitId:_0x533993}=_0x1920fc,{value:_0x56b0e6,enhanceParams:_0x178d7e}=_0x4ad563,{range:_0x5e3c22}=_0x32b567,_0x4a9ebd={'unitId':_0x46262d,'subUnitId':_0x533993,'shapeType':_0x56b0e6,'range':_0x5e3c22,'shapeId':(0x0,_0x4fcc67[_0x4bbf23(0x319)])()};if(_0x178d7e){let _0x88222=(0x0,_0x42c76f[_0x4bbf23(0x2a1)])(_0x56b0e6),_0x3475c9=_0x56b0e6===_0x42c76f['ShapeTypeEnum']['Rect'];_0x88222&&(_0x178d7e[_0x4bbf23(0x1b7)]||_0x178d7e[_0x4bbf23(0x491)])&&(_0x4a9ebd[_0x4bbf23(0x331)]={'ln':{'startArrow':_0x178d7e[_0x4bbf23(0x1b7)]?{'type':_0x42c76f[_0x4bbf23(0x1b5)]['Arrow'],'size':_0x42c76f[_0x4bbf23(0x2e7)][_0x4bbf23(0x539)]}:void 0x0,'endArrow':_0x178d7e[_0x4bbf23(0x491)]?{'type':_0x42c76f[_0x4bbf23(0x1b5)][_0x4bbf23(0x428)],'size':_0x42c76f[_0x4bbf23(0x2e7)][_0x4bbf23(0x527)]}:void 0x0}}),_0x3475c9&&(_0x178d7e['horizontal']||_0x178d7e[_0x4bbf23(0x26c)])&&(_0x4a9ebd[_0x4bbf23(0x331)]=(0x0,_0x1959c2['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x42c76f['ShapeFillEnum'][_0x4bbf23(0x53b)],'color':_0x4bbf23(0x1f1)},'isHorizontal':!!_0x178d7e['horizontal'],'stroke':{'lineStrokeType':_0x42c76f[_0x4bbf23(0x26d)]['SolidLine'],'width':0x1,'color':_0x4bbf23(0x451)}}));}let _0x3b2cae=_0x531bf9[_0x4bbf23(0x456)](_0x43ee3e[_0x4bbf23(0x3b1)]['id'],_0x4a9ebd);return setTimeout(()=>{const _0x679517=_0x4bbf23;_0x531bf9['executeCommand'](_0x4d0210['id'],[{'unitId':_0x46262d,'subUnitId':_0x533993,'drawingId':_0x4a9ebd[_0x679517(0x1cf)]}]);},0xc8),_0x3b2cae;}},_0x3a3b9a=_0x439e5d(0x2c3),_0x473a2b='sheet.shape.object-list.panel',_0x48c20d=_0x439e5d(0x435),_0x54ca59=_0x439e5d(0x546),_0x2de965=(0x0,_0x4fcc67[_0x439e5d(0x230)])(_0x439e5d(0x510)),_0x1c0b50='sheet.shape.text.float-menu',_0x258cca={'id':_0x439e5d(0x59e),'type':_0x4fcc67[_0x439e5d(0x2f6)]['COMMAND'],'handler':(_0x52d08b,_0x1386c0)=>{const _0x5b1d30=_0x439e5d;let _0x3ceebc=_0x52d08b[_0x5b1d30(0x55f)](_0x3412e6['ISidebarService']),_0x54426f=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67['LocaleService']),_0x2e5739=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67[_0x5b1d30(0x3e3)]),_0x56bbbd=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67[_0x5b1d30(0x286)]);return(0x0,_0x33d9c6[_0x5b1d30(0x2b8)])(_0x2e5739)?(_0x1386c0==null?void 0x0:_0x1386c0[_0x5b1d30(0x3f0)])===_0x5b1d30(0x345)?(_0x3ceebc['close'](_0x473a2b),!0x0):(_0x3ceebc[_0x5b1d30(0x2e6)]({'id':_0x473a2b,'header':{'title':_0x54426f['t'](_0x5b1d30(0x421))},'children':{'label':_0x473a2b},'onClose':()=>{const _0x162fe8=_0x5b1d30;_0x56bbbd[_0x162fe8(0x456)](_0x89eb48[_0x162fe8(0x4bc)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x5398f0={'type':_0x4fcc67['CommandType'][_0x439e5d(0x1c7)],'id':_0x439e5d(0x276),'handler'(){return!0x0;}};function _0x1ac8fb(_0x7826b7){const _0x52d780=_0x439e5d;let _0x3d3013=_0x7826b7['get'](_0x89eb48[_0x52d780(0x211)])['getFocusDrawings'](),_0x6252b2=_0x3d3013['length']===0x1?_0x3d3013[0x0]:null;if(!_0x6252b2||_0x6252b2[_0x52d780(0x31a)]!==_0x4fcc67[_0x52d780(0x204)][_0x52d780(0x4b8)])return null;let _0x4bf4e4=_0x7826b7[_0x52d780(0x55f)](_0x43ee3e['SheetsShapeService']),_0x175d89=_0x4bf4e4[_0x52d780(0x352)](_0x6252b2['unitId'],_0x6252b2['subUnitId'],_0x6252b2[_0x52d780(0x457)]),_0x5cf57d=_0x4bf4e4[_0x52d780(0x343)](_0x6252b2['unitId'],_0x6252b2[_0x52d780(0x555)],_0x6252b2[_0x52d780(0x457)]);return _0x175d89===void 0x0||!_0x5cf57d?null:{'drawing':_0x6252b2,'shapeData':_0x5cf57d,'shapeType':_0x175d89};}let _0x577c0b={'id':_0x439e5d(0x45a),'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler':(_0x45c72b,_0xdb3640)=>{const _0x199dc2=_0x439e5d;let _0x22ff5f=_0x1ac8fb(_0x45c72b),_0x1fe77d=(0x0,_0x1959c2[_0x199dc2(0x483)])((_0xdb3640==null?void 0x0:_0xdb3640[_0x199dc2(0x599)])??(_0xdb3640==null?void 0x0:_0xdb3640['value'])??'');if(!_0x22ff5f||!_0x1fe77d||_0x1fe77d[_0x199dc2(0x46d)]!==(0x0,_0x1959c2['getShapeQuickStyleType'])(_0x22ff5f['shapeData']))return!0x1;let _0x3519fa=(0x0,_0x1959c2[_0x199dc2(0x502)])(_0x22ff5f[_0x199dc2(0x331)],_0x1fe77d);if(!_0x3519fa)return!0x1;let {drawing:_0x2b1ebb}=_0x22ff5f;return _0x45c72b[_0x199dc2(0x55f)](_0x4fcc67[_0x199dc2(0x286)])[_0x199dc2(0x4b3)](_0x4b1d28['id'],{'unitId':_0x2b1ebb[_0x199dc2(0x3a2)],'subUnitId':_0x2b1ebb[_0x199dc2(0x555)],'shapeId':_0x2b1ebb['drawingId'],'shapeData':_0x3519fa,'oldShapeJSON':{'oldShapeData':_0x22ff5f[_0x199dc2(0x331)]}});}},_0x55c4b4={'id':'sheet.operation.update-shape-type','type':_0x4fcc67['CommandType'][_0x439e5d(0x1c7)],'handler':(_0x4e523c,_0x2c2f5c)=>{const _0xa490ae=_0x439e5d;let _0x5aa04a=_0x1ac8fb(_0x4e523c),_0x41e571=(_0x2c2f5c==null?void 0x0:_0x2c2f5c['shapeType'])??(_0x2c2f5c==null?void 0x0:_0x2c2f5c[_0xa490ae(0x3f0)]);if(!_0x5aa04a||!_0x41e571||(0x0,_0x42c76f[_0xa490ae(0x2a1)])(_0x5aa04a[_0xa490ae(0x53a)])||(0x0,_0x42c76f[_0xa490ae(0x2a1)])(_0x41e571))return!0x1;let _0x453137=(0x0,_0x1959c2[_0xa490ae(0x225)])(_0x5aa04a[_0xa490ae(0x331)],_0x41e571);if(!_0x453137)return!0x1;let {drawing:_0x28134e}=_0x5aa04a;return _0x4e523c[_0xa490ae(0x55f)](_0x4fcc67['ICommandService'])[_0xa490ae(0x4b3)](_0x4b1d28['id'],{'unitId':_0x28134e[_0xa490ae(0x3a2)],'subUnitId':_0x28134e[_0xa490ae(0x555)],'shapeId':_0x28134e['drawingId'],'shapeType':_0x41e571,'shapeData':_0x453137,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x5aa04a[_0xa490ae(0x53a)],'oldShapeData':_0x5aa04a[_0xa490ae(0x331)]}});}},_0x2a68d5=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x160e0d,_0x1f8d75){const _0x25c73d=_0x439e5d;super(),this[_0x25c73d(0x3c6)]=_0x160e0d,this[_0x25c73d(0x232)]=_0x1f8d75,this[_0x25c73d(0x222)](),this['_clipService'][_0x25c73d(0x323)](!0x0),this[_0x25c73d(0x575)]({'dispose':()=>this[_0x25c73d(0x3c6)][_0x25c73d(0x323)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x4d8338=_0x439e5d;let _0x1b15d5=this[_0x4d8338(0x3c6)],_0x4176ea=new Map(),_0x269ed4=_0x1b15d5[_0x4d8338(0x2d7)]((_0x242960,_0x2777d7,_0x1b2235,_0x10ae65,_0x22314c)=>{const _0x1096a1=_0x4d8338;let _0x4c2059=_0x2777d7;if(_0x4c2059===_0x42c76f[_0x1096a1(0x50a)][_0x1096a1(0x3d7)]||_0x2777d7==='custom')return!0x1;try{let _0x590bc2=_0x4176ea[_0x1096a1(0x55f)](_0x2777d7);return _0x590bc2||(_0x590bc2=new _0x42c76f[(_0x1096a1(0x503))](_0x4c2059,_0x1096a1(0x229)+_0x2777d7),_0x4176ea[_0x1096a1(0x2e2)](_0x2777d7,_0x590bc2)),_0x590bc2[_0x1096a1(0x347)](),_0x22314c&&Object[_0x1096a1(0x4f5)](_0x22314c)[_0x1096a1(0x298)]>0x0&&_0x590bc2['setShapeData']({'adjustValues':_0x22314c},!0x0),_0x590bc2[_0x1096a1(0x580)]({'width':_0x1b2235,'height':_0x10ae65}),_0x590bc2[_0x1096a1(0x41b)](_0x242960,{'left':0x0,'top':0x0,'width':_0x1b2235,'height':_0x10ae65});}catch{return!0x1;}});this[_0x4d8338(0x575)](_0x269ed4),this['disposeWithMe']({'dispose':()=>_0x4176ea[_0x4d8338(0x3ee)]()});}[_0x439e5d(0x423)](_0x2c260d,_0x3bba88,_0x57fcea,_0x341a20,_0x59864d){const _0x50a0e9=_0x439e5d;let _0x152c9a=this[_0x50a0e9(0x232)][_0x50a0e9(0x537)](_0x2c260d,_0x3bba88);if(!_0x152c9a[_0x57fcea])return;let _0x54d7be={..._0x152c9a[_0x57fcea],'prstGeom':_0x341a20,'adjustValues':_0x59864d};this[_0x50a0e9(0x232)][_0x50a0e9(0x2eb)]([_0x54d7be]);}};_0x2a68d5=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x108bdb[_0x439e5d(0x4fa)])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x89eb48[_0x439e5d(0x211)]))],_0x2a68d5);let _0x1b11f8=_0x439e5d(0x559),_0x4a3dfe=_0x439e5d(0x258);function _0x1dd736({onShapeClick:_0x5d78e0,excludeGroups:_0x224f73}){const _0x3d6b18=_0x439e5d;return(0x0,_0x58bcbb[_0x3d6b18(0x58f)])(_0x1a617a['ShapePickerPanel'],{'excludeGroups':_0x224f73,'onShapeClick':_0x5d78e0,'scrollContainer':_0x3d6b18(0x572)});}function _0x382226(){const _0x7b8f3e=_0x439e5d;let _0x1ffca1=(0x0,_0x3412e6[_0x7b8f3e(0x4a1)])(_0x89eb48[_0x7b8f3e(0x211)]),_0x45bdb9=(0x0,_0x3412e6[_0x7b8f3e(0x4a1)])(_0x2a68d5);return(0x0,_0x58bcbb[_0x7b8f3e(0x58f)])(_0x1a617a[_0x7b8f3e(0x223)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x1a617a[_0x7b8f3e(0x23d)][_0x7b8f3e(0x3f3)]],'onShapeClick':_0x5552af=>{const _0xc647ad=_0x7b8f3e;let _0x317ed0=_0x1ffca1['getFocusDrawings']()[_0xc647ad(0x2b5)](_0x475617=>_0x475617[_0xc647ad(0x31a)]===_0x4fcc67['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x317ed0)return;let {unitId:_0x346a9e,subUnitId:_0x1c4b26,drawingId:_0x4e465f}=_0x317ed0;_0x45bdb9[_0xc647ad(0x423)](_0x346a9e,_0x1c4b26,_0x4e465f,_0x5552af[_0xc647ad(0x46d)]);}});}function _0x571429(){const _0x597d76=_0x439e5d;let _0x22ea20=(0x0,_0x3412e6['useDependency'])(_0x89eb48['IDrawingManagerService']),_0x360e56=(0x0,_0x3412e6[_0x597d76(0x4a1)])(_0x2a68d5);return(0x0,_0x58bcbb['jsx'])(_0x1a617a[_0x597d76(0x223)],{'buttonLabel':_0x597d76(0x553),'excludeGroups':[_0x1a617a[_0x597d76(0x23d)][_0x597d76(0x3f3)]],'DropdownComponent':_0x44add0['MobileDropdown'],'onShapeClick':_0x8fa0c5=>{const _0x47d785=_0x597d76;let _0x3feb8e=_0x22ea20[_0x47d785(0x52f)]()[_0x47d785(0x2b5)](_0x2b3a66=>_0x2b3a66[_0x47d785(0x31a)]===_0x4fcc67['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x3feb8e)return;let {unitId:_0x4e6f2b,subUnitId:_0x5b7154,drawingId:_0x5d8354}=_0x3feb8e;_0x360e56['clipByShape'](_0x4e6f2b,_0x5b7154,_0x5d8354,_0x8fa0c5['type']);}});}function _0x233a38(){const _0x4a09c7=_0x439e5d;let _0xb96624=(0x0,_0x3412e6[_0x4a09c7(0x4a1)])(_0x3412e6[_0x4a09c7(0x3fb)]),_0x197aca=(0x0,_0x3412e6[_0x4a09c7(0x4a1)])(_0x89eb48[_0x4a09c7(0x211)]),_0x2a8cd1=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x4a09c7(0x3e3)]),_0x574d73=_0x197aca[_0x4a09c7(0x52f)]()[0x0],_0x46c066=_0x574d73?_0x2a8cd1[_0x4a09c7(0x4a8)](_0x574d73[_0x4a09c7(0x3a2)]):void 0x0,_0x587ab0=_0x46c066===_0x4fcc67[_0x4a09c7(0x578)][_0x4a09c7(0x3bb)]?_0x4a09c7(0x3f7):_0x46c066===_0x4fcc67['UniverInstanceType']['UNIVER_SHEET']?_0x4a3dfe:void 0x0,_0x426999=_0x587ab0?_0xb96624['get'](_0x587ab0):void 0x0;return _0x426999?(0x0,_0x58bcbb['jsx'])(_0x426999,{}):null;}function _0x459ba5(){const _0x30adf3=_0x439e5d;let _0x3b05b7=(0x0,_0x3412e6['useDependency'])(_0x4fcc67['ICommandService']);return(0x0,_0x58bcbb[_0x30adf3(0x58f)])(_0x1dd736,{'onShapeClick':_0x515d7b=>{const _0x576b63=_0x30adf3;_0x3b05b7[_0x576b63(0x4b3)](_0x595989['id'],{'value':_0x515d7b['type'],'enhanceParams':{'endArrow':_0x515d7b[_0x576b63(0x491)],'startArrow':_0x515d7b['startArrow'],'horizontal':_0x515d7b['horizontal'],'vertical':_0x515d7b[_0x576b63(0x26c)]}});}});}function _0x10ef89(){const _0x3fdafe=_0x439e5d;return(0x0,_0x58bcbb[_0x3fdafe(0x58f)])(_0x459ba5,{});}function _0x432394(_0x43eb39){const _0x426108=_0x439e5d;let _0x382618=_0x43eb39[_0x426108(0x55f)](_0x4fcc67['IUniverInstanceService']);return{'id':_0x595989['id'],'type':_0x3412e6[_0x426108(0x58d)]['SELECTOR'],'selections':[{'label':{'name':_0x1b11f8,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x595989['id']}}}],'icon':_0x426108(0x42c),'tooltip':_0x426108(0x51e),'activated$':(0x0,_0x5b8007['deriveStateFromActiveSheet$'])(_0x382618,!0x1,()=>new _0x5597c9[(_0x426108(0x203))](_0x1fea80=>{const _0x50cfbf=_0x426108;_0x1fea80[_0x50cfbf(0x4e3)](!0x1);})),'hidden$':(0x0,_0x3412e6[_0x426108(0x25a)])(_0x43eb39,_0x4fcc67[_0x426108(0x578)][_0x426108(0x28f)]),'disabled$':(0x0,_0x5b8007[_0x426108(0x571)])(_0x43eb39)};}function _0x3a9e45(_0x5ac276){const _0x26da4d=_0x439e5d;let _0x533942=_0x5ac276[_0x26da4d(0x55f)](_0x3412e6[_0x26da4d(0x357)]);return{'id':_0x258cca['id'],'type':_0x3412e6[_0x26da4d(0x58d)]['BUTTON'],'icon':_0x26da4d(0x557),'title':_0x26da4d(0x4e2),'tooltip':_0x26da4d(0x4e2),'activated$':(0x0,_0x5597c9[_0x26da4d(0x244)])(()=>_0x533942[_0x26da4d(0x401)]['pipe']((0x0,_0x5597c9['startWith'])(_0x533942['options']),(0x0,_0x5597c9[_0x26da4d(0x1ff)])(_0xa93c6c=>_0xa93c6c[_0x26da4d(0x30f)]===!0x0&&_0xa93c6c['id']==='sheet.shape.object-list.panel'),(0x0,_0x5597c9['distinctUntilChanged'])())),'hidden$':(0x0,_0x3412e6['getMenuHiddenObservable'])(_0x5ac276,_0x4fcc67[_0x26da4d(0x578)]['UNIVER_SHEET']),'disabled$':(0x0,_0x5b8007[_0x26da4d(0x571)])(_0x5ac276)};}let _0xa3e643=_0x439e5d(0x2c6),_0x47a36f=_0x439e5d(0x361);function _0x34f74a(_0x219ee1){const _0x2ad9dc=_0x439e5d;let _0xbb4f98=_0x219ee1[_0x2ad9dc(0x55f)](_0x89eb48[_0x2ad9dc(0x211)])[_0x2ad9dc(0x52f)]();return _0xbb4f98[_0x2ad9dc(0x298)]===0x1&&_0xbb4f98[0x0][_0x2ad9dc(0x31a)]===_0x4fcc67[_0x2ad9dc(0x204)][_0x2ad9dc(0x4b8)]?_0xbb4f98[0x0]:null;}function _0x531edc(_0x3a259d){const _0x592442=_0x439e5d;let _0x36e3f8=_0x3a259d[_0x592442(0x55f)](_0x89eb48[_0x592442(0x211)]);return _0x36e3f8['focus$'][_0x592442(0x48b)]((0x0,_0x5597c9[_0x592442(0x4c3)])(_0x36e3f8['getFocusDrawings']()),(0x0,_0x5597c9[_0x592442(0x1ff)])(_0xa26f3e=>_0xa26f3e[_0x592442(0x298)]!==0x1||_0xa26f3e[0x0][_0x592442(0x31a)]!==_0x4fcc67[_0x592442(0x204)][_0x592442(0x4b8)]));}function _0x494031(_0x445655){const _0x5ee255=_0x439e5d;return{'id':_0xa3e643,'commandId':_0x43ee3e[_0x5ee255(0x3c7)]['id'],'type':_0x3412e6[_0x5ee255(0x58d)]['BUTTON'],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x5ee255(0x379),'icon':_0x5ee255(0x567),'hidden$':_0x531edc(_0x445655),'params':()=>{const _0x33a84f=_0x5ee255;let _0x2d8266=_0x34f74a(_0x445655);return _0x2d8266?{'unitId':_0x2d8266[_0x33a84f(0x3a2)],'subUnitId':_0x2d8266['subUnitId'],'shapeId':_0x2d8266[_0x33a84f(0x457)],'flipH':!0x0}:void 0x0;}};}function _0x1ff47d(_0x5a1058){const _0x2651f3=_0x439e5d;return{'id':_0x47a36f,'commandId':_0x43ee3e[_0x2651f3(0x3c7)]['id'],'type':_0x3412e6[_0x2651f3(0x58d)][_0x2651f3(0x3ab)],'title':_0x2651f3(0x5b2),'tooltip':_0x2651f3(0x5b2),'icon':_0x2651f3(0x3c9),'hidden$':_0x531edc(_0x5a1058),'params':()=>{const _0x218dd9=_0x2651f3;let _0x53c641=_0x34f74a(_0x5a1058);return _0x53c641?{'unitId':_0x53c641['unitId'],'subUnitId':_0x53c641[_0x218dd9(0x555)],'shapeId':_0x53c641[_0x218dd9(0x457)],'flipV':!0x0}:void 0x0;}};}let _0x1d7539=_0x439e5d(0x3c3),_0x52f6ff=_0x439e5d(0x499),_0x3e1600=_0x439e5d(0x57a),_0x36255e='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x4607e7(){const _0x23b0eb=_0x439e5d;let _0xe61666=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x23b0eb(0x286)]),_0x5540e2=(0x0,_0x3412e6['useDependency'])(_0x89eb48[_0x23b0eb(0x211)]),_0x160250=(0x0,_0x3412e6[_0x23b0eb(0x4a1)])(_0x43ee3e['SheetsShapeService']),_0x1711b7=()=>{const _0xac0763=_0x23b0eb;var _0x131f7f;let _0x1b28aa=_0x5540e2[_0xac0763(0x52f)]();if(_0x1b28aa[_0xac0763(0x298)]!==0x1||((_0x131f7f=_0x1b28aa[0x0])==null?void 0x0:_0x131f7f[_0xac0763(0x31a)])!==_0x4fcc67[_0xac0763(0x204)][_0xac0763(0x4b8)])return null;let {unitId:_0x49f0d9,subUnitId:_0x4fc00b,drawingId:_0x25b2c4}=_0x1b28aa[0x0],_0x17133f=_0x160250['getShapeTypeById'](_0x49f0d9,_0x4fc00b,_0x25b2c4),_0x5ad101=_0x160250[_0xac0763(0x343)](_0x49f0d9,_0x4fc00b,_0x25b2c4);return _0x17133f===void 0x0||!_0x5ad101?null:{'unitId':_0x49f0d9,'subUnitId':_0x4fc00b,'drawingId':_0x25b2c4,'shapeType':_0x17133f,'shapeData':_0x5ad101};},_0x3306c3=(0x0,_0x3412e6[_0x23b0eb(0x3d6)])(()=>new _0x5597c9[(_0x23b0eb(0x203))](_0x16bd43=>{const _0x55f717=_0x23b0eb;let _0x483028=()=>_0x16bd43[_0x55f717(0x4e3)](_0x1711b7()),_0x5d86ef=_0x5540e2[_0x55f717(0x328)][_0x55f717(0x523)](_0x483028),_0x4bfb41=_0xe61666[_0x55f717(0x4a4)](_0x3cc7cb=>{const _0x48d528=_0x55f717;_0x3cc7cb['id']===_0x43ee3e[_0x48d528(0x403)]['id']&&_0x483028();});return _0x483028(),()=>{_0x5d86ef['unsubscribe'](),_0x4bfb41['dispose']();};}),_0x1711b7(),!0x1,[_0xe61666,_0x5540e2,_0x160250]);return{'selection':_0x3306c3,'updateShapeData':_0x29819f=>{const _0x523269=_0x23b0eb;_0x3306c3&&_0x15d4c3(_0xe61666,_0x3306c3[_0x523269(0x3a2)],_0x3306c3['subUnitId'],_0x3306c3[_0x523269(0x457)],{'oldShapeData':_0x3306c3[_0x523269(0x331)]},_0x29819f);}};}function _0xb829be(){const _0x3b32c2=_0x439e5d;let {selection:_0x24fbc9,updateShapeData:_0x22e1b1}=_0x4607e7();return _0x24fbc9?(0x0,_0x58bcbb[_0x3b32c2(0x58f)])(_0x1a617a[_0x3b32c2(0x476)],{'shapeData':_0x24fbc9[_0x3b32c2(0x331)],'shapeType':_0x24fbc9[_0x3b32c2(0x53a)],'onUpdateShapeData':_0x22e1b1}):null;}function _0x2bee39(){const _0x2907a3=_0x439e5d;let _0x4c6021=(0x0,_0x3412e6[_0x2907a3(0x4a1)])(_0x4fcc67[_0x2907a3(0x286)]),_0x5d1a01=(0x0,_0x3412e6[_0x2907a3(0x4a1)])(_0x4fcc67[_0x2907a3(0x4fb)]),{selection:_0x38a515}=_0x4607e7();return _0x38a515?(0x0,_0x58bcbb['jsx'])(_0x1a617a[_0x2907a3(0x340)],{'type':(0x0,_0x1959c2[_0x2907a3(0x355)])(_0x38a515[_0x2907a3(0x331)]),'ariaLabel':_0x5d1a01['t'](_0x2907a3(0x481)),'activePresetId':(0x0,_0x1959c2['resolveActiveShapeQuickStylePresetId'])(_0x38a515[_0x2907a3(0x331)]),'onSelect':_0x4854b8=>_0x4c6021[_0x2907a3(0x4b3)](_0x577c0b['id'],{'presetId':_0x4854b8})}):null;}function _0x499602(){const _0x3e5d56=_0x439e5d;let {selection:_0x2421d8,updateShapeData:_0x4208f2}=_0x4607e7();return _0x2421d8?(0x0,_0x58bcbb[_0x3e5d56(0x58f)])(_0x1a617a[_0x3e5d56(0x3cb)],{'fontFamilyPopupDataComponent':_0x3e5d56(0x505),'shapeData':_0x2421d8[_0x3e5d56(0x331)],'onUpdateShapeData':_0x4208f2}):null;}function _0x5c33bb(){const _0xc7d243=_0x439e5d;var _0x483de7;let {selection:_0x83573f,updateShapeData:_0x2e62cf}=_0x4607e7(),_0x39993b=(0x0,_0x1a617a[_0xc7d243(0x474)])({'hostType':_0x4fcc67[_0xc7d243(0x578)][_0xc7d243(0x28f)],'unitId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x3a2)])??'','subUnitId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x555)])??'','shapeId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x457)])??'','shapeData':_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x331)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xc7d243(0x470),'onUpdateBinding':_0x51946a=>_0x2e62cf({'formulaBinding':_0x51946a})}),_0x1909e2=((_0x483de7=_0x39993b[_0xc7d243(0x1c9)])==null?void 0x0:_0x483de7[_0xc7d243(0x3b3)](_0x21e656=>_0x21e656['actions'])[_0xc7d243(0x4a3)](_0x567d63=>_0x567d63[_0xc7d243(0x30f)]!==!0x1))??[];return _0x83573f!=null&&_0x83573f[_0xc7d243(0x331)][_0xc7d243(0x4d5)]?(0x0,_0x58bcbb[_0xc7d243(0x58f)])(_0x1a617a['ShapeFormulaRibbonControl'],{'actions':_0x1909e2,'panel':_0x39993b['panel']}):null;}let _0x388e38='sheets-shape-ui.ribbon.shape-format.style-control',_0x2b6a79=_0x439e5d(0x383),_0x453bca=_0x439e5d(0x261),_0x34cb79=_0x439e5d(0x4d9),_0x375cd6=_0x439e5d(0x4db),_0x5a0706='sheets-shape-ui.ribbon.shape-format.arrange-front',_0x2f0aaa=_0x439e5d(0x538);function _0x10fb34(_0xc29736){const _0x461305=_0x439e5d;let _0x3ca47f=_0xc29736['get'](_0x4fcc67[_0x461305(0x286)]),_0x135608=_0xc29736[_0x461305(0x55f)](_0x89eb48[_0x461305(0x211)]),_0xd87ddb=_0xc29736[_0x461305(0x55f)](_0x43ee3e[_0x461305(0x373)]);return new _0x5597c9[(_0x461305(0x203))](_0xf3aa24=>{const _0x483b8c=_0x461305;let _0x50b679=()=>{const _0x5a58eb=_0x3385;let _0x36725c=_0x250e7c(_0xc29736),_0x4660a4=_0x36725c?_0xd87ddb['getShapeDataById'](_0x36725c[_0x5a58eb(0x3a2)],_0x36725c[_0x5a58eb(0x555)],_0x36725c[_0x5a58eb(0x457)]):null;_0xf3aa24[_0x5a58eb(0x4e3)](_0x4660a4?(0x0,_0x1959c2[_0x5a58eb(0x43e)])(_0x4660a4)??'':'');},_0x52c805=_0x135608['focus$'][_0x483b8c(0x523)](_0x50b679),_0x57c8c1=_0x3ca47f[_0x483b8c(0x4a4)](_0x2345bb=>{const _0x1815ed=_0x483b8c;_0x2345bb['id']===_0x43ee3e[_0x1815ed(0x403)]['id']&&_0x50b679();});return _0x50b679(),()=>{const _0x207ab8=_0x483b8c;_0x52c805[_0x207ab8(0x2e3)](),_0x57c8c1[_0x207ab8(0x27e)]();};});}function _0x250e7c(_0xa40c42){const _0x40f0a1=_0x439e5d;var _0x424db8;let _0x36595c=_0xa40c42[_0x40f0a1(0x55f)](_0x89eb48[_0x40f0a1(0x211)])[_0x40f0a1(0x52f)]();return _0x36595c['length']===0x1&&((_0x424db8=_0x36595c[0x0])==null?void 0x0:_0x424db8[_0x40f0a1(0x31a)])===_0x4fcc67[_0x40f0a1(0x204)]['DRAWING_SHAPE']?_0x36595c[0x0]:null;}function _0x4cfd35(_0x45ae10,_0x4abdb2=!0x1){const _0x24b021=_0x439e5d;let _0x46c9d1=_0x45ae10[_0x24b021(0x55f)](_0x4fcc67[_0x24b021(0x286)]),_0x509462=_0x45ae10[_0x24b021(0x55f)](_0x89eb48[_0x24b021(0x211)]),_0x5d3ab0=_0x45ae10['get'](_0x43ee3e[_0x24b021(0x373)]);return new _0x5597c9[(_0x24b021(0x203))](_0x5f1201=>{const _0x10ad6c=_0x24b021;let _0x5ea965=()=>{const _0x4dd2e3=_0x3385;let _0x209e5b=_0x250e7c(_0x45ae10);if(!_0x209e5b){_0x5f1201[_0x4dd2e3(0x4e3)](!0x0);return;}let _0x1e26b6=_0x5d3ab0[_0x4dd2e3(0x343)](_0x209e5b[_0x4dd2e3(0x3a2)],_0x209e5b['subUnitId'],_0x209e5b[_0x4dd2e3(0x457)]);_0x5f1201[_0x4dd2e3(0x4e3)](!_0x1e26b6||_0x4abdb2&&_0x1e26b6[_0x4dd2e3(0x4d5)]==null);},_0x2b9206=_0x509462[_0x10ad6c(0x328)][_0x10ad6c(0x523)](_0x5ea965),_0x589c33=_0x46c9d1[_0x10ad6c(0x4a4)](_0x577694=>{const _0x2dfa56=_0x10ad6c;_0x577694['id']===_0x43ee3e[_0x2dfa56(0x403)]['id']&&_0x5ea965();});return _0x5ea965(),()=>{const _0x1f4070=_0x10ad6c;_0x2b9206[_0x1f4070(0x2e3)](),_0x589c33[_0x1f4070(0x27e)]();};});}function _0x40e637(_0xf78122){const _0x16de79=_0x439e5d;let _0x18802e=_0xf78122[_0x16de79(0x55f)](_0x89eb48[_0x16de79(0x211)]),_0x3991b3=_0xf78122[_0x16de79(0x55f)](_0x43ee3e[_0x16de79(0x373)]);return _0x18802e[_0x16de79(0x328)][_0x16de79(0x48b)]((0x0,_0x5597c9[_0x16de79(0x4c3)])(_0x18802e[_0x16de79(0x52f)]()),(0x0,_0x5597c9[_0x16de79(0x1ff)])(()=>{const _0x819c6f=_0x16de79;let _0x4acdc6=_0x250e7c(_0xf78122),_0x3a7af1=_0x4acdc6?_0x3991b3[_0x819c6f(0x352)](_0x4acdc6[_0x819c6f(0x3a2)],_0x4acdc6[_0x819c6f(0x555)],_0x4acdc6[_0x819c6f(0x457)]):void 0x0;return _0x3a7af1===void 0x0||(0x0,_0x42c76f[_0x819c6f(0x2a1)])(_0x3a7af1);}));}function _0x548476(_0x52128f){const _0x3ceafa=_0x439e5d;return{'id':_0x577c0b['id'],'type':_0x3412e6[_0x3ceafa(0x58d)][_0x3ceafa(0x36d)],'icon':_0x3ceafa(0x3bc),'title':'shape-editor-ui.toolbar.quickStyles','tooltip':_0x3ceafa(0x5b0),'selections':[{'label':{'name':_0x1d7539,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x10fb34(_0x52128f),'hidden$':_0x4cfd35(_0x52128f)};}function _0x476803(_0x1af05f){const _0x1e09cd=_0x439e5d;return{'id':_0x55c4b4['id'],'type':_0x3412e6[_0x1e09cd(0x58d)]['SELECTOR'],'icon':_0x1e09cd(0x42c),'title':_0x1e09cd(0x284),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x1a617a[_0x1e09cd(0x4e0)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x40e637(_0x1af05f)};}function _0x149b99(_0x3739bc,_0x3de188,_0x2906e8=!0x1){const _0x84ead=_0x439e5d;return _0x32d85c=>({'id':_0x3739bc,'type':_0x3412e6[_0x84ead(0x58d)]['BUTTON'],'label':{'name':_0x3de188,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x4cfd35(_0x32d85c,_0x2906e8)});}let _0x16a4ef=_0x149b99(_0x388e38,_0x52f6ff),_0x5793a4=_0x149b99(_0x2b6a79,_0x3e1600),_0x3ab1d5=_0x149b99(_0x453bca,_0x36255e,!0x0);function _0x5b4d62(_0x45e2f6,_0x1ee551,_0xe3d144,_0x48b2b3){const _0xa12fb6=_0x439e5d;return _0x24ac65=>({'id':_0x45e2f6,'commandId':_0x51f92a[_0xa12fb6(0x393)]['id'],'type':_0x3412e6[_0xa12fb6(0x58d)][_0xa12fb6(0x3ab)],'icon':_0xe3d144,'title':_0x48b2b3,'tooltip':_0x48b2b3,'hidden$':_0x4cfd35(_0x24ac65),'params':()=>{const _0xcdd65e=_0xa12fb6;let _0x14d84e=_0x250e7c(_0x24ac65);return _0x14d84e?{'unitId':_0x14d84e[_0xcdd65e(0x3a2)],'subUnitId':_0x14d84e['subUnitId'],'drawingIds':[_0x14d84e[_0xcdd65e(0x457)]],'arrangeType':_0x1ee551}:void 0x0;}});}let _0x3764cd=_0x5b4d62(_0x34cb79,_0x4fcc67[_0x439e5d(0x5a8)][_0x439e5d(0x2f0)],_0x439e5d(0x5a0),_0x439e5d(0x363)),_0x1ec2d2=_0x5b4d62(_0x375cd6,_0x4fcc67[_0x439e5d(0x5a8)]['backward'],_0x439e5d(0x3e0),'shape-editor-ui.arrange.backward'),_0x4b78a6=_0x5b4d62(_0x5a0706,_0x4fcc67[_0x439e5d(0x5a8)]['front'],'TopmostIcon',_0x439e5d(0x3f1)),_0x64de05=_0x5b4d62(_0x2f0aaa,_0x4fcc67['ArrangeTypeEnum'][_0x439e5d(0x522)],_0x439e5d(0x3b2),_0x439e5d(0x354));function _0x7c58a6(_0x469f95){const _0x35531b=_0x439e5d;let _0x24d653=_0x469f95['get'](_0x3412e6['ISidebarService']);return{'activated$':(0x0,_0x5597c9[_0x35531b(0x244)])(()=>_0x24d653[_0x35531b(0x401)][_0x35531b(0x48b)]((0x0,_0x5597c9[_0x35531b(0x4c3)])(_0x24d653[_0x35531b(0x57d)]),(0x0,_0x5597c9['map'])(_0x2605b6=>_0x2605b6[_0x35531b(0x30f)]===!0x0&&_0x2605b6['id']===_0x35531b(0x2c3)),(0x0,_0x5597c9[_0x35531b(0x4af)])())),'id':_0x5398f0['id'],'type':_0x3412e6[_0x35531b(0x58d)][_0x35531b(0x3ab)],'icon':'ShapeFormatSettingIcon','title':_0x35531b(0x437),'tooltip':_0x35531b(0x437),'hidden$':_0x4cfd35(_0x469f95),'params':()=>{const _0x59f88a=_0x35531b;let _0x111769=_0x250e7c(_0x469f95);return _0x111769?{'unitId':_0x111769['unitId'],'subUnitId':_0x111769[_0x59f88a(0x555)],'drawingId':_0x111769['drawingId']}:void 0x0;}};}let _0x2948fc={[_0x3412e6[_0x439e5d(0x47b)][_0x439e5d(0x5ad)]]:{[_0x54ca59]:{'order':0x64,'title':_0x439e5d(0x437),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x577c0b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x548476},[_0x55c4b4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x476803}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x388e38]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x16a4ef}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x2b6a79]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5793a4}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0xa3e643]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x494031},[_0x47a36f]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x1ff47d},[_0x34cb79]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x3764cd},[_0x375cd6]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1ec2d2},[_0x5a0706]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4b78a6},[_0x2f0aaa]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x64de05}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x453bca]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x3ab1d5}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5398f0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x7c58a6},[_0x1a617a[_0x439e5d(0x49c)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1a617a[_0x439e5d(0x581)]}}}}},_0x2b234f={[_0x3412e6['RibbonInsertGroup'][_0x439e5d(0x3e2)]]:{[_0x595989['id']]:{'order':0x3,'menuItemFactory':_0x432394}}},_0x4eaffd={..._0x2b234f,[_0x3412e6['RibbonInsertGroup'][_0x439e5d(0x324)]]:{[_0x258cca['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x3a9e45}},[_0x3412e6[_0x439e5d(0x2dc)][_0x439e5d(0x507)]]:{[_0x3412e6[_0x439e5d(0x1ec)][_0x439e5d(0x324)]]:{[_0xa3e643]:{'order':0x4,'menuItemFactory':_0x494031},[_0x47a36f]:{'order':0x5,'menuItemFactory':_0x1ff47d}}}};var _0x662816='@univerjs-pro/sheets-shape-ui',_0x2993c4=_0x439e5d(0x31b);let _0x20217e={'id':'sheet.operation.open-mobile-shape-editor','type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler'(_0x3c3b6e,_0x218b38){const _0x33b76d=_0x439e5d;return _0x218b38?(_0x3c3b6e[_0x33b76d(0x55f)](_0x1a617a[_0x33b76d(0x38a)])[_0x33b76d(0x2e6)](_0x218b38['mode'],{'hostType':_0x4fcc67[_0x33b76d(0x578)][_0x33b76d(0x28f)],'shapeId':_0x218b38[_0x33b76d(0x457)],'subUnitId':_0x218b38[_0x33b76d(0x555)],'unitId':_0x218b38[_0x33b76d(0x3a2)]}),!0x0):!0x1;}},_0x4d1e57=_0x439e5d(0x427),_0x42d7f1={},_0x2aa3d8=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x375b2f,_0x1ec17f,_0x24e4a4,_0x47b74a,_0x19484d){const _0x43bc29=_0x439e5d;super(),this[_0x43bc29(0x316)]=_0x375b2f,this[_0x43bc29(0x232)]=_0x1ec17f,this[_0x43bc29(0x35d)]=_0x24e4a4,this[_0x43bc29(0x54b)]=_0x47b74a,this[_0x43bc29(0x44d)]=_0x19484d,_0x355f4a(this,_0x43bc29(0x42a),null),_0x355f4a(this,_0x43bc29(0x49a),null),_0x355f4a(this,_0x43bc29(0x289),null),_0x355f4a(this,_0x43bc29(0x271),void 0x0),_0x355f4a(this,_0x43bc29(0x3a6),[]),_0x355f4a(this,_0x43bc29(0x250),0x0),_0x355f4a(this,_0x43bc29(0x262),0x0),_0x355f4a(this,_0x43bc29(0x4b9),0x0),_0x355f4a(this,'_baseHeight',0x0),_0x355f4a(this,_0x43bc29(0x235),!0x1),_0x355f4a(this,_0x43bc29(0x1d4),void 0x0),_0x355f4a(this,_0x43bc29(0x2db),void 0x0),_0x355f4a(this,_0x43bc29(0x429),void 0x0),_0x355f4a(this,_0x43bc29(0x35c),void 0x0),_0x355f4a(this,_0x43bc29(0x25b),!0x1),this[_0x43bc29(0x397)](),this['_registerMoveHandler']();}[_0x439e5d(0x1c4)](){const _0x58a57d=_0x439e5d;this[_0x58a57d(0x1bd)]();}[_0x439e5d(0x227)](){const _0x45d746=_0x439e5d;this[_0x45d746(0x1bd)](),this[_0x45d746(0x34a)](!0x0);}[_0x439e5d(0x4fc)](_0x12559d,_0x20e5c8,_0x304722,_0x170f99){const _0xc923b6=_0x439e5d;let _0x1f1415=_0x12559d;if(_0x1f1415!==_0x42c76f[_0xc923b6(0x50a)]['None']&&_0x12559d!==_0xc923b6(0x482))try{let _0xc41baf=new _0x42c76f[(_0xc923b6(0x503))](_0x1f1415,_0xc923b6(0x47c)+_0x12559d);return _0x170f99&&_0xc41baf[_0xc923b6(0x422)]({'adjustValues':_0x170f99},!0x0),_0xc41baf['updateContext']({'width':_0x20e5c8,'height':_0x304722}),_0xc41baf;}catch{return;}}[_0x439e5d(0x2b3)](_0x2ba3a6,_0x4b4314,_0x4c1ef0){const _0x10fe9f=_0x439e5d;let _0x2f672d={'unitId':_0x2ba3a6,'subUnitId':_0x4b4314,'drawingId':_0x4c1ef0},_0x2ed844=this[_0x10fe9f(0x232)]['getDrawingByParam'](_0x2f672d);if(_0x2ed844&&_0x2ed844[_0x10fe9f(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0x10fe9f(0x556)])return _0x2ed844;}[_0x439e5d(0x51b)](_0x4e6dd0,_0x5f357a,_0x2fba0a){const _0x161336=_0x439e5d;let _0x57b711=this['_renderManagerService'][_0x161336(0x40f)](_0x4e6dd0);if(!_0x57b711)return;let {scene:_0x27e9f8}=_0x57b711,_0x1196cb=(0x0,_0x89eb48[_0x161336(0x236)])({'unitId':_0x4e6dd0,'subUnitId':_0x5f357a,'drawingId':_0x2fba0a}),_0x203281=_0x27e9f8[_0x161336(0x23f)](_0x1196cb);if(_0x203281 instanceof _0x5e3080[_0x161336(0x411)]){let _0x4898a7=_0x203281[_0x161336(0x20e)];if(_0x4898a7)return{'prstGeom':_0x4898a7,'adjustValues':_0x203281[_0x161336(0x1d8)]};}}[_0x439e5d(0x34a)](_0x35dab1=!0x1){const _0x4779a4=_0x439e5d;if(!this[_0x4779a4(0x49a)]||!this['_subUnitId']||!this[_0x4779a4(0x42a)])return;let _0x5f18e6=this[_0x4779a4(0x35d)][_0x4779a4(0x40f)](this[_0x4779a4(0x49a)]);if(!_0x5f18e6||!_0x5f18e6[_0x4779a4(0x54f)](_0x5b8007[_0x4779a4(0x2e8)])['getCurrentSkeleton']())return;let {scene:_0x5a5b7e}=_0x5f18e6,_0x5b57e2=this[_0x4779a4(0x2b3)](this[_0x4779a4(0x49a)],this[_0x4779a4(0x289)],this['_activeImageId']);if(!_0x5b57e2)return;let {transform:_0x4b2e6d}=_0x5b57e2;if(!_0x4b2e6d)return;let {left:_0x975a22,top:_0x500f8c,width:_0x4c1fd8,height:_0x320eeb,flipX:_0x5416bb,flipY:_0x3be2f5,angle:_0x5468db=0x0}=_0x4b2e6d;if(_0x975a22===void 0x0||_0x500f8c===void 0x0)return;let _0x4ed995=this[_0x4779a4(0x51b)](this['_unitId'],this['_subUnitId'],this['_activeImageId']);if(!_0x4ed995)return;if(_0x35dab1){let _0x336883=this['_getOrCreateShapeModel'](_0x4ed995['prstGeom'],_0x4c1fd8||0x0,_0x320eeb||0x0,_0x4ed995['adjustValues']);if(!_0x336883)return;this[_0x4779a4(0x271)]=_0x336883[_0x4779a4(0x246)]();}let _0x186a13=this[_0x4779a4(0x271)];if(_0x186a13&&_0x186a13[_0x4779a4(0x298)]!==0x0)for(let _0x8f94d1=0x0;_0x8f94d1<_0x186a13[_0x4779a4(0x298)];_0x8f94d1++){let _0x182c82=_0x186a13[_0x8f94d1],_0x420796=_0x182c82['x'],_0x46811c=_0x182c82['y'];if(_0x5416bb&&(_0x420796=(_0x4c1fd8||0x0)-_0x420796),_0x3be2f5&&(_0x46811c=(_0x320eeb||0x0)-_0x46811c),_0x5468db!==0x0){let _0x1c343f=(_0x4c1fd8||0x0)/0x2,_0x243ead=(_0x320eeb||0x0)/0x2,_0x5f165a=_0x5468db*Math['PI']/0xb4,_0x539c3c=Math[_0x4779a4(0x4e9)](_0x5f165a),_0xaf0be9=Math[_0x4779a4(0x326)](_0x5f165a),_0x39a2e5=_0x420796-_0x1c343f,_0x550a2b=_0x46811c-_0x243ead;_0x420796=_0x1c343f+(_0x39a2e5*_0x539c3c-_0x550a2b*_0xaf0be9),_0x46811c=_0x243ead+(_0x39a2e5*_0xaf0be9+_0x550a2b*_0x539c3c);}let _0x129302={'x':_0x420796,'y':_0x46811c,'adjName':_0x182c82[_0x4779a4(0x2f9)]};this['_addControl'](_0x5a5b7e,_0x129302,_0x129302['adjName'],_0x975a22,_0x500f8c,this[_0x4779a4(0x49a)],this[_0x4779a4(0x289)]);}}[_0x439e5d(0x314)](_0x2b897e,_0x1d5eb8,_0x27347f,_0x48afbe,_0xaf2af7,_0x4bce94,_0x2d23ee){const _0x496d60=_0x439e5d;if(!this[_0x496d60(0x42a)])return;let _0x5d1de2=_0x496d60(0x2bb)+this[_0x496d60(0x42a)]+'-'+_0x27347f,_0x416256=_0x2b897e['getObjectIncludeInGroup'](_0x5d1de2);if(_0x416256){_0x416256[_0x496d60(0x312)]({'left':_0x1d5eb8['x']+_0x48afbe-_0x42c76f[_0x496d60(0x1de)][_0x496d60(0x24c)],'top':_0x1d5eb8['y']+_0xaf2af7-_0x42c76f[_0x496d60(0x1de)]['adjHandleSize']});return;}let _0x4a044e=new _0x309015(_0x5d1de2,{'left':_0x1d5eb8['x']+_0x48afbe-_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)],'top':_0x1d5eb8['y']+_0xaf2af7-_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)],'adjName':_0x27347f,'shapeId':this['_activeImageId'],'unitId':_0x4bce94,'subUnitId':_0x2d23ee,'width':_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)]+0x8,'height':_0x42c76f[_0x496d60(0x1de)][_0x496d60(0x24c)]+0x8,'zIndex':_0x5e3080['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_shapes'][_0x496d60(0x1d6)](_0x4a044e),this[_0x496d60(0x55a)](_0x4a044e,_0x2b897e,_0x27347f),_0x2b897e[_0x496d60(0x34e)](_0x4a044e,_0x5e3080[_0x496d60(0x52a)]+0x1);}[_0x439e5d(0x1bd)](){const _0x11a53d=_0x439e5d;this[_0x11a53d(0x3a6)][_0x11a53d(0x298)]!==0x0&&(this['_shapes']['forEach'](_0x12389a=>_0x12389a[_0x11a53d(0x27e)]()),this[_0x11a53d(0x3a6)]=[]);}[_0x439e5d(0x4ed)](_0x2314a6,_0x39e419){const _0x5891f2=_0x439e5d;var _0x75f1f6;let _0x345c16={'x':0x0,'y':0x0},_0x40815d=this[_0x5891f2(0x35d)][_0x5891f2(0x40f)](_0x2314a6);if(!_0x40815d||!_0x40815d['with'](_0x5b8007[_0x5891f2(0x2e8)])[_0x5891f2(0x277)](_0x39e419))return _0x345c16;let _0x4e8f3a=_0x40815d['with'](_0x5b8007[_0x5891f2(0x213)]),_0xf82b28=_0x4e8f3a==null?void 0x0:_0x4e8f3a[_0x5891f2(0x2c2)]();if(!_0xf82b28)return _0x345c16;let _0x1d7c55=(_0x75f1f6=this[_0x5891f2(0x54b)][_0x5891f2(0x3ff)](_0x2314a6))==null?void 0x0:_0x75f1f6['getSheetBySheetId'](_0x39e419);if(!_0x1d7c55)return _0x345c16;let _0x42ca64=(0x0,_0x5b8007[_0x5891f2(0x330)])(_0xf82b28[_0x5891f2(0x467)],_0xf82b28['sheetViewStartColumn'],_0x40815d[_0x5891f2(0x56f)],_0x1d7c55);return _0x42ca64?{'x':_0x42ca64[_0x5891f2(0x4d2)],'y':_0x42ca64[_0x5891f2(0x46b)]}:_0x345c16;}['_getZoomRatio'](_0x2aaf88,_0x5959e3){const _0x24a3d6=_0x439e5d;var _0x229094;let _0x3dabb0=(_0x229094=this[_0x24a3d6(0x54b)][_0x24a3d6(0x3ff)](_0x2aaf88))==null?void 0x0:_0x229094['getSheetBySheetId'](_0x5959e3);return(_0x3dabb0==null?void 0x0:_0x3dabb0[_0x24a3d6(0x597)]())??0x1;}['_attachAdjustEvent'](_0x12ee38,_0x2bbcba,_0x136f3b){const _0x5c5c08=_0x439e5d;this['disposeWithMe']((0x0,_0x4fcc67[_0x5c5c08(0x4f3)])(_0x12ee38[_0x5c5c08(0x308)][_0x5c5c08(0x320)]((_0x493239,_0x517608)=>{const _0x206476=_0x5c5c08;var _0x373f67,_0x2c2fdd,_0x5b22df;let {unitId:_0x4155dc,subUnitId:_0x2ae8fa,drawingId:_0x307acd}=_0x12ee38[_0x206476(0x5af)](),_0x340db5=this[_0x206476(0x2b3)](_0x4155dc,_0x2ae8fa,_0x307acd);if(!(_0x340db5!=null&&_0x340db5['transform']))return;let {left:_0x3b4713,top:_0x38be69,width:_0x56a060,height:_0x540e4d}=_0x340db5[_0x206476(0x3a8)];this[_0x206476(0x250)]=_0x3b4713||0x0,this['_baseTop']=_0x38be69||0x0,this[_0x206476(0x4b9)]=_0x56a060||0x0,this[_0x206476(0x43d)]=_0x540e4d||0x0;let _0x167ed3=!!((_0x373f67=_0x340db5[_0x206476(0x3a8)])!=null&&_0x373f67[_0x206476(0x365)]),_0x470f2c=!!((_0x2c2fdd=_0x340db5[_0x206476(0x3a8)])!=null&&_0x2c2fdd['flipY']),_0xa003e1=((_0x5b22df=_0x340db5[_0x206476(0x3a8)])==null?void 0x0:_0x5b22df[_0x206476(0x2cd)])||0x0,_0x4dcf3c=this[_0x206476(0x51b)](_0x4155dc,_0x2ae8fa,_0x307acd);if(!_0x4dcf3c)return;let _0x5d7e3f=this['_getOrCreateShapeModel'](_0x4dcf3c['prstGeom'],this[_0x206476(0x4b9)],this['_baseHeight'],_0x4dcf3c[_0x206476(0x518)]);if(!_0x5d7e3f||(this[_0x206476(0x2db)]=_0x5d7e3f,this[_0x206476(0x1d4)]=_0x5d7e3f['getAdjustInfoByName'](_0x136f3b),!this[_0x206476(0x1d4)]))return;this['_isStartAdjusting']=!0x0,_0x2bbcba[_0x206476(0x1d0)]();let _0x2dab25=_0x4dcf3c['prstGeom'];this[_0x206476(0x429)]=_0x2bbcba[_0x206476(0x4be)]['subscribeEvent']((_0x588c8d,_0x44a6f6)=>{const _0x438130=_0x206476;if(!this[_0x438130(0x235)])return;let {offsetX:_0x462a8b,offsetY:_0x5bfee7}=_0x588c8d,_0x5b073e=this[_0x438130(0x1d4)];if(!this[_0x438130(0x2db)]||!_0x5b073e)return;_0x2bbcba[_0x438130(0x1d0)](),_0x2bbcba['setCursor'](_0x5e3080[_0x438130(0x55e)][_0x438130(0x1b1)]);let _0x33bd8b={'left':0x0,'top':0x0,'width':this[_0x438130(0x4b9)],'height':this[_0x438130(0x43d)]},_0x5a8003=this[_0x438130(0x4ed)](_0x4155dc,_0x2ae8fa),_0x98727a=this[_0x438130(0x3d9)](_0x4155dc,_0x2ae8fa),_0x2c41ed=_0x462a8b/_0x98727a+_0x5a8003['x']-this[_0x438130(0x250)],_0x13f99f=_0x5bfee7/_0x98727a+_0x5a8003['y']-this[_0x438130(0x262)];if(_0xa003e1!==0x0){let _0x549eed=this[_0x438130(0x4b9)]/0x2,_0x128114=this['_baseHeight']/0x2,_0x534705=_0xa003e1*Math['PI']/0xb4,_0x37fa06=Math[_0x438130(0x4e9)](_0x534705),_0x1c06f5=Math[_0x438130(0x326)](_0x534705),_0x5d461b=_0x2c41ed-_0x549eed,_0x579adc=_0x13f99f-_0x128114;_0x2c41ed=_0x549eed+(_0x5d461b*_0x37fa06+_0x579adc*_0x1c06f5),_0x13f99f=_0x128114+(-_0x5d461b*_0x1c06f5+_0x579adc*_0x37fa06);}_0x167ed3&&(_0x2c41ed=this[_0x438130(0x4b9)]-_0x2c41ed),_0x470f2c&&(_0x13f99f=this[_0x438130(0x43d)]-_0x13f99f);let _0x41f2ff=this[_0x438130(0x2db)]['calcAdjValues'](_0x33bd8b,{'x':_0x2c41ed,'y':_0x13f99f},_0x5b073e,_0x167ed3,_0x470f2c);if(Object[_0x438130(0x4f5)](_0x41f2ff)[_0x438130(0x298)]!==0x0){for(let [_0x3cd20a,_0x340dc8]of Object[_0x438130(0x51f)](_0x41f2ff))this[_0x438130(0x2db)][_0x438130(0x445)](_0x3cd20a,_0x340dc8);this['_activeShapeModel'][_0x438130(0x580)]({'width':this['_baseWidth'],'height':this[_0x438130(0x43d)]}),this['_updateImageAdjValues'](_0x4155dc,_0x2ae8fa,_0x307acd,_0x41f2ff),this[_0x438130(0x271)]=this[_0x438130(0x2db)]['getDrawingPoints'](),this[_0x438130(0x34a)](),_0x44a6f6[_0x438130(0x514)]();}}),this[_0x206476(0x35c)]=_0x2bbcba[_0x206476(0x454)][_0x206476(0x320)]((_0x4953b4,_0x569b92)=>{const _0x1b433b=_0x206476;if(this[_0x1b433b(0x429)]['unsubscribe'](),this[_0x1b433b(0x35c)][_0x1b433b(0x2e3)](),_0x2bbcba[_0x1b433b(0x398)](),this[_0x1b433b(0x2db)]){let _0x1d40d7=this['_activeShapeModel'][_0x1b433b(0x208)](),_0x165f34={};for(let _0x581c52 of _0x1d40d7){let _0x56ab50=this[_0x1b433b(0x2db)][_0x1b433b(0x48e)](_0x581c52);_0x56ab50!==void 0x0&&(_0x165f34[_0x581c52]=_0x56ab50);}this[_0x1b433b(0x44d)][_0x1b433b(0x423)](_0x4155dc,_0x2ae8fa,_0x307acd,_0x2dab25,_0x165f34);}this[_0x1b433b(0x1d4)]=void 0x0,this[_0x1b433b(0x2db)]=void 0x0,this[_0x1b433b(0x235)]=!0x1,_0x569b92['stopPropagation'](),_0x2bbcba[_0x1b433b(0x4a7)]();}),_0x517608['stopPropagation']();})));}[_0x439e5d(0x2a3)](_0x5a86ff,_0x5cd9c3,_0x56d233,_0x520e1a){const _0x1899bf=_0x439e5d;let _0x48b2c2=this[_0x1899bf(0x35d)]['getRenderUnitById'](_0x5a86ff);if(!_0x48b2c2)return;let {scene:_0x1322f7}=_0x48b2c2,_0x2c8955=(0x0,_0x89eb48[_0x1899bf(0x236)])({'unitId':_0x5a86ff,'subUnitId':_0x5cd9c3,'drawingId':_0x56d233}),_0x4dc38e=_0x1322f7[_0x1899bf(0x23f)](_0x2c8955);if(_0x4dc38e instanceof _0x5e3080[_0x1899bf(0x411)]){let _0x346827=_0x4dc38e[_0x1899bf(0x1d8)]??{};_0x4dc38e[_0x1899bf(0x40b)]({..._0x346827,..._0x520e1a}),_0x4dc38e[_0x1899bf(0x415)](!0x0);}}['_registerMoveHandler'](){const _0x58a0b6=_0x439e5d;let _0x4d3273=this[_0x58a0b6(0x54b)][_0x58a0b6(0x2af)](_0x4fcc67[_0x58a0b6(0x578)][_0x58a0b6(0x28f)]);this[_0x58a0b6(0x575)](_0x4d3273[_0x58a0b6(0x48b)]((0x0,_0x5597c9['switchMap'])(_0xbca40e=>_0xbca40e?_0xbca40e[_0x58a0b6(0x399)][_0x58a0b6(0x48b)]((0x0,_0x5597c9['switchMap'])(_0x32715f=>{const _0x2a7b40=_0x58a0b6;if(!_0x32715f)return _0x5597c9['EMPTY'];let _0x5aec07=_0xbca40e[_0x2a7b40(0x54e)](),_0x41b1dd=this[_0x2a7b40(0x35d)][_0x2a7b40(0x40f)](_0x5aec07),_0x4ab48f=_0x41b1dd==null?void 0x0:_0x41b1dd[_0x2a7b40(0x56f)];return _0x4ab48f?(0x0,_0x5597c9['of'])(_0x4ab48f):_0x5597c9['EMPTY'];})):_0x5597c9[_0x58a0b6(0x528)]))['subscribe'](_0x5d9e52=>{const _0x3a9e3b=_0x58a0b6;let _0x4f69cc=_0x5d9e52[_0x3a9e3b(0x4e6)]();this[_0x3a9e3b(0x575)](_0x5d9e52[_0x3a9e3b(0x4be)]['subscribeEvent'](()=>{const _0xcf256d=_0x3a9e3b;this[_0xcf256d(0x25b)]&&this[_0xcf256d(0x1bd)]();})),this[_0x3a9e3b(0x575)](_0x4f69cc[_0x3a9e3b(0x290)]['subscribe'](_0x3bce48=>{const _0x3cf8f1=_0x3a9e3b;let {objects:_0x42b61d}=_0x3bce48;if(this['_createControls'](),_0x42b61d!==null&&_0x42b61d[_0x3cf8f1(0x535)]===0x1){let _0x353964=_0x42b61d[_0x3cf8f1(0x413)]()[_0x3cf8f1(0x4e3)]()[_0x3cf8f1(0x3f0)];_0x353964 instanceof _0x5e3080[_0x3cf8f1(0x411)]&&_0x353964[_0x3cf8f1(0x20e)]&&(this['_isImagePointerDown']=!0x0);}})),this[_0x3a9e3b(0x575)](_0x4f69cc['changing$']['subscribe'](()=>{const _0x5bec3b=_0x3a9e3b;this[_0x5bec3b(0x25b)]&&this[_0x5bec3b(0x1bd)]();})),this[_0x3a9e3b(0x575)](_0x5d9e52[_0x3a9e3b(0x454)]['subscribeEvent'](()=>{const _0x3562bb=_0x3a9e3b;this['_isImagePointerDown']&&(this[_0x3562bb(0x25b)]=!0x1,this[_0x3562bb(0x34a)]());})),this[_0x3a9e3b(0x575)](_0x4f69cc['changeEnd$'][_0x3a9e3b(0x523)](()=>{const _0x3069ed=_0x3a9e3b;if(this['_unitId']&&this[_0x3069ed(0x289)]&&this[_0x3069ed(0x42a)]){let _0x4b0e63=this['_getImagePrstGeom'](this[_0x3069ed(0x49a)],this[_0x3069ed(0x289)],this['_activeImageId']);if(_0x4b0e63){var _0x53529e,_0x113af6;let _0x2a8b68=this[_0x3069ed(0x2b3)](this['_unitId'],this[_0x3069ed(0x289)],this['_activeImageId']),_0x3418e8=(_0x2a8b68==null||(_0x53529e=_0x2a8b68[_0x3069ed(0x3a8)])==null?void 0x0:_0x53529e[_0x3069ed(0x5a5)])||0x0,_0x511868=(_0x2a8b68==null||(_0x113af6=_0x2a8b68[_0x3069ed(0x3a8)])==null?void 0x0:_0x113af6[_0x3069ed(0x509)])||0x0,_0x83e69f=this[_0x3069ed(0x4fc)](_0x4b0e63[_0x3069ed(0x20e)],_0x3418e8,_0x511868,_0x4b0e63[_0x3069ed(0x518)]);_0x83e69f&&(this[_0x3069ed(0x271)]=_0x83e69f[_0x3069ed(0x246)](),this[_0x3069ed(0x1bd)](),this['_createControls'](!0x0));}}}));}));}[_0x439e5d(0x397)](){const _0x29af6b=_0x439e5d;this['disposeWithMe'](this['_drawingManagerService']['focus$'][_0x29af6b(0x523)](_0x4d56fb=>{const _0x12fead=_0x29af6b;if(_0x4d56fb[_0x12fead(0x298)]===0x1){let _0x186427=_0x4d56fb[0x0];if(_0x186427[_0x12fead(0x31a)]===_0x4fcc67[_0x12fead(0x204)][_0x12fead(0x556)]){let {unitId:_0x137753,subUnitId:_0x506912,drawingId:_0x4590a0}=_0x186427,_0x53c48c=this[_0x12fead(0x51b)](_0x137753,_0x506912,_0x4590a0);if(_0x53c48c){var _0x26a4dc,_0x1bd769;this[_0x12fead(0x42a)]=_0x4590a0,this['_unitId']=_0x137753,this[_0x12fead(0x289)]=_0x506912;let _0x498d87=this['_getImageDrawingInfo'](_0x137753,_0x506912,_0x4590a0),_0x224edd=(_0x498d87==null||(_0x26a4dc=_0x498d87[_0x12fead(0x3a8)])==null?void 0x0:_0x26a4dc[_0x12fead(0x5a5)])||0x0,_0x15128e=(_0x498d87==null||(_0x1bd769=_0x498d87[_0x12fead(0x3a8)])==null?void 0x0:_0x1bd769[_0x12fead(0x509)])||0x0,_0x3a7c78=this[_0x12fead(0x4fc)](_0x53c48c[_0x12fead(0x20e)],_0x224edd,_0x15128e,_0x53c48c[_0x12fead(0x518)]);_0x3a7c78&&(this[_0x12fead(0x271)]=_0x3a7c78[_0x12fead(0x246)]()),this[_0x12fead(0x1bd)](),this[_0x12fead(0x34a)](!0x0);}else this[_0x12fead(0x21f)]();}else this[_0x12fead(0x21f)]();}else this[_0x12fead(0x21f)]();})),this[_0x29af6b(0x575)](this['_drawingManagerService'][_0x29af6b(0x342)][_0x29af6b(0x523)](_0x59755a=>{const _0x539973=_0x29af6b;if(_0x59755a[_0x539973(0x298)]===0x1){let _0x14f7fc=_0x59755a[0x0],_0x2286a3=this[_0x539973(0x232)][_0x539973(0x269)](_0x14f7fc);(_0x2286a3==null?void 0x0:_0x2286a3['drawingType'])===_0x4fcc67[_0x539973(0x204)][_0x539973(0x556)]&&this['_activeImageId']===_0x14f7fc[_0x539973(0x457)]&&(this[_0x539973(0x1bd)](),this[_0x539973(0x34a)](!0x0));}})),this['disposeWithMe'](this['_drawingManagerService'][_0x29af6b(0x228)][_0x29af6b(0x523)](_0x8c1936=>{const _0x34f8b0=_0x29af6b;for(let _0x361ce0 of _0x8c1936)this[_0x34f8b0(0x42a)]===_0x361ce0[_0x34f8b0(0x457)]&&this['_resetState']();}));}[_0x439e5d(0x21f)](){const _0x464044=_0x439e5d;this['_activeImageId']=null,this['_unitId']=null,this['_subUnitId']=null,this[_0x464044(0x271)]=void 0x0,this['_clearControls']();}};_0x2aa3d8=_0x5b9725([_0x56348c(0x1,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x3,_0x4fcc67['IUniverInstanceService']),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x2a68d5))],_0x2aa3d8);function _0x557262({ref:_0x77de4,..._0x1e5c75}){const _0x44cff0=_0x439e5d;let {preserveStrokeWidth:_0x23c99f,icon:_0x3f2a25,id:_0x524a81,className:_0x57803e,extend:_0x5104e4,..._0x4d8597}=_0x1e5c75,_0xb8307b=(_0x44cff0(0x390)+_0x524a81+'\x20'+(_0x57803e||''))[_0x44cff0(0x2bf)](),_0x3a2b51='_'+(0x0,_0x9d5ee3['useId'])(),_0xd963b1=(0x0,_0x9d5ee3['useRef'])(null);return(0x0,_0x9d5ee3[_0x44cff0(0x594)])(_0x77de4,()=>_0xd963b1[_0x44cff0(0x256)]),(0x0,_0x9d5ee3['useLayoutEffect'])(()=>{const _0x2e82dd=_0x44cff0;if(_0x23c99f&&_0xd963b1[_0x2e82dd(0x256)]&&_0xd963b1[_0x2e82dd(0x256)][_0x2e82dd(0x3da)]===_0x3f2a25['tag'])return _0x57f7ae(_0xd963b1['current']);},[_0x23c99f,_0x3f2a25]),_0x670fb9(_0x3f2a25,''+_0x524a81,{'defIds':_0x3f2a25[_0x44cff0(0x544)],'idSuffix':_0x3a2b51},{'ref':_0xd963b1,'className':_0xb8307b,..._0x4d8597},_0x5104e4);}function _0x670fb9(_0xe83821,_0x1f1a53,_0x976b46,_0x54aa46,_0x462439){const _0x32ae35=_0x439e5d;return(0x0,_0x9d5ee3[_0x32ae35(0x444)])(_0xe83821['tag'],{'key':_0x1f1a53,..._0x133193(_0xe83821,_0x976b46,_0x462439),..._0x54aa46},(_0xd90e1a(_0xe83821,_0x976b46)[_0x32ae35(0x350)]||[])[_0x32ae35(0x1ff)]((_0x3e9f43,_0x32f4fc)=>_0x670fb9(_0x3e9f43,_0x1f1a53+'-'+_0xe83821[_0x32ae35(0x564)]+'-'+_0x32f4fc,_0x976b46,void 0x0,_0x462439)));}function _0x133193(_0x547560,_0x4f24fd,_0x2ec664){const _0x4d1dad=_0x439e5d;let _0x2d43df={..._0x547560[_0x4d1dad(0x2a9)]};_0x2ec664!=null&&_0x2ec664[_0x4d1dad(0x545)]&&_0x2d43df[_0x4d1dad(0x46e)]===_0x4d1dad(0x545)&&(_0x2d43df[_0x4d1dad(0x46e)]=_0x2ec664[_0x4d1dad(0x545)]),_0x2ec664!=null&&_0x2ec664[_0x4d1dad(0x545)]&&_0x2d43df[_0x4d1dad(0x297)]===_0x4d1dad(0x545)&&(_0x2d43df['stroke']=_0x2ec664[_0x4d1dad(0x545)]),_0x547560[_0x4d1dad(0x564)]===_0x4d1dad(0x299)&&_0x2d43df['id']&&(_0x2d43df['id']+=_0x4f24fd[_0x4d1dad(0x4ae)]),Object[_0x4d1dad(0x51f)](_0x2d43df)[_0x4d1dad(0x386)](([_0x44532d,_0x8abd6a])=>{const _0x383c99=_0x4d1dad;_0x44532d===_0x383c99(0x299)&&typeof _0x8abd6a=='string'&&(_0x2d43df[_0x44532d]=_0x8abd6a[_0x383c99(0x590)](/url\(#(.*)\)/,_0x383c99(0x358)+_0x4f24fd[_0x383c99(0x4ae)]+')'));});let {defIds:_0x32b23f}=_0x4f24fd;return!_0x32b23f||_0x32b23f[_0x4d1dad(0x298)]===0x0||(_0x547560[_0x4d1dad(0x564)]===_0x4d1dad(0x34b)&&_0x2d43df[_0x4d1dad(0x596)]&&(_0x2d43df[_0x4d1dad(0x596)]+=_0x4f24fd[_0x4d1dad(0x4ae)]),Object[_0x4d1dad(0x51f)](_0x2d43df)[_0x4d1dad(0x386)](([_0x34fb09,_0x3036f8])=>{const _0xd70574=_0x4d1dad;typeof _0x3036f8==_0xd70574(0x267)&&(_0x2d43df[_0x34fb09]=_0x3036f8['replace'](/url\(#(.*)\)/,_0xd70574(0x358)+_0x4f24fd['idSuffix']+')'));})),_0x2d43df;}function _0xd90e1a(_0x37a5ec,_0x1584b2){const _0x47988a=_0x439e5d;var _0x386e05;let {defIds:_0x2c7cef}=_0x1584b2;return!_0x2c7cef||_0x2c7cef['length']===0x0?_0x37a5ec:_0x37a5ec['tag']==='defs'&&(_0x386e05=_0x37a5ec['children'])!=null&&_0x386e05[_0x47988a(0x298)]?{..._0x37a5ec,'children':_0x37a5ec[_0x47988a(0x350)][_0x47988a(0x1ff)](_0x1e358c=>typeof _0x1e358c[_0x47988a(0x2a9)]['id']==_0x47988a(0x267)&&_0x2c7cef&&_0x2c7cef[_0x47988a(0x3f9)](_0x1e358c['attrs']['id'])?{..._0x1e358c,'attrs':{..._0x1e358c[_0x47988a(0x2a9)],'id':_0x1e358c[_0x47988a(0x2a9)]['id']+_0x1584b2[_0x47988a(0x4ae)]}}:_0x1e358c)}:_0x37a5ec;}function _0x57f7ae(_0x4e0dbd){const _0x28a4be=_0x439e5d;let _0xff5329=_0x4e0dbd[_0x28a4be(0x560)][_0x28a4be(0x4ac)],_0x26ba2e=Math[_0x28a4be(0x4de)](_0xff5329[_0x28a4be(0x5a5)],_0xff5329['height']);if(!Number['isFinite'](_0x26ba2e)||_0x26ba2e<=0x0||_0xff5329[_0x28a4be(0x5a5)]<=0x0||_0xff5329[_0x28a4be(0x509)]<=0x0)return()=>void 0x0;let _0x4f1257=0x10/_0x26ba2e,_0x274c7b=Array['from'](_0x4e0dbd['querySelectorAll'](_0x28a4be(0x2ac)))[_0x28a4be(0x3b3)](_0x207bf7=>{const _0x3b5cdc=_0x28a4be;let _0x4555bf=getComputedStyle(_0x207bf7),_0x49ae19=Number[_0x3b5cdc(0x4dd)](_0x4555bf[_0x3b5cdc(0x5a4)]);return _0x4555bf[_0x3b5cdc(0x297)]===_0x3b5cdc(0x3d0)||Number[_0x3b5cdc(0x4dd)](_0x4555bf[_0x3b5cdc(0x306)])===0x0||_0x4555bf[_0x3b5cdc(0x531)]===_0x3b5cdc(0x30a)||!Number[_0x3b5cdc(0x468)](_0x49ae19)||_0x49ae19<=0x0?[]:[{'element':_0x207bf7,'hadStyleAttribute':_0x207bf7['hasAttribute']('style'),'originalStrokeWidth':_0x49ae19,'strokeWidth':_0x2de728(_0x207bf7[_0x3b5cdc(0x376)],_0x3b5cdc(0x4d8))}];})['map'](_0x2f7454=>({'appliedStrokeWidth':null,'element':_0x2f7454[_0x28a4be(0x4ba)],'hadStyleAttribute':_0x2f7454[_0x28a4be(0x529)],'isReleased':!0x1,'originalStrokeWidth':_0x2f7454[_0x28a4be(0x322)],'strokeWidth':_0x2f7454[_0x28a4be(0x5a4)]}));if(_0x274c7b['length']===0x0)return()=>void 0x0;let _0x219699=(_0x3b673a,_0x1559c3)=>{const _0xc116cd=_0x28a4be;if(_0xff5329[_0xc116cd(0x5a5)]<=0x0||_0xff5329[_0xc116cd(0x509)]<=0x0||_0x3b673a<=0x0||_0x1559c3<=0x0)return;let _0x9ee65e=Math['min'](_0x3b673a/_0xff5329['width'],_0x1559c3/_0xff5329[_0xc116cd(0x509)]);!Number[_0xc116cd(0x468)](_0x9ee65e)||_0x9ee65e<=0x0||_0x274c7b[_0xc116cd(0x386)](_0x42e96c=>{const _0x4d8eeb=_0xc116cd;if(_0x42e96c[_0x4d8eeb(0x4bf)])return;if(_0x42e96c[_0x4d8eeb(0x32a)]!==null&&(_0x42e96c[_0x4d8eeb(0x4ba)][_0x4d8eeb(0x376)][_0x4d8eeb(0x3ae)](_0x4d8eeb(0x4d8))!==_0x42e96c[_0x4d8eeb(0x32a)]||_0x42e96c['element'][_0x4d8eeb(0x376)][_0x4d8eeb(0x1c2)](_0x4d8eeb(0x4d8))!==_0x42e96c[_0x4d8eeb(0x5a4)][_0x4d8eeb(0x496)])){_0x42e96c[_0x4d8eeb(0x32a)]=null,_0x42e96c[_0x4d8eeb(0x4bf)]=!0x0;return;}let _0x2192b9=_0x42e96c['originalStrokeWidth']*_0x4f1257/_0x9ee65e,_0x57772f=Number(_0x2192b9[_0x4d8eeb(0x543)](0xc))+'px';_0x42e96c[_0x4d8eeb(0x4ba)][_0x4d8eeb(0x376)]['setProperty'](_0x4d8eeb(0x4d8),_0x57772f,_0x42e96c['strokeWidth'][_0x4d8eeb(0x496)]),_0x42e96c[_0x4d8eeb(0x32a)]=_0x57772f;});},_0x555c47=_0x4e0dbd[_0x28a4be(0x45c)]();_0x219699(_0x555c47['width'],_0x555c47[_0x28a4be(0x509)]);let _0x4c7897=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x35647d=>{const _0x3a344a=_0x28a4be;if(_0x35647d['some'](_0x17b171=>_0x17b171[_0x3a344a(0x4a6)]===_0x4e0dbd)){let _0x55f576=_0x4e0dbd[_0x3a344a(0x45c)]();_0x219699(_0x55f576[_0x3a344a(0x5a5)],_0x55f576[_0x3a344a(0x509)]);}});return _0x4c7897==null||_0x4c7897['observe'](_0x4e0dbd),()=>{const _0x3954f4=_0x28a4be;_0x4c7897==null||_0x4c7897[_0x3954f4(0x200)](),_0x274c7b['forEach'](_0x1f0da6=>{const _0x3562ab=_0x3954f4;_0x1f0da6[_0x3562ab(0x32a)]!==null&&(_0x446eb6(_0x1f0da6['element']['style'],_0x3562ab(0x4d8),_0x1f0da6['appliedStrokeWidth'],_0x1f0da6[_0x3562ab(0x5a4)][_0x3562ab(0x496)],_0x1f0da6[_0x3562ab(0x5a4)]),!_0x1f0da6['hadStyleAttribute']&&_0x1f0da6[_0x3562ab(0x4ba)][_0x3562ab(0x376)][_0x3562ab(0x298)]===0x0&&_0x1f0da6[_0x3562ab(0x4ba)]['removeAttribute'](_0x3562ab(0x376)));});};}function _0x2de728(_0x231b01,_0x538434){const _0x2879fe=_0x439e5d;return{'priority':_0x231b01[_0x2879fe(0x1c2)](_0x538434),'value':_0x231b01[_0x2879fe(0x3ae)](_0x538434)};}function _0x446eb6(_0xecf74e,_0x275a90,_0x1328b0,_0x23fe0a,_0x98c8fb){const _0x51743f=_0x439e5d;_0xecf74e[_0x51743f(0x3ae)](_0x275a90)===_0x1328b0&&_0xecf74e['getPropertyPriority'](_0x275a90)===_0x23fe0a&&(_0x98c8fb['value']?_0xecf74e[_0x51743f(0x28e)](_0x275a90,_0x98c8fb[_0x51743f(0x3f0)],_0x98c8fb['priority']):_0xecf74e['removeProperty'](_0x275a90));}_0x557262[_0x439e5d(0x4b7)]=_0x439e5d(0x4ec);let _0x26edaa={'tag':_0x439e5d(0x332),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x574),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x439e5d(0x217),'fillRule':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':'currentColor','d':_0x439e5d(0x34c)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x29d)}}]},_0x2a1fa2=(0x0,_0x9d5ee3['forwardRef'])(function(_0x1fce7f,_0x280af1){const _0x1f6e86=_0x439e5d;return(0x0,_0x9d5ee3['createElement'])(_0x557262,Object[_0x1f6e86(0x32b)]({},_0x1fce7f,{'id':_0x1f6e86(0x2b7),'ref':_0x280af1,'icon':_0x26edaa}));});_0x2a1fa2['displayName']=_0x439e5d(0x3b2);let _0x4bad3a={'tag':_0x439e5d(0x332),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x439e5d(0x420),'width':'1em','height':'1em'},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x49d),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x452),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M8\x202.2V3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x368),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x2ea),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x264),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}}]},_0x549556=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x53ac63,_0x29b8ec){const _0x63ce3a=_0x439e5d;return(0x0,_0x9d5ee3[_0x63ce3a(0x444)])(_0x557262,Object[_0x63ce3a(0x32b)]({},_0x53ac63,{'id':_0x63ce3a(0x366),'ref':_0x29b8ec,'icon':_0x4bad3a}));});_0x549556[_0x439e5d(0x4b7)]=_0x439e5d(0x567);let _0x4d1c59={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':'0\x200\x2016\x2016','width':_0x439e5d(0x2de),'height':'1em'},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x442),'strokeLinecap':'round','strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M2.2\x208H3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x2bc),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x56a),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x495),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}}]},_0x2c9f6c=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x15aa3b,_0x18d035){const _0x251ff8=_0x439e5d;return(0x0,_0x9d5ee3[_0x251ff8(0x444)])(_0x557262,Object[_0x251ff8(0x32b)]({},_0x15aa3b,{'id':_0x251ff8(0x33e),'ref':_0x18d035,'icon':_0x4d1c59}));});_0x2c9f6c[_0x439e5d(0x4b7)]=_0x439e5d(0x3c9);let _0x54f2c7={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':'path','attrs':{'fill':_0x439e5d(0x48a),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':'evenodd','clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x436)}}]},_0x49a981=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x404ec0,_0xa08dfa){const _0x46d95c=_0x439e5d;return(0x0,_0x9d5ee3['createElement'])(_0x557262,Object[_0x46d95c(0x32b)]({},_0x404ec0,{'id':_0x46d95c(0x29a),'ref':_0xa08dfa,'icon':_0x54f2c7}));});_0x49a981['displayName']=_0x439e5d(0x3e0);let _0x45161a={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x1db),'fillRule':'evenodd','clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x17dd09=(0x0,_0x9d5ee3['forwardRef'])(function(_0x44303b,_0x5f28e4){const _0x238aae=_0x439e5d;return(0x0,_0x9d5ee3[_0x238aae(0x444)])(_0x557262,Object[_0x238aae(0x32b)]({},_0x44303b,{'id':_0x238aae(0x3a4),'ref':_0x5f28e4,'icon':_0x45161a}));});_0x17dd09['displayName']=_0x439e5d(0x5a0);let _0x4df6a3={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x4d3),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x3a0),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}}]},_0x22dce5=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x4f56cb,_0x4a5634){const _0x222d02=_0x439e5d;return(0x0,_0x9d5ee3[_0x222d02(0x444)])(_0x557262,Object[_0x222d02(0x32b)]({},_0x4f56cb,{'id':_0x222d02(0x541),'ref':_0x4a5634,'icon':_0x4df6a3}));});_0x22dce5[_0x439e5d(0x4b7)]=_0x439e5d(0x557);let _0x2ec1f8={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x294),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x4aa),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x400),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x50c),'strokeLinejoin':'round'}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x2e9)}}]},_0x2e5e30=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x504d98,_0x1f30b1){const _0x1c19d4=_0x439e5d;return(0x0,_0x9d5ee3[_0x1c19d4(0x444)])(_0x557262,Object[_0x1c19d4(0x32b)]({},_0x504d98,{'id':_0x1c19d4(0x4c0),'ref':_0x1f30b1,'icon':_0x2ec1f8}));});_0x2e5e30[_0x439e5d(0x4b7)]=_0x439e5d(0x432);let _0x780eb6={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x574),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x41d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':'currentColor','d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':_0x439e5d(0x30d),'clipRule':'evenodd'}}]},_0x2c1706=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x16bbb9,_0x2c0583){const _0x4414b5=_0x439e5d;return(0x0,_0x9d5ee3[_0x4414b5(0x444)])(_0x557262,Object['assign']({},_0x16bbb9,{'id':'topmost-icon','ref':_0x2c0583,'icon':_0x780eb6}));});_0x2c1706['displayName']='TopmostIcon';function _0xfd5748(_0x1dd399){return _0x1dd399['trim']()||void 0x0;}function _0x379802(_0xd87084,_0x17e0e9,_0x198080){const _0x5edd07=_0x439e5d;var _0x163494;return((_0x163494=_0xd87084[_0x5edd07(0x28d)])==null?void 0x0:_0x163494['trim']())||_0x198080['t'](_0x5edd07(0x1e7)+(0x0,_0x1a617a[_0x5edd07(0x5a2)])(_0xd87084['drawingType']))+'\x20'+(_0x17e0e9+0x1);}function _0x152447({PanelComponent:_0x49d5fa=_0x108bdb[_0x439e5d(0x44c)]}){const _0xc7969=_0x439e5d;var _0x9a5041;let _0x148db3=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0xc7969(0x4fb)]),_0x162ecf={'title':_0x148db3['t'](_0xc7969(0x3a9)),'empty':_0x148db3['t'](_0xc7969(0x2c8)),'showAll':_0x148db3['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x148db3['t'](_0xc7969(0x3ac)),'lockAll':_0x148db3['t'](_0xc7969(0x3b8)),'unlockAll':_0x148db3['t'](_0xc7969(0x31e)),'moveForward':_0x148db3['t'](_0xc7969(0x310)),'moveBackward':_0x148db3['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x148db3['t']('drawing-ui.objectListPanel.close'),'show':_0x148db3['t'](_0xc7969(0x2e0)),'hide':_0x148db3['t']('drawing-ui.objectListPanel.hide'),'lock':_0x148db3['t'](_0xc7969(0x56d)),'unlock':_0x148db3['t'](_0xc7969(0x1b4)),'lockHint':_0x148db3['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x148db3['t'](_0xc7969(0x349)),'name':_0x148db3['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x148db3['t'](_0xc7969(0x584)),'description':_0x148db3['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x148db3['t'](_0xc7969(0x5a9)),'details':_0x148db3['t'](_0xc7969(0x46a)),'noSelection':_0x148db3['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x148db3['t'](_0xc7969(0x348)),'expand':_0x148db3['t'](_0xc7969(0x36c)),'collapse':_0x148db3['t'](_0xc7969(0x588)),'dragToReorder':_0x148db3['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x148db3['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x148db3['t'](_0xc7969(0x32e)),'filterHidden':_0x148db3['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x148db3['t'](_0xc7969(0x214)),'sectionCanvas':_0x148db3['t'](_0xc7969(0x23e)),'sectionFloating':_0x148db3['t'](_0xc7969(0x521))},_0x48a167=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0xc7969(0x286)]),_0x392dc9=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x4fcc67[_0xc7969(0x3e3)]),_0x1da731=(0x0,_0x3412e6['useDependency'])(_0x51f92a[_0xc7969(0x475)]),_0xcf26a3=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x89eb48[_0xc7969(0x211)]),_0x35ee0d=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x5e3080[_0xc7969(0x265)]),[,_0x2272c]=(0x0,_0x9d5ee3[_0xc7969(0x1b9)])(_0x4f0104=>_0x4f0104+0x1,0x0),_0x35670e=_0x392dc9[_0xc7969(0x296)](_0x4fcc67[_0xc7969(0x578)]['UNIVER_SHEET']),_0x4c2533=(_0x35670e==null?void 0x0:_0x35670e[_0xc7969(0x54e)]())??'',_0x5c9a74=(_0x35670e==null||(_0x9a5041=_0x35670e[_0xc7969(0x2c9)]())==null?void 0x0:_0x9a5041[_0xc7969(0x248)]())??'',_0x245df3=(0x0,_0x3412e6[_0xc7969(0x3d6)])(()=>_0xcf26a3[_0xc7969(0x328)],_0xcf26a3[_0xc7969(0x52f)](),!0x1,[_0xcf26a3]);(0x0,_0x9d5ee3[_0xc7969(0x396)])(()=>{const _0x13b999=_0xc7969;let _0x5968d6=_0x48a167[_0x13b999(0x4a4)](()=>_0x2272c());return()=>_0x5968d6[_0x13b999(0x27e)]();},[_0x48a167]);let _0x6ec962=_0x4c2533&&_0x5c9a74?_0x1da731[_0xc7969(0x537)](_0x4c2533,_0x5c9a74):{},_0x1be5e4=(_0x4c2533&&_0x5c9a74?_0x1da731['getDrawingOrder'](_0x4c2533,_0x5c9a74):[])[_0xc7969(0x1ff)](_0x30b7e4=>_0x6ec962[_0x30b7e4])[_0xc7969(0x4a3)](_0x51ee33=>!!_0x51ee33)[_0xc7969(0x1b2)](),_0x47e442=_0x1be5e4[_0xc7969(0x40d)]((_0x4719c1,_0x420f5c)=>(_0x4719c1[(0x0,_0x108bdb[_0xc7969(0x4e5)])(_0x420f5c['drawingType'])]+=0x1,_0x4719c1),{'canvas':0x0,'floating':0x0}),_0x3ce257={'canvas':0x0,'floating':0x0},_0x440862=_0x1be5e4[_0xc7969(0x1ff)]((_0x1c2389,_0x1e3a42)=>{const _0x4f7dd7=_0xc7969;let _0x314079=(0x0,_0x108bdb['getObjectListPanelSectionIdForDrawingType'])(_0x1c2389[_0x4f7dd7(0x31a)]),_0x424284=_0x314079===_0x108bdb['OBJECT_LIST_FLOATING_SECTION_ID'],_0xcb9ddf=_0x3ce257[_0x314079]++;return{'id':_0x1c2389['drawingId'],'name':_0x379802(_0x1c2389,_0x1e3a42,_0x148db3),'description':_0x1c2389['description'],'visible':_0x1c2389[_0x4f7dd7(0x465)]!==!0x0,'selectable':_0x1c2389[_0x4f7dd7(0x1dc)]!==!0x1,'sectionId':_0x314079,'sectionTitle':_0x424284?_0x162ecf['sectionFloating']:_0x162ecf[_0x4f7dd7(0x31c)],'capabilities':_0x424284?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x424284&&_0xcb9ddf>0x0,'canMoveBackward':!_0x424284&&_0xcb9ddf<_0x47e442[_0x4f7dd7(0x2d0)]-0x1,'canReorder':!_0x424284};}),_0x473e95=(0x0,_0x9d5ee3[_0xc7969(0x59b)])(()=>(_0x245df3??[])[_0xc7969(0x4a3)](_0x4d09f6=>_0x4d09f6['unitId']===_0x4c2533&&_0x4d09f6[_0xc7969(0x555)]===_0x5c9a74)[_0xc7969(0x1ff)](_0x4172a1=>_0x4172a1[_0xc7969(0x457)]),[_0x245df3,_0x5c9a74,_0x4c2533]),_0x3a362f=_0x473e95[_0x473e95[_0xc7969(0x298)]-0x1]??null,_0x1dd4d5=_0x50a395=>_0x1da731[_0xc7969(0x269)]({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x50a395})??null,_0x38065b=async _0x2a2b10=>{const _0x55b2f=_0xc7969;_0x4c2533&&_0x2a2b10[_0x55b2f(0x298)]&&await _0x48a167[_0x55b2f(0x4b3)](_0x51f92a[_0x55b2f(0x40c)]['id'],{'unitId':_0x4c2533,'drawings':_0x2a2b10});},_0x3ad891=async(_0x2bf0ce,_0x3b3e0b)=>{_0x1dd4d5(_0x2bf0ce)&&await _0x38065b([{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x2bf0ce,..._0x3b3e0b}]);},_0x3b7839=(_0x1851cb,_0x59a677)=>{const _0x16cebd=_0xc7969;if(!_0x4c2533||!_0x5c9a74)return;let _0x5ab962=_0x59a677?_0x473e95[_0x16cebd(0x3f9)](_0x1851cb)?_0x473e95[_0x16cebd(0x4a3)](_0x10060e=>_0x10060e!==_0x1851cb):[..._0x473e95,_0x1851cb]:[_0x1851cb];_0x48a167[_0x16cebd(0x456)](_0x89eb48[_0x16cebd(0x4bc)]['id'],_0x5ab962[_0x16cebd(0x1ff)](_0x803636=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x803636})));let _0x28317c=_0x5ab962[_0x5ab962['length']-0x1];_0x28317c?(0x0,_0x1a617a[_0x16cebd(0x418)])(_0x35ee0d,{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x28317c}):(0x0,_0x1a617a[_0x16cebd(0x54c)])(_0x35ee0d,_0x4c2533);},_0x1ce3e7=async(_0x218dd3,_0x1547a5)=>{const _0x4a3b8=_0xc7969;await _0x38065b(_0x218dd3[_0x4a3b8(0x1ff)](_0x5af479=>_0x1dd4d5(_0x5af479))[_0x4a3b8(0x4a3)](_0x58c227=>!!_0x58c227)[_0x4a3b8(0x4a3)](_0x3f31ec=>_0x3f31ec[_0x4a3b8(0x465)]!==!0x0!==_0x1547a5)[_0x4a3b8(0x1ff)](_0x4df211=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x4df211['drawingId'],'hidden':!_0x1547a5})));},_0x4d51d8=async(_0x45e97f,_0x56e77c)=>{const _0x2dd694=_0xc7969;await _0x38065b(_0x45e97f[_0x2dd694(0x1ff)](_0x47ab02=>_0x1dd4d5(_0x47ab02))[_0x2dd694(0x4a3)](_0x5dd6cc=>!!_0x5dd6cc)[_0x2dd694(0x4a3)](_0x339cbe=>_0x339cbe['selectable']!==!0x1!==_0x56e77c)['map'](_0x239759=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x239759[_0x2dd694(0x457)],'selectable':_0x56e77c})));},_0x13ff90=_0x42cc1f=>{const _0xdb6c33=_0xc7969;let _0x258b0b=_0x1dd4d5(_0x42cc1f);if(_0x258b0b)return _0x4d51d8([_0x42cc1f],_0x258b0b[_0xdb6c33(0x1dc)]===!0x1);},_0x1303d6=async(_0xf869aa,_0x20b67a)=>{const _0x5c8742=_0xc7969;var _0x28bae0;let _0x3611bf=_0xfd5748(_0x20b67a);(((_0x28bae0=_0x1dd4d5(_0xf869aa))==null?void 0x0:_0x28bae0[_0x5c8742(0x28d)])??void 0x0)!==_0x3611bf&&await _0x3ad891(_0xf869aa,{'name':_0x3611bf});},_0x3c825e=async(_0x3debd0,_0x17fee5)=>{const _0x4d2bdf=_0xc7969;var _0x5b059f;let _0x4486ba=_0xfd5748(_0x17fee5);(((_0x5b059f=_0x1dd4d5(_0x3debd0))==null?void 0x0:_0x5b059f[_0x4d2bdf(0x364)])??void 0x0)!==_0x4486ba&&await _0x3ad891(_0x3debd0,{'description':_0x4486ba});},_0x4aa429=async(_0x32fdb1,_0x223240)=>{const _0x351fa4=_0xc7969;_0x4c2533&&_0x5c9a74&&await _0x48a167[_0x351fa4(0x4b3)](_0x51f92a[_0x351fa4(0x393)]['id'],{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingIds':[_0x32fdb1],'arrangeType':_0x223240});};return!_0x4c2533||!_0x5c9a74?(0x0,_0x58bcbb['jsx'])('div',{'className':_0xc7969(0x307),'children':_0x162ecf[_0xc7969(0x579)]}):(0x0,_0x58bcbb[_0xc7969(0x58f)])(_0x49d5fa,{'labels':_0x162ecf,'items':_0x440862,'selectedIds':_0x473e95,'focusedId':_0x3a362f,'showHeader':!0x1,'onSelect':_0x3b7839,'onSetVisible':_0x1ce3e7,'onSetSelectable':_0x4d51d8,'onCommitName':_0x1303d6,'onCommitDescription':_0x3c825e,'onMoveForward':async _0x14b0e9=>_0x4aa429(_0x14b0e9,_0x4fcc67[_0xc7969(0x5a8)]['forward']),'onMoveBackward':async _0x6711c0=>_0x4aa429(_0x6711c0,_0x4fcc67[_0xc7969(0x5a8)]['backward']),'onToggleSelectable':_0x13ff90});}function _0x1b7e26(){const _0x282381=_0x439e5d;return(0x0,_0x58bcbb[_0x282381(0x58f)])(_0x152447,{'PanelComponent':_0x108bdb[_0x282381(0x2b2)]});}let _0x15f53e=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x53c6b0,_0x18a51c){const _0x4a95d4=_0x439e5d;super(),this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x473a2b,_0x1b7e26)),this[_0x4a95d4(0x575)](_0x18a51c[_0x4a95d4(0x440)]({'BottomIcon':_0x2a1fa2,'FlipHorizontalIcon':_0x549556,'FlipVerticalIcon':_0x2c9f6c,'MoveDownIcon':_0x49a981,'MoveUpIcon':_0x17dd09,'ObjectLayersIcon':_0x22dce5,'ShapeFormatSettingIcon':_0x2e5e30,'TopmostIcon':_0x2c1706})),this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x1b11f8,_0x10ef89)),this['disposeWithMe'](_0x53c6b0['register'](_0x4a3dfe,_0x571429)),_0x53c6b0[_0x4a95d4(0x54a)](_0x108bdb['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x108bdb[_0x4a95d4(0x569)],_0x233a38));}};_0x15f53e=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x3fb)])),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x439)]))],_0x15f53e);let _0x2d6cbb=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5872dd){const _0x95c935=_0x439e5d;super(),this[_0x95c935(0x56e)]=_0x5872dd,_0x355f4a(this,_0x95c935(0x39a),new _0x5597c9[(_0x95c935(0x30b))](null)),_0x355f4a(this,_0x95c935(0x4d0),this['_editingParams$'][_0x95c935(0x540)]()),_0x355f4a(this,'_onSavingEditorData$',new _0x5597c9[(_0x95c935(0x30b))](!0x1)),_0x355f4a(this,'onSavingEditorData$',this[_0x95c935(0x3fa)][_0x95c935(0x540)]()),_0x355f4a(this,_0x95c935(0x4ff),void 0x0),this[_0x95c935(0x575)](this[_0x95c935(0x56e)]['permissionPointUpdate$']['subscribe'](()=>{const _0x6cda2e=_0x95c935;let _0x81d888=this[_0x6cda2e(0x448)]();_0x81d888!=null&&_0x81d888[_0x6cda2e(0x30f)]&&!this[_0x6cda2e(0x32f)](_0x81d888)&&this[_0x6cda2e(0x480)](null);}));}['dispose'](){const _0x474707=_0x439e5d;this[_0x474707(0x2f3)](),this[_0x474707(0x39a)][_0x474707(0x4e3)](null),this[_0x474707(0x39a)][_0x474707(0x447)](),this[_0x474707(0x3fa)]['next'](!0x1),this[_0x474707(0x3fa)][_0x474707(0x447)](),super['dispose']();}[_0x439e5d(0x480)](_0x22826e){const _0x434910=_0x439e5d;(_0x22826e==null||!_0x22826e[_0x434910(0x30f)]||this['_canEdit'](_0x22826e))&&(this[_0x434910(0x2f3)](),this[_0x434910(0x39a)][_0x434910(0x4e3)](_0x22826e),(_0x22826e==null||_0x22826e[_0x434910(0x30f)]&&this['_onSavingEditorData$'][_0x434910(0x268)]())&&this[_0x434910(0x3fa)][_0x434910(0x4e3)](!0x1));}[_0x439e5d(0x336)](_0x4be1ce){const _0x5b0f42=_0x439e5d;this[_0x5b0f42(0x3fa)][_0x5b0f42(0x4e3)](_0x4be1ce);}[_0x439e5d(0x448)](){const _0x308bd5=_0x439e5d;return this[_0x308bd5(0x39a)][_0x308bd5(0x268)]();}['_canEdit'](_0x450152){const _0x13b73f=_0x439e5d;let _0x12623b=this[_0x13b73f(0x56e)][_0x13b73f(0x3f6)](new _0x33d9c6[(_0x13b73f(0x484))](_0x450152['unitId'])['id']),_0x103d73=this[_0x13b73f(0x56e)][_0x13b73f(0x3f6)](new _0x33d9c6['WorksheetEditPermission'](_0x450152['unitId'],_0x450152[_0x13b73f(0x555)])['id']);return((_0x12623b==null?void 0x0:_0x12623b[_0x13b73f(0x3f0)])??!0x0)&&((_0x103d73==null?void 0x0:_0x103d73[_0x13b73f(0x3f0)])??!0x0);}['completeEditing'](_0x211751){const _0x3b41f7=_0x439e5d;let _0x5a865c=this[_0x3b41f7(0x448)]();_0x5a865c&&this[_0x3b41f7(0x4ff)]===void 0x0&&(this[_0x3b41f7(0x336)](!0x0),this[_0x3b41f7(0x4ff)]=requestAnimationFrame(()=>{this['_completionFrame']=void 0x0,this['getEditing']()===_0x5a865c&&this['setEditing'](null);}));}[_0x439e5d(0x2f3)](){const _0x32ad90=_0x439e5d;this[_0x32ad90(0x4ff)]!==void 0x0&&(cancelAnimationFrame(this[_0x32ad90(0x4ff)]),this[_0x32ad90(0x4ff)]=void 0x0);}[_0x439e5d(0x532)](){const _0x59609d=_0x439e5d;this[_0x59609d(0x448)]()&&this[_0x59609d(0x480)](null);}};_0x2d6cbb=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x2ec)])],_0x2d6cbb);let _0x203689=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x24b411,_0x1bd992,_0x49cf0c,_0x32bbfc,_0x36c2b7,_0x54f412){const _0x231572=_0x439e5d;super(),this[_0x231572(0x316)]=_0x24b411,this[_0x231572(0x492)]=_0x1bd992,this[_0x231572(0x3e4)]=_0x49cf0c,this[_0x231572(0x232)]=_0x32bbfc,this[_0x231572(0x3c8)]=_0x36c2b7,this['_sheetsShapeService']=_0x54f412,_0x355f4a(this,_0x231572(0x38d),null),this[_0x231572(0x304)](),this[_0x231572(0x2b1)](),this[_0x231572(0x462)]();}[_0x439e5d(0x304)](){const _0x1e7002=_0x439e5d;let {scene:_0x27a91f}=this[_0x1e7002(0x316)];this[_0x1e7002(0x575)](_0x27a91f[_0x1e7002(0x530)][_0x1e7002(0x320)](_0x5a658f=>{const _0x3d7e67=_0x1e7002;let {offsetX:_0x5b2a2c,offsetY:_0x4400aa}=_0x5a658f,_0x3dedf7=_0x27a91f[_0x3d7e67(0x2aa)](_0x5e3080['Vector2'][_0x3d7e67(0x201)]([_0x5b2a2c,_0x4400aa]));if(_0x3dedf7 instanceof _0x11dd97){let _0x3e6a1c=this[_0x3d7e67(0x4f6)][_0x3d7e67(0x1df)](_0x3dedf7[_0x3d7e67(0x3a2)],_0x3dedf7[_0x3d7e67(0x555)],_0x3dedf7[_0x3d7e67(0x1cf)]);if((0x0,_0x42c76f[_0x3d7e67(0x2a1)])(this[_0x3d7e67(0x4f6)][_0x3d7e67(0x587)](_0x3dedf7[_0x3d7e67(0x3a2)],_0x3dedf7['subUnitId'],_0x3dedf7[_0x3d7e67(0x1cf)]))||_0x3e6a1c!=null&&_0x3e6a1c[_0x3d7e67(0x339)]()[_0x3d7e67(0x4d5)])return;this[_0x3d7e67(0x3e4)]['setEditing']({'visible':!0x0,'unitId':_0x3dedf7[_0x3d7e67(0x3a2)],'subUnitId':_0x3dedf7[_0x3d7e67(0x555)],'shapeId':_0x3dedf7[_0x3d7e67(0x1cf)],'shapeKey':_0x3dedf7['oKey']});}}));}[_0x439e5d(0x2b1)](){const _0x536a1f=_0x439e5d;this[_0x536a1f(0x575)](this[_0x536a1f(0x232)][_0x536a1f(0x328)][_0x536a1f(0x523)](_0x57e59d=>{const _0x3df5e4=_0x536a1f;if(_0x57e59d[_0x3df5e4(0x298)]===0x1){let _0x149b48=_0x57e59d[0x0],_0x20ec69=this[_0x3df5e4(0x232)][_0x3df5e4(0x269)](_0x149b48);if((_0x20ec69==null?void 0x0:_0x20ec69[_0x3df5e4(0x31a)])===_0x4fcc67[_0x3df5e4(0x204)]['DRAWING_SHAPE']){var _0xbf0463;let _0x37e3be=this[_0x3df5e4(0x3e4)][_0x3df5e4(0x448)]();if((_0x37e3be==null?void 0x0:_0x37e3be[_0x3df5e4(0x1cf)])===_0x149b48[_0x3df5e4(0x457)]&&_0x37e3be[_0x3df5e4(0x30f)])return;let _0x34c5ba=(0x0,_0x42c76f[_0x3df5e4(0x2a1)])(this['_sheetsShapeService'][_0x3df5e4(0x587)](_0x149b48[_0x3df5e4(0x3a2)],_0x149b48[_0x3df5e4(0x555)],_0x149b48[_0x3df5e4(0x457)])),_0x4b699d=!!((_0xbf0463=this[_0x3df5e4(0x4f6)][_0x3df5e4(0x1df)](_0x149b48['unitId'],_0x149b48['subUnitId'],_0x149b48[_0x3df5e4(0x457)]))!=null&&_0xbf0463[_0x3df5e4(0x339)]()[_0x3df5e4(0x4d5)]);(_0x34c5ba||_0x4b699d)&&this[_0x3df5e4(0x3e4)][_0x3df5e4(0x480)](null);}else this[_0x3df5e4(0x3e4)]['completeEditing']();}else this[_0x3df5e4(0x3e4)][_0x3df5e4(0x295)]();})),this[_0x536a1f(0x575)](this[_0x536a1f(0x232)][_0x536a1f(0x228)][_0x536a1f(0x523)](_0x4706ae=>{const _0x48639d=_0x536a1f;let _0x382fc7=this[_0x48639d(0x3e4)]['getEditing']();_0x382fc7&&_0x4706ae[_0x48639d(0x2a2)](_0x11463e=>_0x11463e['drawingId']===_0x382fc7[_0x48639d(0x1cf)])&&this[_0x48639d(0x3e4)][_0x48639d(0x480)](null);}));}[_0x439e5d(0x462)](){const _0xe81401=_0x439e5d;this[_0xe81401(0x575)](this[_0xe81401(0x3e4)]['editingParams$'][_0xe81401(0x523)](_0x2e06ef=>{const _0x121044=_0xe81401;let {scene:_0xd8e6f0}=this[_0x121044(0x316)];if(this[_0x121044(0x38d)]){let _0x296343=_0xd8e6f0[_0x121044(0x2b6)](this[_0x121044(0x38d)]);_0x296343&&_0x296343[_0x121044(0x480)](!0x1);}if(_0x2e06ef){let _0x3809ba=!!_0x2e06ef[_0x121044(0x30f)],_0x28745f=_0xd8e6f0[_0x121044(0x2b6)](_0x2e06ef['shapeKey']);_0x28745f&&(_0x28745f[_0x121044(0x480)](_0x3809ba),this[_0x121044(0x38d)]=_0x2e06ef[_0x121044(0x369)]),this[_0x121044(0x3c8)][_0x121044(0x1cd)](_0x4fcc67['FOCUSING_SHAPE_TEXT_EDITOR'],_0x3809ba);}else this[_0x121044(0x38d)]=null,this[_0x121044(0x3c8)]['setContextValue'](_0x4fcc67[_0x121044(0x1f7)],!0x1);}));}};_0x203689=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x3a1)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService']))],_0x203689);var _0x1621e0=class extends _0x203689{[_0x439e5d(0x304)](){const _0x1bf517=_0x439e5d;let {scene:_0x3af662}=this[_0x1bf517(0x316)],_0x1171d3=this[_0x1bf517(0x492)][_0x1bf517(0x55f)](_0x1a617a[_0x1bf517(0x38a)]);this[_0x1bf517(0x575)](_0x3af662[_0x1bf517(0x530)][_0x1bf517(0x320)](_0x35b0de=>{const _0x4e6cce=_0x1bf517;let {offsetX:_0x4e4194,offsetY:_0x1e74df}=_0x35b0de,_0x5d99be=_0x3af662[_0x4e6cce(0x2aa)](_0x5e3080[_0x4e6cce(0x2d2)][_0x4e6cce(0x201)]([_0x4e4194,_0x1e74df]));if(!(_0x5d99be instanceof _0x11dd97))return;let _0x4ea950=this[_0x4e6cce(0x4f6)][_0x4e6cce(0x1df)](_0x5d99be[_0x4e6cce(0x3a2)],_0x5d99be[_0x4e6cce(0x555)],_0x5d99be['shapeId']);(0x0,_0x42c76f[_0x4e6cce(0x2a1)])(this[_0x4e6cce(0x4f6)][_0x4e6cce(0x587)](_0x5d99be['unitId'],_0x5d99be[_0x4e6cce(0x555)],_0x5d99be[_0x4e6cce(0x1cf)]))||_0x4ea950!=null&&_0x4ea950['getShapeData']()[_0x4e6cce(0x4d5)]||_0x1171d3[_0x4e6cce(0x2e6)]('text',{'hostType':_0x4fcc67[_0x4e6cce(0x578)][_0x4e6cce(0x28f)],'unitId':_0x5d99be[_0x4e6cce(0x3a2)],'subUnitId':_0x5d99be[_0x4e6cce(0x555)],'shapeId':_0x5d99be[_0x4e6cce(0x1cf)]});}));}};let _0x1482e7={..._0x2b234f},_0x53caa5=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x417854,_0x5af7f7,_0x5539a8,_0x1a9d48,_0xbecd98,_0x50ca4d,_0x21b255,_0xd5c85b){const _0x357300=_0x439e5d;super(),this[_0x357300(0x4fd)]=_0x417854,this['_sheetsShapeService']=_0x5af7f7,this[_0x357300(0x30c)]=_0x5539a8,this['_drawingManagerService']=_0x1a9d48,this[_0x357300(0x20a)]=_0xbecd98,this[_0x357300(0x3c8)]=_0x50ca4d,this['_renderManagerService']=_0x21b255,this['_shapeTextEditingService']=_0xd5c85b,_0x355f4a(this,'_shapePopupMenuDisposable',null),this['_menuManagerService'][_0x357300(0x301)](_0x1482e7),this[_0x357300(0x438)](),this[_0x357300(0x575)](this[_0x357300(0x3e4)]['editingParams$'][_0x357300(0x523)](_0x34e463=>{const _0x3f82bc=_0x357300;_0x34e463&&this[_0x3f82bc(0x2a8)]();}));}[_0x439e5d(0x46f)](){const _0x3b2588=_0x439e5d;this[_0x3b2588(0x21d)]||=this['disposeWithMe']((0x0,_0x1a617a[_0x3b2588(0x24e)])(this[_0x3b2588(0x35d)],_0x4fcc67['UniverInstanceType'][_0x3b2588(0x28f)],_0x46bc1e=>this['_popupMenuListener'](_0x46bc1e)));}[_0x439e5d(0x438)](){const _0x195780=_0x439e5d;this[_0x195780(0x20a)][_0x195780(0x4c2)](_0x4fcc67[_0x195780(0x204)][_0x195780(0x4b8)],(_0x59dfe4,_0x435799,_0x3f86b8,_0x3055b1)=>{const _0x524aa8=_0x195780;let _0x599ea0=this['_sheetsShapeService'][_0x524aa8(0x352)](_0x59dfe4,_0x435799,_0x3f86b8),_0x80a3c6=this['_sheetsShapeService'][_0x524aa8(0x343)](_0x59dfe4,_0x435799,_0x3f86b8),_0x444f9c=_0x599ea0!==void 0x0&&!(0x0,_0x42c76f[_0x524aa8(0x2a1)])(_0x599ea0)&&!(_0x80a3c6!=null&&_0x80a3c6[_0x524aa8(0x4d5)]);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x20217e['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'mode':'style'},'disable':!0x1},..._0x444f9c?[{'label':_0x524aa8(0x2f4),'index':0x1,'commandId':_0x20217e['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'mode':_0x524aa8(0x2fa)},'disable':!0x1}]:[],{'label':_0x524aa8(0x2fd),'index':0x2,'commandId':_0x51f92a[_0x524aa8(0x56b)]['id'],'commandParams':{'unitId':_0x59dfe4,'drawings':[{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'drawingType':_0x3055b1}]},'disable':!0x1},{'label':_0x524aa8(0x379),'index':0x3,'commandId':_0x43ee3e[_0x524aa8(0x3c7)]['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'shapeId':_0x3f86b8,'flipH':!0x0},'disable':!0x1},{'label':_0x524aa8(0x5b2),'index':0x4,'commandId':_0x43ee3e[_0x524aa8(0x3c7)]['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'shapeId':_0x3f86b8,'flipV':!0x0},'disable':!0x1}];},'sheets-shape-ui.title');}['_popupMenuListener'](_0x5aedda){const _0x46ac75=_0x439e5d;let _0x4805fa=new _0x4fcc67[(_0x46ac75(0x4b6))](),_0x7e73bd=null,_0x21f30a=()=>{const _0x13e30d=_0x46ac75;if(!_0x7e73bd)return;let _0x2c661f=this['_drawingManagerService'][_0x13e30d(0x52f)](),_0x5b70f0=_0x2c661f[_0x13e30d(0x298)]===0x0||_0x2c661f['length']===0x1&&_0x2c661f[_0x13e30d(0x2a2)](_0x48a55b=>_0x48a55b['unitId']===(_0x7e73bd==null?void 0x0:_0x7e73bd['unitId'])&&_0x48a55b[_0x13e30d(0x555)]===(_0x7e73bd==null?void 0x0:_0x7e73bd[_0x13e30d(0x555)])&&_0x48a55b[_0x13e30d(0x457)]===(_0x7e73bd==null?void 0x0:_0x7e73bd[_0x13e30d(0x457)]));_0x7e73bd=null,_0x5b70f0&&(this['_contextService']['setContextValue'](_0x4fcc67[_0x13e30d(0x37a)],!0x1),this[_0x13e30d(0x232)]['focusDrawing'](null));};return _0x4805fa[_0x46ac75(0x3e9)](_0x5aedda[_0x46ac75(0x42b)][_0x46ac75(0x523)](()=>{const _0x57a76d=_0x46ac75;let _0x5d7176=_0x5aedda[_0x57a76d(0x3aa)]();if(_0x5d7176[_0x57a76d(0x535)]>0x1){_0x21f30a();return;}let _0x38690e=_0x5d7176[_0x57a76d(0x413)]()['next']()[_0x57a76d(0x3f0)];if(!_0x38690e){_0x21f30a();return;}let _0x46ec50=this[_0x57a76d(0x232)][_0x57a76d(0x385)](_0x38690e[_0x57a76d(0x47e)]);if(!_0x46ec50||_0x46ec50['drawingType']!==_0x4fcc67[_0x57a76d(0x204)]['DRAWING_SHAPE']){_0x21f30a();return;}let {unitId:_0x103e1f,subUnitId:_0x5e4082,drawingId:_0x4f3c22}=_0x46ec50;_0x7e73bd={'unitId':_0x103e1f,'subUnitId':_0x5e4082,'drawingId':_0x4f3c22},this[_0x57a76d(0x3c8)]['setContextValue'](_0x4fcc67[_0x57a76d(0x37a)],!0x0),this[_0x57a76d(0x232)]['getFocusDrawings']()[_0x57a76d(0x2b5)](_0x207d45=>_0x207d45[_0x57a76d(0x3a2)]===_0x103e1f&&_0x207d45[_0x57a76d(0x555)]===_0x5e4082&&_0x207d45[_0x57a76d(0x457)]===_0x4f3c22)||this['_drawingManagerService'][_0x57a76d(0x45f)]([{'unitId':_0x103e1f,'subUnitId':_0x5e4082,'drawingId':_0x4f3c22}]);})),_0x4805fa['add'](_0x5aedda[_0x46ac75(0x2ad)][_0x46ac75(0x523)](()=>{_0x21f30a();})),(0x0,_0x4fcc67[_0x46ac75(0x4f3)])(()=>{const _0x3e7708=_0x46ac75;_0x4805fa[_0x3e7708(0x27e)](),_0x21f30a();});}['_clearFocusedShape'](){const _0x129608=_0x439e5d;this['_contextService'][_0x129608(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x129608(0x232)][_0x129608(0x45f)](null);}};_0x53caa5=_0x5b9725([_0x56348c(0x0,_0x3412e6['IMenuManagerService']),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x6,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb))],_0x53caa5);function _0x57e249(_0x2cf35b,_0x3cca65,_0x179986,_0x23b1f3){const _0x3c5da1=_0x439e5d;let _0x42b902=(0x0,_0x89eb48[_0x3c5da1(0x1e8)])(_0x2cf35b,_0x3cca65,_0x179986),_0x18085c=[];for(let _0x527d52 of _0x3cca65){let _0x3058a7=_0x42b902[_0x3c5da1(0x334)][_0x3c5da1(0x55f)](_0x527d52[_0x3c5da1(0x457)]),_0xbcedbb=_0x23b1f3(_0x527d52);_0x3058a7&&_0xbcedbb&&_0x18085c['push']({'targetShapeId':_0x3058a7,'source':_0xbcedbb});}return _0x18085c;}let _0x49d1fc=class extends _0x4fcc67['Disposable']{constructor(_0x5ce357,_0x349a58,_0x934a5e,_0x4161ed){const _0x4a1722=_0x439e5d;super(),this[_0x4a1722(0x54b)]=_0x5ce357,this[_0x4a1722(0x498)]=_0x349a58,this[_0x4a1722(0x3c1)]=_0x934a5e,this[_0x4a1722(0x4f6)]=_0x4161ed,this[_0x4a1722(0x1bf)]();}[_0x439e5d(0x1bf)](){const _0x5c0e21=_0x439e5d;this[_0x5c0e21(0x575)](this[_0x5c0e21(0x498)]['interceptCommand']({'getMutations':_0x307404=>{const _0xa33a82=_0x5c0e21;if(_0x307404['id']===_0x33d9c6[_0xa33a82(0x24b)]['id']){let _0x58d5f6=(0x0,_0x33d9c6[_0xa33a82(0x2b8)])(this[_0xa33a82(0x54b)],_0x307404[_0xa33a82(0x22e)]);if(!_0x58d5f6)return{'redos':[],'undos':[]};let {unitId:_0x2d06a8,subUnitId:_0x1dcdcd}=_0x58d5f6,_0x53e657=this[_0xa33a82(0x3c1)][_0xa33a82(0x537)](_0x2d06a8,_0x1dcdcd),_0x1bfef0=Object[_0xa33a82(0x413)](_0x53e657)['filter'](_0x538330=>_0x538330['drawingType']===_0x4fcc67[_0xa33a82(0x204)][_0xa33a82(0x4b8)]);if(_0x1bfef0[_0xa33a82(0x298)]===0x0)return{'redos':[],'undos':[]};let _0x5180d3=[],_0x570409=[];for(let _0x1c3407=0x0;_0x1c3407<_0x1bfef0[_0xa33a82(0x298)];_0x1c3407++){let _0xf5ca26=_0x1bfef0[_0x1c3407],_0x212b14=this[_0xa33a82(0x4f6)]['getShapeModel'](_0xf5ca26['unitId'],_0xf5ca26[_0xa33a82(0x555)],_0xf5ca26['drawingId']);_0x212b14&&(_0x5180d3['push']({'id':_0x43ee3e[_0xa33a82(0x2c4)]['id'],'params':{'unitId':_0x2d06a8,'subUnitId':_0x1dcdcd,'shapeId':_0xf5ca26[_0xa33a82(0x457)]}}),_0x570409[_0xa33a82(0x1d6)]({'id':_0x43ee3e[_0xa33a82(0x4f4)]['id'],'params':{'unitId':_0x2d06a8,'subUnitId':_0x1dcdcd,'shapeId':_0xf5ca26[_0xa33a82(0x457)],'shapeType':_0x212b14[_0xa33a82(0x587)](),'shapeData':JSON[_0xa33a82(0x360)](JSON[_0xa33a82(0x565)](_0x212b14['getShapeData']()))}}));}return{'redos':_0x5180d3,'undos':_0x570409};}if(_0x307404['id']===_0x33d9c6[_0xa33a82(0x367)]['id']){let {unitId:_0x110626,subUnitId:_0x297ab2,targetSubUnitId:_0x1a44b6,copyContext:_0x29359d}=_0x307404[_0xa33a82(0x22e)];if(!_0x110626||!_0x297ab2||!_0x1a44b6)return{'redos':[],'undos':[]};let _0x534f70=this[_0xa33a82(0x3c1)][_0xa33a82(0x537)](_0x110626,_0x297ab2),_0x3f0992=Object[_0xa33a82(0x413)](_0x534f70)['filter'](_0x18153c=>_0x18153c[_0xa33a82(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0xa33a82(0x4b8)]);if(_0x3f0992[_0xa33a82(0x298)]===0x0)return{'redos':[],'undos':[]};let _0x39bb2c=_0x57e249(_0x29359d,_0x3f0992,{'unitId':_0x110626,'sourceSubUnitId':_0x297ab2,'targetSubUnitId':_0x1a44b6},_0x5743ca=>{const _0x1c8e49=_0xa33a82;let _0x448df8=this['_sheetsShapeService']['getShapeModel'](_0x5743ca[_0x1c8e49(0x3a2)],_0x5743ca[_0x1c8e49(0x555)],_0x5743ca['drawingId']);if(_0x448df8)return{'shapeType':_0x448df8[_0x1c8e49(0x587)](),'shapeData':JSON[_0x1c8e49(0x360)](JSON[_0x1c8e49(0x565)](_0x448df8[_0x1c8e49(0x339)]()))};}),_0x5b0e4d=[],_0x21a706=[];for(let {targetShapeId:_0x31962b,source:_0x15bf48}of _0x39bb2c)_0x5b0e4d[_0xa33a82(0x1d6)]({'id':_0x43ee3e[_0xa33a82(0x4f4)]['id'],'params':{'unitId':_0x110626,'subUnitId':_0x1a44b6,'shapeId':_0x31962b,'shapeType':_0x15bf48[_0xa33a82(0x53a)],'shapeData':_0x15bf48[_0xa33a82(0x331)]}}),_0x21a706[_0xa33a82(0x1d6)]({'id':_0x43ee3e['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x110626,'subUnitId':_0x1a44b6,'shapeId':_0x31962b}});return{'redos':_0x5b0e4d,'undos':_0x21a706};}return{'redos':[],'undos':[]};}}));}};_0x49d1fc=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['IUniverInstanceService'])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x33d9c6[_0x439e5d(0x35e)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x51f92a[_0x439e5d(0x475)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)]))],_0x49d1fc);let _0xc36a77=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5e7e60,_0x40af3d,_0x5665f0,_0x5b9320,_0x4edd4f,_0x3f3d4a){const _0x491e1a=_0x439e5d;super(),this['_commandService']=_0x5e7e60,this[_0x491e1a(0x35d)]=_0x40af3d,this[_0x491e1a(0x232)]=_0x5665f0,this['_currentUniverService']=_0x5b9320,this[_0x491e1a(0x4da)]=_0x4edd4f,this[_0x491e1a(0x4b0)]=_0x3f3d4a,_0x355f4a(this,_0x491e1a(0x1c0),new Set()),this[_0x491e1a(0x219)]();}[_0x439e5d(0x219)](){const _0x5949d6=_0x439e5d;this[_0x5949d6(0x4ee)](),this[_0x5949d6(0x37b)](),this['_shapeUpdateListener']();}[_0x439e5d(0x4ee)](){const _0x355f70=_0x439e5d;this['disposeWithMe'](this[_0x355f70(0x232)][_0x355f70(0x3cd)][_0x355f70(0x523)](_0x49cbe3=>{const _0x4c906e=_0x355f70;this[_0x4c906e(0x1c5)](_0x49cbe3);}));}['_commandExecutedListener'](){const _0x575a81=_0x439e5d;this[_0x575a81(0x575)](this['_commandService']['onCommandExecuted']((_0x4d6b2a,_0x459542)=>{const _0x443b5b=_0x575a81;if(_0x4d6b2a['id']===_0x43ee3e[_0x443b5b(0x403)]['id']){let {unitId:_0x4f46e4,subUnitId:_0x28dd7d,shapeId:_0x14f136}=_0x4d6b2a[_0x443b5b(0x22e)],_0x2212a2=this[_0x443b5b(0x461)](_0x4f46e4),_0x3915c0=(0x0,_0x89eb48[_0x443b5b(0x236)])({'unitId':_0x4f46e4,'subUnitId':_0x28dd7d,'drawingId':_0x14f136}),_0xd51d2e=_0x2212a2==null?void 0x0:_0x2212a2[_0x443b5b(0x56f)][_0x443b5b(0x2b6)](_0x3915c0);_0xd51d2e&&(this[_0x443b5b(0x4b0)]['refreshShapeFillImage'](_0xd51d2e),this[_0x443b5b(0x4b0)][_0x443b5b(0x42f)](_0xd51d2e,{'unitId':_0x4f46e4,'subUnitId':_0x28dd7d,'shapeId':_0x14f136}),_0xd51d2e[_0x443b5b(0x415)](!0x0));}else{if(_0x4d6b2a['id']===_0x43ee3e[_0x443b5b(0x4f4)]['id']){var _0x4c5315;let {unitId:_0x777bb6,subUnitId:_0x188821,shapeId:_0x5d7ae6}=_0x4d6b2a[_0x443b5b(0x22e)],_0x449466=this['_getSceneAndTransformerByDrawingSearch'](_0x777bb6);if(_0x449466==null)return;let {scene:_0x47aecd}=_0x449466,_0xe2681e=(0x0,_0x89eb48[_0x443b5b(0x236)])({'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}),_0x39b19b=_0x47aecd[_0x443b5b(0x2b6)](_0xe2681e);if(!((_0x4c5315=this[_0x443b5b(0x35d)][_0x443b5b(0x40f)](_0x777bb6))!=null&&_0x4c5315[_0x443b5b(0x54f)](_0x5b8007['SheetSkeletonManagerService'])['getSkeleton'](_0x188821)))return!0x1;if(_0x39b19b)return;if(_0x459542!=null&&_0x459542['fromChangeset']){queueMicrotask(()=>{const _0x162395=_0x443b5b;this['_disposed']||this[_0x162395(0x1c5)]([{'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}]);});return;}this[_0x443b5b(0x1c5)]([{'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}]);}}}));}[_0x439e5d(0x4a2)](){const _0x27e8d1=_0x439e5d;this[_0x27e8d1(0x575)](this[_0x27e8d1(0x232)][_0x27e8d1(0x342)][_0x27e8d1(0x523)](_0x254c2c=>{_0x254c2c['forEach'](_0x18a335=>{const _0x451b14=_0x3385;let {unitId:_0x2406e2,subUnitId:_0x2d678a,drawingId:_0x5ea4f9}=_0x18a335,_0x11dccf=this[_0x451b14(0x232)][_0x451b14(0x269)](_0x18a335);if(_0x11dccf==null)return;let {transform:_0x3b43e2,drawingType:_0x522c45,srcRect:_0x1bfcc1,prstGeom:_0x3614c4}=_0x11dccf;if(_0x522c45!==_0x4fcc67['DrawingTypeEnum'][_0x451b14(0x4b8)])return;let _0x4a12d3=this[_0x451b14(0x461)](_0x2406e2);if(_0x4a12d3==null)return;let {scene:_0x5e4aac,transformer:_0x15868d}=_0x4a12d3;if(_0x3b43e2==null)return!0x0;let _0x1bd6a2=(0x0,_0x89eb48[_0x451b14(0x236)])({'unitId':_0x2406e2,'subUnitId':_0x2d678a,'drawingId':_0x5ea4f9}),_0x4126af=_0x5e4aac[_0x451b14(0x2b6)](_0x1bd6a2);if(_0x4126af==null)return!0x0;_0x4126af[_0x451b14(0x2f5)](_0x1bfcc1),_0x4126af[_0x451b14(0x344)](_0x3614c4);});}));}['_insertShapes'](_0x582ec8){const _0x2c5aab=_0x439e5d;for(let _0x30cf54 of _0x582ec8){var _0x4f9b0a;let {unitId:_0x4eb92c,subUnitId:_0x3825b4,drawingId:_0x25e100}=_0x30cf54,_0x17d6ce=this[_0x2c5aab(0x461)](_0x4eb92c),_0xfde930=(_0x4f9b0a=(0x0,_0x108bdb[_0x2c5aab(0x4e8)])(this[_0x2c5aab(0x1eb)],_0x4eb92c))==null?void 0x0:_0x4f9b0a[_0x2c5aab(0x555)];if(_0x17d6ce==null||_0xfde930!==_0x3825b4)return;let _0x40eb20=(0x0,_0x89eb48[_0x2c5aab(0x236)])({'unitId':_0x4eb92c,'subUnitId':_0x3825b4,'drawingId':_0x25e100});if(this['_insertingShapeKeys']['has'](_0x40eb20)||_0x17d6ce[_0x2c5aab(0x56f)][_0x2c5aab(0x2b6)](_0x40eb20)!=null)return;let _0x5dd759=this[_0x2c5aab(0x232)]['getDrawingByParam'](_0x30cf54);if(_0x5dd759==null||_0x5dd759[_0x2c5aab(0x31a)]!==_0x4fcc67[_0x2c5aab(0x204)][_0x2c5aab(0x4b8)])return;let _0x373974=_0x5dd759[_0x2c5aab(0x1c3)]||{};if((0x0,_0x42c76f[_0x2c5aab(0x2a1)])(_0x373974[_0x2c5aab(0x53a)])){let _0x4b1826=_0x5dd759['transform'];_0x4b1826&&(_0x5dd759[_0x2c5aab(0x3a8)]={..._0x4b1826,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x2c5aab(0x1c0)][_0x2c5aab(0x3e9)](_0x40eb20);try{this[_0x2c5aab(0x4b0)]['renderDrawingShape'](_0x5dd759,_0x17d6ce[_0x2c5aab(0x56f)]);}finally{this[_0x2c5aab(0x1c0)][_0x2c5aab(0x218)](_0x40eb20);}queueMicrotask(()=>{const _0xfa328d=_0x2c5aab;if(this[_0xfa328d(0x2da)])return;let _0x25fad4=(0x0,_0x89eb48[_0xfa328d(0x236)])(_0x30cf54);if(!_0x17d6ce[_0xfa328d(0x56f)][_0xfa328d(0x2b6)](_0x25fad4))return;let _0x411234=this['_drawingManagerService']['getDrawingByParam'](_0x30cf54);_0x411234&&this[_0xfa328d(0x232)][_0xfa328d(0x2fb)]([_0x411234]);});}}[_0x439e5d(0x461)](_0x30fe58){const _0x577984=_0x439e5d;if(_0x30fe58==null)return;let _0x1c9b34=this['_renderManagerService'][_0x577984(0x40f)](_0x30fe58),_0x3e0a95=_0x1c9b34==null?void 0x0:_0x1c9b34['scene'];return _0x3e0a95==null?null:{'scene':_0x3e0a95,'transformer':_0x3e0a95[_0x577984(0x4e6)]()};}};_0xc36a77=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x1,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x2,_0x89eb48['IDrawingManagerService']),_0x56348c(0x3,_0x4fcc67['IUniverInstanceService']),_0x56348c(0x4,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x108bdb[_0x439e5d(0x382)])),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e7905))],_0xc36a77);let _0x20354c={'normal':{'fill':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x52b)],'stroke':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x42e)],'strokeWidth':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x50e)]},'highlighted':{'fill':_0x439e5d(0x3dd),'stroke':_0x439e5d(0x50f),'strokeWidth':0x2}};var _0x2ed77a=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x31cf8a,_0x2644e9){const _0x52482f=_0x439e5d;super(_0x31cf8a,_0x2644e9),_0x355f4a(this,_0x52482f(0x407),''),_0x355f4a(this,'_cxnIndex',-0x1),_0x355f4a(this,_0x52482f(0x49a),''),_0x355f4a(this,_0x52482f(0x289),''),_0x355f4a(this,_0x52482f(0x47a),!0x1),_0x2644e9&&this[_0x52482f(0x27d)](_0x2644e9);}[_0x439e5d(0x260)](){const _0xf1aeaf=_0x439e5d;return{'unitId':this[_0xf1aeaf(0x49a)],'subUnitId':this['_subUnitId'],'shapeId':this[_0xf1aeaf(0x407)],'cxnIndex':this[_0xf1aeaf(0x337)]};}[_0x439e5d(0x281)](_0x1f2d3e){const _0x4043c5=_0x439e5d;this[_0x4043c5(0x47a)]!==_0x1f2d3e&&(this[_0x4043c5(0x47a)]=_0x1f2d3e,this['makeDirty'](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x439e5d(0x27d)](_0x28e93b){const _0x241496=_0x439e5d;_0x28e93b[_0x241496(0x449)]!==void 0x0&&(this['_targetShapeId']=_0x28e93b[_0x241496(0x449)]),_0x28e93b[_0x241496(0x434)]!==void 0x0&&(this['_cxnIndex']=_0x28e93b[_0x241496(0x434)]),_0x28e93b[_0x241496(0x3a2)]!==void 0x0&&(this[_0x241496(0x49a)]=_0x28e93b[_0x241496(0x3a2)]),_0x28e93b['subUnitId']!==void 0x0&&(this[_0x241496(0x289)]=_0x28e93b['subUnitId']),_0x28e93b['isHighlighted']!==void 0x0&&(this[_0x241496(0x47a)]=_0x28e93b['isHighlighted']),this['transformByState']({'width':_0x28e93b['width']??_0x42c76f[_0x241496(0x1de)][_0x241496(0x2d3)]*0x2,'height':_0x28e93b['height']??_0x42c76f[_0x241496(0x1de)]['cxnPointRadius']*0x2});}[_0x439e5d(0x5b1)](_0x515ccd){const _0x3db991=_0x439e5d;let _0x22591d=this[_0x3db991(0x47a)]?_0x20354c[_0x3db991(0x3bd)]:_0x20354c[_0x3db991(0x2bd)];_0x5e3080[_0x3db991(0x38f)]['drawWith'](_0x515ccd,{'radius':_0x42c76f[_0x3db991(0x1de)]['cxnPointRadius'],'fill':_0x22591d[_0x3db991(0x46e)],'stroke':_0x22591d[_0x3db991(0x297)],'strokeWidth':_0x22591d[_0x3db991(0x5a4)],'evented':!0x0});}};let _0x32b22d=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x413f33,_0x28312b,_0x367940,_0x2b4d87){const _0x2bc990=_0x439e5d;super(),this[_0x2bc990(0x316)]=_0x413f33,this[_0x2bc990(0x35d)]=_0x28312b,this['_drawingManagerService']=_0x367940,this[_0x2bc990(0x4f6)]=_0x2b4d87,_0x355f4a(this,_0x2bc990(0x2a0),[]),_0x355f4a(this,_0x2bc990(0x4b2),null),_0x355f4a(this,'_highlightedSiteIndex',-0x1),_0x355f4a(this,_0x2bc990(0x577),null),_0x355f4a(this,'_unitId',''),_0x355f4a(this,_0x2bc990(0x289),''),_0x355f4a(this,_0x2bc990(0x485),null);}['startConnectionDetection'](_0x1a38b5,_0x288ac8,_0x21542a,_0x436c8e){const _0x460aa5=_0x439e5d;this[_0x460aa5(0x577)]=_0x1a38b5,this[_0x460aa5(0x49a)]=_0x288ac8,this[_0x460aa5(0x289)]=_0x21542a,this['_draggingConnectorId']=_0x436c8e;}[_0x439e5d(0x215)](_0x2cc96c){const _0x153a46=_0x439e5d;if(!this[_0x153a46(0x577)])return null;let _0x13e729=this[_0x153a46(0x41c)](_0x2cc96c);return _0x13e729?(this[_0x153a46(0x4b2)]!==_0x13e729[_0x153a46(0x1cf)]&&(this[_0x153a46(0x3b7)](),this[_0x153a46(0x288)](_0x13e729['shapeId'],_0x13e729['shapeModel']),this[_0x153a46(0x4b2)]=_0x13e729[_0x153a46(0x1cf)]),this['_findNearestConnectionSite'](_0x2cc96c)):(this['_activeTargetShapeId']!==null&&(this[_0x153a46(0x3b7)](),this['_activeTargetShapeId']=null),null);}[_0x439e5d(0x20c)](){const _0x336e9e=_0x439e5d;this[_0x336e9e(0x3b7)](),this[_0x336e9e(0x577)]=null,this[_0x336e9e(0x4b2)]=null,this[_0x336e9e(0x2df)]=-0x1,this[_0x336e9e(0x485)]=null;}['getConnectionRelation'](){const _0xa3f930=_0x439e5d;return this[_0xa3f930(0x4b2)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0xa3f930(0x4b2)],'cxnIndex':this[_0xa3f930(0x2df)]};}[_0x439e5d(0x41c)](_0x22f953){const _0x2c73b9=_0x439e5d;let _0x5de623=this['_drawingManagerService'][_0x2c73b9(0x537)](this[_0x2c73b9(0x49a)],this[_0x2c73b9(0x289)]);for(let _0x8edf8d of Object[_0x2c73b9(0x4f5)](_0x5de623)){if(_0x8edf8d===this['_draggingConnectorId']||_0x5de623[_0x8edf8d]['drawingType']!==_0x4fcc67[_0x2c73b9(0x204)][_0x2c73b9(0x4b8)])continue;let _0x264886=this[_0x2c73b9(0x4f6)][_0x2c73b9(0x1df)](this[_0x2c73b9(0x49a)],this['_subUnitId'],_0x8edf8d);if(!_0x264886||(0x0,_0x42c76f['isConnectorShape'])(_0x264886[_0x2c73b9(0x587)]())||_0x264886['getConnectionSiteList']()[_0x2c73b9(0x298)]===0x0||!this['_currentScene'])continue;let _0x49a87c=(0x0,_0x89eb48[_0x2c73b9(0x236)])({'unitId':this[_0x2c73b9(0x49a)],'subUnitId':this[_0x2c73b9(0x289)],'drawingId':_0x8edf8d}),_0x5232c8=this[_0x2c73b9(0x577)][_0x2c73b9(0x2b6)](_0x49a87c);if(!_0x5232c8)continue;let {left:_0x5435df,top:_0x4796fb,width:_0x286a89,height:_0xcd3840}=_0x5232c8[_0x2c73b9(0x2d6)](),_0x5d1d96=_0x5435df+_0x286a89/0x2,_0x12f75b=_0x4796fb+_0xcd3840/0x2,_0x112ddf=_0x5232c8[_0x2c73b9(0x3a8)][_0x2c73b9(0x526)](),_0x377b63=new _0x5e3080['Transform']([_0x112ddf[0x0],_0x112ddf[0x1],_0x112ddf[0x2],_0x112ddf[0x3],_0x5d1d96,_0x12f75b]),_0x5cb747=_0x5232c8[_0x2c73b9(0x35b)](),_0xcba4ac=(_0x5232c8['isInGroup']&&(_0x5cb747==null?void 0x0:_0x5cb747['classType'])===_0x5e3080[_0x2c73b9(0x3fe)]['GROUP']?_0x5cb747[_0x2c73b9(0x338)][_0x2c73b9(0x36b)](_0x377b63):_0x377b63)[_0x2c73b9(0x1cb)]()[_0x2c73b9(0x3fc)](_0x22f953),_0x55c2cb=_0x286a89/0x2,_0x189838=_0xcd3840/0x2;if(_0xcba4ac['x']>=-_0x55c2cb-0x5&&_0xcba4ac['x']<=_0x55c2cb+0x5&&_0xcba4ac['y']>=-_0x189838-0x5&&_0xcba4ac['y']<=_0x189838+0x5)return{'shapeId':_0x8edf8d,'shapeModel':_0x264886};}return null;}[_0x439e5d(0x288)](_0x4dd01e,_0x450a86){const _0x2b8976=_0x439e5d;if(!this[_0x2b8976(0x577)])return;let _0x404e61=(0x0,_0x89eb48[_0x2b8976(0x236)])({'unitId':this[_0x2b8976(0x49a)],'subUnitId':this[_0x2b8976(0x289)],'drawingId':_0x4dd01e}),_0x25403f=this[_0x2b8976(0x577)][_0x2b8976(0x2b6)](_0x404e61);if(!_0x25403f)return;let {left:_0x4b3f94,top:_0xef4d9d,width:_0x22e7cc,height:_0x5c988e}=_0x25403f[_0x2b8976(0x2d6)](),_0x4e12db=_0x4b3f94+_0x22e7cc/0x2,_0xf73717=_0xef4d9d+_0x5c988e/0x2,_0x170971=_0x25403f[_0x2b8976(0x3a8)]['getMatrix'](),_0xfab216=new _0x5e3080[(_0x2b8976(0x2c1))]([_0x170971[0x0],_0x170971[0x1],_0x170971[0x2],_0x170971[0x3],_0x4e12db,_0xf73717]),_0x1a94ce=_0x25403f[_0x2b8976(0x35b)](),_0x5cf581=_0x25403f[_0x2b8976(0x3a5)]&&(_0x1a94ce==null?void 0x0:_0x1a94ce['classType'])===_0x5e3080[_0x2b8976(0x3fe)]['GROUP']?_0x1a94ce[_0x2b8976(0x338)][_0x2b8976(0x36b)](_0xfab216):_0xfab216;_0x450a86['updateContext']({'width':_0x22e7cc,'height':_0x5c988e});let _0x31a170=_0x450a86[_0x2b8976(0x58e)]();for(let _0x10be90 of _0x31a170){let _0x361f2f=_0x10be90['x']-_0x22e7cc/0x2,_0xe22259=_0x10be90['y']-_0x5c988e/0x2,_0x291f04=_0x5cf581[_0x2b8976(0x3fc)]({'x':_0x361f2f,'y':_0xe22259}),_0x130373=_0x291f04['x'],_0x5a6e23=_0x291f04['y'],_0x5abe5a=new _0x2ed77a(_0x2b8976(0x20b)+_0x4dd01e+'-'+_0x10be90[_0x2b8976(0x558)],{'left':_0x130373-_0x42c76f[_0x2b8976(0x1de)][_0x2b8976(0x2d3)],'top':_0x5a6e23-_0x42c76f[_0x2b8976(0x1de)]['cxnPointRadius'],'targetShapeId':_0x4dd01e,'cxnIndex':_0x10be90[_0x2b8976(0x558)],'unitId':this[_0x2b8976(0x49a)],'subUnitId':this[_0x2b8976(0x289)],'width':_0x42c76f[_0x2b8976(0x1de)][_0x2b8976(0x2d3)]*0x2,'height':_0x42c76f['ShapeDefaultConfig'][_0x2b8976(0x2d3)]*0x2,'zIndex':_0x5e3080[_0x2b8976(0x52a)]+0x2,'evented':!0x1});this[_0x2b8976(0x2a0)]['push'](_0x5abe5a),this['_currentScene'][_0x2b8976(0x34e)](_0x5abe5a,_0x5e3080[_0x2b8976(0x52a)]+0x2);}}[_0x439e5d(0x45e)](_0xaa0a35){const _0x229a56=_0x439e5d;let _0x3ea336=null,_0x37d320=0x1/0x0,_0x4cb69e=null;for(let _0x1d4b18 of this[_0x229a56(0x2a0)]){let _0x9250e4=_0x1d4b18['left']+_0x42c76f[_0x229a56(0x1de)][_0x229a56(0x2d3)],_0x4b0720=_0x1d4b18[_0x229a56(0x22d)]+_0x42c76f['ShapeDefaultConfig'][_0x229a56(0x2d3)],_0x2fb57c=_0xaa0a35['x']-_0x9250e4,_0x51b906=_0xaa0a35['y']-_0x4b0720,_0xdb98b6=Math[_0x229a56(0x57f)](_0x2fb57c*_0x2fb57c+_0x51b906*_0x51b906);_0xdb98b6<_0x37d320&&(_0x37d320=_0xdb98b6,_0x3ea336=_0x1d4b18,_0x4cb69e={'x':_0x9250e4,'y':_0x4b0720});}let _0x167da0=_0x37d320<=0xa&&_0x3ea336?_0x3ea336[_0x229a56(0x260)]()[_0x229a56(0x434)]:-0x1;if(_0x167da0!==this[_0x229a56(0x2df)]){for(let _0x1d701d of this[_0x229a56(0x2a0)]){let _0x5beee8=_0x1d701d[_0x229a56(0x260)]();_0x1d701d[_0x229a56(0x281)](_0x5beee8['cxnIndex']===_0x167da0);}this[_0x229a56(0x2df)]=_0x167da0;}if(_0x37d320<=0xa&&_0x3ea336&&_0x4cb69e){let _0x54b987=_0x3ea336['getConnectionInfo'](),_0xb05250=this[_0x229a56(0x1f8)](_0x54b987[_0x229a56(0x1cf)],_0x54b987[_0x229a56(0x434)]);return{'shapeId':_0x54b987[_0x229a56(0x1cf)],'cxnIndex':_0x54b987[_0x229a56(0x434)],'unitId':_0x54b987[_0x229a56(0x3a2)],'subUnitId':_0x54b987[_0x229a56(0x555)],'worldPoint':_0x4cb69e,'angle':_0xb05250};}return null;}[_0x439e5d(0x1f8)](_0xc9d3eb,_0x50164c){const _0x310c8b=_0x439e5d;let _0x560048=this[_0x310c8b(0x4f6)][_0x310c8b(0x1df)](this['_unitId'],this[_0x310c8b(0x289)],_0xc9d3eb);if(!_0x560048)return 0x0;let _0xb19fc=this['_drawingManagerService'][_0x310c8b(0x269)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0xc9d3eb});if(!(_0xb19fc!=null&&_0xb19fc[_0x310c8b(0x3a8)]))return 0x0;let {width:_0xf93610=0x0,height:_0x47b9cf=0x0,flipX:_0x426558=!0x1,flipY:_0x4f19bf=!0x1}=_0xb19fc[_0x310c8b(0x3a8)];_0x560048[_0x310c8b(0x580)]({'width':_0xf93610,'height':_0x47b9cf});let _0x43f241=_0x560048[_0x310c8b(0x58e)]()['find'](_0x55938f=>_0x55938f[_0x310c8b(0x558)]===_0x50164c);if(!_0x43f241)return 0x0;let _0x42f6e7=_0x43f241[_0x310c8b(0x3ca)]/0xea60;return _0x426558&&(_0x42f6e7=0xb4-_0x42f6e7),_0x4f19bf&&(_0x42f6e7=-_0x42f6e7),_0x42f6e7=(_0x42f6e7%0x168+0x168)%0x168,_0x42f6e7;}[_0x439e5d(0x3b7)](){const _0x81c45d=_0x439e5d;for(let _0x1f9b2f of this[_0x81c45d(0x2a0)])_0x1f9b2f[_0x81c45d(0x27e)]();this[_0x81c45d(0x2a0)]=[],this[_0x81c45d(0x2df)]=-0x1;}[_0x439e5d(0x27e)](){const _0x184621=_0x439e5d;this[_0x184621(0x3b7)](),super['dispose']();}};_0x32b22d=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x89eb48['IDrawingManagerService'])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)]))],_0x32b22d);let _0x2d338f=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x3b2222,_0x3dc498,_0x4dcb29,_0x22bcf2,_0x193429){const _0x2b534b=_0x439e5d;super(),this[_0x2b534b(0x4a9)]=_0x3b2222,this[_0x2b534b(0x29b)]=_0x3dc498,this[_0x2b534b(0x3c1)]=_0x4dcb29,this[_0x2b534b(0x1be)]=_0x22bcf2,this[_0x2b534b(0x59c)]=_0x193429,_0x355f4a(this,_0x2b534b(0x1f0),void 0x0),this[_0x2b534b(0x402)](),this[_0x2b534b(0x44f)]();}get[_0x439e5d(0x24d)](){const _0x49a048=_0x439e5d;return this[_0x49a048(0x3c1)][_0x49a048(0x52f)]();}[_0x439e5d(0x44f)](){const _0x5a3fae=_0x439e5d;this['_groupCopyPasteController'][_0x5a3fae(0x490)](({fromUnitId:_0x2366a6,fromSubUnitId:_0x48614f,toUnitId:_0x31dea1,toSubUnitId:_0x3f3885,idMap:_0x2cb206})=>{const _0x49035f=_0x5a3fae;let _0x15390b=[],_0x50090e=[];for(let [_0xfbc8e6,_0x1988af]of _0x2cb206[_0x49035f(0x51f)]()){let _0x4b46f3=this[_0x49035f(0x1be)]['getShapeModel'](_0x2366a6,_0x48614f,_0xfbc8e6);if(!_0x4b46f3)continue;let _0x39cb98=_0x4b46f3['getShapeType'](),_0x330454=JSON[_0x49035f(0x360)](JSON[_0x49035f(0x565)](_0x4b46f3['getShapeData']()));if(_0x330454[_0x49035f(0x38c)]){var _0x2729bb,_0xde5c69;let _0x356210=(_0x2729bb=_0x330454[_0x49035f(0x38c)][_0x49035f(0x1d9)])==null?void 0x0:_0x2729bb['shapeId'],_0x354751=(_0xde5c69=_0x330454[_0x49035f(0x38c)]['to'])==null?void 0x0:_0xde5c69[_0x49035f(0x1cf)],_0x367e2f=!_0x356210||_0x2cb206[_0x49035f(0x59f)](_0x356210),_0x1fb9ba=!_0x354751||_0x2cb206[_0x49035f(0x59f)](_0x354751);_0x367e2f&&_0x356210&&_0x330454['relation'][_0x49035f(0x1d9)]?_0x330454[_0x49035f(0x38c)][_0x49035f(0x1d9)]={..._0x330454[_0x49035f(0x38c)]['from'],'shapeId':_0x2cb206[_0x49035f(0x55f)](_0x356210)}:_0x330454['relation'][_0x49035f(0x1d9)]=void 0x0,_0x1fb9ba&&_0x354751&&_0x330454[_0x49035f(0x38c)]['to']?_0x330454['relation']['to']={..._0x330454[_0x49035f(0x38c)]['to'],'shapeId':_0x2cb206[_0x49035f(0x55f)](_0x354751)}:_0x330454[_0x49035f(0x38c)]['to']=void 0x0;}_0x15390b[_0x49035f(0x1d6)]({'id':_0x43ee3e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x31dea1,'subUnitId':_0x3f3885,'shapeId':_0x1988af,'shapeType':_0x39cb98,'shapeData':_0x330454}}),_0x50090e['push']({'id':_0x43ee3e[_0x49035f(0x2c4)]['id'],'params':{'unitId':_0x31dea1,'subUnitId':_0x3f3885,'shapeId':_0x1988af}});}return{'redos':_0x15390b,'undos':_0x50090e};});}[_0x439e5d(0x402)](){const _0x71806b=_0x439e5d;this[_0x71806b(0x575)](this['_sheetClipboardService'][_0x71806b(0x5aa)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x3996d3,_0x441bb9,_0x3100b4)=>{const _0x5d84ae=_0x71806b;this[_0x5d84ae(0x1f0)]=null;let _0x3abdc7=this[_0x5d84ae(0x24d)][_0x5d84ae(0x4a3)](_0x397c56=>_0x397c56[_0x5d84ae(0x31a)]===_0x4fcc67[_0x5d84ae(0x204)]['DRAWING_SHAPE']);return _0x3abdc7[_0x5d84ae(0x298)]!==0x0&&(this[_0x5d84ae(0x1f0)]={'unitId':_0x3996d3,'subUnitId':_0x441bb9,'copyType':_0x3100b4,'drawings':_0x3abdc7},!0x0);},'onBeforeCopy':(_0x1ae8ea,_0x4d3c8f,_0xa8bad1,_0x4b2fae)=>{const _0x467ed4=_0x71806b;this[_0x467ed4(0x1f0)]=null,this[_0x467ed4(0x389)](_0x1ae8ea,_0x4d3c8f,_0xa8bad1,_0x4b2fae);},'onPasteCells':(_0x22acd7,_0x20c136,_0x512656,_0x43ea54)=>{const _0x5e7fc3=_0x71806b;if(!_0x43ea54[_0x5e7fc3(0x205)]||!_0x22acd7||!this[_0x5e7fc3(0x1f0)])return{'redos':[],'undos':[]};let {pasteType:_0x3cd57e}=_0x43ea54;return _0x3cd57e===_0x5b8007[_0x5e7fc3(0x2d4)][_0x5e7fc3(0x1e6)]?this['_generatePasteMutations'](_0x20c136,this[_0x5e7fc3(0x1f0)][_0x5e7fc3(0x240)]===_0x5b8007[_0x5e7fc3(0x216)][_0x5e7fc3(0x25f)]):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0x31d83f,_0x511c86,_0x527758,_0xadb56e){const _0x5d91ef=_0x439e5d;let _0x3439a8=this[_0x5d91ef(0x4a9)]['getSkeleton'](_0x31d83f,_0x511c86);if(!_0x3439a8)return;let _0x4ce8ef=(0x0,_0x33d9c6['attachRangeWithCoord'])(_0x3439a8,_0x527758);if(!_0x4ce8ef)return;let {startX:_0x198e0a,endX:_0x46b8da,startY:_0x15676d,endY:_0x4a6868}=_0x4ce8ef,_0x17659c=this[_0x5d91ef(0x3c1)][_0x5d91ef(0x537)](_0x31d83f,_0x511c86),_0x5b92ec=[];for(let [_0x4e5209,_0x3b9307]of Object['entries'](_0x17659c)){if(_0x3b9307[_0x5d91ef(0x31a)]!==_0x4fcc67[_0x5d91ef(0x204)][_0x5d91ef(0x4b8)])continue;let {transform:_0x85f538}=_0x3b9307;if(!_0x85f538)continue;let {left:_0x23f920=0x0,top:_0x5e0fca=0x0,width:_0x4401bb=0x0,height:_0x51ba2f=0x0}=_0x85f538;_0x198e0a<=_0x23f920&&_0x46b8da>=_0x23f920+_0x4401bb&&_0x15676d<=_0x5e0fca&&_0x4a6868>=_0x5e0fca+_0x51ba2f&&_0x5b92ec[_0x5d91ef(0x1d6)](_0x3b9307);}_0x5b92ec['length']>0x0&&(this[_0x5d91ef(0x1f0)]={'unitId':_0x31d83f,'subUnitId':_0x511c86,'copyType':_0xadb56e,'copyRange':_0x527758,'drawings':_0x5b92ec});}[_0x439e5d(0x2ce)](_0x2271b5,_0x10e207){const _0x56110b=_0x439e5d;let {unitId:_0xe2fd42,subUnitId:_0x37ffd9,range:_0x2d9327}=_0x2271b5,_0x350da6=this[_0x56110b(0x4a9)]['getSkeleton'](_0xe2fd42,_0x37ffd9);if(!_0x350da6)return{'redos':[],'undos':[]};let _0x279132=(0x0,_0x33d9c6[_0x56110b(0x44b)])(_0x2d9327),{unitId:_0xeb68d0,subUnitId:_0x19e3d5,copyRange:_0x449681,drawings:_0xc0af66}=this['_copyInfo'],_0x3f71cd=this[_0x56110b(0x4a9)]['getSkeleton'](_0xeb68d0,_0x19e3d5);if(!_0x3f71cd)return{'redos':[],'undos':[]};let _0x1b7dbf;if(!_0x449681){let _0x10da58=0x1/0x0,_0x125792=0x1/0x0;for(let _0x55cdb3 of _0xc0af66){let {left:_0x13c651=0x0,top:_0x5a9ece=0x0}=_0x55cdb3[_0x56110b(0x3a8)]??{};_0x13c651<_0x10da58&&(_0x10da58=_0x13c651),_0x5a9ece<_0x125792&&(_0x125792=_0x5a9ece);}_0x10da58!==0x1/0x0&&_0x125792!==0x1/0x0&&(_0x1b7dbf={'left':_0x10da58,'top':_0x125792});}let _0x30b4d2=new Map();if(!_0x10e207){for(let _0x30c83a of _0xc0af66)_0x30b4d2[_0x56110b(0x2e2)](_0x30c83a[_0x56110b(0x457)],(0x0,_0x4fcc67[_0x56110b(0x319)])());}let _0x1af657=[],_0x126e87=[];for(let _0x1671fa of _0xc0af66){let {drawingId:_0x37a5fe,transform:_0x2201fb,sheetTransform:_0x28b0aa}=_0x1671fa;if(!_0x2201fb||!_0x28b0aa)continue;let _0x5484e7=this[_0x56110b(0x20d)]({'transform':_0x2201fb,'sheetTransform':_0x28b0aa},{'skeleton':_0x3f71cd,'range':_0x449681},{'skeleton':_0x350da6,'range':_0x279132},_0x1b7dbf);if(_0x10e207){let {redos:_0x3383ae,undos:_0x439398}=this[_0x56110b(0x4d1)]({'fromUnitId':_0xeb68d0,'fromSubUnitId':_0x19e3d5,'toUnitId':_0xe2fd42,'toSubUnitId':_0x37ffd9,'drawing':_0x1671fa,'newTransforms':_0x5484e7});_0x1af657[_0x56110b(0x1d6)](..._0x3383ae),_0x126e87[_0x56110b(0x1d6)](..._0x439398);continue;}let {redos:_0x26e084,undos:_0x592fd1}=this[_0x56110b(0x44e)]({'toUnitId':_0xe2fd42,'toSubUnitId':_0x37ffd9,'drawing':_0x1671fa,'newTransforms':_0x5484e7,'newDrawingId':_0x30b4d2['get'](_0x37a5fe),'idMap':_0x30b4d2});_0x1af657[_0x56110b(0x1d6)](..._0x26e084),_0x126e87[_0x56110b(0x1d6)](..._0x592fd1);}return{'redos':_0x1af657,'undos':_0x126e87};}[_0x439e5d(0x4d1)](_0x441ba7){const _0x25af6b=_0x439e5d;let {fromUnitId:_0x360d28,fromSubUnitId:_0xbcc421,toUnitId:_0x881592,toSubUnitId:_0x5a59c6,drawing:_0x4d1238,newTransforms:_0xdf6a94}=_0x441ba7,_0x2ed271={..._0x4d1238,'unitId':_0x881592,'subUnitId':_0x5a59c6,'transform':_0xdf6a94['transform'],'sheetTransform':_0xdf6a94[_0x25af6b(0x4ad)]};if(_0x881592===_0x360d28&&_0x5a59c6===_0xbcc421){let {redo:_0x1afa2e,undo:_0x58399f,objects:_0x159324}=this[_0x25af6b(0x3c1)][_0x25af6b(0x3df)]([_0x2ed271]);return{'redos':[{'id':_0x51f92a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a['DrawingApplyType'][_0x25af6b(0x4f1)],'op':_0x1afa2e,'objects':_0x159324}}],'undos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x4f1)],'op':_0x58399f,'objects':_0x159324}}]};}{let _0x5932e8=this[_0x25af6b(0x3c1)][_0x25af6b(0x1e3)]([_0x4d1238]),_0xd048d4=this[_0x25af6b(0x3c1)][_0x25af6b(0x2f2)]([_0x2ed271]),_0x3fa6d0=this[_0x25af6b(0x1be)][_0x25af6b(0x1df)](_0x4d1238['unitId'],_0x4d1238['subUnitId'],_0x4d1238[_0x25af6b(0x457)]);if(!_0x3fa6d0)return{'redos':[],'undos':[]};let _0x324166=_0x3fa6d0['getShapeType'](),_0x21c908=JSON['parse'](JSON[_0x25af6b(0x565)](_0x3fa6d0[_0x25af6b(0x339)]()));return{'redos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x2ca)],'op':_0x5932e8[_0x25af6b(0x1c8)],'objects':_0x5932e8['objects']}},{'id':_0x43ee3e[_0x25af6b(0x2c4)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'shapeId':_0x4d1238['drawingId']}},{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x55d)],'op':_0xd048d4[_0x25af6b(0x1c8)],'objects':_0xd048d4[_0x25af6b(0x2f8)]}},{'id':_0x43ee3e[_0x25af6b(0x4f4)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'shapeId':_0x4d1238[_0x25af6b(0x457)],'shapeType':_0x324166,'shapeData':_0x21c908}}],'undos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'type':_0x51f92a['DrawingApplyType'][_0x25af6b(0x55d)],'op':_0x5932e8[_0x25af6b(0x23b)],'objects':_0x5932e8[_0x25af6b(0x2f8)]}},{'id':_0x43ee3e[_0x25af6b(0x4f4)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'shapeId':_0x4d1238['drawingId'],'shapeType':_0x324166,'shapeData':_0x21c908}},{'id':_0x51f92a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x2ca)],'op':_0xd048d4[_0x25af6b(0x23b)],'objects':_0xd048d4['objects']}},{'id':_0x43ee3e[_0x25af6b(0x2c4)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'shapeId':_0x4d1238[_0x25af6b(0x457)]}}]};}}[_0x439e5d(0x44e)](_0x22c882){const _0x85fb54=_0x439e5d;let {toUnitId:_0x3c9bc7,toSubUnitId:_0x4d1fdb,drawing:_0x1e74ac,newTransforms:_0x4b0133,newDrawingId:_0x5f2aa0,idMap:_0x52c4cb}=_0x22c882,_0x5ef717={..._0x1e74ac,'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'drawingId':_0x5f2aa0,'transform':_0x4b0133[_0x85fb54(0x3a8)],'sheetTransform':_0x4b0133[_0x85fb54(0x4ad)]},{redo:_0x48e3bf,undo:_0x557c7a,objects:_0xa03629}=this['_sheetDrawingService']['getBatchAddOp']([_0x5ef717]),_0x43cc33=this[_0x85fb54(0x1be)]['getShapeModel'](_0x1e74ac[_0x85fb54(0x3a2)],_0x1e74ac[_0x85fb54(0x555)],_0x1e74ac[_0x85fb54(0x457)]);if(!_0x43cc33)return{'redos':[],'undos':[]};let _0x34b540=_0x43cc33[_0x85fb54(0x587)](),_0x304fe2=JSON[_0x85fb54(0x360)](JSON[_0x85fb54(0x565)](_0x43cc33['getShapeData']()));if(_0x304fe2[_0x85fb54(0x38c)]){var _0x3489c6,_0x470d74;let _0x5726a8=(_0x3489c6=_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)])==null?void 0x0:_0x3489c6[_0x85fb54(0x1cf)],_0x574c2f=(_0x470d74=_0x304fe2[_0x85fb54(0x38c)]['to'])==null?void 0x0:_0x470d74[_0x85fb54(0x1cf)],_0x4f9d64=!_0x5726a8||_0x52c4cb[_0x85fb54(0x59f)](_0x5726a8),_0x18385=!_0x574c2f||_0x52c4cb[_0x85fb54(0x59f)](_0x574c2f);_0x4f9d64&&_0x5726a8&&_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)]?_0x304fe2[_0x85fb54(0x38c)]['from']={..._0x304fe2['relation'][_0x85fb54(0x1d9)],'shapeId':_0x52c4cb[_0x85fb54(0x55f)](_0x5726a8)}:_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)]=void 0x0,_0x18385&&_0x574c2f&&_0x304fe2['relation']['to']?_0x304fe2[_0x85fb54(0x38c)]['to']={..._0x304fe2[_0x85fb54(0x38c)]['to'],'shapeId':_0x52c4cb[_0x85fb54(0x55f)](_0x574c2f)}:_0x304fe2['relation']['to']=void 0x0;}return{'redos':[{'id':_0x51f92a[_0x85fb54(0x568)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'type':_0x51f92a[_0x85fb54(0x4c6)][_0x85fb54(0x55d)],'op':_0x48e3bf,'objects':_0xa03629}},{'id':_0x43ee3e[_0x85fb54(0x4f4)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'shapeId':_0x5f2aa0,'shapeType':_0x34b540,'shapeData':_0x304fe2}}],'undos':[{'id':_0x51f92a[_0x85fb54(0x568)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'type':_0x51f92a[_0x85fb54(0x4c6)]['REMOVE'],'op':_0x557c7a,'objects':_0xa03629}},{'id':_0x43ee3e[_0x85fb54(0x2c4)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'shapeId':_0x5f2aa0}}]};}[_0x439e5d(0x20d)](_0x4c5c7d,_0x4ff141,_0x2cb15b,_0x1401ff){const _0x8eba88=_0x439e5d;let {range:_0x2bc4db,skeleton:_0x2f78e1}=_0x4ff141,{range:_0x378803,skeleton:_0x40a209}=_0x2cb15b,{transform:_0x3345de,sheetTransform:_0x421fda}=_0x4c5c7d,_0x27aef0={..._0x3345de};if(_0x2bc4db){let _0x49d6fe=(0x0,_0x33d9c6[_0x8eba88(0x42d)])(_0x2f78e1,_0x2bc4db),_0x42086b=(0x0,_0x33d9c6['attachRangeWithCoord'])(_0x40a209,_0x378803);if(_0x49d6fe&&_0x42086b){let _0x1134c6=_0x42086b[_0x8eba88(0x292)]-_0x49d6fe[_0x8eba88(0x292)],_0x156d4e=_0x42086b[_0x8eba88(0x1e2)]-_0x49d6fe[_0x8eba88(0x1e2)];_0x27aef0['left']=(_0x27aef0[_0x8eba88(0x4d4)]??0x0)+_0x1134c6,_0x27aef0[_0x8eba88(0x22d)]=(_0x27aef0[_0x8eba88(0x22d)]??0x0)+_0x156d4e;}}else{let _0x5b61bf=(0x0,_0x33d9c6[_0x8eba88(0x42d)])(_0x40a209,_0x378803);if(_0x1401ff&&_0x5b61bf){let _0x4d86b0=(_0x27aef0[_0x8eba88(0x4d4)]??0x0)-_0x1401ff[_0x8eba88(0x4d4)],_0x364c83=(_0x27aef0['top']??0x0)-_0x1401ff[_0x8eba88(0x22d)];_0x27aef0[_0x8eba88(0x4d4)]=_0x5b61bf[_0x8eba88(0x292)]+_0x4d86b0,_0x27aef0['top']=_0x5b61bf[_0x8eba88(0x1e2)]+_0x364c83;}else _0x27aef0['left']=_0x5b61bf==null?void 0x0:_0x5b61bf[_0x8eba88(0x292)],_0x27aef0[_0x8eba88(0x22d)]=_0x5b61bf==null?void 0x0:_0x5b61bf[_0x8eba88(0x1e2)];}return{'transform':_0x27aef0,'sheetTransform':(0x0,_0x51f92a[_0x8eba88(0x1fc)])(_0x27aef0,_0x40a209)??_0x421fda};}};_0x2d338f=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x33d9c6['SheetSkeletonService'])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007['ISheetClipboardService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x51f92a[_0x439e5d(0x475)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x254bb3['SheetsDrawingGroupCopyPasteController']))],_0x2d338f);var _0x2814d8=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x52e4dc,_0x569095){const _0x1361cd=_0x439e5d;super(_0x52e4dc,_0x569095),_0x355f4a(this,'_shapeId',null),_0x355f4a(this,_0x1361cd(0x4dc),null),_0x355f4a(this,'_unitId',null),_0x355f4a(this,_0x1361cd(0x289),null),_0x355f4a(this,'_isStartConnectorPoint',!0x1),_0x569095&&this[_0x1361cd(0x27d)](_0x569095);}[_0x439e5d(0x5af)](){const _0x27bf66=_0x439e5d;return{'unitId':this['_unitId'],'subUnitId':this[_0x27bf66(0x289)],'drawingId':this[_0x27bf66(0x3fd)]};}['setShapeProps'](_0x193e91){const _0x4c7d89=_0x439e5d;_0x193e91[_0x4c7d89(0x1cf)]!==void 0x0&&(this[_0x4c7d89(0x3fd)]=_0x193e91['shapeId']),_0x193e91['unitId']!==void 0x0&&(this[_0x4c7d89(0x49a)]=_0x193e91[_0x4c7d89(0x3a2)]),_0x193e91[_0x4c7d89(0x555)]!==void 0x0&&(this[_0x4c7d89(0x289)]=_0x193e91[_0x4c7d89(0x555)]),_0x193e91[_0x4c7d89(0x285)]!==void 0x0&&(this[_0x4c7d89(0x3d5)]=_0x193e91['isStartConnectorPoint']),this[_0x4c7d89(0x312)]({'width':_0x193e91[_0x4c7d89(0x5a5)],'height':_0x193e91['height']});}[_0x439e5d(0x5b1)](_0x4cdcfd){const _0x460e60=_0x439e5d;_0x5e3080[_0x460e60(0x38f)][_0x460e60(0x362)](_0x4cdcfd,{'radius':_0x42c76f[_0x460e60(0x1de)][_0x460e60(0x2d3)],'fill':_0x42c76f[_0x460e60(0x1de)]['cxnPointFill'],'stroke':_0x42c76f[_0x460e60(0x1de)][_0x460e60(0x42e)],'strokeWidth':_0x42c76f['ShapeDefaultConfig']['cxnPointStrokeWidth'],'evented':!0x0});}};let _0xe1e335=class extends _0x4fcc67['Disposable']{constructor(_0x4f44ec,_0x4065d1,_0xc8cd20,_0x12f358,_0x2c9de1,_0x29a5fb,_0x56a4e7,_0x3cfe86){const _0x27e411=_0x439e5d;super(),this[_0x27e411(0x316)]=_0x4f44ec,this[_0x27e411(0x30c)]=_0x4065d1,this[_0x27e411(0x35d)]=_0xc8cd20,this[_0x27e411(0x232)]=_0x12f358,this['_univerInstanceService']=_0x2c9de1,this[_0x27e411(0x4f6)]=_0x29a5fb,this[_0x27e411(0x1d5)]=_0x56a4e7,this[_0x27e411(0x441)]=_0x3cfe86,_0x355f4a(this,_0x27e411(0x52c),void 0x0),_0x355f4a(this,'_unitId',void 0x0),_0x355f4a(this,'_subUnitId',void 0x0),_0x355f4a(this,_0x27e411(0x5ab),[]),_0x355f4a(this,_0x27e411(0x1d7),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x355f4a(this,_0x27e411(0x2db),void 0x0),_0x355f4a(this,_0x27e411(0x224),!0x1),_0x355f4a(this,_0x27e411(0x32c),!0x1),_0x355f4a(this,_0x27e411(0x346),!0x1),_0x355f4a(this,_0x27e411(0x1e4),void 0x0),_0x355f4a(this,'_cxtHandlerPointerUp',void 0x0),_0x355f4a(this,_0x27e411(0x583),null),this[_0x27e411(0x219)]();}[_0x439e5d(0x219)](){const _0x1be7d7=_0x439e5d;this['_registerDrawingFocusChangeHandler'](),this[_0x1be7d7(0x1fa)]();}[_0x439e5d(0x274)](){const _0x55ff07=_0x439e5d;if(!this[_0x55ff07(0x49a)]||!this[_0x55ff07(0x289)]||!this[_0x55ff07(0x52c)])return;let _0xe5e81f={'unitId':this['_unitId'],'subUnitId':this[_0x55ff07(0x289)],'drawingId':this[_0x55ff07(0x52c)]},{transform:_0xe54931}=this[_0x55ff07(0x232)][_0x55ff07(0x269)](_0xe5e81f);if(_0xe54931)return{'left':_0xe54931['left']||0x0,'top':_0xe54931[_0x55ff07(0x22d)]||0x0,'width':_0xe54931['width']||0x0,'height':_0xe54931[_0x55ff07(0x509)]||0x0,'flipX':_0xe54931['flipX']||!0x1,'flipY':_0xe54931[_0x55ff07(0x31f)]||!0x1,'angle':_0xe54931[_0x55ff07(0x2cd)]};}[_0x439e5d(0x39c)](){const _0x49688f=_0x439e5d;if(this[_0x49688f(0x49a)]===void 0x0||this[_0x49688f(0x289)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x1c160e=this[_0x49688f(0x35d)]['getRenderUnitById'](this[_0x49688f(0x49a)]);if(!_0x1c160e||!_0x1c160e['with'](_0x5b8007['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x5bba92}=_0x1c160e,_0x1de092=this['_getDrawingRect']();if(!_0x1de092)return;let _0x5c86d2=this[_0x49688f(0x4f6)][_0x49688f(0x1df)](this['_unitId'],this[_0x49688f(0x289)],this['_activeShapeId']);if(!_0x5c86d2||!(0x0,_0x42c76f[_0x49688f(0x2a1)])(_0x5c86d2[_0x49688f(0x587)]()))return;let _0x3cbead=_0x5c86d2['getConnectorLinePoints']();if(_0x3cbead[_0x49688f(0x298)]<0x2)return;let _0x3e83b9=new _0x42c76f[(_0x49688f(0x2d8))](_0x1de092),_0x3ba064=_0x3cbead[0x0],_0x236121=_0x3cbead[_0x3cbead[_0x49688f(0x298)]-0x1],_0x368117=_0x3e83b9[_0x49688f(0x231)](_0x3ba064),_0x4d98b5=_0x3e83b9[_0x49688f(0x231)](_0x236121);this[_0x49688f(0x488)](_0x5bba92,{..._0x368117},!0x0),this['_addShapeConnectorHandlerObject'](_0x5bba92,{..._0x4d98b5},!0x1);}['_addShapeConnectorHandlerObject'](_0x49f895,_0x313468,_0x1bedfb){const _0x21d341=_0x439e5d;if(this[_0x21d341(0x52c)]===void 0x0||this[_0x21d341(0x49a)]===void 0x0||this[_0x21d341(0x289)]===void 0x0)return;let _0x2a9898='connector-handler-'+this[_0x21d341(0x49a)]+'-'+this[_0x21d341(0x289)]+'-'+this['_activeShapeId']+'-'+(_0x1bedfb?_0x21d341(0x317):'end'),_0x1de462=_0x49f895[_0x21d341(0x2b6)](_0x2a9898);if(_0x1de462){_0x1de462[_0x21d341(0x312)]({'left':_0x313468['x']-_0x42c76f['ShapeDefaultConfig'][_0x21d341(0x2d3)],'top':_0x313468['y']-_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)]});return;}let _0x398e00=new _0x2814d8(_0x2a9898,{'left':_0x313468['x']-_0x42c76f[_0x21d341(0x1de)]['cxnPointRadius'],'top':_0x313468['y']-_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)],'shapeId':this[_0x21d341(0x52c)],'unitId':this[_0x21d341(0x49a)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x1bedfb,'width':_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)]*0x2,'height':_0x42c76f['ShapeDefaultConfig'][_0x21d341(0x2d3)]*0x2,'zIndex':_0x5e3080[_0x21d341(0x52a)]+0x1,'evented':!0x0});this['_connectorObjects']['push'](_0x398e00),this['_attachConnectorObjectEvent'](_0x398e00,_0x49f895,_0x1bedfb),_0x49f895[_0x21d341(0x34e)](_0x398e00,_0x5e3080[_0x21d341(0x52a)]+0x1);}[_0x439e5d(0x4ed)](_0x229407,_0x1e9930){const _0x453553=_0x439e5d;var _0x41ddad;let _0x5856c0={'x':0x0,'y':0x0};if(!_0x229407||!_0x1e9930)return _0x5856c0;let _0x2a29ac=this[_0x453553(0x35d)]['getRenderUnitById'](_0x229407);if(!_0x2a29ac||!_0x2a29ac[_0x453553(0x54f)](_0x5b8007[_0x453553(0x2e8)])[_0x453553(0x277)](_0x1e9930))return _0x5856c0;let _0x49b5a0=_0x2a29ac['with'](_0x5b8007[_0x453553(0x213)]),_0x923708=_0x49b5a0==null?void 0x0:_0x49b5a0[_0x453553(0x2c2)]();if(!_0x923708)return _0x5856c0;let _0x42157d=(_0x41ddad=this['_univerInstanceService'][_0x453553(0x3ff)](_0x229407))==null?void 0x0:_0x41ddad[_0x453553(0x43a)](_0x1e9930);if(!_0x42157d)return _0x5856c0;let _0x1f6d2c=(0x0,_0x5b8007[_0x453553(0x330)])(_0x923708[_0x453553(0x467)],_0x923708[_0x453553(0x353)],_0x2a29ac[_0x453553(0x56f)],_0x42157d);return _0x1f6d2c?{'x':_0x1f6d2c[_0x453553(0x4d2)],'y':_0x1f6d2c['viewportScrollY']}:_0x5856c0;}[_0x439e5d(0x3d9)](_0x55b0ea,_0x2ca097){const _0x386f56=_0x439e5d;var _0x5363ad;let _0xb68cfd=(_0x5363ad=this[_0x386f56(0x54b)][_0x386f56(0x3ff)](_0x55b0ea))==null?void 0x0:_0x5363ad['getSheetBySheetId'](_0x2ca097);return(_0xb68cfd==null?void 0x0:_0xb68cfd[_0x386f56(0x597)]())??0x1;}[_0x439e5d(0x335)](_0x1e8f17,_0x47912a,_0x102bb4,_0x14502e,_0xe83688){const _0x58b208=_0x439e5d;this[_0x58b208(0x1e4)][_0x58b208(0x2e3)](),this[_0x58b208(0x245)][_0x58b208(0x2e3)](),this[_0x58b208(0x1d5)]['refreshAdjustControls']();let _0x3fcb11=this['_currentConnectionTarget'];this[_0x58b208(0x441)][_0x58b208(0x20c)]();let _0x4f5ee1=this[_0x58b208(0x4ed)](this['_unitId'],this[_0x58b208(0x289)]),_0x52ea9f=this[_0x58b208(0x3d9)](this['_unitId'],this['_subUnitId']),_0x526f69={'x':_0x102bb4[_0x58b208(0x525)]/_0x52ea9f+_0x4f5ee1['x'],'y':_0x102bb4[_0x58b208(0x409)]/_0x52ea9f+_0x4f5ee1['y']},_0x25b422=_0x3fcb11?_0x3fcb11['worldPoint']:_0x526f69,_0x55188a=_0x14502e?this[_0x58b208(0x2db)][_0x58b208(0x341)]():this[_0x58b208(0x2db)][_0x58b208(0x4cd)](),_0x2e1fa9=this[_0x58b208(0x2db)][_0x58b208(0x587)]();_0x55188a?this[_0x58b208(0x4c5)](_0x55188a,_0x25b422,_0x14502e,_0x3fcb11,_0xe83688):this[_0x58b208(0x1ba)](_0x47912a,_0x25b422,_0x14502e,_0x3fcb11,_0xe83688,_0x2e1fa9),this[_0x58b208(0x224)]=!0x1,this[_0x58b208(0x346)]=!0x1,this[_0x58b208(0x583)]=null,_0x1e8f17['enableObjectsEvent']();}[_0x439e5d(0x1ba)](_0x138e95,_0x557e95,_0x4428cf,_0x1f4a42,_0x58a1fd,_0x30e4a8){const _0x6a932b=_0x439e5d;let _0x2716a4=_0x30e4a8===_0x42c76f['ShapeTypeEnum'][_0x6a932b(0x3f3)]||_0x30e4a8===_0x42c76f[_0x6a932b(0x50a)][_0x6a932b(0x4d7)],_0x17a467=_0x4428cf?_0x557e95:_0x138e95,_0x1cec59=_0x4428cf?_0x138e95:_0x557e95,_0xf7d283=this[_0x6a932b(0x2db)]['getConnectorLinePoints'](),_0x510ef1=this[_0x6a932b(0x2db)][_0x6a932b(0x587)](),_0x48dc87=(0x0,_0x42c76f['isCurvedConnectorShape'])(_0x510ef1),_0x3bfd42=_0x42c76f[_0x6a932b(0x2d8)]['getBentTypeFromPoints'](_0xf7d283,_0x48dc87),_0x4fa241=_0x2716a4?_0x42c76f[_0x6a932b(0x2d8)][_0x6a932b(0x234)](_0x17a467,_0x1cec59):_0x42c76f['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x138e95,_0x557e95,_0x4428cf,_0x3bfd42);_0x1f4a42?this[_0x6a932b(0x221)](_0x4fa241,_0x1f4a42,_0x4428cf,_0x58a1fd):this[_0x6a932b(0x251)](_0x4fa241,_0x58a1fd);}[_0x439e5d(0x4c5)](_0x357518,_0x2d298c,_0x3eb259,_0x7d0d82,_0x1cca36){const _0xa60de7=_0x439e5d;let _0x651ebe=this[_0xa60de7(0x2dd)](_0x357518);if(!_0x651ebe)return;let _0x4b6a2e=_0x7d0d82?_0x7d0d82[_0xa60de7(0x2cd)]:this['_calculateFreeEndpointAngle'](_0x651ebe['point'],_0x2d298c),_0x79d870;if(_0x7d0d82){let _0x534463=this['_drawingManagerService'][_0xa60de7(0x269)]({'unitId':_0x7d0d82[_0xa60de7(0x3a2)],'subUnitId':_0x7d0d82[_0xa60de7(0x555)],'drawingId':_0x7d0d82[_0xa60de7(0x1cf)]});if(_0x534463!=null&&_0x534463[_0xa60de7(0x3a8)]){let {left:_0x2c0aba=0x0,top:_0x355e2c=0x0,width:_0x141f7f=0x0,height:_0x6984ad=0x0,angle:_0x408cff}=_0x534463[_0xa60de7(0x3a8)];_0x79d870=(0x0,_0x42c76f[_0xa60de7(0x547)])({'left':_0x2c0aba,'top':_0x355e2c,'width':_0x141f7f,'height':_0x6984ad},_0x408cff||0x0);}else _0x79d870={'left':_0x2d298c['x'],'top':_0x2d298c['y'],'width':0x0,'height':0x0};}else _0x79d870={'left':_0x2d298c['x'],'top':_0x2d298c['y'],'width':0x0,'height':0x0};let _0x2cb2d3={'point':_0x2d298c,'angle':_0x4b6a2e,'bounds':_0x79d870},_0x4b594d=_0x3eb259?_0x2cb2d3:_0x651ebe,_0x23d259=_0x3eb259?_0x651ebe:_0x2cb2d3,_0x36f103=this[_0xa60de7(0x2db)][_0xa60de7(0x587)](),_0xf4289e=(0x0,_0x42c76f[_0xa60de7(0x220)])(_0x4b594d,_0x23d259,_0x36f103);this[_0xa60de7(0x2db)][_0xa60de7(0x562)]();let _0x2eff17=(0x0,_0x42c76f[_0xa60de7(0x25d)])(_0xf4289e,_0x36f103);_0x7d0d82?this[_0xa60de7(0x4df)](_0x2eff17,_0x7d0d82,_0x357518,_0x3eb259,_0x1cca36):this[_0xa60de7(0x2b9)](_0x2eff17,_0x357518,_0x3eb259,_0x1cca36);}[_0x439e5d(0x221)](_0x2abeb3,_0x67fb20,_0x1b4624,_0xa3b938){const _0x168fbb=_0x439e5d;let _0x315397=this[_0x168fbb(0x2db)][_0x168fbb(0x339)]()[_0x168fbb(0x38c)],_0x39425b={..._0x315397},_0x484726={'shapeId':_0x67fb20[_0x168fbb(0x1cf)],'cxnIndex':_0x67fb20[_0x168fbb(0x434)]};_0x1b4624?_0x39425b['from']=_0x484726:_0x39425b['to']=_0x484726;let _0x5a764e=this[_0x168fbb(0x2db)][_0x168fbb(0x587)](),_0x470f51=(0x0,_0x42c76f[_0x168fbb(0x25d)])(_0x2abeb3[_0x168fbb(0x35a)],_0x5a764e),_0x2b830c={'unitId':this[_0x168fbb(0x49a)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x168fbb(0x52c)],'width':_0x2abeb3['worldRect'][_0x168fbb(0x5a5)],'height':_0x2abeb3[_0x168fbb(0x3ad)]['height'],'left':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x4d4)],'top':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x22d)],'flipX':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x365)]||!0x1,'flipY':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x31f)]||!0x1,'newAdjustValues':_0x470f51[_0x168fbb(0x518)],'oldAdjustValues':_0xa3b938,'oldRelation':_0x315397,'newRelation':_0x39425b,'newLineType':_0x470f51[_0x168fbb(0x49e)],'oldLineType':_0x5a764e};this[_0x168fbb(0x30c)]['executeCommand'](_0x43ee3e[_0x168fbb(0x36f)]['id'],_0x2b830c);}[_0x439e5d(0x251)](_0x5eab48,_0x553b73){const _0xd33e5f=_0x439e5d;let _0x27c3f5=this['_activeShapeModel'][_0xd33e5f(0x587)](),_0x321ec5=(0x0,_0x42c76f[_0xd33e5f(0x25d)])(_0x5eab48['worldPoints'],_0x27c3f5),_0x145efb={'unitId':this[_0xd33e5f(0x49a)],'subUnitId':this['_subUnitId'],'shapeId':this['_activeShapeId'],'width':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x5a5)],'height':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x509)],'left':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x4d4)],'top':_0x5eab48['worldRect'][_0xd33e5f(0x22d)],'flipX':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x365)]||!0x1,'flipY':_0x5eab48[_0xd33e5f(0x3ad)]['flipY']||!0x1,'angle':_0x5eab48[_0xd33e5f(0x3ad)]['angle']||0x0,'newAdjustValues':_0x321ec5[_0xd33e5f(0x518)],'oldAdjustValues':_0x553b73,'newLineType':_0x321ec5['lineType'],'oldLineType':_0x27c3f5};this[_0xd33e5f(0x30c)]['executeCommand'](_0x43ee3e['UpdateLineShapeResizeCommand']['id'],_0x145efb);}[_0x439e5d(0x4df)](_0x2bfaab,_0xaf4f37,_0x222daa,_0x140bd8,_0xa89f2b){const _0x27c2f6=_0x439e5d;let _0x27b463=this[_0x27c2f6(0x2db)]['getShapeData']()[_0x27c2f6(0x38c)],_0x53aa1e={..._0x27b463},_0x23c264={'shapeId':_0xaf4f37['shapeId'],'cxnIndex':_0xaf4f37[_0x27c2f6(0x434)]};_0x140bd8?(_0x53aa1e[_0x27c2f6(0x1d9)]=_0x23c264,_0x53aa1e['to']=_0x222daa):(_0x53aa1e[_0x27c2f6(0x1d9)]=_0x222daa,_0x53aa1e['to']=_0x23c264);let _0x4e5320={'unitId':this[_0x27c2f6(0x49a)],'subUnitId':this[_0x27c2f6(0x289)],'connectorShapeId':this['_activeShapeId'],'width':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x5a5)],'height':_0x2bfaab['worldRect'][_0x27c2f6(0x509)],'left':_0x2bfaab['worldRect'][_0x27c2f6(0x4d4)],'top':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x22d)],'flipX':_0x2bfaab[_0x27c2f6(0x3ad)]['flipX']||!0x1,'flipY':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x31f)]||!0x1,'oldAdjustValues':_0xa89f2b,'newAdjustValues':_0x2bfaab[_0x27c2f6(0x518)],'newLineType':_0x2bfaab[_0x27c2f6(0x49e)],'rotation':_0x2bfaab[_0x27c2f6(0x34d)],'oldRelation':_0x27b463,'newRelation':_0x53aa1e};this[_0x27c2f6(0x30c)][_0x27c2f6(0x4b3)](_0x43ee3e[_0x27c2f6(0x36f)]['id'],_0x4e5320);}[_0x439e5d(0x2b9)](_0x17f6ab,_0x431013,_0x5f3e00,_0x293357){const _0x32b296=_0x439e5d;let _0x1d76fd=this[_0x32b296(0x2db)][_0x32b296(0x339)]()['relation'],_0x581076={};_0x5f3e00?(_0x581076['to']=_0x431013,_0x581076[_0x32b296(0x1d9)]=void 0x0):(_0x581076[_0x32b296(0x1d9)]=_0x431013,_0x581076['to']=void 0x0);let _0x13394d={'unitId':this[_0x32b296(0x49a)],'subUnitId':this[_0x32b296(0x289)],'connectorShapeId':this[_0x32b296(0x52c)],'width':_0x17f6ab['worldRect'][_0x32b296(0x5a5)],'height':_0x17f6ab[_0x32b296(0x3ad)]['height'],'left':_0x17f6ab['worldRect'][_0x32b296(0x4d4)],'top':_0x17f6ab[_0x32b296(0x3ad)]['top'],'flipX':_0x17f6ab[_0x32b296(0x3ad)]['flipX']||!0x1,'flipY':_0x17f6ab['worldRect'][_0x32b296(0x31f)]||!0x1,'oldAdjustValues':_0x293357,'newAdjustValues':_0x17f6ab[_0x32b296(0x518)],'newLineType':_0x17f6ab['lineType'],'rotation':_0x17f6ab[_0x32b296(0x34d)],'oldRelation':_0x1d76fd,'newRelation':_0x581076};this['_commandService'][_0x32b296(0x4b3)](_0x43ee3e[_0x32b296(0x36f)]['id'],_0x13394d);}[_0x439e5d(0x3cc)](_0x2b3326,_0x5539c3,_0x490b69){const _0x43a6b6=_0x439e5d;this[_0x43a6b6(0x575)]((0x0,_0x4fcc67['toDisposable'])(_0x2b3326[_0x43a6b6(0x308)][_0x43a6b6(0x320)]((_0x276c23,_0x1caa3a)=>{const _0x373bcb=_0x43a6b6;let _0xa40a46=_0x2b3326[_0x373bcb(0x5af)]();if(this['_activeShapeModel']=this[_0x373bcb(0x4f6)][_0x373bcb(0x1df)](_0xa40a46[_0x373bcb(0x3a2)],_0xa40a46['subUnitId'],_0xa40a46[_0x373bcb(0x457)]),!this['_activeShapeModel'])return;let _0x1948b1={};this[_0x373bcb(0x2db)][_0x373bcb(0x208)]()[_0x373bcb(0x386)](_0x99f43f=>{const _0x37ca11=_0x373bcb;let _0x1e2ca9=this[_0x37ca11(0x2db)][_0x37ca11(0x48e)](_0x99f43f);_0x1e2ca9!==void 0x0&&(_0x1948b1[_0x99f43f]=_0x1e2ca9);});let _0x1693ac=this['_getDrawingRect']();if(!_0x1693ac)return;this[_0x373bcb(0x1d7)]={..._0x1693ac};let _0x763419=new _0x42c76f[(_0x373bcb(0x2d8))](this['_baseDrawingRect']),_0x3f6f5b=(0x0,_0x89eb48[_0x373bcb(0x236)])({'unitId':this[_0x373bcb(0x49a)],'subUnitId':this[_0x373bcb(0x289)],'drawingId':this['_activeShapeId']}),_0x16e904=_0x5539c3[_0x373bcb(0x2b6)](_0x3f6f5b);this[_0x373bcb(0x224)]=!0x0,_0x5539c3['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController'][_0x373bcb(0x1ca)](_0x5539c3,this['_unitId'],this[_0x373bcb(0x289)],this[_0x373bcb(0x52c)]),this['_currentConnectionTarget']=null;let _0x4490f5=this[_0x373bcb(0x2db)][_0x373bcb(0x1f6)](),_0x2f4294=_0x4490f5[0x0],_0x22ded0=_0x4490f5[_0x4490f5[_0x373bcb(0x298)]-0x1],_0x1fe741=_0x490b69?_0x763419[_0x373bcb(0x231)](_0x22ded0):_0x763419[_0x373bcb(0x231)](_0x2f4294);this[_0x373bcb(0x1e4)]=_0x5539c3[_0x373bcb(0x4be)][_0x373bcb(0x320)]((_0x47b620,_0x193a9b)=>{const _0x1d925f=_0x373bcb;if(!this[_0x1d925f(0x224)]||!this[_0x1d925f(0x2db)])return;this[_0x1d925f(0x346)]||=(this[_0x1d925f(0x1d5)]['clearAdjustControls'](),this[_0x1d925f(0x2db)]['clearAdjustValue'](),!0x0);let _0xa7b82c=this[_0x1d925f(0x4ed)](this['_unitId'],this['_subUnitId']),_0xe27da1=this[_0x1d925f(0x3d9)](this['_unitId'],this[_0x1d925f(0x289)]),_0x3b4b91={'x':_0x47b620['offsetX']/_0xe27da1+_0xa7b82c['x'],'y':_0x47b620['offsetY']/_0xe27da1+_0xa7b82c['y']},_0x2ce7cc=this[_0x1d925f(0x441)]['updateConnectionDetection'](_0x3b4b91);if(_0x2ce7cc){let {shapeId:_0x5145a3,unitId:_0x767003,subUnitId:_0x3198c2}=_0x2ce7cc;if(_0x5145a3&&_0x767003&&_0x3198c2){let _0x2adad8=(0x0,_0x89eb48[_0x1d925f(0x236)])({'unitId':_0x767003,'subUnitId':_0x3198c2,'drawingId':_0x5145a3});_0x2ce7cc[_0x1d925f(0x2cd)]=(_0x5539c3[_0x1d925f(0x2b6)](_0x2adad8)[_0x1d925f(0x2cd)]||0x0)+_0x2ce7cc[_0x1d925f(0x2cd)];}}this[_0x1d925f(0x583)]=_0x2ce7cc;let _0x26a294=_0x490b69?this[_0x1d925f(0x2db)][_0x1d925f(0x341)]():this[_0x1d925f(0x2db)][_0x1d925f(0x4cd)]();_0x26a294?this[_0x1d925f(0x21c)](_0x26a294,_0x3b4b91,_0x490b69,_0x16e904,_0x2b3326):this[_0x1d925f(0x2e4)](_0x3b4b91,_0x1fe741,_0x490b69,_0x16e904,_0x2b3326);}),this[_0x373bcb(0x245)]=_0x5539c3[_0x373bcb(0x454)][_0x373bcb(0x320)]((_0x5a0120,_0x10cb0d)=>{const _0x9437fb=_0x373bcb;this[_0x9437fb(0x335)](_0x5539c3,_0x1fe741,_0x5a0120,_0x490b69,_0x1948b1);}),_0x1caa3a[_0x373bcb(0x514)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x4ddc05,_0x297fca,_0x30e397){const _0x53a980=_0x439e5d;let _0x3a27ae=this[_0x53a980(0x4f6)]['getBasicShapeRelation'](_0x4ddc05,_0x297fca,_0x30e397);if(!_0x3a27ae||_0x3a27ae[_0x53a980(0x298)]===0x0)return;let _0x55772e=this[_0x53a980(0x35d)][_0x53a980(0x40f)](_0x4ddc05);if(!_0x55772e)return;let {scene:_0x53fa90}=_0x55772e;for(let _0x3ce01d of _0x3a27ae){let _0x2a370d=_0x3ce01d[_0x53a980(0x226)],_0x5b2679=this[_0x53a980(0x4f6)][_0x53a980(0x1df)](_0x4ddc05,_0x297fca,_0x2a370d);if(!_0x5b2679)continue;let _0x2eb821=_0x5b2679['getStartConnectInfo'](),_0x3ce4f6=_0x5b2679[_0x53a980(0x341)](),_0x3fa14d=(_0x2eb821==null?void 0x0:_0x2eb821[_0x53a980(0x1cf)])===_0x30e397,_0x183907=(0x0,_0x89eb48[_0x53a980(0x236)])({'unitId':_0x4ddc05,'subUnitId':_0x297fca,'drawingId':_0x2a370d}),_0x505136=_0x53fa90[_0x53a980(0x2b6)](_0x183907);if(!_0x505136)continue;let _0x4636b1=this[_0x53a980(0x232)][_0x53a980(0x269)]({'unitId':_0x4ddc05,'subUnitId':_0x297fca,'drawingId':_0x2a370d});_0x4636b1!=null&&_0x4636b1['transform']&&(_0x2eb821&&_0x3ce4f6?this[_0x53a980(0x300)](_0x4ddc05,_0x297fca,_0x2a370d,_0x5b2679,_0x2eb821,_0x3ce4f6,_0x505136):this[_0x53a980(0x534)](_0x4ddc05,_0x297fca,_0x2a370d,_0x5b2679,_0x3fa14d?_0x2eb821:_0x3ce4f6,_0x3fa14d,_0x4636b1,_0x505136));}}[_0x439e5d(0x300)](_0x8b130c,_0x71c015,_0x4c0140,_0x2e2e9c,_0x33edbd,_0x15bfe7,_0x16f40c){const _0x2260f6=_0x439e5d;let _0x2ad204=this[_0x2260f6(0x49a)],_0x42f3c8=this[_0x2260f6(0x289)];this['_unitId']=_0x8b130c,this[_0x2260f6(0x289)]=_0x71c015;let _0x3e2353=this[_0x2260f6(0x2dd)](_0x33edbd),_0xdfa312=this[_0x2260f6(0x2dd)](_0x15bfe7);if(this[_0x2260f6(0x49a)]=_0x2ad204,this['_subUnitId']=_0x42f3c8,!_0x3e2353||!_0xdfa312)return;let _0x46150b=_0x2e2e9c['getShapeType'](),_0xedf96d=(0x0,_0x42c76f[_0x2260f6(0x220)])(_0x3e2353,_0xdfa312,_0x46150b);_0xedf96d&&_0x2e2e9c['updateLinePoints'](_0xedf96d);let _0x3f5a3f=(0x0,_0x42c76f[_0x2260f6(0x25d)])(_0xedf96d,_0x46150b);_0x3f5a3f['lineType']!==_0x46150b&&_0x2e2e9c[_0x2260f6(0x1fe)](_0x3f5a3f[_0x2260f6(0x49e)]),_0x2e2e9c['clearAdjustValue']();for(let [_0x4af8fa,_0x2fa697]of Object[_0x2260f6(0x51f)](_0x3f5a3f[_0x2260f6(0x518)]))_0x2e2e9c['setAdjustValueByName'](_0x4af8fa,_0x2fa697);_0x2e2e9c[_0x2260f6(0x580)]({'width':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x5a5)],'height':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x509)]}),_0x16f40c['transformByState']({'flipX':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x365)],'flipY':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x31f)],'left':_0x3f5a3f[_0x2260f6(0x3ad)]['left'],'top':_0x3f5a3f['worldRect'][_0x2260f6(0x22d)],'width':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x5a5)],'height':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x509)],'angle':_0x3f5a3f[_0x2260f6(0x34d)]}),_0x2e2e9c[_0x2260f6(0x562)]();}[_0x439e5d(0x534)](_0x16fdee,_0x2a0afb,_0xa6fa43,_0x5f354a,_0x325975,_0x1875e6,_0x3310e0,_0x66fbad){const _0x2b1b9f=_0x439e5d;let _0x771b16=this[_0x2b1b9f(0x49a)],_0x2e8707=this[_0x2b1b9f(0x289)];this[_0x2b1b9f(0x49a)]=_0x16fdee,this[_0x2b1b9f(0x289)]=_0x2a0afb;let _0x5d4e57=this[_0x2b1b9f(0x2dd)](_0x325975);if(this[_0x2b1b9f(0x49a)]=_0x771b16,this[_0x2b1b9f(0x289)]=_0x2e8707,!_0x5d4e57)return;let {left:_0x4d74e5=0x0,top:_0x6ad622=0x0,width:_0x1e934b=0x0,height:_0x2d5d8e=0x0,flipX:_0x31fa66=!0x1,flipY:_0x499b88=!0x1}=_0x3310e0['transform'],_0x515966=_0x5f354a[_0x2b1b9f(0x1f6)]();if(_0x515966[_0x2b1b9f(0x298)]<0x2)return;let _0x2a0906=new _0x42c76f[(_0x2b1b9f(0x2d8))]({'left':_0x4d74e5,'top':_0x6ad622,'width':_0x1e934b,'height':_0x2d5d8e,'flipX':_0x31fa66,'flipY':_0x499b88}),_0x43d471=_0x1875e6?_0x515966[_0x515966[_0x2b1b9f(0x298)]-0x1]:_0x515966[0x0],_0x588907=_0x2a0906[_0x2b1b9f(0x231)](_0x43d471),_0x59edf0=_0x42c76f[_0x2b1b9f(0x2d8)][_0x2b1b9f(0x1ed)](_0x588907,_0x5d4e57[_0x2b1b9f(0x479)],!_0x1875e6);_0x66fbad[_0x2b1b9f(0x312)]({'flipX':_0x59edf0['worldRect'][_0x2b1b9f(0x365)],'flipY':_0x59edf0['worldRect'][_0x2b1b9f(0x31f)],'left':_0x59edf0[_0x2b1b9f(0x3ad)][_0x2b1b9f(0x4d4)],'top':_0x59edf0[_0x2b1b9f(0x3ad)][_0x2b1b9f(0x22d)],'width':_0x59edf0['worldRect'][_0x2b1b9f(0x5a5)],'height':_0x59edf0[_0x2b1b9f(0x3ad)]['height'],'angle':_0x59edf0['worldRect'][_0x2b1b9f(0x2cd)]}),_0x66fbad[_0x2b1b9f(0x415)](!0x0);}['_clearShapeConnectorHandlerObjects'](){const _0x27b184=_0x439e5d;this['_connectorObjects'][_0x27b184(0x298)]!==0x0&&(this[_0x27b184(0x5ab)][_0x27b184(0x386)](_0x5f409a=>{const _0x1b905c=_0x27b184;_0x5f409a[_0x1b905c(0x27e)]();}),this[_0x27b184(0x5ab)]=[]);}[_0x439e5d(0x1fa)](){const _0x27158f=_0x439e5d;let _0x2b9df8=this['_univerInstanceService'][_0x27158f(0x2af)](_0x4fcc67[_0x27158f(0x578)]['UNIVER_SHEET']);this[_0x27158f(0x575)](_0x2b9df8[_0x27158f(0x48b)]((0x0,_0x5597c9[_0x27158f(0x33b)])(_0x13e3c8=>_0x13e3c8?_0x13e3c8[_0x27158f(0x399)][_0x27158f(0x48b)]((0x0,_0x5597c9[_0x27158f(0x33b)])(_0x8932a6=>{const _0x2fee1a=_0x27158f;if(!_0x8932a6)return _0x5597c9[_0x2fee1a(0x528)];let _0x5388a5=_0x13e3c8[_0x2fee1a(0x54e)](),_0x5615a5=this[_0x2fee1a(0x35d)][_0x2fee1a(0x40f)](_0x5388a5),_0x28741f=_0x5615a5==null?void 0x0:_0x5615a5['scene'];return _0x28741f?(0x0,_0x5597c9['of'])(_0x28741f):_0x5597c9[_0x2fee1a(0x528)];})):_0x5597c9['EMPTY']))['subscribe'](_0x25f817=>{const _0x52fbc1=_0x27158f;let _0x39a0bf=_0x25f817[_0x52fbc1(0x4e6)]();this[_0x52fbc1(0x575)](_0x25f817[_0x52fbc1(0x4be)][_0x52fbc1(0x320)](_0x1121f3=>{const _0x40d2ac=_0x52fbc1;this['_isDrawingShapePointDown']&&this[_0x40d2ac(0x52c)]&&this[_0x40d2ac(0x563)]();})),this['disposeWithMe'](_0x39a0bf['changeStart$'][_0x52fbc1(0x523)](_0x4e9b6c=>{const _0x1719c4=_0x52fbc1;let {objects:_0x56b018}=_0x4e9b6c;this['_clearShapeConnectorHandlerObjects'](),_0x56b018!==null&&_0x56b018[_0x1719c4(0x535)]===0x1&&_0x56b018[_0x1719c4(0x413)]()[_0x1719c4(0x4e3)]()[_0x1719c4(0x3f0)]instanceof _0x11dd97&&(this[_0x1719c4(0x32c)]=!0x0);})),this[_0x52fbc1(0x575)](_0x39a0bf['changing$']['subscribe'](_0x4fcf7f=>{const _0xa1c6ef=_0x52fbc1;this[_0xa1c6ef(0x32c)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x52fbc1(0x575)](_0x25f817[_0x52fbc1(0x454)][_0x52fbc1(0x320)](()=>{const _0x267e78=_0x52fbc1;this[_0x267e78(0x32c)]&&(this[_0x267e78(0x32c)]=!0x1,this[_0x267e78(0x39c)]());})),this[_0x52fbc1(0x575)](_0x39a0bf[_0x52fbc1(0x395)][_0x52fbc1(0x523)](()=>{const _0x1d62bd=_0x52fbc1;this[_0x1d62bd(0x49a)]&&this[_0x1d62bd(0x289)]&&this[_0x1d62bd(0x52c)]&&this[_0x1d62bd(0x232)][_0x1d62bd(0x269)]({'unitId':this[_0x1d62bd(0x49a)],'subUnitId':this[_0x1d62bd(0x289)],'drawingId':this[_0x1d62bd(0x52c)]})&&(this[_0x1d62bd(0x563)](),this[_0x1d62bd(0x39c)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x36bbc2=_0x439e5d;this['disposeWithMe'](this[_0x36bbc2(0x232)][_0x36bbc2(0x328)][_0x36bbc2(0x523)](_0x2a4460=>{const _0x12cd7e=_0x36bbc2;if(_0x2a4460['length']===0x1){let _0x5c14bb=_0x2a4460[0x0];if(_0x5c14bb['drawingType']===_0x4fcc67['DrawingTypeEnum'][_0x12cd7e(0x4b8)]){let _0x4b3cb2=this[_0x12cd7e(0x4f6)][_0x12cd7e(0x1df)](_0x5c14bb[_0x12cd7e(0x3a2)],_0x5c14bb[_0x12cd7e(0x555)],_0x5c14bb[_0x12cd7e(0x457)]);if(_0x4b3cb2&&(0x0,_0x42c76f[_0x12cd7e(0x2a1)])(_0x4b3cb2['getShapeType']())){this['_activeShapeId']=_0x5c14bb[_0x12cd7e(0x457)],this[_0x12cd7e(0x49a)]=_0x5c14bb[_0x12cd7e(0x3a2)],this[_0x12cd7e(0x289)]=_0x5c14bb[_0x12cd7e(0x555)],this[_0x12cd7e(0x563)](),this[_0x12cd7e(0x39c)]();return;}}}this[_0x12cd7e(0x52c)]=void 0x0,this['_unitId']=void 0x0,this[_0x12cd7e(0x289)]=void 0x0,this[_0x12cd7e(0x563)]();})),this[_0x36bbc2(0x575)](this[_0x36bbc2(0x232)][_0x36bbc2(0x342)]['subscribe'](_0x3315d8=>{const _0x3ebe8d=_0x36bbc2;if(_0x3315d8[_0x3ebe8d(0x298)]===0x1){var _0x15a5a0;let _0x80ab23=_0x3315d8[0x0],_0x3a5a0b=(_0x15a5a0=this[_0x3ebe8d(0x232)][_0x3ebe8d(0x269)](_0x80ab23))==null?void 0x0:_0x15a5a0[_0x3ebe8d(0x31a)];_0x3a5a0b===_0x4fcc67[_0x3ebe8d(0x204)][_0x3ebe8d(0x4b8)]&&_0x80ab23[_0x3ebe8d(0x457)]===this[_0x3ebe8d(0x52c)]?(this[_0x3ebe8d(0x563)](),this[_0x3ebe8d(0x39c)]()):!this[_0x3ebe8d(0x52c)]&&_0x3a5a0b===_0x4fcc67[_0x3ebe8d(0x204)][_0x3ebe8d(0x4b8)]&&this[_0x3ebe8d(0x4c7)](_0x80ab23[_0x3ebe8d(0x3a2)],_0x80ab23['subUnitId'],_0x80ab23[_0x3ebe8d(0x457)]);}})),this[_0x36bbc2(0x575)](this['_drawingManagerService'][_0x36bbc2(0x228)][_0x36bbc2(0x523)](_0x3c3fc1=>{const _0x20cacb=_0x36bbc2;for(let _0x396b9b of _0x3c3fc1){let {drawingId:_0x110270}=_0x396b9b;if(this[_0x20cacb(0x52c)]===_0x110270){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x4c0828,_0x65ed72,_0x3edbdd,_0x231cd6,_0x27f215){const _0x30a263=_0x439e5d;var _0x1bed7b;if(!this[_0x30a263(0x2db)])return;let _0x8ee044=this['_getConnectPointInfo'](_0x4c0828);if(!_0x8ee044)return;let _0x48a703=this['_currentConnectionTarget']?this[_0x30a263(0x583)][_0x30a263(0x3e8)]:_0x65ed72,_0x324090=this[_0x30a263(0x583)]?this[_0x30a263(0x583)][_0x30a263(0x2cd)]:this[_0x30a263(0x36a)](_0x8ee044[_0x30a263(0x479)],_0x48a703),_0x358798;if(this['_currentConnectionTarget']){let _0x1d5f9d=this['_drawingManagerService'][_0x30a263(0x269)]({'unitId':this[_0x30a263(0x583)][_0x30a263(0x3a2)],'subUnitId':this[_0x30a263(0x583)][_0x30a263(0x555)],'drawingId':this[_0x30a263(0x583)][_0x30a263(0x1cf)]});if(_0x1d5f9d!=null&&_0x1d5f9d[_0x30a263(0x3a8)]){let {left:_0x4aebbe=0x0,top:_0x5345b2=0x0,width:_0x4589f1=0x0,height:_0x2b23e0=0x0,angle:_0x567889}=_0x1d5f9d[_0x30a263(0x3a8)];_0x358798=(0x0,_0x42c76f[_0x30a263(0x547)])({'left':_0x4aebbe,'top':_0x5345b2,'width':_0x4589f1,'height':_0x2b23e0},_0x567889||0x0);}else _0x358798={'left':_0x48a703['x'],'top':_0x48a703['y'],'width':0x0,'height':0x0};}else _0x358798={'left':_0x48a703['x'],'top':_0x48a703['y'],'width':0x0,'height':0x0};let _0xbb3c49={'point':_0x48a703,'angle':_0x324090,'bounds':_0x358798},_0xe39019=_0x3edbdd?_0xbb3c49:_0x8ee044,_0x5dd43a=_0x3edbdd?_0x8ee044:_0xbb3c49,_0x4fbfd3=this[_0x30a263(0x2db)][_0x30a263(0x587)](),_0xd0f843=(0x0,_0x42c76f[_0x30a263(0x220)])(_0xe39019,_0x5dd43a,_0x4fbfd3);_0xd0f843&&this['_activeShapeModel'][_0x30a263(0x255)](_0xd0f843);let _0xbb5ebf=(0x0,_0x42c76f[_0x30a263(0x25d)])(_0xd0f843,_0x4fbfd3);_0xbb5ebf[_0x30a263(0x49e)]!==_0x4fbfd3&&this[_0x30a263(0x2db)][_0x30a263(0x1fe)](_0xbb5ebf[_0x30a263(0x49e)]);for(let [_0x3df70e,_0x2d9b84]of Object[_0x30a263(0x51f)](_0xbb5ebf['adjustValues']))this[_0x30a263(0x2db)]['setAdjustValueByName'](_0x3df70e,_0x2d9b84);this[_0x30a263(0x2db)][_0x30a263(0x580)]({'width':_0xbb5ebf[_0x30a263(0x3ad)]['width'],'height':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x509)]}),_0x231cd6['transformByState']({'flipX':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x365)],'flipY':_0xbb5ebf['worldRect']['flipY'],'left':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x4d4)],'top':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x22d)],'width':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x5a5)],'height':_0xbb5ebf['worldRect']['height'],'angle':_0xbb5ebf[_0x30a263(0x34d)]}),_0x231cd6[_0x30a263(0x415)](!0x0);let _0x318e93=((_0x1bed7b=this[_0x30a263(0x583)])==null?void 0x0:_0x1bed7b['worldPoint'])??_0x65ed72;_0x27f215[_0x30a263(0x312)]({'left':_0x318e93['x']-_0x42c76f[_0x30a263(0x1de)][_0x30a263(0x2d3)],'top':_0x318e93['y']-_0x42c76f[_0x30a263(0x1de)]['cxnPointRadius']});}[_0x439e5d(0x2e4)](_0x3e91f2,_0x201e5a,_0x44941f,_0x587b26,_0x54a5a3){const _0x105080=_0x439e5d;var _0xda828a,_0x4086e9;let _0x3d5563=((_0xda828a=this['_currentConnectionTarget'])==null?void 0x0:_0xda828a[_0x105080(0x3e8)])??_0x3e91f2,_0x221beb=_0x42c76f[_0x105080(0x2d8)][_0x105080(0x1ed)](_0x201e5a,_0x3d5563,_0x44941f);_0x587b26['transformByState']({'flipX':_0x221beb[_0x105080(0x3ad)][_0x105080(0x365)],'flipY':_0x221beb[_0x105080(0x3ad)]['flipY'],'left':_0x221beb[_0x105080(0x3ad)][_0x105080(0x4d4)],'top':_0x221beb['worldRect']['top'],'width':_0x221beb[_0x105080(0x3ad)][_0x105080(0x5a5)],'height':_0x221beb[_0x105080(0x3ad)][_0x105080(0x509)],'angle':_0x221beb['worldRect'][_0x105080(0x2cd)]});let _0x2545d5=((_0x4086e9=this[_0x105080(0x583)])==null?void 0x0:_0x4086e9['worldPoint'])??_0x3e91f2;_0x54a5a3[_0x105080(0x312)]({'left':_0x2545d5['x']-_0x42c76f[_0x105080(0x1de)][_0x105080(0x2d3)],'top':_0x2545d5['y']-_0x42c76f[_0x105080(0x1de)][_0x105080(0x2d3)]});}[_0x439e5d(0x2dd)](_0x1dae0c){const _0x79576c=_0x439e5d;if(!this[_0x79576c(0x49a)]||!this['_subUnitId'])return null;let {shapeId:_0x386989,cxnIndex:_0x24af50}=_0x1dae0c,_0x1aa4b5=this[_0x79576c(0x4f6)][_0x79576c(0x1df)](this[_0x79576c(0x49a)],this[_0x79576c(0x289)],_0x386989);if(!_0x1aa4b5)return null;let _0x385dde=this[_0x79576c(0x232)][_0x79576c(0x269)]({'unitId':this[_0x79576c(0x49a)],'subUnitId':this[_0x79576c(0x289)],'drawingId':_0x386989});if(!(_0x385dde!=null&&_0x385dde[_0x79576c(0x3a8)]))return null;let {left:_0x30c8db=0x0,top:_0x137147=0x0,width:_0xe1a2c9=0x0,height:_0x8a4543=0x0,flipX:_0x40e997=!0x1,flipY:_0x3b378c=!0x1,angle:_0x558e72}=_0x385dde['transform'];_0x1aa4b5[_0x79576c(0x580)]({'width':_0xe1a2c9,'height':_0x8a4543});let _0x5a1b7e=_0x1aa4b5[_0x79576c(0x58e)]()[_0x79576c(0x2b5)](_0x185563=>_0x185563[_0x79576c(0x558)]===_0x24af50);if(!_0x5a1b7e)return null;let _0x13317f=_0x40e997?_0xe1a2c9-_0x5a1b7e['x']:_0x5a1b7e['x'],_0x26dd8b=_0x3b378c?_0x8a4543-_0x5a1b7e['y']:_0x5a1b7e['y'];if(_0x558e72!==0x0&&_0x558e72!=null){let _0x38b264=_0x558e72*Math['PI']/0xb4,_0x53db77=Math[_0x79576c(0x4e9)](_0x38b264),_0x1be561=Math[_0x79576c(0x326)](_0x38b264),_0x11c2e1=_0xe1a2c9/0x2,_0x66e135=_0x8a4543/0x2,_0x1661d5=_0x13317f-_0x11c2e1,_0x1c55de=_0x26dd8b-_0x66e135;_0x13317f=_0x11c2e1+_0x1661d5*_0x53db77-_0x1c55de*_0x1be561,_0x26dd8b=_0x66e135+_0x1661d5*_0x1be561+_0x1c55de*_0x53db77;}_0x13317f+=_0x30c8db,_0x26dd8b+=_0x137147;let _0x2c4c79=_0x5a1b7e[_0x79576c(0x3ca)]/0xea60;_0x40e997&&(_0x2c4c79=0xb4-_0x2c4c79),_0x3b378c&&(_0x2c4c79=-_0x2c4c79),_0x2c4c79+=_0x558e72||0x0,_0x2c4c79=(_0x2c4c79%0x168+0x168)%0x168;let _0x17f240=(0x0,_0x42c76f[_0x79576c(0x547)])({'left':_0x30c8db,'top':_0x137147,'width':_0xe1a2c9,'height':_0x8a4543},_0x558e72||0x0);return{'point':{'x':_0x13317f,'y':_0x26dd8b},'angle':_0x2c4c79,'bounds':_0x17f240};}[_0x439e5d(0x36a)](_0x3eff5c,_0x62a041){const _0x3ab301=_0x439e5d;let _0x2c7ca2=_0x62a041['x']-_0x3eff5c['x'],_0x41dee3=_0x62a041['y']-_0x3eff5c['y'];return Math[_0x3ab301(0x3be)](_0x2c7ca2)>=Math[_0x3ab301(0x3be)](_0x41dee3)?_0x2c7ca2>=0x0?0xb4:0x0:_0x41dee3>=0x0?0x10e:0x5a;}[_0x439e5d(0x2f1)](){const _0x327209=_0x439e5d;this[_0x327209(0x52c)]=void 0x0,this[_0x327209(0x49a)]=void 0x0,this[_0x327209(0x289)]=void 0x0,this[_0x327209(0x563)]();}['dispose'](){const _0x40195b=_0x439e5d;this[_0x40195b(0x563)](),super[_0x40195b(0x27e)]();}};_0xe1e335=_0x5b9725([_0x56348c(0x1,_0x4fcc67['ICommandService']),_0x56348c(0x2,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x6,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0xcd5dc6)),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x32b22d))],_0xe1e335);let _0x3b9ac4=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x26d577,_0x1bc12c,_0x3acb25){const _0x5268a5=_0x439e5d;super(),this['_sheetPrintInterceptorService']=_0x26d577,this[_0x5268a5(0x232)]=_0x1bc12c,this[_0x5268a5(0x21a)]=_0x3acb25,this['_initPrinting']();}[_0x439e5d(0x570)](){const _0x517aaa=_0x439e5d;this[_0x517aaa(0x575)](this[_0x517aaa(0x5ac)]['interceptor'][_0x517aaa(0x463)](this[_0x517aaa(0x5ac)][_0x517aaa(0x3db)][_0x517aaa(0x254)]()[_0x517aaa(0x1f5)],{'handler':(_0x2def21,_0x225b95,_0x11ee4d)=>{const _0x36508a=_0x517aaa;var _0x11e59e;let {unitId:_0x3c99f7,subUnitId:_0x4ca347,scene:_0x3dc26f,resourceCollector:_0x19788a}=_0x225b95,_0x44b2e5=(_0x11e59e=this['_drawingManagerService'][_0x36508a(0x309)](_0x3c99f7))==null?void 0x0:_0x11e59e[_0x4ca347];return _0x44b2e5==null||_0x44b2e5[_0x36508a(0x392)][_0x36508a(0x386)](_0x1585af=>{const _0x13463a=_0x36508a;let _0x441155=_0x44b2e5[_0x13463a(0x1c3)][_0x1585af];_0x441155[_0x13463a(0x31a)]===_0x4fcc67[_0x13463a(0x204)][_0x13463a(0x4b8)]&&!_0x441155[_0x13463a(0x465)]&&this[_0x13463a(0x21a)][_0x13463a(0x3a7)](_0x441155,_0x3dc26f,{'resourceCollector':_0x19788a});}),_0x11ee4d(_0x2def21);}}));}};_0x3b9ac4=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x57c)])),_0x56348c(0x1,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x5e7905))],_0x3b9ac4);let _0x3df547=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x262af4,_0x57d775,_0x19d732){const _0x58cdc9=_0x439e5d;super(),this[_0x58cdc9(0x30c)]=_0x262af4,this[_0x58cdc9(0x39d)]=_0x57d775,this['_sheetPermissionCheckController']=_0x19d732,this[_0x58cdc9(0x487)]();}[_0x439e5d(0x487)](){const _0x2c1d94=_0x439e5d;this[_0x2c1d94(0x575)](this[_0x2c1d94(0x30c)][_0x2c1d94(0x4fe)](_0x5a8365=>{const _0x5dfa26=_0x2c1d94;let _0x2b34c3,_0xd379f9;if(_0x5a8365['id']===_0x43ee3e[_0x5dfa26(0x3b1)]['id']||_0x5a8365['id']===_0x43ee3e['SetShapeDrawingDataCommand']['id']||_0x5a8365['id']===_0x43ee3e[_0x5dfa26(0x36f)]['id']){let _0x2d548e=_0x5a8365[_0x5dfa26(0x22e)];_0x2b34c3=_0x2d548e[_0x5dfa26(0x3a2)],_0xd379f9=_0x2d548e[_0x5dfa26(0x555)];}_0x2b34c3&&_0xd379f9&&(this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x33d9c6['WorkbookEditablePermission']],'worksheetTypes':[_0x33d9c6[_0x5dfa26(0x53d)]]},_0x2b34c3,_0xd379f9)||this[_0x5dfa26(0x497)][_0x5dfa26(0x2b0)](this[_0x5dfa26(0x39d)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x3df547=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['ICommandService'])),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x33d9c6[_0x439e5d(0x247)]))],_0x3df547);let _0x3be203=class{constructor(_0x106521){const _0x51d0bd=_0x439e5d;this[_0x51d0bd(0x35d)]=_0x106521;}[_0x439e5d(0x37f)](_0x3eb68b,_0x14022e){const _0x18b532=_0x439e5d;let _0x3fa1c6=this['_renderManagerService'][_0x18b532(0x40f)](_0x3eb68b[_0x18b532(0x3a2)]),_0x5df7f8=_0x3fa1c6==null?void 0x0:_0x3fa1c6[_0x18b532(0x56f)];if(!_0x5df7f8)return;let _0x2e19fb=(0x0,_0x89eb48[_0x18b532(0x236)])(_0x3eb68b),_0x17ecd2=_0x5df7f8[_0x18b532(0x2b6)](_0x2e19fb);_0x17ecd2==null||_0x17ecd2[_0x18b532(0x585)](_0x14022e);}};_0x3be203=_0x5b9725([_0x56348c(0x0,_0x5e3080[_0x439e5d(0x265)])],_0x3be203);let _0x3ecc29=class extends _0x4fcc67[_0x439e5d(0x51d)]{constructor(_0x40118a=_0x42d7f1,_0x683fc4,_0x18c70e,_0x37802b,_0x33102d){const _0x4a0612=_0x439e5d;super(),this[_0x4a0612(0x1d3)]=_0x40118a,this[_0x4a0612(0x492)]=_0x683fc4,this['_commandService']=_0x18c70e,this[_0x4a0612(0x3e7)]=_0x37802b,this[_0x4a0612(0x35d)]=_0x33102d;let {..._0x1ae56a}=(0x0,_0x4fcc67[_0x4a0612(0x40e)])({},_0x42d7f1,this[_0x4a0612(0x1d3)]);this['_configService'][_0x4a0612(0x3bf)](_0x4d1e57,_0x1ae56a),this[_0x4a0612(0x453)]();}['onStarting'](){const _0x45d907=_0x439e5d;this[_0x45d907(0x492)][_0x45d907(0x3e9)]([_0x15f53e]),this['_injector']['get'](_0x15f53e),(0x0,_0x4fcc67['registerDependencies'])(this[_0x45d907(0x492)],[[_0x53caa5],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547]]);}[_0x439e5d(0x238)](){const _0x95b3b9=_0x439e5d;(0x0,_0x4fcc67[_0x95b3b9(0x1ee)])(this[_0x95b3b9(0x492)],[[_0x32b22d],[_0xcd5dc6],[_0x2d338f]]),(0x0,_0x4fcc67['touchDependencies'])(this[_0x95b3b9(0x492)],[[_0x2d338f],[_0xcd5dc6]]),[[_0x32b22d],[_0x2aa3d8],[_0xe1e335],[_0x1621e0]][_0x95b3b9(0x386)](_0x27af55=>{const _0x4dfd02=_0x95b3b9;this[_0x4dfd02(0x575)](this[_0x4dfd02(0x35d)][_0x4dfd02(0x2c7)](_0x4fcc67[_0x4dfd02(0x578)][_0x4dfd02(0x28f)],_0x27af55));});}[_0x439e5d(0x4a0)](){const _0x18fd4a=_0x439e5d;(0x0,_0x4fcc67['touchDependencies'])(this[_0x18fd4a(0x492)],[[_0x53caa5],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547]]);}['onSteady'](){const _0x30f759=_0x439e5d;this[_0x30f759(0x492)][_0x30f759(0x55f)](_0x53caa5)['initShapePopupMenu']();}[_0x439e5d(0x453)](){const _0x38ffbe=_0x439e5d;[_0x595989,_0x4b1d28,_0x4d0210,_0x20217e][_0x38ffbe(0x386)](_0x32481b=>this['disposeWithMe'](this['_commandService'][_0x38ffbe(0x471)](_0x32481b)));}};_0x355f4a(_0x3ecc29,'type',_0x4fcc67[_0x439e5d(0x578)][_0x439e5d(0x28f)]),_0x355f4a(_0x3ecc29,_0x439e5d(0x464),_0x439e5d(0x22f)),_0x355f4a(_0x3ecc29,'packageName',_0x662816),_0x355f4a(_0x3ecc29,_0x439e5d(0x3d8),_0x2993c4),_0x3ecc29=_0x5b9725([(0x0,_0x4fcc67[_0x439e5d(0x2cb)])(_0x53e697[_0x439e5d(0x387)],_0x73dbdf['UniverDocsPlugin'],_0x89eb48[_0x439e5d(0x27b)],_0x5e3080[_0x439e5d(0x48c)],_0x33d9c6[_0x439e5d(0x259)],_0x505021[_0x439e5d(0x52e)],_0x51f92a[_0x439e5d(0x39f)],_0x1959c2[_0x439e5d(0x21b)],_0x254bb3[_0x439e5d(0x29c)],_0x43ee3e[_0x439e5d(0x58a)],_0x5b8007['UniverSheetsMobileUIPlugin'],_0x1a617a[_0x439e5d(0x46c)],_0x3412e6[_0x439e5d(0x272)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67[_0x439e5d(0x3a1)])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x27c)]),_0x56348c(0x4,_0x5e3080['IRenderManagerService'])],_0x3ecc29);let _0x530760={'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x22f44d(){const _0x503fbe=_0x439e5d;let _0x11e9f8=(0x0,_0x3412e6[_0x503fbe(0x4a1)])(_0x89eb48[_0x503fbe(0x211)]),_0x45b1a0=(0x0,_0x3412e6[_0x503fbe(0x3d6)])(()=>_0x11e9f8[_0x503fbe(0x328)],_0x11e9f8[_0x503fbe(0x52f)](),!0x1,[_0x11e9f8]);return _0x45b1a0[_0x503fbe(0x298)]===0x0?null:(0x0,_0x58bcbb[_0x503fbe(0x58f)])('div',{'children':(0x0,_0x58bcbb[_0x503fbe(0x4b5)])('div',{'className':_0x503fbe(0x44a),'children':[(0x0,_0x58bcbb[_0x503fbe(0x58f)])(_0x108bdb[_0x503fbe(0x4a5)],{'drawings':_0x45b1a0,'hasCropper':!0x1}),(0x0,_0x58bcbb[_0x503fbe(0x58f)])(_0x254bb3[_0x503fbe(0x3ce)],{'drawings':_0x45b1a0})]})});}function _0x3a4edc(_0x2a16b4){const _0x3333f5=_0x439e5d;let {unitId:_0x254318,subUnitId:_0x56639b,shapeId:_0x39ab1f}=_0x2a16b4,_0x41b1a3=(0x0,_0x3412e6[_0x3333f5(0x4a1)])(_0x4fcc67['ICommandService']),_0x24768d=(0x0,_0x3412e6[_0x3333f5(0x4a1)])(_0x3be203);return(0x0,_0x58bcbb[_0x3333f5(0x58f)])(_0x1a617a['ShapeEditPanel'],{..._0x2a16b4,'positionEditor':(0x0,_0x58bcbb['jsx'])(_0x22f44d,{}),'onUpdateShapeData':(_0x49e3dc,_0x176c5a)=>{_0x15d4c3(_0x41b1a3,_0x254318,_0x56639b,_0x39ab1f,_0x49e3dc,_0x176c5a);},'onUpdateLineShapeData':(_0x242154,_0x1e7de3)=>{_0x8a2fc8(_0x41b1a3,_0x254318,_0x56639b,_0x39ab1f,_0x242154,_0x1e7de3);},'onUpdateShapeFillImage':_0x43fa96=>{_0x24768d['updateShapeFillImage']({'unitId':_0x254318,'subUnitId':_0x56639b,'drawingId':_0x39ab1f},_0x43fa96);}});}function _0xf496ba(_0x3912bd){const _0x42a375=_0x439e5d;let _0x4c8f00=(0x0,_0x3412e6[_0x42a375(0x4a1)])(_0x1a617a[_0x42a375(0x406)]),_0x2e8e59=(0x0,_0x3412e6[_0x42a375(0x3d6)])(()=>_0x4c8f00[_0x42a375(0x22b)],_0x4c8f00['getVisible'](),!0x1,[_0x4c8f00]),_0x37ff24=_0x3912bd[_0x42a375(0x212)]['extraProps'];return!_0x37ff24||!_0x2e8e59?null:(0x0,_0x58bcbb[_0x42a375(0x58f)])(_0x54a958,{..._0x37ff24,'canvasElement':_0x3912bd[_0x42a375(0x212)][_0x42a375(0x1bc)]});}function _0x54a958(_0xc0183){const _0x4a73d9=_0x439e5d;let _0x5cd477=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x4a73d9(0x286)]),_0x3164c2=(0x0,_0x3412e6['useDependency'])(_0x43ee3e['SheetsShapeService']),{unitId:_0x570500,subUnitId:_0x551249,drawingId:_0xc878fc,drawingType:_0x4babe2,shapeType:_0x5772bf}=_0xc0183,[_0x3b89e3,_0x26495c]=(0x0,_0x9d5ee3[_0x4a73d9(0x469)])(_0xc0183[_0x4a73d9(0x331)]),_0x1d540e=(0x0,_0x9d5ee3[_0x4a73d9(0x59b)])(()=>(0x0,_0x1a617a[_0x4a73d9(0x3c0)])(_0x3b89e3),[_0x3b89e3]),_0x14e027=(0x0,_0x9d5ee3[_0x4a73d9(0x59b)])(()=>(0x0,_0x1a617a[_0x4a73d9(0x458)])(_0x3b89e3),[_0x3b89e3]);(0x0,_0x9d5ee3[_0x4a73d9(0x396)])(()=>{const _0x3b4c1c=_0x4a73d9;let _0x33ada7=_0x5cd477['onCommandExecuted'](_0x30637d=>{const _0x4cae83=_0x3385;if(_0x30637d['id']!==_0x43ee3e[_0x4cae83(0x403)]['id'])return;let _0x2f5174=_0x3164c2[_0x4cae83(0x343)](_0x570500,_0x551249,_0xc878fc);_0x2f5174&&_0x26495c(_0x2f5174);});return()=>_0x33ada7[_0x3b4c1c(0x27e)]();},[_0x5cd477,_0xc878fc,_0x3164c2,_0x551249,_0x570500]);let _0x1fd7fc=_0x34d873=>{_0x26495c(_0x16a3b2=>({..._0x16a3b2,..._0x34d873}));},_0x21704c=_0x121a4e=>{const _0x2d3711=_0x4a73d9;let _0x34c28f=(0x0,_0x1a617a[_0x2d3711(0x591)])(_0x3b89e3,_0x121a4e);_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,{'oldShapeData':{'shapeText':_0x3b89e3[_0x2d3711(0x1d1)]}},_0x34c28f),_0x1fd7fc(_0x34c28f);},_0x2557bd=(0x0,_0x1a617a[_0x4a73d9(0x474)])({'hostType':_0x4fcc67['UniverInstanceType'][_0x4a73d9(0x28f)],'unitId':_0x570500,'subUnitId':_0x551249,'shapeId':_0xc878fc,'shapeData':_0x3b89e3,'onUpdateBinding':_0x5e05dd=>{const _0x1225e4=_0x4a73d9;let _0x3077b9={'formulaBinding':_0x5e05dd};_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,{'oldShapeData':{'formulaBinding':_0x3b89e3[_0x1225e4(0x4d5)]}},_0x3077b9),_0x1fd7fc(_0x3077b9);}});return(0x0,_0x58bcbb[_0x4a73d9(0x4b5)])(_0x58bcbb[_0x4a73d9(0x26a)],{'children':[(0x0,_0x58bcbb[_0x4a73d9(0x58f)])(_0x1a617a[_0x4a73d9(0x1f2)],{'canvasElement':_0xc0183['canvasElement'],'shapeData':_0x3b89e3,'shapeType':_0x5772bf,'textStyle':{'ff':_0x42c76f[_0x4a73d9(0x1de)]['shapeText']['fontFamily'],'fs':_0x42c76f[_0x4a73d9(0x1de)]['shapeText'][_0x4a73d9(0x28c)],'cl':{'rgb':_0x42c76f[_0x4a73d9(0x1de)]['shapeText'][_0x4a73d9(0x2c5)]},..._0x1d540e},'textModel':_0x14e027?{'ha':_0x14e027['ha']??_0x4fcc67['HorizontalAlign'][_0x4a73d9(0x35f)],'va':_0x14e027['va']??_0x4fcc67[_0x4a73d9(0x263)]['TOP']}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x42c76f['ShapeDefaultConfig'][_0x4a73d9(0x46e)],'defaultGradientEndColor':_0x42c76f[_0x4a73d9(0x1de)][_0x4a73d9(0x278)],'defaultStrokeColor':_0x42c76f[_0x4a73d9(0x1de)]['stroke'],'extensionGroups':_0x2557bd[_0x4a73d9(0x1c9)],'floatingObjectToolbarPosition':_0x3412e6[_0x4a73d9(0x426)][_0x4a73d9(0x280)],'onUpdateShapeData':(_0x1d1df1,_0x16ebed)=>{_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,_0x1d1df1,_0x16ebed),_0x16ebed&&_0x1fd7fc(_0x16ebed);},'onUpdateText':_0x21704c,'onOpenPanel':()=>{const _0x5a183d=_0x4a73d9;_0x5cd477[_0x5a183d(0x4b3)](_0x5398f0['id'],{'unitId':_0x570500,'subUnitId':_0x551249,'drawingId':_0xc878fc});},'onDelete':()=>{const _0x52701e=_0x4a73d9;_0x5cd477[_0x52701e(0x4b3)](_0x51f92a['RemoveSheetDrawingCommand']['id'],{'unitId':_0x570500,'drawings':[{'unitId':_0x570500,'subUnitId':_0x551249,'drawingId':_0xc878fc,'drawingType':_0x4babe2}]});}}),_0x2557bd[_0x4a73d9(0x2e5)]]});}function _0x3f7252(_0x5412f8){const _0x27f7d6=_0x439e5d;return!!_0x5412f8&&'axisAlignSheetTransform'in _0x5412f8&&_0x27f7d6(0x4ad)in _0x5412f8;}let _0x3f6428=(0x0,_0x9d5ee3[_0x439e5d(0x3b6)])(()=>{const _0xd96005=_0x439e5d;let _0x391175=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x2d6cbb),_0x4a2773=(0x0,_0x3412e6['useDependency'])(_0x43ee3e['SheetsShapeService']),_0x2184bf=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x89eb48[_0xd96005(0x211)]),_0x3af530=(0x0,_0x3412e6['useDependency'])(_0x4fcc67['ICommandService']),_0x1beee7=(0x0,_0x3412e6['useDependency'])(_0x3412e6[_0xd96005(0x394)]),_0x5872c6=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x5e3080[_0xd96005(0x265)]),_0x52478d=(0x0,_0x9d5ee3['useMemo'])(()=>({'getShapeModel':(_0x229b21,_0x51ce7e,_0x268c76)=>_0x4a2773[_0xd96005(0x1df)](_0x229b21,_0x51ce7e,_0x268c76),'getShapeData':(_0x191243,_0xa6bf1f,_0x4db745)=>_0x4a2773['getShapeDataById'](_0x191243,_0xa6bf1f,_0x4db745),'getDrawingTransform':(_0xc46721,_0xc6c70,_0xfbb5b5)=>{const _0x20e68e=_0xd96005;let _0x2ebbb7=_0x2184bf[_0x20e68e(0x269)]({'unitId':_0xc46721,'subUnitId':_0xc6c70,'drawingId':_0xfbb5b5});return _0x2ebbb7==null?void 0x0:_0x2ebbb7[_0x20e68e(0x3a8)];},'updateShapeText':({unitId:_0x3213e0,subUnitId:_0x2457ca,shapeId:_0x2ce518,shapeText:_0x1676d9,oldShapeText:_0x368dad,hostSize:_0x5ae3a3})=>{_0x1beee7['run'](_0x3213e0,()=>{const _0x4a95b9=_0x3385;var _0x80d26a;let _0x4c6d59=_0x3af530['syncExecuteCommand'](_0x4b1d28['id'],{'unitId':_0x3213e0,'subUnitId':_0x2457ca,'shapeId':_0x2ce518,'shapeData':{'shapeText':_0x1676d9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x368dad}}});if(!_0x4c6d59||!_0x5ae3a3)return _0x4c6d59;let _0xabc8d3=_0x2184bf[_0x4a95b9(0x269)]({'unitId':_0x3213e0,'subUnitId':_0x2457ca,'drawingId':_0x2ce518}),_0x3b9d6c=_0xabc8d3==null?void 0x0:_0xabc8d3[_0x4a95b9(0x3a8)];if(!_0x3f7252(_0xabc8d3)||!_0x3b9d6c)return!0x1;let _0x178b65={..._0x3b9d6c,'width':_0x5ae3a3[_0x4a95b9(0x5a5)],'height':_0x5ae3a3['height']},_0x2942f8=(_0x80d26a=_0x5872c6[_0x4a95b9(0x40f)](_0x3213e0))==null||(_0x80d26a=_0x80d26a[_0x4a95b9(0x54f)](_0x5b8007[_0x4a95b9(0x2e8)])[_0x4a95b9(0x1da)](_0x2457ca))==null?void 0x0:_0x80d26a[_0x4a95b9(0x4c4)];return _0x3af530['syncExecuteCommand'](_0x51f92a['SetSheetDrawingCommand']['id'],{'unitId':_0x3213e0,'drawings':[{..._0xabc8d3,'transform':_0x178b65,'sheetTransform':_0x2942f8?(0x0,_0x51f92a[_0x4a95b9(0x1fc)])(_0x178b65,_0x2942f8)??_0xabc8d3[_0x4a95b9(0x4ad)]:_0xabc8d3[_0x4a95b9(0x4ad)],'axisAlignSheetTransform':_0x2942f8?(0x0,_0x51f92a[_0x4a95b9(0x1e5)])(_0x178b65,_0x2942f8)??_0xabc8d3[_0x4a95b9(0x2ef)]:_0xabc8d3[_0x4a95b9(0x2ef)]}]});});},'updateHostSize':({unitId:_0x5c342b,subUnitId:_0x16865d,shapeId:_0x4fa0b6,width:_0x38b35a,height:_0x2e0262})=>{const _0x2c11a7=_0xd96005;var _0x59e630;let _0x16954b=_0x2184bf[_0x2c11a7(0x269)]({'unitId':_0x5c342b,'subUnitId':_0x16865d,'drawingId':_0x4fa0b6}),_0xa668e9=_0x16954b==null?void 0x0:_0x16954b[_0x2c11a7(0x3a8)];if(!_0x3f7252(_0x16954b)||!_0xa668e9)return;let _0x36d924={..._0xa668e9,'width':_0x38b35a,'height':_0x2e0262},_0x3fbda3=(_0x59e630=_0x5872c6[_0x2c11a7(0x40f)](_0x5c342b))==null||(_0x59e630=_0x59e630[_0x2c11a7(0x54f)](_0x5b8007['SheetSkeletonManagerService'])[_0x2c11a7(0x1da)](_0x16865d))==null?void 0x0:_0x59e630[_0x2c11a7(0x4c4)],_0x3e2176=_0x3fbda3?(0x0,_0x51f92a[_0x2c11a7(0x1fc)])(_0x36d924,_0x3fbda3)??_0x16954b[_0x2c11a7(0x4ad)]:_0x16954b['sheetTransform'],_0x2343aa=_0x3fbda3?(0x0,_0x51f92a[_0x2c11a7(0x1e5)])(_0x36d924,_0x3fbda3)??_0x16954b[_0x2c11a7(0x2ef)]:_0x16954b[_0x2c11a7(0x2ef)];_0x3af530[_0x2c11a7(0x4b3)](_0x51f92a[_0x2c11a7(0x40c)]['id'],{'unitId':_0x5c342b,'drawings':[{..._0x16954b,'transform':_0x36d924,'sheetTransform':_0x3e2176,'axisAlignSheetTransform':_0x2343aa}]});},'allowHostSizeShrink':({unitId:_0x1cc9d7,subUnitId:_0x2dca67,shapeId:_0x316f48})=>(0x0,_0x1a617a[_0xd96005(0x2ae)])(_0x4a2773[_0xd96005(0x343)](_0x1cc9d7,_0x2dca67,_0x316f48)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x3af530,_0x2184bf,_0x5872c6,_0x4a2773,_0x1beee7]),_0x3e743f=(0x0,_0x9d5ee3[_0xd96005(0x59b)])(()=>({'viewportKeys':{'main':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x209)],'leftTop':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x388)],'top':_0x5e3080[_0xd96005(0x41f)]['VIEW_MAIN_TOP'],'left':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x26e)]},'getSkeleton':(_0x47b6a9,_0x128033)=>{const _0x4fc316=_0xd96005;var _0x5901eb;return((_0x5901eb=_0x47b6a9[_0x4fc316(0x54f)](_0x5b8007['SheetSkeletonManagerService'])[_0x4fc316(0x1da)](_0x128033[_0x4fc316(0x555)]))==null?void 0x0:_0x5901eb['skeleton'])??null;}}),[]);return(0x0,_0x58bcbb[_0xd96005(0x58f)])(_0x1a617a[_0xd96005(0x30e)],{'adapter':_0x52478d,'editingService':_0x391175,'editorUnitId':_0x2de965,'positionOptions':_0x3e743f});}),_0x1b47d1=class extends _0x4fcc67['Disposable']{constructor(_0x536b72,_0x5d6685){const _0x97952a=_0x439e5d;super(),this['_componentManager']=_0x536b72,this[_0x97952a(0x28b)]=_0x5d6685,this[_0x97952a(0x419)](),this[_0x97952a(0x37d)]();}[_0x439e5d(0x419)](){const _0x53d44f=_0x439e5d;this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x557))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'ObjectLayersIcon':_0x22dce5})),this[_0x53d44f(0x28b)]['has'](_0x53d44f(0x567))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'FlipHorizontalIcon':_0x549556})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x3c9))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'FlipVerticalIcon':_0x2c9f6c})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x3b2))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'BottomIcon':_0x2a1fa2})),this[_0x53d44f(0x28b)]['has'](_0x53d44f(0x3e0))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'MoveDownIcon':_0x49a981})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x5a0))||this['disposeWithMe'](this['_iconManager'][_0x53d44f(0x440)]({'MoveUpIcon':_0x17dd09})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x432))||this['disposeWithMe'](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'ShapeFormatSettingIcon':_0x2e5e30})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)]('TopmostIcon')||this[_0x53d44f(0x575)](this['_iconManager'][_0x53d44f(0x440)]({'TopmostIcon':_0x2c1706}));}[_0x439e5d(0x37d)](){const _0x1e5762=_0x439e5d;this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x3a3b9a,_0x3a4edc)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x473a2b,_0x152447)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x1b11f8,_0x459ba5)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x4a3dfe,_0x382226)),this[_0x1e5762(0x41a)][_0x1e5762(0x54a)](_0x108bdb[_0x1e5762(0x569)])||this['disposeWithMe'](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x108bdb['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x233a38)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x48c20d,_0xf496ba)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)]['register'](_0x52f6ff,_0xb829be)),this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x1d7539,_0x2bee39)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x3e1600,_0x499602)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x36255e,_0x5c33bb)),this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x1c0b50,_0x1a617a[_0x1e5762(0x2d5)])),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x1e5762(0x39e),_0x3f6428));}};_0x1b47d1=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x3fb)])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x439)]))],_0x1b47d1);let _0x3f111c=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x150ed7,_0x1b1a46,_0xfd9a25,_0x547572,_0x25cc00,_0x320df2,_0x5c074c,_0x4966f3,_0x324152){const _0x16379a=_0x439e5d;super();let _0x20548d=_0xae2089=>{const _0x91e7f0=_0x3385;var _0x531cb1,_0x576bd8;return(((_0x531cb1=_0x4966f3['getPermissionPoint'](new _0x33d9c6[(_0x91e7f0(0x484))](_0xae2089[_0x91e7f0(0x3a2)])['id']))==null?void 0x0:_0x531cb1[_0x91e7f0(0x3f0)])??!0x0)&&(((_0x576bd8=_0x4966f3[_0x91e7f0(0x3f6)](new _0x33d9c6[(_0x91e7f0(0x53d))](_0xae2089[_0x91e7f0(0x3a2)],_0xae2089[_0x91e7f0(0x555)])['id']))==null?void 0x0:_0x576bd8[_0x91e7f0(0x3f0)])??!0x0);},_0x2165ee=_0x19d92e=>_0x19d92e[_0x16379a(0x1cf)]&&_0x20548d(_0x19d92e)?_0xfd9a25[_0x16379a(0x343)](_0x19d92e['unitId'],_0x19d92e['subUnitId'],_0x19d92e[_0x16379a(0x1cf)])??null:null,_0x1d1a17=()=>{const _0x12df1a=_0x16379a;let _0x83c4f7=_0x25cc00['getFocusDrawings'](),_0x10585a=_0x83c4f7[_0x12df1a(0x298)]===0x1?_0x83c4f7[0x0]:null;return(_0x10585a==null?void 0x0:_0x10585a[_0x12df1a(0x31a)])===_0x4fcc67[_0x12df1a(0x204)][_0x12df1a(0x4b8)]&&_0x10585a[_0x12df1a(0x3a2)]===_0x150ed7[_0x12df1a(0x3a2)]?{'unitId':_0x10585a[_0x12df1a(0x3a2)],'subUnitId':_0x10585a[_0x12df1a(0x555)],'shapeId':_0x10585a[_0x12df1a(0x457)]}:null;};this[_0x16379a(0x575)]((0x0,_0x1a617a[_0x16379a(0x45b)])(_0x150ed7,_0x1b1a46,{'changes$':(0x0,_0x5597c9[_0x16379a(0x40e)])(_0x25cc00['focus$'],_0x547572['editingParams$'],_0x4966f3[_0x16379a(0x31d)]),'isActive':()=>{const _0x25affd=_0x16379a;var _0x50f76a;return((_0x50f76a=_0x320df2['getFocusedUnit']())==null?void 0x0:_0x50f76a[_0x25affd(0x54e)]())===_0x150ed7[_0x25affd(0x3a2)]&&!_0x5c074c['getContextValue'](_0x4fcc67[_0x25affd(0x1f7)])&&_0x25cc00[_0x25affd(0x52f)]()[_0x25affd(0x2a2)](_0x262551=>_0x262551[_0x25affd(0x3a2)]===_0x150ed7['unitId']);},'getSelectedTarget':_0x1d1a17,'getSource':()=>{let _0x5500fc=_0x1d1a17();return _0x5500fc?_0x2165ee(_0x5500fc):null;},'getTarget':_0xcdfedc=>{const _0xcfd12b=_0x16379a;let _0x5ac228=_0x150ed7[_0xcfd12b(0x56f)][_0xcfd12b(0x2aa)](new _0x5e3080[(_0xcfd12b(0x2d2))](_0xcdfedc[_0xcfd12b(0x525)],_0xcdfedc['offsetY']));if(!(_0x5ac228 instanceof _0x11dd97))return null;let _0x28bf42={'unitId':_0x150ed7['unitId'],'subUnitId':_0x5ac228[_0xcfd12b(0x555)],'shapeId':_0x5ac228[_0xcfd12b(0x1cf)]};return _0x20548d(_0x28bf42)?_0x28bf42:null;},'getShape':_0x2165ee,'update':(_0x27c64a,_0x3b32be,_0x5a54a9)=>_0x324152[_0x16379a(0x4b3)](_0x4b1d28['id'],{..._0x27c64a,'shapeData':_0x5a54a9,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x3b32be}})}));}};_0x3f111c=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x374)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x4,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x6,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x7,_0x4fcc67[_0x439e5d(0x2ec)]),_0x56348c(0x8,_0x4fcc67[_0x439e5d(0x286)])],_0x3f111c);let _0x3cd96c=_0x439e5d(0x287),_0x2b9cf3=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5a458f,_0x1cd2a1,_0x200f99,_0x409873,_0x10fa26,_0x1fbe53){const _0x5e5453=_0x439e5d;super(),this[_0x5e5453(0x4fd)]=_0x5a458f,this[_0x5e5453(0x1e1)]=_0x1cd2a1,this[_0x5e5453(0x232)]=_0x200f99,this[_0x5e5453(0x54b)]=_0x409873,this[_0x5e5453(0x35d)]=_0x10fa26,this[_0x5e5453(0x4f9)]=_0x1fbe53,_0x355f4a(this,_0x5e5453(0x408),!0x1),this[_0x5e5453(0x4fd)][_0x5e5453(0x301)](_0x2948fc),this[_0x5e5453(0x575)]((0x0,_0x4fcc67[_0x5e5453(0x4f3)])(this[_0x5e5453(0x232)][_0x5e5453(0x328)][_0x5e5453(0x523)](()=>this['_update']()))),this[_0x5e5453(0x466)]();}['dispose'](){const _0x362b9b=_0x439e5d;this['_shapeFloatingToolbarService'][_0x362b9b(0x1e9)](!0x1,_0x3cd96c),this[_0x362b9b(0x433)](),super['dispose']();}[_0x439e5d(0x466)](){const _0xd3441e=_0x439e5d;var _0x1518a7;let _0x50ac07=this[_0xd3441e(0x232)]['getFocusDrawings'](),_0x5e9764=_0x50ac07[_0xd3441e(0x298)]===0x1?_0x50ac07[0x0]:void 0x0;if((_0x5e9764==null?void 0x0:_0x5e9764[_0xd3441e(0x31a)])!==_0x4fcc67[_0xd3441e(0x204)]['DRAWING_SHAPE']||this[_0xd3441e(0x54b)][_0xd3441e(0x4a8)](_0x5e9764[_0xd3441e(0x3a2)])!==_0x4fcc67[_0xd3441e(0x578)]['UNIVER_SHEET']){this[_0xd3441e(0x4f9)][_0xd3441e(0x1e9)](!0x1,_0x3cd96c),this['_hide']();return;}let _0x309551=(_0x1518a7=this[_0xd3441e(0x35d)][_0xd3441e(0x40f)](_0x5e9764[_0xd3441e(0x3a2)]))==null?void 0x0:_0x1518a7[_0xd3441e(0x28a)][_0xd3441e(0x24a)](),_0x3e7de4=(0x0,_0x1a617a['resolveShapeContextualRibbonHostMode'])(_0x309551)===_0xd3441e(0x2be);this[_0xd3441e(0x4f9)][_0xd3441e(0x1e9)](_0x3e7de4,_0x3cd96c),_0x3e7de4?this[_0xd3441e(0x433)]():this['_visible']||(this[_0xd3441e(0x408)]=!0x0,this[_0xd3441e(0x1e1)][_0xd3441e(0x57b)](_0x54ca59,{'activate':!0x0}));}[_0x439e5d(0x433)](){const _0xd2f600=_0x439e5d;this[_0xd2f600(0x408)]&&(this[_0xd2f600(0x408)]=!0x1,this['_ribbonService'][_0xd2f600(0x378)](_0x54ca59),this[_0xd2f600(0x1e1)]['setCollapsedIds']([]));}};_0x2b9cf3=_0x5b9725([_0x56348c(0x0,_0x3412e6[_0x439e5d(0x381)]),_0x56348c(0x1,_0x3412e6[_0x439e5d(0x303)]),_0x56348c(0x2,_0x89eb48['IDrawingManagerService']),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x4,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x406)]))],_0x2b9cf3);let _0x2e1361=class extends _0x1a617a[_0x439e5d(0x291)]{constructor(_0x3d8728,_0x3f383c,_0x3decca,_0x406b90,_0xb60bd9,_0x5ccd5f,_0x386dfc,_0x542232,_0x15d6ca,_0x8665e2){super(_0x3d8728,_0x3f383c,_0x3decca,_0x406b90,_0xb60bd9,_0x5ccd5f,_0x386dfc,_0x542232,_0x15d6ca,_0x8665e2,{'componentKey':_0x1c0b50,'editorUnitId':_0x2de965});}};_0x2e1361=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x73dbdf['DocSelectionManagerService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x43f)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x1dd)])),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x1f9)])),_0x56348c(0x6,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x34f)])),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x73dbdf[_0x439e5d(0x3d3)])),_0x56348c(0x8,(0x0,_0x4fcc67['Inject'])(_0x505021[_0x439e5d(0x1b3)])),_0x56348c(0x9,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb))],_0x2e1361);let _0x54d4d7=class extends _0x1a617a[_0x439e5d(0x243)]{constructor(_0x383ffe,_0x289280,_0x1f366b,_0x3bf506,_0x3fc723){const _0xa153cb=_0x439e5d;super(_0x383ffe,_0x289280,{'editing$':_0x1f366b[_0xa153cb(0x4d0)],'resolve':_0x566b2c=>{const _0x18c102=_0xa153cb;var _0x30fb5e,_0x1969bd,_0xda4076;let _0x5e1e1d=new _0x5e3080['Vector2'](_0x566b2c[_0x18c102(0x525)],_0x566b2c[_0x18c102(0x409)]),_0x5157d7=((_0x30fb5e=_0x383ffe[_0x18c102(0x56f)][_0x18c102(0x3eb)](_0x5e1e1d))==null?void 0x0:_0x30fb5e[_0x18c102(0x3e6)](_0x5e1e1d))??_0x5e1e1d,_0x4bdfd6=(0x0,_0x1a617a[_0x18c102(0x4eb)])(_0x383ffe['scene'][_0x18c102(0x2aa)](_0x5e1e1d)??null,_0x5157d7);if(!(_0x4bdfd6 instanceof _0x11dd97))return null;let _0x2ee16b=_0x4bdfd6[_0x18c102(0x283)](_0x5157d7);if(!_0x2ee16b)return null;let _0xffc0a4=_0x4bdfd6,_0x503f6e={'componentKey':_0x1a617a['ShapeTextHyperLinkInfo']['componentKey'],'direction':_0x18c102(0x1fd),'offset':[0x0,0xa],'onClickOutside':()=>_0x289280[_0x18c102(0x43b)]()};return{'object':_0x4bdfd6,'info':{..._0x2ee16b,'unitId':_0x4bdfd6[_0x18c102(0x3a2)],'subUnitId':_0x4bdfd6['subUnitId'],'shapeKey':_0x4bdfd6[_0x18c102(0x47e)],'readonly':!0x0,'copyable':((_0x1969bd=_0x3fc723[_0x18c102(0x3f6)](new _0x33d9c6[(_0x18c102(0x51a))](_0x4bdfd6[_0x18c102(0x3a2)])['id']))==null?void 0x0:_0x1969bd[_0x18c102(0x3f0)])!==!0x1&&((_0xda4076=_0x3fc723[_0x18c102(0x3f6)](new _0x33d9c6[(_0x18c102(0x425))](_0x4bdfd6[_0x18c102(0x3a2)],_0x4bdfd6[_0x18c102(0x555)])['id']))==null?void 0x0:_0xda4076[_0x18c102(0x3f0)])!==!0x1},'attachPopup':()=>_0x3bf506[_0x18c102(0x241)](_0xffc0a4,_0x503f6e)};}}),this[_0xa153cb(0x575)](_0x383ffe['unit'][_0xa153cb(0x399)][_0xa153cb(0x523)](()=>this[_0xa153cb(0x3ee)]()));}};_0x54d4d7=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x34f)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x2ec)])],_0x54d4d7);let _0x40cd02=class extends _0x4fcc67['Disposable']{constructor(_0x541f5b,_0x4d0300,_0x10b50c,_0x34aa8f,_0x5cb59c,_0x89794b,_0x369a32,_0x3d5e8f,_0x58d2d6,_0x185d9c,_0x39bdc7){const _0x69e079=_0x439e5d;super(),this[_0x69e079(0x54b)]=_0x541f5b,this[_0x69e079(0x2a5)]=_0x4d0300,this[_0x69e079(0x4fd)]=_0x10b50c,this[_0x69e079(0x4f6)]=_0x34aa8f,this['_localeService']=_0x5cb59c,this[_0x69e079(0x30c)]=_0x89794b,this[_0x69e079(0x232)]=_0x369a32,this['_sheetCanvasPopManagerService']=_0x3d5e8f,this[_0x69e079(0x3c8)]=_0x58d2d6,this[_0x69e079(0x35d)]=_0x185d9c,this[_0x69e079(0x3e4)]=_0x39bdc7,_0x355f4a(this,_0x69e079(0x1b6),null),_0x355f4a(this,'_activeShapeInfo',null),_0x355f4a(this,_0x69e079(0x405),!0x1),_0x355f4a(this,_0x69e079(0x3de),0x0),_0x355f4a(this,'_shapePopupMenuDisposable',null),_0x355f4a(this,_0x69e079(0x404),[]),this[_0x69e079(0x4b1)](),this[_0x69e079(0x575)](this[_0x69e079(0x54b)][_0x69e079(0x2af)](_0x4fcc67[_0x69e079(0x578)][_0x69e079(0x28f)])['subscribe'](_0x3b2717=>{const _0x3d9796=_0x69e079;if(!_0x3b2717){var _0x1d4d68;(_0x1d4d68=this[_0x3d9796(0x1b6)])==null||_0x1d4d68[_0x3d9796(0x27e)]();}})),this[_0x69e079(0x3b4)](),this[_0x69e079(0x46f)](),this[_0x69e079(0x575)](this['_shapeTextEditingService'][_0x69e079(0x4d0)]['subscribe'](_0x56d47f=>{const _0x18c5a2=_0x69e079;_0x56d47f&&this[_0x18c5a2(0x40a)]();}));}['_initMenu'](){const _0x25acf7=_0x439e5d;this[_0x25acf7(0x4fd)]['mergeMenu'](_0x4eaffd);}['initShapePopupMenu'](){const _0x41b8d5=_0x439e5d;this['_shapePopupMenuDisposable']||=this[_0x41b8d5(0x575)]((0x0,_0x1a617a[_0x41b8d5(0x24e)])(this[_0x41b8d5(0x35d)],_0x4fcc67[_0x41b8d5(0x578)][_0x41b8d5(0x28f)],_0x212725=>this['_popupMenuListener'](_0x212725)));}[_0x439e5d(0x206)](_0x4f81bd,_0x55a59e,_0x5ac245){const _0x290b49=_0x439e5d;let _0x296db3=this[_0x290b49(0x4f6)][_0x290b49(0x352)](_0x4f81bd,_0x55a59e,_0x5ac245),_0x3f83fc=this[_0x290b49(0x4f6)][_0x290b49(0x343)](_0x4f81bd,_0x55a59e,_0x5ac245);return _0x296db3!==void 0x0&&_0x3f83fc!==void 0x0?{'shapeData':_0x3f83fc,'shapeId':_0x5ac245,'shapeType':_0x296db3,'unitId':_0x4f81bd,'subUnitId':_0x55a59e,'version':this[_0x290b49(0x3de)],'disableShapeOption':!0x1}:null;}[_0x439e5d(0x40a)](){const _0x2f96da=_0x439e5d;this[_0x2f96da(0x404)][_0x2f96da(0x386)](_0x4fc638=>_0x4fc638[_0x2f96da(0x27e)]()),this[_0x2f96da(0x404)][_0x2f96da(0x298)]=0x0;}[_0x439e5d(0x302)](_0x12385a){const _0x4cebf4=_0x439e5d;let _0x10145d=new _0x4fcc67[(_0x4cebf4(0x4b6))]();return _0x10145d['add'](_0x12385a['createControl$']['subscribe'](()=>{const _0x1efcac=_0x4cebf4;let _0x5f0128=_0x12385a[_0x1efcac(0x3aa)]();if(this[_0x1efcac(0x40a)](),this['_isOpenedShapeEditPanel']||_0x5f0128['size']>0x1)return;let _0x44196b=_0x5f0128[_0x1efcac(0x413)]()['next']()[_0x1efcac(0x3f0)];if(!_0x44196b)return;let _0x20bc1a=this['_drawingManagerService']['getDrawingOKey'](_0x44196b['oKey']);if(!_0x20bc1a||_0x20bc1a[_0x1efcac(0x31a)]!==_0x4fcc67['DrawingTypeEnum'][_0x1efcac(0x4b8)])return;let {unitId:_0x995620,subUnitId:_0x4ac2e6,drawingId:_0x3df3d2,drawingType:_0x5745c5}=_0x20bc1a,_0x38fa5d=this[_0x1efcac(0x206)](_0x995620,_0x4ac2e6,_0x3df3d2);if(!_0x38fa5d)return;this['_contextService'][_0x1efcac(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x291928=this[_0x1efcac(0x35d)][_0x1efcac(0x40f)](_0x995620),_0x4073c5=((_0x291928==null?void 0x0:_0x291928[_0x1efcac(0x3e1)])===!0x1?_0x291928[_0x1efcac(0x54f)](_0x5b8007[_0x1efcac(0x375)]):this[_0x1efcac(0x20a)])[_0x1efcac(0x241)](_0x44196b,{'componentKey':_0x48c20d,'direction':_0x1efcac(0x55c),'offset':[0x0,_0x1a617a['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x995620,'subUnitId':_0x4ac2e6,'drawingId':_0x3df3d2,'drawingType':_0x5745c5,'shapeType':_0x38fa5d[_0x1efcac(0x53a)],'shapeData':_0x38fa5d['shapeData']}});this[_0x1efcac(0x404)][_0x1efcac(0x1d6)](this[_0x1efcac(0x575)](_0x4073c5)),this[_0x1efcac(0x232)][_0x1efcac(0x52f)]()[_0x1efcac(0x2b5)](_0x26bd8c=>_0x26bd8c[_0x1efcac(0x3a2)]===_0x995620&&_0x26bd8c[_0x1efcac(0x555)]===_0x4ac2e6&&_0x26bd8c[_0x1efcac(0x457)]===_0x3df3d2)||this[_0x1efcac(0x232)]['focusDrawing']([{'unitId':_0x995620,'subUnitId':_0x4ac2e6,'drawingId':_0x3df3d2}]);})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x2ad)][_0x4cebf4(0x523)](()=>{const _0x53599f=_0x4cebf4;this[_0x53599f(0x40a)](),this[_0x53599f(0x3c8)][_0x53599f(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x53599f(0x232)][_0x53599f(0x45f)](null);})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x459)][_0x4cebf4(0x523)](()=>{const _0xb500ae=_0x4cebf4;this[_0xb500ae(0x40a)]();})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x290)][_0x4cebf4(0x523)](()=>{const _0x29725f=_0x4cebf4;this[_0x29725f(0x40a)]();})),(0x0,_0x4fcc67[_0x4cebf4(0x4f3)])(()=>{const _0x519071=_0x4cebf4;_0x10145d[_0x519071(0x27e)](),this[_0x519071(0x40a)]();});}[_0x439e5d(0x3b4)](){const _0x24050e=_0x439e5d;this['disposeWithMe'](this[_0x24050e(0x30c)][_0x24050e(0x4a4)](_0x41556c=>{const _0x26e852=_0x24050e;if(_0x41556c['id']===_0x5398f0['id']){let {unitId:_0x48f051,subUnitId:_0xee31f,drawingId:_0xf80e60}=_0x41556c[_0x26e852(0x22e)];this[_0x26e852(0x3de)]+=0x1,this[_0x26e852(0x3c4)]=this[_0x26e852(0x206)](_0x48f051,_0xee31f,_0xf80e60),this[_0x26e852(0x40a)](),this[_0x26e852(0x2ed)]();}if(_0x41556c['id']===_0x530760['id']&&(this[_0x26e852(0x3c4)]=null,this['_closeShapeEditPanel']()),_0x41556c['id']===_0x43ee3e[_0x26e852(0x403)]['id']){let {unitId:_0x1df9e6,subUnitId:_0x9baef9,shapeId:_0x27accb}=_0x41556c[_0x26e852(0x22e)];if(this[_0x26e852(0x3c4)]&&this[_0x26e852(0x3c4)][_0x26e852(0x1cf)]===_0x27accb){let _0x1c6620=this[_0x26e852(0x206)](_0x1df9e6,_0x9baef9,_0x27accb);_0x1c6620&&(this['_shapeEditPanelVersion']+=0x1,_0x1c6620[_0x26e852(0x3d8)]=this['_shapeEditPanelVersion'],this[_0x26e852(0x3c4)]=_0x1c6620,this[_0x26e852(0x405)]&&this[_0x26e852(0x2ed)]());}}})),this[_0x24050e(0x575)](this[_0x24050e(0x232)][_0x24050e(0x328)]['subscribe'](_0x14fdde=>{const _0x30e992=_0x24050e;if(this[_0x30e992(0x405)]===!0x1)return;if(_0x14fdde[_0x30e992(0x298)]===0x0){this[_0x30e992(0x3c4)]=null,this[_0x30e992(0x58b)]();return;}if(_0x14fdde['length']===0x1&&_0x14fdde[0x0][_0x30e992(0x31a)]===_0x4fcc67[_0x30e992(0x204)]['DRAWING_SHAPE']&&(this[_0x30e992(0x3de)]+=0x1,this[_0x30e992(0x3c4)]=this[_0x30e992(0x206)](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0][_0x30e992(0x457)]),this['_activeShapeInfo'])){this[_0x30e992(0x2ed)]();return;}let _0x1b8b78=_0x14fdde[_0x30e992(0x4a3)](_0x20cd14=>_0x20cd14[_0x30e992(0x31a)]===_0x4fcc67[_0x30e992(0x204)][_0x30e992(0x4b8)]);if(_0x14fdde[_0x30e992(0x298)]>0x1&&_0x1b8b78[_0x30e992(0x298)]===_0x14fdde['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x30e992(0x3c4)]=this['_getShapeInfo'](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0][_0x30e992(0x457)]),this[_0x30e992(0x3c4)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x30e992(0x3de)]+=0x1,this[_0x30e992(0x3c4)]=this['_getShapeInfo'](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0]['drawingId']),this[_0x30e992(0x3c4)]){this[_0x30e992(0x3c4)][_0x30e992(0x29e)]=!0x0,this[_0x30e992(0x2ed)]();return;}}this[_0x30e992(0x58b)]();}));}['_openShapeEditPanel'](){const _0x2883dd=_0x439e5d;this[_0x2883dd(0x3c4)]&&(this[_0x2883dd(0x1b6)]=this['_sidebarService'][_0x2883dd(0x2e6)]({'id':_0x3a3b9a,'header':{'title':this[_0x2883dd(0x39d)]['t'](_0x2883dd(0x437))},'width':0x184,'children':{'label':_0x3a3b9a,...this[_0x2883dd(0x3c4)]},'onClose':()=>{const _0x197857=_0x2883dd;this['_drawingManagerService'][_0x197857(0x45f)](null),this[_0x197857(0x3c8)][_0x197857(0x1cd)](_0x4fcc67[_0x197857(0x37a)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x2883dd(0x405)]=!0x0);}[_0x439e5d(0x58b)](){const _0x5a0ae1=_0x439e5d;this[_0x5a0ae1(0x405)]=!0x1,this[_0x5a0ae1(0x2a5)][_0x5a0ae1(0x345)](_0x3a3b9a),this[_0x5a0ae1(0x1b6)]=null,this[_0x5a0ae1(0x3c8)]['setContextValue'](_0x4fcc67[_0x5a0ae1(0x37a)],!0x1),this[_0x5a0ae1(0x232)][_0x5a0ae1(0x45f)](null);}};_0x40cd02=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x357)])),_0x56348c(0x2,_0x3412e6[_0x439e5d(0x381)]),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x5,_0x4fcc67['ICommandService']),_0x56348c(0x6,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x7,(0x0,_0x4fcc67['Inject'])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x8,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x9,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0xa,(0x0,_0x4fcc67['Inject'])(_0x2d6cbb))],_0x40cd02);let _0x57e9be=class extends _0x4fcc67[_0x439e5d(0x51d)]{constructor(_0x1a8fb7=_0x42d7f1,_0x3fd270,_0x3f74be,_0x3f30d9,_0xf1d555){const _0x544bec=_0x439e5d;super(),this['_config']=_0x1a8fb7,this[_0x544bec(0x492)]=_0x3fd270,this[_0x544bec(0x30c)]=_0x3f74be,this[_0x544bec(0x3e7)]=_0x3f30d9,this[_0x544bec(0x35d)]=_0xf1d555;let {..._0x135176}=(0x0,_0x4fcc67[_0x544bec(0x40e)])({},_0x42d7f1,this[_0x544bec(0x1d3)]);this[_0x544bec(0x3e7)]['setConfig'](_0x4d1e57,_0x135176),this['_initCommands']();}['onRendered'](){const _0x2808e6=_0x439e5d;this['_renderManagerService'][_0x2808e6(0x2c7)](_0x4fcc67[_0x2808e6(0x578)][_0x2808e6(0x3bb)],[_0x2e1361]),(0x0,_0x4fcc67[_0x2808e6(0x598)])(this[_0x2808e6(0x492)],[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3b9ac4]]);}[_0x439e5d(0x3b5)](){const _0x3ad13e=_0x439e5d;this[_0x3ad13e(0x492)][_0x3ad13e(0x55f)](_0x40cd02)[_0x3ad13e(0x46f)]();}['onReady'](){const _0x5e8bc8=_0x439e5d;[[_0x32b22d],[_0xcd5dc6],[_0x2d338f]]['forEach'](_0x3b20ad=>this[_0x5e8bc8(0x492)][_0x5e8bc8(0x3e9)](_0x3b20ad)),(0x0,_0x4fcc67[_0x5e8bc8(0x598)])(this[_0x5e8bc8(0x492)],[[_0x2d338f],[_0xcd5dc6]]),this['_renderManagerService'][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x32b22d]),this['_renderManagerService'][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x2aa3d8]),this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0xe1e335]),this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)]['UNIVER_SHEET'],[_0x203689]),this['disposeWithMe'](this[_0x5e8bc8(0x35d)]['registerRenderModule'](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x54d4d7])),this[_0x5e8bc8(0x575)](this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x3f111c]));}[_0x439e5d(0x380)](){const _0x333f05=_0x439e5d;this[_0x333f05(0x492)][_0x333f05(0x3e9)]([_0x1b47d1]),this[_0x333f05(0x492)][_0x333f05(0x55f)](_0x1b47d1);let _0x46f2b6=this[_0x333f05(0x492)];[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547],[_0x2b9cf3]][_0x333f05(0x386)](_0x2856cc=>_0x46f2b6['add'](_0x2856cc)),(0x0,_0x4fcc67[_0x333f05(0x598)])(this[_0x333f05(0x492)],[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547],[_0x2b9cf3]]);}['_initCommands'](){const _0x48bb72=_0x439e5d;[_0x595989,_0x4b1d28,_0x530760,_0x5398f0,_0x258cca,_0x4d0210,_0x577c0b,_0x55c4b4][_0x48bb72(0x386)](_0x4cf4f7=>this['disposeWithMe'](this[_0x48bb72(0x30c)]['registerCommand'](_0x4cf4f7)));}};_0x355f4a(_0x57e9be,_0x439e5d(0x46d),_0x4fcc67['UniverInstanceType'][_0x439e5d(0x28f)]),_0x355f4a(_0x57e9be,_0x439e5d(0x464),_0x439e5d(0x22f)),_0x355f4a(_0x57e9be,_0x439e5d(0x351),_0x662816),_0x355f4a(_0x57e9be,_0x439e5d(0x3d8),_0x2993c4),_0x57e9be=_0x5b9725([(0x0,_0x4fcc67[_0x439e5d(0x2cb)])(_0x53e697['UniverLicensePlugin'],_0x73dbdf[_0x439e5d(0x37e)],_0x89eb48['UniverDrawingPlugin'],_0x108bdb[_0x439e5d(0x4c9)],_0x5e3080[_0x439e5d(0x48c)],_0x33d9c6[_0x439e5d(0x259)],_0x505021[_0x439e5d(0x52e)],_0x51f92a[_0x439e5d(0x39f)],_0x1959c2[_0x439e5d(0x21b)],_0x254bb3[_0x439e5d(0x315)],_0x43ee3e[_0x439e5d(0x58a)],_0x5b8007['UniverSheetsUIPlugin'],_0x1a617a['UniverShapeEditorUIPlugin']),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['Injector'])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x27c)]),_0x56348c(0x4,_0x5e3080[_0x439e5d(0x265)])],_0x57e9be),_0x2c14d8[_0x439e5d(0x25c)]=_0x2948fc,_0x2c14d8[_0x439e5d(0x4f8)]=_0x4eaffd,Object[_0x439e5d(0x47d)](_0x2c14d8,_0x439e5d(0x242),{'enumerable':!0x0,'get':function(){return _0x3ecc29;}}),Object['defineProperty'](_0x2c14d8,_0x439e5d(0x26f),{'enumerable':!0x0,'get':function(){return _0x57e9be;}});}));