@univerjs-pro/sheets-outline 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
- package/lib/types/controllers/config.schema.d.ts +0 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x3958bd=_0x5a6b;(function(_0x3015de,_0x16703b){var _0x76c913=_0x5a6b,_0xf3a94c=_0x3015de();while(!![]){try{var _0x14fe05=-parseInt(_0x76c913(0xf2))/0x1+-parseInt(_0x76c913(0xd4))/0x2*(parseInt(_0x76c913(0xe8))/0x3)+-parseInt(_0x76c913(0xe2))/0x4*(-parseInt(_0x76c913(0xe0))/0x5)+-parseInt(_0x76c913(0xec))/0x6+-parseInt(_0x76c913(0xe6))/0x7*(-parseInt(_0x76c913(0xee))/0x8)+parseInt(_0x76c913(0xde))/0x9+-parseInt(_0x76c913(0xf3))/0xa;if(_0x14fe05===_0x16703b)break;else _0xf3a94c['push'](_0xf3a94c['shift']());}catch(_0x5ab5f0){_0xf3a94c['push'](_0xf3a94c['shift']());}}}(_0x5521,0x568cd));let e=require('@univerjs-pro/sheets-outline'),t=require('@univerjs/core/facade'),n=require('@univerjs/sheets/facade');function _0x5521(){var _0x44b4d2=['getDimensionOutlines','_injector','454426VBYFQm','SheetsOutlineModel','axis','addRowOutline','setDimensionOutlineCollapsed','DimensionOutlineAxis','_worksheet','extend','DimensionOutlineErrorReason','getUnitId','5130945FXczIJ','_addDimensionOutline','3194545MDSJud','ClearDimensionOutlinesCommand','4mteLzc','AddDimensionOutlineCommand','removeDimensionOutline','FWorksheet','353493CCFlVG','FEnum','6WeSErx','_commandService','_workbook','clearDimensionOutlines','190854UWlZIL','getSheetId','40BaKASr','syncExecuteCommand','get','RemoveDimensionOutlineCommand','220590LlwAhi','4001750ogTAnd'];_0x5521=function(){return _0x44b4d2;};return _0x5521();}var r=class extends t[_0x3958bd(0xe7)]{get[_0x3958bd(0xd9)](){var _0x41b0a0=_0x3958bd;return e[_0x41b0a0(0xd9)];}get[_0x3958bd(0xdc)](){var _0x1b2b68=_0x3958bd;return e[_0x1b2b68(0xdc)];}};function _0x5a6b(_0x2a2652,_0xed22c7){_0x2a2652=_0x2a2652-0xd3;var _0x5521a2=_0x5521();var _0x5a6bb8=_0x5521a2[_0x2a2652];return _0x5a6bb8;}t[_0x3958bd(0xe7)][_0x3958bd(0xdb)](r);var i=class extends n[_0x3958bd(0xe5)]{[_0x3958bd(0xd7)](_0xa20aa2,_0x558fc9){var _0x464937=_0x3958bd;return this[_0x464937(0xdf)](e[_0x464937(0xd9)]['ROW'],_0xa20aa2,_0x558fc9);}['addColumnOutline'](_0x562c3f,_0x2ac162){var _0x4dc1a2=_0x3958bd;return this[_0x4dc1a2(0xdf)](e['DimensionOutlineAxis']['COLUMN'],_0x562c3f,_0x2ac162);}[_0x3958bd(0xe4)](_0x3ea90d){var _0x5d1fd0=_0x3958bd;return this['_commandService'][_0x5d1fd0(0xef)](e[_0x5d1fd0(0xf1)]['id'],{'unitId':this['_workbook']['getUnitId'](),'subUnitId':this[_0x5d1fd0(0xda)]['getSheetId'](),'outlineId':_0x3ea90d}),this;}[_0x3958bd(0xd8)](_0xd1272d,_0x187b67){var _0x1967b7=_0x3958bd;return this[_0x1967b7(0xe9)][_0x1967b7(0xef)](e['SetDimensionOutlineCollapsedCommand']['id'],{'unitId':this[_0x1967b7(0xea)][_0x1967b7(0xdd)](),'subUnitId':this[_0x1967b7(0xda)]['getSheetId'](),'outlineId':_0xd1272d,'collapsed':_0x187b67}),this;}[_0x3958bd(0xeb)](_0x1eb572,_0x33836a,_0x414878){var _0x364d55=_0x3958bd;return this[_0x364d55(0xe9)][_0x364d55(0xef)](e[_0x364d55(0xe1)]['id'],{'unitId':this[_0x364d55(0xea)][_0x364d55(0xdd)](),'subUnitId':this[_0x364d55(0xda)][_0x364d55(0xed)](),'axis':_0x1eb572,'start':_0x33836a,'end':_0x414878}),this;}[_0x3958bd(0xf4)](_0x42a5ad){var _0x1fbe76=_0x3958bd;let _0x31edbf=this[_0x1fbe76(0xd3)][_0x1fbe76(0xf0)](e[_0x1fbe76(0xd5)])['getOutlines'](this[_0x1fbe76(0xea)][_0x1fbe76(0xdd)](),this['_worksheet']['getSheetId']());return _0x42a5ad?_0x31edbf['filter'](_0x535835=>_0x535835[_0x1fbe76(0xd6)]===_0x42a5ad):_0x31edbf;}['_addDimensionOutline'](_0x52b296,_0x4683d1,_0x2e0cec){var _0x4f6b25=_0x3958bd;return this[_0x4f6b25(0xe9)][_0x4f6b25(0xef)](e[_0x4f6b25(0xe3)]['id'],{'unitId':this[_0x4f6b25(0xea)][_0x4f6b25(0xdd)](),'subUnitId':this[_0x4f6b25(0xda)][_0x4f6b25(0xed)](),'axis':_0x52b296,'start':_0x4683d1,'end':_0x4683d1+_0x2e0cec-0x1}),this;}};n[_0x3958bd(0xe5)][_0x3958bd(0xdb)](i);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5570cf=_0xeefc;(function(_0x4c956e,_0xce6d9d){const _0x4ecf25=_0xeefc,_0x2f5fd1=_0x4c956e();while(!![]){try{const _0x2890e8=parseInt(_0x4ecf25(0x1b1))/0x1+-parseInt(_0x4ecf25(0x1c8))/0x2*(-parseInt(_0x4ecf25(0x1fb))/0x3)+parseInt(_0x4ecf25(0x1b9))/0x4+parseInt(_0x4ecf25(0x220))/0x5*(parseInt(_0x4ecf25(0x1e9))/0x6)+-parseInt(_0x4ecf25(0x255))/0x7*(parseInt(_0x4ecf25(0x247))/0x8)+-parseInt(_0x4ecf25(0x197))/0x9+-parseInt(_0x4ecf25(0x21c))/0xa*(parseInt(_0x4ecf25(0x24d))/0xb);if(_0x2890e8===_0xce6d9d)break;else _0x2f5fd1['push'](_0x2f5fd1['shift']());}catch(_0x332e0b){_0x2f5fd1['push'](_0x2f5fd1['shift']());}}}(_0x318d,0xa3d21),Object[_0x5570cf(0x1d3)](exports,Symbol[_0x5570cf(0x215)],{'value':_0x5570cf(0x1ed)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('rxjs'),r=require('rxjs/operators'),i=require('@univerjs-pro/license'),a=function(_0x1b3f3a){const _0x55209e=_0x5570cf;return _0x1b3f3a[_0x55209e(0x185)]=_0x55209e(0x1e3),_0x1b3f3a[_0x55209e(0x18d)]=_0x55209e(0x1cf),_0x1b3f3a;}({}),o=function(_0x46c959){const _0x16bd84=_0x5570cf;return _0x46c959[_0x16bd84(0x249)]=_0x16bd84(0x245),_0x46c959['OUT_OF_BOUNDS']=_0x16bd84(0x213),_0x46c959[_0x16bd84(0x258)]=_0x16bd84(0x195),_0x46c959[_0x16bd84(0x20c)]=_0x16bd84(0x191),_0x46c959['MOVE_SPLITS_OUTLINE']=_0x16bd84(0x1f6),_0x46c959[_0x16bd84(0x1f0)]=_0x16bd84(0x20b),_0x46c959[_0x16bd84(0x196)]=_0x16bd84(0x1a8),_0x46c959;}({});var s=class extends Error{constructor(_0xee10f5,_0x51059,_0xff6718){super(_0x51059),this['reason']=_0xee10f5,this['outlineId']=_0xff6718,this['name']='DimensionOutlineError';}};function c(_0x288aef){const _0x94ee9a=_0x5570cf;return _0x288aef instanceof s?_0x288aef['reason']:_0x288aef instanceof Error?_0x288aef[_0x94ee9a(0x1c9)]['includes'](_0x94ee9a(0x1b3))?_0x94ee9a(0x1f6):_0x288aef[_0x94ee9a(0x1c9)][_0x94ee9a(0x199)](_0x94ee9a(0x1d9))?_0x94ee9a(0x191):_0x288aef[_0x94ee9a(0x1c9)][_0x94ee9a(0x199)]('Crossing')?_0x94ee9a(0x195):_0x288aef[_0x94ee9a(0x1c9)][_0x94ee9a(0x199)](_0x94ee9a(0x212))?_0x94ee9a(0x245):_0x94ee9a(0x1a8):_0x94ee9a(0x1a8);}function l(_0x2b5173){const _0x116b56=_0x5570cf;return _0x2b5173 instanceof s?_0x2b5173[_0x116b56(0x194)]:void 0x0;}const u=0x2**0x35-0x1;function d(_0x5eb40c,_0x11b3be){const _0x6d229d=_0x5570cf;return _0x5eb40c[_0x6d229d(0x1ac)]===_0x11b3be[_0x6d229d(0x1ac)]&&_0x5eb40c[_0x6d229d(0x242)]===_0x11b3be[_0x6d229d(0x242)]&&_0x5eb40c[_0x6d229d(0x263)]===_0x11b3be[_0x6d229d(0x263)];}function _0xeefc(_0xac3e0f,_0x51fed7){_0xac3e0f=_0xac3e0f-0x185;const _0x318d80=_0x318d();let _0xeefc9=_0x318d80[_0xac3e0f];return _0xeefc9;}function f(_0x4a5dc7,_0x485cc0={}){const _0x3a972a=_0x5570cf;let _0x5ba4bd=_0x485cc0['maxDepth']??0x8,_0x4d3b82=new Map();for(let _0x606b19 of _0x4a5dc7){let _0xcaf493=_0x606b19['unitId']+':'+_0x606b19[_0x3a972a(0x242)]+':'+_0x606b19[_0x3a972a(0x263)],_0x1433f6=_0x4d3b82[_0x3a972a(0x19a)](_0xcaf493);_0x1433f6?_0x1433f6[_0x3a972a(0x1ab)](_0x606b19):_0x4d3b82[_0x3a972a(0x1cb)](_0xcaf493,[_0x606b19]);}let _0x1fae97=[];for(let _0x20d0cb of _0x4d3b82[_0x3a972a(0x25d)]()){let _0xe85f7=[..._0x20d0cb]['sort'](S),_0x229bc9=[];for(let _0x283416 of _0xe85f7){for(se(_0x283416);_0x229bc9[_0x3a972a(0x1c7)]>0x0&&_0x283416[_0x3a972a(0x1d8)]>_0x229bc9[_0x229bc9[_0x3a972a(0x1c7)]-0x1][_0x3a972a(0x1f1)];)_0x229bc9[_0x3a972a(0x1e0)]();let _0x121567=_0x229bc9[_0x229bc9[_0x3a972a(0x1c7)]-0x1];if(_0x121567&&_0x283416[_0x3a972a(0x1f1)]>_0x121567['end'])throw new s(_0x3a972a(0x195),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x283416['id']);let _0x3f4881=_0x121567?_0x121567[_0x3a972a(0x1d9)]+0x1:0x1;if(_0x3f4881>_0x5ba4bd)throw new s('max-depth',_0x3a972a(0x233)+_0x5ba4bd,_0x283416['id']);let _0x1d3934={..._0x283416,'depth':_0x3f4881,'parentId':_0x121567==null?void 0x0:_0x121567['id'],'anchor':_0x283416['end'],'children':[]};_0x121567?_0x121567[_0x3a972a(0x204)]['push'](_0x1d3934):_0x1fae97[_0x3a972a(0x1ab)](_0x1d3934),_0x229bc9[_0x3a972a(0x1ab)](_0x1d3934);}}return _0x1fae97;}function p(_0x5dde7d,_0x4136b9,_0x1d36f7={}){const _0x155116=_0x5570cf;if(_0x4136b9[_0x155116(0x1d8)]<0x0||_0x4136b9[_0x155116(0x1d8)]>_0x4136b9[_0x155116(0x1f1)])return{'valid':!0x1,'reason':_0x155116(0x245)};if(_0x1d36f7[_0x155116(0x1b8)]!=null&&_0x4136b9[_0x155116(0x1f1)]>=_0x1d36f7[_0x155116(0x1b8)])return{'valid':!0x1,'reason':_0x155116(0x213)};let _0x31e93a=_0x5dde7d[_0x155116(0x228)](_0x1867eb=>d(_0x1867eb,_0x4136b9));for(let _0x2c8980 of _0x31e93a)if(C(_0x2c8980,_0x4136b9))return{'valid':!0x1,'reason':_0x155116(0x195)};try{f([..._0x5dde7d,_0x4136b9],_0x1d36f7);}catch(_0x51a455){let _0x533623=c(_0x51a455);return _0x533623===_0x155116(0x191)?{'valid':!0x1,'reason':'max-depth'}:_0x533623===_0x155116(0x245)?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x155116(0x195)};}return{'valid':!0x0};}function m(_0x537a12,_0x318aac,_0x20eb1e={}){const _0x3c352d=_0x5570cf;let _0x57278b=p(_0x537a12,_0x318aac,_0x20eb1e);if(!_0x57278b[_0x3c352d(0x243)])throw Error(_0x57278b['reason']??_0x3c352d(0x231));return[..._0x537a12,_0x318aac];}function ee(_0x4d5525,_0x4be720){const _0x4ecd7d=_0x5570cf;let _0xae45ad=_0x4be720[_0x4ecd7d(0x1d8)],_0x450172=_0x4be720['end'],_0x1e06c8=[],_0x577031=!0x0;for(;_0x577031;){_0x577031=!0x1;for(let _0x51cec0 of _0x4d5525)!_0x1e06c8['includes'](_0x51cec0)&&d(_0x51cec0,_0x4be720)&&ae(_0x51cec0[_0x4ecd7d(0x1d8)],_0x51cec0[_0x4ecd7d(0x1f1)],_0xae45ad,_0x450172)&&(_0x1e06c8['push'](_0x51cec0),_0xae45ad=Math[_0x4ecd7d(0x19d)](_0xae45ad,_0x51cec0['start']),_0x450172=Math[_0x4ecd7d(0x23f)](_0x450172,_0x51cec0['end']),_0x577031=!0x0);}if(_0x1e06c8['length']===0x0)return null;let [_0x47ef83]=[..._0x1e06c8][_0x4ecd7d(0x1be)](S);return{'mergedOutline':{..._0x47ef83,'start':_0xae45ad,'end':_0x450172},'mergedOutlines':_0x1e06c8};}function h(_0x1b3134,_0x52aed2){const _0x8bcc84=_0x5570cf;return _0x1b3134[_0x8bcc84(0x228)](_0x382200=>!d(_0x382200,_0x52aed2)||!(_0x382200[_0x8bcc84(0x1d8)]>=_0x52aed2[_0x8bcc84(0x1d8)]&&_0x382200[_0x8bcc84(0x1f1)]<=_0x52aed2['end']));}function g(_0x20b301,_0x1a4813,_0x132e73,_0x1db15f){const _0x4d836d=_0x5570cf;return _(_0x20b301[_0x4d836d(0x228)](_0x52745b=>_0x52745b[_0x4d836d(0x1ac)]===_0x1a4813&&_0x52745b['subUnitId']===_0x132e73&&_0x52745b[_0x4d836d(0x263)]===_0x1db15f&&_0x52745b[_0x4d836d(0x21d)])[_0x4d836d(0x209)](_0xaaea42=>({'start':_0xaaea42[_0x4d836d(0x1d8)],'end':_0xaaea42[_0x4d836d(0x1f1)]})));}function _(_0x5c3083){const _0x1c10ea=_0x5570cf;if(_0x5c3083['length']===0x0)return[];let _0x188b54=[..._0x5c3083][_0x1c10ea(0x1be)]((_0xc00eb6,_0x17cb1d)=>_0xc00eb6[_0x1c10ea(0x1d8)]-_0x17cb1d[_0x1c10ea(0x1d8)]||_0xc00eb6[_0x1c10ea(0x1f1)]-_0x17cb1d[_0x1c10ea(0x1f1)]),_0x19ff13=[];for(let _0x4f314e of _0x188b54){let _0x38d074=_0x19ff13[_0x19ff13[_0x1c10ea(0x1c7)]-0x1];!_0x38d074||_0x4f314e[_0x1c10ea(0x1d8)]>_0x38d074[_0x1c10ea(0x1f1)]+0x1?_0x19ff13['push']({..._0x4f314e}):_0x38d074[_0x1c10ea(0x1f1)]=Math[_0x1c10ea(0x23f)](_0x38d074[_0x1c10ea(0x1f1)],_0x4f314e['end']);}return _0x19ff13;}function v(_0x2a3486,_0x1956bf){const _0x2292ef=_0x5570cf;return _0x1956bf[_0x2292ef(0x20f)]<=0x0?_0x2a3486:x(_0x2a3486[_0x2292ef(0x209)](_0x9c1fb7=>d(_0x9c1fb7,_0x1956bf)?_0x1956bf[_0x2292ef(0x21b)]<=_0x9c1fb7[_0x2292ef(0x1d8)]?{..._0x9c1fb7,'start':_0x9c1fb7['start']+_0x1956bf[_0x2292ef(0x20f)],'end':_0x9c1fb7['end']+_0x1956bf[_0x2292ef(0x20f)]}:_0x9c1fb7[_0x2292ef(0x1d8)]<_0x1956bf[_0x2292ef(0x21b)]&&_0x1956bf[_0x2292ef(0x21b)]<=_0x9c1fb7[_0x2292ef(0x1f1)]?{..._0x9c1fb7,'end':_0x9c1fb7[_0x2292ef(0x1f1)]+_0x1956bf[_0x2292ef(0x20f)]}:_0x9c1fb7:_0x9c1fb7));}function y(_0x47142a,_0x51dd8d){const _0x725f4e=_0x5570cf;if(_0x51dd8d[_0x725f4e(0x1d8)]>_0x51dd8d[_0x725f4e(0x1f1)])return _0x47142a;let _0x1c01c9=_0x51dd8d[_0x725f4e(0x1f1)]-_0x51dd8d['start']+0x1,_0x2ad894=[];for(let _0x468707 of _0x47142a){if(!d(_0x468707,_0x51dd8d)){_0x2ad894[_0x725f4e(0x1ab)](_0x468707);continue;}if(_0x468707[_0x725f4e(0x1f1)]<_0x51dd8d[_0x725f4e(0x1d8)]){_0x2ad894[_0x725f4e(0x1ab)](_0x468707);continue;}if(_0x468707[_0x725f4e(0x1d8)]>_0x51dd8d[_0x725f4e(0x1f1)]){_0x2ad894['push']({..._0x468707,'start':_0x468707['start']-_0x1c01c9,'end':_0x468707[_0x725f4e(0x1f1)]-_0x1c01c9});continue;}let _0x6dd140=Math[_0x725f4e(0x23f)](_0x468707[_0x725f4e(0x1d8)],_0x51dd8d[_0x725f4e(0x1d8)]),_0x58906b=Math[_0x725f4e(0x19d)](_0x468707[_0x725f4e(0x1f1)],_0x51dd8d['end']),_0x19e4d2=Math[_0x725f4e(0x23f)](0x0,_0x58906b-_0x6dd140+0x1),_0x320e7b=_0x468707[_0x725f4e(0x1f1)]-_0x468707['start']+0x1-_0x19e4d2;if(_0x320e7b<=0x0)continue;let _0x118d5e=_0x468707[_0x725f4e(0x1d8)]<_0x51dd8d['start']?_0x468707[_0x725f4e(0x1d8)]:_0x51dd8d[_0x725f4e(0x1d8)];_0x2ad894[_0x725f4e(0x1ab)]({..._0x468707,'start':_0x118d5e,'end':_0x118d5e+_0x320e7b-0x1});}return x(_0x2ad894);}function b(_0x49eafd,_0x28d370){const _0x568430=_0x5570cf;if(_0x28d370['sourceStart']>_0x28d370[_0x568430(0x20e)])return _0x49eafd;let _0x44ba22=[];for(let _0x5d98a8 of _0x49eafd){if(!d(_0x5d98a8,_0x28d370)){_0x44ba22[_0x568430(0x1ab)](_0x5d98a8);continue;}let _0x39f5f4=te(_0x5d98a8,_0x28d370);if(_0x39f5f4[_0x568430(0x225)]===_0x568430(0x1c4))throw new s('move-splits-outline',_0x568430(0x22c)+_0x5d98a8['id'],_0x5d98a8['id']);_0x44ba22['push'](_0x39f5f4[_0x568430(0x1f8)]);}return x(_0x44ba22);}function te(_0x165cae,_0x1438d4){const _0x17df2b=_0x5570cf;let _0x27960f=ne(_0x1438d4['sourceStart'],_0x1438d4[_0x17df2b(0x20e)]+0x1,_0x1438d4[_0x17df2b(0x210)]),_0x215df3=[],_0x288a4d={'start':_0x165cae[_0x17df2b(0x1d8)],'end':_0x165cae[_0x17df2b(0x1f1)]+0x1};for(let _0x2178bb of _0x27960f){let _0x29ed64=re(_0x288a4d,_0x2178bb[_0x17df2b(0x212)]);_0x29ed64&&_0x215df3[_0x17df2b(0x1ab)]({'start':_0x29ed64[_0x17df2b(0x1d8)]+_0x2178bb['offset'],'end':_0x29ed64['end']+_0x2178bb[_0x17df2b(0x18a)]});}let _0x11deaf=ie(_0x215df3);return _0x11deaf[_0x17df2b(0x1c7)]===0x1?{'type':'ok','outline':{..._0x165cae,'start':_0x11deaf[0x0][_0x17df2b(0x1d8)],'end':_0x11deaf[0x0][_0x17df2b(0x1f1)]-0x1}}:{'type':_0x17df2b(0x1c4),'outline':_0x165cae,'ranges':_0x11deaf};}function ne(_0x8372f6,_0x27cb8e,_0xc99d62){const _0x191943=_0x5570cf;let _0x6d22ee=_0x27cb8e-_0x8372f6;if(_0x6d22ee<=0x0)throw Error(_0x191943(0x235));return _0xc99d62>=_0x8372f6&&_0xc99d62<=_0x27cb8e?[{'range':{'start':0x0,'end':u},'offset':0x0}]:_0xc99d62<_0x8372f6?[{'range':{'start':0x0,'end':_0xc99d62},'offset':0x0},{'range':{'start':_0xc99d62,'end':_0x8372f6},'offset':_0x6d22ee},{'range':{'start':_0x8372f6,'end':_0x27cb8e},'offset':_0xc99d62-_0x8372f6},{'range':{'start':_0x27cb8e,'end':u},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x8372f6},'offset':0x0},{'range':{'start':_0x8372f6,'end':_0x27cb8e},'offset':_0xc99d62-_0x27cb8e},{'range':{'start':_0x27cb8e,'end':_0xc99d62},'offset':-_0x6d22ee},{'range':{'start':_0xc99d62,'end':u},'offset':0x0}];}function re(_0x420551,_0x2c380b){const _0x35cdca=_0x5570cf;let _0x1c0f5a=Math[_0x35cdca(0x23f)](_0x420551[_0x35cdca(0x1d8)],_0x2c380b[_0x35cdca(0x1d8)]),_0x30a08c=Math[_0x35cdca(0x19d)](_0x420551[_0x35cdca(0x1f1)],_0x2c380b[_0x35cdca(0x1f1)]);return _0x1c0f5a>=_0x30a08c?null:{'start':_0x1c0f5a,'end':_0x30a08c};}function ie(_0x3489a6){const _0x78186f=_0x5570cf;if(_0x3489a6[_0x78186f(0x1c7)]===0x0)return[];let _0x38efd6=[..._0x3489a6][_0x78186f(0x1be)]((_0xa3c80e,_0x3c11e0)=>_0xa3c80e[_0x78186f(0x1d8)]-_0x3c11e0['start']||_0xa3c80e[_0x78186f(0x1f1)]-_0x3c11e0[_0x78186f(0x1f1)]),_0x3f7674=[];for(let _0xa720f2 of _0x38efd6){let _0x355287=_0x3f7674[_0x3f7674[_0x78186f(0x1c7)]-0x1];!_0x355287||_0xa720f2['start']>_0x355287[_0x78186f(0x1f1)]?_0x3f7674[_0x78186f(0x1ab)]({..._0xa720f2}):_0x355287[_0x78186f(0x1f1)]=Math[_0x78186f(0x23f)](_0x355287['end'],_0xa720f2[_0x78186f(0x1f1)]);}return _0x3f7674;}function ae(_0x3d18c8,_0x3ca5bd,_0x1928ec,_0x320503){return _0x3ca5bd+0x1===_0x1928ec||_0x320503+0x1===_0x3d18c8;}function x(_0x57dd9c){let _0x26ac96=oe(_0x57dd9c);return f(_0x26ac96),_0x26ac96;}function oe(_0x2f3950){const _0x412711=_0x5570cf;let _0x1c4c5b=new Map();for(let _0x4b73fb of _0x2f3950){let _0x3a255b=[_0x4b73fb[_0x412711(0x1ac)],_0x4b73fb['subUnitId'],_0x4b73fb[_0x412711(0x263)],_0x4b73fb[_0x412711(0x1d8)],_0x4b73fb[_0x412711(0x1f1)]][_0x412711(0x1cd)](':'),_0xa8ea66=_0x1c4c5b[_0x412711(0x19a)](_0x3a255b);if(!_0xa8ea66){_0x1c4c5b[_0x412711(0x1cb)](_0x3a255b,_0x4b73fb);continue;}_0x1c4c5b['set'](_0x3a255b,{..._0xa8ea66,'collapsed':_0xa8ea66[_0x412711(0x21d)]||_0x4b73fb['collapsed']});}return Array['from'](_0x1c4c5b[_0x412711(0x25d)]());}function S(_0x353187,_0x3bb45a){const _0x270dbd=_0x5570cf;return _0x353187[_0x270dbd(0x1ac)]===_0x3bb45a[_0x270dbd(0x1ac)]?_0x353187[_0x270dbd(0x242)]===_0x3bb45a['subUnitId']?_0x353187[_0x270dbd(0x263)]===_0x3bb45a[_0x270dbd(0x263)]?_0x353187[_0x270dbd(0x1d8)]===_0x3bb45a[_0x270dbd(0x1d8)]?_0x3bb45a[_0x270dbd(0x1f1)]-_0x353187[_0x270dbd(0x1f1)]:_0x353187[_0x270dbd(0x1d8)]-_0x3bb45a[_0x270dbd(0x1d8)]:_0x353187[_0x270dbd(0x263)][_0x270dbd(0x24f)](_0x3bb45a[_0x270dbd(0x263)]):_0x353187[_0x270dbd(0x242)]['localeCompare'](_0x3bb45a[_0x270dbd(0x242)]):_0x353187[_0x270dbd(0x1ac)][_0x270dbd(0x24f)](_0x3bb45a[_0x270dbd(0x1ac)]);}function se(_0x10553d){const _0x8c48ad=_0x5570cf;if(_0x10553d[_0x8c48ad(0x1d8)]>_0x10553d[_0x8c48ad(0x1f1)])throw new s(_0x8c48ad(0x245),_0x8c48ad(0x1ec),_0x10553d['id']);}function C(_0x2fdfe8,_0x54f1b1){const _0x274961=_0x5570cf;let _0x38cc65=_0x2fdfe8[_0x274961(0x1d8)]<=_0x54f1b1[_0x274961(0x1f1)]&&_0x54f1b1['start']<=_0x2fdfe8[_0x274961(0x1f1)],_0x374a6a=_0x2fdfe8[_0x274961(0x1d8)]<=_0x54f1b1[_0x274961(0x1d8)]&&_0x54f1b1[_0x274961(0x1f1)]<=_0x2fdfe8[_0x274961(0x1f1)],_0x312818=_0x54f1b1['start']<=_0x2fdfe8[_0x274961(0x1d8)]&&_0x2fdfe8[_0x274961(0x1f1)]<=_0x54f1b1[_0x274961(0x1f1)];return _0x38cc65&&!_0x374a6a&&!_0x312818;}function w(_0x4b45e0){'@babel/helpers - typeof';const _0x2e5f63=_0x5570cf;return w=typeof Symbol==_0x2e5f63(0x216)&&typeof Symbol[_0x2e5f63(0x25b)]==_0x2e5f63(0x20d)?function(_0x136c57){return typeof _0x136c57;}:function(_0x448d84){const _0x11fa2e=_0x2e5f63;return _0x448d84&&typeof Symbol==_0x11fa2e(0x216)&&_0x448d84[_0x11fa2e(0x193)]===Symbol&&_0x448d84!==Symbol[_0x11fa2e(0x259)]?'symbol':typeof _0x448d84;},w(_0x4b45e0);}function ce(_0x2608a5,_0x453012){const _0x272ba2=_0x5570cf;if(w(_0x2608a5)!=_0x272ba2(0x198)||!_0x2608a5)return _0x2608a5;var _0x2c502a=_0x2608a5[Symbol[_0x272ba2(0x1eb)]];if(_0x2c502a!==void 0x0){var _0xd565af=_0x2c502a[_0x272ba2(0x253)](_0x2608a5,_0x453012||'default');if(w(_0xd565af)!=_0x272ba2(0x198))return _0xd565af;throw TypeError(_0x272ba2(0x252));}return(_0x453012===_0x272ba2(0x1cc)?String:Number)(_0x2608a5);}function le(_0x3d068c){const _0x4f4f57=_0x5570cf;var _0x2190a3=ce(_0x3d068c,'string');return w(_0x2190a3)==_0x4f4f57(0x20d)?_0x2190a3:_0x2190a3+'';}function T(_0x25902e,_0x3546ec,_0x230191){const _0x4f8471=_0x5570cf;return(_0x3546ec=le(_0x3546ec))in _0x25902e?Object[_0x4f8471(0x1d3)](_0x25902e,_0x3546ec,{'value':_0x230191,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25902e[_0x3546ec]=_0x230191,_0x25902e;}var E=class extends e[_0x5570cf(0x189)]{constructor(..._0x39a9a8){const _0x110301=_0x5570cf;super(..._0x39a9a8),T(this,'_outlines',new Map()),T(this,_0x110301(0x239),new n[(_0x110301(0x1bd))]()),T(this,'change$',this['_change$']['asObservable']());}[_0x5570cf(0x1f5)](_0x769d34,_0x5ef066){const _0x1d5926=_0x5570cf;var _0x4bf946;return[...((_0x4bf946=this['_outlines'][_0x1d5926(0x19a)](_0x769d34))==null?void 0x0:_0x4bf946[_0x1d5926(0x19a)](_0x5ef066))??[]];}[_0x5570cf(0x1ea)](_0x36418a){const _0x3c1d49=_0x5570cf;let _0x3b0a0d=this['_outlines'][_0x3c1d49(0x19a)](_0x36418a),_0x282466=new Map();return _0x3b0a0d==null||_0x3b0a0d[_0x3c1d49(0x1f9)]((_0xb3b141,_0x6ef0c6)=>{const _0x120e95=_0x3c1d49;_0x282466[_0x120e95(0x1cb)](_0x6ef0c6,[..._0xb3b141]);}),_0x282466;}['setOutlines'](_0x5b394f,_0x482ee6,_0x2e5e0a){const _0x85553e=_0x5570cf;this[_0x85553e(0x22a)](_0x5b394f)['set'](_0x482ee6,[..._0x2e5e0a]),this[_0x85553e(0x239)]['next']({'unitId':_0x5b394f,'subUnitId':_0x482ee6});}[_0x5570cf(0x23b)](_0x2fe94b){const _0x59d67b=_0x5570cf;this['_outlines'][_0x59d67b(0x25f)](_0x2fe94b),this[_0x59d67b(0x239)][_0x59d67b(0x248)]({'unitId':_0x2fe94b});}[_0x5570cf(0x1aa)](_0x4f8391){const _0x385ae0=_0x5570cf;let _0x27f531=this[_0x385ae0(0x19b)][_0x385ae0(0x19a)](_0x4f8391),_0x2bcbe3={};return _0x27f531==null||_0x27f531['forEach']((_0x4d7767,_0x5117b2)=>{_0x2bcbe3[_0x5117b2]={'outlineList':[..._0x4d7767]};}),_0x2bcbe3;}['deserialize'](_0x1c8422,_0x444981){const _0x4a4749=_0x5570cf;let _0x403a5b=new Map();Object[_0x4a4749(0x1fa)](_0x444981)[_0x4a4749(0x1f9)](([_0x20f1b0,_0x5e8804])=>{const _0xe4245c=_0x4a4749;_0x403a5b[_0xe4245c(0x1cb)](_0x20f1b0,[..._0x5e8804['outlineList']??[]]);}),this[_0x4a4749(0x19b)][_0x4a4749(0x1cb)](_0x1c8422,_0x403a5b),this[_0x4a4749(0x239)][_0x4a4749(0x248)]({'unitId':_0x1c8422});}['dispose'](){const _0x503c5b=_0x5570cf;super[_0x503c5b(0x22d)](),this['_outlines'][_0x503c5b(0x1a9)](),this[_0x503c5b(0x239)][_0x503c5b(0x186)]();}['_ensureUnitOutlines'](_0x357c86){const _0x2b12c9=_0x5570cf;let _0x585336=this[_0x2b12c9(0x19b)][_0x2b12c9(0x19a)](_0x357c86);return _0x585336||(_0x585336=new Map(),this['_outlines'][_0x2b12c9(0x1cb)](_0x357c86,_0x585336)),_0x585336;}},D=class extends e[_0x5570cf(0x189)]{constructor(..._0x4e348b){const _0x322e2a=_0x5570cf;super(..._0x4e348b),T(this,_0x322e2a(0x200),new n[(_0x322e2a(0x1bd))]()),T(this,_0x322e2a(0x232),this['_error$'][_0x322e2a(0x1c0)]());}['emit'](_0x1f57bf){const _0x25efec=_0x5570cf;this[_0x25efec(0x200)][_0x25efec(0x248)](_0x1f57bf);}['dispose'](){const _0xadec22=_0x5570cf;super[_0xadec22(0x22d)](),this['_error$'][_0xadec22(0x186)]();}};const O={'id':_0x5570cf(0x1dc),'type':e[_0x5570cf(0x1f4)][_0x5570cf(0x1a4)],'handler':(_0x482b49,_0x43df08)=>{const _0x172fb3=_0x5570cf;let _0x26db8b=_0x482b49['get'](E),_0x18fc3b=_0x26db8b['getOutlines'](_0x43df08[_0x172fb3(0x1ac)],_0x43df08[_0x172fb3(0x242)]);return _0x26db8b['setOutlines'](_0x43df08[_0x172fb3(0x1ac)],_0x43df08[_0x172fb3(0x242)],m(_0x18fc3b,_0x43df08['outline'])),!0x0;}},k={'id':_0x5570cf(0x22f),'type':e['CommandType']['MUTATION'],'handler':(_0x217d91,_0x10cc27)=>{const _0x201bd0=_0x5570cf;let _0x387871=_0x217d91[_0x201bd0(0x19a)](E),_0x4ff90b=_0x387871[_0x201bd0(0x1f5)](_0x10cc27[_0x201bd0(0x1ac)],_0x10cc27[_0x201bd0(0x242)]);return _0x387871[_0x201bd0(0x214)](_0x10cc27[_0x201bd0(0x1ac)],_0x10cc27['subUnitId'],_0x4ff90b[_0x201bd0(0x228)](_0x582514=>_0x582514['id']!==_0x10cc27[_0x201bd0(0x194)])),!0x0;}};function A(_0x1cdf0f,_0x315608,_0x18916f){const _0x282bed=_0x5570cf;let _0x75ef99=de(_0x1cdf0f);return!_0x75ef99||_0x75ef99['permissionCheckWithoutRange']({'workbookTypes':[t[_0x282bed(0x1ae)]],'worksheetTypes':[t[_0x282bed(0x1b0)]]},_0x315608,_0x18916f);}function _0x318d(){const _0x11248d=['end','UNIVER_SHEET','_initResource','CommandType','getOutlines','move-splits-outline','ICommandService','outline','forEach','entries','33UgNFnX','deserialize','getSheetId','result','SetRowVisibleMutation','_error$','SetDimensionOutlineCollapsedMutation','mergedOutline','RemoveDimensionOutlineCommand','children','MoveRowsCommand','_sheetInterceptorService','IResourceManagerService','dimension-outline-','map','RemoveColCommand','clear-range-not-contain-outline','MAX_DEPTH','symbol','sourceEnd','count','destinationIndex','some','range','out-of-bounds','setOutlines','toStringTag','function','getSheetCommandTarget','CustomCommandExecutionError','stringify','_configService','index','263390glPwSP','collapsed','redos','_commandService','4114290fRpSHU','SHEET_OUTLINE_PLUGIN','transformOutlinesByDelete','getMaxColumns','DimensionOutlineAxis','type','SetColHiddenMutation','MoveColsCommand','filter','_initCommandInterceptor','_ensureUnitOutlines','TransformDimensionOutlinesMutation','Move\x20would\x20split\x20dimension\x20outline:\x20','dispose','AddDimensionOutlineMutation','sheet.mutation.remove-dimension-outline','disposeWithMe','invalid-dimension-outline','error$','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','sheet.command.set-dimension-outline-collapsed','Invalid\x20dimension\x20outline\x20move\x20source\x20range','IUndoRedoService','buildDimensionOutlineTree','_getCommandScope','_change$','reason','removeUnit','SetDimensionOutlineCollapsedCommand','sourceStart','Plugin','max','startColumn','merge','subUnitId','valid','SheetsOutlineErrorService','invalid-range','pushUndoRedo','528664ybkBCu','next','INVALID_RANGE','interceptCommand','move','packageName','187nCrsag','AddDimensionOutlineCommand','localeCompare','version','endColumn','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','call','endRow','91rIuOmo','RemoveDimensionOutlineMutation','registerCommand','CROSSING','prototype','DependentOn','iterator','Injector','values','insert','delete','generateRandomId','registerPluginResource','UniverSheetsOutlinePlugin','axis','ROW','complete','SheetsOutlineModel','toRange','Disposable','offset','getActiveSheet','SetColVisibleMutation','COLUMN','getUnit','getCurrentUnitOfType','UniverLicensePlugin','max-depth','sheet.mutation.transform-dimension-outlines','constructor','outlineId','crossing','UNKNOWN','11930967vTspnH','object','includes','get','_outlines','restoreOutlines','min','_injector','preRedos','Inject','sheet.mutation.clear-dimension-outlines','preUndos','undos','MUTATION','@univerjs-pro/sheets-outline','sheet.command.add-dimension-outline','DimensionOutlineErrorReason','unknown','clear','serialize','push','unitId','getOwnPropertyDescriptor','WorkbookViewPermission','_resourceManagerService','WorksheetViewPermission','1056411atgGsL','COMMAND','split\x20dimension\x20outline','add','getColumnCount','SheetInterceptorService','_sheetsOutlineErrorService','maxIndex','4286076eXPzkn','IPermissionService','IUniverInstanceService','has','Subject','sort','IConfigService','asObservable','RemoveRowCommand','_sheetsOutlineModel','transformOutlinesByMove','split','decorate','UniverInstanceType','length','64132UxuXSZ','message','SetRowHiddenMutation','set','string','join','sheet.command.remove-dimension-outline','column','emit','UniverSheetsPlugin','startWith','defineProperty','sequenceExecute','ClearDimensionOutlinesCommand','InsertRowCommand','InsertColCommand','start','depth','SheetPermissionCheckController','params','sheet.mutation.add-dimension-outline','startRow','fromRange','getUnitId','pop','pluginName','parse','row','hasDimensionOutlineViewPermission','pipe','debounceTime','permissionPointUpdate$','_univerInstanceService','6GAYinu','getUnitOutlines','toPrimitive','Invalid\x20outline\x20range','Module','getRowCount','find','CLEAR_RANGE_NOT_CONTAIN_OUTLINE'];_0x318d=function(){return _0x11248d;};return _0x318d();}function ue(_0x3138b1,_0x4fd87a,_0x9f50d){const _0x4db5f0=_0x5570cf;let _0x55661a=fe(_0x3138b1);return((_0x55661a==null?void 0x0:_0x55661a[_0x4db5f0(0x1e7)])??(0x0,n['of'])(null))[_0x4db5f0(0x1e5)]((0x0,r[_0x4db5f0(0x1e6)])(0x64),(0x0,r[_0x4db5f0(0x1d2)])(null),(0x0,r[_0x4db5f0(0x209)])(()=>A(_0x3138b1,_0x4fd87a,_0x9f50d)));}function de(_0xccd651){const _0x96a5a8=_0x5570cf;if(typeof _0xccd651[_0x96a5a8(0x1bc)]==_0x96a5a8(0x216)&&!_0xccd651[_0x96a5a8(0x1bc)](t[_0x96a5a8(0x1da)]))return null;try{return _0xccd651['get'](t[_0x96a5a8(0x1da)]);}catch{return null;}}function fe(_0x1df353){const _0x2e3374=_0x5570cf;if(typeof _0x1df353[_0x2e3374(0x1bc)]==_0x2e3374(0x216)&&!_0x1df353[_0x2e3374(0x1bc)](e['IPermissionService']))return null;try{return _0x1df353['get'](e[_0x2e3374(0x1ba)]);}catch{return null;}}const j={'id':_0x5570cf(0x1a6),'type':e['CommandType'][_0x5570cf(0x1b2)],'handler':(_0x307ceb,_0x419593)=>{const _0x39cbe0=_0x5570cf;if(!_0x419593)return!0x1;let _0x192074=(0x0,t[_0x39cbe0(0x217)])(_0x307ceb['get'](e[_0x39cbe0(0x1bb)]),_0x419593);if(!_0x192074)return!0x1;let {unitId:_0x33f8f8,subUnitId:_0x2bc18c,worksheet:_0x11a5f8}=_0x192074;if(!A(_0x307ceb,_0x33f8f8,_0x2bc18c))return!0x1;let _0x6decab=_0x307ceb[_0x39cbe0(0x19a)](E),_0x40b75c={'id':_0x39cbe0(0x208)+(0x0,e[_0x39cbe0(0x260)])(0x6),'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'axis':_0x419593['axis'],'start':_0x419593[_0x39cbe0(0x1d8)],'end':_0x419593['end'],'collapsed':!0x1},_0x1ca35c=_0x419593[_0x39cbe0(0x263)]===_0x39cbe0(0x1e3)?_0x11a5f8[_0x39cbe0(0x1ee)]():_0x11a5f8[_0x39cbe0(0x1b5)](),_0x196c90=_0x6decab[_0x39cbe0(0x1f5)](_0x33f8f8,_0x2bc18c),_0x28a655=ee(_0x196c90,_0x40b75c),_0x45e3c6=(_0x28a655==null?void 0x0:_0x28a655['mergedOutlines'])??[],_0x21ea7c=(_0x28a655==null?void 0x0:_0x28a655[_0x39cbe0(0x202)])??_0x40b75c,_0x2269ff=p(_0x28a655?_0x196c90[_0x39cbe0(0x228)](_0x198b49=>!_0x45e3c6[_0x39cbe0(0x211)](_0x3e2f30=>_0x3e2f30['id']===_0x198b49['id'])):_0x196c90,_0x21ea7c,{'maxIndex':_0x1ca35c});if(!_0x2269ff['valid'])return _0x307ceb[_0x39cbe0(0x19a)](D)['emit']({'reason':_0x2269ff[_0x39cbe0(0x23a)]??_0x39cbe0(0x1a8),'commandId':j['id'],'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'axis':_0x419593[_0x39cbe0(0x263)],'outlineId':_0x21ea7c['id']}),!0x1;let _0xa9f70c=[..._0x45e3c6[_0x39cbe0(0x209)](_0x199e78=>({'id':k['id'],'params':{'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'outlineId':_0x199e78['id']}})),{'id':O['id'],'params':{'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'outline':_0x21ea7c}}],_0x553657=[{'id':k['id'],'params':{'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'outlineId':_0x21ea7c['id']}},..._0x45e3c6[_0x39cbe0(0x209)](_0x162db8=>({'id':O['id'],'params':{'unitId':_0x33f8f8,'subUnitId':_0x2bc18c,'outline':_0x162db8}}))];return(0x0,e['sequenceExecute'])(_0xa9f70c,_0x307ceb['get'](e[_0x39cbe0(0x1f7)]))[_0x39cbe0(0x1fe)]?(_0x307ceb[_0x39cbe0(0x19a)](e[_0x39cbe0(0x236)])[_0x39cbe0(0x246)]({'unitID':_0x33f8f8,'undoMutations':_0x553657,'redoMutations':_0xa9f70c}),!0x0):!0x1;}},M={'id':_0x5570cf(0x1a1),'type':e[_0x5570cf(0x1f4)]['MUTATION'],'handler':(_0x4bd19f,_0xd6d1f1)=>{const _0x429b4f=_0x5570cf;let _0x1ab687=_0x4bd19f[_0x429b4f(0x19a)](E),_0x33319a=_0x1ab687['getOutlines'](_0xd6d1f1[_0x429b4f(0x1ac)],_0xd6d1f1['subUnitId']);return _0x1ab687[_0x429b4f(0x214)](_0xd6d1f1[_0x429b4f(0x1ac)],_0xd6d1f1[_0x429b4f(0x242)],h(_0x33319a,_0xd6d1f1)),!0x0;}},N={'id':'sheet.command.clear-dimension-outlines','type':e['CommandType'][_0x5570cf(0x1b2)],'handler':(_0x2578c9,_0xca7665)=>{const _0x90e490=_0x5570cf;if(!_0xca7665)return!0x1;let _0x29294e=(0x0,t['getSheetCommandTarget'])(_0x2578c9[_0x90e490(0x19a)](e['IUniverInstanceService']),_0xca7665);if(!_0x29294e)return!0x1;let {unitId:_0x207717,subUnitId:_0x5cb4c6}=_0x29294e;if(!A(_0x2578c9,_0x207717,_0x5cb4c6))return!0x1;let _0x2b5dc5={'unitId':_0x207717,'subUnitId':_0x5cb4c6,'axis':_0xca7665[_0x90e490(0x263)],'start':_0xca7665['start'],'end':_0xca7665[_0x90e490(0x1f1)]},_0x41c641=_0x2578c9[_0x90e490(0x19a)](E)[_0x90e490(0x1f5)](_0x207717,_0x5cb4c6)[_0x90e490(0x228)](_0x1a9623=>d(_0x1a9623,_0x2b5dc5)&&_0x1a9623[_0x90e490(0x1d8)]>=_0xca7665[_0x90e490(0x1d8)]&&_0x1a9623['end']<=_0xca7665[_0x90e490(0x1f1)]);if(_0x41c641[_0x90e490(0x1c7)]===0x0)return _0x2578c9[_0x90e490(0x19a)](D)[_0x90e490(0x1d0)]({'reason':_0x90e490(0x20b),'commandId':N['id'],'unitId':_0x207717,'subUnitId':_0x5cb4c6,'axis':_0xca7665['axis']}),!0x1;let _0x3a853e=[{'id':M['id'],'params':{..._0x2b5dc5,'removedOutlineIds':_0x41c641[_0x90e490(0x209)](_0x42fc68=>_0x42fc68['id'])}}],_0x18ac62=_0x41c641['map'](_0x530465=>({'id':O['id'],'params':{'unitId':_0x207717,'subUnitId':_0x5cb4c6,'outline':_0x530465}}));return(0x0,e['sequenceExecute'])(_0x3a853e,_0x2578c9['get'](e['ICommandService']))['result']?(_0x2578c9[_0x90e490(0x19a)](e[_0x90e490(0x236)])[_0x90e490(0x246)]({'unitID':_0x207717,'undoMutations':_0x18ac62,'redoMutations':_0x3a853e}),!0x0):!0x1;}},P={'id':_0x5570cf(0x1ce),'type':e[_0x5570cf(0x1f4)][_0x5570cf(0x1b2)],'handler':(_0x3d5a44,_0x4f1aad)=>{const _0x11b9b5=_0x5570cf;if(!_0x4f1aad)return!0x1;let _0x562949=(0x0,t[_0x11b9b5(0x217)])(_0x3d5a44[_0x11b9b5(0x19a)](e[_0x11b9b5(0x1bb)]),_0x4f1aad);if(!_0x562949)return!0x1;let {unitId:_0x824d3c,subUnitId:_0x7aae48}=_0x562949;if(!A(_0x3d5a44,_0x824d3c,_0x7aae48))return!0x1;let _0x15da0c=_0x3d5a44[_0x11b9b5(0x19a)](E)[_0x11b9b5(0x1f5)](_0x824d3c,_0x7aae48)[_0x11b9b5(0x1ef)](_0x8dc4e=>_0x8dc4e['id']===_0x4f1aad[_0x11b9b5(0x194)]);if(!_0x15da0c)return!0x1;let _0x122c42=[{'id':k['id'],'params':{'unitId':_0x824d3c,'subUnitId':_0x7aae48,'outlineId':_0x15da0c['id'],'outline':_0x15da0c}}],_0x2f1408=[{'id':O['id'],'params':{'unitId':_0x824d3c,'subUnitId':_0x7aae48,'outline':_0x15da0c}}];return(0x0,e[_0x11b9b5(0x1d4)])(_0x122c42,_0x3d5a44[_0x11b9b5(0x19a)](e[_0x11b9b5(0x1f7)]))[_0x11b9b5(0x1fe)]?(_0x3d5a44[_0x11b9b5(0x19a)](e[_0x11b9b5(0x236)])[_0x11b9b5(0x246)]({'unitID':_0x824d3c,'undoMutations':_0x2f1408,'redoMutations':_0x122c42}),!0x0):!0x1;}},F={'id':'sheet.mutation.set-dimension-outline-collapsed','type':e[_0x5570cf(0x1f4)][_0x5570cf(0x1a4)],'handler':(_0x4881a8,_0x2ed492)=>{const _0x987927=_0x5570cf;let _0x305915=_0x4881a8['get'](E),_0xb0eee7=_0x305915['getOutlines'](_0x2ed492['unitId'],_0x2ed492[_0x987927(0x242)]),_0x1379e0=_0xb0eee7[_0x987927(0x1ef)](_0x538843=>_0x538843['id']===_0x2ed492['outlineId']);return _0x1379e0&&_0x305915['setOutlines'](_0x2ed492['unitId'],_0x2ed492[_0x987927(0x242)],_0xb0eee7[_0x987927(0x209)](_0x4b43bf=>_0x4b43bf['unitId']!==_0x1379e0[_0x987927(0x1ac)]||_0x4b43bf['subUnitId']!==_0x1379e0[_0x987927(0x242)]||_0x4b43bf[_0x987927(0x263)]!==_0x1379e0[_0x987927(0x263)]||_0x4b43bf[_0x987927(0x1d8)]!==_0x1379e0[_0x987927(0x1d8)]||_0x4b43bf[_0x987927(0x1f1)]!==_0x1379e0[_0x987927(0x1f1)]?_0x4b43bf:{..._0x4b43bf,'collapsed':_0x2ed492[_0x987927(0x21d)]})),!0x0;}};function I(_0x1f30e8,_0x1a807d,_0x3b98a8,_0xb7fc0f){const _0x350d49=_0x5570cf;return _0x1f30e8==='row'?{'startRow':_0x1a807d,'endRow':_0x3b98a8,'startColumn':0x0,'endColumn':_0xb7fc0f[_0x350d49(0x223)]()-0x1}:{'startRow':0x0,'endRow':_0xb7fc0f[_0x350d49(0x1ee)]()-0x1,'startColumn':_0x1a807d,'endColumn':_0x3b98a8};}function pe(_0x231ddc){const _0x23d2ec=_0x5570cf;return _0x231ddc===_0x23d2ec(0x1e3)?t[_0x23d2ec(0x1ca)]['id']:t[_0x23d2ec(0x226)]['id'];}function me(_0x491386){const _0x239d61=_0x5570cf;return _0x491386===_0x239d61(0x1e3)?t[_0x239d61(0x1ff)]['id']:t[_0x239d61(0x18c)]['id'];}function L(_0x1cbd80,_0x2c37d3,_0x2ad601,_0x3ce667){const _0xf816ff=_0x5570cf;let _0x8b6584=_0x2c37d3?[I(_0x1cbd80[_0xf816ff(0x263)],_0x1cbd80['start'],_0x1cbd80[_0xf816ff(0x1f1)],_0x2ad601)]:he(_0x1cbd80,_0x3ce667,_0x2ad601),_0x449ade=_0x2c37d3?pe(_0x1cbd80[_0xf816ff(0x263)]):me(_0x1cbd80[_0xf816ff(0x263)]);return[{'id':F['id'],'params':{'unitId':_0x1cbd80[_0xf816ff(0x1ac)],'subUnitId':_0x1cbd80['subUnitId'],'outlineId':_0x1cbd80['id'],'outline':_0x1cbd80,'collapsed':_0x2c37d3}},..._0x8b6584[_0xf816ff(0x209)](_0x396624=>({'id':_0x449ade,'params':{'unitId':_0x1cbd80[_0xf816ff(0x1ac)],'subUnitId':_0x1cbd80[_0xf816ff(0x242)],'ranges':[_0x396624],'dimensionOutlineId':_0x1cbd80['id']}}))];}function he(_0x5d6583,_0x157819,_0x2339b8){const _0x20aaa1=_0x5570cf;let _0x3d61fd=g(_0x157819[_0x20aaa1(0x209)](_0x233dd9=>R(_0x233dd9,_0x5d6583)?{..._0x233dd9,'collapsed':!0x1}:_0x233dd9),_0x5d6583['unitId'],_0x5d6583[_0x20aaa1(0x242)],_0x5d6583[_0x20aaa1(0x263)]);return ge({'start':_0x5d6583[_0x20aaa1(0x1d8)],'end':_0x5d6583[_0x20aaa1(0x1f1)]},_0x3d61fd)[_0x20aaa1(0x209)](_0x5e3385=>I(_0x5d6583[_0x20aaa1(0x263)],_0x5e3385[_0x20aaa1(0x1d8)],_0x5e3385['end'],_0x2339b8));}function R(_0x5edcfb,_0x24f1a0){const _0x2732f3=_0x5570cf;return _0x5edcfb[_0x2732f3(0x1ac)]===_0x24f1a0[_0x2732f3(0x1ac)]&&_0x5edcfb[_0x2732f3(0x242)]===_0x24f1a0[_0x2732f3(0x242)]&&_0x5edcfb[_0x2732f3(0x263)]===_0x24f1a0[_0x2732f3(0x263)]&&_0x5edcfb[_0x2732f3(0x1d8)]===_0x24f1a0[_0x2732f3(0x1d8)]&&_0x5edcfb[_0x2732f3(0x1f1)]===_0x24f1a0[_0x2732f3(0x1f1)];}function ge(_0x252646,_0x3ce6b6){const _0x4f476f=_0x5570cf;let _0x143b71=_0x252646[_0x4f476f(0x1d8)],_0x56b95f=[];for(let _0x325a51 of _0x3ce6b6)if(!(_0x325a51[_0x4f476f(0x1f1)]<_0x143b71||_0x325a51[_0x4f476f(0x1d8)]>_0x252646[_0x4f476f(0x1f1)])&&(_0x325a51[_0x4f476f(0x1d8)]>_0x143b71&&_0x56b95f['push']({'start':_0x143b71,'end':Math[_0x4f476f(0x19d)](_0x325a51[_0x4f476f(0x1d8)]-0x1,_0x252646[_0x4f476f(0x1f1)])}),_0x143b71=Math[_0x4f476f(0x23f)](_0x143b71,_0x325a51[_0x4f476f(0x1f1)]+0x1),_0x143b71>_0x252646[_0x4f476f(0x1f1)]))break;return _0x143b71<=_0x252646['end']&&_0x56b95f[_0x4f476f(0x1ab)]({'start':_0x143b71,'end':_0x252646[_0x4f476f(0x1f1)]}),_0x56b95f;}const z={'id':_0x5570cf(0x234),'type':e[_0x5570cf(0x1f4)][_0x5570cf(0x1b2)],'handler':(_0xfa3f70,_0x500041)=>{const _0x89b28b=_0x5570cf;if(!_0x500041)return!0x1;let _0x464afa=(0x0,t['getSheetCommandTarget'])(_0xfa3f70[_0x89b28b(0x19a)](e[_0x89b28b(0x1bb)]),_0x500041);if(!_0x464afa)return!0x1;let {unitId:_0x4161b3,subUnitId:_0x387cbd,worksheet:_0x33c6f9}=_0x464afa;if(!A(_0xfa3f70,_0x4161b3,_0x387cbd))return!0x1;let _0x3b3ba9=_0xfa3f70[_0x89b28b(0x19a)](E)['getOutlines'](_0x4161b3,_0x387cbd),_0x17763c=_0x3b3ba9[_0x89b28b(0x1ef)](_0x5ca565=>_0x5ca565['id']===_0x500041['outlineId']);if(!_0x17763c||_0x17763c[_0x89b28b(0x21d)]===_0x500041[_0x89b28b(0x21d)])return!0x1;let _0xa09f60=L(_0x17763c,_0x500041[_0x89b28b(0x21d)],_0x33c6f9,_0x3b3ba9),_0x987761=L(_0x17763c,!_0x500041[_0x89b28b(0x21d)],_0x33c6f9,_0x3b3ba9);return(0x0,e[_0x89b28b(0x1d4)])(_0xa09f60,_0xfa3f70[_0x89b28b(0x19a)](e[_0x89b28b(0x1f7)]))['result']?(_0xfa3f70[_0x89b28b(0x19a)](e[_0x89b28b(0x236)])[_0x89b28b(0x246)]({'unitID':_0x4161b3,'undoMutations':_0x987761,'redoMutations':_0xa09f60}),!0x0):!0x1;}},B={'id':_0x5570cf(0x192),'type':e[_0x5570cf(0x1f4)][_0x5570cf(0x1a4)],'handler':(_0x33aabe,_0x3b15b8)=>{const _0x3341be=_0x5570cf;let _0x5eda75=_0x33aabe[_0x3341be(0x19a)](E),_0x2bd367=_e(_0x5eda75[_0x3341be(0x1f5)](_0x3b15b8['unitId'],_0x3b15b8[_0x3341be(0x242)]),_0x3b15b8);return _0x5eda75[_0x3341be(0x214)](_0x3b15b8[_0x3341be(0x1ac)],_0x3b15b8[_0x3341be(0x242)],_0x2bd367),!0x0;}};function _e(_0x5d020e,_0xa23991){const _0x359dd2=_0x5570cf;switch(_0xa23991[_0x359dd2(0x225)]){case'insert':return _0xa23991['restoreOutlines']?ve(_0x5d020e,_0xa23991):v(_0x5d020e,_0xa23991);case _0x359dd2(0x25f):return y(_0x5d020e,_0xa23991);case _0x359dd2(0x24b):return b(_0x5d020e,_0xa23991);}}function ve(_0x5e42a9,_0x27b2c7){const _0x4c440e=_0x5570cf;return[..._0x5e42a9[_0x4c440e(0x228)](_0x67517=>_0x67517[_0x4c440e(0x1ac)]!==_0x27b2c7[_0x4c440e(0x1ac)]||_0x67517['subUnitId']!==_0x27b2c7[_0x4c440e(0x242)]||_0x67517[_0x4c440e(0x263)]!==_0x27b2c7[_0x4c440e(0x263)]),..._0x27b2c7[_0x4c440e(0x19c)]];}const V=_0x5570cf(0x221);var ye=_0x5570cf(0x1a5),be='1.0.0';const H={};function U(_0x20910c,_0x4c2c22){return function(_0x71a87a,_0x39438b){_0x4c2c22(_0x71a87a,_0x39438b,_0x20910c);};}function W(_0x384884,_0x95ad8b,_0xc405d,_0x486ce0){const _0xbf0f53=_0x5570cf;var _0x37bcf7=arguments[_0xbf0f53(0x1c7)],_0x5d8db2=_0x37bcf7<0x3?_0x95ad8b:_0x486ce0===null?_0x486ce0=Object[_0xbf0f53(0x1ad)](_0x95ad8b,_0xc405d):_0x486ce0,_0x49a0cf;if(typeof Reflect=='object'&&typeof Reflect[_0xbf0f53(0x1c5)]==_0xbf0f53(0x216))_0x5d8db2=Reflect[_0xbf0f53(0x1c5)](_0x384884,_0x95ad8b,_0xc405d,_0x486ce0);else{for(var _0x5aeca3=_0x384884[_0xbf0f53(0x1c7)]-0x1;_0x5aeca3>=0x0;_0x5aeca3--)(_0x49a0cf=_0x384884[_0x5aeca3])&&(_0x5d8db2=(_0x37bcf7<0x3?_0x49a0cf(_0x5d8db2):_0x37bcf7>0x3?_0x49a0cf(_0x95ad8b,_0xc405d,_0x5d8db2):_0x49a0cf(_0x95ad8b,_0xc405d))||_0x5d8db2);}return _0x37bcf7>0x3&&_0x5d8db2&&Object[_0xbf0f53(0x1d3)](_0x95ad8b,_0xc405d,_0x5d8db2),_0x5d8db2;}const G={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let K=class extends e['Disposable']{constructor(_0x193b90,_0x44ef36,_0x34bebc,_0x2b264f){const _0x3d2d90=_0x5570cf;super(),this[_0x3d2d90(0x1e8)]=_0x193b90,this[_0x3d2d90(0x206)]=_0x44ef36,this[_0x3d2d90(0x1c2)]=_0x34bebc,this[_0x3d2d90(0x1b7)]=_0x2b264f,this[_0x3d2d90(0x229)]();}[_0x5570cf(0x229)](){const _0x5b5f76=_0x5570cf;this[_0x5b5f76(0x230)](this[_0x5b5f76(0x206)][_0x5b5f76(0x24a)]({'getMutations':_0x4fe67f=>xe(_0x4fe67f,(_0xada7e5,_0x4e0767)=>this[_0x5b5f76(0x1c2)]['getOutlines'](_0xada7e5,_0x4e0767),this[_0x5b5f76(0x238)](_0x4fe67f[_0x5b5f76(0x1db)]),_0x490ea0=>this[_0x5b5f76(0x1b7)]['emit'](_0x490ea0))}));}[_0x5570cf(0x238)](_0xd60398){const _0x41068c=_0x5570cf;let _0x136d45=_0xd60398,_0x49effd=_0x136d45!=null&&_0x136d45['unitId']?this[_0x41068c(0x1e8)][_0x41068c(0x18e)](_0x136d45['unitId'],e['UniverInstanceType'][_0x41068c(0x1f2)]):this[_0x41068c(0x1e8)][_0x41068c(0x18f)](e[_0x41068c(0x1c6)]['UNIVER_SHEET']);if(!_0x49effd)return;let _0x464594=_0x136d45!=null&&_0x136d45['subUnitId']?_0x49effd['getSheetBySheetId'](_0x136d45[_0x41068c(0x242)]):_0x49effd[_0x41068c(0x18b)]();if(_0x464594)return{'unitId':_0x49effd[_0x41068c(0x1df)](),'subUnitId':_0x464594[_0x41068c(0x1fd)]()};}};K=W([U(0x0,e[_0x5570cf(0x1bb)]),U(0x1,(0x0,e[_0x5570cf(0x1a0)])(t[_0x5570cf(0x1b6)])),U(0x2,(0x0,e[_0x5570cf(0x1a0)])(E)),U(0x3,(0x0,e[_0x5570cf(0x1a0)])(D))],K);function xe(_0x29bb9b,_0x31a58b,_0x58cb96,_0x336486){const _0x213794=_0x5570cf;let _0x323c2b=Ce(_0x29bb9b,_0x58cb96);if(!_0x323c2b)return Z();let _0x56a436=_0x31a58b(_0x323c2b[_0x213794(0x1ac)],_0x323c2b[_0x213794(0x242)]);if(!_0x56a436['some'](_0x6f8fb1=>_0x6f8fb1[_0x213794(0x263)]===_0x323c2b[_0x213794(0x263)]))return Z();Se(_0x56a436,_0x323c2b,_0x29bb9b['id'],_0x336486);let _0xb833a5=we(_0x323c2b,_0x56a436);return{'redos':[{'id':B['id'],'params':_0x323c2b}],'undos':[{'id':B['id'],'params':_0xb833a5}],'preRedos':[],'preUndos':[]};}function Se(_0x315ecc,_0x42be26,_0x41b44b,_0x412fe6){const _0x4b88c7=_0x5570cf;try{switch(_0x42be26[_0x4b88c7(0x225)]){case _0x4b88c7(0x25e):v(_0x315ecc,_0x42be26);break;case'delete':y(_0x315ecc,_0x42be26);break;case _0x4b88c7(0x24b):b(_0x315ecc,_0x42be26);}}catch(_0x19534f){throw _0x412fe6==null||_0x412fe6({'reason':c(_0x19534f),'commandId':_0x41b44b,'unitId':_0x42be26[_0x4b88c7(0x1ac)],'subUnitId':_0x42be26[_0x4b88c7(0x242)],'axis':_0x42be26[_0x4b88c7(0x263)],'outlineId':l(_0x19534f)}),new e[(_0x4b88c7(0x218))](_0x19534f instanceof Error?_0x19534f[_0x4b88c7(0x1c9)]:'Invalid\x20dimension\x20outline\x20mutation');}}function Ce(_0x2655bd,_0x38ab2){const _0x2382e0=_0x5570cf;switch(_0x2655bd['id']){case t[_0x2382e0(0x1d6)]['id']:return q(_0x2655bd[_0x2382e0(0x1db)],'row',_0x38ab2);case t[_0x2382e0(0x1d7)]['id']:return q(_0x2655bd[_0x2382e0(0x1db)],'column',_0x38ab2);case t[_0x2382e0(0x1c1)]['id']:return J(_0x2655bd[_0x2382e0(0x1db)],_0x2382e0(0x1e3),_0x38ab2);case t[_0x2382e0(0x20a)]['id']:return J(_0x2655bd[_0x2382e0(0x1db)],_0x2382e0(0x1cf),_0x38ab2);case t[_0x2382e0(0x205)]['id']:return Y(_0x2655bd[_0x2382e0(0x1db)],_0x2382e0(0x1e3),_0x38ab2);case t[_0x2382e0(0x227)]['id']:return Y(_0x2655bd[_0x2382e0(0x1db)],_0x2382e0(0x1cf),_0x38ab2);default:return null;}}function q(_0x30aa2a,_0x2d8aaf,_0x234b53){const _0x4a4aa4=_0x5570cf;let _0x89bb3c=X(_0x30aa2a,_0x234b53);if(!(_0x30aa2a!=null&&_0x30aa2a['range'])||!_0x89bb3c)return null;let _0x1af291=_0x2d8aaf===_0x4a4aa4(0x1e3)?_0x30aa2a[_0x4a4aa4(0x212)][_0x4a4aa4(0x1dd)]:_0x30aa2a[_0x4a4aa4(0x212)][_0x4a4aa4(0x240)],_0x310680=_0x2d8aaf==='row'?_0x30aa2a[_0x4a4aa4(0x212)]['endRow']:_0x30aa2a['range'][_0x4a4aa4(0x251)];return{..._0x89bb3c,'axis':_0x2d8aaf,'type':'insert','index':_0x1af291,'count':_0x310680-_0x1af291+0x1};}function J(_0x23a373,_0x7d8c32,_0xa5b016){const _0x5999ce=_0x5570cf;let _0x1f7949=X(_0x23a373,_0xa5b016);if(!(_0x23a373!=null&&_0x23a373[_0x5999ce(0x212)])||!_0x1f7949)return null;let _0x4095fc=_0x7d8c32===_0x5999ce(0x1e3)?_0x23a373[_0x5999ce(0x212)]['startRow']:_0x23a373[_0x5999ce(0x212)][_0x5999ce(0x240)],_0x148516=_0x7d8c32===_0x5999ce(0x1e3)?_0x23a373[_0x5999ce(0x212)][_0x5999ce(0x254)]:_0x23a373[_0x5999ce(0x212)][_0x5999ce(0x251)];return{..._0x1f7949,'axis':_0x7d8c32,'type':_0x5999ce(0x25f),'start':_0x4095fc,'end':_0x148516};}function Y(_0x2ef4b5,_0x3a656e,_0x22d38c){const _0x53429c=_0x5570cf;let _0x1c9395=X(_0x2ef4b5,_0x22d38c);if(!(_0x2ef4b5!=null&&_0x2ef4b5[_0x53429c(0x1de)])||!_0x2ef4b5[_0x53429c(0x188)]||!_0x1c9395)return null;let _0x3f6b4c=_0x3a656e===_0x53429c(0x1e3)?_0x2ef4b5[_0x53429c(0x1de)]['startRow']:_0x2ef4b5[_0x53429c(0x1de)][_0x53429c(0x240)],_0x21d3b4=_0x3a656e===_0x53429c(0x1e3)?_0x2ef4b5[_0x53429c(0x1de)][_0x53429c(0x254)]:_0x2ef4b5[_0x53429c(0x1de)]['endColumn'],_0x2439e5=_0x3a656e==='row'?_0x2ef4b5[_0x53429c(0x188)][_0x53429c(0x1dd)]:_0x2ef4b5['toRange'][_0x53429c(0x240)];return{..._0x1c9395,'axis':_0x3a656e,'type':_0x53429c(0x24b),'sourceStart':_0x3f6b4c,'sourceEnd':_0x21d3b4,'destinationIndex':_0x2439e5};}function we(_0x14bf4e,_0x4c9e90){const _0x496e22=_0x5570cf;switch(_0x14bf4e['type']){case _0x496e22(0x25e):return{'unitId':_0x14bf4e[_0x496e22(0x1ac)],'subUnitId':_0x14bf4e[_0x496e22(0x242)],'axis':_0x14bf4e[_0x496e22(0x263)],'type':_0x496e22(0x25f),'start':_0x14bf4e[_0x496e22(0x21b)],'end':_0x14bf4e[_0x496e22(0x21b)]+_0x14bf4e[_0x496e22(0x20f)]-0x1};case _0x496e22(0x25f):return{'unitId':_0x14bf4e[_0x496e22(0x1ac)],'subUnitId':_0x14bf4e[_0x496e22(0x242)],'axis':_0x14bf4e[_0x496e22(0x263)],'type':_0x496e22(0x25e),'index':_0x14bf4e[_0x496e22(0x1d8)],'count':_0x14bf4e['end']-_0x14bf4e[_0x496e22(0x1d8)]+0x1,'restoreOutlines':_0x4c9e90[_0x496e22(0x228)](_0x1d16b6=>_0x1d16b6[_0x496e22(0x1ac)]===_0x14bf4e[_0x496e22(0x1ac)]&&_0x1d16b6[_0x496e22(0x242)]===_0x14bf4e[_0x496e22(0x242)]&&_0x1d16b6['axis']===_0x14bf4e[_0x496e22(0x263)])};case _0x496e22(0x24b):return Te(_0x14bf4e);}}function Te(_0x15664b){const _0x40bdd2=_0x5570cf;let _0x93111a=_0x15664b[_0x40bdd2(0x20e)]-_0x15664b['sourceStart']+0x1;return _0x15664b[_0x40bdd2(0x210)]>=_0x15664b['sourceStart']&&_0x15664b[_0x40bdd2(0x210)]<=_0x15664b[_0x40bdd2(0x20e)]+0x1?{..._0x15664b}:_0x15664b['destinationIndex']>_0x15664b['sourceEnd']+0x1?{..._0x15664b,'sourceStart':_0x15664b[_0x40bdd2(0x210)]-_0x93111a,'sourceEnd':_0x15664b[_0x40bdd2(0x210)]-0x1,'destinationIndex':_0x15664b[_0x40bdd2(0x23d)]}:{..._0x15664b,'sourceStart':_0x15664b['destinationIndex'],'sourceEnd':_0x15664b[_0x40bdd2(0x210)]+_0x93111a-0x1,'destinationIndex':_0x15664b[_0x40bdd2(0x20e)]+0x1};}function X(_0xadfe78,_0x577cc8){const _0x455856=_0x5570cf;let _0x4496af=(_0xadfe78==null?void 0x0:_0xadfe78['unitId'])??(_0x577cc8==null?void 0x0:_0x577cc8[_0x455856(0x1ac)]),_0x5a2cd0=(_0xadfe78==null?void 0x0:_0xadfe78['subUnitId'])??(_0x577cc8==null?void 0x0:_0x577cc8[_0x455856(0x242)]);return _0x4496af&&_0x5a2cd0?{'unitId':_0x4496af,'subUnitId':_0x5a2cd0}:null;}function Z(){const _0x23d714=_0x5570cf;return{'redos':[...G[_0x23d714(0x21e)]],'undos':[...G[_0x23d714(0x1a3)]],'preRedos':[...G[_0x23d714(0x19f)]??[]],'preUndos':[...G[_0x23d714(0x1a2)]??[]]};}let Q=class extends e[_0x5570cf(0x189)]{constructor(_0x191151,_0x3506a8){const _0x2efe9e=_0x5570cf;super(),this[_0x2efe9e(0x1af)]=_0x191151,this[_0x2efe9e(0x1c2)]=_0x3506a8,this[_0x2efe9e(0x1f3)]();}[_0x5570cf(0x1f3)](){const _0x149b9d=_0x5570cf;this[_0x149b9d(0x230)](this[_0x149b9d(0x1af)][_0x149b9d(0x261)]({'pluginName':V,'businesses':[e[_0x149b9d(0x1c6)][_0x149b9d(0x1f2)]],'toJson':_0x2514b1=>JSON[_0x149b9d(0x219)](this[_0x149b9d(0x1c2)][_0x149b9d(0x1aa)](_0x2514b1)),'parseJson':_0x2abe58=>JSON[_0x149b9d(0x1e2)](_0x2abe58),'onLoad':(_0x1b30d8,_0x4fc4b7)=>this['_sheetsOutlineModel'][_0x149b9d(0x1fc)](_0x1b30d8,_0x4fc4b7),'onUnLoad':_0x131306=>this['_sheetsOutlineModel']['removeUnit'](_0x131306)}));}};Q=W([U(0x0,e[_0x5570cf(0x207)]),U(0x1,(0x0,e[_0x5570cf(0x1a0)])(E))],Q);let $=class extends e[_0x5570cf(0x23e)]{constructor(_0x417a86=H,_0x579f6b,_0xaf24cb,_0x1c1ec9){const _0xe12848=_0x5570cf;super(),this['_config']=_0x417a86,this[_0xe12848(0x19e)]=_0x579f6b,this[_0xe12848(0x21f)]=_0xaf24cb,this[_0xe12848(0x21a)]=_0x1c1ec9;let {..._0x4aacff}=(0x0,e[_0xe12848(0x241)])({},H,this['_config']);this['_configService']['setConfig']('sheets-outline.config',_0x4aacff);}['onStarting'](){const _0x1c485b=_0x5570cf;this[_0x1c485b(0x19e)][_0x1c485b(0x1b4)]([E]),this[_0x1c485b(0x19e)][_0x1c485b(0x1b4)]([D]),this[_0x1c485b(0x19e)][_0x1c485b(0x1b4)]([Q]),this[_0x1c485b(0x19e)][_0x1c485b(0x1b4)]([K]),this['_initRegisterCommand'](),this[_0x1c485b(0x19e)]['get'](E),this['_injector'][_0x1c485b(0x19a)](D),this[_0x1c485b(0x19e)][_0x1c485b(0x19a)](Q),this[_0x1c485b(0x19e)]['get'](K);}['_initRegisterCommand'](){const _0x50bfa6=_0x5570cf;[j,P,z,N][_0x50bfa6(0x1f9)](_0x2c56b0=>{const _0x189a58=_0x50bfa6;this[_0x189a58(0x230)](this[_0x189a58(0x21f)][_0x189a58(0x257)](_0x2c56b0));}),[O,k,F,M,B][_0x50bfa6(0x1f9)](_0x57e38c=>{const _0x2b50f6=_0x50bfa6;this[_0x2b50f6(0x230)](this['_commandService'][_0x2b50f6(0x257)](_0x57e38c));});}};T($,_0x5570cf(0x1e1),V),T($,_0x5570cf(0x24c),ye),T($,_0x5570cf(0x250),be),T($,'type',e[_0x5570cf(0x1c6)]['UNIVER_SHEET']),$=W([(0x0,e[_0x5570cf(0x25a)])(i[_0x5570cf(0x190)],t[_0x5570cf(0x1d1)]),U(0x1,(0x0,e['Inject'])(e[_0x5570cf(0x25c)])),U(0x2,e[_0x5570cf(0x1f7)]),U(0x3,e[_0x5570cf(0x1bf)])],$),exports[_0x5570cf(0x24e)]=j,exports[_0x5570cf(0x22e)]=O,exports[_0x5570cf(0x1d5)]=N,exports['ClearDimensionOutlinesMutation']=M,exports[_0x5570cf(0x224)]=a,exports[_0x5570cf(0x1a7)]=o,exports[_0x5570cf(0x203)]=P,exports[_0x5570cf(0x256)]=k,exports[_0x5570cf(0x221)]=V,exports[_0x5570cf(0x23c)]=z,exports[_0x5570cf(0x201)]=F,exports[_0x5570cf(0x244)]=D,exports[_0x5570cf(0x187)]=E,exports[_0x5570cf(0x22b)]=B,Object['defineProperty'](exports,_0x5570cf(0x262),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x5570cf(0x237)]=f,exports['canAddDimensionOutline']=p,exports['getDimensionOutlineViewPermission$']=ue,exports[_0x5570cf(0x1e4)]=A,exports[_0x5570cf(0x222)]=y,exports['transformOutlinesByInsert']=v,exports[_0x5570cf(0x1c3)]=b;
|
|
1
|
+
const _0x2cfd2a=_0x5ac2;(function(_0x57d802,_0x1f0106){const _0x122d7=_0x5ac2,_0x424a03=_0x57d802();while(!![]){try{const _0x3a32fc=-parseInt(_0x122d7(0xf1))/0x1*(parseInt(_0x122d7(0xc7))/0x2)+parseInt(_0x122d7(0xf4))/0x3+-parseInt(_0x122d7(0x102))/0x4+-parseInt(_0x122d7(0xa6))/0x5+-parseInt(_0x122d7(0xdd))/0x6*(-parseInt(_0x122d7(0xf7))/0x7)+-parseInt(_0x122d7(0xd7))/0x8*(parseInt(_0x122d7(0x124))/0x9)+parseInt(_0x122d7(0x16e))/0xa*(parseInt(_0x122d7(0xbc))/0xb);if(_0x3a32fc===_0x1f0106)break;else _0x424a03['push'](_0x424a03['shift']());}catch(_0x848af){_0x424a03['push'](_0x424a03['shift']());}}}(_0x3577,0x5866a),Object[_0x2cfd2a(0x94)](exports,Symbol[_0x2cfd2a(0x109)],{'value':_0x2cfd2a(0xbf)}));let e=require('@univerjs/core'),t=require('@univerjs/sheets'),n=require('rxjs'),r=require('rxjs/operators'),i=require('@univerjs-pro/license'),a=function(_0x273544){const _0x8dc5b1=_0x2cfd2a;return _0x273544['ROW']=_0x8dc5b1(0x12e),_0x273544[_0x8dc5b1(0xb1)]=_0x8dc5b1(0x16b),_0x273544;}({}),o=function(_0x54174d){const _0x2cee1c=_0x2cfd2a;return _0x54174d[_0x2cee1c(0xba)]='invalid-range',_0x54174d[_0x2cee1c(0x10d)]='out-of-bounds',_0x54174d[_0x2cee1c(0x13f)]=_0x2cee1c(0xe9),_0x54174d[_0x2cee1c(0x108)]='max-depth',_0x54174d[_0x2cee1c(0xa3)]='move-splits-outline',_0x54174d['CLEAR_RANGE_NOT_CONTAIN_OUTLINE']=_0x2cee1c(0xa2),_0x54174d[_0x2cee1c(0x12c)]=_0x2cee1c(0x11f),_0x54174d;}({});var s=class extends Error{constructor(_0x1c3022,_0x1fa31b,_0xd1090b){const _0x51e986=_0x2cfd2a;super(_0x1fa31b),this[_0x51e986(0x9a)]=_0x1c3022,this[_0x51e986(0x169)]=_0xd1090b,this[_0x51e986(0x9b)]=_0x51e986(0x122);}};function c(_0x108b5a){const _0x1cded6=_0x2cfd2a;return _0x108b5a instanceof s?_0x108b5a['reason']:_0x108b5a instanceof Error?_0x108b5a[_0x1cded6(0x129)][_0x1cded6(0xab)](_0x1cded6(0xe7))?_0x1cded6(0xcf):_0x108b5a[_0x1cded6(0x129)]['includes'](_0x1cded6(0xad))?'max-depth':_0x108b5a[_0x1cded6(0x129)]['includes'](_0x1cded6(0x9e))?_0x1cded6(0xe9):_0x108b5a['message'][_0x1cded6(0xab)](_0x1cded6(0xd5))?_0x1cded6(0x13b):_0x1cded6(0x11f):'unknown';}function l(_0x448ecf){const _0x371667=_0x2cfd2a;return _0x448ecf instanceof s?_0x448ecf[_0x371667(0x169)]:void 0x0;}const u=0x2**0x35-0x1;function d(_0x273bb7,_0x14aa5a){const _0x14b1c0=_0x2cfd2a;return _0x273bb7[_0x14b1c0(0x95)]===_0x14aa5a[_0x14b1c0(0x95)]&&_0x273bb7['subUnitId']===_0x14aa5a[_0x14b1c0(0xdb)]&&_0x273bb7[_0x14b1c0(0xb8)]===_0x14aa5a[_0x14b1c0(0xb8)];}function f(_0x140d06,_0x45f4ac={}){const _0x4a521c=_0x2cfd2a;let _0x2860da=_0x45f4ac[_0x4a521c(0x98)]??0x8,_0x4290db=new Map();for(let _0x751e7c of _0x140d06){let _0x13a76c=_0x751e7c[_0x4a521c(0x95)]+':'+_0x751e7c['subUnitId']+':'+_0x751e7c['axis'],_0x188b47=_0x4290db[_0x4a521c(0x138)](_0x13a76c);_0x188b47?_0x188b47[_0x4a521c(0xae)](_0x751e7c):_0x4290db[_0x4a521c(0x143)](_0x13a76c,[_0x751e7c]);}let _0x5f2867=[];for(let _0xa99e82 of _0x4290db[_0x4a521c(0x115)]()){let _0x375c49=[..._0xa99e82][_0x4a521c(0xf8)](S),_0x1ab7c5=[];for(let _0x508326 of _0x375c49){for(se(_0x508326);_0x1ab7c5[_0x4a521c(0x154)]>0x0&&_0x508326[_0x4a521c(0x9c)]>_0x1ab7c5[_0x1ab7c5[_0x4a521c(0x154)]-0x1][_0x4a521c(0x147)];)_0x1ab7c5[_0x4a521c(0x135)]();let _0x2e4ae3=_0x1ab7c5[_0x1ab7c5[_0x4a521c(0x154)]-0x1];if(_0x2e4ae3&&_0x508326['end']>_0x2e4ae3[_0x4a521c(0x147)])throw new s(_0x4a521c(0xe9),_0x4a521c(0x127),_0x508326['id']);let _0x3336f8=_0x2e4ae3?_0x2e4ae3['depth']+0x1:0x1;if(_0x3336f8>_0x2860da)throw new s(_0x4a521c(0xde),_0x4a521c(0x131)+_0x2860da,_0x508326['id']);let _0x4c4e7b={..._0x508326,'depth':_0x3336f8,'parentId':_0x2e4ae3==null?void 0x0:_0x2e4ae3['id'],'anchor':_0x508326[_0x4a521c(0x147)],'children':[]};_0x2e4ae3?_0x2e4ae3[_0x4a521c(0x10e)][_0x4a521c(0xae)](_0x4c4e7b):_0x5f2867[_0x4a521c(0xae)](_0x4c4e7b),_0x1ab7c5[_0x4a521c(0xae)](_0x4c4e7b);}}return _0x5f2867;}function p(_0x50301c,_0x12ccdc,_0x4f08ef={}){const _0x2a38a6=_0x2cfd2a;if(_0x12ccdc[_0x2a38a6(0x9c)]<0x0||_0x12ccdc[_0x2a38a6(0x9c)]>_0x12ccdc['end'])return{'valid':!0x1,'reason':_0x2a38a6(0x13b)};if(_0x4f08ef['maxIndex']!=null&&_0x12ccdc['end']>=_0x4f08ef[_0x2a38a6(0x159)])return{'valid':!0x1,'reason':_0x2a38a6(0x15c)};let _0x146d3e=_0x50301c[_0x2a38a6(0xfc)](_0x5344a1=>d(_0x5344a1,_0x12ccdc));for(let _0x26f89d of _0x146d3e)if(C(_0x26f89d,_0x12ccdc))return{'valid':!0x1,'reason':'crossing'};try{f([..._0x50301c,_0x12ccdc],_0x4f08ef);}catch(_0x253adf){let _0x31c72d=c(_0x253adf);return _0x31c72d===_0x2a38a6(0xde)?{'valid':!0x1,'reason':'max-depth'}:_0x31c72d==='invalid-range'?{'valid':!0x1,'reason':_0x2a38a6(0x13b)}:{'valid':!0x1,'reason':_0x2a38a6(0xe9)};}return{'valid':!0x0};}function m(_0x47fb58,_0x230f9a,_0x172d04={}){const _0x4aa27a=_0x2cfd2a;let _0x10d153=p(_0x47fb58,_0x230f9a,_0x172d04);if(!_0x10d153[_0x4aa27a(0xfa)])throw Error(_0x10d153['reason']??_0x4aa27a(0xa7));return[..._0x47fb58,_0x230f9a];}function ee(_0x27d8cc,_0x56cf57){const _0x252ffe=_0x2cfd2a;let _0x474062=_0x56cf57[_0x252ffe(0x9c)],_0x254fb1=_0x56cf57[_0x252ffe(0x147)],_0x320c41=[],_0x743e9a=!0x0;for(;_0x743e9a;){_0x743e9a=!0x1;for(let _0x7a2bf4 of _0x27d8cc)!_0x320c41['includes'](_0x7a2bf4)&&d(_0x7a2bf4,_0x56cf57)&&ae(_0x7a2bf4['start'],_0x7a2bf4[_0x252ffe(0x147)],_0x474062,_0x254fb1)&&(_0x320c41['push'](_0x7a2bf4),_0x474062=Math[_0x252ffe(0xfd)](_0x474062,_0x7a2bf4['start']),_0x254fb1=Math[_0x252ffe(0x11d)](_0x254fb1,_0x7a2bf4[_0x252ffe(0x147)]),_0x743e9a=!0x0);}if(_0x320c41[_0x252ffe(0x154)]===0x0)return null;let [_0x5f0597]=[..._0x320c41]['sort'](S);return{'mergedOutline':{..._0x5f0597,'start':_0x474062,'end':_0x254fb1},'mergedOutlines':_0x320c41};}function h(_0xe4245d,_0x49fc50){const _0x281139=_0x2cfd2a;return _0xe4245d[_0x281139(0xfc)](_0x27cade=>!d(_0x27cade,_0x49fc50)||!(_0x27cade['start']>=_0x49fc50[_0x281139(0x9c)]&&_0x27cade[_0x281139(0x147)]<=_0x49fc50[_0x281139(0x147)]));}function g(_0x1750ad,_0xd99541,_0x49b4ea,_0x4804e4){const _0x5be221=_0x2cfd2a;return _(_0x1750ad[_0x5be221(0xfc)](_0x5bd7a7=>_0x5bd7a7[_0x5be221(0x95)]===_0xd99541&&_0x5bd7a7[_0x5be221(0xdb)]===_0x49b4ea&&_0x5bd7a7[_0x5be221(0xb8)]===_0x4804e4&&_0x5bd7a7['collapsed'])['map'](_0x3fdb85=>({'start':_0x3fdb85[_0x5be221(0x9c)],'end':_0x3fdb85['end']})));}function _(_0x16b4e5){const _0x1d1ddf=_0x2cfd2a;if(_0x16b4e5[_0x1d1ddf(0x154)]===0x0)return[];let _0x9282f0=[..._0x16b4e5][_0x1d1ddf(0xf8)]((_0x598f3d,_0x2c24fd)=>_0x598f3d['start']-_0x2c24fd[_0x1d1ddf(0x9c)]||_0x598f3d[_0x1d1ddf(0x147)]-_0x2c24fd[_0x1d1ddf(0x147)]),_0x3f3585=[];for(let _0x403c04 of _0x9282f0){let _0x4ce3b6=_0x3f3585[_0x3f3585['length']-0x1];!_0x4ce3b6||_0x403c04[_0x1d1ddf(0x9c)]>_0x4ce3b6[_0x1d1ddf(0x147)]+0x1?_0x3f3585[_0x1d1ddf(0xae)]({..._0x403c04}):_0x4ce3b6[_0x1d1ddf(0x147)]=Math[_0x1d1ddf(0x11d)](_0x4ce3b6[_0x1d1ddf(0x147)],_0x403c04[_0x1d1ddf(0x147)]);}return _0x3f3585;}function v(_0x5860b5,_0x14afe3){const _0x2303d2=_0x2cfd2a;return _0x14afe3[_0x2303d2(0xd6)]<=0x0?_0x5860b5:x(_0x5860b5[_0x2303d2(0x14b)](_0x2cf1b4=>d(_0x2cf1b4,_0x14afe3)?_0x14afe3[_0x2303d2(0xc2)]<=_0x2cf1b4['start']?{..._0x2cf1b4,'start':_0x2cf1b4[_0x2303d2(0x9c)]+_0x14afe3[_0x2303d2(0xd6)],'end':_0x2cf1b4[_0x2303d2(0x147)]+_0x14afe3[_0x2303d2(0xd6)]}:_0x2cf1b4[_0x2303d2(0x9c)]<_0x14afe3['index']&&_0x14afe3[_0x2303d2(0xc2)]<=_0x2cf1b4['end']?{..._0x2cf1b4,'end':_0x2cf1b4[_0x2303d2(0x147)]+_0x14afe3[_0x2303d2(0xd6)]}:_0x2cf1b4:_0x2cf1b4));}function y(_0xb17686,_0x50fde8){const _0x132add=_0x2cfd2a;if(_0x50fde8[_0x132add(0x9c)]>_0x50fde8['end'])return _0xb17686;let _0x369b62=_0x50fde8[_0x132add(0x147)]-_0x50fde8[_0x132add(0x9c)]+0x1,_0x3467f7=[];for(let _0x207cfa of _0xb17686){if(!d(_0x207cfa,_0x50fde8)){_0x3467f7[_0x132add(0xae)](_0x207cfa);continue;}if(_0x207cfa[_0x132add(0x147)]<_0x50fde8[_0x132add(0x9c)]){_0x3467f7[_0x132add(0xae)](_0x207cfa);continue;}if(_0x207cfa[_0x132add(0x9c)]>_0x50fde8[_0x132add(0x147)]){_0x3467f7[_0x132add(0xae)]({..._0x207cfa,'start':_0x207cfa[_0x132add(0x9c)]-_0x369b62,'end':_0x207cfa['end']-_0x369b62});continue;}let _0x358358=Math[_0x132add(0x11d)](_0x207cfa[_0x132add(0x9c)],_0x50fde8[_0x132add(0x9c)]),_0x59dbd2=Math['min'](_0x207cfa[_0x132add(0x147)],_0x50fde8[_0x132add(0x147)]),_0x229c3c=Math[_0x132add(0x11d)](0x0,_0x59dbd2-_0x358358+0x1),_0x5e579e=_0x207cfa[_0x132add(0x147)]-_0x207cfa[_0x132add(0x9c)]+0x1-_0x229c3c;if(_0x5e579e<=0x0)continue;let _0x590a22=_0x207cfa[_0x132add(0x9c)]<_0x50fde8[_0x132add(0x9c)]?_0x207cfa['start']:_0x50fde8[_0x132add(0x9c)];_0x3467f7[_0x132add(0xae)]({..._0x207cfa,'start':_0x590a22,'end':_0x590a22+_0x5e579e-0x1});}return x(_0x3467f7);}function b(_0x1f6b74,_0x5dff14){const _0x309c76=_0x2cfd2a;if(_0x5dff14[_0x309c76(0xfe)]>_0x5dff14[_0x309c76(0xe4)])return _0x1f6b74;let _0x327490=[];for(let _0x824d53 of _0x1f6b74){if(!d(_0x824d53,_0x5dff14)){_0x327490[_0x309c76(0xae)](_0x824d53);continue;}let _0x5cbbb2=te(_0x824d53,_0x5dff14);if(_0x5cbbb2['type']===_0x309c76(0x161))throw new s(_0x309c76(0xcf),_0x309c76(0xc1)+_0x824d53['id'],_0x824d53['id']);_0x327490['push'](_0x5cbbb2[_0x309c76(0x168)]);}return x(_0x327490);}function te(_0x3d25ae,_0x2aaf73){const _0x28b4cd=_0x2cfd2a;let _0x385085=ne(_0x2aaf73['sourceStart'],_0x2aaf73[_0x28b4cd(0xe4)]+0x1,_0x2aaf73[_0x28b4cd(0xf5)]),_0x3ecf26=[],_0xe87931={'start':_0x3d25ae[_0x28b4cd(0x9c)],'end':_0x3d25ae[_0x28b4cd(0x147)]+0x1};for(let _0x222f3a of _0x385085){let _0xe191bf=re(_0xe87931,_0x222f3a[_0x28b4cd(0xd5)]);_0xe191bf&&_0x3ecf26[_0x28b4cd(0xae)]({'start':_0xe191bf[_0x28b4cd(0x9c)]+_0x222f3a[_0x28b4cd(0x103)],'end':_0xe191bf[_0x28b4cd(0x147)]+_0x222f3a[_0x28b4cd(0x103)]});}let _0x48a4fd=ie(_0x3ecf26);return _0x48a4fd['length']===0x1?{'type':'ok','outline':{..._0x3d25ae,'start':_0x48a4fd[0x0][_0x28b4cd(0x9c)],'end':_0x48a4fd[0x0][_0x28b4cd(0x147)]-0x1}}:{'type':_0x28b4cd(0x161),'outline':_0x3d25ae,'ranges':_0x48a4fd};}function ne(_0x1784c6,_0xfde511,_0x530f72){const _0x5e734c=_0x2cfd2a;let _0x2cde18=_0xfde511-_0x1784c6;if(_0x2cde18<=0x0)throw Error(_0x5e734c(0xc9));return _0x530f72>=_0x1784c6&&_0x530f72<=_0xfde511?[{'range':{'start':0x0,'end':u},'offset':0x0}]:_0x530f72<_0x1784c6?[{'range':{'start':0x0,'end':_0x530f72},'offset':0x0},{'range':{'start':_0x530f72,'end':_0x1784c6},'offset':_0x2cde18},{'range':{'start':_0x1784c6,'end':_0xfde511},'offset':_0x530f72-_0x1784c6},{'range':{'start':_0xfde511,'end':u},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x1784c6},'offset':0x0},{'range':{'start':_0x1784c6,'end':_0xfde511},'offset':_0x530f72-_0xfde511},{'range':{'start':_0xfde511,'end':_0x530f72},'offset':-_0x2cde18},{'range':{'start':_0x530f72,'end':u},'offset':0x0}];}function re(_0x3aad5c,_0xf6e5c2){const _0x1089fa=_0x2cfd2a;let _0x8e7174=Math[_0x1089fa(0x11d)](_0x3aad5c[_0x1089fa(0x9c)],_0xf6e5c2['start']),_0x47b8bb=Math['min'](_0x3aad5c['end'],_0xf6e5c2['end']);return _0x8e7174>=_0x47b8bb?null:{'start':_0x8e7174,'end':_0x47b8bb};}function ie(_0x3fe11d){const _0x12fccd=_0x2cfd2a;if(_0x3fe11d[_0x12fccd(0x154)]===0x0)return[];let _0x2c159e=[..._0x3fe11d][_0x12fccd(0xf8)]((_0x31ecf8,_0x531bd9)=>_0x31ecf8['start']-_0x531bd9['start']||_0x31ecf8[_0x12fccd(0x147)]-_0x531bd9[_0x12fccd(0x147)]),_0x57cbc0=[];for(let _0x5ac581 of _0x2c159e){let _0x4819f6=_0x57cbc0[_0x57cbc0[_0x12fccd(0x154)]-0x1];!_0x4819f6||_0x5ac581[_0x12fccd(0x9c)]>_0x4819f6[_0x12fccd(0x147)]?_0x57cbc0[_0x12fccd(0xae)]({..._0x5ac581}):_0x4819f6['end']=Math[_0x12fccd(0x11d)](_0x4819f6[_0x12fccd(0x147)],_0x5ac581[_0x12fccd(0x147)]);}return _0x57cbc0;}function ae(_0x36a1dc,_0x31858c,_0x5d0a9a,_0x1faef5){return _0x31858c+0x1===_0x5d0a9a||_0x1faef5+0x1===_0x36a1dc;}function x(_0x597861){let _0x3e22f6=oe(_0x597861);return f(_0x3e22f6),_0x3e22f6;}function oe(_0xaed7b6){const _0x106529=_0x2cfd2a;let _0x2abd5c=new Map();for(let _0x28bbd4 of _0xaed7b6){let _0xe506a5=[_0x28bbd4[_0x106529(0x95)],_0x28bbd4[_0x106529(0xdb)],_0x28bbd4['axis'],_0x28bbd4[_0x106529(0x9c)],_0x28bbd4[_0x106529(0x147)]][_0x106529(0xa5)](':'),_0x3692f4=_0x2abd5c[_0x106529(0x138)](_0xe506a5);if(!_0x3692f4){_0x2abd5c[_0x106529(0x143)](_0xe506a5,_0x28bbd4);continue;}_0x2abd5c[_0x106529(0x143)](_0xe506a5,{..._0x3692f4,'collapsed':_0x3692f4[_0x106529(0x117)]||_0x28bbd4['collapsed']});}return Array['from'](_0x2abd5c[_0x106529(0x115)]());}function _0x5ac2(_0x34ed03,_0x2b22c8){_0x34ed03=_0x34ed03-0x92;const _0x357770=_0x3577();let _0x5ac271=_0x357770[_0x34ed03];return _0x5ac271;}function S(_0x2ee824,_0x4cc401){const _0xb9ee1=_0x2cfd2a;return _0x2ee824[_0xb9ee1(0x95)]===_0x4cc401[_0xb9ee1(0x95)]?_0x2ee824[_0xb9ee1(0xdb)]===_0x4cc401[_0xb9ee1(0xdb)]?_0x2ee824[_0xb9ee1(0xb8)]===_0x4cc401[_0xb9ee1(0xb8)]?_0x2ee824[_0xb9ee1(0x9c)]===_0x4cc401[_0xb9ee1(0x9c)]?_0x4cc401[_0xb9ee1(0x147)]-_0x2ee824[_0xb9ee1(0x147)]:_0x2ee824[_0xb9ee1(0x9c)]-_0x4cc401[_0xb9ee1(0x9c)]:_0x2ee824[_0xb9ee1(0xb8)]['localeCompare'](_0x4cc401[_0xb9ee1(0xb8)]):_0x2ee824[_0xb9ee1(0xdb)][_0xb9ee1(0x150)](_0x4cc401['subUnitId']):_0x2ee824[_0xb9ee1(0x95)]['localeCompare'](_0x4cc401[_0xb9ee1(0x95)]);}function se(_0x316fb8){const _0x48be99=_0x2cfd2a;if(_0x316fb8[_0x48be99(0x9c)]>_0x316fb8[_0x48be99(0x147)])throw new s(_0x48be99(0x13b),_0x48be99(0x155),_0x316fb8['id']);}function C(_0x2f089d,_0x89c5cc){const _0x68d9de=_0x2cfd2a;let _0x1610eb=_0x2f089d[_0x68d9de(0x9c)]<=_0x89c5cc['end']&&_0x89c5cc[_0x68d9de(0x9c)]<=_0x2f089d[_0x68d9de(0x147)],_0x564834=_0x2f089d[_0x68d9de(0x9c)]<=_0x89c5cc[_0x68d9de(0x9c)]&&_0x89c5cc[_0x68d9de(0x147)]<=_0x2f089d[_0x68d9de(0x147)],_0x198dc8=_0x89c5cc[_0x68d9de(0x9c)]<=_0x2f089d['start']&&_0x2f089d[_0x68d9de(0x147)]<=_0x89c5cc[_0x68d9de(0x147)];return _0x1610eb&&!_0x564834&&!_0x198dc8;}function w(_0x49d16b){'@babel/helpers - typeof';const _0x2ccacb=_0x2cfd2a;return w=typeof Symbol==_0x2ccacb(0x120)&&typeof Symbol['iterator']=='symbol'?function(_0x41d1da){return typeof _0x41d1da;}:function(_0x585580){const _0x4110f8=_0x2ccacb;return _0x585580&&typeof Symbol==_0x4110f8(0x120)&&_0x585580[_0x4110f8(0x11a)]===Symbol&&_0x585580!==Symbol[_0x4110f8(0x12b)]?'symbol':typeof _0x585580;},w(_0x49d16b);}function ce(_0x102eac,_0x57b01c){const _0x472a94=_0x2cfd2a;if(w(_0x102eac)!=_0x472a94(0x11c)||!_0x102eac)return _0x102eac;var _0x5c2c7a=_0x102eac[Symbol[_0x472a94(0xf9)]];if(_0x5c2c7a!==void 0x0){var _0xaf5fe0=_0x5c2c7a[_0x472a94(0xaa)](_0x102eac,_0x57b01c||_0x472a94(0x152));if(w(_0xaf5fe0)!=_0x472a94(0x11c))return _0xaf5fe0;throw TypeError(_0x472a94(0x9f));}return(_0x57b01c===_0x472a94(0xdc)?String:Number)(_0x102eac);}function le(_0x3b86d0){const _0x9b8872=_0x2cfd2a;var _0x4d7883=ce(_0x3b86d0,_0x9b8872(0xdc));return w(_0x4d7883)=='symbol'?_0x4d7883:_0x4d7883+'';}function T(_0x173fc3,_0x10b43d,_0x570b7d){const _0x409817=_0x2cfd2a;return(_0x10b43d=le(_0x10b43d))in _0x173fc3?Object[_0x409817(0x94)](_0x173fc3,_0x10b43d,{'value':_0x570b7d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x173fc3[_0x10b43d]=_0x570b7d,_0x173fc3;}var E=class extends e[_0x2cfd2a(0xe8)]{constructor(..._0xde5d52){const _0x152190=_0x2cfd2a;super(..._0xde5d52),T(this,_0x152190(0x116),new Map()),T(this,_0x152190(0xb0),new n['Subject']()),T(this,_0x152190(0xe2),this[_0x152190(0xb0)][_0x152190(0x97)]());}[_0x2cfd2a(0x106)](_0x309369,_0x217e62){const _0xfd845f=_0x2cfd2a;var _0x37ca72;return[...((_0x37ca72=this['_outlines'][_0xfd845f(0x138)](_0x309369))==null?void 0x0:_0x37ca72['get'](_0x217e62))??[]];}[_0x2cfd2a(0x16c)](_0x17afcf){const _0x90d088=_0x2cfd2a;let _0x2da83e=this[_0x90d088(0x116)][_0x90d088(0x138)](_0x17afcf),_0xecb0d5=new Map();return _0x2da83e==null||_0x2da83e[_0x90d088(0xe0)]((_0x52386d,_0x1b16a0)=>{const _0xf96a5d=_0x90d088;_0xecb0d5[_0xf96a5d(0x143)](_0x1b16a0,[..._0x52386d]);}),_0xecb0d5;}['setOutlines'](_0x4fda62,_0x4fb81c,_0x264ab5){const _0x298626=_0x2cfd2a;this[_0x298626(0xac)](_0x4fda62)['set'](_0x4fb81c,[..._0x264ab5]),this[_0x298626(0xb0)]['next']({'unitId':_0x4fda62,'subUnitId':_0x4fb81c});}[_0x2cfd2a(0xe1)](_0xb805ef){const _0x294e5c=_0x2cfd2a;this[_0x294e5c(0x116)][_0x294e5c(0xaf)](_0xb805ef),this['_change$']['next']({'unitId':_0xb805ef});}[_0x2cfd2a(0x157)](_0x21245a){const _0x5426ab=_0x2cfd2a;let _0x1e06a1=this[_0x5426ab(0x116)][_0x5426ab(0x138)](_0x21245a),_0x3e06d6={};return _0x1e06a1==null||_0x1e06a1['forEach']((_0xc731b,_0x192a54)=>{_0x3e06d6[_0x192a54]={'outlineList':[..._0xc731b]};}),_0x3e06d6;}[_0x2cfd2a(0x125)](_0x386788,_0x46e575){const _0x2dc987=_0x2cfd2a;let _0xb90953=new Map();Object[_0x2dc987(0x114)](_0x46e575)[_0x2dc987(0xe0)](([_0x2fdc09,_0x41570c])=>{const _0x4d9f86=_0x2dc987;_0xb90953['set'](_0x2fdc09,[..._0x41570c[_0x4d9f86(0xe3)]??[]]);}),this[_0x2dc987(0x116)][_0x2dc987(0x143)](_0x386788,_0xb90953),this[_0x2dc987(0xb0)][_0x2dc987(0x105)]({'unitId':_0x386788});}['dispose'](){const _0x5318aa=_0x2cfd2a;super['dispose'](),this[_0x5318aa(0x116)][_0x5318aa(0xa8)](),this[_0x5318aa(0xb0)][_0x5318aa(0x165)]();}[_0x2cfd2a(0xac)](_0x55cd1e){const _0x2f05d1=_0x2cfd2a;let _0x2f9be4=this[_0x2f05d1(0x116)][_0x2f05d1(0x138)](_0x55cd1e);return _0x2f9be4||(_0x2f9be4=new Map(),this['_outlines'][_0x2f05d1(0x143)](_0x55cd1e,_0x2f9be4)),_0x2f9be4;}},D=class extends e['Disposable']{constructor(..._0x417cac){const _0x2ac54f=_0x2cfd2a;super(..._0x417cac),T(this,_0x2ac54f(0x144),new n[(_0x2ac54f(0x14e))]()),T(this,_0x2ac54f(0xdf),this[_0x2ac54f(0x144)]['asObservable']());}[_0x2cfd2a(0xfb)](_0x4fdf8d){const _0x4cb129=_0x2cfd2a;this['_error$'][_0x4cb129(0x105)](_0x4fdf8d);}[_0x2cfd2a(0xb4)](){const _0x2e9cbb=_0x2cfd2a;super[_0x2e9cbb(0xb4)](),this[_0x2e9cbb(0x144)][_0x2e9cbb(0x165)]();}};const O={'id':_0x2cfd2a(0xc5),'type':e[_0x2cfd2a(0x101)][_0x2cfd2a(0xca)],'handler':(_0x50f271,_0x49be45)=>{const _0x24d6f7=_0x2cfd2a;let _0x48493b=_0x50f271[_0x24d6f7(0x138)](E),_0x3a7b27=_0x48493b['getOutlines'](_0x49be45[_0x24d6f7(0x95)],_0x49be45[_0x24d6f7(0xdb)]);return _0x48493b['setOutlines'](_0x49be45[_0x24d6f7(0x95)],_0x49be45['subUnitId'],m(_0x3a7b27,_0x49be45[_0x24d6f7(0x168)])),!0x0;}},k={'id':_0x2cfd2a(0x12d),'type':e[_0x2cfd2a(0x101)]['MUTATION'],'handler':(_0x203257,_0x51f5fe)=>{const _0x23d120=_0x2cfd2a;let _0x31e326=_0x203257[_0x23d120(0x138)](E),_0x12dc85=_0x31e326[_0x23d120(0x106)](_0x51f5fe[_0x23d120(0x95)],_0x51f5fe[_0x23d120(0xdb)]);return _0x31e326[_0x23d120(0x11b)](_0x51f5fe[_0x23d120(0x95)],_0x51f5fe[_0x23d120(0xdb)],_0x12dc85[_0x23d120(0xfc)](_0x1bf57d=>_0x1bf57d['id']!==_0x51f5fe[_0x23d120(0x169)])),!0x0;}};function A(_0x220537,_0x5e5a8c,_0x36beb6){const _0x2a1f32=_0x2cfd2a;let _0xef341e=de(_0x220537);return!_0xef341e||_0xef341e[_0x2a1f32(0x134)]({'workbookTypes':[t[_0x2a1f32(0x14d)]],'worksheetTypes':[t['WorksheetViewPermission']]},_0x5e5a8c,_0x36beb6);}function ue(_0x1160c9,_0x558a85,_0x473e04){const _0x4bc8ac=_0x2cfd2a;let _0xefb9c8=fe(_0x1160c9);return((_0xefb9c8==null?void 0x0:_0xefb9c8[_0x4bc8ac(0x123)])??(0x0,n['of'])(null))[_0x4bc8ac(0xf3)]((0x0,r[_0x4bc8ac(0xea)])(0x64),(0x0,r[_0x4bc8ac(0xd4)])(null),(0x0,r[_0x4bc8ac(0x14b)])(()=>A(_0x1160c9,_0x558a85,_0x473e04)));}function _0x3577(){const _0x54169e=['invalid-range','_config','UNIVER_SHEET','decorate','CROSSING','restoreOutlines','stringify','getColumnCount','set','_error$','_injector','_univerInstanceService','end','getCurrentUnitOfType','TransformDimensionOutlinesMutation','getSheetCommandTarget','map','mergedOutline','WorkbookViewPermission','Subject','_configService','localeCompare','_sheetsOutlineModel','default','RemoveColCommand','length','Invalid\x20outline\x20range','InsertRowCommand','serialize','IUndoRedoService','maxIndex','params','MoveColsCommand','out-of-bounds','sheet.mutation.set-dimension-outline-collapsed','@univerjs-pro/sheets-outline','ICommandService','merge','split','Injector','insert','onStarting','complete','sheet.mutation.clear-dimension-outlines','UniverLicensePlugin','outline','outlineId','getDimensionOutlineViewPermission$','column','getUnitOutlines','_commandService','14314390DONoSM','_initResource','sheets-outline.config','generateRandomId','defineProperty','unitId','UniverSheetsPlugin','asObservable','maxDepth','endColumn','reason','name','start','MoveRowsCommand','Crossing','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','parse','some','clear-range-not-contain-outline','MOVE_SPLITS_OUTLINE','RemoveRowCommand','join','2446755xrczTj','invalid-dimension-outline','clear','getUnitId','call','includes','_ensureUnitOutlines','depth','push','delete','_change$','COLUMN','add','has','dispose','getSheetId','mergedOutlines','canAddDimensionOutline','axis','redos','INVALID_RANGE','disposeWithMe','11fqbBOp','registerPluginResource','type','Module','getRowCount','Move\x20would\x20split\x20dimension\x20outline:\x20','index','getSheetBySheetId','SetDimensionOutlineCollapsedMutation','sheet.mutation.add-dimension-outline','_sheetsOutlineErrorService','24186avCJgH','sheet.command.add-dimension-outline','Invalid\x20dimension\x20outline\x20move\x20source\x20range','MUTATION','SHEET_OUTLINE_PLUGIN','_sheetInterceptorService','_initCommandInterceptor','RemoveDimensionOutlineCommand','move-splits-outline','result','CustomCommandExecutionError','getOwnPropertyDescriptor','find','startWith','range','count','104PPPKPW','preUndos','1.0.1','IPermissionService','subUnitId','string','6QSFdqw','max-depth','error$','forEach','removeUnit','change$','outlineList','sourceEnd','pushUndoRedo','hasDimensionOutlineViewPermission','split\x20dimension\x20outline','Disposable','crossing','debounceTime','COMMAND','buildDimensionOutlineTree','UniverInstanceType','SetRowHiddenMutation','DependentOn','Inject','41KJfuoB','_initRegisterCommand','pipe','575442ABGXjC','destinationIndex','startRow','4722795BFWxdI','sort','toPrimitive','valid','emit','filter','min','sourceStart','AddDimensionOutlineCommand','startColumn','CommandType','1114492QGNZGO','offset','sheet.command.clear-dimension-outlines','next','getOutlines','SheetInterceptorService','MAX_DEPTH','toStringTag','preRedos','packageName','InsertColCommand','OUT_OF_BOUNDS','children','sequenceExecute','Invalid\x20dimension\x20outline\x20mutation','SetColVisibleMutation','fromRange','IUniverInstanceService','entries','values','_outlines','collapsed','_resourceManagerService','interceptCommand','constructor','setOutlines','object','max','_getCommandScope','unknown','function','sheet.mutation.transform-dimension-outlines','DimensionOutlineError','permissionPointUpdate$','465273TQDCpV','deserialize','AddDimensionOutlineMutation','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','move','message','endRow','prototype','UNKNOWN','sheet.mutation.remove-dimension-outline','row','ClearDimensionOutlinesCommand','getUnit','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','registerCommand','DimensionOutlineAxis','permissionCheckWithoutRange','pop','ClearDimensionOutlinesMutation','toRange','get','sheet.command.remove-dimension-outline','undos'];_0x3577=function(){return _0x54169e;};return _0x3577();}function de(_0xa87eff){const _0x414697=_0x2cfd2a;if(typeof _0xa87eff[_0x414697(0xb3)]==_0x414697(0x120)&&!_0xa87eff['has'](t['SheetPermissionCheckController']))return null;try{return _0xa87eff[_0x414697(0x138)](t['SheetPermissionCheckController']);}catch{return null;}}function fe(_0x5a7bf3){const _0x3d6af5=_0x2cfd2a;if(typeof _0x5a7bf3['has']=='function'&&!_0x5a7bf3['has'](e[_0x3d6af5(0xda)]))return null;try{return _0x5a7bf3[_0x3d6af5(0x138)](e[_0x3d6af5(0xda)]);}catch{return null;}}const j={'id':_0x2cfd2a(0xc8),'type':e['CommandType'][_0x2cfd2a(0xeb)],'handler':(_0x45f3ed,_0x5f302e)=>{const _0x40966f=_0x2cfd2a;if(!_0x5f302e)return!0x1;let _0xe1b495=(0x0,t[_0x40966f(0x14a)])(_0x45f3ed[_0x40966f(0x138)](e['IUniverInstanceService']),_0x5f302e);if(!_0xe1b495)return!0x1;let {unitId:_0x11bc3b,subUnitId:_0x362281,worksheet:_0xb64361}=_0xe1b495;if(!A(_0x45f3ed,_0x11bc3b,_0x362281))return!0x1;let _0x2789b3=_0x45f3ed[_0x40966f(0x138)](E),_0x58bf8d={'id':'dimension-outline-'+(0x0,e[_0x40966f(0x93)])(0x6),'unitId':_0x11bc3b,'subUnitId':_0x362281,'axis':_0x5f302e[_0x40966f(0xb8)],'start':_0x5f302e[_0x40966f(0x9c)],'end':_0x5f302e[_0x40966f(0x147)],'collapsed':!0x1},_0x10f430=_0x5f302e[_0x40966f(0xb8)]===_0x40966f(0x12e)?_0xb64361[_0x40966f(0xc0)]():_0xb64361[_0x40966f(0x142)](),_0x2c7b26=_0x2789b3[_0x40966f(0x106)](_0x11bc3b,_0x362281),_0x290576=ee(_0x2c7b26,_0x58bf8d),_0x50916f=(_0x290576==null?void 0x0:_0x290576[_0x40966f(0xb6)])??[],_0x3c6a69=(_0x290576==null?void 0x0:_0x290576[_0x40966f(0x14c)])??_0x58bf8d,_0x6d09cd=p(_0x290576?_0x2c7b26['filter'](_0x2103ef=>!_0x50916f[_0x40966f(0xa1)](_0x3a49dd=>_0x3a49dd['id']===_0x2103ef['id'])):_0x2c7b26,_0x3c6a69,{'maxIndex':_0x10f430});if(!_0x6d09cd[_0x40966f(0xfa)])return _0x45f3ed[_0x40966f(0x138)](D)[_0x40966f(0xfb)]({'reason':_0x6d09cd[_0x40966f(0x9a)]??'unknown','commandId':j['id'],'unitId':_0x11bc3b,'subUnitId':_0x362281,'axis':_0x5f302e['axis'],'outlineId':_0x3c6a69['id']}),!0x1;let _0xde4e73=[..._0x50916f[_0x40966f(0x14b)](_0x471392=>({'id':k['id'],'params':{'unitId':_0x11bc3b,'subUnitId':_0x362281,'outlineId':_0x471392['id']}})),{'id':O['id'],'params':{'unitId':_0x11bc3b,'subUnitId':_0x362281,'outline':_0x3c6a69}}],_0x18c9c3=[{'id':k['id'],'params':{'unitId':_0x11bc3b,'subUnitId':_0x362281,'outlineId':_0x3c6a69['id']}},..._0x50916f[_0x40966f(0x14b)](_0x363cd3=>({'id':O['id'],'params':{'unitId':_0x11bc3b,'subUnitId':_0x362281,'outline':_0x363cd3}}))];return(0x0,e['sequenceExecute'])(_0xde4e73,_0x45f3ed[_0x40966f(0x138)](e[_0x40966f(0x15f)]))['result']?(_0x45f3ed['get'](e[_0x40966f(0x158)])['pushUndoRedo']({'unitID':_0x11bc3b,'undoMutations':_0x18c9c3,'redoMutations':_0xde4e73}),!0x0):!0x1;}},M={'id':_0x2cfd2a(0x166),'type':e['CommandType'][_0x2cfd2a(0xca)],'handler':(_0x3ce3c1,_0x534c19)=>{const _0x55a424=_0x2cfd2a;let _0x30e29c=_0x3ce3c1['get'](E),_0x2327f3=_0x30e29c['getOutlines'](_0x534c19[_0x55a424(0x95)],_0x534c19[_0x55a424(0xdb)]);return _0x30e29c['setOutlines'](_0x534c19[_0x55a424(0x95)],_0x534c19[_0x55a424(0xdb)],h(_0x2327f3,_0x534c19)),!0x0;}},N={'id':_0x2cfd2a(0x104),'type':e[_0x2cfd2a(0x101)][_0x2cfd2a(0xeb)],'handler':(_0x2c8c0b,_0x4c31a9)=>{const _0x169320=_0x2cfd2a;if(!_0x4c31a9)return!0x1;let _0x342e99=(0x0,t['getSheetCommandTarget'])(_0x2c8c0b[_0x169320(0x138)](e[_0x169320(0x113)]),_0x4c31a9);if(!_0x342e99)return!0x1;let {unitId:_0x51758d,subUnitId:_0x48bd39}=_0x342e99;if(!A(_0x2c8c0b,_0x51758d,_0x48bd39))return!0x1;let _0x37fe5b={'unitId':_0x51758d,'subUnitId':_0x48bd39,'axis':_0x4c31a9['axis'],'start':_0x4c31a9['start'],'end':_0x4c31a9[_0x169320(0x147)]},_0x5e43b9=_0x2c8c0b[_0x169320(0x138)](E)[_0x169320(0x106)](_0x51758d,_0x48bd39)[_0x169320(0xfc)](_0x38f886=>d(_0x38f886,_0x37fe5b)&&_0x38f886[_0x169320(0x9c)]>=_0x4c31a9[_0x169320(0x9c)]&&_0x38f886[_0x169320(0x147)]<=_0x4c31a9[_0x169320(0x147)]);if(_0x5e43b9[_0x169320(0x154)]===0x0)return _0x2c8c0b[_0x169320(0x138)](D)[_0x169320(0xfb)]({'reason':'clear-range-not-contain-outline','commandId':N['id'],'unitId':_0x51758d,'subUnitId':_0x48bd39,'axis':_0x4c31a9[_0x169320(0xb8)]}),!0x1;let _0x29fd06=[{'id':M['id'],'params':{..._0x37fe5b,'removedOutlineIds':_0x5e43b9[_0x169320(0x14b)](_0x56c70a=>_0x56c70a['id'])}}],_0x319a2d=_0x5e43b9[_0x169320(0x14b)](_0x110794=>({'id':O['id'],'params':{'unitId':_0x51758d,'subUnitId':_0x48bd39,'outline':_0x110794}}));return(0x0,e[_0x169320(0x10f)])(_0x29fd06,_0x2c8c0b[_0x169320(0x138)](e[_0x169320(0x15f)]))['result']?(_0x2c8c0b[_0x169320(0x138)](e[_0x169320(0x158)])[_0x169320(0xe5)]({'unitID':_0x51758d,'undoMutations':_0x319a2d,'redoMutations':_0x29fd06}),!0x0):!0x1;}},P={'id':_0x2cfd2a(0x139),'type':e[_0x2cfd2a(0x101)][_0x2cfd2a(0xeb)],'handler':(_0x7c430c,_0x4941df)=>{const _0x192c15=_0x2cfd2a;if(!_0x4941df)return!0x1;let _0x42ba01=(0x0,t['getSheetCommandTarget'])(_0x7c430c[_0x192c15(0x138)](e[_0x192c15(0x113)]),_0x4941df);if(!_0x42ba01)return!0x1;let {unitId:_0x633097,subUnitId:_0x7ec299}=_0x42ba01;if(!A(_0x7c430c,_0x633097,_0x7ec299))return!0x1;let _0x3754e6=_0x7c430c[_0x192c15(0x138)](E)['getOutlines'](_0x633097,_0x7ec299)[_0x192c15(0xd3)](_0x25594e=>_0x25594e['id']===_0x4941df['outlineId']);if(!_0x3754e6)return!0x1;let _0x47dd06=[{'id':k['id'],'params':{'unitId':_0x633097,'subUnitId':_0x7ec299,'outlineId':_0x3754e6['id'],'outline':_0x3754e6}}],_0x326be5=[{'id':O['id'],'params':{'unitId':_0x633097,'subUnitId':_0x7ec299,'outline':_0x3754e6}}];return(0x0,e[_0x192c15(0x10f)])(_0x47dd06,_0x7c430c[_0x192c15(0x138)](e[_0x192c15(0x15f)]))[_0x192c15(0xd0)]?(_0x7c430c[_0x192c15(0x138)](e[_0x192c15(0x158)])[_0x192c15(0xe5)]({'unitID':_0x633097,'undoMutations':_0x326be5,'redoMutations':_0x47dd06}),!0x0):!0x1;}},F={'id':_0x2cfd2a(0x15d),'type':e[_0x2cfd2a(0x101)][_0x2cfd2a(0xca)],'handler':(_0x4f9963,_0x492627)=>{const _0x4d7485=_0x2cfd2a;let _0x421e21=_0x4f9963[_0x4d7485(0x138)](E),_0x4c805b=_0x421e21[_0x4d7485(0x106)](_0x492627['unitId'],_0x492627[_0x4d7485(0xdb)]),_0x5190b7=_0x4c805b[_0x4d7485(0xd3)](_0x4711a6=>_0x4711a6['id']===_0x492627[_0x4d7485(0x169)]);return _0x5190b7&&_0x421e21[_0x4d7485(0x11b)](_0x492627[_0x4d7485(0x95)],_0x492627[_0x4d7485(0xdb)],_0x4c805b[_0x4d7485(0x14b)](_0x5088cc=>_0x5088cc[_0x4d7485(0x95)]!==_0x5190b7[_0x4d7485(0x95)]||_0x5088cc[_0x4d7485(0xdb)]!==_0x5190b7[_0x4d7485(0xdb)]||_0x5088cc['axis']!==_0x5190b7[_0x4d7485(0xb8)]||_0x5088cc[_0x4d7485(0x9c)]!==_0x5190b7[_0x4d7485(0x9c)]||_0x5088cc[_0x4d7485(0x147)]!==_0x5190b7[_0x4d7485(0x147)]?_0x5088cc:{..._0x5088cc,'collapsed':_0x492627[_0x4d7485(0x117)]})),!0x0;}};function I(_0x4732d1,_0x11fcfb,_0x511bc9,_0xeed5e7){const _0x2e5f6f=_0x2cfd2a;return _0x4732d1===_0x2e5f6f(0x12e)?{'startRow':_0x11fcfb,'endRow':_0x511bc9,'startColumn':0x0,'endColumn':_0xeed5e7['getMaxColumns']()-0x1}:{'startRow':0x0,'endRow':_0xeed5e7[_0x2e5f6f(0xc0)]()-0x1,'startColumn':_0x11fcfb,'endColumn':_0x511bc9};}function pe(_0x54d092){const _0x5e4767=_0x2cfd2a;return _0x54d092===_0x5e4767(0x12e)?t[_0x5e4767(0xee)]['id']:t['SetColHiddenMutation']['id'];}function me(_0x3a4fbe){const _0x45e306=_0x2cfd2a;return _0x3a4fbe===_0x45e306(0x12e)?t['SetRowVisibleMutation']['id']:t[_0x45e306(0x111)]['id'];}function L(_0x1deec5,_0xe3b344,_0x19c0d0,_0x28b42f){const _0x4b74b0=_0x2cfd2a;let _0x18c24e=_0xe3b344?[I(_0x1deec5[_0x4b74b0(0xb8)],_0x1deec5[_0x4b74b0(0x9c)],_0x1deec5[_0x4b74b0(0x147)],_0x19c0d0)]:he(_0x1deec5,_0x28b42f,_0x19c0d0),_0x2d0c9d=_0xe3b344?pe(_0x1deec5['axis']):me(_0x1deec5[_0x4b74b0(0xb8)]);return[{'id':F['id'],'params':{'unitId':_0x1deec5[_0x4b74b0(0x95)],'subUnitId':_0x1deec5['subUnitId'],'outlineId':_0x1deec5['id'],'outline':_0x1deec5,'collapsed':_0xe3b344}},..._0x18c24e[_0x4b74b0(0x14b)](_0x48293b=>({'id':_0x2d0c9d,'params':{'unitId':_0x1deec5[_0x4b74b0(0x95)],'subUnitId':_0x1deec5['subUnitId'],'ranges':[_0x48293b],'dimensionOutlineId':_0x1deec5['id']}}))];}function he(_0x31a821,_0x55dcf4,_0x233617){const _0x171297=_0x2cfd2a;let _0x443156=g(_0x55dcf4[_0x171297(0x14b)](_0x2469c3=>R(_0x2469c3,_0x31a821)?{..._0x2469c3,'collapsed':!0x1}:_0x2469c3),_0x31a821['unitId'],_0x31a821[_0x171297(0xdb)],_0x31a821[_0x171297(0xb8)]);return ge({'start':_0x31a821[_0x171297(0x9c)],'end':_0x31a821['end']},_0x443156)[_0x171297(0x14b)](_0xc20923=>I(_0x31a821[_0x171297(0xb8)],_0xc20923['start'],_0xc20923[_0x171297(0x147)],_0x233617));}function R(_0x306edb,_0x1c063d){const _0x56708c=_0x2cfd2a;return _0x306edb[_0x56708c(0x95)]===_0x1c063d[_0x56708c(0x95)]&&_0x306edb[_0x56708c(0xdb)]===_0x1c063d['subUnitId']&&_0x306edb[_0x56708c(0xb8)]===_0x1c063d['axis']&&_0x306edb[_0x56708c(0x9c)]===_0x1c063d[_0x56708c(0x9c)]&&_0x306edb[_0x56708c(0x147)]===_0x1c063d[_0x56708c(0x147)];}function ge(_0x41ea46,_0x259160){const _0x391e95=_0x2cfd2a;let _0x5a7f69=_0x41ea46[_0x391e95(0x9c)],_0x4c518d=[];for(let _0x1355ae of _0x259160)if(!(_0x1355ae[_0x391e95(0x147)]<_0x5a7f69||_0x1355ae[_0x391e95(0x9c)]>_0x41ea46[_0x391e95(0x147)])&&(_0x1355ae['start']>_0x5a7f69&&_0x4c518d['push']({'start':_0x5a7f69,'end':Math['min'](_0x1355ae[_0x391e95(0x9c)]-0x1,_0x41ea46[_0x391e95(0x147)])}),_0x5a7f69=Math[_0x391e95(0x11d)](_0x5a7f69,_0x1355ae[_0x391e95(0x147)]+0x1),_0x5a7f69>_0x41ea46[_0x391e95(0x147)]))break;return _0x5a7f69<=_0x41ea46[_0x391e95(0x147)]&&_0x4c518d[_0x391e95(0xae)]({'start':_0x5a7f69,'end':_0x41ea46[_0x391e95(0x147)]}),_0x4c518d;}const z={'id':'sheet.command.set-dimension-outline-collapsed','type':e[_0x2cfd2a(0x101)]['COMMAND'],'handler':(_0x3e0509,_0x1759c3)=>{const _0x30cc0a=_0x2cfd2a;if(!_0x1759c3)return!0x1;let _0x539801=(0x0,t['getSheetCommandTarget'])(_0x3e0509[_0x30cc0a(0x138)](e[_0x30cc0a(0x113)]),_0x1759c3);if(!_0x539801)return!0x1;let {unitId:_0x258434,subUnitId:_0x21f448,worksheet:_0x325036}=_0x539801;if(!A(_0x3e0509,_0x258434,_0x21f448))return!0x1;let _0xd1bca1=_0x3e0509[_0x30cc0a(0x138)](E)[_0x30cc0a(0x106)](_0x258434,_0x21f448),_0x208cb6=_0xd1bca1[_0x30cc0a(0xd3)](_0x18b790=>_0x18b790['id']===_0x1759c3[_0x30cc0a(0x169)]);if(!_0x208cb6||_0x208cb6[_0x30cc0a(0x117)]===_0x1759c3['collapsed'])return!0x1;let _0x44b7b7=L(_0x208cb6,_0x1759c3['collapsed'],_0x325036,_0xd1bca1),_0x126c10=L(_0x208cb6,!_0x1759c3[_0x30cc0a(0x117)],_0x325036,_0xd1bca1);return(0x0,e[_0x30cc0a(0x10f)])(_0x44b7b7,_0x3e0509[_0x30cc0a(0x138)](e[_0x30cc0a(0x15f)]))[_0x30cc0a(0xd0)]?(_0x3e0509['get'](e[_0x30cc0a(0x158)])[_0x30cc0a(0xe5)]({'unitID':_0x258434,'undoMutations':_0x126c10,'redoMutations':_0x44b7b7}),!0x0):!0x1;}},B={'id':_0x2cfd2a(0x121),'type':e[_0x2cfd2a(0x101)][_0x2cfd2a(0xca)],'handler':(_0x414faf,_0x4358ce)=>{const _0x4bf9b6=_0x2cfd2a;let _0xfaa601=_0x414faf[_0x4bf9b6(0x138)](E),_0x57e10e=_e(_0xfaa601[_0x4bf9b6(0x106)](_0x4358ce['unitId'],_0x4358ce[_0x4bf9b6(0xdb)]),_0x4358ce);return _0xfaa601['setOutlines'](_0x4358ce[_0x4bf9b6(0x95)],_0x4358ce['subUnitId'],_0x57e10e),!0x0;}};function _e(_0x56f363,_0x4fc9f4){const _0x1b27f1=_0x2cfd2a;switch(_0x4fc9f4[_0x1b27f1(0xbe)]){case'insert':return _0x4fc9f4['restoreOutlines']?ve(_0x56f363,_0x4fc9f4):v(_0x56f363,_0x4fc9f4);case'delete':return y(_0x56f363,_0x4fc9f4);case _0x1b27f1(0x128):return b(_0x56f363,_0x4fc9f4);}}function ve(_0x9e29c7,_0x1484f6){const _0x1b66a9=_0x2cfd2a;return[..._0x9e29c7['filter'](_0x45f58c=>_0x45f58c['unitId']!==_0x1484f6['unitId']||_0x45f58c[_0x1b66a9(0xdb)]!==_0x1484f6[_0x1b66a9(0xdb)]||_0x45f58c[_0x1b66a9(0xb8)]!==_0x1484f6['axis']),..._0x1484f6[_0x1b66a9(0x140)]];}const V=_0x2cfd2a(0xcb);var ye=_0x2cfd2a(0x15e),be=_0x2cfd2a(0xd9);const H={};function U(_0xc64274,_0x4ce555){return function(_0x49fe71,_0x7b0525){_0x4ce555(_0x49fe71,_0x7b0525,_0xc64274);};}function W(_0x1a709e,_0x2751c7,_0x21c3d4,_0x5e935a){const _0x3ebf5f=_0x2cfd2a;var _0x4b965a=arguments[_0x3ebf5f(0x154)],_0xd4d236=_0x4b965a<0x3?_0x2751c7:_0x5e935a===null?_0x5e935a=Object[_0x3ebf5f(0xd2)](_0x2751c7,_0x21c3d4):_0x5e935a,_0x5e9a7b;if(typeof Reflect==_0x3ebf5f(0x11c)&&typeof Reflect[_0x3ebf5f(0x13e)]==_0x3ebf5f(0x120))_0xd4d236=Reflect[_0x3ebf5f(0x13e)](_0x1a709e,_0x2751c7,_0x21c3d4,_0x5e935a);else{for(var _0x3a6f0f=_0x1a709e[_0x3ebf5f(0x154)]-0x1;_0x3a6f0f>=0x0;_0x3a6f0f--)(_0x5e9a7b=_0x1a709e[_0x3a6f0f])&&(_0xd4d236=(_0x4b965a<0x3?_0x5e9a7b(_0xd4d236):_0x4b965a>0x3?_0x5e9a7b(_0x2751c7,_0x21c3d4,_0xd4d236):_0x5e9a7b(_0x2751c7,_0x21c3d4))||_0xd4d236);}return _0x4b965a>0x3&&_0xd4d236&&Object[_0x3ebf5f(0x94)](_0x2751c7,_0x21c3d4,_0xd4d236),_0xd4d236;}const G={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let K=class extends e[_0x2cfd2a(0xe8)]{constructor(_0x5ef781,_0x7c2e8b,_0x2fa664,_0x306315){const _0x415421=_0x2cfd2a;super(),this[_0x415421(0x146)]=_0x5ef781,this[_0x415421(0xcc)]=_0x7c2e8b,this['_sheetsOutlineModel']=_0x2fa664,this[_0x415421(0xc6)]=_0x306315,this[_0x415421(0xcd)]();}[_0x2cfd2a(0xcd)](){const _0x38713d=_0x2cfd2a;this[_0x38713d(0xbb)](this[_0x38713d(0xcc)][_0x38713d(0x119)]({'getMutations':_0x1b1971=>xe(_0x1b1971,(_0x27f60a,_0x2ec534)=>this[_0x38713d(0x151)]['getOutlines'](_0x27f60a,_0x2ec534),this['_getCommandScope'](_0x1b1971[_0x38713d(0x15a)]),_0x104c62=>this[_0x38713d(0xc6)][_0x38713d(0xfb)](_0x104c62))}));}[_0x2cfd2a(0x11e)](_0x1e12a9){const _0x4c4939=_0x2cfd2a;let _0x639df3=_0x1e12a9,_0x15486a=_0x639df3!=null&&_0x639df3[_0x4c4939(0x95)]?this['_univerInstanceService'][_0x4c4939(0x130)](_0x639df3[_0x4c4939(0x95)],e[_0x4c4939(0xed)][_0x4c4939(0x13d)]):this[_0x4c4939(0x146)][_0x4c4939(0x148)](e[_0x4c4939(0xed)]['UNIVER_SHEET']);if(!_0x15486a)return;let _0x489fef=_0x639df3!=null&&_0x639df3[_0x4c4939(0xdb)]?_0x15486a[_0x4c4939(0xc3)](_0x639df3['subUnitId']):_0x15486a['getActiveSheet']();if(_0x489fef)return{'unitId':_0x15486a[_0x4c4939(0xa9)](),'subUnitId':_0x489fef[_0x4c4939(0xb5)]()};}};K=W([U(0x0,e[_0x2cfd2a(0x113)]),U(0x1,(0x0,e[_0x2cfd2a(0xf0)])(t[_0x2cfd2a(0x107)])),U(0x2,(0x0,e['Inject'])(E)),U(0x3,(0x0,e[_0x2cfd2a(0xf0)])(D))],K);function xe(_0x225de5,_0x2b9932,_0x90504b,_0x2d1cb6){const _0x7af10a=_0x2cfd2a;let _0x55fc66=Ce(_0x225de5,_0x90504b);if(!_0x55fc66)return Z();let _0x47c175=_0x2b9932(_0x55fc66['unitId'],_0x55fc66[_0x7af10a(0xdb)]);if(!_0x47c175[_0x7af10a(0xa1)](_0x24793f=>_0x24793f['axis']===_0x55fc66[_0x7af10a(0xb8)]))return Z();Se(_0x47c175,_0x55fc66,_0x225de5['id'],_0x2d1cb6);let _0x5ea711=we(_0x55fc66,_0x47c175);return{'redos':[{'id':B['id'],'params':_0x55fc66}],'undos':[{'id':B['id'],'params':_0x5ea711}],'preRedos':[],'preUndos':[]};}function Se(_0x46025a,_0x3271e6,_0x5a5711,_0x204833){const _0x47dc9a=_0x2cfd2a;try{switch(_0x3271e6[_0x47dc9a(0xbe)]){case'insert':v(_0x46025a,_0x3271e6);break;case _0x47dc9a(0xaf):y(_0x46025a,_0x3271e6);break;case _0x47dc9a(0x128):b(_0x46025a,_0x3271e6);}}catch(_0xd58b2c){throw _0x204833==null||_0x204833({'reason':c(_0xd58b2c),'commandId':_0x5a5711,'unitId':_0x3271e6[_0x47dc9a(0x95)],'subUnitId':_0x3271e6[_0x47dc9a(0xdb)],'axis':_0x3271e6[_0x47dc9a(0xb8)],'outlineId':l(_0xd58b2c)}),new e[(_0x47dc9a(0xd1))](_0xd58b2c instanceof Error?_0xd58b2c[_0x47dc9a(0x129)]:_0x47dc9a(0x110));}}function Ce(_0x25f9e3,_0x449185){const _0xd03e06=_0x2cfd2a;switch(_0x25f9e3['id']){case t[_0xd03e06(0x156)]['id']:return q(_0x25f9e3['params'],'row',_0x449185);case t[_0xd03e06(0x10c)]['id']:return q(_0x25f9e3['params'],_0xd03e06(0x16b),_0x449185);case t[_0xd03e06(0xa4)]['id']:return J(_0x25f9e3['params'],_0xd03e06(0x12e),_0x449185);case t[_0xd03e06(0x153)]['id']:return J(_0x25f9e3['params'],_0xd03e06(0x16b),_0x449185);case t[_0xd03e06(0x9d)]['id']:return Y(_0x25f9e3[_0xd03e06(0x15a)],_0xd03e06(0x12e),_0x449185);case t[_0xd03e06(0x15b)]['id']:return Y(_0x25f9e3[_0xd03e06(0x15a)],_0xd03e06(0x16b),_0x449185);default:return null;}}function q(_0x1a9690,_0x428f48,_0x2b30f8){const _0x411407=_0x2cfd2a;let _0xb813e4=X(_0x1a9690,_0x2b30f8);if(!(_0x1a9690!=null&&_0x1a9690[_0x411407(0xd5)])||!_0xb813e4)return null;let _0x321999=_0x428f48==='row'?_0x1a9690[_0x411407(0xd5)][_0x411407(0xf6)]:_0x1a9690[_0x411407(0xd5)][_0x411407(0x100)],_0x3ec034=_0x428f48==='row'?_0x1a9690[_0x411407(0xd5)][_0x411407(0x12a)]:_0x1a9690[_0x411407(0xd5)]['endColumn'];return{..._0xb813e4,'axis':_0x428f48,'type':_0x411407(0x163),'index':_0x321999,'count':_0x3ec034-_0x321999+0x1};}function J(_0x1328a1,_0x5c4b96,_0x210876){const _0x58f34d=_0x2cfd2a;let _0x1d75d5=X(_0x1328a1,_0x210876);if(!(_0x1328a1!=null&&_0x1328a1[_0x58f34d(0xd5)])||!_0x1d75d5)return null;let _0x64b7b1=_0x5c4b96===_0x58f34d(0x12e)?_0x1328a1['range'][_0x58f34d(0xf6)]:_0x1328a1[_0x58f34d(0xd5)][_0x58f34d(0x100)],_0x4d7b69=_0x5c4b96==='row'?_0x1328a1[_0x58f34d(0xd5)][_0x58f34d(0x12a)]:_0x1328a1[_0x58f34d(0xd5)][_0x58f34d(0x99)];return{..._0x1d75d5,'axis':_0x5c4b96,'type':_0x58f34d(0xaf),'start':_0x64b7b1,'end':_0x4d7b69};}function Y(_0x2aca86,_0x357fb4,_0xe30667){const _0x1a2ae4=_0x2cfd2a;let _0x5eb9b3=X(_0x2aca86,_0xe30667);if(!(_0x2aca86!=null&&_0x2aca86[_0x1a2ae4(0x112)])||!_0x2aca86[_0x1a2ae4(0x137)]||!_0x5eb9b3)return null;let _0x29bcfd=_0x357fb4==='row'?_0x2aca86['fromRange'][_0x1a2ae4(0xf6)]:_0x2aca86[_0x1a2ae4(0x112)][_0x1a2ae4(0x100)],_0x4d7127=_0x357fb4===_0x1a2ae4(0x12e)?_0x2aca86[_0x1a2ae4(0x112)][_0x1a2ae4(0x12a)]:_0x2aca86[_0x1a2ae4(0x112)][_0x1a2ae4(0x99)],_0x1aef6f=_0x357fb4===_0x1a2ae4(0x12e)?_0x2aca86[_0x1a2ae4(0x137)][_0x1a2ae4(0xf6)]:_0x2aca86[_0x1a2ae4(0x137)][_0x1a2ae4(0x100)];return{..._0x5eb9b3,'axis':_0x357fb4,'type':_0x1a2ae4(0x128),'sourceStart':_0x29bcfd,'sourceEnd':_0x4d7127,'destinationIndex':_0x1aef6f};}function we(_0x47d97d,_0x4b2918){const _0x4d1e6e=_0x2cfd2a;switch(_0x47d97d[_0x4d1e6e(0xbe)]){case _0x4d1e6e(0x163):return{'unitId':_0x47d97d['unitId'],'subUnitId':_0x47d97d[_0x4d1e6e(0xdb)],'axis':_0x47d97d[_0x4d1e6e(0xb8)],'type':_0x4d1e6e(0xaf),'start':_0x47d97d[_0x4d1e6e(0xc2)],'end':_0x47d97d['index']+_0x47d97d[_0x4d1e6e(0xd6)]-0x1};case _0x4d1e6e(0xaf):return{'unitId':_0x47d97d[_0x4d1e6e(0x95)],'subUnitId':_0x47d97d[_0x4d1e6e(0xdb)],'axis':_0x47d97d[_0x4d1e6e(0xb8)],'type':'insert','index':_0x47d97d[_0x4d1e6e(0x9c)],'count':_0x47d97d[_0x4d1e6e(0x147)]-_0x47d97d[_0x4d1e6e(0x9c)]+0x1,'restoreOutlines':_0x4b2918['filter'](_0x18fdd8=>_0x18fdd8[_0x4d1e6e(0x95)]===_0x47d97d[_0x4d1e6e(0x95)]&&_0x18fdd8['subUnitId']===_0x47d97d[_0x4d1e6e(0xdb)]&&_0x18fdd8[_0x4d1e6e(0xb8)]===_0x47d97d['axis'])};case _0x4d1e6e(0x128):return Te(_0x47d97d);}}function Te(_0x1f7175){const _0x1fb25c=_0x2cfd2a;let _0x3f284d=_0x1f7175[_0x1fb25c(0xe4)]-_0x1f7175[_0x1fb25c(0xfe)]+0x1;return _0x1f7175['destinationIndex']>=_0x1f7175['sourceStart']&&_0x1f7175['destinationIndex']<=_0x1f7175[_0x1fb25c(0xe4)]+0x1?{..._0x1f7175}:_0x1f7175[_0x1fb25c(0xf5)]>_0x1f7175[_0x1fb25c(0xe4)]+0x1?{..._0x1f7175,'sourceStart':_0x1f7175['destinationIndex']-_0x3f284d,'sourceEnd':_0x1f7175['destinationIndex']-0x1,'destinationIndex':_0x1f7175[_0x1fb25c(0xfe)]}:{..._0x1f7175,'sourceStart':_0x1f7175[_0x1fb25c(0xf5)],'sourceEnd':_0x1f7175[_0x1fb25c(0xf5)]+_0x3f284d-0x1,'destinationIndex':_0x1f7175['sourceEnd']+0x1};}function X(_0x28db15,_0x533a77){const _0x379f66=_0x2cfd2a;let _0x33765f=(_0x28db15==null?void 0x0:_0x28db15[_0x379f66(0x95)])??(_0x533a77==null?void 0x0:_0x533a77[_0x379f66(0x95)]),_0x52040a=(_0x28db15==null?void 0x0:_0x28db15[_0x379f66(0xdb)])??(_0x533a77==null?void 0x0:_0x533a77['subUnitId']);return _0x33765f&&_0x52040a?{'unitId':_0x33765f,'subUnitId':_0x52040a}:null;}function Z(){const _0x2e4981=_0x2cfd2a;return{'redos':[...G[_0x2e4981(0xb9)]],'undos':[...G[_0x2e4981(0x13a)]],'preRedos':[...G[_0x2e4981(0x10a)]??[]],'preUndos':[...G[_0x2e4981(0xd8)]??[]]};}let Q=class extends e[_0x2cfd2a(0xe8)]{constructor(_0x42ab3e,_0x3a2b82){const _0x5d4f35=_0x2cfd2a;super(),this[_0x5d4f35(0x118)]=_0x42ab3e,this[_0x5d4f35(0x151)]=_0x3a2b82,this[_0x5d4f35(0x16f)]();}[_0x2cfd2a(0x16f)](){const _0x434111=_0x2cfd2a;this[_0x434111(0xbb)](this[_0x434111(0x118)][_0x434111(0xbd)]({'pluginName':V,'businesses':[e[_0x434111(0xed)][_0x434111(0x13d)]],'toJson':_0x534e40=>JSON[_0x434111(0x141)](this['_sheetsOutlineModel'][_0x434111(0x157)](_0x534e40)),'parseJson':_0xe360d5=>JSON[_0x434111(0xa0)](_0xe360d5),'onLoad':(_0x4efac1,_0x3b69aa)=>this[_0x434111(0x151)][_0x434111(0x125)](_0x4efac1,_0x3b69aa),'onUnLoad':_0x542b62=>this[_0x434111(0x151)][_0x434111(0xe1)](_0x542b62)}));}};Q=W([U(0x0,e['IResourceManagerService']),U(0x1,(0x0,e[_0x2cfd2a(0xf0)])(E))],Q);let $=class extends e['Plugin']{constructor(_0x46d37d=H,_0x49d613,_0x505af1,_0x38f668){const _0x2fc6aa=_0x2cfd2a;super(),this[_0x2fc6aa(0x13c)]=_0x46d37d,this['_injector']=_0x49d613,this[_0x2fc6aa(0x16d)]=_0x505af1,this[_0x2fc6aa(0x14f)]=_0x38f668;let {..._0x6e014e}=(0x0,e[_0x2fc6aa(0x160)])({},H,this[_0x2fc6aa(0x13c)]);this[_0x2fc6aa(0x14f)]['setConfig'](_0x2fc6aa(0x92),_0x6e014e);}[_0x2cfd2a(0x164)](){const _0x12c0ac=_0x2cfd2a;this[_0x12c0ac(0x145)][_0x12c0ac(0xb2)]([E]),this[_0x12c0ac(0x145)][_0x12c0ac(0xb2)]([D]),this[_0x12c0ac(0x145)][_0x12c0ac(0xb2)]([Q]),this[_0x12c0ac(0x145)][_0x12c0ac(0xb2)]([K]),this[_0x12c0ac(0xf2)](),this['_injector']['get'](E),this[_0x12c0ac(0x145)]['get'](D),this['_injector'][_0x12c0ac(0x138)](Q),this['_injector'][_0x12c0ac(0x138)](K);}[_0x2cfd2a(0xf2)](){const _0x36a9f1=_0x2cfd2a;[j,P,z,N]['forEach'](_0x552acc=>{const _0x4c383b=_0x5ac2;this['disposeWithMe'](this[_0x4c383b(0x16d)]['registerCommand'](_0x552acc));}),[O,k,F,M,B][_0x36a9f1(0xe0)](_0x58442c=>{const _0x564ba7=_0x36a9f1;this[_0x564ba7(0xbb)](this[_0x564ba7(0x16d)][_0x564ba7(0x132)](_0x58442c));});}};T($,'pluginName',V),T($,_0x2cfd2a(0x10b),ye),T($,'version',be),T($,_0x2cfd2a(0xbe),e[_0x2cfd2a(0xed)]['UNIVER_SHEET']),$=W([(0x0,e[_0x2cfd2a(0xef)])(i[_0x2cfd2a(0x167)],t[_0x2cfd2a(0x96)]),U(0x1,(0x0,e[_0x2cfd2a(0xf0)])(e[_0x2cfd2a(0x162)])),U(0x2,e[_0x2cfd2a(0x15f)]),U(0x3,e['IConfigService'])],$),exports[_0x2cfd2a(0xff)]=j,exports[_0x2cfd2a(0x126)]=O,exports[_0x2cfd2a(0x12f)]=N,exports[_0x2cfd2a(0x136)]=M,exports[_0x2cfd2a(0x133)]=a,exports['DimensionOutlineErrorReason']=o,exports[_0x2cfd2a(0xce)]=P,exports['RemoveDimensionOutlineMutation']=k,exports[_0x2cfd2a(0xcb)]=V,exports['SetDimensionOutlineCollapsedCommand']=z,exports[_0x2cfd2a(0xc4)]=F,exports['SheetsOutlineErrorService']=D,exports['SheetsOutlineModel']=E,exports[_0x2cfd2a(0x149)]=B,Object[_0x2cfd2a(0x94)](exports,'UniverSheetsOutlinePlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x2cfd2a(0xec)]=f,exports[_0x2cfd2a(0xb7)]=p,exports[_0x2cfd2a(0x16a)]=ue,exports[_0x2cfd2a(0xe6)]=A,exports['transformOutlinesByDelete']=y,exports['transformOutlinesByInsert']=v,exports['transformOutlinesByMove']=b;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x1c2e89=_0x1f48;(function(_0x596a03,_0x58d8ac){var _0x55e0b7=_0x1f48,_0x12647f=_0x596a03();while(!![]){try{var _0x59087d=parseInt(_0x55e0b7(0xa2))/0x1+-parseInt(_0x55e0b7(0xad))/0x2*(-parseInt(_0x55e0b7(0x9e))/0x3)+parseInt(_0x55e0b7(0x9f))/0x4*(-parseInt(_0x55e0b7(0xb5))/0x5)+parseInt(_0x55e0b7(0xa1))/0x6*(-parseInt(_0x55e0b7(0xa3))/0x7)+-parseInt(_0x55e0b7(0xab))/0x8+parseInt(_0x55e0b7(0xb0))/0x9+parseInt(_0x55e0b7(0x9a))/0xa*(parseInt(_0x55e0b7(0xb7))/0xb);if(_0x59087d===_0x58d8ac)break;else _0x12647f['push'](_0x12647f['shift']());}catch(_0xf0d8ec){_0x12647f['push'](_0x12647f['shift']());}}}(_0x3aa2,0x2879a));function _0x1f48(_0x59cd75,_0x1250ff){_0x59cd75=_0x59cd75-0x99;var _0x3aa2e3=_0x3aa2();var _0x1f4885=_0x3aa2e3[_0x59cd75];return _0x1f4885;}import{AddDimensionOutlineCommand as _0x2f398a,ClearDimensionOutlinesCommand as _0x4ccc86,DimensionOutlineAxis as _0x460f36,DimensionOutlineErrorReason as _0x1a8f3d,RemoveDimensionOutlineCommand as _0x285bb7,SetDimensionOutlineCollapsedCommand as _0x21e600,SheetsOutlineModel as _0x4e3c95}from'@univerjs-pro/sheets-outline';import{FEnum as _0x51d19e}from'@univerjs/core/facade';import{FWorksheet as _0x205fe0}from'@univerjs/sheets/facade';var l=class extends _0x51d19e{get[_0x1c2e89(0xa5)](){return _0x460f36;}get[_0x1c2e89(0x99)](){return _0x1a8f3d;}};_0x51d19e[_0x1c2e89(0xa6)](l);var u=class extends _0x205fe0{[_0x1c2e89(0xb6)](_0x36a4d4,_0x4072fa){var _0x3a0537=_0x1c2e89;return this[_0x3a0537(0xaf)](_0x460f36[_0x3a0537(0xaa)],_0x36a4d4,_0x4072fa);}['addColumnOutline'](_0x4f8627,_0xfcfb56){var _0x2b4dc4=_0x1c2e89;return this[_0x2b4dc4(0xaf)](_0x460f36[_0x2b4dc4(0x9d)],_0x4f8627,_0xfcfb56);}[_0x1c2e89(0xb1)](_0xc25611){var _0x1815ff=_0x1c2e89;return this['_commandService'][_0x1815ff(0xac)](_0x285bb7['id'],{'unitId':this[_0x1815ff(0xa9)][_0x1815ff(0xb2)](),'subUnitId':this[_0x1815ff(0x9c)][_0x1815ff(0xb4)](),'outlineId':_0xc25611}),this;}[_0x1c2e89(0xa7)](_0x373e90,_0x504e13){var _0x209848=_0x1c2e89;return this[_0x209848(0xa4)][_0x209848(0xac)](_0x21e600['id'],{'unitId':this[_0x209848(0xa9)][_0x209848(0xb2)](),'subUnitId':this[_0x209848(0x9c)][_0x209848(0xb4)](),'outlineId':_0x373e90,'collapsed':_0x504e13}),this;}[_0x1c2e89(0xb8)](_0x4a41b5,_0x46bd23,_0x35d2cd){var _0x3544f5=_0x1c2e89;return this[_0x3544f5(0xa4)][_0x3544f5(0xac)](_0x4ccc86['id'],{'unitId':this[_0x3544f5(0xa9)][_0x3544f5(0xb2)](),'subUnitId':this[_0x3544f5(0x9c)][_0x3544f5(0xb4)](),'axis':_0x4a41b5,'start':_0x46bd23,'end':_0x35d2cd}),this;}[_0x1c2e89(0xa8)](_0x309dd5){var _0x11589e=_0x1c2e89;let _0x12c835=this[_0x11589e(0xae)][_0x11589e(0xa0)](_0x4e3c95)[_0x11589e(0xb3)](this[_0x11589e(0xa9)][_0x11589e(0xb2)](),this['_worksheet'][_0x11589e(0xb4)]());return _0x309dd5?_0x12c835[_0x11589e(0x9b)](_0x30d3c1=>_0x30d3c1['axis']===_0x309dd5):_0x12c835;}[_0x1c2e89(0xaf)](_0x43d068,_0x12d100,_0x23a193){var _0x4fc99f=_0x1c2e89;return this['_commandService']['syncExecuteCommand'](_0x2f398a['id'],{'unitId':this[_0x4fc99f(0xa9)][_0x4fc99f(0xb2)](),'subUnitId':this['_worksheet']['getSheetId'](),'axis':_0x43d068,'start':_0x12d100,'end':_0x12d100+_0x23a193-0x1}),this;}};_0x205fe0[_0x1c2e89(0xa6)](u);export{};function _0x3aa2(){var _0x33a40b=['DimensionOutlineAxis','extend','setDimensionOutlineCollapsed','getDimensionOutlines','_workbook','ROW','353936bsZXLG','syncExecuteCommand','74756mcnVAR','_injector','_addDimensionOutline','1392543LChdZZ','removeDimensionOutline','getUnitId','getOutlines','getSheetId','225885sQwMtB','addRowOutline','1446511nZMrBe','clearDimensionOutlines','DimensionOutlineErrorReason','10zJRtvd','filter','_worksheet','COLUMN','6dPmLQe','4cTKiZP','get','45516oTiQCt','220419zxIWNa','301EnuRLa','_commandService'];_0x3aa2=function(){return _0x33a40b;};return _0x3aa2();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ce52f=_0x2f6c;(function(_0x39cc53,_0x275b02){const _0x50d63f=_0x2f6c,_0x16f0c8=_0x39cc53();while(!![]){try{const _0x2645fa=-parseInt(_0x50d63f(0x1c2))/0x1*(parseInt(_0x50d63f(0x156))/0x2)+parseInt(_0x50d63f(0x163))/0x3*(-parseInt(_0x50d63f(0x176))/0x4)+-parseInt(_0x50d63f(0x183))/0x5+parseInt(_0x50d63f(0x16c))/0x6+parseInt(_0x50d63f(0x19e))/0x7*(parseInt(_0x50d63f(0x17e))/0x8)+-parseInt(_0x50d63f(0x1a1))/0x9*(parseInt(_0x50d63f(0x1d4))/0xa)+parseInt(_0x50d63f(0x1ae))/0xb*(parseInt(_0x50d63f(0x1b1))/0xc);if(_0x2645fa===_0x275b02)break;else _0x16f0c8['push'](_0x16f0c8['shift']());}catch(_0x48b81f){_0x16f0c8['push'](_0x16f0c8['shift']());}}}(_0x1852,0xd90b5));import{CommandType as _0x370b23,CustomCommandExecutionError as _0x342912,DependentOn as _0x35d92d,Disposable as _0x28774d,ICommandService as _0x5b34db,IConfigService as _0x3ab1ed,IPermissionService as _0x4da996,IResourceManagerService as _0x57db0b,IUndoRedoService as _0x236935,IUniverInstanceService as _0x501b88,Inject as _0xbe0a21,Injector as _0x1ea18e,Plugin as _0xd243c4,UniverInstanceType as _0x1395c1,generateRandomId as _0x358551,merge as _0x1a0e54,sequenceExecute as _0x57ab44}from'@univerjs/core';import{InsertColCommand as _0x3ee2a4,InsertRowCommand as _0x3f6c82,MoveColsCommand as _0x18c95c,MoveRowsCommand as _0x50a7df,RemoveColCommand as _0x4afcff,RemoveRowCommand as _0x4c3e8d,SetColHiddenMutation as _0x401771,SetColVisibleMutation as _0x316671,SetRowHiddenMutation as _0x4a1f85,SetRowVisibleMutation as _0x31f5ab,SheetInterceptorService as _0xb4bd43,SheetPermissionCheckController as _0x345ac3,UniverSheetsPlugin as _0x1d7adc,WorkbookViewPermission as _0x1753bb,WorksheetViewPermission as _0x86b3d9,getSheetCommandTarget as _0x3c973f}from'@univerjs/sheets';import{Subject as _0x53422c,of as _0x51ab36}from'rxjs';import{debounceTime as _0x194e36,map as _0x12a638,startWith as _0x23085b}from'rxjs/operators';import{UniverLicensePlugin as _0x1e0280}from'@univerjs-pro/license';let _e=function(_0x5ad970){const _0x4bb20b=_0x2f6c;return _0x5ad970[_0x4bb20b(0x197)]=_0x4bb20b(0x1dc),_0x5ad970[_0x4bb20b(0x1ed)]='column',_0x5ad970;}({}),ve=function(_0x525da7){const _0x2b5761=_0x2f6c;return _0x525da7[_0x2b5761(0x1f1)]=_0x2b5761(0x1d1),_0x525da7[_0x2b5761(0x196)]=_0x2b5761(0x1c5),_0x525da7['CROSSING']=_0x2b5761(0x171),_0x525da7[_0x2b5761(0x1fc)]='max-depth',_0x525da7[_0x2b5761(0x19f)]=_0x2b5761(0x1f7),_0x525da7[_0x2b5761(0x1c4)]=_0x2b5761(0x1c6),_0x525da7[_0x2b5761(0x1af)]=_0x2b5761(0x192),_0x525da7;}({});var S=class extends Error{constructor(_0x11f16a,_0x69a38b,_0x2e3a39){const _0x4016c0=_0x2f6c;super(_0x69a38b),this[_0x4016c0(0x1b7)]=_0x11f16a,this[_0x4016c0(0x1a5)]=_0x2e3a39,this[_0x4016c0(0x1da)]=_0x4016c0(0x17a);}};function ye(_0x2c4a49){const _0x3459f6=_0x2f6c;return _0x2c4a49 instanceof S?_0x2c4a49[_0x3459f6(0x1b7)]:_0x2c4a49 instanceof Error?_0x2c4a49[_0x3459f6(0x1ac)][_0x3459f6(0x1e0)]('split\x20dimension\x20outline')?'move-splits-outline':_0x2c4a49[_0x3459f6(0x1ac)][_0x3459f6(0x1e0)](_0x3459f6(0x1bc))?_0x3459f6(0x1fb):_0x2c4a49[_0x3459f6(0x1ac)]['includes'](_0x3459f6(0x1b6))?_0x3459f6(0x171):_0x2c4a49['message'][_0x3459f6(0x1e0)](_0x3459f6(0x1fa))?_0x3459f6(0x1d1):'unknown':_0x3459f6(0x192);}function be(_0x3afd38){const _0x4d75d3=_0x2f6c;return _0x3afd38 instanceof S?_0x3afd38[_0x4d75d3(0x1a5)]:void 0x0;}const C=0x2**0x35-0x1;function w(_0x2a97b2,_0x454200){const _0x4c8fb5=_0x2f6c;return _0x2a97b2['unitId']===_0x454200[_0x4c8fb5(0x1e1)]&&_0x2a97b2['subUnitId']===_0x454200[_0x4c8fb5(0x18f)]&&_0x2a97b2[_0x4c8fb5(0x162)]===_0x454200[_0x4c8fb5(0x162)];}function T(_0x3f8325,_0x59b4a8={}){const _0xa6ef92=_0x2f6c;let _0x2115c3=_0x59b4a8[_0xa6ef92(0x1b5)]??0x8,_0x4b841f=new Map();for(let _0x27bfc0 of _0x3f8325){let _0x8a7f6a=_0x27bfc0['unitId']+':'+_0x27bfc0['subUnitId']+':'+_0x27bfc0[_0xa6ef92(0x162)],_0x22d62b=_0x4b841f['get'](_0x8a7f6a);_0x22d62b?_0x22d62b[_0xa6ef92(0x1a8)](_0x27bfc0):_0x4b841f[_0xa6ef92(0x161)](_0x8a7f6a,[_0x27bfc0]);}let _0x39a40a=[];for(let _0x23984e of _0x4b841f[_0xa6ef92(0x1e2)]()){let _0x31b6c4=[..._0x23984e][_0xa6ef92(0x1d3)](j),_0x50e24b=[];for(let _0x128d4c of _0x31b6c4){for(Me(_0x128d4c);_0x50e24b[_0xa6ef92(0x169)]>0x0&&_0x128d4c[_0xa6ef92(0x1e5)]>_0x50e24b[_0x50e24b[_0xa6ef92(0x169)]-0x1][_0xa6ef92(0x168)];)_0x50e24b[_0xa6ef92(0x150)]();let _0x19b044=_0x50e24b[_0x50e24b[_0xa6ef92(0x169)]-0x1];if(_0x19b044&&_0x128d4c['end']>_0x19b044['end'])throw new S(_0xa6ef92(0x171),_0xa6ef92(0x173),_0x128d4c['id']);let _0x2f3bcd=_0x19b044?_0x19b044[_0xa6ef92(0x1bc)]+0x1:0x1;if(_0x2f3bcd>_0x2115c3)throw new S(_0xa6ef92(0x1fb),_0xa6ef92(0x177)+_0x2115c3,_0x128d4c['id']);let _0xa2f298={..._0x128d4c,'depth':_0x2f3bcd,'parentId':_0x19b044==null?void 0x0:_0x19b044['id'],'anchor':_0x128d4c[_0xa6ef92(0x168)],'children':[]};_0x19b044?_0x19b044['children'][_0xa6ef92(0x1a8)](_0xa2f298):_0x39a40a[_0xa6ef92(0x1a8)](_0xa2f298),_0x50e24b[_0xa6ef92(0x1a8)](_0xa2f298);}}return _0x39a40a;}function E(_0x5f07fa,_0x23e6f9,_0x1e9939={}){const _0x5ec90d=_0x2f6c;if(_0x23e6f9['start']<0x0||_0x23e6f9[_0x5ec90d(0x1e5)]>_0x23e6f9['end'])return{'valid':!0x1,'reason':'invalid-range'};if(_0x1e9939[_0x5ec90d(0x190)]!=null&&_0x23e6f9[_0x5ec90d(0x168)]>=_0x1e9939[_0x5ec90d(0x190)])return{'valid':!0x1,'reason':_0x5ec90d(0x1c5)};let _0x29b345=_0x5f07fa[_0x5ec90d(0x1f2)](_0x56b389=>w(_0x56b389,_0x23e6f9));for(let _0x24f48e of _0x29b345)if(Ne(_0x24f48e,_0x23e6f9))return{'valid':!0x1,'reason':_0x5ec90d(0x171)};try{T([..._0x5f07fa,_0x23e6f9],_0x1e9939);}catch(_0x3e4218){let _0x4a1b94=ye(_0x3e4218);return _0x4a1b94===_0x5ec90d(0x1fb)?{'valid':!0x1,'reason':'max-depth'}:_0x4a1b94===_0x5ec90d(0x1d1)?{'valid':!0x1,'reason':_0x5ec90d(0x1d1)}:{'valid':!0x1,'reason':'crossing'};}return{'valid':!0x0};}function xe(_0x32caad,_0x153684,_0x417054={}){const _0x42b1a8=_0x2f6c;let _0x294cbe=E(_0x32caad,_0x153684,_0x417054);if(!_0x294cbe[_0x42b1a8(0x1bd)])throw Error(_0x294cbe['reason']??'invalid-dimension-outline');return[..._0x32caad,_0x153684];}function Se(_0x4c5494,_0x222dd3){const _0x294dbe=_0x2f6c;let _0xb25e8b=_0x222dd3['start'],_0x730a07=_0x222dd3[_0x294dbe(0x168)],_0x412efd=[],_0x232066=!0x0;for(;_0x232066;){_0x232066=!0x1;for(let _0x3a4ced of _0x4c5494)!_0x412efd['includes'](_0x3a4ced)&&w(_0x3a4ced,_0x222dd3)&&Ae(_0x3a4ced[_0x294dbe(0x1e5)],_0x3a4ced[_0x294dbe(0x168)],_0xb25e8b,_0x730a07)&&(_0x412efd['push'](_0x3a4ced),_0xb25e8b=Math[_0x294dbe(0x164)](_0xb25e8b,_0x3a4ced[_0x294dbe(0x1e5)]),_0x730a07=Math['max'](_0x730a07,_0x3a4ced['end']),_0x232066=!0x0);}if(_0x412efd['length']===0x0)return null;let [_0x2e7690]=[..._0x412efd]['sort'](j);return{'mergedOutline':{..._0x2e7690,'start':_0xb25e8b,'end':_0x730a07},'mergedOutlines':_0x412efd};}function Ce(_0x454250,_0x54836f){const _0x4675f2=_0x2f6c;return _0x454250['filter'](_0x39f988=>!w(_0x39f988,_0x54836f)||!(_0x39f988[_0x4675f2(0x1e5)]>=_0x54836f[_0x4675f2(0x1e5)]&&_0x39f988[_0x4675f2(0x168)]<=_0x54836f[_0x4675f2(0x168)]));}function we(_0xfab062,_0x170931,_0x47a83e,_0xa036ba){const _0x29f5ce=_0x2f6c;return Te(_0xfab062[_0x29f5ce(0x1f2)](_0x1de5b9=>_0x1de5b9[_0x29f5ce(0x1e1)]===_0x170931&&_0x1de5b9['subUnitId']===_0x47a83e&&_0x1de5b9[_0x29f5ce(0x162)]===_0xa036ba&&_0x1de5b9[_0x29f5ce(0x182)])[_0x29f5ce(0x1bf)](_0x3ade80=>({'start':_0x3ade80['start'],'end':_0x3ade80[_0x29f5ce(0x168)]})));}function Te(_0x3ab997){const _0x3f98d7=_0x2f6c;if(_0x3ab997[_0x3f98d7(0x169)]===0x0)return[];let _0x2df543=[..._0x3ab997][_0x3f98d7(0x1d3)]((_0x4cb9ea,_0x38243c)=>_0x4cb9ea[_0x3f98d7(0x1e5)]-_0x38243c[_0x3f98d7(0x1e5)]||_0x4cb9ea['end']-_0x38243c['end']),_0x379a89=[];for(let _0x59d61e of _0x2df543){let _0x4a025e=_0x379a89[_0x379a89[_0x3f98d7(0x169)]-0x1];!_0x4a025e||_0x59d61e[_0x3f98d7(0x1e5)]>_0x4a025e[_0x3f98d7(0x168)]+0x1?_0x379a89[_0x3f98d7(0x1a8)]({..._0x59d61e}):_0x4a025e['end']=Math[_0x3f98d7(0x1eb)](_0x4a025e[_0x3f98d7(0x168)],_0x59d61e[_0x3f98d7(0x168)]);}return _0x379a89;}function D(_0xd55074,_0x394f20){const _0x3fa33c=_0x2f6c;return _0x394f20['count']<=0x0?_0xd55074:A(_0xd55074[_0x3fa33c(0x1bf)](_0x1678b5=>w(_0x1678b5,_0x394f20)?_0x394f20[_0x3fa33c(0x1df)]<=_0x1678b5[_0x3fa33c(0x1e5)]?{..._0x1678b5,'start':_0x1678b5[_0x3fa33c(0x1e5)]+_0x394f20[_0x3fa33c(0x179)],'end':_0x1678b5['end']+_0x394f20[_0x3fa33c(0x179)]}:_0x1678b5[_0x3fa33c(0x1e5)]<_0x394f20[_0x3fa33c(0x1df)]&&_0x394f20[_0x3fa33c(0x1df)]<=_0x1678b5[_0x3fa33c(0x168)]?{..._0x1678b5,'end':_0x1678b5[_0x3fa33c(0x168)]+_0x394f20[_0x3fa33c(0x179)]}:_0x1678b5:_0x1678b5));}function O(_0x5d5f91,_0x1be45c){const _0x55de3d=_0x2f6c;if(_0x1be45c[_0x55de3d(0x1e5)]>_0x1be45c[_0x55de3d(0x168)])return _0x5d5f91;let _0x23a907=_0x1be45c[_0x55de3d(0x168)]-_0x1be45c[_0x55de3d(0x1e5)]+0x1,_0x50a896=[];for(let _0x53f0ee of _0x5d5f91){if(!w(_0x53f0ee,_0x1be45c)){_0x50a896[_0x55de3d(0x1a8)](_0x53f0ee);continue;}if(_0x53f0ee[_0x55de3d(0x168)]<_0x1be45c['start']){_0x50a896[_0x55de3d(0x1a8)](_0x53f0ee);continue;}if(_0x53f0ee[_0x55de3d(0x1e5)]>_0x1be45c[_0x55de3d(0x168)]){_0x50a896[_0x55de3d(0x1a8)]({..._0x53f0ee,'start':_0x53f0ee[_0x55de3d(0x1e5)]-_0x23a907,'end':_0x53f0ee[_0x55de3d(0x168)]-_0x23a907});continue;}let _0x5ca11b=Math[_0x55de3d(0x1eb)](_0x53f0ee[_0x55de3d(0x1e5)],_0x1be45c[_0x55de3d(0x1e5)]),_0x43b81d=Math[_0x55de3d(0x164)](_0x53f0ee[_0x55de3d(0x168)],_0x1be45c[_0x55de3d(0x168)]),_0x5222bd=Math[_0x55de3d(0x1eb)](0x0,_0x43b81d-_0x5ca11b+0x1),_0x5be394=_0x53f0ee[_0x55de3d(0x168)]-_0x53f0ee['start']+0x1-_0x5222bd;if(_0x5be394<=0x0)continue;let _0x34e2eb=_0x53f0ee[_0x55de3d(0x1e5)]<_0x1be45c[_0x55de3d(0x1e5)]?_0x53f0ee[_0x55de3d(0x1e5)]:_0x1be45c['start'];_0x50a896[_0x55de3d(0x1a8)]({..._0x53f0ee,'start':_0x34e2eb,'end':_0x34e2eb+_0x5be394-0x1});}return A(_0x50a896);}function k(_0x24400c,_0x4fdbca){const _0x128abf=_0x2f6c;if(_0x4fdbca[_0x128abf(0x166)]>_0x4fdbca['sourceEnd'])return _0x24400c;let _0x152a58=[];for(let _0xbee1ef of _0x24400c){if(!w(_0xbee1ef,_0x4fdbca)){_0x152a58['push'](_0xbee1ef);continue;}let _0x297627=Ee(_0xbee1ef,_0x4fdbca);if(_0x297627[_0x128abf(0x1b4)]===_0x128abf(0x194))throw new S('move-splits-outline',_0x128abf(0x170)+_0xbee1ef['id'],_0xbee1ef['id']);_0x152a58[_0x128abf(0x1a8)](_0x297627[_0x128abf(0x1ca)]);}return A(_0x152a58);}function Ee(_0x386fc0,_0x207792){const _0x1d8c55=_0x2f6c;let _0x4fb72b=De(_0x207792[_0x1d8c55(0x166)],_0x207792['sourceEnd']+0x1,_0x207792['destinationIndex']),_0x55f3f9=[],_0x41e789={'start':_0x386fc0[_0x1d8c55(0x1e5)],'end':_0x386fc0[_0x1d8c55(0x168)]+0x1};for(let _0xe35b21 of _0x4fb72b){let _0x2db21c=Oe(_0x41e789,_0xe35b21[_0x1d8c55(0x1fa)]);_0x2db21c&&_0x55f3f9[_0x1d8c55(0x1a8)]({'start':_0x2db21c[_0x1d8c55(0x1e5)]+_0xe35b21[_0x1d8c55(0x16d)],'end':_0x2db21c['end']+_0xe35b21[_0x1d8c55(0x16d)]});}let _0x3bdf04=ke(_0x55f3f9);return _0x3bdf04['length']===0x1?{'type':'ok','outline':{..._0x386fc0,'start':_0x3bdf04[0x0][_0x1d8c55(0x1e5)],'end':_0x3bdf04[0x0][_0x1d8c55(0x168)]-0x1}}:{'type':_0x1d8c55(0x194),'outline':_0x386fc0,'ranges':_0x3bdf04};}function De(_0x15dd7c,_0x1aa59c,_0x367949){const _0x272b3f=_0x2f6c;let _0x402b9c=_0x1aa59c-_0x15dd7c;if(_0x402b9c<=0x0)throw Error(_0x272b3f(0x191));return _0x367949>=_0x15dd7c&&_0x367949<=_0x1aa59c?[{'range':{'start':0x0,'end':C},'offset':0x0}]:_0x367949<_0x15dd7c?[{'range':{'start':0x0,'end':_0x367949},'offset':0x0},{'range':{'start':_0x367949,'end':_0x15dd7c},'offset':_0x402b9c},{'range':{'start':_0x15dd7c,'end':_0x1aa59c},'offset':_0x367949-_0x15dd7c},{'range':{'start':_0x1aa59c,'end':C},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x15dd7c},'offset':0x0},{'range':{'start':_0x15dd7c,'end':_0x1aa59c},'offset':_0x367949-_0x1aa59c},{'range':{'start':_0x1aa59c,'end':_0x367949},'offset':-_0x402b9c},{'range':{'start':_0x367949,'end':C},'offset':0x0}];}function Oe(_0x382e42,_0x3d5e53){const _0x499373=_0x2f6c;let _0x19484e=Math[_0x499373(0x1eb)](_0x382e42[_0x499373(0x1e5)],_0x3d5e53['start']),_0x25b11c=Math['min'](_0x382e42[_0x499373(0x168)],_0x3d5e53[_0x499373(0x168)]);return _0x19484e>=_0x25b11c?null:{'start':_0x19484e,'end':_0x25b11c};}function ke(_0x3fb232){const _0x2ad3f6=_0x2f6c;if(_0x3fb232[_0x2ad3f6(0x169)]===0x0)return[];let _0x5a7c90=[..._0x3fb232][_0x2ad3f6(0x1d3)]((_0xd75579,_0x1d725f)=>_0xd75579[_0x2ad3f6(0x1e5)]-_0x1d725f['start']||_0xd75579[_0x2ad3f6(0x168)]-_0x1d725f[_0x2ad3f6(0x168)]),_0x4a4f52=[];for(let _0x3b992e of _0x5a7c90){let _0x38922a=_0x4a4f52[_0x4a4f52[_0x2ad3f6(0x169)]-0x1];!_0x38922a||_0x3b992e[_0x2ad3f6(0x1e5)]>_0x38922a[_0x2ad3f6(0x168)]?_0x4a4f52[_0x2ad3f6(0x1a8)]({..._0x3b992e}):_0x38922a['end']=Math[_0x2ad3f6(0x1eb)](_0x38922a[_0x2ad3f6(0x168)],_0x3b992e[_0x2ad3f6(0x168)]);}return _0x4a4f52;}function Ae(_0x51b3be,_0x1b1fd5,_0x2fa9d6,_0x313cd2){return _0x1b1fd5+0x1===_0x2fa9d6||_0x313cd2+0x1===_0x51b3be;}function A(_0x1759d3){let _0x2ab679=je(_0x1759d3);return T(_0x2ab679),_0x2ab679;}function je(_0xc6ae5f){const _0x2b6fc7=_0x2f6c;let _0x3db9f3=new Map();for(let _0x176307 of _0xc6ae5f){let _0x4c1aba=[_0x176307[_0x2b6fc7(0x1e1)],_0x176307['subUnitId'],_0x176307[_0x2b6fc7(0x162)],_0x176307['start'],_0x176307['end']][_0x2b6fc7(0x1a3)](':'),_0x2174e7=_0x3db9f3[_0x2b6fc7(0x1b2)](_0x4c1aba);if(!_0x2174e7){_0x3db9f3[_0x2b6fc7(0x161)](_0x4c1aba,_0x176307);continue;}_0x3db9f3[_0x2b6fc7(0x161)](_0x4c1aba,{..._0x2174e7,'collapsed':_0x2174e7[_0x2b6fc7(0x182)]||_0x176307[_0x2b6fc7(0x182)]});}return Array[_0x2b6fc7(0x155)](_0x3db9f3[_0x2b6fc7(0x1e2)]());}function j(_0xad6196,_0x57357d){const _0x94e7a4=_0x2f6c;return _0xad6196['unitId']===_0x57357d['unitId']?_0xad6196[_0x94e7a4(0x18f)]===_0x57357d[_0x94e7a4(0x18f)]?_0xad6196[_0x94e7a4(0x162)]===_0x57357d[_0x94e7a4(0x162)]?_0xad6196[_0x94e7a4(0x1e5)]===_0x57357d['start']?_0x57357d['end']-_0xad6196[_0x94e7a4(0x168)]:_0xad6196['start']-_0x57357d['start']:_0xad6196[_0x94e7a4(0x162)][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x162)]):_0xad6196[_0x94e7a4(0x18f)][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x18f)]):_0xad6196['unitId'][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x1e1)]);}function Me(_0x46793b){const _0x1a1294=_0x2f6c;if(_0x46793b['start']>_0x46793b[_0x1a1294(0x168)])throw new S('invalid-range',_0x1a1294(0x1e4),_0x46793b['id']);}function Ne(_0x4795f2,_0x3b3fe5){const _0x17e238=_0x2f6c;let _0x5d5ce7=_0x4795f2['start']<=_0x3b3fe5[_0x17e238(0x168)]&&_0x3b3fe5['start']<=_0x4795f2['end'],_0x2f38ba=_0x4795f2['start']<=_0x3b3fe5['start']&&_0x3b3fe5[_0x17e238(0x168)]<=_0x4795f2['end'],_0xe31a67=_0x3b3fe5[_0x17e238(0x1e5)]<=_0x4795f2[_0x17e238(0x1e5)]&&_0x4795f2[_0x17e238(0x168)]<=_0x3b3fe5[_0x17e238(0x168)];return _0x5d5ce7&&!_0x2f38ba&&!_0xe31a67;}function M(_0x5a697){'@babel/helpers - typeof';const _0x1f7a54=_0x2f6c;return M=typeof Symbol==_0x1f7a54(0x15b)&&typeof Symbol['iterator']==_0x1f7a54(0x1ea)?function(_0x5eb1cb){return typeof _0x5eb1cb;}:function(_0x4fcfec){const _0x4688a4=_0x1f7a54;return _0x4fcfec&&typeof Symbol=='function'&&_0x4fcfec[_0x4688a4(0x19d)]===Symbol&&_0x4fcfec!==Symbol[_0x4688a4(0x1c8)]?_0x4688a4(0x1ea):typeof _0x4fcfec;},M(_0x5a697);}function Pe(_0x362d27,_0x141263){const _0x858a84=_0x2f6c;if(M(_0x362d27)!='object'||!_0x362d27)return _0x362d27;var _0x301220=_0x362d27[Symbol[_0x858a84(0x188)]];if(_0x301220!==void 0x0){var _0x3c633d=_0x301220['call'](_0x362d27,_0x141263||_0x858a84(0x186));if(M(_0x3c633d)!='object')return _0x3c633d;throw TypeError(_0x858a84(0x14f));}return(_0x141263==='string'?String:Number)(_0x362d27);}function Fe(_0x4bc23c){const _0x585918=_0x2f6c;var _0x53d53d=Pe(_0x4bc23c,_0x585918(0x159));return M(_0x53d53d)==_0x585918(0x1ea)?_0x53d53d:_0x53d53d+'';}function N(_0x5166cc,_0x569aa8,_0xddc6c8){const _0x4a2a4b=_0x2f6c;return(_0x569aa8=Fe(_0x569aa8))in _0x5166cc?Object[_0x4a2a4b(0x1cf)](_0x5166cc,_0x569aa8,{'value':_0xddc6c8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5166cc[_0x569aa8]=_0xddc6c8,_0x5166cc;}var P=class extends _0x28774d{constructor(..._0x38c1ef){const _0x9b0d47=_0x2f6c;super(..._0x38c1ef),N(this,_0x9b0d47(0x152),new Map()),N(this,'_change$',new _0x53422c()),N(this,_0x9b0d47(0x1aa),this[_0x9b0d47(0x1f5)][_0x9b0d47(0x1f3)]());}[_0x1ce52f(0x1a4)](_0x30d2d6,_0x57d879){const _0x5210c3=_0x1ce52f;var _0x569a4a;return[...((_0x569a4a=this['_outlines'][_0x5210c3(0x1b2)](_0x30d2d6))==null?void 0x0:_0x569a4a['get'](_0x57d879))??[]];}[_0x1ce52f(0x198)](_0x595fee){const _0x556b43=_0x1ce52f;let _0x51dc14=this[_0x556b43(0x152)][_0x556b43(0x1b2)](_0x595fee),_0x541c81=new Map();return _0x51dc14==null||_0x51dc14[_0x556b43(0x1f0)]((_0x1189ff,_0x2feffb)=>{const _0x5e2784=_0x556b43;_0x541c81[_0x5e2784(0x161)](_0x2feffb,[..._0x1189ff]);}),_0x541c81;}[_0x1ce52f(0x1e7)](_0x419325,_0x3f1574,_0x5e8d3e){const _0x373b39=_0x1ce52f;this[_0x373b39(0x1b9)](_0x419325)['set'](_0x3f1574,[..._0x5e8d3e]),this[_0x373b39(0x1f5)][_0x373b39(0x175)]({'unitId':_0x419325,'subUnitId':_0x3f1574});}[_0x1ce52f(0x17b)](_0x4060b8){const _0x58c189=_0x1ce52f;this[_0x58c189(0x152)]['delete'](_0x4060b8),this[_0x58c189(0x1f5)][_0x58c189(0x175)]({'unitId':_0x4060b8});}[_0x1ce52f(0x19a)](_0x4788ef){const _0x42d475=_0x1ce52f;let _0x1bb691=this['_outlines'][_0x42d475(0x1b2)](_0x4788ef),_0x160159={};return _0x1bb691==null||_0x1bb691[_0x42d475(0x1f0)]((_0x26aca0,_0x58eacc)=>{_0x160159[_0x58eacc]={'outlineList':[..._0x26aca0]};}),_0x160159;}[_0x1ce52f(0x1d5)](_0x4c8d10,_0x43b2d){const _0x483b25=_0x1ce52f;let _0x527af6=new Map();Object[_0x483b25(0x18e)](_0x43b2d)[_0x483b25(0x1f0)](([_0x21efbc,_0xfe494a])=>{const _0x25c2b7=_0x483b25;_0x527af6[_0x25c2b7(0x161)](_0x21efbc,[..._0xfe494a['outlineList']??[]]);}),this['_outlines']['set'](_0x4c8d10,_0x527af6),this['_change$'][_0x483b25(0x175)]({'unitId':_0x4c8d10});}[_0x1ce52f(0x153)](){const _0x6dfc01=_0x1ce52f;super[_0x6dfc01(0x153)](),this[_0x6dfc01(0x152)]['clear'](),this['_change$']['complete']();}[_0x1ce52f(0x1b9)](_0x58196b){const _0xa30bf5=_0x1ce52f;let _0x5eeea6=this[_0xa30bf5(0x152)][_0xa30bf5(0x1b2)](_0x58196b);return _0x5eeea6||(_0x5eeea6=new Map(),this[_0xa30bf5(0x152)][_0xa30bf5(0x161)](_0x58196b,_0x5eeea6)),_0x5eeea6;}},F=class extends _0x28774d{constructor(..._0x191b90){const _0x23fb42=_0x1ce52f;super(..._0x191b90),N(this,_0x23fb42(0x1e6),new _0x53422c()),N(this,_0x23fb42(0x1d0),this[_0x23fb42(0x1e6)][_0x23fb42(0x1f3)]());}['emit'](_0x25f904){const _0x175ffc=_0x1ce52f;this[_0x175ffc(0x1e6)][_0x175ffc(0x175)](_0x25f904);}['dispose'](){const _0x3aeb97=_0x1ce52f;super['dispose'](),this[_0x3aeb97(0x1e6)][_0x3aeb97(0x15d)]();}};const I={'id':_0x1ce52f(0x17c),'type':_0x370b23['MUTATION'],'handler':(_0x3dc59e,_0x4b4ca8)=>{const _0x46f9c9=_0x1ce52f;let _0x468bf1=_0x3dc59e[_0x46f9c9(0x1b2)](P),_0x24bbf7=_0x468bf1[_0x46f9c9(0x1a4)](_0x4b4ca8[_0x46f9c9(0x1e1)],_0x4b4ca8[_0x46f9c9(0x18f)]);return _0x468bf1[_0x46f9c9(0x1e7)](_0x4b4ca8['unitId'],_0x4b4ca8[_0x46f9c9(0x18f)],xe(_0x24bbf7,_0x4b4ca8['outline'])),!0x0;}},L={'id':_0x1ce52f(0x17f),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x51d7af,_0x5b5bd4)=>{const _0x3754ed=_0x1ce52f;let _0x22daa9=_0x51d7af[_0x3754ed(0x1b2)](P),_0xb54efc=_0x22daa9[_0x3754ed(0x1a4)](_0x5b5bd4['unitId'],_0x5b5bd4[_0x3754ed(0x18f)]);return _0x22daa9['setOutlines'](_0x5b5bd4[_0x3754ed(0x1e1)],_0x5b5bd4[_0x3754ed(0x18f)],_0xb54efc[_0x3754ed(0x1f2)](_0x2cb327=>_0x2cb327['id']!==_0x5b5bd4[_0x3754ed(0x1a5)])),!0x0;}};function R(_0x549ccd,_0x1c98d6,_0x45c067){let _0x2aaf82=Le(_0x549ccd);return!_0x2aaf82||_0x2aaf82['permissionCheckWithoutRange']({'workbookTypes':[_0x1753bb],'worksheetTypes':[_0x86b3d9]},_0x1c98d6,_0x45c067);}function Ie(_0x2de631,_0x12825b,_0x4b0a10){const _0x72bc7b=_0x1ce52f;let _0x582eef=Re(_0x2de631);return((_0x582eef==null?void 0x0:_0x582eef[_0x72bc7b(0x18a)])??_0x51ab36(null))[_0x72bc7b(0x160)](_0x194e36(0x64),_0x23085b(null),_0x12a638(()=>R(_0x2de631,_0x12825b,_0x4b0a10)));}function Le(_0x1e9706){const _0x3fdb96=_0x1ce52f;if(typeof _0x1e9706['has']==_0x3fdb96(0x15b)&&!_0x1e9706['has'](_0x345ac3))return null;try{return _0x1e9706['get'](_0x345ac3);}catch{return null;}}function Re(_0x464f49){const _0x5cb6aa=_0x1ce52f;if(typeof _0x464f49[_0x5cb6aa(0x1c7)]=='function'&&!_0x464f49[_0x5cb6aa(0x1c7)](_0x4da996))return null;try{return _0x464f49['get'](_0x4da996);}catch{return null;}}const z={'id':_0x1ce52f(0x165),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x358bc2,_0x5844c0)=>{const _0xc58c77=_0x1ce52f;if(!_0x5844c0)return!0x1;let _0x544bc0=_0x3c973f(_0x358bc2[_0xc58c77(0x1b2)](_0x501b88),_0x5844c0);if(!_0x544bc0)return!0x1;let {unitId:_0x3e7b7e,subUnitId:_0x4b0a38,worksheet:_0x2917f4}=_0x544bc0;if(!R(_0x358bc2,_0x3e7b7e,_0x4b0a38))return!0x1;let _0x4e217e=_0x358bc2[_0xc58c77(0x1b2)](P),_0xf0eff7={'id':_0xc58c77(0x1a6)+_0x358551(0x6),'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'axis':_0x5844c0['axis'],'start':_0x5844c0[_0xc58c77(0x1e5)],'end':_0x5844c0['end'],'collapsed':!0x1},_0x29040d=_0x5844c0[_0xc58c77(0x162)]===_0xc58c77(0x1dc)?_0x2917f4[_0xc58c77(0x1e9)]():_0x2917f4[_0xc58c77(0x1ab)](),_0x2887ac=_0x4e217e[_0xc58c77(0x1a4)](_0x3e7b7e,_0x4b0a38),_0x3d3646=Se(_0x2887ac,_0xf0eff7),_0x382afa=(_0x3d3646==null?void 0x0:_0x3d3646[_0xc58c77(0x187)])??[],_0x5d0a4c=(_0x3d3646==null?void 0x0:_0x3d3646[_0xc58c77(0x1ba)])??_0xf0eff7,_0x15497f=E(_0x3d3646?_0x2887ac[_0xc58c77(0x1f2)](_0x415209=>!_0x382afa[_0xc58c77(0x1a2)](_0x4141b8=>_0x4141b8['id']===_0x415209['id'])):_0x2887ac,_0x5d0a4c,{'maxIndex':_0x29040d});if(!_0x15497f['valid'])return _0x358bc2[_0xc58c77(0x1b2)](F)[_0xc58c77(0x19c)]({'reason':_0x15497f['reason']??'unknown','commandId':z['id'],'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'axis':_0x5844c0[_0xc58c77(0x162)],'outlineId':_0x5d0a4c['id']}),!0x1;let _0x4c0cb6=[..._0x382afa[_0xc58c77(0x1bf)](_0x16b82a=>({'id':L['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outlineId':_0x16b82a['id']}})),{'id':I['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outline':_0x5d0a4c}}],_0x2387e5=[{'id':L['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outlineId':_0x5d0a4c['id']}},..._0x382afa[_0xc58c77(0x1bf)](_0x3d91ac=>({'id':I['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outline':_0x3d91ac}}))];return _0x57ab44(_0x4c0cb6,_0x358bc2[_0xc58c77(0x1b2)](_0x5b34db))['result']?(_0x358bc2[_0xc58c77(0x1b2)](_0x236935)[_0xc58c77(0x1ad)]({'unitID':_0x3e7b7e,'undoMutations':_0x2387e5,'redoMutations':_0x4c0cb6}),!0x0):!0x1;}},B={'id':_0x1ce52f(0x151),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x2d80d9,_0x184fb8)=>{const _0x1b3e6d=_0x1ce52f;let _0x44cece=_0x2d80d9[_0x1b3e6d(0x1b2)](P),_0x5b7ee0=_0x44cece[_0x1b3e6d(0x1a4)](_0x184fb8['unitId'],_0x184fb8[_0x1b3e6d(0x18f)]);return _0x44cece[_0x1b3e6d(0x1e7)](_0x184fb8['unitId'],_0x184fb8[_0x1b3e6d(0x18f)],Ce(_0x5b7ee0,_0x184fb8)),!0x0;}},V={'id':_0x1ce52f(0x167),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x4321ae,_0x12d71e)=>{const _0x88d6cb=_0x1ce52f;if(!_0x12d71e)return!0x1;let _0x3fb726=_0x3c973f(_0x4321ae[_0x88d6cb(0x1b2)](_0x501b88),_0x12d71e);if(!_0x3fb726)return!0x1;let {unitId:_0xc9f397,subUnitId:_0x4b1a1e}=_0x3fb726;if(!R(_0x4321ae,_0xc9f397,_0x4b1a1e))return!0x1;let _0x1c1b65={'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'axis':_0x12d71e['axis'],'start':_0x12d71e['start'],'end':_0x12d71e['end']},_0x3ce980=_0x4321ae[_0x88d6cb(0x1b2)](P)[_0x88d6cb(0x1a4)](_0xc9f397,_0x4b1a1e)['filter'](_0x2c26e9=>w(_0x2c26e9,_0x1c1b65)&&_0x2c26e9[_0x88d6cb(0x1e5)]>=_0x12d71e[_0x88d6cb(0x1e5)]&&_0x2c26e9[_0x88d6cb(0x168)]<=_0x12d71e[_0x88d6cb(0x168)]);if(_0x3ce980[_0x88d6cb(0x169)]===0x0)return _0x4321ae[_0x88d6cb(0x1b2)](F)[_0x88d6cb(0x19c)]({'reason':'clear-range-not-contain-outline','commandId':V['id'],'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'axis':_0x12d71e[_0x88d6cb(0x162)]}),!0x1;let _0x4722c3=[{'id':B['id'],'params':{..._0x1c1b65,'removedOutlineIds':_0x3ce980[_0x88d6cb(0x1bf)](_0x53ed93=>_0x53ed93['id'])}}],_0x283907=_0x3ce980[_0x88d6cb(0x1bf)](_0x2ce41b=>({'id':I['id'],'params':{'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'outline':_0x2ce41b}}));return _0x57ab44(_0x4722c3,_0x4321ae[_0x88d6cb(0x1b2)](_0x5b34db))['result']?(_0x4321ae[_0x88d6cb(0x1b2)](_0x236935)['pushUndoRedo']({'unitID':_0xc9f397,'undoMutations':_0x283907,'redoMutations':_0x4722c3}),!0x0):!0x1;}},ze={'id':_0x1ce52f(0x1f6),'type':_0x370b23['COMMAND'],'handler':(_0x9ad437,_0x5a7ac4)=>{const _0x2793c7=_0x1ce52f;if(!_0x5a7ac4)return!0x1;let _0x236b37=_0x3c973f(_0x9ad437['get'](_0x501b88),_0x5a7ac4);if(!_0x236b37)return!0x1;let {unitId:_0x514f9d,subUnitId:_0x4f8fa2}=_0x236b37;if(!R(_0x9ad437,_0x514f9d,_0x4f8fa2))return!0x1;let _0x2abfc4=_0x9ad437[_0x2793c7(0x1b2)](P)[_0x2793c7(0x1a4)](_0x514f9d,_0x4f8fa2)['find'](_0x2fe7bb=>_0x2fe7bb['id']===_0x5a7ac4[_0x2793c7(0x1a5)]);if(!_0x2abfc4)return!0x1;let _0x529129=[{'id':L['id'],'params':{'unitId':_0x514f9d,'subUnitId':_0x4f8fa2,'outlineId':_0x2abfc4['id'],'outline':_0x2abfc4}}],_0x43ebb4=[{'id':I['id'],'params':{'unitId':_0x514f9d,'subUnitId':_0x4f8fa2,'outline':_0x2abfc4}}];return _0x57ab44(_0x529129,_0x9ad437[_0x2793c7(0x1b2)](_0x5b34db))[_0x2793c7(0x1be)]?(_0x9ad437['get'](_0x236935)[_0x2793c7(0x1ad)]({'unitID':_0x514f9d,'undoMutations':_0x43ebb4,'redoMutations':_0x529129}),!0x0):!0x1;}},H={'id':_0x1ce52f(0x1fd),'type':_0x370b23['MUTATION'],'handler':(_0x322dd2,_0x20b5df)=>{const _0x1259f5=_0x1ce52f;let _0x5d66a2=_0x322dd2[_0x1259f5(0x1b2)](P),_0x13dfb4=_0x5d66a2[_0x1259f5(0x1a4)](_0x20b5df['unitId'],_0x20b5df['subUnitId']),_0x56fcf3=_0x13dfb4[_0x1259f5(0x1f8)](_0x30adcc=>_0x30adcc['id']===_0x20b5df['outlineId']);return _0x56fcf3&&_0x5d66a2['setOutlines'](_0x20b5df[_0x1259f5(0x1e1)],_0x20b5df[_0x1259f5(0x18f)],_0x13dfb4[_0x1259f5(0x1bf)](_0x5bcab8=>_0x5bcab8['unitId']!==_0x56fcf3[_0x1259f5(0x1e1)]||_0x5bcab8[_0x1259f5(0x18f)]!==_0x56fcf3[_0x1259f5(0x18f)]||_0x5bcab8[_0x1259f5(0x162)]!==_0x56fcf3[_0x1259f5(0x162)]||_0x5bcab8[_0x1259f5(0x1e5)]!==_0x56fcf3['start']||_0x5bcab8[_0x1259f5(0x168)]!==_0x56fcf3[_0x1259f5(0x168)]?_0x5bcab8:{..._0x5bcab8,'collapsed':_0x20b5df['collapsed']})),!0x0;}};function Be(_0x3b1b4c,_0x5aac71,_0x4efa24,_0x182956){const _0xcf5d6a=_0x1ce52f;return _0x3b1b4c===_0xcf5d6a(0x1dc)?{'startRow':_0x5aac71,'endRow':_0x4efa24,'startColumn':0x0,'endColumn':_0x182956[_0xcf5d6a(0x1f4)]()-0x1}:{'startRow':0x0,'endRow':_0x182956['getRowCount']()-0x1,'startColumn':_0x5aac71,'endColumn':_0x4efa24};}function Ve(_0x1b7834){const _0x1cd015=_0x1ce52f;return _0x1b7834===_0x1cd015(0x1dc)?_0x4a1f85['id']:_0x401771['id'];}function He(_0x1d14ed){const _0x65a336=_0x1ce52f;return _0x1d14ed===_0x65a336(0x1dc)?_0x31f5ab['id']:_0x316671['id'];}function Ue(_0x188ad0,_0x125f44,_0x4ef352,_0x22a4bb){const _0xbf3b6e=_0x1ce52f;let _0x5f4a54=_0x125f44?[Be(_0x188ad0[_0xbf3b6e(0x162)],_0x188ad0[_0xbf3b6e(0x1e5)],_0x188ad0[_0xbf3b6e(0x168)],_0x4ef352)]:We(_0x188ad0,_0x22a4bb,_0x4ef352),_0x2e8668=_0x125f44?Ve(_0x188ad0['axis']):He(_0x188ad0['axis']);return[{'id':H['id'],'params':{'unitId':_0x188ad0[_0xbf3b6e(0x1e1)],'subUnitId':_0x188ad0[_0xbf3b6e(0x18f)],'outlineId':_0x188ad0['id'],'outline':_0x188ad0,'collapsed':_0x125f44}},..._0x5f4a54[_0xbf3b6e(0x1bf)](_0x483a3b=>({'id':_0x2e8668,'params':{'unitId':_0x188ad0[_0xbf3b6e(0x1e1)],'subUnitId':_0x188ad0[_0xbf3b6e(0x18f)],'ranges':[_0x483a3b],'dimensionOutlineId':_0x188ad0['id']}}))];}function We(_0x2829d8,_0x4d1b58,_0x4f1142){const _0x5b3a29=_0x1ce52f;let _0x31c53c=we(_0x4d1b58[_0x5b3a29(0x1bf)](_0x3374ae=>Ge(_0x3374ae,_0x2829d8)?{..._0x3374ae,'collapsed':!0x1}:_0x3374ae),_0x2829d8[_0x5b3a29(0x1e1)],_0x2829d8[_0x5b3a29(0x18f)],_0x2829d8[_0x5b3a29(0x162)]);return Ke({'start':_0x2829d8['start'],'end':_0x2829d8['end']},_0x31c53c)['map'](_0x2fb790=>Be(_0x2829d8[_0x5b3a29(0x162)],_0x2fb790[_0x5b3a29(0x1e5)],_0x2fb790[_0x5b3a29(0x168)],_0x4f1142));}function Ge(_0x379a74,_0x313122){const _0xc5661b=_0x1ce52f;return _0x379a74[_0xc5661b(0x1e1)]===_0x313122[_0xc5661b(0x1e1)]&&_0x379a74[_0xc5661b(0x18f)]===_0x313122[_0xc5661b(0x18f)]&&_0x379a74[_0xc5661b(0x162)]===_0x313122[_0xc5661b(0x162)]&&_0x379a74[_0xc5661b(0x1e5)]===_0x313122[_0xc5661b(0x1e5)]&&_0x379a74[_0xc5661b(0x168)]===_0x313122[_0xc5661b(0x168)];}function Ke(_0x32df55,_0x2ed38f){const _0x3c6f10=_0x1ce52f;let _0x20acc5=_0x32df55[_0x3c6f10(0x1e5)],_0x47a04a=[];for(let _0x6a59c of _0x2ed38f)if(!(_0x6a59c[_0x3c6f10(0x168)]<_0x20acc5||_0x6a59c[_0x3c6f10(0x1e5)]>_0x32df55[_0x3c6f10(0x168)])&&(_0x6a59c[_0x3c6f10(0x1e5)]>_0x20acc5&&_0x47a04a[_0x3c6f10(0x1a8)]({'start':_0x20acc5,'end':Math[_0x3c6f10(0x164)](_0x6a59c[_0x3c6f10(0x1e5)]-0x1,_0x32df55['end'])}),_0x20acc5=Math['max'](_0x20acc5,_0x6a59c[_0x3c6f10(0x168)]+0x1),_0x20acc5>_0x32df55['end']))break;return _0x20acc5<=_0x32df55[_0x3c6f10(0x168)]&&_0x47a04a[_0x3c6f10(0x1a8)]({'start':_0x20acc5,'end':_0x32df55[_0x3c6f10(0x168)]}),_0x47a04a;}const qe={'id':_0x1ce52f(0x189),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x260e79,_0x304bc5)=>{const _0x5d34b3=_0x1ce52f;if(!_0x304bc5)return!0x1;let _0x5577a9=_0x3c973f(_0x260e79[_0x5d34b3(0x1b2)](_0x501b88),_0x304bc5);if(!_0x5577a9)return!0x1;let {unitId:_0x259fac,subUnitId:_0xa5d14a,worksheet:_0x4b5732}=_0x5577a9;if(!R(_0x260e79,_0x259fac,_0xa5d14a))return!0x1;let _0x3718e5=_0x260e79['get'](P)[_0x5d34b3(0x1a4)](_0x259fac,_0xa5d14a),_0x55c6e2=_0x3718e5['find'](_0x971d79=>_0x971d79['id']===_0x304bc5['outlineId']);if(!_0x55c6e2||_0x55c6e2[_0x5d34b3(0x182)]===_0x304bc5[_0x5d34b3(0x182)])return!0x1;let _0x199756=Ue(_0x55c6e2,_0x304bc5[_0x5d34b3(0x182)],_0x4b5732,_0x3718e5),_0x30e412=Ue(_0x55c6e2,!_0x304bc5['collapsed'],_0x4b5732,_0x3718e5);return _0x57ab44(_0x199756,_0x260e79[_0x5d34b3(0x1b2)](_0x5b34db))['result']?(_0x260e79[_0x5d34b3(0x1b2)](_0x236935)['pushUndoRedo']({'unitID':_0x259fac,'undoMutations':_0x30e412,'redoMutations':_0x199756}),!0x0):!0x1;}},U={'id':_0x1ce52f(0x1cb),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x27137e,_0x3e7d7b)=>{const _0x511d6f=_0x1ce52f;let _0x14aa00=_0x27137e['get'](P),_0x5f5c3f=Je(_0x14aa00[_0x511d6f(0x1a4)](_0x3e7d7b['unitId'],_0x3e7d7b[_0x511d6f(0x18f)]),_0x3e7d7b);return _0x14aa00['setOutlines'](_0x3e7d7b[_0x511d6f(0x1e1)],_0x3e7d7b[_0x511d6f(0x18f)],_0x5f5c3f),!0x0;}};function Je(_0x23f8a4,_0x15b136){const _0x1c2a1d=_0x1ce52f;switch(_0x15b136[_0x1c2a1d(0x1b4)]){case _0x1c2a1d(0x17d):return _0x15b136[_0x1c2a1d(0x16e)]?Ye(_0x23f8a4,_0x15b136):D(_0x23f8a4,_0x15b136);case'delete':return O(_0x23f8a4,_0x15b136);case'move':return k(_0x23f8a4,_0x15b136);}}function Ye(_0x52aacf,_0x5bc981){const _0x905399=_0x1ce52f;return[..._0x52aacf[_0x905399(0x1f2)](_0x5b12b6=>_0x5b12b6[_0x905399(0x1e1)]!==_0x5bc981[_0x905399(0x1e1)]||_0x5b12b6[_0x905399(0x18f)]!==_0x5bc981[_0x905399(0x18f)]||_0x5b12b6['axis']!==_0x5bc981[_0x905399(0x162)]),..._0x5bc981[_0x905399(0x16e)]];}const W=_0x1ce52f(0x1c1);function _0x2f6c(_0x1318c1,_0x77451d){_0x1318c1=_0x1318c1-0x14f;const _0x1852e5=_0x1852();let _0x2f6c96=_0x1852e5[_0x1318c1];return _0x2f6c96;}var Xe=_0x1ce52f(0x1de),Ze='1.0.0';const Qe={};function G(_0x74f689,_0x98d68b){return function(_0x56bc6c,_0x24623f){_0x98d68b(_0x56bc6c,_0x24623f,_0x74f689);};}function K(_0x71ada7,_0x386ae2,_0x10dfdf,_0x32c672){const _0x30f961=_0x1ce52f;var _0x380172=arguments[_0x30f961(0x169)],_0x25cbf6=_0x380172<0x3?_0x386ae2:_0x32c672===null?_0x32c672=Object['getOwnPropertyDescriptor'](_0x386ae2,_0x10dfdf):_0x32c672,_0x316312;if(typeof Reflect==_0x30f961(0x1db)&&typeof Reflect[_0x30f961(0x1a0)]==_0x30f961(0x15b))_0x25cbf6=Reflect[_0x30f961(0x1a0)](_0x71ada7,_0x386ae2,_0x10dfdf,_0x32c672);else{for(var _0x48ab62=_0x71ada7[_0x30f961(0x169)]-0x1;_0x48ab62>=0x0;_0x48ab62--)(_0x316312=_0x71ada7[_0x48ab62])&&(_0x25cbf6=(_0x380172<0x3?_0x316312(_0x25cbf6):_0x380172>0x3?_0x316312(_0x386ae2,_0x10dfdf,_0x25cbf6):_0x316312(_0x386ae2,_0x10dfdf))||_0x25cbf6);}return _0x380172>0x3&&_0x25cbf6&&Object['defineProperty'](_0x386ae2,_0x10dfdf,_0x25cbf6),_0x25cbf6;}const q={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let J=class extends _0x28774d{constructor(_0x452215,_0x4b2ac1,_0x1d69e8,_0x13fb66){const _0x3b0574=_0x1ce52f;super(),this[_0x3b0574(0x154)]=_0x452215,this[_0x3b0574(0x172)]=_0x4b2ac1,this['_sheetsOutlineModel']=_0x1d69e8,this[_0x3b0574(0x184)]=_0x13fb66,this[_0x3b0574(0x158)]();}[_0x1ce52f(0x158)](){const _0x3613d4=_0x1ce52f;this[_0x3613d4(0x1c3)](this['_sheetInterceptorService'][_0x3613d4(0x1e3)]({'getMutations':_0x5b2df1=>$e(_0x5b2df1,(_0x50e015,_0x205feb)=>this[_0x3613d4(0x1c0)]['getOutlines'](_0x50e015,_0x205feb),this[_0x3613d4(0x1ee)](_0x5b2df1[_0x3613d4(0x18c)]),_0x466ea4=>this[_0x3613d4(0x184)][_0x3613d4(0x19c)](_0x466ea4))}));}[_0x1ce52f(0x1ee)](_0x5b18cc){const _0x2a48c4=_0x1ce52f;let _0x1ada04=_0x5b18cc,_0x20b731=_0x1ada04!=null&&_0x1ada04['unitId']?this[_0x2a48c4(0x154)][_0x2a48c4(0x1d7)](_0x1ada04[_0x2a48c4(0x1e1)],_0x1395c1[_0x2a48c4(0x18b)]):this[_0x2a48c4(0x154)][_0x2a48c4(0x1d8)](_0x1395c1[_0x2a48c4(0x18b)]);if(!_0x20b731)return;let _0x43070a=_0x1ada04!=null&&_0x1ada04['subUnitId']?_0x20b731[_0x2a48c4(0x199)](_0x1ada04[_0x2a48c4(0x18f)]):_0x20b731[_0x2a48c4(0x193)]();if(_0x43070a)return{'unitId':_0x20b731[_0x2a48c4(0x1b8)](),'subUnitId':_0x43070a[_0x2a48c4(0x1e8)]()};}};J=K([G(0x0,_0x501b88),G(0x1,_0xbe0a21(_0xb4bd43)),G(0x2,_0xbe0a21(P)),G(0x3,_0xbe0a21(F))],J);function $e(_0x522e9d,_0x4884c7,_0x304b09,_0x5ebc92){const _0x4078b2=_0x1ce52f;let _0x4e6f0d=tt(_0x522e9d,_0x304b09);if(!_0x4e6f0d)return Z();let _0x189822=_0x4884c7(_0x4e6f0d[_0x4078b2(0x1e1)],_0x4e6f0d[_0x4078b2(0x18f)]);if(!_0x189822[_0x4078b2(0x1a2)](_0x410dc9=>_0x410dc9[_0x4078b2(0x162)]===_0x4e6f0d[_0x4078b2(0x162)]))return Z();et(_0x189822,_0x4e6f0d,_0x522e9d['id'],_0x5ebc92);let _0x5e74b0=it(_0x4e6f0d,_0x189822);return{'redos':[{'id':U['id'],'params':_0x4e6f0d}],'undos':[{'id':U['id'],'params':_0x5e74b0}],'preRedos':[],'preUndos':[]};}function et(_0x163fcc,_0x58741d,_0x15beb5,_0x4033ed){const _0x91d3b9=_0x1ce52f;try{switch(_0x58741d[_0x91d3b9(0x1b4)]){case _0x91d3b9(0x17d):D(_0x163fcc,_0x58741d);break;case _0x91d3b9(0x1d6):O(_0x163fcc,_0x58741d);break;case _0x91d3b9(0x1fe):k(_0x163fcc,_0x58741d);}}catch(_0x4479ba){throw _0x4033ed==null||_0x4033ed({'reason':ye(_0x4479ba),'commandId':_0x15beb5,'unitId':_0x58741d['unitId'],'subUnitId':_0x58741d[_0x91d3b9(0x18f)],'axis':_0x58741d[_0x91d3b9(0x162)],'outlineId':be(_0x4479ba)}),new _0x342912(_0x4479ba instanceof Error?_0x4479ba['message']:_0x91d3b9(0x1ec));}}function tt(_0xf11c8,_0x4b200c){const _0x28486e=_0x1ce52f;switch(_0xf11c8['id']){case _0x3f6c82['id']:return Y(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x3ee2a4['id']:return Y(_0xf11c8[_0x28486e(0x18c)],'column',_0x4b200c);case _0x4c3e8d['id']:return nt(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x4afcff['id']:return nt(_0xf11c8[_0x28486e(0x18c)],'column',_0x4b200c);case _0x50a7df['id']:return rt(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x18c95c['id']:return rt(_0xf11c8[_0x28486e(0x18c)],_0x28486e(0x1c9),_0x4b200c);default:return null;}}function Y(_0x39dc2d,_0x36bcea,_0x414a79){const _0x368499=_0x1ce52f;let _0x2c2ca3=X(_0x39dc2d,_0x414a79);if(!(_0x39dc2d!=null&&_0x39dc2d['range'])||!_0x2c2ca3)return null;let _0x11f901=_0x36bcea==='row'?_0x39dc2d['range'][_0x368499(0x185)]:_0x39dc2d[_0x368499(0x1fa)]['startColumn'],_0x1a6869=_0x36bcea===_0x368499(0x1dc)?_0x39dc2d[_0x368499(0x1fa)][_0x368499(0x1cc)]:_0x39dc2d[_0x368499(0x1fa)][_0x368499(0x1cd)];return{..._0x2c2ca3,'axis':_0x36bcea,'type':_0x368499(0x17d),'index':_0x11f901,'count':_0x1a6869-_0x11f901+0x1};}function _0x1852(){const _0xdb13ba=['getCurrentUnitOfType','_injector','name','object','row','COMMAND','@univerjs-pro/sheets-outline','index','includes','unitId','values','interceptCommand','Invalid\x20outline\x20range','start','_error$','setOutlines','getSheetId','getRowCount','symbol','max','Invalid\x20dimension\x20outline\x20mutation','COLUMN','_getCommandScope','registerPluginResource','forEach','INVALID_RANGE','filter','asObservable','getMaxColumns','_change$','sheet.command.remove-dimension-outline','move-splits-outline','find','toRange','range','max-depth','MAX_DEPTH','sheet.mutation.set-dimension-outline-collapsed','move','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pop','sheet.mutation.clear-dimension-outlines','_outlines','dispose','_univerInstanceService','from','373258ZluVXs','registerCommand','_initCommandInterceptor','string','add','function','redos','complete','_config','onStarting','pipe','set','axis','39cmnfFr','min','sheet.command.add-dimension-outline','sourceStart','sheet.command.clear-dimension-outlines','end','length','fromRange','_resourceManagerService','7616550OeXELK','offset','restoreOutlines','_initRegisterCommand','Move\x20would\x20split\x20dimension\x20outline:\x20','crossing','_sheetInterceptorService','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','destinationIndex','next','361256AxRtIU','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','_initResource','count','DimensionOutlineError','removeUnit','sheet.mutation.add-dimension-outline','insert','136216TQracp','sheet.mutation.remove-dimension-outline','_commandService','_configService','collapsed','2045480nJTLhK','_sheetsOutlineErrorService','startRow','default','mergedOutlines','toPrimitive','sheet.command.set-dimension-outline-collapsed','permissionPointUpdate$','UNIVER_SHEET','params','packageName','entries','subUnitId','maxIndex','Invalid\x20dimension\x20outline\x20move\x20source\x20range','unknown','getActiveSheet','split','preUndos','OUT_OF_BOUNDS','ROW','getUnitOutlines','getSheetBySheetId','serialize','version','emit','constructor','7yAfwqf','MOVE_SPLITS_OUTLINE','decorate','325341oPoSSz','some','join','getOutlines','outlineId','dimension-outline-','startColumn','push','localeCompare','change$','getColumnCount','message','pushUndoRedo','34238149YMEjiO','UNKNOWN','sourceEnd','12YUdUzW','get','pluginName','type','maxDepth','Crossing','reason','getUnitId','_ensureUnitOutlines','mergedOutline','undos','depth','valid','result','map','_sheetsOutlineModel','SHEET_OUTLINE_PLUGIN','8ispKDf','disposeWithMe','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','out-of-bounds','clear-range-not-contain-outline','has','prototype','column','outline','sheet.mutation.transform-dimension-outlines','endRow','endColumn','MUTATION','defineProperty','error$','invalid-range','stringify','sort','120tziZAl','deserialize','delete','getUnit'];_0x1852=function(){return _0xdb13ba;};return _0x1852();}function nt(_0x236e81,_0x53d7b0,_0x4dbe16){const _0x3332c1=_0x1ce52f;let _0x48ff75=X(_0x236e81,_0x4dbe16);if(!(_0x236e81!=null&&_0x236e81[_0x3332c1(0x1fa)])||!_0x48ff75)return null;let _0x3db01c=_0x53d7b0===_0x3332c1(0x1dc)?_0x236e81['range'][_0x3332c1(0x185)]:_0x236e81[_0x3332c1(0x1fa)][_0x3332c1(0x1a7)],_0x44bef7=_0x53d7b0==='row'?_0x236e81[_0x3332c1(0x1fa)][_0x3332c1(0x1cc)]:_0x236e81[_0x3332c1(0x1fa)]['endColumn'];return{..._0x48ff75,'axis':_0x53d7b0,'type':_0x3332c1(0x1d6),'start':_0x3db01c,'end':_0x44bef7};}function rt(_0x11adcf,_0x2a0727,_0x1b0cd6){const _0x5d88da=_0x1ce52f;let _0x39eb4d=X(_0x11adcf,_0x1b0cd6);if(!(_0x11adcf!=null&&_0x11adcf[_0x5d88da(0x16a)])||!_0x11adcf[_0x5d88da(0x1f9)]||!_0x39eb4d)return null;let _0x5b1ccb=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x16a)]['startRow']:_0x11adcf['fromRange']['startColumn'],_0x39be7a=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x16a)]['endRow']:_0x11adcf[_0x5d88da(0x16a)][_0x5d88da(0x1cd)],_0x3fddde=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x1f9)][_0x5d88da(0x185)]:_0x11adcf[_0x5d88da(0x1f9)][_0x5d88da(0x1a7)];return{..._0x39eb4d,'axis':_0x2a0727,'type':_0x5d88da(0x1fe),'sourceStart':_0x5b1ccb,'sourceEnd':_0x39be7a,'destinationIndex':_0x3fddde};}function it(_0x2efe25,_0x26923f){const _0x1eee4b=_0x1ce52f;switch(_0x2efe25[_0x1eee4b(0x1b4)]){case _0x1eee4b(0x17d):return{'unitId':_0x2efe25['unitId'],'subUnitId':_0x2efe25[_0x1eee4b(0x18f)],'axis':_0x2efe25[_0x1eee4b(0x162)],'type':_0x1eee4b(0x1d6),'start':_0x2efe25[_0x1eee4b(0x1df)],'end':_0x2efe25['index']+_0x2efe25[_0x1eee4b(0x179)]-0x1};case _0x1eee4b(0x1d6):return{'unitId':_0x2efe25['unitId'],'subUnitId':_0x2efe25[_0x1eee4b(0x18f)],'axis':_0x2efe25[_0x1eee4b(0x162)],'type':_0x1eee4b(0x17d),'index':_0x2efe25['start'],'count':_0x2efe25[_0x1eee4b(0x168)]-_0x2efe25['start']+0x1,'restoreOutlines':_0x26923f['filter'](_0x2fbcbc=>_0x2fbcbc[_0x1eee4b(0x1e1)]===_0x2efe25[_0x1eee4b(0x1e1)]&&_0x2fbcbc[_0x1eee4b(0x18f)]===_0x2efe25[_0x1eee4b(0x18f)]&&_0x2fbcbc[_0x1eee4b(0x162)]===_0x2efe25[_0x1eee4b(0x162)])};case'move':return at(_0x2efe25);}}function at(_0xaa0aca){const _0x219b9e=_0x1ce52f;let _0x35330a=_0xaa0aca[_0x219b9e(0x1b0)]-_0xaa0aca[_0x219b9e(0x166)]+0x1;return _0xaa0aca[_0x219b9e(0x174)]>=_0xaa0aca[_0x219b9e(0x166)]&&_0xaa0aca['destinationIndex']<=_0xaa0aca['sourceEnd']+0x1?{..._0xaa0aca}:_0xaa0aca[_0x219b9e(0x174)]>_0xaa0aca[_0x219b9e(0x1b0)]+0x1?{..._0xaa0aca,'sourceStart':_0xaa0aca['destinationIndex']-_0x35330a,'sourceEnd':_0xaa0aca[_0x219b9e(0x174)]-0x1,'destinationIndex':_0xaa0aca[_0x219b9e(0x166)]}:{..._0xaa0aca,'sourceStart':_0xaa0aca[_0x219b9e(0x174)],'sourceEnd':_0xaa0aca[_0x219b9e(0x174)]+_0x35330a-0x1,'destinationIndex':_0xaa0aca['sourceEnd']+0x1};}function X(_0x5a2d0a,_0x139d48){const _0x4fae06=_0x1ce52f;let _0x435f7e=(_0x5a2d0a==null?void 0x0:_0x5a2d0a[_0x4fae06(0x1e1)])??(_0x139d48==null?void 0x0:_0x139d48[_0x4fae06(0x1e1)]),_0x2a7598=(_0x5a2d0a==null?void 0x0:_0x5a2d0a['subUnitId'])??(_0x139d48==null?void 0x0:_0x139d48[_0x4fae06(0x18f)]);return _0x435f7e&&_0x2a7598?{'unitId':_0x435f7e,'subUnitId':_0x2a7598}:null;}function Z(){const _0x22dc75=_0x1ce52f;return{'redos':[...q[_0x22dc75(0x15c)]],'undos':[...q[_0x22dc75(0x1bb)]],'preRedos':[...q['preRedos']??[]],'preUndos':[...q[_0x22dc75(0x195)]??[]]};}let Q=class extends _0x28774d{constructor(_0x3848f2,_0x2115c8){const _0x32d3b7=_0x1ce52f;super(),this[_0x32d3b7(0x16b)]=_0x3848f2,this[_0x32d3b7(0x1c0)]=_0x2115c8,this['_initResource']();}[_0x1ce52f(0x178)](){const _0x23272a=_0x1ce52f;this[_0x23272a(0x1c3)](this[_0x23272a(0x16b)][_0x23272a(0x1ef)]({'pluginName':W,'businesses':[_0x1395c1[_0x23272a(0x18b)]],'toJson':_0x3c7d27=>JSON[_0x23272a(0x1d2)](this[_0x23272a(0x1c0)][_0x23272a(0x19a)](_0x3c7d27)),'parseJson':_0xa86f8a=>JSON['parse'](_0xa86f8a),'onLoad':(_0x5d37e2,_0x1e2598)=>this[_0x23272a(0x1c0)][_0x23272a(0x1d5)](_0x5d37e2,_0x1e2598),'onUnLoad':_0x3f2240=>this[_0x23272a(0x1c0)][_0x23272a(0x17b)](_0x3f2240)}));}};Q=K([G(0x0,_0x57db0b),G(0x1,_0xbe0a21(P))],Q);let $=class extends _0xd243c4{constructor(_0xee5c95=Qe,_0x5f4960,_0x17a340,_0x2e44ec){const _0x4237c5=_0x1ce52f;super(),this[_0x4237c5(0x15e)]=_0xee5c95,this[_0x4237c5(0x1d9)]=_0x5f4960,this[_0x4237c5(0x180)]=_0x17a340,this[_0x4237c5(0x181)]=_0x2e44ec;let {..._0x4e0065}=_0x1a0e54({},Qe,this[_0x4237c5(0x15e)]);this[_0x4237c5(0x181)]['setConfig']('sheets-outline.config',_0x4e0065);}[_0x1ce52f(0x15f)](){const _0x164c21=_0x1ce52f;this[_0x164c21(0x1d9)]['add']([P]),this['_injector'][_0x164c21(0x15a)]([F]),this[_0x164c21(0x1d9)]['add']([Q]),this[_0x164c21(0x1d9)][_0x164c21(0x15a)]([J]),this[_0x164c21(0x16f)](),this['_injector'][_0x164c21(0x1b2)](P),this['_injector'][_0x164c21(0x1b2)](F),this[_0x164c21(0x1d9)][_0x164c21(0x1b2)](Q),this['_injector'][_0x164c21(0x1b2)](J);}[_0x1ce52f(0x16f)](){const _0x8e6d00=_0x1ce52f;[z,ze,qe,V][_0x8e6d00(0x1f0)](_0x1addb7=>{const _0x4df2da=_0x8e6d00;this[_0x4df2da(0x1c3)](this[_0x4df2da(0x180)][_0x4df2da(0x157)](_0x1addb7));}),[I,L,H,B,U][_0x8e6d00(0x1f0)](_0x30b372=>{const _0x3c0f88=_0x8e6d00;this['disposeWithMe'](this[_0x3c0f88(0x180)][_0x3c0f88(0x157)](_0x30b372));});}};N($,_0x1ce52f(0x1b3),W),N($,_0x1ce52f(0x18d),Xe),N($,_0x1ce52f(0x19b),Ze),N($,'type',_0x1395c1[_0x1ce52f(0x18b)]),$=K([_0x35d92d(_0x1e0280,_0x1d7adc),G(0x1,_0xbe0a21(_0x1ea18e)),G(0x2,_0x5b34db),G(0x3,_0x3ab1ed)],$);export{z as AddDimensionOutlineCommand,I as AddDimensionOutlineMutation,V as ClearDimensionOutlinesCommand,B as ClearDimensionOutlinesMutation,_e as DimensionOutlineAxis,ve as DimensionOutlineErrorReason,ze as RemoveDimensionOutlineCommand,L as RemoveDimensionOutlineMutation,W as SHEET_OUTLINE_PLUGIN,qe as SetDimensionOutlineCollapsedCommand,H as SetDimensionOutlineCollapsedMutation,F as SheetsOutlineErrorService,P as SheetsOutlineModel,U as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,T as buildDimensionOutlineTree,E as canAddDimensionOutline,Ie as getDimensionOutlineViewPermission$,R as hasDimensionOutlineViewPermission,O as transformOutlinesByDelete,D as transformOutlinesByInsert,k as transformOutlinesByMove};
|
|
1
|
+
function _0x3a3b(_0x4752cf,_0x36561c){_0x4752cf=_0x4752cf-0xb5;const _0x3d421d=_0x3d42();let _0x3a3b38=_0x3d421d[_0x4752cf];return _0x3a3b38;}const _0x43fe3d=_0x3a3b;(function(_0x38672e,_0x5683d5){const _0x33b28f=_0x3a3b,_0x336cde=_0x38672e();while(!![]){try{const _0xf5a685=parseInt(_0x33b28f(0x104))/0x1*(-parseInt(_0x33b28f(0x14e))/0x2)+-parseInt(_0x33b28f(0x12b))/0x3+parseInt(_0x33b28f(0x15d))/0x4+-parseInt(_0x33b28f(0xe8))/0x5+parseInt(_0x33b28f(0xbf))/0x6*(parseInt(_0x33b28f(0xe6))/0x7)+parseInt(_0x33b28f(0xe5))/0x8*(-parseInt(_0x33b28f(0x111))/0x9)+parseInt(_0x33b28f(0xde))/0xa*(parseInt(_0x33b28f(0xdf))/0xb);if(_0xf5a685===_0x5683d5)break;else _0x336cde['push'](_0x336cde['shift']());}catch(_0x36833a){_0x336cde['push'](_0x336cde['shift']());}}}(_0x3d42,0x3bfe4));import{CommandType as _0x5ebc9c,CustomCommandExecutionError as _0x539be5,DependentOn as _0x5c43ca,Disposable as _0xb1c262,ICommandService as _0x1cacbb,IConfigService as _0x473018,IPermissionService as _0x55e23e,IResourceManagerService as _0x3f3d7f,IUndoRedoService as _0x15d8cf,IUniverInstanceService as _0x4d64de,Inject as _0x3d40bd,Injector as _0x217502,Plugin as _0xacd159,UniverInstanceType as _0x4481f0,generateRandomId as _0x31b1a4,merge as _0x36a193,sequenceExecute as _0x490769}from'@univerjs/core';import{InsertColCommand as _0x41349b,InsertRowCommand as _0x54e0ab,MoveColsCommand as _0x1ce04b,MoveRowsCommand as _0x1c660a,RemoveColCommand as _0x41aa47,RemoveRowCommand as _0x2ea397,SetColHiddenMutation as _0x2e1ef4,SetColVisibleMutation as _0xb20ffe,SetRowHiddenMutation as _0x5cbb57,SetRowVisibleMutation as _0x233235,SheetInterceptorService as _0x55c49d,SheetPermissionCheckController as _0x40ba24,UniverSheetsPlugin as _0x57e74f,WorkbookViewPermission as _0x4f9205,WorksheetViewPermission as _0x48e18f,getSheetCommandTarget as _0x1a148e}from'@univerjs/sheets';import{Subject as _0x34a108,of as _0x2723ca}from'rxjs';import{debounceTime as _0x4d308a,map as _0x333349,startWith as _0x2ad35a}from'rxjs/operators';function _0x3d42(){const _0x334731=['children','ROW','@univerjs-pro/sheets-outline','decorate','mergedOutline','index','getUnitOutlines','function','restoreOutlines','sourceEnd','_initRegisterCommand','sheet.command.remove-dimension-outline','unitId','startRow','push','invalid-dimension-outline','COLUMN','sheet.mutation.remove-dimension-outline','maxDepth','some','_ensureUnitOutlines','preRedos','_commandService','preUndos','find','packageName','disposeWithMe','next','call','70kZPrfR','1678897CpfleQ','row','setOutlines','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','getActiveSheet','_resourceManagerService','12048bvVvdQ','468797lOQuWR','map','2336620IBeNiY','dispose','permissionPointUpdate$','removeUnit','Invalid\x20dimension\x20outline\x20mutation','emit','getUnitId','move-splits-outline','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','end','error$','includes','filter','symbol','column','_sheetsOutlineModel','registerCommand','default','stringify','getColumnCount','_sheetInterceptorService','dimension-outline-','parse','toPrimitive','MUTATION','_initResource','_injector','delete','128vgDjkj','getMaxColumns','params','_error$','deserialize','permissionCheckWithoutRange','constructor','pushUndoRedo','pipe','Invalid\x20dimension\x20outline\x20move\x20source\x20range','sheet.command.add-dimension-outline','add','toRange','1251yPRReX','range','asObservable','CROSSING','OUT_OF_BOUNDS','crossing','unknown','type','UNIVER_SHEET','Move\x20would\x20split\x20dimension\x20outline:\x20','fromRange','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','sheet.mutation.set-dimension-outline-collapsed','forEach','_outlines','maxIndex','min','subUnitId','_config','1.0.1','clear-range-not-contain-outline','COMMAND','has','endColumn','complete','sheet.command.set-dimension-outline-collapsed','217194cZmPAC','out-of-bounds','max-depth','serialize','message','getOutlines','_configService','interceptCommand','sheet.mutation.clear-dimension-outlines','change$','_change$','pluginName','version','from','collapsed','axis','insert','valid','_univerInstanceService','reason','clear','sheet.mutation.transform-dimension-outlines','max','split','sourceStart','mergedOutlines','name','count','Invalid\x20outline\x20range','_sheetsOutlineErrorService','getSheetBySheetId','values','string','INVALID_RANGE','sheet.mutation.add-dimension-outline','4762lKtUqS','redos','outlineList','move','object','length','get','result','getRowCount','sheets-outline.config','UNKNOWN','startColumn','getSheetId','outlineId','start','656784qTVpDQ','MAX_DEPTH','prototype','DimensionOutlineError','split\x20dimension\x20outline','set','invalid-range','_getCommandScope','localeCompare','pop','depth','Crossing','_initCommandInterceptor','destinationIndex','6WoSTHr','sort'];_0x3d42=function(){return _0x334731;};return _0x3d42();}import{UniverLicensePlugin as _0x3b8092}from'@univerjs-pro/license';let _e=function(_0x47019a){const _0x4d5c5e=_0x3a3b;return _0x47019a[_0x4d5c5e(0xc2)]=_0x4d5c5e(0xe0),_0x47019a[_0x4d5c5e(0xd1)]=_0x4d5c5e(0xf6),_0x47019a;}({}),ve=function(_0x14accf){const _0x35cdbd=_0x3a3b;return _0x14accf[_0x35cdbd(0x14c)]=_0x35cdbd(0xb7),_0x14accf[_0x35cdbd(0x115)]=_0x35cdbd(0x12c),_0x14accf[_0x35cdbd(0x114)]=_0x35cdbd(0x116),_0x14accf[_0x35cdbd(0x15e)]=_0x35cdbd(0x12d),_0x14accf['MOVE_SPLITS_OUTLINE']=_0x35cdbd(0xef),_0x14accf[_0x35cdbd(0x11c)]=_0x35cdbd(0x125),_0x14accf[_0x35cdbd(0x158)]='unknown',_0x14accf;}({});var S=class extends Error{constructor(_0x1ed3db,_0x1422c3,_0x482c7f){const _0x4a24e2=_0x3a3b;super(_0x1422c3),this[_0x4a24e2(0x13e)]=_0x1ed3db,this[_0x4a24e2(0x15b)]=_0x482c7f,this[_0x4a24e2(0x145)]=_0x4a24e2(0x160);}};function ye(_0x3a464c){const _0x52f75d=_0x3a3b;return _0x3a464c instanceof S?_0x3a464c[_0x52f75d(0x13e)]:_0x3a464c instanceof Error?_0x3a464c[_0x52f75d(0x12f)][_0x52f75d(0xf3)](_0x52f75d(0xb5))?_0x52f75d(0xef):_0x3a464c[_0x52f75d(0x12f)]['includes'](_0x52f75d(0xbb))?_0x52f75d(0x12d):_0x3a464c[_0x52f75d(0x12f)]['includes'](_0x52f75d(0xbc))?_0x52f75d(0x116):_0x3a464c[_0x52f75d(0x12f)][_0x52f75d(0xf3)]('range')?_0x52f75d(0xb7):'unknown':_0x52f75d(0x117);}function be(_0x32737f){const _0x40d126=_0x3a3b;return _0x32737f instanceof S?_0x32737f[_0x40d126(0x15b)]:void 0x0;}const C=0x2**0x35-0x1;function w(_0x4d795b,_0x1c675c){const _0x9bba2f=_0x3a3b;return _0x4d795b[_0x9bba2f(0xcd)]===_0x1c675c['unitId']&&_0x4d795b[_0x9bba2f(0x122)]===_0x1c675c['subUnitId']&&_0x4d795b['axis']===_0x1c675c[_0x9bba2f(0x13a)];}function T(_0x5d0244,_0x2e1d60={}){const _0x305a1e=_0x3a3b;let _0x4d2116=_0x2e1d60[_0x305a1e(0xd3)]??0x8,_0x4bffe6=new Map();for(let _0x291b9b of _0x5d0244){let _0x3ce7f8=_0x291b9b[_0x305a1e(0xcd)]+':'+_0x291b9b[_0x305a1e(0x122)]+':'+_0x291b9b[_0x305a1e(0x13a)],_0x5ccf45=_0x4bffe6[_0x305a1e(0x154)](_0x3ce7f8);_0x5ccf45?_0x5ccf45['push'](_0x291b9b):_0x4bffe6[_0x305a1e(0xb6)](_0x3ce7f8,[_0x291b9b]);}let _0x3a87af=[];for(let _0x321040 of _0x4bffe6[_0x305a1e(0x14a)]()){let _0x2dc4ba=[..._0x321040]['sort'](j),_0x4916dd=[];for(let _0x4a533c of _0x2dc4ba){for(Me(_0x4a533c);_0x4916dd['length']>0x0&&_0x4a533c[_0x305a1e(0x15c)]>_0x4916dd[_0x4916dd[_0x305a1e(0x153)]-0x1][_0x305a1e(0xf1)];)_0x4916dd[_0x305a1e(0xba)]();let _0x5c414e=_0x4916dd[_0x4916dd[_0x305a1e(0x153)]-0x1];if(_0x5c414e&&_0x4a533c['end']>_0x5c414e[_0x305a1e(0xf1)])throw new S(_0x305a1e(0x116),_0x305a1e(0xe2),_0x4a533c['id']);let _0x10aab3=_0x5c414e?_0x5c414e['depth']+0x1:0x1;if(_0x10aab3>_0x4d2116)throw new S(_0x305a1e(0x12d),_0x305a1e(0xf0)+_0x4d2116,_0x4a533c['id']);let _0x234090={..._0x4a533c,'depth':_0x10aab3,'parentId':_0x5c414e==null?void 0x0:_0x5c414e['id'],'anchor':_0x4a533c[_0x305a1e(0xf1)],'children':[]};_0x5c414e?_0x5c414e[_0x305a1e(0xc1)][_0x305a1e(0xcf)](_0x234090):_0x3a87af['push'](_0x234090),_0x4916dd['push'](_0x234090);}}return _0x3a87af;}function E(_0x4c3766,_0xa448f5,_0x2c6c88={}){const _0x4ceb4b=_0x3a3b;if(_0xa448f5[_0x4ceb4b(0x15c)]<0x0||_0xa448f5[_0x4ceb4b(0x15c)]>_0xa448f5[_0x4ceb4b(0xf1)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x2c6c88['maxIndex']!=null&&_0xa448f5['end']>=_0x2c6c88[_0x4ceb4b(0x120)])return{'valid':!0x1,'reason':_0x4ceb4b(0x12c)};let _0x83906e=_0x4c3766[_0x4ceb4b(0xf4)](_0x350618=>w(_0x350618,_0xa448f5));for(let _0x1e9ff1 of _0x83906e)if(Ne(_0x1e9ff1,_0xa448f5))return{'valid':!0x1,'reason':_0x4ceb4b(0x116)};try{T([..._0x4c3766,_0xa448f5],_0x2c6c88);}catch(_0x23ab74){let _0x2a9505=ye(_0x23ab74);return _0x2a9505===_0x4ceb4b(0x12d)?{'valid':!0x1,'reason':_0x4ceb4b(0x12d)}:_0x2a9505===_0x4ceb4b(0xb7)?{'valid':!0x1,'reason':_0x4ceb4b(0xb7)}:{'valid':!0x1,'reason':_0x4ceb4b(0x116)};}return{'valid':!0x0};}function xe(_0x107d3d,_0x3f7c9d,_0x545c61={}){const _0x5c9ce1=_0x3a3b;let _0x280293=E(_0x107d3d,_0x3f7c9d,_0x545c61);if(!_0x280293[_0x5c9ce1(0x13c)])throw Error(_0x280293[_0x5c9ce1(0x13e)]??_0x5c9ce1(0xd0));return[..._0x107d3d,_0x3f7c9d];}function Se(_0x4d4100,_0x212d3a){const _0x23adfc=_0x3a3b;let _0xe3e865=_0x212d3a['start'],_0xf89f01=_0x212d3a[_0x23adfc(0xf1)],_0x4a2712=[],_0x1b6cf8=!0x0;for(;_0x1b6cf8;){_0x1b6cf8=!0x1;for(let _0x13188e of _0x4d4100)!_0x4a2712[_0x23adfc(0xf3)](_0x13188e)&&w(_0x13188e,_0x212d3a)&&Ae(_0x13188e[_0x23adfc(0x15c)],_0x13188e[_0x23adfc(0xf1)],_0xe3e865,_0xf89f01)&&(_0x4a2712[_0x23adfc(0xcf)](_0x13188e),_0xe3e865=Math['min'](_0xe3e865,_0x13188e[_0x23adfc(0x15c)]),_0xf89f01=Math['max'](_0xf89f01,_0x13188e[_0x23adfc(0xf1)]),_0x1b6cf8=!0x0);}if(_0x4a2712['length']===0x0)return null;let [_0x45e094]=[..._0x4a2712][_0x23adfc(0xc0)](j);return{'mergedOutline':{..._0x45e094,'start':_0xe3e865,'end':_0xf89f01},'mergedOutlines':_0x4a2712};}function Ce(_0x43ac61,_0x33eec8){const _0x13a54a=_0x3a3b;return _0x43ac61['filter'](_0x12e4e7=>!w(_0x12e4e7,_0x33eec8)||!(_0x12e4e7[_0x13a54a(0x15c)]>=_0x33eec8[_0x13a54a(0x15c)]&&_0x12e4e7['end']<=_0x33eec8[_0x13a54a(0xf1)]));}function we(_0x39c51a,_0x2b5cf7,_0x3e204d,_0x28fe83){const _0x3d054c=_0x3a3b;return Te(_0x39c51a[_0x3d054c(0xf4)](_0x4935ca=>_0x4935ca[_0x3d054c(0xcd)]===_0x2b5cf7&&_0x4935ca[_0x3d054c(0x122)]===_0x3e204d&&_0x4935ca[_0x3d054c(0x13a)]===_0x28fe83&&_0x4935ca[_0x3d054c(0x139)])[_0x3d054c(0xe7)](_0x539c57=>({'start':_0x539c57[_0x3d054c(0x15c)],'end':_0x539c57[_0x3d054c(0xf1)]})));}function Te(_0xf37ee){const _0x41c98d=_0x3a3b;if(_0xf37ee['length']===0x0)return[];let _0x24fa35=[..._0xf37ee][_0x41c98d(0xc0)]((_0x2ae5f4,_0x2d8009)=>_0x2ae5f4[_0x41c98d(0x15c)]-_0x2d8009[_0x41c98d(0x15c)]||_0x2ae5f4['end']-_0x2d8009[_0x41c98d(0xf1)]),_0x340b24=[];for(let _0x156464 of _0x24fa35){let _0x3b2490=_0x340b24[_0x340b24[_0x41c98d(0x153)]-0x1];!_0x3b2490||_0x156464['start']>_0x3b2490[_0x41c98d(0xf1)]+0x1?_0x340b24[_0x41c98d(0xcf)]({..._0x156464}):_0x3b2490[_0x41c98d(0xf1)]=Math[_0x41c98d(0x141)](_0x3b2490['end'],_0x156464[_0x41c98d(0xf1)]);}return _0x340b24;}function D(_0x45826a,_0xc6ca7c){const _0x3c7917=_0x3a3b;return _0xc6ca7c[_0x3c7917(0x146)]<=0x0?_0x45826a:A(_0x45826a['map'](_0x53850c=>w(_0x53850c,_0xc6ca7c)?_0xc6ca7c['index']<=_0x53850c[_0x3c7917(0x15c)]?{..._0x53850c,'start':_0x53850c[_0x3c7917(0x15c)]+_0xc6ca7c[_0x3c7917(0x146)],'end':_0x53850c[_0x3c7917(0xf1)]+_0xc6ca7c['count']}:_0x53850c['start']<_0xc6ca7c['index']&&_0xc6ca7c[_0x3c7917(0xc6)]<=_0x53850c['end']?{..._0x53850c,'end':_0x53850c[_0x3c7917(0xf1)]+_0xc6ca7c['count']}:_0x53850c:_0x53850c));}function O(_0xecface,_0x3219ff){const _0x40ef17=_0x3a3b;if(_0x3219ff[_0x40ef17(0x15c)]>_0x3219ff[_0x40ef17(0xf1)])return _0xecface;let _0x17bd94=_0x3219ff['end']-_0x3219ff[_0x40ef17(0x15c)]+0x1,_0x26b719=[];for(let _0x110d53 of _0xecface){if(!w(_0x110d53,_0x3219ff)){_0x26b719[_0x40ef17(0xcf)](_0x110d53);continue;}if(_0x110d53[_0x40ef17(0xf1)]<_0x3219ff['start']){_0x26b719[_0x40ef17(0xcf)](_0x110d53);continue;}if(_0x110d53['start']>_0x3219ff[_0x40ef17(0xf1)]){_0x26b719[_0x40ef17(0xcf)]({..._0x110d53,'start':_0x110d53[_0x40ef17(0x15c)]-_0x17bd94,'end':_0x110d53['end']-_0x17bd94});continue;}let _0x4f7213=Math[_0x40ef17(0x141)](_0x110d53[_0x40ef17(0x15c)],_0x3219ff['start']),_0x3a5e27=Math[_0x40ef17(0x121)](_0x110d53[_0x40ef17(0xf1)],_0x3219ff[_0x40ef17(0xf1)]),_0x17b399=Math['max'](0x0,_0x3a5e27-_0x4f7213+0x1),_0x1f8d55=_0x110d53[_0x40ef17(0xf1)]-_0x110d53[_0x40ef17(0x15c)]+0x1-_0x17b399;if(_0x1f8d55<=0x0)continue;let _0x46b809=_0x110d53['start']<_0x3219ff[_0x40ef17(0x15c)]?_0x110d53[_0x40ef17(0x15c)]:_0x3219ff[_0x40ef17(0x15c)];_0x26b719[_0x40ef17(0xcf)]({..._0x110d53,'start':_0x46b809,'end':_0x46b809+_0x1f8d55-0x1});}return A(_0x26b719);}function k(_0x2dc7db,_0xd20cab){const _0x276ef6=_0x3a3b;if(_0xd20cab[_0x276ef6(0x143)]>_0xd20cab[_0x276ef6(0xca)])return _0x2dc7db;let _0x3c4d17=[];for(let _0x1d50c2 of _0x2dc7db){if(!w(_0x1d50c2,_0xd20cab)){_0x3c4d17[_0x276ef6(0xcf)](_0x1d50c2);continue;}let _0x28179a=Ee(_0x1d50c2,_0xd20cab);if(_0x28179a['type']===_0x276ef6(0x142))throw new S('move-splits-outline',_0x276ef6(0x11a)+_0x1d50c2['id'],_0x1d50c2['id']);_0x3c4d17['push'](_0x28179a['outline']);}return A(_0x3c4d17);}function Ee(_0x28b91e,_0x548c12){const _0x1809e9=_0x3a3b;let _0x24a75f=De(_0x548c12['sourceStart'],_0x548c12[_0x1809e9(0xca)]+0x1,_0x548c12['destinationIndex']),_0x321437=[],_0x3a4266={'start':_0x28b91e[_0x1809e9(0x15c)],'end':_0x28b91e[_0x1809e9(0xf1)]+0x1};for(let _0xf69c66 of _0x24a75f){let _0x2ac3c8=Oe(_0x3a4266,_0xf69c66[_0x1809e9(0x112)]);_0x2ac3c8&&_0x321437[_0x1809e9(0xcf)]({'start':_0x2ac3c8[_0x1809e9(0x15c)]+_0xf69c66['offset'],'end':_0x2ac3c8[_0x1809e9(0xf1)]+_0xf69c66['offset']});}let _0x2d9c08=ke(_0x321437);return _0x2d9c08[_0x1809e9(0x153)]===0x1?{'type':'ok','outline':{..._0x28b91e,'start':_0x2d9c08[0x0]['start'],'end':_0x2d9c08[0x0][_0x1809e9(0xf1)]-0x1}}:{'type':'split','outline':_0x28b91e,'ranges':_0x2d9c08};}function De(_0x5baaae,_0x392a16,_0xca03a3){const _0x116cd2=_0x3a3b;let _0xc167fb=_0x392a16-_0x5baaae;if(_0xc167fb<=0x0)throw Error(_0x116cd2(0x10d));return _0xca03a3>=_0x5baaae&&_0xca03a3<=_0x392a16?[{'range':{'start':0x0,'end':C},'offset':0x0}]:_0xca03a3<_0x5baaae?[{'range':{'start':0x0,'end':_0xca03a3},'offset':0x0},{'range':{'start':_0xca03a3,'end':_0x5baaae},'offset':_0xc167fb},{'range':{'start':_0x5baaae,'end':_0x392a16},'offset':_0xca03a3-_0x5baaae},{'range':{'start':_0x392a16,'end':C},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x5baaae},'offset':0x0},{'range':{'start':_0x5baaae,'end':_0x392a16},'offset':_0xca03a3-_0x392a16},{'range':{'start':_0x392a16,'end':_0xca03a3},'offset':-_0xc167fb},{'range':{'start':_0xca03a3,'end':C},'offset':0x0}];}function Oe(_0x4fa1b2,_0x2498b0){const _0x8f5db0=_0x3a3b;let _0xe2e390=Math[_0x8f5db0(0x141)](_0x4fa1b2[_0x8f5db0(0x15c)],_0x2498b0[_0x8f5db0(0x15c)]),_0x52c00b=Math[_0x8f5db0(0x121)](_0x4fa1b2['end'],_0x2498b0[_0x8f5db0(0xf1)]);return _0xe2e390>=_0x52c00b?null:{'start':_0xe2e390,'end':_0x52c00b};}function ke(_0x2ab61e){const _0x2e71d0=_0x3a3b;if(_0x2ab61e[_0x2e71d0(0x153)]===0x0)return[];let _0x17841c=[..._0x2ab61e][_0x2e71d0(0xc0)]((_0x59de9b,_0x1e6524)=>_0x59de9b[_0x2e71d0(0x15c)]-_0x1e6524[_0x2e71d0(0x15c)]||_0x59de9b[_0x2e71d0(0xf1)]-_0x1e6524[_0x2e71d0(0xf1)]),_0x35451b=[];for(let _0x61f906 of _0x17841c){let _0x547bc9=_0x35451b[_0x35451b[_0x2e71d0(0x153)]-0x1];!_0x547bc9||_0x61f906[_0x2e71d0(0x15c)]>_0x547bc9[_0x2e71d0(0xf1)]?_0x35451b['push']({..._0x61f906}):_0x547bc9['end']=Math['max'](_0x547bc9[_0x2e71d0(0xf1)],_0x61f906[_0x2e71d0(0xf1)]);}return _0x35451b;}function Ae(_0x127b01,_0x3ea50e,_0xd82b86,_0x49dfa6){return _0x3ea50e+0x1===_0xd82b86||_0x49dfa6+0x1===_0x127b01;}function A(_0x373c0f){let _0xebf50b=je(_0x373c0f);return T(_0xebf50b),_0xebf50b;}function je(_0x31a935){const _0x464be7=_0x3a3b;let _0xa5cf1b=new Map();for(let _0x491762 of _0x31a935){let _0x2c0c51=[_0x491762[_0x464be7(0xcd)],_0x491762[_0x464be7(0x122)],_0x491762[_0x464be7(0x13a)],_0x491762[_0x464be7(0x15c)],_0x491762[_0x464be7(0xf1)]]['join'](':'),_0x3b9b4b=_0xa5cf1b[_0x464be7(0x154)](_0x2c0c51);if(!_0x3b9b4b){_0xa5cf1b[_0x464be7(0xb6)](_0x2c0c51,_0x491762);continue;}_0xa5cf1b[_0x464be7(0xb6)](_0x2c0c51,{..._0x3b9b4b,'collapsed':_0x3b9b4b[_0x464be7(0x139)]||_0x491762[_0x464be7(0x139)]});}return Array[_0x464be7(0x138)](_0xa5cf1b[_0x464be7(0x14a)]());}function j(_0xf13602,_0xbd296a){const _0x2dd550=_0x3a3b;return _0xf13602[_0x2dd550(0xcd)]===_0xbd296a[_0x2dd550(0xcd)]?_0xf13602[_0x2dd550(0x122)]===_0xbd296a['subUnitId']?_0xf13602[_0x2dd550(0x13a)]===_0xbd296a[_0x2dd550(0x13a)]?_0xf13602[_0x2dd550(0x15c)]===_0xbd296a[_0x2dd550(0x15c)]?_0xbd296a[_0x2dd550(0xf1)]-_0xf13602[_0x2dd550(0xf1)]:_0xf13602[_0x2dd550(0x15c)]-_0xbd296a[_0x2dd550(0x15c)]:_0xf13602[_0x2dd550(0x13a)]['localeCompare'](_0xbd296a[_0x2dd550(0x13a)]):_0xf13602[_0x2dd550(0x122)]['localeCompare'](_0xbd296a['subUnitId']):_0xf13602['unitId'][_0x2dd550(0xb9)](_0xbd296a[_0x2dd550(0xcd)]);}function Me(_0x4f958e){const _0x16ab05=_0x3a3b;if(_0x4f958e[_0x16ab05(0x15c)]>_0x4f958e[_0x16ab05(0xf1)])throw new S('invalid-range',_0x16ab05(0x147),_0x4f958e['id']);}function Ne(_0x11fe64,_0x339efe){const _0x48bd79=_0x3a3b;let _0x13b85f=_0x11fe64[_0x48bd79(0x15c)]<=_0x339efe[_0x48bd79(0xf1)]&&_0x339efe[_0x48bd79(0x15c)]<=_0x11fe64[_0x48bd79(0xf1)],_0x4a6c84=_0x11fe64[_0x48bd79(0x15c)]<=_0x339efe['start']&&_0x339efe['end']<=_0x11fe64[_0x48bd79(0xf1)],_0x4230df=_0x339efe[_0x48bd79(0x15c)]<=_0x11fe64['start']&&_0x11fe64[_0x48bd79(0xf1)]<=_0x339efe[_0x48bd79(0xf1)];return _0x13b85f&&!_0x4a6c84&&!_0x4230df;}function M(_0x1edba0){'@babel/helpers - typeof';const _0x416641=_0x3a3b;return M=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x416641(0xf5)?function(_0x4c22e4){return typeof _0x4c22e4;}:function(_0x53d536){const _0x291df2=_0x416641;return _0x53d536&&typeof Symbol==_0x291df2(0xc8)&&_0x53d536[_0x291df2(0x10a)]===Symbol&&_0x53d536!==Symbol[_0x291df2(0x15f)]?_0x291df2(0xf5):typeof _0x53d536;},M(_0x1edba0);}function Pe(_0x2a8c7d,_0x32341f){const _0x4a69ec=_0x3a3b;if(M(_0x2a8c7d)!=_0x4a69ec(0x152)||!_0x2a8c7d)return _0x2a8c7d;var _0x4559fd=_0x2a8c7d[Symbol[_0x4a69ec(0xff)]];if(_0x4559fd!==void 0x0){var _0x3964e1=_0x4559fd[_0x4a69ec(0xdd)](_0x2a8c7d,_0x32341f||_0x4a69ec(0xf9));if(M(_0x3964e1)!=_0x4a69ec(0x152))return _0x3964e1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x32341f===_0x4a69ec(0x14b)?String:Number)(_0x2a8c7d);}function Fe(_0x501497){const _0x34bbd8=_0x3a3b;var _0x310689=Pe(_0x501497,_0x34bbd8(0x14b));return M(_0x310689)==_0x34bbd8(0xf5)?_0x310689:_0x310689+'';}function N(_0x22f62e,_0x36252d,_0x41c51c){return(_0x36252d=Fe(_0x36252d))in _0x22f62e?Object['defineProperty'](_0x22f62e,_0x36252d,{'value':_0x41c51c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x22f62e[_0x36252d]=_0x41c51c,_0x22f62e;}var P=class extends _0xb1c262{constructor(..._0x30d2ea){const _0x509efc=_0x3a3b;super(..._0x30d2ea),N(this,'_outlines',new Map()),N(this,_0x509efc(0x135),new _0x34a108()),N(this,_0x509efc(0x134),this['_change$'][_0x509efc(0x113)]());}[_0x43fe3d(0x130)](_0x1f4123,_0x36d699){const _0x148f37=_0x43fe3d;var _0x564b74;return[...((_0x564b74=this[_0x148f37(0x11f)]['get'](_0x1f4123))==null?void 0x0:_0x564b74[_0x148f37(0x154)](_0x36d699))??[]];}[_0x43fe3d(0xc7)](_0x5805ce){const _0x24f2ca=_0x43fe3d;let _0x39ebcb=this['_outlines'][_0x24f2ca(0x154)](_0x5805ce),_0x33d78c=new Map();return _0x39ebcb==null||_0x39ebcb['forEach']((_0x502b9a,_0x42a79e)=>{const _0x2e74fb=_0x24f2ca;_0x33d78c[_0x2e74fb(0xb6)](_0x42a79e,[..._0x502b9a]);}),_0x33d78c;}[_0x43fe3d(0xe1)](_0x3356c5,_0x55e0ac,_0x388020){const _0x4bdf69=_0x43fe3d;this[_0x4bdf69(0xd5)](_0x3356c5)['set'](_0x55e0ac,[..._0x388020]),this['_change$'][_0x4bdf69(0xdc)]({'unitId':_0x3356c5,'subUnitId':_0x55e0ac});}['removeUnit'](_0x59f860){const _0x184125=_0x43fe3d;this[_0x184125(0x11f)][_0x184125(0x103)](_0x59f860),this['_change$'][_0x184125(0xdc)]({'unitId':_0x59f860});}['serialize'](_0x85d9f5){const _0x5bdf35=_0x43fe3d;let _0xe8bec0=this[_0x5bdf35(0x11f)][_0x5bdf35(0x154)](_0x85d9f5),_0x125b5f={};return _0xe8bec0==null||_0xe8bec0['forEach']((_0x42a9cd,_0x3cac87)=>{_0x125b5f[_0x3cac87]={'outlineList':[..._0x42a9cd]};}),_0x125b5f;}[_0x43fe3d(0x108)](_0x198768,_0x5261c6){const _0x47442f=_0x43fe3d;let _0x1a5376=new Map();Object['entries'](_0x5261c6)[_0x47442f(0x11e)](([_0x451e81,_0x55e918])=>{const _0x4dbde3=_0x47442f;_0x1a5376[_0x4dbde3(0xb6)](_0x451e81,[..._0x55e918[_0x4dbde3(0x150)]??[]]);}),this[_0x47442f(0x11f)][_0x47442f(0xb6)](_0x198768,_0x1a5376),this[_0x47442f(0x135)][_0x47442f(0xdc)]({'unitId':_0x198768});}[_0x43fe3d(0xe9)](){const _0x5f4ad6=_0x43fe3d;super[_0x5f4ad6(0xe9)](),this[_0x5f4ad6(0x11f)][_0x5f4ad6(0x13f)](),this[_0x5f4ad6(0x135)][_0x5f4ad6(0x129)]();}[_0x43fe3d(0xd5)](_0x6fb93b){const _0x36c5ad=_0x43fe3d;let _0x24fba4=this['_outlines'][_0x36c5ad(0x154)](_0x6fb93b);return _0x24fba4||(_0x24fba4=new Map(),this[_0x36c5ad(0x11f)][_0x36c5ad(0xb6)](_0x6fb93b,_0x24fba4)),_0x24fba4;}},F=class extends _0xb1c262{constructor(..._0x4ac2c1){const _0x2dc35a=_0x43fe3d;super(..._0x4ac2c1),N(this,_0x2dc35a(0x107),new _0x34a108()),N(this,_0x2dc35a(0xf2),this['_error$'][_0x2dc35a(0x113)]());}['emit'](_0xcf10c8){const _0x5ce92c=_0x43fe3d;this['_error$'][_0x5ce92c(0xdc)](_0xcf10c8);}[_0x43fe3d(0xe9)](){const _0x1f4cfa=_0x43fe3d;super['dispose'](),this[_0x1f4cfa(0x107)]['complete']();}};const I={'id':_0x43fe3d(0x14d),'type':_0x5ebc9c['MUTATION'],'handler':(_0x5499c2,_0x1f3af8)=>{const _0x292088=_0x43fe3d;let _0x481b16=_0x5499c2[_0x292088(0x154)](P),_0x26a35f=_0x481b16[_0x292088(0x130)](_0x1f3af8[_0x292088(0xcd)],_0x1f3af8[_0x292088(0x122)]);return _0x481b16[_0x292088(0xe1)](_0x1f3af8[_0x292088(0xcd)],_0x1f3af8['subUnitId'],xe(_0x26a35f,_0x1f3af8['outline'])),!0x0;}},L={'id':_0x43fe3d(0xd2),'type':_0x5ebc9c[_0x43fe3d(0x100)],'handler':(_0x44262c,_0x2d9958)=>{const _0x24ea76=_0x43fe3d;let _0x59d55f=_0x44262c['get'](P),_0x2e6443=_0x59d55f[_0x24ea76(0x130)](_0x2d9958['unitId'],_0x2d9958[_0x24ea76(0x122)]);return _0x59d55f[_0x24ea76(0xe1)](_0x2d9958[_0x24ea76(0xcd)],_0x2d9958[_0x24ea76(0x122)],_0x2e6443['filter'](_0x5762b3=>_0x5762b3['id']!==_0x2d9958[_0x24ea76(0x15b)])),!0x0;}};function R(_0x584e0c,_0x29d501,_0x554641){const _0x4b2c94=_0x43fe3d;let _0x3d7dd7=Le(_0x584e0c);return!_0x3d7dd7||_0x3d7dd7[_0x4b2c94(0x109)]({'workbookTypes':[_0x4f9205],'worksheetTypes':[_0x48e18f]},_0x29d501,_0x554641);}function Ie(_0x330d87,_0x1fb5db,_0x4f9703){const _0x423c5c=_0x43fe3d;let _0x380d97=Re(_0x330d87);return((_0x380d97==null?void 0x0:_0x380d97[_0x423c5c(0xea)])??_0x2723ca(null))[_0x423c5c(0x10c)](_0x4d308a(0x64),_0x2ad35a(null),_0x333349(()=>R(_0x330d87,_0x1fb5db,_0x4f9703)));}function Le(_0x2aec25){const _0x5b0e8d=_0x43fe3d;if(typeof _0x2aec25['has']==_0x5b0e8d(0xc8)&&!_0x2aec25[_0x5b0e8d(0x127)](_0x40ba24))return null;try{return _0x2aec25[_0x5b0e8d(0x154)](_0x40ba24);}catch{return null;}}function Re(_0x12badb){const _0x390a62=_0x43fe3d;if(typeof _0x12badb[_0x390a62(0x127)]==_0x390a62(0xc8)&&!_0x12badb['has'](_0x55e23e))return null;try{return _0x12badb[_0x390a62(0x154)](_0x55e23e);}catch{return null;}}const z={'id':_0x43fe3d(0x10e),'type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x49ef07,_0x4b5d47)=>{const _0x32f5ff=_0x43fe3d;if(!_0x4b5d47)return!0x1;let _0x38c469=_0x1a148e(_0x49ef07['get'](_0x4d64de),_0x4b5d47);if(!_0x38c469)return!0x1;let {unitId:_0x15d3aa,subUnitId:_0x122393,worksheet:_0x39ef57}=_0x38c469;if(!R(_0x49ef07,_0x15d3aa,_0x122393))return!0x1;let _0x1ffc98=_0x49ef07[_0x32f5ff(0x154)](P),_0x436e52={'id':_0x32f5ff(0xfd)+_0x31b1a4(0x6),'unitId':_0x15d3aa,'subUnitId':_0x122393,'axis':_0x4b5d47[_0x32f5ff(0x13a)],'start':_0x4b5d47[_0x32f5ff(0x15c)],'end':_0x4b5d47['end'],'collapsed':!0x1},_0x5d4931=_0x4b5d47[_0x32f5ff(0x13a)]===_0x32f5ff(0xe0)?_0x39ef57[_0x32f5ff(0x156)]():_0x39ef57[_0x32f5ff(0xfb)](),_0x37073e=_0x1ffc98[_0x32f5ff(0x130)](_0x15d3aa,_0x122393),_0x44d160=Se(_0x37073e,_0x436e52),_0x2c2ebb=(_0x44d160==null?void 0x0:_0x44d160[_0x32f5ff(0x144)])??[],_0x1d65c3=(_0x44d160==null?void 0x0:_0x44d160[_0x32f5ff(0xc5)])??_0x436e52,_0x4a0c73=E(_0x44d160?_0x37073e['filter'](_0x4ca5ee=>!_0x2c2ebb[_0x32f5ff(0xd4)](_0x5a2168=>_0x5a2168['id']===_0x4ca5ee['id'])):_0x37073e,_0x1d65c3,{'maxIndex':_0x5d4931});if(!_0x4a0c73[_0x32f5ff(0x13c)])return _0x49ef07[_0x32f5ff(0x154)](F)['emit']({'reason':_0x4a0c73[_0x32f5ff(0x13e)]??_0x32f5ff(0x117),'commandId':z['id'],'unitId':_0x15d3aa,'subUnitId':_0x122393,'axis':_0x4b5d47[_0x32f5ff(0x13a)],'outlineId':_0x1d65c3['id']}),!0x1;let _0x4e1f16=[..._0x2c2ebb[_0x32f5ff(0xe7)](_0x19fcb2=>({'id':L['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outlineId':_0x19fcb2['id']}})),{'id':I['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outline':_0x1d65c3}}],_0x5533e4=[{'id':L['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outlineId':_0x1d65c3['id']}},..._0x2c2ebb[_0x32f5ff(0xe7)](_0x44e520=>({'id':I['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outline':_0x44e520}}))];return _0x490769(_0x4e1f16,_0x49ef07[_0x32f5ff(0x154)](_0x1cacbb))['result']?(_0x49ef07['get'](_0x15d8cf)['pushUndoRedo']({'unitID':_0x15d3aa,'undoMutations':_0x5533e4,'redoMutations':_0x4e1f16}),!0x0):!0x1;}},B={'id':_0x43fe3d(0x133),'type':_0x5ebc9c['MUTATION'],'handler':(_0x16c6d4,_0x195500)=>{const _0x89a93c=_0x43fe3d;let _0x212c12=_0x16c6d4[_0x89a93c(0x154)](P),_0x55cf0d=_0x212c12['getOutlines'](_0x195500[_0x89a93c(0xcd)],_0x195500['subUnitId']);return _0x212c12[_0x89a93c(0xe1)](_0x195500[_0x89a93c(0xcd)],_0x195500[_0x89a93c(0x122)],Ce(_0x55cf0d,_0x195500)),!0x0;}},V={'id':'sheet.command.clear-dimension-outlines','type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x2218e2,_0x242bce)=>{const _0x3917f9=_0x43fe3d;if(!_0x242bce)return!0x1;let _0x4d0d96=_0x1a148e(_0x2218e2[_0x3917f9(0x154)](_0x4d64de),_0x242bce);if(!_0x4d0d96)return!0x1;let {unitId:_0x230154,subUnitId:_0x353d87}=_0x4d0d96;if(!R(_0x2218e2,_0x230154,_0x353d87))return!0x1;let _0x526cb3={'unitId':_0x230154,'subUnitId':_0x353d87,'axis':_0x242bce[_0x3917f9(0x13a)],'start':_0x242bce[_0x3917f9(0x15c)],'end':_0x242bce['end']},_0x4d8ea7=_0x2218e2['get'](P)[_0x3917f9(0x130)](_0x230154,_0x353d87)[_0x3917f9(0xf4)](_0x363454=>w(_0x363454,_0x526cb3)&&_0x363454['start']>=_0x242bce[_0x3917f9(0x15c)]&&_0x363454[_0x3917f9(0xf1)]<=_0x242bce[_0x3917f9(0xf1)]);if(_0x4d8ea7['length']===0x0)return _0x2218e2[_0x3917f9(0x154)](F)[_0x3917f9(0xed)]({'reason':_0x3917f9(0x125),'commandId':V['id'],'unitId':_0x230154,'subUnitId':_0x353d87,'axis':_0x242bce[_0x3917f9(0x13a)]}),!0x1;let _0x246059=[{'id':B['id'],'params':{..._0x526cb3,'removedOutlineIds':_0x4d8ea7['map'](_0x128209=>_0x128209['id'])}}],_0x2755d8=_0x4d8ea7[_0x3917f9(0xe7)](_0x2ccb71=>({'id':I['id'],'params':{'unitId':_0x230154,'subUnitId':_0x353d87,'outline':_0x2ccb71}}));return _0x490769(_0x246059,_0x2218e2[_0x3917f9(0x154)](_0x1cacbb))[_0x3917f9(0x155)]?(_0x2218e2[_0x3917f9(0x154)](_0x15d8cf)[_0x3917f9(0x10b)]({'unitID':_0x230154,'undoMutations':_0x2755d8,'redoMutations':_0x246059}),!0x0):!0x1;}},ze={'id':_0x43fe3d(0xcc),'type':_0x5ebc9c['COMMAND'],'handler':(_0x3e3f32,_0x473d0e)=>{const _0x582496=_0x43fe3d;if(!_0x473d0e)return!0x1;let _0xf352ac=_0x1a148e(_0x3e3f32['get'](_0x4d64de),_0x473d0e);if(!_0xf352ac)return!0x1;let {unitId:_0x40a9ae,subUnitId:_0x53c43e}=_0xf352ac;if(!R(_0x3e3f32,_0x40a9ae,_0x53c43e))return!0x1;let _0x1aa529=_0x3e3f32[_0x582496(0x154)](P)[_0x582496(0x130)](_0x40a9ae,_0x53c43e)[_0x582496(0xd9)](_0xa71fa4=>_0xa71fa4['id']===_0x473d0e[_0x582496(0x15b)]);if(!_0x1aa529)return!0x1;let _0x35f9a1=[{'id':L['id'],'params':{'unitId':_0x40a9ae,'subUnitId':_0x53c43e,'outlineId':_0x1aa529['id'],'outline':_0x1aa529}}],_0x330fdc=[{'id':I['id'],'params':{'unitId':_0x40a9ae,'subUnitId':_0x53c43e,'outline':_0x1aa529}}];return _0x490769(_0x35f9a1,_0x3e3f32[_0x582496(0x154)](_0x1cacbb))[_0x582496(0x155)]?(_0x3e3f32['get'](_0x15d8cf)[_0x582496(0x10b)]({'unitID':_0x40a9ae,'undoMutations':_0x330fdc,'redoMutations':_0x35f9a1}),!0x0):!0x1;}},H={'id':_0x43fe3d(0x11d),'type':_0x5ebc9c['MUTATION'],'handler':(_0x2f7604,_0x1114ee)=>{const _0x90a759=_0x43fe3d;let _0x494ee2=_0x2f7604[_0x90a759(0x154)](P),_0x508fb2=_0x494ee2[_0x90a759(0x130)](_0x1114ee[_0x90a759(0xcd)],_0x1114ee[_0x90a759(0x122)]),_0x22d343=_0x508fb2[_0x90a759(0xd9)](_0x5eae08=>_0x5eae08['id']===_0x1114ee[_0x90a759(0x15b)]);return _0x22d343&&_0x494ee2[_0x90a759(0xe1)](_0x1114ee[_0x90a759(0xcd)],_0x1114ee['subUnitId'],_0x508fb2['map'](_0x1d460c=>_0x1d460c[_0x90a759(0xcd)]!==_0x22d343[_0x90a759(0xcd)]||_0x1d460c['subUnitId']!==_0x22d343[_0x90a759(0x122)]||_0x1d460c[_0x90a759(0x13a)]!==_0x22d343['axis']||_0x1d460c[_0x90a759(0x15c)]!==_0x22d343['start']||_0x1d460c[_0x90a759(0xf1)]!==_0x22d343[_0x90a759(0xf1)]?_0x1d460c:{..._0x1d460c,'collapsed':_0x1114ee[_0x90a759(0x139)]})),!0x0;}};function Be(_0x11742b,_0x576eca,_0xe446bd,_0x5f41f3){const _0x689272=_0x43fe3d;return _0x11742b==='row'?{'startRow':_0x576eca,'endRow':_0xe446bd,'startColumn':0x0,'endColumn':_0x5f41f3[_0x689272(0x105)]()-0x1}:{'startRow':0x0,'endRow':_0x5f41f3['getRowCount']()-0x1,'startColumn':_0x576eca,'endColumn':_0xe446bd};}function Ve(_0x2292ae){return _0x2292ae==='row'?_0x5cbb57['id']:_0x2e1ef4['id'];}function He(_0x5d9e80){const _0x3aeaf0=_0x43fe3d;return _0x5d9e80===_0x3aeaf0(0xe0)?_0x233235['id']:_0xb20ffe['id'];}function Ue(_0x844aa5,_0x3e6278,_0x158a30,_0x25ebb9){const _0xfbda62=_0x43fe3d;let _0x202cce=_0x3e6278?[Be(_0x844aa5[_0xfbda62(0x13a)],_0x844aa5[_0xfbda62(0x15c)],_0x844aa5[_0xfbda62(0xf1)],_0x158a30)]:We(_0x844aa5,_0x25ebb9,_0x158a30),_0x59a14b=_0x3e6278?Ve(_0x844aa5[_0xfbda62(0x13a)]):He(_0x844aa5[_0xfbda62(0x13a)]);return[{'id':H['id'],'params':{'unitId':_0x844aa5[_0xfbda62(0xcd)],'subUnitId':_0x844aa5[_0xfbda62(0x122)],'outlineId':_0x844aa5['id'],'outline':_0x844aa5,'collapsed':_0x3e6278}},..._0x202cce[_0xfbda62(0xe7)](_0x29e120=>({'id':_0x59a14b,'params':{'unitId':_0x844aa5[_0xfbda62(0xcd)],'subUnitId':_0x844aa5[_0xfbda62(0x122)],'ranges':[_0x29e120],'dimensionOutlineId':_0x844aa5['id']}}))];}function We(_0x5bfb37,_0x3fd0d7,_0x340275){const _0x3d527d=_0x43fe3d;let _0x258c63=we(_0x3fd0d7[_0x3d527d(0xe7)](_0xc682be=>Ge(_0xc682be,_0x5bfb37)?{..._0xc682be,'collapsed':!0x1}:_0xc682be),_0x5bfb37['unitId'],_0x5bfb37[_0x3d527d(0x122)],_0x5bfb37[_0x3d527d(0x13a)]);return Ke({'start':_0x5bfb37['start'],'end':_0x5bfb37['end']},_0x258c63)[_0x3d527d(0xe7)](_0x12aa1a=>Be(_0x5bfb37[_0x3d527d(0x13a)],_0x12aa1a[_0x3d527d(0x15c)],_0x12aa1a[_0x3d527d(0xf1)],_0x340275));}function Ge(_0x4ec6cb,_0x400b1b){const _0xa1aa14=_0x43fe3d;return _0x4ec6cb[_0xa1aa14(0xcd)]===_0x400b1b[_0xa1aa14(0xcd)]&&_0x4ec6cb['subUnitId']===_0x400b1b[_0xa1aa14(0x122)]&&_0x4ec6cb[_0xa1aa14(0x13a)]===_0x400b1b[_0xa1aa14(0x13a)]&&_0x4ec6cb[_0xa1aa14(0x15c)]===_0x400b1b[_0xa1aa14(0x15c)]&&_0x4ec6cb[_0xa1aa14(0xf1)]===_0x400b1b['end'];}function Ke(_0x10db2b,_0xa90ca5){const _0x30aa10=_0x43fe3d;let _0x18442d=_0x10db2b['start'],_0x164515=[];for(let _0x2f46f3 of _0xa90ca5)if(!(_0x2f46f3['end']<_0x18442d||_0x2f46f3['start']>_0x10db2b['end'])&&(_0x2f46f3[_0x30aa10(0x15c)]>_0x18442d&&_0x164515[_0x30aa10(0xcf)]({'start':_0x18442d,'end':Math[_0x30aa10(0x121)](_0x2f46f3[_0x30aa10(0x15c)]-0x1,_0x10db2b[_0x30aa10(0xf1)])}),_0x18442d=Math[_0x30aa10(0x141)](_0x18442d,_0x2f46f3[_0x30aa10(0xf1)]+0x1),_0x18442d>_0x10db2b[_0x30aa10(0xf1)]))break;return _0x18442d<=_0x10db2b[_0x30aa10(0xf1)]&&_0x164515[_0x30aa10(0xcf)]({'start':_0x18442d,'end':_0x10db2b[_0x30aa10(0xf1)]}),_0x164515;}const qe={'id':_0x43fe3d(0x12a),'type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x2fe255,_0x5481c5)=>{const _0x39aba5=_0x43fe3d;if(!_0x5481c5)return!0x1;let _0x15ebda=_0x1a148e(_0x2fe255['get'](_0x4d64de),_0x5481c5);if(!_0x15ebda)return!0x1;let {unitId:_0x5bfe8c,subUnitId:_0x2b6c01,worksheet:_0x58b8fe}=_0x15ebda;if(!R(_0x2fe255,_0x5bfe8c,_0x2b6c01))return!0x1;let _0x38a2da=_0x2fe255[_0x39aba5(0x154)](P)[_0x39aba5(0x130)](_0x5bfe8c,_0x2b6c01),_0x21cab4=_0x38a2da[_0x39aba5(0xd9)](_0x1bbb75=>_0x1bbb75['id']===_0x5481c5[_0x39aba5(0x15b)]);if(!_0x21cab4||_0x21cab4['collapsed']===_0x5481c5[_0x39aba5(0x139)])return!0x1;let _0x81e84f=Ue(_0x21cab4,_0x5481c5[_0x39aba5(0x139)],_0x58b8fe,_0x38a2da),_0x22b831=Ue(_0x21cab4,!_0x5481c5[_0x39aba5(0x139)],_0x58b8fe,_0x38a2da);return _0x490769(_0x81e84f,_0x2fe255[_0x39aba5(0x154)](_0x1cacbb))['result']?(_0x2fe255['get'](_0x15d8cf)[_0x39aba5(0x10b)]({'unitID':_0x5bfe8c,'undoMutations':_0x22b831,'redoMutations':_0x81e84f}),!0x0):!0x1;}},U={'id':_0x43fe3d(0x140),'type':_0x5ebc9c['MUTATION'],'handler':(_0xa38703,_0x5dbb76)=>{const _0x5c17cd=_0x43fe3d;let _0x5c88ac=_0xa38703[_0x5c17cd(0x154)](P),_0x135176=Je(_0x5c88ac[_0x5c17cd(0x130)](_0x5dbb76[_0x5c17cd(0xcd)],_0x5dbb76[_0x5c17cd(0x122)]),_0x5dbb76);return _0x5c88ac[_0x5c17cd(0xe1)](_0x5dbb76[_0x5c17cd(0xcd)],_0x5dbb76[_0x5c17cd(0x122)],_0x135176),!0x0;}};function Je(_0x37a266,_0x4b9b04){const _0x23f92b=_0x43fe3d;switch(_0x4b9b04['type']){case _0x23f92b(0x13b):return _0x4b9b04[_0x23f92b(0xc9)]?Ye(_0x37a266,_0x4b9b04):D(_0x37a266,_0x4b9b04);case _0x23f92b(0x103):return O(_0x37a266,_0x4b9b04);case'move':return k(_0x37a266,_0x4b9b04);}}function Ye(_0x21ef0a,_0x829ac3){const _0x78a337=_0x43fe3d;return[..._0x21ef0a[_0x78a337(0xf4)](_0x467fe5=>_0x467fe5[_0x78a337(0xcd)]!==_0x829ac3[_0x78a337(0xcd)]||_0x467fe5['subUnitId']!==_0x829ac3['subUnitId']||_0x467fe5[_0x78a337(0x13a)]!==_0x829ac3[_0x78a337(0x13a)]),..._0x829ac3['restoreOutlines']];}const W='SHEET_OUTLINE_PLUGIN';var Xe=_0x43fe3d(0xc3),Ze=_0x43fe3d(0x124);const Qe={};function G(_0xfeeba,_0x1bae4a){return function(_0x2007aa,_0x52ae35){_0x1bae4a(_0x2007aa,_0x52ae35,_0xfeeba);};}function K(_0xc82b75,_0x2c384d,_0x41f656,_0x7c426c){const _0x5db574=_0x43fe3d;var _0x4c687a=arguments[_0x5db574(0x153)],_0x205683=_0x4c687a<0x3?_0x2c384d:_0x7c426c===null?_0x7c426c=Object['getOwnPropertyDescriptor'](_0x2c384d,_0x41f656):_0x7c426c,_0xa1cbd5;if(typeof Reflect==_0x5db574(0x152)&&typeof Reflect['decorate']==_0x5db574(0xc8))_0x205683=Reflect[_0x5db574(0xc4)](_0xc82b75,_0x2c384d,_0x41f656,_0x7c426c);else{for(var _0x49fe17=_0xc82b75[_0x5db574(0x153)]-0x1;_0x49fe17>=0x0;_0x49fe17--)(_0xa1cbd5=_0xc82b75[_0x49fe17])&&(_0x205683=(_0x4c687a<0x3?_0xa1cbd5(_0x205683):_0x4c687a>0x3?_0xa1cbd5(_0x2c384d,_0x41f656,_0x205683):_0xa1cbd5(_0x2c384d,_0x41f656))||_0x205683);}return _0x4c687a>0x3&&_0x205683&&Object['defineProperty'](_0x2c384d,_0x41f656,_0x205683),_0x205683;}const q={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let J=class extends _0xb1c262{constructor(_0x26ab57,_0x1cb256,_0x3ae8f8,_0x3a89af){const _0x5a28f1=_0x43fe3d;super(),this[_0x5a28f1(0x13d)]=_0x26ab57,this['_sheetInterceptorService']=_0x1cb256,this[_0x5a28f1(0xf7)]=_0x3ae8f8,this[_0x5a28f1(0x148)]=_0x3a89af,this[_0x5a28f1(0xbd)]();}[_0x43fe3d(0xbd)](){const _0x2ef41b=_0x43fe3d;this[_0x2ef41b(0xdb)](this[_0x2ef41b(0xfc)][_0x2ef41b(0x132)]({'getMutations':_0x98a86b=>$e(_0x98a86b,(_0x3f9ee4,_0x1d957d)=>this['_sheetsOutlineModel'][_0x2ef41b(0x130)](_0x3f9ee4,_0x1d957d),this[_0x2ef41b(0xb8)](_0x98a86b[_0x2ef41b(0x106)]),_0x328497=>this['_sheetsOutlineErrorService'][_0x2ef41b(0xed)](_0x328497))}));}[_0x43fe3d(0xb8)](_0x12c1e4){const _0x55a7de=_0x43fe3d;let _0xa597df=_0x12c1e4,_0x3cf03b=_0xa597df!=null&&_0xa597df[_0x55a7de(0xcd)]?this['_univerInstanceService']['getUnit'](_0xa597df['unitId'],_0x4481f0['UNIVER_SHEET']):this[_0x55a7de(0x13d)]['getCurrentUnitOfType'](_0x4481f0[_0x55a7de(0x119)]);if(!_0x3cf03b)return;let _0x39bcf2=_0xa597df!=null&&_0xa597df[_0x55a7de(0x122)]?_0x3cf03b[_0x55a7de(0x149)](_0xa597df[_0x55a7de(0x122)]):_0x3cf03b[_0x55a7de(0xe3)]();if(_0x39bcf2)return{'unitId':_0x3cf03b[_0x55a7de(0xee)](),'subUnitId':_0x39bcf2[_0x55a7de(0x15a)]()};}};J=K([G(0x0,_0x4d64de),G(0x1,_0x3d40bd(_0x55c49d)),G(0x2,_0x3d40bd(P)),G(0x3,_0x3d40bd(F))],J);function $e(_0x595cf4,_0x9a74f7,_0x502e5c,_0x61d3f){const _0x218541=_0x43fe3d;let _0x394836=tt(_0x595cf4,_0x502e5c);if(!_0x394836)return Z();let _0x2cde1a=_0x9a74f7(_0x394836['unitId'],_0x394836['subUnitId']);if(!_0x2cde1a[_0x218541(0xd4)](_0x3398c0=>_0x3398c0[_0x218541(0x13a)]===_0x394836[_0x218541(0x13a)]))return Z();et(_0x2cde1a,_0x394836,_0x595cf4['id'],_0x61d3f);let _0x1454c8=it(_0x394836,_0x2cde1a);return{'redos':[{'id':U['id'],'params':_0x394836}],'undos':[{'id':U['id'],'params':_0x1454c8}],'preRedos':[],'preUndos':[]};}function et(_0x2fb4e8,_0xd168a5,_0x1d4d87,_0x4ee56e){const _0x46284a=_0x43fe3d;try{switch(_0xd168a5['type']){case _0x46284a(0x13b):D(_0x2fb4e8,_0xd168a5);break;case _0x46284a(0x103):O(_0x2fb4e8,_0xd168a5);break;case _0x46284a(0x151):k(_0x2fb4e8,_0xd168a5);}}catch(_0x28449a){throw _0x4ee56e==null||_0x4ee56e({'reason':ye(_0x28449a),'commandId':_0x1d4d87,'unitId':_0xd168a5[_0x46284a(0xcd)],'subUnitId':_0xd168a5['subUnitId'],'axis':_0xd168a5['axis'],'outlineId':be(_0x28449a)}),new _0x539be5(_0x28449a instanceof Error?_0x28449a[_0x46284a(0x12f)]:_0x46284a(0xec));}}function tt(_0x14a832,_0x4c0a16){const _0x5e8853=_0x43fe3d;switch(_0x14a832['id']){case _0x54e0ab['id']:return Y(_0x14a832['params'],_0x5e8853(0xe0),_0x4c0a16);case _0x41349b['id']:return Y(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xf6),_0x4c0a16);case _0x2ea397['id']:return nt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xe0),_0x4c0a16);case _0x41aa47['id']:return nt(_0x14a832[_0x5e8853(0x106)],'column',_0x4c0a16);case _0x1c660a['id']:return rt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xe0),_0x4c0a16);case _0x1ce04b['id']:return rt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xf6),_0x4c0a16);default:return null;}}function Y(_0x1b96a6,_0x27b813,_0x2290ce){const _0x433d64=_0x43fe3d;let _0x1c49be=X(_0x1b96a6,_0x2290ce);if(!(_0x1b96a6!=null&&_0x1b96a6[_0x433d64(0x112)])||!_0x1c49be)return null;let _0x353fb6=_0x27b813===_0x433d64(0xe0)?_0x1b96a6[_0x433d64(0x112)]['startRow']:_0x1b96a6['range'][_0x433d64(0x159)],_0x265394=_0x27b813==='row'?_0x1b96a6[_0x433d64(0x112)]['endRow']:_0x1b96a6[_0x433d64(0x112)][_0x433d64(0x128)];return{..._0x1c49be,'axis':_0x27b813,'type':'insert','index':_0x353fb6,'count':_0x265394-_0x353fb6+0x1};}function nt(_0x5024ce,_0x1bb957,_0x1d6d54){const _0x43b115=_0x43fe3d;let _0x7f0307=X(_0x5024ce,_0x1d6d54);if(!(_0x5024ce!=null&&_0x5024ce['range'])||!_0x7f0307)return null;let _0x28f6fa=_0x1bb957===_0x43b115(0xe0)?_0x5024ce['range']['startRow']:_0x5024ce[_0x43b115(0x112)]['startColumn'],_0x5903e7=_0x1bb957===_0x43b115(0xe0)?_0x5024ce[_0x43b115(0x112)]['endRow']:_0x5024ce['range'][_0x43b115(0x128)];return{..._0x7f0307,'axis':_0x1bb957,'type':'delete','start':_0x28f6fa,'end':_0x5903e7};}function rt(_0xe61232,_0x22dc38,_0x2fa5fb){const _0x25eb83=_0x43fe3d;let _0x4152e4=X(_0xe61232,_0x2fa5fb);if(!(_0xe61232!=null&&_0xe61232['fromRange'])||!_0xe61232[_0x25eb83(0x110)]||!_0x4152e4)return null;let _0x41cc62=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0xce)]:_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0x159)],_0x14001c=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x11b)]['endRow']:_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0x128)],_0x41f30f=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x110)][_0x25eb83(0xce)]:_0xe61232[_0x25eb83(0x110)][_0x25eb83(0x159)];return{..._0x4152e4,'axis':_0x22dc38,'type':'move','sourceStart':_0x41cc62,'sourceEnd':_0x14001c,'destinationIndex':_0x41f30f};}function it(_0x3d184a,_0x71c911){const _0x845738=_0x43fe3d;switch(_0x3d184a[_0x845738(0x118)]){case _0x845738(0x13b):return{'unitId':_0x3d184a[_0x845738(0xcd)],'subUnitId':_0x3d184a[_0x845738(0x122)],'axis':_0x3d184a[_0x845738(0x13a)],'type':_0x845738(0x103),'start':_0x3d184a[_0x845738(0xc6)],'end':_0x3d184a[_0x845738(0xc6)]+_0x3d184a[_0x845738(0x146)]-0x1};case _0x845738(0x103):return{'unitId':_0x3d184a[_0x845738(0xcd)],'subUnitId':_0x3d184a[_0x845738(0x122)],'axis':_0x3d184a['axis'],'type':_0x845738(0x13b),'index':_0x3d184a['start'],'count':_0x3d184a[_0x845738(0xf1)]-_0x3d184a[_0x845738(0x15c)]+0x1,'restoreOutlines':_0x71c911[_0x845738(0xf4)](_0x33dacc=>_0x33dacc[_0x845738(0xcd)]===_0x3d184a[_0x845738(0xcd)]&&_0x33dacc[_0x845738(0x122)]===_0x3d184a[_0x845738(0x122)]&&_0x33dacc[_0x845738(0x13a)]===_0x3d184a[_0x845738(0x13a)])};case _0x845738(0x151):return at(_0x3d184a);}}function at(_0x365f18){const _0x450bf5=_0x43fe3d;let _0x1ed8d4=_0x365f18[_0x450bf5(0xca)]-_0x365f18[_0x450bf5(0x143)]+0x1;return _0x365f18['destinationIndex']>=_0x365f18[_0x450bf5(0x143)]&&_0x365f18[_0x450bf5(0xbe)]<=_0x365f18[_0x450bf5(0xca)]+0x1?{..._0x365f18}:_0x365f18[_0x450bf5(0xbe)]>_0x365f18[_0x450bf5(0xca)]+0x1?{..._0x365f18,'sourceStart':_0x365f18['destinationIndex']-_0x1ed8d4,'sourceEnd':_0x365f18[_0x450bf5(0xbe)]-0x1,'destinationIndex':_0x365f18['sourceStart']}:{..._0x365f18,'sourceStart':_0x365f18[_0x450bf5(0xbe)],'sourceEnd':_0x365f18[_0x450bf5(0xbe)]+_0x1ed8d4-0x1,'destinationIndex':_0x365f18[_0x450bf5(0xca)]+0x1};}function X(_0x29c495,_0x48731a){const _0x35ab79=_0x43fe3d;let _0x20f2f4=(_0x29c495==null?void 0x0:_0x29c495[_0x35ab79(0xcd)])??(_0x48731a==null?void 0x0:_0x48731a[_0x35ab79(0xcd)]),_0x138280=(_0x29c495==null?void 0x0:_0x29c495[_0x35ab79(0x122)])??(_0x48731a==null?void 0x0:_0x48731a[_0x35ab79(0x122)]);return _0x20f2f4&&_0x138280?{'unitId':_0x20f2f4,'subUnitId':_0x138280}:null;}function Z(){const _0x1cc6e7=_0x43fe3d;return{'redos':[...q[_0x1cc6e7(0x14f)]],'undos':[...q['undos']],'preRedos':[...q[_0x1cc6e7(0xd6)]??[]],'preUndos':[...q[_0x1cc6e7(0xd8)]??[]]};}let Q=class extends _0xb1c262{constructor(_0x43240c,_0x4a3536){const _0x1d3b05=_0x43fe3d;super(),this[_0x1d3b05(0xe4)]=_0x43240c,this[_0x1d3b05(0xf7)]=_0x4a3536,this[_0x1d3b05(0x101)]();}['_initResource'](){const _0x30abf9=_0x43fe3d;this['disposeWithMe'](this[_0x30abf9(0xe4)]['registerPluginResource']({'pluginName':W,'businesses':[_0x4481f0[_0x30abf9(0x119)]],'toJson':_0x5bbbe0=>JSON[_0x30abf9(0xfa)](this[_0x30abf9(0xf7)][_0x30abf9(0x12e)](_0x5bbbe0)),'parseJson':_0x48a9f9=>JSON[_0x30abf9(0xfe)](_0x48a9f9),'onLoad':(_0x23ecbd,_0x170c24)=>this[_0x30abf9(0xf7)][_0x30abf9(0x108)](_0x23ecbd,_0x170c24),'onUnLoad':_0x470af8=>this['_sheetsOutlineModel'][_0x30abf9(0xeb)](_0x470af8)}));}};Q=K([G(0x0,_0x3f3d7f),G(0x1,_0x3d40bd(P))],Q);let $=class extends _0xacd159{constructor(_0x2e0844=Qe,_0x1f16f1,_0x1f391e,_0x59e337){const _0x29eb91=_0x43fe3d;super(),this[_0x29eb91(0x123)]=_0x2e0844,this[_0x29eb91(0x102)]=_0x1f16f1,this[_0x29eb91(0xd7)]=_0x1f391e,this['_configService']=_0x59e337;let {..._0x58a328}=_0x36a193({},Qe,this[_0x29eb91(0x123)]);this[_0x29eb91(0x131)]['setConfig'](_0x29eb91(0x157),_0x58a328);}['onStarting'](){const _0x7a9f37=_0x43fe3d;this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([P]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([F]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([Q]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([J]),this[_0x7a9f37(0xcb)](),this[_0x7a9f37(0x102)][_0x7a9f37(0x154)](P),this[_0x7a9f37(0x102)]['get'](F),this[_0x7a9f37(0x102)][_0x7a9f37(0x154)](Q),this[_0x7a9f37(0x102)]['get'](J);}[_0x43fe3d(0xcb)](){const _0x2c66ef=_0x43fe3d;[z,ze,qe,V]['forEach'](_0x4d9486=>{const _0x168308=_0x3a3b;this[_0x168308(0xdb)](this[_0x168308(0xd7)][_0x168308(0xf8)](_0x4d9486));}),[I,L,H,B,U][_0x2c66ef(0x11e)](_0x4dd794=>{const _0x7fbbae=_0x2c66ef;this[_0x7fbbae(0xdb)](this['_commandService'][_0x7fbbae(0xf8)](_0x4dd794));});}};N($,_0x43fe3d(0x136),W),N($,_0x43fe3d(0xda),Xe),N($,_0x43fe3d(0x137),Ze),N($,_0x43fe3d(0x118),_0x4481f0['UNIVER_SHEET']),$=K([_0x5c43ca(_0x3b8092,_0x57e74f),G(0x1,_0x3d40bd(_0x217502)),G(0x2,_0x1cacbb),G(0x3,_0x473018)],$);export{z as AddDimensionOutlineCommand,I as AddDimensionOutlineMutation,V as ClearDimensionOutlinesCommand,B as ClearDimensionOutlinesMutation,_e as DimensionOutlineAxis,ve as DimensionOutlineErrorReason,ze as RemoveDimensionOutlineCommand,L as RemoveDimensionOutlineMutation,W as SHEET_OUTLINE_PLUGIN,qe as SetDimensionOutlineCollapsedCommand,H as SetDimensionOutlineCollapsedMutation,F as SheetsOutlineErrorService,P as SheetsOutlineModel,U as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,T as buildDimensionOutlineTree,E as canAddDimensionOutline,Ie as getDimensionOutlineViewPermission$,R as hasDimensionOutlineViewPermission,O as transformOutlinesByDelete,D as transformOutlinesByInsert,k as transformOutlinesByMove};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x1c2e89=_0x1f48;(function(_0x596a03,_0x58d8ac){var _0x55e0b7=_0x1f48,_0x12647f=_0x596a03();while(!![]){try{var _0x59087d=parseInt(_0x55e0b7(0xa2))/0x1+-parseInt(_0x55e0b7(0xad))/0x2*(-parseInt(_0x55e0b7(0x9e))/0x3)+parseInt(_0x55e0b7(0x9f))/0x4*(-parseInt(_0x55e0b7(0xb5))/0x5)+parseInt(_0x55e0b7(0xa1))/0x6*(-parseInt(_0x55e0b7(0xa3))/0x7)+-parseInt(_0x55e0b7(0xab))/0x8+parseInt(_0x55e0b7(0xb0))/0x9+parseInt(_0x55e0b7(0x9a))/0xa*(parseInt(_0x55e0b7(0xb7))/0xb);if(_0x59087d===_0x58d8ac)break;else _0x12647f['push'](_0x12647f['shift']());}catch(_0xf0d8ec){_0x12647f['push'](_0x12647f['shift']());}}}(_0x3aa2,0x2879a));function _0x1f48(_0x59cd75,_0x1250ff){_0x59cd75=_0x59cd75-0x99;var _0x3aa2e3=_0x3aa2();var _0x1f4885=_0x3aa2e3[_0x59cd75];return _0x1f4885;}import{AddDimensionOutlineCommand as _0x2f398a,ClearDimensionOutlinesCommand as _0x4ccc86,DimensionOutlineAxis as _0x460f36,DimensionOutlineErrorReason as _0x1a8f3d,RemoveDimensionOutlineCommand as _0x285bb7,SetDimensionOutlineCollapsedCommand as _0x21e600,SheetsOutlineModel as _0x4e3c95}from'@univerjs-pro/sheets-outline';import{FEnum as _0x51d19e}from'@univerjs/core/facade';import{FWorksheet as _0x205fe0}from'@univerjs/sheets/facade';var l=class extends _0x51d19e{get[_0x1c2e89(0xa5)](){return _0x460f36;}get[_0x1c2e89(0x99)](){return _0x1a8f3d;}};_0x51d19e[_0x1c2e89(0xa6)](l);var u=class extends _0x205fe0{[_0x1c2e89(0xb6)](_0x36a4d4,_0x4072fa){var _0x3a0537=_0x1c2e89;return this[_0x3a0537(0xaf)](_0x460f36[_0x3a0537(0xaa)],_0x36a4d4,_0x4072fa);}['addColumnOutline'](_0x4f8627,_0xfcfb56){var _0x2b4dc4=_0x1c2e89;return this[_0x2b4dc4(0xaf)](_0x460f36[_0x2b4dc4(0x9d)],_0x4f8627,_0xfcfb56);}[_0x1c2e89(0xb1)](_0xc25611){var _0x1815ff=_0x1c2e89;return this['_commandService'][_0x1815ff(0xac)](_0x285bb7['id'],{'unitId':this[_0x1815ff(0xa9)][_0x1815ff(0xb2)](),'subUnitId':this[_0x1815ff(0x9c)][_0x1815ff(0xb4)](),'outlineId':_0xc25611}),this;}[_0x1c2e89(0xa7)](_0x373e90,_0x504e13){var _0x209848=_0x1c2e89;return this[_0x209848(0xa4)][_0x209848(0xac)](_0x21e600['id'],{'unitId':this[_0x209848(0xa9)][_0x209848(0xb2)](),'subUnitId':this[_0x209848(0x9c)][_0x209848(0xb4)](),'outlineId':_0x373e90,'collapsed':_0x504e13}),this;}[_0x1c2e89(0xb8)](_0x4a41b5,_0x46bd23,_0x35d2cd){var _0x3544f5=_0x1c2e89;return this[_0x3544f5(0xa4)][_0x3544f5(0xac)](_0x4ccc86['id'],{'unitId':this[_0x3544f5(0xa9)][_0x3544f5(0xb2)](),'subUnitId':this[_0x3544f5(0x9c)][_0x3544f5(0xb4)](),'axis':_0x4a41b5,'start':_0x46bd23,'end':_0x35d2cd}),this;}[_0x1c2e89(0xa8)](_0x309dd5){var _0x11589e=_0x1c2e89;let _0x12c835=this[_0x11589e(0xae)][_0x11589e(0xa0)](_0x4e3c95)[_0x11589e(0xb3)](this[_0x11589e(0xa9)][_0x11589e(0xb2)](),this['_worksheet'][_0x11589e(0xb4)]());return _0x309dd5?_0x12c835[_0x11589e(0x9b)](_0x30d3c1=>_0x30d3c1['axis']===_0x309dd5):_0x12c835;}[_0x1c2e89(0xaf)](_0x43d068,_0x12d100,_0x23a193){var _0x4fc99f=_0x1c2e89;return this['_commandService']['syncExecuteCommand'](_0x2f398a['id'],{'unitId':this[_0x4fc99f(0xa9)][_0x4fc99f(0xb2)](),'subUnitId':this['_worksheet']['getSheetId'](),'axis':_0x43d068,'start':_0x12d100,'end':_0x12d100+_0x23a193-0x1}),this;}};_0x205fe0[_0x1c2e89(0xa6)](u);export{};function _0x3aa2(){var _0x33a40b=['DimensionOutlineAxis','extend','setDimensionOutlineCollapsed','getDimensionOutlines','_workbook','ROW','353936bsZXLG','syncExecuteCommand','74756mcnVAR','_injector','_addDimensionOutline','1392543LChdZZ','removeDimensionOutline','getUnitId','getOutlines','getSheetId','225885sQwMtB','addRowOutline','1446511nZMrBe','clearDimensionOutlines','DimensionOutlineErrorReason','10zJRtvd','filter','_worksheet','COLUMN','6dPmLQe','4cTKiZP','get','45516oTiQCt','220419zxIWNa','301EnuRLa','_commandService'];_0x3aa2=function(){return _0x33a40b;};return _0x3aa2();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ce52f=_0x2f6c;(function(_0x39cc53,_0x275b02){const _0x50d63f=_0x2f6c,_0x16f0c8=_0x39cc53();while(!![]){try{const _0x2645fa=-parseInt(_0x50d63f(0x1c2))/0x1*(parseInt(_0x50d63f(0x156))/0x2)+parseInt(_0x50d63f(0x163))/0x3*(-parseInt(_0x50d63f(0x176))/0x4)+-parseInt(_0x50d63f(0x183))/0x5+parseInt(_0x50d63f(0x16c))/0x6+parseInt(_0x50d63f(0x19e))/0x7*(parseInt(_0x50d63f(0x17e))/0x8)+-parseInt(_0x50d63f(0x1a1))/0x9*(parseInt(_0x50d63f(0x1d4))/0xa)+parseInt(_0x50d63f(0x1ae))/0xb*(parseInt(_0x50d63f(0x1b1))/0xc);if(_0x2645fa===_0x275b02)break;else _0x16f0c8['push'](_0x16f0c8['shift']());}catch(_0x48b81f){_0x16f0c8['push'](_0x16f0c8['shift']());}}}(_0x1852,0xd90b5));import{CommandType as _0x370b23,CustomCommandExecutionError as _0x342912,DependentOn as _0x35d92d,Disposable as _0x28774d,ICommandService as _0x5b34db,IConfigService as _0x3ab1ed,IPermissionService as _0x4da996,IResourceManagerService as _0x57db0b,IUndoRedoService as _0x236935,IUniverInstanceService as _0x501b88,Inject as _0xbe0a21,Injector as _0x1ea18e,Plugin as _0xd243c4,UniverInstanceType as _0x1395c1,generateRandomId as _0x358551,merge as _0x1a0e54,sequenceExecute as _0x57ab44}from'@univerjs/core';import{InsertColCommand as _0x3ee2a4,InsertRowCommand as _0x3f6c82,MoveColsCommand as _0x18c95c,MoveRowsCommand as _0x50a7df,RemoveColCommand as _0x4afcff,RemoveRowCommand as _0x4c3e8d,SetColHiddenMutation as _0x401771,SetColVisibleMutation as _0x316671,SetRowHiddenMutation as _0x4a1f85,SetRowVisibleMutation as _0x31f5ab,SheetInterceptorService as _0xb4bd43,SheetPermissionCheckController as _0x345ac3,UniverSheetsPlugin as _0x1d7adc,WorkbookViewPermission as _0x1753bb,WorksheetViewPermission as _0x86b3d9,getSheetCommandTarget as _0x3c973f}from'@univerjs/sheets';import{Subject as _0x53422c,of as _0x51ab36}from'rxjs';import{debounceTime as _0x194e36,map as _0x12a638,startWith as _0x23085b}from'rxjs/operators';import{UniverLicensePlugin as _0x1e0280}from'@univerjs-pro/license';let _e=function(_0x5ad970){const _0x4bb20b=_0x2f6c;return _0x5ad970[_0x4bb20b(0x197)]=_0x4bb20b(0x1dc),_0x5ad970[_0x4bb20b(0x1ed)]='column',_0x5ad970;}({}),ve=function(_0x525da7){const _0x2b5761=_0x2f6c;return _0x525da7[_0x2b5761(0x1f1)]=_0x2b5761(0x1d1),_0x525da7[_0x2b5761(0x196)]=_0x2b5761(0x1c5),_0x525da7['CROSSING']=_0x2b5761(0x171),_0x525da7[_0x2b5761(0x1fc)]='max-depth',_0x525da7[_0x2b5761(0x19f)]=_0x2b5761(0x1f7),_0x525da7[_0x2b5761(0x1c4)]=_0x2b5761(0x1c6),_0x525da7[_0x2b5761(0x1af)]=_0x2b5761(0x192),_0x525da7;}({});var S=class extends Error{constructor(_0x11f16a,_0x69a38b,_0x2e3a39){const _0x4016c0=_0x2f6c;super(_0x69a38b),this[_0x4016c0(0x1b7)]=_0x11f16a,this[_0x4016c0(0x1a5)]=_0x2e3a39,this[_0x4016c0(0x1da)]=_0x4016c0(0x17a);}};function ye(_0x2c4a49){const _0x3459f6=_0x2f6c;return _0x2c4a49 instanceof S?_0x2c4a49[_0x3459f6(0x1b7)]:_0x2c4a49 instanceof Error?_0x2c4a49[_0x3459f6(0x1ac)][_0x3459f6(0x1e0)]('split\x20dimension\x20outline')?'move-splits-outline':_0x2c4a49[_0x3459f6(0x1ac)][_0x3459f6(0x1e0)](_0x3459f6(0x1bc))?_0x3459f6(0x1fb):_0x2c4a49[_0x3459f6(0x1ac)]['includes'](_0x3459f6(0x1b6))?_0x3459f6(0x171):_0x2c4a49['message'][_0x3459f6(0x1e0)](_0x3459f6(0x1fa))?_0x3459f6(0x1d1):'unknown':_0x3459f6(0x192);}function be(_0x3afd38){const _0x4d75d3=_0x2f6c;return _0x3afd38 instanceof S?_0x3afd38[_0x4d75d3(0x1a5)]:void 0x0;}const C=0x2**0x35-0x1;function w(_0x2a97b2,_0x454200){const _0x4c8fb5=_0x2f6c;return _0x2a97b2['unitId']===_0x454200[_0x4c8fb5(0x1e1)]&&_0x2a97b2['subUnitId']===_0x454200[_0x4c8fb5(0x18f)]&&_0x2a97b2[_0x4c8fb5(0x162)]===_0x454200[_0x4c8fb5(0x162)];}function T(_0x3f8325,_0x59b4a8={}){const _0xa6ef92=_0x2f6c;let _0x2115c3=_0x59b4a8[_0xa6ef92(0x1b5)]??0x8,_0x4b841f=new Map();for(let _0x27bfc0 of _0x3f8325){let _0x8a7f6a=_0x27bfc0['unitId']+':'+_0x27bfc0['subUnitId']+':'+_0x27bfc0[_0xa6ef92(0x162)],_0x22d62b=_0x4b841f['get'](_0x8a7f6a);_0x22d62b?_0x22d62b[_0xa6ef92(0x1a8)](_0x27bfc0):_0x4b841f[_0xa6ef92(0x161)](_0x8a7f6a,[_0x27bfc0]);}let _0x39a40a=[];for(let _0x23984e of _0x4b841f[_0xa6ef92(0x1e2)]()){let _0x31b6c4=[..._0x23984e][_0xa6ef92(0x1d3)](j),_0x50e24b=[];for(let _0x128d4c of _0x31b6c4){for(Me(_0x128d4c);_0x50e24b[_0xa6ef92(0x169)]>0x0&&_0x128d4c[_0xa6ef92(0x1e5)]>_0x50e24b[_0x50e24b[_0xa6ef92(0x169)]-0x1][_0xa6ef92(0x168)];)_0x50e24b[_0xa6ef92(0x150)]();let _0x19b044=_0x50e24b[_0x50e24b[_0xa6ef92(0x169)]-0x1];if(_0x19b044&&_0x128d4c['end']>_0x19b044['end'])throw new S(_0xa6ef92(0x171),_0xa6ef92(0x173),_0x128d4c['id']);let _0x2f3bcd=_0x19b044?_0x19b044[_0xa6ef92(0x1bc)]+0x1:0x1;if(_0x2f3bcd>_0x2115c3)throw new S(_0xa6ef92(0x1fb),_0xa6ef92(0x177)+_0x2115c3,_0x128d4c['id']);let _0xa2f298={..._0x128d4c,'depth':_0x2f3bcd,'parentId':_0x19b044==null?void 0x0:_0x19b044['id'],'anchor':_0x128d4c[_0xa6ef92(0x168)],'children':[]};_0x19b044?_0x19b044['children'][_0xa6ef92(0x1a8)](_0xa2f298):_0x39a40a[_0xa6ef92(0x1a8)](_0xa2f298),_0x50e24b[_0xa6ef92(0x1a8)](_0xa2f298);}}return _0x39a40a;}function E(_0x5f07fa,_0x23e6f9,_0x1e9939={}){const _0x5ec90d=_0x2f6c;if(_0x23e6f9['start']<0x0||_0x23e6f9[_0x5ec90d(0x1e5)]>_0x23e6f9['end'])return{'valid':!0x1,'reason':'invalid-range'};if(_0x1e9939[_0x5ec90d(0x190)]!=null&&_0x23e6f9[_0x5ec90d(0x168)]>=_0x1e9939[_0x5ec90d(0x190)])return{'valid':!0x1,'reason':_0x5ec90d(0x1c5)};let _0x29b345=_0x5f07fa[_0x5ec90d(0x1f2)](_0x56b389=>w(_0x56b389,_0x23e6f9));for(let _0x24f48e of _0x29b345)if(Ne(_0x24f48e,_0x23e6f9))return{'valid':!0x1,'reason':_0x5ec90d(0x171)};try{T([..._0x5f07fa,_0x23e6f9],_0x1e9939);}catch(_0x3e4218){let _0x4a1b94=ye(_0x3e4218);return _0x4a1b94===_0x5ec90d(0x1fb)?{'valid':!0x1,'reason':'max-depth'}:_0x4a1b94===_0x5ec90d(0x1d1)?{'valid':!0x1,'reason':_0x5ec90d(0x1d1)}:{'valid':!0x1,'reason':'crossing'};}return{'valid':!0x0};}function xe(_0x32caad,_0x153684,_0x417054={}){const _0x42b1a8=_0x2f6c;let _0x294cbe=E(_0x32caad,_0x153684,_0x417054);if(!_0x294cbe[_0x42b1a8(0x1bd)])throw Error(_0x294cbe['reason']??'invalid-dimension-outline');return[..._0x32caad,_0x153684];}function Se(_0x4c5494,_0x222dd3){const _0x294dbe=_0x2f6c;let _0xb25e8b=_0x222dd3['start'],_0x730a07=_0x222dd3[_0x294dbe(0x168)],_0x412efd=[],_0x232066=!0x0;for(;_0x232066;){_0x232066=!0x1;for(let _0x3a4ced of _0x4c5494)!_0x412efd['includes'](_0x3a4ced)&&w(_0x3a4ced,_0x222dd3)&&Ae(_0x3a4ced[_0x294dbe(0x1e5)],_0x3a4ced[_0x294dbe(0x168)],_0xb25e8b,_0x730a07)&&(_0x412efd['push'](_0x3a4ced),_0xb25e8b=Math[_0x294dbe(0x164)](_0xb25e8b,_0x3a4ced[_0x294dbe(0x1e5)]),_0x730a07=Math['max'](_0x730a07,_0x3a4ced['end']),_0x232066=!0x0);}if(_0x412efd['length']===0x0)return null;let [_0x2e7690]=[..._0x412efd]['sort'](j);return{'mergedOutline':{..._0x2e7690,'start':_0xb25e8b,'end':_0x730a07},'mergedOutlines':_0x412efd};}function Ce(_0x454250,_0x54836f){const _0x4675f2=_0x2f6c;return _0x454250['filter'](_0x39f988=>!w(_0x39f988,_0x54836f)||!(_0x39f988[_0x4675f2(0x1e5)]>=_0x54836f[_0x4675f2(0x1e5)]&&_0x39f988[_0x4675f2(0x168)]<=_0x54836f[_0x4675f2(0x168)]));}function we(_0xfab062,_0x170931,_0x47a83e,_0xa036ba){const _0x29f5ce=_0x2f6c;return Te(_0xfab062[_0x29f5ce(0x1f2)](_0x1de5b9=>_0x1de5b9[_0x29f5ce(0x1e1)]===_0x170931&&_0x1de5b9['subUnitId']===_0x47a83e&&_0x1de5b9[_0x29f5ce(0x162)]===_0xa036ba&&_0x1de5b9[_0x29f5ce(0x182)])[_0x29f5ce(0x1bf)](_0x3ade80=>({'start':_0x3ade80['start'],'end':_0x3ade80[_0x29f5ce(0x168)]})));}function Te(_0x3ab997){const _0x3f98d7=_0x2f6c;if(_0x3ab997[_0x3f98d7(0x169)]===0x0)return[];let _0x2df543=[..._0x3ab997][_0x3f98d7(0x1d3)]((_0x4cb9ea,_0x38243c)=>_0x4cb9ea[_0x3f98d7(0x1e5)]-_0x38243c[_0x3f98d7(0x1e5)]||_0x4cb9ea['end']-_0x38243c['end']),_0x379a89=[];for(let _0x59d61e of _0x2df543){let _0x4a025e=_0x379a89[_0x379a89[_0x3f98d7(0x169)]-0x1];!_0x4a025e||_0x59d61e[_0x3f98d7(0x1e5)]>_0x4a025e[_0x3f98d7(0x168)]+0x1?_0x379a89[_0x3f98d7(0x1a8)]({..._0x59d61e}):_0x4a025e['end']=Math[_0x3f98d7(0x1eb)](_0x4a025e[_0x3f98d7(0x168)],_0x59d61e[_0x3f98d7(0x168)]);}return _0x379a89;}function D(_0xd55074,_0x394f20){const _0x3fa33c=_0x2f6c;return _0x394f20['count']<=0x0?_0xd55074:A(_0xd55074[_0x3fa33c(0x1bf)](_0x1678b5=>w(_0x1678b5,_0x394f20)?_0x394f20[_0x3fa33c(0x1df)]<=_0x1678b5[_0x3fa33c(0x1e5)]?{..._0x1678b5,'start':_0x1678b5[_0x3fa33c(0x1e5)]+_0x394f20[_0x3fa33c(0x179)],'end':_0x1678b5['end']+_0x394f20[_0x3fa33c(0x179)]}:_0x1678b5[_0x3fa33c(0x1e5)]<_0x394f20[_0x3fa33c(0x1df)]&&_0x394f20[_0x3fa33c(0x1df)]<=_0x1678b5[_0x3fa33c(0x168)]?{..._0x1678b5,'end':_0x1678b5[_0x3fa33c(0x168)]+_0x394f20[_0x3fa33c(0x179)]}:_0x1678b5:_0x1678b5));}function O(_0x5d5f91,_0x1be45c){const _0x55de3d=_0x2f6c;if(_0x1be45c[_0x55de3d(0x1e5)]>_0x1be45c[_0x55de3d(0x168)])return _0x5d5f91;let _0x23a907=_0x1be45c[_0x55de3d(0x168)]-_0x1be45c[_0x55de3d(0x1e5)]+0x1,_0x50a896=[];for(let _0x53f0ee of _0x5d5f91){if(!w(_0x53f0ee,_0x1be45c)){_0x50a896[_0x55de3d(0x1a8)](_0x53f0ee);continue;}if(_0x53f0ee[_0x55de3d(0x168)]<_0x1be45c['start']){_0x50a896[_0x55de3d(0x1a8)](_0x53f0ee);continue;}if(_0x53f0ee[_0x55de3d(0x1e5)]>_0x1be45c[_0x55de3d(0x168)]){_0x50a896[_0x55de3d(0x1a8)]({..._0x53f0ee,'start':_0x53f0ee[_0x55de3d(0x1e5)]-_0x23a907,'end':_0x53f0ee[_0x55de3d(0x168)]-_0x23a907});continue;}let _0x5ca11b=Math[_0x55de3d(0x1eb)](_0x53f0ee[_0x55de3d(0x1e5)],_0x1be45c[_0x55de3d(0x1e5)]),_0x43b81d=Math[_0x55de3d(0x164)](_0x53f0ee[_0x55de3d(0x168)],_0x1be45c[_0x55de3d(0x168)]),_0x5222bd=Math[_0x55de3d(0x1eb)](0x0,_0x43b81d-_0x5ca11b+0x1),_0x5be394=_0x53f0ee[_0x55de3d(0x168)]-_0x53f0ee['start']+0x1-_0x5222bd;if(_0x5be394<=0x0)continue;let _0x34e2eb=_0x53f0ee[_0x55de3d(0x1e5)]<_0x1be45c[_0x55de3d(0x1e5)]?_0x53f0ee[_0x55de3d(0x1e5)]:_0x1be45c['start'];_0x50a896[_0x55de3d(0x1a8)]({..._0x53f0ee,'start':_0x34e2eb,'end':_0x34e2eb+_0x5be394-0x1});}return A(_0x50a896);}function k(_0x24400c,_0x4fdbca){const _0x128abf=_0x2f6c;if(_0x4fdbca[_0x128abf(0x166)]>_0x4fdbca['sourceEnd'])return _0x24400c;let _0x152a58=[];for(let _0xbee1ef of _0x24400c){if(!w(_0xbee1ef,_0x4fdbca)){_0x152a58['push'](_0xbee1ef);continue;}let _0x297627=Ee(_0xbee1ef,_0x4fdbca);if(_0x297627[_0x128abf(0x1b4)]===_0x128abf(0x194))throw new S('move-splits-outline',_0x128abf(0x170)+_0xbee1ef['id'],_0xbee1ef['id']);_0x152a58[_0x128abf(0x1a8)](_0x297627[_0x128abf(0x1ca)]);}return A(_0x152a58);}function Ee(_0x386fc0,_0x207792){const _0x1d8c55=_0x2f6c;let _0x4fb72b=De(_0x207792[_0x1d8c55(0x166)],_0x207792['sourceEnd']+0x1,_0x207792['destinationIndex']),_0x55f3f9=[],_0x41e789={'start':_0x386fc0[_0x1d8c55(0x1e5)],'end':_0x386fc0[_0x1d8c55(0x168)]+0x1};for(let _0xe35b21 of _0x4fb72b){let _0x2db21c=Oe(_0x41e789,_0xe35b21[_0x1d8c55(0x1fa)]);_0x2db21c&&_0x55f3f9[_0x1d8c55(0x1a8)]({'start':_0x2db21c[_0x1d8c55(0x1e5)]+_0xe35b21[_0x1d8c55(0x16d)],'end':_0x2db21c['end']+_0xe35b21[_0x1d8c55(0x16d)]});}let _0x3bdf04=ke(_0x55f3f9);return _0x3bdf04['length']===0x1?{'type':'ok','outline':{..._0x386fc0,'start':_0x3bdf04[0x0][_0x1d8c55(0x1e5)],'end':_0x3bdf04[0x0][_0x1d8c55(0x168)]-0x1}}:{'type':_0x1d8c55(0x194),'outline':_0x386fc0,'ranges':_0x3bdf04};}function De(_0x15dd7c,_0x1aa59c,_0x367949){const _0x272b3f=_0x2f6c;let _0x402b9c=_0x1aa59c-_0x15dd7c;if(_0x402b9c<=0x0)throw Error(_0x272b3f(0x191));return _0x367949>=_0x15dd7c&&_0x367949<=_0x1aa59c?[{'range':{'start':0x0,'end':C},'offset':0x0}]:_0x367949<_0x15dd7c?[{'range':{'start':0x0,'end':_0x367949},'offset':0x0},{'range':{'start':_0x367949,'end':_0x15dd7c},'offset':_0x402b9c},{'range':{'start':_0x15dd7c,'end':_0x1aa59c},'offset':_0x367949-_0x15dd7c},{'range':{'start':_0x1aa59c,'end':C},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x15dd7c},'offset':0x0},{'range':{'start':_0x15dd7c,'end':_0x1aa59c},'offset':_0x367949-_0x1aa59c},{'range':{'start':_0x1aa59c,'end':_0x367949},'offset':-_0x402b9c},{'range':{'start':_0x367949,'end':C},'offset':0x0}];}function Oe(_0x382e42,_0x3d5e53){const _0x499373=_0x2f6c;let _0x19484e=Math[_0x499373(0x1eb)](_0x382e42[_0x499373(0x1e5)],_0x3d5e53['start']),_0x25b11c=Math['min'](_0x382e42[_0x499373(0x168)],_0x3d5e53[_0x499373(0x168)]);return _0x19484e>=_0x25b11c?null:{'start':_0x19484e,'end':_0x25b11c};}function ke(_0x3fb232){const _0x2ad3f6=_0x2f6c;if(_0x3fb232[_0x2ad3f6(0x169)]===0x0)return[];let _0x5a7c90=[..._0x3fb232][_0x2ad3f6(0x1d3)]((_0xd75579,_0x1d725f)=>_0xd75579[_0x2ad3f6(0x1e5)]-_0x1d725f['start']||_0xd75579[_0x2ad3f6(0x168)]-_0x1d725f[_0x2ad3f6(0x168)]),_0x4a4f52=[];for(let _0x3b992e of _0x5a7c90){let _0x38922a=_0x4a4f52[_0x4a4f52[_0x2ad3f6(0x169)]-0x1];!_0x38922a||_0x3b992e[_0x2ad3f6(0x1e5)]>_0x38922a[_0x2ad3f6(0x168)]?_0x4a4f52[_0x2ad3f6(0x1a8)]({..._0x3b992e}):_0x38922a['end']=Math[_0x2ad3f6(0x1eb)](_0x38922a[_0x2ad3f6(0x168)],_0x3b992e[_0x2ad3f6(0x168)]);}return _0x4a4f52;}function Ae(_0x51b3be,_0x1b1fd5,_0x2fa9d6,_0x313cd2){return _0x1b1fd5+0x1===_0x2fa9d6||_0x313cd2+0x1===_0x51b3be;}function A(_0x1759d3){let _0x2ab679=je(_0x1759d3);return T(_0x2ab679),_0x2ab679;}function je(_0xc6ae5f){const _0x2b6fc7=_0x2f6c;let _0x3db9f3=new Map();for(let _0x176307 of _0xc6ae5f){let _0x4c1aba=[_0x176307[_0x2b6fc7(0x1e1)],_0x176307['subUnitId'],_0x176307[_0x2b6fc7(0x162)],_0x176307['start'],_0x176307['end']][_0x2b6fc7(0x1a3)](':'),_0x2174e7=_0x3db9f3[_0x2b6fc7(0x1b2)](_0x4c1aba);if(!_0x2174e7){_0x3db9f3[_0x2b6fc7(0x161)](_0x4c1aba,_0x176307);continue;}_0x3db9f3[_0x2b6fc7(0x161)](_0x4c1aba,{..._0x2174e7,'collapsed':_0x2174e7[_0x2b6fc7(0x182)]||_0x176307[_0x2b6fc7(0x182)]});}return Array[_0x2b6fc7(0x155)](_0x3db9f3[_0x2b6fc7(0x1e2)]());}function j(_0xad6196,_0x57357d){const _0x94e7a4=_0x2f6c;return _0xad6196['unitId']===_0x57357d['unitId']?_0xad6196[_0x94e7a4(0x18f)]===_0x57357d[_0x94e7a4(0x18f)]?_0xad6196[_0x94e7a4(0x162)]===_0x57357d[_0x94e7a4(0x162)]?_0xad6196[_0x94e7a4(0x1e5)]===_0x57357d['start']?_0x57357d['end']-_0xad6196[_0x94e7a4(0x168)]:_0xad6196['start']-_0x57357d['start']:_0xad6196[_0x94e7a4(0x162)][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x162)]):_0xad6196[_0x94e7a4(0x18f)][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x18f)]):_0xad6196['unitId'][_0x94e7a4(0x1a9)](_0x57357d[_0x94e7a4(0x1e1)]);}function Me(_0x46793b){const _0x1a1294=_0x2f6c;if(_0x46793b['start']>_0x46793b[_0x1a1294(0x168)])throw new S('invalid-range',_0x1a1294(0x1e4),_0x46793b['id']);}function Ne(_0x4795f2,_0x3b3fe5){const _0x17e238=_0x2f6c;let _0x5d5ce7=_0x4795f2['start']<=_0x3b3fe5[_0x17e238(0x168)]&&_0x3b3fe5['start']<=_0x4795f2['end'],_0x2f38ba=_0x4795f2['start']<=_0x3b3fe5['start']&&_0x3b3fe5[_0x17e238(0x168)]<=_0x4795f2['end'],_0xe31a67=_0x3b3fe5[_0x17e238(0x1e5)]<=_0x4795f2[_0x17e238(0x1e5)]&&_0x4795f2[_0x17e238(0x168)]<=_0x3b3fe5[_0x17e238(0x168)];return _0x5d5ce7&&!_0x2f38ba&&!_0xe31a67;}function M(_0x5a697){'@babel/helpers - typeof';const _0x1f7a54=_0x2f6c;return M=typeof Symbol==_0x1f7a54(0x15b)&&typeof Symbol['iterator']==_0x1f7a54(0x1ea)?function(_0x5eb1cb){return typeof _0x5eb1cb;}:function(_0x4fcfec){const _0x4688a4=_0x1f7a54;return _0x4fcfec&&typeof Symbol=='function'&&_0x4fcfec[_0x4688a4(0x19d)]===Symbol&&_0x4fcfec!==Symbol[_0x4688a4(0x1c8)]?_0x4688a4(0x1ea):typeof _0x4fcfec;},M(_0x5a697);}function Pe(_0x362d27,_0x141263){const _0x858a84=_0x2f6c;if(M(_0x362d27)!='object'||!_0x362d27)return _0x362d27;var _0x301220=_0x362d27[Symbol[_0x858a84(0x188)]];if(_0x301220!==void 0x0){var _0x3c633d=_0x301220['call'](_0x362d27,_0x141263||_0x858a84(0x186));if(M(_0x3c633d)!='object')return _0x3c633d;throw TypeError(_0x858a84(0x14f));}return(_0x141263==='string'?String:Number)(_0x362d27);}function Fe(_0x4bc23c){const _0x585918=_0x2f6c;var _0x53d53d=Pe(_0x4bc23c,_0x585918(0x159));return M(_0x53d53d)==_0x585918(0x1ea)?_0x53d53d:_0x53d53d+'';}function N(_0x5166cc,_0x569aa8,_0xddc6c8){const _0x4a2a4b=_0x2f6c;return(_0x569aa8=Fe(_0x569aa8))in _0x5166cc?Object[_0x4a2a4b(0x1cf)](_0x5166cc,_0x569aa8,{'value':_0xddc6c8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5166cc[_0x569aa8]=_0xddc6c8,_0x5166cc;}var P=class extends _0x28774d{constructor(..._0x38c1ef){const _0x9b0d47=_0x2f6c;super(..._0x38c1ef),N(this,_0x9b0d47(0x152),new Map()),N(this,'_change$',new _0x53422c()),N(this,_0x9b0d47(0x1aa),this[_0x9b0d47(0x1f5)][_0x9b0d47(0x1f3)]());}[_0x1ce52f(0x1a4)](_0x30d2d6,_0x57d879){const _0x5210c3=_0x1ce52f;var _0x569a4a;return[...((_0x569a4a=this['_outlines'][_0x5210c3(0x1b2)](_0x30d2d6))==null?void 0x0:_0x569a4a['get'](_0x57d879))??[]];}[_0x1ce52f(0x198)](_0x595fee){const _0x556b43=_0x1ce52f;let _0x51dc14=this[_0x556b43(0x152)][_0x556b43(0x1b2)](_0x595fee),_0x541c81=new Map();return _0x51dc14==null||_0x51dc14[_0x556b43(0x1f0)]((_0x1189ff,_0x2feffb)=>{const _0x5e2784=_0x556b43;_0x541c81[_0x5e2784(0x161)](_0x2feffb,[..._0x1189ff]);}),_0x541c81;}[_0x1ce52f(0x1e7)](_0x419325,_0x3f1574,_0x5e8d3e){const _0x373b39=_0x1ce52f;this[_0x373b39(0x1b9)](_0x419325)['set'](_0x3f1574,[..._0x5e8d3e]),this[_0x373b39(0x1f5)][_0x373b39(0x175)]({'unitId':_0x419325,'subUnitId':_0x3f1574});}[_0x1ce52f(0x17b)](_0x4060b8){const _0x58c189=_0x1ce52f;this[_0x58c189(0x152)]['delete'](_0x4060b8),this[_0x58c189(0x1f5)][_0x58c189(0x175)]({'unitId':_0x4060b8});}[_0x1ce52f(0x19a)](_0x4788ef){const _0x42d475=_0x1ce52f;let _0x1bb691=this['_outlines'][_0x42d475(0x1b2)](_0x4788ef),_0x160159={};return _0x1bb691==null||_0x1bb691[_0x42d475(0x1f0)]((_0x26aca0,_0x58eacc)=>{_0x160159[_0x58eacc]={'outlineList':[..._0x26aca0]};}),_0x160159;}[_0x1ce52f(0x1d5)](_0x4c8d10,_0x43b2d){const _0x483b25=_0x1ce52f;let _0x527af6=new Map();Object[_0x483b25(0x18e)](_0x43b2d)[_0x483b25(0x1f0)](([_0x21efbc,_0xfe494a])=>{const _0x25c2b7=_0x483b25;_0x527af6[_0x25c2b7(0x161)](_0x21efbc,[..._0xfe494a['outlineList']??[]]);}),this['_outlines']['set'](_0x4c8d10,_0x527af6),this['_change$'][_0x483b25(0x175)]({'unitId':_0x4c8d10});}[_0x1ce52f(0x153)](){const _0x6dfc01=_0x1ce52f;super[_0x6dfc01(0x153)](),this[_0x6dfc01(0x152)]['clear'](),this['_change$']['complete']();}[_0x1ce52f(0x1b9)](_0x58196b){const _0xa30bf5=_0x1ce52f;let _0x5eeea6=this[_0xa30bf5(0x152)][_0xa30bf5(0x1b2)](_0x58196b);return _0x5eeea6||(_0x5eeea6=new Map(),this[_0xa30bf5(0x152)][_0xa30bf5(0x161)](_0x58196b,_0x5eeea6)),_0x5eeea6;}},F=class extends _0x28774d{constructor(..._0x191b90){const _0x23fb42=_0x1ce52f;super(..._0x191b90),N(this,_0x23fb42(0x1e6),new _0x53422c()),N(this,_0x23fb42(0x1d0),this[_0x23fb42(0x1e6)][_0x23fb42(0x1f3)]());}['emit'](_0x25f904){const _0x175ffc=_0x1ce52f;this[_0x175ffc(0x1e6)][_0x175ffc(0x175)](_0x25f904);}['dispose'](){const _0x3aeb97=_0x1ce52f;super['dispose'](),this[_0x3aeb97(0x1e6)][_0x3aeb97(0x15d)]();}};const I={'id':_0x1ce52f(0x17c),'type':_0x370b23['MUTATION'],'handler':(_0x3dc59e,_0x4b4ca8)=>{const _0x46f9c9=_0x1ce52f;let _0x468bf1=_0x3dc59e[_0x46f9c9(0x1b2)](P),_0x24bbf7=_0x468bf1[_0x46f9c9(0x1a4)](_0x4b4ca8[_0x46f9c9(0x1e1)],_0x4b4ca8[_0x46f9c9(0x18f)]);return _0x468bf1[_0x46f9c9(0x1e7)](_0x4b4ca8['unitId'],_0x4b4ca8[_0x46f9c9(0x18f)],xe(_0x24bbf7,_0x4b4ca8['outline'])),!0x0;}},L={'id':_0x1ce52f(0x17f),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x51d7af,_0x5b5bd4)=>{const _0x3754ed=_0x1ce52f;let _0x22daa9=_0x51d7af[_0x3754ed(0x1b2)](P),_0xb54efc=_0x22daa9[_0x3754ed(0x1a4)](_0x5b5bd4['unitId'],_0x5b5bd4[_0x3754ed(0x18f)]);return _0x22daa9['setOutlines'](_0x5b5bd4[_0x3754ed(0x1e1)],_0x5b5bd4[_0x3754ed(0x18f)],_0xb54efc[_0x3754ed(0x1f2)](_0x2cb327=>_0x2cb327['id']!==_0x5b5bd4[_0x3754ed(0x1a5)])),!0x0;}};function R(_0x549ccd,_0x1c98d6,_0x45c067){let _0x2aaf82=Le(_0x549ccd);return!_0x2aaf82||_0x2aaf82['permissionCheckWithoutRange']({'workbookTypes':[_0x1753bb],'worksheetTypes':[_0x86b3d9]},_0x1c98d6,_0x45c067);}function Ie(_0x2de631,_0x12825b,_0x4b0a10){const _0x72bc7b=_0x1ce52f;let _0x582eef=Re(_0x2de631);return((_0x582eef==null?void 0x0:_0x582eef[_0x72bc7b(0x18a)])??_0x51ab36(null))[_0x72bc7b(0x160)](_0x194e36(0x64),_0x23085b(null),_0x12a638(()=>R(_0x2de631,_0x12825b,_0x4b0a10)));}function Le(_0x1e9706){const _0x3fdb96=_0x1ce52f;if(typeof _0x1e9706['has']==_0x3fdb96(0x15b)&&!_0x1e9706['has'](_0x345ac3))return null;try{return _0x1e9706['get'](_0x345ac3);}catch{return null;}}function Re(_0x464f49){const _0x5cb6aa=_0x1ce52f;if(typeof _0x464f49[_0x5cb6aa(0x1c7)]=='function'&&!_0x464f49[_0x5cb6aa(0x1c7)](_0x4da996))return null;try{return _0x464f49['get'](_0x4da996);}catch{return null;}}const z={'id':_0x1ce52f(0x165),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x358bc2,_0x5844c0)=>{const _0xc58c77=_0x1ce52f;if(!_0x5844c0)return!0x1;let _0x544bc0=_0x3c973f(_0x358bc2[_0xc58c77(0x1b2)](_0x501b88),_0x5844c0);if(!_0x544bc0)return!0x1;let {unitId:_0x3e7b7e,subUnitId:_0x4b0a38,worksheet:_0x2917f4}=_0x544bc0;if(!R(_0x358bc2,_0x3e7b7e,_0x4b0a38))return!0x1;let _0x4e217e=_0x358bc2[_0xc58c77(0x1b2)](P),_0xf0eff7={'id':_0xc58c77(0x1a6)+_0x358551(0x6),'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'axis':_0x5844c0['axis'],'start':_0x5844c0[_0xc58c77(0x1e5)],'end':_0x5844c0['end'],'collapsed':!0x1},_0x29040d=_0x5844c0[_0xc58c77(0x162)]===_0xc58c77(0x1dc)?_0x2917f4[_0xc58c77(0x1e9)]():_0x2917f4[_0xc58c77(0x1ab)](),_0x2887ac=_0x4e217e[_0xc58c77(0x1a4)](_0x3e7b7e,_0x4b0a38),_0x3d3646=Se(_0x2887ac,_0xf0eff7),_0x382afa=(_0x3d3646==null?void 0x0:_0x3d3646[_0xc58c77(0x187)])??[],_0x5d0a4c=(_0x3d3646==null?void 0x0:_0x3d3646[_0xc58c77(0x1ba)])??_0xf0eff7,_0x15497f=E(_0x3d3646?_0x2887ac[_0xc58c77(0x1f2)](_0x415209=>!_0x382afa[_0xc58c77(0x1a2)](_0x4141b8=>_0x4141b8['id']===_0x415209['id'])):_0x2887ac,_0x5d0a4c,{'maxIndex':_0x29040d});if(!_0x15497f['valid'])return _0x358bc2[_0xc58c77(0x1b2)](F)[_0xc58c77(0x19c)]({'reason':_0x15497f['reason']??'unknown','commandId':z['id'],'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'axis':_0x5844c0[_0xc58c77(0x162)],'outlineId':_0x5d0a4c['id']}),!0x1;let _0x4c0cb6=[..._0x382afa[_0xc58c77(0x1bf)](_0x16b82a=>({'id':L['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outlineId':_0x16b82a['id']}})),{'id':I['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outline':_0x5d0a4c}}],_0x2387e5=[{'id':L['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outlineId':_0x5d0a4c['id']}},..._0x382afa[_0xc58c77(0x1bf)](_0x3d91ac=>({'id':I['id'],'params':{'unitId':_0x3e7b7e,'subUnitId':_0x4b0a38,'outline':_0x3d91ac}}))];return _0x57ab44(_0x4c0cb6,_0x358bc2[_0xc58c77(0x1b2)](_0x5b34db))['result']?(_0x358bc2[_0xc58c77(0x1b2)](_0x236935)[_0xc58c77(0x1ad)]({'unitID':_0x3e7b7e,'undoMutations':_0x2387e5,'redoMutations':_0x4c0cb6}),!0x0):!0x1;}},B={'id':_0x1ce52f(0x151),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x2d80d9,_0x184fb8)=>{const _0x1b3e6d=_0x1ce52f;let _0x44cece=_0x2d80d9[_0x1b3e6d(0x1b2)](P),_0x5b7ee0=_0x44cece[_0x1b3e6d(0x1a4)](_0x184fb8['unitId'],_0x184fb8[_0x1b3e6d(0x18f)]);return _0x44cece[_0x1b3e6d(0x1e7)](_0x184fb8['unitId'],_0x184fb8[_0x1b3e6d(0x18f)],Ce(_0x5b7ee0,_0x184fb8)),!0x0;}},V={'id':_0x1ce52f(0x167),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x4321ae,_0x12d71e)=>{const _0x88d6cb=_0x1ce52f;if(!_0x12d71e)return!0x1;let _0x3fb726=_0x3c973f(_0x4321ae[_0x88d6cb(0x1b2)](_0x501b88),_0x12d71e);if(!_0x3fb726)return!0x1;let {unitId:_0xc9f397,subUnitId:_0x4b1a1e}=_0x3fb726;if(!R(_0x4321ae,_0xc9f397,_0x4b1a1e))return!0x1;let _0x1c1b65={'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'axis':_0x12d71e['axis'],'start':_0x12d71e['start'],'end':_0x12d71e['end']},_0x3ce980=_0x4321ae[_0x88d6cb(0x1b2)](P)[_0x88d6cb(0x1a4)](_0xc9f397,_0x4b1a1e)['filter'](_0x2c26e9=>w(_0x2c26e9,_0x1c1b65)&&_0x2c26e9[_0x88d6cb(0x1e5)]>=_0x12d71e[_0x88d6cb(0x1e5)]&&_0x2c26e9[_0x88d6cb(0x168)]<=_0x12d71e[_0x88d6cb(0x168)]);if(_0x3ce980[_0x88d6cb(0x169)]===0x0)return _0x4321ae[_0x88d6cb(0x1b2)](F)[_0x88d6cb(0x19c)]({'reason':'clear-range-not-contain-outline','commandId':V['id'],'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'axis':_0x12d71e[_0x88d6cb(0x162)]}),!0x1;let _0x4722c3=[{'id':B['id'],'params':{..._0x1c1b65,'removedOutlineIds':_0x3ce980[_0x88d6cb(0x1bf)](_0x53ed93=>_0x53ed93['id'])}}],_0x283907=_0x3ce980[_0x88d6cb(0x1bf)](_0x2ce41b=>({'id':I['id'],'params':{'unitId':_0xc9f397,'subUnitId':_0x4b1a1e,'outline':_0x2ce41b}}));return _0x57ab44(_0x4722c3,_0x4321ae[_0x88d6cb(0x1b2)](_0x5b34db))['result']?(_0x4321ae[_0x88d6cb(0x1b2)](_0x236935)['pushUndoRedo']({'unitID':_0xc9f397,'undoMutations':_0x283907,'redoMutations':_0x4722c3}),!0x0):!0x1;}},ze={'id':_0x1ce52f(0x1f6),'type':_0x370b23['COMMAND'],'handler':(_0x9ad437,_0x5a7ac4)=>{const _0x2793c7=_0x1ce52f;if(!_0x5a7ac4)return!0x1;let _0x236b37=_0x3c973f(_0x9ad437['get'](_0x501b88),_0x5a7ac4);if(!_0x236b37)return!0x1;let {unitId:_0x514f9d,subUnitId:_0x4f8fa2}=_0x236b37;if(!R(_0x9ad437,_0x514f9d,_0x4f8fa2))return!0x1;let _0x2abfc4=_0x9ad437[_0x2793c7(0x1b2)](P)[_0x2793c7(0x1a4)](_0x514f9d,_0x4f8fa2)['find'](_0x2fe7bb=>_0x2fe7bb['id']===_0x5a7ac4[_0x2793c7(0x1a5)]);if(!_0x2abfc4)return!0x1;let _0x529129=[{'id':L['id'],'params':{'unitId':_0x514f9d,'subUnitId':_0x4f8fa2,'outlineId':_0x2abfc4['id'],'outline':_0x2abfc4}}],_0x43ebb4=[{'id':I['id'],'params':{'unitId':_0x514f9d,'subUnitId':_0x4f8fa2,'outline':_0x2abfc4}}];return _0x57ab44(_0x529129,_0x9ad437[_0x2793c7(0x1b2)](_0x5b34db))[_0x2793c7(0x1be)]?(_0x9ad437['get'](_0x236935)[_0x2793c7(0x1ad)]({'unitID':_0x514f9d,'undoMutations':_0x43ebb4,'redoMutations':_0x529129}),!0x0):!0x1;}},H={'id':_0x1ce52f(0x1fd),'type':_0x370b23['MUTATION'],'handler':(_0x322dd2,_0x20b5df)=>{const _0x1259f5=_0x1ce52f;let _0x5d66a2=_0x322dd2[_0x1259f5(0x1b2)](P),_0x13dfb4=_0x5d66a2[_0x1259f5(0x1a4)](_0x20b5df['unitId'],_0x20b5df['subUnitId']),_0x56fcf3=_0x13dfb4[_0x1259f5(0x1f8)](_0x30adcc=>_0x30adcc['id']===_0x20b5df['outlineId']);return _0x56fcf3&&_0x5d66a2['setOutlines'](_0x20b5df[_0x1259f5(0x1e1)],_0x20b5df[_0x1259f5(0x18f)],_0x13dfb4[_0x1259f5(0x1bf)](_0x5bcab8=>_0x5bcab8['unitId']!==_0x56fcf3[_0x1259f5(0x1e1)]||_0x5bcab8[_0x1259f5(0x18f)]!==_0x56fcf3[_0x1259f5(0x18f)]||_0x5bcab8[_0x1259f5(0x162)]!==_0x56fcf3[_0x1259f5(0x162)]||_0x5bcab8[_0x1259f5(0x1e5)]!==_0x56fcf3['start']||_0x5bcab8[_0x1259f5(0x168)]!==_0x56fcf3[_0x1259f5(0x168)]?_0x5bcab8:{..._0x5bcab8,'collapsed':_0x20b5df['collapsed']})),!0x0;}};function Be(_0x3b1b4c,_0x5aac71,_0x4efa24,_0x182956){const _0xcf5d6a=_0x1ce52f;return _0x3b1b4c===_0xcf5d6a(0x1dc)?{'startRow':_0x5aac71,'endRow':_0x4efa24,'startColumn':0x0,'endColumn':_0x182956[_0xcf5d6a(0x1f4)]()-0x1}:{'startRow':0x0,'endRow':_0x182956['getRowCount']()-0x1,'startColumn':_0x5aac71,'endColumn':_0x4efa24};}function Ve(_0x1b7834){const _0x1cd015=_0x1ce52f;return _0x1b7834===_0x1cd015(0x1dc)?_0x4a1f85['id']:_0x401771['id'];}function He(_0x1d14ed){const _0x65a336=_0x1ce52f;return _0x1d14ed===_0x65a336(0x1dc)?_0x31f5ab['id']:_0x316671['id'];}function Ue(_0x188ad0,_0x125f44,_0x4ef352,_0x22a4bb){const _0xbf3b6e=_0x1ce52f;let _0x5f4a54=_0x125f44?[Be(_0x188ad0[_0xbf3b6e(0x162)],_0x188ad0[_0xbf3b6e(0x1e5)],_0x188ad0[_0xbf3b6e(0x168)],_0x4ef352)]:We(_0x188ad0,_0x22a4bb,_0x4ef352),_0x2e8668=_0x125f44?Ve(_0x188ad0['axis']):He(_0x188ad0['axis']);return[{'id':H['id'],'params':{'unitId':_0x188ad0[_0xbf3b6e(0x1e1)],'subUnitId':_0x188ad0[_0xbf3b6e(0x18f)],'outlineId':_0x188ad0['id'],'outline':_0x188ad0,'collapsed':_0x125f44}},..._0x5f4a54[_0xbf3b6e(0x1bf)](_0x483a3b=>({'id':_0x2e8668,'params':{'unitId':_0x188ad0[_0xbf3b6e(0x1e1)],'subUnitId':_0x188ad0[_0xbf3b6e(0x18f)],'ranges':[_0x483a3b],'dimensionOutlineId':_0x188ad0['id']}}))];}function We(_0x2829d8,_0x4d1b58,_0x4f1142){const _0x5b3a29=_0x1ce52f;let _0x31c53c=we(_0x4d1b58[_0x5b3a29(0x1bf)](_0x3374ae=>Ge(_0x3374ae,_0x2829d8)?{..._0x3374ae,'collapsed':!0x1}:_0x3374ae),_0x2829d8[_0x5b3a29(0x1e1)],_0x2829d8[_0x5b3a29(0x18f)],_0x2829d8[_0x5b3a29(0x162)]);return Ke({'start':_0x2829d8['start'],'end':_0x2829d8['end']},_0x31c53c)['map'](_0x2fb790=>Be(_0x2829d8[_0x5b3a29(0x162)],_0x2fb790[_0x5b3a29(0x1e5)],_0x2fb790[_0x5b3a29(0x168)],_0x4f1142));}function Ge(_0x379a74,_0x313122){const _0xc5661b=_0x1ce52f;return _0x379a74[_0xc5661b(0x1e1)]===_0x313122[_0xc5661b(0x1e1)]&&_0x379a74[_0xc5661b(0x18f)]===_0x313122[_0xc5661b(0x18f)]&&_0x379a74[_0xc5661b(0x162)]===_0x313122[_0xc5661b(0x162)]&&_0x379a74[_0xc5661b(0x1e5)]===_0x313122[_0xc5661b(0x1e5)]&&_0x379a74[_0xc5661b(0x168)]===_0x313122[_0xc5661b(0x168)];}function Ke(_0x32df55,_0x2ed38f){const _0x3c6f10=_0x1ce52f;let _0x20acc5=_0x32df55[_0x3c6f10(0x1e5)],_0x47a04a=[];for(let _0x6a59c of _0x2ed38f)if(!(_0x6a59c[_0x3c6f10(0x168)]<_0x20acc5||_0x6a59c[_0x3c6f10(0x1e5)]>_0x32df55[_0x3c6f10(0x168)])&&(_0x6a59c[_0x3c6f10(0x1e5)]>_0x20acc5&&_0x47a04a[_0x3c6f10(0x1a8)]({'start':_0x20acc5,'end':Math[_0x3c6f10(0x164)](_0x6a59c[_0x3c6f10(0x1e5)]-0x1,_0x32df55['end'])}),_0x20acc5=Math['max'](_0x20acc5,_0x6a59c[_0x3c6f10(0x168)]+0x1),_0x20acc5>_0x32df55['end']))break;return _0x20acc5<=_0x32df55[_0x3c6f10(0x168)]&&_0x47a04a[_0x3c6f10(0x1a8)]({'start':_0x20acc5,'end':_0x32df55[_0x3c6f10(0x168)]}),_0x47a04a;}const qe={'id':_0x1ce52f(0x189),'type':_0x370b23[_0x1ce52f(0x1dd)],'handler':(_0x260e79,_0x304bc5)=>{const _0x5d34b3=_0x1ce52f;if(!_0x304bc5)return!0x1;let _0x5577a9=_0x3c973f(_0x260e79[_0x5d34b3(0x1b2)](_0x501b88),_0x304bc5);if(!_0x5577a9)return!0x1;let {unitId:_0x259fac,subUnitId:_0xa5d14a,worksheet:_0x4b5732}=_0x5577a9;if(!R(_0x260e79,_0x259fac,_0xa5d14a))return!0x1;let _0x3718e5=_0x260e79['get'](P)[_0x5d34b3(0x1a4)](_0x259fac,_0xa5d14a),_0x55c6e2=_0x3718e5['find'](_0x971d79=>_0x971d79['id']===_0x304bc5['outlineId']);if(!_0x55c6e2||_0x55c6e2[_0x5d34b3(0x182)]===_0x304bc5[_0x5d34b3(0x182)])return!0x1;let _0x199756=Ue(_0x55c6e2,_0x304bc5[_0x5d34b3(0x182)],_0x4b5732,_0x3718e5),_0x30e412=Ue(_0x55c6e2,!_0x304bc5['collapsed'],_0x4b5732,_0x3718e5);return _0x57ab44(_0x199756,_0x260e79[_0x5d34b3(0x1b2)](_0x5b34db))['result']?(_0x260e79[_0x5d34b3(0x1b2)](_0x236935)['pushUndoRedo']({'unitID':_0x259fac,'undoMutations':_0x30e412,'redoMutations':_0x199756}),!0x0):!0x1;}},U={'id':_0x1ce52f(0x1cb),'type':_0x370b23[_0x1ce52f(0x1ce)],'handler':(_0x27137e,_0x3e7d7b)=>{const _0x511d6f=_0x1ce52f;let _0x14aa00=_0x27137e['get'](P),_0x5f5c3f=Je(_0x14aa00[_0x511d6f(0x1a4)](_0x3e7d7b['unitId'],_0x3e7d7b[_0x511d6f(0x18f)]),_0x3e7d7b);return _0x14aa00['setOutlines'](_0x3e7d7b[_0x511d6f(0x1e1)],_0x3e7d7b[_0x511d6f(0x18f)],_0x5f5c3f),!0x0;}};function Je(_0x23f8a4,_0x15b136){const _0x1c2a1d=_0x1ce52f;switch(_0x15b136[_0x1c2a1d(0x1b4)]){case _0x1c2a1d(0x17d):return _0x15b136[_0x1c2a1d(0x16e)]?Ye(_0x23f8a4,_0x15b136):D(_0x23f8a4,_0x15b136);case'delete':return O(_0x23f8a4,_0x15b136);case'move':return k(_0x23f8a4,_0x15b136);}}function Ye(_0x52aacf,_0x5bc981){const _0x905399=_0x1ce52f;return[..._0x52aacf[_0x905399(0x1f2)](_0x5b12b6=>_0x5b12b6[_0x905399(0x1e1)]!==_0x5bc981[_0x905399(0x1e1)]||_0x5b12b6[_0x905399(0x18f)]!==_0x5bc981[_0x905399(0x18f)]||_0x5b12b6['axis']!==_0x5bc981[_0x905399(0x162)]),..._0x5bc981[_0x905399(0x16e)]];}const W=_0x1ce52f(0x1c1);function _0x2f6c(_0x1318c1,_0x77451d){_0x1318c1=_0x1318c1-0x14f;const _0x1852e5=_0x1852();let _0x2f6c96=_0x1852e5[_0x1318c1];return _0x2f6c96;}var Xe=_0x1ce52f(0x1de),Ze='1.0.0';const Qe={};function G(_0x74f689,_0x98d68b){return function(_0x56bc6c,_0x24623f){_0x98d68b(_0x56bc6c,_0x24623f,_0x74f689);};}function K(_0x71ada7,_0x386ae2,_0x10dfdf,_0x32c672){const _0x30f961=_0x1ce52f;var _0x380172=arguments[_0x30f961(0x169)],_0x25cbf6=_0x380172<0x3?_0x386ae2:_0x32c672===null?_0x32c672=Object['getOwnPropertyDescriptor'](_0x386ae2,_0x10dfdf):_0x32c672,_0x316312;if(typeof Reflect==_0x30f961(0x1db)&&typeof Reflect[_0x30f961(0x1a0)]==_0x30f961(0x15b))_0x25cbf6=Reflect[_0x30f961(0x1a0)](_0x71ada7,_0x386ae2,_0x10dfdf,_0x32c672);else{for(var _0x48ab62=_0x71ada7[_0x30f961(0x169)]-0x1;_0x48ab62>=0x0;_0x48ab62--)(_0x316312=_0x71ada7[_0x48ab62])&&(_0x25cbf6=(_0x380172<0x3?_0x316312(_0x25cbf6):_0x380172>0x3?_0x316312(_0x386ae2,_0x10dfdf,_0x25cbf6):_0x316312(_0x386ae2,_0x10dfdf))||_0x25cbf6);}return _0x380172>0x3&&_0x25cbf6&&Object['defineProperty'](_0x386ae2,_0x10dfdf,_0x25cbf6),_0x25cbf6;}const q={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let J=class extends _0x28774d{constructor(_0x452215,_0x4b2ac1,_0x1d69e8,_0x13fb66){const _0x3b0574=_0x1ce52f;super(),this[_0x3b0574(0x154)]=_0x452215,this[_0x3b0574(0x172)]=_0x4b2ac1,this['_sheetsOutlineModel']=_0x1d69e8,this[_0x3b0574(0x184)]=_0x13fb66,this[_0x3b0574(0x158)]();}[_0x1ce52f(0x158)](){const _0x3613d4=_0x1ce52f;this[_0x3613d4(0x1c3)](this['_sheetInterceptorService'][_0x3613d4(0x1e3)]({'getMutations':_0x5b2df1=>$e(_0x5b2df1,(_0x50e015,_0x205feb)=>this[_0x3613d4(0x1c0)]['getOutlines'](_0x50e015,_0x205feb),this[_0x3613d4(0x1ee)](_0x5b2df1[_0x3613d4(0x18c)]),_0x466ea4=>this[_0x3613d4(0x184)][_0x3613d4(0x19c)](_0x466ea4))}));}[_0x1ce52f(0x1ee)](_0x5b18cc){const _0x2a48c4=_0x1ce52f;let _0x1ada04=_0x5b18cc,_0x20b731=_0x1ada04!=null&&_0x1ada04['unitId']?this[_0x2a48c4(0x154)][_0x2a48c4(0x1d7)](_0x1ada04[_0x2a48c4(0x1e1)],_0x1395c1[_0x2a48c4(0x18b)]):this[_0x2a48c4(0x154)][_0x2a48c4(0x1d8)](_0x1395c1[_0x2a48c4(0x18b)]);if(!_0x20b731)return;let _0x43070a=_0x1ada04!=null&&_0x1ada04['subUnitId']?_0x20b731[_0x2a48c4(0x199)](_0x1ada04[_0x2a48c4(0x18f)]):_0x20b731[_0x2a48c4(0x193)]();if(_0x43070a)return{'unitId':_0x20b731[_0x2a48c4(0x1b8)](),'subUnitId':_0x43070a[_0x2a48c4(0x1e8)]()};}};J=K([G(0x0,_0x501b88),G(0x1,_0xbe0a21(_0xb4bd43)),G(0x2,_0xbe0a21(P)),G(0x3,_0xbe0a21(F))],J);function $e(_0x522e9d,_0x4884c7,_0x304b09,_0x5ebc92){const _0x4078b2=_0x1ce52f;let _0x4e6f0d=tt(_0x522e9d,_0x304b09);if(!_0x4e6f0d)return Z();let _0x189822=_0x4884c7(_0x4e6f0d[_0x4078b2(0x1e1)],_0x4e6f0d[_0x4078b2(0x18f)]);if(!_0x189822[_0x4078b2(0x1a2)](_0x410dc9=>_0x410dc9[_0x4078b2(0x162)]===_0x4e6f0d[_0x4078b2(0x162)]))return Z();et(_0x189822,_0x4e6f0d,_0x522e9d['id'],_0x5ebc92);let _0x5e74b0=it(_0x4e6f0d,_0x189822);return{'redos':[{'id':U['id'],'params':_0x4e6f0d}],'undos':[{'id':U['id'],'params':_0x5e74b0}],'preRedos':[],'preUndos':[]};}function et(_0x163fcc,_0x58741d,_0x15beb5,_0x4033ed){const _0x91d3b9=_0x1ce52f;try{switch(_0x58741d[_0x91d3b9(0x1b4)]){case _0x91d3b9(0x17d):D(_0x163fcc,_0x58741d);break;case _0x91d3b9(0x1d6):O(_0x163fcc,_0x58741d);break;case _0x91d3b9(0x1fe):k(_0x163fcc,_0x58741d);}}catch(_0x4479ba){throw _0x4033ed==null||_0x4033ed({'reason':ye(_0x4479ba),'commandId':_0x15beb5,'unitId':_0x58741d['unitId'],'subUnitId':_0x58741d[_0x91d3b9(0x18f)],'axis':_0x58741d[_0x91d3b9(0x162)],'outlineId':be(_0x4479ba)}),new _0x342912(_0x4479ba instanceof Error?_0x4479ba['message']:_0x91d3b9(0x1ec));}}function tt(_0xf11c8,_0x4b200c){const _0x28486e=_0x1ce52f;switch(_0xf11c8['id']){case _0x3f6c82['id']:return Y(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x3ee2a4['id']:return Y(_0xf11c8[_0x28486e(0x18c)],'column',_0x4b200c);case _0x4c3e8d['id']:return nt(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x4afcff['id']:return nt(_0xf11c8[_0x28486e(0x18c)],'column',_0x4b200c);case _0x50a7df['id']:return rt(_0xf11c8['params'],_0x28486e(0x1dc),_0x4b200c);case _0x18c95c['id']:return rt(_0xf11c8[_0x28486e(0x18c)],_0x28486e(0x1c9),_0x4b200c);default:return null;}}function Y(_0x39dc2d,_0x36bcea,_0x414a79){const _0x368499=_0x1ce52f;let _0x2c2ca3=X(_0x39dc2d,_0x414a79);if(!(_0x39dc2d!=null&&_0x39dc2d['range'])||!_0x2c2ca3)return null;let _0x11f901=_0x36bcea==='row'?_0x39dc2d['range'][_0x368499(0x185)]:_0x39dc2d[_0x368499(0x1fa)]['startColumn'],_0x1a6869=_0x36bcea===_0x368499(0x1dc)?_0x39dc2d[_0x368499(0x1fa)][_0x368499(0x1cc)]:_0x39dc2d[_0x368499(0x1fa)][_0x368499(0x1cd)];return{..._0x2c2ca3,'axis':_0x36bcea,'type':_0x368499(0x17d),'index':_0x11f901,'count':_0x1a6869-_0x11f901+0x1};}function _0x1852(){const _0xdb13ba=['getCurrentUnitOfType','_injector','name','object','row','COMMAND','@univerjs-pro/sheets-outline','index','includes','unitId','values','interceptCommand','Invalid\x20outline\x20range','start','_error$','setOutlines','getSheetId','getRowCount','symbol','max','Invalid\x20dimension\x20outline\x20mutation','COLUMN','_getCommandScope','registerPluginResource','forEach','INVALID_RANGE','filter','asObservable','getMaxColumns','_change$','sheet.command.remove-dimension-outline','move-splits-outline','find','toRange','range','max-depth','MAX_DEPTH','sheet.mutation.set-dimension-outline-collapsed','move','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pop','sheet.mutation.clear-dimension-outlines','_outlines','dispose','_univerInstanceService','from','373258ZluVXs','registerCommand','_initCommandInterceptor','string','add','function','redos','complete','_config','onStarting','pipe','set','axis','39cmnfFr','min','sheet.command.add-dimension-outline','sourceStart','sheet.command.clear-dimension-outlines','end','length','fromRange','_resourceManagerService','7616550OeXELK','offset','restoreOutlines','_initRegisterCommand','Move\x20would\x20split\x20dimension\x20outline:\x20','crossing','_sheetInterceptorService','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','destinationIndex','next','361256AxRtIU','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','_initResource','count','DimensionOutlineError','removeUnit','sheet.mutation.add-dimension-outline','insert','136216TQracp','sheet.mutation.remove-dimension-outline','_commandService','_configService','collapsed','2045480nJTLhK','_sheetsOutlineErrorService','startRow','default','mergedOutlines','toPrimitive','sheet.command.set-dimension-outline-collapsed','permissionPointUpdate$','UNIVER_SHEET','params','packageName','entries','subUnitId','maxIndex','Invalid\x20dimension\x20outline\x20move\x20source\x20range','unknown','getActiveSheet','split','preUndos','OUT_OF_BOUNDS','ROW','getUnitOutlines','getSheetBySheetId','serialize','version','emit','constructor','7yAfwqf','MOVE_SPLITS_OUTLINE','decorate','325341oPoSSz','some','join','getOutlines','outlineId','dimension-outline-','startColumn','push','localeCompare','change$','getColumnCount','message','pushUndoRedo','34238149YMEjiO','UNKNOWN','sourceEnd','12YUdUzW','get','pluginName','type','maxDepth','Crossing','reason','getUnitId','_ensureUnitOutlines','mergedOutline','undos','depth','valid','result','map','_sheetsOutlineModel','SHEET_OUTLINE_PLUGIN','8ispKDf','disposeWithMe','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','out-of-bounds','clear-range-not-contain-outline','has','prototype','column','outline','sheet.mutation.transform-dimension-outlines','endRow','endColumn','MUTATION','defineProperty','error$','invalid-range','stringify','sort','120tziZAl','deserialize','delete','getUnit'];_0x1852=function(){return _0xdb13ba;};return _0x1852();}function nt(_0x236e81,_0x53d7b0,_0x4dbe16){const _0x3332c1=_0x1ce52f;let _0x48ff75=X(_0x236e81,_0x4dbe16);if(!(_0x236e81!=null&&_0x236e81[_0x3332c1(0x1fa)])||!_0x48ff75)return null;let _0x3db01c=_0x53d7b0===_0x3332c1(0x1dc)?_0x236e81['range'][_0x3332c1(0x185)]:_0x236e81[_0x3332c1(0x1fa)][_0x3332c1(0x1a7)],_0x44bef7=_0x53d7b0==='row'?_0x236e81[_0x3332c1(0x1fa)][_0x3332c1(0x1cc)]:_0x236e81[_0x3332c1(0x1fa)]['endColumn'];return{..._0x48ff75,'axis':_0x53d7b0,'type':_0x3332c1(0x1d6),'start':_0x3db01c,'end':_0x44bef7};}function rt(_0x11adcf,_0x2a0727,_0x1b0cd6){const _0x5d88da=_0x1ce52f;let _0x39eb4d=X(_0x11adcf,_0x1b0cd6);if(!(_0x11adcf!=null&&_0x11adcf[_0x5d88da(0x16a)])||!_0x11adcf[_0x5d88da(0x1f9)]||!_0x39eb4d)return null;let _0x5b1ccb=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x16a)]['startRow']:_0x11adcf['fromRange']['startColumn'],_0x39be7a=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x16a)]['endRow']:_0x11adcf[_0x5d88da(0x16a)][_0x5d88da(0x1cd)],_0x3fddde=_0x2a0727===_0x5d88da(0x1dc)?_0x11adcf[_0x5d88da(0x1f9)][_0x5d88da(0x185)]:_0x11adcf[_0x5d88da(0x1f9)][_0x5d88da(0x1a7)];return{..._0x39eb4d,'axis':_0x2a0727,'type':_0x5d88da(0x1fe),'sourceStart':_0x5b1ccb,'sourceEnd':_0x39be7a,'destinationIndex':_0x3fddde};}function it(_0x2efe25,_0x26923f){const _0x1eee4b=_0x1ce52f;switch(_0x2efe25[_0x1eee4b(0x1b4)]){case _0x1eee4b(0x17d):return{'unitId':_0x2efe25['unitId'],'subUnitId':_0x2efe25[_0x1eee4b(0x18f)],'axis':_0x2efe25[_0x1eee4b(0x162)],'type':_0x1eee4b(0x1d6),'start':_0x2efe25[_0x1eee4b(0x1df)],'end':_0x2efe25['index']+_0x2efe25[_0x1eee4b(0x179)]-0x1};case _0x1eee4b(0x1d6):return{'unitId':_0x2efe25['unitId'],'subUnitId':_0x2efe25[_0x1eee4b(0x18f)],'axis':_0x2efe25[_0x1eee4b(0x162)],'type':_0x1eee4b(0x17d),'index':_0x2efe25['start'],'count':_0x2efe25[_0x1eee4b(0x168)]-_0x2efe25['start']+0x1,'restoreOutlines':_0x26923f['filter'](_0x2fbcbc=>_0x2fbcbc[_0x1eee4b(0x1e1)]===_0x2efe25[_0x1eee4b(0x1e1)]&&_0x2fbcbc[_0x1eee4b(0x18f)]===_0x2efe25[_0x1eee4b(0x18f)]&&_0x2fbcbc[_0x1eee4b(0x162)]===_0x2efe25[_0x1eee4b(0x162)])};case'move':return at(_0x2efe25);}}function at(_0xaa0aca){const _0x219b9e=_0x1ce52f;let _0x35330a=_0xaa0aca[_0x219b9e(0x1b0)]-_0xaa0aca[_0x219b9e(0x166)]+0x1;return _0xaa0aca[_0x219b9e(0x174)]>=_0xaa0aca[_0x219b9e(0x166)]&&_0xaa0aca['destinationIndex']<=_0xaa0aca['sourceEnd']+0x1?{..._0xaa0aca}:_0xaa0aca[_0x219b9e(0x174)]>_0xaa0aca[_0x219b9e(0x1b0)]+0x1?{..._0xaa0aca,'sourceStart':_0xaa0aca['destinationIndex']-_0x35330a,'sourceEnd':_0xaa0aca[_0x219b9e(0x174)]-0x1,'destinationIndex':_0xaa0aca[_0x219b9e(0x166)]}:{..._0xaa0aca,'sourceStart':_0xaa0aca[_0x219b9e(0x174)],'sourceEnd':_0xaa0aca[_0x219b9e(0x174)]+_0x35330a-0x1,'destinationIndex':_0xaa0aca['sourceEnd']+0x1};}function X(_0x5a2d0a,_0x139d48){const _0x4fae06=_0x1ce52f;let _0x435f7e=(_0x5a2d0a==null?void 0x0:_0x5a2d0a[_0x4fae06(0x1e1)])??(_0x139d48==null?void 0x0:_0x139d48[_0x4fae06(0x1e1)]),_0x2a7598=(_0x5a2d0a==null?void 0x0:_0x5a2d0a['subUnitId'])??(_0x139d48==null?void 0x0:_0x139d48[_0x4fae06(0x18f)]);return _0x435f7e&&_0x2a7598?{'unitId':_0x435f7e,'subUnitId':_0x2a7598}:null;}function Z(){const _0x22dc75=_0x1ce52f;return{'redos':[...q[_0x22dc75(0x15c)]],'undos':[...q[_0x22dc75(0x1bb)]],'preRedos':[...q['preRedos']??[]],'preUndos':[...q[_0x22dc75(0x195)]??[]]};}let Q=class extends _0x28774d{constructor(_0x3848f2,_0x2115c8){const _0x32d3b7=_0x1ce52f;super(),this[_0x32d3b7(0x16b)]=_0x3848f2,this[_0x32d3b7(0x1c0)]=_0x2115c8,this['_initResource']();}[_0x1ce52f(0x178)](){const _0x23272a=_0x1ce52f;this[_0x23272a(0x1c3)](this[_0x23272a(0x16b)][_0x23272a(0x1ef)]({'pluginName':W,'businesses':[_0x1395c1[_0x23272a(0x18b)]],'toJson':_0x3c7d27=>JSON[_0x23272a(0x1d2)](this[_0x23272a(0x1c0)][_0x23272a(0x19a)](_0x3c7d27)),'parseJson':_0xa86f8a=>JSON['parse'](_0xa86f8a),'onLoad':(_0x5d37e2,_0x1e2598)=>this[_0x23272a(0x1c0)][_0x23272a(0x1d5)](_0x5d37e2,_0x1e2598),'onUnLoad':_0x3f2240=>this[_0x23272a(0x1c0)][_0x23272a(0x17b)](_0x3f2240)}));}};Q=K([G(0x0,_0x57db0b),G(0x1,_0xbe0a21(P))],Q);let $=class extends _0xd243c4{constructor(_0xee5c95=Qe,_0x5f4960,_0x17a340,_0x2e44ec){const _0x4237c5=_0x1ce52f;super(),this[_0x4237c5(0x15e)]=_0xee5c95,this[_0x4237c5(0x1d9)]=_0x5f4960,this[_0x4237c5(0x180)]=_0x17a340,this[_0x4237c5(0x181)]=_0x2e44ec;let {..._0x4e0065}=_0x1a0e54({},Qe,this[_0x4237c5(0x15e)]);this[_0x4237c5(0x181)]['setConfig']('sheets-outline.config',_0x4e0065);}[_0x1ce52f(0x15f)](){const _0x164c21=_0x1ce52f;this[_0x164c21(0x1d9)]['add']([P]),this['_injector'][_0x164c21(0x15a)]([F]),this[_0x164c21(0x1d9)]['add']([Q]),this[_0x164c21(0x1d9)][_0x164c21(0x15a)]([J]),this[_0x164c21(0x16f)](),this['_injector'][_0x164c21(0x1b2)](P),this['_injector'][_0x164c21(0x1b2)](F),this[_0x164c21(0x1d9)][_0x164c21(0x1b2)](Q),this['_injector'][_0x164c21(0x1b2)](J);}[_0x1ce52f(0x16f)](){const _0x8e6d00=_0x1ce52f;[z,ze,qe,V][_0x8e6d00(0x1f0)](_0x1addb7=>{const _0x4df2da=_0x8e6d00;this[_0x4df2da(0x1c3)](this[_0x4df2da(0x180)][_0x4df2da(0x157)](_0x1addb7));}),[I,L,H,B,U][_0x8e6d00(0x1f0)](_0x30b372=>{const _0x3c0f88=_0x8e6d00;this['disposeWithMe'](this[_0x3c0f88(0x180)][_0x3c0f88(0x157)](_0x30b372));});}};N($,_0x1ce52f(0x1b3),W),N($,_0x1ce52f(0x18d),Xe),N($,_0x1ce52f(0x19b),Ze),N($,'type',_0x1395c1[_0x1ce52f(0x18b)]),$=K([_0x35d92d(_0x1e0280,_0x1d7adc),G(0x1,_0xbe0a21(_0x1ea18e)),G(0x2,_0x5b34db),G(0x3,_0x3ab1ed)],$);export{z as AddDimensionOutlineCommand,I as AddDimensionOutlineMutation,V as ClearDimensionOutlinesCommand,B as ClearDimensionOutlinesMutation,_e as DimensionOutlineAxis,ve as DimensionOutlineErrorReason,ze as RemoveDimensionOutlineCommand,L as RemoveDimensionOutlineMutation,W as SHEET_OUTLINE_PLUGIN,qe as SetDimensionOutlineCollapsedCommand,H as SetDimensionOutlineCollapsedMutation,F as SheetsOutlineErrorService,P as SheetsOutlineModel,U as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,T as buildDimensionOutlineTree,E as canAddDimensionOutline,Ie as getDimensionOutlineViewPermission$,R as hasDimensionOutlineViewPermission,O as transformOutlinesByDelete,D as transformOutlinesByInsert,k as transformOutlinesByMove};
|
|
1
|
+
function _0x3a3b(_0x4752cf,_0x36561c){_0x4752cf=_0x4752cf-0xb5;const _0x3d421d=_0x3d42();let _0x3a3b38=_0x3d421d[_0x4752cf];return _0x3a3b38;}const _0x43fe3d=_0x3a3b;(function(_0x38672e,_0x5683d5){const _0x33b28f=_0x3a3b,_0x336cde=_0x38672e();while(!![]){try{const _0xf5a685=parseInt(_0x33b28f(0x104))/0x1*(-parseInt(_0x33b28f(0x14e))/0x2)+-parseInt(_0x33b28f(0x12b))/0x3+parseInt(_0x33b28f(0x15d))/0x4+-parseInt(_0x33b28f(0xe8))/0x5+parseInt(_0x33b28f(0xbf))/0x6*(parseInt(_0x33b28f(0xe6))/0x7)+parseInt(_0x33b28f(0xe5))/0x8*(-parseInt(_0x33b28f(0x111))/0x9)+parseInt(_0x33b28f(0xde))/0xa*(parseInt(_0x33b28f(0xdf))/0xb);if(_0xf5a685===_0x5683d5)break;else _0x336cde['push'](_0x336cde['shift']());}catch(_0x36833a){_0x336cde['push'](_0x336cde['shift']());}}}(_0x3d42,0x3bfe4));import{CommandType as _0x5ebc9c,CustomCommandExecutionError as _0x539be5,DependentOn as _0x5c43ca,Disposable as _0xb1c262,ICommandService as _0x1cacbb,IConfigService as _0x473018,IPermissionService as _0x55e23e,IResourceManagerService as _0x3f3d7f,IUndoRedoService as _0x15d8cf,IUniverInstanceService as _0x4d64de,Inject as _0x3d40bd,Injector as _0x217502,Plugin as _0xacd159,UniverInstanceType as _0x4481f0,generateRandomId as _0x31b1a4,merge as _0x36a193,sequenceExecute as _0x490769}from'@univerjs/core';import{InsertColCommand as _0x41349b,InsertRowCommand as _0x54e0ab,MoveColsCommand as _0x1ce04b,MoveRowsCommand as _0x1c660a,RemoveColCommand as _0x41aa47,RemoveRowCommand as _0x2ea397,SetColHiddenMutation as _0x2e1ef4,SetColVisibleMutation as _0xb20ffe,SetRowHiddenMutation as _0x5cbb57,SetRowVisibleMutation as _0x233235,SheetInterceptorService as _0x55c49d,SheetPermissionCheckController as _0x40ba24,UniverSheetsPlugin as _0x57e74f,WorkbookViewPermission as _0x4f9205,WorksheetViewPermission as _0x48e18f,getSheetCommandTarget as _0x1a148e}from'@univerjs/sheets';import{Subject as _0x34a108,of as _0x2723ca}from'rxjs';import{debounceTime as _0x4d308a,map as _0x333349,startWith as _0x2ad35a}from'rxjs/operators';function _0x3d42(){const _0x334731=['children','ROW','@univerjs-pro/sheets-outline','decorate','mergedOutline','index','getUnitOutlines','function','restoreOutlines','sourceEnd','_initRegisterCommand','sheet.command.remove-dimension-outline','unitId','startRow','push','invalid-dimension-outline','COLUMN','sheet.mutation.remove-dimension-outline','maxDepth','some','_ensureUnitOutlines','preRedos','_commandService','preUndos','find','packageName','disposeWithMe','next','call','70kZPrfR','1678897CpfleQ','row','setOutlines','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','getActiveSheet','_resourceManagerService','12048bvVvdQ','468797lOQuWR','map','2336620IBeNiY','dispose','permissionPointUpdate$','removeUnit','Invalid\x20dimension\x20outline\x20mutation','emit','getUnitId','move-splits-outline','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','end','error$','includes','filter','symbol','column','_sheetsOutlineModel','registerCommand','default','stringify','getColumnCount','_sheetInterceptorService','dimension-outline-','parse','toPrimitive','MUTATION','_initResource','_injector','delete','128vgDjkj','getMaxColumns','params','_error$','deserialize','permissionCheckWithoutRange','constructor','pushUndoRedo','pipe','Invalid\x20dimension\x20outline\x20move\x20source\x20range','sheet.command.add-dimension-outline','add','toRange','1251yPRReX','range','asObservable','CROSSING','OUT_OF_BOUNDS','crossing','unknown','type','UNIVER_SHEET','Move\x20would\x20split\x20dimension\x20outline:\x20','fromRange','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','sheet.mutation.set-dimension-outline-collapsed','forEach','_outlines','maxIndex','min','subUnitId','_config','1.0.1','clear-range-not-contain-outline','COMMAND','has','endColumn','complete','sheet.command.set-dimension-outline-collapsed','217194cZmPAC','out-of-bounds','max-depth','serialize','message','getOutlines','_configService','interceptCommand','sheet.mutation.clear-dimension-outlines','change$','_change$','pluginName','version','from','collapsed','axis','insert','valid','_univerInstanceService','reason','clear','sheet.mutation.transform-dimension-outlines','max','split','sourceStart','mergedOutlines','name','count','Invalid\x20outline\x20range','_sheetsOutlineErrorService','getSheetBySheetId','values','string','INVALID_RANGE','sheet.mutation.add-dimension-outline','4762lKtUqS','redos','outlineList','move','object','length','get','result','getRowCount','sheets-outline.config','UNKNOWN','startColumn','getSheetId','outlineId','start','656784qTVpDQ','MAX_DEPTH','prototype','DimensionOutlineError','split\x20dimension\x20outline','set','invalid-range','_getCommandScope','localeCompare','pop','depth','Crossing','_initCommandInterceptor','destinationIndex','6WoSTHr','sort'];_0x3d42=function(){return _0x334731;};return _0x3d42();}import{UniverLicensePlugin as _0x3b8092}from'@univerjs-pro/license';let _e=function(_0x47019a){const _0x4d5c5e=_0x3a3b;return _0x47019a[_0x4d5c5e(0xc2)]=_0x4d5c5e(0xe0),_0x47019a[_0x4d5c5e(0xd1)]=_0x4d5c5e(0xf6),_0x47019a;}({}),ve=function(_0x14accf){const _0x35cdbd=_0x3a3b;return _0x14accf[_0x35cdbd(0x14c)]=_0x35cdbd(0xb7),_0x14accf[_0x35cdbd(0x115)]=_0x35cdbd(0x12c),_0x14accf[_0x35cdbd(0x114)]=_0x35cdbd(0x116),_0x14accf[_0x35cdbd(0x15e)]=_0x35cdbd(0x12d),_0x14accf['MOVE_SPLITS_OUTLINE']=_0x35cdbd(0xef),_0x14accf[_0x35cdbd(0x11c)]=_0x35cdbd(0x125),_0x14accf[_0x35cdbd(0x158)]='unknown',_0x14accf;}({});var S=class extends Error{constructor(_0x1ed3db,_0x1422c3,_0x482c7f){const _0x4a24e2=_0x3a3b;super(_0x1422c3),this[_0x4a24e2(0x13e)]=_0x1ed3db,this[_0x4a24e2(0x15b)]=_0x482c7f,this[_0x4a24e2(0x145)]=_0x4a24e2(0x160);}};function ye(_0x3a464c){const _0x52f75d=_0x3a3b;return _0x3a464c instanceof S?_0x3a464c[_0x52f75d(0x13e)]:_0x3a464c instanceof Error?_0x3a464c[_0x52f75d(0x12f)][_0x52f75d(0xf3)](_0x52f75d(0xb5))?_0x52f75d(0xef):_0x3a464c[_0x52f75d(0x12f)]['includes'](_0x52f75d(0xbb))?_0x52f75d(0x12d):_0x3a464c[_0x52f75d(0x12f)]['includes'](_0x52f75d(0xbc))?_0x52f75d(0x116):_0x3a464c[_0x52f75d(0x12f)][_0x52f75d(0xf3)]('range')?_0x52f75d(0xb7):'unknown':_0x52f75d(0x117);}function be(_0x32737f){const _0x40d126=_0x3a3b;return _0x32737f instanceof S?_0x32737f[_0x40d126(0x15b)]:void 0x0;}const C=0x2**0x35-0x1;function w(_0x4d795b,_0x1c675c){const _0x9bba2f=_0x3a3b;return _0x4d795b[_0x9bba2f(0xcd)]===_0x1c675c['unitId']&&_0x4d795b[_0x9bba2f(0x122)]===_0x1c675c['subUnitId']&&_0x4d795b['axis']===_0x1c675c[_0x9bba2f(0x13a)];}function T(_0x5d0244,_0x2e1d60={}){const _0x305a1e=_0x3a3b;let _0x4d2116=_0x2e1d60[_0x305a1e(0xd3)]??0x8,_0x4bffe6=new Map();for(let _0x291b9b of _0x5d0244){let _0x3ce7f8=_0x291b9b[_0x305a1e(0xcd)]+':'+_0x291b9b[_0x305a1e(0x122)]+':'+_0x291b9b[_0x305a1e(0x13a)],_0x5ccf45=_0x4bffe6[_0x305a1e(0x154)](_0x3ce7f8);_0x5ccf45?_0x5ccf45['push'](_0x291b9b):_0x4bffe6[_0x305a1e(0xb6)](_0x3ce7f8,[_0x291b9b]);}let _0x3a87af=[];for(let _0x321040 of _0x4bffe6[_0x305a1e(0x14a)]()){let _0x2dc4ba=[..._0x321040]['sort'](j),_0x4916dd=[];for(let _0x4a533c of _0x2dc4ba){for(Me(_0x4a533c);_0x4916dd['length']>0x0&&_0x4a533c[_0x305a1e(0x15c)]>_0x4916dd[_0x4916dd[_0x305a1e(0x153)]-0x1][_0x305a1e(0xf1)];)_0x4916dd[_0x305a1e(0xba)]();let _0x5c414e=_0x4916dd[_0x4916dd[_0x305a1e(0x153)]-0x1];if(_0x5c414e&&_0x4a533c['end']>_0x5c414e[_0x305a1e(0xf1)])throw new S(_0x305a1e(0x116),_0x305a1e(0xe2),_0x4a533c['id']);let _0x10aab3=_0x5c414e?_0x5c414e['depth']+0x1:0x1;if(_0x10aab3>_0x4d2116)throw new S(_0x305a1e(0x12d),_0x305a1e(0xf0)+_0x4d2116,_0x4a533c['id']);let _0x234090={..._0x4a533c,'depth':_0x10aab3,'parentId':_0x5c414e==null?void 0x0:_0x5c414e['id'],'anchor':_0x4a533c[_0x305a1e(0xf1)],'children':[]};_0x5c414e?_0x5c414e[_0x305a1e(0xc1)][_0x305a1e(0xcf)](_0x234090):_0x3a87af['push'](_0x234090),_0x4916dd['push'](_0x234090);}}return _0x3a87af;}function E(_0x4c3766,_0xa448f5,_0x2c6c88={}){const _0x4ceb4b=_0x3a3b;if(_0xa448f5[_0x4ceb4b(0x15c)]<0x0||_0xa448f5[_0x4ceb4b(0x15c)]>_0xa448f5[_0x4ceb4b(0xf1)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x2c6c88['maxIndex']!=null&&_0xa448f5['end']>=_0x2c6c88[_0x4ceb4b(0x120)])return{'valid':!0x1,'reason':_0x4ceb4b(0x12c)};let _0x83906e=_0x4c3766[_0x4ceb4b(0xf4)](_0x350618=>w(_0x350618,_0xa448f5));for(let _0x1e9ff1 of _0x83906e)if(Ne(_0x1e9ff1,_0xa448f5))return{'valid':!0x1,'reason':_0x4ceb4b(0x116)};try{T([..._0x4c3766,_0xa448f5],_0x2c6c88);}catch(_0x23ab74){let _0x2a9505=ye(_0x23ab74);return _0x2a9505===_0x4ceb4b(0x12d)?{'valid':!0x1,'reason':_0x4ceb4b(0x12d)}:_0x2a9505===_0x4ceb4b(0xb7)?{'valid':!0x1,'reason':_0x4ceb4b(0xb7)}:{'valid':!0x1,'reason':_0x4ceb4b(0x116)};}return{'valid':!0x0};}function xe(_0x107d3d,_0x3f7c9d,_0x545c61={}){const _0x5c9ce1=_0x3a3b;let _0x280293=E(_0x107d3d,_0x3f7c9d,_0x545c61);if(!_0x280293[_0x5c9ce1(0x13c)])throw Error(_0x280293[_0x5c9ce1(0x13e)]??_0x5c9ce1(0xd0));return[..._0x107d3d,_0x3f7c9d];}function Se(_0x4d4100,_0x212d3a){const _0x23adfc=_0x3a3b;let _0xe3e865=_0x212d3a['start'],_0xf89f01=_0x212d3a[_0x23adfc(0xf1)],_0x4a2712=[],_0x1b6cf8=!0x0;for(;_0x1b6cf8;){_0x1b6cf8=!0x1;for(let _0x13188e of _0x4d4100)!_0x4a2712[_0x23adfc(0xf3)](_0x13188e)&&w(_0x13188e,_0x212d3a)&&Ae(_0x13188e[_0x23adfc(0x15c)],_0x13188e[_0x23adfc(0xf1)],_0xe3e865,_0xf89f01)&&(_0x4a2712[_0x23adfc(0xcf)](_0x13188e),_0xe3e865=Math['min'](_0xe3e865,_0x13188e[_0x23adfc(0x15c)]),_0xf89f01=Math['max'](_0xf89f01,_0x13188e[_0x23adfc(0xf1)]),_0x1b6cf8=!0x0);}if(_0x4a2712['length']===0x0)return null;let [_0x45e094]=[..._0x4a2712][_0x23adfc(0xc0)](j);return{'mergedOutline':{..._0x45e094,'start':_0xe3e865,'end':_0xf89f01},'mergedOutlines':_0x4a2712};}function Ce(_0x43ac61,_0x33eec8){const _0x13a54a=_0x3a3b;return _0x43ac61['filter'](_0x12e4e7=>!w(_0x12e4e7,_0x33eec8)||!(_0x12e4e7[_0x13a54a(0x15c)]>=_0x33eec8[_0x13a54a(0x15c)]&&_0x12e4e7['end']<=_0x33eec8[_0x13a54a(0xf1)]));}function we(_0x39c51a,_0x2b5cf7,_0x3e204d,_0x28fe83){const _0x3d054c=_0x3a3b;return Te(_0x39c51a[_0x3d054c(0xf4)](_0x4935ca=>_0x4935ca[_0x3d054c(0xcd)]===_0x2b5cf7&&_0x4935ca[_0x3d054c(0x122)]===_0x3e204d&&_0x4935ca[_0x3d054c(0x13a)]===_0x28fe83&&_0x4935ca[_0x3d054c(0x139)])[_0x3d054c(0xe7)](_0x539c57=>({'start':_0x539c57[_0x3d054c(0x15c)],'end':_0x539c57[_0x3d054c(0xf1)]})));}function Te(_0xf37ee){const _0x41c98d=_0x3a3b;if(_0xf37ee['length']===0x0)return[];let _0x24fa35=[..._0xf37ee][_0x41c98d(0xc0)]((_0x2ae5f4,_0x2d8009)=>_0x2ae5f4[_0x41c98d(0x15c)]-_0x2d8009[_0x41c98d(0x15c)]||_0x2ae5f4['end']-_0x2d8009[_0x41c98d(0xf1)]),_0x340b24=[];for(let _0x156464 of _0x24fa35){let _0x3b2490=_0x340b24[_0x340b24[_0x41c98d(0x153)]-0x1];!_0x3b2490||_0x156464['start']>_0x3b2490[_0x41c98d(0xf1)]+0x1?_0x340b24[_0x41c98d(0xcf)]({..._0x156464}):_0x3b2490[_0x41c98d(0xf1)]=Math[_0x41c98d(0x141)](_0x3b2490['end'],_0x156464[_0x41c98d(0xf1)]);}return _0x340b24;}function D(_0x45826a,_0xc6ca7c){const _0x3c7917=_0x3a3b;return _0xc6ca7c[_0x3c7917(0x146)]<=0x0?_0x45826a:A(_0x45826a['map'](_0x53850c=>w(_0x53850c,_0xc6ca7c)?_0xc6ca7c['index']<=_0x53850c[_0x3c7917(0x15c)]?{..._0x53850c,'start':_0x53850c[_0x3c7917(0x15c)]+_0xc6ca7c[_0x3c7917(0x146)],'end':_0x53850c[_0x3c7917(0xf1)]+_0xc6ca7c['count']}:_0x53850c['start']<_0xc6ca7c['index']&&_0xc6ca7c[_0x3c7917(0xc6)]<=_0x53850c['end']?{..._0x53850c,'end':_0x53850c[_0x3c7917(0xf1)]+_0xc6ca7c['count']}:_0x53850c:_0x53850c));}function O(_0xecface,_0x3219ff){const _0x40ef17=_0x3a3b;if(_0x3219ff[_0x40ef17(0x15c)]>_0x3219ff[_0x40ef17(0xf1)])return _0xecface;let _0x17bd94=_0x3219ff['end']-_0x3219ff[_0x40ef17(0x15c)]+0x1,_0x26b719=[];for(let _0x110d53 of _0xecface){if(!w(_0x110d53,_0x3219ff)){_0x26b719[_0x40ef17(0xcf)](_0x110d53);continue;}if(_0x110d53[_0x40ef17(0xf1)]<_0x3219ff['start']){_0x26b719[_0x40ef17(0xcf)](_0x110d53);continue;}if(_0x110d53['start']>_0x3219ff[_0x40ef17(0xf1)]){_0x26b719[_0x40ef17(0xcf)]({..._0x110d53,'start':_0x110d53[_0x40ef17(0x15c)]-_0x17bd94,'end':_0x110d53['end']-_0x17bd94});continue;}let _0x4f7213=Math[_0x40ef17(0x141)](_0x110d53[_0x40ef17(0x15c)],_0x3219ff['start']),_0x3a5e27=Math[_0x40ef17(0x121)](_0x110d53[_0x40ef17(0xf1)],_0x3219ff[_0x40ef17(0xf1)]),_0x17b399=Math['max'](0x0,_0x3a5e27-_0x4f7213+0x1),_0x1f8d55=_0x110d53[_0x40ef17(0xf1)]-_0x110d53[_0x40ef17(0x15c)]+0x1-_0x17b399;if(_0x1f8d55<=0x0)continue;let _0x46b809=_0x110d53['start']<_0x3219ff[_0x40ef17(0x15c)]?_0x110d53[_0x40ef17(0x15c)]:_0x3219ff[_0x40ef17(0x15c)];_0x26b719[_0x40ef17(0xcf)]({..._0x110d53,'start':_0x46b809,'end':_0x46b809+_0x1f8d55-0x1});}return A(_0x26b719);}function k(_0x2dc7db,_0xd20cab){const _0x276ef6=_0x3a3b;if(_0xd20cab[_0x276ef6(0x143)]>_0xd20cab[_0x276ef6(0xca)])return _0x2dc7db;let _0x3c4d17=[];for(let _0x1d50c2 of _0x2dc7db){if(!w(_0x1d50c2,_0xd20cab)){_0x3c4d17[_0x276ef6(0xcf)](_0x1d50c2);continue;}let _0x28179a=Ee(_0x1d50c2,_0xd20cab);if(_0x28179a['type']===_0x276ef6(0x142))throw new S('move-splits-outline',_0x276ef6(0x11a)+_0x1d50c2['id'],_0x1d50c2['id']);_0x3c4d17['push'](_0x28179a['outline']);}return A(_0x3c4d17);}function Ee(_0x28b91e,_0x548c12){const _0x1809e9=_0x3a3b;let _0x24a75f=De(_0x548c12['sourceStart'],_0x548c12[_0x1809e9(0xca)]+0x1,_0x548c12['destinationIndex']),_0x321437=[],_0x3a4266={'start':_0x28b91e[_0x1809e9(0x15c)],'end':_0x28b91e[_0x1809e9(0xf1)]+0x1};for(let _0xf69c66 of _0x24a75f){let _0x2ac3c8=Oe(_0x3a4266,_0xf69c66[_0x1809e9(0x112)]);_0x2ac3c8&&_0x321437[_0x1809e9(0xcf)]({'start':_0x2ac3c8[_0x1809e9(0x15c)]+_0xf69c66['offset'],'end':_0x2ac3c8[_0x1809e9(0xf1)]+_0xf69c66['offset']});}let _0x2d9c08=ke(_0x321437);return _0x2d9c08[_0x1809e9(0x153)]===0x1?{'type':'ok','outline':{..._0x28b91e,'start':_0x2d9c08[0x0]['start'],'end':_0x2d9c08[0x0][_0x1809e9(0xf1)]-0x1}}:{'type':'split','outline':_0x28b91e,'ranges':_0x2d9c08};}function De(_0x5baaae,_0x392a16,_0xca03a3){const _0x116cd2=_0x3a3b;let _0xc167fb=_0x392a16-_0x5baaae;if(_0xc167fb<=0x0)throw Error(_0x116cd2(0x10d));return _0xca03a3>=_0x5baaae&&_0xca03a3<=_0x392a16?[{'range':{'start':0x0,'end':C},'offset':0x0}]:_0xca03a3<_0x5baaae?[{'range':{'start':0x0,'end':_0xca03a3},'offset':0x0},{'range':{'start':_0xca03a3,'end':_0x5baaae},'offset':_0xc167fb},{'range':{'start':_0x5baaae,'end':_0x392a16},'offset':_0xca03a3-_0x5baaae},{'range':{'start':_0x392a16,'end':C},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x5baaae},'offset':0x0},{'range':{'start':_0x5baaae,'end':_0x392a16},'offset':_0xca03a3-_0x392a16},{'range':{'start':_0x392a16,'end':_0xca03a3},'offset':-_0xc167fb},{'range':{'start':_0xca03a3,'end':C},'offset':0x0}];}function Oe(_0x4fa1b2,_0x2498b0){const _0x8f5db0=_0x3a3b;let _0xe2e390=Math[_0x8f5db0(0x141)](_0x4fa1b2[_0x8f5db0(0x15c)],_0x2498b0[_0x8f5db0(0x15c)]),_0x52c00b=Math[_0x8f5db0(0x121)](_0x4fa1b2['end'],_0x2498b0[_0x8f5db0(0xf1)]);return _0xe2e390>=_0x52c00b?null:{'start':_0xe2e390,'end':_0x52c00b};}function ke(_0x2ab61e){const _0x2e71d0=_0x3a3b;if(_0x2ab61e[_0x2e71d0(0x153)]===0x0)return[];let _0x17841c=[..._0x2ab61e][_0x2e71d0(0xc0)]((_0x59de9b,_0x1e6524)=>_0x59de9b[_0x2e71d0(0x15c)]-_0x1e6524[_0x2e71d0(0x15c)]||_0x59de9b[_0x2e71d0(0xf1)]-_0x1e6524[_0x2e71d0(0xf1)]),_0x35451b=[];for(let _0x61f906 of _0x17841c){let _0x547bc9=_0x35451b[_0x35451b[_0x2e71d0(0x153)]-0x1];!_0x547bc9||_0x61f906[_0x2e71d0(0x15c)]>_0x547bc9[_0x2e71d0(0xf1)]?_0x35451b['push']({..._0x61f906}):_0x547bc9['end']=Math['max'](_0x547bc9[_0x2e71d0(0xf1)],_0x61f906[_0x2e71d0(0xf1)]);}return _0x35451b;}function Ae(_0x127b01,_0x3ea50e,_0xd82b86,_0x49dfa6){return _0x3ea50e+0x1===_0xd82b86||_0x49dfa6+0x1===_0x127b01;}function A(_0x373c0f){let _0xebf50b=je(_0x373c0f);return T(_0xebf50b),_0xebf50b;}function je(_0x31a935){const _0x464be7=_0x3a3b;let _0xa5cf1b=new Map();for(let _0x491762 of _0x31a935){let _0x2c0c51=[_0x491762[_0x464be7(0xcd)],_0x491762[_0x464be7(0x122)],_0x491762[_0x464be7(0x13a)],_0x491762[_0x464be7(0x15c)],_0x491762[_0x464be7(0xf1)]]['join'](':'),_0x3b9b4b=_0xa5cf1b[_0x464be7(0x154)](_0x2c0c51);if(!_0x3b9b4b){_0xa5cf1b[_0x464be7(0xb6)](_0x2c0c51,_0x491762);continue;}_0xa5cf1b[_0x464be7(0xb6)](_0x2c0c51,{..._0x3b9b4b,'collapsed':_0x3b9b4b[_0x464be7(0x139)]||_0x491762[_0x464be7(0x139)]});}return Array[_0x464be7(0x138)](_0xa5cf1b[_0x464be7(0x14a)]());}function j(_0xf13602,_0xbd296a){const _0x2dd550=_0x3a3b;return _0xf13602[_0x2dd550(0xcd)]===_0xbd296a[_0x2dd550(0xcd)]?_0xf13602[_0x2dd550(0x122)]===_0xbd296a['subUnitId']?_0xf13602[_0x2dd550(0x13a)]===_0xbd296a[_0x2dd550(0x13a)]?_0xf13602[_0x2dd550(0x15c)]===_0xbd296a[_0x2dd550(0x15c)]?_0xbd296a[_0x2dd550(0xf1)]-_0xf13602[_0x2dd550(0xf1)]:_0xf13602[_0x2dd550(0x15c)]-_0xbd296a[_0x2dd550(0x15c)]:_0xf13602[_0x2dd550(0x13a)]['localeCompare'](_0xbd296a[_0x2dd550(0x13a)]):_0xf13602[_0x2dd550(0x122)]['localeCompare'](_0xbd296a['subUnitId']):_0xf13602['unitId'][_0x2dd550(0xb9)](_0xbd296a[_0x2dd550(0xcd)]);}function Me(_0x4f958e){const _0x16ab05=_0x3a3b;if(_0x4f958e[_0x16ab05(0x15c)]>_0x4f958e[_0x16ab05(0xf1)])throw new S('invalid-range',_0x16ab05(0x147),_0x4f958e['id']);}function Ne(_0x11fe64,_0x339efe){const _0x48bd79=_0x3a3b;let _0x13b85f=_0x11fe64[_0x48bd79(0x15c)]<=_0x339efe[_0x48bd79(0xf1)]&&_0x339efe[_0x48bd79(0x15c)]<=_0x11fe64[_0x48bd79(0xf1)],_0x4a6c84=_0x11fe64[_0x48bd79(0x15c)]<=_0x339efe['start']&&_0x339efe['end']<=_0x11fe64[_0x48bd79(0xf1)],_0x4230df=_0x339efe[_0x48bd79(0x15c)]<=_0x11fe64['start']&&_0x11fe64[_0x48bd79(0xf1)]<=_0x339efe[_0x48bd79(0xf1)];return _0x13b85f&&!_0x4a6c84&&!_0x4230df;}function M(_0x1edba0){'@babel/helpers - typeof';const _0x416641=_0x3a3b;return M=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x416641(0xf5)?function(_0x4c22e4){return typeof _0x4c22e4;}:function(_0x53d536){const _0x291df2=_0x416641;return _0x53d536&&typeof Symbol==_0x291df2(0xc8)&&_0x53d536[_0x291df2(0x10a)]===Symbol&&_0x53d536!==Symbol[_0x291df2(0x15f)]?_0x291df2(0xf5):typeof _0x53d536;},M(_0x1edba0);}function Pe(_0x2a8c7d,_0x32341f){const _0x4a69ec=_0x3a3b;if(M(_0x2a8c7d)!=_0x4a69ec(0x152)||!_0x2a8c7d)return _0x2a8c7d;var _0x4559fd=_0x2a8c7d[Symbol[_0x4a69ec(0xff)]];if(_0x4559fd!==void 0x0){var _0x3964e1=_0x4559fd[_0x4a69ec(0xdd)](_0x2a8c7d,_0x32341f||_0x4a69ec(0xf9));if(M(_0x3964e1)!=_0x4a69ec(0x152))return _0x3964e1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x32341f===_0x4a69ec(0x14b)?String:Number)(_0x2a8c7d);}function Fe(_0x501497){const _0x34bbd8=_0x3a3b;var _0x310689=Pe(_0x501497,_0x34bbd8(0x14b));return M(_0x310689)==_0x34bbd8(0xf5)?_0x310689:_0x310689+'';}function N(_0x22f62e,_0x36252d,_0x41c51c){return(_0x36252d=Fe(_0x36252d))in _0x22f62e?Object['defineProperty'](_0x22f62e,_0x36252d,{'value':_0x41c51c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x22f62e[_0x36252d]=_0x41c51c,_0x22f62e;}var P=class extends _0xb1c262{constructor(..._0x30d2ea){const _0x509efc=_0x3a3b;super(..._0x30d2ea),N(this,'_outlines',new Map()),N(this,_0x509efc(0x135),new _0x34a108()),N(this,_0x509efc(0x134),this['_change$'][_0x509efc(0x113)]());}[_0x43fe3d(0x130)](_0x1f4123,_0x36d699){const _0x148f37=_0x43fe3d;var _0x564b74;return[...((_0x564b74=this[_0x148f37(0x11f)]['get'](_0x1f4123))==null?void 0x0:_0x564b74[_0x148f37(0x154)](_0x36d699))??[]];}[_0x43fe3d(0xc7)](_0x5805ce){const _0x24f2ca=_0x43fe3d;let _0x39ebcb=this['_outlines'][_0x24f2ca(0x154)](_0x5805ce),_0x33d78c=new Map();return _0x39ebcb==null||_0x39ebcb['forEach']((_0x502b9a,_0x42a79e)=>{const _0x2e74fb=_0x24f2ca;_0x33d78c[_0x2e74fb(0xb6)](_0x42a79e,[..._0x502b9a]);}),_0x33d78c;}[_0x43fe3d(0xe1)](_0x3356c5,_0x55e0ac,_0x388020){const _0x4bdf69=_0x43fe3d;this[_0x4bdf69(0xd5)](_0x3356c5)['set'](_0x55e0ac,[..._0x388020]),this['_change$'][_0x4bdf69(0xdc)]({'unitId':_0x3356c5,'subUnitId':_0x55e0ac});}['removeUnit'](_0x59f860){const _0x184125=_0x43fe3d;this[_0x184125(0x11f)][_0x184125(0x103)](_0x59f860),this['_change$'][_0x184125(0xdc)]({'unitId':_0x59f860});}['serialize'](_0x85d9f5){const _0x5bdf35=_0x43fe3d;let _0xe8bec0=this[_0x5bdf35(0x11f)][_0x5bdf35(0x154)](_0x85d9f5),_0x125b5f={};return _0xe8bec0==null||_0xe8bec0['forEach']((_0x42a9cd,_0x3cac87)=>{_0x125b5f[_0x3cac87]={'outlineList':[..._0x42a9cd]};}),_0x125b5f;}[_0x43fe3d(0x108)](_0x198768,_0x5261c6){const _0x47442f=_0x43fe3d;let _0x1a5376=new Map();Object['entries'](_0x5261c6)[_0x47442f(0x11e)](([_0x451e81,_0x55e918])=>{const _0x4dbde3=_0x47442f;_0x1a5376[_0x4dbde3(0xb6)](_0x451e81,[..._0x55e918[_0x4dbde3(0x150)]??[]]);}),this[_0x47442f(0x11f)][_0x47442f(0xb6)](_0x198768,_0x1a5376),this[_0x47442f(0x135)][_0x47442f(0xdc)]({'unitId':_0x198768});}[_0x43fe3d(0xe9)](){const _0x5f4ad6=_0x43fe3d;super[_0x5f4ad6(0xe9)](),this[_0x5f4ad6(0x11f)][_0x5f4ad6(0x13f)](),this[_0x5f4ad6(0x135)][_0x5f4ad6(0x129)]();}[_0x43fe3d(0xd5)](_0x6fb93b){const _0x36c5ad=_0x43fe3d;let _0x24fba4=this['_outlines'][_0x36c5ad(0x154)](_0x6fb93b);return _0x24fba4||(_0x24fba4=new Map(),this[_0x36c5ad(0x11f)][_0x36c5ad(0xb6)](_0x6fb93b,_0x24fba4)),_0x24fba4;}},F=class extends _0xb1c262{constructor(..._0x4ac2c1){const _0x2dc35a=_0x43fe3d;super(..._0x4ac2c1),N(this,_0x2dc35a(0x107),new _0x34a108()),N(this,_0x2dc35a(0xf2),this['_error$'][_0x2dc35a(0x113)]());}['emit'](_0xcf10c8){const _0x5ce92c=_0x43fe3d;this['_error$'][_0x5ce92c(0xdc)](_0xcf10c8);}[_0x43fe3d(0xe9)](){const _0x1f4cfa=_0x43fe3d;super['dispose'](),this[_0x1f4cfa(0x107)]['complete']();}};const I={'id':_0x43fe3d(0x14d),'type':_0x5ebc9c['MUTATION'],'handler':(_0x5499c2,_0x1f3af8)=>{const _0x292088=_0x43fe3d;let _0x481b16=_0x5499c2[_0x292088(0x154)](P),_0x26a35f=_0x481b16[_0x292088(0x130)](_0x1f3af8[_0x292088(0xcd)],_0x1f3af8[_0x292088(0x122)]);return _0x481b16[_0x292088(0xe1)](_0x1f3af8[_0x292088(0xcd)],_0x1f3af8['subUnitId'],xe(_0x26a35f,_0x1f3af8['outline'])),!0x0;}},L={'id':_0x43fe3d(0xd2),'type':_0x5ebc9c[_0x43fe3d(0x100)],'handler':(_0x44262c,_0x2d9958)=>{const _0x24ea76=_0x43fe3d;let _0x59d55f=_0x44262c['get'](P),_0x2e6443=_0x59d55f[_0x24ea76(0x130)](_0x2d9958['unitId'],_0x2d9958[_0x24ea76(0x122)]);return _0x59d55f[_0x24ea76(0xe1)](_0x2d9958[_0x24ea76(0xcd)],_0x2d9958[_0x24ea76(0x122)],_0x2e6443['filter'](_0x5762b3=>_0x5762b3['id']!==_0x2d9958[_0x24ea76(0x15b)])),!0x0;}};function R(_0x584e0c,_0x29d501,_0x554641){const _0x4b2c94=_0x43fe3d;let _0x3d7dd7=Le(_0x584e0c);return!_0x3d7dd7||_0x3d7dd7[_0x4b2c94(0x109)]({'workbookTypes':[_0x4f9205],'worksheetTypes':[_0x48e18f]},_0x29d501,_0x554641);}function Ie(_0x330d87,_0x1fb5db,_0x4f9703){const _0x423c5c=_0x43fe3d;let _0x380d97=Re(_0x330d87);return((_0x380d97==null?void 0x0:_0x380d97[_0x423c5c(0xea)])??_0x2723ca(null))[_0x423c5c(0x10c)](_0x4d308a(0x64),_0x2ad35a(null),_0x333349(()=>R(_0x330d87,_0x1fb5db,_0x4f9703)));}function Le(_0x2aec25){const _0x5b0e8d=_0x43fe3d;if(typeof _0x2aec25['has']==_0x5b0e8d(0xc8)&&!_0x2aec25[_0x5b0e8d(0x127)](_0x40ba24))return null;try{return _0x2aec25[_0x5b0e8d(0x154)](_0x40ba24);}catch{return null;}}function Re(_0x12badb){const _0x390a62=_0x43fe3d;if(typeof _0x12badb[_0x390a62(0x127)]==_0x390a62(0xc8)&&!_0x12badb['has'](_0x55e23e))return null;try{return _0x12badb[_0x390a62(0x154)](_0x55e23e);}catch{return null;}}const z={'id':_0x43fe3d(0x10e),'type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x49ef07,_0x4b5d47)=>{const _0x32f5ff=_0x43fe3d;if(!_0x4b5d47)return!0x1;let _0x38c469=_0x1a148e(_0x49ef07['get'](_0x4d64de),_0x4b5d47);if(!_0x38c469)return!0x1;let {unitId:_0x15d3aa,subUnitId:_0x122393,worksheet:_0x39ef57}=_0x38c469;if(!R(_0x49ef07,_0x15d3aa,_0x122393))return!0x1;let _0x1ffc98=_0x49ef07[_0x32f5ff(0x154)](P),_0x436e52={'id':_0x32f5ff(0xfd)+_0x31b1a4(0x6),'unitId':_0x15d3aa,'subUnitId':_0x122393,'axis':_0x4b5d47[_0x32f5ff(0x13a)],'start':_0x4b5d47[_0x32f5ff(0x15c)],'end':_0x4b5d47['end'],'collapsed':!0x1},_0x5d4931=_0x4b5d47[_0x32f5ff(0x13a)]===_0x32f5ff(0xe0)?_0x39ef57[_0x32f5ff(0x156)]():_0x39ef57[_0x32f5ff(0xfb)](),_0x37073e=_0x1ffc98[_0x32f5ff(0x130)](_0x15d3aa,_0x122393),_0x44d160=Se(_0x37073e,_0x436e52),_0x2c2ebb=(_0x44d160==null?void 0x0:_0x44d160[_0x32f5ff(0x144)])??[],_0x1d65c3=(_0x44d160==null?void 0x0:_0x44d160[_0x32f5ff(0xc5)])??_0x436e52,_0x4a0c73=E(_0x44d160?_0x37073e['filter'](_0x4ca5ee=>!_0x2c2ebb[_0x32f5ff(0xd4)](_0x5a2168=>_0x5a2168['id']===_0x4ca5ee['id'])):_0x37073e,_0x1d65c3,{'maxIndex':_0x5d4931});if(!_0x4a0c73[_0x32f5ff(0x13c)])return _0x49ef07[_0x32f5ff(0x154)](F)['emit']({'reason':_0x4a0c73[_0x32f5ff(0x13e)]??_0x32f5ff(0x117),'commandId':z['id'],'unitId':_0x15d3aa,'subUnitId':_0x122393,'axis':_0x4b5d47[_0x32f5ff(0x13a)],'outlineId':_0x1d65c3['id']}),!0x1;let _0x4e1f16=[..._0x2c2ebb[_0x32f5ff(0xe7)](_0x19fcb2=>({'id':L['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outlineId':_0x19fcb2['id']}})),{'id':I['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outline':_0x1d65c3}}],_0x5533e4=[{'id':L['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outlineId':_0x1d65c3['id']}},..._0x2c2ebb[_0x32f5ff(0xe7)](_0x44e520=>({'id':I['id'],'params':{'unitId':_0x15d3aa,'subUnitId':_0x122393,'outline':_0x44e520}}))];return _0x490769(_0x4e1f16,_0x49ef07[_0x32f5ff(0x154)](_0x1cacbb))['result']?(_0x49ef07['get'](_0x15d8cf)['pushUndoRedo']({'unitID':_0x15d3aa,'undoMutations':_0x5533e4,'redoMutations':_0x4e1f16}),!0x0):!0x1;}},B={'id':_0x43fe3d(0x133),'type':_0x5ebc9c['MUTATION'],'handler':(_0x16c6d4,_0x195500)=>{const _0x89a93c=_0x43fe3d;let _0x212c12=_0x16c6d4[_0x89a93c(0x154)](P),_0x55cf0d=_0x212c12['getOutlines'](_0x195500[_0x89a93c(0xcd)],_0x195500['subUnitId']);return _0x212c12[_0x89a93c(0xe1)](_0x195500[_0x89a93c(0xcd)],_0x195500[_0x89a93c(0x122)],Ce(_0x55cf0d,_0x195500)),!0x0;}},V={'id':'sheet.command.clear-dimension-outlines','type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x2218e2,_0x242bce)=>{const _0x3917f9=_0x43fe3d;if(!_0x242bce)return!0x1;let _0x4d0d96=_0x1a148e(_0x2218e2[_0x3917f9(0x154)](_0x4d64de),_0x242bce);if(!_0x4d0d96)return!0x1;let {unitId:_0x230154,subUnitId:_0x353d87}=_0x4d0d96;if(!R(_0x2218e2,_0x230154,_0x353d87))return!0x1;let _0x526cb3={'unitId':_0x230154,'subUnitId':_0x353d87,'axis':_0x242bce[_0x3917f9(0x13a)],'start':_0x242bce[_0x3917f9(0x15c)],'end':_0x242bce['end']},_0x4d8ea7=_0x2218e2['get'](P)[_0x3917f9(0x130)](_0x230154,_0x353d87)[_0x3917f9(0xf4)](_0x363454=>w(_0x363454,_0x526cb3)&&_0x363454['start']>=_0x242bce[_0x3917f9(0x15c)]&&_0x363454[_0x3917f9(0xf1)]<=_0x242bce[_0x3917f9(0xf1)]);if(_0x4d8ea7['length']===0x0)return _0x2218e2[_0x3917f9(0x154)](F)[_0x3917f9(0xed)]({'reason':_0x3917f9(0x125),'commandId':V['id'],'unitId':_0x230154,'subUnitId':_0x353d87,'axis':_0x242bce[_0x3917f9(0x13a)]}),!0x1;let _0x246059=[{'id':B['id'],'params':{..._0x526cb3,'removedOutlineIds':_0x4d8ea7['map'](_0x128209=>_0x128209['id'])}}],_0x2755d8=_0x4d8ea7[_0x3917f9(0xe7)](_0x2ccb71=>({'id':I['id'],'params':{'unitId':_0x230154,'subUnitId':_0x353d87,'outline':_0x2ccb71}}));return _0x490769(_0x246059,_0x2218e2[_0x3917f9(0x154)](_0x1cacbb))[_0x3917f9(0x155)]?(_0x2218e2[_0x3917f9(0x154)](_0x15d8cf)[_0x3917f9(0x10b)]({'unitID':_0x230154,'undoMutations':_0x2755d8,'redoMutations':_0x246059}),!0x0):!0x1;}},ze={'id':_0x43fe3d(0xcc),'type':_0x5ebc9c['COMMAND'],'handler':(_0x3e3f32,_0x473d0e)=>{const _0x582496=_0x43fe3d;if(!_0x473d0e)return!0x1;let _0xf352ac=_0x1a148e(_0x3e3f32['get'](_0x4d64de),_0x473d0e);if(!_0xf352ac)return!0x1;let {unitId:_0x40a9ae,subUnitId:_0x53c43e}=_0xf352ac;if(!R(_0x3e3f32,_0x40a9ae,_0x53c43e))return!0x1;let _0x1aa529=_0x3e3f32[_0x582496(0x154)](P)[_0x582496(0x130)](_0x40a9ae,_0x53c43e)[_0x582496(0xd9)](_0xa71fa4=>_0xa71fa4['id']===_0x473d0e[_0x582496(0x15b)]);if(!_0x1aa529)return!0x1;let _0x35f9a1=[{'id':L['id'],'params':{'unitId':_0x40a9ae,'subUnitId':_0x53c43e,'outlineId':_0x1aa529['id'],'outline':_0x1aa529}}],_0x330fdc=[{'id':I['id'],'params':{'unitId':_0x40a9ae,'subUnitId':_0x53c43e,'outline':_0x1aa529}}];return _0x490769(_0x35f9a1,_0x3e3f32[_0x582496(0x154)](_0x1cacbb))[_0x582496(0x155)]?(_0x3e3f32['get'](_0x15d8cf)[_0x582496(0x10b)]({'unitID':_0x40a9ae,'undoMutations':_0x330fdc,'redoMutations':_0x35f9a1}),!0x0):!0x1;}},H={'id':_0x43fe3d(0x11d),'type':_0x5ebc9c['MUTATION'],'handler':(_0x2f7604,_0x1114ee)=>{const _0x90a759=_0x43fe3d;let _0x494ee2=_0x2f7604[_0x90a759(0x154)](P),_0x508fb2=_0x494ee2[_0x90a759(0x130)](_0x1114ee[_0x90a759(0xcd)],_0x1114ee[_0x90a759(0x122)]),_0x22d343=_0x508fb2[_0x90a759(0xd9)](_0x5eae08=>_0x5eae08['id']===_0x1114ee[_0x90a759(0x15b)]);return _0x22d343&&_0x494ee2[_0x90a759(0xe1)](_0x1114ee[_0x90a759(0xcd)],_0x1114ee['subUnitId'],_0x508fb2['map'](_0x1d460c=>_0x1d460c[_0x90a759(0xcd)]!==_0x22d343[_0x90a759(0xcd)]||_0x1d460c['subUnitId']!==_0x22d343[_0x90a759(0x122)]||_0x1d460c[_0x90a759(0x13a)]!==_0x22d343['axis']||_0x1d460c[_0x90a759(0x15c)]!==_0x22d343['start']||_0x1d460c[_0x90a759(0xf1)]!==_0x22d343[_0x90a759(0xf1)]?_0x1d460c:{..._0x1d460c,'collapsed':_0x1114ee[_0x90a759(0x139)]})),!0x0;}};function Be(_0x11742b,_0x576eca,_0xe446bd,_0x5f41f3){const _0x689272=_0x43fe3d;return _0x11742b==='row'?{'startRow':_0x576eca,'endRow':_0xe446bd,'startColumn':0x0,'endColumn':_0x5f41f3[_0x689272(0x105)]()-0x1}:{'startRow':0x0,'endRow':_0x5f41f3['getRowCount']()-0x1,'startColumn':_0x576eca,'endColumn':_0xe446bd};}function Ve(_0x2292ae){return _0x2292ae==='row'?_0x5cbb57['id']:_0x2e1ef4['id'];}function He(_0x5d9e80){const _0x3aeaf0=_0x43fe3d;return _0x5d9e80===_0x3aeaf0(0xe0)?_0x233235['id']:_0xb20ffe['id'];}function Ue(_0x844aa5,_0x3e6278,_0x158a30,_0x25ebb9){const _0xfbda62=_0x43fe3d;let _0x202cce=_0x3e6278?[Be(_0x844aa5[_0xfbda62(0x13a)],_0x844aa5[_0xfbda62(0x15c)],_0x844aa5[_0xfbda62(0xf1)],_0x158a30)]:We(_0x844aa5,_0x25ebb9,_0x158a30),_0x59a14b=_0x3e6278?Ve(_0x844aa5[_0xfbda62(0x13a)]):He(_0x844aa5[_0xfbda62(0x13a)]);return[{'id':H['id'],'params':{'unitId':_0x844aa5[_0xfbda62(0xcd)],'subUnitId':_0x844aa5[_0xfbda62(0x122)],'outlineId':_0x844aa5['id'],'outline':_0x844aa5,'collapsed':_0x3e6278}},..._0x202cce[_0xfbda62(0xe7)](_0x29e120=>({'id':_0x59a14b,'params':{'unitId':_0x844aa5[_0xfbda62(0xcd)],'subUnitId':_0x844aa5[_0xfbda62(0x122)],'ranges':[_0x29e120],'dimensionOutlineId':_0x844aa5['id']}}))];}function We(_0x5bfb37,_0x3fd0d7,_0x340275){const _0x3d527d=_0x43fe3d;let _0x258c63=we(_0x3fd0d7[_0x3d527d(0xe7)](_0xc682be=>Ge(_0xc682be,_0x5bfb37)?{..._0xc682be,'collapsed':!0x1}:_0xc682be),_0x5bfb37['unitId'],_0x5bfb37[_0x3d527d(0x122)],_0x5bfb37[_0x3d527d(0x13a)]);return Ke({'start':_0x5bfb37['start'],'end':_0x5bfb37['end']},_0x258c63)[_0x3d527d(0xe7)](_0x12aa1a=>Be(_0x5bfb37[_0x3d527d(0x13a)],_0x12aa1a[_0x3d527d(0x15c)],_0x12aa1a[_0x3d527d(0xf1)],_0x340275));}function Ge(_0x4ec6cb,_0x400b1b){const _0xa1aa14=_0x43fe3d;return _0x4ec6cb[_0xa1aa14(0xcd)]===_0x400b1b[_0xa1aa14(0xcd)]&&_0x4ec6cb['subUnitId']===_0x400b1b[_0xa1aa14(0x122)]&&_0x4ec6cb[_0xa1aa14(0x13a)]===_0x400b1b[_0xa1aa14(0x13a)]&&_0x4ec6cb[_0xa1aa14(0x15c)]===_0x400b1b[_0xa1aa14(0x15c)]&&_0x4ec6cb[_0xa1aa14(0xf1)]===_0x400b1b['end'];}function Ke(_0x10db2b,_0xa90ca5){const _0x30aa10=_0x43fe3d;let _0x18442d=_0x10db2b['start'],_0x164515=[];for(let _0x2f46f3 of _0xa90ca5)if(!(_0x2f46f3['end']<_0x18442d||_0x2f46f3['start']>_0x10db2b['end'])&&(_0x2f46f3[_0x30aa10(0x15c)]>_0x18442d&&_0x164515[_0x30aa10(0xcf)]({'start':_0x18442d,'end':Math[_0x30aa10(0x121)](_0x2f46f3[_0x30aa10(0x15c)]-0x1,_0x10db2b[_0x30aa10(0xf1)])}),_0x18442d=Math[_0x30aa10(0x141)](_0x18442d,_0x2f46f3[_0x30aa10(0xf1)]+0x1),_0x18442d>_0x10db2b[_0x30aa10(0xf1)]))break;return _0x18442d<=_0x10db2b[_0x30aa10(0xf1)]&&_0x164515[_0x30aa10(0xcf)]({'start':_0x18442d,'end':_0x10db2b[_0x30aa10(0xf1)]}),_0x164515;}const qe={'id':_0x43fe3d(0x12a),'type':_0x5ebc9c[_0x43fe3d(0x126)],'handler':(_0x2fe255,_0x5481c5)=>{const _0x39aba5=_0x43fe3d;if(!_0x5481c5)return!0x1;let _0x15ebda=_0x1a148e(_0x2fe255['get'](_0x4d64de),_0x5481c5);if(!_0x15ebda)return!0x1;let {unitId:_0x5bfe8c,subUnitId:_0x2b6c01,worksheet:_0x58b8fe}=_0x15ebda;if(!R(_0x2fe255,_0x5bfe8c,_0x2b6c01))return!0x1;let _0x38a2da=_0x2fe255[_0x39aba5(0x154)](P)[_0x39aba5(0x130)](_0x5bfe8c,_0x2b6c01),_0x21cab4=_0x38a2da[_0x39aba5(0xd9)](_0x1bbb75=>_0x1bbb75['id']===_0x5481c5[_0x39aba5(0x15b)]);if(!_0x21cab4||_0x21cab4['collapsed']===_0x5481c5[_0x39aba5(0x139)])return!0x1;let _0x81e84f=Ue(_0x21cab4,_0x5481c5[_0x39aba5(0x139)],_0x58b8fe,_0x38a2da),_0x22b831=Ue(_0x21cab4,!_0x5481c5[_0x39aba5(0x139)],_0x58b8fe,_0x38a2da);return _0x490769(_0x81e84f,_0x2fe255[_0x39aba5(0x154)](_0x1cacbb))['result']?(_0x2fe255['get'](_0x15d8cf)[_0x39aba5(0x10b)]({'unitID':_0x5bfe8c,'undoMutations':_0x22b831,'redoMutations':_0x81e84f}),!0x0):!0x1;}},U={'id':_0x43fe3d(0x140),'type':_0x5ebc9c['MUTATION'],'handler':(_0xa38703,_0x5dbb76)=>{const _0x5c17cd=_0x43fe3d;let _0x5c88ac=_0xa38703[_0x5c17cd(0x154)](P),_0x135176=Je(_0x5c88ac[_0x5c17cd(0x130)](_0x5dbb76[_0x5c17cd(0xcd)],_0x5dbb76[_0x5c17cd(0x122)]),_0x5dbb76);return _0x5c88ac[_0x5c17cd(0xe1)](_0x5dbb76[_0x5c17cd(0xcd)],_0x5dbb76[_0x5c17cd(0x122)],_0x135176),!0x0;}};function Je(_0x37a266,_0x4b9b04){const _0x23f92b=_0x43fe3d;switch(_0x4b9b04['type']){case _0x23f92b(0x13b):return _0x4b9b04[_0x23f92b(0xc9)]?Ye(_0x37a266,_0x4b9b04):D(_0x37a266,_0x4b9b04);case _0x23f92b(0x103):return O(_0x37a266,_0x4b9b04);case'move':return k(_0x37a266,_0x4b9b04);}}function Ye(_0x21ef0a,_0x829ac3){const _0x78a337=_0x43fe3d;return[..._0x21ef0a[_0x78a337(0xf4)](_0x467fe5=>_0x467fe5[_0x78a337(0xcd)]!==_0x829ac3[_0x78a337(0xcd)]||_0x467fe5['subUnitId']!==_0x829ac3['subUnitId']||_0x467fe5[_0x78a337(0x13a)]!==_0x829ac3[_0x78a337(0x13a)]),..._0x829ac3['restoreOutlines']];}const W='SHEET_OUTLINE_PLUGIN';var Xe=_0x43fe3d(0xc3),Ze=_0x43fe3d(0x124);const Qe={};function G(_0xfeeba,_0x1bae4a){return function(_0x2007aa,_0x52ae35){_0x1bae4a(_0x2007aa,_0x52ae35,_0xfeeba);};}function K(_0xc82b75,_0x2c384d,_0x41f656,_0x7c426c){const _0x5db574=_0x43fe3d;var _0x4c687a=arguments[_0x5db574(0x153)],_0x205683=_0x4c687a<0x3?_0x2c384d:_0x7c426c===null?_0x7c426c=Object['getOwnPropertyDescriptor'](_0x2c384d,_0x41f656):_0x7c426c,_0xa1cbd5;if(typeof Reflect==_0x5db574(0x152)&&typeof Reflect['decorate']==_0x5db574(0xc8))_0x205683=Reflect[_0x5db574(0xc4)](_0xc82b75,_0x2c384d,_0x41f656,_0x7c426c);else{for(var _0x49fe17=_0xc82b75[_0x5db574(0x153)]-0x1;_0x49fe17>=0x0;_0x49fe17--)(_0xa1cbd5=_0xc82b75[_0x49fe17])&&(_0x205683=(_0x4c687a<0x3?_0xa1cbd5(_0x205683):_0x4c687a>0x3?_0xa1cbd5(_0x2c384d,_0x41f656,_0x205683):_0xa1cbd5(_0x2c384d,_0x41f656))||_0x205683);}return _0x4c687a>0x3&&_0x205683&&Object['defineProperty'](_0x2c384d,_0x41f656,_0x205683),_0x205683;}const q={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let J=class extends _0xb1c262{constructor(_0x26ab57,_0x1cb256,_0x3ae8f8,_0x3a89af){const _0x5a28f1=_0x43fe3d;super(),this[_0x5a28f1(0x13d)]=_0x26ab57,this['_sheetInterceptorService']=_0x1cb256,this[_0x5a28f1(0xf7)]=_0x3ae8f8,this[_0x5a28f1(0x148)]=_0x3a89af,this[_0x5a28f1(0xbd)]();}[_0x43fe3d(0xbd)](){const _0x2ef41b=_0x43fe3d;this[_0x2ef41b(0xdb)](this[_0x2ef41b(0xfc)][_0x2ef41b(0x132)]({'getMutations':_0x98a86b=>$e(_0x98a86b,(_0x3f9ee4,_0x1d957d)=>this['_sheetsOutlineModel'][_0x2ef41b(0x130)](_0x3f9ee4,_0x1d957d),this[_0x2ef41b(0xb8)](_0x98a86b[_0x2ef41b(0x106)]),_0x328497=>this['_sheetsOutlineErrorService'][_0x2ef41b(0xed)](_0x328497))}));}[_0x43fe3d(0xb8)](_0x12c1e4){const _0x55a7de=_0x43fe3d;let _0xa597df=_0x12c1e4,_0x3cf03b=_0xa597df!=null&&_0xa597df[_0x55a7de(0xcd)]?this['_univerInstanceService']['getUnit'](_0xa597df['unitId'],_0x4481f0['UNIVER_SHEET']):this[_0x55a7de(0x13d)]['getCurrentUnitOfType'](_0x4481f0[_0x55a7de(0x119)]);if(!_0x3cf03b)return;let _0x39bcf2=_0xa597df!=null&&_0xa597df[_0x55a7de(0x122)]?_0x3cf03b[_0x55a7de(0x149)](_0xa597df[_0x55a7de(0x122)]):_0x3cf03b[_0x55a7de(0xe3)]();if(_0x39bcf2)return{'unitId':_0x3cf03b[_0x55a7de(0xee)](),'subUnitId':_0x39bcf2[_0x55a7de(0x15a)]()};}};J=K([G(0x0,_0x4d64de),G(0x1,_0x3d40bd(_0x55c49d)),G(0x2,_0x3d40bd(P)),G(0x3,_0x3d40bd(F))],J);function $e(_0x595cf4,_0x9a74f7,_0x502e5c,_0x61d3f){const _0x218541=_0x43fe3d;let _0x394836=tt(_0x595cf4,_0x502e5c);if(!_0x394836)return Z();let _0x2cde1a=_0x9a74f7(_0x394836['unitId'],_0x394836['subUnitId']);if(!_0x2cde1a[_0x218541(0xd4)](_0x3398c0=>_0x3398c0[_0x218541(0x13a)]===_0x394836[_0x218541(0x13a)]))return Z();et(_0x2cde1a,_0x394836,_0x595cf4['id'],_0x61d3f);let _0x1454c8=it(_0x394836,_0x2cde1a);return{'redos':[{'id':U['id'],'params':_0x394836}],'undos':[{'id':U['id'],'params':_0x1454c8}],'preRedos':[],'preUndos':[]};}function et(_0x2fb4e8,_0xd168a5,_0x1d4d87,_0x4ee56e){const _0x46284a=_0x43fe3d;try{switch(_0xd168a5['type']){case _0x46284a(0x13b):D(_0x2fb4e8,_0xd168a5);break;case _0x46284a(0x103):O(_0x2fb4e8,_0xd168a5);break;case _0x46284a(0x151):k(_0x2fb4e8,_0xd168a5);}}catch(_0x28449a){throw _0x4ee56e==null||_0x4ee56e({'reason':ye(_0x28449a),'commandId':_0x1d4d87,'unitId':_0xd168a5[_0x46284a(0xcd)],'subUnitId':_0xd168a5['subUnitId'],'axis':_0xd168a5['axis'],'outlineId':be(_0x28449a)}),new _0x539be5(_0x28449a instanceof Error?_0x28449a[_0x46284a(0x12f)]:_0x46284a(0xec));}}function tt(_0x14a832,_0x4c0a16){const _0x5e8853=_0x43fe3d;switch(_0x14a832['id']){case _0x54e0ab['id']:return Y(_0x14a832['params'],_0x5e8853(0xe0),_0x4c0a16);case _0x41349b['id']:return Y(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xf6),_0x4c0a16);case _0x2ea397['id']:return nt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xe0),_0x4c0a16);case _0x41aa47['id']:return nt(_0x14a832[_0x5e8853(0x106)],'column',_0x4c0a16);case _0x1c660a['id']:return rt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xe0),_0x4c0a16);case _0x1ce04b['id']:return rt(_0x14a832[_0x5e8853(0x106)],_0x5e8853(0xf6),_0x4c0a16);default:return null;}}function Y(_0x1b96a6,_0x27b813,_0x2290ce){const _0x433d64=_0x43fe3d;let _0x1c49be=X(_0x1b96a6,_0x2290ce);if(!(_0x1b96a6!=null&&_0x1b96a6[_0x433d64(0x112)])||!_0x1c49be)return null;let _0x353fb6=_0x27b813===_0x433d64(0xe0)?_0x1b96a6[_0x433d64(0x112)]['startRow']:_0x1b96a6['range'][_0x433d64(0x159)],_0x265394=_0x27b813==='row'?_0x1b96a6[_0x433d64(0x112)]['endRow']:_0x1b96a6[_0x433d64(0x112)][_0x433d64(0x128)];return{..._0x1c49be,'axis':_0x27b813,'type':'insert','index':_0x353fb6,'count':_0x265394-_0x353fb6+0x1};}function nt(_0x5024ce,_0x1bb957,_0x1d6d54){const _0x43b115=_0x43fe3d;let _0x7f0307=X(_0x5024ce,_0x1d6d54);if(!(_0x5024ce!=null&&_0x5024ce['range'])||!_0x7f0307)return null;let _0x28f6fa=_0x1bb957===_0x43b115(0xe0)?_0x5024ce['range']['startRow']:_0x5024ce[_0x43b115(0x112)]['startColumn'],_0x5903e7=_0x1bb957===_0x43b115(0xe0)?_0x5024ce[_0x43b115(0x112)]['endRow']:_0x5024ce['range'][_0x43b115(0x128)];return{..._0x7f0307,'axis':_0x1bb957,'type':'delete','start':_0x28f6fa,'end':_0x5903e7};}function rt(_0xe61232,_0x22dc38,_0x2fa5fb){const _0x25eb83=_0x43fe3d;let _0x4152e4=X(_0xe61232,_0x2fa5fb);if(!(_0xe61232!=null&&_0xe61232['fromRange'])||!_0xe61232[_0x25eb83(0x110)]||!_0x4152e4)return null;let _0x41cc62=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0xce)]:_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0x159)],_0x14001c=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x11b)]['endRow']:_0xe61232[_0x25eb83(0x11b)][_0x25eb83(0x128)],_0x41f30f=_0x22dc38===_0x25eb83(0xe0)?_0xe61232[_0x25eb83(0x110)][_0x25eb83(0xce)]:_0xe61232[_0x25eb83(0x110)][_0x25eb83(0x159)];return{..._0x4152e4,'axis':_0x22dc38,'type':'move','sourceStart':_0x41cc62,'sourceEnd':_0x14001c,'destinationIndex':_0x41f30f};}function it(_0x3d184a,_0x71c911){const _0x845738=_0x43fe3d;switch(_0x3d184a[_0x845738(0x118)]){case _0x845738(0x13b):return{'unitId':_0x3d184a[_0x845738(0xcd)],'subUnitId':_0x3d184a[_0x845738(0x122)],'axis':_0x3d184a[_0x845738(0x13a)],'type':_0x845738(0x103),'start':_0x3d184a[_0x845738(0xc6)],'end':_0x3d184a[_0x845738(0xc6)]+_0x3d184a[_0x845738(0x146)]-0x1};case _0x845738(0x103):return{'unitId':_0x3d184a[_0x845738(0xcd)],'subUnitId':_0x3d184a[_0x845738(0x122)],'axis':_0x3d184a['axis'],'type':_0x845738(0x13b),'index':_0x3d184a['start'],'count':_0x3d184a[_0x845738(0xf1)]-_0x3d184a[_0x845738(0x15c)]+0x1,'restoreOutlines':_0x71c911[_0x845738(0xf4)](_0x33dacc=>_0x33dacc[_0x845738(0xcd)]===_0x3d184a[_0x845738(0xcd)]&&_0x33dacc[_0x845738(0x122)]===_0x3d184a[_0x845738(0x122)]&&_0x33dacc[_0x845738(0x13a)]===_0x3d184a[_0x845738(0x13a)])};case _0x845738(0x151):return at(_0x3d184a);}}function at(_0x365f18){const _0x450bf5=_0x43fe3d;let _0x1ed8d4=_0x365f18[_0x450bf5(0xca)]-_0x365f18[_0x450bf5(0x143)]+0x1;return _0x365f18['destinationIndex']>=_0x365f18[_0x450bf5(0x143)]&&_0x365f18[_0x450bf5(0xbe)]<=_0x365f18[_0x450bf5(0xca)]+0x1?{..._0x365f18}:_0x365f18[_0x450bf5(0xbe)]>_0x365f18[_0x450bf5(0xca)]+0x1?{..._0x365f18,'sourceStart':_0x365f18['destinationIndex']-_0x1ed8d4,'sourceEnd':_0x365f18[_0x450bf5(0xbe)]-0x1,'destinationIndex':_0x365f18['sourceStart']}:{..._0x365f18,'sourceStart':_0x365f18[_0x450bf5(0xbe)],'sourceEnd':_0x365f18[_0x450bf5(0xbe)]+_0x1ed8d4-0x1,'destinationIndex':_0x365f18[_0x450bf5(0xca)]+0x1};}function X(_0x29c495,_0x48731a){const _0x35ab79=_0x43fe3d;let _0x20f2f4=(_0x29c495==null?void 0x0:_0x29c495[_0x35ab79(0xcd)])??(_0x48731a==null?void 0x0:_0x48731a[_0x35ab79(0xcd)]),_0x138280=(_0x29c495==null?void 0x0:_0x29c495[_0x35ab79(0x122)])??(_0x48731a==null?void 0x0:_0x48731a[_0x35ab79(0x122)]);return _0x20f2f4&&_0x138280?{'unitId':_0x20f2f4,'subUnitId':_0x138280}:null;}function Z(){const _0x1cc6e7=_0x43fe3d;return{'redos':[...q[_0x1cc6e7(0x14f)]],'undos':[...q['undos']],'preRedos':[...q[_0x1cc6e7(0xd6)]??[]],'preUndos':[...q[_0x1cc6e7(0xd8)]??[]]};}let Q=class extends _0xb1c262{constructor(_0x43240c,_0x4a3536){const _0x1d3b05=_0x43fe3d;super(),this[_0x1d3b05(0xe4)]=_0x43240c,this[_0x1d3b05(0xf7)]=_0x4a3536,this[_0x1d3b05(0x101)]();}['_initResource'](){const _0x30abf9=_0x43fe3d;this['disposeWithMe'](this[_0x30abf9(0xe4)]['registerPluginResource']({'pluginName':W,'businesses':[_0x4481f0[_0x30abf9(0x119)]],'toJson':_0x5bbbe0=>JSON[_0x30abf9(0xfa)](this[_0x30abf9(0xf7)][_0x30abf9(0x12e)](_0x5bbbe0)),'parseJson':_0x48a9f9=>JSON[_0x30abf9(0xfe)](_0x48a9f9),'onLoad':(_0x23ecbd,_0x170c24)=>this[_0x30abf9(0xf7)][_0x30abf9(0x108)](_0x23ecbd,_0x170c24),'onUnLoad':_0x470af8=>this['_sheetsOutlineModel'][_0x30abf9(0xeb)](_0x470af8)}));}};Q=K([G(0x0,_0x3f3d7f),G(0x1,_0x3d40bd(P))],Q);let $=class extends _0xacd159{constructor(_0x2e0844=Qe,_0x1f16f1,_0x1f391e,_0x59e337){const _0x29eb91=_0x43fe3d;super(),this[_0x29eb91(0x123)]=_0x2e0844,this[_0x29eb91(0x102)]=_0x1f16f1,this[_0x29eb91(0xd7)]=_0x1f391e,this['_configService']=_0x59e337;let {..._0x58a328}=_0x36a193({},Qe,this[_0x29eb91(0x123)]);this[_0x29eb91(0x131)]['setConfig'](_0x29eb91(0x157),_0x58a328);}['onStarting'](){const _0x7a9f37=_0x43fe3d;this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([P]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([F]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([Q]),this[_0x7a9f37(0x102)][_0x7a9f37(0x10f)]([J]),this[_0x7a9f37(0xcb)](),this[_0x7a9f37(0x102)][_0x7a9f37(0x154)](P),this[_0x7a9f37(0x102)]['get'](F),this[_0x7a9f37(0x102)][_0x7a9f37(0x154)](Q),this[_0x7a9f37(0x102)]['get'](J);}[_0x43fe3d(0xcb)](){const _0x2c66ef=_0x43fe3d;[z,ze,qe,V]['forEach'](_0x4d9486=>{const _0x168308=_0x3a3b;this[_0x168308(0xdb)](this[_0x168308(0xd7)][_0x168308(0xf8)](_0x4d9486));}),[I,L,H,B,U][_0x2c66ef(0x11e)](_0x4dd794=>{const _0x7fbbae=_0x2c66ef;this[_0x7fbbae(0xdb)](this['_commandService'][_0x7fbbae(0xf8)](_0x4dd794));});}};N($,_0x43fe3d(0x136),W),N($,_0x43fe3d(0xda),Xe),N($,_0x43fe3d(0x137),Ze),N($,_0x43fe3d(0x118),_0x4481f0['UNIVER_SHEET']),$=K([_0x5c43ca(_0x3b8092,_0x57e74f),G(0x1,_0x3d40bd(_0x217502)),G(0x2,_0x1cacbb),G(0x3,_0x473018)],$);export{z as AddDimensionOutlineCommand,I as AddDimensionOutlineMutation,V as ClearDimensionOutlinesCommand,B as ClearDimensionOutlinesMutation,_e as DimensionOutlineAxis,ve as DimensionOutlineErrorReason,ze as RemoveDimensionOutlineCommand,L as RemoveDimensionOutlineMutation,W as SHEET_OUTLINE_PLUGIN,qe as SetDimensionOutlineCollapsedCommand,H as SetDimensionOutlineCollapsedMutation,F as SheetsOutlineErrorService,P as SheetsOutlineModel,U as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,T as buildDimensionOutlineTree,E as canAddDimensionOutline,Ie as getDimensionOutlineViewPermission$,R as hasDimensionOutlineViewPermission,O as transformOutlinesByDelete,D as transformOutlinesByInsert,k as transformOutlinesByMove};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x113a(){var _0x254134=['@univerjs/sheets/facade','_injector','addColumnOutline','DimensionOutlineErrorReason','clearDimensionOutlines','get','AddDimensionOutlineCommand','ROW','@univerjs/core/facade','7599221jFbcfT','3746169Wzxsnj','UniverCoreFacade','RemoveDimensionOutlineCommand','_addDimensionOutline','FEnum','627ijHXud','_workbook','_commandService','getSheetId','function','UniverSheetsFacade','axis','extend','3434990dLTMOO','ClearDimensionOutlinesCommand','getOutlines','removeDimensionOutline','syncExecuteCommand','getDimensionOutlines','SheetsOutlineModel','_worksheet','5737338oDgzaw','getUnitId','SetDimensionOutlineCollapsedCommand','object','11961912gPPcjG','FWorksheet','DimensionOutlineAxis','setDimensionOutlineCollapsed','UniverProSheetsOutline','8WlhdDI','14954tJvoHe','filter','1172636RInypf'];_0x113a=function(){return _0x254134;};return _0x113a();}function _0x363a(_0x4bb105,_0x1aac1f){_0x4bb105=_0x4bb105-0x161;var _0x113a0a=_0x113a();var _0x363ae6=_0x113a0a[_0x4bb105];return _0x363ae6;}(function(_0x16547e,_0xed15c6){var _0x26abca=_0x363a,_0x515563=_0x16547e();while(!![]){try{var _0xbc424f=-parseInt(_0x26abca(0x170))/0x1+-parseInt(_0x26abca(0x16e))/0x2*(-parseInt(_0x26abca(0x180))/0x3)+parseInt(_0x26abca(0x16d))/0x4*(parseInt(_0x26abca(0x188))/0x5)+-parseInt(_0x26abca(0x164))/0x6+parseInt(_0x26abca(0x17a))/0x7+-parseInt(_0x26abca(0x168))/0x8+parseInt(_0x26abca(0x17b))/0x9;if(_0xbc424f===_0xed15c6)break;else _0x515563['push'](_0x515563['shift']());}catch(_0x348eaf){_0x515563['push'](_0x515563['shift']());}}}(_0x113a,0xc6d63),function(_0x5d8462,_0x3f599c){var _0x474f21=_0x363a;typeof exports==_0x474f21(0x167)&&typeof module<'u'?_0x3f599c(require('@univerjs-pro/sheets-outline'),require('@univerjs/core/facade'),require('@univerjs/sheets/facade')):typeof define==_0x474f21(0x184)&&define['amd']?define(['@univerjs-pro/sheets-outline',_0x474f21(0x179),_0x474f21(0x171)],_0x3f599c):(_0x5d8462=typeof globalThis<'u'?globalThis:_0x5d8462||self,_0x3f599c(_0x5d8462[_0x474f21(0x16c)],_0x5d8462[_0x474f21(0x17c)],_0x5d8462[_0x474f21(0x185)]));}(this,function(_0x5dafca,_0x186930,_0x1e6b61){var _0x11182b=_0x363a,_0x5f739a=class extends _0x186930[_0x11182b(0x17f)]{get[_0x11182b(0x16a)](){var _0x4a5f51=_0x11182b;return _0x5dafca[_0x4a5f51(0x16a)];}get[_0x11182b(0x174)](){var _0x1a957f=_0x11182b;return _0x5dafca[_0x1a957f(0x174)];}};_0x186930[_0x11182b(0x17f)][_0x11182b(0x187)](_0x5f739a);var _0x10d495=class extends _0x1e6b61[_0x11182b(0x169)]{['addRowOutline'](_0x165531,_0x155ab2){var _0xf97750=_0x11182b;return this[_0xf97750(0x17e)](_0x5dafca[_0xf97750(0x16a)][_0xf97750(0x178)],_0x165531,_0x155ab2);}[_0x11182b(0x173)](_0x458090,_0x53ffd2){var _0x1a82fc=_0x11182b;return this[_0x1a82fc(0x17e)](_0x5dafca[_0x1a82fc(0x16a)]['COLUMN'],_0x458090,_0x53ffd2);}[_0x11182b(0x18b)](_0x45234a){var _0x5e6217=_0x11182b;return this[_0x5e6217(0x182)][_0x5e6217(0x18c)](_0x5dafca[_0x5e6217(0x17d)]['id'],{'unitId':this[_0x5e6217(0x181)]['getUnitId'](),'subUnitId':this[_0x5e6217(0x163)]['getSheetId'](),'outlineId':_0x45234a}),this;}[_0x11182b(0x16b)](_0x450e92,_0x4a70fa){var _0x569eaa=_0x11182b;return this[_0x569eaa(0x182)][_0x569eaa(0x18c)](_0x5dafca[_0x569eaa(0x166)]['id'],{'unitId':this[_0x569eaa(0x181)]['getUnitId'](),'subUnitId':this['_worksheet'][_0x569eaa(0x183)](),'outlineId':_0x450e92,'collapsed':_0x4a70fa}),this;}[_0x11182b(0x175)](_0x4c0c0f,_0x18177f,_0x2e4175){var _0x24fed7=_0x11182b;return this[_0x24fed7(0x182)]['syncExecuteCommand'](_0x5dafca[_0x24fed7(0x189)]['id'],{'unitId':this[_0x24fed7(0x181)]['getUnitId'](),'subUnitId':this[_0x24fed7(0x163)][_0x24fed7(0x183)](),'axis':_0x4c0c0f,'start':_0x18177f,'end':_0x2e4175}),this;}[_0x11182b(0x161)](_0x54085b){var _0x53fa3c=_0x11182b;let _0x32237e=this[_0x53fa3c(0x172)][_0x53fa3c(0x176)](_0x5dafca[_0x53fa3c(0x162)])[_0x53fa3c(0x18a)](this[_0x53fa3c(0x181)]['getUnitId'](),this[_0x53fa3c(0x163)][_0x53fa3c(0x183)]());return _0x54085b?_0x32237e[_0x53fa3c(0x16f)](_0x3cf776=>_0x3cf776[_0x53fa3c(0x186)]===_0x54085b):_0x32237e;}[_0x11182b(0x17e)](_0x55ff21,_0x547bd9,_0x32404e){var _0x32709b=_0x11182b;return this[_0x32709b(0x182)]['syncExecuteCommand'](_0x5dafca[_0x32709b(0x177)]['id'],{'unitId':this['_workbook'][_0x32709b(0x165)](),'subUnitId':this[_0x32709b(0x163)][_0x32709b(0x183)](),'axis':_0x55ff21,'start':_0x547bd9,'end':_0x547bd9+_0x32404e-0x1}),this;}};_0x1e6b61['FWorksheet'][_0x11182b(0x187)](_0x10d495);}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x16f8(_0x20014b,_0x21024a){_0x20014b=_0x20014b-0x137;const _0x1d7fb4=_0x1d7f();let _0x16f8d6=_0x1d7fb4[_0x20014b];return _0x16f8d6;}(function(_0x4827f3,_0x58a89d){const _0x3385b7=_0x16f8,_0x2dcda5=_0x4827f3();while(!![]){try{const _0x2e8249=parseInt(_0x3385b7(0x180))/0x1*(-parseInt(_0x3385b7(0x179))/0x2)+-parseInt(_0x3385b7(0x1f0))/0x3*(parseInt(_0x3385b7(0x148))/0x4)+parseInt(_0x3385b7(0x186))/0x5*(parseInt(_0x3385b7(0x1fe))/0x6)+parseInt(_0x3385b7(0x1ae))/0x7+parseInt(_0x3385b7(0x1bc))/0x8+-parseInt(_0x3385b7(0x181))/0x9+parseInt(_0x3385b7(0x184))/0xa*(-parseInt(_0x3385b7(0x1d7))/0xb);if(_0x2e8249===_0x58a89d)break;else _0x2dcda5['push'](_0x2dcda5['shift']());}catch(_0x56596d){_0x2dcda5['push'](_0x2dcda5['shift']());}}}(_0x1d7f,0x2fddf),function(_0x2107eb,_0x488c95){const _0x298872=_0x16f8;typeof exports==_0x298872(0x14e)&&typeof module<'u'?_0x488c95(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x298872(0x174)&&define[_0x298872(0x137)]?define([_0x298872(0x1d2),_0x298872(0x20c),_0x298872(0x1ab),'rxjs',_0x298872(0x1fb),_0x298872(0x200)],_0x488c95):(_0x2107eb=typeof globalThis<'u'?globalThis:_0x2107eb||self,_0x488c95(_0x2107eb[_0x298872(0x1a8)]={},_0x2107eb[_0x298872(0x161)],_0x2107eb[_0x298872(0x1f2)],_0x2107eb[_0x298872(0x18c)],_0x2107eb[_0x298872(0x18c)][_0x298872(0x1c5)],_0x2107eb['UniverProLicense']));}(this,function(_0x4a67dc,_0x473743,_0x11c297,_0x36fbab,_0x4dc8fd,_0x2bffaa){const _0x24a4c3=_0x16f8;Object[_0x24a4c3(0x138)](_0x4a67dc,Symbol[_0x24a4c3(0x198)],{'value':_0x24a4c3(0x207)});let _0xa95a23=function(_0x28c37f){const _0x4847dc=_0x24a4c3;return _0x28c37f['ROW']=_0x4847dc(0x17d),_0x28c37f[_0x4847dc(0x1ed)]='column',_0x28c37f;}({}),_0x2c2309=function(_0x15f9a1){const _0x401efc=_0x24a4c3;return _0x15f9a1[_0x401efc(0x15f)]=_0x401efc(0x19d),_0x15f9a1[_0x401efc(0x1f3)]=_0x401efc(0x1e5),_0x15f9a1[_0x401efc(0x158)]=_0x401efc(0x16d),_0x15f9a1[_0x401efc(0x1d4)]=_0x401efc(0x1cc),_0x15f9a1['MOVE_SPLITS_OUTLINE']='move-splits-outline',_0x15f9a1[_0x401efc(0x19c)]='clear-range-not-contain-outline',_0x15f9a1[_0x401efc(0x18e)]=_0x401efc(0x16b),_0x15f9a1;}({});var _0x3aa0a1=class extends Error{constructor(_0x5c91ec,_0x13d429,_0x49a3fd){const _0x17c2db=_0x24a4c3;super(_0x13d429),this['reason']=_0x5c91ec,this[_0x17c2db(0x1fa)]=_0x49a3fd,this['name']='DimensionOutlineError';}};function _0x5f4151(_0xd2c546){const _0x5e40ae=_0x24a4c3;return _0xd2c546 instanceof _0x3aa0a1?_0xd2c546[_0x5e40ae(0x1a1)]:_0xd2c546 instanceof Error?_0xd2c546[_0x5e40ae(0x1b9)][_0x5e40ae(0x1b6)](_0x5e40ae(0x210))?_0x5e40ae(0x1b4):_0xd2c546[_0x5e40ae(0x1b9)][_0x5e40ae(0x1b6)]('depth')?_0x5e40ae(0x1cc):_0xd2c546[_0x5e40ae(0x1b9)][_0x5e40ae(0x1b6)](_0x5e40ae(0x1a9))?_0x5e40ae(0x16d):_0xd2c546[_0x5e40ae(0x1b9)][_0x5e40ae(0x1b6)](_0x5e40ae(0x1be))?_0x5e40ae(0x19d):'unknown':_0x5e40ae(0x16b);}function _0x455c87(_0x1c9a3f){const _0x17b3d7=_0x24a4c3;return _0x1c9a3f instanceof _0x3aa0a1?_0x1c9a3f[_0x17b3d7(0x1fa)]:void 0x0;}let _0x2756dc=0x2**0x35-0x1;function _0xa36c76(_0x4af6ad,_0x25eb8e){const _0x246257=_0x24a4c3;return _0x4af6ad['unitId']===_0x25eb8e[_0x246257(0x178)]&&_0x4af6ad[_0x246257(0x19f)]===_0x25eb8e[_0x246257(0x19f)]&&_0x4af6ad[_0x246257(0x1ba)]===_0x25eb8e[_0x246257(0x1ba)];}function _0x3b963d(_0x668dbc,_0x3da23a={}){const _0x4069f9=_0x24a4c3;let _0x112d63=_0x3da23a['maxDepth']??0x8,_0x5034bf=new Map();for(let _0xdd1d7a of _0x668dbc){let _0x3ccb86=_0xdd1d7a[_0x4069f9(0x178)]+':'+_0xdd1d7a[_0x4069f9(0x19f)]+':'+_0xdd1d7a[_0x4069f9(0x1ba)],_0x2ea20e=_0x5034bf[_0x4069f9(0x1de)](_0x3ccb86);_0x2ea20e?_0x2ea20e[_0x4069f9(0x1ff)](_0xdd1d7a):_0x5034bf['set'](_0x3ccb86,[_0xdd1d7a]);}let _0x340e35=[];for(let _0x487ef5 of _0x5034bf['values']()){let _0x53369a=[..._0x487ef5][_0x4069f9(0x1f4)](_0x21d8a0),_0x24f7f2=[];for(let _0x1c18f1 of _0x53369a){for(_0x4ea32a(_0x1c18f1);_0x24f7f2['length']>0x0&&_0x1c18f1[_0x4069f9(0x171)]>_0x24f7f2[_0x24f7f2['length']-0x1][_0x4069f9(0x196)];)_0x24f7f2[_0x4069f9(0x165)]();let _0x4d4d4a=_0x24f7f2[_0x24f7f2[_0x4069f9(0x206)]-0x1];if(_0x4d4d4a&&_0x1c18f1[_0x4069f9(0x196)]>_0x4d4d4a[_0x4069f9(0x196)])throw new _0x3aa0a1(_0x4069f9(0x16d),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x1c18f1['id']);let _0x54b69f=_0x4d4d4a?_0x4d4d4a[_0x4069f9(0x1af)]+0x1:0x1;if(_0x54b69f>_0x112d63)throw new _0x3aa0a1(_0x4069f9(0x1cc),_0x4069f9(0x1fd)+_0x112d63,_0x1c18f1['id']);let _0x3f0ce8={..._0x1c18f1,'depth':_0x54b69f,'parentId':_0x4d4d4a==null?void 0x0:_0x4d4d4a['id'],'anchor':_0x1c18f1[_0x4069f9(0x196)],'children':[]};_0x4d4d4a?_0x4d4d4a['children'][_0x4069f9(0x1ff)](_0x3f0ce8):_0x340e35[_0x4069f9(0x1ff)](_0x3f0ce8),_0x24f7f2[_0x4069f9(0x1ff)](_0x3f0ce8);}}return _0x340e35;}function _0xd1463c(_0x472798,_0x2c4051,_0xe761f0={}){const _0xd6cbec=_0x24a4c3;if(_0x2c4051['start']<0x0||_0x2c4051['start']>_0x2c4051[_0xd6cbec(0x196)])return{'valid':!0x1,'reason':'invalid-range'};if(_0xe761f0['maxIndex']!=null&&_0x2c4051[_0xd6cbec(0x196)]>=_0xe761f0[_0xd6cbec(0x139)])return{'valid':!0x1,'reason':_0xd6cbec(0x1e5)};let _0xd52240=_0x472798['filter'](_0x4bf202=>_0xa36c76(_0x4bf202,_0x2c4051));for(let _0x32eb89 of _0xd52240)if(_0x14b35f(_0x32eb89,_0x2c4051))return{'valid':!0x1,'reason':_0xd6cbec(0x16d)};try{_0x3b963d([..._0x472798,_0x2c4051],_0xe761f0);}catch(_0x5b9b62){let _0x104347=_0x5f4151(_0x5b9b62);return _0x104347===_0xd6cbec(0x1cc)?{'valid':!0x1,'reason':_0xd6cbec(0x1cc)}:_0x104347==='invalid-range'?{'valid':!0x1,'reason':_0xd6cbec(0x19d)}:{'valid':!0x1,'reason':_0xd6cbec(0x16d)};}return{'valid':!0x0};}function _0x204106(_0x2dd061,_0x2421db,_0x165a93={}){const _0x14771b=_0x24a4c3;let _0x4f0e7a=_0xd1463c(_0x2dd061,_0x2421db,_0x165a93);if(!_0x4f0e7a[_0x14771b(0x1d0)])throw Error(_0x4f0e7a[_0x14771b(0x1a1)]??_0x14771b(0x1ec));return[..._0x2dd061,_0x2421db];}function _0x1af917(_0x4c94eb,_0x54249f){const _0x249557=_0x24a4c3;let _0x2e815d=_0x54249f[_0x249557(0x171)],_0x4793a3=_0x54249f[_0x249557(0x196)],_0x1e66be=[],_0x4c0933=!0x0;for(;_0x4c0933;){_0x4c0933=!0x1;for(let _0x160a8d of _0x4c94eb)!_0x1e66be[_0x249557(0x1b6)](_0x160a8d)&&_0xa36c76(_0x160a8d,_0x54249f)&&_0x5cdc31(_0x160a8d[_0x249557(0x171)],_0x160a8d[_0x249557(0x196)],_0x2e815d,_0x4793a3)&&(_0x1e66be[_0x249557(0x1ff)](_0x160a8d),_0x2e815d=Math[_0x249557(0x1c7)](_0x2e815d,_0x160a8d[_0x249557(0x171)]),_0x4793a3=Math[_0x249557(0x1c8)](_0x4793a3,_0x160a8d[_0x249557(0x196)]),_0x4c0933=!0x0);}if(_0x1e66be[_0x249557(0x206)]===0x0)return null;let [_0x1b9e9c]=[..._0x1e66be][_0x249557(0x1f4)](_0x21d8a0);return{'mergedOutline':{..._0x1b9e9c,'start':_0x2e815d,'end':_0x4793a3},'mergedOutlines':_0x1e66be};}function _0x1f5071(_0x3b342a,_0x149d65){const _0x57bcd7=_0x24a4c3;return _0x3b342a[_0x57bcd7(0x1db)](_0x2ac13d=>!_0xa36c76(_0x2ac13d,_0x149d65)||!(_0x2ac13d[_0x57bcd7(0x171)]>=_0x149d65[_0x57bcd7(0x171)]&&_0x2ac13d[_0x57bcd7(0x196)]<=_0x149d65[_0x57bcd7(0x196)]));}function _0x19aff9(_0x2d4d53,_0x478626,_0x14b152,_0x4bf199){const _0x994703=_0x24a4c3;return _0x2c2c5b(_0x2d4d53['filter'](_0x3ea996=>_0x3ea996[_0x994703(0x178)]===_0x478626&&_0x3ea996['subUnitId']===_0x14b152&&_0x3ea996[_0x994703(0x1ba)]===_0x4bf199&&_0x3ea996['collapsed'])[_0x994703(0x1f9)](_0x4e4b89=>({'start':_0x4e4b89[_0x994703(0x171)],'end':_0x4e4b89[_0x994703(0x196)]})));}function _0x2c2c5b(_0x403f24){const _0x464659=_0x24a4c3;if(_0x403f24[_0x464659(0x206)]===0x0)return[];let _0x4fcd3f=[..._0x403f24][_0x464659(0x1f4)]((_0x457fd8,_0x45804e)=>_0x457fd8[_0x464659(0x171)]-_0x45804e[_0x464659(0x171)]||_0x457fd8[_0x464659(0x196)]-_0x45804e['end']),_0x52bc49=[];for(let _0x353e72 of _0x4fcd3f){let _0x32acf4=_0x52bc49[_0x52bc49[_0x464659(0x206)]-0x1];!_0x32acf4||_0x353e72[_0x464659(0x171)]>_0x32acf4[_0x464659(0x196)]+0x1?_0x52bc49['push']({..._0x353e72}):_0x32acf4[_0x464659(0x196)]=Math[_0x464659(0x1c8)](_0x32acf4[_0x464659(0x196)],_0x353e72[_0x464659(0x196)]);}return _0x52bc49;}function _0x4b0be0(_0x4ac644,_0x2fb330){const _0x49e5fe=_0x24a4c3;return _0x2fb330['count']<=0x0?_0x4ac644:_0x2e3c63(_0x4ac644[_0x49e5fe(0x1f9)](_0x17a7ba=>_0xa36c76(_0x17a7ba,_0x2fb330)?_0x2fb330[_0x49e5fe(0x1cd)]<=_0x17a7ba[_0x49e5fe(0x171)]?{..._0x17a7ba,'start':_0x17a7ba[_0x49e5fe(0x171)]+_0x2fb330[_0x49e5fe(0x175)],'end':_0x17a7ba[_0x49e5fe(0x196)]+_0x2fb330[_0x49e5fe(0x175)]}:_0x17a7ba['start']<_0x2fb330[_0x49e5fe(0x1cd)]&&_0x2fb330[_0x49e5fe(0x1cd)]<=_0x17a7ba[_0x49e5fe(0x196)]?{..._0x17a7ba,'end':_0x17a7ba[_0x49e5fe(0x196)]+_0x2fb330[_0x49e5fe(0x175)]}:_0x17a7ba:_0x17a7ba));}function _0x1482f1(_0x22a3cc,_0x47601e){const _0x3ccdc2=_0x24a4c3;if(_0x47601e['start']>_0x47601e[_0x3ccdc2(0x196)])return _0x22a3cc;let _0x5e6f29=_0x47601e[_0x3ccdc2(0x196)]-_0x47601e[_0x3ccdc2(0x171)]+0x1,_0x33762d=[];for(let _0x2498d1 of _0x22a3cc){if(!_0xa36c76(_0x2498d1,_0x47601e)){_0x33762d[_0x3ccdc2(0x1ff)](_0x2498d1);continue;}if(_0x2498d1[_0x3ccdc2(0x196)]<_0x47601e['start']){_0x33762d[_0x3ccdc2(0x1ff)](_0x2498d1);continue;}if(_0x2498d1[_0x3ccdc2(0x171)]>_0x47601e['end']){_0x33762d['push']({..._0x2498d1,'start':_0x2498d1[_0x3ccdc2(0x171)]-_0x5e6f29,'end':_0x2498d1[_0x3ccdc2(0x196)]-_0x5e6f29});continue;}let _0x63cbaa=Math['max'](_0x2498d1[_0x3ccdc2(0x171)],_0x47601e['start']),_0x2a8c60=Math[_0x3ccdc2(0x1c7)](_0x2498d1[_0x3ccdc2(0x196)],_0x47601e[_0x3ccdc2(0x196)]),_0x3b09be=Math[_0x3ccdc2(0x1c8)](0x0,_0x2a8c60-_0x63cbaa+0x1),_0x2568bb=_0x2498d1[_0x3ccdc2(0x196)]-_0x2498d1[_0x3ccdc2(0x171)]+0x1-_0x3b09be;if(_0x2568bb<=0x0)continue;let _0xca6ab6=_0x2498d1['start']<_0x47601e[_0x3ccdc2(0x171)]?_0x2498d1['start']:_0x47601e[_0x3ccdc2(0x171)];_0x33762d[_0x3ccdc2(0x1ff)]({..._0x2498d1,'start':_0xca6ab6,'end':_0xca6ab6+_0x2568bb-0x1});}return _0x2e3c63(_0x33762d);}function _0x182936(_0x29ee92,_0x35d476){const _0x4a7b37=_0x24a4c3;if(_0x35d476['sourceStart']>_0x35d476[_0x4a7b37(0x1ca)])return _0x29ee92;let _0xc7ff7c=[];for(let _0xace3b6 of _0x29ee92){if(!_0xa36c76(_0xace3b6,_0x35d476)){_0xc7ff7c[_0x4a7b37(0x1ff)](_0xace3b6);continue;}let _0x2c5d46=_0x305b9d(_0xace3b6,_0x35d476);if(_0x2c5d46[_0x4a7b37(0x192)]===_0x4a7b37(0x1dc))throw new _0x3aa0a1(_0x4a7b37(0x1b4),_0x4a7b37(0x205)+_0xace3b6['id'],_0xace3b6['id']);_0xc7ff7c[_0x4a7b37(0x1ff)](_0x2c5d46[_0x4a7b37(0x1eb)]);}return _0x2e3c63(_0xc7ff7c);}function _0x305b9d(_0x82039b,_0xeb48d7){const _0x5b2a6f=_0x24a4c3;let _0x3693b3=_0x3e84ab(_0xeb48d7[_0x5b2a6f(0x141)],_0xeb48d7['sourceEnd']+0x1,_0xeb48d7['destinationIndex']),_0x4aa56d=[],_0x596076={'start':_0x82039b['start'],'end':_0x82039b[_0x5b2a6f(0x196)]+0x1};for(let _0x22b5f7 of _0x3693b3){let _0x3b535f=_0x2ab2a0(_0x596076,_0x22b5f7[_0x5b2a6f(0x1be)]);_0x3b535f&&_0x4aa56d['push']({'start':_0x3b535f[_0x5b2a6f(0x171)]+_0x22b5f7[_0x5b2a6f(0x16a)],'end':_0x3b535f[_0x5b2a6f(0x196)]+_0x22b5f7['offset']});}let _0x3324a8=_0xd4e892(_0x4aa56d);return _0x3324a8[_0x5b2a6f(0x206)]===0x1?{'type':'ok','outline':{..._0x82039b,'start':_0x3324a8[0x0]['start'],'end':_0x3324a8[0x0]['end']-0x1}}:{'type':'split','outline':_0x82039b,'ranges':_0x3324a8};}function _0x3e84ab(_0x3814b7,_0x1e31c2,_0x3eee50){let _0x140c58=_0x1e31c2-_0x3814b7;if(_0x140c58<=0x0)throw Error('Invalid\x20dimension\x20outline\x20move\x20source\x20range');return _0x3eee50>=_0x3814b7&&_0x3eee50<=_0x1e31c2?[{'range':{'start':0x0,'end':_0x2756dc},'offset':0x0}]:_0x3eee50<_0x3814b7?[{'range':{'start':0x0,'end':_0x3eee50},'offset':0x0},{'range':{'start':_0x3eee50,'end':_0x3814b7},'offset':_0x140c58},{'range':{'start':_0x3814b7,'end':_0x1e31c2},'offset':_0x3eee50-_0x3814b7},{'range':{'start':_0x1e31c2,'end':_0x2756dc},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x3814b7},'offset':0x0},{'range':{'start':_0x3814b7,'end':_0x1e31c2},'offset':_0x3eee50-_0x1e31c2},{'range':{'start':_0x1e31c2,'end':_0x3eee50},'offset':-_0x140c58},{'range':{'start':_0x3eee50,'end':_0x2756dc},'offset':0x0}];}function _0x2ab2a0(_0x2e823d,_0xdce7eb){const _0x627f77=_0x24a4c3;let _0x13fc65=Math[_0x627f77(0x1c8)](_0x2e823d[_0x627f77(0x171)],_0xdce7eb['start']),_0x205cf8=Math[_0x627f77(0x1c7)](_0x2e823d[_0x627f77(0x196)],_0xdce7eb[_0x627f77(0x196)]);return _0x13fc65>=_0x205cf8?null:{'start':_0x13fc65,'end':_0x205cf8};}function _0xd4e892(_0x539886){const _0x395c9f=_0x24a4c3;if(_0x539886[_0x395c9f(0x206)]===0x0)return[];let _0x2adf68=[..._0x539886][_0x395c9f(0x1f4)]((_0xcdd9e0,_0x3acdc3)=>_0xcdd9e0[_0x395c9f(0x171)]-_0x3acdc3[_0x395c9f(0x171)]||_0xcdd9e0[_0x395c9f(0x196)]-_0x3acdc3[_0x395c9f(0x196)]),_0x4fa9e9=[];for(let _0x8a0769 of _0x2adf68){let _0x2be79e=_0x4fa9e9[_0x4fa9e9[_0x395c9f(0x206)]-0x1];!_0x2be79e||_0x8a0769[_0x395c9f(0x171)]>_0x2be79e[_0x395c9f(0x196)]?_0x4fa9e9[_0x395c9f(0x1ff)]({..._0x8a0769}):_0x2be79e[_0x395c9f(0x196)]=Math[_0x395c9f(0x1c8)](_0x2be79e[_0x395c9f(0x196)],_0x8a0769['end']);}return _0x4fa9e9;}function _0x5cdc31(_0x56e07a,_0x53cdb3,_0x2386e0,_0x149b95){return _0x53cdb3+0x1===_0x2386e0||_0x149b95+0x1===_0x56e07a;}function _0x2e3c63(_0x1f84f9){let _0x466d7f=_0x502aeb(_0x1f84f9);return _0x3b963d(_0x466d7f),_0x466d7f;}function _0x502aeb(_0x2dcfaf){const _0x6c1252=_0x24a4c3;let _0x22ea74=new Map();for(let _0x56c773 of _0x2dcfaf){let _0xd3e4f=[_0x56c773[_0x6c1252(0x178)],_0x56c773[_0x6c1252(0x19f)],_0x56c773[_0x6c1252(0x1ba)],_0x56c773[_0x6c1252(0x171)],_0x56c773[_0x6c1252(0x196)]][_0x6c1252(0x15a)](':'),_0x49a760=_0x22ea74['get'](_0xd3e4f);if(!_0x49a760){_0x22ea74['set'](_0xd3e4f,_0x56c773);continue;}_0x22ea74[_0x6c1252(0x164)](_0xd3e4f,{..._0x49a760,'collapsed':_0x49a760['collapsed']||_0x56c773[_0x6c1252(0x18b)]});}return Array[_0x6c1252(0x201)](_0x22ea74[_0x6c1252(0x1ce)]());}function _0x21d8a0(_0x3d0898,_0x4ffeb5){const _0x48c499=_0x24a4c3;return _0x3d0898[_0x48c499(0x178)]===_0x4ffeb5[_0x48c499(0x178)]?_0x3d0898[_0x48c499(0x19f)]===_0x4ffeb5['subUnitId']?_0x3d0898[_0x48c499(0x1ba)]===_0x4ffeb5[_0x48c499(0x1ba)]?_0x3d0898['start']===_0x4ffeb5[_0x48c499(0x171)]?_0x4ffeb5[_0x48c499(0x196)]-_0x3d0898[_0x48c499(0x196)]:_0x3d0898[_0x48c499(0x171)]-_0x4ffeb5[_0x48c499(0x171)]:_0x3d0898[_0x48c499(0x1ba)][_0x48c499(0x1f7)](_0x4ffeb5['axis']):_0x3d0898['subUnitId'][_0x48c499(0x1f7)](_0x4ffeb5['subUnitId']):_0x3d0898[_0x48c499(0x178)][_0x48c499(0x1f7)](_0x4ffeb5[_0x48c499(0x178)]);}function _0x4ea32a(_0x1fc8a6){const _0x2b1a2c=_0x24a4c3;if(_0x1fc8a6[_0x2b1a2c(0x171)]>_0x1fc8a6['end'])throw new _0x3aa0a1(_0x2b1a2c(0x19d),_0x2b1a2c(0x176),_0x1fc8a6['id']);}function _0x14b35f(_0x43b192,_0x56cdfb){const _0x333358=_0x24a4c3;let _0x49e344=_0x43b192['start']<=_0x56cdfb[_0x333358(0x196)]&&_0x56cdfb[_0x333358(0x171)]<=_0x43b192[_0x333358(0x196)],_0x327033=_0x43b192['start']<=_0x56cdfb[_0x333358(0x171)]&&_0x56cdfb['end']<=_0x43b192[_0x333358(0x196)],_0x2ce4b4=_0x56cdfb[_0x333358(0x171)]<=_0x43b192['start']&&_0x43b192[_0x333358(0x196)]<=_0x56cdfb['end'];return _0x49e344&&!_0x327033&&!_0x2ce4b4;}function _0xac5e17(_0x4ac2b8){'@babel/helpers - typeof';const _0x2ec288=_0x24a4c3;return _0xac5e17=typeof Symbol==_0x2ec288(0x174)&&typeof Symbol[_0x2ec288(0x1e3)]==_0x2ec288(0x188)?function(_0x34fdf6){return typeof _0x34fdf6;}:function(_0x54fd79){const _0x1dcc96=_0x2ec288;return _0x54fd79&&typeof Symbol==_0x1dcc96(0x174)&&_0x54fd79[_0x1dcc96(0x1e7)]===Symbol&&_0x54fd79!==Symbol[_0x1dcc96(0x166)]?_0x1dcc96(0x188):typeof _0x54fd79;},_0xac5e17(_0x4ac2b8);}function _0x29ea99(_0x44cafb,_0x1f6d10){const _0x5a9af9=_0x24a4c3;if(_0xac5e17(_0x44cafb)!=_0x5a9af9(0x14e)||!_0x44cafb)return _0x44cafb;var _0x1a5e18=_0x44cafb[Symbol['toPrimitive']];if(_0x1a5e18!==void 0x0){var _0x4a8091=_0x1a5e18[_0x5a9af9(0x182)](_0x44cafb,_0x1f6d10||_0x5a9af9(0x1e6));if(_0xac5e17(_0x4a8091)!=_0x5a9af9(0x14e))return _0x4a8091;throw TypeError(_0x5a9af9(0x1d9));}return(_0x1f6d10===_0x5a9af9(0x1c1)?String:Number)(_0x44cafb);}function _0x2d1a8e(_0x10edf1){const _0x1ed7ce=_0x24a4c3;var _0x1d3e7e=_0x29ea99(_0x10edf1,'string');return _0xac5e17(_0x1d3e7e)==_0x1ed7ce(0x188)?_0x1d3e7e:_0x1d3e7e+'';}function _0x121fc8(_0x23edbb,_0x4fd838,_0x1d62be){const _0x4bf603=_0x24a4c3;return(_0x4fd838=_0x2d1a8e(_0x4fd838))in _0x23edbb?Object[_0x4bf603(0x138)](_0x23edbb,_0x4fd838,{'value':_0x1d62be,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x23edbb[_0x4fd838]=_0x1d62be,_0x23edbb;}var _0x2deb8b=class extends _0x473743[_0x24a4c3(0x189)]{constructor(..._0x20eaa3){const _0x375c8c=_0x24a4c3;super(..._0x20eaa3),_0x121fc8(this,_0x375c8c(0x1b8),new Map()),_0x121fc8(this,_0x375c8c(0x1f1),new _0x36fbab['Subject']()),_0x121fc8(this,'change$',this['_change$'][_0x375c8c(0x195)]());}[_0x24a4c3(0x13b)](_0x5b1863,_0xd52760){const _0x5e9569=_0x24a4c3;var _0x18e0e5;return[...((_0x18e0e5=this[_0x5e9569(0x1b8)][_0x5e9569(0x1de)](_0x5b1863))==null?void 0x0:_0x18e0e5[_0x5e9569(0x1de)](_0xd52760))??[]];}['getUnitOutlines'](_0x429535){const _0xdd8f51=_0x24a4c3;let _0x19df70=this['_outlines'][_0xdd8f51(0x1de)](_0x429535),_0x490dee=new Map();return _0x19df70==null||_0x19df70[_0xdd8f51(0x19e)]((_0x1473fb,_0x2d044b)=>{_0x490dee['set'](_0x2d044b,[..._0x1473fb]);}),_0x490dee;}[_0x24a4c3(0x14d)](_0x55de56,_0x2fc2f4,_0x57c62f){const _0x467d64=_0x24a4c3;this[_0x467d64(0x1ee)](_0x55de56)[_0x467d64(0x164)](_0x2fc2f4,[..._0x57c62f]),this[_0x467d64(0x1f1)][_0x467d64(0x15e)]({'unitId':_0x55de56,'subUnitId':_0x2fc2f4});}[_0x24a4c3(0x1cb)](_0x44d9a9){const _0x33fec3=_0x24a4c3;this[_0x33fec3(0x1b8)][_0x33fec3(0x203)](_0x44d9a9),this[_0x33fec3(0x1f1)][_0x33fec3(0x15e)]({'unitId':_0x44d9a9});}['serialize'](_0x13401a){const _0xfe8928=_0x24a4c3;let _0x3a7198=this[_0xfe8928(0x1b8)][_0xfe8928(0x1de)](_0x13401a),_0x1d4bbd={};return _0x3a7198==null||_0x3a7198[_0xfe8928(0x19e)]((_0x46293d,_0x39c660)=>{_0x1d4bbd[_0x39c660]={'outlineList':[..._0x46293d]};}),_0x1d4bbd;}[_0x24a4c3(0x163)](_0x799e6d,_0xaa2449){const _0x743bb0=_0x24a4c3;let _0x1faeb0=new Map();Object['entries'](_0xaa2449)[_0x743bb0(0x19e)](([_0x4641b6,_0x213df1])=>{const _0xf6cf8=_0x743bb0;_0x1faeb0['set'](_0x4641b6,[..._0x213df1[_0xf6cf8(0x1d8)]??[]]);}),this['_outlines']['set'](_0x799e6d,_0x1faeb0),this[_0x743bb0(0x1f1)]['next']({'unitId':_0x799e6d});}[_0x24a4c3(0x143)](){const _0x36f6a3=_0x24a4c3;super['dispose'](),this[_0x36f6a3(0x1b8)]['clear'](),this[_0x36f6a3(0x1f1)]['complete']();}['_ensureUnitOutlines'](_0x3f376e){const _0x4836c6=_0x24a4c3;let _0x50189e=this['_outlines'][_0x4836c6(0x1de)](_0x3f376e);return _0x50189e||(_0x50189e=new Map(),this[_0x4836c6(0x1b8)][_0x4836c6(0x164)](_0x3f376e,_0x50189e)),_0x50189e;}},_0x318b95=class extends _0x473743[_0x24a4c3(0x189)]{constructor(..._0x2316e4){const _0x1c031d=_0x24a4c3;super(..._0x2316e4),_0x121fc8(this,'_error$',new _0x36fbab[(_0x1c031d(0x185))]()),_0x121fc8(this,_0x1c031d(0x1bd),this[_0x1c031d(0x211)][_0x1c031d(0x195)]());}[_0x24a4c3(0x167)](_0x379086){const _0x1be17c=_0x24a4c3;this[_0x1be17c(0x211)]['next'](_0x379086);}['dispose'](){const _0x1e5740=_0x24a4c3;super[_0x1e5740(0x143)](),this['_error$'][_0x1e5740(0x1dd)]();}};let _0x32e3f5={'id':_0x24a4c3(0x140),'type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x193)],'handler':(_0x148f63,_0x4d0d22)=>{const _0x266710=_0x24a4c3;let _0x1d9e28=_0x148f63[_0x266710(0x1de)](_0x2deb8b),_0x4cda82=_0x1d9e28['getOutlines'](_0x4d0d22[_0x266710(0x178)],_0x4d0d22[_0x266710(0x19f)]);return _0x1d9e28[_0x266710(0x14d)](_0x4d0d22[_0x266710(0x178)],_0x4d0d22[_0x266710(0x19f)],_0x204106(_0x4cda82,_0x4d0d22['outline'])),!0x0;}},_0xf4e120={'id':_0x24a4c3(0x177),'type':_0x473743[_0x24a4c3(0x13a)]['MUTATION'],'handler':(_0x97e68a,_0x25752f)=>{const _0x1a65f1=_0x24a4c3;let _0x13d99e=_0x97e68a[_0x1a65f1(0x1de)](_0x2deb8b),_0x593176=_0x13d99e['getOutlines'](_0x25752f['unitId'],_0x25752f[_0x1a65f1(0x19f)]);return _0x13d99e[_0x1a65f1(0x14d)](_0x25752f[_0x1a65f1(0x178)],_0x25752f[_0x1a65f1(0x19f)],_0x593176['filter'](_0x53c60a=>_0x53c60a['id']!==_0x25752f['outlineId'])),!0x0;}};function _0xb2802d(_0x2b21b8,_0x247f9c,_0x3f7044){const _0x4aaa44=_0x24a4c3;let _0xcd5b7d=_0x10afeb(_0x2b21b8);return!_0xcd5b7d||_0xcd5b7d['permissionCheckWithoutRange']({'workbookTypes':[_0x11c297['WorkbookViewPermission']],'worksheetTypes':[_0x11c297[_0x4aaa44(0x168)]]},_0x247f9c,_0x3f7044);}function _0x28c7a3(_0x3db77a,_0x1e486f,_0x37da24){const _0x54c7d1=_0x24a4c3;let _0x5c906d=_0x51ff9b(_0x3db77a);return((_0x5c906d==null?void 0x0:_0x5c906d[_0x54c7d1(0x1e2)])??(0x0,_0x36fbab['of'])(null))[_0x54c7d1(0x151)]((0x0,_0x4dc8fd['debounceTime'])(0x64),(0x0,_0x4dc8fd[_0x54c7d1(0x17a)])(null),(0x0,_0x4dc8fd[_0x54c7d1(0x1f9)])(()=>_0xb2802d(_0x3db77a,_0x1e486f,_0x37da24)));}function _0x10afeb(_0x3d1446){const _0x17f439=_0x24a4c3;if(typeof _0x3d1446[_0x17f439(0x1a7)]=='function'&&!_0x3d1446[_0x17f439(0x1a7)](_0x11c297[_0x17f439(0x14f)]))return null;try{return _0x3d1446['get'](_0x11c297[_0x17f439(0x14f)]);}catch{return null;}}function _0x51ff9b(_0x195ba2){const _0x3566ba=_0x24a4c3;if(typeof _0x195ba2['has']==_0x3566ba(0x174)&&!_0x195ba2[_0x3566ba(0x1a7)](_0x473743[_0x3566ba(0x142)]))return null;try{return _0x195ba2[_0x3566ba(0x1de)](_0x473743[_0x3566ba(0x142)]);}catch{return null;}}let _0x3ff9d6={'id':_0x24a4c3(0x13f),'type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x20e)],'handler':(_0xe39c85,_0x55c472)=>{const _0x2466ec=_0x24a4c3;if(!_0x55c472)return!0x1;let _0x3e373f=(0x0,_0x11c297[_0x2466ec(0x1da)])(_0xe39c85[_0x2466ec(0x1de)](_0x473743['IUniverInstanceService']),_0x55c472);if(!_0x3e373f)return!0x1;let {unitId:_0x1d98f6,subUnitId:_0x37ca19,worksheet:_0x3c816b}=_0x3e373f;if(!_0xb2802d(_0xe39c85,_0x1d98f6,_0x37ca19))return!0x1;let _0x409121=_0xe39c85[_0x2466ec(0x1de)](_0x2deb8b),_0x1446db={'id':'dimension-outline-'+(0x0,_0x473743[_0x2466ec(0x1e9)])(0x6),'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'axis':_0x55c472[_0x2466ec(0x1ba)],'start':_0x55c472[_0x2466ec(0x171)],'end':_0x55c472[_0x2466ec(0x196)],'collapsed':!0x1},_0x522b23=_0x55c472['axis']===_0x2466ec(0x17d)?_0x3c816b[_0x2466ec(0x162)]():_0x3c816b[_0x2466ec(0x1df)](),_0x6e3228=_0x409121[_0x2466ec(0x13b)](_0x1d98f6,_0x37ca19),_0x43e081=_0x1af917(_0x6e3228,_0x1446db),_0x32a99b=(_0x43e081==null?void 0x0:_0x43e081[_0x2466ec(0x17f)])??[],_0xaf2948=(_0x43e081==null?void 0x0:_0x43e081['mergedOutline'])??_0x1446db,_0x2abca7=_0xd1463c(_0x43e081?_0x6e3228['filter'](_0x586359=>!_0x32a99b['some'](_0x20ebc4=>_0x20ebc4['id']===_0x586359['id'])):_0x6e3228,_0xaf2948,{'maxIndex':_0x522b23});if(!_0x2abca7[_0x2466ec(0x1d0)])return _0xe39c85[_0x2466ec(0x1de)](_0x318b95)[_0x2466ec(0x167)]({'reason':_0x2abca7[_0x2466ec(0x1a1)]??_0x2466ec(0x16b),'commandId':_0x3ff9d6['id'],'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'axis':_0x55c472['axis'],'outlineId':_0xaf2948['id']}),!0x1;let _0x2a617e=[..._0x32a99b[_0x2466ec(0x1f9)](_0x4cac4d=>({'id':_0xf4e120['id'],'params':{'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'outlineId':_0x4cac4d['id']}})),{'id':_0x32e3f5['id'],'params':{'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'outline':_0xaf2948}}],_0x55093c=[{'id':_0xf4e120['id'],'params':{'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'outlineId':_0xaf2948['id']}},..._0x32a99b['map'](_0xf61f70=>({'id':_0x32e3f5['id'],'params':{'unitId':_0x1d98f6,'subUnitId':_0x37ca19,'outline':_0xf61f70}}))];return(0x0,_0x473743[_0x2466ec(0x144)])(_0x2a617e,_0xe39c85[_0x2466ec(0x1de)](_0x473743[_0x2466ec(0x214)]))[_0x2466ec(0x1a3)]?(_0xe39c85[_0x2466ec(0x1de)](_0x473743[_0x2466ec(0x1bf)])[_0x2466ec(0x16e)]({'unitID':_0x1d98f6,'undoMutations':_0x55093c,'redoMutations':_0x2a617e}),!0x0):!0x1;}},_0x6e61d9={'id':_0x24a4c3(0x153),'type':_0x473743[_0x24a4c3(0x13a)]['MUTATION'],'handler':(_0x42b1ec,_0x14fa1f)=>{const _0x557518=_0x24a4c3;let _0x54cb9a=_0x42b1ec[_0x557518(0x1de)](_0x2deb8b),_0x13abe5=_0x54cb9a[_0x557518(0x13b)](_0x14fa1f[_0x557518(0x178)],_0x14fa1f['subUnitId']);return _0x54cb9a[_0x557518(0x14d)](_0x14fa1f[_0x557518(0x178)],_0x14fa1f['subUnitId'],_0x1f5071(_0x13abe5,_0x14fa1f)),!0x0;}},_0x408f14={'id':'sheet.command.clear-dimension-outlines','type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x20e)],'handler':(_0x9d8027,_0x37146d)=>{const _0x221ca4=_0x24a4c3;if(!_0x37146d)return!0x1;let _0x7121be=(0x0,_0x11c297[_0x221ca4(0x1da)])(_0x9d8027[_0x221ca4(0x1de)](_0x473743[_0x221ca4(0x1ac)]),_0x37146d);if(!_0x7121be)return!0x1;let {unitId:_0x1f83a6,subUnitId:_0xa10977}=_0x7121be;if(!_0xb2802d(_0x9d8027,_0x1f83a6,_0xa10977))return!0x1;let _0xbc97d1={'unitId':_0x1f83a6,'subUnitId':_0xa10977,'axis':_0x37146d[_0x221ca4(0x1ba)],'start':_0x37146d[_0x221ca4(0x171)],'end':_0x37146d[_0x221ca4(0x196)]},_0x4cbc56=_0x9d8027[_0x221ca4(0x1de)](_0x2deb8b)['getOutlines'](_0x1f83a6,_0xa10977)[_0x221ca4(0x1db)](_0x1590fe=>_0xa36c76(_0x1590fe,_0xbc97d1)&&_0x1590fe[_0x221ca4(0x171)]>=_0x37146d[_0x221ca4(0x171)]&&_0x1590fe[_0x221ca4(0x196)]<=_0x37146d[_0x221ca4(0x196)]);if(_0x4cbc56[_0x221ca4(0x206)]===0x0)return _0x9d8027[_0x221ca4(0x1de)](_0x318b95)[_0x221ca4(0x167)]({'reason':_0x221ca4(0x1b1),'commandId':_0x408f14['id'],'unitId':_0x1f83a6,'subUnitId':_0xa10977,'axis':_0x37146d[_0x221ca4(0x1ba)]}),!0x1;let _0x55540d=[{'id':_0x6e61d9['id'],'params':{..._0xbc97d1,'removedOutlineIds':_0x4cbc56[_0x221ca4(0x1f9)](_0x45e994=>_0x45e994['id'])}}],_0x571332=_0x4cbc56[_0x221ca4(0x1f9)](_0x49e91d=>({'id':_0x32e3f5['id'],'params':{'unitId':_0x1f83a6,'subUnitId':_0xa10977,'outline':_0x49e91d}}));return(0x0,_0x473743[_0x221ca4(0x144)])(_0x55540d,_0x9d8027['get'](_0x473743[_0x221ca4(0x214)]))[_0x221ca4(0x1a3)]?(_0x9d8027[_0x221ca4(0x1de)](_0x473743[_0x221ca4(0x1bf)])['pushUndoRedo']({'unitID':_0x1f83a6,'undoMutations':_0x571332,'redoMutations':_0x55540d}),!0x0):!0x1;}},_0x5a6b1b={'id':'sheet.command.remove-dimension-outline','type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x20e)],'handler':(_0x2d1d66,_0x5dc863)=>{const _0x51712c=_0x24a4c3;if(!_0x5dc863)return!0x1;let _0x55a3cc=(0x0,_0x11c297[_0x51712c(0x1da)])(_0x2d1d66['get'](_0x473743[_0x51712c(0x1ac)]),_0x5dc863);if(!_0x55a3cc)return!0x1;let {unitId:_0x219072,subUnitId:_0x3cf7f8}=_0x55a3cc;if(!_0xb2802d(_0x2d1d66,_0x219072,_0x3cf7f8))return!0x1;let _0x5d0bc3=_0x2d1d66[_0x51712c(0x1de)](_0x2deb8b)['getOutlines'](_0x219072,_0x3cf7f8)[_0x51712c(0x1b3)](_0x350b74=>_0x350b74['id']===_0x5dc863[_0x51712c(0x1fa)]);if(!_0x5d0bc3)return!0x1;let _0x28ac79=[{'id':_0xf4e120['id'],'params':{'unitId':_0x219072,'subUnitId':_0x3cf7f8,'outlineId':_0x5d0bc3['id'],'outline':_0x5d0bc3}}],_0x74e395=[{'id':_0x32e3f5['id'],'params':{'unitId':_0x219072,'subUnitId':_0x3cf7f8,'outline':_0x5d0bc3}}];return(0x0,_0x473743[_0x51712c(0x144)])(_0x28ac79,_0x2d1d66[_0x51712c(0x1de)](_0x473743['ICommandService']))['result']?(_0x2d1d66[_0x51712c(0x1de)](_0x473743[_0x51712c(0x1bf)])[_0x51712c(0x16e)]({'unitID':_0x219072,'undoMutations':_0x74e395,'redoMutations':_0x28ac79}),!0x0):!0x1;}},_0x3f9239={'id':_0x24a4c3(0x1c0),'type':_0x473743['CommandType']['MUTATION'],'handler':(_0x33742a,_0x167a66)=>{const _0x8d5d17=_0x24a4c3;let _0xc50bfe=_0x33742a[_0x8d5d17(0x1de)](_0x2deb8b),_0x576d22=_0xc50bfe[_0x8d5d17(0x13b)](_0x167a66[_0x8d5d17(0x178)],_0x167a66[_0x8d5d17(0x19f)]),_0x24f09f=_0x576d22[_0x8d5d17(0x1b3)](_0xf5b35f=>_0xf5b35f['id']===_0x167a66['outlineId']);return _0x24f09f&&_0xc50bfe[_0x8d5d17(0x14d)](_0x167a66[_0x8d5d17(0x178)],_0x167a66['subUnitId'],_0x576d22[_0x8d5d17(0x1f9)](_0x12565b=>_0x12565b['unitId']!==_0x24f09f['unitId']||_0x12565b['subUnitId']!==_0x24f09f['subUnitId']||_0x12565b[_0x8d5d17(0x1ba)]!==_0x24f09f[_0x8d5d17(0x1ba)]||_0x12565b[_0x8d5d17(0x171)]!==_0x24f09f['start']||_0x12565b[_0x8d5d17(0x196)]!==_0x24f09f['end']?_0x12565b:{..._0x12565b,'collapsed':_0x167a66[_0x8d5d17(0x18b)]})),!0x0;}};function _0x4b3cc8(_0x2fdcea,_0x481134,_0x3ad551,_0x1188cc){const _0x3edd1e=_0x24a4c3;return _0x2fdcea==='row'?{'startRow':_0x481134,'endRow':_0x3ad551,'startColumn':0x0,'endColumn':_0x1188cc['getMaxColumns']()-0x1}:{'startRow':0x0,'endRow':_0x1188cc[_0x3edd1e(0x162)]()-0x1,'startColumn':_0x481134,'endColumn':_0x3ad551};}function _0x495b9d(_0x5eb9f3){const _0x14465c=_0x24a4c3;return _0x5eb9f3==='row'?_0x11c297['SetRowHiddenMutation']['id']:_0x11c297[_0x14465c(0x19a)]['id'];}function _0x30f455(_0x2be7f7){const _0x175dbd=_0x24a4c3;return _0x2be7f7===_0x175dbd(0x17d)?_0x11c297['SetRowVisibleMutation']['id']:_0x11c297[_0x175dbd(0x1d1)]['id'];}function _0x4c3a76(_0x117e39,_0x4dbdb9,_0x5163f4,_0x11cef0){const _0x1bf9c1=_0x24a4c3;let _0x58d2d0=_0x4dbdb9?[_0x4b3cc8(_0x117e39['axis'],_0x117e39['start'],_0x117e39[_0x1bf9c1(0x196)],_0x5163f4)]:_0x51f8dc(_0x117e39,_0x11cef0,_0x5163f4),_0x396eb7=_0x4dbdb9?_0x495b9d(_0x117e39['axis']):_0x30f455(_0x117e39[_0x1bf9c1(0x1ba)]);return[{'id':_0x3f9239['id'],'params':{'unitId':_0x117e39[_0x1bf9c1(0x178)],'subUnitId':_0x117e39['subUnitId'],'outlineId':_0x117e39['id'],'outline':_0x117e39,'collapsed':_0x4dbdb9}},..._0x58d2d0[_0x1bf9c1(0x1f9)](_0x323140=>({'id':_0x396eb7,'params':{'unitId':_0x117e39[_0x1bf9c1(0x178)],'subUnitId':_0x117e39[_0x1bf9c1(0x19f)],'ranges':[_0x323140],'dimensionOutlineId':_0x117e39['id']}}))];}function _0x51f8dc(_0x487629,_0x45f0be,_0x4eeca4){const _0xab0b2c=_0x24a4c3;let _0x1dd5b0=_0x19aff9(_0x45f0be[_0xab0b2c(0x1f9)](_0x30abe3=>_0x4e9a93(_0x30abe3,_0x487629)?{..._0x30abe3,'collapsed':!0x1}:_0x30abe3),_0x487629[_0xab0b2c(0x178)],_0x487629[_0xab0b2c(0x19f)],_0x487629[_0xab0b2c(0x1ba)]);return _0x151a7a({'start':_0x487629[_0xab0b2c(0x171)],'end':_0x487629[_0xab0b2c(0x196)]},_0x1dd5b0)[_0xab0b2c(0x1f9)](_0x5a863c=>_0x4b3cc8(_0x487629['axis'],_0x5a863c[_0xab0b2c(0x171)],_0x5a863c['end'],_0x4eeca4));}function _0x4e9a93(_0x39f7a9,_0x45c4fe){const _0x37908b=_0x24a4c3;return _0x39f7a9[_0x37908b(0x178)]===_0x45c4fe['unitId']&&_0x39f7a9[_0x37908b(0x19f)]===_0x45c4fe['subUnitId']&&_0x39f7a9['axis']===_0x45c4fe[_0x37908b(0x1ba)]&&_0x39f7a9[_0x37908b(0x171)]===_0x45c4fe[_0x37908b(0x171)]&&_0x39f7a9['end']===_0x45c4fe[_0x37908b(0x196)];}function _0x151a7a(_0x5f13a3,_0x529154){const _0x378864=_0x24a4c3;let _0x5613f7=_0x5f13a3['start'],_0x42d749=[];for(let _0x8fd875 of _0x529154)if(!(_0x8fd875[_0x378864(0x196)]<_0x5613f7||_0x8fd875['start']>_0x5f13a3[_0x378864(0x196)])&&(_0x8fd875[_0x378864(0x171)]>_0x5613f7&&_0x42d749[_0x378864(0x1ff)]({'start':_0x5613f7,'end':Math[_0x378864(0x1c7)](_0x8fd875['start']-0x1,_0x5f13a3[_0x378864(0x196)])}),_0x5613f7=Math[_0x378864(0x1c8)](_0x5613f7,_0x8fd875[_0x378864(0x196)]+0x1),_0x5613f7>_0x5f13a3[_0x378864(0x196)]))break;return _0x5613f7<=_0x5f13a3[_0x378864(0x196)]&&_0x42d749[_0x378864(0x1ff)]({'start':_0x5613f7,'end':_0x5f13a3['end']}),_0x42d749;}let _0x1c0617={'id':'sheet.command.set-dimension-outline-collapsed','type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x20e)],'handler':(_0x1849f2,_0x5ac388)=>{const _0x387f77=_0x24a4c3;if(!_0x5ac388)return!0x1;let _0x590884=(0x0,_0x11c297[_0x387f77(0x1da)])(_0x1849f2['get'](_0x473743[_0x387f77(0x1ac)]),_0x5ac388);if(!_0x590884)return!0x1;let {unitId:_0x43315c,subUnitId:_0x49c9c6,worksheet:_0x41f42f}=_0x590884;if(!_0xb2802d(_0x1849f2,_0x43315c,_0x49c9c6))return!0x1;let _0x4e4754=_0x1849f2[_0x387f77(0x1de)](_0x2deb8b)[_0x387f77(0x13b)](_0x43315c,_0x49c9c6),_0xc84f17=_0x4e4754[_0x387f77(0x1b3)](_0xa056be=>_0xa056be['id']===_0x5ac388['outlineId']);if(!_0xc84f17||_0xc84f17['collapsed']===_0x5ac388[_0x387f77(0x18b)])return!0x1;let _0x11bf47=_0x4c3a76(_0xc84f17,_0x5ac388[_0x387f77(0x18b)],_0x41f42f,_0x4e4754),_0x53b8a3=_0x4c3a76(_0xc84f17,!_0x5ac388['collapsed'],_0x41f42f,_0x4e4754);return(0x0,_0x473743[_0x387f77(0x144)])(_0x11bf47,_0x1849f2[_0x387f77(0x1de)](_0x473743[_0x387f77(0x214)]))[_0x387f77(0x1a3)]?(_0x1849f2[_0x387f77(0x1de)](_0x473743[_0x387f77(0x1bf)])['pushUndoRedo']({'unitID':_0x43315c,'undoMutations':_0x53b8a3,'redoMutations':_0x11bf47}),!0x0):!0x1;}},_0x215c5a={'id':_0x24a4c3(0x1ea),'type':_0x473743[_0x24a4c3(0x13a)][_0x24a4c3(0x193)],'handler':(_0x4496a0,_0x3aa601)=>{const _0x401c22=_0x24a4c3;let _0x244533=_0x4496a0[_0x401c22(0x1de)](_0x2deb8b),_0x1c841d=_0x4adc15(_0x244533['getOutlines'](_0x3aa601[_0x401c22(0x178)],_0x3aa601['subUnitId']),_0x3aa601);return _0x244533[_0x401c22(0x14d)](_0x3aa601[_0x401c22(0x178)],_0x3aa601[_0x401c22(0x19f)],_0x1c841d),!0x0;}};function _0x4adc15(_0x4a92e2,_0x103cf3){const _0x2360d8=_0x24a4c3;switch(_0x103cf3[_0x2360d8(0x192)]){case _0x2360d8(0x204):return _0x103cf3['restoreOutlines']?_0x1b3a3f(_0x4a92e2,_0x103cf3):_0x4b0be0(_0x4a92e2,_0x103cf3);case _0x2360d8(0x203):return _0x1482f1(_0x4a92e2,_0x103cf3);case _0x2360d8(0x1ad):return _0x182936(_0x4a92e2,_0x103cf3);}}function _0x1b3a3f(_0x4cb3f8,_0x4688be){const _0x1948ae=_0x24a4c3;return[..._0x4cb3f8[_0x1948ae(0x1db)](_0x435a76=>_0x435a76['unitId']!==_0x4688be[_0x1948ae(0x178)]||_0x435a76[_0x1948ae(0x19f)]!==_0x4688be['subUnitId']||_0x435a76[_0x1948ae(0x1ba)]!==_0x4688be[_0x1948ae(0x1ba)]),..._0x4688be['restoreOutlines']];}let _0x37d521=_0x24a4c3(0x215);var _0x3d51af=_0x24a4c3(0x155),_0x232714=_0x24a4c3(0x157);let _0x5a590f={};function _0x48dcd1(_0x43645f,_0x2bd54d){return function(_0x325805,_0x3e63d5){_0x2bd54d(_0x325805,_0x3e63d5,_0x43645f);};}function _0x4b323c(_0x3b7bcf,_0x447e70,_0x1fe0bb,_0x57f594){const _0x3afb4b=_0x24a4c3;var _0x2ed6de=arguments[_0x3afb4b(0x206)],_0xa340a0=_0x2ed6de<0x3?_0x447e70:_0x57f594===null?_0x57f594=Object[_0x3afb4b(0x14a)](_0x447e70,_0x1fe0bb):_0x57f594,_0x532063;if(typeof Reflect=='object'&&typeof Reflect[_0x3afb4b(0x159)]==_0x3afb4b(0x174))_0xa340a0=Reflect[_0x3afb4b(0x159)](_0x3b7bcf,_0x447e70,_0x1fe0bb,_0x57f594);else{for(var _0x4649da=_0x3b7bcf['length']-0x1;_0x4649da>=0x0;_0x4649da--)(_0x532063=_0x3b7bcf[_0x4649da])&&(_0xa340a0=(_0x2ed6de<0x3?_0x532063(_0xa340a0):_0x2ed6de>0x3?_0x532063(_0x447e70,_0x1fe0bb,_0xa340a0):_0x532063(_0x447e70,_0x1fe0bb))||_0xa340a0);}return _0x2ed6de>0x3&&_0xa340a0&&Object[_0x3afb4b(0x138)](_0x447e70,_0x1fe0bb,_0xa340a0),_0xa340a0;}let _0x86e82d={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x54f643=class extends _0x473743[_0x24a4c3(0x189)]{constructor(_0x425102,_0x1b1c23,_0x41824c,_0xffd3de){const _0x440b51=_0x24a4c3;super(),this[_0x440b51(0x145)]=_0x425102,this[_0x440b51(0x18d)]=_0x1b1c23,this['_sheetsOutlineModel']=_0x41824c,this[_0x440b51(0x13d)]=_0xffd3de,this['_initCommandInterceptor']();}[_0x24a4c3(0x1e8)](){const _0x35395d=_0x24a4c3;this[_0x35395d(0x16c)](this[_0x35395d(0x18d)][_0x35395d(0x1aa)]({'getMutations':_0x47237a=>_0x2fc868(_0x47237a,(_0x35c3f0,_0x4e380b)=>this[_0x35395d(0x187)][_0x35395d(0x13b)](_0x35c3f0,_0x4e380b),this[_0x35395d(0x13e)](_0x47237a[_0x35395d(0x18a)]),_0x2b9f2b=>this['_sheetsOutlineErrorService'][_0x35395d(0x167)](_0x2b9f2b))}));}[_0x24a4c3(0x13e)](_0x5034b0){const _0x736615=_0x24a4c3;let _0x27e9ba=_0x5034b0,_0x12923f=_0x27e9ba!=null&&_0x27e9ba['unitId']?this[_0x736615(0x145)]['getUnit'](_0x27e9ba[_0x736615(0x178)],_0x473743[_0x736615(0x191)][_0x736615(0x1a5)]):this[_0x736615(0x145)][_0x736615(0x15d)](_0x473743[_0x736615(0x191)][_0x736615(0x1a5)]);if(!_0x12923f)return;let _0x588192=_0x27e9ba!=null&&_0x27e9ba[_0x736615(0x19f)]?_0x12923f[_0x736615(0x172)](_0x27e9ba['subUnitId']):_0x12923f[_0x736615(0x149)]();if(_0x588192)return{'unitId':_0x12923f['getUnitId'](),'subUnitId':_0x588192['getSheetId']()};}};_0x54f643=_0x4b323c([_0x48dcd1(0x0,_0x473743[_0x24a4c3(0x1ac)]),_0x48dcd1(0x1,(0x0,_0x473743[_0x24a4c3(0x199)])(_0x11c297['SheetInterceptorService'])),_0x48dcd1(0x2,(0x0,_0x473743[_0x24a4c3(0x199)])(_0x2deb8b)),_0x48dcd1(0x3,(0x0,_0x473743[_0x24a4c3(0x199)])(_0x318b95))],_0x54f643);function _0x2fc868(_0x702544,_0x1c4381,_0xbfc5a7,_0x4ce484){const _0x2a5870=_0x24a4c3;let _0x213415=_0x16b8a9(_0x702544,_0xbfc5a7);if(!_0x213415)return _0x189828();let _0x5ce3ef=_0x1c4381(_0x213415[_0x2a5870(0x178)],_0x213415[_0x2a5870(0x19f)]);if(!_0x5ce3ef[_0x2a5870(0x169)](_0x581f8c=>_0x581f8c['axis']===_0x213415['axis']))return _0x189828();_0x52a6cd(_0x5ce3ef,_0x213415,_0x702544['id'],_0x4ce484);let _0x55a8db=_0x4c97a9(_0x213415,_0x5ce3ef);return{'redos':[{'id':_0x215c5a['id'],'params':_0x213415}],'undos':[{'id':_0x215c5a['id'],'params':_0x55a8db}],'preRedos':[],'preUndos':[]};}function _0x52a6cd(_0x1673b8,_0x1dbe1c,_0x393ee4,_0x3417e0){const _0x31541a=_0x24a4c3;try{switch(_0x1dbe1c[_0x31541a(0x192)]){case _0x31541a(0x204):_0x4b0be0(_0x1673b8,_0x1dbe1c);break;case _0x31541a(0x203):_0x1482f1(_0x1673b8,_0x1dbe1c);break;case _0x31541a(0x1ad):_0x182936(_0x1673b8,_0x1dbe1c);}}catch(_0x21c1e5){throw _0x3417e0==null||_0x3417e0({'reason':_0x5f4151(_0x21c1e5),'commandId':_0x393ee4,'unitId':_0x1dbe1c['unitId'],'subUnitId':_0x1dbe1c['subUnitId'],'axis':_0x1dbe1c[_0x31541a(0x1ba)],'outlineId':_0x455c87(_0x21c1e5)}),new _0x473743[(_0x31541a(0x212))](_0x21c1e5 instanceof Error?_0x21c1e5['message']:_0x31541a(0x15b));}}function _0x16b8a9(_0x2c95ac,_0x5ac238){const _0x5ec576=_0x24a4c3;switch(_0x2c95ac['id']){case _0x11c297[_0x5ec576(0x1b2)]['id']:return _0x4770de(_0x2c95ac['params'],'row',_0x5ac238);case _0x11c297[_0x5ec576(0x150)]['id']:return _0x4770de(_0x2c95ac['params'],_0x5ec576(0x209),_0x5ac238);case _0x11c297[_0x5ec576(0x13c)]['id']:return _0x2d80dd(_0x2c95ac[_0x5ec576(0x18a)],_0x5ec576(0x17d),_0x5ac238);case _0x11c297[_0x5ec576(0x173)]['id']:return _0x2d80dd(_0x2c95ac[_0x5ec576(0x18a)],'column',_0x5ac238);case _0x11c297[_0x5ec576(0x1cf)]['id']:return _0x11dc0e(_0x2c95ac[_0x5ec576(0x18a)],_0x5ec576(0x17d),_0x5ac238);case _0x11c297['MoveColsCommand']['id']:return _0x11dc0e(_0x2c95ac[_0x5ec576(0x18a)],_0x5ec576(0x209),_0x5ac238);default:return null;}}function _0x4770de(_0x25f855,_0x9db497,_0xa1baec){const _0x10ee4c=_0x24a4c3;let _0x41ae26=_0x56430a(_0x25f855,_0xa1baec);if(!(_0x25f855!=null&&_0x25f855['range'])||!_0x41ae26)return null;let _0x6960a2=_0x9db497==='row'?_0x25f855[_0x10ee4c(0x1be)]['startRow']:_0x25f855[_0x10ee4c(0x1be)][_0x10ee4c(0x202)],_0x35052c=_0x9db497==='row'?_0x25f855['range'][_0x10ee4c(0x14b)]:_0x25f855[_0x10ee4c(0x1be)][_0x10ee4c(0x156)];return{..._0x41ae26,'axis':_0x9db497,'type':_0x10ee4c(0x204),'index':_0x6960a2,'count':_0x35052c-_0x6960a2+0x1};}function _0x2d80dd(_0x445ad5,_0x21a300,_0x1298e9){const _0x11cdd0=_0x24a4c3;let _0x3f54d4=_0x56430a(_0x445ad5,_0x1298e9);if(!(_0x445ad5!=null&&_0x445ad5[_0x11cdd0(0x1be)])||!_0x3f54d4)return null;let _0x69570a=_0x21a300===_0x11cdd0(0x17d)?_0x445ad5[_0x11cdd0(0x1be)][_0x11cdd0(0x1b7)]:_0x445ad5[_0x11cdd0(0x1be)][_0x11cdd0(0x202)],_0x57c456=_0x21a300==='row'?_0x445ad5[_0x11cdd0(0x1be)]['endRow']:_0x445ad5['range']['endColumn'];return{..._0x3f54d4,'axis':_0x21a300,'type':_0x11cdd0(0x203),'start':_0x69570a,'end':_0x57c456};}function _0x11dc0e(_0x5b83e7,_0x3d3615,_0x4ab977){const _0x34d009=_0x24a4c3;let _0x3086bd=_0x56430a(_0x5b83e7,_0x4ab977);if(!(_0x5b83e7!=null&&_0x5b83e7['fromRange'])||!_0x5b83e7[_0x34d009(0x1e1)]||!_0x3086bd)return null;let _0x1badbc=_0x3d3615===_0x34d009(0x17d)?_0x5b83e7[_0x34d009(0x1c2)][_0x34d009(0x1b7)]:_0x5b83e7[_0x34d009(0x1c2)][_0x34d009(0x202)],_0x2c69e5=_0x3d3615==='row'?_0x5b83e7[_0x34d009(0x1c2)][_0x34d009(0x14b)]:_0x5b83e7[_0x34d009(0x1c2)]['endColumn'],_0x25a531=_0x3d3615===_0x34d009(0x17d)?_0x5b83e7['toRange']['startRow']:_0x5b83e7['toRange'][_0x34d009(0x202)];return{..._0x3086bd,'axis':_0x3d3615,'type':_0x34d009(0x1ad),'sourceStart':_0x1badbc,'sourceEnd':_0x2c69e5,'destinationIndex':_0x25a531};}function _0x4c97a9(_0x357470,_0x28654b){const _0x5c2dbf=_0x24a4c3;switch(_0x357470[_0x5c2dbf(0x192)]){case _0x5c2dbf(0x204):return{'unitId':_0x357470[_0x5c2dbf(0x178)],'subUnitId':_0x357470['subUnitId'],'axis':_0x357470['axis'],'type':_0x5c2dbf(0x203),'start':_0x357470[_0x5c2dbf(0x1cd)],'end':_0x357470[_0x5c2dbf(0x1cd)]+_0x357470[_0x5c2dbf(0x175)]-0x1};case'delete':return{'unitId':_0x357470[_0x5c2dbf(0x178)],'subUnitId':_0x357470['subUnitId'],'axis':_0x357470[_0x5c2dbf(0x1ba)],'type':_0x5c2dbf(0x204),'index':_0x357470[_0x5c2dbf(0x171)],'count':_0x357470['end']-_0x357470[_0x5c2dbf(0x171)]+0x1,'restoreOutlines':_0x28654b[_0x5c2dbf(0x1db)](_0x1d713e=>_0x1d713e['unitId']===_0x357470['unitId']&&_0x1d713e[_0x5c2dbf(0x19f)]===_0x357470[_0x5c2dbf(0x19f)]&&_0x1d713e[_0x5c2dbf(0x1ba)]===_0x357470['axis'])};case _0x5c2dbf(0x1ad):return _0x265a28(_0x357470);}}function _0x265a28(_0x33383a){const _0x35de7d=_0x24a4c3;let _0x20219e=_0x33383a[_0x35de7d(0x1ca)]-_0x33383a[_0x35de7d(0x141)]+0x1;return _0x33383a['destinationIndex']>=_0x33383a[_0x35de7d(0x141)]&&_0x33383a[_0x35de7d(0x18f)]<=_0x33383a[_0x35de7d(0x1ca)]+0x1?{..._0x33383a}:_0x33383a[_0x35de7d(0x18f)]>_0x33383a[_0x35de7d(0x1ca)]+0x1?{..._0x33383a,'sourceStart':_0x33383a[_0x35de7d(0x18f)]-_0x20219e,'sourceEnd':_0x33383a[_0x35de7d(0x18f)]-0x1,'destinationIndex':_0x33383a['sourceStart']}:{..._0x33383a,'sourceStart':_0x33383a['destinationIndex'],'sourceEnd':_0x33383a[_0x35de7d(0x18f)]+_0x20219e-0x1,'destinationIndex':_0x33383a[_0x35de7d(0x1ca)]+0x1};}function _0x56430a(_0x28946c,_0x3da009){const _0xe83e64=_0x24a4c3;let _0x12b150=(_0x28946c==null?void 0x0:_0x28946c[_0xe83e64(0x178)])??(_0x3da009==null?void 0x0:_0x3da009['unitId']),_0x5be3d8=(_0x28946c==null?void 0x0:_0x28946c['subUnitId'])??(_0x3da009==null?void 0x0:_0x3da009[_0xe83e64(0x19f)]);return _0x12b150&&_0x5be3d8?{'unitId':_0x12b150,'subUnitId':_0x5be3d8}:null;}function _0x189828(){const _0x232262=_0x24a4c3;return{'redos':[..._0x86e82d[_0x232262(0x1d6)]],'undos':[..._0x86e82d[_0x232262(0x1f8)]],'preRedos':[..._0x86e82d['preRedos']??[]],'preUndos':[..._0x86e82d[_0x232262(0x20a)]??[]]};}let _0x46be77=class extends _0x473743[_0x24a4c3(0x189)]{constructor(_0x4150e7,_0x2b5da5){const _0x35e8f8=_0x24a4c3;super(),this[_0x35e8f8(0x1fc)]=_0x4150e7,this[_0x35e8f8(0x187)]=_0x2b5da5,this[_0x35e8f8(0x1d5)]();}[_0x24a4c3(0x1d5)](){const _0xf49b1e=_0x24a4c3;this[_0xf49b1e(0x16c)](this['_resourceManagerService'][_0xf49b1e(0x1f5)]({'pluginName':_0x37d521,'businesses':[_0x473743['UniverInstanceType'][_0xf49b1e(0x1a5)]],'toJson':_0x1b730d=>JSON[_0xf49b1e(0x194)](this['_sheetsOutlineModel'][_0xf49b1e(0x1e0)](_0x1b730d)),'parseJson':_0x26199e=>JSON['parse'](_0x26199e),'onLoad':(_0x5af897,_0x4040c3)=>this['_sheetsOutlineModel'][_0xf49b1e(0x163)](_0x5af897,_0x4040c3),'onUnLoad':_0x41e605=>this['_sheetsOutlineModel'][_0xf49b1e(0x1cb)](_0x41e605)}));}};_0x46be77=_0x4b323c([_0x48dcd1(0x0,_0x473743[_0x24a4c3(0x20f)]),_0x48dcd1(0x1,(0x0,_0x473743[_0x24a4c3(0x199)])(_0x2deb8b))],_0x46be77);let _0x28b2ca=class extends _0x473743['Plugin']{constructor(_0x596154=_0x5a590f,_0x681c3f,_0x4919e9,_0x4be2d4){const _0x497d43=_0x24a4c3;super(),this[_0x497d43(0x1ef)]=_0x596154,this['_injector']=_0x681c3f,this[_0x497d43(0x183)]=_0x4919e9,this[_0x497d43(0x213)]=_0x4be2d4;let {..._0xc6bc0d}=(0x0,_0x473743['merge'])({},_0x5a590f,this['_config']);this[_0x497d43(0x213)][_0x497d43(0x20d)](_0x497d43(0x1e4),_0xc6bc0d);}['onStarting'](){const _0x48e0ad=_0x24a4c3;this[_0x48e0ad(0x1f6)]['add']([_0x2deb8b]),this[_0x48e0ad(0x1f6)][_0x48e0ad(0x16f)]([_0x318b95]),this[_0x48e0ad(0x1f6)][_0x48e0ad(0x16f)]([_0x46be77]),this[_0x48e0ad(0x1f6)]['add']([_0x54f643]),this[_0x48e0ad(0x146)](),this[_0x48e0ad(0x1f6)][_0x48e0ad(0x1de)](_0x2deb8b),this[_0x48e0ad(0x1f6)]['get'](_0x318b95),this['_injector'][_0x48e0ad(0x1de)](_0x46be77),this[_0x48e0ad(0x1f6)][_0x48e0ad(0x1de)](_0x54f643);}[_0x24a4c3(0x146)](){const _0x76e58c=_0x24a4c3;[_0x3ff9d6,_0x5a6b1b,_0x1c0617,_0x408f14][_0x76e58c(0x19e)](_0x240267=>{const _0x4beb0f=_0x76e58c;this[_0x4beb0f(0x16c)](this[_0x4beb0f(0x183)][_0x4beb0f(0x1bb)](_0x240267));}),[_0x32e3f5,_0xf4e120,_0x3f9239,_0x6e61d9,_0x215c5a][_0x76e58c(0x19e)](_0x20b6e8=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x20b6e8));});}};_0x121fc8(_0x28b2ca,_0x24a4c3(0x1d3),_0x37d521),_0x121fc8(_0x28b2ca,_0x24a4c3(0x15c),_0x3d51af),_0x121fc8(_0x28b2ca,_0x24a4c3(0x20b),_0x232714),_0x121fc8(_0x28b2ca,_0x24a4c3(0x192),_0x473743[_0x24a4c3(0x191)][_0x24a4c3(0x1a5)]),_0x28b2ca=_0x4b323c([(0x0,_0x473743[_0x24a4c3(0x14c)])(_0x2bffaa['UniverLicensePlugin'],_0x11c297[_0x24a4c3(0x190)]),_0x48dcd1(0x1,(0x0,_0x473743['Inject'])(_0x473743[_0x24a4c3(0x152)])),_0x48dcd1(0x2,_0x473743[_0x24a4c3(0x214)]),_0x48dcd1(0x3,_0x473743[_0x24a4c3(0x197)])],_0x28b2ca),_0x4a67dc[_0x24a4c3(0x1a6)]=_0x3ff9d6,_0x4a67dc[_0x24a4c3(0x160)]=_0x32e3f5,_0x4a67dc[_0x24a4c3(0x1c3)]=_0x408f14,_0x4a67dc[_0x24a4c3(0x1c6)]=_0x6e61d9,_0x4a67dc[_0x24a4c3(0x1a4)]=_0xa95a23,_0x4a67dc[_0x24a4c3(0x19b)]=_0x2c2309,_0x4a67dc[_0x24a4c3(0x1a2)]=_0x5a6b1b,_0x4a67dc[_0x24a4c3(0x170)]=_0xf4e120,_0x4a67dc['SHEET_OUTLINE_PLUGIN']=_0x37d521,_0x4a67dc[_0x24a4c3(0x1a0)]=_0x1c0617,_0x4a67dc['SetDimensionOutlineCollapsedMutation']=_0x3f9239,_0x4a67dc[_0x24a4c3(0x147)]=_0x318b95,_0x4a67dc[_0x24a4c3(0x17b)]=_0x2deb8b,_0x4a67dc[_0x24a4c3(0x1c9)]=_0x215c5a,Object[_0x24a4c3(0x138)](_0x4a67dc,_0x24a4c3(0x1b5),{'enumerable':!0x0,'get':function(){return _0x28b2ca;}}),_0x4a67dc[_0x24a4c3(0x17e)]=_0x3b963d,_0x4a67dc[_0x24a4c3(0x154)]=_0xd1463c,_0x4a67dc[_0x24a4c3(0x17c)]=_0x28c7a3,_0x4a67dc[_0x24a4c3(0x1c4)]=_0xb2802d,_0x4a67dc[_0x24a4c3(0x208)]=_0x1482f1,_0x4a67dc[_0x24a4c3(0x1b0)]=_0x4b0be0,_0x4a67dc['transformOutlinesByMove']=_0x182936;}));function _0x1d7f(){const _0x320968=['index','values','MoveRowsCommand','valid','SetColVisibleMutation','exports','pluginName','MAX_DEPTH','_initResource','redos','11jSeZCP','outlineList','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSheetCommandTarget','filter','split','complete','get','getColumnCount','serialize','toRange','permissionPointUpdate$','iterator','sheets-outline.config','out-of-bounds','default','constructor','_initCommandInterceptor','generateRandomId','sheet.mutation.transform-dimension-outlines','outline','invalid-dimension-outline','COLUMN','_ensureUnitOutlines','_config','828gtKgEb','_change$','UniverSheets','OUT_OF_BOUNDS','sort','registerPluginResource','_injector','localeCompare','undos','map','outlineId','rxjs/operators','_resourceManagerService','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','1120596rQUfsp','push','@univerjs-pro/license','from','startColumn','delete','insert','Move\x20would\x20split\x20dimension\x20outline:\x20','length','Module','transformOutlinesByDelete','column','preUndos','version','@univerjs/core','setConfig','COMMAND','IResourceManagerService','split\x20dimension\x20outline','_error$','CustomCommandExecutionError','_configService','ICommandService','SHEET_OUTLINE_PLUGIN','amd','defineProperty','maxIndex','CommandType','getOutlines','RemoveRowCommand','_sheetsOutlineErrorService','_getCommandScope','sheet.command.add-dimension-outline','sheet.mutation.add-dimension-outline','sourceStart','IPermissionService','dispose','sequenceExecute','_univerInstanceService','_initRegisterCommand','SheetsOutlineErrorService','1968SiYTai','getActiveSheet','getOwnPropertyDescriptor','endRow','DependentOn','setOutlines','object','SheetPermissionCheckController','InsertColCommand','pipe','Injector','sheet.mutation.clear-dimension-outlines','canAddDimensionOutline','@univerjs-pro/sheets-outline','endColumn','1.0.0','CROSSING','decorate','join','Invalid\x20dimension\x20outline\x20mutation','packageName','getCurrentUnitOfType','next','INVALID_RANGE','AddDimensionOutlineMutation','UniverCore','getRowCount','deserialize','set','pop','prototype','emit','WorksheetViewPermission','some','offset','unknown','disposeWithMe','crossing','pushUndoRedo','add','RemoveDimensionOutlineMutation','start','getSheetBySheetId','RemoveColCommand','function','count','Invalid\x20outline\x20range','sheet.mutation.remove-dimension-outline','unitId','196zdTYoX','startWith','SheetsOutlineModel','getDimensionOutlineViewPermission$','row','buildDimensionOutlineTree','mergedOutlines','3817XsLioM','251694zASqxu','call','_commandService','573590HEcdht','Subject','10gWMqMJ','_sheetsOutlineModel','symbol','Disposable','params','collapsed','rxjs','_sheetInterceptorService','UNKNOWN','destinationIndex','UniverSheetsPlugin','UniverInstanceType','type','MUTATION','stringify','asObservable','end','IConfigService','toStringTag','Inject','SetColHiddenMutation','DimensionOutlineErrorReason','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','invalid-range','forEach','subUnitId','SetDimensionOutlineCollapsedCommand','reason','RemoveDimensionOutlineCommand','result','DimensionOutlineAxis','UNIVER_SHEET','AddDimensionOutlineCommand','has','UniverProSheetsOutline','Crossing','interceptCommand','@univerjs/sheets','IUniverInstanceService','move','2042292EaBPmU','depth','transformOutlinesByInsert','clear-range-not-contain-outline','InsertRowCommand','find','move-splits-outline','UniverSheetsOutlinePlugin','includes','startRow','_outlines','message','axis','registerCommand','1007664QUBJpD','error$','range','IUndoRedoService','sheet.mutation.set-dimension-outline-collapsed','string','fromRange','ClearDimensionOutlinesCommand','hasDimensionOutlineViewPermission','operators','ClearDimensionOutlinesMutation','min','max','TransformDimensionOutlinesMutation','sourceEnd','removeUnit','max-depth'];_0x1d7f=function(){return _0x320968;};return _0x1d7f();}
|
|
1
|
+
function _0x320e(_0x369427,_0x3e9990){_0x369427=_0x369427-0x178;const _0x65e507=_0x65e5();let _0x320e66=_0x65e507[_0x369427];return _0x320e66;}function _0x65e5(){const _0x56f4c9=['endColumn','UNIVER_SHEET','_change$','_config','DependentOn','IUniverInstanceService','out-of-bounds','UniverSheetsOutlinePlugin','length','InsertColCommand','column','invalid-dimension-outline','function','registerPluginResource','ICommandService','pushUndoRedo','Invalid\x20dimension\x20outline\x20mutation','SHEET_OUTLINE_PLUGIN','pop','UniverCore','OUT_OF_BOUNDS','_injector','Injector','384357KrPCmO','_configService','6mhFDfd','_univerInstanceService','decorate','type','result','40umApmZ','entries','defineProperty','prototype','@univerjs/core','InsertRowCommand','destinationIndex','sheet.mutation.set-dimension-outline-collapsed','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','insert','@univerjs-pro/license','Move\x20would\x20split\x20dimension\x20outline:\x20','9187240jdPfDx','UniverLicensePlugin','unknown','SheetInterceptorService','UniverProLicense','transformOutlinesByMove','getCurrentUnitOfType','sheet.command.add-dimension-outline','startRow','sequenceExecute','outline','_commandService','sheet.command.remove-dimension-outline','split','COLUMN','clear-range-not-contain-outline','SetColVisibleMutation','UniverSheets','CommandType','pluginName','toRange','start','registerCommand','Subject','clear','next','IConfigService','emit','invalid-range','min','move','sheet.mutation.remove-dimension-outline','@univerjs-pro/sheets-outline','filter','redos','interceptCommand','sourceStart','reason','iterator','packageName','parse','MAX_DEPTH','range','UNKNOWN','amd','UniverInstanceType','subUnitId','6YQpMwq','maxIndex','SheetsOutlineModel','Module','WorksheetViewPermission','UniverSheetsPlugin','sheets-outline.config','ClearDimensionOutlinesCommand','disposeWithMe','message','has','CustomCommandExecutionError','map','sheet.command.clear-dimension-outlines','_outlines','SetRowVisibleMutation','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','complete','sheet.command.set-dimension-outline-collapsed','index','transformOutlinesByDelete','split\x20dimension\x20outline','getOwnPropertyDescriptor','asObservable','SetDimensionOutlineCollapsedCommand','removeUnit','_sheetInterceptorService','toStringTag','rxjs','unitId','1.0.1','maxDepth','dispose','sort','find','deserialize','move-splits-outline','sourceEnd','startWith','_initRegisterCommand','Inject','COMMAND','rxjs/operators','getSheetCommandTarget','get','restoreOutlines','Disposable','preUndos','MoveRowsCommand','Invalid\x20dimension\x20outline\x20move\x20source\x20range','serialize','getUnit','SheetPermissionCheckController','delete','Invalid\x20outline\x20range','RemoveDimensionOutlineMutation','_ensureUnitOutlines','hasDimensionOutlineViewPermission','IPermissionService','error$','1757239gtpdFV','values','@univerjs/sheets','name','UniverProSheetsOutline','count','getUnitId','getSheetBySheetId','_error$','_getCommandScope','call','children','_sheetsOutlineErrorService','setConfig','DimensionOutlineAxis','getMaxColumns','crossing','push','localeCompare','814779eJilnS','debounceTime','offset','forEach','startColumn','some','object','collapsed','setOutlines','DimensionOutlineError','depth','exports','MUTATION','undos','getActiveSheet','120AQgFuk','outlineId','toPrimitive','getRowCount','INVALID_RANGE','3771900UZdmTJ','canAddDimensionOutline','_initResource','permissionCheckWithoutRange','operators','params','_initCommandInterceptor','471465yBhNwu','fromRange','SetRowHiddenMutation','max','includes','add','axis','IResourceManagerService','Crossing','getColumnCount','set','end','version','symbol','from','838909lJYuXS','_resourceManagerService','string','getOutlines','row','mergedOutline','IUndoRedoService','sheet.mutation.add-dimension-outline','max-depth','MoveColsCommand','AddDimensionOutlineMutation','getUnitOutlines','buildDimensionOutlineTree','_sheetsOutlineModel'];_0x65e5=function(){return _0x56f4c9;};return _0x65e5();}(function(_0x4e6603,_0x5f1dd5){const _0x2c95aa=_0x320e,_0x44d762=_0x4e6603();while(!![]){try{const _0x325ca3=parseInt(_0x2c95aa(0x1e3))/0x1+parseInt(_0x2c95aa(0x20a))/0x2*(-parseInt(_0x2c95aa(0x208))/0x3)+-parseInt(_0x2c95aa(0x20f))/0x4*(parseInt(_0x2c95aa(0x1d4))/0x5)+parseInt(_0x2c95aa(0x24a))/0x6*(-parseInt(_0x2c95aa(0x1b9))/0x7)+-parseInt(_0x2c95aa(0x21b))/0x8+parseInt(_0x2c95aa(0x1cd))/0x9+-parseInt(_0x2c95aa(0x1c8))/0xa*(-parseInt(_0x2c95aa(0x1a6))/0xb);if(_0x325ca3===_0x5f1dd5)break;else _0x44d762['push'](_0x44d762['shift']());}catch(_0x160ccd){_0x44d762['push'](_0x44d762['shift']());}}}(_0x65e5,0x8e4fc),function(_0x127181,_0x1b4c5e){const _0x33846b=_0x320e;typeof exports==_0x33846b(0x1bf)&&typeof module<'u'?_0x1b4c5e(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x33846b(0x1fd)&&define[_0x33846b(0x247)]?define([_0x33846b(0x1c4),_0x33846b(0x213),_0x33846b(0x1a8),_0x33846b(0x186),_0x33846b(0x194),_0x33846b(0x219)],_0x1b4c5e):(_0x127181=typeof globalThis<'u'?globalThis:_0x127181||self,_0x1b4c5e(_0x127181[_0x33846b(0x1aa)]={},_0x127181[_0x33846b(0x204)],_0x127181[_0x33846b(0x22c)],_0x127181[_0x33846b(0x186)],_0x127181[_0x33846b(0x186)][_0x33846b(0x1d1)],_0x127181[_0x33846b(0x21f)]));}(this,function(_0x24956f,_0x393454,_0x377db9,_0xa50384,_0x528fbc,_0x430856){const _0xa584d1=_0x320e;Object[_0xa584d1(0x211)](_0x24956f,Symbol[_0xa584d1(0x185)],{'value':_0xa584d1(0x24d)});let _0x384e67=function(_0x1d633a){const _0x5f2939=_0xa584d1;return _0x1d633a['ROW']=_0x5f2939(0x1e7),_0x1d633a[_0x5f2939(0x229)]='column',_0x1d633a;}({}),_0x8c4e7e=function(_0x410246){const _0x5d0f34=_0xa584d1;return _0x410246[_0x5d0f34(0x1cc)]=_0x5d0f34(0x237),_0x410246[_0x5d0f34(0x205)]=_0x5d0f34(0x1f7),_0x410246['CROSSING']='crossing',_0x410246[_0x5d0f34(0x244)]=_0x5d0f34(0x1eb),_0x410246['MOVE_SPLITS_OUTLINE']=_0x5d0f34(0x18e),_0x410246[_0x5d0f34(0x17a)]=_0x5d0f34(0x22a),_0x410246[_0x5d0f34(0x246)]='unknown',_0x410246;}({});var _0x3b8590=class extends Error{constructor(_0x9f9f9d,_0x18405c,_0x4727f5){const _0x237c5b=_0xa584d1;super(_0x18405c),this[_0x237c5b(0x240)]=_0x9f9f9d,this['outlineId']=_0x4727f5,this[_0x237c5b(0x1a9)]=_0x237c5b(0x1c2);}};function _0x1dbb44(_0xc7c0b4){const _0x25d416=_0xa584d1;return _0xc7c0b4 instanceof _0x3b8590?_0xc7c0b4[_0x25d416(0x240)]:_0xc7c0b4 instanceof Error?_0xc7c0b4[_0x25d416(0x253)][_0x25d416(0x1d8)](_0x25d416(0x17f))?_0x25d416(0x18e):_0xc7c0b4[_0x25d416(0x253)][_0x25d416(0x1d8)](_0x25d416(0x1c3))?_0x25d416(0x1eb):_0xc7c0b4['message']['includes'](_0x25d416(0x1dc))?_0x25d416(0x1b6):_0xc7c0b4[_0x25d416(0x253)][_0x25d416(0x1d8)](_0x25d416(0x245))?_0x25d416(0x237):_0x25d416(0x21d):_0x25d416(0x21d);}function _0x1024bb(_0x383e9b){const _0x1476be=_0xa584d1;return _0x383e9b instanceof _0x3b8590?_0x383e9b[_0x1476be(0x1c9)]:void 0x0;}let _0x25701d=0x2**0x35-0x1;function _0x4dd9c5(_0x32c43c,_0x154486){const _0x56d7b9=_0xa584d1;return _0x32c43c['unitId']===_0x154486[_0x56d7b9(0x187)]&&_0x32c43c[_0x56d7b9(0x249)]===_0x154486[_0x56d7b9(0x249)]&&_0x32c43c[_0x56d7b9(0x1da)]===_0x154486[_0x56d7b9(0x1da)];}function _0x3d1efa(_0x1445a2,_0x3eb5c9={}){const _0x2413a8=_0xa584d1;let _0x47edcd=_0x3eb5c9[_0x2413a8(0x189)]??0x8,_0x1fb57=new Map();for(let _0x4d5652 of _0x1445a2){let _0x558c25=_0x4d5652[_0x2413a8(0x187)]+':'+_0x4d5652['subUnitId']+':'+_0x4d5652[_0x2413a8(0x1da)],_0x235e0c=_0x1fb57[_0x2413a8(0x196)](_0x558c25);_0x235e0c?_0x235e0c[_0x2413a8(0x1b7)](_0x4d5652):_0x1fb57[_0x2413a8(0x1de)](_0x558c25,[_0x4d5652]);}let _0x55b4c7=[];for(let _0x575197 of _0x1fb57[_0x2413a8(0x1a7)]()){let _0x113a29=[..._0x575197][_0x2413a8(0x18b)](_0x3c0e3d),_0x45131d=[];for(let _0x57dd7b of _0x113a29){for(_0x7e58b0(_0x57dd7b);_0x45131d[_0x2413a8(0x1f9)]>0x0&&_0x57dd7b[_0x2413a8(0x230)]>_0x45131d[_0x45131d[_0x2413a8(0x1f9)]-0x1][_0x2413a8(0x1df)];)_0x45131d[_0x2413a8(0x203)]();let _0x52d012=_0x45131d[_0x45131d[_0x2413a8(0x1f9)]-0x1];if(_0x52d012&&_0x57dd7b[_0x2413a8(0x1df)]>_0x52d012[_0x2413a8(0x1df)])throw new _0x3b8590(_0x2413a8(0x1b6),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x57dd7b['id']);let _0x4ddfae=_0x52d012?_0x52d012[_0x2413a8(0x1c3)]+0x1:0x1;if(_0x4ddfae>_0x47edcd)throw new _0x3b8590(_0x2413a8(0x1eb),'Dimension\x20outline\x20depth\x20cannot\x20exceed\x20'+_0x47edcd,_0x57dd7b['id']);let _0x221d38={..._0x57dd7b,'depth':_0x4ddfae,'parentId':_0x52d012==null?void 0x0:_0x52d012['id'],'anchor':_0x57dd7b[_0x2413a8(0x1df)],'children':[]};_0x52d012?_0x52d012[_0x2413a8(0x1b1)][_0x2413a8(0x1b7)](_0x221d38):_0x55b4c7[_0x2413a8(0x1b7)](_0x221d38),_0x45131d['push'](_0x221d38);}}return _0x55b4c7;}function _0x2bad67(_0x522153,_0x3315cb,_0x99f2e1={}){const _0x2b32e0=_0xa584d1;if(_0x3315cb[_0x2b32e0(0x230)]<0x0||_0x3315cb[_0x2b32e0(0x230)]>_0x3315cb[_0x2b32e0(0x1df)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x99f2e1[_0x2b32e0(0x24b)]!=null&&_0x3315cb['end']>=_0x99f2e1[_0x2b32e0(0x24b)])return{'valid':!0x1,'reason':_0x2b32e0(0x1f7)};let _0x2e1169=_0x522153[_0x2b32e0(0x23c)](_0x15fbfb=>_0x4dd9c5(_0x15fbfb,_0x3315cb));for(let _0x40de36 of _0x2e1169)if(_0x424c59(_0x40de36,_0x3315cb))return{'valid':!0x1,'reason':_0x2b32e0(0x1b6)};try{_0x3d1efa([..._0x522153,_0x3315cb],_0x99f2e1);}catch(_0x478da4){let _0x3dc6dc=_0x1dbb44(_0x478da4);return _0x3dc6dc===_0x2b32e0(0x1eb)?{'valid':!0x1,'reason':_0x2b32e0(0x1eb)}:_0x3dc6dc==='invalid-range'?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x2b32e0(0x1b6)};}return{'valid':!0x0};}function _0x1a0823(_0x451c11,_0x2b1a98,_0x1f12e1={}){const _0xb5227f=_0xa584d1;let _0x300544=_0x2bad67(_0x451c11,_0x2b1a98,_0x1f12e1);if(!_0x300544['valid'])throw Error(_0x300544[_0xb5227f(0x240)]??_0xb5227f(0x1fc));return[..._0x451c11,_0x2b1a98];}function _0x191a3b(_0x477296,_0x395a3f){const _0x37dddd=_0xa584d1;let _0x164355=_0x395a3f[_0x37dddd(0x230)],_0x12fc9c=_0x395a3f[_0x37dddd(0x1df)],_0x182bc6=[],_0x1ebaae=!0x0;for(;_0x1ebaae;){_0x1ebaae=!0x1;for(let _0x3433db of _0x477296)!_0x182bc6[_0x37dddd(0x1d8)](_0x3433db)&&_0x4dd9c5(_0x3433db,_0x395a3f)&&_0xc67ab7(_0x3433db['start'],_0x3433db[_0x37dddd(0x1df)],_0x164355,_0x12fc9c)&&(_0x182bc6[_0x37dddd(0x1b7)](_0x3433db),_0x164355=Math[_0x37dddd(0x238)](_0x164355,_0x3433db[_0x37dddd(0x230)]),_0x12fc9c=Math['max'](_0x12fc9c,_0x3433db[_0x37dddd(0x1df)]),_0x1ebaae=!0x0);}if(_0x182bc6[_0x37dddd(0x1f9)]===0x0)return null;let [_0x2e2a9e]=[..._0x182bc6][_0x37dddd(0x18b)](_0x3c0e3d);return{'mergedOutline':{..._0x2e2a9e,'start':_0x164355,'end':_0x12fc9c},'mergedOutlines':_0x182bc6};}function _0x599f93(_0x31f82f,_0x3e52d4){const _0x2df315=_0xa584d1;return _0x31f82f['filter'](_0x44337f=>!_0x4dd9c5(_0x44337f,_0x3e52d4)||!(_0x44337f[_0x2df315(0x230)]>=_0x3e52d4['start']&&_0x44337f[_0x2df315(0x1df)]<=_0x3e52d4['end']));}function _0x474cd5(_0x341a2e,_0x417dc2,_0x690075,_0x55f6ad){const _0x1fe79c=_0xa584d1;return _0x2286f5(_0x341a2e[_0x1fe79c(0x23c)](_0x2851ac=>_0x2851ac[_0x1fe79c(0x187)]===_0x417dc2&&_0x2851ac[_0x1fe79c(0x249)]===_0x690075&&_0x2851ac[_0x1fe79c(0x1da)]===_0x55f6ad&&_0x2851ac['collapsed'])[_0x1fe79c(0x256)](_0x3195dd=>({'start':_0x3195dd['start'],'end':_0x3195dd[_0x1fe79c(0x1df)]})));}function _0x2286f5(_0x44c242){const _0x4782c3=_0xa584d1;if(_0x44c242['length']===0x0)return[];let _0x468a96=[..._0x44c242][_0x4782c3(0x18b)]((_0xfe7bc0,_0x15bd42)=>_0xfe7bc0['start']-_0x15bd42[_0x4782c3(0x230)]||_0xfe7bc0['end']-_0x15bd42[_0x4782c3(0x1df)]),_0x2a4388=[];for(let _0x472fd8 of _0x468a96){let _0x4684c2=_0x2a4388[_0x2a4388[_0x4782c3(0x1f9)]-0x1];!_0x4684c2||_0x472fd8['start']>_0x4684c2['end']+0x1?_0x2a4388['push']({..._0x472fd8}):_0x4684c2[_0x4782c3(0x1df)]=Math[_0x4782c3(0x1d7)](_0x4684c2[_0x4782c3(0x1df)],_0x472fd8[_0x4782c3(0x1df)]);}return _0x2a4388;}function _0x13733f(_0x51f9fd,_0x1119ce){const _0x1633d4=_0xa584d1;return _0x1119ce[_0x1633d4(0x1ab)]<=0x0?_0x51f9fd:_0x368817(_0x51f9fd[_0x1633d4(0x256)](_0x2ee78b=>_0x4dd9c5(_0x2ee78b,_0x1119ce)?_0x1119ce[_0x1633d4(0x17d)]<=_0x2ee78b[_0x1633d4(0x230)]?{..._0x2ee78b,'start':_0x2ee78b[_0x1633d4(0x230)]+_0x1119ce[_0x1633d4(0x1ab)],'end':_0x2ee78b[_0x1633d4(0x1df)]+_0x1119ce[_0x1633d4(0x1ab)]}:_0x2ee78b['start']<_0x1119ce[_0x1633d4(0x17d)]&&_0x1119ce[_0x1633d4(0x17d)]<=_0x2ee78b[_0x1633d4(0x1df)]?{..._0x2ee78b,'end':_0x2ee78b[_0x1633d4(0x1df)]+_0x1119ce[_0x1633d4(0x1ab)]}:_0x2ee78b:_0x2ee78b));}function _0x3b2344(_0x1e47d5,_0x1a0dc6){const _0x1fd889=_0xa584d1;if(_0x1a0dc6['start']>_0x1a0dc6[_0x1fd889(0x1df)])return _0x1e47d5;let _0x8b6e0d=_0x1a0dc6[_0x1fd889(0x1df)]-_0x1a0dc6[_0x1fd889(0x230)]+0x1,_0x33e152=[];for(let _0xab3a92 of _0x1e47d5){if(!_0x4dd9c5(_0xab3a92,_0x1a0dc6)){_0x33e152[_0x1fd889(0x1b7)](_0xab3a92);continue;}if(_0xab3a92['end']<_0x1a0dc6['start']){_0x33e152[_0x1fd889(0x1b7)](_0xab3a92);continue;}if(_0xab3a92[_0x1fd889(0x230)]>_0x1a0dc6[_0x1fd889(0x1df)]){_0x33e152[_0x1fd889(0x1b7)]({..._0xab3a92,'start':_0xab3a92[_0x1fd889(0x230)]-_0x8b6e0d,'end':_0xab3a92[_0x1fd889(0x1df)]-_0x8b6e0d});continue;}let _0xeac02a=Math[_0x1fd889(0x1d7)](_0xab3a92[_0x1fd889(0x230)],_0x1a0dc6[_0x1fd889(0x230)]),_0x1dc274=Math[_0x1fd889(0x238)](_0xab3a92[_0x1fd889(0x1df)],_0x1a0dc6['end']),_0x2948cf=Math[_0x1fd889(0x1d7)](0x0,_0x1dc274-_0xeac02a+0x1),_0x8e68a2=_0xab3a92['end']-_0xab3a92[_0x1fd889(0x230)]+0x1-_0x2948cf;if(_0x8e68a2<=0x0)continue;let _0x431d6c=_0xab3a92[_0x1fd889(0x230)]<_0x1a0dc6['start']?_0xab3a92['start']:_0x1a0dc6['start'];_0x33e152[_0x1fd889(0x1b7)]({..._0xab3a92,'start':_0x431d6c,'end':_0x431d6c+_0x8e68a2-0x1});}return _0x368817(_0x33e152);}function _0x7064f5(_0x4252f5,_0x1e88c){const _0x5ad5d7=_0xa584d1;if(_0x1e88c[_0x5ad5d7(0x23f)]>_0x1e88c[_0x5ad5d7(0x18f)])return _0x4252f5;let _0x33e15d=[];for(let _0x465910 of _0x4252f5){if(!_0x4dd9c5(_0x465910,_0x1e88c)){_0x33e15d[_0x5ad5d7(0x1b7)](_0x465910);continue;}let _0x358834=_0x3a1754(_0x465910,_0x1e88c);if(_0x358834[_0x5ad5d7(0x20d)]===_0x5ad5d7(0x228))throw new _0x3b8590('move-splits-outline',_0x5ad5d7(0x21a)+_0x465910['id'],_0x465910['id']);_0x33e15d['push'](_0x358834[_0x5ad5d7(0x225)]);}return _0x368817(_0x33e15d);}function _0x3a1754(_0x51943a,_0x9b93de){const _0x764bbb=_0xa584d1;let _0x28a88c=_0x3f40ae(_0x9b93de['sourceStart'],_0x9b93de['sourceEnd']+0x1,_0x9b93de['destinationIndex']),_0x205421=[],_0x317785={'start':_0x51943a[_0x764bbb(0x230)],'end':_0x51943a[_0x764bbb(0x1df)]+0x1};for(let _0x48ca10 of _0x28a88c){let _0x183aad=_0x4ea8ed(_0x317785,_0x48ca10[_0x764bbb(0x245)]);_0x183aad&&_0x205421[_0x764bbb(0x1b7)]({'start':_0x183aad[_0x764bbb(0x230)]+_0x48ca10[_0x764bbb(0x1bb)],'end':_0x183aad[_0x764bbb(0x1df)]+_0x48ca10[_0x764bbb(0x1bb)]});}let _0x37c72a=_0x46d0e4(_0x205421);return _0x37c72a[_0x764bbb(0x1f9)]===0x1?{'type':'ok','outline':{..._0x51943a,'start':_0x37c72a[0x0]['start'],'end':_0x37c72a[0x0][_0x764bbb(0x1df)]-0x1}}:{'type':_0x764bbb(0x228),'outline':_0x51943a,'ranges':_0x37c72a};}function _0x3f40ae(_0x355728,_0x5335ed,_0xd964d4){const _0x16bfd6=_0xa584d1;let _0x4e2077=_0x5335ed-_0x355728;if(_0x4e2077<=0x0)throw Error(_0x16bfd6(0x19b));return _0xd964d4>=_0x355728&&_0xd964d4<=_0x5335ed?[{'range':{'start':0x0,'end':_0x25701d},'offset':0x0}]:_0xd964d4<_0x355728?[{'range':{'start':0x0,'end':_0xd964d4},'offset':0x0},{'range':{'start':_0xd964d4,'end':_0x355728},'offset':_0x4e2077},{'range':{'start':_0x355728,'end':_0x5335ed},'offset':_0xd964d4-_0x355728},{'range':{'start':_0x5335ed,'end':_0x25701d},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x355728},'offset':0x0},{'range':{'start':_0x355728,'end':_0x5335ed},'offset':_0xd964d4-_0x5335ed},{'range':{'start':_0x5335ed,'end':_0xd964d4},'offset':-_0x4e2077},{'range':{'start':_0xd964d4,'end':_0x25701d},'offset':0x0}];}function _0x4ea8ed(_0x43785f,_0x4aa746){const _0x351b57=_0xa584d1;let _0x1640da=Math['max'](_0x43785f[_0x351b57(0x230)],_0x4aa746[_0x351b57(0x230)]),_0x53158f=Math['min'](_0x43785f['end'],_0x4aa746[_0x351b57(0x1df)]);return _0x1640da>=_0x53158f?null:{'start':_0x1640da,'end':_0x53158f};}function _0x46d0e4(_0x355a2d){const _0x3e519f=_0xa584d1;if(_0x355a2d[_0x3e519f(0x1f9)]===0x0)return[];let _0x33c2c2=[..._0x355a2d][_0x3e519f(0x18b)]((_0x46b420,_0x4244c5)=>_0x46b420[_0x3e519f(0x230)]-_0x4244c5[_0x3e519f(0x230)]||_0x46b420[_0x3e519f(0x1df)]-_0x4244c5[_0x3e519f(0x1df)]),_0x44ad9f=[];for(let _0x15be94 of _0x33c2c2){let _0x5a0ced=_0x44ad9f[_0x44ad9f[_0x3e519f(0x1f9)]-0x1];!_0x5a0ced||_0x15be94[_0x3e519f(0x230)]>_0x5a0ced['end']?_0x44ad9f[_0x3e519f(0x1b7)]({..._0x15be94}):_0x5a0ced['end']=Math[_0x3e519f(0x1d7)](_0x5a0ced['end'],_0x15be94[_0x3e519f(0x1df)]);}return _0x44ad9f;}function _0xc67ab7(_0x43899f,_0x41b57f,_0xeab655,_0x1934a0){return _0x41b57f+0x1===_0xeab655||_0x1934a0+0x1===_0x43899f;}function _0x368817(_0x23dcf8){let _0x477563=_0x266c70(_0x23dcf8);return _0x3d1efa(_0x477563),_0x477563;}function _0x266c70(_0xc82fd9){const _0x465e1a=_0xa584d1;let _0x282f00=new Map();for(let _0x30d06e of _0xc82fd9){let _0x1e171e=[_0x30d06e[_0x465e1a(0x187)],_0x30d06e[_0x465e1a(0x249)],_0x30d06e[_0x465e1a(0x1da)],_0x30d06e[_0x465e1a(0x230)],_0x30d06e[_0x465e1a(0x1df)]]['join'](':'),_0x15a993=_0x282f00[_0x465e1a(0x196)](_0x1e171e);if(!_0x15a993){_0x282f00[_0x465e1a(0x1de)](_0x1e171e,_0x30d06e);continue;}_0x282f00[_0x465e1a(0x1de)](_0x1e171e,{..._0x15a993,'collapsed':_0x15a993[_0x465e1a(0x1c0)]||_0x30d06e['collapsed']});}return Array[_0x465e1a(0x1e2)](_0x282f00[_0x465e1a(0x1a7)]());}function _0x3c0e3d(_0x71b92b,_0x862655){const _0x7f8ed7=_0xa584d1;return _0x71b92b[_0x7f8ed7(0x187)]===_0x862655[_0x7f8ed7(0x187)]?_0x71b92b[_0x7f8ed7(0x249)]===_0x862655['subUnitId']?_0x71b92b['axis']===_0x862655[_0x7f8ed7(0x1da)]?_0x71b92b[_0x7f8ed7(0x230)]===_0x862655[_0x7f8ed7(0x230)]?_0x862655[_0x7f8ed7(0x1df)]-_0x71b92b['end']:_0x71b92b['start']-_0x862655[_0x7f8ed7(0x230)]:_0x71b92b[_0x7f8ed7(0x1da)][_0x7f8ed7(0x1b8)](_0x862655[_0x7f8ed7(0x1da)]):_0x71b92b[_0x7f8ed7(0x249)][_0x7f8ed7(0x1b8)](_0x862655[_0x7f8ed7(0x249)]):_0x71b92b[_0x7f8ed7(0x187)][_0x7f8ed7(0x1b8)](_0x862655['unitId']);}function _0x7e58b0(_0x56747a){const _0x4408a5=_0xa584d1;if(_0x56747a[_0x4408a5(0x230)]>_0x56747a[_0x4408a5(0x1df)])throw new _0x3b8590('invalid-range',_0x4408a5(0x1a0),_0x56747a['id']);}function _0x424c59(_0x388e23,_0xfe1803){const _0x2a7396=_0xa584d1;let _0x229032=_0x388e23['start']<=_0xfe1803['end']&&_0xfe1803[_0x2a7396(0x230)]<=_0x388e23[_0x2a7396(0x1df)],_0x1199f0=_0x388e23[_0x2a7396(0x230)]<=_0xfe1803[_0x2a7396(0x230)]&&_0xfe1803[_0x2a7396(0x1df)]<=_0x388e23[_0x2a7396(0x1df)],_0x54d6bb=_0xfe1803[_0x2a7396(0x230)]<=_0x388e23['start']&&_0x388e23[_0x2a7396(0x1df)]<=_0xfe1803[_0x2a7396(0x1df)];return _0x229032&&!_0x1199f0&&!_0x54d6bb;}function _0x190279(_0x94e6ec){'@babel/helpers - typeof';const _0x8862c3=_0xa584d1;return _0x190279=typeof Symbol==_0x8862c3(0x1fd)&&typeof Symbol[_0x8862c3(0x241)]==_0x8862c3(0x1e1)?function(_0x428e4f){return typeof _0x428e4f;}:function(_0x425a5f){const _0x55461f=_0x8862c3;return _0x425a5f&&typeof Symbol=='function'&&_0x425a5f['constructor']===Symbol&&_0x425a5f!==Symbol[_0x55461f(0x212)]?'symbol':typeof _0x425a5f;},_0x190279(_0x94e6ec);}function _0x27df8e(_0x20376e,_0x4b2242){const _0x4fc47a=_0xa584d1;if(_0x190279(_0x20376e)!=_0x4fc47a(0x1bf)||!_0x20376e)return _0x20376e;var _0x8bc694=_0x20376e[Symbol[_0x4fc47a(0x1ca)]];if(_0x8bc694!==void 0x0){var _0x12a100=_0x8bc694[_0x4fc47a(0x1b0)](_0x20376e,_0x4b2242||'default');if(_0x190279(_0x12a100)!=_0x4fc47a(0x1bf))return _0x12a100;throw TypeError(_0x4fc47a(0x217));}return(_0x4b2242===_0x4fc47a(0x1e5)?String:Number)(_0x20376e);}function _0x380657(_0x1cc005){const _0x14d4d6=_0xa584d1;var _0x525e60=_0x27df8e(_0x1cc005,_0x14d4d6(0x1e5));return _0x190279(_0x525e60)==_0x14d4d6(0x1e1)?_0x525e60:_0x525e60+'';}function _0xf0a614(_0x62525a,_0x53d5d5,_0x28825e){return(_0x53d5d5=_0x380657(_0x53d5d5))in _0x62525a?Object['defineProperty'](_0x62525a,_0x53d5d5,{'value':_0x28825e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x62525a[_0x53d5d5]=_0x28825e,_0x62525a;}var _0x4b881f=class extends _0x393454['Disposable']{constructor(..._0x55af1e){const _0xfc4d04=_0xa584d1;super(..._0x55af1e),_0xf0a614(this,'_outlines',new Map()),_0xf0a614(this,_0xfc4d04(0x1f3),new _0xa50384[(_0xfc4d04(0x232))]()),_0xf0a614(this,'change$',this[_0xfc4d04(0x1f3)][_0xfc4d04(0x181)]());}[_0xa584d1(0x1e6)](_0x160f8c,_0x1eeb5d){const _0x2bf49d=_0xa584d1;var _0x28ab90;return[...((_0x28ab90=this['_outlines'][_0x2bf49d(0x196)](_0x160f8c))==null?void 0x0:_0x28ab90[_0x2bf49d(0x196)](_0x1eeb5d))??[]];}[_0xa584d1(0x1ee)](_0x387aaa){const _0x541644=_0xa584d1;let _0x5f50d6=this[_0x541644(0x178)][_0x541644(0x196)](_0x387aaa),_0x333a79=new Map();return _0x5f50d6==null||_0x5f50d6[_0x541644(0x1bc)]((_0x42d381,_0x23d444)=>{const _0x3fe9b7=_0x541644;_0x333a79[_0x3fe9b7(0x1de)](_0x23d444,[..._0x42d381]);}),_0x333a79;}[_0xa584d1(0x1c1)](_0x510643,_0x1c5e55,_0x1b3caf){const _0xa5072e=_0xa584d1;this[_0xa5072e(0x1a2)](_0x510643)[_0xa5072e(0x1de)](_0x1c5e55,[..._0x1b3caf]),this[_0xa5072e(0x1f3)][_0xa5072e(0x234)]({'unitId':_0x510643,'subUnitId':_0x1c5e55});}[_0xa584d1(0x183)](_0x49cbf1){const _0x102108=_0xa584d1;this[_0x102108(0x178)]['delete'](_0x49cbf1),this[_0x102108(0x1f3)][_0x102108(0x234)]({'unitId':_0x49cbf1});}[_0xa584d1(0x19c)](_0x7e5987){const _0x3d66e8=_0xa584d1;let _0x5102a6=this[_0x3d66e8(0x178)]['get'](_0x7e5987),_0x3d3ce7={};return _0x5102a6==null||_0x5102a6[_0x3d66e8(0x1bc)]((_0x3ace6d,_0x2320f1)=>{_0x3d3ce7[_0x2320f1]={'outlineList':[..._0x3ace6d]};}),_0x3d3ce7;}[_0xa584d1(0x18d)](_0x265594,_0x5887e0){const _0x31c43d=_0xa584d1;let _0x4bc9af=new Map();Object[_0x31c43d(0x210)](_0x5887e0)[_0x31c43d(0x1bc)](([_0x48805f,_0x1def14])=>{const _0x5e1054=_0x31c43d;_0x4bc9af[_0x5e1054(0x1de)](_0x48805f,[..._0x1def14['outlineList']??[]]);}),this[_0x31c43d(0x178)][_0x31c43d(0x1de)](_0x265594,_0x4bc9af),this['_change$']['next']({'unitId':_0x265594});}[_0xa584d1(0x18a)](){const _0xcc0533=_0xa584d1;super[_0xcc0533(0x18a)](),this[_0xcc0533(0x178)][_0xcc0533(0x233)](),this[_0xcc0533(0x1f3)][_0xcc0533(0x17b)]();}[_0xa584d1(0x1a2)](_0x137909){const _0x20b2f4=_0xa584d1;let _0x5a203b=this[_0x20b2f4(0x178)]['get'](_0x137909);return _0x5a203b||(_0x5a203b=new Map(),this[_0x20b2f4(0x178)]['set'](_0x137909,_0x5a203b)),_0x5a203b;}},_0x1d60ea=class extends _0x393454[_0xa584d1(0x198)]{constructor(..._0x357d63){const _0x606e79=_0xa584d1;super(..._0x357d63),_0xf0a614(this,_0x606e79(0x1ae),new _0xa50384[(_0x606e79(0x232))]()),_0xf0a614(this,_0x606e79(0x1a5),this[_0x606e79(0x1ae)]['asObservable']());}[_0xa584d1(0x236)](_0x22957e){const _0x28fcfa=_0xa584d1;this[_0x28fcfa(0x1ae)][_0x28fcfa(0x234)](_0x22957e);}[_0xa584d1(0x18a)](){const _0xab6512=_0xa584d1;super[_0xab6512(0x18a)](),this[_0xab6512(0x1ae)][_0xab6512(0x17b)]();}};let _0x45a8b8={'id':_0xa584d1(0x1ea),'type':_0x393454[_0xa584d1(0x22d)][_0xa584d1(0x1c5)],'handler':(_0xca8bf0,_0x506694)=>{const _0x14ce3d=_0xa584d1;let _0x18fc93=_0xca8bf0['get'](_0x4b881f),_0xc2b637=_0x18fc93[_0x14ce3d(0x1e6)](_0x506694[_0x14ce3d(0x187)],_0x506694[_0x14ce3d(0x249)]);return _0x18fc93[_0x14ce3d(0x1c1)](_0x506694[_0x14ce3d(0x187)],_0x506694['subUnitId'],_0x1a0823(_0xc2b637,_0x506694[_0x14ce3d(0x225)])),!0x0;}},_0x4177d0={'id':_0xa584d1(0x23a),'type':_0x393454['CommandType'][_0xa584d1(0x1c5)],'handler':(_0x29063c,_0x2d7540)=>{const _0x3ba912=_0xa584d1;let _0xf22e1d=_0x29063c[_0x3ba912(0x196)](_0x4b881f),_0x58f650=_0xf22e1d[_0x3ba912(0x1e6)](_0x2d7540['unitId'],_0x2d7540[_0x3ba912(0x249)]);return _0xf22e1d[_0x3ba912(0x1c1)](_0x2d7540[_0x3ba912(0x187)],_0x2d7540['subUnitId'],_0x58f650[_0x3ba912(0x23c)](_0x22db3f=>_0x22db3f['id']!==_0x2d7540[_0x3ba912(0x1c9)])),!0x0;}};function _0x49c341(_0x103a45,_0xdca6b5,_0x4011b6){const _0x266585=_0xa584d1;let _0x4c7b52=_0x4c3456(_0x103a45);return!_0x4c7b52||_0x4c7b52[_0x266585(0x1d0)]({'workbookTypes':[_0x377db9['WorkbookViewPermission']],'worksheetTypes':[_0x377db9[_0x266585(0x24e)]]},_0xdca6b5,_0x4011b6);}function _0x277568(_0x17e7a8,_0x6a0626,_0x45c127){const _0x2794f8=_0xa584d1;let _0x37c6a1=_0x2474bd(_0x17e7a8);return((_0x37c6a1==null?void 0x0:_0x37c6a1['permissionPointUpdate$'])??(0x0,_0xa50384['of'])(null))['pipe']((0x0,_0x528fbc[_0x2794f8(0x1ba)])(0x64),(0x0,_0x528fbc[_0x2794f8(0x190)])(null),(0x0,_0x528fbc[_0x2794f8(0x256)])(()=>_0x49c341(_0x17e7a8,_0x6a0626,_0x45c127)));}function _0x4c3456(_0x19a8eb){const _0x2ab4dd=_0xa584d1;if(typeof _0x19a8eb[_0x2ab4dd(0x254)]==_0x2ab4dd(0x1fd)&&!_0x19a8eb[_0x2ab4dd(0x254)](_0x377db9[_0x2ab4dd(0x19e)]))return null;try{return _0x19a8eb[_0x2ab4dd(0x196)](_0x377db9[_0x2ab4dd(0x19e)]);}catch{return null;}}function _0x2474bd(_0x4b8fac){const _0x1b869b=_0xa584d1;if(typeof _0x4b8fac[_0x1b869b(0x254)]==_0x1b869b(0x1fd)&&!_0x4b8fac[_0x1b869b(0x254)](_0x393454[_0x1b869b(0x1a4)]))return null;try{return _0x4b8fac['get'](_0x393454[_0x1b869b(0x1a4)]);}catch{return null;}}let _0x388860={'id':_0xa584d1(0x222),'type':_0x393454[_0xa584d1(0x22d)][_0xa584d1(0x193)],'handler':(_0x271971,_0x2747a4)=>{const _0x422807=_0xa584d1;if(!_0x2747a4)return!0x1;let _0x47aa99=(0x0,_0x377db9[_0x422807(0x195)])(_0x271971[_0x422807(0x196)](_0x393454[_0x422807(0x1f6)]),_0x2747a4);if(!_0x47aa99)return!0x1;let {unitId:_0x55c95a,subUnitId:_0xda9e6b,worksheet:_0x32ff97}=_0x47aa99;if(!_0x49c341(_0x271971,_0x55c95a,_0xda9e6b))return!0x1;let _0x2aa9b9=_0x271971[_0x422807(0x196)](_0x4b881f),_0x4330d9={'id':'dimension-outline-'+(0x0,_0x393454['generateRandomId'])(0x6),'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'axis':_0x2747a4[_0x422807(0x1da)],'start':_0x2747a4[_0x422807(0x230)],'end':_0x2747a4['end'],'collapsed':!0x1},_0x36eae4=_0x2747a4[_0x422807(0x1da)]===_0x422807(0x1e7)?_0x32ff97[_0x422807(0x1cb)]():_0x32ff97[_0x422807(0x1dd)](),_0x3ea8fe=_0x2aa9b9[_0x422807(0x1e6)](_0x55c95a,_0xda9e6b),_0x4b4e0c=_0x191a3b(_0x3ea8fe,_0x4330d9),_0x19bb80=(_0x4b4e0c==null?void 0x0:_0x4b4e0c['mergedOutlines'])??[],_0x29e562=(_0x4b4e0c==null?void 0x0:_0x4b4e0c[_0x422807(0x1e8)])??_0x4330d9,_0x592b11=_0x2bad67(_0x4b4e0c?_0x3ea8fe[_0x422807(0x23c)](_0x58b009=>!_0x19bb80[_0x422807(0x1be)](_0x7be56d=>_0x7be56d['id']===_0x58b009['id'])):_0x3ea8fe,_0x29e562,{'maxIndex':_0x36eae4});if(!_0x592b11['valid'])return _0x271971[_0x422807(0x196)](_0x1d60ea)[_0x422807(0x236)]({'reason':_0x592b11['reason']??_0x422807(0x21d),'commandId':_0x388860['id'],'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'axis':_0x2747a4[_0x422807(0x1da)],'outlineId':_0x29e562['id']}),!0x1;let _0x5daba1=[..._0x19bb80[_0x422807(0x256)](_0x2454b1=>({'id':_0x4177d0['id'],'params':{'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'outlineId':_0x2454b1['id']}})),{'id':_0x45a8b8['id'],'params':{'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'outline':_0x29e562}}],_0x4f8ca8=[{'id':_0x4177d0['id'],'params':{'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'outlineId':_0x29e562['id']}},..._0x19bb80[_0x422807(0x256)](_0x1196bd=>({'id':_0x45a8b8['id'],'params':{'unitId':_0x55c95a,'subUnitId':_0xda9e6b,'outline':_0x1196bd}}))];return(0x0,_0x393454[_0x422807(0x224)])(_0x5daba1,_0x271971[_0x422807(0x196)](_0x393454[_0x422807(0x1ff)]))[_0x422807(0x20e)]?(_0x271971[_0x422807(0x196)](_0x393454[_0x422807(0x1e9)])['pushUndoRedo']({'unitID':_0x55c95a,'undoMutations':_0x4f8ca8,'redoMutations':_0x5daba1}),!0x0):!0x1;}},_0x10395a={'id':'sheet.mutation.clear-dimension-outlines','type':_0x393454[_0xa584d1(0x22d)][_0xa584d1(0x1c5)],'handler':(_0x302760,_0x1180d1)=>{const _0x1f5ec6=_0xa584d1;let _0x157d6b=_0x302760['get'](_0x4b881f),_0x90a200=_0x157d6b[_0x1f5ec6(0x1e6)](_0x1180d1[_0x1f5ec6(0x187)],_0x1180d1[_0x1f5ec6(0x249)]);return _0x157d6b[_0x1f5ec6(0x1c1)](_0x1180d1[_0x1f5ec6(0x187)],_0x1180d1[_0x1f5ec6(0x249)],_0x599f93(_0x90a200,_0x1180d1)),!0x0;}},_0x23ba42={'id':_0xa584d1(0x257),'type':_0x393454[_0xa584d1(0x22d)]['COMMAND'],'handler':(_0x6157ea,_0x346e5c)=>{const _0x40a14f=_0xa584d1;if(!_0x346e5c)return!0x1;let _0xbf3c5=(0x0,_0x377db9[_0x40a14f(0x195)])(_0x6157ea[_0x40a14f(0x196)](_0x393454[_0x40a14f(0x1f6)]),_0x346e5c);if(!_0xbf3c5)return!0x1;let {unitId:_0x4fb7cc,subUnitId:_0x717773}=_0xbf3c5;if(!_0x49c341(_0x6157ea,_0x4fb7cc,_0x717773))return!0x1;let _0xeaec0e={'unitId':_0x4fb7cc,'subUnitId':_0x717773,'axis':_0x346e5c[_0x40a14f(0x1da)],'start':_0x346e5c['start'],'end':_0x346e5c[_0x40a14f(0x1df)]},_0x5b2a34=_0x6157ea[_0x40a14f(0x196)](_0x4b881f)[_0x40a14f(0x1e6)](_0x4fb7cc,_0x717773)[_0x40a14f(0x23c)](_0x48e1b5=>_0x4dd9c5(_0x48e1b5,_0xeaec0e)&&_0x48e1b5[_0x40a14f(0x230)]>=_0x346e5c[_0x40a14f(0x230)]&&_0x48e1b5[_0x40a14f(0x1df)]<=_0x346e5c[_0x40a14f(0x1df)]);if(_0x5b2a34[_0x40a14f(0x1f9)]===0x0)return _0x6157ea[_0x40a14f(0x196)](_0x1d60ea)[_0x40a14f(0x236)]({'reason':_0x40a14f(0x22a),'commandId':_0x23ba42['id'],'unitId':_0x4fb7cc,'subUnitId':_0x717773,'axis':_0x346e5c[_0x40a14f(0x1da)]}),!0x1;let _0x19aab4=[{'id':_0x10395a['id'],'params':{..._0xeaec0e,'removedOutlineIds':_0x5b2a34[_0x40a14f(0x256)](_0x5a86e0=>_0x5a86e0['id'])}}],_0x4b9be2=_0x5b2a34[_0x40a14f(0x256)](_0x285480=>({'id':_0x45a8b8['id'],'params':{'unitId':_0x4fb7cc,'subUnitId':_0x717773,'outline':_0x285480}}));return(0x0,_0x393454[_0x40a14f(0x224)])(_0x19aab4,_0x6157ea[_0x40a14f(0x196)](_0x393454[_0x40a14f(0x1ff)]))[_0x40a14f(0x20e)]?(_0x6157ea['get'](_0x393454[_0x40a14f(0x1e9)])[_0x40a14f(0x200)]({'unitID':_0x4fb7cc,'undoMutations':_0x4b9be2,'redoMutations':_0x19aab4}),!0x0):!0x1;}},_0x1963d8={'id':_0xa584d1(0x227),'type':_0x393454[_0xa584d1(0x22d)]['COMMAND'],'handler':(_0x2c09ca,_0x6f573f)=>{const _0xf1b7bb=_0xa584d1;if(!_0x6f573f)return!0x1;let _0x22adcf=(0x0,_0x377db9['getSheetCommandTarget'])(_0x2c09ca[_0xf1b7bb(0x196)](_0x393454[_0xf1b7bb(0x1f6)]),_0x6f573f);if(!_0x22adcf)return!0x1;let {unitId:_0x59bffd,subUnitId:_0x1da869}=_0x22adcf;if(!_0x49c341(_0x2c09ca,_0x59bffd,_0x1da869))return!0x1;let _0x20bb1f=_0x2c09ca['get'](_0x4b881f)[_0xf1b7bb(0x1e6)](_0x59bffd,_0x1da869)[_0xf1b7bb(0x18c)](_0xf8fc2=>_0xf8fc2['id']===_0x6f573f['outlineId']);if(!_0x20bb1f)return!0x1;let _0x1da536=[{'id':_0x4177d0['id'],'params':{'unitId':_0x59bffd,'subUnitId':_0x1da869,'outlineId':_0x20bb1f['id'],'outline':_0x20bb1f}}],_0x2ab51d=[{'id':_0x45a8b8['id'],'params':{'unitId':_0x59bffd,'subUnitId':_0x1da869,'outline':_0x20bb1f}}];return(0x0,_0x393454[_0xf1b7bb(0x224)])(_0x1da536,_0x2c09ca[_0xf1b7bb(0x196)](_0x393454[_0xf1b7bb(0x1ff)]))['result']?(_0x2c09ca[_0xf1b7bb(0x196)](_0x393454[_0xf1b7bb(0x1e9)])[_0xf1b7bb(0x200)]({'unitID':_0x59bffd,'undoMutations':_0x2ab51d,'redoMutations':_0x1da536}),!0x0):!0x1;}},_0xacdb82={'id':_0xa584d1(0x216),'type':_0x393454[_0xa584d1(0x22d)][_0xa584d1(0x1c5)],'handler':(_0x4ffd2b,_0x17f759)=>{const _0x29895e=_0xa584d1;let _0x144698=_0x4ffd2b[_0x29895e(0x196)](_0x4b881f),_0x3b7098=_0x144698[_0x29895e(0x1e6)](_0x17f759[_0x29895e(0x187)],_0x17f759[_0x29895e(0x249)]),_0x573c33=_0x3b7098[_0x29895e(0x18c)](_0x430bfb=>_0x430bfb['id']===_0x17f759[_0x29895e(0x1c9)]);return _0x573c33&&_0x144698[_0x29895e(0x1c1)](_0x17f759[_0x29895e(0x187)],_0x17f759[_0x29895e(0x249)],_0x3b7098[_0x29895e(0x256)](_0x3ad089=>_0x3ad089['unitId']!==_0x573c33[_0x29895e(0x187)]||_0x3ad089[_0x29895e(0x249)]!==_0x573c33['subUnitId']||_0x3ad089[_0x29895e(0x1da)]!==_0x573c33[_0x29895e(0x1da)]||_0x3ad089[_0x29895e(0x230)]!==_0x573c33[_0x29895e(0x230)]||_0x3ad089[_0x29895e(0x1df)]!==_0x573c33[_0x29895e(0x1df)]?_0x3ad089:{..._0x3ad089,'collapsed':_0x17f759[_0x29895e(0x1c0)]})),!0x0;}};function _0x547ac6(_0xe62fe1,_0x8e5e98,_0x2077b7,_0x243fa9){const _0xa47075=_0xa584d1;return _0xe62fe1==='row'?{'startRow':_0x8e5e98,'endRow':_0x2077b7,'startColumn':0x0,'endColumn':_0x243fa9[_0xa47075(0x1b5)]()-0x1}:{'startRow':0x0,'endRow':_0x243fa9['getRowCount']()-0x1,'startColumn':_0x8e5e98,'endColumn':_0x2077b7};}function _0xa36fde(_0xcfb7c0){const _0x1de79e=_0xa584d1;return _0xcfb7c0==='row'?_0x377db9[_0x1de79e(0x1d6)]['id']:_0x377db9['SetColHiddenMutation']['id'];}function _0x184416(_0x2324f8){const _0x3f8453=_0xa584d1;return _0x2324f8===_0x3f8453(0x1e7)?_0x377db9[_0x3f8453(0x179)]['id']:_0x377db9[_0x3f8453(0x22b)]['id'];}function _0xa6086(_0xd90380,_0x42e981,_0x52a5da,_0x17911b){const _0x3f39b8=_0xa584d1;let _0x3d29aa=_0x42e981?[_0x547ac6(_0xd90380['axis'],_0xd90380[_0x3f39b8(0x230)],_0xd90380[_0x3f39b8(0x1df)],_0x52a5da)]:_0x1bc783(_0xd90380,_0x17911b,_0x52a5da),_0x314b71=_0x42e981?_0xa36fde(_0xd90380[_0x3f39b8(0x1da)]):_0x184416(_0xd90380[_0x3f39b8(0x1da)]);return[{'id':_0xacdb82['id'],'params':{'unitId':_0xd90380['unitId'],'subUnitId':_0xd90380[_0x3f39b8(0x249)],'outlineId':_0xd90380['id'],'outline':_0xd90380,'collapsed':_0x42e981}},..._0x3d29aa[_0x3f39b8(0x256)](_0x5f354c=>({'id':_0x314b71,'params':{'unitId':_0xd90380[_0x3f39b8(0x187)],'subUnitId':_0xd90380[_0x3f39b8(0x249)],'ranges':[_0x5f354c],'dimensionOutlineId':_0xd90380['id']}}))];}function _0x1bc783(_0x4dfebf,_0x151158,_0x1bcb84){const _0x9e5d9a=_0xa584d1;let _0x5c4b09=_0x474cd5(_0x151158[_0x9e5d9a(0x256)](_0x3e5280=>_0x1fa7f6(_0x3e5280,_0x4dfebf)?{..._0x3e5280,'collapsed':!0x1}:_0x3e5280),_0x4dfebf[_0x9e5d9a(0x187)],_0x4dfebf[_0x9e5d9a(0x249)],_0x4dfebf[_0x9e5d9a(0x1da)]);return _0x14100f({'start':_0x4dfebf[_0x9e5d9a(0x230)],'end':_0x4dfebf[_0x9e5d9a(0x1df)]},_0x5c4b09)[_0x9e5d9a(0x256)](_0x8546de=>_0x547ac6(_0x4dfebf[_0x9e5d9a(0x1da)],_0x8546de['start'],_0x8546de[_0x9e5d9a(0x1df)],_0x1bcb84));}function _0x1fa7f6(_0x3b5422,_0x3df050){const _0x39900a=_0xa584d1;return _0x3b5422[_0x39900a(0x187)]===_0x3df050[_0x39900a(0x187)]&&_0x3b5422[_0x39900a(0x249)]===_0x3df050['subUnitId']&&_0x3b5422['axis']===_0x3df050['axis']&&_0x3b5422[_0x39900a(0x230)]===_0x3df050[_0x39900a(0x230)]&&_0x3b5422['end']===_0x3df050['end'];}function _0x14100f(_0x241e57,_0xcdb3ca){const _0x4b953f=_0xa584d1;let _0x535745=_0x241e57[_0x4b953f(0x230)],_0xef548c=[];for(let _0x21115d of _0xcdb3ca)if(!(_0x21115d[_0x4b953f(0x1df)]<_0x535745||_0x21115d['start']>_0x241e57[_0x4b953f(0x1df)])&&(_0x21115d['start']>_0x535745&&_0xef548c['push']({'start':_0x535745,'end':Math[_0x4b953f(0x238)](_0x21115d[_0x4b953f(0x230)]-0x1,_0x241e57[_0x4b953f(0x1df)])}),_0x535745=Math[_0x4b953f(0x1d7)](_0x535745,_0x21115d['end']+0x1),_0x535745>_0x241e57['end']))break;return _0x535745<=_0x241e57[_0x4b953f(0x1df)]&&_0xef548c[_0x4b953f(0x1b7)]({'start':_0x535745,'end':_0x241e57['end']}),_0xef548c;}let _0x451ce6={'id':_0xa584d1(0x17c),'type':_0x393454[_0xa584d1(0x22d)][_0xa584d1(0x193)],'handler':(_0x522144,_0x3dc1f1)=>{const _0x464efe=_0xa584d1;if(!_0x3dc1f1)return!0x1;let _0x5a1723=(0x0,_0x377db9[_0x464efe(0x195)])(_0x522144[_0x464efe(0x196)](_0x393454[_0x464efe(0x1f6)]),_0x3dc1f1);if(!_0x5a1723)return!0x1;let {unitId:_0x32510f,subUnitId:_0x41c302,worksheet:_0x56a6d2}=_0x5a1723;if(!_0x49c341(_0x522144,_0x32510f,_0x41c302))return!0x1;let _0x4331ff=_0x522144[_0x464efe(0x196)](_0x4b881f)[_0x464efe(0x1e6)](_0x32510f,_0x41c302),_0x23c226=_0x4331ff[_0x464efe(0x18c)](_0x2d24db=>_0x2d24db['id']===_0x3dc1f1[_0x464efe(0x1c9)]);if(!_0x23c226||_0x23c226[_0x464efe(0x1c0)]===_0x3dc1f1[_0x464efe(0x1c0)])return!0x1;let _0x2e3327=_0xa6086(_0x23c226,_0x3dc1f1[_0x464efe(0x1c0)],_0x56a6d2,_0x4331ff),_0x454a8f=_0xa6086(_0x23c226,!_0x3dc1f1[_0x464efe(0x1c0)],_0x56a6d2,_0x4331ff);return(0x0,_0x393454[_0x464efe(0x224)])(_0x2e3327,_0x522144[_0x464efe(0x196)](_0x393454[_0x464efe(0x1ff)]))[_0x464efe(0x20e)]?(_0x522144['get'](_0x393454['IUndoRedoService'])[_0x464efe(0x200)]({'unitID':_0x32510f,'undoMutations':_0x454a8f,'redoMutations':_0x2e3327}),!0x0):!0x1;}},_0x4aaa20={'id':'sheet.mutation.transform-dimension-outlines','type':_0x393454[_0xa584d1(0x22d)]['MUTATION'],'handler':(_0xddc3a8,_0x1322f1)=>{const _0x34208d=_0xa584d1;let _0x4c59e8=_0xddc3a8[_0x34208d(0x196)](_0x4b881f),_0x81f9ee=_0x1600f0(_0x4c59e8[_0x34208d(0x1e6)](_0x1322f1[_0x34208d(0x187)],_0x1322f1[_0x34208d(0x249)]),_0x1322f1);return _0x4c59e8['setOutlines'](_0x1322f1[_0x34208d(0x187)],_0x1322f1[_0x34208d(0x249)],_0x81f9ee),!0x0;}};function _0x1600f0(_0x33861d,_0x85c153){const _0x42a7fa=_0xa584d1;switch(_0x85c153['type']){case _0x42a7fa(0x218):return _0x85c153[_0x42a7fa(0x197)]?_0x4b26ef(_0x33861d,_0x85c153):_0x13733f(_0x33861d,_0x85c153);case'delete':return _0x3b2344(_0x33861d,_0x85c153);case _0x42a7fa(0x239):return _0x7064f5(_0x33861d,_0x85c153);}}function _0x4b26ef(_0x348ed8,_0x45b21e){const _0x34a4e6=_0xa584d1;return[..._0x348ed8[_0x34a4e6(0x23c)](_0x1a2d6c=>_0x1a2d6c[_0x34a4e6(0x187)]!==_0x45b21e[_0x34a4e6(0x187)]||_0x1a2d6c[_0x34a4e6(0x249)]!==_0x45b21e[_0x34a4e6(0x249)]||_0x1a2d6c[_0x34a4e6(0x1da)]!==_0x45b21e[_0x34a4e6(0x1da)]),..._0x45b21e[_0x34a4e6(0x197)]];}let _0x355cb5='SHEET_OUTLINE_PLUGIN';var _0x40f4ab=_0xa584d1(0x23b),_0xf0bbbf=_0xa584d1(0x188);let _0x2fda69={};function _0x113ebe(_0x56c478,_0x15fe9d){return function(_0x19971b,_0x45da58){_0x15fe9d(_0x19971b,_0x45da58,_0x56c478);};}function _0x344a4d(_0x35752a,_0x509055,_0x213ceb,_0x4603e4){const _0x43cfc2=_0xa584d1;var _0x5ae716=arguments[_0x43cfc2(0x1f9)],_0x3555b4=_0x5ae716<0x3?_0x509055:_0x4603e4===null?_0x4603e4=Object[_0x43cfc2(0x180)](_0x509055,_0x213ceb):_0x4603e4,_0x10fb7e;if(typeof Reflect==_0x43cfc2(0x1bf)&&typeof Reflect[_0x43cfc2(0x20c)]=='function')_0x3555b4=Reflect[_0x43cfc2(0x20c)](_0x35752a,_0x509055,_0x213ceb,_0x4603e4);else{for(var _0x561ec3=_0x35752a[_0x43cfc2(0x1f9)]-0x1;_0x561ec3>=0x0;_0x561ec3--)(_0x10fb7e=_0x35752a[_0x561ec3])&&(_0x3555b4=(_0x5ae716<0x3?_0x10fb7e(_0x3555b4):_0x5ae716>0x3?_0x10fb7e(_0x509055,_0x213ceb,_0x3555b4):_0x10fb7e(_0x509055,_0x213ceb))||_0x3555b4);}return _0x5ae716>0x3&&_0x3555b4&&Object[_0x43cfc2(0x211)](_0x509055,_0x213ceb,_0x3555b4),_0x3555b4;}let _0x6657de={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0xd83d69=class extends _0x393454[_0xa584d1(0x198)]{constructor(_0x40cf3b,_0x165418,_0x17545e,_0x4ead9e){const _0x1494e6=_0xa584d1;super(),this[_0x1494e6(0x20b)]=_0x40cf3b,this[_0x1494e6(0x184)]=_0x165418,this[_0x1494e6(0x1f0)]=_0x17545e,this[_0x1494e6(0x1b2)]=_0x4ead9e,this['_initCommandInterceptor']();}[_0xa584d1(0x1d3)](){const _0x42593d=_0xa584d1;this['disposeWithMe'](this[_0x42593d(0x184)][_0x42593d(0x23e)]({'getMutations':_0x3efe6e=>_0x1ec2a0(_0x3efe6e,(_0xc57aa7,_0x4c5bce)=>this[_0x42593d(0x1f0)][_0x42593d(0x1e6)](_0xc57aa7,_0x4c5bce),this['_getCommandScope'](_0x3efe6e['params']),_0x430801=>this[_0x42593d(0x1b2)][_0x42593d(0x236)](_0x430801))}));}[_0xa584d1(0x1af)](_0x3100a){const _0xc2f99f=_0xa584d1;let _0x55cfb3=_0x3100a,_0x40fd7c=_0x55cfb3!=null&&_0x55cfb3[_0xc2f99f(0x187)]?this['_univerInstanceService'][_0xc2f99f(0x19d)](_0x55cfb3['unitId'],_0x393454[_0xc2f99f(0x248)][_0xc2f99f(0x1f2)]):this[_0xc2f99f(0x20b)][_0xc2f99f(0x221)](_0x393454[_0xc2f99f(0x248)][_0xc2f99f(0x1f2)]);if(!_0x40fd7c)return;let _0x39b906=_0x55cfb3!=null&&_0x55cfb3[_0xc2f99f(0x249)]?_0x40fd7c[_0xc2f99f(0x1ad)](_0x55cfb3[_0xc2f99f(0x249)]):_0x40fd7c[_0xc2f99f(0x1c7)]();if(_0x39b906)return{'unitId':_0x40fd7c[_0xc2f99f(0x1ac)](),'subUnitId':_0x39b906['getSheetId']()};}};_0xd83d69=_0x344a4d([_0x113ebe(0x0,_0x393454['IUniverInstanceService']),_0x113ebe(0x1,(0x0,_0x393454[_0xa584d1(0x192)])(_0x377db9[_0xa584d1(0x21e)])),_0x113ebe(0x2,(0x0,_0x393454[_0xa584d1(0x192)])(_0x4b881f)),_0x113ebe(0x3,(0x0,_0x393454['Inject'])(_0x1d60ea))],_0xd83d69);function _0x1ec2a0(_0x4c09f6,_0x9e7d21,_0x45ef3f,_0x563f87){const _0x50240=_0xa584d1;let _0x80a95d=_0x1ec6d5(_0x4c09f6,_0x45ef3f);if(!_0x80a95d)return _0x458f35();let _0x35fbb7=_0x9e7d21(_0x80a95d[_0x50240(0x187)],_0x80a95d[_0x50240(0x249)]);if(!_0x35fbb7[_0x50240(0x1be)](_0xce1490=>_0xce1490[_0x50240(0x1da)]===_0x80a95d['axis']))return _0x458f35();_0x2a808a(_0x35fbb7,_0x80a95d,_0x4c09f6['id'],_0x563f87);let _0x508a9d=_0x569174(_0x80a95d,_0x35fbb7);return{'redos':[{'id':_0x4aaa20['id'],'params':_0x80a95d}],'undos':[{'id':_0x4aaa20['id'],'params':_0x508a9d}],'preRedos':[],'preUndos':[]};}function _0x2a808a(_0x2f1546,_0x4421bd,_0x4898cb,_0x134e9d){const _0x2db0be=_0xa584d1;try{switch(_0x4421bd['type']){case _0x2db0be(0x218):_0x13733f(_0x2f1546,_0x4421bd);break;case _0x2db0be(0x19f):_0x3b2344(_0x2f1546,_0x4421bd);break;case _0x2db0be(0x239):_0x7064f5(_0x2f1546,_0x4421bd);}}catch(_0x5a610d){throw _0x134e9d==null||_0x134e9d({'reason':_0x1dbb44(_0x5a610d),'commandId':_0x4898cb,'unitId':_0x4421bd[_0x2db0be(0x187)],'subUnitId':_0x4421bd['subUnitId'],'axis':_0x4421bd[_0x2db0be(0x1da)],'outlineId':_0x1024bb(_0x5a610d)}),new _0x393454[(_0x2db0be(0x255))](_0x5a610d instanceof Error?_0x5a610d[_0x2db0be(0x253)]:_0x2db0be(0x201));}}function _0x1ec6d5(_0x37e988,_0x419f36){const _0x31c44f=_0xa584d1;switch(_0x37e988['id']){case _0x377db9[_0x31c44f(0x214)]['id']:return _0x147196(_0x37e988['params'],_0x31c44f(0x1e7),_0x419f36);case _0x377db9[_0x31c44f(0x1fa)]['id']:return _0x147196(_0x37e988[_0x31c44f(0x1d2)],_0x31c44f(0x1fb),_0x419f36);case _0x377db9['RemoveRowCommand']['id']:return _0x5ca528(_0x37e988['params'],'row',_0x419f36);case _0x377db9['RemoveColCommand']['id']:return _0x5ca528(_0x37e988[_0x31c44f(0x1d2)],_0x31c44f(0x1fb),_0x419f36);case _0x377db9[_0x31c44f(0x19a)]['id']:return _0x44dfd6(_0x37e988['params'],_0x31c44f(0x1e7),_0x419f36);case _0x377db9[_0x31c44f(0x1ec)]['id']:return _0x44dfd6(_0x37e988[_0x31c44f(0x1d2)],_0x31c44f(0x1fb),_0x419f36);default:return null;}}function _0x147196(_0x28578d,_0x50a5a2,_0x304ee1){const _0x229fe5=_0xa584d1;let _0x410134=_0x171cd7(_0x28578d,_0x304ee1);if(!(_0x28578d!=null&&_0x28578d[_0x229fe5(0x245)])||!_0x410134)return null;let _0x155a2f=_0x50a5a2===_0x229fe5(0x1e7)?_0x28578d[_0x229fe5(0x245)][_0x229fe5(0x223)]:_0x28578d[_0x229fe5(0x245)][_0x229fe5(0x1bd)],_0x51d940=_0x50a5a2===_0x229fe5(0x1e7)?_0x28578d['range']['endRow']:_0x28578d[_0x229fe5(0x245)][_0x229fe5(0x1f1)];return{..._0x410134,'axis':_0x50a5a2,'type':_0x229fe5(0x218),'index':_0x155a2f,'count':_0x51d940-_0x155a2f+0x1};}function _0x5ca528(_0x56f5d4,_0x11cd16,_0x346610){const _0xa901b9=_0xa584d1;let _0x2c523b=_0x171cd7(_0x56f5d4,_0x346610);if(!(_0x56f5d4!=null&&_0x56f5d4[_0xa901b9(0x245)])||!_0x2c523b)return null;let _0x155536=_0x11cd16===_0xa901b9(0x1e7)?_0x56f5d4['range'][_0xa901b9(0x223)]:_0x56f5d4['range'][_0xa901b9(0x1bd)],_0xd729c3=_0x11cd16===_0xa901b9(0x1e7)?_0x56f5d4[_0xa901b9(0x245)]['endRow']:_0x56f5d4[_0xa901b9(0x245)][_0xa901b9(0x1f1)];return{..._0x2c523b,'axis':_0x11cd16,'type':_0xa901b9(0x19f),'start':_0x155536,'end':_0xd729c3};}function _0x44dfd6(_0x5cc975,_0xd609d,_0x38994d){const _0x29385f=_0xa584d1;let _0x16f420=_0x171cd7(_0x5cc975,_0x38994d);if(!(_0x5cc975!=null&&_0x5cc975[_0x29385f(0x1d5)])||!_0x5cc975[_0x29385f(0x22f)]||!_0x16f420)return null;let _0x97c2e0=_0xd609d===_0x29385f(0x1e7)?_0x5cc975[_0x29385f(0x1d5)][_0x29385f(0x223)]:_0x5cc975[_0x29385f(0x1d5)][_0x29385f(0x1bd)],_0x3b2184=_0xd609d===_0x29385f(0x1e7)?_0x5cc975[_0x29385f(0x1d5)]['endRow']:_0x5cc975[_0x29385f(0x1d5)]['endColumn'],_0x3af7ff=_0xd609d===_0x29385f(0x1e7)?_0x5cc975[_0x29385f(0x22f)]['startRow']:_0x5cc975[_0x29385f(0x22f)][_0x29385f(0x1bd)];return{..._0x16f420,'axis':_0xd609d,'type':'move','sourceStart':_0x97c2e0,'sourceEnd':_0x3b2184,'destinationIndex':_0x3af7ff};}function _0x569174(_0x2d641b,_0x26cc19){const _0xd2ff9b=_0xa584d1;switch(_0x2d641b[_0xd2ff9b(0x20d)]){case _0xd2ff9b(0x218):return{'unitId':_0x2d641b[_0xd2ff9b(0x187)],'subUnitId':_0x2d641b[_0xd2ff9b(0x249)],'axis':_0x2d641b['axis'],'type':_0xd2ff9b(0x19f),'start':_0x2d641b[_0xd2ff9b(0x17d)],'end':_0x2d641b[_0xd2ff9b(0x17d)]+_0x2d641b['count']-0x1};case _0xd2ff9b(0x19f):return{'unitId':_0x2d641b['unitId'],'subUnitId':_0x2d641b['subUnitId'],'axis':_0x2d641b[_0xd2ff9b(0x1da)],'type':_0xd2ff9b(0x218),'index':_0x2d641b[_0xd2ff9b(0x230)],'count':_0x2d641b[_0xd2ff9b(0x1df)]-_0x2d641b[_0xd2ff9b(0x230)]+0x1,'restoreOutlines':_0x26cc19[_0xd2ff9b(0x23c)](_0x326093=>_0x326093[_0xd2ff9b(0x187)]===_0x2d641b[_0xd2ff9b(0x187)]&&_0x326093[_0xd2ff9b(0x249)]===_0x2d641b[_0xd2ff9b(0x249)]&&_0x326093[_0xd2ff9b(0x1da)]===_0x2d641b[_0xd2ff9b(0x1da)])};case _0xd2ff9b(0x239):return _0x24f94f(_0x2d641b);}}function _0x24f94f(_0x257c12){const _0x5f602d=_0xa584d1;let _0x3a83d4=_0x257c12[_0x5f602d(0x18f)]-_0x257c12[_0x5f602d(0x23f)]+0x1;return _0x257c12[_0x5f602d(0x215)]>=_0x257c12['sourceStart']&&_0x257c12['destinationIndex']<=_0x257c12[_0x5f602d(0x18f)]+0x1?{..._0x257c12}:_0x257c12[_0x5f602d(0x215)]>_0x257c12[_0x5f602d(0x18f)]+0x1?{..._0x257c12,'sourceStart':_0x257c12[_0x5f602d(0x215)]-_0x3a83d4,'sourceEnd':_0x257c12[_0x5f602d(0x215)]-0x1,'destinationIndex':_0x257c12[_0x5f602d(0x23f)]}:{..._0x257c12,'sourceStart':_0x257c12[_0x5f602d(0x215)],'sourceEnd':_0x257c12[_0x5f602d(0x215)]+_0x3a83d4-0x1,'destinationIndex':_0x257c12[_0x5f602d(0x18f)]+0x1};}function _0x171cd7(_0x6cb429,_0x477607){const _0xfcecf7=_0xa584d1;let _0x5dfa07=(_0x6cb429==null?void 0x0:_0x6cb429[_0xfcecf7(0x187)])??(_0x477607==null?void 0x0:_0x477607[_0xfcecf7(0x187)]),_0x53119c=(_0x6cb429==null?void 0x0:_0x6cb429[_0xfcecf7(0x249)])??(_0x477607==null?void 0x0:_0x477607[_0xfcecf7(0x249)]);return _0x5dfa07&&_0x53119c?{'unitId':_0x5dfa07,'subUnitId':_0x53119c}:null;}function _0x458f35(){const _0x46f5dd=_0xa584d1;return{'redos':[..._0x6657de[_0x46f5dd(0x23d)]],'undos':[..._0x6657de[_0x46f5dd(0x1c6)]],'preRedos':[..._0x6657de['preRedos']??[]],'preUndos':[..._0x6657de[_0x46f5dd(0x199)]??[]]};}let _0x4a656d=class extends _0x393454[_0xa584d1(0x198)]{constructor(_0x4a7cd3,_0x499b3a){const _0x37c144=_0xa584d1;super(),this[_0x37c144(0x1e4)]=_0x4a7cd3,this[_0x37c144(0x1f0)]=_0x499b3a,this[_0x37c144(0x1cf)]();}[_0xa584d1(0x1cf)](){const _0x21b39e=_0xa584d1;this[_0x21b39e(0x252)](this['_resourceManagerService'][_0x21b39e(0x1fe)]({'pluginName':_0x355cb5,'businesses':[_0x393454[_0x21b39e(0x248)]['UNIVER_SHEET']],'toJson':_0x550ca1=>JSON['stringify'](this[_0x21b39e(0x1f0)][_0x21b39e(0x19c)](_0x550ca1)),'parseJson':_0x4a3816=>JSON[_0x21b39e(0x243)](_0x4a3816),'onLoad':(_0x107a87,_0x582abe)=>this[_0x21b39e(0x1f0)]['deserialize'](_0x107a87,_0x582abe),'onUnLoad':_0x1bd5e6=>this['_sheetsOutlineModel'][_0x21b39e(0x183)](_0x1bd5e6)}));}};_0x4a656d=_0x344a4d([_0x113ebe(0x0,_0x393454[_0xa584d1(0x1db)]),_0x113ebe(0x1,(0x0,_0x393454[_0xa584d1(0x192)])(_0x4b881f))],_0x4a656d);let _0x44bf41=class extends _0x393454['Plugin']{constructor(_0xa185fb=_0x2fda69,_0xcf28b0,_0x37bf2d,_0x19c96a){const _0x4f15ee=_0xa584d1;super(),this[_0x4f15ee(0x1f4)]=_0xa185fb,this[_0x4f15ee(0x206)]=_0xcf28b0,this['_commandService']=_0x37bf2d,this['_configService']=_0x19c96a;let {..._0x4d9feb}=(0x0,_0x393454['merge'])({},_0x2fda69,this[_0x4f15ee(0x1f4)]);this[_0x4f15ee(0x209)][_0x4f15ee(0x1b3)](_0x4f15ee(0x250),_0x4d9feb);}['onStarting'](){const _0x32e251=_0xa584d1;this[_0x32e251(0x206)]['add']([_0x4b881f]),this[_0x32e251(0x206)][_0x32e251(0x1d9)]([_0x1d60ea]),this[_0x32e251(0x206)][_0x32e251(0x1d9)]([_0x4a656d]),this['_injector'][_0x32e251(0x1d9)]([_0xd83d69]),this[_0x32e251(0x191)](),this[_0x32e251(0x206)][_0x32e251(0x196)](_0x4b881f),this[_0x32e251(0x206)][_0x32e251(0x196)](_0x1d60ea),this[_0x32e251(0x206)][_0x32e251(0x196)](_0x4a656d),this[_0x32e251(0x206)][_0x32e251(0x196)](_0xd83d69);}[_0xa584d1(0x191)](){const _0x5d2909=_0xa584d1;[_0x388860,_0x1963d8,_0x451ce6,_0x23ba42][_0x5d2909(0x1bc)](_0x491281=>{const _0x371f7e=_0x5d2909;this['disposeWithMe'](this['_commandService'][_0x371f7e(0x231)](_0x491281));}),[_0x45a8b8,_0x4177d0,_0xacdb82,_0x10395a,_0x4aaa20][_0x5d2909(0x1bc)](_0x2bbc3d=>{const _0x18757d=_0x5d2909;this[_0x18757d(0x252)](this[_0x18757d(0x226)][_0x18757d(0x231)](_0x2bbc3d));});}};_0xf0a614(_0x44bf41,_0xa584d1(0x22e),_0x355cb5),_0xf0a614(_0x44bf41,_0xa584d1(0x242),_0x40f4ab),_0xf0a614(_0x44bf41,_0xa584d1(0x1e0),_0xf0bbbf),_0xf0a614(_0x44bf41,_0xa584d1(0x20d),_0x393454[_0xa584d1(0x248)][_0xa584d1(0x1f2)]),_0x44bf41=_0x344a4d([(0x0,_0x393454[_0xa584d1(0x1f5)])(_0x430856[_0xa584d1(0x21c)],_0x377db9[_0xa584d1(0x24f)]),_0x113ebe(0x1,(0x0,_0x393454[_0xa584d1(0x192)])(_0x393454[_0xa584d1(0x207)])),_0x113ebe(0x2,_0x393454[_0xa584d1(0x1ff)]),_0x113ebe(0x3,_0x393454[_0xa584d1(0x235)])],_0x44bf41),_0x24956f['AddDimensionOutlineCommand']=_0x388860,_0x24956f[_0xa584d1(0x1ed)]=_0x45a8b8,_0x24956f[_0xa584d1(0x251)]=_0x23ba42,_0x24956f['ClearDimensionOutlinesMutation']=_0x10395a,_0x24956f[_0xa584d1(0x1b4)]=_0x384e67,_0x24956f['DimensionOutlineErrorReason']=_0x8c4e7e,_0x24956f['RemoveDimensionOutlineCommand']=_0x1963d8,_0x24956f[_0xa584d1(0x1a1)]=_0x4177d0,_0x24956f[_0xa584d1(0x202)]=_0x355cb5,_0x24956f[_0xa584d1(0x182)]=_0x451ce6,_0x24956f['SetDimensionOutlineCollapsedMutation']=_0xacdb82,_0x24956f['SheetsOutlineErrorService']=_0x1d60ea,_0x24956f[_0xa584d1(0x24c)]=_0x4b881f,_0x24956f['TransformDimensionOutlinesMutation']=_0x4aaa20,Object[_0xa584d1(0x211)](_0x24956f,_0xa584d1(0x1f8),{'enumerable':!0x0,'get':function(){return _0x44bf41;}}),_0x24956f[_0xa584d1(0x1ef)]=_0x3d1efa,_0x24956f[_0xa584d1(0x1ce)]=_0x2bad67,_0x24956f['getDimensionOutlineViewPermission$']=_0x277568,_0x24956f[_0xa584d1(0x1a3)]=_0x49c341,_0x24956f[_0xa584d1(0x17e)]=_0x3b2344,_0x24956f['transformOutlinesByInsert']=_0x13733f,_0x24956f[_0xa584d1(0x220)]=_0x7064f5;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-outline",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Dimension outline model integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.0.
|
|
65
|
-
"@univerjs/core": "1.0.
|
|
66
|
-
"@univerjs/sheets": "1.0.
|
|
64
|
+
"@univerjs-pro/license": "1.0.1",
|
|
65
|
+
"@univerjs/core": "1.0.1",
|
|
66
|
+
"@univerjs/sheets": "1.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.0.
|
|
69
|
+
"@univerjs-infra/shared": "1.0.1",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^5.0.0"
|