@univerjs-pro/sheets-shape-ui 1.0.2 → 1.0.3

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 (100) 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/types/commands/command/set-shape-text-align.command.d.ts +5 -0
  62. package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
  63. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
  64. package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
  65. package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
  66. package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
  67. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +19 -0
  68. package/lib/types/commands/menu/shape-font-size.menu.d.ts +6 -0
  69. package/lib/types/commands/menu/shape-text-align.menu.d.ts +10 -0
  70. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +10 -0
  71. package/lib/types/commands/operations/actvie-drawing-operation.d.ts +2 -0
  72. package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
  73. package/lib/types/view-model/drawing-shape.d.ts +2 -0
  74. package/lib/types/view-model/shape-data-model.d.ts +8 -0
  75. package/lib/types/views/ShapeOptions.d.ts +26 -0
  76. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
  77. package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
  78. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
  79. package/lib/types/views/shapes.d.ts +58 -0
  80. package/lib/umd/index.js +1 -1
  81. package/lib/umd/locale/ar-SA.js +1 -1
  82. package/lib/umd/locale/ca-ES.js +1 -1
  83. package/lib/umd/locale/de-DE.js +1 -1
  84. package/lib/umd/locale/en-US.js +1 -1
  85. package/lib/umd/locale/es-ES.js +1 -1
  86. package/lib/umd/locale/fa-IR.js +1 -1
  87. package/lib/umd/locale/fr-FR.js +1 -1
  88. package/lib/umd/locale/id-ID.js +1 -1
  89. package/lib/umd/locale/it-IT.js +1 -1
  90. package/lib/umd/locale/ja-JP.js +1 -1
  91. package/lib/umd/locale/ko-KR.js +1 -1
  92. package/lib/umd/locale/pl-PL.js +1 -1
  93. package/lib/umd/locale/pt-BR.js +1 -1
  94. package/lib/umd/locale/ru-RU.js +1 -1
  95. package/lib/umd/locale/sk-SK.js +1 -1
  96. package/lib/umd/locale/vi-VN.js +1 -1
  97. package/lib/umd/locale/zh-CN.js +1 -1
  98. package/lib/umd/locale/zh-HK.js +1 -1
  99. package/lib/umd/locale/zh-TW.js +1 -1
  100. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x592e(_0x53be91,_0x38361a){_0x53be91=_0x53be91-0x1b1;const _0x3ceeb9=_0x3cee();let _0x592e0c=_0x3ceeb9[_0x53be91];return _0x592e0c;}(function(_0x26fd0d,_0x30c178){const _0x33ad9d=_0x592e,_0x4c99f6=_0x26fd0d();while(!![]){try{const _0x2b7720=parseInt(_0x33ad9d(0x385))/0x1+parseInt(_0x33ad9d(0x3ec))/0x2+parseInt(_0x33ad9d(0x3b6))/0x3*(parseInt(_0x33ad9d(0x559))/0x4)+-parseInt(_0x33ad9d(0x2c1))/0x5+parseInt(_0x33ad9d(0x4f4))/0x6+-parseInt(_0x33ad9d(0x540))/0x7*(parseInt(_0x33ad9d(0x472))/0x8)+parseInt(_0x33ad9d(0x29e))/0x9*(-parseInt(_0x33ad9d(0x406))/0xa);if(_0x2b7720===_0x30c178)break;else _0x4c99f6['push'](_0x4c99f6['shift']());}catch(_0x4c19d2){_0x4c99f6['push'](_0x4c99f6['shift']());}}}(_0x3cee,0xc4f69),function(_0x151d9d,_0x185020){const _0x391b05=_0x592e;typeof exports==_0x391b05(0x220)&&typeof module<'u'?_0x185020(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==_0x391b05(0x296)&&define[_0x391b05(0x475)]?define([_0x391b05(0x57b),_0x391b05(0x1cf),'@univerjs/ui','@univerjs-pro/engine-shape',_0x391b05(0x3e3),'@univerjs-pro/sheets-shape',_0x391b05(0x493),_0x391b05(0x239),_0x391b05(0x377),_0x391b05(0x407),_0x391b05(0x554),_0x391b05(0x30c),'@univerjs/drawing-ui',_0x391b05(0x1b6),_0x391b05(0x2f4),_0x391b05(0x3a1),_0x391b05(0x3fa),_0x391b05(0x2a9),_0x391b05(0x208),_0x391b05(0x2e2),_0x391b05(0x4eb)],_0x185020):(_0x151d9d=typeof globalThis<'u'?globalThis:_0x151d9d||self,_0x185020(_0x151d9d[_0x391b05(0x533)]={},_0x151d9d[_0x391b05(0x3f9)],_0x151d9d[_0x391b05(0x581)],_0x151d9d[_0x391b05(0x412)],_0x151d9d[_0x391b05(0x27e)],_0x151d9d[_0x391b05(0x3c0)],_0x151d9d[_0x391b05(0x2f3)],_0x151d9d[_0x391b05(0x4bd)],_0x151d9d[_0x391b05(0x282)],_0x151d9d['UniverEngineRender'],_0x151d9d[_0x391b05(0x25f)],_0x151d9d['rxjs'],_0x151d9d[_0x391b05(0x1f2)],_0x151d9d['UniverDesign'],_0x151d9d[_0x391b05(0x53f)],_0x151d9d[_0x391b05(0x21c)],_0x151d9d[_0x391b05(0x40c)],_0x151d9d[_0x391b05(0x592)],_0x151d9d['UniverDocsUi'],_0x151d9d['UniverSheetsDrawingUi'],_0x151d9d[_0x391b05(0x53f)]));}(this,function(_0x4311c1,_0x21b2c0,_0xc5cac3,_0x36e36c,_0x590e75,_0x3c17ec,_0x20b6b2,_0x3a78b8,_0x3a44e9,_0x2e0941,_0x5aa18a,_0x1008b8,_0x42ecb7,_0x3220e2,_0x132e2c,_0x44df92,_0x30dca3,_0x331b83,_0x58ef02,_0x46d306,_0x1009cf){const _0x3d4004=_0x592e;Object['defineProperty'](_0x4311c1,Symbol[_0x3d4004(0x23a)],{'value':_0x3d4004(0x1c0)});function _0xf6c4f1(_0x23bd30,_0xa968ba){const _0x196429=_0x3d4004;let _0x40042f={};for(let _0x3f9c7a of Object['keys'](_0xa968ba)){let _0x5315a9=_0xa968ba[_0x3f9c7a],_0x48110c=_0x23bd30[_0x3f9c7a];if(_0x48110c===void 0x0){_0x40042f[_0x3f9c7a]=void 0x0;continue;}_0x40042f[_0x3f9c7a]=typeof _0x5315a9==_0x196429(0x220)&&_0x5315a9&&!Array[_0x196429(0x314)](_0x5315a9)&&typeof _0x48110c==_0x196429(0x220)&&_0x48110c&&!Array[_0x196429(0x314)](_0x48110c)?_0xf6c4f1(_0x48110c,_0x5315a9):_0x48110c;}return _0x40042f;}let _0x34371e={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'id':_0x3d4004(0x1e3),'handler':(_0x40c079,_0x4ea43f)=>{const _0x4b3d65=_0x3d4004;let _0x498a9d=_0x40c079[_0x4b3d65(0x584)](_0x3c17ec['SheetsShapeService']),{unitId:_0x565336,subUnitId:_0x38e9be,shapeType:_0x1a12ed,shapeId:_0x32ce1f,shapeData:_0x2a1fbd,replaceShapeData:_0x3d0c7e,oldShapeJSON:_0x397c5c}=_0x4ea43f;if(!_0x498a9d['getShapeModel'](_0x565336,_0x38e9be,_0x32ce1f))return!0x1;let _0x5cf41a=_0x40c079[_0x4b3d65(0x584)](_0x20b6b2['ICommandService']),_0x21c2cd=_0x40c079[_0x4b3d65(0x584)](_0x20b6b2[_0x4b3d65(0x500)]),{oldShapeType:_0x460d06,oldShapeData:_0x5b14a0={}}=_0x397c5c,_0x49960c=_0x3d0c7e?_0x5b14a0:_0xf6c4f1(_0x5b14a0,_0x2a1fbd||{}),_0x3f707a={'id':_0x3c17ec[_0x4b3d65(0x1fa)]['id'],'params':{'unitId':_0x565336,'subUnitId':_0x38e9be,'shapeId':_0x32ce1f,'shapeType':_0x1a12ed,'shapeData':_0x2a1fbd,'replace':_0x3d0c7e}},_0xa117e4={'id':_0x3c17ec[_0x4b3d65(0x1fa)]['id'],'params':{'unitId':_0x565336,'subUnitId':_0x38e9be,'shapeId':_0x32ce1f,'shapeType':_0x460d06,'shapeData':_0x49960c,'replace':_0x3d0c7e}};return _0x5cf41a[_0x4b3d65(0x340)](_0x3f707a['id'],_0x3f707a[_0x4b3d65(0x342)])?(_0x21c2cd[_0x4b3d65(0x1d8)]({'unitID':_0x565336,'undoMutations':[_0xa117e4],'redoMutations':[_0x3f707a]}),!0x0):!0x1;}};function _0x118498(_0x140ca3,_0x48dcef,_0x43d165,_0x161da7,_0xa86b74,_0x447e38){const _0x41c347=_0x3d4004;let _0x497187={'unitId':_0x48dcef,'subUnitId':_0x43d165,'shapeId':_0x161da7,'shapeData':_0x447e38,'oldShapeJSON':_0xa86b74};return _0x140ca3[_0x41c347(0x447)](_0x34371e['id'],_0x497187);}function _0x2c1624(_0xcc7db3,_0x37811b,_0x3c2a80,_0xfcd446,_0x4a5583,_0x17f606){const _0x55e1e5=_0x3d4004;let _0x6809bb={'unitId':_0x37811b,'subUnitId':_0x3c2a80,'shapeId':_0xfcd446,'shapeData':_0x17f606,'oldShapeJSON':_0x4a5583};return _0xcc7db3[_0x55e1e5(0x447)](_0x34371e['id'],_0x6809bb);}function _0x1f1d27(_0x3a7378){'@babel/helpers - typeof';const _0x10123d=_0x3d4004;return _0x1f1d27=typeof Symbol==_0x10123d(0x296)&&typeof Symbol[_0x10123d(0x20e)]==_0x10123d(0x399)?function(_0x560001){return typeof _0x560001;}:function(_0x3eff98){const _0xf80843=_0x10123d;return _0x3eff98&&typeof Symbol==_0xf80843(0x296)&&_0x3eff98['constructor']===Symbol&&_0x3eff98!==Symbol[_0xf80843(0x54b)]?_0xf80843(0x399):typeof _0x3eff98;},_0x1f1d27(_0x3a7378);}function _0x1f3dd1(_0x508dd5,_0x3ac64b){const _0x16b5f9=_0x3d4004;if(_0x1f1d27(_0x508dd5)!=_0x16b5f9(0x220)||!_0x508dd5)return _0x508dd5;var _0x7d2d76=_0x508dd5[Symbol[_0x16b5f9(0x55c)]];if(_0x7d2d76!==void 0x0){var _0x44791b=_0x7d2d76[_0x16b5f9(0x550)](_0x508dd5,_0x3ac64b||_0x16b5f9(0x1b4));if(_0x1f1d27(_0x44791b)!=_0x16b5f9(0x220))return _0x44791b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3ac64b===_0x16b5f9(0x35a)?String:Number)(_0x508dd5);}function _0x1dfee9(_0x448dc8){const _0x3139b2=_0x3d4004;var _0x9358ae=_0x1f3dd1(_0x448dc8,_0x3139b2(0x35a));return _0x1f1d27(_0x9358ae)==_0x3139b2(0x399)?_0x9358ae:_0x9358ae+'';}function _0x212175(_0x3de292,_0x35603f,_0x36f61c){const _0x10d53e=_0x3d4004;return(_0x35603f=_0x1dfee9(_0x35603f))in _0x3de292?Object[_0x10d53e(0x54c)](_0x3de292,_0x35603f,{'value':_0x36f61c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3de292[_0x35603f]=_0x36f61c,_0x3de292;}function _0x30e4c5(_0x1364f2,_0xe8c9fe,_0x3ad5aa){const _0x48c9b4=_0x3d4004;let _0x27c450={..._0xe8c9fe,'dataModel':{..._0xe8c9fe[_0x48c9b4(0x52e)]??{},..._0x3ad5aa?{'doc':_0x3ad5aa}:null}},_0x42b722=(0x0,_0x21b2c0[_0x48c9b4(0x2ed)])(_0x1364f2,_0x27c450),_0x333d1d=(0x0,_0x21b2c0[_0x48c9b4(0x369)])(_0x42b722);return{'clip':(0x0,_0x21b2c0[_0x48c9b4(0x355)])(_0x42b722,_0x333d1d),'wrapStrategy':_0x333d1d};}var _0x2caaad=class extends _0x2e0941[_0x3d4004(0x260)]{constructor(_0x2f1647,_0x5dbed6){const _0x621dd9=_0x3d4004;super(_0x2f1647,_0x5dbed6),_0x212175(this,_0x621dd9(0x4d5),void 0x0),_0x212175(this,_0x621dd9(0x46d),new _0x21b2c0[(_0x621dd9(0x46c))](()=>this[_0x621dd9(0x537)](!0x0),()=>this[_0x621dd9(0x309)]())),_0x212175(this,_0x621dd9(0x34a),!0x0),_0x212175(this,'_drawingType',_0x20b6b2[_0x621dd9(0x284)][_0x621dd9(0x364)]),_0x212175(this,_0x621dd9(0x47e),!0x0),this[_0x621dd9(0x4d5)]={..._0x5dbed6},this[_0x621dd9(0x46d)][_0x621dd9(0x3d3)](_0x5dbed6['formulaPresentation'],_0x5dbed6[_0x621dd9(0x488)]!==!0x1),this[_0x621dd9(0x1c6)](),this[_0x621dd9(0x309)]();}[_0x3d4004(0x1c6)](){const _0x141597=_0x3d4004;this[_0x141597(0x44f)][_0x141597(0x306)](_0x174b36=>{this['_updateSrcRectByTransform'](_0x174b36);});}['setPrstGeom'](_0xe27566){const _0xafc81b=_0x3d4004;this[_0xafc81b(0x4d5)][_0xafc81b(0x380)]=_0xe27566;}[_0x3d4004(0x1e4)](_0x4fee31){const _0x2b73e9=_0x3d4004;this['_props'][_0x2b73e9(0x3b9)]=_0x4fee31,this[_0x2b73e9(0x537)](!0x0);}[_0x3d4004(0x491)](_0x5c5971,_0x56ab67=!0x0){const _0x30bcf2=_0x3d4004;this['_formulaAnimation'][_0x30bcf2(0x3d3)](_0x5c5971,_0x56ab67),this['_props'][_0x30bcf2(0x590)]=_0x5c5971,this['_applyFormulaAutoFitSize'](),this['makeDirty'](!0x0);}[_0x3d4004(0x309)](){const _0x4f7f82=_0x3d4004;let _0x5a5252=this[_0x4f7f82(0x4d5)][_0x4f7f82(0x26c)],_0x34c1b9=_0x5a5252['getShapeTextData'](),_0x58e1c5=(0x0,_0x21b2c0[_0x4f7f82(0x2f7)])(_0x34c1b9==null?void 0x0:_0x34c1b9['dataModel']),_0x1aa0d7=_0x58e1c5==null?void 0x0:_0x58e1c5['doc'],_0x1c643d=this['_formulaAnimation'][_0x4f7f82(0x544)]();if(!_0x1aa0d7||_0x1c643d[_0x4f7f82(0x1ed)]===0x0)return;_0x5a5252[_0x4f7f82(0x4d2)]({'width':this[_0x4f7f82(0x4ba)],'height':this[_0x4f7f82(0x3f0)]});let _0x346c10=(0x0,_0x21b2c0['resolveFormulaShapeAutoFitSize'])({'documentData':_0x1c643d[_0x4f7f82(0x442)](_0x1d1a25=>(0x0,_0x590e75[_0x4f7f82(0x338)])(_0x1aa0d7,_0x1d1a25)),'height':this[_0x4f7f82(0x3f0)],'shapeData':_0x5a5252['getShapeData'](),'textRect':_0x5a5252[_0x4f7f82(0x312)]({'left':0x0,'top':0x0,'width':this[_0x4f7f82(0x4ba)],'height':this[_0x4f7f82(0x3f0)]}),'width':this[_0x4f7f82(0x4ba)]});if(_0x346c10){var _0x5bd5ba;this[_0x4f7f82(0x24a)](_0x346c10[_0x4f7f82(0x4ba)],_0x346c10[_0x4f7f82(0x3f0)]),(_0x5bd5ba=this['getScene']())==null||(_0x5bd5ba=_0x5bd5ba['getTransformer']())==null||_0x5bd5ba['debounceRefreshControls']();}}get[_0x3d4004(0x3e5)](){const _0x4ec9ac=_0x3d4004;return this[_0x4ec9ac(0x4d5)][_0x4ec9ac(0x3e5)];}get[_0x3d4004(0x4c3)](){const _0x3e20fc=_0x3d4004;return this['_props'][_0x3e20fc(0x4c3)];}[_0x3d4004(0x4ed)](_0x2611be){const _0x52fad0=_0x3d4004;if(this[_0x52fad0(0x4d5)][_0x52fad0(0x46b)]==null||!this[_0x52fad0(0x34a)])return;let {width:_0x5cc843,height:_0x5c46e0}=this,{width:_0xecd91c=0x0,height:_0x49cb53=0x0}=_0x2611be[_0x52fad0(0x29b)],{left:_0x37cd11=0x0,top:_0x1616d4=0x0,right:_0x2fea3a=0x0,bottom:_0x3c4e34=0x0}=this[_0x52fad0(0x4d5)][_0x52fad0(0x46b)],_0x241414=_0x37cd11,_0x259113=_0x1616d4,_0x57abcb=_0x2fea3a,_0x26a411=_0x3c4e34,_0x17016b=!0x1;if(_0xecd91c!==0x0&&_0xecd91c!==_0x5cc843){let _0x590b30=_0x37cd11/_0xecd91c,_0x5d2149=_0x2fea3a/_0xecd91c;_0x241414=_0x5cc843*_0x590b30,_0x57abcb=_0x5cc843*_0x5d2149,_0x17016b=!0x0;}if(_0x49cb53!==0x0&&_0x49cb53!==_0x5c46e0){let _0x583d97=_0x1616d4/_0x49cb53,_0x8d7e91=_0x3c4e34/_0x49cb53;_0x259113=_0x5c46e0*_0x583d97,_0x26a411=_0x5c46e0*_0x8d7e91,_0x17016b=!0x0;}_0x17016b&&this[_0x52fad0(0x27b)]({'left':_0x241414,'top':_0x259113,'right':_0x57abcb,'bottom':_0x26a411});}[_0x3d4004(0x27b)](_0x5c7a3b){const _0xbe8eb3=_0x3d4004;this[_0xbe8eb3(0x4d5)][_0xbe8eb3(0x46b)]=_0x5c7a3b,this[_0xbe8eb3(0x537)](!0x0);}[_0x3d4004(0x2f5)](_0x398954){const _0x23a8e7=_0x3d4004;this[_0x23a8e7(0x4d5)][_0x23a8e7(0x249)]=_0x398954,this[_0x23a8e7(0x537)](!0x0);}set['transform'](_0xcbb2b0){const _0x6758dc=_0x3d4004;this[_0x6758dc(0x3b5)]=_0xcbb2b0;}get['transform'](){const _0x1624a7=_0x3d4004;this[_0x1624a7(0x3b5)]||this['_setTransForm']();let _0x2f1fbc=this[_0x1624a7(0x3b5)][_0x1624a7(0x318)]();return this[_0x1624a7(0x461)](_0x2f1fbc);}get[_0x3d4004(0x26c)](){const _0x3b80a1=_0x3d4004;return this[_0x3b80a1(0x4d5)]['shapeModel'];}get['shapeId'](){const _0x4a86e1=_0x3d4004;return this[_0x4a86e1(0x4d5)][_0x4a86e1(0x47c)];}get[_0x3d4004(0x22d)](){const _0x54cfca=_0x3d4004;return _0x2e0941[_0x54cfca(0x4e1)][_0x54cfca(0x4b4)];}['_draw'](_0x4d5d32,_0x1e4c12,_0x638fef,_0x590beb){const _0x42c660=_0x3d4004;let _0x8d322e=this[_0x42c660(0x4d5)][_0x42c660(0x26c)];if(!_0x8d322e||!_0x1e4c12)return;let _0x17edd8=_0x638fef??this['width'],_0x21659c=_0x590beb??this[_0x42c660(0x3f0)],_0x7eb34={'shapeType':_0x8d322e['getShapeType'](),'width':_0x17edd8,'height':_0x21659c},_0x51b244={'renderMode':_0x36e36c[_0x42c660(0x57f)][_0x42c660(0x2cc)],'oKey':this[_0x42c660(0x420)],'image':this[_0x42c660(0x4d5)][_0x42c660(0x249)],'angle':this[_0x42c660(0x228)]};_0x8d322e[_0x42c660(0x4d2)](_0x7eb34),_0x4d5d32[_0x42c660(0x1ef)]();let _0x263542={'top':0x0,'left':0x0,'width':_0x17edd8,'height':_0x21659c},_0x27f0fa=_0x8d322e[_0x42c660(0x3c3)](_0x263542);_0x27f0fa?this[_0x42c660(0x2b2)](_0x4d5d32,_0x27f0fa,_0x598980=>{const _0xbaf3ae=_0x42c660;_0x8d322e[_0xbaf3ae(0x432)](_0x598980,_0x263542,_0x51b244);}):(this[_0x42c660(0x571)](),_0x8d322e[_0x42c660(0x432)](_0x4d5d32,_0x263542,_0x51b244)),_0x4d5d32[_0x42c660(0x334)]();let _0x50f0c8=_0x8d322e['getShapeTextData'](),_0x1228ee=_0x8d322e[_0x42c660(0x312)](_0x263542),_0x510594=_0x8d322e[_0x42c660(0x1b2)]();if(_0x50f0c8&&_0x1228ee&&!_0x510594){_0x4d5d32[_0x42c660(0x1ef)](),this['getState']()[_0x42c660(0x2a5)]&&_0x4d5d32[_0x42c660(0x4d6)](-0x1,0x1);let _0x3411f6=_0x17edd8/0x2,_0x501bb9=_0x21659c/0x2;_0x4d5d32[_0x42c660(0x4b8)](-_0x3411f6,-_0x501bb9),_0x4d5d32[_0x42c660(0x414)](),this['_drawShapeText'](_0x4d5d32,_0x50f0c8,_0x1228ee),_0x4d5d32[_0x42c660(0x334)]();}}[_0x3d4004(0x57c)](_0x2fa72c){}[_0x3d4004(0x474)](_0x2dd001,_0x5c6170,_0x42eb85){const _0x2454bd=_0x3d4004;var _0x2fee61;this[_0x2454bd(0x4d5)][_0x2454bd(0x3b9)]||(!((_0x2fee61=_0x5c6170[_0x2454bd(0x52e)])!=null&&_0x2fee61[_0x2454bd(0x2d8)])&&_0x2454bd(0x2fd)in _0x5c6170&&_0x5c6170[_0x2454bd(0x2fd)]===!0x1?this[_0x2454bd(0x570)](_0x2dd001,_0x5c6170,_0x42eb85):this[_0x2454bd(0x45e)](_0x2dd001,_0x5c6170,_0x42eb85));}[_0x3d4004(0x570)](_0x7ec81d,_0x3c542c,_0x361431){const _0x53c24f=_0x3d4004;this[_0x53c24f(0x45e)](_0x7ec81d,{..._0x3c542c,'text':_0x3c542c[_0x53c24f(0x253)]??'','dataModel':{'doc':(0x0,_0x21b2c0['plainShapeTextToDocumentData'])(_0x3c542c,_0x53c24f(0x22b)+this[_0x53c24f(0x420)])}},_0x361431);}[_0x3d4004(0x45e)](_0x3bf12d,_0x43372e,_0x141075){const _0x4249e0=_0x3d4004;(0x0,_0x21b2c0[_0x4249e0(0x54f)])(_0x3bf12d,this[_0x4249e0(0x46d)],(_0x24d286,_0x5b0fe2)=>{const _0x392509=_0x4249e0;this[_0x392509(0x3b0)](_0x24d286,_0x43372e,_0x141075,_0x5b0fe2);});}[_0x3d4004(0x3b0)](_0xbc6433,_0x1fdcad,_0x1dcbf2,_0x6442e8){const _0x2e86a2=_0x3d4004;let _0x22f14c=this[_0x2e86a2(0x4d5)][_0x2e86a2(0x484)];if(!_0x1fdcad['dataModel']||!_0x22f14c)return;let _0xc87ac1=(0x0,_0x21b2c0[_0x2e86a2(0x2f7)])(_0x1fdcad[_0x2e86a2(0x52e)]);if(!_0xc87ac1)return;let _0x2f7f33=_0xc87ac1[_0x2e86a2(0x2d8)];if(!_0x2f7f33)return;let _0x38f934=(0x0,_0x590e75[_0x2e86a2(0x338)])(_0x2f7f33,_0x6442e8),_0x56bb21=_0xc87ac1['va']??_0x20b6b2[_0x2e86a2(0x4b0)][_0x2e86a2(0x3ef)],_0x355a95=_0xc87ac1['ha']??_0x20b6b2[_0x2e86a2(0x1fc)][_0x2e86a2(0x2a7)],_0x285de4=_0x30e4c5(this[_0x2e86a2(0x4d5)][_0x2e86a2(0x26c)]['getShapeData'](),_0x1fdcad,_0x38f934),_0x3a6f99=_0x1fdcad[_0x2e86a2(0x44b)],_0x4a1106=(0x0,_0x21b2c0[_0x2e86a2(0x409)])(_0x38f934,{'isHorizontal':_0x3a6f99!==!0x1,'textRect':_0x1dcbf2,'verticalAlign':_0x56bb21,'horizontalAlign':_0x355a95,'wrapStrategy':_0x285de4[_0x2e86a2(0x1fb)]}),_0x53fc89=new _0x20b6b2[(_0x2e86a2(0x1c7))](_0x4a1106),_0x707156=new _0x2e0941[(_0x2e86a2(0x1c3))](_0x53fc89),_0x12a2cd=_0x2e0941[_0x2e86a2(0x25d)][_0x2e86a2(0x2e1)](_0x707156,_0x22f14c);_0x12a2cd[_0x2e86a2(0x1eb)]();let _0x44a141=_0x12a2cd['getActualSize']()[_0x2e86a2(0x3f7)],_0x4526a0=(0x0,_0x21b2c0[_0x2e86a2(0x212)])({'contentHeight':_0x44a141,'verticalAlign':_0x56bb21,'viewportHeight':_0x1dcbf2[_0x2e86a2(0x3f0)]});_0x53fc89[_0x2e86a2(0x465)]({'pageSize':{'width':_0x3a6f99===!0x1?_0x1dcbf2[_0x2e86a2(0x3f0)]:_0x1dcbf2[_0x2e86a2(0x4ba)],'height':(0x0,_0x21b2c0[_0x2e86a2(0x21b)])(_0x38f934,_0x4526a0[_0x2e86a2(0x243)])}}),_0x53fc89[_0x2e86a2(0x1be)]({'t':_0x4526a0[_0x2e86a2(0x425)]}),_0x12a2cd[_0x2e86a2(0x1eb)]();let _0x143565=new _0x2e0941['Documents']('shape-text-'+this[_0x2e86a2(0x420)],_0x12a2cd,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x2e86a2(0x537)](!0x0)});_0x143565[_0x2e86a2(0x24a)](_0x1dcbf2['width'],_0x4526a0[_0x2e86a2(0x243)]),_0xbc6433[_0x2e86a2(0x1ef)](),_0xbc6433[_0x2e86a2(0x4a5)](_0x1dcbf2[_0x2e86a2(0x26d)],_0x1dcbf2[_0x2e86a2(0x35f)]),_0x285de4[_0x2e86a2(0x317)]&&(_0xbc6433[_0x2e86a2(0x414)](),_0xbc6433[_0x2e86a2(0x1d3)](0x0,_0x4526a0['clipTop'],_0x1dcbf2[_0x2e86a2(0x4ba)],_0x4526a0[_0x2e86a2(0x568)]),_0xbc6433[_0x2e86a2(0x317)]()),_0x4526a0['contentVerticalOffset']&&_0xbc6433['translateWithPrecision'](0x0,_0x4526a0[_0x2e86a2(0x3d6)]),_0x143565[_0x2e86a2(0x34c)](_0xbc6433),_0xbc6433[_0x2e86a2(0x334)](),_0x143565[_0x2e86a2(0x4fe)](),_0x12a2cd[_0x2e86a2(0x4fe)](),_0x707156['dispose'](),_0x53fc89[_0x2e86a2(0x4fe)]();}[_0x3d4004(0x432)](_0x422f2f,_0x350a2a,_0x4169f2=!0x1){const _0x7aab97=_0x3d4004;if(!this[_0x7aab97(0x3a4)])return this[_0x7aab97(0x537)](!0x1),this;let {width:_0x5315d3,height:_0x15d127,left:_0x7bc455,top:_0x254334}=this,_0x3fe995=this['getRealBound']();if(_0x5315d3=_0x3fe995[_0x7aab97(0x4ba)],_0x15d127=_0x3fe995[_0x7aab97(0x3f0)],_0x7bc455=_0x3fe995[_0x7aab97(0x26d)],_0x254334=_0x3fe995[_0x7aab97(0x35f)],this['isRender'](_0x350a2a)){let {top:_0x1d43e3,left:_0x2fb0b0,bottom:_0x4cba20,right:_0xd2e746}=_0x350a2a[_0x7aab97(0x1dd)];if(_0x5315d3+this[_0x7aab97(0x1ec)]+_0x7bc455<_0x2fb0b0||_0xd2e746<_0x7bc455||_0x15d127+this['strokeWidth']+_0x254334<_0x1d43e3||_0x4cba20<_0x254334)return this;}let _0xabbdc=_0x7bc455+_0x5315d3/0x2,_0x19fad7=_0x254334+_0x15d127/0x2,_0x1edadc=this[_0x7aab97(0x3be)][_0x7aab97(0x2ee)]();if(this[_0x7aab97(0x4d5)][_0x7aab97(0x3b9)]){let _0x26813a=this['getState'](),_0x1b2570=new _0x2e0941[(_0x7aab97(0x3c9))]();_0x1b2570[_0x7aab97(0x319)]({..._0x26813a}),_0x1edadc=_0x1b2570[_0x7aab97(0x2ee)]();}return _0x422f2f['save'](),this[_0x7aab97(0x4d5)][_0x7aab97(0x26c)][_0x7aab97(0x477)]===!0x0||_0x422f2f[_0x7aab97(0x3be)](_0x1edadc[0x0],_0x1edadc[0x1],_0x1edadc[0x2],_0x1edadc[0x3],_0xabbdc,_0x19fad7),this[_0x7aab97(0x3bf)](_0x422f2f,_0x350a2a,_0x5315d3,_0x15d127),_0x422f2f['restore'](),this[_0x7aab97(0x537)](!0x1),this;}['getInverseCoord'](_0x32eca4){const _0x4f1a91=_0x3d4004;let {left:_0x538246,top:_0x180b6b,width:_0x31a963,height:_0x129657}=this['getRealBound'](),_0x3b6cf5=this[_0x4f1a91(0x3be)][_0x4f1a91(0x2ee)](),_0x4c5b6f=_0x538246+_0x31a963/0x2,_0x3ba7f0=_0x180b6b+_0x129657/0x2,_0x7d930b=new _0x2e0941['Transform']([_0x3b6cf5[0x0],_0x3b6cf5[0x1],_0x3b6cf5[0x2],_0x3b6cf5[0x3],_0x4c5b6f,_0x3ba7f0]),_0x7d57af=this['getParent']();return(this['isInGroup']&&(_0x7d57af==null?void 0x0:_0x7d57af[_0x4f1a91(0x22d)])===_0x2e0941['RENDER_CLASS_TYPE'][_0x4f1a91(0x250)]?_0x7d57af[_0x4f1a91(0x4a7)]['multiply'](_0x7d930b):_0x7d930b)[_0x4f1a91(0x4e9)]()[_0x4f1a91(0x3ee)](_0x32eca4);}[_0x3d4004(0x54e)](_0x26cf50){const _0x2cf1a7=_0x3d4004;let {left:_0x583a0d,top:_0x5eb1c5,width:_0x16dc83,height:_0x3316f0}=this[_0x2cf1a7(0x560)](),_0x426f4a=_0x583a0d+_0x16dc83/0x2,_0x2be87f=_0x5eb1c5+_0x3316f0/0x2,_0x1bed04=this['transform'][_0x2cf1a7(0x2ee)](),_0x336082=new _0x2e0941[(_0x2cf1a7(0x3c9))]([_0x1bed04[0x0],_0x1bed04[0x1],_0x1bed04[0x2],_0x1bed04[0x3],_0x426f4a,_0x2be87f]),_0x2f1c41=this[_0x2cf1a7(0x330)](),_0x190bae=(this['isInGroup']&&(_0x2f1c41==null?void 0x0:_0x2f1c41[_0x2cf1a7(0x22d)])===_0x2e0941[_0x2cf1a7(0x4e1)][_0x2cf1a7(0x250)]?_0x2f1c41[_0x2cf1a7(0x4a7)][_0x2cf1a7(0x468)](_0x336082):_0x336082)[_0x2cf1a7(0x4e9)]()['applyPoint'](_0x26cf50),_0x5e857f=_0x16dc83/0x2,_0x4dc1a7=_0x3316f0/0x2,_0xf251a9=this[_0x2cf1a7(0x4d5)]['shapeModel'];return _0xf251a9&&_0xf251a9[_0x2cf1a7(0x1b2)]()?_0xf251a9['isHitLine'](_0x190bae['x'],_0x190bae['y'],_0x16dc83,_0x3316f0):_0x190bae['x']>=-_0x5e857f-this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['x']<=_0x5e857f+this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['y']>=-_0x4dc1a7-this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['y']<=_0x4dc1a7+this[_0x2cf1a7(0x1ec)]/0x2;}[_0x3d4004(0x4fe)](){const _0x25eb16=_0x3d4004;this[_0x25eb16(0x46d)][_0x25eb16(0x4fe)](),this[_0x25eb16(0x4d5)]['shapeModel']=null,super['dispose']();}},_0x3ccc58=class extends _0x2e0941[_0x3d4004(0x260)]{constructor(_0x4dc051,_0x498077){const _0x3c66ad=_0x3d4004;super(_0x4dc051,_0x498077),_0x212175(this,_0x3c66ad(0x3bc),null),_0x212175(this,_0x3c66ad(0x27c),null),_0x212175(this,'_unitId',null),_0x212175(this,'_subUnitId',null),_0x498077&&this[_0x3c66ad(0x4af)](_0x498077);}['getDrawingSearch'](){const _0x33f7d8=_0x3d4004;return{'unitId':this['_unitId'],'subUnitId':this[_0x33f7d8(0x240)],'drawingId':this[_0x33f7d8(0x3bc)]};}[_0x3d4004(0x4af)](_0x41876d){const _0x1610e9=_0x3d4004;_0x41876d[_0x1610e9(0x47c)]!==void 0x0&&(this[_0x1610e9(0x3bc)]=_0x41876d[_0x1610e9(0x47c)]),_0x41876d[_0x1610e9(0x536)]!==void 0x0&&(this[_0x1610e9(0x27c)]=_0x41876d['adjName']),_0x41876d['unitId']!==void 0x0&&(this[_0x1610e9(0x1d1)]=_0x41876d['unitId']),_0x41876d[_0x1610e9(0x4c3)]!==void 0x0&&(this[_0x1610e9(0x240)]=_0x41876d[_0x1610e9(0x4c3)]),this[_0x1610e9(0x40d)]({'width':_0x41876d[_0x1610e9(0x4ba)],'height':_0x41876d[_0x1610e9(0x3f0)]});}[_0x3d4004(0x3bf)](_0xcc2f27){const _0x5da0be=_0x3d4004;_0x2e0941[_0x5da0be(0x4be)]['drawWith'](_0xcc2f27,{'radius':_0x36e36c['ShapeDefaultConfig'][_0x5da0be(0x445)],'fill':_0x36e36c['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x36e36c['ShapeDefaultConfig'][_0x5da0be(0x47f)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4a972c(_0x24db91,_0x2202f5){return function(_0x10cab2,_0x3002cb){_0x2202f5(_0x10cab2,_0x3002cb,_0x24db91);};}function _0x3a2391(_0x5aa48d,_0x6ac5d3,_0x583d4e,_0x306f6c){const _0x36e895=_0x3d4004;var _0x318b43=arguments[_0x36e895(0x1ed)],_0x223f3d=_0x318b43<0x3?_0x6ac5d3:_0x306f6c===null?_0x306f6c=Object[_0x36e895(0x310)](_0x6ac5d3,_0x583d4e):_0x306f6c,_0x3c33ad;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x36e895(0x296))_0x223f3d=Reflect[_0x36e895(0x2e7)](_0x5aa48d,_0x6ac5d3,_0x583d4e,_0x306f6c);else{for(var _0x3b8b08=_0x5aa48d[_0x36e895(0x1ed)]-0x1;_0x3b8b08>=0x0;_0x3b8b08--)(_0x3c33ad=_0x5aa48d[_0x3b8b08])&&(_0x223f3d=(_0x318b43<0x3?_0x3c33ad(_0x223f3d):_0x318b43>0x3?_0x3c33ad(_0x6ac5d3,_0x583d4e,_0x223f3d):_0x3c33ad(_0x6ac5d3,_0x583d4e))||_0x223f3d);}return _0x318b43>0x3&&_0x223f3d&&Object['defineProperty'](_0x6ac5d3,_0x583d4e,_0x223f3d),_0x223f3d;}let _0xec3a87=class extends _0x20b6b2['Disposable']{constructor(_0x387c20,_0x4f8d53,_0x1e528e,_0x38760d,_0xaee45c,_0x458ffb){const _0x692132=_0x3d4004;super(),this[_0x692132(0x3a6)]=_0x387c20,this['_sheetsShapeService']=_0x4f8d53,this[_0x692132(0x564)]=_0x1e528e,this[_0x692132(0x29f)]=_0x38760d,this[_0x692132(0x320)]=_0xaee45c,this[_0x692132(0x3f1)]=_0x458ffb,_0x212175(this,'_formulaShapes',new Map()),this[_0x692132(0x301)](this['_shapeFormulaService']['presentationChanged$'][_0x692132(0x448)](_0x537045=>{const _0x1285e7=_0x692132;var _0x5bbab3;(_0x5bbab3=this[_0x1285e7(0x43a)]['get'](this['_formulaKey'](_0x537045[_0x1285e7(0x3e5)],_0x537045['subUnitId'],_0x537045['shapeId'])))==null||_0x5bbab3['forEach'](_0xce61db=>_0xce61db['setFormulaPresentation'](_0x537045[_0x1285e7(0x349)],_0x537045[_0x1285e7(0x22c)]));})),this[_0x692132(0x301)](this[_0x692132(0x3a6)][_0x692132(0x52d)]['subscribe'](_0x5cbeb9=>{const _0x581d9d=_0x692132;_0x5cbeb9[_0x581d9d(0x39d)](_0x37fc31=>{const _0x3f4a0f=_0x581d9d;this[_0x3f4a0f(0x3f1)][_0x3f4a0f(0x548)]({'unitId':_0x37fc31[_0x3f4a0f(0x3e5)],'subUnitId':_0x37fc31[_0x3f4a0f(0x4c3)],'shapeId':_0x37fc31['drawingId']}),this[_0x3f4a0f(0x43a)][_0x3f4a0f(0x2e4)](this[_0x3f4a0f(0x245)](_0x37fc31[_0x3f4a0f(0x3e5)],_0x37fc31[_0x3f4a0f(0x4c3)],_0x37fc31['drawingId']));});}));}[_0x3d4004(0x3c6)](_0xd61bb7,_0x51ae13,_0x2bbabf){const _0x46e6a3=_0x3d4004;let {transform:_0x227ae1,drawingType:_0x135106,srcRect:_0x4cdfbf,prstGeom:_0x3f3bb3,groupId:_0x4dbdf5,unitId:_0x263d60,subUnitId:_0x159589,drawingId:_0x27dd8c,isMultiTransform:_0x1e7584,transforms:_0x1472bc,hidden:_0x28bdfa,selectable:_0x59fba4}=_0xd61bb7;if(_0x135106!==_0x20b6b2['DrawingTypeEnum'][_0x46e6a3(0x364)]||!this['_drawingManagerService']['getDrawingVisible']()||_0x227ae1==null)return;let _0x106f98=this['_drawingManagerService'][_0x46e6a3(0x583)](),_0x5e3aef=_0x1e7584&&_0x1472bc?_0x1472bc:[_0x227ae1],_0x1a6b03=[];for(let _0x1864b9 of _0x5e3aef){let {left:_0x2fe8f3,top:_0x1b66e3,width:_0x1881b1,height:_0x236e32,angle:_0x651480,flipX:_0x1f5941,flipY:_0x5de41e,skewX:_0x2c05c4,skewY:_0x2bbdfb}=_0x1864b9,_0x39cdf5=_0x5e3aef[_0x46e6a3(0x35e)](_0x1864b9),_0x39539d=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x263d60,'subUnitId':_0x159589,'drawingId':_0x27dd8c},_0x1e7584?_0x39cdf5:void 0x0),_0x3ce283=_0x51ae13[_0x46e6a3(0x1fe)](_0x39539d);if(_0x3ce283!=null){let _0x312bcc={'unitId':_0x263d60,'subUnitId':_0x159589,'shapeId':_0x27dd8c};_0x3ce283 instanceof _0x2caaad&&this[_0x46e6a3(0x359)](_0x3ce283,_0x312bcc),_0x3ce283['transformByState']({'left':_0x2fe8f3,'top':_0x1b66e3,'width':_0x1881b1,'height':_0x236e32,'angle':_0x651480,'flipX':_0x1f5941,'flipY':_0x5de41e,'skewX':_0x2c05c4,'skewY':_0x2bbdfb});continue;}let _0x2a7fe7=this[_0x46e6a3(0x3a6)][_0x46e6a3(0x530)](_0x263d60,_0x159589),_0x28ddef=_0x2a7fe7[_0x46e6a3(0x35e)](_0x27dd8c);if(_0x51ae13[_0x46e6a3(0x1fe)](_0x39539d)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x21991a=this[_0x46e6a3(0x341)][_0x46e6a3(0x453)](_0x263d60,_0x159589,_0x27dd8c);if(!_0x21991a)continue;let _0xd815c0=(0x0,_0x36e36c['isConnectorShape'])(_0x21991a['getShapeType']())?{..._0x21b2c0[_0x46e6a3(0x375)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x21b2c0[_0x46e6a3(0x375)],_0x4abe47=_0x21991a[_0x46e6a3(0x313)]()[_0x46e6a3(0x1b7)],_0x3f0cd7={'unitId':_0x263d60,'subUnitId':_0x159589,'shapeId':_0x27dd8c};_0x4abe47&&this['_shapeFormulaService']['register'](_0x3f0cd7,_0x4abe47);let _0x3a0b45=new _0x2caaad(_0x39539d,{..._0x1864b9,'zIndex':_0x28ddef===-0x1?_0x2a7fe7[_0x46e6a3(0x1ed)]-0x1:_0x28ddef,'shapeModel':_0x21991a,'localeService':this[_0x46e6a3(0x564)],'shapeId':_0x27dd8c,'unitId':_0x263d60,'subUnitId':_0x159589,'visible':_0x28bdfa!==!0x0,'evented':_0x59fba4!==!0x1,'formulaPresentation':_0x4abe47?this[_0x46e6a3(0x3f1)][_0x46e6a3(0x4a8)](_0x3f0cd7):void 0x0,'animateFormulaPresentation':(_0x4abe47==null?void 0x0:_0x4abe47[_0x46e6a3(0x22c)])!==!0x1,'transformerConfig':_0xd815c0});if(_0x4abe47){let _0x302967=this['_formulaKey'](_0x263d60,_0x159589,_0x27dd8c),_0x3bdb7a=this['_formulaShapes'][_0x46e6a3(0x584)](_0x302967)??new Set();_0x3bdb7a['add'](_0x3a0b45),this['_formulaShapes'][_0x46e6a3(0x50d)](_0x302967,_0x3bdb7a);}_0x51ae13['addObject'](_0x3a0b45,_0x2e0941[_0x46e6a3(0x33e)]),_0x106f98&&_0x51ae13['attachTransformerTo'](_0x3a0b45),_0x4dbdf5&&(0x0,_0x42ecb7['insertGroupObject'])({'drawingId':_0x4dbdf5,'unitId':_0x263d60,'subUnitId':_0x159589},_0x3a0b45,_0x51ae13,this[_0x46e6a3(0x3a6)]),_0x3f3bb3!=null&&_0x3a0b45[_0x46e6a3(0x36e)](_0x3f3bb3),_0x4cdfbf!=null&&_0x3a0b45['setSrcRect'](_0x4cdfbf);let _0x3a53b6=this['_loadShapePictureFill'](_0x3a0b45,_0x21991a[_0x46e6a3(0x313)]());if(_0x3a53b6){var _0x4f0790;_0x2bbabf==null||(_0x4f0790=_0x2bbabf['resourceCollector'])==null||_0x4f0790[_0x46e6a3(0x2e9)](_0x3a53b6);}_0x1a6b03['push'](_0x3a0b45);}return _0x1a6b03;}[_0x3d4004(0x245)](_0x491aec,_0x26236a,_0x215c7f){return _0x491aec+'\x00'+_0x26236a+'\x00'+_0x215c7f;}[_0x3d4004(0x359)](_0xceebac,_0x20423f){const _0x556dee=_0x3d4004;let _0x18cc15=this[_0x556dee(0x341)][_0x556dee(0x453)](_0x20423f[_0x556dee(0x3e5)],_0x20423f[_0x556dee(0x4c3)],_0x20423f[_0x556dee(0x47c)]),_0x293e12=_0x18cc15==null?void 0x0:_0x18cc15[_0x556dee(0x313)]()[_0x556dee(0x1b7)],_0x4ee980=this[_0x556dee(0x245)](_0x20423f['unitId'],_0x20423f[_0x556dee(0x4c3)],_0x20423f[_0x556dee(0x47c)]);if(_0x293e12){this[_0x556dee(0x3f1)][_0x556dee(0x20d)](_0x20423f,_0x293e12);let _0x5ac6ed=this['_formulaShapes']['get'](_0x4ee980)??new Set();_0x5ac6ed[_0x556dee(0x2e9)](_0xceebac),this['_formulaShapes'][_0x556dee(0x50d)](_0x4ee980,_0x5ac6ed);}else{var _0x47e59f;this[_0x556dee(0x3f1)][_0x556dee(0x548)](_0x20423f),(_0x47e59f=this['_formulaShapes'][_0x556dee(0x584)](_0x4ee980))==null||_0x47e59f[_0x556dee(0x2e4)](_0xceebac);}_0xceebac[_0x556dee(0x491)](_0x293e12?this[_0x556dee(0x3f1)]['getPresentation'](_0x20423f):void 0x0,(_0x293e12==null?void 0x0:_0x293e12[_0x556dee(0x22c)])!==!0x1);}[_0x3d4004(0x2fe)](_0x2601b0){const _0x329b0c=_0x3d4004;let _0x9cf7fb=_0x2601b0['shapeModel'][_0x329b0c(0x313)](),_0x2fa2ff=_0x9cf7fb['fill'];if(!_0x2fa2ff||_0x2fa2ff[_0x329b0c(0x4fd)]!==_0x36e36c[_0x329b0c(0x520)][_0x329b0c(0x2c5)]||!_0x2fa2ff[_0x329b0c(0x336)]){_0x2601b0[_0x329b0c(0x2f5)](void 0x0);return;}this[_0x329b0c(0x464)](_0x2601b0,_0x9cf7fb);}['_loadShapePictureFill'](_0x325666,_0x4a055e){const _0x224ade=_0x3d4004;let _0x4a7c19=_0x4a055e[_0x224ade(0x55a)];if(!_0x4a7c19||_0x4a7c19[_0x224ade(0x4fd)]!==_0x36e36c['ShapeFillEnum'][_0x224ade(0x2c5)]||!_0x4a7c19[_0x224ade(0x336)])return;let _0x1f90e4=_0x4a7c19[_0x224ade(0x336)],_0x3d2b6b=_0x4a7c19['fillImageSourceType']??_0x36e36c[_0x224ade(0x273)][_0x224ade(0x2cd)],_0x283a95=this[_0x224ade(0x29f)][_0x224ade(0x34d)](_0x1f90e4,_0x3d2b6b);if(_0x283a95){_0x325666[_0x224ade(0x2f5)](_0x283a95);return;}return this[_0x224ade(0x1f0)](_0x325666,_0x1f90e4,_0x3d2b6b);}async[_0x3d4004(0x1f0)](_0x32d679,_0x3aa7a9,_0xc465d3){const _0x59d614=_0x3d4004;let _0xc3b9e6;try{if(_0xc465d3===_0x36e36c[_0x59d614(0x273)][_0x59d614(0x586)])_0xc3b9e6=await this[_0x59d614(0x29f)][_0x59d614(0x21f)](_0x3aa7a9);else{if(_0xc465d3===_0x36e36c[_0x59d614(0x273)][_0x59d614(0x2cd)])try{_0xc3b9e6=await this[_0x59d614(0x320)][_0x59d614(0x21f)](_0x3aa7a9);}catch{_0xc3b9e6=_0x3aa7a9;}else _0xc3b9e6=_0x3aa7a9;}}catch(_0x1c766f){console['error'](_0x59d614(0x38b),_0x1c766f);return;}await new Promise(_0x34accf=>{const _0x5a9dce=_0x59d614;let _0x5a3b89=new window['Image']();_0x5a3b89[_0x5a9dce(0x440)]=()=>{const _0xcbd99e=_0x5a9dce;this[_0xcbd99e(0x29f)][_0xcbd99e(0x2e5)](_0x3aa7a9,_0xc465d3,_0x5a3b89),_0x32d679[_0xcbd99e(0x2f5)](_0x5a3b89),_0x34accf();},_0x5a3b89['onerror']=()=>{const _0x55d3aa=_0x5a9dce;console[_0x55d3aa(0x3d5)](_0x55d3aa(0x589),_0x3aa7a9),_0x34accf();},_0x5a3b89[_0x5a9dce(0x527)]=_0xc3b9e6;});}};_0xec3a87=_0x3a2391([_0x4a972c(0x0,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService'])),_0x4a972c(0x2,(0x0,_0x20b6b2['Inject'])(_0x20b6b2[_0x3d4004(0x31f)])),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x4ec)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x360)]),_0x4a972c(0x5,(0x0,_0x20b6b2['Inject'])(_0x590e75[_0x3d4004(0x33b)]))],_0xec3a87);let _0x42bfec=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x1cfaf7,_0x51471f,_0x3ef254,_0x254385,_0x41a8b6,_0x4eb0f8){const _0xb5032d=_0x3d4004;super(),this[_0xb5032d(0x3a6)]=_0x1cfaf7,this[_0xb5032d(0x341)]=_0x51471f,this['_renderManagerService']=_0x3ef254,this[_0xb5032d(0x1b8)]=_0x254385,this['_univerInstanceService']=_0x41a8b6,this[_0xb5032d(0x2d4)]=_0x4eb0f8,_0x212175(this,_0xb5032d(0x3a8),null),_0x212175(this,_0xb5032d(0x1d1),null),_0x212175(this,_0xb5032d(0x240),null),_0x212175(this,_0xb5032d(0x4a9),void 0x0),_0x212175(this,'_shapes',[]),_0x212175(this,_0xb5032d(0x25a),0x0),_0x212175(this,_0xb5032d(0x29d),0x0),_0x212175(this,_0xb5032d(0x4ac),0x0),_0x212175(this,_0xb5032d(0x547),0x0),_0x212175(this,_0xb5032d(0x516),!0x1),_0x212175(this,_0xb5032d(0x4a0),void 0x0),_0x212175(this,_0xb5032d(0x34e),void 0x0),_0x212175(this,_0xb5032d(0x1f6),void 0x0),_0x212175(this,_0xb5032d(0x38a),void 0x0),_0x212175(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0xb5032d(0x471)](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x3c6e50,_0x448e22,_0xaf53d3){const _0x2504b8=_0x3d4004;let _0x22d983=this[_0x2504b8(0x341)][_0x2504b8(0x453)](_0x3c6e50,_0x448e22,_0xaf53d3);if(_0x22d983)return _0x22d983[_0x2504b8(0x57c)]();}[_0x3d4004(0x45b)](){const _0x26b7c2=_0x3d4004;this[_0x26b7c2(0x322)]();}[_0x3d4004(0x574)](){this['_updateShapeAdjustControls'](!0x0);}[_0x3d4004(0x20f)](_0x53df5a){this['_isShouldShowDrawingShapeAdjust']=_0x53df5a;}[_0x3d4004(0x4c7)](_0xff9278,_0x5e788a,_0x459685,_0xfaeea3){const _0x36b781=_0x3d4004;let _0x9f22b0=this[_0x36b781(0x341)][_0x36b781(0x453)](_0xff9278,_0x5e788a,_0x459685);if(_0x9f22b0)return _0x9f22b0['getAdjustInfoByName'](_0xfaeea3);}[_0x3d4004(0x53d)](_0x3111c3=!0x1){const _0x349e80=_0x3d4004;if(this[_0x349e80(0x1d1)]===null||this['_subUnitId']===null||this[_0x349e80(0x3a8)]===null)return;let _0x302b78=this[_0x349e80(0x35d)][_0x349e80(0x3ab)](this['_unitId']);if(!_0x302b78||!_0x302b78[_0x349e80(0x33c)](_0x5aa18a[_0x349e80(0x555)])[_0x349e80(0x2bf)]())return;let {scene:_0x959d49}=_0x302b78,_0x3ebe68={'unitId':this[_0x349e80(0x1d1)],'subUnitId':this[_0x349e80(0x240)],'drawingId':this[_0x349e80(0x3a8)]},_0x79cae8=this[_0x349e80(0x3a6)][_0x349e80(0x291)](_0x3ebe68),{transform:_0x251384}=_0x79cae8;if(!_0x251384||_0x79cae8[_0x349e80(0x2c8)]!==_0x20b6b2[_0x349e80(0x284)]['DRAWING_SHAPE'])return;let {left:_0x5a5b67,top:_0x2e6c79,width:_0x57638d,height:_0xa1bbf1,flipX:_0x4895b2,flipY:_0x47e130,angle:_0x2a0b54=0x0}=_0x251384;if(_0x5a5b67===void 0x0||_0x2e6c79===void 0x0)return;if(_0x3111c3){let _0x1305ed=this[_0x349e80(0x341)][_0x349e80(0x453)](this[_0x349e80(0x1d1)],this[_0x349e80(0x240)],this[_0x349e80(0x3a8)]);_0x1305ed==null||_0x1305ed[_0x349e80(0x4d2)]({'width':_0x57638d??0x0,'height':_0xa1bbf1??0x0}),this[_0x349e80(0x4a9)]=_0x1305ed==null?void 0x0:_0x1305ed[_0x349e80(0x57c)]();}let _0x2fc500=this[_0x349e80(0x4a9)];for(let _0x1876ce=0x0;_0x1876ce<_0x2fc500[_0x349e80(0x1ed)];_0x1876ce++){let _0x1c22ed=_0x2fc500[_0x1876ce],_0x29c8a1=_0x1c22ed['x'],_0x2fbcf1=_0x1c22ed['y'];if(_0x4895b2&&(_0x29c8a1=(_0x57638d||0x0)-_0x29c8a1),_0x47e130&&(_0x2fbcf1=(_0xa1bbf1||0x0)-_0x2fbcf1),_0x2a0b54!==0x0){let _0x51bc01=(_0x57638d||0x0)/0x2,_0x1c28cc=(_0xa1bbf1||0x0)/0x2,_0x4d1ce1=_0x2a0b54*Math['PI']/0xb4,_0x41b998=Math['cos'](_0x4d1ce1),_0x1b5fa9=Math[_0x349e80(0x28c)](_0x4d1ce1),_0x358983=_0x29c8a1-_0x51bc01,_0x4a4846=_0x2fbcf1-_0x1c28cc;_0x29c8a1=_0x51bc01+(_0x358983*_0x41b998-_0x4a4846*_0x1b5fa9),_0x2fbcf1=_0x1c28cc+(_0x358983*_0x1b5fa9+_0x4a4846*_0x41b998);}let _0x40db77={'x':_0x29c8a1,'y':_0x2fbcf1,'adjName':_0x1c22ed[_0x349e80(0x536)]};this[_0x349e80(0x4d9)](_0x959d49,_0x40db77,_0x40db77[_0x349e80(0x536)],_0x5a5b67,_0x2e6c79,this[_0x349e80(0x1d1)],this[_0x349e80(0x240)]);}}[_0x3d4004(0x4e4)](_0x30ffab=!0x1){const _0x42ec50=_0x3d4004;_0x30ffab&&(this[_0x42ec50(0x322)](),this[_0x42ec50(0x53d)](_0x30ffab));}['_addShapeAdjustControl'](_0x5efecb,_0xfa8f55,_0x4cff5b,_0x565e3e,_0x79a762,_0x506ffb,_0x37f56b){const _0x539fd7=_0x3d4004;if(!this['_activeShapeId'])return;let _0x3784f9=_0x5efecb[_0x539fd7(0x1fe)]('shape-adjust-point-'+this[_0x539fd7(0x3a8)]+'-'+_0x4cff5b);if(_0x3784f9){_0x3784f9[_0x539fd7(0x40d)]({'left':_0xfa8f55['x']+_0x565e3e-_0x36e36c['ShapeDefaultConfig'][_0x539fd7(0x445)],'top':_0xfa8f55['y']+_0x79a762-_0x36e36c['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x254490={'left':_0xfa8f55['x']+_0x565e3e-_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)],'top':_0xfa8f55['y']+_0x79a762-_0x36e36c[_0x539fd7(0x543)]['adjHandleSize'],'adjName':_0x4cff5b,'shapeId':this[_0x539fd7(0x3a8)],'unitId':_0x506ffb,'subUnitId':_0x37f56b,'width':_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)]+0x8,'height':_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)]+0x8,'zIndex':_0x2e0941[_0x539fd7(0x33e)]+0x1,'evented':!0x0},_0x410cf4=new _0x3ccc58('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x4cff5b,_0x254490);this[_0x539fd7(0x404)]['push'](_0x410cf4),this[_0x539fd7(0x3ad)](_0x410cf4,_0x5efecb,_0x4cff5b),_0x5efecb['addObject'](_0x410cf4,_0x2e0941[_0x539fd7(0x33e)]+0x1);}[_0x3d4004(0x322)](){const _0x3d612f=_0x3d4004;this[_0x3d612f(0x404)][_0x3d612f(0x1ed)]!==0x0&&(this[_0x3d612f(0x404)][_0x3d612f(0x39d)](_0x7faec0=>{const _0x1cd34b=_0x3d612f;_0x7faec0[_0x1cd34b(0x4fe)]();}),this['_shapes']=[]);}[_0x3d4004(0x56e)](){const _0x5ea5ca=_0x3d4004;this[_0x5ea5ca(0x53d)]();}[_0x3d4004(0x28f)](_0x45f44b,_0x33a1bb){const _0x49826b=_0x3d4004;var _0xafaa32;let _0x16a3ae={'x':0x0,'y':0x0};if(!_0x45f44b||!_0x33a1bb)return _0x16a3ae;let _0x23d3df=this[_0x49826b(0x35d)][_0x49826b(0x3ab)](_0x45f44b);if(!_0x23d3df||!_0x23d3df[_0x49826b(0x33c)](_0x5aa18a[_0x49826b(0x555)])['getSkeleton'](_0x33a1bb))return _0x16a3ae;let _0x45365b=_0x23d3df['with'](_0x5aa18a[_0x49826b(0x382)]),_0x308760=_0x45365b==null?void 0x0:_0x45365b[_0x49826b(0x280)]();if(!_0x308760)return _0x16a3ae;let _0x22b399=(_0xafaa32=this[_0x49826b(0x1cc)][_0x49826b(0x264)](_0x45f44b))==null?void 0x0:_0xafaa32[_0x49826b(0x343)](_0x33a1bb);if(!_0x22b399)return _0x16a3ae;let _0x3c1046=(0x0,_0x5aa18a[_0x49826b(0x32e)])(_0x308760[_0x49826b(0x30a)],_0x308760[_0x49826b(0x4f5)],_0x23d3df['scene'],_0x22b399);return _0x3c1046?{'x':_0x3c1046['viewportScrollX'],'y':_0x3c1046[_0x49826b(0x252)]}:_0x16a3ae;}['_getZoomRatio'](_0x2ee75f,_0x4dccf1){const _0x5f0c3b=_0x3d4004;var _0x25ecd5;let _0x1cff00=(_0x25ecd5=this['_univerInstanceService']['getUnit'](_0x2ee75f))==null?void 0x0:_0x25ecd5[_0x5f0c3b(0x343)](_0x4dccf1);return(_0x1cff00==null?void 0x0:_0x1cff00[_0x5f0c3b(0x48d)]())??0x1;}[_0x3d4004(0x3ad)](_0x366cb3,_0x957de8,_0xd8a0a){const _0x1c8d12=_0x3d4004;this[_0x1c8d12(0x301)]((0x0,_0x20b6b2['toDisposable'])(_0x366cb3[_0x1c8d12(0x4ad)][_0x1c8d12(0x306)]((_0x46a309,_0x2366fe)=>{const _0x958124=_0x1c8d12;var _0x5eeead,_0x4c2420,_0x4ae2e6,_0x3d9f80;let _0x2e7522=_0x366cb3[_0x958124(0x289)]();this[_0x958124(0x4a0)]=this['_getShapeAdjustInfosById'](_0x2e7522[_0x958124(0x3e5)],_0x2e7522[_0x958124(0x4c3)],_0x2e7522[_0x958124(0x354)],_0xd8a0a),this[_0x958124(0x34e)]=this[_0x958124(0x341)][_0x958124(0x453)](_0x2e7522[_0x958124(0x3e5)],_0x2e7522[_0x958124(0x4c3)],_0x2e7522[_0x958124(0x354)]);let _0x43c707=this[_0x958124(0x3a6)][_0x958124(0x291)]({'unitId':this['_unitId'],'subUnitId':this[_0x958124(0x240)],'drawingId':this['_activeShapeId']}),{transform:_0x526731}=_0x43c707;if(_0x526731){let {left:_0xf41e7f,top:_0x5a013d,width:_0x58b0f1,height:_0x3cf7e2}=_0x526731;this['_baseShapeLeft']=_0xf41e7f||0x0,this[_0x958124(0x29d)]=_0x5a013d||0x0,this[_0x958124(0x4ac)]=_0x58b0f1||0x0,this[_0x958124(0x547)]=_0x3cf7e2||0x0;}let _0x3b6cc6=!!((_0x5eeead=_0x43c707[_0x958124(0x3be)])!=null&&_0x5eeead[_0x958124(0x2a5)]),_0x4dab6f=!!((_0x4c2420=_0x43c707[_0x958124(0x3be)])!=null&&_0x4c2420[_0x958124(0x46a)]),_0x148cf3=((_0x4ae2e6=_0x43c707['transform'])==null?void 0x0:_0x4ae2e6[_0x958124(0x228)])||0x0;this[_0x958124(0x516)]=!0x0,_0x957de8[_0x958124(0x514)]();let _0x184e79={...((_0x3d9f80=this[_0x958124(0x4a0)])==null?void 0x0:_0x3d9f80['currentAdjustValues'])??{}};this[_0x958124(0x1f6)]=_0x957de8[_0x958124(0x2bd)][_0x958124(0x306)]((_0x249eb9,_0x3e48fe)=>{const _0x30bdc9=_0x958124;if(!this[_0x30bdc9(0x516)])return;let {offsetX:_0x153a90,offsetY:_0x1eea8d}=_0x249eb9,_0x1ef662=this[_0x30bdc9(0x4a0)];if(this[_0x30bdc9(0x34e)]&&_0x1ef662){_0x957de8[_0x30bdc9(0x514)](),_0x957de8[_0x30bdc9(0x4e8)](_0x2e0941['CURSOR_TYPE']['CROSSHAIR']);let _0x33d5f5={'left':0x0,'top':0x0,'width':this[_0x30bdc9(0x4ac)],'height':this[_0x30bdc9(0x547)]},_0x3024c9=this[_0x30bdc9(0x28f)](this['_unitId'],this['_subUnitId']),_0x4bb393=this[_0x30bdc9(0x373)](this[_0x30bdc9(0x1d1)],this[_0x30bdc9(0x240)]),_0x3913de=_0x153a90/_0x4bb393+_0x3024c9['x']-this['_baseShapeLeft'],_0x534c4a=_0x1eea8d/_0x4bb393+_0x3024c9['y']-this['_baseShapeTop'];if(_0x148cf3!==0x0){let _0x20e349=this[_0x30bdc9(0x4ac)]/0x2,_0x35e55a=this['_baseShapeHeight']/0x2,_0x455c66=_0x148cf3*Math['PI']/0xb4,_0x57f835=Math[_0x30bdc9(0x33a)](_0x455c66),_0x56bf24=Math[_0x30bdc9(0x28c)](_0x455c66),_0x4c6e82=_0x3913de-_0x20e349,_0x14420c=_0x534c4a-_0x35e55a;_0x3913de=_0x20e349+(_0x4c6e82*_0x57f835+_0x14420c*_0x56bf24),_0x534c4a=_0x35e55a+(-_0x4c6e82*_0x56bf24+_0x14420c*_0x57f835);}_0x3b6cc6&&(_0x3913de=this[_0x30bdc9(0x4ac)]-_0x3913de),_0x4dab6f&&(_0x534c4a=this['_baseShapeHeight']-_0x534c4a);let _0x3609c8={'x':_0x3913de,'y':_0x534c4a},_0x25aead=this['_activeShapeModel'][_0x30bdc9(0x4a3)](_0x33d5f5,_0x3609c8,_0x1ef662,_0x3b6cc6,_0x4dab6f);if(Object[_0x30bdc9(0x3a0)](_0x25aead)[_0x30bdc9(0x1ed)]===0x0)return;for(let [_0xf4401d,_0x387199]of Object['entries'](_0x25aead))this[_0x30bdc9(0x34e)][_0x30bdc9(0x498)](_0xf4401d,_0x387199);this[_0x30bdc9(0x34e)]['updateContext']({'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']});let _0x492d7b=this[_0x30bdc9(0x3a6)][_0x30bdc9(0x291)]({'unitId':_0x2e7522[_0x30bdc9(0x3e5)],'subUnitId':_0x2e7522[_0x30bdc9(0x4c3)],'drawingId':_0x2e7522['drawingId']});_0x492d7b&&(this[_0x30bdc9(0x1b8)][_0x30bdc9(0x3c6)](_0x492d7b,_0x957de8),this[_0x30bdc9(0x4a9)]=this['_getShapeAdjustPointListById'](_0x2e7522[_0x30bdc9(0x3e5)],_0x2e7522['subUnitId'],_0x2e7522[_0x30bdc9(0x354)]),this['_updateAdjustControlPositions']());}_0x3e48fe[_0x30bdc9(0x31e)]();}),this[_0x958124(0x38a)]=_0x957de8[_0x958124(0x421)][_0x958124(0x306)]((_0x246cf2,_0x41094b)=>{const _0x38c58f=_0x958124;this[_0x38c58f(0x1f6)][_0x38c58f(0x205)](),this[_0x38c58f(0x38a)][_0x38c58f(0x205)](),_0x957de8['resetCursor']();let _0x32dca8=this['_activeAdjustInfo'];if(_0x32dca8){let _0x11fcf9=_0x2e7522[_0x38c58f(0x3e5)],_0x16f44=_0x2e7522[_0x38c58f(0x4c3)],_0x4832c4=_0x2e7522[_0x38c58f(0x354)],_0x2d20e3={};for(let _0x23a6e3 of Object[_0x38c58f(0x3a0)](_0x32dca8[_0x38c58f(0x3b1)])){var _0x5422c8;let _0x21ae45=(_0x5422c8=this['_activeShapeModel'])==null?void 0x0:_0x5422c8[_0x38c58f(0x22f)](_0x23a6e3);_0x21ae45!==void 0x0&&(_0x2d20e3[_0x23a6e3]=_0x21ae45);}Object[_0x38c58f(0x3a0)](_0x2d20e3)['length']>0x0&&_0x118498(this['_commandService'],_0x11fcf9,_0x16f44,_0x4832c4,{'oldShapeData':{'adjustValues':_0x184e79}},{'adjustValues':_0x2d20e3});}this['_activeAdjustInfo']=void 0x0,this[_0x38c58f(0x34e)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x41094b[_0x38c58f(0x31e)](),_0x957de8[_0x38c58f(0x262)]();}),_0x2366fe[_0x958124(0x31e)]();})));}[_0x3d4004(0x2df)](){const _0x16557e=_0x3d4004;let _0x322253=this[_0x16557e(0x1cc)][_0x16557e(0x27a)](_0x20b6b2[_0x16557e(0x257)][_0x16557e(0x2bb)]);this[_0x16557e(0x301)](_0x322253[_0x16557e(0x259)]((0x0,_0x1008b8['switchMap'])(_0x57a3cd=>_0x57a3cd?_0x57a3cd[_0x16557e(0x52c)][_0x16557e(0x259)]((0x0,_0x1008b8[_0x16557e(0x352)])(_0x33829e=>{const _0x36a252=_0x16557e;if(!_0x33829e)return _0x1008b8[_0x36a252(0x595)];let _0x31c936=_0x57a3cd[_0x36a252(0x576)](),_0x51849a=this['_renderManagerService'][_0x36a252(0x3ab)](_0x31c936),_0xf63321=_0x51849a==null?void 0x0:_0x51849a[_0x36a252(0x4f2)];return _0xf63321?(0x0,_0x1008b8['of'])(_0xf63321):_0x1008b8[_0x36a252(0x595)];})):_0x1008b8[_0x16557e(0x595)]))[_0x16557e(0x448)](_0x7d9a8f=>{const _0x46f567=_0x16557e;let _0x36a437=_0x7d9a8f['getTransformerByCreate']();this[_0x46f567(0x301)](_0x7d9a8f[_0x46f567(0x2bd)][_0x46f567(0x306)](()=>{const _0x413086=_0x46f567;this[_0x413086(0x376)];})),this[_0x46f567(0x301)](_0x36a437[_0x46f567(0x2ad)][_0x46f567(0x448)](_0x522d02=>{const _0x2ea19a=_0x46f567;let {objects:_0x20a7a7}=_0x522d02;this[_0x2ea19a(0x53d)](),_0x20a7a7!==null&&_0x20a7a7[_0x2ea19a(0x236)]===0x1&&_0x20a7a7[_0x2ea19a(0x1ff)]()['next']()['value']instanceof _0x2caaad&&this[_0x2ea19a(0x20f)](!0x0);})),this[_0x46f567(0x301)](_0x36a437['changing$'][_0x46f567(0x448)](()=>{const _0x157988=_0x46f567;this[_0x157988(0x376)]&&this[_0x157988(0x322)]();})),this[_0x46f567(0x301)](_0x7d9a8f[_0x46f567(0x421)]['subscribeEvent'](()=>{const _0xcd74e4=_0x46f567;this[_0xcd74e4(0x376)]&&(this[_0xcd74e4(0x20f)](!0x1),this['_createShapeAdjustControls']());})),this[_0x46f567(0x301)](_0x36a437['changeEnd$']['subscribe'](()=>{const _0x44e2c3=_0x46f567;this[_0x44e2c3(0x1d1)]&&this[_0x44e2c3(0x240)]&&this[_0x44e2c3(0x3a8)]&&this[_0x44e2c3(0x3a6)][_0x44e2c3(0x291)]({'unitId':this[_0x44e2c3(0x1d1)],'subUnitId':this[_0x44e2c3(0x240)],'drawingId':this[_0x44e2c3(0x3a8)]})&&(this[_0x44e2c3(0x4a9)]=this[_0x44e2c3(0x485)](this[_0x44e2c3(0x1d1)],this[_0x44e2c3(0x240)],this['_activeShapeId']),this[_0x44e2c3(0x56e)]());}));}));}[_0x3d4004(0x471)](){const _0x8501e2=_0x3d4004;this[_0x8501e2(0x301)](this[_0x8501e2(0x2d4)][_0x8501e2(0x47a)](_0x3801a4=>{const _0x28202d=_0x8501e2;if(_0x3801a4['id']!==_0x3c17ec[_0x28202d(0x1fa)]['id'])return;let {unitId:_0x56d8b4,subUnitId:_0x106b0d,shapeId:_0x42dbf8}=_0x3801a4['params'];_0x56d8b4===this[_0x28202d(0x1d1)]&&_0x106b0d===this[_0x28202d(0x240)]&&_0x42dbf8===this[_0x28202d(0x3a8)]&&this[_0x28202d(0x574)]();})),this[_0x8501e2(0x301)](this[_0x8501e2(0x3a6)][_0x8501e2(0x47d)][_0x8501e2(0x448)](_0x40e8b3=>{const _0x542722=_0x8501e2;if(_0x40e8b3[_0x542722(0x1ed)]===0x1){let _0x39ce2c=_0x40e8b3[0x0];if(_0x39ce2c[_0x542722(0x2c8)]===_0x20b6b2[_0x542722(0x284)][_0x542722(0x364)]&&this[_0x542722(0x1cc)][_0x542722(0x3f6)](_0x39ce2c['unitId'])===_0x20b6b2[_0x542722(0x257)][_0x542722(0x2bb)]){this['_activeShapeId']=_0x39ce2c[_0x542722(0x354)];let {unitId:_0x47c624,subUnitId:_0xa3bd63}=_0x39ce2c;this[_0x542722(0x4a9)]=this[_0x542722(0x485)](_0x47c624,_0xa3bd63,this[_0x542722(0x3a8)]),this[_0x542722(0x1d1)]=_0x47c624,this[_0x542722(0x240)]=_0xa3bd63,this[_0x542722(0x322)](),this['_createShapeAdjustControls']();return;}}this[_0x542722(0x3a8)]=null,this[_0x542722(0x4a9)]=void 0x0,this[_0x542722(0x1d1)]=null,this[_0x542722(0x240)]=null,this[_0x542722(0x322)]();})),this['disposeWithMe'](this[_0x8501e2(0x3a6)][_0x8501e2(0x20a)]['subscribe'](_0x216348=>{const _0x230d5f=_0x8501e2;if(_0x216348[_0x230d5f(0x1ed)]===0x1){var _0x33f70a;let _0x203544=_0x216348[0x0];((_0x33f70a=this[_0x230d5f(0x3a6)][_0x230d5f(0x291)](_0x203544))==null?void 0x0:_0x33f70a[_0x230d5f(0x2c8)])===_0x20b6b2[_0x230d5f(0x284)]['DRAWING_SHAPE']&&this[_0x230d5f(0x4e4)](!0x0);}})),this[_0x8501e2(0x301)](this['_drawingManagerService'][_0x8501e2(0x52d)][_0x8501e2(0x448)](_0x1fae06=>{const _0x5726ee=_0x8501e2;for(let _0x4a7c49 of _0x1fae06)this[_0x5726ee(0x3a8)]===_0x4a7c49['drawingId']&&(this[_0x5726ee(0x3a8)]=null,this[_0x5726ee(0x4a9)]=void 0x0,this[_0x5726ee(0x1d1)]=null,this[_0x5726ee(0x240)]=null,this[_0x5726ee(0x322)]());}));}};_0x42bfec=_0x3a2391([_0x4a972c(0x0,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87)),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x5,_0x20b6b2['ICommandService'])],_0x42bfec);let _0x473d36={'id':_0x3d4004(0x308),'type':_0x20b6b2['CommandType']['OPERATION'],'handler':(_0x214cd9,_0x54f308)=>{const _0x46fd7f=_0x3d4004;let _0x17c1d1=_0x214cd9[_0x46fd7f(0x584)](_0x3a44e9[_0x46fd7f(0x567)]),_0x1f992b=_0x214cd9['get'](_0x2e0941[_0x46fd7f(0x565)]),_0x113a64=_0x214cd9[_0x46fd7f(0x584)](_0x42bfec);if(_0x54f308==null)return!0x0;if(_0x54f308['length']>0x0){var _0x426acb;let _0xaa8779=(_0x426acb=_0x1f992b[_0x46fd7f(0x3ab)](_0x54f308[0x0]['unitId']))==null?void 0x0:_0x426acb[_0x46fd7f(0x4f2)];if(_0xaa8779){let {unitId:_0x12fc17,subUnitId:_0x2aa677,drawingId:_0xd2ed22}=_0x54f308[0x0],_0x282f6b=(0x0,_0x3a44e9[_0x46fd7f(0x2a1)])({'unitId':_0x12fc17,'subUnitId':_0x2aa677,'drawingId':_0xd2ed22},void 0x0),_0xdfe5a3=_0xaa8779[_0x46fd7f(0x1fe)](_0x282f6b);if(_0xdfe5a3){var _0xc663f1;(_0xc663f1=_0x1f992b[_0x46fd7f(0x3ab)](_0x54f308[0x0][_0x46fd7f(0x3e5)]))==null||(_0xc663f1=_0xc663f1[_0x46fd7f(0x4f2)][_0x46fd7f(0x3c7)]())==null||_0xc663f1['activeAnObject'](_0xdfe5a3);}}_0x17c1d1[_0x46fd7f(0x489)](_0x54f308),_0x113a64[_0x46fd7f(0x20f)](!0x1);}return!0x0;}},_0x4e8acc={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'id':'sheet.command.menu-insert-shape','handler':async(_0x44ba12,_0x80a775)=>{const _0x453b81=_0x3d4004;let _0x549a8d=(0x0,_0x3a78b8['getSheetCommandTarget'])(_0x44ba12[_0x453b81(0x584)](_0x20b6b2[_0x453b81(0x43b)]));if(!_0x549a8d)return!0x1;let _0x1a2907=_0x44ba12[_0x453b81(0x584)](_0x3a78b8[_0x453b81(0x1db)])['getCurrentLastSelection']();if(!_0x1a2907)return!0x1;let _0x12d83f=_0x44ba12[_0x453b81(0x584)](_0x20b6b2[_0x453b81(0x38e)]),{unitId:_0x442ab5,subUnitId:_0xbe500a}=_0x549a8d,{value:_0x131cfd,enhanceParams:_0x47a11b}=_0x80a775,{range:_0x349522}=_0x1a2907,_0x515fbc={'unitId':_0x442ab5,'subUnitId':_0xbe500a,'shapeType':_0x131cfd,'range':_0x349522,'shapeId':(0x0,_0x20b6b2[_0x453b81(0x293)])()};if(_0x47a11b){let _0x224102=(0x0,_0x36e36c[_0x453b81(0x52a)])(_0x131cfd),_0x58d031=_0x131cfd===_0x36e36c[_0x453b81(0x3e0)][_0x453b81(0x2da)];_0x224102&&(_0x47a11b[_0x453b81(0x528)]||_0x47a11b[_0x453b81(0x2aa)])&&(_0x515fbc[_0x453b81(0x224)]={'ln':{'startArrow':_0x47a11b[_0x453b81(0x528)]?{'type':_0x36e36c['ShapeArrowTypeEnum'][_0x453b81(0x34b)],'size':_0x36e36c[_0x453b81(0x36d)]['Medium']}:void 0x0,'endArrow':_0x47a11b[_0x453b81(0x2aa)]?{'type':_0x36e36c[_0x453b81(0x51a)][_0x453b81(0x34b)],'size':_0x36e36c[_0x453b81(0x36d)]['Large']}:void 0x0}}),_0x58d031&&(_0x47a11b[_0x453b81(0x566)]||_0x47a11b['vertical'])&&(_0x515fbc['shapeData']=(0x0,_0x590e75[_0x453b81(0x4c8)])({'fill':{'fillType':_0x36e36c['ShapeFillEnum'][_0x453b81(0x4ab)],'color':'#FFFFFF'},'isHorizontal':!!_0x47a11b[_0x453b81(0x566)],'stroke':{'lineStrokeType':_0x36e36c[_0x453b81(0x56d)]['SolidLine'],'width':0x1,'color':'#bcbcbc'}}));}let _0x12b7ae=_0x12d83f[_0x453b81(0x340)](_0x3c17ec[_0x453b81(0x233)]['id'],_0x515fbc);return setTimeout(()=>{_0x12d83f['executeCommand'](_0x473d36['id'],[{'unitId':_0x442ab5,'subUnitId':_0xbe500a,'drawingId':_0x515fbc['shapeId']}]);},0xc8),_0x12b7ae;}},_0x1dded7=_0x3d4004(0x367),_0x3b993f=_0x3d4004(0x3ff),_0x1304ff=_0x3d4004(0x436),_0x214f37=_0x3d4004(0x1d0),_0x21169e=(0x0,_0x20b6b2[_0x3d4004(0x223)])(_0x3d4004(0x247)),_0xadef8f=_0x3d4004(0x466),_0x20ee6f={'id':_0x3d4004(0x3d8),'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'handler':(_0x422b20,_0x2579ca)=>{const _0x3f14b4=_0x3d4004;let _0x31c2a9=_0x422b20[_0x3f14b4(0x584)](_0xc5cac3['ISidebarService']),_0x12de55=_0x422b20['get'](_0x20b6b2[_0x3f14b4(0x31f)]),_0x3c4461=_0x422b20[_0x3f14b4(0x584)](_0x20b6b2[_0x3f14b4(0x43b)]),_0x387295=_0x422b20[_0x3f14b4(0x584)](_0x20b6b2[_0x3f14b4(0x38e)]);return(0x0,_0x3a78b8['getSheetCommandTarget'])(_0x3c4461)?(_0x2579ca==null?void 0x0:_0x2579ca[_0x3f14b4(0x405)])===_0x3f14b4(0x4e2)?(_0x31c2a9[_0x3f14b4(0x4e2)](_0x3b993f),!0x0):(_0x31c2a9['open']({'id':_0x3b993f,'header':{'title':_0x12de55['t'](_0x3f14b4(0x269))},'children':{'label':_0x3b993f},'onClose':()=>{const _0x10825e=_0x3f14b4;_0x387295[_0x10825e(0x340)](_0x3a44e9[_0x10825e(0x456)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x2f6589={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x3e6)],'id':_0x3d4004(0x37b),'handler'(){return!0x0;}};function _0x586242(_0x3616ed){const _0x1acfce=_0x3d4004;let _0x20ec3f=_0x3616ed[_0x1acfce(0x584)](_0x3a44e9[_0x1acfce(0x567)])[_0x1acfce(0x505)](),_0x3e04ca=_0x20ec3f['length']===0x1?_0x20ec3f[0x0]:null;if(!_0x3e04ca||_0x3e04ca[_0x1acfce(0x2c8)]!==_0x20b6b2['DrawingTypeEnum'][_0x1acfce(0x364)])return null;let _0xd55272=_0x3616ed[_0x1acfce(0x584)](_0x3c17ec[_0x1acfce(0x3e2)]),_0x5dd317=_0xd55272[_0x1acfce(0x2ec)](_0x3e04ca[_0x1acfce(0x3e5)],_0x3e04ca['subUnitId'],_0x3e04ca['drawingId']),_0x7a1452=_0xd55272[_0x1acfce(0x51d)](_0x3e04ca['unitId'],_0x3e04ca[_0x1acfce(0x4c3)],_0x3e04ca[_0x1acfce(0x354)]);return _0x5dd317===void 0x0||!_0x7a1452?null:{'drawing':_0x3e04ca,'shapeData':_0x7a1452,'shapeType':_0x5dd317};}let _0x50782f={'id':_0x3d4004(0x47b),'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x3e6)],'handler':(_0xb98150,_0x1aa945)=>{const _0x4767cc=_0x3d4004;let _0x2d6fa6=_0x586242(_0xb98150),_0x28b414=(0x0,_0x590e75[_0x4767cc(0x587)])((_0x1aa945==null?void 0x0:_0x1aa945['presetId'])??(_0x1aa945==null?void 0x0:_0x1aa945['value'])??'');if(!_0x2d6fa6||!_0x28b414||_0x28b414['type']!==(0x0,_0x590e75[_0x4767cc(0x553)])(_0x2d6fa6[_0x4767cc(0x224)]))return!0x1;let _0x46da89=(0x0,_0x590e75['applyQuickStyleToShapeData'])(_0x2d6fa6[_0x4767cc(0x224)],_0x28b414);if(!_0x46da89)return!0x1;let {drawing:_0x9bd862}=_0x2d6fa6;return _0xb98150['get'](_0x20b6b2[_0x4767cc(0x38e)])[_0x4767cc(0x447)](_0x34371e['id'],{'unitId':_0x9bd862['unitId'],'subUnitId':_0x9bd862['subUnitId'],'shapeId':_0x9bd862[_0x4767cc(0x354)],'shapeData':_0x46da89,'oldShapeJSON':{'oldShapeData':_0x2d6fa6[_0x4767cc(0x224)]}});}},_0x4d4881={'id':_0x3d4004(0x492),'type':_0x20b6b2[_0x3d4004(0x22e)]['OPERATION'],'handler':(_0x16ed92,_0x280bb9)=>{const _0x5ac4b6=_0x3d4004;let _0x393197=_0x586242(_0x16ed92),_0x504e57=(_0x280bb9==null?void 0x0:_0x280bb9[_0x5ac4b6(0x44e)])??(_0x280bb9==null?void 0x0:_0x280bb9[_0x5ac4b6(0x405)]);if(!_0x393197||!_0x504e57||(0x0,_0x36e36c[_0x5ac4b6(0x52a)])(_0x393197[_0x5ac4b6(0x44e)])||(0x0,_0x36e36c[_0x5ac4b6(0x52a)])(_0x504e57))return!0x1;let _0x297b90=(0x0,_0x590e75['cloneShapeDataForType'])(_0x393197[_0x5ac4b6(0x224)],_0x504e57);if(!_0x297b90)return!0x1;let {drawing:_0x8032d6}=_0x393197;return _0x16ed92[_0x5ac4b6(0x584)](_0x20b6b2['ICommandService'])[_0x5ac4b6(0x447)](_0x34371e['id'],{'unitId':_0x8032d6[_0x5ac4b6(0x3e5)],'subUnitId':_0x8032d6[_0x5ac4b6(0x4c3)],'shapeId':_0x8032d6[_0x5ac4b6(0x354)],'shapeType':_0x504e57,'shapeData':_0x297b90,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x393197[_0x5ac4b6(0x44e)],'oldShapeData':_0x393197[_0x5ac4b6(0x224)]}});}},_0x344ad8=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4e0622,_0x7f89ce){const _0x4ee070=_0x3d4004;super(),this[_0x4ee070(0x350)]=_0x4e0622,this[_0x4ee070(0x3a6)]=_0x7f89ce,this[_0x4ee070(0x593)](),this[_0x4ee070(0x350)][_0x4ee070(0x3f3)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x4ee070(0x350)]['setCanUseShapeClip'](!0x1)});}[_0x3d4004(0x593)](){const _0x48723c=_0x3d4004;let _0x13c3bc=this[_0x48723c(0x350)],_0x61956a=new Map(),_0x343875=_0x13c3bc[_0x48723c(0x1ba)]((_0x38735e,_0x29a33a,_0x394562,_0x2b6319,_0xd99e5c)=>{const _0x38766c=_0x48723c;let _0x160c10=_0x29a33a;if(_0x160c10===_0x36e36c[_0x38766c(0x3e0)][_0x38766c(0x44c)]||_0x29a33a===_0x38766c(0x43f))return!0x1;try{let _0x2db7cb=_0x61956a['get'](_0x29a33a);return _0x2db7cb||(_0x2db7cb=new _0x36e36c[(_0x38766c(0x22a))](_0x160c10,_0x38766c(0x43c)+_0x29a33a),_0x61956a[_0x38766c(0x50d)](_0x29a33a,_0x2db7cb)),_0x2db7cb[_0x38766c(0x4ae)](),_0xd99e5c&&Object['keys'](_0xd99e5c)[_0x38766c(0x1ed)]>0x0&&_0x2db7cb[_0x38766c(0x49c)]({'adjustValues':_0xd99e5c},!0x0),_0x2db7cb[_0x38766c(0x4d2)]({'width':_0x394562,'height':_0x2b6319}),_0x2db7cb[_0x38766c(0x357)](_0x38735e,{'left':0x0,'top':0x0,'width':_0x394562,'height':_0x2b6319});}catch{return!0x1;}});this[_0x48723c(0x301)](_0x343875),this[_0x48723c(0x301)]({'dispose':()=>_0x61956a['clear']()});}[_0x3d4004(0x422)](_0x3448cc,_0x439c60,_0x3daf6a,_0x2ea35c,_0x15e401){const _0x48793c=_0x3d4004;let _0x1ba0bd=this['_drawingManagerService'][_0x48793c(0x3c5)](_0x3448cc,_0x439c60);if(!_0x1ba0bd[_0x3daf6a])return;let _0x43db02={..._0x1ba0bd[_0x3daf6a],'prstGeom':_0x2ea35c,'adjustValues':_0x15e401};this[_0x48793c(0x3a6)][_0x48793c(0x426)]([_0x43db02]);}};_0x344ad8=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x42ecb7[_0x3d4004(0x455)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a44e9[_0x3d4004(0x567)]))],_0x344ad8);let _0x5360d6=_0x3d4004(0x242),_0x22252c='sheet.image-clip.shape-picker.component';function _0x4281c1({onShapeClick:_0x11c866,excludeGroups:_0x54dd85}){const _0x26a62a=_0x3d4004;return(0x0,_0x132e2c[_0x26a62a(0x305)])(_0x21b2c0['ShapePickerPanel'],{'excludeGroups':_0x54dd85,'onShapeClick':_0x11c866,'scrollContainer':'parent'});}function _0x4b7cd0(){const _0x27d6dc=_0x3d4004;let _0x1b8197=(0x0,_0xc5cac3['useDependency'])(_0x3a44e9['IDrawingManagerService']),_0x1a9796=(0x0,_0xc5cac3[_0x27d6dc(0x48e)])(_0x344ad8);return(0x0,_0x132e2c[_0x27d6dc(0x305)])(_0x21b2c0['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x21b2c0[_0x27d6dc(0x53a)][_0x27d6dc(0x37f)]],'onShapeClick':_0x7b4728=>{const _0x4fdc65=_0x27d6dc;let _0x4cede4=_0x1b8197[_0x4fdc65(0x505)]()[_0x4fdc65(0x1f4)](_0x5cb055=>_0x5cb055[_0x4fdc65(0x2c8)]===_0x20b6b2[_0x4fdc65(0x284)][_0x4fdc65(0x457)]);if(!_0x4cede4)return;let {unitId:_0x715e57,subUnitId:_0x5bb4f8,drawingId:_0x1e4eb0}=_0x4cede4;_0x1a9796[_0x4fdc65(0x422)](_0x715e57,_0x5bb4f8,_0x1e4eb0,_0x7b4728[_0x4fdc65(0x541)]);}});}function _0x2d477d(){const _0x34b2d8=_0x3d4004;let _0x99b51=(0x0,_0xc5cac3[_0x34b2d8(0x48e)])(_0x3a44e9[_0x34b2d8(0x567)]),_0x2cc5cb=(0x0,_0xc5cac3[_0x34b2d8(0x48e)])(_0x344ad8);return(0x0,_0x132e2c[_0x34b2d8(0x305)])(_0x21b2c0['ShapePickerDropdown'],{'buttonLabel':_0x34b2d8(0x38d),'excludeGroups':[_0x21b2c0[_0x34b2d8(0x53a)][_0x34b2d8(0x37f)]],'DropdownComponent':_0x3220e2[_0x34b2d8(0x2ff)],'onShapeClick':_0x36e0e3=>{const _0x47b1c9=_0x34b2d8;let _0xa4d0e3=_0x99b51[_0x47b1c9(0x505)]()[_0x47b1c9(0x1f4)](_0x376330=>_0x376330[_0x47b1c9(0x2c8)]===_0x20b6b2[_0x47b1c9(0x284)]['DRAWING_IMAGE']);if(!_0xa4d0e3)return;let {unitId:_0x14fd24,subUnitId:_0x2540a2,drawingId:_0x31518f}=_0xa4d0e3;_0x2cc5cb[_0x47b1c9(0x422)](_0x14fd24,_0x2540a2,_0x31518f,_0x36e0e3[_0x47b1c9(0x541)]);}});}function _0x2f5dea(){const _0x2c5375=_0x3d4004;let _0x4ce3cb=(0x0,_0xc5cac3[_0x2c5375(0x48e)])(_0xc5cac3[_0x2c5375(0x279)]),_0x139cd9=(0x0,_0xc5cac3[_0x2c5375(0x48e)])(_0x3a44e9[_0x2c5375(0x567)]),_0x253884=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x2c5375(0x43b)]),_0x5664d0=_0x139cd9[_0x2c5375(0x505)]()[0x0],_0x2cd959=_0x5664d0?_0x253884[_0x2c5375(0x3f6)](_0x5664d0['unitId']):void 0x0,_0x36d991=_0x2cd959===_0x20b6b2['UniverInstanceType'][_0x2c5375(0x1c8)]?_0x2c5375(0x3a9):_0x2cd959===_0x20b6b2[_0x2c5375(0x257)][_0x2c5375(0x2bb)]?_0x22252c:void 0x0,_0xb8e3eb=_0x36d991?_0x4ce3cb[_0x2c5375(0x584)](_0x36d991):void 0x0;return _0xb8e3eb?(0x0,_0x132e2c[_0x2c5375(0x305)])(_0xb8e3eb,{}):null;}function _0x371d73(){const _0x1a30e7=_0x3d4004;let _0x17c500=(0x0,_0xc5cac3[_0x1a30e7(0x48e)])(_0x20b6b2[_0x1a30e7(0x38e)]);return(0x0,_0x132e2c[_0x1a30e7(0x305)])(_0x4281c1,{'onShapeClick':_0x105dad=>{const _0xa4144c=_0x1a30e7;_0x17c500[_0xa4144c(0x447)](_0x4e8acc['id'],{'value':_0x105dad[_0xa4144c(0x541)],'enhanceParams':{'endArrow':_0x105dad['endArrow'],'startArrow':_0x105dad[_0xa4144c(0x528)],'horizontal':_0x105dad[_0xa4144c(0x566)],'vertical':_0x105dad[_0xa4144c(0x267)]}});}});}function _0x493cb3(){return(0x0,_0x132e2c['jsx'])(_0x371d73,{});}function _0x1ca54b(_0x2de0da){const _0x428724=_0x3d4004;let _0x5ec9fd=_0x2de0da[_0x428724(0x584)](_0x20b6b2[_0x428724(0x43b)]);return{'id':_0x4e8acc['id'],'type':_0xc5cac3['MenuItemType'][_0x428724(0x4e5)],'selections':[{'label':{'name':_0x5360d6,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x4e8acc['id']}}}],'icon':_0x428724(0x241),'tooltip':_0x428724(0x2cf),'activated$':(0x0,_0x5aa18a[_0x428724(0x588)])(_0x5ec9fd,!0x1,()=>new _0x1008b8[(_0x428724(0x25b))](_0x4bad08=>{const _0x4f9838=_0x428724;_0x4bad08[_0x4f9838(0x295)](!0x1);})),'hidden$':(0x0,_0xc5cac3['getMenuHiddenObservable'])(_0x2de0da,_0x20b6b2['UniverInstanceType'][_0x428724(0x2bb)]),'disabled$':(0x0,_0x5aa18a[_0x428724(0x26b)])(_0x2de0da)};}function _0x9904ba(_0x3b6d8b){const _0x5f2746=_0x3d4004;let _0x3080b7=_0x3b6d8b[_0x5f2746(0x584)](_0x20b6b2[_0x5f2746(0x43b)]);return{'id':_0x20ee6f['id'],'type':_0xc5cac3[_0x5f2746(0x207)][_0x5f2746(0x49f)],'icon':_0x5f2746(0x4f8),'title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x5f2746(0x4b9),'activated$':(0x0,_0x5aa18a['deriveStateFromActiveSheet$'])(_0x3080b7,!0x1,()=>new _0x1008b8[(_0x5f2746(0x25b))](_0x3f1bad=>{const _0x1b02d6=_0x5f2746;_0x3f1bad[_0x1b02d6(0x295)](!0x1);})),'hidden$':(0x0,_0xc5cac3[_0x5f2746(0x486)])(_0x3b6d8b,_0x20b6b2['UniverInstanceType'][_0x5f2746(0x2bb)]),'disabled$':(0x0,_0x5aa18a['getCurrentRangeDisable$'])(_0x3b6d8b)};}let _0x28b1f4=_0x3d4004(0x483),_0x1916dd=_0x3d4004(0x3ba);function _0x502479(_0x2dabca){const _0xc08ff4=_0x3d4004;let _0x31e31a=_0x2dabca[_0xc08ff4(0x584)](_0x3a44e9[_0xc08ff4(0x567)])[_0xc08ff4(0x505)]();return _0x31e31a[_0xc08ff4(0x1ed)]===0x1&&_0x31e31a[0x0][_0xc08ff4(0x2c8)]===_0x20b6b2['DrawingTypeEnum'][_0xc08ff4(0x364)]?_0x31e31a[0x0]:null;}function _0x59d670(_0x181688){const _0x2e111d=_0x3d4004;let _0x366d60=_0x181688[_0x2e111d(0x584)](_0x3a44e9['IDrawingManagerService']);return _0x366d60[_0x2e111d(0x47d)][_0x2e111d(0x259)]((0x0,_0x1008b8['startWith'])(_0x366d60[_0x2e111d(0x505)]()),(0x0,_0x1008b8['map'])(_0x22e5c6=>_0x22e5c6[_0x2e111d(0x1ed)]!==0x1||_0x22e5c6[0x0]['drawingType']!==_0x20b6b2[_0x2e111d(0x284)][_0x2e111d(0x364)]));}function _0x6ccbd0(_0x109772){const _0x1c2f3e=_0x3d4004;return{'id':_0x28b1f4,'commandId':_0x3c17ec[_0x1c2f3e(0x3ce)]['id'],'type':_0xc5cac3[_0x1c2f3e(0x207)][_0x1c2f3e(0x49f)],'title':_0x1c2f3e(0x4e0),'tooltip':_0x1c2f3e(0x4e0),'icon':_0x1c2f3e(0x50b),'hidden$':_0x59d670(_0x109772),'params':()=>{const _0x311f64=_0x1c2f3e;let _0x1b2527=_0x502479(_0x109772);return _0x1b2527?{'unitId':_0x1b2527[_0x311f64(0x3e5)],'subUnitId':_0x1b2527['subUnitId'],'shapeId':_0x1b2527[_0x311f64(0x354)],'flipH':!0x0}:void 0x0;}};}function _0xee3b24(_0x3ea729){const _0x30c30c=_0x3d4004;return{'id':_0x1916dd,'commandId':_0x3c17ec[_0x30c30c(0x3ce)]['id'],'type':_0xc5cac3[_0x30c30c(0x207)][_0x30c30c(0x49f)],'title':_0x30c30c(0x1f9),'tooltip':_0x30c30c(0x1f9),'icon':_0x30c30c(0x4cb),'hidden$':_0x59d670(_0x3ea729),'params':()=>{const _0x24a1b6=_0x30c30c;let _0x2865c9=_0x502479(_0x3ea729);return _0x2865c9?{'unitId':_0x2865c9['unitId'],'subUnitId':_0x2865c9[_0x24a1b6(0x4c3)],'shapeId':_0x2865c9[_0x24a1b6(0x354)],'flipV':!0x0}:void 0x0;}};}let _0x5893c8=_0x3d4004(0x2f2),_0x5377d5=_0x3d4004(0x20c),_0x2c7ad3='sheets-shape-ui.shape-format.text-ribbon-control',_0x592f18='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x426862(){const _0x9e0b7d=_0x3d4004;let _0x356116=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x20b6b2['ICommandService']),_0x52ce48=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x3a44e9[_0x9e0b7d(0x567)]),_0x36a449=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x3c17ec['SheetsShapeService']),_0x4cedeb=()=>{const _0x44d9f6=_0x9e0b7d;var _0x178423;let _0xdb46ad=_0x52ce48[_0x44d9f6(0x505)]();if(_0xdb46ad[_0x44d9f6(0x1ed)]!==0x1||((_0x178423=_0xdb46ad[0x0])==null?void 0x0:_0x178423[_0x44d9f6(0x2c8)])!==_0x20b6b2[_0x44d9f6(0x284)][_0x44d9f6(0x364)])return null;let {unitId:_0x226ee3,subUnitId:_0x133c85,drawingId:_0x2b932e}=_0xdb46ad[0x0],_0x50089d=_0x36a449[_0x44d9f6(0x2ec)](_0x226ee3,_0x133c85,_0x2b932e),_0x5b4178=_0x36a449['getShapeDataById'](_0x226ee3,_0x133c85,_0x2b932e);return _0x50089d===void 0x0||!_0x5b4178?null:{'unitId':_0x226ee3,'subUnitId':_0x133c85,'drawingId':_0x2b932e,'shapeType':_0x50089d,'shapeData':_0x5b4178};},_0x258f12=(0x0,_0xc5cac3[_0x9e0b7d(0x41a)])(()=>new _0x1008b8[(_0x9e0b7d(0x25b))](_0x36baed=>{const _0x1c2e29=_0x9e0b7d;let _0x17c203=()=>_0x36baed[_0x1c2e29(0x295)](_0x4cedeb()),_0x1c9596=_0x52ce48['focus$']['subscribe'](_0x17c203),_0xaadd0a=_0x356116[_0x1c2e29(0x47a)](_0x518a7e=>{const _0x4ff394=_0x1c2e29;_0x518a7e['id']===_0x3c17ec[_0x4ff394(0x1fa)]['id']&&_0x17c203();});return _0x17c203(),()=>{const _0x9d0b55=_0x1c2e29;_0x1c9596[_0x9d0b55(0x205)](),_0xaadd0a['dispose']();};}),_0x4cedeb(),!0x1,[_0x356116,_0x52ce48,_0x36a449]);return{'selection':_0x258f12,'updateShapeData':_0x5f9456=>{const _0x148509=_0x9e0b7d;_0x258f12&&_0x118498(_0x356116,_0x258f12['unitId'],_0x258f12['subUnitId'],_0x258f12[_0x148509(0x354)],{'oldShapeData':_0x258f12['shapeData']},_0x5f9456);}};}function _0x100f06(){const _0x1d0860=_0x3d4004;let {selection:_0x4ae76b,updateShapeData:_0x3c3728}=_0x426862();return _0x4ae76b?(0x0,_0x132e2c[_0x1d0860(0x305)])(_0x21b2c0[_0x1d0860(0x56f)],{'shapeData':_0x4ae76b[_0x1d0860(0x224)],'shapeType':_0x4ae76b[_0x1d0860(0x44e)],'onUpdateShapeData':_0x3c3728}):null;}function _0x2635fd(){const _0x177972=_0x3d4004;let _0x31db4=(0x0,_0xc5cac3[_0x177972(0x48e)])(_0x20b6b2[_0x177972(0x38e)]),_0x4ea039=(0x0,_0xc5cac3[_0x177972(0x48e)])(_0x20b6b2['LocaleService']),{selection:_0x222252}=_0x426862();return _0x222252?(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeQuickStyleGallery'],{'type':(0x0,_0x590e75[_0x177972(0x553)])(_0x222252[_0x177972(0x224)]),'ariaLabel':_0x4ea039['t'](_0x177972(0x410)),'activePresetId':(0x0,_0x590e75['resolveActiveShapeQuickStylePresetId'])(_0x222252['shapeData']),'onSelect':_0x63f655=>_0x31db4[_0x177972(0x447)](_0x50782f['id'],{'presetId':_0x63f655})}):null;}function _0xcfc17f(){const _0x1a270a=_0x3d4004;let {selection:_0x229894,updateShapeData:_0xe875d0}=_0x426862();return _0x229894?(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x1a270a(0x43e),'shapeData':_0x229894['shapeData'],'onUpdateShapeData':_0xe875d0}):null;}function _0x56d6b3(){const _0x2c326a=_0x3d4004;var _0x1966d8;let {selection:_0x19f62e,updateShapeData:_0x315587}=_0x426862(),_0x2ec52b=(0x0,_0x21b2c0['useFormulaShapeToolbar'])({'hostType':_0x20b6b2[_0x2c326a(0x257)]['UNIVER_SHEET'],'unitId':(_0x19f62e==null?void 0x0:_0x19f62e['unitId'])??'','subUnitId':(_0x19f62e==null?void 0x0:_0x19f62e[_0x2c326a(0x4c3)])??'','shapeId':(_0x19f62e==null?void 0x0:_0x19f62e[_0x2c326a(0x354)])??'','shapeData':_0x19f62e==null?void 0x0:_0x19f62e['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x2c326a(0x331),'onUpdateBinding':_0x4f60fe=>_0x315587({'formulaBinding':_0x4f60fe})}),_0x2d126c=((_0x1966d8=_0x2ec52b[_0x2c326a(0x1b1)])==null?void 0x0:_0x1966d8[_0x2c326a(0x438)](_0x5c7bdf=>_0x5c7bdf[_0x2c326a(0x4a6)])['filter'](_0x499a48=>_0x499a48[_0x2c326a(0x3a4)]!==!0x1))??[];return _0x19f62e!=null&&_0x19f62e['shapeData'][_0x2c326a(0x1b7)]?(0x0,_0x132e2c[_0x2c326a(0x305)])(_0x21b2c0[_0x2c326a(0x3e7)],{'actions':_0x2d126c,'panel':_0x2ec52b['panel']}):null;}let _0x48981f='sheets-shape-ui.ribbon.shape-format.style-control',_0x231f0c=_0x3d4004(0x21e),_0x34cceb=_0x3d4004(0x41b),_0x54806a=_0x3d4004(0x266),_0xe1ef61=_0x3d4004(0x251),_0x29fb75=_0x3d4004(0x219),_0x24257f='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x3c1453(_0x426dbf){const _0x349580=_0x3d4004;let _0x10f4e0=_0x426dbf['get'](_0x20b6b2['ICommandService']),_0x59a2a9=_0x426dbf['get'](_0x3a44e9[_0x349580(0x567)]),_0xa8ec06=_0x426dbf[_0x349580(0x584)](_0x3c17ec[_0x349580(0x3e2)]);return new _0x1008b8[(_0x349580(0x25b))](_0x1283a2=>{const _0x1abf84=_0x349580;let _0x5dac64=()=>{const _0x2bbc42=_0x592e;let _0x4b0ae1=_0x257d21(_0x426dbf),_0x179d68=_0x4b0ae1?_0xa8ec06['getShapeDataById'](_0x4b0ae1['unitId'],_0x4b0ae1[_0x2bbc42(0x4c3)],_0x4b0ae1['drawingId']):null;_0x1283a2[_0x2bbc42(0x295)](_0x179d68?(0x0,_0x590e75[_0x2bbc42(0x444)])(_0x179d68)??'':'');},_0x4db7e1=_0x59a2a9['focus$'][_0x1abf84(0x448)](_0x5dac64),_0x3c2c94=_0x10f4e0[_0x1abf84(0x47a)](_0x1685b2=>{const _0x537655=_0x1abf84;_0x1685b2['id']===_0x3c17ec[_0x537655(0x1fa)]['id']&&_0x5dac64();});return _0x5dac64(),()=>{const _0x1ec11f=_0x1abf84;_0x4db7e1['unsubscribe'](),_0x3c2c94[_0x1ec11f(0x4fe)]();};});}function _0x257d21(_0xbc184a){const _0xf8f81c=_0x3d4004;var _0x478ce3;let _0x4fea2d=_0xbc184a[_0xf8f81c(0x584)](_0x3a44e9[_0xf8f81c(0x567)])['getFocusDrawings']();return _0x4fea2d[_0xf8f81c(0x1ed)]===0x1&&((_0x478ce3=_0x4fea2d[0x0])==null?void 0x0:_0x478ce3[_0xf8f81c(0x2c8)])===_0x20b6b2[_0xf8f81c(0x284)][_0xf8f81c(0x364)]?_0x4fea2d[0x0]:null;}function _0x52eae5(_0x2e8097,_0xa87c89=!0x1){const _0x1b844c=_0x3d4004;let _0x57ba94=_0x2e8097[_0x1b844c(0x584)](_0x20b6b2[_0x1b844c(0x38e)]),_0x19e16b=_0x2e8097['get'](_0x3a44e9[_0x1b844c(0x567)]),_0x572419=_0x2e8097[_0x1b844c(0x584)](_0x3c17ec[_0x1b844c(0x3e2)]);return new _0x1008b8[(_0x1b844c(0x25b))](_0x15776a=>{const _0x4829b9=_0x1b844c;let _0x2d104d=()=>{const _0x5a2d2d=_0x592e;let _0x1b59df=_0x257d21(_0x2e8097);if(!_0x1b59df){_0x15776a[_0x5a2d2d(0x295)](!0x0);return;}let _0x51acd3=_0x572419[_0x5a2d2d(0x51d)](_0x1b59df[_0x5a2d2d(0x3e5)],_0x1b59df[_0x5a2d2d(0x4c3)],_0x1b59df[_0x5a2d2d(0x354)]);_0x15776a[_0x5a2d2d(0x295)](!_0x51acd3||_0xa87c89&&_0x51acd3[_0x5a2d2d(0x1b7)]==null);},_0x4e9d81=_0x19e16b['focus$'][_0x4829b9(0x448)](_0x2d104d),_0x57d343=_0x57ba94[_0x4829b9(0x47a)](_0x473e6d=>{const _0x525d2c=_0x4829b9;_0x473e6d['id']===_0x3c17ec[_0x525d2c(0x1fa)]['id']&&_0x2d104d();});return _0x2d104d(),()=>{const _0x8d176c=_0x4829b9;_0x4e9d81[_0x8d176c(0x205)](),_0x57d343[_0x8d176c(0x4fe)]();};});}function _0x156cd4(_0x223ec7){const _0x38ce26=_0x3d4004;let _0x434a1e=_0x223ec7[_0x38ce26(0x584)](_0x3a44e9[_0x38ce26(0x567)]),_0x2080b2=_0x223ec7[_0x38ce26(0x584)](_0x3c17ec[_0x38ce26(0x3e2)]);return _0x434a1e['focus$']['pipe']((0x0,_0x1008b8[_0x38ce26(0x24e)])(_0x434a1e[_0x38ce26(0x505)]()),(0x0,_0x1008b8[_0x38ce26(0x442)])(()=>{const _0x54bb44=_0x38ce26;let _0x16e0dd=_0x257d21(_0x223ec7),_0x308d17=_0x16e0dd?_0x2080b2[_0x54bb44(0x2ec)](_0x16e0dd[_0x54bb44(0x3e5)],_0x16e0dd[_0x54bb44(0x4c3)],_0x16e0dd['drawingId']):void 0x0;return _0x308d17===void 0x0||(0x0,_0x36e36c[_0x54bb44(0x52a)])(_0x308d17);}));}function _0x26f315(_0x40bda5){const _0x3e9d15=_0x3d4004;return{'id':_0x50782f['id'],'type':_0xc5cac3[_0x3e9d15(0x207)][_0x3e9d15(0x4e5)],'icon':_0x3e9d15(0x459),'title':_0x3e9d15(0x46f),'tooltip':_0x3e9d15(0x46f),'selections':[{'label':{'name':_0x5893c8,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3c1453(_0x40bda5),'hidden$':_0x52eae5(_0x40bda5)};}function _0x346f9d(_0x427a59){const _0x1ce611=_0x3d4004;return{'id':_0x4d4881['id'],'type':_0xc5cac3[_0x1ce611(0x207)][_0x1ce611(0x4e5)],'icon':_0x1ce611(0x241),'title':_0x1ce611(0x1d7),'tooltip':_0x1ce611(0x1d7),'slot':!0x0,'selections':[{'label':{'name':_0x21b2c0[_0x1ce611(0x50f)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x156cd4(_0x427a59)};}function _0x3003eb(_0x456161,_0x49a300,_0x53c4d2=!0x1){const _0x2ef1a6=_0x3d4004;return _0x4a4a6a=>({'id':_0x456161,'type':_0xc5cac3[_0x2ef1a6(0x207)]['BUTTON'],'label':{'name':_0x49a300,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x52eae5(_0x4a4a6a,_0x53c4d2)});}let _0x5dc0b6=_0x3003eb(_0x48981f,_0x5377d5),_0x26d11c=_0x3003eb(_0x231f0c,_0x2c7ad3),_0x534622=_0x3003eb(_0x34cceb,_0x592f18,!0x0);function _0x84f227(_0x11dd20,_0x2926d3,_0x16b79e,_0x43e5f5){const _0x4b8c76=_0x3d4004;return _0x36e233=>({'id':_0x11dd20,'commandId':_0x44df92[_0x4b8c76(0x294)]['id'],'type':_0xc5cac3[_0x4b8c76(0x207)][_0x4b8c76(0x49f)],'icon':_0x16b79e,'title':_0x43e5f5,'tooltip':_0x43e5f5,'hidden$':_0x52eae5(_0x36e233),'params':()=>{const _0x3f16b2=_0x4b8c76;let _0x520be8=_0x257d21(_0x36e233);return _0x520be8?{'unitId':_0x520be8[_0x3f16b2(0x3e5)],'subUnitId':_0x520be8['subUnitId'],'drawingIds':[_0x520be8[_0x3f16b2(0x354)]],'arrangeType':_0x2926d3}:void 0x0;}});}let _0x27fde6=_0x84f227(_0x54806a,_0x20b6b2[_0x3d4004(0x41c)][_0x3d4004(0x424)],'MoveUpIcon',_0x3d4004(0x200)),_0x5c4471=_0x84f227(_0xe1ef61,_0x20b6b2['ArrangeTypeEnum'][_0x3d4004(0x428)],_0x3d4004(0x4bb),_0x3d4004(0x4ff)),_0x29c704=_0x84f227(_0x29fb75,_0x20b6b2[_0x3d4004(0x41c)][_0x3d4004(0x430)],_0x3d4004(0x3fc),'shape-editor-ui.arrange.front'),_0x504fe8=_0x84f227(_0x24257f,_0x20b6b2['ArrangeTypeEnum'][_0x3d4004(0x4fa)],_0x3d4004(0x1cb),'shape-editor-ui.arrange.back');function _0x74a24d(_0x1d8c8c){const _0x5482d5=_0x3d4004;return{'id':_0x2f6589['id'],'type':_0xc5cac3[_0x5482d5(0x207)][_0x5482d5(0x49f)],'icon':_0x5482d5(0x1fd),'title':'sheets-shape-ui.formatShape','tooltip':'sheets-shape-ui.formatShape','hidden$':_0x52eae5(_0x1d8c8c),'params':()=>{const _0x30db67=_0x5482d5;let _0x340f3a=_0x257d21(_0x1d8c8c);return _0x340f3a?{'unitId':_0x340f3a['unitId'],'subUnitId':_0x340f3a[_0x30db67(0x4c3)],'drawingId':_0x340f3a[_0x30db67(0x354)]}:void 0x0;}};}let _0x25e476={[_0xc5cac3[_0x3d4004(0x2ca)][_0x3d4004(0x1e2)]]:{[_0x214f37]:{'order':0x64,'title':_0x3d4004(0x26f),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x50782f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x26f315},[_0x4d4881['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x346f9d}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x48981f]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x5dc0b6}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x231f0c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x26d11c}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x28b1f4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x6ccbd0},[_0x1916dd]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0xee3b24},[_0x54806a]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x27fde6},[_0xe1ef61]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x5c4471},[_0x29fb75]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x29c704},[_0x24257f]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x504fe8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x34cceb]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x534622}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x2f6589['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x74a24d},[_0x21b2c0[_0x3d4004(0x2d1)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x21b2c0[_0x3d4004(0x2fc)]}}}}},_0x4908b1={[_0xc5cac3[_0x3d4004(0x41d)]['MEDIA']]:{[_0x4e8acc['id']]:{'order':0x4,'menuItemFactory':_0x1ca54b}}},_0xa0e700={..._0x4908b1,[_0xc5cac3[_0x3d4004(0x41d)][_0x3d4004(0x1dc)]]:{[_0x20ee6f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x9904ba}},[_0xc5cac3[_0x3d4004(0x358)][_0x3d4004(0x3d9)]]:{[_0xc5cac3['ContextMenuGroup'][_0x3d4004(0x1dc)]]:{[_0x28b1f4]:{'order':0x4,'menuItemFactory':_0x6ccbd0},[_0x1916dd]:{'order':0x5,'menuItemFactory':_0xee3b24}}}};var _0x309058=_0x3d4004(0x552),_0x28c5e3='1.0.2';let _0x6604f2={'id':_0x3d4004(0x3ed),'type':_0x20b6b2['CommandType'][_0x3d4004(0x3e6)],'handler'(_0x9f8959,_0x396ce0){const _0x75f94c=_0x3d4004;return _0x396ce0?(_0x9f8959[_0x75f94c(0x584)](_0x21b2c0[_0x75f94c(0x4fc)])[_0x75f94c(0x230)](_0x396ce0[_0x75f94c(0x546)],{'hostType':_0x20b6b2[_0x75f94c(0x257)][_0x75f94c(0x2bb)],'shapeId':_0x396ce0['drawingId'],'subUnitId':_0x396ce0['subUnitId'],'unitId':_0x396ce0['unitId']}),!0x0):!0x1;}},_0xa54229='sheets-shape-ui.config',_0x455ea6={},_0x5828c7=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4567c9,_0x1544b2,_0x56d6ac,_0x52df60,_0x3a8452){const _0x239f43=_0x3d4004;super(),this['_context']=_0x4567c9,this[_0x239f43(0x3a6)]=_0x1544b2,this[_0x239f43(0x35d)]=_0x56d6ac,this[_0x239f43(0x1cc)]=_0x52df60,this[_0x239f43(0x569)]=_0x3a8452,_0x212175(this,'_activeImageId',null),_0x212175(this,'_unitId',null),_0x212175(this,'_subUnitId',null),_0x212175(this,_0x239f43(0x3d4),void 0x0),_0x212175(this,'_shapes',[]),_0x212175(this,_0x239f43(0x368),0x0),_0x212175(this,_0x239f43(0x254),0x0),_0x212175(this,_0x239f43(0x4d0),0x0),_0x212175(this,_0x239f43(0x229),0x0),_0x212175(this,'_isStartAdjusting',!0x1),_0x212175(this,_0x239f43(0x4a0),void 0x0),_0x212175(this,_0x239f43(0x34e),void 0x0),_0x212175(this,_0x239f43(0x1f6),void 0x0),_0x212175(this,_0x239f43(0x38a),void 0x0),_0x212175(this,'_isImagePointerDown',!0x1),this[_0x239f43(0x3cc)](),this['_registerMoveHandler']();}['clearAdjustControls'](){const _0x5fbb26=_0x3d4004;this[_0x5fbb26(0x1d2)]();}['refreshAdjustControls'](){const _0x1be827=_0x3d4004;this[_0x1be827(0x1d2)](),this[_0x1be827(0x55d)](!0x0);}[_0x3d4004(0x580)](_0x1e264b,_0x43549b,_0x23005d,_0x47a40b){const _0x27a550=_0x3d4004;let _0x5e7388=_0x1e264b;if(_0x5e7388!==_0x36e36c[_0x27a550(0x3e0)][_0x27a550(0x44c)]&&_0x1e264b!=='custom')try{let _0x573eba=new _0x36e36c[(_0x27a550(0x22a))](_0x5e7388,'clip-adj-'+_0x1e264b);return _0x47a40b&&_0x573eba['setShapeData']({'adjustValues':_0x47a40b},!0x0),_0x573eba[_0x27a550(0x4d2)]({'width':_0x43549b,'height':_0x23005d}),_0x573eba;}catch{return;}}[_0x3d4004(0x397)](_0x4b1d8d,_0x29ec46,_0x535607){const _0x4ee328=_0x3d4004;let _0x1dfdc2={'unitId':_0x4b1d8d,'subUnitId':_0x29ec46,'drawingId':_0x535607},_0x3a62ef=this['_drawingManagerService'][_0x4ee328(0x291)](_0x1dfdc2);if(_0x3a62ef&&_0x3a62ef['drawingType']===_0x20b6b2[_0x4ee328(0x284)][_0x4ee328(0x457)])return _0x3a62ef;}[_0x3d4004(0x4fb)](_0x2324ca,_0x5a8815,_0x25a335){const _0x25d856=_0x3d4004;let _0x370cf3=this[_0x25d856(0x35d)][_0x25d856(0x3ab)](_0x2324ca);if(!_0x370cf3)return;let {scene:_0x458699}=_0x370cf3,_0x2c9419=(0x0,_0x3a44e9[_0x25d856(0x2a1)])({'unitId':_0x2324ca,'subUnitId':_0x5a8815,'drawingId':_0x25a335}),_0x186467=_0x458699['getObject'](_0x2c9419);if(_0x186467 instanceof _0x2e0941[_0x25d856(0x434)]){let _0x245ed7=_0x186467[_0x25d856(0x380)];if(_0x245ed7)return{'prstGeom':_0x245ed7,'adjustValues':_0x186467[_0x25d856(0x3cf)]};}}[_0x3d4004(0x55d)](_0x171cc8=!0x1){const _0x1b66f7=_0x3d4004;if(!this['_unitId']||!this[_0x1b66f7(0x240)]||!this['_activeImageId'])return;let _0x47cfad=this[_0x1b66f7(0x35d)][_0x1b66f7(0x3ab)](this[_0x1b66f7(0x1d1)]);if(!_0x47cfad||!_0x47cfad[_0x1b66f7(0x33c)](_0x5aa18a['SheetSkeletonManagerService'])[_0x1b66f7(0x2bf)]())return;let {scene:_0x307705}=_0x47cfad,_0x19f0ba=this[_0x1b66f7(0x397)](this[_0x1b66f7(0x1d1)],this[_0x1b66f7(0x240)],this[_0x1b66f7(0x25e)]);if(!_0x19f0ba)return;let {transform:_0x12a757}=_0x19f0ba;if(!_0x12a757)return;let {left:_0x169530,top:_0x5c2ddf,width:_0x3d664f,height:_0x49c593,flipX:_0x250142,flipY:_0x132cb9,angle:_0x3fcf13=0x0}=_0x12a757;if(_0x169530===void 0x0||_0x5c2ddf===void 0x0)return;let _0xb7b760=this[_0x1b66f7(0x4fb)](this['_unitId'],this['_subUnitId'],this[_0x1b66f7(0x25e)]);if(!_0xb7b760)return;if(_0x171cc8){let _0x44ac0e=this['_getOrCreateShapeModel'](_0xb7b760[_0x1b66f7(0x380)],_0x3d664f||0x0,_0x49c593||0x0,_0xb7b760[_0x1b66f7(0x1bb)]);if(!_0x44ac0e)return;this[_0x1b66f7(0x3d4)]=_0x44ac0e[_0x1b66f7(0x57c)]();}let _0x3f2bc5=this[_0x1b66f7(0x3d4)];if(_0x3f2bc5&&_0x3f2bc5[_0x1b66f7(0x1ed)]!==0x0)for(let _0x1a307e=0x0;_0x1a307e<_0x3f2bc5[_0x1b66f7(0x1ed)];_0x1a307e++){let _0x407c0f=_0x3f2bc5[_0x1a307e],_0x106a00=_0x407c0f['x'],_0x4fdb20=_0x407c0f['y'];if(_0x250142&&(_0x106a00=(_0x3d664f||0x0)-_0x106a00),_0x132cb9&&(_0x4fdb20=(_0x49c593||0x0)-_0x4fdb20),_0x3fcf13!==0x0){let _0xdcdee5=(_0x3d664f||0x0)/0x2,_0x452283=(_0x49c593||0x0)/0x2,_0x4719f5=_0x3fcf13*Math['PI']/0xb4,_0x1e3dcc=Math[_0x1b66f7(0x33a)](_0x4719f5),_0x439f40=Math['sin'](_0x4719f5),_0x12ed0f=_0x106a00-_0xdcdee5,_0x5bfd25=_0x4fdb20-_0x452283;_0x106a00=_0xdcdee5+(_0x12ed0f*_0x1e3dcc-_0x5bfd25*_0x439f40),_0x4fdb20=_0x452283+(_0x12ed0f*_0x439f40+_0x5bfd25*_0x1e3dcc);}let _0x15efac={'x':_0x106a00,'y':_0x4fdb20,'adjName':_0x407c0f['adjName']};this[_0x1b66f7(0x307)](_0x307705,_0x15efac,_0x15efac[_0x1b66f7(0x536)],_0x169530,_0x5c2ddf,this[_0x1b66f7(0x1d1)],this['_subUnitId']);}}[_0x3d4004(0x307)](_0x239954,_0x4774e9,_0x2bc401,_0x54fc32,_0x1355f5,_0x7af490,_0x6344aa){const _0x5d29a1=_0x3d4004;if(!this[_0x5d29a1(0x25e)])return;let _0x388559='image-clip-adjust-point-'+this['_activeImageId']+'-'+_0x2bc401,_0x7494b3=_0x239954[_0x5d29a1(0x1fe)](_0x388559);if(_0x7494b3){_0x7494b3['transformByState']({'left':_0x4774e9['x']+_0x54fc32-_0x36e36c[_0x5d29a1(0x543)]['adjHandleSize'],'top':_0x4774e9['y']+_0x1355f5-_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)]});return;}let _0x1bc12a=new _0x3ccc58(_0x388559,{'left':_0x4774e9['x']+_0x54fc32-_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)],'top':_0x4774e9['y']+_0x1355f5-_0x36e36c[_0x5d29a1(0x543)]['adjHandleSize'],'adjName':_0x2bc401,'shapeId':this[_0x5d29a1(0x25e)],'unitId':_0x7af490,'subUnitId':_0x6344aa,'width':_0x36e36c['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)]+0x8,'zIndex':_0x2e0941[_0x5d29a1(0x33e)]+0x1,'evented':!0x0});this[_0x5d29a1(0x404)]['push'](_0x1bc12a),this[_0x5d29a1(0x3ad)](_0x1bc12a,_0x239954,_0x2bc401),_0x239954['addObject'](_0x1bc12a,_0x2e0941['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x3d4004(0x1d2)](){const _0x3bef9a=_0x3d4004;this[_0x3bef9a(0x404)][_0x3bef9a(0x1ed)]!==0x0&&(this['_shapes']['forEach'](_0x5b56a6=>_0x5b56a6[_0x3bef9a(0x4fe)]()),this[_0x3bef9a(0x404)]=[]);}[_0x3d4004(0x28f)](_0x1f27e6,_0x6bf4d3){const _0x4e38f8=_0x3d4004;var _0x5b7484;let _0x43f7ab={'x':0x0,'y':0x0},_0x5480ac=this[_0x4e38f8(0x35d)][_0x4e38f8(0x3ab)](_0x1f27e6);if(!_0x5480ac||!_0x5480ac[_0x4e38f8(0x33c)](_0x5aa18a[_0x4e38f8(0x555)])[_0x4e38f8(0x45c)](_0x6bf4d3))return _0x43f7ab;let _0x4685a5=_0x5480ac[_0x4e38f8(0x33c)](_0x5aa18a['SheetScrollManagerService']),_0x272bf9=_0x4685a5==null?void 0x0:_0x4685a5['getCurrentScrollState']();if(!_0x272bf9)return _0x43f7ab;let _0x4db9c0=(_0x5b7484=this[_0x4e38f8(0x1cc)][_0x4e38f8(0x264)](_0x1f27e6))==null?void 0x0:_0x5b7484['getSheetBySheetId'](_0x6bf4d3);if(!_0x4db9c0)return _0x43f7ab;let _0x1864e6=(0x0,_0x5aa18a[_0x4e38f8(0x32e)])(_0x272bf9[_0x4e38f8(0x30a)],_0x272bf9[_0x4e38f8(0x4f5)],_0x5480ac[_0x4e38f8(0x4f2)],_0x4db9c0);return _0x1864e6?{'x':_0x1864e6[_0x4e38f8(0x3bd)],'y':_0x1864e6['viewportScrollY']}:_0x43f7ab;}[_0x3d4004(0x373)](_0x1fca6a,_0x4bdbba){const _0x48b582=_0x3d4004;var _0x5bfafe;let _0x122ae9=(_0x5bfafe=this[_0x48b582(0x1cc)]['getUnit'](_0x1fca6a))==null?void 0x0:_0x5bfafe[_0x48b582(0x343)](_0x4bdbba);return(_0x122ae9==null?void 0x0:_0x122ae9['getZoomRatio']())??0x1;}['_attachAdjustEvent'](_0x2e4f8e,_0x1fcf24,_0x560c28){const _0xdf5fec=_0x3d4004;this[_0xdf5fec(0x301)]((0x0,_0x20b6b2[_0xdf5fec(0x3ae)])(_0x2e4f8e[_0xdf5fec(0x4ad)]['subscribeEvent']((_0x50d35a,_0xb86f7f)=>{const _0x18d95b=_0xdf5fec;var _0x559d57,_0x2e5540,_0x23874d;let {unitId:_0x517544,subUnitId:_0x5ef936,drawingId:_0x11034c}=_0x2e4f8e[_0x18d95b(0x289)](),_0x3cd0c5=this[_0x18d95b(0x397)](_0x517544,_0x5ef936,_0x11034c);if(!(_0x3cd0c5!=null&&_0x3cd0c5[_0x18d95b(0x3be)]))return;let {left:_0x2999ac,top:_0x3c399c,width:_0x2aeacc,height:_0x2f60fa}=_0x3cd0c5['transform'];this['_baseLeft']=_0x2999ac||0x0,this[_0x18d95b(0x254)]=_0x3c399c||0x0,this[_0x18d95b(0x4d0)]=_0x2aeacc||0x0,this[_0x18d95b(0x229)]=_0x2f60fa||0x0;let _0x3d65a0=!!((_0x559d57=_0x3cd0c5[_0x18d95b(0x3be)])!=null&&_0x559d57[_0x18d95b(0x2a5)]),_0xd0ca4d=!!((_0x2e5540=_0x3cd0c5['transform'])!=null&&_0x2e5540[_0x18d95b(0x46a)]),_0xc92a49=((_0x23874d=_0x3cd0c5[_0x18d95b(0x3be)])==null?void 0x0:_0x23874d[_0x18d95b(0x228)])||0x0,_0x8f1063=this[_0x18d95b(0x4fb)](_0x517544,_0x5ef936,_0x11034c);if(!_0x8f1063)return;let _0xe9920d=this[_0x18d95b(0x580)](_0x8f1063[_0x18d95b(0x380)],this[_0x18d95b(0x4d0)],this[_0x18d95b(0x229)],_0x8f1063[_0x18d95b(0x1bb)]);if(!_0xe9920d||(this[_0x18d95b(0x34e)]=_0xe9920d,this['_activeAdjustInfo']=_0xe9920d['getAdjustInfoByName'](_0x560c28),!this[_0x18d95b(0x4a0)]))return;this[_0x18d95b(0x516)]=!0x0,_0x1fcf24[_0x18d95b(0x514)]();let _0xd5625c=_0x8f1063[_0x18d95b(0x380)];this[_0x18d95b(0x1f6)]=_0x1fcf24[_0x18d95b(0x2bd)][_0x18d95b(0x306)]((_0x25cb19,_0x27a0a2)=>{const _0x254172=_0x18d95b;if(!this[_0x254172(0x516)])return;let {offsetX:_0x1c6603,offsetY:_0x27addb}=_0x25cb19,_0x1e6a26=this[_0x254172(0x4a0)];if(!this[_0x254172(0x34e)]||!_0x1e6a26)return;_0x1fcf24['disableObjectsEvent'](),_0x1fcf24[_0x254172(0x4e8)](_0x2e0941[_0x254172(0x3eb)]['CROSSHAIR']);let _0x303332={'left':0x0,'top':0x0,'width':this[_0x254172(0x4d0)],'height':this[_0x254172(0x229)]},_0x5ef636=this[_0x254172(0x28f)](_0x517544,_0x5ef936),_0x3380cd=this[_0x254172(0x373)](_0x517544,_0x5ef936),_0x99fea5=_0x1c6603/_0x3380cd+_0x5ef636['x']-this[_0x254172(0x368)],_0x22f9df=_0x27addb/_0x3380cd+_0x5ef636['y']-this[_0x254172(0x254)];if(_0xc92a49!==0x0){let _0x54c802=this[_0x254172(0x4d0)]/0x2,_0x596ead=this[_0x254172(0x229)]/0x2,_0x2d0946=_0xc92a49*Math['PI']/0xb4,_0x6e701a=Math[_0x254172(0x33a)](_0x2d0946),_0x5abf5c=Math[_0x254172(0x28c)](_0x2d0946),_0x2efe75=_0x99fea5-_0x54c802,_0xfff00c=_0x22f9df-_0x596ead;_0x99fea5=_0x54c802+(_0x2efe75*_0x6e701a+_0xfff00c*_0x5abf5c),_0x22f9df=_0x596ead+(-_0x2efe75*_0x5abf5c+_0xfff00c*_0x6e701a);}_0x3d65a0&&(_0x99fea5=this[_0x254172(0x4d0)]-_0x99fea5),_0xd0ca4d&&(_0x22f9df=this[_0x254172(0x229)]-_0x22f9df);let _0x95db4=this[_0x254172(0x34e)]['calcAdjValues'](_0x303332,{'x':_0x99fea5,'y':_0x22f9df},_0x1e6a26,_0x3d65a0,_0xd0ca4d);if(Object['keys'](_0x95db4)[_0x254172(0x1ed)]!==0x0){for(let [_0x31bb72,_0xac289b]of Object[_0x254172(0x1bf)](_0x95db4))this['_activeShapeModel']['setAdjustValueByName'](_0x31bb72,_0xac289b);this[_0x254172(0x34e)][_0x254172(0x4d2)]({'width':this[_0x254172(0x4d0)],'height':this['_baseHeight']}),this[_0x254172(0x209)](_0x517544,_0x5ef936,_0x11034c,_0x95db4),this[_0x254172(0x3d4)]=this[_0x254172(0x34e)][_0x254172(0x57c)](),this[_0x254172(0x55d)](),_0x27a0a2[_0x254172(0x31e)]();}}),this[_0x18d95b(0x38a)]=_0x1fcf24[_0x18d95b(0x421)][_0x18d95b(0x306)]((_0x26c638,_0x2708d3)=>{const _0x2114f9=_0x18d95b;if(this[_0x2114f9(0x1f6)][_0x2114f9(0x205)](),this[_0x2114f9(0x38a)][_0x2114f9(0x205)](),_0x1fcf24['resetCursor'](),this[_0x2114f9(0x34e)]){let _0x268c16=this[_0x2114f9(0x34e)][_0x2114f9(0x460)](),_0xe387c8={};for(let _0x179db0 of _0x268c16){let _0x3eb73d=this[_0x2114f9(0x34e)][_0x2114f9(0x22f)](_0x179db0);_0x3eb73d!==void 0x0&&(_0xe387c8[_0x179db0]=_0x3eb73d);}this[_0x2114f9(0x569)]['clipByShape'](_0x517544,_0x5ef936,_0x11034c,_0xd5625c,_0xe387c8);}this[_0x2114f9(0x4a0)]=void 0x0,this[_0x2114f9(0x34e)]=void 0x0,this[_0x2114f9(0x516)]=!0x1,_0x2708d3[_0x2114f9(0x31e)](),_0x1fcf24[_0x2114f9(0x262)]();}),_0xb86f7f[_0x18d95b(0x31e)]();})));}['_updateImageAdjValues'](_0xf1616,_0x3de891,_0x567282,_0x72724e){const _0x4b9a6d=_0x3d4004;let _0x5740f2=this[_0x4b9a6d(0x35d)][_0x4b9a6d(0x3ab)](_0xf1616);if(!_0x5740f2)return;let {scene:_0xfe8ab2}=_0x5740f2,_0x359501=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xf1616,'subUnitId':_0x3de891,'drawingId':_0x567282}),_0x4f5983=_0xfe8ab2[_0x4b9a6d(0x2dc)](_0x359501);if(_0x4f5983 instanceof _0x2e0941[_0x4b9a6d(0x434)]){let _0x26078c=_0x4f5983[_0x4b9a6d(0x3cf)]??{};_0x4f5983['setPrstGeomAdjValues']({..._0x26078c,..._0x72724e}),_0x4f5983[_0x4b9a6d(0x537)](!0x0);}}[_0x3d4004(0x2a4)](){const _0x3edb54=_0x3d4004;let _0x4907df=this['_univerInstanceService'][_0x3edb54(0x27a)](_0x20b6b2[_0x3edb54(0x257)][_0x3edb54(0x2bb)]);this['disposeWithMe'](_0x4907df[_0x3edb54(0x259)]((0x0,_0x1008b8['switchMap'])(_0x5a6173=>_0x5a6173?_0x5a6173[_0x3edb54(0x52c)][_0x3edb54(0x259)]((0x0,_0x1008b8[_0x3edb54(0x352)])(_0x1cd38b=>{const _0x71090=_0x3edb54;if(!_0x1cd38b)return _0x1008b8[_0x71090(0x595)];let _0x4f9355=_0x5a6173[_0x71090(0x576)](),_0xe171af=this[_0x71090(0x35d)][_0x71090(0x3ab)](_0x4f9355),_0x4786a1=_0xe171af==null?void 0x0:_0xe171af['scene'];return _0x4786a1?(0x0,_0x1008b8['of'])(_0x4786a1):_0x1008b8[_0x71090(0x595)];})):_0x1008b8[_0x3edb54(0x595)]))[_0x3edb54(0x448)](_0x3e9fa9=>{const _0x9fc6a4=_0x3edb54;let _0x283fb1=_0x3e9fa9[_0x9fc6a4(0x51e)]();this[_0x9fc6a4(0x301)](_0x3e9fa9[_0x9fc6a4(0x2bd)][_0x9fc6a4(0x306)](()=>{const _0x378845=_0x9fc6a4;this[_0x378845(0x411)]&&this['_clearControls']();})),this[_0x9fc6a4(0x301)](_0x283fb1[_0x9fc6a4(0x2ad)][_0x9fc6a4(0x448)](_0x26514f=>{const _0xfddb23=_0x9fc6a4;let {objects:_0x32e6ce}=_0x26514f;if(this['_createControls'](),_0x32e6ce!==null&&_0x32e6ce[_0xfddb23(0x236)]===0x1){let _0x5f1873=_0x32e6ce[_0xfddb23(0x1ff)]()[_0xfddb23(0x295)]()[_0xfddb23(0x405)];_0x5f1873 instanceof _0x2e0941[_0xfddb23(0x434)]&&_0x5f1873[_0xfddb23(0x380)]&&(this[_0xfddb23(0x411)]=!0x0);}})),this['disposeWithMe'](_0x283fb1[_0x9fc6a4(0x326)][_0x9fc6a4(0x448)](()=>{const _0x3851e1=_0x9fc6a4;this[_0x3851e1(0x411)]&&this[_0x3851e1(0x1d2)]();})),this[_0x9fc6a4(0x301)](_0x3e9fa9[_0x9fc6a4(0x421)][_0x9fc6a4(0x306)](()=>{const _0x31f034=_0x9fc6a4;this['_isImagePointerDown']&&(this[_0x31f034(0x411)]=!0x1,this[_0x31f034(0x55d)]());})),this[_0x9fc6a4(0x301)](_0x283fb1[_0x9fc6a4(0x52b)]['subscribe'](()=>{const _0x2ea55d=_0x9fc6a4;if(this[_0x2ea55d(0x1d1)]&&this['_subUnitId']&&this[_0x2ea55d(0x25e)]){let _0x22ad95=this[_0x2ea55d(0x4fb)](this[_0x2ea55d(0x1d1)],this[_0x2ea55d(0x240)],this['_activeImageId']);if(_0x22ad95){var _0x29702f,_0x200961;let _0x45abba=this['_getImageDrawingInfo'](this[_0x2ea55d(0x1d1)],this[_0x2ea55d(0x240)],this['_activeImageId']),_0x5a85bd=(_0x45abba==null||(_0x29702f=_0x45abba[_0x2ea55d(0x3be)])==null?void 0x0:_0x29702f['width'])||0x0,_0x3719f6=(_0x45abba==null||(_0x200961=_0x45abba[_0x2ea55d(0x3be)])==null?void 0x0:_0x200961['height'])||0x0,_0x566000=this[_0x2ea55d(0x580)](_0x22ad95[_0x2ea55d(0x380)],_0x5a85bd,_0x3719f6,_0x22ad95[_0x2ea55d(0x1bb)]);_0x566000&&(this[_0x2ea55d(0x3d4)]=_0x566000[_0x2ea55d(0x57c)](),this[_0x2ea55d(0x1d2)](),this[_0x2ea55d(0x55d)](!0x0));}}}));}));}[_0x3d4004(0x3cc)](){const _0x5807ee=_0x3d4004;this['disposeWithMe'](this[_0x5807ee(0x3a6)][_0x5807ee(0x47d)][_0x5807ee(0x448)](_0x5d1bc8=>{const _0x13eec2=_0x5807ee;if(_0x5d1bc8[_0x13eec2(0x1ed)]===0x1){let _0x48c2bc=_0x5d1bc8[0x0];if(_0x48c2bc[_0x13eec2(0x2c8)]===_0x20b6b2[_0x13eec2(0x284)][_0x13eec2(0x457)]){let {unitId:_0x2ac0c4,subUnitId:_0x5796e9,drawingId:_0x1caa5c}=_0x48c2bc,_0x37eec5=this[_0x13eec2(0x4fb)](_0x2ac0c4,_0x5796e9,_0x1caa5c);if(_0x37eec5){var _0x5744bc,_0x14cd01;this[_0x13eec2(0x25e)]=_0x1caa5c,this['_unitId']=_0x2ac0c4,this[_0x13eec2(0x240)]=_0x5796e9;let _0x18428e=this['_getImageDrawingInfo'](_0x2ac0c4,_0x5796e9,_0x1caa5c),_0x22cb01=(_0x18428e==null||(_0x5744bc=_0x18428e[_0x13eec2(0x3be)])==null?void 0x0:_0x5744bc['width'])||0x0,_0x180c57=(_0x18428e==null||(_0x14cd01=_0x18428e[_0x13eec2(0x3be)])==null?void 0x0:_0x14cd01[_0x13eec2(0x3f0)])||0x0,_0x11d410=this[_0x13eec2(0x580)](_0x37eec5[_0x13eec2(0x380)],_0x22cb01,_0x180c57,_0x37eec5[_0x13eec2(0x1bb)]);_0x11d410&&(this[_0x13eec2(0x3d4)]=_0x11d410[_0x13eec2(0x57c)]()),this[_0x13eec2(0x1d2)](),this[_0x13eec2(0x55d)](!0x0);}else this[_0x13eec2(0x58b)]();}else this['_resetState']();}else this['_resetState']();})),this[_0x5807ee(0x301)](this['_drawingManagerService'][_0x5807ee(0x20a)][_0x5807ee(0x448)](_0x2c9bcc=>{const _0x457283=_0x5807ee;if(_0x2c9bcc[_0x457283(0x1ed)]===0x1){let _0x1dce68=_0x2c9bcc[0x0],_0x257b3e=this[_0x457283(0x3a6)][_0x457283(0x291)](_0x1dce68);(_0x257b3e==null?void 0x0:_0x257b3e['drawingType'])===_0x20b6b2['DrawingTypeEnum'][_0x457283(0x457)]&&this[_0x457283(0x25e)]===_0x1dce68[_0x457283(0x354)]&&(this[_0x457283(0x1d2)](),this['_createControls'](!0x0));}})),this[_0x5807ee(0x301)](this['_drawingManagerService'][_0x5807ee(0x52d)][_0x5807ee(0x448)](_0x5f161d=>{const _0x2f1d2a=_0x5807ee;for(let _0x2976a3 of _0x5f161d)this[_0x2f1d2a(0x25e)]===_0x2976a3[_0x2f1d2a(0x354)]&&this[_0x2f1d2a(0x58b)]();}));}[_0x3d4004(0x58b)](){const _0x2d92c4=_0x3d4004;this['_activeImageId']=null,this[_0x2d92c4(0x1d1)]=null,this[_0x2d92c4(0x240)]=null,this[_0x2d92c4(0x3d4)]=void 0x0,this[_0x2d92c4(0x1d2)]();}};_0x5828c7=_0x3a2391([_0x4a972c(0x1,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x344ad8))],_0x5828c7);function _0x5afbe3({ref:_0x5bdf96,..._0x6dfc98}){const _0x402eda=_0x3d4004;let {preserveStrokeWidth:_0x5ca861,icon:_0x53d437,id:_0xe57dab,className:_0x4bf55e,extend:_0x58fc65,..._0x20fcfe}=_0x6dfc98,_0x29443e=(_0x402eda(0x454)+_0xe57dab+'\x20'+(_0x4bf55e||''))['trim'](),_0x1482a4='_'+(0x0,_0x1009cf[_0x402eda(0x39c)])(),_0x16b5f0=(0x0,_0x1009cf['useRef'])(null);return(0x0,_0x1009cf['useImperativeHandle'])(_0x5bdf96,()=>_0x16b5f0['current']),(0x0,_0x1009cf[_0x402eda(0x386)])(()=>{const _0x6b4f67=_0x402eda;if(_0x5ca861&&_0x16b5f0[_0x6b4f67(0x416)]&&_0x16b5f0['current'][_0x6b4f67(0x1c5)]===_0x53d437[_0x6b4f67(0x226)])return _0x5d5113(_0x16b5f0[_0x6b4f67(0x416)]);},[_0x5ca861,_0x53d437]),_0x464451(_0x53d437,''+_0xe57dab,{'defIds':_0x53d437[_0x402eda(0x332)],'idSuffix':_0x1482a4},{'ref':_0x16b5f0,'className':_0x29443e,..._0x20fcfe},_0x58fc65);}function _0x464451(_0xc13a6d,_0x7b5601,_0x8b2f7c,_0x5a8e52,_0x1c9ba9){const _0x1a0579=_0x3d4004;return(0x0,_0x1009cf['createElement'])(_0xc13a6d[_0x1a0579(0x226)],{'key':_0x7b5601,..._0x47b545(_0xc13a6d,_0x8b2f7c,_0x1c9ba9),..._0x5a8e52},(_0x1ac390(_0xc13a6d,_0x8b2f7c)['children']||[])[_0x1a0579(0x442)]((_0x1e47dc,_0x814d3e)=>_0x464451(_0x1e47dc,_0x7b5601+'-'+_0xc13a6d['tag']+'-'+_0x814d3e,_0x8b2f7c,void 0x0,_0x1c9ba9)));}function _0x47b545(_0x22d17b,_0x4c2a61,_0x57095d){const _0x3fad24=_0x3d4004;let _0x25350f={..._0x22d17b[_0x3fad24(0x31b)]};_0x57095d!=null&&_0x57095d[_0x3fad24(0x3c8)]&&_0x25350f[_0x3fad24(0x55a)]===_0x3fad24(0x3c8)&&(_0x25350f[_0x3fad24(0x55a)]=_0x57095d[_0x3fad24(0x3c8)]),_0x57095d!=null&&_0x57095d[_0x3fad24(0x3c8)]&&_0x25350f[_0x3fad24(0x4a4)]===_0x3fad24(0x3c8)&&(_0x25350f[_0x3fad24(0x4a4)]=_0x57095d['colorChannel1']),_0x22d17b[_0x3fad24(0x226)]===_0x3fad24(0x4e6)&&_0x25350f['id']&&(_0x25350f['id']+=_0x4c2a61[_0x3fad24(0x36a)]),Object[_0x3fad24(0x1bf)](_0x25350f)['forEach'](([_0x270675,_0x9d6d2a])=>{const _0x2b6958=_0x3fad24;_0x270675===_0x2b6958(0x4e6)&&typeof _0x9d6d2a==_0x2b6958(0x35a)&&(_0x25350f[_0x270675]=_0x9d6d2a['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c2a61['idSuffix']+')'));});let {defIds:_0xbc88ea}=_0x4c2a61;return!_0xbc88ea||_0xbc88ea[_0x3fad24(0x1ed)]===0x0?_0x25350f:(_0x22d17b[_0x3fad24(0x226)]===_0x3fad24(0x4d1)&&_0x25350f['xlink:href']&&(_0x25350f[_0x3fad24(0x4c1)]+=_0x4c2a61[_0x3fad24(0x36a)]),Object[_0x3fad24(0x1bf)](_0x25350f)[_0x3fad24(0x39d)](([_0x40d01f,_0x34ee83])=>{const _0x26882d=_0x3fad24;typeof _0x34ee83==_0x26882d(0x35a)&&(_0x25350f[_0x40d01f]=_0x34ee83['replace'](/url\(#(.*)\)/,_0x26882d(0x2d6)+_0x4c2a61[_0x26882d(0x36a)]+')'));}),_0x25350f);}function _0x1ac390(_0x73c56e,_0x41bf74){const _0x559ef5=_0x3d4004;var _0x3b1d37;let {defIds:_0x14fd12}=_0x41bf74;return!_0x14fd12||_0x14fd12['length']===0x0?_0x73c56e:_0x73c56e['tag']===_0x559ef5(0x395)&&(_0x3b1d37=_0x73c56e[_0x559ef5(0x237)])!=null&&_0x3b1d37['length']?{..._0x73c56e,'children':_0x73c56e['children'][_0x559ef5(0x442)](_0x482f19=>typeof _0x482f19[_0x559ef5(0x31b)]['id']==_0x559ef5(0x35a)&&_0x14fd12&&_0x14fd12[_0x559ef5(0x4f9)](_0x482f19[_0x559ef5(0x31b)]['id'])?{..._0x482f19,'attrs':{..._0x482f19[_0x559ef5(0x31b)],'id':_0x482f19[_0x559ef5(0x31b)]['id']+_0x41bf74[_0x559ef5(0x36a)]}}:_0x482f19)}:_0x73c56e;}function _0x5d5113(_0x17902f){const _0x307727=_0x3d4004;let _0x55e6a6=_0x17902f[_0x307727(0x298)][_0x307727(0x1b5)],_0x267a90=Math[_0x307727(0x370)](_0x55e6a6['width'],_0x55e6a6[_0x307727(0x3f0)]);if(!Number[_0x307727(0x2f1)](_0x267a90)||_0x267a90<=0x0||_0x55e6a6[_0x307727(0x4ba)]<=0x0||_0x55e6a6[_0x307727(0x3f0)]<=0x0)return()=>void 0x0;let _0x2ec45e=0x10/_0x267a90,_0x988210=Array[_0x307727(0x4dd)](_0x17902f[_0x307727(0x203)](_0x307727(0x321)))[_0x307727(0x438)](_0x2851ac=>{const _0x43b488=_0x307727;let _0x5edc40=getComputedStyle(_0x2851ac),_0x58cdde=Number[_0x43b488(0x2a0)](_0x5edc40[_0x43b488(0x1ec)]);return _0x5edc40['stroke']==='none'||Number['parseFloat'](_0x5edc40[_0x43b488(0x2f6)])===0x0||_0x5edc40[_0x43b488(0x1f8)]===_0x43b488(0x48f)||!Number['isFinite'](_0x58cdde)||_0x58cdde<=0x0?[]:[{'element':_0x2851ac,'hadStyleAttribute':_0x2851ac[_0x43b488(0x324)](_0x43b488(0x1d5)),'originalStrokeWidth':_0x58cdde,'strokeWidth':_0x5250fe(_0x2851ac['style'],_0x43b488(0x281))}];})['map'](_0x2d1cc5=>({'appliedStrokeWidth':null,'element':_0x2d1cc5['element'],'hadStyleAttribute':_0x2d1cc5[_0x307727(0x1c2)],'isReleased':!0x1,'originalStrokeWidth':_0x2d1cc5[_0x307727(0x348)],'strokeWidth':_0x2d1cc5[_0x307727(0x1ec)]}));if(_0x988210['length']===0x0)return()=>void 0x0;let _0x390d0f=(_0x594912,_0x35a98e)=>{const _0xd94b51=_0x307727;if(_0x55e6a6[_0xd94b51(0x4ba)]<=0x0||_0x55e6a6[_0xd94b51(0x3f0)]<=0x0||_0x594912<=0x0||_0x35a98e<=0x0)return;let _0x4bb814=Math[_0xd94b51(0x3cb)](_0x594912/_0x55e6a6[_0xd94b51(0x4ba)],_0x35a98e/_0x55e6a6[_0xd94b51(0x3f0)]);!Number['isFinite'](_0x4bb814)||_0x4bb814<=0x0||_0x988210[_0xd94b51(0x39d)](_0x353758=>{const _0x17b0de=_0xd94b51;if(_0x353758[_0x17b0de(0x23f)])return;if(_0x353758['appliedStrokeWidth']!==null&&(_0x353758[_0x17b0de(0x1c4)][_0x17b0de(0x1d5)]['getPropertyValue'](_0x17b0de(0x281))!==_0x353758['appliedStrokeWidth']||_0x353758[_0x17b0de(0x1c4)][_0x17b0de(0x1d5)][_0x17b0de(0x573)](_0x17b0de(0x281))!==_0x353758[_0x17b0de(0x1ec)][_0x17b0de(0x446)])){_0x353758['appliedStrokeWidth']=null,_0x353758[_0x17b0de(0x23f)]=!0x0;return;}let _0x4a2a1a=_0x353758[_0x17b0de(0x348)]*_0x2ec45e/_0x4bb814,_0x5e2d86=Number(_0x4a2a1a['toFixed'](0xc))+'px';_0x353758['element'][_0x17b0de(0x1d5)][_0x17b0de(0x1de)](_0x17b0de(0x281),_0x5e2d86,_0x353758['strokeWidth'][_0x17b0de(0x446)]),_0x353758[_0x17b0de(0x572)]=_0x5e2d86;});},_0x1a0275=_0x17902f[_0x307727(0x290)]();_0x390d0f(_0x1a0275['width'],_0x1a0275[_0x307727(0x3f0)]);let _0x58566e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4bfda0=>{const _0x1ebb0d=_0x307727;if(_0x4bfda0['some'](_0x3939c4=>_0x3939c4[_0x1ebb0d(0x4db)]===_0x17902f)){let _0x76951d=_0x17902f[_0x1ebb0d(0x290)]();_0x390d0f(_0x76951d[_0x1ebb0d(0x4ba)],_0x76951d[_0x1ebb0d(0x3f0)]);}});return _0x58566e==null||_0x58566e['observe'](_0x17902f),()=>{const _0x23a454=_0x307727;_0x58566e==null||_0x58566e[_0x23a454(0x263)](),_0x988210[_0x23a454(0x39d)](_0x5451f1=>{const _0x1890b5=_0x23a454;_0x5451f1[_0x1890b5(0x572)]!==null&&(_0x39411f(_0x5451f1[_0x1890b5(0x1c4)][_0x1890b5(0x1d5)],_0x1890b5(0x281),_0x5451f1[_0x1890b5(0x572)],_0x5451f1[_0x1890b5(0x1ec)]['priority'],_0x5451f1[_0x1890b5(0x1ec)]),!_0x5451f1[_0x1890b5(0x1c2)]&&_0x5451f1[_0x1890b5(0x1c4)][_0x1890b5(0x1d5)][_0x1890b5(0x1ed)]===0x0&&_0x5451f1['element']['removeAttribute'](_0x1890b5(0x1d5)));});};}function _0x5250fe(_0x167a44,_0x239272){const _0x4491b2=_0x3d4004;return{'priority':_0x167a44[_0x4491b2(0x573)](_0x239272),'value':_0x167a44[_0x4491b2(0x48b)](_0x239272)};}function _0x39411f(_0x404cca,_0x4a7887,_0x5c7d01,_0x1c137b,_0x43b405){const _0x5aab4d=_0x3d4004;_0x404cca[_0x5aab4d(0x48b)](_0x4a7887)===_0x5c7d01&&_0x404cca['getPropertyPriority'](_0x4a7887)===_0x1c137b&&(_0x43b405[_0x5aab4d(0x405)]?_0x404cca[_0x5aab4d(0x1de)](_0x4a7887,_0x43b405[_0x5aab4d(0x405)],_0x43b405[_0x5aab4d(0x446)]):_0x404cca['removeProperty'](_0x4a7887));}_0x5afbe3[_0x3d4004(0x4e7)]=_0x3d4004(0x449);let _0x598a74={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3d4004(0x451),'width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x4b1),'fillRule':'evenodd','clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x333),'fillRule':_0x3d4004(0x51b),'clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':'currentColor','d':_0x3d4004(0x582)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x2af)}}]},_0x3e15b5=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x31e172,_0x3b169a){const _0x20b280=_0x3d4004;return(0x0,_0x1009cf[_0x20b280(0x45f)])(_0x5afbe3,Object[_0x20b280(0x403)]({},_0x31e172,{'id':_0x20b280(0x39e),'ref':_0x3b169a,'icon':_0x598a74}));});_0x3e15b5['displayName']=_0x3d4004(0x1cb);let _0x1baee0={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x222),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x3a5),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x53c),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':_0x3d4004(0x56a),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x227),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x40f),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}}]},_0x17ed57=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x35910d,_0x5ea1d1){const _0x1e595f=_0x3d4004;return(0x0,_0x1009cf[_0x1e595f(0x45f)])(_0x5afbe3,Object[_0x1e595f(0x403)]({},_0x35910d,{'id':'flip-horizontal-icon','ref':_0x5ea1d1,'icon':_0x1baee0}));});_0x17ed57[_0x3d4004(0x4e7)]=_0x3d4004(0x50b);let _0xc4ff57={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3d4004(0x238),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x2b1),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x476),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':'M10.2\x208H11.8','strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x4d8),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}}]},_0x3f08c1=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x1d34f7,_0x4d30a4){const _0x577fa5=_0x3d4004;return(0x0,_0x1009cf[_0x577fa5(0x45f)])(_0x5afbe3,Object[_0x577fa5(0x403)]({},_0x1d34f7,{'id':_0x577fa5(0x579),'ref':_0x4d30a4,'icon':_0xc4ff57}));});_0x3f08c1['displayName']=_0x3d4004(0x4cb);let _0x566dd4={'tag':'svg','attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x32a),'fillRule':'evenodd','clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x4bc)}}]},_0x14c8b4=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x5cb064,_0x2687e5){const _0x2466d0=_0x3d4004;return(0x0,_0x1009cf[_0x2466d0(0x45f)])(_0x5afbe3,Object['assign']({},_0x5cb064,{'id':_0x2466d0(0x1e9),'ref':_0x2687e5,'icon':_0x566dd4}));});_0x14c8b4[_0x3d4004(0x4e7)]=_0x3d4004(0x4bb);let _0x39250e={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x1d4),'fillRule':_0x3d4004(0x51b),'clipRule':'evenodd'}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x217)}}]},_0xe08485=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x2b6432,_0x2fd949){const _0x74ea4c=_0x3d4004;return(0x0,_0x1009cf[_0x74ea4c(0x45f)])(_0x5afbe3,Object[_0x74ea4c(0x403)]({},_0x2b6432,{'id':_0x74ea4c(0x2a3),'ref':_0x2fd949,'icon':_0x39250e}));});_0xe08485[_0x3d4004(0x4e7)]=_0x3d4004(0x3a2);let _0x4505fb={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x1f3),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':_0x3d4004(0x2d9),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}}]},_0x1f2bbc=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x34e5ac,_0x4b5798){const _0x4286d6=_0x3d4004;return(0x0,_0x1009cf[_0x4286d6(0x45f)])(_0x5afbe3,Object[_0x4286d6(0x403)]({},_0x34e5ac,{'id':'object-layers-icon','ref':_0x4b5798,'icon':_0x4505fb}));});_0x1f2bbc[_0x3d4004(0x4e7)]=_0x3d4004(0x4f8);let _0x19e631={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x515),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x542),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':'M4.2\x208.3H6.8','strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x3d4004(0x435)}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x192ec1=(0x0,_0x1009cf['forwardRef'])(function(_0x40aa53,_0x4b55fd){const _0x284a5f=_0x3d4004;return(0x0,_0x1009cf[_0x284a5f(0x45f)])(_0x5afbe3,Object[_0x284a5f(0x403)]({},_0x40aa53,{'id':_0x284a5f(0x275),'ref':_0x4b55fd,'icon':_0x19e631}));});_0x192ec1[_0x3d4004(0x4e7)]='ShapeFormatSettingIcon';let _0x534b63={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':'none','viewBox':_0x3d4004(0x451),'width':'1em','height':'1em'},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x202)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x473),'fillRule':_0x3d4004(0x51b),'clipRule':'evenodd'}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'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':_0x3d4004(0x51b),'clipRule':_0x3d4004(0x51b)}}]},_0x20e21b=(0x0,_0x1009cf['forwardRef'])(function(_0x214dc8,_0x4e732a){const _0x199886=_0x3d4004;return(0x0,_0x1009cf['createElement'])(_0x5afbe3,Object[_0x199886(0x403)]({},_0x214dc8,{'id':_0x199886(0x1c9),'ref':_0x4e732a,'icon':_0x534b63}));});_0x20e21b['displayName']=_0x3d4004(0x3fc);function _0x5ddbfe(_0x1761c7){return _0x1761c7['trim']()||void 0x0;}function _0x193ad5(_0xc557f,_0x57de07,_0x45f85c){const _0x3200fd=_0x3d4004;var _0x634333;return((_0x634333=_0xc557f[_0x3200fd(0x4ce)])==null?void 0x0:_0x634333[_0x3200fd(0x3e4)]())||_0x45f85c['t'](_0x3200fd(0x38f)+(0x0,_0x21b2c0[_0x3200fd(0x3b7)])(_0xc557f[_0x3200fd(0x2c8)]))+'\x20'+(_0x57de07+0x1);}function _0x40d67d({PanelComponent:_0x527776=_0x42ecb7[_0x3d4004(0x374)]}){const _0x49a57b=_0x3d4004;var _0x235647;let _0x2a51b8=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2[_0x49a57b(0x31f)]),_0x4645ab={'title':_0x2a51b8['t'](_0x49a57b(0x20b)),'empty':_0x2a51b8['t'](_0x49a57b(0x28d)),'showAll':_0x2a51b8['t'](_0x49a57b(0x51c)),'hideAll':_0x2a51b8['t'](_0x49a57b(0x396)),'lockAll':_0x2a51b8['t'](_0x49a57b(0x346)),'unlockAll':_0x2a51b8['t'](_0x49a57b(0x557)),'moveForward':_0x2a51b8['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x2a51b8['t'](_0x49a57b(0x362)),'close':_0x2a51b8['t'](_0x49a57b(0x3ea)),'show':_0x2a51b8['t'](_0x49a57b(0x563)),'hide':_0x2a51b8['t'](_0x49a57b(0x4df)),'lock':_0x2a51b8['t'](_0x49a57b(0x4c5)),'unlock':_0x2a51b8['t'](_0x49a57b(0x578)),'lockHint':_0x2a51b8['t'](_0x49a57b(0x215)),'unlockHint':_0x2a51b8['t'](_0x49a57b(0x427)),'name':_0x2a51b8['t'](_0x49a57b(0x26a)),'nameInput':_0x2a51b8['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x2a51b8['t'](_0x49a57b(0x214)),'descriptionPlaceholder':_0x2a51b8['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x2a51b8['t']('drawing-ui.objectListPanel.details'),'noSelection':_0x2a51b8['t'](_0x49a57b(0x431)),'locate':_0x2a51b8['t'](_0x49a57b(0x372)),'expand':_0x2a51b8['t'](_0x49a57b(0x470)),'collapse':_0x2a51b8['t'](_0x49a57b(0x4ca)),'dragToReorder':_0x2a51b8['t'](_0x49a57b(0x509)),'search':_0x2a51b8['t'](_0x49a57b(0x37e)),'filterAll':_0x2a51b8['t'](_0x49a57b(0x2db)),'filterHidden':_0x2a51b8['t'](_0x49a57b(0x56c)),'filterLocked':_0x2a51b8['t'](_0x49a57b(0x323)),'sectionCanvas':_0x2a51b8['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x2a51b8['t'](_0x49a57b(0x408))},_0x52ed59=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2['ICommandService']),_0x4fdedb=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2[_0x49a57b(0x43b)]),_0x30046d=(0x0,_0xc5cac3['useDependency'])(_0x44df92[_0x49a57b(0x551)]),_0x11a84c=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x3a44e9['IDrawingManagerService']),_0x3eaeb1=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x2e0941[_0x49a57b(0x565)]),[,_0x124581]=(0x0,_0x1009cf['useReducer'])(_0x2362e2=>_0x2362e2+0x1,0x0),_0x20fa3c=_0x4fdedb[_0x49a57b(0x415)](_0x20b6b2[_0x49a57b(0x257)][_0x49a57b(0x2bb)]),_0x560d1b=(_0x20fa3c==null?void 0x0:_0x20fa3c[_0x49a57b(0x576)]())??'',_0x1a6562=(_0x20fa3c==null||(_0x235647=_0x20fa3c['getActiveSheet']())==null?void 0x0:_0x235647[_0x49a57b(0x33d)]())??'',_0x447bac=(0x0,_0xc5cac3[_0x49a57b(0x41a)])(()=>_0x11a84c[_0x49a57b(0x47d)],_0x11a84c[_0x49a57b(0x505)](),!0x1,[_0x11a84c]);(0x0,_0x1009cf[_0x49a57b(0x42b)])(()=>{const _0x10fb86=_0x49a57b;let _0xf439bd=_0x52ed59[_0x10fb86(0x47a)](()=>_0x124581());return()=>_0xf439bd['dispose']();},[_0x52ed59]);let _0x441dff=_0x560d1b&&_0x1a6562?_0x30046d[_0x49a57b(0x3c5)](_0x560d1b,_0x1a6562):{},_0xea01e9=(_0x560d1b&&_0x1a6562?_0x30046d['getDrawingOrder'](_0x560d1b,_0x1a6562):[])['map'](_0x4919e3=>_0x441dff[_0x4919e3])[_0x49a57b(0x2a8)](_0x1cc8e1=>!!_0x1cc8e1)['reverse'](),_0x5f3bc4=_0xea01e9['reduce']((_0x130a24,_0x160519)=>(_0x130a24[(0x0,_0x42ecb7[_0x49a57b(0x384)])(_0x160519[_0x49a57b(0x2c8)])]+=0x1,_0x130a24),{'canvas':0x0,'floating':0x0}),_0x5e4e92={'canvas':0x0,'floating':0x0},_0x8132f1=_0xea01e9[_0x49a57b(0x442)]((_0x3a47a1,_0x552f4d)=>{const _0x2204d9=_0x49a57b;let _0x14e3bd=(0x0,_0x42ecb7[_0x2204d9(0x384)])(_0x3a47a1[_0x2204d9(0x2c8)]),_0x74185d=_0x14e3bd===_0x42ecb7[_0x2204d9(0x52f)],_0x3dbd1f=_0x5e4e92[_0x14e3bd]++;return{'id':_0x3a47a1[_0x2204d9(0x354)],'name':_0x193ad5(_0x3a47a1,_0x552f4d,_0x2a51b8),'description':_0x3a47a1[_0x2204d9(0x521)],'visible':_0x3a47a1['hidden']!==!0x0,'selectable':_0x3a47a1[_0x2204d9(0x379)]!==!0x1,'sectionId':_0x14e3bd,'sectionTitle':_0x74185d?_0x4645ab['sectionFloating']:_0x4645ab[_0x2204d9(0x437)],'capabilities':_0x74185d?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x74185d&&_0x3dbd1f>0x0,'canMoveBackward':!_0x74185d&&_0x3dbd1f<_0x5f3bc4[_0x2204d9(0x248)]-0x1,'canReorder':!_0x74185d};}),_0x1dcd92=(0x0,_0x1009cf['useMemo'])(()=>(_0x447bac??[])[_0x49a57b(0x2a8)](_0x3ca8c6=>_0x3ca8c6['unitId']===_0x560d1b&&_0x3ca8c6[_0x49a57b(0x4c3)]===_0x1a6562)[_0x49a57b(0x442)](_0x41bef9=>_0x41bef9[_0x49a57b(0x354)]),[_0x447bac,_0x1a6562,_0x560d1b]),_0x324e63=_0x1dcd92[_0x1dcd92[_0x49a57b(0x1ed)]-0x1]??null,_0x41537b=_0x51165e=>_0x30046d[_0x49a57b(0x291)]({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x51165e})??null,_0x23a998=async _0x2018db=>{const _0x5bb8cd=_0x49a57b;_0x560d1b&&_0x2018db[_0x5bb8cd(0x1ed)]&&await _0x52ed59['executeCommand'](_0x44df92['SetSheetDrawingCommand']['id'],{'unitId':_0x560d1b,'drawings':_0x2018db});},_0x7787cd=async(_0x3f23db,_0x5f328d)=>{_0x41537b(_0x3f23db)&&await _0x23a998([{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x3f23db,..._0x5f328d}]);},_0x4663ea=(_0x133c86,_0x312d32)=>{const _0x55db61=_0x49a57b;if(!_0x560d1b||!_0x1a6562)return;let _0x3a12f4=_0x312d32?_0x1dcd92[_0x55db61(0x4f9)](_0x133c86)?_0x1dcd92[_0x55db61(0x2a8)](_0x18835e=>_0x18835e!==_0x133c86):[..._0x1dcd92,_0x133c86]:[_0x133c86];_0x52ed59[_0x55db61(0x340)](_0x3a44e9[_0x55db61(0x456)]['id'],_0x3a12f4['map'](_0x1d5a00=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x1d5a00})));let _0x1d77a3=_0x3a12f4[_0x3a12f4['length']-0x1];_0x1d77a3?(0x0,_0x21b2c0[_0x55db61(0x288)])(_0x3eaeb1,{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x1d77a3}):(0x0,_0x21b2c0[_0x55db61(0x36b)])(_0x3eaeb1,_0x560d1b);},_0x3f6f46=async(_0x4f48a1,_0x27b46f)=>{const _0x463ed7=_0x49a57b;await _0x23a998(_0x4f48a1['map'](_0x346377=>_0x41537b(_0x346377))['filter'](_0x3f890f=>!!_0x3f890f)[_0x463ed7(0x2a8)](_0x1643da=>_0x1643da[_0x463ed7(0x482)]!==!0x0!==_0x27b46f)[_0x463ed7(0x442)](_0x25f379=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x25f379[_0x463ed7(0x354)],'hidden':!_0x27b46f})));},_0x5bacfe=async(_0x25f1af,_0x5230d6)=>{const _0x4f9527=_0x49a57b;await _0x23a998(_0x25f1af[_0x4f9527(0x442)](_0x2f6eaa=>_0x41537b(_0x2f6eaa))[_0x4f9527(0x2a8)](_0x45940f=>!!_0x45940f)[_0x4f9527(0x2a8)](_0x2a91ec=>_0x2a91ec[_0x4f9527(0x379)]!==!0x1!==_0x5230d6)['map'](_0x44eeff=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x44eeff['drawingId'],'selectable':_0x5230d6})));},_0x4c2a2c=_0x18e205=>{let _0x1830a5=_0x41537b(_0x18e205);if(_0x1830a5)return _0x5bacfe([_0x18e205],_0x1830a5['selectable']===!0x1);},_0x1b1d61=async(_0x23d02c,_0x17a8e6)=>{const _0x3b2842=_0x49a57b;var _0x12009c;let _0x40a9aa=_0x5ddbfe(_0x17a8e6);(((_0x12009c=_0x41537b(_0x23d02c))==null?void 0x0:_0x12009c[_0x3b2842(0x4ce)])??void 0x0)!==_0x40a9aa&&await _0x7787cd(_0x23d02c,{'name':_0x40a9aa});},_0x1e9029=async(_0xaf4852,_0xa86367)=>{const _0x4bd1b9=_0x49a57b;var _0x47ddbb;let _0x1f980a=_0x5ddbfe(_0xa86367);(((_0x47ddbb=_0x41537b(_0xaf4852))==null?void 0x0:_0x47ddbb[_0x4bd1b9(0x521)])??void 0x0)!==_0x1f980a&&await _0x7787cd(_0xaf4852,{'description':_0x1f980a});},_0x366553=async(_0x46d99f,_0x5879c4)=>{const _0x3760cd=_0x49a57b;_0x560d1b&&_0x1a6562&&await _0x52ed59[_0x3760cd(0x447)](_0x44df92['SetDrawingArrangeCommand']['id'],{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingIds':[_0x46d99f],'arrangeType':_0x5879c4});};return!_0x560d1b||!_0x1a6562?(0x0,_0x132e2c[_0x49a57b(0x305)])(_0x49a57b(0x391),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x4645ab['title']}):(0x0,_0x132e2c['jsx'])(_0x527776,{'labels':_0x4645ab,'items':_0x8132f1,'selectedIds':_0x1dcd92,'focusedId':_0x324e63,'showHeader':!0x1,'onSelect':_0x4663ea,'onSetVisible':_0x3f6f46,'onSetSelectable':_0x5bacfe,'onCommitName':_0x1b1d61,'onCommitDescription':_0x1e9029,'onMoveForward':async _0x36b45c=>_0x366553(_0x36b45c,_0x20b6b2[_0x49a57b(0x41c)]['forward']),'onMoveBackward':async _0x22bc64=>_0x366553(_0x22bc64,_0x20b6b2[_0x49a57b(0x41c)][_0x49a57b(0x428)]),'onToggleSelectable':_0x4c2a2c});}function _0x3d8d46(){const _0x2ef115=_0x3d4004;return(0x0,_0x132e2c['jsx'])(_0x40d67d,{'PanelComponent':_0x42ecb7[_0x2ef115(0x34f)]});}let _0x22684c=class extends _0x20b6b2['Disposable']{constructor(_0x2ad414,_0xaabaa2){const _0x585867=_0x3d4004;super(),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x3b993f,_0x3d8d46)),this[_0x585867(0x301)](_0xaabaa2['register']({'BottomIcon':_0x3e15b5,'FlipHorizontalIcon':_0x17ed57,'FlipVerticalIcon':_0x3f08c1,'MoveDownIcon':_0x14c8b4,'MoveUpIcon':_0xe08485,'ObjectLayersIcon':_0x1f2bbc,'ShapeFormatSettingIcon':_0x192ec1,'TopmostIcon':_0x20e21b})),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x5360d6,_0x493cb3)),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x22252c,_0x2d477d)),_0x2ad414[_0x585867(0x584)](_0x42ecb7[_0x585867(0x58a)])||this[_0x585867(0x301)](_0x2ad414['register'](_0x42ecb7[_0x585867(0x58a)],_0x2f5dea));}};_0x22684c=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x279)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3['IconManager']))],_0x22684c);let _0x34d1ee=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x54a651){const _0xe72cd9=_0x3d4004;super(),this[_0xe72cd9(0x2d7)]=_0x54a651,_0x212175(this,_0xe72cd9(0x2e8),new _0x1008b8[(_0xe72cd9(0x37d))](null)),_0x212175(this,_0xe72cd9(0x534),this[_0xe72cd9(0x2e8)][_0xe72cd9(0x3e9)]()),_0x212175(this,_0xe72cd9(0x517),new _0x1008b8[(_0xe72cd9(0x37d))](!0x1)),_0x212175(this,_0xe72cd9(0x4b2),this[_0xe72cd9(0x517)][_0xe72cd9(0x3e9)]()),_0x212175(this,_0xe72cd9(0x512),void 0x0),this['disposeWithMe'](this[_0xe72cd9(0x2d7)][_0xe72cd9(0x27d)][_0xe72cd9(0x448)](()=>{const _0x47c675=_0xe72cd9;let _0x5201d3=this['getEditing']();_0x5201d3!=null&&_0x5201d3[_0x47c675(0x3a4)]&&!this['_canEdit'](_0x5201d3)&&this[_0x47c675(0x1e4)](null);}));}[_0x3d4004(0x4fe)](){const _0x2ea4dc=_0x3d4004;this[_0x2ea4dc(0x30d)](),this[_0x2ea4dc(0x2e8)]['next'](null),this[_0x2ea4dc(0x2e8)][_0x2ea4dc(0x480)](),this[_0x2ea4dc(0x517)][_0x2ea4dc(0x295)](!0x1),this[_0x2ea4dc(0x517)]['complete'](),super[_0x2ea4dc(0x4fe)]();}[_0x3d4004(0x1e4)](_0x353485){const _0x574f4d=_0x3d4004;(_0x353485==null||!_0x353485[_0x574f4d(0x3a4)]||this['_canEdit'](_0x353485))&&(this['_clearCompletionFrame'](),this[_0x574f4d(0x2e8)][_0x574f4d(0x295)](_0x353485),(_0x353485==null||_0x353485[_0x574f4d(0x3a4)]&&this[_0x574f4d(0x517)][_0x574f4d(0x272)]())&&this[_0x574f4d(0x517)][_0x574f4d(0x295)](!0x1));}['setOnSavingEditorData'](_0x16d30e){this['_onSavingEditorData$']['next'](_0x16d30e);}['getEditing'](){const _0x61d7d0=_0x3d4004;return this[_0x61d7d0(0x2e8)]['getValue']();}[_0x3d4004(0x285)](_0x4774b5){const _0x3009b6=_0x3d4004;let _0x8f992a=this[_0x3009b6(0x2d7)]['getPermissionPoint'](new _0x3a78b8[(_0x3009b6(0x4f0))](_0x4774b5[_0x3009b6(0x3e5)])['id']),_0x2605bb=this[_0x3009b6(0x2d7)][_0x3009b6(0x4d7)](new _0x3a78b8[(_0x3009b6(0x417))](_0x4774b5[_0x3009b6(0x3e5)],_0x4774b5[_0x3009b6(0x4c3)])['id']);return((_0x8f992a==null?void 0x0:_0x8f992a[_0x3009b6(0x405)])??!0x0)&&((_0x2605bb==null?void 0x0:_0x2605bb[_0x3009b6(0x405)])??!0x0);}[_0x3d4004(0x1d6)](_0x344f97){const _0x3d42d0=_0x3d4004;let _0x46685c=this['getEditing']();_0x46685c&&this['_completionFrame']===void 0x0&&(this[_0x3d42d0(0x508)](!0x0),this[_0x3d42d0(0x512)]=requestAnimationFrame(()=>{const _0x2e2b40=_0x3d42d0;this[_0x2e2b40(0x512)]=void 0x0,this[_0x2e2b40(0x1f7)]()===_0x46685c&&this[_0x2e2b40(0x1e4)](null);}));}[_0x3d4004(0x30d)](){const _0x2489b6=_0x3d4004;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x2489b6(0x512)]),this[_0x2489b6(0x512)]=void 0x0);}[_0x3d4004(0x210)](){const _0x3048ed=_0x3d4004;this[_0x3048ed(0x1f7)]()&&this['setEditing'](null);}};_0x34d1ee=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x526)])],_0x34d1ee);let _0x5edad9=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x29e7cb,_0x4c33ec,_0x19fff5,_0x311d96,_0x11dd15,_0x1d9de7){const _0x93f9d8=_0x3d4004;super(),this['_context']=_0x29e7cb,this[_0x93f9d8(0x23c)]=_0x4c33ec,this[_0x93f9d8(0x234)]=_0x19fff5,this[_0x93f9d8(0x3a6)]=_0x311d96,this[_0x93f9d8(0x4da)]=_0x11dd15,this['_sheetsShapeService']=_0x1d9de7,_0x212175(this,_0x93f9d8(0x2eb),null),this[_0x93f9d8(0x23e)](),this['_initSelection'](),this[_0x93f9d8(0x4f7)]();}[_0x3d4004(0x23e)](){const _0x4a7005=_0x3d4004;let {scene:_0x48ed23}=this[_0x4a7005(0x268)];this[_0x4a7005(0x301)](_0x48ed23[_0x4a7005(0x4f1)]['subscribeEvent'](_0x422944=>{const _0x3fa9c5=_0x4a7005;let {offsetX:_0x467fe4,offsetY:_0xd4e38}=_0x422944,_0x11515f=_0x48ed23['pick'](_0x2e0941[_0x3fa9c5(0x507)][_0x3fa9c5(0x40e)]([_0x467fe4,_0xd4e38]));if(_0x11515f instanceof _0x2caaad){let _0x3a33f6=this['_sheetsShapeService']['getShapeModel'](_0x11515f[_0x3fa9c5(0x3e5)],_0x11515f[_0x3fa9c5(0x4c3)],_0x11515f[_0x3fa9c5(0x47c)]);if((0x0,_0x36e36c[_0x3fa9c5(0x52a)])(this[_0x3fa9c5(0x341)][_0x3fa9c5(0x3d1)](_0x11515f[_0x3fa9c5(0x3e5)],_0x11515f[_0x3fa9c5(0x4c3)],_0x11515f[_0x3fa9c5(0x47c)]))||_0x3a33f6!=null&&_0x3a33f6['getShapeData']()[_0x3fa9c5(0x1b7)])return;this[_0x3fa9c5(0x234)][_0x3fa9c5(0x1e4)]({'visible':!0x0,'unitId':_0x11515f['unitId'],'subUnitId':_0x11515f[_0x3fa9c5(0x4c3)],'shapeId':_0x11515f[_0x3fa9c5(0x47c)],'shapeKey':_0x11515f[_0x3fa9c5(0x420)]});}}));}[_0x3d4004(0x463)](){const _0x15849c=_0x3d4004;this[_0x15849c(0x301)](this['_drawingManagerService']['focus$'][_0x15849c(0x448)](_0x4a70dc=>{const _0x31f577=_0x15849c;if(_0x4a70dc['length']===0x1){let _0x3f6a70=_0x4a70dc[0x0],_0x5115a5=this[_0x31f577(0x3a6)][_0x31f577(0x291)](_0x3f6a70);if((_0x5115a5==null?void 0x0:_0x5115a5[_0x31f577(0x2c8)])===_0x20b6b2[_0x31f577(0x284)][_0x31f577(0x364)]){var _0x30be99;let _0x59f6ee=this['_shapeTextEditingService']['getEditing']();if((_0x59f6ee==null?void 0x0:_0x59f6ee[_0x31f577(0x47c)])===_0x3f6a70[_0x31f577(0x354)]&&_0x59f6ee['visible'])return;let _0x3384ae=(0x0,_0x36e36c[_0x31f577(0x52a)])(this['_sheetsShapeService'][_0x31f577(0x3d1)](_0x3f6a70[_0x31f577(0x3e5)],_0x3f6a70[_0x31f577(0x4c3)],_0x3f6a70[_0x31f577(0x354)])),_0x2da308=!!((_0x30be99=this[_0x31f577(0x341)][_0x31f577(0x453)](_0x3f6a70[_0x31f577(0x3e5)],_0x3f6a70[_0x31f577(0x4c3)],_0x3f6a70[_0x31f577(0x354)]))!=null&&_0x30be99[_0x31f577(0x313)]()[_0x31f577(0x1b7)]);(_0x3384ae||_0x2da308)&&this['_shapeTextEditingService'][_0x31f577(0x1e4)](null);}else this['_shapeTextEditingService']['completeEditing']();}else this[_0x31f577(0x234)][_0x31f577(0x1d6)]();})),this[_0x15849c(0x301)](this[_0x15849c(0x3a6)][_0x15849c(0x52d)][_0x15849c(0x448)](_0x2a229d=>{const _0x375d36=_0x15849c;let _0x539dfb=this[_0x375d36(0x234)][_0x375d36(0x1f7)]();_0x539dfb&&_0x2a229d[_0x375d36(0x2bc)](_0x5cd3c6=>_0x5cd3c6[_0x375d36(0x354)]===_0x539dfb[_0x375d36(0x47c)])&&this[_0x375d36(0x234)][_0x375d36(0x1e4)](null);}));}['_initEditingParams'](){const _0x3edcc8=_0x3d4004;this[_0x3edcc8(0x301)](this[_0x3edcc8(0x234)][_0x3edcc8(0x534)][_0x3edcc8(0x448)](_0x38645a=>{const _0x30aee7=_0x3edcc8;let {scene:_0x100bcf}=this['_context'];if(this[_0x30aee7(0x2eb)]){let _0x4ee1bc=_0x100bcf['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x4ee1bc&&_0x4ee1bc['setEditing'](!0x1);}if(_0x38645a){let _0x7a585d=!!_0x38645a[_0x30aee7(0x3a4)],_0x5e562a=_0x100bcf[_0x30aee7(0x1fe)](_0x38645a[_0x30aee7(0x1e7)]);_0x5e562a&&(_0x5e562a[_0x30aee7(0x1e4)](_0x7a585d),this[_0x30aee7(0x2eb)]=_0x38645a[_0x30aee7(0x1e7)]),this['_contextService'][_0x30aee7(0x510)](_0x20b6b2[_0x30aee7(0x575)],_0x7a585d);}else this[_0x30aee7(0x2eb)]=null,this[_0x30aee7(0x4da)][_0x30aee7(0x510)](_0x20b6b2['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x5edad9=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2['Injector'])),_0x4a972c(0x2,(0x0,_0x20b6b2['Inject'])(_0x34d1ee)),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x31a)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)]))],_0x5edad9);var _0x24093a=class extends _0x5edad9{['_initEvents'](){const _0x4cea73=_0x3d4004;let {scene:_0x1a2ad1}=this[_0x4cea73(0x268)],_0x12c8a4=this[_0x4cea73(0x23c)][_0x4cea73(0x584)](_0x21b2c0['MobileShapeEditorService']);this[_0x4cea73(0x301)](_0x1a2ad1[_0x4cea73(0x4f1)][_0x4cea73(0x306)](_0x33768e=>{const _0x376a51=_0x4cea73;let {offsetX:_0x108b6e,offsetY:_0xa3d4e9}=_0x33768e,_0x408383=_0x1a2ad1['pick'](_0x2e0941[_0x376a51(0x507)][_0x376a51(0x40e)]([_0x108b6e,_0xa3d4e9]));if(!(_0x408383 instanceof _0x2caaad))return;let _0x2e2cf6=this['_sheetsShapeService']['getShapeModel'](_0x408383['unitId'],_0x408383['subUnitId'],_0x408383['shapeId']);(0x0,_0x36e36c[_0x376a51(0x52a)])(this[_0x376a51(0x341)][_0x376a51(0x3d1)](_0x408383['unitId'],_0x408383['subUnitId'],_0x408383[_0x376a51(0x47c)]))||_0x2e2cf6!=null&&_0x2e2cf6['getShapeData']()[_0x376a51(0x1b7)]||_0x12c8a4[_0x376a51(0x230)](_0x376a51(0x253),{'hostType':_0x20b6b2[_0x376a51(0x257)][_0x376a51(0x2bb)],'unitId':_0x408383[_0x376a51(0x3e5)],'subUnitId':_0x408383[_0x376a51(0x4c3)],'shapeId':_0x408383['shapeId']});}));}};let _0x180650={..._0x4908b1},_0x4340f2=class extends _0x20b6b2['Disposable']{constructor(_0x16b2d5,_0x5570d2,_0x218ca9,_0xd97bcb,_0x300a56,_0x438eac,_0x2ef004,_0x29c5cb){const _0x5091fb=_0x3d4004;super(),this[_0x5091fb(0x558)]=_0x16b2d5,this[_0x5091fb(0x341)]=_0x5570d2,this[_0x5091fb(0x2d4)]=_0x218ca9,this['_drawingManagerService']=_0xd97bcb,this[_0x5091fb(0x429)]=_0x300a56,this['_contextService']=_0x438eac,this[_0x5091fb(0x35d)]=_0x2ef004,this[_0x5091fb(0x234)]=_0x29c5cb,_0x212175(this,'_shapePopupMenuDisposable',null),this[_0x5091fb(0x558)][_0x5091fb(0x531)](_0x180650),this['_registerFeatureMenu'](),this['disposeWithMe'](this[_0x5091fb(0x234)]['editingParams$'][_0x5091fb(0x448)](_0x598c44=>{const _0x3e1c44=_0x5091fb;_0x598c44&&this[_0x3e1c44(0x3d0)]();}));}['initShapePopupMenu'](){const _0x1d8c9f=_0x3d4004;this[_0x1d8c9f(0x57e)]||=this[_0x1d8c9f(0x301)]((0x0,_0x21b2c0[_0x1d8c9f(0x387)])(this['_renderManagerService'],_0x20b6b2[_0x1d8c9f(0x257)][_0x1d8c9f(0x2bb)],_0x1b7c35=>this['_popupMenuListener'](_0x1b7c35)));}[_0x3d4004(0x2b4)](){const _0x578e2c=_0x3d4004;this[_0x578e2c(0x429)][_0x578e2c(0x383)](_0x20b6b2[_0x578e2c(0x284)][_0x578e2c(0x364)],(_0x47b747,_0x61193,_0x236adc,_0x2c9d3a)=>{const _0x5b432e=_0x578e2c;let _0x3e88e8=this['_sheetsShapeService'][_0x5b432e(0x2ec)](_0x47b747,_0x61193,_0x236adc),_0x12b3f1=this[_0x5b432e(0x341)][_0x5b432e(0x51d)](_0x47b747,_0x61193,_0x236adc),_0x71e8cb=_0x3e88e8!==void 0x0&&!(0x0,_0x36e36c[_0x5b432e(0x52a)])(_0x3e88e8)&&!(_0x12b3f1!=null&&_0x12b3f1['formulaBinding']);return[{'label':_0x5b432e(0x4cc),'index':0x0,'commandId':_0x6604f2['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'mode':_0x5b432e(0x1d5)},'disable':!0x1},..._0x71e8cb?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x6604f2['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'mode':_0x5b432e(0x253)},'disable':!0x1}]:[],{'label':'sheets-shape-ui.deleteShape','index':0x2,'commandId':_0x44df92[_0x5b432e(0x2de)]['id'],'commandParams':{'unitId':_0x47b747,'drawings':[{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'drawingType':_0x2c9d3a}]},'disable':!0x1},{'label':_0x5b432e(0x4e0),'index':0x3,'commandId':_0x3c17ec[_0x5b432e(0x3ce)]['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'shapeId':_0x236adc,'flipH':!0x0},'disable':!0x1},{'label':_0x5b432e(0x1f9),'index':0x4,'commandId':_0x3c17ec[_0x5b432e(0x3ce)]['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'shapeId':_0x236adc,'flipV':!0x0},'disable':!0x1}];},_0x578e2c(0x1ea));}[_0x3d4004(0x2b3)](_0x1e07cd){const _0x303b37=_0x3d4004;let _0x567d57=new _0x20b6b2[(_0x303b37(0x529))](),_0x1d169b=null,_0x20eade=()=>{const _0x58d2ab=_0x303b37;if(!_0x1d169b)return;let _0x77ce11=this[_0x58d2ab(0x3a6)]['getFocusDrawings'](),_0x21b7f3=_0x77ce11[_0x58d2ab(0x1ed)]===0x0||_0x77ce11[_0x58d2ab(0x1ed)]===0x1&&_0x77ce11[_0x58d2ab(0x2bc)](_0x1ed8a9=>_0x1ed8a9[_0x58d2ab(0x3e5)]===(_0x1d169b==null?void 0x0:_0x1d169b['unitId'])&&_0x1ed8a9['subUnitId']===(_0x1d169b==null?void 0x0:_0x1d169b[_0x58d2ab(0x4c3)])&&_0x1ed8a9[_0x58d2ab(0x354)]===(_0x1d169b==null?void 0x0:_0x1d169b[_0x58d2ab(0x354)]));_0x1d169b=null,_0x21b7f3&&(this[_0x58d2ab(0x4da)]['setContextValue'](_0x20b6b2[_0x58d2ab(0x1e8)],!0x1),this[_0x58d2ab(0x3a6)][_0x58d2ab(0x489)](null));};return _0x567d57[_0x303b37(0x2e9)](_0x1e07cd['createControl$'][_0x303b37(0x448)](()=>{const _0x194720=_0x303b37;let _0x122e59=_0x1e07cd[_0x194720(0x2b5)]();if(_0x122e59[_0x194720(0x236)]>0x1){_0x20eade();return;}let _0x4c6391=_0x122e59['values']()[_0x194720(0x295)]()[_0x194720(0x405)];if(!_0x4c6391){_0x20eade();return;}let _0x14c02b=this[_0x194720(0x3a6)][_0x194720(0x231)](_0x4c6391[_0x194720(0x420)]);if(!_0x14c02b||_0x14c02b[_0x194720(0x2c8)]!==_0x20b6b2['DrawingTypeEnum']['DRAWING_SHAPE']){_0x20eade();return;}let {unitId:_0x19c30f,subUnitId:_0xa9bed4,drawingId:_0x4a14f1}=_0x14c02b;_0x1d169b={'unitId':_0x19c30f,'subUnitId':_0xa9bed4,'drawingId':_0x4a14f1},this[_0x194720(0x4da)][_0x194720(0x510)](_0x20b6b2[_0x194720(0x1e8)],!0x0),this[_0x194720(0x3a6)]['getFocusDrawings']()[_0x194720(0x1f4)](_0x5bb578=>_0x5bb578['unitId']===_0x19c30f&&_0x5bb578['subUnitId']===_0xa9bed4&&_0x5bb578[_0x194720(0x354)]===_0x4a14f1)||this[_0x194720(0x3a6)][_0x194720(0x489)]([{'unitId':_0x19c30f,'subUnitId':_0xa9bed4,'drawingId':_0x4a14f1}]);})),_0x567d57['add'](_0x1e07cd[_0x303b37(0x31d)][_0x303b37(0x448)](()=>{_0x20eade();})),(0x0,_0x20b6b2[_0x303b37(0x3ae)])(()=>{const _0xbaefc=_0x303b37;_0x567d57[_0xbaefc(0x4fe)](),_0x20eade();});}[_0x3d4004(0x3d0)](){const _0x53ad02=_0x3d4004;this['_contextService'][_0x53ad02(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x53ad02(0x3a6)]['focusDrawing'](null);}};_0x4340f2=_0x3a2391([_0x4a972c(0x0,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,(0x0,_0x20b6b2['Inject'])(_0x5aa18a[_0x3d4004(0x2e6)])),_0x4a972c(0x5,_0x20b6b2['IContextService']),_0x4a972c(0x6,_0x2e0941['IRenderManagerService']),_0x4a972c(0x7,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x34d1ee))],_0x4340f2);function _0x11c51d(_0x44064b,_0x163c00,_0x36be0e,_0x2a7a1b){const _0x57b277=_0x3d4004;let _0x3f1e58=(0x0,_0x3a44e9[_0x57b277(0x42d)])(_0x44064b,_0x163c00,_0x36be0e),_0x472ccc=[];for(let _0x5d26d0 of _0x163c00){let _0x410914=_0x3f1e58[_0x57b277(0x535)][_0x57b277(0x584)](_0x5d26d0['drawingId']),_0x54cae2=_0x2a7a1b(_0x5d26d0);_0x410914&&_0x54cae2&&_0x472ccc[_0x57b277(0x467)]({'targetShapeId':_0x410914,'source':_0x54cae2});}return _0x472ccc;}let _0x538bd4=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4afaf8,_0x3c1f06,_0x43bcd4,_0xd5bc81){const _0xe4f5db=_0x3d4004;super(),this['_univerInstanceService']=_0x4afaf8,this[_0xe4f5db(0x21a)]=_0x3c1f06,this[_0xe4f5db(0x30e)]=_0x43bcd4,this[_0xe4f5db(0x341)]=_0xd5bc81,this[_0xe4f5db(0x42e)]();}['_initSheetChange'](){const _0x17b770=_0x3d4004;this[_0x17b770(0x301)](this[_0x17b770(0x21a)]['interceptCommand']({'getMutations':_0x4a98c9=>{const _0x413a93=_0x17b770;if(_0x4a98c9['id']===_0x3a78b8[_0x413a93(0x218)]['id']){let _0x3f8d57=(0x0,_0x3a78b8[_0x413a93(0x4c6)])(this[_0x413a93(0x1cc)],_0x4a98c9['params']);if(!_0x3f8d57)return{'redos':[],'undos':[]};let {unitId:_0x1ade41,subUnitId:_0x227a5e}=_0x3f8d57,_0x17211a=this['_sheetDrawingService'][_0x413a93(0x3c5)](_0x1ade41,_0x227a5e),_0x258fad=Object['values'](_0x17211a)[_0x413a93(0x2a8)](_0x2d456d=>_0x2d456d[_0x413a93(0x2c8)]===_0x20b6b2[_0x413a93(0x284)]['DRAWING_SHAPE']);if(_0x258fad['length']===0x0)return{'redos':[],'undos':[]};let _0x9fe7e=[],_0xfc299d=[];for(let _0x2abfec=0x0;_0x2abfec<_0x258fad[_0x413a93(0x1ed)];_0x2abfec++){let _0x177a18=_0x258fad[_0x2abfec],_0x55f56c=this[_0x413a93(0x341)][_0x413a93(0x453)](_0x177a18[_0x413a93(0x3e5)],_0x177a18[_0x413a93(0x4c3)],_0x177a18['drawingId']);_0x55f56c&&(_0x9fe7e[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x23b)]['id'],'params':{'unitId':_0x1ade41,'subUnitId':_0x227a5e,'shapeId':_0x177a18[_0x413a93(0x354)]}}),_0xfc299d[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x523)]['id'],'params':{'unitId':_0x1ade41,'subUnitId':_0x227a5e,'shapeId':_0x177a18[_0x413a93(0x354)],'shapeType':_0x55f56c['getShapeType'](),'shapeData':JSON['parse'](JSON[_0x413a93(0x2dd)](_0x55f56c[_0x413a93(0x313)]()))}}));}return{'redos':_0x9fe7e,'undos':_0xfc299d};}if(_0x4a98c9['id']===_0x3a78b8['CopySheetCommand']['id']){let {unitId:_0x2eb37c,subUnitId:_0xd99bf3,targetSubUnitId:_0x5933c7,copyContext:_0x3175e6}=_0x4a98c9[_0x413a93(0x342)];if(!_0x2eb37c||!_0xd99bf3||!_0x5933c7)return{'redos':[],'undos':[]};let _0x32e6fa=this[_0x413a93(0x30e)]['getDrawingData'](_0x2eb37c,_0xd99bf3),_0x2cf099=Object[_0x413a93(0x1ff)](_0x32e6fa)[_0x413a93(0x2a8)](_0x589918=>_0x589918['drawingType']===_0x20b6b2[_0x413a93(0x284)][_0x413a93(0x364)]);if(_0x2cf099[_0x413a93(0x1ed)]===0x0)return{'redos':[],'undos':[]};let _0x241f1c=_0x11c51d(_0x3175e6,_0x2cf099,{'unitId':_0x2eb37c,'sourceSubUnitId':_0xd99bf3,'targetSubUnitId':_0x5933c7},_0x184575=>{const _0x557e3a=_0x413a93;let _0xacd9f9=this['_sheetsShapeService']['getShapeModel'](_0x184575[_0x557e3a(0x3e5)],_0x184575[_0x557e3a(0x4c3)],_0x184575['drawingId']);if(_0xacd9f9)return{'shapeType':_0xacd9f9[_0x557e3a(0x3d1)](),'shapeData':JSON[_0x557e3a(0x2fa)](JSON[_0x557e3a(0x2dd)](_0xacd9f9[_0x557e3a(0x313)]()))};}),_0x20b5ce=[],_0x103bd9=[];for(let {targetShapeId:_0x443c23,source:_0x4c3da2}of _0x241f1c)_0x20b5ce[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x523)]['id'],'params':{'unitId':_0x2eb37c,'subUnitId':_0x5933c7,'shapeId':_0x443c23,'shapeType':_0x4c3da2[_0x413a93(0x44e)],'shapeData':_0x4c3da2[_0x413a93(0x224)]}}),_0x103bd9[_0x413a93(0x467)]({'id':_0x3c17ec['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x2eb37c,'subUnitId':_0x5933c7,'shapeId':_0x443c23}});return{'redos':_0x20b5ce,'undos':_0x103bd9};}return{'redos':[],'undos':[]};}}));}};_0x538bd4=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x43b)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a78b8[_0x3d4004(0x3fb)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x44df92[_0x3d4004(0x551)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService']))],_0x538bd4);let _0x5a8444=class extends _0x20b6b2['Disposable']{constructor(_0x2d72dd,_0x56707c,_0x2a5ffb,_0x2760b4,_0x2d1c58,_0x403eeb){const _0x432430=_0x3d4004;super(),this[_0x432430(0x2d4)]=_0x2d72dd,this['_renderManagerService']=_0x56707c,this['_drawingManagerService']=_0x2a5ffb,this[_0x432430(0x297)]=_0x2760b4,this[_0x432430(0x4a2)]=_0x2d1c58,this[_0x432430(0x1b8)]=_0x403eeb,_0x212175(this,_0x432430(0x328),new Set()),this[_0x432430(0x1b9)]();}[_0x3d4004(0x1b9)](){const _0x307c1e=_0x3d4004;this[_0x307c1e(0x3e1)](),this['_commandExecutedListener'](),this['_shapeUpdateListener']();}['_drawingAddListener'](){const _0x5b6fb3=_0x3d4004;this[_0x5b6fb3(0x301)](this['_drawingManagerService'][_0x5b6fb3(0x2ae)][_0x5b6fb3(0x448)](_0x2b0476=>{const _0x4a75c0=_0x5b6fb3;this[_0x4a75c0(0x3d2)](_0x2b0476);}));}['_commandExecutedListener'](){const _0x5e8666=_0x3d4004;this[_0x5e8666(0x301)](this['_commandService'][_0x5e8666(0x47a)]((_0x33924b,_0x45159a)=>{const _0x29dc93=_0x5e8666;if(_0x33924b['id']===_0x3c17ec[_0x29dc93(0x1fa)]['id']){let {unitId:_0x247497,subUnitId:_0x573122,shapeId:_0x538617}=_0x33924b[_0x29dc93(0x342)],_0x4c5891=this[_0x29dc93(0x24f)](_0x247497),_0x5d0d1d=(0x0,_0x3a44e9[_0x29dc93(0x2a1)])({'unitId':_0x247497,'subUnitId':_0x573122,'drawingId':_0x538617}),_0x1b6a5a=_0x4c5891==null?void 0x0:_0x4c5891[_0x29dc93(0x4f2)]['getObjectIncludeInGroup'](_0x5d0d1d);_0x1b6a5a&&(this[_0x29dc93(0x1b8)][_0x29dc93(0x2fe)](_0x1b6a5a),this['_sheetDrawingShapeRenderController']['refreshFormulaPresentation'](_0x1b6a5a,{'unitId':_0x247497,'subUnitId':_0x573122,'shapeId':_0x538617}),_0x1b6a5a[_0x29dc93(0x537)](!0x0));return;}if(_0x33924b['id']===_0x3c17ec[_0x29dc93(0x523)]['id']){var _0x58c16d;let {unitId:_0x35896b,subUnitId:_0x2101a7,shapeId:_0x5b61b3}=_0x33924b[_0x29dc93(0x342)],_0x528d63=this[_0x29dc93(0x24f)](_0x35896b);if(_0x528d63==null)return;let {scene:_0x4a4753}=_0x528d63,_0x53aeda=(0x0,_0x3a44e9[_0x29dc93(0x2a1)])({'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}),_0x221564=_0x4a4753[_0x29dc93(0x1fe)](_0x53aeda);if(!((_0x58c16d=this[_0x29dc93(0x35d)]['getRenderUnitById'](_0x35896b))!=null&&_0x58c16d[_0x29dc93(0x33c)](_0x5aa18a[_0x29dc93(0x555)])['getSkeleton'](_0x2101a7)))return!0x1;if(_0x221564)return;if(_0x45159a!=null&&_0x45159a[_0x29dc93(0x3da)]){queueMicrotask(()=>{const _0x171529=_0x29dc93;this[_0x171529(0x450)]||this['_insertShapes']([{'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}]);});return;}this[_0x29dc93(0x3d2)]([{'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}]);}}));}[_0x3d4004(0x2be)](){const _0x147573=_0x3d4004;this[_0x147573(0x301)](this['_drawingManagerService'][_0x147573(0x20a)][_0x147573(0x448)](_0x5a8373=>{const _0x4da350=_0x147573;_0x5a8373[_0x4da350(0x39d)](_0x3f6384=>{const _0x584880=_0x4da350;let {unitId:_0x34a0c4,subUnitId:_0x15ac9d,drawingId:_0x115b9b}=_0x3f6384,_0x48fcdd=this['_drawingManagerService'][_0x584880(0x291)](_0x3f6384);if(_0x48fcdd==null)return;let {transform:_0x995384,drawingType:_0x3b6e6e,srcRect:_0x521ddf,prstGeom:_0x31b64e}=_0x48fcdd;if(_0x3b6e6e!==_0x20b6b2[_0x584880(0x284)][_0x584880(0x364)])return;let _0x12d6cc=this[_0x584880(0x24f)](_0x34a0c4);if(_0x12d6cc==null)return;let {scene:_0x1e980f,transformer:_0x5a6225}=_0x12d6cc;if(_0x995384==null)return!0x0;let _0x466439=(0x0,_0x3a44e9[_0x584880(0x2a1)])({'unitId':_0x34a0c4,'subUnitId':_0x15ac9d,'drawingId':_0x115b9b}),_0x3255f6=_0x1e980f['getObjectIncludeInGroup'](_0x466439);if(_0x3255f6==null)return!0x0;_0x3255f6[_0x584880(0x27b)](_0x521ddf),_0x3255f6[_0x584880(0x36e)](_0x31b64e);});}));}[_0x3d4004(0x3d2)](_0x559a12){const _0x39245a=_0x3d4004;for(let _0x57c8f6 of _0x559a12){var _0x2bdc27;let {unitId:_0x49d6cb,subUnitId:_0x49ea40,drawingId:_0x59bc27}=_0x57c8f6,_0x21cb07=this['_getSceneAndTransformerByDrawingSearch'](_0x49d6cb),_0x1b77c3=(_0x2bdc27=(0x0,_0x42ecb7[_0x39245a(0x3a3)])(this[_0x39245a(0x297)],_0x49d6cb))==null?void 0x0:_0x2bdc27[_0x39245a(0x4c3)];if(_0x21cb07==null||_0x1b77c3!==_0x49ea40)return;let _0x355738=(0x0,_0x3a44e9[_0x39245a(0x2a1)])({'unitId':_0x49d6cb,'subUnitId':_0x49ea40,'drawingId':_0x59bc27});if(this[_0x39245a(0x328)][_0x39245a(0x481)](_0x355738)||_0x21cb07[_0x39245a(0x4f2)][_0x39245a(0x1fe)](_0x355738)!=null)return;let _0x5cb1dd=this['_drawingManagerService'][_0x39245a(0x291)](_0x57c8f6);if(_0x5cb1dd==null||_0x5cb1dd[_0x39245a(0x2c8)]!==_0x20b6b2[_0x39245a(0x284)][_0x39245a(0x364)])return;let _0x2985fe=_0x5cb1dd['data']||{};if((0x0,_0x36e36c['isConnectorShape'])(_0x2985fe['shapeType'])){let _0x401c8e=_0x5cb1dd[_0x39245a(0x3be)];_0x401c8e&&(_0x5cb1dd[_0x39245a(0x3be)]={..._0x401c8e,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x39245a(0x328)][_0x39245a(0x2e9)](_0x355738);try{this[_0x39245a(0x1b8)][_0x39245a(0x3c6)](_0x5cb1dd,_0x21cb07[_0x39245a(0x4f2)]);}finally{this[_0x39245a(0x328)]['delete'](_0x355738);}queueMicrotask(()=>{const _0x11eedd=_0x39245a;if(this[_0x11eedd(0x450)])return;let _0x338c96=(0x0,_0x3a44e9[_0x11eedd(0x2a1)])(_0x57c8f6);if(!_0x21cb07[_0x11eedd(0x4f2)][_0x11eedd(0x1fe)](_0x338c96))return;let _0x45e180=this[_0x11eedd(0x3a6)][_0x11eedd(0x291)](_0x57c8f6);_0x45e180&&this[_0x11eedd(0x3a6)][_0x11eedd(0x394)]([_0x45e180]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x612b7e){const _0x239dfa=_0x3d4004;if(_0x612b7e==null)return;let _0x155254=this[_0x239dfa(0x35d)][_0x239dfa(0x3ab)](_0x612b7e),_0x1f8b22=_0x155254==null?void 0x0:_0x155254['scene'];return _0x1f8b22==null?null:{'scene':_0x1f8b22,'transformer':_0x1f8b22[_0x239dfa(0x51e)]()};}};_0x5a8444=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x1,_0x2e0941['IRenderManagerService']),_0x4a972c(0x2,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,(0x0,_0x20b6b2['Inject'])(_0x42ecb7[_0x3d4004(0x25c)])),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87))],_0x5a8444);let _0x9458d2={'normal':{'fill':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x347)],'stroke':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x495)],'strokeWidth':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x24d)]},'highlighted':{'fill':_0x3d4004(0x44a),'stroke':'#1a73e8','strokeWidth':0x2}};var _0x4476bc=class extends _0x2e0941['Shape']{constructor(_0x1fe6de,_0x80f86b){const _0x2bac32=_0x3d4004;super(_0x1fe6de,_0x80f86b),_0x212175(this,_0x2bac32(0x49e),''),_0x212175(this,_0x2bac32(0x532),-0x1),_0x212175(this,_0x2bac32(0x1d1),''),_0x212175(this,_0x2bac32(0x240),''),_0x212175(this,_0x2bac32(0x402),!0x1),_0x80f86b&&this[_0x2bac32(0x4af)](_0x80f86b);}[_0x3d4004(0x50a)](){const _0x4b6d47=_0x3d4004;return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x4b6d47(0x532)]};}[_0x3d4004(0x37a)](_0x5f49d5){const _0x3f6ad7=_0x3d4004;this[_0x3f6ad7(0x402)]!==_0x5f49d5&&(this[_0x3f6ad7(0x402)]=_0x5f49d5,this['makeDirty'](!0x0));}[_0x3d4004(0x522)](){const _0x5c445a=_0x3d4004;return this[_0x5c445a(0x402)];}[_0x3d4004(0x4af)](_0x10fefe){const _0x1842e8=_0x3d4004;_0x10fefe[_0x1842e8(0x270)]!==void 0x0&&(this[_0x1842e8(0x49e)]=_0x10fefe[_0x1842e8(0x270)]),_0x10fefe[_0x1842e8(0x4b3)]!==void 0x0&&(this[_0x1842e8(0x532)]=_0x10fefe['cxnIndex']),_0x10fefe['unitId']!==void 0x0&&(this[_0x1842e8(0x1d1)]=_0x10fefe[_0x1842e8(0x3e5)]),_0x10fefe['subUnitId']!==void 0x0&&(this[_0x1842e8(0x240)]=_0x10fefe[_0x1842e8(0x4c3)]),_0x10fefe[_0x1842e8(0x522)]!==void 0x0&&(this['_isHighlighted']=_0x10fefe['isHighlighted']),this['transformByState']({'width':_0x10fefe['width']??_0x36e36c[_0x1842e8(0x543)][_0x1842e8(0x525)]*0x2,'height':_0x10fefe[_0x1842e8(0x3f0)]??_0x36e36c['ShapeDefaultConfig']['cxnPointRadius']*0x2});}[_0x3d4004(0x3bf)](_0x2f3321){const _0x2cd33e=_0x3d4004;let _0x42d396=this[_0x2cd33e(0x402)]?_0x9458d2[_0x2cd33e(0x4dc)]:_0x9458d2[_0x2cd33e(0x392)];_0x2e0941[_0x2cd33e(0x4be)][_0x2cd33e(0x502)](_0x2f3321,{'radius':_0x36e36c['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x42d396[_0x2cd33e(0x55a)],'stroke':_0x42d396[_0x2cd33e(0x4a4)],'strokeWidth':_0x42d396[_0x2cd33e(0x1ec)],'evented':!0x0});}};let _0x1dbb70=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x5be063,_0x2efdc1,_0x1077e2,_0x2fae5c){const _0x41d7d2=_0x3d4004;super(),this[_0x41d7d2(0x268)]=_0x5be063,this[_0x41d7d2(0x35d)]=_0x2efdc1,this[_0x41d7d2(0x3a6)]=_0x1077e2,this[_0x41d7d2(0x341)]=_0x2fae5c,_0x212175(this,_0x41d7d2(0x478),[]),_0x212175(this,'_activeTargetShapeId',null),_0x212175(this,'_highlightedSiteIndex',-0x1),_0x212175(this,_0x41d7d2(0x556),null),_0x212175(this,_0x41d7d2(0x1d1),''),_0x212175(this,_0x41d7d2(0x240),''),_0x212175(this,_0x41d7d2(0x1cd),null);}[_0x3d4004(0x302)](_0x2faf53,_0x2a9e3b,_0x226ce2,_0x471d29){const _0x5ee1f2=_0x3d4004;this['_currentScene']=_0x2faf53,this['_unitId']=_0x2a9e3b,this[_0x5ee1f2(0x240)]=_0x226ce2,this[_0x5ee1f2(0x1cd)]=_0x471d29;}['updateConnectionDetection'](_0x20c359){const _0x3b6e2f=_0x3d4004;if(!this[_0x3b6e2f(0x556)])return null;let _0x4f7391=this['_findShapeAtPoint'](_0x20c359);return _0x4f7391?(this[_0x3b6e2f(0x351)]!==_0x4f7391[_0x3b6e2f(0x47c)]&&(this[_0x3b6e2f(0x244)](),this[_0x3b6e2f(0x1df)](_0x4f7391[_0x3b6e2f(0x47c)],_0x4f7391[_0x3b6e2f(0x26c)]),this[_0x3b6e2f(0x351)]=_0x4f7391['shapeId']),this[_0x3b6e2f(0x57a)](_0x20c359)):(this[_0x3b6e2f(0x351)]!==null&&(this[_0x3b6e2f(0x244)](),this['_activeTargetShapeId']=null),null);}['endConnectionDetection'](){const _0x20a33a=_0x3d4004;this['_clearConnectionSites'](),this['_currentScene']=null,this[_0x20a33a(0x351)]=null,this[_0x20a33a(0x206)]=-0x1,this[_0x20a33a(0x1cd)]=null;}[_0x3d4004(0x3c4)](){const _0x1ef8d1=_0x3d4004;return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x1ef8d1(0x351)],'cxnIndex':this[_0x1ef8d1(0x206)]};}[_0x3d4004(0x304)](_0x5d0dc8){const _0x394269=_0x3d4004;let _0x5c7e84=this[_0x394269(0x3a6)]['getDrawingData'](this[_0x394269(0x1d1)],this['_subUnitId']);for(let _0x5ca6b0 of Object[_0x394269(0x3a0)](_0x5c7e84)){if(_0x5ca6b0===this['_draggingConnectorId']||_0x5c7e84[_0x5ca6b0][_0x394269(0x2c8)]!==_0x20b6b2[_0x394269(0x284)][_0x394269(0x364)])continue;let _0x20af6a=this[_0x394269(0x341)][_0x394269(0x453)](this['_unitId'],this[_0x394269(0x240)],_0x5ca6b0);if(!_0x20af6a||(0x0,_0x36e36c['isConnectorShape'])(_0x20af6a[_0x394269(0x3d1)]())||_0x20af6a[_0x394269(0x33f)]()['length']===0x0||!this[_0x394269(0x556)])continue;let _0x3c74e7=(0x0,_0x3a44e9[_0x394269(0x2a1)])({'unitId':this['_unitId'],'subUnitId':this[_0x394269(0x240)],'drawingId':_0x5ca6b0}),_0x17c095=this[_0x394269(0x556)][_0x394269(0x1fe)](_0x3c74e7);if(!_0x17c095)continue;let {left:_0x166ccb,top:_0x48dc92,width:_0x56346e,height:_0x8779aa}=_0x17c095[_0x394269(0x560)](),_0x436fd2=_0x166ccb+_0x56346e/0x2,_0x619bee=_0x48dc92+_0x8779aa/0x2,_0xc99af4=_0x17c095[_0x394269(0x3be)][_0x394269(0x2ee)](),_0x56b202=new _0x2e0941['Transform']([_0xc99af4[0x0],_0xc99af4[0x1],_0xc99af4[0x2],_0xc99af4[0x3],_0x436fd2,_0x619bee]),_0x93b7c2=_0x17c095[_0x394269(0x330)](),_0x2e8ecd=(_0x17c095[_0x394269(0x585)]&&(_0x93b7c2==null?void 0x0:_0x93b7c2['classType'])===_0x2e0941[_0x394269(0x4e1)]['GROUP']?_0x93b7c2[_0x394269(0x4a7)]['multiply'](_0x56b202):_0x56b202)['invert']()['applyPoint'](_0x5d0dc8),_0x37fdf4=_0x56346e/0x2,_0x44b4d9=_0x8779aa/0x2;if(_0x2e8ecd['x']>=-_0x37fdf4-0x5&&_0x2e8ecd['x']<=_0x37fdf4+0x5&&_0x2e8ecd['y']>=-_0x44b4d9-0x5&&_0x2e8ecd['y']<=_0x44b4d9+0x5)return{'shapeId':_0x5ca6b0,'shapeModel':_0x20af6a};}return null;}['_showConnectionSites'](_0x4ad2b6,_0x3c1f5f){const _0x3a3eb9=_0x3d4004;if(!this[_0x3a3eb9(0x556)])return;let _0x20ba49=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x4ad2b6}),_0x27465e=this['_currentScene'][_0x3a3eb9(0x1fe)](_0x20ba49);if(!_0x27465e)return;let {left:_0x22ae3c,top:_0x515dc4,width:_0x49ed6f,height:_0xda5573}=_0x27465e['getRealBound'](),_0x16efa6=_0x22ae3c+_0x49ed6f/0x2,_0x198baf=_0x515dc4+_0xda5573/0x2,_0x2e2d14=_0x27465e[_0x3a3eb9(0x3be)][_0x3a3eb9(0x2ee)](),_0x411670=new _0x2e0941[(_0x3a3eb9(0x3c9))]([_0x2e2d14[0x0],_0x2e2d14[0x1],_0x2e2d14[0x2],_0x2e2d14[0x3],_0x16efa6,_0x198baf]),_0xccdaa1=_0x27465e[_0x3a3eb9(0x330)](),_0x2e5706=_0x27465e['isInGroup']&&(_0xccdaa1==null?void 0x0:_0xccdaa1[_0x3a3eb9(0x22d)])===_0x2e0941[_0x3a3eb9(0x4e1)][_0x3a3eb9(0x250)]?_0xccdaa1['ancestorTransform'][_0x3a3eb9(0x468)](_0x411670):_0x411670;_0x3c1f5f[_0x3a3eb9(0x4d2)]({'width':_0x49ed6f,'height':_0xda5573});let _0xac160a=_0x3c1f5f[_0x3a3eb9(0x33f)]();for(let _0x577f6d of _0xac160a){let _0x54ba03=_0x577f6d['x']-_0x49ed6f/0x2,_0x417b01=_0x577f6d['y']-_0xda5573/0x2,_0xf951c5=_0x2e5706[_0x3a3eb9(0x3ee)]({'x':_0x54ba03,'y':_0x417b01}),_0x18d8f9=_0xf951c5['x'],_0x1dc1e0=_0xf951c5['y'],_0x25fe52=new _0x4476bc('connection-site-'+_0x4ad2b6+'-'+_0x577f6d[_0x3a3eb9(0x55f)],{'left':_0x18d8f9-_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)],'top':_0x1dc1e0-_0x36e36c[_0x3a3eb9(0x543)]['cxnPointRadius'],'targetShapeId':_0x4ad2b6,'cxnIndex':_0x577f6d['index'],'unitId':this[_0x3a3eb9(0x1d1)],'subUnitId':this[_0x3a3eb9(0x240)],'width':_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)]*0x2,'height':_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)]*0x2,'zIndex':_0x2e0941[_0x3a3eb9(0x33e)]+0x2,'evented':!0x1});this[_0x3a3eb9(0x478)][_0x3a3eb9(0x467)](_0x25fe52),this[_0x3a3eb9(0x556)][_0x3a3eb9(0x497)](_0x25fe52,_0x2e0941[_0x3a3eb9(0x33e)]+0x2);}}['_findNearestConnectionSite'](_0x1e131e){const _0x41bf51=_0x3d4004;let _0x47070c=null,_0x415722=0x1/0x0,_0x4d9035=null;for(let _0x336d9d of this[_0x41bf51(0x478)]){let _0x129804=_0x336d9d[_0x41bf51(0x26d)]+_0x36e36c[_0x41bf51(0x543)][_0x41bf51(0x525)],_0x4078e1=_0x336d9d[_0x41bf51(0x35f)]+_0x36e36c[_0x41bf51(0x543)][_0x41bf51(0x525)],_0x3d3667=_0x1e131e['x']-_0x129804,_0x1cef0f=_0x1e131e['y']-_0x4078e1,_0x2dca84=Math[_0x41bf51(0x2c6)](_0x3d3667*_0x3d3667+_0x1cef0f*_0x1cef0f);_0x2dca84<_0x415722&&(_0x415722=_0x2dca84,_0x47070c=_0x336d9d,_0x4d9035={'x':_0x129804,'y':_0x4078e1});}let _0xb1038=_0x415722<=0xa&&_0x47070c?_0x47070c[_0x41bf51(0x50a)]()[_0x41bf51(0x4b3)]:-0x1;if(_0xb1038!==this[_0x41bf51(0x206)]){for(let _0x1aee19 of this[_0x41bf51(0x478)]){let _0xb29739=_0x1aee19[_0x41bf51(0x50a)]();_0x1aee19[_0x41bf51(0x37a)](_0xb29739['cxnIndex']===_0xb1038);}this[_0x41bf51(0x206)]=_0xb1038;}if(_0x415722<=0xa&&_0x47070c&&_0x4d9035){let _0x13fbf5=_0x47070c[_0x41bf51(0x50a)](),_0x2b587d=this[_0x41bf51(0x503)](_0x13fbf5[_0x41bf51(0x47c)],_0x13fbf5[_0x41bf51(0x4b3)]);return{'shapeId':_0x13fbf5['shapeId'],'cxnIndex':_0x13fbf5[_0x41bf51(0x4b3)],'unitId':_0x13fbf5[_0x41bf51(0x3e5)],'subUnitId':_0x13fbf5[_0x41bf51(0x4c3)],'worldPoint':_0x4d9035,'angle':_0x2b587d};}return null;}[_0x3d4004(0x503)](_0x4d35f0,_0x1043d4){const _0x7a37fc=_0x3d4004;let _0x470263=this['_sheetsShapeService'][_0x7a37fc(0x453)](this[_0x7a37fc(0x1d1)],this[_0x7a37fc(0x240)],_0x4d35f0);if(!_0x470263)return 0x0;let _0x24e834=this[_0x7a37fc(0x3a6)]['getDrawingByParam']({'unitId':this[_0x7a37fc(0x1d1)],'subUnitId':this[_0x7a37fc(0x240)],'drawingId':_0x4d35f0});if(!(_0x24e834!=null&&_0x24e834[_0x7a37fc(0x3be)]))return 0x0;let {width:_0x269f11=0x0,height:_0x3a63e8=0x0,flipX:_0x278139=!0x1,flipY:_0x3c7351=!0x1}=_0x24e834[_0x7a37fc(0x3be)];_0x470263[_0x7a37fc(0x4d2)]({'width':_0x269f11,'height':_0x3a63e8});let _0x3e5462=_0x470263[_0x7a37fc(0x33f)]()[_0x7a37fc(0x1f4)](_0x3323e7=>_0x3323e7['index']===_0x1043d4);if(!_0x3e5462)return 0x0;let _0x15ee11=_0x3e5462[_0x7a37fc(0x3ca)]/0xea60;return _0x278139&&(_0x15ee11=0xb4-_0x15ee11),_0x3c7351&&(_0x15ee11=-_0x15ee11),_0x15ee11=(_0x15ee11%0x168+0x168)%0x168,_0x15ee11;}[_0x3d4004(0x244)](){const _0x1c93a0=_0x3d4004;for(let _0x27e7e6 of this['_connectionSiteObjects'])_0x27e7e6['dispose']();this[_0x1c93a0(0x478)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x3d4004(0x4fe)](){const _0x57578a=_0x3d4004;this[_0x57578a(0x244)](),super[_0x57578a(0x4fe)]();}};_0x1dbb70=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a44e9[_0x3d4004(0x567)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService']))],_0x1dbb70);let _0xee7899=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x492e82,_0xb02c9b,_0x3d2847,_0x19c306,_0x4e6626){const _0x184b67=_0x3d4004;super(),this[_0x184b67(0x4a1)]=_0x492e82,this[_0x184b67(0x287)]=_0xb02c9b,this[_0x184b67(0x30e)]=_0x3d2847,this['_shapeService']=_0x19c306,this[_0x184b67(0x49b)]=_0x4e6626,_0x212175(this,_0x184b67(0x3c2),void 0x0),this['_initCopyPaste'](),this[_0x184b67(0x443)]();}get[_0x3d4004(0x3dd)](){const _0x51d45e=_0x3d4004;return this[_0x51d45e(0x30e)][_0x51d45e(0x505)]();}[_0x3d4004(0x443)](){const _0xd3b074=_0x3d4004;this[_0xd3b074(0x49b)][_0xd3b074(0x441)](({fromUnitId:_0x1ad392,fromSubUnitId:_0x5ad42f,toUnitId:_0x2c27fb,toSubUnitId:_0xf4d29,idMap:_0x17c047})=>{const _0x25bffc=_0xd3b074;let _0xcc89cf=[],_0x241474=[];for(let [_0x102043,_0x4bc7ce]of _0x17c047[_0x25bffc(0x1bf)]()){let _0x125fd5=this[_0x25bffc(0x2d3)][_0x25bffc(0x453)](_0x1ad392,_0x5ad42f,_0x102043);if(!_0x125fd5)continue;let _0x33a1e9=_0x125fd5['getShapeType'](),_0x30ed78=JSON[_0x25bffc(0x2fa)](JSON['stringify'](_0x125fd5[_0x25bffc(0x313)]()));if(_0x30ed78[_0x25bffc(0x44d)]){var _0x553e1e,_0x3c51db;let _0x2b1ffe=(_0x553e1e=_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)])==null?void 0x0:_0x553e1e['shapeId'],_0x3f0474=(_0x3c51db=_0x30ed78[_0x25bffc(0x44d)]['to'])==null?void 0x0:_0x3c51db[_0x25bffc(0x47c)],_0x23f092=!_0x2b1ffe||_0x17c047['has'](_0x2b1ffe),_0x29b697=!_0x3f0474||_0x17c047[_0x25bffc(0x481)](_0x3f0474);_0x23f092&&_0x2b1ffe&&_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)]?_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)]={..._0x30ed78['relation'][_0x25bffc(0x4dd)],'shapeId':_0x17c047[_0x25bffc(0x584)](_0x2b1ffe)}:_0x30ed78[_0x25bffc(0x44d)]['from']=void 0x0,_0x29b697&&_0x3f0474&&_0x30ed78[_0x25bffc(0x44d)]['to']?_0x30ed78[_0x25bffc(0x44d)]['to']={..._0x30ed78[_0x25bffc(0x44d)]['to'],'shapeId':_0x17c047[_0x25bffc(0x584)](_0x3f0474)}:_0x30ed78[_0x25bffc(0x44d)]['to']=void 0x0;}_0xcc89cf[_0x25bffc(0x467)]({'id':_0x3c17ec[_0x25bffc(0x523)]['id'],'params':{'unitId':_0x2c27fb,'subUnitId':_0xf4d29,'shapeId':_0x4bc7ce,'shapeType':_0x33a1e9,'shapeData':_0x30ed78}}),_0x241474[_0x25bffc(0x467)]({'id':_0x3c17ec[_0x25bffc(0x23b)]['id'],'params':{'unitId':_0x2c27fb,'subUnitId':_0xf4d29,'shapeId':_0x4bc7ce}});}return{'redos':_0xcc89cf,'undos':_0x241474};});}['_initCopyPaste'](){const _0x1693cf=_0x3d4004;this['disposeWithMe'](this[_0x1693cf(0x287)][_0x1693cf(0x496)]({'id':_0x1693cf(0x413),'onBeforeCopyFocusedObject':(_0x365160,_0x4eb7ab,_0xbce441)=>{const _0x22a6f4=_0x1693cf;this[_0x22a6f4(0x3c2)]=null;let _0x4e195e=this[_0x22a6f4(0x3dd)][_0x22a6f4(0x2a8)](_0x265339=>_0x265339[_0x22a6f4(0x2c8)]===_0x20b6b2[_0x22a6f4(0x284)][_0x22a6f4(0x364)]);return _0x4e195e[_0x22a6f4(0x1ed)]!==0x0&&(this[_0x22a6f4(0x3c2)]={'unitId':_0x365160,'subUnitId':_0x4eb7ab,'copyType':_0xbce441,'drawings':_0x4e195e},!0x0);},'onBeforeCopy':(_0x1e21d6,_0x1c010c,_0x50908f,_0x21cdb7)=>{const _0x5f574c=_0x1693cf;this['_copyInfo']=null,this[_0x5f574c(0x511)](_0x1e21d6,_0x1c010c,_0x50908f,_0x21cdb7);},'onPasteCells':(_0x45da90,_0x45b558,_0x4d924e,_0x42a067)=>{const _0x3de0f0=_0x1693cf;if(!_0x42a067[_0x3de0f0(0x3b3)]||!_0x45da90||!this[_0x3de0f0(0x3c2)])return{'redos':[],'undos':[]};let {pasteType:_0x1dc88e}=_0x42a067;return _0x1dc88e===_0x5aa18a[_0x3de0f0(0x36c)][_0x3de0f0(0x1ce)]?this[_0x3de0f0(0x4e3)](_0x45b558,this[_0x3de0f0(0x3c2)][_0x3de0f0(0x339)]===_0x5aa18a[_0x3de0f0(0x274)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x3d4004(0x511)](_0x1bc30e,_0x2b98e3,_0x2a3018,_0x1c731d){const _0x3f19f0=_0x3d4004;let _0x4ce18d=this[_0x3f19f0(0x4a1)][_0x3f19f0(0x45c)](_0x1bc30e,_0x2b98e3);if(!_0x4ce18d)return;let _0x415169=(0x0,_0x3a78b8[_0x3f19f0(0x4cd)])(_0x4ce18d,_0x2a3018);if(!_0x415169)return;let {startX:_0x26bee2,endX:_0x36bf04,startY:_0x3b2e14,endY:_0x56e98a}=_0x415169,_0xbbfca3=this[_0x3f19f0(0x30e)][_0x3f19f0(0x3c5)](_0x1bc30e,_0x2b98e3),_0x129e29=[];for(let [_0x34d501,_0x33698e]of Object[_0x3f19f0(0x1bf)](_0xbbfca3)){if(_0x33698e[_0x3f19f0(0x2c8)]!==_0x20b6b2['DrawingTypeEnum'][_0x3f19f0(0x364)])continue;let {transform:_0x476b3f}=_0x33698e;if(!_0x476b3f)continue;let {left:_0x438792=0x0,top:_0x2a1a2d=0x0,width:_0x1d06e9=0x0,height:_0x508c94=0x0}=_0x476b3f;_0x26bee2<=_0x438792&&_0x36bf04>=_0x438792+_0x1d06e9&&_0x3b2e14<=_0x2a1a2d&&_0x56e98a>=_0x2a1a2d+_0x508c94&&_0x129e29[_0x3f19f0(0x467)](_0x33698e);}_0x129e29[_0x3f19f0(0x1ed)]>0x0&&(this[_0x3f19f0(0x3c2)]={'unitId':_0x1bc30e,'subUnitId':_0x2b98e3,'copyType':_0x1c731d,'copyRange':_0x2a3018,'drawings':_0x129e29});}[_0x3d4004(0x4e3)](_0x213563,_0x43acde){const _0x462209=_0x3d4004;let {unitId:_0x53d624,subUnitId:_0xf15d75,range:_0x3091b0}=_0x213563,_0x538fa1=this[_0x462209(0x4a1)]['getSkeleton'](_0x53d624,_0xf15d75);if(!_0x538fa1)return{'redos':[],'undos':[]};let _0x16fdba=(0x0,_0x3a78b8[_0x462209(0x577)])(_0x3091b0),{unitId:_0xc22988,subUnitId:_0x307807,copyRange:_0x3bb965,drawings:_0x801f32}=this['_copyInfo'],_0x287cdf=this['_sheetSkeletonService']['getSkeleton'](_0xc22988,_0x307807);if(!_0x287cdf)return{'redos':[],'undos':[]};let _0x1ef6b9;if(!_0x3bb965){let _0x41570d=0x1/0x0,_0x445929=0x1/0x0;for(let _0x5205ab of _0x801f32){let {left:_0x228612=0x0,top:_0x2f6a2a=0x0}=_0x5205ab[_0x462209(0x3be)]??{};_0x228612<_0x41570d&&(_0x41570d=_0x228612),_0x2f6a2a<_0x445929&&(_0x445929=_0x2f6a2a);}_0x41570d!==0x1/0x0&&_0x445929!==0x1/0x0&&(_0x1ef6b9={'left':_0x41570d,'top':_0x445929});}let _0x51afe4=new Map();if(!_0x43acde){for(let _0x264bd6 of _0x801f32)_0x51afe4['set'](_0x264bd6['drawingId'],(0x0,_0x20b6b2[_0x462209(0x293)])());}let _0x307bcd=[],_0x1741f1=[];for(let _0x4a02ae of _0x801f32){let {drawingId:_0x17f873,transform:_0x55d642,sheetTransform:_0x473dec}=_0x4a02ae;if(!_0x55d642||!_0x473dec)continue;let _0x42cd94=this[_0x462209(0x4b5)]({'transform':_0x55d642,'sheetTransform':_0x473dec},{'skeleton':_0x287cdf,'range':_0x3bb965},{'skeleton':_0x538fa1,'range':_0x16fdba},_0x1ef6b9);if(_0x43acde){let {redos:_0x443fbf,undos:_0x10413a}=this[_0x462209(0x39f)]({'fromUnitId':_0xc22988,'fromSubUnitId':_0x307807,'toUnitId':_0x53d624,'toSubUnitId':_0xf15d75,'drawing':_0x4a02ae,'newTransforms':_0x42cd94});_0x307bcd[_0x462209(0x467)](..._0x443fbf),_0x1741f1[_0x462209(0x467)](..._0x10413a);continue;}let {redos:_0x371ba1,undos:_0x35949e}=this[_0x462209(0x24b)]({'toUnitId':_0x53d624,'toSubUnitId':_0xf15d75,'drawing':_0x4a02ae,'newTransforms':_0x42cd94,'newDrawingId':_0x51afe4[_0x462209(0x584)](_0x17f873),'idMap':_0x51afe4});_0x307bcd[_0x462209(0x467)](..._0x371ba1),_0x1741f1[_0x462209(0x467)](..._0x35949e);}return{'redos':_0x307bcd,'undos':_0x1741f1};}[_0x3d4004(0x39f)](_0x37f77e){const _0x20e92b=_0x3d4004;let {fromUnitId:_0x3c99b5,fromSubUnitId:_0x3b7a3a,toUnitId:_0x2282d4,toSubUnitId:_0x23477e,drawing:_0x1dd592,newTransforms:_0x12a179}=_0x37f77e,_0x4b4411={..._0x1dd592,'unitId':_0x2282d4,'subUnitId':_0x23477e,'transform':_0x12a179[_0x20e92b(0x3be)],'sheetTransform':_0x12a179['sheetTransform']};if(_0x2282d4===_0x3c99b5&&_0x23477e===_0x3b7a3a){let {redo:_0x3a4be8,undo:_0x2e66b4,objects:_0x37a3a2}=this[_0x20e92b(0x30e)][_0x20e92b(0x419)]([_0x4b4411]);return{'redos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x2ab)],'op':_0x3a4be8,'objects':_0x37a3a2}}],'undos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)]['UPDATE'],'op':_0x2e66b4,'objects':_0x37a3a2}}]};}{let _0x255a8d=this[_0x20e92b(0x30e)]['getBatchRemoveOp']([_0x1dd592]),_0x2c113f=this[_0x20e92b(0x30e)][_0x20e92b(0x45a)]([_0x4b4411]),_0x147c14=this[_0x20e92b(0x2d3)][_0x20e92b(0x453)](_0x1dd592['unitId'],_0x1dd592[_0x20e92b(0x4c3)],_0x1dd592[_0x20e92b(0x354)]);if(!_0x147c14)return{'redos':[],'undos':[]};let _0x2754ec=_0x147c14[_0x20e92b(0x3d1)](),_0x5e244e=JSON[_0x20e92b(0x2fa)](JSON['stringify'](_0x147c14['getShapeData']()));return{'redos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x366)],'op':_0x255a8d[_0x20e92b(0x363)],'objects':_0x255a8d[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x23b)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'shapeId':_0x1dd592[_0x20e92b(0x354)]}},{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92['DrawingApplyType'][_0x20e92b(0x246)],'op':_0x2c113f[_0x20e92b(0x363)],'objects':_0x2c113f[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x523)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'shapeId':_0x1dd592[_0x20e92b(0x354)],'shapeType':_0x2754ec,'shapeData':_0x5e244e}}],'undos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'type':_0x44df92['DrawingApplyType'][_0x20e92b(0x246)],'op':_0x255a8d['undo'],'objects':_0x255a8d[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x523)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'shapeId':_0x1dd592[_0x20e92b(0x354)],'shapeType':_0x2754ec,'shapeData':_0x5e244e}},{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x366)],'op':_0x2c113f[_0x20e92b(0x2b7)],'objects':_0x2c113f[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x23b)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'shapeId':_0x1dd592['drawingId']}}]};}}[_0x3d4004(0x24b)](_0x4ad199){const _0x8cf470=_0x3d4004;let {toUnitId:_0x114cd2,toSubUnitId:_0x4a588c,drawing:_0x5b9af6,newTransforms:_0x2eb967,newDrawingId:_0x3bc06b,idMap:_0xbde948}=_0x4ad199,_0x265f88={..._0x5b9af6,'unitId':_0x114cd2,'subUnitId':_0x4a588c,'drawingId':_0x3bc06b,'transform':_0x2eb967[_0x8cf470(0x3be)],'sheetTransform':_0x2eb967[_0x8cf470(0x50c)]},{redo:_0x432d1a,undo:_0x5cdb71,objects:_0x364bf6}=this[_0x8cf470(0x30e)][_0x8cf470(0x45a)]([_0x265f88]),_0x32ab67=this[_0x8cf470(0x2d3)]['getShapeModel'](_0x5b9af6[_0x8cf470(0x3e5)],_0x5b9af6[_0x8cf470(0x4c3)],_0x5b9af6['drawingId']);if(!_0x32ab67)return{'redos':[],'undos':[]};let _0x5aa9fb=_0x32ab67['getShapeType'](),_0x51c03c=JSON[_0x8cf470(0x2fa)](JSON[_0x8cf470(0x2dd)](_0x32ab67[_0x8cf470(0x313)]()));if(_0x51c03c[_0x8cf470(0x44d)]){var _0x3ec1a1,_0x3e1efe;let _0x36e7ff=(_0x3ec1a1=_0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)])==null?void 0x0:_0x3ec1a1['shapeId'],_0xc569e8=(_0x3e1efe=_0x51c03c[_0x8cf470(0x44d)]['to'])==null?void 0x0:_0x3e1efe[_0x8cf470(0x47c)],_0x17256c=!_0x36e7ff||_0xbde948[_0x8cf470(0x481)](_0x36e7ff),_0x1fde18=!_0xc569e8||_0xbde948[_0x8cf470(0x481)](_0xc569e8);_0x17256c&&_0x36e7ff&&_0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)]?_0x51c03c['relation'][_0x8cf470(0x4dd)]={..._0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)],'shapeId':_0xbde948['get'](_0x36e7ff)}:_0x51c03c['relation']['from']=void 0x0,_0x1fde18&&_0xc569e8&&_0x51c03c[_0x8cf470(0x44d)]['to']?_0x51c03c['relation']['to']={..._0x51c03c[_0x8cf470(0x44d)]['to'],'shapeId':_0xbde948[_0x8cf470(0x584)](_0xc569e8)}:_0x51c03c[_0x8cf470(0x44d)]['to']=void 0x0;}return{'redos':[{'id':_0x44df92[_0x8cf470(0x538)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'type':_0x44df92[_0x8cf470(0x216)][_0x8cf470(0x246)],'op':_0x432d1a,'objects':_0x364bf6}},{'id':_0x3c17ec['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'shapeId':_0x3bc06b,'shapeType':_0x5aa9fb,'shapeData':_0x51c03c}}],'undos':[{'id':_0x44df92[_0x8cf470(0x538)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'type':_0x44df92[_0x8cf470(0x216)][_0x8cf470(0x366)],'op':_0x5cdb71,'objects':_0x364bf6}},{'id':_0x3c17ec[_0x8cf470(0x23b)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'shapeId':_0x3bc06b}}]};}['_updateTransform'](_0x347960,_0xeb8b5d,_0x4cd2a3,_0x45f776){const _0x3ca8ea=_0x3d4004;let {range:_0x395126,skeleton:_0x3367fb}=_0xeb8b5d,{range:_0x563522,skeleton:_0x5a326e}=_0x4cd2a3,{transform:_0x5f518c,sheetTransform:_0x136411}=_0x347960,_0x20d0a3={..._0x5f518c};if(_0x395126){let _0x459ad2=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x3367fb,_0x395126),_0x4d1c95=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x5a326e,_0x563522);if(_0x459ad2&&_0x4d1c95){let _0x3d021b=_0x4d1c95[_0x3ca8ea(0x2c9)]-_0x459ad2[_0x3ca8ea(0x2c9)],_0x554d1f=_0x4d1c95['startY']-_0x459ad2[_0x3ca8ea(0x26e)];_0x20d0a3['left']=(_0x20d0a3[_0x3ca8ea(0x26d)]??0x0)+_0x3d021b,_0x20d0a3['top']=(_0x20d0a3[_0x3ca8ea(0x35f)]??0x0)+_0x554d1f;}}else{let _0x13ac8c=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x5a326e,_0x563522);if(_0x45f776&&_0x13ac8c){let _0x26a150=(_0x20d0a3['left']??0x0)-_0x45f776[_0x3ca8ea(0x26d)],_0x1727b7=(_0x20d0a3[_0x3ca8ea(0x35f)]??0x0)-_0x45f776[_0x3ca8ea(0x35f)];_0x20d0a3[_0x3ca8ea(0x26d)]=_0x13ac8c[_0x3ca8ea(0x2c9)]+_0x26a150,_0x20d0a3[_0x3ca8ea(0x35f)]=_0x13ac8c[_0x3ca8ea(0x26e)]+_0x1727b7;}else _0x20d0a3[_0x3ca8ea(0x26d)]=_0x13ac8c==null?void 0x0:_0x13ac8c[_0x3ca8ea(0x2c9)],_0x20d0a3['top']=_0x13ac8c==null?void 0x0:_0x13ac8c['startY'];}return{'transform':_0x20d0a3,'sheetTransform':(0x0,_0x44df92['transformToDrawingPosition'])(_0x20d0a3,_0x5a326e)??_0x136411};}};_0xee7899=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x3a78b8[_0x3d4004(0x388)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x1f5)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x44df92[_0x3d4004(0x551)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x46d306['SheetsDrawingGroupCopyPasteController']))],_0xee7899);var _0x49344c=class extends _0x2e0941['Shape']{constructor(_0x28359e,_0x1bd54a){const _0x333c63=_0x3d4004;super(_0x28359e,_0x1bd54a),_0x212175(this,'_shapeId',null),_0x212175(this,'_index',null),_0x212175(this,_0x333c63(0x1d1),null),_0x212175(this,'_subUnitId',null),_0x212175(this,_0x333c63(0x53b),!0x1),_0x1bd54a&&this[_0x333c63(0x4af)](_0x1bd54a);}[_0x3d4004(0x289)](){const _0x55c070=_0x3d4004;return{'unitId':this[_0x55c070(0x1d1)],'subUnitId':this[_0x55c070(0x240)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x79a394){const _0x287d5f=_0x3d4004;_0x79a394[_0x287d5f(0x47c)]!==void 0x0&&(this['_shapeId']=_0x79a394[_0x287d5f(0x47c)]),_0x79a394['unitId']!==void 0x0&&(this[_0x287d5f(0x1d1)]=_0x79a394[_0x287d5f(0x3e5)]),_0x79a394[_0x287d5f(0x4c3)]!==void 0x0&&(this[_0x287d5f(0x240)]=_0x79a394[_0x287d5f(0x4c3)]),_0x79a394[_0x287d5f(0x261)]!==void 0x0&&(this[_0x287d5f(0x53b)]=_0x79a394[_0x287d5f(0x261)]),this['transformByState']({'width':_0x79a394[_0x287d5f(0x4ba)],'height':_0x79a394[_0x287d5f(0x3f0)]});}['_draw'](_0x47b095){const _0x1df71d=_0x3d4004;_0x2e0941[_0x1df71d(0x4be)][_0x1df71d(0x502)](_0x47b095,{'radius':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x525)],'fill':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x347)],'stroke':_0x36e36c[_0x1df71d(0x543)]['cxnPointStroke'],'strokeWidth':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x24d)],'evented':!0x0});}};let _0x458dcc=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x6763ba,_0x4a34dd,_0x98d35,_0x151f67,_0xe605fe,_0x39f9e9,_0x243729,_0x526d43){const _0x50e312=_0x3d4004;super(),this[_0x50e312(0x268)]=_0x6763ba,this[_0x50e312(0x2d4)]=_0x4a34dd,this[_0x50e312(0x35d)]=_0x98d35,this['_drawingManagerService']=_0x151f67,this['_univerInstanceService']=_0xe605fe,this[_0x50e312(0x341)]=_0x39f9e9,this[_0x50e312(0x3df)]=_0x243729,this[_0x50e312(0x23d)]=_0x526d43,_0x212175(this,_0x50e312(0x3a8),void 0x0),_0x212175(this,_0x50e312(0x1d1),void 0x0),_0x212175(this,'_subUnitId',void 0x0),_0x212175(this,'_connectorObjects',[]),_0x212175(this,_0x50e312(0x1e0),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x212175(this,'_activeShapeModel',void 0x0),_0x212175(this,_0x50e312(0x1da),!0x1),_0x212175(this,'_isDrawingShapePointDown',!0x1),_0x212175(this,_0x50e312(0x494),!0x1),_0x212175(this,'_cxtHandlerPointerMove',void 0x0),_0x212175(this,'_cxtHandlerPointerUp',void 0x0),_0x212175(this,_0x50e312(0x1e5),null),this[_0x50e312(0x1b9)]();}['_initialize'](){const _0x48fab1=_0x3d4004;this[_0x48fab1(0x471)](),this[_0x48fab1(0x2df)]();}[_0x3d4004(0x3a7)](){const _0x5dfffe=_0x3d4004;if(!this[_0x5dfffe(0x1d1)]||!this[_0x5dfffe(0x240)]||!this[_0x5dfffe(0x3a8)])return;let _0x46ae83={'unitId':this[_0x5dfffe(0x1d1)],'subUnitId':this[_0x5dfffe(0x240)],'drawingId':this[_0x5dfffe(0x3a8)]},{transform:_0x20a527}=this[_0x5dfffe(0x3a6)][_0x5dfffe(0x291)](_0x46ae83);if(_0x20a527)return{'left':_0x20a527[_0x5dfffe(0x26d)]||0x0,'top':_0x20a527['top']||0x0,'width':_0x20a527[_0x5dfffe(0x4ba)]||0x0,'height':_0x20a527['height']||0x0,'flipX':_0x20a527[_0x5dfffe(0x2a5)]||!0x1,'flipY':_0x20a527['flipY']||!0x1,'angle':_0x20a527[_0x5dfffe(0x228)]};}[_0x3d4004(0x53e)](){const _0x40d4da=_0x3d4004;if(this['_unitId']===void 0x0||this[_0x40d4da(0x240)]===void 0x0||this[_0x40d4da(0x3a8)]===void 0x0)return;let _0x12bae0=this[_0x40d4da(0x35d)][_0x40d4da(0x3ab)](this[_0x40d4da(0x1d1)]);if(!_0x12bae0||!_0x12bae0['with'](_0x5aa18a[_0x40d4da(0x555)])['getCurrentSkeleton']())return;let {scene:_0x426091}=_0x12bae0,_0x121857=this[_0x40d4da(0x3a7)]();if(!_0x121857)return;let _0x3a74ae=this[_0x40d4da(0x341)][_0x40d4da(0x453)](this[_0x40d4da(0x1d1)],this['_subUnitId'],this[_0x40d4da(0x3a8)]);if(!_0x3a74ae||!(0x0,_0x36e36c[_0x40d4da(0x52a)])(_0x3a74ae[_0x40d4da(0x3d1)]()))return;let _0xf30496=_0x3a74ae['getConnectorLinePoints']();if(_0xf30496[_0x40d4da(0x1ed)]<0x2)return;let _0x2ecd75=new _0x36e36c[(_0x40d4da(0x32f))](_0x121857),_0x44d2b3=_0xf30496[0x0],_0x3147d7=_0xf30496[_0xf30496[_0x40d4da(0x1ed)]-0x1],_0x26141e=_0x2ecd75[_0x40d4da(0x45d)](_0x44d2b3),_0x4dd9bb=_0x2ecd75[_0x40d4da(0x45d)](_0x3147d7);this['_addShapeConnectorHandlerObject'](_0x426091,{..._0x26141e},!0x0),this['_addShapeConnectorHandlerObject'](_0x426091,{..._0x4dd9bb},!0x1);}[_0x3d4004(0x398)](_0x58edbc,_0x331104,_0x3d5212){const _0x2d3517=_0x3d4004;if(this[_0x2d3517(0x3a8)]===void 0x0||this['_unitId']===void 0x0||this['_subUnitId']===void 0x0)return;let _0x3a3308=_0x2d3517(0x4b6)+this[_0x2d3517(0x1d1)]+'-'+this[_0x2d3517(0x240)]+'-'+this[_0x2d3517(0x3a8)]+'-'+(_0x3d5212?'start':'end'),_0x23285b=_0x58edbc['getObjectIncludeInGroup'](_0x3a3308);if(_0x23285b){_0x23285b[_0x2d3517(0x40d)]({'left':_0x331104['x']-_0x36e36c['ShapeDefaultConfig'][_0x2d3517(0x525)],'top':_0x331104['y']-_0x36e36c[_0x2d3517(0x543)][_0x2d3517(0x525)]});return;}let _0x1b3da0=new _0x49344c(_0x3a3308,{'left':_0x331104['x']-_0x36e36c['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x331104['y']-_0x36e36c['ShapeDefaultConfig'][_0x2d3517(0x525)],'shapeId':this[_0x2d3517(0x3a8)],'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x3d5212,'width':_0x36e36c['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x36e36c[_0x2d3517(0x543)][_0x2d3517(0x525)]*0x2,'zIndex':_0x2e0941[_0x2d3517(0x33e)]+0x1,'evented':!0x0});this[_0x2d3517(0x3b4)]['push'](_0x1b3da0),this['_attachConnectorObjectEvent'](_0x1b3da0,_0x58edbc,_0x3d5212),_0x58edbc[_0x2d3517(0x497)](_0x1b3da0,_0x2e0941[_0x2d3517(0x33e)]+0x1);}['_getScrollInfo'](_0x238768,_0x3d613e){const _0x5f3a4b=_0x3d4004;var _0x4feb82;let _0x4cf1d3={'x':0x0,'y':0x0};if(!_0x238768||!_0x3d613e)return _0x4cf1d3;let _0x141ec7=this[_0x5f3a4b(0x35d)][_0x5f3a4b(0x3ab)](_0x238768);if(!_0x141ec7||!_0x141ec7[_0x5f3a4b(0x33c)](_0x5aa18a[_0x5f3a4b(0x555)])[_0x5f3a4b(0x45c)](_0x3d613e))return _0x4cf1d3;let _0x2b9c16=_0x141ec7[_0x5f3a4b(0x33c)](_0x5aa18a[_0x5f3a4b(0x382)]),_0x3e95f1=_0x2b9c16==null?void 0x0:_0x2b9c16['getCurrentScrollState']();if(!_0x3e95f1)return _0x4cf1d3;let _0x3baa46=(_0x4feb82=this[_0x5f3a4b(0x1cc)][_0x5f3a4b(0x264)](_0x238768))==null?void 0x0:_0x4feb82[_0x5f3a4b(0x343)](_0x3d613e);if(!_0x3baa46)return _0x4cf1d3;let _0x2387c9=(0x0,_0x5aa18a['getViewportByCell'])(_0x3e95f1[_0x5f3a4b(0x30a)],_0x3e95f1['sheetViewStartColumn'],_0x141ec7[_0x5f3a4b(0x4f2)],_0x3baa46);return _0x2387c9?{'x':_0x2387c9[_0x5f3a4b(0x3bd)],'y':_0x2387c9['viewportScrollY']}:_0x4cf1d3;}['_getZoomRatio'](_0x421589,_0x4e4300){const _0x555fc9=_0x3d4004;var _0x2e9ad9;let _0x1e457e=(_0x2e9ad9=this[_0x555fc9(0x1cc)][_0x555fc9(0x264)](_0x421589))==null?void 0x0:_0x2e9ad9[_0x555fc9(0x343)](_0x4e4300);return(_0x1e457e==null?void 0x0:_0x1e457e['getZoomRatio']())??0x1;}['_handleConnectorPointerUp'](_0x1527ff,_0x3a9976,_0x5e36a7,_0x2b1f7b,_0x2dee91){const _0x5a3083=_0x3d4004;this[_0x5a3083(0x3fe)][_0x5a3083(0x205)](),this[_0x5a3083(0x2e0)][_0x5a3083(0x205)](),this['_sheetShapeAdjustController'][_0x5a3083(0x574)]();let _0x16b69e=this['_currentConnectionTarget'];this[_0x5a3083(0x23d)][_0x5a3083(0x28b)]();let _0x416251=this['_getScrollInfo'](this['_unitId'],this['_subUnitId']),_0x16a7fd=this['_getZoomRatio'](this[_0x5a3083(0x1d1)],this[_0x5a3083(0x240)]),_0x8135a6={'x':_0x5e36a7['offsetX']/_0x16a7fd+_0x416251['x'],'y':_0x5e36a7[_0x5a3083(0x4f6)]/_0x16a7fd+_0x416251['y']},_0xbacef0=_0x16b69e?_0x16b69e['worldPoint']:_0x8135a6,_0x5765cd=_0x2b1f7b?this['_activeShapeModel']['getEndConnectInfo']():this[_0x5a3083(0x34e)][_0x5a3083(0x41e)](),_0x58144=this[_0x5a3083(0x34e)][_0x5a3083(0x3d1)]();_0x5765cd?this['_handleConnectedEndpointPointerUp'](_0x5765cd,_0xbacef0,_0x2b1f7b,_0x16b69e,_0x2dee91):this['_handleFreeEndpointPointerUp'](_0x3a9976,_0xbacef0,_0x2b1f7b,_0x16b69e,_0x2dee91,_0x58144),this[_0x5a3083(0x1da)]=!0x1,this[_0x5a3083(0x494)]=!0x1,this[_0x5a3083(0x1e5)]=null,_0x1527ff[_0x5a3083(0x262)]();}[_0x3d4004(0x3b8)](_0x226a29,_0x105681,_0x389fd6,_0x21817c,_0x149ac0,_0x487283){const _0x57abba=_0x3d4004;let _0xa8269f=_0x487283===_0x36e36c[_0x57abba(0x3e0)]['Line']||_0x487283===_0x36e36c[_0x57abba(0x3e0)]['StraightConnector1'],_0x444185=_0x389fd6?_0x105681:_0x226a29,_0x15b92c=_0x389fd6?_0x226a29:_0x105681,_0x76cd7f=this[_0x57abba(0x34e)][_0x57abba(0x3db)](),_0x3df06a=this[_0x57abba(0x34e)][_0x57abba(0x3d1)](),_0xee75f0=(0x0,_0x36e36c['isCurvedConnectorShape'])(_0x3df06a),_0x15526a=_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x2f9)](_0x76cd7f,_0xee75f0),_0x25212b=_0xa8269f?_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x21d)](_0x444185,_0x15b92c):_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x353)](_0x226a29,_0x105681,_0x389fd6,_0x15526a);_0x21817c?this[_0x57abba(0x213)](_0x25212b,_0x21817c,_0x389fd6,_0x149ac0):this[_0x57abba(0x3aa)](_0x25212b,_0x149ac0);}[_0x3d4004(0x439)](_0x56312a,_0x2a9258,_0x1a8414,_0x2abcc2,_0x243109){const _0x1cac91=_0x3d4004;let _0x5b7747=this[_0x1cac91(0x278)](_0x56312a);if(!_0x5b7747)return;let _0x41f6f6=_0x2abcc2?_0x2abcc2['angle']:this['_calculateFreeEndpointAngle'](_0x5b7747['point'],_0x2a9258),_0x44971e;if(_0x2abcc2){let _0x354555=this[_0x1cac91(0x3a6)][_0x1cac91(0x291)]({'unitId':_0x2abcc2['unitId'],'subUnitId':_0x2abcc2[_0x1cac91(0x4c3)],'drawingId':_0x2abcc2[_0x1cac91(0x47c)]});if(_0x354555!=null&&_0x354555[_0x1cac91(0x3be)]){let {left:_0x42977d=0x0,top:_0x4d899a=0x0,width:_0x305bbc=0x0,height:_0x5ed1d6=0x0,angle:_0x24d78e}=_0x354555['transform'];_0x44971e=(0x0,_0x36e36c[_0x1cac91(0x303)])({'left':_0x42977d,'top':_0x4d899a,'width':_0x305bbc,'height':_0x5ed1d6},_0x24d78e||0x0);}else _0x44971e={'left':_0x2a9258['x'],'top':_0x2a9258['y'],'width':0x0,'height':0x0};}else _0x44971e={'left':_0x2a9258['x'],'top':_0x2a9258['y'],'width':0x0,'height':0x0};let _0x350380={'point':_0x2a9258,'angle':_0x41f6f6,'bounds':_0x44971e},_0x3b8ac8=_0x1a8414?_0x350380:_0x5b7747,_0x901a71=_0x1a8414?_0x5b7747:_0x350380,_0x4b537f=this[_0x1cac91(0x34e)][_0x1cac91(0x3d1)](),_0x1dfeeb=(0x0,_0x36e36c[_0x1cac91(0x2c0)])(_0x3b8ac8,_0x901a71,_0x4b537f);this[_0x1cac91(0x34e)][_0x1cac91(0x4c0)]();let _0x5768a6=(0x0,_0x36e36c['computeConnectorRouteLayout'])(_0x1dfeeb,_0x4b537f);_0x2abcc2?this[_0x1cac91(0x549)](_0x5768a6,_0x2abcc2,_0x56312a,_0x1a8414,_0x243109):this[_0x1cac91(0x2d5)](_0x5768a6,_0x56312a,_0x1a8414,_0x243109);}[_0x3d4004(0x213)](_0x27565c,_0x116927,_0xfac406,_0x56092f){const _0x35d9ba=_0x3d4004;let _0x2aaaf3=this['_activeShapeModel'][_0x35d9ba(0x313)]()['relation'],_0x5db8ae={..._0x2aaaf3},_0x47782c={'shapeId':_0x116927[_0x35d9ba(0x47c)],'cxnIndex':_0x116927['cxnIndex']};_0xfac406?_0x5db8ae[_0x35d9ba(0x4dd)]=_0x47782c:_0x5db8ae['to']=_0x47782c;let _0x527514=this[_0x35d9ba(0x34e)][_0x35d9ba(0x3d1)](),_0x44e399=(0x0,_0x36e36c[_0x35d9ba(0x2a6)])(_0x27565c[_0x35d9ba(0x345)],_0x527514),_0x57bdb6={'unitId':this[_0x35d9ba(0x1d1)],'subUnitId':this[_0x35d9ba(0x240)],'connectorShapeId':this[_0x35d9ba(0x3a8)],'width':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x4ba)],'height':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x3f0)],'left':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x26d)],'top':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x35f)],'flipX':_0x27565c['worldRect']['flipX']||!0x1,'flipY':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x46a)]||!0x1,'newAdjustValues':_0x44e399[_0x35d9ba(0x1bb)],'oldAdjustValues':_0x56092f,'oldRelation':_0x2aaaf3,'newRelation':_0x5db8ae,'newLineType':_0x44e399[_0x35d9ba(0x356)],'oldLineType':_0x527514};this[_0x35d9ba(0x2d4)][_0x35d9ba(0x447)](_0x3c17ec[_0x35d9ba(0x286)]['id'],_0x57bdb6);}[_0x3d4004(0x3aa)](_0x1c6b6e,_0x164106){const _0x461db2=_0x3d4004;let _0x23eda5=this['_activeShapeModel'][_0x461db2(0x3d1)](),_0x4f7eef=(0x0,_0x36e36c[_0x461db2(0x2a6)])(_0x1c6b6e[_0x461db2(0x345)],_0x23eda5),_0x567a78={'unitId':this[_0x461db2(0x1d1)],'subUnitId':this[_0x461db2(0x240)],'shapeId':this[_0x461db2(0x3a8)],'width':_0x1c6b6e['worldRect'][_0x461db2(0x4ba)],'height':_0x1c6b6e[_0x461db2(0x36f)]['height'],'left':_0x1c6b6e['worldRect']['left'],'top':_0x1c6b6e[_0x461db2(0x36f)][_0x461db2(0x35f)],'flipX':_0x1c6b6e[_0x461db2(0x36f)][_0x461db2(0x2a5)]||!0x1,'flipY':_0x1c6b6e['worldRect'][_0x461db2(0x46a)]||!0x1,'angle':_0x1c6b6e['worldRect']['angle']||0x0,'newAdjustValues':_0x4f7eef[_0x461db2(0x1bb)],'oldAdjustValues':_0x164106,'newLineType':_0x4f7eef[_0x461db2(0x356)],'oldLineType':_0x23eda5};this[_0x461db2(0x2d4)][_0x461db2(0x447)](_0x3c17ec[_0x461db2(0x42f)]['id'],_0x567a78);}[_0x3d4004(0x549)](_0x20c29d,_0x4a8d20,_0x373607,_0x232bd5,_0x367025){const _0x3bf530=_0x3d4004;let _0x5ad5a7=this[_0x3bf530(0x34e)][_0x3bf530(0x313)]()[_0x3bf530(0x44d)],_0x21b149={..._0x5ad5a7},_0x3ca28b={'shapeId':_0x4a8d20[_0x3bf530(0x47c)],'cxnIndex':_0x4a8d20[_0x3bf530(0x4b3)]};_0x232bd5?(_0x21b149['from']=_0x3ca28b,_0x21b149['to']=_0x373607):(_0x21b149['from']=_0x373607,_0x21b149['to']=_0x3ca28b);let _0x29a0a9={'unitId':this[_0x3bf530(0x1d1)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x3bf530(0x3a8)],'width':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x4ba)],'height':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x3f0)],'left':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x26d)],'top':_0x20c29d['worldRect']['top'],'flipX':_0x20c29d['worldRect'][_0x3bf530(0x2a5)]||!0x1,'flipY':_0x20c29d['worldRect'][_0x3bf530(0x46a)]||!0x1,'oldAdjustValues':_0x367025,'newAdjustValues':_0x20c29d[_0x3bf530(0x1bb)],'newLineType':_0x20c29d['lineType'],'rotation':_0x20c29d['rotation'],'oldRelation':_0x5ad5a7,'newRelation':_0x21b149};this[_0x3bf530(0x2d4)][_0x3bf530(0x447)](_0x3c17ec['UpdateConnectorRelationCommand']['id'],_0x29a0a9);}['_executeConnectedRouteResizeCommand'](_0x430933,_0x49ac26,_0x3531a8,_0x354bff){const _0x5ea792=_0x3d4004;let _0x1cfdfa=this[_0x5ea792(0x34e)][_0x5ea792(0x313)]()[_0x5ea792(0x44d)],_0x5298cf={};_0x3531a8?(_0x5298cf['to']=_0x49ac26,_0x5298cf['from']=void 0x0):(_0x5298cf[_0x5ea792(0x4dd)]=_0x49ac26,_0x5298cf['to']=void 0x0);let _0x50746a={'unitId':this[_0x5ea792(0x1d1)],'subUnitId':this[_0x5ea792(0x240)],'connectorShapeId':this[_0x5ea792(0x3a8)],'width':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x4ba)],'height':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x3f0)],'left':_0x430933[_0x5ea792(0x36f)]['left'],'top':_0x430933['worldRect'][_0x5ea792(0x35f)],'flipX':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x2a5)]||!0x1,'flipY':_0x430933[_0x5ea792(0x36f)]['flipY']||!0x1,'oldAdjustValues':_0x354bff,'newAdjustValues':_0x430933[_0x5ea792(0x1bb)],'newLineType':_0x430933[_0x5ea792(0x356)],'rotation':_0x430933[_0x5ea792(0x32b)],'oldRelation':_0x1cfdfa,'newRelation':_0x5298cf};this[_0x5ea792(0x2d4)]['executeCommand'](_0x3c17ec[_0x5ea792(0x286)]['id'],_0x50746a);}[_0x3d4004(0x51f)](_0x3e6206,_0x55a9e8,_0x994039){const _0x587ac8=_0x3d4004;this['disposeWithMe']((0x0,_0x20b6b2[_0x587ac8(0x3ae)])(_0x3e6206[_0x587ac8(0x4ad)]['subscribeEvent']((_0x22fafa,_0x4090dc)=>{const _0x30b7da=_0x587ac8;let _0x110828=_0x3e6206[_0x30b7da(0x289)]();if(this[_0x30b7da(0x34e)]=this[_0x30b7da(0x341)]['getShapeModel'](_0x110828[_0x30b7da(0x3e5)],_0x110828['subUnitId'],_0x110828[_0x30b7da(0x354)]),!this[_0x30b7da(0x34e)])return;let _0x1daafa={};this[_0x30b7da(0x34e)][_0x30b7da(0x460)]()[_0x30b7da(0x39d)](_0xacf4b5=>{const _0x1fd396=_0x30b7da;let _0x3de07b=this[_0x1fd396(0x34e)][_0x1fd396(0x22f)](_0xacf4b5);_0x3de07b!==void 0x0&&(_0x1daafa[_0xacf4b5]=_0x3de07b);});let _0xaf532b=this[_0x30b7da(0x3a7)]();if(!_0xaf532b)return;this[_0x30b7da(0x1e0)]={..._0xaf532b};let _0x2a3c0d=new _0x36e36c[(_0x30b7da(0x32f))](this[_0x30b7da(0x1e0)]),_0x540df8=(0x0,_0x3a44e9[_0x30b7da(0x2a1)])({'unitId':this['_unitId'],'subUnitId':this[_0x30b7da(0x240)],'drawingId':this[_0x30b7da(0x3a8)]}),_0x3ad7a5=_0x55a9e8['getObjectIncludeInGroup'](_0x540df8);this['_isConnecting']=!0x0,_0x55a9e8[_0x30b7da(0x514)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x55a9e8,this[_0x30b7da(0x1d1)],this['_subUnitId'],this[_0x30b7da(0x3a8)]),this[_0x30b7da(0x1e5)]=null;let _0x547e97=this[_0x30b7da(0x34e)]['getConnectorLinePoints'](),_0x4962d1=_0x547e97[0x0],_0x114e57=_0x547e97[_0x547e97['length']-0x1],_0x204a73=_0x994039?_0x2a3c0d['localToWorld'](_0x114e57):_0x2a3c0d[_0x30b7da(0x45d)](_0x4962d1);this[_0x30b7da(0x3fe)]=_0x55a9e8[_0x30b7da(0x2bd)][_0x30b7da(0x306)]((_0x22320f,_0xa5e9f1)=>{const _0x36bf3a=_0x30b7da;if(!this[_0x36bf3a(0x1da)]||!this['_activeShapeModel'])return;this['_hasReset']||=(this[_0x36bf3a(0x3df)]['clearAdjustControls'](),this[_0x36bf3a(0x34e)][_0x36bf3a(0x4ae)](),!0x0);let _0x3b8b3c=this[_0x36bf3a(0x28f)](this['_unitId'],this[_0x36bf3a(0x240)]),_0x54d72b=this[_0x36bf3a(0x373)](this[_0x36bf3a(0x1d1)],this['_subUnitId']),_0x2592f3={'x':_0x22320f[_0x36bf3a(0x539)]/_0x54d72b+_0x3b8b3c['x'],'y':_0x22320f[_0x36bf3a(0x4f6)]/_0x54d72b+_0x3b8b3c['y']},_0x4212bc=this[_0x36bf3a(0x23d)][_0x36bf3a(0x283)](_0x2592f3);if(_0x4212bc){let {shapeId:_0x6a4a17,unitId:_0x866f38,subUnitId:_0x218e79}=_0x4212bc;if(_0x6a4a17&&_0x866f38&&_0x218e79){let _0x159f1f=(0x0,_0x3a44e9[_0x36bf3a(0x2a1)])({'unitId':_0x866f38,'subUnitId':_0x218e79,'drawingId':_0x6a4a17});_0x4212bc[_0x36bf3a(0x228)]=(_0x55a9e8[_0x36bf3a(0x1fe)](_0x159f1f)[_0x36bf3a(0x228)]||0x0)+_0x4212bc[_0x36bf3a(0x228)];}}this['_currentConnectionTarget']=_0x4212bc;let _0x58d797=_0x994039?this[_0x36bf3a(0x34e)][_0x36bf3a(0x2d0)]():this[_0x36bf3a(0x34e)][_0x36bf3a(0x41e)]();if(_0x58d797){this[_0x36bf3a(0x1e1)](_0x58d797,_0x2592f3,_0x994039,_0x3ad7a5,_0x3e6206);return;}this[_0x36bf3a(0x55b)](_0x2592f3,_0x204a73,_0x994039,_0x3ad7a5,_0x3e6206);}),this[_0x30b7da(0x2e0)]=_0x55a9e8[_0x30b7da(0x421)][_0x30b7da(0x306)]((_0x4992eb,_0x4922db)=>{const _0x40307a=_0x30b7da;this[_0x40307a(0x418)](_0x55a9e8,_0x204a73,_0x4992eb,_0x994039,_0x1daafa);}),_0x4090dc[_0x30b7da(0x31e)]();})));}[_0x3d4004(0x58d)](_0x49473d,_0x5da8de,_0x5a26fe){const _0x21c448=_0x3d4004;let _0x46b9fd=this['_sheetsShapeService'][_0x21c448(0x2b0)](_0x49473d,_0x5da8de,_0x5a26fe);if(!_0x46b9fd||_0x46b9fd[_0x21c448(0x1ed)]===0x0)return;let _0x111c30=this['_renderManagerService'][_0x21c448(0x3ab)](_0x49473d);if(!_0x111c30)return;let {scene:_0x4cb780}=_0x111c30;for(let _0x2c5e8e of _0x46b9fd){let _0x133d2d=_0x2c5e8e['lineShapeId'],_0xb6ed1f=this[_0x21c448(0x341)]['getShapeModel'](_0x49473d,_0x5da8de,_0x133d2d);if(!_0xb6ed1f)continue;let _0x4f31e6=_0xb6ed1f[_0x21c448(0x41e)](),_0x517c01=_0xb6ed1f[_0x21c448(0x2d0)](),_0x452670=(_0x4f31e6==null?void 0x0:_0x4f31e6[_0x21c448(0x47c)])===_0x5a26fe,_0x50d6ca=(0x0,_0x3a44e9[_0x21c448(0x2a1)])({'unitId':_0x49473d,'subUnitId':_0x5da8de,'drawingId':_0x133d2d}),_0x223270=_0x4cb780['getObjectIncludeInGroup'](_0x50d6ca);if(!_0x223270)continue;let _0x35b00e=this[_0x21c448(0x3a6)][_0x21c448(0x291)]({'unitId':_0x49473d,'subUnitId':_0x5da8de,'drawingId':_0x133d2d});_0x35b00e!=null&&_0x35b00e['transform']&&(_0x4f31e6&&_0x517c01?this['_rerouteConnectorLine'](_0x49473d,_0x5da8de,_0x133d2d,_0xb6ed1f,_0x4f31e6,_0x517c01,_0x223270):this[_0x21c448(0x4d4)](_0x49473d,_0x5da8de,_0x133d2d,_0xb6ed1f,_0x452670?_0x4f31e6:_0x517c01,_0x452670,_0x35b00e,_0x223270));}}[_0x3d4004(0x2ba)](_0x544d3d,_0x209125,_0x3d0add,_0x3b7b1e,_0x2a31a4,_0x3cc1db,_0x5bc905){const _0x4b224d=_0x3d4004;let _0x1b8cbd=this['_unitId'],_0x188ad1=this[_0x4b224d(0x240)];this['_unitId']=_0x544d3d,this[_0x4b224d(0x240)]=_0x209125;let _0x21f160=this['_getConnectPointInfo'](_0x2a31a4),_0x17ecfb=this[_0x4b224d(0x278)](_0x3cc1db);if(this[_0x4b224d(0x1d1)]=_0x1b8cbd,this[_0x4b224d(0x240)]=_0x188ad1,!_0x21f160||!_0x17ecfb)return;let _0x4fcb6d=_0x3b7b1e[_0x4b224d(0x3d1)](),_0x2af76e=(0x0,_0x36e36c[_0x4b224d(0x2c0)])(_0x21f160,_0x17ecfb,_0x4fcb6d);_0x2af76e&&_0x3b7b1e[_0x4b224d(0x201)](_0x2af76e);let _0x37a0ad=(0x0,_0x36e36c[_0x4b224d(0x2a6)])(_0x2af76e,_0x4fcb6d);_0x37a0ad[_0x4b224d(0x356)]!==_0x4fcb6d&&_0x3b7b1e[_0x4b224d(0x4de)](_0x37a0ad['lineType']),_0x3b7b1e[_0x4b224d(0x4ae)]();for(let [_0x5ad201,_0xdec7ad]of Object[_0x4b224d(0x1bf)](_0x37a0ad[_0x4b224d(0x1bb)]))_0x3b7b1e[_0x4b224d(0x498)](_0x5ad201,_0xdec7ad);_0x3b7b1e['updateContext']({'width':_0x37a0ad[_0x4b224d(0x36f)]['width'],'height':_0x37a0ad[_0x4b224d(0x36f)]['height']}),_0x5bc905[_0x4b224d(0x40d)]({'flipX':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x2a5)],'flipY':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x46a)],'left':_0x37a0ad['worldRect']['left'],'top':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x35f)],'width':_0x37a0ad['worldRect'][_0x4b224d(0x4ba)],'height':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x3f0)],'angle':_0x37a0ad['rotation']}),_0x3b7b1e[_0x4b224d(0x4c0)]();}[_0x3d4004(0x4d4)](_0x37b31c,_0x141205,_0x5a4c01,_0x54b1d6,_0x3616e7,_0xfa80a4,_0x9a980,_0x1bd483){const _0xe3f412=_0x3d4004;let _0x3380e2=this['_unitId'],_0x2bc5c9=this[_0xe3f412(0x240)];this[_0xe3f412(0x1d1)]=_0x37b31c,this[_0xe3f412(0x240)]=_0x141205;let _0x6c5dfa=this[_0xe3f412(0x278)](_0x3616e7);if(this[_0xe3f412(0x1d1)]=_0x3380e2,this[_0xe3f412(0x240)]=_0x2bc5c9,!_0x6c5dfa)return;let {left:_0x11295d=0x0,top:_0x40b1fa=0x0,width:_0x1389df=0x0,height:_0x2beee1=0x0,flipX:_0x1704ba=!0x1,flipY:_0x32428a=!0x1}=_0x9a980[_0xe3f412(0x3be)],_0x43a08d=_0x54b1d6[_0xe3f412(0x3db)]();if(_0x43a08d[_0xe3f412(0x1ed)]<0x2)return;let _0x4e0ae4=new _0x36e36c['ConnectorCoordinateTransform']({'left':_0x11295d,'top':_0x40b1fa,'width':_0x1389df,'height':_0x2beee1,'flipX':_0x1704ba,'flipY':_0x32428a}),_0x454ab5=_0xfa80a4?_0x43a08d[_0x43a08d[_0xe3f412(0x1ed)]-0x1]:_0x43a08d[0x0],_0x245594=_0x4e0ae4[_0xe3f412(0x45d)](_0x454ab5),_0x1d56a8=_0x36e36c['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x245594,_0x6c5dfa['point'],!_0xfa80a4);_0x1bd483[_0xe3f412(0x40d)]({'flipX':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x2a5)],'flipY':_0x1d56a8['worldRect'][_0xe3f412(0x46a)],'left':_0x1d56a8['worldRect'][_0xe3f412(0x26d)],'top':_0x1d56a8['worldRect'][_0xe3f412(0x35f)],'width':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x4ba)],'height':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x3f0)],'angle':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x228)]}),_0x1bd483[_0xe3f412(0x537)](!0x0);}[_0x3d4004(0x433)](){const _0x9f3d58=_0x3d4004;this[_0x9f3d58(0x3b4)]['length']!==0x0&&(this[_0x9f3d58(0x3b4)]['forEach'](_0x4063c4=>{_0x4063c4['dispose']();}),this[_0x9f3d58(0x3b4)]=[]);}[_0x3d4004(0x2df)](){const _0xb35781=_0x3d4004;let _0x4f9eb2=this[_0xb35781(0x1cc)][_0xb35781(0x27a)](_0x20b6b2[_0xb35781(0x257)]['UNIVER_SHEET']);this[_0xb35781(0x301)](_0x4f9eb2[_0xb35781(0x259)]((0x0,_0x1008b8[_0xb35781(0x352)])(_0x1a8cdc=>_0x1a8cdc?_0x1a8cdc[_0xb35781(0x52c)][_0xb35781(0x259)]((0x0,_0x1008b8[_0xb35781(0x352)])(_0x4dd5c8=>{const _0x4c832f=_0xb35781;if(!_0x4dd5c8)return _0x1008b8[_0x4c832f(0x595)];let _0x251bf2=_0x1a8cdc[_0x4c832f(0x576)](),_0x5bc8a3=this[_0x4c832f(0x35d)][_0x4c832f(0x3ab)](_0x251bf2),_0x2e38f6=_0x5bc8a3==null?void 0x0:_0x5bc8a3['scene'];return _0x2e38f6?(0x0,_0x1008b8['of'])(_0x2e38f6):_0x1008b8[_0x4c832f(0x595)];})):_0x1008b8['EMPTY']))['subscribe'](_0x18980a=>{const _0x32d84d=_0xb35781;let _0x274803=_0x18980a[_0x32d84d(0x51e)]();this['disposeWithMe'](_0x18980a[_0x32d84d(0x2bd)][_0x32d84d(0x306)](_0x41925b=>{const _0x355cfb=_0x32d84d;this['_isDrawingShapePointDown']&&this[_0x355cfb(0x3a8)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x274803[_0x32d84d(0x2ad)][_0x32d84d(0x448)](_0x16a6ab=>{const _0x48733b=_0x32d84d;let {objects:_0x2b5577}=_0x16a6ab;this['_clearShapeConnectorHandlerObjects'](),_0x2b5577!==null&&_0x2b5577['size']===0x1&&_0x2b5577[_0x48733b(0x1ff)]()[_0x48733b(0x295)]()[_0x48733b(0x405)]instanceof _0x2caaad&&(this[_0x48733b(0x28a)]=!0x0);})),this[_0x32d84d(0x301)](_0x274803[_0x32d84d(0x326)][_0x32d84d(0x448)](_0x12e8b0=>{const _0x4642b9=_0x32d84d;this[_0x4642b9(0x28a)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x18980a['onPointerUp$']['subscribeEvent'](()=>{const _0x42e333=_0x32d84d;this[_0x42e333(0x28a)]&&(this[_0x42e333(0x28a)]=!0x1,this[_0x42e333(0x53e)]());})),this['disposeWithMe'](_0x274803[_0x32d84d(0x52b)][_0x32d84d(0x448)](()=>{const _0x237d8a=_0x32d84d;this['_unitId']&&this['_subUnitId']&&this['_activeShapeId']&&this[_0x237d8a(0x3a6)]['getDrawingByParam']({'unitId':this[_0x237d8a(0x1d1)],'subUnitId':this[_0x237d8a(0x240)],'drawingId':this[_0x237d8a(0x3a8)]})&&(this[_0x237d8a(0x433)](),this[_0x237d8a(0x53e)]());}));}));}[_0x3d4004(0x471)](){const _0x200fb3=_0x3d4004;this[_0x200fb3(0x301)](this[_0x200fb3(0x3a6)][_0x200fb3(0x47d)][_0x200fb3(0x448)](_0x4ad1ee=>{const _0x261d9b=_0x200fb3;if(_0x4ad1ee[_0x261d9b(0x1ed)]===0x1){let _0x1c1c6c=_0x4ad1ee[0x0];if(_0x1c1c6c['drawingType']===_0x20b6b2['DrawingTypeEnum'][_0x261d9b(0x364)]){let _0x13e8bf=this[_0x261d9b(0x341)][_0x261d9b(0x453)](_0x1c1c6c[_0x261d9b(0x3e5)],_0x1c1c6c[_0x261d9b(0x4c3)],_0x1c1c6c[_0x261d9b(0x354)]);if(_0x13e8bf&&(0x0,_0x36e36c[_0x261d9b(0x52a)])(_0x13e8bf[_0x261d9b(0x3d1)]())){this[_0x261d9b(0x3a8)]=_0x1c1c6c['drawingId'],this[_0x261d9b(0x1d1)]=_0x1c1c6c[_0x261d9b(0x3e5)],this[_0x261d9b(0x240)]=_0x1c1c6c['subUnitId'],this[_0x261d9b(0x433)](),this[_0x261d9b(0x53e)]();return;}}}this[_0x261d9b(0x3a8)]=void 0x0,this['_unitId']=void 0x0,this[_0x261d9b(0x240)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](this[_0x200fb3(0x3a6)][_0x200fb3(0x20a)][_0x200fb3(0x448)](_0x4bf81e=>{const _0x5dc539=_0x200fb3;if(_0x4bf81e[_0x5dc539(0x1ed)]===0x1){var _0x5b88ac;let _0x11cc58=_0x4bf81e[0x0],_0x1afe11=(_0x5b88ac=this[_0x5dc539(0x3a6)][_0x5dc539(0x291)](_0x11cc58))==null?void 0x0:_0x5b88ac[_0x5dc539(0x2c8)];_0x1afe11===_0x20b6b2[_0x5dc539(0x284)][_0x5dc539(0x364)]&&_0x11cc58['drawingId']===this['_activeShapeId']?(this[_0x5dc539(0x433)](),this[_0x5dc539(0x53e)]()):!this['_activeShapeId']&&_0x1afe11===_0x20b6b2['DrawingTypeEnum'][_0x5dc539(0x364)]&&this[_0x5dc539(0x58d)](_0x11cc58['unitId'],_0x11cc58[_0x5dc539(0x4c3)],_0x11cc58[_0x5dc539(0x354)]);}})),this[_0x200fb3(0x301)](this['_drawingManagerService'][_0x200fb3(0x52d)]['subscribe'](_0x3fc840=>{const _0x5c6056=_0x200fb3;for(let _0x30d2b7 of _0x3fc840){let {drawingId:_0x40ec49}=_0x30d2b7;if(this[_0x5c6056(0x3a8)]===_0x40ec49){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x227de4,_0x3b093c,_0x1d6f9f,_0x44b21a,_0xbc6a62){const _0x206118=_0x3d4004;var _0xa53bc1;if(!this['_activeShapeModel'])return;let _0x2bd342=this[_0x206118(0x278)](_0x227de4);if(!_0x2bd342)return;let _0x347fe1=this[_0x206118(0x1e5)]?this[_0x206118(0x1e5)]['worldPoint']:_0x3b093c,_0x236247=this[_0x206118(0x1e5)]?this[_0x206118(0x1e5)][_0x206118(0x228)]:this['_calculateFreeEndpointAngle'](_0x2bd342[_0x206118(0x2c7)],_0x347fe1),_0x26eb05;if(this[_0x206118(0x1e5)]){let _0x2b300a=this['_drawingManagerService'][_0x206118(0x291)]({'unitId':this['_currentConnectionTarget']['unitId'],'subUnitId':this['_currentConnectionTarget'][_0x206118(0x4c3)],'drawingId':this['_currentConnectionTarget'][_0x206118(0x47c)]});if(_0x2b300a!=null&&_0x2b300a['transform']){let {left:_0x519ad5=0x0,top:_0x360cfc=0x0,width:_0x3f2033=0x0,height:_0x2843f0=0x0,angle:_0x58e68b}=_0x2b300a[_0x206118(0x3be)];_0x26eb05=(0x0,_0x36e36c[_0x206118(0x303)])({'left':_0x519ad5,'top':_0x360cfc,'width':_0x3f2033,'height':_0x2843f0},_0x58e68b||0x0);}else _0x26eb05={'left':_0x347fe1['x'],'top':_0x347fe1['y'],'width':0x0,'height':0x0};}else _0x26eb05={'left':_0x347fe1['x'],'top':_0x347fe1['y'],'width':0x0,'height':0x0};let _0x2510a7={'point':_0x347fe1,'angle':_0x236247,'bounds':_0x26eb05},_0x3e719a=_0x1d6f9f?_0x2510a7:_0x2bd342,_0x1265c5=_0x1d6f9f?_0x2bd342:_0x2510a7,_0x9837f6=this[_0x206118(0x34e)][_0x206118(0x3d1)](),_0x3a33c9=(0x0,_0x36e36c[_0x206118(0x2c0)])(_0x3e719a,_0x1265c5,_0x9837f6);_0x3a33c9&&this[_0x206118(0x34e)][_0x206118(0x201)](_0x3a33c9);let _0x3b174b=(0x0,_0x36e36c[_0x206118(0x2a6)])(_0x3a33c9,_0x9837f6);_0x3b174b['lineType']!==_0x9837f6&&this['_activeShapeModel'][_0x206118(0x4de)](_0x3b174b[_0x206118(0x356)]);for(let [_0x5bb999,_0x48f55c]of Object[_0x206118(0x1bf)](_0x3b174b[_0x206118(0x1bb)]))this['_activeShapeModel']['setAdjustValueByName'](_0x5bb999,_0x48f55c);this[_0x206118(0x34e)]['updateContext']({'width':_0x3b174b['worldRect'][_0x206118(0x4ba)],'height':_0x3b174b['worldRect'][_0x206118(0x3f0)]}),_0x44b21a[_0x206118(0x40d)]({'flipX':_0x3b174b[_0x206118(0x36f)]['flipX'],'flipY':_0x3b174b['worldRect'][_0x206118(0x46a)],'left':_0x3b174b[_0x206118(0x36f)][_0x206118(0x26d)],'top':_0x3b174b['worldRect'][_0x206118(0x35f)],'width':_0x3b174b[_0x206118(0x36f)]['width'],'height':_0x3b174b['worldRect'][_0x206118(0x3f0)],'angle':_0x3b174b['rotation']}),_0x44b21a[_0x206118(0x537)](!0x0);let _0xc3fb07=((_0xa53bc1=this[_0x206118(0x1e5)])==null?void 0x0:_0xa53bc1[_0x206118(0x1ca)])??_0x3b093c;_0xbc6a62['transformByState']({'left':_0xc3fb07['x']-_0x36e36c[_0x206118(0x543)][_0x206118(0x525)],'top':_0xc3fb07['y']-_0x36e36c[_0x206118(0x543)]['cxnPointRadius']});}['_handleFreeEndpointMove'](_0x3900cb,_0x1f7e37,_0x22c598,_0x25582f,_0x2182e9){const _0x1fde6d=_0x3d4004;var _0xb6e5f9,_0x36e311;let _0x1d567b=((_0xb6e5f9=this[_0x1fde6d(0x1e5)])==null?void 0x0:_0xb6e5f9['worldPoint'])??_0x3900cb,_0x541eea=_0x36e36c[_0x1fde6d(0x32f)]['computeConnectorResizeLayout'](_0x1f7e37,_0x1d567b,_0x22c598);_0x25582f[_0x1fde6d(0x40d)]({'flipX':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x2a5)],'flipY':_0x541eea[_0x1fde6d(0x36f)]['flipY'],'left':_0x541eea['worldRect'][_0x1fde6d(0x26d)],'top':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x35f)],'width':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x4ba)],'height':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x3f0)],'angle':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x228)]});let _0x42d3d6=((_0x36e311=this[_0x1fde6d(0x1e5)])==null?void 0x0:_0x36e311['worldPoint'])??_0x3900cb;_0x2182e9['transformByState']({'left':_0x42d3d6['x']-_0x36e36c[_0x1fde6d(0x543)][_0x1fde6d(0x525)],'top':_0x42d3d6['y']-_0x36e36c[_0x1fde6d(0x543)][_0x1fde6d(0x525)]});}[_0x3d4004(0x278)](_0x43c1bc){const _0x55bfa4=_0x3d4004;if(!this['_unitId']||!this[_0x55bfa4(0x240)])return null;let {shapeId:_0x20497c,cxnIndex:_0x4fb475}=_0x43c1bc,_0x5ccf47=this[_0x55bfa4(0x341)][_0x55bfa4(0x453)](this[_0x55bfa4(0x1d1)],this['_subUnitId'],_0x20497c);if(!_0x5ccf47)return null;let _0x3dd3fc=this['_drawingManagerService'][_0x55bfa4(0x291)]({'unitId':this[_0x55bfa4(0x1d1)],'subUnitId':this[_0x55bfa4(0x240)],'drawingId':_0x20497c});if(!(_0x3dd3fc!=null&&_0x3dd3fc[_0x55bfa4(0x3be)]))return null;let {left:_0x4ee253=0x0,top:_0x2d1aef=0x0,width:_0x2e7849=0x0,height:_0x53b96a=0x0,flipX:_0x15ee19=!0x1,flipY:_0x517b14=!0x1,angle:_0x403785}=_0x3dd3fc[_0x55bfa4(0x3be)];_0x5ccf47[_0x55bfa4(0x4d2)]({'width':_0x2e7849,'height':_0x53b96a});let _0x52ce60=_0x5ccf47[_0x55bfa4(0x33f)]()[_0x55bfa4(0x1f4)](_0x4d028f=>_0x4d028f[_0x55bfa4(0x55f)]===_0x4fb475);if(!_0x52ce60)return null;let _0x1d2af9=_0x15ee19?_0x2e7849-_0x52ce60['x']:_0x52ce60['x'],_0x568ffb=_0x517b14?_0x53b96a-_0x52ce60['y']:_0x52ce60['y'];if(_0x403785!==0x0&&_0x403785!=null){let _0x3695ab=_0x403785*Math['PI']/0xb4,_0x1038d9=Math['cos'](_0x3695ab),_0x7b94c2=Math['sin'](_0x3695ab),_0x381e44=_0x2e7849/0x2,_0x1b47af=_0x53b96a/0x2,_0x47f14d=_0x1d2af9-_0x381e44,_0x116891=_0x568ffb-_0x1b47af;_0x1d2af9=_0x381e44+_0x47f14d*_0x1038d9-_0x116891*_0x7b94c2,_0x568ffb=_0x1b47af+_0x47f14d*_0x7b94c2+_0x116891*_0x1038d9;}_0x1d2af9+=_0x4ee253,_0x568ffb+=_0x2d1aef;let _0xc41641=_0x52ce60[_0x55bfa4(0x3ca)]/0xea60;_0x15ee19&&(_0xc41641=0xb4-_0xc41641),_0x517b14&&(_0xc41641=-_0xc41641),_0xc41641+=_0x403785||0x0,_0xc41641=(_0xc41641%0x168+0x168)%0x168;let _0x22c658=(0x0,_0x36e36c['getBasicShapeRotateBound'])({'left':_0x4ee253,'top':_0x2d1aef,'width':_0x2e7849,'height':_0x53b96a},_0x403785||0x0);return{'point':{'x':_0x1d2af9,'y':_0x568ffb},'angle':_0xc41641,'bounds':_0x22c658};}[_0x3d4004(0x4aa)](_0x1ff4c0,_0x4a84dd){const _0x12f5bb=_0x3d4004;let _0x454e86=_0x4a84dd['x']-_0x1ff4c0['x'],_0x17f504=_0x4a84dd['y']-_0x1ff4c0['y'];return Math[_0x12f5bb(0x337)](_0x454e86)>=Math['abs'](_0x17f504)?_0x454e86>=0x0?0xb4:0x0:_0x17f504>=0x0?0x10e:0x5a;}[_0x3d4004(0x519)](){const _0x32d658=_0x3d4004;this[_0x32d658(0x3a8)]=void 0x0,this['_unitId']=void 0x0,this[_0x32d658(0x240)]=void 0x0,this[_0x32d658(0x433)]();}['dispose'](){const _0x1fde0a=_0x3d4004;this[_0x1fde0a(0x433)](),super[_0x1fde0a(0x4fe)]();}};_0x458dcc=_0x3a2391([_0x4a972c(0x1,_0x20b6b2['ICommandService']),_0x4a972c(0x2,_0x2e0941['IRenderManagerService']),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x6,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x42bfec)),_0x4a972c(0x7,(0x0,_0x20b6b2['Inject'])(_0x1dbb70))],_0x458dcc);let _0xbfbedc=class extends _0x20b6b2['Disposable']{constructor(_0xeddba2,_0x329e56,_0x45dd86){const _0x16719a=_0x3d4004;super(),this[_0x16719a(0x361)]=_0xeddba2,this[_0x16719a(0x3a6)]=_0x329e56,this['_shapeRenderController']=_0x45dd86,this[_0x16719a(0x561)]();}[_0x3d4004(0x561)](){const _0x56b718=_0x3d4004;this[_0x56b718(0x301)](this[_0x56b718(0x361)][_0x56b718(0x1c1)][_0x56b718(0x594)](this['_sheetPrintInterceptorService']['interceptor']['getInterceptPoints']()[_0x56b718(0x3ac)],{'handler':(_0x519ac0,_0x516d3f,_0x12be62)=>{const _0x1edb06=_0x56b718;var _0x41828f;let {unitId:_0x4f1bbc,subUnitId:_0xa45735,scene:_0x456a70,resourceCollector:_0x2f5a4a}=_0x516d3f,_0x33a641=(_0x41828f=this[_0x1edb06(0x3a6)]['getDrawingDataForUnit'](_0x4f1bbc))==null?void 0x0:_0x41828f[_0xa45735];return _0x33a641==null||_0x33a641[_0x1edb06(0x3bb)][_0x1edb06(0x39d)](_0x2157e6=>{const _0x22651c=_0x1edb06;let _0x2b61c1=_0x33a641[_0x22651c(0x3fd)][_0x2157e6];_0x2b61c1[_0x22651c(0x2c8)]===_0x20b6b2[_0x22651c(0x284)]['DRAWING_SHAPE']&&!_0x2b61c1['hidden']&&this[_0x22651c(0x4ef)][_0x22651c(0x3c6)](_0x2b61c1,_0x456a70,{'resourceCollector':_0x2f5a4a});}),_0x12be62(_0x519ac0);}}));}};_0xbfbedc=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x258)])),_0x4a972c(0x1,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87))],_0xbfbedc);let _0x3a9578=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x1b9b84,_0x1caf7a,_0x19522a){const _0x4cdc59=_0x3d4004;super(),this[_0x4cdc59(0x2d4)]=_0x1b9b84,this[_0x4cdc59(0x564)]=_0x1caf7a,this['_sheetPermissionCheckController']=_0x19522a,this[_0x4cdc59(0x504)]();}[_0x3d4004(0x504)](){const _0x5e510d=_0x3d4004;this[_0x5e510d(0x301)](this[_0x5e510d(0x2d4)][_0x5e510d(0x499)](_0x391da4=>{const _0x239df5=_0x5e510d;let _0x3a1a81,_0x5c5916;if(_0x391da4['id']===_0x3c17ec[_0x239df5(0x233)]['id']||_0x391da4['id']===_0x3c17ec[_0x239df5(0x329)]['id']||_0x391da4['id']===_0x3c17ec[_0x239df5(0x286)]['id']){let _0x285929=_0x391da4[_0x239df5(0x342)];_0x3a1a81=_0x285929[_0x239df5(0x3e5)],_0x5c5916=_0x285929[_0x239df5(0x4c3)];}_0x3a1a81&&_0x5c5916&&(this[_0x239df5(0x4cf)]['permissionCheckWithoutRange']({'workbookTypes':[_0x3a78b8['WorkbookEditablePermission']],'worksheetTypes':[_0x3a78b8[_0x239df5(0x417)]]},_0x3a1a81,_0x5c5916)||this[_0x239df5(0x4cf)][_0x239df5(0x32d)](this[_0x239df5(0x564)]['t'](_0x239df5(0x2d2))));}));}};_0x3a9578=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x20b6b2[_0x3d4004(0x38e)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2['LocaleService'])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a78b8[_0x3d4004(0x513)]))],_0x3a9578);let _0x51ef2a=class{constructor(_0x3b1b4f){const _0x10ad97=_0x3d4004;this[_0x10ad97(0x35d)]=_0x3b1b4f;}[_0x3d4004(0x49d)](_0x2231f9,_0x4ed178){const _0x22f774=_0x3d4004;let _0x5fd3fc=this['_renderManagerService'][_0x22f774(0x3ab)](_0x2231f9[_0x22f774(0x3e5)]),_0x56023d=_0x5fd3fc==null?void 0x0:_0x5fd3fc[_0x22f774(0x4f2)];if(!_0x56023d)return;let _0x179fe1=(0x0,_0x3a44e9[_0x22f774(0x2a1)])(_0x2231f9),_0x4ea9fa=_0x56023d[_0x22f774(0x1fe)](_0x179fe1);_0x4ea9fa==null||_0x4ea9fa[_0x22f774(0x2f5)](_0x4ed178);}};_0x51ef2a=_0x3a2391([_0x4a972c(0x0,_0x2e0941[_0x3d4004(0x565)])],_0x51ef2a);let _0x5d2ab2=class extends _0x20b6b2[_0x3d4004(0x381)]{constructor(_0x35e211=_0x455ea6,_0x2615f0,_0xecc0d7,_0x91db64,_0x3fef51){const _0x18f027=_0x3d4004;super(),this[_0x18f027(0x3f4)]=_0x35e211,this[_0x18f027(0x23c)]=_0x2615f0,this[_0x18f027(0x2d4)]=_0xecc0d7,this[_0x18f027(0x204)]=_0x91db64,this[_0x18f027(0x35d)]=_0x3fef51;let {..._0x5d8a62}=(0x0,_0x20b6b2['merge'])({},_0x455ea6,this[_0x18f027(0x3f4)]);this[_0x18f027(0x204)][_0x18f027(0x1b3)](_0xa54229,_0x5d8a62),this[_0x18f027(0x423)]();}[_0x3d4004(0x57d)](){const _0x1f0b78=_0x3d4004;this[_0x1f0b78(0x23c)][_0x1f0b78(0x2e9)]([_0x22684c]),this[_0x1f0b78(0x23c)]['get'](_0x22684c),(0x0,_0x20b6b2[_0x1f0b78(0x316)])(this['_injector'],[[_0x4340f2],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578]]);}[_0x3d4004(0x277)](){const _0x5b2514=_0x3d4004;(0x0,_0x20b6b2[_0x5b2514(0x316)])(this[_0x5b2514(0x23c)],[[_0x1dbb70],[_0x42bfec],[_0xee7899]]),(0x0,_0x20b6b2[_0x5b2514(0x2c3)])(this['_injector'],[[_0xee7899],[_0x42bfec]]),[[_0x1dbb70],[_0x5828c7],[_0x458dcc],[_0x24093a]][_0x5b2514(0x39d)](_0x4f70da=>{const _0x3a4f61=_0x5b2514;this[_0x3a4f61(0x301)](this[_0x3a4f61(0x35d)][_0x3a4f61(0x255)](_0x20b6b2[_0x3a4f61(0x257)][_0x3a4f61(0x2bb)],_0x4f70da));});}[_0x3d4004(0x487)](){const _0x121189=_0x3d4004;(0x0,_0x20b6b2[_0x121189(0x2c3)])(this[_0x121189(0x23c)],[[_0x4340f2],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578]]);}[_0x3d4004(0x43d)](){const _0x145cb2=_0x3d4004;this[_0x145cb2(0x23c)][_0x145cb2(0x584)](_0x4340f2)[_0x145cb2(0x325)]();}[_0x3d4004(0x423)](){const _0x400e98=_0x3d4004;[_0x4e8acc,_0x34371e,_0x473d36,_0x6604f2][_0x400e98(0x39d)](_0x49de2a=>this[_0x400e98(0x301)](this[_0x400e98(0x2d4)]['registerCommand'](_0x49de2a)));}};_0x212175(_0x5d2ab2,_0x3d4004(0x541),_0x20b6b2[_0x3d4004(0x257)][_0x3d4004(0x2bb)]),_0x212175(_0x5d2ab2,'pluginName',_0x3d4004(0x2c2)),_0x212175(_0x5d2ab2,'packageName',_0x309058),_0x212175(_0x5d2ab2,_0x3d4004(0x378),_0x28c5e3),_0x5d2ab2=_0x3a2391([(0x0,_0x20b6b2[_0x3d4004(0x225)])(_0x30dca3['UniverLicensePlugin'],_0x331b83[_0x3d4004(0x562)],_0x3a44e9[_0x3d4004(0x389)],_0x2e0941[_0x3d4004(0x315)],_0x3a78b8['UniverSheetsPlugin'],_0x58ef02[_0x3d4004(0x27f)],_0x44df92['UniverSheetsDrawingPlugin'],_0x590e75[_0x3d4004(0x2c4)],_0x46d306[_0x3d4004(0x235)],_0x3c17ec[_0x3d4004(0x335)],_0x5aa18a['UniverSheetsMobileUIPlugin'],_0x21b2c0[_0x3d4004(0x38c)],_0xc5cac3['UniverMobileUIPlugin']),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x30b)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x20b6b2['IConfigService']),_0x4a972c(0x4,_0x2e0941[_0x3d4004(0x565)])],_0x5d2ab2);let _0x2229a4={'type':_0x20b6b2[_0x3d4004(0x22e)]['OPERATION'],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x57efc1(){const _0x284377=_0x3d4004;let _0x101f65=(0x0,_0xc5cac3[_0x284377(0x48e)])(_0x3a44e9[_0x284377(0x567)]),_0xd4f978=(0x0,_0xc5cac3[_0x284377(0x41a)])(()=>_0x101f65[_0x284377(0x47d)],_0x101f65['getFocusDrawings'](),!0x1,[_0x101f65]);return _0xd4f978[_0x284377(0x1ed)]===0x0?null:(0x0,_0x132e2c[_0x284377(0x305)])('div',{'children':(0x0,_0x132e2c[_0x284377(0x50e)])('div',{'className':_0x284377(0x55e),'children':[(0x0,_0x132e2c[_0x284377(0x305)])(_0x42ecb7[_0x284377(0x28e)],{'drawings':_0xd4f978,'hasCropper':!0x1}),(0x0,_0x132e2c['jsx'])(_0x46d306['SheetDrawingAnchor'],{'drawings':_0xd4f978})]})});}function _0x5a13e9(_0x11e96d){const _0x290e8f=_0x3d4004;let {unitId:_0x1e3f2b,subUnitId:_0x1cd086,shapeId:_0x28ca1e}=_0x11e96d,_0x28f094=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x290e8f(0x38e)]),_0x41691f=(0x0,_0xc5cac3['useDependency'])(_0x51ef2a);return(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeEditPanel'],{..._0x11e96d,'positionEditor':(0x0,_0x132e2c['jsx'])(_0x57efc1,{}),'onUpdateShapeData':(_0xe61191,_0x2b321e)=>{_0x118498(_0x28f094,_0x1e3f2b,_0x1cd086,_0x28ca1e,_0xe61191,_0x2b321e);},'onUpdateLineShapeData':(_0x136198,_0x1e33d2)=>{_0x2c1624(_0x28f094,_0x1e3f2b,_0x1cd086,_0x28ca1e,_0x136198,_0x1e33d2);},'onUpdateShapeFillImage':_0x189ed8=>{const _0x24440d=_0x290e8f;_0x41691f[_0x24440d(0x49d)]({'unitId':_0x1e3f2b,'subUnitId':_0x1cd086,'drawingId':_0x28ca1e},_0x189ed8);}});}function _0x927e02(_0x3f0a62){const _0x1452a5=_0x3d4004;let _0x5d34c4=(0x0,_0xc5cac3['useDependency'])(_0x21b2c0[_0x1452a5(0x365)]),_0x8cfc88=(0x0,_0xc5cac3[_0x1452a5(0x41a)])(()=>_0x5d34c4[_0x1452a5(0x506)],_0x5d34c4['getVisible'](),!0x1,[_0x5d34c4]),_0x19dfca=_0x3f0a62[_0x1452a5(0x4c9)][_0x1452a5(0x58e)];return!_0x19dfca||!_0x8cfc88?null:(0x0,_0x132e2c[_0x1452a5(0x305)])(_0x1f2bda,{..._0x19dfca,'canvasElement':_0x3f0a62['popup']['canvasElement']});}function _0x1f2bda(_0x561053){const _0x3e6914=_0x3d4004;let _0x41d91b=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x3e6914(0x38e)]),_0x232814=(0x0,_0xc5cac3[_0x3e6914(0x48e)])(_0x3c17ec['SheetsShapeService']),{unitId:_0x5b903d,subUnitId:_0x3bc7ec,drawingId:_0x2cc5ad,drawingType:_0x139fc9,shapeType:_0x151845}=_0x561053,[_0x251b83,_0x2f0fb0]=(0x0,_0x1009cf['useState'])(_0x561053['shapeData']),_0x4a4685=(0x0,_0x1009cf[_0x3e6914(0x3e8)])(()=>(0x0,_0x21b2c0[_0x3e6914(0x2a2)])(_0x251b83),[_0x251b83]),_0x143ed3=(0x0,_0x1009cf['useMemo'])(()=>(0x0,_0x21b2c0['getTextModel'])(_0x251b83),[_0x251b83]);(0x0,_0x1009cf[_0x3e6914(0x42b)])(()=>{const _0x505c35=_0x3e6914;let _0x566156=_0x41d91b[_0x505c35(0x47a)](_0x504831=>{const _0x21766d=_0x505c35;if(_0x504831['id']!==_0x3c17ec[_0x21766d(0x1fa)]['id'])return;let _0x2a2aeb=_0x232814[_0x21766d(0x51d)](_0x5b903d,_0x3bc7ec,_0x2cc5ad);_0x2a2aeb&&_0x2f0fb0(_0x2a2aeb);});return()=>_0x566156[_0x505c35(0x4fe)]();},[_0x41d91b,_0x2cc5ad,_0x232814,_0x3bc7ec,_0x5b903d]);let _0x1f3a4c=_0x14b66f=>{_0x2f0fb0(_0x5d94dc=>({..._0x5d94dc,..._0x14b66f}));},_0x209bb6=_0x304455=>{const _0x188668=_0x3e6914;let _0x27761c=(0x0,_0x21b2c0[_0x188668(0x452)])(_0x251b83,_0x304455);_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,{'oldShapeData':{'shapeText':_0x251b83[_0x188668(0x4d3)]}},_0x27761c),_0x1f3a4c(_0x27761c);},_0x2f4b7f=(0x0,_0x21b2c0['useFormulaShapeToolbar'])({'hostType':_0x20b6b2[_0x3e6914(0x257)][_0x3e6914(0x2bb)],'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'shapeId':_0x2cc5ad,'shapeData':_0x251b83,'onUpdateBinding':_0x2e86d7=>{const _0x17123f=_0x3e6914;let _0x9d5526={'formulaBinding':_0x2e86d7};_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,{'oldShapeData':{'formulaBinding':_0x251b83[_0x17123f(0x1b7)]}},_0x9d5526),_0x1f3a4c(_0x9d5526);}});return(0x0,_0x132e2c[_0x3e6914(0x50e)])(_0x132e2c[_0x3e6914(0x4c2)],{'children':[(0x0,_0x132e2c[_0x3e6914(0x305)])(_0x21b2c0[_0x3e6914(0x35c)],{'canvasElement':_0x561053[_0x3e6914(0x256)],'shapeData':_0x251b83,'shapeType':_0x151845,'textStyle':{'ff':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4d3)][_0x3e6914(0x300)],'fs':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4d3)][_0x3e6914(0x3af)],'cl':{'rgb':_0x36e36c[_0x3e6914(0x543)]['shapeText'][_0x3e6914(0x40a)]},..._0x4a4685},'textModel':_0x143ed3?{'ha':_0x143ed3['ha']??_0x20b6b2['HorizontalAlign'][_0x3e6914(0x2a7)],'va':_0x143ed3['va']??_0x20b6b2[_0x3e6914(0x4b0)][_0x3e6914(0x3ef)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x55a)],'defaultGradientEndColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x232)],'defaultStrokeColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4a4)],'extensionGroups':_0x2f4b7f['extensionGroups'],'floatingObjectToolbarPosition':_0xc5cac3['FloatingObjectToolbarPosition'][_0x3e6914(0x2ef)],'onUpdateShapeData':(_0x4c8c38,_0x129d75)=>{_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,_0x4c8c38,_0x129d75),_0x129d75&&_0x1f3a4c(_0x129d75);},'onUpdateText':_0x209bb6,'onOpenPanel':()=>{const _0x3fc435=_0x3e6914;_0x41d91b[_0x3fc435(0x447)](_0x2f6589['id'],{'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'drawingId':_0x2cc5ad});},'onDelete':()=>{const _0x350691=_0x3e6914;_0x41d91b['executeCommand'](_0x44df92[_0x350691(0x2de)]['id'],{'unitId':_0x5b903d,'drawings':[{'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'drawingId':_0x2cc5ad,'drawingType':_0x139fc9}]});}}),_0x2f4b7f[_0x3e6914(0x42a)]]});}function _0xbd8c28(_0x494eb9){const _0x3af7ca=_0x3d4004;return!!_0x494eb9&&_0x3af7ca(0x56b)in _0x494eb9&&'sheetTransform'in _0x494eb9;}let _0x58f93b=(0x0,_0x1009cf[_0x3d4004(0x3f5)])(()=>{const _0x38ae33=_0x3d4004;let _0x313623=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x34d1ee),_0x255266=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x3c17ec[_0x38ae33(0x3e2)]),_0x120d33=(0x0,_0xc5cac3['useDependency'])(_0x3a44e9[_0x38ae33(0x567)]),_0x4849ca=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x20b6b2[_0x38ae33(0x38e)]),_0x3f1d99=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0xc5cac3[_0x38ae33(0x1bd)]),_0x4d2147=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x2e0941[_0x38ae33(0x565)]),_0x3458ef=(0x0,_0x1009cf[_0x38ae33(0x3e8)])(()=>({'getShapeModel':(_0x4bca65,_0x489435,_0xc3a1df)=>_0x255266[_0x38ae33(0x453)](_0x4bca65,_0x489435,_0xc3a1df),'getShapeData':(_0x3fc14e,_0x1ca5b2,_0x5ebbd3)=>_0x255266[_0x38ae33(0x51d)](_0x3fc14e,_0x1ca5b2,_0x5ebbd3),'getDrawingTransform':(_0x2eb9eb,_0x43faa9,_0x2a959e)=>{const _0x348e11=_0x38ae33;let _0x10bd0e=_0x120d33[_0x348e11(0x291)]({'unitId':_0x2eb9eb,'subUnitId':_0x43faa9,'drawingId':_0x2a959e});return _0x10bd0e==null?void 0x0:_0x10bd0e[_0x348e11(0x3be)];},'updateShapeText':({unitId:_0x22f27d,subUnitId:_0x3ae1a3,shapeId:_0x248b54,shapeText:_0x6083d2,oldShapeText:_0x966ff3,hostSize:_0x3b4789})=>{_0x3f1d99['run'](_0x22f27d,()=>{const _0x58e172=_0x592e;var _0x37da12;let _0x44ee03=_0x4849ca['syncExecuteCommand'](_0x34371e['id'],{'unitId':_0x22f27d,'subUnitId':_0x3ae1a3,'shapeId':_0x248b54,'shapeData':{'shapeText':_0x6083d2},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x966ff3}}});if(!_0x44ee03||!_0x3b4789)return _0x44ee03;let _0x2009f4=_0x120d33['getDrawingByParam']({'unitId':_0x22f27d,'subUnitId':_0x3ae1a3,'drawingId':_0x248b54}),_0x1161c9=_0x2009f4==null?void 0x0:_0x2009f4['transform'];if(!_0xbd8c28(_0x2009f4)||!_0x1161c9)return!0x1;let _0x10adfd={..._0x1161c9,'width':_0x3b4789['width'],'height':_0x3b4789[_0x58e172(0x3f0)]},_0x113c92=(_0x37da12=_0x4d2147[_0x58e172(0x3ab)](_0x22f27d))==null||(_0x37da12=_0x37da12['with'](_0x5aa18a[_0x58e172(0x555)])['getSkeletonParam'](_0x3ae1a3))==null?void 0x0:_0x37da12[_0x58e172(0x401)];return _0x4849ca[_0x58e172(0x340)](_0x44df92['SetSheetDrawingCommand']['id'],{'unitId':_0x22f27d,'drawings':[{..._0x2009f4,'transform':_0x10adfd,'sheetTransform':_0x113c92?(0x0,_0x44df92['transformToDrawingPosition'])(_0x10adfd,_0x113c92)??_0x2009f4['sheetTransform']:_0x2009f4[_0x58e172(0x50c)],'axisAlignSheetTransform':_0x113c92?(0x0,_0x44df92[_0x58e172(0x37c)])(_0x10adfd,_0x113c92)??_0x2009f4[_0x58e172(0x56b)]:_0x2009f4['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x46dba1,subUnitId:_0x5b35d7,shapeId:_0x123bfb,width:_0x2f5fc1,height:_0x411405})=>{const _0x229a47=_0x38ae33;var _0x265e4f;let _0x327ec0=_0x120d33['getDrawingByParam']({'unitId':_0x46dba1,'subUnitId':_0x5b35d7,'drawingId':_0x123bfb}),_0x286956=_0x327ec0==null?void 0x0:_0x327ec0[_0x229a47(0x3be)];if(!_0xbd8c28(_0x327ec0)||!_0x286956)return;let _0xf242c9={..._0x286956,'width':_0x2f5fc1,'height':_0x411405},_0x5f1af8=(_0x265e4f=_0x4d2147[_0x229a47(0x3ab)](_0x46dba1))==null||(_0x265e4f=_0x265e4f[_0x229a47(0x33c)](_0x5aa18a['SheetSkeletonManagerService'])['getSkeletonParam'](_0x5b35d7))==null?void 0x0:_0x265e4f[_0x229a47(0x401)],_0x5aa7fe=_0x5f1af8?(0x0,_0x44df92['transformToDrawingPosition'])(_0xf242c9,_0x5f1af8)??_0x327ec0['sheetTransform']:_0x327ec0[_0x229a47(0x50c)],_0x45a5cb=_0x5f1af8?(0x0,_0x44df92[_0x229a47(0x37c)])(_0xf242c9,_0x5f1af8)??_0x327ec0[_0x229a47(0x56b)]:_0x327ec0['axisAlignSheetTransform'];_0x4849ca[_0x229a47(0x447)](_0x44df92[_0x229a47(0x3cd)]['id'],{'unitId':_0x46dba1,'drawings':[{..._0x327ec0,'transform':_0xf242c9,'sheetTransform':_0x5aa7fe,'axisAlignSheetTransform':_0x45a5cb}]});},'allowHostSizeShrink':({unitId:_0x112b78,subUnitId:_0x3c9e37,shapeId:_0xe2785e})=>(0x0,_0x21b2c0[_0x38ae33(0x39b)])(_0x255266[_0x38ae33(0x51d)](_0x112b78,_0x3c9e37,_0xe2785e)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4849ca,_0x120d33,_0x4d2147,_0x255266,_0x3f1d99]),_0x534aad=(0x0,_0x1009cf['useMemo'])(()=>({'viewportKeys':{'main':_0x2e0941[_0x38ae33(0x2ac)][_0x38ae33(0x4f3)],'leftTop':_0x2e0941[_0x38ae33(0x2ac)]['VIEW_MAIN_LEFT_TOP'],'top':_0x2e0941[_0x38ae33(0x2ac)]['VIEW_MAIN_TOP'],'left':_0x2e0941[_0x38ae33(0x2ac)][_0x38ae33(0x524)]},'getSkeleton':(_0x29c678,_0x4bdc46)=>{const _0x381ea5=_0x38ae33;var _0x4647ec;return((_0x4647ec=_0x29c678['with'](_0x5aa18a[_0x381ea5(0x555)])[_0x381ea5(0x390)](_0x4bdc46[_0x381ea5(0x4c3)]))==null?void 0x0:_0x4647ec[_0x381ea5(0x401)])??null;}}),[]);return(0x0,_0x132e2c[_0x38ae33(0x305)])(_0x21b2c0['ShapeTextEditorContainer'],{'adapter':_0x3458ef,'editingService':_0x313623,'editorUnitId':_0x21169e,'positionOptions':_0x534aad});}),_0x508f48=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x2669c2,_0x2cc9ef){const _0x1a9b72=_0x3d4004;super(),this['_componentManager']=_0x2669c2,this[_0x1a9b72(0x32c)]=_0x2cc9ef,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0x4b5422=_0x3d4004;this['_iconManager'][_0x4b5422(0x481)](_0x4b5422(0x4f8))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'ObjectLayersIcon':_0x1f2bbc})),this[_0x4b5422(0x32c)]['has']('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'FlipHorizontalIcon':_0x17ed57})),this['_iconManager'][_0x4b5422(0x481)]('FlipVerticalIcon')||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'FlipVerticalIcon':_0x3f08c1})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)]('BottomIcon')||this[_0x4b5422(0x301)](this['_iconManager'][_0x4b5422(0x20d)]({'BottomIcon':_0x3e15b5})),this['_iconManager']['has'](_0x4b5422(0x4bb))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'MoveDownIcon':_0x14c8b4})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)](_0x4b5422(0x3a2))||this[_0x4b5422(0x301)](this['_iconManager'][_0x4b5422(0x20d)]({'MoveUpIcon':_0xe08485})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)](_0x4b5422(0x1fd))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'ShapeFormatSettingIcon':_0x192ec1})),this[_0x4b5422(0x32c)]['has'](_0x4b5422(0x3fc))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'TopmostIcon':_0x20e21b}));}[_0x3d4004(0x3f2)](){const _0x35577e=_0x3d4004;this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x1dded7,_0x5a13e9)),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register'](_0x3b993f,_0x40d67d)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5360d6,_0x371d73)),this[_0x35577e(0x301)](this['_componentManager'][_0x35577e(0x20d)](_0x22252c,_0x4b7cd0)),this[_0x35577e(0x344)][_0x35577e(0x584)](_0x42ecb7['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x35577e(0x301)](this['_componentManager'][_0x35577e(0x20d)](_0x42ecb7[_0x35577e(0x58a)],_0x2f5dea)),this['disposeWithMe'](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x1304ff,_0x927e02)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5377d5,_0x100f06)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5893c8,_0x2635fd)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x2c7ad3,_0xcfc17f)),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register'](_0x592f18,_0x56d6b3)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0xadef8f,_0x21b2c0[_0x35577e(0x2b6)])),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register']('SheetShapeTextEditorContainer',_0x58f93b));}};_0x508f48=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x279)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x54d)]))],_0x508f48);let _0x3ad809=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0xc0c78a,_0x21b964,_0x4dcf02,_0x1f3533,_0x3b83cb,_0x3b672,_0x398d3c,_0x51575a,_0x9d1a25){const _0x197d2d=_0x3d4004;super();let _0x582d52=_0x2771f8=>{const _0x490182=_0x592e;var _0xa01531,_0x11f13f;return(((_0xa01531=_0x51575a[_0x490182(0x4d7)](new _0x3a78b8[(_0x490182(0x4f0))](_0x2771f8['unitId'])['id']))==null?void 0x0:_0xa01531['value'])??!0x0)&&(((_0x11f13f=_0x51575a[_0x490182(0x4d7)](new _0x3a78b8[(_0x490182(0x417))](_0x2771f8['unitId'],_0x2771f8['subUnitId'])['id']))==null?void 0x0:_0x11f13f[_0x490182(0x405)])??!0x0);},_0x33f114=_0x218729=>_0x218729['shapeId']&&_0x582d52(_0x218729)?_0x4dcf02['getShapeDataById'](_0x218729[_0x197d2d(0x3e5)],_0x218729[_0x197d2d(0x4c3)],_0x218729[_0x197d2d(0x47c)])??null:null,_0x3dbeaf=()=>{const _0x1bc50d=_0x197d2d;let _0x393484=_0x3b83cb[_0x1bc50d(0x505)](),_0x8783cf=_0x393484[_0x1bc50d(0x1ed)]===0x1?_0x393484[0x0]:null;return(_0x8783cf==null?void 0x0:_0x8783cf[_0x1bc50d(0x2c8)])===_0x20b6b2[_0x1bc50d(0x284)][_0x1bc50d(0x364)]&&_0x8783cf['unitId']===_0xc0c78a['unitId']?{'unitId':_0x8783cf[_0x1bc50d(0x3e5)],'subUnitId':_0x8783cf[_0x1bc50d(0x4c3)],'shapeId':_0x8783cf[_0x1bc50d(0x354)]}:null;};this['disposeWithMe']((0x0,_0x21b2c0['registerShapeFormatPainter'])(_0xc0c78a,_0x21b964,{'changes$':(0x0,_0x1008b8['merge'])(_0x3b83cb[_0x197d2d(0x47d)],_0x1f3533[_0x197d2d(0x534)],_0x51575a['permissionPointUpdate$']),'isActive':()=>{const _0x1fb51e=_0x197d2d;var _0x16be71;return((_0x16be71=_0x3b672[_0x1fb51e(0x2b9)]())==null?void 0x0:_0x16be71['getUnitId']())===_0xc0c78a[_0x1fb51e(0x3e5)]&&!_0x398d3c[_0x1fb51e(0x2fb)](_0x20b6b2['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x3b83cb[_0x1fb51e(0x505)]()[_0x1fb51e(0x2bc)](_0x15d0cd=>_0x15d0cd[_0x1fb51e(0x3e5)]===_0xc0c78a[_0x1fb51e(0x3e5)]);},'getSelectedTarget':_0x3dbeaf,'getSource':()=>{let _0x345219=_0x3dbeaf();return _0x345219?_0x33f114(_0x345219):null;},'getTarget':_0x5d5873=>{const _0x2c1976=_0x197d2d;let _0x272368=_0xc0c78a[_0x2c1976(0x4f2)][_0x2c1976(0x265)](new _0x2e0941[(_0x2c1976(0x507))](_0x5d5873['offsetX'],_0x5d5873[_0x2c1976(0x4f6)]));if(!(_0x272368 instanceof _0x2caaad))return null;let _0xc2ec17={'unitId':_0xc0c78a[_0x2c1976(0x3e5)],'subUnitId':_0x272368['subUnitId'],'shapeId':_0x272368[_0x2c1976(0x47c)]};return _0x582d52(_0xc2ec17)?_0xc2ec17:null;},'getShape':_0x33f114,'update':(_0x120052,_0xec0fbf,_0x44c1ca)=>_0x9d1a25[_0x197d2d(0x447)](_0x34371e['id'],{..._0x120052,'shapeData':_0x44c1ca,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0xec0fbf}})}));}};_0x3ad809=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x48a)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x3,(0x0,_0x20b6b2['Inject'])(_0x34d1ee)),_0x4a972c(0x4,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x5,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x6,_0x20b6b2[_0x3d4004(0x31a)]),_0x4a972c(0x7,_0x20b6b2[_0x3d4004(0x526)]),_0x4a972c(0x8,_0x20b6b2[_0x3d4004(0x38e)])],_0x3ad809);let _0x1d9096=_0x3d4004(0x48c),_0x139c89=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x396f31,_0x47a164,_0x4a224b,_0x3e03ca,_0x47dcba,_0x3ace04){const _0xc0c53b=_0x3d4004;super(),this[_0xc0c53b(0x558)]=_0x396f31,this[_0xc0c53b(0x2e3)]=_0x47a164,this[_0xc0c53b(0x3a6)]=_0x4a224b,this[_0xc0c53b(0x1cc)]=_0x3e03ca,this['_renderManagerService']=_0x47dcba,this[_0xc0c53b(0x221)]=_0x3ace04,_0x212175(this,_0xc0c53b(0x31c),!0x1),this['_menuManagerService'][_0xc0c53b(0x531)](_0x25e476),this[_0xc0c53b(0x301)]((0x0,_0x20b6b2[_0xc0c53b(0x3ae)])(this[_0xc0c53b(0x3a6)][_0xc0c53b(0x47d)]['subscribe'](()=>this[_0xc0c53b(0x596)]()))),this[_0xc0c53b(0x596)]();}['dispose'](){const _0x1574a8=_0x3d4004;this[_0x1574a8(0x221)][_0x1574a8(0x518)](!0x1,_0x1d9096),this['_hide'](),super[_0x1574a8(0x4fe)]();}[_0x3d4004(0x596)](){const _0x142ab5=_0x3d4004;var _0x1f838c;let _0x35d2c9=this[_0x142ab5(0x3a6)][_0x142ab5(0x505)](),_0x4147bf=_0x35d2c9[_0x142ab5(0x1ed)]===0x1?_0x35d2c9[0x0]:void 0x0;if((_0x4147bf==null?void 0x0:_0x4147bf[_0x142ab5(0x2c8)])!==_0x20b6b2[_0x142ab5(0x284)][_0x142ab5(0x364)]||this[_0x142ab5(0x1cc)][_0x142ab5(0x3f6)](_0x4147bf[_0x142ab5(0x3e5)])!==_0x20b6b2[_0x142ab5(0x257)][_0x142ab5(0x2bb)]){this['_shapeFloatingToolbarService'][_0x142ab5(0x518)](!0x1,_0x1d9096),this[_0x142ab5(0x29c)]();return;}let _0x14f4e5=(_0x1f838c=this[_0x142ab5(0x35d)]['getRenderUnitById'](_0x4147bf[_0x142ab5(0x3e5)]))==null?void 0x0:_0x1f838c[_0x142ab5(0x469)]['getCanvasElement'](),_0x1e370a=(0x0,_0x21b2c0[_0x142ab5(0x591)])(_0x14f4e5)===_0x142ab5(0x49a);if(this['_shapeFloatingToolbarService'][_0x142ab5(0x518)](_0x1e370a,_0x1d9096),_0x1e370a){this[_0x142ab5(0x29c)]();return;}this[_0x142ab5(0x31c)]||(this[_0x142ab5(0x31c)]=!0x0,this[_0x142ab5(0x2e3)]['showContextualTab'](_0x214f37,{'activate':!0x0}));}[_0x3d4004(0x29c)](){const _0x3aff0f=_0x3d4004;this[_0x3aff0f(0x31c)]&&(this[_0x3aff0f(0x31c)]=!0x1,this['_ribbonService'][_0x3aff0f(0x4b7)](_0x214f37),this['_ribbonService']['setCollapsedIds']([]));}};_0x139c89=_0x3a2391([_0x4a972c(0x0,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x1,_0xc5cac3['IRibbonService']),_0x4a972c(0x2,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,_0x2e0941['IRenderManagerService']),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x21b2c0['ShapeFloatingToolbarService']))],_0x139c89);let _0x4a7bb6=class extends _0x21b2c0[_0x3d4004(0x54a)]{constructor(_0x383bf9,_0xb3b57d,_0xc87435,_0x3dbfe4,_0xf8d708,_0x1a0ff7,_0x58f4a2,_0x5377b7,_0x53efb2,_0x1591a3){super(_0x383bf9,_0xb3b57d,_0xc87435,_0x3dbfe4,_0xf8d708,_0x1a0ff7,_0x58f4a2,_0x5377b7,_0x53efb2,_0x1591a3,{'componentKey':_0xadef8f,'editorUnitId':_0x21169e});}};_0x4a7bb6=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x331b83[_0x3d4004(0x2ce)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x58ef02[_0x3d4004(0x501)])),_0x4a972c(0x3,(0x0,_0x20b6b2['Inject'])(_0x58ef02[_0x3d4004(0x4c4)])),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x58ef02[_0x3d4004(0x3f8)])),_0x4a972c(0x6,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x21b2c0['ShapeTextHyperLinkPopupService'])),_0x4a972c(0x7,(0x0,_0x20b6b2['Inject'])(_0x331b83['DocInterceptorService'])),_0x4a972c(0x8,(0x0,_0x20b6b2['Inject'])(_0x58ef02[_0x3d4004(0x371)])),_0x4a972c(0x9,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x34d1ee))],_0x4a7bb6);let _0x556830=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x255186,_0xb4e900,_0x5963f5,_0x4776b6,_0x452e6a,_0x5b9480,_0xb5227c,_0x46744f,_0x2be4c3,_0x3f85df,_0xaa892f){const _0x202f78=_0x3d4004;super(),this[_0x202f78(0x1cc)]=_0x255186,this[_0x202f78(0x400)]=_0xb4e900,this['_menuManagerService']=_0x5963f5,this[_0x202f78(0x341)]=_0x4776b6,this[_0x202f78(0x564)]=_0x452e6a,this['_commandService']=_0x5b9480,this['_drawingManagerService']=_0xb5227c,this[_0x202f78(0x429)]=_0x46744f,this[_0x202f78(0x4da)]=_0x2be4c3,this[_0x202f78(0x35d)]=_0x3f85df,this['_shapeTextEditingService']=_0xaa892f,_0x212175(this,_0x202f78(0x4ee),null),_0x212175(this,_0x202f78(0x462),null),_0x212175(this,'_isOpenedShapeEditPanel',!0x1),_0x212175(this,_0x202f78(0x458),0x0),_0x212175(this,_0x202f78(0x57e),null),_0x212175(this,_0x202f78(0x4bf),[]),this['_initMenu'](),this[_0x202f78(0x301)](this[_0x202f78(0x1cc)][_0x202f78(0x27a)](_0x20b6b2['UniverInstanceType']['UNIVER_SHEET'])['subscribe'](_0xe8ad22=>{if(!_0xe8ad22){var _0x52f12b;(_0x52f12b=this['_sidebarDisposable'])==null||_0x52f12b['dispose']();}})),this[_0x202f78(0x4ea)](),this[_0x202f78(0x325)](),this[_0x202f78(0x301)](this[_0x202f78(0x234)]['editingParams$']['subscribe'](_0x203ea2=>{const _0x28c90e=_0x202f78;_0x203ea2&&this[_0x28c90e(0x490)]();}));}['_initMenu'](){const _0x5300d5=_0x3d4004;this[_0x5300d5(0x558)][_0x5300d5(0x531)](_0xa0e700);}['initShapePopupMenu'](){const _0x5b4c0e=_0x3d4004;this[_0x5b4c0e(0x57e)]||=this[_0x5b4c0e(0x301)]((0x0,_0x21b2c0[_0x5b4c0e(0x387)])(this['_renderManagerService'],_0x20b6b2[_0x5b4c0e(0x257)][_0x5b4c0e(0x2bb)],_0x114000=>this[_0x5b4c0e(0x2b3)](_0x114000)));}[_0x3d4004(0x30f)](_0x54fc59,_0x20efa3,_0x465f4e){const _0x87893b=_0x3d4004;let _0x40ef86=this[_0x87893b(0x341)][_0x87893b(0x2ec)](_0x54fc59,_0x20efa3,_0x465f4e),_0x3aa720=this['_sheetsShapeService']['getShapeDataById'](_0x54fc59,_0x20efa3,_0x465f4e);return _0x40ef86!==void 0x0&&_0x3aa720!==void 0x0?{'shapeData':_0x3aa720,'shapeId':_0x465f4e,'shapeType':_0x40ef86,'unitId':_0x54fc59,'subUnitId':_0x20efa3,'version':this[_0x87893b(0x458)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x16a766=_0x3d4004;this[_0x16a766(0x4bf)][_0x16a766(0x39d)](_0x35016c=>_0x35016c[_0x16a766(0x4fe)]()),this[_0x16a766(0x4bf)]['length']=0x0;}[_0x3d4004(0x2b3)](_0x192a5e){const _0x3b6f36=_0x3d4004;let _0x2cec8c=new _0x20b6b2[(_0x3b6f36(0x529))]();return _0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x2b8)][_0x3b6f36(0x448)](()=>{const _0x13abd5=_0x3b6f36;let _0x500a8a=_0x192a5e['getSelectedObjectMap']();if(this[_0x13abd5(0x490)](),this[_0x13abd5(0x41f)]||_0x500a8a[_0x13abd5(0x236)]>0x1)return;let _0x5d895a=_0x500a8a[_0x13abd5(0x1ff)]()[_0x13abd5(0x295)]()[_0x13abd5(0x405)];if(!_0x5d895a)return;let _0x5577f0=this[_0x13abd5(0x3a6)][_0x13abd5(0x231)](_0x5d895a[_0x13abd5(0x420)]);if(!_0x5577f0||_0x5577f0[_0x13abd5(0x2c8)]!==_0x20b6b2[_0x13abd5(0x284)][_0x13abd5(0x364)])return;let {unitId:_0x5859c2,subUnitId:_0x146c20,drawingId:_0x5776b0,drawingType:_0x40a163}=_0x5577f0,_0x4bc3fa=this[_0x13abd5(0x30f)](_0x5859c2,_0x146c20,_0x5776b0);if(!_0x4bc3fa)return;this['_contextService'][_0x13abd5(0x510)](_0x20b6b2[_0x13abd5(0x1e8)],!0x0);let _0x2c0116=this[_0x13abd5(0x35d)]['getRenderUnitById'](_0x5859c2),_0x5d2a06=((_0x2c0116==null?void 0x0:_0x2c0116[_0x13abd5(0x1bc)])===!0x1?_0x2c0116[_0x13abd5(0x33c)](_0x5aa18a[_0x13abd5(0x2e6)]):this[_0x13abd5(0x429)])[_0x13abd5(0x3d7)](_0x5d895a,{'componentKey':_0x1304ff,'direction':_0x13abd5(0x271),'offset':[0x0,_0x21b2c0[_0x13abd5(0x40b)]],'extraProps':{'unitId':_0x5859c2,'subUnitId':_0x146c20,'drawingId':_0x5776b0,'drawingType':_0x40a163,'shapeType':_0x4bc3fa[_0x13abd5(0x44e)],'shapeData':_0x4bc3fa[_0x13abd5(0x224)]}});this['_disposePopups'][_0x13abd5(0x467)](this['disposeWithMe'](_0x5d2a06)),this[_0x13abd5(0x3a6)][_0x13abd5(0x505)]()[_0x13abd5(0x1f4)](_0x434bfc=>_0x434bfc[_0x13abd5(0x3e5)]===_0x5859c2&&_0x434bfc[_0x13abd5(0x4c3)]===_0x146c20&&_0x434bfc[_0x13abd5(0x354)]===_0x5776b0)||this[_0x13abd5(0x3a6)][_0x13abd5(0x489)]([{'unitId':_0x5859c2,'subUnitId':_0x146c20,'drawingId':_0x5776b0}]);})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x31d)][_0x3b6f36(0x448)](()=>{const _0x2d4b46=_0x3b6f36;this[_0x2d4b46(0x490)](),this[_0x2d4b46(0x4da)][_0x2d4b46(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x326)][_0x3b6f36(0x448)](()=>{this['_clearPopups']();})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x2ad)][_0x3b6f36(0x448)](()=>{this['_clearPopups']();})),(0x0,_0x20b6b2[_0x3b6f36(0x3ae)])(()=>{const _0x14c227=_0x3b6f36;_0x2cec8c[_0x14c227(0x4fe)](),this[_0x14c227(0x490)]();});}[_0x3d4004(0x4ea)](){const _0x7df144=_0x3d4004;this[_0x7df144(0x301)](this[_0x7df144(0x2d4)]['onCommandExecuted'](_0x560682=>{const _0x407527=_0x7df144;if(_0x560682['id']===_0x2f6589['id']){let {unitId:_0x78102f,subUnitId:_0x45b6ac,drawingId:_0x4fb2a3}=_0x560682[_0x407527(0x342)];this[_0x407527(0x458)]+=0x1,this['_activeShapeInfo']=this[_0x407527(0x30f)](_0x78102f,_0x45b6ac,_0x4fb2a3),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x560682['id']===_0x2229a4['id']&&(this[_0x407527(0x462)]=null,this['_closeShapeEditPanel']()),_0x560682['id']===_0x3c17ec['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x48457a,subUnitId:_0x2e5c3b,shapeId:_0x32c711}=_0x560682['params'];if(this['_activeShapeInfo']&&this[_0x407527(0x462)][_0x407527(0x47c)]===_0x32c711){let _0x33d2e7=this[_0x407527(0x30f)](_0x48457a,_0x2e5c3b,_0x32c711);_0x33d2e7&&(this[_0x407527(0x458)]+=0x1,_0x33d2e7[_0x407527(0x378)]=this[_0x407527(0x458)],this[_0x407527(0x462)]=_0x33d2e7,this[_0x407527(0x41f)]&&this[_0x407527(0x2f8)]());}}})),this[_0x7df144(0x301)](this['_drawingManagerService'][_0x7df144(0x47d)][_0x7df144(0x448)](_0x2affa8=>{const _0xa97d17=_0x7df144;if(this[_0xa97d17(0x41f)]===!0x1)return;if(_0x2affa8[_0xa97d17(0x1ed)]===0x0){this[_0xa97d17(0x462)]=null,this[_0xa97d17(0x292)]();return;}if(_0x2affa8[_0xa97d17(0x1ed)]===0x1&&_0x2affa8[0x0][_0xa97d17(0x2c8)]===_0x20b6b2[_0xa97d17(0x284)][_0xa97d17(0x364)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0xa97d17(0x462)]=this['_getShapeInfo'](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0][_0xa97d17(0x4c3)],_0x2affa8[0x0]['drawingId']),this[_0xa97d17(0x462)])){this['_openShapeEditPanel']();return;}let _0x248e5e=_0x2affa8[_0xa97d17(0x2a8)](_0xf11aa6=>_0xf11aa6[_0xa97d17(0x2c8)]===_0x20b6b2[_0xa97d17(0x284)][_0xa97d17(0x364)]);if(_0x2affa8[_0xa97d17(0x1ed)]>0x1&&_0x248e5e[_0xa97d17(0x1ed)]===_0x2affa8['length']){if(this[_0xa97d17(0x458)]+=0x1,this[_0xa97d17(0x462)]=this[_0xa97d17(0x30f)](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0]['subUnitId'],_0x2affa8[0x0][_0xa97d17(0x354)]),this[_0xa97d17(0x462)]){this[_0xa97d17(0x2f8)]();return;}}else{if(this[_0xa97d17(0x458)]+=0x1,this[_0xa97d17(0x462)]=this[_0xa97d17(0x30f)](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0]['subUnitId'],_0x2affa8[0x0][_0xa97d17(0x354)]),this[_0xa97d17(0x462)]){this[_0xa97d17(0x462)][_0xa97d17(0x35b)]=!0x0,this[_0xa97d17(0x2f8)]();return;}}this[_0xa97d17(0x292)]();}));}[_0x3d4004(0x2f8)](){const _0xfc7af4=_0x3d4004;this[_0xfc7af4(0x462)]&&(this[_0xfc7af4(0x4ee)]=this[_0xfc7af4(0x400)][_0xfc7af4(0x230)]({'id':_0x1dded7,'header':{'title':this[_0xfc7af4(0x564)]['t'](_0xfc7af4(0x26f))},'width':0x184,'children':{'label':_0x1dded7,...this[_0xfc7af4(0x462)]},'onClose':()=>{const _0x5d5d1e=_0xfc7af4;this['_drawingManagerService'][_0x5d5d1e(0x489)](null),this[_0x5d5d1e(0x4da)][_0x5d5d1e(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5d5d1e(0x4ee)]=null;}}),this[_0xfc7af4(0x41f)]=!0x0);}[_0x3d4004(0x292)](){const _0x18c678=_0x3d4004;this[_0x18c678(0x41f)]=!0x1,this[_0x18c678(0x400)][_0x18c678(0x4e2)](_0x1dded7),this['_sidebarDisposable']=null,this[_0x18c678(0x4da)][_0x18c678(0x510)](_0x20b6b2[_0x18c678(0x1e8)],!0x1),this[_0x18c678(0x3a6)][_0x18c678(0x489)](null);}};_0x556830=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x276)])),_0x4a972c(0x2,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x31f)])),_0x4a972c(0x5,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x6,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x7,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x2e6)])),_0x4a972c(0x8,_0x20b6b2['IContextService']),_0x4a972c(0x9,_0x2e0941[_0x3d4004(0x565)]),_0x4a972c(0xa,(0x0,_0x20b6b2['Inject'])(_0x34d1ee))],_0x556830);let _0x3cce16=class extends _0x20b6b2['Plugin']{constructor(_0x5816f7=_0x455ea6,_0xb314bc,_0x340d05,_0x1fabd8,_0x492acb){const _0x206995=_0x3d4004;super(),this[_0x206995(0x3f4)]=_0x5816f7,this[_0x206995(0x23c)]=_0xb314bc,this[_0x206995(0x2d4)]=_0x340d05,this[_0x206995(0x204)]=_0x1fabd8,this[_0x206995(0x35d)]=_0x492acb;let {..._0x212374}=(0x0,_0x20b6b2['merge'])({},_0x455ea6,this[_0x206995(0x3f4)]);this[_0x206995(0x204)]['setConfig'](_0xa54229,_0x212374),this[_0x206995(0x423)]();}[_0x3d4004(0x487)](){const _0x1736fc=_0x3d4004;this['_renderManagerService'][_0x1736fc(0x255)](_0x20b6b2['UniverInstanceType'][_0x1736fc(0x1c8)],[_0x4a7bb6]),(0x0,_0x20b6b2[_0x1736fc(0x2c3)])(this['_injector'],[[_0x556830],[_0x5a8444],[_0xec3a87],[_0xbfbedc]]);}[_0x3d4004(0x43d)](){const _0x28cfec=_0x3d4004;this[_0x28cfec(0x23c)][_0x28cfec(0x584)](_0x556830)[_0x28cfec(0x325)]();}['onReady'](){const _0x345419=_0x3d4004;[[_0x1dbb70],[_0x42bfec],[_0xee7899]][_0x345419(0x39d)](_0x4c9ac5=>this[_0x345419(0x23c)][_0x345419(0x2e9)](_0x4c9ac5)),(0x0,_0x20b6b2[_0x345419(0x2c3)])(this['_injector'],[[_0xee7899],[_0x42bfec]]),this['_renderManagerService'][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)][_0x345419(0x2bb)],[_0x1dbb70]),this['_renderManagerService'][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)]['UNIVER_SHEET'],[_0x5828c7]),this[_0x345419(0x35d)][_0x345419(0x255)](_0x20b6b2['UniverInstanceType'][_0x345419(0x2bb)],[_0x458dcc]),this[_0x345419(0x35d)][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)][_0x345419(0x2bb)],[_0x5edad9]),this[_0x345419(0x301)](this[_0x345419(0x35d)]['registerRenderModule'](_0x20b6b2['UniverInstanceType'][_0x345419(0x2bb)],[_0x3ad809]));}[_0x3d4004(0x57d)](){const _0x2eaf41=_0x3d4004;this[_0x2eaf41(0x23c)][_0x2eaf41(0x2e9)]([_0x508f48]),this[_0x2eaf41(0x23c)]['get'](_0x508f48);let _0x3153de=this['_injector'];[[_0x556830],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578],[_0x139c89]][_0x2eaf41(0x39d)](_0x4ecc5e=>_0x3153de[_0x2eaf41(0x2e9)](_0x4ecc5e)),(0x0,_0x20b6b2[_0x2eaf41(0x2c3)])(this['_injector'],[[_0x556830],[_0x5a8444],[_0xec3a87],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578],[_0x139c89]]);}['_initCommands'](){const _0x22887e=_0x3d4004;[_0x4e8acc,_0x34371e,_0x2229a4,_0x2f6589,_0x20ee6f,_0x473d36,_0x50782f,_0x4d4881][_0x22887e(0x39d)](_0x417600=>this[_0x22887e(0x301)](this['_commandService'][_0x22887e(0x3c1)](_0x417600)));}};_0x212175(_0x3cce16,_0x3d4004(0x541),_0x20b6b2[_0x3d4004(0x257)][_0x3d4004(0x2bb)]),_0x212175(_0x3cce16,_0x3d4004(0x211),_0x3d4004(0x2c2)),_0x212175(_0x3cce16,_0x3d4004(0x3dc),_0x309058),_0x212175(_0x3cce16,_0x3d4004(0x378),_0x28c5e3),_0x3cce16=_0x3a2391([(0x0,_0x20b6b2['DependentOn'])(_0x30dca3[_0x3d4004(0x24c)],_0x331b83['UniverDocsPlugin'],_0x3a44e9[_0x3d4004(0x389)],_0x42ecb7[_0x3d4004(0x311)],_0x2e0941[_0x3d4004(0x315)],_0x3a78b8[_0x3d4004(0x2f0)],_0x58ef02[_0x3d4004(0x27f)],_0x44df92[_0x3d4004(0x327)],_0x590e75[_0x3d4004(0x2c4)],_0x46d306[_0x3d4004(0x58f)],_0x3c17ec[_0x3d4004(0x335)],_0x5aa18a['UniverSheetsUIPlugin'],_0x21b2c0[_0x3d4004(0x2cb)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x30b)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x299)]),_0x4a972c(0x4,_0x2e0941[_0x3d4004(0x565)])],_0x3cce16),_0x4311c1[_0x3d4004(0x393)]=_0x25e476,_0x4311c1[_0x3d4004(0x58c)]=_0xa0e700,Object[_0x3d4004(0x54c)](_0x4311c1,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x5d2ab2;}}),Object[_0x3d4004(0x54c)](_0x4311c1,_0x3d4004(0x46e),{'enumerable':!0x0,'get':function(){return _0x3cce16;}});}));function _0x3cee(){const _0x3c7086=['IUndoRedoService','DocCanvasPopManagerService','drawWith','_getConnectionSiteAngle','_initPermission','getFocusDrawings','visible$','Vector2','setOnSavingEditorData','drawing-ui.objectListPanel.dragToReorder','getConnectionInfo','FlipHorizontalIcon','sheetTransform','set','jsxs','SHAPE_CHANGE_PICKER_COMPONENT','setContextValue','_createCopyInfoByRange','_completionFrame','SheetPermissionCheckController','disableObjectsEvent','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','_isStartAdjusting','_onSavingEditorData$','setFallbackVisible','_reset','ShapeArrowTypeEnum','evenodd','drawing-ui.objectListPanel.showAll','getShapeDataById','getTransformerByCreate','_attachConnectorObjectEvent','ShapeFillEnum','description','isHighlighted','InsertSheetsShapeMutation','VIEW_MAIN_LEFT','cxnPointRadius','IPermissionService','src','startArrow','DisposableCollection','isConnectorShape','changeEnd$','activeSheet$','remove$','dataModel','OBJECT_LIST_FLOATING_SECTION_ID','getDrawingOrder','mergeMenu','_cxnIndex','UniverProSheetsShapeUi','editingParams$','idMap','adjName','makeDirty','SetDrawingApplyMutation','offsetX','ShapeGroupEnum','_isStartConnectorPoint','M8\x202.2V3.8','_createShapeAdjustControls','_addShapeConnectorHandlerObjects','React','5362USQwfr','type','M4.2\x205.5H10.5','ShapeDefaultConfig','getAutoFitPresentations','forwardRef','mode','_baseShapeHeight','unregister','_executeConnectedRouteConnectionCommand','ShapeTextFloatMenuRenderControllerBase','prototype','defineProperty','IconManager','isHit','drawFormulaShapeAnimationLayers','call','ISheetDrawingService','@univerjs-pro/sheets-shape-ui','getShapeQuickStyleType','@univerjs/sheets-ui','SheetSkeletonManagerService','_currentScene','drawing-ui.objectListPanel.unlockAll','_menuManagerService','28AJEevt','fill','_handleFreeEndpointMove','toPrimitive','_createControls','univer-box-border\x20univer-px-4\x20univer-text-sm','index','getRealBound','_initPrinting','UniverDocsPlugin','drawing-ui.objectListPanel.show','_localeService','IRenderManagerService','horizontal','IDrawingManagerService','clipHeight','_imageShapeClipController','M8\x206.2V7.8','axisAlignSheetTransform','drawing-ui.objectListPanel.filterHidden','ShapeLineTypeEnum','_updateAdjustControlPositions','ShapeStyleRibbonControl','_drawSimpleText','_releaseRenderCache','appliedStrokeWidth','getPropertyPriority','refreshAdjustControls','FOCUSING_SHAPE_TEXT_EDITOR','getUnitId','discreteRangeToRange','drawing-ui.objectListPanel.unlock','flip-vertical-icon','_findNearestConnectionSite','exports','getDrawingPoints','onStarting','_shapePopupMenuDisposable','ShapeRenderModeEnum','_getOrCreateShapeModel','UniverUi','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','getDrawingEditable','get','isInGroup','UUID','getShapeQuickStylePreset','deriveStateFromActiveSheet$','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_resetState','SheetsShapeUIMenuSchema','_handleBasicShapeUpdateConnectorLineShape','extraProps','UniverSheetsDrawingUIPlugin','formulaPresentation','resolveShapeContextualRibbonHostMode','UniverDocs','_registerImageShapeClipDelegate','intercept','EMPTY','_update','extensionGroups','isLineShape','setConfig','default','baseVal','@univerjs/design','formulaBinding','_sheetDrawingShapeRenderController','_initialize','registerClipDelegate','adjustValues','isMainScene','UndoRedoGroupService','updateDocumentDataMargin','entries','Module','interceptor','hadStyleAttribute','DocumentViewModel','element','localName','_init','DocumentDataModel','UNIVER_DOC','topmost-icon','worldPoint','BottomIcon','_univerInstanceService','_draggingConnectorId','DEFAULT_PASTE','@univerjs-pro/shape-editor-ui','sheets-shape-ui.ribbon.shape-format','_unitId','_clearControls','rect','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','style','completeEditing','shape-editor-ui.toolbar.changeShape','pushUndoRedo','svg','_isConnecting','SheetsSelectionsService','OTHERS','viewBound','setProperty','_showConnectionSites','_baseDrawingRect','_handleConnectedEndpointMove','RIBBON','sheet.command.update-shape-data','setEditing','_currentConnectionTarget','http://www.w3.org/2000/svg','shapeKey','FOCUSING_COMMON_DRAWINGS','move-down-icon','sheets-shape-ui.title','calculate','strokeWidth','length','currentColor','save','_loadAndSetImage','path','UniverDrawingUi','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','find','ISheetClipboardService','_adjHandlerPointerMove','getEditing','vectorEffect','sheets-shape-ui.flipVertical','UpdateSheetsShapeDataMutation','wrapStrategy','HorizontalAlign','ShapeFormatSettingIcon','getObjectIncludeInGroup','values','shape-editor-ui.arrange.forward','updateLinePoints','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','querySelectorAll','_configService','unsubscribe','_highlightedSiteIndex','MenuItemType','@univerjs/docs-ui','_updateImageAdjValues','update$','drawing-ui.objectListPanel.title','sheets-shape-ui.shape-format.style-ribbon-control','register','iterator','setShouldShowAdjust','cancelEditing','pluginName','resolveShapeTextDocumentRenderLayout','_executeConnectionCommand','drawing-ui.objectListPanel.description','drawing-ui.objectListPanel.lockHint','DrawingApplyType','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','RemoveSheetCommand','sheets-shape-ui.ribbon.shape-format.arrange-front','_sheetInterceptorService','resolveShapeTextDocumentPageHeight','UniverSheetsDrawing','computeStraightConnectorLayout','sheets-shape-ui.ribbon.shape-format.text-control','getImage','object','_shapeFloatingToolbarService','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','createInternalEditorID','shapeData','DependentOn','tag','M8\x2010.2V11.8','angle','_baseHeight','ShapeModel','sheets-shape-text-','animationEnabled','classType','CommandType','getAdjustValueByName','open','getDrawingOKey','gradientEndColor','InsertShapeCommand','_shapeTextEditingService','UniverSheetsDrawingMobileUIPlugin','size','children','none','@univerjs/sheets','toStringTag','RemoveSheetsShapeMutation','_injector','_sheetBasicShapeConnectionPointController','_initEvents','isReleased','_subUnitId','ShapeIcon','sheet.shape.picker.component','contentHeight','_clearConnectionSites','_formulaKey','INSERT','SHAPE_TEXT','canvas','image','resize','_generateCopyPasteMutations','UniverLicensePlugin','cxnPointStrokeWidth','startWith','_getSceneAndTransformerByDrawingSearch','GROUP','sheets-shape-ui.ribbon.shape-format.arrange-backward','viewportScrollY','text','_baseTop','registerRenderModule','canvasElement','UniverInstanceType','SheetPrintInterceptorService','pipe','_baseShapeLeft','Observable','DrawingRenderService','DocumentSkeleton','_activeImageId','UniverSheetsUi','Shape','isStartConnectorPoint','enableObjectsEvent','disconnect','getUnit','pick','sheets-shape-ui.ribbon.shape-format.arrange-forward','vertical','_context','sheets-shape-ui.objectListPanel.title','drawing-ui.objectListPanel.name','getCurrentRangeDisable$','shapeModel','left','startY','sheets-shape-ui.formatShape','targetShapeId','vertical-center','getValue','ImageSourceTypeEnum','COPY_TYPE','shape-format-setting-icon','ISidebarService','onReady','_getConnectPointInfo','ComponentManager','getCurrentTypeOfUnit$','setSrcRect','_adjName','permissionPointUpdate$','UniverProShapeEditor','UniverDocsUIPlugin','getCurrentScrollState','stroke-width','UniverDrawing','updateConnectionDetection','DrawingTypeEnum','_canEdit','UpdateConnectorRelationCommand','_sheetClipboardService','activateDrawingObject','getDrawingSearch','_isDrawingShapePointDown','endConnectionDetection','sin','drawing-ui.objectListPanel.empty','DrawingCommonPanel','_getScrollInfo','getBoundingClientRect','getDrawingByParam','_closeShapeEditPanel','generateRandomId','SetDrawingArrangeCommand','next','function','_currentUniverService','viewBox','IConfigService','objects','preValue','_hide','_baseShapeTop','3597768VyQyYA','_imageIoService','parseFloat','getDrawingShapeKeyByDrawingSearch','getTextStyle','move-up-icon','_registerMoveHandler','flipX','computeConnectorRouteLayout','LEFT','filter','@univerjs/docs','endArrow','UPDATE','SHEET_VIEWPORT_KEY','changeStart$','add$','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','getBasicShapeRelation','M2.2\x208H3.8','_renderWithCache','_popupMenuListener','_registerFeatureMenu','getSelectedObjectMap','ShapeTextFloatToolbar','undo','createControl$','getFocusedUnit','_rerouteConnectorLine','UNIVER_SHEET','some','onPointerMove$','_shapeUpdateListener','getCurrentSkeleton','routeConnectorLineShape','3438210PGTGpD','SHEET_SHAPE_UI_PLUGIN','touchDependencies','UniverShapeEditorPlugin','PictureFill','sqrt','point','drawingType','startX','MenuManagerPosition','UniverShapeEditorUIPlugin','Path','URL','DocSelectionManagerService','sheets-shape-ui.insertShape','getEndConnectInfo','ToggleShapeFloatingToolbarOperation','sheets-shape-ui.permission.editErr','_shapeService','_commandService','_executeConnectedRouteResizeCommand','url(#$1','_permissionService','doc','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','Rect','drawing-ui.objectListPanel.filterAll','getObject','stringify','RemoveSheetDrawingCommand','_registerDrawingMoveHandler','_cxtHandlerPointerUp','create','@univerjs/sheets-drawing-ui','_ribbonService','delete','addImageSourceCache','SheetCanvasPopManagerService','decorate','_editingParams$','add','COMMAND','_lastEditingShapeKey','getShapeTypeById','resolveShapeTextEditorBehaviorShapeData','getMatrix','SHEET','UniverSheetsPlugin','isFinite','sheets-shape-ui.shape-format.quick-style-gallery','UniverCore','react/jsx-runtime','setFillImage','strokeOpacity','normalizeShapeTextModel','_openShapeEditPanel','getBentTypeFromPoints','parse','getContextValue','ShapeFloatingToolbarToggleFactory','isRichText','refreshShapeFillImage','MobileDropdown','fontFamily','disposeWithMe','startConnectionDetection','getBasicShapeRotateBound','_findShapeAtPoint','jsx','subscribeEvent','_addControl','drawing.operation.set-drawing-active','_applyFormulaAutoFitSize','sheetViewStartRow','Injector','rxjs','_clearCompletionFrame','_sheetDrawingService','_getShapeInfo','getOwnPropertyDescriptor','UniverDrawingUIPlugin','getShapeTextRect','getShapeData','isArray','UniverRenderEnginePlugin','registerDependencies','clip','clone','composeMatrix','IContextService','attrs','_visible','clearControl$','stopPropagation','LocaleService','_urlImageService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_clearShapeAdjustControls','drawing-ui.objectListPanel.filterLocked','hasAttribute','initShapePopupMenu','changing$','UniverSheetsDrawingPlugin','_insertingShapeKeys','SetShapeDrawingDataCommand','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','rotation','_iconManager','blockExecuteWithoutPermission','getViewportByCell','ConnectorCoordinateTransform','getParent','bottom','defIds','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','restore','UniverSheetsShapePlugin','fillImageSource','abs','createShapeFormulaDocument','copyType','cos','ShapeFormulaService','with','getSheetId','DRAWING_OBJECT_LAYER_INDEX','getConnectionSiteList','syncExecuteCommand','_sheetsShapeService','params','getSheetBySheetId','_componentManager','worldPoints','drawing-ui.objectListPanel.lockAll','cxnPointFill','originalStrokeWidth','presentation','_transformCalculateSrcRect','Arrow','draw','getImageSourceCache','_activeShapeModel','MobileObjectListPanel','_clipService','_activeTargetShapeId','switchMap','computeConnectorResizeLayout','drawingId','shouldClipShapeTextDocument','lineType','buildClipPath','ContextMenuPosition','refreshFormulaPresentation','string','disableShapeOption','ShapeFloatingToolbar','_renderManagerService','indexOf','top','IURLImageService','_sheetPrintInterceptorService','drawing-ui.objectListPanel.moveBackward','redo','DRAWING_SHAPE','ShapeFloatingToolbarService','REMOVE','sheet.shape.edit.panel','_baseLeft','resolveShapeTextEditorWrapStrategy','idSuffix','clearActiveDrawingObjects','PREDEFINED_HOOK_NAME','ShapeArrowSizeEnum','setPrstGeom','worldRect','max','DocRenderController','drawing-ui.objectListPanel.locate','_getZoomRatio','ObjectListPanelBase','SHAPE_EDITOR_TRANSFORMER_CONFIG','_isShouldShowDrawingShapeAdjust','@univerjs/drawing','version','selectable','setHighlighted','sheet.operation.open-sheet-shape-format-panel','transformToAxisAlignPosition','BehaviorSubject','drawing-ui.objectListPanel.search','Line','prstGeom','Plugin','SheetScrollManagerService','registerFeatureMenu','getObjectListPanelSectionIdForDrawingType','1525717mCDYhw','useLayoutEffect','bindRenderTransformerLifecycle','SheetSkeletonService','UniverDrawingPlugin','_adjHandlerPointerUp','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','UniverShapeEditorMobileUIPlugin','sheets-shape-ui.imagePanel.crop.shape','ICommandService','drawing-ui.objectListPanel.typeNames.','getSkeletonParam','div','normal','SheetsShapeUIContextualRibbonSchema','refreshTransform','defs','drawing-ui.objectListPanel.hideAll','_getImageDrawingInfo','_addShapeConnectorHandlerObject','symbol','1em','shouldAllowShapeTextEditorHostSizeShrink','useId','forEach','bottom-icon','_generateCutPasteMutations','keys','@univerjs/sheets-drawing','MoveUpIcon','getCurrentUnitInfo','visible','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_drawingManagerService','_getDrawingRect','_activeShapeId','doc.image-clip.shape-picker.component','_executeResizeCommand','getRenderUnitById','PRINTING_COMPONENT_COLLECT','_attachAdjustEvent','toDisposable','fontSize','_drawRichTextLayer','currentAdjustValues','0\x200\x2016\x2016','copyId','_connectorObjects','_transform','438531lzsaQG','getDrawingTypeNameKey','_handleFreeEndpointPointerUp','isEditing','sheet.menu.shape.flip-vertical','order','_shapeId','viewportScrollX','transform','_draw','UniverProSheetsShape','registerCommand','_copyInfo','getDrawingEffectBounds','getConnectionRelation','getDrawingData','renderDrawingShape','getTransformer','colorChannel1','Transform','ang','min','_registerFocusChangeHandler','SetSheetDrawingCommand','ToggleSheetsShapeFlipCommand','prstGeomAdjValues','_clearFocusedShape','getShapeType','_insertShapes','setPresentation','_activeAdjustPointList','error','contentVerticalOffset','attachPopupToObject','sheet.operation.open-shape-object-list-panel','DRAWING','fromChangeset','getConnectorLinePoints','packageName','_focusedDrawings','Inject','_sheetShapeAdjustController','ShapeTypeEnum','_drawingAddListener','SheetsShapeService','@univerjs-pro/shape-editor','trim','unitId','OPERATION','ShapeFormulaRibbonControl','useMemo','asObservable','drawing-ui.objectListPanel.close','CURSOR_TYPE','1009618pzovkb','sheet.operation.open-mobile-shape-editor','applyPoint','TOP','height','_shapeFormulaService','_registerComponents','setCanUseShapeClip','_config','memo','getUnitType','actualHeight','DocEventManagerService','UniverProShapeEditorUi','@univerjs-pro/license','SheetInterceptorService','TopmostIcon','data','_cxtHandlerPointerMove','sheet.shape.object-list.panel','_sidebarService','skeleton','_isHighlighted','assign','_shapes','value','20GeplvI','@univerjs/engine-render','drawing-ui.objectListPanel.sectionFloating','prepareShapeTextDocumentData','color','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','UniverProLicense','transformByState','FromArray','M8\x2014V14.2','sheets-shape-ui.quickStyles','_isImagePointerDown','UniverProEngineShape','sheets-shape-ui','beginPath','getCurrentUnitOfType','current','WorksheetEditPermission','_handleConnectorPointerUp','getBatchUpdateOp','useObservable','sheets-shape-ui.ribbon.shape-format.formula-control','ArrangeTypeEnum','RibbonInsertGroup','getStartConnectInfo','_isOpenedShapeEditPanel','oKey','onPointerUp$','clipByShape','_initCommands','forward','marginTop','featurePluginUpdateNotification','drawing-ui.objectListPanel.unlockHint','backward','_sheetCanvasPopManagerService','panel','useEffect','IMenuManagerService','getOrCreateDrawingCopyPlan','_initSheetChange','UpdateLineShapeResizeCommand','front','drawing-ui.objectListPanel.noSelection','render','_clearShapeConnectorHandlerObjects','Image','round','sheet.shape.floating-toolbar','sectionCanvas','flatMap','_handleConnectedEndpointPointerUp','_formulaShapes','IUniverInstanceService','clip-','onSteady','sheets-shape-format-font-family-menu','custom','onload','registerFeaturePasteHook','map','_registerGroupFeaturePasteHook','resolveActiveShapeQuickStylePresetId','adjHandleSize','priority','executeCommand','subscribe','UniverIcon','#4285f4','isHorizontal','None','relation','shapeType','onTransformChange$','_disposed','0\x200\x2017\x2016','buildShapeTextDataUpdate','getShapeModel','univerjs-icon\x20univerjs-icon-','DrawingImageClipService','SetDrawingSelectedOperation','DRAWING_IMAGE','_shapeEditPanelVersion','PaintIcon','getBatchAddOp','clearAdjustControls','getSkeleton','localToWorld','_drawRichText','createElement','getAdjustNames','transformForAngle','_activeShapeInfo','_initSelection','_loadShapePictureFill','updateDocumentStyle','sheet.shape.text.float-menu','push','multiply','engine','flipY','srcRect','FormulaShapeAnimationController','_formulaAnimation','UniverSheetsShapeUIPlugin','shape-editor-ui.toolbar.quickStyles','drawing-ui.objectListPanel.expand','_registerDrawingFocusChangeHandler','15976ztxrVs','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','_drawShapeText','amd','M6.2\x208H7.8','isRenderLinePointsMode','_connectionSiteObjects','Disposable','onCommandExecuted','sheet.operation.apply-shape-quick-style','shapeId','focus$','isDrawingObject','adjHandleStroke','complete','has','hidden','sheet.menu.shape.flip-horizontal','localeService','_getShapeAdjustPointListById','getMenuHiddenObservable','onRendered','animateFormulaPresentation','focusDrawing','FormatPainterSessionService','getPropertyValue','sheets-shape-contextual-ribbon','getZoomRatio','useDependency','non-scaling-stroke','_clearPopups','setFormulaPresentation','sheet.operation.update-shape-type','@univerjs/core','_hasReset','cxnPointStroke','addClipboardHook','addObject','setAdjustValueByName','beforeCommandExecuted','isolated','_groupCopyPasteController','setShapeData','updateShapeFillImage','_targetShapeId','BUTTON','_activeAdjustInfo','_sheetSkeletonService','_drawingRenderService','calcAdjValues','stroke','translateWithPrecision','actions','ancestorTransform','getPresentation','_activeShapeAdjustPointList','_calculateFreeEndpointAngle','SolidFill','_baseShapeWidth','onPointerDown$','clearAdjustValue','setShapeProps','VerticalAlign','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','onSavingEditorData$','cxnIndex','SHAPE','_updateTransform','connector-handler-','hideContextualTab','translate','sheets-shape-ui.objectListPanel.open','width','MoveDownIcon','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','UniverSheets','Circle','_disposePopups','removeLinePoints','xlink:href','Fragment','subUnitId','DocSelectionRenderService','drawing-ui.objectListPanel.lock','getSheetCommandTarget','_getShapeAdjustInfosById','createShapeTextBoxShapeData','popup','drawing-ui.objectListPanel.collapse','FlipVerticalIcon','sheets-shape-ui.editShape','attachRangeWithCoord','name','_sheetPermissionCheckController','_baseWidth','use','updateContext','shapeText','_moveConnectorWithShape','_props','scale','getPermissionPoint','M14\x208H14.2','_addShapeAdjustControl','_contextService','target','highlighted','from','changeShapeType','drawing-ui.objectListPanel.hide','sheets-shape-ui.flipHorizontal','RENDER_CLASS_TYPE','close','_generatePasteMutations','_updateShapeAdjustControls','SELECTOR','mask','displayName','setCursor','invert','_registerOperations','react','IImageIoService','_updateSrcRectByTransform','_sidebarDisposable','_shapeRenderController','WorkbookEditablePermission','onDblclick$','scene','VIEW_MAIN','4619064fFVNpc','sheetViewStartColumn','offsetY','_initEditingParams','ObjectLayersIcon','includes','back','_getImagePrstGeom','MobileShapeEditorService','fillType','dispose','shape-editor-ui.arrange.backward'];_0x3cee=function(){return _0x3c7086;};return _0x3cee();}
1
+ (function(_0x4eb18e,_0x3b0847){const _0x4a9774=_0x43eb,_0x52ccfa=_0x4eb18e();while(!![]){try{const _0x33c3f0=parseInt(_0x4a9774(0xe0))/0x1+parseInt(_0x4a9774(0x2da))/0x2*(parseInt(_0x4a9774(0x49c))/0x3)+-parseInt(_0x4a9774(0x373))/0x4*(-parseInt(_0x4a9774(0x1d1))/0x5)+parseInt(_0x4a9774(0x3fd))/0x6+parseInt(_0x4a9774(0x496))/0x7*(-parseInt(_0x4a9774(0x436))/0x8)+-parseInt(_0x4a9774(0x392))/0x9*(parseInt(_0x4a9774(0x276))/0xa)+parseInt(_0x4a9774(0x1f1))/0xb*(-parseInt(_0x4a9774(0x133))/0xc);if(_0x33c3f0===_0x3b0847)break;else _0x52ccfa['push'](_0x52ccfa['shift']());}catch(_0x295712){_0x52ccfa['push'](_0x52ccfa['shift']());}}}(_0x5c87,0x5c01e),function(_0x5b5efb,_0x3ed35a){const _0x64d21d=_0x43eb;typeof exports=='object'&&typeof module<'u'?_0x3ed35a(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==_0x64d21d(0x34f)&&define[_0x64d21d(0x15c)]?define(['exports',_0x64d21d(0x2e1),_0x64d21d(0x189),_0x64d21d(0x37a),_0x64d21d(0x424),_0x64d21d(0x28e),_0x64d21d(0x46d),_0x64d21d(0x14f),_0x64d21d(0x1bf),_0x64d21d(0x460),_0x64d21d(0x3bd),_0x64d21d(0xf2),_0x64d21d(0x38c),_0x64d21d(0x43f),_0x64d21d(0x240),_0x64d21d(0x482),'@univerjs-pro/license','@univerjs/docs',_0x64d21d(0x3eb),_0x64d21d(0x3e1),_0x64d21d(0x498)],_0x3ed35a):(_0x5b5efb=typeof globalThis<'u'?globalThis:_0x5b5efb||self,_0x3ed35a(_0x5b5efb[_0x64d21d(0x4b5)]={},_0x5b5efb[_0x64d21d(0x10d)],_0x5b5efb[_0x64d21d(0x2ce)],_0x5b5efb[_0x64d21d(0x20d)],_0x5b5efb[_0x64d21d(0x4b9)],_0x5b5efb[_0x64d21d(0x1a4)],_0x5b5efb[_0x64d21d(0x1da)],_0x5b5efb[_0x64d21d(0x2a1)],_0x5b5efb[_0x64d21d(0x170)],_0x5b5efb[_0x64d21d(0x18a)],_0x5b5efb['UniverSheetsUi'],_0x5b5efb[_0x64d21d(0xf2)],_0x5b5efb['UniverDrawingUi'],_0x5b5efb[_0x64d21d(0x36e)],_0x5b5efb[_0x64d21d(0x27a)],_0x5b5efb[_0x64d21d(0x122)],_0x5b5efb[_0x64d21d(0x3d7)],_0x5b5efb[_0x64d21d(0x4ce)],_0x5b5efb[_0x64d21d(0x298)],_0x5b5efb[_0x64d21d(0x29e)],_0x5b5efb[_0x64d21d(0x27a)]));}(this,function(_0x507edb,_0x2a9d6c,_0x2f96d6,_0x287478,_0x54f73f,_0x276c17,_0x383631,_0x111c96,_0x279593,_0x1c3608,_0x261221,_0x4250df,_0x129810,_0x4a69b4,_0x4170e1,_0x72b203,_0x42a3f1,_0x1a7a3e,_0x12171b,_0x44e77f,_0x6ed98f){const _0x5671d9=_0x43eb;Object[_0x5671d9(0x406)](_0x507edb,Symbol[_0x5671d9(0x1c0)],{'value':_0x5671d9(0x210)});function _0xb7aa57(_0x5093cd,_0x37ed40){const _0x31ad8b=_0x5671d9;let _0x19bc6a={};for(let _0x6303e0 of Object[_0x31ad8b(0x144)](_0x37ed40)){let _0x314a9b=_0x37ed40[_0x6303e0],_0xba0905=_0x5093cd[_0x6303e0];if(_0xba0905===void 0x0){_0x19bc6a[_0x6303e0]=void 0x0;continue;}_0x19bc6a[_0x6303e0]=typeof _0x314a9b==_0x31ad8b(0x2a6)&&_0x314a9b&&!Array['isArray'](_0x314a9b)&&typeof _0xba0905==_0x31ad8b(0x2a6)&&_0xba0905&&!Array[_0x31ad8b(0xfd)](_0xba0905)?_0xb7aa57(_0xba0905,_0x314a9b):_0xba0905;}return _0x19bc6a;}let _0x57882a={'type':_0x383631[_0x5671d9(0x465)]['COMMAND'],'id':_0x5671d9(0x2e6),'handler':(_0x32190a,_0x1440ae)=>{const _0x583390=_0x5671d9;let _0x1bb302=_0x32190a[_0x583390(0x4be)](_0x276c17[_0x583390(0x188)]),{unitId:_0x20f0c2,subUnitId:_0x51b67a,shapeType:_0x44519e,shapeId:_0x34ff61,shapeData:_0x12e917,replaceShapeData:_0x3a109f,oldShapeJSON:_0xb9ace9}=_0x1440ae;if(!_0x1bb302['getShapeModel'](_0x20f0c2,_0x51b67a,_0x34ff61))return!0x1;let _0x2b8fd5=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x24e)]),_0x1b2e5b=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x42c)]),{oldShapeType:_0x25e398,oldShapeData:_0x3bada5={}}=_0xb9ace9,_0x5acaa4=_0x3a109f?_0x3bada5:_0xb7aa57(_0x3bada5,_0x12e917||{}),_0x550432={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x44519e,'shapeData':_0x12e917,'replace':_0x3a109f}},_0x46ecb6={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x25e398,'shapeData':_0x5acaa4,'replace':_0x3a109f}};return _0x2b8fd5[_0x583390(0x3e7)](_0x550432['id'],_0x550432[_0x583390(0x4a7)])?(_0x1b2e5b['pushUndoRedo']({'unitID':_0x20f0c2,'undoMutations':[_0x46ecb6],'redoMutations':[_0x550432]}),!0x0):!0x1;}};function _0x100eae(_0x22d077,_0x13a906,_0xc1d87d,_0x50c42c,_0x2e1307,_0x5f53e7){const _0x5d780f=_0x5671d9;let _0x43093f={'unitId':_0x13a906,'subUnitId':_0xc1d87d,'shapeId':_0x50c42c,'shapeData':_0x5f53e7,'oldShapeJSON':_0x2e1307};return _0x22d077[_0x5d780f(0x1f9)](_0x57882a['id'],_0x43093f);}function _0x9cff5f(_0x2e7b42,_0x354f72,_0x13b8bc,_0x499c9e,_0x2f331c,_0xa2f9cf){const _0x386ac6=_0x5671d9;let _0x3d1e1c={'unitId':_0x354f72,'subUnitId':_0x13b8bc,'shapeId':_0x499c9e,'shapeData':_0xa2f9cf,'oldShapeJSON':_0x2f331c};return _0x2e7b42[_0x386ac6(0x1f9)](_0x57882a['id'],_0x3d1e1c);}function _0xde59e4(_0x353c65){'@babel/helpers - typeof';const _0x4e20a1=_0x5671d9;return _0xde59e4=typeof Symbol=='function'&&typeof Symbol[_0x4e20a1(0x312)]==_0x4e20a1(0x2e2)?function(_0x10d338){return typeof _0x10d338;}:function(_0x4b2e10){const _0x19cceb=_0x4e20a1;return _0x4b2e10&&typeof Symbol=='function'&&_0x4b2e10[_0x19cceb(0x4c8)]===Symbol&&_0x4b2e10!==Symbol[_0x19cceb(0x268)]?'symbol':typeof _0x4b2e10;},_0xde59e4(_0x353c65);}function _0x4c1c39(_0x3de7f3,_0xdb3fc3){const _0x463363=_0x5671d9;if(_0xde59e4(_0x3de7f3)!=_0x463363(0x2a6)||!_0x3de7f3)return _0x3de7f3;var _0x1ba9c9=_0x3de7f3[Symbol[_0x463363(0x2b6)]];if(_0x1ba9c9!==void 0x0){var _0x41c089=_0x1ba9c9[_0x463363(0x14a)](_0x3de7f3,_0xdb3fc3||_0x463363(0x4c1));if(_0xde59e4(_0x41c089)!=_0x463363(0x2a6))return _0x41c089;throw TypeError(_0x463363(0x316));}return(_0xdb3fc3===_0x463363(0x3d1)?String:Number)(_0x3de7f3);}function _0x575482(_0x520cf1){const _0x824799=_0x5671d9;var _0x2e78ec=_0x4c1c39(_0x520cf1,_0x824799(0x3d1));return _0xde59e4(_0x2e78ec)==_0x824799(0x2e2)?_0x2e78ec:_0x2e78ec+'';}function _0x20dccc(_0x2c1955,_0xe10b27,_0x7b999b){const _0x59f7f4=_0x5671d9;return(_0xe10b27=_0x575482(_0xe10b27))in _0x2c1955?Object[_0x59f7f4(0x406)](_0x2c1955,_0xe10b27,{'value':_0x7b999b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2c1955[_0xe10b27]=_0x7b999b,_0x2c1955;}function _0x1fbcfe(_0x5beed9,_0x3774c1,_0x3ccb09){const _0x30f500=_0x5671d9;let _0x17ae4d={..._0x3774c1,'dataModel':{..._0x3774c1['dataModel']??{},..._0x3ccb09?{'doc':_0x3ccb09}:null}},_0x535b07=(0x0,_0x2a9d6c[_0x30f500(0x1d9)])(_0x5beed9,_0x17ae4d),_0x46c994=(0x0,_0x2a9d6c[_0x30f500(0x3c7)])(_0x535b07);return{'clip':(0x0,_0x2a9d6c[_0x30f500(0x423)])(_0x535b07,_0x46c994),'wrapStrategy':_0x46c994};}var _0x23237e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x2b3d86,_0x2c9de2){const _0x13e933=_0x5671d9;super(_0x2b3d86,_0x2c9de2),_0x20dccc(this,_0x13e933(0x332),[]),_0x20dccc(this,_0x13e933(0x10f),void 0x0),_0x20dccc(this,_0x13e933(0x1f5),new _0x2a9d6c[(_0x13e933(0x169))](()=>this[_0x13e933(0x33a)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x20dccc(this,_0x13e933(0x1d3),!0x0),_0x20dccc(this,_0x13e933(0x2d9),_0x383631[_0x13e933(0x286)][_0x13e933(0x456)]),_0x20dccc(this,_0x13e933(0x186),!0x0),this[_0x13e933(0x10f)]={..._0x2c9de2},this[_0x13e933(0x1f5)]['setPresentation'](_0x2c9de2['formulaPresentation'],_0x2c9de2[_0x13e933(0x46c)]!==!0x1),this['_init'](),this['_applyFormulaAutoFitSize']();}[_0x5671d9(0x2fa)](){const _0x203f91=_0x5671d9;this[_0x203f91(0x164)][_0x203f91(0x17a)](_0x4ed3b3=>{const _0x4a6c65=_0x203f91;this[_0x4a6c65(0x1d2)](_0x4ed3b3);});}[_0x5671d9(0x408)](_0x7fc041){this['_props']['prstGeom']=_0x7fc041;}[_0x5671d9(0x469)](_0xb44ac5){const _0x109441=_0x5671d9;if(this[_0x109441(0x10f)]['isEditing'])return null;let _0x57d8a4=this[_0x109441(0x39b)](_0xb44ac5),{width:_0x402ec0,height:_0x4f4bc6}=this[_0x109441(0x275)]();return(0x0,_0x2a9d6c['resolveShapeTextHyperLinkAt'])(this[_0x109441(0x332)],{'x':(this['flipX']?-_0x57d8a4['x']:_0x57d8a4['x'])+_0x402ec0/0x2,'y':_0x57d8a4['y']+_0x4f4bc6/0x2});}[_0x5671d9(0x2b2)](_0x262ad9){const _0x50cb77=_0x5671d9;this[_0x50cb77(0x10f)][_0x50cb77(0x179)]=_0x262ad9,this[_0x50cb77(0x33a)](!0x0);}[_0x5671d9(0x40c)](_0x31c6de,_0x5463f6=!0x0){const _0x365260=_0x5671d9;this[_0x365260(0x1f5)][_0x365260(0x25b)](_0x31c6de,_0x5463f6),this[_0x365260(0x10f)]['formulaPresentation']=_0x31c6de,this[_0x365260(0x4c2)](),this[_0x365260(0x33a)](!0x0);}[_0x5671d9(0x4c2)](){const _0x32aa1c=_0x5671d9;let _0x531842=this[_0x32aa1c(0x10f)][_0x32aa1c(0xc9)],_0x55484b=_0x531842[_0x32aa1c(0x4bd)](),_0x324cd3=(0x0,_0x2a9d6c[_0x32aa1c(0x120)])(_0x55484b==null?void 0x0:_0x55484b[_0x32aa1c(0x1c9)]),_0x148dc1=_0x324cd3==null?void 0x0:_0x324cd3[_0x32aa1c(0x149)],_0x59c12c=this[_0x32aa1c(0x1f5)][_0x32aa1c(0x4bc)]();if(!_0x148dc1||_0x59c12c['length']===0x0)return;_0x531842['updateContext']({'width':this[_0x32aa1c(0x439)],'height':this['height']});let _0x17c3bb=(0x0,_0x2a9d6c[_0x32aa1c(0x21a)])({'documentData':_0x59c12c[_0x32aa1c(0x3da)](_0x2eba95=>(0x0,_0x54f73f[_0x32aa1c(0x22c)])(_0x148dc1,_0x2eba95)),'height':this[_0x32aa1c(0x2ea)],'shapeData':_0x531842['getShapeData'](),'textRect':_0x531842[_0x32aa1c(0x35e)]({'left':0x0,'top':0x0,'width':this[_0x32aa1c(0x439)],'height':this[_0x32aa1c(0x2ea)]}),'width':this[_0x32aa1c(0x439)]});if(_0x17c3bb){var _0xc921c0;this[_0x32aa1c(0xde)](_0x17c3bb['width'],_0x17c3bb[_0x32aa1c(0x2ea)]),(_0xc921c0=this[_0x32aa1c(0x31e)]())==null||(_0xc921c0=_0xc921c0[_0x32aa1c(0x492)]())==null||_0xc921c0[_0x32aa1c(0x285)]();}}get[_0x5671d9(0x173)](){const _0x476ebd=_0x5671d9;return this['_props'][_0x476ebd(0x173)];}get[_0x5671d9(0x135)](){const _0x37f9e3=_0x5671d9;return this['_props'][_0x37f9e3(0x135)];}[_0x5671d9(0x1d2)](_0x1e719f){const _0x52e9b6=_0x5671d9;if(this[_0x52e9b6(0x10f)][_0x52e9b6(0x3cc)]==null||!this[_0x52e9b6(0x1d3)])return;let {width:_0x13c334,height:_0x1f675a}=this,{width:_0x3e1a96=0x0,height:_0x18eacd=0x0}=_0x1e719f[_0x52e9b6(0xc4)],{left:_0x6adf9e=0x0,top:_0x46ff8e=0x0,right:_0x5ee532=0x0,bottom:_0x13a30e=0x0}=this['_props']['srcRect'],_0x34ac43=_0x6adf9e,_0x4d991a=_0x46ff8e,_0x205c00=_0x5ee532,_0x4bab12=_0x13a30e,_0x394fd0=!0x1;if(_0x3e1a96!==0x0&&_0x3e1a96!==_0x13c334){let _0x570dbb=_0x6adf9e/_0x3e1a96,_0x5f140e=_0x5ee532/_0x3e1a96;_0x34ac43=_0x13c334*_0x570dbb,_0x205c00=_0x13c334*_0x5f140e,_0x394fd0=!0x0;}if(_0x18eacd!==0x0&&_0x18eacd!==_0x1f675a){let _0x1a569c=_0x46ff8e/_0x18eacd,_0x7ad4e6=_0x13a30e/_0x18eacd;_0x4d991a=_0x1f675a*_0x1a569c,_0x4bab12=_0x1f675a*_0x7ad4e6,_0x394fd0=!0x0;}_0x394fd0&&this[_0x52e9b6(0x19a)]({'left':_0x34ac43,'top':_0x4d991a,'right':_0x205c00,'bottom':_0x4bab12});}[_0x5671d9(0x19a)](_0x1bc92e){const _0x3b89ba=_0x5671d9;this[_0x3b89ba(0x10f)][_0x3b89ba(0x3cc)]=_0x1bc92e,this[_0x3b89ba(0x33a)](!0x0);}['setFillImage'](_0x305295){const _0x84862=_0x5671d9;this[_0x84862(0x10f)][_0x84862(0x2c4)]=_0x305295,this[_0x84862(0x33a)](!0x0);}set['transform'](_0x20f3f3){const _0x11b81a=_0x5671d9;this[_0x11b81a(0x459)]=_0x20f3f3;}get[_0x5671d9(0x2c6)](){const _0x9d5a18=_0x5671d9;this[_0x9d5a18(0x459)]||this[_0x9d5a18(0x25e)]();let _0x188ae5=this[_0x9d5a18(0x459)][_0x9d5a18(0x4b1)]();return this['transformForAngle'](_0x188ae5);}get['shapeModel'](){const _0x37f8af=_0x5671d9;return this[_0x37f8af(0x10f)][_0x37f8af(0xc9)];}get['shapeId'](){const _0x47308b=_0x5671d9;return this[_0x47308b(0x10f)][_0x47308b(0x37d)];}get[_0x5671d9(0x12f)](){const _0x52a8e8=_0x5671d9;return _0x1c3608[_0x52a8e8(0x3dd)][_0x52a8e8(0x277)];}['_draw'](_0x2662fc,_0x1ee12f,_0x200cac,_0x308bf6){const _0x568de4=_0x5671d9;let _0x474be5=this[_0x568de4(0x10f)][_0x568de4(0xc9)];if(!_0x474be5||!_0x1ee12f)return;let _0x59ef92=_0x200cac??this['width'],_0x522098=_0x308bf6??this[_0x568de4(0x2ea)],_0x2ea74d={'shapeType':_0x474be5[_0x568de4(0x347)](),'width':_0x59ef92,'height':_0x522098},_0x2c8768={'renderMode':_0x287478[_0x568de4(0x31f)]['Path'],'oKey':this[_0x568de4(0x1ed)],'image':this['_props'][_0x568de4(0x2c4)],'angle':this['angle']};_0x474be5['updateContext'](_0x2ea74d),_0x2662fc['save']();let _0x3fd150={'top':0x0,'left':0x0,'width':_0x59ef92,'height':_0x522098},_0x39262d=_0x474be5['getDrawingEffectBounds'](_0x3fd150);_0x39262d?this[_0x568de4(0x453)](_0x2662fc,_0x39262d,_0xf315d4=>{const _0xbf7a50=_0x568de4;_0x474be5[_0xbf7a50(0x489)](_0xf315d4,_0x3fd150,_0x2c8768);}):(this[_0x568de4(0xd5)](),_0x474be5[_0x568de4(0x489)](_0x2662fc,_0x3fd150,_0x2c8768)),_0x2662fc['restore']();let _0x3580f9=_0x474be5['getShapeTextData'](),_0x982e7c=_0x474be5[_0x568de4(0x35e)](_0x3fd150),_0x3d0b8a=_0x474be5[_0x568de4(0x35b)]();if(_0x3580f9&&_0x982e7c&&!_0x3d0b8a){_0x2662fc['save'](),this[_0x568de4(0x352)]()[_0x568de4(0x160)]&&_0x2662fc[_0x568de4(0x43b)](-0x1,0x1);let _0x2391c7=_0x59ef92/0x2,_0x50e831=_0x522098/0x2;_0x2662fc[_0x568de4(0x1e3)](-_0x2391c7,-_0x50e831),_0x2662fc[_0x568de4(0x1aa)](),this[_0x568de4(0x3ac)](_0x2662fc,_0x3580f9,_0x982e7c),_0x2662fc[_0x568de4(0xc7)]();}}['getDrawingPoints'](_0x1861c7){}['_drawShapeText'](_0xa142c8,_0x28f9c6,_0x2ae75d){const _0x2d3a9b=_0x5671d9;var _0xdf2f78;this[_0x2d3a9b(0x332)]=[],!this['_props'][_0x2d3a9b(0x179)]&&(!((_0xdf2f78=_0x28f9c6[_0x2d3a9b(0x1c9)])!=null&&_0xdf2f78[_0x2d3a9b(0x149)])&&'isRichText'in _0x28f9c6&&_0x28f9c6[_0x2d3a9b(0x318)]===!0x1?this['_drawSimpleText'](_0xa142c8,_0x28f9c6,_0x2ae75d):this[_0x2d3a9b(0x336)](_0xa142c8,_0x28f9c6,_0x2ae75d));}['_drawSimpleText'](_0x2b61ae,_0x2e6be0,_0x1a7095){const _0x38fbf1=_0x5671d9;this['_drawRichText'](_0x2b61ae,{..._0x2e6be0,'text':_0x2e6be0['text']??'','dataModel':{'doc':(0x0,_0x2a9d6c[_0x38fbf1(0x202)])(_0x2e6be0,_0x38fbf1(0x36f)+this[_0x38fbf1(0x1ed)])}},_0x1a7095);}['_drawRichText'](_0x55bf18,_0x288786,_0x1dd5f7){const _0x390b32=_0x5671d9;(0x0,_0x2a9d6c[_0x390b32(0x44f)])(_0x55bf18,this['_formulaAnimation'],(_0xb793f8,_0x168224,_0x551359)=>{const _0x3caf5c=_0x390b32;this[_0x3caf5c(0x17c)](_0xb793f8,_0x288786,_0x1dd5f7,_0x168224,_0x551359===_0x3caf5c(0x441));});}[_0x5671d9(0x17c)](_0x184e5e,_0x52017d,_0x4506f4,_0x4241a9,_0x551ac1){const _0x4242a0=_0x5671d9;let _0x5f00ad=this[_0x4242a0(0x10f)][_0x4242a0(0x1b0)];if(!_0x52017d[_0x4242a0(0x1c9)]||!_0x5f00ad)return;let _0x14a6b4=(0x0,_0x2a9d6c[_0x4242a0(0x120)])(_0x52017d['dataModel']);if(!_0x14a6b4)return;let _0xd7d8eb=_0x14a6b4['doc'];if(!_0xd7d8eb)return;let _0x34da7e=(0x0,_0x54f73f[_0x4242a0(0x22c)])(_0xd7d8eb,_0x4241a9),_0x229082=_0x14a6b4['va']??_0x383631[_0x4242a0(0x2aa)]['TOP'],_0x466697=_0x14a6b4['ha']??_0x383631[_0x4242a0(0x379)][_0x4242a0(0x319)],_0xc14a7f=_0x1fbcfe(this[_0x4242a0(0x10f)][_0x4242a0(0xc9)][_0x4242a0(0xe8)](),_0x52017d,_0x34da7e),_0x1fb41a=_0x52017d[_0x4242a0(0x18e)],_0x1d1f43=(0x0,_0x2a9d6c[_0x4242a0(0x2bd)])(_0x34da7e,{'isHorizontal':_0x1fb41a!==!0x1,'textRect':_0x4506f4,'verticalAlign':_0x229082,'horizontalAlign':_0x466697,'wrapStrategy':_0xc14a7f[_0x4242a0(0x43d)]}),_0x2f9b22=new _0x383631['DocumentDataModel'](_0x1d1f43),_0x5711bb=new _0x1c3608['DocumentViewModel'](_0x2f9b22),_0x55f332=_0x1c3608[_0x4242a0(0xef)]['create'](_0x5711bb,_0x5f00ad);_0x55f332[_0x4242a0(0x48b)]();let _0x366bcf=_0x55f332[_0x4242a0(0x4ac)]()['actualHeight'],_0x3186ff=(0x0,_0x2a9d6c[_0x4242a0(0x29a)])({'contentHeight':_0x366bcf,'verticalAlign':_0x229082,'viewportHeight':_0x4506f4[_0x4242a0(0x2ea)]});_0x2f9b22[_0x4242a0(0x1af)]({'pageSize':{'width':_0x1fb41a===!0x1?_0x4506f4[_0x4242a0(0x2ea)]:_0x4506f4[_0x4242a0(0x439)],'height':(0x0,_0x2a9d6c[_0x4242a0(0x355)])(_0x34da7e,_0x3186ff[_0x4242a0(0x211)])}}),_0x2f9b22[_0x4242a0(0x3b7)]({'t':_0x3186ff['marginTop']}),_0x55f332['calculate']();let _0x2f00d9=new _0x1c3608[(_0x4242a0(0x1f4))](_0x4242a0(0x30d)+this[_0x4242a0(0x1ed)],_0x55f332,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x2f00d9[_0x4242a0(0xde)](_0x4506f4[_0x4242a0(0x439)],_0x3186ff[_0x4242a0(0x211)]),_0x184e5e[_0x4242a0(0x47a)](),_0x184e5e[_0x4242a0(0x4af)](_0x4506f4[_0x4242a0(0x32c)],_0x4506f4[_0x4242a0(0x1e1)]),_0xc14a7f[_0x4242a0(0x357)]&&(_0x184e5e[_0x4242a0(0x1aa)](),_0x184e5e[_0x4242a0(0x1d0)](0x0,_0x3186ff[_0x4242a0(0x30f)],_0x4506f4['width'],_0x3186ff[_0x4242a0(0x111)]),_0x184e5e[_0x4242a0(0x357)]()),_0x3186ff[_0x4242a0(0x2b5)]&&_0x184e5e[_0x4242a0(0x4af)](0x0,_0x3186ff['contentVerticalOffset']),_0x2f00d9[_0x4242a0(0x418)](_0x184e5e),_0x551ac1&&(this[_0x4242a0(0x332)]=(0x0,_0x2a9d6c['createShapeTextHyperLinkRegions'])(_0x2f00d9,{'left':_0x4506f4[_0x4242a0(0x32c)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff['contentVerticalOffset']},_0xc14a7f[_0x4242a0(0x357)]?{'left':_0x4506f4['left'],'right':_0x4506f4['left']+_0x4506f4[_0x4242a0(0x439)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff[_0x4242a0(0x30f)],'bottom':_0x4506f4['top']+_0x3186ff[_0x4242a0(0x30f)]+_0x3186ff['clipHeight']}:void 0x0)),_0x184e5e[_0x4242a0(0xc7)](),_0x2f00d9['dispose'](),_0x55f332[_0x4242a0(0x39f)](),_0x5711bb[_0x4242a0(0x39f)](),_0x2f9b22[_0x4242a0(0x39f)]();}['render'](_0x1dc9ab,_0x24a7a2,_0x2f8bac=!0x1){const _0x2950bf=_0x5671d9;if(!this[_0x2950bf(0x167)])return this[_0x2950bf(0x33a)](!0x1),this;let {width:_0x56c9f7,height:_0x2e9476,left:_0x488fff,top:_0x450225}=this,_0x31baf3=this[_0x2950bf(0x275)]();if(_0x56c9f7=_0x31baf3[_0x2950bf(0x439)],_0x2e9476=_0x31baf3[_0x2950bf(0x2ea)],_0x488fff=_0x31baf3['left'],_0x450225=_0x31baf3[_0x2950bf(0x1e1)],this[_0x2950bf(0x22d)](_0x24a7a2)){let {top:_0x414eb2,left:_0x1bfa98,bottom:_0x5b3962,right:_0x25f0f9}=_0x24a7a2['viewBound'];if(_0x56c9f7+this[_0x2950bf(0x3fa)]+_0x488fff<_0x1bfa98||_0x25f0f9<_0x488fff||_0x2e9476+this[_0x2950bf(0x3fa)]+_0x450225<_0x414eb2||_0x5b3962<_0x450225)return this;}let _0x1cda67=_0x488fff+_0x56c9f7/0x2,_0x51a021=_0x450225+_0x2e9476/0x2,_0x2f86a1=this[_0x2950bf(0x2c6)][_0x2950bf(0x35d)]();if(this[_0x2950bf(0x10f)][_0x2950bf(0x179)]){let _0xbfeca5=this[_0x2950bf(0x352)](),_0x317d6c=new _0x1c3608[(_0x2950bf(0xd2))]();_0x317d6c[_0x2950bf(0x2ad)]({..._0xbfeca5}),_0x2f86a1=_0x317d6c[_0x2950bf(0x35d)]();}return _0x1dc9ab[_0x2950bf(0x47a)](),this[_0x2950bf(0x10f)][_0x2950bf(0xc9)][_0x2950bf(0x1e0)]===!0x0||_0x1dc9ab[_0x2950bf(0x2c6)](_0x2f86a1[0x0],_0x2f86a1[0x1],_0x2f86a1[0x2],_0x2f86a1[0x3],_0x1cda67,_0x51a021),this[_0x2950bf(0x23d)](_0x1dc9ab,_0x24a7a2,_0x56c9f7,_0x2e9476),_0x1dc9ab['restore'](),this[_0x2950bf(0x33a)](!0x1),this;}['getInverseCoord'](_0x4170db){const _0xf13c42=_0x5671d9;let {left:_0x5eeccc,top:_0x11596d,width:_0x500d49,height:_0x5dc36e}=this['getRealBound'](),_0x32bfde=this[_0xf13c42(0x2c6)][_0xf13c42(0x35d)](),_0x585f6e=_0x5eeccc+_0x500d49/0x2,_0xc1d480=_0x11596d+_0x5dc36e/0x2,_0x4fd4e8=new _0x1c3608['Transform']([_0x32bfde[0x0],_0x32bfde[0x1],_0x32bfde[0x2],_0x32bfde[0x3],_0x585f6e,_0xc1d480]),_0x250f50=this['getParent']();return(this[_0xf13c42(0x2e8)]&&(_0x250f50==null?void 0x0:_0x250f50['classType'])===_0x1c3608[_0xf13c42(0x3dd)][_0xf13c42(0x480)]?_0x250f50[_0xf13c42(0xc8)][_0xf13c42(0x449)](_0x4fd4e8):_0x4fd4e8)['invert']()[_0xf13c42(0x1ca)](_0x4170db);}[_0x5671d9(0x343)](_0x5e378d){const _0x299d12=_0x5671d9;let {left:_0x2b07b8,top:_0x1d9640,width:_0x1d83ab,height:_0x37615e}=this[_0x299d12(0x275)](),_0x3a4b54=_0x2b07b8+_0x1d83ab/0x2,_0x2aba51=_0x1d9640+_0x37615e/0x2,_0x893ebc=this[_0x299d12(0x2c6)][_0x299d12(0x35d)](),_0x1e7548=new _0x1c3608[(_0x299d12(0xd2))]([_0x893ebc[0x0],_0x893ebc[0x1],_0x893ebc[0x2],_0x893ebc[0x3],_0x3a4b54,_0x2aba51]),_0x50668f=this[_0x299d12(0x38f)](),_0x3db136=(this['isInGroup']&&(_0x50668f==null?void 0x0:_0x50668f[_0x299d12(0x12f)])===_0x1c3608[_0x299d12(0x3dd)][_0x299d12(0x480)]?_0x50668f[_0x299d12(0xc8)][_0x299d12(0x449)](_0x1e7548):_0x1e7548)[_0x299d12(0x13f)]()['applyPoint'](_0x5e378d),_0x1dea29=_0x1d83ab/0x2,_0x47c435=_0x37615e/0x2,_0xed90a3=this['_props'][_0x299d12(0xc9)];return _0xed90a3&&_0xed90a3['isLineShape']()?_0xed90a3[_0x299d12(0x2a2)](_0x3db136['x'],_0x3db136['y'],_0x1d83ab,_0x37615e):_0x3db136['x']>=-_0x1dea29-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['x']<=_0x1dea29+this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']>=-_0x47c435-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']<=_0x47c435+this[_0x299d12(0x3fa)]/0x2;}['dispose'](){const _0x26ccb6=_0x5671d9;this[_0x26ccb6(0x1f5)][_0x26ccb6(0x39f)](),this[_0x26ccb6(0x10f)][_0x26ccb6(0xc9)]=null,super[_0x26ccb6(0x39f)]();}},_0x180d91=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x583b20,_0x3f6d65){const _0x275593=_0x5671d9;super(_0x583b20,_0x3f6d65),_0x20dccc(this,_0x275593(0x397),null),_0x20dccc(this,'_adjName',null),_0x20dccc(this,_0x275593(0x48e),null),_0x20dccc(this,_0x275593(0x1f0),null),_0x3f6d65&&this[_0x275593(0x172)](_0x3f6d65);}[_0x5671d9(0x4cd)](){const _0x176a4a=_0x5671d9;return{'unitId':this[_0x176a4a(0x48e)],'subUnitId':this[_0x176a4a(0x1f0)],'drawingId':this[_0x176a4a(0x397)]};}[_0x5671d9(0x172)](_0x10a5a6){const _0x235787=_0x5671d9;_0x10a5a6['shapeId']!==void 0x0&&(this[_0x235787(0x397)]=_0x10a5a6['shapeId']),_0x10a5a6[_0x235787(0x123)]!==void 0x0&&(this[_0x235787(0x134)]=_0x10a5a6[_0x235787(0x123)]),_0x10a5a6[_0x235787(0x173)]!==void 0x0&&(this['_unitId']=_0x10a5a6['unitId']),_0x10a5a6[_0x235787(0x135)]!==void 0x0&&(this[_0x235787(0x1f0)]=_0x10a5a6['subUnitId']),this['transformByState']({'width':_0x10a5a6[_0x235787(0x439)],'height':_0x10a5a6['height']});}[_0x5671d9(0x23d)](_0x5aef51){const _0x456ff3=_0x5671d9;_0x1c3608['Circle'][_0x456ff3(0xda)](_0x5aef51,{'radius':_0x287478['ShapeDefaultConfig'][_0x456ff3(0x14b)],'fill':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x227)],'stroke':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x232)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4177c4(_0x4e47d4,_0x7023fa){return function(_0x13121e,_0x31d5bb){_0x7023fa(_0x13121e,_0x31d5bb,_0x4e47d4);};}function _0x25a2aa(_0x94e80f,_0x547508,_0x5376fd,_0x122217){const _0x30f80c=_0x5671d9;var _0x1bec09=arguments[_0x30f80c(0x175)],_0x1831f1=_0x1bec09<0x3?_0x547508:_0x122217===null?_0x122217=Object[_0x30f80c(0x1bb)](_0x547508,_0x5376fd):_0x122217,_0x56e97b;if(typeof Reflect==_0x30f80c(0x2a6)&&typeof Reflect[_0x30f80c(0x2be)]=='function')_0x1831f1=Reflect[_0x30f80c(0x2be)](_0x94e80f,_0x547508,_0x5376fd,_0x122217);else{for(var _0xbb18df=_0x94e80f[_0x30f80c(0x175)]-0x1;_0xbb18df>=0x0;_0xbb18df--)(_0x56e97b=_0x94e80f[_0xbb18df])&&(_0x1831f1=(_0x1bec09<0x3?_0x56e97b(_0x1831f1):_0x1bec09>0x3?_0x56e97b(_0x547508,_0x5376fd,_0x1831f1):_0x56e97b(_0x547508,_0x5376fd))||_0x1831f1);}return _0x1bec09>0x3&&_0x1831f1&&Object[_0x30f80c(0x406)](_0x547508,_0x5376fd,_0x1831f1),_0x1831f1;}let _0x57eebe=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x1b7567,_0x5d32c3,_0xadc00b,_0x3d60b4,_0x4535a5,_0x2d27a8){const _0x52242e=_0x5671d9;super(),this['_drawingManagerService']=_0x1b7567,this[_0x52242e(0xd0)]=_0x5d32c3,this[_0x52242e(0x114)]=_0xadc00b,this[_0x52242e(0x2a0)]=_0x3d60b4,this[_0x52242e(0x47b)]=_0x4535a5,this[_0x52242e(0x245)]=_0x2d27a8,_0x20dccc(this,_0x52242e(0x26d),new Map()),this[_0x52242e(0x252)](this[_0x52242e(0x245)]['presentationChanged$'][_0x52242e(0x317)](_0x33ce12=>{const _0x1a79e2=_0x52242e;var _0x376c9a;(_0x376c9a=this['_formulaShapes']['get'](this['_formulaKey'](_0x33ce12[_0x1a79e2(0x173)],_0x33ce12['subUnitId'],_0x33ce12[_0x1a79e2(0x37d)])))==null||_0x376c9a[_0x1a79e2(0x3a7)](_0x1465a5=>_0x1465a5['setFormulaPresentation'](_0x33ce12['presentation'],_0x33ce12[_0x1a79e2(0x159)]));})),this[_0x52242e(0x252)](this[_0x52242e(0x306)][_0x52242e(0x1d5)]['subscribe'](_0x13fa02=>{const _0x5aa981=_0x52242e;_0x13fa02[_0x5aa981(0x3a7)](_0x304dae=>{const _0x1d468d=_0x5aa981;this[_0x1d468d(0x245)][_0x1d468d(0x267)]({'unitId':_0x304dae[_0x1d468d(0x173)],'subUnitId':_0x304dae[_0x1d468d(0x135)],'shapeId':_0x304dae['drawingId']}),this[_0x1d468d(0x26d)][_0x1d468d(0x3b8)](this[_0x1d468d(0x28c)](_0x304dae[_0x1d468d(0x173)],_0x304dae['subUnitId'],_0x304dae[_0x1d468d(0x493)]));});}));}[_0x5671d9(0x3a0)](_0x5b77fb,_0x529d6e,_0x402ccc){const _0x589beb=_0x5671d9;let {transform:_0x19bf81,drawingType:_0x100f09,srcRect:_0x4ef97a,prstGeom:_0x51f949,groupId:_0x317108,unitId:_0x5ac789,subUnitId:_0x2d793e,drawingId:_0x2ba5aa,isMultiTransform:_0x1a6617,transforms:_0xbb930,hidden:_0x65d8df,selectable:_0x500f5a}=_0x5b77fb;if(_0x100f09!==_0x383631[_0x589beb(0x286)][_0x589beb(0x456)]||!this['_drawingManagerService'][_0x589beb(0xd4)]()||_0x19bf81==null)return;let _0x34c104=this[_0x589beb(0x306)]['getDrawingEditable'](),_0x5c00b8=_0x1a6617&&_0xbb930?_0xbb930:[_0x19bf81],_0x1c82f5=[];for(let _0x1c77b3 of _0x5c00b8){let {left:_0x2bcdab,top:_0x193660,width:_0x4ecabf,height:_0x1a05e6,angle:_0x25faca,flipX:_0xfe3378,flipY:_0x289f5b,skewX:_0x17ab34,skewY:_0x3a6cf3}=_0x1c77b3,_0x2c067c=_0x5c00b8[_0x589beb(0x360)](_0x1c77b3),_0x1a2475=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5ac789,'subUnitId':_0x2d793e,'drawingId':_0x2ba5aa},_0x1a6617?_0x2c067c:void 0x0),_0x3291b6=_0x529d6e[_0x589beb(0x327)](_0x1a2475);if(_0x3291b6!=null){let _0x5d077e={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x3291b6 instanceof _0x23237e&&this[_0x589beb(0x273)](_0x3291b6,_0x5d077e),_0x3291b6[_0x589beb(0x315)]({'left':_0x2bcdab,'top':_0x193660,'width':_0x4ecabf,'height':_0x1a05e6,'angle':_0x25faca,'flipX':_0xfe3378,'flipY':_0x289f5b,'skewX':_0x17ab34,'skewY':_0x3a6cf3});continue;}let _0x1d55f6=this[_0x589beb(0x306)]['getDrawingOrder'](_0x5ac789,_0x2d793e),_0x267aa8=_0x1d55f6[_0x589beb(0x360)](_0x2ba5aa);if(_0x529d6e[_0x589beb(0x327)](_0x1a2475)||!this[_0x589beb(0x306)]['getDrawingVisible']())continue;let _0x271f4=this[_0x589beb(0xd0)]['getShapeModel'](_0x5ac789,_0x2d793e,_0x2ba5aa);if(!_0x271f4)continue;let _0x1bb54c=(0x0,_0x287478[_0x589beb(0x4d2)])(_0x271f4[_0x589beb(0x347)]())?{..._0x2a9d6c[_0x589beb(0x2b4)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x2a9d6c[_0x589beb(0x2b4)],_0x498bd9=_0x271f4['getShapeData']()[_0x589beb(0x339)],_0x5c9d28={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x498bd9&&this[_0x589beb(0x245)]['register'](_0x5c9d28,_0x498bd9);let _0x566c34=new _0x23237e(_0x1a2475,{..._0x1c77b3,'zIndex':_0x267aa8===-0x1?_0x1d55f6['length']-0x1:_0x267aa8,'shapeModel':_0x271f4,'localeService':this[_0x589beb(0x114)],'shapeId':_0x2ba5aa,'unitId':_0x5ac789,'subUnitId':_0x2d793e,'visible':_0x65d8df!==!0x0,'evented':_0x500f5a!==!0x1,'formulaPresentation':_0x498bd9?this['_shapeFormulaService'][_0x589beb(0x155)](_0x5c9d28):void 0x0,'animateFormulaPresentation':(_0x498bd9==null?void 0x0:_0x498bd9[_0x589beb(0x159)])!==!0x1,'transformerConfig':_0x1bb54c});if(_0x498bd9){let _0x6fa705=this[_0x589beb(0x28c)](_0x5ac789,_0x2d793e,_0x2ba5aa),_0x3c7a07=this[_0x589beb(0x26d)][_0x589beb(0x4be)](_0x6fa705)??new Set();_0x3c7a07[_0x589beb(0x338)](_0x566c34),this[_0x589beb(0x26d)][_0x589beb(0x32d)](_0x6fa705,_0x3c7a07);}_0x529d6e[_0x589beb(0x13d)](_0x566c34,_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']),_0x34c104&&_0x529d6e['attachTransformerTo'](_0x566c34),_0x317108&&(0x0,_0x129810[_0x589beb(0xeb)])({'drawingId':_0x317108,'unitId':_0x5ac789,'subUnitId':_0x2d793e},_0x566c34,_0x529d6e,this['_drawingManagerService']),_0x51f949!=null&&_0x566c34[_0x589beb(0x408)](_0x51f949),_0x4ef97a!=null&&_0x566c34['setSrcRect'](_0x4ef97a);let _0x5d5c9e=this[_0x589beb(0x256)](_0x566c34,_0x271f4[_0x589beb(0xe8)]());if(_0x5d5c9e){var _0x2d8342;_0x402ccc==null||(_0x2d8342=_0x402ccc[_0x589beb(0x1a3)])==null||_0x2d8342[_0x589beb(0x338)](_0x5d5c9e);}_0x1c82f5[_0x589beb(0x27e)](_0x566c34);}return _0x1c82f5;}[_0x5671d9(0x28c)](_0x570768,_0x549ad7,_0x1fc4df){return _0x570768+'\x00'+_0x549ad7+'\x00'+_0x1fc4df;}['refreshFormulaPresentation'](_0x2d5074,_0x75afd0){const _0x276969=_0x5671d9;let _0x360259=this[_0x276969(0xd0)][_0x276969(0x3a8)](_0x75afd0[_0x276969(0x173)],_0x75afd0['subUnitId'],_0x75afd0['shapeId']),_0x2dd97f=_0x360259==null?void 0x0:_0x360259['getShapeData']()[_0x276969(0x339)],_0x2d96e5=this[_0x276969(0x28c)](_0x75afd0['unitId'],_0x75afd0[_0x276969(0x135)],_0x75afd0[_0x276969(0x37d)]);if(_0x2dd97f){this[_0x276969(0x245)][_0x276969(0x4c3)](_0x75afd0,_0x2dd97f);let _0x2783de=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5)??new Set();_0x2783de['add'](_0x2d5074),this[_0x276969(0x26d)]['set'](_0x2d96e5,_0x2783de);}else{var _0x458127;this[_0x276969(0x245)][_0x276969(0x267)](_0x75afd0),(_0x458127=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5))==null||_0x458127[_0x276969(0x3b8)](_0x2d5074);}_0x2d5074[_0x276969(0x40c)](_0x2dd97f?this[_0x276969(0x245)][_0x276969(0x155)](_0x75afd0):void 0x0,(_0x2dd97f==null?void 0x0:_0x2dd97f[_0x276969(0x159)])!==!0x1);}[_0x5671d9(0x4b8)](_0x56c8e3){const _0x396912=_0x5671d9;let _0x4dc252=_0x56c8e3['shapeModel'][_0x396912(0xe8)](),_0x586c14=_0x4dc252[_0x396912(0x3c6)];if(!_0x586c14||_0x586c14[_0x396912(0x2f1)]!==_0x287478[_0x396912(0x44a)][_0x396912(0x385)]||!_0x586c14[_0x396912(0x3b4)]){_0x56c8e3[_0x396912(0x2f5)](void 0x0);return;}this[_0x396912(0x256)](_0x56c8e3,_0x4dc252);}[_0x5671d9(0x256)](_0x2035cd,_0x53ad0c){const _0xc6637d=_0x5671d9;let _0x4ea9b1=_0x53ad0c[_0xc6637d(0x3c6)];if(!_0x4ea9b1||_0x4ea9b1[_0xc6637d(0x2f1)]!==_0x287478[_0xc6637d(0x44a)]['PictureFill']||!_0x4ea9b1[_0xc6637d(0x3b4)])return;let _0x3ff4b2=_0x4ea9b1[_0xc6637d(0x3b4)],_0xcd29ef=_0x4ea9b1[_0xc6637d(0x356)]??_0x287478['ImageSourceTypeEnum']['URL'],_0x21c487=this[_0xc6637d(0x2a0)]['getImageSourceCache'](_0x3ff4b2,_0xcd29ef);if(_0x21c487){_0x2035cd['setFillImage'](_0x21c487);return;}return this[_0xc6637d(0xe4)](_0x2035cd,_0x3ff4b2,_0xcd29ef);}async[_0x5671d9(0xe4)](_0x3ec374,_0x220783,_0x2d94ad){const _0x5b0504=_0x5671d9;let _0x22c3a1;try{if(_0x2d94ad===_0x287478[_0x5b0504(0x1f6)][_0x5b0504(0x18d)])_0x22c3a1=await this[_0x5b0504(0x2a0)]['getImage'](_0x220783);else{if(_0x2d94ad===_0x287478['ImageSourceTypeEnum'][_0x5b0504(0x458)])try{_0x22c3a1=await this[_0x5b0504(0x47b)]['getImage'](_0x220783);}catch{_0x22c3a1=_0x220783;}else _0x22c3a1=_0x220783;}}catch(_0x14ad71){console[_0x5b0504(0x2fc)](_0x5b0504(0x305),_0x14ad71);return;}await new Promise(_0x2ef8c9=>{const _0x3f0735=_0x5b0504;let _0x567e73=new window['Image']();_0x567e73[_0x3f0735(0x1cf)]=()=>{const _0x4a5ee9=_0x3f0735;this[_0x4a5ee9(0x2a0)][_0x4a5ee9(0x1ce)](_0x220783,_0x2d94ad,_0x567e73),_0x3ec374['setFillImage'](_0x567e73),_0x2ef8c9();},_0x567e73[_0x3f0735(0x42e)]=()=>{const _0x435912=_0x3f0735;console['error'](_0x435912(0x29b),_0x220783),_0x2ef8c9();},_0x567e73[_0x3f0735(0x2cb)]=_0x22c3a1;});}};_0x57eebe=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x110)]),_0x4177c4(0x4,_0x383631['IURLImageService']),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x54f73f[_0x5671d9(0x484)]))],_0x57eebe);let _0x243401=class extends _0x383631['Disposable']{constructor(_0x3979ac,_0x17ef94,_0x6b9d2f,_0x2ceac2,_0x2225be,_0x5bd028){const _0x3ff34e=_0x5671d9;super(),this[_0x3ff34e(0x306)]=_0x3979ac,this['_sheetsShapeService']=_0x17ef94,this[_0x3ff34e(0x42d)]=_0x6b9d2f,this[_0x3ff34e(0x488)]=_0x2ceac2,this[_0x3ff34e(0x434)]=_0x2225be,this['_commandService']=_0x5bd028,_0x20dccc(this,_0x3ff34e(0x166),null),_0x20dccc(this,'_unitId',null),_0x20dccc(this,_0x3ff34e(0x1f0),null),_0x20dccc(this,_0x3ff34e(0x182),void 0x0),_0x20dccc(this,_0x3ff34e(0x236),[]),_0x20dccc(this,_0x3ff34e(0x2dc),0x0),_0x20dccc(this,_0x3ff34e(0x216),0x0),_0x20dccc(this,_0x3ff34e(0x4aa),0x0),_0x20dccc(this,'_baseShapeHeight',0x0),_0x20dccc(this,'_isStartAdjusting',!0x1),_0x20dccc(this,_0x3ff34e(0x23a),void 0x0),_0x20dccc(this,_0x3ff34e(0x194),void 0x0),_0x20dccc(this,'_adjHandlerPointerMove',void 0x0),_0x20dccc(this,_0x3ff34e(0x115),void 0x0),_0x20dccc(this,_0x3ff34e(0x18b),!0x1),this[_0x3ff34e(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x3c3)](_0x1c91cb,_0x1a8bef,_0x485533){const _0x303068=_0x5671d9;let _0xf34d91=this[_0x303068(0xd0)][_0x303068(0x3a8)](_0x1c91cb,_0x1a8bef,_0x485533);if(_0xf34d91)return _0xf34d91[_0x303068(0x247)]();}['clearAdjustControls'](){const _0x4b25a1=_0x5671d9;this[_0x4b25a1(0x3ec)]();}['refreshAdjustControls'](){const _0x3d7ab4=_0x5671d9;this[_0x3d7ab4(0x2ab)](!0x0);}[_0x5671d9(0xdc)](_0x11845e){const _0x1e9ad3=_0x5671d9;this[_0x1e9ad3(0x18b)]=_0x11845e;}['_getShapeAdjustInfosById'](_0x2630e1,_0x411a9c,_0x4b1a0f,_0x11b25e){const _0x3ff3d7=_0x5671d9;let _0x383489=this[_0x3ff3d7(0xd0)][_0x3ff3d7(0x3a8)](_0x2630e1,_0x411a9c,_0x4b1a0f);if(_0x383489)return _0x383489[_0x3ff3d7(0x12b)](_0x11b25e);}['_createShapeAdjustControls'](_0x2f6719=!0x1){const _0x45c018=_0x5671d9;if(this[_0x45c018(0x48e)]===null||this[_0x45c018(0x1f0)]===null||this[_0x45c018(0x166)]===null)return;let _0x1b001f=this[_0x45c018(0x42d)]['getRenderUnitById'](this[_0x45c018(0x48e)]);if(!_0x1b001f||!_0x1b001f[_0x45c018(0x438)](_0x261221['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x1a4d70}=_0x1b001f,_0x56a167={'unitId':this[_0x45c018(0x48e)],'subUnitId':this[_0x45c018(0x1f0)],'drawingId':this[_0x45c018(0x166)]},_0x1ca60b=this[_0x45c018(0x306)][_0x45c018(0x14d)](_0x56a167),{transform:_0x3167c5}=_0x1ca60b;if(!_0x3167c5||_0x1ca60b[_0x45c018(0x3d6)]!==_0x383631[_0x45c018(0x286)][_0x45c018(0x456)])return;let {left:_0x235448,top:_0x38984e,width:_0x31bfdf,height:_0x2033f2,flipX:_0x5275e0,flipY:_0x30a9af,angle:_0x2b044c=0x0}=_0x3167c5;if(_0x235448===void 0x0||_0x38984e===void 0x0)return;if(_0x2f6719){let _0x26356c=this[_0x45c018(0xd0)][_0x45c018(0x3a8)](this['_unitId'],this[_0x45c018(0x1f0)],this['_activeShapeId']);_0x26356c==null||_0x26356c[_0x45c018(0x288)]({'width':_0x31bfdf??0x0,'height':_0x2033f2??0x0}),this['_activeShapeAdjustPointList']=_0x26356c==null?void 0x0:_0x26356c[_0x45c018(0x247)]();}let _0x75916c=this[_0x45c018(0x182)];for(let _0x388e7a=0x0;_0x388e7a<_0x75916c['length'];_0x388e7a++){let _0x3de2ae=_0x75916c[_0x388e7a],_0x7afdbd=_0x3de2ae['x'],_0x3d3a68=_0x3de2ae['y'];if(_0x5275e0&&(_0x7afdbd=(_0x31bfdf||0x0)-_0x7afdbd),_0x30a9af&&(_0x3d3a68=(_0x2033f2||0x0)-_0x3d3a68),_0x2b044c!==0x0){let _0x19a7f9=(_0x31bfdf||0x0)/0x2,_0xcb8812=(_0x2033f2||0x0)/0x2,_0x429e81=_0x2b044c*Math['PI']/0xb4,_0x2d3bb1=Math[_0x45c018(0x3bb)](_0x429e81),_0x29ed95=Math[_0x45c018(0x417)](_0x429e81),_0x42fba9=_0x7afdbd-_0x19a7f9,_0x2141c3=_0x3d3a68-_0xcb8812;_0x7afdbd=_0x19a7f9+(_0x42fba9*_0x2d3bb1-_0x2141c3*_0x29ed95),_0x3d3a68=_0xcb8812+(_0x42fba9*_0x29ed95+_0x2141c3*_0x2d3bb1);}let _0x118cee={'x':_0x7afdbd,'y':_0x3d3a68,'adjName':_0x3de2ae[_0x45c018(0x123)]};this[_0x45c018(0x337)](_0x1a4d70,_0x118cee,_0x118cee['adjName'],_0x235448,_0x38984e,this['_unitId'],this[_0x45c018(0x1f0)]);}}['_updateShapeAdjustControls'](_0x4f561c=!0x1){_0x4f561c&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x4f561c));}['_addShapeAdjustControl'](_0x223bc4,_0x51420c,_0x457e06,_0x43e6cb,_0x4a874a,_0x2918b0,_0x35561a){const _0x255b74=_0x5671d9;if(!this[_0x255b74(0x166)])return;let _0x5ced91=_0x223bc4[_0x255b74(0x327)](_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06);if(_0x5ced91){_0x5ced91['transformByState']({'left':_0x51420c['x']+_0x43e6cb-_0x287478['ShapeDefaultConfig'][_0x255b74(0x14b)],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)]});return;}let _0x43a7a4={'left':_0x51420c['x']+_0x43e6cb-_0x287478[_0x255b74(0x10a)]['adjHandleSize'],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)],'adjName':_0x457e06,'shapeId':this[_0x255b74(0x166)],'unitId':_0x2918b0,'subUnitId':_0x35561a,'width':_0x287478['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x287478[_0x255b74(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608[_0x255b74(0x28a)]+0x1,'evented':!0x0},_0x19728e=new _0x180d91(_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06,_0x43a7a4);this[_0x255b74(0x236)][_0x255b74(0x27e)](_0x19728e),this[_0x255b74(0x324)](_0x19728e,_0x223bc4,_0x457e06),_0x223bc4['addObject'](_0x19728e,_0x1c3608[_0x255b74(0x28a)]+0x1);}[_0x5671d9(0x3ec)](){const _0x5ea405=_0x5671d9;this[_0x5ea405(0x236)]['length']!==0x0&&(this[_0x5ea405(0x236)][_0x5ea405(0x3a7)](_0x6b698d=>{const _0x5c5e71=_0x5ea405;_0x6b698d[_0x5c5e71(0x39f)]();}),this[_0x5ea405(0x236)]=[]);}[_0x5671d9(0x350)](){const _0x8a7b06=_0x5671d9;this[_0x8a7b06(0x304)]();}['_getScrollInfo'](_0x5b0eb6,_0x2e1452){const _0x213830=_0x5671d9;var _0x52f5b0;let _0x269234={'x':0x0,'y':0x0};if(!_0x5b0eb6||!_0x2e1452)return _0x269234;let _0x37255e=this['_renderManagerService'][_0x213830(0x1fa)](_0x5b0eb6);if(!_0x37255e||!_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x3fb)])['getSkeleton'](_0x2e1452))return _0x269234;let _0x10a22=_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x1b5)]),_0x346a8e=_0x10a22==null?void 0x0:_0x10a22['getCurrentScrollState']();if(!_0x346a8e)return _0x269234;let _0x499f70=(_0x52f5b0=this[_0x213830(0x434)][_0x213830(0x147)](_0x5b0eb6))==null?void 0x0:_0x52f5b0[_0x213830(0x13a)](_0x2e1452);if(!_0x499f70)return _0x269234;let _0x199e22=(0x0,_0x261221[_0x213830(0x362)])(_0x346a8e[_0x213830(0xdb)],_0x346a8e[_0x213830(0x30a)],_0x37255e['scene'],_0x499f70);return _0x199e22?{'x':_0x199e22[_0x213830(0x2d8)],'y':_0x199e22[_0x213830(0x403)]}:_0x269234;}[_0x5671d9(0x36c)](_0x522661,_0x5b6bae){const _0x238090=_0x5671d9;var _0x131fc0;let _0x57197b=(_0x131fc0=this[_0x238090(0x434)][_0x238090(0x147)](_0x522661))==null?void 0x0:_0x131fc0[_0x238090(0x13a)](_0x5b6bae);return(_0x57197b==null?void 0x0:_0x57197b[_0x238090(0x1e5)]())??0x1;}['_attachAdjustEvent'](_0x55a405,_0x271958,_0x4fbbad){const _0x2e5376=_0x5671d9;this['disposeWithMe']((0x0,_0x383631['toDisposable'])(_0x55a405[_0x2e5376(0xe5)][_0x2e5376(0x17a)]((_0x172860,_0x24cd70)=>{const _0x392df8=_0x2e5376;var _0x196956,_0x5ca2d5,_0x49dedf,_0x16417a;let _0x5a30ca=_0x55a405[_0x392df8(0x4cd)]();this[_0x392df8(0x23a)]=this[_0x392df8(0x2e5)](_0x5a30ca[_0x392df8(0x173)],_0x5a30ca[_0x392df8(0x135)],_0x5a30ca[_0x392df8(0x493)],_0x4fbbad),this[_0x392df8(0x194)]=this[_0x392df8(0xd0)][_0x392df8(0x3a8)](_0x5a30ca['unitId'],_0x5a30ca['subUnitId'],_0x5a30ca[_0x392df8(0x493)]);let _0x355276=this[_0x392df8(0x306)][_0x392df8(0x14d)]({'unitId':this['_unitId'],'subUnitId':this[_0x392df8(0x1f0)],'drawingId':this['_activeShapeId']}),{transform:_0x314f8c}=_0x355276;if(_0x314f8c){let {left:_0x3c8840,top:_0x2135fe,width:_0xd09f7b,height:_0x3c2322}=_0x314f8c;this[_0x392df8(0x2dc)]=_0x3c8840||0x0,this['_baseShapeTop']=_0x2135fe||0x0,this['_baseShapeWidth']=_0xd09f7b||0x0,this['_baseShapeHeight']=_0x3c2322||0x0;}let _0x14a4dc=!!((_0x196956=_0x355276[_0x392df8(0x2c6)])!=null&&_0x196956[_0x392df8(0x160)]),_0x470994=!!((_0x5ca2d5=_0x355276[_0x392df8(0x2c6)])!=null&&_0x5ca2d5[_0x392df8(0x481)]),_0xc75c60=((_0x49dedf=_0x355276['transform'])==null?void 0x0:_0x49dedf[_0x392df8(0x46e)])||0x0;this[_0x392df8(0x1e7)]=!0x0,_0x271958[_0x392df8(0x457)]();let _0x3425ce={...((_0x16417a=this['_activeAdjustInfo'])==null?void 0x0:_0x16417a['currentAdjustValues'])??{}};this[_0x392df8(0x40e)]=_0x271958[_0x392df8(0x41a)]['subscribeEvent']((_0x3ff18d,_0x1bb040)=>{const _0x483d84=_0x392df8;if(!this['_isStartAdjusting'])return;let {offsetX:_0x46bc8f,offsetY:_0x45b751}=_0x3ff18d,_0x322b41=this[_0x483d84(0x23a)];if(this['_activeShapeModel']&&_0x322b41){_0x271958[_0x483d84(0x457)](),_0x271958['setCursor'](_0x1c3608[_0x483d84(0xf4)][_0x483d84(0x450)]);let _0x4e1f0d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x483d84(0x49a)]},_0x2918ab=this[_0x483d84(0x4a4)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0x10a531=this[_0x483d84(0x36c)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0xd6d065=_0x46bc8f/_0x10a531+_0x2918ab['x']-this['_baseShapeLeft'],_0x34e7cb=_0x45b751/_0x10a531+_0x2918ab['y']-this[_0x483d84(0x216)];if(_0xc75c60!==0x0){let _0x4daf22=this['_baseShapeWidth']/0x2,_0x4ef221=this['_baseShapeHeight']/0x2,_0x21d8e6=_0xc75c60*Math['PI']/0xb4,_0x3897c8=Math[_0x483d84(0x3bb)](_0x21d8e6),_0x426cb4=Math[_0x483d84(0x417)](_0x21d8e6),_0x595c8e=_0xd6d065-_0x4daf22,_0x464b54=_0x34e7cb-_0x4ef221;_0xd6d065=_0x4daf22+(_0x595c8e*_0x3897c8+_0x464b54*_0x426cb4),_0x34e7cb=_0x4ef221+(-_0x595c8e*_0x426cb4+_0x464b54*_0x3897c8);}_0x14a4dc&&(_0xd6d065=this[_0x483d84(0x4aa)]-_0xd6d065),_0x470994&&(_0x34e7cb=this[_0x483d84(0x49a)]-_0x34e7cb);let _0x24f807={'x':_0xd6d065,'y':_0x34e7cb},_0xb3449e=this[_0x483d84(0x194)]['calcAdjValues'](_0x4e1f0d,_0x24f807,_0x322b41,_0x14a4dc,_0x470994);if(Object[_0x483d84(0x144)](_0xb3449e)[_0x483d84(0x175)]===0x0)return;for(let [_0x1a186e,_0x4456e6]of Object['entries'](_0xb3449e))this['_activeShapeModel'][_0x483d84(0x290)](_0x1a186e,_0x4456e6);this['_activeShapeModel']['updateContext']({'width':this[_0x483d84(0x4aa)],'height':this[_0x483d84(0x49a)]});let _0x3cad27=this[_0x483d84(0x306)][_0x483d84(0x14d)]({'unitId':_0x5a30ca[_0x483d84(0x173)],'subUnitId':_0x5a30ca[_0x483d84(0x135)],'drawingId':_0x5a30ca[_0x483d84(0x493)]});_0x3cad27&&(this[_0x483d84(0x488)][_0x483d84(0x3a0)](_0x3cad27,_0x271958),this[_0x483d84(0x182)]=this[_0x483d84(0x3c3)](_0x5a30ca[_0x483d84(0x173)],_0x5a30ca[_0x483d84(0x135)],_0x5a30ca[_0x483d84(0x493)]),this[_0x483d84(0x350)]());}_0x1bb040['stopPropagation']();}),this[_0x392df8(0x115)]=_0x271958['onPointerUp$'][_0x392df8(0x17a)]((_0x4826d6,_0x6922c5)=>{const _0x5d4b16=_0x392df8;this[_0x5d4b16(0x40e)][_0x5d4b16(0x165)](),this[_0x5d4b16(0x115)][_0x5d4b16(0x165)](),_0x271958[_0x5d4b16(0x238)]();let _0x5612f3=this['_activeAdjustInfo'];if(_0x5612f3){let _0x1c2d18=_0x5a30ca[_0x5d4b16(0x173)],_0x48467b=_0x5a30ca[_0x5d4b16(0x135)],_0x36a58b=_0x5a30ca[_0x5d4b16(0x493)],_0x583f92={};for(let _0x451cc8 of Object['keys'](_0x5612f3['currentAdjustValues'])){var _0x5abcd8;let _0x3dc9e5=(_0x5abcd8=this[_0x5d4b16(0x194)])==null?void 0x0:_0x5abcd8[_0x5d4b16(0x440)](_0x451cc8);_0x3dc9e5!==void 0x0&&(_0x583f92[_0x451cc8]=_0x3dc9e5);}Object[_0x5d4b16(0x144)](_0x583f92)[_0x5d4b16(0x175)]>0x0&&_0x100eae(this['_commandService'],_0x1c2d18,_0x48467b,_0x36a58b,{'oldShapeData':{'adjustValues':_0x3425ce}},{'adjustValues':_0x583f92});}this['_activeAdjustInfo']=void 0x0,this[_0x5d4b16(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x6922c5[_0x5d4b16(0x425)](),_0x271958[_0x5d4b16(0x366)]();}),_0x24cd70[_0x392df8(0x425)]();})));}['_registerDrawingMoveHandler'](){const _0x56bd6a=_0x5671d9;let _0x9d9d08=this[_0x56bd6a(0x434)][_0x56bd6a(0x393)](_0x383631[_0x56bd6a(0x363)]['UNIVER_SHEET']);this['disposeWithMe'](_0x9d9d08[_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x581512=>_0x581512?_0x581512[_0x56bd6a(0x410)][_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x232661=>{const _0x4d25bf=_0x56bd6a;if(!_0x232661)return _0x4250df[_0x4d25bf(0x15b)];let _0x468691=_0x581512['getUnitId'](),_0x2ae39d=this[_0x4d25bf(0x42d)][_0x4d25bf(0x1fa)](_0x468691),_0x329c87=_0x2ae39d==null?void 0x0:_0x2ae39d[_0x4d25bf(0x333)];return _0x329c87?(0x0,_0x4250df['of'])(_0x329c87):_0x4250df[_0x4d25bf(0x15b)];})):_0x4250df['EMPTY']))[_0x56bd6a(0x317)](_0x1ad9aa=>{const _0x16a3d0=_0x56bd6a;let _0x29ad83=_0x1ad9aa[_0x16a3d0(0x178)]();this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x41a)][_0x16a3d0(0x17a)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x443)]['subscribe'](_0x2abe4e=>{const _0xd397f1=_0x16a3d0;let {objects:_0x364f8f}=_0x2abe4e;this[_0xd397f1(0x304)](),_0x364f8f!==null&&_0x364f8f[_0xd397f1(0x23c)]===0x1&&_0x364f8f[_0xd397f1(0x206)]()[_0xd397f1(0x289)]()[_0xd397f1(0x320)]instanceof _0x23237e&&this['setShouldShowAdjust'](!0x0);})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x1f8)][_0x16a3d0(0x317)](()=>{const _0x2a37bc=_0x16a3d0;this['_isShouldShowDrawingShapeAdjust']&&this[_0x2a37bc(0x3ec)]();})),this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x243)][_0x16a3d0(0x17a)](()=>{const _0x24dde9=_0x16a3d0;this[_0x24dde9(0x18b)]&&(this[_0x24dde9(0xdc)](!0x1),this[_0x24dde9(0x304)]());})),this['disposeWithMe'](_0x29ad83[_0x16a3d0(0x3c2)][_0x16a3d0(0x317)](()=>{const _0x2fa3da=_0x16a3d0;this['_unitId']&&this[_0x2fa3da(0x1f0)]&&this[_0x2fa3da(0x166)]&&this[_0x2fa3da(0x306)][_0x2fa3da(0x14d)]({'unitId':this[_0x2fa3da(0x48e)],'subUnitId':this[_0x2fa3da(0x1f0)],'drawingId':this[_0x2fa3da(0x166)]})&&(this[_0x2fa3da(0x182)]=this[_0x2fa3da(0x3c3)](this[_0x2fa3da(0x48e)],this['_subUnitId'],this['_activeShapeId']),this[_0x2fa3da(0x350)]());}));}));}[_0x5671d9(0x365)](){const _0x1e9314=_0x5671d9;this[_0x1e9314(0x252)](this['_commandService'][_0x1e9314(0x15d)](_0x52b18e=>{const _0x29f4b4=_0x1e9314;if(_0x52b18e['id']!==_0x276c17[_0x29f4b4(0x250)]['id'])return;let {unitId:_0x43f338,subUnitId:_0x139bc2,shapeId:_0x3469df}=_0x52b18e[_0x29f4b4(0x4a7)];_0x43f338===this['_unitId']&&_0x139bc2===this[_0x29f4b4(0x1f0)]&&_0x3469df===this[_0x29f4b4(0x166)]&&this[_0x29f4b4(0x310)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['focus$'][_0x1e9314(0x317)](_0x17f854=>{const _0x24c1a8=_0x1e9314;if(_0x17f854[_0x24c1a8(0x175)]===0x1){let _0x4a1c64=_0x17f854[0x0];if(_0x4a1c64[_0x24c1a8(0x3d6)]===_0x383631['DrawingTypeEnum'][_0x24c1a8(0x456)]&&this[_0x24c1a8(0x434)][_0x24c1a8(0x129)](_0x4a1c64['unitId'])===_0x383631[_0x24c1a8(0x363)][_0x24c1a8(0x3e4)]){this[_0x24c1a8(0x166)]=_0x4a1c64[_0x24c1a8(0x493)];let {unitId:_0x2dc70d,subUnitId:_0x372029}=_0x4a1c64;this[_0x24c1a8(0x182)]=this['_getShapeAdjustPointListById'](_0x2dc70d,_0x372029,this['_activeShapeId']),this[_0x24c1a8(0x48e)]=_0x2dc70d,this['_subUnitId']=_0x372029,this[_0x24c1a8(0x3ec)](),this[_0x24c1a8(0x304)]();return;}}this[_0x24c1a8(0x166)]=null,this[_0x24c1a8(0x182)]=void 0x0,this['_unitId']=null,this[_0x24c1a8(0x1f0)]=null,this[_0x24c1a8(0x3ec)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['update$'][_0x1e9314(0x317)](_0x129ff2=>{const _0x180bb2=_0x1e9314;if(_0x129ff2[_0x180bb2(0x175)]===0x1){var _0x47de8c;let _0x556a42=_0x129ff2[0x0];((_0x47de8c=this[_0x180bb2(0x306)][_0x180bb2(0x14d)](_0x556a42))==null?void 0x0:_0x47de8c[_0x180bb2(0x3d6)])===_0x383631[_0x180bb2(0x286)][_0x180bb2(0x456)]&&this[_0x180bb2(0x2ab)](!0x0);}})),this['disposeWithMe'](this[_0x1e9314(0x306)][_0x1e9314(0x1d5)]['subscribe'](_0x99e15e=>{const _0x1bf0e9=_0x1e9314;for(let _0x50b3d8 of _0x99e15e)this['_activeShapeId']===_0x50b3d8[_0x1bf0e9(0x493)]&&(this[_0x1bf0e9(0x166)]=null,this[_0x1bf0e9(0x182)]=void 0x0,this[_0x1bf0e9(0x48e)]=null,this[_0x1bf0e9(0x1f0)]=null,this[_0x1bf0e9(0x3ec)]());}));}};_0x243401=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe)),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,_0x383631['ICommandService'])],_0x243401);let _0x39b8fc={'id':_0x5671d9(0x4a1),'type':_0x383631[_0x5671d9(0x465)]['OPERATION'],'handler':(_0x15ff7b,_0x2a82a5)=>{const _0x4541e9=_0x5671d9;let _0x22eea9=_0x15ff7b[_0x4541e9(0x4be)](_0x279593[_0x4541e9(0xf1)]),_0x5d9d6b=_0x15ff7b[_0x4541e9(0x4be)](_0x1c3608[_0x4541e9(0x1fd)]),_0xff89ea=_0x15ff7b['get'](_0x243401);if(_0x2a82a5==null)return!0x0;if(_0x2a82a5[_0x4541e9(0x175)]>0x0){var _0x425e1e;let _0x453638=(_0x425e1e=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0]['unitId']))==null?void 0x0:_0x425e1e[_0x4541e9(0x333)];if(_0x453638){let {unitId:_0x978a9c,subUnitId:_0x5a06af,drawingId:_0x509807}=_0x2a82a5[0x0],_0x23ef14=(0x0,_0x279593[_0x4541e9(0x201)])({'unitId':_0x978a9c,'subUnitId':_0x5a06af,'drawingId':_0x509807},void 0x0),_0x3bf65d=_0x453638[_0x4541e9(0x327)](_0x23ef14);if(_0x3bf65d){var _0x3b4f40;(_0x3b4f40=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0][_0x4541e9(0x173)]))==null||(_0x3b4f40=_0x3b4f40[_0x4541e9(0x333)][_0x4541e9(0x492)]())==null||_0x3b4f40[_0x4541e9(0x199)](_0x3bf65d);}}_0x22eea9[_0x4541e9(0x29c)](_0x2a82a5),_0xff89ea[_0x4541e9(0xdc)](!0x1);}return!0x0;}},_0x45134c={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x154)],'id':_0x5671d9(0x1d4),'handler':async(_0xbba8d3,_0x1d127d)=>{const _0x64f73a=_0x5671d9;let _0x527d18=(0x0,_0x111c96['getSheetCommandTarget'])(_0xbba8d3['get'](_0x383631['IUniverInstanceService']));if(!_0x527d18)return!0x1;let _0x1deea0=_0xbba8d3['get'](_0x111c96[_0x64f73a(0xea)])[_0x64f73a(0x251)]();if(!_0x1deea0)return!0x1;let _0x354cbb=_0xbba8d3['get'](_0x383631[_0x64f73a(0x24e)]),{unitId:_0x1fffd7,subUnitId:_0x4f9940}=_0x527d18,{value:_0x213b0f,enhanceParams:_0x5d1646}=_0x1d127d,{range:_0x47ff1a}=_0x1deea0,_0x425567={'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'shapeType':_0x213b0f,'range':_0x47ff1a,'shapeId':(0x0,_0x383631[_0x64f73a(0x29d)])()};if(_0x5d1646){let _0x297cac=(0x0,_0x287478[_0x64f73a(0x4d2)])(_0x213b0f),_0x152c7a=_0x213b0f===_0x287478[_0x64f73a(0x384)]['Rect'];_0x297cac&&(_0x5d1646['startArrow']||_0x5d1646[_0x64f73a(0x260)])&&(_0x425567[_0x64f73a(0x1a0)]={'ln':{'startArrow':_0x5d1646[_0x64f73a(0x12d)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478[_0x64f73a(0x163)][_0x64f73a(0x108)]}:void 0x0,'endArrow':_0x5d1646[_0x64f73a(0x260)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478['ShapeArrowSizeEnum'][_0x64f73a(0x19b)]}:void 0x0}}),_0x152c7a&&(_0x5d1646[_0x64f73a(0x3aa)]||_0x5d1646[_0x64f73a(0x32e)])&&(_0x425567[_0x64f73a(0x1a0)]=(0x0,_0x54f73f[_0x64f73a(0x47f)])({'fill':{'fillType':_0x287478[_0x64f73a(0x44a)][_0x64f73a(0x13c)],'color':_0x64f73a(0x22f)},'isHorizontal':!!_0x5d1646[_0x64f73a(0x3aa)],'stroke':{'lineStrokeType':_0x287478[_0x64f73a(0x104)][_0x64f73a(0x1d6)],'width':0x1,'color':_0x64f73a(0xe6)}}));}let _0x3942d0=_0x354cbb[_0x64f73a(0x3e7)](_0x276c17[_0x64f73a(0x3e8)]['id'],_0x425567);return setTimeout(()=>{const _0x1a60b1=_0x64f73a;_0x354cbb['executeCommand'](_0x39b8fc['id'],[{'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'drawingId':_0x425567[_0x1a60b1(0x37d)]}]);},0xc8),_0x3942d0;}},_0x56e257=_0x5671d9(0x3b1),_0x2f15dd=_0x5671d9(0x45a),_0x2a2c50='sheet.shape.floating-toolbar',_0x8c3839='sheets-shape-ui.ribbon.shape-format',_0x919f0e=(0x0,_0x383631[_0x5671d9(0x41f)])('SHAPE_TEXT'),_0x472fad='sheet.shape.text.float-menu',_0x5ad9f8={'id':_0x5671d9(0x4a6),'type':_0x383631['CommandType'][_0x5671d9(0x154)],'handler':(_0x428a6a,_0x3306a9)=>{const _0x3a26d7=_0x5671d9;let _0x1ecbbe=_0x428a6a[_0x3a26d7(0x4be)](_0x2f96d6[_0x3a26d7(0x31a)]),_0x52d952=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x422)]),_0x59d05a=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x1f7)]),_0x9e9b18=_0x428a6a['get'](_0x383631[_0x3a26d7(0x24e)]);return(0x0,_0x111c96[_0x3a26d7(0x283)])(_0x59d05a)?(_0x3306a9==null?void 0x0:_0x3306a9[_0x3a26d7(0x320)])===_0x3a26d7(0x274)?(_0x1ecbbe[_0x3a26d7(0x274)](_0x2f15dd),!0x0):(_0x1ecbbe['open']({'id':_0x2f15dd,'header':{'title':_0x52d952['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x2f15dd},'onClose':()=>{const _0x4e535c=_0x3a26d7;_0x9e9b18[_0x4e535c(0x3e7)](_0x279593['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x57e247={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':_0x5671d9(0x1c1),'handler'(){return!0x0;}};function _0x109ebf(_0x90eed8){const _0x337aa6=_0x5671d9;let _0x14447f=_0x90eed8[_0x337aa6(0x4be)](_0x279593[_0x337aa6(0xf1)])[_0x337aa6(0x486)](),_0x16c436=_0x14447f[_0x337aa6(0x175)]===0x1?_0x14447f[0x0]:null;if(!_0x16c436||_0x16c436[_0x337aa6(0x3d6)]!==_0x383631[_0x337aa6(0x286)][_0x337aa6(0x456)])return null;let _0x322316=_0x90eed8['get'](_0x276c17[_0x337aa6(0x188)]),_0x2826d5=_0x322316['getShapeTypeById'](_0x16c436['unitId'],_0x16c436['subUnitId'],_0x16c436[_0x337aa6(0x493)]),_0x5d4503=_0x322316[_0x337aa6(0x21f)](_0x16c436[_0x337aa6(0x173)],_0x16c436[_0x337aa6(0x135)],_0x16c436[_0x337aa6(0x493)]);return _0x2826d5===void 0x0||!_0x5d4503?null:{'drawing':_0x16c436,'shapeData':_0x5d4503,'shapeType':_0x2826d5};}let _0x748f1e={'id':_0x5671d9(0x311),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler':(_0x1d7f7a,_0x42d180)=>{const _0x3b899f=_0x5671d9;let _0x44f8dc=_0x109ebf(_0x1d7f7a),_0x7f7505=(0x0,_0x54f73f[_0x3b899f(0x2a4)])((_0x42d180==null?void 0x0:_0x42d180[_0x3b899f(0x477)])??(_0x42d180==null?void 0x0:_0x42d180['value'])??'');if(!_0x44f8dc||!_0x7f7505||_0x7f7505[_0x3b899f(0x435)]!==(0x0,_0x54f73f[_0x3b899f(0x4ab)])(_0x44f8dc[_0x3b899f(0x1a0)]))return!0x1;let _0x47c8ef=(0x0,_0x54f73f[_0x3b899f(0x171)])(_0x44f8dc[_0x3b899f(0x1a0)],_0x7f7505);if(!_0x47c8ef)return!0x1;let {drawing:_0x581b8d}=_0x44f8dc;return _0x1d7f7a[_0x3b899f(0x4be)](_0x383631['ICommandService'])[_0x3b899f(0x1f9)](_0x57882a['id'],{'unitId':_0x581b8d[_0x3b899f(0x173)],'subUnitId':_0x581b8d[_0x3b899f(0x135)],'shapeId':_0x581b8d[_0x3b899f(0x493)],'shapeData':_0x47c8ef,'oldShapeJSON':{'oldShapeData':_0x44f8dc[_0x3b899f(0x1a0)]}});}},_0x3a751e={'id':_0x5671d9(0x224),'type':_0x383631['CommandType'][_0x5671d9(0x229)],'handler':(_0x1fd025,_0x35bbe4)=>{const _0x300fdd=_0x5671d9;let _0xc986ba=_0x109ebf(_0x1fd025),_0x44e9ff=(_0x35bbe4==null?void 0x0:_0x35bbe4['shapeType'])??(_0x35bbe4==null?void 0x0:_0x35bbe4[_0x300fdd(0x320)]);if(!_0xc986ba||!_0x44e9ff||(0x0,_0x287478['isConnectorShape'])(_0xc986ba[_0x300fdd(0x138)])||(0x0,_0x287478[_0x300fdd(0x4d2)])(_0x44e9ff))return!0x1;let _0xed291f=(0x0,_0x54f73f[_0x300fdd(0x25d)])(_0xc986ba[_0x300fdd(0x1a0)],_0x44e9ff);if(!_0xed291f)return!0x1;let {drawing:_0x12b2f9}=_0xc986ba;return _0x1fd025[_0x300fdd(0x4be)](_0x383631[_0x300fdd(0x24e)])[_0x300fdd(0x1f9)](_0x57882a['id'],{'unitId':_0x12b2f9[_0x300fdd(0x173)],'subUnitId':_0x12b2f9[_0x300fdd(0x135)],'shapeId':_0x12b2f9[_0x300fdd(0x493)],'shapeType':_0x44e9ff,'shapeData':_0xed291f,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0xc986ba['shapeType'],'oldShapeData':_0xc986ba['shapeData']}});}},_0x5343de=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x5fe913,_0xf68bd0){const _0x16d1ad=_0x5671d9;super(),this[_0x16d1ad(0x17e)]=_0x5fe913,this[_0x16d1ad(0x306)]=_0xf68bd0,this[_0x16d1ad(0x1f3)](),this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x0),this[_0x16d1ad(0x252)]({'dispose':()=>this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x2404a3=_0x5671d9;let _0x126283=this['_clipService'],_0x5ab2b1=new Map(),_0x20df13=_0x126283['registerClipDelegate']((_0x49ec15,_0x2359f1,_0xd8a685,_0xd11ff8,_0x407265)=>{const _0x137cbf=_0x43eb;let _0x5bd691=_0x2359f1;if(_0x5bd691===_0x287478[_0x137cbf(0x384)][_0x137cbf(0x3f1)]||_0x2359f1===_0x137cbf(0x2af))return!0x1;try{let _0x21ff65=_0x5ab2b1[_0x137cbf(0x4be)](_0x2359f1);return _0x21ff65||(_0x21ff65=new _0x287478[(_0x137cbf(0x150))](_0x5bd691,_0x137cbf(0x1e2)+_0x2359f1),_0x5ab2b1['set'](_0x2359f1,_0x21ff65)),_0x21ff65[_0x137cbf(0x203)](),_0x407265&&Object['keys'](_0x407265)[_0x137cbf(0x175)]>0x0&&_0x21ff65[_0x137cbf(0x2f4)]({'adjustValues':_0x407265},!0x0),_0x21ff65[_0x137cbf(0x288)]({'width':_0xd8a685,'height':_0xd11ff8}),_0x21ff65[_0x137cbf(0x4b7)](_0x49ec15,{'left':0x0,'top':0x0,'width':_0xd8a685,'height':_0xd11ff8});}catch{return!0x1;}});this[_0x2404a3(0x252)](_0x20df13),this[_0x2404a3(0x252)]({'dispose':()=>_0x5ab2b1[_0x2404a3(0x2e9)]()});}[_0x5671d9(0x49e)](_0x446989,_0x4d48e2,_0x94cad3,_0x26913c,_0x178b25){const _0x5eba5c=_0x5671d9;let _0xd22f23=this['_drawingManagerService'][_0x5eba5c(0x24f)](_0x446989,_0x4d48e2);if(!_0xd22f23[_0x94cad3])return;let _0x29a99f={..._0xd22f23[_0x94cad3],'prstGeom':_0x26913c,'adjustValues':_0x178b25};this['_drawingManagerService'][_0x5eba5c(0x181)]([_0x29a99f]);}};_0x5343de=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810[_0x5671d9(0x2e4)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x279593['IDrawingManagerService']))],_0x5343de);let _0x3d6541=_0x5671d9(0x140),_0x5812e5=_0x5671d9(0x48a);function _0x59ca03({onShapeClick:_0x53a6e7,excludeGroups:_0x17667d}){const _0x183fdb=_0x5671d9;return(0x0,_0x4170e1[_0x183fdb(0x157)])(_0x2a9d6c[_0x183fdb(0x228)],{'excludeGroups':_0x17667d,'onShapeClick':_0x53a6e7,'scrollContainer':'parent'});}function _0x266e1a(){const _0x4a628a=_0x5671d9;let _0x2243cc=(0x0,_0x2f96d6[_0x4a628a(0x19e)])(_0x279593[_0x4a628a(0xf1)]),_0x51c410=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x4a628a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':_0x4a628a(0x1a6),'excludeGroups':[_0x2a9d6c[_0x4a628a(0x27c)][_0x4a628a(0x29f)]],'onShapeClick':_0xc8c23=>{const _0x250782=_0x4a628a;let _0x3aa9ee=_0x2243cc['getFocusDrawings']()[_0x250782(0x3de)](_0x382c30=>_0x382c30[_0x250782(0x3d6)]===_0x383631[_0x250782(0x286)][_0x250782(0x217)]);if(!_0x3aa9ee)return;let {unitId:_0x449234,subUnitId:_0x380dfd,drawingId:_0xc282fd}=_0x3aa9ee;_0x51c410['clipByShape'](_0x449234,_0x380dfd,_0xc282fd,_0xc8c23[_0x250782(0x435)]);}});}function _0x5b85a9(){const _0x12785a=_0x5671d9;let _0x467ad9=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x12785a(0xf1)]),_0x53d37a=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x12785a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x2a9d6c[_0x12785a(0x27c)][_0x12785a(0x29f)]],'DropdownComponent':_0x4a69b4[_0x12785a(0x44c)],'onShapeClick':_0x185524=>{const _0x2ee7e8=_0x12785a;let _0x459845=_0x467ad9['getFocusDrawings']()[_0x2ee7e8(0x3de)](_0x2e97f9=>_0x2e97f9[_0x2ee7e8(0x3d6)]===_0x383631[_0x2ee7e8(0x286)][_0x2ee7e8(0x217)]);if(!_0x459845)return;let {unitId:_0x50b28c,subUnitId:_0x3868c6,drawingId:_0x24eab9}=_0x459845;_0x53d37a[_0x2ee7e8(0x49e)](_0x50b28c,_0x3868c6,_0x24eab9,_0x185524[_0x2ee7e8(0x435)]);}});}function _0x18ae1b(){const _0x168094=_0x5671d9;let _0xa87b63=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x2f96d6[_0x168094(0x426)]),_0x15ca8b=(0x0,_0x2f96d6['useDependency'])(_0x279593['IDrawingManagerService']),_0xa62775=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x383631['IUniverInstanceService']),_0x5b5741=_0x15ca8b[_0x168094(0x486)]()[0x0],_0x5d49d2=_0x5b5741?_0xa62775[_0x168094(0x129)](_0x5b5741[_0x168094(0x173)]):void 0x0,_0x501347=_0x5d49d2===_0x383631['UniverInstanceType'][_0x168094(0x354)]?'doc.image-clip.shape-picker.component':_0x5d49d2===_0x383631[_0x168094(0x363)][_0x168094(0x3e4)]?_0x5812e5:void 0x0,_0x3f0680=_0x501347?_0xa87b63[_0x168094(0x4be)](_0x501347):void 0x0;return _0x3f0680?(0x0,_0x4170e1[_0x168094(0x157)])(_0x3f0680,{}):null;}function _0x177b13(){const _0x4079cb=_0x5671d9;let _0x348f7f=(0x0,_0x2f96d6[_0x4079cb(0x19e)])(_0x383631[_0x4079cb(0x24e)]);return(0x0,_0x4170e1[_0x4079cb(0x157)])(_0x59ca03,{'onShapeClick':_0x14c568=>{const _0x1d1dc5=_0x4079cb;_0x348f7f[_0x1d1dc5(0x1f9)](_0x45134c['id'],{'value':_0x14c568[_0x1d1dc5(0x435)],'enhanceParams':{'endArrow':_0x14c568[_0x1d1dc5(0x260)],'startArrow':_0x14c568['startArrow'],'horizontal':_0x14c568[_0x1d1dc5(0x3aa)],'vertical':_0x14c568['vertical']}});}});}function _0x36190b(){const _0x3209d4=_0x5671d9;return(0x0,_0x4170e1[_0x3209d4(0x157)])(_0x177b13,{});}function _0xf5bc6f(_0x25d225){const _0x4369f0=_0x5671d9;let _0x1f27e1=_0x25d225[_0x4369f0(0x4be)](_0x383631[_0x4369f0(0x1f7)]);return{'id':_0x45134c['id'],'type':_0x2f96d6['MenuItemType'][_0x4369f0(0x10c)],'selections':[{'label':{'name':_0x3d6541,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x45134c['id']}}}],'icon':_0x4369f0(0x19c),'tooltip':_0x4369f0(0x302),'activated$':(0x0,_0x261221['deriveStateFromActiveSheet$'])(_0x1f27e1,!0x1,()=>new _0x4250df[(_0x4369f0(0xd8))](_0x4b5aac=>{const _0x45ccc3=_0x4369f0;_0x4b5aac[_0x45ccc3(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x4369f0(0x328)])(_0x25d225,_0x383631['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x261221[_0x4369f0(0x17d)])(_0x25d225)};}function _0x171a1d(_0x241dac){const _0x466637=_0x5671d9;let _0x5207c3=_0x241dac['get'](_0x383631[_0x466637(0x1f7)]);return{'id':_0x5ad9f8['id'],'type':_0x2f96d6['MenuItemType']['BUTTON'],'icon':_0x466637(0x47c),'title':_0x466637(0x303),'tooltip':_0x466637(0x303),'activated$':(0x0,_0x261221[_0x466637(0x32a)])(_0x5207c3,!0x1,()=>new _0x4250df[(_0x466637(0xd8))](_0x165464=>{const _0x193ea8=_0x466637;_0x165464[_0x193ea8(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x466637(0x328)])(_0x241dac,_0x383631[_0x466637(0x363)][_0x466637(0x3e4)]),'disabled$':(0x0,_0x261221[_0x466637(0x17d)])(_0x241dac)};}let _0x3170bb=_0x5671d9(0x2de),_0xe4fc20=_0x5671d9(0xfb);function _0x24a56e(_0x319165){const _0x3680a9=_0x5671d9;let _0x4eb56b=_0x319165[_0x3680a9(0x4be)](_0x279593['IDrawingManagerService'])['getFocusDrawings']();return _0x4eb56b[_0x3680a9(0x175)]===0x1&&_0x4eb56b[0x0][_0x3680a9(0x3d6)]===_0x383631['DrawingTypeEnum']['DRAWING_SHAPE']?_0x4eb56b[0x0]:null;}function _0x4f213f(_0x4a24df){const _0x4938ef=_0x5671d9;let _0x43a2cd=_0x4a24df[_0x4938ef(0x4be)](_0x279593[_0x4938ef(0xf1)]);return _0x43a2cd[_0x4938ef(0x262)][_0x4938ef(0x33d)]((0x0,_0x4250df[_0x4938ef(0x34c)])(_0x43a2cd[_0x4938ef(0x486)]()),(0x0,_0x4250df[_0x4938ef(0x3da)])(_0x201e28=>_0x201e28['length']!==0x1||_0x201e28[0x0][_0x4938ef(0x3d6)]!==_0x383631[_0x4938ef(0x286)][_0x4938ef(0x456)]));}function _0x23abe1(_0x3ddf43){const _0x34206a=_0x5671d9;return{'id':_0x3170bb,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x34206a(0x396)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x34206a(0x15a),'icon':_0x34206a(0x34a),'hidden$':_0x4f213f(_0x3ddf43),'params':()=>{const _0x2c9640=_0x34206a;let _0x5d2d03=_0x24a56e(_0x3ddf43);return _0x5d2d03?{'unitId':_0x5d2d03[_0x2c9640(0x173)],'subUnitId':_0x5d2d03['subUnitId'],'shapeId':_0x5d2d03[_0x2c9640(0x493)],'flipH':!0x0}:void 0x0;}};}function _0x4923f4(_0xfeb924){const _0xe476e=_0x5671d9;return{'id':_0xe4fc20,'commandId':_0x276c17[_0xe476e(0x3b0)]['id'],'type':_0x2f96d6[_0xe476e(0x3d9)]['BUTTON'],'title':'sheets-shape-ui.flipVertical','tooltip':'sheets-shape-ui.flipVertical','icon':_0xe476e(0x346),'hidden$':_0x4f213f(_0xfeb924),'params':()=>{const _0x1eb98d=_0xe476e;let _0x574139=_0x24a56e(_0xfeb924);return _0x574139?{'unitId':_0x574139[_0x1eb98d(0x173)],'subUnitId':_0x574139['subUnitId'],'shapeId':_0x574139['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x566032=_0x5671d9(0xe3),_0xc4a475=_0x5671d9(0x45d),_0x2ab86a=_0x5671d9(0x1cc),_0x317af2=_0x5671d9(0xec);function _0x49f11e(){const _0x58d580=_0x5671d9;let _0x5f5469=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x383631[_0x58d580(0x24e)]),_0x4d6fee=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x279593[_0x58d580(0xf1)]),_0x3504ba=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x276c17[_0x58d580(0x188)]),_0x40d90e=()=>{const _0x5dd041=_0x58d580;var _0x27624d;let _0x3b4ae3=_0x4d6fee[_0x5dd041(0x486)]();if(_0x3b4ae3[_0x5dd041(0x175)]!==0x1||((_0x27624d=_0x3b4ae3[0x0])==null?void 0x0:_0x27624d[_0x5dd041(0x3d6)])!==_0x383631[_0x5dd041(0x286)]['DRAWING_SHAPE'])return null;let {unitId:_0x2caefc,subUnitId:_0x105569,drawingId:_0x4f76a1}=_0x3b4ae3[0x0],_0x13a2e1=_0x3504ba['getShapeTypeById'](_0x2caefc,_0x105569,_0x4f76a1),_0x3e2f49=_0x3504ba[_0x5dd041(0x21f)](_0x2caefc,_0x105569,_0x4f76a1);return _0x13a2e1===void 0x0||!_0x3e2f49?null:{'unitId':_0x2caefc,'subUnitId':_0x105569,'drawingId':_0x4f76a1,'shapeType':_0x13a2e1,'shapeData':_0x3e2f49};},_0x970501=(0x0,_0x2f96d6[_0x58d580(0x26f)])(()=>new _0x4250df[(_0x58d580(0xd8))](_0x1d1e66=>{const _0x5b1497=_0x58d580;let _0x3e2116=()=>_0x1d1e66[_0x5b1497(0x289)](_0x40d90e()),_0x4aa7ed=_0x4d6fee[_0x5b1497(0x262)]['subscribe'](_0x3e2116),_0x3f6ac9=_0x5f5469[_0x5b1497(0x15d)](_0x3df3d2=>{const _0x36c5cc=_0x5b1497;_0x3df3d2['id']===_0x276c17[_0x36c5cc(0x250)]['id']&&_0x3e2116();});return _0x3e2116(),()=>{const _0x56c055=_0x5b1497;_0x4aa7ed[_0x56c055(0x165)](),_0x3f6ac9[_0x56c055(0x39f)]();};}),_0x40d90e(),!0x1,[_0x5f5469,_0x4d6fee,_0x3504ba]);return{'selection':_0x970501,'updateShapeData':_0x94f63e=>{const _0x3c44ee=_0x58d580;_0x970501&&_0x100eae(_0x5f5469,_0x970501[_0x3c44ee(0x173)],_0x970501[_0x3c44ee(0x135)],_0x970501[_0x3c44ee(0x493)],{'oldShapeData':_0x970501[_0x3c44ee(0x1a0)]},_0x94f63e);}};}function _0x139dd6(){const _0x296420=_0x5671d9;let {selection:_0x5e4d74,updateShapeData:_0x338e15}=_0x49f11e();return _0x5e4d74?(0x0,_0x4170e1[_0x296420(0x157)])(_0x2a9d6c[_0x296420(0x2b7)],{'shapeData':_0x5e4d74[_0x296420(0x1a0)],'shapeType':_0x5e4d74[_0x296420(0x138)],'onUpdateShapeData':_0x338e15}):null;}function _0x145172(){const _0x574eaf=_0x5671d9;let _0x4b801f=(0x0,_0x2f96d6[_0x574eaf(0x19e)])(_0x383631[_0x574eaf(0x24e)]),_0x3a1d44=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x574eaf(0x422)]),{selection:_0x4020aa}=_0x49f11e();return _0x4020aa?(0x0,_0x4170e1[_0x574eaf(0x157)])(_0x2a9d6c['ShapeQuickStyleGallery'],{'type':(0x0,_0x54f73f[_0x574eaf(0x4ab)])(_0x4020aa[_0x574eaf(0x1a0)]),'ariaLabel':_0x3a1d44['t'](_0x574eaf(0x395)),'activePresetId':(0x0,_0x54f73f['resolveActiveShapeQuickStylePresetId'])(_0x4020aa[_0x574eaf(0x1a0)]),'onSelect':_0x4f98ea=>_0x4b801f['executeCommand'](_0x748f1e['id'],{'presetId':_0x4f98ea})}):null;}function _0x5c4eaa(){const _0x2927c6=_0x5671d9;let {selection:_0x30e441,updateShapeData:_0x2b6ec5}=_0x49f11e();return _0x30e441?(0x0,_0x4170e1[_0x2927c6(0x157)])(_0x2a9d6c['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x2927c6(0x231),'shapeData':_0x30e441[_0x2927c6(0x1a0)],'onUpdateShapeData':_0x2b6ec5}):null;}function _0x2f8371(){const _0x3a2883=_0x5671d9;var _0x447f54;let {selection:_0x469a69,updateShapeData:_0x9d943c}=_0x49f11e(),_0x12ae38=(0x0,_0x2a9d6c[_0x3a2883(0x46a)])({'hostType':_0x383631['UniverInstanceType'][_0x3a2883(0x3e4)],'unitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x173)])??'','subUnitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x135)])??'','shapeId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x493)])??'','shapeData':_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x1a0)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3a2883(0x2ee),'onUpdateBinding':_0x5fa219=>_0x9d943c({'formulaBinding':_0x5fa219})}),_0x31f1c9=((_0x447f54=_0x12ae38['extensionGroups'])==null?void 0x0:_0x447f54[_0x3a2883(0x430)](_0x41e879=>_0x41e879[_0x3a2883(0x30b)])[_0x3a2883(0x265)](_0x1eda08=>_0x1eda08[_0x3a2883(0x167)]!==!0x1))??[];return _0x469a69!=null&&_0x469a69['shapeData']['formulaBinding']?(0x0,_0x4170e1['jsx'])(_0x2a9d6c['ShapeFormulaRibbonControl'],{'actions':_0x31f1c9,'panel':_0x12ae38[_0x3a2883(0x414)]}):null;}let _0x2a7162='sheets-shape-ui.ribbon.shape-format.style-control',_0x55af17=_0x5671d9(0x3a2),_0x97cab0=_0x5671d9(0x442),_0x585612='sheets-shape-ui.ribbon.shape-format.arrange-forward',_0x5d0d99='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x5d3810=_0x5671d9(0x44b),_0x3ba557=_0x5671d9(0x2cc);function _0x4b553e(_0x4e5c14){const _0x5a6211=_0x5671d9;let _0x11b1b1=_0x4e5c14[_0x5a6211(0x4be)](_0x383631['ICommandService']),_0x876cfe=_0x4e5c14['get'](_0x279593['IDrawingManagerService']),_0x1aecf9=_0x4e5c14['get'](_0x276c17[_0x5a6211(0x188)]);return new _0x4250df[(_0x5a6211(0xd8))](_0x13fe4a=>{const _0x5da7cb=_0x5a6211;let _0x463c2e=()=>{const _0x225795=_0x43eb;let _0x2aae05=_0x5c84cc(_0x4e5c14),_0x544e56=_0x2aae05?_0x1aecf9[_0x225795(0x21f)](_0x2aae05[_0x225795(0x173)],_0x2aae05[_0x225795(0x135)],_0x2aae05['drawingId']):null;_0x13fe4a['next'](_0x544e56?(0x0,_0x54f73f[_0x225795(0x376)])(_0x544e56)??'':'');},_0x2d7166=_0x876cfe[_0x5da7cb(0x262)][_0x5da7cb(0x317)](_0x463c2e),_0xb97699=_0x11b1b1['onCommandExecuted'](_0x27ce8f=>{_0x27ce8f['id']===_0x276c17['UpdateSheetsShapeDataMutation']['id']&&_0x463c2e();});return _0x463c2e(),()=>{const _0x421c55=_0x5da7cb;_0x2d7166['unsubscribe'](),_0xb97699[_0x421c55(0x39f)]();};});}function _0x5c84cc(_0x248d1c){const _0x12bbfc=_0x5671d9;var _0x1e3f65;let _0x18f8c7=_0x248d1c['get'](_0x279593[_0x12bbfc(0xf1)])[_0x12bbfc(0x486)]();return _0x18f8c7[_0x12bbfc(0x175)]===0x1&&((_0x1e3f65=_0x18f8c7[0x0])==null?void 0x0:_0x1e3f65['drawingType'])===_0x383631[_0x12bbfc(0x286)][_0x12bbfc(0x456)]?_0x18f8c7[0x0]:null;}function _0x38b9bf(_0x41d3aa,_0x167f51=!0x1){const _0x437ec3=_0x5671d9;let _0x34a405=_0x41d3aa[_0x437ec3(0x4be)](_0x383631['ICommandService']),_0x28cb22=_0x41d3aa['get'](_0x279593[_0x437ec3(0xf1)]),_0x416784=_0x41d3aa['get'](_0x276c17[_0x437ec3(0x188)]);return new _0x4250df[(_0x437ec3(0xd8))](_0x39f440=>{const _0x440c06=_0x437ec3;let _0x1b8dbe=()=>{const _0x2ed60f=_0x43eb;let _0x4c5b83=_0x5c84cc(_0x41d3aa);if(!_0x4c5b83){_0x39f440[_0x2ed60f(0x289)](!0x0);return;}let _0x47a2bf=_0x416784[_0x2ed60f(0x21f)](_0x4c5b83[_0x2ed60f(0x173)],_0x4c5b83[_0x2ed60f(0x135)],_0x4c5b83[_0x2ed60f(0x493)]);_0x39f440['next'](!_0x47a2bf||_0x167f51&&_0x47a2bf[_0x2ed60f(0x339)]==null);},_0x33b030=_0x28cb22['focus$'][_0x440c06(0x317)](_0x1b8dbe),_0x2bfae5=_0x34a405[_0x440c06(0x15d)](_0x47742b=>{const _0x4df980=_0x440c06;_0x47742b['id']===_0x276c17[_0x4df980(0x250)]['id']&&_0x1b8dbe();});return _0x1b8dbe(),()=>{const _0x5643c7=_0x440c06;_0x33b030[_0x5643c7(0x165)](),_0x2bfae5['dispose']();};});}function _0x588119(_0x9704a9){const _0x3aa749=_0x5671d9;let _0x259652=_0x9704a9['get'](_0x279593[_0x3aa749(0xf1)]),_0x25a3c1=_0x9704a9['get'](_0x276c17['SheetsShapeService']);return _0x259652['focus$'][_0x3aa749(0x33d)]((0x0,_0x4250df[_0x3aa749(0x34c)])(_0x259652['getFocusDrawings']()),(0x0,_0x4250df['map'])(()=>{const _0x4fd9dc=_0x3aa749;let _0x2db21b=_0x5c84cc(_0x9704a9),_0x493055=_0x2db21b?_0x25a3c1[_0x4fd9dc(0x4d1)](_0x2db21b[_0x4fd9dc(0x173)],_0x2db21b[_0x4fd9dc(0x135)],_0x2db21b[_0x4fd9dc(0x493)]):void 0x0;return _0x493055===void 0x0||(0x0,_0x287478[_0x4fd9dc(0x4d2)])(_0x493055);}));}function _0x428711(_0x44c814){const _0x3509ab=_0x5671d9;return{'id':_0x748f1e['id'],'type':_0x2f96d6[_0x3509ab(0x3d9)][_0x3509ab(0x10c)],'icon':_0x3509ab(0x370),'title':_0x3509ab(0x2ae),'tooltip':_0x3509ab(0x2ae),'selections':[{'label':{'name':_0x566032,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4b553e(_0x44c814),'hidden$':_0x38b9bf(_0x44c814)};}function _0x248aa9(_0x2c2b2b){const _0x4cff55=_0x5671d9;return{'id':_0x3a751e['id'],'type':_0x2f96d6[_0x4cff55(0x3d9)][_0x4cff55(0x10c)],'icon':_0x4cff55(0x19c),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x4cff55(0x2ef),'slot':!0x0,'selections':[{'label':{'name':_0x2a9d6c[_0x4cff55(0x37c)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x588119(_0x2c2b2b)};}function _0xb0a4fd(_0x54d3dc,_0x4f968c,_0x53914f=!0x1){const _0x47e27d=_0x5671d9;return _0x318890=>({'id':_0x54d3dc,'type':_0x2f96d6[_0x47e27d(0x3d9)][_0x47e27d(0x396)],'label':{'name':_0x4f968c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x38b9bf(_0x318890,_0x53914f)});}let _0xdd9a7c=_0xb0a4fd(_0x2a7162,_0xc4a475),_0x3fe0c7=_0xb0a4fd(_0x55af17,_0x2ab86a),_0x731eb2=_0xb0a4fd(_0x97cab0,_0x317af2,!0x0);function _0x58a714(_0x341458,_0xd127d0,_0x461cfb,_0x585b44){const _0x19b261=_0x5671d9;return _0x2b6738=>({'id':_0x341458,'commandId':_0x72b203['SetDrawingArrangeCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x19b261(0x396)],'icon':_0x461cfb,'title':_0x585b44,'tooltip':_0x585b44,'hidden$':_0x38b9bf(_0x2b6738),'params':()=>{const _0x31423a=_0x19b261;let _0x561a6e=_0x5c84cc(_0x2b6738);return _0x561a6e?{'unitId':_0x561a6e[_0x31423a(0x173)],'subUnitId':_0x561a6e[_0x31423a(0x135)],'drawingIds':[_0x561a6e[_0x31423a(0x493)]],'arrangeType':_0xd127d0}:void 0x0;}});}let _0x24a1ab=_0x58a714(_0x585612,_0x383631['ArrangeTypeEnum']['forward'],'MoveUpIcon',_0x5671d9(0x367)),_0x1a9260=_0x58a714(_0x5d0d99,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x3f5)],_0x5671d9(0x195),_0x5671d9(0x398)),_0x383be6=_0x58a714(_0x5d3810,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x48c)],_0x5671d9(0x49f),_0x5671d9(0xcf)),_0x432692=_0x58a714(_0x3ba557,_0x383631[_0x5671d9(0x412)]['back'],_0x5671d9(0x402),_0x5671d9(0x37e));function _0xe9cc3b(_0x181b53){const _0x550a3f=_0x5671d9;return{'id':_0x57e247['id'],'type':_0x2f96d6[_0x550a3f(0x3d9)]['BUTTON'],'icon':_0x550a3f(0x33b),'title':_0x550a3f(0x17b),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0x38b9bf(_0x181b53),'params':()=>{const _0x3f0dd3=_0x550a3f;let _0x14f94e=_0x5c84cc(_0x181b53);return _0x14f94e?{'unitId':_0x14f94e[_0x3f0dd3(0x173)],'subUnitId':_0x14f94e[_0x3f0dd3(0x135)],'drawingId':_0x14f94e['drawingId']}:void 0x0;}};}let _0x5c037d={[_0x2f96d6['MenuManagerPosition'][_0x5671d9(0x105)]]:{[_0x8c3839]:{'order':0x64,'title':_0x5671d9(0x17b),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x748f1e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x428711},[_0x3a751e['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x248aa9}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2a7162]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0xdd9a7c}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x55af17]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x3fe0c7}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3170bb]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4923f4},[_0x585612]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x24a1ab},[_0x5d0d99]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1a9260},[_0x5d3810]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x383be6},[_0x3ba557]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x432692}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x97cab0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x731eb2}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x57e247['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9cc3b},[_0x2a9d6c[_0x5671d9(0x204)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2a9d6c['ShapeFloatingToolbarToggleFactory']}}}}},_0x230bea={[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x38d)]]:{[_0x45134c['id']]:{'order':0x4,'menuItemFactory':_0xf5bc6f}}},_0x3c6f17={..._0x230bea,[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x361)]]:{[_0x5ad9f8['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x171a1d}},[_0x2f96d6[_0x5671d9(0x1df)][_0x5671d9(0x391)]]:{[_0x2f96d6[_0x5671d9(0x3df)][_0x5671d9(0x361)]]:{[_0x3170bb]:{'order':0x4,'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x5,'menuItemFactory':_0x4923f4}}}};var _0x42e456=_0x5671d9(0x1dd),_0x1bfefd=_0x5671d9(0xfe);let _0x176123={'id':_0x5671d9(0x40a),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler'(_0x3887a5,_0x4f86c3){const _0x3b00b5=_0x5671d9;return _0x4f86c3?(_0x3887a5[_0x3b00b5(0x4be)](_0x2a9d6c[_0x3b00b5(0x433)])['open'](_0x4f86c3[_0x3b00b5(0x383)],{'hostType':_0x383631[_0x3b00b5(0x363)][_0x3b00b5(0x3e4)],'shapeId':_0x4f86c3[_0x3b00b5(0x493)],'subUnitId':_0x4f86c3[_0x3b00b5(0x135)],'unitId':_0x4f86c3[_0x3b00b5(0x173)]}),!0x0):!0x1;}},_0x317c0c=_0x5671d9(0x40b),_0xda7fc9={},_0x2d7d8a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x229448,_0x2fdf0c,_0x56a0d3,_0x3e9ade,_0xf8c394){const _0x857266=_0x5671d9;super(),this[_0x857266(0x4a5)]=_0x229448,this[_0x857266(0x306)]=_0x2fdf0c,this['_renderManagerService']=_0x56a0d3,this[_0x857266(0x434)]=_0x3e9ade,this[_0x857266(0x187)]=_0xf8c394,_0x20dccc(this,'_activeImageId',null),_0x20dccc(this,_0x857266(0x48e),null),_0x20dccc(this,'_subUnitId',null),_0x20dccc(this,'_activeAdjustPointList',void 0x0),_0x20dccc(this,'_shapes',[]),_0x20dccc(this,'_baseLeft',0x0),_0x20dccc(this,'_baseTop',0x0),_0x20dccc(this,'_baseWidth',0x0),_0x20dccc(this,_0x857266(0x4cc),0x0),_0x20dccc(this,_0x857266(0x1e7),!0x1),_0x20dccc(this,_0x857266(0x23a),void 0x0),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,_0x857266(0x40e),void 0x0),_0x20dccc(this,_0x857266(0x115),void 0x0),_0x20dccc(this,_0x857266(0x2d4),!0x1),this[_0x857266(0x3cb)](),this['_registerMoveHandler']();}[_0x5671d9(0x386)](){const _0x528e57=_0x5671d9;this[_0x528e57(0xc2)]();}['refreshAdjustControls'](){const _0x58f813=_0x5671d9;this[_0x58f813(0xc2)](),this[_0x58f813(0xcc)](!0x0);}[_0x5671d9(0x249)](_0x4e6b3a,_0x33c509,_0x3c1d00,_0x5e09c9){const _0x3caea6=_0x5671d9;let _0x791b35=_0x4e6b3a;if(_0x791b35!==_0x287478[_0x3caea6(0x384)]['None']&&_0x4e6b3a!==_0x3caea6(0x2af))try{let _0x335c59=new _0x287478[(_0x3caea6(0x150))](_0x791b35,_0x3caea6(0xe2)+_0x4e6b3a);return _0x5e09c9&&_0x335c59['setShapeData']({'adjustValues':_0x5e09c9},!0x0),_0x335c59['updateContext']({'width':_0x33c509,'height':_0x3c1d00}),_0x335c59;}catch{return;}}[_0x5671d9(0x36a)](_0x212823,_0xd95886,_0x3750db){const _0x35d441=_0x5671d9;let _0x51d98a={'unitId':_0x212823,'subUnitId':_0xd95886,'drawingId':_0x3750db},_0x4ca4da=this[_0x35d441(0x306)][_0x35d441(0x14d)](_0x51d98a);if(_0x4ca4da&&_0x4ca4da['drawingType']===_0x383631[_0x35d441(0x286)][_0x35d441(0x217)])return _0x4ca4da;}[_0x5671d9(0x255)](_0x5e69aa,_0x25379f,_0x58cbff){const _0x42f194=_0x5671d9;let _0x49936d=this['_renderManagerService']['getRenderUnitById'](_0x5e69aa);if(!_0x49936d)return;let {scene:_0x34693e}=_0x49936d,_0x444d61=(0x0,_0x279593[_0x42f194(0x201)])({'unitId':_0x5e69aa,'subUnitId':_0x25379f,'drawingId':_0x58cbff}),_0x6f97ba=_0x34693e['getObject'](_0x444d61);if(_0x6f97ba instanceof _0x1c3608['Image']){let _0x2a6fb0=_0x6f97ba[_0x42f194(0x41e)];if(_0x2a6fb0)return{'prstGeom':_0x2a6fb0,'adjustValues':_0x6f97ba[_0x42f194(0x4c5)]};}}[_0x5671d9(0xcc)](_0x4ca1b4=!0x1){const _0x23433c=_0x5671d9;if(!this[_0x23433c(0x48e)]||!this[_0x23433c(0x1f0)]||!this[_0x23433c(0x258)])return;let _0x3a0d2e=this[_0x23433c(0x42d)][_0x23433c(0x1fa)](this[_0x23433c(0x48e)]);if(!_0x3a0d2e||!_0x3a0d2e[_0x23433c(0x438)](_0x261221[_0x23433c(0x3fb)])[_0x23433c(0x3f0)]())return;let {scene:_0x37e475}=_0x3a0d2e,_0x12bad2=this[_0x23433c(0x36a)](this[_0x23433c(0x48e)],this['_subUnitId'],this['_activeImageId']);if(!_0x12bad2)return;let {transform:_0x288f33}=_0x12bad2;if(!_0x288f33)return;let {left:_0x47d7b3,top:_0x24da3c,width:_0x5ae5f5,height:_0x554a0e,flipX:_0x41c230,flipY:_0x12afc0,angle:_0x4da9af=0x0}=_0x288f33;if(_0x47d7b3===void 0x0||_0x24da3c===void 0x0)return;let _0x282abd=this[_0x23433c(0x255)](this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)],this[_0x23433c(0x258)]);if(!_0x282abd)return;if(_0x4ca1b4){let _0xdc8b5a=this[_0x23433c(0x249)](_0x282abd[_0x23433c(0x41e)],_0x5ae5f5||0x0,_0x554a0e||0x0,_0x282abd[_0x23433c(0x16c)]);if(!_0xdc8b5a)return;this[_0x23433c(0x479)]=_0xdc8b5a[_0x23433c(0x247)]();}let _0x4155c1=this[_0x23433c(0x479)];if(_0x4155c1&&_0x4155c1['length']!==0x0)for(let _0x86a4ad=0x0;_0x86a4ad<_0x4155c1['length'];_0x86a4ad++){let _0x10a92a=_0x4155c1[_0x86a4ad],_0x3e4546=_0x10a92a['x'],_0x4355ac=_0x10a92a['y'];if(_0x41c230&&(_0x3e4546=(_0x5ae5f5||0x0)-_0x3e4546),_0x12afc0&&(_0x4355ac=(_0x554a0e||0x0)-_0x4355ac),_0x4da9af!==0x0){let _0x4c731d=(_0x5ae5f5||0x0)/0x2,_0x5c3d2c=(_0x554a0e||0x0)/0x2,_0x376a12=_0x4da9af*Math['PI']/0xb4,_0x2f53f9=Math[_0x23433c(0x3bb)](_0x376a12),_0x165251=Math[_0x23433c(0x417)](_0x376a12),_0x142b20=_0x3e4546-_0x4c731d,_0x183b7d=_0x4355ac-_0x5c3d2c;_0x3e4546=_0x4c731d+(_0x142b20*_0x2f53f9-_0x183b7d*_0x165251),_0x4355ac=_0x5c3d2c+(_0x142b20*_0x165251+_0x183b7d*_0x2f53f9);}let _0x180549={'x':_0x3e4546,'y':_0x4355ac,'adjName':_0x10a92a[_0x23433c(0x123)]};this['_addControl'](_0x37e475,_0x180549,_0x180549['adjName'],_0x47d7b3,_0x24da3c,this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)]);}}['_addControl'](_0x2a500f,_0x5a5ae5,_0x276836,_0x542d04,_0x149041,_0x4e522b,_0xc14a3b){const _0x35d61a=_0x5671d9;if(!this[_0x35d61a(0x258)])return;let _0xd41a57=_0x35d61a(0x411)+this[_0x35d61a(0x258)]+'-'+_0x276836,_0x2466bb=_0x2a500f[_0x35d61a(0x327)](_0xd41a57);if(_0x2466bb){_0x2466bb['transformByState']({'left':_0x5a5ae5['x']+_0x542d04-_0x287478['ShapeDefaultConfig'][_0x35d61a(0x14b)],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)]['adjHandleSize']});return;}let _0x1f9523=new _0x180d91(_0xd41a57,{'left':_0x5a5ae5['x']+_0x542d04-_0x287478[_0x35d61a(0x10a)]['adjHandleSize'],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)],'adjName':_0x276836,'shapeId':this[_0x35d61a(0x258)],'unitId':_0x4e522b,'subUnitId':_0xc14a3b,'width':_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)]+0x8,'height':_0x287478[_0x35d61a(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x35d61a(0x236)]['push'](_0x1f9523),this['_attachAdjustEvent'](_0x1f9523,_0x2a500f,_0x276836),_0x2a500f['addObject'](_0x1f9523,_0x1c3608[_0x35d61a(0x28a)]+0x1);}[_0x5671d9(0xc2)](){const _0x4ad706=_0x5671d9;this['_shapes'][_0x4ad706(0x175)]!==0x0&&(this[_0x4ad706(0x236)]['forEach'](_0x235fc9=>_0x235fc9[_0x4ad706(0x39f)]()),this[_0x4ad706(0x236)]=[]);}['_getScrollInfo'](_0x2025e3,_0x475a89){const _0x5ae87d=_0x5671d9;var _0x26677b;let _0x3f85b6={'x':0x0,'y':0x0},_0x412a49=this['_renderManagerService'][_0x5ae87d(0x1fa)](_0x2025e3);if(!_0x412a49||!_0x412a49['with'](_0x261221['SheetSkeletonManagerService'])['getSkeleton'](_0x475a89))return _0x3f85b6;let _0x2ed51f=_0x412a49[_0x5ae87d(0x438)](_0x261221['SheetScrollManagerService']),_0xc89fea=_0x2ed51f==null?void 0x0:_0x2ed51f[_0x5ae87d(0x214)]();if(!_0xc89fea)return _0x3f85b6;let _0xd5610a=(_0x26677b=this[_0x5ae87d(0x434)][_0x5ae87d(0x147)](_0x2025e3))==null?void 0x0:_0x26677b[_0x5ae87d(0x13a)](_0x475a89);if(!_0xd5610a)return _0x3f85b6;let _0x196f77=(0x0,_0x261221[_0x5ae87d(0x362)])(_0xc89fea[_0x5ae87d(0xdb)],_0xc89fea[_0x5ae87d(0x30a)],_0x412a49[_0x5ae87d(0x333)],_0xd5610a);return _0x196f77?{'x':_0x196f77[_0x5ae87d(0x2d8)],'y':_0x196f77[_0x5ae87d(0x403)]}:_0x3f85b6;}[_0x5671d9(0x36c)](_0x270997,_0x5cc866){const _0x401ef8=_0x5671d9;var _0x22bc93;let _0x9aae68=(_0x22bc93=this[_0x401ef8(0x434)]['getUnit'](_0x270997))==null?void 0x0:_0x22bc93[_0x401ef8(0x13a)](_0x5cc866);return(_0x9aae68==null?void 0x0:_0x9aae68[_0x401ef8(0x1e5)]())??0x1;}[_0x5671d9(0x324)](_0x26e676,_0x220c6d,_0x5ab5f7){const _0x4a147c=_0x5671d9;this[_0x4a147c(0x252)]((0x0,_0x383631[_0x4a147c(0x292)])(_0x26e676[_0x4a147c(0xe5)][_0x4a147c(0x17a)]((_0x1fefb0,_0x3eb48b)=>{const _0x13891f=_0x4a147c;var _0x26d7b6,_0x4d24e5,_0xd14618;let {unitId:_0x2002c3,subUnitId:_0x1bf2e3,drawingId:_0x465c26}=_0x26e676[_0x13891f(0x4cd)](),_0x55cc7c=this['_getImageDrawingInfo'](_0x2002c3,_0x1bf2e3,_0x465c26);if(!(_0x55cc7c!=null&&_0x55cc7c[_0x13891f(0x2c6)]))return;let {left:_0xe86e18,top:_0x41d654,width:_0x2a09ed,height:_0x11e903}=_0x55cc7c[_0x13891f(0x2c6)];this['_baseLeft']=_0xe86e18||0x0,this[_0x13891f(0x180)]=_0x41d654||0x0,this[_0x13891f(0x176)]=_0x2a09ed||0x0,this[_0x13891f(0x4cc)]=_0x11e903||0x0;let _0x1e66d8=!!((_0x26d7b6=_0x55cc7c[_0x13891f(0x2c6)])!=null&&_0x26d7b6[_0x13891f(0x160)]),_0x42a077=!!((_0x4d24e5=_0x55cc7c['transform'])!=null&&_0x4d24e5[_0x13891f(0x481)]),_0x404bef=((_0xd14618=_0x55cc7c['transform'])==null?void 0x0:_0xd14618[_0x13891f(0x46e)])||0x0,_0x294512=this[_0x13891f(0x255)](_0x2002c3,_0x1bf2e3,_0x465c26);if(!_0x294512)return;let _0x1dda45=this['_getOrCreateShapeModel'](_0x294512[_0x13891f(0x41e)],this[_0x13891f(0x176)],this['_baseHeight'],_0x294512[_0x13891f(0x16c)]);if(!_0x1dda45||(this[_0x13891f(0x194)]=_0x1dda45,this[_0x13891f(0x23a)]=_0x1dda45[_0x13891f(0x12b)](_0x5ab5f7),!this[_0x13891f(0x23a)]))return;this[_0x13891f(0x1e7)]=!0x0,_0x220c6d['disableObjectsEvent']();let _0x3c9888=_0x294512[_0x13891f(0x41e)];this[_0x13891f(0x40e)]=_0x220c6d[_0x13891f(0x41a)][_0x13891f(0x17a)]((_0x9f28aa,_0x407fed)=>{const _0x35cdc4=_0x13891f;if(!this[_0x35cdc4(0x1e7)])return;let {offsetX:_0x3aecef,offsetY:_0xf02c11}=_0x9f28aa,_0x10e1e3=this['_activeAdjustInfo'];if(!this[_0x35cdc4(0x194)]||!_0x10e1e3)return;_0x220c6d['disableObjectsEvent'](),_0x220c6d[_0x35cdc4(0x2f8)](_0x1c3608[_0x35cdc4(0xf4)][_0x35cdc4(0x450)]);let _0x2fa801={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]},_0x3ccf02=this['_getScrollInfo'](_0x2002c3,_0x1bf2e3),_0x53fe50=this[_0x35cdc4(0x36c)](_0x2002c3,_0x1bf2e3),_0x3ec9db=_0x3aecef/_0x53fe50+_0x3ccf02['x']-this[_0x35cdc4(0x43c)],_0x384cc9=_0xf02c11/_0x53fe50+_0x3ccf02['y']-this[_0x35cdc4(0x180)];if(_0x404bef!==0x0){let _0x5eb48d=this[_0x35cdc4(0x176)]/0x2,_0x3f2a3d=this[_0x35cdc4(0x4cc)]/0x2,_0x20d069=_0x404bef*Math['PI']/0xb4,_0x41336d=Math['cos'](_0x20d069),_0x3709a6=Math[_0x35cdc4(0x417)](_0x20d069),_0x168d2f=_0x3ec9db-_0x5eb48d,_0x242c75=_0x384cc9-_0x3f2a3d;_0x3ec9db=_0x5eb48d+(_0x168d2f*_0x41336d+_0x242c75*_0x3709a6),_0x384cc9=_0x3f2a3d+(-_0x168d2f*_0x3709a6+_0x242c75*_0x41336d);}_0x1e66d8&&(_0x3ec9db=this['_baseWidth']-_0x3ec9db),_0x42a077&&(_0x384cc9=this[_0x35cdc4(0x4cc)]-_0x384cc9);let _0x444fe3=this[_0x35cdc4(0x194)]['calcAdjValues'](_0x2fa801,{'x':_0x3ec9db,'y':_0x384cc9},_0x10e1e3,_0x1e66d8,_0x42a077);if(Object[_0x35cdc4(0x144)](_0x444fe3)[_0x35cdc4(0x175)]!==0x0){for(let [_0x25b091,_0x1ff10a]of Object[_0x35cdc4(0x2f6)](_0x444fe3))this[_0x35cdc4(0x194)][_0x35cdc4(0x290)](_0x25b091,_0x1ff10a);this['_activeShapeModel'][_0x35cdc4(0x288)]({'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]}),this['_updateImageAdjValues'](_0x2002c3,_0x1bf2e3,_0x465c26,_0x444fe3),this[_0x35cdc4(0x479)]=this[_0x35cdc4(0x194)][_0x35cdc4(0x247)](),this[_0x35cdc4(0xcc)](),_0x407fed[_0x35cdc4(0x425)]();}}),this[_0x13891f(0x115)]=_0x220c6d[_0x13891f(0x243)][_0x13891f(0x17a)]((_0xf98837,_0x1108cc)=>{const _0x2407d8=_0x13891f;if(this[_0x2407d8(0x40e)][_0x2407d8(0x165)](),this[_0x2407d8(0x115)]['unsubscribe'](),_0x220c6d[_0x2407d8(0x238)](),this[_0x2407d8(0x194)]){let _0xd7008d=this[_0x2407d8(0x194)][_0x2407d8(0x3b6)](),_0x5a2f3b={};for(let _0x5ab370 of _0xd7008d){let _0x36c4c7=this[_0x2407d8(0x194)][_0x2407d8(0x440)](_0x5ab370);_0x36c4c7!==void 0x0&&(_0x5a2f3b[_0x5ab370]=_0x36c4c7);}this[_0x2407d8(0x187)][_0x2407d8(0x49e)](_0x2002c3,_0x1bf2e3,_0x465c26,_0x3c9888,_0x5a2f3b);}this[_0x2407d8(0x23a)]=void 0x0,this[_0x2407d8(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x1108cc[_0x2407d8(0x425)](),_0x220c6d['enableObjectsEvent']();}),_0x3eb48b[_0x13891f(0x425)]();})));}[_0x5671d9(0x464)](_0x870c4d,_0x5965c6,_0x48bfa4,_0x48e4b7){const _0x30bf50=_0x5671d9;let _0x5caf7a=this[_0x30bf50(0x42d)][_0x30bf50(0x1fa)](_0x870c4d);if(!_0x5caf7a)return;let {scene:_0x195f00}=_0x5caf7a,_0x7501c9=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x870c4d,'subUnitId':_0x5965c6,'drawingId':_0x48bfa4}),_0x1ed4c8=_0x195f00[_0x30bf50(0x3d4)](_0x7501c9);if(_0x1ed4c8 instanceof _0x1c3608['Image']){let _0x546377=_0x1ed4c8[_0x30bf50(0x4c5)]??{};_0x1ed4c8[_0x30bf50(0x323)]({..._0x546377,..._0x48e4b7}),_0x1ed4c8[_0x30bf50(0x33a)](!0x0);}}[_0x5671d9(0x3d5)](){const _0x7b793f=_0x5671d9;let _0x4c37f1=this[_0x7b793f(0x434)][_0x7b793f(0x393)](_0x383631['UniverInstanceType'][_0x7b793f(0x3e4)]);this['disposeWithMe'](_0x4c37f1[_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0xca8504=>_0xca8504?_0xca8504[_0x7b793f(0x410)][_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0x2ef461=>{const _0x31a9c0=_0x7b793f;if(!_0x2ef461)return _0x4250df[_0x31a9c0(0x15b)];let _0x1535cb=_0xca8504['getUnitId'](),_0x2cce75=this['_renderManagerService'][_0x31a9c0(0x1fa)](_0x1535cb),_0x38266d=_0x2cce75==null?void 0x0:_0x2cce75[_0x31a9c0(0x333)];return _0x38266d?(0x0,_0x4250df['of'])(_0x38266d):_0x4250df[_0x31a9c0(0x15b)];})):_0x4250df[_0x7b793f(0x15b)]))[_0x7b793f(0x317)](_0x2b5445=>{const _0x434550=_0x7b793f;let _0x2265c6=_0x2b5445[_0x434550(0x178)]();this[_0x434550(0x252)](_0x2b5445[_0x434550(0x41a)][_0x434550(0x17a)](()=>{const _0x577a19=_0x434550;this[_0x577a19(0x2d4)]&&this['_clearControls']();})),this['disposeWithMe'](_0x2265c6['changeStart$'][_0x434550(0x317)](_0x19ad2b=>{const _0x54be23=_0x434550;let {objects:_0x50d447}=_0x19ad2b;if(this[_0x54be23(0xcc)](),_0x50d447!==null&&_0x50d447['size']===0x1){let _0x56041d=_0x50d447[_0x54be23(0x206)]()['next']()['value'];_0x56041d instanceof _0x1c3608[_0x54be23(0xd6)]&&_0x56041d[_0x54be23(0x41e)]&&(this[_0x54be23(0x2d4)]=!0x0);}})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x1f8)]['subscribe'](()=>{const _0x199069=_0x434550;this[_0x199069(0x2d4)]&&this[_0x199069(0xc2)]();})),this['disposeWithMe'](_0x2b5445[_0x434550(0x243)][_0x434550(0x17a)](()=>{const _0xf18624=_0x434550;this[_0xf18624(0x2d4)]&&(this[_0xf18624(0x2d4)]=!0x1,this[_0xf18624(0xcc)]());})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x3c2)][_0x434550(0x317)](()=>{const _0x3ddcd2=_0x434550;if(this['_unitId']&&this[_0x3ddcd2(0x1f0)]&&this['_activeImageId']){let _0x915c80=this[_0x3ddcd2(0x255)](this[_0x3ddcd2(0x48e)],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]);if(_0x915c80){var _0x204931,_0x801a76;let _0x2aa80f=this['_getImageDrawingInfo'](this['_unitId'],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]),_0x5463ed=(_0x2aa80f==null||(_0x204931=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x204931['width'])||0x0,_0x5ea79c=(_0x2aa80f==null||(_0x801a76=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x801a76['height'])||0x0,_0xd92c45=this[_0x3ddcd2(0x249)](_0x915c80['prstGeom'],_0x5463ed,_0x5ea79c,_0x915c80[_0x3ddcd2(0x16c)]);_0xd92c45&&(this[_0x3ddcd2(0x479)]=_0xd92c45[_0x3ddcd2(0x247)](),this['_clearControls'](),this[_0x3ddcd2(0xcc)](!0x0));}}}));}));}[_0x5671d9(0x3cb)](){const _0x4ddca1=_0x5671d9;this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)][_0x4ddca1(0x262)]['subscribe'](_0x386136=>{const _0x380c33=_0x4ddca1;if(_0x386136['length']===0x1){let _0x2675a0=_0x386136[0x0];if(_0x2675a0[_0x380c33(0x3d6)]===_0x383631[_0x380c33(0x286)][_0x380c33(0x217)]){let {unitId:_0x3b00d8,subUnitId:_0x302e93,drawingId:_0xd4a30d}=_0x2675a0,_0x25f32f=this[_0x380c33(0x255)](_0x3b00d8,_0x302e93,_0xd4a30d);if(_0x25f32f){var _0xa8e062,_0x39eae6;this[_0x380c33(0x258)]=_0xd4a30d,this[_0x380c33(0x48e)]=_0x3b00d8,this[_0x380c33(0x1f0)]=_0x302e93;let _0x47cf57=this[_0x380c33(0x36a)](_0x3b00d8,_0x302e93,_0xd4a30d),_0x16f32c=(_0x47cf57==null||(_0xa8e062=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0xa8e062[_0x380c33(0x439)])||0x0,_0x4455b7=(_0x47cf57==null||(_0x39eae6=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0x39eae6['height'])||0x0,_0x3bd26f=this[_0x380c33(0x249)](_0x25f32f['prstGeom'],_0x16f32c,_0x4455b7,_0x25f32f[_0x380c33(0x16c)]);_0x3bd26f&&(this[_0x380c33(0x479)]=_0x3bd26f['getDrawingPoints']()),this[_0x380c33(0xc2)](),this['_createControls'](!0x0);}else this[_0x380c33(0x45b)]();}else this['_resetState']();}else this[_0x380c33(0x45b)]();})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['update$'][_0x4ddca1(0x317)](_0x95a3b3=>{const _0x2fd96f=_0x4ddca1;if(_0x95a3b3[_0x2fd96f(0x175)]===0x1){let _0x3e8027=_0x95a3b3[0x0],_0x480640=this[_0x2fd96f(0x306)][_0x2fd96f(0x14d)](_0x3e8027);(_0x480640==null?void 0x0:_0x480640[_0x2fd96f(0x3d6)])===_0x383631[_0x2fd96f(0x286)][_0x2fd96f(0x217)]&&this[_0x2fd96f(0x258)]===_0x3e8027[_0x2fd96f(0x493)]&&(this[_0x2fd96f(0xc2)](),this[_0x2fd96f(0xcc)](!0x0));}})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['remove$'][_0x4ddca1(0x317)](_0x2db499=>{const _0x2f552b=_0x4ddca1;for(let _0x4ce7e4 of _0x2db499)this[_0x2f552b(0x258)]===_0x4ce7e4['drawingId']&&this[_0x2f552b(0x45b)]();}));}[_0x5671d9(0x45b)](){const _0x14250d=_0x5671d9;this[_0x14250d(0x258)]=null,this[_0x14250d(0x48e)]=null,this[_0x14250d(0x1f0)]=null,this[_0x14250d(0x479)]=void 0x0,this[_0x14250d(0xc2)]();}};_0x2d7d8a=_0x25a2aa([_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x5343de))],_0x2d7d8a);function _0x5940a4({ref:_0xce9420,..._0x371b23}){const _0x44e00b=_0x5671d9;let {preserveStrokeWidth:_0x18fed7,icon:_0x4ee963,id:_0x3c809b,className:_0x31234b,extend:_0x4eed79,..._0x3dbb20}=_0x371b23,_0x5341e2=('univerjs-icon\x20univerjs-icon-'+_0x3c809b+'\x20'+(_0x31234b||''))['trim'](),_0x4abef2='_'+(0x0,_0x6ed98f[_0x44e00b(0x42a)])(),_0x241628=(0x0,_0x6ed98f[_0x44e00b(0x161)])(null);return(0x0,_0x6ed98f['useImperativeHandle'])(_0xce9420,()=>_0x241628['current']),(0x0,_0x6ed98f[_0x44e00b(0x44e)])(()=>{const _0x4bff41=_0x44e00b;if(_0x18fed7&&_0x241628['current']&&_0x241628['current']['localName']===_0x4ee963[_0x4bff41(0x1c4)])return _0x330c7e(_0x241628['current']);},[_0x18fed7,_0x4ee963]),_0x5297e4(_0x4ee963,''+_0x3c809b,{'defIds':_0x4ee963[_0x44e00b(0x132)],'idSuffix':_0x4abef2},{'ref':_0x241628,'className':_0x5341e2,..._0x3dbb20},_0x4eed79);}function _0x5297e4(_0x24d5aa,_0x1e940a,_0x533052,_0x2325d6,_0x567b48){const _0x301231=_0x5671d9;return(0x0,_0x6ed98f[_0x301231(0x4c6)])(_0x24d5aa[_0x301231(0x1c4)],{'key':_0x1e940a,..._0x1fceaf(_0x24d5aa,_0x533052,_0x567b48),..._0x2325d6},(_0x5e1014(_0x24d5aa,_0x533052)[_0x301231(0x1c5)]||[])[_0x301231(0x3da)]((_0x2adab8,_0xedea7)=>_0x5297e4(_0x2adab8,_0x1e940a+'-'+_0x24d5aa[_0x301231(0x1c4)]+'-'+_0xedea7,_0x533052,void 0x0,_0x567b48)));}function _0x1fceaf(_0x17d06c,_0x4fcab8,_0x1a6f33){const _0x5a071=_0x5671d9;let _0x35ff4f={..._0x17d06c['attrs']};_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f[_0x5a071(0x3c6)]==='colorChannel1'&&(_0x35ff4f[_0x5a071(0x3c6)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f['stroke']===_0x5a071(0x3ff)&&(_0x35ff4f[_0x5a071(0x193)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x335)&&_0x35ff4f['id']&&(_0x35ff4f['id']+=_0x4fcab8[_0x5a071(0x20c)]),Object['entries'](_0x35ff4f)['forEach'](([_0x268fae,_0xcc3393])=>{const _0x25099c=_0x5a071;_0x268fae==='mask'&&typeof _0xcc3393==_0x25099c(0x3d1)&&(_0x35ff4f[_0x268fae]=_0xcc3393['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4fcab8[_0x25099c(0x20c)]+')'));});let {defIds:_0x224d2b}=_0x4fcab8;return!_0x224d2b||_0x224d2b[_0x5a071(0x175)]===0x0?_0x35ff4f:(_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x10e)&&_0x35ff4f['xlink:href']&&(_0x35ff4f[_0x5a071(0x445)]+=_0x4fcab8[_0x5a071(0x20c)]),Object[_0x5a071(0x2f6)](_0x35ff4f)[_0x5a071(0x3a7)](([_0x1db521,_0x2bb3c4])=>{const _0x2fcdb1=_0x5a071;typeof _0x2bb3c4==_0x2fcdb1(0x3d1)&&(_0x35ff4f[_0x1db521]=_0x2bb3c4[_0x2fcdb1(0x153)](/url\(#(.*)\)/,_0x2fcdb1(0x148)+_0x4fcab8['idSuffix']+')'));}),_0x35ff4f);}function _0x5e1014(_0x51ee86,_0x2e153a){const _0x58ebca=_0x5671d9;var _0xf9f493;let {defIds:_0x50174c}=_0x2e153a;return!_0x50174c||_0x50174c[_0x58ebca(0x175)]===0x0?_0x51ee86:_0x51ee86[_0x58ebca(0x1c4)]===_0x58ebca(0x49b)&&(_0xf9f493=_0x51ee86['children'])!=null&&_0xf9f493['length']?{..._0x51ee86,'children':_0x51ee86[_0x58ebca(0x1c5)][_0x58ebca(0x3da)](_0xe9bc45=>typeof _0xe9bc45['attrs']['id']=='string'&&_0x50174c&&_0x50174c[_0x58ebca(0x119)](_0xe9bc45[_0x58ebca(0x485)]['id'])?{..._0xe9bc45,'attrs':{..._0xe9bc45[_0x58ebca(0x485)],'id':_0xe9bc45[_0x58ebca(0x485)]['id']+_0x2e153a[_0x58ebca(0x20c)]}}:_0xe9bc45)}:_0x51ee86;}function _0x330c7e(_0x47043c){const _0x47ebfb=_0x5671d9;let _0x2db53b=_0x47043c[_0x47ebfb(0x48f)][_0x47ebfb(0x4ca)],_0x164c26=Math['max'](_0x2db53b[_0x47ebfb(0x439)],_0x2db53b[_0x47ebfb(0x2ea)]);if(!Number[_0x47ebfb(0x196)](_0x164c26)||_0x164c26<=0x0||_0x2db53b[_0x47ebfb(0x439)]<=0x0||_0x2db53b['height']<=0x0)return()=>void 0x0;let _0x3e2f3c=0x10/_0x164c26,_0x5dfaf4=Array[_0x47ebfb(0x2c0)](_0x47043c['querySelectorAll'](_0x47ebfb(0x282)))[_0x47ebfb(0x430)](_0x314857=>{const _0x46b8a7=_0x47ebfb;let _0x44b7b=getComputedStyle(_0x314857),_0x5e9a01=Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3fa)]);return _0x44b7b[_0x46b8a7(0x193)]===_0x46b8a7(0x26c)||Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3b3)])===0x0||_0x44b7b[_0x46b8a7(0x4a0)]===_0x46b8a7(0x331)||!Number['isFinite'](_0x5e9a01)||_0x5e9a01<=0x0?[]:[{'element':_0x314857,'hadStyleAttribute':_0x314857[_0x46b8a7(0x2ac)]('style'),'originalStrokeWidth':_0x5e9a01,'strokeWidth':_0xb0751e(_0x314857[_0x46b8a7(0x124)],_0x46b8a7(0x444))}];})[_0x47ebfb(0x3da)](_0x53a5a1=>({'appliedStrokeWidth':null,'element':_0x53a5a1[_0x47ebfb(0x455)],'hadStyleAttribute':_0x53a5a1['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x53a5a1[_0x47ebfb(0x353)],'strokeWidth':_0x53a5a1[_0x47ebfb(0x3fa)]}));if(_0x5dfaf4[_0x47ebfb(0x175)]===0x0)return()=>void 0x0;let _0x2713a0=(_0xa749a1,_0x17388d)=>{const _0x48f7fb=_0x47ebfb;if(_0x2db53b['width']<=0x0||_0x2db53b[_0x48f7fb(0x2ea)]<=0x0||_0xa749a1<=0x0||_0x17388d<=0x0)return;let _0x2e2ac5=Math[_0x48f7fb(0x428)](_0xa749a1/_0x2db53b[_0x48f7fb(0x439)],_0x17388d/_0x2db53b[_0x48f7fb(0x2ea)]);!Number[_0x48f7fb(0x196)](_0x2e2ac5)||_0x2e2ac5<=0x0||_0x5dfaf4[_0x48f7fb(0x3a7)](_0x3a28ad=>{const _0x4632c7=_0x48f7fb;if(_0x3a28ad[_0x4632c7(0x313)])return;if(_0x3a28ad['appliedStrokeWidth']!==null&&(_0x3a28ad[_0x4632c7(0x455)]['style']['getPropertyValue'](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x295)]||_0x3a28ad['element']['style'][_0x4632c7(0x38b)](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x3fa)]['priority'])){_0x3a28ad[_0x4632c7(0x295)]=null,_0x3a28ad[_0x4632c7(0x313)]=!0x0;return;}let _0x2bf721=_0x3a28ad[_0x4632c7(0x353)]*_0x3e2f3c/_0x2e2ac5,_0x3d3656=Number(_0x2bf721[_0x4632c7(0x2b3)](0xc))+'px';_0x3a28ad['element'][_0x4632c7(0x124)][_0x4632c7(0x43a)](_0x4632c7(0x444),_0x3d3656,_0x3a28ad[_0x4632c7(0x3fa)][_0x4632c7(0x2b0)]),_0x3a28ad[_0x4632c7(0x295)]=_0x3d3656;});},_0x35419b=_0x47043c['getBoundingClientRect']();_0x2713a0(_0x35419b[_0x47ebfb(0x439)],_0x35419b['height']);let _0x3a160e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x43c221=>{const _0x4369c0=_0x47ebfb;if(_0x43c221[_0x4369c0(0x156)](_0x1ae9fe=>_0x1ae9fe[_0x4369c0(0x2c1)]===_0x47043c)){let _0x98ea41=_0x47043c[_0x4369c0(0x11a)]();_0x2713a0(_0x98ea41['width'],_0x98ea41['height']);}});return _0x3a160e==null||_0x3a160e[_0x47ebfb(0x17f)](_0x47043c),()=>{const _0x389019=_0x47ebfb;_0x3a160e==null||_0x3a160e[_0x389019(0x4ad)](),_0x5dfaf4[_0x389019(0x3a7)](_0x3322b5=>{const _0x3a1e4a=_0x389019;_0x3322b5[_0x3a1e4a(0x295)]!==null&&(_0x4811fb(_0x3322b5[_0x3a1e4a(0x455)][_0x3a1e4a(0x124)],_0x3a1e4a(0x444),_0x3322b5['appliedStrokeWidth'],_0x3322b5[_0x3a1e4a(0x3fa)][_0x3a1e4a(0x2b0)],_0x3322b5['strokeWidth']),!_0x3322b5[_0x3a1e4a(0x109)]&&_0x3322b5['element'][_0x3a1e4a(0x124)]['length']===0x0&&_0x3322b5[_0x3a1e4a(0x455)]['removeAttribute'](_0x3a1e4a(0x124)));});};}function _0xb0751e(_0x8d97f5,_0xe85ebf){const _0x2b306b=_0x5671d9;return{'priority':_0x8d97f5[_0x2b306b(0x38b)](_0xe85ebf),'value':_0x8d97f5[_0x2b306b(0x33e)](_0xe85ebf)};}function _0x4811fb(_0x20e4a2,_0x2d8269,_0xa7460b,_0x595195,_0x2ed8c4){const _0x130a44=_0x5671d9;_0x20e4a2[_0x130a44(0x33e)](_0x2d8269)===_0xa7460b&&_0x20e4a2['getPropertyPriority'](_0x2d8269)===_0x595195&&(_0x2ed8c4[_0x130a44(0x320)]?_0x20e4a2[_0x130a44(0x43a)](_0x2d8269,_0x2ed8c4['value'],_0x2ed8c4[_0x130a44(0x2b0)]):_0x20e4a2[_0x130a44(0x372)](_0x2d8269));}_0x5940a4[_0x5671d9(0x192)]=_0x5671d9(0x269);let _0x144a35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x3b2),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x415),'fillRule':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x37b),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x158)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x3ff1ac=(0x0,_0x6ed98f['forwardRef'])(function(_0x3827de,_0x417679){const _0x18fd9c=_0x5671d9;return(0x0,_0x6ed98f[_0x18fd9c(0x4c6)])(_0x5940a4,Object[_0x18fd9c(0x2f2)]({},_0x3827de,{'id':_0x18fd9c(0x125),'ref':_0x417679,'icon':_0x144a35}));});_0x3ff1ac[_0x5671d9(0x192)]=_0x5671d9(0x402);let _0x712223={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':'1em','height':'1em'},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x263),'strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x4cb),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x1d8),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x487),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x2c8),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M8\x2014V14.2','strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}}]},_0x534026=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x371a45,_0x1b5a93){const _0x14b3b2=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x14b3b2(0x2f2)]({},_0x371a45,{'id':_0x14b3b2(0x22a),'ref':_0x1b5a93,'icon':_0x712223}));});_0x534026[_0x5671d9(0x192)]=_0x5671d9(0x34a);let _0x1184ae={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0xff),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x307),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':'M6.2\x208H7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x454),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x3bc),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5e4242=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1b4f11,_0x3930ef){const _0x28fcb8=_0x5671d9;return(0x0,_0x6ed98f[_0x28fcb8(0x4c6)])(_0x5940a4,Object[_0x28fcb8(0x2f2)]({},_0x1b4f11,{'id':_0x28fcb8(0x212),'ref':_0x3930ef,'icon':_0x1184ae}));});_0x5e4242['displayName']=_0x5671d9(0x346);let _0x45e12e={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x1ac),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x1bc)}}]},_0x119d55=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1429e2,_0x29d9df){const _0x391194=_0x5671d9;return(0x0,_0x6ed98f[_0x391194(0x4c6)])(_0x5940a4,Object[_0x391194(0x2f2)]({},_0x1429e2,{'id':_0x391194(0x345),'ref':_0x29d9df,'icon':_0x45e12e}));});_0x119d55[_0x5671d9(0x192)]=_0x5671d9(0x195);let _0x55dd35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x3d3),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x4b4)}}]},_0x33a333=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x4a0edf,_0x36ae25){const _0x4ebfa8=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x4ebfa8(0x2f2)]({},_0x4a0edf,{'id':'move-up-icon','ref':_0x36ae25,'icon':_0x55dd35}));});_0x33a333['displayName']=_0x5671d9(0x168);let _0x1c235b={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':'none','viewBox':_0x5671d9(0x321),'width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x137),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}}]},_0x4c5ad8=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x3fe5a1,_0x15c641){const _0x2d7f98=_0x5671d9;return(0x0,_0x6ed98f[_0x2d7f98(0x4c6)])(_0x5940a4,Object['assign']({},_0x3fe5a1,{'id':_0x2d7f98(0x1fb),'ref':_0x15c641,'icon':_0x1c235b}));});_0x4c5ad8['displayName']=_0x5671d9(0x47c);let _0x177ea4={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x4ba),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x416),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5671d9(0x25c),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x5671d9(0x470)}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0xc8fb54=(0x0,_0x6ed98f['forwardRef'])(function(_0x473e04,_0x1d45d0){const _0x4416a9=_0x5671d9;return(0x0,_0x6ed98f[_0x4416a9(0x4c6)])(_0x5940a4,Object[_0x4416a9(0x2f2)]({},_0x473e04,{'id':'shape-format-setting-icon','ref':_0x1d45d0,'icon':_0x177ea4}));});_0xc8fb54[_0x5671d9(0x192)]=_0x5671d9(0x33b);let _0x48c595={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x213)}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'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':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'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':_0x5671d9(0x4b6),'clipRule':'evenodd'}}]},_0x5c98e7=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x2e7bb2,_0x24dfb2){const _0x51eaa2=_0x5671d9;return(0x0,_0x6ed98f[_0x51eaa2(0x4c6)])(_0x5940a4,Object[_0x51eaa2(0x2f2)]({},_0x2e7bb2,{'id':_0x51eaa2(0x33f),'ref':_0x24dfb2,'icon':_0x48c595}));});_0x5c98e7[_0x5671d9(0x192)]=_0x5671d9(0x49f);function _0x498afa(_0xc029a4){return _0xc029a4['trim']()||void 0x0;}function _0x573d9f(_0x32a23f,_0x2c9987,_0x55cf5e){const _0x1b8a8c=_0x5671d9;var _0x4c366e;return((_0x4c366e=_0x32a23f[_0x1b8a8c(0x279)])==null?void 0x0:_0x4c366e[_0x1b8a8c(0x3a1)]())||_0x55cf5e['t'](_0x1b8a8c(0x2fb)+(0x0,_0x2a9d6c[_0x1b8a8c(0x207)])(_0x32a23f[_0x1b8a8c(0x3d6)]))+'\x20'+(_0x2c9987+0x1);}function _0x55f3d8({PanelComponent:_0x3b1d85=_0x129810[_0x5671d9(0x300)]}){const _0x6f2756=_0x5671d9;var _0x48093e;let _0x224142=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631[_0x6f2756(0x422)]),_0x3292b8={'title':_0x224142['t'](_0x6f2756(0x219)),'empty':_0x224142['t'](_0x6f2756(0x30c)),'showAll':_0x224142['t'](_0x6f2756(0x107)),'hideAll':_0x224142['t'](_0x6f2756(0x405)),'lockAll':_0x224142['t'](_0x6f2756(0x378)),'unlockAll':_0x224142['t']('drawing-ui.objectListPanel.unlockAll'),'moveForward':_0x224142['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x224142['t'](_0x6f2756(0x3ef)),'close':_0x224142['t'](_0x6f2756(0x264)),'show':_0x224142['t']('drawing-ui.objectListPanel.show'),'hide':_0x224142['t']('drawing-ui.objectListPanel.hide'),'lock':_0x224142['t'](_0x6f2756(0x43e)),'unlock':_0x224142['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x224142['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x224142['t'](_0x6f2756(0x2d2)),'name':_0x224142['t'](_0x6f2756(0x1fe)),'nameInput':_0x224142['t'](_0x6f2756(0x221)),'description':_0x224142['t'](_0x6f2756(0x1b3)),'descriptionPlaceholder':_0x224142['t'](_0x6f2756(0x200)),'details':_0x224142['t'](_0x6f2756(0x2e3)),'noSelection':_0x224142['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x224142['t'](_0x6f2756(0x33c)),'expand':_0x224142['t'](_0x6f2756(0x371)),'collapse':_0x224142['t'](_0x6f2756(0x474)),'dragToReorder':_0x224142['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x224142['t'](_0x6f2756(0x2c7)),'filterAll':_0x224142['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x224142['t'](_0x6f2756(0x3f8)),'filterLocked':_0x224142['t'](_0x6f2756(0x38a)),'sectionCanvas':_0x224142['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x224142['t'](_0x6f2756(0x3ba))},_0x533707=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['ICommandService']),_0x17d828=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['IUniverInstanceService']),_0xfb120f=(0x0,_0x2f96d6['useDependency'])(_0x72b203['ISheetDrawingService']),_0x1c13df=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x6f2756(0xf1)]),_0x1a1a3d=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x1c3608[_0x6f2756(0x1fd)]),[,_0x31d8b9]=(0x0,_0x6ed98f['useReducer'])(_0x20ad08=>_0x20ad08+0x1,0x0),_0x3b59b6=_0x17d828[_0x6f2756(0x141)](_0x383631[_0x6f2756(0x363)]['UNIVER_SHEET']),_0xad237e=(_0x3b59b6==null?void 0x0:_0x3b59b6[_0x6f2756(0x358)]())??'',_0x39b69c=(_0x3b59b6==null||(_0x48093e=_0x3b59b6[_0x6f2756(0x102)]())==null?void 0x0:_0x48093e['getSheetId']())??'',_0x572963=(0x0,_0x2f96d6[_0x6f2756(0x26f)])(()=>_0x1c13df[_0x6f2756(0x262)],_0x1c13df[_0x6f2756(0x486)](),!0x1,[_0x1c13df]);(0x0,_0x6ed98f[_0x6f2756(0x136)])(()=>{const _0x561274=_0x6f2756;let _0x457e68=_0x533707['onCommandExecuted'](()=>_0x31d8b9());return()=>_0x457e68[_0x561274(0x39f)]();},[_0x533707]);let _0xb2b7c2=_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x24f)](_0xad237e,_0x39b69c):{},_0x32e6b5=(_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x4bb)](_0xad237e,_0x39b69c):[])[_0x6f2756(0x3da)](_0x2ad30b=>_0xb2b7c2[_0x2ad30b])['filter'](_0x1255ed=>!!_0x1255ed)[_0x6f2756(0x112)](),_0x39e8e6=_0x32e6b5[_0x6f2756(0x400)]((_0x440469,_0x266930)=>(_0x440469[(0x0,_0x129810[_0x6f2756(0x2b9)])(_0x266930[_0x6f2756(0x3d6)])]+=0x1,_0x440469),{'canvas':0x0,'floating':0x0}),_0x2eb377={'canvas':0x0,'floating':0x0},_0x2a1426=_0x32e6b5['map']((_0x195d76,_0x57bfc4)=>{const _0x2733ee=_0x6f2756;let _0x82df64=(0x0,_0x129810[_0x2733ee(0x2b9)])(_0x195d76[_0x2733ee(0x3d6)]),_0x5b74ac=_0x82df64===_0x129810[_0x2733ee(0x23b)],_0x3924f2=_0x2eb377[_0x82df64]++;return{'id':_0x195d76[_0x2733ee(0x493)],'name':_0x573d9f(_0x195d76,_0x57bfc4,_0x224142),'description':_0x195d76[_0x2733ee(0x1ff)],'visible':_0x195d76[_0x2733ee(0x185)]!==!0x0,'selectable':_0x195d76[_0x2733ee(0x1dc)]!==!0x1,'sectionId':_0x82df64,'sectionTitle':_0x5b74ac?_0x3292b8[_0x2733ee(0x483)]:_0x3292b8['sectionCanvas'],'capabilities':_0x5b74ac?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x5b74ac&&_0x3924f2>0x0,'canMoveBackward':!_0x5b74ac&&_0x3924f2<_0x39e8e6[_0x2733ee(0x113)]-0x1,'canReorder':!_0x5b74ac};}),_0x116032=(0x0,_0x6ed98f[_0x6f2756(0x420)])(()=>(_0x572963??[])[_0x6f2756(0x265)](_0x403259=>_0x403259[_0x6f2756(0x173)]===_0xad237e&&_0x403259[_0x6f2756(0x135)]===_0x39b69c)[_0x6f2756(0x3da)](_0xfab60c=>_0xfab60c['drawingId']),[_0x572963,_0x39b69c,_0xad237e]),_0x32cf00=_0x116032[_0x116032[_0x6f2756(0x175)]-0x1]??null,_0x422a57=_0x484aef=>_0xfb120f[_0x6f2756(0x14d)]({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x484aef})??null,_0x1bb734=async _0x457b4d=>{const _0x5f15fa=_0x6f2756;_0xad237e&&_0x457b4d[_0x5f15fa(0x175)]&&await _0x533707[_0x5f15fa(0x1f9)](_0x72b203['SetSheetDrawingCommand']['id'],{'unitId':_0xad237e,'drawings':_0x457b4d});},_0x220d2b=async(_0x196027,_0x49f187)=>{_0x422a57(_0x196027)&&await _0x1bb734([{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x196027,..._0x49f187}]);},_0x15edf0=(_0x654584,_0x515368)=>{const _0x3c5f83=_0x6f2756;if(!_0xad237e||!_0x39b69c)return;let _0x1c5699=_0x515368?_0x116032['includes'](_0x654584)?_0x116032[_0x3c5f83(0x265)](_0x29dedf=>_0x29dedf!==_0x654584):[..._0x116032,_0x654584]:[_0x654584];_0x533707['syncExecuteCommand'](_0x279593[_0x3c5f83(0x3ca)]['id'],_0x1c5699[_0x3c5f83(0x3da)](_0x57992d=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x57992d})));let _0x10d545=_0x1c5699[_0x1c5699[_0x3c5f83(0x175)]-0x1];_0x10d545?(0x0,_0x2a9d6c['activateDrawingObject'])(_0x1a1a3d,{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x10d545}):(0x0,_0x2a9d6c[_0x3c5f83(0x1d7)])(_0x1a1a3d,_0xad237e);},_0x1adaf0=async(_0x2901cc,_0x40ec7a)=>{const _0x29d4c6=_0x6f2756;await _0x1bb734(_0x2901cc[_0x29d4c6(0x3da)](_0x112cc4=>_0x422a57(_0x112cc4))['filter'](_0x2746e5=>!!_0x2746e5)[_0x29d4c6(0x265)](_0x4d7148=>_0x4d7148[_0x29d4c6(0x185)]!==!0x0!==_0x40ec7a)['map'](_0x3a6f21=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3a6f21[_0x29d4c6(0x493)],'hidden':!_0x40ec7a})));},_0x4a7bcf=async(_0x1f7f1d,_0x472abb)=>{const _0x1fa6f6=_0x6f2756;await _0x1bb734(_0x1f7f1d[_0x1fa6f6(0x3da)](_0x4e3dbf=>_0x422a57(_0x4e3dbf))['filter'](_0x2ef4e9=>!!_0x2ef4e9)[_0x1fa6f6(0x265)](_0x51d0be=>_0x51d0be[_0x1fa6f6(0x1dc)]!==!0x1!==_0x472abb)['map'](_0x3e861f=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3e861f[_0x1fa6f6(0x493)],'selectable':_0x472abb})));},_0x25e10b=_0x25cea8=>{const _0x29c18f=_0x6f2756;let _0x44f442=_0x422a57(_0x25cea8);if(_0x44f442)return _0x4a7bcf([_0x25cea8],_0x44f442[_0x29c18f(0x1dc)]===!0x1);},_0x438c4f=async(_0x598fef,_0x45c637)=>{const _0x2629af=_0x6f2756;var _0x59a168;let _0x40b375=_0x498afa(_0x45c637);(((_0x59a168=_0x422a57(_0x598fef))==null?void 0x0:_0x59a168[_0x2629af(0x279)])??void 0x0)!==_0x40b375&&await _0x220d2b(_0x598fef,{'name':_0x40b375});},_0x10c46a=async(_0x15488b,_0x3e655c)=>{const _0x413f3d=_0x6f2756;var _0x11804c;let _0xad6ec2=_0x498afa(_0x3e655c);(((_0x11804c=_0x422a57(_0x15488b))==null?void 0x0:_0x11804c[_0x413f3d(0x1ff)])??void 0x0)!==_0xad6ec2&&await _0x220d2b(_0x15488b,{'description':_0xad6ec2});},_0x4d98cf=async(_0x533ade,_0x1c27d5)=>{const _0x57c857=_0x6f2756;_0xad237e&&_0x39b69c&&await _0x533707[_0x57c857(0x1f9)](_0x72b203[_0x57c857(0x2ca)]['id'],{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingIds':[_0x533ade],'arrangeType':_0x1c27d5});};return!_0xad237e||!_0x39b69c?(0x0,_0x4170e1[_0x6f2756(0x157)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x3292b8[_0x6f2756(0x24a)]}):(0x0,_0x4170e1[_0x6f2756(0x157)])(_0x3b1d85,{'labels':_0x3292b8,'items':_0x2a1426,'selectedIds':_0x116032,'focusedId':_0x32cf00,'showHeader':!0x1,'onSelect':_0x15edf0,'onSetVisible':_0x1adaf0,'onSetSelectable':_0x4a7bcf,'onCommitName':_0x438c4f,'onCommitDescription':_0x10c46a,'onMoveForward':async _0x2347ec=>_0x4d98cf(_0x2347ec,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x369)]),'onMoveBackward':async _0x1f49af=>_0x4d98cf(_0x1f49af,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x3f5)]),'onToggleSelectable':_0x25e10b});}function _0x34d4b9(){const _0x39d66a=_0x5671d9;return(0x0,_0x4170e1[_0x39d66a(0x157)])(_0x55f3d8,{'PanelComponent':_0x129810[_0x39d66a(0x326)]});}let _0x15ba05=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0xa55205,_0x5c83d7){const _0x2ad3f4=_0x5671d9;super(),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x2f15dd,_0x34d4b9)),this[_0x2ad3f4(0x252)](_0x5c83d7['register']({'BottomIcon':_0x3ff1ac,'FlipHorizontalIcon':_0x534026,'FlipVerticalIcon':_0x5e4242,'MoveDownIcon':_0x119d55,'MoveUpIcon':_0x33a333,'ObjectLayersIcon':_0x4c5ad8,'ShapeFormatSettingIcon':_0xc8fb54,'TopmostIcon':_0x5c98e7})),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x3d6541,_0x36190b)),this[_0x2ad3f4(0x252)](_0xa55205['register'](_0x5812e5,_0x5b85a9)),_0xa55205['get'](_0x129810[_0x2ad3f4(0x387)])||this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x129810[_0x2ad3f4(0x387)],_0x18ae1b));}};_0x15ba05=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6['ComponentManager'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x421)]))],_0x15ba05);let _0xc020ee=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x215f0a){const _0x22678f=_0x5671d9;super(),this[_0x22678f(0x205)]=_0x215f0a,_0x20dccc(this,'_editingParams$',new _0x4250df[(_0x22678f(0x330))](null)),_0x20dccc(this,_0x22678f(0x3d8),this[_0x22678f(0x3c5)][_0x22678f(0x47d)]()),_0x20dccc(this,_0x22678f(0x2e0),new _0x4250df['BehaviorSubject'](!0x1)),_0x20dccc(this,_0x22678f(0x2f3),this['_onSavingEditorData$'][_0x22678f(0x47d)]()),_0x20dccc(this,'_completionFrame',void 0x0),this['disposeWithMe'](this[_0x22678f(0x205)]['permissionPointUpdate$']['subscribe'](()=>{const _0x12644e=_0x22678f;let _0x1916c6=this[_0x12644e(0x16d)]();_0x1916c6!=null&&_0x1916c6['visible']&&!this[_0x12644e(0x2e7)](_0x1916c6)&&this[_0x12644e(0x2b2)](null);}));}[_0x5671d9(0x39f)](){const _0x23306a=_0x5671d9;this[_0x23306a(0x3f2)](),this[_0x23306a(0x3c5)][_0x23306a(0x289)](null),this['_editingParams$']['complete'](),this[_0x23306a(0x2e0)][_0x23306a(0x289)](!0x1),this[_0x23306a(0x2e0)]['complete'](),super[_0x23306a(0x39f)]();}[_0x5671d9(0x2b2)](_0x203504){const _0x5d8329=_0x5671d9;(_0x203504==null||!_0x203504[_0x5d8329(0x167)]||this[_0x5d8329(0x2e7)](_0x203504))&&(this[_0x5d8329(0x3f2)](),this[_0x5d8329(0x3c5)][_0x5d8329(0x289)](_0x203504),(_0x203504==null||_0x203504[_0x5d8329(0x167)]&&this[_0x5d8329(0x2e0)][_0x5d8329(0x1ea)]())&&this[_0x5d8329(0x2e0)][_0x5d8329(0x289)](!0x1));}[_0x5671d9(0x1e9)](_0x444269){const _0x3e0653=_0x5671d9;this[_0x3e0653(0x2e0)][_0x3e0653(0x289)](_0x444269);}['getEditing'](){const _0x62d76b=_0x5671d9;return this[_0x62d76b(0x3c5)]['getValue']();}['_canEdit'](_0x1f2fc1){const _0x336a8a=_0x5671d9;let _0x27abe1=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x121))](_0x1f2fc1[_0x336a8a(0x173)])['id']),_0x2fa921=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x293))](_0x1f2fc1[_0x336a8a(0x173)],_0x1f2fc1[_0x336a8a(0x135)])['id']);return((_0x27abe1==null?void 0x0:_0x27abe1[_0x336a8a(0x320)])??!0x0)&&((_0x2fa921==null?void 0x0:_0x2fa921[_0x336a8a(0x320)])??!0x0);}[_0x5671d9(0x490)](_0x72abc7){const _0x59d55a=_0x5671d9;let _0x4d90ce=this[_0x59d55a(0x16d)]();_0x4d90ce&&this['_completionFrame']===void 0x0&&(this[_0x59d55a(0x1e9)](!0x0),this[_0x59d55a(0x22e)]=requestAnimationFrame(()=>{const _0x48c529=_0x59d55a;this[_0x48c529(0x22e)]=void 0x0,this[_0x48c529(0x16d)]()===_0x4d90ce&&this['setEditing'](null);}));}[_0x5671d9(0x3f2)](){this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x5671d9(0x2a5)](){const _0x4a6234=_0x5671d9;this['getEditing']()&&this[_0x4a6234(0x2b2)](null);}};_0xc020ee=_0x25a2aa([_0x4177c4(0x0,_0x383631['IPermissionService'])],_0xc020ee);let _0x1b14da=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x367b74,_0xc43592,_0x39f4b7,_0x1d0a02,_0x4d3f43,_0x11e025){const _0x5d4a43=_0x5671d9;super(),this[_0x5d4a43(0x4a5)]=_0x367b74,this[_0x5d4a43(0x1ef)]=_0xc43592,this[_0x5d4a43(0x375)]=_0x39f4b7,this[_0x5d4a43(0x306)]=_0x1d0a02,this['_contextService']=_0x4d3f43,this['_sheetsShapeService']=_0x11e025,_0x20dccc(this,_0x5d4a43(0x208),null),this['_initEvents'](),this['_initSelection'](),this[_0x5d4a43(0x301)]();}[_0x5671d9(0x197)](){const _0x522f32=_0x5671d9;let {scene:_0x48dca9}=this[_0x522f32(0x4a5)];this[_0x522f32(0x252)](_0x48dca9[_0x522f32(0x152)][_0x522f32(0x17a)](_0x2e13ff=>{const _0x4024f4=_0x522f32;let {offsetX:_0x491e58,offsetY:_0x338708}=_0x2e13ff,_0x4c87c9=_0x48dca9[_0x4024f4(0x3ed)](_0x1c3608[_0x4024f4(0x266)][_0x4024f4(0x235)]([_0x491e58,_0x338708]));if(_0x4c87c9 instanceof _0x23237e){let _0x221ff0=this[_0x4024f4(0xd0)][_0x4024f4(0x3a8)](_0x4c87c9[_0x4024f4(0x173)],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]);if((0x0,_0x287478[_0x4024f4(0x4d2)])(this[_0x4024f4(0xd0)][_0x4024f4(0x347)](_0x4c87c9['unitId'],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]))||_0x221ff0!=null&&_0x221ff0[_0x4024f4(0xe8)]()[_0x4024f4(0x339)])return;this[_0x4024f4(0x375)][_0x4024f4(0x2b2)]({'visible':!0x0,'unitId':_0x4c87c9[_0x4024f4(0x173)],'subUnitId':_0x4c87c9[_0x4024f4(0x135)],'shapeId':_0x4c87c9[_0x4024f4(0x37d)],'shapeKey':_0x4c87c9['oKey']});}}));}[_0x5671d9(0xd3)](){const _0x29df16=_0x5671d9;this[_0x29df16(0x252)](this[_0x29df16(0x306)][_0x29df16(0x262)][_0x29df16(0x317)](_0x4860c2=>{const _0x22d69b=_0x29df16;if(_0x4860c2[_0x22d69b(0x175)]===0x1){let _0xbbb45d=_0x4860c2[0x0],_0x57b7b4=this[_0x22d69b(0x306)][_0x22d69b(0x14d)](_0xbbb45d);if((_0x57b7b4==null?void 0x0:_0x57b7b4[_0x22d69b(0x3d6)])===_0x383631[_0x22d69b(0x286)][_0x22d69b(0x456)]){var _0x1c626d;let _0x456cc5=this[_0x22d69b(0x375)]['getEditing']();if((_0x456cc5==null?void 0x0:_0x456cc5[_0x22d69b(0x37d)])===_0xbbb45d[_0x22d69b(0x493)]&&_0x456cc5['visible'])return;let _0x1fcd45=(0x0,_0x287478[_0x22d69b(0x4d2)])(this[_0x22d69b(0xd0)]['getShapeType'](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)])),_0x53da56=!!((_0x1c626d=this[_0x22d69b(0xd0)][_0x22d69b(0x3a8)](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)]))!=null&&_0x1c626d[_0x22d69b(0xe8)]()['formulaBinding']);(_0x1fcd45||_0x53da56)&&this[_0x22d69b(0x375)][_0x22d69b(0x2b2)](null);}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();})),this[_0x29df16(0x252)](this[_0x29df16(0x306)]['remove$'][_0x29df16(0x317)](_0xb5ef95=>{const _0x14efee=_0x29df16;let _0x49e239=this[_0x14efee(0x375)][_0x14efee(0x16d)]();_0x49e239&&_0xb5ef95[_0x14efee(0x156)](_0x438fd2=>_0x438fd2['drawingId']===_0x49e239[_0x14efee(0x37d)])&&this['_shapeTextEditingService'][_0x14efee(0x2b2)](null);}));}[_0x5671d9(0x301)](){const _0x2999ec=_0x5671d9;this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x2999ec(0x317)](_0x46f2f4=>{const _0xb4eb4d=_0x2999ec;let {scene:_0x5e5920}=this[_0xb4eb4d(0x4a5)];if(this[_0xb4eb4d(0x208)]){let _0x2fe555=_0x5e5920['getObjectIncludeInGroup'](this[_0xb4eb4d(0x208)]);_0x2fe555&&_0x2fe555[_0xb4eb4d(0x2b2)](!0x1);}if(_0x46f2f4){let _0x4162fa=!!_0x46f2f4[_0xb4eb4d(0x167)],_0x2089db=_0x5e5920[_0xb4eb4d(0x327)](_0x46f2f4[_0xb4eb4d(0x21e)]);_0x2089db&&(_0x2089db['setEditing'](_0x4162fa),this['_lastEditingShapeKey']=_0x46f2f4[_0xb4eb4d(0x21e)]),this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],_0x4162fa);}else this['_lastEditingShapeKey']=null,this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],!0x1);}));}};_0x1b14da=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['Injector'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)]))],_0x1b14da);var _0x2c3642=class extends _0x1b14da{[_0x5671d9(0x197)](){const _0x1e7ba5=_0x5671d9;let {scene:_0x2987ed}=this[_0x1e7ba5(0x4a5)],_0x698fda=this[_0x1e7ba5(0x1ef)][_0x1e7ba5(0x4be)](_0x2a9d6c[_0x1e7ba5(0x433)]);this[_0x1e7ba5(0x252)](_0x2987ed[_0x1e7ba5(0x152)][_0x1e7ba5(0x17a)](_0x51ad60=>{const _0x336657=_0x1e7ba5;let {offsetX:_0x507091,offsetY:_0x141026}=_0x51ad60,_0x49e8a1=_0x2987ed['pick'](_0x1c3608['Vector2'][_0x336657(0x235)]([_0x507091,_0x141026]));if(!(_0x49e8a1 instanceof _0x23237e))return;let _0x48daaf=this['_sheetsShapeService']['getShapeModel'](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]);(0x0,_0x287478[_0x336657(0x4d2)])(this['_sheetsShapeService'][_0x336657(0x347)](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]))||_0x48daaf!=null&&_0x48daaf[_0x336657(0xe8)]()[_0x336657(0x339)]||_0x698fda[_0x336657(0x24c)](_0x336657(0xe7),{'hostType':_0x383631[_0x336657(0x363)][_0x336657(0x3e4)],'unitId':_0x49e8a1[_0x336657(0x173)],'subUnitId':_0x49e8a1['subUnitId'],'shapeId':_0x49e8a1['shapeId']});}));}};let _0x46be84={..._0x230bea},_0x403f30=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x9f4f81,_0x3c93ed,_0x41f38d,_0x2756af,_0x57d008,_0x275783,_0x253846,_0x3fd25c){const _0x1530a3=_0x5671d9;super(),this[_0x1530a3(0x220)]=_0x9f4f81,this[_0x1530a3(0xd0)]=_0x3c93ed,this[_0x1530a3(0x39a)]=_0x41f38d,this['_drawingManagerService']=_0x2756af,this[_0x1530a3(0x26a)]=_0x57d008,this['_contextService']=_0x275783,this['_renderManagerService']=_0x253846,this[_0x1530a3(0x375)]=_0x3fd25c,_0x20dccc(this,_0x1530a3(0x2a8),null),this[_0x1530a3(0x220)][_0x1530a3(0x461)](_0x46be84),this[_0x1530a3(0x21c)](),this[_0x1530a3(0x252)](this[_0x1530a3(0x375)][_0x1530a3(0x3d8)][_0x1530a3(0x317)](_0x617b0d=>{const _0x29eb10=_0x1530a3;_0x617b0d&&this[_0x29eb10(0x451)]();}));}[_0x5671d9(0x380)](){const _0x2020ea=_0x5671d9;this[_0x2020ea(0x2a8)]||=this[_0x2020ea(0x252)]((0x0,_0x2a9d6c[_0x2020ea(0x297)])(this[_0x2020ea(0x42d)],_0x383631[_0x2020ea(0x363)][_0x2020ea(0x3e4)],_0x515d09=>this['_popupMenuListener'](_0x515d09)));}['_registerFeatureMenu'](){const _0x3a8367=_0x5671d9;this[_0x3a8367(0x26a)][_0x3a8367(0x126)](_0x383631['DrawingTypeEnum'][_0x3a8367(0x456)],(_0x3ace6f,_0x4c5c3,_0x5c653c,_0x340be0)=>{const _0x29eac7=_0x3a8367;let _0x21fadd=this[_0x29eac7(0xd0)][_0x29eac7(0x4d1)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0xfad0e=this[_0x29eac7(0xd0)][_0x29eac7(0x21f)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0x42b93d=_0x21fadd!==void 0x0&&!(0x0,_0x287478['isConnectorShape'])(_0x21fadd)&&!(_0xfad0e!=null&&_0xfad0e[_0x29eac7(0x339)]);return[{'label':_0x29eac7(0x13b),'index':0x0,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':'style'},'disable':!0x1},..._0x42b93d?[{'label':_0x29eac7(0x2f7),'index':0x1,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':_0x29eac7(0xe7)},'disable':!0x1}]:[],{'label':_0x29eac7(0x25a),'index':0x2,'commandId':_0x72b203[_0x29eac7(0x4a8)]['id'],'commandParams':{'unitId':_0x3ace6f,'drawings':[{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'drawingType':_0x340be0}]},'disable':!0x1},{'label':_0x29eac7(0x15a),'index':0x3,'commandId':_0x276c17[_0x29eac7(0x3b0)]['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipH':!0x0},'disable':!0x1},{'label':_0x29eac7(0x344),'index':0x4,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipV':!0x0},'disable':!0x1}];},_0x3a8367(0x2bf));}[_0x5671d9(0xf3)](_0x26aa7f){const _0x1e08d6=_0x5671d9;let _0x2f96b0=new _0x383631[(_0x1e08d6(0x299))](),_0x154ffe=null,_0x230338=()=>{const _0x2553c1=_0x1e08d6;if(!_0x154ffe)return;let _0x3ee473=this[_0x2553c1(0x306)]['getFocusDrawings'](),_0x23dbb3=_0x3ee473[_0x2553c1(0x175)]===0x0||_0x3ee473[_0x2553c1(0x175)]===0x1&&_0x3ee473[_0x2553c1(0x156)](_0x4d60fb=>_0x4d60fb['unitId']===(_0x154ffe==null?void 0x0:_0x154ffe['unitId'])&&_0x4d60fb[_0x2553c1(0x135)]===(_0x154ffe==null?void 0x0:_0x154ffe['subUnitId'])&&_0x4d60fb[_0x2553c1(0x493)]===(_0x154ffe==null?void 0x0:_0x154ffe[_0x2553c1(0x493)]));_0x154ffe=null,_0x23dbb3&&(this[_0x2553c1(0x432)][_0x2553c1(0x494)](_0x383631[_0x2553c1(0xdf)],!0x1),this[_0x2553c1(0x306)]['focusDrawing'](null));};return _0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x390)][_0x1e08d6(0x317)](()=>{const _0x4ebe50=_0x1e08d6;let _0x4b558a=_0x26aa7f['getSelectedObjectMap']();if(_0x4b558a[_0x4ebe50(0x23c)]>0x1){_0x230338();return;}let _0x15d684=_0x4b558a[_0x4ebe50(0x206)]()[_0x4ebe50(0x289)]()[_0x4ebe50(0x320)];if(!_0x15d684){_0x230338();return;}let _0x8a2fd=this['_drawingManagerService'][_0x4ebe50(0x1ae)](_0x15d684[_0x4ebe50(0x1ed)]);if(!_0x8a2fd||_0x8a2fd[_0x4ebe50(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x4ebe50(0x456)]){_0x230338();return;}let {unitId:_0x379a9f,subUnitId:_0x2bba3d,drawingId:_0x309593}=_0x8a2fd;_0x154ffe={'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593},this['_contextService'][_0x4ebe50(0x494)](_0x383631[_0x4ebe50(0xdf)],!0x0),this[_0x4ebe50(0x306)][_0x4ebe50(0x486)]()[_0x4ebe50(0x3de)](_0x14eebe=>_0x14eebe[_0x4ebe50(0x173)]===_0x379a9f&&_0x14eebe[_0x4ebe50(0x135)]===_0x2bba3d&&_0x14eebe[_0x4ebe50(0x493)]===_0x309593)||this[_0x4ebe50(0x306)][_0x4ebe50(0x29c)]([{'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593}]);})),_0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x3ce)][_0x1e08d6(0x317)](()=>{_0x230338();})),(0x0,_0x383631[_0x1e08d6(0x292)])(()=>{_0x2f96b0['dispose'](),_0x230338();});}[_0x5671d9(0x451)](){const _0x2dd39a=_0x5671d9;this['_contextService'][_0x2dd39a(0x494)](_0x383631[_0x2dd39a(0xdf)],!0x1),this[_0x2dd39a(0x306)][_0x2dd39a(0x29c)](null);}};_0x403f30=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x6,_0x1c3608['IRenderManagerService']),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x403f30);function _0x555d39(_0x343393,_0x173745,_0x4851e5,_0x4ff667){const _0x58af96=_0x5671d9;let _0x3ccf38=(0x0,_0x279593[_0x58af96(0x466)])(_0x343393,_0x173745,_0x4851e5),_0x1589a9=[];for(let _0x29ec74 of _0x173745){let _0x43d2e9=_0x3ccf38[_0x58af96(0x15f)][_0x58af96(0x4be)](_0x29ec74['drawingId']),_0x50d66b=_0x4ff667(_0x29ec74);_0x43d2e9&&_0x50d66b&&_0x1589a9[_0x58af96(0x27e)]({'targetShapeId':_0x43d2e9,'source':_0x50d66b});}return _0x1589a9;}let _0x5e5ab0=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x53f2ed,_0x30da6c,_0x5d492e,_0x16757e){const _0x58633e=_0x5671d9;super(),this['_univerInstanceService']=_0x53f2ed,this[_0x58633e(0x46b)]=_0x30da6c,this[_0x58633e(0x239)]=_0x5d492e,this[_0x58633e(0xd0)]=_0x16757e,this[_0x58633e(0x3f7)]();}[_0x5671d9(0x3f7)](){const _0xa79ebd=_0x5671d9;this[_0xa79ebd(0x252)](this[_0xa79ebd(0x46b)][_0xa79ebd(0x20f)]({'getMutations':_0x5c3e2c=>{const _0x4d0796=_0xa79ebd;if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xfa)]['id']){let _0x262184=(0x0,_0x111c96['getSheetCommandTarget'])(this[_0x4d0796(0x434)],_0x5c3e2c[_0x4d0796(0x4a7)]);if(!_0x262184)return{'redos':[],'undos':[]};let {unitId:_0x1c1919,subUnitId:_0x2d600e}=_0x262184,_0x23536c=this[_0x4d0796(0x239)][_0x4d0796(0x24f)](_0x1c1919,_0x2d600e),_0x45a868=Object['values'](_0x23536c)[_0x4d0796(0x265)](_0x5ee5d4=>_0x5ee5d4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x45a868[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x40db63=[],_0x4d172f=[];for(let _0x2ddf46=0x0;_0x2ddf46<_0x45a868[_0x4d0796(0x175)];_0x2ddf46++){let _0x578dfd=_0x45a868[_0x2ddf46],_0x2d548c=this[_0x4d0796(0xd0)][_0x4d0796(0x3a8)](_0x578dfd[_0x4d0796(0x173)],_0x578dfd[_0x4d0796(0x135)],_0x578dfd[_0x4d0796(0x493)]);_0x2d548c&&(_0x40db63[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)]}}),_0x4d172f['push']({'id':_0x276c17[_0x4d0796(0x215)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)],'shapeType':_0x2d548c[_0x4d0796(0x347)](),'shapeData':JSON[_0x4d0796(0x342)](JSON[_0x4d0796(0x452)](_0x2d548c[_0x4d0796(0xe8)]()))}}));}return{'redos':_0x40db63,'undos':_0x4d172f};}if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xee)]['id']){let {unitId:_0x10a925,subUnitId:_0x9b7108,targetSubUnitId:_0x180814,copyContext:_0x310892}=_0x5c3e2c[_0x4d0796(0x4a7)];if(!_0x10a925||!_0x9b7108||!_0x180814)return{'redos':[],'undos':[]};let _0x23ecb4=this['_sheetDrawingService'][_0x4d0796(0x24f)](_0x10a925,_0x9b7108),_0x49b61c=Object['values'](_0x23ecb4)[_0x4d0796(0x265)](_0x442db4=>_0x442db4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x49b61c[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x57ff91=_0x555d39(_0x310892,_0x49b61c,{'unitId':_0x10a925,'sourceSubUnitId':_0x9b7108,'targetSubUnitId':_0x180814},_0x4dbd33=>{const _0x4d1c33=_0x4d0796;let _0x4106b2=this[_0x4d1c33(0xd0)][_0x4d1c33(0x3a8)](_0x4dbd33[_0x4d1c33(0x173)],_0x4dbd33[_0x4d1c33(0x135)],_0x4dbd33[_0x4d1c33(0x493)]);if(_0x4106b2)return{'shapeType':_0x4106b2[_0x4d1c33(0x347)](),'shapeData':JSON['parse'](JSON['stringify'](_0x4106b2[_0x4d1c33(0xe8)]()))};}),_0x1f093c=[],_0x4aadc6=[];for(let {targetShapeId:_0x495922,source:_0x5a021a}of _0x57ff91)_0x1f093c[_0x4d0796(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922,'shapeType':_0x5a021a['shapeType'],'shapeData':_0x5a021a['shapeData']}}),_0x4aadc6[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922}});return{'redos':_0x1f093c,'undos':_0x4aadc6};}return{'redos':[],'undos':[]};}}));}};_0x5e5ab0=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631['IUniverInstanceService'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x226)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x5e5ab0);let _0x3fcbb7=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4fd913,_0x3003c8,_0x1f273f,_0x48bed5,_0x12bfbc,_0x212b47){const _0x215e91=_0x5671d9;super(),this[_0x215e91(0x39a)]=_0x4fd913,this[_0x215e91(0x42d)]=_0x3003c8,this[_0x215e91(0x306)]=_0x1f273f,this[_0x215e91(0x253)]=_0x48bed5,this[_0x215e91(0x183)]=_0x12bfbc,this[_0x215e91(0x488)]=_0x212b47,_0x20dccc(this,'_insertingShapeKeys',new Set()),this[_0x215e91(0x3b9)]();}['_initialize'](){const _0x231a43=_0x5671d9;this['_drawingAddListener'](),this['_commandExecutedListener'](),this[_0x231a43(0x491)]();}[_0x5671d9(0x3c1)](){const _0x31e878=_0x5671d9;this[_0x31e878(0x252)](this[_0x31e878(0x306)][_0x31e878(0x4c0)][_0x31e878(0x317)](_0x1745fe=>{const _0x2000e9=_0x31e878;this[_0x2000e9(0x409)](_0x1745fe);}));}[_0x5671d9(0xc6)](){const _0x41a250=_0x5671d9;this[_0x41a250(0x252)](this[_0x41a250(0x39a)][_0x41a250(0x15d)]((_0x53d302,_0xad9d59)=>{const _0x3901b7=_0x41a250;if(_0x53d302['id']===_0x276c17[_0x3901b7(0x250)]['id']){let {unitId:_0x2e54da,subUnitId:_0x1e71da,shapeId:_0x31cbba}=_0x53d302[_0x3901b7(0x4a7)],_0xbeb77e=this[_0x3901b7(0x472)](_0x2e54da),_0x5194b1=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x2e54da,'subUnitId':_0x1e71da,'drawingId':_0x31cbba}),_0x495955=_0xbeb77e==null?void 0x0:_0xbeb77e[_0x3901b7(0x333)][_0x3901b7(0x327)](_0x5194b1);_0x495955&&(this[_0x3901b7(0x488)][_0x3901b7(0x4b8)](_0x495955),this['_sheetDrawingShapeRenderController'][_0x3901b7(0x273)](_0x495955,{'unitId':_0x2e54da,'subUnitId':_0x1e71da,'shapeId':_0x31cbba}),_0x495955[_0x3901b7(0x33a)](!0x0));return;}if(_0x53d302['id']===_0x276c17[_0x3901b7(0x215)]['id']){var _0x58977f;let {unitId:_0x3f42ff,subUnitId:_0x2d059d,shapeId:_0x21534b}=_0x53d302['params'],_0x299741=this['_getSceneAndTransformerByDrawingSearch'](_0x3f42ff);if(_0x299741==null)return;let {scene:_0x1414ca}=_0x299741,_0x1803c2=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}),_0x10422d=_0x1414ca[_0x3901b7(0x327)](_0x1803c2);if(!((_0x58977f=this[_0x3901b7(0x42d)][_0x3901b7(0x1fa)](_0x3f42ff))!=null&&_0x58977f[_0x3901b7(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x3901b7(0x1e8)](_0x2d059d)))return!0x1;if(_0x10422d)return;if(_0xad9d59!=null&&_0xad9d59[_0x3901b7(0x3a9)]){queueMicrotask(()=>{const _0x53700c=_0x3901b7;this[_0x53700c(0x118)]||this[_0x53700c(0x409)]([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);});return;}this['_insertShapes']([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);}}));}[_0x5671d9(0x491)](){const _0x1925fd=_0x5671d9;this[_0x1925fd(0x252)](this[_0x1925fd(0x306)][_0x1925fd(0x294)][_0x1925fd(0x317)](_0x2ea1f5=>{_0x2ea1f5['forEach'](_0xd1ffcc=>{const _0x3d9b86=_0x43eb;let {unitId:_0x1535f7,subUnitId:_0x4479aa,drawingId:_0x332df6}=_0xd1ffcc,_0x1660e0=this[_0x3d9b86(0x306)]['getDrawingByParam'](_0xd1ffcc);if(_0x1660e0==null)return;let {transform:_0xa376bc,drawingType:_0x40fe5a,srcRect:_0x14dcdb,prstGeom:_0x140a63}=_0x1660e0;if(_0x40fe5a!==_0x383631[_0x3d9b86(0x286)][_0x3d9b86(0x456)])return;let _0x5c1979=this['_getSceneAndTransformerByDrawingSearch'](_0x1535f7);if(_0x5c1979==null)return;let {scene:_0x35071b,transformer:_0x406265}=_0x5c1979;if(_0xa376bc==null)return!0x0;let _0x18200a=(0x0,_0x279593[_0x3d9b86(0x201)])({'unitId':_0x1535f7,'subUnitId':_0x4479aa,'drawingId':_0x332df6}),_0x44cd99=_0x35071b[_0x3d9b86(0x327)](_0x18200a);if(_0x44cd99==null)return!0x0;_0x44cd99[_0x3d9b86(0x19a)](_0x14dcdb),_0x44cd99[_0x3d9b86(0x408)](_0x140a63);});}));}['_insertShapes'](_0x46932f){const _0x34dd0e=_0x5671d9;for(let _0x49d450 of _0x46932f){var _0x315f07;let {unitId:_0x51ddbc,subUnitId:_0x44d47e,drawingId:_0x2a589e}=_0x49d450,_0x363719=this[_0x34dd0e(0x472)](_0x51ddbc),_0x5d9169=(_0x315f07=(0x0,_0x129810[_0x34dd0e(0x322)])(this[_0x34dd0e(0x253)],_0x51ddbc))==null?void 0x0:_0x315f07[_0x34dd0e(0x135)];if(_0x363719==null||_0x5d9169!==_0x44d47e)return;let _0xf27d=(0x0,_0x279593[_0x34dd0e(0x201)])({'unitId':_0x51ddbc,'subUnitId':_0x44d47e,'drawingId':_0x2a589e});if(this[_0x34dd0e(0x3ab)][_0x34dd0e(0xf0)](_0xf27d)||_0x363719['scene'][_0x34dd0e(0x327)](_0xf27d)!=null)return;let _0x502cc2=this['_drawingManagerService'][_0x34dd0e(0x14d)](_0x49d450);if(_0x502cc2==null||_0x502cc2[_0x34dd0e(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x34dd0e(0x456)])return;let _0x2be493=_0x502cc2['data']||{};if((0x0,_0x287478['isConnectorShape'])(_0x2be493[_0x34dd0e(0x138)])){let _0x3ecf73=_0x502cc2[_0x34dd0e(0x2c6)];_0x3ecf73&&(_0x502cc2['transform']={..._0x3ecf73,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x34dd0e(0x3ab)][_0x34dd0e(0x338)](_0xf27d);try{this[_0x34dd0e(0x488)][_0x34dd0e(0x3a0)](_0x502cc2,_0x363719[_0x34dd0e(0x333)]);}finally{this['_insertingShapeKeys'][_0x34dd0e(0x3b8)](_0xf27d);}queueMicrotask(()=>{const _0xb8403b=_0x34dd0e;if(this[_0xb8403b(0x118)])return;let _0x4f75e0=(0x0,_0x279593[_0xb8403b(0x201)])(_0x49d450);if(!_0x363719[_0xb8403b(0x333)][_0xb8403b(0x327)](_0x4f75e0))return;let _0x12e9ff=this[_0xb8403b(0x306)][_0xb8403b(0x14d)](_0x49d450);_0x12e9ff&&this[_0xb8403b(0x306)][_0xb8403b(0x49d)]([_0x12e9ff]);});}}[_0x5671d9(0x472)](_0x415f7e){const _0x41d3b5=_0x5671d9;if(_0x415f7e==null)return;let _0xa6d653=this[_0x41d3b5(0x42d)][_0x41d3b5(0x1fa)](_0x415f7e),_0x15657e=_0xa6d653==null?void 0x0:_0xa6d653[_0x41d3b5(0x333)];return _0x15657e==null?null:{'scene':_0x15657e,'transformer':_0x15657e[_0x41d3b5(0x178)]()};}};_0x3fcbb7=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x1,_0x1c3608['IRenderManagerService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810['DrawingRenderService'])),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x57eebe))],_0x3fcbb7);let _0x1af7f3={'normal':{'fill':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2d7)],'stroke':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x389)],'strokeWidth':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2c9)]},'highlighted':{'fill':_0x5671d9(0x27d),'stroke':_0x5671d9(0x34d),'strokeWidth':0x2}};var _0x177d9e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x1d2cf4,_0x5477f9){const _0x4a633d=_0x5671d9;super(_0x1d2cf4,_0x5477f9),_0x20dccc(this,_0x4a633d(0x45e),''),_0x20dccc(this,'_cxnIndex',-0x1),_0x20dccc(this,'_unitId',''),_0x20dccc(this,'_subUnitId',''),_0x20dccc(this,_0x4a633d(0x145),!0x1),_0x5477f9&&this['setShapeProps'](_0x5477f9);}[_0x5671d9(0x22b)](){const _0x26af06=_0x5671d9;return{'unitId':this[_0x26af06(0x48e)],'subUnitId':this[_0x26af06(0x1f0)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x26af06(0x222)]};}[_0x5671d9(0x401)](_0x29032b){const _0x3ccb0c=_0x5671d9;this[_0x3ccb0c(0x145)]!==_0x29032b&&(this['_isHighlighted']=_0x29032b,this[_0x3ccb0c(0x33a)](!0x0));}[_0x5671d9(0x225)](){const _0x277d08=_0x5671d9;return this[_0x277d08(0x145)];}[_0x5671d9(0x172)](_0x13ad1a){const _0x648a86=_0x5671d9;_0x13ad1a[_0x648a86(0xca)]!==void 0x0&&(this['_targetShapeId']=_0x13ad1a[_0x648a86(0xca)]),_0x13ad1a[_0x648a86(0xcb)]!==void 0x0&&(this[_0x648a86(0x222)]=_0x13ad1a[_0x648a86(0xcb)]),_0x13ad1a[_0x648a86(0x173)]!==void 0x0&&(this[_0x648a86(0x48e)]=_0x13ad1a[_0x648a86(0x173)]),_0x13ad1a['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x13ad1a['subUnitId']),_0x13ad1a['isHighlighted']!==void 0x0&&(this['_isHighlighted']=_0x13ad1a['isHighlighted']),this['transformByState']({'width':_0x13ad1a[_0x648a86(0x439)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2,'height':_0x13ad1a[_0x648a86(0x2ea)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2});}[_0x5671d9(0x23d)](_0x3dac2a){const _0x300786=_0x5671d9;let _0x312be1=this[_0x300786(0x145)]?_0x1af7f3['highlighted']:_0x1af7f3[_0x300786(0x2d3)];_0x1c3608[_0x300786(0x467)]['drawWith'](_0x3dac2a,{'radius':_0x287478['ShapeDefaultConfig'][_0x300786(0xd9)],'fill':_0x312be1[_0x300786(0x3c6)],'stroke':_0x312be1[_0x300786(0x193)],'strokeWidth':_0x312be1[_0x300786(0x3fa)],'evented':!0x0});}};let _0x53dc4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x197577,_0x56faa0,_0xf71377,_0x527fcd){const _0x9f791b=_0x5671d9;super(),this['_context']=_0x197577,this['_renderManagerService']=_0x56faa0,this[_0x9f791b(0x306)]=_0xf71377,this[_0x9f791b(0xd0)]=_0x527fcd,_0x20dccc(this,'_connectionSiteObjects',[]),_0x20dccc(this,'_activeTargetShapeId',null),_0x20dccc(this,_0x9f791b(0x13e),-0x1),_0x20dccc(this,_0x9f791b(0x291),null),_0x20dccc(this,_0x9f791b(0x48e),''),_0x20dccc(this,_0x9f791b(0x1f0),''),_0x20dccc(this,_0x9f791b(0x280),null);}[_0x5671d9(0x359)](_0x2b2ae0,_0x921086,_0x4202d9,_0x1751fb){const _0xe8756b=_0x5671d9;this[_0xe8756b(0x291)]=_0x2b2ae0,this[_0xe8756b(0x48e)]=_0x921086,this['_subUnitId']=_0x4202d9,this['_draggingConnectorId']=_0x1751fb;}[_0x5671d9(0x1c7)](_0x5b2992){const _0x484f20=_0x5671d9;if(!this[_0x484f20(0x291)])return null;let _0x27671b=this[_0x484f20(0xf9)](_0x5b2992);return _0x27671b?(this[_0x484f20(0x101)]!==_0x27671b[_0x484f20(0x37d)]&&(this[_0x484f20(0x270)](),this[_0x484f20(0x3bf)](_0x27671b[_0x484f20(0x37d)],_0x27671b[_0x484f20(0xc9)]),this['_activeTargetShapeId']=_0x27671b[_0x484f20(0x37d)]),this[_0x484f20(0x2d6)](_0x5b2992)):(this['_activeTargetShapeId']!==null&&(this[_0x484f20(0x270)](),this[_0x484f20(0x101)]=null),null);}[_0x5671d9(0x463)](){const _0x569a45=_0x5671d9;this[_0x569a45(0x270)](),this[_0x569a45(0x291)]=null,this[_0x569a45(0x101)]=null,this[_0x569a45(0x13e)]=-0x1,this[_0x569a45(0x280)]=null;}[_0x5671d9(0x2c5)](){const _0x5eaf48=_0x5671d9;return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x5eaf48(0x101)],'cxnIndex':this[_0x5eaf48(0x13e)]};}[_0x5671d9(0xf9)](_0x139f1f){const _0x30acb8=_0x5671d9;let _0x499a12=this['_drawingManagerService'][_0x30acb8(0x24f)](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)]);for(let _0x29d87f of Object['keys'](_0x499a12)){if(_0x29d87f===this['_draggingConnectorId']||_0x499a12[_0x29d87f][_0x30acb8(0x3d6)]!==_0x383631[_0x30acb8(0x286)][_0x30acb8(0x456)])continue;let _0x402fd8=this['_sheetsShapeService']['getShapeModel'](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)],_0x29d87f);if(!_0x402fd8||(0x0,_0x287478[_0x30acb8(0x4d2)])(_0x402fd8['getShapeType']())||_0x402fd8[_0x30acb8(0x475)]()['length']===0x0||!this['_currentScene'])continue;let _0x101c67=(0x0,_0x279593[_0x30acb8(0x201)])({'unitId':this[_0x30acb8(0x48e)],'subUnitId':this[_0x30acb8(0x1f0)],'drawingId':_0x29d87f}),_0x4667b0=this['_currentScene'][_0x30acb8(0x327)](_0x101c67);if(!_0x4667b0)continue;let {left:_0x114ed9,top:_0x13e908,width:_0x3d04b0,height:_0x54978c}=_0x4667b0[_0x30acb8(0x275)](),_0x56bc61=_0x114ed9+_0x3d04b0/0x2,_0x11b14f=_0x13e908+_0x54978c/0x2,_0x58838e=_0x4667b0['transform']['getMatrix'](),_0x300d23=new _0x1c3608['Transform']([_0x58838e[0x0],_0x58838e[0x1],_0x58838e[0x2],_0x58838e[0x3],_0x56bc61,_0x11b14f]),_0x418d87=_0x4667b0[_0x30acb8(0x38f)](),_0x387d42=(_0x4667b0[_0x30acb8(0x2e8)]&&(_0x418d87==null?void 0x0:_0x418d87[_0x30acb8(0x12f)])===_0x1c3608[_0x30acb8(0x3dd)][_0x30acb8(0x480)]?_0x418d87[_0x30acb8(0xc8)][_0x30acb8(0x449)](_0x300d23):_0x300d23)[_0x30acb8(0x13f)]()[_0x30acb8(0x1ca)](_0x139f1f),_0x4c9eaa=_0x3d04b0/0x2,_0x5a05fe=_0x54978c/0x2;if(_0x387d42['x']>=-_0x4c9eaa-0x5&&_0x387d42['x']<=_0x4c9eaa+0x5&&_0x387d42['y']>=-_0x5a05fe-0x5&&_0x387d42['y']<=_0x5a05fe+0x5)return{'shapeId':_0x29d87f,'shapeModel':_0x402fd8};}return null;}[_0x5671d9(0x3bf)](_0x334a92,_0x1995cf){const _0x5d385e=_0x5671d9;if(!this[_0x5d385e(0x291)])return;let _0x2d1120=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'drawingId':_0x334a92}),_0x4a1ca1=this['_currentScene']['getObjectIncludeInGroup'](_0x2d1120);if(!_0x4a1ca1)return;let {left:_0x3fa183,top:_0x271dc7,width:_0x767311,height:_0x18779e}=_0x4a1ca1[_0x5d385e(0x275)](),_0xc680cc=_0x3fa183+_0x767311/0x2,_0x55ec2b=_0x271dc7+_0x18779e/0x2,_0x872c35=_0x4a1ca1[_0x5d385e(0x2c6)]['getMatrix'](),_0x235de2=new _0x1c3608[(_0x5d385e(0xd2))]([_0x872c35[0x0],_0x872c35[0x1],_0x872c35[0x2],_0x872c35[0x3],_0xc680cc,_0x55ec2b]),_0x595b53=_0x4a1ca1[_0x5d385e(0x38f)](),_0x888d=_0x4a1ca1['isInGroup']&&(_0x595b53==null?void 0x0:_0x595b53[_0x5d385e(0x12f)])===_0x1c3608['RENDER_CLASS_TYPE'][_0x5d385e(0x480)]?_0x595b53[_0x5d385e(0xc8)]['multiply'](_0x235de2):_0x235de2;_0x1995cf['updateContext']({'width':_0x767311,'height':_0x18779e});let _0x4c235c=_0x1995cf[_0x5d385e(0x475)]();for(let _0xa553b2 of _0x4c235c){let _0x4ed581=_0xa553b2['x']-_0x767311/0x2,_0x47064f=_0xa553b2['y']-_0x18779e/0x2,_0x210cd5=_0x888d[_0x5d385e(0x1ca)]({'x':_0x4ed581,'y':_0x47064f}),_0xe25de0=_0x210cd5['x'],_0x46766f=_0x210cd5['y'],_0x24fcd8=new _0x177d9e(_0x5d385e(0x1b7)+_0x334a92+'-'+_0xa553b2[_0x5d385e(0x368)],{'left':_0xe25de0-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'top':_0x46766f-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'targetShapeId':_0x334a92,'cxnIndex':_0xa553b2[_0x5d385e(0x368)],'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'width':_0x287478['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)]*0x2,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5d385e(0x27e)](_0x24fcd8),this[_0x5d385e(0x291)][_0x5d385e(0x13d)](_0x24fcd8,_0x1c3608[_0x5d385e(0x28a)]+0x2);}}[_0x5671d9(0x2d6)](_0x54fe20){const _0x160a30=_0x5671d9;let _0x1090e1=null,_0x3471f6=0x1/0x0,_0x1cf5af=null;for(let _0x1eba13 of this['_connectionSiteObjects']){let _0x506fe0=_0x1eba13['left']+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x15d710=_0x1eba13[_0x160a30(0x1e1)]+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x114f0e=_0x54fe20['x']-_0x506fe0,_0x17d214=_0x54fe20['y']-_0x15d710,_0xe735b8=Math[_0x160a30(0x4b0)](_0x114f0e*_0x114f0e+_0x17d214*_0x17d214);_0xe735b8<_0x3471f6&&(_0x3471f6=_0xe735b8,_0x1090e1=_0x1eba13,_0x1cf5af={'x':_0x506fe0,'y':_0x15d710});}let _0x3c4800=_0x3471f6<=0xa&&_0x1090e1?_0x1090e1[_0x160a30(0x22b)]()[_0x160a30(0xcb)]:-0x1;if(_0x3c4800!==this[_0x160a30(0x13e)]){for(let _0x17fc13 of this[_0x160a30(0x139)]){let _0x2939d8=_0x17fc13[_0x160a30(0x22b)]();_0x17fc13[_0x160a30(0x401)](_0x2939d8[_0x160a30(0xcb)]===_0x3c4800);}this['_highlightedSiteIndex']=_0x3c4800;}if(_0x3471f6<=0xa&&_0x1090e1&&_0x1cf5af){let _0x1681de=_0x1090e1[_0x160a30(0x22b)](),_0x436ef8=this[_0x160a30(0x1b8)](_0x1681de[_0x160a30(0x37d)],_0x1681de[_0x160a30(0xcb)]);return{'shapeId':_0x1681de['shapeId'],'cxnIndex':_0x1681de[_0x160a30(0xcb)],'unitId':_0x1681de[_0x160a30(0x173)],'subUnitId':_0x1681de[_0x160a30(0x135)],'worldPoint':_0x1cf5af,'angle':_0x436ef8};}return null;}[_0x5671d9(0x1b8)](_0x58737c,_0x7c0725){const _0x3d4cd7=_0x5671d9;let _0xc7b0ef=this[_0x3d4cd7(0xd0)][_0x3d4cd7(0x3a8)](this[_0x3d4cd7(0x48e)],this[_0x3d4cd7(0x1f0)],_0x58737c);if(!_0xc7b0ef)return 0x0;let _0x1ddeb7=this['_drawingManagerService']['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x3d4cd7(0x1f0)],'drawingId':_0x58737c});if(!(_0x1ddeb7!=null&&_0x1ddeb7[_0x3d4cd7(0x2c6)]))return 0x0;let {width:_0x26838e=0x0,height:_0xf34b94=0x0,flipX:_0x3c8984=!0x1,flipY:_0x518bb9=!0x1}=_0x1ddeb7[_0x3d4cd7(0x2c6)];_0xc7b0ef['updateContext']({'width':_0x26838e,'height':_0xf34b94});let _0x5d3199=_0xc7b0ef[_0x3d4cd7(0x475)]()[_0x3d4cd7(0x3de)](_0x145625=>_0x145625[_0x3d4cd7(0x368)]===_0x7c0725);if(!_0x5d3199)return 0x0;let _0x592244=_0x5d3199[_0x3d4cd7(0x31b)]/0xea60;return _0x3c8984&&(_0x592244=0xb4-_0x592244),_0x518bb9&&(_0x592244=-_0x592244),_0x592244=(_0x592244%0x168+0x168)%0x168,_0x592244;}['_clearConnectionSites'](){const _0x1dde83=_0x5671d9;for(let _0x268c68 of this[_0x1dde83(0x139)])_0x268c68[_0x1dde83(0x39f)]();this[_0x1dde83(0x139)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x5671d9(0x39f)](){const _0x39f57d=_0x5671d9;this[_0x39f57d(0x270)](),super['dispose']();}};_0x53dc4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x279593[_0x5671d9(0xf1)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x53dc4d);let _0x544c39=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x41a7d0,_0x59536f,_0x25ffea,_0x487602,_0x1c6424){const _0x1f6cfe=_0x5671d9;super(),this[_0x1f6cfe(0x2eb)]=_0x41a7d0,this['_sheetClipboardService']=_0x59536f,this[_0x1f6cfe(0x239)]=_0x25ffea,this['_shapeService']=_0x487602,this[_0x1f6cfe(0x3fc)]=_0x1c6424,_0x20dccc(this,_0x1f6cfe(0x471),void 0x0),this[_0x1f6cfe(0x47e)](),this[_0x1f6cfe(0x19f)]();}get[_0x5671d9(0x12a)](){const _0x9fa314=_0x5671d9;return this[_0x9fa314(0x239)][_0x9fa314(0x486)]();}['_registerGroupFeaturePasteHook'](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2df379,fromSubUnitId:_0x71f489,toUnitId:_0x2f582f,toSubUnitId:_0x5c8d2a,idMap:_0x5587ef})=>{const _0x34e7f5=_0x43eb;let _0xc4a964=[],_0x5a5470=[];for(let [_0x4feeff,_0x32e0af]of _0x5587ef[_0x34e7f5(0x2f6)]()){let _0x9f5fed=this[_0x34e7f5(0xc5)]['getShapeModel'](_0x2df379,_0x71f489,_0x4feeff);if(!_0x9f5fed)continue;let _0x4593df=_0x9f5fed[_0x34e7f5(0x347)](),_0xba5e99=JSON[_0x34e7f5(0x342)](JSON['stringify'](_0x9f5fed[_0x34e7f5(0xe8)]()));if(_0xba5e99[_0x34e7f5(0x1a8)]){var _0x42c9d4,_0x3f880f;let _0x3ecd01=(_0x42c9d4=_0xba5e99[_0x34e7f5(0x1a8)]['from'])==null?void 0x0:_0x42c9d4[_0x34e7f5(0x37d)],_0x2e9c5e=(_0x3f880f=_0xba5e99['relation']['to'])==null?void 0x0:_0x3f880f['shapeId'],_0x9fb878=!_0x3ecd01||_0x5587ef[_0x34e7f5(0xf0)](_0x3ecd01),_0x529b61=!_0x2e9c5e||_0x5587ef[_0x34e7f5(0xf0)](_0x2e9c5e);_0x9fb878&&_0x3ecd01&&_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]?_0xba5e99['relation']['from']={..._0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)],'shapeId':_0x5587ef['get'](_0x3ecd01)}:_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]=void 0x0,_0x529b61&&_0x2e9c5e&&_0xba5e99['relation']['to']?_0xba5e99[_0x34e7f5(0x1a8)]['to']={..._0xba5e99[_0x34e7f5(0x1a8)]['to'],'shapeId':_0x5587ef[_0x34e7f5(0x4be)](_0x2e9c5e)}:_0xba5e99['relation']['to']=void 0x0;}_0xc4a964[_0x34e7f5(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af,'shapeType':_0x4593df,'shapeData':_0xba5e99}}),_0x5a5470[_0x34e7f5(0x27e)]({'id':_0x276c17[_0x34e7f5(0x394)]['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af}});}return{'redos':_0xc4a964,'undos':_0x5a5470};});}[_0x5671d9(0x47e)](){const _0x42f269=_0x5671d9;this[_0x42f269(0x252)](this[_0x42f269(0x21b)][_0x42f269(0x427)]({'id':_0x42f269(0x341),'onBeforeCopyFocusedObject':(_0x9ce0bf,_0x298d77,_0xde7316)=>{const _0xe3988a=_0x42f269;this[_0xe3988a(0x471)]=null;let _0x21cb61=this[_0xe3988a(0x12a)]['filter'](_0x5a9b4f=>_0x5a9b4f[_0xe3988a(0x3d6)]===_0x383631['DrawingTypeEnum'][_0xe3988a(0x456)]);return _0x21cb61[_0xe3988a(0x175)]!==0x0&&(this['_copyInfo']={'unitId':_0x9ce0bf,'subUnitId':_0x298d77,'copyType':_0xde7316,'drawings':_0x21cb61},!0x0);},'onBeforeCopy':(_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237)=>{const _0x3f12c6=_0x42f269;this[_0x3f12c6(0x471)]=null,this['_createCopyInfoByRange'](_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237);},'onPasteCells':(_0x7b27be,_0x456ccd,_0x3aa667,_0x4e8159)=>{const _0x55d193=_0x42f269;if(!_0x4e8159[_0x55d193(0x2f0)]||!_0x7b27be||!this[_0x55d193(0x471)])return{'redos':[],'undos':[]};let {pasteType:_0x23ea57}=_0x4e8159;return _0x23ea57===_0x261221[_0x55d193(0x45c)][_0x55d193(0x117)]?this['_generatePasteMutations'](_0x456ccd,this[_0x55d193(0x471)][_0x55d193(0x3e5)]===_0x261221[_0x55d193(0xdd)][_0x55d193(0x40d)]):{'redos':[],'undos':[]};}}));}[_0x5671d9(0x4c9)](_0x400021,_0x3ae6f7,_0x3900c0,_0x20eeb2){const _0x4e10f7=_0x5671d9;let _0x5c40ff=this[_0x4e10f7(0x2eb)][_0x4e10f7(0x1e8)](_0x400021,_0x3ae6f7);if(!_0x5c40ff)return;let _0x22b156=(0x0,_0x111c96[_0x4e10f7(0x4b2)])(_0x5c40ff,_0x3900c0);if(!_0x22b156)return;let {startX:_0x1a54c6,endX:_0x4bb575,startY:_0x515b68,endY:_0x1aece3}=_0x22b156,_0x38aa6f=this[_0x4e10f7(0x239)][_0x4e10f7(0x24f)](_0x400021,_0x3ae6f7),_0x4a7c56=[];for(let [_0x2594e7,_0x135134]of Object[_0x4e10f7(0x2f6)](_0x38aa6f)){if(_0x135134[_0x4e10f7(0x3d6)]!==_0x383631[_0x4e10f7(0x286)][_0x4e10f7(0x456)])continue;let {transform:_0x109107}=_0x135134;if(!_0x109107)continue;let {left:_0x491bcf=0x0,top:_0x4bdab6=0x0,width:_0x26bd3e=0x0,height:_0x5c02f3=0x0}=_0x109107;_0x1a54c6<=_0x491bcf&&_0x4bb575>=_0x491bcf+_0x26bd3e&&_0x515b68<=_0x4bdab6&&_0x1aece3>=_0x4bdab6+_0x5c02f3&&_0x4a7c56[_0x4e10f7(0x27e)](_0x135134);}_0x4a7c56['length']>0x0&&(this[_0x4e10f7(0x471)]={'unitId':_0x400021,'subUnitId':_0x3ae6f7,'copyType':_0x20eeb2,'copyRange':_0x3900c0,'drawings':_0x4a7c56});}['_generatePasteMutations'](_0x4bd10e,_0x5ab990){const _0x19801a=_0x5671d9;let {unitId:_0x48d52f,subUnitId:_0x3e92aa,range:_0xc0e3e6}=_0x4bd10e,_0x3e2a09=this[_0x19801a(0x2eb)]['getSkeleton'](_0x48d52f,_0x3e92aa);if(!_0x3e2a09)return{'redos':[],'undos':[]};let _0x15b15b=(0x0,_0x111c96['discreteRangeToRange'])(_0xc0e3e6),{unitId:_0x385bc7,subUnitId:_0x2ec5ca,copyRange:_0x13ec59,drawings:_0x23ca93}=this['_copyInfo'],_0x401c2b=this[_0x19801a(0x2eb)][_0x19801a(0x1e8)](_0x385bc7,_0x2ec5ca);if(!_0x401c2b)return{'redos':[],'undos':[]};let _0x2433b5;if(!_0x13ec59){let _0x1355ef=0x1/0x0,_0x59b8e2=0x1/0x0;for(let _0x4d4e43 of _0x23ca93){let {left:_0x8f1674=0x0,top:_0x151779=0x0}=_0x4d4e43[_0x19801a(0x2c6)]??{};_0x8f1674<_0x1355ef&&(_0x1355ef=_0x8f1674),_0x151779<_0x59b8e2&&(_0x59b8e2=_0x151779);}_0x1355ef!==0x1/0x0&&_0x59b8e2!==0x1/0x0&&(_0x2433b5={'left':_0x1355ef,'top':_0x59b8e2});}let _0x1cf874=new Map();if(!_0x5ab990){for(let _0x26ab14 of _0x23ca93)_0x1cf874[_0x19801a(0x32d)](_0x26ab14[_0x19801a(0x493)],(0x0,_0x383631[_0x19801a(0x29d)])());}let _0x3480b0=[],_0x2b249b=[];for(let _0xafce52 of _0x23ca93){let {drawingId:_0x398bbf,transform:_0x2f7e33,sheetTransform:_0x36076a}=_0xafce52;if(!_0x2f7e33||!_0x36076a)continue;let _0x3f7cb0=this[_0x19801a(0x4bf)]({'transform':_0x2f7e33,'sheetTransform':_0x36076a},{'skeleton':_0x401c2b,'range':_0x13ec59},{'skeleton':_0x3e2a09,'range':_0x15b15b},_0x2433b5);if(_0x5ab990){let {redos:_0x516331,undos:_0x39c927}=this[_0x19801a(0x40f)]({'fromUnitId':_0x385bc7,'fromSubUnitId':_0x2ec5ca,'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0});_0x3480b0[_0x19801a(0x27e)](..._0x516331),_0x2b249b['push'](..._0x39c927);continue;}let {redos:_0x2ead9e,undos:_0x2ef49d}=this[_0x19801a(0x1a9)]({'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0,'newDrawingId':_0x1cf874[_0x19801a(0x4be)](_0x398bbf),'idMap':_0x1cf874});_0x3480b0['push'](..._0x2ead9e),_0x2b249b['push'](..._0x2ef49d);}return{'redos':_0x3480b0,'undos':_0x2b249b};}[_0x5671d9(0x40f)](_0x485914){const _0x2f274d=_0x5671d9;let {fromUnitId:_0x11b1f8,fromSubUnitId:_0x3c339c,toUnitId:_0x493ae6,toSubUnitId:_0x53588e,drawing:_0xf1dac5,newTransforms:_0x1967d6}=_0x485914,_0x5e6769={..._0xf1dac5,'unitId':_0x493ae6,'subUnitId':_0x53588e,'transform':_0x1967d6['transform'],'sheetTransform':_0x1967d6[_0x2f274d(0x1e4)]};if(_0x493ae6===_0x11b1f8&&_0x53588e===_0x3c339c){let {redo:_0x2a6ffa,undo:_0x49685c,objects:_0x1f9ea3}=this['_sheetDrawingService'][_0x2f274d(0x437)]([_0x5e6769]);return{'redos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x130)],'op':_0x2a6ffa,'objects':_0x1f9ea3}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x130)],'op':_0x49685c,'objects':_0x1f9ea3}}]};}{let _0x392f5f=this['_sheetDrawingService'][_0x2f274d(0x3db)]([_0xf1dac5]),_0xc60fad=this[_0x2f274d(0x239)]['getBatchAddOp']([_0x5e6769]),_0x4252af=this[_0x2f274d(0xc5)][_0x2f274d(0x3a8)](_0xf1dac5[_0x2f274d(0x173)],_0xf1dac5[_0x2f274d(0x135)],_0xf1dac5[_0x2f274d(0x493)]);if(!_0x4252af)return{'redos':[],'undos':[]};let _0x14ea09=_0x4252af[_0x2f274d(0x347)](),_0x487727=JSON[_0x2f274d(0x342)](JSON[_0x2f274d(0x452)](_0x4252af[_0x2f274d(0xe8)]()));return{'redos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x2f9)],'op':_0x392f5f[_0x2f274d(0x34e)],'objects':_0x392f5f['objects']}},{'id':_0x276c17['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)]['INSERT'],'op':_0xc60fad[_0x2f274d(0x34e)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x4a2)],'op':_0x392f5f[_0x2f274d(0x3dc)],'objects':_0x392f5f[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x2f9)],'op':_0xc60fad[_0x2f274d(0x3dc)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x394)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}}]};}}[_0x5671d9(0x1a9)](_0x526687){const _0x102710=_0x5671d9;let {toUnitId:_0x5710c3,toSubUnitId:_0x565730,drawing:_0xb19c3a,newTransforms:_0x5c9d52,newDrawingId:_0x18efdd,idMap:_0x26ffca}=_0x526687,_0x2ac8c1={..._0xb19c3a,'unitId':_0x5710c3,'subUnitId':_0x565730,'drawingId':_0x18efdd,'transform':_0x5c9d52[_0x102710(0x2c6)],'sheetTransform':_0x5c9d52[_0x102710(0x1e4)]},{redo:_0x3394d8,undo:_0x55d554,objects:_0x5e81cb}=this[_0x102710(0x239)][_0x102710(0x329)]([_0x2ac8c1]),_0x5a13fb=this[_0x102710(0xc5)][_0x102710(0x3a8)](_0xb19c3a[_0x102710(0x173)],_0xb19c3a[_0x102710(0x135)],_0xb19c3a[_0x102710(0x493)]);if(!_0x5a13fb)return{'redos':[],'undos':[]};let _0x1ab8ff=_0x5a13fb[_0x102710(0x347)](),_0x2f4b4c=JSON[_0x102710(0x342)](JSON[_0x102710(0x452)](_0x5a13fb[_0x102710(0xe8)]()));if(_0x2f4b4c[_0x102710(0x1a8)]){var _0x5b33f7,_0x539f6e;let _0x372494=(_0x5b33f7=_0x2f4b4c[_0x102710(0x1a8)]['from'])==null?void 0x0:_0x5b33f7['shapeId'],_0x294aa6=(_0x539f6e=_0x2f4b4c[_0x102710(0x1a8)]['to'])==null?void 0x0:_0x539f6e['shapeId'],_0x2b087a=!_0x372494||_0x26ffca[_0x102710(0xf0)](_0x372494),_0x11b660=!_0x294aa6||_0x26ffca['has'](_0x294aa6);_0x2b087a&&_0x372494&&_0x2f4b4c[_0x102710(0x1a8)]['from']?_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]={..._0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)],'shapeId':_0x26ffca['get'](_0x372494)}:_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]=void 0x0,_0x11b660&&_0x294aa6&&_0x2f4b4c[_0x102710(0x1a8)]['to']?_0x2f4b4c['relation']['to']={..._0x2f4b4c[_0x102710(0x1a8)]['to'],'shapeId':_0x26ffca['get'](_0x294aa6)}:_0x2f4b4c['relation']['to']=void 0x0;}return{'redos':[{'id':_0x72b203[_0x102710(0x284)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203['DrawingApplyType'][_0x102710(0x4a2)],'op':_0x3394d8,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x215)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd,'shapeType':_0x1ab8ff,'shapeData':_0x2f4b4c}}],'undos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203[_0x102710(0x1e6)][_0x102710(0x2f9)],'op':_0x55d554,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x394)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd}}]};}[_0x5671d9(0x4bf)](_0x5d0b85,_0x1c439e,_0xea8b94,_0x4839d1){const _0x1f81d6=_0x5671d9;let {range:_0x247b25,skeleton:_0x3bfd63}=_0x1c439e,{range:_0x4e612a,skeleton:_0x395ab4}=_0xea8b94,{transform:_0x31bac2,sheetTransform:_0x27fd76}=_0x5d0b85,_0xa18c5d={..._0x31bac2};if(_0x247b25){let _0x1d7d9f=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x3bfd63,_0x247b25),_0x21cb32=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x1d7d9f&&_0x21cb32){let _0x2193fb=_0x21cb32['startX']-_0x1d7d9f[_0x1f81d6(0x462)],_0x41392b=_0x21cb32['startY']-_0x1d7d9f[_0x1f81d6(0x14e)];_0xa18c5d['left']=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)+_0x2193fb,_0xa18c5d['top']=(_0xa18c5d['top']??0x0)+_0x41392b;}}else{let _0x3f5ce4=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x4839d1&&_0x3f5ce4){let _0x5390a3=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)-_0x4839d1[_0x1f81d6(0x32c)],_0x2c7502=(_0xa18c5d['top']??0x0)-_0x4839d1[_0x1f81d6(0x1e1)];_0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4['startX']+_0x5390a3,_0xa18c5d[_0x1f81d6(0x1e1)]=_0x3f5ce4[_0x1f81d6(0x14e)]+_0x2c7502;}else _0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x462)],_0xa18c5d['top']=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x14e)];}return{'transform':_0xa18c5d,'sheetTransform':(0x0,_0x72b203['transformToDrawingPosition'])(_0xa18c5d,_0x395ab4)??_0x27fd76};}};_0x544c39=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x382)])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221['ISheetClipboardService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x44e77f[_0x5671d9(0x2cf)]))],_0x544c39);var _0x1a515c=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x262401,_0x55a03c){const _0x2cd562=_0x5671d9;super(_0x262401,_0x55a03c),_0x20dccc(this,_0x2cd562(0x397),null),_0x20dccc(this,_0x2cd562(0x2cd),null),_0x20dccc(this,_0x2cd562(0x48e),null),_0x20dccc(this,_0x2cd562(0x1f0),null),_0x20dccc(this,_0x2cd562(0x246),!0x1),_0x55a03c&&this[_0x2cd562(0x172)](_0x55a03c);}[_0x5671d9(0x4cd)](){const _0x21870a=_0x5671d9;return{'unitId':this[_0x21870a(0x48e)],'subUnitId':this[_0x21870a(0x1f0)],'drawingId':this[_0x21870a(0x397)]};}[_0x5671d9(0x172)](_0x5bceb9){const _0x5e4a4f=_0x5671d9;_0x5bceb9['shapeId']!==void 0x0&&(this[_0x5e4a4f(0x397)]=_0x5bceb9['shapeId']),_0x5bceb9[_0x5e4a4f(0x173)]!==void 0x0&&(this['_unitId']=_0x5bceb9['unitId']),_0x5bceb9[_0x5e4a4f(0x135)]!==void 0x0&&(this[_0x5e4a4f(0x1f0)]=_0x5bceb9[_0x5e4a4f(0x135)]),_0x5bceb9[_0x5e4a4f(0x1a5)]!==void 0x0&&(this[_0x5e4a4f(0x246)]=_0x5bceb9[_0x5e4a4f(0x1a5)]),this[_0x5e4a4f(0x315)]({'width':_0x5bceb9[_0x5e4a4f(0x439)],'height':_0x5bceb9['height']});}['_draw'](_0x25812e){const _0x71aff2=_0x5671d9;_0x1c3608[_0x71aff2(0x467)][_0x71aff2(0xda)](_0x25812e,{'radius':_0x287478['ShapeDefaultConfig'][_0x71aff2(0xd9)],'fill':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2d7)],'stroke':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x389)],'strokeWidth':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2c9)],'evented':!0x0});}};let _0x2d0bb9=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4bf157,_0x46b19f,_0x46e1a4,_0x5bb026,_0x4bb6b7,_0x1d2704,_0x3e3b52,_0x1a440c){const _0x16d024=_0x5671d9;super(),this[_0x16d024(0x4a5)]=_0x4bf157,this[_0x16d024(0x39a)]=_0x46b19f,this[_0x16d024(0x42d)]=_0x46e1a4,this['_drawingManagerService']=_0x5bb026,this[_0x16d024(0x434)]=_0x4bb6b7,this[_0x16d024(0xd0)]=_0x1d2704,this[_0x16d024(0x100)]=_0x3e3b52,this['_sheetBasicShapeConnectionPointController']=_0x1a440c,_0x20dccc(this,_0x16d024(0x166),void 0x0),_0x20dccc(this,_0x16d024(0x48e),void 0x0),_0x20dccc(this,_0x16d024(0x1f0),void 0x0),_0x20dccc(this,_0x16d024(0x1a1),[]),_0x20dccc(this,_0x16d024(0x209),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,'_isConnecting',!0x1),_0x20dccc(this,'_isDrawingShapePointDown',!0x1),_0x20dccc(this,'_hasReset',!0x1),_0x20dccc(this,_0x16d024(0x16f),void 0x0),_0x20dccc(this,'_cxtHandlerPointerUp',void 0x0),_0x20dccc(this,_0x16d024(0x19d),null),this[_0x16d024(0x3b9)]();}['_initialize'](){const _0x10b0ec=_0x5671d9;this[_0x10b0ec(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x1c8)](){const _0x541707=_0x5671d9;if(!this[_0x541707(0x48e)]||!this[_0x541707(0x1f0)]||!this[_0x541707(0x166)])return;let _0x2da25e={'unitId':this['_unitId'],'subUnitId':this[_0x541707(0x1f0)],'drawingId':this['_activeShapeId']},{transform:_0x33c3d4}=this[_0x541707(0x306)][_0x541707(0x14d)](_0x2da25e);if(_0x33c3d4)return{'left':_0x33c3d4['left']||0x0,'top':_0x33c3d4['top']||0x0,'width':_0x33c3d4[_0x541707(0x439)]||0x0,'height':_0x33c3d4[_0x541707(0x2ea)]||0x0,'flipX':_0x33c3d4[_0x541707(0x160)]||!0x1,'flipY':_0x33c3d4[_0x541707(0x481)]||!0x1,'angle':_0x33c3d4['angle']};}[_0x5671d9(0x131)](){const _0x36366d=_0x5671d9;if(this[_0x36366d(0x48e)]===void 0x0||this[_0x36366d(0x1f0)]===void 0x0||this[_0x36366d(0x166)]===void 0x0)return;let _0x14ec66=this[_0x36366d(0x42d)][_0x36366d(0x1fa)](this[_0x36366d(0x48e)]);if(!_0x14ec66||!_0x14ec66[_0x36366d(0x438)](_0x261221[_0x36366d(0x3fb)])['getCurrentSkeleton']())return;let {scene:_0x64b078}=_0x14ec66,_0x2217b4=this['_getDrawingRect']();if(!_0x2217b4)return;let _0x4c7a07=this[_0x36366d(0xd0)]['getShapeModel'](this[_0x36366d(0x48e)],this[_0x36366d(0x1f0)],this[_0x36366d(0x166)]);if(!_0x4c7a07||!(0x0,_0x287478[_0x36366d(0x4d2)])(_0x4c7a07[_0x36366d(0x347)]()))return;let _0x3a2c60=_0x4c7a07[_0x36366d(0x4c4)]();if(_0x3a2c60[_0x36366d(0x175)]<0x2)return;let _0x11172a=new _0x287478[(_0x36366d(0x2ec))](_0x2217b4),_0x112d81=_0x3a2c60[0x0],_0x2007df=_0x3a2c60[_0x3a2c60[_0x36366d(0x175)]-0x1],_0x353729=_0x11172a[_0x36366d(0xf7)](_0x112d81),_0x542d1e=_0x11172a[_0x36366d(0xf7)](_0x2007df);this['_addShapeConnectorHandlerObject'](_0x64b078,{..._0x353729},!0x0),this[_0x36366d(0x11d)](_0x64b078,{..._0x542d1e},!0x1);}[_0x5671d9(0x11d)](_0x315c39,_0x4eff18,_0x1202a1){const _0x285f40=_0x5671d9;if(this[_0x285f40(0x166)]===void 0x0||this[_0x285f40(0x48e)]===void 0x0||this[_0x285f40(0x1f0)]===void 0x0)return;let _0x1835db=_0x285f40(0x10b)+this[_0x285f40(0x48e)]+'-'+this[_0x285f40(0x1f0)]+'-'+this['_activeShapeId']+'-'+(_0x1202a1?_0x285f40(0x377):_0x285f40(0x2d1)),_0x595867=_0x315c39['getObjectIncludeInGroup'](_0x1835db);if(_0x595867){_0x595867[_0x285f40(0x315)]({'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)]['cxnPointRadius'],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)]});return;}let _0x27611a=new _0x1a515c(_0x1835db,{'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'shapeId':this[_0x285f40(0x166)],'unitId':this[_0x285f40(0x48e)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x1202a1,'width':_0x287478['ShapeDefaultConfig'][_0x285f40(0xd9)]*0x2,'height':_0x287478[_0x285f40(0x10a)]['cxnPointRadius']*0x2,'zIndex':_0x1c3608[_0x285f40(0x28a)]+0x1,'evented':!0x0});this[_0x285f40(0x1a1)][_0x285f40(0x27e)](_0x27611a),this[_0x285f40(0x103)](_0x27611a,_0x315c39,_0x1202a1),_0x315c39[_0x285f40(0x13d)](_0x27611a,_0x1c3608[_0x285f40(0x28a)]+0x1);}[_0x5671d9(0x4a4)](_0x51adb7,_0xe620f0){const _0x3e3d31=_0x5671d9;var _0x4e1681;let _0x287866={'x':0x0,'y':0x0};if(!_0x51adb7||!_0xe620f0)return _0x287866;let _0x439b1d=this['_renderManagerService'][_0x3e3d31(0x1fa)](_0x51adb7);if(!_0x439b1d||!_0x439b1d[_0x3e3d31(0x438)](_0x261221[_0x3e3d31(0x3fb)])[_0x3e3d31(0x1e8)](_0xe620f0))return _0x287866;let _0x2bebaf=_0x439b1d[_0x3e3d31(0x438)](_0x261221['SheetScrollManagerService']),_0x9fc61f=_0x2bebaf==null?void 0x0:_0x2bebaf[_0x3e3d31(0x214)]();if(!_0x9fc61f)return _0x287866;let _0x2ebf3e=(_0x4e1681=this['_univerInstanceService'][_0x3e3d31(0x147)](_0x51adb7))==null?void 0x0:_0x4e1681[_0x3e3d31(0x13a)](_0xe620f0);if(!_0x2ebf3e)return _0x287866;let _0x4686c4=(0x0,_0x261221[_0x3e3d31(0x362)])(_0x9fc61f['sheetViewStartRow'],_0x9fc61f[_0x3e3d31(0x30a)],_0x439b1d[_0x3e3d31(0x333)],_0x2ebf3e);return _0x4686c4?{'x':_0x4686c4[_0x3e3d31(0x2d8)],'y':_0x4686c4['viewportScrollY']}:_0x287866;}[_0x5671d9(0x36c)](_0x122c9f,_0xfb8fe9){const _0x35992d=_0x5671d9;var _0x42746f;let _0x5c57c5=(_0x42746f=this[_0x35992d(0x434)]['getUnit'](_0x122c9f))==null?void 0x0:_0x42746f['getSheetBySheetId'](_0xfb8fe9);return(_0x5c57c5==null?void 0x0:_0x5c57c5[_0x35992d(0x1e5)]())??0x1;}[_0x5671d9(0x473)](_0x113fd7,_0x174bea,_0x1662c0,_0x19c660,_0x1ce79f){const _0x291d11=_0x5671d9;this['_cxtHandlerPointerMove'][_0x291d11(0x165)](),this[_0x291d11(0x1b6)][_0x291d11(0x165)](),this[_0x291d11(0x100)]['refreshAdjustControls']();let _0x273956=this[_0x291d11(0x19d)];this['_sheetBasicShapeConnectionPointController'][_0x291d11(0x463)]();let _0x214d0a=this[_0x291d11(0x4a4)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x7b9528=this[_0x291d11(0x36c)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x4bcf35={'x':_0x1662c0['offsetX']/_0x7b9528+_0x214d0a['x'],'y':_0x1662c0['offsetY']/_0x7b9528+_0x214d0a['y']},_0x20acd4=_0x273956?_0x273956[_0x291d11(0x2c3)]:_0x4bcf35,_0x59d8b1=_0x19c660?this[_0x291d11(0x194)]['getEndConnectInfo']():this[_0x291d11(0x194)][_0x291d11(0x39c)](),_0x149437=this[_0x291d11(0x194)]['getShapeType']();_0x59d8b1?this['_handleConnectedEndpointPointerUp'](_0x59d8b1,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f):this[_0x291d11(0x142)](_0x174bea,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f,_0x149437),this['_isConnecting']=!0x1,this['_hasReset']=!0x1,this['_currentConnectionTarget']=null,_0x113fd7[_0x291d11(0x366)]();}[_0x5671d9(0x142)](_0x23f8ba,_0x56352e,_0x53e922,_0x3b6b72,_0x2b4c02,_0x3df8a0){const _0x4d352e=_0x5671d9;let _0x37deb2=_0x3df8a0===_0x287478['ShapeTypeEnum'][_0x4d352e(0x29f)]||_0x3df8a0===_0x287478[_0x4d352e(0x384)][_0x4d352e(0x3c4)],_0x43e60e=_0x53e922?_0x56352e:_0x23f8ba,_0x98198d=_0x53e922?_0x23f8ba:_0x56352e,_0x31b3a1=this[_0x4d352e(0x194)]['getConnectorLinePoints'](),_0x3db85e=this[_0x4d352e(0x194)][_0x4d352e(0x347)](),_0xbf883a=(0x0,_0x287478[_0x4d352e(0x2b1)])(_0x3db85e),_0x409951=_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x3fe)](_0x31b3a1,_0xbf883a),_0x42bccd=_0x37deb2?_0x287478[_0x4d352e(0x2ec)]['computeStraightConnectorLayout'](_0x43e60e,_0x98198d):_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x162)](_0x23f8ba,_0x56352e,_0x53e922,_0x409951);_0x3b6b72?this[_0x4d352e(0x26b)](_0x42bccd,_0x3b6b72,_0x53e922,_0x2b4c02):this[_0x4d352e(0x21d)](_0x42bccd,_0x2b4c02);}[_0x5671d9(0x2fd)](_0x422dac,_0x505a91,_0x21f065,_0x54f722,_0x1fb2b8){const _0x209c45=_0x5671d9;let _0x56cc30=this[_0x209c45(0x334)](_0x422dac);if(!_0x56cc30)return;let _0x16b2ac=_0x54f722?_0x54f722['angle']:this[_0x209c45(0x174)](_0x56cc30[_0x209c45(0x32b)],_0x505a91),_0x1593a8;if(_0x54f722){let _0x2c53f1=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x54f722[_0x209c45(0x173)],'subUnitId':_0x54f722[_0x209c45(0x135)],'drawingId':_0x54f722[_0x209c45(0x37d)]});if(_0x2c53f1!=null&&_0x2c53f1[_0x209c45(0x2c6)]){let {left:_0x234e9c=0x0,top:_0x3416b7=0x0,width:_0x126794=0x0,height:_0x7750d5=0x0,angle:_0x3d642d}=_0x2c53f1[_0x209c45(0x2c6)];_0x1593a8=(0x0,_0x287478[_0x209c45(0x27b)])({'left':_0x234e9c,'top':_0x3416b7,'width':_0x126794,'height':_0x7750d5},_0x3d642d||0x0);}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};let _0x30b82d={'point':_0x505a91,'angle':_0x16b2ac,'bounds':_0x1593a8},_0x18f935=_0x21f065?_0x30b82d:_0x56cc30,_0x1e91e2=_0x21f065?_0x56cc30:_0x30b82d,_0xedbfb8=this['_activeShapeModel'][_0x209c45(0x347)](),_0x593126=(0x0,_0x287478[_0x209c45(0x314)])(_0x18f935,_0x1e91e2,_0xedbfb8);this['_activeShapeModel'][_0x209c45(0x1eb)]();let _0x18bea2=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x593126,_0xedbfb8);_0x54f722?this[_0x209c45(0x16e)](_0x18bea2,_0x54f722,_0x422dac,_0x21f065,_0x1fb2b8):this[_0x209c45(0x2bb)](_0x18bea2,_0x422dac,_0x21f065,_0x1fb2b8);}[_0x5671d9(0x26b)](_0x57017b,_0x47268a,_0x2e7712,_0x36960d){const _0x363dbc=_0x5671d9;let _0x23715c=this['_activeShapeModel']['getShapeData']()['relation'],_0x231d70={..._0x23715c},_0x247819={'shapeId':_0x47268a['shapeId'],'cxnIndex':_0x47268a['cxnIndex']};_0x2e7712?_0x231d70['from']=_0x247819:_0x231d70['to']=_0x247819;let _0x2cd0c3=this[_0x363dbc(0x194)][_0x363dbc(0x347)](),_0x577150=(0x0,_0x287478[_0x363dbc(0x11b)])(_0x57017b[_0x363dbc(0x3d2)],_0x2cd0c3),_0x26a190={'unitId':this[_0x363dbc(0x48e)],'subUnitId':this[_0x363dbc(0x1f0)],'connectorShapeId':this[_0x363dbc(0x166)],'width':_0x57017b['worldRect'][_0x363dbc(0x439)],'height':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x2ea)],'left':_0x57017b['worldRect']['left'],'top':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x1e1)],'flipX':_0x57017b[_0x363dbc(0x42b)]['flipX']||!0x1,'flipY':_0x57017b[_0x363dbc(0x42b)]['flipY']||!0x1,'newAdjustValues':_0x577150[_0x363dbc(0x16c)],'oldAdjustValues':_0x36960d,'oldRelation':_0x23715c,'newRelation':_0x231d70,'newLineType':_0x577150[_0x363dbc(0x1f2)],'oldLineType':_0x2cd0c3};this[_0x363dbc(0x39a)][_0x363dbc(0x1f9)](_0x276c17[_0x363dbc(0x3ea)]['id'],_0x26a190);}['_executeResizeCommand'](_0x4dd1b,_0x4262fa){const _0x2a9e13=_0x5671d9;let _0x2b7205=this[_0x2a9e13(0x194)][_0x2a9e13(0x347)](),_0x1a76e2=(0x0,_0x287478[_0x2a9e13(0x11b)])(_0x4dd1b[_0x2a9e13(0x3d2)],_0x2b7205),_0x373afa={'unitId':this['_unitId'],'subUnitId':this[_0x2a9e13(0x1f0)],'shapeId':this[_0x2a9e13(0x166)],'width':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x439)],'height':_0x4dd1b['worldRect'][_0x2a9e13(0x2ea)],'left':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x32c)],'top':_0x4dd1b['worldRect'][_0x2a9e13(0x1e1)],'flipX':_0x4dd1b['worldRect'][_0x2a9e13(0x160)]||!0x1,'flipY':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x481)]||!0x1,'angle':_0x4dd1b['worldRect'][_0x2a9e13(0x46e)]||0x0,'newAdjustValues':_0x1a76e2[_0x2a9e13(0x16c)],'oldAdjustValues':_0x4262fa,'newLineType':_0x1a76e2[_0x2a9e13(0x1f2)],'oldLineType':_0x2b7205};this[_0x2a9e13(0x39a)][_0x2a9e13(0x1f9)](_0x276c17['UpdateLineShapeResizeCommand']['id'],_0x373afa);}[_0x5671d9(0x16e)](_0xcc5509,_0x4a4af2,_0x457d33,_0x17461a,_0xcf45af){const _0x86866b=_0x5671d9;let _0x3c3c54=this[_0x86866b(0x194)][_0x86866b(0xe8)]()['relation'],_0x338617={..._0x3c3c54},_0x38a097={'shapeId':_0x4a4af2[_0x86866b(0x37d)],'cxnIndex':_0x4a4af2[_0x86866b(0xcb)]};_0x17461a?(_0x338617['from']=_0x38a097,_0x338617['to']=_0x457d33):(_0x338617[_0x86866b(0x2c0)]=_0x457d33,_0x338617['to']=_0x38a097);let _0x3763f1={'unitId':this[_0x86866b(0x48e)],'subUnitId':this[_0x86866b(0x1f0)],'connectorShapeId':this[_0x86866b(0x166)],'width':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x439)],'height':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x2ea)],'left':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x32c)],'top':_0xcc5509['worldRect'][_0x86866b(0x1e1)],'flipX':_0xcc5509[_0x86866b(0x42b)]['flipX']||!0x1,'flipY':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x481)]||!0x1,'oldAdjustValues':_0xcf45af,'newAdjustValues':_0xcc5509[_0x86866b(0x16c)],'newLineType':_0xcc5509[_0x86866b(0x1f2)],'rotation':_0xcc5509[_0x86866b(0x374)],'oldRelation':_0x3c3c54,'newRelation':_0x338617};this[_0x86866b(0x39a)][_0x86866b(0x1f9)](_0x276c17['UpdateConnectorRelationCommand']['id'],_0x3763f1);}[_0x5671d9(0x2bb)](_0x488a9a,_0x2ff61b,_0x2a53e5,_0x4dff4e){const _0x35cb0b=_0x5671d9;let _0x162f07=this[_0x35cb0b(0x194)][_0x35cb0b(0xe8)]()[_0x35cb0b(0x1a8)],_0x48dc3c={};_0x2a53e5?(_0x48dc3c['to']=_0x2ff61b,_0x48dc3c[_0x35cb0b(0x2c0)]=void 0x0):(_0x48dc3c[_0x35cb0b(0x2c0)]=_0x2ff61b,_0x48dc3c['to']=void 0x0);let _0x4d1bb2={'unitId':this[_0x35cb0b(0x48e)],'subUnitId':this[_0x35cb0b(0x1f0)],'connectorShapeId':this[_0x35cb0b(0x166)],'width':_0x488a9a['worldRect'][_0x35cb0b(0x439)],'height':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x2ea)],'left':_0x488a9a[_0x35cb0b(0x42b)]['left'],'top':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x1e1)],'flipX':_0x488a9a[_0x35cb0b(0x42b)]['flipX']||!0x1,'flipY':_0x488a9a['worldRect'][_0x35cb0b(0x481)]||!0x1,'oldAdjustValues':_0x4dff4e,'newAdjustValues':_0x488a9a['adjustValues'],'newLineType':_0x488a9a[_0x35cb0b(0x1f2)],'rotation':_0x488a9a['rotation'],'oldRelation':_0x162f07,'newRelation':_0x48dc3c};this[_0x35cb0b(0x39a)]['executeCommand'](_0x276c17[_0x35cb0b(0x3ea)]['id'],_0x4d1bb2);}[_0x5671d9(0x103)](_0x50b9f8,_0x2ff342,_0x3b258b){const _0x2c021b=_0x5671d9;this[_0x2c021b(0x252)]((0x0,_0x383631[_0x2c021b(0x292)])(_0x50b9f8[_0x2c021b(0xe5)][_0x2c021b(0x17a)]((_0x1ac193,_0x5207ce)=>{const _0x34fa3=_0x2c021b;let _0x1e4a9c=_0x50b9f8[_0x34fa3(0x4cd)]();if(this['_activeShapeModel']=this[_0x34fa3(0xd0)][_0x34fa3(0x3a8)](_0x1e4a9c[_0x34fa3(0x173)],_0x1e4a9c[_0x34fa3(0x135)],_0x1e4a9c[_0x34fa3(0x493)]),!this[_0x34fa3(0x194)])return;let _0x5dd65f={};this[_0x34fa3(0x194)]['getAdjustNames']()[_0x34fa3(0x3a7)](_0x25268b=>{const _0x1d9ad1=_0x34fa3;let _0x29802a=this[_0x1d9ad1(0x194)][_0x1d9ad1(0x440)](_0x25268b);_0x29802a!==void 0x0&&(_0x5dd65f[_0x25268b]=_0x29802a);});let _0x81ecf6=this[_0x34fa3(0x1c8)]();if(!_0x81ecf6)return;this['_baseDrawingRect']={..._0x81ecf6};let _0x14122c=new _0x287478[(_0x34fa3(0x2ec))](this[_0x34fa3(0x209)]),_0x379480=(0x0,_0x279593[_0x34fa3(0x201)])({'unitId':this[_0x34fa3(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x34fa3(0x166)]}),_0x362b9f=_0x2ff342[_0x34fa3(0x327)](_0x379480);this[_0x34fa3(0x128)]=!0x0,_0x2ff342[_0x34fa3(0x457)](),this[_0x34fa3(0x1de)][_0x34fa3(0x359)](_0x2ff342,this[_0x34fa3(0x48e)],this[_0x34fa3(0x1f0)],this[_0x34fa3(0x166)]),this[_0x34fa3(0x19d)]=null;let _0x57f541=this[_0x34fa3(0x194)][_0x34fa3(0x4c4)](),_0x303849=_0x57f541[0x0],_0x460bf1=_0x57f541[_0x57f541[_0x34fa3(0x175)]-0x1],_0x4fa993=_0x3b258b?_0x14122c[_0x34fa3(0xf7)](_0x460bf1):_0x14122c[_0x34fa3(0xf7)](_0x303849);this[_0x34fa3(0x16f)]=_0x2ff342['onPointerMove$'][_0x34fa3(0x17a)]((_0x4c267c,_0x4c1014)=>{const _0x150910=_0x34fa3;if(!this['_isConnecting']||!this['_activeShapeModel'])return;this[_0x150910(0x41d)]||=(this[_0x150910(0x100)][_0x150910(0x386)](),this[_0x150910(0x194)][_0x150910(0x203)](),!0x0);let _0x404a3a=this[_0x150910(0x4a4)](this['_unitId'],this[_0x150910(0x1f0)]),_0x8ca1c6=this[_0x150910(0x36c)](this[_0x150910(0x48e)],this[_0x150910(0x1f0)]),_0x487d5e={'x':_0x4c267c[_0x150910(0x388)]/_0x8ca1c6+_0x404a3a['x'],'y':_0x4c267c[_0x150910(0x41c)]/_0x8ca1c6+_0x404a3a['y']},_0x168f66=this[_0x150910(0x1de)][_0x150910(0x1c7)](_0x487d5e);if(_0x168f66){let {shapeId:_0x240701,unitId:_0x21316b,subUnitId:_0x4d3d26}=_0x168f66;if(_0x240701&&_0x21316b&&_0x4d3d26){let _0x55ed99=(0x0,_0x279593[_0x150910(0x201)])({'unitId':_0x21316b,'subUnitId':_0x4d3d26,'drawingId':_0x240701});_0x168f66[_0x150910(0x46e)]=(_0x2ff342['getObjectIncludeInGroup'](_0x55ed99)[_0x150910(0x46e)]||0x0)+_0x168f66[_0x150910(0x46e)];}}this[_0x150910(0x19d)]=_0x168f66;let _0x49d63e=_0x3b258b?this[_0x150910(0x194)][_0x150910(0x3cf)]():this[_0x150910(0x194)][_0x150910(0x39c)]();if(_0x49d63e){this[_0x150910(0x11c)](_0x49d63e,_0x487d5e,_0x3b258b,_0x362b9f,_0x50b9f8);return;}this['_handleFreeEndpointMove'](_0x487d5e,_0x4fa993,_0x3b258b,_0x362b9f,_0x50b9f8);}),this['_cxtHandlerPointerUp']=_0x2ff342[_0x34fa3(0x243)][_0x34fa3(0x17a)]((_0x394cde,_0x5de4de)=>{this['_handleConnectorPointerUp'](_0x2ff342,_0x4fa993,_0x394cde,_0x3b258b,_0x5dd65f);}),_0x5207ce[_0x34fa3(0x425)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x26cfce,_0x31c0b0,_0x4954ae){const _0x43adca=_0x5671d9;let _0x4c2350=this[_0x43adca(0xd0)]['getBasicShapeRelation'](_0x26cfce,_0x31c0b0,_0x4954ae);if(!_0x4c2350||_0x4c2350[_0x43adca(0x175)]===0x0)return;let _0x454670=this[_0x43adca(0x42d)][_0x43adca(0x1fa)](_0x26cfce);if(!_0x454670)return;let {scene:_0xfd05bb}=_0x454670;for(let _0x142c24 of _0x4c2350){let _0x4ffe0a=_0x142c24[_0x43adca(0x1cd)],_0xf1d8e9=this[_0x43adca(0xd0)][_0x43adca(0x3a8)](_0x26cfce,_0x31c0b0,_0x4ffe0a);if(!_0xf1d8e9)continue;let _0x1bea5e=_0xf1d8e9[_0x43adca(0x39c)](),_0x3c2e46=_0xf1d8e9[_0x43adca(0x3cf)](),_0x3174ff=(_0x1bea5e==null?void 0x0:_0x1bea5e[_0x43adca(0x37d)])===_0x4954ae,_0x43c5d1=(0x0,_0x279593[_0x43adca(0x201)])({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a}),_0x3a7f9b=_0xfd05bb[_0x43adca(0x327)](_0x43c5d1);if(!_0x3a7f9b)continue;let _0x409faf=this['_drawingManagerService'][_0x43adca(0x14d)]({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a});_0x409faf!=null&&_0x409faf['transform']&&(_0x1bea5e&&_0x3c2e46?this[_0x43adca(0x348)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x1bea5e,_0x3c2e46,_0x3a7f9b):this[_0x43adca(0x448)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x3174ff?_0x1bea5e:_0x3c2e46,_0x3174ff,_0x409faf,_0x3a7f9b));}}[_0x5671d9(0x348)](_0x5325aa,_0x107df5,_0x4e816f,_0x5eb96b,_0x57a8da,_0x3a9974,_0x3a5680){const _0x2b1fea=_0x5671d9;let _0x23a2b1=this['_unitId'],_0xf9c63f=this['_subUnitId'];this[_0x2b1fea(0x48e)]=_0x5325aa,this[_0x2b1fea(0x1f0)]=_0x107df5;let _0x9373=this['_getConnectPointInfo'](_0x57a8da),_0x15abea=this[_0x2b1fea(0x334)](_0x3a9974);if(this['_unitId']=_0x23a2b1,this[_0x2b1fea(0x1f0)]=_0xf9c63f,!_0x9373||!_0x15abea)return;let _0x2c7813=_0x5eb96b['getShapeType'](),_0x3a05a8=(0x0,_0x287478['routeConnectorLineShape'])(_0x9373,_0x15abea,_0x2c7813);_0x3a05a8&&_0x5eb96b[_0x2b1fea(0x4b3)](_0x3a05a8);let _0x369f40=(0x0,_0x287478[_0x2b1fea(0x11b)])(_0x3a05a8,_0x2c7813);_0x369f40[_0x2b1fea(0x1f2)]!==_0x2c7813&&_0x5eb96b[_0x2b1fea(0x1db)](_0x369f40[_0x2b1fea(0x1f2)]),_0x5eb96b[_0x2b1fea(0x203)]();for(let [_0xa85726,_0x12813c]of Object['entries'](_0x369f40[_0x2b1fea(0x16c)]))_0x5eb96b[_0x2b1fea(0x290)](_0xa85726,_0x12813c);_0x5eb96b['updateContext']({'width':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x439)],'height':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x2ea)]}),_0x3a5680[_0x2b1fea(0x315)]({'flipX':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x160)],'flipY':_0x369f40['worldRect'][_0x2b1fea(0x481)],'left':_0x369f40['worldRect'][_0x2b1fea(0x32c)],'top':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x1e1)],'width':_0x369f40[_0x2b1fea(0x42b)]['width'],'height':_0x369f40['worldRect'][_0x2b1fea(0x2ea)],'angle':_0x369f40[_0x2b1fea(0x374)]}),_0x5eb96b[_0x2b1fea(0x1eb)]();}['_moveConnectorWithShape'](_0x51e4a9,_0x1e98a8,_0x5e3f0a,_0x423bc6,_0x278416,_0x58c03e,_0x4876b0,_0x1033d7){const _0xf4d948=_0x5671d9;let _0x40ff3c=this[_0xf4d948(0x48e)],_0xf95dfc=this[_0xf4d948(0x1f0)];this['_unitId']=_0x51e4a9,this[_0xf4d948(0x1f0)]=_0x1e98a8;let _0x331bb5=this[_0xf4d948(0x334)](_0x278416);if(this['_unitId']=_0x40ff3c,this[_0xf4d948(0x1f0)]=_0xf95dfc,!_0x331bb5)return;let {left:_0x16fe4b=0x0,top:_0x52149d=0x0,width:_0x5ab2ed=0x0,height:_0x2d0447=0x0,flipX:_0x4b3ea4=!0x1,flipY:_0x50b902=!0x1}=_0x4876b0[_0xf4d948(0x2c6)],_0x44ddb8=_0x423bc6[_0xf4d948(0x4c4)]();if(_0x44ddb8[_0xf4d948(0x175)]<0x2)return;let _0x5677d2=new _0x287478[(_0xf4d948(0x2ec))]({'left':_0x16fe4b,'top':_0x52149d,'width':_0x5ab2ed,'height':_0x2d0447,'flipX':_0x4b3ea4,'flipY':_0x50b902}),_0x333ffc=_0x58c03e?_0x44ddb8[_0x44ddb8['length']-0x1]:_0x44ddb8[0x0],_0xaa5234=_0x5677d2[_0xf4d948(0xf7)](_0x333ffc),_0x5d70a5=_0x287478[_0xf4d948(0x2ec)]['computeConnectorResizeLayout'](_0xaa5234,_0x331bb5[_0xf4d948(0x32b)],!_0x58c03e);_0x1033d7[_0xf4d948(0x315)]({'flipX':_0x5d70a5['worldRect'][_0xf4d948(0x160)],'flipY':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x481)],'left':_0x5d70a5['worldRect']['left'],'top':_0x5d70a5['worldRect'][_0xf4d948(0x1e1)],'width':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x439)],'height':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x2ea)],'angle':_0x5d70a5['worldRect'][_0xf4d948(0x46e)]}),_0x1033d7[_0xf4d948(0x33a)](!0x0);}[_0x5671d9(0x478)](){const _0x4100ed=_0x5671d9;this[_0x4100ed(0x1a1)][_0x4100ed(0x175)]!==0x0&&(this['_connectorObjects'][_0x4100ed(0x3a7)](_0x4db9e4=>{const _0x52ab51=_0x4100ed;_0x4db9e4[_0x52ab51(0x39f)]();}),this['_connectorObjects']=[]);}[_0x5671d9(0x497)](){const _0x58925e=_0x5671d9;let _0x1e8af5=this[_0x58925e(0x434)]['getCurrentTypeOfUnit$'](_0x383631['UniverInstanceType']['UNIVER_SHEET']);this[_0x58925e(0x252)](_0x1e8af5[_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0x183ac8=>_0x183ac8?_0x183ac8['activeSheet$'][_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0xfb2451=>{const _0x25dcb8=_0x58925e;if(!_0xfb2451)return _0x4250df[_0x25dcb8(0x15b)];let _0x18bec2=_0x183ac8[_0x25dcb8(0x358)](),_0x28a152=this[_0x25dcb8(0x42d)]['getRenderUnitById'](_0x18bec2),_0x1aa4c7=_0x28a152==null?void 0x0:_0x28a152[_0x25dcb8(0x333)];return _0x1aa4c7?(0x0,_0x4250df['of'])(_0x1aa4c7):_0x4250df[_0x25dcb8(0x15b)];})):_0x4250df[_0x58925e(0x15b)]))[_0x58925e(0x317)](_0x32cb7c=>{const _0x34ecac=_0x58925e;let _0x54f78f=_0x32cb7c[_0x34ecac(0x178)]();this['disposeWithMe'](_0x32cb7c['onPointerMove$'][_0x34ecac(0x17a)](_0x38581e=>{const _0x4a949a=_0x34ecac;this[_0x4a949a(0x20e)]&&this[_0x4a949a(0x166)]&&this[_0x4a949a(0x478)]();})),this['disposeWithMe'](_0x54f78f[_0x34ecac(0x443)][_0x34ecac(0x317)](_0x423c5f=>{const _0x48ea9d=_0x34ecac;let {objects:_0xeb93ea}=_0x423c5f;this[_0x48ea9d(0x478)](),_0xeb93ea!==null&&_0xeb93ea[_0x48ea9d(0x23c)]===0x1&&_0xeb93ea[_0x48ea9d(0x206)]()[_0x48ea9d(0x289)]()[_0x48ea9d(0x320)]instanceof _0x23237e&&(this[_0x48ea9d(0x20e)]=!0x0);})),this[_0x34ecac(0x252)](_0x54f78f['changing$'][_0x34ecac(0x317)](_0x11ebd2=>{const _0x421aff=_0x34ecac;this['_isDrawingShapePointDown']&&this[_0x421aff(0x478)]();})),this[_0x34ecac(0x252)](_0x32cb7c[_0x34ecac(0x243)][_0x34ecac(0x17a)](()=>{const _0x3ea33b=_0x34ecac;this[_0x3ea33b(0x20e)]&&(this[_0x3ea33b(0x20e)]=!0x1,this[_0x3ea33b(0x131)]());})),this[_0x34ecac(0x252)](_0x54f78f[_0x34ecac(0x3c2)][_0x34ecac(0x317)](()=>{const _0x3f2ab1=_0x34ecac;this[_0x3f2ab1(0x48e)]&&this[_0x3f2ab1(0x1f0)]&&this[_0x3f2ab1(0x166)]&&this[_0x3f2ab1(0x306)][_0x3f2ab1(0x14d)]({'unitId':this[_0x3f2ab1(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3f2ab1(0x166)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x3f2ab1(0x131)]());}));}));}[_0x5671d9(0x365)](){const _0x501fe4=_0x5671d9;this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x262)][_0x501fe4(0x317)](_0x3e417e=>{const _0x4289b4=_0x501fe4;if(_0x3e417e['length']===0x1){let _0x4e2955=_0x3e417e[0x0];if(_0x4e2955[_0x4289b4(0x3d6)]===_0x383631[_0x4289b4(0x286)][_0x4289b4(0x456)]){let _0x18a817=this[_0x4289b4(0xd0)]['getShapeModel'](_0x4e2955['unitId'],_0x4e2955[_0x4289b4(0x135)],_0x4e2955[_0x4289b4(0x493)]);if(_0x18a817&&(0x0,_0x287478[_0x4289b4(0x4d2)])(_0x18a817[_0x4289b4(0x347)]())){this['_activeShapeId']=_0x4e2955[_0x4289b4(0x493)],this[_0x4289b4(0x48e)]=_0x4e2955[_0x4289b4(0x173)],this[_0x4289b4(0x1f0)]=_0x4e2955[_0x4289b4(0x135)],this[_0x4289b4(0x478)](),this[_0x4289b4(0x131)]();return;}}}this[_0x4289b4(0x166)]=void 0x0,this['_unitId']=void 0x0,this[_0x4289b4(0x1f0)]=void 0x0,this[_0x4289b4(0x478)]();})),this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x294)][_0x501fe4(0x317)](_0x4b4671=>{const _0x4d0346=_0x501fe4;if(_0x4b4671['length']===0x1){var _0x2e061d;let _0x23ccde=_0x4b4671[0x0],_0x3a949f=(_0x2e061d=this[_0x4d0346(0x306)]['getDrawingByParam'](_0x23ccde))==null?void 0x0:_0x2e061d[_0x4d0346(0x3d6)];_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&_0x23ccde[_0x4d0346(0x493)]===this[_0x4d0346(0x166)]?(this['_clearShapeConnectorHandlerObjects'](),this[_0x4d0346(0x131)]()):!this[_0x4d0346(0x166)]&&_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&this[_0x4d0346(0x11f)](_0x23ccde[_0x4d0346(0x173)],_0x23ccde[_0x4d0346(0x135)],_0x23ccde[_0x4d0346(0x493)]);}})),this['disposeWithMe'](this[_0x501fe4(0x306)][_0x501fe4(0x1d5)][_0x501fe4(0x317)](_0x49a4e9=>{const _0x47b7fb=_0x501fe4;for(let _0x1466e1 of _0x49a4e9){let {drawingId:_0x4de62c}=_0x1466e1;if(this[_0x47b7fb(0x166)]===_0x4de62c){this[_0x47b7fb(0x241)]();return;}}}));}[_0x5671d9(0x11c)](_0x32cf96,_0x31d3cc,_0xde2416,_0x18e9f6,_0xd7b60){const _0x456eeb=_0x5671d9;var _0x1e378b;if(!this['_activeShapeModel'])return;let _0x53977b=this[_0x456eeb(0x334)](_0x32cf96);if(!_0x53977b)return;let _0x45a19c=this[_0x456eeb(0x19d)]?this['_currentConnectionTarget']['worldPoint']:_0x31d3cc,_0x2080b6=this[_0x456eeb(0x19d)]?this[_0x456eeb(0x19d)][_0x456eeb(0x46e)]:this[_0x456eeb(0x174)](_0x53977b[_0x456eeb(0x32b)],_0x45a19c),_0x5b4013;if(this[_0x456eeb(0x19d)]){let _0x21bae0=this['_drawingManagerService'][_0x456eeb(0x14d)]({'unitId':this[_0x456eeb(0x19d)][_0x456eeb(0x173)],'subUnitId':this[_0x456eeb(0x19d)][_0x456eeb(0x135)],'drawingId':this[_0x456eeb(0x19d)][_0x456eeb(0x37d)]});if(_0x21bae0!=null&&_0x21bae0['transform']){let {left:_0x17af72=0x0,top:_0x2e454e=0x0,width:_0x11cad3=0x0,height:_0x2f887d=0x0,angle:_0x38e193}=_0x21bae0[_0x456eeb(0x2c6)];_0x5b4013=(0x0,_0x287478[_0x456eeb(0x27b)])({'left':_0x17af72,'top':_0x2e454e,'width':_0x11cad3,'height':_0x2f887d},_0x38e193||0x0);}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};let _0x54bb4b={'point':_0x45a19c,'angle':_0x2080b6,'bounds':_0x5b4013},_0x4da14d=_0xde2416?_0x54bb4b:_0x53977b,_0x18c9e6=_0xde2416?_0x53977b:_0x54bb4b,_0x4c4828=this[_0x456eeb(0x194)][_0x456eeb(0x347)](),_0x2c8bc3=(0x0,_0x287478['routeConnectorLineShape'])(_0x4da14d,_0x18c9e6,_0x4c4828);_0x2c8bc3&&this[_0x456eeb(0x194)][_0x456eeb(0x4b3)](_0x2c8bc3);let _0x40cce0=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x2c8bc3,_0x4c4828);_0x40cce0[_0x456eeb(0x1f2)]!==_0x4c4828&&this[_0x456eeb(0x194)][_0x456eeb(0x1db)](_0x40cce0[_0x456eeb(0x1f2)]);for(let [_0x1aa38b,_0xfb0eb5]of Object['entries'](_0x40cce0['adjustValues']))this[_0x456eeb(0x194)][_0x456eeb(0x290)](_0x1aa38b,_0xfb0eb5);this['_activeShapeModel'][_0x456eeb(0x288)]({'width':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x439)],'height':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x2ea)]}),_0x18e9f6[_0x456eeb(0x315)]({'flipX':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x160)],'flipY':_0x40cce0['worldRect'][_0x456eeb(0x481)],'left':_0x40cce0['worldRect'][_0x456eeb(0x32c)],'top':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x1e1)],'width':_0x40cce0['worldRect'][_0x456eeb(0x439)],'height':_0x40cce0['worldRect'][_0x456eeb(0x2ea)],'angle':_0x40cce0[_0x456eeb(0x374)]}),_0x18e9f6[_0x456eeb(0x33a)](!0x0);let _0x272567=((_0x1e378b=this[_0x456eeb(0x19d)])==null?void 0x0:_0x1e378b[_0x456eeb(0x2c3)])??_0x31d3cc;_0xd7b60[_0x456eeb(0x315)]({'left':_0x272567['x']-_0x287478[_0x456eeb(0x10a)]['cxnPointRadius'],'top':_0x272567['y']-_0x287478['ShapeDefaultConfig'][_0x456eeb(0xd9)]});}[_0x5671d9(0x143)](_0x582284,_0x3b7b9c,_0x49f172,_0xad524d,_0x167ce4){const _0xc10dab=_0x5671d9;var _0x5be945,_0xfcd2b;let _0x1a88ea=((_0x5be945=this[_0xc10dab(0x19d)])==null?void 0x0:_0x5be945['worldPoint'])??_0x582284,_0x42ef95=_0x287478[_0xc10dab(0x2ec)][_0xc10dab(0x162)](_0x3b7b9c,_0x1a88ea,_0x49f172);_0xad524d[_0xc10dab(0x315)]({'flipX':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x160)],'flipY':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x481)],'left':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x32c)],'top':_0x42ef95[_0xc10dab(0x42b)]['top'],'width':_0x42ef95['worldRect'][_0xc10dab(0x439)],'height':_0x42ef95[_0xc10dab(0x42b)]['height'],'angle':_0x42ef95[_0xc10dab(0x42b)]['angle']});let _0x2662d5=((_0xfcd2b=this['_currentConnectionTarget'])==null?void 0x0:_0xfcd2b[_0xc10dab(0x2c3)])??_0x582284;_0x167ce4[_0xc10dab(0x315)]({'left':_0x2662d5['x']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)],'top':_0x2662d5['y']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)]});}['_getConnectPointInfo'](_0x303be3){const _0x4ba49f=_0x5671d9;if(!this[_0x4ba49f(0x48e)]||!this[_0x4ba49f(0x1f0)])return null;let {shapeId:_0x5a8e81,cxnIndex:_0x2e5bf9}=_0x303be3,_0xa00510=this[_0x4ba49f(0xd0)][_0x4ba49f(0x3a8)](this[_0x4ba49f(0x48e)],this[_0x4ba49f(0x1f0)],_0x5a8e81);if(!_0xa00510)return null;let _0x4c94cf=this[_0x4ba49f(0x306)][_0x4ba49f(0x14d)]({'unitId':this[_0x4ba49f(0x48e)],'subUnitId':this[_0x4ba49f(0x1f0)],'drawingId':_0x5a8e81});if(!(_0x4c94cf!=null&&_0x4c94cf[_0x4ba49f(0x2c6)]))return null;let {left:_0x1c12ef=0x0,top:_0x530cf4=0x0,width:_0x12cc95=0x0,height:_0x10f8c9=0x0,flipX:_0x5af90c=!0x1,flipY:_0x403d41=!0x1,angle:_0x4d4c32}=_0x4c94cf[_0x4ba49f(0x2c6)];_0xa00510[_0x4ba49f(0x288)]({'width':_0x12cc95,'height':_0x10f8c9});let _0x126b52=_0xa00510[_0x4ba49f(0x475)]()[_0x4ba49f(0x3de)](_0x32b5d3=>_0x32b5d3[_0x4ba49f(0x368)]===_0x2e5bf9);if(!_0x126b52)return null;let _0x3dbee0=_0x5af90c?_0x12cc95-_0x126b52['x']:_0x126b52['x'],_0x384f08=_0x403d41?_0x10f8c9-_0x126b52['y']:_0x126b52['y'];if(_0x4d4c32!==0x0&&_0x4d4c32!=null){let _0x478203=_0x4d4c32*Math['PI']/0xb4,_0x575467=Math[_0x4ba49f(0x3bb)](_0x478203),_0x40c41a=Math[_0x4ba49f(0x417)](_0x478203),_0xee5cc1=_0x12cc95/0x2,_0x4b901e=_0x10f8c9/0x2,_0x33c1c0=_0x3dbee0-_0xee5cc1,_0xcab808=_0x384f08-_0x4b901e;_0x3dbee0=_0xee5cc1+_0x33c1c0*_0x575467-_0xcab808*_0x40c41a,_0x384f08=_0x4b901e+_0x33c1c0*_0x40c41a+_0xcab808*_0x575467;}_0x3dbee0+=_0x1c12ef,_0x384f08+=_0x530cf4;let _0x36800b=_0x126b52[_0x4ba49f(0x31b)]/0xea60;_0x5af90c&&(_0x36800b=0xb4-_0x36800b),_0x403d41&&(_0x36800b=-_0x36800b),_0x36800b+=_0x4d4c32||0x0,_0x36800b=(_0x36800b%0x168+0x168)%0x168;let _0x59286d=(0x0,_0x287478['getBasicShapeRotateBound'])({'left':_0x1c12ef,'top':_0x530cf4,'width':_0x12cc95,'height':_0x10f8c9},_0x4d4c32||0x0);return{'point':{'x':_0x3dbee0,'y':_0x384f08},'angle':_0x36800b,'bounds':_0x59286d};}[_0x5671d9(0x174)](_0x435a01,_0x8861d6){const _0xe6620b=_0x5671d9;let _0x5608c3=_0x8861d6['x']-_0x435a01['x'],_0x4ea85e=_0x8861d6['y']-_0x435a01['y'];return Math[_0xe6620b(0x190)](_0x5608c3)>=Math[_0xe6620b(0x190)](_0x4ea85e)?_0x5608c3>=0x0?0xb4:0x0:_0x4ea85e>=0x0?0x10e:0x5a;}[_0x5671d9(0x241)](){const _0x427358=_0x5671d9;this['_activeShapeId']=void 0x0,this['_unitId']=void 0x0,this['_subUnitId']=void 0x0,this[_0x427358(0x478)]();}[_0x5671d9(0x39f)](){const _0x5f141f=_0x5671d9;this['_clearShapeConnectorHandlerObjects'](),super[_0x5f141f(0x39f)]();}};_0x2d0bb9=_0x25a2aa([_0x4177c4(0x1,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x2,_0x1c3608['IRenderManagerService']),_0x4177c4(0x3,_0x279593['IDrawingManagerService']),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x243401)),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x53dc4d))],_0x2d0bb9);let _0x2dbe31=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x43ac8c,_0x30191b,_0x214d87){const _0x3de1ea=_0x5671d9;super(),this[_0x3de1ea(0xfc)]=_0x43ac8c,this['_drawingManagerService']=_0x30191b,this['_shapeRenderController']=_0x214d87,this[_0x3de1ea(0x1b2)]();}[_0x5671d9(0x1b2)](){const _0x117ad3=_0x5671d9;this[_0x117ad3(0x252)](this['_sheetPrintInterceptorService'][_0x117ad3(0x31c)]['intercept'](this[_0x117ad3(0xfc)][_0x117ad3(0x31c)]['getInterceptPoints']()[_0x117ad3(0xd1)],{'handler':(_0x23b979,_0xb7469a,_0x11cd22)=>{const _0x3f06b1=_0x117ad3;var _0x5e1e52;let {unitId:_0x3f7149,subUnitId:_0x215d12,scene:_0x2f7fa7,resourceCollector:_0x44361a}=_0xb7469a,_0x249706=(_0x5e1e52=this[_0x3f06b1(0x306)][_0x3f06b1(0x3d0)](_0x3f7149))==null?void 0x0:_0x5e1e52[_0x215d12];return _0x249706==null||_0x249706['order']['forEach'](_0x4b6efc=>{const _0x950022=_0x3f06b1;let _0x29a380=_0x249706['data'][_0x4b6efc];_0x29a380['drawingType']===_0x383631['DrawingTypeEnum'][_0x950022(0x456)]&&!_0x29a380[_0x950022(0x185)]&&this[_0x950022(0x281)]['renderDrawingShape'](_0x29a380,_0x2f7fa7,{'resourceCollector':_0x44361a});}),_0x11cd22(_0x23b979);}}));}};_0x2dbe31=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x446)])),_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe))],_0x2dbe31);let _0x3c6deb=class extends _0x383631['Disposable']{constructor(_0x51206c,_0x2fafd3,_0x2e0b2a){const _0x578712=_0x5671d9;super(),this[_0x578712(0x39a)]=_0x51206c,this[_0x578712(0x114)]=_0x2fafd3,this[_0x578712(0x20a)]=_0x2e0b2a,this[_0x578712(0x325)]();}[_0x5671d9(0x325)](){const _0x50b3c3=_0x5671d9;this[_0x50b3c3(0x252)](this[_0x50b3c3(0x39a)][_0x50b3c3(0x3cd)](_0xd8a692=>{const _0x5ee4db=_0x50b3c3;let _0x275294,_0x145690;if(_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3e8)]['id']||_0xd8a692['id']===_0x276c17['SetShapeDrawingDataCommand']['id']||_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3ea)]['id']){let _0x13a093=_0xd8a692[_0x5ee4db(0x4a7)];_0x275294=_0x13a093[_0x5ee4db(0x173)],_0x145690=_0x13a093['subUnitId'];}_0x275294&&_0x145690&&(this[_0x5ee4db(0x20a)][_0x5ee4db(0x12c)]({'workbookTypes':[_0x111c96[_0x5ee4db(0x121)]],'worksheetTypes':[_0x111c96[_0x5ee4db(0x293)]]},_0x275294,_0x145690)||this['_sheetPermissionCheckController'][_0x5ee4db(0x4a9)](this[_0x5ee4db(0x114)]['t'](_0x5ee4db(0x2a3))));}));}};_0x3c6deb=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x24e)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631['LocaleService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x48d)]))],_0x3c6deb);let _0xa77d06=class{constructor(_0x52a6c2){this['_renderManagerService']=_0x52a6c2;}['updateShapeFillImage'](_0x4323e1,_0x7d03e3){const _0x19ea9f=_0x5671d9;let _0x1d7716=this[_0x19ea9f(0x42d)][_0x19ea9f(0x1fa)](_0x4323e1[_0x19ea9f(0x173)]),_0xafebd=_0x1d7716==null?void 0x0:_0x1d7716['scene'];if(!_0xafebd)return;let _0x4bcb12=(0x0,_0x279593[_0x19ea9f(0x201)])(_0x4323e1),_0x20aa76=_0xafebd['getObjectIncludeInGroup'](_0x4bcb12);_0x20aa76==null||_0x20aa76[_0x19ea9f(0x2f5)](_0x7d03e3);}};_0xa77d06=_0x25a2aa([_0x4177c4(0x0,_0x1c3608[_0x5671d9(0x1fd)])],_0xa77d06);let _0x2ce7ec=class extends _0x383631[_0x5671d9(0x28b)]{constructor(_0x1dfad6=_0xda7fc9,_0x94d898,_0xbfc40f,_0x36e1cf,_0xe4953e){const _0x5289f5=_0x5671d9;super(),this['_config']=_0x1dfad6,this[_0x5289f5(0x1ef)]=_0x94d898,this[_0x5289f5(0x39a)]=_0xbfc40f,this[_0x5289f5(0x1b1)]=_0x36e1cf,this['_renderManagerService']=_0xe4953e;let {..._0x4f7eda}=(0x0,_0x383631[_0x5289f5(0xce)])({},_0xda7fc9,this[_0x5289f5(0x46f)]);this[_0x5289f5(0x1b1)][_0x5289f5(0x2d5)](_0x317c0c,_0x4f7eda),this['_initCommands']();}[_0x5671d9(0x35f)](){const _0x36ff00=_0x5671d9;this['_injector'][_0x36ff00(0x338)]([_0x15ba05]),this[_0x36ff00(0x1ef)][_0x36ff00(0x4be)](_0x15ba05),(0x0,_0x383631['registerDependencies'])(this[_0x36ff00(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x2ff)](){const _0x4dee17=_0x5671d9;(0x0,_0x383631[_0x4dee17(0x2c2)])(this[_0x4dee17(0x1ef)],[[_0x53dc4d],[_0x243401],[_0x544c39]]),(0x0,_0x383631[_0x4dee17(0xf5)])(this[_0x4dee17(0x1ef)],[[_0x544c39],[_0x243401]]),[[_0x53dc4d],[_0x2d7d8a],[_0x2d0bb9],[_0x2c3642]][_0x4dee17(0x3a7)](_0x109af7=>{const _0x38ab42=_0x4dee17;this[_0x38ab42(0x252)](this['_renderManagerService']['registerRenderModule'](_0x383631[_0x38ab42(0x363)][_0x38ab42(0x3e4)],_0x109af7));});}[_0x5671d9(0x28d)](){const _0x2677ae=_0x5671d9;(0x0,_0x383631['touchDependencies'])(this[_0x2677ae(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x24d)](){const _0x2e39d9=_0x5671d9;this[_0x2e39d9(0x1ef)][_0x2e39d9(0x4be)](_0x403f30)[_0x2e39d9(0x380)]();}[_0x5671d9(0x3c8)](){const _0x572ada=_0x5671d9;[_0x45134c,_0x57882a,_0x39b8fc,_0x176123][_0x572ada(0x3a7)](_0x2fa612=>this[_0x572ada(0x252)](this[_0x572ada(0x39a)][_0x572ada(0x37f)](_0x2fa612)));}};_0x20dccc(_0x2ce7ec,_0x5671d9(0x435),_0x383631['UniverInstanceType']['UNIVER_SHEET']),_0x20dccc(_0x2ce7ec,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x2ce7ec,_0x5671d9(0x242),_0x42e456),_0x20dccc(_0x2ce7ec,'version',_0x1bfefd),_0x2ce7ec=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593['UniverDrawingPlugin'],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b[_0x5671d9(0x234)],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f[_0x5671d9(0x3f4)],_0x276c17[_0x5671d9(0x3a5)],_0x261221['UniverSheetsMobileUIPlugin'],_0x2a9d6c[_0x5671d9(0x36b)],_0x2f96d6[_0x5671d9(0x1a2)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x2ce7ec);let _0x24f5aa={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x5467e1(){const _0x712cec=_0x5671d9;let _0x5bf2b1=(0x0,_0x2f96d6[_0x712cec(0x19e)])(_0x279593['IDrawingManagerService']),_0x5bb60a=(0x0,_0x2f96d6[_0x712cec(0x26f)])(()=>_0x5bf2b1['focus$'],_0x5bf2b1[_0x712cec(0x486)](),!0x1,[_0x5bf2b1]);return _0x5bb60a[_0x712cec(0x175)]===0x0?null:(0x0,_0x4170e1[_0x712cec(0x157)])(_0x712cec(0x1a7),{'children':(0x0,_0x4170e1[_0x712cec(0x413)])(_0x712cec(0x1a7),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x4170e1[_0x712cec(0x157)])(_0x129810[_0x712cec(0x431)],{'drawings':_0x5bb60a,'hasCropper':!0x1}),(0x0,_0x4170e1[_0x712cec(0x157)])(_0x44e77f[_0x712cec(0x3c0)],{'drawings':_0x5bb60a})]})});}function _0x4aa9e6(_0x80fb3c){const _0x1e5abb=_0x5671d9;let {unitId:_0x5a714a,subUnitId:_0x2bebf7,shapeId:_0x1a9579}=_0x80fb3c,_0x15b2fe=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0x383631['ICommandService']),_0x215df9=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0xa77d06);return(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x2a9d6c[_0x1e5abb(0x36d)],{..._0x80fb3c,'positionEditor':(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x5467e1,{}),'onUpdateShapeData':(_0x30c388,_0x4f0106)=>{_0x100eae(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x30c388,_0x4f0106);},'onUpdateLineShapeData':(_0x32e071,_0x111860)=>{_0x9cff5f(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x32e071,_0x111860);},'onUpdateShapeFillImage':_0x369615=>{const _0x4204fa=_0x1e5abb;_0x215df9[_0x4204fa(0x16b)]({'unitId':_0x5a714a,'subUnitId':_0x2bebf7,'drawingId':_0x1a9579},_0x369615);}});}function _0x508c98(_0x5ad81e){const _0x998c25=_0x5671d9;let _0x5b280e=(0x0,_0x2f96d6['useDependency'])(_0x2a9d6c[_0x998c25(0x259)]),_0x4b9362=(0x0,_0x2f96d6[_0x998c25(0x26f)])(()=>_0x5b280e[_0x998c25(0x233)],_0x5b280e[_0x998c25(0x257)](),!0x1,[_0x5b280e]),_0x24f6d4=_0x5ad81e[_0x998c25(0x2fe)][_0x998c25(0x1fc)];return!_0x24f6d4||!_0x4b9362?null:(0x0,_0x4170e1[_0x998c25(0x157)])(_0x147578,{..._0x24f6d4,'canvasElement':_0x5ad81e['popup'][_0x998c25(0x4ae)]});}function _0x147578(_0x3a16dd){const _0xdcd4fa=_0x5671d9;let _0x3bf1ab=(0x0,_0x2f96d6[_0xdcd4fa(0x19e)])(_0x383631['ICommandService']),_0x1b3c45=(0x0,_0x2f96d6['useDependency'])(_0x276c17[_0xdcd4fa(0x188)]),{unitId:_0x1cab4a,subUnitId:_0x3722d2,drawingId:_0xc35354,drawingType:_0x5d73c6,shapeType:_0x2ad6f9}=_0x3a16dd,[_0x51aed5,_0x3e6547]=(0x0,_0x6ed98f[_0xdcd4fa(0x3f3)])(_0x3a16dd[_0xdcd4fa(0x1a0)]),_0x2fbc4a=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x468)])(_0x51aed5),[_0x51aed5]),_0x10a3e2=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x11e)])(_0x51aed5),[_0x51aed5]);(0x0,_0x6ed98f[_0xdcd4fa(0x136)])(()=>{const _0x97abeb=_0xdcd4fa;let _0x566af6=_0x3bf1ab[_0x97abeb(0x15d)](_0x83bd77=>{const _0x228cdb=_0x97abeb;if(_0x83bd77['id']!==_0x276c17[_0x228cdb(0x250)]['id'])return;let _0x4341ea=_0x1b3c45['getShapeDataById'](_0x1cab4a,_0x3722d2,_0xc35354);_0x4341ea&&_0x3e6547(_0x4341ea);});return()=>_0x566af6[_0x97abeb(0x39f)]();},[_0x3bf1ab,_0xc35354,_0x1b3c45,_0x3722d2,_0x1cab4a]);let _0x18cd34=_0x2cf9c1=>{_0x3e6547(_0x96c146=>({..._0x96c146,..._0x2cf9c1}));},_0x822b40=_0x3172f6=>{const _0x173f70=_0xdcd4fa;let _0x372a53=(0x0,_0x2a9d6c[_0x173f70(0x1b9)])(_0x51aed5,_0x3172f6);_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'shapeText':_0x51aed5[_0x173f70(0x244)]}},_0x372a53),_0x18cd34(_0x372a53);},_0x33cf13=(0x0,_0x2a9d6c[_0xdcd4fa(0x46a)])({'hostType':_0x383631[_0xdcd4fa(0x363)][_0xdcd4fa(0x3e4)],'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'shapeId':_0xc35354,'shapeData':_0x51aed5,'onUpdateBinding':_0x373ddc=>{const _0x534826=_0xdcd4fa;let _0x345834={'formulaBinding':_0x373ddc};_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'formulaBinding':_0x51aed5[_0x534826(0x339)]}},_0x345834),_0x18cd34(_0x345834);}});return(0x0,_0x4170e1[_0xdcd4fa(0x413)])(_0x4170e1[_0xdcd4fa(0x27f)],{'children':[(0x0,_0x4170e1['jsx'])(_0x2a9d6c[_0xdcd4fa(0xf8)],{'canvasElement':_0x3a16dd['canvasElement'],'shapeData':_0x51aed5,'shapeType':_0x2ad6f9,'textStyle':{'ff':_0x287478['ShapeDefaultConfig'][_0xdcd4fa(0x244)][_0xdcd4fa(0x146)],'fs':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x244)][_0xdcd4fa(0x1b4)],'cl':{'rgb':_0x287478[_0xdcd4fa(0x10a)]['shapeText'][_0xdcd4fa(0x151)]},..._0x2fbc4a},'textModel':_0x10a3e2?{'ha':_0x10a3e2['ha']??_0x383631['HorizontalAlign']['LEFT'],'va':_0x10a3e2['va']??_0x383631[_0xdcd4fa(0x2aa)][_0xdcd4fa(0x106)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x3c6)],'defaultGradientEndColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x32f)],'defaultStrokeColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x193)],'extensionGroups':_0x33cf13['extensionGroups'],'floatingObjectToolbarPosition':_0x2f96d6['FloatingObjectToolbarPosition'][_0xdcd4fa(0x2ba)],'onUpdateShapeData':(_0x3f54f6,_0xedd8d1)=>{_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,_0x3f54f6,_0xedd8d1),_0xedd8d1&&_0x18cd34(_0xedd8d1);},'onUpdateText':_0x822b40,'onOpenPanel':()=>{const _0x289ba3=_0xdcd4fa;_0x3bf1ab[_0x289ba3(0x1f9)](_0x57e247['id'],{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354});},'onDelete':()=>{const _0x53d06e=_0xdcd4fa;_0x3bf1ab[_0x53d06e(0x1f9)](_0x72b203[_0x53d06e(0x4a8)]['id'],{'unitId':_0x1cab4a,'drawings':[{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354,'drawingType':_0x5d73c6}]});}}),_0x33cf13[_0xdcd4fa(0x414)]]});}function _0x2aa89d(_0x3c3ff6){const _0x3453a8=_0x5671d9;return!!_0x3c3ff6&&'axisAlignSheetTransform'in _0x3c3ff6&&_0x3453a8(0x1e4)in _0x3c3ff6;}let _0x2c4a36=(0x0,_0x6ed98f['memo'])(()=>{const _0x1a67d4=_0x5671d9;let _0x59c6b0=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0xc020ee),_0x509640=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x276c17[_0x1a67d4(0x188)]),_0x56008a=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x279593[_0x1a67d4(0xf1)]),_0x11f8d7=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x1a67d4(0x24e)]),_0x22c5fc=(0x0,_0x2f96d6['useDependency'])(_0x2f96d6[_0x1a67d4(0x349)]),_0x3f146f=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x1c3608['IRenderManagerService']),_0x234a90=(0x0,_0x6ed98f['useMemo'])(()=>({'getShapeModel':(_0x50a331,_0xfc2c40,_0x202b3c)=>_0x509640[_0x1a67d4(0x3a8)](_0x50a331,_0xfc2c40,_0x202b3c),'getShapeData':(_0x562840,_0x4f7aaa,_0x53e25d)=>_0x509640[_0x1a67d4(0x21f)](_0x562840,_0x4f7aaa,_0x53e25d),'getDrawingTransform':(_0x4ec703,_0x338aa8,_0x124064)=>{const _0x54e701=_0x1a67d4;let _0x65dc10=_0x56008a[_0x54e701(0x14d)]({'unitId':_0x4ec703,'subUnitId':_0x338aa8,'drawingId':_0x124064});return _0x65dc10==null?void 0x0:_0x65dc10['transform'];},'updateShapeText':({unitId:_0x278676,subUnitId:_0x4fc31a,shapeId:_0x35f574,shapeText:_0x4e4e65,oldShapeText:_0x4d1c12,hostSize:_0x1d5bb7})=>{_0x22c5fc['run'](_0x278676,()=>{const _0x4e4e5c=_0x43eb;var _0x2aaac2;let _0x48db54=_0x11f8d7['syncExecuteCommand'](_0x57882a['id'],{'unitId':_0x278676,'subUnitId':_0x4fc31a,'shapeId':_0x35f574,'shapeData':{'shapeText':_0x4e4e65},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x4d1c12}}});if(!_0x48db54||!_0x1d5bb7)return _0x48db54;let _0x376fc6=_0x56008a[_0x4e4e5c(0x14d)]({'unitId':_0x278676,'subUnitId':_0x4fc31a,'drawingId':_0x35f574}),_0x563492=_0x376fc6==null?void 0x0:_0x376fc6[_0x4e4e5c(0x2c6)];if(!_0x2aa89d(_0x376fc6)||!_0x563492)return!0x1;let _0x34aea0={..._0x563492,'width':_0x1d5bb7['width'],'height':_0x1d5bb7[_0x4e4e5c(0x2ea)]},_0x1ce314=(_0x2aaac2=_0x3f146f[_0x4e4e5c(0x1fa)](_0x278676))==null||(_0x2aaac2=_0x2aaac2['with'](_0x261221[_0x4e4e5c(0x3fb)])[_0x4e4e5c(0x24b)](_0x4fc31a))==null?void 0x0:_0x2aaac2[_0x4e4e5c(0x404)];return _0x11f8d7[_0x4e4e5c(0x3e7)](_0x72b203[_0x4e4e5c(0x407)]['id'],{'unitId':_0x278676,'drawings':[{..._0x376fc6,'transform':_0x34aea0,'sheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0xed)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x1e4)]:_0x376fc6[_0x4e4e5c(0x1e4)],'axisAlignSheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0x3c9)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x3af)]:_0x376fc6['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x4c5aa4,subUnitId:_0x496f36,shapeId:_0x184af1,width:_0x48cfcc,height:_0x5b5d28})=>{const _0x35ea5d=_0x1a67d4;var _0xe88e9b;let _0x19ca6f=_0x56008a[_0x35ea5d(0x14d)]({'unitId':_0x4c5aa4,'subUnitId':_0x496f36,'drawingId':_0x184af1}),_0x22ff7d=_0x19ca6f==null?void 0x0:_0x19ca6f[_0x35ea5d(0x2c6)];if(!_0x2aa89d(_0x19ca6f)||!_0x22ff7d)return;let _0x48bc3f={..._0x22ff7d,'width':_0x48cfcc,'height':_0x5b5d28},_0x4e2fc4=(_0xe88e9b=_0x3f146f[_0x35ea5d(0x1fa)](_0x4c5aa4))==null||(_0xe88e9b=_0xe88e9b[_0x35ea5d(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x35ea5d(0x24b)](_0x496f36))==null?void 0x0:_0xe88e9b[_0x35ea5d(0x404)],_0xf3ad2b=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0xed)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f[_0x35ea5d(0x1e4)]:_0x19ca6f[_0x35ea5d(0x1e4)],_0x5e5cd5=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0x3c9)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f['axisAlignSheetTransform']:_0x19ca6f[_0x35ea5d(0x3af)];_0x11f8d7['executeCommand'](_0x72b203[_0x35ea5d(0x407)]['id'],{'unitId':_0x4c5aa4,'drawings':[{..._0x19ca6f,'transform':_0x48bc3f,'sheetTransform':_0xf3ad2b,'axisAlignSheetTransform':_0x5e5cd5}]});},'allowHostSizeShrink':({unitId:_0x46f915,subUnitId:_0x2b928b,shapeId:_0x29e1fb})=>(0x0,_0x2a9d6c[_0x1a67d4(0x3b5)])(_0x509640['getShapeDataById'](_0x46f915,_0x2b928b,_0x29e1fb)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11f8d7,_0x56008a,_0x3f146f,_0x509640,_0x22c5fc]),_0x1e3ae3=(0x0,_0x6ed98f[_0x1a67d4(0x420)])(()=>({'viewportKeys':{'main':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN'],'leftTop':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_LEFT_TOP'],'top':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_TOP'],'left':_0x1c3608[_0x1a67d4(0x3e2)][_0x1a67d4(0x2db)]},'getSkeleton':(_0x38f313,_0x2b5a26)=>{const _0x543ed3=_0x1a67d4;var _0x2f6a3b;return((_0x2f6a3b=_0x38f313[_0x543ed3(0x438)](_0x261221[_0x543ed3(0x3fb)])['getSkeletonParam'](_0x2b5a26[_0x543ed3(0x135)]))==null?void 0x0:_0x2f6a3b[_0x543ed3(0x404)])??null;}}),[]);return(0x0,_0x4170e1[_0x1a67d4(0x157)])(_0x2a9d6c[_0x1a67d4(0x287)],{'adapter':_0x234a90,'editingService':_0x59c6b0,'editorUnitId':_0x919f0e,'positionOptions':_0x1e3ae3});}),_0x581450=class extends _0x383631['Disposable']{constructor(_0x34bd98,_0x641ae){const _0x5b258e=_0x5671d9;super(),this[_0x5b258e(0x429)]=_0x34bd98,this['_iconManager']=_0x641ae,this['_registerIcons'](),this[_0x5b258e(0x254)]();}[_0x5671d9(0x18c)](){const _0x11bc15=_0x5671d9;this[_0x11bc15(0x34b)][_0x11bc15(0xf0)]('ObjectLayersIcon')||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'ObjectLayersIcon':_0x4c5ad8})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x34a))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'FlipHorizontalIcon':_0x534026})),this['_iconManager'][_0x11bc15(0xf0)](_0x11bc15(0x346))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'FlipVerticalIcon':_0x5e4242})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x402))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'BottomIcon':_0x3ff1ac})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x195))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveDownIcon':_0x119d55})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x168))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveUpIcon':_0x33a333})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x33b))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'ShapeFormatSettingIcon':_0xc8fb54})),this[_0x11bc15(0x34b)]['has']('TopmostIcon')||this[_0x11bc15(0x252)](this['_iconManager'][_0x11bc15(0x4c3)]({'TopmostIcon':_0x5c98e7}));}[_0x5671d9(0x254)](){const _0x48cdec=_0x5671d9;this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x56e257,_0x4aa9e6)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x2f15dd,_0x55f3d8)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x3d6541,_0x177b13)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x5812e5,_0x266e1a)),this[_0x48cdec(0x429)][_0x48cdec(0x4be)](_0x129810['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x129810[_0x48cdec(0x387)],_0x18ae1b)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2a2c50,_0x508c98)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0xc4a475,_0x139dd6)),this['disposeWithMe'](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x566032,_0x145172)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2ab86a,_0x5c4eaa)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x317af2,_0x2f8371)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x472fad,_0x2a9d6c[_0x48cdec(0x1c2)])),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x48cdec(0x1ec),_0x2c4a36));}};_0x581450=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x426)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x421)]))],_0x581450);let _0x9e8d4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x39c6d7,_0x326f0a,_0x2903ce,_0x5deddf,_0x259307,_0x5bd6fe,_0x26ff3b,_0x2b5706,_0x38fa35){const _0x1d06ad=_0x5671d9;super();let _0x7b2d2a=_0x423f99=>{const _0x432472=_0x43eb;var _0x4eb757,_0x3f2f40;return(((_0x4eb757=_0x2b5706['getPermissionPoint'](new _0x111c96[(_0x432472(0x121))](_0x423f99['unitId'])['id']))==null?void 0x0:_0x4eb757[_0x432472(0x320)])??!0x0)&&(((_0x3f2f40=_0x2b5706[_0x432472(0x20b)](new _0x111c96['WorksheetEditPermission'](_0x423f99['unitId'],_0x423f99['subUnitId'])['id']))==null?void 0x0:_0x3f2f40['value'])??!0x0);},_0x386bbc=_0x2a9765=>_0x2a9765[_0x1d06ad(0x37d)]&&_0x7b2d2a(_0x2a9765)?_0x2903ce[_0x1d06ad(0x21f)](_0x2a9765[_0x1d06ad(0x173)],_0x2a9765[_0x1d06ad(0x135)],_0x2a9765['shapeId'])??null:null,_0x15ae0f=()=>{const _0x3d2497=_0x1d06ad;let _0x56119f=_0x259307[_0x3d2497(0x486)](),_0x9a3451=_0x56119f['length']===0x1?_0x56119f[0x0]:null;return(_0x9a3451==null?void 0x0:_0x9a3451[_0x3d2497(0x3d6)])===_0x383631[_0x3d2497(0x286)][_0x3d2497(0x456)]&&_0x9a3451[_0x3d2497(0x173)]===_0x39c6d7[_0x3d2497(0x173)]?{'unitId':_0x9a3451[_0x3d2497(0x173)],'subUnitId':_0x9a3451['subUnitId'],'shapeId':_0x9a3451[_0x3d2497(0x493)]}:null;};this['disposeWithMe']((0x0,_0x2a9d6c[_0x1d06ad(0x2bc)])(_0x39c6d7,_0x326f0a,{'changes$':(0x0,_0x4250df[_0x1d06ad(0xce)])(_0x259307[_0x1d06ad(0x262)],_0x5deddf[_0x1d06ad(0x3d8)],_0x2b5706[_0x1d06ad(0x364)]),'isActive':()=>{const _0x999eb9=_0x1d06ad;var _0x1b56bf;return((_0x1b56bf=_0x5bd6fe[_0x999eb9(0x3ee)]())==null?void 0x0:_0x1b56bf[_0x999eb9(0x358)]())===_0x39c6d7[_0x999eb9(0x173)]&&!_0x26ff3b[_0x999eb9(0x1cb)](_0x383631['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x259307['getFocusDrawings']()['some'](_0x597d68=>_0x597d68[_0x999eb9(0x173)]===_0x39c6d7[_0x999eb9(0x173)]);},'getSelectedTarget':_0x15ae0f,'getSource':()=>{let _0x462775=_0x15ae0f();return _0x462775?_0x386bbc(_0x462775):null;},'getTarget':_0x3b17cd=>{const _0x26f0df=_0x1d06ad;let _0x459eae=_0x39c6d7[_0x26f0df(0x333)]['pick'](new _0x1c3608[(_0x26f0df(0x266))](_0x3b17cd['offsetX'],_0x3b17cd[_0x26f0df(0x41c)]));if(!(_0x459eae instanceof _0x23237e))return null;let _0x4e879e={'unitId':_0x39c6d7[_0x26f0df(0x173)],'subUnitId':_0x459eae['subUnitId'],'shapeId':_0x459eae[_0x26f0df(0x37d)]};return _0x7b2d2a(_0x4e879e)?_0x4e879e:null;},'getShape':_0x386bbc,'update':(_0x518f3c,_0x1e3666,_0x4f99b3)=>_0x38fa35[_0x1d06ad(0x1f9)](_0x57882a['id'],{..._0x518f3c,'shapeData':_0x4f99b3,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x1e3666}})}));}};_0x9e8d4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x351)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x4,_0x279593['IDrawingManagerService']),_0x4177c4(0x5,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x6,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x7,_0x383631[_0x5671d9(0x495)]),_0x4177c4(0x8,_0x383631[_0x5671d9(0x24e)])],_0x9e8d4d);let _0x505fb5=_0x5671d9(0xf6),_0x42a752=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x360bd8,_0x35a366,_0x28c488,_0x1e43cb,_0x3aff4f,_0x18e4b4){const _0x61130a=_0x5671d9;super(),this[_0x61130a(0x220)]=_0x360bd8,this[_0x61130a(0x116)]=_0x35a366,this[_0x61130a(0x306)]=_0x28c488,this[_0x61130a(0x434)]=_0x1e43cb,this[_0x61130a(0x42d)]=_0x3aff4f,this['_shapeFloatingToolbarService']=_0x18e4b4,_0x20dccc(this,_0x61130a(0x447),!0x1),this[_0x61130a(0x220)][_0x61130a(0x461)](_0x5c037d),this[_0x61130a(0x252)]((0x0,_0x383631[_0x61130a(0x292)])(this['_drawingManagerService'][_0x61130a(0x262)][_0x61130a(0x317)](()=>this[_0x61130a(0x23f)]()))),this[_0x61130a(0x23f)]();}[_0x5671d9(0x39f)](){const _0x4dbb58=_0x5671d9;this['_shapeFloatingToolbarService'][_0x4dbb58(0x25f)](!0x1,_0x505fb5),this['_hide'](),super['dispose']();}[_0x5671d9(0x23f)](){const _0x387e24=_0x5671d9;var _0x3dc148;let _0x58b653=this['_drawingManagerService'][_0x387e24(0x486)](),_0x45e149=_0x58b653[_0x387e24(0x175)]===0x1?_0x58b653[0x0]:void 0x0;if((_0x45e149==null?void 0x0:_0x45e149[_0x387e24(0x3d6)])!==_0x383631['DrawingTypeEnum'][_0x387e24(0x456)]||this['_univerInstanceService'][_0x387e24(0x129)](_0x45e149[_0x387e24(0x173)])!==_0x383631[_0x387e24(0x363)][_0x387e24(0x3e4)]){this[_0x387e24(0x30e)][_0x387e24(0x25f)](!0x1,_0x505fb5),this['_hide']();return;}let _0xa4f7bd=(_0x3dc148=this[_0x387e24(0x42d)][_0x387e24(0x1fa)](_0x45e149['unitId']))==null?void 0x0:_0x3dc148['engine'][_0x387e24(0x218)](),_0x1307bf=(0x0,_0x2a9d6c[_0x387e24(0x198)])(_0xa4f7bd)===_0x387e24(0x4cf);if(this[_0x387e24(0x30e)][_0x387e24(0x25f)](_0x1307bf,_0x505fb5),_0x1307bf){this['_hide']();return;}this[_0x387e24(0x447)]||(this[_0x387e24(0x447)]=!0x0,this[_0x387e24(0x116)][_0x387e24(0x271)](_0x8c3839,{'activate':!0x0}));}['_hide'](){const _0x502ae6=_0x5671d9;this[_0x502ae6(0x447)]&&(this[_0x502ae6(0x447)]=!0x1,this['_ribbonService']['hideContextualTab'](_0x8c3839),this[_0x502ae6(0x116)][_0x502ae6(0x399)]([]));}};_0x42a752=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,_0x2f96d6['IRibbonService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631['IUniverInstanceService']),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)]),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x2a9d6c[_0x5671d9(0x259)]))],_0x42a752);let _0x56ef85=class extends _0x2a9d6c[_0x5671d9(0x1ba)]{constructor(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1){super(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1,{'componentKey':_0x472fad,'editorUnitId':_0x919f0e});}};_0x56ef85=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1a7a3e[_0x5671d9(0x2a7)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x39d)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x15e)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x476)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x1a7a3e[_0x5671d9(0x4d0)])),_0x4177c4(0x8,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b['DocRenderController'])),_0x4177c4(0x9,(0x0,_0x383631['Inject'])(_0xc020ee))],_0x56ef85);let _0x5e1c7f=class extends _0x2a9d6c[_0x5671d9(0x2d0)]{constructor(_0x2d0f62,_0x245770,_0x4c03ba,_0x50ecc2,_0x5b81a4){const _0x305ba9=_0x5671d9;super(_0x2d0f62,_0x245770,{'editing$':_0x4c03ba['editingParams$'],'resolve':_0x2f5d50=>{const _0x2fb63d=_0x43eb;var _0x26a2ca,_0x26b298,_0x5548c8;let _0x127484=new _0x1c3608[(_0x2fb63d(0x266))](_0x2f5d50[_0x2fb63d(0x388)],_0x2f5d50[_0x2fb63d(0x41c)]),_0x4c2532=((_0x26a2ca=_0x2d0f62[_0x2fb63d(0x333)]['getActiveViewportByCoord'](_0x127484))==null?void 0x0:_0x26a2ca[_0x2fb63d(0x184)](_0x127484))??_0x127484,_0x4c81bd=(0x0,_0x2a9d6c[_0x2fb63d(0x28f)])(_0x2d0f62[_0x2fb63d(0x333)][_0x2fb63d(0x3ed)](_0x127484)??null,_0x4c2532);if(!(_0x4c81bd instanceof _0x23237e))return null;let _0x478971=_0x4c81bd[_0x2fb63d(0x469)](_0x4c2532);if(!_0x478971)return null;let _0x199ff9=_0x4c81bd,_0x195d19={'componentKey':_0x2a9d6c[_0x2fb63d(0x4a3)][_0x2fb63d(0x3f6)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x245770[_0x2fb63d(0x3f9)]()};return{'object':_0x4c81bd,'info':{..._0x478971,'unitId':_0x4c81bd['unitId'],'subUnitId':_0x4c81bd[_0x2fb63d(0x135)],'shapeKey':_0x4c81bd['oKey'],'readonly':!0x0,'copyable':((_0x26b298=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x296))](_0x4c81bd['unitId'])['id']))==null?void 0x0:_0x26b298[_0x2fb63d(0x320)])!==!0x1&&((_0x5548c8=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x308))](_0x4c81bd['unitId'],_0x4c81bd[_0x2fb63d(0x135)])['id']))==null?void 0x0:_0x5548c8[_0x2fb63d(0x320)])!==!0x1},'attachPopup':()=>_0x50ecc2['attachPopupToObject'](_0x199ff9,_0x195d19)};}}),this[_0x305ba9(0x252)](_0x2d0f62[_0x305ba9(0x41b)][_0x305ba9(0x410)][_0x305ba9(0x317)](()=>this[_0x305ba9(0x2e9)]()));}};_0x5e1c7f=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x495)])],_0x5e1c7f);let _0x46561a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x242815,_0x441818,_0x36bbb8,_0x1a0c81,_0x11f8c7,_0x32dc44,_0x19df40,_0x29ec6e,_0x364ac0,_0x1d0506,_0x58bae1){const _0x4648de=_0x5671d9;super(),this[_0x4648de(0x434)]=_0x242815,this[_0x4648de(0x45f)]=_0x441818,this['_menuManagerService']=_0x36bbb8,this[_0x4648de(0xd0)]=_0x1a0c81,this[_0x4648de(0x114)]=_0x11f8c7,this['_commandService']=_0x32dc44,this[_0x4648de(0x306)]=_0x19df40,this[_0x4648de(0x26a)]=_0x29ec6e,this['_contextService']=_0x364ac0,this[_0x4648de(0x42d)]=_0x1d0506,this[_0x4648de(0x375)]=_0x58bae1,_0x20dccc(this,'_sidebarDisposable',null),_0x20dccc(this,_0x4648de(0x16a),null),_0x20dccc(this,_0x4648de(0x12e),!0x1),_0x20dccc(this,'_shapeEditPanelVersion',0x0),_0x20dccc(this,_0x4648de(0x2a8),null),_0x20dccc(this,_0x4648de(0x3ae),[]),this[_0x4648de(0xe1)](),this[_0x4648de(0x252)](this[_0x4648de(0x434)]['getCurrentTypeOfUnit$'](_0x383631[_0x4648de(0x363)]['UNIVER_SHEET'])['subscribe'](_0x5e9aef=>{const _0x3f4a2f=_0x4648de;if(!_0x5e9aef){var _0x3ca205;(_0x3ca205=this[_0x3f4a2f(0x39e)])==null||_0x3ca205['dispose']();}})),this[_0x4648de(0x2df)](),this[_0x4648de(0x380)](),this['disposeWithMe'](this[_0x4648de(0x375)][_0x4648de(0x3d8)][_0x4648de(0x317)](_0x1777a6=>{const _0x3f3e91=_0x4648de;_0x1777a6&&this[_0x3f3e91(0x1ab)]();}));}[_0x5671d9(0xe1)](){const _0x4bf4f4=_0x5671d9;this['_menuManagerService'][_0x4bf4f4(0x461)](_0x3c6f17);}[_0x5671d9(0x380)](){const _0x2ed499=_0x5671d9;this[_0x2ed499(0x2a8)]||=this['disposeWithMe']((0x0,_0x2a9d6c[_0x2ed499(0x297)])(this[_0x2ed499(0x42d)],_0x383631[_0x2ed499(0x363)]['UNIVER_SHEET'],_0x101833=>this[_0x2ed499(0xf3)](_0x101833)));}['_getShapeInfo'](_0x3d6d79,_0x35ef3f,_0x20577d){const _0x569439=_0x5671d9;let _0x2f17e5=this[_0x569439(0xd0)][_0x569439(0x4d1)](_0x3d6d79,_0x35ef3f,_0x20577d),_0x5c9b41=this[_0x569439(0xd0)][_0x569439(0x21f)](_0x3d6d79,_0x35ef3f,_0x20577d);return _0x2f17e5!==void 0x0&&_0x5c9b41!==void 0x0?{'shapeData':_0x5c9b41,'shapeId':_0x20577d,'shapeType':_0x2f17e5,'unitId':_0x3d6d79,'subUnitId':_0x35ef3f,'version':this[_0x569439(0xe9)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x34bc24=_0x5671d9;this[_0x34bc24(0x3ae)][_0x34bc24(0x3a7)](_0x55b675=>_0x55b675[_0x34bc24(0x39f)]()),this[_0x34bc24(0x3ae)]['length']=0x0;}[_0x5671d9(0xf3)](_0x5c3712){const _0x4597f4=_0x5671d9;let _0x4060e9=new _0x383631['DisposableCollection']();return _0x4060e9[_0x4597f4(0x338)](_0x5c3712['createControl$'][_0x4597f4(0x317)](()=>{const _0x24222f=_0x4597f4;let _0x59a035=_0x5c3712['getSelectedObjectMap']();if(this[_0x24222f(0x1ab)](),this[_0x24222f(0x12e)]||_0x59a035[_0x24222f(0x23c)]>0x1)return;let _0x5b932b=_0x59a035[_0x24222f(0x206)]()[_0x24222f(0x289)]()[_0x24222f(0x320)];if(!_0x5b932b)return;let _0x18181a=this[_0x24222f(0x306)][_0x24222f(0x1ae)](_0x5b932b[_0x24222f(0x1ed)]);if(!_0x18181a||_0x18181a[_0x24222f(0x3d6)]!==_0x383631[_0x24222f(0x286)][_0x24222f(0x456)])return;let {unitId:_0x28f457,subUnitId:_0x1b3e8a,drawingId:_0x5d3850,drawingType:_0x585eef}=_0x18181a,_0x463958=this[_0x24222f(0x1ee)](_0x28f457,_0x1b3e8a,_0x5d3850);if(!_0x463958)return;this[_0x24222f(0x432)][_0x24222f(0x494)](_0x383631[_0x24222f(0xdf)],!0x0);let _0x3af47f=this[_0x24222f(0x42d)][_0x24222f(0x1fa)](_0x28f457),_0x42a65a=((_0x3af47f==null?void 0x0:_0x3af47f['isMainScene'])===!0x1?_0x3af47f[_0x24222f(0x438)](_0x261221[_0x24222f(0x278)]):this[_0x24222f(0x26a)])[_0x24222f(0x2ed)](_0x5b932b,{'componentKey':_0x2a2c50,'direction':_0x24222f(0x3a3),'offset':[0x0,_0x2a9d6c[_0x24222f(0x38e)]],'extraProps':{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850,'drawingType':_0x585eef,'shapeType':_0x463958[_0x24222f(0x138)],'shapeData':_0x463958[_0x24222f(0x1a0)]}});this[_0x24222f(0x3ae)][_0x24222f(0x27e)](this[_0x24222f(0x252)](_0x42a65a)),this[_0x24222f(0x306)][_0x24222f(0x486)]()[_0x24222f(0x3de)](_0x20baf1=>_0x20baf1['unitId']===_0x28f457&&_0x20baf1[_0x24222f(0x135)]===_0x1b3e8a&&_0x20baf1[_0x24222f(0x493)]===_0x5d3850)||this[_0x24222f(0x306)]['focusDrawing']([{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850}]);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x3ce)][_0x4597f4(0x317)](()=>{const _0x5b02e8=_0x4597f4;this[_0x5b02e8(0x1ab)](),this[_0x5b02e8(0x432)][_0x5b02e8(0x494)](_0x383631[_0x5b02e8(0xdf)],!0x1),this['_drawingManagerService'][_0x5b02e8(0x29c)](null);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x1f8)][_0x4597f4(0x317)](()=>{this['_clearPopups']();})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x443)][_0x4597f4(0x317)](()=>{const _0x290874=_0x4597f4;this[_0x290874(0x1ab)]();})),(0x0,_0x383631[_0x4597f4(0x292)])(()=>{const _0x150870=_0x4597f4;_0x4060e9[_0x150870(0x39f)](),this[_0x150870(0x1ab)]();});}[_0x5671d9(0x2df)](){const _0x4dd1d6=_0x5671d9;this[_0x4dd1d6(0x252)](this[_0x4dd1d6(0x39a)][_0x4dd1d6(0x15d)](_0x4e7100=>{const _0x4407c7=_0x4dd1d6;if(_0x4e7100['id']===_0x57e247['id']){let {unitId:_0xb85ecc,subUnitId:_0x5dd1af,drawingId:_0x8a57b2}=_0x4e7100['params'];this[_0x4407c7(0xe9)]+=0x1,this['_activeShapeInfo']=this[_0x4407c7(0x1ee)](_0xb85ecc,_0x5dd1af,_0x8a57b2),this[_0x4407c7(0x1ab)](),this[_0x4407c7(0x177)]();}if(_0x4e7100['id']===_0x24f5aa['id']&&(this[_0x4407c7(0x16a)]=null,this[_0x4407c7(0xd7)]()),_0x4e7100['id']===_0x276c17[_0x4407c7(0x250)]['id']){let {unitId:_0x208c36,subUnitId:_0x8992bc,shapeId:_0x17152d}=_0x4e7100[_0x4407c7(0x4a7)];if(this[_0x4407c7(0x16a)]&&this[_0x4407c7(0x16a)][_0x4407c7(0x37d)]===_0x17152d){let _0x4b5d9a=this[_0x4407c7(0x1ee)](_0x208c36,_0x8992bc,_0x17152d);_0x4b5d9a&&(this[_0x4407c7(0xe9)]+=0x1,_0x4b5d9a[_0x4407c7(0x3e6)]=this[_0x4407c7(0xe9)],this[_0x4407c7(0x16a)]=_0x4b5d9a,this[_0x4407c7(0x12e)]&&this[_0x4407c7(0x177)]());}}})),this['disposeWithMe'](this[_0x4dd1d6(0x306)]['focus$'][_0x4dd1d6(0x317)](_0x3f376f=>{const _0x143aa7=_0x4dd1d6;if(this[_0x143aa7(0x12e)]===!0x1)return;if(_0x3f376f[_0x143aa7(0x175)]===0x0){this['_activeShapeInfo']=null,this[_0x143aa7(0xd7)]();return;}if(_0x3f376f['length']===0x1&&_0x3f376f[0x0][_0x143aa7(0x3d6)]===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]&&(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0][_0x143aa7(0x135)],_0x3f376f[0x0][_0x143aa7(0x493)]),this[_0x143aa7(0x16a)])){this[_0x143aa7(0x177)]();return;}let _0x39cce8=_0x3f376f[_0x143aa7(0x265)](_0x3732f0=>_0x3732f0['drawingType']===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]);if(_0x3f376f[_0x143aa7(0x175)]>0x1&&_0x39cce8[_0x143aa7(0x175)]===_0x3f376f[_0x143aa7(0x175)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x177)]();return;}}else{if(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this['_getShapeInfo'](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x16a)]['disableShapeOption']=!0x0,this[_0x143aa7(0x177)]();return;}}this['_closeShapeEditPanel']();}));}[_0x5671d9(0x177)](){const _0x2b198d=_0x5671d9;this[_0x2b198d(0x16a)]&&(this[_0x2b198d(0x39e)]=this[_0x2b198d(0x45f)][_0x2b198d(0x24c)]({'id':_0x56e257,'header':{'title':this[_0x2b198d(0x114)]['t'](_0x2b198d(0x17b))},'width':0x184,'children':{'label':_0x56e257,...this['_activeShapeInfo']},'onClose':()=>{const _0x24df48=_0x2b198d;this[_0x24df48(0x306)]['focusDrawing'](null),this[_0x24df48(0x432)][_0x24df48(0x494)](_0x383631[_0x24df48(0xdf)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x25dccf=_0x5671d9;this[_0x25dccf(0x12e)]=!0x1,this['_sidebarService'][_0x25dccf(0x274)](_0x56e257),this[_0x25dccf(0x39e)]=null,this[_0x25dccf(0x432)][_0x25dccf(0x494)](_0x383631['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x25dccf(0x306)][_0x25dccf(0x29c)](null);}};_0x46561a=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x31a)])),_0x4177c4(0x2,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x6,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x8,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x9,_0x1c3608['IRenderManagerService']),_0x4177c4(0xa,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x46561a);let _0x4d238c=class extends _0x383631['Plugin']{constructor(_0x3aa7b2=_0xda7fc9,_0x460371,_0x4509d3,_0x4812c3,_0x5ab852){const _0x2e7e9b=_0x5671d9;super(),this[_0x2e7e9b(0x46f)]=_0x3aa7b2,this[_0x2e7e9b(0x1ef)]=_0x460371,this[_0x2e7e9b(0x39a)]=_0x4509d3,this[_0x2e7e9b(0x1b1)]=_0x4812c3,this[_0x2e7e9b(0x42d)]=_0x5ab852;let {..._0x8692db}=(0x0,_0x383631[_0x2e7e9b(0xce)])({},_0xda7fc9,this[_0x2e7e9b(0x46f)]);this[_0x2e7e9b(0x1b1)][_0x2e7e9b(0x2d5)](_0x317c0c,_0x8692db),this[_0x2e7e9b(0x3c8)]();}[_0x5671d9(0x28d)](){const _0x355bb0=_0x5671d9;this[_0x355bb0(0x42d)][_0x355bb0(0x191)](_0x383631[_0x355bb0(0x363)][_0x355bb0(0x354)],[_0x56ef85]),(0x0,_0x383631[_0x355bb0(0xf5)])(this['_injector'],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31]]);}[_0x5671d9(0x24d)](){const _0xc58d8b=_0x5671d9;this[_0xc58d8b(0x1ef)]['get'](_0x46561a)['initShapePopupMenu']();}['onReady'](){const _0x2a025c=_0x5671d9;[[_0x53dc4d],[_0x243401],[_0x544c39]]['forEach'](_0x2a6760=>this['_injector'][_0x2a025c(0x338)](_0x2a6760)),(0x0,_0x383631[_0x2a025c(0xf5)])(this['_injector'],[[_0x544c39],[_0x243401]]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x53dc4d]),this[_0x2a025c(0x42d)]['registerRenderModule'](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x2d7d8a]),this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x2d0bb9]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x1b14da]),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x5e1c7f])),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x9e8d4d]));}[_0x5671d9(0x35f)](){const _0x548729=_0x5671d9;this[_0x548729(0x1ef)][_0x548729(0x338)]([_0x581450]),this[_0x548729(0x1ef)][_0x548729(0x4be)](_0x581450);let _0x4e3e83=this['_injector'];[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]][_0x548729(0x3a7)](_0x47ae9a=>_0x4e3e83[_0x548729(0x338)](_0x47ae9a)),(0x0,_0x383631['touchDependencies'])(this[_0x548729(0x1ef)],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]]);}[_0x5671d9(0x3c8)](){const _0x37e641=_0x5671d9;[_0x45134c,_0x57882a,_0x24f5aa,_0x57e247,_0x5ad9f8,_0x39b8fc,_0x748f1e,_0x3a751e][_0x37e641(0x3a7)](_0x39014a=>this[_0x37e641(0x252)](this[_0x37e641(0x39a)][_0x37e641(0x37f)](_0x39014a)));}};_0x20dccc(_0x4d238c,'type',_0x383631[_0x5671d9(0x363)][_0x5671d9(0x3e4)]),_0x20dccc(_0x4d238c,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x4d238c,'packageName',_0x42e456),_0x20dccc(_0x4d238c,_0x5671d9(0x3e6),_0x1bfefd),_0x4d238c=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593[_0x5671d9(0x3a6)],_0x129810[_0x5671d9(0x340)],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b['UniverDocsUIPlugin'],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f['UniverSheetsDrawingUIPlugin'],_0x276c17['UniverSheetsShapePlugin'],_0x261221[_0x5671d9(0x2dd)],_0x2a9d6c[_0x5671d9(0x1c3)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631['ICommandService']),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x4d238c),_0x507edb['SheetsShapeUIContextualRibbonSchema']=_0x5c037d,_0x507edb['SheetsShapeUIMenuSchema']=_0x3c6f17,Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x26e),{'enumerable':!0x0,'get':function(){return _0x2ce7ec;}}),Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x31d),{'enumerable':!0x0,'get':function(){return _0x4d238c;}});}));function _0x43eb(_0x2e9b4f,_0x445b2d){_0x2e9b4f=_0x2e9b4f-0xc2;const _0x5c87d0=_0x5c87();let _0x43ebbc=_0x5c87d0[_0x2e9b4f];return _0x43ebbc;}function _0x5c87(){const _0x5528f6=['fillType','assign','onSavingEditorData$','setShapeData','setFillImage','entries','sheets-shape-ui.editText','setCursor','REMOVE','_init','drawing-ui.objectListPanel.typeNames.','error','_handleConnectedEndpointPointerUp','popup','onReady','ObjectListPanelBase','_initEditingParams','sheets-shape-ui.insertShape','sheets-shape-ui.objectListPanel.open','_createShapeAdjustControls','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_drawingManagerService','M2.2\x208H3.8','WorksheetCopyPermission','1em','sheetViewStartColumn','actions','drawing-ui.objectListPanel.empty','shape-text-','_shapeFloatingToolbarService','clipTop','refreshAdjustControls','sheet.operation.apply-shape-quick-style','iterator','isReleased','routeConnectorLineShape','transformByState','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','subscribe','isRichText','LEFT','ISidebarService','ang','interceptor','UniverSheetsShapeUIPlugin','getScene','ShapeRenderModeEnum','value','0\x200\x2016\x2016','getCurrentUnitInfo','setPrstGeomAdjValues','_attachAdjustEvent','_initPermission','MobileObjectListPanel','getObjectIncludeInGroup','getMenuHiddenObservable','getBatchAddOp','deriveStateFromActiveSheet$','point','left','set','vertical','gradientEndColor','BehaviorSubject','non-scaling-stroke','_hyperLinkRegions','scene','_getConnectPointInfo','mask','_drawRichText','_addShapeAdjustControl','add','formulaBinding','makeDirty','ShapeFormatSettingIcon','drawing-ui.objectListPanel.locate','pipe','getPropertyValue','topmost-icon','UniverDrawingUIPlugin','sheets-shape-ui','parse','isHit','sheets-shape-ui.flipVertical','move-down-icon','FlipVerticalIcon','getShapeType','_rerouteConnectorLine','UndoRedoGroupService','FlipHorizontalIcon','_iconManager','startWith','#1a73e8','redo','function','_updateAdjustControlPositions','FormatPainterSessionService','getState','originalStrokeWidth','UNIVER_DOC','resolveShapeTextDocumentPageHeight','fillImageSourceType','clip','getUnitId','startConnectionDetection','Disposable','isLineShape','Arrow','getMatrix','getShapeTextRect','onStarting','indexOf','OTHERS','getViewportByCell','UniverInstanceType','permissionPointUpdate$','_registerDrawingFocusChangeHandler','enableObjectsEvent','shape-editor-ui.arrange.forward','index','forward','_getImageDrawingInfo','UniverShapeEditorMobileUIPlugin','_getZoomRatio','ShapeEditPanel','UniverDesign','sheets-shape-text-','PaintIcon','drawing-ui.objectListPanel.expand','removeProperty','415372RWyiNA','rotation','_shapeTextEditingService','resolveActiveShapeQuickStylePresetId','start','drawing-ui.objectListPanel.lockAll','HorizontalAlign','@univerjs-pro/engine-shape','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','SHAPE_CHANGE_PICKER_COMPONENT','shapeId','shape-editor-ui.arrange.back','registerCommand','initShapePopupMenu','shape-adjust-point-','SheetSkeletonService','mode','ShapeTypeEnum','PictureFill','clearAdjustControls','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','offsetX','cxnPointStroke','drawing-ui.objectListPanel.filterLocked','getPropertyPriority','@univerjs/drawing-ui','MEDIA','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getParent','createControl$','DRAWING','45cewVMi','getCurrentTypeOfUnit$','RemoveSheetsShapeMutation','sheets-shape-ui.quickStyles','BUTTON','_shapeId','shape-editor-ui.arrange.backward','setCollapsedIds','_commandService','getInverseCoord','getStartConnectInfo','DocCanvasPopManagerService','_sidebarDisposable','dispose','renderDrawingShape','trim','sheets-shape-ui.ribbon.shape-format.text-control','vertical-center','UniverDocsPlugin','UniverSheetsShapePlugin','UniverDrawingPlugin','forEach','getShapeModel','fromChangeset','horizontal','_insertingShapeKeys','_drawShapeText','IMenuManagerService','_disposePopups','axisAlignSheetTransform','ToggleSheetsShapeFlipCommand','sheet.shape.edit.panel','0\x200\x2017\x2016','strokeOpacity','fillImageSource','shouldAllowShapeTextEditorHostSizeShrink','getAdjustNames','updateDocumentDataMargin','delete','_initialize','drawing-ui.objectListPanel.sectionFloating','cos','M14\x208H14.2','@univerjs/sheets-ui','http://www.w3.org/2000/svg','_showConnectionSites','SheetDrawingAnchor','_drawingAddListener','changeEnd$','_getShapeAdjustPointListById','StraightConnector1','_editingParams$','fill','resolveShapeTextEditorWrapStrategy','_initCommands','transformToAxisAlignPosition','SetDrawingSelectedOperation','_registerFocusChangeHandler','srcRect','beforeCommandExecuted','clearControl$','getEndConnectInfo','getDrawingDataForUnit','string','worldPoints','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','getObject','_registerMoveHandler','drawingType','UniverProLicense','editingParams$','MenuItemType','map','getBatchRemoveOp','undo','RENDER_CLASS_TYPE','find','ContextMenuGroup','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs/sheets-drawing-ui','SHEET_VIEWPORT_KEY','UniverShapeEditorPlugin','UNIVER_SHEET','copyType','version','syncExecuteCommand','InsertShapeCommand','IContextService','UpdateConnectorRelationCommand','@univerjs/docs-ui','_clearShapeAdjustControls','pick','getFocusedUnit','drawing-ui.objectListPanel.moveBackward','getCurrentSkeleton','None','_clearCompletionFrame','useState','UniverSheetsDrawingMobileUIPlugin','backward','componentKey','_initSheetChange','drawing-ui.objectListPanel.filterHidden','hideInfoPopup','strokeWidth','SheetSkeletonManagerService','_groupCopyPasteController','4371666Orgtxg','getBentTypeFromPoints','colorChannel1','reduce','setHighlighted','BottomIcon','viewportScrollY','skeleton','drawing-ui.objectListPanel.hideAll','defineProperty','SetSheetDrawingCommand','setPrstGeom','_insertShapes','sheet.operation.open-mobile-shape-editor','sheets-shape-ui.config','setFormulaPresentation','CUT','_adjHandlerPointerMove','_generateCutPasteMutations','activeSheet$','image-clip-adjust-point-','ArrangeTypeEnum','jsxs','panel','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','M4.2\x205.5H10.5','sin','draw','svg','onPointerMove$','unit','offsetY','_hasReset','prstGeom','createInternalEditorID','useMemo','IconManager','LocaleService','shouldClipShapeTextDocument','@univerjs-pro/shape-editor','stopPropagation','ComponentManager','addClipboardHook','min','_componentManager','useId','worldRect','IUndoRedoService','_renderManagerService','onerror','Shape','flatMap','DrawingCommonPanel','_contextService','MobileShapeEditorService','_univerInstanceService','type','10456ZwOlwx','getBatchUpdateOp','with','width','setProperty','scale','_baseLeft','wrapStrategy','drawing-ui.objectListPanel.lock','@univerjs/design','getAdjustValueByName','current','sheets-shape-ui.ribbon.shape-format.formula-control','changeStart$','stroke-width','xlink:href','SheetPrintInterceptorService','_visible','_moveConnectorWithShape','multiply','ShapeFillEnum','sheets-shape-ui.ribbon.shape-format.arrange-front','MobileDropdown','ShapeArrowTypeEnum','useLayoutEffect','drawFormulaShapeAnimationLayers','CROSSHAIR','_clearFocusedShape','stringify','_renderWithCache','M10.2\x208H11.8','element','DRAWING_SHAPE','disableObjectsEvent','URL','_transform','sheet.shape.object-list.panel','_resetState','PREDEFINED_HOOK_NAME','sheets-shape-ui.shape-format.style-ribbon-control','_targetShapeId','_sidebarService','@univerjs/engine-render','mergeMenu','startX','endConnectionDetection','_updateImageAdjValues','CommandType','getOrCreateDrawingCopyPlan','Circle','getTextStyle','resolveHyperLinkAt','useFormulaShapeToolbar','_sheetInterceptorService','animateFormulaPresentation','@univerjs/core','angle','_config','round','_copyInfo','_getSceneAndTransformerByDrawingSearch','_handleConnectorPointerUp','drawing-ui.objectListPanel.collapse','getConnectionSiteList','DocEventManagerService','presetId','_clearShapeConnectorHandlerObjects','_activeAdjustPointList','save','_urlImageService','ObjectLayersIcon','asObservable','_initCopyPaste','createShapeTextBoxShapeData','GROUP','flipY','@univerjs/sheets-drawing','sectionFloating','ShapeFormulaService','attrs','getFocusDrawings','M8\x206.2V7.8','_sheetDrawingShapeRenderController','render','sheet.image-clip.shape-picker.component','calculate','front','SheetPermissionCheckController','_unitId','viewBox','completeEditing','_shapeUpdateListener','getTransformer','drawingId','setContextValue','IPermissionService','994cygEaU','_registerDrawingMoveHandler','react','DependentOn','_baseShapeHeight','defs','2433qPgiSq','refreshTransform','clipByShape','TopmostIcon','vectorEffect','drawing.operation.set-drawing-active','INSERT','ShapeTextHyperLinkInfo','_getScrollInfo','_context','sheet.operation.open-shape-object-list-panel','params','RemoveSheetDrawingCommand','blockExecuteWithoutPermission','_baseShapeWidth','getShapeQuickStyleType','getActualSize','disconnect','canvasElement','translateWithPrecision','sqrt','clone','attachRangeWithCoord','updateLinePoints','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','UniverProSheetsShapeUi','evenodd','buildClipPath','refreshShapeFillImage','UniverProShapeEditor','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','getDrawingOrder','getAutoFitPresentations','getShapeTextData','get','_updateTransform','add$','default','_applyFormulaAutoFitSize','register','getConnectorLinePoints','prstGeomAdjValues','createElement','Injector','constructor','_createCopyInfoByRange','baseVal','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_baseHeight','getDrawingSearch','UniverDocs','isolated','DocInterceptorService','getShapeTypeById','isConnectorShape','_clearControls','path','preValue','_shapeService','_commandExecutedListener','restore','ancestorTransform','shapeModel','targetShapeId','cxnIndex','_createControls','pluginName','merge','shape-editor-ui.arrange.front','_sheetsShapeService','PRINTING_COMPONENT_COLLECT','Transform','_initSelection','getDrawingVisible','_releaseRenderCache','Image','_closeShapeEditPanel','Observable','cxnPointRadius','drawWith','sheetViewStartRow','setShouldShowAdjust','COPY_TYPE','resize','FOCUSING_COMMON_DRAWINGS','108048DaWdMR','_initMenu','clip-adj-','sheets-shape-ui.shape-format.quick-style-gallery','_loadAndSetImage','onPointerDown$','#bcbcbc','text','getShapeData','_shapeEditPanelVersion','SheetsSelectionsService','insertGroupObject','sheets-shape-ui.shape-format.formula-ribbon-control','transformToDrawingPosition','CopySheetCommand','DocumentSkeleton','has','IDrawingManagerService','rxjs','_popupMenuListener','CURSOR_TYPE','touchDependencies','sheets-shape-contextual-ribbon','localToWorld','ShapeFloatingToolbar','_findShapeAtPoint','RemoveSheetCommand','sheet.menu.shape.flip-vertical','_sheetPrintInterceptorService','isArray','1.0.3','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_sheetShapeAdjustController','_activeTargetShapeId','getActiveSheet','_attachConnectorObjectEvent','ShapeLineTypeEnum','RIBBON','TOP','drawing-ui.objectListPanel.showAll','Medium','hadStyleAttribute','ShapeDefaultConfig','connector-handler-','SELECTOR','UniverProShapeEditorUi','use','_props','IImageIoService','clipHeight','reverse','canvas','_localeService','_adjHandlerPointerUp','_ribbonService','DEFAULT_PASTE','_disposed','includes','getBoundingClientRect','computeConnectorRouteLayout','_handleConnectedEndpointMove','_addShapeConnectorHandlerObject','getTextModel','_handleBasicShapeUpdateConnectorLineShape','normalizeShapeTextModel','WorkbookEditablePermission','UniverSheetsDrawing','adjName','style','bottom-icon','registerFeatureMenu','ShapeTextHyperLinkPopupService','_isConnecting','getUnitType','_focusedDrawings','getAdjustInfoByName','permissionCheckWithoutRange','startArrow','_isOpenedShapeEditPanel','classType','UPDATE','_addShapeConnectorHandlerObjects','defIds','2132124pguktX','_adjName','subUnitId','useEffect','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','shapeType','_connectionSiteObjects','getSheetBySheetId','sheets-shape-ui.editShape','SolidFill','addObject','_highlightedSiteIndex','invert','sheet.shape.picker.component','getCurrentUnitOfType','_handleFreeEndpointPointerUp','_handleFreeEndpointMove','keys','_isHighlighted','fontFamily','getUnit','url(#$1','doc','call','adjHandleSize','RibbonInsertGroup','getDrawingByParam','startY','@univerjs/sheets','ShapeModel','color','onDblclick$','replace','COMMAND','getPresentation','some','jsx','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','animationEnabled','sheets-shape-ui.flipHorizontal','EMPTY','amd','onCommandExecuted','DocSelectionRenderService','idMap','flipX','useRef','computeConnectorResizeLayout','ShapeArrowSizeEnum','onTransformChange$','unsubscribe','_activeShapeId','visible','MoveUpIcon','FormulaShapeAnimationController','_activeShapeInfo','updateShapeFillImage','adjustValues','getEditing','_executeConnectedRouteConnectionCommand','_cxtHandlerPointerMove','UniverDrawing','applyQuickStyleToShapeData','setShapeProps','unitId','_calculateFreeEndpointAngle','length','_baseWidth','_openShapeEditPanel','getTransformerByCreate','isEditing','subscribeEvent','sheets-shape-ui.formatShape','_drawRichTextLayer','getCurrentRangeDisable$','_clipService','observe','_baseTop','featurePluginUpdateNotification','_activeShapeAdjustPointList','_drawingRenderService','transformVector2SceneCoord','hidden','isDrawingObject','_imageShapeClipController','SheetsShapeService','@univerjs/ui','UniverEngineRender','_isShouldShowDrawingShapeAdjust','_registerIcons','UUID','isHorizontal','Inject','abs','registerRenderModule','displayName','stroke','_activeShapeModel','MoveDownIcon','isFinite','_initEvents','resolveShapeContextualRibbonHostMode','activeAnObject','setSrcRect','Large','ShapeIcon','_currentConnectionTarget','useDependency','_registerGroupFeaturePasteHook','shapeData','_connectorObjects','UniverMobileUIPlugin','resourceCollector','UniverProSheetsShape','isStartConnectorPoint','sheets-shape-ui.imagePanel.crop.shape','div','relation','_generateCopyPasteMutations','beginPath','_clearPopups','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','IConfigService','getDrawingOKey','updateDocumentStyle','localeService','_configService','_initPrinting','drawing-ui.objectListPanel.description','fontSize','SheetScrollManagerService','_cxtHandlerPointerUp','connection-site-','_getConnectionSiteAngle','buildShapeTextDataUpdate','ShapeTextFloatMenuRenderControllerBase','getOwnPropertyDescriptor','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','switchMap','parseFloat','@univerjs/drawing','toStringTag','sheet.operation.open-sheet-shape-format-panel','ShapeTextFloatToolbar','UniverShapeEditorUIPlugin','tag','children','objects','updateConnectionDetection','_getDrawingRect','dataModel','applyPoint','getContextValue','sheets-shape-ui.shape-format.text-ribbon-control','lineShapeId','addImageSourceCache','onload','rect','20knarlt','_updateSrcRectByTransform','_transformCalculateSrcRect','sheet.command.menu-insert-shape','remove$','SolidLine','clearActiveDrawingObjects','M8\x202.2V3.8','resolveShapeTextEditorBehaviorShapeData','UniverCore','changeShapeType','selectable','@univerjs-pro/sheets-shape-ui','_sheetBasicShapeConnectionPointController','ContextMenuPosition','isRenderLinePointsMode','top','clip-','translate','sheetTransform','getZoomRatio','DrawingApplyType','_isStartAdjusting','getSkeleton','setOnSavingEditorData','getValue','removeLinePoints','SheetShapeTextEditorContainer','oKey','_getShapeInfo','_injector','_subUnitId','44RItRzm','lineType','_registerImageShapeClipDelegate','Documents','_formulaAnimation','ImageSourceTypeEnum','IUniverInstanceService','changing$','executeCommand','getRenderUnitById','object-layers-icon','extraProps','IRenderManagerService','drawing-ui.objectListPanel.name','description','drawing-ui.objectListPanel.descriptionPlaceholder','getDrawingShapeKeyByDrawingSearch','plainShapeTextToDocumentData','clearAdjustValue','ToggleShapeFloatingToolbarOperation','_permissionService','values','getDrawingTypeNameKey','_lastEditingShapeKey','_baseDrawingRect','_sheetPermissionCheckController','getPermissionPoint','idSuffix','UniverProEngineShape','_isDrawingShapePointDown','interceptCommand','Module','contentHeight','flip-vertical-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','getCurrentScrollState','InsertSheetsShapeMutation','_baseShapeTop','DRAWING_IMAGE','getCanvasElement','drawing-ui.objectListPanel.title','resolveFormulaShapeAutoFitSize','_sheetClipboardService','_registerFeatureMenu','_executeResizeCommand','shapeKey','getShapeDataById','_menuManagerService','drawing-ui.objectListPanel.nameInput','_cxnIndex','currentColor','sheet.operation.update-shape-type','isHighlighted','SheetInterceptorService','adjHandleFill','ShapePickerPanel','OPERATION','flip-horizontal-icon','getConnectionInfo','createShapeFormulaDocument','isRender','_completionFrame','#FFFFFF','UniverRenderEnginePlugin','sheets-shape-format-font-family-menu','adjHandleStroke','visible$','UniverDocsUIPlugin','FromArray','_shapes','UniverSheetsPlugin','resetCursor','_sheetDrawingService','_activeAdjustInfo','OBJECT_LIST_FLOATING_SECTION_ID','size','_draw','setCanUseShapeClip','_update','react/jsx-runtime','_reset','packageName','onPointerUp$','shapeText','_shapeFormulaService','_isStartConnectorPoint','getDrawingPoints','ISheetDrawingService','_getOrCreateShapeModel','title','getSkeletonParam','open','onSteady','ICommandService','getDrawingData','UpdateSheetsShapeDataMutation','getCurrentLastSelection','disposeWithMe','_currentUniverService','_registerComponents','_getImagePrstGeom','_loadShapePictureFill','getVisible','_activeImageId','ShapeFloatingToolbarService','sheets-shape-ui.deleteShape','setPresentation','M4.2\x208.3H6.8','cloneShapeDataForType','_setTransForm','setFallbackVisible','endArrow','SHEET_SHAPE_UI_PLUGIN','focus$','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','drawing-ui.objectListPanel.close','filter','Vector2','unregister','prototype','UniverIcon','_sheetCanvasPopManagerService','_executeConnectionCommand','none','_formulaShapes','UniverSheetsShapeMobileUIPlugin','useObservable','_clearConnectionSites','showContextualTab','forwardRef','refreshFormulaPresentation','close','getRealBound','1041230CYOTnH','SHAPE','SheetCanvasPopManagerService','name','React','getBasicShapeRotateBound','ShapeGroupEnum','#4285f4','push','Fragment','_draggingConnectorId','_shapeRenderController','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getSheetCommandTarget','SetDrawingApplyMutation','debounceRefreshControls','DrawingTypeEnum','ShapeTextEditorContainer','updateContext','next','DRAWING_OBJECT_LAYER_INDEX','Plugin','_formulaKey','onRendered','@univerjs-pro/sheets-shape','resolveShapeTextHyperLinkObject','setAdjustValueByName','_currentScene','toDisposable','WorksheetEditPermission','update$','appliedStrokeWidth','WorkbookCopyPermission','bindRenderTransformerLifecycle','UniverDocsUi','DisposableCollection','resolveShapeTextDocumentRenderLayout','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','focusDrawing','generateRandomId','UniverSheetsDrawingUi','Line','_imageIoService','UniverSheets','isHitLine','sheets-shape-ui.permission.editErr','getShapeQuickStylePreset','cancelEditing','object','DocSelectionManagerService','_shapePopupMenuDisposable','UniverSheetsDrawingPlugin','VerticalAlign','_updateShapeAdjustControls','hasAttribute','composeMatrix','shape-editor-ui.toolbar.quickStyles','custom','priority','isCurvedConnectorShape','setEditing','toFixed','SHAPE_EDITOR_TRANSFORMER_CONFIG','contentVerticalOffset','toPrimitive','ShapeStyleRibbonControl','UniverLicensePlugin','getObjectListPanelSectionIdForDrawingType','SHEET','_executeConnectedRouteResizeCommand','registerShapeFormatPainter','prepareShapeTextDocumentData','decorate','sheets-shape-ui.title','from','target','registerDependencies','worldPoint','image','getConnectionRelation','transform','drawing-ui.objectListPanel.search','M8\x2010.2V11.8','cxnPointStrokeWidth','SetDrawingArrangeCommand','src','sheets-shape-ui.ribbon.shape-format.arrange-back','_index','UniverUi','SheetsDrawingGroupCopyPasteController','ShapeTextHyperLinkHoverController','end','drawing-ui.objectListPanel.unlockHint','normal','_isImagePointerDown','setConfig','_findNearestConnectionSite','cxnPointFill','viewportScrollX','_drawingType','1336rzsDRC','VIEW_MAIN_LEFT','_baseShapeLeft','UniverSheetsUIPlugin','sheet.menu.shape.flip-horizontal','_registerOperations','_onSavingEditorData$','@univerjs-pro/shape-editor-ui','symbol','drawing-ui.objectListPanel.details','DrawingImageClipService','_getShapeAdjustInfosById','sheet.command.update-shape-data','_canEdit','isInGroup','clear','height','_sheetSkeletonService','ConnectorCoordinateTransform','attachPopupToObject','bottom','shape-editor-ui.toolbar.changeShape','copyId'];_0x5c87=function(){return _0x5528f6;};return _0x5c87();}