@univerjs-pro/sheets-shape 0.20.0 → 0.20.1

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1b3b(_0x46a8ab,_0xff6081){_0x46a8ab=_0x46a8ab-0xd8;const _0x1bf75c=_0x1bf7();let _0x1b3bcf=_0x1bf75c[_0x46a8ab];return _0x1b3bcf;}(function(_0x46ab29,_0x3764db){const _0xd01c91=_0x1b3b,_0x18cdbd=_0x46ab29();while(!![]){try{const _0x81618c=parseInt(_0xd01c91(0x18b))/0x1*(-parseInt(_0xd01c91(0x162))/0x2)+-parseInt(_0xd01c91(0x13c))/0x3+-parseInt(_0xd01c91(0x13a))/0x4+-parseInt(_0xd01c91(0xf6))/0x5+parseInt(_0xd01c91(0x140))/0x6*(-parseInt(_0xd01c91(0x186))/0x7)+parseInt(_0xd01c91(0x103))/0x8+-parseInt(_0xd01c91(0xf2))/0x9*(-parseInt(_0xd01c91(0x151))/0xa);if(_0x81618c===_0x3764db)break;else _0x18cdbd['push'](_0x18cdbd['shift']());}catch(_0xebfb6a){_0x18cdbd['push'](_0x18cdbd['shift']());}}}(_0x1bf7,0xac77b),function(_0x270384,_0x325b5e){const _0x302a58=_0x1b3b;typeof exports==_0x302a58(0xe7)&&typeof module<'u'?_0x325b5e(exports,require(`@univerjs-pro/engine-shape`),require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs/sheets-drawing`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define==_0x302a58(0x123)&&define['amd']?define([_0x302a58(0x1a7),'@univerjs-pro/engine-shape',_0x302a58(0x120),_0x302a58(0x14d),_0x302a58(0xf8),'@univerjs-pro/license',_0x302a58(0x19f)],_0x325b5e):(_0x270384=typeof globalThis<'u'?globalThis:_0x270384||self,_0x325b5e(_0x270384[_0x302a58(0x137)]={},_0x270384['UniverProEngineShape'],_0x270384[_0x302a58(0x133)],_0x270384[_0x302a58(0x154)],_0x270384[_0x302a58(0xe6)],_0x270384[_0x302a58(0x1ac)],_0x270384[_0x302a58(0x138)]));}(this,function(_0x41c456,_0x530db4,_0xfb4ab,_0xec1f4e,_0x517876,_0x5010b3,_0x3402d7){const _0x465f7e=_0x1b3b;Object[_0x465f7e(0x117)](_0x41c456,Symbol[_0x465f7e(0x11a)],{'value':_0x465f7e(0x150)});function _0x16ea86(_0x2c0001){'@babel/helpers - typeof';const _0x12745e=_0x465f7e;return _0x16ea86=typeof Symbol==_0x12745e(0x123)&&typeof Symbol['iterator']==_0x12745e(0x12f)?function(_0xd50999){return typeof _0xd50999;}:function(_0x573986){const _0x48e7a7=_0x12745e;return _0x573986&&typeof Symbol=='function'&&_0x573986[_0x48e7a7(0x109)]===Symbol&&_0x573986!==Symbol[_0x48e7a7(0x143)]?_0x48e7a7(0x12f):typeof _0x573986;},_0x16ea86(_0x2c0001);}function _0x14ba61(_0x20412b,_0xee9c7d){const _0x5a5ffa=_0x465f7e;if(_0x16ea86(_0x20412b)!=_0x5a5ffa(0xe7)||!_0x20412b)return _0x20412b;var _0x2efc66=_0x20412b[Symbol[_0x5a5ffa(0x110)]];if(_0x2efc66!==void 0x0){var _0x1ec50b=_0x2efc66[_0x5a5ffa(0x193)](_0x20412b,_0xee9c7d||'default');if(_0x16ea86(_0x1ec50b)!=_0x5a5ffa(0xe7))return _0x1ec50b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xee9c7d===_0x5a5ffa(0x179)?String:Number)(_0x20412b);}function _0x5017d5(_0x2fc325){const _0x149abb=_0x465f7e;var _0xe8d7d6=_0x14ba61(_0x2fc325,_0x149abb(0x179));return _0x16ea86(_0xe8d7d6)==_0x149abb(0x12f)?_0xe8d7d6:_0xe8d7d6+'';}function _0x4e862d(_0x1b6ca7,_0x306bbe,_0x3065eb){const _0x4354bd=_0x465f7e;return(_0x306bbe=_0x5017d5(_0x306bbe))in _0x1b6ca7?Object[_0x4354bd(0x117)](_0x1b6ca7,_0x306bbe,{'value':_0x3065eb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1b6ca7[_0x306bbe]=_0x3065eb,_0x1b6ca7;}var _0x4e5860=class extends _0xfb4ab[_0x465f7e(0x182)]{constructor(){const _0x4587b5=_0x465f7e;super(),_0x4e862d(this,_0x4587b5(0xfe),new Map()),_0x4e862d(this,_0x4587b5(0x189),new Set()),_0x4e862d(this,'_groupIds',new Set());}[_0x465f7e(0x102)](_0x2d7427,_0x37d7b5,_0x2a906d){const _0xb67f3=_0x465f7e;let _0xe34cae=new _0x530db4[(_0xb67f3(0x107))](_0x2d7427,_0x37d7b5,_0x2a906d);return this['_shapes'][_0xb67f3(0x113)](_0x37d7b5,_0xe34cae),(0x0,_0x530db4[_0xb67f3(0x1a0)])(_0x2d7427)&&this[_0xb67f3(0x189)][_0xb67f3(0x19a)](_0x37d7b5),_0xe34cae;}[_0x465f7e(0x130)](_0x36582b){const _0x48ac9a=_0x465f7e;let _0x1a05ad=[];for(let _0x43cd4c of this[_0x48ac9a(0x189)]){let _0x7bb056=this[_0x48ac9a(0xfe)][_0x48ac9a(0x1aa)](_0x43cd4c);if(_0x7bb056){let _0x4db335=_0x7bb056[_0x48ac9a(0x100)]();if(_0x4db335){var _0x3f4a17,_0x2d6578;((_0x3f4a17=_0x4db335['from'])==null?void 0x0:_0x3f4a17[_0x48ac9a(0x175)])===_0x36582b&&_0x1a05ad[_0x48ac9a(0xe3)]({..._0x4db335[_0x48ac9a(0x128)],'lineShapeId':_0x43cd4c,'isFrom':!0x0}),((_0x2d6578=_0x4db335['to'])==null?void 0x0:_0x2d6578[_0x48ac9a(0x175)])===_0x36582b&&_0x1a05ad['push']({..._0x4db335['to'],'lineShapeId':_0x43cd4c,'isFrom':!0x1});}}}return _0x1a05ad;}[_0x465f7e(0x149)](_0x4dd681){const _0x3b4765=_0x465f7e;let _0x4e1de1=this['_shapes'][_0x3b4765(0x1aa)](_0x4dd681);if(_0x4e1de1)return _0x4e1de1[_0x3b4765(0x100)]();}['getShapeType'](_0x338340){const _0x5b523e=_0x465f7e;let _0x22f866=this[_0x5b523e(0xfe)][_0x5b523e(0x1aa)](_0x338340);if(_0x22f866)return _0x22f866[_0x5b523e(0x181)]();}['hasShape'](_0xba73ea){const _0x295e24=_0x465f7e;return this['_shapes'][_0x295e24(0x10c)](_0xba73ea);}[_0x465f7e(0x19d)](_0x3cc2a5){const _0x464ab8=_0x465f7e;let _0x37227f=this[_0x464ab8(0xfe)][_0x464ab8(0x1aa)](_0x3cc2a5);_0x37227f&&((0x0,_0x530db4['isConnectorShape'])(_0x37227f[_0x464ab8(0x181)]())&&this[_0x464ab8(0x189)][_0x464ab8(0x129)](_0x3cc2a5),this[_0x464ab8(0xfe)][_0x464ab8(0x129)](_0x3cc2a5));}['toJSON'](){const _0x12d460=_0x465f7e;let _0x3c1ee1=[];return this[_0x12d460(0xfe)][_0x12d460(0x17d)](_0x1f66b4=>{const _0x1647b8=_0x12d460;_0x3c1ee1[_0x1647b8(0xe3)](_0x1f66b4[_0x1647b8(0x16a)]());}),_0x3c1ee1;}[_0x465f7e(0x165)](_0xbbd69e){const _0x3700ef=_0x465f7e;for(let _0x409022 of _0xbbd69e){let {id:_0x47a3b6,shapeType:_0x4af303}=_0x409022,_0x43639f=this['addShape'](_0x4af303,_0x47a3b6,_0x409022[_0x3700ef(0xf7)]);_0x43639f&&_0x43639f[_0x3700ef(0x10a)]()&&this['_linesIds'][_0x3700ef(0x19a)](_0x47a3b6);}}[_0x465f7e(0x16e)](){const _0x54022d=_0x465f7e;this[_0x54022d(0x197)]||(this['_shapes']['forEach'](_0x23e63a=>{const _0xca25b1=_0x54022d;_0x23e63a[_0xca25b1(0x16e)]();}),this[_0x54022d(0xfe)][_0x54022d(0x1a9)](),this['_linesIds'][_0x54022d(0x1a9)](),this['_groupIds'][_0x54022d(0x1a9)](),super[_0x54022d(0x16e)]());}};function _0x4be714(_0x2701a1,_0x31ff72){return function(_0xfbe1ed,_0x427b97){_0x31ff72(_0xfbe1ed,_0x427b97,_0x2701a1);};}function _0x25c294(_0x19f3b7,_0x455ada,_0x178199,_0x5bb75f){const _0x662e70=_0x465f7e;var _0x36fe43=arguments['length'],_0x34e137=_0x36fe43<0x3?_0x455ada:_0x5bb75f===null?_0x5bb75f=Object['getOwnPropertyDescriptor'](_0x455ada,_0x178199):_0x5bb75f,_0xb17036;if(typeof Reflect==_0x662e70(0xe7)&&typeof Reflect[_0x662e70(0x11d)]==_0x662e70(0x123))_0x34e137=Reflect['decorate'](_0x19f3b7,_0x455ada,_0x178199,_0x5bb75f);else{for(var _0x31d587=_0x19f3b7['length']-0x1;_0x31d587>=0x0;_0x31d587--)(_0xb17036=_0x19f3b7[_0x31d587])&&(_0x34e137=(_0x36fe43<0x3?_0xb17036(_0x34e137):_0x36fe43>0x3?_0xb17036(_0x455ada,_0x178199,_0x34e137):_0xb17036(_0x455ada,_0x178199))||_0x34e137);}return _0x36fe43>0x3&&_0x34e137&&Object[_0x662e70(0x117)](_0x455ada,_0x178199,_0x34e137),_0x34e137;}let _0x4819b3=class extends _0xfb4ab[_0x465f7e(0x182)]{constructor(_0x2491b8){const _0x2a34d2=_0x465f7e;super(),this[_0x2a34d2(0x18a)]=_0x2491b8,_0x4e862d(this,_0x2a34d2(0xfd),new Map()),this['_initSnapshot']();}['_ensureShapeModelManager'](_0x1c757e,_0x3b6806){const _0x3a5b6c=_0x465f7e;let _0x4f1547=this[_0x3a5b6c(0xfd)][_0x3a5b6c(0x1aa)](_0x1c757e);_0x4f1547||(_0x4f1547=new Map(),this[_0x3a5b6c(0xfd)][_0x3a5b6c(0x113)](_0x1c757e,_0x4f1547));let _0x3e8b2c=_0x4f1547[_0x3a5b6c(0x1aa)](_0x3b6806);return _0x3e8b2c||(_0x3e8b2c=new _0x4e5860(),_0x4f1547[_0x3a5b6c(0x113)](_0x3b6806,_0x3e8b2c)),_0x3e8b2c;}['insertShape'](_0x52ae58,_0xfc1844,_0x164a7d,_0x527d03,_0x3cafd8){const _0x1a84e9=_0x465f7e;this['_ensureShapeModelManager'](_0x52ae58,_0xfc1844)[_0x1a84e9(0x102)](_0x164a7d,_0x527d03,_0x3cafd8);}['removeShape'](_0x2f5888,_0x4e06b0,_0x364c5d){const _0x44e790=_0x465f7e;this['_ensureShapeModelManager'](_0x2f5888,_0x4e06b0)[_0x44e790(0x19d)](_0x364c5d);}['getBasicShapeType'](_0x55f55c,_0x5cd85b,_0x2a6028){const _0x221347=_0x465f7e;return this[_0x221347(0x146)](_0x55f55c,_0x5cd85b)[_0x221347(0x181)](_0x2a6028);}[_0x465f7e(0x181)](_0x1b5dcb,_0x321cd7,_0x8db885){return this['_ensureShapeModelManager'](_0x1b5dcb,_0x321cd7)['getShapeType'](_0x8db885);}[_0x465f7e(0x153)](_0x21f546,_0x335f57,_0x3f3666){const _0x295925=_0x465f7e;return this[_0x295925(0x146)](_0x21f546,_0x335f57)[_0x295925(0x153)](_0x3f3666);}['getShapeTypeById'](_0x13a7b2,_0x363811,_0x51c41e){const _0x428b68=_0x465f7e;return this[_0x428b68(0x146)](_0x13a7b2,_0x363811)[_0x428b68(0x181)](_0x51c41e);}[_0x465f7e(0x1ab)](_0x2355cc,_0xeca6a7,_0x3ad24d){const _0x2176b0=_0x465f7e;let _0x56fdf7=this[_0x2176b0(0x146)](_0x2355cc,_0xeca6a7);if(!_0x56fdf7['getShapeType'](_0x3ad24d))return;let _0x341ef8=_0x56fdf7[_0x2176b0(0xfe)][_0x2176b0(0x1aa)](_0x3ad24d);if(_0x341ef8)return _0x341ef8['getShapeData']();}[_0x465f7e(0xd9)](_0x219ad3,_0x3edb26,_0xf9c479){const _0x59f873=_0x465f7e;return this['_ensureShapeModelManager'](_0x219ad3,_0x3edb26)[_0x59f873(0xfe)][_0x59f873(0x1aa)](_0xf9c479);}['getBasicShapeRelation'](_0x376153,_0x4cb920,_0x120009){const _0x1032ed=_0x465f7e;return this[_0x1032ed(0x146)](_0x376153,_0x4cb920)[_0x1032ed(0x130)](_0x120009);}[_0x465f7e(0x149)](_0x314667,_0x5356e4,_0x1bad57){const _0x524231=_0x465f7e;let _0x433e94=this[_0x524231(0x146)](_0x314667,_0x5356e4)[_0x524231(0xfe)][_0x524231(0x1aa)](_0x1bad57);if(_0x433e94)return _0x433e94[_0x524231(0x100)]();}[_0x465f7e(0x15b)](){}['_serializeShapeForUnit'](_0x37b423){const _0x31c240=_0x465f7e;let _0x4db1f5={},_0x50aafd=this['_shapeModelManagerMap'][_0x31c240(0x1aa)](_0x37b423);return _0x50aafd&&_0x50aafd[_0x31c240(0x17d)]((_0x5e01f5,_0x5e27b6)=>{let _0x562014=_0x5e01f5['toJSON']();_0x562014['length']>0x0&&(_0x4db1f5[_0x5e27b6]=_0x562014);}),JSON[_0x31c240(0x142)](_0x4db1f5);}[_0x465f7e(0x18c)](_0x4bcca9,_0x534716){const _0x12eb1e=_0x465f7e;Object['keys'](_0x534716)[_0x12eb1e(0x17d)](_0x18a878=>{this['_ensureShapeModelManager'](_0x4bcca9,_0x18a878)['fromJSON'](_0x534716[_0x18a878]);});}[_0x465f7e(0x16a)](){const _0x11b584=_0x465f7e;let _0x52001f={};return this[_0x11b584(0xfd)][_0x11b584(0x17d)]((_0x4b9c44,_0xe7055f)=>{const _0x27c7e4=_0x11b584;_0x52001f[_0xe7055f]={},_0x4b9c44[_0x27c7e4(0x17d)]((_0x2131b7,_0x4cb275)=>{_0x52001f[_0xe7055f][_0x4cb275]=_0x2131b7['toJSON']();});}),_0x52001f;}[_0x465f7e(0x165)](_0x331d55){const _0x1ab5ab=_0x465f7e;Object['keys'](_0x331d55)[_0x1ab5ab(0x17d)](_0x22466f=>{const _0x578c15=_0x1ab5ab;let _0x3f1254=_0x331d55[_0x22466f];Object[_0x578c15(0x196)](_0x3f1254)['forEach'](_0x2a350a=>{const _0x318446=_0x578c15;this[_0x318446(0x146)](_0x22466f,_0x2a350a)[_0x318446(0x165)](_0x3f1254[_0x2a350a]);});});}[_0x465f7e(0x12a)](){const _0x398928=_0x465f7e;this[_0x398928(0x18a)][_0x398928(0x136)]({'pluginName':'SHEET_SHAPE_PLUGIN','businesses':[_0xfb4ab[_0x398928(0x10d)][_0x398928(0x101)]],'toJson':_0x1c52fa=>this[_0x398928(0x187)](_0x1c52fa),'parseJson':_0x373f40=>JSON[_0x398928(0x160)](_0x373f40),'onLoad':(_0xcecdc5,_0x2fbd83)=>{const _0x2e5e75=_0x398928;this[_0x2e5e75(0x18c)](_0xcecdc5,_0x2fbd83);},'onUnLoad':_0x5b4447=>{const _0x32da60=_0x398928;let _0x456d7f=this[_0x32da60(0xfd)][_0x32da60(0x1aa)](_0x5b4447);_0x456d7f&&(_0x456d7f[_0x32da60(0x17d)](_0x143ad7=>{const _0x40ffb9=_0x32da60;_0x143ad7[_0x40ffb9(0x16e)]();}),this['_shapeModelManagerMap'][_0x32da60(0x129)](_0x5b4447));}});}[_0x465f7e(0x16e)](){const _0x144d03=_0x465f7e;this[_0x144d03(0xfd)][_0x144d03(0x17d)](_0x1053b0=>{const _0x622469=_0x144d03;_0x1053b0[_0x622469(0x17d)](_0x24f47e=>{const _0x51a783=_0x622469;_0x24f47e[_0x51a783(0x16e)]();});});}};_0x4819b3=_0x25c294([_0x4be714(0x0,_0xfb4ab[_0x465f7e(0x169)])],_0x4819b3);let _0x42f6e6={'id':_0x465f7e(0x13e),'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x173)],'handler':(_0x33c96d,_0x290818)=>{const _0x2a7f69=_0x465f7e;let {unitId:_0x2f0367,subUnitId:_0x498f61,shapeType:_0x375a58,shapeId:_0xf62e1a,shapeData:_0x3c7a62}=_0x290818;return _0x33c96d[_0x2a7f69(0x1aa)](_0x4819b3)[_0x2a7f69(0x158)](_0x2f0367,_0x498f61,_0x375a58,_0xf62e1a,_0x3c7a62),!0x0;}},_0x468f4f={'id':_0x465f7e(0x17a),'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x173)],'handler':(_0x4acc5a,_0x3cdcf2)=>{const _0x530f5d=_0x465f7e;let {unitId:_0x97945c,subUnitId:_0x21b684,shapeId:_0x48ec10}=_0x3cdcf2;return _0x4acc5a[_0x530f5d(0x1aa)](_0x4819b3)[_0x530f5d(0x19d)](_0x97945c,_0x21b684,_0x48ec10),!0x0;}},_0x383020={'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x11c)],'id':_0x465f7e(0x121),'handler':(_0x3f78a3,_0x183f70)=>{const _0x1d19bc=_0x465f7e;var _0x30023a,_0x9158f8;let _0x2e2062=(0x0,_0xec1f4e[_0x1d19bc(0x192)])(_0x3f78a3[_0x1d19bc(0x1aa)](_0xfb4ab[_0x1d19bc(0x1ad)]),_0x183f70);if(!_0x2e2062)return!0x1;let _0x28ac41=_0x3f78a3['get'](_0xec1f4e[_0x1d19bc(0x1a1)]),{unitId:_0x380e19,subUnitId:_0x488d80}=_0x2e2062,_0x8d2fb0=_0x28ac41['ensureSkeleton'](_0x380e19,_0x488d80);if(!_0x8d2fb0)return!0x1;let _0x340b91=_0x3f78a3['get'](_0xfb4ab['ICommandService']),_0x50c28c=_0x3f78a3[_0x1d19bc(0x1aa)](_0xfb4ab['IUndoRedoService']),_0x491e74=_0x3f78a3['get'](_0xec1f4e[_0x1d19bc(0x108)]),_0x3f82c7=_0x3f78a3[_0x1d19bc(0x1aa)](_0x517876[_0x1d19bc(0x114)]),{shapeType:_0x3ba23f,shapeData:_0x13f7df}=_0x183f70,_0x28f91c=_0x183f70[_0x1d19bc(0x175)]||(0x0,_0xfb4ab[_0x1d19bc(0x16d)])(),_0x105b8a={'unitId':_0x380e19,'subUnitId':_0x488d80,'shapeId':_0x28f91c,'shapeType':_0x3ba23f,'shapeData':_0x13f7df},_0x16ab54=_0x183f70['width']||0xc8,_0xecbe03=_0x183f70[_0x1d19bc(0xdb)]||0xc8,_0x2daaa6=0x0,_0x33c2e4=0x0,_0x5d54c7={'row':0x0,'rowOffset':0x0,'column':0x0,'columnOffset':0x0},_0x3ea60e={'row':0x0,'rowOffset':0x0,'column':0x0,'columnOffset':0x0};if(_0x183f70[_0x1d19bc(0x144)]){let {x:_0x3ca041,y:_0x56aced}=_0x183f70[_0x1d19bc(0x144)];_0x2daaa6=_0x3ca041,_0x33c2e4=_0x56aced,_0x5d54c7=_0x8d2fb0[_0x1d19bc(0xdd)](_0x3ca041,_0x56aced),_0x3ea60e=_0x8d2fb0[_0x1d19bc(0xdd)](_0x3ca041+_0x16ab54,_0x56aced+_0xecbe03);}else{if(_0x183f70['range']){let {startRow:_0x2d847b,startColumn:_0xa408e0}=_0x183f70[_0x1d19bc(0x156)];_0x5d54c7={'row':_0x2d847b,'rowOffset':0xa,'column':_0xa408e0,'columnOffset':0xa};let _0x45981b=_0x8d2fb0[_0x1d19bc(0x11b)](_0x2d847b,_0xa408e0);_0x2daaa6=_0x45981b[_0x1d19bc(0xdc)]+0xa,_0x33c2e4=_0x45981b[_0x1d19bc(0x198)]+0xa,_0x3ea60e=_0x8d2fb0[_0x1d19bc(0xdd)](_0x2daaa6+_0x16ab54,_0x33c2e4+_0xecbe03);}}let _0x1d0b2f={'from':_0x5d54c7,'to':_0x3ea60e},_0x4453b2={'unitId':_0x380e19,'subUnitId':_0x488d80,'drawingId':_0x28f91c,'drawingType':_0xfb4ab[_0x1d19bc(0x124)][_0x1d19bc(0x115)],'sheetTransform':_0x1d0b2f,'transform':{'left':_0x2daaa6,'top':_0x33c2e4,'width':_0x16ab54,'height':_0xecbe03},'data':{'shapeType':_0x3ba23f,'shapeData':_0x13f7df},'axisAlignSheetTransform':_0x1d0b2f,'allowTransform':!0x0};(0x0,_0x530db4[_0x1d19bc(0x1a0)])(_0x3ba23f)&&(_0x4453b2['data'][_0x1d19bc(0x191)]=!0x1,_0x4453b2[_0x1d19bc(0x161)][_0x1d19bc(0x188)]=!0x1,_0x4453b2[_0x1d19bc(0x161)][_0x1d19bc(0x12d)]=!0x1,_0x4453b2[_0x1d19bc(0x161)][_0x1d19bc(0x1a2)]=!0x1,_0x4453b2[_0x1d19bc(0x176)]['rotateEnabled']=!0x1,_0x4453b2[_0x1d19bc(0x176)][_0x1d19bc(0x12d)]=!0x1,_0x4453b2[_0x1d19bc(0x176)][_0x1d19bc(0x1a2)]=!0x1);let {undo:_0x145ea3,redo:_0x54bb33,objects:_0x8e7f19}=_0x3f82c7[_0x1d19bc(0x16b)]([_0x4453b2]),_0x4086f4=_0x491e74[_0x1d19bc(0x180)]({'id':_0x517876['InsertSheetDrawingCommand']['id'],'params':{'unitId':_0x380e19,'drawings':[_0x4453b2]}}),_0x3ed7c2=[...(_0x30023a=_0x4086f4[_0x1d19bc(0x13f)])==null?[]:_0x30023a,{'id':_0x517876[_0x1d19bc(0xf5)]['id'],'params':{'unitId':_0x380e19,'subUnitId':_0x488d80,'op':_0x54bb33,'objects':_0x8e7f19,'type':_0x517876[_0x1d19bc(0x167)]['INSERT']}},{'id':_0x517876[_0x1d19bc(0x19e)]['id'],'params':[_0x380e19]},..._0x4086f4[_0x1d19bc(0x119)],{'id':_0x42f6e6['id'],'params':_0x105b8a}],_0x3e4a83=[{'id':_0x468f4f['id'],'params':{'unitId':_0x380e19,'subUnitId':_0x488d80,'shapeId':_0x28f91c}},...(_0x9158f8=_0x4086f4[_0x1d19bc(0x122)])==null?[]:_0x9158f8,{'id':_0x517876['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x380e19,'subUnitId':_0x488d80,'op':_0x145ea3,'objects':_0x8e7f19,'type':_0x517876[_0x1d19bc(0x167)]['REMOVE']}},{'id':_0x517876[_0x1d19bc(0x19e)]['id'],'params':[_0x380e19]},..._0x4086f4[_0x1d19bc(0x183)]];return(0x0,_0xfb4ab[_0x1d19bc(0x127)])(_0x3ed7c2,_0x340b91)?(_0x50c28c[_0x1d19bc(0xee)]({'unitID':_0x380e19,'undoMutations':_0x3e4a83,'redoMutations':_0x3ed7c2}),!0x0):!0x1;}},_0x3c20bc={'id':_0x465f7e(0xec),'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x173)],'handler':(_0x211f0b,_0x541ebd)=>{const _0x282c13=_0x465f7e;let {unitId:_0x33aec8,subUnitId:_0x5af883,shapeType:_0x53e902,shapeId:_0x278230,shapeData:_0x20edac}=_0x541ebd,_0x4f8e33=_0x211f0b[_0x282c13(0x1aa)](_0x4819b3)['getShapeModel'](_0x33aec8,_0x5af883,_0x278230);return _0x4f8e33&&(_0x53e902!==void 0x0&&_0x4f8e33[_0x282c13(0x15b)](_0x53e902),_0x20edac&&(_0x4f8e33==null||_0x4f8e33[_0x282c13(0x118)](_0x20edac,!0x0))),!0x0;}},_0x3d662d={'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x11c)],'id':_0x465f7e(0xe1),'handler':(_0x4b8767,_0x1f1505)=>{const _0x17b025=_0x465f7e;var _0x129ef3,_0x32689c;let _0x2e7859=(0x0,_0xec1f4e[_0x17b025(0x192)])(_0x4b8767['get'](_0xfb4ab['IUniverInstanceService']),_0x1f1505);if(!_0x2e7859)return!0x1;let _0x282525=_0x4b8767['get'](_0xec1f4e[_0x17b025(0x1a1)]),{unitId:_0x22608f,subUnitId:_0x1a3064}=_0x2e7859,_0x4a1f70=_0x282525['ensureSkeleton'](_0x22608f,_0x1a3064);if(!_0x4a1f70)return!0x1;let _0x5dfb32=_0x4b8767[_0x17b025(0x1aa)](_0x4819b3),{shapeId:_0x38c8a2,shapeType:_0x34db21,shapeData:_0x265ae8,position:_0x215d9b,width:_0x36c255,height:_0x25b3cb}=_0x1f1505,_0x3bd993=_0x5dfb32[_0x17b025(0xd9)](_0x22608f,_0x1a3064,_0x38c8a2);if(!_0x3bd993)return!0x1;let _0x291b4f=_0x4b8767[_0x17b025(0x1aa)](_0xfb4ab['ICommandService']),_0x523e4d=_0x4b8767[_0x17b025(0x1aa)](_0xfb4ab[_0x17b025(0x12b)]),_0x3f8640=_0x4b8767['get'](_0xec1f4e[_0x17b025(0x108)]),_0x136298=_0x4b8767[_0x17b025(0x1aa)](_0x517876[_0x17b025(0x114)]),_0x2eda68={'unitId':_0x22608f,'subUnitId':_0x1a3064,'shapeId':_0x38c8a2,'shapeType':_0x34db21,'shapeData':_0x265ae8},_0x1ecaf3=_0x3bd993[_0x17b025(0x181)](),_0x2450dc=_0x3bd993[_0x17b025(0x148)](),{x:_0x5c9b53,y:_0x33a81c}=_0x215d9b,_0x252482={'from':_0x4a1f70[_0x17b025(0xdd)](_0x5c9b53,_0x33a81c),'to':_0x4a1f70[_0x17b025(0xdd)](_0x5c9b53+_0x36c255,_0x33a81c+_0x25b3cb)},_0x1ea96c={'unitId':_0x22608f,'subUnitId':_0x1a3064,'drawingId':_0x38c8a2,'drawingType':_0xfb4ab[_0x17b025(0x124)][_0x17b025(0x115)],'sheetTransform':_0x252482,'transform':{'left':_0x5c9b53,'top':_0x33a81c,'width':_0x36c255,'height':_0x25b3cb},'data':{'shapeType':_0x34db21,'shapeData':_0x265ae8},'axisAlignSheetTransform':_0x252482,'allowTransform':!0x0};(0x0,_0x530db4[_0x17b025(0x1a0)])(_0x34db21)&&(_0x1ea96c[_0x17b025(0x161)][_0x17b025(0x191)]=!0x1,_0x1ea96c[_0x17b025(0x161)][_0x17b025(0x188)]=!0x1,_0x1ea96c[_0x17b025(0x161)][_0x17b025(0x12d)]=!0x1,_0x1ea96c['data']['borderEnabled']=!0x1,_0x1ea96c[_0x17b025(0x176)]['rotateEnabled']=!0x1,_0x1ea96c[_0x17b025(0x176)][_0x17b025(0x12d)]=!0x1,_0x1ea96c[_0x17b025(0x176)][_0x17b025(0x1a2)]=!0x1);let {undo:_0xf65e59,redo:_0x2e2508,objects:_0x491950}=_0x136298['getBatchUpdateOp']([_0x1ea96c]),_0x3b1b28=_0x3f8640['onCommandExecute']({'id':_0x517876[_0x17b025(0xf3)]['id'],'params':{'unitId':_0x22608f,'drawings':[_0x1ea96c]}}),_0x368d82=[...(_0x129ef3=_0x3b1b28['preRedos'])==null?[]:_0x129ef3,{'id':_0x517876[_0x17b025(0xf5)]['id'],'params':{'unitId':_0x22608f,'subUnitId':_0x1a3064,'op':_0x2e2508,'objects':_0x491950,'type':_0x517876[_0x17b025(0x167)][_0x17b025(0xfa)]}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x22608f]},..._0x3b1b28[_0x17b025(0x119)],{'id':_0x3c20bc['id'],'params':_0x2eda68}],_0x10be7b=[...(_0x32689c=_0x3b1b28[_0x17b025(0x122)])==null?[]:_0x32689c,{'id':_0x517876[_0x17b025(0xf5)]['id'],'params':{'unitId':_0x22608f,'subUnitId':_0x1a3064,'op':_0xf65e59,'objects':_0x491950,'type':_0x517876[_0x17b025(0x167)][_0x17b025(0xfa)]}},{'id':_0x517876[_0x17b025(0x19e)]['id'],'params':[_0x22608f]},..._0x3b1b28[_0x17b025(0x183)],{'id':_0x3c20bc['id'],'params':{'unitId':_0x22608f,'subUnitId':_0x1a3064,'shapeType':_0x1ecaf3,'shapeId':_0x38c8a2,'shapeData':_0x2450dc}}];return(0x0,_0xfb4ab[_0x17b025(0x127)])(_0x368d82,_0x291b4f)?(_0x523e4d[_0x17b025(0xee)]({'unitID':_0x22608f,'undoMutations':_0x10be7b,'redoMutations':_0x368d82}),!0x0):!0x1;}},_0x4b6993={'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x11c)],'id':'sheet.command.toggle-shape-flip','handler':(_0x12f2d2,_0x25c79b)=>{const _0x13adf8=_0x465f7e;var _0x2ecd10,_0x34ec0e;let _0xe540f2=(0x0,_0xec1f4e['getSheetCommandTarget'])(_0x12f2d2['get'](_0xfb4ab[_0x13adf8(0x1ad)]),_0x25c79b);if(!_0xe540f2)return!0x1;let _0x3aae1b=_0x12f2d2['get'](_0xec1f4e['SheetSkeletonService']),{unitId:_0x12e158,subUnitId:_0x28f608}=_0xe540f2,_0x43eb2f=_0x3aae1b[_0x13adf8(0x13b)](_0x12e158,_0x28f608);if(!_0x43eb2f)return!0x1;let _0x55a7a5=_0x12f2d2[_0x13adf8(0x1aa)](_0x517876[_0x13adf8(0x114)]),{shapeId:_0x1c4274,flipH:_0x9a330b,flipV:_0x2eba54}=_0x25c79b,_0x288862=_0x55a7a5[_0x13adf8(0x171)]({'unitId':_0x12e158,'subUnitId':_0x28f608,'drawingId':_0x1c4274});if(!_0x288862)return!0x1;let _0x2d5d14=_0x12f2d2['get'](_0x4819b3)['getShapeModel'](_0x12e158,_0x28f608,_0x1c4274);if(!_0x2d5d14)return!0x1;let _0x1b7bfc=_0x12f2d2[_0x13adf8(0x1aa)](_0xfb4ab[_0x13adf8(0x106)]),_0x1e299e=_0x12f2d2['get'](_0xfb4ab[_0x13adf8(0x12b)]),_0x509bf6=_0x12f2d2[_0x13adf8(0x1aa)](_0xec1f4e['SheetInterceptorService']),_0x4a8e2d={..._0x288862[_0x13adf8(0x176)]};_0x9a330b!==void 0x0&&(_0x4a8e2d[_0x13adf8(0xea)]=!_0x4a8e2d[_0x13adf8(0xea)]),_0x2eba54!==void 0x0&&(_0x4a8e2d[_0x13adf8(0xe5)]=!_0x4a8e2d['flipY']);let _0x75c4ca=(0x0,_0x517876['transformToDrawingPosition'])(_0x4a8e2d,_0x43eb2f),_0x53bac8=(0x0,_0x517876[_0x13adf8(0x116)])(_0x4a8e2d,_0x43eb2f),_0x290073=_0x2d5d14['getShapeType'](),_0x54d4d0=_0x2d5d14['getShapeData'](),_0x1b0dc1={'unitId':_0x12e158,'subUnitId':_0x28f608,'drawingId':_0x1c4274,'drawingType':_0xfb4ab[_0x13adf8(0x124)]['DRAWING_SHAPE'],'sheetTransform':_0x75c4ca,'transform':_0x4a8e2d,'data':{'shapeType':_0x290073,'shapeData':_0x54d4d0},'axisAlignSheetTransform':_0x53bac8,'allowTransform':!0x0},{undo:_0x4b187f,redo:_0x49416c,objects:_0x1863ef}=_0x55a7a5['getBatchUpdateOp']([_0x1b0dc1]),_0x5eaf40=_0x509bf6[_0x13adf8(0x180)]({'id':_0x517876[_0x13adf8(0xf3)]['id'],'params':{'unitId':_0x12e158,'drawings':[_0x1b0dc1]}}),_0x21436d=[...(_0x2ecd10=_0x5eaf40[_0x13adf8(0x13f)])==null?[]:_0x2ecd10,{'id':_0x517876[_0x13adf8(0xf5)]['id'],'params':{'unitId':_0x12e158,'subUnitId':_0x28f608,'op':_0x49416c,'objects':_0x1863ef,'type':_0x517876['DrawingApplyType']['UPDATE']}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x12e158]},..._0x5eaf40[_0x13adf8(0x119)]],_0x3077ab=[...(_0x34ec0e=_0x5eaf40[_0x13adf8(0x122)])==null?[]:_0x34ec0e,{'id':_0x517876[_0x13adf8(0xf5)]['id'],'params':{'unitId':_0x12e158,'subUnitId':_0x28f608,'op':_0x4b187f,'objects':_0x1863ef,'type':_0x517876[_0x13adf8(0x167)]['UPDATE']}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x12e158]},..._0x5eaf40[_0x13adf8(0x183)]];if((0x0,_0x530db4[_0x13adf8(0x1a0)])(_0x290073)){let _0x177f93=_0x2d5d14[_0x13adf8(0x100)]();if(_0x177f93){let _0x38fb4a={..._0x177f93};_0x38fb4a['from']=void 0x0,_0x38fb4a['to']=void 0x0,_0x21436d['push']({'id':_0x3c20bc['id'],'params':{'unitId':_0x12e158,'subUnitId':_0x28f608,'shapeId':_0x1c4274,'shapeType':_0x290073,'shapeData':{'relation':_0x38fb4a}}}),_0x3077ab[_0x13adf8(0xe3)]({'id':_0x3c20bc['id'],'params':{'unitId':_0x12e158,'subUnitId':_0x28f608,'shapeId':_0x1c4274,'shapeType':_0x290073,'shapeData':{'relation':_0x177f93}}});}}return(0x0,_0xfb4ab[_0x13adf8(0x127)])(_0x21436d,_0x1b7bfc)?(_0x1e299e['pushUndoRedo']({'unitID':_0x12e158,'undoMutations':_0x3077ab,'redoMutations':_0x21436d}),!0x0):!0x1;}},_0xbeaf66={'type':_0xfb4ab[_0x465f7e(0x11f)]['COMMAND'],'id':_0x465f7e(0x135),'handler':(_0x1db52b,_0x4a8191)=>{const _0x455c97=_0x465f7e;var _0x1dcc97,_0x5aeaad;let _0xbe0365=(0x0,_0xec1f4e[_0x455c97(0x192)])(_0x1db52b[_0x455c97(0x1aa)](_0xfb4ab[_0x455c97(0x1ad)]),_0x4a8191);if(!_0xbe0365)return!0x1;let _0x49e785=_0x1db52b[_0x455c97(0x1aa)](_0xec1f4e['SheetSkeletonService']),{unitId:_0x292a21,subUnitId:_0x1a58d5}=_0xbe0365,_0x40cd5c=_0x49e785['getSkeleton'](_0x292a21,_0x1a58d5);if(!_0x40cd5c)return!0x1;let _0xf3a402=_0x1db52b['get'](_0x517876['ISheetDrawingService']),{shapeId:_0x9c8034,rotate:_0x400682}=_0x4a8191,_0x225284=_0xf3a402['getDrawingByParam']({'unitId':_0x292a21,'subUnitId':_0x1a58d5,'drawingId':_0x9c8034});if(!_0x225284)return!0x1;let _0x55497f=_0x1db52b[_0x455c97(0x1aa)](_0x4819b3)[_0x455c97(0xd9)](_0x292a21,_0x1a58d5,_0x9c8034);if(!_0x55497f)return!0x1;let _0x738e=_0x1db52b[_0x455c97(0x1aa)](_0xfb4ab[_0x455c97(0x106)]),_0x231845=_0x1db52b[_0x455c97(0x1aa)](_0xfb4ab[_0x455c97(0x12b)]),_0x214c7b=_0x1db52b['get'](_0xec1f4e[_0x455c97(0x108)]),_0x535dca={..._0x225284[_0x455c97(0x176)]};_0x400682!==void 0x0&&(_0x535dca['angle']=(_0x535dca[_0x455c97(0x172)]||0x0)+_0x400682);let _0x41db4d=(0x0,_0x517876['transformToDrawingPosition'])(_0x535dca,_0x40cd5c),_0x44855a=(0x0,_0x517876[_0x455c97(0x116)])(_0x535dca,_0x40cd5c),_0x426cea=_0x55497f[_0x455c97(0x181)](),_0x39d6bb=_0x55497f[_0x455c97(0x148)](),_0x431f23={'unitId':_0x292a21,'subUnitId':_0x1a58d5,'drawingId':_0x9c8034,'drawingType':_0xfb4ab[_0x455c97(0x124)][_0x455c97(0x115)],'sheetTransform':_0x41db4d,'transform':_0x535dca,'data':{'shapeType':_0x426cea,'shapeData':_0x39d6bb},'axisAlignSheetTransform':_0x44855a,'allowTransform':!0x0},{undo:_0x465d2d,redo:_0x15a900,objects:_0x30ca35}=_0xf3a402['getBatchUpdateOp']([_0x431f23]),_0x2f533b=_0x214c7b[_0x455c97(0x180)]({'id':_0x517876[_0x455c97(0xf3)]['id'],'params':{'unitId':_0x292a21,'drawings':[_0x431f23]}}),_0x23a1d5=[...(_0x1dcc97=_0x2f533b[_0x455c97(0x13f)])==null?[]:_0x1dcc97,{'id':_0x517876['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x292a21,'subUnitId':_0x1a58d5,'op':_0x15a900,'objects':_0x30ca35,'type':_0x517876[_0x455c97(0x167)][_0x455c97(0xfa)]}},{'id':_0x517876[_0x455c97(0x19e)]['id'],'params':[_0x292a21]},..._0x2f533b[_0x455c97(0x119)]],_0x5648c1=[...(_0x5aeaad=_0x2f533b[_0x455c97(0x122)])==null?[]:_0x5aeaad,{'id':_0x517876[_0x455c97(0xf5)]['id'],'params':{'unitId':_0x292a21,'subUnitId':_0x1a58d5,'op':_0x465d2d,'objects':_0x30ca35,'type':_0x517876['DrawingApplyType'][_0x455c97(0xfa)]}},{'id':_0x517876[_0x455c97(0x19e)]['id'],'params':[_0x292a21]},..._0x2f533b[_0x455c97(0x183)]];return(0x0,_0xfb4ab[_0x455c97(0x127)])(_0x23a1d5,_0x738e)?(_0x231845['pushUndoRedo']({'unitID':_0x292a21,'undoMutations':_0x5648c1,'redoMutations':_0x23a1d5}),!0x0):!0x1;}},_0x56f6ba={'type':_0xfb4ab['CommandType'][_0x465f7e(0x11c)],'id':'sheet.command.update-connector-relation','handler':(_0x2dea3e,_0x29dbfc)=>{const _0x3349b5=_0x465f7e;var _0x2c3ee6,_0x12f8ca,_0x1fbff2,_0x2d4ec8;let _0x3060dc=(0x0,_0xec1f4e['getSheetCommandTarget'])(_0x2dea3e['get'](_0xfb4ab[_0x3349b5(0x1ad)]),_0x29dbfc);if(!_0x3060dc)return!0x1;let _0x169f0e=_0x2dea3e[_0x3349b5(0x1aa)](_0xec1f4e['SheetSkeletonService']),{unitId:_0x143207,subUnitId:_0x5938d1}=_0x3060dc,_0x4470d0=_0x169f0e['getSkeleton'](_0x143207,_0x5938d1);if(!_0x4470d0)return!0x1;let _0x9e0b0d=_0x2dea3e[_0x3349b5(0x1aa)](_0x517876['ISheetDrawingService']),{connectorShapeId:_0x528e10,width:_0x45ccf5,height:_0x344bbe,left:_0x3ee4a6,top:_0xe60124,flipX:_0x564d56,flipY:_0x38031c,rotation:_0x412f9e,oldAdjustValues:_0x117b60,newAdjustValues:_0xdfc059,oldLineType:_0x3c1b74,newLineType:_0x102747,oldRelation:_0x25e954,newRelation:_0x288c75}=_0x29dbfc,_0x5162f2=_0x9e0b0d[_0x3349b5(0x171)]({'unitId':_0x143207,'subUnitId':_0x5938d1,'drawingId':_0x528e10});if(!_0x5162f2)return!0x1;let _0x504265=_0x2dea3e[_0x3349b5(0x1aa)](_0x4819b3)[_0x3349b5(0xd9)](_0x143207,_0x5938d1,_0x528e10);if(!_0x504265)return!0x1;let _0x4d99cb=_0x2dea3e[_0x3349b5(0x1aa)](_0xfb4ab[_0x3349b5(0x106)]),_0x18ddfd=_0x2dea3e['get'](_0xfb4ab[_0x3349b5(0x12b)]),_0x8022ba=_0x2dea3e[_0x3349b5(0x1aa)](_0xec1f4e[_0x3349b5(0x108)]),_0x5cba7b={..._0x5162f2[_0x3349b5(0x176)],'width':_0x45ccf5,'height':_0x344bbe,'left':_0x3ee4a6,'top':_0xe60124,'flipX':_0x564d56,'flipY':_0x38031c,'angle':(_0x2c3ee6=_0x412f9e==null?(_0x12f8ca=_0x5162f2['transform'])==null?void 0x0:_0x12f8ca[_0x3349b5(0x172)]:_0x412f9e)==null?0x0:_0x2c3ee6},_0x115307=(0x0,_0x517876[_0x3349b5(0x105)])(_0x5cba7b,_0x4470d0),_0x594f5d=(0x0,_0x517876[_0x3349b5(0x116)])(_0x5cba7b,_0x4470d0),_0x432cca=_0x504265[_0x3349b5(0x181)](),_0x240098=_0x504265[_0x3349b5(0x148)](),_0xa95841={'unitId':_0x143207,'subUnitId':_0x5938d1,'drawingId':_0x528e10,'drawingType':_0xfb4ab[_0x3349b5(0x124)][_0x3349b5(0x115)],'sheetTransform':_0x115307,'transform':_0x5cba7b,'data':{'shapeType':_0x102747||_0x3c1b74||_0x432cca,'shapeData':{..._0x240098,'adjustValues':_0xdfc059||_0x117b60||(_0x240098==null?void 0x0:_0x240098[_0x3349b5(0x15f)]),'relation':_0x288c75||_0x25e954||(_0x240098==null?void 0x0:_0x240098[_0x3349b5(0xed)])}},'axisAlignSheetTransform':_0x594f5d,'allowTransform':!0x0},{undo:_0x58d010,redo:_0xa9128c,objects:_0x25f890}=_0x9e0b0d['getBatchUpdateOp']([_0xa95841]),_0x45eb38=_0x8022ba[_0x3349b5(0x180)]({'id':_0x517876[_0x3349b5(0xf3)]['id'],'params':{'unitId':_0x143207,'drawings':[_0xa95841]}}),_0x40a924=[...(_0x1fbff2=_0x45eb38[_0x3349b5(0x13f)])==null?[]:_0x1fbff2,{'id':_0x517876['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x143207,'subUnitId':_0x5938d1,'op':_0xa9128c,'objects':_0x25f890,'type':_0x517876[_0x3349b5(0x167)]['UPDATE']}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x143207]},..._0x45eb38[_0x3349b5(0x119)],{'id':_0x3c20bc['id'],'params':{'unitId':_0x143207,'subUnitId':_0x5938d1,'shapeId':_0x528e10,'shapeType':_0x102747,'shapeData':{'adjustValues':_0xdfc059,'relation':_0x288c75}}}],_0x2a883a=[...(_0x2d4ec8=_0x45eb38[_0x3349b5(0x122)])==null?[]:_0x2d4ec8,{'id':_0x517876[_0x3349b5(0xf5)]['id'],'params':{'unitId':_0x143207,'subUnitId':_0x5938d1,'op':_0x58d010,'objects':_0x25f890,'type':_0x517876[_0x3349b5(0x167)]['UPDATE']}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x143207]},..._0x45eb38['undos'],{'id':_0x3c20bc['id'],'params':{'unitId':_0x143207,'subUnitId':_0x5938d1,'shapeId':_0x528e10,'shapeType':_0x432cca,'shapeData':{..._0x240098,'adjustValues':_0x117b60||(_0x240098==null?void 0x0:_0x240098['adjustValues']),'relation':_0x25e954||(_0x240098==null?void 0x0:_0x240098[_0x3349b5(0xed)])}}}];return(0x0,_0xfb4ab[_0x3349b5(0x127)])(_0x40a924,_0x4d99cb)?(_0x18ddfd[_0x3349b5(0xee)]({'unitID':_0x143207,'undoMutations':_0x2a883a,'redoMutations':_0x40a924}),!0x0):!0x1;}},_0x2bc9e5={'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x11c)],'id':_0x465f7e(0x15d),'handler':(_0x2ef392,_0x1b873a)=>{const _0x37ec66=_0x465f7e;var _0x209963,_0x3c3523;let _0x51a9d1=(0x0,_0xec1f4e[_0x37ec66(0x192)])(_0x2ef392[_0x37ec66(0x1aa)](_0xfb4ab[_0x37ec66(0x1ad)]),_0x1b873a);if(!_0x51a9d1)return!0x1;let _0x3631a8=_0x2ef392['get'](_0xec1f4e[_0x37ec66(0x1a1)]),{unitId:_0x1b6833,subUnitId:_0x1acede}=_0x51a9d1,_0x524c12=_0x3631a8[_0x37ec66(0x13b)](_0x1b6833,_0x1acede);if(!_0x524c12)return!0x1;let _0x34f601=_0x2ef392[_0x37ec66(0x1aa)](_0x517876[_0x37ec66(0x114)]),{shapeId:_0x240556,width:_0x5f2525,height:_0x8705fb,left:_0x1679c5,top:_0x53e0c8,flipX:_0x307404,flipY:_0x441210,angle:_0x365a8a,oldAdjustValues:_0x2f61a3,newAdjustValues:_0x1a33ea,oldLineType:_0x4ac3bb,newLineType:_0x38d7ba}=_0x1b873a,_0x27d322=_0x34f601['getDrawingByParam']({'unitId':_0x1b6833,'subUnitId':_0x1acede,'drawingId':_0x240556});if(!_0x27d322)return!0x1;let _0x548254=_0x2ef392[_0x37ec66(0x1aa)](_0x4819b3)[_0x37ec66(0xd9)](_0x1b6833,_0x1acede,_0x240556);if(!_0x548254)return!0x1;let _0x55acae=_0x2ef392[_0x37ec66(0x1aa)](_0xfb4ab[_0x37ec66(0x106)]),_0x5981f2=_0x2ef392[_0x37ec66(0x1aa)](_0xfb4ab['IUndoRedoService']),_0x2b0c1d=_0x2ef392[_0x37ec66(0x1aa)](_0xec1f4e[_0x37ec66(0x108)]),_0x41db13={..._0x27d322['transform'],'width':_0x5f2525,'height':_0x8705fb,'left':_0x1679c5,'top':_0x53e0c8,'flipX':_0x307404,'flipY':_0x441210,'angle':_0x365a8a},_0x2ea4f5=(0x0,_0x517876[_0x37ec66(0x105)])(_0x41db13,_0x524c12),_0x512c81=(0x0,_0x517876[_0x37ec66(0x116)])(_0x41db13,_0x524c12),_0x39e0d6=_0x548254[_0x37ec66(0x181)](),_0x213b57=_0x548254[_0x37ec66(0x148)](),_0x175ff3={'unitId':_0x1b6833,'subUnitId':_0x1acede,'drawingId':_0x240556,'drawingType':_0xfb4ab[_0x37ec66(0x124)][_0x37ec66(0x115)],'sheetTransform':_0x2ea4f5,'transform':_0x41db13,'data':{'shapeType':_0x38d7ba||_0x4ac3bb||_0x39e0d6,'shapeData':{..._0x213b57,'adjustValues':_0x1a33ea||_0x2f61a3||(_0x213b57==null?void 0x0:_0x213b57[_0x37ec66(0x15f)])}},'axisAlignSheetTransform':_0x512c81,'allowTransform':!0x0},{undo:_0x7cd403,redo:_0x32bfab,objects:_0x156e52}=_0x34f601[_0x37ec66(0x166)]([_0x175ff3]),_0x405cca=_0x2b0c1d[_0x37ec66(0x180)]({'id':_0x517876['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x1b6833,'drawings':[_0x175ff3]}}),_0x4bdd6f=[...(_0x209963=_0x405cca['preRedos'])==null?[]:_0x209963,{'id':_0x517876[_0x37ec66(0xf5)]['id'],'params':{'unitId':_0x1b6833,'subUnitId':_0x1acede,'op':_0x32bfab,'objects':_0x156e52,'type':_0x517876[_0x37ec66(0x167)][_0x37ec66(0xfa)]}},{'id':_0x517876[_0x37ec66(0x19e)]['id'],'params':[_0x1b6833]},..._0x405cca[_0x37ec66(0x119)],{'id':_0x3c20bc['id'],'params':{'unitId':_0x1b6833,'subUnitId':_0x1acede,'shapeId':_0x240556,'shapeType':_0x38d7ba,'shapeData':{'adjustValues':_0x1a33ea}}}],_0x2c9476=[...(_0x3c3523=_0x405cca['preUndos'])==null?[]:_0x3c3523,{'id':_0x517876[_0x37ec66(0xf5)]['id'],'params':{'unitId':_0x1b6833,'subUnitId':_0x1acede,'op':_0x7cd403,'objects':_0x156e52,'type':_0x517876[_0x37ec66(0x167)][_0x37ec66(0xfa)]}},{'id':_0x517876['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x1b6833]},..._0x405cca[_0x37ec66(0x183)],{'id':_0x3c20bc['id'],'params':{'unitId':_0x1b6833,'subUnitId':_0x1acede,'shapeId':_0x240556,'shapeType':_0x39e0d6,'shapeData':{..._0x213b57,'adjustValues':_0x2f61a3||(_0x213b57==null?void 0x0:_0x213b57[_0x37ec66(0x15f)])}}}];return(0x0,_0xfb4ab['sequenceExecute'])(_0x4bdd6f,_0x55acae)?(_0x5981f2['pushUndoRedo']({'unitID':_0x1b6833,'undoMutations':_0x2c9476,'redoMutations':_0x4bdd6f}),!0x0):!0x1;}},_0x1657c3={'id':_0x465f7e(0x157),'type':_0xfb4ab[_0x465f7e(0x11f)][_0x465f7e(0x173)],'handler':(_0x20e8e2,_0x32d057)=>{const _0x592e4e=_0x465f7e;let {unitId:_0xfb9b7f,subUnitId:_0x4c73e4,shapeType:_0x43461b,shapeId:_0x1e9ae2,shapeData:_0x3a685c}=_0x32d057,_0x157ddd=_0x20e8e2[_0x592e4e(0x1aa)](_0x4819b3)[_0x592e4e(0xd9)](_0xfb9b7f,_0x4c73e4,_0x1e9ae2);return _0x157ddd&&(_0x157ddd[_0x592e4e(0x15b)](_0x43461b),_0x3a685c&&(_0x157ddd==null||_0x157ddd['setShapeData'](_0x3a685c))),!0x0;}},_0x5127c3={'id':'sheet.command.update-shape-type','type':_0xfb4ab[_0x465f7e(0x11f)]['COMMAND'],'handler':(_0xe44270,_0x51faab)=>{const _0x8997fe=_0x465f7e;if(!_0x51faab)return!0x1;let _0x2ca5d3=_0xe44270['get'](_0xfb4ab[_0x8997fe(0x106)]),_0x3e5177=_0xe44270['get'](_0x4819b3),_0x2d5b90=_0xe44270[_0x8997fe(0x1aa)](_0xfb4ab[_0x8997fe(0x12b)]),_0x23fda1=[],_0x27833d=[],{unitId:_0x2bda81,subUnitId:_0x1e3268,shapeId:_0x4d0b4b,shapeType:_0x4131a6,shapeData:_0x32c7b4}=_0x51faab,_0x4d116a=_0x3e5177['getShapeModel'](_0x2bda81,_0x1e3268,_0x4d0b4b);if(_0x4d116a){let _0x562105=_0x4d116a[_0x8997fe(0x181)](),_0x2e04fd=Object[_0x8997fe(0xf4)]({},_0x4d116a[_0x8997fe(0x148)]()),_0x30177a={'unitId':_0x2bda81,'subUnitId':_0x1e3268,'shapeId':_0x4d0b4b,'shapeType':_0x4131a6,'shapeData':_0x32c7b4},_0x2ec6bc={'unitId':_0x2bda81,'subUnitId':_0x1e3268,'shapeId':_0x4d0b4b,'shapeType':_0x562105,'shapeData':_0x2e04fd};return _0x23fda1[_0x8997fe(0xe3)]({'id':_0x1657c3['id'],'params':_0x30177a}),_0x27833d['push']({'id':_0x1657c3['id'],'params':_0x2ec6bc}),_0x23fda1[_0x8997fe(0xeb)](_0x471a16=>_0x2ca5d3[_0x8997fe(0xd8)](_0x471a16['id'],_0x471a16['params']))&&_0x2d5b90['pushUndoRedo']({'unitID':_0x2bda81,'redoMutations':[..._0x23fda1],'undoMutations':[..._0x27833d]}),!0x0;}return!0x1;}};var _0x235589=_0x465f7e(0x13d),_0x13a1a7='0.20.0';let _0x1c97b8=_0x465f7e(0x16c);Symbol(_0x1c97b8);let _0x38a247={},_0x94083=class extends _0xfb4ab['Disposable']{constructor(_0x2ef852,_0x1f8d00,_0x481407,_0x4cf0d6,_0x44bf46){const _0x3cb857=_0x465f7e;super(),this[_0x3cb857(0x1a8)]=_0x2ef852,this[_0x3cb857(0x194)]=_0x1f8d00,this[_0x3cb857(0x10b)]=_0x481407,this['_sheetsShapeService']=_0x4cf0d6,this[_0x3cb857(0x163)]=_0x44bf46,this[_0x3cb857(0x10e)](),this['_initCommandInterceptor']();}['_initCommands'](){const _0x641843=_0x465f7e;[_0x383020,_0x3d662d,_0x4b6993,_0xbeaf66,_0x56f6ba,_0x2bc9e5,_0x42f6e6,_0x468f4f,_0x1657c3,_0x3c20bc][_0x641843(0x17d)](_0xe7fb21=>this[_0x641843(0x1a6)](this[_0x641843(0x1a8)][_0x641843(0xe0)](_0xe7fb21)));}[_0x465f7e(0x141)](){const _0x55974a=_0x465f7e;this[_0x55974a(0x1a6)](this[_0x55974a(0x194)][_0x55974a(0x132)]({'getMutations':_0x3dc834=>{const _0x5de457=_0x55974a;if(_0x3dc834['id']===_0x517876[_0x5de457(0x19c)]['id']){let {drawings:_0x1654ac}=_0x3dc834[_0x5de457(0x1a5)],_0x421fb2=_0x1654ac['filter'](_0x275f0e=>_0x275f0e[_0x5de457(0x1a3)]===_0xfb4ab[_0x5de457(0x124)]['DRAWING_SHAPE']);if(_0x421fb2['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x38200b=[],_0x1fe4a1=[];return _0x421fb2[_0x5de457(0x17d)](_0x16ee14=>{const _0x2f2f3a=_0x5de457;let {unitId:_0xdd945d,subUnitId:_0x26e2a8,drawingId:_0x2bdba9}=_0x16ee14,_0x556fa4=this[_0x2f2f3a(0x152)][_0x2f2f3a(0xd9)](_0xdd945d,_0x26e2a8,_0x2bdba9);if(!_0x556fa4)throw TypeError(_0x2f2f3a(0x15a)+_0x556fa4);_0x38200b[_0x2f2f3a(0xe3)]({'id':_0x468f4f['id'],'params':{'unitId':_0xdd945d,'subUnitId':_0x26e2a8,'shapeId':_0x2bdba9}}),_0x1fe4a1['push']({'id':_0x42f6e6['id'],'params':{'unitId':_0xdd945d,'subUnitId':_0x26e2a8,'shapeId':_0x2bdba9,'shapeType':_0x556fa4[_0x2f2f3a(0x181)](),'shapeData':_0x556fa4[_0x2f2f3a(0x148)]()}});let _0x3aab67=this[_0x2f2f3a(0x152)][_0x2f2f3a(0x130)](_0xdd945d,_0x26e2a8,_0x2bdba9);if(_0x3aab67)for(let _0x1b2bf9 of _0x3aab67){let _0xae3efb=_0x1b2bf9['lineShapeId'],_0x4d4d14=_0x1b2bf9[_0x2f2f3a(0x18e)],_0x2cf23c=_0x4d4d14?{'from':void 0x0}:{'to':void 0x0},_0x15e93b=_0x4d4d14?{'from':{'shapeId':_0x1b2bf9['shapeId'],'cxnIndex':_0x1b2bf9[_0x2f2f3a(0x177)]}}:{'to':{'shapeId':_0x1b2bf9['shapeId'],'cxnIndex':_0x1b2bf9[_0x2f2f3a(0x177)]}};_0x38200b[_0x2f2f3a(0xe3)]({'id':_0x3c20bc['id'],'params':{'unitId':_0xdd945d,'subUnitId':_0x26e2a8,'shapeId':_0xae3efb,'shapeData':{'relation':_0x2cf23c}}}),_0x1fe4a1['push']({'id':_0x3c20bc['id'],'params':{'unitId':_0xdd945d,'subUnitId':_0x26e2a8,'shapeId':_0xae3efb,'shapeData':{'relation':_0x15e93b}}});}}),{'preRedos':_0x38200b,'redos':[],'preUndos':[],'undos':_0x1fe4a1};}if(_0x3dc834['id']===_0x517876['SetSheetDrawingCommand']['id']){let {drawings:_0x170599}=_0x3dc834[_0x5de457(0x1a5)],_0x40efa4=_0x170599[_0x5de457(0xe9)](_0x5a3a3d=>_0x5a3a3d[_0x5de457(0x1a3)]===_0xfb4ab['DrawingTypeEnum'][_0x5de457(0x115)]);if(_0x40efa4[_0x5de457(0x14e)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x1399ef=[],_0x3845f4=[];for(let _0x21c09b of _0x40efa4){let {unitId:_0x3cf7f2,subUnitId:_0x517142,drawingId:_0x4f5965,transform:_0x586085}=_0x21c09b;if(!_0x3cf7f2||!_0x517142||!_0x4f5965||!_0x586085)continue;let _0xc5b859=this[_0x5de457(0x152)][_0x5de457(0xd9)](_0x3cf7f2,_0x517142,_0x4f5965);if(!_0xc5b859)throw TypeError(_0x5de457(0x15a)+_0xc5b859);if((0x0,_0x530db4[_0x5de457(0x1a0)])(_0xc5b859[_0x5de457(0x181)]())){let _0x3133d5=this[_0x5de457(0x152)]['getLineShapeRelation'](_0x3cf7f2,_0x517142,_0x4f5965);_0x3133d5&&(_0x1399ef[_0x5de457(0xe3)]({'id':_0x3c20bc['id'],'params':{'unitId':_0x3cf7f2,'subUnitId':_0x517142,'shapeId':_0x4f5965,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0x3845f4[_0x5de457(0xe3)]({'id':_0x3c20bc['id'],'params':{'unitId':_0x3cf7f2,'subUnitId':_0x517142,'shapeId':_0x4f5965,'shapeData':{'relation':_0x3133d5}}}));}else{let _0x28698f=this[_0x5de457(0x152)][_0x5de457(0x130)](_0x3cf7f2,_0x517142,_0x4f5965);if(_0x28698f&&_0x28698f['length']>0x0)for(let _0x41d63b of _0x28698f){let _0x40efbd=_0x41d63b[_0x5de457(0xfc)],_0x24f034=_0x41d63b[_0x5de457(0x18e)],_0x4a237f=this['_sheetsShapeService']['getShapeModel'](_0x3cf7f2,_0x517142,_0x40efbd);if(!_0x4a237f)continue;let _0x17e58b=_0x4a237f[_0x5de457(0xe2)](),_0x24da33=_0x4a237f['getEndConnectInfo']();_0x17e58b&&_0x24da33?this[_0x5de457(0x134)](_0x3cf7f2,_0x517142,_0x40efbd,_0x4a237f,_0x17e58b,_0x24da33,_0x1399ef,_0x3845f4,_0x4f5965,_0x586085):this[_0x5de457(0x126)](_0x3cf7f2,_0x517142,_0x40efbd,_0x4a237f,_0x24f034?_0x17e58b:_0x24da33,_0x24f034,_0x1399ef,_0x3845f4,_0x4f5965,_0x586085);}}}return{'preRedos':[],'redos':_0x1399ef,'preUndos':_0x3845f4,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}[_0x465f7e(0x111)](_0xfb6a7,_0x56b895,_0x479eee,_0x406f04,_0x557092){const _0x5c2b60=_0x465f7e;if(!_0x56b895||!_0x479eee)return null;let {shapeId:_0x37d6a8,cxnIndex:_0x4d8255}=_0xfb6a7,_0x2ed62c=this[_0x5c2b60(0x152)]['getShapeModel'](_0x56b895,_0x479eee,_0x37d6a8);if(!_0x2ed62c)return null;let _0x432379=this['_drawingManagerService'][_0x5c2b60(0x171)]({'unitId':_0x56b895,'subUnitId':_0x479eee,'drawingId':_0x37d6a8});if(!(_0x432379!=null&&_0x432379['transform']))return null;let {left:_0x2b5d16=0x0,top:_0x4e5b8c=0x0,width:_0x5acee1=0x0,height:_0x4768a5=0x0,flipX:_0x298f31=!0x1,flipY:_0x28ddf5=!0x1,angle:_0x2b118b}=_0x432379['transform'];if(_0x557092&&_0x406f04===_0x37d6a8){var _0x554411,_0x28881e,_0x327569,_0x5dabf0,_0x3c2e3a,_0x17d39b,_0x401079;_0x2b5d16=(_0x554411=_0x557092['left'])==null?_0x2b5d16:_0x554411,_0x4e5b8c=(_0x28881e=_0x557092[_0x5c2b60(0x17b)])==null?_0x4e5b8c:_0x28881e,_0x5acee1=(_0x327569=_0x557092[_0x5c2b60(0x14a)])==null?_0x5acee1:_0x327569,_0x4768a5=(_0x5dabf0=_0x557092[_0x5c2b60(0xdb)])==null?_0x4768a5:_0x5dabf0,_0x298f31=(_0x3c2e3a=_0x557092[_0x5c2b60(0xea)])==null?_0x298f31:_0x3c2e3a,_0x28ddf5=(_0x17d39b=_0x557092[_0x5c2b60(0xe5)])==null?_0x28ddf5:_0x17d39b,_0x2b118b=(_0x401079=_0x557092['angle'])==null?_0x2b118b:_0x401079;}_0x2ed62c[_0x5c2b60(0x170)]({'width':_0x5acee1,'height':_0x4768a5});let _0x4c589e=_0x2ed62c[_0x5c2b60(0x139)]()[_0x5c2b60(0x19b)](_0x10fc85=>_0x10fc85['index']===_0x4d8255);if(!_0x4c589e)return null;let _0x185ad1=_0x298f31?_0x5acee1-_0x4c589e['x']:_0x4c589e['x'],_0x322b36=_0x28ddf5?_0x4768a5-_0x4c589e['y']:_0x4c589e['y'];if(_0x2b118b!==0x0&&_0x2b118b!=null){let _0xb8baa0=_0x2b118b*Math['PI']/0xb4,_0xbed173=Math[_0x5c2b60(0x147)](_0xb8baa0),_0x35001c=Math['sin'](_0xb8baa0),_0x46c09f=_0x5acee1/0x2,_0x52c229=_0x4768a5/0x2,_0x1d9dea=_0x185ad1-_0x46c09f,_0x33bf95=_0x322b36-_0x52c229;_0x185ad1=_0x46c09f+_0x1d9dea*_0xbed173-_0x33bf95*_0x35001c,_0x322b36=_0x52c229+_0x1d9dea*_0x35001c+_0x33bf95*_0xbed173;}_0x185ad1+=_0x2b5d16,_0x322b36+=_0x4e5b8c;let _0x43d167=_0x4c589e[_0x5c2b60(0x112)]/0xea60;_0x298f31&&(_0x43d167=0xb4-_0x43d167),_0x28ddf5&&(_0x43d167=-_0x43d167),_0x43d167+=_0x2b118b||0x0,_0x43d167=(_0x43d167%0x168+0x168)%0x168;let _0x282aa0=(0x0,_0x530db4['getBasicShapeRotateBound'])({'left':_0x2b5d16,'top':_0x4e5b8c,'width':_0x5acee1,'height':_0x4768a5},_0x2b118b||0x0);return{'point':{'x':_0x185ad1,'y':_0x322b36},'angle':_0x43d167,'bounds':_0x282aa0};}[_0x465f7e(0x134)](_0x3090c1,_0x51ffdf,_0xc60658,_0x4d19fc,_0xb1d4a,_0x43e26c,_0x563423,_0x42481c,_0x5c72e1,_0x119917){const _0x44b2b2=_0x465f7e;let _0x187e28=this[_0x44b2b2(0x10b)][_0x44b2b2(0x13b)](_0x3090c1,_0x51ffdf);if(!_0x187e28)return;let _0x59f27c=_0x4d19fc[_0x44b2b2(0x100)](),_0x150f30=_0x4d19fc[_0x44b2b2(0x104)](),_0x77c78c={},_0x185ff3={};_0x150f30['forEach'](_0x53af04=>{const _0x4063d0=_0x44b2b2;let _0x33be2=_0x4d19fc[_0x4063d0(0x17c)](_0x53af04);_0x185ff3[_0x53af04]=_0x33be2==null?0x0:_0x33be2;});let _0x4fa813=this['_getConnectPointInfo'](_0xb1d4a,_0x3090c1,_0x51ffdf,_0x5c72e1,_0x119917),_0x284f1a=this[_0x44b2b2(0x111)](_0x43e26c,_0x3090c1,_0x51ffdf,_0x5c72e1,_0x119917);if(_0x4fa813&&_0x284f1a){let _0x51a806=_0x4d19fc['getShapeType'](),_0x30fc04=(0x0,_0x530db4[_0x44b2b2(0xdf)])(_0x4fa813,_0x284f1a,_0x51a806),_0x15af81=_0x51a806;if(_0x30fc04){let _0xdfa53b=(0x0,_0x530db4[_0x44b2b2(0x168)])(_0x30fc04,_0x4d19fc[_0x44b2b2(0x181)]()),_0x2814e1=this[_0x44b2b2(0x163)][_0x44b2b2(0x18d)](_0x3090c1,_0x51ffdf);if(_0x2814e1&&_0x2814e1[_0xc60658]){let _0x17281c=_0x2814e1[_0xc60658];_0x15af81=_0xdfa53b[_0x44b2b2(0x15c)];for(let [_0x3199de,_0x1fd0e6]of Object['entries'](_0xdfa53b[_0x44b2b2(0x15f)]))_0x77c78c[_0x3199de]=_0x1fd0e6;let _0x9dfe82={..._0x17281c[_0x44b2b2(0x176)],'width':_0xdfa53b['worldRect'][_0x44b2b2(0x14a)],'height':_0xdfa53b[_0x44b2b2(0x16f)][_0x44b2b2(0xdb)],'left':_0xdfa53b['worldRect'][_0x44b2b2(0xda)],'top':_0xdfa53b[_0x44b2b2(0x16f)][_0x44b2b2(0x17b)],'flipX':_0xdfa53b['worldRect'][_0x44b2b2(0xea)],'flipY':_0xdfa53b[_0x44b2b2(0x16f)][_0x44b2b2(0xe5)],'angle':_0xdfa53b[_0x44b2b2(0x17f)]},_0x466b1b=(0x0,_0x517876[_0x44b2b2(0x105)])(_0x9dfe82,_0x187e28),_0x22992f=(0x0,_0x517876[_0x44b2b2(0x116)])(_0x9dfe82,_0x187e28),_0x3ad58b={'unitId':_0x3090c1,'subUnitId':_0x51ffdf,'drawingType':_0xfb4ab[_0x44b2b2(0x124)][_0x44b2b2(0x115)],'drawingId':_0xc60658,'transform':_0x9dfe82,'sheetTransform':_0x466b1b,'axisAlignSheetTransform':_0x22992f},{unitId:_0x1a9f8d,subUnitId:_0xde743f,undo:_0x598fe9,redo:_0x49969c,objects:_0x283db6}=this[_0x44b2b2(0x163)][_0x44b2b2(0x166)]([_0x3ad58b]);_0x563423['push']({'id':_0x517876[_0x44b2b2(0xf5)]['id'],'params':{'unitId':_0x1a9f8d,'subUnitId':_0xde743f,'op':_0x49969c,'objects':_0x283db6,'type':_0x517876[_0x44b2b2(0x167)][_0x44b2b2(0xfa)]}}),_0x42481c[_0x44b2b2(0xe3)]({'id':_0x517876[_0x44b2b2(0xf5)]['id'],'params':{'unitId':_0x1a9f8d,'subUnitId':_0xde743f,'op':_0x598fe9,'objects':_0x283db6,'type':_0x517876['DrawingApplyType']['UPDATE']}});}_0x4d19fc[_0x44b2b2(0x131)]();}_0x563423[_0x44b2b2(0xe3)]({'id':_0x3c20bc['id'],'params':{'unitId':_0x3090c1,'subUnitId':_0x51ffdf,'shapeId':_0xc60658,'shapeType':_0x15af81,'shapeData':{'adjustValues':_0x77c78c,'relation':_0x59f27c}}}),_0x42481c['push']({'id':_0x3c20bc['id'],'params':{'unitId':_0x3090c1,'subUnitId':_0x51ffdf,'shapeId':_0xc60658,'shapeType':_0x51a806,'shapeData':{'adjustValues':_0x185ff3,'relation':_0x59f27c}}});}}[_0x465f7e(0x126)](_0xf0bc75,_0x454218,_0x3de8b5,_0x5aff88,_0xa536f7,_0x583e24,_0x2615a3,_0x9f97a0,_0x2495ed,_0x4f8366){const _0x363ea1=_0x465f7e;var _0x5d9679;if(!_0xa536f7)return;let _0x2ebacd=this[_0x363ea1(0x10b)]['getSkeleton'](_0xf0bc75,_0x454218);if(!_0x2ebacd)return;let _0x59b41d=(_0x5d9679=this['_drawingManagerService'][_0x363ea1(0x171)]({'unitId':_0xf0bc75,'subUnitId':_0x454218,'drawingId':_0x2495ed}))==null?void 0x0:_0x5d9679[_0x363ea1(0x176)];if(!_0x59b41d)return;let _0x5b3bd9=_0x59b41d['left']!==_0x4f8366[_0x363ea1(0xda)]||_0x59b41d[_0x363ea1(0x17b)]!==_0x4f8366[_0x363ea1(0x17b)],_0x1d764b=_0x59b41d['width']!==_0x4f8366[_0x363ea1(0x14a)]||_0x59b41d['height']!==_0x4f8366['height'],_0x1481fa=_0x59b41d[_0x363ea1(0xea)]!==_0x4f8366[_0x363ea1(0xea)]||_0x59b41d[_0x363ea1(0xe5)]!==_0x4f8366['flipY'],_0xb2c390=_0x59b41d[_0x363ea1(0x172)]!==_0x4f8366[_0x363ea1(0x172)];if(_0x5b3bd9&&!_0x1d764b&&!_0x1481fa&&!_0xb2c390){var _0x195ff8,_0x347c7f,_0x1e2cf7,_0x11211b;let _0x17ac23=((_0x195ff8=_0x4f8366[_0x363ea1(0xda)])==null?0x0:_0x195ff8)-((_0x347c7f=_0x59b41d['left'])==null?0x0:_0x347c7f),_0x52c9d8=((_0x1e2cf7=_0x4f8366['top'])==null?0x0:_0x1e2cf7)-((_0x11211b=_0x59b41d[_0x363ea1(0x17b)])==null?0x0:_0x11211b),_0x47343a=this['_drawingManagerService'][_0x363ea1(0x18d)](_0xf0bc75,_0x454218);if(_0x47343a&&_0x47343a[_0x3de8b5]){var _0x58f19d,_0x405972,_0x2f9b4e,_0x396626;let _0x295ff5=_0x47343a[_0x3de8b5],_0x5eb8fb={..._0x295ff5[_0x363ea1(0x176)],'left':((_0x58f19d=(_0x405972=_0x295ff5['transform'])==null?void 0x0:_0x405972['left'])==null?0x0:_0x58f19d)+_0x17ac23,'top':((_0x2f9b4e=(_0x396626=_0x295ff5[_0x363ea1(0x176)])==null?void 0x0:_0x396626[_0x363ea1(0x17b)])==null?0x0:_0x2f9b4e)+_0x52c9d8},_0x419caf=(0x0,_0x517876[_0x363ea1(0x105)])(_0x5eb8fb,_0x2ebacd),_0x1592a3=(0x0,_0x517876[_0x363ea1(0x116)])(_0x5eb8fb,_0x2ebacd),_0x11a77f={'unitId':_0xf0bc75,'subUnitId':_0x454218,'drawingType':_0xfb4ab['DrawingTypeEnum'][_0x363ea1(0x115)],'drawingId':_0x3de8b5,'transform':_0x5eb8fb,'sheetTransform':_0x419caf,'axisAlignSheetTransform':_0x1592a3},{unitId:_0x2b36d5,subUnitId:_0x404db3,undo:_0x1f85e0,redo:_0xcf833f,objects:_0x35cfae}=this[_0x363ea1(0x163)]['getBatchUpdateOp']([_0x11a77f]);_0x2615a3[_0x363ea1(0xe3)]({'id':_0x517876[_0x363ea1(0xf5)]['id'],'params':{'unitId':_0x2b36d5,'subUnitId':_0x404db3,'op':_0xcf833f,'objects':_0x35cfae,'type':_0x517876['DrawingApplyType'][_0x363ea1(0xfa)]}}),_0x9f97a0['push']({'id':_0x517876['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2b36d5,'subUnitId':_0x404db3,'op':_0x1f85e0,'objects':_0x35cfae,'type':_0x517876[_0x363ea1(0x167)][_0x363ea1(0xfa)]}});}}else{let _0x583f59=_0x5aff88[_0x363ea1(0xe2)](),_0x4c695c=_0x5aff88[_0x363ea1(0x190)]();this['_addLineRerouteUpdates'](_0xf0bc75,_0x454218,_0x3de8b5,_0x5aff88,_0x583f59,_0x4c695c,_0x2615a3,_0x9f97a0,_0x2495ed,_0x4f8366);}}};_0x94083=_0x25c294([_0x4be714(0x0,_0xfb4ab[_0x465f7e(0x106)]),_0x4be714(0x1,(0x0,_0xfb4ab[_0x465f7e(0x14c)])(_0xec1f4e[_0x465f7e(0x108)])),_0x4be714(0x2,(0x0,_0xfb4ab[_0x465f7e(0x14c)])(_0xec1f4e[_0x465f7e(0x1a1)])),_0x4be714(0x3,(0x0,_0xfb4ab[_0x465f7e(0x14c)])(_0x4819b3)),_0x4be714(0x4,(0x0,_0xfb4ab[_0x465f7e(0x14c)])(_0x3402d7[_0x465f7e(0x155)]))],_0x94083);let _0x340227=class extends _0xfb4ab[_0x465f7e(0xf0)]{constructor(_0x588ef3=_0x38a247,_0x17aa5f,_0x405b2f,_0x3afb47){const _0x455d1f=_0x465f7e;super(),this[_0x455d1f(0x164)]=_0x588ef3,this[_0x455d1f(0x125)]=_0x17aa5f,this['_commandService']=_0x405b2f,this[_0x455d1f(0x184)]=_0x3afb47;let {..._0x16a4fd}=(0x0,_0xfb4ab[_0x455d1f(0x195)])({},_0x38a247,this['_config']);this['_configService'][_0x455d1f(0xff)](_0x1c97b8,_0x16a4fd);}[_0x465f7e(0x12c)](){const _0x3887c6=_0x465f7e;let _0x2042a9=this['_injector'];[[_0x4e5860],[_0x4819b3],[_0x94083]][_0x3887c6(0x17d)](_0x113044=>_0x2042a9[_0x3887c6(0x19a)](_0x113044)),(0x0,_0xfb4ab[_0x3887c6(0xde)])(_0x2042a9,[[_0x4819b3],[_0x94083]]);}};_0x4e862d(_0x340227,_0x465f7e(0xf1),_0xfb4ab[_0x465f7e(0x10d)][_0x465f7e(0x101)]),_0x4e862d(_0x340227,_0x465f7e(0x178),_0x465f7e(0xef)),_0x4e862d(_0x340227,'packageName',_0x235589),_0x4e862d(_0x340227,_0x465f7e(0x10f),_0x13a1a7),_0x340227=_0x25c294([(0x0,_0xfb4ab[_0x465f7e(0x145)])(_0x5010b3[_0x465f7e(0x159)]),_0x4be714(0x1,(0x0,_0xfb4ab[_0x465f7e(0x14c)])(_0xfb4ab[_0x465f7e(0xfb)])),_0x4be714(0x2,_0xfb4ab['ICommandService']),_0x4be714(0x3,_0xfb4ab[_0x465f7e(0x185)])],_0x340227),_0x41c456[_0x465f7e(0x199)]=0xc8,_0x41c456[_0x465f7e(0xe4)]=0xc8,_0x41c456[_0x465f7e(0x14b)]=_0x383020,_0x41c456[_0x465f7e(0xf9)]=_0x42f6e6,_0x41c456[_0x465f7e(0x14f)]=_0x468f4f,_0x41c456[_0x465f7e(0x174)]=_0x3d662d,_0x41c456[_0x465f7e(0x11e)]=_0xbeaf66,Object[_0x465f7e(0x117)](_0x41c456,_0x465f7e(0x15e),{'enumerable':!0x0,'get':function(){return _0x4819b3;}}),_0x41c456[_0x465f7e(0x12e)]=_0x4b6993,Object[_0x465f7e(0x117)](_0x41c456,_0x465f7e(0x18f),{'enumerable':!0x0,'get':function(){return _0x340227;}}),_0x41c456['UpdateConnectorRelationCommand']=_0x56f6ba,_0x41c456[_0x465f7e(0x17e)]=_0x2bc9e5,_0x41c456['UpdateSheetsShapeDataMutation']=_0x3c20bc,_0x41c456[_0x465f7e(0x1a4)]=_0x5127c3,_0x41c456[_0x465f7e(0xe8)]=_0x1657c3;}));function _0x1bf7(){const _0x450ea4=['getEndConnectInfo','fill','getSheetCommandTarget','call','_sheetInterceptorService','merge','keys','_disposed','startY','DEFAULT_SHAPE_HEIGHT','add','find','RemoveSheetDrawingCommand','removeShape','ClearSheetDrawingTransformerOperation','@univerjs/drawing','isConnectorShape','SheetSkeletonService','borderEnabled','drawingType','UpdateSheetsShapeTypeCommand','params','disposeWithMe','exports','_commandService','clear','get','getShapeDataById','UniverProLicense','IUniverInstanceService','syncExecuteCommand','getShapeModel','left','height','startX','getCellIndexAndOffsetByPosition','touchDependencies','routeConnectorLineShape','registerCommand','sheet.command.set-shape-drawing-data','getStartConnectInfo','push','DEFAULT_SHAPE_WIDTH','flipY','UniverSheetsDrawing','object','UpdateSheetsShapeTypeMutation','filter','flipX','every','sheet.mutation.update-shape-data','relation','pushUndoRedo','SHEET_SHAPE_PLUGIN','Plugin','type','9HrXbDb','SetSheetDrawingCommand','assign','SetDrawingApplyMutation','1142865gGbBay','shapeData','@univerjs/sheets-drawing','InsertSheetsShapeMutation','UPDATE','Injector','lineShapeId','_shapeModelManagerMap','_shapes','setConfig','getShapeRelation','UNIVER_SHEET','addShape','1140736eyDbID','getAdjustNames','transformToDrawingPosition','ICommandService','ShapeModel','SheetInterceptorService','constructor','isLineShape','_sheetSkeletonService','has','UniverInstanceType','_initCommands','version','toPrimitive','_getConnectPointInfo','ang','set','ISheetDrawingService','DRAWING_SHAPE','transformToAxisAlignPosition','defineProperty','setShapeData','redos','toStringTag','getCellWithCoordByIndex','COMMAND','decorate','SetSheetsShapeRotateCommand','CommandType','@univerjs/core','sheet.command.insert-shape','preUndos','function','DrawingTypeEnum','_injector','_addLineFollowShapeUpdates','sequenceExecute','from','delete','_initSnapshot','IUndoRedoService','onStarting','resizeEnabled','ToggleSheetsShapeFlipCommand','symbol','getBasicShapeRelation','removeLinePoints','interceptCommand','UniverCore','_addLineRerouteUpdates','sheet.command.set-shape-rotate','registerPluginResource','UniverProSheetsShape','UniverDrawing','getConnectionSiteList','442356YkDMGY','getSkeleton','105078tnowIv','@univerjs-pro/sheets-shape','sheet.mutation.insert-shape','preRedos','2234094TJTWcK','_initCommandInterceptor','stringify','prototype','position','DependentOn','_ensureShapeModelManager','cos','getShapeData','getLineShapeRelation','width','InsertShapeCommand','Inject','@univerjs/sheets','length','RemoveSheetsShapeMutation','Module','21052940gWfcrY','_sheetsShapeService','hasShape','UniverSheets','IDrawingManagerService','range','sheet.mutation.update-shape-type','insertShape','UniverLicensePlugin','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','setShapeType','lineType','sheet.command.update-line-shape-resize','SheetsShapeService','adjustValues','parse','data','86bWLwtl','_drawingManagerService','_config','fromJSON','getBatchUpdateOp','DrawingApplyType','computeConnectorRouteLayout','IResourceManagerService','toJSON','getBatchAddOp','sheets-shape.config','generateRandomId','dispose','worldRect','updateContext','getDrawingByParam','angle','MUTATION','SetShapeDrawingDataCommand','shapeId','transform','cxnIndex','pluginName','string','sheet.mutation.remove-shape','top','getAdjustValueByName','forEach','UpdateLineShapeResizeCommand','rotation','onCommandExecute','getShapeType','Disposable','undos','_configService','IConfigService','21LTwZwJ','_serializeShapeForUnit','rotateEnabled','_linesIds','_resourcesManagerService','1168OxmiDr','_deserializeShapeForUnit','getDrawingData','isFrom','UniverSheetsShapePlugin'];_0x1bf7=function(){return _0x450ea4;};return _0x1bf7();}
1
+ function _0x3b1a(_0x135d48,_0x569f33){_0x135d48=_0x135d48-0xe4;const _0x2dc395=_0x2dc3();let _0x3b1a13=_0x2dc395[_0x135d48];return _0x3b1a13;}(function(_0x3b76ee,_0x85b584){const _0xed9998=_0x3b1a,_0x54b66f=_0x3b76ee();while(!![]){try{const _0x357017=parseInt(_0xed9998(0xf1))/0x1+parseInt(_0xed9998(0x137))/0x2*(-parseInt(_0xed9998(0x146))/0x3)+-parseInt(_0xed9998(0x118))/0x4+parseInt(_0xed9998(0x155))/0x5*(parseInt(_0xed9998(0x1a4))/0x6)+parseInt(_0xed9998(0x151))/0x7+-parseInt(_0xed9998(0x102))/0x8+-parseInt(_0xed9998(0x14d))/0x9;if(_0x357017===_0x85b584)break;else _0x54b66f['push'](_0x54b66f['shift']());}catch(_0x21fa6c){_0x54b66f['push'](_0x54b66f['shift']());}}}(_0x2dc3,0xe37c8),function(_0x4b4f23,_0x41ff25){const _0x56f1bd=_0x3b1a;typeof exports==_0x56f1bd(0x19b)&&typeof module<'u'?_0x41ff25(exports,require(`@univerjs-pro/engine-shape`),require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs/sheets-drawing`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x56f1bd(0x1b3)]?define([_0x56f1bd(0x171),_0x56f1bd(0x135),'@univerjs/core',_0x56f1bd(0x11b),'@univerjs/sheets-drawing','@univerjs-pro/license','@univerjs/drawing'],_0x41ff25):(_0x4b4f23=typeof globalThis<'u'?globalThis:_0x4b4f23||self,_0x41ff25(_0x4b4f23[_0x56f1bd(0x16c)]={},_0x4b4f23[_0x56f1bd(0x189)],_0x4b4f23[_0x56f1bd(0x136)],_0x4b4f23[_0x56f1bd(0x10b)],_0x4b4f23[_0x56f1bd(0x129)],_0x4b4f23[_0x56f1bd(0xfb)],_0x4b4f23['UniverDrawing']));}(this,function(_0xf62811,_0x35954e,_0x6d5cfa,_0x34f13c,_0x58b074,_0x22bc7c,_0x5c4be5){const _0x1219e9=_0x3b1a;Object['defineProperty'](_0xf62811,Symbol[_0x1219e9(0x1ab)],{'value':_0x1219e9(0x177)});function _0x53dd38(_0x44576d){'@babel/helpers - typeof';const _0xd30030=_0x1219e9;return _0x53dd38=typeof Symbol=='function'&&typeof Symbol[_0xd30030(0x114)]==_0xd30030(0x19d)?function(_0x4d1bd7){return typeof _0x4d1bd7;}:function(_0x564b1c){const _0x98f664=_0xd30030;return _0x564b1c&&typeof Symbol==_0x98f664(0x18b)&&_0x564b1c[_0x98f664(0x104)]===Symbol&&_0x564b1c!==Symbol[_0x98f664(0xf3)]?_0x98f664(0x19d):typeof _0x564b1c;},_0x53dd38(_0x44576d);}function _0x46fc11(_0x27ff14,_0x12bef7){const _0x95709f=_0x1219e9;if(_0x53dd38(_0x27ff14)!='object'||!_0x27ff14)return _0x27ff14;var _0x470f91=_0x27ff14[Symbol[_0x95709f(0x15b)]];if(_0x470f91!==void 0x0){var _0x2d325a=_0x470f91[_0x95709f(0x11c)](_0x27ff14,_0x12bef7||_0x95709f(0x196));if(_0x53dd38(_0x2d325a)!='object')return _0x2d325a;throw TypeError(_0x95709f(0x115));}return(_0x12bef7===_0x95709f(0x13c)?String:Number)(_0x27ff14);}function _0x3e9b02(_0x1b1532){const _0x1b957f=_0x1219e9;var _0x23e863=_0x46fc11(_0x1b1532,_0x1b957f(0x13c));return _0x53dd38(_0x23e863)==_0x1b957f(0x19d)?_0x23e863:_0x23e863+'';}function _0x10ded4(_0x2d0c7f,_0x4f0fb3,_0x1c936d){const _0x200920=_0x1219e9;return(_0x4f0fb3=_0x3e9b02(_0x4f0fb3))in _0x2d0c7f?Object[_0x200920(0x15a)](_0x2d0c7f,_0x4f0fb3,{'value':_0x1c936d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2d0c7f[_0x4f0fb3]=_0x1c936d,_0x2d0c7f;}var _0x77a927=class extends _0x6d5cfa[_0x1219e9(0x16f)]{constructor(){const _0x40bbea=_0x1219e9;super(),_0x10ded4(this,_0x40bbea(0x13e),new Map()),_0x10ded4(this,_0x40bbea(0x154),new Set()),_0x10ded4(this,'_groupIds',new Set());}['addShape'](_0x519552,_0x48faa1,_0x479d3e){const _0x570bc2=_0x1219e9;let _0xc8bf14=new _0x35954e[(_0x570bc2(0xec))](_0x519552,_0x48faa1,_0x479d3e);return this[_0x570bc2(0x13e)][_0x570bc2(0x16d)](_0x48faa1,_0xc8bf14),(0x0,_0x35954e[_0x570bc2(0x110)])(_0x519552)&&this[_0x570bc2(0x154)][_0x570bc2(0xe8)](_0x48faa1),_0xc8bf14;}[_0x1219e9(0xf6)](_0x29cc27){const _0x59c50f=_0x1219e9;let _0x2f2893=[];for(let _0x1b9804 of this[_0x59c50f(0x154)]){let _0x41b541=this['_shapes'][_0x59c50f(0x1a7)](_0x1b9804);if(_0x41b541){let _0xbdafa1=_0x41b541[_0x59c50f(0x158)]();if(_0xbdafa1){var _0x207931,_0x24cabb;((_0x207931=_0xbdafa1[_0x59c50f(0x14c)])==null?void 0x0:_0x207931['shapeId'])===_0x29cc27&&_0x2f2893[_0x59c50f(0xfe)]({..._0xbdafa1[_0x59c50f(0x14c)],'lineShapeId':_0x1b9804,'isFrom':!0x0}),((_0x24cabb=_0xbdafa1['to'])==null?void 0x0:_0x24cabb[_0x59c50f(0x162)])===_0x29cc27&&_0x2f2893[_0x59c50f(0xfe)]({..._0xbdafa1['to'],'lineShapeId':_0x1b9804,'isFrom':!0x1});}}}return _0x2f2893;}[_0x1219e9(0x17a)](_0x3ff418){const _0x69bb9b=_0x1219e9;let _0x218700=this[_0x69bb9b(0x13e)][_0x69bb9b(0x1a7)](_0x3ff418);if(_0x218700)return _0x218700[_0x69bb9b(0x158)]();}[_0x1219e9(0x128)](_0x305f38){const _0x384cd5=_0x1219e9;let _0x2b869b=this[_0x384cd5(0x13e)][_0x384cd5(0x1a7)](_0x305f38);if(_0x2b869b)return _0x2b869b[_0x384cd5(0x128)]();}[_0x1219e9(0x1b1)](_0x4850d9){const _0x2ffb45=_0x1219e9;return this['_shapes'][_0x2ffb45(0x174)](_0x4850d9);}[_0x1219e9(0x116)](_0x2e4e59){const _0x21a96c=_0x1219e9;let _0x1268f6=this[_0x21a96c(0x13e)][_0x21a96c(0x1a7)](_0x2e4e59);_0x1268f6&&((0x0,_0x35954e[_0x21a96c(0x110)])(_0x1268f6[_0x21a96c(0x128)]())&&this['_linesIds'][_0x21a96c(0xf9)](_0x2e4e59),this['_shapes'][_0x21a96c(0xf9)](_0x2e4e59));}['toJSON'](){const _0x2f929c=_0x1219e9;let _0x3c1ed7=[];return this[_0x2f929c(0x13e)][_0x2f929c(0x18a)](_0x35fb76=>{const _0x1fc6da=_0x2f929c;_0x3c1ed7[_0x1fc6da(0xfe)](_0x35fb76['toJSON']());}),_0x3c1ed7;}['fromJSON'](_0x1d08ab){const _0x22e5d9=_0x1219e9;for(let _0x5a4c1e of _0x1d08ab){let {id:_0xd079fd,shapeType:_0x94a815}=_0x5a4c1e,_0x2eeca9=this[_0x22e5d9(0xf0)](_0x94a815,_0xd079fd,_0x5a4c1e[_0x22e5d9(0xe4)]);_0x2eeca9&&_0x2eeca9[_0x22e5d9(0x1a9)]()&&this[_0x22e5d9(0x154)]['add'](_0xd079fd);}}[_0x1219e9(0x140)](){const _0x10b053=_0x1219e9;this[_0x10b053(0x107)]||(this[_0x10b053(0x13e)][_0x10b053(0x18a)](_0x4bb1cc=>{const _0x3603db=_0x10b053;_0x4bb1cc[_0x3603db(0x140)]();}),this['_shapes'][_0x10b053(0x10c)](),this[_0x10b053(0x154)][_0x10b053(0x10c)](),this[_0x10b053(0x134)][_0x10b053(0x10c)](),super[_0x10b053(0x140)]());}};function _0x77879f(_0x238dd0,_0x126f23){return function(_0x1c0945,_0x20f6bc){_0x126f23(_0x1c0945,_0x20f6bc,_0x238dd0);};}function _0x216e33(_0x28af58,_0x58fc9f,_0x179c5d,_0x4d5cdd){const _0x1211bf=_0x1219e9;var _0x10d79=arguments[_0x1211bf(0x184)],_0x5c9645=_0x10d79<0x3?_0x58fc9f:_0x4d5cdd===null?_0x4d5cdd=Object[_0x1211bf(0x165)](_0x58fc9f,_0x179c5d):_0x4d5cdd,_0x4b9b33;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x1211bf(0x18b))_0x5c9645=Reflect[_0x1211bf(0x199)](_0x28af58,_0x58fc9f,_0x179c5d,_0x4d5cdd);else{for(var _0x2380e4=_0x28af58[_0x1211bf(0x184)]-0x1;_0x2380e4>=0x0;_0x2380e4--)(_0x4b9b33=_0x28af58[_0x2380e4])&&(_0x5c9645=(_0x10d79<0x3?_0x4b9b33(_0x5c9645):_0x10d79>0x3?_0x4b9b33(_0x58fc9f,_0x179c5d,_0x5c9645):_0x4b9b33(_0x58fc9f,_0x179c5d))||_0x5c9645);}return _0x10d79>0x3&&_0x5c9645&&Object[_0x1211bf(0x15a)](_0x58fc9f,_0x179c5d,_0x5c9645),_0x5c9645;}let _0xeca84=class extends _0x6d5cfa[_0x1219e9(0x16f)]{constructor(_0x3192aa){const _0x403916=_0x1219e9;super(),this[_0x403916(0x175)]=_0x3192aa,_0x10ded4(this,_0x403916(0x131),new Map()),this[_0x403916(0x159)]();}[_0x1219e9(0x157)](_0x2b7136,_0x3a484a){const _0x213715=_0x1219e9;let _0x1369e6=this['_shapeModelManagerMap'][_0x213715(0x1a7)](_0x2b7136);_0x1369e6||(_0x1369e6=new Map(),this[_0x213715(0x131)][_0x213715(0x16d)](_0x2b7136,_0x1369e6));let _0x25d90d=_0x1369e6[_0x213715(0x1a7)](_0x3a484a);return _0x25d90d||(_0x25d90d=new _0x77a927(),_0x1369e6[_0x213715(0x16d)](_0x3a484a,_0x25d90d)),_0x25d90d;}['insertShape'](_0x341ad2,_0x523efa,_0x1e4bda,_0x575baa,_0x34ffc2){const _0x51dac8=_0x1219e9;this[_0x51dac8(0x157)](_0x341ad2,_0x523efa)[_0x51dac8(0xf0)](_0x1e4bda,_0x575baa,_0x34ffc2);}['removeShape'](_0x383d74,_0x1cf909,_0x5f2ff0){const _0x30b3bc=_0x1219e9;this[_0x30b3bc(0x157)](_0x383d74,_0x1cf909)['removeShape'](_0x5f2ff0);}[_0x1219e9(0x1b4)](_0x1f3149,_0x376092,_0x51281f){const _0x193e7f=_0x1219e9;return this['_ensureShapeModelManager'](_0x1f3149,_0x376092)[_0x193e7f(0x128)](_0x51281f);}[_0x1219e9(0x128)](_0x35235f,_0x39c13b,_0x254999){const _0x107ae2=_0x1219e9;return this[_0x107ae2(0x157)](_0x35235f,_0x39c13b)[_0x107ae2(0x128)](_0x254999);}[_0x1219e9(0x1b1)](_0x59c896,_0x131d97,_0x21fb3c){const _0x296c0a=_0x1219e9;return this[_0x296c0a(0x157)](_0x59c896,_0x131d97)['hasShape'](_0x21fb3c);}[_0x1219e9(0x197)](_0x3887df,_0x5fcfdf,_0x5c023d){const _0x24a045=_0x1219e9;return this[_0x24a045(0x157)](_0x3887df,_0x5fcfdf)['getShapeType'](_0x5c023d);}[_0x1219e9(0x17d)](_0x50a729,_0x18ee7d,_0x3ed6da){const _0x5c5a25=_0x1219e9;let _0x3d80b1=this[_0x5c5a25(0x157)](_0x50a729,_0x18ee7d);if(!_0x3d80b1[_0x5c5a25(0x128)](_0x3ed6da))return;let _0x517de9=_0x3d80b1[_0x5c5a25(0x13e)][_0x5c5a25(0x1a7)](_0x3ed6da);if(_0x517de9)return _0x517de9[_0x5c5a25(0x156)]();}[_0x1219e9(0x145)](_0x4fe02a,_0x7a74ee,_0x3f6a87){const _0x1dcd35=_0x1219e9;return this[_0x1dcd35(0x157)](_0x4fe02a,_0x7a74ee)[_0x1dcd35(0x13e)][_0x1dcd35(0x1a7)](_0x3f6a87);}[_0x1219e9(0xf6)](_0x5f018e,_0x5a08db,_0x36fda7){const _0xe9bfa2=_0x1219e9;return this[_0xe9bfa2(0x157)](_0x5f018e,_0x5a08db)[_0xe9bfa2(0xf6)](_0x36fda7);}[_0x1219e9(0x17a)](_0x1d2c2f,_0x1eccea,_0x13739c){const _0x4eb9a3=_0x1219e9;let _0x3189df=this[_0x4eb9a3(0x157)](_0x1d2c2f,_0x1eccea)[_0x4eb9a3(0x13e)]['get'](_0x13739c);if(_0x3189df)return _0x3189df['getShapeRelation']();}[_0x1219e9(0x19e)](){}[_0x1219e9(0x181)](_0x28f586){const _0xbe9d0c=_0x1219e9;let _0x555799={},_0x482608=this[_0xbe9d0c(0x131)][_0xbe9d0c(0x1a7)](_0x28f586);return _0x482608&&_0x482608[_0xbe9d0c(0x18a)]((_0x544d2d,_0x44e05e)=>{const _0x12801a=_0xbe9d0c;let _0x263580=_0x544d2d[_0x12801a(0x148)]();_0x263580[_0x12801a(0x184)]>0x0&&(_0x555799[_0x44e05e]=_0x263580);}),JSON[_0xbe9d0c(0x121)](_0x555799);}['_deserializeShapeForUnit'](_0x3dda11,_0x3bfe18){const _0xfeac80=_0x1219e9;Object['keys'](_0x3bfe18)[_0xfeac80(0x18a)](_0x3074a4=>{const _0x258671=_0xfeac80;this[_0x258671(0x157)](_0x3dda11,_0x3074a4)[_0x258671(0x17e)](_0x3bfe18[_0x3074a4]);});}[_0x1219e9(0x148)](){const _0x105b1b=_0x1219e9;let _0x7e47a5={};return this[_0x105b1b(0x131)]['forEach']((_0x2aeda6,_0x560f19)=>{const _0x4d8a44=_0x105b1b;_0x7e47a5[_0x560f19]={},_0x2aeda6[_0x4d8a44(0x18a)]((_0x182945,_0x2eea6e)=>{const _0x40b02f=_0x4d8a44;_0x7e47a5[_0x560f19][_0x2eea6e]=_0x182945[_0x40b02f(0x148)]();});}),_0x7e47a5;}[_0x1219e9(0x17e)](_0x5e494f){const _0x11b6b3=_0x1219e9;Object['keys'](_0x5e494f)[_0x11b6b3(0x18a)](_0x24c9d6=>{const _0x409396=_0x11b6b3;let _0x283872=_0x5e494f[_0x24c9d6];Object[_0x409396(0x1b5)](_0x283872)[_0x409396(0x18a)](_0x2e3a58=>{const _0x460bef=_0x409396;this[_0x460bef(0x157)](_0x24c9d6,_0x2e3a58)[_0x460bef(0x17e)](_0x283872[_0x2e3a58]);});});}[_0x1219e9(0x159)](){const _0x56f710=_0x1219e9;this['_resourcesManagerService'][_0x56f710(0x10e)]({'pluginName':'SHEET_SHAPE_PLUGIN','businesses':[_0x6d5cfa[_0x56f710(0x170)][_0x56f710(0xea)]],'toJson':_0x54119a=>this['_serializeShapeForUnit'](_0x54119a),'parseJson':_0x5df233=>JSON['parse'](_0x5df233),'onLoad':(_0x1b5ec5,_0x42a58b)=>{const _0x30a9ad=_0x56f710;this[_0x30a9ad(0x172)](_0x1b5ec5,_0x42a58b);},'onUnLoad':_0x32b064=>{const _0x4f7bf1=_0x56f710;let _0x36bf38=this[_0x4f7bf1(0x131)][_0x4f7bf1(0x1a7)](_0x32b064);_0x36bf38&&(_0x36bf38[_0x4f7bf1(0x18a)](_0x2799ec=>{_0x2799ec['dispose']();}),this[_0x4f7bf1(0x131)][_0x4f7bf1(0xf9)](_0x32b064));}});}[_0x1219e9(0x140)](){this['_shapeModelManagerMap']['forEach'](_0x5c9a8f=>{const _0x1f21ce=_0x3b1a;_0x5c9a8f[_0x1f21ce(0x18a)](_0xb65b17=>{const _0x1a122e=_0x1f21ce;_0xb65b17[_0x1a122e(0x140)]();});});}};_0xeca84=_0x216e33([_0x77879f(0x0,_0x6d5cfa['IResourceManagerService'])],_0xeca84);let _0x4c12a4={'id':_0x1219e9(0x18f),'type':_0x6d5cfa['CommandType'][_0x1219e9(0x191)],'handler':(_0x114071,_0x3271bd)=>{const _0x2b734c=_0x1219e9;let {unitId:_0x51b6e4,subUnitId:_0xe78f00,shapeType:_0x2f15a0,shapeId:_0x3d0f47,shapeData:_0x5d9bfb}=_0x3271bd;return _0x114071[_0x2b734c(0x1a7)](_0xeca84)[_0x2b734c(0xf7)](_0x51b6e4,_0xe78f00,_0x2f15a0,_0x3d0f47,_0x5d9bfb),!0x0;}},_0x35f76c={'id':'sheet.mutation.remove-shape','type':_0x6d5cfa[_0x1219e9(0x168)][_0x1219e9(0x191)],'handler':(_0xa4700b,_0xf2684c)=>{const _0x17dd5a=_0x1219e9;let {unitId:_0x5d7b2c,subUnitId:_0x270ad3,shapeId:_0x2c8c1c}=_0xf2684c;return _0xa4700b[_0x17dd5a(0x1a7)](_0xeca84)[_0x17dd5a(0x116)](_0x5d7b2c,_0x270ad3,_0x2c8c1c),!0x0;}},_0x566d8a={'type':_0x6d5cfa[_0x1219e9(0x168)][_0x1219e9(0x164)],'id':'sheet.command.insert-shape','handler':(_0x4bec4f,_0x2a312e)=>{const _0x1184bf=_0x1219e9;var _0x2bc294,_0x4f59d2;let _0x9ac575=(0x0,_0x34f13c[_0x1184bf(0x127)])(_0x4bec4f['get'](_0x6d5cfa['IUniverInstanceService']),_0x2a312e);if(!_0x9ac575)return!0x1;let _0xa52135=_0x4bec4f[_0x1184bf(0x1a7)](_0x34f13c['SheetSkeletonService']),{unitId:_0x5e7d5e,subUnitId:_0x2d335f}=_0x9ac575,_0x42b6e4=_0xa52135['ensureSkeleton'](_0x5e7d5e,_0x2d335f);if(!_0x42b6e4)return!0x1;let _0xa95048=_0x4bec4f['get'](_0x6d5cfa['ICommandService']),_0x4d92a8=_0x4bec4f[_0x1184bf(0x1a7)](_0x6d5cfa['IUndoRedoService']),_0x484985=_0x4bec4f[_0x1184bf(0x1a7)](_0x34f13c['SheetInterceptorService']),_0x57782b=_0x4bec4f['get'](_0x58b074[_0x1184bf(0xe5)]),{shapeType:_0x4b0364,shapeData:_0x45776c}=_0x2a312e,_0x2adfd2=_0x2a312e[_0x1184bf(0x162)]||(0x0,_0x6d5cfa['generateRandomId'])(),_0x33cf7b={'unitId':_0x5e7d5e,'subUnitId':_0x2d335f,'shapeId':_0x2adfd2,'shapeType':_0x4b0364,'shapeData':_0x45776c},_0x378640=_0x2a312e['width']||0xc8,_0x421ba8=_0x2a312e['height']||0xc8,_0x1cd03a=0x0,_0x4dd1ec=0x0,_0x294611={'row':0x0,'rowOffset':0x0,'column':0x0,'columnOffset':0x0},_0x120b31={'row':0x0,'rowOffset':0x0,'column':0x0,'columnOffset':0x0};if(_0x2a312e[_0x1184bf(0x106)]){let {x:_0x4a38c5,y:_0x57fdb8}=_0x2a312e[_0x1184bf(0x106)];_0x1cd03a=_0x4a38c5,_0x4dd1ec=_0x57fdb8,_0x294611=_0x42b6e4['getCellIndexAndOffsetByPosition'](_0x4a38c5,_0x57fdb8),_0x120b31=_0x42b6e4[_0x1184bf(0x192)](_0x4a38c5+_0x378640,_0x57fdb8+_0x421ba8);}else{if(_0x2a312e[_0x1184bf(0xf5)]){let {startRow:_0x14dbab,startColumn:_0x3e1fbe}=_0x2a312e[_0x1184bf(0xf5)];_0x294611={'row':_0x14dbab,'rowOffset':0xa,'column':_0x3e1fbe,'columnOffset':0xa};let _0x22a00c=_0x42b6e4[_0x1184bf(0x178)](_0x14dbab,_0x3e1fbe);_0x1cd03a=_0x22a00c[_0x1184bf(0x12e)]+0xa,_0x4dd1ec=_0x22a00c['startY']+0xa,_0x120b31=_0x42b6e4[_0x1184bf(0x192)](_0x1cd03a+_0x378640,_0x4dd1ec+_0x421ba8);}}let _0x6c40d5={'from':_0x294611,'to':_0x120b31},_0x143592={'unitId':_0x5e7d5e,'subUnitId':_0x2d335f,'drawingId':_0x2adfd2,'drawingType':_0x6d5cfa[_0x1184bf(0x153)][_0x1184bf(0x132)],'sheetTransform':_0x6c40d5,'transform':{'left':_0x1cd03a,'top':_0x4dd1ec,'width':_0x378640,'height':_0x421ba8},'data':{'shapeType':_0x4b0364,'shapeData':_0x45776c},'axisAlignSheetTransform':_0x6c40d5,'allowTransform':!0x0};(0x0,_0x35954e[_0x1184bf(0x110)])(_0x4b0364)&&(_0x143592[_0x1184bf(0x176)][_0x1184bf(0x18c)]=!0x1,_0x143592['data'][_0x1184bf(0x163)]=!0x1,_0x143592['data']['resizeEnabled']=!0x1,_0x143592[_0x1184bf(0x176)][_0x1184bf(0x1b0)]=!0x1,_0x143592[_0x1184bf(0x150)][_0x1184bf(0x163)]=!0x1,_0x143592[_0x1184bf(0x150)][_0x1184bf(0x130)]=!0x1,_0x143592[_0x1184bf(0x150)][_0x1184bf(0x1b0)]=!0x1);let {undo:_0x58b841,redo:_0x13f76b,objects:_0x204a55}=_0x57782b[_0x1184bf(0x195)]([_0x143592]),_0x2dde71=_0x484985[_0x1184bf(0x1a0)]({'id':_0x58b074[_0x1184bf(0x13d)]['id'],'params':{'unitId':_0x5e7d5e,'drawings':[_0x143592]}}),_0x8bd328=[...(_0x2bc294=_0x2dde71[_0x1184bf(0x15c)])==null?[]:_0x2bc294,{'id':_0x58b074[_0x1184bf(0xf8)]['id'],'params':{'unitId':_0x5e7d5e,'subUnitId':_0x2d335f,'op':_0x13f76b,'objects':_0x204a55,'type':_0x58b074[_0x1184bf(0x194)][_0x1184bf(0xfc)]}},{'id':_0x58b074[_0x1184bf(0x1a5)]['id'],'params':[_0x5e7d5e]},..._0x2dde71[_0x1184bf(0x1b6)],{'id':_0x4c12a4['id'],'params':_0x33cf7b}],_0x2ddfe1=[{'id':_0x35f76c['id'],'params':{'unitId':_0x5e7d5e,'subUnitId':_0x2d335f,'shapeId':_0x2adfd2}},...(_0x4f59d2=_0x2dde71[_0x1184bf(0x108)])==null?[]:_0x4f59d2,{'id':_0x58b074[_0x1184bf(0xf8)]['id'],'params':{'unitId':_0x5e7d5e,'subUnitId':_0x2d335f,'op':_0x58b841,'objects':_0x204a55,'type':_0x58b074[_0x1184bf(0x194)][_0x1184bf(0x18d)]}},{'id':_0x58b074['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x5e7d5e]},..._0x2dde71[_0x1184bf(0xeb)]];return(0x0,_0x6d5cfa['sequenceExecute'])(_0x8bd328,_0xa95048)?(_0x4d92a8['pushUndoRedo']({'unitID':_0x5e7d5e,'undoMutations':_0x2ddfe1,'redoMutations':_0x8bd328}),!0x0):!0x1;}},_0xb457c9={'id':_0x1219e9(0x13b),'type':_0x6d5cfa[_0x1219e9(0x168)][_0x1219e9(0x191)],'handler':(_0x317c49,_0x1bc4f2)=>{const _0xbd094b=_0x1219e9;let {unitId:_0x39bf2d,subUnitId:_0x32f042,shapeType:_0x178566,shapeId:_0x34ebfa,shapeData:_0x143d0f}=_0x1bc4f2,_0x30fc1e=_0x317c49['get'](_0xeca84)[_0xbd094b(0x145)](_0x39bf2d,_0x32f042,_0x34ebfa);return _0x30fc1e&&(_0x178566!==void 0x0&&_0x30fc1e[_0xbd094b(0x19e)](_0x178566),_0x143d0f&&(_0x30fc1e==null||_0x30fc1e[_0xbd094b(0xf4)](_0x143d0f,!0x0))),!0x0;}},_0x4f68c1={'type':_0x6d5cfa['CommandType']['COMMAND'],'id':_0x1219e9(0x12f),'handler':(_0x579803,_0x552d7f)=>{const _0x17b3de=_0x1219e9;var _0x4e612e,_0x19e8d4;let _0x61887e=(0x0,_0x34f13c[_0x17b3de(0x127)])(_0x579803[_0x17b3de(0x1a7)](_0x6d5cfa['IUniverInstanceService']),_0x552d7f);if(!_0x61887e)return!0x1;let _0x150c89=_0x579803[_0x17b3de(0x1a7)](_0x34f13c[_0x17b3de(0x12b)]),{unitId:_0x1d9550,subUnitId:_0x5a3c1b}=_0x61887e,_0x3fbfb0=_0x150c89['ensureSkeleton'](_0x1d9550,_0x5a3c1b);if(!_0x3fbfb0)return!0x1;let _0x408fc0=_0x579803['get'](_0xeca84),{shapeId:_0x480fb7,shapeType:_0x277569,shapeData:_0x70f3f7,position:_0x431bdd,width:_0xf2db9f,height:_0x396948}=_0x552d7f,_0x504421=_0x408fc0['getShapeModel'](_0x1d9550,_0x5a3c1b,_0x480fb7);if(!_0x504421)return!0x1;let _0x207125=_0x579803[_0x17b3de(0x1a7)](_0x6d5cfa[_0x17b3de(0x19f)]),_0x335f21=_0x579803[_0x17b3de(0x1a7)](_0x6d5cfa[_0x17b3de(0x12d)]),_0xc9abb2=_0x579803[_0x17b3de(0x1a7)](_0x34f13c[_0x17b3de(0x141)]),_0x4130d0=_0x579803[_0x17b3de(0x1a7)](_0x58b074[_0x17b3de(0xe5)]),_0x2ab437={'unitId':_0x1d9550,'subUnitId':_0x5a3c1b,'shapeId':_0x480fb7,'shapeType':_0x277569,'shapeData':_0x70f3f7},_0x35a543=_0x504421['getShapeType'](),_0x3befc3=_0x504421[_0x17b3de(0x156)](),{x:_0x30c277,y:_0x55e03b}=_0x431bdd,_0x307c87={'from':_0x3fbfb0[_0x17b3de(0x192)](_0x30c277,_0x55e03b),'to':_0x3fbfb0['getCellIndexAndOffsetByPosition'](_0x30c277+_0xf2db9f,_0x55e03b+_0x396948)},_0x45e17a={'unitId':_0x1d9550,'subUnitId':_0x5a3c1b,'drawingId':_0x480fb7,'drawingType':_0x6d5cfa[_0x17b3de(0x153)][_0x17b3de(0x132)],'sheetTransform':_0x307c87,'transform':{'left':_0x30c277,'top':_0x55e03b,'width':_0xf2db9f,'height':_0x396948},'data':{'shapeType':_0x277569,'shapeData':_0x70f3f7},'axisAlignSheetTransform':_0x307c87,'allowTransform':!0x0};(0x0,_0x35954e['isConnectorShape'])(_0x277569)&&(_0x45e17a[_0x17b3de(0x176)][_0x17b3de(0x18c)]=!0x1,_0x45e17a[_0x17b3de(0x176)][_0x17b3de(0x163)]=!0x1,_0x45e17a[_0x17b3de(0x176)][_0x17b3de(0x130)]=!0x1,_0x45e17a[_0x17b3de(0x176)][_0x17b3de(0x1b0)]=!0x1,_0x45e17a['transform'][_0x17b3de(0x163)]=!0x1,_0x45e17a[_0x17b3de(0x150)]['resizeEnabled']=!0x1,_0x45e17a[_0x17b3de(0x150)]['borderEnabled']=!0x1);let {undo:_0x5f43af,redo:_0xa95dfd,objects:_0x3ae619}=_0x4130d0[_0x17b3de(0x11a)]([_0x45e17a]),_0x37f1b8=_0xc9abb2['onCommandExecute']({'id':_0x58b074[_0x17b3de(0x180)]['id'],'params':{'unitId':_0x1d9550,'drawings':[_0x45e17a]}}),_0x138df9=[...(_0x4e612e=_0x37f1b8[_0x17b3de(0x15c)])==null?[]:_0x4e612e,{'id':_0x58b074[_0x17b3de(0xf8)]['id'],'params':{'unitId':_0x1d9550,'subUnitId':_0x5a3c1b,'op':_0xa95dfd,'objects':_0x3ae619,'type':_0x58b074['DrawingApplyType']['UPDATE']}},{'id':_0x58b074[_0x17b3de(0x1a5)]['id'],'params':[_0x1d9550]},..._0x37f1b8[_0x17b3de(0x1b6)],{'id':_0xb457c9['id'],'params':_0x2ab437}],_0x3ef071=[...(_0x19e8d4=_0x37f1b8[_0x17b3de(0x108)])==null?[]:_0x19e8d4,{'id':_0x58b074[_0x17b3de(0xf8)]['id'],'params':{'unitId':_0x1d9550,'subUnitId':_0x5a3c1b,'op':_0x5f43af,'objects':_0x3ae619,'type':_0x58b074['DrawingApplyType'][_0x17b3de(0xf2)]}},{'id':_0x58b074[_0x17b3de(0x1a5)]['id'],'params':[_0x1d9550]},..._0x37f1b8[_0x17b3de(0xeb)],{'id':_0xb457c9['id'],'params':{'unitId':_0x1d9550,'subUnitId':_0x5a3c1b,'shapeType':_0x35a543,'shapeId':_0x480fb7,'shapeData':_0x3befc3}}];return(0x0,_0x6d5cfa[_0x17b3de(0x11d)])(_0x138df9,_0x207125)?(_0x335f21['pushUndoRedo']({'unitID':_0x1d9550,'undoMutations':_0x3ef071,'redoMutations':_0x138df9}),!0x0):!0x1;}},_0x327dcb={'type':_0x6d5cfa['CommandType'][_0x1219e9(0x164)],'id':_0x1219e9(0x16b),'handler':(_0x138124,_0x9b11f5)=>{const _0xe527ff=_0x1219e9;var _0x42123e,_0xc79bee;let _0x2da743=(0x0,_0x34f13c[_0xe527ff(0x127)])(_0x138124[_0xe527ff(0x1a7)](_0x6d5cfa[_0xe527ff(0xee)]),_0x9b11f5);if(!_0x2da743)return!0x1;let _0x2da774=_0x138124[_0xe527ff(0x1a7)](_0x34f13c['SheetSkeletonService']),{unitId:_0x1fd6f9,subUnitId:_0xccee5b}=_0x2da743,_0x4208d1=_0x2da774['getSkeleton'](_0x1fd6f9,_0xccee5b);if(!_0x4208d1)return!0x1;let _0x6fd4bd=_0x138124[_0xe527ff(0x1a7)](_0x58b074[_0xe527ff(0xe5)]),{shapeId:_0x1fae0a,flipH:_0x184c24,flipV:_0x35c11c}=_0x9b11f5,_0x3a2e67=_0x6fd4bd[_0xe527ff(0x1ae)]({'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'drawingId':_0x1fae0a});if(!_0x3a2e67)return!0x1;let _0x45c224=_0x138124['get'](_0xeca84)[_0xe527ff(0x145)](_0x1fd6f9,_0xccee5b,_0x1fae0a);if(!_0x45c224)return!0x1;let _0x3d9483=_0x138124['get'](_0x6d5cfa[_0xe527ff(0x19f)]),_0x30982b=_0x138124['get'](_0x6d5cfa['IUndoRedoService']),_0x265af9=_0x138124[_0xe527ff(0x1a7)](_0x34f13c[_0xe527ff(0x141)]),_0x459af9={..._0x3a2e67[_0xe527ff(0x150)]};_0x184c24!==void 0x0&&(_0x459af9['flipX']=!_0x459af9[_0xe527ff(0x190)]),_0x35c11c!==void 0x0&&(_0x459af9['flipY']=!_0x459af9[_0xe527ff(0x10d)]);let _0x37fef1=(0x0,_0x58b074[_0xe527ff(0x185)])(_0x459af9,_0x4208d1),_0x1e8927=(0x0,_0x58b074[_0xe527ff(0x179)])(_0x459af9,_0x4208d1),_0x5ed314=_0x45c224[_0xe527ff(0x128)](),_0x12245e=_0x45c224[_0xe527ff(0x156)](),_0x20c9ae={'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'drawingId':_0x1fae0a,'drawingType':_0x6d5cfa[_0xe527ff(0x153)][_0xe527ff(0x132)],'sheetTransform':_0x37fef1,'transform':_0x459af9,'data':{'shapeType':_0x5ed314,'shapeData':_0x12245e},'axisAlignSheetTransform':_0x1e8927,'allowTransform':!0x0},{undo:_0x3c50bb,redo:_0x17f03e,objects:_0x15f38d}=_0x6fd4bd[_0xe527ff(0x11a)]([_0x20c9ae]),_0x58c0d5=_0x265af9[_0xe527ff(0x1a0)]({'id':_0x58b074[_0xe527ff(0x180)]['id'],'params':{'unitId':_0x1fd6f9,'drawings':[_0x20c9ae]}}),_0x2c77d4=[...(_0x42123e=_0x58c0d5[_0xe527ff(0x15c)])==null?[]:_0x42123e,{'id':_0x58b074[_0xe527ff(0xf8)]['id'],'params':{'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'op':_0x17f03e,'objects':_0x15f38d,'type':_0x58b074[_0xe527ff(0x194)][_0xe527ff(0xf2)]}},{'id':_0x58b074[_0xe527ff(0x1a5)]['id'],'params':[_0x1fd6f9]},..._0x58c0d5[_0xe527ff(0x1b6)]],_0x10edca=[...(_0xc79bee=_0x58c0d5[_0xe527ff(0x108)])==null?[]:_0xc79bee,{'id':_0x58b074[_0xe527ff(0xf8)]['id'],'params':{'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'op':_0x3c50bb,'objects':_0x15f38d,'type':_0x58b074['DrawingApplyType']['UPDATE']}},{'id':_0x58b074['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x1fd6f9]},..._0x58c0d5['undos']];if((0x0,_0x35954e[_0xe527ff(0x110)])(_0x5ed314)){let _0x3919bd=_0x45c224[_0xe527ff(0x158)]();if(_0x3919bd){let _0x224c73={..._0x3919bd};_0x224c73[_0xe527ff(0x14c)]=void 0x0,_0x224c73['to']=void 0x0,_0x2c77d4[_0xe527ff(0xfe)]({'id':_0xb457c9['id'],'params':{'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'shapeId':_0x1fae0a,'shapeType':_0x5ed314,'shapeData':{'relation':_0x224c73}}}),_0x10edca[_0xe527ff(0xfe)]({'id':_0xb457c9['id'],'params':{'unitId':_0x1fd6f9,'subUnitId':_0xccee5b,'shapeId':_0x1fae0a,'shapeType':_0x5ed314,'shapeData':{'relation':_0x3919bd}}});}}return(0x0,_0x6d5cfa[_0xe527ff(0x11d)])(_0x2c77d4,_0x3d9483)?(_0x30982b[_0xe527ff(0x19c)]({'unitID':_0x1fd6f9,'undoMutations':_0x10edca,'redoMutations':_0x2c77d4}),!0x0):!0x1;}},_0x18ad07={'type':_0x6d5cfa['CommandType']['COMMAND'],'id':'sheet.command.set-shape-rotate','handler':(_0x3c1c0d,_0x525bf8)=>{const _0x457386=_0x1219e9;var _0x5e8f78,_0x20e608;let _0x283af4=(0x0,_0x34f13c['getSheetCommandTarget'])(_0x3c1c0d['get'](_0x6d5cfa['IUniverInstanceService']),_0x525bf8);if(!_0x283af4)return!0x1;let _0x37c180=_0x3c1c0d[_0x457386(0x1a7)](_0x34f13c[_0x457386(0x12b)]),{unitId:_0x4ea116,subUnitId:_0x55ffee}=_0x283af4,_0xf1ba12=_0x37c180[_0x457386(0x1a1)](_0x4ea116,_0x55ffee);if(!_0xf1ba12)return!0x1;let _0x2a0f1f=_0x3c1c0d[_0x457386(0x1a7)](_0x58b074['ISheetDrawingService']),{shapeId:_0x4ad663,rotate:_0x24fd6b}=_0x525bf8,_0x2793d6=_0x2a0f1f[_0x457386(0x1ae)]({'unitId':_0x4ea116,'subUnitId':_0x55ffee,'drawingId':_0x4ad663});if(!_0x2793d6)return!0x1;let _0x3710a5=_0x3c1c0d['get'](_0xeca84)[_0x457386(0x145)](_0x4ea116,_0x55ffee,_0x4ad663);if(!_0x3710a5)return!0x1;let _0x51a785=_0x3c1c0d[_0x457386(0x1a7)](_0x6d5cfa[_0x457386(0x19f)]),_0x5c1766=_0x3c1c0d['get'](_0x6d5cfa[_0x457386(0x12d)]),_0x565fd6=_0x3c1c0d['get'](_0x34f13c[_0x457386(0x141)]),_0x44078c={..._0x2793d6[_0x457386(0x150)]};_0x24fd6b!==void 0x0&&(_0x44078c[_0x457386(0x1a8)]=(_0x44078c[_0x457386(0x1a8)]||0x0)+_0x24fd6b);let _0x42cabe=(0x0,_0x58b074[_0x457386(0x185)])(_0x44078c,_0xf1ba12),_0xa432f5=(0x0,_0x58b074['transformToAxisAlignPosition'])(_0x44078c,_0xf1ba12),_0x71791e=_0x3710a5[_0x457386(0x128)](),_0x9caac1=_0x3710a5[_0x457386(0x156)](),_0x593fef={'unitId':_0x4ea116,'subUnitId':_0x55ffee,'drawingId':_0x4ad663,'drawingType':_0x6d5cfa['DrawingTypeEnum'][_0x457386(0x132)],'sheetTransform':_0x42cabe,'transform':_0x44078c,'data':{'shapeType':_0x71791e,'shapeData':_0x9caac1},'axisAlignSheetTransform':_0xa432f5,'allowTransform':!0x0},{undo:_0x5d26fe,redo:_0x1e4ff5,objects:_0x512593}=_0x2a0f1f[_0x457386(0x11a)]([_0x593fef]),_0x31a50c=_0x565fd6[_0x457386(0x1a0)]({'id':_0x58b074['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x4ea116,'drawings':[_0x593fef]}}),_0xf457b1=[...(_0x5e8f78=_0x31a50c['preRedos'])==null?[]:_0x5e8f78,{'id':_0x58b074[_0x457386(0xf8)]['id'],'params':{'unitId':_0x4ea116,'subUnitId':_0x55ffee,'op':_0x1e4ff5,'objects':_0x512593,'type':_0x58b074[_0x457386(0x194)][_0x457386(0xf2)]}},{'id':_0x58b074['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x4ea116]},..._0x31a50c[_0x457386(0x1b6)]],_0x1f6d1a=[...(_0x20e608=_0x31a50c['preUndos'])==null?[]:_0x20e608,{'id':_0x58b074[_0x457386(0xf8)]['id'],'params':{'unitId':_0x4ea116,'subUnitId':_0x55ffee,'op':_0x5d26fe,'objects':_0x512593,'type':_0x58b074[_0x457386(0x194)][_0x457386(0xf2)]}},{'id':_0x58b074[_0x457386(0x1a5)]['id'],'params':[_0x4ea116]},..._0x31a50c['undos']];return(0x0,_0x6d5cfa['sequenceExecute'])(_0xf457b1,_0x51a785)?(_0x5c1766['pushUndoRedo']({'unitID':_0x4ea116,'undoMutations':_0x1f6d1a,'redoMutations':_0xf457b1}),!0x0):!0x1;}},_0x1e4727={'type':_0x6d5cfa[_0x1219e9(0x168)]['COMMAND'],'id':_0x1219e9(0x149),'handler':(_0x24b76b,_0x157e04)=>{const _0x26c4ca=_0x1219e9;var _0x4a35c2,_0x2c3456,_0x36e679,_0x4b3709;let _0x3ad931=(0x0,_0x34f13c['getSheetCommandTarget'])(_0x24b76b[_0x26c4ca(0x1a7)](_0x6d5cfa[_0x26c4ca(0xee)]),_0x157e04);if(!_0x3ad931)return!0x1;let _0x44d18f=_0x24b76b['get'](_0x34f13c[_0x26c4ca(0x12b)]),{unitId:_0x129c4a,subUnitId:_0x34360a}=_0x3ad931,_0x341a48=_0x44d18f[_0x26c4ca(0x1a1)](_0x129c4a,_0x34360a);if(!_0x341a48)return!0x1;let _0x2d3aa2=_0x24b76b[_0x26c4ca(0x1a7)](_0x58b074[_0x26c4ca(0xe5)]),{connectorShapeId:_0x183672,width:_0x4121fe,height:_0x4495ee,left:_0xd16c1a,top:_0x599ad3,flipX:_0x483b7c,flipY:_0x901555,rotation:_0x2fb8b7,oldAdjustValues:_0x648348,newAdjustValues:_0x58206b,oldLineType:_0x1decc2,newLineType:_0x200418,oldRelation:_0x2d84f7,newRelation:_0x829f91}=_0x157e04,_0x3cd9b4=_0x2d3aa2[_0x26c4ca(0x1ae)]({'unitId':_0x129c4a,'subUnitId':_0x34360a,'drawingId':_0x183672});if(!_0x3cd9b4)return!0x1;let _0x15db54=_0x24b76b[_0x26c4ca(0x1a7)](_0xeca84)[_0x26c4ca(0x145)](_0x129c4a,_0x34360a,_0x183672);if(!_0x15db54)return!0x1;let _0x1c7600=_0x24b76b[_0x26c4ca(0x1a7)](_0x6d5cfa[_0x26c4ca(0x19f)]),_0x2df847=_0x24b76b[_0x26c4ca(0x1a7)](_0x6d5cfa[_0x26c4ca(0x12d)]),_0x3d43da=_0x24b76b[_0x26c4ca(0x1a7)](_0x34f13c[_0x26c4ca(0x141)]),_0x5e4f65={..._0x3cd9b4['transform'],'width':_0x4121fe,'height':_0x4495ee,'left':_0xd16c1a,'top':_0x599ad3,'flipX':_0x483b7c,'flipY':_0x901555,'angle':(_0x4a35c2=_0x2fb8b7==null?(_0x2c3456=_0x3cd9b4[_0x26c4ca(0x150)])==null?void 0x0:_0x2c3456['angle']:_0x2fb8b7)==null?0x0:_0x4a35c2},_0xd5de5=(0x0,_0x58b074[_0x26c4ca(0x185)])(_0x5e4f65,_0x341a48),_0x1bd3af=(0x0,_0x58b074[_0x26c4ca(0x179)])(_0x5e4f65,_0x341a48),_0x529657=_0x15db54['getShapeType'](),_0x25889d=_0x15db54['getShapeData'](),_0x14285e={'unitId':_0x129c4a,'subUnitId':_0x34360a,'drawingId':_0x183672,'drawingType':_0x6d5cfa[_0x26c4ca(0x153)][_0x26c4ca(0x132)],'sheetTransform':_0xd5de5,'transform':_0x5e4f65,'data':{'shapeType':_0x200418||_0x1decc2||_0x529657,'shapeData':{..._0x25889d,'adjustValues':_0x58206b||_0x648348||(_0x25889d==null?void 0x0:_0x25889d['adjustValues']),'relation':_0x829f91||_0x2d84f7||(_0x25889d==null?void 0x0:_0x25889d['relation'])}},'axisAlignSheetTransform':_0x1bd3af,'allowTransform':!0x0},{undo:_0x2e885d,redo:_0x1cb93a,objects:_0x23ebd0}=_0x2d3aa2[_0x26c4ca(0x11a)]([_0x14285e]),_0x132233=_0x3d43da[_0x26c4ca(0x1a0)]({'id':_0x58b074['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x129c4a,'drawings':[_0x14285e]}}),_0xfb0849=[...(_0x36e679=_0x132233[_0x26c4ca(0x15c)])==null?[]:_0x36e679,{'id':_0x58b074[_0x26c4ca(0xf8)]['id'],'params':{'unitId':_0x129c4a,'subUnitId':_0x34360a,'op':_0x1cb93a,'objects':_0x23ebd0,'type':_0x58b074[_0x26c4ca(0x194)][_0x26c4ca(0xf2)]}},{'id':_0x58b074[_0x26c4ca(0x1a5)]['id'],'params':[_0x129c4a]},..._0x132233['redos'],{'id':_0xb457c9['id'],'params':{'unitId':_0x129c4a,'subUnitId':_0x34360a,'shapeId':_0x183672,'shapeType':_0x200418,'shapeData':{'adjustValues':_0x58206b,'relation':_0x829f91}}}],_0x3db305=[...(_0x4b3709=_0x132233[_0x26c4ca(0x108)])==null?[]:_0x4b3709,{'id':_0x58b074[_0x26c4ca(0xf8)]['id'],'params':{'unitId':_0x129c4a,'subUnitId':_0x34360a,'op':_0x2e885d,'objects':_0x23ebd0,'type':_0x58b074[_0x26c4ca(0x194)][_0x26c4ca(0xf2)]}},{'id':_0x58b074['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x129c4a]},..._0x132233[_0x26c4ca(0xeb)],{'id':_0xb457c9['id'],'params':{'unitId':_0x129c4a,'subUnitId':_0x34360a,'shapeId':_0x183672,'shapeType':_0x529657,'shapeData':{..._0x25889d,'adjustValues':_0x648348||(_0x25889d==null?void 0x0:_0x25889d[_0x26c4ca(0x125)]),'relation':_0x2d84f7||(_0x25889d==null?void 0x0:_0x25889d[_0x26c4ca(0xe9)])}}}];return(0x0,_0x6d5cfa[_0x26c4ca(0x11d)])(_0xfb0849,_0x1c7600)?(_0x2df847[_0x26c4ca(0x19c)]({'unitID':_0x129c4a,'undoMutations':_0x3db305,'redoMutations':_0xfb0849}),!0x0):!0x1;}},_0x5a49e4={'type':_0x6d5cfa[_0x1219e9(0x168)][_0x1219e9(0x164)],'id':_0x1219e9(0xef),'handler':(_0x73ff4a,_0x483a12)=>{const _0x23977b=_0x1219e9;var _0xbf0ebf,_0x5c606b;let _0x3f9d97=(0x0,_0x34f13c['getSheetCommandTarget'])(_0x73ff4a[_0x23977b(0x1a7)](_0x6d5cfa[_0x23977b(0xee)]),_0x483a12);if(!_0x3f9d97)return!0x1;let _0x678d62=_0x73ff4a[_0x23977b(0x1a7)](_0x34f13c['SheetSkeletonService']),{unitId:_0xab06ad,subUnitId:_0x1afd2e}=_0x3f9d97,_0x401b90=_0x678d62[_0x23977b(0x1a1)](_0xab06ad,_0x1afd2e);if(!_0x401b90)return!0x1;let _0x421628=_0x73ff4a[_0x23977b(0x1a7)](_0x58b074[_0x23977b(0xe5)]),{shapeId:_0x4cd9b3,width:_0xd67e50,height:_0x1f56a7,left:_0x39f50e,top:_0x11a87b,flipX:_0x3e09c6,flipY:_0x24d811,angle:_0x57f647,oldAdjustValues:_0x15f1b4,newAdjustValues:_0x1bdbe8,oldLineType:_0x88185b,newLineType:_0x380fa7}=_0x483a12,_0x4556e6=_0x421628['getDrawingByParam']({'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'drawingId':_0x4cd9b3});if(!_0x4556e6)return!0x1;let _0x546a95=_0x73ff4a[_0x23977b(0x1a7)](_0xeca84)[_0x23977b(0x145)](_0xab06ad,_0x1afd2e,_0x4cd9b3);if(!_0x546a95)return!0x1;let _0x2c6af6=_0x73ff4a[_0x23977b(0x1a7)](_0x6d5cfa[_0x23977b(0x19f)]),_0x46b424=_0x73ff4a[_0x23977b(0x1a7)](_0x6d5cfa[_0x23977b(0x12d)]),_0x12249b=_0x73ff4a[_0x23977b(0x1a7)](_0x34f13c['SheetInterceptorService']),_0x22c741={..._0x4556e6[_0x23977b(0x150)],'width':_0xd67e50,'height':_0x1f56a7,'left':_0x39f50e,'top':_0x11a87b,'flipX':_0x3e09c6,'flipY':_0x24d811,'angle':_0x57f647},_0x1f1d3c=(0x0,_0x58b074[_0x23977b(0x185)])(_0x22c741,_0x401b90),_0x34f42f=(0x0,_0x58b074[_0x23977b(0x179)])(_0x22c741,_0x401b90),_0x22438e=_0x546a95[_0x23977b(0x128)](),_0x6120f5=_0x546a95[_0x23977b(0x156)](),_0x381498={'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'drawingId':_0x4cd9b3,'drawingType':_0x6d5cfa[_0x23977b(0x153)][_0x23977b(0x132)],'sheetTransform':_0x1f1d3c,'transform':_0x22c741,'data':{'shapeType':_0x380fa7||_0x88185b||_0x22438e,'shapeData':{..._0x6120f5,'adjustValues':_0x1bdbe8||_0x15f1b4||(_0x6120f5==null?void 0x0:_0x6120f5[_0x23977b(0x125)])}},'axisAlignSheetTransform':_0x34f42f,'allowTransform':!0x0},{undo:_0x394fcb,redo:_0x5bda8a,objects:_0x220f8c}=_0x421628['getBatchUpdateOp']([_0x381498]),_0x41b9b0=_0x12249b[_0x23977b(0x1a0)]({'id':_0x58b074[_0x23977b(0x180)]['id'],'params':{'unitId':_0xab06ad,'drawings':[_0x381498]}}),_0x1b9ef6=[...(_0xbf0ebf=_0x41b9b0[_0x23977b(0x15c)])==null?[]:_0xbf0ebf,{'id':_0x58b074[_0x23977b(0xf8)]['id'],'params':{'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'op':_0x5bda8a,'objects':_0x220f8c,'type':_0x58b074[_0x23977b(0x194)][_0x23977b(0xf2)]}},{'id':_0x58b074[_0x23977b(0x1a5)]['id'],'params':[_0xab06ad]},..._0x41b9b0['redos'],{'id':_0xb457c9['id'],'params':{'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'shapeId':_0x4cd9b3,'shapeType':_0x380fa7,'shapeData':{'adjustValues':_0x1bdbe8}}}],_0xfcea9f=[...(_0x5c606b=_0x41b9b0['preUndos'])==null?[]:_0x5c606b,{'id':_0x58b074[_0x23977b(0xf8)]['id'],'params':{'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'op':_0x394fcb,'objects':_0x220f8c,'type':_0x58b074[_0x23977b(0x194)][_0x23977b(0xf2)]}},{'id':_0x58b074[_0x23977b(0x1a5)]['id'],'params':[_0xab06ad]},..._0x41b9b0['undos'],{'id':_0xb457c9['id'],'params':{'unitId':_0xab06ad,'subUnitId':_0x1afd2e,'shapeId':_0x4cd9b3,'shapeType':_0x22438e,'shapeData':{..._0x6120f5,'adjustValues':_0x15f1b4||(_0x6120f5==null?void 0x0:_0x6120f5[_0x23977b(0x125)])}}}];return(0x0,_0x6d5cfa['sequenceExecute'])(_0x1b9ef6,_0x2c6af6)?(_0x46b424['pushUndoRedo']({'unitID':_0xab06ad,'undoMutations':_0xfcea9f,'redoMutations':_0x1b9ef6}),!0x0):!0x1;}},_0x287359={'id':_0x1219e9(0x142),'type':_0x6d5cfa['CommandType'][_0x1219e9(0x191)],'handler':(_0x572cd3,_0x1c0e2a)=>{const _0x5f16fb=_0x1219e9;let {unitId:_0x465eaa,subUnitId:_0x497475,shapeType:_0x195f39,shapeId:_0x1cc7c2,shapeData:_0x206a17}=_0x1c0e2a,_0x133dcb=_0x572cd3[_0x5f16fb(0x1a7)](_0xeca84)[_0x5f16fb(0x145)](_0x465eaa,_0x497475,_0x1cc7c2);return _0x133dcb&&(_0x133dcb[_0x5f16fb(0x19e)](_0x195f39),_0x206a17&&(_0x133dcb==null||_0x133dcb[_0x5f16fb(0xf4)](_0x206a17))),!0x0;}},_0x1a155e={'id':'sheet.command.update-shape-type','type':_0x6d5cfa[_0x1219e9(0x168)][_0x1219e9(0x164)],'handler':(_0xc2bc63,_0x318e2b)=>{const _0x4f0ca3=_0x1219e9;if(!_0x318e2b)return!0x1;let _0x8ef2fa=_0xc2bc63[_0x4f0ca3(0x1a7)](_0x6d5cfa[_0x4f0ca3(0x19f)]),_0x28e623=_0xc2bc63[_0x4f0ca3(0x1a7)](_0xeca84),_0x598e36=_0xc2bc63[_0x4f0ca3(0x1a7)](_0x6d5cfa['IUndoRedoService']),_0x194b82=[],_0x36a60d=[],{unitId:_0xa46b25,subUnitId:_0x2299ef,shapeId:_0x4a8af6,shapeType:_0x1cc99e,shapeData:_0xcb8a3f}=_0x318e2b,_0x5f430b=_0x28e623['getShapeModel'](_0xa46b25,_0x2299ef,_0x4a8af6);if(_0x5f430b){let _0x4059b6=_0x5f430b[_0x4f0ca3(0x128)](),_0x40dc53=Object[_0x4f0ca3(0x144)]({},_0x5f430b[_0x4f0ca3(0x156)]()),_0x24b446={'unitId':_0xa46b25,'subUnitId':_0x2299ef,'shapeId':_0x4a8af6,'shapeType':_0x1cc99e,'shapeData':_0xcb8a3f},_0x3d2c8e={'unitId':_0xa46b25,'subUnitId':_0x2299ef,'shapeId':_0x4a8af6,'shapeType':_0x4059b6,'shapeData':_0x40dc53};return _0x194b82[_0x4f0ca3(0xfe)]({'id':_0x287359['id'],'params':_0x24b446}),_0x36a60d[_0x4f0ca3(0xfe)]({'id':_0x287359['id'],'params':_0x3d2c8e}),_0x194b82[_0x4f0ca3(0x143)](_0x397fea=>_0x8ef2fa[_0x4f0ca3(0x122)](_0x397fea['id'],_0x397fea[_0x4f0ca3(0x17f)]))&&_0x598e36['pushUndoRedo']({'unitID':_0xa46b25,'redoMutations':[..._0x194b82],'undoMutations':[..._0x36a60d]}),!0x0;}return!0x1;}};var _0x4a1821=_0x1219e9(0xfd),_0x5234aa=_0x1219e9(0x1a3);let _0x4b70e4=_0x1219e9(0x147);Symbol(_0x4b70e4);let _0x2abc18={},_0x59d3ae=class extends _0x6d5cfa['Disposable']{constructor(_0x2c92ea,_0xd9c49,_0x263ed6,_0x5dc6e1,_0x503f96){const _0x43d8d6=_0x1219e9;super(),this[_0x43d8d6(0x1a2)]=_0x2c92ea,this[_0x43d8d6(0x14e)]=_0xd9c49,this['_sheetSkeletonService']=_0x263ed6,this['_sheetsShapeService']=_0x5dc6e1,this[_0x43d8d6(0x188)]=_0x503f96,this['_initCommands'](),this['_initCommandInterceptor']();}[_0x1219e9(0x19a)](){const _0x3a43ed=_0x1219e9;[_0x566d8a,_0x4f68c1,_0x327dcb,_0x18ad07,_0x1e4727,_0x5a49e4,_0x4c12a4,_0x35f76c,_0x287359,_0xb457c9]['forEach'](_0x33d55e=>this[_0x3a43ed(0x166)](this[_0x3a43ed(0x1a2)][_0x3a43ed(0x126)](_0x33d55e)));}[_0x1219e9(0x133)](){const _0x28dc85=_0x1219e9;this[_0x28dc85(0x166)](this[_0x28dc85(0x14e)][_0x28dc85(0xfa)]({'getMutations':_0x2e1e30=>{const _0x26e0c5=_0x28dc85;if(_0x2e1e30['id']===_0x58b074[_0x26e0c5(0x12a)]['id']){let {drawings:_0x2749ca}=_0x2e1e30['params'],_0x1c2726=_0x2749ca[_0x26e0c5(0x167)](_0x9cfb1c=>_0x9cfb1c['drawingType']===_0x6d5cfa[_0x26e0c5(0x153)][_0x26e0c5(0x132)]);if(_0x1c2726['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0xb09c53=[],_0x20155f=[];return _0x1c2726['forEach'](_0x543812=>{const _0x4d699e=_0x26e0c5;let {unitId:_0x4aa2d4,subUnitId:_0x3ba6e0,drawingId:_0xb57a5e}=_0x543812,_0x1b34b2=this[_0x4d699e(0x138)][_0x4d699e(0x145)](_0x4aa2d4,_0x3ba6e0,_0xb57a5e);if(!_0x1b34b2)throw TypeError(_0x4d699e(0x119)+_0x1b34b2);_0xb09c53[_0x4d699e(0xfe)]({'id':_0x35f76c['id'],'params':{'unitId':_0x4aa2d4,'subUnitId':_0x3ba6e0,'shapeId':_0xb57a5e}}),_0x20155f['push']({'id':_0x4c12a4['id'],'params':{'unitId':_0x4aa2d4,'subUnitId':_0x3ba6e0,'shapeId':_0xb57a5e,'shapeType':_0x1b34b2[_0x4d699e(0x128)](),'shapeData':_0x1b34b2[_0x4d699e(0x156)]()}});let _0x23c248=this[_0x4d699e(0x138)][_0x4d699e(0xf6)](_0x4aa2d4,_0x3ba6e0,_0xb57a5e);if(_0x23c248)for(let _0x361675 of _0x23c248){let _0x5b7d4f=_0x361675['lineShapeId'],_0x1392a3=_0x361675[_0x4d699e(0x1ac)],_0x213dbf=_0x1392a3?{'from':void 0x0}:{'to':void 0x0},_0x3472b1=_0x1392a3?{'from':{'shapeId':_0x361675['shapeId'],'cxnIndex':_0x361675['cxnIndex']}}:{'to':{'shapeId':_0x361675[_0x4d699e(0x162)],'cxnIndex':_0x361675[_0x4d699e(0x101)]}};_0xb09c53[_0x4d699e(0xfe)]({'id':_0xb457c9['id'],'params':{'unitId':_0x4aa2d4,'subUnitId':_0x3ba6e0,'shapeId':_0x5b7d4f,'shapeData':{'relation':_0x213dbf}}}),_0x20155f['push']({'id':_0xb457c9['id'],'params':{'unitId':_0x4aa2d4,'subUnitId':_0x3ba6e0,'shapeId':_0x5b7d4f,'shapeData':{'relation':_0x3472b1}}});}}),{'preRedos':_0xb09c53,'redos':[],'preUndos':[],'undos':_0x20155f};}if(_0x2e1e30['id']===_0x58b074[_0x26e0c5(0x180)]['id']){let {drawings:_0x390221}=_0x2e1e30[_0x26e0c5(0x17f)],_0x17a7c3=_0x390221[_0x26e0c5(0x167)](_0x368323=>_0x368323[_0x26e0c5(0x160)]===_0x6d5cfa[_0x26e0c5(0x153)][_0x26e0c5(0x132)]);if(_0x17a7c3['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x8fee95=[],_0xe3cc4d=[];for(let _0x5f4f5c of _0x17a7c3){let {unitId:_0xbd625f,subUnitId:_0x4dd39c,drawingId:_0x39a3d9,transform:_0xff804d}=_0x5f4f5c;if(!_0xbd625f||!_0x4dd39c||!_0x39a3d9||!_0xff804d)continue;let _0x4920b7=this['_sheetsShapeService'][_0x26e0c5(0x145)](_0xbd625f,_0x4dd39c,_0x39a3d9);if(!_0x4920b7)throw TypeError('Fail\x20to\x20get\x20shape\x20model,\x20get:\x20'+_0x4920b7);if((0x0,_0x35954e[_0x26e0c5(0x110)])(_0x4920b7[_0x26e0c5(0x128)]())){let _0x39aa8e=this[_0x26e0c5(0x138)]['getLineShapeRelation'](_0xbd625f,_0x4dd39c,_0x39a3d9);_0x39aa8e&&(_0x8fee95['push']({'id':_0xb457c9['id'],'params':{'unitId':_0xbd625f,'subUnitId':_0x4dd39c,'shapeId':_0x39a3d9,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0xe3cc4d[_0x26e0c5(0xfe)]({'id':_0xb457c9['id'],'params':{'unitId':_0xbd625f,'subUnitId':_0x4dd39c,'shapeId':_0x39a3d9,'shapeData':{'relation':_0x39aa8e}}}));}else{let _0xd33a3b=this[_0x26e0c5(0x138)]['getBasicShapeRelation'](_0xbd625f,_0x4dd39c,_0x39a3d9);if(_0xd33a3b&&_0xd33a3b[_0x26e0c5(0x184)]>0x0)for(let _0x54915b of _0xd33a3b){let _0x47166e=_0x54915b[_0x26e0c5(0x11f)],_0x3981a2=_0x54915b[_0x26e0c5(0x1ac)],_0x3e0edf=this[_0x26e0c5(0x138)][_0x26e0c5(0x145)](_0xbd625f,_0x4dd39c,_0x47166e);if(!_0x3e0edf)continue;let _0x1e9926=_0x3e0edf[_0x26e0c5(0x105)](),_0x2fd3e5=_0x3e0edf[_0x26e0c5(0x169)]();_0x1e9926&&_0x2fd3e5?this[_0x26e0c5(0x100)](_0xbd625f,_0x4dd39c,_0x47166e,_0x3e0edf,_0x1e9926,_0x2fd3e5,_0x8fee95,_0xe3cc4d,_0x39a3d9,_0xff804d):this[_0x26e0c5(0x1ad)](_0xbd625f,_0x4dd39c,_0x47166e,_0x3e0edf,_0x3981a2?_0x1e9926:_0x2fd3e5,_0x3981a2,_0x8fee95,_0xe3cc4d,_0x39a3d9,_0xff804d);}}}return{'preRedos':[],'redos':_0x8fee95,'preUndos':_0xe3cc4d,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}[_0x1219e9(0x13a)](_0x34d1d0,_0x4fc705,_0x5c5b28,_0x12fcdc,_0x1b0286){const _0x4797db=_0x1219e9;if(!_0x4fc705||!_0x5c5b28)return null;let {shapeId:_0x5c7bf5,cxnIndex:_0x4eebb6}=_0x34d1d0,_0x1ad82c=this[_0x4797db(0x138)]['getShapeModel'](_0x4fc705,_0x5c5b28,_0x5c7bf5);if(!_0x1ad82c)return null;let _0x407dfe=this[_0x4797db(0x188)][_0x4797db(0x1ae)]({'unitId':_0x4fc705,'subUnitId':_0x5c5b28,'drawingId':_0x5c7bf5});if(!(_0x407dfe!=null&&_0x407dfe[_0x4797db(0x150)]))return null;let {left:_0x56ddfe=0x0,top:_0x5cf4a1=0x0,width:_0xf5621b=0x0,height:_0x49b380=0x0,flipX:_0x174950=!0x1,flipY:_0x20b516=!0x1,angle:_0x2e4263}=_0x407dfe[_0x4797db(0x150)];if(_0x1b0286&&_0x12fcdc===_0x5c7bf5){var _0x29dfff,_0x456c38,_0x2c4e48,_0x1011fd,_0x41b2c3,_0x4aa05d,_0x18cb0e;_0x56ddfe=(_0x29dfff=_0x1b0286[_0x4797db(0x16e)])==null?_0x56ddfe:_0x29dfff,_0x5cf4a1=(_0x456c38=_0x1b0286[_0x4797db(0x15e)])==null?_0x5cf4a1:_0x456c38,_0xf5621b=(_0x2c4e48=_0x1b0286['width'])==null?_0xf5621b:_0x2c4e48,_0x49b380=(_0x1011fd=_0x1b0286[_0x4797db(0x15f)])==null?_0x49b380:_0x1011fd,_0x174950=(_0x41b2c3=_0x1b0286['flipX'])==null?_0x174950:_0x41b2c3,_0x20b516=(_0x4aa05d=_0x1b0286[_0x4797db(0x10d)])==null?_0x20b516:_0x4aa05d,_0x2e4263=(_0x18cb0e=_0x1b0286[_0x4797db(0x1a8)])==null?_0x2e4263:_0x18cb0e;}_0x1ad82c[_0x4797db(0x10a)]({'width':_0xf5621b,'height':_0x49b380});let _0x2194d7=_0x1ad82c[_0x4797db(0x13f)]()[_0x4797db(0x173)](_0x47dcce=>_0x47dcce['index']===_0x4eebb6);if(!_0x2194d7)return null;let _0x27ece6=_0x174950?_0xf5621b-_0x2194d7['x']:_0x2194d7['x'],_0x3a030b=_0x20b516?_0x49b380-_0x2194d7['y']:_0x2194d7['y'];if(_0x2e4263!==0x0&&_0x2e4263!=null){let _0x19ec2c=_0x2e4263*Math['PI']/0xb4,_0x145a64=Math[_0x4797db(0x183)](_0x19ec2c),_0x223c85=Math[_0x4797db(0x14b)](_0x19ec2c),_0x4fa2d3=_0xf5621b/0x2,_0x3086a6=_0x49b380/0x2,_0x5ed6ed=_0x27ece6-_0x4fa2d3,_0x2c2e0e=_0x3a030b-_0x3086a6;_0x27ece6=_0x4fa2d3+_0x5ed6ed*_0x145a64-_0x2c2e0e*_0x223c85,_0x3a030b=_0x3086a6+_0x5ed6ed*_0x223c85+_0x2c2e0e*_0x145a64;}_0x27ece6+=_0x56ddfe,_0x3a030b+=_0x5cf4a1;let _0x5e3844=_0x2194d7[_0x4797db(0x117)]/0xea60;_0x174950&&(_0x5e3844=0xb4-_0x5e3844),_0x20b516&&(_0x5e3844=-_0x5e3844),_0x5e3844+=_0x2e4263||0x0,_0x5e3844=(_0x5e3844%0x168+0x168)%0x168;let _0x4f0952=(0x0,_0x35954e[_0x4797db(0x10f)])({'left':_0x56ddfe,'top':_0x5cf4a1,'width':_0xf5621b,'height':_0x49b380},_0x2e4263||0x0);return{'point':{'x':_0x27ece6,'y':_0x3a030b},'angle':_0x5e3844,'bounds':_0x4f0952};}[_0x1219e9(0x100)](_0x4b0e66,_0x4f9005,_0x22171f,_0x4593bc,_0x2a2b9f,_0x3e3482,_0x2c45ad,_0x4af59f,_0x2ca8dd,_0x5dd43c){const _0x22b1f4=_0x1219e9;let _0xba3b5e=this['_sheetSkeletonService'][_0x22b1f4(0x1a1)](_0x4b0e66,_0x4f9005);if(!_0xba3b5e)return;let _0x5d618b=_0x4593bc[_0x22b1f4(0x158)](),_0x15e853=_0x4593bc[_0x22b1f4(0x18e)](),_0x11dbaa={},_0x17f14f={};_0x15e853[_0x22b1f4(0x18a)](_0x4b89ff=>{const _0x1054f8=_0x22b1f4;let _0x508ea9=_0x4593bc[_0x1054f8(0x187)](_0x4b89ff);_0x17f14f[_0x4b89ff]=_0x508ea9==null?0x0:_0x508ea9;});let _0x2f1dfd=this['_getConnectPointInfo'](_0x2a2b9f,_0x4b0e66,_0x4f9005,_0x2ca8dd,_0x5dd43c),_0x5117dd=this[_0x22b1f4(0x13a)](_0x3e3482,_0x4b0e66,_0x4f9005,_0x2ca8dd,_0x5dd43c);if(_0x2f1dfd&&_0x5117dd){let _0x1bdd7d=_0x4593bc[_0x22b1f4(0x128)](),_0xba87c7=(0x0,_0x35954e['routeConnectorLineShape'])(_0x2f1dfd,_0x5117dd,_0x1bdd7d),_0x4962b6=_0x1bdd7d;if(_0xba87c7){let _0x4e1999=(0x0,_0x35954e['computeConnectorRouteLayout'])(_0xba87c7,_0x4593bc[_0x22b1f4(0x128)]()),_0x4eb455=this[_0x22b1f4(0x188)][_0x22b1f4(0x16a)](_0x4b0e66,_0x4f9005);if(_0x4eb455&&_0x4eb455[_0x22171f]){let _0x4ae63e=_0x4eb455[_0x22171f];_0x4962b6=_0x4e1999[_0x22b1f4(0xe7)];for(let [_0x2d00c0,_0x29a8d1]of Object[_0x22b1f4(0x198)](_0x4e1999[_0x22b1f4(0x125)]))_0x11dbaa[_0x2d00c0]=_0x29a8d1;let _0x4640d7={..._0x4ae63e[_0x22b1f4(0x150)],'width':_0x4e1999[_0x22b1f4(0x1aa)][_0x22b1f4(0x103)],'height':_0x4e1999[_0x22b1f4(0x1aa)][_0x22b1f4(0x15f)],'left':_0x4e1999[_0x22b1f4(0x1aa)]['left'],'top':_0x4e1999[_0x22b1f4(0x1aa)][_0x22b1f4(0x15e)],'flipX':_0x4e1999['worldRect'][_0x22b1f4(0x190)],'flipY':_0x4e1999[_0x22b1f4(0x1aa)][_0x22b1f4(0x10d)],'angle':_0x4e1999[_0x22b1f4(0x139)]},_0x183bb3=(0x0,_0x58b074[_0x22b1f4(0x185)])(_0x4640d7,_0xba3b5e),_0x1b7a43=(0x0,_0x58b074[_0x22b1f4(0x179)])(_0x4640d7,_0xba3b5e),_0x490a0b={'unitId':_0x4b0e66,'subUnitId':_0x4f9005,'drawingType':_0x6d5cfa[_0x22b1f4(0x153)]['DRAWING_SHAPE'],'drawingId':_0x22171f,'transform':_0x4640d7,'sheetTransform':_0x183bb3,'axisAlignSheetTransform':_0x1b7a43},{unitId:_0x1f64bf,subUnitId:_0x5a6c18,undo:_0x4b1063,redo:_0x3fc04f,objects:_0x5ab330}=this[_0x22b1f4(0x188)][_0x22b1f4(0x11a)]([_0x490a0b]);_0x2c45ad['push']({'id':_0x58b074[_0x22b1f4(0xf8)]['id'],'params':{'unitId':_0x1f64bf,'subUnitId':_0x5a6c18,'op':_0x3fc04f,'objects':_0x5ab330,'type':_0x58b074['DrawingApplyType']['UPDATE']}}),_0x4af59f[_0x22b1f4(0xfe)]({'id':_0x58b074[_0x22b1f4(0xf8)]['id'],'params':{'unitId':_0x1f64bf,'subUnitId':_0x5a6c18,'op':_0x4b1063,'objects':_0x5ab330,'type':_0x58b074[_0x22b1f4(0x194)][_0x22b1f4(0xf2)]}});}_0x4593bc[_0x22b1f4(0x17c)]();}_0x2c45ad['push']({'id':_0xb457c9['id'],'params':{'unitId':_0x4b0e66,'subUnitId':_0x4f9005,'shapeId':_0x22171f,'shapeType':_0x4962b6,'shapeData':{'adjustValues':_0x11dbaa,'relation':_0x5d618b}}}),_0x4af59f['push']({'id':_0xb457c9['id'],'params':{'unitId':_0x4b0e66,'subUnitId':_0x4f9005,'shapeId':_0x22171f,'shapeType':_0x1bdd7d,'shapeData':{'adjustValues':_0x17f14f,'relation':_0x5d618b}}});}}[_0x1219e9(0x1ad)](_0x4c2ecb,_0x56b278,_0x1d9880,_0x47d465,_0x1c5330,_0x1691bb,_0x237af3,_0x460677,_0x14b437,_0x33f4ba){const _0x337a22=_0x1219e9;var _0x363a20;if(!_0x1c5330)return;let _0x1ae7a2=this[_0x337a22(0xe6)][_0x337a22(0x1a1)](_0x4c2ecb,_0x56b278);if(!_0x1ae7a2)return;let _0x85b638=(_0x363a20=this[_0x337a22(0x188)][_0x337a22(0x1ae)]({'unitId':_0x4c2ecb,'subUnitId':_0x56b278,'drawingId':_0x14b437}))==null?void 0x0:_0x363a20[_0x337a22(0x150)];if(!_0x85b638)return;let _0x37e984=_0x85b638['left']!==_0x33f4ba[_0x337a22(0x16e)]||_0x85b638[_0x337a22(0x15e)]!==_0x33f4ba[_0x337a22(0x15e)],_0xf129e0=_0x85b638[_0x337a22(0x103)]!==_0x33f4ba['width']||_0x85b638['height']!==_0x33f4ba[_0x337a22(0x15f)],_0x3f3bf6=_0x85b638[_0x337a22(0x190)]!==_0x33f4ba[_0x337a22(0x190)]||_0x85b638['flipY']!==_0x33f4ba[_0x337a22(0x10d)],_0x207514=_0x85b638[_0x337a22(0x1a8)]!==_0x33f4ba[_0x337a22(0x1a8)];if(_0x37e984&&!_0xf129e0&&!_0x3f3bf6&&!_0x207514){var _0x1eae73,_0x318d45,_0x377d08,_0x154a39;let _0x2b589a=((_0x1eae73=_0x33f4ba[_0x337a22(0x16e)])==null?0x0:_0x1eae73)-((_0x318d45=_0x85b638[_0x337a22(0x16e)])==null?0x0:_0x318d45),_0x16dacc=((_0x377d08=_0x33f4ba[_0x337a22(0x15e)])==null?0x0:_0x377d08)-((_0x154a39=_0x85b638[_0x337a22(0x15e)])==null?0x0:_0x154a39),_0x4eecc8=this['_drawingManagerService'][_0x337a22(0x16a)](_0x4c2ecb,_0x56b278);if(_0x4eecc8&&_0x4eecc8[_0x1d9880]){var _0x492179,_0x2938a0,_0x162cef,_0x5983e6;let _0x128ed8=_0x4eecc8[_0x1d9880],_0x139d33={..._0x128ed8[_0x337a22(0x150)],'left':((_0x492179=(_0x2938a0=_0x128ed8['transform'])==null?void 0x0:_0x2938a0['left'])==null?0x0:_0x492179)+_0x2b589a,'top':((_0x162cef=(_0x5983e6=_0x128ed8[_0x337a22(0x150)])==null?void 0x0:_0x5983e6[_0x337a22(0x15e)])==null?0x0:_0x162cef)+_0x16dacc},_0x375020=(0x0,_0x58b074[_0x337a22(0x185)])(_0x139d33,_0x1ae7a2),_0x333444=(0x0,_0x58b074[_0x337a22(0x179)])(_0x139d33,_0x1ae7a2),_0x24af01={'unitId':_0x4c2ecb,'subUnitId':_0x56b278,'drawingType':_0x6d5cfa[_0x337a22(0x153)][_0x337a22(0x132)],'drawingId':_0x1d9880,'transform':_0x139d33,'sheetTransform':_0x375020,'axisAlignSheetTransform':_0x333444},{unitId:_0x66521e,subUnitId:_0x300e72,undo:_0x4a1220,redo:_0x4e8c71,objects:_0x278343}=this[_0x337a22(0x188)]['getBatchUpdateOp']([_0x24af01]);_0x237af3[_0x337a22(0xfe)]({'id':_0x58b074[_0x337a22(0xf8)]['id'],'params':{'unitId':_0x66521e,'subUnitId':_0x300e72,'op':_0x4e8c71,'objects':_0x278343,'type':_0x58b074[_0x337a22(0x194)][_0x337a22(0xf2)]}}),_0x460677[_0x337a22(0xfe)]({'id':_0x58b074['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x66521e,'subUnitId':_0x300e72,'op':_0x4a1220,'objects':_0x278343,'type':_0x58b074[_0x337a22(0x194)][_0x337a22(0xf2)]}});}}else{let _0x1cc250=_0x47d465[_0x337a22(0x105)](),_0x5d8da9=_0x47d465[_0x337a22(0x169)]();this[_0x337a22(0x100)](_0x4c2ecb,_0x56b278,_0x1d9880,_0x47d465,_0x1cc250,_0x5d8da9,_0x237af3,_0x460677,_0x14b437,_0x33f4ba);}}};_0x59d3ae=_0x216e33([_0x77879f(0x0,_0x6d5cfa[_0x1219e9(0x19f)]),_0x77879f(0x1,(0x0,_0x6d5cfa[_0x1219e9(0x14f)])(_0x34f13c['SheetInterceptorService'])),_0x77879f(0x2,(0x0,_0x6d5cfa[_0x1219e9(0x14f)])(_0x34f13c[_0x1219e9(0x12b)])),_0x77879f(0x3,(0x0,_0x6d5cfa[_0x1219e9(0x14f)])(_0xeca84)),_0x77879f(0x4,(0x0,_0x6d5cfa['Inject'])(_0x5c4be5[_0x1219e9(0x193)]))],_0x59d3ae);let _0x393bbb=class extends _0x6d5cfa[_0x1219e9(0x1af)]{constructor(_0x449989=_0x2abc18,_0x5e5acf,_0x2d297d,_0x4c773f){const _0x448800=_0x1219e9;super(),this[_0x448800(0x109)]=_0x449989,this['_injector']=_0x5e5acf,this[_0x448800(0x1a2)]=_0x2d297d,this[_0x448800(0x111)]=_0x4c773f;let {..._0x45c420}=(0x0,_0x6d5cfa['merge'])({},_0x2abc18,this[_0x448800(0x109)]);this['_configService'][_0x448800(0x120)](_0x4b70e4,_0x45c420);}['onStarting'](){const _0x5c8690=_0x1219e9;let _0x384a0d=this['_injector'];[[_0x77a927],[_0xeca84],[_0x59d3ae]]['forEach'](_0x509416=>_0x384a0d[_0x5c8690(0xe8)](_0x509416)),(0x0,_0x6d5cfa['touchDependencies'])(_0x384a0d,[[_0xeca84],[_0x59d3ae]]);}};_0x10ded4(_0x393bbb,_0x1219e9(0x11e),_0x6d5cfa[_0x1219e9(0x170)][_0x1219e9(0xea)]),_0x10ded4(_0x393bbb,_0x1219e9(0x12c),_0x1219e9(0x113)),_0x10ded4(_0x393bbb,'packageName',_0x4a1821),_0x10ded4(_0x393bbb,'version',_0x5234aa),_0x393bbb=_0x216e33([(0x0,_0x6d5cfa[_0x1219e9(0x112)])(_0x22bc7c[_0x1219e9(0x161)]),_0x77879f(0x1,(0x0,_0x6d5cfa[_0x1219e9(0x14f)])(_0x6d5cfa[_0x1219e9(0x15d)])),_0x77879f(0x2,_0x6d5cfa[_0x1219e9(0x19f)]),_0x77879f(0x3,_0x6d5cfa[_0x1219e9(0x14a)])],_0x393bbb),_0xf62811[_0x1219e9(0x17b)]=0xc8,_0xf62811['DEFAULT_SHAPE_WIDTH']=0xc8,_0xf62811[_0x1219e9(0x1a6)]=_0x566d8a,_0xf62811[_0x1219e9(0x123)]=_0x4c12a4,_0xf62811['RemoveSheetsShapeMutation']=_0x35f76c,_0xf62811[_0x1219e9(0x152)]=_0x4f68c1,_0xf62811[_0x1219e9(0xff)]=_0x18ad07,Object[_0x1219e9(0x15a)](_0xf62811,_0x1219e9(0x186),{'enumerable':!0x0,'get':function(){return _0xeca84;}}),_0xf62811['ToggleSheetsShapeFlipCommand']=_0x327dcb,Object[_0x1219e9(0x15a)](_0xf62811,_0x1219e9(0x182),{'enumerable':!0x0,'get':function(){return _0x393bbb;}}),_0xf62811[_0x1219e9(0x124)]=_0x1e4727,_0xf62811[_0x1219e9(0x1b2)]=_0x5a49e4,_0xf62811['UpdateSheetsShapeDataMutation']=_0xb457c9,_0xf62811['UpdateSheetsShapeTypeCommand']=_0x1a155e,_0xf62811[_0x1219e9(0xed)]=_0x287359;}));function _0x2dc3(){const _0x3fafea=['@univerjs/sheets','call','sequenceExecute','type','lineShapeId','setConfig','stringify','syncExecuteCommand','InsertSheetsShapeMutation','UpdateConnectorRelationCommand','adjustValues','registerCommand','getSheetCommandTarget','getShapeType','UniverSheetsDrawing','RemoveSheetDrawingCommand','SheetSkeletonService','pluginName','IUndoRedoService','startX','sheet.command.set-shape-drawing-data','resizeEnabled','_shapeModelManagerMap','DRAWING_SHAPE','_initCommandInterceptor','_groupIds','@univerjs-pro/engine-shape','UniverCore','94148QmoLuO','_sheetsShapeService','rotation','_getConnectPointInfo','sheet.mutation.update-shape-data','string','InsertSheetDrawingCommand','_shapes','getConnectionSiteList','dispose','SheetInterceptorService','sheet.mutation.update-shape-type','every','assign','getShapeModel','54XXnRIo','sheets-shape.config','toJSON','sheet.command.update-connector-relation','IConfigService','sin','from','3443481avmpXc','_sheetInterceptorService','Inject','transform','10466680UbyNyu','SetShapeDrawingDataCommand','DrawingTypeEnum','_linesIds','235TgqWmc','getShapeData','_ensureShapeModelManager','getShapeRelation','_initSnapshot','defineProperty','toPrimitive','preRedos','Injector','top','height','drawingType','UniverLicensePlugin','shapeId','rotateEnabled','COMMAND','getOwnPropertyDescriptor','disposeWithMe','filter','CommandType','getEndConnectInfo','getDrawingData','sheet.command.toggle-shape-flip','UniverProSheetsShape','set','left','Disposable','UniverInstanceType','exports','_deserializeShapeForUnit','find','has','_resourcesManagerService','data','Module','getCellWithCoordByIndex','transformToAxisAlignPosition','getLineShapeRelation','DEFAULT_SHAPE_HEIGHT','removeLinePoints','getShapeDataById','fromJSON','params','SetSheetDrawingCommand','_serializeShapeForUnit','UniverSheetsShapePlugin','cos','length','transformToDrawingPosition','SheetsShapeService','getAdjustValueByName','_drawingManagerService','UniverProEngineShape','forEach','function','fill','REMOVE','getAdjustNames','sheet.mutation.insert-shape','flipX','MUTATION','getCellIndexAndOffsetByPosition','IDrawingManagerService','DrawingApplyType','getBatchAddOp','default','getShapeTypeById','entries','decorate','_initCommands','object','pushUndoRedo','symbol','setShapeType','ICommandService','onCommandExecute','getSkeleton','_commandService','0.20.1','228612GMpGnm','ClearSheetDrawingTransformerOperation','InsertShapeCommand','get','angle','isLineShape','worldRect','toStringTag','isFrom','_addLineFollowShapeUpdates','getDrawingByParam','Plugin','borderEnabled','hasShape','UpdateLineShapeResizeCommand','amd','getBasicShapeType','keys','redos','shapeData','ISheetDrawingService','_sheetSkeletonService','lineType','add','relation','UNIVER_SHEET','undos','ShapeModel','UpdateSheetsShapeTypeMutation','IUniverInstanceService','sheet.command.update-line-shape-resize','addShape','633716jxJPSm','UPDATE','prototype','setShapeData','range','getBasicShapeRelation','insertShape','SetDrawingApplyMutation','delete','interceptCommand','UniverProLicense','INSERT','@univerjs-pro/sheets-shape','push','SetSheetsShapeRotateCommand','_addLineRerouteUpdates','cxnIndex','12347072iEcyKH','width','constructor','getStartConnectInfo','position','_disposed','preUndos','_config','updateContext','UniverSheets','clear','flipY','registerPluginResource','getBasicShapeRotateBound','isConnectorShape','_configService','DependentOn','SHEET_SHAPE_PLUGIN','iterator','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','removeShape','ang','858564vvIfnJ','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','getBatchUpdateOp'];_0x2dc3=function(){return _0x3fafea;};return _0x2dc3();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-shape",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "private": false,
5
5
  "description": "shape for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -63,17 +63,17 @@
63
63
  "npm": ">=8.0.0"
64
64
  },
65
65
  "dependencies": {
66
- "@univerjs-pro/engine-shape": "0.20.0",
67
- "@univerjs/core": "0.20.0",
68
- "@univerjs/drawing": "0.20.0",
69
- "@univerjs-pro/license": "0.20.0",
70
- "@univerjs/sheets-drawing": "0.20.0",
71
- "@univerjs/sheets": "0.20.0"
66
+ "@univerjs-pro/engine-shape": "0.20.1",
67
+ "@univerjs-pro/license": "0.20.1",
68
+ "@univerjs/core": "0.20.1",
69
+ "@univerjs/drawing": "0.20.1",
70
+ "@univerjs/sheets-drawing": "0.20.1",
71
+ "@univerjs/sheets": "0.20.1"
72
72
  },
73
73
  "devDependencies": {
74
74
  "typescript": "^6.0.2",
75
75
  "vitest": "^4.1.1",
76
- "@univerjs-infra/shared": "0.20.0"
76
+ "@univerjs-infra/shared": "0.20.1"
77
77
  },
78
78
  "scripts": {
79
79
  "test": "vitest run",