@univerjs-pro/docs-shape-ui 0.24.0-insiders.20260528-29f582d

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 (140) hide show
  1. package/README.md +43 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/cjs/locale/ar-SA.js +1 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -0
  5. package/lib/cjs/locale/de-DE.js +1 -0
  6. package/lib/cjs/locale/en-US.js +1 -0
  7. package/lib/cjs/locale/es-ES.js +1 -0
  8. package/lib/cjs/locale/fa-IR.js +1 -0
  9. package/lib/cjs/locale/fr-FR.js +1 -0
  10. package/lib/cjs/locale/id-ID.js +1 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  12. package/lib/cjs/locale/ja-JP.js +1 -0
  13. package/lib/cjs/locale/ko-KR.js +1 -0
  14. package/lib/cjs/locale/pl-PL.js +1 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  16. package/lib/cjs/locale/ru-RU.js +1 -0
  17. package/lib/cjs/locale/sk-SK.js +1 -0
  18. package/lib/cjs/locale/vi-VN.js +1 -0
  19. package/lib/cjs/locale/zh-CN.js +1 -0
  20. package/lib/cjs/locale/zh-HK.js +1 -0
  21. package/lib/cjs/locale/zh-TW.js +1 -0
  22. package/lib/es/index.js +1 -0
  23. package/lib/es/locale/ar-SA.js +1 -0
  24. package/lib/es/locale/ca-ES.js +1 -0
  25. package/lib/es/locale/de-DE.js +1 -0
  26. package/lib/es/locale/en-US.js +1 -0
  27. package/lib/es/locale/es-ES.js +1 -0
  28. package/lib/es/locale/fa-IR.js +1 -0
  29. package/lib/es/locale/fr-FR.js +1 -0
  30. package/lib/es/locale/id-ID.js +1 -0
  31. package/lib/es/locale/it-IT.js +1 -0
  32. package/lib/es/locale/ja-JP.js +1 -0
  33. package/lib/es/locale/ko-KR.js +1 -0
  34. package/lib/es/locale/pl-PL.js +1 -0
  35. package/lib/es/locale/pt-BR.js +1 -0
  36. package/lib/es/locale/ru-RU.js +1 -0
  37. package/lib/es/locale/sk-SK.js +1 -0
  38. package/lib/es/locale/vi-VN.js +1 -0
  39. package/lib/es/locale/zh-CN.js +1 -0
  40. package/lib/es/locale/zh-HK.js +1 -0
  41. package/lib/es/locale/zh-TW.js +1 -0
  42. package/lib/index.css +612 -0
  43. package/lib/index.js +1 -0
  44. package/lib/locale/ar-SA.js +1 -0
  45. package/lib/locale/ca-ES.js +1 -0
  46. package/lib/locale/de-DE.js +1 -0
  47. package/lib/locale/en-US.js +1 -0
  48. package/lib/locale/es-ES.js +1 -0
  49. package/lib/locale/fa-IR.js +1 -0
  50. package/lib/locale/fr-FR.js +1 -0
  51. package/lib/locale/id-ID.js +1 -0
  52. package/lib/locale/it-IT.js +1 -0
  53. package/lib/locale/ja-JP.js +1 -0
  54. package/lib/locale/ko-KR.js +1 -0
  55. package/lib/locale/pl-PL.js +1 -0
  56. package/lib/locale/pt-BR.js +1 -0
  57. package/lib/locale/ru-RU.js +1 -0
  58. package/lib/locale/sk-SK.js +1 -0
  59. package/lib/locale/vi-VN.js +1 -0
  60. package/lib/locale/zh-CN.js +1 -0
  61. package/lib/locale/zh-HK.js +1 -0
  62. package/lib/locale/zh-TW.js +1 -0
  63. package/lib/types/command-util.d.ts +19 -0
  64. package/lib/types/commands/command/menu-insert-shape.command.d.ts +20 -0
  65. package/lib/types/commands/operations/close-shape-panel.operation.d.ts +7 -0
  66. package/lib/types/commands/operations/open-shape-panel.operation.d.ts +7 -0
  67. package/lib/types/const.d.ts +3 -0
  68. package/lib/types/controllers/config.schema.d.ts +7 -0
  69. package/lib/types/controllers/doc-shape-adjust.controller.d.ts +43 -0
  70. package/lib/types/controllers/doc-shape-render.controller.d.ts +24 -0
  71. package/lib/types/controllers/docs-shape-ui.controller.d.ts +64 -0
  72. package/lib/types/controllers/image-shape-clip.controller.d.ts +11 -0
  73. package/lib/types/controllers/menu.schema.d.ts +2 -0
  74. package/lib/types/controllers/shape-text-editing.render-controller.d.ts +22 -0
  75. package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +18 -0
  76. package/lib/types/controllers/shape-update.controller.d.ts +18 -0
  77. package/lib/types/index.d.ts +7 -0
  78. package/lib/types/locale/ar-SA.d.ts +3 -0
  79. package/lib/types/locale/ca-ES.d.ts +3 -0
  80. package/lib/types/locale/de-DE.d.ts +3 -0
  81. package/lib/types/locale/en-US.d.ts +309 -0
  82. package/lib/types/locale/es-ES.d.ts +3 -0
  83. package/lib/types/locale/fa-IR.d.ts +3 -0
  84. package/lib/types/locale/fr-FR.d.ts +3 -0
  85. package/lib/types/locale/id-ID.d.ts +3 -0
  86. package/lib/types/locale/it-IT.d.ts +3 -0
  87. package/lib/types/locale/ja-JP.d.ts +3 -0
  88. package/lib/types/locale/ko-KR.d.ts +3 -0
  89. package/lib/types/locale/pl-PL.d.ts +3 -0
  90. package/lib/types/locale/pt-BR.d.ts +3 -0
  91. package/lib/types/locale/ru-RU.d.ts +3 -0
  92. package/lib/types/locale/sk-SK.d.ts +3 -0
  93. package/lib/types/locale/vi-VN.d.ts +3 -0
  94. package/lib/types/locale/zh-CN.d.ts +3 -0
  95. package/lib/types/locale/zh-HK.d.ts +3 -0
  96. package/lib/types/locale/zh-TW.d.ts +3 -0
  97. package/lib/types/plugin.d.ts +18 -0
  98. package/lib/types/services/shape-text-editing.service.d.ts +20 -0
  99. package/lib/types/utils/shape-text-document.d.ts +11 -0
  100. package/lib/types/view-model/doc-shape-adjust-point-object.d.ts +22 -0
  101. package/lib/types/view-model/drawing-shape.d.ts +78 -0
  102. package/lib/types/view-model/shape-data-model.d.ts +6 -0
  103. package/lib/types/views/ShapeOptions.d.ts +30 -0
  104. package/lib/types/views/ShapePicker.d.ts +8 -0
  105. package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +12 -0
  106. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +13 -0
  107. package/lib/types/views/shape-editor-panel/ShapeImageFillEditor.d.ts +10 -0
  108. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +11 -0
  109. package/lib/types/views/shape-editor-panel/ShapePositionEditor.d.ts +1 -0
  110. package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
  111. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +19 -0
  112. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +10 -0
  113. package/lib/types/views/shape-menu/shape-menu-factory.d.ts +11 -0
  114. package/lib/types/views/shape-text-editor/Editor.d.ts +24 -0
  115. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +1 -0
  116. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +29 -0
  117. package/lib/types/views/shape-text-editor/index.d.ts +5 -0
  118. package/lib/types/views/shape-text-editor/position-wrapper.d.ts +15 -0
  119. package/lib/types/views/shapes.d.ts +58 -0
  120. package/lib/umd/index.js +1 -0
  121. package/lib/umd/locale/ar-SA.js +1 -0
  122. package/lib/umd/locale/ca-ES.js +1 -0
  123. package/lib/umd/locale/de-DE.js +1 -0
  124. package/lib/umd/locale/en-US.js +1 -0
  125. package/lib/umd/locale/es-ES.js +1 -0
  126. package/lib/umd/locale/fa-IR.js +1 -0
  127. package/lib/umd/locale/fr-FR.js +1 -0
  128. package/lib/umd/locale/id-ID.js +1 -0
  129. package/lib/umd/locale/it-IT.js +1 -0
  130. package/lib/umd/locale/ja-JP.js +1 -0
  131. package/lib/umd/locale/ko-KR.js +1 -0
  132. package/lib/umd/locale/pl-PL.js +1 -0
  133. package/lib/umd/locale/pt-BR.js +1 -0
  134. package/lib/umd/locale/ru-RU.js +1 -0
  135. package/lib/umd/locale/sk-SK.js +1 -0
  136. package/lib/umd/locale/vi-VN.js +1 -0
  137. package/lib/umd/locale/zh-CN.js +1 -0
  138. package/lib/umd/locale/zh-HK.js +1 -0
  139. package/lib/umd/locale/zh-TW.js +1 -0
  140. package/package.json +93 -0
