@univerjs-pro/sheets-shape-ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +5 -0
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
- package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
- package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +19 -0
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +6 -0
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +10 -0
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +10 -0
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +2 -0
- package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
- package/lib/types/view-model/drawing-shape.d.ts +2 -0
- package/lib/types/view-model/shape-data-model.d.ts +8 -0
- package/lib/types/views/ShapeOptions.d.ts +26 -0
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
- package/lib/types/views/shapes.d.ts +58 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x592e(_0x53be91,_0x38361a){_0x53be91=_0x53be91-0x1b1;const _0x3ceeb9=_0x3cee();let _0x592e0c=_0x3ceeb9[_0x53be91];return _0x592e0c;}(function(_0x26fd0d,_0x30c178){const _0x33ad9d=_0x592e,_0x4c99f6=_0x26fd0d();while(!![]){try{const _0x2b7720=parseInt(_0x33ad9d(0x385))/0x1+parseInt(_0x33ad9d(0x3ec))/0x2+parseInt(_0x33ad9d(0x3b6))/0x3*(parseInt(_0x33ad9d(0x559))/0x4)+-parseInt(_0x33ad9d(0x2c1))/0x5+parseInt(_0x33ad9d(0x4f4))/0x6+-parseInt(_0x33ad9d(0x540))/0x7*(parseInt(_0x33ad9d(0x472))/0x8)+parseInt(_0x33ad9d(0x29e))/0x9*(-parseInt(_0x33ad9d(0x406))/0xa);if(_0x2b7720===_0x30c178)break;else _0x4c99f6['push'](_0x4c99f6['shift']());}catch(_0x4c19d2){_0x4c99f6['push'](_0x4c99f6['shift']());}}}(_0x3cee,0xc4f69),function(_0x151d9d,_0x185020){const _0x391b05=_0x592e;typeof exports==_0x391b05(0x220)&&typeof module<'u'?_0x185020(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x391b05(0x296)&&define[_0x391b05(0x475)]?define([_0x391b05(0x57b),_0x391b05(0x1cf),'@univerjs/ui','@univerjs-pro/engine-shape',_0x391b05(0x3e3),'@univerjs-pro/sheets-shape',_0x391b05(0x493),_0x391b05(0x239),_0x391b05(0x377),_0x391b05(0x407),_0x391b05(0x554),_0x391b05(0x30c),'@univerjs/drawing-ui',_0x391b05(0x1b6),_0x391b05(0x2f4),_0x391b05(0x3a1),_0x391b05(0x3fa),_0x391b05(0x2a9),_0x391b05(0x208),_0x391b05(0x2e2),_0x391b05(0x4eb)],_0x185020):(_0x151d9d=typeof globalThis<'u'?globalThis:_0x151d9d||self,_0x185020(_0x151d9d[_0x391b05(0x533)]={},_0x151d9d[_0x391b05(0x3f9)],_0x151d9d[_0x391b05(0x581)],_0x151d9d[_0x391b05(0x412)],_0x151d9d[_0x391b05(0x27e)],_0x151d9d[_0x391b05(0x3c0)],_0x151d9d[_0x391b05(0x2f3)],_0x151d9d[_0x391b05(0x4bd)],_0x151d9d[_0x391b05(0x282)],_0x151d9d['UniverEngineRender'],_0x151d9d[_0x391b05(0x25f)],_0x151d9d['rxjs'],_0x151d9d[_0x391b05(0x1f2)],_0x151d9d['UniverDesign'],_0x151d9d[_0x391b05(0x53f)],_0x151d9d[_0x391b05(0x21c)],_0x151d9d[_0x391b05(0x40c)],_0x151d9d[_0x391b05(0x592)],_0x151d9d['UniverDocsUi'],_0x151d9d['UniverSheetsDrawingUi'],_0x151d9d[_0x391b05(0x53f)]));}(this,function(_0x4311c1,_0x21b2c0,_0xc5cac3,_0x36e36c,_0x590e75,_0x3c17ec,_0x20b6b2,_0x3a78b8,_0x3a44e9,_0x2e0941,_0x5aa18a,_0x1008b8,_0x42ecb7,_0x3220e2,_0x132e2c,_0x44df92,_0x30dca3,_0x331b83,_0x58ef02,_0x46d306,_0x1009cf){const _0x3d4004=_0x592e;Object['defineProperty'](_0x4311c1,Symbol[_0x3d4004(0x23a)],{'value':_0x3d4004(0x1c0)});function _0xf6c4f1(_0x23bd30,_0xa968ba){const _0x196429=_0x3d4004;let _0x40042f={};for(let _0x3f9c7a of Object['keys'](_0xa968ba)){let _0x5315a9=_0xa968ba[_0x3f9c7a],_0x48110c=_0x23bd30[_0x3f9c7a];if(_0x48110c===void 0x0){_0x40042f[_0x3f9c7a]=void 0x0;continue;}_0x40042f[_0x3f9c7a]=typeof _0x5315a9==_0x196429(0x220)&&_0x5315a9&&!Array[_0x196429(0x314)](_0x5315a9)&&typeof _0x48110c==_0x196429(0x220)&&_0x48110c&&!Array[_0x196429(0x314)](_0x48110c)?_0xf6c4f1(_0x48110c,_0x5315a9):_0x48110c;}return _0x40042f;}let _0x34371e={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'id':_0x3d4004(0x1e3),'handler':(_0x40c079,_0x4ea43f)=>{const _0x4b3d65=_0x3d4004;let _0x498a9d=_0x40c079[_0x4b3d65(0x584)](_0x3c17ec['SheetsShapeService']),{unitId:_0x565336,subUnitId:_0x38e9be,shapeType:_0x1a12ed,shapeId:_0x32ce1f,shapeData:_0x2a1fbd,replaceShapeData:_0x3d0c7e,oldShapeJSON:_0x397c5c}=_0x4ea43f;if(!_0x498a9d['getShapeModel'](_0x565336,_0x38e9be,_0x32ce1f))return!0x1;let _0x5cf41a=_0x40c079[_0x4b3d65(0x584)](_0x20b6b2['ICommandService']),_0x21c2cd=_0x40c079[_0x4b3d65(0x584)](_0x20b6b2[_0x4b3d65(0x500)]),{oldShapeType:_0x460d06,oldShapeData:_0x5b14a0={}}=_0x397c5c,_0x49960c=_0x3d0c7e?_0x5b14a0:_0xf6c4f1(_0x5b14a0,_0x2a1fbd||{}),_0x3f707a={'id':_0x3c17ec[_0x4b3d65(0x1fa)]['id'],'params':{'unitId':_0x565336,'subUnitId':_0x38e9be,'shapeId':_0x32ce1f,'shapeType':_0x1a12ed,'shapeData':_0x2a1fbd,'replace':_0x3d0c7e}},_0xa117e4={'id':_0x3c17ec[_0x4b3d65(0x1fa)]['id'],'params':{'unitId':_0x565336,'subUnitId':_0x38e9be,'shapeId':_0x32ce1f,'shapeType':_0x460d06,'shapeData':_0x49960c,'replace':_0x3d0c7e}};return _0x5cf41a[_0x4b3d65(0x340)](_0x3f707a['id'],_0x3f707a[_0x4b3d65(0x342)])?(_0x21c2cd[_0x4b3d65(0x1d8)]({'unitID':_0x565336,'undoMutations':[_0xa117e4],'redoMutations':[_0x3f707a]}),!0x0):!0x1;}};function _0x118498(_0x140ca3,_0x48dcef,_0x43d165,_0x161da7,_0xa86b74,_0x447e38){const _0x41c347=_0x3d4004;let _0x497187={'unitId':_0x48dcef,'subUnitId':_0x43d165,'shapeId':_0x161da7,'shapeData':_0x447e38,'oldShapeJSON':_0xa86b74};return _0x140ca3[_0x41c347(0x447)](_0x34371e['id'],_0x497187);}function _0x2c1624(_0xcc7db3,_0x37811b,_0x3c2a80,_0xfcd446,_0x4a5583,_0x17f606){const _0x55e1e5=_0x3d4004;let _0x6809bb={'unitId':_0x37811b,'subUnitId':_0x3c2a80,'shapeId':_0xfcd446,'shapeData':_0x17f606,'oldShapeJSON':_0x4a5583};return _0xcc7db3[_0x55e1e5(0x447)](_0x34371e['id'],_0x6809bb);}function _0x1f1d27(_0x3a7378){'@babel/helpers - typeof';const _0x10123d=_0x3d4004;return _0x1f1d27=typeof Symbol==_0x10123d(0x296)&&typeof Symbol[_0x10123d(0x20e)]==_0x10123d(0x399)?function(_0x560001){return typeof _0x560001;}:function(_0x3eff98){const _0xf80843=_0x10123d;return _0x3eff98&&typeof Symbol==_0xf80843(0x296)&&_0x3eff98['constructor']===Symbol&&_0x3eff98!==Symbol[_0xf80843(0x54b)]?_0xf80843(0x399):typeof _0x3eff98;},_0x1f1d27(_0x3a7378);}function _0x1f3dd1(_0x508dd5,_0x3ac64b){const _0x16b5f9=_0x3d4004;if(_0x1f1d27(_0x508dd5)!=_0x16b5f9(0x220)||!_0x508dd5)return _0x508dd5;var _0x7d2d76=_0x508dd5[Symbol[_0x16b5f9(0x55c)]];if(_0x7d2d76!==void 0x0){var _0x44791b=_0x7d2d76[_0x16b5f9(0x550)](_0x508dd5,_0x3ac64b||_0x16b5f9(0x1b4));if(_0x1f1d27(_0x44791b)!=_0x16b5f9(0x220))return _0x44791b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3ac64b===_0x16b5f9(0x35a)?String:Number)(_0x508dd5);}function _0x1dfee9(_0x448dc8){const _0x3139b2=_0x3d4004;var _0x9358ae=_0x1f3dd1(_0x448dc8,_0x3139b2(0x35a));return _0x1f1d27(_0x9358ae)==_0x3139b2(0x399)?_0x9358ae:_0x9358ae+'';}function _0x212175(_0x3de292,_0x35603f,_0x36f61c){const _0x10d53e=_0x3d4004;return(_0x35603f=_0x1dfee9(_0x35603f))in _0x3de292?Object[_0x10d53e(0x54c)](_0x3de292,_0x35603f,{'value':_0x36f61c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3de292[_0x35603f]=_0x36f61c,_0x3de292;}function _0x30e4c5(_0x1364f2,_0xe8c9fe,_0x3ad5aa){const _0x48c9b4=_0x3d4004;let _0x27c450={..._0xe8c9fe,'dataModel':{..._0xe8c9fe[_0x48c9b4(0x52e)]??{},..._0x3ad5aa?{'doc':_0x3ad5aa}:null}},_0x42b722=(0x0,_0x21b2c0[_0x48c9b4(0x2ed)])(_0x1364f2,_0x27c450),_0x333d1d=(0x0,_0x21b2c0[_0x48c9b4(0x369)])(_0x42b722);return{'clip':(0x0,_0x21b2c0[_0x48c9b4(0x355)])(_0x42b722,_0x333d1d),'wrapStrategy':_0x333d1d};}var _0x2caaad=class extends _0x2e0941[_0x3d4004(0x260)]{constructor(_0x2f1647,_0x5dbed6){const _0x621dd9=_0x3d4004;super(_0x2f1647,_0x5dbed6),_0x212175(this,_0x621dd9(0x4d5),void 0x0),_0x212175(this,_0x621dd9(0x46d),new _0x21b2c0[(_0x621dd9(0x46c))](()=>this[_0x621dd9(0x537)](!0x0),()=>this[_0x621dd9(0x309)]())),_0x212175(this,_0x621dd9(0x34a),!0x0),_0x212175(this,'_drawingType',_0x20b6b2[_0x621dd9(0x284)][_0x621dd9(0x364)]),_0x212175(this,_0x621dd9(0x47e),!0x0),this[_0x621dd9(0x4d5)]={..._0x5dbed6},this[_0x621dd9(0x46d)][_0x621dd9(0x3d3)](_0x5dbed6['formulaPresentation'],_0x5dbed6[_0x621dd9(0x488)]!==!0x1),this[_0x621dd9(0x1c6)](),this[_0x621dd9(0x309)]();}[_0x3d4004(0x1c6)](){const _0x141597=_0x3d4004;this[_0x141597(0x44f)][_0x141597(0x306)](_0x174b36=>{this['_updateSrcRectByTransform'](_0x174b36);});}['setPrstGeom'](_0xe27566){const _0xafc81b=_0x3d4004;this[_0xafc81b(0x4d5)][_0xafc81b(0x380)]=_0xe27566;}[_0x3d4004(0x1e4)](_0x4fee31){const _0x2b73e9=_0x3d4004;this['_props'][_0x2b73e9(0x3b9)]=_0x4fee31,this[_0x2b73e9(0x537)](!0x0);}[_0x3d4004(0x491)](_0x5c5971,_0x56ab67=!0x0){const _0x30bcf2=_0x3d4004;this['_formulaAnimation'][_0x30bcf2(0x3d3)](_0x5c5971,_0x56ab67),this['_props'][_0x30bcf2(0x590)]=_0x5c5971,this['_applyFormulaAutoFitSize'](),this['makeDirty'](!0x0);}[_0x3d4004(0x309)](){const _0x4f7f82=_0x3d4004;let _0x5a5252=this[_0x4f7f82(0x4d5)][_0x4f7f82(0x26c)],_0x34c1b9=_0x5a5252['getShapeTextData'](),_0x58e1c5=(0x0,_0x21b2c0[_0x4f7f82(0x2f7)])(_0x34c1b9==null?void 0x0:_0x34c1b9['dataModel']),_0x1aa0d7=_0x58e1c5==null?void 0x0:_0x58e1c5['doc'],_0x1c643d=this['_formulaAnimation'][_0x4f7f82(0x544)]();if(!_0x1aa0d7||_0x1c643d[_0x4f7f82(0x1ed)]===0x0)return;_0x5a5252[_0x4f7f82(0x4d2)]({'width':this[_0x4f7f82(0x4ba)],'height':this[_0x4f7f82(0x3f0)]});let _0x346c10=(0x0,_0x21b2c0['resolveFormulaShapeAutoFitSize'])({'documentData':_0x1c643d[_0x4f7f82(0x442)](_0x1d1a25=>(0x0,_0x590e75[_0x4f7f82(0x338)])(_0x1aa0d7,_0x1d1a25)),'height':this[_0x4f7f82(0x3f0)],'shapeData':_0x5a5252['getShapeData'](),'textRect':_0x5a5252[_0x4f7f82(0x312)]({'left':0x0,'top':0x0,'width':this[_0x4f7f82(0x4ba)],'height':this[_0x4f7f82(0x3f0)]}),'width':this[_0x4f7f82(0x4ba)]});if(_0x346c10){var _0x5bd5ba;this[_0x4f7f82(0x24a)](_0x346c10[_0x4f7f82(0x4ba)],_0x346c10[_0x4f7f82(0x3f0)]),(_0x5bd5ba=this['getScene']())==null||(_0x5bd5ba=_0x5bd5ba['getTransformer']())==null||_0x5bd5ba['debounceRefreshControls']();}}get[_0x3d4004(0x3e5)](){const _0x4ec9ac=_0x3d4004;return this[_0x4ec9ac(0x4d5)][_0x4ec9ac(0x3e5)];}get[_0x3d4004(0x4c3)](){const _0x3e20fc=_0x3d4004;return this['_props'][_0x3e20fc(0x4c3)];}[_0x3d4004(0x4ed)](_0x2611be){const _0x52fad0=_0x3d4004;if(this[_0x52fad0(0x4d5)][_0x52fad0(0x46b)]==null||!this[_0x52fad0(0x34a)])return;let {width:_0x5cc843,height:_0x5c46e0}=this,{width:_0xecd91c=0x0,height:_0x49cb53=0x0}=_0x2611be[_0x52fad0(0x29b)],{left:_0x37cd11=0x0,top:_0x1616d4=0x0,right:_0x2fea3a=0x0,bottom:_0x3c4e34=0x0}=this[_0x52fad0(0x4d5)][_0x52fad0(0x46b)],_0x241414=_0x37cd11,_0x259113=_0x1616d4,_0x57abcb=_0x2fea3a,_0x26a411=_0x3c4e34,_0x17016b=!0x1;if(_0xecd91c!==0x0&&_0xecd91c!==_0x5cc843){let _0x590b30=_0x37cd11/_0xecd91c,_0x5d2149=_0x2fea3a/_0xecd91c;_0x241414=_0x5cc843*_0x590b30,_0x57abcb=_0x5cc843*_0x5d2149,_0x17016b=!0x0;}if(_0x49cb53!==0x0&&_0x49cb53!==_0x5c46e0){let _0x583d97=_0x1616d4/_0x49cb53,_0x8d7e91=_0x3c4e34/_0x49cb53;_0x259113=_0x5c46e0*_0x583d97,_0x26a411=_0x5c46e0*_0x8d7e91,_0x17016b=!0x0;}_0x17016b&&this[_0x52fad0(0x27b)]({'left':_0x241414,'top':_0x259113,'right':_0x57abcb,'bottom':_0x26a411});}[_0x3d4004(0x27b)](_0x5c7a3b){const _0xbe8eb3=_0x3d4004;this[_0xbe8eb3(0x4d5)][_0xbe8eb3(0x46b)]=_0x5c7a3b,this[_0xbe8eb3(0x537)](!0x0);}[_0x3d4004(0x2f5)](_0x398954){const _0x23a8e7=_0x3d4004;this[_0x23a8e7(0x4d5)][_0x23a8e7(0x249)]=_0x398954,this[_0x23a8e7(0x537)](!0x0);}set['transform'](_0xcbb2b0){const _0x6758dc=_0x3d4004;this[_0x6758dc(0x3b5)]=_0xcbb2b0;}get['transform'](){const _0x1624a7=_0x3d4004;this[_0x1624a7(0x3b5)]||this['_setTransForm']();let _0x2f1fbc=this[_0x1624a7(0x3b5)][_0x1624a7(0x318)]();return this[_0x1624a7(0x461)](_0x2f1fbc);}get[_0x3d4004(0x26c)](){const _0x3b80a1=_0x3d4004;return this[_0x3b80a1(0x4d5)]['shapeModel'];}get['shapeId'](){const _0x4a86e1=_0x3d4004;return this[_0x4a86e1(0x4d5)][_0x4a86e1(0x47c)];}get[_0x3d4004(0x22d)](){const _0x54cfca=_0x3d4004;return _0x2e0941[_0x54cfca(0x4e1)][_0x54cfca(0x4b4)];}['_draw'](_0x4d5d32,_0x1e4c12,_0x638fef,_0x590beb){const _0x42c660=_0x3d4004;let _0x8d322e=this[_0x42c660(0x4d5)][_0x42c660(0x26c)];if(!_0x8d322e||!_0x1e4c12)return;let _0x17edd8=_0x638fef??this['width'],_0x21659c=_0x590beb??this[_0x42c660(0x3f0)],_0x7eb34={'shapeType':_0x8d322e['getShapeType'](),'width':_0x17edd8,'height':_0x21659c},_0x51b244={'renderMode':_0x36e36c[_0x42c660(0x57f)][_0x42c660(0x2cc)],'oKey':this[_0x42c660(0x420)],'image':this[_0x42c660(0x4d5)][_0x42c660(0x249)],'angle':this[_0x42c660(0x228)]};_0x8d322e[_0x42c660(0x4d2)](_0x7eb34),_0x4d5d32[_0x42c660(0x1ef)]();let _0x263542={'top':0x0,'left':0x0,'width':_0x17edd8,'height':_0x21659c},_0x27f0fa=_0x8d322e[_0x42c660(0x3c3)](_0x263542);_0x27f0fa?this[_0x42c660(0x2b2)](_0x4d5d32,_0x27f0fa,_0x598980=>{const _0xbaf3ae=_0x42c660;_0x8d322e[_0xbaf3ae(0x432)](_0x598980,_0x263542,_0x51b244);}):(this[_0x42c660(0x571)](),_0x8d322e[_0x42c660(0x432)](_0x4d5d32,_0x263542,_0x51b244)),_0x4d5d32[_0x42c660(0x334)]();let _0x50f0c8=_0x8d322e['getShapeTextData'](),_0x1228ee=_0x8d322e[_0x42c660(0x312)](_0x263542),_0x510594=_0x8d322e[_0x42c660(0x1b2)]();if(_0x50f0c8&&_0x1228ee&&!_0x510594){_0x4d5d32[_0x42c660(0x1ef)](),this['getState']()[_0x42c660(0x2a5)]&&_0x4d5d32[_0x42c660(0x4d6)](-0x1,0x1);let _0x3411f6=_0x17edd8/0x2,_0x501bb9=_0x21659c/0x2;_0x4d5d32[_0x42c660(0x4b8)](-_0x3411f6,-_0x501bb9),_0x4d5d32[_0x42c660(0x414)](),this['_drawShapeText'](_0x4d5d32,_0x50f0c8,_0x1228ee),_0x4d5d32[_0x42c660(0x334)]();}}[_0x3d4004(0x57c)](_0x2fa72c){}[_0x3d4004(0x474)](_0x2dd001,_0x5c6170,_0x42eb85){const _0x2454bd=_0x3d4004;var _0x2fee61;this[_0x2454bd(0x4d5)][_0x2454bd(0x3b9)]||(!((_0x2fee61=_0x5c6170[_0x2454bd(0x52e)])!=null&&_0x2fee61[_0x2454bd(0x2d8)])&&_0x2454bd(0x2fd)in _0x5c6170&&_0x5c6170[_0x2454bd(0x2fd)]===!0x1?this[_0x2454bd(0x570)](_0x2dd001,_0x5c6170,_0x42eb85):this[_0x2454bd(0x45e)](_0x2dd001,_0x5c6170,_0x42eb85));}[_0x3d4004(0x570)](_0x7ec81d,_0x3c542c,_0x361431){const _0x53c24f=_0x3d4004;this[_0x53c24f(0x45e)](_0x7ec81d,{..._0x3c542c,'text':_0x3c542c[_0x53c24f(0x253)]??'','dataModel':{'doc':(0x0,_0x21b2c0['plainShapeTextToDocumentData'])(_0x3c542c,_0x53c24f(0x22b)+this[_0x53c24f(0x420)])}},_0x361431);}[_0x3d4004(0x45e)](_0x3bf12d,_0x43372e,_0x141075){const _0x4249e0=_0x3d4004;(0x0,_0x21b2c0[_0x4249e0(0x54f)])(_0x3bf12d,this[_0x4249e0(0x46d)],(_0x24d286,_0x5b0fe2)=>{const _0x392509=_0x4249e0;this[_0x392509(0x3b0)](_0x24d286,_0x43372e,_0x141075,_0x5b0fe2);});}[_0x3d4004(0x3b0)](_0xbc6433,_0x1fdcad,_0x1dcbf2,_0x6442e8){const _0x2e86a2=_0x3d4004;let _0x22f14c=this[_0x2e86a2(0x4d5)][_0x2e86a2(0x484)];if(!_0x1fdcad['dataModel']||!_0x22f14c)return;let _0xc87ac1=(0x0,_0x21b2c0[_0x2e86a2(0x2f7)])(_0x1fdcad[_0x2e86a2(0x52e)]);if(!_0xc87ac1)return;let _0x2f7f33=_0xc87ac1[_0x2e86a2(0x2d8)];if(!_0x2f7f33)return;let _0x38f934=(0x0,_0x590e75[_0x2e86a2(0x338)])(_0x2f7f33,_0x6442e8),_0x56bb21=_0xc87ac1['va']??_0x20b6b2[_0x2e86a2(0x4b0)][_0x2e86a2(0x3ef)],_0x355a95=_0xc87ac1['ha']??_0x20b6b2[_0x2e86a2(0x1fc)][_0x2e86a2(0x2a7)],_0x285de4=_0x30e4c5(this[_0x2e86a2(0x4d5)][_0x2e86a2(0x26c)]['getShapeData'](),_0x1fdcad,_0x38f934),_0x3a6f99=_0x1fdcad[_0x2e86a2(0x44b)],_0x4a1106=(0x0,_0x21b2c0[_0x2e86a2(0x409)])(_0x38f934,{'isHorizontal':_0x3a6f99!==!0x1,'textRect':_0x1dcbf2,'verticalAlign':_0x56bb21,'horizontalAlign':_0x355a95,'wrapStrategy':_0x285de4[_0x2e86a2(0x1fb)]}),_0x53fc89=new _0x20b6b2[(_0x2e86a2(0x1c7))](_0x4a1106),_0x707156=new _0x2e0941[(_0x2e86a2(0x1c3))](_0x53fc89),_0x12a2cd=_0x2e0941[_0x2e86a2(0x25d)][_0x2e86a2(0x2e1)](_0x707156,_0x22f14c);_0x12a2cd[_0x2e86a2(0x1eb)]();let _0x44a141=_0x12a2cd['getActualSize']()[_0x2e86a2(0x3f7)],_0x4526a0=(0x0,_0x21b2c0[_0x2e86a2(0x212)])({'contentHeight':_0x44a141,'verticalAlign':_0x56bb21,'viewportHeight':_0x1dcbf2[_0x2e86a2(0x3f0)]});_0x53fc89[_0x2e86a2(0x465)]({'pageSize':{'width':_0x3a6f99===!0x1?_0x1dcbf2[_0x2e86a2(0x3f0)]:_0x1dcbf2[_0x2e86a2(0x4ba)],'height':(0x0,_0x21b2c0[_0x2e86a2(0x21b)])(_0x38f934,_0x4526a0[_0x2e86a2(0x243)])}}),_0x53fc89[_0x2e86a2(0x1be)]({'t':_0x4526a0[_0x2e86a2(0x425)]}),_0x12a2cd[_0x2e86a2(0x1eb)]();let _0x143565=new _0x2e0941['Documents']('shape-text-'+this[_0x2e86a2(0x420)],_0x12a2cd,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x2e86a2(0x537)](!0x0)});_0x143565[_0x2e86a2(0x24a)](_0x1dcbf2['width'],_0x4526a0[_0x2e86a2(0x243)]),_0xbc6433[_0x2e86a2(0x1ef)](),_0xbc6433[_0x2e86a2(0x4a5)](_0x1dcbf2[_0x2e86a2(0x26d)],_0x1dcbf2[_0x2e86a2(0x35f)]),_0x285de4[_0x2e86a2(0x317)]&&(_0xbc6433[_0x2e86a2(0x414)](),_0xbc6433[_0x2e86a2(0x1d3)](0x0,_0x4526a0['clipTop'],_0x1dcbf2[_0x2e86a2(0x4ba)],_0x4526a0[_0x2e86a2(0x568)]),_0xbc6433[_0x2e86a2(0x317)]()),_0x4526a0['contentVerticalOffset']&&_0xbc6433['translateWithPrecision'](0x0,_0x4526a0[_0x2e86a2(0x3d6)]),_0x143565[_0x2e86a2(0x34c)](_0xbc6433),_0xbc6433[_0x2e86a2(0x334)](),_0x143565[_0x2e86a2(0x4fe)](),_0x12a2cd[_0x2e86a2(0x4fe)](),_0x707156['dispose'](),_0x53fc89[_0x2e86a2(0x4fe)]();}[_0x3d4004(0x432)](_0x422f2f,_0x350a2a,_0x4169f2=!0x1){const _0x7aab97=_0x3d4004;if(!this[_0x7aab97(0x3a4)])return this[_0x7aab97(0x537)](!0x1),this;let {width:_0x5315d3,height:_0x15d127,left:_0x7bc455,top:_0x254334}=this,_0x3fe995=this['getRealBound']();if(_0x5315d3=_0x3fe995[_0x7aab97(0x4ba)],_0x15d127=_0x3fe995[_0x7aab97(0x3f0)],_0x7bc455=_0x3fe995[_0x7aab97(0x26d)],_0x254334=_0x3fe995[_0x7aab97(0x35f)],this['isRender'](_0x350a2a)){let {top:_0x1d43e3,left:_0x2fb0b0,bottom:_0x4cba20,right:_0xd2e746}=_0x350a2a[_0x7aab97(0x1dd)];if(_0x5315d3+this[_0x7aab97(0x1ec)]+_0x7bc455<_0x2fb0b0||_0xd2e746<_0x7bc455||_0x15d127+this['strokeWidth']+_0x254334<_0x1d43e3||_0x4cba20<_0x254334)return this;}let _0xabbdc=_0x7bc455+_0x5315d3/0x2,_0x19fad7=_0x254334+_0x15d127/0x2,_0x1edadc=this[_0x7aab97(0x3be)][_0x7aab97(0x2ee)]();if(this[_0x7aab97(0x4d5)][_0x7aab97(0x3b9)]){let _0x26813a=this['getState'](),_0x1b2570=new _0x2e0941[(_0x7aab97(0x3c9))]();_0x1b2570[_0x7aab97(0x319)]({..._0x26813a}),_0x1edadc=_0x1b2570[_0x7aab97(0x2ee)]();}return _0x422f2f['save'](),this[_0x7aab97(0x4d5)][_0x7aab97(0x26c)][_0x7aab97(0x477)]===!0x0||_0x422f2f[_0x7aab97(0x3be)](_0x1edadc[0x0],_0x1edadc[0x1],_0x1edadc[0x2],_0x1edadc[0x3],_0xabbdc,_0x19fad7),this[_0x7aab97(0x3bf)](_0x422f2f,_0x350a2a,_0x5315d3,_0x15d127),_0x422f2f['restore'](),this[_0x7aab97(0x537)](!0x1),this;}['getInverseCoord'](_0x32eca4){const _0x4f1a91=_0x3d4004;let {left:_0x538246,top:_0x180b6b,width:_0x31a963,height:_0x129657}=this['getRealBound'](),_0x3b6cf5=this[_0x4f1a91(0x3be)][_0x4f1a91(0x2ee)](),_0x4c5b6f=_0x538246+_0x31a963/0x2,_0x3ba7f0=_0x180b6b+_0x129657/0x2,_0x7d930b=new _0x2e0941['Transform']([_0x3b6cf5[0x0],_0x3b6cf5[0x1],_0x3b6cf5[0x2],_0x3b6cf5[0x3],_0x4c5b6f,_0x3ba7f0]),_0x7d57af=this['getParent']();return(this['isInGroup']&&(_0x7d57af==null?void 0x0:_0x7d57af[_0x4f1a91(0x22d)])===_0x2e0941['RENDER_CLASS_TYPE'][_0x4f1a91(0x250)]?_0x7d57af[_0x4f1a91(0x4a7)]['multiply'](_0x7d930b):_0x7d930b)[_0x4f1a91(0x4e9)]()[_0x4f1a91(0x3ee)](_0x32eca4);}[_0x3d4004(0x54e)](_0x26cf50){const _0x2cf1a7=_0x3d4004;let {left:_0x583a0d,top:_0x5eb1c5,width:_0x16dc83,height:_0x3316f0}=this[_0x2cf1a7(0x560)](),_0x426f4a=_0x583a0d+_0x16dc83/0x2,_0x2be87f=_0x5eb1c5+_0x3316f0/0x2,_0x1bed04=this['transform'][_0x2cf1a7(0x2ee)](),_0x336082=new _0x2e0941[(_0x2cf1a7(0x3c9))]([_0x1bed04[0x0],_0x1bed04[0x1],_0x1bed04[0x2],_0x1bed04[0x3],_0x426f4a,_0x2be87f]),_0x2f1c41=this[_0x2cf1a7(0x330)](),_0x190bae=(this['isInGroup']&&(_0x2f1c41==null?void 0x0:_0x2f1c41[_0x2cf1a7(0x22d)])===_0x2e0941[_0x2cf1a7(0x4e1)][_0x2cf1a7(0x250)]?_0x2f1c41[_0x2cf1a7(0x4a7)][_0x2cf1a7(0x468)](_0x336082):_0x336082)[_0x2cf1a7(0x4e9)]()['applyPoint'](_0x26cf50),_0x5e857f=_0x16dc83/0x2,_0x4dc1a7=_0x3316f0/0x2,_0xf251a9=this[_0x2cf1a7(0x4d5)]['shapeModel'];return _0xf251a9&&_0xf251a9[_0x2cf1a7(0x1b2)]()?_0xf251a9['isHitLine'](_0x190bae['x'],_0x190bae['y'],_0x16dc83,_0x3316f0):_0x190bae['x']>=-_0x5e857f-this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['x']<=_0x5e857f+this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['y']>=-_0x4dc1a7-this[_0x2cf1a7(0x1ec)]/0x2&&_0x190bae['y']<=_0x4dc1a7+this[_0x2cf1a7(0x1ec)]/0x2;}[_0x3d4004(0x4fe)](){const _0x25eb16=_0x3d4004;this[_0x25eb16(0x46d)][_0x25eb16(0x4fe)](),this[_0x25eb16(0x4d5)]['shapeModel']=null,super['dispose']();}},_0x3ccc58=class extends _0x2e0941[_0x3d4004(0x260)]{constructor(_0x4dc051,_0x498077){const _0x3c66ad=_0x3d4004;super(_0x4dc051,_0x498077),_0x212175(this,_0x3c66ad(0x3bc),null),_0x212175(this,_0x3c66ad(0x27c),null),_0x212175(this,'_unitId',null),_0x212175(this,'_subUnitId',null),_0x498077&&this[_0x3c66ad(0x4af)](_0x498077);}['getDrawingSearch'](){const _0x33f7d8=_0x3d4004;return{'unitId':this['_unitId'],'subUnitId':this[_0x33f7d8(0x240)],'drawingId':this[_0x33f7d8(0x3bc)]};}[_0x3d4004(0x4af)](_0x41876d){const _0x1610e9=_0x3d4004;_0x41876d[_0x1610e9(0x47c)]!==void 0x0&&(this[_0x1610e9(0x3bc)]=_0x41876d[_0x1610e9(0x47c)]),_0x41876d[_0x1610e9(0x536)]!==void 0x0&&(this[_0x1610e9(0x27c)]=_0x41876d['adjName']),_0x41876d['unitId']!==void 0x0&&(this[_0x1610e9(0x1d1)]=_0x41876d['unitId']),_0x41876d[_0x1610e9(0x4c3)]!==void 0x0&&(this[_0x1610e9(0x240)]=_0x41876d[_0x1610e9(0x4c3)]),this[_0x1610e9(0x40d)]({'width':_0x41876d[_0x1610e9(0x4ba)],'height':_0x41876d[_0x1610e9(0x3f0)]});}[_0x3d4004(0x3bf)](_0xcc2f27){const _0x5da0be=_0x3d4004;_0x2e0941[_0x5da0be(0x4be)]['drawWith'](_0xcc2f27,{'radius':_0x36e36c['ShapeDefaultConfig'][_0x5da0be(0x445)],'fill':_0x36e36c['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x36e36c['ShapeDefaultConfig'][_0x5da0be(0x47f)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4a972c(_0x24db91,_0x2202f5){return function(_0x10cab2,_0x3002cb){_0x2202f5(_0x10cab2,_0x3002cb,_0x24db91);};}function _0x3a2391(_0x5aa48d,_0x6ac5d3,_0x583d4e,_0x306f6c){const _0x36e895=_0x3d4004;var _0x318b43=arguments[_0x36e895(0x1ed)],_0x223f3d=_0x318b43<0x3?_0x6ac5d3:_0x306f6c===null?_0x306f6c=Object[_0x36e895(0x310)](_0x6ac5d3,_0x583d4e):_0x306f6c,_0x3c33ad;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x36e895(0x296))_0x223f3d=Reflect[_0x36e895(0x2e7)](_0x5aa48d,_0x6ac5d3,_0x583d4e,_0x306f6c);else{for(var _0x3b8b08=_0x5aa48d[_0x36e895(0x1ed)]-0x1;_0x3b8b08>=0x0;_0x3b8b08--)(_0x3c33ad=_0x5aa48d[_0x3b8b08])&&(_0x223f3d=(_0x318b43<0x3?_0x3c33ad(_0x223f3d):_0x318b43>0x3?_0x3c33ad(_0x6ac5d3,_0x583d4e,_0x223f3d):_0x3c33ad(_0x6ac5d3,_0x583d4e))||_0x223f3d);}return _0x318b43>0x3&&_0x223f3d&&Object['defineProperty'](_0x6ac5d3,_0x583d4e,_0x223f3d),_0x223f3d;}let _0xec3a87=class extends _0x20b6b2['Disposable']{constructor(_0x387c20,_0x4f8d53,_0x1e528e,_0x38760d,_0xaee45c,_0x458ffb){const _0x692132=_0x3d4004;super(),this[_0x692132(0x3a6)]=_0x387c20,this['_sheetsShapeService']=_0x4f8d53,this[_0x692132(0x564)]=_0x1e528e,this[_0x692132(0x29f)]=_0x38760d,this[_0x692132(0x320)]=_0xaee45c,this[_0x692132(0x3f1)]=_0x458ffb,_0x212175(this,'_formulaShapes',new Map()),this[_0x692132(0x301)](this['_shapeFormulaService']['presentationChanged$'][_0x692132(0x448)](_0x537045=>{const _0x1285e7=_0x692132;var _0x5bbab3;(_0x5bbab3=this[_0x1285e7(0x43a)]['get'](this['_formulaKey'](_0x537045[_0x1285e7(0x3e5)],_0x537045['subUnitId'],_0x537045['shapeId'])))==null||_0x5bbab3['forEach'](_0xce61db=>_0xce61db['setFormulaPresentation'](_0x537045[_0x1285e7(0x349)],_0x537045[_0x1285e7(0x22c)]));})),this[_0x692132(0x301)](this[_0x692132(0x3a6)][_0x692132(0x52d)]['subscribe'](_0x5cbeb9=>{const _0x581d9d=_0x692132;_0x5cbeb9[_0x581d9d(0x39d)](_0x37fc31=>{const _0x3f4a0f=_0x581d9d;this[_0x3f4a0f(0x3f1)][_0x3f4a0f(0x548)]({'unitId':_0x37fc31[_0x3f4a0f(0x3e5)],'subUnitId':_0x37fc31[_0x3f4a0f(0x4c3)],'shapeId':_0x37fc31['drawingId']}),this[_0x3f4a0f(0x43a)][_0x3f4a0f(0x2e4)](this[_0x3f4a0f(0x245)](_0x37fc31[_0x3f4a0f(0x3e5)],_0x37fc31[_0x3f4a0f(0x4c3)],_0x37fc31['drawingId']));});}));}[_0x3d4004(0x3c6)](_0xd61bb7,_0x51ae13,_0x2bbabf){const _0x46e6a3=_0x3d4004;let {transform:_0x227ae1,drawingType:_0x135106,srcRect:_0x4cdfbf,prstGeom:_0x3f3bb3,groupId:_0x4dbdf5,unitId:_0x263d60,subUnitId:_0x159589,drawingId:_0x27dd8c,isMultiTransform:_0x1e7584,transforms:_0x1472bc,hidden:_0x28bdfa,selectable:_0x59fba4}=_0xd61bb7;if(_0x135106!==_0x20b6b2['DrawingTypeEnum'][_0x46e6a3(0x364)]||!this['_drawingManagerService']['getDrawingVisible']()||_0x227ae1==null)return;let _0x106f98=this['_drawingManagerService'][_0x46e6a3(0x583)](),_0x5e3aef=_0x1e7584&&_0x1472bc?_0x1472bc:[_0x227ae1],_0x1a6b03=[];for(let _0x1864b9 of _0x5e3aef){let {left:_0x2fe8f3,top:_0x1b66e3,width:_0x1881b1,height:_0x236e32,angle:_0x651480,flipX:_0x1f5941,flipY:_0x5de41e,skewX:_0x2c05c4,skewY:_0x2bbdfb}=_0x1864b9,_0x39cdf5=_0x5e3aef[_0x46e6a3(0x35e)](_0x1864b9),_0x39539d=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x263d60,'subUnitId':_0x159589,'drawingId':_0x27dd8c},_0x1e7584?_0x39cdf5:void 0x0),_0x3ce283=_0x51ae13[_0x46e6a3(0x1fe)](_0x39539d);if(_0x3ce283!=null){let _0x312bcc={'unitId':_0x263d60,'subUnitId':_0x159589,'shapeId':_0x27dd8c};_0x3ce283 instanceof _0x2caaad&&this[_0x46e6a3(0x359)](_0x3ce283,_0x312bcc),_0x3ce283['transformByState']({'left':_0x2fe8f3,'top':_0x1b66e3,'width':_0x1881b1,'height':_0x236e32,'angle':_0x651480,'flipX':_0x1f5941,'flipY':_0x5de41e,'skewX':_0x2c05c4,'skewY':_0x2bbdfb});continue;}let _0x2a7fe7=this[_0x46e6a3(0x3a6)][_0x46e6a3(0x530)](_0x263d60,_0x159589),_0x28ddef=_0x2a7fe7[_0x46e6a3(0x35e)](_0x27dd8c);if(_0x51ae13[_0x46e6a3(0x1fe)](_0x39539d)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x21991a=this[_0x46e6a3(0x341)][_0x46e6a3(0x453)](_0x263d60,_0x159589,_0x27dd8c);if(!_0x21991a)continue;let _0xd815c0=(0x0,_0x36e36c['isConnectorShape'])(_0x21991a['getShapeType']())?{..._0x21b2c0[_0x46e6a3(0x375)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x21b2c0[_0x46e6a3(0x375)],_0x4abe47=_0x21991a[_0x46e6a3(0x313)]()[_0x46e6a3(0x1b7)],_0x3f0cd7={'unitId':_0x263d60,'subUnitId':_0x159589,'shapeId':_0x27dd8c};_0x4abe47&&this['_shapeFormulaService']['register'](_0x3f0cd7,_0x4abe47);let _0x3a0b45=new _0x2caaad(_0x39539d,{..._0x1864b9,'zIndex':_0x28ddef===-0x1?_0x2a7fe7[_0x46e6a3(0x1ed)]-0x1:_0x28ddef,'shapeModel':_0x21991a,'localeService':this[_0x46e6a3(0x564)],'shapeId':_0x27dd8c,'unitId':_0x263d60,'subUnitId':_0x159589,'visible':_0x28bdfa!==!0x0,'evented':_0x59fba4!==!0x1,'formulaPresentation':_0x4abe47?this[_0x46e6a3(0x3f1)][_0x46e6a3(0x4a8)](_0x3f0cd7):void 0x0,'animateFormulaPresentation':(_0x4abe47==null?void 0x0:_0x4abe47[_0x46e6a3(0x22c)])!==!0x1,'transformerConfig':_0xd815c0});if(_0x4abe47){let _0x302967=this['_formulaKey'](_0x263d60,_0x159589,_0x27dd8c),_0x3bdb7a=this['_formulaShapes'][_0x46e6a3(0x584)](_0x302967)??new Set();_0x3bdb7a['add'](_0x3a0b45),this['_formulaShapes'][_0x46e6a3(0x50d)](_0x302967,_0x3bdb7a);}_0x51ae13['addObject'](_0x3a0b45,_0x2e0941[_0x46e6a3(0x33e)]),_0x106f98&&_0x51ae13['attachTransformerTo'](_0x3a0b45),_0x4dbdf5&&(0x0,_0x42ecb7['insertGroupObject'])({'drawingId':_0x4dbdf5,'unitId':_0x263d60,'subUnitId':_0x159589},_0x3a0b45,_0x51ae13,this[_0x46e6a3(0x3a6)]),_0x3f3bb3!=null&&_0x3a0b45[_0x46e6a3(0x36e)](_0x3f3bb3),_0x4cdfbf!=null&&_0x3a0b45['setSrcRect'](_0x4cdfbf);let _0x3a53b6=this['_loadShapePictureFill'](_0x3a0b45,_0x21991a[_0x46e6a3(0x313)]());if(_0x3a53b6){var _0x4f0790;_0x2bbabf==null||(_0x4f0790=_0x2bbabf['resourceCollector'])==null||_0x4f0790[_0x46e6a3(0x2e9)](_0x3a53b6);}_0x1a6b03['push'](_0x3a0b45);}return _0x1a6b03;}[_0x3d4004(0x245)](_0x491aec,_0x26236a,_0x215c7f){return _0x491aec+'\x00'+_0x26236a+'\x00'+_0x215c7f;}[_0x3d4004(0x359)](_0xceebac,_0x20423f){const _0x556dee=_0x3d4004;let _0x18cc15=this[_0x556dee(0x341)][_0x556dee(0x453)](_0x20423f[_0x556dee(0x3e5)],_0x20423f[_0x556dee(0x4c3)],_0x20423f[_0x556dee(0x47c)]),_0x293e12=_0x18cc15==null?void 0x0:_0x18cc15[_0x556dee(0x313)]()[_0x556dee(0x1b7)],_0x4ee980=this[_0x556dee(0x245)](_0x20423f['unitId'],_0x20423f[_0x556dee(0x4c3)],_0x20423f[_0x556dee(0x47c)]);if(_0x293e12){this[_0x556dee(0x3f1)][_0x556dee(0x20d)](_0x20423f,_0x293e12);let _0x5ac6ed=this['_formulaShapes']['get'](_0x4ee980)??new Set();_0x5ac6ed[_0x556dee(0x2e9)](_0xceebac),this['_formulaShapes'][_0x556dee(0x50d)](_0x4ee980,_0x5ac6ed);}else{var _0x47e59f;this[_0x556dee(0x3f1)][_0x556dee(0x548)](_0x20423f),(_0x47e59f=this['_formulaShapes'][_0x556dee(0x584)](_0x4ee980))==null||_0x47e59f[_0x556dee(0x2e4)](_0xceebac);}_0xceebac[_0x556dee(0x491)](_0x293e12?this[_0x556dee(0x3f1)]['getPresentation'](_0x20423f):void 0x0,(_0x293e12==null?void 0x0:_0x293e12[_0x556dee(0x22c)])!==!0x1);}[_0x3d4004(0x2fe)](_0x2601b0){const _0x329b0c=_0x3d4004;let _0x9cf7fb=_0x2601b0['shapeModel'][_0x329b0c(0x313)](),_0x2fa2ff=_0x9cf7fb['fill'];if(!_0x2fa2ff||_0x2fa2ff[_0x329b0c(0x4fd)]!==_0x36e36c[_0x329b0c(0x520)][_0x329b0c(0x2c5)]||!_0x2fa2ff[_0x329b0c(0x336)]){_0x2601b0[_0x329b0c(0x2f5)](void 0x0);return;}this[_0x329b0c(0x464)](_0x2601b0,_0x9cf7fb);}['_loadShapePictureFill'](_0x325666,_0x4a055e){const _0x224ade=_0x3d4004;let _0x4a7c19=_0x4a055e[_0x224ade(0x55a)];if(!_0x4a7c19||_0x4a7c19[_0x224ade(0x4fd)]!==_0x36e36c['ShapeFillEnum'][_0x224ade(0x2c5)]||!_0x4a7c19[_0x224ade(0x336)])return;let _0x1f90e4=_0x4a7c19[_0x224ade(0x336)],_0x3d2b6b=_0x4a7c19['fillImageSourceType']??_0x36e36c[_0x224ade(0x273)][_0x224ade(0x2cd)],_0x283a95=this[_0x224ade(0x29f)][_0x224ade(0x34d)](_0x1f90e4,_0x3d2b6b);if(_0x283a95){_0x325666[_0x224ade(0x2f5)](_0x283a95);return;}return this[_0x224ade(0x1f0)](_0x325666,_0x1f90e4,_0x3d2b6b);}async[_0x3d4004(0x1f0)](_0x32d679,_0x3aa7a9,_0xc465d3){const _0x59d614=_0x3d4004;let _0xc3b9e6;try{if(_0xc465d3===_0x36e36c[_0x59d614(0x273)][_0x59d614(0x586)])_0xc3b9e6=await this[_0x59d614(0x29f)][_0x59d614(0x21f)](_0x3aa7a9);else{if(_0xc465d3===_0x36e36c[_0x59d614(0x273)][_0x59d614(0x2cd)])try{_0xc3b9e6=await this[_0x59d614(0x320)][_0x59d614(0x21f)](_0x3aa7a9);}catch{_0xc3b9e6=_0x3aa7a9;}else _0xc3b9e6=_0x3aa7a9;}}catch(_0x1c766f){console['error'](_0x59d614(0x38b),_0x1c766f);return;}await new Promise(_0x34accf=>{const _0x5a9dce=_0x59d614;let _0x5a3b89=new window['Image']();_0x5a3b89[_0x5a9dce(0x440)]=()=>{const _0xcbd99e=_0x5a9dce;this[_0xcbd99e(0x29f)][_0xcbd99e(0x2e5)](_0x3aa7a9,_0xc465d3,_0x5a3b89),_0x32d679[_0xcbd99e(0x2f5)](_0x5a3b89),_0x34accf();},_0x5a3b89['onerror']=()=>{const _0x55d3aa=_0x5a9dce;console[_0x55d3aa(0x3d5)](_0x55d3aa(0x589),_0x3aa7a9),_0x34accf();},_0x5a3b89[_0x5a9dce(0x527)]=_0xc3b9e6;});}};_0xec3a87=_0x3a2391([_0x4a972c(0x0,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService'])),_0x4a972c(0x2,(0x0,_0x20b6b2['Inject'])(_0x20b6b2[_0x3d4004(0x31f)])),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x4ec)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x360)]),_0x4a972c(0x5,(0x0,_0x20b6b2['Inject'])(_0x590e75[_0x3d4004(0x33b)]))],_0xec3a87);let _0x42bfec=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x1cfaf7,_0x51471f,_0x3ef254,_0x254385,_0x41a8b6,_0x4eb0f8){const _0xb5032d=_0x3d4004;super(),this[_0xb5032d(0x3a6)]=_0x1cfaf7,this[_0xb5032d(0x341)]=_0x51471f,this['_renderManagerService']=_0x3ef254,this[_0xb5032d(0x1b8)]=_0x254385,this['_univerInstanceService']=_0x41a8b6,this[_0xb5032d(0x2d4)]=_0x4eb0f8,_0x212175(this,_0xb5032d(0x3a8),null),_0x212175(this,_0xb5032d(0x1d1),null),_0x212175(this,_0xb5032d(0x240),null),_0x212175(this,_0xb5032d(0x4a9),void 0x0),_0x212175(this,'_shapes',[]),_0x212175(this,_0xb5032d(0x25a),0x0),_0x212175(this,_0xb5032d(0x29d),0x0),_0x212175(this,_0xb5032d(0x4ac),0x0),_0x212175(this,_0xb5032d(0x547),0x0),_0x212175(this,_0xb5032d(0x516),!0x1),_0x212175(this,_0xb5032d(0x4a0),void 0x0),_0x212175(this,_0xb5032d(0x34e),void 0x0),_0x212175(this,_0xb5032d(0x1f6),void 0x0),_0x212175(this,_0xb5032d(0x38a),void 0x0),_0x212175(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0xb5032d(0x471)](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x3c6e50,_0x448e22,_0xaf53d3){const _0x2504b8=_0x3d4004;let _0x22d983=this[_0x2504b8(0x341)][_0x2504b8(0x453)](_0x3c6e50,_0x448e22,_0xaf53d3);if(_0x22d983)return _0x22d983[_0x2504b8(0x57c)]();}[_0x3d4004(0x45b)](){const _0x26b7c2=_0x3d4004;this[_0x26b7c2(0x322)]();}[_0x3d4004(0x574)](){this['_updateShapeAdjustControls'](!0x0);}[_0x3d4004(0x20f)](_0x53df5a){this['_isShouldShowDrawingShapeAdjust']=_0x53df5a;}[_0x3d4004(0x4c7)](_0xff9278,_0x5e788a,_0x459685,_0xfaeea3){const _0x36b781=_0x3d4004;let _0x9f22b0=this[_0x36b781(0x341)][_0x36b781(0x453)](_0xff9278,_0x5e788a,_0x459685);if(_0x9f22b0)return _0x9f22b0['getAdjustInfoByName'](_0xfaeea3);}[_0x3d4004(0x53d)](_0x3111c3=!0x1){const _0x349e80=_0x3d4004;if(this[_0x349e80(0x1d1)]===null||this['_subUnitId']===null||this[_0x349e80(0x3a8)]===null)return;let _0x302b78=this[_0x349e80(0x35d)][_0x349e80(0x3ab)](this['_unitId']);if(!_0x302b78||!_0x302b78[_0x349e80(0x33c)](_0x5aa18a[_0x349e80(0x555)])[_0x349e80(0x2bf)]())return;let {scene:_0x959d49}=_0x302b78,_0x3ebe68={'unitId':this[_0x349e80(0x1d1)],'subUnitId':this[_0x349e80(0x240)],'drawingId':this[_0x349e80(0x3a8)]},_0x79cae8=this[_0x349e80(0x3a6)][_0x349e80(0x291)](_0x3ebe68),{transform:_0x251384}=_0x79cae8;if(!_0x251384||_0x79cae8[_0x349e80(0x2c8)]!==_0x20b6b2[_0x349e80(0x284)]['DRAWING_SHAPE'])return;let {left:_0x5a5b67,top:_0x2e6c79,width:_0x57638d,height:_0xa1bbf1,flipX:_0x4895b2,flipY:_0x47e130,angle:_0x2a0b54=0x0}=_0x251384;if(_0x5a5b67===void 0x0||_0x2e6c79===void 0x0)return;if(_0x3111c3){let _0x1305ed=this[_0x349e80(0x341)][_0x349e80(0x453)](this[_0x349e80(0x1d1)],this[_0x349e80(0x240)],this[_0x349e80(0x3a8)]);_0x1305ed==null||_0x1305ed[_0x349e80(0x4d2)]({'width':_0x57638d??0x0,'height':_0xa1bbf1??0x0}),this[_0x349e80(0x4a9)]=_0x1305ed==null?void 0x0:_0x1305ed[_0x349e80(0x57c)]();}let _0x2fc500=this[_0x349e80(0x4a9)];for(let _0x1876ce=0x0;_0x1876ce<_0x2fc500[_0x349e80(0x1ed)];_0x1876ce++){let _0x1c22ed=_0x2fc500[_0x1876ce],_0x29c8a1=_0x1c22ed['x'],_0x2fbcf1=_0x1c22ed['y'];if(_0x4895b2&&(_0x29c8a1=(_0x57638d||0x0)-_0x29c8a1),_0x47e130&&(_0x2fbcf1=(_0xa1bbf1||0x0)-_0x2fbcf1),_0x2a0b54!==0x0){let _0x51bc01=(_0x57638d||0x0)/0x2,_0x1c28cc=(_0xa1bbf1||0x0)/0x2,_0x4d1ce1=_0x2a0b54*Math['PI']/0xb4,_0x41b998=Math['cos'](_0x4d1ce1),_0x1b5fa9=Math[_0x349e80(0x28c)](_0x4d1ce1),_0x358983=_0x29c8a1-_0x51bc01,_0x4a4846=_0x2fbcf1-_0x1c28cc;_0x29c8a1=_0x51bc01+(_0x358983*_0x41b998-_0x4a4846*_0x1b5fa9),_0x2fbcf1=_0x1c28cc+(_0x358983*_0x1b5fa9+_0x4a4846*_0x41b998);}let _0x40db77={'x':_0x29c8a1,'y':_0x2fbcf1,'adjName':_0x1c22ed[_0x349e80(0x536)]};this[_0x349e80(0x4d9)](_0x959d49,_0x40db77,_0x40db77[_0x349e80(0x536)],_0x5a5b67,_0x2e6c79,this[_0x349e80(0x1d1)],this[_0x349e80(0x240)]);}}[_0x3d4004(0x4e4)](_0x30ffab=!0x1){const _0x42ec50=_0x3d4004;_0x30ffab&&(this[_0x42ec50(0x322)](),this[_0x42ec50(0x53d)](_0x30ffab));}['_addShapeAdjustControl'](_0x5efecb,_0xfa8f55,_0x4cff5b,_0x565e3e,_0x79a762,_0x506ffb,_0x37f56b){const _0x539fd7=_0x3d4004;if(!this['_activeShapeId'])return;let _0x3784f9=_0x5efecb[_0x539fd7(0x1fe)]('shape-adjust-point-'+this[_0x539fd7(0x3a8)]+'-'+_0x4cff5b);if(_0x3784f9){_0x3784f9[_0x539fd7(0x40d)]({'left':_0xfa8f55['x']+_0x565e3e-_0x36e36c['ShapeDefaultConfig'][_0x539fd7(0x445)],'top':_0xfa8f55['y']+_0x79a762-_0x36e36c['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x254490={'left':_0xfa8f55['x']+_0x565e3e-_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)],'top':_0xfa8f55['y']+_0x79a762-_0x36e36c[_0x539fd7(0x543)]['adjHandleSize'],'adjName':_0x4cff5b,'shapeId':this[_0x539fd7(0x3a8)],'unitId':_0x506ffb,'subUnitId':_0x37f56b,'width':_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)]+0x8,'height':_0x36e36c[_0x539fd7(0x543)][_0x539fd7(0x445)]+0x8,'zIndex':_0x2e0941[_0x539fd7(0x33e)]+0x1,'evented':!0x0},_0x410cf4=new _0x3ccc58('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x4cff5b,_0x254490);this[_0x539fd7(0x404)]['push'](_0x410cf4),this[_0x539fd7(0x3ad)](_0x410cf4,_0x5efecb,_0x4cff5b),_0x5efecb['addObject'](_0x410cf4,_0x2e0941[_0x539fd7(0x33e)]+0x1);}[_0x3d4004(0x322)](){const _0x3d612f=_0x3d4004;this[_0x3d612f(0x404)][_0x3d612f(0x1ed)]!==0x0&&(this[_0x3d612f(0x404)][_0x3d612f(0x39d)](_0x7faec0=>{const _0x1cd34b=_0x3d612f;_0x7faec0[_0x1cd34b(0x4fe)]();}),this['_shapes']=[]);}[_0x3d4004(0x56e)](){const _0x5ea5ca=_0x3d4004;this[_0x5ea5ca(0x53d)]();}[_0x3d4004(0x28f)](_0x45f44b,_0x33a1bb){const _0x49826b=_0x3d4004;var _0xafaa32;let _0x16a3ae={'x':0x0,'y':0x0};if(!_0x45f44b||!_0x33a1bb)return _0x16a3ae;let _0x23d3df=this[_0x49826b(0x35d)][_0x49826b(0x3ab)](_0x45f44b);if(!_0x23d3df||!_0x23d3df[_0x49826b(0x33c)](_0x5aa18a[_0x49826b(0x555)])['getSkeleton'](_0x33a1bb))return _0x16a3ae;let _0x45365b=_0x23d3df['with'](_0x5aa18a[_0x49826b(0x382)]),_0x308760=_0x45365b==null?void 0x0:_0x45365b[_0x49826b(0x280)]();if(!_0x308760)return _0x16a3ae;let _0x22b399=(_0xafaa32=this[_0x49826b(0x1cc)][_0x49826b(0x264)](_0x45f44b))==null?void 0x0:_0xafaa32[_0x49826b(0x343)](_0x33a1bb);if(!_0x22b399)return _0x16a3ae;let _0x3c1046=(0x0,_0x5aa18a[_0x49826b(0x32e)])(_0x308760[_0x49826b(0x30a)],_0x308760[_0x49826b(0x4f5)],_0x23d3df['scene'],_0x22b399);return _0x3c1046?{'x':_0x3c1046['viewportScrollX'],'y':_0x3c1046[_0x49826b(0x252)]}:_0x16a3ae;}['_getZoomRatio'](_0x2ee75f,_0x4dccf1){const _0x5f0c3b=_0x3d4004;var _0x25ecd5;let _0x1cff00=(_0x25ecd5=this['_univerInstanceService']['getUnit'](_0x2ee75f))==null?void 0x0:_0x25ecd5[_0x5f0c3b(0x343)](_0x4dccf1);return(_0x1cff00==null?void 0x0:_0x1cff00[_0x5f0c3b(0x48d)]())??0x1;}[_0x3d4004(0x3ad)](_0x366cb3,_0x957de8,_0xd8a0a){const _0x1c8d12=_0x3d4004;this[_0x1c8d12(0x301)]((0x0,_0x20b6b2['toDisposable'])(_0x366cb3[_0x1c8d12(0x4ad)][_0x1c8d12(0x306)]((_0x46a309,_0x2366fe)=>{const _0x958124=_0x1c8d12;var _0x5eeead,_0x4c2420,_0x4ae2e6,_0x3d9f80;let _0x2e7522=_0x366cb3[_0x958124(0x289)]();this[_0x958124(0x4a0)]=this['_getShapeAdjustInfosById'](_0x2e7522[_0x958124(0x3e5)],_0x2e7522[_0x958124(0x4c3)],_0x2e7522[_0x958124(0x354)],_0xd8a0a),this[_0x958124(0x34e)]=this[_0x958124(0x341)][_0x958124(0x453)](_0x2e7522[_0x958124(0x3e5)],_0x2e7522[_0x958124(0x4c3)],_0x2e7522[_0x958124(0x354)]);let _0x43c707=this[_0x958124(0x3a6)][_0x958124(0x291)]({'unitId':this['_unitId'],'subUnitId':this[_0x958124(0x240)],'drawingId':this['_activeShapeId']}),{transform:_0x526731}=_0x43c707;if(_0x526731){let {left:_0xf41e7f,top:_0x5a013d,width:_0x58b0f1,height:_0x3cf7e2}=_0x526731;this['_baseShapeLeft']=_0xf41e7f||0x0,this[_0x958124(0x29d)]=_0x5a013d||0x0,this[_0x958124(0x4ac)]=_0x58b0f1||0x0,this[_0x958124(0x547)]=_0x3cf7e2||0x0;}let _0x3b6cc6=!!((_0x5eeead=_0x43c707[_0x958124(0x3be)])!=null&&_0x5eeead[_0x958124(0x2a5)]),_0x4dab6f=!!((_0x4c2420=_0x43c707[_0x958124(0x3be)])!=null&&_0x4c2420[_0x958124(0x46a)]),_0x148cf3=((_0x4ae2e6=_0x43c707['transform'])==null?void 0x0:_0x4ae2e6[_0x958124(0x228)])||0x0;this[_0x958124(0x516)]=!0x0,_0x957de8[_0x958124(0x514)]();let _0x184e79={...((_0x3d9f80=this[_0x958124(0x4a0)])==null?void 0x0:_0x3d9f80['currentAdjustValues'])??{}};this[_0x958124(0x1f6)]=_0x957de8[_0x958124(0x2bd)][_0x958124(0x306)]((_0x249eb9,_0x3e48fe)=>{const _0x30bdc9=_0x958124;if(!this[_0x30bdc9(0x516)])return;let {offsetX:_0x153a90,offsetY:_0x1eea8d}=_0x249eb9,_0x1ef662=this[_0x30bdc9(0x4a0)];if(this[_0x30bdc9(0x34e)]&&_0x1ef662){_0x957de8[_0x30bdc9(0x514)](),_0x957de8[_0x30bdc9(0x4e8)](_0x2e0941['CURSOR_TYPE']['CROSSHAIR']);let _0x33d5f5={'left':0x0,'top':0x0,'width':this[_0x30bdc9(0x4ac)],'height':this[_0x30bdc9(0x547)]},_0x3024c9=this[_0x30bdc9(0x28f)](this['_unitId'],this['_subUnitId']),_0x4bb393=this[_0x30bdc9(0x373)](this[_0x30bdc9(0x1d1)],this[_0x30bdc9(0x240)]),_0x3913de=_0x153a90/_0x4bb393+_0x3024c9['x']-this['_baseShapeLeft'],_0x534c4a=_0x1eea8d/_0x4bb393+_0x3024c9['y']-this['_baseShapeTop'];if(_0x148cf3!==0x0){let _0x20e349=this[_0x30bdc9(0x4ac)]/0x2,_0x35e55a=this['_baseShapeHeight']/0x2,_0x455c66=_0x148cf3*Math['PI']/0xb4,_0x57f835=Math[_0x30bdc9(0x33a)](_0x455c66),_0x56bf24=Math[_0x30bdc9(0x28c)](_0x455c66),_0x4c6e82=_0x3913de-_0x20e349,_0x14420c=_0x534c4a-_0x35e55a;_0x3913de=_0x20e349+(_0x4c6e82*_0x57f835+_0x14420c*_0x56bf24),_0x534c4a=_0x35e55a+(-_0x4c6e82*_0x56bf24+_0x14420c*_0x57f835);}_0x3b6cc6&&(_0x3913de=this[_0x30bdc9(0x4ac)]-_0x3913de),_0x4dab6f&&(_0x534c4a=this['_baseShapeHeight']-_0x534c4a);let _0x3609c8={'x':_0x3913de,'y':_0x534c4a},_0x25aead=this['_activeShapeModel'][_0x30bdc9(0x4a3)](_0x33d5f5,_0x3609c8,_0x1ef662,_0x3b6cc6,_0x4dab6f);if(Object[_0x30bdc9(0x3a0)](_0x25aead)[_0x30bdc9(0x1ed)]===0x0)return;for(let [_0xf4401d,_0x387199]of Object['entries'](_0x25aead))this[_0x30bdc9(0x34e)][_0x30bdc9(0x498)](_0xf4401d,_0x387199);this[_0x30bdc9(0x34e)]['updateContext']({'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']});let _0x492d7b=this[_0x30bdc9(0x3a6)][_0x30bdc9(0x291)]({'unitId':_0x2e7522[_0x30bdc9(0x3e5)],'subUnitId':_0x2e7522[_0x30bdc9(0x4c3)],'drawingId':_0x2e7522['drawingId']});_0x492d7b&&(this[_0x30bdc9(0x1b8)][_0x30bdc9(0x3c6)](_0x492d7b,_0x957de8),this[_0x30bdc9(0x4a9)]=this['_getShapeAdjustPointListById'](_0x2e7522[_0x30bdc9(0x3e5)],_0x2e7522['subUnitId'],_0x2e7522[_0x30bdc9(0x354)]),this['_updateAdjustControlPositions']());}_0x3e48fe[_0x30bdc9(0x31e)]();}),this[_0x958124(0x38a)]=_0x957de8[_0x958124(0x421)][_0x958124(0x306)]((_0x246cf2,_0x41094b)=>{const _0x38c58f=_0x958124;this[_0x38c58f(0x1f6)][_0x38c58f(0x205)](),this[_0x38c58f(0x38a)][_0x38c58f(0x205)](),_0x957de8['resetCursor']();let _0x32dca8=this['_activeAdjustInfo'];if(_0x32dca8){let _0x11fcf9=_0x2e7522[_0x38c58f(0x3e5)],_0x16f44=_0x2e7522[_0x38c58f(0x4c3)],_0x4832c4=_0x2e7522[_0x38c58f(0x354)],_0x2d20e3={};for(let _0x23a6e3 of Object[_0x38c58f(0x3a0)](_0x32dca8[_0x38c58f(0x3b1)])){var _0x5422c8;let _0x21ae45=(_0x5422c8=this['_activeShapeModel'])==null?void 0x0:_0x5422c8[_0x38c58f(0x22f)](_0x23a6e3);_0x21ae45!==void 0x0&&(_0x2d20e3[_0x23a6e3]=_0x21ae45);}Object[_0x38c58f(0x3a0)](_0x2d20e3)['length']>0x0&&_0x118498(this['_commandService'],_0x11fcf9,_0x16f44,_0x4832c4,{'oldShapeData':{'adjustValues':_0x184e79}},{'adjustValues':_0x2d20e3});}this['_activeAdjustInfo']=void 0x0,this[_0x38c58f(0x34e)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x41094b[_0x38c58f(0x31e)](),_0x957de8[_0x38c58f(0x262)]();}),_0x2366fe[_0x958124(0x31e)]();})));}[_0x3d4004(0x2df)](){const _0x16557e=_0x3d4004;let _0x322253=this[_0x16557e(0x1cc)][_0x16557e(0x27a)](_0x20b6b2[_0x16557e(0x257)][_0x16557e(0x2bb)]);this[_0x16557e(0x301)](_0x322253[_0x16557e(0x259)]((0x0,_0x1008b8['switchMap'])(_0x57a3cd=>_0x57a3cd?_0x57a3cd[_0x16557e(0x52c)][_0x16557e(0x259)]((0x0,_0x1008b8[_0x16557e(0x352)])(_0x33829e=>{const _0x36a252=_0x16557e;if(!_0x33829e)return _0x1008b8[_0x36a252(0x595)];let _0x31c936=_0x57a3cd[_0x36a252(0x576)](),_0x51849a=this['_renderManagerService'][_0x36a252(0x3ab)](_0x31c936),_0xf63321=_0x51849a==null?void 0x0:_0x51849a[_0x36a252(0x4f2)];return _0xf63321?(0x0,_0x1008b8['of'])(_0xf63321):_0x1008b8[_0x36a252(0x595)];})):_0x1008b8[_0x16557e(0x595)]))[_0x16557e(0x448)](_0x7d9a8f=>{const _0x46f567=_0x16557e;let _0x36a437=_0x7d9a8f['getTransformerByCreate']();this[_0x46f567(0x301)](_0x7d9a8f[_0x46f567(0x2bd)][_0x46f567(0x306)](()=>{const _0x413086=_0x46f567;this[_0x413086(0x376)];})),this[_0x46f567(0x301)](_0x36a437[_0x46f567(0x2ad)][_0x46f567(0x448)](_0x522d02=>{const _0x2ea19a=_0x46f567;let {objects:_0x20a7a7}=_0x522d02;this[_0x2ea19a(0x53d)](),_0x20a7a7!==null&&_0x20a7a7[_0x2ea19a(0x236)]===0x1&&_0x20a7a7[_0x2ea19a(0x1ff)]()['next']()['value']instanceof _0x2caaad&&this[_0x2ea19a(0x20f)](!0x0);})),this[_0x46f567(0x301)](_0x36a437['changing$'][_0x46f567(0x448)](()=>{const _0x157988=_0x46f567;this[_0x157988(0x376)]&&this[_0x157988(0x322)]();})),this[_0x46f567(0x301)](_0x7d9a8f[_0x46f567(0x421)]['subscribeEvent'](()=>{const _0xcd74e4=_0x46f567;this[_0xcd74e4(0x376)]&&(this[_0xcd74e4(0x20f)](!0x1),this['_createShapeAdjustControls']());})),this[_0x46f567(0x301)](_0x36a437['changeEnd$']['subscribe'](()=>{const _0x44e2c3=_0x46f567;this[_0x44e2c3(0x1d1)]&&this[_0x44e2c3(0x240)]&&this[_0x44e2c3(0x3a8)]&&this[_0x44e2c3(0x3a6)][_0x44e2c3(0x291)]({'unitId':this[_0x44e2c3(0x1d1)],'subUnitId':this[_0x44e2c3(0x240)],'drawingId':this[_0x44e2c3(0x3a8)]})&&(this[_0x44e2c3(0x4a9)]=this[_0x44e2c3(0x485)](this[_0x44e2c3(0x1d1)],this[_0x44e2c3(0x240)],this['_activeShapeId']),this[_0x44e2c3(0x56e)]());}));}));}[_0x3d4004(0x471)](){const _0x8501e2=_0x3d4004;this[_0x8501e2(0x301)](this[_0x8501e2(0x2d4)][_0x8501e2(0x47a)](_0x3801a4=>{const _0x28202d=_0x8501e2;if(_0x3801a4['id']!==_0x3c17ec[_0x28202d(0x1fa)]['id'])return;let {unitId:_0x56d8b4,subUnitId:_0x106b0d,shapeId:_0x42dbf8}=_0x3801a4['params'];_0x56d8b4===this[_0x28202d(0x1d1)]&&_0x106b0d===this[_0x28202d(0x240)]&&_0x42dbf8===this[_0x28202d(0x3a8)]&&this[_0x28202d(0x574)]();})),this[_0x8501e2(0x301)](this[_0x8501e2(0x3a6)][_0x8501e2(0x47d)][_0x8501e2(0x448)](_0x40e8b3=>{const _0x542722=_0x8501e2;if(_0x40e8b3[_0x542722(0x1ed)]===0x1){let _0x39ce2c=_0x40e8b3[0x0];if(_0x39ce2c[_0x542722(0x2c8)]===_0x20b6b2[_0x542722(0x284)][_0x542722(0x364)]&&this[_0x542722(0x1cc)][_0x542722(0x3f6)](_0x39ce2c['unitId'])===_0x20b6b2[_0x542722(0x257)][_0x542722(0x2bb)]){this['_activeShapeId']=_0x39ce2c[_0x542722(0x354)];let {unitId:_0x47c624,subUnitId:_0xa3bd63}=_0x39ce2c;this[_0x542722(0x4a9)]=this[_0x542722(0x485)](_0x47c624,_0xa3bd63,this[_0x542722(0x3a8)]),this[_0x542722(0x1d1)]=_0x47c624,this[_0x542722(0x240)]=_0xa3bd63,this[_0x542722(0x322)](),this['_createShapeAdjustControls']();return;}}this[_0x542722(0x3a8)]=null,this[_0x542722(0x4a9)]=void 0x0,this[_0x542722(0x1d1)]=null,this[_0x542722(0x240)]=null,this[_0x542722(0x322)]();})),this['disposeWithMe'](this[_0x8501e2(0x3a6)][_0x8501e2(0x20a)]['subscribe'](_0x216348=>{const _0x230d5f=_0x8501e2;if(_0x216348[_0x230d5f(0x1ed)]===0x1){var _0x33f70a;let _0x203544=_0x216348[0x0];((_0x33f70a=this[_0x230d5f(0x3a6)][_0x230d5f(0x291)](_0x203544))==null?void 0x0:_0x33f70a[_0x230d5f(0x2c8)])===_0x20b6b2[_0x230d5f(0x284)]['DRAWING_SHAPE']&&this[_0x230d5f(0x4e4)](!0x0);}})),this[_0x8501e2(0x301)](this['_drawingManagerService'][_0x8501e2(0x52d)][_0x8501e2(0x448)](_0x1fae06=>{const _0x5726ee=_0x8501e2;for(let _0x4a7c49 of _0x1fae06)this[_0x5726ee(0x3a8)]===_0x4a7c49['drawingId']&&(this[_0x5726ee(0x3a8)]=null,this[_0x5726ee(0x4a9)]=void 0x0,this[_0x5726ee(0x1d1)]=null,this[_0x5726ee(0x240)]=null,this[_0x5726ee(0x322)]());}));}};_0x42bfec=_0x3a2391([_0x4a972c(0x0,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87)),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x5,_0x20b6b2['ICommandService'])],_0x42bfec);let _0x473d36={'id':_0x3d4004(0x308),'type':_0x20b6b2['CommandType']['OPERATION'],'handler':(_0x214cd9,_0x54f308)=>{const _0x46fd7f=_0x3d4004;let _0x17c1d1=_0x214cd9[_0x46fd7f(0x584)](_0x3a44e9[_0x46fd7f(0x567)]),_0x1f992b=_0x214cd9['get'](_0x2e0941[_0x46fd7f(0x565)]),_0x113a64=_0x214cd9[_0x46fd7f(0x584)](_0x42bfec);if(_0x54f308==null)return!0x0;if(_0x54f308['length']>0x0){var _0x426acb;let _0xaa8779=(_0x426acb=_0x1f992b[_0x46fd7f(0x3ab)](_0x54f308[0x0]['unitId']))==null?void 0x0:_0x426acb[_0x46fd7f(0x4f2)];if(_0xaa8779){let {unitId:_0x12fc17,subUnitId:_0x2aa677,drawingId:_0xd2ed22}=_0x54f308[0x0],_0x282f6b=(0x0,_0x3a44e9[_0x46fd7f(0x2a1)])({'unitId':_0x12fc17,'subUnitId':_0x2aa677,'drawingId':_0xd2ed22},void 0x0),_0xdfe5a3=_0xaa8779[_0x46fd7f(0x1fe)](_0x282f6b);if(_0xdfe5a3){var _0xc663f1;(_0xc663f1=_0x1f992b[_0x46fd7f(0x3ab)](_0x54f308[0x0][_0x46fd7f(0x3e5)]))==null||(_0xc663f1=_0xc663f1[_0x46fd7f(0x4f2)][_0x46fd7f(0x3c7)]())==null||_0xc663f1['activeAnObject'](_0xdfe5a3);}}_0x17c1d1[_0x46fd7f(0x489)](_0x54f308),_0x113a64[_0x46fd7f(0x20f)](!0x1);}return!0x0;}},_0x4e8acc={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'id':'sheet.command.menu-insert-shape','handler':async(_0x44ba12,_0x80a775)=>{const _0x453b81=_0x3d4004;let _0x549a8d=(0x0,_0x3a78b8['getSheetCommandTarget'])(_0x44ba12[_0x453b81(0x584)](_0x20b6b2[_0x453b81(0x43b)]));if(!_0x549a8d)return!0x1;let _0x1a2907=_0x44ba12[_0x453b81(0x584)](_0x3a78b8[_0x453b81(0x1db)])['getCurrentLastSelection']();if(!_0x1a2907)return!0x1;let _0x12d83f=_0x44ba12[_0x453b81(0x584)](_0x20b6b2[_0x453b81(0x38e)]),{unitId:_0x442ab5,subUnitId:_0xbe500a}=_0x549a8d,{value:_0x131cfd,enhanceParams:_0x47a11b}=_0x80a775,{range:_0x349522}=_0x1a2907,_0x515fbc={'unitId':_0x442ab5,'subUnitId':_0xbe500a,'shapeType':_0x131cfd,'range':_0x349522,'shapeId':(0x0,_0x20b6b2[_0x453b81(0x293)])()};if(_0x47a11b){let _0x224102=(0x0,_0x36e36c[_0x453b81(0x52a)])(_0x131cfd),_0x58d031=_0x131cfd===_0x36e36c[_0x453b81(0x3e0)][_0x453b81(0x2da)];_0x224102&&(_0x47a11b[_0x453b81(0x528)]||_0x47a11b[_0x453b81(0x2aa)])&&(_0x515fbc[_0x453b81(0x224)]={'ln':{'startArrow':_0x47a11b[_0x453b81(0x528)]?{'type':_0x36e36c['ShapeArrowTypeEnum'][_0x453b81(0x34b)],'size':_0x36e36c[_0x453b81(0x36d)]['Medium']}:void 0x0,'endArrow':_0x47a11b[_0x453b81(0x2aa)]?{'type':_0x36e36c[_0x453b81(0x51a)][_0x453b81(0x34b)],'size':_0x36e36c[_0x453b81(0x36d)]['Large']}:void 0x0}}),_0x58d031&&(_0x47a11b[_0x453b81(0x566)]||_0x47a11b['vertical'])&&(_0x515fbc['shapeData']=(0x0,_0x590e75[_0x453b81(0x4c8)])({'fill':{'fillType':_0x36e36c['ShapeFillEnum'][_0x453b81(0x4ab)],'color':'#FFFFFF'},'isHorizontal':!!_0x47a11b[_0x453b81(0x566)],'stroke':{'lineStrokeType':_0x36e36c[_0x453b81(0x56d)]['SolidLine'],'width':0x1,'color':'#bcbcbc'}}));}let _0x12b7ae=_0x12d83f[_0x453b81(0x340)](_0x3c17ec[_0x453b81(0x233)]['id'],_0x515fbc);return setTimeout(()=>{_0x12d83f['executeCommand'](_0x473d36['id'],[{'unitId':_0x442ab5,'subUnitId':_0xbe500a,'drawingId':_0x515fbc['shapeId']}]);},0xc8),_0x12b7ae;}},_0x1dded7=_0x3d4004(0x367),_0x3b993f=_0x3d4004(0x3ff),_0x1304ff=_0x3d4004(0x436),_0x214f37=_0x3d4004(0x1d0),_0x21169e=(0x0,_0x20b6b2[_0x3d4004(0x223)])(_0x3d4004(0x247)),_0xadef8f=_0x3d4004(0x466),_0x20ee6f={'id':_0x3d4004(0x3d8),'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x2ea)],'handler':(_0x422b20,_0x2579ca)=>{const _0x3f14b4=_0x3d4004;let _0x31c2a9=_0x422b20[_0x3f14b4(0x584)](_0xc5cac3['ISidebarService']),_0x12de55=_0x422b20['get'](_0x20b6b2[_0x3f14b4(0x31f)]),_0x3c4461=_0x422b20[_0x3f14b4(0x584)](_0x20b6b2[_0x3f14b4(0x43b)]),_0x387295=_0x422b20[_0x3f14b4(0x584)](_0x20b6b2[_0x3f14b4(0x38e)]);return(0x0,_0x3a78b8['getSheetCommandTarget'])(_0x3c4461)?(_0x2579ca==null?void 0x0:_0x2579ca[_0x3f14b4(0x405)])===_0x3f14b4(0x4e2)?(_0x31c2a9[_0x3f14b4(0x4e2)](_0x3b993f),!0x0):(_0x31c2a9['open']({'id':_0x3b993f,'header':{'title':_0x12de55['t'](_0x3f14b4(0x269))},'children':{'label':_0x3b993f},'onClose':()=>{const _0x10825e=_0x3f14b4;_0x387295[_0x10825e(0x340)](_0x3a44e9[_0x10825e(0x456)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x2f6589={'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x3e6)],'id':_0x3d4004(0x37b),'handler'(){return!0x0;}};function _0x586242(_0x3616ed){const _0x1acfce=_0x3d4004;let _0x20ec3f=_0x3616ed[_0x1acfce(0x584)](_0x3a44e9[_0x1acfce(0x567)])[_0x1acfce(0x505)](),_0x3e04ca=_0x20ec3f['length']===0x1?_0x20ec3f[0x0]:null;if(!_0x3e04ca||_0x3e04ca[_0x1acfce(0x2c8)]!==_0x20b6b2['DrawingTypeEnum'][_0x1acfce(0x364)])return null;let _0xd55272=_0x3616ed[_0x1acfce(0x584)](_0x3c17ec[_0x1acfce(0x3e2)]),_0x5dd317=_0xd55272[_0x1acfce(0x2ec)](_0x3e04ca[_0x1acfce(0x3e5)],_0x3e04ca['subUnitId'],_0x3e04ca['drawingId']),_0x7a1452=_0xd55272[_0x1acfce(0x51d)](_0x3e04ca['unitId'],_0x3e04ca[_0x1acfce(0x4c3)],_0x3e04ca[_0x1acfce(0x354)]);return _0x5dd317===void 0x0||!_0x7a1452?null:{'drawing':_0x3e04ca,'shapeData':_0x7a1452,'shapeType':_0x5dd317};}let _0x50782f={'id':_0x3d4004(0x47b),'type':_0x20b6b2[_0x3d4004(0x22e)][_0x3d4004(0x3e6)],'handler':(_0xb98150,_0x1aa945)=>{const _0x4767cc=_0x3d4004;let _0x2d6fa6=_0x586242(_0xb98150),_0x28b414=(0x0,_0x590e75[_0x4767cc(0x587)])((_0x1aa945==null?void 0x0:_0x1aa945['presetId'])??(_0x1aa945==null?void 0x0:_0x1aa945['value'])??'');if(!_0x2d6fa6||!_0x28b414||_0x28b414['type']!==(0x0,_0x590e75[_0x4767cc(0x553)])(_0x2d6fa6[_0x4767cc(0x224)]))return!0x1;let _0x46da89=(0x0,_0x590e75['applyQuickStyleToShapeData'])(_0x2d6fa6[_0x4767cc(0x224)],_0x28b414);if(!_0x46da89)return!0x1;let {drawing:_0x9bd862}=_0x2d6fa6;return _0xb98150['get'](_0x20b6b2[_0x4767cc(0x38e)])[_0x4767cc(0x447)](_0x34371e['id'],{'unitId':_0x9bd862['unitId'],'subUnitId':_0x9bd862['subUnitId'],'shapeId':_0x9bd862[_0x4767cc(0x354)],'shapeData':_0x46da89,'oldShapeJSON':{'oldShapeData':_0x2d6fa6[_0x4767cc(0x224)]}});}},_0x4d4881={'id':_0x3d4004(0x492),'type':_0x20b6b2[_0x3d4004(0x22e)]['OPERATION'],'handler':(_0x16ed92,_0x280bb9)=>{const _0x5ac4b6=_0x3d4004;let _0x393197=_0x586242(_0x16ed92),_0x504e57=(_0x280bb9==null?void 0x0:_0x280bb9[_0x5ac4b6(0x44e)])??(_0x280bb9==null?void 0x0:_0x280bb9[_0x5ac4b6(0x405)]);if(!_0x393197||!_0x504e57||(0x0,_0x36e36c[_0x5ac4b6(0x52a)])(_0x393197[_0x5ac4b6(0x44e)])||(0x0,_0x36e36c[_0x5ac4b6(0x52a)])(_0x504e57))return!0x1;let _0x297b90=(0x0,_0x590e75['cloneShapeDataForType'])(_0x393197[_0x5ac4b6(0x224)],_0x504e57);if(!_0x297b90)return!0x1;let {drawing:_0x8032d6}=_0x393197;return _0x16ed92[_0x5ac4b6(0x584)](_0x20b6b2['ICommandService'])[_0x5ac4b6(0x447)](_0x34371e['id'],{'unitId':_0x8032d6[_0x5ac4b6(0x3e5)],'subUnitId':_0x8032d6[_0x5ac4b6(0x4c3)],'shapeId':_0x8032d6[_0x5ac4b6(0x354)],'shapeType':_0x504e57,'shapeData':_0x297b90,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x393197[_0x5ac4b6(0x44e)],'oldShapeData':_0x393197[_0x5ac4b6(0x224)]}});}},_0x344ad8=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4e0622,_0x7f89ce){const _0x4ee070=_0x3d4004;super(),this[_0x4ee070(0x350)]=_0x4e0622,this[_0x4ee070(0x3a6)]=_0x7f89ce,this[_0x4ee070(0x593)](),this[_0x4ee070(0x350)][_0x4ee070(0x3f3)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x4ee070(0x350)]['setCanUseShapeClip'](!0x1)});}[_0x3d4004(0x593)](){const _0x48723c=_0x3d4004;let _0x13c3bc=this[_0x48723c(0x350)],_0x61956a=new Map(),_0x343875=_0x13c3bc[_0x48723c(0x1ba)]((_0x38735e,_0x29a33a,_0x394562,_0x2b6319,_0xd99e5c)=>{const _0x38766c=_0x48723c;let _0x160c10=_0x29a33a;if(_0x160c10===_0x36e36c[_0x38766c(0x3e0)][_0x38766c(0x44c)]||_0x29a33a===_0x38766c(0x43f))return!0x1;try{let _0x2db7cb=_0x61956a['get'](_0x29a33a);return _0x2db7cb||(_0x2db7cb=new _0x36e36c[(_0x38766c(0x22a))](_0x160c10,_0x38766c(0x43c)+_0x29a33a),_0x61956a[_0x38766c(0x50d)](_0x29a33a,_0x2db7cb)),_0x2db7cb[_0x38766c(0x4ae)](),_0xd99e5c&&Object['keys'](_0xd99e5c)[_0x38766c(0x1ed)]>0x0&&_0x2db7cb[_0x38766c(0x49c)]({'adjustValues':_0xd99e5c},!0x0),_0x2db7cb[_0x38766c(0x4d2)]({'width':_0x394562,'height':_0x2b6319}),_0x2db7cb[_0x38766c(0x357)](_0x38735e,{'left':0x0,'top':0x0,'width':_0x394562,'height':_0x2b6319});}catch{return!0x1;}});this[_0x48723c(0x301)](_0x343875),this[_0x48723c(0x301)]({'dispose':()=>_0x61956a['clear']()});}[_0x3d4004(0x422)](_0x3448cc,_0x439c60,_0x3daf6a,_0x2ea35c,_0x15e401){const _0x48793c=_0x3d4004;let _0x1ba0bd=this['_drawingManagerService'][_0x48793c(0x3c5)](_0x3448cc,_0x439c60);if(!_0x1ba0bd[_0x3daf6a])return;let _0x43db02={..._0x1ba0bd[_0x3daf6a],'prstGeom':_0x2ea35c,'adjustValues':_0x15e401};this[_0x48793c(0x3a6)][_0x48793c(0x426)]([_0x43db02]);}};_0x344ad8=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x42ecb7[_0x3d4004(0x455)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a44e9[_0x3d4004(0x567)]))],_0x344ad8);let _0x5360d6=_0x3d4004(0x242),_0x22252c='sheet.image-clip.shape-picker.component';function _0x4281c1({onShapeClick:_0x11c866,excludeGroups:_0x54dd85}){const _0x26a62a=_0x3d4004;return(0x0,_0x132e2c[_0x26a62a(0x305)])(_0x21b2c0['ShapePickerPanel'],{'excludeGroups':_0x54dd85,'onShapeClick':_0x11c866,'scrollContainer':'parent'});}function _0x4b7cd0(){const _0x27d6dc=_0x3d4004;let _0x1b8197=(0x0,_0xc5cac3['useDependency'])(_0x3a44e9['IDrawingManagerService']),_0x1a9796=(0x0,_0xc5cac3[_0x27d6dc(0x48e)])(_0x344ad8);return(0x0,_0x132e2c[_0x27d6dc(0x305)])(_0x21b2c0['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x21b2c0[_0x27d6dc(0x53a)][_0x27d6dc(0x37f)]],'onShapeClick':_0x7b4728=>{const _0x4fdc65=_0x27d6dc;let _0x4cede4=_0x1b8197[_0x4fdc65(0x505)]()[_0x4fdc65(0x1f4)](_0x5cb055=>_0x5cb055[_0x4fdc65(0x2c8)]===_0x20b6b2[_0x4fdc65(0x284)][_0x4fdc65(0x457)]);if(!_0x4cede4)return;let {unitId:_0x715e57,subUnitId:_0x5bb4f8,drawingId:_0x1e4eb0}=_0x4cede4;_0x1a9796[_0x4fdc65(0x422)](_0x715e57,_0x5bb4f8,_0x1e4eb0,_0x7b4728[_0x4fdc65(0x541)]);}});}function _0x2d477d(){const _0x34b2d8=_0x3d4004;let _0x99b51=(0x0,_0xc5cac3[_0x34b2d8(0x48e)])(_0x3a44e9[_0x34b2d8(0x567)]),_0x2cc5cb=(0x0,_0xc5cac3[_0x34b2d8(0x48e)])(_0x344ad8);return(0x0,_0x132e2c[_0x34b2d8(0x305)])(_0x21b2c0['ShapePickerDropdown'],{'buttonLabel':_0x34b2d8(0x38d),'excludeGroups':[_0x21b2c0[_0x34b2d8(0x53a)][_0x34b2d8(0x37f)]],'DropdownComponent':_0x3220e2[_0x34b2d8(0x2ff)],'onShapeClick':_0x36e0e3=>{const _0x47b1c9=_0x34b2d8;let _0xa4d0e3=_0x99b51[_0x47b1c9(0x505)]()[_0x47b1c9(0x1f4)](_0x376330=>_0x376330[_0x47b1c9(0x2c8)]===_0x20b6b2[_0x47b1c9(0x284)]['DRAWING_IMAGE']);if(!_0xa4d0e3)return;let {unitId:_0x14fd24,subUnitId:_0x2540a2,drawingId:_0x31518f}=_0xa4d0e3;_0x2cc5cb[_0x47b1c9(0x422)](_0x14fd24,_0x2540a2,_0x31518f,_0x36e0e3[_0x47b1c9(0x541)]);}});}function _0x2f5dea(){const _0x2c5375=_0x3d4004;let _0x4ce3cb=(0x0,_0xc5cac3[_0x2c5375(0x48e)])(_0xc5cac3[_0x2c5375(0x279)]),_0x139cd9=(0x0,_0xc5cac3[_0x2c5375(0x48e)])(_0x3a44e9[_0x2c5375(0x567)]),_0x253884=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x2c5375(0x43b)]),_0x5664d0=_0x139cd9[_0x2c5375(0x505)]()[0x0],_0x2cd959=_0x5664d0?_0x253884[_0x2c5375(0x3f6)](_0x5664d0['unitId']):void 0x0,_0x36d991=_0x2cd959===_0x20b6b2['UniverInstanceType'][_0x2c5375(0x1c8)]?_0x2c5375(0x3a9):_0x2cd959===_0x20b6b2[_0x2c5375(0x257)][_0x2c5375(0x2bb)]?_0x22252c:void 0x0,_0xb8e3eb=_0x36d991?_0x4ce3cb[_0x2c5375(0x584)](_0x36d991):void 0x0;return _0xb8e3eb?(0x0,_0x132e2c[_0x2c5375(0x305)])(_0xb8e3eb,{}):null;}function _0x371d73(){const _0x1a30e7=_0x3d4004;let _0x17c500=(0x0,_0xc5cac3[_0x1a30e7(0x48e)])(_0x20b6b2[_0x1a30e7(0x38e)]);return(0x0,_0x132e2c[_0x1a30e7(0x305)])(_0x4281c1,{'onShapeClick':_0x105dad=>{const _0xa4144c=_0x1a30e7;_0x17c500[_0xa4144c(0x447)](_0x4e8acc['id'],{'value':_0x105dad[_0xa4144c(0x541)],'enhanceParams':{'endArrow':_0x105dad['endArrow'],'startArrow':_0x105dad[_0xa4144c(0x528)],'horizontal':_0x105dad[_0xa4144c(0x566)],'vertical':_0x105dad[_0xa4144c(0x267)]}});}});}function _0x493cb3(){return(0x0,_0x132e2c['jsx'])(_0x371d73,{});}function _0x1ca54b(_0x2de0da){const _0x428724=_0x3d4004;let _0x5ec9fd=_0x2de0da[_0x428724(0x584)](_0x20b6b2[_0x428724(0x43b)]);return{'id':_0x4e8acc['id'],'type':_0xc5cac3['MenuItemType'][_0x428724(0x4e5)],'selections':[{'label':{'name':_0x5360d6,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x4e8acc['id']}}}],'icon':_0x428724(0x241),'tooltip':_0x428724(0x2cf),'activated$':(0x0,_0x5aa18a[_0x428724(0x588)])(_0x5ec9fd,!0x1,()=>new _0x1008b8[(_0x428724(0x25b))](_0x4bad08=>{const _0x4f9838=_0x428724;_0x4bad08[_0x4f9838(0x295)](!0x1);})),'hidden$':(0x0,_0xc5cac3['getMenuHiddenObservable'])(_0x2de0da,_0x20b6b2['UniverInstanceType'][_0x428724(0x2bb)]),'disabled$':(0x0,_0x5aa18a[_0x428724(0x26b)])(_0x2de0da)};}function _0x9904ba(_0x3b6d8b){const _0x5f2746=_0x3d4004;let _0x3080b7=_0x3b6d8b[_0x5f2746(0x584)](_0x20b6b2[_0x5f2746(0x43b)]);return{'id':_0x20ee6f['id'],'type':_0xc5cac3[_0x5f2746(0x207)][_0x5f2746(0x49f)],'icon':_0x5f2746(0x4f8),'title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x5f2746(0x4b9),'activated$':(0x0,_0x5aa18a['deriveStateFromActiveSheet$'])(_0x3080b7,!0x1,()=>new _0x1008b8[(_0x5f2746(0x25b))](_0x3f1bad=>{const _0x1b02d6=_0x5f2746;_0x3f1bad[_0x1b02d6(0x295)](!0x1);})),'hidden$':(0x0,_0xc5cac3[_0x5f2746(0x486)])(_0x3b6d8b,_0x20b6b2['UniverInstanceType'][_0x5f2746(0x2bb)]),'disabled$':(0x0,_0x5aa18a['getCurrentRangeDisable$'])(_0x3b6d8b)};}let _0x28b1f4=_0x3d4004(0x483),_0x1916dd=_0x3d4004(0x3ba);function _0x502479(_0x2dabca){const _0xc08ff4=_0x3d4004;let _0x31e31a=_0x2dabca[_0xc08ff4(0x584)](_0x3a44e9[_0xc08ff4(0x567)])[_0xc08ff4(0x505)]();return _0x31e31a[_0xc08ff4(0x1ed)]===0x1&&_0x31e31a[0x0][_0xc08ff4(0x2c8)]===_0x20b6b2['DrawingTypeEnum'][_0xc08ff4(0x364)]?_0x31e31a[0x0]:null;}function _0x59d670(_0x181688){const _0x2e111d=_0x3d4004;let _0x366d60=_0x181688[_0x2e111d(0x584)](_0x3a44e9['IDrawingManagerService']);return _0x366d60[_0x2e111d(0x47d)][_0x2e111d(0x259)]((0x0,_0x1008b8['startWith'])(_0x366d60[_0x2e111d(0x505)]()),(0x0,_0x1008b8['map'])(_0x22e5c6=>_0x22e5c6[_0x2e111d(0x1ed)]!==0x1||_0x22e5c6[0x0]['drawingType']!==_0x20b6b2[_0x2e111d(0x284)][_0x2e111d(0x364)]));}function _0x6ccbd0(_0x109772){const _0x1c2f3e=_0x3d4004;return{'id':_0x28b1f4,'commandId':_0x3c17ec[_0x1c2f3e(0x3ce)]['id'],'type':_0xc5cac3[_0x1c2f3e(0x207)][_0x1c2f3e(0x49f)],'title':_0x1c2f3e(0x4e0),'tooltip':_0x1c2f3e(0x4e0),'icon':_0x1c2f3e(0x50b),'hidden$':_0x59d670(_0x109772),'params':()=>{const _0x311f64=_0x1c2f3e;let _0x1b2527=_0x502479(_0x109772);return _0x1b2527?{'unitId':_0x1b2527[_0x311f64(0x3e5)],'subUnitId':_0x1b2527['subUnitId'],'shapeId':_0x1b2527[_0x311f64(0x354)],'flipH':!0x0}:void 0x0;}};}function _0xee3b24(_0x3ea729){const _0x30c30c=_0x3d4004;return{'id':_0x1916dd,'commandId':_0x3c17ec[_0x30c30c(0x3ce)]['id'],'type':_0xc5cac3[_0x30c30c(0x207)][_0x30c30c(0x49f)],'title':_0x30c30c(0x1f9),'tooltip':_0x30c30c(0x1f9),'icon':_0x30c30c(0x4cb),'hidden$':_0x59d670(_0x3ea729),'params':()=>{const _0x24a1b6=_0x30c30c;let _0x2865c9=_0x502479(_0x3ea729);return _0x2865c9?{'unitId':_0x2865c9['unitId'],'subUnitId':_0x2865c9[_0x24a1b6(0x4c3)],'shapeId':_0x2865c9[_0x24a1b6(0x354)],'flipV':!0x0}:void 0x0;}};}let _0x5893c8=_0x3d4004(0x2f2),_0x5377d5=_0x3d4004(0x20c),_0x2c7ad3='sheets-shape-ui.shape-format.text-ribbon-control',_0x592f18='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x426862(){const _0x9e0b7d=_0x3d4004;let _0x356116=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x20b6b2['ICommandService']),_0x52ce48=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x3a44e9[_0x9e0b7d(0x567)]),_0x36a449=(0x0,_0xc5cac3[_0x9e0b7d(0x48e)])(_0x3c17ec['SheetsShapeService']),_0x4cedeb=()=>{const _0x44d9f6=_0x9e0b7d;var _0x178423;let _0xdb46ad=_0x52ce48[_0x44d9f6(0x505)]();if(_0xdb46ad[_0x44d9f6(0x1ed)]!==0x1||((_0x178423=_0xdb46ad[0x0])==null?void 0x0:_0x178423[_0x44d9f6(0x2c8)])!==_0x20b6b2[_0x44d9f6(0x284)][_0x44d9f6(0x364)])return null;let {unitId:_0x226ee3,subUnitId:_0x133c85,drawingId:_0x2b932e}=_0xdb46ad[0x0],_0x50089d=_0x36a449[_0x44d9f6(0x2ec)](_0x226ee3,_0x133c85,_0x2b932e),_0x5b4178=_0x36a449['getShapeDataById'](_0x226ee3,_0x133c85,_0x2b932e);return _0x50089d===void 0x0||!_0x5b4178?null:{'unitId':_0x226ee3,'subUnitId':_0x133c85,'drawingId':_0x2b932e,'shapeType':_0x50089d,'shapeData':_0x5b4178};},_0x258f12=(0x0,_0xc5cac3[_0x9e0b7d(0x41a)])(()=>new _0x1008b8[(_0x9e0b7d(0x25b))](_0x36baed=>{const _0x1c2e29=_0x9e0b7d;let _0x17c203=()=>_0x36baed[_0x1c2e29(0x295)](_0x4cedeb()),_0x1c9596=_0x52ce48['focus$']['subscribe'](_0x17c203),_0xaadd0a=_0x356116[_0x1c2e29(0x47a)](_0x518a7e=>{const _0x4ff394=_0x1c2e29;_0x518a7e['id']===_0x3c17ec[_0x4ff394(0x1fa)]['id']&&_0x17c203();});return _0x17c203(),()=>{const _0x9d0b55=_0x1c2e29;_0x1c9596[_0x9d0b55(0x205)](),_0xaadd0a['dispose']();};}),_0x4cedeb(),!0x1,[_0x356116,_0x52ce48,_0x36a449]);return{'selection':_0x258f12,'updateShapeData':_0x5f9456=>{const _0x148509=_0x9e0b7d;_0x258f12&&_0x118498(_0x356116,_0x258f12['unitId'],_0x258f12['subUnitId'],_0x258f12[_0x148509(0x354)],{'oldShapeData':_0x258f12['shapeData']},_0x5f9456);}};}function _0x100f06(){const _0x1d0860=_0x3d4004;let {selection:_0x4ae76b,updateShapeData:_0x3c3728}=_0x426862();return _0x4ae76b?(0x0,_0x132e2c[_0x1d0860(0x305)])(_0x21b2c0[_0x1d0860(0x56f)],{'shapeData':_0x4ae76b[_0x1d0860(0x224)],'shapeType':_0x4ae76b[_0x1d0860(0x44e)],'onUpdateShapeData':_0x3c3728}):null;}function _0x2635fd(){const _0x177972=_0x3d4004;let _0x31db4=(0x0,_0xc5cac3[_0x177972(0x48e)])(_0x20b6b2[_0x177972(0x38e)]),_0x4ea039=(0x0,_0xc5cac3[_0x177972(0x48e)])(_0x20b6b2['LocaleService']),{selection:_0x222252}=_0x426862();return _0x222252?(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeQuickStyleGallery'],{'type':(0x0,_0x590e75[_0x177972(0x553)])(_0x222252[_0x177972(0x224)]),'ariaLabel':_0x4ea039['t'](_0x177972(0x410)),'activePresetId':(0x0,_0x590e75['resolveActiveShapeQuickStylePresetId'])(_0x222252['shapeData']),'onSelect':_0x63f655=>_0x31db4[_0x177972(0x447)](_0x50782f['id'],{'presetId':_0x63f655})}):null;}function _0xcfc17f(){const _0x1a270a=_0x3d4004;let {selection:_0x229894,updateShapeData:_0xe875d0}=_0x426862();return _0x229894?(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x1a270a(0x43e),'shapeData':_0x229894['shapeData'],'onUpdateShapeData':_0xe875d0}):null;}function _0x56d6b3(){const _0x2c326a=_0x3d4004;var _0x1966d8;let {selection:_0x19f62e,updateShapeData:_0x315587}=_0x426862(),_0x2ec52b=(0x0,_0x21b2c0['useFormulaShapeToolbar'])({'hostType':_0x20b6b2[_0x2c326a(0x257)]['UNIVER_SHEET'],'unitId':(_0x19f62e==null?void 0x0:_0x19f62e['unitId'])??'','subUnitId':(_0x19f62e==null?void 0x0:_0x19f62e[_0x2c326a(0x4c3)])??'','shapeId':(_0x19f62e==null?void 0x0:_0x19f62e[_0x2c326a(0x354)])??'','shapeData':_0x19f62e==null?void 0x0:_0x19f62e['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x2c326a(0x331),'onUpdateBinding':_0x4f60fe=>_0x315587({'formulaBinding':_0x4f60fe})}),_0x2d126c=((_0x1966d8=_0x2ec52b[_0x2c326a(0x1b1)])==null?void 0x0:_0x1966d8[_0x2c326a(0x438)](_0x5c7bdf=>_0x5c7bdf[_0x2c326a(0x4a6)])['filter'](_0x499a48=>_0x499a48[_0x2c326a(0x3a4)]!==!0x1))??[];return _0x19f62e!=null&&_0x19f62e['shapeData'][_0x2c326a(0x1b7)]?(0x0,_0x132e2c[_0x2c326a(0x305)])(_0x21b2c0[_0x2c326a(0x3e7)],{'actions':_0x2d126c,'panel':_0x2ec52b['panel']}):null;}let _0x48981f='sheets-shape-ui.ribbon.shape-format.style-control',_0x231f0c=_0x3d4004(0x21e),_0x34cceb=_0x3d4004(0x41b),_0x54806a=_0x3d4004(0x266),_0xe1ef61=_0x3d4004(0x251),_0x29fb75=_0x3d4004(0x219),_0x24257f='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x3c1453(_0x426dbf){const _0x349580=_0x3d4004;let _0x10f4e0=_0x426dbf['get'](_0x20b6b2['ICommandService']),_0x59a2a9=_0x426dbf['get'](_0x3a44e9[_0x349580(0x567)]),_0xa8ec06=_0x426dbf[_0x349580(0x584)](_0x3c17ec[_0x349580(0x3e2)]);return new _0x1008b8[(_0x349580(0x25b))](_0x1283a2=>{const _0x1abf84=_0x349580;let _0x5dac64=()=>{const _0x2bbc42=_0x592e;let _0x4b0ae1=_0x257d21(_0x426dbf),_0x179d68=_0x4b0ae1?_0xa8ec06['getShapeDataById'](_0x4b0ae1['unitId'],_0x4b0ae1[_0x2bbc42(0x4c3)],_0x4b0ae1['drawingId']):null;_0x1283a2[_0x2bbc42(0x295)](_0x179d68?(0x0,_0x590e75[_0x2bbc42(0x444)])(_0x179d68)??'':'');},_0x4db7e1=_0x59a2a9['focus$'][_0x1abf84(0x448)](_0x5dac64),_0x3c2c94=_0x10f4e0[_0x1abf84(0x47a)](_0x1685b2=>{const _0x537655=_0x1abf84;_0x1685b2['id']===_0x3c17ec[_0x537655(0x1fa)]['id']&&_0x5dac64();});return _0x5dac64(),()=>{const _0x1ec11f=_0x1abf84;_0x4db7e1['unsubscribe'](),_0x3c2c94[_0x1ec11f(0x4fe)]();};});}function _0x257d21(_0xbc184a){const _0xf8f81c=_0x3d4004;var _0x478ce3;let _0x4fea2d=_0xbc184a[_0xf8f81c(0x584)](_0x3a44e9[_0xf8f81c(0x567)])['getFocusDrawings']();return _0x4fea2d[_0xf8f81c(0x1ed)]===0x1&&((_0x478ce3=_0x4fea2d[0x0])==null?void 0x0:_0x478ce3[_0xf8f81c(0x2c8)])===_0x20b6b2[_0xf8f81c(0x284)][_0xf8f81c(0x364)]?_0x4fea2d[0x0]:null;}function _0x52eae5(_0x2e8097,_0xa87c89=!0x1){const _0x1b844c=_0x3d4004;let _0x57ba94=_0x2e8097[_0x1b844c(0x584)](_0x20b6b2[_0x1b844c(0x38e)]),_0x19e16b=_0x2e8097['get'](_0x3a44e9[_0x1b844c(0x567)]),_0x572419=_0x2e8097[_0x1b844c(0x584)](_0x3c17ec[_0x1b844c(0x3e2)]);return new _0x1008b8[(_0x1b844c(0x25b))](_0x15776a=>{const _0x4829b9=_0x1b844c;let _0x2d104d=()=>{const _0x5a2d2d=_0x592e;let _0x1b59df=_0x257d21(_0x2e8097);if(!_0x1b59df){_0x15776a[_0x5a2d2d(0x295)](!0x0);return;}let _0x51acd3=_0x572419[_0x5a2d2d(0x51d)](_0x1b59df[_0x5a2d2d(0x3e5)],_0x1b59df[_0x5a2d2d(0x4c3)],_0x1b59df[_0x5a2d2d(0x354)]);_0x15776a[_0x5a2d2d(0x295)](!_0x51acd3||_0xa87c89&&_0x51acd3[_0x5a2d2d(0x1b7)]==null);},_0x4e9d81=_0x19e16b['focus$'][_0x4829b9(0x448)](_0x2d104d),_0x57d343=_0x57ba94[_0x4829b9(0x47a)](_0x473e6d=>{const _0x525d2c=_0x4829b9;_0x473e6d['id']===_0x3c17ec[_0x525d2c(0x1fa)]['id']&&_0x2d104d();});return _0x2d104d(),()=>{const _0x8d176c=_0x4829b9;_0x4e9d81[_0x8d176c(0x205)](),_0x57d343[_0x8d176c(0x4fe)]();};});}function _0x156cd4(_0x223ec7){const _0x38ce26=_0x3d4004;let _0x434a1e=_0x223ec7[_0x38ce26(0x584)](_0x3a44e9[_0x38ce26(0x567)]),_0x2080b2=_0x223ec7[_0x38ce26(0x584)](_0x3c17ec[_0x38ce26(0x3e2)]);return _0x434a1e['focus$']['pipe']((0x0,_0x1008b8[_0x38ce26(0x24e)])(_0x434a1e[_0x38ce26(0x505)]()),(0x0,_0x1008b8[_0x38ce26(0x442)])(()=>{const _0x54bb44=_0x38ce26;let _0x16e0dd=_0x257d21(_0x223ec7),_0x308d17=_0x16e0dd?_0x2080b2[_0x54bb44(0x2ec)](_0x16e0dd[_0x54bb44(0x3e5)],_0x16e0dd[_0x54bb44(0x4c3)],_0x16e0dd['drawingId']):void 0x0;return _0x308d17===void 0x0||(0x0,_0x36e36c[_0x54bb44(0x52a)])(_0x308d17);}));}function _0x26f315(_0x40bda5){const _0x3e9d15=_0x3d4004;return{'id':_0x50782f['id'],'type':_0xc5cac3[_0x3e9d15(0x207)][_0x3e9d15(0x4e5)],'icon':_0x3e9d15(0x459),'title':_0x3e9d15(0x46f),'tooltip':_0x3e9d15(0x46f),'selections':[{'label':{'name':_0x5893c8,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3c1453(_0x40bda5),'hidden$':_0x52eae5(_0x40bda5)};}function _0x346f9d(_0x427a59){const _0x1ce611=_0x3d4004;return{'id':_0x4d4881['id'],'type':_0xc5cac3[_0x1ce611(0x207)][_0x1ce611(0x4e5)],'icon':_0x1ce611(0x241),'title':_0x1ce611(0x1d7),'tooltip':_0x1ce611(0x1d7),'slot':!0x0,'selections':[{'label':{'name':_0x21b2c0[_0x1ce611(0x50f)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x156cd4(_0x427a59)};}function _0x3003eb(_0x456161,_0x49a300,_0x53c4d2=!0x1){const _0x2ef1a6=_0x3d4004;return _0x4a4a6a=>({'id':_0x456161,'type':_0xc5cac3[_0x2ef1a6(0x207)]['BUTTON'],'label':{'name':_0x49a300,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x52eae5(_0x4a4a6a,_0x53c4d2)});}let _0x5dc0b6=_0x3003eb(_0x48981f,_0x5377d5),_0x26d11c=_0x3003eb(_0x231f0c,_0x2c7ad3),_0x534622=_0x3003eb(_0x34cceb,_0x592f18,!0x0);function _0x84f227(_0x11dd20,_0x2926d3,_0x16b79e,_0x43e5f5){const _0x4b8c76=_0x3d4004;return _0x36e233=>({'id':_0x11dd20,'commandId':_0x44df92[_0x4b8c76(0x294)]['id'],'type':_0xc5cac3[_0x4b8c76(0x207)][_0x4b8c76(0x49f)],'icon':_0x16b79e,'title':_0x43e5f5,'tooltip':_0x43e5f5,'hidden$':_0x52eae5(_0x36e233),'params':()=>{const _0x3f16b2=_0x4b8c76;let _0x520be8=_0x257d21(_0x36e233);return _0x520be8?{'unitId':_0x520be8[_0x3f16b2(0x3e5)],'subUnitId':_0x520be8['subUnitId'],'drawingIds':[_0x520be8[_0x3f16b2(0x354)]],'arrangeType':_0x2926d3}:void 0x0;}});}let _0x27fde6=_0x84f227(_0x54806a,_0x20b6b2[_0x3d4004(0x41c)][_0x3d4004(0x424)],'MoveUpIcon',_0x3d4004(0x200)),_0x5c4471=_0x84f227(_0xe1ef61,_0x20b6b2['ArrangeTypeEnum'][_0x3d4004(0x428)],_0x3d4004(0x4bb),_0x3d4004(0x4ff)),_0x29c704=_0x84f227(_0x29fb75,_0x20b6b2[_0x3d4004(0x41c)][_0x3d4004(0x430)],_0x3d4004(0x3fc),'shape-editor-ui.arrange.front'),_0x504fe8=_0x84f227(_0x24257f,_0x20b6b2['ArrangeTypeEnum'][_0x3d4004(0x4fa)],_0x3d4004(0x1cb),'shape-editor-ui.arrange.back');function _0x74a24d(_0x1d8c8c){const _0x5482d5=_0x3d4004;return{'id':_0x2f6589['id'],'type':_0xc5cac3[_0x5482d5(0x207)][_0x5482d5(0x49f)],'icon':_0x5482d5(0x1fd),'title':'sheets-shape-ui.formatShape','tooltip':'sheets-shape-ui.formatShape','hidden$':_0x52eae5(_0x1d8c8c),'params':()=>{const _0x30db67=_0x5482d5;let _0x340f3a=_0x257d21(_0x1d8c8c);return _0x340f3a?{'unitId':_0x340f3a['unitId'],'subUnitId':_0x340f3a[_0x30db67(0x4c3)],'drawingId':_0x340f3a[_0x30db67(0x354)]}:void 0x0;}};}let _0x25e476={[_0xc5cac3[_0x3d4004(0x2ca)][_0x3d4004(0x1e2)]]:{[_0x214f37]:{'order':0x64,'title':_0x3d4004(0x26f),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x50782f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x26f315},[_0x4d4881['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x346f9d}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x48981f]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x5dc0b6}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x231f0c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x26d11c}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x28b1f4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x6ccbd0},[_0x1916dd]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0xee3b24},[_0x54806a]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x27fde6},[_0xe1ef61]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x5c4471},[_0x29fb75]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x29c704},[_0x24257f]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x504fe8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x34cceb]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x534622}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x2f6589['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x74a24d},[_0x21b2c0[_0x3d4004(0x2d1)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x21b2c0[_0x3d4004(0x2fc)]}}}}},_0x4908b1={[_0xc5cac3[_0x3d4004(0x41d)]['MEDIA']]:{[_0x4e8acc['id']]:{'order':0x4,'menuItemFactory':_0x1ca54b}}},_0xa0e700={..._0x4908b1,[_0xc5cac3[_0x3d4004(0x41d)][_0x3d4004(0x1dc)]]:{[_0x20ee6f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x9904ba}},[_0xc5cac3[_0x3d4004(0x358)][_0x3d4004(0x3d9)]]:{[_0xc5cac3['ContextMenuGroup'][_0x3d4004(0x1dc)]]:{[_0x28b1f4]:{'order':0x4,'menuItemFactory':_0x6ccbd0},[_0x1916dd]:{'order':0x5,'menuItemFactory':_0xee3b24}}}};var _0x309058=_0x3d4004(0x552),_0x28c5e3='1.0.2';let _0x6604f2={'id':_0x3d4004(0x3ed),'type':_0x20b6b2['CommandType'][_0x3d4004(0x3e6)],'handler'(_0x9f8959,_0x396ce0){const _0x75f94c=_0x3d4004;return _0x396ce0?(_0x9f8959[_0x75f94c(0x584)](_0x21b2c0[_0x75f94c(0x4fc)])[_0x75f94c(0x230)](_0x396ce0[_0x75f94c(0x546)],{'hostType':_0x20b6b2[_0x75f94c(0x257)][_0x75f94c(0x2bb)],'shapeId':_0x396ce0['drawingId'],'subUnitId':_0x396ce0['subUnitId'],'unitId':_0x396ce0['unitId']}),!0x0):!0x1;}},_0xa54229='sheets-shape-ui.config',_0x455ea6={},_0x5828c7=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4567c9,_0x1544b2,_0x56d6ac,_0x52df60,_0x3a8452){const _0x239f43=_0x3d4004;super(),this['_context']=_0x4567c9,this[_0x239f43(0x3a6)]=_0x1544b2,this[_0x239f43(0x35d)]=_0x56d6ac,this[_0x239f43(0x1cc)]=_0x52df60,this[_0x239f43(0x569)]=_0x3a8452,_0x212175(this,'_activeImageId',null),_0x212175(this,'_unitId',null),_0x212175(this,'_subUnitId',null),_0x212175(this,_0x239f43(0x3d4),void 0x0),_0x212175(this,'_shapes',[]),_0x212175(this,_0x239f43(0x368),0x0),_0x212175(this,_0x239f43(0x254),0x0),_0x212175(this,_0x239f43(0x4d0),0x0),_0x212175(this,_0x239f43(0x229),0x0),_0x212175(this,'_isStartAdjusting',!0x1),_0x212175(this,_0x239f43(0x4a0),void 0x0),_0x212175(this,_0x239f43(0x34e),void 0x0),_0x212175(this,_0x239f43(0x1f6),void 0x0),_0x212175(this,_0x239f43(0x38a),void 0x0),_0x212175(this,'_isImagePointerDown',!0x1),this[_0x239f43(0x3cc)](),this['_registerMoveHandler']();}['clearAdjustControls'](){const _0x5fbb26=_0x3d4004;this[_0x5fbb26(0x1d2)]();}['refreshAdjustControls'](){const _0x1be827=_0x3d4004;this[_0x1be827(0x1d2)](),this[_0x1be827(0x55d)](!0x0);}[_0x3d4004(0x580)](_0x1e264b,_0x43549b,_0x23005d,_0x47a40b){const _0x27a550=_0x3d4004;let _0x5e7388=_0x1e264b;if(_0x5e7388!==_0x36e36c[_0x27a550(0x3e0)][_0x27a550(0x44c)]&&_0x1e264b!=='custom')try{let _0x573eba=new _0x36e36c[(_0x27a550(0x22a))](_0x5e7388,'clip-adj-'+_0x1e264b);return _0x47a40b&&_0x573eba['setShapeData']({'adjustValues':_0x47a40b},!0x0),_0x573eba[_0x27a550(0x4d2)]({'width':_0x43549b,'height':_0x23005d}),_0x573eba;}catch{return;}}[_0x3d4004(0x397)](_0x4b1d8d,_0x29ec46,_0x535607){const _0x4ee328=_0x3d4004;let _0x1dfdc2={'unitId':_0x4b1d8d,'subUnitId':_0x29ec46,'drawingId':_0x535607},_0x3a62ef=this['_drawingManagerService'][_0x4ee328(0x291)](_0x1dfdc2);if(_0x3a62ef&&_0x3a62ef['drawingType']===_0x20b6b2[_0x4ee328(0x284)][_0x4ee328(0x457)])return _0x3a62ef;}[_0x3d4004(0x4fb)](_0x2324ca,_0x5a8815,_0x25a335){const _0x25d856=_0x3d4004;let _0x370cf3=this[_0x25d856(0x35d)][_0x25d856(0x3ab)](_0x2324ca);if(!_0x370cf3)return;let {scene:_0x458699}=_0x370cf3,_0x2c9419=(0x0,_0x3a44e9[_0x25d856(0x2a1)])({'unitId':_0x2324ca,'subUnitId':_0x5a8815,'drawingId':_0x25a335}),_0x186467=_0x458699['getObject'](_0x2c9419);if(_0x186467 instanceof _0x2e0941[_0x25d856(0x434)]){let _0x245ed7=_0x186467[_0x25d856(0x380)];if(_0x245ed7)return{'prstGeom':_0x245ed7,'adjustValues':_0x186467[_0x25d856(0x3cf)]};}}[_0x3d4004(0x55d)](_0x171cc8=!0x1){const _0x1b66f7=_0x3d4004;if(!this['_unitId']||!this[_0x1b66f7(0x240)]||!this['_activeImageId'])return;let _0x47cfad=this[_0x1b66f7(0x35d)][_0x1b66f7(0x3ab)](this[_0x1b66f7(0x1d1)]);if(!_0x47cfad||!_0x47cfad[_0x1b66f7(0x33c)](_0x5aa18a['SheetSkeletonManagerService'])[_0x1b66f7(0x2bf)]())return;let {scene:_0x307705}=_0x47cfad,_0x19f0ba=this[_0x1b66f7(0x397)](this[_0x1b66f7(0x1d1)],this[_0x1b66f7(0x240)],this[_0x1b66f7(0x25e)]);if(!_0x19f0ba)return;let {transform:_0x12a757}=_0x19f0ba;if(!_0x12a757)return;let {left:_0x169530,top:_0x5c2ddf,width:_0x3d664f,height:_0x49c593,flipX:_0x250142,flipY:_0x132cb9,angle:_0x3fcf13=0x0}=_0x12a757;if(_0x169530===void 0x0||_0x5c2ddf===void 0x0)return;let _0xb7b760=this[_0x1b66f7(0x4fb)](this['_unitId'],this['_subUnitId'],this[_0x1b66f7(0x25e)]);if(!_0xb7b760)return;if(_0x171cc8){let _0x44ac0e=this['_getOrCreateShapeModel'](_0xb7b760[_0x1b66f7(0x380)],_0x3d664f||0x0,_0x49c593||0x0,_0xb7b760[_0x1b66f7(0x1bb)]);if(!_0x44ac0e)return;this[_0x1b66f7(0x3d4)]=_0x44ac0e[_0x1b66f7(0x57c)]();}let _0x3f2bc5=this[_0x1b66f7(0x3d4)];if(_0x3f2bc5&&_0x3f2bc5[_0x1b66f7(0x1ed)]!==0x0)for(let _0x1a307e=0x0;_0x1a307e<_0x3f2bc5[_0x1b66f7(0x1ed)];_0x1a307e++){let _0x407c0f=_0x3f2bc5[_0x1a307e],_0x106a00=_0x407c0f['x'],_0x4fdb20=_0x407c0f['y'];if(_0x250142&&(_0x106a00=(_0x3d664f||0x0)-_0x106a00),_0x132cb9&&(_0x4fdb20=(_0x49c593||0x0)-_0x4fdb20),_0x3fcf13!==0x0){let _0xdcdee5=(_0x3d664f||0x0)/0x2,_0x452283=(_0x49c593||0x0)/0x2,_0x4719f5=_0x3fcf13*Math['PI']/0xb4,_0x1e3dcc=Math[_0x1b66f7(0x33a)](_0x4719f5),_0x439f40=Math['sin'](_0x4719f5),_0x12ed0f=_0x106a00-_0xdcdee5,_0x5bfd25=_0x4fdb20-_0x452283;_0x106a00=_0xdcdee5+(_0x12ed0f*_0x1e3dcc-_0x5bfd25*_0x439f40),_0x4fdb20=_0x452283+(_0x12ed0f*_0x439f40+_0x5bfd25*_0x1e3dcc);}let _0x15efac={'x':_0x106a00,'y':_0x4fdb20,'adjName':_0x407c0f['adjName']};this[_0x1b66f7(0x307)](_0x307705,_0x15efac,_0x15efac[_0x1b66f7(0x536)],_0x169530,_0x5c2ddf,this[_0x1b66f7(0x1d1)],this['_subUnitId']);}}[_0x3d4004(0x307)](_0x239954,_0x4774e9,_0x2bc401,_0x54fc32,_0x1355f5,_0x7af490,_0x6344aa){const _0x5d29a1=_0x3d4004;if(!this[_0x5d29a1(0x25e)])return;let _0x388559='image-clip-adjust-point-'+this['_activeImageId']+'-'+_0x2bc401,_0x7494b3=_0x239954[_0x5d29a1(0x1fe)](_0x388559);if(_0x7494b3){_0x7494b3['transformByState']({'left':_0x4774e9['x']+_0x54fc32-_0x36e36c[_0x5d29a1(0x543)]['adjHandleSize'],'top':_0x4774e9['y']+_0x1355f5-_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)]});return;}let _0x1bc12a=new _0x3ccc58(_0x388559,{'left':_0x4774e9['x']+_0x54fc32-_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)],'top':_0x4774e9['y']+_0x1355f5-_0x36e36c[_0x5d29a1(0x543)]['adjHandleSize'],'adjName':_0x2bc401,'shapeId':this[_0x5d29a1(0x25e)],'unitId':_0x7af490,'subUnitId':_0x6344aa,'width':_0x36e36c['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x36e36c[_0x5d29a1(0x543)][_0x5d29a1(0x445)]+0x8,'zIndex':_0x2e0941[_0x5d29a1(0x33e)]+0x1,'evented':!0x0});this[_0x5d29a1(0x404)]['push'](_0x1bc12a),this[_0x5d29a1(0x3ad)](_0x1bc12a,_0x239954,_0x2bc401),_0x239954['addObject'](_0x1bc12a,_0x2e0941['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x3d4004(0x1d2)](){const _0x3bef9a=_0x3d4004;this[_0x3bef9a(0x404)][_0x3bef9a(0x1ed)]!==0x0&&(this['_shapes']['forEach'](_0x5b56a6=>_0x5b56a6[_0x3bef9a(0x4fe)]()),this[_0x3bef9a(0x404)]=[]);}[_0x3d4004(0x28f)](_0x1f27e6,_0x6bf4d3){const _0x4e38f8=_0x3d4004;var _0x5b7484;let _0x43f7ab={'x':0x0,'y':0x0},_0x5480ac=this[_0x4e38f8(0x35d)][_0x4e38f8(0x3ab)](_0x1f27e6);if(!_0x5480ac||!_0x5480ac[_0x4e38f8(0x33c)](_0x5aa18a[_0x4e38f8(0x555)])[_0x4e38f8(0x45c)](_0x6bf4d3))return _0x43f7ab;let _0x4685a5=_0x5480ac[_0x4e38f8(0x33c)](_0x5aa18a['SheetScrollManagerService']),_0x272bf9=_0x4685a5==null?void 0x0:_0x4685a5['getCurrentScrollState']();if(!_0x272bf9)return _0x43f7ab;let _0x4db9c0=(_0x5b7484=this[_0x4e38f8(0x1cc)][_0x4e38f8(0x264)](_0x1f27e6))==null?void 0x0:_0x5b7484['getSheetBySheetId'](_0x6bf4d3);if(!_0x4db9c0)return _0x43f7ab;let _0x1864e6=(0x0,_0x5aa18a[_0x4e38f8(0x32e)])(_0x272bf9[_0x4e38f8(0x30a)],_0x272bf9[_0x4e38f8(0x4f5)],_0x5480ac[_0x4e38f8(0x4f2)],_0x4db9c0);return _0x1864e6?{'x':_0x1864e6[_0x4e38f8(0x3bd)],'y':_0x1864e6['viewportScrollY']}:_0x43f7ab;}[_0x3d4004(0x373)](_0x1fca6a,_0x4bdbba){const _0x48b582=_0x3d4004;var _0x5bfafe;let _0x122ae9=(_0x5bfafe=this[_0x48b582(0x1cc)]['getUnit'](_0x1fca6a))==null?void 0x0:_0x5bfafe[_0x48b582(0x343)](_0x4bdbba);return(_0x122ae9==null?void 0x0:_0x122ae9['getZoomRatio']())??0x1;}['_attachAdjustEvent'](_0x2e4f8e,_0x1fcf24,_0x560c28){const _0xdf5fec=_0x3d4004;this[_0xdf5fec(0x301)]((0x0,_0x20b6b2[_0xdf5fec(0x3ae)])(_0x2e4f8e[_0xdf5fec(0x4ad)]['subscribeEvent']((_0x50d35a,_0xb86f7f)=>{const _0x18d95b=_0xdf5fec;var _0x559d57,_0x2e5540,_0x23874d;let {unitId:_0x517544,subUnitId:_0x5ef936,drawingId:_0x11034c}=_0x2e4f8e[_0x18d95b(0x289)](),_0x3cd0c5=this[_0x18d95b(0x397)](_0x517544,_0x5ef936,_0x11034c);if(!(_0x3cd0c5!=null&&_0x3cd0c5[_0x18d95b(0x3be)]))return;let {left:_0x2999ac,top:_0x3c399c,width:_0x2aeacc,height:_0x2f60fa}=_0x3cd0c5['transform'];this['_baseLeft']=_0x2999ac||0x0,this[_0x18d95b(0x254)]=_0x3c399c||0x0,this[_0x18d95b(0x4d0)]=_0x2aeacc||0x0,this[_0x18d95b(0x229)]=_0x2f60fa||0x0;let _0x3d65a0=!!((_0x559d57=_0x3cd0c5[_0x18d95b(0x3be)])!=null&&_0x559d57[_0x18d95b(0x2a5)]),_0xd0ca4d=!!((_0x2e5540=_0x3cd0c5['transform'])!=null&&_0x2e5540[_0x18d95b(0x46a)]),_0xc92a49=((_0x23874d=_0x3cd0c5[_0x18d95b(0x3be)])==null?void 0x0:_0x23874d[_0x18d95b(0x228)])||0x0,_0x8f1063=this[_0x18d95b(0x4fb)](_0x517544,_0x5ef936,_0x11034c);if(!_0x8f1063)return;let _0xe9920d=this[_0x18d95b(0x580)](_0x8f1063[_0x18d95b(0x380)],this[_0x18d95b(0x4d0)],this[_0x18d95b(0x229)],_0x8f1063[_0x18d95b(0x1bb)]);if(!_0xe9920d||(this[_0x18d95b(0x34e)]=_0xe9920d,this['_activeAdjustInfo']=_0xe9920d['getAdjustInfoByName'](_0x560c28),!this[_0x18d95b(0x4a0)]))return;this[_0x18d95b(0x516)]=!0x0,_0x1fcf24[_0x18d95b(0x514)]();let _0xd5625c=_0x8f1063[_0x18d95b(0x380)];this[_0x18d95b(0x1f6)]=_0x1fcf24[_0x18d95b(0x2bd)][_0x18d95b(0x306)]((_0x25cb19,_0x27a0a2)=>{const _0x254172=_0x18d95b;if(!this[_0x254172(0x516)])return;let {offsetX:_0x1c6603,offsetY:_0x27addb}=_0x25cb19,_0x1e6a26=this[_0x254172(0x4a0)];if(!this[_0x254172(0x34e)]||!_0x1e6a26)return;_0x1fcf24['disableObjectsEvent'](),_0x1fcf24[_0x254172(0x4e8)](_0x2e0941[_0x254172(0x3eb)]['CROSSHAIR']);let _0x303332={'left':0x0,'top':0x0,'width':this[_0x254172(0x4d0)],'height':this[_0x254172(0x229)]},_0x5ef636=this[_0x254172(0x28f)](_0x517544,_0x5ef936),_0x3380cd=this[_0x254172(0x373)](_0x517544,_0x5ef936),_0x99fea5=_0x1c6603/_0x3380cd+_0x5ef636['x']-this[_0x254172(0x368)],_0x22f9df=_0x27addb/_0x3380cd+_0x5ef636['y']-this[_0x254172(0x254)];if(_0xc92a49!==0x0){let _0x54c802=this[_0x254172(0x4d0)]/0x2,_0x596ead=this[_0x254172(0x229)]/0x2,_0x2d0946=_0xc92a49*Math['PI']/0xb4,_0x6e701a=Math[_0x254172(0x33a)](_0x2d0946),_0x5abf5c=Math[_0x254172(0x28c)](_0x2d0946),_0x2efe75=_0x99fea5-_0x54c802,_0xfff00c=_0x22f9df-_0x596ead;_0x99fea5=_0x54c802+(_0x2efe75*_0x6e701a+_0xfff00c*_0x5abf5c),_0x22f9df=_0x596ead+(-_0x2efe75*_0x5abf5c+_0xfff00c*_0x6e701a);}_0x3d65a0&&(_0x99fea5=this[_0x254172(0x4d0)]-_0x99fea5),_0xd0ca4d&&(_0x22f9df=this[_0x254172(0x229)]-_0x22f9df);let _0x95db4=this[_0x254172(0x34e)]['calcAdjValues'](_0x303332,{'x':_0x99fea5,'y':_0x22f9df},_0x1e6a26,_0x3d65a0,_0xd0ca4d);if(Object['keys'](_0x95db4)[_0x254172(0x1ed)]!==0x0){for(let [_0x31bb72,_0xac289b]of Object[_0x254172(0x1bf)](_0x95db4))this['_activeShapeModel']['setAdjustValueByName'](_0x31bb72,_0xac289b);this[_0x254172(0x34e)][_0x254172(0x4d2)]({'width':this[_0x254172(0x4d0)],'height':this['_baseHeight']}),this[_0x254172(0x209)](_0x517544,_0x5ef936,_0x11034c,_0x95db4),this[_0x254172(0x3d4)]=this[_0x254172(0x34e)][_0x254172(0x57c)](),this[_0x254172(0x55d)](),_0x27a0a2[_0x254172(0x31e)]();}}),this[_0x18d95b(0x38a)]=_0x1fcf24[_0x18d95b(0x421)][_0x18d95b(0x306)]((_0x26c638,_0x2708d3)=>{const _0x2114f9=_0x18d95b;if(this[_0x2114f9(0x1f6)][_0x2114f9(0x205)](),this[_0x2114f9(0x38a)][_0x2114f9(0x205)](),_0x1fcf24['resetCursor'](),this[_0x2114f9(0x34e)]){let _0x268c16=this[_0x2114f9(0x34e)][_0x2114f9(0x460)](),_0xe387c8={};for(let _0x179db0 of _0x268c16){let _0x3eb73d=this[_0x2114f9(0x34e)][_0x2114f9(0x22f)](_0x179db0);_0x3eb73d!==void 0x0&&(_0xe387c8[_0x179db0]=_0x3eb73d);}this[_0x2114f9(0x569)]['clipByShape'](_0x517544,_0x5ef936,_0x11034c,_0xd5625c,_0xe387c8);}this[_0x2114f9(0x4a0)]=void 0x0,this[_0x2114f9(0x34e)]=void 0x0,this[_0x2114f9(0x516)]=!0x1,_0x2708d3[_0x2114f9(0x31e)](),_0x1fcf24[_0x2114f9(0x262)]();}),_0xb86f7f[_0x18d95b(0x31e)]();})));}['_updateImageAdjValues'](_0xf1616,_0x3de891,_0x567282,_0x72724e){const _0x4b9a6d=_0x3d4004;let _0x5740f2=this[_0x4b9a6d(0x35d)][_0x4b9a6d(0x3ab)](_0xf1616);if(!_0x5740f2)return;let {scene:_0xfe8ab2}=_0x5740f2,_0x359501=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xf1616,'subUnitId':_0x3de891,'drawingId':_0x567282}),_0x4f5983=_0xfe8ab2[_0x4b9a6d(0x2dc)](_0x359501);if(_0x4f5983 instanceof _0x2e0941[_0x4b9a6d(0x434)]){let _0x26078c=_0x4f5983[_0x4b9a6d(0x3cf)]??{};_0x4f5983['setPrstGeomAdjValues']({..._0x26078c,..._0x72724e}),_0x4f5983[_0x4b9a6d(0x537)](!0x0);}}[_0x3d4004(0x2a4)](){const _0x3edb54=_0x3d4004;let _0x4907df=this['_univerInstanceService'][_0x3edb54(0x27a)](_0x20b6b2[_0x3edb54(0x257)][_0x3edb54(0x2bb)]);this['disposeWithMe'](_0x4907df[_0x3edb54(0x259)]((0x0,_0x1008b8['switchMap'])(_0x5a6173=>_0x5a6173?_0x5a6173[_0x3edb54(0x52c)][_0x3edb54(0x259)]((0x0,_0x1008b8[_0x3edb54(0x352)])(_0x1cd38b=>{const _0x71090=_0x3edb54;if(!_0x1cd38b)return _0x1008b8[_0x71090(0x595)];let _0x4f9355=_0x5a6173[_0x71090(0x576)](),_0xe171af=this[_0x71090(0x35d)][_0x71090(0x3ab)](_0x4f9355),_0x4786a1=_0xe171af==null?void 0x0:_0xe171af['scene'];return _0x4786a1?(0x0,_0x1008b8['of'])(_0x4786a1):_0x1008b8[_0x71090(0x595)];})):_0x1008b8[_0x3edb54(0x595)]))[_0x3edb54(0x448)](_0x3e9fa9=>{const _0x9fc6a4=_0x3edb54;let _0x283fb1=_0x3e9fa9[_0x9fc6a4(0x51e)]();this[_0x9fc6a4(0x301)](_0x3e9fa9[_0x9fc6a4(0x2bd)][_0x9fc6a4(0x306)](()=>{const _0x378845=_0x9fc6a4;this[_0x378845(0x411)]&&this['_clearControls']();})),this[_0x9fc6a4(0x301)](_0x283fb1[_0x9fc6a4(0x2ad)][_0x9fc6a4(0x448)](_0x26514f=>{const _0xfddb23=_0x9fc6a4;let {objects:_0x32e6ce}=_0x26514f;if(this['_createControls'](),_0x32e6ce!==null&&_0x32e6ce[_0xfddb23(0x236)]===0x1){let _0x5f1873=_0x32e6ce[_0xfddb23(0x1ff)]()[_0xfddb23(0x295)]()[_0xfddb23(0x405)];_0x5f1873 instanceof _0x2e0941[_0xfddb23(0x434)]&&_0x5f1873[_0xfddb23(0x380)]&&(this[_0xfddb23(0x411)]=!0x0);}})),this['disposeWithMe'](_0x283fb1[_0x9fc6a4(0x326)][_0x9fc6a4(0x448)](()=>{const _0x3851e1=_0x9fc6a4;this[_0x3851e1(0x411)]&&this[_0x3851e1(0x1d2)]();})),this[_0x9fc6a4(0x301)](_0x3e9fa9[_0x9fc6a4(0x421)][_0x9fc6a4(0x306)](()=>{const _0x31f034=_0x9fc6a4;this['_isImagePointerDown']&&(this[_0x31f034(0x411)]=!0x1,this[_0x31f034(0x55d)]());})),this[_0x9fc6a4(0x301)](_0x283fb1[_0x9fc6a4(0x52b)]['subscribe'](()=>{const _0x2ea55d=_0x9fc6a4;if(this[_0x2ea55d(0x1d1)]&&this['_subUnitId']&&this[_0x2ea55d(0x25e)]){let _0x22ad95=this[_0x2ea55d(0x4fb)](this[_0x2ea55d(0x1d1)],this[_0x2ea55d(0x240)],this['_activeImageId']);if(_0x22ad95){var _0x29702f,_0x200961;let _0x45abba=this['_getImageDrawingInfo'](this[_0x2ea55d(0x1d1)],this[_0x2ea55d(0x240)],this['_activeImageId']),_0x5a85bd=(_0x45abba==null||(_0x29702f=_0x45abba[_0x2ea55d(0x3be)])==null?void 0x0:_0x29702f['width'])||0x0,_0x3719f6=(_0x45abba==null||(_0x200961=_0x45abba[_0x2ea55d(0x3be)])==null?void 0x0:_0x200961['height'])||0x0,_0x566000=this[_0x2ea55d(0x580)](_0x22ad95[_0x2ea55d(0x380)],_0x5a85bd,_0x3719f6,_0x22ad95[_0x2ea55d(0x1bb)]);_0x566000&&(this[_0x2ea55d(0x3d4)]=_0x566000[_0x2ea55d(0x57c)](),this[_0x2ea55d(0x1d2)](),this[_0x2ea55d(0x55d)](!0x0));}}}));}));}[_0x3d4004(0x3cc)](){const _0x5807ee=_0x3d4004;this['disposeWithMe'](this[_0x5807ee(0x3a6)][_0x5807ee(0x47d)][_0x5807ee(0x448)](_0x5d1bc8=>{const _0x13eec2=_0x5807ee;if(_0x5d1bc8[_0x13eec2(0x1ed)]===0x1){let _0x48c2bc=_0x5d1bc8[0x0];if(_0x48c2bc[_0x13eec2(0x2c8)]===_0x20b6b2[_0x13eec2(0x284)][_0x13eec2(0x457)]){let {unitId:_0x2ac0c4,subUnitId:_0x5796e9,drawingId:_0x1caa5c}=_0x48c2bc,_0x37eec5=this[_0x13eec2(0x4fb)](_0x2ac0c4,_0x5796e9,_0x1caa5c);if(_0x37eec5){var _0x5744bc,_0x14cd01;this[_0x13eec2(0x25e)]=_0x1caa5c,this['_unitId']=_0x2ac0c4,this[_0x13eec2(0x240)]=_0x5796e9;let _0x18428e=this['_getImageDrawingInfo'](_0x2ac0c4,_0x5796e9,_0x1caa5c),_0x22cb01=(_0x18428e==null||(_0x5744bc=_0x18428e[_0x13eec2(0x3be)])==null?void 0x0:_0x5744bc['width'])||0x0,_0x180c57=(_0x18428e==null||(_0x14cd01=_0x18428e[_0x13eec2(0x3be)])==null?void 0x0:_0x14cd01[_0x13eec2(0x3f0)])||0x0,_0x11d410=this[_0x13eec2(0x580)](_0x37eec5[_0x13eec2(0x380)],_0x22cb01,_0x180c57,_0x37eec5[_0x13eec2(0x1bb)]);_0x11d410&&(this[_0x13eec2(0x3d4)]=_0x11d410[_0x13eec2(0x57c)]()),this[_0x13eec2(0x1d2)](),this[_0x13eec2(0x55d)](!0x0);}else this[_0x13eec2(0x58b)]();}else this['_resetState']();}else this['_resetState']();})),this[_0x5807ee(0x301)](this['_drawingManagerService'][_0x5807ee(0x20a)][_0x5807ee(0x448)](_0x2c9bcc=>{const _0x457283=_0x5807ee;if(_0x2c9bcc[_0x457283(0x1ed)]===0x1){let _0x1dce68=_0x2c9bcc[0x0],_0x257b3e=this[_0x457283(0x3a6)][_0x457283(0x291)](_0x1dce68);(_0x257b3e==null?void 0x0:_0x257b3e['drawingType'])===_0x20b6b2['DrawingTypeEnum'][_0x457283(0x457)]&&this[_0x457283(0x25e)]===_0x1dce68[_0x457283(0x354)]&&(this[_0x457283(0x1d2)](),this['_createControls'](!0x0));}})),this[_0x5807ee(0x301)](this['_drawingManagerService'][_0x5807ee(0x52d)][_0x5807ee(0x448)](_0x5f161d=>{const _0x2f1d2a=_0x5807ee;for(let _0x2976a3 of _0x5f161d)this[_0x2f1d2a(0x25e)]===_0x2976a3[_0x2f1d2a(0x354)]&&this[_0x2f1d2a(0x58b)]();}));}[_0x3d4004(0x58b)](){const _0x2d92c4=_0x3d4004;this['_activeImageId']=null,this[_0x2d92c4(0x1d1)]=null,this[_0x2d92c4(0x240)]=null,this[_0x2d92c4(0x3d4)]=void 0x0,this[_0x2d92c4(0x1d2)]();}};_0x5828c7=_0x3a2391([_0x4a972c(0x1,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x344ad8))],_0x5828c7);function _0x5afbe3({ref:_0x5bdf96,..._0x6dfc98}){const _0x402eda=_0x3d4004;let {preserveStrokeWidth:_0x5ca861,icon:_0x53d437,id:_0xe57dab,className:_0x4bf55e,extend:_0x58fc65,..._0x20fcfe}=_0x6dfc98,_0x29443e=(_0x402eda(0x454)+_0xe57dab+'\x20'+(_0x4bf55e||''))['trim'](),_0x1482a4='_'+(0x0,_0x1009cf[_0x402eda(0x39c)])(),_0x16b5f0=(0x0,_0x1009cf['useRef'])(null);return(0x0,_0x1009cf['useImperativeHandle'])(_0x5bdf96,()=>_0x16b5f0['current']),(0x0,_0x1009cf[_0x402eda(0x386)])(()=>{const _0x6b4f67=_0x402eda;if(_0x5ca861&&_0x16b5f0[_0x6b4f67(0x416)]&&_0x16b5f0['current'][_0x6b4f67(0x1c5)]===_0x53d437[_0x6b4f67(0x226)])return _0x5d5113(_0x16b5f0[_0x6b4f67(0x416)]);},[_0x5ca861,_0x53d437]),_0x464451(_0x53d437,''+_0xe57dab,{'defIds':_0x53d437[_0x402eda(0x332)],'idSuffix':_0x1482a4},{'ref':_0x16b5f0,'className':_0x29443e,..._0x20fcfe},_0x58fc65);}function _0x464451(_0xc13a6d,_0x7b5601,_0x8b2f7c,_0x5a8e52,_0x1c9ba9){const _0x1a0579=_0x3d4004;return(0x0,_0x1009cf['createElement'])(_0xc13a6d[_0x1a0579(0x226)],{'key':_0x7b5601,..._0x47b545(_0xc13a6d,_0x8b2f7c,_0x1c9ba9),..._0x5a8e52},(_0x1ac390(_0xc13a6d,_0x8b2f7c)['children']||[])[_0x1a0579(0x442)]((_0x1e47dc,_0x814d3e)=>_0x464451(_0x1e47dc,_0x7b5601+'-'+_0xc13a6d['tag']+'-'+_0x814d3e,_0x8b2f7c,void 0x0,_0x1c9ba9)));}function _0x47b545(_0x22d17b,_0x4c2a61,_0x57095d){const _0x3fad24=_0x3d4004;let _0x25350f={..._0x22d17b[_0x3fad24(0x31b)]};_0x57095d!=null&&_0x57095d[_0x3fad24(0x3c8)]&&_0x25350f[_0x3fad24(0x55a)]===_0x3fad24(0x3c8)&&(_0x25350f[_0x3fad24(0x55a)]=_0x57095d[_0x3fad24(0x3c8)]),_0x57095d!=null&&_0x57095d[_0x3fad24(0x3c8)]&&_0x25350f[_0x3fad24(0x4a4)]===_0x3fad24(0x3c8)&&(_0x25350f[_0x3fad24(0x4a4)]=_0x57095d['colorChannel1']),_0x22d17b[_0x3fad24(0x226)]===_0x3fad24(0x4e6)&&_0x25350f['id']&&(_0x25350f['id']+=_0x4c2a61[_0x3fad24(0x36a)]),Object[_0x3fad24(0x1bf)](_0x25350f)['forEach'](([_0x270675,_0x9d6d2a])=>{const _0x2b6958=_0x3fad24;_0x270675===_0x2b6958(0x4e6)&&typeof _0x9d6d2a==_0x2b6958(0x35a)&&(_0x25350f[_0x270675]=_0x9d6d2a['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c2a61['idSuffix']+')'));});let {defIds:_0xbc88ea}=_0x4c2a61;return!_0xbc88ea||_0xbc88ea[_0x3fad24(0x1ed)]===0x0?_0x25350f:(_0x22d17b[_0x3fad24(0x226)]===_0x3fad24(0x4d1)&&_0x25350f['xlink:href']&&(_0x25350f[_0x3fad24(0x4c1)]+=_0x4c2a61[_0x3fad24(0x36a)]),Object[_0x3fad24(0x1bf)](_0x25350f)[_0x3fad24(0x39d)](([_0x40d01f,_0x34ee83])=>{const _0x26882d=_0x3fad24;typeof _0x34ee83==_0x26882d(0x35a)&&(_0x25350f[_0x40d01f]=_0x34ee83['replace'](/url\(#(.*)\)/,_0x26882d(0x2d6)+_0x4c2a61[_0x26882d(0x36a)]+')'));}),_0x25350f);}function _0x1ac390(_0x73c56e,_0x41bf74){const _0x559ef5=_0x3d4004;var _0x3b1d37;let {defIds:_0x14fd12}=_0x41bf74;return!_0x14fd12||_0x14fd12['length']===0x0?_0x73c56e:_0x73c56e['tag']===_0x559ef5(0x395)&&(_0x3b1d37=_0x73c56e[_0x559ef5(0x237)])!=null&&_0x3b1d37['length']?{..._0x73c56e,'children':_0x73c56e['children'][_0x559ef5(0x442)](_0x482f19=>typeof _0x482f19[_0x559ef5(0x31b)]['id']==_0x559ef5(0x35a)&&_0x14fd12&&_0x14fd12[_0x559ef5(0x4f9)](_0x482f19[_0x559ef5(0x31b)]['id'])?{..._0x482f19,'attrs':{..._0x482f19[_0x559ef5(0x31b)],'id':_0x482f19[_0x559ef5(0x31b)]['id']+_0x41bf74[_0x559ef5(0x36a)]}}:_0x482f19)}:_0x73c56e;}function _0x5d5113(_0x17902f){const _0x307727=_0x3d4004;let _0x55e6a6=_0x17902f[_0x307727(0x298)][_0x307727(0x1b5)],_0x267a90=Math[_0x307727(0x370)](_0x55e6a6['width'],_0x55e6a6[_0x307727(0x3f0)]);if(!Number[_0x307727(0x2f1)](_0x267a90)||_0x267a90<=0x0||_0x55e6a6[_0x307727(0x4ba)]<=0x0||_0x55e6a6[_0x307727(0x3f0)]<=0x0)return()=>void 0x0;let _0x2ec45e=0x10/_0x267a90,_0x988210=Array[_0x307727(0x4dd)](_0x17902f[_0x307727(0x203)](_0x307727(0x321)))[_0x307727(0x438)](_0x2851ac=>{const _0x43b488=_0x307727;let _0x5edc40=getComputedStyle(_0x2851ac),_0x58cdde=Number[_0x43b488(0x2a0)](_0x5edc40[_0x43b488(0x1ec)]);return _0x5edc40['stroke']==='none'||Number['parseFloat'](_0x5edc40[_0x43b488(0x2f6)])===0x0||_0x5edc40[_0x43b488(0x1f8)]===_0x43b488(0x48f)||!Number['isFinite'](_0x58cdde)||_0x58cdde<=0x0?[]:[{'element':_0x2851ac,'hadStyleAttribute':_0x2851ac[_0x43b488(0x324)](_0x43b488(0x1d5)),'originalStrokeWidth':_0x58cdde,'strokeWidth':_0x5250fe(_0x2851ac['style'],_0x43b488(0x281))}];})['map'](_0x2d1cc5=>({'appliedStrokeWidth':null,'element':_0x2d1cc5['element'],'hadStyleAttribute':_0x2d1cc5[_0x307727(0x1c2)],'isReleased':!0x1,'originalStrokeWidth':_0x2d1cc5[_0x307727(0x348)],'strokeWidth':_0x2d1cc5[_0x307727(0x1ec)]}));if(_0x988210['length']===0x0)return()=>void 0x0;let _0x390d0f=(_0x594912,_0x35a98e)=>{const _0xd94b51=_0x307727;if(_0x55e6a6[_0xd94b51(0x4ba)]<=0x0||_0x55e6a6[_0xd94b51(0x3f0)]<=0x0||_0x594912<=0x0||_0x35a98e<=0x0)return;let _0x4bb814=Math[_0xd94b51(0x3cb)](_0x594912/_0x55e6a6[_0xd94b51(0x4ba)],_0x35a98e/_0x55e6a6[_0xd94b51(0x3f0)]);!Number['isFinite'](_0x4bb814)||_0x4bb814<=0x0||_0x988210[_0xd94b51(0x39d)](_0x353758=>{const _0x17b0de=_0xd94b51;if(_0x353758[_0x17b0de(0x23f)])return;if(_0x353758['appliedStrokeWidth']!==null&&(_0x353758[_0x17b0de(0x1c4)][_0x17b0de(0x1d5)]['getPropertyValue'](_0x17b0de(0x281))!==_0x353758['appliedStrokeWidth']||_0x353758[_0x17b0de(0x1c4)][_0x17b0de(0x1d5)][_0x17b0de(0x573)](_0x17b0de(0x281))!==_0x353758[_0x17b0de(0x1ec)][_0x17b0de(0x446)])){_0x353758['appliedStrokeWidth']=null,_0x353758[_0x17b0de(0x23f)]=!0x0;return;}let _0x4a2a1a=_0x353758[_0x17b0de(0x348)]*_0x2ec45e/_0x4bb814,_0x5e2d86=Number(_0x4a2a1a['toFixed'](0xc))+'px';_0x353758['element'][_0x17b0de(0x1d5)][_0x17b0de(0x1de)](_0x17b0de(0x281),_0x5e2d86,_0x353758['strokeWidth'][_0x17b0de(0x446)]),_0x353758[_0x17b0de(0x572)]=_0x5e2d86;});},_0x1a0275=_0x17902f[_0x307727(0x290)]();_0x390d0f(_0x1a0275['width'],_0x1a0275[_0x307727(0x3f0)]);let _0x58566e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4bfda0=>{const _0x1ebb0d=_0x307727;if(_0x4bfda0['some'](_0x3939c4=>_0x3939c4[_0x1ebb0d(0x4db)]===_0x17902f)){let _0x76951d=_0x17902f[_0x1ebb0d(0x290)]();_0x390d0f(_0x76951d[_0x1ebb0d(0x4ba)],_0x76951d[_0x1ebb0d(0x3f0)]);}});return _0x58566e==null||_0x58566e['observe'](_0x17902f),()=>{const _0x23a454=_0x307727;_0x58566e==null||_0x58566e[_0x23a454(0x263)](),_0x988210[_0x23a454(0x39d)](_0x5451f1=>{const _0x1890b5=_0x23a454;_0x5451f1[_0x1890b5(0x572)]!==null&&(_0x39411f(_0x5451f1[_0x1890b5(0x1c4)][_0x1890b5(0x1d5)],_0x1890b5(0x281),_0x5451f1[_0x1890b5(0x572)],_0x5451f1[_0x1890b5(0x1ec)]['priority'],_0x5451f1[_0x1890b5(0x1ec)]),!_0x5451f1[_0x1890b5(0x1c2)]&&_0x5451f1[_0x1890b5(0x1c4)][_0x1890b5(0x1d5)][_0x1890b5(0x1ed)]===0x0&&_0x5451f1['element']['removeAttribute'](_0x1890b5(0x1d5)));});};}function _0x5250fe(_0x167a44,_0x239272){const _0x4491b2=_0x3d4004;return{'priority':_0x167a44[_0x4491b2(0x573)](_0x239272),'value':_0x167a44[_0x4491b2(0x48b)](_0x239272)};}function _0x39411f(_0x404cca,_0x4a7887,_0x5c7d01,_0x1c137b,_0x43b405){const _0x5aab4d=_0x3d4004;_0x404cca[_0x5aab4d(0x48b)](_0x4a7887)===_0x5c7d01&&_0x404cca['getPropertyPriority'](_0x4a7887)===_0x1c137b&&(_0x43b405[_0x5aab4d(0x405)]?_0x404cca[_0x5aab4d(0x1de)](_0x4a7887,_0x43b405[_0x5aab4d(0x405)],_0x43b405[_0x5aab4d(0x446)]):_0x404cca['removeProperty'](_0x4a7887));}_0x5afbe3[_0x3d4004(0x4e7)]=_0x3d4004(0x449);let _0x598a74={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3d4004(0x451),'width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x4b1),'fillRule':'evenodd','clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x333),'fillRule':_0x3d4004(0x51b),'clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':'currentColor','d':_0x3d4004(0x582)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x2af)}}]},_0x3e15b5=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x31e172,_0x3b169a){const _0x20b280=_0x3d4004;return(0x0,_0x1009cf[_0x20b280(0x45f)])(_0x5afbe3,Object[_0x20b280(0x403)]({},_0x31e172,{'id':_0x20b280(0x39e),'ref':_0x3b169a,'icon':_0x598a74}));});_0x3e15b5['displayName']=_0x3d4004(0x1cb);let _0x1baee0={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x222),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x3a5),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x53c),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':_0x3d4004(0x56a),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x227),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x40f),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}}]},_0x17ed57=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x35910d,_0x5ea1d1){const _0x1e595f=_0x3d4004;return(0x0,_0x1009cf[_0x1e595f(0x45f)])(_0x5afbe3,Object[_0x1e595f(0x403)]({},_0x35910d,{'id':'flip-horizontal-icon','ref':_0x5ea1d1,'icon':_0x1baee0}));});_0x17ed57[_0x3d4004(0x4e7)]=_0x3d4004(0x50b);let _0xc4ff57={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3d4004(0x238),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x2b1),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x476),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':'M10.2\x208H11.8','strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x4d8),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}}]},_0x3f08c1=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x1d34f7,_0x4d30a4){const _0x577fa5=_0x3d4004;return(0x0,_0x1009cf[_0x577fa5(0x45f)])(_0x5afbe3,Object[_0x577fa5(0x403)]({},_0x1d34f7,{'id':_0x577fa5(0x579),'ref':_0x4d30a4,'icon':_0xc4ff57}));});_0x3f08c1['displayName']=_0x3d4004(0x4cb);let _0x566dd4={'tag':'svg','attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x32a),'fillRule':'evenodd','clipRule':_0x3d4004(0x51b)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x4bc)}}]},_0x14c8b4=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x5cb064,_0x2687e5){const _0x2466d0=_0x3d4004;return(0x0,_0x1009cf[_0x2466d0(0x45f)])(_0x5afbe3,Object['assign']({},_0x5cb064,{'id':_0x2466d0(0x1e9),'ref':_0x2687e5,'icon':_0x566dd4}));});_0x14c8b4[_0x3d4004(0x4e7)]=_0x3d4004(0x4bb);let _0x39250e={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x1d4),'fillRule':_0x3d4004(0x51b),'clipRule':'evenodd'}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x217)}}]},_0xe08485=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x2b6432,_0x2fd949){const _0x74ea4c=_0x3d4004;return(0x0,_0x1009cf[_0x74ea4c(0x45f)])(_0x5afbe3,Object[_0x74ea4c(0x403)]({},_0x2b6432,{'id':_0x74ea4c(0x2a3),'ref':_0x2fd949,'icon':_0x39250e}));});_0xe08485[_0x3d4004(0x4e7)]=_0x3d4004(0x3a2);let _0x4505fb={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':_0x3d4004(0x39a),'height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x1f3),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':_0x3d4004(0x2d9),'strokeLinecap':_0x3d4004(0x435),'strokeLinejoin':_0x3d4004(0x435),'strokeWidth':1.3}}]},_0x1f2bbc=(0x0,_0x1009cf[_0x3d4004(0x545)])(function(_0x34e5ac,_0x4b5798){const _0x4286d6=_0x3d4004;return(0x0,_0x1009cf[_0x4286d6(0x45f)])(_0x5afbe3,Object[_0x4286d6(0x403)]({},_0x34e5ac,{'id':'object-layers-icon','ref':_0x4b5798,'icon':_0x4505fb}));});_0x1f2bbc[_0x3d4004(0x4e7)]=_0x3d4004(0x4f8);let _0x19e631={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':_0x3d4004(0x238),'viewBox':_0x3d4004(0x3b2),'width':'1em','height':_0x3d4004(0x39a)},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x515),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':_0x3d4004(0x542),'strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':_0x3d4004(0x1ee),'d':'M4.2\x208.3H6.8','strokeLinecap':_0x3d4004(0x435),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3d4004(0x1ee),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x3d4004(0x435)}},{'tag':_0x3d4004(0x1f1),'attrs':{'stroke':'currentColor','d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x192ec1=(0x0,_0x1009cf['forwardRef'])(function(_0x40aa53,_0x4b55fd){const _0x284a5f=_0x3d4004;return(0x0,_0x1009cf[_0x284a5f(0x45f)])(_0x5afbe3,Object[_0x284a5f(0x403)]({},_0x40aa53,{'id':_0x284a5f(0x275),'ref':_0x4b55fd,'icon':_0x19e631}));});_0x192ec1[_0x3d4004(0x4e7)]='ShapeFormatSettingIcon';let _0x534b63={'tag':_0x3d4004(0x1d9),'attrs':{'xmlns':_0x3d4004(0x1e6),'fill':'none','viewBox':_0x3d4004(0x451),'width':'1em','height':'1em'},'children':[{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x202)}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':_0x3d4004(0x473),'fillRule':_0x3d4004(0x51b),'clipRule':'evenodd'}},{'tag':_0x3d4004(0x1f1),'attrs':{'fill':_0x3d4004(0x1ee),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':_0x3d4004(0x51b),'clipRule':_0x3d4004(0x51b)}}]},_0x20e21b=(0x0,_0x1009cf['forwardRef'])(function(_0x214dc8,_0x4e732a){const _0x199886=_0x3d4004;return(0x0,_0x1009cf['createElement'])(_0x5afbe3,Object[_0x199886(0x403)]({},_0x214dc8,{'id':_0x199886(0x1c9),'ref':_0x4e732a,'icon':_0x534b63}));});_0x20e21b['displayName']=_0x3d4004(0x3fc);function _0x5ddbfe(_0x1761c7){return _0x1761c7['trim']()||void 0x0;}function _0x193ad5(_0xc557f,_0x57de07,_0x45f85c){const _0x3200fd=_0x3d4004;var _0x634333;return((_0x634333=_0xc557f[_0x3200fd(0x4ce)])==null?void 0x0:_0x634333[_0x3200fd(0x3e4)]())||_0x45f85c['t'](_0x3200fd(0x38f)+(0x0,_0x21b2c0[_0x3200fd(0x3b7)])(_0xc557f[_0x3200fd(0x2c8)]))+'\x20'+(_0x57de07+0x1);}function _0x40d67d({PanelComponent:_0x527776=_0x42ecb7[_0x3d4004(0x374)]}){const _0x49a57b=_0x3d4004;var _0x235647;let _0x2a51b8=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2[_0x49a57b(0x31f)]),_0x4645ab={'title':_0x2a51b8['t'](_0x49a57b(0x20b)),'empty':_0x2a51b8['t'](_0x49a57b(0x28d)),'showAll':_0x2a51b8['t'](_0x49a57b(0x51c)),'hideAll':_0x2a51b8['t'](_0x49a57b(0x396)),'lockAll':_0x2a51b8['t'](_0x49a57b(0x346)),'unlockAll':_0x2a51b8['t'](_0x49a57b(0x557)),'moveForward':_0x2a51b8['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x2a51b8['t'](_0x49a57b(0x362)),'close':_0x2a51b8['t'](_0x49a57b(0x3ea)),'show':_0x2a51b8['t'](_0x49a57b(0x563)),'hide':_0x2a51b8['t'](_0x49a57b(0x4df)),'lock':_0x2a51b8['t'](_0x49a57b(0x4c5)),'unlock':_0x2a51b8['t'](_0x49a57b(0x578)),'lockHint':_0x2a51b8['t'](_0x49a57b(0x215)),'unlockHint':_0x2a51b8['t'](_0x49a57b(0x427)),'name':_0x2a51b8['t'](_0x49a57b(0x26a)),'nameInput':_0x2a51b8['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x2a51b8['t'](_0x49a57b(0x214)),'descriptionPlaceholder':_0x2a51b8['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x2a51b8['t']('drawing-ui.objectListPanel.details'),'noSelection':_0x2a51b8['t'](_0x49a57b(0x431)),'locate':_0x2a51b8['t'](_0x49a57b(0x372)),'expand':_0x2a51b8['t'](_0x49a57b(0x470)),'collapse':_0x2a51b8['t'](_0x49a57b(0x4ca)),'dragToReorder':_0x2a51b8['t'](_0x49a57b(0x509)),'search':_0x2a51b8['t'](_0x49a57b(0x37e)),'filterAll':_0x2a51b8['t'](_0x49a57b(0x2db)),'filterHidden':_0x2a51b8['t'](_0x49a57b(0x56c)),'filterLocked':_0x2a51b8['t'](_0x49a57b(0x323)),'sectionCanvas':_0x2a51b8['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x2a51b8['t'](_0x49a57b(0x408))},_0x52ed59=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2['ICommandService']),_0x4fdedb=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x20b6b2[_0x49a57b(0x43b)]),_0x30046d=(0x0,_0xc5cac3['useDependency'])(_0x44df92[_0x49a57b(0x551)]),_0x11a84c=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x3a44e9['IDrawingManagerService']),_0x3eaeb1=(0x0,_0xc5cac3[_0x49a57b(0x48e)])(_0x2e0941[_0x49a57b(0x565)]),[,_0x124581]=(0x0,_0x1009cf['useReducer'])(_0x2362e2=>_0x2362e2+0x1,0x0),_0x20fa3c=_0x4fdedb[_0x49a57b(0x415)](_0x20b6b2[_0x49a57b(0x257)][_0x49a57b(0x2bb)]),_0x560d1b=(_0x20fa3c==null?void 0x0:_0x20fa3c[_0x49a57b(0x576)]())??'',_0x1a6562=(_0x20fa3c==null||(_0x235647=_0x20fa3c['getActiveSheet']())==null?void 0x0:_0x235647[_0x49a57b(0x33d)]())??'',_0x447bac=(0x0,_0xc5cac3[_0x49a57b(0x41a)])(()=>_0x11a84c[_0x49a57b(0x47d)],_0x11a84c[_0x49a57b(0x505)](),!0x1,[_0x11a84c]);(0x0,_0x1009cf[_0x49a57b(0x42b)])(()=>{const _0x10fb86=_0x49a57b;let _0xf439bd=_0x52ed59[_0x10fb86(0x47a)](()=>_0x124581());return()=>_0xf439bd['dispose']();},[_0x52ed59]);let _0x441dff=_0x560d1b&&_0x1a6562?_0x30046d[_0x49a57b(0x3c5)](_0x560d1b,_0x1a6562):{},_0xea01e9=(_0x560d1b&&_0x1a6562?_0x30046d['getDrawingOrder'](_0x560d1b,_0x1a6562):[])['map'](_0x4919e3=>_0x441dff[_0x4919e3])[_0x49a57b(0x2a8)](_0x1cc8e1=>!!_0x1cc8e1)['reverse'](),_0x5f3bc4=_0xea01e9['reduce']((_0x130a24,_0x160519)=>(_0x130a24[(0x0,_0x42ecb7[_0x49a57b(0x384)])(_0x160519[_0x49a57b(0x2c8)])]+=0x1,_0x130a24),{'canvas':0x0,'floating':0x0}),_0x5e4e92={'canvas':0x0,'floating':0x0},_0x8132f1=_0xea01e9[_0x49a57b(0x442)]((_0x3a47a1,_0x552f4d)=>{const _0x2204d9=_0x49a57b;let _0x14e3bd=(0x0,_0x42ecb7[_0x2204d9(0x384)])(_0x3a47a1[_0x2204d9(0x2c8)]),_0x74185d=_0x14e3bd===_0x42ecb7[_0x2204d9(0x52f)],_0x3dbd1f=_0x5e4e92[_0x14e3bd]++;return{'id':_0x3a47a1[_0x2204d9(0x354)],'name':_0x193ad5(_0x3a47a1,_0x552f4d,_0x2a51b8),'description':_0x3a47a1[_0x2204d9(0x521)],'visible':_0x3a47a1['hidden']!==!0x0,'selectable':_0x3a47a1[_0x2204d9(0x379)]!==!0x1,'sectionId':_0x14e3bd,'sectionTitle':_0x74185d?_0x4645ab['sectionFloating']:_0x4645ab[_0x2204d9(0x437)],'capabilities':_0x74185d?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x74185d&&_0x3dbd1f>0x0,'canMoveBackward':!_0x74185d&&_0x3dbd1f<_0x5f3bc4[_0x2204d9(0x248)]-0x1,'canReorder':!_0x74185d};}),_0x1dcd92=(0x0,_0x1009cf['useMemo'])(()=>(_0x447bac??[])[_0x49a57b(0x2a8)](_0x3ca8c6=>_0x3ca8c6['unitId']===_0x560d1b&&_0x3ca8c6[_0x49a57b(0x4c3)]===_0x1a6562)[_0x49a57b(0x442)](_0x41bef9=>_0x41bef9[_0x49a57b(0x354)]),[_0x447bac,_0x1a6562,_0x560d1b]),_0x324e63=_0x1dcd92[_0x1dcd92[_0x49a57b(0x1ed)]-0x1]??null,_0x41537b=_0x51165e=>_0x30046d[_0x49a57b(0x291)]({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x51165e})??null,_0x23a998=async _0x2018db=>{const _0x5bb8cd=_0x49a57b;_0x560d1b&&_0x2018db[_0x5bb8cd(0x1ed)]&&await _0x52ed59['executeCommand'](_0x44df92['SetSheetDrawingCommand']['id'],{'unitId':_0x560d1b,'drawings':_0x2018db});},_0x7787cd=async(_0x3f23db,_0x5f328d)=>{_0x41537b(_0x3f23db)&&await _0x23a998([{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x3f23db,..._0x5f328d}]);},_0x4663ea=(_0x133c86,_0x312d32)=>{const _0x55db61=_0x49a57b;if(!_0x560d1b||!_0x1a6562)return;let _0x3a12f4=_0x312d32?_0x1dcd92[_0x55db61(0x4f9)](_0x133c86)?_0x1dcd92[_0x55db61(0x2a8)](_0x18835e=>_0x18835e!==_0x133c86):[..._0x1dcd92,_0x133c86]:[_0x133c86];_0x52ed59[_0x55db61(0x340)](_0x3a44e9[_0x55db61(0x456)]['id'],_0x3a12f4['map'](_0x1d5a00=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x1d5a00})));let _0x1d77a3=_0x3a12f4[_0x3a12f4['length']-0x1];_0x1d77a3?(0x0,_0x21b2c0[_0x55db61(0x288)])(_0x3eaeb1,{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x1d77a3}):(0x0,_0x21b2c0[_0x55db61(0x36b)])(_0x3eaeb1,_0x560d1b);},_0x3f6f46=async(_0x4f48a1,_0x27b46f)=>{const _0x463ed7=_0x49a57b;await _0x23a998(_0x4f48a1['map'](_0x346377=>_0x41537b(_0x346377))['filter'](_0x3f890f=>!!_0x3f890f)[_0x463ed7(0x2a8)](_0x1643da=>_0x1643da[_0x463ed7(0x482)]!==!0x0!==_0x27b46f)[_0x463ed7(0x442)](_0x25f379=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x25f379[_0x463ed7(0x354)],'hidden':!_0x27b46f})));},_0x5bacfe=async(_0x25f1af,_0x5230d6)=>{const _0x4f9527=_0x49a57b;await _0x23a998(_0x25f1af[_0x4f9527(0x442)](_0x2f6eaa=>_0x41537b(_0x2f6eaa))[_0x4f9527(0x2a8)](_0x45940f=>!!_0x45940f)[_0x4f9527(0x2a8)](_0x2a91ec=>_0x2a91ec[_0x4f9527(0x379)]!==!0x1!==_0x5230d6)['map'](_0x44eeff=>({'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingId':_0x44eeff['drawingId'],'selectable':_0x5230d6})));},_0x4c2a2c=_0x18e205=>{let _0x1830a5=_0x41537b(_0x18e205);if(_0x1830a5)return _0x5bacfe([_0x18e205],_0x1830a5['selectable']===!0x1);},_0x1b1d61=async(_0x23d02c,_0x17a8e6)=>{const _0x3b2842=_0x49a57b;var _0x12009c;let _0x40a9aa=_0x5ddbfe(_0x17a8e6);(((_0x12009c=_0x41537b(_0x23d02c))==null?void 0x0:_0x12009c[_0x3b2842(0x4ce)])??void 0x0)!==_0x40a9aa&&await _0x7787cd(_0x23d02c,{'name':_0x40a9aa});},_0x1e9029=async(_0xaf4852,_0xa86367)=>{const _0x4bd1b9=_0x49a57b;var _0x47ddbb;let _0x1f980a=_0x5ddbfe(_0xa86367);(((_0x47ddbb=_0x41537b(_0xaf4852))==null?void 0x0:_0x47ddbb[_0x4bd1b9(0x521)])??void 0x0)!==_0x1f980a&&await _0x7787cd(_0xaf4852,{'description':_0x1f980a});},_0x366553=async(_0x46d99f,_0x5879c4)=>{const _0x3760cd=_0x49a57b;_0x560d1b&&_0x1a6562&&await _0x52ed59[_0x3760cd(0x447)](_0x44df92['SetDrawingArrangeCommand']['id'],{'unitId':_0x560d1b,'subUnitId':_0x1a6562,'drawingIds':[_0x46d99f],'arrangeType':_0x5879c4});};return!_0x560d1b||!_0x1a6562?(0x0,_0x132e2c[_0x49a57b(0x305)])(_0x49a57b(0x391),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x4645ab['title']}):(0x0,_0x132e2c['jsx'])(_0x527776,{'labels':_0x4645ab,'items':_0x8132f1,'selectedIds':_0x1dcd92,'focusedId':_0x324e63,'showHeader':!0x1,'onSelect':_0x4663ea,'onSetVisible':_0x3f6f46,'onSetSelectable':_0x5bacfe,'onCommitName':_0x1b1d61,'onCommitDescription':_0x1e9029,'onMoveForward':async _0x36b45c=>_0x366553(_0x36b45c,_0x20b6b2[_0x49a57b(0x41c)]['forward']),'onMoveBackward':async _0x22bc64=>_0x366553(_0x22bc64,_0x20b6b2[_0x49a57b(0x41c)][_0x49a57b(0x428)]),'onToggleSelectable':_0x4c2a2c});}function _0x3d8d46(){const _0x2ef115=_0x3d4004;return(0x0,_0x132e2c['jsx'])(_0x40d67d,{'PanelComponent':_0x42ecb7[_0x2ef115(0x34f)]});}let _0x22684c=class extends _0x20b6b2['Disposable']{constructor(_0x2ad414,_0xaabaa2){const _0x585867=_0x3d4004;super(),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x3b993f,_0x3d8d46)),this[_0x585867(0x301)](_0xaabaa2['register']({'BottomIcon':_0x3e15b5,'FlipHorizontalIcon':_0x17ed57,'FlipVerticalIcon':_0x3f08c1,'MoveDownIcon':_0x14c8b4,'MoveUpIcon':_0xe08485,'ObjectLayersIcon':_0x1f2bbc,'ShapeFormatSettingIcon':_0x192ec1,'TopmostIcon':_0x20e21b})),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x5360d6,_0x493cb3)),this[_0x585867(0x301)](_0x2ad414[_0x585867(0x20d)](_0x22252c,_0x2d477d)),_0x2ad414[_0x585867(0x584)](_0x42ecb7[_0x585867(0x58a)])||this[_0x585867(0x301)](_0x2ad414['register'](_0x42ecb7[_0x585867(0x58a)],_0x2f5dea));}};_0x22684c=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x279)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3['IconManager']))],_0x22684c);let _0x34d1ee=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x54a651){const _0xe72cd9=_0x3d4004;super(),this[_0xe72cd9(0x2d7)]=_0x54a651,_0x212175(this,_0xe72cd9(0x2e8),new _0x1008b8[(_0xe72cd9(0x37d))](null)),_0x212175(this,_0xe72cd9(0x534),this[_0xe72cd9(0x2e8)][_0xe72cd9(0x3e9)]()),_0x212175(this,_0xe72cd9(0x517),new _0x1008b8[(_0xe72cd9(0x37d))](!0x1)),_0x212175(this,_0xe72cd9(0x4b2),this[_0xe72cd9(0x517)][_0xe72cd9(0x3e9)]()),_0x212175(this,_0xe72cd9(0x512),void 0x0),this['disposeWithMe'](this[_0xe72cd9(0x2d7)][_0xe72cd9(0x27d)][_0xe72cd9(0x448)](()=>{const _0x47c675=_0xe72cd9;let _0x5201d3=this['getEditing']();_0x5201d3!=null&&_0x5201d3[_0x47c675(0x3a4)]&&!this['_canEdit'](_0x5201d3)&&this[_0x47c675(0x1e4)](null);}));}[_0x3d4004(0x4fe)](){const _0x2ea4dc=_0x3d4004;this[_0x2ea4dc(0x30d)](),this[_0x2ea4dc(0x2e8)]['next'](null),this[_0x2ea4dc(0x2e8)][_0x2ea4dc(0x480)](),this[_0x2ea4dc(0x517)][_0x2ea4dc(0x295)](!0x1),this[_0x2ea4dc(0x517)]['complete'](),super[_0x2ea4dc(0x4fe)]();}[_0x3d4004(0x1e4)](_0x353485){const _0x574f4d=_0x3d4004;(_0x353485==null||!_0x353485[_0x574f4d(0x3a4)]||this['_canEdit'](_0x353485))&&(this['_clearCompletionFrame'](),this[_0x574f4d(0x2e8)][_0x574f4d(0x295)](_0x353485),(_0x353485==null||_0x353485[_0x574f4d(0x3a4)]&&this[_0x574f4d(0x517)][_0x574f4d(0x272)]())&&this[_0x574f4d(0x517)][_0x574f4d(0x295)](!0x1));}['setOnSavingEditorData'](_0x16d30e){this['_onSavingEditorData$']['next'](_0x16d30e);}['getEditing'](){const _0x61d7d0=_0x3d4004;return this[_0x61d7d0(0x2e8)]['getValue']();}[_0x3d4004(0x285)](_0x4774b5){const _0x3009b6=_0x3d4004;let _0x8f992a=this[_0x3009b6(0x2d7)]['getPermissionPoint'](new _0x3a78b8[(_0x3009b6(0x4f0))](_0x4774b5[_0x3009b6(0x3e5)])['id']),_0x2605bb=this[_0x3009b6(0x2d7)][_0x3009b6(0x4d7)](new _0x3a78b8[(_0x3009b6(0x417))](_0x4774b5[_0x3009b6(0x3e5)],_0x4774b5[_0x3009b6(0x4c3)])['id']);return((_0x8f992a==null?void 0x0:_0x8f992a[_0x3009b6(0x405)])??!0x0)&&((_0x2605bb==null?void 0x0:_0x2605bb[_0x3009b6(0x405)])??!0x0);}[_0x3d4004(0x1d6)](_0x344f97){const _0x3d42d0=_0x3d4004;let _0x46685c=this['getEditing']();_0x46685c&&this['_completionFrame']===void 0x0&&(this[_0x3d42d0(0x508)](!0x0),this[_0x3d42d0(0x512)]=requestAnimationFrame(()=>{const _0x2e2b40=_0x3d42d0;this[_0x2e2b40(0x512)]=void 0x0,this[_0x2e2b40(0x1f7)]()===_0x46685c&&this[_0x2e2b40(0x1e4)](null);}));}[_0x3d4004(0x30d)](){const _0x2489b6=_0x3d4004;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x2489b6(0x512)]),this[_0x2489b6(0x512)]=void 0x0);}[_0x3d4004(0x210)](){const _0x3048ed=_0x3d4004;this[_0x3048ed(0x1f7)]()&&this['setEditing'](null);}};_0x34d1ee=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x526)])],_0x34d1ee);let _0x5edad9=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x29e7cb,_0x4c33ec,_0x19fff5,_0x311d96,_0x11dd15,_0x1d9de7){const _0x93f9d8=_0x3d4004;super(),this['_context']=_0x29e7cb,this[_0x93f9d8(0x23c)]=_0x4c33ec,this[_0x93f9d8(0x234)]=_0x19fff5,this[_0x93f9d8(0x3a6)]=_0x311d96,this[_0x93f9d8(0x4da)]=_0x11dd15,this['_sheetsShapeService']=_0x1d9de7,_0x212175(this,_0x93f9d8(0x2eb),null),this[_0x93f9d8(0x23e)](),this['_initSelection'](),this[_0x93f9d8(0x4f7)]();}[_0x3d4004(0x23e)](){const _0x4a7005=_0x3d4004;let {scene:_0x48ed23}=this[_0x4a7005(0x268)];this[_0x4a7005(0x301)](_0x48ed23[_0x4a7005(0x4f1)]['subscribeEvent'](_0x422944=>{const _0x3fa9c5=_0x4a7005;let {offsetX:_0x467fe4,offsetY:_0xd4e38}=_0x422944,_0x11515f=_0x48ed23['pick'](_0x2e0941[_0x3fa9c5(0x507)][_0x3fa9c5(0x40e)]([_0x467fe4,_0xd4e38]));if(_0x11515f instanceof _0x2caaad){let _0x3a33f6=this['_sheetsShapeService']['getShapeModel'](_0x11515f[_0x3fa9c5(0x3e5)],_0x11515f[_0x3fa9c5(0x4c3)],_0x11515f[_0x3fa9c5(0x47c)]);if((0x0,_0x36e36c[_0x3fa9c5(0x52a)])(this[_0x3fa9c5(0x341)][_0x3fa9c5(0x3d1)](_0x11515f[_0x3fa9c5(0x3e5)],_0x11515f[_0x3fa9c5(0x4c3)],_0x11515f[_0x3fa9c5(0x47c)]))||_0x3a33f6!=null&&_0x3a33f6['getShapeData']()[_0x3fa9c5(0x1b7)])return;this[_0x3fa9c5(0x234)][_0x3fa9c5(0x1e4)]({'visible':!0x0,'unitId':_0x11515f['unitId'],'subUnitId':_0x11515f[_0x3fa9c5(0x4c3)],'shapeId':_0x11515f[_0x3fa9c5(0x47c)],'shapeKey':_0x11515f[_0x3fa9c5(0x420)]});}}));}[_0x3d4004(0x463)](){const _0x15849c=_0x3d4004;this[_0x15849c(0x301)](this['_drawingManagerService']['focus$'][_0x15849c(0x448)](_0x4a70dc=>{const _0x31f577=_0x15849c;if(_0x4a70dc['length']===0x1){let _0x3f6a70=_0x4a70dc[0x0],_0x5115a5=this[_0x31f577(0x3a6)][_0x31f577(0x291)](_0x3f6a70);if((_0x5115a5==null?void 0x0:_0x5115a5[_0x31f577(0x2c8)])===_0x20b6b2[_0x31f577(0x284)][_0x31f577(0x364)]){var _0x30be99;let _0x59f6ee=this['_shapeTextEditingService']['getEditing']();if((_0x59f6ee==null?void 0x0:_0x59f6ee[_0x31f577(0x47c)])===_0x3f6a70[_0x31f577(0x354)]&&_0x59f6ee['visible'])return;let _0x3384ae=(0x0,_0x36e36c[_0x31f577(0x52a)])(this['_sheetsShapeService'][_0x31f577(0x3d1)](_0x3f6a70[_0x31f577(0x3e5)],_0x3f6a70[_0x31f577(0x4c3)],_0x3f6a70[_0x31f577(0x354)])),_0x2da308=!!((_0x30be99=this[_0x31f577(0x341)][_0x31f577(0x453)](_0x3f6a70[_0x31f577(0x3e5)],_0x3f6a70[_0x31f577(0x4c3)],_0x3f6a70[_0x31f577(0x354)]))!=null&&_0x30be99[_0x31f577(0x313)]()[_0x31f577(0x1b7)]);(_0x3384ae||_0x2da308)&&this['_shapeTextEditingService'][_0x31f577(0x1e4)](null);}else this['_shapeTextEditingService']['completeEditing']();}else this[_0x31f577(0x234)][_0x31f577(0x1d6)]();})),this[_0x15849c(0x301)](this[_0x15849c(0x3a6)][_0x15849c(0x52d)][_0x15849c(0x448)](_0x2a229d=>{const _0x375d36=_0x15849c;let _0x539dfb=this[_0x375d36(0x234)][_0x375d36(0x1f7)]();_0x539dfb&&_0x2a229d[_0x375d36(0x2bc)](_0x5cd3c6=>_0x5cd3c6[_0x375d36(0x354)]===_0x539dfb[_0x375d36(0x47c)])&&this[_0x375d36(0x234)][_0x375d36(0x1e4)](null);}));}['_initEditingParams'](){const _0x3edcc8=_0x3d4004;this[_0x3edcc8(0x301)](this[_0x3edcc8(0x234)][_0x3edcc8(0x534)][_0x3edcc8(0x448)](_0x38645a=>{const _0x30aee7=_0x3edcc8;let {scene:_0x100bcf}=this['_context'];if(this[_0x30aee7(0x2eb)]){let _0x4ee1bc=_0x100bcf['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x4ee1bc&&_0x4ee1bc['setEditing'](!0x1);}if(_0x38645a){let _0x7a585d=!!_0x38645a[_0x30aee7(0x3a4)],_0x5e562a=_0x100bcf[_0x30aee7(0x1fe)](_0x38645a[_0x30aee7(0x1e7)]);_0x5e562a&&(_0x5e562a[_0x30aee7(0x1e4)](_0x7a585d),this[_0x30aee7(0x2eb)]=_0x38645a[_0x30aee7(0x1e7)]),this['_contextService'][_0x30aee7(0x510)](_0x20b6b2[_0x30aee7(0x575)],_0x7a585d);}else this[_0x30aee7(0x2eb)]=null,this[_0x30aee7(0x4da)][_0x30aee7(0x510)](_0x20b6b2['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x5edad9=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2['Injector'])),_0x4a972c(0x2,(0x0,_0x20b6b2['Inject'])(_0x34d1ee)),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x31a)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)]))],_0x5edad9);var _0x24093a=class extends _0x5edad9{['_initEvents'](){const _0x4cea73=_0x3d4004;let {scene:_0x1a2ad1}=this[_0x4cea73(0x268)],_0x12c8a4=this[_0x4cea73(0x23c)][_0x4cea73(0x584)](_0x21b2c0['MobileShapeEditorService']);this[_0x4cea73(0x301)](_0x1a2ad1[_0x4cea73(0x4f1)][_0x4cea73(0x306)](_0x33768e=>{const _0x376a51=_0x4cea73;let {offsetX:_0x108b6e,offsetY:_0xa3d4e9}=_0x33768e,_0x408383=_0x1a2ad1['pick'](_0x2e0941[_0x376a51(0x507)][_0x376a51(0x40e)]([_0x108b6e,_0xa3d4e9]));if(!(_0x408383 instanceof _0x2caaad))return;let _0x2e2cf6=this['_sheetsShapeService']['getShapeModel'](_0x408383['unitId'],_0x408383['subUnitId'],_0x408383['shapeId']);(0x0,_0x36e36c[_0x376a51(0x52a)])(this[_0x376a51(0x341)][_0x376a51(0x3d1)](_0x408383['unitId'],_0x408383['subUnitId'],_0x408383[_0x376a51(0x47c)]))||_0x2e2cf6!=null&&_0x2e2cf6['getShapeData']()[_0x376a51(0x1b7)]||_0x12c8a4[_0x376a51(0x230)](_0x376a51(0x253),{'hostType':_0x20b6b2[_0x376a51(0x257)][_0x376a51(0x2bb)],'unitId':_0x408383[_0x376a51(0x3e5)],'subUnitId':_0x408383[_0x376a51(0x4c3)],'shapeId':_0x408383['shapeId']});}));}};let _0x180650={..._0x4908b1},_0x4340f2=class extends _0x20b6b2['Disposable']{constructor(_0x16b2d5,_0x5570d2,_0x218ca9,_0xd97bcb,_0x300a56,_0x438eac,_0x2ef004,_0x29c5cb){const _0x5091fb=_0x3d4004;super(),this[_0x5091fb(0x558)]=_0x16b2d5,this[_0x5091fb(0x341)]=_0x5570d2,this[_0x5091fb(0x2d4)]=_0x218ca9,this['_drawingManagerService']=_0xd97bcb,this[_0x5091fb(0x429)]=_0x300a56,this['_contextService']=_0x438eac,this[_0x5091fb(0x35d)]=_0x2ef004,this[_0x5091fb(0x234)]=_0x29c5cb,_0x212175(this,'_shapePopupMenuDisposable',null),this[_0x5091fb(0x558)][_0x5091fb(0x531)](_0x180650),this['_registerFeatureMenu'](),this['disposeWithMe'](this[_0x5091fb(0x234)]['editingParams$'][_0x5091fb(0x448)](_0x598c44=>{const _0x3e1c44=_0x5091fb;_0x598c44&&this[_0x3e1c44(0x3d0)]();}));}['initShapePopupMenu'](){const _0x1d8c9f=_0x3d4004;this[_0x1d8c9f(0x57e)]||=this[_0x1d8c9f(0x301)]((0x0,_0x21b2c0[_0x1d8c9f(0x387)])(this['_renderManagerService'],_0x20b6b2[_0x1d8c9f(0x257)][_0x1d8c9f(0x2bb)],_0x1b7c35=>this['_popupMenuListener'](_0x1b7c35)));}[_0x3d4004(0x2b4)](){const _0x578e2c=_0x3d4004;this[_0x578e2c(0x429)][_0x578e2c(0x383)](_0x20b6b2[_0x578e2c(0x284)][_0x578e2c(0x364)],(_0x47b747,_0x61193,_0x236adc,_0x2c9d3a)=>{const _0x5b432e=_0x578e2c;let _0x3e88e8=this['_sheetsShapeService'][_0x5b432e(0x2ec)](_0x47b747,_0x61193,_0x236adc),_0x12b3f1=this[_0x5b432e(0x341)][_0x5b432e(0x51d)](_0x47b747,_0x61193,_0x236adc),_0x71e8cb=_0x3e88e8!==void 0x0&&!(0x0,_0x36e36c[_0x5b432e(0x52a)])(_0x3e88e8)&&!(_0x12b3f1!=null&&_0x12b3f1['formulaBinding']);return[{'label':_0x5b432e(0x4cc),'index':0x0,'commandId':_0x6604f2['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'mode':_0x5b432e(0x1d5)},'disable':!0x1},..._0x71e8cb?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x6604f2['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'mode':_0x5b432e(0x253)},'disable':!0x1}]:[],{'label':'sheets-shape-ui.deleteShape','index':0x2,'commandId':_0x44df92[_0x5b432e(0x2de)]['id'],'commandParams':{'unitId':_0x47b747,'drawings':[{'unitId':_0x47b747,'subUnitId':_0x61193,'drawingId':_0x236adc,'drawingType':_0x2c9d3a}]},'disable':!0x1},{'label':_0x5b432e(0x4e0),'index':0x3,'commandId':_0x3c17ec[_0x5b432e(0x3ce)]['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'shapeId':_0x236adc,'flipH':!0x0},'disable':!0x1},{'label':_0x5b432e(0x1f9),'index':0x4,'commandId':_0x3c17ec[_0x5b432e(0x3ce)]['id'],'commandParams':{'unitId':_0x47b747,'subUnitId':_0x61193,'shapeId':_0x236adc,'flipV':!0x0},'disable':!0x1}];},_0x578e2c(0x1ea));}[_0x3d4004(0x2b3)](_0x1e07cd){const _0x303b37=_0x3d4004;let _0x567d57=new _0x20b6b2[(_0x303b37(0x529))](),_0x1d169b=null,_0x20eade=()=>{const _0x58d2ab=_0x303b37;if(!_0x1d169b)return;let _0x77ce11=this[_0x58d2ab(0x3a6)]['getFocusDrawings'](),_0x21b7f3=_0x77ce11[_0x58d2ab(0x1ed)]===0x0||_0x77ce11[_0x58d2ab(0x1ed)]===0x1&&_0x77ce11[_0x58d2ab(0x2bc)](_0x1ed8a9=>_0x1ed8a9[_0x58d2ab(0x3e5)]===(_0x1d169b==null?void 0x0:_0x1d169b['unitId'])&&_0x1ed8a9['subUnitId']===(_0x1d169b==null?void 0x0:_0x1d169b[_0x58d2ab(0x4c3)])&&_0x1ed8a9[_0x58d2ab(0x354)]===(_0x1d169b==null?void 0x0:_0x1d169b[_0x58d2ab(0x354)]));_0x1d169b=null,_0x21b7f3&&(this[_0x58d2ab(0x4da)]['setContextValue'](_0x20b6b2[_0x58d2ab(0x1e8)],!0x1),this[_0x58d2ab(0x3a6)][_0x58d2ab(0x489)](null));};return _0x567d57[_0x303b37(0x2e9)](_0x1e07cd['createControl$'][_0x303b37(0x448)](()=>{const _0x194720=_0x303b37;let _0x122e59=_0x1e07cd[_0x194720(0x2b5)]();if(_0x122e59[_0x194720(0x236)]>0x1){_0x20eade();return;}let _0x4c6391=_0x122e59['values']()[_0x194720(0x295)]()[_0x194720(0x405)];if(!_0x4c6391){_0x20eade();return;}let _0x14c02b=this[_0x194720(0x3a6)][_0x194720(0x231)](_0x4c6391[_0x194720(0x420)]);if(!_0x14c02b||_0x14c02b[_0x194720(0x2c8)]!==_0x20b6b2['DrawingTypeEnum']['DRAWING_SHAPE']){_0x20eade();return;}let {unitId:_0x19c30f,subUnitId:_0xa9bed4,drawingId:_0x4a14f1}=_0x14c02b;_0x1d169b={'unitId':_0x19c30f,'subUnitId':_0xa9bed4,'drawingId':_0x4a14f1},this[_0x194720(0x4da)][_0x194720(0x510)](_0x20b6b2[_0x194720(0x1e8)],!0x0),this[_0x194720(0x3a6)]['getFocusDrawings']()[_0x194720(0x1f4)](_0x5bb578=>_0x5bb578['unitId']===_0x19c30f&&_0x5bb578['subUnitId']===_0xa9bed4&&_0x5bb578[_0x194720(0x354)]===_0x4a14f1)||this[_0x194720(0x3a6)][_0x194720(0x489)]([{'unitId':_0x19c30f,'subUnitId':_0xa9bed4,'drawingId':_0x4a14f1}]);})),_0x567d57['add'](_0x1e07cd[_0x303b37(0x31d)][_0x303b37(0x448)](()=>{_0x20eade();})),(0x0,_0x20b6b2[_0x303b37(0x3ae)])(()=>{const _0xbaefc=_0x303b37;_0x567d57[_0xbaefc(0x4fe)](),_0x20eade();});}[_0x3d4004(0x3d0)](){const _0x53ad02=_0x3d4004;this['_contextService'][_0x53ad02(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x53ad02(0x3a6)]['focusDrawing'](null);}};_0x4340f2=_0x3a2391([_0x4a972c(0x0,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,(0x0,_0x20b6b2['Inject'])(_0x5aa18a[_0x3d4004(0x2e6)])),_0x4a972c(0x5,_0x20b6b2['IContextService']),_0x4a972c(0x6,_0x2e0941['IRenderManagerService']),_0x4a972c(0x7,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x34d1ee))],_0x4340f2);function _0x11c51d(_0x44064b,_0x163c00,_0x36be0e,_0x2a7a1b){const _0x57b277=_0x3d4004;let _0x3f1e58=(0x0,_0x3a44e9[_0x57b277(0x42d)])(_0x44064b,_0x163c00,_0x36be0e),_0x472ccc=[];for(let _0x5d26d0 of _0x163c00){let _0x410914=_0x3f1e58[_0x57b277(0x535)][_0x57b277(0x584)](_0x5d26d0['drawingId']),_0x54cae2=_0x2a7a1b(_0x5d26d0);_0x410914&&_0x54cae2&&_0x472ccc[_0x57b277(0x467)]({'targetShapeId':_0x410914,'source':_0x54cae2});}return _0x472ccc;}let _0x538bd4=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x4afaf8,_0x3c1f06,_0x43bcd4,_0xd5bc81){const _0xe4f5db=_0x3d4004;super(),this['_univerInstanceService']=_0x4afaf8,this[_0xe4f5db(0x21a)]=_0x3c1f06,this[_0xe4f5db(0x30e)]=_0x43bcd4,this[_0xe4f5db(0x341)]=_0xd5bc81,this[_0xe4f5db(0x42e)]();}['_initSheetChange'](){const _0x17b770=_0x3d4004;this[_0x17b770(0x301)](this[_0x17b770(0x21a)]['interceptCommand']({'getMutations':_0x4a98c9=>{const _0x413a93=_0x17b770;if(_0x4a98c9['id']===_0x3a78b8[_0x413a93(0x218)]['id']){let _0x3f8d57=(0x0,_0x3a78b8[_0x413a93(0x4c6)])(this[_0x413a93(0x1cc)],_0x4a98c9['params']);if(!_0x3f8d57)return{'redos':[],'undos':[]};let {unitId:_0x1ade41,subUnitId:_0x227a5e}=_0x3f8d57,_0x17211a=this['_sheetDrawingService'][_0x413a93(0x3c5)](_0x1ade41,_0x227a5e),_0x258fad=Object['values'](_0x17211a)[_0x413a93(0x2a8)](_0x2d456d=>_0x2d456d[_0x413a93(0x2c8)]===_0x20b6b2[_0x413a93(0x284)]['DRAWING_SHAPE']);if(_0x258fad['length']===0x0)return{'redos':[],'undos':[]};let _0x9fe7e=[],_0xfc299d=[];for(let _0x2abfec=0x0;_0x2abfec<_0x258fad[_0x413a93(0x1ed)];_0x2abfec++){let _0x177a18=_0x258fad[_0x2abfec],_0x55f56c=this[_0x413a93(0x341)][_0x413a93(0x453)](_0x177a18[_0x413a93(0x3e5)],_0x177a18[_0x413a93(0x4c3)],_0x177a18['drawingId']);_0x55f56c&&(_0x9fe7e[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x23b)]['id'],'params':{'unitId':_0x1ade41,'subUnitId':_0x227a5e,'shapeId':_0x177a18[_0x413a93(0x354)]}}),_0xfc299d[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x523)]['id'],'params':{'unitId':_0x1ade41,'subUnitId':_0x227a5e,'shapeId':_0x177a18[_0x413a93(0x354)],'shapeType':_0x55f56c['getShapeType'](),'shapeData':JSON['parse'](JSON[_0x413a93(0x2dd)](_0x55f56c[_0x413a93(0x313)]()))}}));}return{'redos':_0x9fe7e,'undos':_0xfc299d};}if(_0x4a98c9['id']===_0x3a78b8['CopySheetCommand']['id']){let {unitId:_0x2eb37c,subUnitId:_0xd99bf3,targetSubUnitId:_0x5933c7,copyContext:_0x3175e6}=_0x4a98c9[_0x413a93(0x342)];if(!_0x2eb37c||!_0xd99bf3||!_0x5933c7)return{'redos':[],'undos':[]};let _0x32e6fa=this[_0x413a93(0x30e)]['getDrawingData'](_0x2eb37c,_0xd99bf3),_0x2cf099=Object[_0x413a93(0x1ff)](_0x32e6fa)[_0x413a93(0x2a8)](_0x589918=>_0x589918['drawingType']===_0x20b6b2[_0x413a93(0x284)][_0x413a93(0x364)]);if(_0x2cf099[_0x413a93(0x1ed)]===0x0)return{'redos':[],'undos':[]};let _0x241f1c=_0x11c51d(_0x3175e6,_0x2cf099,{'unitId':_0x2eb37c,'sourceSubUnitId':_0xd99bf3,'targetSubUnitId':_0x5933c7},_0x184575=>{const _0x557e3a=_0x413a93;let _0xacd9f9=this['_sheetsShapeService']['getShapeModel'](_0x184575[_0x557e3a(0x3e5)],_0x184575[_0x557e3a(0x4c3)],_0x184575['drawingId']);if(_0xacd9f9)return{'shapeType':_0xacd9f9[_0x557e3a(0x3d1)](),'shapeData':JSON[_0x557e3a(0x2fa)](JSON[_0x557e3a(0x2dd)](_0xacd9f9[_0x557e3a(0x313)]()))};}),_0x20b5ce=[],_0x103bd9=[];for(let {targetShapeId:_0x443c23,source:_0x4c3da2}of _0x241f1c)_0x20b5ce[_0x413a93(0x467)]({'id':_0x3c17ec[_0x413a93(0x523)]['id'],'params':{'unitId':_0x2eb37c,'subUnitId':_0x5933c7,'shapeId':_0x443c23,'shapeType':_0x4c3da2[_0x413a93(0x44e)],'shapeData':_0x4c3da2[_0x413a93(0x224)]}}),_0x103bd9[_0x413a93(0x467)]({'id':_0x3c17ec['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x2eb37c,'subUnitId':_0x5933c7,'shapeId':_0x443c23}});return{'redos':_0x20b5ce,'undos':_0x103bd9};}return{'redos':[],'undos':[]};}}));}};_0x538bd4=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x43b)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a78b8[_0x3d4004(0x3fb)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x44df92[_0x3d4004(0x551)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService']))],_0x538bd4);let _0x5a8444=class extends _0x20b6b2['Disposable']{constructor(_0x2d72dd,_0x56707c,_0x2a5ffb,_0x2760b4,_0x2d1c58,_0x403eeb){const _0x432430=_0x3d4004;super(),this[_0x432430(0x2d4)]=_0x2d72dd,this['_renderManagerService']=_0x56707c,this['_drawingManagerService']=_0x2a5ffb,this[_0x432430(0x297)]=_0x2760b4,this[_0x432430(0x4a2)]=_0x2d1c58,this[_0x432430(0x1b8)]=_0x403eeb,_0x212175(this,_0x432430(0x328),new Set()),this[_0x432430(0x1b9)]();}[_0x3d4004(0x1b9)](){const _0x307c1e=_0x3d4004;this[_0x307c1e(0x3e1)](),this['_commandExecutedListener'](),this['_shapeUpdateListener']();}['_drawingAddListener'](){const _0x5b6fb3=_0x3d4004;this[_0x5b6fb3(0x301)](this['_drawingManagerService'][_0x5b6fb3(0x2ae)][_0x5b6fb3(0x448)](_0x2b0476=>{const _0x4a75c0=_0x5b6fb3;this[_0x4a75c0(0x3d2)](_0x2b0476);}));}['_commandExecutedListener'](){const _0x5e8666=_0x3d4004;this[_0x5e8666(0x301)](this['_commandService'][_0x5e8666(0x47a)]((_0x33924b,_0x45159a)=>{const _0x29dc93=_0x5e8666;if(_0x33924b['id']===_0x3c17ec[_0x29dc93(0x1fa)]['id']){let {unitId:_0x247497,subUnitId:_0x573122,shapeId:_0x538617}=_0x33924b[_0x29dc93(0x342)],_0x4c5891=this[_0x29dc93(0x24f)](_0x247497),_0x5d0d1d=(0x0,_0x3a44e9[_0x29dc93(0x2a1)])({'unitId':_0x247497,'subUnitId':_0x573122,'drawingId':_0x538617}),_0x1b6a5a=_0x4c5891==null?void 0x0:_0x4c5891[_0x29dc93(0x4f2)]['getObjectIncludeInGroup'](_0x5d0d1d);_0x1b6a5a&&(this[_0x29dc93(0x1b8)][_0x29dc93(0x2fe)](_0x1b6a5a),this['_sheetDrawingShapeRenderController']['refreshFormulaPresentation'](_0x1b6a5a,{'unitId':_0x247497,'subUnitId':_0x573122,'shapeId':_0x538617}),_0x1b6a5a[_0x29dc93(0x537)](!0x0));return;}if(_0x33924b['id']===_0x3c17ec[_0x29dc93(0x523)]['id']){var _0x58c16d;let {unitId:_0x35896b,subUnitId:_0x2101a7,shapeId:_0x5b61b3}=_0x33924b[_0x29dc93(0x342)],_0x528d63=this[_0x29dc93(0x24f)](_0x35896b);if(_0x528d63==null)return;let {scene:_0x4a4753}=_0x528d63,_0x53aeda=(0x0,_0x3a44e9[_0x29dc93(0x2a1)])({'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}),_0x221564=_0x4a4753[_0x29dc93(0x1fe)](_0x53aeda);if(!((_0x58c16d=this[_0x29dc93(0x35d)]['getRenderUnitById'](_0x35896b))!=null&&_0x58c16d[_0x29dc93(0x33c)](_0x5aa18a[_0x29dc93(0x555)])['getSkeleton'](_0x2101a7)))return!0x1;if(_0x221564)return;if(_0x45159a!=null&&_0x45159a[_0x29dc93(0x3da)]){queueMicrotask(()=>{const _0x171529=_0x29dc93;this[_0x171529(0x450)]||this['_insertShapes']([{'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}]);});return;}this[_0x29dc93(0x3d2)]([{'unitId':_0x35896b,'subUnitId':_0x2101a7,'drawingId':_0x5b61b3}]);}}));}[_0x3d4004(0x2be)](){const _0x147573=_0x3d4004;this[_0x147573(0x301)](this['_drawingManagerService'][_0x147573(0x20a)][_0x147573(0x448)](_0x5a8373=>{const _0x4da350=_0x147573;_0x5a8373[_0x4da350(0x39d)](_0x3f6384=>{const _0x584880=_0x4da350;let {unitId:_0x34a0c4,subUnitId:_0x15ac9d,drawingId:_0x115b9b}=_0x3f6384,_0x48fcdd=this['_drawingManagerService'][_0x584880(0x291)](_0x3f6384);if(_0x48fcdd==null)return;let {transform:_0x995384,drawingType:_0x3b6e6e,srcRect:_0x521ddf,prstGeom:_0x31b64e}=_0x48fcdd;if(_0x3b6e6e!==_0x20b6b2[_0x584880(0x284)][_0x584880(0x364)])return;let _0x12d6cc=this[_0x584880(0x24f)](_0x34a0c4);if(_0x12d6cc==null)return;let {scene:_0x1e980f,transformer:_0x5a6225}=_0x12d6cc;if(_0x995384==null)return!0x0;let _0x466439=(0x0,_0x3a44e9[_0x584880(0x2a1)])({'unitId':_0x34a0c4,'subUnitId':_0x15ac9d,'drawingId':_0x115b9b}),_0x3255f6=_0x1e980f['getObjectIncludeInGroup'](_0x466439);if(_0x3255f6==null)return!0x0;_0x3255f6[_0x584880(0x27b)](_0x521ddf),_0x3255f6[_0x584880(0x36e)](_0x31b64e);});}));}[_0x3d4004(0x3d2)](_0x559a12){const _0x39245a=_0x3d4004;for(let _0x57c8f6 of _0x559a12){var _0x2bdc27;let {unitId:_0x49d6cb,subUnitId:_0x49ea40,drawingId:_0x59bc27}=_0x57c8f6,_0x21cb07=this['_getSceneAndTransformerByDrawingSearch'](_0x49d6cb),_0x1b77c3=(_0x2bdc27=(0x0,_0x42ecb7[_0x39245a(0x3a3)])(this[_0x39245a(0x297)],_0x49d6cb))==null?void 0x0:_0x2bdc27[_0x39245a(0x4c3)];if(_0x21cb07==null||_0x1b77c3!==_0x49ea40)return;let _0x355738=(0x0,_0x3a44e9[_0x39245a(0x2a1)])({'unitId':_0x49d6cb,'subUnitId':_0x49ea40,'drawingId':_0x59bc27});if(this[_0x39245a(0x328)][_0x39245a(0x481)](_0x355738)||_0x21cb07[_0x39245a(0x4f2)][_0x39245a(0x1fe)](_0x355738)!=null)return;let _0x5cb1dd=this['_drawingManagerService'][_0x39245a(0x291)](_0x57c8f6);if(_0x5cb1dd==null||_0x5cb1dd[_0x39245a(0x2c8)]!==_0x20b6b2[_0x39245a(0x284)][_0x39245a(0x364)])return;let _0x2985fe=_0x5cb1dd['data']||{};if((0x0,_0x36e36c['isConnectorShape'])(_0x2985fe['shapeType'])){let _0x401c8e=_0x5cb1dd[_0x39245a(0x3be)];_0x401c8e&&(_0x5cb1dd[_0x39245a(0x3be)]={..._0x401c8e,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x39245a(0x328)][_0x39245a(0x2e9)](_0x355738);try{this[_0x39245a(0x1b8)][_0x39245a(0x3c6)](_0x5cb1dd,_0x21cb07[_0x39245a(0x4f2)]);}finally{this[_0x39245a(0x328)]['delete'](_0x355738);}queueMicrotask(()=>{const _0x11eedd=_0x39245a;if(this[_0x11eedd(0x450)])return;let _0x338c96=(0x0,_0x3a44e9[_0x11eedd(0x2a1)])(_0x57c8f6);if(!_0x21cb07[_0x11eedd(0x4f2)][_0x11eedd(0x1fe)](_0x338c96))return;let _0x45e180=this[_0x11eedd(0x3a6)][_0x11eedd(0x291)](_0x57c8f6);_0x45e180&&this[_0x11eedd(0x3a6)][_0x11eedd(0x394)]([_0x45e180]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x612b7e){const _0x239dfa=_0x3d4004;if(_0x612b7e==null)return;let _0x155254=this[_0x239dfa(0x35d)][_0x239dfa(0x3ab)](_0x612b7e),_0x1f8b22=_0x155254==null?void 0x0:_0x155254['scene'];return _0x1f8b22==null?null:{'scene':_0x1f8b22,'transformer':_0x1f8b22[_0x239dfa(0x51e)]()};}};_0x5a8444=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x1,_0x2e0941['IRenderManagerService']),_0x4a972c(0x2,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,(0x0,_0x20b6b2['Inject'])(_0x42ecb7[_0x3d4004(0x25c)])),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87))],_0x5a8444);let _0x9458d2={'normal':{'fill':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x347)],'stroke':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x495)],'strokeWidth':_0x36e36c[_0x3d4004(0x543)][_0x3d4004(0x24d)]},'highlighted':{'fill':_0x3d4004(0x44a),'stroke':'#1a73e8','strokeWidth':0x2}};var _0x4476bc=class extends _0x2e0941['Shape']{constructor(_0x1fe6de,_0x80f86b){const _0x2bac32=_0x3d4004;super(_0x1fe6de,_0x80f86b),_0x212175(this,_0x2bac32(0x49e),''),_0x212175(this,_0x2bac32(0x532),-0x1),_0x212175(this,_0x2bac32(0x1d1),''),_0x212175(this,_0x2bac32(0x240),''),_0x212175(this,_0x2bac32(0x402),!0x1),_0x80f86b&&this[_0x2bac32(0x4af)](_0x80f86b);}[_0x3d4004(0x50a)](){const _0x4b6d47=_0x3d4004;return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x4b6d47(0x532)]};}[_0x3d4004(0x37a)](_0x5f49d5){const _0x3f6ad7=_0x3d4004;this[_0x3f6ad7(0x402)]!==_0x5f49d5&&(this[_0x3f6ad7(0x402)]=_0x5f49d5,this['makeDirty'](!0x0));}[_0x3d4004(0x522)](){const _0x5c445a=_0x3d4004;return this[_0x5c445a(0x402)];}[_0x3d4004(0x4af)](_0x10fefe){const _0x1842e8=_0x3d4004;_0x10fefe[_0x1842e8(0x270)]!==void 0x0&&(this[_0x1842e8(0x49e)]=_0x10fefe[_0x1842e8(0x270)]),_0x10fefe[_0x1842e8(0x4b3)]!==void 0x0&&(this[_0x1842e8(0x532)]=_0x10fefe['cxnIndex']),_0x10fefe['unitId']!==void 0x0&&(this[_0x1842e8(0x1d1)]=_0x10fefe[_0x1842e8(0x3e5)]),_0x10fefe['subUnitId']!==void 0x0&&(this[_0x1842e8(0x240)]=_0x10fefe[_0x1842e8(0x4c3)]),_0x10fefe[_0x1842e8(0x522)]!==void 0x0&&(this['_isHighlighted']=_0x10fefe['isHighlighted']),this['transformByState']({'width':_0x10fefe['width']??_0x36e36c[_0x1842e8(0x543)][_0x1842e8(0x525)]*0x2,'height':_0x10fefe[_0x1842e8(0x3f0)]??_0x36e36c['ShapeDefaultConfig']['cxnPointRadius']*0x2});}[_0x3d4004(0x3bf)](_0x2f3321){const _0x2cd33e=_0x3d4004;let _0x42d396=this[_0x2cd33e(0x402)]?_0x9458d2[_0x2cd33e(0x4dc)]:_0x9458d2[_0x2cd33e(0x392)];_0x2e0941[_0x2cd33e(0x4be)][_0x2cd33e(0x502)](_0x2f3321,{'radius':_0x36e36c['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x42d396[_0x2cd33e(0x55a)],'stroke':_0x42d396[_0x2cd33e(0x4a4)],'strokeWidth':_0x42d396[_0x2cd33e(0x1ec)],'evented':!0x0});}};let _0x1dbb70=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x5be063,_0x2efdc1,_0x1077e2,_0x2fae5c){const _0x41d7d2=_0x3d4004;super(),this[_0x41d7d2(0x268)]=_0x5be063,this[_0x41d7d2(0x35d)]=_0x2efdc1,this[_0x41d7d2(0x3a6)]=_0x1077e2,this[_0x41d7d2(0x341)]=_0x2fae5c,_0x212175(this,_0x41d7d2(0x478),[]),_0x212175(this,'_activeTargetShapeId',null),_0x212175(this,'_highlightedSiteIndex',-0x1),_0x212175(this,_0x41d7d2(0x556),null),_0x212175(this,_0x41d7d2(0x1d1),''),_0x212175(this,_0x41d7d2(0x240),''),_0x212175(this,_0x41d7d2(0x1cd),null);}[_0x3d4004(0x302)](_0x2faf53,_0x2a9e3b,_0x226ce2,_0x471d29){const _0x5ee1f2=_0x3d4004;this['_currentScene']=_0x2faf53,this['_unitId']=_0x2a9e3b,this[_0x5ee1f2(0x240)]=_0x226ce2,this[_0x5ee1f2(0x1cd)]=_0x471d29;}['updateConnectionDetection'](_0x20c359){const _0x3b6e2f=_0x3d4004;if(!this[_0x3b6e2f(0x556)])return null;let _0x4f7391=this['_findShapeAtPoint'](_0x20c359);return _0x4f7391?(this[_0x3b6e2f(0x351)]!==_0x4f7391[_0x3b6e2f(0x47c)]&&(this[_0x3b6e2f(0x244)](),this[_0x3b6e2f(0x1df)](_0x4f7391[_0x3b6e2f(0x47c)],_0x4f7391[_0x3b6e2f(0x26c)]),this[_0x3b6e2f(0x351)]=_0x4f7391['shapeId']),this[_0x3b6e2f(0x57a)](_0x20c359)):(this[_0x3b6e2f(0x351)]!==null&&(this[_0x3b6e2f(0x244)](),this['_activeTargetShapeId']=null),null);}['endConnectionDetection'](){const _0x20a33a=_0x3d4004;this['_clearConnectionSites'](),this['_currentScene']=null,this[_0x20a33a(0x351)]=null,this[_0x20a33a(0x206)]=-0x1,this[_0x20a33a(0x1cd)]=null;}[_0x3d4004(0x3c4)](){const _0x1ef8d1=_0x3d4004;return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x1ef8d1(0x351)],'cxnIndex':this[_0x1ef8d1(0x206)]};}[_0x3d4004(0x304)](_0x5d0dc8){const _0x394269=_0x3d4004;let _0x5c7e84=this[_0x394269(0x3a6)]['getDrawingData'](this[_0x394269(0x1d1)],this['_subUnitId']);for(let _0x5ca6b0 of Object[_0x394269(0x3a0)](_0x5c7e84)){if(_0x5ca6b0===this['_draggingConnectorId']||_0x5c7e84[_0x5ca6b0][_0x394269(0x2c8)]!==_0x20b6b2[_0x394269(0x284)][_0x394269(0x364)])continue;let _0x20af6a=this[_0x394269(0x341)][_0x394269(0x453)](this['_unitId'],this[_0x394269(0x240)],_0x5ca6b0);if(!_0x20af6a||(0x0,_0x36e36c['isConnectorShape'])(_0x20af6a[_0x394269(0x3d1)]())||_0x20af6a[_0x394269(0x33f)]()['length']===0x0||!this[_0x394269(0x556)])continue;let _0x3c74e7=(0x0,_0x3a44e9[_0x394269(0x2a1)])({'unitId':this['_unitId'],'subUnitId':this[_0x394269(0x240)],'drawingId':_0x5ca6b0}),_0x17c095=this[_0x394269(0x556)][_0x394269(0x1fe)](_0x3c74e7);if(!_0x17c095)continue;let {left:_0x166ccb,top:_0x48dc92,width:_0x56346e,height:_0x8779aa}=_0x17c095[_0x394269(0x560)](),_0x436fd2=_0x166ccb+_0x56346e/0x2,_0x619bee=_0x48dc92+_0x8779aa/0x2,_0xc99af4=_0x17c095[_0x394269(0x3be)][_0x394269(0x2ee)](),_0x56b202=new _0x2e0941['Transform']([_0xc99af4[0x0],_0xc99af4[0x1],_0xc99af4[0x2],_0xc99af4[0x3],_0x436fd2,_0x619bee]),_0x93b7c2=_0x17c095[_0x394269(0x330)](),_0x2e8ecd=(_0x17c095[_0x394269(0x585)]&&(_0x93b7c2==null?void 0x0:_0x93b7c2['classType'])===_0x2e0941[_0x394269(0x4e1)]['GROUP']?_0x93b7c2[_0x394269(0x4a7)]['multiply'](_0x56b202):_0x56b202)['invert']()['applyPoint'](_0x5d0dc8),_0x37fdf4=_0x56346e/0x2,_0x44b4d9=_0x8779aa/0x2;if(_0x2e8ecd['x']>=-_0x37fdf4-0x5&&_0x2e8ecd['x']<=_0x37fdf4+0x5&&_0x2e8ecd['y']>=-_0x44b4d9-0x5&&_0x2e8ecd['y']<=_0x44b4d9+0x5)return{'shapeId':_0x5ca6b0,'shapeModel':_0x20af6a};}return null;}['_showConnectionSites'](_0x4ad2b6,_0x3c1f5f){const _0x3a3eb9=_0x3d4004;if(!this[_0x3a3eb9(0x556)])return;let _0x20ba49=(0x0,_0x3a44e9['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x4ad2b6}),_0x27465e=this['_currentScene'][_0x3a3eb9(0x1fe)](_0x20ba49);if(!_0x27465e)return;let {left:_0x22ae3c,top:_0x515dc4,width:_0x49ed6f,height:_0xda5573}=_0x27465e['getRealBound'](),_0x16efa6=_0x22ae3c+_0x49ed6f/0x2,_0x198baf=_0x515dc4+_0xda5573/0x2,_0x2e2d14=_0x27465e[_0x3a3eb9(0x3be)][_0x3a3eb9(0x2ee)](),_0x411670=new _0x2e0941[(_0x3a3eb9(0x3c9))]([_0x2e2d14[0x0],_0x2e2d14[0x1],_0x2e2d14[0x2],_0x2e2d14[0x3],_0x16efa6,_0x198baf]),_0xccdaa1=_0x27465e[_0x3a3eb9(0x330)](),_0x2e5706=_0x27465e['isInGroup']&&(_0xccdaa1==null?void 0x0:_0xccdaa1[_0x3a3eb9(0x22d)])===_0x2e0941[_0x3a3eb9(0x4e1)][_0x3a3eb9(0x250)]?_0xccdaa1['ancestorTransform'][_0x3a3eb9(0x468)](_0x411670):_0x411670;_0x3c1f5f[_0x3a3eb9(0x4d2)]({'width':_0x49ed6f,'height':_0xda5573});let _0xac160a=_0x3c1f5f[_0x3a3eb9(0x33f)]();for(let _0x577f6d of _0xac160a){let _0x54ba03=_0x577f6d['x']-_0x49ed6f/0x2,_0x417b01=_0x577f6d['y']-_0xda5573/0x2,_0xf951c5=_0x2e5706[_0x3a3eb9(0x3ee)]({'x':_0x54ba03,'y':_0x417b01}),_0x18d8f9=_0xf951c5['x'],_0x1dc1e0=_0xf951c5['y'],_0x25fe52=new _0x4476bc('connection-site-'+_0x4ad2b6+'-'+_0x577f6d[_0x3a3eb9(0x55f)],{'left':_0x18d8f9-_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)],'top':_0x1dc1e0-_0x36e36c[_0x3a3eb9(0x543)]['cxnPointRadius'],'targetShapeId':_0x4ad2b6,'cxnIndex':_0x577f6d['index'],'unitId':this[_0x3a3eb9(0x1d1)],'subUnitId':this[_0x3a3eb9(0x240)],'width':_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)]*0x2,'height':_0x36e36c[_0x3a3eb9(0x543)][_0x3a3eb9(0x525)]*0x2,'zIndex':_0x2e0941[_0x3a3eb9(0x33e)]+0x2,'evented':!0x1});this[_0x3a3eb9(0x478)][_0x3a3eb9(0x467)](_0x25fe52),this[_0x3a3eb9(0x556)][_0x3a3eb9(0x497)](_0x25fe52,_0x2e0941[_0x3a3eb9(0x33e)]+0x2);}}['_findNearestConnectionSite'](_0x1e131e){const _0x41bf51=_0x3d4004;let _0x47070c=null,_0x415722=0x1/0x0,_0x4d9035=null;for(let _0x336d9d of this[_0x41bf51(0x478)]){let _0x129804=_0x336d9d[_0x41bf51(0x26d)]+_0x36e36c[_0x41bf51(0x543)][_0x41bf51(0x525)],_0x4078e1=_0x336d9d[_0x41bf51(0x35f)]+_0x36e36c[_0x41bf51(0x543)][_0x41bf51(0x525)],_0x3d3667=_0x1e131e['x']-_0x129804,_0x1cef0f=_0x1e131e['y']-_0x4078e1,_0x2dca84=Math[_0x41bf51(0x2c6)](_0x3d3667*_0x3d3667+_0x1cef0f*_0x1cef0f);_0x2dca84<_0x415722&&(_0x415722=_0x2dca84,_0x47070c=_0x336d9d,_0x4d9035={'x':_0x129804,'y':_0x4078e1});}let _0xb1038=_0x415722<=0xa&&_0x47070c?_0x47070c[_0x41bf51(0x50a)]()[_0x41bf51(0x4b3)]:-0x1;if(_0xb1038!==this[_0x41bf51(0x206)]){for(let _0x1aee19 of this[_0x41bf51(0x478)]){let _0xb29739=_0x1aee19[_0x41bf51(0x50a)]();_0x1aee19[_0x41bf51(0x37a)](_0xb29739['cxnIndex']===_0xb1038);}this[_0x41bf51(0x206)]=_0xb1038;}if(_0x415722<=0xa&&_0x47070c&&_0x4d9035){let _0x13fbf5=_0x47070c[_0x41bf51(0x50a)](),_0x2b587d=this[_0x41bf51(0x503)](_0x13fbf5[_0x41bf51(0x47c)],_0x13fbf5[_0x41bf51(0x4b3)]);return{'shapeId':_0x13fbf5['shapeId'],'cxnIndex':_0x13fbf5[_0x41bf51(0x4b3)],'unitId':_0x13fbf5[_0x41bf51(0x3e5)],'subUnitId':_0x13fbf5[_0x41bf51(0x4c3)],'worldPoint':_0x4d9035,'angle':_0x2b587d};}return null;}[_0x3d4004(0x503)](_0x4d35f0,_0x1043d4){const _0x7a37fc=_0x3d4004;let _0x470263=this['_sheetsShapeService'][_0x7a37fc(0x453)](this[_0x7a37fc(0x1d1)],this[_0x7a37fc(0x240)],_0x4d35f0);if(!_0x470263)return 0x0;let _0x24e834=this[_0x7a37fc(0x3a6)]['getDrawingByParam']({'unitId':this[_0x7a37fc(0x1d1)],'subUnitId':this[_0x7a37fc(0x240)],'drawingId':_0x4d35f0});if(!(_0x24e834!=null&&_0x24e834[_0x7a37fc(0x3be)]))return 0x0;let {width:_0x269f11=0x0,height:_0x3a63e8=0x0,flipX:_0x278139=!0x1,flipY:_0x3c7351=!0x1}=_0x24e834[_0x7a37fc(0x3be)];_0x470263[_0x7a37fc(0x4d2)]({'width':_0x269f11,'height':_0x3a63e8});let _0x3e5462=_0x470263[_0x7a37fc(0x33f)]()[_0x7a37fc(0x1f4)](_0x3323e7=>_0x3323e7['index']===_0x1043d4);if(!_0x3e5462)return 0x0;let _0x15ee11=_0x3e5462[_0x7a37fc(0x3ca)]/0xea60;return _0x278139&&(_0x15ee11=0xb4-_0x15ee11),_0x3c7351&&(_0x15ee11=-_0x15ee11),_0x15ee11=(_0x15ee11%0x168+0x168)%0x168,_0x15ee11;}[_0x3d4004(0x244)](){const _0x1c93a0=_0x3d4004;for(let _0x27e7e6 of this['_connectionSiteObjects'])_0x27e7e6['dispose']();this[_0x1c93a0(0x478)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x3d4004(0x4fe)](){const _0x57578a=_0x3d4004;this[_0x57578a(0x244)](),super[_0x57578a(0x4fe)]();}};_0x1dbb70=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x2e0941[_0x3d4004(0x565)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a44e9[_0x3d4004(0x567)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec['SheetsShapeService']))],_0x1dbb70);let _0xee7899=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x492e82,_0xb02c9b,_0x3d2847,_0x19c306,_0x4e6626){const _0x184b67=_0x3d4004;super(),this[_0x184b67(0x4a1)]=_0x492e82,this[_0x184b67(0x287)]=_0xb02c9b,this[_0x184b67(0x30e)]=_0x3d2847,this['_shapeService']=_0x19c306,this[_0x184b67(0x49b)]=_0x4e6626,_0x212175(this,_0x184b67(0x3c2),void 0x0),this['_initCopyPaste'](),this[_0x184b67(0x443)]();}get[_0x3d4004(0x3dd)](){const _0x51d45e=_0x3d4004;return this[_0x51d45e(0x30e)][_0x51d45e(0x505)]();}[_0x3d4004(0x443)](){const _0xd3b074=_0x3d4004;this[_0xd3b074(0x49b)][_0xd3b074(0x441)](({fromUnitId:_0x1ad392,fromSubUnitId:_0x5ad42f,toUnitId:_0x2c27fb,toSubUnitId:_0xf4d29,idMap:_0x17c047})=>{const _0x25bffc=_0xd3b074;let _0xcc89cf=[],_0x241474=[];for(let [_0x102043,_0x4bc7ce]of _0x17c047[_0x25bffc(0x1bf)]()){let _0x125fd5=this[_0x25bffc(0x2d3)][_0x25bffc(0x453)](_0x1ad392,_0x5ad42f,_0x102043);if(!_0x125fd5)continue;let _0x33a1e9=_0x125fd5['getShapeType'](),_0x30ed78=JSON[_0x25bffc(0x2fa)](JSON['stringify'](_0x125fd5[_0x25bffc(0x313)]()));if(_0x30ed78[_0x25bffc(0x44d)]){var _0x553e1e,_0x3c51db;let _0x2b1ffe=(_0x553e1e=_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)])==null?void 0x0:_0x553e1e['shapeId'],_0x3f0474=(_0x3c51db=_0x30ed78[_0x25bffc(0x44d)]['to'])==null?void 0x0:_0x3c51db[_0x25bffc(0x47c)],_0x23f092=!_0x2b1ffe||_0x17c047['has'](_0x2b1ffe),_0x29b697=!_0x3f0474||_0x17c047[_0x25bffc(0x481)](_0x3f0474);_0x23f092&&_0x2b1ffe&&_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)]?_0x30ed78[_0x25bffc(0x44d)][_0x25bffc(0x4dd)]={..._0x30ed78['relation'][_0x25bffc(0x4dd)],'shapeId':_0x17c047[_0x25bffc(0x584)](_0x2b1ffe)}:_0x30ed78[_0x25bffc(0x44d)]['from']=void 0x0,_0x29b697&&_0x3f0474&&_0x30ed78[_0x25bffc(0x44d)]['to']?_0x30ed78[_0x25bffc(0x44d)]['to']={..._0x30ed78[_0x25bffc(0x44d)]['to'],'shapeId':_0x17c047[_0x25bffc(0x584)](_0x3f0474)}:_0x30ed78[_0x25bffc(0x44d)]['to']=void 0x0;}_0xcc89cf[_0x25bffc(0x467)]({'id':_0x3c17ec[_0x25bffc(0x523)]['id'],'params':{'unitId':_0x2c27fb,'subUnitId':_0xf4d29,'shapeId':_0x4bc7ce,'shapeType':_0x33a1e9,'shapeData':_0x30ed78}}),_0x241474[_0x25bffc(0x467)]({'id':_0x3c17ec[_0x25bffc(0x23b)]['id'],'params':{'unitId':_0x2c27fb,'subUnitId':_0xf4d29,'shapeId':_0x4bc7ce}});}return{'redos':_0xcc89cf,'undos':_0x241474};});}['_initCopyPaste'](){const _0x1693cf=_0x3d4004;this['disposeWithMe'](this[_0x1693cf(0x287)][_0x1693cf(0x496)]({'id':_0x1693cf(0x413),'onBeforeCopyFocusedObject':(_0x365160,_0x4eb7ab,_0xbce441)=>{const _0x22a6f4=_0x1693cf;this[_0x22a6f4(0x3c2)]=null;let _0x4e195e=this[_0x22a6f4(0x3dd)][_0x22a6f4(0x2a8)](_0x265339=>_0x265339[_0x22a6f4(0x2c8)]===_0x20b6b2[_0x22a6f4(0x284)][_0x22a6f4(0x364)]);return _0x4e195e[_0x22a6f4(0x1ed)]!==0x0&&(this[_0x22a6f4(0x3c2)]={'unitId':_0x365160,'subUnitId':_0x4eb7ab,'copyType':_0xbce441,'drawings':_0x4e195e},!0x0);},'onBeforeCopy':(_0x1e21d6,_0x1c010c,_0x50908f,_0x21cdb7)=>{const _0x5f574c=_0x1693cf;this['_copyInfo']=null,this[_0x5f574c(0x511)](_0x1e21d6,_0x1c010c,_0x50908f,_0x21cdb7);},'onPasteCells':(_0x45da90,_0x45b558,_0x4d924e,_0x42a067)=>{const _0x3de0f0=_0x1693cf;if(!_0x42a067[_0x3de0f0(0x3b3)]||!_0x45da90||!this[_0x3de0f0(0x3c2)])return{'redos':[],'undos':[]};let {pasteType:_0x1dc88e}=_0x42a067;return _0x1dc88e===_0x5aa18a[_0x3de0f0(0x36c)][_0x3de0f0(0x1ce)]?this[_0x3de0f0(0x4e3)](_0x45b558,this[_0x3de0f0(0x3c2)][_0x3de0f0(0x339)]===_0x5aa18a[_0x3de0f0(0x274)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x3d4004(0x511)](_0x1bc30e,_0x2b98e3,_0x2a3018,_0x1c731d){const _0x3f19f0=_0x3d4004;let _0x4ce18d=this[_0x3f19f0(0x4a1)][_0x3f19f0(0x45c)](_0x1bc30e,_0x2b98e3);if(!_0x4ce18d)return;let _0x415169=(0x0,_0x3a78b8[_0x3f19f0(0x4cd)])(_0x4ce18d,_0x2a3018);if(!_0x415169)return;let {startX:_0x26bee2,endX:_0x36bf04,startY:_0x3b2e14,endY:_0x56e98a}=_0x415169,_0xbbfca3=this[_0x3f19f0(0x30e)][_0x3f19f0(0x3c5)](_0x1bc30e,_0x2b98e3),_0x129e29=[];for(let [_0x34d501,_0x33698e]of Object[_0x3f19f0(0x1bf)](_0xbbfca3)){if(_0x33698e[_0x3f19f0(0x2c8)]!==_0x20b6b2['DrawingTypeEnum'][_0x3f19f0(0x364)])continue;let {transform:_0x476b3f}=_0x33698e;if(!_0x476b3f)continue;let {left:_0x438792=0x0,top:_0x2a1a2d=0x0,width:_0x1d06e9=0x0,height:_0x508c94=0x0}=_0x476b3f;_0x26bee2<=_0x438792&&_0x36bf04>=_0x438792+_0x1d06e9&&_0x3b2e14<=_0x2a1a2d&&_0x56e98a>=_0x2a1a2d+_0x508c94&&_0x129e29[_0x3f19f0(0x467)](_0x33698e);}_0x129e29[_0x3f19f0(0x1ed)]>0x0&&(this[_0x3f19f0(0x3c2)]={'unitId':_0x1bc30e,'subUnitId':_0x2b98e3,'copyType':_0x1c731d,'copyRange':_0x2a3018,'drawings':_0x129e29});}[_0x3d4004(0x4e3)](_0x213563,_0x43acde){const _0x462209=_0x3d4004;let {unitId:_0x53d624,subUnitId:_0xf15d75,range:_0x3091b0}=_0x213563,_0x538fa1=this[_0x462209(0x4a1)]['getSkeleton'](_0x53d624,_0xf15d75);if(!_0x538fa1)return{'redos':[],'undos':[]};let _0x16fdba=(0x0,_0x3a78b8[_0x462209(0x577)])(_0x3091b0),{unitId:_0xc22988,subUnitId:_0x307807,copyRange:_0x3bb965,drawings:_0x801f32}=this['_copyInfo'],_0x287cdf=this['_sheetSkeletonService']['getSkeleton'](_0xc22988,_0x307807);if(!_0x287cdf)return{'redos':[],'undos':[]};let _0x1ef6b9;if(!_0x3bb965){let _0x41570d=0x1/0x0,_0x445929=0x1/0x0;for(let _0x5205ab of _0x801f32){let {left:_0x228612=0x0,top:_0x2f6a2a=0x0}=_0x5205ab[_0x462209(0x3be)]??{};_0x228612<_0x41570d&&(_0x41570d=_0x228612),_0x2f6a2a<_0x445929&&(_0x445929=_0x2f6a2a);}_0x41570d!==0x1/0x0&&_0x445929!==0x1/0x0&&(_0x1ef6b9={'left':_0x41570d,'top':_0x445929});}let _0x51afe4=new Map();if(!_0x43acde){for(let _0x264bd6 of _0x801f32)_0x51afe4['set'](_0x264bd6['drawingId'],(0x0,_0x20b6b2[_0x462209(0x293)])());}let _0x307bcd=[],_0x1741f1=[];for(let _0x4a02ae of _0x801f32){let {drawingId:_0x17f873,transform:_0x55d642,sheetTransform:_0x473dec}=_0x4a02ae;if(!_0x55d642||!_0x473dec)continue;let _0x42cd94=this[_0x462209(0x4b5)]({'transform':_0x55d642,'sheetTransform':_0x473dec},{'skeleton':_0x287cdf,'range':_0x3bb965},{'skeleton':_0x538fa1,'range':_0x16fdba},_0x1ef6b9);if(_0x43acde){let {redos:_0x443fbf,undos:_0x10413a}=this[_0x462209(0x39f)]({'fromUnitId':_0xc22988,'fromSubUnitId':_0x307807,'toUnitId':_0x53d624,'toSubUnitId':_0xf15d75,'drawing':_0x4a02ae,'newTransforms':_0x42cd94});_0x307bcd[_0x462209(0x467)](..._0x443fbf),_0x1741f1[_0x462209(0x467)](..._0x10413a);continue;}let {redos:_0x371ba1,undos:_0x35949e}=this[_0x462209(0x24b)]({'toUnitId':_0x53d624,'toSubUnitId':_0xf15d75,'drawing':_0x4a02ae,'newTransforms':_0x42cd94,'newDrawingId':_0x51afe4[_0x462209(0x584)](_0x17f873),'idMap':_0x51afe4});_0x307bcd[_0x462209(0x467)](..._0x371ba1),_0x1741f1[_0x462209(0x467)](..._0x35949e);}return{'redos':_0x307bcd,'undos':_0x1741f1};}[_0x3d4004(0x39f)](_0x37f77e){const _0x20e92b=_0x3d4004;let {fromUnitId:_0x3c99b5,fromSubUnitId:_0x3b7a3a,toUnitId:_0x2282d4,toSubUnitId:_0x23477e,drawing:_0x1dd592,newTransforms:_0x12a179}=_0x37f77e,_0x4b4411={..._0x1dd592,'unitId':_0x2282d4,'subUnitId':_0x23477e,'transform':_0x12a179[_0x20e92b(0x3be)],'sheetTransform':_0x12a179['sheetTransform']};if(_0x2282d4===_0x3c99b5&&_0x23477e===_0x3b7a3a){let {redo:_0x3a4be8,undo:_0x2e66b4,objects:_0x37a3a2}=this[_0x20e92b(0x30e)][_0x20e92b(0x419)]([_0x4b4411]);return{'redos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x2ab)],'op':_0x3a4be8,'objects':_0x37a3a2}}],'undos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)]['UPDATE'],'op':_0x2e66b4,'objects':_0x37a3a2}}]};}{let _0x255a8d=this[_0x20e92b(0x30e)]['getBatchRemoveOp']([_0x1dd592]),_0x2c113f=this[_0x20e92b(0x30e)][_0x20e92b(0x45a)]([_0x4b4411]),_0x147c14=this[_0x20e92b(0x2d3)][_0x20e92b(0x453)](_0x1dd592['unitId'],_0x1dd592[_0x20e92b(0x4c3)],_0x1dd592[_0x20e92b(0x354)]);if(!_0x147c14)return{'redos':[],'undos':[]};let _0x2754ec=_0x147c14[_0x20e92b(0x3d1)](),_0x5e244e=JSON[_0x20e92b(0x2fa)](JSON['stringify'](_0x147c14['getShapeData']()));return{'redos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x366)],'op':_0x255a8d[_0x20e92b(0x363)],'objects':_0x255a8d[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x23b)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'shapeId':_0x1dd592[_0x20e92b(0x354)]}},{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92['DrawingApplyType'][_0x20e92b(0x246)],'op':_0x2c113f[_0x20e92b(0x363)],'objects':_0x2c113f[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x523)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'shapeId':_0x1dd592[_0x20e92b(0x354)],'shapeType':_0x2754ec,'shapeData':_0x5e244e}}],'undos':[{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'type':_0x44df92['DrawingApplyType'][_0x20e92b(0x246)],'op':_0x255a8d['undo'],'objects':_0x255a8d[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x523)]['id'],'params':{'unitId':_0x3c99b5,'subUnitId':_0x3b7a3a,'shapeId':_0x1dd592[_0x20e92b(0x354)],'shapeType':_0x2754ec,'shapeData':_0x5e244e}},{'id':_0x44df92[_0x20e92b(0x538)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'type':_0x44df92[_0x20e92b(0x216)][_0x20e92b(0x366)],'op':_0x2c113f[_0x20e92b(0x2b7)],'objects':_0x2c113f[_0x20e92b(0x29a)]}},{'id':_0x3c17ec[_0x20e92b(0x23b)]['id'],'params':{'unitId':_0x2282d4,'subUnitId':_0x23477e,'shapeId':_0x1dd592['drawingId']}}]};}}[_0x3d4004(0x24b)](_0x4ad199){const _0x8cf470=_0x3d4004;let {toUnitId:_0x114cd2,toSubUnitId:_0x4a588c,drawing:_0x5b9af6,newTransforms:_0x2eb967,newDrawingId:_0x3bc06b,idMap:_0xbde948}=_0x4ad199,_0x265f88={..._0x5b9af6,'unitId':_0x114cd2,'subUnitId':_0x4a588c,'drawingId':_0x3bc06b,'transform':_0x2eb967[_0x8cf470(0x3be)],'sheetTransform':_0x2eb967[_0x8cf470(0x50c)]},{redo:_0x432d1a,undo:_0x5cdb71,objects:_0x364bf6}=this[_0x8cf470(0x30e)][_0x8cf470(0x45a)]([_0x265f88]),_0x32ab67=this[_0x8cf470(0x2d3)]['getShapeModel'](_0x5b9af6[_0x8cf470(0x3e5)],_0x5b9af6[_0x8cf470(0x4c3)],_0x5b9af6['drawingId']);if(!_0x32ab67)return{'redos':[],'undos':[]};let _0x5aa9fb=_0x32ab67['getShapeType'](),_0x51c03c=JSON[_0x8cf470(0x2fa)](JSON[_0x8cf470(0x2dd)](_0x32ab67[_0x8cf470(0x313)]()));if(_0x51c03c[_0x8cf470(0x44d)]){var _0x3ec1a1,_0x3e1efe;let _0x36e7ff=(_0x3ec1a1=_0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)])==null?void 0x0:_0x3ec1a1['shapeId'],_0xc569e8=(_0x3e1efe=_0x51c03c[_0x8cf470(0x44d)]['to'])==null?void 0x0:_0x3e1efe[_0x8cf470(0x47c)],_0x17256c=!_0x36e7ff||_0xbde948[_0x8cf470(0x481)](_0x36e7ff),_0x1fde18=!_0xc569e8||_0xbde948[_0x8cf470(0x481)](_0xc569e8);_0x17256c&&_0x36e7ff&&_0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)]?_0x51c03c['relation'][_0x8cf470(0x4dd)]={..._0x51c03c[_0x8cf470(0x44d)][_0x8cf470(0x4dd)],'shapeId':_0xbde948['get'](_0x36e7ff)}:_0x51c03c['relation']['from']=void 0x0,_0x1fde18&&_0xc569e8&&_0x51c03c[_0x8cf470(0x44d)]['to']?_0x51c03c['relation']['to']={..._0x51c03c[_0x8cf470(0x44d)]['to'],'shapeId':_0xbde948[_0x8cf470(0x584)](_0xc569e8)}:_0x51c03c[_0x8cf470(0x44d)]['to']=void 0x0;}return{'redos':[{'id':_0x44df92[_0x8cf470(0x538)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'type':_0x44df92[_0x8cf470(0x216)][_0x8cf470(0x246)],'op':_0x432d1a,'objects':_0x364bf6}},{'id':_0x3c17ec['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'shapeId':_0x3bc06b,'shapeType':_0x5aa9fb,'shapeData':_0x51c03c}}],'undos':[{'id':_0x44df92[_0x8cf470(0x538)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'type':_0x44df92[_0x8cf470(0x216)][_0x8cf470(0x366)],'op':_0x5cdb71,'objects':_0x364bf6}},{'id':_0x3c17ec[_0x8cf470(0x23b)]['id'],'params':{'unitId':_0x114cd2,'subUnitId':_0x4a588c,'shapeId':_0x3bc06b}}]};}['_updateTransform'](_0x347960,_0xeb8b5d,_0x4cd2a3,_0x45f776){const _0x3ca8ea=_0x3d4004;let {range:_0x395126,skeleton:_0x3367fb}=_0xeb8b5d,{range:_0x563522,skeleton:_0x5a326e}=_0x4cd2a3,{transform:_0x5f518c,sheetTransform:_0x136411}=_0x347960,_0x20d0a3={..._0x5f518c};if(_0x395126){let _0x459ad2=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x3367fb,_0x395126),_0x4d1c95=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x5a326e,_0x563522);if(_0x459ad2&&_0x4d1c95){let _0x3d021b=_0x4d1c95[_0x3ca8ea(0x2c9)]-_0x459ad2[_0x3ca8ea(0x2c9)],_0x554d1f=_0x4d1c95['startY']-_0x459ad2[_0x3ca8ea(0x26e)];_0x20d0a3['left']=(_0x20d0a3[_0x3ca8ea(0x26d)]??0x0)+_0x3d021b,_0x20d0a3['top']=(_0x20d0a3[_0x3ca8ea(0x35f)]??0x0)+_0x554d1f;}}else{let _0x13ac8c=(0x0,_0x3a78b8[_0x3ca8ea(0x4cd)])(_0x5a326e,_0x563522);if(_0x45f776&&_0x13ac8c){let _0x26a150=(_0x20d0a3['left']??0x0)-_0x45f776[_0x3ca8ea(0x26d)],_0x1727b7=(_0x20d0a3[_0x3ca8ea(0x35f)]??0x0)-_0x45f776[_0x3ca8ea(0x35f)];_0x20d0a3[_0x3ca8ea(0x26d)]=_0x13ac8c[_0x3ca8ea(0x2c9)]+_0x26a150,_0x20d0a3[_0x3ca8ea(0x35f)]=_0x13ac8c[_0x3ca8ea(0x26e)]+_0x1727b7;}else _0x20d0a3[_0x3ca8ea(0x26d)]=_0x13ac8c==null?void 0x0:_0x13ac8c[_0x3ca8ea(0x2c9)],_0x20d0a3['top']=_0x13ac8c==null?void 0x0:_0x13ac8c['startY'];}return{'transform':_0x20d0a3,'sheetTransform':(0x0,_0x44df92['transformToDrawingPosition'])(_0x20d0a3,_0x5a326e)??_0x136411};}};_0xee7899=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x3a78b8[_0x3d4004(0x388)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x1f5)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x44df92[_0x3d4004(0x551)])),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x46d306['SheetsDrawingGroupCopyPasteController']))],_0xee7899);var _0x49344c=class extends _0x2e0941['Shape']{constructor(_0x28359e,_0x1bd54a){const _0x333c63=_0x3d4004;super(_0x28359e,_0x1bd54a),_0x212175(this,'_shapeId',null),_0x212175(this,'_index',null),_0x212175(this,_0x333c63(0x1d1),null),_0x212175(this,'_subUnitId',null),_0x212175(this,_0x333c63(0x53b),!0x1),_0x1bd54a&&this[_0x333c63(0x4af)](_0x1bd54a);}[_0x3d4004(0x289)](){const _0x55c070=_0x3d4004;return{'unitId':this[_0x55c070(0x1d1)],'subUnitId':this[_0x55c070(0x240)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x79a394){const _0x287d5f=_0x3d4004;_0x79a394[_0x287d5f(0x47c)]!==void 0x0&&(this['_shapeId']=_0x79a394[_0x287d5f(0x47c)]),_0x79a394['unitId']!==void 0x0&&(this[_0x287d5f(0x1d1)]=_0x79a394[_0x287d5f(0x3e5)]),_0x79a394[_0x287d5f(0x4c3)]!==void 0x0&&(this[_0x287d5f(0x240)]=_0x79a394[_0x287d5f(0x4c3)]),_0x79a394[_0x287d5f(0x261)]!==void 0x0&&(this[_0x287d5f(0x53b)]=_0x79a394[_0x287d5f(0x261)]),this['transformByState']({'width':_0x79a394[_0x287d5f(0x4ba)],'height':_0x79a394[_0x287d5f(0x3f0)]});}['_draw'](_0x47b095){const _0x1df71d=_0x3d4004;_0x2e0941[_0x1df71d(0x4be)][_0x1df71d(0x502)](_0x47b095,{'radius':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x525)],'fill':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x347)],'stroke':_0x36e36c[_0x1df71d(0x543)]['cxnPointStroke'],'strokeWidth':_0x36e36c[_0x1df71d(0x543)][_0x1df71d(0x24d)],'evented':!0x0});}};let _0x458dcc=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x6763ba,_0x4a34dd,_0x98d35,_0x151f67,_0xe605fe,_0x39f9e9,_0x243729,_0x526d43){const _0x50e312=_0x3d4004;super(),this[_0x50e312(0x268)]=_0x6763ba,this[_0x50e312(0x2d4)]=_0x4a34dd,this[_0x50e312(0x35d)]=_0x98d35,this['_drawingManagerService']=_0x151f67,this['_univerInstanceService']=_0xe605fe,this[_0x50e312(0x341)]=_0x39f9e9,this[_0x50e312(0x3df)]=_0x243729,this[_0x50e312(0x23d)]=_0x526d43,_0x212175(this,_0x50e312(0x3a8),void 0x0),_0x212175(this,_0x50e312(0x1d1),void 0x0),_0x212175(this,'_subUnitId',void 0x0),_0x212175(this,'_connectorObjects',[]),_0x212175(this,_0x50e312(0x1e0),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x212175(this,'_activeShapeModel',void 0x0),_0x212175(this,_0x50e312(0x1da),!0x1),_0x212175(this,'_isDrawingShapePointDown',!0x1),_0x212175(this,_0x50e312(0x494),!0x1),_0x212175(this,'_cxtHandlerPointerMove',void 0x0),_0x212175(this,'_cxtHandlerPointerUp',void 0x0),_0x212175(this,_0x50e312(0x1e5),null),this[_0x50e312(0x1b9)]();}['_initialize'](){const _0x48fab1=_0x3d4004;this[_0x48fab1(0x471)](),this[_0x48fab1(0x2df)]();}[_0x3d4004(0x3a7)](){const _0x5dfffe=_0x3d4004;if(!this[_0x5dfffe(0x1d1)]||!this[_0x5dfffe(0x240)]||!this[_0x5dfffe(0x3a8)])return;let _0x46ae83={'unitId':this[_0x5dfffe(0x1d1)],'subUnitId':this[_0x5dfffe(0x240)],'drawingId':this[_0x5dfffe(0x3a8)]},{transform:_0x20a527}=this[_0x5dfffe(0x3a6)][_0x5dfffe(0x291)](_0x46ae83);if(_0x20a527)return{'left':_0x20a527[_0x5dfffe(0x26d)]||0x0,'top':_0x20a527['top']||0x0,'width':_0x20a527[_0x5dfffe(0x4ba)]||0x0,'height':_0x20a527['height']||0x0,'flipX':_0x20a527[_0x5dfffe(0x2a5)]||!0x1,'flipY':_0x20a527['flipY']||!0x1,'angle':_0x20a527[_0x5dfffe(0x228)]};}[_0x3d4004(0x53e)](){const _0x40d4da=_0x3d4004;if(this['_unitId']===void 0x0||this[_0x40d4da(0x240)]===void 0x0||this[_0x40d4da(0x3a8)]===void 0x0)return;let _0x12bae0=this[_0x40d4da(0x35d)][_0x40d4da(0x3ab)](this[_0x40d4da(0x1d1)]);if(!_0x12bae0||!_0x12bae0['with'](_0x5aa18a[_0x40d4da(0x555)])['getCurrentSkeleton']())return;let {scene:_0x426091}=_0x12bae0,_0x121857=this[_0x40d4da(0x3a7)]();if(!_0x121857)return;let _0x3a74ae=this[_0x40d4da(0x341)][_0x40d4da(0x453)](this[_0x40d4da(0x1d1)],this['_subUnitId'],this[_0x40d4da(0x3a8)]);if(!_0x3a74ae||!(0x0,_0x36e36c[_0x40d4da(0x52a)])(_0x3a74ae[_0x40d4da(0x3d1)]()))return;let _0xf30496=_0x3a74ae['getConnectorLinePoints']();if(_0xf30496[_0x40d4da(0x1ed)]<0x2)return;let _0x2ecd75=new _0x36e36c[(_0x40d4da(0x32f))](_0x121857),_0x44d2b3=_0xf30496[0x0],_0x3147d7=_0xf30496[_0xf30496[_0x40d4da(0x1ed)]-0x1],_0x26141e=_0x2ecd75[_0x40d4da(0x45d)](_0x44d2b3),_0x4dd9bb=_0x2ecd75[_0x40d4da(0x45d)](_0x3147d7);this['_addShapeConnectorHandlerObject'](_0x426091,{..._0x26141e},!0x0),this['_addShapeConnectorHandlerObject'](_0x426091,{..._0x4dd9bb},!0x1);}[_0x3d4004(0x398)](_0x58edbc,_0x331104,_0x3d5212){const _0x2d3517=_0x3d4004;if(this[_0x2d3517(0x3a8)]===void 0x0||this['_unitId']===void 0x0||this['_subUnitId']===void 0x0)return;let _0x3a3308=_0x2d3517(0x4b6)+this[_0x2d3517(0x1d1)]+'-'+this[_0x2d3517(0x240)]+'-'+this[_0x2d3517(0x3a8)]+'-'+(_0x3d5212?'start':'end'),_0x23285b=_0x58edbc['getObjectIncludeInGroup'](_0x3a3308);if(_0x23285b){_0x23285b[_0x2d3517(0x40d)]({'left':_0x331104['x']-_0x36e36c['ShapeDefaultConfig'][_0x2d3517(0x525)],'top':_0x331104['y']-_0x36e36c[_0x2d3517(0x543)][_0x2d3517(0x525)]});return;}let _0x1b3da0=new _0x49344c(_0x3a3308,{'left':_0x331104['x']-_0x36e36c['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x331104['y']-_0x36e36c['ShapeDefaultConfig'][_0x2d3517(0x525)],'shapeId':this[_0x2d3517(0x3a8)],'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x3d5212,'width':_0x36e36c['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x36e36c[_0x2d3517(0x543)][_0x2d3517(0x525)]*0x2,'zIndex':_0x2e0941[_0x2d3517(0x33e)]+0x1,'evented':!0x0});this[_0x2d3517(0x3b4)]['push'](_0x1b3da0),this['_attachConnectorObjectEvent'](_0x1b3da0,_0x58edbc,_0x3d5212),_0x58edbc[_0x2d3517(0x497)](_0x1b3da0,_0x2e0941[_0x2d3517(0x33e)]+0x1);}['_getScrollInfo'](_0x238768,_0x3d613e){const _0x5f3a4b=_0x3d4004;var _0x4feb82;let _0x4cf1d3={'x':0x0,'y':0x0};if(!_0x238768||!_0x3d613e)return _0x4cf1d3;let _0x141ec7=this[_0x5f3a4b(0x35d)][_0x5f3a4b(0x3ab)](_0x238768);if(!_0x141ec7||!_0x141ec7[_0x5f3a4b(0x33c)](_0x5aa18a[_0x5f3a4b(0x555)])[_0x5f3a4b(0x45c)](_0x3d613e))return _0x4cf1d3;let _0x2b9c16=_0x141ec7[_0x5f3a4b(0x33c)](_0x5aa18a[_0x5f3a4b(0x382)]),_0x3e95f1=_0x2b9c16==null?void 0x0:_0x2b9c16['getCurrentScrollState']();if(!_0x3e95f1)return _0x4cf1d3;let _0x3baa46=(_0x4feb82=this[_0x5f3a4b(0x1cc)][_0x5f3a4b(0x264)](_0x238768))==null?void 0x0:_0x4feb82[_0x5f3a4b(0x343)](_0x3d613e);if(!_0x3baa46)return _0x4cf1d3;let _0x2387c9=(0x0,_0x5aa18a['getViewportByCell'])(_0x3e95f1[_0x5f3a4b(0x30a)],_0x3e95f1['sheetViewStartColumn'],_0x141ec7[_0x5f3a4b(0x4f2)],_0x3baa46);return _0x2387c9?{'x':_0x2387c9[_0x5f3a4b(0x3bd)],'y':_0x2387c9['viewportScrollY']}:_0x4cf1d3;}['_getZoomRatio'](_0x421589,_0x4e4300){const _0x555fc9=_0x3d4004;var _0x2e9ad9;let _0x1e457e=(_0x2e9ad9=this[_0x555fc9(0x1cc)][_0x555fc9(0x264)](_0x421589))==null?void 0x0:_0x2e9ad9[_0x555fc9(0x343)](_0x4e4300);return(_0x1e457e==null?void 0x0:_0x1e457e['getZoomRatio']())??0x1;}['_handleConnectorPointerUp'](_0x1527ff,_0x3a9976,_0x5e36a7,_0x2b1f7b,_0x2dee91){const _0x5a3083=_0x3d4004;this[_0x5a3083(0x3fe)][_0x5a3083(0x205)](),this[_0x5a3083(0x2e0)][_0x5a3083(0x205)](),this['_sheetShapeAdjustController'][_0x5a3083(0x574)]();let _0x16b69e=this['_currentConnectionTarget'];this[_0x5a3083(0x23d)][_0x5a3083(0x28b)]();let _0x416251=this['_getScrollInfo'](this['_unitId'],this['_subUnitId']),_0x16a7fd=this['_getZoomRatio'](this[_0x5a3083(0x1d1)],this[_0x5a3083(0x240)]),_0x8135a6={'x':_0x5e36a7['offsetX']/_0x16a7fd+_0x416251['x'],'y':_0x5e36a7[_0x5a3083(0x4f6)]/_0x16a7fd+_0x416251['y']},_0xbacef0=_0x16b69e?_0x16b69e['worldPoint']:_0x8135a6,_0x5765cd=_0x2b1f7b?this['_activeShapeModel']['getEndConnectInfo']():this[_0x5a3083(0x34e)][_0x5a3083(0x41e)](),_0x58144=this[_0x5a3083(0x34e)][_0x5a3083(0x3d1)]();_0x5765cd?this['_handleConnectedEndpointPointerUp'](_0x5765cd,_0xbacef0,_0x2b1f7b,_0x16b69e,_0x2dee91):this['_handleFreeEndpointPointerUp'](_0x3a9976,_0xbacef0,_0x2b1f7b,_0x16b69e,_0x2dee91,_0x58144),this[_0x5a3083(0x1da)]=!0x1,this[_0x5a3083(0x494)]=!0x1,this[_0x5a3083(0x1e5)]=null,_0x1527ff[_0x5a3083(0x262)]();}[_0x3d4004(0x3b8)](_0x226a29,_0x105681,_0x389fd6,_0x21817c,_0x149ac0,_0x487283){const _0x57abba=_0x3d4004;let _0xa8269f=_0x487283===_0x36e36c[_0x57abba(0x3e0)]['Line']||_0x487283===_0x36e36c[_0x57abba(0x3e0)]['StraightConnector1'],_0x444185=_0x389fd6?_0x105681:_0x226a29,_0x15b92c=_0x389fd6?_0x226a29:_0x105681,_0x76cd7f=this[_0x57abba(0x34e)][_0x57abba(0x3db)](),_0x3df06a=this[_0x57abba(0x34e)][_0x57abba(0x3d1)](),_0xee75f0=(0x0,_0x36e36c['isCurvedConnectorShape'])(_0x3df06a),_0x15526a=_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x2f9)](_0x76cd7f,_0xee75f0),_0x25212b=_0xa8269f?_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x21d)](_0x444185,_0x15b92c):_0x36e36c[_0x57abba(0x32f)][_0x57abba(0x353)](_0x226a29,_0x105681,_0x389fd6,_0x15526a);_0x21817c?this[_0x57abba(0x213)](_0x25212b,_0x21817c,_0x389fd6,_0x149ac0):this[_0x57abba(0x3aa)](_0x25212b,_0x149ac0);}[_0x3d4004(0x439)](_0x56312a,_0x2a9258,_0x1a8414,_0x2abcc2,_0x243109){const _0x1cac91=_0x3d4004;let _0x5b7747=this[_0x1cac91(0x278)](_0x56312a);if(!_0x5b7747)return;let _0x41f6f6=_0x2abcc2?_0x2abcc2['angle']:this['_calculateFreeEndpointAngle'](_0x5b7747['point'],_0x2a9258),_0x44971e;if(_0x2abcc2){let _0x354555=this[_0x1cac91(0x3a6)][_0x1cac91(0x291)]({'unitId':_0x2abcc2['unitId'],'subUnitId':_0x2abcc2[_0x1cac91(0x4c3)],'drawingId':_0x2abcc2[_0x1cac91(0x47c)]});if(_0x354555!=null&&_0x354555[_0x1cac91(0x3be)]){let {left:_0x42977d=0x0,top:_0x4d899a=0x0,width:_0x305bbc=0x0,height:_0x5ed1d6=0x0,angle:_0x24d78e}=_0x354555['transform'];_0x44971e=(0x0,_0x36e36c[_0x1cac91(0x303)])({'left':_0x42977d,'top':_0x4d899a,'width':_0x305bbc,'height':_0x5ed1d6},_0x24d78e||0x0);}else _0x44971e={'left':_0x2a9258['x'],'top':_0x2a9258['y'],'width':0x0,'height':0x0};}else _0x44971e={'left':_0x2a9258['x'],'top':_0x2a9258['y'],'width':0x0,'height':0x0};let _0x350380={'point':_0x2a9258,'angle':_0x41f6f6,'bounds':_0x44971e},_0x3b8ac8=_0x1a8414?_0x350380:_0x5b7747,_0x901a71=_0x1a8414?_0x5b7747:_0x350380,_0x4b537f=this[_0x1cac91(0x34e)][_0x1cac91(0x3d1)](),_0x1dfeeb=(0x0,_0x36e36c[_0x1cac91(0x2c0)])(_0x3b8ac8,_0x901a71,_0x4b537f);this[_0x1cac91(0x34e)][_0x1cac91(0x4c0)]();let _0x5768a6=(0x0,_0x36e36c['computeConnectorRouteLayout'])(_0x1dfeeb,_0x4b537f);_0x2abcc2?this[_0x1cac91(0x549)](_0x5768a6,_0x2abcc2,_0x56312a,_0x1a8414,_0x243109):this[_0x1cac91(0x2d5)](_0x5768a6,_0x56312a,_0x1a8414,_0x243109);}[_0x3d4004(0x213)](_0x27565c,_0x116927,_0xfac406,_0x56092f){const _0x35d9ba=_0x3d4004;let _0x2aaaf3=this['_activeShapeModel'][_0x35d9ba(0x313)]()['relation'],_0x5db8ae={..._0x2aaaf3},_0x47782c={'shapeId':_0x116927[_0x35d9ba(0x47c)],'cxnIndex':_0x116927['cxnIndex']};_0xfac406?_0x5db8ae[_0x35d9ba(0x4dd)]=_0x47782c:_0x5db8ae['to']=_0x47782c;let _0x527514=this[_0x35d9ba(0x34e)][_0x35d9ba(0x3d1)](),_0x44e399=(0x0,_0x36e36c[_0x35d9ba(0x2a6)])(_0x27565c[_0x35d9ba(0x345)],_0x527514),_0x57bdb6={'unitId':this[_0x35d9ba(0x1d1)],'subUnitId':this[_0x35d9ba(0x240)],'connectorShapeId':this[_0x35d9ba(0x3a8)],'width':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x4ba)],'height':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x3f0)],'left':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x26d)],'top':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x35f)],'flipX':_0x27565c['worldRect']['flipX']||!0x1,'flipY':_0x27565c[_0x35d9ba(0x36f)][_0x35d9ba(0x46a)]||!0x1,'newAdjustValues':_0x44e399[_0x35d9ba(0x1bb)],'oldAdjustValues':_0x56092f,'oldRelation':_0x2aaaf3,'newRelation':_0x5db8ae,'newLineType':_0x44e399[_0x35d9ba(0x356)],'oldLineType':_0x527514};this[_0x35d9ba(0x2d4)][_0x35d9ba(0x447)](_0x3c17ec[_0x35d9ba(0x286)]['id'],_0x57bdb6);}[_0x3d4004(0x3aa)](_0x1c6b6e,_0x164106){const _0x461db2=_0x3d4004;let _0x23eda5=this['_activeShapeModel'][_0x461db2(0x3d1)](),_0x4f7eef=(0x0,_0x36e36c[_0x461db2(0x2a6)])(_0x1c6b6e[_0x461db2(0x345)],_0x23eda5),_0x567a78={'unitId':this[_0x461db2(0x1d1)],'subUnitId':this[_0x461db2(0x240)],'shapeId':this[_0x461db2(0x3a8)],'width':_0x1c6b6e['worldRect'][_0x461db2(0x4ba)],'height':_0x1c6b6e[_0x461db2(0x36f)]['height'],'left':_0x1c6b6e['worldRect']['left'],'top':_0x1c6b6e[_0x461db2(0x36f)][_0x461db2(0x35f)],'flipX':_0x1c6b6e[_0x461db2(0x36f)][_0x461db2(0x2a5)]||!0x1,'flipY':_0x1c6b6e['worldRect'][_0x461db2(0x46a)]||!0x1,'angle':_0x1c6b6e['worldRect']['angle']||0x0,'newAdjustValues':_0x4f7eef[_0x461db2(0x1bb)],'oldAdjustValues':_0x164106,'newLineType':_0x4f7eef[_0x461db2(0x356)],'oldLineType':_0x23eda5};this[_0x461db2(0x2d4)][_0x461db2(0x447)](_0x3c17ec[_0x461db2(0x42f)]['id'],_0x567a78);}[_0x3d4004(0x549)](_0x20c29d,_0x4a8d20,_0x373607,_0x232bd5,_0x367025){const _0x3bf530=_0x3d4004;let _0x5ad5a7=this[_0x3bf530(0x34e)][_0x3bf530(0x313)]()[_0x3bf530(0x44d)],_0x21b149={..._0x5ad5a7},_0x3ca28b={'shapeId':_0x4a8d20[_0x3bf530(0x47c)],'cxnIndex':_0x4a8d20[_0x3bf530(0x4b3)]};_0x232bd5?(_0x21b149['from']=_0x3ca28b,_0x21b149['to']=_0x373607):(_0x21b149['from']=_0x373607,_0x21b149['to']=_0x3ca28b);let _0x29a0a9={'unitId':this[_0x3bf530(0x1d1)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x3bf530(0x3a8)],'width':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x4ba)],'height':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x3f0)],'left':_0x20c29d[_0x3bf530(0x36f)][_0x3bf530(0x26d)],'top':_0x20c29d['worldRect']['top'],'flipX':_0x20c29d['worldRect'][_0x3bf530(0x2a5)]||!0x1,'flipY':_0x20c29d['worldRect'][_0x3bf530(0x46a)]||!0x1,'oldAdjustValues':_0x367025,'newAdjustValues':_0x20c29d[_0x3bf530(0x1bb)],'newLineType':_0x20c29d['lineType'],'rotation':_0x20c29d['rotation'],'oldRelation':_0x5ad5a7,'newRelation':_0x21b149};this[_0x3bf530(0x2d4)][_0x3bf530(0x447)](_0x3c17ec['UpdateConnectorRelationCommand']['id'],_0x29a0a9);}['_executeConnectedRouteResizeCommand'](_0x430933,_0x49ac26,_0x3531a8,_0x354bff){const _0x5ea792=_0x3d4004;let _0x1cfdfa=this[_0x5ea792(0x34e)][_0x5ea792(0x313)]()[_0x5ea792(0x44d)],_0x5298cf={};_0x3531a8?(_0x5298cf['to']=_0x49ac26,_0x5298cf['from']=void 0x0):(_0x5298cf[_0x5ea792(0x4dd)]=_0x49ac26,_0x5298cf['to']=void 0x0);let _0x50746a={'unitId':this[_0x5ea792(0x1d1)],'subUnitId':this[_0x5ea792(0x240)],'connectorShapeId':this[_0x5ea792(0x3a8)],'width':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x4ba)],'height':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x3f0)],'left':_0x430933[_0x5ea792(0x36f)]['left'],'top':_0x430933['worldRect'][_0x5ea792(0x35f)],'flipX':_0x430933[_0x5ea792(0x36f)][_0x5ea792(0x2a5)]||!0x1,'flipY':_0x430933[_0x5ea792(0x36f)]['flipY']||!0x1,'oldAdjustValues':_0x354bff,'newAdjustValues':_0x430933[_0x5ea792(0x1bb)],'newLineType':_0x430933[_0x5ea792(0x356)],'rotation':_0x430933[_0x5ea792(0x32b)],'oldRelation':_0x1cfdfa,'newRelation':_0x5298cf};this[_0x5ea792(0x2d4)]['executeCommand'](_0x3c17ec[_0x5ea792(0x286)]['id'],_0x50746a);}[_0x3d4004(0x51f)](_0x3e6206,_0x55a9e8,_0x994039){const _0x587ac8=_0x3d4004;this['disposeWithMe']((0x0,_0x20b6b2[_0x587ac8(0x3ae)])(_0x3e6206[_0x587ac8(0x4ad)]['subscribeEvent']((_0x22fafa,_0x4090dc)=>{const _0x30b7da=_0x587ac8;let _0x110828=_0x3e6206[_0x30b7da(0x289)]();if(this[_0x30b7da(0x34e)]=this[_0x30b7da(0x341)]['getShapeModel'](_0x110828[_0x30b7da(0x3e5)],_0x110828['subUnitId'],_0x110828[_0x30b7da(0x354)]),!this[_0x30b7da(0x34e)])return;let _0x1daafa={};this[_0x30b7da(0x34e)][_0x30b7da(0x460)]()[_0x30b7da(0x39d)](_0xacf4b5=>{const _0x1fd396=_0x30b7da;let _0x3de07b=this[_0x1fd396(0x34e)][_0x1fd396(0x22f)](_0xacf4b5);_0x3de07b!==void 0x0&&(_0x1daafa[_0xacf4b5]=_0x3de07b);});let _0xaf532b=this[_0x30b7da(0x3a7)]();if(!_0xaf532b)return;this[_0x30b7da(0x1e0)]={..._0xaf532b};let _0x2a3c0d=new _0x36e36c[(_0x30b7da(0x32f))](this[_0x30b7da(0x1e0)]),_0x540df8=(0x0,_0x3a44e9[_0x30b7da(0x2a1)])({'unitId':this['_unitId'],'subUnitId':this[_0x30b7da(0x240)],'drawingId':this[_0x30b7da(0x3a8)]}),_0x3ad7a5=_0x55a9e8['getObjectIncludeInGroup'](_0x540df8);this['_isConnecting']=!0x0,_0x55a9e8[_0x30b7da(0x514)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x55a9e8,this[_0x30b7da(0x1d1)],this['_subUnitId'],this[_0x30b7da(0x3a8)]),this[_0x30b7da(0x1e5)]=null;let _0x547e97=this[_0x30b7da(0x34e)]['getConnectorLinePoints'](),_0x4962d1=_0x547e97[0x0],_0x114e57=_0x547e97[_0x547e97['length']-0x1],_0x204a73=_0x994039?_0x2a3c0d['localToWorld'](_0x114e57):_0x2a3c0d[_0x30b7da(0x45d)](_0x4962d1);this[_0x30b7da(0x3fe)]=_0x55a9e8[_0x30b7da(0x2bd)][_0x30b7da(0x306)]((_0x22320f,_0xa5e9f1)=>{const _0x36bf3a=_0x30b7da;if(!this[_0x36bf3a(0x1da)]||!this['_activeShapeModel'])return;this['_hasReset']||=(this[_0x36bf3a(0x3df)]['clearAdjustControls'](),this[_0x36bf3a(0x34e)][_0x36bf3a(0x4ae)](),!0x0);let _0x3b8b3c=this[_0x36bf3a(0x28f)](this['_unitId'],this[_0x36bf3a(0x240)]),_0x54d72b=this[_0x36bf3a(0x373)](this[_0x36bf3a(0x1d1)],this['_subUnitId']),_0x2592f3={'x':_0x22320f[_0x36bf3a(0x539)]/_0x54d72b+_0x3b8b3c['x'],'y':_0x22320f[_0x36bf3a(0x4f6)]/_0x54d72b+_0x3b8b3c['y']},_0x4212bc=this[_0x36bf3a(0x23d)][_0x36bf3a(0x283)](_0x2592f3);if(_0x4212bc){let {shapeId:_0x6a4a17,unitId:_0x866f38,subUnitId:_0x218e79}=_0x4212bc;if(_0x6a4a17&&_0x866f38&&_0x218e79){let _0x159f1f=(0x0,_0x3a44e9[_0x36bf3a(0x2a1)])({'unitId':_0x866f38,'subUnitId':_0x218e79,'drawingId':_0x6a4a17});_0x4212bc[_0x36bf3a(0x228)]=(_0x55a9e8[_0x36bf3a(0x1fe)](_0x159f1f)[_0x36bf3a(0x228)]||0x0)+_0x4212bc[_0x36bf3a(0x228)];}}this['_currentConnectionTarget']=_0x4212bc;let _0x58d797=_0x994039?this[_0x36bf3a(0x34e)][_0x36bf3a(0x2d0)]():this[_0x36bf3a(0x34e)][_0x36bf3a(0x41e)]();if(_0x58d797){this[_0x36bf3a(0x1e1)](_0x58d797,_0x2592f3,_0x994039,_0x3ad7a5,_0x3e6206);return;}this[_0x36bf3a(0x55b)](_0x2592f3,_0x204a73,_0x994039,_0x3ad7a5,_0x3e6206);}),this[_0x30b7da(0x2e0)]=_0x55a9e8[_0x30b7da(0x421)][_0x30b7da(0x306)]((_0x4992eb,_0x4922db)=>{const _0x40307a=_0x30b7da;this[_0x40307a(0x418)](_0x55a9e8,_0x204a73,_0x4992eb,_0x994039,_0x1daafa);}),_0x4090dc[_0x30b7da(0x31e)]();})));}[_0x3d4004(0x58d)](_0x49473d,_0x5da8de,_0x5a26fe){const _0x21c448=_0x3d4004;let _0x46b9fd=this['_sheetsShapeService'][_0x21c448(0x2b0)](_0x49473d,_0x5da8de,_0x5a26fe);if(!_0x46b9fd||_0x46b9fd[_0x21c448(0x1ed)]===0x0)return;let _0x111c30=this['_renderManagerService'][_0x21c448(0x3ab)](_0x49473d);if(!_0x111c30)return;let {scene:_0x4cb780}=_0x111c30;for(let _0x2c5e8e of _0x46b9fd){let _0x133d2d=_0x2c5e8e['lineShapeId'],_0xb6ed1f=this[_0x21c448(0x341)]['getShapeModel'](_0x49473d,_0x5da8de,_0x133d2d);if(!_0xb6ed1f)continue;let _0x4f31e6=_0xb6ed1f[_0x21c448(0x41e)](),_0x517c01=_0xb6ed1f[_0x21c448(0x2d0)](),_0x452670=(_0x4f31e6==null?void 0x0:_0x4f31e6[_0x21c448(0x47c)])===_0x5a26fe,_0x50d6ca=(0x0,_0x3a44e9[_0x21c448(0x2a1)])({'unitId':_0x49473d,'subUnitId':_0x5da8de,'drawingId':_0x133d2d}),_0x223270=_0x4cb780['getObjectIncludeInGroup'](_0x50d6ca);if(!_0x223270)continue;let _0x35b00e=this[_0x21c448(0x3a6)][_0x21c448(0x291)]({'unitId':_0x49473d,'subUnitId':_0x5da8de,'drawingId':_0x133d2d});_0x35b00e!=null&&_0x35b00e['transform']&&(_0x4f31e6&&_0x517c01?this['_rerouteConnectorLine'](_0x49473d,_0x5da8de,_0x133d2d,_0xb6ed1f,_0x4f31e6,_0x517c01,_0x223270):this[_0x21c448(0x4d4)](_0x49473d,_0x5da8de,_0x133d2d,_0xb6ed1f,_0x452670?_0x4f31e6:_0x517c01,_0x452670,_0x35b00e,_0x223270));}}[_0x3d4004(0x2ba)](_0x544d3d,_0x209125,_0x3d0add,_0x3b7b1e,_0x2a31a4,_0x3cc1db,_0x5bc905){const _0x4b224d=_0x3d4004;let _0x1b8cbd=this['_unitId'],_0x188ad1=this[_0x4b224d(0x240)];this['_unitId']=_0x544d3d,this[_0x4b224d(0x240)]=_0x209125;let _0x21f160=this['_getConnectPointInfo'](_0x2a31a4),_0x17ecfb=this[_0x4b224d(0x278)](_0x3cc1db);if(this[_0x4b224d(0x1d1)]=_0x1b8cbd,this[_0x4b224d(0x240)]=_0x188ad1,!_0x21f160||!_0x17ecfb)return;let _0x4fcb6d=_0x3b7b1e[_0x4b224d(0x3d1)](),_0x2af76e=(0x0,_0x36e36c[_0x4b224d(0x2c0)])(_0x21f160,_0x17ecfb,_0x4fcb6d);_0x2af76e&&_0x3b7b1e[_0x4b224d(0x201)](_0x2af76e);let _0x37a0ad=(0x0,_0x36e36c[_0x4b224d(0x2a6)])(_0x2af76e,_0x4fcb6d);_0x37a0ad[_0x4b224d(0x356)]!==_0x4fcb6d&&_0x3b7b1e[_0x4b224d(0x4de)](_0x37a0ad['lineType']),_0x3b7b1e[_0x4b224d(0x4ae)]();for(let [_0x5ad201,_0xdec7ad]of Object[_0x4b224d(0x1bf)](_0x37a0ad[_0x4b224d(0x1bb)]))_0x3b7b1e[_0x4b224d(0x498)](_0x5ad201,_0xdec7ad);_0x3b7b1e['updateContext']({'width':_0x37a0ad[_0x4b224d(0x36f)]['width'],'height':_0x37a0ad[_0x4b224d(0x36f)]['height']}),_0x5bc905[_0x4b224d(0x40d)]({'flipX':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x2a5)],'flipY':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x46a)],'left':_0x37a0ad['worldRect']['left'],'top':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x35f)],'width':_0x37a0ad['worldRect'][_0x4b224d(0x4ba)],'height':_0x37a0ad[_0x4b224d(0x36f)][_0x4b224d(0x3f0)],'angle':_0x37a0ad['rotation']}),_0x3b7b1e[_0x4b224d(0x4c0)]();}[_0x3d4004(0x4d4)](_0x37b31c,_0x141205,_0x5a4c01,_0x54b1d6,_0x3616e7,_0xfa80a4,_0x9a980,_0x1bd483){const _0xe3f412=_0x3d4004;let _0x3380e2=this['_unitId'],_0x2bc5c9=this[_0xe3f412(0x240)];this[_0xe3f412(0x1d1)]=_0x37b31c,this[_0xe3f412(0x240)]=_0x141205;let _0x6c5dfa=this[_0xe3f412(0x278)](_0x3616e7);if(this[_0xe3f412(0x1d1)]=_0x3380e2,this[_0xe3f412(0x240)]=_0x2bc5c9,!_0x6c5dfa)return;let {left:_0x11295d=0x0,top:_0x40b1fa=0x0,width:_0x1389df=0x0,height:_0x2beee1=0x0,flipX:_0x1704ba=!0x1,flipY:_0x32428a=!0x1}=_0x9a980[_0xe3f412(0x3be)],_0x43a08d=_0x54b1d6[_0xe3f412(0x3db)]();if(_0x43a08d[_0xe3f412(0x1ed)]<0x2)return;let _0x4e0ae4=new _0x36e36c['ConnectorCoordinateTransform']({'left':_0x11295d,'top':_0x40b1fa,'width':_0x1389df,'height':_0x2beee1,'flipX':_0x1704ba,'flipY':_0x32428a}),_0x454ab5=_0xfa80a4?_0x43a08d[_0x43a08d[_0xe3f412(0x1ed)]-0x1]:_0x43a08d[0x0],_0x245594=_0x4e0ae4[_0xe3f412(0x45d)](_0x454ab5),_0x1d56a8=_0x36e36c['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x245594,_0x6c5dfa['point'],!_0xfa80a4);_0x1bd483[_0xe3f412(0x40d)]({'flipX':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x2a5)],'flipY':_0x1d56a8['worldRect'][_0xe3f412(0x46a)],'left':_0x1d56a8['worldRect'][_0xe3f412(0x26d)],'top':_0x1d56a8['worldRect'][_0xe3f412(0x35f)],'width':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x4ba)],'height':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x3f0)],'angle':_0x1d56a8[_0xe3f412(0x36f)][_0xe3f412(0x228)]}),_0x1bd483[_0xe3f412(0x537)](!0x0);}[_0x3d4004(0x433)](){const _0x9f3d58=_0x3d4004;this[_0x9f3d58(0x3b4)]['length']!==0x0&&(this[_0x9f3d58(0x3b4)]['forEach'](_0x4063c4=>{_0x4063c4['dispose']();}),this[_0x9f3d58(0x3b4)]=[]);}[_0x3d4004(0x2df)](){const _0xb35781=_0x3d4004;let _0x4f9eb2=this[_0xb35781(0x1cc)][_0xb35781(0x27a)](_0x20b6b2[_0xb35781(0x257)]['UNIVER_SHEET']);this[_0xb35781(0x301)](_0x4f9eb2[_0xb35781(0x259)]((0x0,_0x1008b8[_0xb35781(0x352)])(_0x1a8cdc=>_0x1a8cdc?_0x1a8cdc[_0xb35781(0x52c)][_0xb35781(0x259)]((0x0,_0x1008b8[_0xb35781(0x352)])(_0x4dd5c8=>{const _0x4c832f=_0xb35781;if(!_0x4dd5c8)return _0x1008b8[_0x4c832f(0x595)];let _0x251bf2=_0x1a8cdc[_0x4c832f(0x576)](),_0x5bc8a3=this[_0x4c832f(0x35d)][_0x4c832f(0x3ab)](_0x251bf2),_0x2e38f6=_0x5bc8a3==null?void 0x0:_0x5bc8a3['scene'];return _0x2e38f6?(0x0,_0x1008b8['of'])(_0x2e38f6):_0x1008b8[_0x4c832f(0x595)];})):_0x1008b8['EMPTY']))['subscribe'](_0x18980a=>{const _0x32d84d=_0xb35781;let _0x274803=_0x18980a[_0x32d84d(0x51e)]();this['disposeWithMe'](_0x18980a[_0x32d84d(0x2bd)][_0x32d84d(0x306)](_0x41925b=>{const _0x355cfb=_0x32d84d;this['_isDrawingShapePointDown']&&this[_0x355cfb(0x3a8)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x274803[_0x32d84d(0x2ad)][_0x32d84d(0x448)](_0x16a6ab=>{const _0x48733b=_0x32d84d;let {objects:_0x2b5577}=_0x16a6ab;this['_clearShapeConnectorHandlerObjects'](),_0x2b5577!==null&&_0x2b5577['size']===0x1&&_0x2b5577[_0x48733b(0x1ff)]()[_0x48733b(0x295)]()[_0x48733b(0x405)]instanceof _0x2caaad&&(this[_0x48733b(0x28a)]=!0x0);})),this[_0x32d84d(0x301)](_0x274803[_0x32d84d(0x326)][_0x32d84d(0x448)](_0x12e8b0=>{const _0x4642b9=_0x32d84d;this[_0x4642b9(0x28a)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x18980a['onPointerUp$']['subscribeEvent'](()=>{const _0x42e333=_0x32d84d;this[_0x42e333(0x28a)]&&(this[_0x42e333(0x28a)]=!0x1,this[_0x42e333(0x53e)]());})),this['disposeWithMe'](_0x274803[_0x32d84d(0x52b)][_0x32d84d(0x448)](()=>{const _0x237d8a=_0x32d84d;this['_unitId']&&this['_subUnitId']&&this['_activeShapeId']&&this[_0x237d8a(0x3a6)]['getDrawingByParam']({'unitId':this[_0x237d8a(0x1d1)],'subUnitId':this[_0x237d8a(0x240)],'drawingId':this[_0x237d8a(0x3a8)]})&&(this[_0x237d8a(0x433)](),this[_0x237d8a(0x53e)]());}));}));}[_0x3d4004(0x471)](){const _0x200fb3=_0x3d4004;this[_0x200fb3(0x301)](this[_0x200fb3(0x3a6)][_0x200fb3(0x47d)][_0x200fb3(0x448)](_0x4ad1ee=>{const _0x261d9b=_0x200fb3;if(_0x4ad1ee[_0x261d9b(0x1ed)]===0x1){let _0x1c1c6c=_0x4ad1ee[0x0];if(_0x1c1c6c['drawingType']===_0x20b6b2['DrawingTypeEnum'][_0x261d9b(0x364)]){let _0x13e8bf=this[_0x261d9b(0x341)][_0x261d9b(0x453)](_0x1c1c6c[_0x261d9b(0x3e5)],_0x1c1c6c[_0x261d9b(0x4c3)],_0x1c1c6c[_0x261d9b(0x354)]);if(_0x13e8bf&&(0x0,_0x36e36c[_0x261d9b(0x52a)])(_0x13e8bf[_0x261d9b(0x3d1)]())){this[_0x261d9b(0x3a8)]=_0x1c1c6c['drawingId'],this[_0x261d9b(0x1d1)]=_0x1c1c6c[_0x261d9b(0x3e5)],this[_0x261d9b(0x240)]=_0x1c1c6c['subUnitId'],this[_0x261d9b(0x433)](),this[_0x261d9b(0x53e)]();return;}}}this[_0x261d9b(0x3a8)]=void 0x0,this['_unitId']=void 0x0,this[_0x261d9b(0x240)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](this[_0x200fb3(0x3a6)][_0x200fb3(0x20a)][_0x200fb3(0x448)](_0x4bf81e=>{const _0x5dc539=_0x200fb3;if(_0x4bf81e[_0x5dc539(0x1ed)]===0x1){var _0x5b88ac;let _0x11cc58=_0x4bf81e[0x0],_0x1afe11=(_0x5b88ac=this[_0x5dc539(0x3a6)][_0x5dc539(0x291)](_0x11cc58))==null?void 0x0:_0x5b88ac[_0x5dc539(0x2c8)];_0x1afe11===_0x20b6b2[_0x5dc539(0x284)][_0x5dc539(0x364)]&&_0x11cc58['drawingId']===this['_activeShapeId']?(this[_0x5dc539(0x433)](),this[_0x5dc539(0x53e)]()):!this['_activeShapeId']&&_0x1afe11===_0x20b6b2['DrawingTypeEnum'][_0x5dc539(0x364)]&&this[_0x5dc539(0x58d)](_0x11cc58['unitId'],_0x11cc58[_0x5dc539(0x4c3)],_0x11cc58[_0x5dc539(0x354)]);}})),this[_0x200fb3(0x301)](this['_drawingManagerService'][_0x200fb3(0x52d)]['subscribe'](_0x3fc840=>{const _0x5c6056=_0x200fb3;for(let _0x30d2b7 of _0x3fc840){let {drawingId:_0x40ec49}=_0x30d2b7;if(this[_0x5c6056(0x3a8)]===_0x40ec49){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x227de4,_0x3b093c,_0x1d6f9f,_0x44b21a,_0xbc6a62){const _0x206118=_0x3d4004;var _0xa53bc1;if(!this['_activeShapeModel'])return;let _0x2bd342=this[_0x206118(0x278)](_0x227de4);if(!_0x2bd342)return;let _0x347fe1=this[_0x206118(0x1e5)]?this[_0x206118(0x1e5)]['worldPoint']:_0x3b093c,_0x236247=this[_0x206118(0x1e5)]?this[_0x206118(0x1e5)][_0x206118(0x228)]:this['_calculateFreeEndpointAngle'](_0x2bd342[_0x206118(0x2c7)],_0x347fe1),_0x26eb05;if(this[_0x206118(0x1e5)]){let _0x2b300a=this['_drawingManagerService'][_0x206118(0x291)]({'unitId':this['_currentConnectionTarget']['unitId'],'subUnitId':this['_currentConnectionTarget'][_0x206118(0x4c3)],'drawingId':this['_currentConnectionTarget'][_0x206118(0x47c)]});if(_0x2b300a!=null&&_0x2b300a['transform']){let {left:_0x519ad5=0x0,top:_0x360cfc=0x0,width:_0x3f2033=0x0,height:_0x2843f0=0x0,angle:_0x58e68b}=_0x2b300a[_0x206118(0x3be)];_0x26eb05=(0x0,_0x36e36c[_0x206118(0x303)])({'left':_0x519ad5,'top':_0x360cfc,'width':_0x3f2033,'height':_0x2843f0},_0x58e68b||0x0);}else _0x26eb05={'left':_0x347fe1['x'],'top':_0x347fe1['y'],'width':0x0,'height':0x0};}else _0x26eb05={'left':_0x347fe1['x'],'top':_0x347fe1['y'],'width':0x0,'height':0x0};let _0x2510a7={'point':_0x347fe1,'angle':_0x236247,'bounds':_0x26eb05},_0x3e719a=_0x1d6f9f?_0x2510a7:_0x2bd342,_0x1265c5=_0x1d6f9f?_0x2bd342:_0x2510a7,_0x9837f6=this[_0x206118(0x34e)][_0x206118(0x3d1)](),_0x3a33c9=(0x0,_0x36e36c[_0x206118(0x2c0)])(_0x3e719a,_0x1265c5,_0x9837f6);_0x3a33c9&&this[_0x206118(0x34e)][_0x206118(0x201)](_0x3a33c9);let _0x3b174b=(0x0,_0x36e36c[_0x206118(0x2a6)])(_0x3a33c9,_0x9837f6);_0x3b174b['lineType']!==_0x9837f6&&this['_activeShapeModel'][_0x206118(0x4de)](_0x3b174b[_0x206118(0x356)]);for(let [_0x5bb999,_0x48f55c]of Object[_0x206118(0x1bf)](_0x3b174b[_0x206118(0x1bb)]))this['_activeShapeModel']['setAdjustValueByName'](_0x5bb999,_0x48f55c);this[_0x206118(0x34e)]['updateContext']({'width':_0x3b174b['worldRect'][_0x206118(0x4ba)],'height':_0x3b174b['worldRect'][_0x206118(0x3f0)]}),_0x44b21a[_0x206118(0x40d)]({'flipX':_0x3b174b[_0x206118(0x36f)]['flipX'],'flipY':_0x3b174b['worldRect'][_0x206118(0x46a)],'left':_0x3b174b[_0x206118(0x36f)][_0x206118(0x26d)],'top':_0x3b174b['worldRect'][_0x206118(0x35f)],'width':_0x3b174b[_0x206118(0x36f)]['width'],'height':_0x3b174b['worldRect'][_0x206118(0x3f0)],'angle':_0x3b174b['rotation']}),_0x44b21a[_0x206118(0x537)](!0x0);let _0xc3fb07=((_0xa53bc1=this[_0x206118(0x1e5)])==null?void 0x0:_0xa53bc1[_0x206118(0x1ca)])??_0x3b093c;_0xbc6a62['transformByState']({'left':_0xc3fb07['x']-_0x36e36c[_0x206118(0x543)][_0x206118(0x525)],'top':_0xc3fb07['y']-_0x36e36c[_0x206118(0x543)]['cxnPointRadius']});}['_handleFreeEndpointMove'](_0x3900cb,_0x1f7e37,_0x22c598,_0x25582f,_0x2182e9){const _0x1fde6d=_0x3d4004;var _0xb6e5f9,_0x36e311;let _0x1d567b=((_0xb6e5f9=this[_0x1fde6d(0x1e5)])==null?void 0x0:_0xb6e5f9['worldPoint'])??_0x3900cb,_0x541eea=_0x36e36c[_0x1fde6d(0x32f)]['computeConnectorResizeLayout'](_0x1f7e37,_0x1d567b,_0x22c598);_0x25582f[_0x1fde6d(0x40d)]({'flipX':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x2a5)],'flipY':_0x541eea[_0x1fde6d(0x36f)]['flipY'],'left':_0x541eea['worldRect'][_0x1fde6d(0x26d)],'top':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x35f)],'width':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x4ba)],'height':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x3f0)],'angle':_0x541eea[_0x1fde6d(0x36f)][_0x1fde6d(0x228)]});let _0x42d3d6=((_0x36e311=this[_0x1fde6d(0x1e5)])==null?void 0x0:_0x36e311['worldPoint'])??_0x3900cb;_0x2182e9['transformByState']({'left':_0x42d3d6['x']-_0x36e36c[_0x1fde6d(0x543)][_0x1fde6d(0x525)],'top':_0x42d3d6['y']-_0x36e36c[_0x1fde6d(0x543)][_0x1fde6d(0x525)]});}[_0x3d4004(0x278)](_0x43c1bc){const _0x55bfa4=_0x3d4004;if(!this['_unitId']||!this[_0x55bfa4(0x240)])return null;let {shapeId:_0x20497c,cxnIndex:_0x4fb475}=_0x43c1bc,_0x5ccf47=this[_0x55bfa4(0x341)][_0x55bfa4(0x453)](this[_0x55bfa4(0x1d1)],this['_subUnitId'],_0x20497c);if(!_0x5ccf47)return null;let _0x3dd3fc=this['_drawingManagerService'][_0x55bfa4(0x291)]({'unitId':this[_0x55bfa4(0x1d1)],'subUnitId':this[_0x55bfa4(0x240)],'drawingId':_0x20497c});if(!(_0x3dd3fc!=null&&_0x3dd3fc[_0x55bfa4(0x3be)]))return null;let {left:_0x4ee253=0x0,top:_0x2d1aef=0x0,width:_0x2e7849=0x0,height:_0x53b96a=0x0,flipX:_0x15ee19=!0x1,flipY:_0x517b14=!0x1,angle:_0x403785}=_0x3dd3fc[_0x55bfa4(0x3be)];_0x5ccf47[_0x55bfa4(0x4d2)]({'width':_0x2e7849,'height':_0x53b96a});let _0x52ce60=_0x5ccf47[_0x55bfa4(0x33f)]()[_0x55bfa4(0x1f4)](_0x4d028f=>_0x4d028f[_0x55bfa4(0x55f)]===_0x4fb475);if(!_0x52ce60)return null;let _0x1d2af9=_0x15ee19?_0x2e7849-_0x52ce60['x']:_0x52ce60['x'],_0x568ffb=_0x517b14?_0x53b96a-_0x52ce60['y']:_0x52ce60['y'];if(_0x403785!==0x0&&_0x403785!=null){let _0x3695ab=_0x403785*Math['PI']/0xb4,_0x1038d9=Math['cos'](_0x3695ab),_0x7b94c2=Math['sin'](_0x3695ab),_0x381e44=_0x2e7849/0x2,_0x1b47af=_0x53b96a/0x2,_0x47f14d=_0x1d2af9-_0x381e44,_0x116891=_0x568ffb-_0x1b47af;_0x1d2af9=_0x381e44+_0x47f14d*_0x1038d9-_0x116891*_0x7b94c2,_0x568ffb=_0x1b47af+_0x47f14d*_0x7b94c2+_0x116891*_0x1038d9;}_0x1d2af9+=_0x4ee253,_0x568ffb+=_0x2d1aef;let _0xc41641=_0x52ce60[_0x55bfa4(0x3ca)]/0xea60;_0x15ee19&&(_0xc41641=0xb4-_0xc41641),_0x517b14&&(_0xc41641=-_0xc41641),_0xc41641+=_0x403785||0x0,_0xc41641=(_0xc41641%0x168+0x168)%0x168;let _0x22c658=(0x0,_0x36e36c['getBasicShapeRotateBound'])({'left':_0x4ee253,'top':_0x2d1aef,'width':_0x2e7849,'height':_0x53b96a},_0x403785||0x0);return{'point':{'x':_0x1d2af9,'y':_0x568ffb},'angle':_0xc41641,'bounds':_0x22c658};}[_0x3d4004(0x4aa)](_0x1ff4c0,_0x4a84dd){const _0x12f5bb=_0x3d4004;let _0x454e86=_0x4a84dd['x']-_0x1ff4c0['x'],_0x17f504=_0x4a84dd['y']-_0x1ff4c0['y'];return Math[_0x12f5bb(0x337)](_0x454e86)>=Math['abs'](_0x17f504)?_0x454e86>=0x0?0xb4:0x0:_0x17f504>=0x0?0x10e:0x5a;}[_0x3d4004(0x519)](){const _0x32d658=_0x3d4004;this[_0x32d658(0x3a8)]=void 0x0,this['_unitId']=void 0x0,this[_0x32d658(0x240)]=void 0x0,this[_0x32d658(0x433)]();}['dispose'](){const _0x1fde0a=_0x3d4004;this[_0x1fde0a(0x433)](),super[_0x1fde0a(0x4fe)]();}};_0x458dcc=_0x3a2391([_0x4a972c(0x1,_0x20b6b2['ICommandService']),_0x4a972c(0x2,_0x2e0941['IRenderManagerService']),_0x4a972c(0x3,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x6,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x42bfec)),_0x4a972c(0x7,(0x0,_0x20b6b2['Inject'])(_0x1dbb70))],_0x458dcc);let _0xbfbedc=class extends _0x20b6b2['Disposable']{constructor(_0xeddba2,_0x329e56,_0x45dd86){const _0x16719a=_0x3d4004;super(),this[_0x16719a(0x361)]=_0xeddba2,this[_0x16719a(0x3a6)]=_0x329e56,this['_shapeRenderController']=_0x45dd86,this[_0x16719a(0x561)]();}[_0x3d4004(0x561)](){const _0x56b718=_0x3d4004;this[_0x56b718(0x301)](this[_0x56b718(0x361)][_0x56b718(0x1c1)][_0x56b718(0x594)](this['_sheetPrintInterceptorService']['interceptor']['getInterceptPoints']()[_0x56b718(0x3ac)],{'handler':(_0x519ac0,_0x516d3f,_0x12be62)=>{const _0x1edb06=_0x56b718;var _0x41828f;let {unitId:_0x4f1bbc,subUnitId:_0xa45735,scene:_0x456a70,resourceCollector:_0x2f5a4a}=_0x516d3f,_0x33a641=(_0x41828f=this[_0x1edb06(0x3a6)]['getDrawingDataForUnit'](_0x4f1bbc))==null?void 0x0:_0x41828f[_0xa45735];return _0x33a641==null||_0x33a641[_0x1edb06(0x3bb)][_0x1edb06(0x39d)](_0x2157e6=>{const _0x22651c=_0x1edb06;let _0x2b61c1=_0x33a641[_0x22651c(0x3fd)][_0x2157e6];_0x2b61c1[_0x22651c(0x2c8)]===_0x20b6b2[_0x22651c(0x284)]['DRAWING_SHAPE']&&!_0x2b61c1['hidden']&&this[_0x22651c(0x4ef)][_0x22651c(0x3c6)](_0x2b61c1,_0x456a70,{'resourceCollector':_0x2f5a4a});}),_0x12be62(_0x519ac0);}}));}};_0xbfbedc=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x258)])),_0x4a972c(0x1,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xec3a87))],_0xbfbedc);let _0x3a9578=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x1b9b84,_0x1caf7a,_0x19522a){const _0x4cdc59=_0x3d4004;super(),this[_0x4cdc59(0x2d4)]=_0x1b9b84,this[_0x4cdc59(0x564)]=_0x1caf7a,this['_sheetPermissionCheckController']=_0x19522a,this[_0x4cdc59(0x504)]();}[_0x3d4004(0x504)](){const _0x5e510d=_0x3d4004;this[_0x5e510d(0x301)](this[_0x5e510d(0x2d4)][_0x5e510d(0x499)](_0x391da4=>{const _0x239df5=_0x5e510d;let _0x3a1a81,_0x5c5916;if(_0x391da4['id']===_0x3c17ec[_0x239df5(0x233)]['id']||_0x391da4['id']===_0x3c17ec[_0x239df5(0x329)]['id']||_0x391da4['id']===_0x3c17ec[_0x239df5(0x286)]['id']){let _0x285929=_0x391da4[_0x239df5(0x342)];_0x3a1a81=_0x285929[_0x239df5(0x3e5)],_0x5c5916=_0x285929[_0x239df5(0x4c3)];}_0x3a1a81&&_0x5c5916&&(this[_0x239df5(0x4cf)]['permissionCheckWithoutRange']({'workbookTypes':[_0x3a78b8['WorkbookEditablePermission']],'worksheetTypes':[_0x3a78b8[_0x239df5(0x417)]]},_0x3a1a81,_0x5c5916)||this[_0x239df5(0x4cf)][_0x239df5(0x32d)](this[_0x239df5(0x564)]['t'](_0x239df5(0x2d2))));}));}};_0x3a9578=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2['Inject'])(_0x20b6b2[_0x3d4004(0x38e)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2['LocaleService'])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3a78b8[_0x3d4004(0x513)]))],_0x3a9578);let _0x51ef2a=class{constructor(_0x3b1b4f){const _0x10ad97=_0x3d4004;this[_0x10ad97(0x35d)]=_0x3b1b4f;}[_0x3d4004(0x49d)](_0x2231f9,_0x4ed178){const _0x22f774=_0x3d4004;let _0x5fd3fc=this['_renderManagerService'][_0x22f774(0x3ab)](_0x2231f9[_0x22f774(0x3e5)]),_0x56023d=_0x5fd3fc==null?void 0x0:_0x5fd3fc[_0x22f774(0x4f2)];if(!_0x56023d)return;let _0x179fe1=(0x0,_0x3a44e9[_0x22f774(0x2a1)])(_0x2231f9),_0x4ea9fa=_0x56023d[_0x22f774(0x1fe)](_0x179fe1);_0x4ea9fa==null||_0x4ea9fa[_0x22f774(0x2f5)](_0x4ed178);}};_0x51ef2a=_0x3a2391([_0x4a972c(0x0,_0x2e0941[_0x3d4004(0x565)])],_0x51ef2a);let _0x5d2ab2=class extends _0x20b6b2[_0x3d4004(0x381)]{constructor(_0x35e211=_0x455ea6,_0x2615f0,_0xecc0d7,_0x91db64,_0x3fef51){const _0x18f027=_0x3d4004;super(),this[_0x18f027(0x3f4)]=_0x35e211,this[_0x18f027(0x23c)]=_0x2615f0,this[_0x18f027(0x2d4)]=_0xecc0d7,this[_0x18f027(0x204)]=_0x91db64,this[_0x18f027(0x35d)]=_0x3fef51;let {..._0x5d8a62}=(0x0,_0x20b6b2['merge'])({},_0x455ea6,this[_0x18f027(0x3f4)]);this[_0x18f027(0x204)][_0x18f027(0x1b3)](_0xa54229,_0x5d8a62),this[_0x18f027(0x423)]();}[_0x3d4004(0x57d)](){const _0x1f0b78=_0x3d4004;this[_0x1f0b78(0x23c)][_0x1f0b78(0x2e9)]([_0x22684c]),this[_0x1f0b78(0x23c)]['get'](_0x22684c),(0x0,_0x20b6b2[_0x1f0b78(0x316)])(this['_injector'],[[_0x4340f2],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578]]);}[_0x3d4004(0x277)](){const _0x5b2514=_0x3d4004;(0x0,_0x20b6b2[_0x5b2514(0x316)])(this[_0x5b2514(0x23c)],[[_0x1dbb70],[_0x42bfec],[_0xee7899]]),(0x0,_0x20b6b2[_0x5b2514(0x2c3)])(this['_injector'],[[_0xee7899],[_0x42bfec]]),[[_0x1dbb70],[_0x5828c7],[_0x458dcc],[_0x24093a]][_0x5b2514(0x39d)](_0x4f70da=>{const _0x3a4f61=_0x5b2514;this[_0x3a4f61(0x301)](this[_0x3a4f61(0x35d)][_0x3a4f61(0x255)](_0x20b6b2[_0x3a4f61(0x257)][_0x3a4f61(0x2bb)],_0x4f70da));});}[_0x3d4004(0x487)](){const _0x121189=_0x3d4004;(0x0,_0x20b6b2[_0x121189(0x2c3)])(this[_0x121189(0x23c)],[[_0x4340f2],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578]]);}[_0x3d4004(0x43d)](){const _0x145cb2=_0x3d4004;this[_0x145cb2(0x23c)][_0x145cb2(0x584)](_0x4340f2)[_0x145cb2(0x325)]();}[_0x3d4004(0x423)](){const _0x400e98=_0x3d4004;[_0x4e8acc,_0x34371e,_0x473d36,_0x6604f2][_0x400e98(0x39d)](_0x49de2a=>this[_0x400e98(0x301)](this[_0x400e98(0x2d4)]['registerCommand'](_0x49de2a)));}};_0x212175(_0x5d2ab2,_0x3d4004(0x541),_0x20b6b2[_0x3d4004(0x257)][_0x3d4004(0x2bb)]),_0x212175(_0x5d2ab2,'pluginName',_0x3d4004(0x2c2)),_0x212175(_0x5d2ab2,'packageName',_0x309058),_0x212175(_0x5d2ab2,_0x3d4004(0x378),_0x28c5e3),_0x5d2ab2=_0x3a2391([(0x0,_0x20b6b2[_0x3d4004(0x225)])(_0x30dca3['UniverLicensePlugin'],_0x331b83[_0x3d4004(0x562)],_0x3a44e9[_0x3d4004(0x389)],_0x2e0941[_0x3d4004(0x315)],_0x3a78b8['UniverSheetsPlugin'],_0x58ef02[_0x3d4004(0x27f)],_0x44df92['UniverSheetsDrawingPlugin'],_0x590e75[_0x3d4004(0x2c4)],_0x46d306[_0x3d4004(0x235)],_0x3c17ec[_0x3d4004(0x335)],_0x5aa18a['UniverSheetsMobileUIPlugin'],_0x21b2c0[_0x3d4004(0x38c)],_0xc5cac3['UniverMobileUIPlugin']),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x30b)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x20b6b2['IConfigService']),_0x4a972c(0x4,_0x2e0941[_0x3d4004(0x565)])],_0x5d2ab2);let _0x2229a4={'type':_0x20b6b2[_0x3d4004(0x22e)]['OPERATION'],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x57efc1(){const _0x284377=_0x3d4004;let _0x101f65=(0x0,_0xc5cac3[_0x284377(0x48e)])(_0x3a44e9[_0x284377(0x567)]),_0xd4f978=(0x0,_0xc5cac3[_0x284377(0x41a)])(()=>_0x101f65[_0x284377(0x47d)],_0x101f65['getFocusDrawings'](),!0x1,[_0x101f65]);return _0xd4f978[_0x284377(0x1ed)]===0x0?null:(0x0,_0x132e2c[_0x284377(0x305)])('div',{'children':(0x0,_0x132e2c[_0x284377(0x50e)])('div',{'className':_0x284377(0x55e),'children':[(0x0,_0x132e2c[_0x284377(0x305)])(_0x42ecb7[_0x284377(0x28e)],{'drawings':_0xd4f978,'hasCropper':!0x1}),(0x0,_0x132e2c['jsx'])(_0x46d306['SheetDrawingAnchor'],{'drawings':_0xd4f978})]})});}function _0x5a13e9(_0x11e96d){const _0x290e8f=_0x3d4004;let {unitId:_0x1e3f2b,subUnitId:_0x1cd086,shapeId:_0x28ca1e}=_0x11e96d,_0x28f094=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x290e8f(0x38e)]),_0x41691f=(0x0,_0xc5cac3['useDependency'])(_0x51ef2a);return(0x0,_0x132e2c['jsx'])(_0x21b2c0['ShapeEditPanel'],{..._0x11e96d,'positionEditor':(0x0,_0x132e2c['jsx'])(_0x57efc1,{}),'onUpdateShapeData':(_0xe61191,_0x2b321e)=>{_0x118498(_0x28f094,_0x1e3f2b,_0x1cd086,_0x28ca1e,_0xe61191,_0x2b321e);},'onUpdateLineShapeData':(_0x136198,_0x1e33d2)=>{_0x2c1624(_0x28f094,_0x1e3f2b,_0x1cd086,_0x28ca1e,_0x136198,_0x1e33d2);},'onUpdateShapeFillImage':_0x189ed8=>{const _0x24440d=_0x290e8f;_0x41691f[_0x24440d(0x49d)]({'unitId':_0x1e3f2b,'subUnitId':_0x1cd086,'drawingId':_0x28ca1e},_0x189ed8);}});}function _0x927e02(_0x3f0a62){const _0x1452a5=_0x3d4004;let _0x5d34c4=(0x0,_0xc5cac3['useDependency'])(_0x21b2c0[_0x1452a5(0x365)]),_0x8cfc88=(0x0,_0xc5cac3[_0x1452a5(0x41a)])(()=>_0x5d34c4[_0x1452a5(0x506)],_0x5d34c4['getVisible'](),!0x1,[_0x5d34c4]),_0x19dfca=_0x3f0a62[_0x1452a5(0x4c9)][_0x1452a5(0x58e)];return!_0x19dfca||!_0x8cfc88?null:(0x0,_0x132e2c[_0x1452a5(0x305)])(_0x1f2bda,{..._0x19dfca,'canvasElement':_0x3f0a62['popup']['canvasElement']});}function _0x1f2bda(_0x561053){const _0x3e6914=_0x3d4004;let _0x41d91b=(0x0,_0xc5cac3['useDependency'])(_0x20b6b2[_0x3e6914(0x38e)]),_0x232814=(0x0,_0xc5cac3[_0x3e6914(0x48e)])(_0x3c17ec['SheetsShapeService']),{unitId:_0x5b903d,subUnitId:_0x3bc7ec,drawingId:_0x2cc5ad,drawingType:_0x139fc9,shapeType:_0x151845}=_0x561053,[_0x251b83,_0x2f0fb0]=(0x0,_0x1009cf['useState'])(_0x561053['shapeData']),_0x4a4685=(0x0,_0x1009cf[_0x3e6914(0x3e8)])(()=>(0x0,_0x21b2c0[_0x3e6914(0x2a2)])(_0x251b83),[_0x251b83]),_0x143ed3=(0x0,_0x1009cf['useMemo'])(()=>(0x0,_0x21b2c0['getTextModel'])(_0x251b83),[_0x251b83]);(0x0,_0x1009cf[_0x3e6914(0x42b)])(()=>{const _0x505c35=_0x3e6914;let _0x566156=_0x41d91b[_0x505c35(0x47a)](_0x504831=>{const _0x21766d=_0x505c35;if(_0x504831['id']!==_0x3c17ec[_0x21766d(0x1fa)]['id'])return;let _0x2a2aeb=_0x232814[_0x21766d(0x51d)](_0x5b903d,_0x3bc7ec,_0x2cc5ad);_0x2a2aeb&&_0x2f0fb0(_0x2a2aeb);});return()=>_0x566156[_0x505c35(0x4fe)]();},[_0x41d91b,_0x2cc5ad,_0x232814,_0x3bc7ec,_0x5b903d]);let _0x1f3a4c=_0x14b66f=>{_0x2f0fb0(_0x5d94dc=>({..._0x5d94dc,..._0x14b66f}));},_0x209bb6=_0x304455=>{const _0x188668=_0x3e6914;let _0x27761c=(0x0,_0x21b2c0[_0x188668(0x452)])(_0x251b83,_0x304455);_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,{'oldShapeData':{'shapeText':_0x251b83[_0x188668(0x4d3)]}},_0x27761c),_0x1f3a4c(_0x27761c);},_0x2f4b7f=(0x0,_0x21b2c0['useFormulaShapeToolbar'])({'hostType':_0x20b6b2[_0x3e6914(0x257)][_0x3e6914(0x2bb)],'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'shapeId':_0x2cc5ad,'shapeData':_0x251b83,'onUpdateBinding':_0x2e86d7=>{const _0x17123f=_0x3e6914;let _0x9d5526={'formulaBinding':_0x2e86d7};_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,{'oldShapeData':{'formulaBinding':_0x251b83[_0x17123f(0x1b7)]}},_0x9d5526),_0x1f3a4c(_0x9d5526);}});return(0x0,_0x132e2c[_0x3e6914(0x50e)])(_0x132e2c[_0x3e6914(0x4c2)],{'children':[(0x0,_0x132e2c[_0x3e6914(0x305)])(_0x21b2c0[_0x3e6914(0x35c)],{'canvasElement':_0x561053[_0x3e6914(0x256)],'shapeData':_0x251b83,'shapeType':_0x151845,'textStyle':{'ff':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4d3)][_0x3e6914(0x300)],'fs':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4d3)][_0x3e6914(0x3af)],'cl':{'rgb':_0x36e36c[_0x3e6914(0x543)]['shapeText'][_0x3e6914(0x40a)]},..._0x4a4685},'textModel':_0x143ed3?{'ha':_0x143ed3['ha']??_0x20b6b2['HorizontalAlign'][_0x3e6914(0x2a7)],'va':_0x143ed3['va']??_0x20b6b2[_0x3e6914(0x4b0)][_0x3e6914(0x3ef)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x55a)],'defaultGradientEndColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x232)],'defaultStrokeColor':_0x36e36c[_0x3e6914(0x543)][_0x3e6914(0x4a4)],'extensionGroups':_0x2f4b7f['extensionGroups'],'floatingObjectToolbarPosition':_0xc5cac3['FloatingObjectToolbarPosition'][_0x3e6914(0x2ef)],'onUpdateShapeData':(_0x4c8c38,_0x129d75)=>{_0x118498(_0x41d91b,_0x5b903d,_0x3bc7ec,_0x2cc5ad,_0x4c8c38,_0x129d75),_0x129d75&&_0x1f3a4c(_0x129d75);},'onUpdateText':_0x209bb6,'onOpenPanel':()=>{const _0x3fc435=_0x3e6914;_0x41d91b[_0x3fc435(0x447)](_0x2f6589['id'],{'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'drawingId':_0x2cc5ad});},'onDelete':()=>{const _0x350691=_0x3e6914;_0x41d91b['executeCommand'](_0x44df92[_0x350691(0x2de)]['id'],{'unitId':_0x5b903d,'drawings':[{'unitId':_0x5b903d,'subUnitId':_0x3bc7ec,'drawingId':_0x2cc5ad,'drawingType':_0x139fc9}]});}}),_0x2f4b7f[_0x3e6914(0x42a)]]});}function _0xbd8c28(_0x494eb9){const _0x3af7ca=_0x3d4004;return!!_0x494eb9&&_0x3af7ca(0x56b)in _0x494eb9&&'sheetTransform'in _0x494eb9;}let _0x58f93b=(0x0,_0x1009cf[_0x3d4004(0x3f5)])(()=>{const _0x38ae33=_0x3d4004;let _0x313623=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x34d1ee),_0x255266=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x3c17ec[_0x38ae33(0x3e2)]),_0x120d33=(0x0,_0xc5cac3['useDependency'])(_0x3a44e9[_0x38ae33(0x567)]),_0x4849ca=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x20b6b2[_0x38ae33(0x38e)]),_0x3f1d99=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0xc5cac3[_0x38ae33(0x1bd)]),_0x4d2147=(0x0,_0xc5cac3[_0x38ae33(0x48e)])(_0x2e0941[_0x38ae33(0x565)]),_0x3458ef=(0x0,_0x1009cf[_0x38ae33(0x3e8)])(()=>({'getShapeModel':(_0x4bca65,_0x489435,_0xc3a1df)=>_0x255266[_0x38ae33(0x453)](_0x4bca65,_0x489435,_0xc3a1df),'getShapeData':(_0x3fc14e,_0x1ca5b2,_0x5ebbd3)=>_0x255266[_0x38ae33(0x51d)](_0x3fc14e,_0x1ca5b2,_0x5ebbd3),'getDrawingTransform':(_0x2eb9eb,_0x43faa9,_0x2a959e)=>{const _0x348e11=_0x38ae33;let _0x10bd0e=_0x120d33[_0x348e11(0x291)]({'unitId':_0x2eb9eb,'subUnitId':_0x43faa9,'drawingId':_0x2a959e});return _0x10bd0e==null?void 0x0:_0x10bd0e[_0x348e11(0x3be)];},'updateShapeText':({unitId:_0x22f27d,subUnitId:_0x3ae1a3,shapeId:_0x248b54,shapeText:_0x6083d2,oldShapeText:_0x966ff3,hostSize:_0x3b4789})=>{_0x3f1d99['run'](_0x22f27d,()=>{const _0x58e172=_0x592e;var _0x37da12;let _0x44ee03=_0x4849ca['syncExecuteCommand'](_0x34371e['id'],{'unitId':_0x22f27d,'subUnitId':_0x3ae1a3,'shapeId':_0x248b54,'shapeData':{'shapeText':_0x6083d2},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x966ff3}}});if(!_0x44ee03||!_0x3b4789)return _0x44ee03;let _0x2009f4=_0x120d33['getDrawingByParam']({'unitId':_0x22f27d,'subUnitId':_0x3ae1a3,'drawingId':_0x248b54}),_0x1161c9=_0x2009f4==null?void 0x0:_0x2009f4['transform'];if(!_0xbd8c28(_0x2009f4)||!_0x1161c9)return!0x1;let _0x10adfd={..._0x1161c9,'width':_0x3b4789['width'],'height':_0x3b4789[_0x58e172(0x3f0)]},_0x113c92=(_0x37da12=_0x4d2147[_0x58e172(0x3ab)](_0x22f27d))==null||(_0x37da12=_0x37da12['with'](_0x5aa18a[_0x58e172(0x555)])['getSkeletonParam'](_0x3ae1a3))==null?void 0x0:_0x37da12[_0x58e172(0x401)];return _0x4849ca[_0x58e172(0x340)](_0x44df92['SetSheetDrawingCommand']['id'],{'unitId':_0x22f27d,'drawings':[{..._0x2009f4,'transform':_0x10adfd,'sheetTransform':_0x113c92?(0x0,_0x44df92['transformToDrawingPosition'])(_0x10adfd,_0x113c92)??_0x2009f4['sheetTransform']:_0x2009f4[_0x58e172(0x50c)],'axisAlignSheetTransform':_0x113c92?(0x0,_0x44df92[_0x58e172(0x37c)])(_0x10adfd,_0x113c92)??_0x2009f4[_0x58e172(0x56b)]:_0x2009f4['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x46dba1,subUnitId:_0x5b35d7,shapeId:_0x123bfb,width:_0x2f5fc1,height:_0x411405})=>{const _0x229a47=_0x38ae33;var _0x265e4f;let _0x327ec0=_0x120d33['getDrawingByParam']({'unitId':_0x46dba1,'subUnitId':_0x5b35d7,'drawingId':_0x123bfb}),_0x286956=_0x327ec0==null?void 0x0:_0x327ec0[_0x229a47(0x3be)];if(!_0xbd8c28(_0x327ec0)||!_0x286956)return;let _0xf242c9={..._0x286956,'width':_0x2f5fc1,'height':_0x411405},_0x5f1af8=(_0x265e4f=_0x4d2147[_0x229a47(0x3ab)](_0x46dba1))==null||(_0x265e4f=_0x265e4f[_0x229a47(0x33c)](_0x5aa18a['SheetSkeletonManagerService'])['getSkeletonParam'](_0x5b35d7))==null?void 0x0:_0x265e4f[_0x229a47(0x401)],_0x5aa7fe=_0x5f1af8?(0x0,_0x44df92['transformToDrawingPosition'])(_0xf242c9,_0x5f1af8)??_0x327ec0['sheetTransform']:_0x327ec0[_0x229a47(0x50c)],_0x45a5cb=_0x5f1af8?(0x0,_0x44df92[_0x229a47(0x37c)])(_0xf242c9,_0x5f1af8)??_0x327ec0[_0x229a47(0x56b)]:_0x327ec0['axisAlignSheetTransform'];_0x4849ca[_0x229a47(0x447)](_0x44df92[_0x229a47(0x3cd)]['id'],{'unitId':_0x46dba1,'drawings':[{..._0x327ec0,'transform':_0xf242c9,'sheetTransform':_0x5aa7fe,'axisAlignSheetTransform':_0x45a5cb}]});},'allowHostSizeShrink':({unitId:_0x112b78,subUnitId:_0x3c9e37,shapeId:_0xe2785e})=>(0x0,_0x21b2c0[_0x38ae33(0x39b)])(_0x255266[_0x38ae33(0x51d)](_0x112b78,_0x3c9e37,_0xe2785e)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4849ca,_0x120d33,_0x4d2147,_0x255266,_0x3f1d99]),_0x534aad=(0x0,_0x1009cf['useMemo'])(()=>({'viewportKeys':{'main':_0x2e0941[_0x38ae33(0x2ac)][_0x38ae33(0x4f3)],'leftTop':_0x2e0941[_0x38ae33(0x2ac)]['VIEW_MAIN_LEFT_TOP'],'top':_0x2e0941[_0x38ae33(0x2ac)]['VIEW_MAIN_TOP'],'left':_0x2e0941[_0x38ae33(0x2ac)][_0x38ae33(0x524)]},'getSkeleton':(_0x29c678,_0x4bdc46)=>{const _0x381ea5=_0x38ae33;var _0x4647ec;return((_0x4647ec=_0x29c678['with'](_0x5aa18a[_0x381ea5(0x555)])[_0x381ea5(0x390)](_0x4bdc46[_0x381ea5(0x4c3)]))==null?void 0x0:_0x4647ec[_0x381ea5(0x401)])??null;}}),[]);return(0x0,_0x132e2c[_0x38ae33(0x305)])(_0x21b2c0['ShapeTextEditorContainer'],{'adapter':_0x3458ef,'editingService':_0x313623,'editorUnitId':_0x21169e,'positionOptions':_0x534aad});}),_0x508f48=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x2669c2,_0x2cc9ef){const _0x1a9b72=_0x3d4004;super(),this['_componentManager']=_0x2669c2,this[_0x1a9b72(0x32c)]=_0x2cc9ef,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0x4b5422=_0x3d4004;this['_iconManager'][_0x4b5422(0x481)](_0x4b5422(0x4f8))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'ObjectLayersIcon':_0x1f2bbc})),this[_0x4b5422(0x32c)]['has']('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'FlipHorizontalIcon':_0x17ed57})),this['_iconManager'][_0x4b5422(0x481)]('FlipVerticalIcon')||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'FlipVerticalIcon':_0x3f08c1})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)]('BottomIcon')||this[_0x4b5422(0x301)](this['_iconManager'][_0x4b5422(0x20d)]({'BottomIcon':_0x3e15b5})),this['_iconManager']['has'](_0x4b5422(0x4bb))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'MoveDownIcon':_0x14c8b4})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)](_0x4b5422(0x3a2))||this[_0x4b5422(0x301)](this['_iconManager'][_0x4b5422(0x20d)]({'MoveUpIcon':_0xe08485})),this[_0x4b5422(0x32c)][_0x4b5422(0x481)](_0x4b5422(0x1fd))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'ShapeFormatSettingIcon':_0x192ec1})),this[_0x4b5422(0x32c)]['has'](_0x4b5422(0x3fc))||this[_0x4b5422(0x301)](this[_0x4b5422(0x32c)][_0x4b5422(0x20d)]({'TopmostIcon':_0x20e21b}));}[_0x3d4004(0x3f2)](){const _0x35577e=_0x3d4004;this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x1dded7,_0x5a13e9)),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register'](_0x3b993f,_0x40d67d)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5360d6,_0x371d73)),this[_0x35577e(0x301)](this['_componentManager'][_0x35577e(0x20d)](_0x22252c,_0x4b7cd0)),this[_0x35577e(0x344)][_0x35577e(0x584)](_0x42ecb7['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x35577e(0x301)](this['_componentManager'][_0x35577e(0x20d)](_0x42ecb7[_0x35577e(0x58a)],_0x2f5dea)),this['disposeWithMe'](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x1304ff,_0x927e02)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5377d5,_0x100f06)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x5893c8,_0x2635fd)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0x2c7ad3,_0xcfc17f)),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register'](_0x592f18,_0x56d6b3)),this[_0x35577e(0x301)](this[_0x35577e(0x344)][_0x35577e(0x20d)](_0xadef8f,_0x21b2c0[_0x35577e(0x2b6)])),this[_0x35577e(0x301)](this[_0x35577e(0x344)]['register']('SheetShapeTextEditorContainer',_0x58f93b));}};_0x508f48=_0x3a2391([_0x4a972c(0x0,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x279)])),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x54d)]))],_0x508f48);let _0x3ad809=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0xc0c78a,_0x21b964,_0x4dcf02,_0x1f3533,_0x3b83cb,_0x3b672,_0x398d3c,_0x51575a,_0x9d1a25){const _0x197d2d=_0x3d4004;super();let _0x582d52=_0x2771f8=>{const _0x490182=_0x592e;var _0xa01531,_0x11f13f;return(((_0xa01531=_0x51575a[_0x490182(0x4d7)](new _0x3a78b8[(_0x490182(0x4f0))](_0x2771f8['unitId'])['id']))==null?void 0x0:_0xa01531['value'])??!0x0)&&(((_0x11f13f=_0x51575a[_0x490182(0x4d7)](new _0x3a78b8[(_0x490182(0x417))](_0x2771f8['unitId'],_0x2771f8['subUnitId'])['id']))==null?void 0x0:_0x11f13f[_0x490182(0x405)])??!0x0);},_0x33f114=_0x218729=>_0x218729['shapeId']&&_0x582d52(_0x218729)?_0x4dcf02['getShapeDataById'](_0x218729[_0x197d2d(0x3e5)],_0x218729[_0x197d2d(0x4c3)],_0x218729[_0x197d2d(0x47c)])??null:null,_0x3dbeaf=()=>{const _0x1bc50d=_0x197d2d;let _0x393484=_0x3b83cb[_0x1bc50d(0x505)](),_0x8783cf=_0x393484[_0x1bc50d(0x1ed)]===0x1?_0x393484[0x0]:null;return(_0x8783cf==null?void 0x0:_0x8783cf[_0x1bc50d(0x2c8)])===_0x20b6b2[_0x1bc50d(0x284)][_0x1bc50d(0x364)]&&_0x8783cf['unitId']===_0xc0c78a['unitId']?{'unitId':_0x8783cf[_0x1bc50d(0x3e5)],'subUnitId':_0x8783cf[_0x1bc50d(0x4c3)],'shapeId':_0x8783cf[_0x1bc50d(0x354)]}:null;};this['disposeWithMe']((0x0,_0x21b2c0['registerShapeFormatPainter'])(_0xc0c78a,_0x21b964,{'changes$':(0x0,_0x1008b8['merge'])(_0x3b83cb[_0x197d2d(0x47d)],_0x1f3533[_0x197d2d(0x534)],_0x51575a['permissionPointUpdate$']),'isActive':()=>{const _0x1fb51e=_0x197d2d;var _0x16be71;return((_0x16be71=_0x3b672[_0x1fb51e(0x2b9)]())==null?void 0x0:_0x16be71['getUnitId']())===_0xc0c78a[_0x1fb51e(0x3e5)]&&!_0x398d3c[_0x1fb51e(0x2fb)](_0x20b6b2['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x3b83cb[_0x1fb51e(0x505)]()[_0x1fb51e(0x2bc)](_0x15d0cd=>_0x15d0cd[_0x1fb51e(0x3e5)]===_0xc0c78a[_0x1fb51e(0x3e5)]);},'getSelectedTarget':_0x3dbeaf,'getSource':()=>{let _0x345219=_0x3dbeaf();return _0x345219?_0x33f114(_0x345219):null;},'getTarget':_0x5d5873=>{const _0x2c1976=_0x197d2d;let _0x272368=_0xc0c78a[_0x2c1976(0x4f2)][_0x2c1976(0x265)](new _0x2e0941[(_0x2c1976(0x507))](_0x5d5873['offsetX'],_0x5d5873[_0x2c1976(0x4f6)]));if(!(_0x272368 instanceof _0x2caaad))return null;let _0xc2ec17={'unitId':_0xc0c78a[_0x2c1976(0x3e5)],'subUnitId':_0x272368['subUnitId'],'shapeId':_0x272368[_0x2c1976(0x47c)]};return _0x582d52(_0xc2ec17)?_0xc2ec17:null;},'getShape':_0x33f114,'update':(_0x120052,_0xec0fbf,_0x44c1ca)=>_0x9d1a25[_0x197d2d(0x447)](_0x34371e['id'],{..._0x120052,'shapeData':_0x44c1ca,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0xec0fbf}})}));}};_0x3ad809=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x48a)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x3,(0x0,_0x20b6b2['Inject'])(_0x34d1ee)),_0x4a972c(0x4,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x5,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x6,_0x20b6b2[_0x3d4004(0x31a)]),_0x4a972c(0x7,_0x20b6b2[_0x3d4004(0x526)]),_0x4a972c(0x8,_0x20b6b2[_0x3d4004(0x38e)])],_0x3ad809);let _0x1d9096=_0x3d4004(0x48c),_0x139c89=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x396f31,_0x47a164,_0x4a224b,_0x3e03ca,_0x47dcba,_0x3ace04){const _0xc0c53b=_0x3d4004;super(),this[_0xc0c53b(0x558)]=_0x396f31,this[_0xc0c53b(0x2e3)]=_0x47a164,this[_0xc0c53b(0x3a6)]=_0x4a224b,this[_0xc0c53b(0x1cc)]=_0x3e03ca,this['_renderManagerService']=_0x47dcba,this[_0xc0c53b(0x221)]=_0x3ace04,_0x212175(this,_0xc0c53b(0x31c),!0x1),this['_menuManagerService'][_0xc0c53b(0x531)](_0x25e476),this[_0xc0c53b(0x301)]((0x0,_0x20b6b2[_0xc0c53b(0x3ae)])(this[_0xc0c53b(0x3a6)][_0xc0c53b(0x47d)]['subscribe'](()=>this[_0xc0c53b(0x596)]()))),this[_0xc0c53b(0x596)]();}['dispose'](){const _0x1574a8=_0x3d4004;this[_0x1574a8(0x221)][_0x1574a8(0x518)](!0x1,_0x1d9096),this['_hide'](),super[_0x1574a8(0x4fe)]();}[_0x3d4004(0x596)](){const _0x142ab5=_0x3d4004;var _0x1f838c;let _0x35d2c9=this[_0x142ab5(0x3a6)][_0x142ab5(0x505)](),_0x4147bf=_0x35d2c9[_0x142ab5(0x1ed)]===0x1?_0x35d2c9[0x0]:void 0x0;if((_0x4147bf==null?void 0x0:_0x4147bf[_0x142ab5(0x2c8)])!==_0x20b6b2[_0x142ab5(0x284)][_0x142ab5(0x364)]||this[_0x142ab5(0x1cc)][_0x142ab5(0x3f6)](_0x4147bf[_0x142ab5(0x3e5)])!==_0x20b6b2[_0x142ab5(0x257)][_0x142ab5(0x2bb)]){this['_shapeFloatingToolbarService'][_0x142ab5(0x518)](!0x1,_0x1d9096),this[_0x142ab5(0x29c)]();return;}let _0x14f4e5=(_0x1f838c=this[_0x142ab5(0x35d)]['getRenderUnitById'](_0x4147bf[_0x142ab5(0x3e5)]))==null?void 0x0:_0x1f838c[_0x142ab5(0x469)]['getCanvasElement'](),_0x1e370a=(0x0,_0x21b2c0[_0x142ab5(0x591)])(_0x14f4e5)===_0x142ab5(0x49a);if(this['_shapeFloatingToolbarService'][_0x142ab5(0x518)](_0x1e370a,_0x1d9096),_0x1e370a){this[_0x142ab5(0x29c)]();return;}this[_0x142ab5(0x31c)]||(this[_0x142ab5(0x31c)]=!0x0,this[_0x142ab5(0x2e3)]['showContextualTab'](_0x214f37,{'activate':!0x0}));}[_0x3d4004(0x29c)](){const _0x3aff0f=_0x3d4004;this[_0x3aff0f(0x31c)]&&(this[_0x3aff0f(0x31c)]=!0x1,this['_ribbonService'][_0x3aff0f(0x4b7)](_0x214f37),this['_ribbonService']['setCollapsedIds']([]));}};_0x139c89=_0x3a2391([_0x4a972c(0x0,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x1,_0xc5cac3['IRibbonService']),_0x4a972c(0x2,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x4,_0x2e0941['IRenderManagerService']),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x21b2c0['ShapeFloatingToolbarService']))],_0x139c89);let _0x4a7bb6=class extends _0x21b2c0[_0x3d4004(0x54a)]{constructor(_0x383bf9,_0xb3b57d,_0xc87435,_0x3dbfe4,_0xf8d708,_0x1a0ff7,_0x58f4a2,_0x5377b7,_0x53efb2,_0x1591a3){super(_0x383bf9,_0xb3b57d,_0xc87435,_0x3dbfe4,_0xf8d708,_0x1a0ff7,_0x58f4a2,_0x5377b7,_0x53efb2,_0x1591a3,{'componentKey':_0xadef8f,'editorUnitId':_0x21169e});}};_0x4a7bb6=_0x3a2391([_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x331b83[_0x3d4004(0x2ce)])),_0x4a972c(0x2,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x58ef02[_0x3d4004(0x501)])),_0x4a972c(0x3,(0x0,_0x20b6b2['Inject'])(_0x58ef02[_0x3d4004(0x4c4)])),_0x4a972c(0x4,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x5,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x58ef02[_0x3d4004(0x3f8)])),_0x4a972c(0x6,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x21b2c0['ShapeTextHyperLinkPopupService'])),_0x4a972c(0x7,(0x0,_0x20b6b2['Inject'])(_0x331b83['DocInterceptorService'])),_0x4a972c(0x8,(0x0,_0x20b6b2['Inject'])(_0x58ef02[_0x3d4004(0x371)])),_0x4a972c(0x9,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x34d1ee))],_0x4a7bb6);let _0x556830=class extends _0x20b6b2[_0x3d4004(0x479)]{constructor(_0x255186,_0xb4e900,_0x5963f5,_0x4776b6,_0x452e6a,_0x5b9480,_0xb5227c,_0x46744f,_0x2be4c3,_0x3f85df,_0xaa892f){const _0x202f78=_0x3d4004;super(),this[_0x202f78(0x1cc)]=_0x255186,this[_0x202f78(0x400)]=_0xb4e900,this['_menuManagerService']=_0x5963f5,this[_0x202f78(0x341)]=_0x4776b6,this[_0x202f78(0x564)]=_0x452e6a,this['_commandService']=_0x5b9480,this['_drawingManagerService']=_0xb5227c,this[_0x202f78(0x429)]=_0x46744f,this[_0x202f78(0x4da)]=_0x2be4c3,this[_0x202f78(0x35d)]=_0x3f85df,this['_shapeTextEditingService']=_0xaa892f,_0x212175(this,_0x202f78(0x4ee),null),_0x212175(this,_0x202f78(0x462),null),_0x212175(this,'_isOpenedShapeEditPanel',!0x1),_0x212175(this,_0x202f78(0x458),0x0),_0x212175(this,_0x202f78(0x57e),null),_0x212175(this,_0x202f78(0x4bf),[]),this['_initMenu'](),this[_0x202f78(0x301)](this[_0x202f78(0x1cc)][_0x202f78(0x27a)](_0x20b6b2['UniverInstanceType']['UNIVER_SHEET'])['subscribe'](_0xe8ad22=>{if(!_0xe8ad22){var _0x52f12b;(_0x52f12b=this['_sidebarDisposable'])==null||_0x52f12b['dispose']();}})),this[_0x202f78(0x4ea)](),this[_0x202f78(0x325)](),this[_0x202f78(0x301)](this[_0x202f78(0x234)]['editingParams$']['subscribe'](_0x203ea2=>{const _0x28c90e=_0x202f78;_0x203ea2&&this[_0x28c90e(0x490)]();}));}['_initMenu'](){const _0x5300d5=_0x3d4004;this[_0x5300d5(0x558)][_0x5300d5(0x531)](_0xa0e700);}['initShapePopupMenu'](){const _0x5b4c0e=_0x3d4004;this[_0x5b4c0e(0x57e)]||=this[_0x5b4c0e(0x301)]((0x0,_0x21b2c0[_0x5b4c0e(0x387)])(this['_renderManagerService'],_0x20b6b2[_0x5b4c0e(0x257)][_0x5b4c0e(0x2bb)],_0x114000=>this[_0x5b4c0e(0x2b3)](_0x114000)));}[_0x3d4004(0x30f)](_0x54fc59,_0x20efa3,_0x465f4e){const _0x87893b=_0x3d4004;let _0x40ef86=this[_0x87893b(0x341)][_0x87893b(0x2ec)](_0x54fc59,_0x20efa3,_0x465f4e),_0x3aa720=this['_sheetsShapeService']['getShapeDataById'](_0x54fc59,_0x20efa3,_0x465f4e);return _0x40ef86!==void 0x0&&_0x3aa720!==void 0x0?{'shapeData':_0x3aa720,'shapeId':_0x465f4e,'shapeType':_0x40ef86,'unitId':_0x54fc59,'subUnitId':_0x20efa3,'version':this[_0x87893b(0x458)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x16a766=_0x3d4004;this[_0x16a766(0x4bf)][_0x16a766(0x39d)](_0x35016c=>_0x35016c[_0x16a766(0x4fe)]()),this[_0x16a766(0x4bf)]['length']=0x0;}[_0x3d4004(0x2b3)](_0x192a5e){const _0x3b6f36=_0x3d4004;let _0x2cec8c=new _0x20b6b2[(_0x3b6f36(0x529))]();return _0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x2b8)][_0x3b6f36(0x448)](()=>{const _0x13abd5=_0x3b6f36;let _0x500a8a=_0x192a5e['getSelectedObjectMap']();if(this[_0x13abd5(0x490)](),this[_0x13abd5(0x41f)]||_0x500a8a[_0x13abd5(0x236)]>0x1)return;let _0x5d895a=_0x500a8a[_0x13abd5(0x1ff)]()[_0x13abd5(0x295)]()[_0x13abd5(0x405)];if(!_0x5d895a)return;let _0x5577f0=this[_0x13abd5(0x3a6)][_0x13abd5(0x231)](_0x5d895a[_0x13abd5(0x420)]);if(!_0x5577f0||_0x5577f0[_0x13abd5(0x2c8)]!==_0x20b6b2[_0x13abd5(0x284)][_0x13abd5(0x364)])return;let {unitId:_0x5859c2,subUnitId:_0x146c20,drawingId:_0x5776b0,drawingType:_0x40a163}=_0x5577f0,_0x4bc3fa=this[_0x13abd5(0x30f)](_0x5859c2,_0x146c20,_0x5776b0);if(!_0x4bc3fa)return;this['_contextService'][_0x13abd5(0x510)](_0x20b6b2[_0x13abd5(0x1e8)],!0x0);let _0x2c0116=this[_0x13abd5(0x35d)]['getRenderUnitById'](_0x5859c2),_0x5d2a06=((_0x2c0116==null?void 0x0:_0x2c0116[_0x13abd5(0x1bc)])===!0x1?_0x2c0116[_0x13abd5(0x33c)](_0x5aa18a[_0x13abd5(0x2e6)]):this[_0x13abd5(0x429)])[_0x13abd5(0x3d7)](_0x5d895a,{'componentKey':_0x1304ff,'direction':_0x13abd5(0x271),'offset':[0x0,_0x21b2c0[_0x13abd5(0x40b)]],'extraProps':{'unitId':_0x5859c2,'subUnitId':_0x146c20,'drawingId':_0x5776b0,'drawingType':_0x40a163,'shapeType':_0x4bc3fa[_0x13abd5(0x44e)],'shapeData':_0x4bc3fa[_0x13abd5(0x224)]}});this['_disposePopups'][_0x13abd5(0x467)](this['disposeWithMe'](_0x5d2a06)),this[_0x13abd5(0x3a6)][_0x13abd5(0x505)]()[_0x13abd5(0x1f4)](_0x434bfc=>_0x434bfc[_0x13abd5(0x3e5)]===_0x5859c2&&_0x434bfc[_0x13abd5(0x4c3)]===_0x146c20&&_0x434bfc[_0x13abd5(0x354)]===_0x5776b0)||this[_0x13abd5(0x3a6)][_0x13abd5(0x489)]([{'unitId':_0x5859c2,'subUnitId':_0x146c20,'drawingId':_0x5776b0}]);})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x31d)][_0x3b6f36(0x448)](()=>{const _0x2d4b46=_0x3b6f36;this[_0x2d4b46(0x490)](),this[_0x2d4b46(0x4da)][_0x2d4b46(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x326)][_0x3b6f36(0x448)](()=>{this['_clearPopups']();})),_0x2cec8c[_0x3b6f36(0x2e9)](_0x192a5e[_0x3b6f36(0x2ad)][_0x3b6f36(0x448)](()=>{this['_clearPopups']();})),(0x0,_0x20b6b2[_0x3b6f36(0x3ae)])(()=>{const _0x14c227=_0x3b6f36;_0x2cec8c[_0x14c227(0x4fe)](),this[_0x14c227(0x490)]();});}[_0x3d4004(0x4ea)](){const _0x7df144=_0x3d4004;this[_0x7df144(0x301)](this[_0x7df144(0x2d4)]['onCommandExecuted'](_0x560682=>{const _0x407527=_0x7df144;if(_0x560682['id']===_0x2f6589['id']){let {unitId:_0x78102f,subUnitId:_0x45b6ac,drawingId:_0x4fb2a3}=_0x560682[_0x407527(0x342)];this[_0x407527(0x458)]+=0x1,this['_activeShapeInfo']=this[_0x407527(0x30f)](_0x78102f,_0x45b6ac,_0x4fb2a3),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x560682['id']===_0x2229a4['id']&&(this[_0x407527(0x462)]=null,this['_closeShapeEditPanel']()),_0x560682['id']===_0x3c17ec['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x48457a,subUnitId:_0x2e5c3b,shapeId:_0x32c711}=_0x560682['params'];if(this['_activeShapeInfo']&&this[_0x407527(0x462)][_0x407527(0x47c)]===_0x32c711){let _0x33d2e7=this[_0x407527(0x30f)](_0x48457a,_0x2e5c3b,_0x32c711);_0x33d2e7&&(this[_0x407527(0x458)]+=0x1,_0x33d2e7[_0x407527(0x378)]=this[_0x407527(0x458)],this[_0x407527(0x462)]=_0x33d2e7,this[_0x407527(0x41f)]&&this[_0x407527(0x2f8)]());}}})),this[_0x7df144(0x301)](this['_drawingManagerService'][_0x7df144(0x47d)][_0x7df144(0x448)](_0x2affa8=>{const _0xa97d17=_0x7df144;if(this[_0xa97d17(0x41f)]===!0x1)return;if(_0x2affa8[_0xa97d17(0x1ed)]===0x0){this[_0xa97d17(0x462)]=null,this[_0xa97d17(0x292)]();return;}if(_0x2affa8[_0xa97d17(0x1ed)]===0x1&&_0x2affa8[0x0][_0xa97d17(0x2c8)]===_0x20b6b2[_0xa97d17(0x284)][_0xa97d17(0x364)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0xa97d17(0x462)]=this['_getShapeInfo'](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0][_0xa97d17(0x4c3)],_0x2affa8[0x0]['drawingId']),this[_0xa97d17(0x462)])){this['_openShapeEditPanel']();return;}let _0x248e5e=_0x2affa8[_0xa97d17(0x2a8)](_0xf11aa6=>_0xf11aa6[_0xa97d17(0x2c8)]===_0x20b6b2[_0xa97d17(0x284)][_0xa97d17(0x364)]);if(_0x2affa8[_0xa97d17(0x1ed)]>0x1&&_0x248e5e[_0xa97d17(0x1ed)]===_0x2affa8['length']){if(this[_0xa97d17(0x458)]+=0x1,this[_0xa97d17(0x462)]=this[_0xa97d17(0x30f)](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0]['subUnitId'],_0x2affa8[0x0][_0xa97d17(0x354)]),this[_0xa97d17(0x462)]){this[_0xa97d17(0x2f8)]();return;}}else{if(this[_0xa97d17(0x458)]+=0x1,this[_0xa97d17(0x462)]=this[_0xa97d17(0x30f)](_0x2affa8[0x0][_0xa97d17(0x3e5)],_0x2affa8[0x0]['subUnitId'],_0x2affa8[0x0][_0xa97d17(0x354)]),this[_0xa97d17(0x462)]){this[_0xa97d17(0x462)][_0xa97d17(0x35b)]=!0x0,this[_0xa97d17(0x2f8)]();return;}}this[_0xa97d17(0x292)]();}));}[_0x3d4004(0x2f8)](){const _0xfc7af4=_0x3d4004;this[_0xfc7af4(0x462)]&&(this[_0xfc7af4(0x4ee)]=this[_0xfc7af4(0x400)][_0xfc7af4(0x230)]({'id':_0x1dded7,'header':{'title':this[_0xfc7af4(0x564)]['t'](_0xfc7af4(0x26f))},'width':0x184,'children':{'label':_0x1dded7,...this[_0xfc7af4(0x462)]},'onClose':()=>{const _0x5d5d1e=_0xfc7af4;this['_drawingManagerService'][_0x5d5d1e(0x489)](null),this[_0x5d5d1e(0x4da)][_0x5d5d1e(0x510)](_0x20b6b2['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5d5d1e(0x4ee)]=null;}}),this[_0xfc7af4(0x41f)]=!0x0);}[_0x3d4004(0x292)](){const _0x18c678=_0x3d4004;this[_0x18c678(0x41f)]=!0x1,this[_0x18c678(0x400)][_0x18c678(0x4e2)](_0x1dded7),this['_sidebarDisposable']=null,this[_0x18c678(0x4da)][_0x18c678(0x510)](_0x20b6b2[_0x18c678(0x1e8)],!0x1),this[_0x18c678(0x3a6)][_0x18c678(0x489)](null);}};_0x556830=_0x3a2391([_0x4a972c(0x0,_0x20b6b2[_0x3d4004(0x43b)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0xc5cac3[_0x3d4004(0x276)])),_0x4a972c(0x2,_0xc5cac3[_0x3d4004(0x42c)]),_0x4a972c(0x3,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x3c17ec[_0x3d4004(0x3e2)])),_0x4a972c(0x4,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x31f)])),_0x4a972c(0x5,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x6,_0x3a44e9[_0x3d4004(0x567)]),_0x4a972c(0x7,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x5aa18a[_0x3d4004(0x2e6)])),_0x4a972c(0x8,_0x20b6b2['IContextService']),_0x4a972c(0x9,_0x2e0941[_0x3d4004(0x565)]),_0x4a972c(0xa,(0x0,_0x20b6b2['Inject'])(_0x34d1ee))],_0x556830);let _0x3cce16=class extends _0x20b6b2['Plugin']{constructor(_0x5816f7=_0x455ea6,_0xb314bc,_0x340d05,_0x1fabd8,_0x492acb){const _0x206995=_0x3d4004;super(),this[_0x206995(0x3f4)]=_0x5816f7,this[_0x206995(0x23c)]=_0xb314bc,this[_0x206995(0x2d4)]=_0x340d05,this[_0x206995(0x204)]=_0x1fabd8,this[_0x206995(0x35d)]=_0x492acb;let {..._0x212374}=(0x0,_0x20b6b2['merge'])({},_0x455ea6,this[_0x206995(0x3f4)]);this[_0x206995(0x204)]['setConfig'](_0xa54229,_0x212374),this[_0x206995(0x423)]();}[_0x3d4004(0x487)](){const _0x1736fc=_0x3d4004;this['_renderManagerService'][_0x1736fc(0x255)](_0x20b6b2['UniverInstanceType'][_0x1736fc(0x1c8)],[_0x4a7bb6]),(0x0,_0x20b6b2[_0x1736fc(0x2c3)])(this['_injector'],[[_0x556830],[_0x5a8444],[_0xec3a87],[_0xbfbedc]]);}[_0x3d4004(0x43d)](){const _0x28cfec=_0x3d4004;this[_0x28cfec(0x23c)][_0x28cfec(0x584)](_0x556830)[_0x28cfec(0x325)]();}['onReady'](){const _0x345419=_0x3d4004;[[_0x1dbb70],[_0x42bfec],[_0xee7899]][_0x345419(0x39d)](_0x4c9ac5=>this[_0x345419(0x23c)][_0x345419(0x2e9)](_0x4c9ac5)),(0x0,_0x20b6b2[_0x345419(0x2c3)])(this['_injector'],[[_0xee7899],[_0x42bfec]]),this['_renderManagerService'][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)][_0x345419(0x2bb)],[_0x1dbb70]),this['_renderManagerService'][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)]['UNIVER_SHEET'],[_0x5828c7]),this[_0x345419(0x35d)][_0x345419(0x255)](_0x20b6b2['UniverInstanceType'][_0x345419(0x2bb)],[_0x458dcc]),this[_0x345419(0x35d)][_0x345419(0x255)](_0x20b6b2[_0x345419(0x257)][_0x345419(0x2bb)],[_0x5edad9]),this[_0x345419(0x301)](this[_0x345419(0x35d)]['registerRenderModule'](_0x20b6b2['UniverInstanceType'][_0x345419(0x2bb)],[_0x3ad809]));}[_0x3d4004(0x57d)](){const _0x2eaf41=_0x3d4004;this[_0x2eaf41(0x23c)][_0x2eaf41(0x2e9)]([_0x508f48]),this[_0x2eaf41(0x23c)]['get'](_0x508f48);let _0x3153de=this['_injector'];[[_0x556830],[_0x5a8444],[_0xec3a87],[_0xbfbedc],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578],[_0x139c89]][_0x2eaf41(0x39d)](_0x4ecc5e=>_0x3153de[_0x2eaf41(0x2e9)](_0x4ecc5e)),(0x0,_0x20b6b2[_0x2eaf41(0x2c3)])(this['_injector'],[[_0x556830],[_0x5a8444],[_0xec3a87],[_0x51ef2a],[_0x34d1ee],[_0x538bd4],[_0x344ad8],[_0x3a9578],[_0x139c89]]);}['_initCommands'](){const _0x22887e=_0x3d4004;[_0x4e8acc,_0x34371e,_0x2229a4,_0x2f6589,_0x20ee6f,_0x473d36,_0x50782f,_0x4d4881][_0x22887e(0x39d)](_0x417600=>this[_0x22887e(0x301)](this['_commandService'][_0x22887e(0x3c1)](_0x417600)));}};_0x212175(_0x3cce16,_0x3d4004(0x541),_0x20b6b2[_0x3d4004(0x257)][_0x3d4004(0x2bb)]),_0x212175(_0x3cce16,_0x3d4004(0x211),_0x3d4004(0x2c2)),_0x212175(_0x3cce16,_0x3d4004(0x3dc),_0x309058),_0x212175(_0x3cce16,_0x3d4004(0x378),_0x28c5e3),_0x3cce16=_0x3a2391([(0x0,_0x20b6b2['DependentOn'])(_0x30dca3[_0x3d4004(0x24c)],_0x331b83['UniverDocsPlugin'],_0x3a44e9[_0x3d4004(0x389)],_0x42ecb7[_0x3d4004(0x311)],_0x2e0941[_0x3d4004(0x315)],_0x3a78b8[_0x3d4004(0x2f0)],_0x58ef02[_0x3d4004(0x27f)],_0x44df92[_0x3d4004(0x327)],_0x590e75[_0x3d4004(0x2c4)],_0x46d306[_0x3d4004(0x58f)],_0x3c17ec[_0x3d4004(0x335)],_0x5aa18a['UniverSheetsUIPlugin'],_0x21b2c0[_0x3d4004(0x2cb)]),_0x4a972c(0x1,(0x0,_0x20b6b2[_0x3d4004(0x3de)])(_0x20b6b2[_0x3d4004(0x30b)])),_0x4a972c(0x2,_0x20b6b2[_0x3d4004(0x38e)]),_0x4a972c(0x3,_0x20b6b2[_0x3d4004(0x299)]),_0x4a972c(0x4,_0x2e0941[_0x3d4004(0x565)])],_0x3cce16),_0x4311c1[_0x3d4004(0x393)]=_0x25e476,_0x4311c1[_0x3d4004(0x58c)]=_0xa0e700,Object[_0x3d4004(0x54c)](_0x4311c1,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x5d2ab2;}}),Object[_0x3d4004(0x54c)](_0x4311c1,_0x3d4004(0x46e),{'enumerable':!0x0,'get':function(){return _0x3cce16;}});}));function _0x3cee(){const _0x3c7086=['IUndoRedoService','DocCanvasPopManagerService','drawWith','_getConnectionSiteAngle','_initPermission','getFocusDrawings','visible$','Vector2','setOnSavingEditorData','drawing-ui.objectListPanel.dragToReorder','getConnectionInfo','FlipHorizontalIcon','sheetTransform','set','jsxs','SHAPE_CHANGE_PICKER_COMPONENT','setContextValue','_createCopyInfoByRange','_completionFrame','SheetPermissionCheckController','disableObjectsEvent','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','_isStartAdjusting','_onSavingEditorData$','setFallbackVisible','_reset','ShapeArrowTypeEnum','evenodd','drawing-ui.objectListPanel.showAll','getShapeDataById','getTransformerByCreate','_attachConnectorObjectEvent','ShapeFillEnum','description','isHighlighted','InsertSheetsShapeMutation','VIEW_MAIN_LEFT','cxnPointRadius','IPermissionService','src','startArrow','DisposableCollection','isConnectorShape','changeEnd$','activeSheet$','remove$','dataModel','OBJECT_LIST_FLOATING_SECTION_ID','getDrawingOrder','mergeMenu','_cxnIndex','UniverProSheetsShapeUi','editingParams$','idMap','adjName','makeDirty','SetDrawingApplyMutation','offsetX','ShapeGroupEnum','_isStartConnectorPoint','M8\x202.2V3.8','_createShapeAdjustControls','_addShapeConnectorHandlerObjects','React','5362USQwfr','type','M4.2\x205.5H10.5','ShapeDefaultConfig','getAutoFitPresentations','forwardRef','mode','_baseShapeHeight','unregister','_executeConnectedRouteConnectionCommand','ShapeTextFloatMenuRenderControllerBase','prototype','defineProperty','IconManager','isHit','drawFormulaShapeAnimationLayers','call','ISheetDrawingService','@univerjs-pro/sheets-shape-ui','getShapeQuickStyleType','@univerjs/sheets-ui','SheetSkeletonManagerService','_currentScene','drawing-ui.objectListPanel.unlockAll','_menuManagerService','28AJEevt','fill','_handleFreeEndpointMove','toPrimitive','_createControls','univer-box-border\x20univer-px-4\x20univer-text-sm','index','getRealBound','_initPrinting','UniverDocsPlugin','drawing-ui.objectListPanel.show','_localeService','IRenderManagerService','horizontal','IDrawingManagerService','clipHeight','_imageShapeClipController','M8\x206.2V7.8','axisAlignSheetTransform','drawing-ui.objectListPanel.filterHidden','ShapeLineTypeEnum','_updateAdjustControlPositions','ShapeStyleRibbonControl','_drawSimpleText','_releaseRenderCache','appliedStrokeWidth','getPropertyPriority','refreshAdjustControls','FOCUSING_SHAPE_TEXT_EDITOR','getUnitId','discreteRangeToRange','drawing-ui.objectListPanel.unlock','flip-vertical-icon','_findNearestConnectionSite','exports','getDrawingPoints','onStarting','_shapePopupMenuDisposable','ShapeRenderModeEnum','_getOrCreateShapeModel','UniverUi','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','getDrawingEditable','get','isInGroup','UUID','getShapeQuickStylePreset','deriveStateFromActiveSheet$','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_resetState','SheetsShapeUIMenuSchema','_handleBasicShapeUpdateConnectorLineShape','extraProps','UniverSheetsDrawingUIPlugin','formulaPresentation','resolveShapeContextualRibbonHostMode','UniverDocs','_registerImageShapeClipDelegate','intercept','EMPTY','_update','extensionGroups','isLineShape','setConfig','default','baseVal','@univerjs/design','formulaBinding','_sheetDrawingShapeRenderController','_initialize','registerClipDelegate','adjustValues','isMainScene','UndoRedoGroupService','updateDocumentDataMargin','entries','Module','interceptor','hadStyleAttribute','DocumentViewModel','element','localName','_init','DocumentDataModel','UNIVER_DOC','topmost-icon','worldPoint','BottomIcon','_univerInstanceService','_draggingConnectorId','DEFAULT_PASTE','@univerjs-pro/shape-editor-ui','sheets-shape-ui.ribbon.shape-format','_unitId','_clearControls','rect','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','style','completeEditing','shape-editor-ui.toolbar.changeShape','pushUndoRedo','svg','_isConnecting','SheetsSelectionsService','OTHERS','viewBound','setProperty','_showConnectionSites','_baseDrawingRect','_handleConnectedEndpointMove','RIBBON','sheet.command.update-shape-data','setEditing','_currentConnectionTarget','http://www.w3.org/2000/svg','shapeKey','FOCUSING_COMMON_DRAWINGS','move-down-icon','sheets-shape-ui.title','calculate','strokeWidth','length','currentColor','save','_loadAndSetImage','path','UniverDrawingUi','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','find','ISheetClipboardService','_adjHandlerPointerMove','getEditing','vectorEffect','sheets-shape-ui.flipVertical','UpdateSheetsShapeDataMutation','wrapStrategy','HorizontalAlign','ShapeFormatSettingIcon','getObjectIncludeInGroup','values','shape-editor-ui.arrange.forward','updateLinePoints','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','querySelectorAll','_configService','unsubscribe','_highlightedSiteIndex','MenuItemType','@univerjs/docs-ui','_updateImageAdjValues','update$','drawing-ui.objectListPanel.title','sheets-shape-ui.shape-format.style-ribbon-control','register','iterator','setShouldShowAdjust','cancelEditing','pluginName','resolveShapeTextDocumentRenderLayout','_executeConnectionCommand','drawing-ui.objectListPanel.description','drawing-ui.objectListPanel.lockHint','DrawingApplyType','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','RemoveSheetCommand','sheets-shape-ui.ribbon.shape-format.arrange-front','_sheetInterceptorService','resolveShapeTextDocumentPageHeight','UniverSheetsDrawing','computeStraightConnectorLayout','sheets-shape-ui.ribbon.shape-format.text-control','getImage','object','_shapeFloatingToolbarService','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','createInternalEditorID','shapeData','DependentOn','tag','M8\x2010.2V11.8','angle','_baseHeight','ShapeModel','sheets-shape-text-','animationEnabled','classType','CommandType','getAdjustValueByName','open','getDrawingOKey','gradientEndColor','InsertShapeCommand','_shapeTextEditingService','UniverSheetsDrawingMobileUIPlugin','size','children','none','@univerjs/sheets','toStringTag','RemoveSheetsShapeMutation','_injector','_sheetBasicShapeConnectionPointController','_initEvents','isReleased','_subUnitId','ShapeIcon','sheet.shape.picker.component','contentHeight','_clearConnectionSites','_formulaKey','INSERT','SHAPE_TEXT','canvas','image','resize','_generateCopyPasteMutations','UniverLicensePlugin','cxnPointStrokeWidth','startWith','_getSceneAndTransformerByDrawingSearch','GROUP','sheets-shape-ui.ribbon.shape-format.arrange-backward','viewportScrollY','text','_baseTop','registerRenderModule','canvasElement','UniverInstanceType','SheetPrintInterceptorService','pipe','_baseShapeLeft','Observable','DrawingRenderService','DocumentSkeleton','_activeImageId','UniverSheetsUi','Shape','isStartConnectorPoint','enableObjectsEvent','disconnect','getUnit','pick','sheets-shape-ui.ribbon.shape-format.arrange-forward','vertical','_context','sheets-shape-ui.objectListPanel.title','drawing-ui.objectListPanel.name','getCurrentRangeDisable$','shapeModel','left','startY','sheets-shape-ui.formatShape','targetShapeId','vertical-center','getValue','ImageSourceTypeEnum','COPY_TYPE','shape-format-setting-icon','ISidebarService','onReady','_getConnectPointInfo','ComponentManager','getCurrentTypeOfUnit$','setSrcRect','_adjName','permissionPointUpdate$','UniverProShapeEditor','UniverDocsUIPlugin','getCurrentScrollState','stroke-width','UniverDrawing','updateConnectionDetection','DrawingTypeEnum','_canEdit','UpdateConnectorRelationCommand','_sheetClipboardService','activateDrawingObject','getDrawingSearch','_isDrawingShapePointDown','endConnectionDetection','sin','drawing-ui.objectListPanel.empty','DrawingCommonPanel','_getScrollInfo','getBoundingClientRect','getDrawingByParam','_closeShapeEditPanel','generateRandomId','SetDrawingArrangeCommand','next','function','_currentUniverService','viewBox','IConfigService','objects','preValue','_hide','_baseShapeTop','3597768VyQyYA','_imageIoService','parseFloat','getDrawingShapeKeyByDrawingSearch','getTextStyle','move-up-icon','_registerMoveHandler','flipX','computeConnectorRouteLayout','LEFT','filter','@univerjs/docs','endArrow','UPDATE','SHEET_VIEWPORT_KEY','changeStart$','add$','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','getBasicShapeRelation','M2.2\x208H3.8','_renderWithCache','_popupMenuListener','_registerFeatureMenu','getSelectedObjectMap','ShapeTextFloatToolbar','undo','createControl$','getFocusedUnit','_rerouteConnectorLine','UNIVER_SHEET','some','onPointerMove$','_shapeUpdateListener','getCurrentSkeleton','routeConnectorLineShape','3438210PGTGpD','SHEET_SHAPE_UI_PLUGIN','touchDependencies','UniverShapeEditorPlugin','PictureFill','sqrt','point','drawingType','startX','MenuManagerPosition','UniverShapeEditorUIPlugin','Path','URL','DocSelectionManagerService','sheets-shape-ui.insertShape','getEndConnectInfo','ToggleShapeFloatingToolbarOperation','sheets-shape-ui.permission.editErr','_shapeService','_commandService','_executeConnectedRouteResizeCommand','url(#$1','_permissionService','doc','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','Rect','drawing-ui.objectListPanel.filterAll','getObject','stringify','RemoveSheetDrawingCommand','_registerDrawingMoveHandler','_cxtHandlerPointerUp','create','@univerjs/sheets-drawing-ui','_ribbonService','delete','addImageSourceCache','SheetCanvasPopManagerService','decorate','_editingParams$','add','COMMAND','_lastEditingShapeKey','getShapeTypeById','resolveShapeTextEditorBehaviorShapeData','getMatrix','SHEET','UniverSheetsPlugin','isFinite','sheets-shape-ui.shape-format.quick-style-gallery','UniverCore','react/jsx-runtime','setFillImage','strokeOpacity','normalizeShapeTextModel','_openShapeEditPanel','getBentTypeFromPoints','parse','getContextValue','ShapeFloatingToolbarToggleFactory','isRichText','refreshShapeFillImage','MobileDropdown','fontFamily','disposeWithMe','startConnectionDetection','getBasicShapeRotateBound','_findShapeAtPoint','jsx','subscribeEvent','_addControl','drawing.operation.set-drawing-active','_applyFormulaAutoFitSize','sheetViewStartRow','Injector','rxjs','_clearCompletionFrame','_sheetDrawingService','_getShapeInfo','getOwnPropertyDescriptor','UniverDrawingUIPlugin','getShapeTextRect','getShapeData','isArray','UniverRenderEnginePlugin','registerDependencies','clip','clone','composeMatrix','IContextService','attrs','_visible','clearControl$','stopPropagation','LocaleService','_urlImageService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_clearShapeAdjustControls','drawing-ui.objectListPanel.filterLocked','hasAttribute','initShapePopupMenu','changing$','UniverSheetsDrawingPlugin','_insertingShapeKeys','SetShapeDrawingDataCommand','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','rotation','_iconManager','blockExecuteWithoutPermission','getViewportByCell','ConnectorCoordinateTransform','getParent','bottom','defIds','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','restore','UniverSheetsShapePlugin','fillImageSource','abs','createShapeFormulaDocument','copyType','cos','ShapeFormulaService','with','getSheetId','DRAWING_OBJECT_LAYER_INDEX','getConnectionSiteList','syncExecuteCommand','_sheetsShapeService','params','getSheetBySheetId','_componentManager','worldPoints','drawing-ui.objectListPanel.lockAll','cxnPointFill','originalStrokeWidth','presentation','_transformCalculateSrcRect','Arrow','draw','getImageSourceCache','_activeShapeModel','MobileObjectListPanel','_clipService','_activeTargetShapeId','switchMap','computeConnectorResizeLayout','drawingId','shouldClipShapeTextDocument','lineType','buildClipPath','ContextMenuPosition','refreshFormulaPresentation','string','disableShapeOption','ShapeFloatingToolbar','_renderManagerService','indexOf','top','IURLImageService','_sheetPrintInterceptorService','drawing-ui.objectListPanel.moveBackward','redo','DRAWING_SHAPE','ShapeFloatingToolbarService','REMOVE','sheet.shape.edit.panel','_baseLeft','resolveShapeTextEditorWrapStrategy','idSuffix','clearActiveDrawingObjects','PREDEFINED_HOOK_NAME','ShapeArrowSizeEnum','setPrstGeom','worldRect','max','DocRenderController','drawing-ui.objectListPanel.locate','_getZoomRatio','ObjectListPanelBase','SHAPE_EDITOR_TRANSFORMER_CONFIG','_isShouldShowDrawingShapeAdjust','@univerjs/drawing','version','selectable','setHighlighted','sheet.operation.open-sheet-shape-format-panel','transformToAxisAlignPosition','BehaviorSubject','drawing-ui.objectListPanel.search','Line','prstGeom','Plugin','SheetScrollManagerService','registerFeatureMenu','getObjectListPanelSectionIdForDrawingType','1525717mCDYhw','useLayoutEffect','bindRenderTransformerLifecycle','SheetSkeletonService','UniverDrawingPlugin','_adjHandlerPointerUp','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','UniverShapeEditorMobileUIPlugin','sheets-shape-ui.imagePanel.crop.shape','ICommandService','drawing-ui.objectListPanel.typeNames.','getSkeletonParam','div','normal','SheetsShapeUIContextualRibbonSchema','refreshTransform','defs','drawing-ui.objectListPanel.hideAll','_getImageDrawingInfo','_addShapeConnectorHandlerObject','symbol','1em','shouldAllowShapeTextEditorHostSizeShrink','useId','forEach','bottom-icon','_generateCutPasteMutations','keys','@univerjs/sheets-drawing','MoveUpIcon','getCurrentUnitInfo','visible','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_drawingManagerService','_getDrawingRect','_activeShapeId','doc.image-clip.shape-picker.component','_executeResizeCommand','getRenderUnitById','PRINTING_COMPONENT_COLLECT','_attachAdjustEvent','toDisposable','fontSize','_drawRichTextLayer','currentAdjustValues','0\x200\x2016\x2016','copyId','_connectorObjects','_transform','438531lzsaQG','getDrawingTypeNameKey','_handleFreeEndpointPointerUp','isEditing','sheet.menu.shape.flip-vertical','order','_shapeId','viewportScrollX','transform','_draw','UniverProSheetsShape','registerCommand','_copyInfo','getDrawingEffectBounds','getConnectionRelation','getDrawingData','renderDrawingShape','getTransformer','colorChannel1','Transform','ang','min','_registerFocusChangeHandler','SetSheetDrawingCommand','ToggleSheetsShapeFlipCommand','prstGeomAdjValues','_clearFocusedShape','getShapeType','_insertShapes','setPresentation','_activeAdjustPointList','error','contentVerticalOffset','attachPopupToObject','sheet.operation.open-shape-object-list-panel','DRAWING','fromChangeset','getConnectorLinePoints','packageName','_focusedDrawings','Inject','_sheetShapeAdjustController','ShapeTypeEnum','_drawingAddListener','SheetsShapeService','@univerjs-pro/shape-editor','trim','unitId','OPERATION','ShapeFormulaRibbonControl','useMemo','asObservable','drawing-ui.objectListPanel.close','CURSOR_TYPE','1009618pzovkb','sheet.operation.open-mobile-shape-editor','applyPoint','TOP','height','_shapeFormulaService','_registerComponents','setCanUseShapeClip','_config','memo','getUnitType','actualHeight','DocEventManagerService','UniverProShapeEditorUi','@univerjs-pro/license','SheetInterceptorService','TopmostIcon','data','_cxtHandlerPointerMove','sheet.shape.object-list.panel','_sidebarService','skeleton','_isHighlighted','assign','_shapes','value','20GeplvI','@univerjs/engine-render','drawing-ui.objectListPanel.sectionFloating','prepareShapeTextDocumentData','color','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','UniverProLicense','transformByState','FromArray','M8\x2014V14.2','sheets-shape-ui.quickStyles','_isImagePointerDown','UniverProEngineShape','sheets-shape-ui','beginPath','getCurrentUnitOfType','current','WorksheetEditPermission','_handleConnectorPointerUp','getBatchUpdateOp','useObservable','sheets-shape-ui.ribbon.shape-format.formula-control','ArrangeTypeEnum','RibbonInsertGroup','getStartConnectInfo','_isOpenedShapeEditPanel','oKey','onPointerUp$','clipByShape','_initCommands','forward','marginTop','featurePluginUpdateNotification','drawing-ui.objectListPanel.unlockHint','backward','_sheetCanvasPopManagerService','panel','useEffect','IMenuManagerService','getOrCreateDrawingCopyPlan','_initSheetChange','UpdateLineShapeResizeCommand','front','drawing-ui.objectListPanel.noSelection','render','_clearShapeConnectorHandlerObjects','Image','round','sheet.shape.floating-toolbar','sectionCanvas','flatMap','_handleConnectedEndpointPointerUp','_formulaShapes','IUniverInstanceService','clip-','onSteady','sheets-shape-format-font-family-menu','custom','onload','registerFeaturePasteHook','map','_registerGroupFeaturePasteHook','resolveActiveShapeQuickStylePresetId','adjHandleSize','priority','executeCommand','subscribe','UniverIcon','#4285f4','isHorizontal','None','relation','shapeType','onTransformChange$','_disposed','0\x200\x2017\x2016','buildShapeTextDataUpdate','getShapeModel','univerjs-icon\x20univerjs-icon-','DrawingImageClipService','SetDrawingSelectedOperation','DRAWING_IMAGE','_shapeEditPanelVersion','PaintIcon','getBatchAddOp','clearAdjustControls','getSkeleton','localToWorld','_drawRichText','createElement','getAdjustNames','transformForAngle','_activeShapeInfo','_initSelection','_loadShapePictureFill','updateDocumentStyle','sheet.shape.text.float-menu','push','multiply','engine','flipY','srcRect','FormulaShapeAnimationController','_formulaAnimation','UniverSheetsShapeUIPlugin','shape-editor-ui.toolbar.quickStyles','drawing-ui.objectListPanel.expand','_registerDrawingFocusChangeHandler','15976ztxrVs','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','_drawShapeText','amd','M6.2\x208H7.8','isRenderLinePointsMode','_connectionSiteObjects','Disposable','onCommandExecuted','sheet.operation.apply-shape-quick-style','shapeId','focus$','isDrawingObject','adjHandleStroke','complete','has','hidden','sheet.menu.shape.flip-horizontal','localeService','_getShapeAdjustPointListById','getMenuHiddenObservable','onRendered','animateFormulaPresentation','focusDrawing','FormatPainterSessionService','getPropertyValue','sheets-shape-contextual-ribbon','getZoomRatio','useDependency','non-scaling-stroke','_clearPopups','setFormulaPresentation','sheet.operation.update-shape-type','@univerjs/core','_hasReset','cxnPointStroke','addClipboardHook','addObject','setAdjustValueByName','beforeCommandExecuted','isolated','_groupCopyPasteController','setShapeData','updateShapeFillImage','_targetShapeId','BUTTON','_activeAdjustInfo','_sheetSkeletonService','_drawingRenderService','calcAdjValues','stroke','translateWithPrecision','actions','ancestorTransform','getPresentation','_activeShapeAdjustPointList','_calculateFreeEndpointAngle','SolidFill','_baseShapeWidth','onPointerDown$','clearAdjustValue','setShapeProps','VerticalAlign','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','onSavingEditorData$','cxnIndex','SHAPE','_updateTransform','connector-handler-','hideContextualTab','translate','sheets-shape-ui.objectListPanel.open','width','MoveDownIcon','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','UniverSheets','Circle','_disposePopups','removeLinePoints','xlink:href','Fragment','subUnitId','DocSelectionRenderService','drawing-ui.objectListPanel.lock','getSheetCommandTarget','_getShapeAdjustInfosById','createShapeTextBoxShapeData','popup','drawing-ui.objectListPanel.collapse','FlipVerticalIcon','sheets-shape-ui.editShape','attachRangeWithCoord','name','_sheetPermissionCheckController','_baseWidth','use','updateContext','shapeText','_moveConnectorWithShape','_props','scale','getPermissionPoint','M14\x208H14.2','_addShapeAdjustControl','_contextService','target','highlighted','from','changeShapeType','drawing-ui.objectListPanel.hide','sheets-shape-ui.flipHorizontal','RENDER_CLASS_TYPE','close','_generatePasteMutations','_updateShapeAdjustControls','SELECTOR','mask','displayName','setCursor','invert','_registerOperations','react','IImageIoService','_updateSrcRectByTransform','_sidebarDisposable','_shapeRenderController','WorkbookEditablePermission','onDblclick$','scene','VIEW_MAIN','4619064fFVNpc','sheetViewStartColumn','offsetY','_initEditingParams','ObjectLayersIcon','includes','back','_getImagePrstGeom','MobileShapeEditorService','fillType','dispose','shape-editor-ui.arrange.backward'];_0x3cee=function(){return _0x3c7086;};return _0x3cee();}
|
|
1
|
+
function _0x1e1c(){const _0xb1cf6a=['transform','next','setAdjustValueByName','_baseShapeTop','_registerImageShapeClipDelegate','UpdateSheetsShapeDataMutation','_connectorObjects','contentHeight','drawing-ui.objectListPanel.descriptionPlaceholder','@univerjs/sheets-drawing-ui','computeConnectorResizeLayout','disposeWithMe','_sheetBasicShapeConnectionPointController','MoveDownIcon','LocaleService','setProperty','Inject','ShapeFormulaService','abs','UpdateLineShapeResizeCommand','_baseShapeHeight','add$','_findShapeAtPoint','SheetDrawingAnchor','VerticalAlign','ObjectListPanelBase','Injector','ShapeModel','SetDrawingArrangeCommand','presetId','ShapeFormatSettingIcon','SolidFill','sheets-shape-ui.insertShape','getAdjustInfoByName','getOrCreateDrawingCopyPlan','DisposableCollection','7qctnSR','refreshTransform','_cxnIndex','DocSelectionManagerService','_baseShapeWidth','SHEET_SHAPE_UI_PLUGIN','_generateCutPasteMutations','stopPropagation','fillImageSource','oKey','non-scaling-stroke','Image','_focusedDrawings','resolveShapeTextDocumentPageHeight','_clearShapeConnectorHandlerObjects','2873245oJCApw','sheets-shape-ui.editShape','getUnit','setFormulaPresentation','M8\x206.2V7.8','fill','_drawingRenderService','DrawingApplyType','fillImageSourceType','IMenuManagerService','DocRenderController','_baseWidth','hadStyleAttribute','registerRenderModule','DRAWING_OBJECT_LAYER_INDEX','updateConnectionDetection','undo','ShapeFloatingToolbar','drawing-ui.objectListPanel.moveBackward','clearAdjustValue','_sheetDrawingService','UniverProShapeEditorUi','createShapeTextHyperLinkRegions','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','CURSOR_TYPE','Large','_sidebarDisposable','@univerjs/ui','adjustValues','ContextMenuGroup','_addShapeConnectorHandlerObject','editingParams$','Transform','updateDocumentDataMargin','0\x200\x2017\x2016','shape-adjust-point-','_initCommands','isInGroup','highlighted','isStartConnectorPoint','_initCopyPaste','_imageShapeClipController','entries','isCurvedConnectorShape','SheetsShapeService','sectionCanvas','localToWorld','setShapeData','translate','defineProperty','DependentOn','Circle','_attachConnectorObjectEvent','_init','_getConnectPointInfo','isolated','_shapeService','useLayoutEffect','marginTop','cxnPointFill','SheetsShapeUIContextualRibbonSchema','vertical-center','_findNearestConnectionSite','getBatchUpdateOp','renderDrawingShape','IDrawingManagerService','getConnectorLinePoints','updateShapeFillImage','getDrawingEditable','onSteady','cloneShapeDataForType','sheets-shape-ui.title','MobileShapeEditorService','InsertSheetsShapeMutation','max','CopySheetCommand','startX','left','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','_baseTop','_clearConnectionSites','sheet.operation.open-shape-object-list-panel','WorkbookEditablePermission','_baseLeft','_initEditingParams','getCurrentLastSelection','string','error','DocSelectionRenderService','_disposePopups','getViewportByCell','_connectionSiteObjects','UniverInstanceType','getEndConnectInfo','extensionGroups','@univerjs/docs','sheetViewStartColumn','useId','IPermissionService','getTextStyle','_registerIcons','getSkeleton','evenodd','createElement','_openShapeEditPanel','beforeCommandExecuted','asObservable','ShapeRenderModeEnum','SheetPermissionCheckController','transformVector2SceneCoord','sin','getBentTypeFromPoints','createControl$','_getImagePrstGeom','worldPoint','enableObjectsEvent','tag','SheetScrollManagerService','packageName','sheet.operation.open-sheet-shape-format-panel','TopmostIcon','#1a73e8','SheetShapeTextEditorContainer','RemoveSheetsShapeMutation','updateContext','getDrawingPoints','restore','startY','Module','Arrow','register','sheet.shape.edit.panel','viewportScrollY','reverse','_menuManagerService','drawingType','unit','_getShapeAdjustInfosById','getDrawingTypeNameKey','drawing-ui.objectListPanel.unlock','keys','_copyInfo','shape-text-','_sheetPermissionCheckController','getDrawingOrder','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','unsubscribe','SheetCanvasPopManagerService','point','rotation','resolveShapeContextualRibbonHostMode','useDependency','UniverDrawing','CROSSHAIR','permissionPointUpdate$','none','getPresentation','animationEnabled','_closeShapeEditPanel','ISidebarService','_loadShapePictureFill','resolveFormulaShapeAutoFitSize','ShapeTextRibbonControl','_clipService','onPointerUp$','_updateShapeAdjustControls','order','VIEW_MAIN_LEFT_TOP','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','sheets-shape-ui.ribbon.shape-format.style-control','_clearControls','sheets-shape-ui.objectListPanel.open','flipX','computeStraightConnectorLayout','_registerComponents','M8\x202.2V3.8','xlink:href','_commandService','activateDrawingObject','drawing-ui.objectListPanel.title','_sheetPrintInterceptorService','fillType','_permissionService','_initPermission','_activeTargetShapeId','pipe','resolveActiveShapeQuickStylePresetId','shouldAllowShapeTextEditorHostSizeShrink','_targetShapeId','_commandExecutedListener','registerShapeFormatPainter','_executeConnectedRouteResizeCommand','getState','_shapeEditPanelVersion','rxjs','UniverSheetsUi','CommandType','_sheetsShapeService','_groupCopyPasteController','invert','getCurrentRangeDisable$','_getZoomRatio','beginPath','stroke-width','ImageSourceTypeEnum','_drawingAddListener','ShapeTypeEnum','toDisposable','UniverDocsPlugin','setEditing','drawing-ui.objectListPanel.details','applyPoint','translateWithPrecision','plainShapeTextToDocumentData','_cxtHandlerPointerMove','buildClipPath','getRenderUnitById','objects','trim','@univerjs-pro/sheets-shape','_univerInstanceService','_index','useFormulaShapeToolbar','drawing-ui.objectListPanel.showAll','getContextValue','registerFeatureMenu','_getImageDrawingInfo','setCanUseShapeClip','sheet.shape.object-list.panel','_injector','index','startWith','setPrstGeomAdjValues','engine','localeService','_imageIoService','_shapeFloatingToolbarService','sheets-shape-ui.deleteShape','DocInterceptorService','getAdjustNames','DRAWING_IMAGE','calculate','_sheetDrawingShapeRenderController','data','23878294daPWLi','URL','@univerjs-pro/sheets-shape-ui','M2.2\x208H3.8','_addControl','delete','_urlImageService','_initMenu','blockExecuteWithoutPermission','OTHERS','setHighlighted','setContextValue','sheet.operation.update-shape-type','_getConnectionSiteAngle','attrs','drawing-ui.objectListPanel.sectionCanvas','drawFormulaShapeAnimationLayers','getObjectIncludeInGroup','_currentConnectionTarget','getMatrix','applyQuickStyleToShapeData','UniverProSheetsShapeUi','onCommandExecuted','setFillImage','Rect','shape-editor-ui.toolbar.quickStyles','mask','getShapeQuickStyleType','push','onReady','ShapePickerPanel','getSelectedObjectMap','drawing-ui.objectListPanel.filterLocked','setCursor','_getSceneAndTransformerByDrawingSearch','sheet.operation.open-mobile-shape-editor','doc','_registerOperations','sheets-shape-format-font-family-menu','dataModel','WorkbookCopyPermission','clearControl$','redo','clear','formulaBinding','IContextService','RENDER_CLASS_TYPE','hidden','ancestorTransform','vectorEffect','top','ShapeArrowTypeEnum','use','values','_completionFrame','UniverShapeEditorPlugin','disableObjectsEvent','getDrawingEffectBounds','MoveUpIcon','resize','_lastEditingShapeKey','adjHandleSize','sheet.shape.floating-toolbar','sheet.command.update-shape-data','sheet.shape.picker.component','has','mergeMenu','_formulaAnimation','getFocusDrawings','_update','InsertShapeCommand','width','image-clip-adjust-point-','includes','_shapePopupMenuDisposable','_getOrCreateShapeModel','ShapeFloatingToolbarService','ShapeFormulaRibbonControl','setOnSavingEditorData','UniverRenderEnginePlugin','getMenuHiddenObservable','jsxs','refreshShapeFillImage','_configService','_loadAndSetImage','_executeConnectedRouteConnectionCommand','setFallbackVisible','getSheetBySheetId','ConnectorCoordinateTransform','MEDIA','_insertShapes','_initSheetChange','WorksheetEditPermission','isLineShape','_draggingConnectorId','remove$','name','isReleased','syncExecuteCommand','useState','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.sectionFloating','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','from','_registerDrawingFocusChangeHandler','viewportScrollX','clearAdjustControls','_popupMenuListener','changeStart$','M10.2\x208H11.8','getShapeDataById','_shapeTextEditingService','dispose','discreteRangeToRange','backward','getDrawingOKey','interceptor','interceptCommand','PaintIcon','DRAWING_SHAPE','FOCUSING_SHAPE_TEXT_EDITOR','_config','featurePluginUpdateNotification','SheetSkeletonService','SHAPE_EDITOR_TRANSFORMER_CONFIG','5586690zRAjob','getConnectionSiteList','OPERATION','adjName','element','Disposable','path','unregister','drawing-ui.objectListPanel.close','UniverCore','sheets-shape-ui.config','getShapeType','_getShapeInfo','originalStrokeWidth','_clearPopups','BehaviorSubject','_activeShapeModel','1077ZMdTSg','ShapeDefaultConfig','isEditing','sheets-shape-ui.imagePanel.crop.shape','@univerjs-pro/license','querySelectorAll','UniverSheetsDrawingUi','SELECTOR','srcRect','getTransformerByCreate','_activeImageId','resetCursor','decorate','VIEW_MAIN_LEFT','_addShapeAdjustControl','prstGeom','_adjHandlerPointerUp','9MrZyZs','assign','_sheetInterceptorService','_drawRichTextLayer','_clearFocusedShape','clip','offsetY','sheets-shape-ui.flipVertical','onerror','_componentManager','UniverSheetsShapeMobileUIPlugin','_handleConnectedEndpointPointerUp','isRenderLinePointsMode','clipByShape','debounceRefreshControls','drawing-ui.objectListPanel.lockAll','_registerGroupFeaturePasteHook','replace','registerDependencies','Documents','removeAttribute','_hasReset','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','@univerjs/drawing','MenuManagerPosition','_registerMoveHandler','stroke','fontSize','sheets-shape-ui.ribbon.shape-format.arrange-forward','getBasicShapeRelation','6840280QhwBxa','min','react','_shapeRenderController','parse','bindRenderTransformerLifecycle','activeSheet$','_adjName','_activeShapeInfo','isHorizontal','transformToAxisAlignPosition','shapeType','_handleFreeEndpointMove','clip-','custom','SHAPE_TEXT','_updateTransform','scale','Vector2','_executeConnectionCommand','_isStartAdjusting','UPDATE','open','_isImagePointerDown','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','getPropertyValue','unitId','SetSheetDrawingCommand','createShapeTextBoxShapeData','_shapeUpdateListener','drawingId','UniverDrawingPlugin','executeCommand','_generatePasteMutations','object','SheetSkeletonManagerService','add','_releaseRenderCache','isHitLine','hasDefault','shape-editor-ui.arrange.backward','_adjHandlerPointerMove','onPointerDown$','useImperativeHandle','UniverSheetsUIPlugin','map','_drawingType','isHighlighted','title','shape-format-setting-icon','onStarting','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','useRef','switchMap','drawing-ui.objectListPanel.lock','ShapeTextHyperLinkPopupService','OBJECT_LIST_FLOATING_SECTION_ID','_sheetShapeAdjustController','update$','_updateImageAdjValues','cxnPointRadius','REMOVE','ISheetDrawingService','sqrt','getCurrentScrollState','UpdateConnectorRelationCommand','Observable','ICommandService','find','_activeShapeId','UniverShapeEditorMobileUIPlugin','run','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','8JzOnsB','M14\x208H14.2','getAdjustValueByName','back','useMemo','VIEW_MAIN_TOP','updateLinePoints','_resetState','IRenderManagerService','@univerjs/sheets-drawing','scene','FormulaShapeAnimationController','clearActiveDrawingObjects','panel','#4285f4','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDocsUIPlugin','shouldClipShapeTextDocument','_canEdit','_reset','setShapeProps','#bcbcbc','routeConnectorLineShape','shape-editor-ui.toolbar.changeShape','_registerFeatureMenu','endConnectionDetection','BUTTON','parseFloat','gradientEndColor','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','ShapeGroupEnum','getFocusedUnit','flip-vertical-icon','_baseShapeLeft','_editingParams$','wrapStrategy','object-layers-icon','drawing-ui.objectListPanel.expand','ComponentManager','viewBound','height','connection-site-','@univerjs/sheets-ui','getDrawingSearch','flip-horizontal-icon','_initEvents','isArray','worldRect','_registerFocusChangeHandler','React','_subUnitId','isDrawingObject','_cxtHandlerPointerUp','cxnPointStrokeWidth','vertical','shapeKey','removeProperty','UniverSheetsDrawingMobileUIPlugin','touchDependencies','flatMap','sheets-shape-ui.shape-format.quick-style-gallery','useReducer','_generateCopyPasteMutations','changeEnd$','DrawingRenderService','target','getDrawingShapeKeyByDrawingSearch','cos','DrawingTypeEnum','_renderManagerService','initShapePopupMenu','setSrcRect','UUID','_formulaShapes','normalizeShapeTextModel','SetDrawingSelectedOperation','ObjectLayersIcon','sheetTransform','_drawRichText','toStringTag','visible','attachPopupToObject','M4.2\x208.3H6.8','_hide','IImageIoService','displayName','iterator','FOCUSING_COMMON_DRAWINGS','getShapeModel','subscribeEvent','_isConnecting','_updateSrcRectByTransform','SheetsShapeUIMenuSchema','_draw','sheets-shape-ui.ribbon.shape-format.arrange-front','isFinite','SHAPE_CHANGE_PICKER_COMPONENT','stringify','RibbonInsertGroup','isMainScene','some','getShapeTextRect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','function','relation','_shapeFormulaService','transformToDrawingPosition','UniverUi','clipHeight','close','generateRandomId','UniverIcon','DocumentDataModel','setPrstGeom','forwardRef','_handleConnectorPointerUp','call','_sheetSkeletonService','startArrow','move-up-icon','UniverProLicense','0\x200\x2016\x2016','parent','drawing-ui.objectListPanel.unlockAll','drawing.operation.set-drawing-active','M8\x2014V14.2','getDrawingData','shape-editor-ui.arrange.front','Fragment','_localeService','canvas','description','drawing-ui.objectListPanel.filterHidden','getVisible','bottom-icon','_baseDrawingRect','UniverDesign','getParent','IconManager','_activeAdjustInfo','bottom','DocumentViewModel','_isShouldShowDrawingShapeAdjust','presentation','symbol','_showConnectionSites','_handleBasicShapeUpdateConnectorLineShape','clone','axisAlignSheetTransform','focus$','_addShapeConnectorHandlerObjects','makeDirty','resolveShapeTextDocumentRenderLayout','priority','MenuItemType','getValue','SHAPE','version','render','_clearShapeAdjustControls','IUndoRedoService','sheet.menu.shape.flip-vertical','None','getUnitType','sheets-shape-ui.permission.editErr','shapeText','_setTransForm','sheets-shape-ui.formatShape','drawing-ui.objectListPanel.collapse','currentColor','copyType','refreshAdjustControls','_onSavingEditorData$','forEach','2648xZVHDl','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-contextual-ribbon','getCurrentUnitOfType','M6.2\x208H7.8','BottomIcon','@univerjs/drawing-ui','params','LEFT','subUnitId','_props','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','jsx','subscribe','createInternalEditorID','SheetsDrawingGroupCopyPasteController','setPresentation','exports','_unitId','startConnectionDetection','defIds','current','Plugin','EMPTY','Line','useObservable','@univerjs-pro/shape-editor','RemoveSheetCommand','ShapeTextHyperLinkHoverController','sheets-shape-ui.shape-format.formula-ribbon-control','http://www.w3.org/2000/svg','isConnectorShape','_registerDrawingMoveHandler','getTransformer','ToggleSheetsShapeFlipCommand','react/jsx-runtime','angle','Path','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','_sheetCanvasPopManagerService','_shapeId','PRINTING_COMPONENT_COLLECT','url(#$1','VIEW_MAIN','UndoRedoGroupService','_iconManager','StraightConnector1','ShapeFillEnum','drawing-ui.objectListPanel.empty','getSheetId','_isDrawingShapePointDown','ShapeIcon','intercept','_executeResizeCommand','_currentScene','selectable','sheets-shape-ui.quickStyles','mode','_createShapeAdjustControls','strokeWidth','getCurrentSkeleton','_highlightedSiteIndex','connector-handler-','getObject','getStartConnectInfo','buildShapeTextDataUpdate','type','cxnPointStroke','ang','amd','getDrawingVisible','_initSelection','getSkeletonParam','sheets-shape-ui.shape-format.style-ribbon-control','doc.image-clip.shape-picker.component','round','deriveStateFromActiveSheet$','DRAWING','classType','_applyFormulaAutoFitSize','_contextService','getSheetCommandTarget','getAutoFitPresentations','with','100825PMAzYB','getBasicShapeRotateBound','hideContextualTab','_isOpenedShapeEditPanel','idSuffix','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','div','multiply','fromChangeset','PictureFill','pluginName','sheets-shape-ui.ribbon.shape-format','animateFormulaPresentation','localName','colorChannel1','FromArray','onPointerMove$','currentAdjustValues','drawing-ui.objectListPanel.hide','complete','setConfig','resolveHyperLinkAt','_moveConnectorWithShape','sheetViewStartRow','_visible','getConnectionInfo','_formulaKey','size','setShouldShowAdjust','isRichText','getEditing','contentVerticalOffset','calcAdjValues','pick','attachRangeWithCoord','canvasElement','src','@univerjs-pro/shape-editor-ui','_drawingManagerService','_hyperLinkRegions','sheets-shape-ui.shape-format.text-ribbon-control','endArrow','save','ShapeQuickStyleGallery','_context','FlipHorizontalIcon','IConfigService','_insertingShapeKeys','SheetsSelectionsService','copyId','isHit','SheetInterceptorService','getCurrentTypeOfUnit$','SetDrawingApplyMutation','memo','SheetPrintInterceptorService','drawing-ui.objectListPanel.show','activeAnObject','observe','getPermissionPoint','getDrawingByParam','@univerjs/sheets','_isStartConnectorPoint','getImage','HorizontalAlign','sheets-shape-ui.flipHorizontal','ArrangeTypeEnum','transformByState','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','createShapeFormulaDocument','offsetX','_drawShapeText','appliedStrokeWidth','_sidebarService','cxnIndex','_attachAdjustEvent','_initialize','flipY','getOwnPropertyDescriptor','sheet.operation.close-sheet-shape-format-panel','idMap','front','1em','UniverProShapeEditor','_disposed','_isHighlighted','move-down-icon','disableShapeOption','_clearCompletionFrame','_renderWithCache','focusDrawing','MobileObjectListPanel','draw','_updateAdjustControlPositions','INSERT','UniverEngineRender','getUnitId','COPY_TYPE','UniverSheetsPlugin','skeleton','completeEditing','UniverSheetsMobileUIPlugin','removeLinePoints','_activeShapeAdjustPointList','lineType','hasAttribute','_handleFreeEndpointPointerUp','drawing-ui.objectListPanel.search','clipTop','resolveShapeTextEditorWrapStrategy','extraProps','_getShapeAdjustPointListById','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','ShapeTextFloatToolbar','DEFAULT_PASTE','addObject','getInverseCoord','DocCanvasPopManagerService','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','drawWith','onDblclick$','ShapeFloatingToolbarToggleFactory','Medium','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','drawing-ui.objectListPanel.hideAll','_baseHeight','IUniverInstanceService','useEffect','formulaPresentation','pushUndoRedo','_drawSimpleText','preValue','getCanvasElement','registerCommand','shape-editor-ui.arrange.back','UNIVER_DOC','getBatchRemoveOp','resolveShapeTextHyperLinkObject','shapeData','shapeId','getShapeTypeById','sectionFloating','top-center','_createCopyInfoByRange','changing$','1.0.4','FlipVerticalIcon','_createControls','computeConnectorRouteLayout','getShapeData','filter','shape-editor-ui.arrange.forward','svg','UniverDrawingUi','univer-box-border\x20univer-px-4\x20univer-text-sm','text','onRendered','_getScrollInfo','TOP','normal','drawing-ui.objectListPanel.typeNames.','Shape','ISheetClipboardService','9415850CgwOdb','viewBox','prstGeomAdjValues','merge','attachTransformerTo','shapeModel','_handleConnectedEndpointMove','composeMatrix','ShapeTextHyperLinkInfo','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','defs','horizontal','WorksheetCopyPermission','GROUP','UNIVER_SHEET','_activeAdjustPointList','getBoundingClientRect','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','drawing-ui.objectListPanel.nameInput','set','SetShapeDrawingDataCommand','isRender','getRealBound','_transform','FormatPainterSessionService','length','COMMAND','style','_calculateFreeEndpointAngle','ContextMenuPosition','RemoveSheetDrawingCommand','getZoomRatio','baseVal','UniverProEngineShape','_getDrawingRect','reduce','permissionCheckWithoutRange','_currentUniverService','get','_shapes','showContextualTab','getConnectionRelation','ShapeEditPanel','children','UniverDrawingUIPlugin','drawing-ui.objectListPanel.lockHint','forward','getShapeQuickStylePreset','value','_ribbonService'];_0x1e1c=function(){return _0xb1cf6a;};return _0x1e1c();}function _0x2e4e(_0x93cb19,_0x354889){_0x93cb19=_0x93cb19-0x199;const _0x1e1c5f=_0x1e1c();let _0x2e4e35=_0x1e1c5f[_0x93cb19];return _0x2e4e35;}(function(_0x155869,_0x27d951){const _0x387377=_0x2e4e,_0x5940d4=_0x155869();while(!![]){try{const _0x34273c=-parseInt(_0x387377(0x39f))/0x1*(-parseInt(_0x387377(0x29d))/0x2)+-parseInt(_0x387377(0x224))/0x3*(parseInt(_0x387377(0x34b))/0x4)+-parseInt(_0x387377(0x4a7))/0x5+parseInt(_0x387377(0x213))/0x6*(-parseInt(_0x387377(0x498))/0x7)+-parseInt(_0x387377(0x253))/0x8*(-parseInt(_0x387377(0x235))/0x9)+-parseInt(_0x387377(0x442))/0xa+parseInt(_0x387377(0x59b))/0xb;if(_0x34273c===_0x27d951)break;else _0x5940d4['push'](_0x5940d4['shift']());}catch(_0x21f598){_0x5940d4['push'](_0x5940d4['shift']());}}}(_0x1e1c,0xb5a92),function(_0x477aad,_0x48c3ba){const _0x57b4a3=_0x2e4e;typeof exports==_0x57b4a3(0x276)&&typeof module<'u'?_0x48c3ba(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x57b4a3(0x304)&&define[_0x57b4a3(0x390)]?define([_0x57b4a3(0x35c),_0x57b4a3(0x3c4),_0x57b4a3(0x4c2),'@univerjs-pro/engine-shape',_0x57b4a3(0x365),_0x57b4a3(0x582),'@univerjs/core',_0x57b4a3(0x3dc),_0x57b4a3(0x24c),'@univerjs/engine-render',_0x57b4a3(0x2c7),_0x57b4a3(0x569),_0x57b4a3(0x351),'@univerjs/design',_0x57b4a3(0x36e),_0x57b4a3(0x2a6),_0x57b4a3(0x228),_0x57b4a3(0x506),'@univerjs/docs-ui',_0x57b4a3(0x47d),_0x57b4a3(0x255)],_0x48c3ba):(_0x477aad=typeof globalThis<'u'?globalThis:_0x477aad||self,_0x48c3ba(_0x477aad[_0x57b4a3(0x1ab)]={},_0x477aad[_0x57b4a3(0x4bc)],_0x477aad[_0x57b4a3(0x308)],_0x477aad[_0x57b4a3(0x463)],_0x477aad[_0x57b4a3(0x3f2)],_0x477aad['UniverProSheetsShape'],_0x477aad[_0x57b4a3(0x21c)],_0x477aad['UniverSheets'],_0x477aad[_0x57b4a3(0x53f)],_0x477aad[_0x57b4a3(0x3fe)],_0x477aad[_0x57b4a3(0x56a)],_0x477aad[_0x57b4a3(0x569)],_0x477aad[_0x57b4a3(0x438)],_0x477aad[_0x57b4a3(0x325)],_0x477aad['React'],_0x477aad['UniverSheetsDrawing'],_0x477aad[_0x57b4a3(0x315)],_0x477aad['UniverDocs'],_0x477aad['UniverDocsUi'],_0x477aad[_0x57b4a3(0x22a)],_0x477aad[_0x57b4a3(0x2ce)]));}(this,function(_0x4a6de9,_0xba932b,_0x187e10,_0xd67e3f,_0x1397ca,_0x2f2bb5,_0x10e5f9,_0x32abfe,_0x15864b,_0x3458ba,_0x189be3,_0x364ff4,_0x2a7f32,_0x457cfe,_0x30a372,_0x40f1a1,_0x53a89d,_0x1ac066,_0x31aefd,_0x3c03b9,_0x18bd90){const _0x13ba7a=_0x2e4e;Object['defineProperty'](_0x4a6de9,Symbol[_0x13ba7a(0x2ec)],{'value':_0x13ba7a(0x527)});function _0x564b9f(_0x3df234,_0x2a0998){const _0x40eb29=_0x13ba7a;let _0x50b0ed={};for(let _0x139e72 of Object[_0x40eb29(0x533)](_0x2a0998)){let _0x1ac6c6=_0x2a0998[_0x139e72],_0x1c1798=_0x3df234[_0x139e72];if(_0x1c1798===void 0x0){_0x50b0ed[_0x139e72]=void 0x0;continue;}_0x50b0ed[_0x139e72]=typeof _0x1ac6c6==_0x40eb29(0x276)&&_0x1ac6c6&&!Array[_0x40eb29(0x2cb)](_0x1ac6c6)&&typeof _0x1c1798=='object'&&_0x1c1798&&!Array[_0x40eb29(0x2cb)](_0x1c1798)?_0x564b9f(_0x1c1798,_0x1ac6c6):_0x1c1798;}return _0x50b0ed;}let _0x6c1302={'type':_0x10e5f9[_0x13ba7a(0x56b)]['COMMAND'],'id':_0x13ba7a(0x1d5),'handler':(_0x1a8cb8,_0x4903c9)=>{const _0x43495e=_0x13ba7a;let _0x54703f=_0x1a8cb8[_0x43495e(0x468)](_0x2f2bb5[_0x43495e(0x4d3)]),{unitId:_0x29be53,subUnitId:_0x1b580b,shapeType:_0x96084d,shapeId:_0x2d0dd9,shapeData:_0x425921,replaceShapeData:_0x4a046a,oldShapeJSON:_0x5fddd0}=_0x4903c9;if(!_0x54703f[_0x43495e(0x2f5)](_0x29be53,_0x1b580b,_0x2d0dd9))return!0x1;let _0x321644=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9['ICommandService']),_0x72b35=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9[_0x43495e(0x33d)]),{oldShapeType:_0x4b761e,oldShapeData:_0x3c2ca3={}}=_0x5fddd0,_0x47bf82=_0x4a046a?_0x3c2ca3:_0x564b9f(_0x3c2ca3,_0x425921||{}),_0x5eb127={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x96084d,'shapeData':_0x425921,'replace':_0x4a046a}},_0x1089b0={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x4b761e,'shapeData':_0x47bf82,'replace':_0x4a046a}};return _0x321644['syncExecuteCommand'](_0x5eb127['id'],_0x5eb127['params'])?(_0x72b35[_0x43495e(0x420)]({'unitID':_0x29be53,'undoMutations':[_0x1089b0],'redoMutations':[_0x5eb127]}),!0x0):!0x1;}};function _0x2b1bec(_0x2116f8,_0x1bbcc2,_0xea017a,_0x4ea819,_0x2ee224,_0x384511){const _0x520182=_0x13ba7a;let _0x5576af={'unitId':_0x1bbcc2,'subUnitId':_0xea017a,'shapeId':_0x4ea819,'shapeData':_0x384511,'oldShapeJSON':_0x2ee224};return _0x2116f8[_0x520182(0x274)](_0x6c1302['id'],_0x5576af);}function _0x595a99(_0x50c11b,_0x369b3b,_0x566f88,_0x435243,_0x4b4175,_0x544e4c){const _0x3a7223=_0x13ba7a;let _0x25e8ce={'unitId':_0x369b3b,'subUnitId':_0x566f88,'shapeId':_0x435243,'shapeData':_0x544e4c,'oldShapeJSON':_0x4b4175};return _0x50c11b[_0x3a7223(0x274)](_0x6c1302['id'],_0x25e8ce);}function _0x57f550(_0x16de12){'@babel/helpers - typeof';const _0x5708b4=_0x13ba7a;return _0x57f550=typeof Symbol=='function'&&typeof Symbol[_0x5708b4(0x2f3)]==_0x5708b4(0x32d)?function(_0x557b37){return typeof _0x557b37;}:function(_0xf35845){const _0x1d76da=_0x5708b4;return _0xf35845&&typeof Symbol==_0x1d76da(0x304)&&_0xf35845['constructor']===Symbol&&_0xf35845!==Symbol['prototype']?'symbol':typeof _0xf35845;},_0x57f550(_0x16de12);}function _0x36a0d5(_0x5d81e6,_0x583322){const _0x53825a=_0x13ba7a;if(_0x57f550(_0x5d81e6)!=_0x53825a(0x276)||!_0x5d81e6)return _0x5d81e6;var _0x47565f=_0x5d81e6[Symbol['toPrimitive']];if(_0x47565f!==void 0x0){var _0x5826cf=_0x47565f[_0x53825a(0x311)](_0x5d81e6,_0x583322||'default');if(_0x57f550(_0x5826cf)!=_0x53825a(0x276))return _0x5826cf;throw TypeError(_0x53825a(0x3a4));}return(_0x583322==='string'?String:Number)(_0x5d81e6);}function _0x11a17e(_0x270d38){const _0x35382e=_0x13ba7a;var _0x66ff9f=_0x36a0d5(_0x270d38,_0x35382e(0x4fd));return _0x57f550(_0x66ff9f)==_0x35382e(0x32d)?_0x66ff9f:_0x66ff9f+'';}function _0x5ae661(_0x2bb2d7,_0x36e58c,_0x4ffe9f){return(_0x36e58c=_0x11a17e(_0x36e58c))in _0x2bb2d7?Object['defineProperty'](_0x2bb2d7,_0x36e58c,{'value':_0x4ffe9f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2bb2d7[_0x36e58c]=_0x4ffe9f,_0x2bb2d7;}function _0x2bcad2(_0x458b5e,_0x13a776,_0x177958){const _0xfbe90=_0x13ba7a;let _0x58182b={..._0x13a776,'dataModel':{..._0x13a776['dataModel']??{},..._0x177958?{'doc':_0x177958}:null}},_0x19d54e=(0x0,_0xba932b['resolveShapeTextEditorBehaviorShapeData'])(_0x458b5e,_0x58182b),_0x22cbc3=(0x0,_0xba932b[_0xfbe90(0x40c)])(_0x19d54e);return{'clip':(0x0,_0xba932b[_0xfbe90(0x2ae)])(_0x19d54e,_0x22cbc3),'wrapStrategy':_0x22cbc3};}var _0x402866=class extends _0x3458ba['Shape']{constructor(_0x27568a,_0x481ba1){const _0x2b1bbb=_0x13ba7a;super(_0x27568a,_0x481ba1),_0x5ae661(this,_0x2b1bbb(0x3c6),[]),_0x5ae661(this,'_props',void 0x0),_0x5ae661(this,'_formulaAnimation',new _0xba932b[(_0x2b1bbb(0x2a8))](()=>this[_0x2b1bbb(0x334)](!0x0),()=>this[_0x2b1bbb(0x39a)]())),_0x5ae661(this,'_transformCalculateSrcRect',!0x0),_0x5ae661(this,_0x2b1bbb(0x282),_0x10e5f9[_0x2b1bbb(0x2e1)]['DRAWING_SHAPE']),_0x5ae661(this,_0x2b1bbb(0x2d0),!0x0),this[_0x2b1bbb(0x355)]={..._0x481ba1},this[_0x2b1bbb(0x1d9)][_0x2b1bbb(0x35b)](_0x481ba1[_0x2b1bbb(0x41f)],_0x481ba1[_0x2b1bbb(0x3ab)]!==!0x1),this['_init'](),this[_0x2b1bbb(0x39a)]();}[_0x13ba7a(0x4dc)](){const _0x4e046a=_0x13ba7a;this['onTransformChange$'][_0x4e046a(0x2f6)](_0x23c997=>{this['_updateSrcRectByTransform'](_0x23c997);});}[_0x13ba7a(0x30e)](_0x281a4d){const _0x2ec06d=_0x13ba7a;this[_0x2ec06d(0x355)][_0x2ec06d(0x233)]=_0x281a4d;}['resolveHyperLinkAt'](_0x68f76a){const _0x2ed7d0=_0x13ba7a;if(this[_0x2ed7d0(0x355)]['isEditing'])return null;let _0x1d3680=this[_0x2ed7d0(0x413)](_0x68f76a),{width:_0x5d65ad,height:_0x2d5b6e}=this['getRealBound']();return(0x0,_0xba932b['resolveShapeTextHyperLinkAt'])(this[_0x2ed7d0(0x3c6)],{'x':(this[_0x2ed7d0(0x553)]?-_0x1d3680['x']:_0x1d3680['x'])+_0x5d65ad/0x2,'y':_0x1d3680['y']+_0x2d5b6e/0x2});}[_0x13ba7a(0x578)](_0x2855d5){const _0x587ae3=_0x13ba7a;this[_0x587ae3(0x355)][_0x587ae3(0x226)]=_0x2855d5,this[_0x587ae3(0x334)](!0x0);}[_0x13ba7a(0x4aa)](_0x47d183,_0x3bd1a4=!0x0){const _0x18be68=_0x13ba7a;this[_0x18be68(0x1d9)]['setPresentation'](_0x47d183,_0x3bd1a4),this[_0x18be68(0x355)][_0x18be68(0x41f)]=_0x47d183,this[_0x18be68(0x39a)](),this[_0x18be68(0x334)](!0x0);}[_0x13ba7a(0x39a)](){const _0x31a211=_0x13ba7a;let _0x16cedb=this['_props'][_0x31a211(0x447)],_0x19657b=_0x16cedb['getShapeTextData'](),_0x4e8fa3=(0x0,_0xba932b[_0x31a211(0x2e7)])(_0x19657b==null?void 0x0:_0x19657b[_0x31a211(0x1bd)]),_0x55c3d7=_0x4e8fa3==null?void 0x0:_0x4e8fa3['doc'],_0x42aa56=this['_formulaAnimation'][_0x31a211(0x39d)]();if(!_0x55c3d7||_0x42aa56['length']===0x0)return;_0x16cedb['updateContext']({'width':this[_0x31a211(0x1dd)],'height':this[_0x31a211(0x2c5)]});let _0x5bbe92=(0x0,_0xba932b[_0x31a211(0x548)])({'documentData':_0x42aa56[_0x31a211(0x281)](_0x5ba10b=>(0x0,_0x1397ca[_0x31a211(0x3e4)])(_0x55c3d7,_0x5ba10b)),'height':this[_0x31a211(0x2c5)],'shapeData':_0x16cedb[_0x31a211(0x434)](),'textRect':_0x16cedb[_0x31a211(0x302)]({'left':0x0,'top':0x0,'width':this[_0x31a211(0x1dd)],'height':this['height']}),'width':this['width']});if(_0x5bbe92){var _0x5699ca;this['resize'](_0x5bbe92[_0x31a211(0x1dd)],_0x5bbe92[_0x31a211(0x2c5)]),(_0x5699ca=this['getScene']())==null||(_0x5699ca=_0x5699ca[_0x31a211(0x36c)]())==null||_0x5699ca[_0x31a211(0x243)]();}}get[_0x13ba7a(0x26e)](){const _0x254d9c=_0x13ba7a;return this[_0x254d9c(0x355)][_0x254d9c(0x26e)];}get[_0x13ba7a(0x354)](){const _0xc57f9e=_0x13ba7a;return this[_0xc57f9e(0x355)]['subUnitId'];}[_0x13ba7a(0x2f8)](_0x327b33){const _0x7604dd=_0x13ba7a;if(this[_0x7604dd(0x355)]['srcRect']==null||!this['_transformCalculateSrcRect'])return;let {width:_0x325335,height:_0x1adfb0}=this,{width:_0x17f23e=0x0,height:_0x330c1d=0x0}=_0x327b33[_0x7604dd(0x422)],{left:_0x19b6c3=0x0,top:_0x506df3=0x0,right:_0x124860=0x0,bottom:_0xea2870=0x0}=this[_0x7604dd(0x355)][_0x7604dd(0x22c)],_0x228770=_0x19b6c3,_0x363ffe=_0x506df3,_0xc3013e=_0x124860,_0x424ebf=_0xea2870,_0x4998e0=!0x1;if(_0x17f23e!==0x0&&_0x17f23e!==_0x325335){let _0x3f1c19=_0x19b6c3/_0x17f23e,_0x34fb02=_0x124860/_0x17f23e;_0x228770=_0x325335*_0x3f1c19,_0xc3013e=_0x325335*_0x34fb02,_0x4998e0=!0x0;}if(_0x330c1d!==0x0&&_0x330c1d!==_0x1adfb0){let _0x16780c=_0x506df3/_0x330c1d,_0x3e2ed6=_0xea2870/_0x330c1d;_0x363ffe=_0x1adfb0*_0x16780c,_0x424ebf=_0x1adfb0*_0x3e2ed6,_0x4998e0=!0x0;}_0x4998e0&&this[_0x7604dd(0x2e4)]({'left':_0x228770,'top':_0x363ffe,'right':_0xc3013e,'bottom':_0x424ebf});}[_0x13ba7a(0x2e4)](_0x440224){const _0x27dbdb=_0x13ba7a;this[_0x27dbdb(0x355)][_0x27dbdb(0x22c)]=_0x440224,this[_0x27dbdb(0x334)](!0x0);}[_0x13ba7a(0x1ad)](_0x104a74){const _0xc8441f=_0x13ba7a;this[_0xc8441f(0x355)]['image']=_0x104a74,this[_0xc8441f(0x334)](!0x0);}set['transform'](_0x3a4332){const _0x1e6b96=_0x13ba7a;this[_0x1e6b96(0x459)]=_0x3a4332;}get[_0x13ba7a(0x474)](){const _0x3c8fd1=_0x13ba7a;this[_0x3c8fd1(0x459)]||this[_0x3c8fd1(0x343)]();let _0x255055=this[_0x3c8fd1(0x459)][_0x3c8fd1(0x330)]();return this['transformForAngle'](_0x255055);}get[_0x13ba7a(0x447)](){const _0x80cca3=_0x13ba7a;return this['_props'][_0x80cca3(0x447)];}get['shapeId'](){const _0x5ec254=_0x13ba7a;return this[_0x5ec254(0x355)][_0x5ec254(0x42a)];}get[_0x13ba7a(0x399)](){const _0x3b0616=_0x13ba7a;return _0x3458ba[_0x3b0616(0x1c4)][_0x3b0616(0x339)];}[_0x13ba7a(0x2fa)](_0x38d52b,_0x1ecfc0,_0x26d5a1,_0x553e76){const _0x540e9d=_0x13ba7a;let _0x42dfb1=this[_0x540e9d(0x355)][_0x540e9d(0x447)];if(!_0x42dfb1||!_0x1ecfc0)return;let _0x30e539=_0x26d5a1??this[_0x540e9d(0x1dd)],_0x38fafd=_0x553e76??this[_0x540e9d(0x2c5)],_0x5b3e75={'shapeType':_0x42dfb1[_0x540e9d(0x21e)](),'width':_0x30e539,'height':_0x38fafd},_0x46dac0={'renderMode':_0xd67e3f[_0x540e9d(0x512)][_0x540e9d(0x370)],'oKey':this[_0x540e9d(0x4a1)],'image':this['_props']['image'],'angle':this[_0x540e9d(0x36f)]};_0x42dfb1[_0x540e9d(0x523)](_0x5b3e75),_0x38d52b[_0x540e9d(0x3c9)]();let _0x2f75a0={'top':0x0,'left':0x0,'width':_0x30e539,'height':_0x38fafd},_0x47e48e=_0x42dfb1[_0x540e9d(0x1cf)](_0x2f75a0);_0x47e48e?this[_0x540e9d(0x3f8)](_0x38d52b,_0x47e48e,_0xce1e3f=>{const _0x5101e3=_0x540e9d;_0x42dfb1[_0x5101e3(0x33b)](_0xce1e3f,_0x2f75a0,_0x46dac0);}):(this[_0x540e9d(0x279)](),_0x42dfb1[_0x540e9d(0x33b)](_0x38d52b,_0x2f75a0,_0x46dac0)),_0x38d52b['restore']();let _0xd815db=_0x42dfb1['getShapeTextData'](),_0x5e3e20=_0x42dfb1[_0x540e9d(0x302)](_0x2f75a0),_0x2e65e9=_0x42dfb1[_0x540e9d(0x1f3)]();if(_0xd815db&&_0x5e3e20&&!_0x2e65e9){_0x38d52b[_0x540e9d(0x3c9)](),this[_0x540e9d(0x567)]()[_0x540e9d(0x553)]&&_0x38d52b[_0x540e9d(0x264)](-0x1,0x1);let _0x30d40b=_0x30e539/0x2,_0x4f6ca7=_0x38fafd/0x2;_0x38d52b[_0x540e9d(0x4d7)](-_0x30d40b,-_0x4f6ca7),_0x38d52b['beginPath'](),this['_drawShapeText'](_0x38d52b,_0xd815db,_0x5e3e20),_0x38d52b[_0x540e9d(0x525)]();}}['getDrawingPoints'](_0x1875d0){}[_0x13ba7a(0x3e6)](_0x4ef413,_0x56a00f,_0x53fcfc){const _0x3d657b=_0x13ba7a;var _0x237f3e;this[_0x3d657b(0x3c6)]=[],!this['_props'][_0x3d657b(0x226)]&&(!((_0x237f3e=_0x56a00f[_0x3d657b(0x1bd)])!=null&&_0x237f3e[_0x3d657b(0x1ba)])&&_0x3d657b(0x3bc)in _0x56a00f&&_0x56a00f[_0x3d657b(0x3bc)]===!0x1?this['_drawSimpleText'](_0x4ef413,_0x56a00f,_0x53fcfc):this[_0x3d657b(0x2eb)](_0x4ef413,_0x56a00f,_0x53fcfc));}[_0x13ba7a(0x421)](_0x187c2e,_0x55f36d,_0x40618a){const _0x32a272=_0x13ba7a;this[_0x32a272(0x2eb)](_0x187c2e,{..._0x55f36d,'text':_0x55f36d[_0x32a272(0x43a)]??'','dataModel':{'doc':(0x0,_0xba932b[_0x32a272(0x57c)])(_0x55f36d,'sheets-shape-text-'+this[_0x32a272(0x4a1)])}},_0x40618a);}['_drawRichText'](_0x13fec4,_0xdf9738,_0x216eba){const _0x583872=_0x13ba7a;(0x0,_0xba932b[_0x583872(0x1a6)])(_0x13fec4,this[_0x583872(0x1d9)],(_0x4274ae,_0x4da0c8,_0xb3bd10)=>{const _0x5f2231=_0x583872;this[_0x5f2231(0x238)](_0x4274ae,_0xdf9738,_0x216eba,_0x4da0c8,_0xb3bd10===_0x5f2231(0x360));});}['_drawRichTextLayer'](_0x3b697d,_0x22865c,_0x11b7da,_0x3d8185,_0x557b9e){const _0x92781f=_0x13ba7a;let _0x7162ed=this[_0x92781f(0x355)][_0x92781f(0x591)];if(!_0x22865c[_0x92781f(0x1bd)]||!_0x7162ed)return;let _0x4a318a=(0x0,_0xba932b['normalizeShapeTextModel'])(_0x22865c['dataModel']);if(!_0x4a318a)return;let _0x1eda64=_0x4a318a[_0x92781f(0x1ba)];if(!_0x1eda64)return;let _0xe21ed3=(0x0,_0x1397ca[_0x92781f(0x3e4)])(_0x1eda64,_0x3d8185),_0x44eca3=_0x4a318a['va']??_0x10e5f9[_0x92781f(0x48c)][_0x92781f(0x43d)],_0x3a6bfb=_0x4a318a['ha']??_0x10e5f9[_0x92781f(0x3df)][_0x92781f(0x353)],_0x5adc06=_0x2bcad2(this[_0x92781f(0x355)]['shapeModel']['getShapeData'](),_0x22865c,_0xe21ed3),_0x58e25b=_0x22865c[_0x92781f(0x25c)],_0x382bf9=(0x0,_0xba932b['prepareShapeTextDocumentData'])(_0xe21ed3,{'isHorizontal':_0x58e25b!==!0x1,'textRect':_0x11b7da,'verticalAlign':_0x44eca3,'horizontalAlign':_0x3a6bfb,'wrapStrategy':_0x5adc06[_0x92781f(0x2c0)]}),_0x2c22ac=new _0x10e5f9[(_0x92781f(0x30d))](_0x382bf9),_0x20fecb=new _0x3458ba[(_0x92781f(0x32a))](_0x2c22ac),_0x1765c0=_0x3458ba['DocumentSkeleton']['create'](_0x20fecb,_0x7162ed);_0x1765c0[_0x92781f(0x598)]();let _0x470b75=_0x1765c0['getActualSize']()['actualHeight'],_0x5c5fb3=(0x0,_0xba932b[_0x92781f(0x335)])({'contentHeight':_0x470b75,'verticalAlign':_0x44eca3,'viewportHeight':_0x11b7da['height']});_0x2c22ac['updateDocumentStyle']({'pageSize':{'width':_0x58e25b===!0x1?_0x11b7da['height']:_0x11b7da[_0x92781f(0x1dd)],'height':(0x0,_0xba932b[_0x92781f(0x4a5)])(_0xe21ed3,_0x5c5fb3[_0x92781f(0x47b)])}}),_0x2c22ac[_0x92781f(0x4c8)]({'t':_0x5c5fb3[_0x92781f(0x4e1)]}),_0x1765c0[_0x92781f(0x598)]();let _0x58f656=new _0x3458ba[(_0x92781f(0x248))](_0x92781f(0x535)+this[_0x92781f(0x4a1)],_0x1765c0,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x92781f(0x334)](!0x0)});_0x58f656[_0x92781f(0x1d1)](_0x11b7da[_0x92781f(0x1dd)],_0x5c5fb3[_0x92781f(0x47b)]),_0x3b697d[_0x92781f(0x3c9)](),_0x3b697d[_0x92781f(0x57b)](_0x11b7da[_0x92781f(0x4f4)],_0x11b7da['top']),_0x5adc06[_0x92781f(0x23a)]&&(_0x3b697d[_0x92781f(0x571)](),_0x3b697d['rect'](0x0,_0x5c5fb3[_0x92781f(0x40b)],_0x11b7da['width'],_0x5c5fb3['clipHeight']),_0x3b697d[_0x92781f(0x23a)]()),_0x5c5fb3[_0x92781f(0x3be)]&&_0x3b697d['translateWithPrecision'](0x0,_0x5c5fb3[_0x92781f(0x3be)]),_0x58f656[_0x92781f(0x3fb)](_0x3b697d),_0x557b9e&&(this[_0x92781f(0x3c6)]=(0x0,_0xba932b[_0x92781f(0x4bd)])(_0x58f656,{'left':_0x11b7da[_0x92781f(0x4f4)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x3be)]},_0x5adc06[_0x92781f(0x23a)]?{'left':_0x11b7da[_0x92781f(0x4f4)],'right':_0x11b7da[_0x92781f(0x4f4)]+_0x11b7da[_0x92781f(0x1dd)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x40b)],'bottom':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3['clipTop']+_0x5c5fb3[_0x92781f(0x309)]}:void 0x0)),_0x3b697d[_0x92781f(0x525)](),_0x58f656[_0x92781f(0x206)](),_0x1765c0[_0x92781f(0x206)](),_0x20fecb[_0x92781f(0x206)](),_0x2c22ac[_0x92781f(0x206)]();}['render'](_0x350d2f,_0x508857,_0x2f9f57=!0x1){const _0x5641e2=_0x13ba7a;if(!this['visible'])return this[_0x5641e2(0x334)](!0x1),this;let {width:_0x4c08f7,height:_0x128779,left:_0x3472e8,top:_0x2ac023}=this,_0x4b3ee1=this[_0x5641e2(0x458)]();if(_0x4c08f7=_0x4b3ee1[_0x5641e2(0x1dd)],_0x128779=_0x4b3ee1['height'],_0x3472e8=_0x4b3ee1['left'],_0x2ac023=_0x4b3ee1[_0x5641e2(0x1c8)],this[_0x5641e2(0x457)](_0x508857)){let {top:_0x9bdc2a,left:_0x2fbdf6,bottom:_0x3a8097,right:_0x1846a2}=_0x508857[_0x5641e2(0x2c4)];if(_0x4c08f7+this['strokeWidth']+_0x3472e8<_0x2fbdf6||_0x1846a2<_0x3472e8||_0x128779+this[_0x5641e2(0x386)]+_0x2ac023<_0x9bdc2a||_0x3a8097<_0x2ac023)return this;}let _0x5c9cd1=_0x3472e8+_0x4c08f7/0x2,_0x43d4b4=_0x2ac023+_0x128779/0x2,_0x5b83be=this['transform'][_0x5641e2(0x1a9)]();if(this[_0x5641e2(0x355)][_0x5641e2(0x226)]){let _0x1d7cec=this[_0x5641e2(0x567)](),_0x47055b=new _0x3458ba[(_0x5641e2(0x4c7))]();_0x47055b[_0x5641e2(0x449)]({..._0x1d7cec}),_0x5b83be=_0x47055b[_0x5641e2(0x1a9)]();}return _0x350d2f[_0x5641e2(0x3c9)](),this[_0x5641e2(0x355)]['shapeModel'][_0x5641e2(0x241)]===!0x0||_0x350d2f[_0x5641e2(0x474)](_0x5b83be[0x0],_0x5b83be[0x1],_0x5b83be[0x2],_0x5b83be[0x3],_0x5c9cd1,_0x43d4b4),this['_draw'](_0x350d2f,_0x508857,_0x4c08f7,_0x128779),_0x350d2f[_0x5641e2(0x525)](),this['makeDirty'](!0x1),this;}[_0x13ba7a(0x413)](_0x15ed3f){const _0x539bfc=_0x13ba7a;let {left:_0xa7864a,top:_0x1f8f83,width:_0x4e15a8,height:_0x50cf17}=this[_0x539bfc(0x458)](),_0x166857=this[_0x539bfc(0x474)][_0x539bfc(0x1a9)](),_0xd0b8d4=_0xa7864a+_0x4e15a8/0x2,_0x86e5=_0x1f8f83+_0x50cf17/0x2,_0x35e9b1=new _0x3458ba[(_0x539bfc(0x4c7))]([_0x166857[0x0],_0x166857[0x1],_0x166857[0x2],_0x166857[0x3],_0xd0b8d4,_0x86e5]),_0x1fc1f6=this[_0x539bfc(0x326)]();return(this[_0x539bfc(0x4cc)]&&(_0x1fc1f6==null?void 0x0:_0x1fc1f6[_0x539bfc(0x399)])===_0x3458ba[_0x539bfc(0x1c4)][_0x539bfc(0x44f)]?_0x1fc1f6['ancestorTransform'][_0x539bfc(0x3a6)](_0x35e9b1):_0x35e9b1)['invert']()[_0x539bfc(0x57a)](_0x15ed3f);}[_0x13ba7a(0x3d1)](_0xa936a3){const _0x3c475a=_0x13ba7a;let {left:_0x97ff50,top:_0x1a3d3b,width:_0x3c9326,height:_0x5b0487}=this[_0x3c475a(0x458)](),_0x9dacb1=_0x97ff50+_0x3c9326/0x2,_0x58741e=_0x1a3d3b+_0x5b0487/0x2,_0xf8508c=this[_0x3c475a(0x474)][_0x3c475a(0x1a9)](),_0x53bfd6=new _0x3458ba[(_0x3c475a(0x4c7))]([_0xf8508c[0x0],_0xf8508c[0x1],_0xf8508c[0x2],_0xf8508c[0x3],_0x9dacb1,_0x58741e]),_0x415380=this['getParent'](),_0x4bf578=(this[_0x3c475a(0x4cc)]&&(_0x415380==null?void 0x0:_0x415380[_0x3c475a(0x399)])===_0x3458ba[_0x3c475a(0x1c4)][_0x3c475a(0x44f)]?_0x415380[_0x3c475a(0x1c6)]['multiply'](_0x53bfd6):_0x53bfd6)[_0x3c475a(0x56e)]()['applyPoint'](_0xa936a3),_0x10e898=_0x3c9326/0x2,_0x2ad52d=_0x5b0487/0x2,_0x343643=this['_props'][_0x3c475a(0x447)];return _0x343643&&_0x343643['isLineShape']()?_0x343643[_0x3c475a(0x27a)](_0x4bf578['x'],_0x4bf578['y'],_0x3c9326,_0x5b0487):_0x4bf578['x']>=-_0x10e898-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['x']<=_0x10e898+this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']>=-_0x2ad52d-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']<=_0x2ad52d+this['strokeWidth']/0x2;}['dispose'](){const _0x4887a2=_0x13ba7a;this[_0x4887a2(0x1d9)][_0x4887a2(0x206)](),this['_props']['shapeModel']=null,super[_0x4887a2(0x206)]();}},_0x537ea9=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x47d0fa,_0x53d398){const _0x1d1b59=_0x13ba7a;super(_0x47d0fa,_0x53d398),_0x5ae661(this,_0x1d1b59(0x373),null),_0x5ae661(this,_0x1d1b59(0x25a),null),_0x5ae661(this,_0x1d1b59(0x35d),null),_0x5ae661(this,_0x1d1b59(0x2cf),null),_0x53d398&&this['setShapeProps'](_0x53d398);}[_0x13ba7a(0x2c8)](){const _0x341a3e=_0x13ba7a;return{'unitId':this[_0x341a3e(0x35d)],'subUnitId':this[_0x341a3e(0x2cf)],'drawingId':this[_0x341a3e(0x373)]};}[_0x13ba7a(0x2b1)](_0x4a6f6){const _0x122825=_0x13ba7a;_0x4a6f6[_0x122825(0x42a)]!==void 0x0&&(this['_shapeId']=_0x4a6f6[_0x122825(0x42a)]),_0x4a6f6[_0x122825(0x216)]!==void 0x0&&(this['_adjName']=_0x4a6f6[_0x122825(0x216)]),_0x4a6f6[_0x122825(0x26e)]!==void 0x0&&(this[_0x122825(0x35d)]=_0x4a6f6[_0x122825(0x26e)]),_0x4a6f6[_0x122825(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4a6f6[_0x122825(0x354)]),this[_0x122825(0x3e2)]({'width':_0x4a6f6[_0x122825(0x1dd)],'height':_0x4a6f6['height']});}[_0x13ba7a(0x2fa)](_0x4f88f0){const _0x46e029=_0x13ba7a;_0x3458ba[_0x46e029(0x4da)]['drawWith'](_0x4f88f0,{'radius':_0xd67e3f[_0x46e029(0x225)][_0x46e029(0x1d3)],'fill':_0xd67e3f[_0x46e029(0x225)]['adjHandleFill'],'stroke':_0xd67e3f['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x174396(_0x2a4618,_0x1bf059){return function(_0x155de9,_0x2a1330){_0x1bf059(_0x155de9,_0x2a1330,_0x2a4618);};}function _0x12f75a(_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c){const _0x3fd3f5=_0x13ba7a;var _0x4aa284=arguments[_0x3fd3f5(0x45b)],_0x4dd386=_0x4aa284<0x3?_0xc6f380:_0x407a1c===null?_0x407a1c=Object[_0x3fd3f5(0x3ed)](_0xc6f380,_0xbf811):_0x407a1c,_0x45c30f;if(typeof Reflect==_0x3fd3f5(0x276)&&typeof Reflect['decorate']==_0x3fd3f5(0x304))_0x4dd386=Reflect[_0x3fd3f5(0x230)](_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c);else{for(var _0x15fb5=_0x23edc4['length']-0x1;_0x15fb5>=0x0;_0x15fb5--)(_0x45c30f=_0x23edc4[_0x15fb5])&&(_0x4dd386=(_0x4aa284<0x3?_0x45c30f(_0x4dd386):_0x4aa284>0x3?_0x45c30f(_0xc6f380,_0xbf811,_0x4dd386):_0x45c30f(_0xc6f380,_0xbf811))||_0x4dd386);}return _0x4aa284>0x3&&_0x4dd386&&Object[_0x3fd3f5(0x4d8)](_0xc6f380,_0xbf811,_0x4dd386),_0x4dd386;}let _0x5191eb=class extends _0x10e5f9['Disposable']{constructor(_0x3664d7,_0x712e95,_0xcad439,_0x312a35,_0x1d5052,_0x505667){const _0x59dc62=_0x13ba7a;super(),this[_0x59dc62(0x3c5)]=_0x3664d7,this['_sheetsShapeService']=_0x712e95,this[_0x59dc62(0x31e)]=_0xcad439,this[_0x59dc62(0x592)]=_0x312a35,this[_0x59dc62(0x19c)]=_0x1d5052,this[_0x59dc62(0x306)]=_0x505667,_0x5ae661(this,_0x59dc62(0x2e6),new Map()),this[_0x59dc62(0x47f)](this['_shapeFormulaService']['presentationChanged$']['subscribe'](_0x15445d=>{const _0x455c0f=_0x59dc62;var _0x42d571;(_0x42d571=this[_0x455c0f(0x2e6)][_0x455c0f(0x468)](this[_0x455c0f(0x3b9)](_0x15445d[_0x455c0f(0x26e)],_0x15445d[_0x455c0f(0x354)],_0x15445d['shapeId'])))==null||_0x42d571[_0x455c0f(0x34a)](_0x382077=>_0x382077[_0x455c0f(0x4aa)](_0x15445d[_0x455c0f(0x32c)],_0x15445d[_0x455c0f(0x544)]));})),this[_0x59dc62(0x47f)](this['_drawingManagerService'][_0x59dc62(0x1f5)][_0x59dc62(0x358)](_0x48b4a8=>{const _0x57191c=_0x59dc62;_0x48b4a8[_0x57191c(0x34a)](_0xd88c09=>{const _0x1f28d8=_0x57191c;this[_0x1f28d8(0x306)][_0x1f28d8(0x21a)]({'unitId':_0xd88c09['unitId'],'subUnitId':_0xd88c09[_0x1f28d8(0x354)],'shapeId':_0xd88c09[_0x1f28d8(0x272)]}),this[_0x1f28d8(0x2e6)][_0x1f28d8(0x19b)](this['_formulaKey'](_0xd88c09['unitId'],_0xd88c09['subUnitId'],_0xd88c09[_0x1f28d8(0x272)]));});}));}[_0x13ba7a(0x4e7)](_0x477902,_0x19a35e,_0x25246c){const _0x4246d9=_0x13ba7a;let {transform:_0xa5c6ee,drawingType:_0x34df82,srcRect:_0x43f98e,prstGeom:_0x483571,groupId:_0x4370ab,unitId:_0xe8fab6,subUnitId:_0x53e65e,drawingId:_0x2cb877,isMultiTransform:_0x3bfa32,transforms:_0x37a4f2,hidden:_0x39a62e,selectable:_0x1a2615}=_0x477902;if(_0x34df82!==_0x10e5f9[_0x4246d9(0x2e1)][_0x4246d9(0x20d)]||!this[_0x4246d9(0x3c5)][_0x4246d9(0x391)]()||_0xa5c6ee==null)return;let _0x5569f5=this[_0x4246d9(0x3c5)][_0x4246d9(0x4eb)](),_0x42802a=_0x3bfa32&&_0x37a4f2?_0x37a4f2:[_0xa5c6ee],_0x2cfd28=[];for(let _0x50f97c of _0x42802a){let {left:_0x213121,top:_0x55f49a,width:_0x4f681c,height:_0x120fd1,angle:_0xb41b03,flipX:_0x585186,flipY:_0x5ebf15,skewX:_0x82d406,skewY:_0x5550be}=_0x50f97c,_0x30880a=_0x42802a['indexOf'](_0x50f97c),_0x5cb8db=(0x0,_0x15864b[_0x4246d9(0x2df)])({'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'drawingId':_0x2cb877},_0x3bfa32?_0x30880a:void 0x0),_0x8581e7=_0x19a35e['getObjectIncludeInGroup'](_0x5cb8db);if(_0x8581e7!=null){let _0x4c16d={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x8581e7 instanceof _0x402866&&this['refreshFormulaPresentation'](_0x8581e7,_0x4c16d),_0x8581e7['transformByState']({'left':_0x213121,'top':_0x55f49a,'width':_0x4f681c,'height':_0x120fd1,'angle':_0xb41b03,'flipX':_0x585186,'flipY':_0x5ebf15,'skewX':_0x82d406,'skewY':_0x5550be});continue;}let _0x3fd21c=this[_0x4246d9(0x3c5)][_0x4246d9(0x537)](_0xe8fab6,_0x53e65e),_0x2db25b=_0x3fd21c['indexOf'](_0x2cb877);if(_0x19a35e[_0x4246d9(0x1a7)](_0x5cb8db)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x15a2bb=this['_sheetsShapeService'][_0x4246d9(0x2f5)](_0xe8fab6,_0x53e65e,_0x2cb877);if(!_0x15a2bb)continue;let _0x37c411=(0x0,_0xd67e3f[_0x4246d9(0x36a)])(_0x15a2bb[_0x4246d9(0x21e)]())?{..._0xba932b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0xba932b[_0x4246d9(0x212)],_0x1ac42f=_0x15a2bb['getShapeData']()['formulaBinding'],_0xb34fe2={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x1ac42f&&this[_0x4246d9(0x306)][_0x4246d9(0x529)](_0xb34fe2,_0x1ac42f);let _0x2ff9bf=new _0x402866(_0x5cb8db,{..._0x50f97c,'zIndex':_0x2db25b===-0x1?_0x3fd21c[_0x4246d9(0x45b)]-0x1:_0x2db25b,'shapeModel':_0x15a2bb,'localeService':this[_0x4246d9(0x31e)],'shapeId':_0x2cb877,'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'visible':_0x39a62e!==!0x0,'evented':_0x1a2615!==!0x1,'formulaPresentation':_0x1ac42f?this[_0x4246d9(0x306)][_0x4246d9(0x543)](_0xb34fe2):void 0x0,'animateFormulaPresentation':(_0x1ac42f==null?void 0x0:_0x1ac42f[_0x4246d9(0x544)])!==!0x1,'transformerConfig':_0x37c411});if(_0x1ac42f){let _0x4a0a32=this[_0x4246d9(0x3b9)](_0xe8fab6,_0x53e65e,_0x2cb877),_0x19f891=this[_0x4246d9(0x2e6)]['get'](_0x4a0a32)??new Set();_0x19f891['add'](_0x2ff9bf),this[_0x4246d9(0x2e6)][_0x4246d9(0x455)](_0x4a0a32,_0x19f891);}_0x19a35e[_0x4246d9(0x412)](_0x2ff9bf,_0x3458ba[_0x4246d9(0x4b5)]),_0x5569f5&&_0x19a35e[_0x4246d9(0x446)](_0x2ff9bf),_0x4370ab&&(0x0,_0x2a7f32['insertGroupObject'])({'drawingId':_0x4370ab,'unitId':_0xe8fab6,'subUnitId':_0x53e65e},_0x2ff9bf,_0x19a35e,this[_0x4246d9(0x3c5)]),_0x483571!=null&&_0x2ff9bf[_0x4246d9(0x30e)](_0x483571),_0x43f98e!=null&&_0x2ff9bf[_0x4246d9(0x2e4)](_0x43f98e);let _0x3572cf=this['_loadShapePictureFill'](_0x2ff9bf,_0x15a2bb[_0x4246d9(0x434)]());if(_0x3572cf){var _0xde7557;_0x25246c==null||(_0xde7557=_0x25246c['resourceCollector'])==null||_0xde7557['add'](_0x3572cf);}_0x2cfd28[_0x4246d9(0x1b2)](_0x2ff9bf);}return _0x2cfd28;}[_0x13ba7a(0x3b9)](_0x461920,_0x4b872e,_0xdcdbe){return _0x461920+'\x00'+_0x4b872e+'\x00'+_0xdcdbe;}['refreshFormulaPresentation'](_0x405547,_0x5bcec3){const _0x374bc1=_0x13ba7a;let _0x1480c0=this[_0x374bc1(0x56c)][_0x374bc1(0x2f5)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3[_0x374bc1(0x354)],_0x5bcec3['shapeId']),_0x40fe9f=_0x1480c0==null?void 0x0:_0x1480c0[_0x374bc1(0x434)]()[_0x374bc1(0x1c2)],_0x53f908=this[_0x374bc1(0x3b9)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3['subUnitId'],_0x5bcec3['shapeId']);if(_0x40fe9f){this['_shapeFormulaService'][_0x374bc1(0x529)](_0x5bcec3,_0x40fe9f);let _0xe652e0=this[_0x374bc1(0x2e6)]['get'](_0x53f908)??new Set();_0xe652e0[_0x374bc1(0x278)](_0x405547),this[_0x374bc1(0x2e6)]['set'](_0x53f908,_0xe652e0);}else{var _0x16e1e9;this[_0x374bc1(0x306)]['unregister'](_0x5bcec3),(_0x16e1e9=this[_0x374bc1(0x2e6)]['get'](_0x53f908))==null||_0x16e1e9[_0x374bc1(0x19b)](_0x405547);}_0x405547[_0x374bc1(0x4aa)](_0x40fe9f?this[_0x374bc1(0x306)][_0x374bc1(0x543)](_0x5bcec3):void 0x0,(_0x40fe9f==null?void 0x0:_0x40fe9f[_0x374bc1(0x544)])!==!0x1);}['refreshShapeFillImage'](_0x517259){const _0x33a6b1=_0x13ba7a;let _0x470f07=_0x517259['shapeModel']['getShapeData'](),_0x2c559c=_0x470f07['fill'];if(!_0x2c559c||_0x2c559c[_0x33a6b1(0x55c)]!==_0xd67e3f[_0x33a6b1(0x37a)]['PictureFill']||!_0x2c559c[_0x33a6b1(0x4a0)]){_0x517259[_0x33a6b1(0x1ad)](void 0x0);return;}this[_0x33a6b1(0x547)](_0x517259,_0x470f07);}[_0x13ba7a(0x547)](_0x49b046,_0x25a902){const _0x803e65=_0x13ba7a;let _0x26b3ed=_0x25a902[_0x803e65(0x4ac)];if(!_0x26b3ed||_0x26b3ed[_0x803e65(0x55c)]!==_0xd67e3f['ShapeFillEnum'][_0x803e65(0x3a8)]||!_0x26b3ed[_0x803e65(0x4a0)])return;let _0x514576=_0x26b3ed[_0x803e65(0x4a0)],_0x1241c8=_0x26b3ed[_0x803e65(0x4af)]??_0xd67e3f['ImageSourceTypeEnum']['URL'],_0x195f7a=this[_0x803e65(0x592)]['getImageSourceCache'](_0x514576,_0x1241c8);if(_0x195f7a){_0x49b046[_0x803e65(0x1ad)](_0x195f7a);return;}return this[_0x803e65(0x1ea)](_0x49b046,_0x514576,_0x1241c8);}async[_0x13ba7a(0x1ea)](_0x96e1d8,_0x4f79c3,_0x1558ff){const _0x4a4504=_0x13ba7a;let _0x45116d;try{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x2e5)])_0x45116d=await this[_0x4a4504(0x592)][_0x4a4504(0x3de)](_0x4f79c3);else{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x59c)])try{_0x45116d=await this[_0x4a4504(0x19c)]['getImage'](_0x4f79c3);}catch{_0x45116d=_0x4f79c3;}else _0x45116d=_0x4f79c3;}}catch(_0x32da3e){console[_0x4a4504(0x4fe)](_0x4a4504(0x29c),_0x32da3e);return;}await new Promise(_0x35f67b=>{const _0x419126=_0x4a4504;let _0x3adc02=new window[(_0x419126(0x4a3))]();_0x3adc02['onload']=()=>{const _0x2e87f3=_0x419126;this[_0x2e87f3(0x592)]['addImageSourceCache'](_0x4f79c3,_0x1558ff,_0x3adc02),_0x96e1d8['setFillImage'](_0x3adc02),_0x35f67b();},_0x3adc02[_0x419126(0x23d)]=()=>{const _0x1521b3=_0x419126;console[_0x1521b3(0x4fe)](_0x1521b3(0x4be),_0x4f79c3),_0x35f67b();},_0x3adc02[_0x419126(0x3c3)]=_0x45116d;});}};_0x5191eb=_0x12f75a([_0x174396(0x0,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x2f1)]),_0x174396(0x4,_0x10e5f9['IURLImageService']),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x1397ca[_0x13ba7a(0x485)]))],_0x5191eb);let _0x5507d6=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x55f31d,_0xee006c,_0x4adb43,_0x53ca0b,_0x96143c,_0x585f2c){const _0x361097=_0x13ba7a;super(),this[_0x361097(0x3c5)]=_0x55f31d,this[_0x361097(0x56c)]=_0xee006c,this['_renderManagerService']=_0x4adb43,this[_0x361097(0x599)]=_0x53ca0b,this['_univerInstanceService']=_0x96143c,this['_commandService']=_0x585f2c,_0x5ae661(this,'_activeShapeId',null),_0x5ae661(this,_0x361097(0x35d),null),_0x5ae661(this,_0x361097(0x2cf),null),_0x5ae661(this,'_activeShapeAdjustPointList',void 0x0),_0x5ae661(this,_0x361097(0x469),[]),_0x5ae661(this,_0x361097(0x2be),0x0),_0x5ae661(this,_0x361097(0x477),0x0),_0x5ae661(this,_0x361097(0x49c),0x0),_0x5ae661(this,_0x361097(0x488),0x0),_0x5ae661(this,_0x361097(0x267),!0x1),_0x5ae661(this,_0x361097(0x328),void 0x0),_0x5ae661(this,_0x361097(0x223),void 0x0),_0x5ae661(this,_0x361097(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x361097(0x32b),!0x1),this[_0x361097(0x1fe)](),this[_0x361097(0x36b)]();}['_getShapeAdjustPointListById'](_0x3116d1,_0x575caa,_0x43d4b6){const _0x19388d=_0x13ba7a;let _0x536fec=this[_0x19388d(0x56c)][_0x19388d(0x2f5)](_0x3116d1,_0x575caa,_0x43d4b6);if(_0x536fec)return _0x536fec['getDrawingPoints']();}[_0x13ba7a(0x200)](){this['_clearShapeAdjustControls']();}[_0x13ba7a(0x348)](){const _0x1de88a=_0x13ba7a;this[_0x1de88a(0x54c)](!0x0);}[_0x13ba7a(0x3bb)](_0x4d8a2c){const _0x197b6d=_0x13ba7a;this[_0x197b6d(0x32b)]=_0x4d8a2c;}['_getShapeAdjustInfosById'](_0x2aeea2,_0x470a11,_0x18bc25,_0x56d73d){const _0x19180d=_0x13ba7a;let _0x596db8=this['_sheetsShapeService'][_0x19180d(0x2f5)](_0x2aeea2,_0x470a11,_0x18bc25);if(_0x596db8)return _0x596db8[_0x19180d(0x495)](_0x56d73d);}[_0x13ba7a(0x385)](_0x21744f=!0x1){const _0x3489c3=_0x13ba7a;if(this[_0x3489c3(0x35d)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x246e27=this[_0x3489c3(0x2e2)][_0x3489c3(0x57f)](this[_0x3489c3(0x35d)]);if(!_0x246e27||!_0x246e27[_0x3489c3(0x39e)](_0x189be3['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x3a2046}=_0x246e27,_0x11ac9c={'unitId':this[_0x3489c3(0x35d)],'subUnitId':this[_0x3489c3(0x2cf)],'drawingId':this['_activeShapeId']},_0x594313=this[_0x3489c3(0x3c5)][_0x3489c3(0x3db)](_0x11ac9c),{transform:_0xe59366}=_0x594313;if(!_0xe59366||_0x594313['drawingType']!==_0x10e5f9[_0x3489c3(0x2e1)][_0x3489c3(0x20d)])return;let {left:_0x100118,top:_0x417c39,width:_0x2f31a9,height:_0x155c22,flipX:_0x4214aa,flipY:_0x30c768,angle:_0x88bba4=0x0}=_0xe59366;if(_0x100118===void 0x0||_0x417c39===void 0x0)return;if(_0x21744f){let _0x562dc4=this[_0x3489c3(0x56c)][_0x3489c3(0x2f5)](this[_0x3489c3(0x35d)],this['_subUnitId'],this['_activeShapeId']);_0x562dc4==null||_0x562dc4['updateContext']({'width':_0x2f31a9??0x0,'height':_0x155c22??0x0}),this[_0x3489c3(0x406)]=_0x562dc4==null?void 0x0:_0x562dc4[_0x3489c3(0x524)]();}let _0x3264ca=this['_activeShapeAdjustPointList'];for(let _0x453808=0x0;_0x453808<_0x3264ca['length'];_0x453808++){let _0x5160e5=_0x3264ca[_0x453808],_0x45b43f=_0x5160e5['x'],_0xcd31c4=_0x5160e5['y'];if(_0x4214aa&&(_0x45b43f=(_0x2f31a9||0x0)-_0x45b43f),_0x30c768&&(_0xcd31c4=(_0x155c22||0x0)-_0xcd31c4),_0x88bba4!==0x0){let _0x5662ff=(_0x2f31a9||0x0)/0x2,_0x568b00=(_0x155c22||0x0)/0x2,_0x3ba90a=_0x88bba4*Math['PI']/0xb4,_0x75da0=Math['cos'](_0x3ba90a),_0x1bcbbe=Math[_0x3489c3(0x515)](_0x3ba90a),_0x279366=_0x45b43f-_0x5662ff,_0x48ea57=_0xcd31c4-_0x568b00;_0x45b43f=_0x5662ff+(_0x279366*_0x75da0-_0x48ea57*_0x1bcbbe),_0xcd31c4=_0x568b00+(_0x279366*_0x1bcbbe+_0x48ea57*_0x75da0);}let _0x43388e={'x':_0x45b43f,'y':_0xcd31c4,'adjName':_0x5160e5['adjName']};this[_0x3489c3(0x232)](_0x3a2046,_0x43388e,_0x43388e['adjName'],_0x100118,_0x417c39,this['_unitId'],this[_0x3489c3(0x2cf)]);}}[_0x13ba7a(0x54c)](_0x1fa1f1=!0x1){const _0x2cd4b8=_0x13ba7a;_0x1fa1f1&&(this[_0x2cd4b8(0x33c)](),this[_0x2cd4b8(0x385)](_0x1fa1f1));}[_0x13ba7a(0x232)](_0x1600c5,_0x2a2086,_0x3c8022,_0x49ae34,_0x2334e9,_0x1963c4,_0x2a9e5d){const _0x383ff6=_0x13ba7a;if(!this['_activeShapeId'])return;let _0x1f3ef5=_0x1600c5['getObjectIncludeInGroup'](_0x383ff6(0x4ca)+this[_0x383ff6(0x299)]+'-'+_0x3c8022);if(_0x1f3ef5){_0x1f3ef5['transformByState']({'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]});return;}let _0x858b9d={'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f[_0x383ff6(0x225)]['adjHandleSize'],'adjName':_0x3c8022,'shapeId':this[_0x383ff6(0x299)],'unitId':_0x1963c4,'subUnitId':_0x2a9e5d,'width':_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x383ff6(0x4b5)]+0x1,'evented':!0x0},_0x290893=new _0x537ea9('shape-adjust-point-'+this[_0x383ff6(0x299)]+'-'+_0x3c8022,_0x858b9d);this[_0x383ff6(0x469)][_0x383ff6(0x1b2)](_0x290893),this[_0x383ff6(0x3ea)](_0x290893,_0x1600c5,_0x3c8022),_0x1600c5[_0x383ff6(0x412)](_0x290893,_0x3458ba[_0x383ff6(0x4b5)]+0x1);}['_clearShapeAdjustControls'](){const _0x413e26=_0x13ba7a;this[_0x413e26(0x469)]['length']!==0x0&&(this[_0x413e26(0x469)][_0x413e26(0x34a)](_0x43da45=>{const _0xd4a123=_0x413e26;_0x43da45[_0xd4a123(0x206)]();}),this[_0x413e26(0x469)]=[]);}[_0x13ba7a(0x3fc)](){const _0x5c18e1=_0x13ba7a;this[_0x5c18e1(0x385)]();}['_getScrollInfo'](_0x198923,_0x2fd553){const _0x3410ed=_0x13ba7a;var _0x43aa52;let _0x1e69f5={'x':0x0,'y':0x0};if(!_0x198923||!_0x2fd553)return _0x1e69f5;let _0x44db17=this['_renderManagerService'][_0x3410ed(0x57f)](_0x198923);if(!_0x44db17||!_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x277)])[_0x3410ed(0x50c)](_0x2fd553))return _0x1e69f5;let _0x4912f8=_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x51c)]),_0x2603b4=_0x4912f8==null?void 0x0:_0x4912f8[_0x3410ed(0x294)]();if(!_0x2603b4)return _0x1e69f5;let _0x317246=(_0x43aa52=this[_0x3410ed(0x583)][_0x3410ed(0x4a9)](_0x198923))==null?void 0x0:_0x43aa52[_0x3410ed(0x1ed)](_0x2fd553);if(!_0x317246)return _0x1e69f5;let _0x3f6a5d=(0x0,_0x189be3[_0x3410ed(0x501)])(_0x2603b4[_0x3410ed(0x3b6)],_0x2603b4['sheetViewStartColumn'],_0x44db17[_0x3410ed(0x2a7)],_0x317246);return _0x3f6a5d?{'x':_0x3f6a5d[_0x3410ed(0x1ff)],'y':_0x3f6a5d['viewportScrollY']}:_0x1e69f5;}['_getZoomRatio'](_0x35bd63,_0x151e9b){const _0x108040=_0x13ba7a;var _0x1c62e9;let _0x52950b=(_0x1c62e9=this[_0x108040(0x583)]['getUnit'](_0x35bd63))==null?void 0x0:_0x1c62e9[_0x108040(0x1ed)](_0x151e9b);return(_0x52950b==null?void 0x0:_0x52950b[_0x108040(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0x33bff8,_0x3e3955,_0x38e9e7){const _0x2764ab=_0x13ba7a;this[_0x2764ab(0x47f)]((0x0,_0x10e5f9['toDisposable'])(_0x33bff8[_0x2764ab(0x27e)][_0x2764ab(0x2f6)]((_0x3cc4d2,_0x1c7efe)=>{const _0xea0773=_0x2764ab;var _0x24c369,_0x5865ec,_0x25b99b,_0x7eb598;let _0x264be0=_0x33bff8[_0xea0773(0x2c8)]();this[_0xea0773(0x328)]=this[_0xea0773(0x530)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0['drawingId'],_0x38e9e7),this['_activeShapeModel']=this['_sheetsShapeService'][_0xea0773(0x2f5)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0[_0xea0773(0x272)]);let _0x5c112a=this[_0xea0773(0x3c5)][_0xea0773(0x3db)]({'unitId':this[_0xea0773(0x35d)],'subUnitId':this['_subUnitId'],'drawingId':this[_0xea0773(0x299)]}),{transform:_0x3713f3}=_0x5c112a;if(_0x3713f3){let {left:_0x41176d,top:_0x51ae89,width:_0x33fea8,height:_0x387661}=_0x3713f3;this[_0xea0773(0x2be)]=_0x41176d||0x0,this[_0xea0773(0x477)]=_0x51ae89||0x0,this[_0xea0773(0x49c)]=_0x33fea8||0x0,this[_0xea0773(0x488)]=_0x387661||0x0;}let _0xed9f0f=!!((_0x24c369=_0x5c112a[_0xea0773(0x474)])!=null&&_0x24c369[_0xea0773(0x553)]),_0xed29f6=!!((_0x5865ec=_0x5c112a[_0xea0773(0x474)])!=null&&_0x5865ec[_0xea0773(0x3ec)]),_0x399194=((_0x25b99b=_0x5c112a[_0xea0773(0x474)])==null?void 0x0:_0x25b99b[_0xea0773(0x36f)])||0x0;this[_0xea0773(0x267)]=!0x0,_0x3e3955[_0xea0773(0x1ce)]();let _0x6bd1d1={...((_0x7eb598=this['_activeAdjustInfo'])==null?void 0x0:_0x7eb598[_0xea0773(0x3b0)])??{}};this[_0xea0773(0x27d)]=_0x3e3955[_0xea0773(0x3af)][_0xea0773(0x2f6)]((_0x24863b,_0x20d52e)=>{const _0x37f03d=_0xea0773;if(!this['_isStartAdjusting'])return;let {offsetX:_0x51968c,offsetY:_0x189899}=_0x24863b,_0x2197f8=this[_0x37f03d(0x328)];if(this[_0x37f03d(0x223)]&&_0x2197f8){_0x3e3955[_0x37f03d(0x1ce)](),_0x3e3955['setCursor'](_0x3458ba['CURSOR_TYPE']['CROSSHAIR']);let _0x116a8c={'left':0x0,'top':0x0,'width':this[_0x37f03d(0x49c)],'height':this[_0x37f03d(0x488)]},_0x3f90c9=this['_getScrollInfo'](this['_unitId'],this['_subUnitId']),_0x101961=this['_getZoomRatio'](this['_unitId'],this['_subUnitId']),_0x230e0f=_0x51968c/_0x101961+_0x3f90c9['x']-this[_0x37f03d(0x2be)],_0x34fe49=_0x189899/_0x101961+_0x3f90c9['y']-this[_0x37f03d(0x477)];if(_0x399194!==0x0){let _0x302d81=this[_0x37f03d(0x49c)]/0x2,_0x3e5475=this[_0x37f03d(0x488)]/0x2,_0x3a4436=_0x399194*Math['PI']/0xb4,_0x133469=Math['cos'](_0x3a4436),_0x194d45=Math[_0x37f03d(0x515)](_0x3a4436),_0xab0ea8=_0x230e0f-_0x302d81,_0x235e1d=_0x34fe49-_0x3e5475;_0x230e0f=_0x302d81+(_0xab0ea8*_0x133469+_0x235e1d*_0x194d45),_0x34fe49=_0x3e5475+(-_0xab0ea8*_0x194d45+_0x235e1d*_0x133469);}_0xed9f0f&&(_0x230e0f=this['_baseShapeWidth']-_0x230e0f),_0xed29f6&&(_0x34fe49=this[_0x37f03d(0x488)]-_0x34fe49);let _0x50fd8f={'x':_0x230e0f,'y':_0x34fe49},_0x170cf4=this[_0x37f03d(0x223)]['calcAdjValues'](_0x116a8c,_0x50fd8f,_0x2197f8,_0xed9f0f,_0xed29f6);if(Object[_0x37f03d(0x533)](_0x170cf4)[_0x37f03d(0x45b)]===0x0)return;for(let [_0x27696f,_0x36c364]of Object[_0x37f03d(0x4d1)](_0x170cf4))this['_activeShapeModel']['setAdjustValueByName'](_0x27696f,_0x36c364);this[_0x37f03d(0x223)][_0x37f03d(0x523)]({'width':this['_baseShapeWidth'],'height':this[_0x37f03d(0x488)]});let _0x346f19=this[_0x37f03d(0x3c5)][_0x37f03d(0x3db)]({'unitId':_0x264be0['unitId'],'subUnitId':_0x264be0['subUnitId'],'drawingId':_0x264be0[_0x37f03d(0x272)]});_0x346f19&&(this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x346f19,_0x3e3955),this['_activeShapeAdjustPointList']=this[_0x37f03d(0x40e)](_0x264be0[_0x37f03d(0x26e)],_0x264be0['subUnitId'],_0x264be0['drawingId']),this['_updateAdjustControlPositions']());}_0x20d52e[_0x37f03d(0x49f)]();}),this[_0xea0773(0x234)]=_0x3e3955[_0xea0773(0x54b)][_0xea0773(0x2f6)]((_0x26f419,_0x11f2a7)=>{const _0x2b00d1=_0xea0773;this[_0x2b00d1(0x27d)]['unsubscribe'](),this['_adjHandlerPointerUp'][_0x2b00d1(0x539)](),_0x3e3955[_0x2b00d1(0x22f)]();let _0x83c1ca=this['_activeAdjustInfo'];if(_0x83c1ca){let _0x544021=_0x264be0[_0x2b00d1(0x26e)],_0x57205c=_0x264be0[_0x2b00d1(0x354)],_0x50c06b=_0x264be0[_0x2b00d1(0x272)],_0x5910a5={};for(let _0x373023 of Object['keys'](_0x83c1ca[_0x2b00d1(0x3b0)])){var _0x4bf65e;let _0x19e159=(_0x4bf65e=this[_0x2b00d1(0x223)])==null?void 0x0:_0x4bf65e[_0x2b00d1(0x29f)](_0x373023);_0x19e159!==void 0x0&&(_0x5910a5[_0x373023]=_0x19e159);}Object['keys'](_0x5910a5)[_0x2b00d1(0x45b)]>0x0&&_0x2b1bec(this[_0x2b00d1(0x558)],_0x544021,_0x57205c,_0x50c06b,{'oldShapeData':{'adjustValues':_0x6bd1d1}},{'adjustValues':_0x5910a5});}this[_0x2b00d1(0x328)]=void 0x0,this[_0x2b00d1(0x223)]=void 0x0,this[_0x2b00d1(0x267)]=!0x1,_0x11f2a7['stopPropagation'](),_0x3e3955[_0x2b00d1(0x51a)]();}),_0x1c7efe[_0xea0773(0x49f)]();})));}[_0x13ba7a(0x36b)](){const _0x1f681d=_0x13ba7a;let _0x3026c7=this[_0x1f681d(0x583)][_0x1f681d(0x3d3)](_0x10e5f9[_0x1f681d(0x503)][_0x1f681d(0x450)]);this[_0x1f681d(0x47f)](_0x3026c7[_0x1f681d(0x560)]((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x50f7a9=>_0x50f7a9?_0x50f7a9[_0x1f681d(0x259)]['pipe']((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x4e6301=>{const _0x168d5c=_0x1f681d;if(!_0x4e6301)return _0x364ff4[_0x168d5c(0x362)];let _0x2b65f6=_0x50f7a9['getUnitId'](),_0x4fd6ff=this[_0x168d5c(0x2e2)][_0x168d5c(0x57f)](_0x2b65f6),_0x1c98f9=_0x4fd6ff==null?void 0x0:_0x4fd6ff['scene'];return _0x1c98f9?(0x0,_0x364ff4['of'])(_0x1c98f9):_0x364ff4['EMPTY'];})):_0x364ff4[_0x1f681d(0x362)]))[_0x1f681d(0x358)](_0x1aa19d=>{const _0x2ee125=_0x1f681d;let _0x20c8ba=_0x1aa19d[_0x2ee125(0x22d)]();this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x3af)][_0x2ee125(0x2f6)](()=>{const _0x4c1f39=_0x2ee125;this[_0x4c1f39(0x32b)];})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x202)][_0x2ee125(0x358)](_0x34ddb2=>{const _0xca3afb=_0x2ee125;let {objects:_0x177c5d}=_0x34ddb2;this[_0xca3afb(0x385)](),_0x177c5d!==null&&_0x177c5d[_0xca3afb(0x3ba)]===0x1&&_0x177c5d[_0xca3afb(0x1cb)]()[_0xca3afb(0x475)]()[_0xca3afb(0x472)]instanceof _0x402866&&this['setShouldShowAdjust'](!0x0);})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x42f)][_0x2ee125(0x358)](()=>{const _0x3f099c=_0x2ee125;this[_0x3f099c(0x32b)]&&this[_0x3f099c(0x33c)]();})),this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x54b)][_0x2ee125(0x2f6)](()=>{const _0x22d26e=_0x2ee125;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x22d26e(0x3bb)](!0x1),this[_0x22d26e(0x385)]());})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x2dc)]['subscribe'](()=>{const _0x3f0a60=_0x2ee125;this['_unitId']&&this[_0x3f0a60(0x2cf)]&&this[_0x3f0a60(0x299)]&&this[_0x3f0a60(0x3c5)][_0x3f0a60(0x3db)]({'unitId':this[_0x3f0a60(0x35d)],'subUnitId':this[_0x3f0a60(0x2cf)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this[_0x3f0a60(0x40e)](this[_0x3f0a60(0x35d)],this[_0x3f0a60(0x2cf)],this['_activeShapeId']),this[_0x3f0a60(0x3fc)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x2a22a3=_0x13ba7a;this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x558)][_0x2a22a3(0x1ac)](_0x5c1d79=>{const _0x6a40ed=_0x2a22a3;if(_0x5c1d79['id']!==_0x2f2bb5['UpdateSheetsShapeDataMutation']['id'])return;let {unitId:_0x7fabc6,subUnitId:_0x335783,shapeId:_0x180ee0}=_0x5c1d79[_0x6a40ed(0x352)];_0x7fabc6===this[_0x6a40ed(0x35d)]&&_0x335783===this[_0x6a40ed(0x2cf)]&&_0x180ee0===this[_0x6a40ed(0x299)]&&this['refreshAdjustControls']();})),this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x332)]['subscribe'](_0x18066a=>{const _0x562fec=_0x2a22a3;if(_0x18066a['length']===0x1){let _0x563bf1=_0x18066a[0x0];if(_0x563bf1['drawingType']===_0x10e5f9[_0x562fec(0x2e1)][_0x562fec(0x20d)]&&this[_0x562fec(0x583)]['getUnitType'](_0x563bf1[_0x562fec(0x26e)])===_0x10e5f9[_0x562fec(0x503)][_0x562fec(0x450)]){this['_activeShapeId']=_0x563bf1[_0x562fec(0x272)];let {unitId:_0x1632c3,subUnitId:_0x2573ed}=_0x563bf1;this[_0x562fec(0x406)]=this[_0x562fec(0x40e)](_0x1632c3,_0x2573ed,this[_0x562fec(0x299)]),this[_0x562fec(0x35d)]=_0x1632c3,this[_0x562fec(0x2cf)]=_0x2573ed,this['_clearShapeAdjustControls'](),this[_0x562fec(0x385)]();return;}}this[_0x562fec(0x299)]=null,this[_0x562fec(0x406)]=void 0x0,this[_0x562fec(0x35d)]=null,this[_0x562fec(0x2cf)]=null,this[_0x562fec(0x33c)]();})),this[_0x2a22a3(0x47f)](this['_drawingManagerService'][_0x2a22a3(0x28e)]['subscribe'](_0x2d9427=>{const _0x351abb=_0x2a22a3;if(_0x2d9427[_0x351abb(0x45b)]===0x1){var _0x2f2c17;let _0x2ba62f=_0x2d9427[0x0];((_0x2f2c17=this[_0x351abb(0x3c5)]['getDrawingByParam'](_0x2ba62f))==null?void 0x0:_0x2f2c17[_0x351abb(0x52e)])===_0x10e5f9['DrawingTypeEnum'][_0x351abb(0x20d)]&&this[_0x351abb(0x54c)](!0x0);}})),this['disposeWithMe'](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x1f5)][_0x2a22a3(0x358)](_0x3a5996=>{const _0x55c72a=_0x2a22a3;for(let _0x188a6a of _0x3a5996)this[_0x55c72a(0x299)]===_0x188a6a['drawingId']&&(this[_0x55c72a(0x299)]=null,this[_0x55c72a(0x406)]=void 0x0,this[_0x55c72a(0x35d)]=null,this['_subUnitId']=null,this[_0x55c72a(0x33c)]());}));}};_0x5507d6=_0x12f75a([_0x174396(0x0,_0x15864b['IDrawingManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x5191eb)),_0x174396(0x4,_0x10e5f9['IUniverInstanceService']),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)])],_0x5507d6);let _0x34de34={'id':_0x13ba7a(0x319),'type':_0x10e5f9['CommandType'][_0x13ba7a(0x215)],'handler':(_0x1dab06,_0x4ad171)=>{const _0x62e4be=_0x13ba7a;let _0x46d9eb=_0x1dab06[_0x62e4be(0x468)](_0x15864b[_0x62e4be(0x4e8)]),_0x3a0429=_0x1dab06[_0x62e4be(0x468)](_0x3458ba[_0x62e4be(0x2a5)]),_0x17b473=_0x1dab06[_0x62e4be(0x468)](_0x5507d6);if(_0x4ad171==null)return!0x0;if(_0x4ad171[_0x62e4be(0x45b)]>0x0){var _0x13c83e;let _0x2f5c4a=(_0x13c83e=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null?void 0x0:_0x13c83e[_0x62e4be(0x2a7)];if(_0x2f5c4a){let {unitId:_0x519bf3,subUnitId:_0x5d6d13,drawingId:_0x52bad3}=_0x4ad171[0x0],_0xad6c2d=(0x0,_0x15864b[_0x62e4be(0x2df)])({'unitId':_0x519bf3,'subUnitId':_0x5d6d13,'drawingId':_0x52bad3},void 0x0),_0x584c12=_0x2f5c4a[_0x62e4be(0x1a7)](_0xad6c2d);if(_0x584c12){var _0x10a0e6;(_0x10a0e6=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null||(_0x10a0e6=_0x10a0e6[_0x62e4be(0x2a7)][_0x62e4be(0x36c)]())==null||_0x10a0e6[_0x62e4be(0x3d8)](_0x584c12);}}_0x46d9eb[_0x62e4be(0x3f9)](_0x4ad171),_0x17b473['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x313c0d={'type':_0x10e5f9['CommandType'][_0x13ba7a(0x45c)],'id':'sheet.command.menu-insert-shape','handler':async(_0x58ecb2,_0x4a861e)=>{const _0xebdd31=_0x13ba7a;let _0x437eb8=(0x0,_0x32abfe[_0xebdd31(0x39c)])(_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9[_0xebdd31(0x41d)]));if(!_0x437eb8)return!0x1;let _0x3392b9=_0x58ecb2['get'](_0x32abfe[_0xebdd31(0x3cf)])[_0xebdd31(0x4fc)]();if(!_0x3392b9)return!0x1;let _0x2aec38=_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9['ICommandService']),{unitId:_0xcb75ca,subUnitId:_0x56272e}=_0x437eb8,{value:_0x19c370,enhanceParams:_0x239a10}=_0x4a861e,{range:_0x35da8c}=_0x3392b9,_0x413ed7={'unitId':_0xcb75ca,'subUnitId':_0x56272e,'shapeType':_0x19c370,'range':_0x35da8c,'shapeId':(0x0,_0x10e5f9[_0xebdd31(0x30b)])()};if(_0x239a10){let _0x288c2c=(0x0,_0xd67e3f[_0xebdd31(0x36a)])(_0x19c370),_0x590407=_0x19c370===_0xd67e3f['ShapeTypeEnum'][_0xebdd31(0x1ae)];_0x288c2c&&(_0x239a10[_0xebdd31(0x313)]||_0x239a10[_0xebdd31(0x3c8)])&&(_0x413ed7[_0xebdd31(0x429)]={'ln':{'startArrow':_0x239a10[_0xebdd31(0x313)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)][_0xebdd31(0x528)],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x419)]}:void 0x0,'endArrow':_0x239a10[_0xebdd31(0x3c8)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)]['Arrow'],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x4c0)]}:void 0x0}}),_0x590407&&(_0x239a10[_0xebdd31(0x44d)]||_0x239a10[_0xebdd31(0x2d3)])&&(_0x413ed7[_0xebdd31(0x429)]=(0x0,_0x1397ca[_0xebdd31(0x270)])({'fill':{'fillType':_0xd67e3f[_0xebdd31(0x37a)][_0xebdd31(0x493)],'color':'#FFFFFF'},'isHorizontal':!!_0x239a10['horizontal'],'stroke':{'lineStrokeType':_0xd67e3f['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0xebdd31(0x2b2)}}));}let _0x93ae23=_0x2aec38[_0xebdd31(0x1f8)](_0x2f2bb5[_0xebdd31(0x1dc)]['id'],_0x413ed7);return setTimeout(()=>{const _0x5315b7=_0xebdd31;_0x2aec38[_0x5315b7(0x274)](_0x34de34['id'],[{'unitId':_0xcb75ca,'subUnitId':_0x56272e,'drawingId':_0x413ed7[_0x5315b7(0x42a)]}]);},0xc8),_0x93ae23;}},_0x6fddbc=_0x13ba7a(0x52a),_0x4dafcd=_0x13ba7a(0x58b),_0x42484a=_0x13ba7a(0x1d4),_0x523b08=_0x13ba7a(0x3aa),_0x28b28e=(0x0,_0x10e5f9[_0x13ba7a(0x359)])(_0x13ba7a(0x262)),_0x41bb10='sheet.shape.text.float-menu',_0x3a0e82={'id':_0x13ba7a(0x4f8),'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x45c)],'handler':(_0x441586,_0x3b1952)=>{const _0x1043fc=_0x13ba7a;let _0x554d10=_0x441586['get'](_0x187e10[_0x1043fc(0x546)]),_0x3cb88c=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x482)]),_0xa466db=_0x441586['get'](_0x10e5f9[_0x1043fc(0x41d)]),_0x14f056=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x297)]);return(0x0,_0x32abfe[_0x1043fc(0x39c)])(_0xa466db)?(_0x3b1952==null?void 0x0:_0x3b1952['value'])===_0x1043fc(0x30a)?(_0x554d10[_0x1043fc(0x30a)](_0x4dafcd),!0x0):(_0x554d10[_0x1043fc(0x269)]({'id':_0x4dafcd,'header':{'title':_0x3cb88c['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x4dafcd},'onClose':()=>{const _0x56e284=_0x1043fc;_0x14f056['syncExecuteCommand'](_0x15864b[_0x56e284(0x2e8)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x47ad5b={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x51e),'handler'(){return!0x0;}};function _0x6d2ea(_0x4e32ce){const _0xb3452=_0x13ba7a;let _0x48e2d2=_0x4e32ce[_0xb3452(0x468)](_0x15864b[_0xb3452(0x4e8)])[_0xb3452(0x1da)](),_0x7f7d9d=_0x48e2d2['length']===0x1?_0x48e2d2[0x0]:null;if(!_0x7f7d9d||_0x7f7d9d[_0xb3452(0x52e)]!==_0x10e5f9[_0xb3452(0x2e1)][_0xb3452(0x20d)])return null;let _0x48651c=_0x4e32ce[_0xb3452(0x468)](_0x2f2bb5[_0xb3452(0x4d3)]),_0x4b1523=_0x48651c[_0xb3452(0x42b)](_0x7f7d9d[_0xb3452(0x26e)],_0x7f7d9d['subUnitId'],_0x7f7d9d[_0xb3452(0x272)]),_0x5a4fc8=_0x48651c[_0xb3452(0x204)](_0x7f7d9d['unitId'],_0x7f7d9d[_0xb3452(0x354)],_0x7f7d9d[_0xb3452(0x272)]);return _0x4b1523===void 0x0||!_0x5a4fc8?null:{'drawing':_0x7f7d9d,'shapeData':_0x5a4fc8,'shapeType':_0x4b1523};}let _0x25693e={'id':'sheet.operation.apply-shape-quick-style','type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'handler':(_0x19528f,_0x3b1159)=>{const _0x5084da=_0x13ba7a;let _0x49b3d3=_0x6d2ea(_0x19528f),_0x4c8abb=(0x0,_0x1397ca[_0x5084da(0x471)])((_0x3b1159==null?void 0x0:_0x3b1159[_0x5084da(0x491)])??(_0x3b1159==null?void 0x0:_0x3b1159['value'])??'');if(!_0x49b3d3||!_0x4c8abb||_0x4c8abb['type']!==(0x0,_0x1397ca[_0x5084da(0x1b1)])(_0x49b3d3[_0x5084da(0x429)]))return!0x1;let _0x342270=(0x0,_0x1397ca[_0x5084da(0x1aa)])(_0x49b3d3['shapeData'],_0x4c8abb);if(!_0x342270)return!0x1;let {drawing:_0x2df4fd}=_0x49b3d3;return _0x19528f[_0x5084da(0x468)](_0x10e5f9['ICommandService'])[_0x5084da(0x274)](_0x6c1302['id'],{'unitId':_0x2df4fd[_0x5084da(0x26e)],'subUnitId':_0x2df4fd[_0x5084da(0x354)],'shapeId':_0x2df4fd[_0x5084da(0x272)],'shapeData':_0x342270,'oldShapeJSON':{'oldShapeData':_0x49b3d3[_0x5084da(0x429)]}});}},_0x18da86={'id':_0x13ba7a(0x1a2),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler':(_0xd9ea9c,_0x5e0c2a)=>{const _0xb4e519=_0x13ba7a;let _0x5ab80b=_0x6d2ea(_0xd9ea9c),_0x3e3ee4=(_0x5e0c2a==null?void 0x0:_0x5e0c2a[_0xb4e519(0x25e)])??(_0x5e0c2a==null?void 0x0:_0x5e0c2a['value']);if(!_0x5ab80b||!_0x3e3ee4||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x5ab80b['shapeType'])||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x3e3ee4))return!0x1;let _0x3f295d=(0x0,_0x1397ca[_0xb4e519(0x4ed)])(_0x5ab80b[_0xb4e519(0x429)],_0x3e3ee4);if(!_0x3f295d)return!0x1;let {drawing:_0x4895f6}=_0x5ab80b;return _0xd9ea9c[_0xb4e519(0x468)](_0x10e5f9['ICommandService'])['executeCommand'](_0x6c1302['id'],{'unitId':_0x4895f6[_0xb4e519(0x26e)],'subUnitId':_0x4895f6[_0xb4e519(0x354)],'shapeId':_0x4895f6['drawingId'],'shapeType':_0x3e3ee4,'shapeData':_0x3f295d,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x5ab80b['shapeType'],'oldShapeData':_0x5ab80b[_0xb4e519(0x429)]}});}},_0x29f473=class extends _0x10e5f9['Disposable']{constructor(_0xf29365,_0x40d972){const _0x509bc3=_0x13ba7a;super(),this['_clipService']=_0xf29365,this[_0x509bc3(0x3c5)]=_0x40d972,this[_0x509bc3(0x478)](),this['_clipService'][_0x509bc3(0x58a)](!0x0),this[_0x509bc3(0x47f)]({'dispose':()=>this['_clipService'][_0x509bc3(0x58a)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x36d216=_0x13ba7a;let _0x3a12e5=this[_0x36d216(0x54a)],_0x9df45d=new Map(),_0x43c318=_0x3a12e5['registerClipDelegate']((_0x18ef22,_0x8e42c9,_0x1f0015,_0x117e50,_0x3f0760)=>{const _0x506e8b=_0x36d216;let _0x56b049=_0x8e42c9;if(_0x56b049===_0xd67e3f['ShapeTypeEnum'][_0x506e8b(0x33f)]||_0x8e42c9===_0x506e8b(0x261))return!0x1;try{let _0x3eadbc=_0x9df45d[_0x506e8b(0x468)](_0x8e42c9);return _0x3eadbc||(_0x3eadbc=new _0xd67e3f[(_0x506e8b(0x48f))](_0x56b049,_0x506e8b(0x260)+_0x8e42c9),_0x9df45d['set'](_0x8e42c9,_0x3eadbc)),_0x3eadbc['clearAdjustValue'](),_0x3f0760&&Object[_0x506e8b(0x533)](_0x3f0760)['length']>0x0&&_0x3eadbc['setShapeData']({'adjustValues':_0x3f0760},!0x0),_0x3eadbc[_0x506e8b(0x523)]({'width':_0x1f0015,'height':_0x117e50}),_0x3eadbc[_0x506e8b(0x57e)](_0x18ef22,{'left':0x0,'top':0x0,'width':_0x1f0015,'height':_0x117e50});}catch{return!0x1;}});this[_0x36d216(0x47f)](_0x43c318),this[_0x36d216(0x47f)]({'dispose':()=>_0x9df45d[_0x36d216(0x1c1)]()});}[_0x13ba7a(0x242)](_0x45ee20,_0x18b4d8,_0x5a2d77,_0x41d4ea,_0x1ccf41){const _0x49d94a=_0x13ba7a;let _0x1df98c=this[_0x49d94a(0x3c5)]['getDrawingData'](_0x45ee20,_0x18b4d8);if(!_0x1df98c[_0x5a2d77])return;let _0x337641={..._0x1df98c[_0x5a2d77],'prstGeom':_0x41d4ea,'adjustValues':_0x1ccf41};this['_drawingManagerService'][_0x49d94a(0x210)]([_0x337641]);}};_0x29f473=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32['DrawingImageClipService'])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b['IDrawingManagerService']))],_0x29f473);let _0xb1d681=_0x13ba7a(0x1d6),_0x993061='sheet.image-clip.shape-picker.component';function _0x46ac97({onShapeClick:_0x3be4c5,excludeGroups:_0x2fbc2e}){const _0x2d6a5a=_0x13ba7a;return(0x0,_0x30a372[_0x2d6a5a(0x357)])(_0xba932b[_0x2d6a5a(0x1b4)],{'excludeGroups':_0x2fbc2e,'onShapeClick':_0x3be4c5,'scrollContainer':_0x2d6a5a(0x317)});}function _0x544130(){const _0x473afa=_0x13ba7a;let _0x27feb5=(0x0,_0x187e10[_0x473afa(0x53e)])(_0x15864b[_0x473afa(0x4e8)]),_0x504223=(0x0,_0x187e10['useDependency'])(_0x29f473);return(0x0,_0x30a372[_0x473afa(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0xba932b[_0x473afa(0x2bb)][_0x473afa(0x363)]],'onShapeClick':_0xbb69ed=>{const _0x5cd931=_0x473afa;let _0x30a6a8=_0x27feb5['getFocusDrawings']()[_0x5cd931(0x298)](_0x3f21c4=>_0x3f21c4[_0x5cd931(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x5cd931(0x597)]);if(!_0x30a6a8)return;let {unitId:_0x95fb13,subUnitId:_0x2fa06b,drawingId:_0x5a7f76}=_0x30a6a8;_0x504223[_0x5cd931(0x242)](_0x95fb13,_0x2fa06b,_0x5a7f76,_0xbb69ed['type']);}});}function _0x52a211(){const _0xcfe88=_0x13ba7a;let _0x1bfa29=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x15864b['IDrawingManagerService']),_0x7c3aea=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x29f473);return(0x0,_0x30a372[_0xcfe88(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':_0xcfe88(0x227),'excludeGroups':[_0xba932b[_0xcfe88(0x2bb)]['Line']],'DropdownComponent':_0x457cfe['MobileDropdown'],'onShapeClick':_0x54ab54=>{const _0x414e83=_0xcfe88;let _0x2b97e0=_0x1bfa29[_0x414e83(0x1da)]()[_0x414e83(0x298)](_0x559059=>_0x559059[_0x414e83(0x52e)]===_0x10e5f9[_0x414e83(0x2e1)][_0x414e83(0x597)]);if(!_0x2b97e0)return;let {unitId:_0xdeb202,subUnitId:_0x57ab65,drawingId:_0x2ca45d}=_0x2b97e0;_0x7c3aea[_0x414e83(0x242)](_0xdeb202,_0x57ab65,_0x2ca45d,_0x54ab54[_0x414e83(0x38d)]);}});}function _0x88ad35(){const _0x2959b0=_0x13ba7a;let _0x29bae3=(0x0,_0x187e10['useDependency'])(_0x187e10['ComponentManager']),_0x249272=(0x0,_0x187e10[_0x2959b0(0x53e)])(_0x15864b[_0x2959b0(0x4e8)]),_0x58ec85=(0x0,_0x187e10['useDependency'])(_0x10e5f9['IUniverInstanceService']),_0x338e2b=_0x249272[_0x2959b0(0x1da)]()[0x0],_0x323bb5=_0x338e2b?_0x58ec85[_0x2959b0(0x340)](_0x338e2b[_0x2959b0(0x26e)]):void 0x0,_0x3023f6=_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_DOC']?_0x2959b0(0x395):_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_SHEET']?_0x993061:void 0x0,_0x43832d=_0x3023f6?_0x29bae3[_0x2959b0(0x468)](_0x3023f6):void 0x0;return _0x43832d?(0x0,_0x30a372[_0x2959b0(0x357)])(_0x43832d,{}):null;}function _0x3f0386(){const _0x23a11b=_0x13ba7a;let _0x318c2b=(0x0,_0x187e10['useDependency'])(_0x10e5f9[_0x23a11b(0x297)]);return(0x0,_0x30a372[_0x23a11b(0x357)])(_0x46ac97,{'onShapeClick':_0x53ee69=>{const _0x2ba744=_0x23a11b;_0x318c2b['executeCommand'](_0x313c0d['id'],{'value':_0x53ee69['type'],'enhanceParams':{'endArrow':_0x53ee69[_0x2ba744(0x3c8)],'startArrow':_0x53ee69[_0x2ba744(0x313)],'horizontal':_0x53ee69['horizontal'],'vertical':_0x53ee69[_0x2ba744(0x2d3)]}});}});}function _0x29a2e(){const _0x1a3b73=_0x13ba7a;return(0x0,_0x30a372[_0x1a3b73(0x357)])(_0x3f0386,{});}function _0x1bacfe(_0xaa1da1){const _0x56e28f=_0x13ba7a;let _0xcae4cc=_0xaa1da1['get'](_0x10e5f9[_0x56e28f(0x41d)]);return{'id':_0x313c0d['id'],'type':_0x187e10[_0x56e28f(0x337)][_0x56e28f(0x22b)],'selections':[{'label':{'name':_0xb1d681,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x313c0d['id']}}}],'icon':_0x56e28f(0x37e),'tooltip':_0x56e28f(0x494),'activated$':(0x0,_0x189be3['deriveStateFromActiveSheet$'])(_0xcae4cc,!0x1,()=>new _0x364ff4['Observable'](_0x88f5a2=>{const _0xae962f=_0x56e28f;_0x88f5a2[_0xae962f(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x56e28f(0x1e6)])(_0xaa1da1,_0x10e5f9[_0x56e28f(0x503)][_0x56e28f(0x450)]),'disabled$':(0x0,_0x189be3[_0x56e28f(0x56f)])(_0xaa1da1)};}function _0x40dcb5(_0x56c7cf){const _0x326e69=_0x13ba7a;let _0x147072=_0x56c7cf[_0x326e69(0x468)](_0x10e5f9['IUniverInstanceService']);return{'id':_0x3a0e82['id'],'type':_0x187e10[_0x326e69(0x337)][_0x326e69(0x2b7)],'icon':_0x326e69(0x2e9),'title':_0x326e69(0x552),'tooltip':_0x326e69(0x552),'activated$':(0x0,_0x189be3[_0x326e69(0x397)])(_0x147072,!0x1,()=>new _0x364ff4[(_0x326e69(0x296))](_0x3fc44e=>{const _0x5d86ab=_0x326e69;_0x3fc44e[_0x5d86ab(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x326e69(0x1e6)])(_0x56c7cf,_0x10e5f9['UniverInstanceType'][_0x326e69(0x450)]),'disabled$':(0x0,_0x189be3[_0x326e69(0x56f)])(_0x56c7cf)};}let _0x5a41ed='sheet.menu.shape.flip-horizontal',_0x354587=_0x13ba7a(0x33e);function _0x31633c(_0x4669cc){const _0x5258b6=_0x13ba7a;let _0x4fc276=_0x4669cc[_0x5258b6(0x468)](_0x15864b[_0x5258b6(0x4e8)])['getFocusDrawings']();return _0x4fc276['length']===0x1&&_0x4fc276[0x0][_0x5258b6(0x52e)]===_0x10e5f9[_0x5258b6(0x2e1)][_0x5258b6(0x20d)]?_0x4fc276[0x0]:null;}function _0x38b711(_0x25ca25){const _0x34a330=_0x13ba7a;let _0x15a64f=_0x25ca25[_0x34a330(0x468)](_0x15864b[_0x34a330(0x4e8)]);return _0x15a64f[_0x34a330(0x332)][_0x34a330(0x560)]((0x0,_0x364ff4[_0x34a330(0x58e)])(_0x15a64f[_0x34a330(0x1da)]()),(0x0,_0x364ff4['map'])(_0x3e291b=>_0x3e291b[_0x34a330(0x45b)]!==0x1||_0x3e291b[0x0][_0x34a330(0x52e)]!==_0x10e5f9['DrawingTypeEnum'][_0x34a330(0x20d)]));}function _0x26320c(_0x49866d){const _0x50a32e=_0x13ba7a;return{'id':_0x5a41ed,'commandId':_0x2f2bb5['ToggleSheetsShapeFlipCommand']['id'],'type':_0x187e10[_0x50a32e(0x337)][_0x50a32e(0x2b7)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x50a32e(0x3e0),'icon':_0x50a32e(0x3cc),'hidden$':_0x38b711(_0x49866d),'params':()=>{const _0x3ece23=_0x50a32e;let _0x23bfc7=_0x31633c(_0x49866d);return _0x23bfc7?{'unitId':_0x23bfc7[_0x3ece23(0x26e)],'subUnitId':_0x23bfc7['subUnitId'],'shapeId':_0x23bfc7[_0x3ece23(0x272)],'flipH':!0x0}:void 0x0;}};}function _0x4152b2(_0x2bb239){const _0x29490b=_0x13ba7a;return{'id':_0x354587,'commandId':_0x2f2bb5[_0x29490b(0x36d)]['id'],'type':_0x187e10[_0x29490b(0x337)][_0x29490b(0x2b7)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x29490b(0x23c),'icon':_0x29490b(0x431),'hidden$':_0x38b711(_0x2bb239),'params':()=>{const _0x5a5f89=_0x29490b;let _0x321173=_0x31633c(_0x2bb239);return _0x321173?{'unitId':_0x321173[_0x5a5f89(0x26e)],'subUnitId':_0x321173[_0x5a5f89(0x354)],'shapeId':_0x321173[_0x5a5f89(0x272)],'flipV':!0x0}:void 0x0;}};}let _0x3084b1=_0x13ba7a(0x2d9),_0x5c3e05=_0x13ba7a(0x394),_0x41bd5b=_0x13ba7a(0x3c7),_0x26103a=_0x13ba7a(0x368);function _0x5f412c(){const _0x4d3eb3=_0x13ba7a;let _0x3e0377=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x10e5f9[_0x4d3eb3(0x297)]),_0x3d6a3e=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x15864b[_0x4d3eb3(0x4e8)]),_0x513a2c=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x2f2bb5[_0x4d3eb3(0x4d3)]),_0x1055f2=()=>{const _0x4d0236=_0x4d3eb3;var _0x36d97d;let _0x1569cf=_0x3d6a3e['getFocusDrawings']();if(_0x1569cf['length']!==0x1||((_0x36d97d=_0x1569cf[0x0])==null?void 0x0:_0x36d97d[_0x4d0236(0x52e)])!==_0x10e5f9[_0x4d0236(0x2e1)][_0x4d0236(0x20d)])return null;let {unitId:_0x500597,subUnitId:_0x41eeb7,drawingId:_0x42cffa}=_0x1569cf[0x0],_0x164b16=_0x513a2c[_0x4d0236(0x42b)](_0x500597,_0x41eeb7,_0x42cffa),_0x5a0eb8=_0x513a2c[_0x4d0236(0x204)](_0x500597,_0x41eeb7,_0x42cffa);return _0x164b16===void 0x0||!_0x5a0eb8?null:{'unitId':_0x500597,'subUnitId':_0x41eeb7,'drawingId':_0x42cffa,'shapeType':_0x164b16,'shapeData':_0x5a0eb8};},_0x263f54=(0x0,_0x187e10[_0x4d3eb3(0x364)])(()=>new _0x364ff4['Observable'](_0x16805c=>{const _0x18ca86=_0x4d3eb3;let _0x21510c=()=>_0x16805c[_0x18ca86(0x475)](_0x1055f2()),_0x31d336=_0x3d6a3e[_0x18ca86(0x332)][_0x18ca86(0x358)](_0x21510c),_0x58cbd7=_0x3e0377[_0x18ca86(0x1ac)](_0xb6afd5=>{const _0xd33f90=_0x18ca86;_0xb6afd5['id']===_0x2f2bb5[_0xd33f90(0x479)]['id']&&_0x21510c();});return _0x21510c(),()=>{const _0xe31e34=_0x18ca86;_0x31d336[_0xe31e34(0x539)](),_0x58cbd7[_0xe31e34(0x206)]();};}),_0x1055f2(),!0x1,[_0x3e0377,_0x3d6a3e,_0x513a2c]);return{'selection':_0x263f54,'updateShapeData':_0xda921b=>{const _0x53bb2c=_0x4d3eb3;_0x263f54&&_0x2b1bec(_0x3e0377,_0x263f54[_0x53bb2c(0x26e)],_0x263f54['subUnitId'],_0x263f54[_0x53bb2c(0x272)],{'oldShapeData':_0x263f54[_0x53bb2c(0x429)]},_0xda921b);}};}function _0x1024f0(){const _0x5e140c=_0x13ba7a;let {selection:_0x153d16,updateShapeData:_0x24d0de}=_0x5f412c();return _0x153d16?(0x0,_0x30a372[_0x5e140c(0x357)])(_0xba932b['ShapeStyleRibbonControl'],{'shapeData':_0x153d16[_0x5e140c(0x429)],'shapeType':_0x153d16[_0x5e140c(0x25e)],'onUpdateShapeData':_0x24d0de}):null;}function _0x23f7be(){const _0x3c75f9=_0x13ba7a;let _0x32c905=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x297)]),_0x23af04=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x482)]),{selection:_0x1c4e5b}=_0x5f412c();return _0x1c4e5b?(0x0,_0x30a372['jsx'])(_0xba932b[_0x3c75f9(0x3ca)],{'type':(0x0,_0x1397ca[_0x3c75f9(0x1b1)])(_0x1c4e5b[_0x3c75f9(0x429)]),'ariaLabel':_0x23af04['t'](_0x3c75f9(0x383)),'activePresetId':(0x0,_0x1397ca[_0x3c75f9(0x561)])(_0x1c4e5b[_0x3c75f9(0x429)]),'onSelect':_0x487606=>_0x32c905[_0x3c75f9(0x274)](_0x25693e['id'],{'presetId':_0x487606})}):null;}function _0x3e9412(){const _0x1f3672=_0x13ba7a;let {selection:_0x314962,updateShapeData:_0x20cc40}=_0x5f412c();return _0x314962?(0x0,_0x30a372['jsx'])(_0xba932b[_0x1f3672(0x549)],{'fontFamilyPopupDataComponent':_0x1f3672(0x1bc),'shapeData':_0x314962[_0x1f3672(0x429)],'onUpdateShapeData':_0x20cc40}):null;}function _0x184a26(){const _0x1e7c71=_0x13ba7a;var _0x761ccb;let {selection:_0x2c0a7e,updateShapeData:_0x5d959e}=_0x5f412c(),_0x21095f=(0x0,_0xba932b[_0x1e7c71(0x585)])({'hostType':_0x10e5f9[_0x1e7c71(0x503)][_0x1e7c71(0x450)],'unitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x26e)])??'','subUnitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x354)])??'','shapeId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x272)])??'','shapeData':_0x2c0a7e==null?void 0x0:_0x2c0a7e['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x1e7c71(0x329),'onUpdateBinding':_0x2a08eb=>_0x5d959e({'formulaBinding':_0x2a08eb})}),_0x23dc5e=((_0x761ccb=_0x21095f[_0x1e7c71(0x505)])==null?void 0x0:_0x761ccb[_0x1e7c71(0x2d8)](_0x2e61ac=>_0x2e61ac['actions'])['filter'](_0x3dd5d7=>_0x3dd5d7[_0x1e7c71(0x2ed)]!==!0x1))??[];return _0x2c0a7e!=null&&_0x2c0a7e[_0x1e7c71(0x429)][_0x1e7c71(0x1c2)]?(0x0,_0x30a372[_0x1e7c71(0x357)])(_0xba932b[_0x1e7c71(0x1e3)],{'actions':_0x23dc5e,'panel':_0x21095f[_0x1e7c71(0x2aa)]}):null;}let _0x2ef528=_0x13ba7a(0x550),_0x1f2db5='sheets-shape-ui.ribbon.shape-format.text-control',_0x439bdc='sheets-shape-ui.ribbon.shape-format.formula-control',_0x54cce7=_0x13ba7a(0x251),_0x323ce2='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0xd4e195=_0x13ba7a(0x2fb),_0x56c720='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x3b0825(_0x2f9262){const _0x38e321=_0x13ba7a;let _0x54a38d=_0x2f9262[_0x38e321(0x468)](_0x10e5f9[_0x38e321(0x297)]),_0x319ff5=_0x2f9262[_0x38e321(0x468)](_0x15864b['IDrawingManagerService']),_0x4d90c6=_0x2f9262['get'](_0x2f2bb5['SheetsShapeService']);return new _0x364ff4[(_0x38e321(0x296))](_0x4827d9=>{const _0xd4ee27=_0x38e321;let _0xfd78ab=()=>{const _0x5209df=_0x2e4e;let _0x213421=_0x777d84(_0x2f9262),_0x72f58a=_0x213421?_0x4d90c6[_0x5209df(0x204)](_0x213421[_0x5209df(0x26e)],_0x213421[_0x5209df(0x354)],_0x213421[_0x5209df(0x272)]):null;_0x4827d9['next'](_0x72f58a?(0x0,_0x1397ca[_0x5209df(0x561)])(_0x72f58a)??'':'');},_0x465fc7=_0x319ff5[_0xd4ee27(0x332)][_0xd4ee27(0x358)](_0xfd78ab),_0x29f0a7=_0x54a38d[_0xd4ee27(0x1ac)](_0x1271cb=>{const _0x5d2730=_0xd4ee27;_0x1271cb['id']===_0x2f2bb5[_0x5d2730(0x479)]['id']&&_0xfd78ab();});return _0xfd78ab(),()=>{const _0x52c1c2=_0xd4ee27;_0x465fc7[_0x52c1c2(0x539)](),_0x29f0a7[_0x52c1c2(0x206)]();};});}function _0x777d84(_0x3e55f0){const _0x379b90=_0x13ba7a;var _0x2e3513;let _0x1064d4=_0x3e55f0[_0x379b90(0x468)](_0x15864b['IDrawingManagerService'])['getFocusDrawings']();return _0x1064d4[_0x379b90(0x45b)]===0x1&&((_0x2e3513=_0x1064d4[0x0])==null?void 0x0:_0x2e3513['drawingType'])===_0x10e5f9[_0x379b90(0x2e1)][_0x379b90(0x20d)]?_0x1064d4[0x0]:null;}function _0x5a6557(_0x558f03,_0x25882a=!0x1){const _0x50b245=_0x13ba7a;let _0x5a6110=_0x558f03['get'](_0x10e5f9[_0x50b245(0x297)]),_0x2a7b86=_0x558f03[_0x50b245(0x468)](_0x15864b[_0x50b245(0x4e8)]),_0x371eab=_0x558f03[_0x50b245(0x468)](_0x2f2bb5[_0x50b245(0x4d3)]);return new _0x364ff4[(_0x50b245(0x296))](_0x480fb4=>{const _0x4ebfd8=_0x50b245;let _0x2c1aab=()=>{const _0x5d7629=_0x2e4e;let _0x2e454d=_0x777d84(_0x558f03);if(!_0x2e454d){_0x480fb4[_0x5d7629(0x475)](!0x0);return;}let _0x3ee819=_0x371eab[_0x5d7629(0x204)](_0x2e454d[_0x5d7629(0x26e)],_0x2e454d[_0x5d7629(0x354)],_0x2e454d[_0x5d7629(0x272)]);_0x480fb4[_0x5d7629(0x475)](!_0x3ee819||_0x25882a&&_0x3ee819['formulaBinding']==null);},_0x4a13c5=_0x2a7b86[_0x4ebfd8(0x332)][_0x4ebfd8(0x358)](_0x2c1aab),_0xebe78c=_0x5a6110[_0x4ebfd8(0x1ac)](_0x2a5374=>{const _0x32553a=_0x4ebfd8;_0x2a5374['id']===_0x2f2bb5[_0x32553a(0x479)]['id']&&_0x2c1aab();});return _0x2c1aab(),()=>{const _0x272f03=_0x4ebfd8;_0x4a13c5[_0x272f03(0x539)](),_0xebe78c[_0x272f03(0x206)]();};});}function _0x5de34c(_0x34ab01){const _0x37d0f6=_0x13ba7a;let _0xc76877=_0x34ab01[_0x37d0f6(0x468)](_0x15864b[_0x37d0f6(0x4e8)]),_0x126674=_0x34ab01['get'](_0x2f2bb5['SheetsShapeService']);return _0xc76877['focus$'][_0x37d0f6(0x560)]((0x0,_0x364ff4['startWith'])(_0xc76877[_0x37d0f6(0x1da)]()),(0x0,_0x364ff4[_0x37d0f6(0x281)])(()=>{const _0x529c99=_0x37d0f6;let _0x2ab23f=_0x777d84(_0x34ab01),_0x5552cf=_0x2ab23f?_0x126674[_0x529c99(0x42b)](_0x2ab23f[_0x529c99(0x26e)],_0x2ab23f[_0x529c99(0x354)],_0x2ab23f[_0x529c99(0x272)]):void 0x0;return _0x5552cf===void 0x0||(0x0,_0xd67e3f['isConnectorShape'])(_0x5552cf);}));}function _0x830cfc(_0x12c648){const _0x51a422=_0x13ba7a;return{'id':_0x25693e['id'],'type':_0x187e10[_0x51a422(0x337)]['SELECTOR'],'icon':_0x51a422(0x20c),'title':_0x51a422(0x1af),'tooltip':_0x51a422(0x1af),'selections':[{'label':{'name':_0x3084b1,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3b0825(_0x12c648),'hidden$':_0x5a6557(_0x12c648)};}function _0x4aa8e6(_0x525d6a){const _0x6147a2=_0x13ba7a;return{'id':_0x18da86['id'],'type':_0x187e10[_0x6147a2(0x337)][_0x6147a2(0x22b)],'icon':'ShapeIcon','title':_0x6147a2(0x2b4),'tooltip':_0x6147a2(0x2b4),'slot':!0x0,'selections':[{'label':{'name':_0xba932b[_0x6147a2(0x2fd)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5de34c(_0x525d6a)};}function _0x2794d2(_0x35f4ab,_0x6345dc,_0x282e79=!0x1){const _0x359dcb=_0x13ba7a;return _0x4534c6=>({'id':_0x35f4ab,'type':_0x187e10[_0x359dcb(0x337)]['BUTTON'],'label':{'name':_0x6345dc,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x5a6557(_0x4534c6,_0x282e79)});}let _0x4583f1=_0x2794d2(_0x2ef528,_0x5c3e05),_0x4a097d=_0x2794d2(_0x1f2db5,_0x41bd5b),_0x5dbb48=_0x2794d2(_0x439bdc,_0x26103a,!0x0);function _0x271b7f(_0xd891ca,_0x1053b6,_0x2399b7,_0x1a5abf){const _0x6a3715=_0x13ba7a;return _0x2fa939=>({'id':_0xd891ca,'commandId':_0x40f1a1[_0x6a3715(0x490)]['id'],'type':_0x187e10[_0x6a3715(0x337)][_0x6a3715(0x2b7)],'icon':_0x2399b7,'title':_0x1a5abf,'tooltip':_0x1a5abf,'hidden$':_0x5a6557(_0x2fa939),'params':()=>{const _0x12740a=_0x6a3715;let _0x58b471=_0x777d84(_0x2fa939);return _0x58b471?{'unitId':_0x58b471['unitId'],'subUnitId':_0x58b471[_0x12740a(0x354)],'drawingIds':[_0x58b471[_0x12740a(0x272)]],'arrangeType':_0x1053b6}:void 0x0;}});}let _0x33a626=_0x271b7f(_0x54cce7,_0x10e5f9['ArrangeTypeEnum']['forward'],_0x13ba7a(0x1d0),_0x13ba7a(0x436)),_0x2c409e=_0x271b7f(_0x323ce2,_0x10e5f9[_0x13ba7a(0x3e1)]['backward'],_0x13ba7a(0x481),_0x13ba7a(0x27c)),_0x3ba6f1=_0x271b7f(_0xd4e195,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x3f0)],_0x13ba7a(0x51f),_0x13ba7a(0x31c)),_0x4c0302=_0x271b7f(_0x56c720,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x2a0)],'BottomIcon',_0x13ba7a(0x425));function _0x150b96(_0x5c690c){const _0x22a77b=_0x13ba7a;return{'id':_0x47ad5b['id'],'type':_0x187e10['MenuItemType']['BUTTON'],'icon':_0x22a77b(0x492),'title':_0x22a77b(0x344),'tooltip':_0x22a77b(0x344),'hidden$':_0x5a6557(_0x5c690c),'params':()=>{const _0x14f10f=_0x22a77b;let _0x57d232=_0x777d84(_0x5c690c);return _0x57d232?{'unitId':_0x57d232[_0x14f10f(0x26e)],'subUnitId':_0x57d232[_0x14f10f(0x354)],'drawingId':_0x57d232['drawingId']}:void 0x0;}};}let _0x136219={[_0x187e10[_0x13ba7a(0x24d)]['RIBBON']]:{[_0x523b08]:{'order':0x64,'title':_0x13ba7a(0x344),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x25693e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x830cfc},[_0x18da86['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4aa8e6}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2ef528]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4583f1}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x1f2db5]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4a097d}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5a41ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4152b2},[_0x54cce7]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x33a626},[_0x323ce2]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c409e},[_0xd4e195]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x3ba6f1},[_0x56c720]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x4c0302}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x439bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x5dbb48}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x47ad5b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x150b96},[_0xba932b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xba932b[_0x13ba7a(0x418)]}}}}},_0x1c5a09={[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x1ef)]]:{[_0x313c0d['id']]:{'order':0x4,'menuItemFactory':_0x1bacfe}}},_0x713457={..._0x1c5a09,[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x19f)]]:{[_0x3a0e82['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x40dcb5}},[_0x187e10[_0x13ba7a(0x45f)][_0x13ba7a(0x398)]]:{[_0x187e10[_0x13ba7a(0x4c4)][_0x13ba7a(0x19f)]]:{[_0x5a41ed]:{'order':0x4,'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x5,'menuItemFactory':_0x4152b2}}}};var _0x3e9d67=_0x13ba7a(0x59d),_0x4f17df=_0x13ba7a(0x430);let _0x1e868c={'id':_0x13ba7a(0x1b9),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler'(_0x1bf39c,_0x57010b){const _0x20b16d=_0x13ba7a;return _0x57010b?(_0x1bf39c[_0x20b16d(0x468)](_0xba932b[_0x20b16d(0x4ef)])[_0x20b16d(0x269)](_0x57010b[_0x20b16d(0x384)],{'hostType':_0x10e5f9[_0x20b16d(0x503)][_0x20b16d(0x450)],'shapeId':_0x57010b['drawingId'],'subUnitId':_0x57010b[_0x20b16d(0x354)],'unitId':_0x57010b['unitId']}),!0x0):!0x1;}},_0x56997c=_0x13ba7a(0x21d),_0x26e934={},_0x9f7a3e=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x26ad30,_0x372984,_0x415c47,_0x3f35fd,_0xc0b24){const _0x6c46e=_0x13ba7a;super(),this[_0x6c46e(0x3cb)]=_0x26ad30,this[_0x6c46e(0x3c5)]=_0x372984,this[_0x6c46e(0x2e2)]=_0x415c47,this[_0x6c46e(0x583)]=_0x3f35fd,this[_0x6c46e(0x4d0)]=_0xc0b24,_0x5ae661(this,_0x6c46e(0x22e),null),_0x5ae661(this,'_unitId',null),_0x5ae661(this,_0x6c46e(0x2cf),null),_0x5ae661(this,_0x6c46e(0x451),void 0x0),_0x5ae661(this,'_shapes',[]),_0x5ae661(this,_0x6c46e(0x4fa),0x0),_0x5ae661(this,_0x6c46e(0x4f6),0x0),_0x5ae661(this,_0x6c46e(0x4b2),0x0),_0x5ae661(this,_0x6c46e(0x41c),0x0),_0x5ae661(this,_0x6c46e(0x267),!0x1),_0x5ae661(this,_0x6c46e(0x328),void 0x0),_0x5ae661(this,_0x6c46e(0x223),void 0x0),_0x5ae661(this,_0x6c46e(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x6c46e(0x26a),!0x1),this[_0x6c46e(0x2cd)](),this[_0x6c46e(0x24e)]();}[_0x13ba7a(0x200)](){const _0xf66f7f=_0x13ba7a;this[_0xf66f7f(0x551)]();}[_0x13ba7a(0x348)](){const _0x55e0b6=_0x13ba7a;this['_clearControls'](),this[_0x55e0b6(0x432)](!0x0);}[_0x13ba7a(0x1e1)](_0x8dee8b,_0x3aa13a,_0x1b1a76,_0xd94ce1){const _0x57b5a9=_0x13ba7a;let _0x49dd08=_0x8dee8b;if(_0x49dd08!==_0xd67e3f[_0x57b5a9(0x575)]['None']&&_0x8dee8b!==_0x57b5a9(0x261))try{let _0xc26ddc=new _0xd67e3f[(_0x57b5a9(0x48f))](_0x49dd08,'clip-adj-'+_0x8dee8b);return _0xd94ce1&&_0xc26ddc[_0x57b5a9(0x4d6)]({'adjustValues':_0xd94ce1},!0x0),_0xc26ddc[_0x57b5a9(0x523)]({'width':_0x3aa13a,'height':_0x1b1a76}),_0xc26ddc;}catch{return;}}[_0x13ba7a(0x589)](_0x3af17d,_0x2e3c4b,_0x19c444){const _0x2a5bbe=_0x13ba7a;let _0x5e1784={'unitId':_0x3af17d,'subUnitId':_0x2e3c4b,'drawingId':_0x19c444},_0x50ccb5=this[_0x2a5bbe(0x3c5)][_0x2a5bbe(0x3db)](_0x5e1784);if(_0x50ccb5&&_0x50ccb5[_0x2a5bbe(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x2a5bbe(0x597)])return _0x50ccb5;}[_0x13ba7a(0x518)](_0x4af6a5,_0x1df6c2,_0x193bb2){const _0x33c08d=_0x13ba7a;let _0x24d52b=this[_0x33c08d(0x2e2)][_0x33c08d(0x57f)](_0x4af6a5);if(!_0x24d52b)return;let {scene:_0x296f08}=_0x24d52b,_0x3f0cd7=(0x0,_0x15864b[_0x33c08d(0x2df)])({'unitId':_0x4af6a5,'subUnitId':_0x1df6c2,'drawingId':_0x193bb2}),_0x2f7687=_0x296f08[_0x33c08d(0x38a)](_0x3f0cd7);if(_0x2f7687 instanceof _0x3458ba['Image']){let _0x1c7b61=_0x2f7687[_0x33c08d(0x233)];if(_0x1c7b61)return{'prstGeom':_0x1c7b61,'adjustValues':_0x2f7687[_0x33c08d(0x444)]};}}['_createControls'](_0x4bc74c=!0x1){const _0xd208a1=_0x13ba7a;if(!this['_unitId']||!this[_0xd208a1(0x2cf)]||!this['_activeImageId'])return;let _0x4467cd=this[_0xd208a1(0x2e2)]['getRenderUnitById'](this['_unitId']);if(!_0x4467cd||!_0x4467cd[_0xd208a1(0x39e)](_0x189be3[_0xd208a1(0x277)])[_0xd208a1(0x387)]())return;let {scene:_0x2797f3}=_0x4467cd,_0x25b3f4=this['_getImageDrawingInfo'](this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)],this['_activeImageId']);if(!_0x25b3f4)return;let {transform:_0x26f472}=_0x25b3f4;if(!_0x26f472)return;let {left:_0x4f8f5d,top:_0x3db95c,width:_0x582411,height:_0x2bd777,flipX:_0x2fe672,flipY:_0x3c499e,angle:_0x22c498=0x0}=_0x26f472;if(_0x4f8f5d===void 0x0||_0x3db95c===void 0x0)return;let _0x2d7f79=this[_0xd208a1(0x518)](this[_0xd208a1(0x35d)],this['_subUnitId'],this[_0xd208a1(0x22e)]);if(!_0x2d7f79)return;if(_0x4bc74c){let _0x2a1df7=this[_0xd208a1(0x1e1)](_0x2d7f79['prstGeom'],_0x582411||0x0,_0x2bd777||0x0,_0x2d7f79[_0xd208a1(0x4c3)]);if(!_0x2a1df7)return;this[_0xd208a1(0x451)]=_0x2a1df7[_0xd208a1(0x524)]();}let _0x4209a2=this[_0xd208a1(0x451)];if(_0x4209a2&&_0x4209a2[_0xd208a1(0x45b)]!==0x0)for(let _0x592a0a=0x0;_0x592a0a<_0x4209a2[_0xd208a1(0x45b)];_0x592a0a++){let _0x39d1b1=_0x4209a2[_0x592a0a],_0x10a28a=_0x39d1b1['x'],_0x3e665c=_0x39d1b1['y'];if(_0x2fe672&&(_0x10a28a=(_0x582411||0x0)-_0x10a28a),_0x3c499e&&(_0x3e665c=(_0x2bd777||0x0)-_0x3e665c),_0x22c498!==0x0){let _0x595413=(_0x582411||0x0)/0x2,_0x4ff861=(_0x2bd777||0x0)/0x2,_0x3bb1a2=_0x22c498*Math['PI']/0xb4,_0xae31b=Math[_0xd208a1(0x2e0)](_0x3bb1a2),_0x383117=Math['sin'](_0x3bb1a2),_0x1f3e6a=_0x10a28a-_0x595413,_0xb1ff1c=_0x3e665c-_0x4ff861;_0x10a28a=_0x595413+(_0x1f3e6a*_0xae31b-_0xb1ff1c*_0x383117),_0x3e665c=_0x4ff861+(_0x1f3e6a*_0x383117+_0xb1ff1c*_0xae31b);}let _0x58b5a8={'x':_0x10a28a,'y':_0x3e665c,'adjName':_0x39d1b1['adjName']};this['_addControl'](_0x2797f3,_0x58b5a8,_0x58b5a8[_0xd208a1(0x216)],_0x4f8f5d,_0x3db95c,this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)]);}}[_0x13ba7a(0x19a)](_0x8f0577,_0x210b47,_0x37db10,_0x341f7a,_0x300c95,_0x2a1bea,_0x3a66ad){const _0x14c5a8=_0x13ba7a;if(!this[_0x14c5a8(0x22e)])return;let _0x4e10a3=_0x14c5a8(0x1de)+this['_activeImageId']+'-'+_0x37db10,_0x4a240a=_0x8f0577['getObjectIncludeInGroup'](_0x4e10a3);if(_0x4a240a){_0x4a240a[_0x14c5a8(0x3e2)]({'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)]});return;}let _0x1a49fa=new _0x537ea9(_0x4e10a3,{'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)]['adjHandleSize'],'adjName':_0x37db10,'shapeId':this[_0x14c5a8(0x22e)],'unitId':_0x2a1bea,'subUnitId':_0x3a66ad,'width':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x14c5a8(0x4b5)]+0x1,'evented':!0x0});this[_0x14c5a8(0x469)][_0x14c5a8(0x1b2)](_0x1a49fa),this[_0x14c5a8(0x3ea)](_0x1a49fa,_0x8f0577,_0x37db10),_0x8f0577[_0x14c5a8(0x412)](_0x1a49fa,_0x3458ba[_0x14c5a8(0x4b5)]+0x1);}[_0x13ba7a(0x551)](){const _0x3947cf=_0x13ba7a;this[_0x3947cf(0x469)][_0x3947cf(0x45b)]!==0x0&&(this[_0x3947cf(0x469)][_0x3947cf(0x34a)](_0xe90b60=>_0xe90b60['dispose']()),this['_shapes']=[]);}[_0x13ba7a(0x43c)](_0x1078d3,_0x2a0531){const _0x3a54f7=_0x13ba7a;var _0x1330d7;let _0x285f56={'x':0x0,'y':0x0},_0x2f4ad6=this[_0x3a54f7(0x2e2)][_0x3a54f7(0x57f)](_0x1078d3);if(!_0x2f4ad6||!_0x2f4ad6['with'](_0x189be3[_0x3a54f7(0x277)])[_0x3a54f7(0x50c)](_0x2a0531))return _0x285f56;let _0x3020bb=_0x2f4ad6[_0x3a54f7(0x39e)](_0x189be3[_0x3a54f7(0x51c)]),_0x3d0a65=_0x3020bb==null?void 0x0:_0x3020bb[_0x3a54f7(0x294)]();if(!_0x3d0a65)return _0x285f56;let _0x2f9289=(_0x1330d7=this['_univerInstanceService'][_0x3a54f7(0x4a9)](_0x1078d3))==null?void 0x0:_0x1330d7[_0x3a54f7(0x1ed)](_0x2a0531);if(!_0x2f9289)return _0x285f56;let _0x42bceb=(0x0,_0x189be3[_0x3a54f7(0x501)])(_0x3d0a65[_0x3a54f7(0x3b6)],_0x3d0a65['sheetViewStartColumn'],_0x2f4ad6[_0x3a54f7(0x2a7)],_0x2f9289);return _0x42bceb?{'x':_0x42bceb[_0x3a54f7(0x1ff)],'y':_0x42bceb['viewportScrollY']}:_0x285f56;}['_getZoomRatio'](_0x25c4de,_0x2e26d1){const _0x54df1e=_0x13ba7a;var _0x5a5a42;let _0x6ee90a=(_0x5a5a42=this[_0x54df1e(0x583)][_0x54df1e(0x4a9)](_0x25c4de))==null?void 0x0:_0x5a5a42[_0x54df1e(0x1ed)](_0x2e26d1);return(_0x6ee90a==null?void 0x0:_0x6ee90a[_0x54df1e(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0xd0881,_0x5068a0,_0x3a7763){const _0x2cb983=_0x13ba7a;this[_0x2cb983(0x47f)]((0x0,_0x10e5f9[_0x2cb983(0x576)])(_0xd0881[_0x2cb983(0x27e)][_0x2cb983(0x2f6)]((_0x533ffa,_0x2a6957)=>{const _0x4dfe2d=_0x2cb983;var _0x351521,_0x5e2c73,_0x9da47d;let {unitId:_0x1a39ec,subUnitId:_0x19df63,drawingId:_0x19172e}=_0xd0881[_0x4dfe2d(0x2c8)](),_0x2a50ce=this[_0x4dfe2d(0x589)](_0x1a39ec,_0x19df63,_0x19172e);if(!(_0x2a50ce!=null&&_0x2a50ce['transform']))return;let {left:_0x30f270,top:_0x34c827,width:_0xddb5d0,height:_0x7a4f15}=_0x2a50ce[_0x4dfe2d(0x474)];this[_0x4dfe2d(0x4fa)]=_0x30f270||0x0,this[_0x4dfe2d(0x4f6)]=_0x34c827||0x0,this['_baseWidth']=_0xddb5d0||0x0,this['_baseHeight']=_0x7a4f15||0x0;let _0x18eca2=!!((_0x351521=_0x2a50ce[_0x4dfe2d(0x474)])!=null&&_0x351521['flipX']),_0x85b8a8=!!((_0x5e2c73=_0x2a50ce['transform'])!=null&&_0x5e2c73['flipY']),_0x3defaa=((_0x9da47d=_0x2a50ce[_0x4dfe2d(0x474)])==null?void 0x0:_0x9da47d['angle'])||0x0,_0x58161d=this[_0x4dfe2d(0x518)](_0x1a39ec,_0x19df63,_0x19172e);if(!_0x58161d)return;let _0x5e2c9a=this['_getOrCreateShapeModel'](_0x58161d[_0x4dfe2d(0x233)],this[_0x4dfe2d(0x4b2)],this[_0x4dfe2d(0x41c)],_0x58161d[_0x4dfe2d(0x4c3)]);if(!_0x5e2c9a||(this['_activeShapeModel']=_0x5e2c9a,this['_activeAdjustInfo']=_0x5e2c9a[_0x4dfe2d(0x495)](_0x3a7763),!this[_0x4dfe2d(0x328)]))return;this[_0x4dfe2d(0x267)]=!0x0,_0x5068a0[_0x4dfe2d(0x1ce)]();let _0x160de0=_0x58161d['prstGeom'];this['_adjHandlerPointerMove']=_0x5068a0[_0x4dfe2d(0x3af)][_0x4dfe2d(0x2f6)]((_0x361bb5,_0x32b871)=>{const _0x170d03=_0x4dfe2d;if(!this[_0x170d03(0x267)])return;let {offsetX:_0x3fd755,offsetY:_0xb82002}=_0x361bb5,_0x4e11f0=this[_0x170d03(0x328)];if(!this['_activeShapeModel']||!_0x4e11f0)return;_0x5068a0[_0x170d03(0x1ce)](),_0x5068a0[_0x170d03(0x1b7)](_0x3458ba[_0x170d03(0x4bf)][_0x170d03(0x540)]);let _0x4ca8f9={'left':0x0,'top':0x0,'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]},_0x4829e7=this[_0x170d03(0x43c)](_0x1a39ec,_0x19df63),_0x4b1cb3=this[_0x170d03(0x570)](_0x1a39ec,_0x19df63),_0x1a6a6d=_0x3fd755/_0x4b1cb3+_0x4829e7['x']-this['_baseLeft'],_0x10632c=_0xb82002/_0x4b1cb3+_0x4829e7['y']-this['_baseTop'];if(_0x3defaa!==0x0){let _0x1b144e=this[_0x170d03(0x4b2)]/0x2,_0x4f9852=this[_0x170d03(0x41c)]/0x2,_0xef3e0b=_0x3defaa*Math['PI']/0xb4,_0x21524e=Math[_0x170d03(0x2e0)](_0xef3e0b),_0x5b0bd4=Math[_0x170d03(0x515)](_0xef3e0b),_0x4ffcff=_0x1a6a6d-_0x1b144e,_0x144260=_0x10632c-_0x4f9852;_0x1a6a6d=_0x1b144e+(_0x4ffcff*_0x21524e+_0x144260*_0x5b0bd4),_0x10632c=_0x4f9852+(-_0x4ffcff*_0x5b0bd4+_0x144260*_0x21524e);}_0x18eca2&&(_0x1a6a6d=this[_0x170d03(0x4b2)]-_0x1a6a6d),_0x85b8a8&&(_0x10632c=this[_0x170d03(0x41c)]-_0x10632c);let _0x1e4861=this[_0x170d03(0x223)][_0x170d03(0x3bf)](_0x4ca8f9,{'x':_0x1a6a6d,'y':_0x10632c},_0x4e11f0,_0x18eca2,_0x85b8a8);if(Object[_0x170d03(0x533)](_0x1e4861)['length']!==0x0){for(let [_0x5f1179,_0x18f495]of Object[_0x170d03(0x4d1)](_0x1e4861))this[_0x170d03(0x223)][_0x170d03(0x476)](_0x5f1179,_0x18f495);this[_0x170d03(0x223)][_0x170d03(0x523)]({'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]}),this[_0x170d03(0x28f)](_0x1a39ec,_0x19df63,_0x19172e,_0x1e4861),this[_0x170d03(0x451)]=this[_0x170d03(0x223)]['getDrawingPoints'](),this[_0x170d03(0x432)](),_0x32b871[_0x170d03(0x49f)]();}}),this[_0x4dfe2d(0x234)]=_0x5068a0['onPointerUp$']['subscribeEvent']((_0x2f10ed,_0x4848a2)=>{const _0x65fcd7=_0x4dfe2d;if(this[_0x65fcd7(0x27d)]['unsubscribe'](),this[_0x65fcd7(0x234)][_0x65fcd7(0x539)](),_0x5068a0[_0x65fcd7(0x22f)](),this[_0x65fcd7(0x223)]){let _0x49a209=this[_0x65fcd7(0x223)]['getAdjustNames'](),_0x1dc091={};for(let _0x32842a of _0x49a209){let _0x10f7ec=this[_0x65fcd7(0x223)]['getAdjustValueByName'](_0x32842a);_0x10f7ec!==void 0x0&&(_0x1dc091[_0x32842a]=_0x10f7ec);}this[_0x65fcd7(0x4d0)]['clipByShape'](_0x1a39ec,_0x19df63,_0x19172e,_0x160de0,_0x1dc091);}this[_0x65fcd7(0x328)]=void 0x0,this[_0x65fcd7(0x223)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x4848a2['stopPropagation'](),_0x5068a0[_0x65fcd7(0x51a)]();}),_0x2a6957[_0x4dfe2d(0x49f)]();})));}[_0x13ba7a(0x28f)](_0xbc539a,_0x59dd86,_0x1184e1,_0x3b5c75){const _0x4361b7=_0x13ba7a;let _0x2cbac9=this[_0x4361b7(0x2e2)][_0x4361b7(0x57f)](_0xbc539a);if(!_0x2cbac9)return;let {scene:_0x18265c}=_0x2cbac9,_0x10606d=(0x0,_0x15864b[_0x4361b7(0x2df)])({'unitId':_0xbc539a,'subUnitId':_0x59dd86,'drawingId':_0x1184e1}),_0x1a9b45=_0x18265c['getObject'](_0x10606d);if(_0x1a9b45 instanceof _0x3458ba[_0x4361b7(0x4a3)]){let _0x530120=_0x1a9b45[_0x4361b7(0x444)]??{};_0x1a9b45[_0x4361b7(0x58f)]({..._0x530120,..._0x3b5c75}),_0x1a9b45[_0x4361b7(0x334)](!0x0);}}[_0x13ba7a(0x24e)](){const _0x4ae11c=_0x13ba7a;let _0x4d28e6=this[_0x4ae11c(0x583)][_0x4ae11c(0x3d3)](_0x10e5f9['UniverInstanceType'][_0x4ae11c(0x450)]);this[_0x4ae11c(0x47f)](_0x4d28e6[_0x4ae11c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x1c2dcf=>_0x1c2dcf?_0x1c2dcf[_0x4ae11c(0x259)][_0x4ae11c(0x560)]((0x0,_0x364ff4[_0x4ae11c(0x289)])(_0x1f1f68=>{const _0x55ce0e=_0x4ae11c;if(!_0x1f1f68)return _0x364ff4['EMPTY'];let _0x5938f4=_0x1c2dcf[_0x55ce0e(0x3ff)](),_0x229eb2=this[_0x55ce0e(0x2e2)][_0x55ce0e(0x57f)](_0x5938f4),_0xa1d119=_0x229eb2==null?void 0x0:_0x229eb2[_0x55ce0e(0x2a7)];return _0xa1d119?(0x0,_0x364ff4['of'])(_0xa1d119):_0x364ff4['EMPTY'];})):_0x364ff4[_0x4ae11c(0x362)]))[_0x4ae11c(0x358)](_0xfe822f=>{const _0xb2e009=_0x4ae11c;let _0x4edd06=_0xfe822f[_0xb2e009(0x22d)]();this['disposeWithMe'](_0xfe822f[_0xb2e009(0x3af)][_0xb2e009(0x2f6)](()=>{const _0x25cc18=_0xb2e009;this[_0x25cc18(0x26a)]&&this[_0x25cc18(0x551)]();})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x202)]['subscribe'](_0x5787b4=>{const _0x51ecd8=_0xb2e009;let {objects:_0x5a0709}=_0x5787b4;if(this[_0x51ecd8(0x432)](),_0x5a0709!==null&&_0x5a0709[_0x51ecd8(0x3ba)]===0x1){let _0x5bd109=_0x5a0709['values']()[_0x51ecd8(0x475)]()[_0x51ecd8(0x472)];_0x5bd109 instanceof _0x3458ba[_0x51ecd8(0x4a3)]&&_0x5bd109[_0x51ecd8(0x233)]&&(this[_0x51ecd8(0x26a)]=!0x0);}})),this[_0xb2e009(0x47f)](_0x4edd06['changing$'][_0xb2e009(0x358)](()=>{const _0x5cc913=_0xb2e009;this[_0x5cc913(0x26a)]&&this[_0x5cc913(0x551)]();})),this['disposeWithMe'](_0xfe822f[_0xb2e009(0x54b)][_0xb2e009(0x2f6)](()=>{const _0x5dd8fc=_0xb2e009;this[_0x5dd8fc(0x26a)]&&(this[_0x5dd8fc(0x26a)]=!0x1,this[_0x5dd8fc(0x432)]());})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x2dc)][_0xb2e009(0x358)](()=>{const _0x1f9fb6=_0xb2e009;if(this[_0x1f9fb6(0x35d)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2dd13b=this[_0x1f9fb6(0x518)](this[_0x1f9fb6(0x35d)],this[_0x1f9fb6(0x2cf)],this[_0x1f9fb6(0x22e)]);if(_0x2dd13b){var _0x36849e,_0x5e242f;let _0x206276=this[_0x1f9fb6(0x589)](this['_unitId'],this[_0x1f9fb6(0x2cf)],this['_activeImageId']),_0x544ac1=(_0x206276==null||(_0x36849e=_0x206276[_0x1f9fb6(0x474)])==null?void 0x0:_0x36849e[_0x1f9fb6(0x1dd)])||0x0,_0x4fbb91=(_0x206276==null||(_0x5e242f=_0x206276['transform'])==null?void 0x0:_0x5e242f['height'])||0x0,_0x4d416b=this[_0x1f9fb6(0x1e1)](_0x2dd13b[_0x1f9fb6(0x233)],_0x544ac1,_0x4fbb91,_0x2dd13b[_0x1f9fb6(0x4c3)]);_0x4d416b&&(this[_0x1f9fb6(0x451)]=_0x4d416b[_0x1f9fb6(0x524)](),this['_clearControls'](),this[_0x1f9fb6(0x432)](!0x0));}}}));}));}[_0x13ba7a(0x2cd)](){const _0x2eeee2=_0x13ba7a;this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)]['focus$'][_0x2eeee2(0x358)](_0x53d4fa=>{const _0x2cb298=_0x2eeee2;if(_0x53d4fa[_0x2cb298(0x45b)]===0x1){let _0x294d22=_0x53d4fa[0x0];if(_0x294d22['drawingType']===_0x10e5f9[_0x2cb298(0x2e1)][_0x2cb298(0x597)]){let {unitId:_0x140d5c,subUnitId:_0x5c1e75,drawingId:_0xe71d5f}=_0x294d22,_0x53e787=this[_0x2cb298(0x518)](_0x140d5c,_0x5c1e75,_0xe71d5f);if(_0x53e787){var _0x198eb8,_0xaf5fd5;this[_0x2cb298(0x22e)]=_0xe71d5f,this[_0x2cb298(0x35d)]=_0x140d5c,this[_0x2cb298(0x2cf)]=_0x5c1e75;let _0x9ef6ab=this[_0x2cb298(0x589)](_0x140d5c,_0x5c1e75,_0xe71d5f),_0xd2dd23=(_0x9ef6ab==null||(_0x198eb8=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0x198eb8[_0x2cb298(0x1dd)])||0x0,_0x380772=(_0x9ef6ab==null||(_0xaf5fd5=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0xaf5fd5['height'])||0x0,_0x468eed=this['_getOrCreateShapeModel'](_0x53e787[_0x2cb298(0x233)],_0xd2dd23,_0x380772,_0x53e787['adjustValues']);_0x468eed&&(this[_0x2cb298(0x451)]=_0x468eed[_0x2cb298(0x524)]()),this[_0x2cb298(0x551)](),this[_0x2cb298(0x432)](!0x0);}else this[_0x2cb298(0x2a4)]();}else this[_0x2cb298(0x2a4)]();}else this['_resetState']();})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x28e)][_0x2eeee2(0x358)](_0x54095f=>{const _0x5c099e=_0x2eeee2;if(_0x54095f[_0x5c099e(0x45b)]===0x1){let _0x9053e6=_0x54095f[0x0],_0x2efcb6=this[_0x5c099e(0x3c5)][_0x5c099e(0x3db)](_0x9053e6);(_0x2efcb6==null?void 0x0:_0x2efcb6[_0x5c099e(0x52e)])===_0x10e5f9['DrawingTypeEnum']['DRAWING_IMAGE']&&this[_0x5c099e(0x22e)]===_0x9053e6[_0x5c099e(0x272)]&&(this[_0x5c099e(0x551)](),this['_createControls'](!0x0));}})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x1f5)][_0x2eeee2(0x358)](_0xa3578d=>{const _0x45d864=_0x2eeee2;for(let _0x520f50 of _0xa3578d)this[_0x45d864(0x22e)]===_0x520f50['drawingId']&&this['_resetState']();}));}[_0x13ba7a(0x2a4)](){const _0x29891f=_0x13ba7a;this['_activeImageId']=null,this['_unitId']=null,this[_0x29891f(0x2cf)]=null,this[_0x29891f(0x451)]=void 0x0,this[_0x29891f(0x551)]();}};_0x9f7a3e=_0x12f75a([_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x29f473))],_0x9f7a3e);function _0x3f4c4b({ref:_0x39ae4f,..._0x18ab6f}){const _0x24944a=_0x13ba7a;let {preserveStrokeWidth:_0x4186ad,icon:_0x117ba3,id:_0x37e751,className:_0x2c7a73,extend:_0x2a95eb,..._0x1c386e}=_0x18ab6f,_0x2e1aeb=('univerjs-icon\x20univerjs-icon-'+_0x37e751+'\x20'+(_0x2c7a73||''))[_0x24944a(0x581)](),_0x41e24f='_'+(0x0,_0x18bd90[_0x24944a(0x508)])(),_0x1fbe94=(0x0,_0x18bd90[_0x24944a(0x288)])(null);return(0x0,_0x18bd90[_0x24944a(0x27f)])(_0x39ae4f,()=>_0x1fbe94[_0x24944a(0x360)]),(0x0,_0x18bd90[_0x24944a(0x4e0)])(()=>{const _0x41cdcb=_0x24944a;if(_0x4186ad&&_0x1fbe94[_0x41cdcb(0x360)]&&_0x1fbe94[_0x41cdcb(0x360)][_0x41cdcb(0x3ac)]===_0x117ba3[_0x41cdcb(0x51b)])return _0x3eb98a(_0x1fbe94['current']);},[_0x4186ad,_0x117ba3]),_0x415d98(_0x117ba3,''+_0x37e751,{'defIds':_0x117ba3[_0x24944a(0x35f)],'idSuffix':_0x41e24f},{'ref':_0x1fbe94,'className':_0x2e1aeb,..._0x1c386e},_0x2a95eb);}function _0x415d98(_0x4e9922,_0x5c93b4,_0x4314fc,_0x33643b,_0x30ecff){const _0x1c6719=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x4e9922[_0x1c6719(0x51b)],{'key':_0x5c93b4,..._0x5ee590(_0x4e9922,_0x4314fc,_0x30ecff),..._0x33643b},(_0x4db7f6(_0x4e9922,_0x4314fc)[_0x1c6719(0x46d)]||[])['map']((_0x48f144,_0x52a05a)=>_0x415d98(_0x48f144,_0x5c93b4+'-'+_0x4e9922['tag']+'-'+_0x52a05a,_0x4314fc,void 0x0,_0x30ecff)));}function _0x5ee590(_0xbf56c,_0x1fd983,_0x4436d2){const _0x4838ae=_0x13ba7a;let _0x542fc3={..._0xbf56c[_0x4838ae(0x1a4)]};_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3['fill']==='colorChannel1'&&(_0x542fc3['fill']=_0x4436d2[_0x4838ae(0x3ad)]),_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3[_0x4838ae(0x24f)]===_0x4838ae(0x3ad)&&(_0x542fc3[_0x4838ae(0x24f)]=_0x4436d2[_0x4838ae(0x3ad)]),_0xbf56c[_0x4838ae(0x51b)]===_0x4838ae(0x1b0)&&_0x542fc3['id']&&(_0x542fc3['id']+=_0x1fd983['idSuffix']),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x30c863,_0x10322b])=>{const _0xb5212e=_0x4838ae;_0x30c863===_0xb5212e(0x1b0)&&typeof _0x10322b==_0xb5212e(0x4fd)&&(_0x542fc3[_0x30c863]=_0x10322b[_0xb5212e(0x246)](/url\(#(.*)\)/,_0xb5212e(0x375)+_0x1fd983[_0xb5212e(0x3a3)]+')'));});let {defIds:_0x26d280}=_0x1fd983;return!_0x26d280||_0x26d280['length']===0x0?_0x542fc3:(_0xbf56c['tag']===_0x4838ae(0x1ca)&&_0x542fc3[_0x4838ae(0x557)]&&(_0x542fc3[_0x4838ae(0x557)]+=_0x1fd983[_0x4838ae(0x3a3)]),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x6a2ca2,_0x195e84])=>{const _0xe21ea5=_0x4838ae;typeof _0x195e84==_0xe21ea5(0x4fd)&&(_0x542fc3[_0x6a2ca2]=_0x195e84[_0xe21ea5(0x246)](/url\(#(.*)\)/,_0xe21ea5(0x375)+_0x1fd983[_0xe21ea5(0x3a3)]+')'));}),_0x542fc3);}function _0x4db7f6(_0x150970,_0x59460a){const _0x54b214=_0x13ba7a;var _0x972079;let {defIds:_0x50b2e1}=_0x59460a;return!_0x50b2e1||_0x50b2e1[_0x54b214(0x45b)]===0x0?_0x150970:_0x150970[_0x54b214(0x51b)]===_0x54b214(0x44c)&&(_0x972079=_0x150970[_0x54b214(0x46d)])!=null&&_0x972079[_0x54b214(0x45b)]?{..._0x150970,'children':_0x150970['children'][_0x54b214(0x281)](_0x890982=>typeof _0x890982[_0x54b214(0x1a4)]['id']==_0x54b214(0x4fd)&&_0x50b2e1&&_0x50b2e1['includes'](_0x890982[_0x54b214(0x1a4)]['id'])?{..._0x890982,'attrs':{..._0x890982[_0x54b214(0x1a4)],'id':_0x890982[_0x54b214(0x1a4)]['id']+_0x59460a[_0x54b214(0x3a3)]}}:_0x890982)}:_0x150970;}function _0x3eb98a(_0x3f64fa){const _0x2eb91c=_0x13ba7a;let _0x5de1c9=_0x3f64fa[_0x2eb91c(0x443)][_0x2eb91c(0x462)],_0xd161ca=Math[_0x2eb91c(0x4f1)](_0x5de1c9[_0x2eb91c(0x1dd)],_0x5de1c9[_0x2eb91c(0x2c5)]);if(!Number[_0x2eb91c(0x2fc)](_0xd161ca)||_0xd161ca<=0x0||_0x5de1c9[_0x2eb91c(0x1dd)]<=0x0||_0x5de1c9[_0x2eb91c(0x2c5)]<=0x0)return()=>void 0x0;let _0x43a467=0x10/_0xd161ca,_0x10a064=Array[_0x2eb91c(0x1fd)](_0x3f64fa[_0x2eb91c(0x229)](_0x2eb91c(0x2ac)))[_0x2eb91c(0x2d8)](_0xead1ff=>{const _0x106c4c=_0x2eb91c;let _0x1ff8f2=getComputedStyle(_0xead1ff),_0x3f219e=Number[_0x106c4c(0x2b8)](_0x1ff8f2[_0x106c4c(0x386)]);return _0x1ff8f2[_0x106c4c(0x24f)]===_0x106c4c(0x542)||Number[_0x106c4c(0x2b8)](_0x1ff8f2['strokeOpacity'])===0x0||_0x1ff8f2[_0x106c4c(0x1c7)]===_0x106c4c(0x4a2)||!Number[_0x106c4c(0x2fc)](_0x3f219e)||_0x3f219e<=0x0?[]:[{'element':_0xead1ff,'hadStyleAttribute':_0xead1ff[_0x106c4c(0x408)]('style'),'originalStrokeWidth':_0x3f219e,'strokeWidth':_0x477470(_0xead1ff['style'],_0x106c4c(0x572))}];})[_0x2eb91c(0x281)](_0x5b4b9d=>({'appliedStrokeWidth':null,'element':_0x5b4b9d[_0x2eb91c(0x217)],'hadStyleAttribute':_0x5b4b9d[_0x2eb91c(0x4b3)],'isReleased':!0x1,'originalStrokeWidth':_0x5b4b9d['originalStrokeWidth'],'strokeWidth':_0x5b4b9d[_0x2eb91c(0x386)]}));if(_0x10a064[_0x2eb91c(0x45b)]===0x0)return()=>void 0x0;let _0x484b81=(_0x142f3c,_0x48aaa9)=>{const _0x1239b1=_0x2eb91c;if(_0x5de1c9[_0x1239b1(0x1dd)]<=0x0||_0x5de1c9[_0x1239b1(0x2c5)]<=0x0||_0x142f3c<=0x0||_0x48aaa9<=0x0)return;let _0xc1257e=Math[_0x1239b1(0x254)](_0x142f3c/_0x5de1c9[_0x1239b1(0x1dd)],_0x48aaa9/_0x5de1c9[_0x1239b1(0x2c5)]);!Number[_0x1239b1(0x2fc)](_0xc1257e)||_0xc1257e<=0x0||_0x10a064[_0x1239b1(0x34a)](_0x5f1d50=>{const _0x36544e=_0x1239b1;if(_0x5f1d50[_0x36544e(0x1f7)])return;if(_0x5f1d50[_0x36544e(0x3e7)]!==null&&(_0x5f1d50['element'][_0x36544e(0x45d)][_0x36544e(0x26d)]('stroke-width')!==_0x5f1d50[_0x36544e(0x3e7)]||_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)]['getPropertyPriority'](_0x36544e(0x572))!==_0x5f1d50['strokeWidth'][_0x36544e(0x336)])){_0x5f1d50[_0x36544e(0x3e7)]=null,_0x5f1d50['isReleased']=!0x0;return;}let _0x5e4504=_0x5f1d50[_0x36544e(0x220)]*_0x43a467/_0xc1257e,_0x18b86f=Number(_0x5e4504['toFixed'](0xc))+'px';_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)][_0x36544e(0x483)]('stroke-width',_0x18b86f,_0x5f1d50[_0x36544e(0x386)][_0x36544e(0x336)]),_0x5f1d50[_0x36544e(0x3e7)]=_0x18b86f;});},_0x3f3a5b=_0x3f64fa[_0x2eb91c(0x452)]();_0x484b81(_0x3f3a5b[_0x2eb91c(0x1dd)],_0x3f3a5b['height']);let _0x2d1add=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22b7fc=>{const _0x2a3d6b=_0x2eb91c;if(_0x22b7fc[_0x2a3d6b(0x301)](_0x4de675=>_0x4de675[_0x2a3d6b(0x2de)]===_0x3f64fa)){let _0x551ff6=_0x3f64fa['getBoundingClientRect']();_0x484b81(_0x551ff6[_0x2a3d6b(0x1dd)],_0x551ff6[_0x2a3d6b(0x2c5)]);}});return _0x2d1add==null||_0x2d1add[_0x2eb91c(0x3d9)](_0x3f64fa),()=>{const _0xe5720=_0x2eb91c;_0x2d1add==null||_0x2d1add['disconnect'](),_0x10a064[_0xe5720(0x34a)](_0x29ea8a=>{const _0x31f6a6=_0xe5720;_0x29ea8a[_0x31f6a6(0x3e7)]!==null&&(_0x5c44c9(_0x29ea8a[_0x31f6a6(0x217)]['style'],'stroke-width',_0x29ea8a[_0x31f6a6(0x3e7)],_0x29ea8a['strokeWidth'][_0x31f6a6(0x336)],_0x29ea8a['strokeWidth']),!_0x29ea8a[_0x31f6a6(0x4b3)]&&_0x29ea8a['element']['style'][_0x31f6a6(0x45b)]===0x0&&_0x29ea8a['element'][_0x31f6a6(0x249)](_0x31f6a6(0x45d)));});};}function _0x477470(_0x397ab6,_0x3d174b){const _0x3a6c1c=_0x13ba7a;return{'priority':_0x397ab6['getPropertyPriority'](_0x3d174b),'value':_0x397ab6[_0x3a6c1c(0x26d)](_0x3d174b)};}function _0x5c44c9(_0xc83d27,_0x3a1b23,_0x50af69,_0x598415,_0x341895){const _0x2f586f=_0x13ba7a;_0xc83d27[_0x2f586f(0x26d)](_0x3a1b23)===_0x50af69&&_0xc83d27['getPropertyPriority'](_0x3a1b23)===_0x598415&&(_0x341895[_0x2f586f(0x472)]?_0xc83d27['setProperty'](_0x3a1b23,_0x341895['value'],_0x341895['priority']):_0xc83d27[_0x2f586f(0x2d5)](_0x3a1b23));}_0x3f4c4b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x30c);let _0x47913d={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x4c9),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x1fc),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x371),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':'path','attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x287)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x415)}}]},_0x414477=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x2e8f91,_0x30fda1){const _0x28922b=_0x13ba7a;return(0x0,_0x18bd90[_0x28922b(0x50e)])(_0x3f4c4b,Object[_0x28922b(0x236)]({},_0x2e8f91,{'id':_0x28922b(0x323),'ref':_0x30fda1,'icon':_0x47913d}));});_0x414477[_0x13ba7a(0x2f2)]=_0x13ba7a(0x350);let _0x592adc={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x44b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x556),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x4ab),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M8\x2010.2V11.8','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x31a),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}}]},_0x20e04e=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x572c69,_0xc60eff){const _0x14ac33=_0x13ba7a;return(0x0,_0x18bd90[_0x14ac33(0x50e)])(_0x3f4c4b,Object[_0x14ac33(0x236)]({},_0x572c69,{'id':_0x14ac33(0x2c9),'ref':_0xc60eff,'icon':_0x592adc}));});_0x20e04e[_0x13ba7a(0x2f2)]=_0x13ba7a(0x3cc);let _0x5f5806={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34c),'strokeLinecap':'round','strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x199),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34f),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x13ba7a(0x203),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x29e),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5b520d=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x41f1ef,_0x3bd550){const _0x1b3d78=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1b3d78(0x236)]({},_0x41f1ef,{'id':_0x1b3d78(0x2bd),'ref':_0x3bd550,'icon':_0x5f5806}));});_0x5b520d[_0x13ba7a(0x2f2)]=_0x13ba7a(0x431);let _0x3a88f1={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x356),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x4f5)}}]},_0x561e77=(0x0,_0x18bd90['forwardRef'])(function(_0x323736,_0xe41a6a){const _0x257c1a=_0x13ba7a;return(0x0,_0x18bd90[_0x257c1a(0x50e)])(_0x3f4c4b,Object['assign']({},_0x323736,{'id':_0x257c1a(0x3f5),'ref':_0xe41a6a,'icon':_0x3a88f1}));});_0x561e77[_0x13ba7a(0x2f2)]='MoveDownIcon';let _0x228117={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x41a),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x37f265=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x16a8bb,_0x3ca48e){const _0x37ada5=_0x13ba7a;return(0x0,_0x18bd90[_0x37ada5(0x50e)])(_0x3f4c4b,Object[_0x37ada5(0x236)]({},_0x16a8bb,{'id':_0x37ada5(0x314),'ref':_0x3ca48e,'icon':_0x228117}));});_0x37f265[_0x13ba7a(0x2f2)]=_0x13ba7a(0x1d0);let _0x4b5d4b={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x4e302b=(0x0,_0x18bd90['forwardRef'])(function(_0x23bec4,_0x44f71){const _0x1164cc=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1164cc(0x236)]({},_0x23bec4,{'id':_0x1164cc(0x2c1),'ref':_0x44f71,'icon':_0x4b5d4b}));});_0x4e302b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x2e9);let _0x195121={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ba),'strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ef),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x54f),'strokeLinejoin':'round'}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x40f)}}]},_0x2534bb=(0x0,_0x18bd90['forwardRef'])(function(_0x3d42bc,_0x239065){const _0x1cd4c4=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1cd4c4(0x236)]({},_0x3d42bc,{'id':_0x1cd4c4(0x285),'ref':_0x239065,'icon':_0x195121}));});_0x2534bb['displayName']=_0x13ba7a(0x492);let _0x5594fa={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':'0\x200\x2017\x2016','width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x3e3)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x24b),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x453),'fillRule':_0x13ba7a(0x50d),'clipRule':'evenodd'}}]},_0x209146=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x4a217a,_0x2a6ffa){const _0x11e1a8=_0x13ba7a;return(0x0,_0x18bd90[_0x11e1a8(0x50e)])(_0x3f4c4b,Object[_0x11e1a8(0x236)]({},_0x4a217a,{'id':'topmost-icon','ref':_0x2a6ffa,'icon':_0x5594fa}));});_0x209146[_0x13ba7a(0x2f2)]=_0x13ba7a(0x51f);function _0x18dc10(_0x86c5e){const _0x8bea11=_0x13ba7a;return _0x86c5e[_0x8bea11(0x581)]()||void 0x0;}function _0xd0506c(_0x21741e,_0x1f4a9e,_0x5a3f0b){const _0x5ef6c2=_0x13ba7a;var _0xe90dd4;return((_0xe90dd4=_0x21741e['name'])==null?void 0x0:_0xe90dd4[_0x5ef6c2(0x581)]())||_0x5a3f0b['t'](_0x5ef6c2(0x43f)+(0x0,_0xba932b[_0x5ef6c2(0x531)])(_0x21741e['drawingType']))+'\x20'+(_0x1f4a9e+0x1);}function _0x339519({PanelComponent:_0x157833=_0x2a7f32[_0x13ba7a(0x48d)]}){const _0x116f24=_0x13ba7a;var _0x4a87ce;let _0x71a148=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x482)]),_0x2ca1fa={'title':_0x71a148['t'](_0x116f24(0x55a)),'empty':_0x71a148['t'](_0x116f24(0x37b)),'showAll':_0x71a148['t'](_0x116f24(0x586)),'hideAll':_0x71a148['t'](_0x116f24(0x41b)),'lockAll':_0x71a148['t'](_0x116f24(0x244)),'unlockAll':_0x71a148['t'](_0x116f24(0x318)),'moveForward':_0x71a148['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x71a148['t'](_0x116f24(0x4b9)),'close':_0x71a148['t'](_0x116f24(0x21b)),'show':_0x71a148['t'](_0x116f24(0x3d7)),'hide':_0x71a148['t'](_0x116f24(0x3b1)),'lock':_0x71a148['t'](_0x116f24(0x28a)),'unlock':_0x71a148['t'](_0x116f24(0x532)),'lockHint':_0x71a148['t'](_0x116f24(0x46f)),'unlockHint':_0x71a148['t']('drawing-ui.objectListPanel.unlockHint'),'name':_0x71a148['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x71a148['t'](_0x116f24(0x454)),'description':_0x71a148['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x71a148['t'](_0x116f24(0x47c)),'details':_0x71a148['t'](_0x116f24(0x579)),'noSelection':_0x71a148['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x71a148['t']('drawing-ui.objectListPanel.locate'),'expand':_0x71a148['t'](_0x116f24(0x2c2)),'collapse':_0x71a148['t'](_0x116f24(0x345)),'dragToReorder':_0x71a148['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x71a148['t'](_0x116f24(0x40a)),'filterAll':_0x71a148['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x71a148['t'](_0x116f24(0x321)),'filterLocked':_0x71a148['t'](_0x116f24(0x1b6)),'sectionCanvas':_0x71a148['t'](_0x116f24(0x1a5)),'sectionFloating':_0x71a148['t'](_0x116f24(0x1fb))},_0x114ead=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x297)]),_0x338f6a=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x41d)]),_0x1f56f5=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x40f1a1[_0x116f24(0x292)]),_0x2630f6=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x15864b[_0x116f24(0x4e8)]),_0x527233=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x3458ba[_0x116f24(0x2a5)]),[,_0x16df67]=(0x0,_0x18bd90[_0x116f24(0x2da)])(_0x4bbff9=>_0x4bbff9+0x1,0x0),_0x275265=_0x338f6a[_0x116f24(0x34e)](_0x10e5f9['UniverInstanceType'][_0x116f24(0x450)]),_0x5f4bfc=(_0x275265==null?void 0x0:_0x275265['getUnitId']())??'',_0x16a15a=(_0x275265==null||(_0x4a87ce=_0x275265['getActiveSheet']())==null?void 0x0:_0x4a87ce[_0x116f24(0x37c)]())??'',_0xda63fd=(0x0,_0x187e10[_0x116f24(0x364)])(()=>_0x2630f6[_0x116f24(0x332)],_0x2630f6[_0x116f24(0x1da)](),!0x1,[_0x2630f6]);(0x0,_0x18bd90[_0x116f24(0x41e)])(()=>{const _0x40f824=_0x116f24;let _0x1fc01d=_0x114ead[_0x40f824(0x1ac)](()=>_0x16df67());return()=>_0x1fc01d[_0x40f824(0x206)]();},[_0x114ead]);let _0x2e7029=_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingData'](_0x5f4bfc,_0x16a15a):{},_0x266b5b=(_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingOrder'](_0x5f4bfc,_0x16a15a):[])['map'](_0x3dd385=>_0x2e7029[_0x3dd385])[_0x116f24(0x435)](_0x5d3454=>!!_0x5d3454)[_0x116f24(0x52c)](),_0x3478e1=_0x266b5b[_0x116f24(0x465)]((_0x344252,_0x3defc9)=>(_0x344252[(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x3defc9[_0x116f24(0x52e)])]+=0x1,_0x344252),{'canvas':0x0,'floating':0x0}),_0x5e818a={'canvas':0x0,'floating':0x0},_0x38e450=_0x266b5b[_0x116f24(0x281)]((_0x2aae4a,_0x5a5c83)=>{const _0x563c07=_0x116f24;let _0x3e70ec=(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x2aae4a['drawingType']),_0x280a1a=_0x3e70ec===_0x2a7f32[_0x563c07(0x28c)],_0x26cea8=_0x5e818a[_0x3e70ec]++;return{'id':_0x2aae4a[_0x563c07(0x272)],'name':_0xd0506c(_0x2aae4a,_0x5a5c83,_0x71a148),'description':_0x2aae4a['description'],'visible':_0x2aae4a[_0x563c07(0x1c5)]!==!0x0,'selectable':_0x2aae4a[_0x563c07(0x382)]!==!0x1,'sectionId':_0x3e70ec,'sectionTitle':_0x280a1a?_0x2ca1fa[_0x563c07(0x42c)]:_0x2ca1fa[_0x563c07(0x4d4)],'capabilities':_0x280a1a?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x280a1a&&_0x26cea8>0x0,'canMoveBackward':!_0x280a1a&&_0x26cea8<_0x3478e1[_0x563c07(0x31f)]-0x1,'canReorder':!_0x280a1a};}),_0x86da9a=(0x0,_0x18bd90[_0x116f24(0x2a1)])(()=>(_0xda63fd??[])[_0x116f24(0x435)](_0x58cf0a=>_0x58cf0a[_0x116f24(0x26e)]===_0x5f4bfc&&_0x58cf0a[_0x116f24(0x354)]===_0x16a15a)[_0x116f24(0x281)](_0x311789=>_0x311789[_0x116f24(0x272)]),[_0xda63fd,_0x16a15a,_0x5f4bfc]),_0x4a775d=_0x86da9a[_0x86da9a[_0x116f24(0x45b)]-0x1]??null,_0x58f603=_0x2418f3=>_0x1f56f5[_0x116f24(0x3db)]({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2418f3})??null,_0x57d64b=async _0x230f10=>{const _0x3dd290=_0x116f24;_0x5f4bfc&&_0x230f10['length']&&await _0x114ead[_0x3dd290(0x274)](_0x40f1a1[_0x3dd290(0x26f)]['id'],{'unitId':_0x5f4bfc,'drawings':_0x230f10});},_0x7319cd=async(_0x4d7e31,_0x5f43ab)=>{_0x58f603(_0x4d7e31)&&await _0x57d64b([{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x4d7e31,..._0x5f43ab}]);},_0x34f45f=(_0x2f620c,_0x23d19f)=>{const _0x1b1aad=_0x116f24;if(!_0x5f4bfc||!_0x16a15a)return;let _0x294462=_0x23d19f?_0x86da9a[_0x1b1aad(0x1df)](_0x2f620c)?_0x86da9a[_0x1b1aad(0x435)](_0x194953=>_0x194953!==_0x2f620c):[..._0x86da9a,_0x2f620c]:[_0x2f620c];_0x114ead[_0x1b1aad(0x1f8)](_0x15864b[_0x1b1aad(0x2e8)]['id'],_0x294462[_0x1b1aad(0x281)](_0x28ffe7=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x28ffe7})));let _0x2ec5bb=_0x294462[_0x294462[_0x1b1aad(0x45b)]-0x1];_0x2ec5bb?(0x0,_0xba932b[_0x1b1aad(0x559)])(_0x527233,{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2ec5bb}):(0x0,_0xba932b[_0x1b1aad(0x2a9)])(_0x527233,_0x5f4bfc);},_0x3b8c4b=async(_0x96a124,_0x3fe9b7)=>{const _0x37668b=_0x116f24;await _0x57d64b(_0x96a124[_0x37668b(0x281)](_0x42a4e9=>_0x58f603(_0x42a4e9))['filter'](_0x3afb2c=>!!_0x3afb2c)[_0x37668b(0x435)](_0x2e03a3=>_0x2e03a3[_0x37668b(0x1c5)]!==!0x0!==_0x3fe9b7)[_0x37668b(0x281)](_0x55882f=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x55882f[_0x37668b(0x272)],'hidden':!_0x3fe9b7})));},_0x48b695=async(_0x122f59,_0x67b6c1)=>{const _0x4882a5=_0x116f24;await _0x57d64b(_0x122f59[_0x4882a5(0x281)](_0x546e6c=>_0x58f603(_0x546e6c))[_0x4882a5(0x435)](_0x1732de=>!!_0x1732de)[_0x4882a5(0x435)](_0x47b5c6=>_0x47b5c6[_0x4882a5(0x382)]!==!0x1!==_0x67b6c1)[_0x4882a5(0x281)](_0x3fa86d=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x3fa86d[_0x4882a5(0x272)],'selectable':_0x67b6c1})));},_0x9cd754=_0x24c8c6=>{const _0x4fbbbf=_0x116f24;let _0x154752=_0x58f603(_0x24c8c6);if(_0x154752)return _0x48b695([_0x24c8c6],_0x154752[_0x4fbbbf(0x382)]===!0x1);},_0x2b6df4=async(_0x233ebc,_0x211888)=>{const _0x465e59=_0x116f24;var _0x785f74;let _0x2cf699=_0x18dc10(_0x211888);(((_0x785f74=_0x58f603(_0x233ebc))==null?void 0x0:_0x785f74[_0x465e59(0x1f6)])??void 0x0)!==_0x2cf699&&await _0x7319cd(_0x233ebc,{'name':_0x2cf699});},_0x463211=async(_0x117b38,_0xd75c29)=>{const _0x4b8eb2=_0x116f24;var _0x470a8c;let _0x34f8e3=_0x18dc10(_0xd75c29);(((_0x470a8c=_0x58f603(_0x117b38))==null?void 0x0:_0x470a8c[_0x4b8eb2(0x320)])??void 0x0)!==_0x34f8e3&&await _0x7319cd(_0x117b38,{'description':_0x34f8e3});},_0xbfb439=async(_0x280536,_0x544658)=>{const _0x4621f5=_0x116f24;_0x5f4bfc&&_0x16a15a&&await _0x114ead[_0x4621f5(0x274)](_0x40f1a1['SetDrawingArrangeCommand']['id'],{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingIds':[_0x280536],'arrangeType':_0x544658});};return!_0x5f4bfc||!_0x16a15a?(0x0,_0x30a372[_0x116f24(0x357)])(_0x116f24(0x3a5),{'className':_0x116f24(0x1fa),'children':_0x2ca1fa[_0x116f24(0x284)]}):(0x0,_0x30a372['jsx'])(_0x157833,{'labels':_0x2ca1fa,'items':_0x38e450,'selectedIds':_0x86da9a,'focusedId':_0x4a775d,'showHeader':!0x1,'onSelect':_0x34f45f,'onSetVisible':_0x3b8c4b,'onSetSelectable':_0x48b695,'onCommitName':_0x2b6df4,'onCommitDescription':_0x463211,'onMoveForward':async _0x1cc14e=>_0xbfb439(_0x1cc14e,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x470)]),'onMoveBackward':async _0x30b3a0=>_0xbfb439(_0x30b3a0,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x208)]),'onToggleSelectable':_0x9cd754});}function _0x1c616(){const _0x106164=_0x13ba7a;return(0x0,_0x30a372[_0x106164(0x357)])(_0x339519,{'PanelComponent':_0x2a7f32[_0x106164(0x3fa)]});}let _0x5debd6=class extends _0x10e5f9['Disposable']{constructor(_0x1557d5,_0x57992c){const _0x3a437f=_0x13ba7a;super(),this['disposeWithMe'](_0x1557d5[_0x3a437f(0x529)](_0x4dafcd,_0x1c616)),this[_0x3a437f(0x47f)](_0x57992c[_0x3a437f(0x529)]({'BottomIcon':_0x414477,'FlipHorizontalIcon':_0x20e04e,'FlipVerticalIcon':_0x5b520d,'MoveDownIcon':_0x561e77,'MoveUpIcon':_0x37f265,'ObjectLayersIcon':_0x4e302b,'ShapeFormatSettingIcon':_0x2534bb,'TopmostIcon':_0x209146})),this[_0x3a437f(0x47f)](_0x1557d5['register'](_0xb1d681,_0x29a2e)),this['disposeWithMe'](_0x1557d5['register'](_0x993061,_0x52a211)),_0x1557d5[_0x3a437f(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x3a437f(0x47f)](_0x1557d5['register'](_0x2a7f32[_0x3a437f(0x303)],_0x88ad35));}};_0x5debd6=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0x5debd6);let _0x17f3c3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0xb342d3){const _0x4844e4=_0x13ba7a;super(),this[_0x4844e4(0x55d)]=_0xb342d3,_0x5ae661(this,_0x4844e4(0x2bf),new _0x364ff4['BehaviorSubject'](null)),_0x5ae661(this,'editingParams$',this[_0x4844e4(0x2bf)][_0x4844e4(0x511)]()),_0x5ae661(this,_0x4844e4(0x349),new _0x364ff4[(_0x4844e4(0x222))](!0x1)),_0x5ae661(this,'onSavingEditorData$',this[_0x4844e4(0x349)]['asObservable']()),_0x5ae661(this,_0x4844e4(0x1cc),void 0x0),this['disposeWithMe'](this[_0x4844e4(0x55d)][_0x4844e4(0x541)][_0x4844e4(0x358)](()=>{const _0x4e62ef=_0x4844e4;let _0x12ee7a=this[_0x4e62ef(0x3bd)]();_0x12ee7a!=null&&_0x12ee7a['visible']&&!this[_0x4e62ef(0x2af)](_0x12ee7a)&&this[_0x4e62ef(0x578)](null);}));}['dispose'](){const _0x114da=_0x13ba7a;this[_0x114da(0x3f7)](),this[_0x114da(0x2bf)][_0x114da(0x475)](null),this[_0x114da(0x2bf)]['complete'](),this[_0x114da(0x349)][_0x114da(0x475)](!0x1),this[_0x114da(0x349)][_0x114da(0x3b2)](),super[_0x114da(0x206)]();}[_0x13ba7a(0x578)](_0xdb94c7){const _0x5708f0=_0x13ba7a;(_0xdb94c7==null||!_0xdb94c7[_0x5708f0(0x2ed)]||this[_0x5708f0(0x2af)](_0xdb94c7))&&(this[_0x5708f0(0x3f7)](),this['_editingParams$']['next'](_0xdb94c7),(_0xdb94c7==null||_0xdb94c7[_0x5708f0(0x2ed)]&&this[_0x5708f0(0x349)][_0x5708f0(0x338)]())&&this[_0x5708f0(0x349)][_0x5708f0(0x475)](!0x1));}[_0x13ba7a(0x1e4)](_0x21fa02){const _0x3624bc=_0x13ba7a;this[_0x3624bc(0x349)][_0x3624bc(0x475)](_0x21fa02);}[_0x13ba7a(0x3bd)](){const _0xa3d466=_0x13ba7a;return this['_editingParams$'][_0xa3d466(0x338)]();}[_0x13ba7a(0x2af)](_0x278e3e){const _0x23c8da=_0x13ba7a;let _0x7ee1d2=this[_0x23c8da(0x55d)][_0x23c8da(0x3da)](new _0x32abfe['WorkbookEditablePermission'](_0x278e3e[_0x23c8da(0x26e)])['id']),_0x444d54=this['_permissionService']['getPermissionPoint'](new _0x32abfe[(_0x23c8da(0x1f2))](_0x278e3e['unitId'],_0x278e3e[_0x23c8da(0x354)])['id']);return((_0x7ee1d2==null?void 0x0:_0x7ee1d2[_0x23c8da(0x472)])??!0x0)&&((_0x444d54==null?void 0x0:_0x444d54[_0x23c8da(0x472)])??!0x0);}[_0x13ba7a(0x403)](_0x1308ba){const _0x473e26=_0x13ba7a;let _0x87b23e=this[_0x473e26(0x3bd)]();_0x87b23e&&this['_completionFrame']===void 0x0&&(this['setOnSavingEditorData'](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x1c0208=_0x473e26;this[_0x1c0208(0x1cc)]=void 0x0,this[_0x1c0208(0x3bd)]()===_0x87b23e&&this['setEditing'](null);}));}[_0x13ba7a(0x3f7)](){const _0x499d93=_0x13ba7a;this[_0x499d93(0x1cc)]!==void 0x0&&(cancelAnimationFrame(this[_0x499d93(0x1cc)]),this[_0x499d93(0x1cc)]=void 0x0);}['cancelEditing'](){const _0x57da10=_0x13ba7a;this[_0x57da10(0x3bd)]()&&this[_0x57da10(0x578)](null);}};_0x17f3c3=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x509)])],_0x17f3c3);let _0xa4311e=class extends _0x10e5f9['Disposable']{constructor(_0x3b602f,_0x50b6fc,_0x449602,_0x1f165f,_0x2b62e7,_0x2bbd8a){const _0x362d2a=_0x13ba7a;super(),this[_0x362d2a(0x3cb)]=_0x3b602f,this[_0x362d2a(0x58c)]=_0x50b6fc,this[_0x362d2a(0x205)]=_0x449602,this[_0x362d2a(0x3c5)]=_0x1f165f,this[_0x362d2a(0x39b)]=_0x2b62e7,this[_0x362d2a(0x56c)]=_0x2bbd8a,_0x5ae661(this,_0x362d2a(0x1d2),null),this[_0x362d2a(0x2ca)](),this['_initSelection'](),this[_0x362d2a(0x4fb)]();}[_0x13ba7a(0x2ca)](){const _0x2d7520=_0x13ba7a;let {scene:_0x4e02d3}=this['_context'];this['disposeWithMe'](_0x4e02d3[_0x2d7520(0x417)]['subscribeEvent'](_0x1f3afb=>{const _0x5ed7da=_0x2d7520;let {offsetX:_0x3329a7,offsetY:_0x5da42a}=_0x1f3afb,_0x1a94ec=_0x4e02d3[_0x5ed7da(0x3c0)](_0x3458ba[_0x5ed7da(0x265)][_0x5ed7da(0x3ae)]([_0x3329a7,_0x5da42a]));if(_0x1a94ec instanceof _0x402866){let _0xb4a03f=this[_0x5ed7da(0x56c)][_0x5ed7da(0x2f5)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec['subUnitId'],_0x1a94ec[_0x5ed7da(0x42a)]);if((0x0,_0xd67e3f[_0x5ed7da(0x36a)])(this[_0x5ed7da(0x56c)][_0x5ed7da(0x21e)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec[_0x5ed7da(0x354)],_0x1a94ec['shapeId']))||_0xb4a03f!=null&&_0xb4a03f['getShapeData']()[_0x5ed7da(0x1c2)])return;this[_0x5ed7da(0x205)][_0x5ed7da(0x578)]({'visible':!0x0,'unitId':_0x1a94ec[_0x5ed7da(0x26e)],'subUnitId':_0x1a94ec[_0x5ed7da(0x354)],'shapeId':_0x1a94ec[_0x5ed7da(0x42a)],'shapeKey':_0x1a94ec['oKey']});}}));}[_0x13ba7a(0x392)](){const _0x459b81=_0x13ba7a;this[_0x459b81(0x47f)](this[_0x459b81(0x3c5)][_0x459b81(0x332)][_0x459b81(0x358)](_0xf591af=>{const _0x5bf42=_0x459b81;if(_0xf591af[_0x5bf42(0x45b)]===0x1){let _0x137003=_0xf591af[0x0],_0x507de2=this[_0x5bf42(0x3c5)][_0x5bf42(0x3db)](_0x137003);if((_0x507de2==null?void 0x0:_0x507de2[_0x5bf42(0x52e)])===_0x10e5f9[_0x5bf42(0x2e1)][_0x5bf42(0x20d)]){var _0x7ce5a7;let _0x500d76=this[_0x5bf42(0x205)][_0x5bf42(0x3bd)]();if((_0x500d76==null?void 0x0:_0x500d76[_0x5bf42(0x42a)])===_0x137003[_0x5bf42(0x272)]&&_0x500d76[_0x5bf42(0x2ed)])return;let _0x25795b=(0x0,_0xd67e3f['isConnectorShape'])(this[_0x5bf42(0x56c)][_0x5bf42(0x21e)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)])),_0x5444a8=!!((_0x7ce5a7=this[_0x5bf42(0x56c)][_0x5bf42(0x2f5)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)]))!=null&&_0x7ce5a7[_0x5bf42(0x434)]()[_0x5bf42(0x1c2)]);(_0x25795b||_0x5444a8)&&this[_0x5bf42(0x205)][_0x5bf42(0x578)](null);}else this['_shapeTextEditingService']['completeEditing']();}else this['_shapeTextEditingService'][_0x5bf42(0x403)]();})),this[_0x459b81(0x47f)](this['_drawingManagerService']['remove$'][_0x459b81(0x358)](_0x4a27e8=>{const _0x275506=_0x459b81;let _0x483c1e=this[_0x275506(0x205)]['getEditing']();_0x483c1e&&_0x4a27e8[_0x275506(0x301)](_0x29f339=>_0x29f339[_0x275506(0x272)]===_0x483c1e[_0x275506(0x42a)])&&this['_shapeTextEditingService'][_0x275506(0x578)](null);}));}[_0x13ba7a(0x4fb)](){const _0x3ee940=_0x13ba7a;this[_0x3ee940(0x47f)](this[_0x3ee940(0x205)]['editingParams$'][_0x3ee940(0x358)](_0x91bff3=>{const _0x575c56=_0x3ee940;let {scene:_0x2b82b6}=this[_0x575c56(0x3cb)];if(this[_0x575c56(0x1d2)]){let _0x383f63=_0x2b82b6[_0x575c56(0x1a7)](this[_0x575c56(0x1d2)]);_0x383f63&&_0x383f63['setEditing'](!0x1);}if(_0x91bff3){let _0x41b151=!!_0x91bff3[_0x575c56(0x2ed)],_0x257e39=_0x2b82b6[_0x575c56(0x1a7)](_0x91bff3[_0x575c56(0x2d4)]);_0x257e39&&(_0x257e39[_0x575c56(0x578)](_0x41b151),this[_0x575c56(0x1d2)]=_0x91bff3['shapeKey']),this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9[_0x575c56(0x20e)],_0x41b151);}else this[_0x575c56(0x1d2)]=null,this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0xa4311e=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0xa4311e);var _0x1aee3a=class extends _0xa4311e{[_0x13ba7a(0x2ca)](){const _0xfcd053=_0x13ba7a;let {scene:_0x3fcfa5}=this[_0xfcd053(0x3cb)],_0x2ba89b=this[_0xfcd053(0x58c)][_0xfcd053(0x468)](_0xba932b['MobileShapeEditorService']);this[_0xfcd053(0x47f)](_0x3fcfa5[_0xfcd053(0x417)][_0xfcd053(0x2f6)](_0x2fd314=>{const _0x50844a=_0xfcd053;let {offsetX:_0x489cd8,offsetY:_0x243a79}=_0x2fd314,_0x144f9e=_0x3fcfa5[_0x50844a(0x3c0)](_0x3458ba[_0x50844a(0x265)][_0x50844a(0x3ae)]([_0x489cd8,_0x243a79]));if(!(_0x144f9e instanceof _0x402866))return;let _0x5cfaad=this['_sheetsShapeService'][_0x50844a(0x2f5)](_0x144f9e[_0x50844a(0x26e)],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]);(0x0,_0xd67e3f[_0x50844a(0x36a)])(this['_sheetsShapeService'][_0x50844a(0x21e)](_0x144f9e['unitId'],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]))||_0x5cfaad!=null&&_0x5cfaad[_0x50844a(0x434)]()[_0x50844a(0x1c2)]||_0x2ba89b[_0x50844a(0x269)](_0x50844a(0x43a),{'hostType':_0x10e5f9[_0x50844a(0x503)][_0x50844a(0x450)],'unitId':_0x144f9e[_0x50844a(0x26e)],'subUnitId':_0x144f9e[_0x50844a(0x354)],'shapeId':_0x144f9e[_0x50844a(0x42a)]});}));}};let _0x10ddc4={..._0x1c5a09},_0x22d2ee=class extends _0x10e5f9['Disposable']{constructor(_0x3a8d4d,_0x582e19,_0x40cc82,_0x526033,_0x330121,_0x843d1d,_0x29d6da,_0x8160a9){const _0xa5e7e2=_0x13ba7a;super(),this['_menuManagerService']=_0x3a8d4d,this[_0xa5e7e2(0x56c)]=_0x582e19,this[_0xa5e7e2(0x558)]=_0x40cc82,this[_0xa5e7e2(0x3c5)]=_0x526033,this['_sheetCanvasPopManagerService']=_0x330121,this[_0xa5e7e2(0x39b)]=_0x843d1d,this['_renderManagerService']=_0x29d6da,this[_0xa5e7e2(0x205)]=_0x8160a9,_0x5ae661(this,'_shapePopupMenuDisposable',null),this[_0xa5e7e2(0x52d)][_0xa5e7e2(0x1d8)](_0x10ddc4),this[_0xa5e7e2(0x2b5)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0xa5e7e2(0x4c6)]['subscribe'](_0x3d8656=>{const _0x56170e=_0xa5e7e2;_0x3d8656&&this[_0x56170e(0x239)]();}));}[_0x13ba7a(0x2e3)](){const _0x15e236=_0x13ba7a;this[_0x15e236(0x1e0)]||=this[_0x15e236(0x47f)]((0x0,_0xba932b['bindRenderTransformerLifecycle'])(this[_0x15e236(0x2e2)],_0x10e5f9['UniverInstanceType'][_0x15e236(0x450)],_0x44f90e=>this[_0x15e236(0x201)](_0x44f90e)));}[_0x13ba7a(0x2b5)](){const _0x927cc7=_0x13ba7a;this[_0x927cc7(0x372)][_0x927cc7(0x588)](_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x20c79f,_0xa335c7,_0x2592eb,_0x323da0)=>{const _0x4e22a2=_0x927cc7;let _0xfbdfcd=this[_0x4e22a2(0x56c)][_0x4e22a2(0x42b)](_0x20c79f,_0xa335c7,_0x2592eb),_0x261898=this[_0x4e22a2(0x56c)][_0x4e22a2(0x204)](_0x20c79f,_0xa335c7,_0x2592eb),_0x11fa74=_0xfbdfcd!==void 0x0&&!(0x0,_0xd67e3f[_0x4e22a2(0x36a)])(_0xfbdfcd)&&!(_0x261898!=null&&_0x261898['formulaBinding']);return[{'label':_0x4e22a2(0x4a8),'index':0x0,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':_0x4e22a2(0x45d)},'disable':!0x1},..._0x11fa74?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':'text'},'disable':!0x1}]:[],{'label':_0x4e22a2(0x594),'index':0x2,'commandId':_0x40f1a1[_0x4e22a2(0x460)]['id'],'commandParams':{'unitId':_0x20c79f,'drawings':[{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'drawingType':_0x323da0}]},'disable':!0x1},{'label':_0x4e22a2(0x3e0),'index':0x3,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipH':!0x0},'disable':!0x1},{'label':_0x4e22a2(0x23c),'index':0x4,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipV':!0x0},'disable':!0x1}];},_0x927cc7(0x4ee));}[_0x13ba7a(0x201)](_0x1ce3b0){const _0x3bbeab=_0x13ba7a;let _0x339f36=new _0x10e5f9[(_0x3bbeab(0x497))](),_0x5397c5=null,_0x35a6ec=()=>{const _0x3cd8c7=_0x3bbeab;if(!_0x5397c5)return;let _0x2c034c=this['_drawingManagerService'][_0x3cd8c7(0x1da)](),_0x26d6c3=_0x2c034c[_0x3cd8c7(0x45b)]===0x0||_0x2c034c[_0x3cd8c7(0x45b)]===0x1&&_0x2c034c[_0x3cd8c7(0x301)](_0x7d79cf=>_0x7d79cf[_0x3cd8c7(0x26e)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x26e)])&&_0x7d79cf[_0x3cd8c7(0x354)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x354)])&&_0x7d79cf['drawingId']===(_0x5397c5==null?void 0x0:_0x5397c5['drawingId']));_0x5397c5=null,_0x26d6c3&&(this['_contextService'][_0x3cd8c7(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3cd8c7(0x3c5)][_0x3cd8c7(0x3f9)](null));};return _0x339f36['add'](_0x1ce3b0[_0x3bbeab(0x517)][_0x3bbeab(0x358)](()=>{const _0x2390fc=_0x3bbeab;let _0x47b7c1=_0x1ce3b0[_0x2390fc(0x1b5)]();if(_0x47b7c1['size']>0x1){_0x35a6ec();return;}let _0xaf85cf=_0x47b7c1[_0x2390fc(0x1cb)]()[_0x2390fc(0x475)]()[_0x2390fc(0x472)];if(!_0xaf85cf){_0x35a6ec();return;}let _0x5ce017=this[_0x2390fc(0x3c5)]['getDrawingOKey'](_0xaf85cf['oKey']);if(!_0x5ce017||_0x5ce017['drawingType']!==_0x10e5f9[_0x2390fc(0x2e1)][_0x2390fc(0x20d)]){_0x35a6ec();return;}let {unitId:_0x11101d,subUnitId:_0x4317a9,drawingId:_0x54a3a6}=_0x5ce017;_0x5397c5={'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6},this[_0x2390fc(0x39b)][_0x2390fc(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x0),this['_drawingManagerService'][_0x2390fc(0x1da)]()[_0x2390fc(0x298)](_0x59a80a=>_0x59a80a[_0x2390fc(0x26e)]===_0x11101d&&_0x59a80a['subUnitId']===_0x4317a9&&_0x59a80a['drawingId']===_0x54a3a6)||this[_0x2390fc(0x3c5)][_0x2390fc(0x3f9)]([{'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6}]);})),_0x339f36[_0x3bbeab(0x278)](_0x1ce3b0[_0x3bbeab(0x1bf)]['subscribe'](()=>{_0x35a6ec();})),(0x0,_0x10e5f9[_0x3bbeab(0x576)])(()=>{const _0x194ada=_0x3bbeab;_0x339f36[_0x194ada(0x206)](),_0x35a6ec();});}['_clearFocusedShape'](){const _0x278406=_0x13ba7a;this[_0x278406(0x39b)]['setContextValue'](_0x10e5f9[_0x278406(0x2f4)],!0x1),this[_0x278406(0x3c5)]['focusDrawing'](null);}};_0x22d2ee=_0x12f75a([_0x174396(0x0,_0x187e10['IMenuManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x5,_0x10e5f9['IContextService']),_0x174396(0x6,_0x3458ba['IRenderManagerService']),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x22d2ee);function _0x2c1d4e(_0x1e2bca,_0x6dd6ba,_0x40f8db,_0x2ef21d){const _0x444552=_0x13ba7a;let _0xa2826f=(0x0,_0x15864b[_0x444552(0x496)])(_0x1e2bca,_0x6dd6ba,_0x40f8db),_0xee46e8=[];for(let _0x305ca9 of _0x6dd6ba){let _0x498082=_0xa2826f[_0x444552(0x3ef)][_0x444552(0x468)](_0x305ca9[_0x444552(0x272)]),_0x274518=_0x2ef21d(_0x305ca9);_0x498082&&_0x274518&&_0xee46e8[_0x444552(0x1b2)]({'targetShapeId':_0x498082,'source':_0x274518});}return _0xee46e8;}let _0x570b9c=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4a250b,_0x5657c7,_0x4af634,_0x5c8e27){const _0x2c5b1a=_0x13ba7a;super(),this[_0x2c5b1a(0x583)]=_0x4a250b,this[_0x2c5b1a(0x237)]=_0x5657c7,this[_0x2c5b1a(0x4bb)]=_0x4af634,this['_sheetsShapeService']=_0x5c8e27,this[_0x2c5b1a(0x1f1)]();}[_0x13ba7a(0x1f1)](){const _0x5d0914=_0x13ba7a;this[_0x5d0914(0x47f)](this['_sheetInterceptorService'][_0x5d0914(0x20b)]({'getMutations':_0x2eef49=>{const _0x31d8df=_0x5d0914;if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x366)]['id']){let _0x7a6dee=(0x0,_0x32abfe[_0x31d8df(0x39c)])(this['_univerInstanceService'],_0x2eef49[_0x31d8df(0x352)]);if(!_0x7a6dee)return{'redos':[],'undos':[]};let {unitId:_0x2abb27,subUnitId:_0x1b790e}=_0x7a6dee,_0x38ba88=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x2abb27,_0x1b790e),_0x48a868=Object['values'](_0x38ba88)['filter'](_0x43841d=>_0x43841d[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x48a868[_0x31d8df(0x45b)]===0x0)return{'redos':[],'undos':[]};let _0x3ae9e1=[],_0x5ea40e=[];for(let _0xca35b5=0x0;_0xca35b5<_0x48a868[_0x31d8df(0x45b)];_0xca35b5++){let _0x1c9c11=_0x48a868[_0xca35b5],_0x188624=this[_0x31d8df(0x56c)][_0x31d8df(0x2f5)](_0x1c9c11[_0x31d8df(0x26e)],_0x1c9c11['subUnitId'],_0x1c9c11['drawingId']);_0x188624&&(_0x3ae9e1[_0x31d8df(0x1b2)]({'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11[_0x31d8df(0x272)]}}),_0x5ea40e[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11['drawingId'],'shapeType':_0x188624['getShapeType'](),'shapeData':JSON[_0x31d8df(0x257)](JSON[_0x31d8df(0x2fe)](_0x188624[_0x31d8df(0x434)]()))}}));}return{'redos':_0x3ae9e1,'undos':_0x5ea40e};}if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x4f2)]['id']){let {unitId:_0x3e43f6,subUnitId:_0x8063ae,targetSubUnitId:_0x32f24f,copyContext:_0x14b9d5}=_0x2eef49[_0x31d8df(0x352)];if(!_0x3e43f6||!_0x8063ae||!_0x32f24f)return{'redos':[],'undos':[]};let _0x2d2b83=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x3e43f6,_0x8063ae),_0x1d653a=Object[_0x31d8df(0x1cb)](_0x2d2b83)[_0x31d8df(0x435)](_0x364b35=>_0x364b35[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x1d653a['length']===0x0)return{'redos':[],'undos':[]};let _0x57a2de=_0x2c1d4e(_0x14b9d5,_0x1d653a,{'unitId':_0x3e43f6,'sourceSubUnitId':_0x8063ae,'targetSubUnitId':_0x32f24f},_0x46d38b=>{const _0x1ccec5=_0x31d8df;let _0x27dc9e=this[_0x1ccec5(0x56c)][_0x1ccec5(0x2f5)](_0x46d38b['unitId'],_0x46d38b['subUnitId'],_0x46d38b[_0x1ccec5(0x272)]);if(_0x27dc9e)return{'shapeType':_0x27dc9e[_0x1ccec5(0x21e)](),'shapeData':JSON[_0x1ccec5(0x257)](JSON['stringify'](_0x27dc9e[_0x1ccec5(0x434)]()))};}),_0x44887a=[],_0x3ba2f4=[];for(let {targetShapeId:_0x257c20,source:_0x33f5c1}of _0x57a2de)_0x44887a[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20,'shapeType':_0x33f5c1[_0x31d8df(0x25e)],'shapeData':_0x33f5c1[_0x31d8df(0x429)]}}),_0x3ba2f4[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x522)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20}});return{'redos':_0x44887a,'undos':_0x3ba2f4};}return{'redos':[],'undos':[]};}}));}};_0x570b9c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x41d)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x32abfe[_0x13ba7a(0x3d2)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1['ISheetDrawingService'])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)]))],_0x570b9c);let _0x3fa9e3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x5b25cb,_0x13342d,_0x4437ab,_0x303bc1,_0x32a6ba,_0x4d9352){const _0x1cf8fb=_0x13ba7a;super(),this[_0x1cf8fb(0x558)]=_0x5b25cb,this[_0x1cf8fb(0x2e2)]=_0x13342d,this[_0x1cf8fb(0x3c5)]=_0x4437ab,this[_0x1cf8fb(0x467)]=_0x303bc1,this[_0x1cf8fb(0x4ad)]=_0x32a6ba,this['_sheetDrawingShapeRenderController']=_0x4d9352,_0x5ae661(this,_0x1cf8fb(0x3ce),new Set()),this['_initialize']();}[_0x13ba7a(0x3eb)](){const _0x2c8c89=_0x13ba7a;this['_drawingAddListener'](),this[_0x2c8c89(0x564)](),this['_shapeUpdateListener']();}[_0x13ba7a(0x574)](){const _0x11e5d1=_0x13ba7a;this[_0x11e5d1(0x47f)](this['_drawingManagerService'][_0x11e5d1(0x489)][_0x11e5d1(0x358)](_0x3561c1=>{const _0x394981=_0x11e5d1;this[_0x394981(0x1f0)](_0x3561c1);}));}[_0x13ba7a(0x564)](){const _0x36469d=_0x13ba7a;this['disposeWithMe'](this[_0x36469d(0x558)][_0x36469d(0x1ac)]((_0x3a52d7,_0x38d90d)=>{const _0x27a18c=_0x36469d;if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x479)]['id']){let {unitId:_0x4aa026,subUnitId:_0x21a6f3,shapeId:_0x107f36}=_0x3a52d7['params'],_0x2d31db=this[_0x27a18c(0x1b8)](_0x4aa026),_0x1ba2ad=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'drawingId':_0x107f36}),_0x444a42=_0x2d31db==null?void 0x0:_0x2d31db['scene'][_0x27a18c(0x1a7)](_0x1ba2ad);_0x444a42&&(this[_0x27a18c(0x599)][_0x27a18c(0x1e8)](_0x444a42),this['_sheetDrawingShapeRenderController']['refreshFormulaPresentation'](_0x444a42,{'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'shapeId':_0x107f36}),_0x444a42[_0x27a18c(0x334)](!0x0));return;}if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x4f0)]['id']){var _0x485953;let {unitId:_0x43ea5d,subUnitId:_0x571878,shapeId:_0x4f0122}=_0x3a52d7[_0x27a18c(0x352)],_0x50433b=this[_0x27a18c(0x1b8)](_0x43ea5d);if(_0x50433b==null)return;let {scene:_0x4bb2e9}=_0x50433b,_0x12e1a3=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}),_0x4b2b04=_0x4bb2e9[_0x27a18c(0x1a7)](_0x12e1a3);if(!((_0x485953=this['_renderManagerService'][_0x27a18c(0x57f)](_0x43ea5d))!=null&&_0x485953[_0x27a18c(0x39e)](_0x189be3['SheetSkeletonManagerService'])[_0x27a18c(0x50c)](_0x571878)))return!0x1;if(_0x4b2b04)return;if(_0x38d90d!=null&&_0x38d90d[_0x27a18c(0x3a7)]){queueMicrotask(()=>{const _0x32381f=_0x27a18c;this[_0x32381f(0x3f3)]||this['_insertShapes']([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);});return;}this[_0x27a18c(0x1f0)]([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);}}));}[_0x13ba7a(0x271)](){const _0x19fa45=_0x13ba7a;this[_0x19fa45(0x47f)](this[_0x19fa45(0x3c5)][_0x19fa45(0x28e)][_0x19fa45(0x358)](_0x414960=>{const _0x390340=_0x19fa45;_0x414960[_0x390340(0x34a)](_0x9c2bc3=>{const _0x188783=_0x390340;let {unitId:_0x285a05,subUnitId:_0xf65dbe,drawingId:_0x3aed76}=_0x9c2bc3,_0x3a7e1a=this[_0x188783(0x3c5)][_0x188783(0x3db)](_0x9c2bc3);if(_0x3a7e1a==null)return;let {transform:_0x1df36d,drawingType:_0x3ac577,srcRect:_0x32afa0,prstGeom:_0x57f742}=_0x3a7e1a;if(_0x3ac577!==_0x10e5f9[_0x188783(0x2e1)][_0x188783(0x20d)])return;let _0x4014fb=this[_0x188783(0x1b8)](_0x285a05);if(_0x4014fb==null)return;let {scene:_0x80ec16,transformer:_0x280cd9}=_0x4014fb;if(_0x1df36d==null)return!0x0;let _0x277561=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x285a05,'subUnitId':_0xf65dbe,'drawingId':_0x3aed76}),_0x28147c=_0x80ec16[_0x188783(0x1a7)](_0x277561);if(_0x28147c==null)return!0x0;_0x28147c[_0x188783(0x2e4)](_0x32afa0),_0x28147c[_0x188783(0x30e)](_0x57f742);});}));}['_insertShapes'](_0x540286){const _0x374aca=_0x13ba7a;for(let _0x33b07c of _0x540286){var _0x5de82e;let {unitId:_0xdf7ae8,subUnitId:_0x8f6ea,drawingId:_0x13795e}=_0x33b07c,_0xfbd10b=this['_getSceneAndTransformerByDrawingSearch'](_0xdf7ae8),_0x54f632=(_0x5de82e=(0x0,_0x2a7f32[_0x374aca(0x26b)])(this['_currentUniverService'],_0xdf7ae8))==null?void 0x0:_0x5de82e[_0x374aca(0x354)];if(_0xfbd10b==null||_0x54f632!==_0x8f6ea)return;let _0x413293=(0x0,_0x15864b[_0x374aca(0x2df)])({'unitId':_0xdf7ae8,'subUnitId':_0x8f6ea,'drawingId':_0x13795e});if(this['_insertingShapeKeys'][_0x374aca(0x1d7)](_0x413293)||_0xfbd10b[_0x374aca(0x2a7)][_0x374aca(0x1a7)](_0x413293)!=null)return;let _0x424360=this['_drawingManagerService'][_0x374aca(0x3db)](_0x33b07c);if(_0x424360==null||_0x424360['drawingType']!==_0x10e5f9[_0x374aca(0x2e1)]['DRAWING_SHAPE'])return;let _0x44e638=_0x424360[_0x374aca(0x59a)]||{};if((0x0,_0xd67e3f[_0x374aca(0x36a)])(_0x44e638['shapeType'])){let _0x37899f=_0x424360[_0x374aca(0x474)];_0x37899f&&(_0x424360[_0x374aca(0x474)]={..._0x37899f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x374aca(0x3ce)][_0x374aca(0x278)](_0x413293);try{this['_sheetDrawingShapeRenderController'][_0x374aca(0x4e7)](_0x424360,_0xfbd10b[_0x374aca(0x2a7)]);}finally{this[_0x374aca(0x3ce)]['delete'](_0x413293);}queueMicrotask(()=>{const _0x539d5f=_0x374aca;if(this[_0x539d5f(0x3f3)])return;let _0x31e3e1=(0x0,_0x15864b[_0x539d5f(0x2df)])(_0x33b07c);if(!_0xfbd10b[_0x539d5f(0x2a7)][_0x539d5f(0x1a7)](_0x31e3e1))return;let _0x8f1f9a=this[_0x539d5f(0x3c5)]['getDrawingByParam'](_0x33b07c);_0x8f1f9a&&this['_drawingManagerService'][_0x539d5f(0x499)]([_0x8f1f9a]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x3988fb){const _0x277e21=_0x13ba7a;if(_0x3988fb==null)return;let _0x38ebc3=this['_renderManagerService'][_0x277e21(0x57f)](_0x3988fb),_0xb467a2=_0x38ebc3==null?void 0x0:_0x38ebc3[_0x277e21(0x2a7)];return _0xb467a2==null?null:{'scene':_0xb467a2,'transformer':_0xb467a2['getTransformerByCreate']()};}};_0x3fa9e3=_0x12f75a([_0x174396(0x0,_0x10e5f9['ICommandService']),_0x174396(0x1,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32[_0x13ba7a(0x2dd)])),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x5191eb))],_0x3fa9e3);let _0x5a843b={'normal':{'fill':_0xd67e3f[_0x13ba7a(0x225)][_0x13ba7a(0x4e2)],'stroke':_0xd67e3f['ShapeDefaultConfig'][_0x13ba7a(0x38e)],'strokeWidth':_0xd67e3f[_0x13ba7a(0x225)]['cxnPointStrokeWidth']},'highlighted':{'fill':_0x13ba7a(0x2ab),'stroke':_0x13ba7a(0x520),'strokeWidth':0x2}};var _0x39c6da=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x3ff93b,_0x52ddfe){const _0x10b140=_0x13ba7a;super(_0x3ff93b,_0x52ddfe),_0x5ae661(this,_0x10b140(0x563),''),_0x5ae661(this,_0x10b140(0x49a),-0x1),_0x5ae661(this,_0x10b140(0x35d),''),_0x5ae661(this,'_subUnitId',''),_0x5ae661(this,'_isHighlighted',!0x1),_0x52ddfe&&this['setShapeProps'](_0x52ddfe);}['getConnectionInfo'](){const _0x4feec6=_0x13ba7a;return{'unitId':this['_unitId'],'subUnitId':this[_0x4feec6(0x2cf)],'shapeId':this[_0x4feec6(0x563)],'cxnIndex':this[_0x4feec6(0x49a)]};}[_0x13ba7a(0x1a0)](_0x977b33){const _0x3334d1=_0x13ba7a;this['_isHighlighted']!==_0x977b33&&(this[_0x3334d1(0x3f4)]=_0x977b33,this[_0x3334d1(0x334)](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x13ba7a(0x2b1)](_0x4b5911){const _0x535dcd=_0x13ba7a;_0x4b5911['targetShapeId']!==void 0x0&&(this[_0x535dcd(0x563)]=_0x4b5911['targetShapeId']),_0x4b5911[_0x535dcd(0x3e9)]!==void 0x0&&(this[_0x535dcd(0x49a)]=_0x4b5911['cxnIndex']),_0x4b5911[_0x535dcd(0x26e)]!==void 0x0&&(this[_0x535dcd(0x35d)]=_0x4b5911[_0x535dcd(0x26e)]),_0x4b5911[_0x535dcd(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4b5911[_0x535dcd(0x354)]),_0x4b5911[_0x535dcd(0x283)]!==void 0x0&&(this['_isHighlighted']=_0x4b5911[_0x535dcd(0x283)]),this[_0x535dcd(0x3e2)]({'width':_0x4b5911['width']??_0xd67e3f['ShapeDefaultConfig'][_0x535dcd(0x290)]*0x2,'height':_0x4b5911[_0x535dcd(0x2c5)]??_0xd67e3f[_0x535dcd(0x225)]['cxnPointRadius']*0x2});}[_0x13ba7a(0x2fa)](_0x45f747){const _0x492cb4=_0x13ba7a;let _0xaa9a4=this[_0x492cb4(0x3f4)]?_0x5a843b[_0x492cb4(0x4cd)]:_0x5a843b[_0x492cb4(0x43e)];_0x3458ba[_0x492cb4(0x4da)][_0x492cb4(0x416)](_0x45f747,{'radius':_0xd67e3f['ShapeDefaultConfig'][_0x492cb4(0x290)],'fill':_0xaa9a4['fill'],'stroke':_0xaa9a4[_0x492cb4(0x24f)],'strokeWidth':_0xaa9a4[_0x492cb4(0x386)],'evented':!0x0});}};let _0x4d5792=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x53e22d,_0x5c17f6,_0x3e4c06,_0x38c6b6){const _0x430600=_0x13ba7a;super(),this[_0x430600(0x3cb)]=_0x53e22d,this[_0x430600(0x2e2)]=_0x5c17f6,this[_0x430600(0x3c5)]=_0x3e4c06,this[_0x430600(0x56c)]=_0x38c6b6,_0x5ae661(this,_0x430600(0x502),[]),_0x5ae661(this,_0x430600(0x55f),null),_0x5ae661(this,_0x430600(0x388),-0x1),_0x5ae661(this,_0x430600(0x381),null),_0x5ae661(this,_0x430600(0x35d),''),_0x5ae661(this,_0x430600(0x2cf),''),_0x5ae661(this,'_draggingConnectorId',null);}[_0x13ba7a(0x35e)](_0x3ebde0,_0x2c544,_0x313b12,_0x98b16b){const _0x178402=_0x13ba7a;this[_0x178402(0x381)]=_0x3ebde0,this[_0x178402(0x35d)]=_0x2c544,this[_0x178402(0x2cf)]=_0x313b12,this[_0x178402(0x1f4)]=_0x98b16b;}[_0x13ba7a(0x4b6)](_0x9b84b1){const _0xbc2e0a=_0x13ba7a;if(!this[_0xbc2e0a(0x381)])return null;let _0x40868f=this[_0xbc2e0a(0x48a)](_0x9b84b1);return _0x40868f?(this[_0xbc2e0a(0x55f)]!==_0x40868f['shapeId']&&(this['_clearConnectionSites'](),this[_0xbc2e0a(0x32e)](_0x40868f[_0xbc2e0a(0x42a)],_0x40868f[_0xbc2e0a(0x447)]),this['_activeTargetShapeId']=_0x40868f[_0xbc2e0a(0x42a)]),this[_0xbc2e0a(0x4e5)](_0x9b84b1)):(this[_0xbc2e0a(0x55f)]!==null&&(this[_0xbc2e0a(0x4f7)](),this[_0xbc2e0a(0x55f)]=null),null);}[_0x13ba7a(0x2b6)](){const _0x562bcd=_0x13ba7a;this[_0x562bcd(0x4f7)](),this[_0x562bcd(0x381)]=null,this[_0x562bcd(0x55f)]=null,this[_0x562bcd(0x388)]=-0x1,this['_draggingConnectorId']=null;}[_0x13ba7a(0x46b)](){const _0x919adf=_0x13ba7a;return this[_0x919adf(0x55f)]===null||this[_0x919adf(0x388)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x919adf(0x388)]};}['_findShapeAtPoint'](_0x484082){const _0x50a761=_0x13ba7a;let _0x418453=this['_drawingManagerService'][_0x50a761(0x31b)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)]);for(let _0x34140e of Object[_0x50a761(0x533)](_0x418453)){if(_0x34140e===this[_0x50a761(0x1f4)]||_0x418453[_0x34140e]['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x50a761(0x20d)])continue;let _0x1d0fce=this[_0x50a761(0x56c)][_0x50a761(0x2f5)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)],_0x34140e);if(!_0x1d0fce||(0x0,_0xd67e3f[_0x50a761(0x36a)])(_0x1d0fce[_0x50a761(0x21e)]())||_0x1d0fce[_0x50a761(0x214)]()[_0x50a761(0x45b)]===0x0||!this[_0x50a761(0x381)])continue;let _0x665742=(0x0,_0x15864b[_0x50a761(0x2df)])({'unitId':this[_0x50a761(0x35d)],'subUnitId':this[_0x50a761(0x2cf)],'drawingId':_0x34140e}),_0xc2617d=this['_currentScene'][_0x50a761(0x1a7)](_0x665742);if(!_0xc2617d)continue;let {left:_0x3bf402,top:_0x40ad7b,width:_0x30ce87,height:_0xb95f08}=_0xc2617d[_0x50a761(0x458)](),_0x40b7e8=_0x3bf402+_0x30ce87/0x2,_0x590250=_0x40ad7b+_0xb95f08/0x2,_0x212ed3=_0xc2617d['transform']['getMatrix'](),_0x3f8d12=new _0x3458ba['Transform']([_0x212ed3[0x0],_0x212ed3[0x1],_0x212ed3[0x2],_0x212ed3[0x3],_0x40b7e8,_0x590250]),_0x1f6de9=_0xc2617d[_0x50a761(0x326)](),_0x15da98=(_0xc2617d[_0x50a761(0x4cc)]&&(_0x1f6de9==null?void 0x0:_0x1f6de9[_0x50a761(0x399)])===_0x3458ba[_0x50a761(0x1c4)][_0x50a761(0x44f)]?_0x1f6de9[_0x50a761(0x1c6)][_0x50a761(0x3a6)](_0x3f8d12):_0x3f8d12)[_0x50a761(0x56e)]()['applyPoint'](_0x484082),_0x37231e=_0x30ce87/0x2,_0xfa3fcd=_0xb95f08/0x2;if(_0x15da98['x']>=-_0x37231e-0x5&&_0x15da98['x']<=_0x37231e+0x5&&_0x15da98['y']>=-_0xfa3fcd-0x5&&_0x15da98['y']<=_0xfa3fcd+0x5)return{'shapeId':_0x34140e,'shapeModel':_0x1d0fce};}return null;}['_showConnectionSites'](_0x4efb90,_0x1019df){const _0x4e190e=_0x13ba7a;if(!this['_currentScene'])return;let _0x4cf4cc=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0x4e190e(0x2cf)],'drawingId':_0x4efb90}),_0x355fc6=this[_0x4e190e(0x381)][_0x4e190e(0x1a7)](_0x4cf4cc);if(!_0x355fc6)return;let {left:_0x68872f,top:_0xc55d87,width:_0x5b5466,height:_0x278b3c}=_0x355fc6['getRealBound'](),_0x19505a=_0x68872f+_0x5b5466/0x2,_0xb8955f=_0xc55d87+_0x278b3c/0x2,_0x19cce3=_0x355fc6[_0x4e190e(0x474)]['getMatrix'](),_0x353f65=new _0x3458ba['Transform']([_0x19cce3[0x0],_0x19cce3[0x1],_0x19cce3[0x2],_0x19cce3[0x3],_0x19505a,_0xb8955f]),_0x9686b=_0x355fc6[_0x4e190e(0x326)](),_0x471c68=_0x355fc6[_0x4e190e(0x4cc)]&&(_0x9686b==null?void 0x0:_0x9686b[_0x4e190e(0x399)])===_0x3458ba['RENDER_CLASS_TYPE'][_0x4e190e(0x44f)]?_0x9686b['ancestorTransform']['multiply'](_0x353f65):_0x353f65;_0x1019df[_0x4e190e(0x523)]({'width':_0x5b5466,'height':_0x278b3c});let _0x557555=_0x1019df[_0x4e190e(0x214)]();for(let _0x4798c5 of _0x557555){let _0x5d2531=_0x4798c5['x']-_0x5b5466/0x2,_0x5ed3a6=_0x4798c5['y']-_0x278b3c/0x2,_0x1e4278=_0x471c68['applyPoint']({'x':_0x5d2531,'y':_0x5ed3a6}),_0x1c9ba7=_0x1e4278['x'],_0x4b4ef4=_0x1e4278['y'],_0x37f110=new _0x39c6da(_0x4e190e(0x2c6)+_0x4efb90+'-'+_0x4798c5[_0x4e190e(0x58d)],{'left':_0x1c9ba7-_0xd67e3f[_0x4e190e(0x225)]['cxnPointRadius'],'top':_0x4b4ef4-_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)],'targetShapeId':_0x4efb90,'cxnIndex':_0x4798c5['index'],'unitId':this[_0x4e190e(0x35d)],'subUnitId':this[_0x4e190e(0x2cf)],'width':_0xd67e3f['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x4e190e(0x502)][_0x4e190e(0x1b2)](_0x37f110),this[_0x4e190e(0x381)][_0x4e190e(0x412)](_0x37f110,_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}['_findNearestConnectionSite'](_0x200d06){const _0x1be7c6=_0x13ba7a;let _0x206af4=null,_0x524bb7=0x1/0x0,_0x108900=null;for(let _0x1fd147 of this[_0x1be7c6(0x502)]){let _0x3c6967=_0x1fd147['left']+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0xd26e2f=_0x1fd147[_0x1be7c6(0x1c8)]+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0x13bd9b=_0x200d06['x']-_0x3c6967,_0x634821=_0x200d06['y']-_0xd26e2f,_0x9dbaf=Math[_0x1be7c6(0x293)](_0x13bd9b*_0x13bd9b+_0x634821*_0x634821);_0x9dbaf<_0x524bb7&&(_0x524bb7=_0x9dbaf,_0x206af4=_0x1fd147,_0x108900={'x':_0x3c6967,'y':_0xd26e2f});}let _0x5d19f6=_0x524bb7<=0xa&&_0x206af4?_0x206af4[_0x1be7c6(0x3b8)]()['cxnIndex']:-0x1;if(_0x5d19f6!==this['_highlightedSiteIndex']){for(let _0x395911 of this[_0x1be7c6(0x502)]){let _0x4f59f8=_0x395911[_0x1be7c6(0x3b8)]();_0x395911[_0x1be7c6(0x1a0)](_0x4f59f8[_0x1be7c6(0x3e9)]===_0x5d19f6);}this[_0x1be7c6(0x388)]=_0x5d19f6;}if(_0x524bb7<=0xa&&_0x206af4&&_0x108900){let _0x310855=_0x206af4[_0x1be7c6(0x3b8)](),_0x55f249=this[_0x1be7c6(0x1a3)](_0x310855[_0x1be7c6(0x42a)],_0x310855[_0x1be7c6(0x3e9)]);return{'shapeId':_0x310855['shapeId'],'cxnIndex':_0x310855['cxnIndex'],'unitId':_0x310855['unitId'],'subUnitId':_0x310855[_0x1be7c6(0x354)],'worldPoint':_0x108900,'angle':_0x55f249};}return null;}['_getConnectionSiteAngle'](_0x4777af,_0x10ba0a){const _0x318588=_0x13ba7a;let _0x529863=this['_sheetsShapeService'][_0x318588(0x2f5)](this[_0x318588(0x35d)],this[_0x318588(0x2cf)],_0x4777af);if(!_0x529863)return 0x0;let _0x1f3377=this[_0x318588(0x3c5)][_0x318588(0x3db)]({'unitId':this[_0x318588(0x35d)],'subUnitId':this[_0x318588(0x2cf)],'drawingId':_0x4777af});if(!(_0x1f3377!=null&&_0x1f3377[_0x318588(0x474)]))return 0x0;let {width:_0x3bc431=0x0,height:_0x2b4dd2=0x0,flipX:_0x58e5=!0x1,flipY:_0x41313b=!0x1}=_0x1f3377[_0x318588(0x474)];_0x529863[_0x318588(0x523)]({'width':_0x3bc431,'height':_0x2b4dd2});let _0x59c547=_0x529863['getConnectionSiteList']()[_0x318588(0x298)](_0x4bf26b=>_0x4bf26b[_0x318588(0x58d)]===_0x10ba0a);if(!_0x59c547)return 0x0;let _0x304e75=_0x59c547[_0x318588(0x38f)]/0xea60;return _0x58e5&&(_0x304e75=0xb4-_0x304e75),_0x41313b&&(_0x304e75=-_0x304e75),_0x304e75=(_0x304e75%0x168+0x168)%0x168,_0x304e75;}['_clearConnectionSites'](){const _0x59e4c4=_0x13ba7a;for(let _0x333fe9 of this[_0x59e4c4(0x502)])_0x333fe9[_0x59e4c4(0x206)]();this[_0x59e4c4(0x502)]=[],this[_0x59e4c4(0x388)]=-0x1;}[_0x13ba7a(0x206)](){const _0x43f889=_0x13ba7a;this[_0x43f889(0x4f7)](),super[_0x43f889(0x206)]();}};_0x4d5792=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba['IRenderManagerService'])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b[_0x13ba7a(0x4e8)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0x4d5792);let _0x32e137=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4df4f3,_0x257669,_0x11233d,_0x4c0931,_0x2d096c){const _0x51355c=_0x13ba7a;super(),this['_sheetSkeletonService']=_0x4df4f3,this['_sheetClipboardService']=_0x257669,this[_0x51355c(0x4bb)]=_0x11233d,this[_0x51355c(0x4df)]=_0x4c0931,this[_0x51355c(0x56d)]=_0x2d096c,_0x5ae661(this,_0x51355c(0x534),void 0x0),this[_0x51355c(0x4cf)](),this['_registerGroupFeaturePasteHook']();}get[_0x13ba7a(0x4a4)](){const _0x193287=_0x13ba7a;return this[_0x193287(0x4bb)][_0x193287(0x1da)]();}[_0x13ba7a(0x245)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2b6a98,fromSubUnitId:_0x40b5a0,toUnitId:_0x1da96c,toSubUnitId:_0x96f9f5,idMap:_0x57c074})=>{const _0x348baa=_0x2e4e;let _0x33755e=[],_0xc90384=[];for(let [_0x49425a,_0x3c03f9]of _0x57c074[_0x348baa(0x4d1)]()){let _0x337957=this['_shapeService']['getShapeModel'](_0x2b6a98,_0x40b5a0,_0x49425a);if(!_0x337957)continue;let _0x1e7f2a=_0x337957['getShapeType'](),_0x1b372a=JSON[_0x348baa(0x257)](JSON['stringify'](_0x337957[_0x348baa(0x434)]()));if(_0x1b372a[_0x348baa(0x305)]){var _0x531039,_0x44c39d;let _0x38c55b=(_0x531039=_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)])==null?void 0x0:_0x531039[_0x348baa(0x42a)],_0x4862d6=(_0x44c39d=_0x1b372a['relation']['to'])==null?void 0x0:_0x44c39d['shapeId'],_0x17bad7=!_0x38c55b||_0x57c074['has'](_0x38c55b),_0x1818db=!_0x4862d6||_0x57c074[_0x348baa(0x1d7)](_0x4862d6);_0x17bad7&&_0x38c55b&&_0x1b372a['relation'][_0x348baa(0x1fd)]?_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)]={..._0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)],'shapeId':_0x57c074[_0x348baa(0x468)](_0x38c55b)}:_0x1b372a[_0x348baa(0x305)]['from']=void 0x0,_0x1818db&&_0x4862d6&&_0x1b372a[_0x348baa(0x305)]['to']?_0x1b372a['relation']['to']={..._0x1b372a[_0x348baa(0x305)]['to'],'shapeId':_0x57c074[_0x348baa(0x468)](_0x4862d6)}:_0x1b372a['relation']['to']=void 0x0;}_0x33755e[_0x348baa(0x1b2)]({'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9,'shapeType':_0x1e7f2a,'shapeData':_0x1b372a}}),_0xc90384[_0x348baa(0x1b2)]({'id':_0x2f2bb5[_0x348baa(0x522)]['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9}});}return{'redos':_0x33755e,'undos':_0xc90384};});}[_0x13ba7a(0x4cf)](){const _0x2f0ec0=_0x13ba7a;this[_0x2f0ec0(0x47f)](this['_sheetClipboardService']['addClipboardHook']({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x5be3f8,_0x14f03d,_0x58d49e)=>{const _0x54ec8a=_0x2f0ec0;this[_0x54ec8a(0x534)]=null;let _0x38fc2c=this[_0x54ec8a(0x4a4)]['filter'](_0x325521=>_0x325521[_0x54ec8a(0x52e)]===_0x10e5f9[_0x54ec8a(0x2e1)]['DRAWING_SHAPE']);return _0x38fc2c[_0x54ec8a(0x45b)]!==0x0&&(this['_copyInfo']={'unitId':_0x5be3f8,'subUnitId':_0x14f03d,'copyType':_0x58d49e,'drawings':_0x38fc2c},!0x0);},'onBeforeCopy':(_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3)=>{const _0x2c193d=_0x2f0ec0;this[_0x2c193d(0x534)]=null,this[_0x2c193d(0x42e)](_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3);},'onPasteCells':(_0x292e38,_0x3a7f69,_0x49ac4b,_0x4f6aec)=>{const _0x3e0b7c=_0x2f0ec0;if(!_0x4f6aec[_0x3e0b7c(0x3d0)]||!_0x292e38||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x4e8caf}=_0x4f6aec;return _0x4e8caf===_0x189be3['PREDEFINED_HOOK_NAME'][_0x3e0b7c(0x411)]?this[_0x3e0b7c(0x275)](_0x3a7f69,this['_copyInfo'][_0x3e0b7c(0x347)]===_0x189be3[_0x3e0b7c(0x400)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x13ba7a(0x42e)](_0x4637cf,_0x58ecc9,_0x3dcf9e,_0x43b830){const _0x303354=_0x13ba7a;let _0x32be8e=this[_0x303354(0x312)][_0x303354(0x50c)](_0x4637cf,_0x58ecc9);if(!_0x32be8e)return;let _0x1e5dc0=(0x0,_0x32abfe[_0x303354(0x3c1)])(_0x32be8e,_0x3dcf9e);if(!_0x1e5dc0)return;let {startX:_0x1d1c33,endX:_0x21ece9,startY:_0x214a3a,endY:_0x1c36e0}=_0x1e5dc0,_0x111d72=this[_0x303354(0x4bb)]['getDrawingData'](_0x4637cf,_0x58ecc9),_0x36eebc=[];for(let [_0x1fe552,_0x11ce7f]of Object[_0x303354(0x4d1)](_0x111d72)){if(_0x11ce7f['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x303354(0x20d)])continue;let {transform:_0x466931}=_0x11ce7f;if(!_0x466931)continue;let {left:_0x5b922b=0x0,top:_0x297fca=0x0,width:_0x1098e2=0x0,height:_0xdd069e=0x0}=_0x466931;_0x1d1c33<=_0x5b922b&&_0x21ece9>=_0x5b922b+_0x1098e2&&_0x214a3a<=_0x297fca&&_0x1c36e0>=_0x297fca+_0xdd069e&&_0x36eebc['push'](_0x11ce7f);}_0x36eebc[_0x303354(0x45b)]>0x0&&(this[_0x303354(0x534)]={'unitId':_0x4637cf,'subUnitId':_0x58ecc9,'copyType':_0x43b830,'copyRange':_0x3dcf9e,'drawings':_0x36eebc});}[_0x13ba7a(0x275)](_0x883a5,_0x87bee){const _0x18d191=_0x13ba7a;let {unitId:_0x4ef778,subUnitId:_0x442763,range:_0x39c021}=_0x883a5,_0x363aa6=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x4ef778,_0x442763);if(!_0x363aa6)return{'redos':[],'undos':[]};let _0x2c60e2=(0x0,_0x32abfe[_0x18d191(0x207)])(_0x39c021),{unitId:_0x1ef8d0,subUnitId:_0x27da7f,copyRange:_0x18761d,drawings:_0x507269}=this[_0x18d191(0x534)],_0x1593f7=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x1ef8d0,_0x27da7f);if(!_0x1593f7)return{'redos':[],'undos':[]};let _0x25c7d1;if(!_0x18761d){let _0xabb378=0x1/0x0,_0x216eaa=0x1/0x0;for(let _0x2f851e of _0x507269){let {left:_0x5dd2d8=0x0,top:_0x1888fd=0x0}=_0x2f851e[_0x18d191(0x474)]??{};_0x5dd2d8<_0xabb378&&(_0xabb378=_0x5dd2d8),_0x1888fd<_0x216eaa&&(_0x216eaa=_0x1888fd);}_0xabb378!==0x1/0x0&&_0x216eaa!==0x1/0x0&&(_0x25c7d1={'left':_0xabb378,'top':_0x216eaa});}let _0x55121d=new Map();if(!_0x87bee){for(let _0x3a1f0d of _0x507269)_0x55121d[_0x18d191(0x455)](_0x3a1f0d[_0x18d191(0x272)],(0x0,_0x10e5f9[_0x18d191(0x30b)])());}let _0x10c84b=[],_0x216ae8=[];for(let _0x400f23 of _0x507269){let {drawingId:_0x392067,transform:_0x35d35f,sheetTransform:_0x5c88a2}=_0x400f23;if(!_0x35d35f||!_0x5c88a2)continue;let _0x595b08=this[_0x18d191(0x263)]({'transform':_0x35d35f,'sheetTransform':_0x5c88a2},{'skeleton':_0x1593f7,'range':_0x18761d},{'skeleton':_0x363aa6,'range':_0x2c60e2},_0x25c7d1);if(_0x87bee){let {redos:_0x363594,undos:_0xa4f12d}=this[_0x18d191(0x49e)]({'fromUnitId':_0x1ef8d0,'fromSubUnitId':_0x27da7f,'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08});_0x10c84b['push'](..._0x363594),_0x216ae8[_0x18d191(0x1b2)](..._0xa4f12d);continue;}let {redos:_0x5146a7,undos:_0x2d1766}=this[_0x18d191(0x2db)]({'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08,'newDrawingId':_0x55121d[_0x18d191(0x468)](_0x392067),'idMap':_0x55121d});_0x10c84b[_0x18d191(0x1b2)](..._0x5146a7),_0x216ae8[_0x18d191(0x1b2)](..._0x2d1766);}return{'redos':_0x10c84b,'undos':_0x216ae8};}[_0x13ba7a(0x49e)](_0x40ab0e){const _0xf39dcc=_0x13ba7a;let {fromUnitId:_0xe67adf,fromSubUnitId:_0x5571b1,toUnitId:_0x249f38,toSubUnitId:_0x34b385,drawing:_0x13cf58,newTransforms:_0x1e6084}=_0x40ab0e,_0x29d63c={..._0x13cf58,'unitId':_0x249f38,'subUnitId':_0x34b385,'transform':_0x1e6084[_0xf39dcc(0x474)],'sheetTransform':_0x1e6084[_0xf39dcc(0x2ea)]};if(_0x249f38===_0xe67adf&&_0x34b385===_0x5571b1){let {redo:_0x5ca7b2,undo:_0x816b33,objects:_0x395b51}=this['_sheetDrawingService'][_0xf39dcc(0x4e6)]([_0x29d63c]);return{'redos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x5ca7b2,'objects':_0x395b51}}],'undos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x816b33,'objects':_0x395b51}}]};}{let _0x2433b8=this[_0xf39dcc(0x4bb)][_0xf39dcc(0x427)]([_0x13cf58]),_0xa5d6c7=this[_0xf39dcc(0x4bb)]['getBatchAddOp']([_0x29d63c]),_0x3389d4=this[_0xf39dcc(0x4df)][_0xf39dcc(0x2f5)](_0x13cf58[_0xf39dcc(0x26e)],_0x13cf58[_0xf39dcc(0x354)],_0x13cf58[_0xf39dcc(0x272)]);if(!_0x3389d4)return{'redos':[],'undos':[]};let _0x5964d3=_0x3389d4[_0xf39dcc(0x21e)](),_0x2cd6d4=JSON[_0xf39dcc(0x257)](JSON[_0xf39dcc(0x2fe)](_0x3389d4[_0xf39dcc(0x434)]()));return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0x2433b8[_0xf39dcc(0x1c0)],'objects':_0x2433b8[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}},{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0xa5d6c7[_0xf39dcc(0x1c0)],'objects':_0xa5d6c7['objects']}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0x2433b8[_0xf39dcc(0x4b7)],'objects':_0x2433b8['objects']}},{'id':_0x2f2bb5[_0xf39dcc(0x4f0)]['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}},{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0xa5d6c7[_0xf39dcc(0x4b7)],'objects':_0xa5d6c7[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}}]};}}[_0x13ba7a(0x2db)](_0x4472a8){const _0x4266c8=_0x13ba7a;let {toUnitId:_0x3f7fad,toSubUnitId:_0x302d26,drawing:_0x3ec94c,newTransforms:_0x3f0006,newDrawingId:_0x4142e2,idMap:_0x30d455}=_0x4472a8,_0xd02bc5={..._0x3ec94c,'unitId':_0x3f7fad,'subUnitId':_0x302d26,'drawingId':_0x4142e2,'transform':_0x3f0006[_0x4266c8(0x474)],'sheetTransform':_0x3f0006[_0x4266c8(0x2ea)]},{redo:_0x28e94c,undo:_0x56fada,objects:_0x13dfdf}=this['_sheetDrawingService']['getBatchAddOp']([_0xd02bc5]),_0x3ffa35=this['_shapeService'][_0x4266c8(0x2f5)](_0x3ec94c[_0x4266c8(0x26e)],_0x3ec94c[_0x4266c8(0x354)],_0x3ec94c[_0x4266c8(0x272)]);if(!_0x3ffa35)return{'redos':[],'undos':[]};let _0x28707a=_0x3ffa35['getShapeType'](),_0x3a1ffb=JSON[_0x4266c8(0x257)](JSON[_0x4266c8(0x2fe)](_0x3ffa35[_0x4266c8(0x434)]()));if(_0x3a1ffb[_0x4266c8(0x305)]){var _0xaa6ef8,_0x41fc46;let _0x2afd23=(_0xaa6ef8=_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)])==null?void 0x0:_0xaa6ef8[_0x4266c8(0x42a)],_0x59dae1=(_0x41fc46=_0x3a1ffb[_0x4266c8(0x305)]['to'])==null?void 0x0:_0x41fc46[_0x4266c8(0x42a)],_0x3d3223=!_0x2afd23||_0x30d455['has'](_0x2afd23),_0x48365b=!_0x59dae1||_0x30d455['has'](_0x59dae1);_0x3d3223&&_0x2afd23&&_0x3a1ffb['relation'][_0x4266c8(0x1fd)]?_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)]={..._0x3a1ffb[_0x4266c8(0x305)]['from'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x2afd23)}:_0x3a1ffb[_0x4266c8(0x305)]['from']=void 0x0,_0x48365b&&_0x59dae1&&_0x3a1ffb[_0x4266c8(0x305)]['to']?_0x3a1ffb[_0x4266c8(0x305)]['to']={..._0x3a1ffb[_0x4266c8(0x305)]['to'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x59dae1)}:_0x3a1ffb['relation']['to']=void 0x0;}return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1[_0x4266c8(0x4ae)][_0x4266c8(0x3fd)],'op':_0x28e94c,'objects':_0x13dfdf}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2,'shapeType':_0x28707a,'shapeData':_0x3a1ffb}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1['DrawingApplyType'][_0x4266c8(0x291)],'op':_0x56fada,'objects':_0x13dfdf}},{'id':_0x2f2bb5[_0x4266c8(0x522)]['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2}}]};}[_0x13ba7a(0x263)](_0x548642,_0x14ff8c,_0x3039bd,_0x4b0e96){const _0x5e335a=_0x13ba7a;let {range:_0x5cfec1,skeleton:_0x688db3}=_0x14ff8c,{range:_0x13a980,skeleton:_0xed2f8a}=_0x3039bd,{transform:_0x580789,sheetTransform:_0x2d67a5}=_0x548642,_0x2d6294={..._0x580789};if(_0x5cfec1){let _0x53918e=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0x688db3,_0x5cfec1),_0x211102=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x53918e&&_0x211102){let _0x41a2f0=_0x211102[_0x5e335a(0x4f3)]-_0x53918e[_0x5e335a(0x4f3)],_0x24beec=_0x211102[_0x5e335a(0x526)]-_0x53918e[_0x5e335a(0x526)];_0x2d6294[_0x5e335a(0x4f4)]=(_0x2d6294['left']??0x0)+_0x41a2f0,_0x2d6294['top']=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)+_0x24beec;}}else{let _0x41bfe4=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x4b0e96&&_0x41bfe4){let _0x2345ab=(_0x2d6294[_0x5e335a(0x4f4)]??0x0)-_0x4b0e96[_0x5e335a(0x4f4)],_0x1908a=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)-_0x4b0e96['top'];_0x2d6294[_0x5e335a(0x4f4)]=_0x41bfe4['startX']+_0x2345ab,_0x2d6294[_0x5e335a(0x1c8)]=_0x41bfe4[_0x5e335a(0x526)]+_0x1908a;}else _0x2d6294['left']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x4f3)],_0x2d6294['top']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x526)];}return{'transform':_0x2d6294,'sheetTransform':(0x0,_0x40f1a1[_0x5e335a(0x307)])(_0x2d6294,_0xed2f8a)??_0x2d67a5};}};_0x32e137=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x211)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x441)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1[_0x13ba7a(0x292)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3c03b9[_0x13ba7a(0x35a)]))],_0x32e137);var _0x5d4642=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x4b48d3,_0x23ac1f){const _0x167992=_0x13ba7a;super(_0x4b48d3,_0x23ac1f),_0x5ae661(this,'_shapeId',null),_0x5ae661(this,_0x167992(0x584),null),_0x5ae661(this,_0x167992(0x35d),null),_0x5ae661(this,_0x167992(0x2cf),null),_0x5ae661(this,_0x167992(0x3dd),!0x1),_0x23ac1f&&this[_0x167992(0x2b1)](_0x23ac1f);}['getDrawingSearch'](){const _0x4b4126=_0x13ba7a;return{'unitId':this[_0x4b4126(0x35d)],'subUnitId':this[_0x4b4126(0x2cf)],'drawingId':this[_0x4b4126(0x373)]};}[_0x13ba7a(0x2b1)](_0x2220ff){const _0xfef488=_0x13ba7a;_0x2220ff[_0xfef488(0x42a)]!==void 0x0&&(this[_0xfef488(0x373)]=_0x2220ff[_0xfef488(0x42a)]),_0x2220ff[_0xfef488(0x26e)]!==void 0x0&&(this['_unitId']=_0x2220ff[_0xfef488(0x26e)]),_0x2220ff[_0xfef488(0x354)]!==void 0x0&&(this[_0xfef488(0x2cf)]=_0x2220ff[_0xfef488(0x354)]),_0x2220ff[_0xfef488(0x4ce)]!==void 0x0&&(this[_0xfef488(0x3dd)]=_0x2220ff[_0xfef488(0x4ce)]),this['transformByState']({'width':_0x2220ff[_0xfef488(0x1dd)],'height':_0x2220ff[_0xfef488(0x2c5)]});}[_0x13ba7a(0x2fa)](_0x27cbc1){const _0x1a0f21=_0x13ba7a;_0x3458ba[_0x1a0f21(0x4da)][_0x1a0f21(0x416)](_0x27cbc1,{'radius':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x290)],'fill':_0xd67e3f[_0x1a0f21(0x225)]['cxnPointFill'],'stroke':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x38e)],'strokeWidth':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x2d2)],'evented':!0x0});}};let _0x191a85=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1cc0f1,_0x1385f5,_0x3cdfc0,_0xc29ac7,_0x1c6776,_0x1f6344,_0x3ab9ff,_0x298cc7){const _0x2d32d1=_0x13ba7a;super(),this[_0x2d32d1(0x3cb)]=_0x1cc0f1,this['_commandService']=_0x1385f5,this[_0x2d32d1(0x2e2)]=_0x3cdfc0,this[_0x2d32d1(0x3c5)]=_0xc29ac7,this['_univerInstanceService']=_0x1c6776,this[_0x2d32d1(0x56c)]=_0x1f6344,this['_sheetShapeAdjustController']=_0x3ab9ff,this['_sheetBasicShapeConnectionPointController']=_0x298cc7,_0x5ae661(this,_0x2d32d1(0x299),void 0x0),_0x5ae661(this,_0x2d32d1(0x35d),void 0x0),_0x5ae661(this,'_subUnitId',void 0x0),_0x5ae661(this,_0x2d32d1(0x47a),[]),_0x5ae661(this,_0x2d32d1(0x324),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x5ae661(this,'_activeShapeModel',void 0x0),_0x5ae661(this,_0x2d32d1(0x2f7),!0x1),_0x5ae661(this,'_isDrawingShapePointDown',!0x1),_0x5ae661(this,'_hasReset',!0x1),_0x5ae661(this,_0x2d32d1(0x57d),void 0x0),_0x5ae661(this,'_cxtHandlerPointerUp',void 0x0),_0x5ae661(this,_0x2d32d1(0x1a8),null),this[_0x2d32d1(0x3eb)]();}[_0x13ba7a(0x3eb)](){const _0x4eb4b8=_0x13ba7a;this['_registerDrawingFocusChangeHandler'](),this[_0x4eb4b8(0x36b)]();}[_0x13ba7a(0x464)](){const _0x3bcb24=_0x13ba7a;if(!this['_unitId']||!this[_0x3bcb24(0x2cf)]||!this[_0x3bcb24(0x299)])return;let _0x243c05={'unitId':this['_unitId'],'subUnitId':this[_0x3bcb24(0x2cf)],'drawingId':this[_0x3bcb24(0x299)]},{transform:_0x2bfbb2}=this[_0x3bcb24(0x3c5)][_0x3bcb24(0x3db)](_0x243c05);if(_0x2bfbb2)return{'left':_0x2bfbb2['left']||0x0,'top':_0x2bfbb2['top']||0x0,'width':_0x2bfbb2[_0x3bcb24(0x1dd)]||0x0,'height':_0x2bfbb2['height']||0x0,'flipX':_0x2bfbb2['flipX']||!0x1,'flipY':_0x2bfbb2['flipY']||!0x1,'angle':_0x2bfbb2[_0x3bcb24(0x36f)]};}['_addShapeConnectorHandlerObjects'](){const _0x25db9a=_0x13ba7a;if(this[_0x25db9a(0x35d)]===void 0x0||this[_0x25db9a(0x2cf)]===void 0x0||this[_0x25db9a(0x299)]===void 0x0)return;let _0x3588cf=this['_renderManagerService']['getRenderUnitById'](this[_0x25db9a(0x35d)]);if(!_0x3588cf||!_0x3588cf['with'](_0x189be3[_0x25db9a(0x277)])[_0x25db9a(0x387)]())return;let {scene:_0x3dc9cd}=_0x3588cf,_0x204bd5=this[_0x25db9a(0x464)]();if(!_0x204bd5)return;let _0x18a8c8=this['_sheetsShapeService'][_0x25db9a(0x2f5)](this[_0x25db9a(0x35d)],this[_0x25db9a(0x2cf)],this[_0x25db9a(0x299)]);if(!_0x18a8c8||!(0x0,_0xd67e3f[_0x25db9a(0x36a)])(_0x18a8c8[_0x25db9a(0x21e)]()))return;let _0x1f5781=_0x18a8c8[_0x25db9a(0x4e9)]();if(_0x1f5781[_0x25db9a(0x45b)]<0x2)return;let _0x3c0bf9=new _0xd67e3f[(_0x25db9a(0x1ee))](_0x204bd5),_0x179b43=_0x1f5781[0x0],_0x34674d=_0x1f5781[_0x1f5781[_0x25db9a(0x45b)]-0x1],_0x45ec19=_0x3c0bf9[_0x25db9a(0x4d5)](_0x179b43),_0x5bf77a=_0x3c0bf9['localToWorld'](_0x34674d);this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x45ec19},!0x0),this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x5bf77a},!0x1);}[_0x13ba7a(0x4c5)](_0x586ffd,_0x2f0d17,_0x541dac){const _0x29cccd=_0x13ba7a;if(this[_0x29cccd(0x299)]===void 0x0||this[_0x29cccd(0x35d)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x9a5d4=_0x29cccd(0x389)+this[_0x29cccd(0x35d)]+'-'+this[_0x29cccd(0x2cf)]+'-'+this['_activeShapeId']+'-'+(_0x541dac?'start':'end'),_0x37f966=_0x586ffd['getObjectIncludeInGroup'](_0x9a5d4);if(_0x37f966){_0x37f966[_0x29cccd(0x3e2)]({'left':_0x2f0d17['x']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)]});return;}let _0x38661a=new _0x5d4642(_0x9a5d4,{'left':_0x2f0d17['x']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'shapeId':this[_0x29cccd(0x299)],'unitId':this[_0x29cccd(0x35d)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x541dac,'width':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'height':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x29cccd(0x47a)][_0x29cccd(0x1b2)](_0x38661a),this[_0x29cccd(0x4db)](_0x38661a,_0x586ffd,_0x541dac),_0x586ffd[_0x29cccd(0x412)](_0x38661a,_0x3458ba[_0x29cccd(0x4b5)]+0x1);}[_0x13ba7a(0x43c)](_0x38ea74,_0x4d46b3){const _0x3eb00b=_0x13ba7a;var _0x2a4d37;let _0x461447={'x':0x0,'y':0x0};if(!_0x38ea74||!_0x4d46b3)return _0x461447;let _0x20c7f1=this[_0x3eb00b(0x2e2)][_0x3eb00b(0x57f)](_0x38ea74);if(!_0x20c7f1||!_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x277)])[_0x3eb00b(0x50c)](_0x4d46b3))return _0x461447;let _0x27ae53=_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x51c)]),_0x1274a1=_0x27ae53==null?void 0x0:_0x27ae53['getCurrentScrollState']();if(!_0x1274a1)return _0x461447;let _0x1fe07b=(_0x2a4d37=this[_0x3eb00b(0x583)][_0x3eb00b(0x4a9)](_0x38ea74))==null?void 0x0:_0x2a4d37[_0x3eb00b(0x1ed)](_0x4d46b3);if(!_0x1fe07b)return _0x461447;let _0x41acf4=(0x0,_0x189be3[_0x3eb00b(0x501)])(_0x1274a1['sheetViewStartRow'],_0x1274a1[_0x3eb00b(0x507)],_0x20c7f1[_0x3eb00b(0x2a7)],_0x1fe07b);return _0x41acf4?{'x':_0x41acf4[_0x3eb00b(0x1ff)],'y':_0x41acf4[_0x3eb00b(0x52b)]}:_0x461447;}[_0x13ba7a(0x570)](_0x5be2e5,_0x219d37){const _0x3d4323=_0x13ba7a;var _0x36ca36;let _0x24d440=(_0x36ca36=this[_0x3d4323(0x583)][_0x3d4323(0x4a9)](_0x5be2e5))==null?void 0x0:_0x36ca36[_0x3d4323(0x1ed)](_0x219d37);return(_0x24d440==null?void 0x0:_0x24d440[_0x3d4323(0x461)]())??0x1;}[_0x13ba7a(0x310)](_0x49d691,_0x30a186,_0x18946c,_0x3a0cbf,_0x94c5e0){const _0x133610=_0x13ba7a;this[_0x133610(0x57d)][_0x133610(0x539)](),this[_0x133610(0x2d1)]['unsubscribe'](),this[_0x133610(0x28d)][_0x133610(0x348)]();let _0x3e1098=this[_0x133610(0x1a8)];this['_sheetBasicShapeConnectionPointController']['endConnectionDetection']();let _0x11ffcb=this[_0x133610(0x43c)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x347837=this[_0x133610(0x570)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x3bbd3c={'x':_0x18946c[_0x133610(0x3e5)]/_0x347837+_0x11ffcb['x'],'y':_0x18946c['offsetY']/_0x347837+_0x11ffcb['y']},_0xc52dc4=_0x3e1098?_0x3e1098[_0x133610(0x519)]:_0x3bbd3c,_0x4b38c2=_0x3a0cbf?this[_0x133610(0x223)][_0x133610(0x504)]():this[_0x133610(0x223)][_0x133610(0x38b)](),_0x4bf7eb=this['_activeShapeModel'][_0x133610(0x21e)]();_0x4b38c2?this[_0x133610(0x240)](_0x4b38c2,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0):this[_0x133610(0x409)](_0x30a186,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0,_0x4bf7eb),this[_0x133610(0x2f7)]=!0x1,this[_0x133610(0x24a)]=!0x1,this[_0x133610(0x1a8)]=null,_0x49d691[_0x133610(0x51a)]();}[_0x13ba7a(0x409)](_0x57cd11,_0x2d1f40,_0x18d144,_0x192805,_0x21ffb9,_0x557f71){const _0x8b3d5e=_0x13ba7a;let _0x5ad94f=_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x363)]||_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x379)],_0x3c10a2=_0x18d144?_0x2d1f40:_0x57cd11,_0x426c9f=_0x18d144?_0x57cd11:_0x2d1f40,_0x1edcc4=this[_0x8b3d5e(0x223)][_0x8b3d5e(0x4e9)](),_0x1fc951=this[_0x8b3d5e(0x223)]['getShapeType'](),_0x596dc0=(0x0,_0xd67e3f[_0x8b3d5e(0x4d2)])(_0x1fc951),_0xb860f5=_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x516)](_0x1edcc4,_0x596dc0),_0x25378d=_0x5ad94f?_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x554)](_0x3c10a2,_0x426c9f):_0xd67e3f['ConnectorCoordinateTransform'][_0x8b3d5e(0x47e)](_0x57cd11,_0x2d1f40,_0x18d144,_0xb860f5);_0x192805?this[_0x8b3d5e(0x266)](_0x25378d,_0x192805,_0x18d144,_0x21ffb9):this[_0x8b3d5e(0x380)](_0x25378d,_0x21ffb9);}[_0x13ba7a(0x240)](_0xc41064,_0x135026,_0xb45e3,_0x31c821,_0x4ca97d){const _0x427d6a=_0x13ba7a;let _0x27fb98=this[_0x427d6a(0x4dd)](_0xc41064);if(!_0x27fb98)return;let _0x4376d1=_0x31c821?_0x31c821[_0x427d6a(0x36f)]:this[_0x427d6a(0x45e)](_0x27fb98[_0x427d6a(0x53b)],_0x135026),_0x4b8768;if(_0x31c821){let _0x33608e=this[_0x427d6a(0x3c5)][_0x427d6a(0x3db)]({'unitId':_0x31c821[_0x427d6a(0x26e)],'subUnitId':_0x31c821[_0x427d6a(0x354)],'drawingId':_0x31c821[_0x427d6a(0x42a)]});if(_0x33608e!=null&&_0x33608e[_0x427d6a(0x474)]){let {left:_0x566a07=0x0,top:_0x556210=0x0,width:_0xd16d89=0x0,height:_0xdb5f38=0x0,angle:_0x19dbb9}=_0x33608e[_0x427d6a(0x474)];_0x4b8768=(0x0,_0xd67e3f['getBasicShapeRotateBound'])({'left':_0x566a07,'top':_0x556210,'width':_0xd16d89,'height':_0xdb5f38},_0x19dbb9||0x0);}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};let _0x5340c3={'point':_0x135026,'angle':_0x4376d1,'bounds':_0x4b8768},_0x22e4a3=_0xb45e3?_0x5340c3:_0x27fb98,_0x4ec2d0=_0xb45e3?_0x27fb98:_0x5340c3,_0x5ccf49=this[_0x427d6a(0x223)][_0x427d6a(0x21e)](),_0x5ec0b2=(0x0,_0xd67e3f[_0x427d6a(0x2b3)])(_0x22e4a3,_0x4ec2d0,_0x5ccf49);this[_0x427d6a(0x223)]['removeLinePoints']();let _0x1fde95=(0x0,_0xd67e3f[_0x427d6a(0x433)])(_0x5ec0b2,_0x5ccf49);_0x31c821?this[_0x427d6a(0x1eb)](_0x1fde95,_0x31c821,_0xc41064,_0xb45e3,_0x4ca97d):this[_0x427d6a(0x566)](_0x1fde95,_0xc41064,_0xb45e3,_0x4ca97d);}['_executeConnectionCommand'](_0x56bb0e,_0x5e9d63,_0x4a933d,_0x34a79b){const _0x114e43=_0x13ba7a;let _0x1b394d=this[_0x114e43(0x223)][_0x114e43(0x434)]()[_0x114e43(0x305)],_0xc44eac={..._0x1b394d},_0x23c83b={'shapeId':_0x5e9d63[_0x114e43(0x42a)],'cxnIndex':_0x5e9d63[_0x114e43(0x3e9)]};_0x4a933d?_0xc44eac[_0x114e43(0x1fd)]=_0x23c83b:_0xc44eac['to']=_0x23c83b;let _0x14649f=this[_0x114e43(0x223)][_0x114e43(0x21e)](),_0x270988=(0x0,_0xd67e3f[_0x114e43(0x433)])(_0x56bb0e['worldPoints'],_0x14649f),_0x48efed={'unitId':this[_0x114e43(0x35d)],'subUnitId':this[_0x114e43(0x2cf)],'connectorShapeId':this[_0x114e43(0x299)],'width':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x1dd)],'height':_0x56bb0e['worldRect'][_0x114e43(0x2c5)],'left':_0x56bb0e['worldRect'][_0x114e43(0x4f4)],'top':_0x56bb0e['worldRect'][_0x114e43(0x1c8)],'flipX':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x553)]||!0x1,'flipY':_0x56bb0e[_0x114e43(0x2cc)]['flipY']||!0x1,'newAdjustValues':_0x270988['adjustValues'],'oldAdjustValues':_0x34a79b,'oldRelation':_0x1b394d,'newRelation':_0xc44eac,'newLineType':_0x270988['lineType'],'oldLineType':_0x14649f};this['_commandService'][_0x114e43(0x274)](_0x2f2bb5[_0x114e43(0x295)]['id'],_0x48efed);}['_executeResizeCommand'](_0x485046,_0x1ace11){const _0x807c1=_0x13ba7a;let _0xf97d12=this[_0x807c1(0x223)][_0x807c1(0x21e)](),_0x130f71=(0x0,_0xd67e3f[_0x807c1(0x433)])(_0x485046['worldPoints'],_0xf97d12),_0x2f9eb4={'unitId':this[_0x807c1(0x35d)],'subUnitId':this[_0x807c1(0x2cf)],'shapeId':this[_0x807c1(0x299)],'width':_0x485046['worldRect'][_0x807c1(0x1dd)],'height':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x2c5)],'left':_0x485046[_0x807c1(0x2cc)]['left'],'top':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x1c8)],'flipX':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x553)]||!0x1,'flipY':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x3ec)]||!0x1,'angle':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x36f)]||0x0,'newAdjustValues':_0x130f71[_0x807c1(0x4c3)],'oldAdjustValues':_0x1ace11,'newLineType':_0x130f71[_0x807c1(0x407)],'oldLineType':_0xf97d12};this[_0x807c1(0x558)]['executeCommand'](_0x2f2bb5[_0x807c1(0x487)]['id'],_0x2f9eb4);}[_0x13ba7a(0x1eb)](_0x4d4b41,_0x199405,_0x3dae08,_0x178bab,_0x25f575){const _0x1a5455=_0x13ba7a;let _0x23b535=this[_0x1a5455(0x223)][_0x1a5455(0x434)]()[_0x1a5455(0x305)],_0x2cd7fe={..._0x23b535},_0x59a454={'shapeId':_0x199405[_0x1a5455(0x42a)],'cxnIndex':_0x199405[_0x1a5455(0x3e9)]};_0x178bab?(_0x2cd7fe['from']=_0x59a454,_0x2cd7fe['to']=_0x3dae08):(_0x2cd7fe[_0x1a5455(0x1fd)]=_0x3dae08,_0x2cd7fe['to']=_0x59a454);let _0x2d8aca={'unitId':this[_0x1a5455(0x35d)],'subUnitId':this[_0x1a5455(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x4d4b41['worldRect'][_0x1a5455(0x1dd)],'height':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x2c5)],'left':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x4f4)],'top':_0x4d4b41[_0x1a5455(0x2cc)]['top'],'flipX':_0x4d4b41['worldRect'][_0x1a5455(0x553)]||!0x1,'flipY':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x3ec)]||!0x1,'oldAdjustValues':_0x25f575,'newAdjustValues':_0x4d4b41[_0x1a5455(0x4c3)],'newLineType':_0x4d4b41['lineType'],'rotation':_0x4d4b41[_0x1a5455(0x53c)],'oldRelation':_0x23b535,'newRelation':_0x2cd7fe};this[_0x1a5455(0x558)][_0x1a5455(0x274)](_0x2f2bb5[_0x1a5455(0x295)]['id'],_0x2d8aca);}[_0x13ba7a(0x566)](_0x50430a,_0x417926,_0xecb116,_0x2b75da){const _0x1f86be=_0x13ba7a;let _0x1a5645=this[_0x1f86be(0x223)][_0x1f86be(0x434)]()[_0x1f86be(0x305)],_0x19ce7f={};_0xecb116?(_0x19ce7f['to']=_0x417926,_0x19ce7f[_0x1f86be(0x1fd)]=void 0x0):(_0x19ce7f[_0x1f86be(0x1fd)]=_0x417926,_0x19ce7f['to']=void 0x0);let _0xf5aef7={'unitId':this[_0x1f86be(0x35d)],'subUnitId':this[_0x1f86be(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x50430a['worldRect'][_0x1f86be(0x1dd)],'height':_0x50430a['worldRect'][_0x1f86be(0x2c5)],'left':_0x50430a[_0x1f86be(0x2cc)]['left'],'top':_0x50430a[_0x1f86be(0x2cc)]['top'],'flipX':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x553)]||!0x1,'flipY':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x3ec)]||!0x1,'oldAdjustValues':_0x2b75da,'newAdjustValues':_0x50430a[_0x1f86be(0x4c3)],'newLineType':_0x50430a[_0x1f86be(0x407)],'rotation':_0x50430a[_0x1f86be(0x53c)],'oldRelation':_0x1a5645,'newRelation':_0x19ce7f};this[_0x1f86be(0x558)][_0x1f86be(0x274)](_0x2f2bb5[_0x1f86be(0x295)]['id'],_0xf5aef7);}[_0x13ba7a(0x4db)](_0x222fed,_0x1bd32f,_0x378a1a){const _0x474a18=_0x13ba7a;this[_0x474a18(0x47f)]((0x0,_0x10e5f9[_0x474a18(0x576)])(_0x222fed[_0x474a18(0x27e)][_0x474a18(0x2f6)]((_0x3d361c,_0x5d955e)=>{const _0x4b8082=_0x474a18;let _0x58f313=_0x222fed[_0x4b8082(0x2c8)]();if(this[_0x4b8082(0x223)]=this[_0x4b8082(0x56c)]['getShapeModel'](_0x58f313[_0x4b8082(0x26e)],_0x58f313[_0x4b8082(0x354)],_0x58f313[_0x4b8082(0x272)]),!this['_activeShapeModel'])return;let _0x530a61={};this['_activeShapeModel'][_0x4b8082(0x596)]()[_0x4b8082(0x34a)](_0x567be5=>{const _0x1bff26=_0x4b8082;let _0x4b928b=this['_activeShapeModel'][_0x1bff26(0x29f)](_0x567be5);_0x4b928b!==void 0x0&&(_0x530a61[_0x567be5]=_0x4b928b);});let _0x3e1a13=this[_0x4b8082(0x464)]();if(!_0x3e1a13)return;this[_0x4b8082(0x324)]={..._0x3e1a13};let _0x1c81f2=new _0xd67e3f['ConnectorCoordinateTransform'](this[_0x4b8082(0x324)]),_0x5bcf44=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x4b8082(0x35d)],'subUnitId':this[_0x4b8082(0x2cf)],'drawingId':this['_activeShapeId']}),_0x238050=_0x1bd32f[_0x4b8082(0x1a7)](_0x5bcf44);this[_0x4b8082(0x2f7)]=!0x0,_0x1bd32f[_0x4b8082(0x1ce)](),this['_sheetBasicShapeConnectionPointController'][_0x4b8082(0x35e)](_0x1bd32f,this['_unitId'],this[_0x4b8082(0x2cf)],this[_0x4b8082(0x299)]),this['_currentConnectionTarget']=null;let _0x436e02=this[_0x4b8082(0x223)][_0x4b8082(0x4e9)](),_0x11d1a8=_0x436e02[0x0],_0x48574f=_0x436e02[_0x436e02[_0x4b8082(0x45b)]-0x1],_0x52fe23=_0x378a1a?_0x1c81f2[_0x4b8082(0x4d5)](_0x48574f):_0x1c81f2[_0x4b8082(0x4d5)](_0x11d1a8);this['_cxtHandlerPointerMove']=_0x1bd32f[_0x4b8082(0x3af)][_0x4b8082(0x2f6)]((_0x547aa2,_0x4cff6f)=>{const _0x1b11cf=_0x4b8082;if(!this[_0x1b11cf(0x2f7)]||!this[_0x1b11cf(0x223)])return;this[_0x1b11cf(0x24a)]||=(this[_0x1b11cf(0x28d)]['clearAdjustControls'](),this[_0x1b11cf(0x223)]['clearAdjustValue'](),!0x0);let _0x2f12f4=this[_0x1b11cf(0x43c)](this[_0x1b11cf(0x35d)],this[_0x1b11cf(0x2cf)]),_0x4274f1=this[_0x1b11cf(0x570)](this[_0x1b11cf(0x35d)],this['_subUnitId']),_0x3adba6={'x':_0x547aa2[_0x1b11cf(0x3e5)]/_0x4274f1+_0x2f12f4['x'],'y':_0x547aa2[_0x1b11cf(0x23b)]/_0x4274f1+_0x2f12f4['y']},_0x44e8a9=this[_0x1b11cf(0x480)][_0x1b11cf(0x4b6)](_0x3adba6);if(_0x44e8a9){let {shapeId:_0x47c78c,unitId:_0x25477c,subUnitId:_0x4f55ed}=_0x44e8a9;if(_0x47c78c&&_0x25477c&&_0x4f55ed){let _0x13a959=(0x0,_0x15864b[_0x1b11cf(0x2df)])({'unitId':_0x25477c,'subUnitId':_0x4f55ed,'drawingId':_0x47c78c});_0x44e8a9[_0x1b11cf(0x36f)]=(_0x1bd32f[_0x1b11cf(0x1a7)](_0x13a959)[_0x1b11cf(0x36f)]||0x0)+_0x44e8a9[_0x1b11cf(0x36f)];}}this['_currentConnectionTarget']=_0x44e8a9;let _0x72c992=_0x378a1a?this['_activeShapeModel'][_0x1b11cf(0x504)]():this['_activeShapeModel'][_0x1b11cf(0x38b)]();if(_0x72c992){this[_0x1b11cf(0x448)](_0x72c992,_0x3adba6,_0x378a1a,_0x238050,_0x222fed);return;}this[_0x1b11cf(0x25f)](_0x3adba6,_0x52fe23,_0x378a1a,_0x238050,_0x222fed);}),this[_0x4b8082(0x2d1)]=_0x1bd32f[_0x4b8082(0x54b)]['subscribeEvent']((_0x5a2d9e,_0x5eb3c8)=>{const _0x5704be=_0x4b8082;this[_0x5704be(0x310)](_0x1bd32f,_0x52fe23,_0x5a2d9e,_0x378a1a,_0x530a61);}),_0x5d955e[_0x4b8082(0x49f)]();})));}[_0x13ba7a(0x32f)](_0x43e324,_0x41adc4,_0x283212){const _0x59fb17=_0x13ba7a;let _0x19bea4=this['_sheetsShapeService'][_0x59fb17(0x252)](_0x43e324,_0x41adc4,_0x283212);if(!_0x19bea4||_0x19bea4['length']===0x0)return;let _0x48557b=this[_0x59fb17(0x2e2)]['getRenderUnitById'](_0x43e324);if(!_0x48557b)return;let {scene:_0x29e49e}=_0x48557b;for(let _0x2db420 of _0x19bea4){let _0x9e2baf=_0x2db420['lineShapeId'],_0x35a33c=this[_0x59fb17(0x56c)][_0x59fb17(0x2f5)](_0x43e324,_0x41adc4,_0x9e2baf);if(!_0x35a33c)continue;let _0x44ecbb=_0x35a33c[_0x59fb17(0x38b)](),_0x2defff=_0x35a33c['getEndConnectInfo'](),_0x31c795=(_0x44ecbb==null?void 0x0:_0x44ecbb['shapeId'])===_0x283212,_0x96588=(0x0,_0x15864b[_0x59fb17(0x2df)])({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf}),_0x164105=_0x29e49e[_0x59fb17(0x1a7)](_0x96588);if(!_0x164105)continue;let _0x5c82a6=this['_drawingManagerService'][_0x59fb17(0x3db)]({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf});_0x5c82a6!=null&&_0x5c82a6[_0x59fb17(0x474)]&&(_0x44ecbb&&_0x2defff?this['_rerouteConnectorLine'](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x44ecbb,_0x2defff,_0x164105):this[_0x59fb17(0x3b5)](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x31c795?_0x44ecbb:_0x2defff,_0x31c795,_0x5c82a6,_0x164105));}}['_rerouteConnectorLine'](_0x678bbb,_0x58d71e,_0x1ffb1f,_0x4dd10a,_0x1a2e39,_0x19c07e,_0x1780a0){const _0x164b89=_0x13ba7a;let _0x36a788=this[_0x164b89(0x35d)],_0x1a6ed1=this[_0x164b89(0x2cf)];this['_unitId']=_0x678bbb,this[_0x164b89(0x2cf)]=_0x58d71e;let _0x1b60fb=this[_0x164b89(0x4dd)](_0x1a2e39),_0x3bddeb=this[_0x164b89(0x4dd)](_0x19c07e);if(this[_0x164b89(0x35d)]=_0x36a788,this[_0x164b89(0x2cf)]=_0x1a6ed1,!_0x1b60fb||!_0x3bddeb)return;let _0x2796e1=_0x4dd10a[_0x164b89(0x21e)](),_0x260ac9=(0x0,_0xd67e3f[_0x164b89(0x2b3)])(_0x1b60fb,_0x3bddeb,_0x2796e1);_0x260ac9&&_0x4dd10a[_0x164b89(0x2a3)](_0x260ac9);let _0x3aa8a6=(0x0,_0xd67e3f['computeConnectorRouteLayout'])(_0x260ac9,_0x2796e1);_0x3aa8a6[_0x164b89(0x407)]!==_0x2796e1&&_0x4dd10a['changeShapeType'](_0x3aa8a6[_0x164b89(0x407)]),_0x4dd10a[_0x164b89(0x4ba)]();for(let [_0x5a1911,_0x141d17]of Object['entries'](_0x3aa8a6[_0x164b89(0x4c3)]))_0x4dd10a[_0x164b89(0x476)](_0x5a1911,_0x141d17);_0x4dd10a['updateContext']({'width':_0x3aa8a6[_0x164b89(0x2cc)]['width'],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)]}),_0x1780a0['transformByState']({'flipX':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x553)],'flipY':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x3ec)],'left':_0x3aa8a6['worldRect'][_0x164b89(0x4f4)],'top':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1c8)],'width':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1dd)],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)],'angle':_0x3aa8a6[_0x164b89(0x53c)]}),_0x4dd10a[_0x164b89(0x405)]();}['_moveConnectorWithShape'](_0x3a43fc,_0x5b51cf,_0x4bc5b3,_0xd97d53,_0x51850a,_0x30354b,_0x7da453,_0x3125a5){const _0x3766b4=_0x13ba7a;let _0x435ca1=this[_0x3766b4(0x35d)],_0x2d9167=this['_subUnitId'];this[_0x3766b4(0x35d)]=_0x3a43fc,this[_0x3766b4(0x2cf)]=_0x5b51cf;let _0x3cd45e=this[_0x3766b4(0x4dd)](_0x51850a);if(this['_unitId']=_0x435ca1,this[_0x3766b4(0x2cf)]=_0x2d9167,!_0x3cd45e)return;let {left:_0x9f2d58=0x0,top:_0x46bff5=0x0,width:_0x279185=0x0,height:_0x4dabd1=0x0,flipX:_0xdcc769=!0x1,flipY:_0x54eba1=!0x1}=_0x7da453[_0x3766b4(0x474)],_0x2b045d=_0xd97d53[_0x3766b4(0x4e9)]();if(_0x2b045d[_0x3766b4(0x45b)]<0x2)return;let _0x55f78a=new _0xd67e3f[(_0x3766b4(0x1ee))]({'left':_0x9f2d58,'top':_0x46bff5,'width':_0x279185,'height':_0x4dabd1,'flipX':_0xdcc769,'flipY':_0x54eba1}),_0x13740d=_0x30354b?_0x2b045d[_0x2b045d[_0x3766b4(0x45b)]-0x1]:_0x2b045d[0x0],_0x564142=_0x55f78a[_0x3766b4(0x4d5)](_0x13740d),_0x22466f=_0xd67e3f[_0x3766b4(0x1ee)][_0x3766b4(0x47e)](_0x564142,_0x3cd45e[_0x3766b4(0x53b)],!_0x30354b);_0x3125a5['transformByState']({'flipX':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x553)],'flipY':_0x22466f[_0x3766b4(0x2cc)]['flipY'],'left':_0x22466f['worldRect']['left'],'top':_0x22466f['worldRect'][_0x3766b4(0x1c8)],'width':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x1dd)],'height':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x2c5)],'angle':_0x22466f['worldRect'][_0x3766b4(0x36f)]}),_0x3125a5[_0x3766b4(0x334)](!0x0);}[_0x13ba7a(0x4a6)](){const _0xf8c0e5=_0x13ba7a;this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x45b)]!==0x0&&(this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x34a)](_0xac7388=>{const _0x452c04=_0xf8c0e5;_0xac7388[_0x452c04(0x206)]();}),this['_connectorObjects']=[]);}[_0x13ba7a(0x36b)](){const _0x48299c=_0x13ba7a;let _0x405c5e=this[_0x48299c(0x583)][_0x48299c(0x3d3)](_0x10e5f9['UniverInstanceType']['UNIVER_SHEET']);this[_0x48299c(0x47f)](_0x405c5e[_0x48299c(0x560)]((0x0,_0x364ff4[_0x48299c(0x289)])(_0x1f6c9b=>_0x1f6c9b?_0x1f6c9b[_0x48299c(0x259)][_0x48299c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x133845=>{const _0x1d9208=_0x48299c;if(!_0x133845)return _0x364ff4['EMPTY'];let _0x49291c=_0x1f6c9b[_0x1d9208(0x3ff)](),_0x55932c=this[_0x1d9208(0x2e2)][_0x1d9208(0x57f)](_0x49291c),_0x4a0eb7=_0x55932c==null?void 0x0:_0x55932c[_0x1d9208(0x2a7)];return _0x4a0eb7?(0x0,_0x364ff4['of'])(_0x4a0eb7):_0x364ff4['EMPTY'];})):_0x364ff4['EMPTY']))['subscribe'](_0x2a1505=>{const _0x5032c8=_0x48299c;let _0x34a938=_0x2a1505[_0x5032c8(0x22d)]();this['disposeWithMe'](_0x2a1505[_0x5032c8(0x3af)][_0x5032c8(0x2f6)](_0xcce5ee=>{const _0x4b353e=_0x5032c8;this['_isDrawingShapePointDown']&&this['_activeShapeId']&&this[_0x4b353e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x202)][_0x5032c8(0x358)](_0x4b64b9=>{const _0x576672=_0x5032c8;let {objects:_0x3a3fa4}=_0x4b64b9;this[_0x576672(0x4a6)](),_0x3a3fa4!==null&&_0x3a3fa4['size']===0x1&&_0x3a3fa4[_0x576672(0x1cb)]()[_0x576672(0x475)]()[_0x576672(0x472)]instanceof _0x402866&&(this['_isDrawingShapePointDown']=!0x0);})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x42f)][_0x5032c8(0x358)](_0x2c4c64=>{const _0x437c0e=_0x5032c8;this['_isDrawingShapePointDown']&&this[_0x437c0e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x2a1505[_0x5032c8(0x54b)][_0x5032c8(0x2f6)](()=>{const _0x2b2241=_0x5032c8;this[_0x2b2241(0x37d)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x2b2241(0x333)]());})),this[_0x5032c8(0x47f)](_0x34a938['changeEnd$'][_0x5032c8(0x358)](()=>{const _0x49e297=_0x5032c8;this[_0x49e297(0x35d)]&&this[_0x49e297(0x2cf)]&&this[_0x49e297(0x299)]&&this[_0x49e297(0x3c5)][_0x49e297(0x3db)]({'unitId':this[_0x49e297(0x35d)],'subUnitId':this[_0x49e297(0x2cf)],'drawingId':this['_activeShapeId']})&&(this[_0x49e297(0x4a6)](),this[_0x49e297(0x333)]());}));}));}[_0x13ba7a(0x1fe)](){const _0x522aff=_0x13ba7a;this[_0x522aff(0x47f)](this['_drawingManagerService']['focus$'][_0x522aff(0x358)](_0x377344=>{const _0x40c4dc=_0x522aff;if(_0x377344[_0x40c4dc(0x45b)]===0x1){let _0x1fa630=_0x377344[0x0];if(_0x1fa630[_0x40c4dc(0x52e)]===_0x10e5f9[_0x40c4dc(0x2e1)][_0x40c4dc(0x20d)]){let _0x274f62=this[_0x40c4dc(0x56c)][_0x40c4dc(0x2f5)](_0x1fa630[_0x40c4dc(0x26e)],_0x1fa630[_0x40c4dc(0x354)],_0x1fa630[_0x40c4dc(0x272)]);if(_0x274f62&&(0x0,_0xd67e3f[_0x40c4dc(0x36a)])(_0x274f62[_0x40c4dc(0x21e)]())){this[_0x40c4dc(0x299)]=_0x1fa630[_0x40c4dc(0x272)],this[_0x40c4dc(0x35d)]=_0x1fa630['unitId'],this[_0x40c4dc(0x2cf)]=_0x1fa630[_0x40c4dc(0x354)],this['_clearShapeConnectorHandlerObjects'](),this[_0x40c4dc(0x333)]();return;}}}this[_0x40c4dc(0x299)]=void 0x0,this[_0x40c4dc(0x35d)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x40c4dc(0x4a6)]();})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x28e)][_0x522aff(0x358)](_0x49197a=>{const _0x46e9c5=_0x522aff;if(_0x49197a[_0x46e9c5(0x45b)]===0x1){var _0x45f84c;let _0x2ebdec=_0x49197a[0x0],_0x9f3aa0=(_0x45f84c=this[_0x46e9c5(0x3c5)]['getDrawingByParam'](_0x2ebdec))==null?void 0x0:_0x45f84c['drawingType'];_0x9f3aa0===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x2ebdec[_0x46e9c5(0x272)]===this['_activeShapeId']?(this[_0x46e9c5(0x4a6)](),this[_0x46e9c5(0x333)]()):!this[_0x46e9c5(0x299)]&&_0x9f3aa0===_0x10e5f9[_0x46e9c5(0x2e1)][_0x46e9c5(0x20d)]&&this[_0x46e9c5(0x32f)](_0x2ebdec[_0x46e9c5(0x26e)],_0x2ebdec[_0x46e9c5(0x354)],_0x2ebdec[_0x46e9c5(0x272)]);}})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x1f5)][_0x522aff(0x358)](_0x12c3ac=>{const _0x27fb9d=_0x522aff;for(let _0x1145df of _0x12c3ac){let {drawingId:_0xe7cab4}=_0x1145df;if(this[_0x27fb9d(0x299)]===_0xe7cab4){this[_0x27fb9d(0x2b0)]();return;}}}));}[_0x13ba7a(0x448)](_0x35c8f3,_0x1160d5,_0x5cf1ea,_0x30645c,_0x1854ec){const _0x2019f1=_0x13ba7a;var _0x47580a;if(!this[_0x2019f1(0x223)])return;let _0x24e645=this[_0x2019f1(0x4dd)](_0x35c8f3);if(!_0x24e645)return;let _0x415e82=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x519)]:_0x1160d5,_0x3928fb=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x36f)]:this[_0x2019f1(0x45e)](_0x24e645[_0x2019f1(0x53b)],_0x415e82),_0x592be2;if(this[_0x2019f1(0x1a8)]){let _0xb45142=this[_0x2019f1(0x3c5)][_0x2019f1(0x3db)]({'unitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x26e)],'subUnitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x354)],'drawingId':this[_0x2019f1(0x1a8)][_0x2019f1(0x42a)]});if(_0xb45142!=null&&_0xb45142['transform']){let {left:_0x18b9d8=0x0,top:_0x3b219b=0x0,width:_0x2eb70c=0x0,height:_0x5dd5cd=0x0,angle:_0x16db70}=_0xb45142[_0x2019f1(0x474)];_0x592be2=(0x0,_0xd67e3f[_0x2019f1(0x3a0)])({'left':_0x18b9d8,'top':_0x3b219b,'width':_0x2eb70c,'height':_0x5dd5cd},_0x16db70||0x0);}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};let _0x165604={'point':_0x415e82,'angle':_0x3928fb,'bounds':_0x592be2},_0x112135=_0x5cf1ea?_0x165604:_0x24e645,_0x11dbf9=_0x5cf1ea?_0x24e645:_0x165604,_0x303e7d=this[_0x2019f1(0x223)]['getShapeType'](),_0x49e0ee=(0x0,_0xd67e3f[_0x2019f1(0x2b3)])(_0x112135,_0x11dbf9,_0x303e7d);_0x49e0ee&&this[_0x2019f1(0x223)][_0x2019f1(0x2a3)](_0x49e0ee);let _0x1f78a7=(0x0,_0xd67e3f[_0x2019f1(0x433)])(_0x49e0ee,_0x303e7d);_0x1f78a7[_0x2019f1(0x407)]!==_0x303e7d&&this['_activeShapeModel']['changeShapeType'](_0x1f78a7['lineType']);for(let [_0x6a0935,_0x59db7f]of Object[_0x2019f1(0x4d1)](_0x1f78a7[_0x2019f1(0x4c3)]))this[_0x2019f1(0x223)][_0x2019f1(0x476)](_0x6a0935,_0x59db7f);this[_0x2019f1(0x223)][_0x2019f1(0x523)]({'width':_0x1f78a7['worldRect'][_0x2019f1(0x1dd)],'height':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x2c5)]}),_0x30645c[_0x2019f1(0x3e2)]({'flipX':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x553)],'flipY':_0x1f78a7[_0x2019f1(0x2cc)]['flipY'],'left':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x4f4)],'top':_0x1f78a7[_0x2019f1(0x2cc)]['top'],'width':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x1dd)],'height':_0x1f78a7['worldRect'][_0x2019f1(0x2c5)],'angle':_0x1f78a7['rotation']}),_0x30645c[_0x2019f1(0x334)](!0x0);let _0x36c71a=((_0x47580a=this[_0x2019f1(0x1a8)])==null?void 0x0:_0x47580a[_0x2019f1(0x519)])??_0x1160d5;_0x1854ec['transformByState']({'left':_0x36c71a['x']-_0xd67e3f[_0x2019f1(0x225)]['cxnPointRadius'],'top':_0x36c71a['y']-_0xd67e3f[_0x2019f1(0x225)][_0x2019f1(0x290)]});}[_0x13ba7a(0x25f)](_0x369c0a,_0x5bf614,_0x216d70,_0x2aa011,_0x1c8847){const _0x45915f=_0x13ba7a;var _0x46616d,_0x37ae03;let _0x571a67=((_0x46616d=this[_0x45915f(0x1a8)])==null?void 0x0:_0x46616d['worldPoint'])??_0x369c0a,_0x6ec78d=_0xd67e3f[_0x45915f(0x1ee)][_0x45915f(0x47e)](_0x5bf614,_0x571a67,_0x216d70);_0x2aa011[_0x45915f(0x3e2)]({'flipX':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x553)],'flipY':_0x6ec78d[_0x45915f(0x2cc)]['flipY'],'left':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x4f4)],'top':_0x6ec78d[_0x45915f(0x2cc)]['top'],'width':_0x6ec78d['worldRect'][_0x45915f(0x1dd)],'height':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x2c5)],'angle':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x36f)]});let _0x42d368=((_0x37ae03=this['_currentConnectionTarget'])==null?void 0x0:_0x37ae03[_0x45915f(0x519)])??_0x369c0a;_0x1c8847['transformByState']({'left':_0x42d368['x']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)],'top':_0x42d368['y']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)]});}[_0x13ba7a(0x4dd)](_0x4b20aa){const _0x16c730=_0x13ba7a;if(!this[_0x16c730(0x35d)]||!this['_subUnitId'])return null;let {shapeId:_0x45276d,cxnIndex:_0x3e3c5f}=_0x4b20aa,_0x24c96f=this[_0x16c730(0x56c)][_0x16c730(0x2f5)](this[_0x16c730(0x35d)],this[_0x16c730(0x2cf)],_0x45276d);if(!_0x24c96f)return null;let _0x1a4079=this[_0x16c730(0x3c5)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x16c730(0x2cf)],'drawingId':_0x45276d});if(!(_0x1a4079!=null&&_0x1a4079[_0x16c730(0x474)]))return null;let {left:_0x344994=0x0,top:_0x50d1a2=0x0,width:_0x424bb7=0x0,height:_0x162e21=0x0,flipX:_0x287f98=!0x1,flipY:_0x324c64=!0x1,angle:_0x10cce7}=_0x1a4079[_0x16c730(0x474)];_0x24c96f[_0x16c730(0x523)]({'width':_0x424bb7,'height':_0x162e21});let _0xef0462=_0x24c96f[_0x16c730(0x214)]()[_0x16c730(0x298)](_0x5088ba=>_0x5088ba[_0x16c730(0x58d)]===_0x3e3c5f);if(!_0xef0462)return null;let _0x714540=_0x287f98?_0x424bb7-_0xef0462['x']:_0xef0462['x'],_0x1823ff=_0x324c64?_0x162e21-_0xef0462['y']:_0xef0462['y'];if(_0x10cce7!==0x0&&_0x10cce7!=null){let _0x3dfc4a=_0x10cce7*Math['PI']/0xb4,_0x1f8fdf=Math[_0x16c730(0x2e0)](_0x3dfc4a),_0x3e21f5=Math[_0x16c730(0x515)](_0x3dfc4a),_0x3acc72=_0x424bb7/0x2,_0x4e1601=_0x162e21/0x2,_0x4262e5=_0x714540-_0x3acc72,_0x135b17=_0x1823ff-_0x4e1601;_0x714540=_0x3acc72+_0x4262e5*_0x1f8fdf-_0x135b17*_0x3e21f5,_0x1823ff=_0x4e1601+_0x4262e5*_0x3e21f5+_0x135b17*_0x1f8fdf;}_0x714540+=_0x344994,_0x1823ff+=_0x50d1a2;let _0x4df858=_0xef0462[_0x16c730(0x38f)]/0xea60;_0x287f98&&(_0x4df858=0xb4-_0x4df858),_0x324c64&&(_0x4df858=-_0x4df858),_0x4df858+=_0x10cce7||0x0,_0x4df858=(_0x4df858%0x168+0x168)%0x168;let _0x3b84a7=(0x0,_0xd67e3f[_0x16c730(0x3a0)])({'left':_0x344994,'top':_0x50d1a2,'width':_0x424bb7,'height':_0x162e21},_0x10cce7||0x0);return{'point':{'x':_0x714540,'y':_0x1823ff},'angle':_0x4df858,'bounds':_0x3b84a7};}[_0x13ba7a(0x45e)](_0x205749,_0x15d532){const _0x53e152=_0x13ba7a;let _0x215b93=_0x15d532['x']-_0x205749['x'],_0x17fa73=_0x15d532['y']-_0x205749['y'];return Math[_0x53e152(0x486)](_0x215b93)>=Math[_0x53e152(0x486)](_0x17fa73)?_0x215b93>=0x0?0xb4:0x0:_0x17fa73>=0x0?0x10e:0x5a;}[_0x13ba7a(0x2b0)](){const _0x3bc5fd=_0x13ba7a;this[_0x3bc5fd(0x299)]=void 0x0,this[_0x3bc5fd(0x35d)]=void 0x0,this[_0x3bc5fd(0x2cf)]=void 0x0,this[_0x3bc5fd(0x4a6)]();}['dispose'](){const _0x36b364=_0x13ba7a;this[_0x36b364(0x4a6)](),super[_0x36b364(0x206)]();}};_0x191a85=_0x12f75a([_0x174396(0x1,_0x10e5f9['ICommandService']),_0x174396(0x2,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0x5507d6)),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x4d5792))],_0x191a85);let _0x47c32c=class extends _0x10e5f9['Disposable']{constructor(_0xf59fcc,_0x2e9f63,_0x4e322c){const _0x38054b=_0x13ba7a;super(),this[_0x38054b(0x55b)]=_0xf59fcc,this[_0x38054b(0x3c5)]=_0x2e9f63,this[_0x38054b(0x256)]=_0x4e322c,this['_initPrinting']();}['_initPrinting'](){const _0x3b5dc8=_0x13ba7a;this[_0x3b5dc8(0x47f)](this['_sheetPrintInterceptorService'][_0x3b5dc8(0x20a)][_0x3b5dc8(0x37f)](this['_sheetPrintInterceptorService']['interceptor']['getInterceptPoints']()[_0x3b5dc8(0x374)],{'handler':(_0x204bc7,_0x2abb09,_0x5cd407)=>{const _0x58878b=_0x3b5dc8;var _0x3f4891;let {unitId:_0x4e4733,subUnitId:_0x5892eb,scene:_0x40c78d,resourceCollector:_0x151e1f}=_0x2abb09,_0x20f21e=(_0x3f4891=this[_0x58878b(0x3c5)]['getDrawingDataForUnit'](_0x4e4733))==null?void 0x0:_0x3f4891[_0x5892eb];return _0x20f21e==null||_0x20f21e[_0x58878b(0x54d)][_0x58878b(0x34a)](_0x219b47=>{const _0x37d154=_0x58878b;let _0x5ce144=_0x20f21e[_0x37d154(0x59a)][_0x219b47];_0x5ce144[_0x37d154(0x52e)]===_0x10e5f9[_0x37d154(0x2e1)][_0x37d154(0x20d)]&&!_0x5ce144['hidden']&&this[_0x37d154(0x256)][_0x37d154(0x4e7)](_0x5ce144,_0x40c78d,{'resourceCollector':_0x151e1f});}),_0x5cd407(_0x204bc7);}}));}};_0x47c32c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x189be3[_0x13ba7a(0x3d6)])),_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x5191eb))],_0x47c32c);let _0x7c3790=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1b1978,_0x730f1b,_0x3d7450){const _0x5c2b56=_0x13ba7a;super(),this[_0x5c2b56(0x558)]=_0x1b1978,this['_localeService']=_0x730f1b,this[_0x5c2b56(0x536)]=_0x3d7450,this['_initPermission']();}[_0x13ba7a(0x55e)](){const _0x24c1c3=_0x13ba7a;this[_0x24c1c3(0x47f)](this[_0x24c1c3(0x558)][_0x24c1c3(0x510)](_0x11feff=>{const _0x205aa5=_0x24c1c3;let _0x1df1df,_0x15dd36;if(_0x11feff['id']===_0x2f2bb5['InsertShapeCommand']['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x456)]['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x295)]['id']){let _0x47ec92=_0x11feff[_0x205aa5(0x352)];_0x1df1df=_0x47ec92[_0x205aa5(0x26e)],_0x15dd36=_0x47ec92[_0x205aa5(0x354)];}_0x1df1df&&_0x15dd36&&(this[_0x205aa5(0x536)][_0x205aa5(0x466)]({'workbookTypes':[_0x32abfe[_0x205aa5(0x4f9)]],'worksheetTypes':[_0x32abfe[_0x205aa5(0x1f2)]]},_0x1df1df,_0x15dd36)||this['_sheetPermissionCheckController'][_0x205aa5(0x19e)](this[_0x205aa5(0x31e)]['t'](_0x205aa5(0x341))));}));}};_0x7c3790=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x297)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x513)]))],_0x7c3790);let _0x16741e=class{constructor(_0x148b81){const _0xaabb65=_0x13ba7a;this[_0xaabb65(0x2e2)]=_0x148b81;}['updateShapeFillImage'](_0x147b75,_0x200e40){const _0x577904=_0x13ba7a;let _0x5f790e=this[_0x577904(0x2e2)][_0x577904(0x57f)](_0x147b75['unitId']),_0x3f2e98=_0x5f790e==null?void 0x0:_0x5f790e['scene'];if(!_0x3f2e98)return;let _0x1ae5ba=(0x0,_0x15864b[_0x577904(0x2df)])(_0x147b75),_0x97db07=_0x3f2e98[_0x577904(0x1a7)](_0x1ae5ba);_0x97db07==null||_0x97db07[_0x577904(0x1ad)](_0x200e40);}};_0x16741e=_0x12f75a([_0x174396(0x0,_0x3458ba[_0x13ba7a(0x2a5)])],_0x16741e);let _0x39f9ab=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x27939a=_0x26e934,_0x169cd0,_0x4c52de,_0x38a2dd,_0x4ac962){const _0x5cc508=_0x13ba7a;super(),this[_0x5cc508(0x20f)]=_0x27939a,this[_0x5cc508(0x58c)]=_0x169cd0,this[_0x5cc508(0x558)]=_0x4c52de,this[_0x5cc508(0x1e9)]=_0x38a2dd,this[_0x5cc508(0x2e2)]=_0x4ac962;let {..._0x31dd29}=(0x0,_0x10e5f9[_0x5cc508(0x445)])({},_0x26e934,this['_config']);this[_0x5cc508(0x1e9)][_0x5cc508(0x3b3)](_0x56997c,_0x31dd29),this[_0x5cc508(0x4cb)]();}['onStarting'](){const _0x16294c=_0x13ba7a;this[_0x16294c(0x58c)][_0x16294c(0x278)]([_0x5debd6]),this['_injector'][_0x16294c(0x468)](_0x5debd6),(0x0,_0x10e5f9[_0x16294c(0x247)])(this[_0x16294c(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x1b3)](){const _0x33afe5=_0x13ba7a;(0x0,_0x10e5f9[_0x33afe5(0x247)])(this['_injector'],[[_0x4d5792],[_0x5507d6],[_0x32e137]]),(0x0,_0x10e5f9[_0x33afe5(0x2d7)])(this[_0x33afe5(0x58c)],[[_0x32e137],[_0x5507d6]]),[[_0x4d5792],[_0x9f7a3e],[_0x191a85],[_0x1aee3a]][_0x33afe5(0x34a)](_0x540724=>{const _0x36b134=_0x33afe5;this[_0x36b134(0x47f)](this['_renderManagerService']['registerRenderModule'](_0x10e5f9[_0x36b134(0x503)][_0x36b134(0x450)],_0x540724));});}['onRendered'](){const _0x350f22=_0x13ba7a;(0x0,_0x10e5f9[_0x350f22(0x2d7)])(this[_0x350f22(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x4ec)](){const _0x30c141=_0x13ba7a;this['_injector'][_0x30c141(0x468)](_0x22d2ee)['initShapePopupMenu']();}[_0x13ba7a(0x4cb)](){const _0x483b1e=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x34de34,_0x1e868c][_0x483b1e(0x34a)](_0x35eb20=>this['disposeWithMe'](this[_0x483b1e(0x558)][_0x483b1e(0x424)](_0x35eb20)));}};_0x5ae661(_0x39f9ab,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x39f9ab,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x39f9ab,_0x13ba7a(0x51d),_0x3e9d67),_0x5ae661(_0x39f9ab,_0x13ba7a(0x33a),_0x4f17df),_0x39f9ab=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066['UniverDocsPlugin'],_0x15864b[_0x13ba7a(0x273)],_0x3458ba[_0x13ba7a(0x1e5)],_0x32abfe['UniverSheetsPlugin'],_0x31aefd[_0x13ba7a(0x2ad)],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9[_0x13ba7a(0x2d6)],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x404)],_0xba932b[_0x13ba7a(0x29a)],_0x187e10['UniverMobileUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9['IConfigService']),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x39f9ab);let _0x53d33a={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x3ee),'handler'(){return!0x0;}};function _0x10faf6(){const _0x42c372=_0x13ba7a;let _0x52f09c=(0x0,_0x187e10['useDependency'])(_0x15864b[_0x42c372(0x4e8)]),_0x286545=(0x0,_0x187e10[_0x42c372(0x364)])(()=>_0x52f09c[_0x42c372(0x332)],_0x52f09c[_0x42c372(0x1da)](),!0x1,[_0x52f09c]);return _0x286545[_0x42c372(0x45b)]===0x0?null:(0x0,_0x30a372[_0x42c372(0x357)])(_0x42c372(0x3a5),{'children':(0x0,_0x30a372[_0x42c372(0x1e7)])(_0x42c372(0x3a5),{'className':_0x42c372(0x439),'children':[(0x0,_0x30a372[_0x42c372(0x357)])(_0x2a7f32['DrawingCommonPanel'],{'drawings':_0x286545,'hasCropper':!0x1}),(0x0,_0x30a372[_0x42c372(0x357)])(_0x3c03b9[_0x42c372(0x48b)],{'drawings':_0x286545})]})});}function _0x1718cc(_0x3aedd3){const _0x12624e=_0x13ba7a;let {unitId:_0x354507,subUnitId:_0x5e1fdf,shapeId:_0x28c16a}=_0x3aedd3,_0x577a1c=(0x0,_0x187e10[_0x12624e(0x53e)])(_0x10e5f9[_0x12624e(0x297)]),_0x1833b3=(0x0,_0x187e10['useDependency'])(_0x16741e);return(0x0,_0x30a372['jsx'])(_0xba932b[_0x12624e(0x46c)],{..._0x3aedd3,'positionEditor':(0x0,_0x30a372['jsx'])(_0x10faf6,{}),'onUpdateShapeData':(_0x2d6756,_0x345a2f)=>{_0x2b1bec(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x2d6756,_0x345a2f);},'onUpdateLineShapeData':(_0x4d0206,_0x282fb6)=>{_0x595a99(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x4d0206,_0x282fb6);},'onUpdateShapeFillImage':_0x1452d2=>{const _0xcf110e=_0x12624e;_0x1833b3[_0xcf110e(0x4ea)]({'unitId':_0x354507,'subUnitId':_0x5e1fdf,'drawingId':_0x28c16a},_0x1452d2);}});}function _0x257027(_0x2cb9f1){const _0x74f15a=_0x13ba7a;let _0x28c2dd=(0x0,_0x187e10[_0x74f15a(0x53e)])(_0xba932b[_0x74f15a(0x1e2)]),_0x264c2e=(0x0,_0x187e10[_0x74f15a(0x364)])(()=>_0x28c2dd['visible$'],_0x28c2dd[_0x74f15a(0x322)](),!0x1,[_0x28c2dd]),_0x4a0b8e=_0x2cb9f1['popup'][_0x74f15a(0x40d)];return!_0x4a0b8e||!_0x264c2e?null:(0x0,_0x30a372[_0x74f15a(0x357)])(_0x454ad0,{..._0x4a0b8e,'canvasElement':_0x2cb9f1['popup']['canvasElement']});}function _0x454ad0(_0x22eff3){const _0x4a445a=_0x13ba7a;let _0x4fc2a5=(0x0,_0x187e10[_0x4a445a(0x53e)])(_0x10e5f9[_0x4a445a(0x297)]),_0x9d6e58=(0x0,_0x187e10['useDependency'])(_0x2f2bb5[_0x4a445a(0x4d3)]),{unitId:_0x42f57d,subUnitId:_0xfd7f76,drawingId:_0x3c11c0,drawingType:_0x21e228,shapeType:_0xa1a986}=_0x22eff3,[_0x5dd385,_0x781e74]=(0x0,_0x18bd90[_0x4a445a(0x1f9)])(_0x22eff3[_0x4a445a(0x429)]),_0x2ed0d1=(0x0,_0x18bd90['useMemo'])(()=>(0x0,_0xba932b[_0x4a445a(0x50a)])(_0x5dd385),[_0x5dd385]),_0x5dcf6c=(0x0,_0x18bd90[_0x4a445a(0x2a1)])(()=>(0x0,_0xba932b['getTextModel'])(_0x5dd385),[_0x5dd385]);(0x0,_0x18bd90[_0x4a445a(0x41e)])(()=>{const _0x300e27=_0x4a445a;let _0x4a4816=_0x4fc2a5[_0x300e27(0x1ac)](_0x202bc0=>{const _0x4f3031=_0x300e27;if(_0x202bc0['id']!==_0x2f2bb5[_0x4f3031(0x479)]['id'])return;let _0x304065=_0x9d6e58[_0x4f3031(0x204)](_0x42f57d,_0xfd7f76,_0x3c11c0);_0x304065&&_0x781e74(_0x304065);});return()=>_0x4a4816[_0x300e27(0x206)]();},[_0x4fc2a5,_0x3c11c0,_0x9d6e58,_0xfd7f76,_0x42f57d]);let _0x19594b=_0x433141=>{_0x781e74(_0x4df4db=>({..._0x4df4db,..._0x433141}));},_0x463127=_0x2c9771=>{const _0x3e48c9=_0x4a445a;let _0x4db731=(0x0,_0xba932b[_0x3e48c9(0x38c)])(_0x5dd385,_0x2c9771);_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'shapeText':_0x5dd385[_0x3e48c9(0x342)]}},_0x4db731),_0x19594b(_0x4db731);},_0x30d053=(0x0,_0xba932b[_0x4a445a(0x585)])({'hostType':_0x10e5f9['UniverInstanceType'][_0x4a445a(0x450)],'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'shapeId':_0x3c11c0,'shapeData':_0x5dd385,'onUpdateBinding':_0x1d4ac2=>{const _0x596e86=_0x4a445a;let _0x4ae9c5={'formulaBinding':_0x1d4ac2};_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'formulaBinding':_0x5dd385[_0x596e86(0x1c2)]}},_0x4ae9c5),_0x19594b(_0x4ae9c5);}});return(0x0,_0x30a372['jsxs'])(_0x30a372[_0x4a445a(0x31d)],{'children':[(0x0,_0x30a372[_0x4a445a(0x357)])(_0xba932b[_0x4a445a(0x4b8)],{'canvasElement':_0x22eff3[_0x4a445a(0x3c2)],'shapeData':_0x5dd385,'shapeType':_0xa1a986,'textStyle':{'ff':_0xd67e3f['ShapeDefaultConfig'][_0x4a445a(0x342)]['fontFamily'],'fs':_0xd67e3f['ShapeDefaultConfig']['shapeText'][_0x4a445a(0x250)],'cl':{'rgb':_0xd67e3f[_0x4a445a(0x225)]['shapeText']['color']},..._0x2ed0d1},'textModel':_0x5dcf6c?{'ha':_0x5dcf6c['ha']??_0x10e5f9[_0x4a445a(0x3df)][_0x4a445a(0x353)],'va':_0x5dcf6c['va']??_0x10e5f9[_0x4a445a(0x48c)][_0x4a445a(0x43d)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0xd67e3f[_0x4a445a(0x225)]['fill'],'defaultGradientEndColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x2b9)],'defaultStrokeColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x24f)],'extensionGroups':_0x30d053[_0x4a445a(0x505)],'floatingObjectToolbarPosition':_0x187e10['FloatingObjectToolbarPosition']['SHEET'],'onUpdateShapeData':(_0x2ec1eb,_0x5abc5d)=>{_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,_0x2ec1eb,_0x5abc5d),_0x5abc5d&&_0x19594b(_0x5abc5d);},'onUpdateText':_0x463127,'onOpenPanel':()=>{const _0xece09d=_0x4a445a;_0x4fc2a5[_0xece09d(0x274)](_0x47ad5b['id'],{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0});},'onDelete':()=>{const _0x45c4b5=_0x4a445a;_0x4fc2a5[_0x45c4b5(0x274)](_0x40f1a1[_0x45c4b5(0x460)]['id'],{'unitId':_0x42f57d,'drawings':[{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0,'drawingType':_0x21e228}]});}}),_0x30d053['panel']]});}function _0x4421c9(_0x3ae445){const _0x50fdf1=_0x13ba7a;return!!_0x3ae445&&_0x50fdf1(0x331)in _0x3ae445&&_0x50fdf1(0x2ea)in _0x3ae445;}let _0x576a99=(0x0,_0x18bd90[_0x13ba7a(0x3d5)])(()=>{const _0x46f8e6=_0x13ba7a;let _0x1d0021=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x17f3c3),_0x39e504=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x2f2bb5[_0x46f8e6(0x4d3)]),_0x363233=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x15864b['IDrawingManagerService']),_0x9e59ef=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x10e5f9[_0x46f8e6(0x297)]),_0x28d63e=(0x0,_0x187e10['useDependency'])(_0x187e10[_0x46f8e6(0x377)]),_0x2b7674=(0x0,_0x187e10['useDependency'])(_0x3458ba[_0x46f8e6(0x2a5)]),_0x25c7a4=(0x0,_0x18bd90['useMemo'])(()=>({'getShapeModel':(_0x5beae8,_0x297bc3,_0x4f059d)=>_0x39e504[_0x46f8e6(0x2f5)](_0x5beae8,_0x297bc3,_0x4f059d),'getShapeData':(_0x55d019,_0xe82ffb,_0x4565db)=>_0x39e504['getShapeDataById'](_0x55d019,_0xe82ffb,_0x4565db),'getDrawingTransform':(_0x59a7a9,_0x30e6e8,_0x2654c7)=>{const _0x1d7819=_0x46f8e6;let _0x5a53aa=_0x363233['getDrawingByParam']({'unitId':_0x59a7a9,'subUnitId':_0x30e6e8,'drawingId':_0x2654c7});return _0x5a53aa==null?void 0x0:_0x5a53aa[_0x1d7819(0x474)];},'updateShapeText':({unitId:_0x7fa5d2,subUnitId:_0x34b23a,shapeId:_0x865b71,shapeText:_0x368bf9,oldShapeText:_0x5e9633,hostSize:_0x37d8bf})=>{const _0x3019a9=_0x46f8e6;_0x28d63e[_0x3019a9(0x29b)](_0x7fa5d2,()=>{const _0x4e66da=_0x3019a9;var _0x2f3003;let _0x4e8bfd=_0x9e59ef[_0x4e66da(0x1f8)](_0x6c1302['id'],{'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'shapeId':_0x865b71,'shapeData':{'shapeText':_0x368bf9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5e9633}}});if(!_0x4e8bfd||!_0x37d8bf)return _0x4e8bfd;let _0x50d726=_0x363233[_0x4e66da(0x3db)]({'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'drawingId':_0x865b71}),_0x566cb9=_0x50d726==null?void 0x0:_0x50d726[_0x4e66da(0x474)];if(!_0x4421c9(_0x50d726)||!_0x566cb9)return!0x1;let _0x1bc8ec={..._0x566cb9,'width':_0x37d8bf[_0x4e66da(0x1dd)],'height':_0x37d8bf['height']},_0x4fb722=(_0x2f3003=_0x2b7674['getRenderUnitById'](_0x7fa5d2))==null||(_0x2f3003=_0x2f3003['with'](_0x189be3[_0x4e66da(0x277)])[_0x4e66da(0x393)](_0x34b23a))==null?void 0x0:_0x2f3003[_0x4e66da(0x402)];return _0x9e59ef[_0x4e66da(0x1f8)](_0x40f1a1[_0x4e66da(0x26f)]['id'],{'unitId':_0x7fa5d2,'drawings':[{..._0x50d726,'transform':_0x1bc8ec,'sheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x307)])(_0x1bc8ec,_0x4fb722)??_0x50d726[_0x4e66da(0x2ea)]:_0x50d726[_0x4e66da(0x2ea)],'axisAlignSheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x25d)])(_0x1bc8ec,_0x4fb722)??_0x50d726['axisAlignSheetTransform']:_0x50d726[_0x4e66da(0x331)]}]});});},'updateHostSize':({unitId:_0x11c3c0,subUnitId:_0x494551,shapeId:_0x4b0daa,width:_0x4341a8,height:_0x1717c0})=>{const _0x2fdcbf=_0x46f8e6;var _0x5164f1;let _0x3f6ac2=_0x363233[_0x2fdcbf(0x3db)]({'unitId':_0x11c3c0,'subUnitId':_0x494551,'drawingId':_0x4b0daa}),_0x5e72bd=_0x3f6ac2==null?void 0x0:_0x3f6ac2[_0x2fdcbf(0x474)];if(!_0x4421c9(_0x3f6ac2)||!_0x5e72bd)return;let _0x25f1cd={..._0x5e72bd,'width':_0x4341a8,'height':_0x1717c0},_0x15d6a9=(_0x5164f1=_0x2b7674[_0x2fdcbf(0x57f)](_0x11c3c0))==null||(_0x5164f1=_0x5164f1[_0x2fdcbf(0x39e)](_0x189be3[_0x2fdcbf(0x277)])[_0x2fdcbf(0x393)](_0x494551))==null?void 0x0:_0x5164f1[_0x2fdcbf(0x402)],_0x2ee1f6=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x307)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x2ea)]:_0x3f6ac2[_0x2fdcbf(0x2ea)],_0x5e51e9=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x25d)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x331)]:_0x3f6ac2[_0x2fdcbf(0x331)];_0x9e59ef[_0x2fdcbf(0x274)](_0x40f1a1[_0x2fdcbf(0x26f)]['id'],{'unitId':_0x11c3c0,'drawings':[{..._0x3f6ac2,'transform':_0x25f1cd,'sheetTransform':_0x2ee1f6,'axisAlignSheetTransform':_0x5e51e9}]});},'allowHostSizeShrink':({unitId:_0x119a77,subUnitId:_0x33c2f4,shapeId:_0x15811b})=>(0x0,_0xba932b[_0x46f8e6(0x562)])(_0x39e504[_0x46f8e6(0x204)](_0x119a77,_0x33c2f4,_0x15811b)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x9e59ef,_0x363233,_0x2b7674,_0x39e504,_0x28d63e]),_0x10ec4f=(0x0,_0x18bd90[_0x46f8e6(0x2a1)])(()=>({'viewportKeys':{'main':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x376)],'leftTop':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x54e)],'top':_0x3458ba['SHEET_VIEWPORT_KEY'][_0x46f8e6(0x2a2)],'left':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x231)]},'getSkeleton':(_0x183588,_0x431ce1)=>{const _0x2a2519=_0x46f8e6;var _0x188226;return((_0x188226=_0x183588['with'](_0x189be3[_0x2a2519(0x277)])[_0x2a2519(0x393)](_0x431ce1[_0x2a2519(0x354)]))==null?void 0x0:_0x188226[_0x2a2519(0x402)])??null;}}),[]);return(0x0,_0x30a372[_0x46f8e6(0x357)])(_0xba932b['ShapeTextEditorContainer'],{'adapter':_0x25c7a4,'editingService':_0x1d0021,'editorUnitId':_0x28b28e,'positionOptions':_0x10ec4f});}),_0xd91588=class extends _0x10e5f9['Disposable']{constructor(_0x3ffd41,_0x48cc66){const _0x335d9=_0x13ba7a;super(),this[_0x335d9(0x23e)]=_0x3ffd41,this[_0x335d9(0x378)]=_0x48cc66,this['_registerIcons'](),this[_0x335d9(0x555)]();}[_0x13ba7a(0x50b)](){const _0x179942=_0x13ba7a;this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x2e9))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'ObjectLayersIcon':_0x4e302b})),this[_0x179942(0x378)]['has']('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x179942(0x378)]['register']({'FlipHorizontalIcon':_0x20e04e})),this[_0x179942(0x378)]['has'](_0x179942(0x431))||this[_0x179942(0x47f)](this[_0x179942(0x378)]['register']({'FlipVerticalIcon':_0x5b520d})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x350))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'BottomIcon':_0x414477})),this[_0x179942(0x378)]['has']('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x561e77})),this['_iconManager']['has']('MoveUpIcon')||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'MoveUpIcon':_0x37f265})),this[_0x179942(0x378)][_0x179942(0x1d7)]('ShapeFormatSettingIcon')||this[_0x179942(0x47f)](this['_iconManager'][_0x179942(0x529)]({'ShapeFormatSettingIcon':_0x2534bb})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x51f))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'TopmostIcon':_0x209146}));}[_0x13ba7a(0x555)](){const _0x1335b6=_0x13ba7a;this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x6fddbc,_0x1718cc)),this['disposeWithMe'](this['_componentManager']['register'](_0x4dafcd,_0x339519)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0xb1d681,_0x3f0386)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x993061,_0x544130)),this[_0x1335b6(0x23e)][_0x1335b6(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x2a7f32[_0x1335b6(0x303)],_0x88ad35)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0x42484a,_0x257027)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x5c3e05,_0x1024f0)),this['disposeWithMe'](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x3084b1,_0x23f7be)),this['disposeWithMe'](this['_componentManager'][_0x1335b6(0x529)](_0x41bd5b,_0x3e9412)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x26103a,_0x184a26)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x41bb10,_0xba932b[_0x1335b6(0x410)])),this[_0x1335b6(0x47f)](this['_componentManager']['register'](_0x1335b6(0x521),_0x576a99));}};_0xd91588=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0xd91588);let _0x2eec39=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x12a005,_0x16859d,_0x4eeb6d,_0x279e0d,_0x4337ff,_0xcc5dcb,_0x55602d,_0xba1425,_0x2c6430){const _0x3bc3e3=_0x13ba7a;super();let _0x535fa8=_0x5d1644=>{const _0x4427c5=_0x2e4e;var _0x31cf7c,_0x21db03;return(((_0x31cf7c=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x4f9))](_0x5d1644[_0x4427c5(0x26e)])['id']))==null?void 0x0:_0x31cf7c['value'])??!0x0)&&(((_0x21db03=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x1f2))](_0x5d1644[_0x4427c5(0x26e)],_0x5d1644['subUnitId'])['id']))==null?void 0x0:_0x21db03['value'])??!0x0);},_0x861c43=_0x1274fc=>_0x1274fc['shapeId']&&_0x535fa8(_0x1274fc)?_0x4eeb6d[_0x3bc3e3(0x204)](_0x1274fc['unitId'],_0x1274fc[_0x3bc3e3(0x354)],_0x1274fc['shapeId'])??null:null,_0x2358e5=()=>{const _0x100b44=_0x3bc3e3;let _0x356298=_0x4337ff['getFocusDrawings'](),_0x352587=_0x356298[_0x100b44(0x45b)]===0x1?_0x356298[0x0]:null;return(_0x352587==null?void 0x0:_0x352587[_0x100b44(0x52e)])===_0x10e5f9[_0x100b44(0x2e1)]['DRAWING_SHAPE']&&_0x352587['unitId']===_0x12a005[_0x100b44(0x26e)]?{'unitId':_0x352587['unitId'],'subUnitId':_0x352587['subUnitId'],'shapeId':_0x352587['drawingId']}:null;};this[_0x3bc3e3(0x47f)]((0x0,_0xba932b[_0x3bc3e3(0x565)])(_0x12a005,_0x16859d,{'changes$':(0x0,_0x364ff4['merge'])(_0x4337ff[_0x3bc3e3(0x332)],_0x279e0d['editingParams$'],_0xba1425[_0x3bc3e3(0x541)]),'isActive':()=>{const _0x380696=_0x3bc3e3;var _0x3f401e;return((_0x3f401e=_0xcc5dcb[_0x380696(0x2bc)]())==null?void 0x0:_0x3f401e[_0x380696(0x3ff)]())===_0x12a005[_0x380696(0x26e)]&&!_0x55602d[_0x380696(0x587)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x4337ff[_0x380696(0x1da)]()[_0x380696(0x301)](_0x1c939c=>_0x1c939c[_0x380696(0x26e)]===_0x12a005[_0x380696(0x26e)]);},'getSelectedTarget':_0x2358e5,'getSource':()=>{let _0x35b1ee=_0x2358e5();return _0x35b1ee?_0x861c43(_0x35b1ee):null;},'getTarget':_0xd908c5=>{const _0x209da0=_0x3bc3e3;let _0x1e64e8=_0x12a005['scene'][_0x209da0(0x3c0)](new _0x3458ba['Vector2'](_0xd908c5['offsetX'],_0xd908c5[_0x209da0(0x23b)]));if(!(_0x1e64e8 instanceof _0x402866))return null;let _0x3ee63e={'unitId':_0x12a005[_0x209da0(0x26e)],'subUnitId':_0x1e64e8[_0x209da0(0x354)],'shapeId':_0x1e64e8['shapeId']};return _0x535fa8(_0x3ee63e)?_0x3ee63e:null;},'getShape':_0x861c43,'update':(_0x53c280,_0x5b2d2b,_0x58f1ec)=>_0x2c6430['executeCommand'](_0x6c1302['id'],{..._0x53c280,'shapeData':_0x58f1ec,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5b2d2b}})}));}};_0x2eec39=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x45a)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x4,_0x15864b['IDrawingManagerService']),_0x174396(0x5,_0x10e5f9['IUniverInstanceService']),_0x174396(0x6,_0x10e5f9['IContextService']),_0x174396(0x7,_0x10e5f9[_0x13ba7a(0x509)]),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x297)])],_0x2eec39);let _0x44ebdd=_0x13ba7a(0x34d),_0x1aaf55=class extends _0x10e5f9['Disposable']{constructor(_0x4a89c0,_0x3f6df5,_0x310aa4,_0x512a7c,_0x3d4941,_0x5d8252){const _0xc0328b=_0x13ba7a;super(),this[_0xc0328b(0x52d)]=_0x4a89c0,this[_0xc0328b(0x473)]=_0x3f6df5,this[_0xc0328b(0x3c5)]=_0x310aa4,this[_0xc0328b(0x583)]=_0x512a7c,this[_0xc0328b(0x2e2)]=_0x3d4941,this['_shapeFloatingToolbarService']=_0x5d8252,_0x5ae661(this,_0xc0328b(0x3b7),!0x1),this[_0xc0328b(0x52d)][_0xc0328b(0x1d8)](_0x136219),this['disposeWithMe']((0x0,_0x10e5f9['toDisposable'])(this[_0xc0328b(0x3c5)][_0xc0328b(0x332)]['subscribe'](()=>this[_0xc0328b(0x1db)]()))),this[_0xc0328b(0x1db)]();}[_0x13ba7a(0x206)](){const _0x55e246=_0x13ba7a;this['_shapeFloatingToolbarService'][_0x55e246(0x1ec)](!0x1,_0x44ebdd),this[_0x55e246(0x2f0)](),super['dispose']();}[_0x13ba7a(0x1db)](){const _0x488eb8=_0x13ba7a;var _0x344c02;let _0xaf6a54=this[_0x488eb8(0x3c5)][_0x488eb8(0x1da)](),_0x22f60c=_0xaf6a54[_0x488eb8(0x45b)]===0x1?_0xaf6a54[0x0]:void 0x0;if((_0x22f60c==null?void 0x0:_0x22f60c['drawingType'])!==_0x10e5f9[_0x488eb8(0x2e1)]['DRAWING_SHAPE']||this[_0x488eb8(0x583)]['getUnitType'](_0x22f60c[_0x488eb8(0x26e)])!==_0x10e5f9['UniverInstanceType'][_0x488eb8(0x450)]){this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](!0x1,_0x44ebdd),this[_0x488eb8(0x2f0)]();return;}let _0x4e5742=(_0x344c02=this[_0x488eb8(0x2e2)]['getRenderUnitById'](_0x22f60c[_0x488eb8(0x26e)]))==null?void 0x0:_0x344c02[_0x488eb8(0x590)][_0x488eb8(0x423)](),_0x33f5c9=(0x0,_0xba932b[_0x488eb8(0x53d)])(_0x4e5742)===_0x488eb8(0x4de);if(this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](_0x33f5c9,_0x44ebdd),_0x33f5c9){this[_0x488eb8(0x2f0)]();return;}this[_0x488eb8(0x3b7)]||(this[_0x488eb8(0x3b7)]=!0x0,this[_0x488eb8(0x473)][_0x488eb8(0x46a)](_0x523b08,{'activate':!0x0}));}[_0x13ba7a(0x2f0)](){const _0x42ad6b=_0x13ba7a;this[_0x42ad6b(0x3b7)]&&(this[_0x42ad6b(0x3b7)]=!0x1,this['_ribbonService'][_0x42ad6b(0x3a1)](_0x523b08),this[_0x42ad6b(0x473)]['setCollapsedIds']([]));}};_0x1aaf55=_0x12f75a([_0x174396(0x0,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x1,_0x187e10['IRibbonService']),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0xba932b[_0x13ba7a(0x1e2)]))],_0x1aaf55);let _0x402c67=class extends _0xba932b['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3){super(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3,{'componentKey':_0x41bb10,'editorUnitId':_0x28b28e});}};_0x402c67=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x1ac066[_0x13ba7a(0x49b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd[_0x13ba7a(0x414)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4ff)])),_0x174396(0x4,_0x10e5f9['ICommandService']),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd['DocEventManagerService'])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0xba932b['ShapeTextHyperLinkPopupService'])),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x1ac066[_0x13ba7a(0x595)])),_0x174396(0x8,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4b1)])),_0x174396(0x9,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x402c67);let _0x110f72=class extends _0xba932b[_0x13ba7a(0x367)]{constructor(_0x41adc9,_0x206baa,_0x412ee7,_0x4d3500,_0x422eb1){const _0x16b7a3=_0x13ba7a;super(_0x41adc9,_0x206baa,{'editing$':_0x412ee7[_0x16b7a3(0x4c6)],'resolve':_0x20bee6=>{const _0x9978b0=_0x16b7a3;var _0x226c3a,_0x270461,_0x57fb99;let _0x3ad835=new _0x3458ba[(_0x9978b0(0x265))](_0x20bee6['offsetX'],_0x20bee6[_0x9978b0(0x23b)]),_0x3bea75=((_0x226c3a=_0x41adc9[_0x9978b0(0x2a7)]['getActiveViewportByCoord'](_0x3ad835))==null?void 0x0:_0x226c3a[_0x9978b0(0x514)](_0x3ad835))??_0x3ad835,_0x3115b4=(0x0,_0xba932b[_0x9978b0(0x428)])(_0x41adc9[_0x9978b0(0x2a7)][_0x9978b0(0x3c0)](_0x3ad835)??null,_0x3bea75);if(!(_0x3115b4 instanceof _0x402866))return null;let _0x4f2c6b=_0x3115b4[_0x9978b0(0x3b4)](_0x3bea75);if(!_0x4f2c6b)return null;let _0x1ee218=_0x3115b4,_0x2d29a2={'componentKey':_0xba932b[_0x9978b0(0x44a)]['componentKey'],'direction':_0x9978b0(0x42d),'offset':[0x0,0xa],'onClickOutside':()=>_0x206baa['hideInfoPopup']()};return{'object':_0x3115b4,'info':{..._0x4f2c6b,'unitId':_0x3115b4[_0x9978b0(0x26e)],'subUnitId':_0x3115b4[_0x9978b0(0x354)],'shapeKey':_0x3115b4['oKey'],'readonly':!0x0,'copyable':((_0x270461=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x1be))](_0x3115b4[_0x9978b0(0x26e)])['id']))==null?void 0x0:_0x270461[_0x9978b0(0x472)])!==!0x1&&((_0x57fb99=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x44e))](_0x3115b4[_0x9978b0(0x26e)],_0x3115b4['subUnitId'])['id']))==null?void 0x0:_0x57fb99[_0x9978b0(0x472)])!==!0x1},'attachPopup':()=>_0x4d3500['attachPopupToObject'](_0x1ee218,_0x2d29a2)};}}),this['disposeWithMe'](_0x41adc9[_0x16b7a3(0x52f)][_0x16b7a3(0x259)][_0x16b7a3(0x358)](()=>this['clear']()));}};_0x110f72=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0xba932b[_0x13ba7a(0x28b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3['SheetCanvasPopManagerService'])),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x509)])],_0x110f72);let _0x1bb23d=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x138e53,_0xdd13bc,_0x4ec6a9,_0x162e8c,_0x58a2e9,_0x6fab,_0xefc4,_0x13beb2,_0x257cb2,_0x42e666,_0x1f5774){const _0x3e9be6=_0x13ba7a;super(),this[_0x3e9be6(0x583)]=_0x138e53,this['_sidebarService']=_0xdd13bc,this[_0x3e9be6(0x52d)]=_0x4ec6a9,this[_0x3e9be6(0x56c)]=_0x162e8c,this[_0x3e9be6(0x31e)]=_0x58a2e9,this[_0x3e9be6(0x558)]=_0x6fab,this[_0x3e9be6(0x3c5)]=_0xefc4,this[_0x3e9be6(0x372)]=_0x13beb2,this[_0x3e9be6(0x39b)]=_0x257cb2,this[_0x3e9be6(0x2e2)]=_0x42e666,this[_0x3e9be6(0x205)]=_0x1f5774,_0x5ae661(this,_0x3e9be6(0x4c1),null),_0x5ae661(this,'_activeShapeInfo',null),_0x5ae661(this,'_isOpenedShapeEditPanel',!0x1),_0x5ae661(this,_0x3e9be6(0x568),0x0),_0x5ae661(this,'_shapePopupMenuDisposable',null),_0x5ae661(this,_0x3e9be6(0x500),[]),this[_0x3e9be6(0x19d)](),this[_0x3e9be6(0x47f)](this[_0x3e9be6(0x583)][_0x3e9be6(0x3d3)](_0x10e5f9[_0x3e9be6(0x503)][_0x3e9be6(0x450)])[_0x3e9be6(0x358)](_0x19b8b9=>{const _0x857919=_0x3e9be6;if(!_0x19b8b9){var _0xf1d687;(_0xf1d687=this[_0x857919(0x4c1)])==null||_0xf1d687[_0x857919(0x206)]();}})),this[_0x3e9be6(0x1bb)](),this[_0x3e9be6(0x2e3)](),this['disposeWithMe'](this[_0x3e9be6(0x205)][_0x3e9be6(0x4c6)][_0x3e9be6(0x358)](_0x1e55a8=>{const _0x2d2021=_0x3e9be6;_0x1e55a8&&this[_0x2d2021(0x221)]();}));}[_0x13ba7a(0x19d)](){const _0x297d2f=_0x13ba7a;this[_0x297d2f(0x52d)][_0x297d2f(0x1d8)](_0x713457);}['initShapePopupMenu'](){const _0x2f2a31=_0x13ba7a;this[_0x2f2a31(0x1e0)]||=this[_0x2f2a31(0x47f)]((0x0,_0xba932b[_0x2f2a31(0x258)])(this[_0x2f2a31(0x2e2)],_0x10e5f9[_0x2f2a31(0x503)][_0x2f2a31(0x450)],_0x3a831c=>this[_0x2f2a31(0x201)](_0x3a831c)));}[_0x13ba7a(0x21f)](_0x797fe0,_0x459d4f,_0x1bf273){const _0x28ab6e=_0x13ba7a;let _0xba5fc2=this[_0x28ab6e(0x56c)][_0x28ab6e(0x42b)](_0x797fe0,_0x459d4f,_0x1bf273),_0x562d91=this[_0x28ab6e(0x56c)][_0x28ab6e(0x204)](_0x797fe0,_0x459d4f,_0x1bf273);return _0xba5fc2!==void 0x0&&_0x562d91!==void 0x0?{'shapeData':_0x562d91,'shapeId':_0x1bf273,'shapeType':_0xba5fc2,'unitId':_0x797fe0,'subUnitId':_0x459d4f,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x13ba7a(0x221)](){const _0x369d2e=_0x13ba7a;this[_0x369d2e(0x500)][_0x369d2e(0x34a)](_0x3d99b8=>_0x3d99b8['dispose']()),this['_disposePopups'][_0x369d2e(0x45b)]=0x0;}['_popupMenuListener'](_0xc483c3){const _0x3ee16e=_0x13ba7a;let _0x7bfb72=new _0x10e5f9[(_0x3ee16e(0x497))]();return _0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x517)][_0x3ee16e(0x358)](()=>{const _0x33312d=_0x3ee16e;let _0x4fe677=_0xc483c3['getSelectedObjectMap']();if(this['_clearPopups'](),this[_0x33312d(0x3a2)]||_0x4fe677[_0x33312d(0x3ba)]>0x1)return;let _0x597945=_0x4fe677[_0x33312d(0x1cb)]()[_0x33312d(0x475)]()[_0x33312d(0x472)];if(!_0x597945)return;let _0x581498=this[_0x33312d(0x3c5)][_0x33312d(0x209)](_0x597945['oKey']);if(!_0x581498||_0x581498[_0x33312d(0x52e)]!==_0x10e5f9[_0x33312d(0x2e1)]['DRAWING_SHAPE'])return;let {unitId:_0x3de0ef,subUnitId:_0x261089,drawingId:_0x541b72,drawingType:_0x15a57f}=_0x581498,_0x1ee738=this[_0x33312d(0x21f)](_0x3de0ef,_0x261089,_0x541b72);if(!_0x1ee738)return;this[_0x33312d(0x39b)][_0x33312d(0x1a1)](_0x10e5f9[_0x33312d(0x2f4)],!0x0);let _0x1fb45f=this[_0x33312d(0x2e2)][_0x33312d(0x57f)](_0x3de0ef),_0x28accc=((_0x1fb45f==null?void 0x0:_0x1fb45f[_0x33312d(0x300)])===!0x1?_0x1fb45f[_0x33312d(0x39e)](_0x189be3[_0x33312d(0x53a)]):this['_sheetCanvasPopManagerService'])[_0x33312d(0x2ee)](_0x597945,{'componentKey':_0x42484a,'direction':_0x33312d(0x4e4),'offset':[0x0,_0xba932b[_0x33312d(0x538)]],'extraProps':{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72,'drawingType':_0x15a57f,'shapeType':_0x1ee738['shapeType'],'shapeData':_0x1ee738[_0x33312d(0x429)]}});this[_0x33312d(0x500)][_0x33312d(0x1b2)](this[_0x33312d(0x47f)](_0x28accc)),this[_0x33312d(0x3c5)][_0x33312d(0x1da)]()[_0x33312d(0x298)](_0x11f152=>_0x11f152[_0x33312d(0x26e)]===_0x3de0ef&&_0x11f152['subUnitId']===_0x261089&&_0x11f152[_0x33312d(0x272)]===_0x541b72)||this[_0x33312d(0x3c5)][_0x33312d(0x3f9)]([{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72}]);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x1bf)]['subscribe'](()=>{const _0x5e2426=_0x3ee16e;this[_0x5e2426(0x221)](),this['_contextService'][_0x5e2426(0x1a1)](_0x10e5f9[_0x5e2426(0x2f4)],!0x1),this[_0x5e2426(0x3c5)]['focusDrawing'](null);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x42f)][_0x3ee16e(0x358)](()=>{const _0x261687=_0x3ee16e;this[_0x261687(0x221)]();})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x202)][_0x3ee16e(0x358)](()=>{this['_clearPopups']();})),(0x0,_0x10e5f9[_0x3ee16e(0x576)])(()=>{const _0x528e76=_0x3ee16e;_0x7bfb72[_0x528e76(0x206)](),this[_0x528e76(0x221)]();});}[_0x13ba7a(0x1bb)](){const _0x4cd9e0=_0x13ba7a;this[_0x4cd9e0(0x47f)](this[_0x4cd9e0(0x558)]['onCommandExecuted'](_0x4e8c35=>{const _0x1a6b5b=_0x4cd9e0;if(_0x4e8c35['id']===_0x47ad5b['id']){let {unitId:_0xd9ed2e,subUnitId:_0x3dd5d6,drawingId:_0x35e7fd}=_0x4e8c35[_0x1a6b5b(0x352)];this[_0x1a6b5b(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x1a6b5b(0x21f)](_0xd9ed2e,_0x3dd5d6,_0x35e7fd),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x4e8c35['id']===_0x53d33a['id']&&(this[_0x1a6b5b(0x25b)]=null,this[_0x1a6b5b(0x545)]()),_0x4e8c35['id']===_0x2f2bb5[_0x1a6b5b(0x479)]['id']){let {unitId:_0x6d8ce1,subUnitId:_0x606fff,shapeId:_0x4e7d02}=_0x4e8c35[_0x1a6b5b(0x352)];if(this[_0x1a6b5b(0x25b)]&&this[_0x1a6b5b(0x25b)][_0x1a6b5b(0x42a)]===_0x4e7d02){let _0xab840f=this[_0x1a6b5b(0x21f)](_0x6d8ce1,_0x606fff,_0x4e7d02);_0xab840f&&(this[_0x1a6b5b(0x568)]+=0x1,_0xab840f[_0x1a6b5b(0x33a)]=this[_0x1a6b5b(0x568)],this[_0x1a6b5b(0x25b)]=_0xab840f,this['_isOpenedShapeEditPanel']&&this[_0x1a6b5b(0x50f)]());}}})),this['disposeWithMe'](this[_0x4cd9e0(0x3c5)][_0x4cd9e0(0x332)][_0x4cd9e0(0x358)](_0x73b724=>{const _0x3ee9c1=_0x4cd9e0;if(this[_0x3ee9c1(0x3a2)]===!0x1)return;if(_0x73b724[_0x3ee9c1(0x45b)]===0x0){this[_0x3ee9c1(0x25b)]=null,this[_0x3ee9c1(0x545)]();return;}if(_0x73b724[_0x3ee9c1(0x45b)]===0x1&&_0x73b724[0x0]['drawingType']===_0x10e5f9[_0x3ee9c1(0x2e1)][_0x3ee9c1(0x20d)]&&(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x3ee9c1(0x21f)](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this[_0x3ee9c1(0x25b)])){this[_0x3ee9c1(0x50f)]();return;}let _0x58e0dd=_0x73b724[_0x3ee9c1(0x435)](_0x444c70=>_0x444c70[_0x3ee9c1(0x52e)]===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x73b724[_0x3ee9c1(0x45b)]>0x1&&_0x58e0dd['length']===_0x73b724[_0x3ee9c1(0x45b)]){if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this['_activeShapeInfo']){this[_0x3ee9c1(0x50f)]();return;}}else{if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0]['drawingId']),this[_0x3ee9c1(0x25b)]){this[_0x3ee9c1(0x25b)][_0x3ee9c1(0x3f6)]=!0x0,this['_openShapeEditPanel']();return;}}this['_closeShapeEditPanel']();}));}[_0x13ba7a(0x50f)](){const _0x3ca4a7=_0x13ba7a;this['_activeShapeInfo']&&(this[_0x3ca4a7(0x4c1)]=this['_sidebarService'][_0x3ca4a7(0x269)]({'id':_0x6fddbc,'header':{'title':this['_localeService']['t'](_0x3ca4a7(0x344))},'width':0x184,'children':{'label':_0x6fddbc,...this[_0x3ca4a7(0x25b)]},'onClose':()=>{const _0x3de66d=_0x3ca4a7;this[_0x3de66d(0x3c5)][_0x3de66d(0x3f9)](null),this[_0x3de66d(0x39b)][_0x3de66d(0x1a1)](_0x10e5f9[_0x3de66d(0x2f4)],!0x1),this[_0x3de66d(0x4c1)]=null;}}),this[_0x3ca4a7(0x3a2)]=!0x0);}['_closeShapeEditPanel'](){const _0x17ef0f=_0x13ba7a;this[_0x17ef0f(0x3a2)]=!0x1,this[_0x17ef0f(0x3e8)][_0x17ef0f(0x30a)](_0x6fddbc),this[_0x17ef0f(0x4c1)]=null,this['_contextService'][_0x17ef0f(0x1a1)](_0x10e5f9[_0x17ef0f(0x2f4)],!0x1),this[_0x17ef0f(0x3c5)][_0x17ef0f(0x3f9)](null);}};_0x1bb23d=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x546)])),_0x174396(0x2,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9['LocaleService'])),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x6,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x9,_0x3458ba['IRenderManagerService']),_0x174396(0xa,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x1bb23d);let _0x2fab71=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x579f13=_0x26e934,_0x561406,_0x1b3d69,_0x17b5e8,_0x39da24){const _0x1d3c7d=_0x13ba7a;super(),this[_0x1d3c7d(0x20f)]=_0x579f13,this[_0x1d3c7d(0x58c)]=_0x561406,this[_0x1d3c7d(0x558)]=_0x1b3d69,this[_0x1d3c7d(0x1e9)]=_0x17b5e8,this[_0x1d3c7d(0x2e2)]=_0x39da24;let {..._0x4eaaea}=(0x0,_0x10e5f9[_0x1d3c7d(0x445)])({},_0x26e934,this[_0x1d3c7d(0x20f)]);this[_0x1d3c7d(0x1e9)][_0x1d3c7d(0x3b3)](_0x56997c,_0x4eaaea),this[_0x1d3c7d(0x4cb)]();}[_0x13ba7a(0x43b)](){const _0x289584=_0x13ba7a;this['_renderManagerService']['registerRenderModule'](_0x10e5f9['UniverInstanceType'][_0x289584(0x426)],[_0x402c67]),(0x0,_0x10e5f9[_0x289584(0x2d7)])(this[_0x289584(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c]]);}[_0x13ba7a(0x4ec)](){const _0x258cd4=_0x13ba7a;this[_0x258cd4(0x58c)]['get'](_0x1bb23d)['initShapePopupMenu']();}['onReady'](){const _0x27fc87=_0x13ba7a;[[_0x4d5792],[_0x5507d6],[_0x32e137]][_0x27fc87(0x34a)](_0x4db7e5=>this['_injector'][_0x27fc87(0x278)](_0x4db7e5)),(0x0,_0x10e5f9[_0x27fc87(0x2d7)])(this[_0x27fc87(0x58c)],[[_0x32e137],[_0x5507d6]]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x4d5792]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x9f7a3e]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x191a85]),this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0xa4311e]),this[_0x27fc87(0x47f)](this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x110f72])),this['disposeWithMe'](this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0x2eec39]));}[_0x13ba7a(0x286)](){const _0x1b875f=_0x13ba7a;this['_injector'][_0x1b875f(0x278)]([_0xd91588]),this['_injector'][_0x1b875f(0x468)](_0xd91588);let _0x47c059=this[_0x1b875f(0x58c)];[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]][_0x1b875f(0x34a)](_0x475029=>_0x47c059[_0x1b875f(0x278)](_0x475029)),(0x0,_0x10e5f9[_0x1b875f(0x2d7)])(this[_0x1b875f(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]]);}[_0x13ba7a(0x4cb)](){const _0x5ba9ef=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x53d33a,_0x47ad5b,_0x3a0e82,_0x34de34,_0x25693e,_0x18da86]['forEach'](_0xb0b245=>this[_0x5ba9ef(0x47f)](this[_0x5ba9ef(0x558)][_0x5ba9ef(0x424)](_0xb0b245)));}};_0x5ae661(_0x2fab71,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x2fab71,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x2fab71,'packageName',_0x3e9d67),_0x5ae661(_0x2fab71,'version',_0x4f17df),_0x2fab71=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066[_0x13ba7a(0x577)],_0x15864b[_0x13ba7a(0x273)],_0x2a7f32[_0x13ba7a(0x46e)],_0x3458ba['UniverRenderEnginePlugin'],_0x32abfe[_0x13ba7a(0x401)],_0x31aefd['UniverDocsUIPlugin'],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9['UniverSheetsDrawingUIPlugin'],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x280)],_0xba932b['UniverShapeEditorUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x3cd)]),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x2fab71),_0x4a6de9[_0x13ba7a(0x4e3)]=_0x136219,_0x4a6de9[_0x13ba7a(0x2f9)]=_0x713457,Object[_0x13ba7a(0x4d8)](_0x4a6de9,_0x13ba7a(0x23f),{'enumerable':!0x0,'get':function(){return _0x39f9ab;}}),Object[_0x13ba7a(0x4d8)](_0x4a6de9,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x2fab71;}});}));
|