@univerjs-pro/sheets-outline 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x42682d,_0x2dfab7){const _0x39f6e6=_0x1fe0,_0x24c88d=_0x42682d();while(!![]){try{const _0x34542e=-parseInt(_0x39f6e6(0x1bb))/0x1*(parseInt(_0x39f6e6(0x10d))/0x2)+-parseInt(_0x39f6e6(0x148))/0x3*(-parseInt(_0x39f6e6(0x12b))/0x4)+-parseInt(_0x39f6e6(0x10b))/0x5*(parseInt(_0x39f6e6(0x1ae))/0x6)+parseInt(_0x39f6e6(0xda))/0x7+parseInt(_0x39f6e6(0x136))/0x8*(-parseInt(_0x39f6e6(0xf4))/0x9)+-parseInt(_0x39f6e6(0x1a8))/0xa+parseInt(_0x39f6e6(0x12a))/0xb;if(_0x34542e===_0x2dfab7)break;else _0x24c88d['push'](_0x24c88d['shift']());}catch(_0x147c65){_0x24c88d['push'](_0x24c88d['shift']());}}}(_0x5422,0xc487b),function(_0x694ff4,_0x1ce226){const _0x33bc01=_0x1fe0;typeof exports==_0x33bc01(0xfb)&&typeof module<'u'?_0x1ce226(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`rxjs`),require(`rxjs/operators`),require(`@univerjs-pro/license`)):typeof define==_0x33bc01(0xfe)&&define[_0x33bc01(0x1aa)]?define([_0x33bc01(0x199),_0x33bc01(0x120),_0x33bc01(0x151),_0x33bc01(0xd8),_0x33bc01(0xe4),'@univerjs-pro/license'],_0x1ce226):(_0x694ff4=typeof globalThis<'u'?globalThis:_0x694ff4||self,_0x1ce226(_0x694ff4[_0x33bc01(0x14d)]={},_0x694ff4[_0x33bc01(0xf0)],_0x694ff4[_0x33bc01(0x1a7)],_0x694ff4[_0x33bc01(0xd8)],_0x694ff4[_0x33bc01(0xd8)][_0x33bc01(0x152)],_0x694ff4[_0x33bc01(0x1c0)]));}(this,function(_0x20c45e,_0x43f379,_0x2a5550,_0x238136,_0x36d6fd,_0x4e6b88){const _0x243686=_0x1fe0;Object[_0x243686(0x123)](_0x20c45e,Symbol[_0x243686(0x177)],{'value':_0x243686(0x138)});let _0x235fd9=function(_0x2b55af){const _0x261d5e=_0x243686;return _0x2b55af[_0x261d5e(0xe2)]=_0x261d5e(0x147),_0x2b55af['COLUMN']=_0x261d5e(0x159),_0x2b55af;}({}),_0x1a6b5a=function(_0x2b9192){const _0x2ce3b7=_0x243686;return _0x2b9192['INVALID_RANGE']=_0x2ce3b7(0x1ba),_0x2b9192['OUT_OF_BOUNDS']=_0x2ce3b7(0x128),_0x2b9192[_0x2ce3b7(0x143)]=_0x2ce3b7(0x127),_0x2b9192['MAX_DEPTH']=_0x2ce3b7(0x13e),_0x2b9192[_0x2ce3b7(0xfa)]=_0x2ce3b7(0x1b1),_0x2b9192[_0x2ce3b7(0xff)]=_0x2ce3b7(0x16b),_0x2b9192[_0x2ce3b7(0x100)]=_0x2ce3b7(0xe9),_0x2b9192;}({});var _0x3061c3=class extends Error{constructor(_0x16798a,_0x41c5b6,_0x5c99c3){const _0x4cb4ce=_0x243686;super(_0x41c5b6),this[_0x4cb4ce(0x10e)]=_0x16798a,this[_0x4cb4ce(0xf5)]=_0x5c99c3,this[_0x4cb4ce(0x115)]=_0x4cb4ce(0x132);}};function _0x5b2d40(_0x108968){const _0x2f40e6=_0x243686;return _0x108968 instanceof _0x3061c3?_0x108968['reason']:_0x108968 instanceof Error?_0x108968['message']['includes'](_0x2f40e6(0x14a))?'move-splits-outline':_0x108968[_0x2f40e6(0x1ac)][_0x2f40e6(0x1a0)](_0x2f40e6(0x10a))?'max-depth':_0x108968[_0x2f40e6(0x1ac)]['includes']('Crossing')?_0x2f40e6(0x127):_0x108968[_0x2f40e6(0x1ac)][_0x2f40e6(0x1a0)]('range')?_0x2f40e6(0x1ba):'unknown':_0x2f40e6(0xe9);}function _0x463563(_0x43a96c){return _0x43a96c instanceof _0x3061c3?_0x43a96c['outlineId']:void 0x0;}let _0x1a8460=0x2**0x35-0x1;function _0x53cfa4(_0x3a423a,_0x5587f9){const _0x1304c8=_0x243686;return _0x3a423a[_0x1304c8(0xe7)]===_0x5587f9[_0x1304c8(0xe7)]&&_0x3a423a[_0x1304c8(0x102)]===_0x5587f9['subUnitId']&&_0x3a423a[_0x1304c8(0x15f)]===_0x5587f9['axis'];}function _0x106607(_0x2d0af7,_0x279be6={}){const _0xce0a00=_0x243686;var _0x4dd198;let _0x4d0a44=(_0x4dd198=_0x279be6[_0xce0a00(0x17c)])==null?0x8:_0x4dd198,_0x5706f7=new Map();for(let _0x423ff9 of _0x2d0af7){let _0x318e7c=_0x423ff9[_0xce0a00(0xe7)]+':'+_0x423ff9[_0xce0a00(0x102)]+':'+_0x423ff9[_0xce0a00(0x15f)],_0x56cb0f=_0x5706f7[_0xce0a00(0xef)](_0x318e7c);_0x56cb0f?_0x56cb0f[_0xce0a00(0x155)](_0x423ff9):_0x5706f7[_0xce0a00(0x198)](_0x318e7c,[_0x423ff9]);}let _0x2680a6=[];for(let _0x546d18 of _0x5706f7[_0xce0a00(0x114)]()){let _0x3ef43a=[..._0x546d18]['sort'](_0x17aed9),_0x19251d=[];for(let _0x3f9a4f of _0x3ef43a){for(_0x2299a4(_0x3f9a4f);_0x19251d['length']>0x0&&_0x3f9a4f[_0xce0a00(0x139)]>_0x19251d[_0x19251d[_0xce0a00(0xdb)]-0x1][_0xce0a00(0x16c)];)_0x19251d[_0xce0a00(0x109)]();let _0x383102=_0x19251d[_0x19251d[_0xce0a00(0xdb)]-0x1];if(_0x383102&&_0x3f9a4f[_0xce0a00(0x16c)]>_0x383102[_0xce0a00(0x16c)])throw new _0x3061c3(_0xce0a00(0x127),_0xce0a00(0x1b6),_0x3f9a4f['id']);let _0x56da41=_0x383102?_0x383102[_0xce0a00(0x10a)]+0x1:0x1;if(_0x56da41>_0x4d0a44)throw new _0x3061c3('max-depth',_0xce0a00(0x167)+_0x4d0a44,_0x3f9a4f['id']);let _0x200e59={..._0x3f9a4f,'depth':_0x56da41,'parentId':_0x383102==null?void 0x0:_0x383102['id'],'anchor':_0x3f9a4f[_0xce0a00(0x16c)],'children':[]};_0x383102?_0x383102[_0xce0a00(0x101)]['push'](_0x200e59):_0x2680a6[_0xce0a00(0x155)](_0x200e59),_0x19251d[_0xce0a00(0x155)](_0x200e59);}}return _0x2680a6;}function _0x4aa8dc(_0xfc8b66,_0x4fa5a3,_0x4fdddb={}){const _0x3ed5f0=_0x243686;if(_0x4fa5a3[_0x3ed5f0(0x139)]<0x0||_0x4fa5a3[_0x3ed5f0(0x139)]>_0x4fa5a3['end'])return{'valid':!0x1,'reason':_0x3ed5f0(0x1ba)};if(_0x4fdddb[_0x3ed5f0(0x187)]!=null&&_0x4fa5a3['end']>=_0x4fdddb[_0x3ed5f0(0x187)])return{'valid':!0x1,'reason':_0x3ed5f0(0x128)};let _0x16eb15=_0xfc8b66[_0x3ed5f0(0x11b)](_0x18a8e4=>_0x53cfa4(_0x18a8e4,_0x4fa5a3));for(let _0x321310 of _0x16eb15)if(_0x5d471c(_0x321310,_0x4fa5a3))return{'valid':!0x1,'reason':_0x3ed5f0(0x127)};try{_0x106607([..._0xfc8b66,_0x4fa5a3],_0x4fdddb);}catch(_0x1cdac3){let _0x4527cd=_0x5b2d40(_0x1cdac3);return _0x4527cd==='max-depth'?{'valid':!0x1,'reason':_0x3ed5f0(0x13e)}:_0x4527cd==='invalid-range'?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x3ed5f0(0x127)};}return{'valid':!0x0};}function _0xf0a5da(_0x4e9b96,_0x35f0ed,_0x90338={}){const _0x47d669=_0x243686;let _0x1f3e3b=_0x4aa8dc(_0x4e9b96,_0x35f0ed,_0x90338);if(!_0x1f3e3b[_0x47d669(0x175)]){var _0x574dc8;throw Error((_0x574dc8=_0x1f3e3b[_0x47d669(0x10e)])==null?_0x47d669(0x112):_0x574dc8);}return[..._0x4e9b96,_0x35f0ed];}function _0x4dab9f(_0x20d839,_0x51806d){const _0x4d1cb7=_0x243686;let _0x3bef15=_0x51806d['start'],_0x9aa7b2=_0x51806d[_0x4d1cb7(0x16c)],_0x82e156=[],_0x1a6e4e=!0x0;for(;_0x1a6e4e;){_0x1a6e4e=!0x1;for(let _0x2dac5e of _0x20d839)_0x82e156[_0x4d1cb7(0x1a0)](_0x2dac5e)||!_0x53cfa4(_0x2dac5e,_0x51806d)||!_0x13d600(_0x2dac5e[_0x4d1cb7(0x139)],_0x2dac5e[_0x4d1cb7(0x16c)],_0x3bef15,_0x9aa7b2)||(_0x82e156[_0x4d1cb7(0x155)](_0x2dac5e),_0x3bef15=Math[_0x4d1cb7(0x116)](_0x3bef15,_0x2dac5e[_0x4d1cb7(0x139)]),_0x9aa7b2=Math[_0x4d1cb7(0x14c)](_0x9aa7b2,_0x2dac5e['end']),_0x1a6e4e=!0x0);}if(_0x82e156[_0x4d1cb7(0xdb)]===0x0)return null;let [_0x232dc0]=[..._0x82e156][_0x4d1cb7(0xe0)](_0x17aed9);return{'mergedOutline':{..._0x232dc0,'start':_0x3bef15,'end':_0x9aa7b2},'mergedOutlines':_0x82e156};}function _0x1b6996(_0x12d8fb,_0x3bfc29){const _0x1e3409=_0x243686;return _0x12d8fb[_0x1e3409(0x11b)](_0x2f9432=>_0x53cfa4(_0x2f9432,_0x3bfc29)?!(_0x2f9432[_0x1e3409(0x139)]>=_0x3bfc29['start']&&_0x2f9432['end']<=_0x3bfc29[_0x1e3409(0x16c)]):!0x0);}function _0x480a0c(_0x3efd57,_0xd03934,_0x35d115,_0x5be575){const _0x382cea=_0x243686;return _0xb970fa(_0x3efd57[_0x382cea(0x11b)](_0xf90284=>_0xf90284[_0x382cea(0xe7)]===_0xd03934&&_0xf90284[_0x382cea(0x102)]===_0x35d115&&_0xf90284[_0x382cea(0x15f)]===_0x5be575&&_0xf90284[_0x382cea(0x15d)])[_0x382cea(0xe6)](_0x273cdc=>({'start':_0x273cdc[_0x382cea(0x139)],'end':_0x273cdc[_0x382cea(0x16c)]})));}function _0xb970fa(_0x3e4cb0){const _0x17cbed=_0x243686;if(_0x3e4cb0[_0x17cbed(0xdb)]===0x0)return[];let _0x4d6201=[..._0x3e4cb0][_0x17cbed(0xe0)]((_0x9beb37,_0x5e99cb)=>_0x9beb37[_0x17cbed(0x139)]-_0x5e99cb['start']||_0x9beb37[_0x17cbed(0x16c)]-_0x5e99cb[_0x17cbed(0x16c)]),_0x552210=[];for(let _0x47095e of _0x4d6201){let _0x5d4c6=_0x552210[_0x552210['length']-0x1];!_0x5d4c6||_0x47095e[_0x17cbed(0x139)]>_0x5d4c6[_0x17cbed(0x16c)]+0x1?_0x552210[_0x17cbed(0x155)]({..._0x47095e}):_0x5d4c6['end']=Math['max'](_0x5d4c6[_0x17cbed(0x16c)],_0x47095e[_0x17cbed(0x16c)]);}return _0x552210;}function _0x22060d(_0x38def2,_0x1d66a4){const _0x350f26=_0x243686;return _0x1d66a4[_0x350f26(0x1a3)]<=0x0?_0x38def2:_0x1f06ac(_0x38def2[_0x350f26(0xe6)](_0x306a2d=>_0x53cfa4(_0x306a2d,_0x1d66a4)?_0x1d66a4[_0x350f26(0x190)]<=_0x306a2d[_0x350f26(0x139)]?{..._0x306a2d,'start':_0x306a2d[_0x350f26(0x139)]+_0x1d66a4[_0x350f26(0x1a3)],'end':_0x306a2d[_0x350f26(0x16c)]+_0x1d66a4[_0x350f26(0x1a3)]}:_0x306a2d[_0x350f26(0x139)]<_0x1d66a4[_0x350f26(0x190)]&&_0x1d66a4[_0x350f26(0x190)]<=_0x306a2d['end']?{..._0x306a2d,'end':_0x306a2d[_0x350f26(0x16c)]+_0x1d66a4[_0x350f26(0x1a3)]}:_0x306a2d:_0x306a2d));}function _0x56a0af(_0x14ffcb,_0x44ced0){const _0x1a92a4=_0x243686;if(_0x44ced0[_0x1a92a4(0x139)]>_0x44ced0[_0x1a92a4(0x16c)])return _0x14ffcb;let _0x1b90b9=_0x44ced0[_0x1a92a4(0x16c)]-_0x44ced0['start']+0x1,_0x19c99d=[];for(let _0x28a991 of _0x14ffcb){if(!_0x53cfa4(_0x28a991,_0x44ced0)){_0x19c99d[_0x1a92a4(0x155)](_0x28a991);continue;}if(_0x28a991[_0x1a92a4(0x16c)]<_0x44ced0[_0x1a92a4(0x139)]){_0x19c99d[_0x1a92a4(0x155)](_0x28a991);continue;}if(_0x28a991[_0x1a92a4(0x139)]>_0x44ced0[_0x1a92a4(0x16c)]){_0x19c99d[_0x1a92a4(0x155)]({..._0x28a991,'start':_0x28a991[_0x1a92a4(0x139)]-_0x1b90b9,'end':_0x28a991['end']-_0x1b90b9});continue;}let _0x26659c=Math[_0x1a92a4(0x14c)](_0x28a991[_0x1a92a4(0x139)],_0x44ced0[_0x1a92a4(0x139)]),_0x308074=Math[_0x1a92a4(0x116)](_0x28a991['end'],_0x44ced0[_0x1a92a4(0x16c)]),_0x21d055=Math[_0x1a92a4(0x14c)](0x0,_0x308074-_0x26659c+0x1),_0x1526c6=_0x28a991['end']-_0x28a991[_0x1a92a4(0x139)]+0x1-_0x21d055;if(_0x1526c6<=0x0)continue;let _0x22027f=_0x28a991[_0x1a92a4(0x139)]<_0x44ced0['start']?_0x28a991['start']:_0x44ced0['start'];_0x19c99d['push']({..._0x28a991,'start':_0x22027f,'end':_0x22027f+_0x1526c6-0x1});}return _0x1f06ac(_0x19c99d);}function _0x5421de(_0x4835c0,_0x4ddbc3){const _0x1de41e=_0x243686;if(_0x4ddbc3['sourceStart']>_0x4ddbc3[_0x1de41e(0x174)])return _0x4835c0;let _0x59439b=[];for(let _0x784c15 of _0x4835c0){if(!_0x53cfa4(_0x784c15,_0x4ddbc3)){_0x59439b[_0x1de41e(0x155)](_0x784c15);continue;}let _0x1d990f=_0x4cc592(_0x784c15,_0x4ddbc3);if(_0x1d990f[_0x1de41e(0x182)]===_0x1de41e(0x15b))throw new _0x3061c3(_0x1de41e(0x1b1),_0x1de41e(0x19d)+_0x784c15['id'],_0x784c15['id']);_0x59439b[_0x1de41e(0x155)](_0x1d990f[_0x1de41e(0x140)]);}return _0x1f06ac(_0x59439b);}function _0x4cc592(_0x321e4e,_0x20daa4){const _0x17ab20=_0x243686;let _0x17a802=_0x450c8b(_0x20daa4[_0x17ab20(0x179)],_0x20daa4[_0x17ab20(0x174)]+0x1,_0x20daa4[_0x17ab20(0x180)]),_0x2d92dd=[],_0x2d62c7={'start':_0x321e4e[_0x17ab20(0x139)],'end':_0x321e4e[_0x17ab20(0x16c)]+0x1};for(let _0x1b9711 of _0x17a802){let _0x30b37c=_0x52ddeb(_0x2d62c7,_0x1b9711['range']);_0x30b37c&&_0x2d92dd[_0x17ab20(0x155)]({'start':_0x30b37c[_0x17ab20(0x139)]+_0x1b9711[_0x17ab20(0x162)],'end':_0x30b37c[_0x17ab20(0x16c)]+_0x1b9711[_0x17ab20(0x162)]});}let _0x58b8e3=_0x5428a2(_0x2d92dd);return _0x58b8e3[_0x17ab20(0xdb)]===0x1?{'type':'ok','outline':{..._0x321e4e,'start':_0x58b8e3[0x0][_0x17ab20(0x139)],'end':_0x58b8e3[0x0][_0x17ab20(0x16c)]-0x1}}:{'type':'split','outline':_0x321e4e,'ranges':_0x58b8e3};}function _0x450c8b(_0x14be9d,_0x5e8ddf,_0x765ef3){const _0x30128f=_0x243686;let _0x151956=_0x5e8ddf-_0x14be9d;if(_0x151956<=0x0)throw Error(_0x30128f(0x113));return _0x765ef3>=_0x14be9d&&_0x765ef3<=_0x5e8ddf?[{'range':{'start':0x0,'end':_0x1a8460},'offset':0x0}]:_0x765ef3<_0x14be9d?[{'range':{'start':0x0,'end':_0x765ef3},'offset':0x0},{'range':{'start':_0x765ef3,'end':_0x14be9d},'offset':_0x151956},{'range':{'start':_0x14be9d,'end':_0x5e8ddf},'offset':_0x765ef3-_0x14be9d},{'range':{'start':_0x5e8ddf,'end':_0x1a8460},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x14be9d},'offset':0x0},{'range':{'start':_0x14be9d,'end':_0x5e8ddf},'offset':_0x765ef3-_0x5e8ddf},{'range':{'start':_0x5e8ddf,'end':_0x765ef3},'offset':-_0x151956},{'range':{'start':_0x765ef3,'end':_0x1a8460},'offset':0x0}];}function _0x52ddeb(_0x32c614,_0x49b3ef){const _0x18c2a9=_0x243686;let _0x4a4ff7=Math[_0x18c2a9(0x14c)](_0x32c614[_0x18c2a9(0x139)],_0x49b3ef[_0x18c2a9(0x139)]),_0xa17f30=Math['min'](_0x32c614[_0x18c2a9(0x16c)],_0x49b3ef[_0x18c2a9(0x16c)]);return _0x4a4ff7>=_0xa17f30?null:{'start':_0x4a4ff7,'end':_0xa17f30};}function _0x5428a2(_0x27027c){const _0x49b8cc=_0x243686;if(_0x27027c['length']===0x0)return[];let _0x1f281b=[..._0x27027c][_0x49b8cc(0xe0)]((_0x921921,_0x2354d3)=>_0x921921[_0x49b8cc(0x139)]-_0x2354d3[_0x49b8cc(0x139)]||_0x921921[_0x49b8cc(0x16c)]-_0x2354d3[_0x49b8cc(0x16c)]),_0x3a5257=[];for(let _0xc714eb of _0x1f281b){let _0x945703=_0x3a5257[_0x3a5257[_0x49b8cc(0xdb)]-0x1];!_0x945703||_0xc714eb[_0x49b8cc(0x139)]>_0x945703[_0x49b8cc(0x16c)]?_0x3a5257['push']({..._0xc714eb}):_0x945703[_0x49b8cc(0x16c)]=Math[_0x49b8cc(0x14c)](_0x945703[_0x49b8cc(0x16c)],_0xc714eb[_0x49b8cc(0x16c)]);}return _0x3a5257;}function _0x13d600(_0x55620c,_0x48e02b,_0x521fb7,_0x44d93c){return _0x48e02b+0x1===_0x521fb7||_0x44d93c+0x1===_0x55620c;}function _0x1f06ac(_0x4d096e){let _0x119d4d=_0x28d904(_0x4d096e);return _0x106607(_0x119d4d),_0x119d4d;}function _0x28d904(_0x4f4762){const _0x1ed45e=_0x243686;let _0x1d8ee1=new Map();for(let _0x313689 of _0x4f4762){let _0x34d033=[_0x313689[_0x1ed45e(0xe7)],_0x313689[_0x1ed45e(0x102)],_0x313689[_0x1ed45e(0x15f)],_0x313689[_0x1ed45e(0x139)],_0x313689[_0x1ed45e(0x16c)]][_0x1ed45e(0x168)](':'),_0x59b64e=_0x1d8ee1[_0x1ed45e(0xef)](_0x34d033);if(!_0x59b64e){_0x1d8ee1[_0x1ed45e(0x198)](_0x34d033,_0x313689);continue;}_0x1d8ee1[_0x1ed45e(0x198)](_0x34d033,{..._0x59b64e,'collapsed':_0x59b64e[_0x1ed45e(0x15d)]||_0x313689[_0x1ed45e(0x15d)]});}return Array[_0x1ed45e(0x16a)](_0x1d8ee1[_0x1ed45e(0x114)]());}function _0x17aed9(_0x2979ea,_0x1c4810){const _0x1d205d=_0x243686;return _0x2979ea[_0x1d205d(0xe7)]===_0x1c4810[_0x1d205d(0xe7)]?_0x2979ea['subUnitId']===_0x1c4810[_0x1d205d(0x102)]?_0x2979ea[_0x1d205d(0x15f)]===_0x1c4810[_0x1d205d(0x15f)]?_0x2979ea[_0x1d205d(0x139)]===_0x1c4810[_0x1d205d(0x139)]?_0x1c4810[_0x1d205d(0x16c)]-_0x2979ea[_0x1d205d(0x16c)]:_0x2979ea[_0x1d205d(0x139)]-_0x1c4810[_0x1d205d(0x139)]:_0x2979ea[_0x1d205d(0x15f)]['localeCompare'](_0x1c4810[_0x1d205d(0x15f)]):_0x2979ea[_0x1d205d(0x102)][_0x1d205d(0x1a5)](_0x1c4810[_0x1d205d(0x102)]):_0x2979ea[_0x1d205d(0xe7)][_0x1d205d(0x1a5)](_0x1c4810[_0x1d205d(0xe7)]);}function _0x2299a4(_0x174b0d){const _0x3a2596=_0x243686;if(_0x174b0d[_0x3a2596(0x139)]>_0x174b0d[_0x3a2596(0x16c)])throw new _0x3061c3(_0x3a2596(0x1ba),_0x3a2596(0x108),_0x174b0d['id']);}function _0x5d471c(_0x444dbe,_0x1838e9){const _0x59b61e=_0x243686;let _0x2a0bda=_0x444dbe[_0x59b61e(0x139)]<=_0x1838e9[_0x59b61e(0x16c)]&&_0x1838e9[_0x59b61e(0x139)]<=_0x444dbe[_0x59b61e(0x16c)],_0x49bf64=_0x444dbe[_0x59b61e(0x139)]<=_0x1838e9[_0x59b61e(0x139)]&&_0x1838e9['end']<=_0x444dbe[_0x59b61e(0x16c)],_0x4fb823=_0x1838e9[_0x59b61e(0x139)]<=_0x444dbe['start']&&_0x444dbe[_0x59b61e(0x16c)]<=_0x1838e9[_0x59b61e(0x16c)];return _0x2a0bda&&!_0x49bf64&&!_0x4fb823;}function _0x5b78bf(_0x42ab41){'@babel/helpers - typeof';const _0x1857f4=_0x243686;return _0x5b78bf=typeof Symbol==_0x1857f4(0xfe)&&typeof Symbol[_0x1857f4(0xe5)]=='symbol'?function(_0x781f09){return typeof _0x781f09;}:function(_0x373615){const _0x1ef49f=_0x1857f4;return _0x373615&&typeof Symbol==_0x1ef49f(0xfe)&&_0x373615[_0x1ef49f(0x14b)]===Symbol&&_0x373615!==Symbol[_0x1ef49f(0xf2)]?_0x1ef49f(0x188):typeof _0x373615;},_0x5b78bf(_0x42ab41);}function _0x32c357(_0x1e689b,_0x142e29){const _0x185216=_0x243686;if(_0x5b78bf(_0x1e689b)!=_0x185216(0xfb)||!_0x1e689b)return _0x1e689b;var _0x20e5ef=_0x1e689b[Symbol[_0x185216(0x1b7)]];if(_0x20e5ef!==void 0x0){var _0x11c045=_0x20e5ef['call'](_0x1e689b,_0x142e29||_0x185216(0x125));if(_0x5b78bf(_0x11c045)!='object')return _0x11c045;throw TypeError(_0x185216(0x185));}return(_0x142e29===_0x185216(0x17e)?String:Number)(_0x1e689b);}function _0x1c5789(_0xe0eab0){const _0x3eda4b=_0x243686;var _0x82d6fa=_0x32c357(_0xe0eab0,'string');return _0x5b78bf(_0x82d6fa)==_0x3eda4b(0x188)?_0x82d6fa:_0x82d6fa+'';}function _0x336918(_0x29a933,_0x5b9614,_0x2b777c){const _0x339086=_0x243686;return(_0x5b9614=_0x1c5789(_0x5b9614))in _0x29a933?Object[_0x339086(0x123)](_0x29a933,_0x5b9614,{'value':_0x2b777c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29a933[_0x5b9614]=_0x2b777c,_0x29a933;}var _0x468c95=class extends _0x43f379[_0x243686(0x1b4)]{constructor(..._0x3f1f40){const _0x78c1ab=_0x243686;super(..._0x3f1f40),_0x336918(this,_0x78c1ab(0xde),new Map()),_0x336918(this,_0x78c1ab(0x197),new _0x238136[(_0x78c1ab(0x160))]()),_0x336918(this,'change$',this[_0x78c1ab(0x197)]['asObservable']());}['getOutlines'](_0xa976a4,_0x17f288){const _0x2bb137=_0x243686;var _0x433551,_0x414907;return[...(_0x433551=(_0x414907=this[_0x2bb137(0xde)][_0x2bb137(0xef)](_0xa976a4))==null?void 0x0:_0x414907[_0x2bb137(0xef)](_0x17f288))==null?[]:_0x433551];}['getUnitOutlines'](_0x33dd87){const _0x205a97=_0x243686;let _0x596697=this['_outlines']['get'](_0x33dd87),_0x18fd88=new Map();return _0x596697==null||_0x596697[_0x205a97(0x12e)]((_0x2dfced,_0x4af918)=>{const _0x836173=_0x205a97;_0x18fd88[_0x836173(0x198)](_0x4af918,[..._0x2dfced]);}),_0x18fd88;}[_0x243686(0x11e)](_0x5d8d2a,_0x5aca15,_0x2d3dfe){const _0x227542=_0x243686;this['_ensureUnitOutlines'](_0x5d8d2a)['set'](_0x5aca15,[..._0x2d3dfe]),this[_0x227542(0x197)][_0x227542(0x19b)]({'unitId':_0x5d8d2a,'subUnitId':_0x5aca15});}[_0x243686(0x106)](_0x4a4d43){const _0x5e2120=_0x243686;this[_0x5e2120(0xde)][_0x5e2120(0x11a)](_0x4a4d43),this[_0x5e2120(0x197)][_0x5e2120(0x19b)]({'unitId':_0x4a4d43});}[_0x243686(0x10c)](_0x167ec3){const _0x42468d=_0x243686;let _0x344dd8=this[_0x42468d(0xde)]['get'](_0x167ec3),_0x44229f={};return _0x344dd8==null||_0x344dd8[_0x42468d(0x12e)]((_0x238569,_0x5e38ff)=>{_0x44229f[_0x5e38ff]={'outlineList':[..._0x238569]};}),_0x44229f;}[_0x243686(0x1ad)](_0xef68bb,_0x2a63c2){const _0xb467e6=_0x243686;let _0x1d2e46=new Map();Object['entries'](_0x2a63c2)[_0xb467e6(0x12e)](([_0x203b5b,_0x2fd2ee])=>{const _0x3da2c6=_0xb467e6;var _0x4444d3;_0x1d2e46[_0x3da2c6(0x198)](_0x203b5b,[...(_0x4444d3=_0x2fd2ee[_0x3da2c6(0x19f)])==null?[]:_0x4444d3]);}),this[_0xb467e6(0xde)]['set'](_0xef68bb,_0x1d2e46),this['_change$'][_0xb467e6(0x19b)]({'unitId':_0xef68bb});}[_0x243686(0xf8)](){const _0x249134=_0x243686;super['dispose'](),this[_0x249134(0xde)][_0x249134(0x18c)](),this[_0x249134(0x197)]['complete']();}['_ensureUnitOutlines'](_0x3ecd97){const _0x399809=_0x243686;let _0x702b70=this[_0x399809(0xde)][_0x399809(0xef)](_0x3ecd97);return _0x702b70||(_0x702b70=new Map(),this[_0x399809(0xde)]['set'](_0x3ecd97,_0x702b70)),_0x702b70;}},_0x3e11ae=class extends _0x43f379['Disposable']{constructor(..._0x304639){const _0x116d5e=_0x243686;super(..._0x304639),_0x336918(this,'_error$',new _0x238136[(_0x116d5e(0x160))]()),_0x336918(this,_0x116d5e(0x107),this[_0x116d5e(0x16d)][_0x116d5e(0x10f)]());}[_0x243686(0x178)](_0x426520){const _0x3ced79=_0x243686;this[_0x3ced79(0x16d)]['next'](_0x426520);}[_0x243686(0xf8)](){const _0x53f8fe=_0x243686;super['dispose'](),this[_0x53f8fe(0x16d)][_0x53f8fe(0x150)]();}};let _0x34f997={'id':_0x243686(0x17d),'type':_0x43f379[_0x243686(0xec)]['MUTATION'],'handler':(_0x58e953,_0x58b6e8)=>{const _0x258a50=_0x243686;let _0x49b9a1=_0x58e953[_0x258a50(0xef)](_0x468c95),_0x392a16=_0x49b9a1['getOutlines'](_0x58b6e8['unitId'],_0x58b6e8[_0x258a50(0x102)]);return _0x49b9a1[_0x258a50(0x11e)](_0x58b6e8[_0x258a50(0xe7)],_0x58b6e8[_0x258a50(0x102)],_0xf0a5da(_0x392a16,_0x58b6e8[_0x258a50(0x140)])),!0x0;}},_0x38fca9={'id':_0x243686(0x191),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x12d)],'handler':(_0x550ef4,_0x48a313)=>{const _0x38c371=_0x243686;let _0x1bf0f0=_0x550ef4[_0x38c371(0xef)](_0x468c95),_0x6fe8c1=_0x1bf0f0[_0x38c371(0xdd)](_0x48a313[_0x38c371(0xe7)],_0x48a313[_0x38c371(0x102)]);return _0x1bf0f0[_0x38c371(0x11e)](_0x48a313[_0x38c371(0xe7)],_0x48a313[_0x38c371(0x102)],_0x6fe8c1[_0x38c371(0x11b)](_0x58a97a=>_0x58a97a['id']!==_0x48a313[_0x38c371(0xf5)])),!0x0;}};function _0x305901(_0x10c135,_0x39f10d,_0x25f9d3){const _0x455140=_0x243686;let _0x370e6a=_0x52c64f(_0x10c135);return _0x370e6a?_0x370e6a['permissionCheckWithoutRange']({'workbookTypes':[_0x2a5550['WorkbookViewPermission']],'worksheetTypes':[_0x2a5550[_0x455140(0x111)]]},_0x39f10d,_0x25f9d3):!0x0;}function _0x161ed0(_0x53af8a,_0xf5c93a,_0x47ccd5){const _0x5c833a=_0x243686;var _0x1215c1;let _0x497d35=_0x48cb2b(_0x53af8a);return((_0x1215c1=_0x497d35==null?void 0x0:_0x497d35[_0x5c833a(0x15c)])==null?(0x0,_0x238136['of'])(null):_0x1215c1)[_0x5c833a(0x15e)]((0x0,_0x36d6fd['debounceTime'])(0x64),(0x0,_0x36d6fd[_0x5c833a(0x19a)])(null),(0x0,_0x36d6fd[_0x5c833a(0xe6)])(()=>_0x305901(_0x53af8a,_0xf5c93a,_0x47ccd5)));}function _0x52c64f(_0x1b52b3){const _0x35ec90=_0x243686;if(typeof _0x1b52b3[_0x35ec90(0x186)]=='function'&&!_0x1b52b3[_0x35ec90(0x186)](_0x2a5550[_0x35ec90(0x13f)]))return null;try{return _0x1b52b3[_0x35ec90(0xef)](_0x2a5550[_0x35ec90(0x13f)]);}catch{return null;}}function _0x48cb2b(_0x420583){const _0x4156b5=_0x243686;if(typeof _0x420583[_0x4156b5(0x186)]==_0x4156b5(0xfe)&&!_0x420583[_0x4156b5(0x186)](_0x43f379['IPermissionService']))return null;try{return _0x420583[_0x4156b5(0xef)](_0x43f379[_0x4156b5(0x1ab)]);}catch{return null;}}let _0x4e482a={'id':_0x243686(0x170),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x1be)],'handler':(_0x491cf8,_0x26ccf6)=>{const _0x720f1e=_0x243686;var _0x25455c,_0x4a690a;if(!_0x26ccf6)return!0x1;let _0xd53230=(0x0,_0x2a5550['getSheetCommandTarget'])(_0x491cf8[_0x720f1e(0xef)](_0x43f379[_0x720f1e(0x157)]),_0x26ccf6);if(!_0xd53230)return!0x1;let {unitId:_0x1c3399,subUnitId:_0x2e204e,worksheet:_0x175385}=_0xd53230;if(!_0x305901(_0x491cf8,_0x1c3399,_0x2e204e))return!0x1;let _0x38a2fd=_0x491cf8['get'](_0x468c95),_0x651627={'id':_0x720f1e(0x1af)+(0x0,_0x43f379[_0x720f1e(0x166)])(0x6),'unitId':_0x1c3399,'subUnitId':_0x2e204e,'axis':_0x26ccf6[_0x720f1e(0x15f)],'start':_0x26ccf6['start'],'end':_0x26ccf6['end'],'collapsed':!0x1},_0x2cfdef=_0x26ccf6['axis']===_0x720f1e(0x147)?_0x175385[_0x720f1e(0x17b)]():_0x175385[_0x720f1e(0x117)](),_0x40de9d=_0x38a2fd[_0x720f1e(0xdd)](_0x1c3399,_0x2e204e),_0x2f9564=_0x4dab9f(_0x40de9d,_0x651627),_0xbd5127=(_0x25455c=_0x2f9564==null?void 0x0:_0x2f9564[_0x720f1e(0x13b)])==null?[]:_0x25455c,_0x19aecd=(_0x4a690a=_0x2f9564==null?void 0x0:_0x2f9564[_0x720f1e(0x130)])==null?_0x651627:_0x4a690a,_0x499ff4=_0x4aa8dc(_0x2f9564?_0x40de9d['filter'](_0x46c3fa=>!_0xbd5127[_0x720f1e(0xf7)](_0x247406=>_0x247406['id']===_0x46c3fa['id'])):_0x40de9d,_0x19aecd,{'maxIndex':_0x2cfdef});if(!_0x499ff4[_0x720f1e(0x175)]){var _0x110138;return _0x491cf8[_0x720f1e(0xef)](_0x3e11ae)[_0x720f1e(0x178)]({'reason':(_0x110138=_0x499ff4[_0x720f1e(0x10e)])==null?_0x720f1e(0xe9):_0x110138,'commandId':_0x4e482a['id'],'unitId':_0x1c3399,'subUnitId':_0x2e204e,'axis':_0x26ccf6['axis'],'outlineId':_0x19aecd['id']}),!0x1;}let _0x3d8f56=[..._0xbd5127[_0x720f1e(0xe6)](_0x44cc1b=>({'id':_0x38fca9['id'],'params':{'unitId':_0x1c3399,'subUnitId':_0x2e204e,'outlineId':_0x44cc1b['id']}})),{'id':_0x34f997['id'],'params':{'unitId':_0x1c3399,'subUnitId':_0x2e204e,'outline':_0x19aecd}}],_0x28cc39=[{'id':_0x38fca9['id'],'params':{'unitId':_0x1c3399,'subUnitId':_0x2e204e,'outlineId':_0x19aecd['id']}},..._0xbd5127[_0x720f1e(0xe6)](_0x590d0b=>({'id':_0x34f997['id'],'params':{'unitId':_0x1c3399,'subUnitId':_0x2e204e,'outline':_0x590d0b}}))];return(0x0,_0x43f379[_0x720f1e(0x13c)])(_0x3d8f56,_0x491cf8[_0x720f1e(0xef)](_0x43f379[_0x720f1e(0x146)]))[_0x720f1e(0x1a4)]?(_0x491cf8[_0x720f1e(0xef)](_0x43f379['IUndoRedoService'])[_0x720f1e(0x183)]({'unitID':_0x1c3399,'undoMutations':_0x28cc39,'redoMutations':_0x3d8f56}),!0x0):!0x1;}},_0x73468b={'id':_0x243686(0x15a),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x12d)],'handler':(_0x495264,_0x14fc49)=>{const _0x3e6c60=_0x243686;let _0x42d996=_0x495264[_0x3e6c60(0xef)](_0x468c95),_0x27dada=_0x42d996['getOutlines'](_0x14fc49[_0x3e6c60(0xe7)],_0x14fc49[_0x3e6c60(0x102)]);return _0x42d996[_0x3e6c60(0x11e)](_0x14fc49[_0x3e6c60(0xe7)],_0x14fc49[_0x3e6c60(0x102)],_0x1b6996(_0x27dada,_0x14fc49)),!0x0;}},_0x27ff25={'id':_0x243686(0x145),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x1be)],'handler':(_0x39c265,_0x5ede14)=>{const _0x6e3d8c=_0x243686;if(!_0x5ede14)return!0x1;let _0x23cd61=(0x0,_0x2a5550[_0x6e3d8c(0xf6)])(_0x39c265[_0x6e3d8c(0xef)](_0x43f379[_0x6e3d8c(0x157)]),_0x5ede14);if(!_0x23cd61)return!0x1;let {unitId:_0xa0d357,subUnitId:_0x476926}=_0x23cd61;if(!_0x305901(_0x39c265,_0xa0d357,_0x476926))return!0x1;let _0xb6b5e1={'unitId':_0xa0d357,'subUnitId':_0x476926,'axis':_0x5ede14['axis'],'start':_0x5ede14[_0x6e3d8c(0x139)],'end':_0x5ede14['end']},_0xa33c97=_0x39c265[_0x6e3d8c(0xef)](_0x468c95)[_0x6e3d8c(0xdd)](_0xa0d357,_0x476926)[_0x6e3d8c(0x11b)](_0x22b564=>_0x53cfa4(_0x22b564,_0xb6b5e1)&&_0x22b564[_0x6e3d8c(0x139)]>=_0x5ede14['start']&&_0x22b564[_0x6e3d8c(0x16c)]<=_0x5ede14[_0x6e3d8c(0x16c)]);if(_0xa33c97[_0x6e3d8c(0xdb)]===0x0)return _0x39c265['get'](_0x3e11ae)[_0x6e3d8c(0x178)]({'reason':_0x6e3d8c(0x16b),'commandId':_0x27ff25['id'],'unitId':_0xa0d357,'subUnitId':_0x476926,'axis':_0x5ede14['axis']}),!0x1;let _0x1fb866=[{'id':_0x73468b['id'],'params':{..._0xb6b5e1,'removedOutlineIds':_0xa33c97[_0x6e3d8c(0xe6)](_0x327dff=>_0x327dff['id'])}}],_0x2b352c=_0xa33c97[_0x6e3d8c(0xe6)](_0x3d4988=>({'id':_0x34f997['id'],'params':{'unitId':_0xa0d357,'subUnitId':_0x476926,'outline':_0x3d4988}}));return(0x0,_0x43f379[_0x6e3d8c(0x13c)])(_0x1fb866,_0x39c265[_0x6e3d8c(0xef)](_0x43f379[_0x6e3d8c(0x146)]))[_0x6e3d8c(0x1a4)]?(_0x39c265[_0x6e3d8c(0xef)](_0x43f379[_0x6e3d8c(0x195)])[_0x6e3d8c(0x183)]({'unitID':_0xa0d357,'undoMutations':_0x2b352c,'redoMutations':_0x1fb866}),!0x0):!0x1;}},_0x1ec6d7={'id':_0x243686(0x119),'type':_0x43f379['CommandType'][_0x243686(0x1be)],'handler':(_0x380c4e,_0x221635)=>{const _0x8fabb3=_0x243686;if(!_0x221635)return!0x1;let _0x526bc1=(0x0,_0x2a5550['getSheetCommandTarget'])(_0x380c4e[_0x8fabb3(0xef)](_0x43f379[_0x8fabb3(0x157)]),_0x221635);if(!_0x526bc1)return!0x1;let {unitId:_0x55eeed,subUnitId:_0x36f6de}=_0x526bc1;if(!_0x305901(_0x380c4e,_0x55eeed,_0x36f6de))return!0x1;let _0x412f71=_0x380c4e[_0x8fabb3(0xef)](_0x468c95)[_0x8fabb3(0xdd)](_0x55eeed,_0x36f6de)['find'](_0x2312e9=>_0x2312e9['id']===_0x221635[_0x8fabb3(0xf5)]);if(!_0x412f71)return!0x1;let _0x3e64bd=[{'id':_0x38fca9['id'],'params':{'unitId':_0x55eeed,'subUnitId':_0x36f6de,'outlineId':_0x412f71['id'],'outline':_0x412f71}}],_0x77e654=[{'id':_0x34f997['id'],'params':{'unitId':_0x55eeed,'subUnitId':_0x36f6de,'outline':_0x412f71}}];return(0x0,_0x43f379[_0x8fabb3(0x13c)])(_0x3e64bd,_0x380c4e[_0x8fabb3(0xef)](_0x43f379[_0x8fabb3(0x146)]))['result']?(_0x380c4e['get'](_0x43f379[_0x8fabb3(0x195)])[_0x8fabb3(0x183)]({'unitID':_0x55eeed,'undoMutations':_0x77e654,'redoMutations':_0x3e64bd}),!0x0):!0x1;}},_0x562140={'id':_0x243686(0x124),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x12d)],'handler':(_0x58ed61,_0x11ec45)=>{const _0x15c26c=_0x243686;let _0x5d2b50=_0x58ed61[_0x15c26c(0xef)](_0x468c95),_0x43b4ea=_0x5d2b50[_0x15c26c(0xdd)](_0x11ec45[_0x15c26c(0xe7)],_0x11ec45['subUnitId']),_0x4b14c0=_0x43b4ea[_0x15c26c(0x1b3)](_0x31d9c0=>_0x31d9c0['id']===_0x11ec45[_0x15c26c(0xf5)]);return _0x4b14c0&&_0x5d2b50[_0x15c26c(0x11e)](_0x11ec45[_0x15c26c(0xe7)],_0x11ec45[_0x15c26c(0x102)],_0x43b4ea[_0x15c26c(0xe6)](_0x2b495d=>_0x2b495d[_0x15c26c(0xe7)]!==_0x4b14c0[_0x15c26c(0xe7)]||_0x2b495d[_0x15c26c(0x102)]!==_0x4b14c0['subUnitId']||_0x2b495d[_0x15c26c(0x15f)]!==_0x4b14c0['axis']||_0x2b495d['start']!==_0x4b14c0[_0x15c26c(0x139)]||_0x2b495d[_0x15c26c(0x16c)]!==_0x4b14c0[_0x15c26c(0x16c)]?_0x2b495d:{..._0x2b495d,'collapsed':_0x11ec45['collapsed']})),!0x0;}};function _0x31d9f6(_0x4a0888,_0x30c42a,_0x334ba6,_0x35d4df){const _0x10f52b=_0x243686;return _0x4a0888===_0x10f52b(0x147)?{'startRow':_0x30c42a,'endRow':_0x334ba6,'startColumn':0x0,'endColumn':_0x35d4df[_0x10f52b(0x103)]()-0x1}:{'startRow':0x0,'endRow':_0x35d4df[_0x10f52b(0x17b)]()-0x1,'startColumn':_0x30c42a,'endColumn':_0x334ba6};}function _0x52377a(_0x35dac0){const _0x4eb59a=_0x243686;return _0x35dac0===_0x4eb59a(0x147)?_0x2a5550[_0x4eb59a(0x18b)]['id']:_0x2a5550[_0x4eb59a(0x121)]['id'];}function _0x32d1b4(_0x5d43aa){const _0x317bc6=_0x243686;return _0x5d43aa===_0x317bc6(0x147)?_0x2a5550[_0x317bc6(0x196)]['id']:_0x2a5550[_0x317bc6(0xed)]['id'];}function _0x1edb3e(_0x139e26,_0x22ef3b,_0x4d61a5,_0x11b6b0){const _0x25ae8a=_0x243686;let _0x4b21a2=_0x22ef3b?[_0x31d9f6(_0x139e26['axis'],_0x139e26[_0x25ae8a(0x139)],_0x139e26['end'],_0x4d61a5)]:_0x421ed5(_0x139e26,_0x11b6b0,_0x4d61a5),_0x11a2c6=_0x22ef3b?_0x52377a(_0x139e26[_0x25ae8a(0x15f)]):_0x32d1b4(_0x139e26[_0x25ae8a(0x15f)]);return[{'id':_0x562140['id'],'params':{'unitId':_0x139e26[_0x25ae8a(0xe7)],'subUnitId':_0x139e26[_0x25ae8a(0x102)],'outlineId':_0x139e26['id'],'outline':_0x139e26,'collapsed':_0x22ef3b}},..._0x4b21a2[_0x25ae8a(0xe6)](_0x4618ef=>({'id':_0x11a2c6,'params':{'unitId':_0x139e26[_0x25ae8a(0xe7)],'subUnitId':_0x139e26[_0x25ae8a(0x102)],'ranges':[_0x4618ef],'dimensionOutlineId':_0x139e26['id']}}))];}function _0x421ed5(_0x9b2a0a,_0x5b1587,_0x42b9b9){const _0x4aca1f=_0x243686;let _0x26c0c8=_0x480a0c(_0x5b1587[_0x4aca1f(0xe6)](_0x48d74d=>_0x1176e7(_0x48d74d,_0x9b2a0a)?{..._0x48d74d,'collapsed':!0x1}:_0x48d74d),_0x9b2a0a['unitId'],_0x9b2a0a[_0x4aca1f(0x102)],_0x9b2a0a[_0x4aca1f(0x15f)]);return _0x5123cc({'start':_0x9b2a0a[_0x4aca1f(0x139)],'end':_0x9b2a0a['end']},_0x26c0c8)['map'](_0x3364b3=>_0x31d9f6(_0x9b2a0a[_0x4aca1f(0x15f)],_0x3364b3[_0x4aca1f(0x139)],_0x3364b3[_0x4aca1f(0x16c)],_0x42b9b9));}function _0x1176e7(_0x94500b,_0x3b8574){const _0x5037b4=_0x243686;return _0x94500b[_0x5037b4(0xe7)]===_0x3b8574['unitId']&&_0x94500b[_0x5037b4(0x102)]===_0x3b8574[_0x5037b4(0x102)]&&_0x94500b['axis']===_0x3b8574[_0x5037b4(0x15f)]&&_0x94500b[_0x5037b4(0x139)]===_0x3b8574['start']&&_0x94500b[_0x5037b4(0x16c)]===_0x3b8574[_0x5037b4(0x16c)];}function _0x5123cc(_0x23a659,_0x2489c4){const _0x3dc230=_0x243686;let _0xe4de72=_0x23a659[_0x3dc230(0x139)],_0x551321=[];for(let _0x3337cf of _0x2489c4)if(!(_0x3337cf[_0x3dc230(0x16c)]<_0xe4de72||_0x3337cf['start']>_0x23a659['end'])&&(_0x3337cf[_0x3dc230(0x139)]>_0xe4de72&&_0x551321[_0x3dc230(0x155)]({'start':_0xe4de72,'end':Math[_0x3dc230(0x116)](_0x3337cf['start']-0x1,_0x23a659[_0x3dc230(0x16c)])}),_0xe4de72=Math[_0x3dc230(0x14c)](_0xe4de72,_0x3337cf[_0x3dc230(0x16c)]+0x1),_0xe4de72>_0x23a659['end']))break;return _0xe4de72<=_0x23a659[_0x3dc230(0x16c)]&&_0x551321['push']({'start':_0xe4de72,'end':_0x23a659[_0x3dc230(0x16c)]}),_0x551321;}let _0x5a42b8={'id':_0x243686(0x153),'type':_0x43f379[_0x243686(0xec)][_0x243686(0x1be)],'handler':(_0x853d3a,_0xf8d8ea)=>{const _0xdfc6bb=_0x243686;if(!_0xf8d8ea)return!0x1;let _0x2a6038=(0x0,_0x2a5550[_0xdfc6bb(0xf6)])(_0x853d3a[_0xdfc6bb(0xef)](_0x43f379[_0xdfc6bb(0x157)]),_0xf8d8ea);if(!_0x2a6038)return!0x1;let {unitId:_0x40b1a1,subUnitId:_0xa288a4,worksheet:_0x11e45a}=_0x2a6038;if(!_0x305901(_0x853d3a,_0x40b1a1,_0xa288a4))return!0x1;let _0x45f494=_0x853d3a[_0xdfc6bb(0xef)](_0x468c95)[_0xdfc6bb(0xdd)](_0x40b1a1,_0xa288a4),_0x249aa5=_0x45f494[_0xdfc6bb(0x1b3)](_0x26f79b=>_0x26f79b['id']===_0xf8d8ea[_0xdfc6bb(0xf5)]);if(!_0x249aa5||_0x249aa5[_0xdfc6bb(0x15d)]===_0xf8d8ea[_0xdfc6bb(0x15d)])return!0x1;let _0x48eb51=_0x1edb3e(_0x249aa5,_0xf8d8ea[_0xdfc6bb(0x15d)],_0x11e45a,_0x45f494),_0x51ad5f=_0x1edb3e(_0x249aa5,!_0xf8d8ea['collapsed'],_0x11e45a,_0x45f494);return(0x0,_0x43f379[_0xdfc6bb(0x13c)])(_0x48eb51,_0x853d3a[_0xdfc6bb(0xef)](_0x43f379[_0xdfc6bb(0x146)]))[_0xdfc6bb(0x1a4)]?(_0x853d3a[_0xdfc6bb(0xef)](_0x43f379[_0xdfc6bb(0x195)])[_0xdfc6bb(0x183)]({'unitID':_0x40b1a1,'undoMutations':_0x51ad5f,'redoMutations':_0x48eb51}),!0x0):!0x1;}},_0x357fde={'id':_0x243686(0x176),'type':_0x43f379['CommandType'][_0x243686(0x12d)],'handler':(_0x15f684,_0x214cb2)=>{const _0x469d6d=_0x243686;let _0x288439=_0x15f684[_0x469d6d(0xef)](_0x468c95),_0x3b5c60=_0x651e83(_0x288439[_0x469d6d(0xdd)](_0x214cb2[_0x469d6d(0xe7)],_0x214cb2['subUnitId']),_0x214cb2);return _0x288439[_0x469d6d(0x11e)](_0x214cb2[_0x469d6d(0xe7)],_0x214cb2[_0x469d6d(0x102)],_0x3b5c60),!0x0;}};function _0x651e83(_0x523ad9,_0xc06eaf){const _0x54af64=_0x243686;switch(_0xc06eaf[_0x54af64(0x182)]){case _0x54af64(0xf3):return _0xc06eaf[_0x54af64(0x192)]?_0x28b628(_0x523ad9,_0xc06eaf):_0x22060d(_0x523ad9,_0xc06eaf);case'delete':return _0x56a0af(_0x523ad9,_0xc06eaf);case _0x54af64(0x18a):return _0x5421de(_0x523ad9,_0xc06eaf);}}function _0x28b628(_0xd3c496,_0x5971c9){const _0x50d807=_0x243686;return[..._0xd3c496[_0x50d807(0x11b)](_0x1009c2=>_0x1009c2['unitId']!==_0x5971c9[_0x50d807(0xe7)]||_0x1009c2[_0x50d807(0x102)]!==_0x5971c9[_0x50d807(0x102)]||_0x1009c2[_0x50d807(0x15f)]!==_0x5971c9[_0x50d807(0x15f)]),..._0x5971c9['restoreOutlines']];}let _0x523a2d='SHEET_OUTLINE_PLUGIN',_0x47b2d7=_0x243686(0xd7);Symbol(_0x47b2d7);var _0x2270a5=_0x243686(0x184),_0x141806=_0x243686(0x193);function _0x4a4428(_0x7407a3,_0x294bd3){return function(_0x9d8741,_0xdddd1a){_0x294bd3(_0x9d8741,_0xdddd1a,_0x7407a3);};}function _0x16679f(_0x7f376f,_0x4ed8e0,_0x16c056,_0x3a8515){const _0x2dae2e=_0x243686;var _0xa89c34=arguments[_0x2dae2e(0xdb)],_0x241eda=_0xa89c34<0x3?_0x4ed8e0:_0x3a8515===null?_0x3a8515=Object[_0x2dae2e(0x142)](_0x4ed8e0,_0x16c056):_0x3a8515,_0x2cd15c;if(typeof Reflect=='object'&&typeof Reflect[_0x2dae2e(0x19e)]==_0x2dae2e(0xfe))_0x241eda=Reflect['decorate'](_0x7f376f,_0x4ed8e0,_0x16c056,_0x3a8515);else{for(var _0x42df56=_0x7f376f[_0x2dae2e(0xdb)]-0x1;_0x42df56>=0x0;_0x42df56--)(_0x2cd15c=_0x7f376f[_0x42df56])&&(_0x241eda=(_0xa89c34<0x3?_0x2cd15c(_0x241eda):_0xa89c34>0x3?_0x2cd15c(_0x4ed8e0,_0x16c056,_0x241eda):_0x2cd15c(_0x4ed8e0,_0x16c056))||_0x241eda);}return _0xa89c34>0x3&&_0x241eda&&Object['defineProperty'](_0x4ed8e0,_0x16c056,_0x241eda),_0x241eda;}let _0x42f94e={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x1967e4=class extends _0x43f379[_0x243686(0x1b4)]{constructor(_0x5290e6,_0xcaa5c9,_0x536b40,_0x301e2b){const _0x1a74c7=_0x243686;super(),this[_0x1a74c7(0x1a6)]=_0x5290e6,this[_0x1a74c7(0x181)]=_0xcaa5c9,this[_0x1a74c7(0x1a9)]=_0x536b40,this[_0x1a74c7(0x171)]=_0x301e2b,this[_0x1a74c7(0xd9)]();}[_0x243686(0xd9)](){const _0x4bf66e=_0x243686;this[_0x4bf66e(0x19c)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x2adf15=>_0x541f86(_0x2adf15,(_0x30df52,_0xf58640)=>this[_0x4bf66e(0x1a9)][_0x4bf66e(0xdd)](_0x30df52,_0xf58640),this[_0x4bf66e(0x16f)](_0x2adf15[_0x4bf66e(0x122)]),_0x40b1aa=>this[_0x4bf66e(0x171)]['emit'](_0x40b1aa))}));}['_getCommandScope'](_0x45820e){const _0x3c6816=_0x243686;let _0x5e7a7d=_0x45820e,_0x47fd51=_0x5e7a7d!=null&&_0x5e7a7d[_0x3c6816(0xe7)]?this[_0x3c6816(0x1a6)][_0x3c6816(0x1a1)](_0x5e7a7d[_0x3c6816(0xe7)]):this[_0x3c6816(0x1a6)][_0x3c6816(0xee)](_0x43f379['UniverInstanceType'][_0x3c6816(0x134)]);if(!_0x47fd51)return;let _0xbc6d93=_0x5e7a7d!=null&&_0x5e7a7d[_0x3c6816(0x102)]?_0x47fd51[_0x3c6816(0xea)](_0x5e7a7d[_0x3c6816(0x102)]):_0x47fd51[_0x3c6816(0x131)]();if(_0xbc6d93)return{'unitId':_0x47fd51[_0x3c6816(0x14e)](),'subUnitId':_0xbc6d93[_0x3c6816(0x149)]()};}};_0x1967e4=_0x16679f([_0x4a4428(0x0,_0x43f379[_0x243686(0x157)]),_0x4a4428(0x1,(0x0,_0x43f379[_0x243686(0x1b0)])(_0x2a5550['SheetInterceptorService'])),_0x4a4428(0x2,(0x0,_0x43f379[_0x243686(0x1b0)])(_0x468c95)),_0x4a4428(0x3,(0x0,_0x43f379[_0x243686(0x1b0)])(_0x3e11ae))],_0x1967e4);function _0x541f86(_0x2aea7c,_0xfe3dd1,_0x372581,_0x3c2b66){const _0x225bf2=_0x243686;let _0x3993c0=_0x14cb19(_0x2aea7c,_0x372581);if(!_0x3993c0)return _0x25cb27();let _0xa356a=_0xfe3dd1(_0x3993c0[_0x225bf2(0xe7)],_0x3993c0[_0x225bf2(0x102)]);if(!_0xa356a['some'](_0x71bb08=>_0x71bb08['axis']===_0x3993c0[_0x225bf2(0x15f)]))return _0x25cb27();_0x3e20bb(_0xa356a,_0x3993c0,_0x2aea7c['id'],_0x3c2b66);let _0x4cb484=_0x46970a(_0x3993c0,_0xa356a);return{'redos':[{'id':_0x357fde['id'],'params':_0x3993c0}],'undos':[{'id':_0x357fde['id'],'params':_0x4cb484}],'preRedos':[],'preUndos':[]};}function _0x3e20bb(_0x27d74d,_0x563dc2,_0x4f6229,_0x1c738e){const _0x31e8d5=_0x243686;try{switch(_0x563dc2[_0x31e8d5(0x182)]){case _0x31e8d5(0xf3):_0x22060d(_0x27d74d,_0x563dc2);break;case _0x31e8d5(0x11a):_0x56a0af(_0x27d74d,_0x563dc2);break;case _0x31e8d5(0x18a):_0x5421de(_0x27d74d,_0x563dc2);break;}}catch(_0x2c6ab3){throw _0x1c738e==null||_0x1c738e({'reason':_0x5b2d40(_0x2c6ab3),'commandId':_0x4f6229,'unitId':_0x563dc2[_0x31e8d5(0xe7)],'subUnitId':_0x563dc2[_0x31e8d5(0x102)],'axis':_0x563dc2['axis'],'outlineId':_0x463563(_0x2c6ab3)}),new _0x43f379['CustomCommandExecutionError'](_0x2c6ab3 instanceof Error?_0x2c6ab3[_0x31e8d5(0x1ac)]:'Invalid\x20dimension\x20outline\x20mutation');}}function _0x14cb19(_0x272c48,_0x507306){const _0x7cbc71=_0x243686;switch(_0x272c48['id']){case _0x2a5550[_0x7cbc71(0x16e)]['id']:return _0x2abc8a(_0x272c48[_0x7cbc71(0x122)],_0x7cbc71(0x147),_0x507306);case _0x2a5550[_0x7cbc71(0x18d)]['id']:return _0x2abc8a(_0x272c48[_0x7cbc71(0x122)],_0x7cbc71(0x159),_0x507306);case _0x2a5550[_0x7cbc71(0x158)]['id']:return _0x55a307(_0x272c48[_0x7cbc71(0x122)],_0x7cbc71(0x147),_0x507306);case _0x2a5550[_0x7cbc71(0x137)]['id']:return _0x55a307(_0x272c48[_0x7cbc71(0x122)],_0x7cbc71(0x159),_0x507306);case _0x2a5550[_0x7cbc71(0x13a)]['id']:return _0x153f20(_0x272c48[_0x7cbc71(0x122)],'row',_0x507306);case _0x2a5550['MoveColsCommand']['id']:return _0x153f20(_0x272c48[_0x7cbc71(0x122)],_0x7cbc71(0x159),_0x507306);default:return null;}}function _0x2abc8a(_0x24a0df,_0x170f67,_0xb490e9){const _0x1fd8e3=_0x243686;let _0x1493e3=_0x2c81ff(_0x24a0df,_0xb490e9);if(!(_0x24a0df!=null&&_0x24a0df['range'])||!_0x1493e3)return null;let _0xbdd637=_0x170f67==='row'?_0x24a0df[_0x1fd8e3(0xe1)][_0x1fd8e3(0x110)]:_0x24a0df['range'][_0x1fd8e3(0x172)],_0x2575cc=_0x170f67===_0x1fd8e3(0x147)?_0x24a0df[_0x1fd8e3(0xe1)][_0x1fd8e3(0xeb)]:_0x24a0df[_0x1fd8e3(0xe1)]['endColumn'];return{..._0x1493e3,'axis':_0x170f67,'type':_0x1fd8e3(0xf3),'index':_0xbdd637,'count':_0x2575cc-_0xbdd637+0x1};}function _0x55a307(_0x3373ec,_0x1ab908,_0x356b6d){const _0xe0c4d5=_0x243686;let _0x398979=_0x2c81ff(_0x3373ec,_0x356b6d);if(!(_0x3373ec!=null&&_0x3373ec[_0xe0c4d5(0xe1)])||!_0x398979)return null;let _0x2e89cd=_0x1ab908==='row'?_0x3373ec[_0xe0c4d5(0xe1)][_0xe0c4d5(0x110)]:_0x3373ec['range'][_0xe0c4d5(0x172)],_0x4cfec4=_0x1ab908===_0xe0c4d5(0x147)?_0x3373ec[_0xe0c4d5(0xe1)]['endRow']:_0x3373ec['range']['endColumn'];return{..._0x398979,'axis':_0x1ab908,'type':_0xe0c4d5(0x11a),'start':_0x2e89cd,'end':_0x4cfec4};}function _0x153f20(_0x43a250,_0x439bfb,_0xed4a57){const _0x2c738e=_0x243686;let _0x31256c=_0x2c81ff(_0x43a250,_0xed4a57);if(!(_0x43a250!=null&&_0x43a250['fromRange'])||!_0x43a250['toRange']||!_0x31256c)return null;let _0x4079ad=_0x439bfb==='row'?_0x43a250['fromRange'][_0x2c738e(0x110)]:_0x43a250[_0x2c738e(0x141)][_0x2c738e(0x172)],_0x2bd244=_0x439bfb===_0x2c738e(0x147)?_0x43a250['fromRange']['endRow']:_0x43a250['fromRange'][_0x2c738e(0x189)],_0x8e8531=_0x439bfb===_0x2c738e(0x147)?_0x43a250[_0x2c738e(0x1a2)]['startRow']:_0x43a250[_0x2c738e(0x1a2)][_0x2c738e(0x172)];return{..._0x31256c,'axis':_0x439bfb,'type':_0x2c738e(0x18a),'sourceStart':_0x4079ad,'sourceEnd':_0x2bd244,'destinationIndex':_0x8e8531};}function _0x46970a(_0x1fe5bb,_0x5dda6d){const _0x3f337e=_0x243686;switch(_0x1fe5bb[_0x3f337e(0x182)]){case'insert':return{'unitId':_0x1fe5bb['unitId'],'subUnitId':_0x1fe5bb['subUnitId'],'axis':_0x1fe5bb[_0x3f337e(0x15f)],'type':'delete','start':_0x1fe5bb[_0x3f337e(0x190)],'end':_0x1fe5bb['index']+_0x1fe5bb[_0x3f337e(0x1a3)]-0x1};case _0x3f337e(0x11a):return{'unitId':_0x1fe5bb[_0x3f337e(0xe7)],'subUnitId':_0x1fe5bb['subUnitId'],'axis':_0x1fe5bb[_0x3f337e(0x15f)],'type':_0x3f337e(0xf3),'index':_0x1fe5bb[_0x3f337e(0x139)],'count':_0x1fe5bb[_0x3f337e(0x16c)]-_0x1fe5bb[_0x3f337e(0x139)]+0x1,'restoreOutlines':_0x5dda6d['filter'](_0x82a2a9=>_0x82a2a9[_0x3f337e(0xe7)]===_0x1fe5bb[_0x3f337e(0xe7)]&&_0x82a2a9[_0x3f337e(0x102)]===_0x1fe5bb['subUnitId']&&_0x82a2a9[_0x3f337e(0x15f)]===_0x1fe5bb[_0x3f337e(0x15f)])};case _0x3f337e(0x18a):return _0x5d8385(_0x1fe5bb);}}function _0x5d8385(_0x18cd21){const _0x4880ef=_0x243686;let _0x269f45=_0x18cd21[_0x4880ef(0x174)]-_0x18cd21[_0x4880ef(0x179)]+0x1;return _0x18cd21[_0x4880ef(0x180)]>=_0x18cd21[_0x4880ef(0x179)]&&_0x18cd21[_0x4880ef(0x180)]<=_0x18cd21[_0x4880ef(0x174)]+0x1?{..._0x18cd21}:_0x18cd21['destinationIndex']>_0x18cd21[_0x4880ef(0x174)]+0x1?{..._0x18cd21,'sourceStart':_0x18cd21[_0x4880ef(0x180)]-_0x269f45,'sourceEnd':_0x18cd21[_0x4880ef(0x180)]-0x1,'destinationIndex':_0x18cd21['sourceStart']}:{..._0x18cd21,'sourceStart':_0x18cd21[_0x4880ef(0x180)],'sourceEnd':_0x18cd21[_0x4880ef(0x180)]+_0x269f45-0x1,'destinationIndex':_0x18cd21[_0x4880ef(0x174)]+0x1};}function _0x2c81ff(_0x38f19a,_0x23f52){const _0x10e1e8=_0x243686;var _0x373e2b,_0x269716;let _0x4a5165=(_0x373e2b=_0x38f19a==null?void 0x0:_0x38f19a[_0x10e1e8(0xe7)])==null?_0x23f52==null?void 0x0:_0x23f52['unitId']:_0x373e2b,_0xe86c84=(_0x269716=_0x38f19a==null?void 0x0:_0x38f19a[_0x10e1e8(0x102)])==null?_0x23f52==null?void 0x0:_0x23f52[_0x10e1e8(0x102)]:_0x269716;return _0x4a5165&&_0xe86c84?{'unitId':_0x4a5165,'subUnitId':_0xe86c84}:null;}function _0x25cb27(){const _0x947093=_0x243686;var _0x525ab1,_0x55c766;return{'redos':[..._0x42f94e['redos']],'undos':[..._0x42f94e[_0x947093(0x17a)]],'preRedos':[...(_0x525ab1=_0x42f94e[_0x947093(0x154)])==null?[]:_0x525ab1],'preUndos':[...(_0x55c766=_0x42f94e['preUndos'])==null?[]:_0x55c766]};}let _0x2a5465=class extends _0x43f379[_0x243686(0x1b4)]{constructor(_0x2a3428,_0x3ddb35){const _0x1046d5=_0x243686;super(),this[_0x1046d5(0x12c)]=_0x2a3428,this['_sheetsOutlineModel']=_0x3ddb35,this[_0x1046d5(0x17f)]();}['_initResource'](){const _0x2ac739=_0x243686;this[_0x2ac739(0x19c)](this[_0x2ac739(0x12c)][_0x2ac739(0x14f)]({'pluginName':_0x523a2d,'businesses':[_0x43f379['UniverInstanceType']['UNIVER_SHEET']],'toJson':_0x5c17c6=>JSON[_0x2ac739(0x165)](this['_sheetsOutlineModel'][_0x2ac739(0x10c)](_0x5c17c6)),'parseJson':_0x55ab77=>JSON['parse'](_0x55ab77),'onLoad':(_0x57e0c4,_0x14e253)=>this[_0x2ac739(0x1a9)][_0x2ac739(0x1ad)](_0x57e0c4,_0x14e253),'onUnLoad':_0xcb2ca=>this[_0x2ac739(0x1a9)][_0x2ac739(0x106)](_0xcb2ca)}));}};_0x2a5465=_0x16679f([_0x4a4428(0x0,_0x43f379[_0x243686(0x11c)]),_0x4a4428(0x1,(0x0,_0x43f379[_0x243686(0x1b0)])(_0x468c95))],_0x2a5465);let _0x2b0330=class extends _0x43f379[_0x243686(0x1b9)]{constructor(_0x1267b9,_0x5f4c47,_0x47c0eb){const _0x429efa=_0x243686;super(),this[_0x429efa(0x11d)]=_0x1267b9,this[_0x429efa(0x169)]=_0x5f4c47,this[_0x429efa(0x105)]=_0x47c0eb;}['onStarting'](){const _0x4b304f=_0x243686;this[_0x4b304f(0x169)][_0x4b304f(0xdc)]([_0x468c95]),this[_0x4b304f(0x169)]['add']([_0x3e11ae]),this[_0x4b304f(0x169)][_0x4b304f(0xdc)]([_0x2a5465]),this[_0x4b304f(0x169)][_0x4b304f(0xdc)]([_0x1967e4]),this['_initRegisterCommand'](),this['_injector']['get'](_0x468c95),this[_0x4b304f(0x169)]['get'](_0x3e11ae),this[_0x4b304f(0x169)][_0x4b304f(0xef)](_0x2a5465),this[_0x4b304f(0x169)]['get'](_0x1967e4);}[_0x243686(0x194)](){const _0x4d77d3=_0x243686;[_0x4e482a,_0x1ec6d7,_0x5a42b8,_0x27ff25][_0x4d77d3(0x12e)](_0x5275f8=>{const _0x23c3c0=_0x4d77d3;this[_0x23c3c0(0x19c)](this[_0x23c3c0(0x105)][_0x23c3c0(0x104)](_0x5275f8));}),[_0x34f997,_0x38fca9,_0x562140,_0x73468b,_0x357fde][_0x4d77d3(0x12e)](_0x56da70=>{const _0xa4f34c=_0x4d77d3;this[_0xa4f34c(0x19c)](this[_0xa4f34c(0x105)][_0xa4f34c(0x104)](_0x56da70));});}};_0x336918(_0x2b0330,_0x243686(0x12f),_0x523a2d),_0x336918(_0x2b0330,_0x243686(0x118),_0x2270a5),_0x336918(_0x2b0330,'version',_0x141806),_0x336918(_0x2b0330,'type',_0x43f379[_0x243686(0x129)][_0x243686(0x134)]),_0x2b0330=_0x16679f([(0x0,_0x43f379[_0x243686(0xe3)])(_0x4e6b88[_0x243686(0xfd)]),_0x4a4428(0x1,(0x0,_0x43f379[_0x243686(0x1b0)])(_0x43f379[_0x243686(0x1b5)])),_0x4a4428(0x2,_0x43f379[_0x243686(0x146)])],_0x2b0330),_0x20c45e[_0x243686(0xfc)]=_0x4e482a,_0x20c45e[_0x243686(0x133)]=_0x34f997,_0x20c45e[_0x243686(0xf1)]=_0x27ff25,_0x20c45e['ClearDimensionOutlinesMutation']=_0x73468b,_0x20c45e[_0x243686(0xdf)]=_0x235fd9,_0x20c45e[_0x243686(0x132)]=_0x3061c3,_0x20c45e[_0x243686(0xe8)]=_0x1a6b5a,_0x20c45e[_0x243686(0x1bd)]=_0x1ec6d7,_0x20c45e['RemoveDimensionOutlineMutation']=_0x38fca9,_0x20c45e[_0x243686(0x156)]=_0x47b2d7,_0x20c45e[_0x243686(0x1bf)]=_0x523a2d,_0x20c45e['SetDimensionOutlineCollapsedCommand']=_0x5a42b8,_0x20c45e[_0x243686(0x173)]=_0x562140,_0x20c45e[_0x243686(0x144)]=_0x3e11ae,_0x20c45e[_0x243686(0x135)]=_0x468c95,_0x20c45e[_0x243686(0x1b8)]=_0x357fde,Object['defineProperty'](_0x20c45e,_0x243686(0x18f),{'enumerable':!0x0,'get':function(){return _0x2b0330;}}),_0x20c45e[_0x243686(0x1b2)]=_0xf0a5da,_0x20c45e[_0x243686(0x18e)]=_0x106607,_0x20c45e[_0x243686(0x161)]=_0x480a0c,_0x20c45e[_0x243686(0x13d)]=_0x4aa8dc,_0x20c45e['clearDimensionOutlinesInRange']=_0x1b6996,_0x20c45e[_0x243686(0x163)]=_0x463563,_0x20c45e[_0x243686(0xf9)]=_0x5b2d40,_0x20c45e['getDimensionOutlineViewPermission$']=_0x161ed0,_0x20c45e[_0x243686(0x164)]=_0x305901,_0x20c45e[_0x243686(0x11f)]=_0xb970fa,_0x20c45e[_0x243686(0x126)]=_0x56a0af,_0x20c45e[_0x243686(0x1bc)]=_0x22060d,_0x20c45e['transformOutlinesByMove']=_0x5421de;}));function _0x1fe0(_0x404e04,_0xe4f2a8){_0x404e04=_0x404e04-0xd7;const _0x542262=_0x5422();let _0x1fe097=_0x542262[_0x404e04];return _0x1fe097;}function _0x5422(){const _0x36f93d=['Inject','move-splits-outline','addDimensionOutlineToList','find','Disposable','Injector','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','toPrimitive','TransformDimensionOutlinesMutation','Plugin','invalid-range','1EwpBbP','transformOutlinesByInsert','RemoveDimensionOutlineCommand','COMMAND','SHEET_OUTLINE_PLUGIN','UniverProLicense','sheets-outline.config','rxjs','_initCommandInterceptor','3112816MtFfaR','length','add','getOutlines','_outlines','DimensionOutlineAxis','sort','range','ROW','DependentOn','rxjs/operators','iterator','map','unitId','DimensionOutlineErrorReason','unknown','getSheetBySheetId','endRow','CommandType','SetColVisibleMutation','getCurrentUnitOfType','get','UniverCore','ClearDimensionOutlinesCommand','prototype','insert','108qrtmsJ','outlineId','getSheetCommandTarget','some','dispose','getDimensionOutlineErrorReason','MOVE_SPLITS_OUTLINE','object','AddDimensionOutlineCommand','UniverLicensePlugin','function','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','UNKNOWN','children','subUnitId','getMaxColumns','registerCommand','_commandService','removeUnit','error$','Invalid\x20outline\x20range','pop','depth','870eZnUCC','serialize','672376KVYVsX','reason','asObservable','startRow','WorksheetViewPermission','invalid-dimension-outline','Invalid\x20dimension\x20outline\x20move\x20source\x20range','values','name','min','getColumnCount','packageName','sheet.command.remove-dimension-outline','delete','filter','IResourceManagerService','_config','setOutlines','mergeRanges','@univerjs/core','SetColHiddenMutation','params','defineProperty','sheet.mutation.set-dimension-outline-collapsed','default','transformOutlinesByDelete','crossing','out-of-bounds','UniverInstanceType','8782983KJAjri','1268288abdjlM','_resourceManagerService','MUTATION','forEach','pluginName','mergedOutline','getActiveSheet','DimensionOutlineError','AddDimensionOutlineMutation','UNIVER_SHEET','SheetsOutlineModel','181928ESeOHm','RemoveColCommand','Module','start','MoveRowsCommand','mergedOutlines','sequenceExecute','canAddDimensionOutline','max-depth','SheetPermissionCheckController','outline','fromRange','getOwnPropertyDescriptor','CROSSING','SheetsOutlineErrorService','sheet.command.clear-dimension-outlines','ICommandService','row','9ngKMZE','getSheetId','split\x20dimension\x20outline','constructor','max','UniverProSheetsOutline','getUnitId','registerPluginResource','complete','@univerjs/sheets','operators','sheet.command.set-dimension-outline-collapsed','preRedos','push','SHEETS_OUTLINE_PLUGIN_CONFIG_KEY','IUniverInstanceService','RemoveRowCommand','column','sheet.mutation.clear-dimension-outlines','split','permissionPointUpdate$','collapsed','pipe','axis','Subject','buildHiddenRanges','offset','getDimensionOutlineErrorOutlineId','hasDimensionOutlineViewPermission','stringify','generateRandomId','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','join','_injector','from','clear-range-not-contain-outline','end','_error$','InsertRowCommand','_getCommandScope','sheet.command.add-dimension-outline','_sheetsOutlineErrorService','startColumn','SetDimensionOutlineCollapsedMutation','sourceEnd','valid','sheet.mutation.transform-dimension-outlines','toStringTag','emit','sourceStart','undos','getRowCount','maxDepth','sheet.mutation.add-dimension-outline','string','_initResource','destinationIndex','_sheetInterceptorService','type','pushUndoRedo','@univerjs-pro/sheets-outline','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','has','maxIndex','symbol','endColumn','move','SetRowHiddenMutation','clear','InsertColCommand','buildDimensionOutlineTree','UniverSheetsOutlinePlugin','index','sheet.mutation.remove-dimension-outline','restoreOutlines','0.24.0','_initRegisterCommand','IUndoRedoService','SetRowVisibleMutation','_change$','set','exports','startWith','next','disposeWithMe','Move\x20would\x20split\x20dimension\x20outline:\x20','decorate','outlineList','includes','getUniverSheetInstance','toRange','count','result','localeCompare','_univerInstanceService','UniverSheets','7289600ygtUHY','_sheetsOutlineModel','amd','IPermissionService','message','deserialize','1770CXOZHh','dimension-outline-'];_0x5422=function(){return _0x36f93d;};return _0x5422();}
1
+ function _0x5cce(){const _0x1340fd=['InsertRowCommand','UniverSheets','getCurrentUnitOfType','sheet.command.set-dimension-outline-collapsed','forEach','ROW','deserialize','WorksheetViewPermission','SetRowVisibleMutation','delete','subUnitId','join','dimension-outline-','58660ILajuv','Subject','prototype','DimensionOutlineAxis','_injector','parse','row','fromRange','8869580RwdKFY','count','_commandService','outline','collapsed','ClearDimensionOutlinesMutation','iterator','debounceTime','Inject','toStringTag','getDimensionOutlineErrorReason','axis','registerCommand','getUniverSheetInstance','UNKNOWN','_error$','getUnitId','toPrimitive','Disposable','index','20fKlICx','packageName','hasDimensionOutlineViewPermission','sheet.mutation.remove-dimension-outline','@univerjs/core','length','decorate','SheetPermissionCheckController','serialize','ICommandService','outlineId','get','offset','_change$','IPermissionService','version','UniverInstanceType','RemoveColCommand','call','string','change$','startRow','sheet.command.add-dimension-outline','0.25.0','3656025yHQfqQ','_initCommandInterceptor','getDimensionOutlineViewPermission$','out-of-bounds','end','defineProperty','Invalid\x20dimension\x20outline\x20move\x20source\x20range','CROSSING','sequenceExecute','SheetsOutlineModel','CustomCommandExecutionError','IUniverInstanceService','SHEET_OUTLINE_PLUGIN','sort','invalid-dimension-outline','DimensionOutlineError','MAX_DEPTH','_config','getOutlines','maxIndex','preRedos','30YoWBTs','InsertColCommand','max-depth','symbol','disposeWithMe','UniverProLicense','add','DimensionOutlineErrorReason','sourceStart','params','@univerjs-pro/license','sheet.command.clear-dimension-outlines','rxjs','getMaxColumns','push','set','reason','_getCommandScope','function','AddDimensionOutlineCommand','IUndoRedoService','emit','toRange','Module','1096HqzmKu','max','endRow','UniverProSheetsOutline','getRowCount','asObservable','Move\x20would\x20split\x20dimension\x20outline:\x20','sheets-outline.config','SheetsOutlineErrorService','depth','range','unitId','destinationIndex','generateRandomId','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','_outlines','startWith','next','transformOutlinesByDelete','has','redos','move-splits-outline','crossing','sheet.mutation.set-dimension-outline-collapsed','map','Invalid\x20outline\x20range','15457618bQLCuO','Crossing','DependentOn','SetColHiddenMutation','object','insert','MOVE_SPLITS_OUTLINE','_initRegisterCommand','registerPluginResource','min','@univerjs/sheets','message','UniverLicensePlugin','constructor','RemoveRowCommand','transformOutlinesByMove','_initResource','type','clear-range-not-contain-outline','includes','maxDepth','valid','pop','getActiveSheet','start','outlineList','endColumn','CommandType','some','removeUnit','@univerjs-pro/sheets-outline','getSheetBySheetId','171633EoLsbM','preUndos','_resourceManagerService','ClearDimensionOutlinesCommand','result','MoveRowsCommand','exports','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','setOutlines','AddDimensionOutlineMutation','INVALID_RANGE','column','pushUndoRedo','MoveColsCommand','SetDimensionOutlineCollapsedMutation','Plugin','_univerInstanceService','UniverCore','dispose','values','split\x20dimension\x20outline','sheet.mutation.transform-dimension-outlines','_ensureUnitOutlines','localeCompare','default','OUT_OF_BOUNDS','getSheetCommandTarget','startColumn','move','COMMAND','unknown','from','MUTATION','961878BPSULv','complete','Invalid\x20dimension\x20outline\x20mutation','clearDimensionOutlinesInRange','permissionCheckWithoutRange','filter','invalid-range','SetRowHiddenMutation','UNIVER_SHEET','1346138XTQSOE','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','canAddDimensionOutline','find','sourceEnd','permissionPointUpdate$','1RZDGAS','COLUMN','_sheetsOutlineModel','transformOutlinesByInsert','_sheetsOutlineErrorService','restoreOutlines'];_0x5cce=function(){return _0x1340fd;};return _0x5cce();}function _0x3ec3(_0x5dfec7,_0x4cb985){_0x5dfec7=_0x5dfec7-0x100;const _0x5cce00=_0x5cce();let _0x3ec3f1=_0x5cce00[_0x5dfec7];return _0x3ec3f1;}(function(_0x323a7b,_0x2c4318){const _0x17d749=_0x3ec3,_0x311136=_0x323a7b();while(!![]){try{const _0x31ae92=-parseInt(_0x17d749(0x125))/0x1*(parseInt(_0x17d749(0x11f))/0x2)+-parseInt(_0x17d749(0x1d3))/0x3*(-parseInt(_0x17d749(0x154))/0x4)+-parseInt(_0x17d749(0x181))/0x5*(parseInt(_0x17d749(0x116))/0x6)+parseInt(_0x17d749(0x138))/0x7*(parseInt(_0x17d749(0x199))/0x8)+parseInt(_0x17d749(0x16c))/0x9+-parseInt(_0x17d749(0x140))/0xa+parseInt(_0x17d749(0x1b3))/0xb;if(_0x31ae92===_0x2c4318)break;else _0x311136['push'](_0x311136['shift']());}catch(_0x11114d){_0x311136['push'](_0x311136['shift']());}}}(_0x5cce,0xb0ad9),function(_0x41a4f7,_0x3fa010){const _0x268985=_0x3ec3;typeof exports=='object'&&typeof module<'u'?_0x3fa010(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x268985(0x193)&&define['amd']?define([_0x268985(0x1d9),_0x268985(0x158),_0x268985(0x1bd),_0x268985(0x18d),'rxjs/operators',_0x268985(0x18b)],_0x3fa010):(_0x41a4f7=typeof globalThis<'u'?globalThis:_0x41a4f7||self,_0x3fa010(_0x41a4f7[_0x268985(0x19c)]={},_0x41a4f7[_0x268985(0x106)],_0x41a4f7[_0x268985(0x12c)],_0x41a4f7[_0x268985(0x18d)],_0x41a4f7['rxjs']['operators'],_0x41a4f7[_0x268985(0x186)]));}(this,function(_0x3ae72b,_0x21068f,_0x2bfd53,_0x44f90e,_0x511607,_0x16b8d6){const _0x23674c=_0x3ec3;Object['defineProperty'](_0x3ae72b,Symbol[_0x23674c(0x149)],{'value':_0x23674c(0x198)});let _0x4a389e=function(_0x55a6cb){const _0x2dd7ed=_0x23674c;return _0x55a6cb[_0x2dd7ed(0x130)]='row',_0x55a6cb[_0x2dd7ed(0x126)]=_0x2dd7ed(0x100),_0x55a6cb;}({}),_0x5aec2f=function(_0x2e5c65){const _0x30e6f5=_0x23674c;return _0x2e5c65[_0x30e6f5(0x1dd)]=_0x30e6f5(0x11c),_0x2e5c65[_0x30e6f5(0x10e)]=_0x30e6f5(0x16f),_0x2e5c65[_0x30e6f5(0x173)]=_0x30e6f5(0x1af),_0x2e5c65[_0x30e6f5(0x17c)]=_0x30e6f5(0x183),_0x2e5c65[_0x30e6f5(0x1b9)]=_0x30e6f5(0x1ae),_0x2e5c65[_0x30e6f5(0x120)]=_0x30e6f5(0x1c5),_0x2e5c65[_0x30e6f5(0x14e)]=_0x30e6f5(0x113),_0x2e5c65;}({});var _0x25cb4b=class extends Error{constructor(_0x3b07ab,_0x15f3fa,_0x56b36e){const _0x1008bc=_0x23674c;super(_0x15f3fa),this[_0x1008bc(0x191)]=_0x3b07ab,this['outlineId']=_0x56b36e,this['name']='DimensionOutlineError';}};function _0x18a936(_0x27cda6){const _0x173a20=_0x23674c;return _0x27cda6 instanceof _0x25cb4b?_0x27cda6['reason']:_0x27cda6 instanceof Error?_0x27cda6[_0x173a20(0x1be)]['includes'](_0x173a20(0x109))?_0x173a20(0x1ae):_0x27cda6[_0x173a20(0x1be)][_0x173a20(0x1c6)](_0x173a20(0x1a2))?_0x173a20(0x183):_0x27cda6['message'][_0x173a20(0x1c6)](_0x173a20(0x1b4))?_0x173a20(0x1af):_0x27cda6[_0x173a20(0x1be)]['includes'](_0x173a20(0x1a3))?_0x173a20(0x11c):'unknown':_0x173a20(0x113);}function _0x47f2b6(_0x511bf8){const _0xb0b899=_0x23674c;return _0x511bf8 instanceof _0x25cb4b?_0x511bf8[_0xb0b899(0x15e)]:void 0x0;}let _0x21b19d=0x2**0x35-0x1;function _0x4a4a58(_0x469265,_0x1a6c20){const _0x26a97e=_0x23674c;return _0x469265[_0x26a97e(0x1a4)]===_0x1a6c20[_0x26a97e(0x1a4)]&&_0x469265['subUnitId']===_0x1a6c20[_0x26a97e(0x135)]&&_0x469265[_0x26a97e(0x14b)]===_0x1a6c20[_0x26a97e(0x14b)];}function _0x34acea(_0x3e0fa4,_0x41a9c6={}){const _0x121cc0=_0x23674c;var _0x37a901;let _0x1c3389=(_0x37a901=_0x41a9c6[_0x121cc0(0x1c7)])==null?0x8:_0x37a901,_0xc4f306=new Map();for(let _0x44b93b of _0x3e0fa4){let _0x1db2a0=_0x44b93b[_0x121cc0(0x1a4)]+':'+_0x44b93b[_0x121cc0(0x135)]+':'+_0x44b93b['axis'],_0x3e0940=_0xc4f306[_0x121cc0(0x15f)](_0x1db2a0);_0x3e0940?_0x3e0940['push'](_0x44b93b):_0xc4f306[_0x121cc0(0x190)](_0x1db2a0,[_0x44b93b]);}let _0xc3a3d8=[];for(let _0x438fe3 of _0xc4f306[_0x121cc0(0x108)]()){let _0x283ad3=[..._0x438fe3][_0x121cc0(0x179)](_0x11a2c9),_0x2c4cb0=[];for(let _0x4e3cb7 of _0x283ad3){for(_0x3d00ec(_0x4e3cb7);_0x2c4cb0['length']>0x0&&_0x4e3cb7[_0x121cc0(0x1cb)]>_0x2c4cb0[_0x2c4cb0['length']-0x1][_0x121cc0(0x170)];)_0x2c4cb0[_0x121cc0(0x1c9)]();let _0x536bf8=_0x2c4cb0[_0x2c4cb0[_0x121cc0(0x159)]-0x1];if(_0x536bf8&&_0x4e3cb7[_0x121cc0(0x170)]>_0x536bf8[_0x121cc0(0x170)])throw new _0x25cb4b('crossing',_0x121cc0(0x1a7),_0x4e3cb7['id']);let _0x54659a=_0x536bf8?_0x536bf8[_0x121cc0(0x1a2)]+0x1:0x1;if(_0x54659a>_0x1c3389)throw new _0x25cb4b(_0x121cc0(0x183),_0x121cc0(0x1da)+_0x1c3389,_0x4e3cb7['id']);let _0x1559cc={..._0x4e3cb7,'depth':_0x54659a,'parentId':_0x536bf8==null?void 0x0:_0x536bf8['id'],'anchor':_0x4e3cb7['end'],'children':[]};_0x536bf8?_0x536bf8['children'][_0x121cc0(0x18f)](_0x1559cc):_0xc3a3d8[_0x121cc0(0x18f)](_0x1559cc),_0x2c4cb0[_0x121cc0(0x18f)](_0x1559cc);}}return _0xc3a3d8;}function _0x990e3(_0xc94e09,_0x5eae2d,_0x3b084e={}){const _0x596572=_0x23674c;if(_0x5eae2d[_0x596572(0x1cb)]<0x0||_0x5eae2d[_0x596572(0x1cb)]>_0x5eae2d['end'])return{'valid':!0x1,'reason':_0x596572(0x11c)};if(_0x3b084e[_0x596572(0x17f)]!=null&&_0x5eae2d[_0x596572(0x170)]>=_0x3b084e[_0x596572(0x17f)])return{'valid':!0x1,'reason':'out-of-bounds'};let _0x946945=_0xc94e09[_0x596572(0x11b)](_0x3bd29f=>_0x4a4a58(_0x3bd29f,_0x5eae2d));for(let _0x2847da of _0x946945)if(_0x13abaf(_0x2847da,_0x5eae2d))return{'valid':!0x1,'reason':'crossing'};try{_0x34acea([..._0xc94e09,_0x5eae2d],_0x3b084e);}catch(_0x16ee82){let _0x3ab12a=_0x18a936(_0x16ee82);return _0x3ab12a===_0x596572(0x183)?{'valid':!0x1,'reason':_0x596572(0x183)}:_0x3ab12a===_0x596572(0x11c)?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x596572(0x1af)};}return{'valid':!0x0};}function _0x40f6ac(_0x4374e8,_0x344f30,_0x2716e5={}){const _0xf8ae98=_0x23674c;let _0x4e2e51=_0x990e3(_0x4374e8,_0x344f30,_0x2716e5);if(!_0x4e2e51[_0xf8ae98(0x1c8)]){var _0x560bd2;throw Error((_0x560bd2=_0x4e2e51['reason'])==null?_0xf8ae98(0x17a):_0x560bd2);}return[..._0x4374e8,_0x344f30];}function _0x5aa07a(_0x696d53,_0x244cbc){const _0x57cf72=_0x23674c;let _0x358db4=_0x244cbc[_0x57cf72(0x1cb)],_0x2d558b=_0x244cbc[_0x57cf72(0x170)],_0x3c768b=[],_0x5a993e=!0x0;for(;_0x5a993e;){_0x5a993e=!0x1;for(let _0x4ca686 of _0x696d53)_0x3c768b[_0x57cf72(0x1c6)](_0x4ca686)||!_0x4a4a58(_0x4ca686,_0x244cbc)||!_0x3f7ec0(_0x4ca686[_0x57cf72(0x1cb)],_0x4ca686[_0x57cf72(0x170)],_0x358db4,_0x2d558b)||(_0x3c768b['push'](_0x4ca686),_0x358db4=Math['min'](_0x358db4,_0x4ca686[_0x57cf72(0x1cb)]),_0x2d558b=Math[_0x57cf72(0x19a)](_0x2d558b,_0x4ca686[_0x57cf72(0x170)]),_0x5a993e=!0x0);}if(_0x3c768b['length']===0x0)return null;let [_0x520c05]=[..._0x3c768b][_0x57cf72(0x179)](_0x11a2c9);return{'mergedOutline':{..._0x520c05,'start':_0x358db4,'end':_0x2d558b},'mergedOutlines':_0x3c768b};}function _0x44702e(_0xfdbaff,_0x5c69ee){const _0x372215=_0x23674c;return _0xfdbaff[_0x372215(0x11b)](_0x5acd21=>_0x4a4a58(_0x5acd21,_0x5c69ee)?!(_0x5acd21[_0x372215(0x1cb)]>=_0x5c69ee[_0x372215(0x1cb)]&&_0x5acd21[_0x372215(0x170)]<=_0x5c69ee['end']):!0x0);}function _0x3ee710(_0x1aae5a,_0x4e81c4,_0x5a1b0f,_0x6b1f40){const _0x3c8dad=_0x23674c;return _0x171983(_0x1aae5a['filter'](_0x202fa9=>_0x202fa9[_0x3c8dad(0x1a4)]===_0x4e81c4&&_0x202fa9['subUnitId']===_0x5a1b0f&&_0x202fa9['axis']===_0x6b1f40&&_0x202fa9['collapsed'])['map'](_0x5ac375=>({'start':_0x5ac375[_0x3c8dad(0x1cb)],'end':_0x5ac375[_0x3c8dad(0x170)]})));}function _0x171983(_0x4b5dd7){const _0x4fdbf0=_0x23674c;if(_0x4b5dd7[_0x4fdbf0(0x159)]===0x0)return[];let _0x182b8b=[..._0x4b5dd7][_0x4fdbf0(0x179)]((_0x1e5d93,_0x1a4712)=>_0x1e5d93[_0x4fdbf0(0x1cb)]-_0x1a4712[_0x4fdbf0(0x1cb)]||_0x1e5d93['end']-_0x1a4712[_0x4fdbf0(0x170)]),_0x5cd663=[];for(let _0x46ec1e of _0x182b8b){let _0x3d0ebc=_0x5cd663[_0x5cd663[_0x4fdbf0(0x159)]-0x1];!_0x3d0ebc||_0x46ec1e[_0x4fdbf0(0x1cb)]>_0x3d0ebc[_0x4fdbf0(0x170)]+0x1?_0x5cd663[_0x4fdbf0(0x18f)]({..._0x46ec1e}):_0x3d0ebc[_0x4fdbf0(0x170)]=Math[_0x4fdbf0(0x19a)](_0x3d0ebc['end'],_0x46ec1e[_0x4fdbf0(0x170)]);}return _0x5cd663;}function _0x1b5709(_0x4b0029,_0x30d584){const _0x48a14e=_0x23674c;return _0x30d584[_0x48a14e(0x141)]<=0x0?_0x4b0029:_0x5bd4c(_0x4b0029['map'](_0x7d7fb=>_0x4a4a58(_0x7d7fb,_0x30d584)?_0x30d584[_0x48a14e(0x153)]<=_0x7d7fb[_0x48a14e(0x1cb)]?{..._0x7d7fb,'start':_0x7d7fb[_0x48a14e(0x1cb)]+_0x30d584['count'],'end':_0x7d7fb[_0x48a14e(0x170)]+_0x30d584['count']}:_0x7d7fb['start']<_0x30d584[_0x48a14e(0x153)]&&_0x30d584[_0x48a14e(0x153)]<=_0x7d7fb['end']?{..._0x7d7fb,'end':_0x7d7fb['end']+_0x30d584[_0x48a14e(0x141)]}:_0x7d7fb:_0x7d7fb));}function _0x1fbb09(_0x168ce2,_0x1ed066){const _0x48b0bc=_0x23674c;if(_0x1ed066[_0x48b0bc(0x1cb)]>_0x1ed066[_0x48b0bc(0x170)])return _0x168ce2;let _0x298c23=_0x1ed066[_0x48b0bc(0x170)]-_0x1ed066[_0x48b0bc(0x1cb)]+0x1,_0x423887=[];for(let _0x48f70b of _0x168ce2){if(!_0x4a4a58(_0x48f70b,_0x1ed066)){_0x423887['push'](_0x48f70b);continue;}if(_0x48f70b[_0x48b0bc(0x170)]<_0x1ed066[_0x48b0bc(0x1cb)]){_0x423887[_0x48b0bc(0x18f)](_0x48f70b);continue;}if(_0x48f70b[_0x48b0bc(0x1cb)]>_0x1ed066[_0x48b0bc(0x170)]){_0x423887['push']({..._0x48f70b,'start':_0x48f70b[_0x48b0bc(0x1cb)]-_0x298c23,'end':_0x48f70b[_0x48b0bc(0x170)]-_0x298c23});continue;}let _0x5b63e2=Math[_0x48b0bc(0x19a)](_0x48f70b[_0x48b0bc(0x1cb)],_0x1ed066['start']),_0x455610=Math[_0x48b0bc(0x1bc)](_0x48f70b[_0x48b0bc(0x170)],_0x1ed066[_0x48b0bc(0x170)]),_0x116331=Math[_0x48b0bc(0x19a)](0x0,_0x455610-_0x5b63e2+0x1),_0x550b2e=_0x48f70b['end']-_0x48f70b[_0x48b0bc(0x1cb)]+0x1-_0x116331;if(_0x550b2e<=0x0)continue;let _0x3ba1b3=_0x48f70b[_0x48b0bc(0x1cb)]<_0x1ed066[_0x48b0bc(0x1cb)]?_0x48f70b[_0x48b0bc(0x1cb)]:_0x1ed066[_0x48b0bc(0x1cb)];_0x423887[_0x48b0bc(0x18f)]({..._0x48f70b,'start':_0x3ba1b3,'end':_0x3ba1b3+_0x550b2e-0x1});}return _0x5bd4c(_0x423887);}function _0x1ee85c(_0xd6bcc1,_0x303bc8){const _0x131966=_0x23674c;if(_0x303bc8[_0x131966(0x189)]>_0x303bc8[_0x131966(0x123)])return _0xd6bcc1;let _0x37cd9b=[];for(let _0x53c4b1 of _0xd6bcc1){if(!_0x4a4a58(_0x53c4b1,_0x303bc8)){_0x37cd9b[_0x131966(0x18f)](_0x53c4b1);continue;}let _0x16b44a=_0x4cb364(_0x53c4b1,_0x303bc8);if(_0x16b44a[_0x131966(0x1c4)]==='split')throw new _0x25cb4b(_0x131966(0x1ae),_0x131966(0x19f)+_0x53c4b1['id'],_0x53c4b1['id']);_0x37cd9b[_0x131966(0x18f)](_0x16b44a[_0x131966(0x143)]);}return _0x5bd4c(_0x37cd9b);}function _0x4cb364(_0x1a5167,_0xa2a139){const _0x5e4846=_0x23674c;let _0x1731b2=_0x201f5f(_0xa2a139['sourceStart'],_0xa2a139['sourceEnd']+0x1,_0xa2a139['destinationIndex']),_0x2307f3=[],_0x48f4a7={'start':_0x1a5167[_0x5e4846(0x1cb)],'end':_0x1a5167[_0x5e4846(0x170)]+0x1};for(let _0x3867bd of _0x1731b2){let _0x44fa44=_0x1961f8(_0x48f4a7,_0x3867bd[_0x5e4846(0x1a3)]);_0x44fa44&&_0x2307f3['push']({'start':_0x44fa44[_0x5e4846(0x1cb)]+_0x3867bd[_0x5e4846(0x160)],'end':_0x44fa44['end']+_0x3867bd[_0x5e4846(0x160)]});}let _0x11de1c=_0x318cca(_0x2307f3);return _0x11de1c['length']===0x1?{'type':'ok','outline':{..._0x1a5167,'start':_0x11de1c[0x0][_0x5e4846(0x1cb)],'end':_0x11de1c[0x0][_0x5e4846(0x170)]-0x1}}:{'type':'split','outline':_0x1a5167,'ranges':_0x11de1c};}function _0x201f5f(_0x151c0c,_0x5ac2a1,_0x1a0716){const _0x3767f8=_0x23674c;let _0xdaa15c=_0x5ac2a1-_0x151c0c;if(_0xdaa15c<=0x0)throw Error(_0x3767f8(0x172));return _0x1a0716>=_0x151c0c&&_0x1a0716<=_0x5ac2a1?[{'range':{'start':0x0,'end':_0x21b19d},'offset':0x0}]:_0x1a0716<_0x151c0c?[{'range':{'start':0x0,'end':_0x1a0716},'offset':0x0},{'range':{'start':_0x1a0716,'end':_0x151c0c},'offset':_0xdaa15c},{'range':{'start':_0x151c0c,'end':_0x5ac2a1},'offset':_0x1a0716-_0x151c0c},{'range':{'start':_0x5ac2a1,'end':_0x21b19d},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x151c0c},'offset':0x0},{'range':{'start':_0x151c0c,'end':_0x5ac2a1},'offset':_0x1a0716-_0x5ac2a1},{'range':{'start':_0x5ac2a1,'end':_0x1a0716},'offset':-_0xdaa15c},{'range':{'start':_0x1a0716,'end':_0x21b19d},'offset':0x0}];}function _0x1961f8(_0x14afee,_0x1b2d65){const _0x57f52c=_0x23674c;let _0x22ef9c=Math[_0x57f52c(0x19a)](_0x14afee['start'],_0x1b2d65[_0x57f52c(0x1cb)]),_0x3752a5=Math[_0x57f52c(0x1bc)](_0x14afee[_0x57f52c(0x170)],_0x1b2d65[_0x57f52c(0x170)]);return _0x22ef9c>=_0x3752a5?null:{'start':_0x22ef9c,'end':_0x3752a5};}function _0x318cca(_0x1b3a20){const _0x4c35a1=_0x23674c;if(_0x1b3a20[_0x4c35a1(0x159)]===0x0)return[];let _0xc1812b=[..._0x1b3a20]['sort']((_0x181f01,_0x303076)=>_0x181f01[_0x4c35a1(0x1cb)]-_0x303076['start']||_0x181f01['end']-_0x303076[_0x4c35a1(0x170)]),_0x32d8e2=[];for(let _0x1be052 of _0xc1812b){let _0x4de71d=_0x32d8e2[_0x32d8e2[_0x4c35a1(0x159)]-0x1];!_0x4de71d||_0x1be052[_0x4c35a1(0x1cb)]>_0x4de71d[_0x4c35a1(0x170)]?_0x32d8e2[_0x4c35a1(0x18f)]({..._0x1be052}):_0x4de71d['end']=Math[_0x4c35a1(0x19a)](_0x4de71d[_0x4c35a1(0x170)],_0x1be052['end']);}return _0x32d8e2;}function _0x3f7ec0(_0xa19483,_0x4ff6bc,_0x3b8f96,_0x2b63bc){return _0x4ff6bc+0x1===_0x3b8f96||_0x2b63bc+0x1===_0xa19483;}function _0x5bd4c(_0x2be535){let _0xf5693f=_0x29b058(_0x2be535);return _0x34acea(_0xf5693f),_0xf5693f;}function _0x29b058(_0x1e8e6f){const _0x1a9da9=_0x23674c;let _0x4e52e5=new Map();for(let _0x4fd1c3 of _0x1e8e6f){let _0x1e33d0=[_0x4fd1c3['unitId'],_0x4fd1c3[_0x1a9da9(0x135)],_0x4fd1c3[_0x1a9da9(0x14b)],_0x4fd1c3['start'],_0x4fd1c3['end']][_0x1a9da9(0x136)](':'),_0x2a0aa4=_0x4e52e5[_0x1a9da9(0x15f)](_0x1e33d0);if(!_0x2a0aa4){_0x4e52e5['set'](_0x1e33d0,_0x4fd1c3);continue;}_0x4e52e5[_0x1a9da9(0x190)](_0x1e33d0,{..._0x2a0aa4,'collapsed':_0x2a0aa4[_0x1a9da9(0x144)]||_0x4fd1c3[_0x1a9da9(0x144)]});}return Array[_0x1a9da9(0x114)](_0x4e52e5[_0x1a9da9(0x108)]());}function _0x11a2c9(_0x1dd8c6,_0x4f16c4){const _0x2c5f0d=_0x23674c;return _0x1dd8c6[_0x2c5f0d(0x1a4)]===_0x4f16c4[_0x2c5f0d(0x1a4)]?_0x1dd8c6[_0x2c5f0d(0x135)]===_0x4f16c4[_0x2c5f0d(0x135)]?_0x1dd8c6[_0x2c5f0d(0x14b)]===_0x4f16c4[_0x2c5f0d(0x14b)]?_0x1dd8c6[_0x2c5f0d(0x1cb)]===_0x4f16c4[_0x2c5f0d(0x1cb)]?_0x4f16c4['end']-_0x1dd8c6['end']:_0x1dd8c6[_0x2c5f0d(0x1cb)]-_0x4f16c4['start']:_0x1dd8c6['axis'][_0x2c5f0d(0x10c)](_0x4f16c4[_0x2c5f0d(0x14b)]):_0x1dd8c6['subUnitId']['localeCompare'](_0x4f16c4[_0x2c5f0d(0x135)]):_0x1dd8c6['unitId'][_0x2c5f0d(0x10c)](_0x4f16c4[_0x2c5f0d(0x1a4)]);}function _0x3d00ec(_0x1f7257){const _0x46ee28=_0x23674c;if(_0x1f7257[_0x46ee28(0x1cb)]>_0x1f7257[_0x46ee28(0x170)])throw new _0x25cb4b(_0x46ee28(0x11c),_0x46ee28(0x1b2),_0x1f7257['id']);}function _0x13abaf(_0x270acb,_0x969b8f){const _0x368855=_0x23674c;let _0x1ea02a=_0x270acb[_0x368855(0x1cb)]<=_0x969b8f[_0x368855(0x170)]&&_0x969b8f[_0x368855(0x1cb)]<=_0x270acb['end'],_0xe8d834=_0x270acb[_0x368855(0x1cb)]<=_0x969b8f[_0x368855(0x1cb)]&&_0x969b8f[_0x368855(0x170)]<=_0x270acb[_0x368855(0x170)],_0x1ca1db=_0x969b8f['start']<=_0x270acb['start']&&_0x270acb[_0x368855(0x170)]<=_0x969b8f['end'];return _0x1ea02a&&!_0xe8d834&&!_0x1ca1db;}function _0x1518e9(_0xe2d592){'@babel/helpers - typeof';const _0x19466b=_0x23674c;return _0x1518e9=typeof Symbol==_0x19466b(0x193)&&typeof Symbol[_0x19466b(0x146)]==_0x19466b(0x184)?function(_0x285511){return typeof _0x285511;}:function(_0x57465b){const _0x4a711d=_0x19466b;return _0x57465b&&typeof Symbol==_0x4a711d(0x193)&&_0x57465b[_0x4a711d(0x1c0)]===Symbol&&_0x57465b!==Symbol[_0x4a711d(0x13a)]?_0x4a711d(0x184):typeof _0x57465b;},_0x1518e9(_0xe2d592);}function _0x313861(_0x429632,_0x222263){const _0x213685=_0x23674c;if(_0x1518e9(_0x429632)!=_0x213685(0x1b7)||!_0x429632)return _0x429632;var _0x47a7f0=_0x429632[Symbol[_0x213685(0x151)]];if(_0x47a7f0!==void 0x0){var _0x4dfd7d=_0x47a7f0[_0x213685(0x166)](_0x429632,_0x222263||_0x213685(0x10d));if(_0x1518e9(_0x4dfd7d)!=_0x213685(0x1b7))return _0x4dfd7d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x222263===_0x213685(0x167)?String:Number)(_0x429632);}function _0x2f114a(_0x35cc4b){const _0x1edcec=_0x23674c;var _0x2eab71=_0x313861(_0x35cc4b,_0x1edcec(0x167));return _0x1518e9(_0x2eab71)=='symbol'?_0x2eab71:_0x2eab71+'';}function _0x466529(_0x37ea85,_0x264f13,_0x27c030){const _0x502649=_0x23674c;return(_0x264f13=_0x2f114a(_0x264f13))in _0x37ea85?Object[_0x502649(0x171)](_0x37ea85,_0x264f13,{'value':_0x27c030,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x37ea85[_0x264f13]=_0x27c030,_0x37ea85;}var _0x49091a=class extends _0x21068f['Disposable']{constructor(..._0x36e906){const _0x26d5bf=_0x23674c;super(..._0x36e906),_0x466529(this,'_outlines',new Map()),_0x466529(this,_0x26d5bf(0x161),new _0x44f90e[(_0x26d5bf(0x139))]()),_0x466529(this,_0x26d5bf(0x168),this[_0x26d5bf(0x161)][_0x26d5bf(0x19e)]());}[_0x23674c(0x17e)](_0x3f19a9,_0x241212){const _0x4e6509=_0x23674c;var _0x27060e,_0x153b73;return[...(_0x27060e=(_0x153b73=this[_0x4e6509(0x1a8)]['get'](_0x3f19a9))==null?void 0x0:_0x153b73[_0x4e6509(0x15f)](_0x241212))==null?[]:_0x27060e];}['getUnitOutlines'](_0x25a7e4){const _0xafac07=_0x23674c;let _0x44a863=this[_0xafac07(0x1a8)]['get'](_0x25a7e4),_0x45032d=new Map();return _0x44a863==null||_0x44a863[_0xafac07(0x12f)]((_0x41529c,_0x1f3500)=>{_0x45032d['set'](_0x1f3500,[..._0x41529c]);}),_0x45032d;}[_0x23674c(0x1db)](_0x399c4e,_0x4a6994,_0x1e369a){const _0xd7fe82=_0x23674c;this[_0xd7fe82(0x10b)](_0x399c4e)[_0xd7fe82(0x190)](_0x4a6994,[..._0x1e369a]),this[_0xd7fe82(0x161)][_0xd7fe82(0x1aa)]({'unitId':_0x399c4e,'subUnitId':_0x4a6994});}[_0x23674c(0x1d0)](_0x9d56bc){const _0x324305=_0x23674c;this[_0x324305(0x1a8)][_0x324305(0x134)](_0x9d56bc),this[_0x324305(0x161)][_0x324305(0x1aa)]({'unitId':_0x9d56bc});}[_0x23674c(0x15c)](_0xe0e1c1){const _0x5363c5=_0x23674c;let _0x3b477d=this[_0x5363c5(0x1a8)]['get'](_0xe0e1c1),_0x11ab5d={};return _0x3b477d==null||_0x3b477d[_0x5363c5(0x12f)]((_0x2fac65,_0x389636)=>{_0x11ab5d[_0x389636]={'outlineList':[..._0x2fac65]};}),_0x11ab5d;}['deserialize'](_0x2d3e3b,_0x52448b){const _0x2242bb=_0x23674c;let _0x4e3ad8=new Map();Object['entries'](_0x52448b)[_0x2242bb(0x12f)](([_0x59e62e,_0x402e22])=>{const _0x21499a=_0x2242bb;var _0x2e4f47;_0x4e3ad8[_0x21499a(0x190)](_0x59e62e,[...(_0x2e4f47=_0x402e22[_0x21499a(0x1cc)])==null?[]:_0x2e4f47]);}),this[_0x2242bb(0x1a8)][_0x2242bb(0x190)](_0x2d3e3b,_0x4e3ad8),this[_0x2242bb(0x161)][_0x2242bb(0x1aa)]({'unitId':_0x2d3e3b});}['dispose'](){const _0x1477c9=_0x23674c;super['dispose'](),this[_0x1477c9(0x1a8)]['clear'](),this[_0x1477c9(0x161)]['complete']();}['_ensureUnitOutlines'](_0x3dd512){const _0x577bf7=_0x23674c;let _0x1b5121=this['_outlines']['get'](_0x3dd512);return _0x1b5121||(_0x1b5121=new Map(),this['_outlines'][_0x577bf7(0x190)](_0x3dd512,_0x1b5121)),_0x1b5121;}},_0x49da03=class extends _0x21068f[_0x23674c(0x152)]{constructor(..._0x2df954){const _0x2ec596=_0x23674c;super(..._0x2df954),_0x466529(this,_0x2ec596(0x14f),new _0x44f90e[(_0x2ec596(0x139))]()),_0x466529(this,'error$',this[_0x2ec596(0x14f)][_0x2ec596(0x19e)]());}['emit'](_0x2d7e7e){const _0x20229e=_0x23674c;this[_0x20229e(0x14f)]['next'](_0x2d7e7e);}[_0x23674c(0x107)](){const _0x539f99=_0x23674c;super[_0x539f99(0x107)](),this[_0x539f99(0x14f)][_0x539f99(0x117)]();}};let _0x1b690c={'id':'sheet.mutation.add-dimension-outline','type':_0x21068f['CommandType'][_0x23674c(0x115)],'handler':(_0x493acb,_0xb149e6)=>{const _0x4ade2a=_0x23674c;let _0x1d44f8=_0x493acb[_0x4ade2a(0x15f)](_0x49091a),_0xea004=_0x1d44f8[_0x4ade2a(0x17e)](_0xb149e6[_0x4ade2a(0x1a4)],_0xb149e6[_0x4ade2a(0x135)]);return _0x1d44f8['setOutlines'](_0xb149e6['unitId'],_0xb149e6[_0x4ade2a(0x135)],_0x40f6ac(_0xea004,_0xb149e6[_0x4ade2a(0x143)])),!0x0;}},_0x22c9c1={'id':_0x23674c(0x157),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x115)],'handler':(_0x45c622,_0x301f08)=>{const _0x184bef=_0x23674c;let _0x545313=_0x45c622['get'](_0x49091a),_0x1bc539=_0x545313[_0x184bef(0x17e)](_0x301f08[_0x184bef(0x1a4)],_0x301f08[_0x184bef(0x135)]);return _0x545313[_0x184bef(0x1db)](_0x301f08['unitId'],_0x301f08[_0x184bef(0x135)],_0x1bc539[_0x184bef(0x11b)](_0x24fcd8=>_0x24fcd8['id']!==_0x301f08['outlineId'])),!0x0;}};function _0x514a9b(_0xd87546,_0x37bb1a,_0x53d050){const _0x475592=_0x23674c;let _0x3734e1=_0xe040f9(_0xd87546);return _0x3734e1?_0x3734e1[_0x475592(0x11a)]({'workbookTypes':[_0x2bfd53['WorkbookViewPermission']],'worksheetTypes':[_0x2bfd53[_0x475592(0x132)]]},_0x37bb1a,_0x53d050):!0x0;}function _0x25b6ae(_0x22d708,_0x375452,_0x49fc20){const _0x36c64d=_0x23674c;var _0x42cb5b;let _0x30d870=_0x181a94(_0x22d708);return((_0x42cb5b=_0x30d870==null?void 0x0:_0x30d870[_0x36c64d(0x124)])==null?(0x0,_0x44f90e['of'])(null):_0x42cb5b)['pipe']((0x0,_0x511607[_0x36c64d(0x147)])(0x64),(0x0,_0x511607[_0x36c64d(0x1a9)])(null),(0x0,_0x511607[_0x36c64d(0x1b1)])(()=>_0x514a9b(_0x22d708,_0x375452,_0x49fc20)));}function _0xe040f9(_0x3e6824){const _0x691736=_0x23674c;if(typeof _0x3e6824['has']==_0x691736(0x193)&&!_0x3e6824[_0x691736(0x1ac)](_0x2bfd53[_0x691736(0x15b)]))return null;try{return _0x3e6824[_0x691736(0x15f)](_0x2bfd53[_0x691736(0x15b)]);}catch{return null;}}function _0x181a94(_0x37bf99){const _0x2ce94c=_0x23674c;if(typeof _0x37bf99[_0x2ce94c(0x1ac)]==_0x2ce94c(0x193)&&!_0x37bf99[_0x2ce94c(0x1ac)](_0x21068f['IPermissionService']))return null;try{return _0x37bf99['get'](_0x21068f[_0x2ce94c(0x162)]);}catch{return null;}}let _0x3f79f1={'id':_0x23674c(0x16a),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x3d98bc,_0x2a00bf)=>{const _0x1c381a=_0x23674c;var _0x435d01,_0x1259fb;if(!_0x2a00bf)return!0x1;let _0x3aeeb1=(0x0,_0x2bfd53[_0x1c381a(0x10f)])(_0x3d98bc[_0x1c381a(0x15f)](_0x21068f[_0x1c381a(0x177)]),_0x2a00bf);if(!_0x3aeeb1)return!0x1;let {unitId:_0x7fdace,subUnitId:_0x39fcbb,worksheet:_0x2a10c6}=_0x3aeeb1;if(!_0x514a9b(_0x3d98bc,_0x7fdace,_0x39fcbb))return!0x1;let _0x3ab7bc=_0x3d98bc[_0x1c381a(0x15f)](_0x49091a),_0x2c5156={'id':_0x1c381a(0x137)+(0x0,_0x21068f[_0x1c381a(0x1a6)])(0x6),'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'axis':_0x2a00bf[_0x1c381a(0x14b)],'start':_0x2a00bf[_0x1c381a(0x1cb)],'end':_0x2a00bf[_0x1c381a(0x170)],'collapsed':!0x1},_0x4aafe8=_0x2a00bf[_0x1c381a(0x14b)]===_0x1c381a(0x13e)?_0x2a10c6[_0x1c381a(0x19d)]():_0x2a10c6['getColumnCount'](),_0x30ef45=_0x3ab7bc[_0x1c381a(0x17e)](_0x7fdace,_0x39fcbb),_0x93776e=_0x5aa07a(_0x30ef45,_0x2c5156),_0x30d09f=(_0x435d01=_0x93776e==null?void 0x0:_0x93776e['mergedOutlines'])==null?[]:_0x435d01,_0x27c91c=(_0x1259fb=_0x93776e==null?void 0x0:_0x93776e['mergedOutline'])==null?_0x2c5156:_0x1259fb,_0x23f45f=_0x990e3(_0x93776e?_0x30ef45[_0x1c381a(0x11b)](_0x325ae0=>!_0x30d09f['some'](_0x518d21=>_0x518d21['id']===_0x325ae0['id'])):_0x30ef45,_0x27c91c,{'maxIndex':_0x4aafe8});if(!_0x23f45f[_0x1c381a(0x1c8)]){var _0x2b65da;return _0x3d98bc['get'](_0x49da03)[_0x1c381a(0x196)]({'reason':(_0x2b65da=_0x23f45f[_0x1c381a(0x191)])==null?_0x1c381a(0x113):_0x2b65da,'commandId':_0x3f79f1['id'],'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'axis':_0x2a00bf[_0x1c381a(0x14b)],'outlineId':_0x27c91c['id']}),!0x1;}let _0x3525df=[..._0x30d09f[_0x1c381a(0x1b1)](_0x4628dd=>({'id':_0x22c9c1['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outlineId':_0x4628dd['id']}})),{'id':_0x1b690c['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outline':_0x27c91c}}],_0x390bbc=[{'id':_0x22c9c1['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outlineId':_0x27c91c['id']}},..._0x30d09f[_0x1c381a(0x1b1)](_0x3bf056=>({'id':_0x1b690c['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outline':_0x3bf056}}))];return(0x0,_0x21068f['sequenceExecute'])(_0x3525df,_0x3d98bc['get'](_0x21068f[_0x1c381a(0x15d)]))[_0x1c381a(0x1d7)]?(_0x3d98bc[_0x1c381a(0x15f)](_0x21068f[_0x1c381a(0x195)])[_0x1c381a(0x101)]({'unitID':_0x7fdace,'undoMutations':_0x390bbc,'redoMutations':_0x3525df}),!0x0):!0x1;}},_0xb594a2={'id':'sheet.mutation.clear-dimension-outlines','type':_0x21068f['CommandType']['MUTATION'],'handler':(_0x4eca7a,_0x50a27c)=>{const _0x5d8cb4=_0x23674c;let _0x51b388=_0x4eca7a[_0x5d8cb4(0x15f)](_0x49091a),_0x4d0ae2=_0x51b388[_0x5d8cb4(0x17e)](_0x50a27c['unitId'],_0x50a27c[_0x5d8cb4(0x135)]);return _0x51b388[_0x5d8cb4(0x1db)](_0x50a27c[_0x5d8cb4(0x1a4)],_0x50a27c[_0x5d8cb4(0x135)],_0x44702e(_0x4d0ae2,_0x50a27c)),!0x0;}},_0xc8aaea={'id':_0x23674c(0x18c),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x447019,_0x29fb5a)=>{const _0x227b3e=_0x23674c;if(!_0x29fb5a)return!0x1;let _0x5aef5d=(0x0,_0x2bfd53[_0x227b3e(0x10f)])(_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x177)]),_0x29fb5a);if(!_0x5aef5d)return!0x1;let {unitId:_0x31d07e,subUnitId:_0x2fd530}=_0x5aef5d;if(!_0x514a9b(_0x447019,_0x31d07e,_0x2fd530))return!0x1;let _0x3783b2={'unitId':_0x31d07e,'subUnitId':_0x2fd530,'axis':_0x29fb5a[_0x227b3e(0x14b)],'start':_0x29fb5a['start'],'end':_0x29fb5a['end']},_0x2140b=_0x447019[_0x227b3e(0x15f)](_0x49091a)['getOutlines'](_0x31d07e,_0x2fd530)[_0x227b3e(0x11b)](_0x4a7484=>_0x4a4a58(_0x4a7484,_0x3783b2)&&_0x4a7484[_0x227b3e(0x1cb)]>=_0x29fb5a[_0x227b3e(0x1cb)]&&_0x4a7484[_0x227b3e(0x170)]<=_0x29fb5a[_0x227b3e(0x170)]);if(_0x2140b[_0x227b3e(0x159)]===0x0)return _0x447019[_0x227b3e(0x15f)](_0x49da03)[_0x227b3e(0x196)]({'reason':'clear-range-not-contain-outline','commandId':_0xc8aaea['id'],'unitId':_0x31d07e,'subUnitId':_0x2fd530,'axis':_0x29fb5a['axis']}),!0x1;let _0x231d58=[{'id':_0xb594a2['id'],'params':{..._0x3783b2,'removedOutlineIds':_0x2140b['map'](_0x213bb8=>_0x213bb8['id'])}}],_0x49735a=_0x2140b['map'](_0x873f8a=>({'id':_0x1b690c['id'],'params':{'unitId':_0x31d07e,'subUnitId':_0x2fd530,'outline':_0x873f8a}}));return(0x0,_0x21068f[_0x227b3e(0x174)])(_0x231d58,_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x15d)]))[_0x227b3e(0x1d7)]?(_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x195)])['pushUndoRedo']({'unitID':_0x31d07e,'undoMutations':_0x49735a,'redoMutations':_0x231d58}),!0x0):!0x1;}},_0x1a186a={'id':'sheet.command.remove-dimension-outline','type':_0x21068f['CommandType'][_0x23674c(0x112)],'handler':(_0x424468,_0x57c8d7)=>{const _0x1083fd=_0x23674c;if(!_0x57c8d7)return!0x1;let _0x438d58=(0x0,_0x2bfd53[_0x1083fd(0x10f)])(_0x424468['get'](_0x21068f['IUniverInstanceService']),_0x57c8d7);if(!_0x438d58)return!0x1;let {unitId:_0x3b5377,subUnitId:_0x400b2a}=_0x438d58;if(!_0x514a9b(_0x424468,_0x3b5377,_0x400b2a))return!0x1;let _0x570f6a=_0x424468['get'](_0x49091a)[_0x1083fd(0x17e)](_0x3b5377,_0x400b2a)[_0x1083fd(0x122)](_0x2c566c=>_0x2c566c['id']===_0x57c8d7['outlineId']);if(!_0x570f6a)return!0x1;let _0x1fd040=[{'id':_0x22c9c1['id'],'params':{'unitId':_0x3b5377,'subUnitId':_0x400b2a,'outlineId':_0x570f6a['id'],'outline':_0x570f6a}}],_0x2310e8=[{'id':_0x1b690c['id'],'params':{'unitId':_0x3b5377,'subUnitId':_0x400b2a,'outline':_0x570f6a}}];return(0x0,_0x21068f[_0x1083fd(0x174)])(_0x1fd040,_0x424468[_0x1083fd(0x15f)](_0x21068f[_0x1083fd(0x15d)]))[_0x1083fd(0x1d7)]?(_0x424468[_0x1083fd(0x15f)](_0x21068f[_0x1083fd(0x195)])['pushUndoRedo']({'unitID':_0x3b5377,'undoMutations':_0x2310e8,'redoMutations':_0x1fd040}),!0x0):!0x1;}},_0xf08c60={'id':_0x23674c(0x1b0),'type':_0x21068f['CommandType'][_0x23674c(0x115)],'handler':(_0x1f13f6,_0x58ce1c)=>{const _0x7ede00=_0x23674c;let _0xd88b0b=_0x1f13f6['get'](_0x49091a),_0x11c239=_0xd88b0b[_0x7ede00(0x17e)](_0x58ce1c[_0x7ede00(0x1a4)],_0x58ce1c[_0x7ede00(0x135)]),_0x528249=_0x11c239['find'](_0x34a99e=>_0x34a99e['id']===_0x58ce1c['outlineId']);return _0x528249&&_0xd88b0b[_0x7ede00(0x1db)](_0x58ce1c[_0x7ede00(0x1a4)],_0x58ce1c[_0x7ede00(0x135)],_0x11c239['map'](_0x263631=>_0x263631[_0x7ede00(0x1a4)]!==_0x528249['unitId']||_0x263631[_0x7ede00(0x135)]!==_0x528249[_0x7ede00(0x135)]||_0x263631[_0x7ede00(0x14b)]!==_0x528249[_0x7ede00(0x14b)]||_0x263631['start']!==_0x528249['start']||_0x263631['end']!==_0x528249[_0x7ede00(0x170)]?_0x263631:{..._0x263631,'collapsed':_0x58ce1c[_0x7ede00(0x144)]})),!0x0;}};function _0x48b3e3(_0x20498f,_0x981baa,_0xdb6a65,_0x16adf2){const _0xb01d70=_0x23674c;return _0x20498f===_0xb01d70(0x13e)?{'startRow':_0x981baa,'endRow':_0xdb6a65,'startColumn':0x0,'endColumn':_0x16adf2[_0xb01d70(0x18e)]()-0x1}:{'startRow':0x0,'endRow':_0x16adf2[_0xb01d70(0x19d)]()-0x1,'startColumn':_0x981baa,'endColumn':_0xdb6a65};}function _0x1bcf37(_0xdb9b7b){const _0x3d1676=_0x23674c;return _0xdb9b7b===_0x3d1676(0x13e)?_0x2bfd53[_0x3d1676(0x11d)]['id']:_0x2bfd53[_0x3d1676(0x1b6)]['id'];}function _0x1677d9(_0xfb96de){const _0x4e6dcd=_0x23674c;return _0xfb96de===_0x4e6dcd(0x13e)?_0x2bfd53[_0x4e6dcd(0x133)]['id']:_0x2bfd53['SetColVisibleMutation']['id'];}function _0x539cb8(_0x452e59,_0x4d8556,_0x1bd57d,_0x2bf437){const _0xdaabda=_0x23674c;let _0xc9f2d9=_0x4d8556?[_0x48b3e3(_0x452e59['axis'],_0x452e59[_0xdaabda(0x1cb)],_0x452e59[_0xdaabda(0x170)],_0x1bd57d)]:_0x49278d(_0x452e59,_0x2bf437,_0x1bd57d),_0x6a1873=_0x4d8556?_0x1bcf37(_0x452e59['axis']):_0x1677d9(_0x452e59[_0xdaabda(0x14b)]);return[{'id':_0xf08c60['id'],'params':{'unitId':_0x452e59[_0xdaabda(0x1a4)],'subUnitId':_0x452e59[_0xdaabda(0x135)],'outlineId':_0x452e59['id'],'outline':_0x452e59,'collapsed':_0x4d8556}},..._0xc9f2d9[_0xdaabda(0x1b1)](_0x146815=>({'id':_0x6a1873,'params':{'unitId':_0x452e59[_0xdaabda(0x1a4)],'subUnitId':_0x452e59[_0xdaabda(0x135)],'ranges':[_0x146815],'dimensionOutlineId':_0x452e59['id']}}))];}function _0x49278d(_0x230348,_0x4673ab,_0x2be1f3){const _0xe07d3=_0x23674c;let _0x57105c=_0x3ee710(_0x4673ab[_0xe07d3(0x1b1)](_0x1608e0=>_0x478383(_0x1608e0,_0x230348)?{..._0x1608e0,'collapsed':!0x1}:_0x1608e0),_0x230348[_0xe07d3(0x1a4)],_0x230348[_0xe07d3(0x135)],_0x230348['axis']);return _0x5aae1b({'start':_0x230348['start'],'end':_0x230348[_0xe07d3(0x170)]},_0x57105c)[_0xe07d3(0x1b1)](_0x52d95d=>_0x48b3e3(_0x230348['axis'],_0x52d95d[_0xe07d3(0x1cb)],_0x52d95d[_0xe07d3(0x170)],_0x2be1f3));}function _0x478383(_0x16186c,_0x445cf9){const _0x4384a1=_0x23674c;return _0x16186c[_0x4384a1(0x1a4)]===_0x445cf9[_0x4384a1(0x1a4)]&&_0x16186c[_0x4384a1(0x135)]===_0x445cf9[_0x4384a1(0x135)]&&_0x16186c[_0x4384a1(0x14b)]===_0x445cf9['axis']&&_0x16186c['start']===_0x445cf9[_0x4384a1(0x1cb)]&&_0x16186c[_0x4384a1(0x170)]===_0x445cf9[_0x4384a1(0x170)];}function _0x5aae1b(_0x55c28c,_0x33e4c0){const _0x1951a4=_0x23674c;let _0x154eff=_0x55c28c[_0x1951a4(0x1cb)],_0x1f5f46=[];for(let _0x4e70b6 of _0x33e4c0)if(!(_0x4e70b6['end']<_0x154eff||_0x4e70b6[_0x1951a4(0x1cb)]>_0x55c28c['end'])&&(_0x4e70b6[_0x1951a4(0x1cb)]>_0x154eff&&_0x1f5f46[_0x1951a4(0x18f)]({'start':_0x154eff,'end':Math[_0x1951a4(0x1bc)](_0x4e70b6['start']-0x1,_0x55c28c['end'])}),_0x154eff=Math['max'](_0x154eff,_0x4e70b6[_0x1951a4(0x170)]+0x1),_0x154eff>_0x55c28c[_0x1951a4(0x170)]))break;return _0x154eff<=_0x55c28c[_0x1951a4(0x170)]&&_0x1f5f46[_0x1951a4(0x18f)]({'start':_0x154eff,'end':_0x55c28c[_0x1951a4(0x170)]}),_0x1f5f46;}let _0x148ab7={'id':_0x23674c(0x12e),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x3714d3,_0xd6c7ac)=>{const _0x3f328c=_0x23674c;if(!_0xd6c7ac)return!0x1;let _0x5992ad=(0x0,_0x2bfd53[_0x3f328c(0x10f)])(_0x3714d3[_0x3f328c(0x15f)](_0x21068f['IUniverInstanceService']),_0xd6c7ac);if(!_0x5992ad)return!0x1;let {unitId:_0x32d1a3,subUnitId:_0x39763e,worksheet:_0x3be07e}=_0x5992ad;if(!_0x514a9b(_0x3714d3,_0x32d1a3,_0x39763e))return!0x1;let _0x439d94=_0x3714d3[_0x3f328c(0x15f)](_0x49091a)[_0x3f328c(0x17e)](_0x32d1a3,_0x39763e),_0x27525e=_0x439d94[_0x3f328c(0x122)](_0x59e8f5=>_0x59e8f5['id']===_0xd6c7ac['outlineId']);if(!_0x27525e||_0x27525e[_0x3f328c(0x144)]===_0xd6c7ac[_0x3f328c(0x144)])return!0x1;let _0x33d530=_0x539cb8(_0x27525e,_0xd6c7ac[_0x3f328c(0x144)],_0x3be07e,_0x439d94),_0xb24764=_0x539cb8(_0x27525e,!_0xd6c7ac[_0x3f328c(0x144)],_0x3be07e,_0x439d94);return(0x0,_0x21068f[_0x3f328c(0x174)])(_0x33d530,_0x3714d3[_0x3f328c(0x15f)](_0x21068f[_0x3f328c(0x15d)]))[_0x3f328c(0x1d7)]?(_0x3714d3['get'](_0x21068f['IUndoRedoService'])[_0x3f328c(0x101)]({'unitID':_0x32d1a3,'undoMutations':_0xb24764,'redoMutations':_0x33d530}),!0x0):!0x1;}},_0x26e7f8={'id':_0x23674c(0x10a),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x115)],'handler':(_0x4de19e,_0x12ec0b)=>{const _0x557272=_0x23674c;let _0x47e972=_0x4de19e[_0x557272(0x15f)](_0x49091a),_0x30f1ae=_0x124fd9(_0x47e972[_0x557272(0x17e)](_0x12ec0b[_0x557272(0x1a4)],_0x12ec0b['subUnitId']),_0x12ec0b);return _0x47e972['setOutlines'](_0x12ec0b[_0x557272(0x1a4)],_0x12ec0b[_0x557272(0x135)],_0x30f1ae),!0x0;}};function _0x124fd9(_0x4fcd40,_0x4d2616){const _0x1a4033=_0x23674c;switch(_0x4d2616[_0x1a4033(0x1c4)]){case _0x1a4033(0x1b8):return _0x4d2616[_0x1a4033(0x12a)]?_0x5e152d(_0x4fcd40,_0x4d2616):_0x1b5709(_0x4fcd40,_0x4d2616);case _0x1a4033(0x134):return _0x1fbb09(_0x4fcd40,_0x4d2616);case _0x1a4033(0x111):return _0x1ee85c(_0x4fcd40,_0x4d2616);}}function _0x5e152d(_0x2564a7,_0x1f28ca){const _0x243110=_0x23674c;return[..._0x2564a7[_0x243110(0x11b)](_0x3d2c00=>_0x3d2c00['unitId']!==_0x1f28ca[_0x243110(0x1a4)]||_0x3d2c00[_0x243110(0x135)]!==_0x1f28ca['subUnitId']||_0x3d2c00['axis']!==_0x1f28ca['axis']),..._0x1f28ca[_0x243110(0x12a)]];}let _0x23aa33=_0x23674c(0x178);var _0x517a63=_0x23674c(0x1d1),_0xbd8028=_0x23674c(0x16b);function _0x3c1481(_0x1a1463,_0x1a4a81){return function(_0x3e06d9,_0x14de0b){_0x1a4a81(_0x3e06d9,_0x14de0b,_0x1a1463);};}function _0x2a1b03(_0x4e611c,_0x359656,_0x26bac0,_0x57242f){const _0x34a08f=_0x23674c;var _0x6cb0bb=arguments['length'],_0x18ee1d=_0x6cb0bb<0x3?_0x359656:_0x57242f===null?_0x57242f=Object['getOwnPropertyDescriptor'](_0x359656,_0x26bac0):_0x57242f,_0x3ff240;if(typeof Reflect==_0x34a08f(0x1b7)&&typeof Reflect[_0x34a08f(0x15a)]==_0x34a08f(0x193))_0x18ee1d=Reflect[_0x34a08f(0x15a)](_0x4e611c,_0x359656,_0x26bac0,_0x57242f);else{for(var _0xd21e3d=_0x4e611c[_0x34a08f(0x159)]-0x1;_0xd21e3d>=0x0;_0xd21e3d--)(_0x3ff240=_0x4e611c[_0xd21e3d])&&(_0x18ee1d=(_0x6cb0bb<0x3?_0x3ff240(_0x18ee1d):_0x6cb0bb>0x3?_0x3ff240(_0x359656,_0x26bac0,_0x18ee1d):_0x3ff240(_0x359656,_0x26bac0))||_0x18ee1d);}return _0x6cb0bb>0x3&&_0x18ee1d&&Object[_0x34a08f(0x171)](_0x359656,_0x26bac0,_0x18ee1d),_0x18ee1d;}let _0x2e7b69={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x582ed5=class extends _0x21068f['Disposable']{constructor(_0x41fece,_0x465416,_0x10a2e5,_0x3d79dc){const _0xb8c1ad=_0x23674c;super(),this[_0xb8c1ad(0x105)]=_0x41fece,this['_sheetInterceptorService']=_0x465416,this[_0xb8c1ad(0x127)]=_0x10a2e5,this[_0xb8c1ad(0x129)]=_0x3d79dc,this[_0xb8c1ad(0x16d)]();}[_0x23674c(0x16d)](){const _0x4fa619=_0x23674c;this[_0x4fa619(0x185)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x58281d=>_0x34e2be(_0x58281d,(_0xf5b0a3,_0x14690c)=>this[_0x4fa619(0x127)][_0x4fa619(0x17e)](_0xf5b0a3,_0x14690c),this[_0x4fa619(0x192)](_0x58281d[_0x4fa619(0x18a)]),_0x2b7091=>this[_0x4fa619(0x129)][_0x4fa619(0x196)](_0x2b7091))}));}['_getCommandScope'](_0x3f344a){const _0x34ad32=_0x23674c;let _0x554d11=_0x3f344a,_0x1a42de=_0x554d11!=null&&_0x554d11[_0x34ad32(0x1a4)]?this[_0x34ad32(0x105)][_0x34ad32(0x14d)](_0x554d11[_0x34ad32(0x1a4)]):this[_0x34ad32(0x105)][_0x34ad32(0x12d)](_0x21068f[_0x34ad32(0x164)][_0x34ad32(0x11e)]);if(!_0x1a42de)return;let _0x49afb2=_0x554d11!=null&&_0x554d11[_0x34ad32(0x135)]?_0x1a42de[_0x34ad32(0x1d2)](_0x554d11['subUnitId']):_0x1a42de[_0x34ad32(0x1ca)]();if(_0x49afb2)return{'unitId':_0x1a42de[_0x34ad32(0x150)](),'subUnitId':_0x49afb2['getSheetId']()};}};_0x582ed5=_0x2a1b03([_0x3c1481(0x0,_0x21068f[_0x23674c(0x177)]),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x2bfd53['SheetInterceptorService'])),_0x3c1481(0x2,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49091a)),_0x3c1481(0x3,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49da03))],_0x582ed5);function _0x34e2be(_0x1eefc,_0x45decd,_0x159f6e,_0x1f27e6){const _0x950f1b=_0x23674c;let _0x48311d=_0x556b23(_0x1eefc,_0x159f6e);if(!_0x48311d)return _0x2e8a31();let _0x156301=_0x45decd(_0x48311d[_0x950f1b(0x1a4)],_0x48311d[_0x950f1b(0x135)]);if(!_0x156301[_0x950f1b(0x1cf)](_0x49af37=>_0x49af37['axis']===_0x48311d[_0x950f1b(0x14b)]))return _0x2e8a31();_0x59bf6c(_0x156301,_0x48311d,_0x1eefc['id'],_0x1f27e6);let _0x40ee24=_0x4136b8(_0x48311d,_0x156301);return{'redos':[{'id':_0x26e7f8['id'],'params':_0x48311d}],'undos':[{'id':_0x26e7f8['id'],'params':_0x40ee24}],'preRedos':[],'preUndos':[]};}function _0x59bf6c(_0x2af0b2,_0x588be2,_0x5bdf77,_0x171305){const _0x452f5d=_0x23674c;try{switch(_0x588be2[_0x452f5d(0x1c4)]){case _0x452f5d(0x1b8):_0x1b5709(_0x2af0b2,_0x588be2);break;case _0x452f5d(0x134):_0x1fbb09(_0x2af0b2,_0x588be2);break;case'move':_0x1ee85c(_0x2af0b2,_0x588be2);break;}}catch(_0x544d25){throw _0x171305==null||_0x171305({'reason':_0x18a936(_0x544d25),'commandId':_0x5bdf77,'unitId':_0x588be2['unitId'],'subUnitId':_0x588be2[_0x452f5d(0x135)],'axis':_0x588be2[_0x452f5d(0x14b)],'outlineId':_0x47f2b6(_0x544d25)}),new _0x21068f[(_0x452f5d(0x176))](_0x544d25 instanceof Error?_0x544d25[_0x452f5d(0x1be)]:_0x452f5d(0x118));}}function _0x556b23(_0x4c368c,_0x217f23){const _0x3871f2=_0x23674c;switch(_0x4c368c['id']){case _0x2bfd53[_0x3871f2(0x12b)]['id']:return _0x4ebe2f(_0x4c368c[_0x3871f2(0x18a)],'row',_0x217f23);case _0x2bfd53[_0x3871f2(0x182)]['id']:return _0x4ebe2f(_0x4c368c['params'],_0x3871f2(0x100),_0x217f23);case _0x2bfd53[_0x3871f2(0x1c1)]['id']:return _0x4dcc78(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x13e),_0x217f23);case _0x2bfd53[_0x3871f2(0x165)]['id']:return _0x4dcc78(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x100),_0x217f23);case _0x2bfd53[_0x3871f2(0x1d8)]['id']:return _0x2600f2(_0x4c368c['params'],'row',_0x217f23);case _0x2bfd53[_0x3871f2(0x102)]['id']:return _0x2600f2(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x100),_0x217f23);default:return null;}}function _0x4ebe2f(_0x36d1bc,_0x35f0f3,_0x95bc4a){const _0x459ba0=_0x23674c;let _0x240280=_0x20cb45(_0x36d1bc,_0x95bc4a);if(!(_0x36d1bc!=null&&_0x36d1bc[_0x459ba0(0x1a3)])||!_0x240280)return null;let _0x37577b=_0x35f0f3==='row'?_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x169)]:_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x110)],_0x9a2d33=_0x35f0f3==='row'?_0x36d1bc[_0x459ba0(0x1a3)]['endRow']:_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x1cd)];return{..._0x240280,'axis':_0x35f0f3,'type':_0x459ba0(0x1b8),'index':_0x37577b,'count':_0x9a2d33-_0x37577b+0x1};}function _0x4dcc78(_0x55476e,_0x3b291a,_0x5eb10e){const _0x50a926=_0x23674c;let _0x1c148d=_0x20cb45(_0x55476e,_0x5eb10e);if(!(_0x55476e!=null&&_0x55476e['range'])||!_0x1c148d)return null;let _0x17764e=_0x3b291a===_0x50a926(0x13e)?_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x169)]:_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x110)],_0x116b3d=_0x3b291a===_0x50a926(0x13e)?_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x19b)]:_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x1cd)];return{..._0x1c148d,'axis':_0x3b291a,'type':_0x50a926(0x134),'start':_0x17764e,'end':_0x116b3d};}function _0x2600f2(_0x44824b,_0x28c86a,_0x1d0f89){const _0x42f131=_0x23674c;let _0x3ae2d5=_0x20cb45(_0x44824b,_0x1d0f89);if(!(_0x44824b!=null&&_0x44824b['fromRange'])||!_0x44824b[_0x42f131(0x197)]||!_0x3ae2d5)return null;let _0x4c08f3=_0x28c86a===_0x42f131(0x13e)?_0x44824b[_0x42f131(0x13f)][_0x42f131(0x169)]:_0x44824b[_0x42f131(0x13f)][_0x42f131(0x110)],_0x4fdc93=_0x28c86a===_0x42f131(0x13e)?_0x44824b[_0x42f131(0x13f)][_0x42f131(0x19b)]:_0x44824b[_0x42f131(0x13f)]['endColumn'],_0x363a8a=_0x28c86a==='row'?_0x44824b['toRange'][_0x42f131(0x169)]:_0x44824b[_0x42f131(0x197)][_0x42f131(0x110)];return{..._0x3ae2d5,'axis':_0x28c86a,'type':_0x42f131(0x111),'sourceStart':_0x4c08f3,'sourceEnd':_0x4fdc93,'destinationIndex':_0x363a8a};}function _0x4136b8(_0x3338ff,_0x2fde95){const _0x44e1c7=_0x23674c;switch(_0x3338ff[_0x44e1c7(0x1c4)]){case _0x44e1c7(0x1b8):return{'unitId':_0x3338ff[_0x44e1c7(0x1a4)],'subUnitId':_0x3338ff[_0x44e1c7(0x135)],'axis':_0x3338ff[_0x44e1c7(0x14b)],'type':_0x44e1c7(0x134),'start':_0x3338ff[_0x44e1c7(0x153)],'end':_0x3338ff[_0x44e1c7(0x153)]+_0x3338ff[_0x44e1c7(0x141)]-0x1};case'delete':return{'unitId':_0x3338ff['unitId'],'subUnitId':_0x3338ff[_0x44e1c7(0x135)],'axis':_0x3338ff[_0x44e1c7(0x14b)],'type':_0x44e1c7(0x1b8),'index':_0x3338ff['start'],'count':_0x3338ff[_0x44e1c7(0x170)]-_0x3338ff['start']+0x1,'restoreOutlines':_0x2fde95[_0x44e1c7(0x11b)](_0x2753f0=>_0x2753f0[_0x44e1c7(0x1a4)]===_0x3338ff[_0x44e1c7(0x1a4)]&&_0x2753f0[_0x44e1c7(0x135)]===_0x3338ff[_0x44e1c7(0x135)]&&_0x2753f0[_0x44e1c7(0x14b)]===_0x3338ff['axis'])};case _0x44e1c7(0x111):return _0x5b0603(_0x3338ff);}}function _0x5b0603(_0x478acb){const _0x263f56=_0x23674c;let _0x3c9ca6=_0x478acb[_0x263f56(0x123)]-_0x478acb[_0x263f56(0x189)]+0x1;return _0x478acb[_0x263f56(0x1a5)]>=_0x478acb[_0x263f56(0x189)]&&_0x478acb[_0x263f56(0x1a5)]<=_0x478acb[_0x263f56(0x123)]+0x1?{..._0x478acb}:_0x478acb[_0x263f56(0x1a5)]>_0x478acb[_0x263f56(0x123)]+0x1?{..._0x478acb,'sourceStart':_0x478acb['destinationIndex']-_0x3c9ca6,'sourceEnd':_0x478acb['destinationIndex']-0x1,'destinationIndex':_0x478acb['sourceStart']}:{..._0x478acb,'sourceStart':_0x478acb[_0x263f56(0x1a5)],'sourceEnd':_0x478acb[_0x263f56(0x1a5)]+_0x3c9ca6-0x1,'destinationIndex':_0x478acb['sourceEnd']+0x1};}function _0x20cb45(_0x27b0cd,_0x365757){const _0x1e89c4=_0x23674c;var _0x2a947f,_0x49e0f6;let _0x17dee0=(_0x2a947f=_0x27b0cd==null?void 0x0:_0x27b0cd[_0x1e89c4(0x1a4)])==null?_0x365757==null?void 0x0:_0x365757[_0x1e89c4(0x1a4)]:_0x2a947f,_0x5d5c12=(_0x49e0f6=_0x27b0cd==null?void 0x0:_0x27b0cd[_0x1e89c4(0x135)])==null?_0x365757==null?void 0x0:_0x365757['subUnitId']:_0x49e0f6;return _0x17dee0&&_0x5d5c12?{'unitId':_0x17dee0,'subUnitId':_0x5d5c12}:null;}function _0x2e8a31(){const _0x3ed3ee=_0x23674c;var _0x2080b0,_0x13d043;return{'redos':[..._0x2e7b69[_0x3ed3ee(0x1ad)]],'undos':[..._0x2e7b69['undos']],'preRedos':[...(_0x2080b0=_0x2e7b69[_0x3ed3ee(0x180)])==null?[]:_0x2080b0],'preUndos':[...(_0x13d043=_0x2e7b69[_0x3ed3ee(0x1d4)])==null?[]:_0x13d043]};}let _0x21cae2=class extends _0x21068f[_0x23674c(0x152)]{constructor(_0x39ee32,_0xb60cde){const _0x598fb1=_0x23674c;super(),this[_0x598fb1(0x1d5)]=_0x39ee32,this[_0x598fb1(0x127)]=_0xb60cde,this[_0x598fb1(0x1c3)]();}[_0x23674c(0x1c3)](){const _0x1aea1e=_0x23674c;this[_0x1aea1e(0x185)](this['_resourceManagerService'][_0x1aea1e(0x1bb)]({'pluginName':_0x23aa33,'businesses':[_0x21068f['UniverInstanceType']['UNIVER_SHEET']],'toJson':_0x26af82=>JSON['stringify'](this['_sheetsOutlineModel'][_0x1aea1e(0x15c)](_0x26af82)),'parseJson':_0x45e83b=>JSON[_0x1aea1e(0x13d)](_0x45e83b),'onLoad':(_0x1cc19f,_0x100efb)=>this[_0x1aea1e(0x127)][_0x1aea1e(0x131)](_0x1cc19f,_0x100efb),'onUnLoad':_0x1c1430=>this[_0x1aea1e(0x127)][_0x1aea1e(0x1d0)](_0x1c1430)}));}};_0x21cae2=_0x2a1b03([_0x3c1481(0x0,_0x21068f['IResourceManagerService']),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49091a))],_0x21cae2);let _0x217e3d=class extends _0x21068f[_0x23674c(0x104)]{constructor(_0x37a492,_0xca060c,_0x1bedce){const _0x35ce72=_0x23674c;super(),this[_0x35ce72(0x17d)]=_0x37a492,this[_0x35ce72(0x13c)]=_0xca060c,this[_0x35ce72(0x142)]=_0x1bedce;}['onStarting'](){const _0x274866=_0x23674c;this[_0x274866(0x13c)][_0x274866(0x187)]([_0x49091a]),this[_0x274866(0x13c)]['add']([_0x49da03]),this[_0x274866(0x13c)][_0x274866(0x187)]([_0x21cae2]),this['_injector'][_0x274866(0x187)]([_0x582ed5]),this[_0x274866(0x1ba)](),this[_0x274866(0x13c)][_0x274866(0x15f)](_0x49091a),this['_injector']['get'](_0x49da03),this[_0x274866(0x13c)][_0x274866(0x15f)](_0x21cae2),this[_0x274866(0x13c)]['get'](_0x582ed5);}[_0x23674c(0x1ba)](){const _0x394772=_0x23674c;[_0x3f79f1,_0x1a186a,_0x148ab7,_0xc8aaea][_0x394772(0x12f)](_0x2c8589=>{const _0x4da4bf=_0x394772;this['disposeWithMe'](this[_0x4da4bf(0x142)][_0x4da4bf(0x14c)](_0x2c8589));}),[_0x1b690c,_0x22c9c1,_0xf08c60,_0xb594a2,_0x26e7f8]['forEach'](_0x1a612a=>{const _0x1e0e37=_0x394772;this[_0x1e0e37(0x185)](this['_commandService']['registerCommand'](_0x1a612a));});}};_0x466529(_0x217e3d,'pluginName',_0x23aa33),_0x466529(_0x217e3d,_0x23674c(0x155),_0x517a63),_0x466529(_0x217e3d,_0x23674c(0x163),_0xbd8028),_0x466529(_0x217e3d,_0x23674c(0x1c4),_0x21068f['UniverInstanceType'][_0x23674c(0x11e)]),_0x217e3d=_0x2a1b03([(0x0,_0x21068f[_0x23674c(0x1b5)])(_0x16b8d6[_0x23674c(0x1bf)]),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x21068f['Injector'])),_0x3c1481(0x2,_0x21068f[_0x23674c(0x15d)])],_0x217e3d),_0x3ae72b[_0x23674c(0x194)]=_0x3f79f1,_0x3ae72b[_0x23674c(0x1dc)]=_0x1b690c,_0x3ae72b[_0x23674c(0x1d6)]=_0xc8aaea,_0x3ae72b[_0x23674c(0x145)]=_0xb594a2,_0x3ae72b[_0x23674c(0x13b)]=_0x4a389e,_0x3ae72b[_0x23674c(0x17b)]=_0x25cb4b,_0x3ae72b[_0x23674c(0x188)]=_0x5aec2f,_0x3ae72b['RemoveDimensionOutlineCommand']=_0x1a186a,_0x3ae72b['RemoveDimensionOutlineMutation']=_0x22c9c1,_0x3ae72b['SHEETS_OUTLINE_PLUGIN_CONFIG_KEY']=_0x23674c(0x1a0),_0x3ae72b[_0x23674c(0x178)]=_0x23aa33,_0x3ae72b['SetDimensionOutlineCollapsedCommand']=_0x148ab7,_0x3ae72b[_0x23674c(0x103)]=_0xf08c60,_0x3ae72b[_0x23674c(0x1a1)]=_0x49da03,_0x3ae72b[_0x23674c(0x175)]=_0x49091a,_0x3ae72b['TransformDimensionOutlinesMutation']=_0x26e7f8,Object[_0x23674c(0x171)](_0x3ae72b,'UniverSheetsOutlinePlugin',{'enumerable':!0x0,'get':function(){return _0x217e3d;}}),_0x3ae72b['addDimensionOutlineToList']=_0x40f6ac,_0x3ae72b['buildDimensionOutlineTree']=_0x34acea,_0x3ae72b['buildHiddenRanges']=_0x3ee710,_0x3ae72b[_0x23674c(0x121)]=_0x990e3,_0x3ae72b[_0x23674c(0x119)]=_0x44702e,_0x3ae72b['getDimensionOutlineErrorOutlineId']=_0x47f2b6,_0x3ae72b[_0x23674c(0x14a)]=_0x18a936,_0x3ae72b[_0x23674c(0x16e)]=_0x25b6ae,_0x3ae72b[_0x23674c(0x156)]=_0x514a9b,_0x3ae72b['mergeRanges']=_0x171983,_0x3ae72b[_0x23674c(0x1ab)]=_0x1fbb09,_0x3ae72b[_0x23674c(0x128)]=_0x1b5709,_0x3ae72b[_0x23674c(0x1c2)]=_0x1ee85c;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-outline",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "private": false,
5
5
  "description": "Dimension outline model integration for Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,15 +61,15 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "0.24.0",
65
- "@univerjs/core": "0.24.0",
66
- "@univerjs/sheets": "0.24.0"
64
+ "@univerjs-pro/license": "0.25.0",
65
+ "@univerjs/core": "0.25.0",
66
+ "@univerjs/sheets": "0.25.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "rxjs": "7.8.2",
70
70
  "typescript": "^6.0.3",
71
71
  "vitest": "^4.1.6",
72
- "@univerjs-infra/shared": "0.24.0"
72
+ "@univerjs-infra/shared": "0.25.0"
73
73
  },
74
74
  "scripts": {
75
75
  "test": "vitest run",