@@ -0,0 +1 @@
1
+ const _0x2cfc0c=_0x49eb;(function(_0x57644b,_0x1f1ff2){const _0x5c75f0=_0x49eb,_0x1490e7=_0x57644b();while(!![]){try{const _0x1b0bbd=-parseInt(_0x5c75f0(0x2ac))/0x1+parseInt(_0x5c75f0(0x39d))/0x2+parseInt(_0x5c75f0(0x4d2))/0x3+parseInt(_0x5c75f0(0x525))/0x4*(-parseInt(_0x5c75f0(0x322))/0x5)+parseInt(_0x5c75f0(0x6a9))/0x6+parseInt(_0x5c75f0(0x3ef))/0x7+-parseInt(_0x5c75f0(0x2b1))/0x8;if(_0x1b0bbd===_0x1f1ff2)break;else _0x1490e7['push'](_0x1490e7['shift']());}catch(_0x185706){_0x1490e7['push'](_0x1490e7['shift']());}}}(_0x52d0,0x8d93e),Object[_0x2cfc0c(0x428)](exports,Symbol[_0x2cfc0c(0x4fc)],{'value':'Module'}));var e=Object['create'],t=Object[_0x2cfc0c(0x428)],n=Object['getOwnPropertyDescriptor'],r=Object['getOwnPropertyNames'],i=Object[_0x2cfc0c(0x5ee)],a=Object['prototype'][_0x2cfc0c(0x5ab)],o=(_0x4a8b2d,_0x90c43f,_0x5942df,_0xf96ef2)=>{const _0x483074=_0x2cfc0c;if(_0x90c43f&&typeof _0x90c43f==_0x483074(0x348)||typeof _0x90c43f==_0x483074(0x48c)){for(var _0x1bbe0d=r(_0x90c43f),_0x5b462b=0x0,_0x5a310a=_0x1bbe0d[_0x483074(0x2df)],_0x287aa6;_0x5b462b<_0x5a310a;_0x5b462b++)_0x287aa6=_0x1bbe0d[_0x5b462b],!a[_0x483074(0x216)](_0x4a8b2d,_0x287aa6)&&_0x287aa6!==_0x5942df&&t(_0x4a8b2d,_0x287aa6,{'get':(_0x2d57a4=>_0x90c43f[_0x2d57a4])[_0x483074(0x274)](null,_0x287aa6),'enumerable':!(_0xf96ef2=n(_0x90c43f,_0x287aa6))||_0xf96ef2[_0x483074(0x5c2)]});}return _0x4a8b2d;},s=(_0x565e20,_0x131942,_0x5db582)=>(_0x5db582=_0x565e20==null?{}:e(i(_0x565e20)),o(_0x131942||!_0x565e20||!_0x565e20[_0x2cfc0c(0x3de)]?t(_0x5db582,_0x2cfc0c(0x324),{'value':_0x565e20,'enumerable':!0x0}):_0x5db582,_0x565e20));let c=require(`@univerjs-pro/engine-shape`),l=require(`@univerjs-pro/docs-shape`),u=require(`@univerjs/core`),d=require(`@univerjs/docs-drawing-ui`),f=require(`@univerjs/docs-ui`),p=require(`@univerjs/engine-render`),m=require(`@univerjs/drawing`),h=require(`@univerjs/icons`),g=require(`@univerjs/ui`),_=require(`rxjs`),v=require(`@univerjs/design`),y=require(`react`);y=s(y);let b=require(`@univerjs/drawing-ui`),x=require(`react/jsx-runtime`),S=require(`@univerjs-pro/license`),C=require(`@univerjs/docs`);const w='#3B82F6',T=_0x2cfc0c(0x455);function E(_0x51b62d,_0x34b621){const _0x3ca6b4=_0x2cfc0c;if(_0x34b621){if((0x0,c['isConnectorShape'])(_0x51b62d)&&(_0x34b621[_0x3ca6b4(0x3d7)]||_0x34b621[_0x3ca6b4(0x67c)]))return{'ln':{'startArrow':_0x34b621['startArrow']?{'type':c['ShapeArrowTypeEnum'][_0x3ca6b4(0x5d6)],'size':c['ShapeArrowSizeEnum']['Medium']}:void 0x0,'endArrow':_0x34b621[_0x3ca6b4(0x67c)]?{'type':c['ShapeArrowTypeEnum'][_0x3ca6b4(0x5d6)],'size':c[_0x3ca6b4(0x480)]['Large']}:void 0x0}};if(_0x51b62d===c[_0x3ca6b4(0x251)][_0x3ca6b4(0x68e)]&&(_0x34b621[_0x3ca6b4(0x622)]||_0x34b621[_0x3ca6b4(0x1f3)]))return{'fill':{'fillType':c[_0x3ca6b4(0x24f)]['SolidFill'],'color':w},'stroke':{'lineStrokeType':c[_0x3ca6b4(0x403)]['SolidLine'],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x34b621[_0x3ca6b4(0x622)]}};}}function D(_0x51c209,_0x4d7d8c){const _0x2641c2=_0x2cfc0c;var _0x4cfdf4;let _0x46faa5=_0x51c209[_0x2641c2(0x426)](p[_0x2641c2(0x604)])[_0x2641c2(0x4c6)](_0x4d7d8c),_0x9e6f1b=_0x46faa5==null||(_0x4cfdf4=_0x46faa5['with'](f[_0x2641c2(0x28e)])[_0x2641c2(0x1a2)]())==null?void 0x0:_0x4cfdf4[_0x2641c2(0x1c4)]();return _0x9e6f1b?{'left':_0x9e6f1b[_0x2641c2(0x5dd)],'top':_0x9e6f1b[_0x2641c2(0x5af)]}:null;}function O(_0x318fee,_0x19cdea,_0x201c74){const _0xe80cc0=_0x2cfc0c;var _0x571cea,_0x217782,_0x11e62d;if(!_0x201c74)return null;let _0x4312bd=_0x318fee['get'](p[_0xe80cc0(0x604)])[_0xe80cc0(0x4c6)](_0x19cdea),_0x48fa4b=_0x4312bd==null?void 0x0:_0x4312bd['with'](f[_0xe80cc0(0x5fd)])['activeTarget'];if(!_0x48fa4b)return null;let _0x3fcdc5=_0x201c74===_0xe80cc0(0x326)?{'startOffset':_0x48fa4b[_0xe80cc0(0x298)][_0xe80cc0(0x4e0)],'endOffset':_0x48fa4b[_0xe80cc0(0x298)][_0xe80cc0(0x4e0)]}:_0x48fa4b['menuRange'];return{'range':{'unitId':_0x19cdea,'startOffset':_0x3fcdc5[_0xe80cc0(0x2c9)],'endOffset':_0x3fcdc5['endOffset'],'segmentId':(_0x571cea=(_0x217782=_0x48fa4b['paragraph'])==null?void 0x0:_0x217782[_0xe80cc0(0x4cf)])==null?'':_0x571cea},'position':(_0x11e62d=_0x48fa4b[_0xe80cc0(0x2fb)])!=null&&_0x11e62d[_0xe80cc0(0x644)]?{'left':_0x48fa4b[_0xe80cc0(0x2fb)][_0xe80cc0(0x644)]['left'],'top':_0x201c74===_0xe80cc0(0x326)?_0x48fa4b['paragraph'][_0xe80cc0(0x644)][_0xe80cc0(0x2f3)]:_0x48fa4b[_0xe80cc0(0x2fb)][_0xe80cc0(0x644)][_0xe80cc0(0x5af)]}:null};}function k(_0x54c953,_0xceecc8,_0x563920){const _0x4c79a1=_0x2cfc0c;var _0x11f0d8;return{'size':{'width':_0x54c953,'height':_0xceecc8},'positionH':{'relativeFrom':u[_0x4c79a1(0x44f)][_0x4c79a1(0x2e5)],'posOffset':(_0x11f0d8=_0x563920==null?void 0x0:_0x563920['left'])==null?0x0:_0x11f0d8},'positionV':{'relativeFrom':u[_0x4c79a1(0x2e7)]['PARAGRAPH'],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x2cfc0c(0x54c)][_0x2cfc0c(0x55c)],'id':_0x2cfc0c(0x316),'handler':async(_0x276f72,_0x2d8f62)=>{const _0x4f4125=_0x2cfc0c;var _0x4b103f,_0x291971,_0x499f6e,_0x9a6568,_0x57e83f,_0xa282f;let _0xac53f=_0x276f72[_0x4f4125(0x426)](u[_0x4f4125(0x57a)])[_0x4f4125(0x26b)]();if(!_0xac53f)return!0x1;let _0x5bba22=_0x276f72[_0x4f4125(0x426)](u[_0x4f4125(0x1d1)]),_0x563eab=_0xac53f['getUnitId'](),_0xc7572c=_0x563eab,_0x52656d=(_0x4b103f=_0x2d8f62['shapeId'])==null?(0x0,u[_0x4f4125(0x466)])():_0x4b103f,_0x174dc1=(_0x291971=_0x2d8f62['width'])==null?l[_0x4f4125(0x37a)]:_0x291971,_0x27fba3=(_0x499f6e=_0x2d8f62[_0x4f4125(0x413)])==null?l[_0x4f4125(0x63a)]:_0x499f6e,_0x3afa53=(_0x9a6568=(_0x57e83f=_0x2d8f62['shapeData'])==null?E(_0x2d8f62[_0x4f4125(0x1cb)],_0x2d8f62[_0x4f4125(0x1df)]):_0x57e83f)==null?{'fill':{'fillType':c[_0x4f4125(0x24f)][_0x4f4125(0x5d8)],'color':w},'stroke':{'lineStrokeType':c[_0x4f4125(0x403)][_0x4f4125(0x5ec)],'width':0x1,'color':T}}:_0x9a6568,_0x4cab7a=O(_0x276f72,_0x563eab,_0x2d8f62[_0x4f4125(0x29e)]),_0x64b35f=(_0xa282f=_0x4cab7a==null?void 0x0:_0x4cab7a[_0x4f4125(0x654)])==null?D(_0x276f72,_0x563eab):_0xa282f,_0x36fb58=k(_0x174dc1,_0x27fba3,_0x64b35f),_0x49182e=(0x0,f[_0x4f4125(0x1e1)])(_0x36fb58);_0x49182e&&_0x64b35f&&(_0x49182e[_0x4f4125(0x5af)]=_0x64b35f[_0x4f4125(0x5af)]),_0x5bba22[_0x4f4125(0x524)](l['InsertDocShapeMutation']['id'],{'unitId':_0x563eab,'shapeId':_0x52656d,'shapeType':_0x2d8f62['value'],'shapeData':_0x3afa53}),_0x4cab7a&&_0x276f72[_0x4f4125(0x426)](f[_0x4f4125(0x4a9)])[_0x4f4125(0x614)](_0x4cab7a['range']);let _0x4a595f={'unitId':_0x563eab,'subUnitId':_0xc7572c,'drawingId':_0x52656d,'drawingType':u[_0x4f4125(0x562)][_0x4f4125(0x3f2)],'transform':_0x49182e,'docTransform':_0x36fb58,'data':{'shapeType':_0x2d8f62[_0x4f4125(0x1cb)],'shapeData':_0x3afa53},'behindDoc':u[_0x4f4125(0x35a)]['FALSE'],'title':'','description':'','layoutType':u['PositionedObjectLayoutType'][_0x4f4125(0x6a1)],'wrapText':u[_0x4f4125(0x570)][_0x4f4125(0x63e)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x5bba22[_0x4f4125(0x524)](d[_0x4f4125(0x3c0)]['id'],{'unitId':_0x563eab,'drawings':[_0x4a595f]});}},j={'type':u[_0x2cfc0c(0x54c)][_0x2cfc0c(0x2e1)],'id':_0x2cfc0c(0x1fb),'handler'(){return!0x0;}},M={'type':u['CommandType']['OPERATION'],'id':_0x2cfc0c(0x410),'handler'(){return!0x0;}},N=_0x2cfc0c(0x1b1),P=(0x0,u[_0x2cfc0c(0x2a0)])(_0x2cfc0c(0x295));function F(_0x32dc74){'@babel/helpers - typeof';const _0x1a0fd2=_0x2cfc0c;return F=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1a0fd2(0x565)?function(_0x1ec8bd){return typeof _0x1ec8bd;}:function(_0xc717e9){const _0x2eafeb=_0x1a0fd2;return _0xc717e9&&typeof Symbol==_0x2eafeb(0x48c)&&_0xc717e9['constructor']===Symbol&&_0xc717e9!==Symbol[_0x2eafeb(0x29a)]?_0x2eafeb(0x565):typeof _0xc717e9;},F(_0x32dc74);}function ee(_0x3ac0dc,_0x3d5072){const _0x1bc58e=_0x2cfc0c;if(F(_0x3ac0dc)!=_0x1bc58e(0x348)||!_0x3ac0dc)return _0x3ac0dc;var _0x57def9=_0x3ac0dc[Symbol['toPrimitive']];if(_0x57def9!==void 0x0){var _0x3a2395=_0x57def9['call'](_0x3ac0dc,_0x3d5072||_0x1bc58e(0x324));if(F(_0x3a2395)!=_0x1bc58e(0x348))return _0x3a2395;throw TypeError(_0x1bc58e(0x602));}return(_0x3d5072==='string'?String:Number)(_0x3ac0dc);}function I(_0x1f708e){const _0x4e90e2=_0x2cfc0c;var _0x12940d=ee(_0x1f708e,_0x4e90e2(0x5d2));return F(_0x12940d)==_0x4e90e2(0x565)?_0x12940d:_0x12940d+'';}function L(_0x5c4fff,_0x3ebfba,_0x1bb807){const _0x5dab59=_0x2cfc0c;return(_0x3ebfba=I(_0x3ebfba))in _0x5c4fff?Object[_0x5dab59(0x428)](_0x5c4fff,_0x3ebfba,{'value':_0x1bb807,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5c4fff[_0x3ebfba]=_0x1bb807,_0x5c4fff;}var R=class extends u[_0x2cfc0c(0x1b3)]{constructor(..._0x54979d){const _0x304b49=_0x2cfc0c;super(..._0x54979d),L(this,'_editingParams$',new _[(_0x304b49(0x2b7))](null)),L(this,'editingParams$',this[_0x304b49(0x595)]['asObservable']()),L(this,_0x304b49(0x690),new _[(_0x304b49(0x2b7))](!0x1)),L(this,_0x304b49(0x5fa),this[_0x304b49(0x690)][_0x304b49(0x695)]());}[_0x2cfc0c(0x430)](){const _0x73f5f9=_0x2cfc0c;this[_0x73f5f9(0x595)]['next'](null),this[_0x73f5f9(0x595)][_0x73f5f9(0x269)](),this[_0x73f5f9(0x690)][_0x73f5f9(0x5f9)](!0x1),this['_onSavingEditorData$'][_0x73f5f9(0x269)](),super[_0x73f5f9(0x430)]();}[_0x2cfc0c(0x19d)](_0x980a37){const _0x369bb7=_0x2cfc0c;this[_0x369bb7(0x595)]['next'](_0x980a37),_0x980a37==null&&this['_onSavingEditorData$'][_0x369bb7(0x5f9)](!0x1);}['setOnSavingEditorData'](_0x31b32a){const _0x3c0c8e=_0x2cfc0c;this['_onSavingEditorData$'][_0x3c0c8e(0x5f9)](_0x31b32a);}['getEditing'](){const _0x24ba32=_0x2cfc0c;return this[_0x24ba32(0x595)][_0x24ba32(0x1c6)]();}};function z(_0x326b24,_0x4e161b,_0x59261c,_0x3868e4,_0x26f1d7,_0x315097){const _0x5954c1=_0x2cfc0c;let _0x1900f2={'unitId':_0x4e161b,'shapeId':_0x3868e4,'shapeData':_0x315097,'oldShapeJSON':_0x26f1d7};return _0x326b24[_0x5954c1(0x245)](l[_0x5954c1(0x5eb)]['id'],_0x1900f2);}function B(_0x37c162,_0x3df0b8,_0x5f2e04,_0x11b6f3,_0x3eba82,_0x1eaa1e){const _0x4569bd=_0x2cfc0c;let _0x13c2a2={'unitId':_0x3df0b8,'shapeId':_0x11b6f3,'shapeData':_0x1eaa1e,'oldShapeJSON':_0x3eba82};return _0x37c162[_0x4569bd(0x245)](l[_0x4569bd(0x5eb)]['id'],_0x13c2a2);}function V(_0x388bc2,_0x2f1a8a){const _0xde88d0=_0x2cfc0c;var _0x545d97;let {isHorizontal:_0x72d2a,textRect:_0x1e4a04,verticalAlign:_0x1f7122}=_0x2f1a8a,_0x490cca=_0x72d2a?_0x1e4a04[_0xde88d0(0x651)]:_0x1e4a04[_0xde88d0(0x413)],_0x5f29c6=u['Tools']['deepClone'](_0x388bc2),_0x4d6500=(_0x545d97=_0x5f29c6['documentStyle'])==null?{}:_0x545d97,_0x5b6fca={..._0x4d6500[_0xde88d0(0x203)],'centerAngle':_0x72d2a?0x0:p['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x72d2a?0x0:p[_0xde88d0(0x21e)],'wrapStrategy':u['WrapStrategy']['WRAP']};if(_0x1f7122!==void 0x0&&(_0x5b6fca[_0xde88d0(0x3bd)]=_0x1f7122),_0x2f1a8a[_0xde88d0(0x371)]!==void 0x0){var _0x658da3;_0x5b6fca[_0xde88d0(0x371)]=_0x2f1a8a['horizontalAlign'];let _0x21537c=(_0x658da3=_0x5f29c6[_0xde88d0(0x278)])==null?void 0x0:_0x658da3[_0xde88d0(0x4e9)];if(_0x21537c){for(let _0xac0404 of _0x21537c)_0xac0404[_0xde88d0(0x514)]||(_0xac0404['paragraphStyle']={}),_0xac0404[_0xde88d0(0x514)]['horizontalAlign']=_0x2f1a8a['horizontalAlign'];}}return _0x5f29c6[_0xde88d0(0x475)]={..._0x4d6500,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x490cca,'height':0x1/0x0},'renderConfig':_0x5b6fca},_0x5f29c6;}function te(_0x1bbc98){const _0x186d4a=_0x2cfc0c;var _0x4c0f7c;let _0x2f98a1=u[_0x186d4a(0x1c7)][_0x186d4a(0x3d6)](_0x1bbc98),_0x372c22=(_0x4c0f7c=_0x2f98a1[_0x186d4a(0x475)])==null?{}:_0x4c0f7c,_0x49c7fa={..._0x372c22[_0x186d4a(0x203)]};return delete _0x49c7fa[_0x186d4a(0x2dd)],delete _0x49c7fa[_0x186d4a(0x3ae)],delete _0x49c7fa[_0x186d4a(0x3bd)],delete _0x49c7fa[_0x186d4a(0x2de)],_0x2f98a1[_0x186d4a(0x475)]={..._0x372c22,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x186d4a(0x47d)](_0x49c7fa)[_0x186d4a(0x2df)]>0x0?_0x49c7fa:void 0x0},_0x2f98a1;}var H=class extends p[_0x2cfc0c(0x25b)]{constructor(_0x10add0,_0x1313d9){const _0x2bab35=_0x2cfc0c;super(_0x10add0,_0x1313d9),L(this,_0x2bab35(0x360),void 0x0),L(this,_0x2bab35(0x586),!0x0),L(this,_0x2bab35(0x402),u[_0x2bab35(0x562)][_0x2bab35(0x3f2)]),L(this,_0x2bab35(0x63d),!0x0),this['_props']={..._0x1313d9},this['_init']();}['_init'](){const _0x468278=_0x2cfc0c;this[_0x468278(0x405)][_0x468278(0x325)](_0x43027d=>{this['_updateSrcRectByTransform'](_0x43027d);});}[_0x2cfc0c(0x40d)](_0x9d44c8){this['_props']['prstGeom']=_0x9d44c8;}['setEditing'](_0x2430d0){const _0x149959=_0x2cfc0c;this[_0x149959(0x360)][_0x149959(0x3e3)]=_0x2430d0,this['makeDirty'](!0x0);}get[_0x2cfc0c(0x2c2)](){const _0x42d7c4=_0x2cfc0c;return this[_0x42d7c4(0x360)][_0x42d7c4(0x2c2)];}get[_0x2cfc0c(0x2d0)](){const _0x3c8a96=_0x2cfc0c;return this[_0x3c8a96(0x360)][_0x3c8a96(0x2d0)];}['_updateSrcRectByTransform'](_0x1b664c){const _0x2029f7=_0x2cfc0c;if(this['_props'][_0x2029f7(0x1d6)]==null||!this[_0x2029f7(0x586)])return;let {width:_0x28dce6,height:_0x5363e3}=this,{width:_0x1ef965=0x0,height:_0x262f66=0x0}=_0x1b664c['preValue'],{left:_0x433e98=0x0,top:_0x11dff3=0x0,right:_0x1fd330=0x0,bottom:_0x2f9062=0x0}=this[_0x2029f7(0x360)][_0x2029f7(0x1d6)],_0x3dd1aa=_0x433e98,_0x113c05=_0x11dff3,_0x3a1e62=_0x1fd330,_0x36fccf=_0x2f9062,_0x4e0384=!0x1;if(_0x1ef965!==0x0&&_0x1ef965!==_0x28dce6){let _0x32893b=_0x433e98/_0x1ef965,_0x3dc584=_0x1fd330/_0x1ef965;_0x3dd1aa=_0x28dce6*_0x32893b,_0x3a1e62=_0x28dce6*_0x3dc584,_0x4e0384=!0x0;}if(_0x262f66!==0x0&&_0x262f66!==_0x5363e3){let _0x451ff9=_0x11dff3/_0x262f66,_0x467529=_0x2f9062/_0x262f66;_0x113c05=_0x5363e3*_0x451ff9,_0x36fccf=_0x5363e3*_0x467529,_0x4e0384=!0x0;}_0x4e0384&&this[_0x2029f7(0x37c)]({'left':_0x3dd1aa,'top':_0x113c05,'right':_0x3a1e62,'bottom':_0x36fccf});}[_0x2cfc0c(0x37c)](_0x57e25b){const _0x1256ed=_0x2cfc0c;this[_0x1256ed(0x360)][_0x1256ed(0x1d6)]=_0x57e25b,this[_0x1256ed(0x423)](!0x0);}[_0x2cfc0c(0x4ec)](_0x58d3dd){const _0x40eb85=_0x2cfc0c;this[_0x40eb85(0x360)][_0x40eb85(0x574)]=_0x58d3dd,this[_0x40eb85(0x423)](!0x0);}set[_0x2cfc0c(0x58a)](_0x42a449){const _0x181f69=_0x2cfc0c;this[_0x181f69(0x4a5)]=_0x42a449;}get[_0x2cfc0c(0x58a)](){const _0x642275=_0x2cfc0c;this['_transform']||this[_0x642275(0x58d)]();let _0x2c5822=this[_0x642275(0x4a5)][_0x642275(0x66c)]();return this[_0x642275(0x40b)](_0x2c5822);}get[_0x2cfc0c(0x471)](){const _0x1a7c44=_0x2cfc0c;return this[_0x1a7c44(0x360)][_0x1a7c44(0x471)];}get[_0x2cfc0c(0x364)](){const _0x296fac=_0x2cfc0c;return this[_0x296fac(0x360)][_0x296fac(0x364)];}get['classType'](){const _0x3a4497=_0x2cfc0c;return p[_0x3a4497(0x4e3)][_0x3a4497(0x415)];}[_0x2cfc0c(0x53a)](_0x5b8267,_0x1da3d3,_0x4630d8,_0x116ba7){const _0x8427ca=_0x2cfc0c;let _0x23ba5b=this[_0x8427ca(0x360)][_0x8427ca(0x471)];if(!_0x23ba5b||!_0x1da3d3)return;let _0x5e4de9=_0x4630d8==null?this['width']:_0x4630d8,_0x14efed=_0x116ba7==null?this[_0x8427ca(0x413)]:_0x116ba7,_0x4b7c60={'shapeType':_0x23ba5b[_0x8427ca(0x2c5)](),'width':_0x5e4de9,'height':_0x14efed},_0x33b0e8={'renderMode':c[_0x8427ca(0x21a)][_0x8427ca(0x310)],'oKey':this[_0x8427ca(0x2ca)],'image':this['_props'][_0x8427ca(0x574)],'angle':this[_0x8427ca(0x4b2)]};_0x23ba5b[_0x8427ca(0x61e)](_0x4b7c60),_0x5b8267[_0x8427ca(0x633)]();let _0x3471a0={'top':0x0,'left':0x0,'width':_0x5e4de9,'height':_0x14efed};_0x23ba5b['render'](_0x5b8267,_0x3471a0,_0x33b0e8),_0x5b8267[_0x8427ca(0x5b3)]();let _0x5ab822=_0x23ba5b[_0x8427ca(0x692)](),_0x12a5a1=_0x23ba5b[_0x8427ca(0x19e)](_0x3471a0),_0x48c20d=_0x23ba5b[_0x8427ca(0x5bf)]();if(_0x5ab822&&_0x12a5a1&&!_0x48c20d){_0x5b8267[_0x8427ca(0x633)](),this['getState']()[_0x8427ca(0x5be)]&&_0x5b8267['scale'](-0x1,0x1);let _0x2d4a7c=_0x5e4de9/0x2,_0x4a9d04=_0x14efed/0x2;_0x5b8267['translate'](-_0x2d4a7c,-_0x4a9d04),_0x5b8267[_0x8427ca(0x21b)](),this[_0x8427ca(0x65c)](_0x5b8267,_0x5ab822,_0x12a5a1),_0x5b8267[_0x8427ca(0x5b3)]();}}[_0x2cfc0c(0x44b)](_0x580f11){}[_0x2cfc0c(0x65c)](_0x246112,_0x3b54c7,_0x388cdc){const _0x1e1703=_0x2cfc0c;this['_props'][_0x1e1703(0x3e3)]||(_0x1e1703(0x5c4)in _0x3b54c7&&_0x3b54c7[_0x1e1703(0x5c4)]===!0x1?this[_0x1e1703(0x3a6)](_0x246112,_0x3b54c7,_0x388cdc):this[_0x1e1703(0x660)](_0x246112,_0x3b54c7,_0x388cdc));}[_0x2cfc0c(0x3a6)](_0x12a6d6,_0x844ef,_0x427b34){}[_0x2cfc0c(0x660)](_0x4ea912,_0x2067e8,_0x31ce57){const _0x1d9c57=_0x2cfc0c;var _0x47ffa8,_0x34ce8e;let _0x3ec5e6=this[_0x1d9c57(0x360)][_0x1d9c57(0x65f)];if(!_0x2067e8[_0x1d9c57(0x2fd)]||!_0x3ec5e6){_0x3ec5e6||console[_0x1d9c57(0x412)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x392cde=_0x2067e8[_0x1d9c57(0x2fd)],_0x417875=_0x392cde[_0x1d9c57(0x6a2)],_0x472cd0=(_0x47ffa8=_0x392cde['va'])==null?u[_0x1d9c57(0x3e4)][_0x1d9c57(0x1bd)]:_0x47ffa8,_0x55b37e=(_0x34ce8e=_0x392cde['ha'])==null?u[_0x1d9c57(0x3d1)][_0x1d9c57(0x271)]:_0x34ce8e;if(!_0x417875)return;let _0x2a3f49=_0x2067e8[_0x1d9c57(0x59b)],_0x327d5a=V(_0x417875,{'isHorizontal':_0x2a3f49!==!0x1,'textRect':_0x31ce57,'verticalAlign':_0x472cd0,'horizontalAlign':_0x55b37e}),_0x18ea43=new u['DocumentDataModel'](_0x327d5a),_0x2d919b=new p['DocumentViewModel'](_0x18ea43),_0x515e64=p[_0x1d9c57(0x4ad)][_0x1d9c57(0x2d7)](_0x2d919b,_0x3ec5e6);console[_0x1d9c57(0x412)](_0x327d5a,_0x18ea43,_0x515e64),_0x515e64[_0x1d9c57(0x19f)]();let _0x590fac=new p['Documents'](_0x1d9c57(0x1b2)+this[_0x1d9c57(0x2ca)],_0x515e64,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x590fac[_0x1d9c57(0x507)](_0x31ce57['width'],_0x31ce57['height']),_0x4ea912[_0x1d9c57(0x633)](),_0x4ea912[_0x1d9c57(0x5cd)](_0x31ce57[_0x1d9c57(0x5dd)],_0x31ce57[_0x1d9c57(0x5af)]),_0x4ea912['beginPath'](),_0x4ea912['rect'](0x0,0x0,_0x31ce57[_0x1d9c57(0x651)],_0x31ce57[_0x1d9c57(0x413)]),_0x4ea912[_0x1d9c57(0x3cc)](),_0x590fac['draw'](_0x4ea912),_0x4ea912[_0x1d9c57(0x5b3)](),_0x590fac[_0x1d9c57(0x430)](),_0x515e64[_0x1d9c57(0x430)](),_0x2d919b['dispose'](),_0x18ea43[_0x1d9c57(0x430)]();}[_0x2cfc0c(0x62c)](_0x26d4e5,_0x5f1190,_0x56dc65=!0x1){const _0x2be97c=_0x2cfc0c;if(!this[_0x2be97c(0x63c)])return this['makeDirty'](!0x1),this;let {width:_0x4fe2c5,height:_0x3708ec,left:_0x3bc0ac,top:_0x4a0978}=this,_0x773808=this['getRealBound']();if(_0x4fe2c5=_0x773808[_0x2be97c(0x651)],_0x3708ec=_0x773808[_0x2be97c(0x413)],_0x3bc0ac=_0x773808[_0x2be97c(0x5dd)],_0x4a0978=_0x773808[_0x2be97c(0x5af)],this[_0x2be97c(0x42f)](_0x5f1190)){let {top:_0x2187c9,left:_0x584343,bottom:_0x2a09f1,right:_0x1f8598}=_0x5f1190[_0x2be97c(0x489)];if(_0x4fe2c5+this['strokeWidth']+_0x3bc0ac<_0x584343||_0x1f8598<_0x3bc0ac||_0x3708ec+this['strokeWidth']+_0x4a0978<_0x2187c9||_0x2a09f1<_0x4a0978)return this;}let _0x792fac=_0x3bc0ac+_0x4fe2c5/0x2,_0x6e1bfe=_0x4a0978+_0x3708ec/0x2,_0x59c1b8=this['transform'][_0x2be97c(0x679)]();if(this[_0x2be97c(0x360)][_0x2be97c(0x3e3)]){let _0x484651=this[_0x2be97c(0x442)](),_0x2291ee=new p[(_0x2be97c(0x19a))]();_0x2291ee[_0x2be97c(0x657)]({..._0x484651}),_0x59c1b8=_0x2291ee['getMatrix']();}return _0x26d4e5[_0x2be97c(0x633)](),this[_0x2be97c(0x360)][_0x2be97c(0x471)]['isRenderLinePointsMode']===!0x0||_0x26d4e5[_0x2be97c(0x58a)](_0x59c1b8[0x0],_0x59c1b8[0x1],_0x59c1b8[0x2],_0x59c1b8[0x3],_0x792fac,_0x6e1bfe),this[_0x2be97c(0x53a)](_0x26d4e5,_0x5f1190,_0x4fe2c5,_0x3708ec),_0x26d4e5[_0x2be97c(0x5b3)](),this['makeDirty'](!0x1),this;}[_0x2cfc0c(0x545)](_0x2fb1f4){const _0x440642=_0x2cfc0c;let {left:_0xaa05ab,top:_0xa7a3d9,width:_0x3fe956,height:_0x531c50}=this[_0x440642(0x3af)](),_0x537eef=this[_0x440642(0x58a)]['getMatrix'](),_0x4a4bbe=_0xaa05ab+_0x3fe956/0x2,_0x3ddba0=_0xa7a3d9+_0x531c50/0x2,_0x40cc40=new p[(_0x440642(0x19a))]([_0x537eef[0x0],_0x537eef[0x1],_0x537eef[0x2],_0x537eef[0x3],_0x4a4bbe,_0x3ddba0]),_0x2dd0b7=this['getParent']();return(this[_0x440642(0x29f)]&&(_0x2dd0b7==null?void 0x0:_0x2dd0b7[_0x440642(0x3e6)])===p[_0x440642(0x4e3)][_0x440642(0x443)]?_0x2dd0b7['ancestorTransform'][_0x440642(0x5e7)](_0x40cc40):_0x40cc40)[_0x440642(0x4c0)]()['applyPoint'](_0x2fb1f4);}[_0x2cfc0c(0x424)](_0x24e1ab){const _0x14fa97=_0x2cfc0c;let {left:_0x363495,top:_0x164596,width:_0x535599,height:_0x19e252}=this[_0x14fa97(0x3af)](),_0x216cdf=_0x363495+_0x535599/0x2,_0x4ca1bc=_0x164596+_0x19e252/0x2,_0x3a55a3=this[_0x14fa97(0x58a)][_0x14fa97(0x679)](),_0x5d2b94=new p[(_0x14fa97(0x19a))]([_0x3a55a3[0x0],_0x3a55a3[0x1],_0x3a55a3[0x2],_0x3a55a3[0x3],_0x216cdf,_0x4ca1bc]),_0x3d1c34=this[_0x14fa97(0x32d)](),_0x58c1dd=(this[_0x14fa97(0x29f)]&&(_0x3d1c34==null?void 0x0:_0x3d1c34[_0x14fa97(0x3e6)])===p['RENDER_CLASS_TYPE'][_0x14fa97(0x443)]?_0x3d1c34[_0x14fa97(0x33f)][_0x14fa97(0x5e7)](_0x5d2b94):_0x5d2b94)[_0x14fa97(0x4c0)]()[_0x14fa97(0x282)](_0x24e1ab),_0x2fd9c5=_0x535599/0x2,_0x4865e8=_0x19e252/0x2,_0x1b2ff3=this['_props'][_0x14fa97(0x471)];return _0x1b2ff3&&_0x1b2ff3[_0x14fa97(0x5bf)]()?_0x1b2ff3[_0x14fa97(0x313)](_0x58c1dd['x'],_0x58c1dd['y'],_0x535599,_0x19e252):_0x58c1dd['x']>=-_0x2fd9c5-this['strokeWidth']/0x2&&_0x58c1dd['x']<=_0x2fd9c5+this[_0x14fa97(0x2ea)]/0x2&&_0x58c1dd['y']>=-_0x4865e8-this['strokeWidth']/0x2&&_0x58c1dd['y']<=_0x4865e8+this[_0x14fa97(0x2ea)]/0x2;}[_0x2cfc0c(0x430)](){const _0x346538=_0x2cfc0c;this[_0x346538(0x360)][_0x346538(0x471)]=null,super[_0x346538(0x430)]();}};function U(_0x279bbe,_0x4ad108){return function(_0x2bcf8b,_0x1991d9){_0x4ad108(_0x2bcf8b,_0x1991d9,_0x279bbe);};}function W(_0xd599ba,_0x52a1f4,_0x36126e,_0x452af7){const _0x47d6b2=_0x2cfc0c;var _0x94d3c4=arguments[_0x47d6b2(0x2df)],_0x12e9a8=_0x94d3c4<0x3?_0x52a1f4:_0x452af7===null?_0x452af7=Object[_0x47d6b2(0x2a5)](_0x52a1f4,_0x36126e):_0x452af7,_0x547e4b;if(typeof Reflect==_0x47d6b2(0x348)&&typeof Reflect[_0x47d6b2(0x213)]==_0x47d6b2(0x48c))_0x12e9a8=Reflect[_0x47d6b2(0x213)](_0xd599ba,_0x52a1f4,_0x36126e,_0x452af7);else{for(var _0x3a7945=_0xd599ba[_0x47d6b2(0x2df)]-0x1;_0x3a7945>=0x0;_0x3a7945--)(_0x547e4b=_0xd599ba[_0x3a7945])&&(_0x12e9a8=(_0x94d3c4<0x3?_0x547e4b(_0x12e9a8):_0x94d3c4>0x3?_0x547e4b(_0x52a1f4,_0x36126e,_0x12e9a8):_0x547e4b(_0x52a1f4,_0x36126e))||_0x12e9a8);}return _0x94d3c4>0x3&&_0x12e9a8&&Object['defineProperty'](_0x52a1f4,_0x36126e,_0x12e9a8),_0x12e9a8;}let G=class extends u['Disposable']{constructor(_0x1d51aa,_0x6cb84e,_0x391637,_0x9ebc07,_0x20fa8d,_0x3fc916){const _0x11fddd=_0x2cfc0c;super(),this[_0x11fddd(0x1b4)]=_0x1d51aa,this['_docsShapeService']=_0x6cb84e,this['_localeService']=_0x391637,this[_0x11fddd(0x4ee)]=_0x9ebc07,this[_0x11fddd(0x458)]=_0x20fa8d,this[_0x11fddd(0x5cb)]=_0x3fc916;}['renderDrawingShape'](_0x5f0cfb,_0x76fa00){const _0x1b1586=_0x2cfc0c;let {transform:_0x5ccca5,drawingType:_0x2d9ca3,srcRect:_0xf59678,prstGeom:_0x5c1e72,groupId:_0x5a51e3,unitId:_0x5b5a72,subUnitId:_0x12a93c,drawingId:_0x7fa7ee,isMultiTransform:_0x184f28,transforms:_0x3d0605,hidden:_0x426a0d}=_0x5f0cfb;if(_0x2d9ca3!==u[_0x1b1586(0x562)][_0x1b1586(0x3f2)]||!this[_0x1b1586(0x1b4)][_0x1b1586(0x2cd)]()||_0x5ccca5==null)return;let _0x425dde=_0x184f28&&_0x3d0605?_0x3d0605:[_0x5ccca5],_0x571d73=[];for(let _0x554ad3 of _0x425dde){let {left:_0xa60034,top:_0x8c460a,width:_0x12fd35,height:_0x2e4467,angle:_0x342187,flipX:_0xf11e11,flipY:_0x474a19,skewX:_0x3b8fe6,skewY:_0x1a3687}=_0x554ad3,_0x321bf0=_0x425dde['indexOf'](_0x554ad3),_0x556796=(0x0,m['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5b5a72,'subUnitId':_0x12a93c,'drawingId':_0x7fa7ee},_0x184f28?_0x321bf0:void 0x0),_0x35da72=_0x76fa00['getObjectIncludeInGroup'](_0x556796);if(_0x35da72!=null){_0x35da72[_0x1b1586(0x4c9)]({'left':_0xa60034,'top':_0x8c460a,'width':_0x12fd35,'height':_0x2e4467,'angle':_0x342187,'flipX':_0xf11e11,'flipY':_0x474a19,'skewX':_0x3b8fe6,'skewY':_0x1a3687});continue;}let _0x4099bf=this[_0x1b1586(0x1b4)][_0x1b1586(0x3f8)](_0x5b5a72,_0x12a93c),_0x1af982=_0x4099bf[_0x1b1586(0x5e4)](_0x7fa7ee);if(_0x76fa00[_0x1b1586(0x69f)](_0x556796)||!this[_0x1b1586(0x1b4)]['getDrawingVisible']())continue;let _0x479a35=this['_docsShapeService']['getShapeModel'](_0x5b5a72,_0x12a93c,_0x7fa7ee);if(!_0x479a35)continue;let _0x1057a9=new H(_0x556796,{...(0x0,c[_0x1b1586(0x301)])(_0x479a35[_0x1b1586(0x2c5)]())?{..._0x554ad3,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x554ad3},'zIndex':_0x1af982===-0x1?_0x4099bf[_0x1b1586(0x2df)]-0x1:_0x1af982,'shapeModel':_0x479a35,'localeService':this['_localeService'],'shapeId':_0x7fa7ee,'unitId':_0x5b5a72,'subUnitId':_0x12a93c,'visible':_0x426a0d!==!0x0});this[_0x1b1586(0x3ec)]((0x0,u[_0x1b1586(0x3eb)])(_0x1057a9[_0x1b1586(0x556)]['subscribeEvent']((_0x36af2d,_0x28fa91)=>{const _0xbbcbb2=_0x1b1586;_0x479a35[_0xbbcbb2(0x5bf)]()||(this[_0xbbcbb2(0x5cb)][_0xbbcbb2(0x19d)]({'visible':!0x0,'unitId':_0x5b5a72,'subUnitId':_0x12a93c,'shapeId':_0x7fa7ee,'shapeKey':_0x1057a9['oKey']}),_0x28fa91['stopPropagation']());}))),_0x76fa00[_0x1b1586(0x460)](_0x1057a9,p[_0x1b1586(0x5f2)]),this[_0x1b1586(0x1b4)][_0x1b1586(0x1d7)]()&&_0x76fa00[_0x1b1586(0x558)](_0x1057a9),_0x5a51e3&&(0x0,b['insertGroupObject'])({'drawingId':_0x5a51e3,'unitId':_0x5b5a72,'subUnitId':_0x12a93c},_0x1057a9,_0x76fa00,this['_drawingManagerService']),_0x5c1e72!=null&&_0x1057a9[_0x1b1586(0x40d)](_0x5c1e72),_0xf59678!=null&&_0x1057a9['setSrcRect'](_0xf59678),this[_0x1b1586(0x238)](_0x1057a9,_0x479a35[_0x1b1586(0x4f8)]()),_0x571d73[_0x1b1586(0x39f)](_0x1057a9);}return _0x571d73;}[_0x2cfc0c(0x59c)](_0x403529){const _0x412c7b=_0x2cfc0c;let _0x455803=_0x403529['shapeModel'][_0x412c7b(0x4f8)](),_0x2784dd=_0x455803[_0x412c7b(0x421)];if(!_0x2784dd||_0x2784dd[_0x412c7b(0x59a)]!==c[_0x412c7b(0x24f)][_0x412c7b(0x318)]||!_0x2784dd[_0x412c7b(0x358)]){_0x403529[_0x412c7b(0x4ec)](void 0x0);return;}this[_0x412c7b(0x238)](_0x403529,_0x455803);}[_0x2cfc0c(0x238)](_0x3ff12b,_0x2189db){const _0x3cca84=_0x2cfc0c;var _0xfedff1;let _0x1ebe7c=_0x2189db[_0x3cca84(0x421)];if(!_0x1ebe7c||_0x1ebe7c['fillType']!==c[_0x3cca84(0x24f)][_0x3cca84(0x318)]||!_0x1ebe7c['fillImageSource'])return;let _0x20be6f=_0x1ebe7c['fillImageSource'],_0x492015=(_0xfedff1=_0x1ebe7c[_0x3cca84(0x2ff)])==null?c[_0x3cca84(0x63b)][_0x3cca84(0x1f8)]:_0xfedff1,_0x2ac268=this[_0x3cca84(0x4ee)][_0x3cca84(0x2e6)](_0x20be6f,_0x492015);if(_0x2ac268){_0x3ff12b[_0x3cca84(0x4ec)](_0x2ac268);return;}this[_0x3cca84(0x200)](_0x3ff12b,_0x20be6f,_0x492015);}async[_0x2cfc0c(0x200)](_0x152fe8,_0x129fe4,_0x4ef4f5){const _0x2dac9a=_0x2cfc0c;let _0x5c20e4;try{if(_0x4ef4f5===c[_0x2dac9a(0x63b)][_0x2dac9a(0x337)])_0x5c20e4=await this['_imageIoService']['getImage'](_0x129fe4);else{if(_0x4ef4f5===c[_0x2dac9a(0x63b)]['URL'])try{_0x5c20e4=await this[_0x2dac9a(0x458)]['getImage'](_0x129fe4);}catch{_0x5c20e4=_0x129fe4;}else _0x5c20e4=_0x129fe4;}}catch(_0x3d8541){console[_0x2dac9a(0x314)](_0x2dac9a(0x646),_0x3d8541);return;}let _0x24adf2=new window['Image']();_0x24adf2[_0x2dac9a(0x1e8)]=()=>{const _0x1aad2f=_0x2dac9a;this[_0x1aad2f(0x4ee)][_0x1aad2f(0x42e)](_0x129fe4,_0x4ef4f5,_0x24adf2),_0x152fe8[_0x1aad2f(0x4ec)](_0x24adf2);},_0x24adf2[_0x2dac9a(0x389)]=()=>{const _0x2501d7=_0x2dac9a;console[_0x2501d7(0x314)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x129fe4);},_0x24adf2['src']=_0x5c20e4;}};G=W([U(0x0,m[_0x2cfc0c(0x2e2)]),U(0x1,(0x0,u[_0x2cfc0c(0x584)])(l[_0x2cfc0c(0x353)])),U(0x2,(0x0,u[_0x2cfc0c(0x584)])(u['LocaleService'])),U(0x3,m['IImageIoService']),U(0x4,u[_0x2cfc0c(0x43f)]),U(0x5,(0x0,u[_0x2cfc0c(0x584)])(R))],G);let K=class extends u[_0x2cfc0c(0x1b3)]{constructor(_0x429330,_0x5b475e,_0x666b1b,_0x58118f){const _0x53e354=_0x2cfc0c;super(),this[_0x53e354(0x3c9)]=_0x429330,this[_0x53e354(0x593)]=_0x5b475e,this[_0x53e354(0x1b4)]=_0x666b1b,this[_0x53e354(0x5a8)]=_0x58118f,this[_0x53e354(0x647)]();}[_0x2cfc0c(0x647)](){const _0x2f6552=_0x2cfc0c;this[_0x2f6552(0x3ec)](this['_drawingManagerService'][_0x2f6552(0x546)][_0x2f6552(0x2e4)](_0x4ab501=>this[_0x2f6552(0x69d)](_0x4ab501))),this['disposeWithMe'](this[_0x2f6552(0x1b4)][_0x2f6552(0x4f7)]['subscribe'](_0x24e099=>{const _0x5be257=_0x2f6552;_0x24e099[_0x5be257(0x2bc)](_0x4c5257=>this[_0x5be257(0x5ad)](_0x4c5257));})),this[_0x2f6552(0x3ec)](this['_commandService'][_0x2f6552(0x664)](_0x4c91c3=>{const _0x161232=_0x2f6552;if(_0x4c91c3['id']!==l[_0x161232(0x36d)]['id'])return;let {unitId:_0x5cee30,shapeId:_0x125884}=_0x4c91c3[_0x161232(0x66e)];this[_0x161232(0x319)]({'unitId':_0x5cee30,'subUnitId':_0x5cee30,'drawingId':_0x125884});}));}[_0x2cfc0c(0x4cd)](_0x1856e4,_0x4bb3e9){const _0x21a92b=_0x2cfc0c;let _0x2ffb59=this[_0x21a92b(0x486)](_0x1856e4[_0x21a92b(0x2c2)]),_0x29ad68=(0x0,m[_0x21a92b(0x31a)])(_0x1856e4),_0x198a41=_0x2ffb59==null?void 0x0:_0x2ffb59[_0x21a92b(0x43a)]['getObjectIncludeInGroup'](_0x29ad68);_0x198a41==null||_0x198a41[_0x21a92b(0x4ec)](_0x4bb3e9);}[_0x2cfc0c(0x69d)](_0x24764a){_0x24764a['forEach'](_0x3480e5=>{const _0x2badeb=_0x49eb;var _0x1f20ac;let _0x15f18d=this[_0x2badeb(0x486)](_0x3480e5[_0x2badeb(0x2c2)]);if(!_0x15f18d)return;let _0x487a02=this[_0x2badeb(0x1b4)][_0x2badeb(0x30a)](_0x3480e5);(_0x487a02==null?void 0x0:_0x487a02['drawingType'])===u[_0x2badeb(0x562)]['DRAWING_SHAPE']&&((0x0,c['isConnectorShape'])((_0x1f20ac=_0x487a02[_0x2badeb(0x57e)])==null?void 0x0:_0x1f20ac['shapeType'])&&_0x487a02[_0x2badeb(0x58a)]&&(_0x487a02[_0x2badeb(0x58a)]={..._0x487a02[_0x2badeb(0x58a)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this['_drawingManagerService'][_0x2badeb(0x45c)]([_0x487a02]),this[_0x2badeb(0x5a8)][_0x2badeb(0x3c2)](_0x487a02,_0x15f18d[_0x2badeb(0x43a)]));});}[_0x2cfc0c(0x5ad)](_0x2dba05){const _0x3e769c=_0x2cfc0c;let _0x315a4c=this[_0x3e769c(0x1b4)]['getDrawingByParam'](_0x2dba05);if((_0x315a4c==null?void 0x0:_0x315a4c[_0x3e769c(0x3be)])!==u[_0x3e769c(0x562)]['DRAWING_SHAPE'])return;let _0x3653f6=this[_0x3e769c(0x486)](_0x2dba05[_0x3e769c(0x2c2)]);if(!_0x3653f6||_0x315a4c['transform']==null)return;let _0x4ff1d4=(0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x2dba05),_0x39599e=_0x3653f6[_0x3e769c(0x43a)][_0x3e769c(0x69f)](_0x4ff1d4);_0x39599e&&(_0x39599e[_0x3e769c(0x37c)](_0x315a4c[_0x3e769c(0x1d6)]),_0x39599e[_0x3e769c(0x40d)](_0x315a4c[_0x3e769c(0x6a6)]),_0x39599e['makeDirty'](!0x0));}[_0x2cfc0c(0x319)](_0x2172b1){const _0x52656e=_0x2cfc0c;let _0x433f43=this[_0x52656e(0x486)](_0x2172b1[_0x52656e(0x2c2)]);if(!_0x433f43)return;let _0x2648d1=(0x0,m[_0x52656e(0x31a)])(_0x2172b1),_0x2f2966=_0x433f43[_0x52656e(0x43a)]['getObjectIncludeInGroup'](_0x2648d1);_0x2f2966&&(this[_0x52656e(0x5a8)][_0x52656e(0x59c)](_0x2f2966),_0x2f2966[_0x52656e(0x423)](!0x0));}[_0x2cfc0c(0x486)](_0x18e587){const _0x104858=_0x2cfc0c;if(_0x18e587==null)return null;let _0x238b17=this[_0x104858(0x593)][_0x104858(0x4c6)](_0x18e587),_0x1c5311=_0x238b17==null?void 0x0:_0x238b17[_0x104858(0x43a)];return _0x1c5311==null?null:{'scene':_0x1c5311};}};K=W([U(0x0,u['ICommandService']),U(0x1,p[_0x2cfc0c(0x604)]),U(0x2,m[_0x2cfc0c(0x2e2)]),U(0x3,(0x0,u['Inject'])(G))],K);function ne(_0x277132){const _0x1d01f6=_0x2cfc0c;var _0x58a90d,_0x196a51,_0x52197f,_0x36a089,_0x5a14b1,_0x1634c7,_0x27faa9,_0x5201c3,_0xb22100,_0x41524f,_0x1b210c,_0x4a34ed,_0x5f537e;let {unitId:_0x20887f,subUnitId:_0x489d56,shapeId:_0x453a88,shapeData:_0x2fabad,disableShapeOption:_0x3ad04a}=_0x277132,_0x4512ee=(0x0,g[_0x1d01f6(0x1b6)])(u[_0x1d01f6(0x600)]),_0xace70a=(0x0,g[_0x1d01f6(0x1b6)])(u[_0x1d01f6(0x1d1)]),_0x47213a=(0x0,g[_0x1d01f6(0x1b6)])(u[_0x1d01f6(0x2dc)]),_0xa9b90f=(0x0,g['useDependency'])(K),_0x1138e3=(0x0,g[_0x1d01f6(0x1b6)])(m[_0x1d01f6(0x352)]),_0x155069=(0x0,y['useRef'])(null),_0x1dd7ea=_0x2fabad['fill'],_0x384671=!!(_0x1dd7ea!=null&&_0x1dd7ea['fillImageSource']),[_0x434d5f,_0x182014]=(0x0,y['useState'])((_0x58a90d=_0x1dd7ea==null?void 0x0:_0x1dd7ea[_0x1d01f6(0x5ac)])==null?0x1:_0x58a90d),[_0xa18830,_0x33814c]=(0x0,y[_0x1d01f6(0x4e5)])((_0x196a51=_0x1dd7ea==null?void 0x0:_0x1dd7ea['imageFillMode'])==null?c[_0x1d01f6(0x3c4)][_0x1d01f6(0x54e)]:_0x196a51),[_0x3605c9,_0x4a37ab]=(0x0,y['useState'])((_0x52197f=_0x1dd7ea==null?void 0x0:_0x1dd7ea['imageRotateWithShape'])==null?!0x1:_0x52197f),[_0x4739db,_0x57458b]=(0x0,y['useState'])((_0x36a089=_0x1dd7ea==null||(_0x5a14b1=_0x1dd7ea[_0x1d01f6(0x331)])==null?void 0x0:_0x5a14b1[_0x1d01f6(0x393)])==null?0x0:_0x36a089),[_0x9b3079,_0x3fae22]=(0x0,y[_0x1d01f6(0x4e5)])((_0x1634c7=_0x1dd7ea==null||(_0x27faa9=_0x1dd7ea[_0x1d01f6(0x331)])==null?void 0x0:_0x27faa9[_0x1d01f6(0x51d)])==null?0x0:_0x1634c7),[_0x4b2643,_0x5b699b]=(0x0,y['useState'])((_0x5201c3=_0x1dd7ea==null||(_0xb22100=_0x1dd7ea[_0x1d01f6(0x331)])==null?void 0x0:_0xb22100['scaleX'])==null?0x1:_0x5201c3),[_0x27fb48,_0x3a1a44]=(0x0,y['useState'])((_0x41524f=_0x1dd7ea==null||(_0x1b210c=_0x1dd7ea[_0x1d01f6(0x331)])==null?void 0x0:_0x1b210c[_0x1d01f6(0x26f)])==null?0x1:_0x41524f),[_0x41fd22,_0x15f2b8]=(0x0,y[_0x1d01f6(0x4e5)])((_0x4a34ed=_0x1dd7ea==null||(_0x5f537e=_0x1dd7ea[_0x1d01f6(0x331)])==null?void 0x0:_0x5f537e[_0x1d01f6(0x49f)])==null?'tl':_0x4a34ed),_0x432cc7=_0xa18830===c['ImageFillModeEnum']['Tile'],_0x2cf68c=Math[_0x1d01f6(0x621)]((0x1-_0x434d5f)*0x64),_0x26efd3=Math[_0x1d01f6(0x621)](_0x4b2643*0x64),_0x48f7d3=Math[_0x1d01f6(0x621)](_0x27fb48*0x64),_0x27a233=_0x3cf4c6=>_0x4512ee['t'](_0x3cf4c6),_0x121f69=[{'label':_0x27a233(_0x1d01f6(0x30b)),'value':'tl'},{'label':_0x27a233(_0x1d01f6(0x49d)),'value':'t'},{'label':_0x27a233(_0x1d01f6(0x3f4)),'value':'tr'},{'label':_0x27a233(_0x1d01f6(0x1f7)),'value':'l'},{'label':_0x27a233(_0x1d01f6(0x616)),'value':'ctr'},{'label':_0x27a233(_0x1d01f6(0x3b5)),'value':'r'},{'label':_0x27a233(_0x1d01f6(0x2fe)),'value':'bl'},{'label':_0x27a233(_0x1d01f6(0x275)),'value':'b'},{'label':_0x27a233('docs-shape-ui.fill.picture.align.br'),'value':'br'}],_0x3cd325=_0x2f97e5=>{z(_0xace70a,_0x20887f,_0x489d56,_0x453a88,{'oldShapeData':{'fill':_0x1dd7ea?{..._0x1dd7ea}:void 0x0}},{'fill':{..._0x1dd7ea,..._0x2f97e5}});},_0x483f63=_0x6c3575=>{const _0x2202f0=_0x1d01f6;_0x3cd325({'imageTile':{..._0x1dd7ea==null?void 0x0:_0x1dd7ea[_0x2202f0(0x331)],..._0x6c3575}});},_0x247259=()=>{const _0x23c13a=_0x1d01f6;var _0x32bb88;return(_0x32bb88=_0x155069['current'])==null?void 0x0:_0x32bb88[_0x23c13a(0x464)]();},_0x30ec22=async _0x1b22b9=>{const _0x2f22e8=_0x1d01f6;var _0x358c7d;let _0xd20f84=(_0x358c7d=_0x1b22b9[_0x2f22e8(0x449)]['files'])==null?void 0x0:_0x358c7d[0x0];if(!_0xd20f84)return;_0x1b22b9['target']['value']='';let _0x1e2d3a=await _0x1138e3[_0x2f22e8(0x321)](_0xd20f84);if(_0x1e2d3a==null)return;let {imageSourceType:_0x4d9dc9,source:_0x39026a,base64Cache:_0x1471d9}=_0x1e2d3a,{image:_0x156f44}=await(0x0,m['getImageSize'])(_0x1471d9||'');_0x1138e3[_0x2f22e8(0x42e)](_0x39026a,_0x4d9dc9,_0x156f44),z(_0xace70a,_0x20887f,_0x489d56,_0x453a88,{'oldShapeData':{'fill':_0x1dd7ea?{..._0x1dd7ea}:void 0x0}},{'fill':{..._0x1dd7ea,'fillType':c[_0x2f22e8(0x24f)]['PictureFill'],'fillImageSource':_0x39026a,'fillImageSourceType':_0x4d9dc9}}),_0xa9b90f[_0x2f22e8(0x4cd)]({'unitId':_0x20887f,'subUnitId':_0x489d56,'drawingId':_0x453a88},_0x156f44);},_0xb6ab4='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x1bd212=_0x1d01f6(0x24c);return(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':_0x1d01f6(0x4c8),'children':[(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':_0x1d01f6(0x697),'children':[(0x0,x['jsx'])('span',{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x3dd))}),(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,x['jsx'])(_0x1d01f6(0x515),{'ref':_0x155069,'type':_0x1d01f6(0x39e),'accept':_0x1d01f6(0x400),'className':_0x1d01f6(0x3ac),'onChange':_0x30ec22}),(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':'group\x20univer-relative\x20univer-inline-block','children':[(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x64b),{'type':'button','disabled':_0x3ad04a,'className':_0x1d01f6(0x27f),'onClick':_0x247259,'children':(0x0,x[_0x1d01f6(0x4fe)])('span',{'children':[_0x27a233(_0x1d01f6(0x381)),'\x20']})}),_0x384671&&(0x0,x['jsx'])(_0x1d01f6(0x4c3),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x2fa),{'src':_0x1dd7ea==null?void 0x0:_0x1dd7ea[_0x1d01f6(0x358)],'alt':'','className':_0x1d01f6(0x323)})})]})]})]}),(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':_0x1bd212,'children':[(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x61c),{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x56f))}),(0x0,x['jsx'])(_0x1d01f6(0x4c3),{'className':'univer-w-20','children':(0x0,x[_0x1d01f6(0x338)])(v[_0x1d01f6(0x4d7)],{'className':_0x1d01f6(0x63f),'value':_0x2cf68c,'disabled':_0x3ad04a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1165dc=>_0x1165dc+'%','parser':_0x59b5e9=>(_0x59b5e9==null?void 0x0:_0x59b5e9['replace']('%',''))||'','onChange':_0x3ef1a8=>{const _0x544f6a=_0x1d01f6;let _0x137be0=(0x64-Math['max'](0x0,Math[_0x544f6a(0x303)](0x64,_0x3ef1a8==null?0x0:_0x3ef1a8)))/0x64;_0x182014(_0x137be0),_0x3cd325({'imageOpacity':_0x137be0}),_0x47213a[_0x544f6a(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x47213a['setContextValue'](u[_0x1d01f6(0x283)],!0x0),'onBlur':()=>_0x47213a[_0x1d01f6(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x1d01f6(0x338)])(v['Checkbox'],{'checked':_0x432cc7,'disabled':_0x3ad04a,'onChange':_0x4e46ec=>{const _0x41f884=_0x1d01f6;let _0x4a0ba1=_0x4e46ec?c[_0x41f884(0x3c4)][_0x41f884(0x2ab)]:c[_0x41f884(0x3c4)][_0x41f884(0x54e)];_0x33814c(_0x4a0ba1),_0x3cd325({'imageFillMode':_0x4a0ba1});},'children':(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x61c),{'className':'univer-text-sm','children':_0x27a233(_0x1d01f6(0x4ce))})}),_0x432cc7&&(0x0,x[_0x1d01f6(0x4fe)])('div',{'className':_0x1d01f6(0x563),'children':[(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':_0x1bd212,'children':[(0x0,x[_0x1d01f6(0x338)])('span',{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x204))}),(0x0,x['jsx'])(_0x1d01f6(0x4c3),{'className':_0x1d01f6(0x688),'children':(0x0,x[_0x1d01f6(0x338)])(v['InputNumber'],{'className':'univer-w-full','value':_0x4739db,'disabled':_0x3ad04a,'step':0x1,'onChange':_0x32e394=>{_0x483f63({'offsetX':_0x32e394==null?0x0:_0x32e394}),_0x57458b(_0x32e394==null?0x0:_0x32e394);},'onFocus':()=>_0x47213a['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x47213a['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x['jsxs'])(_0x1d01f6(0x4c3),{'className':_0x1bd212,'children':[(0x0,x[_0x1d01f6(0x338)])('span',{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x224))}),(0x0,x['jsx'])('div',{'className':'univer-w-20','children':(0x0,x[_0x1d01f6(0x338)])(v[_0x1d01f6(0x4d7)],{'className':_0x1d01f6(0x63f),'value':_0x9b3079,'disabled':_0x3ad04a,'step':0x1,'onChange':_0x206b57=>{_0x483f63({'offsetY':_0x206b57==null?0x0:_0x206b57}),_0x3fae22(_0x206b57==null?0x0:_0x206b57);},'onFocus':()=>_0x47213a['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x47213a[_0x1d01f6(0x626)](u[_0x1d01f6(0x283)],!0x1)})})]}),(0x0,x['jsxs'])(_0x1d01f6(0x4c3),{'className':_0x1bd212,'children':[(0x0,x['jsx'])('span',{'className':_0xb6ab4,'children':_0x27a233('docs-shape-ui.fill.picture.scaleX')}),(0x0,x['jsx'])('div',{'className':_0x1d01f6(0x688),'children':(0x0,x['jsx'])(v[_0x1d01f6(0x4d7)],{'className':_0x1d01f6(0x63f),'value':_0x26efd3,'disabled':_0x3ad04a,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x47bb09=>_0x47bb09+'%','parser':_0x51d237=>(_0x51d237==null?void 0x0:_0x51d237[_0x1d01f6(0x667)]('%',''))||'','onChange':_0x5f1c7d=>{const _0x5e9912=_0x1d01f6;let _0x48a2b1=Math[_0x5e9912(0x541)](0.01,(_0x5f1c7d==null?0x64:_0x5f1c7d)/0x64);_0x5b699b(_0x48a2b1),_0x483f63({'scaleX':_0x48a2b1}),_0x47213a[_0x5e9912(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x47213a[_0x1d01f6(0x626)](u[_0x1d01f6(0x283)],!0x0),'onBlur':()=>_0x47213a[_0x1d01f6(0x626)](u[_0x1d01f6(0x283)],!0x1)})})]}),(0x0,x[_0x1d01f6(0x4fe)])(_0x1d01f6(0x4c3),{'className':_0x1bd212,'children':[(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x61c),{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x368))}),(0x0,x[_0x1d01f6(0x338)])(_0x1d01f6(0x4c3),{'className':_0x1d01f6(0x688),'children':(0x0,x['jsx'])(v[_0x1d01f6(0x4d7)],{'className':_0x1d01f6(0x63f),'value':_0x48f7d3,'disabled':_0x3ad04a,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x32f0de=>_0x32f0de+'%','parser':_0x5e98f2=>(_0x5e98f2==null?void 0x0:_0x5e98f2[_0x1d01f6(0x667)]('%',''))||'','onChange':_0x43efd0=>{const _0x162b73=_0x1d01f6;let _0x49461c=Math[_0x162b73(0x541)](0.01,(_0x43efd0==null?0x64:_0x43efd0)/0x64);_0x3a1a44(_0x49461c),_0x483f63({'scaleY':_0x49461c}),_0x47213a[_0x162b73(0x626)](u[_0x162b73(0x283)],!0x1);},'onFocus':()=>_0x47213a[_0x1d01f6(0x626)](u[_0x1d01f6(0x283)],!0x0),'onBlur':()=>_0x47213a[_0x1d01f6(0x626)](u[_0x1d01f6(0x283)],!0x1)})})]}),(0x0,x[_0x1d01f6(0x4fe)])('div',{'className':_0x1bd212,'children':[(0x0,x['jsx'])('span',{'className':_0xb6ab4,'children':_0x27a233(_0x1d01f6(0x20b))}),(0x0,x[_0x1d01f6(0x338)])('div',{'className':_0x1d01f6(0x594),'children':(0x0,x[_0x1d01f6(0x338)])(v[_0x1d01f6(0x54a)],{'className':_0x1d01f6(0x63f),'value':_0x41fd22,'options':_0x121f69,'disabled':_0x3ad04a,'onChange':_0x182f10=>{_0x15f2b8(_0x182f10),_0x483f63({'alignment':_0x182f10});}})})]})]}),(0x0,x[_0x1d01f6(0x338)])(v['Checkbox'],{'checked':_0x3605c9,'disabled':_0x3ad04a,'onChange':_0x4359ce=>{_0x4a37ab(_0x4359ce),_0x3cd325({'imageRotateWithShape':_0x4359ce});},'children':(0x0,x['jsx'])(_0x1d01f6(0x61c),{'className':'univer-text-sm','children':_0x27a233('docs-shape-ui.fill.picture.rotateWithShape')})})]});}function re(_0x2c5052){const _0x255026=_0x2cfc0c;var _0x488053,_0x2f7ac7;return(_0x488053=(_0x2f7ac7=_0x2c5052['fill'])==null?void 0x0:_0x2f7ac7['fillType'])==null?c[_0x255026(0x24f)]['NoFill']:_0x488053;}function ie(_0x5881d2){const _0x4eceac=_0x2cfc0c;var _0x4f9415,_0x4ca3b0,_0x19723c,_0x2cb42f;let _0x2b9fe3=(0x0,g[_0x4eceac(0x1b6)])(u[_0x4eceac(0x600)]),_0x3c9b91=(0x0,g[_0x4eceac(0x1b6)])(u[_0x4eceac(0x1d1)]),_0x30760a=(0x0,g[_0x4eceac(0x1b6)])(u[_0x4eceac(0x2dc)]),{shapeData:_0x229c52,isLineShape:_0x55415b,unitId:_0x1392d5,subUnitId:_0x5636ff,shapeId:_0x391fff,disableShapeOption:_0x1fdde2}=_0x5881d2,[_0x57d673,_0x400239]=(0x0,y['useState'])(re(_0x229c52)),[_0x5791f6,_0x5d5742]=(0x0,y[_0x4eceac(0x4e5)])((_0x4f9415=(_0x4ca3b0=_0x229c52[_0x4eceac(0x421)])==null?void 0x0:_0x4ca3b0[_0x4eceac(0x52c)])==null?c[_0x4eceac(0x41e)][_0x4eceac(0x421)]:_0x4f9415),[_0xe59f03,_0x1202db]=(0x0,y['useState'])((_0x19723c=(_0x2cb42f=_0x229c52[_0x4eceac(0x421)])==null?void 0x0:_0x2cb42f[_0x4eceac(0x378)])==null?0x1:_0x19723c),[_0xaf1251,_0x3d7b98]=(0x0,y[_0x4eceac(0x4e5)])(!0x1);if(_0x55415b)return null;let _0x441e59=0x64-_0xe59f03*0x64;return(0x0,x[_0x4eceac(0x4fe)])(_0x4eceac(0x4c3),{'className':_0x4eceac(0x53c),'children':[(0x0,x['jsxs'])(v[_0x4eceac(0x575)],{'value':_0x57d673,'disabled':_0x1fdde2,'onChange':_0xfce3ba=>{const _0x565941=_0x4eceac;var _0x5410fd;z(_0x3c9b91,_0x1392d5,_0x5636ff,_0x391fff,{'oldShapeData':{'fill':{'fillType':(_0x5410fd=_0x229c52[_0x565941(0x421)])==null?void 0x0:_0x5410fd[_0x565941(0x59a)]}}},{'fill':{'fillType':_0xfce3ba}}),_0x400239(_0xfce3ba);},'direction':_0x4eceac(0x1f3),'children':[(0x0,x[_0x4eceac(0x338)])(v['Radio'],{'value':c['ShapeFillEnum'][_0x4eceac(0x4b3)],'children':(0x0,x[_0x4eceac(0x338)])('span',{'className':'univer-text-sm','children':_0x2b9fe3['t'](_0x4eceac(0x544))})}),(0x0,x[_0x4eceac(0x338)])(v[_0x4eceac(0x495)],{'value':c[_0x4eceac(0x24f)][_0x4eceac(0x5d8)],'children':(0x0,x[_0x4eceac(0x338)])('span',{'className':_0x4eceac(0x39b),'children':_0x2b9fe3['t'](_0x4eceac(0x294))})}),(0x0,x[_0x4eceac(0x338)])(v[_0x4eceac(0x495)],{'value':c[_0x4eceac(0x24f)][_0x4eceac(0x47c)],'children':(0x0,x[_0x4eceac(0x338)])(_0x4eceac(0x61c),{'className':_0x4eceac(0x39b),'children':_0x2b9fe3['t'](_0x4eceac(0x2b9))})}),(0x0,x['jsx'])(v[_0x4eceac(0x495)],{'value':c[_0x4eceac(0x24f)][_0x4eceac(0x318)],'children':(0x0,x['jsx'])(_0x4eceac(0x61c),{'className':_0x4eceac(0x39b),'children':_0x2b9fe3['t'](_0x4eceac(0x559))})})]}),_0x57d673===c[_0x4eceac(0x24f)][_0x4eceac(0x5d8)]&&(0x0,x[_0x4eceac(0x4fe)])(_0x4eceac(0x4c3),{'className':_0x4eceac(0x4de),'children':[(0x0,x[_0x4eceac(0x4fe)])(_0x4eceac(0x4c3),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x4eceac(0x338)])(_0x4eceac(0x61c),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2b9fe3['t']('docs-shape-ui.fill.color')}),(0x0,x['jsx'])(v[_0x4eceac(0x305)],{'disabled':_0x1fdde2,'overlay':(0x0,x[_0x4eceac(0x338)])('div',{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,x[_0x4eceac(0x338)])(v[_0x4eceac(0x5a9)],{'value':_0x5791f6,'onChange':_0x26b71b=>{const _0x252cc0=_0x4eceac;var _0x290e7a;z(_0x3c9b91,_0x1392d5,_0x5636ff,_0x391fff,{'oldShapeData':{'fill':{'color':(_0x290e7a=_0x229c52['fill'])==null?void 0x0:_0x290e7a[_0x252cc0(0x52c)]}}},{'fill':{'color':_0x26b71b}}),_0x5d5742(_0x26b71b),_0x3d7b98(!0x1);}})}),'open':_0xaf1251,'onOpenChange':_0x3d7b98,'children':(0x0,x['jsxs'])('a',{'className':_0x4eceac(0x4a2),'children':[(0x0,x[_0x4eceac(0x338)])(h[_0x4eceac(0x693)],{'className':_0x4eceac(0x61b),'extend':{'colorChannel1':_0x5791f6}}),(0x0,x[_0x4eceac(0x338)])(h[_0x4eceac(0x5e3)],{'className':(0x0,v[_0x4eceac(0x1b7)])(_0x4eceac(0x610),{'univer-rotate-180':_0xaf1251})})]})})]}),(0x0,x['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,x[_0x4eceac(0x338)])(_0x4eceac(0x61c),{'className':_0x4eceac(0x513),'children':_0x2b9fe3['t'](_0x4eceac(0x56f))}),(0x0,x[_0x4eceac(0x338)])(_0x4eceac(0x4c3),{'className':_0x4eceac(0x3a8),'children':(0x0,x['jsx'])(_0x4eceac(0x4c3),{'className':_0x4eceac(0x688),'children':(0x0,x[_0x4eceac(0x338)])(v[_0x4eceac(0x4d7)],{'className':'univer-w-full','value':_0x441e59,'disabled':_0x1fdde2,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5e5552=>_0x5e5552+'%','parser':_0x111c0a=>(_0x111c0a==null?void 0x0:_0x111c0a['replace']('%',''))||'','onChange':_0x1fc682=>{const _0x405df8=_0x4eceac;let _0x32af4f=(0x64-Math[_0x405df8(0x541)](0x0,Math['min'](0x64,_0x1fc682==null?0x0:_0x1fc682)))/0x64;_0x1202db(_0x32af4f),z(_0x3c9b91,_0x1392d5,_0x5636ff,_0x391fff,{'oldShapeData':{'fill':{..._0x229c52[_0x405df8(0x421)],'fillType':_0x57d673}}},{'fill':{..._0x229c52['fill'],'fillType':_0x57d673,'opacity':_0x32af4f}}),_0x30760a[_0x405df8(0x626)](u[_0x405df8(0x283)],!0x1);},'onFocus':()=>_0x30760a[_0x4eceac(0x626)](u[_0x4eceac(0x283)],!0x0),'onBlur':()=>{const _0x29f79c=_0x4eceac;_0x30760a[_0x29f79c(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x57d673===c['ShapeFillEnum'][_0x4eceac(0x47c)]&&(0x0,x[_0x4eceac(0x338)])(J,{'shapeData':_0x229c52,'disableShapeOption':_0x1fdde2,'onUpdate':_0x3876fb=>{const _0x10fa76=_0x4eceac;z(_0x3c9b91,_0x1392d5,_0x5636ff,_0x391fff,{'oldShapeData':{'fill':{..._0x229c52['fill']}}},{'fill':{..._0x229c52[_0x10fa76(0x421)],..._0x3876fb}});}}),_0x57d673===c[_0x4eceac(0x24f)][_0x4eceac(0x318)]&&(0x0,x[_0x4eceac(0x338)])(ne,{'unitId':_0x1392d5,'subUnitId':_0x5636ff,'shapeId':_0x391fff,'shapeData':_0x229c52,'disableShapeOption':_0x1fdde2})]});}function q(_0x121eec){const _0x425dae=_0x2cfc0c;switch(_0x121eec){case c[_0x425dae(0x5c3)]['Linear']:return'linear';case c[_0x425dae(0x5c3)][_0x425dae(0x662)]:return _0x425dae(0x682);case c['ShapeGradientTypeEnum'][_0x425dae(0x639)]:return _0x425dae(0x3f1);case c['ShapeGradientTypeEnum'][_0x425dae(0x609)]:return'diamond';default:return _0x425dae(0x499);}}function ae(_0x5efef3){const _0x40a077=_0x2cfc0c;switch(_0x5efef3){case _0x40a077(0x499):return c['ShapeGradientTypeEnum'][_0x40a077(0x5aa)];case _0x40a077(0x682):return c[_0x40a077(0x5c3)][_0x40a077(0x662)];case _0x40a077(0x3f1):return c[_0x40a077(0x5c3)][_0x40a077(0x639)];case _0x40a077(0x567):return c[_0x40a077(0x5c3)]['Diamond'];default:return c[_0x40a077(0x5c3)][_0x40a077(0x5aa)];}}function J(_0x174491){const _0x203898=_0x2cfc0c;let {shapeData:_0x587fdb,disableShapeOption:_0xba86c9,onUpdate:_0x184c01}=_0x174491,_0x591ea8=(0x0,y['useMemo'])(()=>{const _0x3207a2=_0x49eb;var _0x268f61;let _0x1a0743=_0x587fdb[_0x3207a2(0x421)];return{'type':q(_0x1a0743==null?void 0x0:_0x1a0743[_0x3207a2(0x5ba)]),'angle':(_0x268f61=_0x1a0743==null?void 0x0:_0x1a0743[_0x3207a2(0x1dd)])==null?0x5a:_0x268f61,'stops':_0x1a0743!=null&&_0x1a0743[_0x3207a2(0x56e)]&&_0x1a0743[_0x3207a2(0x56e)][_0x3207a2(0x2df)]>=0x2?_0x1a0743[_0x3207a2(0x56e)]['map'](_0x1fa23f=>({'color':_0x1fa23f['color'],'offset':_0x1fa23f['position']*0x64})):[{'color':(_0x1a0743==null?void 0x0:_0x1a0743[_0x3207a2(0x52c)])||_0x3207a2(0x44d),'offset':0x0},{'color':_0x3207a2(0x5cf),'offset':0x64}]};},[_0x587fdb[_0x203898(0x421)]]);return(0x0,x[_0x203898(0x338)])('div',{'className':'univer-pt-2','children':(0x0,x[_0x203898(0x338)])(v['GradientColorPicker'],{'value':_0x591ea8,'onChange':_0x4b90fb=>{const _0x9094b8=_0x203898;let _0x2bda7f=ae(_0x4b90fb[_0x9094b8(0x571)]),_0x42d17b=_0x4b90fb['angle'];_0x184c01({'gradientType':_0x2bda7f,'gradientAngle':_0x42d17b,'gradientStops':_0x4b90fb[_0x9094b8(0x25f)][_0x9094b8(0x2be)](_0x357fd1=>({'color':_0x357fd1['color'],'position':_0x357fd1[_0x9094b8(0x35b)]/0x64}))});}})});}function oe(_0x41fe68){const _0x2d7896=_0x2cfc0c;var _0x7c1f93,_0x1fe0e1,_0xacd8c3,_0x404a74,_0x1d4e79,_0x4963df,_0x2b42bc,_0x3c90a1,_0x27a876,_0x287060,_0x118d05,_0x4782a3,_0x3018b9,_0xddfaed,_0x225f8b,_0x2c81c2;let _0x517096=(0x0,g['useDependency'])(u['LocaleService']),_0x383d50=(0x0,g[_0x2d7896(0x1b6)])(u['ICommandService']),_0x10df74=(0x0,g[_0x2d7896(0x1b6)])(u[_0x2d7896(0x2dc)]),{shapeData:_0x44df85,isLineShape:_0x35bc6a,unitId:_0x144738,subUnitId:_0x555285,shapeId:_0x3df8fa,disableShapeOption:_0x42abbc}=_0x41fe68,_0x592dec=_0x44df85['stroke'],[_0x2c157d,_0x4b9ff8]=(0x0,y[_0x2d7896(0x4e5)])((_0x7c1f93=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x1a6)])==null?c[_0x2d7896(0x403)][_0x2d7896(0x5ec)]:_0x7c1f93),[_0x5abab2,_0x3ca7cc]=(0x0,y['useState'])((_0x1fe0e1=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x52c)])==null?c[_0x2d7896(0x41e)][_0x2d7896(0x3df)]:_0x1fe0e1),[_0x4756c4,_0x53f14d]=(0x0,y[_0x2d7896(0x4e5)])((_0xacd8c3=_0x592dec==null?void 0x0:_0x592dec['opacity'])==null?0x1:_0xacd8c3),[_0x39f85d,_0x327365]=(0x0,y['useState'])((_0x404a74=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x651)])==null?c['ShapeDefaultConfig'][_0x2d7896(0x2ea)]:_0x404a74),[_0x45efba,_0x537b82]=(0x0,y['useState'])((_0x1d4e79=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x1fd)])==null?c['ShapeLineDashEnum'][_0x2d7896(0x30f)]:_0x1d4e79),[_0xfaefb0,_0x2774b5]=(0x0,y['useState'])((_0x4963df=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x696)])==null?c[_0x2d7896(0x31e)]['Flat']:_0x4963df),[_0x133011,_0x8d6d93]=(0x0,y[_0x2d7896(0x4e5)])((_0x2b42bc=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x579)])==null?c[_0x2d7896(0x20c)][_0x2d7896(0x53f)]:_0x2b42bc),[_0x3ec213,_0x58dd88]=(0x0,y['useState'])((_0x3c90a1=_0x592dec==null?void 0x0:_0x592dec[_0x2d7896(0x2ba)])==null?c[_0x2d7896(0x62e)][_0x2d7896(0x5c1)]:_0x3c90a1),_0x250465=_0x44df85,[_0x34cf20,_0x5d2fab]=(0x0,y[_0x2d7896(0x4e5)])((_0x27a876=(_0x287060=_0x250465['ln'])==null||(_0x287060=_0x287060[_0x2d7896(0x3d7)])==null?void 0x0:_0x287060[_0x2d7896(0x571)])==null?c[_0x2d7896(0x3fc)][_0x2d7896(0x5c1)]:_0x27a876),[_0x8ba098,_0x461054]=(0x0,y[_0x2d7896(0x4e5)])((_0x118d05=(_0x4782a3=_0x250465['ln'])==null||(_0x4782a3=_0x4782a3[_0x2d7896(0x3d7)])==null?void 0x0:_0x4782a3[_0x2d7896(0x1dc)])==null?c[_0x2d7896(0x480)][_0x2d7896(0x5a6)]:_0x118d05),[_0x27c5a0,_0x1797c4]=(0x0,y[_0x2d7896(0x4e5)])((_0x3018b9=(_0xddfaed=_0x250465['ln'])==null||(_0xddfaed=_0xddfaed[_0x2d7896(0x67c)])==null?void 0x0:_0xddfaed[_0x2d7896(0x571)])==null?c[_0x2d7896(0x3fc)][_0x2d7896(0x5c1)]:_0x3018b9),[_0x464e0e,_0x433f42]=(0x0,y[_0x2d7896(0x4e5)])((_0x225f8b=(_0x2c81c2=_0x250465['ln'])==null||(_0x2c81c2=_0x2c81c2['endArrow'])==null?void 0x0:_0x2c81c2['size'])==null?c[_0x2d7896(0x480)][_0x2d7896(0x5a6)]:_0x225f8b),[_0x1e726e,_0x45df0f]=(0x0,y['useState'])(!0x1),_0x3e53cf=0x64-_0x4756c4*0x64,_0x540b42=[{'label':_0x517096['t'](_0x2d7896(0x2d6)),'value':String(c[_0x2d7896(0x5cc)]['Solid'])},{'label':_0x517096['t']('docs-shape-ui.line.dashType.roundDot'),'value':String(c['ShapeLineDashEnum'][_0x2d7896(0x292)])},{'label':_0x517096['t']('docs-shape-ui.line.dashType.squareDot'),'value':String(c[_0x2d7896(0x5cc)][_0x2d7896(0x206)])},{'label':_0x517096['t']('docs-shape-ui.line.dashType.dash'),'value':String(c[_0x2d7896(0x5cc)][_0x2d7896(0x1d8)])},{'label':_0x517096['t'](_0x2d7896(0x3e8)),'value':String(c[_0x2d7896(0x5cc)][_0x2d7896(0x537)])},{'label':_0x517096['t'](_0x2d7896(0x478)),'value':String(c[_0x2d7896(0x5cc)][_0x2d7896(0x38a)])},{'label':_0x517096['t'](_0x2d7896(0x547)),'value':String(c[_0x2d7896(0x5cc)][_0x2d7896(0x474)])},{'label':_0x517096['t']('docs-shape-ui.line.dashType.longDashDotDot'),'value':String(c[_0x2d7896(0x5cc)]['LongDashDotDot'])}],_0x2c9062=[{'label':_0x517096['t'](_0x2d7896(0x4e6)),'value':String(c[_0x2d7896(0x31e)][_0x2d7896(0x334)])},{'label':_0x517096['t'](_0x2d7896(0x64d)),'value':String(c['ShapeLineCapEnum']['Round'])},{'label':_0x517096['t'](_0x2d7896(0x4a6)),'value':String(c[_0x2d7896(0x31e)][_0x2d7896(0x627)])}],_0x4ea517=[{'label':_0x517096['t'](_0x2d7896(0x4e8)),'value':String(c[_0x2d7896(0x62e)][_0x2d7896(0x5c1)])},{'label':_0x517096['t']('docs-shape-ui.line.sketchType.curved'),'value':String(c[_0x2d7896(0x62e)][_0x2d7896(0x254)])},{'label':_0x517096['t']('docs-shape-ui.line.sketchType.freehand'),'value':String(c[_0x2d7896(0x62e)][_0x2d7896(0x2c4)])},{'label':_0x517096['t'](_0x2d7896(0x65b)),'value':String(c[_0x2d7896(0x62e)][_0x2d7896(0x488)])}],_0x3ad285=[{'label':_0x517096['t']('docs-shape-ui.line.joinType.miter'),'value':String(c[_0x2d7896(0x20c)][_0x2d7896(0x53f)])},{'label':_0x517096['t'](_0x2d7896(0x44c)),'value':String(c[_0x2d7896(0x20c)][_0x2d7896(0x4bb)])},{'label':_0x517096['t'](_0x2d7896(0x194)),'value':String(c[_0x2d7896(0x20c)][_0x2d7896(0x4ca)])}],_0x6e0d8=[{'label':_0x517096['t'](_0x2d7896(0x397)),'value':String(c[_0x2d7896(0x3fc)][_0x2d7896(0x5c1)])},{'label':_0x517096['t'](_0x2d7896(0x613)),'value':String(c[_0x2d7896(0x3fc)][_0x2d7896(0x5d6)])},{'label':_0x517096['t'](_0x2d7896(0x51e)),'value':String(c[_0x2d7896(0x3fc)]['OpenArrow'])},{'label':_0x517096['t']('docs-shape-ui.line.arrowType.stealthArrow'),'value':String(c[_0x2d7896(0x3fc)][_0x2d7896(0x267)])},{'label':_0x517096['t'](_0x2d7896(0x1ae)),'value':String(c[_0x2d7896(0x3fc)][_0x2d7896(0x23c)])},{'label':_0x517096['t'](_0x2d7896(0x4d6)),'value':String(c['ShapeArrowTypeEnum'][_0x2d7896(0x4b5)])}],_0x68a95f=[{'label':_0x517096['t'](_0x2d7896(0x36a)),'value':String(c[_0x2d7896(0x480)][_0x2d7896(0x6b7)])},{'label':_0x517096['t'](_0x2d7896(0x3ab)),'value':String(c[_0x2d7896(0x480)][_0x2d7896(0x5a6)])},{'label':_0x517096['t'](_0x2d7896(0x1bb)),'value':String(c['ShapeArrowSizeEnum'][_0x2d7896(0x6ab)])}];return(0x0,x[_0x2d7896(0x4fe)])('div',{'className':_0x2d7896(0x53c),'children':[(0x0,x[_0x2d7896(0x4fe)])(v[_0x2d7896(0x575)],{'value':String(_0x2c157d),'disabled':_0x42abbc,'onChange':_0x162c76=>{const _0x3bace4=_0x2d7896;var _0x2ee8fb;_0x4b9ff8(Number(_0x162c76)),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x2ee8fb=_0x44df85[_0x3bace4(0x3df)])==null?void 0x0:_0x2ee8fb[_0x3bace4(0x1a6)]}}},{'stroke':{'lineStrokeType':Number(_0x162c76)}});},'direction':_0x2d7896(0x1f3),'children':[(0x0,x[_0x2d7896(0x338)])(v['Radio'],{'value':String(c[_0x2d7896(0x403)][_0x2d7896(0x48d)]),'children':(0x0,x[_0x2d7896(0x338)])('span',{'className':_0x2d7896(0x39b),'children':_0x517096['t']('docs-shape-ui.line.noLine')})}),(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x495)],{'value':String(c[_0x2d7896(0x403)][_0x2d7896(0x5ec)]),'children':(0x0,x[_0x2d7896(0x338)])('span',{'className':_0x2d7896(0x39b),'children':_0x517096['t'](_0x2d7896(0x22c))})})]}),_0x2c157d!==c[_0x2d7896(0x403)][_0x2d7896(0x48d)]&&(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4de),'children':[(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x560))}),(0x0,x['jsx'])(v[_0x2d7896(0x305)],{'disabled':_0x42abbc,'overlay':(0x0,x['jsx'])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x5d0),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x5a9)],{'value':_0x5abab2,'onChange':_0x272317=>{const _0x122d5c=_0x2d7896;var _0x3af76d;z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'color':(_0x3af76d=_0x44df85[_0x122d5c(0x3df)])==null?void 0x0:_0x3af76d['color']}}},{'stroke':{'color':_0x272317}}),_0x3ca7cc(_0x272317),_0x45df0f(!0x1);}})}),'open':_0x1e726e,'onOpenChange':_0x45df0f,'children':(0x0,x[_0x2d7896(0x4fe)])('a',{'className':_0x2d7896(0x4a2),'children':[(0x0,x[_0x2d7896(0x338)])(h[_0x2d7896(0x693)],{'className':_0x2d7896(0x2a2),'extend':{'colorChannel1':_0x5abab2}}),(0x0,x['jsx'])(h['MoreDownIcon'],{'className':(0x0,v[_0x2d7896(0x1b7)])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x1e726e})})]})})]}),(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x24c),'children':[(0x0,x['jsx'])(_0x2d7896(0x61c),{'className':_0x2d7896(0x513),'children':_0x517096['t']('docs-shape-ui.line.transparency')}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x3c3),'children':(0x0,x[_0x2d7896(0x338)])(v['InputNumber'],{'className':_0x2d7896(0x63f),'value':_0x3e53cf,'disabled':_0x42abbc,'min':0x0,'max':0x64,'formatter':_0x3d1a09=>_0x3d1a09+'%','parser':_0x189f21=>(_0x189f21==null?void 0x0:_0x189f21[_0x2d7896(0x667)]('%',''))||'','onChange':_0x51b7f8=>{const _0x43464e=_0x2d7896;var _0x21b188;let _0x2f26f2=(0x64-Math[_0x43464e(0x541)](0x0,Math[_0x43464e(0x303)](0x64,_0x51b7f8==null?0x0:_0x51b7f8)))/0x64;_0x53f14d(_0x2f26f2),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'opacity':(_0x21b188=_0x44df85['stroke'])==null?void 0x0:_0x21b188[_0x43464e(0x378)]}}},{'stroke':{'opacity':_0x2f26f2}}),_0x10df74[_0x43464e(0x626)](u[_0x43464e(0x283)],!0x1);},'onFocus':()=>_0x10df74[_0x2d7896(0x626)](u[_0x2d7896(0x283)],!0x0),'onBlur':_0x4ea428=>{const _0x308fa1=_0x2d7896;_0x10df74[_0x308fa1(0x626)](u[_0x308fa1(0x283)],!0x1);}})})})]}),(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x24c),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x328))}),(0x0,x['jsx'])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x688),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x4d7)],{'className':'univer-w-full','disabled':_0x42abbc,'value':_0x39f85d,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x4745f0=>_0x4745f0+_0x2d7896(0x4f1),'parser':_0x3d37f5=>(_0x3d37f5==null?void 0x0:_0x3d37f5['replace']('\x20px',''))||'','onChange':_0x422437=>{const _0x1455ac=_0x2d7896;if(!Number['isNaN'](_0x422437)&&_0x422437!==null){var _0x31a5f4;z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'width':(_0x31a5f4=_0x44df85[_0x1455ac(0x3df)])==null?void 0x0:_0x31a5f4[_0x1455ac(0x651)]}}},{'stroke':{'width':_0x422437}});}_0x10df74[_0x1455ac(0x626)](u[_0x1455ac(0x283)],!0x1);},'onFocus':()=>_0x10df74[_0x2d7896(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x4fd6d1=>{const _0x2fbabc=_0x2d7896;_0x10df74[_0x2fbabc(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})]}),(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x4b8))}),(0x0,x['jsx'])(_0x2d7896(0x4c3),{'className':'univer-w-28','children':(0x0,x['jsx'])(v['Select'],{'className':'univer-w-full','value':String(_0x45efba),'options':_0x540b42,'disabled':_0x42abbc,'onChange':_0x4fc3e5=>{const _0x4a13da=_0x2d7896;var _0x5a12ae;_0x537b82(Number(_0x4fc3e5)),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'dashType':(_0x5a12ae=_0x44df85[_0x4a13da(0x3df)])==null?void 0x0:_0x5a12ae[_0x4a13da(0x1fd)]}}},{'stroke':{'dashType':Number(_0x4fc3e5)}});}})})]}),(0x0,x['jsxs'])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])('span',{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x65e))}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':'univer-w-28','children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':_0x2d7896(0x63f),'value':String(_0xfaefb0),'options':_0x2c9062,'disabled':_0x42abbc,'onChange':_0x126271=>{const _0x4d87b2=_0x2d7896;var _0xa0de33;_0x2774b5(Number(_0x126271)),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'capType':(_0xa0de33=_0x44df85['stroke'])==null?void 0x0:_0xa0de33[_0x4d87b2(0x696)]}}},{'stroke':{'capType':Number(_0x126271)}});}})})]}),(0x0,x[_0x2d7896(0x4fe)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t']('docs-shape-ui.line.joinType.title')}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':'univer-w-28','children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':'univer-w-full','value':String(_0x133011),'options':_0x3ad285,'disabled':_0x42abbc,'onChange':_0x17b93c=>{var _0x3e3044;_0x8d6d93(Number(_0x17b93c)),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'lineJoinType':(_0x3e3044=_0x44df85['stroke'])==null?void 0x0:_0x3e3044['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x17b93c)}});}})})]}),!_0x35bc6a&&(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x228))}),(0x0,x['jsx'])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x594),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':_0x2d7896(0x63f),'value':String(_0x3ec213),'options':_0x4ea517,'disabled':_0x42abbc,'onChange':_0x2ca89c=>{const _0x1999ec=_0x2d7896;var _0x1b5c41;_0x58dd88(Number(_0x2ca89c)),z(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'stroke':{'sketchType':(_0x1b5c41=_0x44df85['stroke'])==null?void 0x0:_0x1b5c41[_0x1999ec(0x2ba)]}}},{'stroke':{'sketchType':Number(_0x2ca89c)}});}})})]}),_0x35bc6a&&(0x0,x['jsxs'])(x[_0x2d7896(0x637)],{'children':[(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x['jsx'])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x5b0))}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x594),'children':(0x0,x['jsx'])(v[_0x2d7896(0x54a)],{'className':'univer-w-full','value':String(_0x34cf20),'options':_0x6e0d8,'onChange':_0x20e79f=>{const _0x6520cc=_0x2d7896;var _0x18879f;_0x5d2fab(Number(_0x20e79f)),B(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x18879f=_0x44df85['ln'])==null||(_0x18879f=_0x18879f[_0x6520cc(0x3d7)])==null?void 0x0:_0x18879f[_0x6520cc(0x571)]}}}},{'ln':{'startArrow':{'type':Number(_0x20e79f)}}});}})})]}),(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t']('docs-shape-ui.line.beginArrowSize')}),(0x0,x['jsx'])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x594),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':'univer-w-full','value':String(_0x8ba098),'options':_0x68a95f,'onChange':_0x50d4e8=>{const _0x3eaac2=_0x2d7896;var _0x3c684b;_0x461054(Number(_0x50d4e8)),B(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x3c684b=_0x44df85['ln'])==null||(_0x3c684b=_0x3c684b[_0x3eaac2(0x3d7)])==null?void 0x0:_0x3c684b[_0x3eaac2(0x1dc)]}}}},{'ln':{'startArrow':{'size':Number(_0x50d4e8)}}});}})})]}),(0x0,x[_0x2d7896(0x4fe)])('div',{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x517096['t'](_0x2d7896(0x50d))}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x594),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':_0x2d7896(0x63f),'value':String(_0x27c5a0),'options':_0x6e0d8,'onChange':_0x26e08d=>{const _0x3429a5=_0x2d7896;var _0x3d87ee;_0x1797c4(Number(_0x26e08d)),B(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x3d87ee=_0x44df85['ln'])==null||(_0x3d87ee=_0x3d87ee[_0x3429a5(0x67c)])==null?void 0x0:_0x3d87ee[_0x3429a5(0x571)]}}}},{'ln':{'endArrow':{'type':Number(_0x26e08d)}}});}})})]}),(0x0,x[_0x2d7896(0x4fe)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x4c5),'children':[(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x61c),{'className':_0x2d7896(0x33c),'children':_0x517096['t'](_0x2d7896(0x5b4))}),(0x0,x[_0x2d7896(0x338)])(_0x2d7896(0x4c3),{'className':_0x2d7896(0x594),'children':(0x0,x[_0x2d7896(0x338)])(v[_0x2d7896(0x54a)],{'className':_0x2d7896(0x63f),'value':String(_0x464e0e),'options':_0x68a95f,'onChange':_0x1d2b5b=>{const _0xd25f8c=_0x2d7896;var _0x325eab;_0x433f42(Number(_0x1d2b5b)),B(_0x383d50,_0x144738,_0x555285,_0x3df8fa,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x325eab=_0x44df85['ln'])==null||(_0x325eab=_0x325eab['endArrow'])==null?void 0x0:_0x325eab[_0xd25f8c(0x1dc)]}}}},{'ln':{'endArrow':{'size':Number(_0x1d2b5b)}}});}})})]})]})]})]});}function Y(){const _0x4c9128=_0x2cfc0c;let _0x29a443=(0x0,g[_0x4c9128(0x1b6)])(m[_0x4c9128(0x2e2)]),[_0xbc7e30,_0x568402]=(0x0,y['useState'])(_0x29a443['getFocusDrawings']());return(0x0,y[_0x4c9128(0x60c)])(()=>{let _0x4c8e85=_0x29a443['focus$']['subscribe'](_0x56c9c7=>{_0x568402(_0x56c9c7);});return()=>{const _0x36b7c3=_0x49eb;_0x4c8e85[_0x36b7c3(0x1be)]();};},[]),_0xbc7e30[_0x4c9128(0x2df)]===0x0?null:(0x0,x[_0x4c9128(0x338)])(_0x4c9128(0x4c3),{'children':(0x0,x[_0x4c9128(0x4fe)])('div',{'className':_0x4c9128(0x676),'children':[(0x0,x[_0x4c9128(0x338)])(b[_0x4c9128(0x624)],{'drawings':_0xbc7e30,'hasCropper':!0x1}),(0x0,x[_0x4c9128(0x338)])(d[_0x4c9128(0x20a)],{'drawings':_0xbc7e30}),(0x0,x[_0x4c9128(0x338)])(d[_0x4c9128(0x396)],{'drawings':_0xbc7e30})]})});}function X(_0xdd7dc2){const _0x175c83=_0x2cfc0c;let {shapeData:_0x4e3b07,shapeId:_0x29c2c7,shapeType:_0x336a6d,version:_0x2bd023,unitId:_0x33a1f2,subUnitId:_0x39acc2,disableShapeOption:_0x55f349}=_0xdd7dc2,_0x5d3461=(0x0,g[_0x175c83(0x1b6)])(u['LocaleService']),_0x21737e=(0x0,c[_0x175c83(0x301)])(_0x336a6d),[_0x3c6e78,_0x2c055e]=(0x0,y[_0x175c83(0x4e5)])(0x0),_0x3cbb97=[{'label':(0x0,x[_0x175c83(0x338)])(_0x175c83(0x4c3),{'children':_0x5d3461['t'](_0x175c83(0x1c2))}),'children':(0x0,x[_0x175c83(0x338)])('section',{'className':_0x175c83(0x3b4),'children':(0x0,x[_0x175c83(0x338)])(ie,{'shapeId':_0x29c2c7,'shapeData':_0x4e3b07,'isLineShape':_0x21737e,'subUnitId':_0x39acc2,'unitId':_0x33a1f2,'disableShapeOption':_0x55f349},_0x29c2c7)})},{'label':(0x0,x['jsx'])(_0x175c83(0x4c3),{'children':_0x5d3461['t'](_0x175c83(0x20e))}),'children':(0x0,x[_0x175c83(0x338)])(_0x175c83(0x333),{'className':_0x175c83(0x3b4),'children':(0x0,x['jsx'])(oe,{'shapeId':_0x29c2c7,'shapeData':_0x4e3b07,'isLineShape':_0x21737e,'subUnitId':_0x39acc2,'unitId':_0x33a1f2,'disableShapeOption':_0x55f349},_0x29c2c7)})}];return(0x0,x[_0x175c83(0x4fe)])('div',{'className':'univer-size-full','children':[(0x0,x['jsxs'])('div',{'className':_0x175c83(0x1eb),'children':[(0x0,x[_0x175c83(0x4fe)])(_0x175c83(0x4c3),{'className':(0x0,v[_0x175c83(0x1b7)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x3c6e78===0x0?_0x175c83(0x625):_0x175c83(0x2a2)),'onClick':()=>_0x2c055e(0x0),'children':[_0x5d3461['t'](_0x175c83(0x5e8)),(0x0,x['jsx'])(_0x175c83(0x4c3),{'className':(0x0,v['clsx'])(_0x175c83(0x1c3),{'univer-bg-primary-600':_0x3c6e78===0x0,'univer-bg-transparent':_0x3c6e78!==0x0})})]}),(0x0,x[_0x175c83(0x4fe)])('div',{'className':(0x0,v[_0x175c83(0x1b7)])(_0x175c83(0x239),{'univer-text-primary-600':_0x3c6e78===0x1,'univer-text-gray-500':_0x3c6e78!==0x1}),'onClick':()=>_0x2c055e(0x1),'children':[_0x5d3461['t']('docs-shape-ui.shapePosition'),(0x0,x['jsx'])(_0x175c83(0x4c3),{'className':(0x0,v[_0x175c83(0x1b7)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600',{'univer-bg-primary-600':_0x3c6e78===0x1,'univer-bg-transparent':_0x3c6e78!==0x1})})]})]}),(0x0,x[_0x175c83(0x338)])(_0x175c83(0x4c3),{'className':_0x175c83(0x5b6),'children':_0x3c6e78===0x0?(0x0,x['jsx'])(_0x175c83(0x4c3),{'className':'','children':(0x0,x[_0x175c83(0x338)])(v['Accordion'],{'items':_0x3cbb97})},_0x2bd023):(0x0,x[_0x175c83(0x338)])(Y,{})})]});}function se(_0x4e86af,_0x53de76=u['HorizontalAlign'][_0x2cfc0c(0x271)]){const _0x2fdbae=_0x2cfc0c;return{'id':_0x2fdbae(0x346),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x53de76}}]},'documentStyle':{'textStyle':_0x4e86af?{..._0x4e86af}:void 0x0}};}function Z(_0x5309f8,_0x480f23){const _0x1a58ea=_0x2cfc0c;var _0x4f8f12,_0x4cc52d;let _0x355438=_0x5309f8['shapeText'],_0x514db0=_0x355438&&_0x1a58ea(0x2fd)in _0x355438?_0x355438[_0x1a58ea(0x2fd)]:void 0x0,_0x2ae849=(_0x4f8f12=(_0x4cc52d=_0x480f23[_0x1a58ea(0x371)])==null?_0x514db0==null?void 0x0:_0x514db0['ha']:_0x4cc52d)==null?u[_0x1a58ea(0x3d1)][_0x1a58ea(0x271)]:_0x4f8f12;if(_0x514db0!=null&&_0x514db0[_0x1a58ea(0x6a2)]){var _0x19a519,_0x3bbe88;return{'va':(_0x19a519=_0x514db0['va'])==null?u[_0x1a58ea(0x3e4)][_0x1a58ea(0x1bd)]:_0x19a519,'ha':(_0x3bbe88=_0x514db0['ha'])==null?u[_0x1a58ea(0x3d1)][_0x1a58ea(0x271)]:_0x3bbe88,'doc':u[_0x1a58ea(0x1c7)][_0x1a58ea(0x3d6)](_0x514db0[_0x1a58ea(0x6a2)])};}return{'va':u['VerticalAlign']['TOP'],'ha':_0x2ae849,'doc':se(_0x480f23[_0x1a58ea(0x608)],_0x2ae849)};}function ce(_0x246e36,_0x1d578c){const _0x55d310=_0x2cfc0c;var _0x39b0e2,_0x2b8374,_0x329ac7,_0xa70c14;let _0x3e98a5=_0x246e36['shapeText'],_0x3290d7=Z(_0x246e36,_0x1d578c),_0x13fac9=(_0x39b0e2=_0x1d578c[_0x55d310(0x371)])==null?_0x3290d7['ha']:_0x39b0e2,_0x477b2f=(_0x2b8374=_0x1d578c['verticalAlign'])==null?_0x3290d7['va']:_0x2b8374,_0x48543a=_0x3290d7[_0x55d310(0x6a2)];if(_0x1d578c[_0x55d310(0x608)]){var _0x10c8a4,_0x3f7608;_0x48543a['documentStyle']={..._0x48543a[_0x55d310(0x475)],'textStyle':{...(_0x10c8a4=_0x48543a[_0x55d310(0x475)])==null?void 0x0:_0x10c8a4[_0x55d310(0x608)],..._0x1d578c[_0x55d310(0x608)]}};let _0x141e65=(_0x3f7608=_0x48543a[_0x55d310(0x278)])==null?void 0x0:_0x3f7608[_0x55d310(0x299)];if(_0x141e65){for(let _0x9f16b6 of _0x141e65)_0x9f16b6['ts']={..._0x9f16b6['ts'],..._0x1d578c[_0x55d310(0x608)]};}}let _0x375775=(_0x329ac7=_0x48543a[_0x55d310(0x278)])==null?void 0x0:_0x329ac7[_0x55d310(0x4e9)];if(_0x375775){for(let _0x1a464e of _0x375775)_0x1a464e[_0x55d310(0x514)]={..._0x1a464e[_0x55d310(0x514)],'horizontalAlign':_0x13fac9};}return{'shapeText':{'isHorizontal':(_0xa70c14=_0x3e98a5==null?void 0x0:_0x3e98a5['isHorizontal'])==null?!0x0:_0xa70c14,'dataModel':{'va':_0x477b2f,'ha':_0x13fac9,'doc':_0x48543a}}};}const le=_0x2cfc0c(0x40e);function Q(_0x5a5d82){const _0x5955d4=_0x2cfc0c;let _0x3d6787=_0x5a5d82[_0x5955d4(0x190)];return _0x3d6787&&'dataModel'in _0x3d6787&&_0x3d6787[_0x5955d4(0x2fd)]?_0x3d6787[_0x5955d4(0x2fd)]:null;}function ue(_0x105e36){const _0x45e481=_0x2cfc0c;var _0x2641c9,_0x5440af,_0x2e1d35,_0x4c0007;let _0x219116=(_0x2641c9=Q(_0x105e36))==null?void 0x0:_0x2641c9[_0x45e481(0x6a2)],_0x4cc4fe=(_0x5440af=_0x219116==null||(_0x2e1d35=_0x219116[_0x45e481(0x278)])==null||(_0x2e1d35=_0x2e1d35[_0x45e481(0x299)])==null||(_0x2e1d35=_0x2e1d35[0x0])==null?void 0x0:_0x2e1d35['ts'])==null?{}:_0x5440af;return{..._0x219116==null||(_0x4c0007=_0x219116[_0x45e481(0x475)])==null?void 0x0:_0x4c0007[_0x45e481(0x608)],..._0x4cc4fe};}function de(_0x47e0b1,_0x2d0f11){const _0x50c39e=_0x2cfc0c;var _0x896696;let _0x40d07a=_0x47e0b1==null||(_0x896696=_0x47e0b1[_0x50c39e(0x1ec)]()[_0x50c39e(0x27e)])==null?void 0x0:_0x896696[_0x2d0f11];return _0x40d07a?_0x40d07a[_0x50c39e(0x5fc)]===u['PositionedObjectLayoutType'][_0x50c39e(0x230)]?_0x40d07a[_0x50c39e(0x64e)]===u['BooleanNumber'][_0x50c39e(0x3e0)]?'behindText':_0x50c39e(0x52a):_0x40d07a[_0x50c39e(0x5fc)]===u[_0x50c39e(0x698)][_0x50c39e(0x60b)]?'wrapSquare':_0x40d07a[_0x50c39e(0x5fc)]===u[_0x50c39e(0x698)][_0x50c39e(0x1d3)]?_0x50c39e(0x4ab):_0x50c39e(0x665):_0x50c39e(0x665);}function fe(){const _0x2d7ccc=_0x2cfc0c;return(0x0,x[_0x2d7ccc(0x338)])(_0x2d7ccc(0x61c),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'});}function pe(){const _0x28a21e=_0x2cfc0c;return(0x0,x[_0x28a21e(0x4fe)])('svg',{'viewBox':'0\x200\x2020\x2020','width':_0x28a21e(0x671),'height':'1em','fill':_0x28a21e(0x686),'aria-hidden':_0x28a21e(0x347),'children':[(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x34d),{'d':_0x28a21e(0x470),'stroke':_0x28a21e(0x2a8),'strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x34d),{'d':_0x28a21e(0x255),'stroke':_0x28a21e(0x2a8),'strokeWidth':_0x28a21e(0x5b8),'strokeLinecap':_0x28a21e(0x621)}),(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x34d),{'d':_0x28a21e(0x24e),'stroke':'currentColor','strokeWidth':_0x28a21e(0x5b8),'strokeLinecap':_0x28a21e(0x621)}),(0x0,x[_0x28a21e(0x338)])('path',{'d':_0x28a21e(0x2c6),'stroke':_0x28a21e(0x2a8),'strokeWidth':_0x28a21e(0x5b8),'strokeLinecap':'round'}),(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x34d),{'d':_0x28a21e(0x1f1),'stroke':'currentColor','strokeWidth':_0x28a21e(0x5b8),'strokeLinecap':_0x28a21e(0x621)}),(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x34d),{'d':_0x28a21e(0x220),'stroke':_0x28a21e(0x2a8),'strokeWidth':_0x28a21e(0x5b8),'strokeLinecap':_0x28a21e(0x621)}),(0x0,x[_0x28a21e(0x338)])(_0x28a21e(0x644),{'x':'6.8','y':'7','width':_0x28a21e(0x518),'height':'6','rx':'1','stroke':_0x28a21e(0x2a8),'strokeWidth':_0x28a21e(0x5b8)})]});}function me(_0x4e342a){const _0x36b407=_0x2cfc0c;return _0x4e342a instanceof HTMLElement?!!_0x4e342a[_0x36b407(0x4e7)](_0x36b407(0x494)):!0x1;}function $(_0x3d3828){const _0x2f6494=_0x2cfc0c;return(0x0,x[_0x2f6494(0x338)])('div',{'className':_0x2f6494(0x440),'children':_0x3d3828[_0x2f6494(0x62b)]});}function he(_0x4a9c54){const _0x345c35=_0x2cfc0c;return(0x0,x[_0x345c35(0x338)])(v['Tooltip'],{'title':_0x4a9c54[_0x345c35(0x69e)],'placement':_0x345c35(0x2f3),'children':(0x0,x[_0x345c35(0x338)])('button',{'type':'button','disabled':_0x4a9c54['disabled'],'onClick':_0x4a9c54['onClick'],'className':(0x0,v[_0x345c35(0x1b7)])(_0x345c35(0x47a),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4a9c54[_0x345c35(0x37b)]}),'children':_0x4a9c54['children']})});}function ge(_0x17f388){const _0xd0cb49=_0x2cfc0c;let [_0x2c2419,_0x4eb188]=(0x0,y[_0xd0cb49(0x4e5)])(!0x1);return(0x0,x['jsx'])(v[_0xd0cb49(0x305)],{'disabled':_0x17f388[_0xd0cb49(0x56c)],'open':_0x2c2419,'onOpenChange':_0x4eb188,'overlay':(0x0,x['jsx'])('div',{'className':_0xd0cb49(0x3aa),'children':(0x0,x[_0xd0cb49(0x338)])(v[_0xd0cb49(0x5a9)],{'value':_0x17f388[_0xd0cb49(0x52c)],'onChange':_0x341645=>{_0x17f388['onChange'](_0x341645),_0x4eb188(!0x1);}})}),'children':(0x0,x[_0xd0cb49(0x338)])('span',{'children':(0x0,x[_0xd0cb49(0x338)])(v[_0xd0cb49(0x46c)],{'title':_0x17f388['title'],'placement':_0xd0cb49(0x2f3),'children':(0x0,x[_0xd0cb49(0x4fe)])(_0xd0cb49(0x64b),{'type':_0xd0cb49(0x64b),'disabled':_0x17f388[_0xd0cb49(0x56c)],'className':_0xd0cb49(0x549),'children':[_0x17f388[_0xd0cb49(0x62b)],(0x0,x[_0xd0cb49(0x338)])(_0xd0cb49(0x61c),{'className':_0xd0cb49(0x6b0),'style':{'backgroundColor':_0x17f388[_0xd0cb49(0x52c)]}})]})})})});}function _e(_0x4124e5){const _0x193c86=_0x2cfc0c;var _0x5e9db1;let [_0x564e4c,_0x8581ce]=(0x0,y[_0x193c86(0x4e5)])(!0x1),_0x3aec93=(_0x5e9db1=_0x4124e5[_0x193c86(0x638)][_0x193c86(0x483)](_0x422227=>_0x422227[_0x193c86(0x1cb)]===_0x4124e5[_0x193c86(0x1cb)]))==null?_0x4124e5['options'][0x0]:_0x5e9db1;return(0x0,x[_0x193c86(0x338)])(v[_0x193c86(0x305)],{'open':_0x564e4c,'onOpenChange':_0x8581ce,'overlay':(0x0,x['jsx'])(_0x193c86(0x4c3),{'className':'univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x4124e5[_0x193c86(0x638)][_0x193c86(0x2be)](_0x5430fb=>(0x0,x['jsxs'])(_0x193c86(0x64b),{'type':_0x193c86(0x64b),'onClick':()=>{const _0x246531=_0x193c86;_0x4124e5[_0x246531(0x4dd)](_0x5430fb[_0x246531(0x1cb)]),_0x8581ce(!0x1);},'className':(0x0,v[_0x193c86(0x1b7)])(_0x193c86(0x261),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5430fb[_0x193c86(0x1cb)]===_0x4124e5['value']}),'children':[(0x0,x[_0x193c86(0x338)])(_0x193c86(0x61c),{'className':_0x193c86(0x2b3),'children':_0x5430fb[_0x193c86(0x67d)]}),(0x0,x[_0x193c86(0x338)])(_0x193c86(0x61c),{'className':_0x193c86(0x240),'children':_0x5430fb['label']})]},_0x5430fb[_0x193c86(0x1cb)]))}),'children':(0x0,x[_0x193c86(0x338)])(_0x193c86(0x61c),{'children':(0x0,x[_0x193c86(0x338)])(v[_0x193c86(0x46c)],{'title':_0x4124e5[_0x193c86(0x69e)],'placement':'bottom','children':(0x0,x['jsxs'])(_0x193c86(0x64b),{'type':_0x193c86(0x64b),'className':(0x0,v[_0x193c86(0x1b7)])(_0x193c86(0x1a7),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x564e4c}),'children':[_0x3aec93[_0x193c86(0x67d)],(0x0,x[_0x193c86(0x338)])(h['MoreDownIcon'],{'className':'univer-text-xs'})]})})})});}function ve(_0x507bd7){const _0x4820bd=_0x2cfc0c;var _0x3a0538,_0x3ee026,_0x19d9d2,_0x4ce78b,_0x262a03,_0x4ad408,_0x28604a,_0x5e341f,_0x20ee54,_0xb6f47c,_0x340235,_0x22d80e,_0x4a9894,_0x5d73f8,_0x6615b3,_0x159dfc,_0x4205f1,_0x265020,_0x4393ba,_0x56b567,_0x42ee3f;let _0x5d1f38=_0x507bd7[_0x4820bd(0x29c)][_0x4820bd(0x262)];if(!_0x5d1f38)return null;let _0x85b0c4=(0x0,g['useDependency'])(u['ICommandService']),_0x8e8d8d=(0x0,g[_0x4820bd(0x1b6)])(u[_0x4820bd(0x600)]),_0x41d0f9=(0x0,g[_0x4820bd(0x1b6)])(l[_0x4820bd(0x353)]),_0xa1dbec=(0x0,g[_0x4820bd(0x1b6)])(u[_0x4820bd(0x57a)]),_0x5db5f9=(0x0,g[_0x4820bd(0x1b6)])(u[_0x4820bd(0x2dc)]),_0x288a3a=(0x0,g['useDependency'])(g['IFontService']),{unitId:_0x5e1453,subUnitId:_0x3c2a30,drawingId:_0xd0e039,shapeType:_0x24a26f}=_0x5d1f38,[_0x2ec6e6,_0x18515b]=(0x0,y['useState'])(_0x5d1f38[_0x4820bd(0x680)]),[_0x59e4d5,_0x23550a]=(0x0,y[_0x4820bd(0x4e5)])(!0x1),[_0x304ab9,_0x16d4cb]=(0x0,y[_0x4820bd(0x4e5)])(()=>_0x288a3a[_0x4820bd(0x286)]()),_0x24943a=(_0x3a0538=_0xa1dbec[_0x4820bd(0x3f0)](_0x5e1453,u['UniverInstanceType'][_0x4820bd(0x41a)]))==null?void 0x0:_0x3a0538,[_0x16002f,_0x1df273]=(0x0,y[_0x4820bd(0x4e5)])(()=>de(_0x24943a,_0xd0e039)),_0x5ea544=(0x0,c['isConnectorShape'])(_0x24a26f),_0x3af5c6=(0x0,y[_0x4820bd(0x34f)])(()=>ue(_0x2ec6e6),[_0x2ec6e6]),_0x31260c=(0x0,y[_0x4820bd(0x34f)])(()=>Q(_0x2ec6e6),[_0x2ec6e6]);(0x0,y['useEffect'])(()=>{let _0x4f70fc=_0x85b0c4['onCommandExecuted'](_0x3edbe5=>{const _0x1681c1=_0x49eb;if(_0x3edbe5['id']!==l[_0x1681c1(0x36d)]['id'])return;let _0x466278=_0x41d0f9['getShapeDataById'](_0x5e1453,_0x3c2a30,_0xd0e039);_0x466278&&_0x18515b(_0x466278);});return()=>_0x4f70fc['dispose']();},[_0x85b0c4,_0x41d0f9,_0xd0e039,_0x3c2a30,_0x5e1453]),(0x0,y[_0x4820bd(0x60c)])(()=>{const _0x11c2c5=_0x4820bd;let _0x4a0020=_0x288a3a['fonts$'][_0x11c2c5(0x2e4)](_0x278626=>{_0x16d4cb(_0x278626);});return()=>_0x4a0020[_0x11c2c5(0x1be)]();},[_0x288a3a]);let _0x2698d8=_0x5e1f71=>{_0x18515b(_0x3a8f01=>({..._0x3a8f01,..._0x5e1f71}));},_0x5cf79a=_0xf383f9=>{let _0x2b3140=ce(_0x2ec6e6,_0xf383f9);z(_0x85b0c4,_0x5e1453,_0x3c2a30,_0xd0e039,{'oldShapeData':{'shapeText':_0x2ec6e6['shapeText']}},_0x2b3140),_0x2698d8(_0x2b3140);},_0x4cdb8d=_0x3caeed=>{const _0x57e1dc=_0x4820bd;_0x1df273(_0x3caeed),_0x85b0c4[_0x57e1dc(0x245)]('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x5e1453,'subUnitId':_0x3c2a30,'drawings':[{'unitId':_0x5e1453,'subUnitId':_0x3c2a30,'drawingId':_0xd0e039}],'wrappingStyle':_0x3caeed});};if(_0x59e4d5)return null;let _0x538df2=(_0x3ee026=(_0x19d9d2=_0x2ec6e6[_0x4820bd(0x421)])==null?void 0x0:_0x19d9d2['color'])==null?_0x4820bd(0x59f):_0x3ee026,_0xffecaa=(_0x4ce78b=(_0x262a03=_0x2ec6e6['stroke'])==null?void 0x0:_0x262a03['color'])==null?_0x4820bd(0x455):_0x4ce78b,_0xc1cd69=(_0x4ad408=(_0x28604a=_0x3af5c6['cl'])==null?void 0x0:_0x28604a[_0x4820bd(0x28c)])==null?_0x4820bd(0x218):_0x4ad408,_0x28bdd3=(_0x5e341f=(_0x20ee54=_0x3af5c6['bg'])==null?void 0x0:_0x20ee54[_0x4820bd(0x28c)])==null?_0x4820bd(0x44d):_0x5e341f,_0x1c7402=(_0xb6f47c=_0x3af5c6['ff'])==null?_0x4820bd(0x38b):_0xb6f47c,_0x1f5cd7=(_0x340235=_0x3af5c6['fs'])==null?0xe:_0x340235,_0x2f6659=_0x3af5c6['bl']===u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)],_0x5a4a8e=_0x3af5c6['it']===u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)],_0x208494=((_0x22d80e=_0x3af5c6['ul'])==null?void 0x0:_0x22d80e['s'])===u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)],_0x50910d=((_0x4a9894=_0x3af5c6['st'])==null?void 0x0:_0x4a9894['s'])===u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)],_0x13336d=_0x304ab9[_0x4820bd(0x2be)](_0x3776c8=>({'label':_0x8e8d8d['t'](_0x3776c8['label']),'value':_0x3776c8['value']})),_0x169a5c=g[_0x4820bd(0x2db)][_0x4820bd(0x2be)](_0x29ea33=>({'label':_0x29ea33[_0x4820bd(0x1ba)],'value':String(_0x29ea33[_0x4820bd(0x1cb)])})),_0x2db065=(_0x5d73f8=_0x31260c==null?void 0x0:_0x31260c['ha'])==null?u[_0x4820bd(0x3d1)][_0x4820bd(0x271)]:_0x5d73f8,_0x3869b5=(_0x6615b3=_0x31260c==null?void 0x0:_0x31260c['va'])==null?u[_0x4820bd(0x3e4)][_0x4820bd(0x1bd)]:_0x6615b3,_0x1dcd6e=[{'label':_0x8e8d8d['t'](_0x4820bd(0x566)),'value':u[_0x4820bd(0x3d1)][_0x4820bd(0x271)],'icon':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x4df)],{})},{'label':_0x8e8d8d['t'](_0x4820bd(0x4bc)),'value':u[_0x4820bd(0x3d1)][_0x4820bd(0x3e7)],'icon':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x50b)],{})},{'label':_0x8e8d8d['t']('docs-ui.toolbar.alignRight'),'value':u[_0x4820bd(0x3d1)][_0x4820bd(0x422)],'icon':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x1b0)],{})},{'label':_0x8e8d8d['t']('docs-ui.toolbar.alignJustify'),'value':u[_0x4820bd(0x3d1)]['JUSTIFIED'],'icon':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x2e8)],{})}],_0x334a0a=[{'label':_0x8e8d8d['t'](_0x4820bd(0x330)),'value':u[_0x4820bd(0x3e4)][_0x4820bd(0x1bd)],'icon':(0x0,x[_0x4820bd(0x338)])(h['AlignTopIcon'],{})},{'label':_0x8e8d8d['t'](_0x4820bd(0x6b8)),'value':u['VerticalAlign'][_0x4820bd(0x634)],'icon':(0x0,x['jsx'])(h[_0x4820bd(0x5c5)],{})},{'label':_0x8e8d8d['t']('image-panel.align.bottom'),'value':u[_0x4820bd(0x3e4)][_0x4820bd(0x1ac)],'icon':(0x0,x['jsx'])(h[_0x4820bd(0x3cd)],{})}],_0x524ff3=[{'label':_0x8e8d8d['t'](_0x4820bd(0x2c8)),'value':_0x4820bd(0x665),'icon':(0x0,x[_0x4820bd(0x338)])(pe,{})},{'label':_0x8e8d8d['t']('image-text-wrap.square'),'value':_0x4820bd(0x28b),'icon':(0x0,x[_0x4820bd(0x338)])(pe,{})},{'label':_0x8e8d8d['t'](_0x4820bd(0x3d3)),'value':_0x4820bd(0x4ab),'icon':(0x0,x[_0x4820bd(0x338)])(pe,{})},{'label':_0x8e8d8d['t'](_0x4820bd(0x48b)),'value':_0x4820bd(0x3dc),'icon':(0x0,x[_0x4820bd(0x338)])(pe,{})},{'label':_0x8e8d8d['t']('image-text-wrap.inFrontText'),'value':_0x4820bd(0x52a),'icon':(0x0,x[_0x4820bd(0x338)])(pe,{})}];return(0x0,x['jsxs'])(_0x4820bd(0x4c3),{'data-u-comp':'shape-floating-toolbar','onMouseDown':_0x1b0176=>{const _0x57827e=_0x4820bd;_0x1b0176[_0x57827e(0x533)](),me(_0x1b0176['target'])||_0x1b0176[_0x57827e(0x296)]();},'className':(0x0,v[_0x4820bd(0x1b7)])('univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',v[_0x4820bd(0x1cd)]),'children':[(0x0,x[_0x4820bd(0x4fe)])($,{'compact':!0x0,'children':[(0x0,x[_0x4820bd(0x338)])(ge,{'title':_0x8e8d8d['t']('docs-shape-ui.fill.title'),'color':_0x538df2,'disabled':_0x5ea544,'onChange':_0x12cce6=>{const _0x4737a0=_0x4820bd;let _0x1ae1ec={'fill':{..._0x2ec6e6[_0x4737a0(0x421)],'fillType':c[_0x4737a0(0x24f)][_0x4737a0(0x5d8)],'color':_0x12cce6}};z(_0x85b0c4,_0x5e1453,_0x3c2a30,_0xd0e039,{'oldShapeData':{'fill':_0x2ec6e6[_0x4737a0(0x421)]}},_0x1ae1ec),_0x2698d8(_0x1ae1ec);},'children':(0x0,x['jsx'])(h[_0x4820bd(0x693)],{'extend':{'colorChannel1':_0x538df2}})}),(0x0,x['jsx'])(ge,{'title':_0x8e8d8d['t'](_0x4820bd(0x20e)),'color':_0xffecaa,'onChange':_0x3b05d4=>{const _0x2642c8=_0x4820bd;let _0x3fdf37={'stroke':{..._0x2ec6e6[_0x2642c8(0x3df)],'lineStrokeType':c[_0x2642c8(0x403)][_0x2642c8(0x5ec)],'color':_0x3b05d4}};z(_0x85b0c4,_0x5e1453,_0x3c2a30,_0xd0e039,{'oldShapeData':{'stroke':_0x2ec6e6[_0x2642c8(0x3df)]}},_0x3fdf37),_0x2698d8(_0x3fdf37);},'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x46e)],{})})]}),(0x0,x[_0x4820bd(0x338)])(fe,{}),(0x0,x[_0x4820bd(0x4fe)])($,{'children':[(0x0,x[_0x4820bd(0x338)])(v['Select'],{'className':_0x4820bd(0x289),'value':_0x1c7402,'options':_0x13336d,'onChange':_0x304c5d=>_0x5cf79a({'textStyle':{'ff':String(_0x304c5d)}})}),(0x0,x[_0x4820bd(0x338)])(v['Select'],{'className':_0x4820bd(0x344),'value':String(_0x1f5cd7),'options':_0x169a5c,'onChange':_0x32a91a=>{const _0x41ed00=_0x4820bd;let _0x402b9f=Number(_0x32a91a);Number[_0x41ed00(0x588)](_0x402b9f)||_0x5cf79a({'textStyle':{'fs':_0x402b9f}}),_0x5db5f9[_0x41ed00(0x626)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x4820bd(0x4fe)])($,{'compact':!0x0,'children':[(0x0,x[_0x4820bd(0x338)])(he,{'title':_0x8e8d8d['t'](_0x4820bd(0x2ad)),'active':_0x2f6659,'onClick':()=>_0x5cf79a({'textStyle':{'bl':_0x2f6659?u[_0x4820bd(0x35a)][_0x4820bd(0x32a)]:u['BooleanNumber'][_0x4820bd(0x3e0)]}}),'children':(0x0,x[_0x4820bd(0x338)])(h['BoldIcon'],{})}),(0x0,x[_0x4820bd(0x338)])(he,{'title':_0x8e8d8d['t'](_0x4820bd(0x68b)),'active':_0x5a4a8e,'onClick':()=>_0x5cf79a({'textStyle':{'it':_0x5a4a8e?u[_0x4820bd(0x35a)][_0x4820bd(0x32a)]:u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)]}}),'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x2fc)],{})}),(0x0,x[_0x4820bd(0x338)])(he,{'title':_0x8e8d8d['t'](_0x4820bd(0x5de)),'active':_0x208494,'onClick':()=>_0x5cf79a({'textStyle':{'ul':{'s':_0x208494?u['BooleanNumber']['FALSE']:u[_0x4820bd(0x35a)]['TRUE']}}}),'children':(0x0,x[_0x4820bd(0x338)])(h['UnderlineIcon'],{})}),(0x0,x[_0x4820bd(0x338)])(he,{'title':_0x8e8d8d['t']('docs-ui.toolbar.strikethrough'),'active':_0x50910d,'onClick':()=>_0x5cf79a({'textStyle':{'st':{'s':_0x50910d?u['BooleanNumber']['FALSE']:u[_0x4820bd(0x35a)][_0x4820bd(0x3e0)]}}}),'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x335)],{})})]}),(0x0,x[_0x4820bd(0x338)])(fe,{}),(0x0,x[_0x4820bd(0x4fe)])($,{'compact':!0x0,'children':[(0x0,x[_0x4820bd(0x338)])(ge,{'title':_0x8e8d8d['t'](_0x4820bd(0x60f)),'color':_0xc1cd69,'onChange':_0x5113b5=>_0x5cf79a({'textStyle':{'cl':{'rgb':_0x5113b5}}}),'children':(0x0,x[_0x4820bd(0x338)])(h['FontColorDoubleIcon'],{'extend':{'colorChannel1':_0xc1cd69}})}),(0x0,x[_0x4820bd(0x338)])(ge,{'title':_0x8e8d8d['t'](_0x4820bd(0x268)),'color':_0x28bdd3,'onChange':_0x4c43dd=>_0x5cf79a({'textStyle':{'bg':{'rgb':_0x4c43dd}}}),'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x693)],{'extend':{'colorChannel1':_0x28bdd3}})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x4820bd(0x4fe)])($,{'compact':!0x0,'children':[(0x0,x[_0x4820bd(0x338)])(_e,{'title':(_0x159dfc=(_0x4205f1=_0x1dcd6e['find'](_0x449fdc=>_0x449fdc[_0x4820bd(0x1cb)]===_0x2db065))==null?void 0x0:_0x4205f1[_0x4820bd(0x1ba)])==null?_0x8e8d8d['t'](_0x4820bd(0x566)):_0x159dfc,'value':_0x2db065,'options':_0x1dcd6e,'onChange':_0x139590=>_0x5cf79a({'horizontalAlign':_0x139590})}),(0x0,x['jsx'])(_e,{'title':(_0x265020=(_0x4393ba=_0x334a0a[_0x4820bd(0x483)](_0x2f27ac=>_0x2f27ac[_0x4820bd(0x1cb)]===_0x3869b5))==null?void 0x0:_0x4393ba[_0x4820bd(0x1ba)])==null?_0x8e8d8d['t']('image-panel.align.top'):_0x265020,'value':_0x3869b5,'options':_0x334a0a,'onChange':_0x15f29e=>_0x5cf79a({'verticalAlign':_0x15f29e})})]}),(0x0,x[_0x4820bd(0x338)])(fe,{}),(0x0,x[_0x4820bd(0x338)])($,{'compact':!0x0,'children':(0x0,x[_0x4820bd(0x338)])(_e,{'title':(_0x56b567=(_0x42ee3f=_0x524ff3[_0x4820bd(0x483)](_0x59d109=>_0x59d109['value']===_0x16002f))==null?void 0x0:_0x42ee3f['label'])==null?_0x8e8d8d['t'](_0x4820bd(0x2c8)):_0x56b567,'value':_0x16002f,'options':_0x524ff3,'onChange':_0x4cdb8d})}),(0x0,x[_0x4820bd(0x338)])(fe,{}),(0x0,x[_0x4820bd(0x4fe)])($,{'compact':!0x0,'children':[(0x0,x[_0x4820bd(0x338)])(he,{'title':_0x8e8d8d['t'](_0x4820bd(0x26a)),'onClick':()=>{const _0x2cfedb=_0x4820bd;_0x23550a(!0x0),_0x85b0c4[_0x2cfedb(0x245)](M['id'],{'unitId':_0x5e1453,'subUnitId':_0x3c2a30,'drawingId':_0xd0e039});},'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x27d)],{})}),(0x0,x['jsx'])(he,{'title':_0x8e8d8d['t'](_0x4820bd(0x3bf)),'onClick':()=>{const _0x16361e=_0x4820bd;_0x85b0c4[_0x16361e(0x245)](d['RemoveDocDrawingCommand']['id'],{'unitId':_0x5e1453,'drawings':[{'unitId':_0x5e1453,'subUnitId':_0x3c2a30,'drawingId':_0xd0e039}]});},'children':(0x0,x[_0x4820bd(0x338)])(h[_0x4820bd(0x640)],{})})]})]});}ve[_0x2cfc0c(0x52f)]=_0x2cfc0c(0x3cb);let ye=class extends u[_0x2cfc0c(0x1b3)]{constructor(_0x4993e8,_0x2abace){const _0x2fcddf=_0x2cfc0c;super(),this['_clipService']=_0x4993e8,this[_0x2fcddf(0x1b4)]=_0x2abace,this[_0x2fcddf(0x555)](),this[_0x2fcddf(0x501)][_0x2fcddf(0x198)](!0x0),this['disposeWithMe']({'dispose':()=>this['_clipService'][_0x2fcddf(0x198)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x427eb9=_0x2cfc0c;let _0x2c1f8f=new Map(),_0x440d8b=this[_0x427eb9(0x501)][_0x427eb9(0x576)]((_0x257b4b,_0x17a107,_0x522aeb,_0x238771,_0x2b5b3f)=>{const _0x48c4cf=_0x427eb9;let _0x2aa961=_0x17a107;if(_0x2aa961===c[_0x48c4cf(0x251)]['None']||_0x17a107===_0x48c4cf(0x2a7))return!0x1;try{let _0x21e619=_0x2c1f8f[_0x48c4cf(0x426)](_0x17a107);return _0x21e619||(_0x21e619=new c[(_0x48c4cf(0x517))](_0x2aa961,'clip-'+_0x17a107),_0x2c1f8f[_0x48c4cf(0x386)](_0x17a107,_0x21e619)),_0x2b5b3f&&_0x21e619[_0x48c4cf(0x691)]({'adjustValues':_0x2b5b3f},!0x0),_0x21e619[_0x48c4cf(0x61e)]({'width':_0x522aeb,'height':_0x238771}),_0x21e619['buildClipPath'](_0x257b4b,{'left':0x0,'top':0x0,'width':_0x522aeb,'height':_0x238771});}catch{return!0x1;}});this['disposeWithMe'](_0x440d8b),this[_0x427eb9(0x3ec)]({'dispose':()=>_0x2c1f8f[_0x427eb9(0x1fe)]()});}['clipByShape'](_0x24f259,_0x56dd17,_0x382b72,_0x16ce2f,_0x59ff1e){const _0x29074d=_0x2cfc0c;let _0x79a231=this[_0x29074d(0x1b4)][_0x29074d(0x276)](_0x24f259,_0x56dd17)[_0x382b72];!_0x79a231||_0x79a231[_0x29074d(0x3be)]!==u[_0x29074d(0x562)][_0x29074d(0x297)]||this[_0x29074d(0x1b4)][_0x29074d(0x1f4)]([{..._0x79a231,'prstGeom':_0x16ce2f,'adjustValues':_0x59ff1e}]);}};function _0x52d0(){const _0x51dea6=['jsxs','changing$','ShapeCurvedConnector3Icon','_clipService','shape.type.left-bracket','ShapeChevronIcon','RightTriangle','shape.type.moon','ShapeUpDownArrowIcon','resize','doc.shape.picker.component','adjHandleFill','shape.type.brace-pair','HorizontallyIcon','ShapeFlowChartOnlineStorageIcon','docs-shape-ui.line.endArrowType','shape.type.bent-arrow','ShapeSmileyFaceIcon','_sidebarService','_hideFloatMenu','disableObjectsEvent','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','paragraphStyle','input','ShapeFlowChartCollateIcon','ShapeModel','6.4','Digit8','ShapeCubeIcon','getEditing','_getActiveDrawingShape','offsetY','docs-shape-ui.line.arrowType.openArrow','ShapeFlowChartMagneticDiskIcon','Parallelogram','VIEWPORT_KEY','ShapeMoonIcon','menuChanged$','syncExecuteCommand','49676ixLZky','shape.type.accent-callout2','Circle','FlowchartCollate','Star7','inFrontOfText','shape.type.flow-chart-summing-junction','color','shape.type.quad-arrow-callout','viewportScrollY','displayName','callout','_initSelectionChange','ShapeActionButtonReturnIcon','stopPropagation','getFocusDrawings','MetaKeys','_adjHandlerPointerUp','DashDot','ActionButtonReturn','_initializedShapePopupMenu','_draw','_attachAdjustEvent','univer-flex\x20univer-flex-col\x20univer-gap-3','shape.type.heart','getCurrentTypeOfUnit$','Miter','LeftCircularArrow','max','UpDownArrowCallout','ShapeWedgeRoundRectCalloutIcon','docs-shape-ui.fill.noFill','getInverseCoord','add$','docs-shape-ui.line.dashType.longDashDot','ShapeFlowChartInputOutputIcon','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','Select','focus$','CommandType','PERIOD','Stretch','ShapeActionButtonBackPreviousIcon','shape.type.flow-chart-connector','has','AccentCallout1','ShapeCallout2Icon','getSelectedObjectMap','_registerImageShapeClipDelegate','onDblclick$','shape.type.star12','attachTransformerTo','docs-shape-ui.fill.pictureFill','current','ShapeOctagonIcon','COMMAND','_lastEditingShapeKey','shape.type.wedge-rect-callout','IMenuManagerService','docs-shape-ui.line.color','ShapeRectTextboxVerticalIcon','DrawingTypeEnum','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeQuadArrowIcon','symbol','docs-ui.toolbar.alignLeft','diamond','ShapeSunIcon','COMMA','FLOAT_TEXT_STYLE_MENU_ID','CROSSHAIR','disabled','shape.type.chart-plus','gradientStops','docs-shape-ui.fill.transparency','WrapTextType','type','_toVisualAdjustPoint','shape.type.flow-chart-terminator','image','RadioGroup','registerClipDelegate','MenuInsertShapeCommand','docs-shape-ui.insertShape','lineJoinType','IUniverInstanceService','ShapeFlowChartDecisionIcon','WRAP','shape.type.round2-same-rect','data','ShapeAccentBorderCallout2Icon','useCallback','UturnArrow','DocSelectAllCommand','ShapeHorizontalScrollIcon','Inject','shape.type.curved-right-arrow','_transformCalculateSrcRect','rotate(','isNaN','DocSkeletonManagerService','transform','Snip2DiagRect','ShapeCloudCalloutIcon','_setTransForm','shape.type.pie','SetInlineFormatUnderlineCommand','shape.type.flow-chart-punched-card','ShapeFlowChartDelayIcon','getActualSize','_renderManagerService','univer-w-28','_editingParams$','FlowChartOfflineStorage','INSERT_BELLOW_MENU_ID','ShapeCurvedDownArrowIcon','shape.type.border-callout3','fillType','isHorizontal','refreshShapeFillImage','_contextService','Button','#3B82F6','ShapeLeftArrowCalloutIcon','ShapeMathMultiplyIcon','_context','SmileyFace','shape.type.round2-diag-rect','DRAWING_DOM','Medium','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','_docDrawingShapeRenderController','ColorPicker','Linear','hasOwnProperty','imageOpacity','_updateShape','Star5','top','docs-shape-ui.line.beginArrowType','mainComponent','_univerInstanceService','restore','docs-shape-ui.line.endArrowSize','onSelectionStart$','univer-flex-1\x20univer-overflow-auto','shape.type.straight-connector2','1.4','LeftRightCircularArrow','gradientType','NonIsoscelesTrapezoid','Plugin','shape.type.wedge-ellipse-callout','flipX','isLineShape','ShapeWedgeEllipseCalloutIcon','None','enumerable','ShapeGradientTypeEnum','isRichText','VerticalCenterIcon','WedgeEllipseCallout','ShapeStar8Icon','shape.type.math-plus','shape.type.bent-connector3-arrow1','FlowchartPreparation','_shapeTextEditingService','ShapeLineDashEnum','translateWithPrecision','VerticalScroll','#000000','univer-rounded-lg\x20univer-p-3','Digit7','string','start','_addShapeAdjustControl','FlowchartPredefinedProcess','Arrow','ShapeAccentBorderCallout1Icon','SolidFill','shape.type.left-brace','adjName','ShapeRectTextboxHorizontalIcon','ShapeBlockArcIcon','left','docs-ui.toolbar.underline','deg)\x20scaleY(','SetInlineFormatStrikethroughCommand','NoSmoking','UndoCommand','MoreDownIcon','indexOf','createControl$','getActiveViewportByCoord','multiply','docs-shape-ui.shapeStyle','Callout2','ShapeChartPlusIcon','UpdateDocShapeDataCommand','SolidLine','shape.type.striped-right-arrow','getPrototypeOf','isFinite','UniverInstanceType','ShapeHomePlateIcon','DRAWING_OBJECT_LAYER_INDEX','shape.type.flow-chart-manual-input','SELECTOR','ShapeLeftRightCircularArrowIcon','ShapeActionButtonHelpIcon','attachPopupToObject','Pentagon','next','onSavingEditorData$','ShapePlaqueTabsIcon','layoutType','DocParagraphMenuService','ShapeActionButtonBeginningIcon','BlockArc','LocaleService','getShapePopupMenus','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_createShapePopupMenu','IRenderManagerService','_docSelectionRenderService','Octagon','DownArrow','textStyle','Diamond','ShapeLineInvIcon','WRAP_SQUARE','useEffect','clearControl$','resetCursor','docs-ui.toolbar.textColor.main','univer-text-gray-600\x20univer-transition-transform','shape.type.uturn-arrow','UpArrow','docs-shape-ui.line.arrowType.arrow','setInsertRange','FOCUSING_COMMON_DRAWINGS','docs-shape-ui.fill.picture.align.ctr','CurvedLeftArrow','getFlatMenuByPositionKey','_activeShapeInfo','useKeyboardEvent','univer-text-xl\x20univer-text-gray-500','span','attachPopupToRange','updateContext','shape.type.math-multiply','shape.type.ellipse-ribbon2','round','horizontal','focus','DrawingCommonPanel','univer-text-primary-600','setContextValue','Square','OrderListCommand','getDocumentData','shape.type.vertical-scroll','children','render','_getFocusedShapeAtPoint','ShapeSketchTypeEnum','SetInlineFormatBoldCommand','values','LeftUpArrow','DownArrowCallout','save','MIDDLE','FlowchartDisplay','ShapeArcIcon','Fragment','options','Angular','DEFAULT_DOC_SHAPE_HEIGHT','ImageSourceTypeEnum','visible','isDrawingObject','BOTH_SIDES','univer-w-full','DeleteIcon','ActionButtonEnd','Star4','LeftRightArrowCallout','rect','shape.type.parallelogram','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_initialize','ShapeActionButtonInformationIcon','ShapeStripedRightArrowIcon','shape.type.wedge-round-rect-callout','button','Pie','docs-shape-ui.line.capType.round','behindDoc','_initSelection','top-center','width','_configService','ShapeCircularArrowIcon','position','other','drawingId','composeMatrix','ShapeNotchedRightArrowIcon','ShapeFlowChartMagneticDrumIcon','changeStart$','docs-shape-ui.line.sketchType.handDrawn','_drawShapeText','starAndBanner','docs-shape-ui.line.capType.title','localeService','_drawRichText','shape.type.wave','Radial','ShapeCurvedRightArrowIcon','onCommandExecuted','inline','shape.type.gear9','replace','ShapeFlowChartSummingJunctionIcon','LeftArrow','sin','ShapeVerticalScrollIcon','clone','focusDrawing','params','gdRefX','ShapeBentConnector3Arrow1Icon','1em','shape.type.left-arrow','ShapeChordIcon','Can','shape.type.action-button-beginning','univer-box-border\x20univer-px-4\x20univer-text-sm','_baseShapeWidth','shape.type.callout1','getMatrix','AccentBorderCallout1','shape.type.bent-up-arrow','endArrow','icon','shape.type.pie-wedge','ShapeStraightConnector2Icon','shapeData','shape-text-editor-content','radial','CurvedDownArrow','UniverDocsDrawingUIPlugin','LeftArrowCallout','none','CURSOR_TYPE','univer-w-20','ShapeRound1RectIcon','EMPTY_PARAGRAPH_MENU_ID','docs-ui.toolbar.italic','ContextMenuGroup','DocCanvasPopManagerService','Rect','ShapeRoundRectIcon','_onSavingEditorData$','setShapeData','getShapeTextData','PaintBucketDoubleIcon','shape.type.notched-right-arrow','asObservable','capType','univer-flex\x20univer-flex-col\x20univer-gap-2','PositionedObjectLayoutType','ShapeIcon','ShapePositionWrapper','ShapeUpArrowCalloutIcon','BentUpArrow','_insertShapes','title','getObjectIncludeInGroup','ShapeDownArrowCalloutIcon','INLINE','doc','ShapeFlowChartAlternateProcessIcon','shape.type.up-arrow-callout','viewportScrollX','prstGeom','registerCommand','ShapeBentConnector3Icon','63012vxjuhW','ShapeLeftRightUpArrowIcon','Large','IEditorService','shape.type.frame','_registerDrawingFocusChangeHandler','_registerDrawingTransformHandler','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeMathNotEqualIcon','Snip1Rect','useIsFocusing','Heptagon','_floatMenu','ActionButtonMovie','Small','image-panel.align.middle','shape.type.right-brace','shape-text-editor-position-wrapper','shapeText','_docSelectionManagerService','shape.type.chart-star','packageName','docs-shape-ui.line.joinType.bevel','_openShapeEditPanel','Gear9','includes','setCanUseShapeClip','ShapeDonutIcon','Transform','ShapeRightArrowIcon','RightBracket','setEditing','getShapeTextRect','calculate','shape.type.curved-connector3-arrow1','line','getActiveTextRange','ShapeLeftRightArrowIcon','ShapeSquareTabsIcon','Cloud','lineStrokeType','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeStar5Icon','onPointerMove$','ToolbarItem','_initEvents','BOTTOM','ShapeActionButtonHomeIcon','docs-shape-ui.line.arrowType.diamondArrow','shape.type.circular-arrow','RightJustifyingIcon','doc.shape.edit.panel','shape-text-','Disposable','_drawingManagerService','gdRefAng','useDependency','clsx','CornerTabs','docs-shape-ui.hidePanel','label','docs-shape-ui.line.arrowSize.large','_componentManager','TOP','unsubscribe','shape.type.snip2-same-rect','univer-absolute','Teardrop','docs-shape-ui.fill.title','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','getAbsolutePosition','shapeType','getValue','Tools','ShapeEllipseRibbonIcon','shape.type.octagon','shape.type.irregular-seal2','value','auto','borderClassName','shape.type.horizontal-scroll','RightBrace','setConfig','ICommandService','shape.type.callout2','WRAP_TOP_AND_BOTTOM','ShapeWedgeRectCalloutIcon','ShapeFlowChartDisplayIcon','srcRect','getDrawingEditable','Dash','shape.type.no-smoking','clipByShape','FlowchartOr','size','gradientAngle','ShapeActionButtonDocumentIcon','enhanceParams','ShapeAccentCallout1Icon','docDrawingPositionToTransform','ShapeFlowChartMagneticTapeIcon','DoubleWave','ShapePentagonIcon','ShapeActionButtonMovieIcon','shape.type.action-button-sound','endNodePosition','onload','open','changeEnd$','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','getSnapshot','shape.type.round-rect','ShapePlaqueIcon','menu','shape.type.star7','M2.5\x2015.5H8.2','version','vertical','featurePluginUpdateNotification','ShapeStar6Icon','HomePlate','docs-shape-ui.fill.picture.align.l','URL','shape.type.flow-chart-multidocument','ShapeBorderCallout2Icon','doc.operation.close-doc-shape-format-panel','shape.type.accent-border-callout3','dashType','clear','shape.type.curved-connector3-arrow2','_loadAndSetImage','shape.type.line','shape-text-editor','renderConfig','docs-shape-ui.fill.picture.offsetX','_closeShapeEditPanel','SquareDot','_clearPopups','WrapStrategy','shape.type.flow-chart-magnetic-drum','DocDrawingTextWrap','docs-shape-ui.fill.picture.alignment','ShapeLineJoinEnum','HalfFrame','docs-shape-ui.line.title','ShapeCloudIcon','SetInlineFormatItalicCommand','LeftRightArrow','_registerComponent','decorate','_activeShapeModel','getMenuHiddenObservable','call','item','#111827','RibbonInsertGroup','ShapeRenderModeEnum','beginPath','onPointerDown$','MathPlus','VERTICAL_ROTATE_ANGLE','name','M11.8\x2015.5H17.5','shape.type.flow-chart-internal-storage','Star24','shape.type.square-tabs','docs-shape-ui.fill.picture.offsetY','setTimeout','Star12','style','docs-shape-ui.line.sketchType.title','WedgeRectCallout','shape.type.can','shape.type.ribbon','docs-shape-ui.line.solidLine','flipY','useRef','getViewports','WRAP_NONE','objects','LAYOUT','_showFloatMenu','shape.type.half-frame','end','FlowchartPunchedCard','ShapeDownArrowIcon','_loadShapePictureFill','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','ShapeAccentCallout3Icon','Chord','DiamondArrow','BreakLineCommand','ShapeFlowChartOrIcon','backgroundColor','univer-flex-1','ShapeHeartIcon','shape.type.flow-chart-decision','ShapeBevelIcon','shape.type.rect-textbox-horizontal','executeCommand','ShapeEditor','NotchedRightArrow','shape.type.star8','shape.type.plus','shape.type.ellipse','shape.type.cloud','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','enableObjectsEvent','M2.5\x2010H5.7','ShapeFillEnum','FoldedCorner','ShapeTypeEnum','LeftRightUpArrow','ShapeSnip2SameRectIcon','Curved','M11.8\x204.5H17.5','shape.type.action-button-movie','ShapeStar7Icon','Round2DiagRect','textSelection$','ShapeFlowChartPunchedCardIcon','Shape','ShapeBorderCallout1Icon','shape.type.corner','engine','stops','setOnSavingEditorData','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','extraProps','group','shape.type.up-down-arrow','ShapeHeptagonIcon','FlowchartProcess','StealthArrow','docs-ui.toolbar.fillColor.main','complete','docs-shape-ui.openPanel','getCurrentUniverDocInstance','shape.type.star4','_adjustPointObjects','ActionButtonDocument','scaleY','AlignJustifyCommand','LEFT','Line','basicShape','bind','docs-shape-ui.fill.picture.align.b','getDrawingData','Dodecagon','body','DOCS_SHAPE_UI_PLUGIN','FlowchartManualOperation','shape.type.math-minus','ShapeBracketPairIcon','DocSettingIcon','drawings','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','_config','ShapeDoubleWaveIcon','applyPoint','FOCUSING_PANEL_EDITOR','_baseShapeTop','DocSelectionManagerService','getFonts','getShapeDataById','VIEW_MAIN','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','_adjHandlerPointerMove','wrapSquare','rgb','ShapeNoSmokingIcon','DocSelectionRenderService','docs-shape-ui.formatShape','Star10','FlowchartPunchedTape','RoundDot','FromArray','docs-shape-ui.fill.solidFill','SHAPE_TEXT','preventDefault','DRAWING_IMAGE','moveRange','textRuns','prototype','getDrawingSearch','popup','_getActiveDrawingParam','paragraphMenuPlacement','isInGroup','createInternalEditorID','FlowchartMagneticDisk','univer-text-gray-500','_sidebarDisposable','_createShapeAdjustControls','getOwnPropertyDescriptor','ShapeActionButtonBlankIcon','custom','currentColor','_baseShapeHeight','shape.type.ellipse-ribbon','Tile','568187rQzMaO','docs-ui.toolbar.bold','ActionButtonBackPrevious','ShapeNonIsoscelesTrapezoidIcon','ShapeStar10Icon','623448KfABzU','shape.type.flow-chart-document','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','shape.type.flow-chart-online-storage','ComponentManager','ShapeStraightConnector1Icon','BehaviorSubject','shape.type.irregular-seal1','docs-shape-ui.fill.gradientFill','sketchType','shape.type.diag-stripe','forEach','ShapePlusIcon','map','ShapeDiagStripeIcon','ShapeFlowChartPreparationIcon','ShapeTriangleIcon','unitId','EllipseRibbon','Freehand','getShapeType','M14.3\x2010H17.5','ShapePieWedgeIcon','image-text-wrap.inline','startOffset','oKey','shape.type.flow-chart-sort','ShapeFlowChartInternalStorageIcon','getDrawingVisible','shape.type.non-isosceles-trapezoid','univer-size-full','subUnitId','Star16','UniverDocsShapeUIPlugin','setZoomRatio','shape.type.flow-chart-merge','DeleteLeftCommand','docs-shape-ui.line.dashType.solid','create','ShapeTeardropIcon','ShapeCanIcon','ShapeLightningBoltIcon','FONT_SIZE_LIST','IContextService','centerAngle','wrapStrategy','length','ShapeLeftRightArrowCalloutIcon','OPERATION','IDrawingManagerService','_registerOperations','subscribe','PAGE','getImageSourceCache','ObjectRelativeFromV','AlignTextBothIcon','UniverDocsShapePlugin','strokeWidth','UniverLicensePlugin','ShapeStar12Icon','_toScenePoint','shape.type.math-equal','shape.type.chart-x','shape.type.donut','ShapeFlowChartOfflineStorageIcon','ShapeLeftUpArrowIcon','bottom','filter','updateDocumentRenderConfig','_adjName','RIBBON','_subUnitId','_unitId','img','paragraph','ItalicIcon','dataModel','docs-shape-ui.fill.picture.align.bl','fillImageSourceType','shape.type.star10','isConnectorShape','ActionButtonSound','min','shape.type.action-button-forward-next','Dropdown','Plaque','add','ShapeDiamondIcon','ActionButtonInformation','getDrawingByParam','docs-shape-ui.fill.picture.align.tl','ShapeCurvedLeftArrowIcon','_clearShapeAdjustControls','Frame','Solid','Path','collapsed','ShapeEllipseIcon','isHitLine','error','shape.type.curved-left-arrow','doc.command.menu-insert-shape','_activeShapeId','PictureFill','_refreshShapeData','getDrawingShapeKeyByDrawingSearch','shape.type.accent-callout1','Gear6','_initMenu','ShapeLineCapEnum','shape.type.arc','ShapeChartStarIcon','saveImage','265IHWiRc','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','default','subscribeEvent','below','ShapeCallout3Icon','docs-shape-ui.line.width','memo','FALSE','ShapeFlowChartSortIcon','Plus','getParent','FlowchartInternalStorage','ShapeStar4Icon','image-panel.align.top','imageTile','docs-shape-ui.title','section','Flat','StrikethroughIcon','key','UUID','jsx','ShapeLeftArrowIcon','ShapeRightArrowCalloutIcon','shape.type.flow-chart-offpage-connector','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Callout1','ShapeStar16Icon','ancestorTransform','Cube','shape.type.left-arrow-callout','@univerjs-pro/docs-shape-ui','ShapeAccentBorderCallout3Icon','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','SetInlineFormatTextColorCommand','shape-text','true','object','shape.type.left-right-arrow-callout','shape.type.star5','ShapeHexagonIcon','_menuManagerService','path','CloseDocShapeFormatPanelOperation','useMemo','Snip2SameRect','ShapeActionButtonSoundIcon','IImageIoService','DocsShapeService','Sun','ShapeFrameIcon','FlowchartDocument','_localeService','fillImageSource','BorderCallout1','BooleanNumber','offset','ShapeMathPlusIcon','ShapeSnipRoundRectIcon','shape.type.action-button-document','ShapeMathEqualIcon','_props','ShapeAccentCallout2Icon','BentConnector3','ShapeCurvedUpArrowIcon','shapeId','shape.type.right-bracket','shape.type.action-button-information','equationShape','docs-shape-ui.fill.picture.scaleY','shape.type.rt-triangle','docs-shape-ui.line.arrowSize.small','SetInlineFormatSubscriptCommand','Decagon','UpdateDocShapeDataMutation','shapeKey','gdRefY','ShapeTrapezoidIcon','horizontalAlign','BulletListCommand','LeftBracket','getSkeleton','CTRL_COMMAND','PieWedge','image-panel.crop.shape','opacity','startNodePosition','DEFAULT_DOC_SHAPE_WIDTH','active','setSrcRect','onScrollAfter$','shape.type.snip2-diag-rect','shape.type.border-callout2','CONTENT','docs-shape-ui.fill.picture.insert','shape.type.bracket-pair','ChartStar','ShapeWaveIcon','BACKSPACE','set','BracePair','shape.type.bent-connector3','onerror','LongDash','monospace','FlowchartOnlineStorage','shape.type.snip1-rect','shape.type.action-button-end','shape.type.quad-arrow','register','useObservable','transparent','offsetX','getTransformerByCreate','shape.type.left-up-arrow','DocDrawingPosition','docs-shape-ui.line.arrowType.none','ShapeMathMinusIcon','ShapeFunnelIcon','ShapeLeftBracketIcon','univer-text-sm','_updateShapeAdjustControls','1014834EqMYso','file','push','UpArrowCallout','FOCUSING_SHAPE_TEXT_EDITOR','_disposePopups','_activeAdjustInfo','ShapeGear9Icon','Arc','_drawSimpleText','ShapeLeftBraceIcon','univer-flex\x20univer-items-center\x20univer-gap-3','RightArrowCallout','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','docs-shape-ui.line.arrowSize.medium','univer-hidden','ShapeCallout1Icon','vertexAngle','getRealBound','shape.type.accent-border-callout2','ShapeRound2SameRectIcon','_popupMenuListener','getObject','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','docs-shape-ui.fill.picture.align.r','AlignRightCommand','MathEqual','ShapeTextEditorContainer','getBoundingClientRect','shape.type.star6','ShapeHalfFrameIcon','Star32','verticalAlign','drawingType','docs-shape-ui.deleteShape','InsertDocDrawingCommand','useLeftAndRightArrow','renderDrawingShape','univer-w-20\x20univer-flex-1','ImageFillModeEnum','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','AlignLeftCommand','ShapeRectIcon','ShapeActionButtonEndIcon','_commandService','ShapeStar32Icon','ShapeFloatingToolbar','clip','AlignBottomIcon','getAdjustValueByName','shape.type.left-right-up-arrow','univer-relative\x20univer-size-full\x20univer-overflow-visible','HorizontalAlign','ShapeFlowChartManualOperationIcon','image-text-wrap.topAndBottom','StraightConnector1','univer-mb-2','deepClone','startArrow','AccentBorderCallout3','ShapePieIcon','shape.type.snip-round-rect','PARAGRAPH','behindText','docs-shape-ui.fill.picture.source','__esModule','stroke','TRUE','ShapeFlowChartPunchedTapeIcon','QuadArrowCallout','isEditing','VerticalAlign','shape.type.triangle','classType','CENTER','docs-shape-ui.line.dashType.dashDot','disableShapeOption','MathDivide','toDisposable','disposeWithMe','shape.type.action-button-back-previous','FlowchartTerminator','1589952DrYvph','getUnit','angular','DRAWING_SHAPE','Chevron','docs-shape-ui.fill.picture.align.tr','_docsShapeService','IrregularSeal2','shape.type.up-down-arrow-callout','getDrawingOrder','_isStartAdjusting','ShapeChartXIcon','shape.type.cube','ShapeArrowTypeEnum','rectangle','ShapeUturnArrowIcon','shape.type.double-wave','image/*','ActionButtonBeginning','_drawingType','ShapeLineTypeEnum','shape.group.','onTransformChange$','AccentCallout2','AccentCallout3','_updateAdjustControlPositions','shape.type.rect-textbox-vertical','doc-shape-adjust-point-','transformForAngle','ShapeQuadArrowCalloutIcon','setPrstGeom','doc.shape.floating-toolbar','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','doc.operation.open-doc-shape-format-panel','shape.type.left-circular-arrow','warn','height','getAdjustInfoByName','SHAPE','ShapeUpArrowIcon','_getShapeInfo','SHIFT','refreshAdjustControls','UNIVER_DOC','flowchart','FlowchartManualInput','getUnitId','ShapeDefaultConfig','_getShapeAdjustInfosById','_shapeId','fill','RIGHT','makeDirty','isHit','registerRenderModule','get','gdRefR','defineProperty','SwooshArrow','ShapeRightBracketIcon','shape.type.bent-connector3-arrow2','getCanvasElement','shape.type.bevel','addImageSourceCache','isRender','dispose','ShapeBentUpArrowIcon','calcAdjValue','Vector2','_injector','ShapeCurvedConnector3Arrow2Icon','connectInjector','shape.type.pentagon','getSelectionRanges','ShapeFolderCornerIcon','scene','AlignCenterCommand','shape.type.line-inv','ShapeFlowChartDocumentIcon','ShapeRibbon2Icon','IURLImageService','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','ShapeSnip1RectIcon','getState','GROUP','DOC_CONTENT_INSERT_MENU_ID','ShapeFlowChartMultidocumentIcon','DiagStripe','ShapeDodecagonIcon','clearAdjustControls','target','ShapeMathDivideIcon','getDrawingPoints','docs-shape-ui.line.joinType.round','#ffffff','FlowchartMagneticTape','ObjectRelativeFromH','ShapeCurvedConnector3Arrow1Icon','getAncestorScale','shape.type.teardrop','ShapeBentConnector3Arrow2Icon','shape.type.block-arc','#2563EB','DELETE','0.24.0-insiders.20260528-29f582d','_urlImageService','textRect','CurvedConnector3','SetInlineFormatSuperscriptCommand','refreshTransform','ShapeFlowChartOffpageConnectorIcon','ShapeLeftCircularArrowIcon','_isOpenedShapeEditPanel','addObject','Corner','_docCanvasPopManagerService','ShapeDecagonIcon','click','updateDocumentStyle','generateRandomId','ShapeUpDownArrowCalloutIcon','editingParams$','ShapeFlowChartConnectorIcon','QuadArrow','ShapeFlowChartManualInputIcon','Tooltip','Ribbon2','ShapeLineIcon','ShapeSwooshArrowIcon','M2.5\x204.5H8.2','shapeModel','shape.type.math-not-equal','ShapeBracePairIcon','LongDashDot','documentStyle','KeyCode','_initShapePopupMenu','docs-shape-ui.line.dashType.longDash','shape.type.gear6','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','shape.type.callout3','GradientFill','keys','ShapeIrregularSeal2Icon','scaleX','ShapeArrowSizeEnum','shape.type.cloud-callout','ShapeCornerTabsIcon','find','ShapeRibbonIcon','shape.type.round1-rect','_getSceneByUnitId','shape.type.rect','HandDrawn','viewBound','adjHandleSize','image-text-wrap.behindText','function','NoLine','doc.shape.text.float-menu','shape.type.accent-callout3','FlowchartMagneticDrum','shape.type.flow-chart-offline-storage','LeftRightRibbon','shape.type.star24','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','Radio','ShapeSnip2DiagRectIcon','ShapeBentArrowIcon','RedoCommand','linear','some','_getShapeAdjustPointListById','ShapeStar24Icon','docs-shape-ui.fill.picture.align.t','adjHandleStroke','alignment','shape.type.flow-chart-alternate-process','blur','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','_baseShapeLeft','ShapeGear6Icon','_transform','docs-shape-ui.line.capType.square','ShapeRound2DiagRectIcon','getShapeModel','DocContentInsertService','ShapeFlowChartMergeIcon','wrapTopAndBottom','_initCommands','DocumentSkeleton','Round1Rect','updateDocumentDataMargin','FlowchartConnector','ShapeFlowChartPredefinedProcessIcon','angle','NoFill','CurvedRightArrow','OvalArrow','SetInlineFormatFontSizeCommand','DeleteRightCommand','docs-shape-ui.line.dashType.title','ShapeParallelogramIcon','shape.type.heptagon','Round','docs-ui.toolbar.alignCenter','ShapeFlowChartProcessIcon','ENTER','drawWith','invert','Hexagon','_activeShapeAdjustPointList','div','shape.type.flow-chart-magnetic-disk','univer-flex\x20univer-items-center\x20univer-justify-between','getRenderById','shape.type.chord','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','transformByState','Bevel','ShapeRightBraceIcon','shape.type.curved-up-arrow','updateShapeFillImage','docs-shape-ui.fill.picture.tileAsTexture','segmentId','transformVector2SceneCoord','shape.type.flow-chart-extract','3417516xJeoED','IrregularSeal1','ShapeIrregularSeal1Icon','Star8','docs-shape-ui.line.arrowType.ovalArrow','InputNumber','ShapeActionButtonForwardNextIcon','pluginName','direction','onPointerUp$','registerComponent','onChange','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','LeftJustifyingIcon','endOffset','ShapeLeftRightRibbonIcon','shape.type.flow-chart-display','RENDER_CLASS_TYPE','blockArrow','useState','docs-shape-ui.line.capType.flat','closest','docs-shape-ui.line.sketchType.none','paragraphs','_isShouldShowDrawingShapeAdjust','ShapeCornerIcon','setFillImage','ChartX','_imageIoService','ShapeFlowChartTerminatorIcon','shape.type.home-plate','\x20px','shape.type.folder-corner','entries','IUIPartsService','shape.type.plaque-tabs','Trapezoid','update$','getShapeData','SnipRoundRect','FlowChartInputOutput','FlowchartExtract','toStringTag','FlowchartSort'];_0x52d0=function(){return _0x51dea6;};return _0x52d0();}ye=W([U(0x0,(0x0,u[_0x2cfc0c(0x584)])(b['DrawingImageClipService'])),U(0x1,(0x0,u[_0x2cfc0c(0x584)])(m[_0x2cfc0c(0x2e2)]))],ye);const be=[{'group':_0x2cfc0c(0x1a1),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x272)],'icon':'ShapeLineIcon','name':_0x2cfc0c(0x201)},{'group':'line','type':c[_0x2cfc0c(0x251)]['StraightConnector1'],'icon':_0x2cfc0c(0x2b6),'name':'shape.type.straight-connector1','endArrow':!0x0},{'group':_0x2cfc0c(0x1a1),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3d4)],'icon':_0x2cfc0c(0x67f),'name':_0x2cfc0c(0x5b7),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2cfc0c(0x1a1),'type':c[_0x2cfc0c(0x251)]['BentConnector3'],'icon':_0x2cfc0c(0x6a8),'name':_0x2cfc0c(0x388)},{'group':_0x2cfc0c(0x1a1),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x362)],'icon':_0x2cfc0c(0x670),'name':_0x2cfc0c(0x5c9),'endArrow':!0x0},{'group':_0x2cfc0c(0x1a1),'type':c['ShapeTypeEnum']['BentConnector3'],'icon':_0x2cfc0c(0x453),'name':_0x2cfc0c(0x42b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2cfc0c(0x1a1),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x45a)],'icon':_0x2cfc0c(0x500),'name':'shape.type.curved-connector3'},{'group':'line','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x45a)],'icon':_0x2cfc0c(0x450),'name':_0x2cfc0c(0x1a0),'endArrow':!0x0},{'group':'line','type':c['ShapeTypeEnum'][_0x2cfc0c(0x45a)],'icon':_0x2cfc0c(0x435),'name':_0x2cfc0c(0x1ff),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x68e)],'icon':'ShapeRectIcon','name':_0x2cfc0c(0x487)},{'group':'rectangle','type':c[_0x2cfc0c(0x251)]['RoundRect'],'icon':_0x2cfc0c(0x68f),'name':_0x2cfc0c(0x1ed)},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x6b2)],'icon':_0x2cfc0c(0x441),'name':_0x2cfc0c(0x38d)},{'group':_0x2cfc0c(0x3fd),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x350)],'icon':_0x2cfc0c(0x253),'name':_0x2cfc0c(0x1bf)},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x58b)],'icon':_0x2cfc0c(0x496),'name':_0x2cfc0c(0x37e)},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4f9)],'icon':_0x2cfc0c(0x35d),'name':_0x2cfc0c(0x3da)},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4ae)],'icon':_0x2cfc0c(0x689),'name':_0x2cfc0c(0x485)},{'group':_0x2cfc0c(0x3fd),'type':c[_0x2cfc0c(0x251)]['Round2SameRect'],'icon':_0x2cfc0c(0x3b1),'name':_0x2cfc0c(0x57d)},{'group':'rectangle','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x258)],'icon':_0x2cfc0c(0x4a7),'name':_0x2cfc0c(0x5a4)},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x68e)],'icon':_0x2cfc0c(0x5db),'name':_0x2cfc0c(0x244),'horizontal':!0x0},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x68e)],'icon':_0x2cfc0c(0x561),'name':_0x2cfc0c(0x409),'vertical':!0x0},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Ellipse'],'icon':_0x2cfc0c(0x312),'name':_0x2cfc0c(0x24a)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Triangle'],'icon':_0x2cfc0c(0x2c1),'name':_0x2cfc0c(0x3e5)},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x504)],'icon':'ShapeRtTriangleIcon','name':_0x2cfc0c(0x369)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x520)],'icon':_0x2cfc0c(0x4b9),'name':_0x2cfc0c(0x645)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x2cfc0c(0x4f6)],'icon':_0x2cfc0c(0x370),'name':'shape.type.trapezoid'},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x609)],'icon':_0x2cfc0c(0x308),'name':'shape.type.diamond'},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5f8)],'icon':_0x2cfc0c(0x1e4),'name':_0x2cfc0c(0x437)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4c1)],'icon':_0x2cfc0c(0x34b),'name':'shape.type.hexagon'},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x6b4)],'icon':'ShapeHeptagonIcon','name':_0x2cfc0c(0x4ba)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x606)],'icon':_0x2cfc0c(0x55b),'name':_0x2cfc0c(0x1c9)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x36c)],'icon':'ShapeDecagonIcon','name':'shape.type.decagon'},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x277)],'icon':_0x2cfc0c(0x447),'name':'shape.type.dodecagon'},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x64c)],'icon':_0x2cfc0c(0x3d9),'name':_0x2cfc0c(0x58e)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x23b)],'icon':_0x2cfc0c(0x673),'name':_0x2cfc0c(0x4c7)},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x1c1)],'icon':_0x2cfc0c(0x2d8),'name':_0x2cfc0c(0x452)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x2cfc0c(0x30e)],'icon':_0x2cfc0c(0x355),'name':_0x2cfc0c(0x6ad)},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x20d)],'icon':_0x2cfc0c(0x3bb),'name':_0x2cfc0c(0x234)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x461)],'icon':_0x2cfc0c(0x4eb),'name':_0x2cfc0c(0x25d)},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x446)],'icon':_0x2cfc0c(0x2bf),'name':_0x2cfc0c(0x2bb)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x32c)],'icon':'ShapePlusIcon','name':_0x2cfc0c(0x249)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x306)],'icon':_0x2cfc0c(0x1ee),'name':'shape.type.plaque'},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x674)],'icon':'ShapeCanIcon','name':_0x2cfc0c(0x22a)},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x340)],'icon':_0x2cfc0c(0x51a),'name':_0x2cfc0c(0x3fb)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Bevel'],'icon':_0x2cfc0c(0x243),'name':_0x2cfc0c(0x42d)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Donut'],'icon':_0x2cfc0c(0x199),'name':_0x2cfc0c(0x2f0)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5e1)],'icon':_0x2cfc0c(0x28d),'name':_0x2cfc0c(0x1d9)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5ff)],'icon':'ShapeBlockArcIcon','name':_0x2cfc0c(0x454)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x250)],'icon':'ShapeFolderCornerIcon','name':_0x2cfc0c(0x4f2)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5a3)],'icon':_0x2cfc0c(0x50f),'name':'shape.type.smiley-face'},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Heart'],'icon':_0x2cfc0c(0x241),'name':_0x2cfc0c(0x53d)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['LightningBolt'],'icon':'ShapeLightningBoltIcon','name':'shape.type.lightning-bolt'},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x354)],'icon':_0x2cfc0c(0x568),'name':'shape.type.sun'},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['Moon'],'icon':'ShapeMoonIcon','name':_0x2cfc0c(0x505)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1a5)],'icon':_0x2cfc0c(0x20f),'name':_0x2cfc0c(0x24b)},{'group':'basicShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3a5)],'icon':_0x2cfc0c(0x636),'name':_0x2cfc0c(0x31f)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)]['BracketPair'],'icon':_0x2cfc0c(0x27c),'name':_0x2cfc0c(0x382)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x387)],'icon':_0x2cfc0c(0x473),'name':_0x2cfc0c(0x50a)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x373)],'icon':_0x2cfc0c(0x39a),'name':_0x2cfc0c(0x502)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x19c)],'icon':_0x2cfc0c(0x42a),'name':_0x2cfc0c(0x365)},{'group':_0x2cfc0c(0x273),'type':c['ShapeTypeEnum']['LeftBrace'],'icon':'ShapeLeftBraceIcon','name':_0x2cfc0c(0x5d9)},{'group':_0x2cfc0c(0x273),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1cf)],'icon':_0x2cfc0c(0x4cb),'name':_0x2cfc0c(0x6b9)},{'group':'blockArrow','type':c['ShapeTypeEnum']['RightArrow'],'icon':_0x2cfc0c(0x19b),'name':'shape.type.right-arrow'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x669)],'icon':_0x2cfc0c(0x339),'name':_0x2cfc0c(0x672)},{'group':'blockArrow','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x612)],'icon':'ShapeUpArrowIcon','name':'shape.type.up-arrow'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x607)],'icon':'ShapeDownArrowIcon','name':'shape.type.down-arrow'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x211)],'icon':_0x2cfc0c(0x1a3),'name':'shape.type.left-right-arrow'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)]['UpDownArrow'],'icon':_0x2cfc0c(0x506),'name':_0x2cfc0c(0x264)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x46a)],'icon':_0x2cfc0c(0x564),'name':_0x2cfc0c(0x38f)},{'group':'blockArrow','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x252)],'icon':_0x2cfc0c(0x6aa),'name':_0x2cfc0c(0x3cf)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)]['BentArrow'],'icon':_0x2cfc0c(0x497),'name':_0x2cfc0c(0x50e)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x581)],'icon':_0x2cfc0c(0x3fe),'name':_0x2cfc0c(0x611)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x631)],'icon':_0x2cfc0c(0x2f2),'name':_0x2cfc0c(0x395)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x69c)],'icon':_0x2cfc0c(0x431),'name':_0x2cfc0c(0x67b)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x2cfc0c(0x4b4)],'icon':_0x2cfc0c(0x663),'name':_0x2cfc0c(0x585)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x617)],'icon':_0x2cfc0c(0x30c),'name':_0x2cfc0c(0x315)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)]['CurvedUpArrow'],'icon':_0x2cfc0c(0x363),'name':_0x2cfc0c(0x4cc)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x683)],'icon':_0x2cfc0c(0x598),'name':'shape.type.curved-down-arrow'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)]['StripedRightArrow'],'icon':'ShapeStripedRightArrowIcon','name':_0x2cfc0c(0x5ed)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x2cfc0c(0x247)],'icon':_0x2cfc0c(0x658),'name':_0x2cfc0c(0x694)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1f6)],'icon':_0x2cfc0c(0x5f1),'name':_0x2cfc0c(0x4f0)},{'group':'blockArrow','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3f3)],'icon':_0x2cfc0c(0x503),'name':'shape.type.chevron'},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x2cfc0c(0x3a9)],'icon':'ShapeRightArrowCalloutIcon','name':'shape.type.right-arrow-callout'},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x632)],'icon':_0x2cfc0c(0x6a0),'name':'shape.type.down-arrow-callout'},{'group':'blockArrow','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x685)],'icon':_0x2cfc0c(0x5a0),'name':_0x2cfc0c(0x341)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3a0)],'icon':_0x2cfc0c(0x69b),'name':_0x2cfc0c(0x6a4)},{'group':_0x2cfc0c(0x4e4),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x643)],'icon':_0x2cfc0c(0x2e0),'name':_0x2cfc0c(0x349)},{'group':_0x2cfc0c(0x4e4),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3e2)],'icon':'ShapeQuadArrowCalloutIcon','name':_0x2cfc0c(0x52d)},{'group':'blockArrow','type':c[_0x2cfc0c(0x251)]['CircularArrow'],'icon':_0x2cfc0c(0x653),'name':_0x2cfc0c(0x1af)},{'group':_0x2cfc0c(0x367),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x21d)],'icon':_0x2cfc0c(0x35c),'name':_0x2cfc0c(0x5c8)},{'group':_0x2cfc0c(0x367),'type':c[_0x2cfc0c(0x251)]['MathMinus'],'icon':_0x2cfc0c(0x398),'name':_0x2cfc0c(0x27b)},{'group':_0x2cfc0c(0x367),'type':c[_0x2cfc0c(0x251)]['MathMultiply'],'icon':_0x2cfc0c(0x5a1),'name':_0x2cfc0c(0x61f)},{'group':'equationShape','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3ea)],'icon':_0x2cfc0c(0x44a),'name':'shape.type.math-divide'},{'group':_0x2cfc0c(0x367),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3b7)],'icon':_0x2cfc0c(0x35f),'name':_0x2cfc0c(0x2ee)},{'group':_0x2cfc0c(0x367),'type':c[_0x2cfc0c(0x251)]['MathNotEqual'],'icon':_0x2cfc0c(0x6b1),'name':_0x2cfc0c(0x472)},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x266)],'icon':'ShapeFlowChartProcessIcon','name':'shape.type.flow-chart-process'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)]['FlowchartAlternateProcess'],'icon':_0x2cfc0c(0x6a3),'name':_0x2cfc0c(0x4a0)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)]['FlowchartDecision'],'icon':_0x2cfc0c(0x57b),'name':_0x2cfc0c(0x242)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4fa)],'icon':_0x2cfc0c(0x548),'name':'shape.type.flow-chart-input-output'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5d5)],'icon':_0x2cfc0c(0x4b1),'name':'shape.type.flow-chart-predefined-process'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x32e)],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x2cfc0c(0x221)},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x356)],'icon':'ShapeFlowChartDocumentIcon','name':_0x2cfc0c(0x2b2)},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum']['FlowchartMultiDocument'],'icon':_0x2cfc0c(0x445),'name':_0x2cfc0c(0x1f9)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3ee)],'icon':_0x2cfc0c(0x4ef),'name':_0x2cfc0c(0x573)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5ca)],'icon':_0x2cfc0c(0x2c0),'name':'shape.type.flow-chart-preparation'},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x41c)],'icon':_0x2cfc0c(0x46b),'name':_0x2cfc0c(0x5f3)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x27a)],'icon':_0x2cfc0c(0x3d2),'name':'shape.type.flow-chart-manual-operation'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4b0)],'icon':_0x2cfc0c(0x469),'name':_0x2cfc0c(0x550)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)]['FlowchartOffPageConnector'],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x2cfc0c(0x33b)},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x236)],'icon':_0x2cfc0c(0x25a),'name':_0x2cfc0c(0x590)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x2cfc0c(0x291)],'icon':_0x2cfc0c(0x3e1),'name':'shape.type.flow-chart-punched-tape'},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum']['FlowchartSummingJunction'],'icon':'ShapeFlowChartSummingJunctionIcon','name':_0x2cfc0c(0x52b)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1db)],'icon':_0x2cfc0c(0x23e),'name':'shape.type.flow-chart-or'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x528)],'icon':_0x2cfc0c(0x516),'name':'shape.type.flow-chart-collate'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4fd)],'icon':_0x2cfc0c(0x32b),'name':_0x2cfc0c(0x2cb)},{'group':'flowchart','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4fb)],'icon':'ShapeFlowChartExtractIcon','name':_0x2cfc0c(0x4d1)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)]['FlowchartMerge'],'icon':_0x2cfc0c(0x4aa),'name':_0x2cfc0c(0x2d4)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x38c)],'icon':_0x2cfc0c(0x50c),'name':_0x2cfc0c(0x2b4)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)]['FlowchartDelay'],'icon':_0x2cfc0c(0x591),'name':'shape.type.flow-chart-delay'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x44e)],'icon':_0x2cfc0c(0x1e2),'name':'shape.type.flow-chart-magnetic-tape'},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x2a1)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x2cfc0c(0x4c4)},{'group':_0x2cfc0c(0x41b),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x490)],'icon':_0x2cfc0c(0x659),'name':_0x2cfc0c(0x209)},{'group':_0x2cfc0c(0x41b),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x635)],'icon':_0x2cfc0c(0x1d5),'name':_0x2cfc0c(0x4e2)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4d3)],'icon':_0x2cfc0c(0x4d4),'name':_0x2cfc0c(0x2b8)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3f6)],'icon':'ShapeIrregularSeal2Icon','name':_0x2cfc0c(0x1ca)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x642)],'icon':'ShapeStar4Icon','name':_0x2cfc0c(0x26c)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x5ae)],'icon':_0x2cfc0c(0x1a8),'name':_0x2cfc0c(0x34a)},{'group':'starAndBanner','type':c['ShapeTypeEnum']['Star6'],'icon':_0x2cfc0c(0x1f5),'name':_0x2cfc0c(0x3ba)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x529)],'icon':_0x2cfc0c(0x257),'name':_0x2cfc0c(0x1f0)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4d5)],'icon':'ShapeStar8Icon','name':_0x2cfc0c(0x248)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x290)],'icon':_0x2cfc0c(0x2b0),'name':_0x2cfc0c(0x300)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x226)],'icon':'ShapeStar12Icon','name':_0x2cfc0c(0x557)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x2d1)],'icon':_0x2cfc0c(0x33e),'name':'shape.type.star16'},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x222)],'icon':'ShapeStar24Icon','name':_0x2cfc0c(0x493)},{'group':'starAndBanner','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3bc)],'icon':_0x2cfc0c(0x3ca),'name':'shape.type.star32'},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x46d)],'icon':_0x2cfc0c(0x43e),'name':'shape.type.ribbon2'},{'group':'starAndBanner','type':c['ShapeTypeEnum']['Ribbon'],'icon':_0x2cfc0c(0x484),'name':_0x2cfc0c(0x22b)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum']['EllipseRibbon2'],'icon':'ShapeEllipseRibbon2Icon','name':_0x2cfc0c(0x620)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x2c3)],'icon':_0x2cfc0c(0x1c8),'name':_0x2cfc0c(0x2aa)},{'group':_0x2cfc0c(0x65d),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x5ce)],'icon':_0x2cfc0c(0x66b),'name':_0x2cfc0c(0x62a)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)]['HorizontalScroll'],'icon':_0x2cfc0c(0x583),'name':_0x2cfc0c(0x1ce)},{'group':'starAndBanner','type':c[_0x2cfc0c(0x251)]['Wave'],'icon':_0x2cfc0c(0x384),'name':_0x2cfc0c(0x661)},{'group':_0x2cfc0c(0x65d),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1e3)],'icon':_0x2cfc0c(0x281),'name':_0x2cfc0c(0x3ff)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x229)],'icon':_0x2cfc0c(0x1d4),'name':_0x2cfc0c(0x55e)},{'group':_0x2cfc0c(0x530),'type':c['ShapeTypeEnum']['WedgeRoundRectCallout'],'icon':_0x2cfc0c(0x543),'name':_0x2cfc0c(0x64a)},{'group':'callout','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5c6)],'icon':_0x2cfc0c(0x5c0),'name':_0x2cfc0c(0x5bd)},{'group':'callout','type':c[_0x2cfc0c(0x251)]['CloudCallout'],'icon':_0x2cfc0c(0x58c),'name':_0x2cfc0c(0x481)},{'group':_0x2cfc0c(0x530),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x359)],'icon':_0x2cfc0c(0x25c),'name':'shape.type.border-callout1'},{'group':_0x2cfc0c(0x530),'type':c['ShapeTypeEnum']['BorderCallout2'],'icon':_0x2cfc0c(0x1fa),'name':_0x2cfc0c(0x37f)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)]['BorderCallout3'],'icon':'ShapeBorderCallout3Icon','name':_0x2cfc0c(0x599)},{'group':_0x2cfc0c(0x530),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x552)],'icon':_0x2cfc0c(0x1e0),'name':_0x2cfc0c(0x31b)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x406)],'icon':'ShapeAccentCallout2Icon','name':_0x2cfc0c(0x526)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x407)],'icon':_0x2cfc0c(0x23a),'name':_0x2cfc0c(0x48f)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x33d)],'icon':_0x2cfc0c(0x3ad),'name':_0x2cfc0c(0x678)},{'group':'callout','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5e9)],'icon':_0x2cfc0c(0x553),'name':_0x2cfc0c(0x1d2)},{'group':_0x2cfc0c(0x530),'type':c['ShapeTypeEnum']['Callout3'],'icon':_0x2cfc0c(0x327),'name':_0x2cfc0c(0x47b)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x67a)],'icon':_0x2cfc0c(0x5d7),'name':'shape.type.accent-border-callout1'},{'group':'callout','type':c[_0x2cfc0c(0x251)]['AccentBorderCallout2'],'icon':_0x2cfc0c(0x57f),'name':_0x2cfc0c(0x3b0)},{'group':_0x2cfc0c(0x530),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x3d8)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x2cfc0c(0x1fc)},{'group':'other','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x540)],'icon':'ShapeLeftCircularArrowIcon','name':_0x2cfc0c(0x411)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5b9)],'icon':_0x2cfc0c(0x5f5),'name':'shape.type.left-right-circular-arrow'},{'group':'other','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x429)],'icon':_0x2cfc0c(0x46f),'name':'shape.type.swoosh-arrow'},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x492)],'icon':_0x2cfc0c(0x4e1),'name':'shape.type.left-right-ribbon'},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x376)],'icon':_0x2cfc0c(0x2c7),'name':_0x2cfc0c(0x67e)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['Funnel'],'icon':'ShapeFunnelIcon','name':'shape.type.funnel'},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x31c)],'icon':_0x2cfc0c(0x4a4),'name':_0x2cfc0c(0x479)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x196)],'icon':_0x2cfc0c(0x3a4),'name':_0x2cfc0c(0x666)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x1b8)],'icon':_0x2cfc0c(0x482),'name':'shape.type.corner-tabs'},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x2ae)],'icon':'ShapeActionButtonBackPreviousIcon','name':_0x2cfc0c(0x3ed)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':_0x2cfc0c(0x304)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x401)],'icon':_0x2cfc0c(0x5fe),'name':_0x2cfc0c(0x675)},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x641)],'icon':'ShapeActionButtonEndIcon','name':_0x2cfc0c(0x38e)},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum']['ActionButtonHome'],'icon':_0x2cfc0c(0x1ad),'name':'shape.type.action-button-home'},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x309)],'icon':_0x2cfc0c(0x648),'name':_0x2cfc0c(0x366)},{'group':'other','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x538)],'icon':_0x2cfc0c(0x532),'name':'shape.type.action-button-return'},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x6b6)],'icon':_0x2cfc0c(0x1e5),'name':_0x2cfc0c(0x256)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x26e)],'icon':_0x2cfc0c(0x1de),'name':_0x2cfc0c(0x35e)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x302)],'icon':_0x2cfc0c(0x351),'name':_0x2cfc0c(0x1e6)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['ActionButtonHelp'],'icon':_0x2cfc0c(0x5f6),'name':'shape.type.action-button-help'},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum']['ActionButtonBlank'],'icon':_0x2cfc0c(0x2a6),'name':'shape.type.action-button-blank'},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['ChartPlus'],'icon':_0x2cfc0c(0x5ea),'name':_0x2cfc0c(0x56d)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x383)],'icon':'ShapeChartStarIcon','name':_0x2cfc0c(0x192)},{'group':'other','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x4ed)],'icon':'ShapeChartXIcon','name':_0x2cfc0c(0x2ef)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x596)],'icon':'ShapeFlowChartOfflineStorageIcon','name':_0x2cfc0c(0x491)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['LineInv'],'icon':_0x2cfc0c(0x60a),'name':_0x2cfc0c(0x43c)},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum']['PlaqueTabs'],'icon':'ShapePlaqueTabsIcon','name':_0x2cfc0c(0x4f5)},{'group':_0x2cfc0c(0x655),'type':c[_0x2cfc0c(0x251)]['SquareTabs'],'icon':_0x2cfc0c(0x1a4),'name':_0x2cfc0c(0x223)},{'group':_0x2cfc0c(0x655),'type':c['ShapeTypeEnum'][_0x2cfc0c(0x542)],'icon':_0x2cfc0c(0x467),'name':_0x2cfc0c(0x3f7)},{'group':'other','type':c[_0x2cfc0c(0x251)][_0x2cfc0c(0x5bb)],'icon':_0x2cfc0c(0x2af),'name':_0x2cfc0c(0x2ce)}],xe=_0x2cfc0c(0x508);function Se({onShapeClick:_0x5822dc,excludeGroups:_0x273091}){const _0x5b6b3c=_0x2cfc0c;let _0x5958b9=(0x0,g[_0x5b6b3c(0x1b6)])(u[_0x5b6b3c(0x600)]),_0x42787e=(0x0,g[_0x5b6b3c(0x1b6)])(g[_0x5b6b3c(0x2b5)]),_0x582080=(_0x273091?be[_0x5b6b3c(0x2f4)](_0x45d8fc=>!_0x273091[_0x5b6b3c(0x197)](_0x45d8fc[_0x5b6b3c(0x263)])):be)['reduce']((_0x301f54,_0x5ecf84)=>(_0x301f54[_0x5ecf84['group']]||(_0x301f54[_0x5ecf84['group']]=[]),_0x301f54[_0x5ecf84[_0x5b6b3c(0x263)]][_0x5b6b3c(0x39f)](_0x5ecf84),_0x301f54),{});return(0x0,x[_0x5b6b3c(0x338)])('div',{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0x5b6b3c(0x4f3)](_0x582080)['map'](([_0xf04d77,_0x514e1c])=>(0x0,x['jsxs'])('div',{'className':_0x5b6b3c(0x3d5),'children':[(0x0,x[_0x5b6b3c(0x338)])('div',{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x5958b9['t'](_0x5b6b3c(0x404)+_0xf04d77)}),(0x0,x['jsx'])('div',{'className':_0x5b6b3c(0x40f),'children':_0x514e1c[_0x5b6b3c(0x2be)](_0x549091=>{const _0x3ccb30=_0x5b6b3c;let _0x542921=_0x42787e[_0x3ccb30(0x426)](_0x549091[_0x3ccb30(0x67d)]);return(0x0,x[_0x3ccb30(0x338)])('div',{'title':_0x5958b9['t'](_0x549091[_0x3ccb30(0x21f)]),'onClick':()=>_0x5822dc(_0x549091),'className':_0x3ccb30(0x5a7),'children':_0x542921&&(0x0,x[_0x3ccb30(0x338)])(_0x542921,{'className':_0x3ccb30(0x2cf)})},_0x549091[_0x3ccb30(0x21f)]);})})]},_0xf04d77))});}function _0x49eb(_0x5be69f,_0x208ae1){_0x5be69f=_0x5be69f-0x190;const _0x52d0b2=_0x52d0();let _0x49eb79=_0x52d0b2[_0x5be69f];return _0x49eb79;}function Ce(){const _0x5023d5=_0x2cfc0c;let _0x58f4a8=(0x0,g[_0x5023d5(0x1b6)])(u[_0x5023d5(0x600)]),_0x503c59=(0x0,g[_0x5023d5(0x1b6)])(m[_0x5023d5(0x2e2)]),_0x2c87a8=(0x0,g[_0x5023d5(0x1b6)])(ye),[_0x5ab46b,_0x484516]=(0x0,y[_0x5023d5(0x4e5)])(!0x1);return(0x0,x[_0x5023d5(0x338)])(v[_0x5023d5(0x305)],{'side':_0x5023d5(0x5dd),'open':_0x5ab46b,'onOpenChange':_0x484516,'overlay':(0x0,x[_0x5023d5(0x338)])(Se,{'onShapeClick':_0x1d05eb=>{const _0x55f3f8=_0x5023d5;let _0xf6ba41=_0x503c59[_0x55f3f8(0x534)]()[_0x55f3f8(0x483)](_0x25c3af=>_0x25c3af['drawingType']===u['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0xf6ba41)return;let {unitId:_0x4ab5ef,subUnitId:_0x562771,drawingId:_0x5b30a3}=_0xf6ba41;_0x2c87a8[_0x55f3f8(0x1da)](_0x4ab5ef,_0x562771,_0x5b30a3,_0x1d05eb[_0x55f3f8(0x571)]),_0x484516(!0x1);},'excludeGroups':[_0x5023d5(0x1a1)]}),'children':(0x0,x['jsx'])(v[_0x5023d5(0x59e)],{'children':_0x58f4a8['t'](_0x5023d5(0x377))})});}function we({paragraphMenuPlacement:_0x4954f1}){const _0x1ee4e1=_0x2cfc0c;let _0x5e352e=(0x0,g['useDependency'])(u[_0x1ee4e1(0x1d1)]);return(0x0,x[_0x1ee4e1(0x338)])(Se,{'onShapeClick':_0x2246c7=>{const _0x3aa98d=_0x1ee4e1;_0x5e352e[_0x3aa98d(0x245)](A['id'],{'paragraphMenuPlacement':_0x4954f1,'value':_0x2246c7[_0x3aa98d(0x571)],'enhanceParams':{'endArrow':_0x2246c7['endArrow'],'startArrow':_0x2246c7['startArrow'],'horizontal':_0x2246c7[_0x3aa98d(0x622)],'vertical':_0x2246c7['vertical']}});}});}function Te(_0x50aa5e){const _0x2ad251=_0x2cfc0c;return _0x133832=>({'id':A['id'],'type':g['MenuItemType'][_0x2ad251(0x5f4)],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x50aa5e?{'id':A['id'],'paragraphMenuPlacement':_0x50aa5e}:{'id':A['id']}}}],'icon':_0x2ad251(0x699),'title':_0x2ad251(0x332),'tooltip':_0x2ad251(0x578),'hidden$':(0x0,g[_0x2ad251(0x215)])(_0x133832,u[_0x2ad251(0x5f0)][_0x2ad251(0x41a)])});}const Ee=Te(),De=Te(_0x2cfc0c(0x326)),Oe=Te(_0x2cfc0c(0x449)),ke={[g[_0x2cfc0c(0x219)]['MEDIA']]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g['ContextMenuPosition'][_0x2cfc0c(0x3db)]]:{[g[_0x2cfc0c(0x68c)][_0x2cfc0c(0x232)]]:{[f[_0x2cfc0c(0x597)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x2cfc0c(0x444)]]:{[g[_0x2cfc0c(0x68c)]['LAYOUT']]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x2cfc0c(0x68a)]]:{[g['ContextMenuGroup'][_0x2cfc0c(0x232)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u[_0x2cfc0c(0x1b3)]{constructor(_0x39cfa9,_0x5b528b,_0x5de8b3,_0x453b28,_0x18afcd,_0x46cfb6,_0x7ecf1c,_0x175bb2,_0x2c8751,_0x45ca8f,_0x30c70a,_0x56efe1){const _0x43b4a3=_0x2cfc0c;super(),this[_0x43b4a3(0x5b2)]=_0x39cfa9,this['_sidebarService']=_0x5b528b,this[_0x43b4a3(0x34c)]=_0x5de8b3,this['_docsShapeService']=_0x453b28,this[_0x43b4a3(0x357)]=_0x18afcd,this['_componentManager']=_0x46cfb6,this['_commandService']=_0x7ecf1c,this[_0x43b4a3(0x1b4)]=_0x175bb2,this[_0x43b4a3(0x462)]=_0x2c8751,this[_0x43b4a3(0x593)]=_0x45ca8f,this[_0x43b4a3(0x59d)]=_0x30c70a,this['_shapeTextEditingService']=_0x56efe1,L(this,_0x43b4a3(0x2a3),null),L(this,_0x43b4a3(0x619),null),L(this,'_isOpenedShapeEditPanel',!0x1),L(this,_0x43b4a3(0x539),new Set()),L(this,_0x43b4a3(0x3a2),[]),this[_0x43b4a3(0x212)](),this[_0x43b4a3(0x31d)](),this[_0x43b4a3(0x3ec)](this[_0x43b4a3(0x5b2)][_0x43b4a3(0x53e)](u['UniverInstanceType'][_0x43b4a3(0x41a)])[_0x43b4a3(0x2e4)](_0x34c165=>{const _0x34f697=_0x43b4a3;if(!_0x34c165){var _0xa66b35;(_0xa66b35=this['_sidebarDisposable'])==null||_0xa66b35[_0x34f697(0x430)]();return;}this['_createShapePopupMenu'](_0x34c165);})),this[_0x43b4a3(0x2e3)](),this[_0x43b4a3(0x477)](),this['disposeWithMe'](this[_0x43b4a3(0x5cb)]['editingParams$']['subscribe'](_0xc5901=>{const _0x431e9f=_0x43b4a3;_0xc5901&&this[_0x431e9f(0x207)]();}));}[_0x2cfc0c(0x31d)](){const _0x17ec04=_0x2cfc0c;this[_0x17ec04(0x34c)]['mergeMenu'](ke);}[_0x2cfc0c(0x477)](){const _0x50105b=_0x2cfc0c;this['_univerInstanceService']['getAllUnitsForType'](u[_0x50105b(0x5f0)]['UNIVER_DOC'])[_0x50105b(0x2bc)](_0x2d2306=>this[_0x50105b(0x603)](_0x2d2306));}[_0x2cfc0c(0x601)](_0x352973,_0x35ae1b,_0x16f8b3,_0x49bb1c){const _0x1f3c6f=_0x2cfc0c;return[{'label':_0x1f3c6f(0x26a),'index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x352973,'subUnitId':_0x35ae1b,'drawingId':_0x16f8b3},'disable':_0x49bb1c===u[_0x1f3c6f(0x562)][_0x1f3c6f(0x5a5)]},{'label':_0x1f3c6f(0x3bf),'index':0x1,'commandId':d['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x352973,'drawings':[{'unitId':_0x352973,'subUnitId':_0x35ae1b,'drawingId':_0x16f8b3}]},'disable':!0x1},{'label':_0x1f3c6f(0x1b9),'index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x352973,'subUnitId':_0x35ae1b,'drawingId':_0x16f8b3},'disable':!0x1}];}['_getShapeInfo'](_0x3fa7fe,_0x4a7463,_0x1cd0d6){const _0x3b2285=_0x2cfc0c;let _0x58ed79=this[_0x3b2285(0x3f5)]['getShapeTypeById'](_0x3fa7fe,_0x4a7463,_0x1cd0d6),_0x5ca0be=this['_docsShapeService'][_0x3b2285(0x287)](_0x3fa7fe,_0x4a7463,_0x1cd0d6);return _0x58ed79!==void 0x0&&_0x5ca0be!==void 0x0?{'shapeData':_0x5ca0be,'shapeId':_0x1cd0d6,'shapeType':_0x58ed79,'unitId':_0x3fa7fe,'subUnitId':_0x4a7463,'disableShapeOption':!0x1}:null;}[_0x2cfc0c(0x603)](_0x461e0a){const _0x2afb03=_0x2cfc0c;if(!_0x461e0a)return;let _0x2492d2=_0x461e0a[_0x2afb03(0x41d)]();this[_0x2afb03(0x593)]['has'](_0x2492d2)&&!this[_0x2afb03(0x539)][_0x2afb03(0x551)](_0x2492d2)&&(this['_popupMenuListener'](_0x2492d2),this[_0x2afb03(0x539)][_0x2afb03(0x307)](_0x2492d2));}[_0x2cfc0c(0x207)](){const _0x3a46df=_0x2cfc0c;this[_0x3a46df(0x3a2)][_0x3a46df(0x2bc)](_0x40557f=>_0x40557f[_0x3a46df(0x430)]()),this[_0x3a46df(0x3a2)]['length']=0x0;}[_0x2cfc0c(0x3b2)](_0x4eace6){const _0x3a63b0=_0x2cfc0c;var _0x558a1d;let _0x2360b5=(_0x558a1d=this[_0x3a63b0(0x593)][_0x3a63b0(0x4c6)](_0x4eace6))==null?void 0x0:_0x558a1d[_0x3a63b0(0x43a)],_0x359067=_0x2360b5==null?void 0x0:_0x2360b5[_0x3a63b0(0x394)]();!_0x2360b5||!_0x359067||(this['disposeWithMe'](_0x359067[_0x3a63b0(0x5e5)][_0x3a63b0(0x2e4)](()=>{const _0x38ebf2=_0x3a63b0;let _0x2545be=_0x359067[_0x38ebf2(0x554)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x2545be[_0x38ebf2(0x1dc)]>0x1)return;let _0x4f9f75=_0x2545be[_0x38ebf2(0x630)]()['next']()['value'];if(!_0x4f9f75)return;let _0x20f343=this[_0x38ebf2(0x1b4)]['getDrawingOKey'](_0x4f9f75[_0x38ebf2(0x2ca)]);if(!_0x20f343||_0x20f343[_0x38ebf2(0x3be)]!==u[_0x38ebf2(0x562)]['DRAWING_SHAPE'])return;let {unitId:_0x428bb3,subUnitId:_0x21a3dc,drawingId:_0x519390,drawingType:_0x10098f}=_0x20f343,_0x3f15d1=this[_0x38ebf2(0x417)](_0x428bb3,_0x21a3dc,_0x519390);if(!_0x3f15d1)return;let _0x501b14=this[_0x38ebf2(0x462)][_0x38ebf2(0x5f7)](_0x4f9f75,{'componentKey':le,'direction':_0x38ebf2(0x650),'offset':[0x0,0x8],'extraProps':{'unitId':_0x428bb3,'subUnitId':_0x21a3dc,'drawingId':_0x519390,'drawingType':_0x10098f,'shapeType':_0x3f15d1[_0x38ebf2(0x1c5)],'shapeData':_0x3f15d1[_0x38ebf2(0x680)]}},_0x428bb3);this['_disposePopups']['push'](this[_0x38ebf2(0x3ec)](_0x501b14)),this[_0x38ebf2(0x1b4)][_0x38ebf2(0x534)]()[_0x38ebf2(0x483)](_0x240acd=>_0x240acd['unitId']===_0x428bb3&&_0x240acd[_0x38ebf2(0x2d0)]===_0x21a3dc&&_0x240acd['drawingId']===_0x519390)||this[_0x38ebf2(0x1b4)][_0x38ebf2(0x66d)]([{'unitId':_0x428bb3,'subUnitId':_0x21a3dc,'drawingId':_0x519390}]);})),this[_0x3a63b0(0x3ec)](_0x359067[_0x3a63b0(0x60d)][_0x3a63b0(0x2e4)](()=>{const _0x235208=_0x3a63b0;this['_clearPopups'](),this[_0x235208(0x59d)][_0x235208(0x626)](u[_0x235208(0x615)],!0x1),this[_0x235208(0x1b4)]['focusDrawing'](null);})),this[_0x3a63b0(0x3ec)](_0x359067['changing$'][_0x3a63b0(0x2e4)](()=>{const _0x43d55b=_0x3a63b0;this[_0x43d55b(0x207)]();})),this[_0x3a63b0(0x3ec)](_0x359067[_0x3a63b0(0x65a)][_0x3a63b0(0x2e4)](()=>{const _0x4912f8=_0x3a63b0;this[_0x4912f8(0x207)]();})));}[_0x2cfc0c(0x2e3)](){const _0x407497=_0x2cfc0c;this[_0x407497(0x3ec)](this['_commandService'][_0x407497(0x664)](_0x335b47=>{const _0x2361cb=_0x407497;if(_0x335b47['id']===M['id']){let {unitId:_0x3c98fb,subUnitId:_0x5b7fc6,drawingId:_0x47133a}=_0x335b47['params'];this[_0x2361cb(0x619)]=this[_0x2361cb(0x417)](_0x3c98fb,_0x5b7fc6,_0x47133a),this[_0x2361cb(0x207)](),this[_0x2361cb(0x195)]();}if(_0x335b47['id']===j['id']&&(this[_0x2361cb(0x619)]=null,this[_0x2361cb(0x205)]()),_0x335b47['id']===l[_0x2361cb(0x36d)]['id']){let {unitId:_0x543728,shapeId:_0x2f4403}=_0x335b47[_0x2361cb(0x66e)];if(this[_0x2361cb(0x619)]&&this[_0x2361cb(0x619)][_0x2361cb(0x364)]===_0x2f4403){let _0x215f76=this[_0x2361cb(0x417)](_0x543728,this[_0x2361cb(0x619)][_0x2361cb(0x2d0)],_0x2f4403);_0x215f76&&(this[_0x2361cb(0x619)]=_0x215f76);}}})),this[_0x407497(0x3ec)](this[_0x407497(0x1b4)][_0x407497(0x54b)]['subscribe'](_0x4a86df=>{const _0x2a1869=_0x407497;if(this[_0x2a1869(0x45f)]===!0x1)return;if(_0x4a86df[_0x2a1869(0x2df)]===0x0){this[_0x2a1869(0x619)]=null,this[_0x2a1869(0x205)]();return;}if(_0x4a86df['length']===0x1&&_0x4a86df[0x0]['drawingType']===u[_0x2a1869(0x562)][_0x2a1869(0x3f2)]&&(this[_0x2a1869(0x619)]=this[_0x2a1869(0x417)](_0x4a86df[0x0][_0x2a1869(0x2c2)],_0x4a86df[0x0][_0x2a1869(0x2d0)],_0x4a86df[0x0][_0x2a1869(0x656)]),this['_activeShapeInfo'])){this[_0x2a1869(0x195)]();return;}let _0x5cf0c7=_0x4a86df[_0x2a1869(0x2f4)](_0x2c70ab=>_0x2c70ab[_0x2a1869(0x3be)]===u[_0x2a1869(0x562)][_0x2a1869(0x3f2)]);if(_0x4a86df[_0x2a1869(0x2df)]>0x1&&_0x5cf0c7[_0x2a1869(0x2df)]===_0x4a86df['length']){if(this[_0x2a1869(0x619)]=this[_0x2a1869(0x417)](_0x4a86df[0x0]['unitId'],_0x4a86df[0x0]['subUnitId'],_0x4a86df[0x0][_0x2a1869(0x656)]),this[_0x2a1869(0x619)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x2a1869(0x619)]=this['_getShapeInfo'](_0x4a86df[0x0][_0x2a1869(0x2c2)],_0x4a86df[0x0]['subUnitId'],_0x4a86df[0x0]['drawingId']),this['_activeShapeInfo']){this['_activeShapeInfo'][_0x2a1869(0x3e9)]=!0x0,this[_0x2a1869(0x195)]();return;}}this[_0x2a1869(0x205)]();}));}[_0x2cfc0c(0x212)](){const _0x31ed04=_0x2cfc0c;[[_0x31ed04(0x699),h[_0x31ed04(0x699)]],['ShapeAccentBorderCallout1Icon',h['ShapeAccentBorderCallout1Icon']],[_0x31ed04(0x57f),h[_0x31ed04(0x57f)]],[_0x31ed04(0x343),h['ShapeAccentBorderCallout3Icon']],[_0x31ed04(0x1e0),h[_0x31ed04(0x1e0)]],[_0x31ed04(0x361),h[_0x31ed04(0x361)]],[_0x31ed04(0x23a),h[_0x31ed04(0x23a)]],[_0x31ed04(0x54f),h['ShapeActionButtonBackPreviousIcon']],[_0x31ed04(0x5fe),h[_0x31ed04(0x5fe)]],['ShapeActionButtonBlankIcon',h[_0x31ed04(0x2a6)]],[_0x31ed04(0x1de),h[_0x31ed04(0x1de)]],['ShapeActionButtonEndIcon',h[_0x31ed04(0x3c8)]],['ShapeActionButtonForwardNextIcon',h[_0x31ed04(0x4d8)]],[_0x31ed04(0x5f6),h[_0x31ed04(0x5f6)]],[_0x31ed04(0x1ad),h['ShapeActionButtonHomeIcon']],[_0x31ed04(0x648),h[_0x31ed04(0x648)]],['ShapeActionButtonMovieIcon',h[_0x31ed04(0x1e5)]],[_0x31ed04(0x532),h['ShapeActionButtonReturnIcon']],[_0x31ed04(0x351),h[_0x31ed04(0x351)]],[_0x31ed04(0x636),h['ShapeArcIcon']],[_0x31ed04(0x497),h[_0x31ed04(0x497)]],[_0x31ed04(0x670),h[_0x31ed04(0x670)]],[_0x31ed04(0x453),h['ShapeBentConnector3Arrow2Icon']],[_0x31ed04(0x6a8),h[_0x31ed04(0x6a8)]],[_0x31ed04(0x431),h[_0x31ed04(0x431)]],[_0x31ed04(0x243),h[_0x31ed04(0x243)]],[_0x31ed04(0x5dc),h[_0x31ed04(0x5dc)]],['ShapeBorderCallout1Icon',h[_0x31ed04(0x25c)]],['ShapeBorderCallout2Icon',h[_0x31ed04(0x1fa)]],['ShapeBorderCallout3Icon',h['ShapeBorderCallout3Icon']],[_0x31ed04(0x473),h[_0x31ed04(0x473)]],['ShapeBracketPairIcon',h[_0x31ed04(0x27c)]],[_0x31ed04(0x3ad),h[_0x31ed04(0x3ad)]],['ShapeCallout2Icon',h['ShapeCallout2Icon']],[_0x31ed04(0x327),h[_0x31ed04(0x327)]],[_0x31ed04(0x2d9),h['ShapeCanIcon']],[_0x31ed04(0x5ea),h[_0x31ed04(0x5ea)]],[_0x31ed04(0x320),h[_0x31ed04(0x320)]],[_0x31ed04(0x3fa),h['ShapeChartXIcon']],[_0x31ed04(0x503),h[_0x31ed04(0x503)]],[_0x31ed04(0x673),h[_0x31ed04(0x673)]],[_0x31ed04(0x653),h['ShapeCircularArrowIcon']],[_0x31ed04(0x58c),h[_0x31ed04(0x58c)]],['ShapeCloudIcon',h[_0x31ed04(0x20f)]],[_0x31ed04(0x4eb),h[_0x31ed04(0x4eb)]],[_0x31ed04(0x482),h[_0x31ed04(0x482)]],[_0x31ed04(0x51a),h['ShapeCubeIcon']],[_0x31ed04(0x450),h['ShapeCurvedConnector3Arrow1Icon']],[_0x31ed04(0x435),h[_0x31ed04(0x435)]],[_0x31ed04(0x500),h[_0x31ed04(0x500)]],[_0x31ed04(0x598),h['ShapeCurvedDownArrowIcon']],[_0x31ed04(0x30c),h[_0x31ed04(0x30c)]],[_0x31ed04(0x663),h[_0x31ed04(0x663)]],[_0x31ed04(0x363),h[_0x31ed04(0x363)]],['ShapeDecagonIcon',h[_0x31ed04(0x463)]],[_0x31ed04(0x2bf),h[_0x31ed04(0x2bf)]],['ShapeDiamondIcon',h[_0x31ed04(0x308)]],['ShapeDodecagonIcon',h[_0x31ed04(0x447)]],['ShapeDonutIcon',h[_0x31ed04(0x199)]],[_0x31ed04(0x281),h[_0x31ed04(0x281)]],[_0x31ed04(0x6a0),h[_0x31ed04(0x6a0)]],[_0x31ed04(0x237),h[_0x31ed04(0x237)]],[_0x31ed04(0x312),h[_0x31ed04(0x312)]],['ShapeEllipseRibbon2Icon',h['ShapeEllipseRibbon2Icon']],[_0x31ed04(0x1c8),h[_0x31ed04(0x1c8)]],[_0x31ed04(0x6a3),h[_0x31ed04(0x6a3)]],[_0x31ed04(0x516),h[_0x31ed04(0x516)]],[_0x31ed04(0x469),h[_0x31ed04(0x469)]],[_0x31ed04(0x57b),h[_0x31ed04(0x57b)]],[_0x31ed04(0x591),h[_0x31ed04(0x591)]],['ShapeFlowChartDisplayIcon',h['ShapeFlowChartDisplayIcon']],[_0x31ed04(0x43d),h[_0x31ed04(0x43d)]],['ShapeFlowChartExtractIcon',h['ShapeFlowChartExtractIcon']],['ShapeFlowChartInputOutputIcon',h['ShapeFlowChartInputOutputIcon']],[_0x31ed04(0x2cc),h[_0x31ed04(0x2cc)]],['ShapeFlowChartMagneticDiskIcon',h[_0x31ed04(0x51f)]],[_0x31ed04(0x659),h[_0x31ed04(0x659)]],[_0x31ed04(0x1e2),h[_0x31ed04(0x1e2)]],[_0x31ed04(0x46b),h[_0x31ed04(0x46b)]],['ShapeFlowChartManualOperationIcon',h[_0x31ed04(0x3d2)]],[_0x31ed04(0x4aa),h[_0x31ed04(0x4aa)]],[_0x31ed04(0x445),h['ShapeFlowChartMultidocumentIcon']],[_0x31ed04(0x2f1),h[_0x31ed04(0x2f1)]],[_0x31ed04(0x45d),h[_0x31ed04(0x45d)]],[_0x31ed04(0x50c),h[_0x31ed04(0x50c)]],[_0x31ed04(0x23e),h['ShapeFlowChartOrIcon']],[_0x31ed04(0x4b1),h['ShapeFlowChartPredefinedProcessIcon']],['ShapeFlowChartPreparationIcon',h['ShapeFlowChartPreparationIcon']],[_0x31ed04(0x4bd),h['ShapeFlowChartProcessIcon']],[_0x31ed04(0x25a),h['ShapeFlowChartPunchedCardIcon']],[_0x31ed04(0x3e1),h['ShapeFlowChartPunchedTapeIcon']],[_0x31ed04(0x32b),h[_0x31ed04(0x32b)]],[_0x31ed04(0x668),h[_0x31ed04(0x668)]],['ShapeFlowChartTerminatorIcon',h[_0x31ed04(0x4ef)]],[_0x31ed04(0x439),h['ShapeFolderCornerIcon']],[_0x31ed04(0x355),h[_0x31ed04(0x355)]],[_0x31ed04(0x399),h['ShapeFunnelIcon']],[_0x31ed04(0x4a4),h[_0x31ed04(0x4a4)]],[_0x31ed04(0x3a4),h[_0x31ed04(0x3a4)]],[_0x31ed04(0x3bb),h[_0x31ed04(0x3bb)]],['ShapeHeartIcon',h['ShapeHeartIcon']],[_0x31ed04(0x265),h[_0x31ed04(0x265)]],[_0x31ed04(0x34b),h[_0x31ed04(0x34b)]],[_0x31ed04(0x5f1),h['ShapeHomePlateIcon']],['ShapeHorizontalScrollIcon',h[_0x31ed04(0x583)]],['ShapeIrregularSeal1Icon',h[_0x31ed04(0x4d4)]],['ShapeIrregularSeal2Icon',h[_0x31ed04(0x47e)]],['ShapeLeftArrowCalloutIcon',h['ShapeLeftArrowCalloutIcon']],[_0x31ed04(0x339),h[_0x31ed04(0x339)]],[_0x31ed04(0x3a7),h[_0x31ed04(0x3a7)]],[_0x31ed04(0x39a),h[_0x31ed04(0x39a)]],[_0x31ed04(0x45e),h[_0x31ed04(0x45e)]],['ShapeLeftRightArrowCalloutIcon',h[_0x31ed04(0x2e0)]],[_0x31ed04(0x1a3),h[_0x31ed04(0x1a3)]],[_0x31ed04(0x5f5),h[_0x31ed04(0x5f5)]],[_0x31ed04(0x4e1),h[_0x31ed04(0x4e1)]],[_0x31ed04(0x6aa),h[_0x31ed04(0x6aa)]],[_0x31ed04(0x2f2),h[_0x31ed04(0x2f2)]],[_0x31ed04(0x2da),h[_0x31ed04(0x2da)]],[_0x31ed04(0x46e),h['ShapeLineIcon']],[_0x31ed04(0x60a),h[_0x31ed04(0x60a)]],[_0x31ed04(0x44a),h[_0x31ed04(0x44a)]],[_0x31ed04(0x35f),h['ShapeMathEqualIcon']],[_0x31ed04(0x398),h['ShapeMathMinusIcon']],['ShapeMathMultiplyIcon',h[_0x31ed04(0x5a1)]],[_0x31ed04(0x6b1),h[_0x31ed04(0x6b1)]],['ShapeMathPlusIcon',h[_0x31ed04(0x35c)]],[_0x31ed04(0x522),h[_0x31ed04(0x522)]],[_0x31ed04(0x28d),h['ShapeNoSmokingIcon']],[_0x31ed04(0x2af),h[_0x31ed04(0x2af)]],[_0x31ed04(0x658),h[_0x31ed04(0x658)]],[_0x31ed04(0x55b),h[_0x31ed04(0x55b)]],[_0x31ed04(0x4b9),h[_0x31ed04(0x4b9)]],[_0x31ed04(0x1e4),h[_0x31ed04(0x1e4)]],[_0x31ed04(0x3d9),h[_0x31ed04(0x3d9)]],['ShapePieWedgeIcon',h['ShapePieWedgeIcon']],[_0x31ed04(0x1ee),h[_0x31ed04(0x1ee)]],[_0x31ed04(0x5fb),h[_0x31ed04(0x5fb)]],['ShapePlusIcon',h[_0x31ed04(0x2bd)]],[_0x31ed04(0x40c),h['ShapeQuadArrowCalloutIcon']],[_0x31ed04(0x564),h[_0x31ed04(0x564)]],[_0x31ed04(0x3c7),h[_0x31ed04(0x3c7)]],['ShapeRectTextboxHorizontalIcon',h[_0x31ed04(0x5db)]],[_0x31ed04(0x561),h[_0x31ed04(0x561)]],[_0x31ed04(0x43e),h[_0x31ed04(0x43e)]],[_0x31ed04(0x484),h[_0x31ed04(0x484)]],['ShapeRightArrowCalloutIcon',h[_0x31ed04(0x33a)]],[_0x31ed04(0x19b),h[_0x31ed04(0x19b)]],[_0x31ed04(0x4cb),h[_0x31ed04(0x4cb)]],[_0x31ed04(0x42a),h['ShapeRightBracketIcon']],[_0x31ed04(0x689),h[_0x31ed04(0x689)]],[_0x31ed04(0x4a7),h[_0x31ed04(0x4a7)]],[_0x31ed04(0x3b1),h[_0x31ed04(0x3b1)]],['ShapeRoundRectIcon',h[_0x31ed04(0x68f)]],['ShapeRtTriangleIcon',h['ShapeRtTriangleIcon']],[_0x31ed04(0x50f),h[_0x31ed04(0x50f)]],['ShapeSnip1RectIcon',h[_0x31ed04(0x441)]],[_0x31ed04(0x496),h[_0x31ed04(0x496)]],[_0x31ed04(0x253),h['ShapeSnip2SameRectIcon']],[_0x31ed04(0x35d),h[_0x31ed04(0x35d)]],[_0x31ed04(0x1a4),h[_0x31ed04(0x1a4)]],['ShapeStar10Icon',h[_0x31ed04(0x2b0)]],[_0x31ed04(0x2ec),h['ShapeStar12Icon']],['ShapeStar16Icon',h[_0x31ed04(0x33e)]],[_0x31ed04(0x49c),h[_0x31ed04(0x49c)]],[_0x31ed04(0x3ca),h[_0x31ed04(0x3ca)]],[_0x31ed04(0x32f),h['ShapeStar4Icon']],[_0x31ed04(0x1a8),h['ShapeStar5Icon']],[_0x31ed04(0x1f5),h[_0x31ed04(0x1f5)]],['ShapeStar7Icon',h[_0x31ed04(0x257)]],[_0x31ed04(0x5c7),h['ShapeStar8Icon']],[_0x31ed04(0x2b6),h[_0x31ed04(0x2b6)]],[_0x31ed04(0x67f),h[_0x31ed04(0x67f)]],[_0x31ed04(0x649),h[_0x31ed04(0x649)]],[_0x31ed04(0x568),h['ShapeSunIcon']],['ShapeSwooshArrowIcon',h['ShapeSwooshArrowIcon']],[_0x31ed04(0x2d8),h[_0x31ed04(0x2d8)]],[_0x31ed04(0x370),h['ShapeTrapezoidIcon']],[_0x31ed04(0x2c1),h[_0x31ed04(0x2c1)]],[_0x31ed04(0x69b),h[_0x31ed04(0x69b)]],[_0x31ed04(0x416),h[_0x31ed04(0x416)]],[_0x31ed04(0x467),h['ShapeUpDownArrowCalloutIcon']],[_0x31ed04(0x506),h['ShapeUpDownArrowIcon']],[_0x31ed04(0x3fe),h[_0x31ed04(0x3fe)]],[_0x31ed04(0x66b),h[_0x31ed04(0x66b)]],[_0x31ed04(0x384),h['ShapeWaveIcon']],[_0x31ed04(0x5c0),h[_0x31ed04(0x5c0)]],['ShapeWedgeRectCalloutIcon',h['ShapeWedgeRectCalloutIcon']],[_0x31ed04(0x543),h[_0x31ed04(0x543)]],[N,X],[le,ve],[xe,we],[b['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],Ce]][_0x31ed04(0x2bc)](([_0x5b3e5f,_0x424356])=>{const _0x709ce2=_0x31ed04;this[_0x709ce2(0x3ec)](this['_componentManager'][_0x709ce2(0x390)](_0x5b3e5f,_0x424356));});}['_openShapeEditPanel'](){const _0x18824d=_0x2cfc0c;this['_sidebarDisposable']=this[_0x18824d(0x510)][_0x18824d(0x1e9)]({'id':N,'header':{'title':this['_localeService']['t'](_0x18824d(0x28f))},'width':0x184,'children':{'label':N,...this[_0x18824d(0x619)]},'onClose':()=>{const _0x473b7c=_0x18824d;this[_0x473b7c(0x1b4)][_0x473b7c(0x66d)](null),this[_0x473b7c(0x59d)]['setContextValue'](u[_0x473b7c(0x615)],!0x1),this[_0x473b7c(0x2a3)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0;}[_0x2cfc0c(0x205)](){const _0x138ee9=_0x2cfc0c;this[_0x138ee9(0x45f)]=!0x1,this[_0x138ee9(0x510)]['close'](N),this[_0x138ee9(0x2a3)]=null,this[_0x138ee9(0x59d)][_0x138ee9(0x626)](u[_0x138ee9(0x615)],!0x1),this['_drawingManagerService'][_0x138ee9(0x66d)](null);}};Ae=W([U(0x0,u[_0x2cfc0c(0x57a)]),U(0x1,(0x0,u[_0x2cfc0c(0x584)])(g['ISidebarService'])),U(0x2,g[_0x2cfc0c(0x55f)]),U(0x3,(0x0,u['Inject'])(l['DocsShapeService'])),U(0x4,(0x0,u[_0x2cfc0c(0x584)])(u[_0x2cfc0c(0x600)])),U(0x5,(0x0,u['Inject'])(g[_0x2cfc0c(0x2b5)])),U(0x6,u[_0x2cfc0c(0x1d1)]),U(0x7,m[_0x2cfc0c(0x2e2)]),U(0x8,(0x0,u['Inject'])(f[_0x2cfc0c(0x68d)])),U(0x9,p['IRenderManagerService']),U(0xa,u[_0x2cfc0c(0x2dc)]),U(0xb,(0x0,u[_0x2cfc0c(0x584)])(R))],Ae);var je=_0x2cfc0c(0x342),Me=_0x2cfc0c(0x457);const Ne='docs-shape-ui.config';Symbol(Ne);const Pe={};var Fe=class extends p[_0x2cfc0c(0x25b)]{constructor(_0x3ecc63,_0x45b431){const _0x3b1083=_0x2cfc0c;super(_0x3ecc63,_0x45b431),L(this,'_shapeId',null),L(this,_0x3b1083(0x2f6),null),L(this,_0x3b1083(0x2f9),null),L(this,_0x3b1083(0x2f8),null),_0x45b431&&this['setShapeProps'](_0x45b431);}[_0x2cfc0c(0x29b)](){const _0x26f9b7=_0x2cfc0c;return{'unitId':this[_0x26f9b7(0x2f9)],'subUnitId':this[_0x26f9b7(0x2f8)],'drawingId':this[_0x26f9b7(0x420)]};}['setShapeProps'](_0x1ba3ef){const _0x2e63e4=_0x2cfc0c;_0x1ba3ef[_0x2e63e4(0x364)]!==void 0x0&&(this['_shapeId']=_0x1ba3ef['shapeId']),_0x1ba3ef[_0x2e63e4(0x5da)]!==void 0x0&&(this[_0x2e63e4(0x2f6)]=_0x1ba3ef[_0x2e63e4(0x5da)]),_0x1ba3ef[_0x2e63e4(0x2c2)]!==void 0x0&&(this[_0x2e63e4(0x2f9)]=_0x1ba3ef[_0x2e63e4(0x2c2)]),_0x1ba3ef[_0x2e63e4(0x2d0)]!==void 0x0&&(this[_0x2e63e4(0x2f8)]=_0x1ba3ef[_0x2e63e4(0x2d0)]),this[_0x2e63e4(0x4c9)]({'width':_0x1ba3ef[_0x2e63e4(0x651)],'height':_0x1ba3ef[_0x2e63e4(0x413)]});}['_draw'](_0x2baa17){const _0x2a2e2a=_0x2cfc0c;p[_0x2a2e2a(0x527)][_0x2a2e2a(0x4bf)](_0x2baa17,{'radius':c['ShapeDefaultConfig'][_0x2a2e2a(0x48a)],'fill':c[_0x2a2e2a(0x41e)][_0x2a2e2a(0x509)],'stroke':c[_0x2a2e2a(0x41e)][_0x2a2e2a(0x49e)],'strokeWidth':0x1,'evented':!0x0});}};let Ie=class extends u['Disposable']{constructor(_0x2adcb6,_0x400057,_0x547553,_0x1c6297){const _0x215e62=_0x2cfc0c;super(),this[_0x215e62(0x5a2)]=_0x2adcb6,this[_0x215e62(0x1b4)]=_0x400057,this['_docsShapeService']=_0x547553,this['_commandService']=_0x1c6297,L(this,_0x215e62(0x317),null),L(this,_0x215e62(0x2f9),null),L(this,'_subUnitId',null),L(this,_0x215e62(0x4c2),void 0x0),L(this,_0x215e62(0x26d),[]),L(this,_0x215e62(0x4a3),0x0),L(this,_0x215e62(0x284),0x0),L(this,_0x215e62(0x677),0x0),L(this,'_baseShapeHeight',0x0),L(this,'_isStartAdjusting',!0x1),L(this,_0x215e62(0x4ea),!0x1),L(this,'_activeAdjustInfo',void 0x0),L(this,'_activeShapeModel',void 0x0),L(this,_0x215e62(0x28a),void 0x0),L(this,_0x215e62(0x536),void 0x0),this[_0x215e62(0x6ae)](),this[_0x215e62(0x6af)]();}[_0x2cfc0c(0x448)](){const _0x474b58=_0x2cfc0c;this[_0x474b58(0x30d)]();}[_0x2cfc0c(0x419)](){this['_updateShapeAdjustControls'](!0x0);}['_getShapeAdjustPointListById'](_0x27ef7b,_0x545f14,_0x156950){const _0x1b5dcf=_0x2cfc0c;var _0x4ec5b5;return(_0x4ec5b5=this['_docsShapeService'][_0x1b5dcf(0x4a8)](_0x27ef7b,_0x545f14,_0x156950))==null?void 0x0:_0x4ec5b5['getDrawingPoints']();}['_getShapeAdjustInfosById'](_0x3acdf1,_0x4ad461,_0xa69dbb,_0x436786){const _0x53fef4=_0x2cfc0c;var _0x34383b;return(_0x34383b=this[_0x53fef4(0x3f5)][_0x53fef4(0x4a8)](_0x3acdf1,_0x4ad461,_0xa69dbb))==null?void 0x0:_0x34383b[_0x53fef4(0x414)](_0x436786);}['_getActiveDrawingParam'](){const _0xdd5df2=_0x2cfc0c;if(this[_0xdd5df2(0x2f9)]===null||this[_0xdd5df2(0x2f8)]===null||this['_activeShapeId']===null)return null;let _0x1be695=this[_0xdd5df2(0x1b4)][_0xdd5df2(0x30a)]({'unitId':this[_0xdd5df2(0x2f9)],'subUnitId':this[_0xdd5df2(0x2f8)],'drawingId':this[_0xdd5df2(0x317)]});return _0x1be695==null?null:_0x1be695;}['_getActiveDrawingShape'](_0x53ed06){const _0x5e87db=_0x2cfc0c;if(this[_0x5e87db(0x2f9)]===null||this[_0x5e87db(0x2f8)]===null||this[_0x5e87db(0x317)]===null)return null;let _0x55f102=(0x0,m[_0x5e87db(0x31a)])({'unitId':this[_0x5e87db(0x2f9)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x5e87db(0x317)]}),_0x424cb8=_0x53ed06['getObjectIncludeInGroup'](_0x55f102);return _0x424cb8 instanceof H?_0x424cb8:null;}[_0x2cfc0c(0x2a4)](_0x3c3b4b=!0x1){const _0x4a5733=_0x2cfc0c;if(this[_0x4a5733(0x2f9)]===null||this[_0x4a5733(0x2f8)]===null||this[_0x4a5733(0x317)]===null)return;let _0x191b89=this[_0x4a5733(0x29d)]();if((_0x191b89==null?void 0x0:_0x191b89[_0x4a5733(0x3be)])!==u[_0x4a5733(0x562)][_0x4a5733(0x3f2)]||!_0x191b89[_0x4a5733(0x58a)])return;let _0xbfe103=this[_0x4a5733(0x3f5)][_0x4a5733(0x4a8)](this[_0x4a5733(0x2f9)],this[_0x4a5733(0x2f8)],this[_0x4a5733(0x317)]);if(!_0xbfe103||_0xbfe103[_0x4a5733(0x5bf)]())return;(_0x3c3b4b||!this[_0x4a5733(0x4c2)])&&(this[_0x4a5733(0x4c2)]=this[_0x4a5733(0x49b)](this[_0x4a5733(0x2f9)],this[_0x4a5733(0x2f8)],this[_0x4a5733(0x317)]));let _0x326fe6=this[_0x4a5733(0x4c2)];if(!(_0x326fe6!=null&&_0x326fe6['length']))return;let {scene:_0x1339f6}=this[_0x4a5733(0x5a2)],{left:_0xd888a2=0x0,top:_0x1b0b8a=0x0,width:_0x49a106=0x0,height:_0x2d6360=0x0,flipX:_0x5113d1,flipY:_0x39752d,angle:_0x140c79=0x0}=_0x191b89[_0x4a5733(0x58a)];for(let _0x2aeb4b of _0x326fe6){let _0x2278c8=this[_0x4a5733(0x572)](_0x2aeb4b,_0x49a106,_0x2d6360,!!_0x5113d1,!!_0x39752d,_0x140c79);this[_0x4a5733(0x5d4)](_0x1339f6,_0x2278c8,_0x2278c8[_0x4a5733(0x5da)],_0xd888a2,_0x1b0b8a,this[_0x4a5733(0x2f9)],this[_0x4a5733(0x2f8)]);}}[_0x2cfc0c(0x572)](_0x226877,_0x47af85,_0x11f7a9,_0x3e29dc,_0x355f4e,_0x3b4b47){const _0x45ecc7=_0x2cfc0c;let _0x2e80c5=_0x226877['x'],_0x3996be=_0x226877['y'];if(_0x3e29dc&&(_0x2e80c5=_0x47af85-_0x2e80c5),_0x355f4e&&(_0x3996be=_0x11f7a9-_0x3996be),_0x3b4b47!==0x0){let _0x228b9b=_0x47af85/0x2,_0x45781b=_0x11f7a9/0x2,_0x120dde=_0x3b4b47*Math['PI']/0xb4,_0x55e190=Math['cos'](_0x120dde),_0x25b39e=Math[_0x45ecc7(0x66a)](_0x120dde),_0x37b0d8=_0x2e80c5-_0x228b9b,_0x52f785=_0x3996be-_0x45781b;_0x2e80c5=_0x228b9b+(_0x37b0d8*_0x55e190-_0x52f785*_0x25b39e),_0x3996be=_0x45781b+(_0x37b0d8*_0x25b39e+_0x52f785*_0x55e190);}return{'x':_0x2e80c5,'y':_0x3996be,'adjName':_0x226877[_0x45ecc7(0x5da)]};}[_0x2cfc0c(0x39c)](_0x17384a=!0x1){const _0xb965c0=_0x2cfc0c;_0x17384a&&this[_0xb965c0(0x30d)](),this[_0xb965c0(0x2a4)](_0x17384a);}[_0x2cfc0c(0x5d4)](_0x393f65,_0x5639a8,_0x199f01,_0x30f1e3,_0x2d220d,_0x3641e2,_0x19efc3){const _0x40277a=_0x2cfc0c;if(!this[_0x40277a(0x317)])return;let _0x11b540=_0x40277a(0x40a)+this['_activeShapeId']+'-'+_0x199f01,_0x3140b4=_0x393f65['getObjectIncludeInGroup'](_0x11b540);if(_0x3140b4){_0x3140b4[_0x40277a(0x4c9)]({'left':_0x5639a8['x']+_0x30f1e3-c['ShapeDefaultConfig']['adjHandleSize'],'top':_0x5639a8['y']+_0x2d220d-c['ShapeDefaultConfig']['adjHandleSize']}),_0x3140b4['makeDirty'](!0x0);return;}let _0x205bca=new Fe(_0x11b540,{'left':_0x5639a8['x']+_0x30f1e3-c[_0x40277a(0x41e)][_0x40277a(0x48a)],'top':_0x5639a8['y']+_0x2d220d-c[_0x40277a(0x41e)][_0x40277a(0x48a)],'adjName':_0x199f01,'shapeId':this[_0x40277a(0x317)],'unitId':_0x3641e2,'subUnitId':_0x19efc3,'width':c['ShapeDefaultConfig'][_0x40277a(0x48a)]+0x8,'height':c[_0x40277a(0x41e)][_0x40277a(0x48a)]+0x8,'zIndex':p['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x40277a(0x39f)](_0x205bca),this[_0x40277a(0x53b)](_0x205bca,_0x393f65,_0x199f01),_0x393f65[_0x40277a(0x460)](_0x205bca,p['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x2cfc0c(0x30d)](){const _0x136cdd=_0x2cfc0c;this[_0x136cdd(0x26d)][_0x136cdd(0x2bc)](_0x15385b=>_0x15385b[_0x136cdd(0x430)]()),this['_adjustPointObjects']=[];}[_0x2cfc0c(0x408)](){const _0x5b049b=_0x2cfc0c;this[_0x5b049b(0x2a4)]();}['_toScenePoint'](_0x5d7c68,_0x21c25b,_0x14ada7){const _0x4e651b=_0x2cfc0c;var _0x1abc80,_0x36b60b;let _0x36f67b=p[_0x4e651b(0x433)]['FromArray']([_0x21c25b,_0x14ada7]),_0x546d4a=(_0x1abc80=_0x5d7c68[_0x4e651b(0x5e6)](_0x36f67b))==null?_0x5d7c68[_0x4e651b(0x22f)]()[0x0]:_0x1abc80;return(_0x36b60b=_0x546d4a==null?void 0x0:_0x546d4a[_0x4e651b(0x4d0)](_0x36f67b))==null?_0x36f67b:_0x36b60b;}[_0x2cfc0c(0x53b)](_0x11c323,_0x2c40a8,_0x1bfb5d){const _0x6f7a9b=_0x2cfc0c;this[_0x6f7a9b(0x3ec)]((0x0,u['toDisposable'])(_0x11c323[_0x6f7a9b(0x21c)][_0x6f7a9b(0x325)]((_0x3f1aeb,_0x138c53)=>{const _0x10ea5b=_0x6f7a9b;var _0x108bd9,_0x1852ff,_0x529beb,_0x377c06;let _0x4445ca=_0x11c323['getDrawingSearch']();this[_0x10ea5b(0x3a3)]=this[_0x10ea5b(0x41f)](_0x4445ca[_0x10ea5b(0x2c2)],_0x4445ca[_0x10ea5b(0x2d0)],_0x4445ca[_0x10ea5b(0x656)],_0x1bfb5d),this[_0x10ea5b(0x214)]=this[_0x10ea5b(0x3f5)]['getShapeModel'](_0x4445ca['unitId'],_0x4445ca[_0x10ea5b(0x2d0)],_0x4445ca[_0x10ea5b(0x656)]);let _0x31ee59=this[_0x10ea5b(0x29d)](),_0x51602d=_0x31ee59==null?void 0x0:_0x31ee59[_0x10ea5b(0x58a)];if(!_0x31ee59||!_0x51602d||!this[_0x10ea5b(0x214)])return;this[_0x10ea5b(0x4a3)]=_0x51602d[_0x10ea5b(0x5dd)]||0x0,this[_0x10ea5b(0x284)]=_0x51602d[_0x10ea5b(0x5af)]||0x0,this[_0x10ea5b(0x677)]=_0x51602d['width']||0x0,this[_0x10ea5b(0x2a9)]=_0x51602d['height']||0x0;let _0x54cfd4=!!_0x51602d['flipX'],_0x3b0be=!!_0x51602d[_0x10ea5b(0x22d)],_0x35a74e=_0x51602d[_0x10ea5b(0x4b2)]||0x0,_0x1eb5c5=((_0x108bd9=this[_0x10ea5b(0x3a3)])==null?void 0x0:_0x108bd9['gdRefX'])||((_0x1852ff=this[_0x10ea5b(0x3a3)])==null?void 0x0:_0x1852ff[_0x10ea5b(0x36f)])||((_0x529beb=this['_activeAdjustInfo'])==null?void 0x0:_0x529beb[_0x10ea5b(0x1b5)])||((_0x377c06=this['_activeAdjustInfo'])==null?void 0x0:_0x377c06[_0x10ea5b(0x427)])||_0x1bfb5d,_0x3d4a9e=this[_0x10ea5b(0x214)][_0x10ea5b(0x3ce)](_0x1eb5c5),_0x4c1378={[_0x1eb5c5]:_0x3d4a9e};this[_0x10ea5b(0x3f9)]=!0x0,_0x2c40a8[_0x10ea5b(0x512)](),this[_0x10ea5b(0x28a)]=_0x2c40a8[_0x10ea5b(0x1a9)][_0x10ea5b(0x325)]((_0x2f6175,_0x2a680a)=>{const _0x21a1c6=_0x10ea5b;var _0x3ae5cd;if(!this[_0x21a1c6(0x3f9)]||!this[_0x21a1c6(0x214)]||!this[_0x21a1c6(0x3a3)])return;_0x2c40a8[_0x21a1c6(0x512)](),_0x2c40a8['setCursor'](p[_0x21a1c6(0x687)][_0x21a1c6(0x56b)]);let _0xa423a2=this[_0x21a1c6(0x2ed)](_0x2c40a8,_0x2f6175['offsetX'],_0x2f6175['offsetY']),_0x992d68=_0xa423a2['x']-this[_0x21a1c6(0x4a3)],_0xecbcc2=_0xa423a2['y']-this['_baseShapeTop'];if(_0x35a74e!==0x0){let _0x42769b=this['_baseShapeWidth']/0x2,_0x473f20=this['_baseShapeHeight']/0x2,_0x4f951f=_0x35a74e*Math['PI']/0xb4,_0x756f6=Math['cos'](_0x4f951f),_0x76e579=Math[_0x21a1c6(0x66a)](_0x4f951f),_0xa3d088=_0x992d68-_0x42769b,_0x2c9750=_0xecbcc2-_0x473f20;_0x992d68=_0x42769b+(_0xa3d088*_0x756f6+_0x2c9750*_0x76e579),_0xecbcc2=_0x473f20+(-_0xa3d088*_0x76e579+_0x2c9750*_0x756f6);}_0x54cfd4&&(_0x992d68=this[_0x21a1c6(0x677)]-_0x992d68),_0x3b0be&&(_0xecbcc2=this['_baseShapeHeight']-_0xecbcc2);let _0x3ae2bf={'left':0x0,'top':0x0,'width':this[_0x21a1c6(0x677)],'height':this[_0x21a1c6(0x2a9)]},_0x465a13=this['_activeShapeModel'][_0x21a1c6(0x432)](_0x3ae2bf,{'x':_0x992d68,'y':_0xecbcc2},this[_0x21a1c6(0x3a3)],_0x54cfd4,_0x3b0be),_0x273f57=this[_0x21a1c6(0x3a3)][_0x21a1c6(0x66f)]||this[_0x21a1c6(0x3a3)][_0x21a1c6(0x36f)]||this[_0x21a1c6(0x3a3)][_0x21a1c6(0x1b5)]||this[_0x21a1c6(0x3a3)][_0x21a1c6(0x427)];_0x273f57!==void 0x0&&(this[_0x21a1c6(0x214)]['setAdjustValueByName'](_0x273f57,_0x465a13),(_0x3ae5cd=this[_0x21a1c6(0x51c)](_0x2c40a8))==null||_0x3ae5cd[_0x21a1c6(0x423)](!0x0),this[_0x21a1c6(0x4c2)]=this[_0x21a1c6(0x49b)](_0x4445ca[_0x21a1c6(0x2c2)],_0x4445ca[_0x21a1c6(0x2d0)],_0x4445ca[_0x21a1c6(0x656)]),this[_0x21a1c6(0x408)](),_0x2a680a[_0x21a1c6(0x533)]());}),this[_0x10ea5b(0x536)]=_0x2c40a8[_0x10ea5b(0x4db)]['subscribeEvent']((_0x1e0bc6,_0xba0578)=>{const _0x1eec78=_0x10ea5b;var _0x29d246,_0x5cceb6;(_0x29d246=this[_0x1eec78(0x28a)])==null||_0x29d246['unsubscribe'](),(_0x5cceb6=this['_adjHandlerPointerUp'])==null||_0x5cceb6[_0x1eec78(0x1be)](),_0x2c40a8[_0x1eec78(0x60e)]();let _0x53497d=this[_0x1eec78(0x3a3)];if(_0x53497d&&this[_0x1eec78(0x214)]){let _0x37ad46=_0x53497d[_0x1eec78(0x66f)]||_0x53497d[_0x1eec78(0x36f)]||_0x53497d[_0x1eec78(0x1b5)]||_0x53497d['gdRefR'];if(_0x37ad46!==void 0x0){let _0x11bbed=this['_activeShapeModel'][_0x1eec78(0x3ce)](_0x37ad46);_0x11bbed!==void 0x0&&z(this['_commandService'],_0x4445ca[_0x1eec78(0x2c2)],_0x4445ca[_0x1eec78(0x2d0)],_0x4445ca['drawingId'],{'oldShapeData':{'adjustValues':_0x4c1378}},{'adjustValues':{[_0x37ad46]:_0x11bbed}});}}this[_0x1eec78(0x3a3)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x1eec78(0x3f9)]=!0x1,_0x2c40a8[_0x1eec78(0x24d)](),_0xba0578[_0x1eec78(0x533)]();}),_0x138c53[_0x10ea5b(0x533)]();})));}[_0x2cfc0c(0x6af)](){const _0x532b07=_0x2cfc0c;let {scene:_0x44ff70}=this[_0x532b07(0x5a2)],_0x951d64=_0x44ff70[_0x532b07(0x394)]();this[_0x532b07(0x3ec)](_0x951d64[_0x532b07(0x65a)]['subscribe'](_0x29faaf=>{const _0x3c3c96=_0x532b07;this[_0x3c3c96(0x2a4)](),_0x29faaf[_0x3c3c96(0x231)]!==null&&_0x29faaf[_0x3c3c96(0x231)]['size']===0x1&&_0x29faaf['objects']['values']()[_0x3c3c96(0x5f9)]()[_0x3c3c96(0x1cb)]instanceof H&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x532b07(0x3ec)](_0x951d64[_0x532b07(0x4ff)]['subscribe'](()=>{const _0x57a61f=_0x532b07;this['_isShouldShowDrawingShapeAdjust']&&this[_0x57a61f(0x30d)]();})),this['disposeWithMe'](_0x44ff70['onPointerUp$'][_0x532b07(0x325)](()=>{const _0xd14fd8=_0x532b07;this['_isShouldShowDrawingShapeAdjust']&&(this[_0xd14fd8(0x4ea)]=!0x1,this[_0xd14fd8(0x2a4)]());})),this[_0x532b07(0x3ec)](_0x951d64[_0x532b07(0x1ea)]['subscribe'](()=>{const _0x21af94=_0x532b07;this[_0x21af94(0x2f9)]&&this[_0x21af94(0x2f8)]&&this[_0x21af94(0x317)]&&(this[_0x21af94(0x4c2)]=this[_0x21af94(0x49b)](this[_0x21af94(0x2f9)],this[_0x21af94(0x2f8)],this[_0x21af94(0x317)]),this[_0x21af94(0x408)]());}));}[_0x2cfc0c(0x6ae)](){const _0xe0b771=_0x2cfc0c;this['disposeWithMe'](this['_drawingManagerService'][_0xe0b771(0x54b)][_0xe0b771(0x2e4)](_0x5c564e=>{const _0x4866c0=_0xe0b771;if(_0x5c564e[_0x4866c0(0x2df)]===0x1){let _0x126e24=_0x5c564e[0x0],_0x38c5b9=this[_0x4866c0(0x1b4)][_0x4866c0(0x30a)](_0x126e24);if((_0x38c5b9==null?void 0x0:_0x38c5b9[_0x4866c0(0x3be)])===u[_0x4866c0(0x562)][_0x4866c0(0x3f2)]){this[_0x4866c0(0x317)]=_0x126e24[_0x4866c0(0x656)],this[_0x4866c0(0x2f9)]=_0x126e24['unitId'],this['_subUnitId']=_0x126e24[_0x4866c0(0x2d0)],this[_0x4866c0(0x4c2)]=this[_0x4866c0(0x49b)](_0x126e24[_0x4866c0(0x2c2)],_0x126e24['subUnitId'],_0x126e24['drawingId']),this[_0x4866c0(0x30d)](),this[_0x4866c0(0x2a4)]();return;}}this[_0x4866c0(0x317)]=null,this[_0x4866c0(0x4c2)]=void 0x0,this['_unitId']=null,this[_0x4866c0(0x2f8)]=null,this[_0x4866c0(0x30d)]();})),this['disposeWithMe'](this[_0xe0b771(0x1b4)][_0xe0b771(0x4f7)]['subscribe'](_0x4eb04b=>{const _0x514c01=_0xe0b771;if(_0x4eb04b['length']===0x1){var _0x294c12;((_0x294c12=this[_0x514c01(0x1b4)]['getDrawingByParam'](_0x4eb04b[0x0]))==null?void 0x0:_0x294c12[_0x514c01(0x3be)])===u[_0x514c01(0x562)]['DRAWING_SHAPE']&&this[_0x514c01(0x39c)](!0x0);}})),this[_0xe0b771(0x3ec)](this[_0xe0b771(0x1b4)]['remove$'][_0xe0b771(0x2e4)](_0x3c0f00=>{const _0x46850a=_0xe0b771;for(let _0x236b9a of _0x3c0f00)this[_0x46850a(0x317)]===_0x236b9a['drawingId']&&(this[_0x46850a(0x317)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x46850a(0x2f9)]=null,this['_subUnitId']=null,this[_0x46850a(0x30d)]());}));}};Ie=W([U(0x1,m[_0x2cfc0c(0x2e2)]),U(0x2,(0x0,u[_0x2cfc0c(0x584)])(l['DocsShapeService'])),U(0x3,u[_0x2cfc0c(0x1d1)])],Ie);function Le(_0xb007ee,_0x523f2e){const _0x4b49d0=_0x2cfc0c;let _0x481bb6=_0xb007ee;for(;_0x481bb6;){if(_0x523f2e(_0x481bb6))return _0x481bb6;_0x481bb6=typeof _0x481bb6[_0x4b49d0(0x32d)]=='function'?_0x481bb6[_0x4b49d0(0x32d)]():null;}return null;}function Re(_0x5a73ff){return Le(_0x5a73ff,_0x53136a=>_0x53136a instanceof H);}let ze=class extends u[_0x2cfc0c(0x1b3)]{constructor(_0x23d371,_0x3dd12f,_0x34cb03,_0x4963e7,_0x340ab1){const _0x40d89a=_0x2cfc0c;super(),this[_0x40d89a(0x5a2)]=_0x23d371,this['_shapeTextEditingService']=_0x3dd12f,this['_drawingManagerService']=_0x34cb03,this[_0x40d89a(0x59d)]=_0x4963e7,this[_0x40d89a(0x3f5)]=_0x340ab1,L(this,'_lastEditingShapeKey',null),this[_0x40d89a(0x1ab)](),this[_0x40d89a(0x64f)](),this['_initEditingParams']();}[_0x2cfc0c(0x1ab)](){const _0x2c53af=_0x2cfc0c;let {scene:_0x58983a}=this[_0x2c53af(0x5a2)];this[_0x2c53af(0x3ec)](_0x58983a['onDblclick$']['subscribeEvent'](_0x3005c5=>{const _0x3bd3d7=_0x2c53af;var _0x4f67d1;let {offsetX:_0x12e9d2,offsetY:_0x27e2dc}=_0x3005c5,_0xc47c4c=p['Vector2'][_0x3bd3d7(0x293)]([_0x12e9d2,_0x27e2dc]),_0x407a20=(_0x4f67d1=Re(_0x58983a['pick'](_0xc47c4c)))==null?this[_0x3bd3d7(0x62d)](_0xc47c4c):_0x4f67d1;if(_0x407a20){if((0x0,c[_0x3bd3d7(0x301)])(this[_0x3bd3d7(0x3f5)][_0x3bd3d7(0x2c5)](_0x407a20[_0x3bd3d7(0x2c2)],_0x407a20['subUnitId'],_0x407a20['shapeId'])))return;this[_0x3bd3d7(0x5cb)][_0x3bd3d7(0x19d)]({'visible':!0x0,'unitId':_0x407a20[_0x3bd3d7(0x2c2)],'subUnitId':_0x407a20[_0x3bd3d7(0x2d0)],'shapeId':_0x407a20[_0x3bd3d7(0x364)],'shapeKey':_0x407a20[_0x3bd3d7(0x2ca)]});}}));}[_0x2cfc0c(0x62d)](_0x29a6ea){const _0x2a0760=_0x2cfc0c;let {scene:_0x480b74}=this[_0x2a0760(0x5a2)],_0x38cee2=this[_0x2a0760(0x1b4)][_0x2a0760(0x534)]()[_0x2a0760(0x2be)](_0x188d06=>_0x480b74[_0x2a0760(0x69f)]((0x0,m[_0x2a0760(0x31a)])(_0x188d06)))[_0x2a0760(0x483)](_0x57f0d1=>_0x57f0d1 instanceof H&&_0x57f0d1['isHit'](_0x29a6ea));return _0x38cee2==null?null:_0x38cee2;}[_0x2cfc0c(0x64f)](){const _0x155532=_0x2cfc0c;this['disposeWithMe'](this[_0x155532(0x1b4)][_0x155532(0x54b)]['subscribe'](_0x5441cd=>{const _0x3ae070=_0x155532;if(_0x5441cd[_0x3ae070(0x2df)]===0x1){let _0x582bb5=_0x5441cd[0x0],_0x13d580=this[_0x3ae070(0x1b4)][_0x3ae070(0x30a)](_0x582bb5);if((_0x13d580==null?void 0x0:_0x13d580[_0x3ae070(0x3be)])===u[_0x3ae070(0x562)][_0x3ae070(0x3f2)]){let _0x4f94f5=this[_0x3ae070(0x5cb)][_0x3ae070(0x51b)]();if((_0x4f94f5==null?void 0x0:_0x4f94f5[_0x3ae070(0x364)])===_0x582bb5[_0x3ae070(0x656)]&&_0x4f94f5[_0x3ae070(0x63c)])return;(0x0,c[_0x3ae070(0x301)])(this[_0x3ae070(0x3f5)][_0x3ae070(0x2c5)](_0x582bb5[_0x3ae070(0x2c2)],_0x582bb5[_0x3ae070(0x2d0)],_0x582bb5[_0x3ae070(0x656)]))&&this[_0x3ae070(0x5cb)][_0x3ae070(0x19d)](null);}else this[_0x3ae070(0x5cb)][_0x3ae070(0x51b)]()&&(this[_0x3ae070(0x5cb)][_0x3ae070(0x260)](!0x0),requestAnimationFrame(()=>{const _0x4fe1f8=_0x3ae070;this[_0x4fe1f8(0x5cb)][_0x4fe1f8(0x19d)](null);}));}else this[_0x3ae070(0x5cb)][_0x3ae070(0x51b)]()&&(this[_0x3ae070(0x5cb)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x2c8f2b=_0x3ae070;this[_0x2c8f2b(0x5cb)]['setEditing'](null);}));})),this['disposeWithMe'](this[_0x155532(0x1b4)]['remove$'][_0x155532(0x2e4)](_0x31c507=>{const _0x61cede=_0x155532;let _0x13be19=this[_0x61cede(0x5cb)][_0x61cede(0x51b)]();_0x13be19&&_0x31c507[_0x61cede(0x49a)](_0x129aa3=>_0x129aa3[_0x61cede(0x656)]===_0x13be19[_0x61cede(0x364)])&&this[_0x61cede(0x5cb)]['setEditing'](null);}));}['_initEditingParams'](){const _0x3642fa=_0x2cfc0c;this[_0x3642fa(0x3ec)](this[_0x3642fa(0x5cb)][_0x3642fa(0x468)][_0x3642fa(0x2e4)](_0x50ad81=>{const _0x3c9d4f=_0x3642fa;let {scene:_0x5928d7}=this['_context'];if(this[_0x3c9d4f(0x55d)]){let _0x3d7df8=_0x5928d7[_0x3c9d4f(0x69f)](this[_0x3c9d4f(0x55d)]);_0x3d7df8&&_0x3d7df8[_0x3c9d4f(0x19d)](!0x1);}if(_0x50ad81){let _0x5a8a7c=!!_0x50ad81[_0x3c9d4f(0x63c)],_0x4f3afb=_0x5928d7[_0x3c9d4f(0x69f)](_0x50ad81['shapeKey']);_0x4f3afb&&(_0x4f3afb[_0x3c9d4f(0x19d)](_0x5a8a7c),this[_0x3c9d4f(0x55d)]=_0x50ad81['shapeKey']),this['_contextService']['setContextValue'](u[_0x3c9d4f(0x3a1)],_0x5a8a7c);}else this[_0x3c9d4f(0x55d)]=null,this[_0x3c9d4f(0x59d)][_0x3c9d4f(0x626)](u['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};ze=W([U(0x1,(0x0,u[_0x2cfc0c(0x584)])(R)),U(0x2,m[_0x2cfc0c(0x2e2)]),U(0x3,u[_0x2cfc0c(0x2dc)]),U(0x4,(0x0,u[_0x2cfc0c(0x584)])(l[_0x2cfc0c(0x353)]))],ze);const Be=[f[_0x2cfc0c(0x56a)],f[_0x2cfc0c(0x4b6)]['id'],f[_0x2cfc0c(0x62f)]['id'],f['SetInlineFormatItalicCommand']['id'],f[_0x2cfc0c(0x58f)]['id'],f[_0x2cfc0c(0x5e0)]['id'],f[_0x2cfc0c(0x36b)]['id'],f['SetInlineFormatSuperscriptCommand']['id'],f[_0x2cfc0c(0x345)]['id'],f['SetInlineFormatTextBackgroundColorCommand']['id']];function Ve(){const _0x326fd3=_0x2cfc0c;let _0x10533b=(0x0,g[_0x326fd3(0x1b6)])(g[_0x326fd3(0x55f)]),[_0x21014c,_0x48eaec]=(0x0,y[_0x326fd3(0x4e5)])([]);return(0x0,y[_0x326fd3(0x60c)])(()=>{const _0x3257ac=_0x326fd3;function _0x290c73(){const _0x18b693=_0x49eb;let _0x340906=[..._0x10533b[_0x18b693(0x618)](f['FLOAT_TOOLBAR_MENU_POSITION']),..._0x10533b[_0x18b693(0x618)](g['MenuManagerPosition'][_0x18b693(0x2f7)])];_0x48eaec(Be[_0x18b693(0x2be)](_0x1c18a0=>_0x340906[_0x18b693(0x483)](_0x13f73e=>_0x13f73e[_0x18b693(0x336)]===_0x1c18a0))[_0x18b693(0x2f4)](_0x3cc47e=>!!(_0x3cc47e!=null&&_0x3cc47e[_0x18b693(0x217)])));}_0x290c73();let _0x3edcc3=_0x10533b[_0x3257ac(0x523)][_0x3257ac(0x2e4)](_0x290c73);return()=>_0x3edcc3[_0x3257ac(0x1be)]();},[_0x10533b]),(0x0,x[_0x326fd3(0x338)])(_0x326fd3(0x4c3),{'className':(0x0,v[_0x326fd3(0x1b7)])('univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',v[_0x326fd3(0x1cd)]),'children':_0x21014c[_0x326fd3(0x2be)](_0x204a02=>_0x204a02[_0x326fd3(0x217)]&&(0x0,x[_0x326fd3(0x338)])(_0x326fd3(0x4c3),{'className':_0x326fd3(0x3c5),'children':(0x0,x[_0x326fd3(0x338)])(g[_0x326fd3(0x1aa)],{..._0x204a02[_0x326fd3(0x217)]},_0x204a02[_0x326fd3(0x336)])},_0x204a02[_0x326fd3(0x336)]))});}const He=_0x2cfc0c(0x48e);function Ue(_0x52e711,_0xeb4b8f){if(_0x52e711==null||_0xeb4b8f==null)return!0x1;let {glyph:_0x6579f5,..._0x321783}=_0x52e711,{glyph:_0x2d18a5,..._0x316f8d}=_0xeb4b8f;return(0x0,u['deepCompare'])(_0x321783,_0x316f8d);}let We=class extends u['Disposable']{constructor(_0x13920b,_0x3b4860,_0x33e5a4,_0x359917,_0x56c413){const _0x199666=_0x2cfc0c;super(),this[_0x199666(0x5a2)]=_0x13920b,this[_0x199666(0x191)]=_0x3b4860,this['_docCanvasPopManagerService']=_0x33e5a4,this[_0x199666(0x1bc)]=_0x359917,this[_0x199666(0x605)]=_0x56c413,L(this,_0x199666(0x6b5),null),this['_context'][_0x199666(0x2c2)]===P&&(this[_0x199666(0x3ec)](this[_0x199666(0x1bc)][_0x199666(0x390)](He,Ve)),this[_0x199666(0x531)](),this['disposeWithMe'](()=>this[_0x199666(0x511)]()));}[_0x2cfc0c(0x531)](){const _0x541098=_0x2cfc0c;this[_0x541098(0x3ec)](this[_0x541098(0x605)][_0x541098(0x5b5)]['subscribe'](()=>{this['_hideFloatMenu']();})),this[_0x541098(0x3ec)](this[_0x541098(0x191)][_0x541098(0x259)]['subscribe'](_0x45647c=>{const _0x4e97f6=_0x541098;var _0x459c3d,_0x41eb2d;let {unitId:_0x16bf7c,textRanges:_0x4bd30c}=_0x45647c;if(_0x16bf7c!==this['_context'][_0x4e97f6(0x2c2)])return;let _0x590d2d=_0x4bd30c[_0x4e97f6(0x483)](_0x4e4b33=>!_0x4e4b33[_0x4e97f6(0x311)]);if(!_0x590d2d){this[_0x4e97f6(0x511)]();return;}_0x590d2d['startOffset']===((_0x459c3d=this[_0x4e97f6(0x6b5)])==null?void 0x0:_0x459c3d[_0x4e97f6(0x5d3)])&&_0x590d2d['endOffset']===((_0x41eb2d=this['_floatMenu'])==null?void 0x0:_0x41eb2d[_0x4e97f6(0x235)])||(this[_0x4e97f6(0x511)](),this[_0x4e97f6(0x233)](_0x16bf7c,_0x590d2d));}));}[_0x2cfc0c(0x511)](){const _0xe99c3e=_0x2cfc0c;var _0x5382f9;(_0x5382f9=this['_floatMenu'])==null||_0x5382f9['disposable'][_0xe99c3e(0x430)](),this['_floatMenu']=null;}[_0x2cfc0c(0x233)](_0x1110d9,_0x58a4a1){const _0x14f480=_0x2cfc0c;this[_0x14f480(0x6b5)]={'disposable':this[_0x14f480(0x462)][_0x14f480(0x61d)](_0x58a4a1,{'componentKey':He,'direction':_0x58a4a1[_0x14f480(0x4da)]==='backward'||Ue(_0x58a4a1[_0x14f480(0x379)],_0x58a4a1[_0x14f480(0x1e7)])?_0x14f480(0x650):'bottom-center','offset':[0x0,0x4]},_0x1110d9),'start':_0x58a4a1[_0x14f480(0x2c9)],'end':_0x58a4a1['endOffset']};}};We=W([U(0x1,(0x0,u[_0x2cfc0c(0x584)])(C[_0x2cfc0c(0x285)])),U(0x2,(0x0,u['Inject'])(f[_0x2cfc0c(0x68d)])),U(0x3,(0x0,u['Inject'])(g[_0x2cfc0c(0x2b5)])),U(0x4,(0x0,u[_0x2cfc0c(0x584)])(f['DocSelectionRenderService']))],We);function Ge(_0x166a7b,_0x41818f){const _0x18f00d=_0x2cfc0c;return{'top':0x0,'left':0x0,'width':_0x166a7b,'height':_0x41818f,'borderColor':_0x18f00d(0x392),'outlineColor':_0x18f00d(0x392),'backgroundColor':_0x18f00d(0x392)};}function Ke(_0x276ea2){const _0x1bcffc=_0x2cfc0c;var _0x1d3f13,_0x13e634;let _0x25648a=_0x276ea2==null||(_0x1d3f13=_0x276ea2[_0x1bcffc(0x25e)])==null||(_0x13e634=_0x1d3f13[_0x1bcffc(0x42c)])==null?void 0x0:_0x13e634[_0x1bcffc(0x216)](_0x1d3f13);_0x25648a&&(_0x25648a[_0x1bcffc(0x227)][_0x1bcffc(0x23f)]=_0x1bcffc(0x392));}function qe(_0xec19f5){const _0x4c400c=_0x2cfc0c;let _0x31faf5=g[_0x4c400c(0x535)][_0x4c400c(0x375)],_0x12edf2=g[_0x4c400c(0x535)][_0x4c400c(0x375)]|g[_0x4c400c(0x535)][_0x4c400c(0x418)];return{'keyCodes':[{'keyCode':g[_0x4c400c(0x476)][_0x4c400c(0x4be)]},{'keyCode':g[_0x4c400c(0x476)][_0x4c400c(0x385)]},{'keyCode':g[_0x4c400c(0x476)][_0x4c400c(0x456)]},{'keyCode':g[_0x4c400c(0x476)]['A'],'metaKey':_0x31faf5},{'keyCode':g[_0x4c400c(0x476)]['B'],'metaKey':_0x31faf5},{'keyCode':g[_0x4c400c(0x476)]['I'],'metaKey':_0x31faf5},{'keyCode':g[_0x4c400c(0x476)]['U'],'metaKey':_0x31faf5},{'keyCode':g[_0x4c400c(0x476)]['X'],'metaKey':_0x12edf2},{'keyCode':g[_0x4c400c(0x476)][_0x4c400c(0x569)],'metaKey':_0x31faf5},{'keyCode':g['KeyCode'][_0x4c400c(0x54d)],'metaKey':_0x31faf5},{'keyCode':g['KeyCode']['L'],'metaKey':_0x12edf2},{'keyCode':g[_0x4c400c(0x476)]['R'],'metaKey':_0x12edf2},{'keyCode':g[_0x4c400c(0x476)]['E'],'metaKey':_0x12edf2},{'keyCode':g['KeyCode']['J'],'metaKey':_0x12edf2},{'keyCode':g[_0x4c400c(0x476)]['Digit7'],'metaKey':_0x12edf2},{'keyCode':g['KeyCode'][_0x4c400c(0x519)],'metaKey':_0x12edf2},{'keyCode':g[_0x4c400c(0x476)]['Z'],'metaKey':_0x31faf5},{'keyCode':g['KeyCode']['Y'],'metaKey':_0x31faf5},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x12edf2}],'handler':(_0x67d466,_0x2d9a87)=>{const _0x4b79a8=_0x4c400c;switch(_0x67d466+':'+(_0x2d9a87==null?0x0:_0x2d9a87)){case g[_0x4b79a8(0x476)][_0x4b79a8(0x4be)]+':0':_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x23d)]['id']);break;case g[_0x4b79a8(0x476)][_0x4b79a8(0x385)]+':0':_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x2d5)]['id']);break;case g[_0x4b79a8(0x476)][_0x4b79a8(0x456)]+':0':_0xec19f5['executeCommand'](f[_0x4b79a8(0x4b7)]['id']);break;case g[_0x4b79a8(0x476)]['A']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x582)]['id']);break;case g[_0x4b79a8(0x476)]['B']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x62f)]['id']);break;case g[_0x4b79a8(0x476)]['I']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x210)]['id']);break;case g[_0x4b79a8(0x476)]['U']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x58f)]['id']);break;case g[_0x4b79a8(0x476)]['X']+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](f['SetInlineFormatStrikethroughCommand']['id']);break;case g['KeyCode'][_0x4b79a8(0x569)]+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f['SetInlineFormatSubscriptCommand']['id']);break;case g['KeyCode']['PERIOD']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x45b)]['id']);break;case g['KeyCode']['L']+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x3c6)]['id']);break;case g[_0x4b79a8(0x476)]['R']+':'+_0x12edf2:_0xec19f5['executeCommand'](f[_0x4b79a8(0x3b6)]['id']);break;case g[_0x4b79a8(0x476)]['E']+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x43b)]['id']);break;case g[_0x4b79a8(0x476)]['J']+':'+_0x12edf2:_0xec19f5['executeCommand'](f[_0x4b79a8(0x270)]['id']);break;case g[_0x4b79a8(0x476)][_0x4b79a8(0x5d1)]+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x628)]['id']);break;case g[_0x4b79a8(0x476)][_0x4b79a8(0x519)]+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](f[_0x4b79a8(0x372)]['id']);break;case g['KeyCode']['Z']+':'+_0x31faf5:_0xec19f5[_0x4b79a8(0x245)](u[_0x4b79a8(0x5e2)]['id']);break;case g[_0x4b79a8(0x476)]['Y']+':'+_0x31faf5:case g[_0x4b79a8(0x476)]['Z']+':'+_0x12edf2:_0xec19f5[_0x4b79a8(0x245)](u[_0x4b79a8(0x498)]['id']);break;}}};}const Je=function(_0x2fa7c4){const _0xa98c4b=_0x2cfc0c;let {containerWidth:_0x48e9d8,containerHeight:_0x43472a,scaleX:_0x4f3057,scaleY:_0x85378e}=_0x2fa7c4,_0x1e9c1b=_0x4f3057||0x1,_0x5e9c4d=_0x85378e||0x1,_0x107518=(0x0,g[_0xa98c4b(0x1b6)])(R),_0x2176c4=(0x0,g[_0xa98c4b(0x1b6)])(f[_0xa98c4b(0x6ac)]),_0x385b2d=(0x0,g['useDependency'])(p[_0xa98c4b(0x604)]),_0x436926=(0x0,g[_0xa98c4b(0x1b6)])(u[_0xa98c4b(0x57a)]),_0x3e1d3c=(0x0,g['useDependency'])(m[_0xa98c4b(0x2e2)]),_0x41e4b1=(0x0,g[_0xa98c4b(0x1b6)])(l[_0xa98c4b(0x353)]),_0x2dd2fe=(0x0,g[_0xa98c4b(0x1b6)])(u['ICommandService']),_0x33873d=(0x0,g[_0xa98c4b(0x391)])(_0x107518[_0xa98c4b(0x468)]),_0x5b783b=(0x0,g[_0xa98c4b(0x391)])(_0x107518['onSavingEditorData$']),_0x4c06d4=(0x0,y[_0xa98c4b(0x22e)])(null),_0x40b7ee=(0x0,y[_0xa98c4b(0x22e)])(null),_0x18b45d=(0x0,y[_0xa98c4b(0x22e)])(null),_0x27d97e=(0x0,y[_0xa98c4b(0x22e)])(null),_0x524eb4=(0x0,y['useRef'])(null),_0x4c2c30=(0x0,y[_0xa98c4b(0x22e)])(null),[,_0x2bbd7d]=(0x0,y[_0xa98c4b(0x4e5)])({'editorHeight':_0x43472a,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x22908b=(0x0,y['useCallback'])(_0x524edd=>{queueMicrotask(()=>{_0x2bbd7d(_0x524edd);});},[]),_0x4611fb=(0x0,y['useCallback'])(()=>_0x436926[_0xa98c4b(0x3f0)](P,u[_0xa98c4b(0x5f0)][_0xa98c4b(0x41a)]),[_0x436926]),_0x39c8eb=(0x0,y[_0xa98c4b(0x580)])(()=>{const _0x453935=_0xa98c4b;var _0x3f9382;let _0x19278a=_0x1e9c1b,_0x19bda0=_0x5e9c4d;if(!_0x33873d)return{'scaleAdjust':0x1,'renderScaleX':_0x19278a,'renderScaleY':_0x19bda0};let _0x8c32cf=_0x385b2d[_0x453935(0x4c6)](_0x33873d['unitId']),_0x146825=_0x8c32cf==null?void 0x0:_0x8c32cf['scene'][_0x453935(0x451)](),_0x28acc5=_0x8c32cf==null?void 0x0:_0x8c32cf[_0x453935(0x25e)][_0x453935(0x42c)](),_0x3c95b7=_0x28acc5?Number['parseFloat'](_0x28acc5['style'][_0x453935(0x651)]||''):0x0,_0x56da1a=(_0x3f9382=_0x28acc5==null?void 0x0:_0x28acc5[_0x453935(0x3b9)]()['width'])==null?0x0:_0x3f9382,_0x4224cc=_0x3c95b7>0x0&&_0x56da1a>0x0?_0x56da1a/_0x3c95b7:0x1;return{'scaleAdjust':Number[_0x453935(0x5ef)](_0x4224cc)&&_0x4224cc>0x0?_0x4224cc:0x1,'renderScaleX':(_0x146825==null?void 0x0:_0x146825[_0x453935(0x47f)])||_0x19278a,'renderScaleY':(_0x146825==null?void 0x0:_0x146825['scaleY'])||_0x19bda0};},[_0x1e9c1b,_0x5e9c4d,_0x33873d,_0x385b2d]),_0x3722be=(0x0,y['useCallback'])(()=>{const _0x363d03=_0xa98c4b;if(!_0x33873d)return{'left':0x0,'top':0x0,'width':_0x48e9d8/_0x1e9c1b,'height':_0x43472a/_0x5e9c4d};let {unitId:_0x40cbc6,subUnitId:_0x7b46fa,shapeId:_0xc2dc30}=_0x33873d,_0xa7ecc4=_0x41e4b1[_0x363d03(0x4a8)](_0x40cbc6,_0x7b46fa,_0xc2dc30);if(!_0xa7ecc4)return{'left':0x0,'top':0x0,'width':_0x48e9d8/_0x1e9c1b,'height':_0x43472a/_0x5e9c4d};let _0x42bc45={'left':0x0,'top':0x0,'width':_0x48e9d8/_0x1e9c1b,'height':_0x43472a/_0x5e9c4d};return _0xa7ecc4[_0x363d03(0x19e)](_0x42bc45);},[_0x33873d,_0x48e9d8,_0x43472a,_0x1e9c1b,_0x5e9c4d,_0x41e4b1]),_0x25668f=(0x0,y['useCallback'])(()=>{const _0x550df6=_0xa98c4b;if(!_0x33873d)return null;let {unitId:_0x1a89a7,subUnitId:_0x366144,shapeId:_0x105d5c}=_0x33873d,_0x1d9b97=_0x41e4b1['getShapeModel'](_0x1a89a7,_0x366144,_0x105d5c);if(!_0x1d9b97)return null;let _0x4519e8=_0x1d9b97[_0x550df6(0x692)]();if(!_0x4519e8)return null;let _0x80e8c6={'unitId':_0x1a89a7,'subUnitId':_0x366144,'drawingId':_0x105d5c},_0x303283=_0x3e1d3c[_0x550df6(0x30a)](_0x80e8c6),_0x48eb7e={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x303283&&_0x303283[_0x550df6(0x58a)]&&(_0x48eb7e=_0x303283[_0x550df6(0x58a)]);let _0xf9865c={'left':0x0,'top':0x0,'width':_0x48e9d8/_0x1e9c1b,'height':_0x43472a/_0x5e9c4d},_0x558a23=_0x1d9b97[_0x550df6(0x19e)](_0xf9865c),_0x4da916,_0x5092cb=u[_0x550df6(0x3e4)][_0x550df6(0x1bd)],_0x45d979=u[_0x550df6(0x3d1)][_0x550df6(0x271)];if('dataModel'in _0x4519e8&&_0x4519e8[_0x550df6(0x2fd)]){var _0x4d0c35,_0x371575;let _0x20ffb2=_0x4519e8['dataModel'];_0x20ffb2!=null&&_0x20ffb2[_0x550df6(0x6a2)]&&(_0x4da916=_0x20ffb2[_0x550df6(0x6a2)]),_0x5092cb=(_0x4d0c35=_0x20ffb2==null?void 0x0:_0x20ffb2['va'])==null?u[_0x550df6(0x3e4)][_0x550df6(0x1bd)]:_0x4d0c35,_0x45d979=(_0x371575=_0x20ffb2==null?void 0x0:_0x20ffb2['ha'])==null?u[_0x550df6(0x3d1)]['LEFT']:_0x371575;}return{'doc':_0x4da916,'verticalAlign':_0x5092cb,'horizontalAlign':_0x45d979,'textRect':_0x558a23,'transform':_0x48eb7e,'isHorizontal':_0x4519e8[_0x550df6(0x59b)]};},[_0x33873d,_0x41e4b1,_0x3e1d3c,_0x48e9d8,_0x43472a,_0x1e9c1b,_0x5e9c4d]),_0x5bb8fc=(0x0,y[_0xa98c4b(0x34f)])(()=>{const _0x5a1c6b=_0xa98c4b;let _0x234bba=_0x25668f();return _0x234bba!=null&&_0x234bba[_0x5a1c6b(0x6a2)]?V(_0x234bba[_0x5a1c6b(0x6a2)],{'isHorizontal':!0x0,'textRect':_0x234bba[_0x5a1c6b(0x459)],'verticalAlign':_0x234bba[_0x5a1c6b(0x3bd)],'horizontalAlign':_0x234bba['horizontalAlign']}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x48e9d8/_0x1e9c1b,'height':0x1/0x0}}};},[_0x25668f,_0x48e9d8,_0x1e9c1b]),_0x2cb614=(0x0,f['useEditor'])({'editorId':P,'initialValue':_0x5bb8fc,'container':_0x40b7ee,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,y['useEffect'])(()=>{const _0x1b6a6c=_0xa98c4b;_0x2cb614&&Ke(_0x385b2d[_0x1b6a6c(0x4c6)](P));},[_0x2cb614,_0x385b2d]);let _0x2061ae=(0x0,f[_0xa98c4b(0x6b3)])(P);(0x0,f[_0xa98c4b(0x61a)])(_0x2061ae,(0x0,y['useMemo'])(()=>qe(_0x2dd2fe),[_0x2dd2fe]),_0x2cb614),(0x0,f[_0xa98c4b(0x3c1)])(_0x2061ae,!0x1,_0x2cb614);let _0x3dad93=(0x0,y['useCallback'])((_0x176d87=!0x0)=>{const _0x2af863=_0xa98c4b;var _0x399569,_0x52a885,_0x367c2f;if(!_0x2cb614)return;let _0x33f9bb=_0x2cb614[_0x2af863(0x438)]()[_0x2af863(0x483)](_0x2caac7=>_0x2caac7[_0x2af863(0x311)]),_0x47ae11=((_0x399569=(_0x52a885=_0x2cb614['getDocumentData']()[_0x2af863(0x278)])==null?void 0x0:_0x52a885['dataStream'][_0x2af863(0x2df)])==null?0x2:_0x399569)-0x2,_0x224821=(_0x367c2f=_0x33f9bb==null?void 0x0:_0x33f9bb['startOffset'])==null?_0x176d87?_0x47ae11:null:_0x367c2f;_0x224821!==null&&_0x2cb614['setSelectionRanges']([{'startOffset':_0x224821,'endOffset':_0x224821}],!0x1);},[_0x2cb614]),_0x139893=(0x0,y[_0xa98c4b(0x580)])(()=>{const _0x4349ef=_0xa98c4b;_0x524eb4[_0x4349ef(0x55a)]!==null&&(cancelAnimationFrame(_0x524eb4['current']),_0x524eb4[_0x4349ef(0x55a)]=null),_0x4c2c30[_0x4349ef(0x55a)]!==null&&(window['clearTimeout'](_0x4c2c30[_0x4349ef(0x55a)]),_0x4c2c30[_0x4349ef(0x55a)]=null);},[]),_0x5d9a7c=(0x0,y[_0xa98c4b(0x580)])(()=>{const _0x2f2783=_0xa98c4b;var _0x105e1b,_0x782464,_0x3c5dcc;if(!_0x2cb614)return;let _0x41c1c3=_0x385b2d[_0x2f2783(0x4c6)](P),_0x408371=_0x41c1c3==null?void 0x0:_0x41c1c3['with'](C[_0x2f2783(0x589)]);if(!_0x408371)return;let _0x55a03e=_0x408371[_0x2f2783(0x374)](),_0x2ac498=_0x4611fb(),{renderScaleX:_0x3f30f9,renderScaleY:_0x8f7159,scaleAdjust:_0xcaf746}=_0x39c8eb(),_0x1f14bc=_0x25668f(),_0x2c5796=(_0x105e1b=_0x1f14bc==null?void 0x0:_0x1f14bc['verticalAlign'])==null?u[_0x2f2783(0x3e4)][_0x2f2783(0x1bd)]:_0x105e1b,_0x163db8=(_0x782464=_0x1f14bc==null?void 0x0:_0x1f14bc['horizontalAlign'])==null?u[_0x2f2783(0x3d1)]['LEFT']:_0x782464,_0x5af572=(_0x3c5dcc=_0x3722be())==null?{'left':0x0,'top':0x0,'width':_0x48e9d8/_0x1e9c1b,'height':_0x43472a/_0x5e9c4d}:_0x3c5dcc,_0x2b2575=_0x48e9d8/_0x1e9c1b,_0x5d88b2=_0x43472a/_0x5e9c4d;_0x2ac498&&(_0x2ac498[_0x2f2783(0x2d3)](Math['max'](_0x3f30f9,_0x8f7159)),_0x2ac498[_0x2f2783(0x465)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5af572['width'],'height':0x1/0x0}}),_0x2ac498[_0x2f2783(0x2f5)]({'verticalAlign':_0x2c5796,'horizontalAlign':_0x163db8,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u[_0x2f2783(0x208)][_0x2f2783(0x57c)]})),_0x55a03e[_0x2f2783(0x19f)]();let {actualHeight:_0x420160}=_0x55a03e[_0x2f2783(0x592)](),_0x309c3b=_0x5af572['height'],_0x22d916=0x0;if(_0x420160<=_0x309c3b)_0x2c5796===u[_0x2f2783(0x3e4)][_0x2f2783(0x634)]?_0x22d916=(_0x309c3b-_0x420160)/0x2:_0x2c5796===u[_0x2f2783(0x3e4)][_0x2f2783(0x1ac)]&&(_0x22d916=_0x309c3b-_0x420160),_0x22908b({'editorHeight':_0x5af572[_0x2f2783(0x413)]*_0x5e9c4d,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0xfc3234=0x0;_0x2c5796===u[_0x2f2783(0x3e4)][_0x2f2783(0x634)]?_0xfc3234=(_0x309c3b-_0x420160)/0x2:_0x2c5796===u[_0x2f2783(0x3e4)][_0x2f2783(0x1ac)]&&(_0xfc3234=_0x309c3b-_0x420160),_0x22d916=0x0,_0x22908b({'editorHeight':_0x420160*_0x5e9c4d,'marginTop':_0xfc3234*_0x5e9c4d,'useAbsolutePosition':!0x0});}if(_0x2ac498){let _0x5982e7=Math[_0x2f2783(0x541)](0x0,_0x5af572[_0x2f2783(0x5dd)]),_0x794b37=Math['max'](0x0,_0x5af572['top']+_0x22d916);_0x2ac498[_0x2f2783(0x465)]({'marginLeft':_0x5982e7,'marginRight':Math['max'](0x0,_0x2b2575-_0x5af572['left']-_0x5af572[_0x2f2783(0x651)]),'marginBottom':Math[_0x2f2783(0x541)](0x0,_0x5d88b2-_0x5af572[_0x2f2783(0x5af)]-_0x5af572[_0x2f2783(0x413)]),'pageSize':{'width':_0x2b2575,'height':_0x5d88b2}}),_0x2ac498[_0x2f2783(0x4af)]({'t':_0x794b37}),_0x55a03e['calculate']();}if(_0x41c1c3){let _0x523097=_0x48e9d8,_0x25f3f4=_0x43472a;_0x41c1c3[_0x2f2783(0x43a)][_0x2f2783(0x4c9)]({'width':_0x523097*_0xcaf746/_0x3f30f9,'height':_0x25f3f4*_0xcaf746/_0x8f7159,'scaleX':_0x3f30f9*_0xcaf746,'scaleY':_0x8f7159*_0xcaf746}),_0x41c1c3[_0x2f2783(0x5b1)]&&_0x41c1c3['mainComponent']['resize'](_0x523097*_0xcaf746/_0x3f30f9,_0x25f3f4*_0xcaf746/_0x8f7159);}},[_0x2cb614,_0x385b2d,_0x4611fb,_0x39c8eb,_0x25668f,_0x3722be,_0x48e9d8,_0x43472a,_0x1e9c1b,_0x5e9c4d,_0x22908b]),_0x2a991b=(0x0,y[_0xa98c4b(0x580)])((_0x50363b=!0x1)=>{_0x139893(),_0x524eb4['current']=requestAnimationFrame(()=>{const _0x567550=_0x49eb;_0x5d9a7c(),_0x50363b&&_0x3dad93(!0x1),_0x524eb4[_0x567550(0x55a)]=null,_0x4c2c30[_0x567550(0x55a)]=window[_0x567550(0x225)](()=>{const _0x318f8e=_0x567550;_0x5d9a7c(),_0x50363b&&_0x3dad93(!0x1),_0x4c2c30[_0x318f8e(0x55a)]=null;},0x14);});},[_0x5d9a7c,_0x139893,_0x3dad93]);(0x0,y[_0xa98c4b(0x60c)])(()=>{const _0x26fe5e=_0xa98c4b;if(!_0x2cb614||!_0x33873d)return;let {shapeId:_0x332fd5,unitId:_0x64c854}=_0x33873d;if(_0x5b783b){var _0x5e0a11,_0x122b56,_0x38a580,_0x51b469;let _0x4af973=te(_0x2cb614[_0x26fe5e(0x629)]()),_0xf14b53=_0x25668f(),_0x46fb28={'va':(_0x5e0a11=_0xf14b53==null?void 0x0:_0xf14b53[_0x26fe5e(0x3bd)])==null?u[_0x26fe5e(0x3e4)][_0x26fe5e(0x1bd)]:_0x5e0a11,'ha':(_0x122b56=_0xf14b53==null?void 0x0:_0xf14b53['horizontalAlign'])==null?u[_0x26fe5e(0x3d1)][_0x26fe5e(0x271)]:_0x122b56,'doc':_0x4af973};_0x2dd2fe[_0x26fe5e(0x245)](l[_0x26fe5e(0x5eb)]['id'],{'unitId':_0x64c854,'shapeId':_0x332fd5,'shapeData':{'shapeText':{'isHorizontal':(_0x38a580=_0xf14b53==null?void 0x0:_0xf14b53['isHorizontal'])==null?!0x0:_0x38a580,'dataModel':_0x46fb28}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x51b469=_0xf14b53==null?void 0x0:_0xf14b53['isHorizontal'])==null?!0x0:_0x51b469,'dataModel':_0x18b45d['current']}}}});return;}let _0x361b79=_0x25668f();if(_0x361b79!=null&&_0x361b79[_0x26fe5e(0x6a2)]){_0x18b45d[_0x26fe5e(0x55a)]={'va':_0x361b79[_0x26fe5e(0x3bd)],'ha':_0x361b79[_0x26fe5e(0x371)],'doc':u[_0x26fe5e(0x1c7)][_0x26fe5e(0x3d6)](_0x361b79[_0x26fe5e(0x6a2)])};let _0x41d589=V(_0x361b79['doc'],{'isHorizontal':!0x0,'textRect':_0x361b79['textRect'],'verticalAlign':_0x361b79[_0x26fe5e(0x3bd)],'horizontalAlign':_0x361b79['horizontalAlign']});return _0x2cb614['setDocumentData'](_0x41d589,null),()=>{const _0x1eb126=_0x26fe5e;var _0x14c8df,_0x596c09,_0x1865ec,_0x56d04a;let _0x49f9dc=te(_0x2cb614[_0x1eb126(0x629)]()),_0x1a6bac=_0x25668f(),_0xd8f773={'va':(_0x14c8df=_0x1a6bac==null?void 0x0:_0x1a6bac['verticalAlign'])==null?u[_0x1eb126(0x3e4)][_0x1eb126(0x1bd)]:_0x14c8df,'ha':(_0x596c09=_0x1a6bac==null?void 0x0:_0x1a6bac[_0x1eb126(0x371)])==null?u[_0x1eb126(0x3d1)][_0x1eb126(0x271)]:_0x596c09,'doc':_0x49f9dc};_0x2dd2fe[_0x1eb126(0x245)](l[_0x1eb126(0x5eb)]['id'],{'unitId':_0x64c854,'shapeId':_0x332fd5,'shapeData':{'shapeText':{'isHorizontal':(_0x1865ec=_0x1a6bac==null?void 0x0:_0x1a6bac['isHorizontal'])==null?!0x0:_0x1865ec,'dataModel':_0xd8f773}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x56d04a=_0x1a6bac==null?void 0x0:_0x1a6bac[_0x1eb126(0x59b)])==null?!0x0:_0x56d04a,'dataModel':_0x18b45d[_0x1eb126(0x55a)]}}}});};}else _0x2cb614['setDocumentData'](_0x5bb8fc,null);},[_0x2cb614,_0x33873d,_0x5b783b]),(0x0,y[_0xa98c4b(0x60c)])(()=>{const _0x446a89=_0xa98c4b;if(!(!_0x2cb614||!_0x33873d))return _0x2176c4[_0x446a89(0x4a1)](!0x0),_0x5d9a7c(),_0x27d97e[_0x446a89(0x55a)]=requestAnimationFrame(()=>{const _0x1e1ed8=_0x446a89;_0x2176c4[_0x1e1ed8(0x623)](P),_0x3dad93(),_0x2a991b(),_0x27d97e[_0x1e1ed8(0x55a)]=null;}),()=>{const _0x371536=_0x446a89;_0x27d97e[_0x371536(0x55a)]!==null&&(cancelAnimationFrame(_0x27d97e[_0x371536(0x55a)]),_0x27d97e[_0x371536(0x55a)]=null),_0x139893(),_0x2176c4['blur'](!0x0);};},[_0x2cb614,_0x33873d,_0x2176c4,_0x5d9a7c,_0x3dad93,_0x2a991b,_0x139893]),(0x0,y['useEffect'])(()=>{const _0x1a56b0=_0xa98c4b;if(!_0x2cb614)return;let _0xb9cdbc=_0x2dd2fe[_0x1a56b0(0x664)](_0x1e3849=>{const _0x5c1fb2=_0x1a56b0;_0x1e3849['id']===C['RichTextEditingMutation']['id']&&_0x1e3849[_0x5c1fb2(0x66e)]['unitId']===P&&_0x33873d&&(_0x33873d[_0x5c1fb2(0x63c)]?_0x5d9a7c():_0x107518['setEditing']({..._0x33873d,'visible':!0x0}));});return()=>{_0xb9cdbc['dispose']();};},[_0x2cb614,_0x5d9a7c,_0x33873d,_0x2a991b,_0x107518]),(0x0,y['useEffect'])(()=>(_0x5d9a7c(),_0x2a991b(),()=>{_0x139893();}),[_0x5d9a7c,_0x2a991b,_0x139893]);let _0xb16423=(0x0,y[_0xa98c4b(0x34f)])(()=>Ge(_0x48e9d8,_0x43472a),[_0x48e9d8,_0x43472a]),_0x57f7c5=(0x0,y[_0xa98c4b(0x34f)])(()=>{let _0x48e71d=_0x25668f(),_0x5587bd=_0x48e71d==null?void 0x0:_0x48e71d['transform'];return _0x5587bd&&_0x5587bd||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x25668f]);return(0x0,x['jsx'])(_0xa98c4b(0x4c3),{'ref':_0x4c06d4,'data-u-comp':_0xa98c4b(0x202),'className':_0xa98c4b(0x3d0),'style':{'transform':_0xa98c4b(0x587)+_0x57f7c5[_0xa98c4b(0x4b2)]+_0xa98c4b(0x5df)+(_0x57f7c5['flipY']?-0x1:0x1)+')'},'children':(0x0,x['jsx'])('div',{'ref':_0x40b7ee,'className':_0xa98c4b(0x1c0),'data-u-comp':_0xa98c4b(0x681),'style':_0xb16423,'data-editorid':P})});};Je[_0x2cfc0c(0x52f)]=_0x2cfc0c(0x246);const Ye={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Xe(_0x3012b6,_0x14a86f,_0x808c8e,_0x2a5a1a,_0xc8577d,_0x582c22){const _0x458c24=_0x2cfc0c;var _0x326bed,_0x3b1098;let {scaleX:_0x17c0bf,scaleY:_0x1be2da}=_0x582c22['getAncestorScale'](),_0x3916af=_0x582c22['getViewport'](f[_0x458c24(0x521)][_0x458c24(0x288)]),_0x429736=(_0x326bed=_0x3916af==null?void 0x0:_0x3916af[_0x458c24(0x6a5)])==null?0x0:_0x326bed,_0x834b7b=(_0x3b1098=_0x3916af==null?void 0x0:_0x3916af[_0x458c24(0x52e)])==null?0x0:_0x3b1098;return{'left':(_0x3012b6-_0x429736)*_0x17c0bf,'top':(_0x14a86f-_0x834b7b)*_0x1be2da,'width':_0x808c8e*_0x17c0bf,'height':_0x2a5a1a*_0x1be2da,'angle':_0xc8577d,'scaleX':_0x17c0bf,'scaleY':_0x1be2da};}function Ze(_0x1f6486){const _0x2a3f97=_0x2cfc0c;let {editingParams:_0x5f5a71,scene:_0x279b62,getShapeTransform:_0x5a1a70}=_0x1f6486,[_0x5a2c6b,_0x2616c4]=(0x0,y['useState'])(Ye),_0x4805e4=(0x0,y[_0x2a3f97(0x22e)])(_0x5a2c6b);_0x4805e4[_0x2a3f97(0x55a)]=_0x5a2c6b;let _0x2631ed=(0x0,y[_0x2a3f97(0x580)])(()=>{const _0x512dda=_0x2a3f97;if(!_0x5f5a71||!_0x279b62){_0x4805e4[_0x512dda(0x55a)]!==Ye&&_0x2616c4(Ye);return;}let _0x34a6c2=_0x5a1a70();if(!_0x34a6c2){_0x4805e4[_0x512dda(0x55a)]!==Ye&&_0x2616c4(Ye);return;}let {left:_0x257d67,top:_0x24be8a,width:_0x5bf44b,height:_0x562ef6,angle:_0x542109}=_0x34a6c2,{scaleX:_0x2484aa,scaleY:_0x39fbda}=_0x279b62[_0x512dda(0x451)]();if(!_0x5f5a71['visible']){_0x2616c4({'left':-0x270f,'top':-0x270f,'width':_0x5bf44b*_0x2484aa,'height':_0x562ef6*_0x39fbda,'angle':0x0,'scaleX':_0x2484aa,'scaleY':_0x39fbda});return;}_0x2616c4(Xe(_0x257d67,_0x24be8a,_0x5bf44b,_0x562ef6,_0x542109,_0x279b62));},[_0x5f5a71,_0x279b62,_0x5a1a70]);return(0x0,y[_0x2a3f97(0x60c)])(()=>{_0x2631ed();},[_0x5f5a71,_0x2631ed]),{'position':_0x5a2c6b,'updatePosition':_0x2631ed};}const Qe=(0x0,y[_0x2cfc0c(0x329)])(_0x306367=>{const _0x2f4e14=_0x2cfc0c;let {children:_0x1ce8b1,onPositionUpdate:_0xf7ec03}=_0x306367,_0x36abe4=(0x0,y['useRef'])(null),_0x3224e4=(0x0,g[_0x2f4e14(0x1b6)])(R),_0x36dd69=(0x0,g[_0x2f4e14(0x1b6)])(p[_0x2f4e14(0x604)]),_0xa571=(0x0,g[_0x2f4e14(0x391)])(_0x3224e4['editingParams$']),_0xab60d3=(0x0,y[_0x2f4e14(0x34f)])(()=>_0xa571?_0x36dd69[_0x2f4e14(0x4c6)](_0xa571[_0x2f4e14(0x2c2)]):null,[_0xa571,_0x36dd69]),_0xd0c39a=(0x0,y[_0x2f4e14(0x34f)])(()=>{const _0x476de4=_0x2f4e14;var _0x183c55;return(_0x183c55=_0xab60d3==null?void 0x0:_0xab60d3[_0x476de4(0x43a)])==null?null:_0x183c55;},[_0xab60d3]),{position:_0x5f0b0e,updatePosition:_0xf6a85e}=Ze({'editingParams':_0xa571,'scene':_0xd0c39a,'getShapeTransform':(0x0,y[_0x2f4e14(0x580)])(()=>{const _0x577beb=_0x2f4e14;if(!_0xa571||!_0xd0c39a)return null;let _0x2c393b=_0xa571[_0x577beb(0x36e)],_0x21b050=_0xd0c39a[_0x577beb(0x3b3)](_0x2c393b);return _0x21b050 instanceof H?{'left':_0x21b050['left'],'top':_0x21b050['top'],'width':_0x21b050[_0x577beb(0x651)],'height':_0x21b050[_0x577beb(0x413)],'angle':_0x21b050[_0x577beb(0x4b2)]}:null;},[_0xa571,_0xd0c39a])}),_0x2dce1e=(0x0,y[_0x2f4e14(0x580)])(()=>{const _0x755c37=_0x2f4e14;let _0x4363bd=_0x36abe4[_0x755c37(0x55a)];_0x4363bd&&(_0x4363bd[_0x755c37(0x227)][_0x755c37(0x5dd)]=_0x5f0b0e[_0x755c37(0x5dd)]+'px',_0x4363bd[_0x755c37(0x227)][_0x755c37(0x5af)]=_0x5f0b0e[_0x755c37(0x5af)]+'px',_0x4363bd[_0x755c37(0x227)][_0x755c37(0x651)]=_0x5f0b0e[_0x755c37(0x651)]+'px',_0x4363bd['style'][_0x755c37(0x413)]=_0x5f0b0e[_0x755c37(0x413)]+'px');},[_0x5f0b0e]);return(0x0,y[_0x2f4e14(0x60c)])(()=>{const _0x14d321=_0x2f4e14;_0x2dce1e(),_0xf7ec03==null||_0xf7ec03({'width':_0x5f0b0e[_0x14d321(0x651)],'height':_0x5f0b0e[_0x14d321(0x413)],'scaleX':_0x5f0b0e[_0x14d321(0x47f)],'scaleY':_0x5f0b0e['scaleY']});},[_0x5f0b0e,_0x2dce1e,_0xf7ec03]),(0x0,y[_0x2f4e14(0x60c)])(()=>{const _0x2afa66=_0x2f4e14;if(!_0xd0c39a)return;let _0x259317=_0xd0c39a['getViewport'](f['VIEWPORT_KEY']['VIEW_MAIN']);if(!_0x259317)return;let _0x502e23=_0x259317[_0x2afa66(0x37d)][_0x2afa66(0x325)](()=>{_0xf6a85e();});return()=>{const _0x31b339=_0x2afa66;_0x502e23[_0x31b339(0x1be)]();};},[_0xd0c39a,_0xf6a85e]),(0x0,y[_0x2f4e14(0x60c)])(()=>{const _0xfdea4a=_0x2f4e14;if(!_0xa571||!_0xd0c39a)return;let _0x1240b4=_0xa571['shapeKey'],_0x414008=_0xd0c39a[_0xfdea4a(0x3b3)](_0x1240b4);if(_0x414008 instanceof H){let _0x2c4cd9=_0x414008[_0xfdea4a(0x405)]['subscribeEvent'](()=>{_0xf6a85e();});return()=>{const _0x407b8c=_0xfdea4a;_0x2c4cd9[_0x407b8c(0x1be)]();};}},[_0xa571,_0xd0c39a,_0xf6a85e]),(0x0,x[_0x2f4e14(0x338)])(_0x2f4e14(0x4c3),{'ref':_0x36abe4,'data-u-comp':_0x2f4e14(0x6ba),'className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':(0x0,y[_0x2f4e14(0x34f)])(()=>({'left':_0x5f0b0e[_0x2f4e14(0x5dd)],'top':_0x5f0b0e[_0x2f4e14(0x5af)],'width':_0x5f0b0e[_0x2f4e14(0x651)],'height':_0x5f0b0e[_0x2f4e14(0x413)],'pointerEvents':_0xa571!=null&&_0xa571[_0x2f4e14(0x63c)]?_0x2f4e14(0x1cc):'none'}),[_0x5f0b0e,_0xa571==null?void 0x0:_0xa571[_0x2f4e14(0x63c)]]),'children':_0x1ce8b1});});Qe['displayName']=_0x2cfc0c(0x69a);const $e=(0x0,y[_0x2cfc0c(0x329)])(()=>{const _0x2867c7=_0x2cfc0c;let _0x3eb133=(0x0,g[_0x2867c7(0x391)])((0x0,g[_0x2867c7(0x1b6)])(R)[_0x2867c7(0x468)]),[_0x166e5c,_0x25ace1]=(0x0,y[_0x2867c7(0x4e5)])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x30df7e=(0x0,y[_0x2867c7(0x580)])(_0x3504ff=>{const _0x54b55f=_0x2867c7;_0x25ace1({'width':_0x3504ff['width'],'height':_0x3504ff[_0x54b55f(0x413)],'scaleX':_0x3504ff[_0x54b55f(0x47f)],'scaleY':_0x3504ff[_0x54b55f(0x26f)]});},[]);return _0x3eb133!=null&&_0x3eb133[_0x2867c7(0x63c)]?(0x0,x['jsx'])(Qe,{'onPositionUpdate':_0x30df7e,'children':(0x0,x[_0x2867c7(0x338)])(Je,{'containerWidth':_0x166e5c[_0x2867c7(0x651)],'containerHeight':_0x166e5c[_0x2867c7(0x413)],'scaleX':_0x166e5c['scaleX'],'scaleY':_0x166e5c[_0x2867c7(0x26f)]})}):null;});$e[_0x2cfc0c(0x52f)]=_0x2cfc0c(0x3b8);let et=class extends u[_0x2cfc0c(0x5bc)]{constructor(_0x189f76=Pe,_0x50e3d7,_0x3f3fdf,_0x42d07f,_0x1d4d9f){const _0x2add80=_0x2cfc0c;super(),this[_0x2add80(0x280)]=_0x189f76,this[_0x2add80(0x434)]=_0x50e3d7,this[_0x2add80(0x3c9)]=_0x3f3fdf,this['_configService']=_0x42d07f,this['_renderManagerService']=_0x1d4d9f;let {menu:_0x941ee3,..._0x2b003d}=(0x0,u['merge'])({},Pe,this['_config']);_0x941ee3&&this['_configService'][_0x2add80(0x1d0)](_0x2add80(0x1ef),_0x941ee3,{'merge':!0x0}),this[_0x2add80(0x652)][_0x2add80(0x1d0)](Ne,_0x2b003d),this['_initCommands']();}['onStarting'](){const _0x148fed=_0x2cfc0c;let _0x19c2ad=this[_0x148fed(0x434)];_0x19c2ad['get'](g['ComponentManager'])[_0x148fed(0x390)](_0x148fed(0x3b8),$e),this[_0x148fed(0x3ec)](_0x19c2ad['get'](g[_0x148fed(0x4f4)])[_0x148fed(0x4dc)](g['BuiltInUIPart'][_0x148fed(0x380)],()=>(0x0,g[_0x148fed(0x436)])($e,_0x19c2ad))),[[Ae],[K],[G],[Ie],[ye],[R]][_0x148fed(0x2bc)](_0x47fff7=>_0x19c2ad[_0x148fed(0x307)](_0x47fff7));}['onReady'](){const _0x572c4e=_0x2cfc0c;this['_renderManagerService'][_0x572c4e(0x425)](u['UniverInstanceType'][_0x572c4e(0x41a)],[Ie]),this['_renderManagerService']['registerRenderModule'](u[_0x572c4e(0x5f0)][_0x572c4e(0x41a)],[ze]),this[_0x572c4e(0x593)][_0x572c4e(0x425)](u[_0x572c4e(0x5f0)]['UNIVER_DOC'],[We]),(0x0,u['touchDependencies'])(this[_0x572c4e(0x434)],[[Ae],[K],[G],[ye],[R]]);}[_0x2cfc0c(0x4ac)](){const _0x2bc04d=_0x2cfc0c;[A,j,M][_0x2bc04d(0x2bc)](_0x483729=>this[_0x2bc04d(0x3ec)](this[_0x2bc04d(0x3c9)][_0x2bc04d(0x6a7)](_0x483729)));}};L(et,_0x2cfc0c(0x571),u[_0x2cfc0c(0x5f0)][_0x2cfc0c(0x41a)]),L(et,_0x2cfc0c(0x4d9),_0x2cfc0c(0x279)),L(et,_0x2cfc0c(0x193),je),L(et,_0x2cfc0c(0x1f2),Me),et=W([(0x0,u['DependentOn'])(S[_0x2cfc0c(0x2eb)],d[_0x2cfc0c(0x684)],l[_0x2cfc0c(0x2e9)]),U(0x1,(0x0,u[_0x2cfc0c(0x584)])(u['Injector'])),U(0x2,u[_0x2cfc0c(0x1d1)]),U(0x3,u['IConfigService']),U(0x4,p[_0x2cfc0c(0x604)])],et),exports[_0x2cfc0c(0x34e)]=j,Object[_0x2cfc0c(0x428)](exports,'DocsShapeUIController',{'enumerable':!0x0,'get':function(){return Ae;}}),exports[_0x2cfc0c(0x577)]=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x2cfc0c(0x428)](exports,_0x2cfc0c(0x2d2),{'enumerable':!0x0,'get':function(){return et;}});