@univerjs-pro/sheets-outline 0.25.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5cce(){const _0x1340fd=['InsertRowCommand','UniverSheets','getCurrentUnitOfType','sheet.command.set-dimension-outline-collapsed','forEach','ROW','deserialize','WorksheetViewPermission','SetRowVisibleMutation','delete','subUnitId','join','dimension-outline-','58660ILajuv','Subject','prototype','DimensionOutlineAxis','_injector','parse','row','fromRange','8869580RwdKFY','count','_commandService','outline','collapsed','ClearDimensionOutlinesMutation','iterator','debounceTime','Inject','toStringTag','getDimensionOutlineErrorReason','axis','registerCommand','getUniverSheetInstance','UNKNOWN','_error$','getUnitId','toPrimitive','Disposable','index','20fKlICx','packageName','hasDimensionOutlineViewPermission','sheet.mutation.remove-dimension-outline','@univerjs/core','length','decorate','SheetPermissionCheckController','serialize','ICommandService','outlineId','get','offset','_change$','IPermissionService','version','UniverInstanceType','RemoveColCommand','call','string','change$','startRow','sheet.command.add-dimension-outline','0.25.0','3656025yHQfqQ','_initCommandInterceptor','getDimensionOutlineViewPermission$','out-of-bounds','end','defineProperty','Invalid\x20dimension\x20outline\x20move\x20source\x20range','CROSSING','sequenceExecute','SheetsOutlineModel','CustomCommandExecutionError','IUniverInstanceService','SHEET_OUTLINE_PLUGIN','sort','invalid-dimension-outline','DimensionOutlineError','MAX_DEPTH','_config','getOutlines','maxIndex','preRedos','30YoWBTs','InsertColCommand','max-depth','symbol','disposeWithMe','UniverProLicense','add','DimensionOutlineErrorReason','sourceStart','params','@univerjs-pro/license','sheet.command.clear-dimension-outlines','rxjs','getMaxColumns','push','set','reason','_getCommandScope','function','AddDimensionOutlineCommand','IUndoRedoService','emit','toRange','Module','1096HqzmKu','max','endRow','UniverProSheetsOutline','getRowCount','asObservable','Move\x20would\x20split\x20dimension\x20outline:\x20','sheets-outline.config','SheetsOutlineErrorService','depth','range','unitId','destinationIndex','generateRandomId','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','_outlines','startWith','next','transformOutlinesByDelete','has','redos','move-splits-outline','crossing','sheet.mutation.set-dimension-outline-collapsed','map','Invalid\x20outline\x20range','15457618bQLCuO','Crossing','DependentOn','SetColHiddenMutation','object','insert','MOVE_SPLITS_OUTLINE','_initRegisterCommand','registerPluginResource','min','@univerjs/sheets','message','UniverLicensePlugin','constructor','RemoveRowCommand','transformOutlinesByMove','_initResource','type','clear-range-not-contain-outline','includes','maxDepth','valid','pop','getActiveSheet','start','outlineList','endColumn','CommandType','some','removeUnit','@univerjs-pro/sheets-outline','getSheetBySheetId','171633EoLsbM','preUndos','_resourceManagerService','ClearDimensionOutlinesCommand','result','MoveRowsCommand','exports','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','setOutlines','AddDimensionOutlineMutation','INVALID_RANGE','column','pushUndoRedo','MoveColsCommand','SetDimensionOutlineCollapsedMutation','Plugin','_univerInstanceService','UniverCore','dispose','values','split\x20dimension\x20outline','sheet.mutation.transform-dimension-outlines','_ensureUnitOutlines','localeCompare','default','OUT_OF_BOUNDS','getSheetCommandTarget','startColumn','move','COMMAND','unknown','from','MUTATION','961878BPSULv','complete','Invalid\x20dimension\x20outline\x20mutation','clearDimensionOutlinesInRange','permissionCheckWithoutRange','filter','invalid-range','SetRowHiddenMutation','UNIVER_SHEET','1346138XTQSOE','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','canAddDimensionOutline','find','sourceEnd','permissionPointUpdate$','1RZDGAS','COLUMN','_sheetsOutlineModel','transformOutlinesByInsert','_sheetsOutlineErrorService','restoreOutlines'];_0x5cce=function(){return _0x1340fd;};return _0x5cce();}function _0x3ec3(_0x5dfec7,_0x4cb985){_0x5dfec7=_0x5dfec7-0x100;const _0x5cce00=_0x5cce();let _0x3ec3f1=_0x5cce00[_0x5dfec7];return _0x3ec3f1;}(function(_0x323a7b,_0x2c4318){const _0x17d749=_0x3ec3,_0x311136=_0x323a7b();while(!![]){try{const _0x31ae92=-parseInt(_0x17d749(0x125))/0x1*(parseInt(_0x17d749(0x11f))/0x2)+-parseInt(_0x17d749(0x1d3))/0x3*(-parseInt(_0x17d749(0x154))/0x4)+-parseInt(_0x17d749(0x181))/0x5*(parseInt(_0x17d749(0x116))/0x6)+parseInt(_0x17d749(0x138))/0x7*(parseInt(_0x17d749(0x199))/0x8)+parseInt(_0x17d749(0x16c))/0x9+-parseInt(_0x17d749(0x140))/0xa+parseInt(_0x17d749(0x1b3))/0xb;if(_0x31ae92===_0x2c4318)break;else _0x311136['push'](_0x311136['shift']());}catch(_0x11114d){_0x311136['push'](_0x311136['shift']());}}}(_0x5cce,0xb0ad9),function(_0x41a4f7,_0x3fa010){const _0x268985=_0x3ec3;typeof exports=='object'&&typeof module<'u'?_0x3fa010(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x268985(0x193)&&define['amd']?define([_0x268985(0x1d9),_0x268985(0x158),_0x268985(0x1bd),_0x268985(0x18d),'rxjs/operators',_0x268985(0x18b)],_0x3fa010):(_0x41a4f7=typeof globalThis<'u'?globalThis:_0x41a4f7||self,_0x3fa010(_0x41a4f7[_0x268985(0x19c)]={},_0x41a4f7[_0x268985(0x106)],_0x41a4f7[_0x268985(0x12c)],_0x41a4f7[_0x268985(0x18d)],_0x41a4f7['rxjs']['operators'],_0x41a4f7[_0x268985(0x186)]));}(this,function(_0x3ae72b,_0x21068f,_0x2bfd53,_0x44f90e,_0x511607,_0x16b8d6){const _0x23674c=_0x3ec3;Object['defineProperty'](_0x3ae72b,Symbol[_0x23674c(0x149)],{'value':_0x23674c(0x198)});let _0x4a389e=function(_0x55a6cb){const _0x2dd7ed=_0x23674c;return _0x55a6cb[_0x2dd7ed(0x130)]='row',_0x55a6cb[_0x2dd7ed(0x126)]=_0x2dd7ed(0x100),_0x55a6cb;}({}),_0x5aec2f=function(_0x2e5c65){const _0x30e6f5=_0x23674c;return _0x2e5c65[_0x30e6f5(0x1dd)]=_0x30e6f5(0x11c),_0x2e5c65[_0x30e6f5(0x10e)]=_0x30e6f5(0x16f),_0x2e5c65[_0x30e6f5(0x173)]=_0x30e6f5(0x1af),_0x2e5c65[_0x30e6f5(0x17c)]=_0x30e6f5(0x183),_0x2e5c65[_0x30e6f5(0x1b9)]=_0x30e6f5(0x1ae),_0x2e5c65[_0x30e6f5(0x120)]=_0x30e6f5(0x1c5),_0x2e5c65[_0x30e6f5(0x14e)]=_0x30e6f5(0x113),_0x2e5c65;}({});var _0x25cb4b=class extends Error{constructor(_0x3b07ab,_0x15f3fa,_0x56b36e){const _0x1008bc=_0x23674c;super(_0x15f3fa),this[_0x1008bc(0x191)]=_0x3b07ab,this['outlineId']=_0x56b36e,this['name']='DimensionOutlineError';}};function _0x18a936(_0x27cda6){const _0x173a20=_0x23674c;return _0x27cda6 instanceof _0x25cb4b?_0x27cda6['reason']:_0x27cda6 instanceof Error?_0x27cda6[_0x173a20(0x1be)]['includes'](_0x173a20(0x109))?_0x173a20(0x1ae):_0x27cda6[_0x173a20(0x1be)][_0x173a20(0x1c6)](_0x173a20(0x1a2))?_0x173a20(0x183):_0x27cda6['message'][_0x173a20(0x1c6)](_0x173a20(0x1b4))?_0x173a20(0x1af):_0x27cda6[_0x173a20(0x1be)]['includes'](_0x173a20(0x1a3))?_0x173a20(0x11c):'unknown':_0x173a20(0x113);}function _0x47f2b6(_0x511bf8){const _0xb0b899=_0x23674c;return _0x511bf8 instanceof _0x25cb4b?_0x511bf8[_0xb0b899(0x15e)]:void 0x0;}let _0x21b19d=0x2**0x35-0x1;function _0x4a4a58(_0x469265,_0x1a6c20){const _0x26a97e=_0x23674c;return _0x469265[_0x26a97e(0x1a4)]===_0x1a6c20[_0x26a97e(0x1a4)]&&_0x469265['subUnitId']===_0x1a6c20[_0x26a97e(0x135)]&&_0x469265[_0x26a97e(0x14b)]===_0x1a6c20[_0x26a97e(0x14b)];}function _0x34acea(_0x3e0fa4,_0x41a9c6={}){const _0x121cc0=_0x23674c;var _0x37a901;let _0x1c3389=(_0x37a901=_0x41a9c6[_0x121cc0(0x1c7)])==null?0x8:_0x37a901,_0xc4f306=new Map();for(let _0x44b93b of _0x3e0fa4){let _0x1db2a0=_0x44b93b[_0x121cc0(0x1a4)]+':'+_0x44b93b[_0x121cc0(0x135)]+':'+_0x44b93b['axis'],_0x3e0940=_0xc4f306[_0x121cc0(0x15f)](_0x1db2a0);_0x3e0940?_0x3e0940['push'](_0x44b93b):_0xc4f306[_0x121cc0(0x190)](_0x1db2a0,[_0x44b93b]);}let _0xc3a3d8=[];for(let _0x438fe3 of _0xc4f306[_0x121cc0(0x108)]()){let _0x283ad3=[..._0x438fe3][_0x121cc0(0x179)](_0x11a2c9),_0x2c4cb0=[];for(let _0x4e3cb7 of _0x283ad3){for(_0x3d00ec(_0x4e3cb7);_0x2c4cb0['length']>0x0&&_0x4e3cb7[_0x121cc0(0x1cb)]>_0x2c4cb0[_0x2c4cb0['length']-0x1][_0x121cc0(0x170)];)_0x2c4cb0[_0x121cc0(0x1c9)]();let _0x536bf8=_0x2c4cb0[_0x2c4cb0[_0x121cc0(0x159)]-0x1];if(_0x536bf8&&_0x4e3cb7[_0x121cc0(0x170)]>_0x536bf8[_0x121cc0(0x170)])throw new _0x25cb4b('crossing',_0x121cc0(0x1a7),_0x4e3cb7['id']);let _0x54659a=_0x536bf8?_0x536bf8[_0x121cc0(0x1a2)]+0x1:0x1;if(_0x54659a>_0x1c3389)throw new _0x25cb4b(_0x121cc0(0x183),_0x121cc0(0x1da)+_0x1c3389,_0x4e3cb7['id']);let _0x1559cc={..._0x4e3cb7,'depth':_0x54659a,'parentId':_0x536bf8==null?void 0x0:_0x536bf8['id'],'anchor':_0x4e3cb7['end'],'children':[]};_0x536bf8?_0x536bf8['children'][_0x121cc0(0x18f)](_0x1559cc):_0xc3a3d8[_0x121cc0(0x18f)](_0x1559cc),_0x2c4cb0[_0x121cc0(0x18f)](_0x1559cc);}}return _0xc3a3d8;}function _0x990e3(_0xc94e09,_0x5eae2d,_0x3b084e={}){const _0x596572=_0x23674c;if(_0x5eae2d[_0x596572(0x1cb)]<0x0||_0x5eae2d[_0x596572(0x1cb)]>_0x5eae2d['end'])return{'valid':!0x1,'reason':_0x596572(0x11c)};if(_0x3b084e[_0x596572(0x17f)]!=null&&_0x5eae2d[_0x596572(0x170)]>=_0x3b084e[_0x596572(0x17f)])return{'valid':!0x1,'reason':'out-of-bounds'};let _0x946945=_0xc94e09[_0x596572(0x11b)](_0x3bd29f=>_0x4a4a58(_0x3bd29f,_0x5eae2d));for(let _0x2847da of _0x946945)if(_0x13abaf(_0x2847da,_0x5eae2d))return{'valid':!0x1,'reason':'crossing'};try{_0x34acea([..._0xc94e09,_0x5eae2d],_0x3b084e);}catch(_0x16ee82){let _0x3ab12a=_0x18a936(_0x16ee82);return _0x3ab12a===_0x596572(0x183)?{'valid':!0x1,'reason':_0x596572(0x183)}:_0x3ab12a===_0x596572(0x11c)?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x596572(0x1af)};}return{'valid':!0x0};}function _0x40f6ac(_0x4374e8,_0x344f30,_0x2716e5={}){const _0xf8ae98=_0x23674c;let _0x4e2e51=_0x990e3(_0x4374e8,_0x344f30,_0x2716e5);if(!_0x4e2e51[_0xf8ae98(0x1c8)]){var _0x560bd2;throw Error((_0x560bd2=_0x4e2e51['reason'])==null?_0xf8ae98(0x17a):_0x560bd2);}return[..._0x4374e8,_0x344f30];}function _0x5aa07a(_0x696d53,_0x244cbc){const _0x57cf72=_0x23674c;let _0x358db4=_0x244cbc[_0x57cf72(0x1cb)],_0x2d558b=_0x244cbc[_0x57cf72(0x170)],_0x3c768b=[],_0x5a993e=!0x0;for(;_0x5a993e;){_0x5a993e=!0x1;for(let _0x4ca686 of _0x696d53)_0x3c768b[_0x57cf72(0x1c6)](_0x4ca686)||!_0x4a4a58(_0x4ca686,_0x244cbc)||!_0x3f7ec0(_0x4ca686[_0x57cf72(0x1cb)],_0x4ca686[_0x57cf72(0x170)],_0x358db4,_0x2d558b)||(_0x3c768b['push'](_0x4ca686),_0x358db4=Math['min'](_0x358db4,_0x4ca686[_0x57cf72(0x1cb)]),_0x2d558b=Math[_0x57cf72(0x19a)](_0x2d558b,_0x4ca686[_0x57cf72(0x170)]),_0x5a993e=!0x0);}if(_0x3c768b['length']===0x0)return null;let [_0x520c05]=[..._0x3c768b][_0x57cf72(0x179)](_0x11a2c9);return{'mergedOutline':{..._0x520c05,'start':_0x358db4,'end':_0x2d558b},'mergedOutlines':_0x3c768b};}function _0x44702e(_0xfdbaff,_0x5c69ee){const _0x372215=_0x23674c;return _0xfdbaff[_0x372215(0x11b)](_0x5acd21=>_0x4a4a58(_0x5acd21,_0x5c69ee)?!(_0x5acd21[_0x372215(0x1cb)]>=_0x5c69ee[_0x372215(0x1cb)]&&_0x5acd21[_0x372215(0x170)]<=_0x5c69ee['end']):!0x0);}function _0x3ee710(_0x1aae5a,_0x4e81c4,_0x5a1b0f,_0x6b1f40){const _0x3c8dad=_0x23674c;return _0x171983(_0x1aae5a['filter'](_0x202fa9=>_0x202fa9[_0x3c8dad(0x1a4)]===_0x4e81c4&&_0x202fa9['subUnitId']===_0x5a1b0f&&_0x202fa9['axis']===_0x6b1f40&&_0x202fa9['collapsed'])['map'](_0x5ac375=>({'start':_0x5ac375[_0x3c8dad(0x1cb)],'end':_0x5ac375[_0x3c8dad(0x170)]})));}function _0x171983(_0x4b5dd7){const _0x4fdbf0=_0x23674c;if(_0x4b5dd7[_0x4fdbf0(0x159)]===0x0)return[];let _0x182b8b=[..._0x4b5dd7][_0x4fdbf0(0x179)]((_0x1e5d93,_0x1a4712)=>_0x1e5d93[_0x4fdbf0(0x1cb)]-_0x1a4712[_0x4fdbf0(0x1cb)]||_0x1e5d93['end']-_0x1a4712[_0x4fdbf0(0x170)]),_0x5cd663=[];for(let _0x46ec1e of _0x182b8b){let _0x3d0ebc=_0x5cd663[_0x5cd663[_0x4fdbf0(0x159)]-0x1];!_0x3d0ebc||_0x46ec1e[_0x4fdbf0(0x1cb)]>_0x3d0ebc[_0x4fdbf0(0x170)]+0x1?_0x5cd663[_0x4fdbf0(0x18f)]({..._0x46ec1e}):_0x3d0ebc[_0x4fdbf0(0x170)]=Math[_0x4fdbf0(0x19a)](_0x3d0ebc['end'],_0x46ec1e[_0x4fdbf0(0x170)]);}return _0x5cd663;}function _0x1b5709(_0x4b0029,_0x30d584){const _0x48a14e=_0x23674c;return _0x30d584[_0x48a14e(0x141)]<=0x0?_0x4b0029:_0x5bd4c(_0x4b0029['map'](_0x7d7fb=>_0x4a4a58(_0x7d7fb,_0x30d584)?_0x30d584[_0x48a14e(0x153)]<=_0x7d7fb[_0x48a14e(0x1cb)]?{..._0x7d7fb,'start':_0x7d7fb[_0x48a14e(0x1cb)]+_0x30d584['count'],'end':_0x7d7fb[_0x48a14e(0x170)]+_0x30d584['count']}:_0x7d7fb['start']<_0x30d584[_0x48a14e(0x153)]&&_0x30d584[_0x48a14e(0x153)]<=_0x7d7fb['end']?{..._0x7d7fb,'end':_0x7d7fb['end']+_0x30d584[_0x48a14e(0x141)]}:_0x7d7fb:_0x7d7fb));}function _0x1fbb09(_0x168ce2,_0x1ed066){const _0x48b0bc=_0x23674c;if(_0x1ed066[_0x48b0bc(0x1cb)]>_0x1ed066[_0x48b0bc(0x170)])return _0x168ce2;let _0x298c23=_0x1ed066[_0x48b0bc(0x170)]-_0x1ed066[_0x48b0bc(0x1cb)]+0x1,_0x423887=[];for(let _0x48f70b of _0x168ce2){if(!_0x4a4a58(_0x48f70b,_0x1ed066)){_0x423887['push'](_0x48f70b);continue;}if(_0x48f70b[_0x48b0bc(0x170)]<_0x1ed066[_0x48b0bc(0x1cb)]){_0x423887[_0x48b0bc(0x18f)](_0x48f70b);continue;}if(_0x48f70b[_0x48b0bc(0x1cb)]>_0x1ed066[_0x48b0bc(0x170)]){_0x423887['push']({..._0x48f70b,'start':_0x48f70b[_0x48b0bc(0x1cb)]-_0x298c23,'end':_0x48f70b[_0x48b0bc(0x170)]-_0x298c23});continue;}let _0x5b63e2=Math[_0x48b0bc(0x19a)](_0x48f70b[_0x48b0bc(0x1cb)],_0x1ed066['start']),_0x455610=Math[_0x48b0bc(0x1bc)](_0x48f70b[_0x48b0bc(0x170)],_0x1ed066[_0x48b0bc(0x170)]),_0x116331=Math[_0x48b0bc(0x19a)](0x0,_0x455610-_0x5b63e2+0x1),_0x550b2e=_0x48f70b['end']-_0x48f70b[_0x48b0bc(0x1cb)]+0x1-_0x116331;if(_0x550b2e<=0x0)continue;let _0x3ba1b3=_0x48f70b[_0x48b0bc(0x1cb)]<_0x1ed066[_0x48b0bc(0x1cb)]?_0x48f70b[_0x48b0bc(0x1cb)]:_0x1ed066[_0x48b0bc(0x1cb)];_0x423887[_0x48b0bc(0x18f)]({..._0x48f70b,'start':_0x3ba1b3,'end':_0x3ba1b3+_0x550b2e-0x1});}return _0x5bd4c(_0x423887);}function _0x1ee85c(_0xd6bcc1,_0x303bc8){const _0x131966=_0x23674c;if(_0x303bc8[_0x131966(0x189)]>_0x303bc8[_0x131966(0x123)])return _0xd6bcc1;let _0x37cd9b=[];for(let _0x53c4b1 of _0xd6bcc1){if(!_0x4a4a58(_0x53c4b1,_0x303bc8)){_0x37cd9b[_0x131966(0x18f)](_0x53c4b1);continue;}let _0x16b44a=_0x4cb364(_0x53c4b1,_0x303bc8);if(_0x16b44a[_0x131966(0x1c4)]==='split')throw new _0x25cb4b(_0x131966(0x1ae),_0x131966(0x19f)+_0x53c4b1['id'],_0x53c4b1['id']);_0x37cd9b[_0x131966(0x18f)](_0x16b44a[_0x131966(0x143)]);}return _0x5bd4c(_0x37cd9b);}function _0x4cb364(_0x1a5167,_0xa2a139){const _0x5e4846=_0x23674c;let _0x1731b2=_0x201f5f(_0xa2a139['sourceStart'],_0xa2a139['sourceEnd']+0x1,_0xa2a139['destinationIndex']),_0x2307f3=[],_0x48f4a7={'start':_0x1a5167[_0x5e4846(0x1cb)],'end':_0x1a5167[_0x5e4846(0x170)]+0x1};for(let _0x3867bd of _0x1731b2){let _0x44fa44=_0x1961f8(_0x48f4a7,_0x3867bd[_0x5e4846(0x1a3)]);_0x44fa44&&_0x2307f3['push']({'start':_0x44fa44[_0x5e4846(0x1cb)]+_0x3867bd[_0x5e4846(0x160)],'end':_0x44fa44['end']+_0x3867bd[_0x5e4846(0x160)]});}let _0x11de1c=_0x318cca(_0x2307f3);return _0x11de1c['length']===0x1?{'type':'ok','outline':{..._0x1a5167,'start':_0x11de1c[0x0][_0x5e4846(0x1cb)],'end':_0x11de1c[0x0][_0x5e4846(0x170)]-0x1}}:{'type':'split','outline':_0x1a5167,'ranges':_0x11de1c};}function _0x201f5f(_0x151c0c,_0x5ac2a1,_0x1a0716){const _0x3767f8=_0x23674c;let _0xdaa15c=_0x5ac2a1-_0x151c0c;if(_0xdaa15c<=0x0)throw Error(_0x3767f8(0x172));return _0x1a0716>=_0x151c0c&&_0x1a0716<=_0x5ac2a1?[{'range':{'start':0x0,'end':_0x21b19d},'offset':0x0}]:_0x1a0716<_0x151c0c?[{'range':{'start':0x0,'end':_0x1a0716},'offset':0x0},{'range':{'start':_0x1a0716,'end':_0x151c0c},'offset':_0xdaa15c},{'range':{'start':_0x151c0c,'end':_0x5ac2a1},'offset':_0x1a0716-_0x151c0c},{'range':{'start':_0x5ac2a1,'end':_0x21b19d},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x151c0c},'offset':0x0},{'range':{'start':_0x151c0c,'end':_0x5ac2a1},'offset':_0x1a0716-_0x5ac2a1},{'range':{'start':_0x5ac2a1,'end':_0x1a0716},'offset':-_0xdaa15c},{'range':{'start':_0x1a0716,'end':_0x21b19d},'offset':0x0}];}function _0x1961f8(_0x14afee,_0x1b2d65){const _0x57f52c=_0x23674c;let _0x22ef9c=Math[_0x57f52c(0x19a)](_0x14afee['start'],_0x1b2d65[_0x57f52c(0x1cb)]),_0x3752a5=Math[_0x57f52c(0x1bc)](_0x14afee[_0x57f52c(0x170)],_0x1b2d65[_0x57f52c(0x170)]);return _0x22ef9c>=_0x3752a5?null:{'start':_0x22ef9c,'end':_0x3752a5};}function _0x318cca(_0x1b3a20){const _0x4c35a1=_0x23674c;if(_0x1b3a20[_0x4c35a1(0x159)]===0x0)return[];let _0xc1812b=[..._0x1b3a20]['sort']((_0x181f01,_0x303076)=>_0x181f01[_0x4c35a1(0x1cb)]-_0x303076['start']||_0x181f01['end']-_0x303076[_0x4c35a1(0x170)]),_0x32d8e2=[];for(let _0x1be052 of _0xc1812b){let _0x4de71d=_0x32d8e2[_0x32d8e2[_0x4c35a1(0x159)]-0x1];!_0x4de71d||_0x1be052[_0x4c35a1(0x1cb)]>_0x4de71d[_0x4c35a1(0x170)]?_0x32d8e2[_0x4c35a1(0x18f)]({..._0x1be052}):_0x4de71d['end']=Math[_0x4c35a1(0x19a)](_0x4de71d[_0x4c35a1(0x170)],_0x1be052['end']);}return _0x32d8e2;}function _0x3f7ec0(_0xa19483,_0x4ff6bc,_0x3b8f96,_0x2b63bc){return _0x4ff6bc+0x1===_0x3b8f96||_0x2b63bc+0x1===_0xa19483;}function _0x5bd4c(_0x2be535){let _0xf5693f=_0x29b058(_0x2be535);return _0x34acea(_0xf5693f),_0xf5693f;}function _0x29b058(_0x1e8e6f){const _0x1a9da9=_0x23674c;let _0x4e52e5=new Map();for(let _0x4fd1c3 of _0x1e8e6f){let _0x1e33d0=[_0x4fd1c3['unitId'],_0x4fd1c3[_0x1a9da9(0x135)],_0x4fd1c3[_0x1a9da9(0x14b)],_0x4fd1c3['start'],_0x4fd1c3['end']][_0x1a9da9(0x136)](':'),_0x2a0aa4=_0x4e52e5[_0x1a9da9(0x15f)](_0x1e33d0);if(!_0x2a0aa4){_0x4e52e5['set'](_0x1e33d0,_0x4fd1c3);continue;}_0x4e52e5[_0x1a9da9(0x190)](_0x1e33d0,{..._0x2a0aa4,'collapsed':_0x2a0aa4[_0x1a9da9(0x144)]||_0x4fd1c3[_0x1a9da9(0x144)]});}return Array[_0x1a9da9(0x114)](_0x4e52e5[_0x1a9da9(0x108)]());}function _0x11a2c9(_0x1dd8c6,_0x4f16c4){const _0x2c5f0d=_0x23674c;return _0x1dd8c6[_0x2c5f0d(0x1a4)]===_0x4f16c4[_0x2c5f0d(0x1a4)]?_0x1dd8c6[_0x2c5f0d(0x135)]===_0x4f16c4[_0x2c5f0d(0x135)]?_0x1dd8c6[_0x2c5f0d(0x14b)]===_0x4f16c4[_0x2c5f0d(0x14b)]?_0x1dd8c6[_0x2c5f0d(0x1cb)]===_0x4f16c4[_0x2c5f0d(0x1cb)]?_0x4f16c4['end']-_0x1dd8c6['end']:_0x1dd8c6[_0x2c5f0d(0x1cb)]-_0x4f16c4['start']:_0x1dd8c6['axis'][_0x2c5f0d(0x10c)](_0x4f16c4[_0x2c5f0d(0x14b)]):_0x1dd8c6['subUnitId']['localeCompare'](_0x4f16c4[_0x2c5f0d(0x135)]):_0x1dd8c6['unitId'][_0x2c5f0d(0x10c)](_0x4f16c4[_0x2c5f0d(0x1a4)]);}function _0x3d00ec(_0x1f7257){const _0x46ee28=_0x23674c;if(_0x1f7257[_0x46ee28(0x1cb)]>_0x1f7257[_0x46ee28(0x170)])throw new _0x25cb4b(_0x46ee28(0x11c),_0x46ee28(0x1b2),_0x1f7257['id']);}function _0x13abaf(_0x270acb,_0x969b8f){const _0x368855=_0x23674c;let _0x1ea02a=_0x270acb[_0x368855(0x1cb)]<=_0x969b8f[_0x368855(0x170)]&&_0x969b8f[_0x368855(0x1cb)]<=_0x270acb['end'],_0xe8d834=_0x270acb[_0x368855(0x1cb)]<=_0x969b8f[_0x368855(0x1cb)]&&_0x969b8f[_0x368855(0x170)]<=_0x270acb[_0x368855(0x170)],_0x1ca1db=_0x969b8f['start']<=_0x270acb['start']&&_0x270acb[_0x368855(0x170)]<=_0x969b8f['end'];return _0x1ea02a&&!_0xe8d834&&!_0x1ca1db;}function _0x1518e9(_0xe2d592){'@babel/helpers - typeof';const _0x19466b=_0x23674c;return _0x1518e9=typeof Symbol==_0x19466b(0x193)&&typeof Symbol[_0x19466b(0x146)]==_0x19466b(0x184)?function(_0x285511){return typeof _0x285511;}:function(_0x57465b){const _0x4a711d=_0x19466b;return _0x57465b&&typeof Symbol==_0x4a711d(0x193)&&_0x57465b[_0x4a711d(0x1c0)]===Symbol&&_0x57465b!==Symbol[_0x4a711d(0x13a)]?_0x4a711d(0x184):typeof _0x57465b;},_0x1518e9(_0xe2d592);}function _0x313861(_0x429632,_0x222263){const _0x213685=_0x23674c;if(_0x1518e9(_0x429632)!=_0x213685(0x1b7)||!_0x429632)return _0x429632;var _0x47a7f0=_0x429632[Symbol[_0x213685(0x151)]];if(_0x47a7f0!==void 0x0){var _0x4dfd7d=_0x47a7f0[_0x213685(0x166)](_0x429632,_0x222263||_0x213685(0x10d));if(_0x1518e9(_0x4dfd7d)!=_0x213685(0x1b7))return _0x4dfd7d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x222263===_0x213685(0x167)?String:Number)(_0x429632);}function _0x2f114a(_0x35cc4b){const _0x1edcec=_0x23674c;var _0x2eab71=_0x313861(_0x35cc4b,_0x1edcec(0x167));return _0x1518e9(_0x2eab71)=='symbol'?_0x2eab71:_0x2eab71+'';}function _0x466529(_0x37ea85,_0x264f13,_0x27c030){const _0x502649=_0x23674c;return(_0x264f13=_0x2f114a(_0x264f13))in _0x37ea85?Object[_0x502649(0x171)](_0x37ea85,_0x264f13,{'value':_0x27c030,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x37ea85[_0x264f13]=_0x27c030,_0x37ea85;}var _0x49091a=class extends _0x21068f['Disposable']{constructor(..._0x36e906){const _0x26d5bf=_0x23674c;super(..._0x36e906),_0x466529(this,'_outlines',new Map()),_0x466529(this,_0x26d5bf(0x161),new _0x44f90e[(_0x26d5bf(0x139))]()),_0x466529(this,_0x26d5bf(0x168),this[_0x26d5bf(0x161)][_0x26d5bf(0x19e)]());}[_0x23674c(0x17e)](_0x3f19a9,_0x241212){const _0x4e6509=_0x23674c;var _0x27060e,_0x153b73;return[...(_0x27060e=(_0x153b73=this[_0x4e6509(0x1a8)]['get'](_0x3f19a9))==null?void 0x0:_0x153b73[_0x4e6509(0x15f)](_0x241212))==null?[]:_0x27060e];}['getUnitOutlines'](_0x25a7e4){const _0xafac07=_0x23674c;let _0x44a863=this[_0xafac07(0x1a8)]['get'](_0x25a7e4),_0x45032d=new Map();return _0x44a863==null||_0x44a863[_0xafac07(0x12f)]((_0x41529c,_0x1f3500)=>{_0x45032d['set'](_0x1f3500,[..._0x41529c]);}),_0x45032d;}[_0x23674c(0x1db)](_0x399c4e,_0x4a6994,_0x1e369a){const _0xd7fe82=_0x23674c;this[_0xd7fe82(0x10b)](_0x399c4e)[_0xd7fe82(0x190)](_0x4a6994,[..._0x1e369a]),this[_0xd7fe82(0x161)][_0xd7fe82(0x1aa)]({'unitId':_0x399c4e,'subUnitId':_0x4a6994});}[_0x23674c(0x1d0)](_0x9d56bc){const _0x324305=_0x23674c;this[_0x324305(0x1a8)][_0x324305(0x134)](_0x9d56bc),this[_0x324305(0x161)][_0x324305(0x1aa)]({'unitId':_0x9d56bc});}[_0x23674c(0x15c)](_0xe0e1c1){const _0x5363c5=_0x23674c;let _0x3b477d=this[_0x5363c5(0x1a8)]['get'](_0xe0e1c1),_0x11ab5d={};return _0x3b477d==null||_0x3b477d[_0x5363c5(0x12f)]((_0x2fac65,_0x389636)=>{_0x11ab5d[_0x389636]={'outlineList':[..._0x2fac65]};}),_0x11ab5d;}['deserialize'](_0x2d3e3b,_0x52448b){const _0x2242bb=_0x23674c;let _0x4e3ad8=new Map();Object['entries'](_0x52448b)[_0x2242bb(0x12f)](([_0x59e62e,_0x402e22])=>{const _0x21499a=_0x2242bb;var _0x2e4f47;_0x4e3ad8[_0x21499a(0x190)](_0x59e62e,[...(_0x2e4f47=_0x402e22[_0x21499a(0x1cc)])==null?[]:_0x2e4f47]);}),this[_0x2242bb(0x1a8)][_0x2242bb(0x190)](_0x2d3e3b,_0x4e3ad8),this[_0x2242bb(0x161)][_0x2242bb(0x1aa)]({'unitId':_0x2d3e3b});}['dispose'](){const _0x1477c9=_0x23674c;super['dispose'](),this[_0x1477c9(0x1a8)]['clear'](),this[_0x1477c9(0x161)]['complete']();}['_ensureUnitOutlines'](_0x3dd512){const _0x577bf7=_0x23674c;let _0x1b5121=this['_outlines']['get'](_0x3dd512);return _0x1b5121||(_0x1b5121=new Map(),this['_outlines'][_0x577bf7(0x190)](_0x3dd512,_0x1b5121)),_0x1b5121;}},_0x49da03=class extends _0x21068f[_0x23674c(0x152)]{constructor(..._0x2df954){const _0x2ec596=_0x23674c;super(..._0x2df954),_0x466529(this,_0x2ec596(0x14f),new _0x44f90e[(_0x2ec596(0x139))]()),_0x466529(this,'error$',this[_0x2ec596(0x14f)][_0x2ec596(0x19e)]());}['emit'](_0x2d7e7e){const _0x20229e=_0x23674c;this[_0x20229e(0x14f)]['next'](_0x2d7e7e);}[_0x23674c(0x107)](){const _0x539f99=_0x23674c;super[_0x539f99(0x107)](),this[_0x539f99(0x14f)][_0x539f99(0x117)]();}};let _0x1b690c={'id':'sheet.mutation.add-dimension-outline','type':_0x21068f['CommandType'][_0x23674c(0x115)],'handler':(_0x493acb,_0xb149e6)=>{const _0x4ade2a=_0x23674c;let _0x1d44f8=_0x493acb[_0x4ade2a(0x15f)](_0x49091a),_0xea004=_0x1d44f8[_0x4ade2a(0x17e)](_0xb149e6[_0x4ade2a(0x1a4)],_0xb149e6[_0x4ade2a(0x135)]);return _0x1d44f8['setOutlines'](_0xb149e6['unitId'],_0xb149e6[_0x4ade2a(0x135)],_0x40f6ac(_0xea004,_0xb149e6[_0x4ade2a(0x143)])),!0x0;}},_0x22c9c1={'id':_0x23674c(0x157),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x115)],'handler':(_0x45c622,_0x301f08)=>{const _0x184bef=_0x23674c;let _0x545313=_0x45c622['get'](_0x49091a),_0x1bc539=_0x545313[_0x184bef(0x17e)](_0x301f08[_0x184bef(0x1a4)],_0x301f08[_0x184bef(0x135)]);return _0x545313[_0x184bef(0x1db)](_0x301f08['unitId'],_0x301f08[_0x184bef(0x135)],_0x1bc539[_0x184bef(0x11b)](_0x24fcd8=>_0x24fcd8['id']!==_0x301f08['outlineId'])),!0x0;}};function _0x514a9b(_0xd87546,_0x37bb1a,_0x53d050){const _0x475592=_0x23674c;let _0x3734e1=_0xe040f9(_0xd87546);return _0x3734e1?_0x3734e1[_0x475592(0x11a)]({'workbookTypes':[_0x2bfd53['WorkbookViewPermission']],'worksheetTypes':[_0x2bfd53[_0x475592(0x132)]]},_0x37bb1a,_0x53d050):!0x0;}function _0x25b6ae(_0x22d708,_0x375452,_0x49fc20){const _0x36c64d=_0x23674c;var _0x42cb5b;let _0x30d870=_0x181a94(_0x22d708);return((_0x42cb5b=_0x30d870==null?void 0x0:_0x30d870[_0x36c64d(0x124)])==null?(0x0,_0x44f90e['of'])(null):_0x42cb5b)['pipe']((0x0,_0x511607[_0x36c64d(0x147)])(0x64),(0x0,_0x511607[_0x36c64d(0x1a9)])(null),(0x0,_0x511607[_0x36c64d(0x1b1)])(()=>_0x514a9b(_0x22d708,_0x375452,_0x49fc20)));}function _0xe040f9(_0x3e6824){const _0x691736=_0x23674c;if(typeof _0x3e6824['has']==_0x691736(0x193)&&!_0x3e6824[_0x691736(0x1ac)](_0x2bfd53[_0x691736(0x15b)]))return null;try{return _0x3e6824[_0x691736(0x15f)](_0x2bfd53[_0x691736(0x15b)]);}catch{return null;}}function _0x181a94(_0x37bf99){const _0x2ce94c=_0x23674c;if(typeof _0x37bf99[_0x2ce94c(0x1ac)]==_0x2ce94c(0x193)&&!_0x37bf99[_0x2ce94c(0x1ac)](_0x21068f['IPermissionService']))return null;try{return _0x37bf99['get'](_0x21068f[_0x2ce94c(0x162)]);}catch{return null;}}let _0x3f79f1={'id':_0x23674c(0x16a),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x3d98bc,_0x2a00bf)=>{const _0x1c381a=_0x23674c;var _0x435d01,_0x1259fb;if(!_0x2a00bf)return!0x1;let _0x3aeeb1=(0x0,_0x2bfd53[_0x1c381a(0x10f)])(_0x3d98bc[_0x1c381a(0x15f)](_0x21068f[_0x1c381a(0x177)]),_0x2a00bf);if(!_0x3aeeb1)return!0x1;let {unitId:_0x7fdace,subUnitId:_0x39fcbb,worksheet:_0x2a10c6}=_0x3aeeb1;if(!_0x514a9b(_0x3d98bc,_0x7fdace,_0x39fcbb))return!0x1;let _0x3ab7bc=_0x3d98bc[_0x1c381a(0x15f)](_0x49091a),_0x2c5156={'id':_0x1c381a(0x137)+(0x0,_0x21068f[_0x1c381a(0x1a6)])(0x6),'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'axis':_0x2a00bf[_0x1c381a(0x14b)],'start':_0x2a00bf[_0x1c381a(0x1cb)],'end':_0x2a00bf[_0x1c381a(0x170)],'collapsed':!0x1},_0x4aafe8=_0x2a00bf[_0x1c381a(0x14b)]===_0x1c381a(0x13e)?_0x2a10c6[_0x1c381a(0x19d)]():_0x2a10c6['getColumnCount'](),_0x30ef45=_0x3ab7bc[_0x1c381a(0x17e)](_0x7fdace,_0x39fcbb),_0x93776e=_0x5aa07a(_0x30ef45,_0x2c5156),_0x30d09f=(_0x435d01=_0x93776e==null?void 0x0:_0x93776e['mergedOutlines'])==null?[]:_0x435d01,_0x27c91c=(_0x1259fb=_0x93776e==null?void 0x0:_0x93776e['mergedOutline'])==null?_0x2c5156:_0x1259fb,_0x23f45f=_0x990e3(_0x93776e?_0x30ef45[_0x1c381a(0x11b)](_0x325ae0=>!_0x30d09f['some'](_0x518d21=>_0x518d21['id']===_0x325ae0['id'])):_0x30ef45,_0x27c91c,{'maxIndex':_0x4aafe8});if(!_0x23f45f[_0x1c381a(0x1c8)]){var _0x2b65da;return _0x3d98bc['get'](_0x49da03)[_0x1c381a(0x196)]({'reason':(_0x2b65da=_0x23f45f[_0x1c381a(0x191)])==null?_0x1c381a(0x113):_0x2b65da,'commandId':_0x3f79f1['id'],'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'axis':_0x2a00bf[_0x1c381a(0x14b)],'outlineId':_0x27c91c['id']}),!0x1;}let _0x3525df=[..._0x30d09f[_0x1c381a(0x1b1)](_0x4628dd=>({'id':_0x22c9c1['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outlineId':_0x4628dd['id']}})),{'id':_0x1b690c['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outline':_0x27c91c}}],_0x390bbc=[{'id':_0x22c9c1['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outlineId':_0x27c91c['id']}},..._0x30d09f[_0x1c381a(0x1b1)](_0x3bf056=>({'id':_0x1b690c['id'],'params':{'unitId':_0x7fdace,'subUnitId':_0x39fcbb,'outline':_0x3bf056}}))];return(0x0,_0x21068f['sequenceExecute'])(_0x3525df,_0x3d98bc['get'](_0x21068f[_0x1c381a(0x15d)]))[_0x1c381a(0x1d7)]?(_0x3d98bc[_0x1c381a(0x15f)](_0x21068f[_0x1c381a(0x195)])[_0x1c381a(0x101)]({'unitID':_0x7fdace,'undoMutations':_0x390bbc,'redoMutations':_0x3525df}),!0x0):!0x1;}},_0xb594a2={'id':'sheet.mutation.clear-dimension-outlines','type':_0x21068f['CommandType']['MUTATION'],'handler':(_0x4eca7a,_0x50a27c)=>{const _0x5d8cb4=_0x23674c;let _0x51b388=_0x4eca7a[_0x5d8cb4(0x15f)](_0x49091a),_0x4d0ae2=_0x51b388[_0x5d8cb4(0x17e)](_0x50a27c['unitId'],_0x50a27c[_0x5d8cb4(0x135)]);return _0x51b388[_0x5d8cb4(0x1db)](_0x50a27c[_0x5d8cb4(0x1a4)],_0x50a27c[_0x5d8cb4(0x135)],_0x44702e(_0x4d0ae2,_0x50a27c)),!0x0;}},_0xc8aaea={'id':_0x23674c(0x18c),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x447019,_0x29fb5a)=>{const _0x227b3e=_0x23674c;if(!_0x29fb5a)return!0x1;let _0x5aef5d=(0x0,_0x2bfd53[_0x227b3e(0x10f)])(_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x177)]),_0x29fb5a);if(!_0x5aef5d)return!0x1;let {unitId:_0x31d07e,subUnitId:_0x2fd530}=_0x5aef5d;if(!_0x514a9b(_0x447019,_0x31d07e,_0x2fd530))return!0x1;let _0x3783b2={'unitId':_0x31d07e,'subUnitId':_0x2fd530,'axis':_0x29fb5a[_0x227b3e(0x14b)],'start':_0x29fb5a['start'],'end':_0x29fb5a['end']},_0x2140b=_0x447019[_0x227b3e(0x15f)](_0x49091a)['getOutlines'](_0x31d07e,_0x2fd530)[_0x227b3e(0x11b)](_0x4a7484=>_0x4a4a58(_0x4a7484,_0x3783b2)&&_0x4a7484[_0x227b3e(0x1cb)]>=_0x29fb5a[_0x227b3e(0x1cb)]&&_0x4a7484[_0x227b3e(0x170)]<=_0x29fb5a[_0x227b3e(0x170)]);if(_0x2140b[_0x227b3e(0x159)]===0x0)return _0x447019[_0x227b3e(0x15f)](_0x49da03)[_0x227b3e(0x196)]({'reason':'clear-range-not-contain-outline','commandId':_0xc8aaea['id'],'unitId':_0x31d07e,'subUnitId':_0x2fd530,'axis':_0x29fb5a['axis']}),!0x1;let _0x231d58=[{'id':_0xb594a2['id'],'params':{..._0x3783b2,'removedOutlineIds':_0x2140b['map'](_0x213bb8=>_0x213bb8['id'])}}],_0x49735a=_0x2140b['map'](_0x873f8a=>({'id':_0x1b690c['id'],'params':{'unitId':_0x31d07e,'subUnitId':_0x2fd530,'outline':_0x873f8a}}));return(0x0,_0x21068f[_0x227b3e(0x174)])(_0x231d58,_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x15d)]))[_0x227b3e(0x1d7)]?(_0x447019[_0x227b3e(0x15f)](_0x21068f[_0x227b3e(0x195)])['pushUndoRedo']({'unitID':_0x31d07e,'undoMutations':_0x49735a,'redoMutations':_0x231d58}),!0x0):!0x1;}},_0x1a186a={'id':'sheet.command.remove-dimension-outline','type':_0x21068f['CommandType'][_0x23674c(0x112)],'handler':(_0x424468,_0x57c8d7)=>{const _0x1083fd=_0x23674c;if(!_0x57c8d7)return!0x1;let _0x438d58=(0x0,_0x2bfd53[_0x1083fd(0x10f)])(_0x424468['get'](_0x21068f['IUniverInstanceService']),_0x57c8d7);if(!_0x438d58)return!0x1;let {unitId:_0x3b5377,subUnitId:_0x400b2a}=_0x438d58;if(!_0x514a9b(_0x424468,_0x3b5377,_0x400b2a))return!0x1;let _0x570f6a=_0x424468['get'](_0x49091a)[_0x1083fd(0x17e)](_0x3b5377,_0x400b2a)[_0x1083fd(0x122)](_0x2c566c=>_0x2c566c['id']===_0x57c8d7['outlineId']);if(!_0x570f6a)return!0x1;let _0x1fd040=[{'id':_0x22c9c1['id'],'params':{'unitId':_0x3b5377,'subUnitId':_0x400b2a,'outlineId':_0x570f6a['id'],'outline':_0x570f6a}}],_0x2310e8=[{'id':_0x1b690c['id'],'params':{'unitId':_0x3b5377,'subUnitId':_0x400b2a,'outline':_0x570f6a}}];return(0x0,_0x21068f[_0x1083fd(0x174)])(_0x1fd040,_0x424468[_0x1083fd(0x15f)](_0x21068f[_0x1083fd(0x15d)]))[_0x1083fd(0x1d7)]?(_0x424468[_0x1083fd(0x15f)](_0x21068f[_0x1083fd(0x195)])['pushUndoRedo']({'unitID':_0x3b5377,'undoMutations':_0x2310e8,'redoMutations':_0x1fd040}),!0x0):!0x1;}},_0xf08c60={'id':_0x23674c(0x1b0),'type':_0x21068f['CommandType'][_0x23674c(0x115)],'handler':(_0x1f13f6,_0x58ce1c)=>{const _0x7ede00=_0x23674c;let _0xd88b0b=_0x1f13f6['get'](_0x49091a),_0x11c239=_0xd88b0b[_0x7ede00(0x17e)](_0x58ce1c[_0x7ede00(0x1a4)],_0x58ce1c[_0x7ede00(0x135)]),_0x528249=_0x11c239['find'](_0x34a99e=>_0x34a99e['id']===_0x58ce1c['outlineId']);return _0x528249&&_0xd88b0b[_0x7ede00(0x1db)](_0x58ce1c[_0x7ede00(0x1a4)],_0x58ce1c[_0x7ede00(0x135)],_0x11c239['map'](_0x263631=>_0x263631[_0x7ede00(0x1a4)]!==_0x528249['unitId']||_0x263631[_0x7ede00(0x135)]!==_0x528249[_0x7ede00(0x135)]||_0x263631[_0x7ede00(0x14b)]!==_0x528249[_0x7ede00(0x14b)]||_0x263631['start']!==_0x528249['start']||_0x263631['end']!==_0x528249[_0x7ede00(0x170)]?_0x263631:{..._0x263631,'collapsed':_0x58ce1c[_0x7ede00(0x144)]})),!0x0;}};function _0x48b3e3(_0x20498f,_0x981baa,_0xdb6a65,_0x16adf2){const _0xb01d70=_0x23674c;return _0x20498f===_0xb01d70(0x13e)?{'startRow':_0x981baa,'endRow':_0xdb6a65,'startColumn':0x0,'endColumn':_0x16adf2[_0xb01d70(0x18e)]()-0x1}:{'startRow':0x0,'endRow':_0x16adf2[_0xb01d70(0x19d)]()-0x1,'startColumn':_0x981baa,'endColumn':_0xdb6a65};}function _0x1bcf37(_0xdb9b7b){const _0x3d1676=_0x23674c;return _0xdb9b7b===_0x3d1676(0x13e)?_0x2bfd53[_0x3d1676(0x11d)]['id']:_0x2bfd53[_0x3d1676(0x1b6)]['id'];}function _0x1677d9(_0xfb96de){const _0x4e6dcd=_0x23674c;return _0xfb96de===_0x4e6dcd(0x13e)?_0x2bfd53[_0x4e6dcd(0x133)]['id']:_0x2bfd53['SetColVisibleMutation']['id'];}function _0x539cb8(_0x452e59,_0x4d8556,_0x1bd57d,_0x2bf437){const _0xdaabda=_0x23674c;let _0xc9f2d9=_0x4d8556?[_0x48b3e3(_0x452e59['axis'],_0x452e59[_0xdaabda(0x1cb)],_0x452e59[_0xdaabda(0x170)],_0x1bd57d)]:_0x49278d(_0x452e59,_0x2bf437,_0x1bd57d),_0x6a1873=_0x4d8556?_0x1bcf37(_0x452e59['axis']):_0x1677d9(_0x452e59[_0xdaabda(0x14b)]);return[{'id':_0xf08c60['id'],'params':{'unitId':_0x452e59[_0xdaabda(0x1a4)],'subUnitId':_0x452e59[_0xdaabda(0x135)],'outlineId':_0x452e59['id'],'outline':_0x452e59,'collapsed':_0x4d8556}},..._0xc9f2d9[_0xdaabda(0x1b1)](_0x146815=>({'id':_0x6a1873,'params':{'unitId':_0x452e59[_0xdaabda(0x1a4)],'subUnitId':_0x452e59[_0xdaabda(0x135)],'ranges':[_0x146815],'dimensionOutlineId':_0x452e59['id']}}))];}function _0x49278d(_0x230348,_0x4673ab,_0x2be1f3){const _0xe07d3=_0x23674c;let _0x57105c=_0x3ee710(_0x4673ab[_0xe07d3(0x1b1)](_0x1608e0=>_0x478383(_0x1608e0,_0x230348)?{..._0x1608e0,'collapsed':!0x1}:_0x1608e0),_0x230348[_0xe07d3(0x1a4)],_0x230348[_0xe07d3(0x135)],_0x230348['axis']);return _0x5aae1b({'start':_0x230348['start'],'end':_0x230348[_0xe07d3(0x170)]},_0x57105c)[_0xe07d3(0x1b1)](_0x52d95d=>_0x48b3e3(_0x230348['axis'],_0x52d95d[_0xe07d3(0x1cb)],_0x52d95d[_0xe07d3(0x170)],_0x2be1f3));}function _0x478383(_0x16186c,_0x445cf9){const _0x4384a1=_0x23674c;return _0x16186c[_0x4384a1(0x1a4)]===_0x445cf9[_0x4384a1(0x1a4)]&&_0x16186c[_0x4384a1(0x135)]===_0x445cf9[_0x4384a1(0x135)]&&_0x16186c[_0x4384a1(0x14b)]===_0x445cf9['axis']&&_0x16186c['start']===_0x445cf9[_0x4384a1(0x1cb)]&&_0x16186c[_0x4384a1(0x170)]===_0x445cf9[_0x4384a1(0x170)];}function _0x5aae1b(_0x55c28c,_0x33e4c0){const _0x1951a4=_0x23674c;let _0x154eff=_0x55c28c[_0x1951a4(0x1cb)],_0x1f5f46=[];for(let _0x4e70b6 of _0x33e4c0)if(!(_0x4e70b6['end']<_0x154eff||_0x4e70b6[_0x1951a4(0x1cb)]>_0x55c28c['end'])&&(_0x4e70b6[_0x1951a4(0x1cb)]>_0x154eff&&_0x1f5f46[_0x1951a4(0x18f)]({'start':_0x154eff,'end':Math[_0x1951a4(0x1bc)](_0x4e70b6['start']-0x1,_0x55c28c['end'])}),_0x154eff=Math['max'](_0x154eff,_0x4e70b6[_0x1951a4(0x170)]+0x1),_0x154eff>_0x55c28c[_0x1951a4(0x170)]))break;return _0x154eff<=_0x55c28c[_0x1951a4(0x170)]&&_0x1f5f46[_0x1951a4(0x18f)]({'start':_0x154eff,'end':_0x55c28c[_0x1951a4(0x170)]}),_0x1f5f46;}let _0x148ab7={'id':_0x23674c(0x12e),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x112)],'handler':(_0x3714d3,_0xd6c7ac)=>{const _0x3f328c=_0x23674c;if(!_0xd6c7ac)return!0x1;let _0x5992ad=(0x0,_0x2bfd53[_0x3f328c(0x10f)])(_0x3714d3[_0x3f328c(0x15f)](_0x21068f['IUniverInstanceService']),_0xd6c7ac);if(!_0x5992ad)return!0x1;let {unitId:_0x32d1a3,subUnitId:_0x39763e,worksheet:_0x3be07e}=_0x5992ad;if(!_0x514a9b(_0x3714d3,_0x32d1a3,_0x39763e))return!0x1;let _0x439d94=_0x3714d3[_0x3f328c(0x15f)](_0x49091a)[_0x3f328c(0x17e)](_0x32d1a3,_0x39763e),_0x27525e=_0x439d94[_0x3f328c(0x122)](_0x59e8f5=>_0x59e8f5['id']===_0xd6c7ac['outlineId']);if(!_0x27525e||_0x27525e[_0x3f328c(0x144)]===_0xd6c7ac[_0x3f328c(0x144)])return!0x1;let _0x33d530=_0x539cb8(_0x27525e,_0xd6c7ac[_0x3f328c(0x144)],_0x3be07e,_0x439d94),_0xb24764=_0x539cb8(_0x27525e,!_0xd6c7ac[_0x3f328c(0x144)],_0x3be07e,_0x439d94);return(0x0,_0x21068f[_0x3f328c(0x174)])(_0x33d530,_0x3714d3[_0x3f328c(0x15f)](_0x21068f[_0x3f328c(0x15d)]))[_0x3f328c(0x1d7)]?(_0x3714d3['get'](_0x21068f['IUndoRedoService'])[_0x3f328c(0x101)]({'unitID':_0x32d1a3,'undoMutations':_0xb24764,'redoMutations':_0x33d530}),!0x0):!0x1;}},_0x26e7f8={'id':_0x23674c(0x10a),'type':_0x21068f[_0x23674c(0x1ce)][_0x23674c(0x115)],'handler':(_0x4de19e,_0x12ec0b)=>{const _0x557272=_0x23674c;let _0x47e972=_0x4de19e[_0x557272(0x15f)](_0x49091a),_0x30f1ae=_0x124fd9(_0x47e972[_0x557272(0x17e)](_0x12ec0b[_0x557272(0x1a4)],_0x12ec0b['subUnitId']),_0x12ec0b);return _0x47e972['setOutlines'](_0x12ec0b[_0x557272(0x1a4)],_0x12ec0b[_0x557272(0x135)],_0x30f1ae),!0x0;}};function _0x124fd9(_0x4fcd40,_0x4d2616){const _0x1a4033=_0x23674c;switch(_0x4d2616[_0x1a4033(0x1c4)]){case _0x1a4033(0x1b8):return _0x4d2616[_0x1a4033(0x12a)]?_0x5e152d(_0x4fcd40,_0x4d2616):_0x1b5709(_0x4fcd40,_0x4d2616);case _0x1a4033(0x134):return _0x1fbb09(_0x4fcd40,_0x4d2616);case _0x1a4033(0x111):return _0x1ee85c(_0x4fcd40,_0x4d2616);}}function _0x5e152d(_0x2564a7,_0x1f28ca){const _0x243110=_0x23674c;return[..._0x2564a7[_0x243110(0x11b)](_0x3d2c00=>_0x3d2c00['unitId']!==_0x1f28ca[_0x243110(0x1a4)]||_0x3d2c00[_0x243110(0x135)]!==_0x1f28ca['subUnitId']||_0x3d2c00['axis']!==_0x1f28ca['axis']),..._0x1f28ca[_0x243110(0x12a)]];}let _0x23aa33=_0x23674c(0x178);var _0x517a63=_0x23674c(0x1d1),_0xbd8028=_0x23674c(0x16b);function _0x3c1481(_0x1a1463,_0x1a4a81){return function(_0x3e06d9,_0x14de0b){_0x1a4a81(_0x3e06d9,_0x14de0b,_0x1a1463);};}function _0x2a1b03(_0x4e611c,_0x359656,_0x26bac0,_0x57242f){const _0x34a08f=_0x23674c;var _0x6cb0bb=arguments['length'],_0x18ee1d=_0x6cb0bb<0x3?_0x359656:_0x57242f===null?_0x57242f=Object['getOwnPropertyDescriptor'](_0x359656,_0x26bac0):_0x57242f,_0x3ff240;if(typeof Reflect==_0x34a08f(0x1b7)&&typeof Reflect[_0x34a08f(0x15a)]==_0x34a08f(0x193))_0x18ee1d=Reflect[_0x34a08f(0x15a)](_0x4e611c,_0x359656,_0x26bac0,_0x57242f);else{for(var _0xd21e3d=_0x4e611c[_0x34a08f(0x159)]-0x1;_0xd21e3d>=0x0;_0xd21e3d--)(_0x3ff240=_0x4e611c[_0xd21e3d])&&(_0x18ee1d=(_0x6cb0bb<0x3?_0x3ff240(_0x18ee1d):_0x6cb0bb>0x3?_0x3ff240(_0x359656,_0x26bac0,_0x18ee1d):_0x3ff240(_0x359656,_0x26bac0))||_0x18ee1d);}return _0x6cb0bb>0x3&&_0x18ee1d&&Object[_0x34a08f(0x171)](_0x359656,_0x26bac0,_0x18ee1d),_0x18ee1d;}let _0x2e7b69={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x582ed5=class extends _0x21068f['Disposable']{constructor(_0x41fece,_0x465416,_0x10a2e5,_0x3d79dc){const _0xb8c1ad=_0x23674c;super(),this[_0xb8c1ad(0x105)]=_0x41fece,this['_sheetInterceptorService']=_0x465416,this[_0xb8c1ad(0x127)]=_0x10a2e5,this[_0xb8c1ad(0x129)]=_0x3d79dc,this[_0xb8c1ad(0x16d)]();}[_0x23674c(0x16d)](){const _0x4fa619=_0x23674c;this[_0x4fa619(0x185)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x58281d=>_0x34e2be(_0x58281d,(_0xf5b0a3,_0x14690c)=>this[_0x4fa619(0x127)][_0x4fa619(0x17e)](_0xf5b0a3,_0x14690c),this[_0x4fa619(0x192)](_0x58281d[_0x4fa619(0x18a)]),_0x2b7091=>this[_0x4fa619(0x129)][_0x4fa619(0x196)](_0x2b7091))}));}['_getCommandScope'](_0x3f344a){const _0x34ad32=_0x23674c;let _0x554d11=_0x3f344a,_0x1a42de=_0x554d11!=null&&_0x554d11[_0x34ad32(0x1a4)]?this[_0x34ad32(0x105)][_0x34ad32(0x14d)](_0x554d11[_0x34ad32(0x1a4)]):this[_0x34ad32(0x105)][_0x34ad32(0x12d)](_0x21068f[_0x34ad32(0x164)][_0x34ad32(0x11e)]);if(!_0x1a42de)return;let _0x49afb2=_0x554d11!=null&&_0x554d11[_0x34ad32(0x135)]?_0x1a42de[_0x34ad32(0x1d2)](_0x554d11['subUnitId']):_0x1a42de[_0x34ad32(0x1ca)]();if(_0x49afb2)return{'unitId':_0x1a42de[_0x34ad32(0x150)](),'subUnitId':_0x49afb2['getSheetId']()};}};_0x582ed5=_0x2a1b03([_0x3c1481(0x0,_0x21068f[_0x23674c(0x177)]),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x2bfd53['SheetInterceptorService'])),_0x3c1481(0x2,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49091a)),_0x3c1481(0x3,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49da03))],_0x582ed5);function _0x34e2be(_0x1eefc,_0x45decd,_0x159f6e,_0x1f27e6){const _0x950f1b=_0x23674c;let _0x48311d=_0x556b23(_0x1eefc,_0x159f6e);if(!_0x48311d)return _0x2e8a31();let _0x156301=_0x45decd(_0x48311d[_0x950f1b(0x1a4)],_0x48311d[_0x950f1b(0x135)]);if(!_0x156301[_0x950f1b(0x1cf)](_0x49af37=>_0x49af37['axis']===_0x48311d[_0x950f1b(0x14b)]))return _0x2e8a31();_0x59bf6c(_0x156301,_0x48311d,_0x1eefc['id'],_0x1f27e6);let _0x40ee24=_0x4136b8(_0x48311d,_0x156301);return{'redos':[{'id':_0x26e7f8['id'],'params':_0x48311d}],'undos':[{'id':_0x26e7f8['id'],'params':_0x40ee24}],'preRedos':[],'preUndos':[]};}function _0x59bf6c(_0x2af0b2,_0x588be2,_0x5bdf77,_0x171305){const _0x452f5d=_0x23674c;try{switch(_0x588be2[_0x452f5d(0x1c4)]){case _0x452f5d(0x1b8):_0x1b5709(_0x2af0b2,_0x588be2);break;case _0x452f5d(0x134):_0x1fbb09(_0x2af0b2,_0x588be2);break;case'move':_0x1ee85c(_0x2af0b2,_0x588be2);break;}}catch(_0x544d25){throw _0x171305==null||_0x171305({'reason':_0x18a936(_0x544d25),'commandId':_0x5bdf77,'unitId':_0x588be2['unitId'],'subUnitId':_0x588be2[_0x452f5d(0x135)],'axis':_0x588be2[_0x452f5d(0x14b)],'outlineId':_0x47f2b6(_0x544d25)}),new _0x21068f[(_0x452f5d(0x176))](_0x544d25 instanceof Error?_0x544d25[_0x452f5d(0x1be)]:_0x452f5d(0x118));}}function _0x556b23(_0x4c368c,_0x217f23){const _0x3871f2=_0x23674c;switch(_0x4c368c['id']){case _0x2bfd53[_0x3871f2(0x12b)]['id']:return _0x4ebe2f(_0x4c368c[_0x3871f2(0x18a)],'row',_0x217f23);case _0x2bfd53[_0x3871f2(0x182)]['id']:return _0x4ebe2f(_0x4c368c['params'],_0x3871f2(0x100),_0x217f23);case _0x2bfd53[_0x3871f2(0x1c1)]['id']:return _0x4dcc78(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x13e),_0x217f23);case _0x2bfd53[_0x3871f2(0x165)]['id']:return _0x4dcc78(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x100),_0x217f23);case _0x2bfd53[_0x3871f2(0x1d8)]['id']:return _0x2600f2(_0x4c368c['params'],'row',_0x217f23);case _0x2bfd53[_0x3871f2(0x102)]['id']:return _0x2600f2(_0x4c368c[_0x3871f2(0x18a)],_0x3871f2(0x100),_0x217f23);default:return null;}}function _0x4ebe2f(_0x36d1bc,_0x35f0f3,_0x95bc4a){const _0x459ba0=_0x23674c;let _0x240280=_0x20cb45(_0x36d1bc,_0x95bc4a);if(!(_0x36d1bc!=null&&_0x36d1bc[_0x459ba0(0x1a3)])||!_0x240280)return null;let _0x37577b=_0x35f0f3==='row'?_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x169)]:_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x110)],_0x9a2d33=_0x35f0f3==='row'?_0x36d1bc[_0x459ba0(0x1a3)]['endRow']:_0x36d1bc[_0x459ba0(0x1a3)][_0x459ba0(0x1cd)];return{..._0x240280,'axis':_0x35f0f3,'type':_0x459ba0(0x1b8),'index':_0x37577b,'count':_0x9a2d33-_0x37577b+0x1};}function _0x4dcc78(_0x55476e,_0x3b291a,_0x5eb10e){const _0x50a926=_0x23674c;let _0x1c148d=_0x20cb45(_0x55476e,_0x5eb10e);if(!(_0x55476e!=null&&_0x55476e['range'])||!_0x1c148d)return null;let _0x17764e=_0x3b291a===_0x50a926(0x13e)?_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x169)]:_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x110)],_0x116b3d=_0x3b291a===_0x50a926(0x13e)?_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x19b)]:_0x55476e[_0x50a926(0x1a3)][_0x50a926(0x1cd)];return{..._0x1c148d,'axis':_0x3b291a,'type':_0x50a926(0x134),'start':_0x17764e,'end':_0x116b3d};}function _0x2600f2(_0x44824b,_0x28c86a,_0x1d0f89){const _0x42f131=_0x23674c;let _0x3ae2d5=_0x20cb45(_0x44824b,_0x1d0f89);if(!(_0x44824b!=null&&_0x44824b['fromRange'])||!_0x44824b[_0x42f131(0x197)]||!_0x3ae2d5)return null;let _0x4c08f3=_0x28c86a===_0x42f131(0x13e)?_0x44824b[_0x42f131(0x13f)][_0x42f131(0x169)]:_0x44824b[_0x42f131(0x13f)][_0x42f131(0x110)],_0x4fdc93=_0x28c86a===_0x42f131(0x13e)?_0x44824b[_0x42f131(0x13f)][_0x42f131(0x19b)]:_0x44824b[_0x42f131(0x13f)]['endColumn'],_0x363a8a=_0x28c86a==='row'?_0x44824b['toRange'][_0x42f131(0x169)]:_0x44824b[_0x42f131(0x197)][_0x42f131(0x110)];return{..._0x3ae2d5,'axis':_0x28c86a,'type':_0x42f131(0x111),'sourceStart':_0x4c08f3,'sourceEnd':_0x4fdc93,'destinationIndex':_0x363a8a};}function _0x4136b8(_0x3338ff,_0x2fde95){const _0x44e1c7=_0x23674c;switch(_0x3338ff[_0x44e1c7(0x1c4)]){case _0x44e1c7(0x1b8):return{'unitId':_0x3338ff[_0x44e1c7(0x1a4)],'subUnitId':_0x3338ff[_0x44e1c7(0x135)],'axis':_0x3338ff[_0x44e1c7(0x14b)],'type':_0x44e1c7(0x134),'start':_0x3338ff[_0x44e1c7(0x153)],'end':_0x3338ff[_0x44e1c7(0x153)]+_0x3338ff[_0x44e1c7(0x141)]-0x1};case'delete':return{'unitId':_0x3338ff['unitId'],'subUnitId':_0x3338ff[_0x44e1c7(0x135)],'axis':_0x3338ff[_0x44e1c7(0x14b)],'type':_0x44e1c7(0x1b8),'index':_0x3338ff['start'],'count':_0x3338ff[_0x44e1c7(0x170)]-_0x3338ff['start']+0x1,'restoreOutlines':_0x2fde95[_0x44e1c7(0x11b)](_0x2753f0=>_0x2753f0[_0x44e1c7(0x1a4)]===_0x3338ff[_0x44e1c7(0x1a4)]&&_0x2753f0[_0x44e1c7(0x135)]===_0x3338ff[_0x44e1c7(0x135)]&&_0x2753f0[_0x44e1c7(0x14b)]===_0x3338ff['axis'])};case _0x44e1c7(0x111):return _0x5b0603(_0x3338ff);}}function _0x5b0603(_0x478acb){const _0x263f56=_0x23674c;let _0x3c9ca6=_0x478acb[_0x263f56(0x123)]-_0x478acb[_0x263f56(0x189)]+0x1;return _0x478acb[_0x263f56(0x1a5)]>=_0x478acb[_0x263f56(0x189)]&&_0x478acb[_0x263f56(0x1a5)]<=_0x478acb[_0x263f56(0x123)]+0x1?{..._0x478acb}:_0x478acb[_0x263f56(0x1a5)]>_0x478acb[_0x263f56(0x123)]+0x1?{..._0x478acb,'sourceStart':_0x478acb['destinationIndex']-_0x3c9ca6,'sourceEnd':_0x478acb['destinationIndex']-0x1,'destinationIndex':_0x478acb['sourceStart']}:{..._0x478acb,'sourceStart':_0x478acb[_0x263f56(0x1a5)],'sourceEnd':_0x478acb[_0x263f56(0x1a5)]+_0x3c9ca6-0x1,'destinationIndex':_0x478acb['sourceEnd']+0x1};}function _0x20cb45(_0x27b0cd,_0x365757){const _0x1e89c4=_0x23674c;var _0x2a947f,_0x49e0f6;let _0x17dee0=(_0x2a947f=_0x27b0cd==null?void 0x0:_0x27b0cd[_0x1e89c4(0x1a4)])==null?_0x365757==null?void 0x0:_0x365757[_0x1e89c4(0x1a4)]:_0x2a947f,_0x5d5c12=(_0x49e0f6=_0x27b0cd==null?void 0x0:_0x27b0cd[_0x1e89c4(0x135)])==null?_0x365757==null?void 0x0:_0x365757['subUnitId']:_0x49e0f6;return _0x17dee0&&_0x5d5c12?{'unitId':_0x17dee0,'subUnitId':_0x5d5c12}:null;}function _0x2e8a31(){const _0x3ed3ee=_0x23674c;var _0x2080b0,_0x13d043;return{'redos':[..._0x2e7b69[_0x3ed3ee(0x1ad)]],'undos':[..._0x2e7b69['undos']],'preRedos':[...(_0x2080b0=_0x2e7b69[_0x3ed3ee(0x180)])==null?[]:_0x2080b0],'preUndos':[...(_0x13d043=_0x2e7b69[_0x3ed3ee(0x1d4)])==null?[]:_0x13d043]};}let _0x21cae2=class extends _0x21068f[_0x23674c(0x152)]{constructor(_0x39ee32,_0xb60cde){const _0x598fb1=_0x23674c;super(),this[_0x598fb1(0x1d5)]=_0x39ee32,this[_0x598fb1(0x127)]=_0xb60cde,this[_0x598fb1(0x1c3)]();}[_0x23674c(0x1c3)](){const _0x1aea1e=_0x23674c;this[_0x1aea1e(0x185)](this['_resourceManagerService'][_0x1aea1e(0x1bb)]({'pluginName':_0x23aa33,'businesses':[_0x21068f['UniverInstanceType']['UNIVER_SHEET']],'toJson':_0x26af82=>JSON['stringify'](this['_sheetsOutlineModel'][_0x1aea1e(0x15c)](_0x26af82)),'parseJson':_0x45e83b=>JSON[_0x1aea1e(0x13d)](_0x45e83b),'onLoad':(_0x1cc19f,_0x100efb)=>this[_0x1aea1e(0x127)][_0x1aea1e(0x131)](_0x1cc19f,_0x100efb),'onUnLoad':_0x1c1430=>this[_0x1aea1e(0x127)][_0x1aea1e(0x1d0)](_0x1c1430)}));}};_0x21cae2=_0x2a1b03([_0x3c1481(0x0,_0x21068f['IResourceManagerService']),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x49091a))],_0x21cae2);let _0x217e3d=class extends _0x21068f[_0x23674c(0x104)]{constructor(_0x37a492,_0xca060c,_0x1bedce){const _0x35ce72=_0x23674c;super(),this[_0x35ce72(0x17d)]=_0x37a492,this[_0x35ce72(0x13c)]=_0xca060c,this[_0x35ce72(0x142)]=_0x1bedce;}['onStarting'](){const _0x274866=_0x23674c;this[_0x274866(0x13c)][_0x274866(0x187)]([_0x49091a]),this[_0x274866(0x13c)]['add']([_0x49da03]),this[_0x274866(0x13c)][_0x274866(0x187)]([_0x21cae2]),this['_injector'][_0x274866(0x187)]([_0x582ed5]),this[_0x274866(0x1ba)](),this[_0x274866(0x13c)][_0x274866(0x15f)](_0x49091a),this['_injector']['get'](_0x49da03),this[_0x274866(0x13c)][_0x274866(0x15f)](_0x21cae2),this[_0x274866(0x13c)]['get'](_0x582ed5);}[_0x23674c(0x1ba)](){const _0x394772=_0x23674c;[_0x3f79f1,_0x1a186a,_0x148ab7,_0xc8aaea][_0x394772(0x12f)](_0x2c8589=>{const _0x4da4bf=_0x394772;this['disposeWithMe'](this[_0x4da4bf(0x142)][_0x4da4bf(0x14c)](_0x2c8589));}),[_0x1b690c,_0x22c9c1,_0xf08c60,_0xb594a2,_0x26e7f8]['forEach'](_0x1a612a=>{const _0x1e0e37=_0x394772;this[_0x1e0e37(0x185)](this['_commandService']['registerCommand'](_0x1a612a));});}};_0x466529(_0x217e3d,'pluginName',_0x23aa33),_0x466529(_0x217e3d,_0x23674c(0x155),_0x517a63),_0x466529(_0x217e3d,_0x23674c(0x163),_0xbd8028),_0x466529(_0x217e3d,_0x23674c(0x1c4),_0x21068f['UniverInstanceType'][_0x23674c(0x11e)]),_0x217e3d=_0x2a1b03([(0x0,_0x21068f[_0x23674c(0x1b5)])(_0x16b8d6[_0x23674c(0x1bf)]),_0x3c1481(0x1,(0x0,_0x21068f[_0x23674c(0x148)])(_0x21068f['Injector'])),_0x3c1481(0x2,_0x21068f[_0x23674c(0x15d)])],_0x217e3d),_0x3ae72b[_0x23674c(0x194)]=_0x3f79f1,_0x3ae72b[_0x23674c(0x1dc)]=_0x1b690c,_0x3ae72b[_0x23674c(0x1d6)]=_0xc8aaea,_0x3ae72b[_0x23674c(0x145)]=_0xb594a2,_0x3ae72b[_0x23674c(0x13b)]=_0x4a389e,_0x3ae72b[_0x23674c(0x17b)]=_0x25cb4b,_0x3ae72b[_0x23674c(0x188)]=_0x5aec2f,_0x3ae72b['RemoveDimensionOutlineCommand']=_0x1a186a,_0x3ae72b['RemoveDimensionOutlineMutation']=_0x22c9c1,_0x3ae72b['SHEETS_OUTLINE_PLUGIN_CONFIG_KEY']=_0x23674c(0x1a0),_0x3ae72b[_0x23674c(0x178)]=_0x23aa33,_0x3ae72b['SetDimensionOutlineCollapsedCommand']=_0x148ab7,_0x3ae72b[_0x23674c(0x103)]=_0xf08c60,_0x3ae72b[_0x23674c(0x1a1)]=_0x49da03,_0x3ae72b[_0x23674c(0x175)]=_0x49091a,_0x3ae72b['TransformDimensionOutlinesMutation']=_0x26e7f8,Object[_0x23674c(0x171)](_0x3ae72b,'UniverSheetsOutlinePlugin',{'enumerable':!0x0,'get':function(){return _0x217e3d;}}),_0x3ae72b['addDimensionOutlineToList']=_0x40f6ac,_0x3ae72b['buildDimensionOutlineTree']=_0x34acea,_0x3ae72b['buildHiddenRanges']=_0x3ee710,_0x3ae72b[_0x23674c(0x121)]=_0x990e3,_0x3ae72b[_0x23674c(0x119)]=_0x44702e,_0x3ae72b['getDimensionOutlineErrorOutlineId']=_0x47f2b6,_0x3ae72b[_0x23674c(0x14a)]=_0x18a936,_0x3ae72b[_0x23674c(0x16e)]=_0x25b6ae,_0x3ae72b[_0x23674c(0x156)]=_0x514a9b,_0x3ae72b['mergeRanges']=_0x171983,_0x3ae72b[_0x23674c(0x1ab)]=_0x1fbb09,_0x3ae72b[_0x23674c(0x128)]=_0x1b5709,_0x3ae72b[_0x23674c(0x1c2)]=_0x1ee85c;}));
|
|
1
|
+
function _0x315b(_0x461d25,_0x41fa1d){_0x461d25=_0x461d25-0x1a8;const _0x95b66d=_0x95b6();let _0x315b43=_0x95b66d[_0x461d25];return _0x315b43;}function _0x95b6(){const _0x4987d6=['SheetPermissionCheckController','default','Module','_ensureUnitOutlines','SetDimensionOutlineCollapsedMutation','removeUnit','UniverSheets','range','map','_config','@univerjs/core','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','OUT_OF_BOUNDS','endColumn','getColumnCount','ClearDimensionOutlinesCommand','axis','getMaxColumns','_initResource','debounceTime','setOutlines','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','object','1293320aMoNaN','toPrimitive','CustomCommandExecutionError','destinationIndex','getCurrentUnitOfType','Subject','Invalid\x20outline\x20range','IPermissionService','buildDimensionOutlineTree','clear-range-not-contain-outline','maxDepth','delete','InsertRowCommand','UniverInstanceType','hasDimensionOutlineViewPermission','stringify','change$','pushUndoRedo','clear','@univerjs/sheets','find','sheet.command.remove-dimension-outline','SheetsOutlineModel','MoveColsCommand','max-depth','sheet.command.add-dimension-outline','UniverLicensePlugin','UniverProLicense','fromRange','8VDQRak','_getCommandScope','generateRandomId','mergedOutline','_outlines','decorate','ClearDimensionOutlinesMutation','result','type','dispose','maxIndex','3418500eVeKYV','getSheetId','sourceStart','SetRowVisibleMutation','pop','_initCommandInterceptor','getUnitId','UNKNOWN','unknown','packageName','getDimensionOutlineErrorOutlineId','Inject','SetDimensionOutlineCollapsedCommand','startRow','move-splits-outline','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','column','invalid-range','next','Disposable','toStringTag','offset','RemoveDimensionOutlineCommand','sourceEnd','length','pipe','@univerjs-pro/sheets-outline','max','join','342429THwlKL','_sheetsOutlineModel','_change$','registerPluginResource','restoreOutlines','SheetInterceptorService','startColumn','mergedOutlines','forEach','invalid-dimension-outline','WorksheetViewPermission','AddDimensionOutlineMutation','Crossing','includes','insert','registerCommand','clearDimensionOutlinesInRange','IUniverInstanceService','function','sheet.command.set-dimension-outline-collapsed','params','reason','COMMAND','INVALID_RANGE','getSheetCommandTarget','error$','filter','_commandService','outline','getActiveSheet','_initRegisterCommand','depth','amd','sort','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','MUTATION','Invalid\x20dimension\x20outline\x20move\x20source\x20range','sheet.mutation.remove-dimension-outline','message','InsertColCommand','symbol','row','_sheetInterceptorService','collapsed','string','SetRowHiddenMutation','unitId','_sheetsOutlineErrorService','disposeWithMe','UniverCore','getUnitOutlines','_resourceManagerService','transformOutlinesByInsert','863896zuIMlB','call','Injector','name','rxjs','1155234UyyPfR','_injector','preRedos','count','transformOutlinesByMove','18515637LlNEUM','outlineId','SHEET_OUTLINE_PLUGIN','getDimensionOutlineErrorReason','DimensionOutlineError','DimensionOutlineAxis','index','UniverProSheetsOutline','IResourceManagerService','localeCompare','startWith','SHEETS_OUTLINE_PLUGIN_CONFIG_KEY','MoveRowsCommand','from','children','values','UniverSheetsOutlinePlugin','toRange','defineProperty','dimension-outline-','TransformDimensionOutlinesMutation','RemoveColCommand','CommandType','rxjs/operators','emit','MOVE_SPLITS_OUTLINE','move','has','UNIVER_SHEET','_univerInstanceService','getOutlines','constructor','push','@univerjs-pro/license','version','end','crossing','subUnitId','min','start','_error$','add','valid','split','canAddDimensionOutline','set','getRowCount','some','ICommandService','sheet.mutation.transform-dimension-outlines','asObservable','5usVhBR','Invalid\x20dimension\x20outline\x20mutation','get','out-of-bounds','onStarting','operators','redos','455370ZzbKEZ','sequenceExecute','sheet.command.clear-dimension-outlines','mergeRanges','MAX_DEPTH','parse','endRow'];_0x95b6=function(){return _0x4987d6;};return _0x95b6();}(function(_0x18899e,_0x28ac99){const _0x4da08e=_0x315b,_0x157de0=_0x18899e();while(!![]){try{const _0x4d1c09=-parseInt(_0x4da08e(0x27a))/0x1+-parseInt(_0x4da08e(0x1d8))/0x2+-parseInt(_0x4da08e(0x217))/0x3+-parseInt(_0x4da08e(0x1d3))/0x4*(parseInt(_0x4da08e(0x210))/0x5)+-parseInt(_0x4da08e(0x25d))/0x6+parseInt(_0x4da08e(0x235))/0x7+parseInt(_0x4da08e(0x252))/0x8*(parseInt(_0x4da08e(0x1dd))/0x9);if(_0x4d1c09===_0x28ac99)break;else _0x157de0['push'](_0x157de0['shift']());}catch(_0x37953b){_0x157de0['push'](_0x157de0['shift']());}}}(_0x95b6,0x5dded),function(_0x928a4b,_0x3e0c2b){const _0x4841ac=_0x315b;typeof exports=='object'&&typeof module<'u'?_0x3e0c2b(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x4841ac(0x1b0)&&define[_0x4841ac(0x1be)]?define(['exports',_0x4841ac(0x228),_0x4841ac(0x248),_0x4841ac(0x1d7),_0x4841ac(0x1f4),_0x4841ac(0x1fe)],_0x3e0c2b):(_0x928a4b=typeof globalThis<'u'?globalThis:_0x928a4b||self,_0x3e0c2b(_0x928a4b[_0x4841ac(0x1e4)]={},_0x928a4b[_0x4841ac(0x1cf)],_0x928a4b[_0x4841ac(0x224)],_0x928a4b[_0x4841ac(0x1d7)],_0x928a4b[_0x4841ac(0x1d7)][_0x4841ac(0x215)],_0x928a4b[_0x4841ac(0x250)]));}(this,function(_0xd729d,_0x7d4204,_0x370e7a,_0x406414,_0x2595f5,_0xcc228c){const _0x5ab50b=_0x315b;Object[_0x5ab50b(0x1ef)](_0xd729d,Symbol[_0x5ab50b(0x271)],{'value':_0x5ab50b(0x220)});let _0x4e20e8=function(_0x40d16c){const _0x5016a3=_0x5ab50b;return _0x40d16c['ROW']=_0x5016a3(0x1c7),_0x40d16c['COLUMN']=_0x5016a3(0x26d),_0x40d16c;}({}),_0xc506f2=function(_0x13ac15){const _0x27ddab=_0x5ab50b;return _0x13ac15[_0x27ddab(0x1b5)]=_0x27ddab(0x26e),_0x13ac15[_0x27ddab(0x22a)]=_0x27ddab(0x213),_0x13ac15['CROSSING']=_0x27ddab(0x201),_0x13ac15[_0x27ddab(0x21b)]='max-depth',_0x13ac15[_0x27ddab(0x1f6)]=_0x27ddab(0x26b),_0x13ac15[_0x27ddab(0x229)]=_0x27ddab(0x23e),_0x13ac15[_0x27ddab(0x264)]=_0x27ddab(0x265),_0x13ac15;}({});var _0x259bd4=class extends Error{constructor(_0x1ce0cd,_0x1100d8,_0x3e7b6c){const _0x1cf390=_0x5ab50b;super(_0x1100d8),this[_0x1cf390(0x1b3)]=_0x1ce0cd,this[_0x1cf390(0x1de)]=_0x3e7b6c,this[_0x1cf390(0x1d6)]=_0x1cf390(0x1e1);}};function _0x46b161(_0x3d220f){const _0xda5383=_0x5ab50b;return _0x3d220f instanceof _0x259bd4?_0x3d220f['reason']:_0x3d220f instanceof Error?_0x3d220f[_0xda5383(0x1c4)]['includes']('split\x20dimension\x20outline')?'move-splits-outline':_0x3d220f['message'][_0xda5383(0x1ab)]('depth')?_0xda5383(0x24d):_0x3d220f[_0xda5383(0x1c4)][_0xda5383(0x1ab)](_0xda5383(0x1aa))?'crossing':_0x3d220f[_0xda5383(0x1c4)][_0xda5383(0x1ab)]('range')?'invalid-range':_0xda5383(0x265):_0xda5383(0x265);}function _0x2f2266(_0x2f22e4){const _0xef0503=_0x5ab50b;return _0x2f22e4 instanceof _0x259bd4?_0x2f22e4[_0xef0503(0x1de)]:void 0x0;}let _0x3154f9=0x2**0x35-0x1;function _0x6d728d(_0xfc7f43,_0x5ae01d){const _0x1beccc=_0x5ab50b;return _0xfc7f43['unitId']===_0x5ae01d[_0x1beccc(0x1cc)]&&_0xfc7f43[_0x1beccc(0x202)]===_0x5ae01d[_0x1beccc(0x202)]&&_0xfc7f43[_0x1beccc(0x22e)]===_0x5ae01d['axis'];}function _0xe17c25(_0x3ea444,_0x259b48={}){const _0x368565=_0x5ab50b;var _0x536f3c;let _0x37f540=(_0x536f3c=_0x259b48[_0x368565(0x23f)])==null?0x8:_0x536f3c,_0x3fb4d4=new Map();for(let _0x4ca598 of _0x3ea444){let _0x4a6529=_0x4ca598['unitId']+':'+_0x4ca598['subUnitId']+':'+_0x4ca598[_0x368565(0x22e)],_0x441a51=_0x3fb4d4[_0x368565(0x212)](_0x4a6529);_0x441a51?_0x441a51[_0x368565(0x1fd)](_0x4ca598):_0x3fb4d4[_0x368565(0x20a)](_0x4a6529,[_0x4ca598]);}let _0x1e2368=[];for(let _0x2c9e85 of _0x3fb4d4[_0x368565(0x1ec)]()){let _0x4c5f4a=[..._0x2c9e85]['sort'](_0x5e7b76),_0x44ddf3=[];for(let _0x49c961 of _0x4c5f4a){for(_0x2326a4(_0x49c961);_0x44ddf3['length']>0x0&&_0x49c961[_0x368565(0x204)]>_0x44ddf3[_0x44ddf3[_0x368565(0x275)]-0x1][_0x368565(0x200)];)_0x44ddf3[_0x368565(0x261)]();let _0x37de42=_0x44ddf3[_0x44ddf3[_0x368565(0x275)]-0x1];if(_0x37de42&&_0x49c961[_0x368565(0x200)]>_0x37de42[_0x368565(0x200)])throw new _0x259bd4(_0x368565(0x201),_0x368565(0x26c),_0x49c961['id']);let _0x502804=_0x37de42?_0x37de42[_0x368565(0x1bd)]+0x1:0x1;if(_0x502804>_0x37f540)throw new _0x259bd4(_0x368565(0x24d),_0x368565(0x1c0)+_0x37f540,_0x49c961['id']);let _0x51fc4b={..._0x49c961,'depth':_0x502804,'parentId':_0x37de42==null?void 0x0:_0x37de42['id'],'anchor':_0x49c961[_0x368565(0x200)],'children':[]};_0x37de42?_0x37de42[_0x368565(0x1eb)]['push'](_0x51fc4b):_0x1e2368[_0x368565(0x1fd)](_0x51fc4b),_0x44ddf3[_0x368565(0x1fd)](_0x51fc4b);}}return _0x1e2368;}function _0x5311ab(_0x23b873,_0x474c98,_0x3bd070={}){const _0x119455=_0x5ab50b;if(_0x474c98[_0x119455(0x204)]<0x0||_0x474c98[_0x119455(0x204)]>_0x474c98[_0x119455(0x200)])return{'valid':!0x1,'reason':_0x119455(0x26e)};if(_0x3bd070[_0x119455(0x25c)]!=null&&_0x474c98[_0x119455(0x200)]>=_0x3bd070['maxIndex'])return{'valid':!0x1,'reason':'out-of-bounds'};let _0x174d58=_0x23b873[_0x119455(0x1b8)](_0x1022fa=>_0x6d728d(_0x1022fa,_0x474c98));for(let _0x25421f of _0x174d58)if(_0x15fd46(_0x25421f,_0x474c98))return{'valid':!0x1,'reason':_0x119455(0x201)};try{_0xe17c25([..._0x23b873,_0x474c98],_0x3bd070);}catch(_0x18f9cf){let _0x5a8f95=_0x46b161(_0x18f9cf);return _0x5a8f95===_0x119455(0x24d)?{'valid':!0x1,'reason':_0x119455(0x24d)}:_0x5a8f95===_0x119455(0x26e)?{'valid':!0x1,'reason':_0x119455(0x26e)}:{'valid':!0x1,'reason':_0x119455(0x201)};}return{'valid':!0x0};}function _0x559c88(_0x4b344a,_0x222729,_0xb1ab7d={}){const _0x2323f4=_0x5ab50b;let _0x1d0dbf=_0x5311ab(_0x4b344a,_0x222729,_0xb1ab7d);if(!_0x1d0dbf[_0x2323f4(0x207)]){var _0x5bc10e;throw Error((_0x5bc10e=_0x1d0dbf[_0x2323f4(0x1b3)])==null?_0x2323f4(0x283):_0x5bc10e);}return[..._0x4b344a,_0x222729];}function _0x519635(_0x5701f8,_0x5b770b){const _0x477732=_0x5ab50b;let _0x556231=_0x5b770b[_0x477732(0x204)],_0x53c26d=_0x5b770b['end'],_0x32cdf4=[],_0xa30ce6=!0x0;for(;_0xa30ce6;){_0xa30ce6=!0x1;for(let _0x2c158d of _0x5701f8)_0x32cdf4[_0x477732(0x1ab)](_0x2c158d)||!_0x6d728d(_0x2c158d,_0x5b770b)||!_0xc14b6e(_0x2c158d[_0x477732(0x204)],_0x2c158d[_0x477732(0x200)],_0x556231,_0x53c26d)||(_0x32cdf4[_0x477732(0x1fd)](_0x2c158d),_0x556231=Math[_0x477732(0x203)](_0x556231,_0x2c158d[_0x477732(0x204)]),_0x53c26d=Math[_0x477732(0x278)](_0x53c26d,_0x2c158d[_0x477732(0x200)]),_0xa30ce6=!0x0);}if(_0x32cdf4['length']===0x0)return null;let [_0x5d5535]=[..._0x32cdf4][_0x477732(0x1bf)](_0x5e7b76);return{'mergedOutline':{..._0x5d5535,'start':_0x556231,'end':_0x53c26d},'mergedOutlines':_0x32cdf4};}function _0x28008e(_0x230d4e,_0x1f4b95){const _0x924b3c=_0x5ab50b;return _0x230d4e['filter'](_0x2a2d96=>_0x6d728d(_0x2a2d96,_0x1f4b95)?!(_0x2a2d96[_0x924b3c(0x204)]>=_0x1f4b95['start']&&_0x2a2d96[_0x924b3c(0x200)]<=_0x1f4b95[_0x924b3c(0x200)]):!0x0);}function _0x576452(_0x574242,_0x21da8c,_0x30f0ff,_0xa1d35b){const _0x56429d=_0x5ab50b;return _0x27ccdb(_0x574242['filter'](_0xcf6c87=>_0xcf6c87[_0x56429d(0x1cc)]===_0x21da8c&&_0xcf6c87[_0x56429d(0x202)]===_0x30f0ff&&_0xcf6c87['axis']===_0xa1d35b&&_0xcf6c87[_0x56429d(0x1c9)])['map'](_0x34cb3d=>({'start':_0x34cb3d[_0x56429d(0x204)],'end':_0x34cb3d[_0x56429d(0x200)]})));}function _0x27ccdb(_0x3e5e73){const _0x356c22=_0x5ab50b;if(_0x3e5e73['length']===0x0)return[];let _0x27eb1b=[..._0x3e5e73]['sort']((_0xfb3b86,_0x564a4c)=>_0xfb3b86[_0x356c22(0x204)]-_0x564a4c['start']||_0xfb3b86[_0x356c22(0x200)]-_0x564a4c['end']),_0x4de163=[];for(let _0x58e54a of _0x27eb1b){let _0x45a81d=_0x4de163[_0x4de163[_0x356c22(0x275)]-0x1];!_0x45a81d||_0x58e54a[_0x356c22(0x204)]>_0x45a81d[_0x356c22(0x200)]+0x1?_0x4de163[_0x356c22(0x1fd)]({..._0x58e54a}):_0x45a81d[_0x356c22(0x200)]=Math['max'](_0x45a81d[_0x356c22(0x200)],_0x58e54a['end']);}return _0x4de163;}function _0x3fdbb0(_0x3fd6b3,_0x51f989){const _0xee6c3a=_0x5ab50b;return _0x51f989[_0xee6c3a(0x1db)]<=0x0?_0x3fd6b3:_0x2ddc10(_0x3fd6b3[_0xee6c3a(0x226)](_0x4eb1bb=>_0x6d728d(_0x4eb1bb,_0x51f989)?_0x51f989[_0xee6c3a(0x1e3)]<=_0x4eb1bb[_0xee6c3a(0x204)]?{..._0x4eb1bb,'start':_0x4eb1bb[_0xee6c3a(0x204)]+_0x51f989[_0xee6c3a(0x1db)],'end':_0x4eb1bb['end']+_0x51f989[_0xee6c3a(0x1db)]}:_0x4eb1bb[_0xee6c3a(0x204)]<_0x51f989[_0xee6c3a(0x1e3)]&&_0x51f989[_0xee6c3a(0x1e3)]<=_0x4eb1bb[_0xee6c3a(0x200)]?{..._0x4eb1bb,'end':_0x4eb1bb[_0xee6c3a(0x200)]+_0x51f989['count']}:_0x4eb1bb:_0x4eb1bb));}function _0x1e7d82(_0x16db2a,_0x2f026a){const _0x4bbd95=_0x5ab50b;if(_0x2f026a['start']>_0x2f026a[_0x4bbd95(0x200)])return _0x16db2a;let _0x27a00c=_0x2f026a[_0x4bbd95(0x200)]-_0x2f026a[_0x4bbd95(0x204)]+0x1,_0x5c3a8c=[];for(let _0x2ef82c of _0x16db2a){if(!_0x6d728d(_0x2ef82c,_0x2f026a)){_0x5c3a8c[_0x4bbd95(0x1fd)](_0x2ef82c);continue;}if(_0x2ef82c[_0x4bbd95(0x200)]<_0x2f026a[_0x4bbd95(0x204)]){_0x5c3a8c[_0x4bbd95(0x1fd)](_0x2ef82c);continue;}if(_0x2ef82c['start']>_0x2f026a[_0x4bbd95(0x200)]){_0x5c3a8c['push']({..._0x2ef82c,'start':_0x2ef82c[_0x4bbd95(0x204)]-_0x27a00c,'end':_0x2ef82c['end']-_0x27a00c});continue;}let _0x65d6ed=Math['max'](_0x2ef82c['start'],_0x2f026a[_0x4bbd95(0x204)]),_0x5171d9=Math[_0x4bbd95(0x203)](_0x2ef82c[_0x4bbd95(0x200)],_0x2f026a[_0x4bbd95(0x200)]),_0x369d3c=Math[_0x4bbd95(0x278)](0x0,_0x5171d9-_0x65d6ed+0x1),_0xa65a68=_0x2ef82c[_0x4bbd95(0x200)]-_0x2ef82c[_0x4bbd95(0x204)]+0x1-_0x369d3c;if(_0xa65a68<=0x0)continue;let _0xb3d482=_0x2ef82c[_0x4bbd95(0x204)]<_0x2f026a[_0x4bbd95(0x204)]?_0x2ef82c[_0x4bbd95(0x204)]:_0x2f026a[_0x4bbd95(0x204)];_0x5c3a8c[_0x4bbd95(0x1fd)]({..._0x2ef82c,'start':_0xb3d482,'end':_0xb3d482+_0xa65a68-0x1});}return _0x2ddc10(_0x5c3a8c);}function _0x132ddb(_0x3f9f16,_0x36006d){const _0x43e6bf=_0x5ab50b;if(_0x36006d[_0x43e6bf(0x25f)]>_0x36006d['sourceEnd'])return _0x3f9f16;let _0x2c301a=[];for(let _0xb8e0da of _0x3f9f16){if(!_0x6d728d(_0xb8e0da,_0x36006d)){_0x2c301a[_0x43e6bf(0x1fd)](_0xb8e0da);continue;}let _0x21d681=_0x5c5ac5(_0xb8e0da,_0x36006d);if(_0x21d681[_0x43e6bf(0x25a)]===_0x43e6bf(0x208))throw new _0x259bd4(_0x43e6bf(0x26b),'Move\x20would\x20split\x20dimension\x20outline:\x20'+_0xb8e0da['id'],_0xb8e0da['id']);_0x2c301a[_0x43e6bf(0x1fd)](_0x21d681[_0x43e6bf(0x1ba)]);}return _0x2ddc10(_0x2c301a);}function _0x5c5ac5(_0x59c933,_0x3b5346){const _0x2618aa=_0x5ab50b;let _0x3cb5b7=_0x1024f4(_0x3b5346[_0x2618aa(0x25f)],_0x3b5346[_0x2618aa(0x274)]+0x1,_0x3b5346[_0x2618aa(0x238)]),_0x2552c1=[],_0x336294={'start':_0x59c933['start'],'end':_0x59c933[_0x2618aa(0x200)]+0x1};for(let _0x2b878a of _0x3cb5b7){let _0x518b49=_0x4e448b(_0x336294,_0x2b878a[_0x2618aa(0x225)]);_0x518b49&&_0x2552c1[_0x2618aa(0x1fd)]({'start':_0x518b49[_0x2618aa(0x204)]+_0x2b878a[_0x2618aa(0x272)],'end':_0x518b49[_0x2618aa(0x200)]+_0x2b878a[_0x2618aa(0x272)]});}let _0x4de665=_0x2e611d(_0x2552c1);return _0x4de665[_0x2618aa(0x275)]===0x1?{'type':'ok','outline':{..._0x59c933,'start':_0x4de665[0x0][_0x2618aa(0x204)],'end':_0x4de665[0x0][_0x2618aa(0x200)]-0x1}}:{'type':_0x2618aa(0x208),'outline':_0x59c933,'ranges':_0x4de665};}function _0x1024f4(_0xba9b07,_0x29647f,_0x17b057){const _0x354629=_0x5ab50b;let _0x4cb3ec=_0x29647f-_0xba9b07;if(_0x4cb3ec<=0x0)throw Error(_0x354629(0x1c2));return _0x17b057>=_0xba9b07&&_0x17b057<=_0x29647f?[{'range':{'start':0x0,'end':_0x3154f9},'offset':0x0}]:_0x17b057<_0xba9b07?[{'range':{'start':0x0,'end':_0x17b057},'offset':0x0},{'range':{'start':_0x17b057,'end':_0xba9b07},'offset':_0x4cb3ec},{'range':{'start':_0xba9b07,'end':_0x29647f},'offset':_0x17b057-_0xba9b07},{'range':{'start':_0x29647f,'end':_0x3154f9},'offset':0x0}]:[{'range':{'start':0x0,'end':_0xba9b07},'offset':0x0},{'range':{'start':_0xba9b07,'end':_0x29647f},'offset':_0x17b057-_0x29647f},{'range':{'start':_0x29647f,'end':_0x17b057},'offset':-_0x4cb3ec},{'range':{'start':_0x17b057,'end':_0x3154f9},'offset':0x0}];}function _0x4e448b(_0x154b85,_0x573f65){const _0x57a882=_0x5ab50b;let _0x257ba0=Math['max'](_0x154b85[_0x57a882(0x204)],_0x573f65[_0x57a882(0x204)]),_0x16c484=Math['min'](_0x154b85[_0x57a882(0x200)],_0x573f65['end']);return _0x257ba0>=_0x16c484?null:{'start':_0x257ba0,'end':_0x16c484};}function _0x2e611d(_0x1011ba){const _0x1b373e=_0x5ab50b;if(_0x1011ba[_0x1b373e(0x275)]===0x0)return[];let _0x3a2920=[..._0x1011ba][_0x1b373e(0x1bf)]((_0x5cbc92,_0x47a668)=>_0x5cbc92['start']-_0x47a668[_0x1b373e(0x204)]||_0x5cbc92[_0x1b373e(0x200)]-_0x47a668['end']),_0x3bd204=[];for(let _0x1917b5 of _0x3a2920){let _0x1002ec=_0x3bd204[_0x3bd204[_0x1b373e(0x275)]-0x1];!_0x1002ec||_0x1917b5[_0x1b373e(0x204)]>_0x1002ec[_0x1b373e(0x200)]?_0x3bd204[_0x1b373e(0x1fd)]({..._0x1917b5}):_0x1002ec[_0x1b373e(0x200)]=Math['max'](_0x1002ec['end'],_0x1917b5[_0x1b373e(0x200)]);}return _0x3bd204;}function _0xc14b6e(_0x18edc3,_0x8af5e3,_0xeff74d,_0x4c98f7){return _0x8af5e3+0x1===_0xeff74d||_0x4c98f7+0x1===_0x18edc3;}function _0x2ddc10(_0xf631d5){let _0x1dfa86=_0x26b948(_0xf631d5);return _0xe17c25(_0x1dfa86),_0x1dfa86;}function _0x26b948(_0x5d1dd9){const _0x3ce8ca=_0x5ab50b;let _0x3cc7b6=new Map();for(let _0x2bed59 of _0x5d1dd9){let _0x366513=[_0x2bed59[_0x3ce8ca(0x1cc)],_0x2bed59[_0x3ce8ca(0x202)],_0x2bed59[_0x3ce8ca(0x22e)],_0x2bed59[_0x3ce8ca(0x204)],_0x2bed59[_0x3ce8ca(0x200)]][_0x3ce8ca(0x279)](':'),_0x16c98e=_0x3cc7b6['get'](_0x366513);if(!_0x16c98e){_0x3cc7b6[_0x3ce8ca(0x20a)](_0x366513,_0x2bed59);continue;}_0x3cc7b6[_0x3ce8ca(0x20a)](_0x366513,{..._0x16c98e,'collapsed':_0x16c98e[_0x3ce8ca(0x1c9)]||_0x2bed59[_0x3ce8ca(0x1c9)]});}return Array[_0x3ce8ca(0x1ea)](_0x3cc7b6['values']());}function _0x5e7b76(_0x3b5444,_0x52537b){const _0xcc359a=_0x5ab50b;return _0x3b5444[_0xcc359a(0x1cc)]===_0x52537b[_0xcc359a(0x1cc)]?_0x3b5444[_0xcc359a(0x202)]===_0x52537b['subUnitId']?_0x3b5444[_0xcc359a(0x22e)]===_0x52537b[_0xcc359a(0x22e)]?_0x3b5444[_0xcc359a(0x204)]===_0x52537b[_0xcc359a(0x204)]?_0x52537b[_0xcc359a(0x200)]-_0x3b5444['end']:_0x3b5444[_0xcc359a(0x204)]-_0x52537b[_0xcc359a(0x204)]:_0x3b5444[_0xcc359a(0x22e)][_0xcc359a(0x1e6)](_0x52537b['axis']):_0x3b5444[_0xcc359a(0x202)][_0xcc359a(0x1e6)](_0x52537b[_0xcc359a(0x202)]):_0x3b5444[_0xcc359a(0x1cc)][_0xcc359a(0x1e6)](_0x52537b[_0xcc359a(0x1cc)]);}function _0x2326a4(_0x3e67e){const _0x4a3ad3=_0x5ab50b;if(_0x3e67e['start']>_0x3e67e[_0x4a3ad3(0x200)])throw new _0x259bd4(_0x4a3ad3(0x26e),_0x4a3ad3(0x23b),_0x3e67e['id']);}function _0x15fd46(_0x2ed0ad,_0x112f35){const _0x2f1ba1=_0x5ab50b;let _0x423f9f=_0x2ed0ad[_0x2f1ba1(0x204)]<=_0x112f35[_0x2f1ba1(0x200)]&&_0x112f35[_0x2f1ba1(0x204)]<=_0x2ed0ad[_0x2f1ba1(0x200)],_0x24cbab=_0x2ed0ad[_0x2f1ba1(0x204)]<=_0x112f35[_0x2f1ba1(0x204)]&&_0x112f35[_0x2f1ba1(0x200)]<=_0x2ed0ad[_0x2f1ba1(0x200)],_0x4e671e=_0x112f35[_0x2f1ba1(0x204)]<=_0x2ed0ad[_0x2f1ba1(0x204)]&&_0x2ed0ad[_0x2f1ba1(0x200)]<=_0x112f35['end'];return _0x423f9f&&!_0x24cbab&&!_0x4e671e;}function _0x5d7128(_0x5ecbde){'@babel/helpers - typeof';const _0x420d17=_0x5ab50b;return _0x5d7128=typeof Symbol==_0x420d17(0x1b0)&&typeof Symbol['iterator']=='symbol'?function(_0x36d767){return typeof _0x36d767;}:function(_0x2ad303){const _0x2b6bea=_0x420d17;return _0x2ad303&&typeof Symbol=='function'&&_0x2ad303[_0x2b6bea(0x1fc)]===Symbol&&_0x2ad303!==Symbol['prototype']?_0x2b6bea(0x1c6):typeof _0x2ad303;},_0x5d7128(_0x5ecbde);}function _0x182383(_0x448de5,_0x6f6aa8){const _0x3b3fe6=_0x5ab50b;if(_0x5d7128(_0x448de5)!=_0x3b3fe6(0x234)||!_0x448de5)return _0x448de5;var _0xb95856=_0x448de5[Symbol[_0x3b3fe6(0x236)]];if(_0xb95856!==void 0x0){var _0x5190c9=_0xb95856[_0x3b3fe6(0x1d4)](_0x448de5,_0x6f6aa8||_0x3b3fe6(0x21f));if(_0x5d7128(_0x5190c9)!='object')return _0x5190c9;throw TypeError(_0x3b3fe6(0x233));}return(_0x6f6aa8===_0x3b3fe6(0x1ca)?String:Number)(_0x448de5);}function _0x148872(_0x117264){const _0x32440e=_0x5ab50b;var _0x2648ae=_0x182383(_0x117264,_0x32440e(0x1ca));return _0x5d7128(_0x2648ae)==_0x32440e(0x1c6)?_0x2648ae:_0x2648ae+'';}function _0x833d29(_0x57cbb1,_0x55745e,_0x47e6ee){return(_0x55745e=_0x148872(_0x55745e))in _0x57cbb1?Object['defineProperty'](_0x57cbb1,_0x55745e,{'value':_0x47e6ee,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x57cbb1[_0x55745e]=_0x47e6ee,_0x57cbb1;}var _0x462eb5=class extends _0x7d4204[_0x5ab50b(0x270)]{constructor(..._0x2e9c69){const _0x2c27dd=_0x5ab50b;super(..._0x2e9c69),_0x833d29(this,_0x2c27dd(0x256),new Map()),_0x833d29(this,_0x2c27dd(0x27c),new _0x406414[(_0x2c27dd(0x23a))]()),_0x833d29(this,_0x2c27dd(0x245),this[_0x2c27dd(0x27c)]['asObservable']());}['getOutlines'](_0xb618ed,_0x3043a3){const _0x5f22e2=_0x5ab50b;var _0x587930,_0x99f4c4;return[...(_0x587930=(_0x99f4c4=this[_0x5f22e2(0x256)][_0x5f22e2(0x212)](_0xb618ed))==null?void 0x0:_0x99f4c4[_0x5f22e2(0x212)](_0x3043a3))==null?[]:_0x587930];}[_0x5ab50b(0x1d0)](_0x2580b7){const _0x580982=_0x5ab50b;let _0x9d15bd=this['_outlines'][_0x580982(0x212)](_0x2580b7),_0x119be4=new Map();return _0x9d15bd==null||_0x9d15bd[_0x580982(0x282)]((_0x171164,_0xdec064)=>{const _0xe5c9c1=_0x580982;_0x119be4[_0xe5c9c1(0x20a)](_0xdec064,[..._0x171164]);}),_0x119be4;}['setOutlines'](_0x27d9d5,_0x2028e7,_0x15c011){const _0x21ca16=_0x5ab50b;this['_ensureUnitOutlines'](_0x27d9d5)[_0x21ca16(0x20a)](_0x2028e7,[..._0x15c011]),this[_0x21ca16(0x27c)][_0x21ca16(0x26f)]({'unitId':_0x27d9d5,'subUnitId':_0x2028e7});}[_0x5ab50b(0x223)](_0x4241b6){const _0x11a34a=_0x5ab50b;this[_0x11a34a(0x256)][_0x11a34a(0x240)](_0x4241b6),this[_0x11a34a(0x27c)][_0x11a34a(0x26f)]({'unitId':_0x4241b6});}['serialize'](_0x833034){const _0x28a065=_0x5ab50b;let _0x1573c0=this['_outlines'][_0x28a065(0x212)](_0x833034),_0x4618d8={};return _0x1573c0==null||_0x1573c0[_0x28a065(0x282)]((_0x30d157,_0x5a3d82)=>{_0x4618d8[_0x5a3d82]={'outlineList':[..._0x30d157]};}),_0x4618d8;}['deserialize'](_0x4eb289,_0x4b1f33){const _0x12ffb0=_0x5ab50b;let _0x4dbdae=new Map();Object['entries'](_0x4b1f33)[_0x12ffb0(0x282)](([_0x3cd8fc,_0x28fcd3])=>{const _0x2336bc=_0x12ffb0;var _0x662b84;_0x4dbdae[_0x2336bc(0x20a)](_0x3cd8fc,[...(_0x662b84=_0x28fcd3['outlineList'])==null?[]:_0x662b84]);}),this[_0x12ffb0(0x256)][_0x12ffb0(0x20a)](_0x4eb289,_0x4dbdae),this[_0x12ffb0(0x27c)][_0x12ffb0(0x26f)]({'unitId':_0x4eb289});}['dispose'](){const _0x31c52b=_0x5ab50b;super[_0x31c52b(0x25b)](),this[_0x31c52b(0x256)][_0x31c52b(0x247)](),this[_0x31c52b(0x27c)]['complete']();}[_0x5ab50b(0x221)](_0x2e555c){const _0x137286=_0x5ab50b;let _0x85aa9f=this[_0x137286(0x256)][_0x137286(0x212)](_0x2e555c);return _0x85aa9f||(_0x85aa9f=new Map(),this['_outlines']['set'](_0x2e555c,_0x85aa9f)),_0x85aa9f;}},_0x3535c3=class extends _0x7d4204[_0x5ab50b(0x270)]{constructor(..._0x7f17fb){const _0x3aa5da=_0x5ab50b;super(..._0x7f17fb),_0x833d29(this,'_error$',new _0x406414[(_0x3aa5da(0x23a))]()),_0x833d29(this,_0x3aa5da(0x1b7),this[_0x3aa5da(0x205)][_0x3aa5da(0x20f)]());}[_0x5ab50b(0x1f5)](_0x58c9f4){const _0x5c8d83=_0x5ab50b;this['_error$'][_0x5c8d83(0x26f)](_0x58c9f4);}['dispose'](){const _0x335904=_0x5ab50b;super[_0x335904(0x25b)](),this[_0x335904(0x205)]['complete']();}};let _0x3d99d1={'id':'sheet.mutation.add-dimension-outline','type':_0x7d4204['CommandType']['MUTATION'],'handler':(_0x587f95,_0x35b2a2)=>{const _0xf2f13f=_0x5ab50b;let _0x40ba57=_0x587f95[_0xf2f13f(0x212)](_0x462eb5),_0x5968e6=_0x40ba57[_0xf2f13f(0x1fb)](_0x35b2a2[_0xf2f13f(0x1cc)],_0x35b2a2[_0xf2f13f(0x202)]);return _0x40ba57[_0xf2f13f(0x232)](_0x35b2a2['unitId'],_0x35b2a2['subUnitId'],_0x559c88(_0x5968e6,_0x35b2a2[_0xf2f13f(0x1ba)])),!0x0;}},_0x34e76e={'id':_0x5ab50b(0x1c3),'type':_0x7d4204[_0x5ab50b(0x1f3)]['MUTATION'],'handler':(_0xb7e753,_0x38b690)=>{const _0x2e40ca=_0x5ab50b;let _0x39b1cc=_0xb7e753[_0x2e40ca(0x212)](_0x462eb5),_0x11de86=_0x39b1cc[_0x2e40ca(0x1fb)](_0x38b690[_0x2e40ca(0x1cc)],_0x38b690[_0x2e40ca(0x202)]);return _0x39b1cc[_0x2e40ca(0x232)](_0x38b690['unitId'],_0x38b690[_0x2e40ca(0x202)],_0x11de86['filter'](_0x150acf=>_0x150acf['id']!==_0x38b690[_0x2e40ca(0x1de)])),!0x0;}};function _0x6ea3c7(_0x3e508c,_0x2276f2,_0x102f5a){const _0xcd683f=_0x5ab50b;let _0x2317f3=_0x48cd54(_0x3e508c);return _0x2317f3?_0x2317f3['permissionCheckWithoutRange']({'workbookTypes':[_0x370e7a['WorkbookViewPermission']],'worksheetTypes':[_0x370e7a[_0xcd683f(0x1a8)]]},_0x2276f2,_0x102f5a):!0x0;}function _0x24c55d(_0x5e9326,_0x4a4643,_0x29e441){const _0x5cf887=_0x5ab50b;var _0x3a95db;let _0x190d91=_0xb01220(_0x5e9326);return((_0x3a95db=_0x190d91==null?void 0x0:_0x190d91['permissionPointUpdate$'])==null?(0x0,_0x406414['of'])(null):_0x3a95db)[_0x5cf887(0x276)]((0x0,_0x2595f5[_0x5cf887(0x231)])(0x64),(0x0,_0x2595f5[_0x5cf887(0x1e7)])(null),(0x0,_0x2595f5[_0x5cf887(0x226)])(()=>_0x6ea3c7(_0x5e9326,_0x4a4643,_0x29e441)));}function _0x48cd54(_0x120370){const _0x2efee9=_0x5ab50b;if(typeof _0x120370['has']==_0x2efee9(0x1b0)&&!_0x120370['has'](_0x370e7a[_0x2efee9(0x21e)]))return null;try{return _0x120370['get'](_0x370e7a[_0x2efee9(0x21e)]);}catch{return null;}}function _0xb01220(_0xbe82c2){const _0x124724=_0x5ab50b;if(typeof _0xbe82c2[_0x124724(0x1f8)]=='function'&&!_0xbe82c2[_0x124724(0x1f8)](_0x7d4204[_0x124724(0x23c)]))return null;try{return _0xbe82c2[_0x124724(0x212)](_0x7d4204['IPermissionService']);}catch{return null;}}let _0x3a87bf={'id':_0x5ab50b(0x24e),'type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1b4)],'handler':(_0x5425e8,_0x3f01c9)=>{const _0x4596d2=_0x5ab50b;var _0x321721,_0x5e00fe;if(!_0x3f01c9)return!0x1;let _0x3272dc=(0x0,_0x370e7a[_0x4596d2(0x1b6)])(_0x5425e8['get'](_0x7d4204[_0x4596d2(0x1af)]),_0x3f01c9);if(!_0x3272dc)return!0x1;let {unitId:_0x133373,subUnitId:_0x52f613,worksheet:_0x1c5816}=_0x3272dc;if(!_0x6ea3c7(_0x5425e8,_0x133373,_0x52f613))return!0x1;let _0x58f9c6=_0x5425e8[_0x4596d2(0x212)](_0x462eb5),_0x1a2fa7={'id':_0x4596d2(0x1f0)+(0x0,_0x7d4204[_0x4596d2(0x254)])(0x6),'unitId':_0x133373,'subUnitId':_0x52f613,'axis':_0x3f01c9['axis'],'start':_0x3f01c9[_0x4596d2(0x204)],'end':_0x3f01c9[_0x4596d2(0x200)],'collapsed':!0x1},_0x51bbba=_0x3f01c9[_0x4596d2(0x22e)]===_0x4596d2(0x1c7)?_0x1c5816[_0x4596d2(0x20b)]():_0x1c5816[_0x4596d2(0x22c)](),_0x347cc9=_0x58f9c6['getOutlines'](_0x133373,_0x52f613),_0x5b02f1=_0x519635(_0x347cc9,_0x1a2fa7),_0x2ada60=(_0x321721=_0x5b02f1==null?void 0x0:_0x5b02f1[_0x4596d2(0x281)])==null?[]:_0x321721,_0x24cd6f=(_0x5e00fe=_0x5b02f1==null?void 0x0:_0x5b02f1[_0x4596d2(0x255)])==null?_0x1a2fa7:_0x5e00fe,_0x1b29c6=_0x5311ab(_0x5b02f1?_0x347cc9[_0x4596d2(0x1b8)](_0x15dff9=>!_0x2ada60[_0x4596d2(0x20c)](_0x2fee79=>_0x2fee79['id']===_0x15dff9['id'])):_0x347cc9,_0x24cd6f,{'maxIndex':_0x51bbba});if(!_0x1b29c6[_0x4596d2(0x207)]){var _0x14c501;return _0x5425e8[_0x4596d2(0x212)](_0x3535c3)[_0x4596d2(0x1f5)]({'reason':(_0x14c501=_0x1b29c6['reason'])==null?'unknown':_0x14c501,'commandId':_0x3a87bf['id'],'unitId':_0x133373,'subUnitId':_0x52f613,'axis':_0x3f01c9['axis'],'outlineId':_0x24cd6f['id']}),!0x1;}let _0x1f7e33=[..._0x2ada60[_0x4596d2(0x226)](_0x2a9f50=>({'id':_0x34e76e['id'],'params':{'unitId':_0x133373,'subUnitId':_0x52f613,'outlineId':_0x2a9f50['id']}})),{'id':_0x3d99d1['id'],'params':{'unitId':_0x133373,'subUnitId':_0x52f613,'outline':_0x24cd6f}}],_0x2d8565=[{'id':_0x34e76e['id'],'params':{'unitId':_0x133373,'subUnitId':_0x52f613,'outlineId':_0x24cd6f['id']}},..._0x2ada60['map'](_0x444668=>({'id':_0x3d99d1['id'],'params':{'unitId':_0x133373,'subUnitId':_0x52f613,'outline':_0x444668}}))];return(0x0,_0x7d4204[_0x4596d2(0x218)])(_0x1f7e33,_0x5425e8[_0x4596d2(0x212)](_0x7d4204[_0x4596d2(0x20d)]))[_0x4596d2(0x259)]?(_0x5425e8[_0x4596d2(0x212)](_0x7d4204['IUndoRedoService'])[_0x4596d2(0x246)]({'unitID':_0x133373,'undoMutations':_0x2d8565,'redoMutations':_0x1f7e33}),!0x0):!0x1;}},_0x4039a0={'id':'sheet.mutation.clear-dimension-outlines','type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1c1)],'handler':(_0x4b431c,_0xf4baba)=>{const _0x2ec208=_0x5ab50b;let _0x3cb9ac=_0x4b431c['get'](_0x462eb5),_0x4813a5=_0x3cb9ac[_0x2ec208(0x1fb)](_0xf4baba[_0x2ec208(0x1cc)],_0xf4baba['subUnitId']);return _0x3cb9ac[_0x2ec208(0x232)](_0xf4baba[_0x2ec208(0x1cc)],_0xf4baba[_0x2ec208(0x202)],_0x28008e(_0x4813a5,_0xf4baba)),!0x0;}},_0x1d1e5b={'id':_0x5ab50b(0x219),'type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1b4)],'handler':(_0x3d82f2,_0x1cb843)=>{const _0x1fb5db=_0x5ab50b;if(!_0x1cb843)return!0x1;let _0x2f47ae=(0x0,_0x370e7a[_0x1fb5db(0x1b6)])(_0x3d82f2['get'](_0x7d4204['IUniverInstanceService']),_0x1cb843);if(!_0x2f47ae)return!0x1;let {unitId:_0x2d4a56,subUnitId:_0x31031a}=_0x2f47ae;if(!_0x6ea3c7(_0x3d82f2,_0x2d4a56,_0x31031a))return!0x1;let _0x2e2a59={'unitId':_0x2d4a56,'subUnitId':_0x31031a,'axis':_0x1cb843[_0x1fb5db(0x22e)],'start':_0x1cb843[_0x1fb5db(0x204)],'end':_0x1cb843[_0x1fb5db(0x200)]},_0x14e3fe=_0x3d82f2[_0x1fb5db(0x212)](_0x462eb5)[_0x1fb5db(0x1fb)](_0x2d4a56,_0x31031a)[_0x1fb5db(0x1b8)](_0x4edf38=>_0x6d728d(_0x4edf38,_0x2e2a59)&&_0x4edf38['start']>=_0x1cb843[_0x1fb5db(0x204)]&&_0x4edf38[_0x1fb5db(0x200)]<=_0x1cb843[_0x1fb5db(0x200)]);if(_0x14e3fe[_0x1fb5db(0x275)]===0x0)return _0x3d82f2[_0x1fb5db(0x212)](_0x3535c3)['emit']({'reason':_0x1fb5db(0x23e),'commandId':_0x1d1e5b['id'],'unitId':_0x2d4a56,'subUnitId':_0x31031a,'axis':_0x1cb843[_0x1fb5db(0x22e)]}),!0x1;let _0x1bb5ab=[{'id':_0x4039a0['id'],'params':{..._0x2e2a59,'removedOutlineIds':_0x14e3fe[_0x1fb5db(0x226)](_0x4e9214=>_0x4e9214['id'])}}],_0x96d162=_0x14e3fe['map'](_0x5590d2=>({'id':_0x3d99d1['id'],'params':{'unitId':_0x2d4a56,'subUnitId':_0x31031a,'outline':_0x5590d2}}));return(0x0,_0x7d4204['sequenceExecute'])(_0x1bb5ab,_0x3d82f2['get'](_0x7d4204[_0x1fb5db(0x20d)]))[_0x1fb5db(0x259)]?(_0x3d82f2[_0x1fb5db(0x212)](_0x7d4204['IUndoRedoService'])[_0x1fb5db(0x246)]({'unitID':_0x2d4a56,'undoMutations':_0x96d162,'redoMutations':_0x1bb5ab}),!0x0):!0x1;}},_0x40b165={'id':_0x5ab50b(0x24a),'type':_0x7d4204['CommandType'][_0x5ab50b(0x1b4)],'handler':(_0x4bf6bc,_0x1d9e5f)=>{const _0x30d308=_0x5ab50b;if(!_0x1d9e5f)return!0x1;let _0x1c954b=(0x0,_0x370e7a['getSheetCommandTarget'])(_0x4bf6bc['get'](_0x7d4204[_0x30d308(0x1af)]),_0x1d9e5f);if(!_0x1c954b)return!0x1;let {unitId:_0x2e4913,subUnitId:_0x32b916}=_0x1c954b;if(!_0x6ea3c7(_0x4bf6bc,_0x2e4913,_0x32b916))return!0x1;let _0x2a8f73=_0x4bf6bc[_0x30d308(0x212)](_0x462eb5)[_0x30d308(0x1fb)](_0x2e4913,_0x32b916)[_0x30d308(0x249)](_0x331435=>_0x331435['id']===_0x1d9e5f['outlineId']);if(!_0x2a8f73)return!0x1;let _0x2bfe90=[{'id':_0x34e76e['id'],'params':{'unitId':_0x2e4913,'subUnitId':_0x32b916,'outlineId':_0x2a8f73['id'],'outline':_0x2a8f73}}],_0x58db1b=[{'id':_0x3d99d1['id'],'params':{'unitId':_0x2e4913,'subUnitId':_0x32b916,'outline':_0x2a8f73}}];return(0x0,_0x7d4204[_0x30d308(0x218)])(_0x2bfe90,_0x4bf6bc[_0x30d308(0x212)](_0x7d4204[_0x30d308(0x20d)]))['result']?(_0x4bf6bc['get'](_0x7d4204['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x2e4913,'undoMutations':_0x58db1b,'redoMutations':_0x2bfe90}),!0x0):!0x1;}},_0x303f0b={'id':'sheet.mutation.set-dimension-outline-collapsed','type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1c1)],'handler':(_0x867b1,_0x2ed7c0)=>{const _0x5cefb8=_0x5ab50b;let _0x296dbe=_0x867b1[_0x5cefb8(0x212)](_0x462eb5),_0x18e2df=_0x296dbe[_0x5cefb8(0x1fb)](_0x2ed7c0[_0x5cefb8(0x1cc)],_0x2ed7c0[_0x5cefb8(0x202)]),_0x547d49=_0x18e2df[_0x5cefb8(0x249)](_0x3a4047=>_0x3a4047['id']===_0x2ed7c0['outlineId']);return _0x547d49&&_0x296dbe[_0x5cefb8(0x232)](_0x2ed7c0[_0x5cefb8(0x1cc)],_0x2ed7c0[_0x5cefb8(0x202)],_0x18e2df['map'](_0x5393ba=>_0x5393ba[_0x5cefb8(0x1cc)]!==_0x547d49[_0x5cefb8(0x1cc)]||_0x5393ba[_0x5cefb8(0x202)]!==_0x547d49[_0x5cefb8(0x202)]||_0x5393ba[_0x5cefb8(0x22e)]!==_0x547d49['axis']||_0x5393ba[_0x5cefb8(0x204)]!==_0x547d49[_0x5cefb8(0x204)]||_0x5393ba[_0x5cefb8(0x200)]!==_0x547d49[_0x5cefb8(0x200)]?_0x5393ba:{..._0x5393ba,'collapsed':_0x2ed7c0[_0x5cefb8(0x1c9)]})),!0x0;}};function _0x2069fe(_0x39886d,_0x27a240,_0x194f81,_0x386133){const _0x26099b=_0x5ab50b;return _0x39886d==='row'?{'startRow':_0x27a240,'endRow':_0x194f81,'startColumn':0x0,'endColumn':_0x386133[_0x26099b(0x22f)]()-0x1}:{'startRow':0x0,'endRow':_0x386133[_0x26099b(0x20b)]()-0x1,'startColumn':_0x27a240,'endColumn':_0x194f81};}function _0x49e807(_0xbf6227){const _0x12bfac=_0x5ab50b;return _0xbf6227===_0x12bfac(0x1c7)?_0x370e7a[_0x12bfac(0x1cb)]['id']:_0x370e7a['SetColHiddenMutation']['id'];}function _0x4d9112(_0x5cdcef){const _0x228ef1=_0x5ab50b;return _0x5cdcef===_0x228ef1(0x1c7)?_0x370e7a[_0x228ef1(0x260)]['id']:_0x370e7a['SetColVisibleMutation']['id'];}function _0x4dca36(_0x1f3098,_0x2c9dde,_0x3747b0,_0x17ebe4){const _0x526e4d=_0x5ab50b;let _0x3dcfa6=_0x2c9dde?[_0x2069fe(_0x1f3098[_0x526e4d(0x22e)],_0x1f3098[_0x526e4d(0x204)],_0x1f3098[_0x526e4d(0x200)],_0x3747b0)]:_0x3d9d0d(_0x1f3098,_0x17ebe4,_0x3747b0),_0x2876b2=_0x2c9dde?_0x49e807(_0x1f3098[_0x526e4d(0x22e)]):_0x4d9112(_0x1f3098[_0x526e4d(0x22e)]);return[{'id':_0x303f0b['id'],'params':{'unitId':_0x1f3098['unitId'],'subUnitId':_0x1f3098[_0x526e4d(0x202)],'outlineId':_0x1f3098['id'],'outline':_0x1f3098,'collapsed':_0x2c9dde}},..._0x3dcfa6['map'](_0x4f954d=>({'id':_0x2876b2,'params':{'unitId':_0x1f3098['unitId'],'subUnitId':_0x1f3098[_0x526e4d(0x202)],'ranges':[_0x4f954d],'dimensionOutlineId':_0x1f3098['id']}}))];}function _0x3d9d0d(_0x163c90,_0x5dd9f5,_0x9bc827){const _0x4d89e2=_0x5ab50b;let _0xb4f177=_0x576452(_0x5dd9f5[_0x4d89e2(0x226)](_0x4a22a9=>_0x236fdb(_0x4a22a9,_0x163c90)?{..._0x4a22a9,'collapsed':!0x1}:_0x4a22a9),_0x163c90[_0x4d89e2(0x1cc)],_0x163c90[_0x4d89e2(0x202)],_0x163c90[_0x4d89e2(0x22e)]);return _0x34e1b2({'start':_0x163c90['start'],'end':_0x163c90['end']},_0xb4f177)[_0x4d89e2(0x226)](_0x55603f=>_0x2069fe(_0x163c90[_0x4d89e2(0x22e)],_0x55603f[_0x4d89e2(0x204)],_0x55603f[_0x4d89e2(0x200)],_0x9bc827));}function _0x236fdb(_0x1e032f,_0xa3eca6){const _0x26997f=_0x5ab50b;return _0x1e032f['unitId']===_0xa3eca6[_0x26997f(0x1cc)]&&_0x1e032f[_0x26997f(0x202)]===_0xa3eca6[_0x26997f(0x202)]&&_0x1e032f[_0x26997f(0x22e)]===_0xa3eca6[_0x26997f(0x22e)]&&_0x1e032f[_0x26997f(0x204)]===_0xa3eca6['start']&&_0x1e032f['end']===_0xa3eca6['end'];}function _0x34e1b2(_0x216511,_0x468bb2){const _0x116834=_0x5ab50b;let _0x1e641c=_0x216511[_0x116834(0x204)],_0x5005d8=[];for(let _0x166d89 of _0x468bb2)if(!(_0x166d89['end']<_0x1e641c||_0x166d89[_0x116834(0x204)]>_0x216511[_0x116834(0x200)])&&(_0x166d89[_0x116834(0x204)]>_0x1e641c&&_0x5005d8[_0x116834(0x1fd)]({'start':_0x1e641c,'end':Math[_0x116834(0x203)](_0x166d89[_0x116834(0x204)]-0x1,_0x216511[_0x116834(0x200)])}),_0x1e641c=Math['max'](_0x1e641c,_0x166d89[_0x116834(0x200)]+0x1),_0x1e641c>_0x216511[_0x116834(0x200)]))break;return _0x1e641c<=_0x216511[_0x116834(0x200)]&&_0x5005d8[_0x116834(0x1fd)]({'start':_0x1e641c,'end':_0x216511['end']}),_0x5005d8;}let _0xda3005={'id':_0x5ab50b(0x1b1),'type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1b4)],'handler':(_0x429e49,_0x39045a)=>{const _0x2af61c=_0x5ab50b;if(!_0x39045a)return!0x1;let _0x334bb6=(0x0,_0x370e7a[_0x2af61c(0x1b6)])(_0x429e49[_0x2af61c(0x212)](_0x7d4204[_0x2af61c(0x1af)]),_0x39045a);if(!_0x334bb6)return!0x1;let {unitId:_0x218d67,subUnitId:_0x247a72,worksheet:_0x28101c}=_0x334bb6;if(!_0x6ea3c7(_0x429e49,_0x218d67,_0x247a72))return!0x1;let _0x19fd6e=_0x429e49[_0x2af61c(0x212)](_0x462eb5)['getOutlines'](_0x218d67,_0x247a72),_0x12627a=_0x19fd6e['find'](_0xdb2a6d=>_0xdb2a6d['id']===_0x39045a[_0x2af61c(0x1de)]);if(!_0x12627a||_0x12627a[_0x2af61c(0x1c9)]===_0x39045a[_0x2af61c(0x1c9)])return!0x1;let _0x206923=_0x4dca36(_0x12627a,_0x39045a[_0x2af61c(0x1c9)],_0x28101c,_0x19fd6e),_0x4b887c=_0x4dca36(_0x12627a,!_0x39045a['collapsed'],_0x28101c,_0x19fd6e);return(0x0,_0x7d4204[_0x2af61c(0x218)])(_0x206923,_0x429e49['get'](_0x7d4204[_0x2af61c(0x20d)]))[_0x2af61c(0x259)]?(_0x429e49[_0x2af61c(0x212)](_0x7d4204['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x218d67,'undoMutations':_0x4b887c,'redoMutations':_0x206923}),!0x0):!0x1;}},_0x41ca16={'id':_0x5ab50b(0x20e),'type':_0x7d4204[_0x5ab50b(0x1f3)][_0x5ab50b(0x1c1)],'handler':(_0x22fcd1,_0x299854)=>{const _0x17b4c5=_0x5ab50b;let _0x2a25ea=_0x22fcd1['get'](_0x462eb5),_0x5c1fa2=_0x574257(_0x2a25ea[_0x17b4c5(0x1fb)](_0x299854['unitId'],_0x299854['subUnitId']),_0x299854);return _0x2a25ea['setOutlines'](_0x299854[_0x17b4c5(0x1cc)],_0x299854[_0x17b4c5(0x202)],_0x5c1fa2),!0x0;}};function _0x574257(_0x2f34f6,_0x43d759){const _0x4d6857=_0x5ab50b;switch(_0x43d759[_0x4d6857(0x25a)]){case'insert':return _0x43d759[_0x4d6857(0x27e)]?_0x25ec2f(_0x2f34f6,_0x43d759):_0x3fdbb0(_0x2f34f6,_0x43d759);case _0x4d6857(0x240):return _0x1e7d82(_0x2f34f6,_0x43d759);case _0x4d6857(0x1f7):return _0x132ddb(_0x2f34f6,_0x43d759);}}function _0x25ec2f(_0x4e3485,_0x3058dc){const _0x142fa8=_0x5ab50b;return[..._0x4e3485[_0x142fa8(0x1b8)](_0xe6ec64=>_0xe6ec64[_0x142fa8(0x1cc)]!==_0x3058dc[_0x142fa8(0x1cc)]||_0xe6ec64[_0x142fa8(0x202)]!==_0x3058dc[_0x142fa8(0x202)]||_0xe6ec64[_0x142fa8(0x22e)]!==_0x3058dc[_0x142fa8(0x22e)]),..._0x3058dc[_0x142fa8(0x27e)]];}let _0x202a27='SHEET_OUTLINE_PLUGIN';var _0x5960b0=_0x5ab50b(0x277),_0x26b721='1.0.0-alpha.0';function _0x2b11b0(_0xac46df,_0x59bb61){return function(_0x4f8fa9,_0x44ee2b){_0x59bb61(_0x4f8fa9,_0x44ee2b,_0xac46df);};}function _0x438be5(_0x2cf37c,_0x29b515,_0x48a97,_0x1059ec){const _0xc57012=_0x5ab50b;var _0x4a44dd=arguments[_0xc57012(0x275)],_0x4e4ca8=_0x4a44dd<0x3?_0x29b515:_0x1059ec===null?_0x1059ec=Object['getOwnPropertyDescriptor'](_0x29b515,_0x48a97):_0x1059ec,_0x3c734d;if(typeof Reflect==_0xc57012(0x234)&&typeof Reflect['decorate']==_0xc57012(0x1b0))_0x4e4ca8=Reflect[_0xc57012(0x257)](_0x2cf37c,_0x29b515,_0x48a97,_0x1059ec);else{for(var _0x3aee72=_0x2cf37c[_0xc57012(0x275)]-0x1;_0x3aee72>=0x0;_0x3aee72--)(_0x3c734d=_0x2cf37c[_0x3aee72])&&(_0x4e4ca8=(_0x4a44dd<0x3?_0x3c734d(_0x4e4ca8):_0x4a44dd>0x3?_0x3c734d(_0x29b515,_0x48a97,_0x4e4ca8):_0x3c734d(_0x29b515,_0x48a97))||_0x4e4ca8);}return _0x4a44dd>0x3&&_0x4e4ca8&&Object[_0xc57012(0x1ef)](_0x29b515,_0x48a97,_0x4e4ca8),_0x4e4ca8;}let _0x29c21a={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x2f73a2=class extends _0x7d4204[_0x5ab50b(0x270)]{constructor(_0x3c2243,_0x29f6d6,_0x48a5c4,_0x1cbcd9){const _0x2c5531=_0x5ab50b;super(),this[_0x2c5531(0x1fa)]=_0x3c2243,this[_0x2c5531(0x1c8)]=_0x29f6d6,this[_0x2c5531(0x27b)]=_0x48a5c4,this[_0x2c5531(0x1cd)]=_0x1cbcd9,this[_0x2c5531(0x262)]();}[_0x5ab50b(0x262)](){const _0x12d706=_0x5ab50b;this[_0x12d706(0x1ce)](this[_0x12d706(0x1c8)]['interceptCommand']({'getMutations':_0x13ce50=>_0x3b0335(_0x13ce50,(_0x30a378,_0x44d68c)=>this[_0x12d706(0x27b)][_0x12d706(0x1fb)](_0x30a378,_0x44d68c),this[_0x12d706(0x253)](_0x13ce50['params']),_0x314f60=>this[_0x12d706(0x1cd)][_0x12d706(0x1f5)](_0x314f60))}));}[_0x5ab50b(0x253)](_0x399705){const _0x19dd92=_0x5ab50b;let _0x51dacf=_0x399705,_0x422ed9=_0x51dacf!=null&&_0x51dacf[_0x19dd92(0x1cc)]?this[_0x19dd92(0x1fa)]['getUniverSheetInstance'](_0x51dacf[_0x19dd92(0x1cc)]):this['_univerInstanceService'][_0x19dd92(0x239)](_0x7d4204[_0x19dd92(0x242)][_0x19dd92(0x1f9)]);if(!_0x422ed9)return;let _0x2fb678=_0x51dacf!=null&&_0x51dacf[_0x19dd92(0x202)]?_0x422ed9['getSheetBySheetId'](_0x51dacf[_0x19dd92(0x202)]):_0x422ed9[_0x19dd92(0x1bb)]();if(_0x2fb678)return{'unitId':_0x422ed9[_0x19dd92(0x263)](),'subUnitId':_0x2fb678[_0x19dd92(0x25e)]()};}};_0x2f73a2=_0x438be5([_0x2b11b0(0x0,_0x7d4204[_0x5ab50b(0x1af)]),_0x2b11b0(0x1,(0x0,_0x7d4204[_0x5ab50b(0x268)])(_0x370e7a[_0x5ab50b(0x27f)])),_0x2b11b0(0x2,(0x0,_0x7d4204[_0x5ab50b(0x268)])(_0x462eb5)),_0x2b11b0(0x3,(0x0,_0x7d4204[_0x5ab50b(0x268)])(_0x3535c3))],_0x2f73a2);function _0x3b0335(_0x3592a0,_0xb0d511,_0x4cbd5d,_0x283280){const _0x563023=_0x5ab50b;let _0x3d59c2=_0x3e30b3(_0x3592a0,_0x4cbd5d);if(!_0x3d59c2)return _0x8c30ff();let _0x550e0f=_0xb0d511(_0x3d59c2['unitId'],_0x3d59c2['subUnitId']);if(!_0x550e0f[_0x563023(0x20c)](_0x4eaccc=>_0x4eaccc[_0x563023(0x22e)]===_0x3d59c2[_0x563023(0x22e)]))return _0x8c30ff();_0x275fe1(_0x550e0f,_0x3d59c2,_0x3592a0['id'],_0x283280);let _0x26b3d3=_0x1545d5(_0x3d59c2,_0x550e0f);return{'redos':[{'id':_0x41ca16['id'],'params':_0x3d59c2}],'undos':[{'id':_0x41ca16['id'],'params':_0x26b3d3}],'preRedos':[],'preUndos':[]};}function _0x275fe1(_0x2dc2e6,_0x3c39d3,_0xfebd08,_0x151dae){const _0x347327=_0x5ab50b;try{switch(_0x3c39d3[_0x347327(0x25a)]){case _0x347327(0x1ac):_0x3fdbb0(_0x2dc2e6,_0x3c39d3);break;case _0x347327(0x240):_0x1e7d82(_0x2dc2e6,_0x3c39d3);break;case _0x347327(0x1f7):_0x132ddb(_0x2dc2e6,_0x3c39d3);break;}}catch(_0x5ad6fb){throw _0x151dae==null||_0x151dae({'reason':_0x46b161(_0x5ad6fb),'commandId':_0xfebd08,'unitId':_0x3c39d3['unitId'],'subUnitId':_0x3c39d3[_0x347327(0x202)],'axis':_0x3c39d3['axis'],'outlineId':_0x2f2266(_0x5ad6fb)}),new _0x7d4204[(_0x347327(0x237))](_0x5ad6fb instanceof Error?_0x5ad6fb['message']:_0x347327(0x211));}}function _0x3e30b3(_0x53b0de,_0xc1f426){const _0x1304f9=_0x5ab50b;switch(_0x53b0de['id']){case _0x370e7a[_0x1304f9(0x241)]['id']:return _0x15ec16(_0x53b0de[_0x1304f9(0x1b2)],_0x1304f9(0x1c7),_0xc1f426);case _0x370e7a[_0x1304f9(0x1c5)]['id']:return _0x15ec16(_0x53b0de['params'],'column',_0xc1f426);case _0x370e7a['RemoveRowCommand']['id']:return _0x145e0f(_0x53b0de[_0x1304f9(0x1b2)],_0x1304f9(0x1c7),_0xc1f426);case _0x370e7a[_0x1304f9(0x1f2)]['id']:return _0x145e0f(_0x53b0de[_0x1304f9(0x1b2)],_0x1304f9(0x26d),_0xc1f426);case _0x370e7a[_0x1304f9(0x1e9)]['id']:return _0x56f776(_0x53b0de[_0x1304f9(0x1b2)],_0x1304f9(0x1c7),_0xc1f426);case _0x370e7a[_0x1304f9(0x24c)]['id']:return _0x56f776(_0x53b0de[_0x1304f9(0x1b2)],_0x1304f9(0x26d),_0xc1f426);default:return null;}}function _0x15ec16(_0x13fb9c,_0x1c8198,_0xe74aac){const _0x2bb37c=_0x5ab50b;let _0x23ebcb=_0x3dc5c3(_0x13fb9c,_0xe74aac);if(!(_0x13fb9c!=null&&_0x13fb9c[_0x2bb37c(0x225)])||!_0x23ebcb)return null;let _0x41a2f5=_0x1c8198===_0x2bb37c(0x1c7)?_0x13fb9c['range'][_0x2bb37c(0x26a)]:_0x13fb9c[_0x2bb37c(0x225)][_0x2bb37c(0x280)],_0x44cfe9=_0x1c8198===_0x2bb37c(0x1c7)?_0x13fb9c[_0x2bb37c(0x225)][_0x2bb37c(0x21d)]:_0x13fb9c[_0x2bb37c(0x225)][_0x2bb37c(0x22b)];return{..._0x23ebcb,'axis':_0x1c8198,'type':_0x2bb37c(0x1ac),'index':_0x41a2f5,'count':_0x44cfe9-_0x41a2f5+0x1};}function _0x145e0f(_0x108f03,_0x16c4c3,_0x31aeb1){const _0x5d9655=_0x5ab50b;let _0x5bf8a8=_0x3dc5c3(_0x108f03,_0x31aeb1);if(!(_0x108f03!=null&&_0x108f03[_0x5d9655(0x225)])||!_0x5bf8a8)return null;let _0x5790ee=_0x16c4c3===_0x5d9655(0x1c7)?_0x108f03[_0x5d9655(0x225)][_0x5d9655(0x26a)]:_0x108f03[_0x5d9655(0x225)][_0x5d9655(0x280)],_0x53f487=_0x16c4c3==='row'?_0x108f03['range'][_0x5d9655(0x21d)]:_0x108f03[_0x5d9655(0x225)][_0x5d9655(0x22b)];return{..._0x5bf8a8,'axis':_0x16c4c3,'type':_0x5d9655(0x240),'start':_0x5790ee,'end':_0x53f487};}function _0x56f776(_0x4f6419,_0x1ed683,_0x10e917){const _0x2a9a1c=_0x5ab50b;let _0x1658df=_0x3dc5c3(_0x4f6419,_0x10e917);if(!(_0x4f6419!=null&&_0x4f6419[_0x2a9a1c(0x251)])||!_0x4f6419['toRange']||!_0x1658df)return null;let _0x3dc702=_0x1ed683===_0x2a9a1c(0x1c7)?_0x4f6419[_0x2a9a1c(0x251)][_0x2a9a1c(0x26a)]:_0x4f6419[_0x2a9a1c(0x251)][_0x2a9a1c(0x280)],_0xa6649a=_0x1ed683===_0x2a9a1c(0x1c7)?_0x4f6419[_0x2a9a1c(0x251)][_0x2a9a1c(0x21d)]:_0x4f6419[_0x2a9a1c(0x251)][_0x2a9a1c(0x22b)],_0x113c54=_0x1ed683===_0x2a9a1c(0x1c7)?_0x4f6419[_0x2a9a1c(0x1ee)][_0x2a9a1c(0x26a)]:_0x4f6419[_0x2a9a1c(0x1ee)][_0x2a9a1c(0x280)];return{..._0x1658df,'axis':_0x1ed683,'type':'move','sourceStart':_0x3dc702,'sourceEnd':_0xa6649a,'destinationIndex':_0x113c54};}function _0x1545d5(_0x406230,_0x4113d0){const _0x4a39e8=_0x5ab50b;switch(_0x406230[_0x4a39e8(0x25a)]){case'insert':return{'unitId':_0x406230[_0x4a39e8(0x1cc)],'subUnitId':_0x406230[_0x4a39e8(0x202)],'axis':_0x406230['axis'],'type':_0x4a39e8(0x240),'start':_0x406230['index'],'end':_0x406230[_0x4a39e8(0x1e3)]+_0x406230[_0x4a39e8(0x1db)]-0x1};case _0x4a39e8(0x240):return{'unitId':_0x406230[_0x4a39e8(0x1cc)],'subUnitId':_0x406230[_0x4a39e8(0x202)],'axis':_0x406230['axis'],'type':'insert','index':_0x406230[_0x4a39e8(0x204)],'count':_0x406230[_0x4a39e8(0x200)]-_0x406230[_0x4a39e8(0x204)]+0x1,'restoreOutlines':_0x4113d0['filter'](_0x55f96e=>_0x55f96e[_0x4a39e8(0x1cc)]===_0x406230[_0x4a39e8(0x1cc)]&&_0x55f96e[_0x4a39e8(0x202)]===_0x406230[_0x4a39e8(0x202)]&&_0x55f96e['axis']===_0x406230['axis'])};case _0x4a39e8(0x1f7):return _0x211bcf(_0x406230);}}function _0x211bcf(_0x3285ac){const _0x10416f=_0x5ab50b;let _0x3d1175=_0x3285ac[_0x10416f(0x274)]-_0x3285ac[_0x10416f(0x25f)]+0x1;return _0x3285ac[_0x10416f(0x238)]>=_0x3285ac[_0x10416f(0x25f)]&&_0x3285ac['destinationIndex']<=_0x3285ac[_0x10416f(0x274)]+0x1?{..._0x3285ac}:_0x3285ac['destinationIndex']>_0x3285ac[_0x10416f(0x274)]+0x1?{..._0x3285ac,'sourceStart':_0x3285ac[_0x10416f(0x238)]-_0x3d1175,'sourceEnd':_0x3285ac['destinationIndex']-0x1,'destinationIndex':_0x3285ac['sourceStart']}:{..._0x3285ac,'sourceStart':_0x3285ac[_0x10416f(0x238)],'sourceEnd':_0x3285ac[_0x10416f(0x238)]+_0x3d1175-0x1,'destinationIndex':_0x3285ac[_0x10416f(0x274)]+0x1};}function _0x3dc5c3(_0x352bca,_0x131b66){const _0x28a6c3=_0x5ab50b;var _0x3e11e4,_0x4001b8;let _0x125dee=(_0x3e11e4=_0x352bca==null?void 0x0:_0x352bca[_0x28a6c3(0x1cc)])==null?_0x131b66==null?void 0x0:_0x131b66[_0x28a6c3(0x1cc)]:_0x3e11e4,_0x3851f4=(_0x4001b8=_0x352bca==null?void 0x0:_0x352bca[_0x28a6c3(0x202)])==null?_0x131b66==null?void 0x0:_0x131b66[_0x28a6c3(0x202)]:_0x4001b8;return _0x125dee&&_0x3851f4?{'unitId':_0x125dee,'subUnitId':_0x3851f4}:null;}function _0x8c30ff(){const _0x103bd1=_0x5ab50b;var _0x4ffe87,_0x4ed120;return{'redos':[..._0x29c21a[_0x103bd1(0x216)]],'undos':[..._0x29c21a['undos']],'preRedos':[...(_0x4ffe87=_0x29c21a[_0x103bd1(0x1da)])==null?[]:_0x4ffe87],'preUndos':[...(_0x4ed120=_0x29c21a['preUndos'])==null?[]:_0x4ed120]};}let _0x50511c=class extends _0x7d4204['Disposable']{constructor(_0x300bf6,_0x108070){const _0x17ad8e=_0x5ab50b;super(),this[_0x17ad8e(0x1d1)]=_0x300bf6,this[_0x17ad8e(0x27b)]=_0x108070,this[_0x17ad8e(0x230)]();}[_0x5ab50b(0x230)](){const _0x3a9651=_0x5ab50b;this[_0x3a9651(0x1ce)](this[_0x3a9651(0x1d1)][_0x3a9651(0x27d)]({'pluginName':_0x202a27,'businesses':[_0x7d4204[_0x3a9651(0x242)][_0x3a9651(0x1f9)]],'toJson':_0x45e28c=>JSON[_0x3a9651(0x244)](this[_0x3a9651(0x27b)]['serialize'](_0x45e28c)),'parseJson':_0x415c0d=>JSON[_0x3a9651(0x21c)](_0x415c0d),'onLoad':(_0x237121,_0x3dbe09)=>this[_0x3a9651(0x27b)]['deserialize'](_0x237121,_0x3dbe09),'onUnLoad':_0x269ee0=>this[_0x3a9651(0x27b)][_0x3a9651(0x223)](_0x269ee0)}));}};_0x50511c=_0x438be5([_0x2b11b0(0x0,_0x7d4204[_0x5ab50b(0x1e5)]),_0x2b11b0(0x1,(0x0,_0x7d4204[_0x5ab50b(0x268)])(_0x462eb5))],_0x50511c);let _0x43f307=class extends _0x7d4204['Plugin']{constructor(_0x1d6560,_0x55daaa,_0x391d04){const _0xa57758=_0x5ab50b;super(),this[_0xa57758(0x227)]=_0x1d6560,this[_0xa57758(0x1d9)]=_0x55daaa,this[_0xa57758(0x1b9)]=_0x391d04;}[_0x5ab50b(0x214)](){const _0x1cd897=_0x5ab50b;this[_0x1cd897(0x1d9)][_0x1cd897(0x206)]([_0x462eb5]),this['_injector'][_0x1cd897(0x206)]([_0x3535c3]),this[_0x1cd897(0x1d9)][_0x1cd897(0x206)]([_0x50511c]),this[_0x1cd897(0x1d9)][_0x1cd897(0x206)]([_0x2f73a2]),this[_0x1cd897(0x1bc)](),this[_0x1cd897(0x1d9)][_0x1cd897(0x212)](_0x462eb5),this[_0x1cd897(0x1d9)]['get'](_0x3535c3),this['_injector'][_0x1cd897(0x212)](_0x50511c),this[_0x1cd897(0x1d9)][_0x1cd897(0x212)](_0x2f73a2);}[_0x5ab50b(0x1bc)](){const _0xb2652e=_0x5ab50b;[_0x3a87bf,_0x40b165,_0xda3005,_0x1d1e5b]['forEach'](_0x5c5cb2=>{const _0x1a2adb=_0x315b;this['disposeWithMe'](this['_commandService'][_0x1a2adb(0x1ad)](_0x5c5cb2));}),[_0x3d99d1,_0x34e76e,_0x303f0b,_0x4039a0,_0x41ca16][_0xb2652e(0x282)](_0x547441=>{const _0x44d65c=_0xb2652e;this[_0x44d65c(0x1ce)](this['_commandService']['registerCommand'](_0x547441));});}};_0x833d29(_0x43f307,'pluginName',_0x202a27),_0x833d29(_0x43f307,_0x5ab50b(0x266),_0x5960b0),_0x833d29(_0x43f307,_0x5ab50b(0x1ff),_0x26b721),_0x833d29(_0x43f307,_0x5ab50b(0x25a),_0x7d4204[_0x5ab50b(0x242)]['UNIVER_SHEET']),_0x43f307=_0x438be5([(0x0,_0x7d4204['DependentOn'])(_0xcc228c[_0x5ab50b(0x24f)]),_0x2b11b0(0x1,(0x0,_0x7d4204[_0x5ab50b(0x268)])(_0x7d4204[_0x5ab50b(0x1d5)])),_0x2b11b0(0x2,_0x7d4204[_0x5ab50b(0x20d)])],_0x43f307),_0xd729d['AddDimensionOutlineCommand']=_0x3a87bf,_0xd729d[_0x5ab50b(0x1a9)]=_0x3d99d1,_0xd729d[_0x5ab50b(0x22d)]=_0x1d1e5b,_0xd729d[_0x5ab50b(0x258)]=_0x4039a0,_0xd729d[_0x5ab50b(0x1e2)]=_0x4e20e8,_0xd729d['DimensionOutlineError']=_0x259bd4,_0xd729d['DimensionOutlineErrorReason']=_0xc506f2,_0xd729d[_0x5ab50b(0x273)]=_0x40b165,_0xd729d['RemoveDimensionOutlineMutation']=_0x34e76e,_0xd729d[_0x5ab50b(0x1e8)]='sheets-outline.config',_0xd729d[_0x5ab50b(0x1df)]=_0x202a27,_0xd729d[_0x5ab50b(0x269)]=_0xda3005,_0xd729d[_0x5ab50b(0x222)]=_0x303f0b,_0xd729d['SheetsOutlineErrorService']=_0x3535c3,_0xd729d[_0x5ab50b(0x24b)]=_0x462eb5,_0xd729d[_0x5ab50b(0x1f1)]=_0x41ca16,Object['defineProperty'](_0xd729d,_0x5ab50b(0x1ed),{'enumerable':!0x0,'get':function(){return _0x43f307;}}),_0xd729d['addDimensionOutlineToList']=_0x559c88,_0xd729d[_0x5ab50b(0x23d)]=_0xe17c25,_0xd729d['buildHiddenRanges']=_0x576452,_0xd729d[_0x5ab50b(0x209)]=_0x5311ab,_0xd729d[_0x5ab50b(0x1ae)]=_0x28008e,_0xd729d[_0x5ab50b(0x267)]=_0x2f2266,_0xd729d[_0x5ab50b(0x1e0)]=_0x46b161,_0xd729d['getDimensionOutlineViewPermission$']=_0x24c55d,_0xd729d[_0x5ab50b(0x243)]=_0x6ea3c7,_0xd729d[_0x5ab50b(0x21a)]=_0x27ccdb,_0xd729d['transformOutlinesByDelete']=_0x1e7d82,_0xd729d[_0x5ab50b(0x1d2)]=_0x3fdbb0,_0xd729d[_0x5ab50b(0x1dc)]=_0x132ddb;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-outline",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Dimension outline model integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "0.
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/
|
|
64
|
+
"@univerjs-pro/license": "1.0.0-alpha.0",
|
|
65
|
+
"@univerjs/sheets": "1.0.0-alpha.0",
|
|
66
|
+
"@univerjs/core": "1.0.0-alpha.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"rxjs": "7.8.2",
|
|
70
70
|
"typescript": "^6.0.3",
|
|
71
|
-
"vitest": "^4.1.
|
|
72
|
-
"@univerjs-infra/shared": "0.
|
|
71
|
+
"vitest": "^4.1.9",
|
|
72
|
+
"@univerjs-infra/shared": "1.0.0-alpha.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run",
|
|
File without changes
|