@univerjs-pro/sheets-outline 1.0.0-alpha.2 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2205(_0x5f427a,_0x4b7e0f){_0x5f427a=_0x5f427a-0x6d;const _0x1ba4e1=_0x1ba4();let _0x2205b4=_0x1ba4e1[_0x5f427a];return _0x2205b4;}(function(_0x11c83b,_0x3e0112){const _0x3ff998=_0x2205,_0x556f14=_0x11c83b();while(!![]){try{const _0x293bcd=-parseInt(_0x3ff998(0xbb))/0x1+parseInt(_0x3ff998(0xca))/0x2+-parseInt(_0x3ff998(0xc8))/0x3*(parseInt(_0x3ff998(0x8b))/0x4)+-parseInt(_0x3ff998(0x13a))/0x5*(-parseInt(_0x3ff998(0x123))/0x6)+parseInt(_0x3ff998(0xbe))/0x7+-parseInt(_0x3ff998(0xa2))/0x8*(parseInt(_0x3ff998(0x114))/0x9)+parseInt(_0x3ff998(0x10a))/0xa;if(_0x293bcd===_0x3e0112)break;else _0x556f14['push'](_0x556f14['shift']());}catch(_0x4d6c17){_0x556f14['push'](_0x556f14['shift']());}}}(_0x1ba4,0x85df4),function(_0x51ca44,_0x11c4ba){const _0x3cfe8f=_0x2205;typeof exports=='object'&&typeof module<'u'?_0x11c4ba(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x3cfe8f(0x73)&&define[_0x3cfe8f(0x101)]?define([_0x3cfe8f(0x14d),'@univerjs/core',_0x3cfe8f(0xd3),'rxjs',_0x3cfe8f(0x7d),_0x3cfe8f(0x77)],_0x11c4ba):(_0x51ca44=typeof globalThis<'u'?globalThis:_0x51ca44||self,_0x11c4ba(_0x51ca44[_0x3cfe8f(0xae)]={},_0x51ca44[_0x3cfe8f(0xc3)],_0x51ca44[_0x3cfe8f(0x156)],_0x51ca44['rxjs'],_0x51ca44[_0x3cfe8f(0xe6)][_0x3cfe8f(0x11a)],_0x51ca44['UniverProLicense']));}(this,function(_0x493428,_0x2ab1bf,_0x546899,_0x40aa69,_0x4d65da,_0x5569bc){const _0x5620be=_0x2205;Object[_0x5620be(0x104)](_0x493428,Symbol[_0x5620be(0xcc)],{'value':_0x5620be(0x75)});let _0x1c8aac=function(_0x39435f){const _0x25eba9=_0x5620be;return _0x39435f['ROW']=_0x25eba9(0xe4),_0x39435f[_0x25eba9(0x8c)]='column',_0x39435f;}({}),_0x2aa457=function(_0xe7fafc){const _0x36664d=_0x5620be;return _0xe7fafc[_0x36664d(0xa7)]=_0x36664d(0x12a),_0xe7fafc[_0x36664d(0xd2)]=_0x36664d(0x130),_0xe7fafc['CROSSING']='crossing',_0xe7fafc['MAX_DEPTH']=_0x36664d(0xd9),_0xe7fafc['MOVE_SPLITS_OUTLINE']='move-splits-outline',_0xe7fafc[_0x36664d(0xe8)]='clear-range-not-contain-outline',_0xe7fafc['UNKNOWN']=_0x36664d(0x85),_0xe7fafc;}({});var _0x235131=class extends Error{constructor(_0x5da6f8,_0x28a3e0,_0x49fa3b){const _0x340760=_0x5620be;super(_0x28a3e0),this[_0x340760(0x14f)]=_0x5da6f8,this[_0x340760(0x117)]=_0x49fa3b,this[_0x340760(0x80)]=_0x340760(0x132);}};function _0x550ff3(_0x305c91){const _0x38015d=_0x5620be;return _0x305c91 instanceof _0x235131?_0x305c91['reason']:_0x305c91 instanceof Error?_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)]('split\x20dimension\x20outline')?_0x38015d(0x10c):_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0xdd))?'max-depth':_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0x9b))?_0x38015d(0xb4):_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0x145))?'invalid-range':_0x38015d(0x85):_0x38015d(0x85);}function _0x5bf7e4(_0x4c3ed2){const _0xd98fab=_0x5620be;return _0x4c3ed2 instanceof _0x235131?_0x4c3ed2[_0xd98fab(0x117)]:void 0x0;}let _0x169e7c=0x2**0x35-0x1;function _0x23fa8a(_0x96d9c1,_0x304420){const _0x3c344a=_0x5620be;return _0x96d9c1['unitId']===_0x304420[_0x3c344a(0xed)]&&_0x96d9c1[_0x3c344a(0x10e)]===_0x304420['subUnitId']&&_0x96d9c1['axis']===_0x304420[_0x3c344a(0x91)];}function _0x3c998f(_0xfcb607,_0x53bf74={}){const _0x2a4d9f=_0x5620be;var _0x57df38;let _0x322614=(_0x57df38=_0x53bf74['maxDepth'])==null?0x8:_0x57df38,_0x108128=new Map();for(let _0x18820a of _0xfcb607){let _0x6bdc69=_0x18820a[_0x2a4d9f(0xed)]+':'+_0x18820a['subUnitId']+':'+_0x18820a['axis'],_0x517878=_0x108128['get'](_0x6bdc69);_0x517878?_0x517878['push'](_0x18820a):_0x108128[_0x2a4d9f(0x142)](_0x6bdc69,[_0x18820a]);}let _0x202f42=[];for(let _0x5b5901 of _0x108128[_0x2a4d9f(0xcb)]()){let _0x59243a=[..._0x5b5901][_0x2a4d9f(0x13b)](_0x36481e),_0x490513=[];for(let _0x3fb4ec of _0x59243a){for(_0x4a8824(_0x3fb4ec);_0x490513['length']>0x0&&_0x3fb4ec[_0x2a4d9f(0x89)]>_0x490513[_0x490513[_0x2a4d9f(0x149)]-0x1]['end'];)_0x490513[_0x2a4d9f(0xa0)]();let _0x46af6d=_0x490513[_0x490513[_0x2a4d9f(0x149)]-0x1];if(_0x46af6d&&_0x3fb4ec[_0x2a4d9f(0xf1)]>_0x46af6d['end'])throw new _0x235131(_0x2a4d9f(0xb4),_0x2a4d9f(0xe9),_0x3fb4ec['id']);let _0x56d2fc=_0x46af6d?_0x46af6d[_0x2a4d9f(0xdd)]+0x1:0x1;if(_0x56d2fc>_0x322614)throw new _0x235131(_0x2a4d9f(0xd9),_0x2a4d9f(0x12b)+_0x322614,_0x3fb4ec['id']);let _0x50b9be={..._0x3fb4ec,'depth':_0x56d2fc,'parentId':_0x46af6d==null?void 0x0:_0x46af6d['id'],'anchor':_0x3fb4ec[_0x2a4d9f(0xf1)],'children':[]};_0x46af6d?_0x46af6d[_0x2a4d9f(0xf5)]['push'](_0x50b9be):_0x202f42[_0x2a4d9f(0x11e)](_0x50b9be),_0x490513[_0x2a4d9f(0x11e)](_0x50b9be);}}return _0x202f42;}function _0x152898(_0x4e8838,_0x22b59b,_0x555f3e={}){const _0x2e0165=_0x5620be;if(_0x22b59b[_0x2e0165(0x89)]<0x0||_0x22b59b[_0x2e0165(0x89)]>_0x22b59b[_0x2e0165(0xf1)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x555f3e[_0x2e0165(0xf2)]!=null&&_0x22b59b['end']>=_0x555f3e[_0x2e0165(0xf2)])return{'valid':!0x1,'reason':_0x2e0165(0x130)};let _0x1d34e7=_0x4e8838[_0x2e0165(0xa5)](_0x3f320a=>_0x23fa8a(_0x3f320a,_0x22b59b));for(let _0x5bd014 of _0x1d34e7)if(_0x223081(_0x5bd014,_0x22b59b))return{'valid':!0x1,'reason':_0x2e0165(0xb4)};try{_0x3c998f([..._0x4e8838,_0x22b59b],_0x555f3e);}catch(_0x4ba2d3){let _0x16f1bc=_0x550ff3(_0x4ba2d3);return _0x16f1bc===_0x2e0165(0xd9)?{'valid':!0x1,'reason':_0x2e0165(0xd9)}:_0x16f1bc===_0x2e0165(0x12a)?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':'crossing'};}return{'valid':!0x0};}function _0x4a264e(_0xcd7062,_0x59aca3,_0x38143f={}){const _0x1bce13=_0x5620be;let _0x943dc4=_0x152898(_0xcd7062,_0x59aca3,_0x38143f);if(!_0x943dc4[_0x1bce13(0x72)]){var _0x2d094b;throw Error((_0x2d094b=_0x943dc4[_0x1bce13(0x14f)])==null?_0x1bce13(0xba):_0x2d094b);}return[..._0xcd7062,_0x59aca3];}function _0x5c59cd(_0xcbd349,_0x2fdd25){const _0x21a482=_0x5620be;let _0x33f6a0=_0x2fdd25[_0x21a482(0x89)],_0xe42a8c=_0x2fdd25[_0x21a482(0xf1)],_0x46aa75=[],_0x2a6655=!0x0;for(;_0x2a6655;){_0x2a6655=!0x1;for(let _0x51f5be of _0xcbd349)_0x46aa75[_0x21a482(0xd7)](_0x51f5be)||!_0x23fa8a(_0x51f5be,_0x2fdd25)||!_0x1ee006(_0x51f5be[_0x21a482(0x89)],_0x51f5be[_0x21a482(0xf1)],_0x33f6a0,_0xe42a8c)||(_0x46aa75[_0x21a482(0x11e)](_0x51f5be),_0x33f6a0=Math[_0x21a482(0x128)](_0x33f6a0,_0x51f5be[_0x21a482(0x89)]),_0xe42a8c=Math[_0x21a482(0xc2)](_0xe42a8c,_0x51f5be[_0x21a482(0xf1)]),_0x2a6655=!0x0);}if(_0x46aa75[_0x21a482(0x149)]===0x0)return null;let [_0x33eaeb]=[..._0x46aa75][_0x21a482(0x13b)](_0x36481e);return{'mergedOutline':{..._0x33eaeb,'start':_0x33f6a0,'end':_0xe42a8c},'mergedOutlines':_0x46aa75};}function _0x32b5d4(_0x30e08d,_0x1962b9){const _0x326a9e=_0x5620be;return _0x30e08d[_0x326a9e(0xa5)](_0xb21e27=>_0x23fa8a(_0xb21e27,_0x1962b9)?!(_0xb21e27[_0x326a9e(0x89)]>=_0x1962b9['start']&&_0xb21e27[_0x326a9e(0xf1)]<=_0x1962b9[_0x326a9e(0xf1)]):!0x0);}function _0x681375(_0x155e85,_0x3358e0,_0x319cf4,_0x376614){const _0x1e652f=_0x5620be;return _0x1e24d7(_0x155e85[_0x1e652f(0xa5)](_0x19e540=>_0x19e540[_0x1e652f(0xed)]===_0x3358e0&&_0x19e540[_0x1e652f(0x10e)]===_0x319cf4&&_0x19e540[_0x1e652f(0x91)]===_0x376614&&_0x19e540['collapsed'])[_0x1e652f(0x113)](_0x3b2de9=>({'start':_0x3b2de9['start'],'end':_0x3b2de9[_0x1e652f(0xf1)]})));}function _0x1e24d7(_0x5f5a22){const _0x4bb933=_0x5620be;if(_0x5f5a22['length']===0x0)return[];let _0xa602db=[..._0x5f5a22][_0x4bb933(0x13b)]((_0xf09fff,_0x4d96ef)=>_0xf09fff[_0x4bb933(0x89)]-_0x4d96ef[_0x4bb933(0x89)]||_0xf09fff[_0x4bb933(0xf1)]-_0x4d96ef[_0x4bb933(0xf1)]),_0x55e322=[];for(let _0x14139a of _0xa602db){let _0x51e887=_0x55e322[_0x55e322[_0x4bb933(0x149)]-0x1];!_0x51e887||_0x14139a[_0x4bb933(0x89)]>_0x51e887[_0x4bb933(0xf1)]+0x1?_0x55e322[_0x4bb933(0x11e)]({..._0x14139a}):_0x51e887['end']=Math[_0x4bb933(0xc2)](_0x51e887[_0x4bb933(0xf1)],_0x14139a[_0x4bb933(0xf1)]);}return _0x55e322;}function _0x55ed44(_0x3e1712,_0x1d6d6e){const _0x53bb9b=_0x5620be;return _0x1d6d6e[_0x53bb9b(0xb3)]<=0x0?_0x3e1712:_0x503d84(_0x3e1712['map'](_0x38eee5=>_0x23fa8a(_0x38eee5,_0x1d6d6e)?_0x1d6d6e['index']<=_0x38eee5[_0x53bb9b(0x89)]?{..._0x38eee5,'start':_0x38eee5[_0x53bb9b(0x89)]+_0x1d6d6e['count'],'end':_0x38eee5[_0x53bb9b(0xf1)]+_0x1d6d6e[_0x53bb9b(0xb3)]}:_0x38eee5['start']<_0x1d6d6e[_0x53bb9b(0xd0)]&&_0x1d6d6e[_0x53bb9b(0xd0)]<=_0x38eee5[_0x53bb9b(0xf1)]?{..._0x38eee5,'end':_0x38eee5['end']+_0x1d6d6e[_0x53bb9b(0xb3)]}:_0x38eee5:_0x38eee5));}function _0x2a321c(_0x52ef81,_0x4598b7){const _0x1e4dce=_0x5620be;if(_0x4598b7[_0x1e4dce(0x89)]>_0x4598b7[_0x1e4dce(0xf1)])return _0x52ef81;let _0xe26210=_0x4598b7[_0x1e4dce(0xf1)]-_0x4598b7[_0x1e4dce(0x89)]+0x1,_0x543d8a=[];for(let _0x54c2b7 of _0x52ef81){if(!_0x23fa8a(_0x54c2b7,_0x4598b7)){_0x543d8a[_0x1e4dce(0x11e)](_0x54c2b7);continue;}if(_0x54c2b7[_0x1e4dce(0xf1)]<_0x4598b7[_0x1e4dce(0x89)]){_0x543d8a[_0x1e4dce(0x11e)](_0x54c2b7);continue;}if(_0x54c2b7[_0x1e4dce(0x89)]>_0x4598b7[_0x1e4dce(0xf1)]){_0x543d8a[_0x1e4dce(0x11e)]({..._0x54c2b7,'start':_0x54c2b7[_0x1e4dce(0x89)]-_0xe26210,'end':_0x54c2b7[_0x1e4dce(0xf1)]-_0xe26210});continue;}let _0x49a6d0=Math['max'](_0x54c2b7[_0x1e4dce(0x89)],_0x4598b7[_0x1e4dce(0x89)]),_0x102e8c=Math['min'](_0x54c2b7[_0x1e4dce(0xf1)],_0x4598b7['end']),_0x2886c0=Math[_0x1e4dce(0xc2)](0x0,_0x102e8c-_0x49a6d0+0x1),_0x103ea7=_0x54c2b7[_0x1e4dce(0xf1)]-_0x54c2b7[_0x1e4dce(0x89)]+0x1-_0x2886c0;if(_0x103ea7<=0x0)continue;let _0x2ad1e7=_0x54c2b7[_0x1e4dce(0x89)]<_0x4598b7[_0x1e4dce(0x89)]?_0x54c2b7['start']:_0x4598b7[_0x1e4dce(0x89)];_0x543d8a[_0x1e4dce(0x11e)]({..._0x54c2b7,'start':_0x2ad1e7,'end':_0x2ad1e7+_0x103ea7-0x1});}return _0x503d84(_0x543d8a);}function _0x48e7c8(_0x1c05cf,_0x5775af){const _0x10846d=_0x5620be;if(_0x5775af['sourceStart']>_0x5775af[_0x10846d(0x105)])return _0x1c05cf;let _0x2c2622=[];for(let _0xecad8d of _0x1c05cf){if(!_0x23fa8a(_0xecad8d,_0x5775af)){_0x2c2622[_0x10846d(0x11e)](_0xecad8d);continue;}let _0xa58795=_0x3b198d(_0xecad8d,_0x5775af);if(_0xa58795[_0x10846d(0x11c)]==='split')throw new _0x235131(_0x10846d(0x10c),_0x10846d(0xf8)+_0xecad8d['id'],_0xecad8d['id']);_0x2c2622[_0x10846d(0x11e)](_0xa58795[_0x10846d(0xa6)]);}return _0x503d84(_0x2c2622);}function _0x3b198d(_0x29ee78,_0x346b7c){const _0x445473=_0x5620be;let _0x2a0300=_0x3bc474(_0x346b7c['sourceStart'],_0x346b7c[_0x445473(0x105)]+0x1,_0x346b7c['destinationIndex']),_0x4a2983=[],_0x1291ff={'start':_0x29ee78['start'],'end':_0x29ee78[_0x445473(0xf1)]+0x1};for(let _0x642d3b of _0x2a0300){let _0x489327=_0x352471(_0x1291ff,_0x642d3b[_0x445473(0x145)]);_0x489327&&_0x4a2983[_0x445473(0x11e)]({'start':_0x489327[_0x445473(0x89)]+_0x642d3b[_0x445473(0x131)],'end':_0x489327[_0x445473(0xf1)]+_0x642d3b[_0x445473(0x131)]});}let _0x2d8aa5=_0x5cf24f(_0x4a2983);return _0x2d8aa5[_0x445473(0x149)]===0x1?{'type':'ok','outline':{..._0x29ee78,'start':_0x2d8aa5[0x0]['start'],'end':_0x2d8aa5[0x0][_0x445473(0xf1)]-0x1}}:{'type':_0x445473(0xaa),'outline':_0x29ee78,'ranges':_0x2d8aa5};}function _0x3bc474(_0x21b2ec,_0x3e0038,_0x43e45b){let _0x17ea5f=_0x3e0038-_0x21b2ec;if(_0x17ea5f<=0x0)throw Error('Invalid\x20dimension\x20outline\x20move\x20source\x20range');return _0x43e45b>=_0x21b2ec&&_0x43e45b<=_0x3e0038?[{'range':{'start':0x0,'end':_0x169e7c},'offset':0x0}]:_0x43e45b<_0x21b2ec?[{'range':{'start':0x0,'end':_0x43e45b},'offset':0x0},{'range':{'start':_0x43e45b,'end':_0x21b2ec},'offset':_0x17ea5f},{'range':{'start':_0x21b2ec,'end':_0x3e0038},'offset':_0x43e45b-_0x21b2ec},{'range':{'start':_0x3e0038,'end':_0x169e7c},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x21b2ec},'offset':0x0},{'range':{'start':_0x21b2ec,'end':_0x3e0038},'offset':_0x43e45b-_0x3e0038},{'range':{'start':_0x3e0038,'end':_0x43e45b},'offset':-_0x17ea5f},{'range':{'start':_0x43e45b,'end':_0x169e7c},'offset':0x0}];}function _0x352471(_0x5611cc,_0x3dfb52){const _0x257fed=_0x5620be;let _0x439d81=Math[_0x257fed(0xc2)](_0x5611cc[_0x257fed(0x89)],_0x3dfb52['start']),_0x6a6ab1=Math[_0x257fed(0x128)](_0x5611cc[_0x257fed(0xf1)],_0x3dfb52[_0x257fed(0xf1)]);return _0x439d81>=_0x6a6ab1?null:{'start':_0x439d81,'end':_0x6a6ab1};}function _0x5cf24f(_0x1f4b09){const _0xc197d2=_0x5620be;if(_0x1f4b09[_0xc197d2(0x149)]===0x0)return[];let _0xe1fa6=[..._0x1f4b09][_0xc197d2(0x13b)]((_0x26c39b,_0x59df29)=>_0x26c39b[_0xc197d2(0x89)]-_0x59df29[_0xc197d2(0x89)]||_0x26c39b['end']-_0x59df29[_0xc197d2(0xf1)]),_0x1a1a6c=[];for(let _0xa8a203 of _0xe1fa6){let _0x1ccc47=_0x1a1a6c[_0x1a1a6c[_0xc197d2(0x149)]-0x1];!_0x1ccc47||_0xa8a203[_0xc197d2(0x89)]>_0x1ccc47[_0xc197d2(0xf1)]?_0x1a1a6c[_0xc197d2(0x11e)]({..._0xa8a203}):_0x1ccc47[_0xc197d2(0xf1)]=Math['max'](_0x1ccc47[_0xc197d2(0xf1)],_0xa8a203['end']);}return _0x1a1a6c;}function _0x1ee006(_0x50887b,_0x450171,_0x33d6aa,_0x59bcca){return _0x450171+0x1===_0x33d6aa||_0x59bcca+0x1===_0x50887b;}function _0x503d84(_0x8122fc){let _0x46f4a2=_0x2bd211(_0x8122fc);return _0x3c998f(_0x46f4a2),_0x46f4a2;}function _0x2bd211(_0x18137d){const _0x256dc7=_0x5620be;let _0x142a9e=new Map();for(let _0x5cfb1f of _0x18137d){let _0x1588bf=[_0x5cfb1f['unitId'],_0x5cfb1f[_0x256dc7(0x10e)],_0x5cfb1f['axis'],_0x5cfb1f['start'],_0x5cfb1f[_0x256dc7(0xf1)]][_0x256dc7(0x12f)](':'),_0x49a632=_0x142a9e['get'](_0x1588bf);if(!_0x49a632){_0x142a9e[_0x256dc7(0x142)](_0x1588bf,_0x5cfb1f);continue;}_0x142a9e[_0x256dc7(0x142)](_0x1588bf,{..._0x49a632,'collapsed':_0x49a632[_0x256dc7(0x107)]||_0x5cfb1f[_0x256dc7(0x107)]});}return Array['from'](_0x142a9e['values']());}function _0x36481e(_0x447d92,_0x1f2d15){const _0x150b9f=_0x5620be;return _0x447d92[_0x150b9f(0xed)]===_0x1f2d15[_0x150b9f(0xed)]?_0x447d92[_0x150b9f(0x10e)]===_0x1f2d15['subUnitId']?_0x447d92[_0x150b9f(0x91)]===_0x1f2d15[_0x150b9f(0x91)]?_0x447d92[_0x150b9f(0x89)]===_0x1f2d15['start']?_0x1f2d15['end']-_0x447d92[_0x150b9f(0xf1)]:_0x447d92[_0x150b9f(0x89)]-_0x1f2d15['start']:_0x447d92[_0x150b9f(0x91)]['localeCompare'](_0x1f2d15[_0x150b9f(0x91)]):_0x447d92[_0x150b9f(0x10e)][_0x150b9f(0x137)](_0x1f2d15[_0x150b9f(0x10e)]):_0x447d92[_0x150b9f(0xed)]['localeCompare'](_0x1f2d15[_0x150b9f(0xed)]);}function _0x4a8824(_0x5ab36d){const _0x31c01a=_0x5620be;if(_0x5ab36d[_0x31c01a(0x89)]>_0x5ab36d[_0x31c01a(0xf1)])throw new _0x235131(_0x31c01a(0x12a),_0x31c01a(0xb8),_0x5ab36d['id']);}function _0x223081(_0x37c41a,_0x1ce17e){const _0xc504fa=_0x5620be;let _0x4b3219=_0x37c41a[_0xc504fa(0x89)]<=_0x1ce17e[_0xc504fa(0xf1)]&&_0x1ce17e[_0xc504fa(0x89)]<=_0x37c41a[_0xc504fa(0xf1)],_0x1d24e8=_0x37c41a[_0xc504fa(0x89)]<=_0x1ce17e['start']&&_0x1ce17e[_0xc504fa(0xf1)]<=_0x37c41a['end'],_0x31f05e=_0x1ce17e['start']<=_0x37c41a[_0xc504fa(0x89)]&&_0x37c41a[_0xc504fa(0xf1)]<=_0x1ce17e[_0xc504fa(0xf1)];return _0x4b3219&&!_0x1d24e8&&!_0x31f05e;}function _0x3737d1(_0x2ba752){'@babel/helpers - typeof';const _0x3c556e=_0x5620be;return _0x3737d1=typeof Symbol==_0x3c556e(0x73)&&typeof Symbol[_0x3c556e(0x71)]==_0x3c556e(0xd6)?function(_0x31a6f0){return typeof _0x31a6f0;}:function(_0x596a69){const _0x5be7fe=_0x3c556e;return _0x596a69&&typeof Symbol==_0x5be7fe(0x73)&&_0x596a69[_0x5be7fe(0x12c)]===Symbol&&_0x596a69!==Symbol[_0x5be7fe(0xbd)]?'symbol':typeof _0x596a69;},_0x3737d1(_0x2ba752);}function _0x18286c(_0x163b7c,_0x404c59){const _0x373701=_0x5620be;if(_0x3737d1(_0x163b7c)!='object'||!_0x163b7c)return _0x163b7c;var _0x58db33=_0x163b7c[Symbol[_0x373701(0xee)]];if(_0x58db33!==void 0x0){var _0x1cd003=_0x58db33[_0x373701(0xb5)](_0x163b7c,_0x404c59||_0x373701(0xdb));if(_0x3737d1(_0x1cd003)!=_0x373701(0xc7))return _0x1cd003;throw TypeError(_0x373701(0xf6));}return(_0x404c59===_0x373701(0x6d)?String:Number)(_0x163b7c);}function _0x370c67(_0x45d9de){const _0xb1445b=_0x5620be;var _0x2319ec=_0x18286c(_0x45d9de,'string');return _0x3737d1(_0x2319ec)==_0xb1445b(0xd6)?_0x2319ec:_0x2319ec+'';}function _0x11b0f0(_0x41585a,_0x21483c,_0x3caf22){const _0x71ab4b=_0x5620be;return(_0x21483c=_0x370c67(_0x21483c))in _0x41585a?Object[_0x71ab4b(0x104)](_0x41585a,_0x21483c,{'value':_0x3caf22,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x41585a[_0x21483c]=_0x3caf22,_0x41585a;}var _0x1b61fb=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(..._0x465e92){const _0x1bd5b1=_0x5620be;super(..._0x465e92),_0x11b0f0(this,_0x1bd5b1(0x11d),new Map()),_0x11b0f0(this,_0x1bd5b1(0x14c),new _0x40aa69['Subject']()),_0x11b0f0(this,_0x1bd5b1(0xe1),this[_0x1bd5b1(0x14c)][_0x1bd5b1(0x139)]());}[_0x5620be(0xd5)](_0x182698,_0x52fa1e){const _0x4477aa=_0x5620be;var _0x7351f6,_0x587572;return[...(_0x7351f6=(_0x587572=this[_0x4477aa(0x11d)][_0x4477aa(0x153)](_0x182698))==null?void 0x0:_0x587572[_0x4477aa(0x153)](_0x52fa1e))==null?[]:_0x7351f6];}[_0x5620be(0x92)](_0x2b27ea){const _0x1693f6=_0x5620be;let _0x1efbcb=this[_0x1693f6(0x11d)]['get'](_0x2b27ea),_0x3dd61a=new Map();return _0x1efbcb==null||_0x1efbcb['forEach']((_0x39fcce,_0x4e936f)=>{const _0x37dbc1=_0x1693f6;_0x3dd61a[_0x37dbc1(0x142)](_0x4e936f,[..._0x39fcce]);}),_0x3dd61a;}['setOutlines'](_0x54f78b,_0x2f3a37,_0x1fbe15){const _0x5eef47=_0x5620be;this[_0x5eef47(0xc6)](_0x54f78b)['set'](_0x2f3a37,[..._0x1fbe15]),this[_0x5eef47(0x14c)]['next']({'unitId':_0x54f78b,'subUnitId':_0x2f3a37});}[_0x5620be(0x93)](_0x1895c6){const _0x56bbb2=_0x5620be;this[_0x56bbb2(0x11d)]['delete'](_0x1895c6),this[_0x56bbb2(0x14c)]['next']({'unitId':_0x1895c6});}[_0x5620be(0x76)](_0x503bd9){const _0x1714dc=_0x5620be;let _0x45c6bd=this[_0x1714dc(0x11d)][_0x1714dc(0x153)](_0x503bd9),_0x530f5e={};return _0x45c6bd==null||_0x45c6bd[_0x1714dc(0xb6)]((_0xf0b855,_0x4f456b)=>{_0x530f5e[_0x4f456b]={'outlineList':[..._0xf0b855]};}),_0x530f5e;}[_0x5620be(0x12e)](_0x228581,_0x2ec111){const _0xa75947=_0x5620be;let _0x18fb5f=new Map();Object['entries'](_0x2ec111)[_0xa75947(0xb6)](([_0x81ccb,_0x193b94])=>{const _0x2e5782=_0xa75947;var _0x4acc59;_0x18fb5f[_0x2e5782(0x142)](_0x81ccb,[...(_0x4acc59=_0x193b94[_0x2e5782(0x82)])==null?[]:_0x4acc59]);}),this['_outlines'][_0xa75947(0x142)](_0x228581,_0x18fb5f),this[_0xa75947(0x14c)][_0xa75947(0xdc)]({'unitId':_0x228581});}['dispose'](){const _0x198db6=_0x5620be;super['dispose'](),this[_0x198db6(0x11d)]['clear'](),this[_0x198db6(0x14c)][_0x198db6(0xda)]();}['_ensureUnitOutlines'](_0x3132b9){const _0x5255d7=_0x5620be;let _0x3f533b=this['_outlines'][_0x5255d7(0x153)](_0x3132b9);return _0x3f533b||(_0x3f533b=new Map(),this[_0x5255d7(0x11d)]['set'](_0x3132b9,_0x3f533b)),_0x3f533b;}},_0x1291f3=class extends _0x2ab1bf['Disposable']{constructor(..._0x2d6e1b){const _0x26a200=_0x5620be;super(..._0x2d6e1b),_0x11b0f0(this,'_error$',new _0x40aa69['Subject']()),_0x11b0f0(this,_0x26a200(0x11b),this[_0x26a200(0x79)]['asObservable']());}['emit'](_0x4f5ecc){const _0x4b00e6=_0x5620be;this[_0x4b00e6(0x79)][_0x4b00e6(0xdc)](_0x4f5ecc);}[_0x5620be(0x10f)](){const _0x47bdad=_0x5620be;super[_0x47bdad(0x10f)](),this[_0x47bdad(0x79)]['complete']();}};let _0x268621={'id':_0x5620be(0xec),'type':_0x2ab1bf[_0x5620be(0x14a)]['MUTATION'],'handler':(_0x168b3f,_0x372fcd)=>{const _0x15f876=_0x5620be;let _0x4e1298=_0x168b3f[_0x15f876(0x153)](_0x1b61fb),_0xcbbb03=_0x4e1298[_0x15f876(0xd5)](_0x372fcd[_0x15f876(0xed)],_0x372fcd[_0x15f876(0x10e)]);return _0x4e1298[_0x15f876(0x13d)](_0x372fcd[_0x15f876(0xed)],_0x372fcd[_0x15f876(0x10e)],_0x4a264e(_0xcbbb03,_0x372fcd[_0x15f876(0xa6)])),!0x0;}},_0x17b725={'id':_0x5620be(0x116),'type':_0x2ab1bf['CommandType'][_0x5620be(0x106)],'handler':(_0x1c3f0f,_0x525a86)=>{const _0x44487d=_0x5620be;let _0x4d40b2=_0x1c3f0f[_0x44487d(0x153)](_0x1b61fb),_0x5ec515=_0x4d40b2[_0x44487d(0xd5)](_0x525a86['unitId'],_0x525a86[_0x44487d(0x10e)]);return _0x4d40b2[_0x44487d(0x13d)](_0x525a86[_0x44487d(0xed)],_0x525a86[_0x44487d(0x10e)],_0x5ec515[_0x44487d(0xa5)](_0x18be4a=>_0x18be4a['id']!==_0x525a86[_0x44487d(0x117)])),!0x0;}};function _0x47b2d6(_0xe2d9fa,_0x3e4865,_0x295d87){const _0x28cf09=_0x5620be;let _0x2fc8ee=_0x2ecedb(_0xe2d9fa);return _0x2fc8ee?_0x2fc8ee[_0x28cf09(0x70)]({'workbookTypes':[_0x546899[_0x28cf09(0xfc)]],'worksheetTypes':[_0x546899[_0x28cf09(0x115)]]},_0x3e4865,_0x295d87):!0x0;}function _0x1f9932(_0x1954bc,_0x37d0ad,_0x140f8d){const _0x2e5121=_0x5620be;var _0x2e8b71;let _0x217d24=_0x158903(_0x1954bc);return((_0x2e8b71=_0x217d24==null?void 0x0:_0x217d24['permissionPointUpdate$'])==null?(0x0,_0x40aa69['of'])(null):_0x2e8b71)[_0x2e5121(0x100)]((0x0,_0x4d65da[_0x2e5121(0xb9)])(0x64),(0x0,_0x4d65da[_0x2e5121(0x7a)])(null),(0x0,_0x4d65da[_0x2e5121(0x113)])(()=>_0x47b2d6(_0x1954bc,_0x37d0ad,_0x140f8d)));}function _0x2ecedb(_0xb8ae87){const _0x4ab37a=_0x5620be;if(typeof _0xb8ae87[_0x4ab37a(0xfe)]==_0x4ab37a(0x73)&&!_0xb8ae87[_0x4ab37a(0xfe)](_0x546899[_0x4ab37a(0xe2)]))return null;try{return _0xb8ae87[_0x4ab37a(0x153)](_0x546899[_0x4ab37a(0xe2)]);}catch{return null;}}function _0x158903(_0x584536){const _0x20b0b5=_0x5620be;if(typeof _0x584536[_0x20b0b5(0xfe)]=='function'&&!_0x584536[_0x20b0b5(0xfe)](_0x2ab1bf[_0x20b0b5(0x99)]))return null;try{return _0x584536[_0x20b0b5(0x153)](_0x2ab1bf[_0x20b0b5(0x99)]);}catch{return null;}}let _0x519ae0={'id':_0x5620be(0x124),'type':_0x2ab1bf[_0x5620be(0x14a)]['COMMAND'],'handler':(_0x44c686,_0x18dc9f)=>{const _0x458718=_0x5620be;var _0x3505df,_0x4e0d53;if(!_0x18dc9f)return!0x1;let _0x46a446=(0x0,_0x546899[_0x458718(0xfb)])(_0x44c686['get'](_0x2ab1bf[_0x458718(0x7e)]),_0x18dc9f);if(!_0x46a446)return!0x1;let {unitId:_0x3d1605,subUnitId:_0x2ec079,worksheet:_0x2d6905}=_0x46a446;if(!_0x47b2d6(_0x44c686,_0x3d1605,_0x2ec079))return!0x1;let _0x3fb160=_0x44c686[_0x458718(0x153)](_0x1b61fb),_0x2d0216={'id':'dimension-outline-'+(0x0,_0x2ab1bf[_0x458718(0xf9)])(0x6),'unitId':_0x3d1605,'subUnitId':_0x2ec079,'axis':_0x18dc9f[_0x458718(0x91)],'start':_0x18dc9f[_0x458718(0x89)],'end':_0x18dc9f[_0x458718(0xf1)],'collapsed':!0x1},_0x105c82=_0x18dc9f[_0x458718(0x91)]===_0x458718(0xe4)?_0x2d6905[_0x458718(0xfd)]():_0x2d6905['getColumnCount'](),_0x250b1f=_0x3fb160['getOutlines'](_0x3d1605,_0x2ec079),_0x1112e0=_0x5c59cd(_0x250b1f,_0x2d0216),_0x58bfe9=(_0x3505df=_0x1112e0==null?void 0x0:_0x1112e0[_0x458718(0x129)])==null?[]:_0x3505df,_0x38ba62=(_0x4e0d53=_0x1112e0==null?void 0x0:_0x1112e0['mergedOutline'])==null?_0x2d0216:_0x4e0d53,_0x37973e=_0x152898(_0x1112e0?_0x250b1f[_0x458718(0xa5)](_0x29cc2e=>!_0x58bfe9[_0x458718(0x14e)](_0x123e4b=>_0x123e4b['id']===_0x29cc2e['id'])):_0x250b1f,_0x38ba62,{'maxIndex':_0x105c82});if(!_0x37973e[_0x458718(0x72)]){var _0x50d69f;return _0x44c686[_0x458718(0x153)](_0x1291f3)[_0x458718(0x8d)]({'reason':(_0x50d69f=_0x37973e[_0x458718(0x14f)])==null?'unknown':_0x50d69f,'commandId':_0x519ae0['id'],'unitId':_0x3d1605,'subUnitId':_0x2ec079,'axis':_0x18dc9f[_0x458718(0x91)],'outlineId':_0x38ba62['id']}),!0x1;}let _0x413c8f=[..._0x58bfe9[_0x458718(0x113)](_0x131af3=>({'id':_0x17b725['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outlineId':_0x131af3['id']}})),{'id':_0x268621['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outline':_0x38ba62}}],_0x2699ce=[{'id':_0x17b725['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outlineId':_0x38ba62['id']}},..._0x58bfe9['map'](_0xe5da6f=>({'id':_0x268621['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outline':_0xe5da6f}}))];return(0x0,_0x2ab1bf['sequenceExecute'])(_0x413c8f,_0x44c686[_0x458718(0x153)](_0x2ab1bf[_0x458718(0x7c)]))['result']?(_0x44c686[_0x458718(0x153)](_0x2ab1bf[_0x458718(0x6f)])[_0x458718(0x119)]({'unitID':_0x3d1605,'undoMutations':_0x2699ce,'redoMutations':_0x413c8f}),!0x0):!0x1;}},_0x5d6123={'id':_0x5620be(0x90),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x2d6b1f,_0x2540a7)=>{const _0x37b996=_0x5620be;let _0x514de0=_0x2d6b1f[_0x37b996(0x153)](_0x1b61fb),_0x14ca69=_0x514de0[_0x37b996(0xd5)](_0x2540a7['unitId'],_0x2540a7[_0x37b996(0x10e)]);return _0x514de0[_0x37b996(0x13d)](_0x2540a7['unitId'],_0x2540a7[_0x37b996(0x10e)],_0x32b5d4(_0x14ca69,_0x2540a7)),!0x0;}},_0x1104e3={'id':_0x5620be(0xad),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0xeb)],'handler':(_0x88b185,_0x52be0f)=>{const _0x56ec58=_0x5620be;if(!_0x52be0f)return!0x1;let _0x571007=(0x0,_0x546899[_0x56ec58(0xfb)])(_0x88b185[_0x56ec58(0x153)](_0x2ab1bf['IUniverInstanceService']),_0x52be0f);if(!_0x571007)return!0x1;let {unitId:_0x5882a6,subUnitId:_0x40a1f2}=_0x571007;if(!_0x47b2d6(_0x88b185,_0x5882a6,_0x40a1f2))return!0x1;let _0x129169={'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'axis':_0x52be0f[_0x56ec58(0x91)],'start':_0x52be0f[_0x56ec58(0x89)],'end':_0x52be0f['end']},_0x2980b8=_0x88b185[_0x56ec58(0x153)](_0x1b61fb)['getOutlines'](_0x5882a6,_0x40a1f2)['filter'](_0x2b176c=>_0x23fa8a(_0x2b176c,_0x129169)&&_0x2b176c['start']>=_0x52be0f['start']&&_0x2b176c['end']<=_0x52be0f[_0x56ec58(0xf1)]);if(_0x2980b8[_0x56ec58(0x149)]===0x0)return _0x88b185[_0x56ec58(0x153)](_0x1291f3)[_0x56ec58(0x8d)]({'reason':'clear-range-not-contain-outline','commandId':_0x1104e3['id'],'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'axis':_0x52be0f[_0x56ec58(0x91)]}),!0x1;let _0xa30931=[{'id':_0x5d6123['id'],'params':{..._0x129169,'removedOutlineIds':_0x2980b8['map'](_0x418081=>_0x418081['id'])}}],_0x30ad9f=_0x2980b8[_0x56ec58(0x113)](_0xa0790d=>({'id':_0x268621['id'],'params':{'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'outline':_0xa0790d}}));return(0x0,_0x2ab1bf[_0x56ec58(0x98)])(_0xa30931,_0x88b185[_0x56ec58(0x153)](_0x2ab1bf['ICommandService']))[_0x56ec58(0x8f)]?(_0x88b185['get'](_0x2ab1bf[_0x56ec58(0x6f)])[_0x56ec58(0x119)]({'unitID':_0x5882a6,'undoMutations':_0x30ad9f,'redoMutations':_0xa30931}),!0x0):!0x1;}},_0x273a87={'id':_0x5620be(0x6e),'type':_0x2ab1bf['CommandType'][_0x5620be(0xeb)],'handler':(_0xb4248c,_0xfdc316)=>{const _0x1cd42e=_0x5620be;if(!_0xfdc316)return!0x1;let _0x426ada=(0x0,_0x546899[_0x1cd42e(0xfb)])(_0xb4248c['get'](_0x2ab1bf['IUniverInstanceService']),_0xfdc316);if(!_0x426ada)return!0x1;let {unitId:_0x49788d,subUnitId:_0x1f011a}=_0x426ada;if(!_0x47b2d6(_0xb4248c,_0x49788d,_0x1f011a))return!0x1;let _0x4bf84b=_0xb4248c[_0x1cd42e(0x153)](_0x1b61fb)[_0x1cd42e(0xd5)](_0x49788d,_0x1f011a)['find'](_0x3bced=>_0x3bced['id']===_0xfdc316[_0x1cd42e(0x117)]);if(!_0x4bf84b)return!0x1;let _0x13b716=[{'id':_0x17b725['id'],'params':{'unitId':_0x49788d,'subUnitId':_0x1f011a,'outlineId':_0x4bf84b['id'],'outline':_0x4bf84b}}],_0x1e02a4=[{'id':_0x268621['id'],'params':{'unitId':_0x49788d,'subUnitId':_0x1f011a,'outline':_0x4bf84b}}];return(0x0,_0x2ab1bf['sequenceExecute'])(_0x13b716,_0xb4248c[_0x1cd42e(0x153)](_0x2ab1bf[_0x1cd42e(0x7c)]))['result']?(_0xb4248c['get'](_0x2ab1bf[_0x1cd42e(0x6f)])[_0x1cd42e(0x119)]({'unitID':_0x49788d,'undoMutations':_0x1e02a4,'redoMutations':_0x13b716}),!0x0):!0x1;}},_0xdea63c={'id':_0x5620be(0x126),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x355129,_0x116a25)=>{const _0x358e1c=_0x5620be;let _0x1cda06=_0x355129[_0x358e1c(0x153)](_0x1b61fb),_0x33be35=_0x1cda06[_0x358e1c(0xd5)](_0x116a25['unitId'],_0x116a25[_0x358e1c(0x10e)]),_0x78dcd1=_0x33be35[_0x358e1c(0xd1)](_0x3ad3bb=>_0x3ad3bb['id']===_0x116a25[_0x358e1c(0x117)]);return _0x78dcd1&&_0x1cda06[_0x358e1c(0x13d)](_0x116a25[_0x358e1c(0xed)],_0x116a25[_0x358e1c(0x10e)],_0x33be35[_0x358e1c(0x113)](_0x5754e5=>_0x5754e5[_0x358e1c(0xed)]!==_0x78dcd1['unitId']||_0x5754e5[_0x358e1c(0x10e)]!==_0x78dcd1[_0x358e1c(0x10e)]||_0x5754e5[_0x358e1c(0x91)]!==_0x78dcd1[_0x358e1c(0x91)]||_0x5754e5['start']!==_0x78dcd1[_0x358e1c(0x89)]||_0x5754e5['end']!==_0x78dcd1[_0x358e1c(0xf1)]?_0x5754e5:{..._0x5754e5,'collapsed':_0x116a25['collapsed']})),!0x0;}};function _0x4a8d0f(_0x2ba12b,_0xfee323,_0x7e35de,_0x5ef0a7){const _0x2766ed=_0x5620be;return _0x2ba12b===_0x2766ed(0xe4)?{'startRow':_0xfee323,'endRow':_0x7e35de,'startColumn':0x0,'endColumn':_0x5ef0a7['getMaxColumns']()-0x1}:{'startRow':0x0,'endRow':_0x5ef0a7[_0x2766ed(0xfd)]()-0x1,'startColumn':_0xfee323,'endColumn':_0x7e35de};}function _0x735d8f(_0xfce4b3){const _0x354fd8=_0x5620be;return _0xfce4b3===_0x354fd8(0xe4)?_0x546899[_0x354fd8(0xe0)]['id']:_0x546899[_0x354fd8(0xc5)]['id'];}function _0x3b61de(_0xd1de70){const _0x56e8fd=_0x5620be;return _0xd1de70===_0x56e8fd(0xe4)?_0x546899[_0x56e8fd(0x95)]['id']:_0x546899['SetColVisibleMutation']['id'];}function _0x1910bc(_0x253d75,_0x43890a,_0x1c64b0,_0x23b09b){const _0x25ee7e=_0x5620be;let _0x128cda=_0x43890a?[_0x4a8d0f(_0x253d75[_0x25ee7e(0x91)],_0x253d75[_0x25ee7e(0x89)],_0x253d75[_0x25ee7e(0xf1)],_0x1c64b0)]:_0x1125d8(_0x253d75,_0x23b09b,_0x1c64b0),_0x2b91e6=_0x43890a?_0x735d8f(_0x253d75['axis']):_0x3b61de(_0x253d75[_0x25ee7e(0x91)]);return[{'id':_0xdea63c['id'],'params':{'unitId':_0x253d75[_0x25ee7e(0xed)],'subUnitId':_0x253d75[_0x25ee7e(0x10e)],'outlineId':_0x253d75['id'],'outline':_0x253d75,'collapsed':_0x43890a}},..._0x128cda['map'](_0x6a8f5c=>({'id':_0x2b91e6,'params':{'unitId':_0x253d75[_0x25ee7e(0xed)],'subUnitId':_0x253d75[_0x25ee7e(0x10e)],'ranges':[_0x6a8f5c],'dimensionOutlineId':_0x253d75['id']}}))];}function _0x1125d8(_0x59dc50,_0x17ddb9,_0x5e56aa){const _0xe424c6=_0x5620be;let _0x4c15fe=_0x681375(_0x17ddb9[_0xe424c6(0x113)](_0x4b5df8=>_0x34a9c(_0x4b5df8,_0x59dc50)?{..._0x4b5df8,'collapsed':!0x1}:_0x4b5df8),_0x59dc50['unitId'],_0x59dc50[_0xe424c6(0x10e)],_0x59dc50[_0xe424c6(0x91)]);return _0x370606({'start':_0x59dc50[_0xe424c6(0x89)],'end':_0x59dc50['end']},_0x4c15fe)['map'](_0x3b08fe=>_0x4a8d0f(_0x59dc50['axis'],_0x3b08fe['start'],_0x3b08fe['end'],_0x5e56aa));}function _0x34a9c(_0x4ad2ad,_0x4a7f7a){const _0x544f52=_0x5620be;return _0x4ad2ad['unitId']===_0x4a7f7a[_0x544f52(0xed)]&&_0x4ad2ad['subUnitId']===_0x4a7f7a[_0x544f52(0x10e)]&&_0x4ad2ad[_0x544f52(0x91)]===_0x4a7f7a[_0x544f52(0x91)]&&_0x4ad2ad[_0x544f52(0x89)]===_0x4a7f7a[_0x544f52(0x89)]&&_0x4ad2ad['end']===_0x4a7f7a[_0x544f52(0xf1)];}function _0x370606(_0x404458,_0x493c71){const _0x206b19=_0x5620be;let _0x7ff25=_0x404458[_0x206b19(0x89)],_0x5bcfb5=[];for(let _0x371b46 of _0x493c71)if(!(_0x371b46['end']<_0x7ff25||_0x371b46[_0x206b19(0x89)]>_0x404458[_0x206b19(0xf1)])&&(_0x371b46[_0x206b19(0x89)]>_0x7ff25&&_0x5bcfb5['push']({'start':_0x7ff25,'end':Math[_0x206b19(0x128)](_0x371b46[_0x206b19(0x89)]-0x1,_0x404458[_0x206b19(0xf1)])}),_0x7ff25=Math[_0x206b19(0xc2)](_0x7ff25,_0x371b46['end']+0x1),_0x7ff25>_0x404458[_0x206b19(0xf1)]))break;return _0x7ff25<=_0x404458['end']&&_0x5bcfb5[_0x206b19(0x11e)]({'start':_0x7ff25,'end':_0x404458[_0x206b19(0xf1)]}),_0x5bcfb5;}let _0x2bcdab={'id':_0x5620be(0x110),'type':_0x2ab1bf[_0x5620be(0x14a)]['COMMAND'],'handler':(_0x1e18ea,_0x3147eb)=>{const _0x24edbf=_0x5620be;if(!_0x3147eb)return!0x1;let _0x9679dc=(0x0,_0x546899['getSheetCommandTarget'])(_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf[_0x24edbf(0x7e)]),_0x3147eb);if(!_0x9679dc)return!0x1;let {unitId:_0x53da8a,subUnitId:_0x497bab,worksheet:_0xfcf5da}=_0x9679dc;if(!_0x47b2d6(_0x1e18ea,_0x53da8a,_0x497bab))return!0x1;let _0x5dfa2a=_0x1e18ea['get'](_0x1b61fb)['getOutlines'](_0x53da8a,_0x497bab),_0x84d579=_0x5dfa2a['find'](_0x932ad5=>_0x932ad5['id']===_0x3147eb[_0x24edbf(0x117)]);if(!_0x84d579||_0x84d579[_0x24edbf(0x107)]===_0x3147eb[_0x24edbf(0x107)])return!0x1;let _0x55302b=_0x1910bc(_0x84d579,_0x3147eb[_0x24edbf(0x107)],_0xfcf5da,_0x5dfa2a),_0x414a9b=_0x1910bc(_0x84d579,!_0x3147eb[_0x24edbf(0x107)],_0xfcf5da,_0x5dfa2a);return(0x0,_0x2ab1bf['sequenceExecute'])(_0x55302b,_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf[_0x24edbf(0x7c)]))[_0x24edbf(0x8f)]?(_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x53da8a,'undoMutations':_0x414a9b,'redoMutations':_0x55302b}),!0x0):!0x1;}},_0x250538={'id':'sheet.mutation.transform-dimension-outlines','type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x1d4bbe,_0x406adf)=>{const _0x548219=_0x5620be;let _0x24e2eb=_0x1d4bbe[_0x548219(0x153)](_0x1b61fb),_0x52aae6=_0x2ade2b(_0x24e2eb[_0x548219(0xd5)](_0x406adf[_0x548219(0xed)],_0x406adf['subUnitId']),_0x406adf);return _0x24e2eb[_0x548219(0x13d)](_0x406adf['unitId'],_0x406adf[_0x548219(0x10e)],_0x52aae6),!0x0;}};function _0x2ade2b(_0x572983,_0xba54f){const _0xf5b81=_0x5620be;switch(_0xba54f[_0xf5b81(0x11c)]){case _0xf5b81(0x150):return _0xba54f[_0xf5b81(0x9d)]?_0x33eaca(_0x572983,_0xba54f):_0x55ed44(_0x572983,_0xba54f);case'delete':return _0x2a321c(_0x572983,_0xba54f);case'move':return _0x48e7c8(_0x572983,_0xba54f);}}function _0x33eaca(_0x16f204,_0x2eb4b8){const _0x2251c6=_0x5620be;return[..._0x16f204[_0x2251c6(0xa5)](_0x39898f=>_0x39898f[_0x2251c6(0xed)]!==_0x2eb4b8[_0x2251c6(0xed)]||_0x39898f[_0x2251c6(0x10e)]!==_0x2eb4b8[_0x2251c6(0x10e)]||_0x39898f[_0x2251c6(0x91)]!==_0x2eb4b8[_0x2251c6(0x91)]),..._0x2eb4b8[_0x2251c6(0x9d)]];}let _0x2eb5c7='SHEET_OUTLINE_PLUGIN',_0x1f69e1=_0x5620be(0x13e),_0x376a22={};var _0x3aaf6f=_0x5620be(0x7b),_0x1f0133='1.0.0-alpha.2';function _0x32105f(_0x55b7a8,_0x156be0){return function(_0x5e2d61,_0x18cb66){_0x156be0(_0x5e2d61,_0x18cb66,_0x55b7a8);};}function _0x1ea77b(_0x4a0d69,_0x47bcb4,_0x3d2525,_0x3f3d5e){const _0x2c479c=_0x5620be;var _0x1e9275=arguments['length'],_0x49cd06=_0x1e9275<0x3?_0x47bcb4:_0x3f3d5e===null?_0x3f3d5e=Object[_0x2c479c(0x109)](_0x47bcb4,_0x3d2525):_0x3f3d5e,_0x54e578;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x49cd06=Reflect[_0x2c479c(0x96)](_0x4a0d69,_0x47bcb4,_0x3d2525,_0x3f3d5e);else{for(var _0x1f4cac=_0x4a0d69[_0x2c479c(0x149)]-0x1;_0x1f4cac>=0x0;_0x1f4cac--)(_0x54e578=_0x4a0d69[_0x1f4cac])&&(_0x49cd06=(_0x1e9275<0x3?_0x54e578(_0x49cd06):_0x1e9275>0x3?_0x54e578(_0x47bcb4,_0x3d2525,_0x49cd06):_0x54e578(_0x47bcb4,_0x3d2525))||_0x49cd06);}return _0x1e9275>0x3&&_0x49cd06&&Object[_0x2c479c(0x104)](_0x47bcb4,_0x3d2525,_0x49cd06),_0x49cd06;}let _0x3f8ec9={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x173540=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(_0x1780d9,_0x5c1b95,_0x4dde98,_0x523ddc){const _0x1d12ad=_0x5620be;super(),this['_univerInstanceService']=_0x1780d9,this['_sheetInterceptorService']=_0x5c1b95,this[_0x1d12ad(0x151)]=_0x4dde98,this['_sheetsOutlineErrorService']=_0x523ddc,this[_0x1d12ad(0x118)]();}['_initCommandInterceptor'](){const _0x4145a9=_0x5620be;this[_0x4145a9(0x154)](this[_0x4145a9(0xde)]['interceptCommand']({'getMutations':_0x1b889c=>_0x2d50fa(_0x1b889c,(_0x317b0e,_0x1136d2)=>this[_0x4145a9(0x151)][_0x4145a9(0xd5)](_0x317b0e,_0x1136d2),this[_0x4145a9(0xb2)](_0x1b889c[_0x4145a9(0xdf)]),_0x2bb192=>this[_0x4145a9(0xa1)][_0x4145a9(0x8d)](_0x2bb192))}));}[_0x5620be(0xb2)](_0x572a5b){const _0x50ed9b=_0x5620be;let _0x4cc3d4=_0x572a5b,_0x35a730=_0x4cc3d4!=null&&_0x4cc3d4[_0x50ed9b(0xed)]?this['_univerInstanceService']['getUniverSheetInstance'](_0x4cc3d4['unitId']):this[_0x50ed9b(0x138)][_0x50ed9b(0xc1)](_0x2ab1bf[_0x50ed9b(0x148)]['UNIVER_SHEET']);if(!_0x35a730)return;let _0x590e75=_0x4cc3d4!=null&&_0x4cc3d4[_0x50ed9b(0x10e)]?_0x35a730[_0x50ed9b(0x125)](_0x4cc3d4[_0x50ed9b(0x10e)]):_0x35a730[_0x50ed9b(0x9c)]();if(_0x590e75)return{'unitId':_0x35a730[_0x50ed9b(0x120)](),'subUnitId':_0x590e75[_0x50ed9b(0x127)]()};}};_0x173540=_0x1ea77b([_0x32105f(0x0,_0x2ab1bf[_0x5620be(0x7e)]),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x546899['SheetInterceptorService'])),_0x32105f(0x2,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1b61fb)),_0x32105f(0x3,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1291f3))],_0x173540);function _0x2d50fa(_0xa7c494,_0x503e47,_0x3e3a86,_0x1a2cd2){const _0x3cfe40=_0x5620be;let _0x3e37d7=_0x8ea699(_0xa7c494,_0x3e3a86);if(!_0x3e37d7)return _0x286830();let _0x94d517=_0x503e47(_0x3e37d7[_0x3cfe40(0xed)],_0x3e37d7['subUnitId']);if(!_0x94d517[_0x3cfe40(0x14e)](_0x41d6d8=>_0x41d6d8[_0x3cfe40(0x91)]===_0x3e37d7[_0x3cfe40(0x91)]))return _0x286830();_0xa0bb5b(_0x94d517,_0x3e37d7,_0xa7c494['id'],_0x1a2cd2);let _0x1fd11b=_0x4c03cb(_0x3e37d7,_0x94d517);return{'redos':[{'id':_0x250538['id'],'params':_0x3e37d7}],'undos':[{'id':_0x250538['id'],'params':_0x1fd11b}],'preRedos':[],'preUndos':[]};}function _0xa0bb5b(_0x5489d9,_0x30f337,_0x4a1218,_0x1c12b9){const _0x3470dc=_0x5620be;try{switch(_0x30f337[_0x3470dc(0x11c)]){case _0x3470dc(0x150):_0x55ed44(_0x5489d9,_0x30f337);break;case _0x3470dc(0xa9):_0x2a321c(_0x5489d9,_0x30f337);break;case _0x3470dc(0x10d):_0x48e7c8(_0x5489d9,_0x30f337);break;}}catch(_0x116dea){throw _0x1c12b9==null||_0x1c12b9({'reason':_0x550ff3(_0x116dea),'commandId':_0x4a1218,'unitId':_0x30f337[_0x3470dc(0xed)],'subUnitId':_0x30f337[_0x3470dc(0x10e)],'axis':_0x30f337[_0x3470dc(0x91)],'outlineId':_0x5bf7e4(_0x116dea)}),new _0x2ab1bf[(_0x3470dc(0x10b))](_0x116dea instanceof Error?_0x116dea[_0x3470dc(0x133)]:_0x3470dc(0x8e));}}function _0x8ea699(_0x28276c,_0x5e3438){const _0x3a0fb2=_0x5620be;switch(_0x28276c['id']){case _0x546899[_0x3a0fb2(0x13c)]['id']:return _0x199134(_0x28276c[_0x3a0fb2(0xdf)],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0x86)]['id']:return _0x199134(_0x28276c['params'],_0x3a0fb2(0x147),_0x5e3438);case _0x546899[_0x3a0fb2(0xa4)]['id']:return _0x6dc0b0(_0x28276c[_0x3a0fb2(0xdf)],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0xb1)]['id']:return _0x6dc0b0(_0x28276c[_0x3a0fb2(0xdf)],'column',_0x5e3438);case _0x546899[_0x3a0fb2(0xb7)]['id']:return _0x17e76f(_0x28276c['params'],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0xef)]['id']:return _0x17e76f(_0x28276c[_0x3a0fb2(0xdf)],'column',_0x5e3438);default:return null;}}function _0x199134(_0x2601cf,_0x53e4d3,_0x3828ca){const _0x595226=_0x5620be;let _0xa33d9c=_0x3a5aa2(_0x2601cf,_0x3828ca);if(!(_0x2601cf!=null&&_0x2601cf[_0x595226(0x145)])||!_0xa33d9c)return null;let _0x526a60=_0x53e4d3===_0x595226(0xe4)?_0x2601cf[_0x595226(0x145)][_0x595226(0x12d)]:_0x2601cf[_0x595226(0x145)][_0x595226(0xe5)],_0xe6ec2d=_0x53e4d3===_0x595226(0xe4)?_0x2601cf['range'][_0x595226(0x140)]:_0x2601cf[_0x595226(0x145)]['endColumn'];return{..._0xa33d9c,'axis':_0x53e4d3,'type':'insert','index':_0x526a60,'count':_0xe6ec2d-_0x526a60+0x1};}function _0x6dc0b0(_0x1bf228,_0x6aac5a,_0x5a0e20){const _0x2a1f99=_0x5620be;let _0x68a68=_0x3a5aa2(_0x1bf228,_0x5a0e20);if(!(_0x1bf228!=null&&_0x1bf228[_0x2a1f99(0x145)])||!_0x68a68)return null;let _0x192537=_0x6aac5a===_0x2a1f99(0xe4)?_0x1bf228['range'][_0x2a1f99(0x12d)]:_0x1bf228[_0x2a1f99(0x145)][_0x2a1f99(0xe5)],_0x479f6c=_0x6aac5a===_0x2a1f99(0xe4)?_0x1bf228[_0x2a1f99(0x145)][_0x2a1f99(0x140)]:_0x1bf228['range'][_0x2a1f99(0x122)];return{..._0x68a68,'axis':_0x6aac5a,'type':_0x2a1f99(0xa9),'start':_0x192537,'end':_0x479f6c};}function _0x17e76f(_0x2f3b0c,_0x5bb2a5,_0x926a8a){const _0x3f78cb=_0x5620be;let _0x15d5a8=_0x3a5aa2(_0x2f3b0c,_0x926a8a);if(!(_0x2f3b0c!=null&&_0x2f3b0c[_0x3f78cb(0x81)])||!_0x2f3b0c['toRange']||!_0x15d5a8)return null;let _0x2ee881=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x81)][_0x3f78cb(0x12d)]:_0x2f3b0c['fromRange'][_0x3f78cb(0xe5)],_0xdd0a26=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x81)][_0x3f78cb(0x140)]:_0x2f3b0c['fromRange']['endColumn'],_0x548b49=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x112)]['startRow']:_0x2f3b0c[_0x3f78cb(0x112)][_0x3f78cb(0xe5)];return{..._0x15d5a8,'axis':_0x5bb2a5,'type':_0x3f78cb(0x10d),'sourceStart':_0x2ee881,'sourceEnd':_0xdd0a26,'destinationIndex':_0x548b49};}function _0x4c03cb(_0x38a7a4,_0x51e710){const _0x4e06fe=_0x5620be;switch(_0x38a7a4[_0x4e06fe(0x11c)]){case'insert':return{'unitId':_0x38a7a4[_0x4e06fe(0xed)],'subUnitId':_0x38a7a4[_0x4e06fe(0x10e)],'axis':_0x38a7a4[_0x4e06fe(0x91)],'type':_0x4e06fe(0xa9),'start':_0x38a7a4[_0x4e06fe(0xd0)],'end':_0x38a7a4[_0x4e06fe(0xd0)]+_0x38a7a4[_0x4e06fe(0xb3)]-0x1};case'delete':return{'unitId':_0x38a7a4[_0x4e06fe(0xed)],'subUnitId':_0x38a7a4[_0x4e06fe(0x10e)],'axis':_0x38a7a4['axis'],'type':_0x4e06fe(0x150),'index':_0x38a7a4['start'],'count':_0x38a7a4[_0x4e06fe(0xf1)]-_0x38a7a4[_0x4e06fe(0x89)]+0x1,'restoreOutlines':_0x51e710[_0x4e06fe(0xa5)](_0x23590e=>_0x23590e['unitId']===_0x38a7a4['unitId']&&_0x23590e[_0x4e06fe(0x10e)]===_0x38a7a4['subUnitId']&&_0x23590e[_0x4e06fe(0x91)]===_0x38a7a4[_0x4e06fe(0x91)])};case'move':return _0x28c107(_0x38a7a4);}}function _0x28c107(_0x6625c4){const _0x514fe7=_0x5620be;let _0x3e641b=_0x6625c4['sourceEnd']-_0x6625c4[_0x514fe7(0xcf)]+0x1;return _0x6625c4['destinationIndex']>=_0x6625c4['sourceStart']&&_0x6625c4[_0x514fe7(0x108)]<=_0x6625c4[_0x514fe7(0x105)]+0x1?{..._0x6625c4}:_0x6625c4[_0x514fe7(0x108)]>_0x6625c4[_0x514fe7(0x105)]+0x1?{..._0x6625c4,'sourceStart':_0x6625c4['destinationIndex']-_0x3e641b,'sourceEnd':_0x6625c4[_0x514fe7(0x108)]-0x1,'destinationIndex':_0x6625c4[_0x514fe7(0xcf)]}:{..._0x6625c4,'sourceStart':_0x6625c4[_0x514fe7(0x108)],'sourceEnd':_0x6625c4[_0x514fe7(0x108)]+_0x3e641b-0x1,'destinationIndex':_0x6625c4[_0x514fe7(0x105)]+0x1};}function _0x3a5aa2(_0x39a453,_0x117cb3){const _0x5ab248=_0x5620be;var _0x5bfd61,_0xa8a656;let _0x5234a7=(_0x5bfd61=_0x39a453==null?void 0x0:_0x39a453[_0x5ab248(0xed)])==null?_0x117cb3==null?void 0x0:_0x117cb3[_0x5ab248(0xed)]:_0x5bfd61,_0x127894=(_0xa8a656=_0x39a453==null?void 0x0:_0x39a453[_0x5ab248(0x10e)])==null?_0x117cb3==null?void 0x0:_0x117cb3['subUnitId']:_0xa8a656;return _0x5234a7&&_0x127894?{'unitId':_0x5234a7,'subUnitId':_0x127894}:null;}function _0x286830(){const _0x3aea3a=_0x5620be;var _0x21a4a6,_0x4c4457;return{'redos':[..._0x3f8ec9[_0x3aea3a(0xe3)]],'undos':[..._0x3f8ec9[_0x3aea3a(0x146)]],'preRedos':[...(_0x21a4a6=_0x3f8ec9[_0x3aea3a(0xf7)])==null?[]:_0x21a4a6],'preUndos':[...(_0x4c4457=_0x3f8ec9[_0x3aea3a(0x87)])==null?[]:_0x4c4457]};}let _0x13434a=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(_0x5c9e41,_0x341d5a){const _0x2a9c6e=_0x5620be;super(),this[_0x2a9c6e(0x7f)]=_0x5c9e41,this[_0x2a9c6e(0x151)]=_0x341d5a,this[_0x2a9c6e(0x83)]();}[_0x5620be(0x83)](){const _0x2e1d7c=_0x5620be;this[_0x2e1d7c(0x154)](this[_0x2e1d7c(0x7f)][_0x2e1d7c(0xea)]({'pluginName':_0x2eb5c7,'businesses':[_0x2ab1bf[_0x2e1d7c(0x148)]['UNIVER_SHEET']],'toJson':_0x19a366=>JSON['stringify'](this[_0x2e1d7c(0x151)][_0x2e1d7c(0x76)](_0x19a366)),'parseJson':_0x2ea739=>JSON[_0x2e1d7c(0xd4)](_0x2ea739),'onLoad':(_0xae8731,_0x532970)=>this['_sheetsOutlineModel'][_0x2e1d7c(0x12e)](_0xae8731,_0x532970),'onUnLoad':_0x1fae07=>this[_0x2e1d7c(0x151)][_0x2e1d7c(0x93)](_0x1fae07)}));}};_0x13434a=_0x1ea77b([_0x32105f(0x0,_0x2ab1bf[_0x5620be(0x88)]),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1b61fb))],_0x13434a);let _0x379b04=class extends _0x2ab1bf[_0x5620be(0xe7)]{constructor(_0x3de181=_0x376a22,_0x10c070,_0x103420,_0xebb75f){const _0x5d9fef=_0x5620be;super(),this['_config']=_0x3de181,this['_injector']=_0x10c070,this['_commandService']=_0x103420,this[_0x5d9fef(0xaf)]=_0xebb75f;let {..._0x4298a8}=(0x0,_0x2ab1bf[_0x5d9fef(0xcd)])({},_0x376a22,this[_0x5d9fef(0xac)]);this[_0x5d9fef(0xaf)]['setConfig'](_0x1f69e1,_0x4298a8);}[_0x5620be(0xf4)](){const _0x37d2c9=_0x5620be;this[_0x37d2c9(0x97)][_0x37d2c9(0x135)]([_0x1b61fb]),this[_0x37d2c9(0x97)]['add']([_0x1291f3]),this[_0x37d2c9(0x97)][_0x37d2c9(0x135)]([_0x13434a]),this['_injector'][_0x37d2c9(0x135)]([_0x173540]),this[_0x37d2c9(0x134)](),this['_injector'][_0x37d2c9(0x153)](_0x1b61fb),this[_0x37d2c9(0x97)]['get'](_0x1291f3),this[_0x37d2c9(0x97)][_0x37d2c9(0x153)](_0x13434a),this[_0x37d2c9(0x97)][_0x37d2c9(0x153)](_0x173540);}['_initRegisterCommand'](){const _0x3711ce=_0x5620be;[_0x519ae0,_0x273a87,_0x2bcdab,_0x1104e3][_0x3711ce(0xb6)](_0x17dcea=>{const _0x748e28=_0x3711ce;this['disposeWithMe'](this[_0x748e28(0x13f)]['registerCommand'](_0x17dcea));}),[_0x268621,_0x17b725,_0xdea63c,_0x5d6123,_0x250538]['forEach'](_0x28d4fe=>{const _0x4b9e08=_0x3711ce;this[_0x4b9e08(0x154)](this[_0x4b9e08(0x13f)][_0x4b9e08(0x9e)](_0x28d4fe));});}};_0x11b0f0(_0x379b04,_0x5620be(0xbf),_0x2eb5c7),_0x11b0f0(_0x379b04,'packageName',_0x3aaf6f),_0x11b0f0(_0x379b04,_0x5620be(0x94),_0x1f0133),_0x11b0f0(_0x379b04,_0x5620be(0x11c),_0x2ab1bf[_0x5620be(0x148)][_0x5620be(0x136)]),_0x379b04=_0x1ea77b([(0x0,_0x2ab1bf[_0x5620be(0xd8)])(_0x5569bc['UniverLicensePlugin']),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x2ab1bf[_0x5620be(0x141)])),_0x32105f(0x2,_0x2ab1bf[_0x5620be(0x7c)]),_0x32105f(0x3,_0x2ab1bf[_0x5620be(0x9a)])],_0x379b04),_0x493428['AddDimensionOutlineCommand']=_0x519ae0,_0x493428[_0x5620be(0xa3)]=_0x268621,_0x493428[_0x5620be(0x74)]=_0x1104e3,_0x493428[_0x5620be(0x102)]=_0x5d6123,_0x493428['DimensionOutlineAxis']=_0x1c8aac,_0x493428[_0x5620be(0x132)]=_0x235131,_0x493428[_0x5620be(0x143)]=_0x2aa457,_0x493428[_0x5620be(0x111)]=_0x273a87,_0x493428[_0x5620be(0xc9)]=_0x17b725,_0x493428[_0x5620be(0x11f)]=_0x1f69e1,_0x493428[_0x5620be(0xff)]=_0x2eb5c7,_0x493428[_0x5620be(0xc0)]=_0x2bcdab,_0x493428[_0x5620be(0xfa)]=_0xdea63c,_0x493428[_0x5620be(0x103)]=_0x1291f3,_0x493428[_0x5620be(0xb0)]=_0x1b61fb,_0x493428[_0x5620be(0x84)]=_0x250538,Object['defineProperty'](_0x493428,_0x5620be(0x121),{'enumerable':!0x0,'get':function(){return _0x379b04;}}),_0x493428[_0x5620be(0x9f)]=_0x4a264e,_0x493428[_0x5620be(0x155)]=_0x3c998f,_0x493428[_0x5620be(0xa8)]=_0x681375,_0x493428[_0x5620be(0xf0)]=_0x152898,_0x493428[_0x5620be(0xbc)]=_0x32b5d4,_0x493428[_0x5620be(0xab)]=_0x5bf7e4,_0x493428[_0x5620be(0x78)]=_0x550ff3,_0x493428['getDimensionOutlineViewPermission$']=_0x1f9932,_0x493428[_0x5620be(0x152)]=_0x47b2d6,_0x493428[_0x5620be(0x144)]=_0x1e24d7,_0x493428[_0x5620be(0x8a)]=_0x2a321c,_0x493428[_0x5620be(0xf3)]=_0x55ed44,_0x493428[_0x5620be(0xc4)]=_0x48e7c8;}));function _0x1ba4(){const _0x446811=['IUndoRedoService','permissionCheckWithoutRange','iterator','valid','function','ClearDimensionOutlinesCommand','Module','serialize','@univerjs-pro/license','getDimensionOutlineErrorReason','_error$','startWith','@univerjs-pro/sheets-outline','ICommandService','rxjs/operators','IUniverInstanceService','_resourceManagerService','name','fromRange','outlineList','_initResource','TransformDimensionOutlinesMutation','unknown','InsertColCommand','preUndos','IResourceManagerService','start','transformOutlinesByDelete','63188LbloCk','COLUMN','emit','Invalid\x20dimension\x20outline\x20mutation','result','sheet.mutation.clear-dimension-outlines','axis','getUnitOutlines','removeUnit','version','SetRowVisibleMutation','decorate','_injector','sequenceExecute','IPermissionService','IConfigService','Crossing','getActiveSheet','restoreOutlines','registerCommand','addDimensionOutlineToList','pop','_sheetsOutlineErrorService','7153008qWZymD','AddDimensionOutlineMutation','RemoveRowCommand','filter','outline','INVALID_RANGE','buildHiddenRanges','delete','split','getDimensionOutlineErrorOutlineId','_config','sheet.command.clear-dimension-outlines','UniverProSheetsOutline','_configService','SheetsOutlineModel','RemoveColCommand','_getCommandScope','count','crossing','call','forEach','MoveRowsCommand','Invalid\x20outline\x20range','debounceTime','invalid-dimension-outline','479406kjtgMf','clearDimensionOutlinesInRange','prototype','3983910zSNqKM','pluginName','SetDimensionOutlineCollapsedCommand','getCurrentUnitOfType','max','UniverCore','transformOutlinesByMove','SetColHiddenMutation','_ensureUnitOutlines','object','204rckUTO','RemoveDimensionOutlineMutation','653292zTUqSC','values','toStringTag','merge','Disposable','sourceStart','index','find','OUT_OF_BOUNDS','@univerjs/sheets','parse','getOutlines','symbol','includes','DependentOn','max-depth','complete','default','next','depth','_sheetInterceptorService','params','SetRowHiddenMutation','change$','SheetPermissionCheckController','redos','row','startColumn','rxjs','Plugin','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','registerPluginResource','COMMAND','sheet.mutation.add-dimension-outline','unitId','toPrimitive','MoveColsCommand','canAddDimensionOutline','end','maxIndex','transformOutlinesByInsert','onStarting','children','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','preRedos','Move\x20would\x20split\x20dimension\x20outline:\x20','generateRandomId','SetDimensionOutlineCollapsedMutation','getSheetCommandTarget','WorkbookViewPermission','getRowCount','has','SHEET_OUTLINE_PLUGIN','pipe','amd','ClearDimensionOutlinesMutation','SheetsOutlineErrorService','defineProperty','sourceEnd','MUTATION','collapsed','destinationIndex','getOwnPropertyDescriptor','18798610ufciCO','CustomCommandExecutionError','move-splits-outline','move','subUnitId','dispose','sheet.command.set-dimension-outline-collapsed','RemoveDimensionOutlineCommand','toRange','map','9qJdDKe','WorksheetViewPermission','sheet.mutation.remove-dimension-outline','outlineId','_initCommandInterceptor','pushUndoRedo','operators','error$','type','_outlines','push','SHEETS_OUTLINE_PLUGIN_CONFIG_KEY','getUnitId','UniverSheetsOutlinePlugin','endColumn','1322586MmpKTP','sheet.command.add-dimension-outline','getSheetBySheetId','sheet.mutation.set-dimension-outline-collapsed','getSheetId','min','mergedOutlines','invalid-range','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','constructor','startRow','deserialize','join','out-of-bounds','offset','DimensionOutlineError','message','_initRegisterCommand','add','UNIVER_SHEET','localeCompare','_univerInstanceService','asObservable','5VcdEle','sort','InsertRowCommand','setOutlines','sheets-outline.config','_commandService','endRow','Injector','set','DimensionOutlineErrorReason','mergeRanges','range','undos','column','UniverInstanceType','length','CommandType','Inject','_change$','exports','some','reason','insert','_sheetsOutlineModel','hasDimensionOutlineViewPermission','get','disposeWithMe','buildDimensionOutlineTree','UniverSheets','string','sheet.command.remove-dimension-outline'];_0x1ba4=function(){return _0x446811;};return _0x1ba4();}
1
+ function _0x48df(_0x4f0182,_0x4d757d){_0x4f0182=_0x4f0182-0x67;const _0x25f9f1=_0x25f9();let _0x48df71=_0x25f9f1[_0x4f0182];return _0x48df71;}(function(_0x2ca88a,_0x44e016){const _0x31dcef=_0x48df,_0x37c9f8=_0x2ca88a();while(!![]){try{const _0x4af590=parseInt(_0x31dcef(0x83))/0x1*(parseInt(_0x31dcef(0x99))/0x2)+parseInt(_0x31dcef(0xc4))/0x3*(-parseInt(_0x31dcef(0x70))/0x4)+-parseInt(_0x31dcef(0xfc))/0x5*(parseInt(_0x31dcef(0x110))/0x6)+parseInt(_0x31dcef(0xb6))/0x7*(parseInt(_0x31dcef(0xe6))/0x8)+parseInt(_0x31dcef(0x12a))/0x9+-parseInt(_0x31dcef(0x115))/0xa*(parseInt(_0x31dcef(0xd6))/0xb)+-parseInt(_0x31dcef(0x112))/0xc*(parseInt(_0x31dcef(0x9d))/0xd);if(_0x4af590===_0x44e016)break;else _0x37c9f8['push'](_0x37c9f8['shift']());}catch(_0x345ff5){_0x37c9f8['push'](_0x37c9f8['shift']());}}}(_0x25f9,0x699bb),function(_0x312c86,_0x31e7af){const _0x458bd0=_0x48df;typeof exports=='object'&&typeof module<'u'?_0x31e7af(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x458bd0(0x98)]?define(['exports',_0x458bd0(0x11e),_0x458bd0(0xab),_0x458bd0(0xc9),_0x458bd0(0x121),_0x458bd0(0xc8)],_0x31e7af):(_0x312c86=typeof globalThis<'u'?globalThis:_0x312c86||self,_0x31e7af(_0x312c86[_0x458bd0(0xcc)]={},_0x312c86[_0x458bd0(0xd0)],_0x312c86[_0x458bd0(0x95)],_0x312c86[_0x458bd0(0xc9)],_0x312c86['rxjs'][_0x458bd0(0x7f)],_0x312c86[_0x458bd0(0xda)]));}(this,function(_0xb037aa,_0x15bede,_0x27320c,_0x5710e6,_0x1cded8,_0x3c5196){const _0x2ffee0=_0x48df;Object['defineProperty'](_0xb037aa,Symbol[_0x2ffee0(0xdd)],{'value':_0x2ffee0(0xd5)});let _0xce9cb3=function(_0x51ce86){const _0x322c5b=_0x2ffee0;return _0x51ce86[_0x322c5b(0x6c)]=_0x322c5b(0x135),_0x51ce86[_0x322c5b(0x147)]=_0x322c5b(0xc5),_0x51ce86;}({}),_0x2bf9fd=function(_0x405d8d){const _0x615091=_0x2ffee0;return _0x405d8d[_0x615091(0xdf)]=_0x615091(0xf0),_0x405d8d[_0x615091(0x86)]='out-of-bounds',_0x405d8d[_0x615091(0x137)]=_0x615091(0xe3),_0x405d8d[_0x615091(0x9a)]=_0x615091(0xe2),_0x405d8d[_0x615091(0x6b)]=_0x615091(0xe0),_0x405d8d[_0x615091(0x8c)]=_0x615091(0xe4),_0x405d8d[_0x615091(0xf7)]='unknown',_0x405d8d;}({});var _0x107762=class extends Error{constructor(_0x3a76b5,_0x4944cd,_0x208ce1){const _0x38f31e=_0x2ffee0;super(_0x4944cd),this['reason']=_0x3a76b5,this[_0x38f31e(0x92)]=_0x208ce1,this[_0x38f31e(0x89)]=_0x38f31e(0x106);}};function _0x1a57f0(_0x267b12){const _0x4c4f52=_0x2ffee0;return _0x267b12 instanceof _0x107762?_0x267b12[_0x4c4f52(0x84)]:_0x267b12 instanceof Error?_0x267b12[_0x4c4f52(0xa5)][_0x4c4f52(0xba)](_0x4c4f52(0x11d))?'move-splits-outline':_0x267b12['message'][_0x4c4f52(0xba)](_0x4c4f52(0x10a))?_0x4c4f52(0xe2):_0x267b12[_0x4c4f52(0xa5)][_0x4c4f52(0xba)](_0x4c4f52(0x97))?_0x4c4f52(0xe3):_0x267b12[_0x4c4f52(0xa5)][_0x4c4f52(0xba)](_0x4c4f52(0xb7))?_0x4c4f52(0xf0):_0x4c4f52(0xfd):_0x4c4f52(0xfd);}function _0x4c9456(_0x318091){const _0x4246a5=_0x2ffee0;return _0x318091 instanceof _0x107762?_0x318091[_0x4246a5(0x92)]:void 0x0;}let _0x58bab8=0x2**0x35-0x1;function _0x5e546f(_0x1cf1f5,_0x13a9dd){const _0x1fa2ea=_0x2ffee0;return _0x1cf1f5['unitId']===_0x13a9dd[_0x1fa2ea(0x105)]&&_0x1cf1f5[_0x1fa2ea(0x10f)]===_0x13a9dd[_0x1fa2ea(0x10f)]&&_0x1cf1f5[_0x1fa2ea(0x7a)]===_0x13a9dd[_0x1fa2ea(0x7a)];}function _0x4a4597(_0x165a38,_0x17d41d={}){const _0x53a790=_0x2ffee0;var _0x3de651;let _0x55033c=(_0x3de651=_0x17d41d[_0x53a790(0x76)])==null?0x8:_0x3de651,_0x5bf9cb=new Map();for(let _0xa19c5e of _0x165a38){let _0x1b3d53=_0xa19c5e[_0x53a790(0x105)]+':'+_0xa19c5e[_0x53a790(0x10f)]+':'+_0xa19c5e[_0x53a790(0x7a)],_0x45345f=_0x5bf9cb['get'](_0x1b3d53);_0x45345f?_0x45345f[_0x53a790(0xb0)](_0xa19c5e):_0x5bf9cb[_0x53a790(0x12f)](_0x1b3d53,[_0xa19c5e]);}let _0x5b13cf=[];for(let _0x5bb8e9 of _0x5bf9cb[_0x53a790(0xa0)]()){let _0x43855e=[..._0x5bb8e9][_0x53a790(0x81)](_0xa12afb),_0x5a6684=[];for(let _0x2a7fbb of _0x43855e){for(_0x320e95(_0x2a7fbb);_0x5a6684[_0x53a790(0xbe)]>0x0&&_0x2a7fbb[_0x53a790(0xcb)]>_0x5a6684[_0x5a6684['length']-0x1]['end'];)_0x5a6684['pop']();let _0x4603eb=_0x5a6684[_0x5a6684[_0x53a790(0xbe)]-0x1];if(_0x4603eb&&_0x2a7fbb[_0x53a790(0x130)]>_0x4603eb['end'])throw new _0x107762(_0x53a790(0xe3),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x2a7fbb['id']);let _0x2fa092=_0x4603eb?_0x4603eb[_0x53a790(0x10a)]+0x1:0x1;if(_0x2fa092>_0x55033c)throw new _0x107762(_0x53a790(0xe2),_0x53a790(0xd2)+_0x55033c,_0x2a7fbb['id']);let _0x42c428={..._0x2a7fbb,'depth':_0x2fa092,'parentId':_0x4603eb==null?void 0x0:_0x4603eb['id'],'anchor':_0x2a7fbb[_0x53a790(0x130)],'children':[]};_0x4603eb?_0x4603eb[_0x53a790(0x119)]['push'](_0x42c428):_0x5b13cf[_0x53a790(0xb0)](_0x42c428),_0x5a6684[_0x53a790(0xb0)](_0x42c428);}}return _0x5b13cf;}function _0x474c4d(_0xe999b1,_0x41d48b,_0x49824c={}){const _0x4b5a20=_0x2ffee0;if(_0x41d48b[_0x4b5a20(0xcb)]<0x0||_0x41d48b[_0x4b5a20(0xcb)]>_0x41d48b['end'])return{'valid':!0x1,'reason':_0x4b5a20(0xf0)};if(_0x49824c[_0x4b5a20(0x6a)]!=null&&_0x41d48b[_0x4b5a20(0x130)]>=_0x49824c[_0x4b5a20(0x6a)])return{'valid':!0x1,'reason':_0x4b5a20(0x145)};let _0x4cc217=_0xe999b1[_0x4b5a20(0x7d)](_0x20b0ba=>_0x5e546f(_0x20b0ba,_0x41d48b));for(let _0x1cbff1 of _0x4cc217)if(_0x5c4b3b(_0x1cbff1,_0x41d48b))return{'valid':!0x1,'reason':'crossing'};try{_0x4a4597([..._0xe999b1,_0x41d48b],_0x49824c);}catch(_0x2bf728){let _0x28aba9=_0x1a57f0(_0x2bf728);return _0x28aba9==='max-depth'?{'valid':!0x1,'reason':_0x4b5a20(0xe2)}:_0x28aba9===_0x4b5a20(0xf0)?{'valid':!0x1,'reason':_0x4b5a20(0xf0)}:{'valid':!0x1,'reason':'crossing'};}return{'valid':!0x0};}function _0x291252(_0x31d6f3,_0x4ac277,_0xb6f632={}){const _0x23a33b=_0x2ffee0;let _0xce906e=_0x474c4d(_0x31d6f3,_0x4ac277,_0xb6f632);if(!_0xce906e[_0x23a33b(0x126)]){var _0x21ce05;throw Error((_0x21ce05=_0xce906e[_0x23a33b(0x84)])==null?_0x23a33b(0xb4):_0x21ce05);}return[..._0x31d6f3,_0x4ac277];}function _0x186208(_0x33b3a1,_0x2d1daf){const _0x570e13=_0x2ffee0;let _0x3e9c68=_0x2d1daf['start'],_0x23e294=_0x2d1daf[_0x570e13(0x130)],_0x2af89f=[],_0x4c74e8=!0x0;for(;_0x4c74e8;){_0x4c74e8=!0x1;for(let _0xf08135 of _0x33b3a1)_0x2af89f['includes'](_0xf08135)||!_0x5e546f(_0xf08135,_0x2d1daf)||!_0x2bbe89(_0xf08135[_0x570e13(0xcb)],_0xf08135[_0x570e13(0x130)],_0x3e9c68,_0x23e294)||(_0x2af89f[_0x570e13(0xb0)](_0xf08135),_0x3e9c68=Math[_0x570e13(0x6d)](_0x3e9c68,_0xf08135[_0x570e13(0xcb)]),_0x23e294=Math[_0x570e13(0xfa)](_0x23e294,_0xf08135[_0x570e13(0x130)]),_0x4c74e8=!0x0);}if(_0x2af89f[_0x570e13(0xbe)]===0x0)return null;let [_0x3cb125]=[..._0x2af89f][_0x570e13(0x81)](_0xa12afb);return{'mergedOutline':{..._0x3cb125,'start':_0x3e9c68,'end':_0x23e294},'mergedOutlines':_0x2af89f};}function _0x6cf6c3(_0x217451,_0x4ff26e){const _0x4fe145=_0x2ffee0;return _0x217451[_0x4fe145(0x7d)](_0x563d3b=>_0x5e546f(_0x563d3b,_0x4ff26e)?!(_0x563d3b[_0x4fe145(0xcb)]>=_0x4ff26e['start']&&_0x563d3b[_0x4fe145(0x130)]<=_0x4ff26e[_0x4fe145(0x130)]):!0x0);}function _0x3ed236(_0x22af66,_0x44efb8,_0x253277,_0xca0c5f){const _0x1ff0f2=_0x2ffee0;return _0x58ad22(_0x22af66[_0x1ff0f2(0x7d)](_0x660e59=>_0x660e59[_0x1ff0f2(0x105)]===_0x44efb8&&_0x660e59['subUnitId']===_0x253277&&_0x660e59['axis']===_0xca0c5f&&_0x660e59[_0x1ff0f2(0x103)])[_0x1ff0f2(0xc0)](_0x2efc96=>({'start':_0x2efc96[_0x1ff0f2(0xcb)],'end':_0x2efc96[_0x1ff0f2(0x130)]})));}function _0x58ad22(_0x5574d8){const _0x5c16ae=_0x2ffee0;if(_0x5574d8[_0x5c16ae(0xbe)]===0x0)return[];let _0x88d7ab=[..._0x5574d8][_0x5c16ae(0x81)]((_0x4b93c7,_0xd89e7a)=>_0x4b93c7['start']-_0xd89e7a[_0x5c16ae(0xcb)]||_0x4b93c7['end']-_0xd89e7a['end']),_0x4132c9=[];for(let _0x5f05a6 of _0x88d7ab){let _0x34bccc=_0x4132c9[_0x4132c9[_0x5c16ae(0xbe)]-0x1];!_0x34bccc||_0x5f05a6[_0x5c16ae(0xcb)]>_0x34bccc[_0x5c16ae(0x130)]+0x1?_0x4132c9[_0x5c16ae(0xb0)]({..._0x5f05a6}):_0x34bccc[_0x5c16ae(0x130)]=Math['max'](_0x34bccc['end'],_0x5f05a6['end']);}return _0x4132c9;}function _0x1a25de(_0x11df0c,_0x9f1394){const _0x5ec767=_0x2ffee0;return _0x9f1394[_0x5ec767(0xcd)]<=0x0?_0x11df0c:_0x36bc5e(_0x11df0c[_0x5ec767(0xc0)](_0x1b7ec8=>_0x5e546f(_0x1b7ec8,_0x9f1394)?_0x9f1394['index']<=_0x1b7ec8[_0x5ec767(0xcb)]?{..._0x1b7ec8,'start':_0x1b7ec8[_0x5ec767(0xcb)]+_0x9f1394[_0x5ec767(0xcd)],'end':_0x1b7ec8[_0x5ec767(0x130)]+_0x9f1394[_0x5ec767(0xcd)]}:_0x1b7ec8[_0x5ec767(0xcb)]<_0x9f1394[_0x5ec767(0x102)]&&_0x9f1394[_0x5ec767(0x102)]<=_0x1b7ec8[_0x5ec767(0x130)]?{..._0x1b7ec8,'end':_0x1b7ec8[_0x5ec767(0x130)]+_0x9f1394[_0x5ec767(0xcd)]}:_0x1b7ec8:_0x1b7ec8));}function _0x58148a(_0x5331ab,_0x29ed33){const _0x47150a=_0x2ffee0;if(_0x29ed33[_0x47150a(0xcb)]>_0x29ed33['end'])return _0x5331ab;let _0x810266=_0x29ed33[_0x47150a(0x130)]-_0x29ed33['start']+0x1,_0x1a5c36=[];for(let _0x36ceaf of _0x5331ab){if(!_0x5e546f(_0x36ceaf,_0x29ed33)){_0x1a5c36[_0x47150a(0xb0)](_0x36ceaf);continue;}if(_0x36ceaf[_0x47150a(0x130)]<_0x29ed33[_0x47150a(0xcb)]){_0x1a5c36['push'](_0x36ceaf);continue;}if(_0x36ceaf['start']>_0x29ed33['end']){_0x1a5c36['push']({..._0x36ceaf,'start':_0x36ceaf['start']-_0x810266,'end':_0x36ceaf['end']-_0x810266});continue;}let _0x49146e=Math['max'](_0x36ceaf[_0x47150a(0xcb)],_0x29ed33[_0x47150a(0xcb)]),_0x40d71c=Math[_0x47150a(0x6d)](_0x36ceaf[_0x47150a(0x130)],_0x29ed33[_0x47150a(0x130)]),_0x7e03d4=Math[_0x47150a(0xfa)](0x0,_0x40d71c-_0x49146e+0x1),_0x19386f=_0x36ceaf[_0x47150a(0x130)]-_0x36ceaf['start']+0x1-_0x7e03d4;if(_0x19386f<=0x0)continue;let _0x45fa15=_0x36ceaf['start']<_0x29ed33['start']?_0x36ceaf[_0x47150a(0xcb)]:_0x29ed33[_0x47150a(0xcb)];_0x1a5c36[_0x47150a(0xb0)]({..._0x36ceaf,'start':_0x45fa15,'end':_0x45fa15+_0x19386f-0x1});}return _0x36bc5e(_0x1a5c36);}function _0x5b9b7e(_0x32ab66,_0x55f8d1){const _0x59d30d=_0x2ffee0;if(_0x55f8d1[_0x59d30d(0x13c)]>_0x55f8d1[_0x59d30d(0x7b)])return _0x32ab66;let _0x9c2f9a=[];for(let _0x166385 of _0x32ab66){if(!_0x5e546f(_0x166385,_0x55f8d1)){_0x9c2f9a[_0x59d30d(0xb0)](_0x166385);continue;}let _0xb2bf20=_0x2d0b3a(_0x166385,_0x55f8d1);if(_0xb2bf20['type']===_0x59d30d(0x11a))throw new _0x107762(_0x59d30d(0xe0),_0x59d30d(0x88)+_0x166385['id'],_0x166385['id']);_0x9c2f9a[_0x59d30d(0xb0)](_0xb2bf20[_0x59d30d(0x85)]);}return _0x36bc5e(_0x9c2f9a);}function _0x2d0b3a(_0x211803,_0x166f5d){const _0x441665=_0x2ffee0;let _0x190491=_0x21ffe1(_0x166f5d[_0x441665(0x13c)],_0x166f5d[_0x441665(0x7b)]+0x1,_0x166f5d[_0x441665(0xaf)]),_0xe4c5a8=[],_0x54643f={'start':_0x211803[_0x441665(0xcb)],'end':_0x211803[_0x441665(0x130)]+0x1};for(let _0x10b8a6 of _0x190491){let _0x28d364=_0x45858d(_0x54643f,_0x10b8a6[_0x441665(0xb7)]);_0x28d364&&_0xe4c5a8[_0x441665(0xb0)]({'start':_0x28d364[_0x441665(0xcb)]+_0x10b8a6[_0x441665(0x125)],'end':_0x28d364[_0x441665(0x130)]+_0x10b8a6[_0x441665(0x125)]});}let _0x393d2e=_0x42bd6e(_0xe4c5a8);return _0x393d2e[_0x441665(0xbe)]===0x1?{'type':'ok','outline':{..._0x211803,'start':_0x393d2e[0x0][_0x441665(0xcb)],'end':_0x393d2e[0x0][_0x441665(0x130)]-0x1}}:{'type':_0x441665(0x11a),'outline':_0x211803,'ranges':_0x393d2e};}function _0x21ffe1(_0x21cbf5,_0x19d0de,_0x58f0a2){const _0x4e3232=_0x2ffee0;let _0x5a8ece=_0x19d0de-_0x21cbf5;if(_0x5a8ece<=0x0)throw Error(_0x4e3232(0xd4));return _0x58f0a2>=_0x21cbf5&&_0x58f0a2<=_0x19d0de?[{'range':{'start':0x0,'end':_0x58bab8},'offset':0x0}]:_0x58f0a2<_0x21cbf5?[{'range':{'start':0x0,'end':_0x58f0a2},'offset':0x0},{'range':{'start':_0x58f0a2,'end':_0x21cbf5},'offset':_0x5a8ece},{'range':{'start':_0x21cbf5,'end':_0x19d0de},'offset':_0x58f0a2-_0x21cbf5},{'range':{'start':_0x19d0de,'end':_0x58bab8},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x21cbf5},'offset':0x0},{'range':{'start':_0x21cbf5,'end':_0x19d0de},'offset':_0x58f0a2-_0x19d0de},{'range':{'start':_0x19d0de,'end':_0x58f0a2},'offset':-_0x5a8ece},{'range':{'start':_0x58f0a2,'end':_0x58bab8},'offset':0x0}];}function _0x45858d(_0x32e6dd,_0x4722b2){const _0x3db75f=_0x2ffee0;let _0x3831a6=Math[_0x3db75f(0xfa)](_0x32e6dd['start'],_0x4722b2['start']),_0x47f57d=Math[_0x3db75f(0x6d)](_0x32e6dd['end'],_0x4722b2[_0x3db75f(0x130)]);return _0x3831a6>=_0x47f57d?null:{'start':_0x3831a6,'end':_0x47f57d};}function _0x42bd6e(_0x5bb8c9){const _0x3f8918=_0x2ffee0;if(_0x5bb8c9['length']===0x0)return[];let _0x2b3bda=[..._0x5bb8c9][_0x3f8918(0x81)]((_0x240d6d,_0xa20015)=>_0x240d6d[_0x3f8918(0xcb)]-_0xa20015['start']||_0x240d6d[_0x3f8918(0x130)]-_0xa20015['end']),_0x32ab9c=[];for(let _0x1ee0fb of _0x2b3bda){let _0x262790=_0x32ab9c[_0x32ab9c['length']-0x1];!_0x262790||_0x1ee0fb[_0x3f8918(0xcb)]>_0x262790[_0x3f8918(0x130)]?_0x32ab9c[_0x3f8918(0xb0)]({..._0x1ee0fb}):_0x262790[_0x3f8918(0x130)]=Math[_0x3f8918(0xfa)](_0x262790[_0x3f8918(0x130)],_0x1ee0fb['end']);}return _0x32ab9c;}function _0x2bbe89(_0x5f4202,_0x5306ef,_0x107f31,_0x32868e){return _0x5306ef+0x1===_0x107f31||_0x32868e+0x1===_0x5f4202;}function _0x36bc5e(_0x5df52b){let _0x141298=_0xa41765(_0x5df52b);return _0x4a4597(_0x141298),_0x141298;}function _0xa41765(_0xa697ab){const _0xa39517=_0x2ffee0;let _0x5b510=new Map();for(let _0x4a706f of _0xa697ab){let _0x32fd6c=[_0x4a706f[_0xa39517(0x105)],_0x4a706f[_0xa39517(0x10f)],_0x4a706f['axis'],_0x4a706f['start'],_0x4a706f['end']]['join'](':'),_0x5995d9=_0x5b510['get'](_0x32fd6c);if(!_0x5995d9){_0x5b510['set'](_0x32fd6c,_0x4a706f);continue;}_0x5b510['set'](_0x32fd6c,{..._0x5995d9,'collapsed':_0x5995d9[_0xa39517(0x103)]||_0x4a706f[_0xa39517(0x103)]});}return Array[_0xa39517(0x10c)](_0x5b510['values']());}function _0xa12afb(_0x4b964e,_0x1b0f9b){const _0x16999f=_0x2ffee0;return _0x4b964e['unitId']===_0x1b0f9b[_0x16999f(0x105)]?_0x4b964e[_0x16999f(0x10f)]===_0x1b0f9b[_0x16999f(0x10f)]?_0x4b964e[_0x16999f(0x7a)]===_0x1b0f9b[_0x16999f(0x7a)]?_0x4b964e[_0x16999f(0xcb)]===_0x1b0f9b[_0x16999f(0xcb)]?_0x1b0f9b[_0x16999f(0x130)]-_0x4b964e['end']:_0x4b964e['start']-_0x1b0f9b[_0x16999f(0xcb)]:_0x4b964e[_0x16999f(0x7a)]['localeCompare'](_0x1b0f9b[_0x16999f(0x7a)]):_0x4b964e[_0x16999f(0x10f)]['localeCompare'](_0x1b0f9b[_0x16999f(0x10f)]):_0x4b964e[_0x16999f(0x105)][_0x16999f(0xb8)](_0x1b0f9b[_0x16999f(0x105)]);}function _0x320e95(_0x275463){const _0x26bd03=_0x2ffee0;if(_0x275463[_0x26bd03(0xcb)]>_0x275463[_0x26bd03(0x130)])throw new _0x107762(_0x26bd03(0xf0),_0x26bd03(0x127),_0x275463['id']);}function _0x5c4b3b(_0x3e1d54,_0x591220){const _0x31b2c0=_0x2ffee0;let _0x20b722=_0x3e1d54[_0x31b2c0(0xcb)]<=_0x591220[_0x31b2c0(0x130)]&&_0x591220[_0x31b2c0(0xcb)]<=_0x3e1d54[_0x31b2c0(0x130)],_0x2a2420=_0x3e1d54[_0x31b2c0(0xcb)]<=_0x591220['start']&&_0x591220['end']<=_0x3e1d54[_0x31b2c0(0x130)],_0x398ba8=_0x591220['start']<=_0x3e1d54[_0x31b2c0(0xcb)]&&_0x3e1d54[_0x31b2c0(0x130)]<=_0x591220[_0x31b2c0(0x130)];return _0x20b722&&!_0x2a2420&&!_0x398ba8;}function _0x277d7f(_0x48648a){'@babel/helpers - typeof';const _0x5005c4=_0x2ffee0;return _0x277d7f=typeof Symbol==_0x5005c4(0xc3)&&typeof Symbol[_0x5005c4(0x12c)]=='symbol'?function(_0x2459a6){return typeof _0x2459a6;}:function(_0x23735d){const _0x1a6c70=_0x5005c4;return _0x23735d&&typeof Symbol==_0x1a6c70(0xc3)&&_0x23735d[_0x1a6c70(0x148)]===Symbol&&_0x23735d!==Symbol['prototype']?'symbol':typeof _0x23735d;},_0x277d7f(_0x48648a);}function _0x46adef(_0x33778b,_0x40a815){const _0x70f82b=_0x2ffee0;if(_0x277d7f(_0x33778b)!=_0x70f82b(0xc2)||!_0x33778b)return _0x33778b;var _0x293343=_0x33778b[Symbol[_0x70f82b(0x13f)]];if(_0x293343!==void 0x0){var _0x3832d1=_0x293343[_0x70f82b(0xa4)](_0x33778b,_0x40a815||_0x70f82b(0x75));if(_0x277d7f(_0x3832d1)!=_0x70f82b(0xc2))return _0x3832d1;throw TypeError(_0x70f82b(0x10b));}return(_0x40a815==='string'?String:Number)(_0x33778b);}function _0xfedd51(_0x1a3090){var _0x73fa69=_0x46adef(_0x1a3090,'string');return _0x277d7f(_0x73fa69)=='symbol'?_0x73fa69:_0x73fa69+'';}function _0x5761ea(_0x4f8349,_0x30ac6d,_0x39ee07){const _0x145781=_0x2ffee0;return(_0x30ac6d=_0xfedd51(_0x30ac6d))in _0x4f8349?Object[_0x145781(0x90)](_0x4f8349,_0x30ac6d,{'value':_0x39ee07,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f8349[_0x30ac6d]=_0x39ee07,_0x4f8349;}var _0x46e8db=class extends _0x15bede[_0x2ffee0(0x14b)]{constructor(..._0x49b49a){const _0x5e8d13=_0x2ffee0;super(..._0x49b49a),_0x5761ea(this,_0x5e8d13(0x67),new Map()),_0x5761ea(this,'_change$',new _0x5710e6['Subject']()),_0x5761ea(this,_0x5e8d13(0x12b),this[_0x5e8d13(0x80)][_0x5e8d13(0x138)]());}['getOutlines'](_0x44ba5d,_0x5b9049){const _0x2fd64a=_0x2ffee0;var _0x57c5f8,_0x98de5f;return[...(_0x57c5f8=(_0x98de5f=this[_0x2fd64a(0x67)][_0x2fd64a(0xea)](_0x44ba5d))==null?void 0x0:_0x98de5f[_0x2fd64a(0xea)](_0x5b9049))==null?[]:_0x57c5f8];}['getUnitOutlines'](_0x54d605){const _0x24cea6=_0x2ffee0;let _0x492d0e=this['_outlines']['get'](_0x54d605),_0x48eefe=new Map();return _0x492d0e==null||_0x492d0e[_0x24cea6(0x108)]((_0x14815a,_0x273373)=>{const _0x5aa3ef=_0x24cea6;_0x48eefe[_0x5aa3ef(0x12f)](_0x273373,[..._0x14815a]);}),_0x48eefe;}[_0x2ffee0(0xb3)](_0x5ae1b7,_0x3091f0,_0x20e84d){const _0xaf51f4=_0x2ffee0;this[_0xaf51f4(0xb5)](_0x5ae1b7)[_0xaf51f4(0x12f)](_0x3091f0,[..._0x20e84d]),this[_0xaf51f4(0x80)]['next']({'unitId':_0x5ae1b7,'subUnitId':_0x3091f0});}[_0x2ffee0(0xd9)](_0x53e4a9){const _0x297bc5=_0x2ffee0;this[_0x297bc5(0x67)][_0x297bc5(0xcf)](_0x53e4a9),this['_change$'][_0x297bc5(0xa6)]({'unitId':_0x53e4a9});}[_0x2ffee0(0xdb)](_0x18ea0e){const _0x4e602b=_0x2ffee0;let _0x3b3c9d=this[_0x4e602b(0x67)][_0x4e602b(0xea)](_0x18ea0e),_0x2fcd33={};return _0x3b3c9d==null||_0x3b3c9d[_0x4e602b(0x108)]((_0x26a1c0,_0xac1e4a)=>{_0x2fcd33[_0xac1e4a]={'outlineList':[..._0x26a1c0]};}),_0x2fcd33;}['deserialize'](_0xdb0c7f,_0x453dcf){const _0x5b98cb=_0x2ffee0;let _0x3af181=new Map();Object[_0x5b98cb(0xf5)](_0x453dcf)[_0x5b98cb(0x108)](([_0x2a156f,_0x3c336d])=>{const _0x25b757=_0x5b98cb;var _0x15b34a;_0x3af181[_0x25b757(0x12f)](_0x2a156f,[...(_0x15b34a=_0x3c336d[_0x25b757(0xde)])==null?[]:_0x15b34a]);}),this[_0x5b98cb(0x67)]['set'](_0xdb0c7f,_0x3af181),this[_0x5b98cb(0x80)][_0x5b98cb(0xa6)]({'unitId':_0xdb0c7f});}[_0x2ffee0(0x91)](){const _0x2e5112=_0x2ffee0;super[_0x2e5112(0x91)](),this[_0x2e5112(0x67)][_0x2e5112(0xd7)](),this[_0x2e5112(0x80)][_0x2e5112(0x8a)]();}[_0x2ffee0(0xb5)](_0x58d694){const _0x3302d4=_0x2ffee0;let _0x307137=this['_outlines']['get'](_0x58d694);return _0x307137||(_0x307137=new Map(),this[_0x3302d4(0x67)][_0x3302d4(0x12f)](_0x58d694,_0x307137)),_0x307137;}},_0x175642=class extends _0x15bede['Disposable']{constructor(..._0x52a3a3){const _0x117514=_0x2ffee0;super(..._0x52a3a3),_0x5761ea(this,_0x117514(0xee),new _0x5710e6['Subject']()),_0x5761ea(this,_0x117514(0xeb),this[_0x117514(0xee)][_0x117514(0x138)]());}[_0x2ffee0(0x13a)](_0x4d8db9){const _0x2b5b24=_0x2ffee0;this[_0x2b5b24(0xee)][_0x2b5b24(0xa6)](_0x4d8db9);}[_0x2ffee0(0x91)](){const _0x1ae49e=_0x2ffee0;super['dispose'](),this[_0x1ae49e(0xee)][_0x1ae49e(0x8a)]();}};let _0x135212={'id':'sheet.mutation.add-dimension-outline','type':_0x15bede[_0x2ffee0(0xe5)]['MUTATION'],'handler':(_0x42ebf6,_0x17545e)=>{const _0x19d01a=_0x2ffee0;let _0x1d01a8=_0x42ebf6[_0x19d01a(0xea)](_0x46e8db),_0x31d632=_0x1d01a8[_0x19d01a(0xa3)](_0x17545e['unitId'],_0x17545e[_0x19d01a(0x10f)]);return _0x1d01a8[_0x19d01a(0xb3)](_0x17545e[_0x19d01a(0x105)],_0x17545e[_0x19d01a(0x10f)],_0x291252(_0x31d632,_0x17545e[_0x19d01a(0x85)])),!0x0;}},_0x2db143={'id':_0x2ffee0(0x122),'type':_0x15bede['CommandType'][_0x2ffee0(0x124)],'handler':(_0x58b6c7,_0x29d4ef)=>{const _0x4f46a3=_0x2ffee0;let _0x1a00de=_0x58b6c7[_0x4f46a3(0xea)](_0x46e8db),_0x1123d6=_0x1a00de[_0x4f46a3(0xa3)](_0x29d4ef[_0x4f46a3(0x105)],_0x29d4ef[_0x4f46a3(0x10f)]);return _0x1a00de[_0x4f46a3(0xb3)](_0x29d4ef[_0x4f46a3(0x105)],_0x29d4ef[_0x4f46a3(0x10f)],_0x1123d6['filter'](_0x1b36de=>_0x1b36de['id']!==_0x29d4ef['outlineId'])),!0x0;}};function _0x321175(_0x245d31,_0x11effd,_0x635bbb){const _0x23d6e7=_0x2ffee0;let _0x437482=_0x314670(_0x245d31);return _0x437482?_0x437482[_0x23d6e7(0x149)]({'workbookTypes':[_0x27320c[_0x23d6e7(0xd8)]],'worksheetTypes':[_0x27320c['WorksheetViewPermission']]},_0x11effd,_0x635bbb):!0x0;}function _0x1d1081(_0x4b9286,_0x113ec7,_0x26f78a){const _0x209d72=_0x2ffee0;var _0x38712d;let _0x29fa5d=_0x34e42d(_0x4b9286);return((_0x38712d=_0x29fa5d==null?void 0x0:_0x29fa5d[_0x209d72(0x144)])==null?(0x0,_0x5710e6['of'])(null):_0x38712d)[_0x209d72(0x101)]((0x0,_0x1cded8[_0x209d72(0xae)])(0x64),(0x0,_0x1cded8[_0x209d72(0x131)])(null),(0x0,_0x1cded8[_0x209d72(0xc0)])(()=>_0x321175(_0x4b9286,_0x113ec7,_0x26f78a)));}function _0x314670(_0x388b80){const _0x19abd4=_0x2ffee0;if(typeof _0x388b80['has']==_0x19abd4(0xc3)&&!_0x388b80[_0x19abd4(0x134)](_0x27320c[_0x19abd4(0x93)]))return null;try{return _0x388b80['get'](_0x27320c[_0x19abd4(0x93)]);}catch{return null;}}function _0x34e42d(_0x411d94){const _0x18a3b4=_0x2ffee0;if(typeof _0x411d94[_0x18a3b4(0x134)]==_0x18a3b4(0xc3)&&!_0x411d94['has'](_0x15bede['IPermissionService']))return null;try{return _0x411d94[_0x18a3b4(0xea)](_0x15bede['IPermissionService']);}catch{return null;}}let _0x38698a={'id':_0x2ffee0(0x12e),'type':_0x15bede['CommandType'][_0x2ffee0(0x8f)],'handler':(_0x402ab3,_0x4308f3)=>{const _0x4384c6=_0x2ffee0;var _0x6a3925,_0x3c81c8;if(!_0x4308f3)return!0x1;let _0x5480c0=(0x0,_0x27320c[_0x4384c6(0xbb)])(_0x402ab3[_0x4384c6(0xea)](_0x15bede[_0x4384c6(0x79)]),_0x4308f3);if(!_0x5480c0)return!0x1;let {unitId:_0x7096c0,subUnitId:_0x103f72,worksheet:_0x4d01c0}=_0x5480c0;if(!_0x321175(_0x402ab3,_0x7096c0,_0x103f72))return!0x1;let _0x11e773=_0x402ab3[_0x4384c6(0xea)](_0x46e8db),_0x1e85af={'id':_0x4384c6(0xe8)+(0x0,_0x15bede[_0x4384c6(0x8e)])(0x6),'unitId':_0x7096c0,'subUnitId':_0x103f72,'axis':_0x4308f3[_0x4384c6(0x7a)],'start':_0x4308f3[_0x4384c6(0xcb)],'end':_0x4308f3[_0x4384c6(0x130)],'collapsed':!0x1},_0x331e74=_0x4308f3['axis']==='row'?_0x4d01c0[_0x4384c6(0xbc)]():_0x4d01c0[_0x4384c6(0x107)](),_0x22de8e=_0x11e773[_0x4384c6(0xa3)](_0x7096c0,_0x103f72),_0x33f841=_0x186208(_0x22de8e,_0x1e85af),_0x2abedd=(_0x6a3925=_0x33f841==null?void 0x0:_0x33f841[_0x4384c6(0xfb)])==null?[]:_0x6a3925,_0x3056cb=(_0x3c81c8=_0x33f841==null?void 0x0:_0x33f841[_0x4384c6(0x7c)])==null?_0x1e85af:_0x3c81c8,_0x5cbe2e=_0x474c4d(_0x33f841?_0x22de8e[_0x4384c6(0x7d)](_0x25a925=>!_0x2abedd[_0x4384c6(0xec)](_0x1f3ebf=>_0x1f3ebf['id']===_0x25a925['id'])):_0x22de8e,_0x3056cb,{'maxIndex':_0x331e74});if(!_0x5cbe2e['valid']){var _0x5a43fa;return _0x402ab3['get'](_0x175642)[_0x4384c6(0x13a)]({'reason':(_0x5a43fa=_0x5cbe2e['reason'])==null?_0x4384c6(0xfd):_0x5a43fa,'commandId':_0x38698a['id'],'unitId':_0x7096c0,'subUnitId':_0x103f72,'axis':_0x4308f3[_0x4384c6(0x7a)],'outlineId':_0x3056cb['id']}),!0x1;}let _0x13bb90=[..._0x2abedd[_0x4384c6(0xc0)](_0x253bf9=>({'id':_0x2db143['id'],'params':{'unitId':_0x7096c0,'subUnitId':_0x103f72,'outlineId':_0x253bf9['id']}})),{'id':_0x135212['id'],'params':{'unitId':_0x7096c0,'subUnitId':_0x103f72,'outline':_0x3056cb}}],_0x450199=[{'id':_0x2db143['id'],'params':{'unitId':_0x7096c0,'subUnitId':_0x103f72,'outlineId':_0x3056cb['id']}},..._0x2abedd[_0x4384c6(0xc0)](_0xccf4c9=>({'id':_0x135212['id'],'params':{'unitId':_0x7096c0,'subUnitId':_0x103f72,'outline':_0xccf4c9}}))];return(0x0,_0x15bede['sequenceExecute'])(_0x13bb90,_0x402ab3[_0x4384c6(0xea)](_0x15bede[_0x4384c6(0x96)]))[_0x4384c6(0x100)]?(_0x402ab3['get'](_0x15bede['IUndoRedoService'])[_0x4384c6(0x73)]({'unitID':_0x7096c0,'undoMutations':_0x450199,'redoMutations':_0x13bb90}),!0x0):!0x1;}},_0xebe259={'id':_0x2ffee0(0x128),'type':_0x15bede['CommandType'][_0x2ffee0(0x124)],'handler':(_0x24e78e,_0xb2d800)=>{const _0x342215=_0x2ffee0;let _0x2f3634=_0x24e78e[_0x342215(0xea)](_0x46e8db),_0x10d9f0=_0x2f3634[_0x342215(0xa3)](_0xb2d800[_0x342215(0x105)],_0xb2d800['subUnitId']);return _0x2f3634[_0x342215(0xb3)](_0xb2d800['unitId'],_0xb2d800[_0x342215(0x10f)],_0x6cf6c3(_0x10d9f0,_0xb2d800)),!0x0;}},_0x22d734={'id':_0x2ffee0(0xf4),'type':_0x15bede[_0x2ffee0(0xe5)]['COMMAND'],'handler':(_0x1d8319,_0x4da472)=>{const _0x5a898f=_0x2ffee0;if(!_0x4da472)return!0x1;let _0x159731=(0x0,_0x27320c[_0x5a898f(0xbb)])(_0x1d8319['get'](_0x15bede[_0x5a898f(0x79)]),_0x4da472);if(!_0x159731)return!0x1;let {unitId:_0x350ce8,subUnitId:_0x32cc2e}=_0x159731;if(!_0x321175(_0x1d8319,_0x350ce8,_0x32cc2e))return!0x1;let _0x11a51b={'unitId':_0x350ce8,'subUnitId':_0x32cc2e,'axis':_0x4da472[_0x5a898f(0x7a)],'start':_0x4da472[_0x5a898f(0xcb)],'end':_0x4da472[_0x5a898f(0x130)]},_0x185fbc=_0x1d8319[_0x5a898f(0xea)](_0x46e8db)[_0x5a898f(0xa3)](_0x350ce8,_0x32cc2e)[_0x5a898f(0x7d)](_0x27be5e=>_0x5e546f(_0x27be5e,_0x11a51b)&&_0x27be5e[_0x5a898f(0xcb)]>=_0x4da472[_0x5a898f(0xcb)]&&_0x27be5e['end']<=_0x4da472[_0x5a898f(0x130)]);if(_0x185fbc[_0x5a898f(0xbe)]===0x0)return _0x1d8319[_0x5a898f(0xea)](_0x175642)[_0x5a898f(0x13a)]({'reason':_0x5a898f(0xe4),'commandId':_0x22d734['id'],'unitId':_0x350ce8,'subUnitId':_0x32cc2e,'axis':_0x4da472[_0x5a898f(0x7a)]}),!0x1;let _0x30e8ff=[{'id':_0xebe259['id'],'params':{..._0x11a51b,'removedOutlineIds':_0x185fbc['map'](_0x1806ba=>_0x1806ba['id'])}}],_0x2fd8a4=_0x185fbc[_0x5a898f(0xc0)](_0xe2f5bb=>({'id':_0x135212['id'],'params':{'unitId':_0x350ce8,'subUnitId':_0x32cc2e,'outline':_0xe2f5bb}}));return(0x0,_0x15bede[_0x5a898f(0x139)])(_0x30e8ff,_0x1d8319[_0x5a898f(0xea)](_0x15bede[_0x5a898f(0x96)]))[_0x5a898f(0x100)]?(_0x1d8319[_0x5a898f(0xea)](_0x15bede['IUndoRedoService'])[_0x5a898f(0x73)]({'unitID':_0x350ce8,'undoMutations':_0x2fd8a4,'redoMutations':_0x30e8ff}),!0x0):!0x1;}},_0x1381e8={'id':'sheet.command.remove-dimension-outline','type':_0x15bede[_0x2ffee0(0xe5)][_0x2ffee0(0x8f)],'handler':(_0x4f66e8,_0x31e04a)=>{const _0x903216=_0x2ffee0;if(!_0x31e04a)return!0x1;let _0x425b93=(0x0,_0x27320c[_0x903216(0xbb)])(_0x4f66e8[_0x903216(0xea)](_0x15bede[_0x903216(0x79)]),_0x31e04a);if(!_0x425b93)return!0x1;let {unitId:_0x49375d,subUnitId:_0x5dfce1}=_0x425b93;if(!_0x321175(_0x4f66e8,_0x49375d,_0x5dfce1))return!0x1;let _0x2e68ab=_0x4f66e8['get'](_0x46e8db)[_0x903216(0xa3)](_0x49375d,_0x5dfce1)[_0x903216(0xc1)](_0x2d0b56=>_0x2d0b56['id']===_0x31e04a['outlineId']);if(!_0x2e68ab)return!0x1;let _0x425b5d=[{'id':_0x2db143['id'],'params':{'unitId':_0x49375d,'subUnitId':_0x5dfce1,'outlineId':_0x2e68ab['id'],'outline':_0x2e68ab}}],_0x5f3c13=[{'id':_0x135212['id'],'params':{'unitId':_0x49375d,'subUnitId':_0x5dfce1,'outline':_0x2e68ab}}];return(0x0,_0x15bede[_0x903216(0x139)])(_0x425b5d,_0x4f66e8['get'](_0x15bede['ICommandService']))[_0x903216(0x100)]?(_0x4f66e8[_0x903216(0xea)](_0x15bede[_0x903216(0xf2)])[_0x903216(0x73)]({'unitID':_0x49375d,'undoMutations':_0x5f3c13,'redoMutations':_0x425b5d}),!0x0):!0x1;}},_0x345c71={'id':'sheet.mutation.set-dimension-outline-collapsed','type':_0x15bede['CommandType'][_0x2ffee0(0x124)],'handler':(_0x1c5fd4,_0xe51cc0)=>{const _0x1b2adc=_0x2ffee0;let _0x284a10=_0x1c5fd4[_0x1b2adc(0xea)](_0x46e8db),_0x6724eb=_0x284a10[_0x1b2adc(0xa3)](_0xe51cc0['unitId'],_0xe51cc0['subUnitId']),_0x32fa91=_0x6724eb[_0x1b2adc(0xc1)](_0x2ca172=>_0x2ca172['id']===_0xe51cc0[_0x1b2adc(0x92)]);return _0x32fa91&&_0x284a10[_0x1b2adc(0xb3)](_0xe51cc0[_0x1b2adc(0x105)],_0xe51cc0['subUnitId'],_0x6724eb[_0x1b2adc(0xc0)](_0x5806f8=>_0x5806f8[_0x1b2adc(0x105)]!==_0x32fa91['unitId']||_0x5806f8['subUnitId']!==_0x32fa91['subUnitId']||_0x5806f8[_0x1b2adc(0x7a)]!==_0x32fa91[_0x1b2adc(0x7a)]||_0x5806f8[_0x1b2adc(0xcb)]!==_0x32fa91[_0x1b2adc(0xcb)]||_0x5806f8[_0x1b2adc(0x130)]!==_0x32fa91['end']?_0x5806f8:{..._0x5806f8,'collapsed':_0xe51cc0[_0x1b2adc(0x103)]})),!0x0;}};function _0x5588b2(_0x168670,_0x2b73c6,_0x3f0127,_0x4df4f3){const _0x3e8b5c=_0x2ffee0;return _0x168670==='row'?{'startRow':_0x2b73c6,'endRow':_0x3f0127,'startColumn':0x0,'endColumn':_0x4df4f3[_0x3e8b5c(0xc6)]()-0x1}:{'startRow':0x0,'endRow':_0x4df4f3[_0x3e8b5c(0xbc)]()-0x1,'startColumn':_0x2b73c6,'endColumn':_0x3f0127};}function _0x48fab1(_0x5b9f27){const _0x3244c2=_0x2ffee0;return _0x5b9f27===_0x3244c2(0x135)?_0x27320c[_0x3244c2(0xd1)]['id']:_0x27320c[_0x3244c2(0xa7)]['id'];}function _0x23dc39(_0x57c73){const _0x1b9e6d=_0x2ffee0;return _0x57c73===_0x1b9e6d(0x135)?_0x27320c[_0x1b9e6d(0x11c)]['id']:_0x27320c['SetColVisibleMutation']['id'];}function _0x399001(_0x49f250,_0xab26ba,_0x5d8e15,_0x5f349f){const _0x1927bd=_0x2ffee0;let _0x5da765=_0xab26ba?[_0x5588b2(_0x49f250['axis'],_0x49f250['start'],_0x49f250[_0x1927bd(0x130)],_0x5d8e15)]:_0x59fb9a(_0x49f250,_0x5f349f,_0x5d8e15),_0x27a1e1=_0xab26ba?_0x48fab1(_0x49f250[_0x1927bd(0x7a)]):_0x23dc39(_0x49f250['axis']);return[{'id':_0x345c71['id'],'params':{'unitId':_0x49f250['unitId'],'subUnitId':_0x49f250[_0x1927bd(0x10f)],'outlineId':_0x49f250['id'],'outline':_0x49f250,'collapsed':_0xab26ba}},..._0x5da765[_0x1927bd(0xc0)](_0x57b1a2=>({'id':_0x27a1e1,'params':{'unitId':_0x49f250[_0x1927bd(0x105)],'subUnitId':_0x49f250[_0x1927bd(0x10f)],'ranges':[_0x57b1a2],'dimensionOutlineId':_0x49f250['id']}}))];}function _0x59fb9a(_0x2578fb,_0x215012,_0x5ef5c3){const _0xfd72f3=_0x2ffee0;let _0x47ef28=_0x3ed236(_0x215012['map'](_0x2793ab=>_0x58ff3f(_0x2793ab,_0x2578fb)?{..._0x2793ab,'collapsed':!0x1}:_0x2793ab),_0x2578fb['unitId'],_0x2578fb[_0xfd72f3(0x10f)],_0x2578fb[_0xfd72f3(0x7a)]);return _0xceccea({'start':_0x2578fb[_0xfd72f3(0xcb)],'end':_0x2578fb['end']},_0x47ef28)[_0xfd72f3(0xc0)](_0x53ec0c=>_0x5588b2(_0x2578fb[_0xfd72f3(0x7a)],_0x53ec0c[_0xfd72f3(0xcb)],_0x53ec0c['end'],_0x5ef5c3));}function _0x58ff3f(_0x2fc98c,_0x14311a){const _0x26778f=_0x2ffee0;return _0x2fc98c[_0x26778f(0x105)]===_0x14311a[_0x26778f(0x105)]&&_0x2fc98c[_0x26778f(0x10f)]===_0x14311a[_0x26778f(0x10f)]&&_0x2fc98c['axis']===_0x14311a[_0x26778f(0x7a)]&&_0x2fc98c[_0x26778f(0xcb)]===_0x14311a['start']&&_0x2fc98c['end']===_0x14311a[_0x26778f(0x130)];}function _0xceccea(_0x160b58,_0x3ce9bb){const _0x2ba2b6=_0x2ffee0;let _0x374669=_0x160b58['start'],_0x4de36a=[];for(let _0x2fdfd6 of _0x3ce9bb)if(!(_0x2fdfd6[_0x2ba2b6(0x130)]<_0x374669||_0x2fdfd6['start']>_0x160b58[_0x2ba2b6(0x130)])&&(_0x2fdfd6[_0x2ba2b6(0xcb)]>_0x374669&&_0x4de36a['push']({'start':_0x374669,'end':Math['min'](_0x2fdfd6[_0x2ba2b6(0xcb)]-0x1,_0x160b58['end'])}),_0x374669=Math['max'](_0x374669,_0x2fdfd6[_0x2ba2b6(0x130)]+0x1),_0x374669>_0x160b58[_0x2ba2b6(0x130)]))break;return _0x374669<=_0x160b58[_0x2ba2b6(0x130)]&&_0x4de36a[_0x2ba2b6(0xb0)]({'start':_0x374669,'end':_0x160b58[_0x2ba2b6(0x130)]}),_0x4de36a;}let _0x52eba8={'id':_0x2ffee0(0x14a),'type':_0x15bede[_0x2ffee0(0xe5)]['COMMAND'],'handler':(_0x10f1e8,_0x22ae65)=>{const _0x1c69a2=_0x2ffee0;if(!_0x22ae65)return!0x1;let _0x18642d=(0x0,_0x27320c['getSheetCommandTarget'])(_0x10f1e8['get'](_0x15bede[_0x1c69a2(0x79)]),_0x22ae65);if(!_0x18642d)return!0x1;let {unitId:_0x343bd5,subUnitId:_0x387d06,worksheet:_0x315949}=_0x18642d;if(!_0x321175(_0x10f1e8,_0x343bd5,_0x387d06))return!0x1;let _0x57f734=_0x10f1e8[_0x1c69a2(0xea)](_0x46e8db)[_0x1c69a2(0xa3)](_0x343bd5,_0x387d06),_0x3688ff=_0x57f734['find'](_0x419a0b=>_0x419a0b['id']===_0x22ae65['outlineId']);if(!_0x3688ff||_0x3688ff[_0x1c69a2(0x103)]===_0x22ae65[_0x1c69a2(0x103)])return!0x1;let _0xe8a254=_0x399001(_0x3688ff,_0x22ae65[_0x1c69a2(0x103)],_0x315949,_0x57f734),_0x3d5872=_0x399001(_0x3688ff,!_0x22ae65[_0x1c69a2(0x103)],_0x315949,_0x57f734);return(0x0,_0x15bede[_0x1c69a2(0x139)])(_0xe8a254,_0x10f1e8[_0x1c69a2(0xea)](_0x15bede[_0x1c69a2(0x96)]))[_0x1c69a2(0x100)]?(_0x10f1e8[_0x1c69a2(0xea)](_0x15bede[_0x1c69a2(0xf2)])[_0x1c69a2(0x73)]({'unitID':_0x343bd5,'undoMutations':_0x3d5872,'redoMutations':_0xe8a254}),!0x0):!0x1;}},_0x15b60f={'id':_0x2ffee0(0x9c),'type':_0x15bede[_0x2ffee0(0xe5)]['MUTATION'],'handler':(_0x604e9,_0x3ea715)=>{const _0x5f42ad=_0x2ffee0;let _0x4594b5=_0x604e9[_0x5f42ad(0xea)](_0x46e8db),_0x47837f=_0x565c81(_0x4594b5[_0x5f42ad(0xa3)](_0x3ea715['unitId'],_0x3ea715['subUnitId']),_0x3ea715);return _0x4594b5['setOutlines'](_0x3ea715[_0x5f42ad(0x105)],_0x3ea715['subUnitId'],_0x47837f),!0x0;}};function _0x565c81(_0x7f5860,_0x3d6db5){const _0x244249=_0x2ffee0;switch(_0x3d6db5[_0x244249(0xe1)]){case'insert':return _0x3d6db5[_0x244249(0xa2)]?_0x1e2e30(_0x7f5860,_0x3d6db5):_0x1a25de(_0x7f5860,_0x3d6db5);case _0x244249(0xcf):return _0x58148a(_0x7f5860,_0x3d6db5);case _0x244249(0x14c):return _0x5b9b7e(_0x7f5860,_0x3d6db5);}}function _0x1e2e30(_0x394d3e,_0x4d8264){const _0x1b1c26=_0x2ffee0;return[..._0x394d3e[_0x1b1c26(0x7d)](_0x556105=>_0x556105['unitId']!==_0x4d8264['unitId']||_0x556105[_0x1b1c26(0x10f)]!==_0x4d8264[_0x1b1c26(0x10f)]||_0x556105[_0x1b1c26(0x7a)]!==_0x4d8264[_0x1b1c26(0x7a)]),..._0x4d8264[_0x1b1c26(0xa2)]];}let _0x3e80e8='SHEET_OUTLINE_PLUGIN';var _0x32b844=_0x2ffee0(0xfe),_0x376c21='1.0.0-alpha.3';let _0x1e305e={};function _0x206d8a(_0x152d8a,_0x4a859b){return function(_0x3e8238,_0x2c95c7){_0x4a859b(_0x3e8238,_0x2c95c7,_0x152d8a);};}function _0x3bc4ac(_0x40920b,_0x45c5cc,_0x35b079,_0x42dc28){const _0xf9b988=_0x2ffee0;var _0x1efd5c=arguments[_0xf9b988(0xbe)],_0xa00c0a=_0x1efd5c<0x3?_0x45c5cc:_0x42dc28===null?_0x42dc28=Object[_0xf9b988(0xf9)](_0x45c5cc,_0x35b079):_0x42dc28,_0x145119;if(typeof Reflect==_0xf9b988(0xc2)&&typeof Reflect['decorate']==_0xf9b988(0xc3))_0xa00c0a=Reflect['decorate'](_0x40920b,_0x45c5cc,_0x35b079,_0x42dc28);else{for(var _0x3c122a=_0x40920b[_0xf9b988(0xbe)]-0x1;_0x3c122a>=0x0;_0x3c122a--)(_0x145119=_0x40920b[_0x3c122a])&&(_0xa00c0a=(_0x1efd5c<0x3?_0x145119(_0xa00c0a):_0x1efd5c>0x3?_0x145119(_0x45c5cc,_0x35b079,_0xa00c0a):_0x145119(_0x45c5cc,_0x35b079))||_0xa00c0a);}return _0x1efd5c>0x3&&_0xa00c0a&&Object[_0xf9b988(0x90)](_0x45c5cc,_0x35b079,_0xa00c0a),_0xa00c0a;}let _0x336af4={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x36a704=class extends _0x15bede[_0x2ffee0(0x14b)]{constructor(_0x4a20b0,_0x5083bf,_0x3a081e,_0x5e50ea){const _0x39bcba=_0x2ffee0;super(),this['_univerInstanceService']=_0x4a20b0,this['_sheetInterceptorService']=_0x5083bf,this['_sheetsOutlineModel']=_0x3a081e,this[_0x39bcba(0x132)]=_0x5e50ea,this[_0x39bcba(0x146)]();}[_0x2ffee0(0x146)](){const _0x3d8042=_0x2ffee0;this[_0x3d8042(0xa1)](this[_0x3d8042(0xca)][_0x3d8042(0x69)]({'getMutations':_0x3a1d27=>_0xbe4623(_0x3a1d27,(_0x5fb939,_0x47de47)=>this[_0x3d8042(0x13b)][_0x3d8042(0xa3)](_0x5fb939,_0x47de47),this[_0x3d8042(0x14e)](_0x3a1d27['params']),_0x1de453=>this['_sheetsOutlineErrorService'][_0x3d8042(0x13a)](_0x1de453))}));}[_0x2ffee0(0x14e)](_0xe91908){const _0x90b37b=_0x2ffee0;let _0x504808=_0xe91908,_0x228f09=_0x504808!=null&&_0x504808[_0x90b37b(0x105)]?this['_univerInstanceService'][_0x90b37b(0x87)](_0x504808[_0x90b37b(0x105)]):this[_0x90b37b(0xf6)][_0x90b37b(0x111)](_0x15bede['UniverInstanceType'][_0x90b37b(0xf1)]);if(!_0x228f09)return;let _0x45720e=_0x504808!=null&&_0x504808[_0x90b37b(0x10f)]?_0x228f09['getSheetBySheetId'](_0x504808['subUnitId']):_0x228f09[_0x90b37b(0x9e)]();if(_0x45720e)return{'unitId':_0x228f09['getUnitId'](),'subUnitId':_0x45720e[_0x90b37b(0x9b)]()};}};_0x36a704=_0x3bc4ac([_0x206d8a(0x0,_0x15bede[_0x2ffee0(0x79)]),_0x206d8a(0x1,(0x0,_0x15bede[_0x2ffee0(0xa9)])(_0x27320c[_0x2ffee0(0x109)])),_0x206d8a(0x2,(0x0,_0x15bede[_0x2ffee0(0xa9)])(_0x46e8db)),_0x206d8a(0x3,(0x0,_0x15bede['Inject'])(_0x175642))],_0x36a704);function _0xbe4623(_0x199963,_0x31a52f,_0x330865,_0x22c35e){const _0xe20700=_0x2ffee0;let _0x2f14ae=_0x3f5b56(_0x199963,_0x330865);if(!_0x2f14ae)return _0x3f148f();let _0x13adb0=_0x31a52f(_0x2f14ae[_0xe20700(0x105)],_0x2f14ae[_0xe20700(0x10f)]);if(!_0x13adb0[_0xe20700(0xec)](_0x106265=>_0x106265[_0xe20700(0x7a)]===_0x2f14ae[_0xe20700(0x7a)]))return _0x3f148f();_0x3e52e9(_0x13adb0,_0x2f14ae,_0x199963['id'],_0x22c35e);let _0x182bda=_0x2f6d34(_0x2f14ae,_0x13adb0);return{'redos':[{'id':_0x15b60f['id'],'params':_0x2f14ae}],'undos':[{'id':_0x15b60f['id'],'params':_0x182bda}],'preRedos':[],'preUndos':[]};}function _0x3e52e9(_0x47b0c3,_0x4c22a8,_0x15f728,_0xe3124a){const _0x5269df=_0x2ffee0;try{switch(_0x4c22a8[_0x5269df(0xe1)]){case'insert':_0x1a25de(_0x47b0c3,_0x4c22a8);break;case'delete':_0x58148a(_0x47b0c3,_0x4c22a8);break;case _0x5269df(0x14c):_0x5b9b7e(_0x47b0c3,_0x4c22a8);break;}}catch(_0x3c3fa6){throw _0xe3124a==null||_0xe3124a({'reason':_0x1a57f0(_0x3c3fa6),'commandId':_0x15f728,'unitId':_0x4c22a8['unitId'],'subUnitId':_0x4c22a8[_0x5269df(0x10f)],'axis':_0x4c22a8[_0x5269df(0x7a)],'outlineId':_0x4c9456(_0x3c3fa6)}),new _0x15bede[(_0x5269df(0x104))](_0x3c3fa6 instanceof Error?_0x3c3fa6[_0x5269df(0xa5)]:'Invalid\x20dimension\x20outline\x20mutation');}}function _0x3f5b56(_0x33d4a8,_0x1b84e5){const _0x4f3cf9=_0x2ffee0;switch(_0x33d4a8['id']){case _0x27320c['InsertRowCommand']['id']:return _0x37daa9(_0x33d4a8[_0x4f3cf9(0xdc)],'row',_0x1b84e5);case _0x27320c[_0x4f3cf9(0xed)]['id']:return _0x37daa9(_0x33d4a8[_0x4f3cf9(0xdc)],_0x4f3cf9(0xc5),_0x1b84e5);case _0x27320c['RemoveRowCommand']['id']:return _0x5d5928(_0x33d4a8[_0x4f3cf9(0xdc)],'row',_0x1b84e5);case _0x27320c[_0x4f3cf9(0x77)]['id']:return _0x5d5928(_0x33d4a8['params'],_0x4f3cf9(0xc5),_0x1b84e5);case _0x27320c[_0x4f3cf9(0xaa)]['id']:return _0x17c731(_0x33d4a8[_0x4f3cf9(0xdc)],'row',_0x1b84e5);case _0x27320c[_0x4f3cf9(0x117)]['id']:return _0x17c731(_0x33d4a8['params'],'column',_0x1b84e5);default:return null;}}function _0x37daa9(_0x44843b,_0x18abb8,_0xfd7f32){const _0x5cce59=_0x2ffee0;let _0x1f857f=_0x97ad07(_0x44843b,_0xfd7f32);if(!(_0x44843b!=null&&_0x44843b[_0x5cce59(0xb7)])||!_0x1f857f)return null;let _0xf8aead=_0x18abb8==='row'?_0x44843b[_0x5cce59(0xb7)][_0x5cce59(0x143)]:_0x44843b[_0x5cce59(0xb7)][_0x5cce59(0x14d)],_0x21c006=_0x18abb8===_0x5cce59(0x135)?_0x44843b[_0x5cce59(0xb7)][_0x5cce59(0x114)]:_0x44843b[_0x5cce59(0xb7)][_0x5cce59(0x10d)];return{..._0x1f857f,'axis':_0x18abb8,'type':'insert','index':_0xf8aead,'count':_0x21c006-_0xf8aead+0x1};}function _0x5d5928(_0x5d2a67,_0x7b2092,_0x400120){const _0x27258c=_0x2ffee0;let _0x5ceb15=_0x97ad07(_0x5d2a67,_0x400120);if(!(_0x5d2a67!=null&&_0x5d2a67[_0x27258c(0xb7)])||!_0x5ceb15)return null;let _0x4c7a8b=_0x7b2092===_0x27258c(0x135)?_0x5d2a67['range'][_0x27258c(0x143)]:_0x5d2a67[_0x27258c(0xb7)][_0x27258c(0x14d)],_0xb8ca58=_0x7b2092===_0x27258c(0x135)?_0x5d2a67[_0x27258c(0xb7)][_0x27258c(0x114)]:_0x5d2a67['range'][_0x27258c(0x10d)];return{..._0x5ceb15,'axis':_0x7b2092,'type':_0x27258c(0xcf),'start':_0x4c7a8b,'end':_0xb8ca58};}function _0x17c731(_0x4f0ac0,_0x5e6161,_0x5239e4){const _0x536b6a=_0x2ffee0;let _0x4a1c1f=_0x97ad07(_0x4f0ac0,_0x5239e4);if(!(_0x4f0ac0!=null&&_0x4f0ac0[_0x536b6a(0x13d)])||!_0x4f0ac0['toRange']||!_0x4a1c1f)return null;let _0x5b1f46=_0x5e6161===_0x536b6a(0x135)?_0x4f0ac0[_0x536b6a(0x13d)]['startRow']:_0x4f0ac0[_0x536b6a(0x13d)][_0x536b6a(0x14d)],_0xdbb1d7=_0x5e6161==='row'?_0x4f0ac0[_0x536b6a(0x13d)][_0x536b6a(0x114)]:_0x4f0ac0[_0x536b6a(0x13d)][_0x536b6a(0x10d)],_0xf412c2=_0x5e6161===_0x536b6a(0x135)?_0x4f0ac0[_0x536b6a(0x11b)]['startRow']:_0x4f0ac0[_0x536b6a(0x11b)][_0x536b6a(0x14d)];return{..._0x4a1c1f,'axis':_0x5e6161,'type':_0x536b6a(0x14c),'sourceStart':_0x5b1f46,'sourceEnd':_0xdbb1d7,'destinationIndex':_0xf412c2};}function _0x2f6d34(_0x29d154,_0x56a870){const _0x2b5da4=_0x2ffee0;switch(_0x29d154[_0x2b5da4(0xe1)]){case _0x2b5da4(0x116):return{'unitId':_0x29d154[_0x2b5da4(0x105)],'subUnitId':_0x29d154[_0x2b5da4(0x10f)],'axis':_0x29d154['axis'],'type':_0x2b5da4(0xcf),'start':_0x29d154['index'],'end':_0x29d154[_0x2b5da4(0x102)]+_0x29d154[_0x2b5da4(0xcd)]-0x1};case _0x2b5da4(0xcf):return{'unitId':_0x29d154['unitId'],'subUnitId':_0x29d154[_0x2b5da4(0x10f)],'axis':_0x29d154[_0x2b5da4(0x7a)],'type':_0x2b5da4(0x116),'index':_0x29d154['start'],'count':_0x29d154['end']-_0x29d154[_0x2b5da4(0xcb)]+0x1,'restoreOutlines':_0x56a870[_0x2b5da4(0x7d)](_0x3cee34=>_0x3cee34[_0x2b5da4(0x105)]===_0x29d154[_0x2b5da4(0x105)]&&_0x3cee34[_0x2b5da4(0x10f)]===_0x29d154[_0x2b5da4(0x10f)]&&_0x3cee34['axis']===_0x29d154['axis'])};case _0x2b5da4(0x14c):return _0xdb8b93(_0x29d154);}}function _0xdb8b93(_0x54b6e9){const _0x1e5df8=_0x2ffee0;let _0x4faa7a=_0x54b6e9[_0x1e5df8(0x7b)]-_0x54b6e9[_0x1e5df8(0x13c)]+0x1;return _0x54b6e9[_0x1e5df8(0xaf)]>=_0x54b6e9[_0x1e5df8(0x13c)]&&_0x54b6e9[_0x1e5df8(0xaf)]<=_0x54b6e9[_0x1e5df8(0x7b)]+0x1?{..._0x54b6e9}:_0x54b6e9[_0x1e5df8(0xaf)]>_0x54b6e9[_0x1e5df8(0x7b)]+0x1?{..._0x54b6e9,'sourceStart':_0x54b6e9[_0x1e5df8(0xaf)]-_0x4faa7a,'sourceEnd':_0x54b6e9[_0x1e5df8(0xaf)]-0x1,'destinationIndex':_0x54b6e9['sourceStart']}:{..._0x54b6e9,'sourceStart':_0x54b6e9[_0x1e5df8(0xaf)],'sourceEnd':_0x54b6e9[_0x1e5df8(0xaf)]+_0x4faa7a-0x1,'destinationIndex':_0x54b6e9[_0x1e5df8(0x7b)]+0x1};}function _0x97ad07(_0xd18f46,_0x451222){const _0x183187=_0x2ffee0;var _0xe269b9,_0x3ef55f;let _0x5d0300=(_0xe269b9=_0xd18f46==null?void 0x0:_0xd18f46['unitId'])==null?_0x451222==null?void 0x0:_0x451222[_0x183187(0x105)]:_0xe269b9,_0x1ea63d=(_0x3ef55f=_0xd18f46==null?void 0x0:_0xd18f46[_0x183187(0x10f)])==null?_0x451222==null?void 0x0:_0x451222['subUnitId']:_0x3ef55f;return _0x5d0300&&_0x1ea63d?{'unitId':_0x5d0300,'subUnitId':_0x1ea63d}:null;}function _0x3f148f(){const _0x32cb65=_0x2ffee0;var _0x4c9d83,_0x1da322;return{'redos':[..._0x336af4[_0x32cb65(0x6f)]],'undos':[..._0x336af4[_0x32cb65(0xad)]],'preRedos':[...(_0x4c9d83=_0x336af4[_0x32cb65(0x13e)])==null?[]:_0x4c9d83],'preUndos':[...(_0x1da322=_0x336af4[_0x32cb65(0x8d)])==null?[]:_0x1da322]};}let _0x5ee847=class extends _0x15bede[_0x2ffee0(0x14b)]{constructor(_0x507195,_0x48e95f){const _0x222126=_0x2ffee0;super(),this[_0x222126(0x94)]=_0x507195,this[_0x222126(0x13b)]=_0x48e95f,this['_initResource']();}['_initResource'](){const _0x15112b=_0x2ffee0;this[_0x15112b(0xa1)](this['_resourceManagerService'][_0x15112b(0x6e)]({'pluginName':_0x3e80e8,'businesses':[_0x15bede[_0x15112b(0x71)][_0x15112b(0xf1)]],'toJson':_0x91e220=>JSON[_0x15112b(0xbf)](this[_0x15112b(0x13b)][_0x15112b(0xdb)](_0x91e220)),'parseJson':_0x5a9551=>JSON['parse'](_0x5a9551),'onLoad':(_0xc8fbe8,_0x40d9fc)=>this[_0x15112b(0x13b)]['deserialize'](_0xc8fbe8,_0x40d9fc),'onUnLoad':_0x58c984=>this[_0x15112b(0x13b)][_0x15112b(0xd9)](_0x58c984)}));}};_0x5ee847=_0x3bc4ac([_0x206d8a(0x0,_0x15bede[_0x2ffee0(0x140)]),_0x206d8a(0x1,(0x0,_0x15bede[_0x2ffee0(0xa9)])(_0x46e8db))],_0x5ee847);let _0x1fde00=class extends _0x15bede[_0x2ffee0(0x11f)]{constructor(_0x2721e4=_0x1e305e,_0x12361a,_0x207d57,_0xadef6){const _0x15781e=_0x2ffee0;super(),this[_0x15781e(0xbd)]=_0x2721e4,this[_0x15781e(0x133)]=_0x12361a,this[_0x15781e(0x9f)]=_0x207d57,this[_0x15781e(0x12d)]=_0xadef6;let {..._0x2c38fb}=(0x0,_0x15bede[_0x15781e(0x8b)])({},_0x1e305e,this['_config']);this['_configService'][_0x15781e(0x68)]('sheets-outline.config',_0x2c38fb);}[_0x2ffee0(0x74)](){const _0x23b3d9=_0x2ffee0;this['_injector'][_0x23b3d9(0xac)]([_0x46e8db]),this[_0x23b3d9(0x133)][_0x23b3d9(0xac)]([_0x175642]),this[_0x23b3d9(0x133)][_0x23b3d9(0xac)]([_0x5ee847]),this['_injector'][_0x23b3d9(0xac)]([_0x36a704]),this[_0x23b3d9(0xc7)](),this[_0x23b3d9(0x133)][_0x23b3d9(0xea)](_0x46e8db),this[_0x23b3d9(0x133)][_0x23b3d9(0xea)](_0x175642),this[_0x23b3d9(0x133)][_0x23b3d9(0xea)](_0x5ee847),this[_0x23b3d9(0x133)][_0x23b3d9(0xea)](_0x36a704);}['_initRegisterCommand'](){[_0x38698a,_0x1381e8,_0x52eba8,_0x22d734]['forEach'](_0x218bfe=>{const _0x2131cc=_0x48df;this['disposeWithMe'](this[_0x2131cc(0x9f)][_0x2131cc(0x129)](_0x218bfe));}),[_0x135212,_0x2db143,_0x345c71,_0xebe259,_0x15b60f]['forEach'](_0x12c3b4=>{const _0x3b7aa8=_0x48df;this[_0x3b7aa8(0xa1)](this[_0x3b7aa8(0x9f)]['registerCommand'](_0x12c3b4));});}};_0x5761ea(_0x1fde00,_0x2ffee0(0xd3),_0x3e80e8),_0x5761ea(_0x1fde00,_0x2ffee0(0x7e),_0x32b844),_0x5761ea(_0x1fde00,_0x2ffee0(0x141),_0x376c21),_0x5761ea(_0x1fde00,_0x2ffee0(0xe1),_0x15bede[_0x2ffee0(0x71)][_0x2ffee0(0xf1)]),_0x1fde00=_0x3bc4ac([(0x0,_0x15bede[_0x2ffee0(0xf8)])(_0x3c5196[_0x2ffee0(0xff)]),_0x206d8a(0x1,(0x0,_0x15bede[_0x2ffee0(0xa9)])(_0x15bede[_0x2ffee0(0x118)])),_0x206d8a(0x2,_0x15bede[_0x2ffee0(0x96)]),_0x206d8a(0x3,_0x15bede['IConfigService'])],_0x1fde00),_0xb037aa['AddDimensionOutlineCommand']=_0x38698a,_0xb037aa[_0x2ffee0(0xb9)]=_0x135212,_0xb037aa[_0x2ffee0(0x72)]=_0x22d734,_0xb037aa[_0x2ffee0(0x142)]=_0xebe259,_0xb037aa[_0x2ffee0(0xb2)]=_0xce9cb3,_0xb037aa[_0x2ffee0(0x10e)]=_0x2bf9fd,_0xb037aa['RemoveDimensionOutlineCommand']=_0x1381e8,_0xb037aa[_0x2ffee0(0xa8)]=_0x2db143,_0xb037aa['SHEET_OUTLINE_PLUGIN']=_0x3e80e8,_0xb037aa[_0x2ffee0(0x113)]=_0x52eba8,_0xb037aa[_0x2ffee0(0x123)]=_0x345c71,_0xb037aa[_0x2ffee0(0xe7)]=_0x175642,_0xb037aa[_0x2ffee0(0xce)]=_0x46e8db,_0xb037aa[_0x2ffee0(0xe9)]=_0x15b60f,Object[_0x2ffee0(0x90)](_0xb037aa,_0x2ffee0(0xf3),{'enumerable':!0x0,'get':function(){return _0x1fde00;}}),_0xb037aa[_0x2ffee0(0x136)]=_0x4a4597,_0xb037aa['canAddDimensionOutline']=_0x474c4d,_0xb037aa[_0x2ffee0(0x82)]=_0x1d1081,_0xb037aa[_0x2ffee0(0xef)]=_0x321175,_0xb037aa[_0x2ffee0(0xb1)]=_0x58148a,_0xb037aa[_0x2ffee0(0x120)]=_0x1a25de,_0xb037aa[_0x2ffee0(0x78)]=_0x5b9b7e;}));function _0x25f9(){const _0x1ceff4=['DimensionOutlineError','getColumnCount','forEach','SheetInterceptorService','depth','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','from','endColumn','DimensionOutlineErrorReason','subUnitId','450HozhZW','getCurrentUnitOfType','252JjanUh','SetDimensionOutlineCollapsedCommand','endRow','31810ibexOH','insert','MoveColsCommand','Injector','children','split','toRange','SetRowVisibleMutation','split\x20dimension\x20outline','@univerjs/core','Plugin','transformOutlinesByInsert','rxjs/operators','sheet.mutation.remove-dimension-outline','SetDimensionOutlineCollapsedMutation','MUTATION','offset','valid','Invalid\x20outline\x20range','sheet.mutation.clear-dimension-outlines','registerCommand','2856240dzVkmo','change$','iterator','_configService','sheet.command.add-dimension-outline','set','end','startWith','_sheetsOutlineErrorService','_injector','has','row','buildDimensionOutlineTree','CROSSING','asObservable','sequenceExecute','emit','_sheetsOutlineModel','sourceStart','fromRange','preRedos','toPrimitive','IResourceManagerService','version','ClearDimensionOutlinesMutation','startRow','permissionPointUpdate$','out-of-bounds','_initCommandInterceptor','COLUMN','constructor','permissionCheckWithoutRange','sheet.command.set-dimension-outline-collapsed','Disposable','move','startColumn','_getCommandScope','_outlines','setConfig','interceptCommand','maxIndex','MOVE_SPLITS_OUTLINE','ROW','min','registerPluginResource','redos','1732twHyir','UniverInstanceType','ClearDimensionOutlinesCommand','pushUndoRedo','onStarting','default','maxDepth','RemoveColCommand','transformOutlinesByMove','IUniverInstanceService','axis','sourceEnd','mergedOutline','filter','packageName','operators','_change$','sort','getDimensionOutlineViewPermission$','400859dBBfHz','reason','outline','OUT_OF_BOUNDS','getUniverSheetInstance','Move\x20would\x20split\x20dimension\x20outline:\x20','name','complete','merge','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','preUndos','generateRandomId','COMMAND','defineProperty','dispose','outlineId','SheetPermissionCheckController','_resourceManagerService','UniverSheets','ICommandService','Crossing','amd','2xKfwVz','MAX_DEPTH','getSheetId','sheet.mutation.transform-dimension-outlines','611gHUYME','getActiveSheet','_commandService','values','disposeWithMe','restoreOutlines','getOutlines','call','message','next','SetColHiddenMutation','RemoveDimensionOutlineMutation','Inject','MoveRowsCommand','@univerjs/sheets','add','undos','debounceTime','destinationIndex','push','transformOutlinesByDelete','DimensionOutlineAxis','setOutlines','invalid-dimension-outline','_ensureUnitOutlines','15330SEwQfz','range','localeCompare','AddDimensionOutlineMutation','includes','getSheetCommandTarget','getRowCount','_config','length','stringify','map','find','object','function','1320vDSWcv','column','getMaxColumns','_initRegisterCommand','@univerjs-pro/license','rxjs','_sheetInterceptorService','start','UniverProSheetsOutline','count','SheetsOutlineModel','delete','UniverCore','SetRowHiddenMutation','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','pluginName','Invalid\x20dimension\x20outline\x20move\x20source\x20range','Module','1661kQeNgy','clear','WorkbookViewPermission','removeUnit','UniverProLicense','serialize','params','toStringTag','outlineList','INVALID_RANGE','move-splits-outline','type','max-depth','crossing','clear-range-not-contain-outline','CommandType','1728jmTGLi','SheetsOutlineErrorService','dimension-outline-','TransformDimensionOutlinesMutation','get','error$','some','InsertColCommand','_error$','hasDimensionOutlineViewPermission','invalid-range','UNIVER_SHEET','IUndoRedoService','UniverSheetsOutlinePlugin','sheet.command.clear-dimension-outlines','entries','_univerInstanceService','UNKNOWN','DependentOn','getOwnPropertyDescriptor','max','mergedOutlines','5790nmvFPg','unknown','@univerjs-pro/sheets-outline','UniverLicensePlugin','result','pipe','index','collapsed','CustomCommandExecutionError','unitId'];_0x25f9=function(){return _0x1ceff4;};return _0x25f9();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-outline",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.3",
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": "1.0.0-alpha.2",
65
- "@univerjs/core": "1.0.0-alpha.2",
66
- "@univerjs/sheets": "1.0.0-alpha.2"
64
+ "@univerjs-pro/license": "1.0.0-alpha.3",
65
+ "@univerjs/core": "1.0.0-alpha.3",
66
+ "@univerjs/sheets": "1.0.0-alpha.3"
67
67
  },
68
68
  "devDependencies": {
69
69
  "rxjs": "7.8.2",
70
70
  "typescript": "^6.0.3",
71
- "vitest": "^4.1.9",
72
- "@univerjs-infra/shared": "1.0.0-alpha.2"
71
+ "vitest": "^4.1.10",
72
+ "@univerjs-infra/shared": "1.0.0-alpha.3"
73
73
  },
74
74
  "scripts": {
75
75
  "test": "vitest run",