@univerjs-pro/sheets-sparkline 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506261607
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 +4 -4
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x44a12f=_0x32ee;(function(_0x1862e3,_0xdd42a4){const _0xb8ee05=_0x32ee,_0x318253=_0x1862e3();while(!![]){try{const _0x488837=-parseInt(_0xb8ee05(0x22b))/0x1+parseInt(_0xb8ee05(0x263))/0x2*(parseInt(_0xb8ee05(0x1ad))/0x3)+parseInt(_0xb8ee05(0x1eb))/0x4+parseInt(_0xb8ee05(0x1b4))/0x5*(parseInt(_0xb8ee05(0x1e4))/0x6)+-parseInt(_0xb8ee05(0x20b))/0x7*(-parseInt(_0xb8ee05(0x245))/0x8)+parseInt(_0xb8ee05(0x206))/0x9*(parseInt(_0xb8ee05(0x259))/0xa)+-parseInt(_0xb8ee05(0x1fa))/0xb;if(_0x488837===_0xdd42a4)break;else _0x318253['push'](_0x318253['shift']());}catch(_0x1f92bf){_0x318253['push'](_0x318253['shift']());}}}(_0xc2e9,0xe740b));var qe=Object[_0x44a12f(0x1c4)],Qe=(_0x1daee1,_0x4e9d29,_0x1179b0)=>_0x4e9d29 in _0x1daee1?qe(_0x1daee1,_0x4e9d29,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1179b0}):_0x1daee1[_0x4e9d29]=_0x1179b0,se=(_0x24f7e5,_0x46c8c0,_0x2c0f91)=>Qe(_0x24f7e5,typeof _0x46c8c0!='symbol'?_0x46c8c0+'':_0x46c8c0,_0x2c0f91);import{UniverLicensePlugin as _0x6d51d7}from'@univerjs-pro/license';import{ObjectMatrix as _0x1a9da2,Inject as _0x1fd426,IUniverInstanceService as _0x29344f,Disposable as _0x5ef22a,isValidRange as _0x135ff2,CellValueType as _0x8af9a,ColorKit as _0x431c15,CommandType as _0x468881,Range as _0x280d9c,IUndoRedoService as _0x3a4330,generateRandomId as _0x4f823d,ICommandService as _0x16dc63,Tools as _0x380d23,sequenceExecute as _0x5da056,Rectangle as _0x49d028,cellToRange as _0x5de76d,DisposableCollection as _0x50a7a0,RANGE_TYPE as _0x3f6cc0,UniverInstanceType as _0xf046be,IResourceManagerService as _0x45ba0d,DependentOn as _0xfd79c6,Injector as _0xe24a9f,Plugin as _0x1e6279,touchDependencies as _0xaa8e4f}from'@univerjs/core';import{getSheetCommandTarget as _0x22457a,SheetsSelectionsService as _0x134cdd,SheetInterceptorService as _0x55bbbe,ClearSelectionAllCommand as _0x468bd6,CopySheetCommand as _0x55ddff,IExclusiveRangeService as _0x423212,SetRangeValuesMutation as _0x43ff72,ReorderRangeMutation as _0x7b99e9,SetRowHiddenMutation as _0x472792,SetColHiddenMutation as _0x393b75,SetRowVisibleMutation as _0x481419,SetColVisibleMutation as _0x174185,AddWorksheetMergeCommand as _0x38626b,RefRangeService as _0x5340a5,SetWorksheetActivateCommand as _0x41eb7f,RemoveRowCommand as _0x97e335,RemoveColCommand as _0x282d50,adjustRangeOnMutation as _0x1db26a,RemoveRowMutation as _0x3a76fb,RemoveColMutation as _0x36ca1f,InsertColMutation as _0x4a5a9e,InsertRowMutation as _0x5ba22b,MoveColsMutation as _0x2d604b,MoveRowsMutation as _0x56be5c,MoveRangeMutation as _0xa0c7ec}from'@univerjs/sheets';import{Subject as _0x3fa974}from'rxjs';function Fe(_0x5abfc4,_0x1bb0db){const _0x3c007e=_0x44a12f,_0x98d81a=new _0x1a9da2(),_0x392987=[],_0x355415=_0x5abfc4[_0x3c007e(0x221)]>0x1;let _0xe897fe=0x0,_0x394e84=0x0;for(const _0x117de7 of _0x5abfc4)_0xe897fe+=_0x117de7[_0x3c007e(0x238)]-_0x117de7[_0x3c007e(0x1ff)]+0x1,_0x394e84+=_0x117de7[_0x3c007e(0x1e0)]-_0x117de7['startColumn']+0x1;for(const _0x57fbd0 of _0x1bb0db)for(let _0x45e496=_0x57fbd0[_0x3c007e(0x1ff)];_0x45e496<=_0x57fbd0[_0x3c007e(0x238)];_0x45e496++)for(let _0x45eba1=_0x57fbd0[_0x3c007e(0x257)];_0x45eba1<=_0x57fbd0[_0x3c007e(0x1e0)];_0x45eba1++)_0x392987[_0x3c007e(0x1fc)]({'row':_0x45e496,'column':_0x45eba1});if(_0x392987[_0x3c007e(0x221)]===_0xe897fe)_0x355415?_0x392987[_0x3c007e(0x218)]((_0xd97461,_0x486fd0)=>{const _0x43b006=_0x3c007e,_0x4be0bb=_0x5abfc4[_0x486fd0],_0x455832={'startRow':_0x4be0bb['startRow'],'startColumn':_0x4be0bb['startColumn'],'endRow':_0x4be0bb[_0x43b006(0x1ff)],'endColumn':_0x4be0bb[_0x43b006(0x1e0)]};_0x98d81a[_0x43b006(0x1e6)](_0xd97461['row'],_0xd97461[_0x43b006(0x1b5)],_0x455832);}):_0x392987[_0x3c007e(0x218)]((_0x471693,_0x574cf4)=>{const _0x47c1d7=_0x3c007e,_0x247965=_0x5abfc4[0x0],_0x39dd8f={'startRow':_0x247965['startRow']+_0x574cf4,'startColumn':_0x247965[_0x47c1d7(0x257)],'endRow':_0x247965[_0x47c1d7(0x1ff)]+_0x574cf4,'endColumn':_0x247965[_0x47c1d7(0x1e0)]};_0x98d81a['setValue'](_0x471693[_0x47c1d7(0x1b3)],_0x471693[_0x47c1d7(0x1b5)],_0x39dd8f);});else{if(_0x392987[_0x3c007e(0x221)]===_0x394e84)_0x355415?_0x392987['forEach']((_0x5c89fb,_0x5573c6)=>{const _0x111407=_0x3c007e,_0x1d9e6a=_0x5abfc4[_0x5573c6],_0x151bf0={'startRow':_0x1d9e6a[_0x111407(0x1ff)],'startColumn':_0x1d9e6a['startColumn'],'endRow':_0x1d9e6a[_0x111407(0x238)],'endColumn':_0x1d9e6a['startColumn']};_0x98d81a['setValue'](_0x5c89fb[_0x111407(0x1b3)],_0x5c89fb[_0x111407(0x1b5)],_0x151bf0);}):_0x392987[_0x3c007e(0x218)]((_0x4291dc,_0x54e670)=>{const _0x4d1af1=_0x3c007e,_0x3f2523=_0x5abfc4[0x0],_0x406a76={'startRow':_0x3f2523['startRow'],'startColumn':_0x3f2523[_0x4d1af1(0x257)]+_0x54e670,'endRow':_0x3f2523[_0x4d1af1(0x238)],'endColumn':_0x3f2523[_0x4d1af1(0x257)]+_0x54e670};_0x98d81a[_0x4d1af1(0x1e6)](_0x4291dc['row'],_0x4291dc[_0x4d1af1(0x1b5)],_0x406a76);});else{if(_0x392987[_0x3c007e(0x221)]===_0x5abfc4[_0x3c007e(0x221)])_0x5abfc4[_0x3c007e(0x1ec)](_0xfcfb8=>!(_0xfcfb8['startRow']!==_0xfcfb8['endRow']&&_0xfcfb8[_0x3c007e(0x257)]!==_0xfcfb8[_0x3c007e(0x1e0)]))&&_0x392987[_0x3c007e(0x218)]((_0x1c1edf,_0x521b53)=>{const _0x27f1c7=_0x3c007e,_0x5b86b2=_0x5abfc4[_0x521b53];_0x98d81a[_0x27f1c7(0x1e6)](_0x1c1edf[_0x27f1c7(0x1b3)],_0x1c1edf[_0x27f1c7(0x1b5)],_0x5b86b2);});else throw new Error(_0x3c007e(0x236));}}return _0x98d81a;}const Ke=_0x44a12f(0x1e3),Le={'standard':[_0x44a12f(0x1b8),_0x44a12f(0x201)],'specialty':[_0x44a12f(0x1c0),_0x44a12f(0x205)],'distinctive':[_0x44a12f(0x254),'rgb(252,117,60)'],'soft':['rgb(80,102,248)',_0x44a12f(0x1d3)],'fresh':[_0x44a12f(0x1e8),_0x44a12f(0x25f)]},on=[_0x44a12f(0x250),_0x44a12f(0x24c),'lastPoint',_0x44a12f(0x220),_0x44a12f(0x1c9),_0x44a12f(0x1cc)];var Xe=(_0x1705a5=>(_0x1705a5[_0x44a12f(0x1fd)]=_0x44a12f(0x219),_0x1705a5[_0x44a12f(0x26a)]='specialty',_0x1705a5['DISTINCTIVE']=_0x44a12f(0x25d),_0x1705a5[_0x44a12f(0x1e7)]=_0x44a12f(0x1d2),_0x1705a5['FRESH']=_0x44a12f(0x235),_0x1705a5[_0x44a12f(0x243)]=_0x44a12f(0x216),_0x1705a5))(Xe||{}),Dt=(_0x4772ca=>(_0x4772ca[_0x4772ca['LINE_CHART']=0x1]=_0x44a12f(0x264),_0x4772ca[_0x4772ca[_0x44a12f(0x1ac)]=0x2]='BAR_CHART',_0x4772ca[_0x4772ca['PROFIT_AND_LOSS_CHART']=0x3]='PROFIT_AND_LOSS_CHART',_0x4772ca[_0x4772ca[_0x44a12f(0x1fe)]=0x4]=_0x44a12f(0x1fe),_0x4772ca))(Dt||{}),J=(_0x48e060=>(_0x48e060[_0x44a12f(0x1f6)]='spacing',_0x48e060[_0x44a12f(0x23d)]='zero_value',_0x48e060[_0x44a12f(0x21d)]=_0x44a12f(0x265),_0x48e060))(J||{}),Ee=(_0x295cb7=>(_0x295cb7[_0x295cb7['SELF_EXTREMUM']=0x1]=_0x44a12f(0x256),_0x295cb7[_0x295cb7['GROUP_EXTREMUM']=0x2]=_0x44a12f(0x1b1),_0x295cb7[_0x295cb7[_0x44a12f(0x20f)]=0x3]=_0x44a12f(0x20f),_0x295cb7))(Ee||{}),Et=Object['getOwnPropertyDescriptor'],Vt=(_0x2d411e,_0x1a2ba3,_0x440d95,_0x575e79)=>{const _0x3b38eb=_0x44a12f;for(var _0x2dd4f1=_0x575e79>0x1?void 0x0:_0x575e79?Et(_0x1a2ba3,_0x440d95):_0x1a2ba3,_0x111ca8=_0x2d411e[_0x3b38eb(0x221)]-0x1,_0x192090;_0x111ca8>=0x0;_0x111ca8--)(_0x192090=_0x2d411e[_0x111ca8])&&(_0x2dd4f1=_0x192090(_0x2dd4f1)||_0x2dd4f1);return _0x2dd4f1;},yt=(_0x867b75,_0x7ba7d5)=>(_0x51f0fc,_0x1bf269)=>_0x7ba7d5(_0x51f0fc,_0x1bf269,_0x867b75);let x=class extends _0x5ef22a{constructor(_0x105f50){const _0x15b49d=_0x44a12f;super(),se(this,_0x15b49d(0x237),new Map()),se(this,_0x15b49d(0x1fb),new Map()),se(this,_0x15b49d(0x1df),new _0x3fa974()),se(this,_0x15b49d(0x22c),this[_0x15b49d(0x1df)][_0x15b49d(0x241)]()),this[_0x15b49d(0x1e1)]=_0x105f50;}[_0x44a12f(0x242)](_0x5a8f4a,_0x3c0059){const _0x4f5eb8=_0x44a12f;let _0xe86a15=this[_0x4f5eb8(0x237)][_0x4f5eb8(0x1dc)](_0x5a8f4a);_0xe86a15||(_0xe86a15=new Map(),this['_sparklineModel'][_0x4f5eb8(0x1da)](_0x5a8f4a,_0xe86a15));let _0x11687c=_0xe86a15['get'](_0x3c0059);return _0x11687c||(_0x11687c=new Map(),_0xe86a15[_0x4f5eb8(0x1da)](_0x3c0059,_0x11687c)),_0x11687c;}[_0x44a12f(0x1c5)](_0x2f2288,_0x881c4f){const _0x405474=_0x44a12f;let _0x436598=this[_0x405474(0x1fb)][_0x405474(0x1dc)](_0x2f2288);_0x436598||(_0x436598=new Map(),this[_0x405474(0x1fb)][_0x405474(0x1da)](_0x2f2288,_0x436598));let _0x1ecb5c=_0x436598[_0x405474(0x1dc)](_0x881c4f);return _0x1ecb5c||(_0x1ecb5c={'matrix':new _0x1a9da2(),'extra':{}},_0x436598[_0x405474(0x1da)](_0x881c4f,_0x1ecb5c)),_0x1ecb5c;}[_0x44a12f(0x251)](_0x5bd347,_0xa8eb87,_0x35a907,_0xc5742d='set'){const _0x5a74fd=_0x44a12f;var _0x1e8135,_0x541469,_0x44d03f,_0x49d536,_0x4a1b8f,_0x155100,_0x541ef4,_0x20dd82,_0x211e72,_0x35818a,_0x110ffd,_0x47070a,_0x55b490;const _0x4df830=(_0x541469=(_0x1e8135=this[_0x5a74fd(0x237)][_0x5a74fd(0x1dc)](_0x5bd347))==null?void 0x0:_0x1e8135[_0x5a74fd(0x1dc)](_0xa8eb87))==null?void 0x0:_0x541469[_0x5a74fd(0x1dc)](_0x35a907);if(!_0x4df830)return;const _0x31446b=_0x22457a(this[_0x5a74fd(0x1e1)],{'unitId':_0x5bd347,'subUnitId':_0xa8eb87});if(!_0x31446b)return;const _0x295ef9=this[_0x5a74fd(0x1c5)](_0x5bd347,_0xa8eb87),{extra:_0x534ffc,matrix:_0x3517bd}=_0x295ef9,{worksheet:_0x1eb3c3}=_0x31446b;let _0x371dd1=Number[_0x5a74fd(0x202)],_0x46e920=Number[_0x5a74fd(0x24f)];const _0x3e7b13=(_0x44d03f=_0x4df830['config'][_0x5a74fd(0x20e)])!=null?_0x44d03f:!0x1;_0x4df830[_0x5a74fd(0x25a)][_0x5a74fd(0x1d8)]((_0x589f5b,_0x5edd03,_0x2fe253)=>{const _0x20e10e=_0x5a74fd;var _0x98f1ec,_0x2b6595,_0x3ef7b8;const _0x22d87f=_0x2fe253;let _0xb833f0=Number[_0x20e10e(0x202)],_0x42ff17=Number[_0x20e10e(0x24f)],_0x43c070=0x0,_0x14e64a=0x0;const _0x4f97bc=[];if(!_0x135ff2(_0x22d87f))_0x3517bd[_0x20e10e(0x1e6)](_0x589f5b,_0x5edd03,{'groupId':_0x35a907,'data':[],'max':_0xb833f0,'min':_0x42ff17,'highIndex':_0x43c070,'lowIndex':_0x14e64a,'negativeIndexes':_0x4f97bc});else{const _0x216245=[];for(let _0x332428=_0x22d87f[_0x20e10e(0x1ff)];_0x332428<=_0x22d87f[_0x20e10e(0x238)];_0x332428++){for(let _0x1cddd0=_0x22d87f[_0x20e10e(0x257)];_0x1cddd0<=_0x22d87f[_0x20e10e(0x1e0)];_0x1cddd0++){const _0x4006ae=_0x1eb3c3[_0x20e10e(0x25e)](_0x332428),_0x5d530a=_0x1eb3c3[_0x20e10e(0x1d7)](_0x1cddd0);if(!_0x3e7b13&&(!_0x4006ae||!_0x5d530a))continue;let _0x3c6abc=0x0;const _0x93d4f5=((_0x98f1ec=_0x1eb3c3['getCellRaw'](_0x332428,_0x1cddd0))==null?void 0x0:_0x98f1ec['v'])!==void 0x0?_0x1eb3c3[_0x20e10e(0x239)](_0x332428,_0x1cddd0):_0x1eb3c3[_0x20e10e(0x1f5)](_0x332428,_0x1cddd0);if(!_0x93d4f5||_0x93d4f5['v']===void 0x0||_0x93d4f5['v']===null){const _0x3a6fb2=(_0x2b6595=_0x4df830[_0x20e10e(0x20a)][_0x20e10e(0x20d)])!=null?_0x2b6595:J[_0x20e10e(0x1f6)];_0x3a6fb2===J[_0x20e10e(0x23d)]?_0x3c6abc=0x0:_0x3a6fb2===J[_0x20e10e(0x1f6)]?_0x3c6abc='u-spacing':_0x3a6fb2===J['CONNECT_WITH_LINE']&&(_0x3c6abc=_0x20e10e(0x1de));}else{if(_0x93d4f5['t']===_0x8af9a[_0x20e10e(0x214)]||_0x93d4f5['t']===_0x8af9a[_0x20e10e(0x267)]){const _0x4bb863=(_0x3ef7b8=_0x4df830[_0x20e10e(0x20a)][_0x20e10e(0x213)])!=null?_0x3ef7b8:J['SPACING'];_0x4bb863===J[_0x20e10e(0x23d)]?_0x3c6abc=0x0:_0x4bb863===J[_0x20e10e(0x1f6)]?_0x3c6abc=_0x20e10e(0x234):_0x4bb863===J['CONNECT_WITH_LINE']&&(_0x3c6abc=_0x20e10e(0x1de));}else _0x93d4f5['t']===_0x8af9a['BOOLEAN']?_0x3c6abc=_0x93d4f5['v']?0x1:0x0:_0x93d4f5['t']===_0x8af9a[_0x20e10e(0x268)]?_0x3c6abc=Number(_0x93d4f5['v']):_0x3c6abc=_0x93d4f5['v'];}if(_0x216245[_0x20e10e(0x1fc)](_0x3c6abc),typeof _0x3c6abc==_0x20e10e(0x1c8)){_0xb833f0=Math[_0x20e10e(0x1f9)](_0xb833f0,_0x3c6abc),_0x371dd1=Math['max'](_0x371dd1,_0x3c6abc),_0x46e920=Math[_0x20e10e(0x1ef)](_0x46e920,_0x3c6abc),_0x42ff17=Math['min'](_0x42ff17,_0x3c6abc);const _0x42f5f2=typeof _0x216245[_0x43c070]==_0x20e10e(0x1c8)?Number(_0x216245[_0x43c070]):Number[_0x20e10e(0x202)];_0x3c6abc>_0x42f5f2&&(_0x43c070=_0x216245['length']-0x1);const _0xbddba4=typeof _0x216245[_0x14e64a]=='number'?Number(_0x216245[_0x14e64a]):Number[_0x20e10e(0x24f)];_0x3c6abc<_0xbddba4&&(_0x14e64a=_0x216245['length']-0x1),_0x3c6abc<0x0&&_0x4f97bc[_0x20e10e(0x1fc)](_0x216245[_0x20e10e(0x221)]-0x1);}}_0x3517bd[_0x20e10e(0x1e6)](_0x589f5b,_0x5edd03,{'groupId':_0x35a907,'data':_0x216245,'max':_0xb833f0,'min':_0x42ff17,'highIndex':_0x43c070,'lowIndex':_0x14e64a,'negativeIndexes':_0x4f97bc});}}});let _0x3f2d93=_0x371dd1;((_0x49d536=_0x4df830[_0x5a74fd(0x20a)][_0x5a74fd(0x1dd)])==null?void 0x0:_0x49d536[_0x5a74fd(0x207)])===Ee[_0x5a74fd(0x20f)]&&(_0x3f2d93=(_0x155100=(_0x4a1b8f=_0x4df830[_0x5a74fd(0x20a)][_0x5a74fd(0x1dd)])==null?void 0x0:_0x4a1b8f[_0x5a74fd(0x1ee)])!=null?_0x155100:_0x371dd1);let _0xb23217=_0x46e920;((_0x541ef4=_0x4df830[_0x5a74fd(0x20a)][_0x5a74fd(0x210)])==null?void 0x0:_0x541ef4[_0x5a74fd(0x207)])===Ee['CUSTOM_EXTREMUM']&&(_0xb23217=(_0x211e72=(_0x20dd82=_0x4df830[_0x5a74fd(0x20a)][_0x5a74fd(0x210)])==null?void 0x0:_0x20dd82[_0x5a74fd(0x1ee)])!=null?_0x211e72:_0x46e920);const _0x41ffa1=(_0x35818a=_0x4df830[_0x5a74fd(0x20a)]['themeType'])!=null?_0x35818a:Xe[_0x5a74fd(0x1fd)],_0x542524=(_0x55b490=(_0x47070a=_0x4df830[_0x5a74fd(0x20a)][_0x5a74fd(0x252)])!=null?_0x47070a:(_0x110ffd=Le[_0x41ffa1])==null?void 0x0:_0x110ffd[0x0])!=null?_0x55b490:Le[_0x5a74fd(0x219)][0x0],_0x2e653c=new _0x431c15(_0x542524),_0x3381d1=_0x2e653c['setAlpha'](0.2)['toRgbString'](),_0x51f1db=_0x2e653c[_0x5a74fd(0x1bc)](0.05)['toRgbString']();_0x534ffc[_0x35a907]={'groupMax':_0x371dd1,'groupMin':_0x46e920,'showMax':_0x3f2d93,'showMin':_0xb23217,'startGradient':_0x3381d1,'endGradient':_0x51f1db},this['_updateConfig$'][_0x5a74fd(0x1f2)]({'unitId':_0x5bd347,'subUnitId':_0xa8eb87,'groupId':_0x35a907,'config':_0x4df830,'type':_0xc5742d});}[_0x44a12f(0x1f7)](_0x16a362,_0x5420e3,_0xc44bc8,_0x24957d){const _0xcc9cdd=_0x44a12f;this['_ensureConfigMap'](_0x16a362,_0x5420e3)['set'](_0xc44bc8,_0x24957d),this['updateSparklineExtraNum'](_0x16a362,_0x5420e3,_0xc44bc8,_0xcc9cdd(0x1d4));}['setSparkline'](_0x3043c5,_0x5bfc92,_0x5377a4,_0x164039){const _0x52291a=_0x44a12f;var _0x379a9e;const _0x1194d0=(_0x379a9e=this[_0x52291a(0x237)][_0x52291a(0x1dc)](_0x3043c5))==null?void 0x0:_0x379a9e[_0x52291a(0x1dc)](_0x5bfc92);_0x5377a4[_0x52291a(0x218)](_0x148a8f=>{const _0x2f6abe=_0x52291a;_0x1194d0!=null&&_0x1194d0[_0x2f6abe(0x1ba)](_0x148a8f)&&(_0x1194d0[_0x2f6abe(0x1da)](_0x148a8f,_0x164039),this[_0x2f6abe(0x251)](_0x3043c5,_0x5bfc92,_0x148a8f));});}[_0x44a12f(0x260)](_0x4e2be5,_0x1bfbb7,_0x25efd0){const _0x3064e8=_0x44a12f;var _0x3950cb,_0x22e7e6;const _0x57271b=this['_sparklineModel'][_0x3064e8(0x1dc)](_0x4e2be5);if(_0x57271b){const _0x2c45cb=_0x57271b[_0x3064e8(0x1dc)](_0x1bfbb7);if(_0x2c45cb){_0x2c45cb[_0x3064e8(0x24a)](_0x25efd0);const _0x4333c5=(_0x3950cb=this[_0x3064e8(0x1fb)][_0x3064e8(0x1dc)](_0x4e2be5))==null?void 0x0:_0x3950cb['get'](_0x1bfbb7);(_0x22e7e6=_0x4333c5==null?void 0x0:_0x4333c5[_0x3064e8(0x233)])==null||_0x22e7e6[_0x3064e8(0x1d8)]((_0x29ddf3,_0x4c2d75,_0x2946d9)=>{const _0x3c807f=_0x3064e8;(_0x2946d9==null?void 0x0:_0x2946d9[_0x3c807f(0x1bb)])===_0x25efd0&&(_0x4333c5==null||_0x4333c5[_0x3c807f(0x233)][_0x3c807f(0x231)](_0x29ddf3,_0x4c2d75));}),this[_0x3064e8(0x1df)][_0x3064e8(0x1f2)]({'unitId':_0x4e2be5,'subUnitId':_0x1bfbb7,'groupId':_0x25efd0,'type':_0x3064e8(0x1d5)});}}}[_0x44a12f(0x23b)](_0x2007e2,_0x598f9b,_0x36b4e6,_0x1f02e9){const _0x47a713=_0x44a12f;var _0x1d3e00,_0x5857d3,_0x2213d3,_0x2fad1a;const _0x16b249=(_0x1d3e00=this[_0x47a713(0x1fb)][_0x47a713(0x1dc)](_0x2007e2))==null?void 0x0:_0x1d3e00[_0x47a713(0x1dc)](_0x598f9b),_0x391379=_0x16b249==null?void 0x0:_0x16b249[_0x47a713(0x233)][_0x47a713(0x22e)](_0x36b4e6,_0x1f02e9);if(_0x391379){const {groupId:_0x25ef86}=_0x391379,_0x55a5b8=(_0x5857d3=this[_0x47a713(0x237)][_0x47a713(0x1dc)](_0x2007e2))==null?void 0x0:_0x5857d3[_0x47a713(0x1dc)](_0x598f9b);(_0x2213d3=_0x55a5b8==null?void 0x0:_0x55a5b8[_0x47a713(0x1dc)](_0x25ef86))==null||_0x2213d3[_0x47a713(0x25a)]['realDeleteValue'](_0x36b4e6,_0x1f02e9),(_0x2fad1a=_0x55a5b8==null?void 0x0:_0x55a5b8[_0x47a713(0x1dc)](_0x25ef86))!=null&&_0x2fad1a[_0x47a713(0x25a)][_0x47a713(0x1c7)]()||_0x55a5b8==null||_0x55a5b8[_0x47a713(0x24a)](_0x25ef86),_0x16b249==null||_0x16b249[_0x47a713(0x233)][_0x47a713(0x231)](_0x36b4e6,_0x1f02e9),this[_0x47a713(0x1df)][_0x47a713(0x1f2)]({'unitId':_0x2007e2,'subUnitId':_0x598f9b,'groupId':_0x25ef86,'type':_0x47a713(0x1d5)});}}['clearSparklineCache'](_0x1c417d,_0x376802,_0x8065da){const _0x316ec8=_0x44a12f;var _0x3d59c8,_0x5f218a,_0xf27ce,_0x19aafd;const _0x303662=(_0xf27ce=(_0x5f218a=(_0x3d59c8=this[_0x316ec8(0x237)][_0x316ec8(0x1dc)](_0x1c417d))==null?void 0x0:_0x3d59c8[_0x316ec8(0x1dc)](_0x376802))==null?void 0x0:_0x5f218a[_0x316ec8(0x1dc)](_0x8065da))==null?void 0x0:_0xf27ce['sparklines'],_0x65daae=(_0x19aafd=this['_sparklineAnchorMap']['get'](_0x1c417d))==null?void 0x0:_0x19aafd['get'](_0x376802);if(_0x303662&&_0x65daae){const {matrix:_0x56369c,extra:_0x48829c}=_0x65daae;_0x303662[_0x316ec8(0x1d8)]((_0x2c2f8d,_0x4dbca0,_0x53cf5b)=>{const _0x69c59f=_0x316ec8;_0x56369c[_0x69c59f(0x231)](_0x2c2f8d,_0x4dbca0);}),delete _0x48829c[_0x8065da];}}[_0x44a12f(0x1ca)](_0x568eda,_0x188ef0){const _0x37a290=_0x44a12f;var _0xcc7db;return(_0xcc7db=this[_0x37a290(0x237)]['get'](_0x568eda))==null?void 0x0:_0xcc7db[_0x37a290(0x1dc)](_0x188ef0);}[_0x44a12f(0x21c)](_0x3c93a0,_0x5e8dbf,_0x4d7e52){const _0x387365=_0x44a12f;var _0x2b775e,_0x34308c;return(_0x34308c=(_0x2b775e=this[_0x387365(0x237)][_0x387365(0x1dc)](_0x3c93a0))==null?void 0x0:_0x2b775e[_0x387365(0x1dc)](_0x5e8dbf))==null?void 0x0:_0x34308c['get'](_0x4d7e52);}[_0x44a12f(0x203)](_0x3b9776,_0x3238a6,_0x517398,_0x3c8f7e){const _0x3b0cdb=_0x44a12f;var _0x1999a1,_0x34d53a,_0x346193;return(_0x346193=(_0x34d53a=(_0x1999a1=this[_0x3b0cdb(0x1fb)][_0x3b0cdb(0x1dc)](_0x3b9776))==null?void 0x0:_0x1999a1[_0x3b0cdb(0x1dc)](_0x3238a6))==null?void 0x0:_0x34d53a[_0x3b0cdb(0x233)][_0x3b0cdb(0x22e)](_0x517398,_0x3c8f7e))==null?void 0x0:_0x346193[_0x3b0cdb(0x1bb)];}[_0x44a12f(0x208)](_0x1f740c,_0x5cbf96){const _0x1756a4=_0x44a12f;var _0x18d06;const _0x501f52=this['_ensureAnchorMatrix'](_0x1f740c,_0x5cbf96);_0x501f52['matrix'][_0x1756a4(0x1d8)]((_0x5e5003,_0x2261ee,_0x20b464)=>{const _0x7d7b60=_0x1756a4;_0x501f52[_0x7d7b60(0x233)][_0x7d7b60(0x231)](_0x5e5003,_0x2261ee);});const _0x5155bc=(_0x18d06=this[_0x1756a4(0x237)]['get'](_0x1f740c))==null?void 0x0:_0x18d06[_0x1756a4(0x1dc)](_0x5cbf96);if(_0x5155bc){for(const [_0x517619,_0x4723fd]of _0x5155bc)this[_0x1756a4(0x251)](_0x1f740c,_0x5cbf96,_0x517619);}}[_0x44a12f(0x21a)](){const _0x260589=_0x44a12f;return{'sparklineModel':this[_0x260589(0x237)],'sparklineAnchorMap':this[_0x260589(0x1fb)]};}[_0x44a12f(0x209)](_0x4a4ab6){const _0x1cfc40=_0x44a12f,_0x21d5f0={};if(this[_0x1cfc40(0x237)][_0x1cfc40(0x1ba)](_0x4a4ab6)){_0x21d5f0[_0x4a4ab6]={};const _0x5843ed=this[_0x1cfc40(0x237)][_0x1cfc40(0x1dc)](_0x4a4ab6);_0x5843ed!=null&&_0x5843ed[_0x1cfc40(0x21f)]&&Array['from'](_0x5843ed[_0x1cfc40(0x1c2)]())['forEach'](_0x28d5a4=>{const _0x45ce68=_0x1cfc40;_0x21d5f0[_0x4a4ab6][_0x28d5a4]={};const _0x3694b9=_0x5843ed[_0x45ce68(0x1dc)](_0x28d5a4);_0x3694b9!=null&&_0x3694b9[_0x45ce68(0x21f)]&&Array['from'](_0x3694b9['keys']())[_0x45ce68(0x218)](_0x2a50c8=>{const _0x195484=_0x45ce68,_0x44f6e5=_0x3694b9[_0x195484(0x1dc)](_0x2a50c8);_0x44f6e5&&(_0x21d5f0[_0x4a4ab6][_0x28d5a4][_0x2a50c8]={'config':_0x44f6e5['config'],'sparklines':_0x44f6e5['sparklines'][_0x195484(0x269)]()});});});}return _0x21d5f0;}['fromJSON'](_0x363072){const _0x15f9f7=_0x44a12f;if(!_0x363072)return;Object[_0x15f9f7(0x1c2)](_0x363072)[_0x15f9f7(0x218)](_0x510b3f=>{const _0x99abce=_0x15f9f7,_0x5af011=_0x363072[_0x510b3f];_0x5af011&&Object[_0x99abce(0x1c2)](_0x5af011)[_0x99abce(0x218)](_0x306b8b=>{const _0x528b85=_0x5af011[_0x306b8b];_0x528b85&&Object['keys'](_0x528b85)['forEach'](_0x3e4d86=>{const _0x99374f=_0x32ee,_0x29209d=_0x528b85[_0x3e4d86];if(_0x29209d){const _0x5f21bf={'config':_0x29209d['config'],'sparklines':new _0x1a9da2(_0x29209d[_0x99374f(0x25a)])};this['addSparkline'](_0x510b3f,_0x306b8b,_0x3e4d86,_0x5f21bf);}});});});}[_0x44a12f(0x22d)](_0x3488c1){const _0x1e86db=_0x44a12f,_0x79e26a=this[_0x1e86db(0x237)][_0x1e86db(0x1dc)](_0x3488c1);if(_0x79e26a){for(const [_0x9ed208]of _0x79e26a){const _0x6875fd=_0x79e26a[_0x1e86db(0x1dc)](_0x9ed208);if(_0x6875fd){for(const [_0xd7bf0e]of _0x6875fd)this['clearSparklineCache'](_0x3488c1,_0x9ed208,_0xd7bf0e);}}this[_0x1e86db(0x237)][_0x1e86db(0x24a)](_0x3488c1);}}};x=Vt([yt(0x0,_0x1fd426(_0x29344f))],x);function _0x32ee(_0xae2bd1,_0x33b387){const _0xc2e943=_0xc2e9();return _0x32ee=function(_0x32eefa,_0x38eca6){_0x32eefa=_0x32eefa-0x1ac;let _0x3d2464=_0xc2e943[_0x32eefa];return _0x3d2464;},_0x32ee(_0xae2bd1,_0x33b387);}const V={'id':_0x44a12f(0x1b2),'type':_0x468881[_0x44a12f(0x249)],'handler':(_0x14884f,_0x2e9a4b)=>{const _0x5f630a=_0x44a12f;if(!_0x2e9a4b)return!0x1;const {sparklineConfigMap:_0xd879f0,unitId:_0x3dfddb,subUnitId:_0x46cb6f}=_0x2e9a4b,_0x5ce997=_0x14884f[_0x5f630a(0x1dc)](x);return Object[_0x5f630a(0x217)](_0xd879f0)[_0x5f630a(0x218)](([_0x17a70f,_0x3fc51d])=>{const _0x5030ba=_0x5f630a,_0x13b9bd={'config':_0x3fc51d[_0x5030ba(0x20a)],'sparklines':new _0x1a9da2(_0x3fc51d[_0x5030ba(0x25a)])};_0x5ce997['addSparkline'](_0x3dfddb,_0x46cb6f,_0x17a70f,_0x13b9bd);}),!0x0;}},y={'id':_0x44a12f(0x1ce),'type':_0x468881['MUTATION'],'handler':(_0x267d88,_0x5f23f2)=>{const _0x60c1a4=_0x44a12f;if(!_0x5f23f2)return!0x1;const {unitId:_0x1788a7,subUnitId:_0x54e13e,ranges:_0x4e3766,isSingle:_0x2ae183,groupIds:_0x30fe42}=_0x5f23f2,_0x392571=_0x267d88['get'](x);return _0x30fe42?(_0x30fe42[_0x60c1a4(0x218)](_0x46cc61=>{const _0x42e9c1=_0x60c1a4;_0x392571[_0x42e9c1(0x260)](_0x1788a7,_0x54e13e,_0x46cc61);}),!0x0):_0x4e3766?(_0x4e3766['forEach'](_0x4ae2ae=>{const _0x9229e9=_0x60c1a4;_0x280d9c[_0x9229e9(0x1f8)](_0x4ae2ae,(_0x1c5537,_0x3d1c7d)=>{const _0x27af59=_0x9229e9,_0x27fe51=_0x392571[_0x27af59(0x203)](_0x1788a7,_0x54e13e,_0x1c5537,_0x3d1c7d);_0x27fe51&&(_0x2ae183?_0x392571['removePartSparkline'](_0x1788a7,_0x54e13e,_0x1c5537,_0x3d1c7d):_0x392571[_0x27af59(0x260)](_0x1788a7,_0x54e13e,_0x27fe51));});}),!0x0):!0x1;}},Nt={'id':_0x44a12f(0x1c6),'type':_0x468881[_0x44a12f(0x1be)],'handler':(_0x17058e,_0x59c8e5)=>{const _0x3773a8=_0x44a12f;if(!_0x59c8e5)return!0x1;const {sourceRanges:_0x566837,targetRanges:_0x240ea3,config:_0x4eed1d}=_0x59c8e5,_0x325b90=_0x17058e[_0x3773a8(0x1dc)](_0x3a4330),_0x45c7da='g_'+_0x4f823d(0x6),_0xe2b092=Fe(_0x566837,_0x240ea3),_0x1ce01a={'config':_0x4eed1d!=null?_0x4eed1d:{},'sparklines':_0xe2b092[_0x3773a8(0x269)]()},_0xa02e5a=_0x17058e[_0x3773a8(0x1dc)](_0x29344f),_0x36df17=_0x17058e[_0x3773a8(0x1dc)](x),_0xb7472c=_0x22457a(_0xa02e5a);if(!_0xb7472c)return!0x1;const {unitId:_0x4989b8,subUnitId:_0x3dd024}=_0xb7472c,_0x42e160=_0x17058e['get'](_0x16dc63),_0x457042=[],_0x15d22a=[],_0x21f7c6={},_0x4d7b6b={},_0x22ff8d=new Set([_0x45c7da]);_0xe2b092['forValue']((_0x29379d,_0x45857f,_0x32bb34)=>{const _0x5cba7c=_0x3773a8,_0xefeac0=_0x36df17[_0x5cba7c(0x203)](_0x4989b8,_0x3dd024,_0x29379d,_0x45857f);if(_0xefeac0){const _0xca6e22=_0x36df17['getSparklineById'](_0x4989b8,_0x3dd024,_0xefeac0);if(_0xca6e22){_0x22ff8d[_0x5cba7c(0x1d4)](_0xefeac0);let _0x18c654=_0x21f7c6[_0xefeac0],_0x3b7322=_0x4d7b6b[_0xefeac0];_0x3b7322||(_0x3b7322={'config':_0x380d23[_0x5cba7c(0x253)](_0xca6e22['config']),'sparklines':new _0x1a9da2(_0xca6e22[_0x5cba7c(0x25a)][_0x5cba7c(0x1e9)]())},_0x4d7b6b[_0xefeac0]=_0x3b7322),_0x18c654||(_0x18c654={'config':_0x380d23[_0x5cba7c(0x253)](_0xca6e22[_0x5cba7c(0x20a)]),'sparklines':_0xca6e22[_0x5cba7c(0x25a)][_0x5cba7c(0x1e9)]()},_0x21f7c6[_0xefeac0]=_0x18c654),_0x3b7322[_0x5cba7c(0x25a)]['realDeleteValue'](_0x29379d,_0x45857f);}}});const _0xfbdc90={};return Object[_0x3773a8(0x217)](_0x4d7b6b)['forEach'](([_0x23ca85,_0x4851b1])=>{const _0x9695d2=_0x3773a8;_0x4851b1[_0x9695d2(0x25a)]['getSizeOf']()&&(_0xfbdc90[_0x23ca85]={'config':_0x4851b1['config'],'sparklines':_0x4851b1[_0x9695d2(0x25a)][_0x9695d2(0x1e9)]()});}),_0xfbdc90[_0x45c7da]=_0x1ce01a,_0x457042[_0x3773a8(0x1fc)]({'id':y['id'],'params':{'unitId':_0x4989b8,'subUnitId':_0x3dd024,'groupIds':Array[_0x3773a8(0x25c)](_0x22ff8d),'isSingle':!0x1}}),_0x22ff8d[_0x3773a8(0x21f)]>0x1&&(_0x15d22a[_0x3773a8(0x1fc)]({'id':y['id'],'params':{'unitId':_0x4989b8,'subUnitId':_0x3dd024,'groupIds':Array[_0x3773a8(0x25c)](_0x22ff8d),'isSingle':!0x1}}),_0x457042[_0x3773a8(0x1fc)]({'id':V['id'],'params':{'unitId':_0x4989b8,'subUnitId':_0x3dd024,'sparklineConfigMap':_0x21f7c6}})),_0x15d22a[_0x3773a8(0x1fc)]({'id':V['id'],'params':{'unitId':_0x4989b8,'subUnitId':_0x3dd024,'sparklineConfigMap':_0xfbdc90}}),_0x5da056(_0x15d22a,_0x42e160),_0x325b90['pushUndoRedo']({'unitID':_0x4989b8,'undoMutations':_0x457042,'redoMutations':_0x15d22a}),!0x0;}},Ot={'id':_0x44a12f(0x1d0),'type':_0x468881[_0x44a12f(0x1be)],'handler':(_0x247386,_0x128189)=>{const _0x11ea21=_0x44a12f;var _0x15f533;const {isSingle:_0x367366=!0x0}=_0x128189||{},_0x55ba4d=_0x247386[_0x11ea21(0x1dc)](_0x16dc63),_0x4c0290=_0x247386[_0x11ea21(0x1dc)](_0x29344f),_0x56c048=_0x247386[_0x11ea21(0x1dc)](x),_0x3309a5=_0x247386[_0x11ea21(0x1dc)](_0x3a4330),_0x86f283=_0x22457a(_0x4c0290);if(!_0x86f283)return!0x1;const _0x421f14=_0x247386['get'](_0x134cdd),_0x25dc43=(_0x15f533=_0x128189==null?void 0x0:_0x128189[_0x11ea21(0x1f4)])!=null?_0x15f533:_0x421f14[_0x11ea21(0x244)]()[_0x11ea21(0x246)](_0x17f769=>_0x17f769['range']),{unitId:_0xb985a0,subUnitId:_0x5baa4a}=_0x86f283,_0x1c479d=[],_0x46d654=[];_0x1c479d[_0x11ea21(0x1fc)]({'id':y['id'],'params':{'unitId':_0xb985a0,'subUnitId':_0x5baa4a,'ranges':_0x25dc43,'isSingle':_0x367366}});const _0x1640dc=[],_0x21eb15={};return _0x25dc43[_0x11ea21(0x218)](_0xfc46ca=>{const _0xf60e8b=_0x11ea21;_0x280d9c[_0xf60e8b(0x1f8)](_0xfc46ca,(_0x46c95d,_0x3300d6)=>{const _0xceadbf=_0xf60e8b,_0x524d2a=_0x56c048[_0xceadbf(0x203)](_0xb985a0,_0x5baa4a,_0x46c95d,_0x3300d6);if(_0x524d2a){const _0x3cdedb=_0x56c048[_0xceadbf(0x21c)](_0xb985a0,_0x5baa4a,_0x524d2a);_0x3cdedb&&(_0x1640dc[_0xceadbf(0x1fc)](_0x524d2a),_0x21eb15[_0x524d2a]={'config':_0x380d23[_0xceadbf(0x253)](_0x3cdedb[_0xceadbf(0x20a)]),'sparklines':_0x380d23[_0xceadbf(0x253)](_0x3cdedb[_0xceadbf(0x25a)][_0xceadbf(0x1e9)]())});}});}),_0x46d654['push']({'id':y['id'],'params':{'unitId':_0xb985a0,'subUnitId':_0x5baa4a,'groupIds':_0x1640dc,'isSingle':!0x1}}),_0x46d654[_0x11ea21(0x1fc)]({'id':V['id'],'params':{'unitId':_0xb985a0,'subUnitId':_0x5baa4a,'sparklineConfigMap':_0x21eb15}}),_0x5da056(_0x1c479d,_0x55ba4d),_0x3309a5['pushUndoRedo']({'unitID':_0xb985a0,'undoMutations':_0x46d654,'redoMutations':_0x1c479d}),!0x0;}},Oe={'id':_0x44a12f(0x22f),'type':_0x468881[_0x44a12f(0x249)],'handler':(_0x164310,_0x26606a)=>{const _0x3edd60=_0x44a12f;if(!_0x26606a)return!0x1;const {unitId:_0xfb2aa1,subUnitId:_0x308575,groupIds:_0x3fec9c,config:_0x1abac6}=_0x26606a,_0x311c04=_0x164310[_0x3edd60(0x1dc)](x);return _0x3fec9c[_0x3edd60(0x218)](_0x539418=>{const _0x27427f=_0x3edd60,_0x95007b=_0x311c04[_0x27427f(0x21c)](_0xfb2aa1,_0x308575,_0x539418);if(_0x95007b){const _0x3dfc9f={'config':Object['assign']({},_0x95007b[_0x27427f(0x20a)],_0x1abac6[_0x27427f(0x20a)]),'sparklines':new _0x1a9da2(_0x95007b['sparklines']['clone']())};_0x311c04['setSparkline'](_0xfb2aa1,_0x308575,[_0x539418],_0x3dfc9f);}}),!0x0;}},xt={'id':_0x44a12f(0x240),'type':_0x468881[_0x44a12f(0x1be)],'handler':(_0x9de578,_0x10d68d)=>{const _0x35a760=_0x44a12f;var _0x211443,_0x2f9fd0,_0x2b1d76,_0x54bbd8;if(!_0x10d68d)return!0x1;const _0x4a27f4=_0x9de578[_0x35a760(0x1dc)](_0x16dc63),_0x125ee1=_0x9de578[_0x35a760(0x1dc)](_0x134cdd),_0x3b4fca=_0x9de578[_0x35a760(0x1dc)](x),_0x3cb127=_0x9de578[_0x35a760(0x1dc)](_0x29344f),_0x48ecd1=_0x9de578[_0x35a760(0x1dc)](_0x3a4330),_0x3ebc7c=_0x22457a(_0x3cb127);if(!_0x3ebc7c)return!0x1;const {unitId:_0x16b0f1,subUnitId:_0xd28e33}=_0x3ebc7c,_0x519a7c=(_0x211443=_0x10d68d==null?void 0x0:_0x10d68d[_0x35a760(0x1f4)])!=null?_0x211443:_0x125ee1['getCurrentSelections']()[_0x35a760(0x246)](_0x1c0268=>_0x1c0268[_0x35a760(0x1cd)]),_0x1e05d1=(_0x2f9fd0=_0x3b4fca[_0x35a760(0x21a)]()[_0x35a760(0x1ea)][_0x35a760(0x1dc)](_0x16b0f1))==null?void 0x0:_0x2f9fd0[_0x35a760(0x1dc)](_0xd28e33),{isChangeDataSource:_0x301a41,config:_0x59e789,combine:_0x343f2a,unCombine:_0x3262b2}=_0x10d68d;if(_0x343f2a){const _0xc42352=[],_0x1a9feb=[];_0xc42352['push']({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'ranges':_0x519a7c,'isSingle':!0x0}});const _0x3c92d9='g_'+_0x4f823d(0x6),_0x21463e=new _0x1a9da2(),_0x30596f=(_0x2b1d76=_0x3b4fca[_0x35a760(0x21a)]()[_0x35a760(0x255)][_0x35a760(0x1dc)](_0x16b0f1))==null?void 0x0:_0x2b1d76[_0x35a760(0x1dc)](_0xd28e33),_0x14584c=new Set([_0x3c92d9]),_0x3c4a86={};return _0x519a7c['forEach'](_0x22f1de=>{const _0x1f4488=_0x35a760;var _0x18f4dc,_0x58b106;const {startRow:_0x59aec8,endRow:_0x4d6805,startColumn:_0x2d0679,endColumn:_0x53f220}=_0x22f1de;for(let _0x15babd=_0x59aec8;_0x15babd<=_0x4d6805;_0x15babd++)for(let _0x281012=_0x2d0679;_0x281012<=_0x53f220;_0x281012++){const _0x4f0f48=(_0x18f4dc=_0x1e05d1==null?void 0x0:_0x1e05d1[_0x1f4488(0x233)][_0x1f4488(0x22e)](_0x15babd,_0x281012))==null?void 0x0:_0x18f4dc['groupId'];if(_0x4f0f48){_0x14584c['add'](_0x4f0f48);const _0x1815d7=_0x3b4fca[_0x1f4488(0x21c)](_0x16b0f1,_0xd28e33,_0x4f0f48);_0x1815d7&&(_0x3c4a86[_0x4f0f48]={'config':_0x380d23['deepClone'](_0x1815d7[_0x1f4488(0x20a)]),'sparklines':_0x380d23[_0x1f4488(0x253)](_0x1815d7[_0x1f4488(0x25a)]['clone']())});const _0x3297ad=(_0x58b106=_0x30596f==null?void 0x0:_0x30596f[_0x1f4488(0x1dc)](_0x4f0f48))==null?void 0x0:_0x58b106['sparklines'][_0x1f4488(0x22e)](_0x15babd,_0x281012);_0x3297ad&&_0x21463e['setValue'](_0x15babd,_0x281012,_0x3297ad);}}}),_0xc42352['push']({'id':V['id'],'params':{'sparklineConfigMap':{[_0x3c92d9]:{'config':_0x380d23[_0x35a760(0x253)](_0x59e789[_0x35a760(0x20a)]),'sparklines':_0x21463e[_0x35a760(0x269)]()}},'unitId':_0x16b0f1,'subUnitId':_0xd28e33}}),_0x1a9feb[_0x35a760(0x1fc)]({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'isSingle':!0x1,'groupIds':Array[_0x35a760(0x25c)](_0x14584c)}}),_0x1a9feb[_0x35a760(0x1fc)]({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':_0x3c4a86}}),_0x5da056(_0xc42352,_0x4a27f4),_0x48ecd1[_0x35a760(0x23a)]({'unitID':_0x16b0f1,'undoMutations':_0x1a9feb,'redoMutations':_0xc42352}),!0x0;}else{if(_0x3262b2){const _0x45a2d0=[],_0x505025=[];_0x45a2d0['push']({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'ranges':_0x519a7c,'isSingle':!0x0}});const _0x5263da=(_0x54bbd8=_0x3b4fca['getSparklineCache']()[_0x35a760(0x255)][_0x35a760(0x1dc)](_0x16b0f1))==null?void 0x0:_0x54bbd8['get'](_0xd28e33),_0x3bc449={},_0x5f3e11=new Set(),_0x510754={};return _0x519a7c[_0x35a760(0x218)](_0x571835=>{const _0x30ba8=_0x35a760;var _0x20d2f7,_0x446c14;const {startRow:_0x2ee549,endRow:_0x47eca6,startColumn:_0x4b0a89,endColumn:_0x24f495}=_0x571835;for(let _0x1a5c4c=_0x2ee549;_0x1a5c4c<=_0x47eca6;_0x1a5c4c++)for(let _0x5a6108=_0x4b0a89;_0x5a6108<=_0x24f495;_0x5a6108++){const _0x515de0=(_0x20d2f7=_0x1e05d1==null?void 0x0:_0x1e05d1[_0x30ba8(0x233)]['getValue'](_0x1a5c4c,_0x5a6108))==null?void 0x0:_0x20d2f7[_0x30ba8(0x1bb)];if(_0x515de0){const _0x116220=new _0x1a9da2(),_0x3b26ed='g_'+_0x4f823d(0x6);_0x5f3e11[_0x30ba8(0x1d4)](_0x515de0),_0x5f3e11[_0x30ba8(0x1d4)](_0x3b26ed);const _0x180291=_0x3b4fca['getSparklineById'](_0x16b0f1,_0xd28e33,_0x515de0);_0x180291&&(_0x510754[_0x515de0]={'config':_0x380d23[_0x30ba8(0x253)](_0x180291[_0x30ba8(0x20a)]),'sparklines':_0x380d23[_0x30ba8(0x253)](_0x180291[_0x30ba8(0x25a)][_0x30ba8(0x1e9)]())});const _0x4582f0=(_0x446c14=_0x5263da==null?void 0x0:_0x5263da[_0x30ba8(0x1dc)](_0x515de0))==null?void 0x0:_0x446c14[_0x30ba8(0x25a)]['getValue'](_0x1a5c4c,_0x5a6108);_0x4582f0&&_0x116220['setValue'](_0x1a5c4c,_0x5a6108,_0x4582f0),_0x3bc449[_0x3b26ed]={'sparklines':_0x116220[_0x30ba8(0x269)](),'config':_0x380d23[_0x30ba8(0x253)](_0x59e789[_0x30ba8(0x20a)])};}}}),_0x45a2d0[_0x35a760(0x1fc)]({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':_0x3bc449}}),_0x505025[_0x35a760(0x1fc)]({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'isSingle':!0x1,'groupIds':Array[_0x35a760(0x25c)](_0x5f3e11)}}),_0x505025[_0x35a760(0x1fc)]({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':_0x510754}}),_0x5da056(_0x45a2d0,_0x4a27f4),_0x48ecd1[_0x35a760(0x23a)]({'unitID':_0x16b0f1,'undoMutations':_0x505025,'redoMutations':_0x45a2d0}),!0x0;}}if(_0x301a41){const _0x5c3e49=_0x10d68d[_0x35a760(0x204)];if(!_0x5c3e49)return!0x1;const {groupId:_0x19d3bd,sourceRanges:_0x16c92c,targetRanges:_0x1a9b08,resetType:_0x197cb2,primary:_0x2b2f86}=_0x5c3e49,_0x590fa5=[],_0x2d8f9e=[];_0x590fa5[_0x35a760(0x1fc)]({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'ranges':_0x519a7c,'isSingle':!0x1,'groupIds':[_0x19d3bd]}}),_0x2d8f9e[_0x35a760(0x1fc)]({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'ranges':_0x519a7c,'isSingle':!0x1,'groupIds':[_0x19d3bd]}});let _0x21e36d;_0x197cb2==='item'?(_0x21e36d=new _0x1a9da2(_0x59e789[_0x35a760(0x25a)][_0x35a760(0x1e9)]()),_0x21e36d[_0x35a760(0x231)](_0x2b2f86['actualRow'],_0x2b2f86['actualColumn']),_0x21e36d['setValue'](_0x1a9b08[0x0][_0x35a760(0x1ff)],_0x1a9b08[0x0][_0x35a760(0x257)],_0x16c92c[0x0])):_0x21e36d=Fe(_0x16c92c,_0x1a9b08);const _0x3e004c={'config':_0x380d23[_0x35a760(0x253)](_0x59e789['config']),'sparklines':_0x21e36d[_0x35a760(0x269)]()},_0x4c630d={'config':_0x380d23['deepClone'](_0x59e789[_0x35a760(0x20a)]),'sparklines':_0x380d23[_0x35a760(0x253)](_0x59e789['sparklines'][_0x35a760(0x1e9)]())};_0x590fa5[_0x35a760(0x1fc)]({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':{[_0x19d3bd]:_0x3e004c}}}),_0x2d8f9e['push']({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':{[_0x19d3bd]:_0x4c630d}}}),_0x5da056(_0x590fa5,_0x4a27f4),_0x48ecd1['pushUndoRedo']({'unitID':_0x16b0f1,'undoMutations':_0x2d8f9e,'redoMutations':_0x590fa5});}else{const _0xf5e76d=[],_0x12c40a=[],_0x31bae2=new Set(),_0x424dbd={};_0x519a7c[_0x35a760(0x218)](_0x7c6fd3=>{const _0x2ef970=_0x35a760;var _0x10d6fe;const {startRow:_0x1d2480,endRow:_0x1d37ca,startColumn:_0x507510,endColumn:_0x2f3754}=_0x7c6fd3;for(let _0x2a6285=_0x1d2480;_0x2a6285<=_0x1d37ca;_0x2a6285++)for(let _0x31d0c0=_0x507510;_0x31d0c0<=_0x2f3754;_0x31d0c0++){const _0x16876b=(_0x10d6fe=_0x1e05d1==null?void 0x0:_0x1e05d1[_0x2ef970(0x233)][_0x2ef970(0x22e)](_0x2a6285,_0x31d0c0))==null?void 0x0:_0x10d6fe[_0x2ef970(0x1bb)];if(_0x16876b){_0x31bae2['add'](_0x16876b);const _0x540d40=_0x3b4fca[_0x2ef970(0x21c)](_0x16b0f1,_0xd28e33,_0x16876b);_0x540d40&&(_0x424dbd[_0x16876b]={'config':_0x380d23['deepClone'](_0x540d40['config']),'sparklines':_0x380d23[_0x2ef970(0x253)](_0x540d40[_0x2ef970(0x25a)]['clone']())});}}}),_0x12c40a[_0x35a760(0x1fc)]({'id':Oe['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'groupIds':Array[_0x35a760(0x25c)](_0x31bae2),'config':{'config':_0x380d23[_0x35a760(0x253)](_0x59e789[_0x35a760(0x20a)]),'sparklines':_0x59e789[_0x35a760(0x25a)][_0x35a760(0x269)]()}}}),_0xf5e76d[_0x35a760(0x1fc)]({'id':y['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'isSingle':!0x1,'groupIds':Array[_0x35a760(0x25c)](_0x31bae2)}}),_0xf5e76d[_0x35a760(0x1fc)]({'id':V['id'],'params':{'unitId':_0x16b0f1,'subUnitId':_0xd28e33,'sparklineConfigMap':_0x424dbd}}),_0x5da056(_0x12c40a,_0x4a27f4),_0x48ecd1[_0x35a760(0x23a)]({'unitID':_0x16b0f1,'undoMutations':_0xf5e76d,'redoMutations':_0x12c40a});}return!0x0;}};var Ut=Object[_0x44a12f(0x23f)],Pt=(_0x509fd4,_0x1e4f40,_0x97fa5d,_0xc815e2)=>{const _0x36f0fe=_0x44a12f;for(var _0x2f9ce7=_0xc815e2>0x1?void 0x0:_0xc815e2?Ut(_0x1e4f40,_0x97fa5d):_0x1e4f40,_0x38058e=_0x509fd4[_0x36f0fe(0x221)]-0x1,_0x2e9a01;_0x38058e>=0x0;_0x38058e--)(_0x2e9a01=_0x509fd4[_0x38058e])&&(_0x2f9ce7=_0x2e9a01(_0x2f9ce7)||_0x2f9ce7);return _0x2f9ce7;},ge=(_0x5448b9,_0x3c16dc)=>(_0x4803b6,_0x469e35)=>_0x3c16dc(_0x4803b6,_0x469e35,_0x5448b9);let Se=class extends _0x5ef22a{constructor(_0x1dd809,_0x3ef2d4,_0x564b68,_0x8d44ff){const _0x5bca9d=_0x44a12f;super(),this[_0x5bca9d(0x1b7)]=_0x1dd809,this[_0x5bca9d(0x23c)]=_0x3ef2d4,this[_0x5bca9d(0x1e1)]=_0x564b68,this[_0x5bca9d(0x1cb)]=_0x8d44ff,this[_0x5bca9d(0x1c3)]();}[_0x44a12f(0x1c3)](){const _0x37f219=_0x44a12f;this['disposeWithMe'](this[_0x37f219(0x23c)][_0x37f219(0x1ed)]({'getMutations':_0x53d600=>{const _0x281a06=_0x37f219,_0x3114b4=[],_0x4c081a=[];if(_0x53d600['id']===_0x468bd6['id']){const _0x467750=_0x22457a(this['_univerInstanceService']);if(!_0x467750)return{'redos':_0x3114b4,'undos':_0x4c081a};const {unitId:_0x1f196d,subUnitId:_0x4a749f,worksheet:_0x5ef56d}=_0x467750,_0x519ade=this[_0x281a06(0x1cb)][_0x281a06(0x244)]()[_0x281a06(0x246)](_0x331ed3=>_0x331ed3[_0x281a06(0x1cd)]),_0x16edaa=new Set(),_0x148088={},_0x130cfe={};_0x519ade['forEach'](_0x5e6d14=>{const _0x727f3f=_0x281a06;_0x280d9c[_0x727f3f(0x1f8)](_0x5e6d14,(_0x1dadea,_0x1a2208)=>{const _0x11783e=_0x727f3f,_0x4b6cc9=this[_0x11783e(0x1b7)][_0x11783e(0x203)](_0x1f196d,_0x4a749f,_0x1dadea,_0x1a2208);if(_0x4b6cc9&&!_0x16edaa[_0x11783e(0x1ba)](_0x4b6cc9)){const _0x313cc5=this[_0x11783e(0x1b7)][_0x11783e(0x21c)](_0x1f196d,_0x4a749f,_0x4b6cc9);_0x313cc5&&(_0x16edaa[_0x11783e(0x1d4)](_0x4b6cc9),_0x148088[_0x4b6cc9]={'config':_0x380d23[_0x11783e(0x253)](_0x313cc5[_0x11783e(0x20a)]),'sparklines':_0x380d23[_0x11783e(0x253)](_0x313cc5[_0x11783e(0x25a)]['clone']())},_0x130cfe[_0x4b6cc9]={'config':_0x380d23[_0x11783e(0x253)](_0x313cc5[_0x11783e(0x20a)]),'sparklines':_0x380d23[_0x11783e(0x253)](_0x313cc5['sparklines'][_0x11783e(0x1e9)]())});}});}),Object[_0x281a06(0x225)](_0x130cfe)[_0x281a06(0x218)](_0x187071=>{const _0x38763a=_0x281a06,_0x5ed7f7=_0x187071['sparklines'];new _0x1a9da2(_0x5ed7f7)[_0x38763a(0x1d8)]((_0x15866d,_0xe4bce,_0x5d37be)=>{const _0x52f32b=_0x38763a;_0x519ade[_0x52f32b(0x1b9)](_0x5bc73d=>_0x49d028['intersects'](_0x5bc73d,_0x5de76d(_0x15866d,_0xe4bce)))&&delete _0x5ed7f7[_0x15866d][_0xe4bce];});}),_0x3114b4[_0x281a06(0x1fc)]({'id':y['id'],'params':{'unitId':_0x1f196d,'subUnitId':_0x4a749f,'groupIds':Array['from'](_0x16edaa),'isSingle':!0x1}}),_0x3114b4[_0x281a06(0x1fc)]({'id':V['id'],'params':{'unitId':_0x1f196d,'subUnitId':_0x4a749f,'sparklineConfigMap':_0x130cfe}}),_0x4c081a[_0x281a06(0x1fc)]({'id':y['id'],'params':{'unitId':_0x1f196d,'subUnitId':_0x4a749f,'groupIds':Array[_0x281a06(0x25c)](_0x16edaa),'isSingle':!0x1}}),_0x4c081a[_0x281a06(0x1fc)]({'id':V['id'],'params':{'unitId':_0x1f196d,'subUnitId':_0x4a749f,'sparklineConfigMap':_0x148088}});}return{'redos':_0x3114b4,'undos':_0x4c081a};}}));}};Se=Pt([ge(0x0,_0x1fd426(x)),ge(0x1,_0x1fd426(_0x55bbbe)),ge(0x2,_0x1fd426(_0x29344f)),ge(0x3,_0x1fd426(_0x134cdd))],Se);var Tt=Object[_0x44a12f(0x23f)],$t=(_0x257e9f,_0x132825,_0x134f6a,_0x4b181e)=>{const _0x3c4207=_0x44a12f;for(var _0x2b97a6=_0x4b181e>0x1?void 0x0:_0x4b181e?Tt(_0x132825,_0x134f6a):_0x132825,_0x2c6aa8=_0x257e9f[_0x3c4207(0x221)]-0x1,_0x171438;_0x2c6aa8>=0x0;_0x2c6aa8--)(_0x171438=_0x257e9f[_0x2c6aa8])&&(_0x2b97a6=_0x171438(_0x2b97a6)||_0x2b97a6);return _0x2b97a6;},Ge=(_0x2495f,_0x176939)=>(_0x25aeda,_0x389311)=>_0x176939(_0x25aeda,_0x389311,_0x2495f);let ke=class extends _0x5ef22a{constructor(_0x5b0038,_0x76e956){const _0x2153c6=_0x44a12f;super(),this[_0x2153c6(0x23c)]=_0x5b0038,this['_sparklineDataSourceModel']=_0x76e956,this[_0x2153c6(0x261)]();}[_0x44a12f(0x261)](){const _0xce3d46=_0x44a12f;this[_0xce3d46(0x228)](this[_0xce3d46(0x23c)][_0xce3d46(0x1ed)]({'getMutations':_0x41eb0f=>{const _0x54c06b=_0xce3d46,_0x1ae6d0=[],_0x229cd2=[];if(_0x41eb0f['id']===_0x55ddff['id']){const _0xfb25f8=_0x41eb0f[_0x54c06b(0x1f3)];if(!_0xfb25f8)return{'redos':_0x1ae6d0,'undos':_0x229cd2};const {unitId:_0x29c785,subUnitId:_0x334912,targetSubUnitId:_0x3442e0}=_0xfb25f8;if(!_0x29c785||!_0x334912||!_0x3442e0)return{'redos':_0x1ae6d0,'undos':_0x229cd2};const _0x5a553e=new Set(),_0x227a6a={},_0x55aca7=this[_0x54c06b(0x1b7)][_0x54c06b(0x1ca)](_0x29c785,_0x334912);if(!_0x55aca7)return{'redos':_0x1ae6d0,'undos':_0x229cd2};for(const [_0x225a30,_0x1dd4f2]of _0x55aca7){const _0x9a765d='g_'+_0x4f823d(0x6);_0x5a553e[_0x54c06b(0x1d4)](_0x225a30),_0x227a6a[_0x9a765d]={'config':_0x380d23[_0x54c06b(0x253)](_0x1dd4f2[_0x54c06b(0x20a)]),'sparklines':_0x380d23[_0x54c06b(0x253)](_0x1dd4f2[_0x54c06b(0x25a)][_0x54c06b(0x1e9)]())};}_0x5a553e['size']&&(_0x229cd2[_0x54c06b(0x1fc)]({'id':y['id'],'params':{'unitId':_0x29c785,'subUnitId':_0x3442e0,'groupIds':Array['from'](_0x5a553e),'isSingle':!0x1}}),_0x1ae6d0[_0x54c06b(0x1fc)]({'id':V['id'],'params':{'unitId':_0x29c785,'subUnitId':_0x3442e0,'sparklineConfigMap':_0x227a6a}}));}return{'redos':_0x1ae6d0,'undos':_0x229cd2};}}));}};ke=$t([Ge(0x0,_0x1fd426(_0x55bbbe)),Ge(0x1,_0x1fd426(x))],ke);var jt=Object[_0x44a12f(0x23f)],Lt=(_0x1a9d76,_0xec2a69,_0x33324b,_0x4bf4d4)=>{for(var _0x59ab07=_0x4bf4d4>0x1?void 0x0:_0x4bf4d4?jt(_0xec2a69,_0x33324b):_0xec2a69,_0x329d14=_0x1a9d76['length']-0x1,_0x3b611f;_0x329d14>=0x0;_0x329d14--)(_0x3b611f=_0x1a9d76[_0x329d14])&&(_0x59ab07=_0x3b611f(_0x59ab07)||_0x59ab07);return _0x59ab07;},be=(_0x2742a8,_0x1d59df)=>(_0x21ac25,_0x138a53)=>_0x1d59df(_0x21ac25,_0x138a53,_0x2742a8);let me=class extends _0x5ef22a{constructor(_0x39acb2,_0x7f4a87,_0x2c0541){const _0xa1e981=_0x44a12f;super(),this[_0xa1e981(0x1ae)]=_0x39acb2,this[_0xa1e981(0x1b7)]=_0x7f4a87,this[_0xa1e981(0x258)]=_0x2c0541,this[_0xa1e981(0x232)](),this[_0xa1e981(0x211)]();}[_0x44a12f(0x232)](){const _0x41079d=_0x44a12f;this['disposeWithMe'](this[_0x41079d(0x1ae)][_0x41079d(0x1e5)](_0x1a677b=>{const _0x372147=_0x41079d;if(_0x1a677b['id']===_0x43ff72['id']){const _0xf70758=_0x1a677b['params'],{cellValue:_0x3e0af9,unitId:_0x21e999,subUnitId:_0x28d166}=_0xf70758,_0x51ce83=new _0x1a9da2(_0x3e0af9),_0xb7508d=new Set(),_0x10d73b=this[_0x372147(0x1b7)][_0x372147(0x1ca)](_0x21e999,_0x28d166);if(!_0x10d73b)return;const _0x15d46e=Array['from'](_0x10d73b);_0x51ce83[_0x372147(0x1d8)]((_0x5769d5,_0x3fb14e,_0x2b554e)=>{const _0x4c1471=_0x372147,_0xd959d1=_0x5de76d(_0x5769d5,_0x3fb14e);for(let _0x3c723b=0x0;_0x3c723b<_0x15d46e[_0x4c1471(0x221)];_0x3c723b++){const [_0x1d3111,_0x4b6468]=_0x15d46e[_0x3c723b],_0x346e69=_0xb7508d[_0x4c1471(0x1ba)](_0x1d3111);_0x346e69||_0x4b6468[_0x4c1471(0x25a)][_0x4c1471(0x1d8)]((_0x3b56c4,_0x12a825,_0x3156ff)=>{const _0x105b5d=_0x4c1471,_0x5118ab=_0x3156ff;if(_0x5118ab&&!_0x346e69&&_0x49d028[_0x105b5d(0x229)](_0xd959d1,_0x5118ab))return _0xb7508d[_0x105b5d(0x1d4)](_0x1d3111),!0x0;});}}),_0xb7508d[_0x372147(0x218)](_0x460bf7=>{const _0x96a52f=_0x372147;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x21e999,_0x28d166,_0x460bf7),this[_0x96a52f(0x1b7)][_0x96a52f(0x251)](_0x21e999,_0x28d166,_0x460bf7);});}else{if(_0x1a677b['id']===_0x7b99e9['id']){const _0x586541=_0x1a677b[_0x372147(0x1f3)],{range:_0x38beb2,unitId:_0xfa85ed,subUnitId:_0x19e6b2}=_0x586541,_0x581bc6=new Set(),_0x40e505=this[_0x372147(0x1b7)][_0x372147(0x1ca)](_0xfa85ed,_0x19e6b2);if(!_0x40e505)return;const _0x4c6fb2=Array[_0x372147(0x25c)](_0x40e505);for(let _0x3a3f85=0x0;_0x3a3f85<_0x4c6fb2[_0x372147(0x221)];_0x3a3f85++){const [_0x274e10,_0x554a71]=_0x4c6fb2[_0x3a3f85],_0x36c390=_0x581bc6[_0x372147(0x1ba)](_0x274e10);_0x36c390||_0x554a71[_0x372147(0x25a)][_0x372147(0x1d8)]((_0x7c7971,_0x16ff98,_0x1f3562)=>{const _0x28fb23=_0x372147,_0x523f68=_0x1f3562;if(_0x523f68&&!_0x36c390&&_0x49d028[_0x28fb23(0x229)](_0x38beb2,_0x523f68))return _0x581bc6[_0x28fb23(0x1d4)](_0x274e10),!0x0;});}_0x581bc6[_0x372147(0x218)](_0x4dcd26=>{const _0x42bf64=_0x372147;this['_sparklineDataSourceModel'][_0x42bf64(0x1b0)](_0xfa85ed,_0x19e6b2,_0x4dcd26),this[_0x42bf64(0x1b7)]['updateSparklineExtraNum'](_0xfa85ed,_0x19e6b2,_0x4dcd26);});}}}));}['_initExclusiveRangeChange'](){const _0x2d6c1f=_0x44a12f;this['disposeWithMe'](this[_0x2d6c1f(0x258)]['exclusiveRangesChange$'][_0x2d6c1f(0x223)](_0x4e85be=>{const _0x344419=_0x2d6c1f,{unitId:_0x4a107,subUnitId:_0x173162,ranges:_0xe90566}=_0x4e85be,_0x5262a6=this[_0x344419(0x1b7)][_0x344419(0x1ca)](_0x4a107,_0x173162);if(!_0x5262a6)return;const _0x576db4=Array[_0x344419(0x25c)](_0x5262a6),_0x419022=new Set();for(let _0x54dc67=0x0;_0x54dc67<_0x576db4[_0x344419(0x221)];_0x54dc67++){const [_0x46e68d,_0x16f9d2]=_0x576db4[_0x54dc67],_0x563de7=_0x419022[_0x344419(0x1ba)](_0x46e68d);_0x563de7||_0x16f9d2[_0x344419(0x25a)][_0x344419(0x1d8)]((_0x545335,_0x526234,_0x5e3423)=>{const _0x20775a=_0x344419,_0x918464=_0x5e3423;if(_0x918464&&!_0x563de7){for(const _0x18599e of _0xe90566)if(_0x49d028[_0x20775a(0x229)](_0x18599e,_0x918464)){_0x419022[_0x20775a(0x1d4)](_0x46e68d);break;}}});}_0x419022[_0x344419(0x218)](_0x45dbda=>{const _0x25929a=_0x344419;this[_0x25929a(0x1b7)]['clearSparklineCache'](_0x4a107,_0x173162,_0x45dbda),this[_0x25929a(0x1b7)]['updateSparklineExtraNum'](_0x4a107,_0x173162,_0x45dbda);});}));}};me=Lt([be(0x0,_0x1fd426(_0x16dc63)),be(0x1,_0x1fd426(x)),be(0x2,_0x1fd426(_0x423212))],me);var Gt=Object[_0x44a12f(0x23f)],Wt=(_0x3a3ace,_0x8fd327,_0x63b37b,_0x2fa040)=>{const _0x34aa45=_0x44a12f;for(var _0x4c59a5=_0x2fa040>0x1?void 0x0:_0x2fa040?Gt(_0x8fd327,_0x63b37b):_0x8fd327,_0x40868e=_0x3a3ace[_0x34aa45(0x221)]-0x1,_0x2831ec;_0x40868e>=0x0;_0x40868e--)(_0x2831ec=_0x3a3ace[_0x40868e])&&(_0x4c59a5=_0x2831ec(_0x4c59a5)||_0x4c59a5);return _0x4c59a5;},We=(_0xebb805,_0x42e917)=>(_0x372fff,_0x6a1336)=>_0x42e917(_0x372fff,_0x6a1336,_0xebb805);function _0xc2e9(){const _0x536eea=['clone','sparklineAnchorMap','2687948DCbUsz','every','interceptCommand','value','min','_refRangeService','_initSnapshot','next','params','ranges','getCell','SPACING','addSparkline','foreach','max','19962833YSoZIv','_sparklineAnchorMap','push','STANDARD','PIE_CHART','startRow','moveColumns','rgb(236,100,169)','MIN_SAFE_INTEGER','getSparkline','changeDataSourceInfo','rgb(30,177,189)','12006xaFmiJ','type','reBuildAnchorCache','toJSON','config','7LHcuhw','_config','emptyShowAs','containHiddenCells','CUSTOM_EXTREMUM','extremumMin','_initExclusiveRangeChange','UNIVER_SHEET','nonNumShowAs','STRING','_onRefRangeChange','custom','entries','forEach','standard','getSparklineCache','subUnitId','getSparklineById','CONNECT_WITH_LINE','_initMergeWithSparkline','size','lowPoint','length','getSizeOf','subscribe','_injector','values','stringify','_initRegisterCommand','disposeWithMe','intersects','unitId','677510VDMsbS','updateConfig$','deleteUnit','getValue','sheet.mutation.set-sparkline','dispose','realDeleteValue','_initDataChangeListener','matrix','u-spacing','fresh','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','_sparklineModel','endRow','getCellRaw','pushUndoRedo','removePartSparkline','_sheetInterceptorService','ZERO_VALUE','registerCommand','getOwnPropertyDescriptor','sheet.command.set-sparkline','asObservable','_ensureConfigMap','CUSTOM','getCurrentSelections','537184sYmTuH','map','registerRefRange','onReady','MUTATION','delete','getSheetBySheetId','firstPoint','_resourceManagerService','moveRows','MAX_SAFE_INTEGER','highPoint','updateSparklineExtraNum','seriesColor','deepClone','rgb(124,66,147)','sparklineModel','SELF_EXTREMUM','startColumn','_exclusiveRangeService','700PGCnEA','sparklines','fromJSON','from','distinctive','getRowVisible','rgb(248,190,21)','removeSparkline','_initCopySheetWithSparkline','removeRows','3638oWTWfe','LINE_CHART','connect_with_line','_getRefRangeMutationsByDeleteRows','FORCE_STRING','NUMBER','getMatrix','SPECIALTY','BAR_CHART','3027tjnxEW','_commandService','NORMAL','clearSparklineCache','GROUP_EXTREMUM','sheet.mutation.add-sparkline','row','10guFveY','column','removeColumns','_sparklineDataSourceModel','rgb(54,78,244)','some','has','groupId','setAlpha','parse','COMMAND','disposableCollection','rgb(49,106,246)','_initCorrectRangeWithSparkline','keys','_initClearWithSparkline','defineProperty','_ensureAnchorMatrix','sheet.command.add-sparkline','hasValue','number','negativePoint','getSubUnitSparkline','_sheetSelectionService','markersPoint','range','sheet.mutation.remove-sparkline','_initDependencies','sheet.command.remove-sparkline','refRangeHandle','soft','rgb(244,104,249)','add','remove','getCurrentUnitForType','getColVisible','forValue','_initHideRowColWithSparkline','set','contains','get','extremumMax','u-connect','_updateConfig$','endColumn','_univerInstanceService','_getRefRangeMutationsByDeleteCols','SHEET_SPARKLINE_PLUGIN','2314914ZkbzAs','onCommandExecuted','setValue','SOFT','rgb(46,187,122)'];_0xc2e9=function(){return _0x536eea;};return _0xc2e9();}let Ce=class extends _0x5ef22a{constructor(_0x371f49,_0xbe87b8){const _0x13f90d=_0x44a12f;super(),this[_0x13f90d(0x1ae)]=_0x371f49,this[_0x13f90d(0x1b7)]=_0xbe87b8,this[_0x13f90d(0x1d9)]();}[_0x44a12f(0x1d9)](){const _0x5c0cae=_0x44a12f;this[_0x5c0cae(0x1ae)][_0x5c0cae(0x1e5)](_0x4dabae=>{const _0x47ea08=_0x5c0cae;if(_0x4dabae['id']===_0x472792['id']||_0x4dabae['id']===_0x393b75['id']||_0x4dabae['id']===_0x481419['id']||_0x4dabae['id']===_0x174185['id']){const _0x1bd4ed=_0x4dabae[_0x47ea08(0x1f3)],{ranges:_0x474cf8,unitId:_0x409042,subUnitId:_0x358954}=_0x1bd4ed,_0x31816e=new Set(),_0x46bc12=this['_sparklineDataSourceModel'][_0x47ea08(0x1ca)](_0x409042,_0x358954);if(!_0x46bc12)return;const _0x3f5609=Array['from'](_0x46bc12);_0x474cf8[_0x47ea08(0x218)](_0x4a7676=>{_0x280d9c['foreach'](_0x4a7676,(_0x36ba4f,_0x1e2299)=>{const _0x28bbf=_0x32ee,_0x200aeb=_0x5de76d(_0x36ba4f,_0x1e2299);for(let _0x57d27e=0x0;_0x57d27e<_0x3f5609['length'];_0x57d27e++){const [_0x36c7db,_0x13abda]=_0x3f5609[_0x57d27e],_0x56b57d=_0x31816e[_0x28bbf(0x1ba)](_0x36c7db);_0x56b57d||_0x13abda[_0x28bbf(0x25a)][_0x28bbf(0x1d8)]((_0xc6a432,_0x27f6ca,_0x4ffbc4)=>{const _0x5b659d=_0x28bbf,_0x59cb68=_0x4ffbc4;if(_0x59cb68&&!_0x56b57d&&_0x49d028[_0x5b659d(0x229)](_0x200aeb,_0x59cb68))return _0x31816e[_0x5b659d(0x1d4)](_0x36c7db),!0x0;});}});}),_0x31816e['forEach'](_0x58e0e9=>{const _0xbca705=_0x47ea08;this[_0xbca705(0x1b7)][_0xbca705(0x1b0)](_0x409042,_0x358954,_0x58e0e9),this[_0xbca705(0x1b7)][_0xbca705(0x251)](_0x409042,_0x358954,_0x58e0e9);});}});}};Ce=Wt([We(0x0,_0x1fd426(_0x16dc63)),We(0x1,_0x1fd426(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x50ca5d,_0x33cb24,_0x16499f,_0x5dedc6)=>{const _0x23b668=_0x44a12f;for(var _0x9ac13e=_0x5dedc6>0x1?void 0x0:_0x5dedc6?Bt(_0x33cb24,_0x16499f):_0x33cb24,_0x30d306=_0x50ca5d[_0x23b668(0x221)]-0x1,_0x257f4c;_0x30d306>=0x0;_0x30d306--)(_0x257f4c=_0x50ca5d[_0x30d306])&&(_0x9ac13e=_0x257f4c(_0x9ac13e)||_0x9ac13e);return _0x9ac13e;},De=(_0x2f1165,_0x2941c4)=>(_0x3dcf72,_0x1a07fd)=>_0x2941c4(_0x3dcf72,_0x1a07fd,_0x2f1165);let _e=class extends _0x5ef22a{constructor(_0x287086,_0x42b243,_0x36c83c){const _0x55b463=_0x44a12f;super(),this[_0x55b463(0x1ae)]=_0x287086,this[_0x55b463(0x23c)]=_0x42b243,this[_0x55b463(0x1b7)]=_0x36c83c,this['_initMergeWithSparkline']();}[_0x44a12f(0x21e)](){const _0x8e9ae0=_0x44a12f;this[_0x8e9ae0(0x228)](this['_sheetInterceptorService'][_0x8e9ae0(0x1ed)]({'getMutations':_0x263cd2=>{const _0x33d1cc=_0x8e9ae0,_0x349d87=[],_0x5e37bb=[];if(_0x263cd2['id']===_0x38626b['id']){const _0xad0fe4=_0x263cd2[_0x33d1cc(0x1f3)];if(!_0xad0fe4)return{'redos':_0x349d87,'undos':_0x5e37bb};const {unitId:_0x3346a2,subUnitId:_0x172382,ranges:_0x40d0b7}=_0xad0fe4,_0x13ca4e=this[_0x33d1cc(0x1b7)][_0x33d1cc(0x1ca)](_0x3346a2,_0x172382);if(!_0x13ca4e)return{'redos':_0x349d87,'undos':_0x5e37bb};const _0x4043c5={},_0x55ea44={},_0x5435eb=new Set();_0x40d0b7[_0x33d1cc(0x218)](_0x2e7163=>{const _0x4d2ba6=_0x33d1cc,_0x3dbd02=_0x2e7163[_0x4d2ba6(0x1ff)],_0x351e0b=_0x2e7163[_0x4d2ba6(0x257)];_0x280d9c[_0x4d2ba6(0x1f8)](_0x2e7163,(_0x4ce2e1,_0x2bdf9b)=>{const _0x54c6af=_0x4d2ba6,_0x39c94b=this[_0x54c6af(0x1b7)][_0x54c6af(0x203)](_0x3346a2,_0x172382,_0x4ce2e1,_0x2bdf9b);if(_0x39c94b&&!(_0x4ce2e1===_0x3dbd02&&_0x2bdf9b===_0x351e0b)){const _0x5c6601=this[_0x54c6af(0x1b7)][_0x54c6af(0x21c)](_0x3346a2,_0x172382,_0x39c94b);if(_0x5c6601){_0x5435eb[_0x54c6af(0x1d4)](_0x39c94b);let _0x1fdc2f=_0x4043c5[_0x39c94b];_0x1fdc2f||(_0x1fdc2f={'config':_0x380d23[_0x54c6af(0x253)](_0x5c6601[_0x54c6af(0x20a)]),'sparklines':new _0x1a9da2(_0x5c6601[_0x54c6af(0x25a)]['clone']())},_0x4043c5[_0x39c94b]=_0x1fdc2f),_0x1fdc2f['sparklines'][_0x54c6af(0x231)](_0x4ce2e1,_0x2bdf9b),_0x55ea44[_0x39c94b]={'config':_0x380d23[_0x54c6af(0x253)](_0x5c6601[_0x54c6af(0x20a)]),'sparklines':_0x380d23[_0x54c6af(0x253)](_0x5c6601[_0x54c6af(0x25a)]['clone']())};}}});});for(const [_0x3d06c6,_0x2ed2f2]of _0x13ca4e){const _0x4f5d51=_0x2ed2f2[_0x33d1cc(0x25a)];_0x4f5d51[_0x33d1cc(0x1d8)]((_0x43e135,_0x4d4ac5,_0x9f682d)=>{const _0x4bba1d=_0x33d1cc;for(let _0x107833=0x0;_0x107833<_0x40d0b7[_0x4bba1d(0x221)];_0x107833++){const _0x3fa3c1=_0x40d0b7[_0x107833];if(_0x49d028[_0x4bba1d(0x1db)](_0x3fa3c1,_0x9f682d)){_0x5435eb[_0x4bba1d(0x1d4)](_0x3d06c6);let _0x14ace8=_0x4043c5[_0x3d06c6];_0x14ace8||(_0x14ace8={'config':_0x380d23[_0x4bba1d(0x253)](_0x2ed2f2[_0x4bba1d(0x20a)]),'sparklines':new _0x1a9da2(_0x4f5d51['clone']())},_0x4043c5[_0x3d06c6]=_0x14ace8),_0x14ace8[_0x4bba1d(0x25a)]['realDeleteValue'](_0x43e135,_0x4d4ac5),_0x55ea44[_0x3d06c6]||(_0x55ea44[_0x3d06c6]={'config':_0x380d23[_0x4bba1d(0x253)](_0x2ed2f2[_0x4bba1d(0x20a)]),'sparklines':_0x380d23[_0x4bba1d(0x253)](_0x4f5d51[_0x4bba1d(0x1e9)]())});}}});}const _0x52deb5={};Object[_0x33d1cc(0x217)](_0x4043c5)[_0x33d1cc(0x218)](([_0x42d193,_0x38b7a8])=>{const _0x5ba782=_0x33d1cc;_0x38b7a8['sparklines']['getSizeOf']()&&(_0x52deb5[_0x42d193]={'config':_0x38b7a8[_0x5ba782(0x20a)],'sparklines':_0x38b7a8[_0x5ba782(0x25a)][_0x5ba782(0x1e9)]()});}),_0x5435eb[_0x33d1cc(0x21f)]&&(_0x349d87['push']({'id':y['id'],'params':{'unitId':_0x3346a2,'subUnitId':_0x172382,'groupIds':Array[_0x33d1cc(0x25c)](_0x5435eb),'isSingle':!0x1}}),_0x5e37bb['push']({'id':y['id'],'params':{'unitId':_0x3346a2,'subUnitId':_0x172382,'groupIds':Array['from'](_0x5435eb),'isSingle':!0x1}}),_0x349d87[_0x33d1cc(0x1fc)]({'id':V['id'],'params':{'unitId':_0x3346a2,'subUnitId':_0x172382,'sparklineConfigMap':_0x52deb5}}),_0x5e37bb[_0x33d1cc(0x1fc)]({'id':V['id'],'params':{'unitId':_0x3346a2,'subUnitId':_0x172382,'sparklineConfigMap':_0x55ea44}}));}return{'redos':_0x349d87,'undos':_0x5e37bb};}}));}};_e=Ht([De(0x0,_0x1fd426(_0x16dc63)),De(0x1,_0x1fd426(_0x55bbbe)),De(0x2,_0x1fd426(x))],_e);var Ft=Object[_0x44a12f(0x23f)],Kt=(_0x42e7b2,_0x5bf5aa,_0x3d1bd0,_0x4114d1)=>{for(var _0x2a8240=_0x4114d1>0x1?void 0x0:_0x4114d1?Ft(_0x5bf5aa,_0x3d1bd0):_0x5bf5aa,_0x3425c6=_0x42e7b2['length']-0x1,_0x319c40;_0x3425c6>=0x0;_0x3425c6--)(_0x319c40=_0x42e7b2[_0x3425c6])&&(_0x2a8240=_0x319c40(_0x2a8240)||_0x2a8240);return _0x2a8240;},ue=(_0x3e024e,_0x4ace89)=>(_0x1f55be,_0x123cf0)=>_0x4ace89(_0x1f55be,_0x123cf0,_0x3e024e);let Me=class extends _0x5ef22a{constructor(_0x40b556,_0x28e24a,_0x527a10,_0x89d83b,_0xaeeb64){const _0x370ca1=_0x44a12f;super(),se(this,_0x370ca1(0x1bf),new _0x50a7a0()),(this[_0x370ca1(0x1ae)]=_0x40b556,this[_0x370ca1(0x23c)]=_0x28e24a,this[_0x370ca1(0x1f0)]=_0x527a10,this[_0x370ca1(0x1e1)]=_0x89d83b,this[_0x370ca1(0x1b7)]=_0xaeeb64,this[_0x370ca1(0x215)](),this[_0x370ca1(0x1c1)]());}[_0x44a12f(0x215)](){const _0x680764=_0x44a12f,_0xc11cac=(_0x2d4701,_0x1ca913)=>{const _0x5c47fa=_0x32ee,_0x54ce71=this['_univerInstanceService'][_0x5c47fa(0x1d6)](_0xf046be[_0x5c47fa(0x212)]);if(!_0x54ce71||!(_0x54ce71==null?void 0x0:_0x54ce71[_0x5c47fa(0x24b)](_0x1ca913)))return;this['disposableCollection'][_0x5c47fa(0x230)]();const _0x311bba=_0x218ce1=>this[_0x5c47fa(0x1d1)](_0x218ce1,_0x2d4701,_0x1ca913),_0x3559ff=[],_0x1c819b=this[_0x5c47fa(0x1b7)][_0x5c47fa(0x1ca)](_0x2d4701,_0x1ca913);if(_0x1c819b){for(const [_0x48fab7,_0xafc996]of _0x1c819b)_0xafc996['sparklines'][_0x5c47fa(0x1d8)]((_0xed496d,_0x303f95,_0x26ec57)=>{const _0x2740fd=_0x5c47fa,_0x5fa32b=_0x5de76d(_0xed496d,_0x303f95);_0x3559ff[_0x2740fd(0x1fc)](_0x5fa32b);});_0x3559ff[_0x5c47fa(0x218)](_0x67152f=>{const _0x642dab=_0x5c47fa;this[_0x642dab(0x1bf)][_0x642dab(0x1d4)](this[_0x642dab(0x1f0)][_0x642dab(0x247)](_0x67152f,_0x311bba,_0x2d4701,_0x1ca913));});}};this[_0x680764(0x228)](this['_commandService'][_0x680764(0x1e5)](_0x233b58=>{const _0x484edb=_0x680764;if(_0x233b58['id']===_0x41eb7f['id']){const _0x2cf9d6=_0x233b58[_0x484edb(0x1f3)],_0x4c841c=_0x2cf9d6[_0x484edb(0x21b)],_0x17ffbb=_0x2cf9d6[_0x484edb(0x22a)];if(!_0x4c841c||!_0x17ffbb)return;_0xc11cac(_0x17ffbb,_0x4c841c);}if(_0x233b58['id']===Oe['id']||_0x233b58['id']===V['id']){const _0x46a2d7=_0x233b58[_0x484edb(0x1f3)],_0x41ed45=_0x46a2d7['subUnitId'],_0xe64a63=_0x46a2d7[_0x484edb(0x22a)];if(!_0x41ed45||!_0xe64a63)return;_0xc11cac(_0xe64a63,_0x41ed45);}}));}[_0x44a12f(0x1d1)](_0x1e1540,_0x4ea8b4,_0x59821f){const _0x266697=_0x44a12f;switch(_0x1e1540['id']){case _0x282d50['id']:return this[_0x266697(0x1e2)](_0x1e1540[_0x266697(0x1f3)],_0x4ea8b4,_0x59821f);case _0x97e335['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x1e1540[_0x266697(0x1f3)],_0x4ea8b4,_0x59821f);}return{'redos':[],'undos':[]};}[_0x44a12f(0x266)](_0xa59342,_0xcd801d,_0x1589c9){const _0xec4398=_0x44a12f;var _0x1784cc,_0x264899;const {range:_0x31d475}=_0xa59342,_0x5eb2a4=new Set(),_0x432d81={},_0x34616d={},_0x35f208=[],_0x1f0d2c=[],_0x1e3fde=[],_0x471b31=[];if(!_0x22457a(this[_0xec4398(0x1e1)],{'unitId':_0xcd801d,'subUnitId':_0x1589c9}))return{'redos':_0x1f0d2c,'undos':_0x35f208};const _0x25f8c5=this[_0xec4398(0x1b7)][_0xec4398(0x1ca)](_0xcd801d,_0x1589c9);if(!_0x25f8c5)return{'redos':_0x1f0d2c,'undos':_0x35f208};if(!((_0x264899=(_0x1784cc=this['_sparklineDataSourceModel']['getSparklineCache']()[_0xec4398(0x1ea)][_0xec4398(0x1dc)](_0xcd801d))==null?void 0x0:_0x1784cc[_0xec4398(0x1dc)](_0x1589c9))==null?void 0x0:_0x264899[_0xec4398(0x233)]))return{'redos':_0x1f0d2c,'undos':_0x35f208};for(const [_0x1335f8,_0x4e5046]of _0x25f8c5){const _0x3e98e4=_0x4e5046[_0xec4398(0x25a)];_0x3e98e4[_0xec4398(0x1d8)]((_0x405a83,_0x387ab9,_0x5c43b5)=>{const _0x5466cd=_0xec4398;if(_0x49d028[_0x5466cd(0x229)](_0x31d475,_0x5c43b5)){_0x5eb2a4['add'](_0x1335f8);let _0x2eea39=_0x34616d[_0x1335f8];_0x2eea39||(_0x2eea39={'config':_0x4e5046[_0x5466cd(0x20a)],'sparklines':_0x4e5046[_0x5466cd(0x25a)][_0x5466cd(0x1e9)]()},_0x34616d[_0x1335f8]=_0x2eea39);let _0x2522e5=_0x432d81[_0x1335f8];_0x2522e5||(_0x2522e5={'config':_0x4e5046[_0x5466cd(0x20a)],'sparklines':new _0x1a9da2(_0x4e5046[_0x5466cd(0x25a)][_0x5466cd(0x1e9)]())},_0x432d81[_0x1335f8]=_0x2522e5);const _0xea4601=_0x1db26a(_0x5c43b5,{'id':_0x3a76fb['id'],'params':_0xa59342});_0xea4601?_0x2522e5[_0x5466cd(0x25a)]['setValue'](_0x405a83,_0x387ab9,_0xea4601):_0x2522e5['sparklines']['setValue'](_0x405a83,_0x387ab9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x5466cd(0x1af)]});}}),_0x3e98e4[_0xec4398(0x1d8)]((_0x38aa6c,_0x3ced1a,_0x388767)=>{const _0x592074=_0xec4398;if(_0x38aa6c<=_0x31d475[_0x592074(0x238)]&&_0x38aa6c>=_0x31d475[_0x592074(0x1ff)]){_0x5eb2a4[_0x592074(0x1d4)](_0x1335f8);let _0x468414=_0x34616d[_0x1335f8];_0x468414||(_0x468414={'config':_0x4e5046[_0x592074(0x20a)],'sparklines':_0x4e5046[_0x592074(0x25a)][_0x592074(0x1e9)]()},_0x34616d[_0x1335f8]=_0x468414);let _0x2b82ec=_0x432d81[_0x1335f8];_0x2b82ec||(_0x2b82ec={'config':_0x4e5046[_0x592074(0x20a)],'sparklines':new _0x1a9da2(_0x4e5046[_0x592074(0x25a)][_0x592074(0x1e9)]())},_0x432d81[_0x1335f8]=_0x2b82ec);}});}_0x471b31['push']({'id':y['id'],'params':{'unitId':_0xcd801d,'subUnitId':_0x1589c9,'groupIds':Array[_0xec4398(0x25c)](_0x5eb2a4),'isSingle':!0x1}}),_0x1e3fde[_0xec4398(0x1fc)]({'id':y['id'],'params':{'unitId':_0xcd801d,'subUnitId':_0x1589c9,'groupIds':Array[_0xec4398(0x25c)](_0x5eb2a4),'isSingle':!0x1}});const _0x23a00b={};let _0x2b02d0=!0x1;return Object[_0xec4398(0x217)](_0x432d81)[_0xec4398(0x218)](([_0x60681c,_0x59a508])=>{const _0x33fffa=_0xec4398;_0x59a508[_0x33fffa(0x25a)][_0x33fffa(0x222)]()&&(_0x2b02d0=!0x0,_0x59a508[_0x33fffa(0x25a)][_0x33fffa(0x262)](_0x31d475[_0x33fffa(0x1ff)],_0x31d475[_0x33fffa(0x238)]-_0x31d475[_0x33fffa(0x1ff)]+0x1),_0x23a00b[_0x60681c]={'config':_0x59a508[_0x33fffa(0x20a)],'sparklines':_0x59a508[_0x33fffa(0x25a)][_0x33fffa(0x1e9)]()});}),_0x2b02d0&&_0x1f0d2c['push']({'id':V['id'],'params':{'unitId':_0xcd801d,'subUnitId':_0x1589c9,'sparklineConfigMap':_0x23a00b}}),_0x35f208['push']({'id':V['id'],'params':{'unitId':_0xcd801d,'subUnitId':_0x1589c9,'sparklineConfigMap':_0x34616d}}),{'redos':_0x1f0d2c,'undos':_0x35f208,'preRedos':_0x1e3fde,'preUndos':_0x471b31};}[_0x44a12f(0x1e2)](_0x5ef1aa,_0x4d743f,_0x44621f){const _0x30cf75=_0x44a12f;var _0x11abe3,_0x2f0fb1;const {range:_0x3b5a16}=_0x5ef1aa,_0x53fa15=new Set(),_0x3ecfeb={},_0x4859bc={},_0x4175d6=[],_0x3bbcda=[],_0x5337db=[],_0x126539=[];if(!_0x22457a(this[_0x30cf75(0x1e1)],{'unitId':_0x4d743f,'subUnitId':_0x44621f}))return{'redos':_0x3bbcda,'undos':_0x4175d6};const _0x7b5fe=this[_0x30cf75(0x1b7)][_0x30cf75(0x1ca)](_0x4d743f,_0x44621f);if(!_0x7b5fe)return{'redos':_0x3bbcda,'undos':_0x4175d6};if(!((_0x2f0fb1=(_0x11abe3=this[_0x30cf75(0x1b7)][_0x30cf75(0x21a)]()[_0x30cf75(0x1ea)][_0x30cf75(0x1dc)](_0x4d743f))==null?void 0x0:_0x11abe3[_0x30cf75(0x1dc)](_0x44621f))==null?void 0x0:_0x2f0fb1[_0x30cf75(0x233)]))return{'redos':_0x3bbcda,'undos':_0x4175d6};for(const [_0x582154,_0x13bea0]of _0x7b5fe){const _0x4ecedd=_0x13bea0['sparklines'];_0x4ecedd[_0x30cf75(0x1d8)]((_0x1b3561,_0x55645d,_0x58faca)=>{const _0x3cad82=_0x30cf75;if(_0x49d028[_0x3cad82(0x229)](_0x3b5a16,_0x58faca)){_0x53fa15[_0x3cad82(0x1d4)](_0x582154);let _0x4d3c53=_0x4859bc[_0x582154];_0x4d3c53||(_0x4d3c53={'config':_0x13bea0['config'],'sparklines':_0x13bea0[_0x3cad82(0x25a)][_0x3cad82(0x1e9)]()},_0x4859bc[_0x582154]=_0x4d3c53);let _0x5008d3=_0x3ecfeb[_0x582154];_0x5008d3||(_0x5008d3={'config':_0x13bea0[_0x3cad82(0x20a)],'sparklines':new _0x1a9da2(_0x13bea0[_0x3cad82(0x25a)][_0x3cad82(0x1e9)]())},_0x3ecfeb[_0x582154]=_0x5008d3);const _0x3e4a8a=_0x1db26a(_0x58faca,{'id':_0x36ca1f['id'],'params':_0x5ef1aa});_0x3e4a8a?_0x5008d3[_0x3cad82(0x25a)][_0x3cad82(0x1e6)](_0x1b3561,_0x55645d,_0x3e4a8a):_0x5008d3[_0x3cad82(0x25a)][_0x3cad82(0x1e6)](_0x1b3561,_0x55645d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x3cad82(0x1af)]});}}),_0x4ecedd[_0x30cf75(0x1d8)]((_0x9f8610,_0x26f4c7,_0x5e6141)=>{const _0x3b6f31=_0x30cf75;if(_0x26f4c7<=_0x3b5a16[_0x3b6f31(0x1e0)]&&_0x26f4c7>=_0x3b5a16[_0x3b6f31(0x257)]){_0x53fa15[_0x3b6f31(0x1d4)](_0x582154);let _0x86d301=_0x4859bc[_0x582154];_0x86d301||(_0x86d301={'config':_0x13bea0[_0x3b6f31(0x20a)],'sparklines':_0x13bea0['sparklines']['clone']()},_0x4859bc[_0x582154]=_0x86d301);let _0x594ce6=_0x3ecfeb[_0x582154];_0x594ce6||(_0x594ce6={'config':_0x13bea0[_0x3b6f31(0x20a)],'sparklines':new _0x1a9da2(_0x13bea0[_0x3b6f31(0x25a)][_0x3b6f31(0x1e9)]())},_0x3ecfeb[_0x582154]=_0x594ce6);}});}_0x126539[_0x30cf75(0x1fc)]({'id':y['id'],'params':{'unitId':_0x4d743f,'subUnitId':_0x44621f,'groupIds':Array[_0x30cf75(0x25c)](_0x53fa15),'isSingle':!0x1}}),_0x5337db[_0x30cf75(0x1fc)]({'id':y['id'],'params':{'unitId':_0x4d743f,'subUnitId':_0x44621f,'groupIds':Array[_0x30cf75(0x25c)](_0x53fa15),'isSingle':!0x1}});const _0x292e5d={};let _0x3a3041=!0x1;return Object[_0x30cf75(0x217)](_0x3ecfeb)[_0x30cf75(0x218)](([_0x5d24ef,_0x4cd623])=>{const _0x30757c=_0x30cf75;_0x4cd623[_0x30757c(0x25a)][_0x30757c(0x222)]()&&(_0x3a3041=!0x0,_0x4cd623[_0x30757c(0x25a)][_0x30757c(0x1b6)](_0x3b5a16[_0x30757c(0x257)],_0x3b5a16[_0x30757c(0x1e0)]-_0x3b5a16[_0x30757c(0x257)]+0x1),_0x292e5d[_0x5d24ef]={'config':_0x4cd623['config'],'sparklines':_0x4cd623[_0x30757c(0x25a)][_0x30757c(0x1e9)]()});}),_0x3a3041&&_0x3bbcda[_0x30cf75(0x1fc)]({'id':V['id'],'params':{'unitId':_0x4d743f,'subUnitId':_0x44621f,'sparklineConfigMap':_0x292e5d}}),_0x4175d6[_0x30cf75(0x1fc)]({'id':V['id'],'params':{'unitId':_0x4d743f,'subUnitId':_0x44621f,'sparklineConfigMap':_0x4859bc}}),{'redos':_0x3bbcda,'undos':_0x4175d6,'preRedos':_0x5337db,'preUndos':_0x126539};}[_0x44a12f(0x1c1)](){const _0x963ab1=_0x44a12f;this[_0x963ab1(0x228)](this[_0x963ab1(0x1ae)]['onCommandExecuted'](_0x18e0d5=>{const _0x15ea9f=_0x963ab1;if(_0x18e0d5['id']===_0x4a5a9e['id']){const _0x3f5eae=_0x18e0d5[_0x15ea9f(0x1f3)],{unitId:_0x4d4f2d,subUnitId:_0x59ae4e,range:_0x3e904a}=_0x3f5eae,_0x5e5b98=_0x3e904a[_0x15ea9f(0x257)],_0xfff863=_0x3e904a[_0x15ea9f(0x1e0)]-_0x3e904a[_0x15ea9f(0x257)]+0x1,_0x40bdd4=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x4d4f2d,_0x59ae4e);if(!_0x40bdd4)return;for(const [_0x11c85d,_0xa56e4f]of _0x40bdd4){this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1b0)](_0x4d4f2d,_0x59ae4e,_0x11c85d);const _0x96d832=_0xa56e4f[_0x15ea9f(0x25a)];_0x96d832[_0x15ea9f(0x1d8)]((_0x22387e,_0x546ff0,_0x24858d)=>{const _0x554578=_0x15ea9f,_0x12ef39={..._0x24858d};_0x5e5b98<=_0x12ef39[_0x554578(0x257)]?(_0x12ef39[_0x554578(0x257)]+=_0xfff863,_0x12ef39[_0x554578(0x1e0)]+=_0xfff863):_0x5e5b98>_0x12ef39[_0x554578(0x1e0)]||(_0x12ef39[_0x554578(0x1e0)]+=_0xfff863),_0x96d832[_0x554578(0x1e6)](_0x22387e,_0x546ff0,_0x12ef39);});const _0x17f44c=_0x96d832[_0x15ea9f(0x269)]();for(const _0x25edaf in _0x17f44c){const _0x4e24c6=_0x17f44c[Number(_0x25edaf)];if(!_0x4e24c6)continue;const _0x4c5c68=Object['keys'](_0x4e24c6)[_0x15ea9f(0x246)](Number),_0x3e5978=Math['max'](..._0x4c5c68);for(let _0x264759=_0x3e5978;_0x264759>=_0x5e5b98;_0x264759--)_0x264759>=_0x5e5b98&&_0x4e24c6[_0x264759]&&(_0x4e24c6[_0x264759+_0xfff863]=_0x4e24c6[_0x264759],delete _0x4e24c6[_0x264759]);}this[_0x15ea9f(0x1b7)][_0x15ea9f(0x251)](_0x4d4f2d,_0x59ae4e,_0x11c85d);}}else{if(_0x18e0d5['id']===_0x5ba22b['id']){const _0x5bd83f=_0x18e0d5['params'],{unitId:_0x134809,subUnitId:_0x2e9e58,range:_0x30a83a}=_0x5bd83f,_0x12c9cb=_0x30a83a[_0x15ea9f(0x1ff)],_0x574ad5=_0x30a83a[_0x15ea9f(0x238)]-_0x30a83a[_0x15ea9f(0x1ff)]+0x1,_0x5e89b1=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1ca)](_0x134809,_0x2e9e58);if(!_0x5e89b1)return;for(const [_0x1e8fab,_0x39056b]of _0x5e89b1){this[_0x15ea9f(0x1b7)]['clearSparklineCache'](_0x134809,_0x2e9e58,_0x1e8fab);const _0x2060f4=_0x39056b['sparklines'];_0x2060f4['forValue']((_0x1e5a16,_0xe3f96a,_0x2c3441)=>{const _0x2d356e=_0x15ea9f,_0x5341c5={..._0x2c3441};_0x12c9cb<=_0x5341c5[_0x2d356e(0x1ff)]?(_0x5341c5[_0x2d356e(0x1ff)]+=_0x574ad5,_0x5341c5['endRow']+=_0x574ad5):_0x12c9cb>_0x5341c5[_0x2d356e(0x238)]||(_0x5341c5[_0x2d356e(0x238)]+=_0x574ad5),_0x2060f4[_0x2d356e(0x1e6)](_0x1e5a16,_0xe3f96a,_0x5341c5);});const _0x177221=_0x2060f4['getMatrix'](),_0x18e25e=Object[_0x15ea9f(0x1c2)](_0x177221)[_0x15ea9f(0x246)](Number),_0x39ec75=Math[_0x15ea9f(0x1f9)](..._0x18e25e);for(let _0x5c3e73=_0x39ec75;_0x5c3e73>=_0x12c9cb;_0x5c3e73--)_0x5c3e73>=_0x12c9cb&&_0x177221[_0x5c3e73]&&(_0x177221[_0x5c3e73+_0x574ad5]=_0x177221[_0x5c3e73],delete _0x177221[_0x5c3e73]);this[_0x15ea9f(0x1b7)][_0x15ea9f(0x251)](_0x134809,_0x2e9e58,_0x1e8fab);}}else{if(_0x18e0d5['id']===_0x36ca1f['id']){const _0x3742b7=_0x18e0d5[_0x15ea9f(0x1f3)],{range:_0x3a173c,unitId:_0x35a516,subUnitId:_0x1dc760}=_0x3742b7,_0x2ee6c2=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1ca)](_0x35a516,_0x1dc760);if(!_0x2ee6c2)return;for(const [_0x4b90b6,_0x299c45]of _0x2ee6c2){const _0x3489fe=_0x299c45[_0x15ea9f(0x25a)];_0x3489fe['forValue']((_0xe9b0fe,_0x19c42d,_0x29592b)=>{const _0x1d1a20=_0x15ea9f,_0x2295dc=_0x1db26a(_0x29592b,_0x18e0d5);_0x2295dc?_0x3489fe[_0x1d1a20(0x1e6)](_0xe9b0fe,_0x19c42d,_0x2295dc):_0x3489fe[_0x1d1a20(0x1e6)](_0xe9b0fe,_0x19c42d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x1d1a20(0x1af)]});}),_0x3489fe[_0x15ea9f(0x1b6)](_0x3a173c[_0x15ea9f(0x257)],_0x3a173c[_0x15ea9f(0x1e0)]-_0x3a173c['startColumn']+0x1);}this[_0x15ea9f(0x1b7)][_0x15ea9f(0x208)](_0x35a516,_0x1dc760);}else{if(_0x18e0d5['id']===_0x3a76fb['id']){const _0x539ced=_0x18e0d5['params'],{range:_0xd1c6b6,unitId:_0x2fd358,subUnitId:_0x3b7075}=_0x539ced,_0x21c50f=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1ca)](_0x2fd358,_0x3b7075);if(!_0x21c50f)return;for(const [_0x4c2aa5,_0x25baaa]of _0x21c50f){const _0x437e85=_0x25baaa[_0x15ea9f(0x25a)];_0x437e85['forValue']((_0x5eef96,_0x543827,_0x5dfd1)=>{const _0x101e36=_0x15ea9f,_0x4558de=_0x1db26a(_0x5dfd1,_0x18e0d5);_0x4558de?_0x437e85[_0x101e36(0x1e6)](_0x5eef96,_0x543827,_0x4558de):_0x437e85[_0x101e36(0x1e6)](_0x5eef96,_0x543827,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x101e36(0x1af)]});}),_0x437e85[_0x15ea9f(0x262)](_0xd1c6b6[_0x15ea9f(0x1ff)],_0xd1c6b6['endRow']-_0xd1c6b6[_0x15ea9f(0x1ff)]+0x1);}this[_0x15ea9f(0x1b7)][_0x15ea9f(0x208)](_0x2fd358,_0x3b7075);}else{if(_0x18e0d5['id']===_0x2d604b['id']){const _0x4e0196=_0x18e0d5[_0x15ea9f(0x1f3)],{unitId:_0x2646c8,subUnitId:_0x232533,sourceRange:_0x18c59b,targetRange:_0x268f32}=_0x4e0196,_0x23ec8f=this[_0x15ea9f(0x1b7)]['getSubUnitSparkline'](_0x2646c8,_0x232533);if(!_0x23ec8f)return;for(const [_0xd1ef5f,_0x2746c8]of _0x23ec8f){const _0x4c278f=_0x2746c8[_0x15ea9f(0x25a)];_0x4c278f[_0x15ea9f(0x1d8)]((_0x58316b,_0x3f728a,_0x52de3)=>{const _0x559e35=_0x15ea9f,_0x1b47f7=_0x1db26a(_0x52de3,_0x18e0d5);_0x1b47f7?_0x4c278f['setValue'](_0x58316b,_0x3f728a,_0x1b47f7):_0x4c278f[_0x559e35(0x1e6)](_0x58316b,_0x3f728a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x559e35(0x1af)]});}),_0x4c278f[_0x15ea9f(0x200)](_0x18c59b[_0x15ea9f(0x257)],_0x18c59b[_0x15ea9f(0x1e0)]-_0x18c59b[_0x15ea9f(0x257)]+0x1,_0x268f32[_0x15ea9f(0x257)]);}this[_0x15ea9f(0x1b7)][_0x15ea9f(0x208)](_0x2646c8,_0x232533);}else{if(_0x18e0d5['id']===_0x56be5c['id']){const _0x3a40fb=_0x18e0d5[_0x15ea9f(0x1f3)],{unitId:_0x57756e,subUnitId:_0x5337cc,sourceRange:_0x30e6d4,targetRange:_0x4320ef}=_0x3a40fb,_0x2d6395=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1ca)](_0x57756e,_0x5337cc);if(!_0x2d6395)return;for(const [_0x5751be,_0x5bf973]of _0x2d6395){const _0x5e6c7b=_0x5bf973[_0x15ea9f(0x25a)];_0x5e6c7b[_0x15ea9f(0x1d8)]((_0x571239,_0x2ff804,_0x5a3a8a)=>{const _0x3d7cf3=_0x15ea9f,_0x5c2780=_0x1db26a(_0x5a3a8a,_0x18e0d5);_0x5c2780?_0x5e6c7b[_0x3d7cf3(0x1e6)](_0x571239,_0x2ff804,_0x5c2780):_0x5e6c7b[_0x3d7cf3(0x1e6)](_0x571239,_0x2ff804,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3f6cc0[_0x3d7cf3(0x1af)]});}),_0x5e6c7b[_0x15ea9f(0x24e)](_0x30e6d4[_0x15ea9f(0x1ff)],_0x30e6d4[_0x15ea9f(0x238)]-_0x30e6d4[_0x15ea9f(0x1ff)]+0x1,_0x4320ef['startRow']);}this[_0x15ea9f(0x1b7)]['reBuildAnchorCache'](_0x57756e,_0x5337cc);}else{if(_0x18e0d5['id']===_0xa0c7ec['id']){const _0x3d7389=_0x18e0d5[_0x15ea9f(0x1f3)],{fromRange:_0x4fe68a,toRange:_0x5afb97,unitId:_0x51cdbc,from:_0xf0f94c,to:_0x2207fa}=_0x3d7389;if(_0xf0f94c[_0x15ea9f(0x21b)]!==_0x2207fa[_0x15ea9f(0x21b)])return;const _0x7a519d=_0xf0f94c[_0x15ea9f(0x21b)],{startRow:_0x4347a7,endRow:_0x38d20d,startColumn:_0x5a7932,endColumn:_0x173d5d}=_0x4fe68a,{startRow:_0x4dea82,startColumn:_0x4bb87a}=_0x5afb97,_0x3317a9=_0x4dea82-_0x4347a7,_0x540d0f=_0x4bb87a-_0x5a7932,_0x286bdd=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x1ca)](_0x51cdbc,_0x7a519d);if(!(_0x286bdd!=null&&_0x286bdd[_0x15ea9f(0x21f)]))return;for(let _0x4798b5=_0x4347a7;_0x4798b5<=_0x38d20d;_0x4798b5++)for(let _0x37f9c7=_0x5a7932;_0x37f9c7<=_0x173d5d;_0x37f9c7++){const _0x1d60d7=this[_0x15ea9f(0x1b7)][_0x15ea9f(0x203)](_0x51cdbc,_0x7a519d,_0x4798b5,_0x37f9c7);if(_0x1d60d7){const _0xb75bec=this[_0x15ea9f(0x1b7)]['getSparklineById'](_0x51cdbc,_0x7a519d,_0x1d60d7);if(_0xb75bec){const _0x291eab=_0xb75bec['sparklines'][_0x15ea9f(0x22e)](_0x4798b5,_0x37f9c7);_0x291eab&&(_0xb75bec[_0x15ea9f(0x25a)][_0x15ea9f(0x1e6)](_0x4798b5+_0x3317a9,_0x37f9c7+_0x540d0f,_0x291eab),_0xb75bec[_0x15ea9f(0x25a)][_0x15ea9f(0x231)](_0x4798b5,_0x37f9c7));}}}for(const [_0x22a6cf,_0x209db2]of _0x286bdd){const _0x48d098=_0x209db2[_0x15ea9f(0x25a)];_0x48d098[_0x15ea9f(0x1d8)]((_0x497074,_0xed89a8,_0x185a1d)=>{const _0x3f347c=_0x15ea9f,_0x1cd2b9={..._0x185a1d};_0x49d028[_0x3f347c(0x1db)](_0x4fe68a,_0x185a1d)&&(_0x1cd2b9['startRow']+=_0x3317a9,_0x1cd2b9['endRow']+=_0x3317a9,_0x1cd2b9[_0x3f347c(0x257)]+=_0x540d0f,_0x1cd2b9[_0x3f347c(0x1e0)]+=_0x540d0f),_0x48d098[_0x3f347c(0x1e6)](_0x497074,_0xed89a8,_0x1cd2b9);});}this[_0x15ea9f(0x1b7)][_0x15ea9f(0x208)](_0x51cdbc,_0x7a519d);}}}}}}}}));}};Me=Kt([ue(0x0,_0x1fd426(_0x16dc63)),ue(0x1,_0x1fd426(_0x55bbbe)),ue(0x2,_0x1fd426(_0x5340a5)),ue(0x3,_0x29344f),ue(0x4,_0x1fd426(x))],Me);var Xt=Object[_0x44a12f(0x23f)],zt=(_0x29a473,_0x2263ff,_0x4e196b,_0x571970)=>{for(var _0x213e06=_0x571970>0x1?void 0x0:_0x571970?Xt(_0x2263ff,_0x4e196b):_0x2263ff,_0x69319b=_0x29a473['length']-0x1,_0x4f9689;_0x69319b>=0x0;_0x69319b--)(_0x4f9689=_0x29a473[_0x69319b])&&(_0x213e06=_0x4f9689(_0x213e06)||_0x213e06);return _0x213e06;},Be=(_0x227aea,_0x5dd6ce)=>(_0x3e0634,_0x39fcd5)=>_0x5dd6ce(_0x3e0634,_0x39fcd5,_0x227aea);let Re=class extends _0x5ef22a{constructor(_0x34226b,_0x25da29){const _0x5abd52=_0x44a12f;super(),this['_resourceManagerService']=_0x34226b,this[_0x5abd52(0x1b7)]=_0x25da29,this[_0x5abd52(0x1f1)]();}[_0x44a12f(0x1f1)](){const _0x3f73c8=_0x44a12f,_0x1e54ab=_0x111169=>{const _0x3f5423=_0x32ee,_0x885aa8=this['_sparklineDataSourceModel']['toJSON'](_0x111169);return _0x885aa8?JSON[_0x3f5423(0x226)](_0x885aa8):'';},_0x36fbac=_0x3c1842=>_0x3c1842?JSON[_0x3f73c8(0x1bd)](_0x3c1842):{};this[_0x3f73c8(0x228)](this[_0x3f73c8(0x24d)]['registerPluginResource']({'toJson':_0x1e54ab,'parseJson':_0x36fbac,'pluginName':Ke,'businesses':[_0xf046be['UNIVER_SHEET']],'onLoad':(_0x1293e3,_0x14ed5a)=>{const _0xed295e=_0x3f73c8;this[_0xed295e(0x1b7)][_0xed295e(0x25b)](_0x14ed5a);},'onUnLoad':_0x275210=>{const _0x24e440=_0x3f73c8;this[_0x24e440(0x1b7)][_0x24e440(0x22d)](_0x275210);}}));}};Re=zt([Be(0x0,_0x1fd426(_0x45ba0d)),Be(0x1,_0x1fd426(x))],Re);var Jt=Object[_0x44a12f(0x1c4)],Zt=Object['getOwnPropertyDescriptor'],Yt=(_0x1d48f8,_0x5e2a7c,_0x3dfc22)=>_0x5e2a7c in _0x1d48f8?Jt(_0x1d48f8,_0x5e2a7c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dfc22}):_0x1d48f8[_0x5e2a7c]=_0x3dfc22,qt=(_0xf30ced,_0x42ae32,_0x256263,_0x4c0c6f)=>{const _0x5c8499=_0x44a12f;for(var _0x3b7fa5=_0x4c0c6f>0x1?void 0x0:_0x4c0c6f?Zt(_0x42ae32,_0x256263):_0x42ae32,_0x478649=_0xf30ced[_0x5c8499(0x221)]-0x1,_0x221f98;_0x478649>=0x0;_0x478649--)(_0x221f98=_0xf30ced[_0x478649])&&(_0x3b7fa5=_0x221f98(_0x3b7fa5)||_0x3b7fa5);return _0x3b7fa5;},He=(_0xcb6ef8,_0x36e287)=>(_0x297795,_0x4f7aa6)=>_0x36e287(_0x297795,_0x4f7aa6,_0xcb6ef8),ze=(_0x14f273,_0x274ddf,_0x19fa58)=>Yt(_0x14f273,typeof _0x274ddf!='symbol'?_0x274ddf+'':_0x274ddf,_0x19fa58);let ve=class extends _0x1e6279{constructor(_0x37bd8d={},_0x240791,_0x41c40e){const _0x13e6f0=_0x44a12f;super(),this[_0x13e6f0(0x20c)]=_0x37bd8d,this[_0x13e6f0(0x224)]=_0x240791,this['_commandService']=_0x41c40e,this[_0x13e6f0(0x1cf)](),this[_0x13e6f0(0x227)]();}['_initDependencies'](){[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]]['forEach'](_0x3f239f=>{const _0x3cc61e=_0x32ee;this['_injector'][_0x3cc61e(0x1d4)](_0x3f239f);}),_0xaa8e4f(this['_injector'],[[Re]]);}[_0x44a12f(0x248)](){_0xaa8e4f(this['_injector'],[[me],[_e],[Se],[Me],[Ce],[ke]]);}['_initRegisterCommand'](){const _0x520873=_0x44a12f;[Nt,V,Ot,y,xt,Oe]['forEach'](_0x4e2ee9=>this[_0x520873(0x1ae)][_0x520873(0x23e)](_0x4e2ee9));}};ze(ve,'pluginName',Ke),ze(ve,_0x44a12f(0x207),_0xf046be[_0x44a12f(0x212)]),ve=qt([_0xfd79c6(_0x6d51d7),He(0x1,_0x1fd426(_0xe24a9f)),He(0x2,_0x1fd426(_0x16dc63))],ve);export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,Ee as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
|
1
|
+
const _0xccd401=_0x2307;(function(_0x4deb03,_0x17655f){const _0x4afe8b=_0x2307,_0x445184=_0x4deb03();while(!![]){try{const _0x4b4c93=-parseInt(_0x4afe8b(0x229))/0x1+parseInt(_0x4afe8b(0x224))/0x2*(-parseInt(_0x4afe8b(0x1cf))/0x3)+-parseInt(_0x4afe8b(0x240))/0x4*(-parseInt(_0x4afe8b(0x1ff))/0x5)+parseInt(_0x4afe8b(0x22d))/0x6*(parseInt(_0x4afe8b(0x20a))/0x7)+parseInt(_0x4afe8b(0x238))/0x8+parseInt(_0x4afe8b(0x1bc))/0x9+parseInt(_0x4afe8b(0x1d8))/0xa;if(_0x4b4c93===_0x17655f)break;else _0x445184['push'](_0x445184['shift']());}catch(_0x5136b6){_0x445184['push'](_0x445184['shift']());}}}(_0x14dc,0xe0370));var qe=Object[_0xccd401(0x202)],Qe=(_0x31075d,_0x4c610a,_0x1f9613)=>_0x4c610a in _0x31075d?qe(_0x31075d,_0x4c610a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f9613}):_0x31075d[_0x4c610a]=_0x1f9613,se=(_0x19389b,_0x29a325,_0x11f8d8)=>Qe(_0x19389b,typeof _0x29a325!=_0xccd401(0x1be)?_0x29a325+'':_0x29a325,_0x11f8d8);import{UniverLicensePlugin as _0x14e199}from'@univerjs-pro/license';import{ObjectMatrix as _0x1048d3,Inject as _0x225e0c,IUniverInstanceService as _0xc51d55,Disposable as _0x338254,isValidRange as _0x1889dc,CellValueType as _0x45cd32,ColorKit as _0x5bc6e7,CommandType as _0x1b32cf,Range as _0x538b0c,IUndoRedoService as _0x1d55f9,generateRandomId as _0x4d91f0,ICommandService as _0x20ed95,Tools as _0x4c1c6f,sequenceExecute as _0x120aff,Rectangle as _0xdfa53d,cellToRange as _0xb7b91f,DisposableCollection as _0x24c66d,RANGE_TYPE as _0x44efa4,UniverInstanceType as _0x4b0b73,IResourceManagerService as _0x1043aa,DependentOn as _0x510078,Injector as _0x375b6d,Plugin as _0x16de03,touchDependencies as _0x3bcf96}from'@univerjs/core';import{getSheetCommandTarget as _0x10d0a8,SheetsSelectionsService as _0xa9ab15,SheetInterceptorService as _0x30cdc7,ClearSelectionAllCommand as _0x191099,CopySheetCommand as _0x4c9751,IExclusiveRangeService as _0x11a8c4,SetRangeValuesMutation as _0x2120d3,ReorderRangeMutation as _0x391ebd,SetRowHiddenMutation as _0x4ea950,SetColHiddenMutation as _0x4993a6,SetRowVisibleMutation as _0x121817,SetColVisibleMutation as _0xcf4297,AddWorksheetMergeCommand as _0xf39eb3,RefRangeService as _0xe8b78e,SetWorksheetActivateCommand as _0x35ffcc,RemoveRowCommand as _0x3d5367,RemoveColCommand as _0x494e5b,adjustRangeOnMutation as _0x4b150d,RemoveRowMutation as _0x436bb2,RemoveColMutation as _0x59e507,InsertColMutation as _0x1ac185,InsertRowMutation as _0x59ec28,MoveColsMutation as _0x49156f,MoveRowsMutation as _0xd667e6,MoveRangeMutation as _0x29c039}from'@univerjs/sheets';import{Subject as _0x55f63b}from'rxjs';function Fe(_0x4dec90,_0x6e258c){const _0x4c01b2=_0xccd401,_0x1671cf=new _0x1048d3(),_0x2fda10=[],_0x3a18e3=_0x4dec90[_0x4c01b2(0x1ed)]>0x1;let _0x4b6657=0x0,_0x3f76e1=0x0;for(const _0x3f82d2 of _0x4dec90)_0x4b6657+=_0x3f82d2[_0x4c01b2(0x255)]-_0x3f82d2['startRow']+0x1,_0x3f76e1+=_0x3f82d2[_0x4c01b2(0x239)]-_0x3f82d2[_0x4c01b2(0x203)]+0x1;for(const _0x5b03ac of _0x6e258c)for(let _0x51d619=_0x5b03ac['startRow'];_0x51d619<=_0x5b03ac[_0x4c01b2(0x255)];_0x51d619++)for(let _0x4cd605=_0x5b03ac[_0x4c01b2(0x203)];_0x4cd605<=_0x5b03ac[_0x4c01b2(0x239)];_0x4cd605++)_0x2fda10[_0x4c01b2(0x1da)]({'row':_0x51d619,'column':_0x4cd605});if(_0x2fda10[_0x4c01b2(0x1ed)]===_0x4b6657)_0x3a18e3?_0x2fda10[_0x4c01b2(0x24d)]((_0x4ff93e,_0x177456)=>{const _0x4ecd28=_0x4c01b2,_0xdd52d0=_0x4dec90[_0x177456],_0x5c78ad={'startRow':_0xdd52d0[_0x4ecd28(0x22c)],'startColumn':_0xdd52d0[_0x4ecd28(0x203)],'endRow':_0xdd52d0[_0x4ecd28(0x22c)],'endColumn':_0xdd52d0[_0x4ecd28(0x239)]};_0x1671cf[_0x4ecd28(0x1f0)](_0x4ff93e[_0x4ecd28(0x227)],_0x4ff93e['column'],_0x5c78ad);}):_0x2fda10[_0x4c01b2(0x24d)]((_0x28670c,_0x12b73e)=>{const _0x59b0e4=_0x4c01b2,_0x1f85de=_0x4dec90[0x0],_0x254e3f={'startRow':_0x1f85de[_0x59b0e4(0x22c)]+_0x12b73e,'startColumn':_0x1f85de[_0x59b0e4(0x203)],'endRow':_0x1f85de[_0x59b0e4(0x22c)]+_0x12b73e,'endColumn':_0x1f85de[_0x59b0e4(0x239)]};_0x1671cf[_0x59b0e4(0x1f0)](_0x28670c[_0x59b0e4(0x227)],_0x28670c[_0x59b0e4(0x21c)],_0x254e3f);});else{if(_0x2fda10['length']===_0x3f76e1)_0x3a18e3?_0x2fda10[_0x4c01b2(0x24d)]((_0x22752a,_0x5dda7e)=>{const _0x1196bd=_0x4c01b2,_0x7e8696=_0x4dec90[_0x5dda7e],_0x5880e6={'startRow':_0x7e8696[_0x1196bd(0x22c)],'startColumn':_0x7e8696[_0x1196bd(0x203)],'endRow':_0x7e8696[_0x1196bd(0x255)],'endColumn':_0x7e8696[_0x1196bd(0x203)]};_0x1671cf[_0x1196bd(0x1f0)](_0x22752a[_0x1196bd(0x227)],_0x22752a[_0x1196bd(0x21c)],_0x5880e6);}):_0x2fda10[_0x4c01b2(0x24d)]((_0x2b00fe,_0x42ca84)=>{const _0x188149=_0x4c01b2,_0x1feb8f=_0x4dec90[0x0],_0x304dc5={'startRow':_0x1feb8f[_0x188149(0x22c)],'startColumn':_0x1feb8f[_0x188149(0x203)]+_0x42ca84,'endRow':_0x1feb8f['endRow'],'endColumn':_0x1feb8f[_0x188149(0x203)]+_0x42ca84};_0x1671cf[_0x188149(0x1f0)](_0x2b00fe[_0x188149(0x227)],_0x2b00fe['column'],_0x304dc5);});else{if(_0x2fda10['length']===_0x4dec90[_0x4c01b2(0x1ed)])_0x4dec90[_0x4c01b2(0x1d2)](_0x56b87f=>!(_0x56b87f[_0x4c01b2(0x22c)]!==_0x56b87f['endRow']&&_0x56b87f[_0x4c01b2(0x203)]!==_0x56b87f['endColumn']))&&_0x2fda10[_0x4c01b2(0x24d)]((_0x5f5705,_0x80dea4)=>{const _0x1d8289=_0x4c01b2,_0xe195e7=_0x4dec90[_0x80dea4];_0x1671cf[_0x1d8289(0x1f0)](_0x5f5705[_0x1d8289(0x227)],_0x5f5705[_0x1d8289(0x21c)],_0xe195e7);});else throw new Error(_0x4c01b2(0x264));}}return _0x1671cf;}const Ke=_0xccd401(0x21d),Le={'standard':[_0xccd401(0x1fb),_0xccd401(0x1bf)],'specialty':[_0xccd401(0x1c1),'rgb(30,177,189)'],'distinctive':[_0xccd401(0x1e8),_0xccd401(0x276)],'soft':[_0xccd401(0x25f),'rgb(244,104,249)'],'fresh':['rgb(46,187,122)',_0xccd401(0x1ee)]},on=[_0xccd401(0x1dd),_0xccd401(0x22e),_0xccd401(0x21e),_0xccd401(0x1d4),_0xccd401(0x1c3),_0xccd401(0x20b)];var Xe=(_0x38d718=>(_0x38d718[_0xccd401(0x275)]=_0xccd401(0x250),_0x38d718['SPECIALTY']='specialty',_0x38d718[_0xccd401(0x1fd)]='distinctive',_0x38d718[_0xccd401(0x214)]=_0xccd401(0x201),_0x38d718['FRESH']=_0xccd401(0x1c2),_0x38d718[_0xccd401(0x270)]=_0xccd401(0x1ce),_0x38d718))(Xe||{}),Dt=(_0x4d1f78=>(_0x4d1f78[_0x4d1f78[_0xccd401(0x1e1)]=0x1]=_0xccd401(0x1e1),_0x4d1f78[_0x4d1f78['BAR_CHART']=0x2]=_0xccd401(0x230),_0x4d1f78[_0x4d1f78['PROFIT_AND_LOSS_CHART']=0x3]=_0xccd401(0x222),_0x4d1f78[_0x4d1f78[_0xccd401(0x257)]=0x4]=_0xccd401(0x257),_0x4d1f78))(Dt||{}),J=(_0x3943ab=>(_0x3943ab[_0xccd401(0x1db)]=_0xccd401(0x266),_0x3943ab[_0xccd401(0x24f)]=_0xccd401(0x22b),_0x3943ab[_0xccd401(0x26b)]=_0xccd401(0x210),_0x3943ab))(J||{}),Ee=(_0x2514f4=>(_0x2514f4[_0x2514f4['SELF_EXTREMUM']=0x1]='SELF_EXTREMUM',_0x2514f4[_0x2514f4[_0xccd401(0x24a)]=0x2]=_0xccd401(0x24a),_0x2514f4[_0x2514f4['CUSTOM_EXTREMUM']=0x3]=_0xccd401(0x1c8),_0x2514f4))(Ee||{}),Et=Object[_0xccd401(0x1d0)],Vt=(_0x40f2b5,_0x2b4e31,_0x4c4cb1,_0x33c9ff)=>{const _0xf3d56c=_0xccd401;for(var _0x455f6c=_0x33c9ff>0x1?void 0x0:_0x33c9ff?Et(_0x2b4e31,_0x4c4cb1):_0x2b4e31,_0x1fdf27=_0x40f2b5[_0xf3d56c(0x1ed)]-0x1,_0x39520c;_0x1fdf27>=0x0;_0x1fdf27--)(_0x39520c=_0x40f2b5[_0x1fdf27])&&(_0x455f6c=_0x39520c(_0x455f6c)||_0x455f6c);return _0x455f6c;},yt=(_0x2de2a6,_0x553dc9)=>(_0x5bdee6,_0x195eb3)=>_0x553dc9(_0x5bdee6,_0x195eb3,_0x2de2a6);let x=class extends _0x338254{constructor(_0x5f3209){const _0x2a1074=_0xccd401;super(),se(this,_0x2a1074(0x232),new Map()),se(this,'_sparklineAnchorMap',new Map()),se(this,_0x2a1074(0x1f9),new _0x55f63b()),se(this,_0x2a1074(0x1e5),this[_0x2a1074(0x1f9)]['asObservable']()),this[_0x2a1074(0x1f5)]=_0x5f3209;}['_ensureConfigMap'](_0x43cc5d,_0x108ae0){const _0x44fcd1=_0xccd401;let _0x16b265=this[_0x44fcd1(0x232)][_0x44fcd1(0x24c)](_0x43cc5d);_0x16b265||(_0x16b265=new Map(),this[_0x44fcd1(0x232)][_0x44fcd1(0x256)](_0x43cc5d,_0x16b265));let _0x4d26cf=_0x16b265[_0x44fcd1(0x24c)](_0x108ae0);return _0x4d26cf||(_0x4d26cf=new Map(),_0x16b265[_0x44fcd1(0x256)](_0x108ae0,_0x4d26cf)),_0x4d26cf;}[_0xccd401(0x1f7)](_0x4a6d17,_0x45fc9d){const _0x172169=_0xccd401;let _0xbe7fc0=this[_0x172169(0x20e)][_0x172169(0x24c)](_0x4a6d17);_0xbe7fc0||(_0xbe7fc0=new Map(),this[_0x172169(0x20e)][_0x172169(0x256)](_0x4a6d17,_0xbe7fc0));let _0x2cb2b3=_0xbe7fc0[_0x172169(0x24c)](_0x45fc9d);return _0x2cb2b3||(_0x2cb2b3={'matrix':new _0x1048d3(),'extra':{}},_0xbe7fc0[_0x172169(0x256)](_0x45fc9d,_0x2cb2b3)),_0x2cb2b3;}[_0xccd401(0x213)](_0x170ff2,_0x374ad2,_0x2646c6,_0x382bec=_0xccd401(0x256)){const _0x4881c1=_0xccd401;var _0x3e5681,_0x57e92b,_0x335f67,_0x501733,_0x432574,_0x9837d0,_0x543e5a,_0x3c68c0,_0x1940de,_0x2b999a,_0x6497a0,_0x1e5c79,_0x5f4289;const _0x4b116d=(_0x57e92b=(_0x3e5681=this[_0x4881c1(0x232)]['get'](_0x170ff2))==null?void 0x0:_0x3e5681[_0x4881c1(0x24c)](_0x374ad2))==null?void 0x0:_0x57e92b[_0x4881c1(0x24c)](_0x2646c6);if(!_0x4b116d)return;const _0x4ecb6a=_0x10d0a8(this[_0x4881c1(0x1f5)],{'unitId':_0x170ff2,'subUnitId':_0x374ad2});if(!_0x4ecb6a)return;const _0x1e3e6b=this[_0x4881c1(0x1f7)](_0x170ff2,_0x374ad2),{extra:_0x4753ff,matrix:_0x42646e}=_0x1e3e6b,{worksheet:_0x7f2dbe}=_0x4ecb6a;let _0x22a3a6=Number[_0x4881c1(0x23b)],_0x2d0121=Number['MAX_SAFE_INTEGER'];const _0x4ae4c6=(_0x335f67=_0x4b116d[_0x4881c1(0x205)][_0x4881c1(0x1f6)])!=null?_0x335f67:!0x1;_0x4b116d[_0x4881c1(0x1d6)][_0x4881c1(0x1fa)]((_0x1def31,_0x520a42,_0x12740c)=>{const _0x204af3=_0x4881c1;var _0x4a6402,_0x35e829,_0xfeef7e;const _0x45adb2=_0x12740c;let _0x3b0240=Number['MIN_SAFE_INTEGER'],_0x517d96=Number[_0x204af3(0x26d)],_0x543aa8=0x0,_0x117b69=0x0;const _0x5262d2=[];if(!_0x1889dc(_0x45adb2))_0x42646e[_0x204af3(0x1f0)](_0x1def31,_0x520a42,{'groupId':_0x2646c6,'data':[],'max':_0x3b0240,'min':_0x517d96,'highIndex':_0x543aa8,'lowIndex':_0x117b69,'negativeIndexes':_0x5262d2});else{const _0x3e3bbe=[];for(let _0x550362=_0x45adb2[_0x204af3(0x22c)];_0x550362<=_0x45adb2['endRow'];_0x550362++){for(let _0x15c532=_0x45adb2[_0x204af3(0x203)];_0x15c532<=_0x45adb2[_0x204af3(0x239)];_0x15c532++){const _0x1f3054=_0x7f2dbe[_0x204af3(0x23f)](_0x550362),_0x33f252=_0x7f2dbe[_0x204af3(0x1f2)](_0x15c532);if(!_0x4ae4c6&&(!_0x1f3054||!_0x33f252))continue;let _0x4e9175=0x0;const _0x485ec1=((_0x4a6402=_0x7f2dbe[_0x204af3(0x278)](_0x550362,_0x15c532))==null?void 0x0:_0x4a6402['v'])!==void 0x0?_0x7f2dbe[_0x204af3(0x278)](_0x550362,_0x15c532):_0x7f2dbe[_0x204af3(0x207)](_0x550362,_0x15c532);if(!_0x485ec1||_0x485ec1['v']===void 0x0||_0x485ec1['v']===null){const _0x3d79cc=(_0x35e829=_0x4b116d[_0x204af3(0x205)]['emptyShowAs'])!=null?_0x35e829:J[_0x204af3(0x1db)];_0x3d79cc===J['ZERO_VALUE']?_0x4e9175=0x0:_0x3d79cc===J[_0x204af3(0x1db)]?_0x4e9175=_0x204af3(0x233):_0x3d79cc===J[_0x204af3(0x26b)]&&(_0x4e9175=_0x204af3(0x265));}else{if(_0x485ec1['t']===_0x45cd32[_0x204af3(0x1df)]||_0x485ec1['t']===_0x45cd32[_0x204af3(0x1c5)]){const _0x157618=(_0xfeef7e=_0x4b116d['config'][_0x204af3(0x1e0)])!=null?_0xfeef7e:J[_0x204af3(0x1db)];_0x157618===J['ZERO_VALUE']?_0x4e9175=0x0:_0x157618===J[_0x204af3(0x1db)]?_0x4e9175=_0x204af3(0x233):_0x157618===J[_0x204af3(0x26b)]&&(_0x4e9175='u-connect');}else _0x485ec1['t']===_0x45cd32['BOOLEAN']?_0x4e9175=_0x485ec1['v']?0x1:0x0:_0x485ec1['t']===_0x45cd32[_0x204af3(0x1c6)]?_0x4e9175=Number(_0x485ec1['v']):_0x4e9175=_0x485ec1['v'];}if(_0x3e3bbe[_0x204af3(0x1da)](_0x4e9175),typeof _0x4e9175==_0x204af3(0x26c)){_0x3b0240=Math[_0x204af3(0x1c9)](_0x3b0240,_0x4e9175),_0x22a3a6=Math[_0x204af3(0x1c9)](_0x22a3a6,_0x4e9175),_0x2d0121=Math['min'](_0x2d0121,_0x4e9175),_0x517d96=Math[_0x204af3(0x1fe)](_0x517d96,_0x4e9175);const _0x34249a=typeof _0x3e3bbe[_0x543aa8]==_0x204af3(0x26c)?Number(_0x3e3bbe[_0x543aa8]):Number[_0x204af3(0x23b)];_0x4e9175>_0x34249a&&(_0x543aa8=_0x3e3bbe[_0x204af3(0x1ed)]-0x1);const _0x16950c=typeof _0x3e3bbe[_0x117b69]==_0x204af3(0x26c)?Number(_0x3e3bbe[_0x117b69]):Number[_0x204af3(0x26d)];_0x4e9175<_0x16950c&&(_0x117b69=_0x3e3bbe[_0x204af3(0x1ed)]-0x1),_0x4e9175<0x0&&_0x5262d2[_0x204af3(0x1da)](_0x3e3bbe[_0x204af3(0x1ed)]-0x1);}}_0x42646e[_0x204af3(0x1f0)](_0x1def31,_0x520a42,{'groupId':_0x2646c6,'data':_0x3e3bbe,'max':_0x3b0240,'min':_0x517d96,'highIndex':_0x543aa8,'lowIndex':_0x117b69,'negativeIndexes':_0x5262d2});}}});let _0x4a068f=_0x22a3a6;((_0x501733=_0x4b116d[_0x4881c1(0x205)][_0x4881c1(0x1f8)])==null?void 0x0:_0x501733[_0x4881c1(0x21f)])===Ee['CUSTOM_EXTREMUM']&&(_0x4a068f=(_0x9837d0=(_0x432574=_0x4b116d['config'][_0x4881c1(0x1f8)])==null?void 0x0:_0x432574[_0x4881c1(0x249)])!=null?_0x9837d0:_0x22a3a6);let _0x2de0c3=_0x2d0121;((_0x543e5a=_0x4b116d[_0x4881c1(0x205)][_0x4881c1(0x26e)])==null?void 0x0:_0x543e5a[_0x4881c1(0x21f)])===Ee[_0x4881c1(0x1c8)]&&(_0x2de0c3=(_0x1940de=(_0x3c68c0=_0x4b116d[_0x4881c1(0x205)][_0x4881c1(0x26e)])==null?void 0x0:_0x3c68c0[_0x4881c1(0x249)])!=null?_0x1940de:_0x2d0121);const _0xae14c8=(_0x2b999a=_0x4b116d[_0x4881c1(0x205)][_0x4881c1(0x269)])!=null?_0x2b999a:Xe[_0x4881c1(0x275)],_0x4623ea=(_0x5f4289=(_0x1e5c79=_0x4b116d[_0x4881c1(0x205)]['seriesColor'])!=null?_0x1e5c79:(_0x6497a0=Le[_0xae14c8])==null?void 0x0:_0x6497a0[0x0])!=null?_0x5f4289:Le[_0x4881c1(0x250)][0x0],_0x22b9e2=new _0x5bc6e7(_0x4623ea),_0x41cb77=_0x22b9e2[_0x4881c1(0x272)](0.2)[_0x4881c1(0x24e)](),_0x2910fd=_0x22b9e2[_0x4881c1(0x272)](0.05)[_0x4881c1(0x24e)]();_0x4753ff[_0x2646c6]={'groupMax':_0x22a3a6,'groupMin':_0x2d0121,'showMax':_0x4a068f,'showMin':_0x2de0c3,'startGradient':_0x41cb77,'endGradient':_0x2910fd},this[_0x4881c1(0x1f9)]['next']({'unitId':_0x170ff2,'subUnitId':_0x374ad2,'groupId':_0x2646c6,'config':_0x4b116d,'type':_0x382bec});}[_0xccd401(0x273)](_0x4492bb,_0x533234,_0x397dcc,_0x57818c){const _0x5c9caf=_0xccd401;this['_ensureConfigMap'](_0x4492bb,_0x533234)[_0x5c9caf(0x256)](_0x397dcc,_0x57818c),this['updateSparklineExtraNum'](_0x4492bb,_0x533234,_0x397dcc,_0x5c9caf(0x1eb));}['setSparkline'](_0xe319d3,_0xa916db,_0x1003be,_0x442b30){const _0x518c07=_0xccd401;var _0x4650bc;const _0x35acc0=(_0x4650bc=this[_0x518c07(0x232)]['get'](_0xe319d3))==null?void 0x0:_0x4650bc[_0x518c07(0x24c)](_0xa916db);_0x1003be[_0x518c07(0x24d)](_0x384e9b=>{const _0x4ae7f2=_0x518c07;_0x35acc0!=null&&_0x35acc0[_0x4ae7f2(0x1c7)](_0x384e9b)&&(_0x35acc0['set'](_0x384e9b,_0x442b30),this[_0x4ae7f2(0x213)](_0xe319d3,_0xa916db,_0x384e9b));});}[_0xccd401(0x22a)](_0x185e4f,_0x4e6ab,_0x3f4dcf){const _0x206290=_0xccd401;var _0x3e4ab3,_0x59ccc0;const _0x5df054=this[_0x206290(0x232)][_0x206290(0x24c)](_0x185e4f);if(_0x5df054){const _0x42c665=_0x5df054[_0x206290(0x24c)](_0x4e6ab);if(_0x42c665){_0x42c665[_0x206290(0x1bd)](_0x3f4dcf);const _0x11b894=(_0x3e4ab3=this[_0x206290(0x20e)][_0x206290(0x24c)](_0x185e4f))==null?void 0x0:_0x3e4ab3[_0x206290(0x24c)](_0x4e6ab);(_0x59ccc0=_0x11b894==null?void 0x0:_0x11b894[_0x206290(0x1ea)])==null||_0x59ccc0['forValue']((_0x1eb837,_0x56fc4a,_0x54aefd)=>{const _0x389a0f=_0x206290;(_0x54aefd==null?void 0x0:_0x54aefd[_0x389a0f(0x20f)])===_0x3f4dcf&&(_0x11b894==null||_0x11b894[_0x389a0f(0x1ea)]['realDeleteValue'](_0x1eb837,_0x56fc4a));}),this[_0x206290(0x1f9)][_0x206290(0x26a)]({'unitId':_0x185e4f,'subUnitId':_0x4e6ab,'groupId':_0x3f4dcf,'type':_0x206290(0x23e)});}}}[_0xccd401(0x262)](_0x47282e,_0x3b285e,_0x5bf163,_0x4f6d05){const _0x1fcfab=_0xccd401;var _0x1d3bf5,_0x4f241a,_0x4c3058,_0x4caca1;const _0x4282a0=(_0x1d3bf5=this[_0x1fcfab(0x20e)][_0x1fcfab(0x24c)](_0x47282e))==null?void 0x0:_0x1d3bf5[_0x1fcfab(0x24c)](_0x3b285e),_0x5cbe28=_0x4282a0==null?void 0x0:_0x4282a0[_0x1fcfab(0x1ea)]['getValue'](_0x5bf163,_0x4f6d05);if(_0x5cbe28){const {groupId:_0x2adc47}=_0x5cbe28,_0x4290b4=(_0x4f241a=this['_sparklineModel'][_0x1fcfab(0x24c)](_0x47282e))==null?void 0x0:_0x4f241a[_0x1fcfab(0x24c)](_0x3b285e);(_0x4c3058=_0x4290b4==null?void 0x0:_0x4290b4['get'](_0x2adc47))==null||_0x4c3058[_0x1fcfab(0x1d6)][_0x1fcfab(0x1e9)](_0x5bf163,_0x4f6d05),(_0x4caca1=_0x4290b4==null?void 0x0:_0x4290b4[_0x1fcfab(0x24c)](_0x2adc47))!=null&&_0x4caca1[_0x1fcfab(0x1d6)][_0x1fcfab(0x25b)]()||_0x4290b4==null||_0x4290b4[_0x1fcfab(0x1bd)](_0x2adc47),_0x4282a0==null||_0x4282a0[_0x1fcfab(0x1ea)][_0x1fcfab(0x1e9)](_0x5bf163,_0x4f6d05),this['_updateConfig$']['next']({'unitId':_0x47282e,'subUnitId':_0x3b285e,'groupId':_0x2adc47,'type':_0x1fcfab(0x23e)});}}['clearSparklineCache'](_0x155cea,_0x4960c5,_0x5c4d2e){const _0x2e2f4d=_0xccd401;var _0x123d11,_0x479e70,_0x2827dc,_0x3f7720;const _0x2f99f1=(_0x2827dc=(_0x479e70=(_0x123d11=this[_0x2e2f4d(0x232)][_0x2e2f4d(0x24c)](_0x155cea))==null?void 0x0:_0x123d11[_0x2e2f4d(0x24c)](_0x4960c5))==null?void 0x0:_0x479e70[_0x2e2f4d(0x24c)](_0x5c4d2e))==null?void 0x0:_0x2827dc[_0x2e2f4d(0x1d6)],_0x576381=(_0x3f7720=this[_0x2e2f4d(0x20e)]['get'](_0x155cea))==null?void 0x0:_0x3f7720[_0x2e2f4d(0x24c)](_0x4960c5);if(_0x2f99f1&&_0x576381){const {matrix:_0x3b9f86,extra:_0x31fab8}=_0x576381;_0x2f99f1[_0x2e2f4d(0x1fa)]((_0x1c5130,_0x16c8eb,_0x406a88)=>{const _0x3f8161=_0x2e2f4d;_0x3b9f86[_0x3f8161(0x1e9)](_0x1c5130,_0x16c8eb);}),delete _0x31fab8[_0x5c4d2e];}}['getSubUnitSparkline'](_0x5c0e77,_0x1b999d){const _0x529ebb=_0xccd401;var _0x5df18d;return(_0x5df18d=this[_0x529ebb(0x232)]['get'](_0x5c0e77))==null?void 0x0:_0x5df18d['get'](_0x1b999d);}[_0xccd401(0x1ec)](_0x3160b0,_0x134dd2,_0xa1e72){const _0x2166cc=_0xccd401;var _0x1c194f,_0x33d8b2;return(_0x33d8b2=(_0x1c194f=this[_0x2166cc(0x232)][_0x2166cc(0x24c)](_0x3160b0))==null?void 0x0:_0x1c194f[_0x2166cc(0x24c)](_0x134dd2))==null?void 0x0:_0x33d8b2[_0x2166cc(0x24c)](_0xa1e72);}['getSparkline'](_0x254d58,_0x3f35ce,_0x10157a,_0x1ad3be){const _0x593284=_0xccd401;var _0x54ca4e,_0x38578a,_0x2d528f;return(_0x2d528f=(_0x38578a=(_0x54ca4e=this[_0x593284(0x20e)][_0x593284(0x24c)](_0x254d58))==null?void 0x0:_0x54ca4e[_0x593284(0x24c)](_0x3f35ce))==null?void 0x0:_0x38578a[_0x593284(0x1ea)][_0x593284(0x259)](_0x10157a,_0x1ad3be))==null?void 0x0:_0x2d528f[_0x593284(0x20f)];}[_0xccd401(0x1d7)](_0x46d201,_0xa8791a){const _0x49209a=_0xccd401;var _0x3a8197;const _0x550957=this[_0x49209a(0x1f7)](_0x46d201,_0xa8791a);_0x550957[_0x49209a(0x1ea)][_0x49209a(0x1fa)]((_0x351fe0,_0x377b91,_0x67936e)=>{const _0x420708=_0x49209a;_0x550957['matrix'][_0x420708(0x1e9)](_0x351fe0,_0x377b91);});const _0x4febfe=(_0x3a8197=this['_sparklineModel'][_0x49209a(0x24c)](_0x46d201))==null?void 0x0:_0x3a8197[_0x49209a(0x24c)](_0xa8791a);if(_0x4febfe){for(const [_0x5b72ce,_0x4f534f]of _0x4febfe)this[_0x49209a(0x213)](_0x46d201,_0xa8791a,_0x5b72ce);}}[_0xccd401(0x21b)](){const _0x445c4c=_0xccd401;return{'sparklineModel':this[_0x445c4c(0x232)],'sparklineAnchorMap':this[_0x445c4c(0x20e)]};}['toJSON'](_0x312706){const _0x535ce4=_0xccd401,_0x1d7822={};if(this[_0x535ce4(0x232)][_0x535ce4(0x1c7)](_0x312706)){_0x1d7822[_0x312706]={};const _0x4d9ae0=this[_0x535ce4(0x232)]['get'](_0x312706);_0x4d9ae0!=null&&_0x4d9ae0[_0x535ce4(0x1de)]&&Array[_0x535ce4(0x219)](_0x4d9ae0[_0x535ce4(0x226)]())['forEach'](_0x21ecd6=>{const _0x3900a3=_0x535ce4;_0x1d7822[_0x312706][_0x21ecd6]={};const _0x32fef1=_0x4d9ae0['get'](_0x21ecd6);_0x32fef1!=null&&_0x32fef1[_0x3900a3(0x1de)]&&Array[_0x3900a3(0x219)](_0x32fef1['keys']())['forEach'](_0x2c3d59=>{const _0x54837d=_0x3900a3,_0x51285b=_0x32fef1[_0x54837d(0x24c)](_0x2c3d59);_0x51285b&&(_0x1d7822[_0x312706][_0x21ecd6][_0x2c3d59]={'config':_0x51285b[_0x54837d(0x205)],'sparklines':_0x51285b[_0x54837d(0x1d6)]['getMatrix']()});});});}return _0x1d7822;}['fromJSON'](_0x2bb076){const _0x5503b0=_0xccd401;if(!_0x2bb076)return;Object[_0x5503b0(0x226)](_0x2bb076)[_0x5503b0(0x24d)](_0x3fce8a=>{const _0xf8630e=_0x5503b0,_0x2325a9=_0x2bb076[_0x3fce8a];_0x2325a9&&Object[_0xf8630e(0x226)](_0x2325a9)[_0xf8630e(0x24d)](_0x4372b0=>{const _0xeef46c=_0xf8630e,_0x15b036=_0x2325a9[_0x4372b0];_0x15b036&&Object[_0xeef46c(0x226)](_0x15b036)[_0xeef46c(0x24d)](_0x31aa8f=>{const _0x188fb7=_0xeef46c,_0x94dd40=_0x15b036[_0x31aa8f];if(_0x94dd40){const _0x230c7f={'config':_0x94dd40[_0x188fb7(0x205)],'sparklines':new _0x1048d3(_0x94dd40['sparklines'])};this['addSparkline'](_0x3fce8a,_0x4372b0,_0x31aa8f,_0x230c7f);}});});});}[_0xccd401(0x253)](_0x376992){const _0x37d126=_0xccd401,_0x2a05f6=this[_0x37d126(0x232)][_0x37d126(0x24c)](_0x376992);if(_0x2a05f6){for(const [_0x5ce02c]of _0x2a05f6){const _0xcb4240=_0x2a05f6[_0x37d126(0x24c)](_0x5ce02c);if(_0xcb4240){for(const [_0x451508]of _0xcb4240)this[_0x37d126(0x242)](_0x376992,_0x5ce02c,_0x451508);}}this[_0x37d126(0x232)][_0x37d126(0x1bd)](_0x376992);}}};x=Vt([yt(0x0,_0x225e0c(_0xc51d55))],x);const V={'id':_0xccd401(0x251),'type':_0x1b32cf[_0xccd401(0x20c)],'handler':(_0x880747,_0x34d6e2)=>{const _0x15f302=_0xccd401;if(!_0x34d6e2)return!0x1;const {sparklineConfigMap:_0x4d847c,unitId:_0xbf14f,subUnitId:_0x3b2093}=_0x34d6e2,_0x55db1f=_0x880747[_0x15f302(0x24c)](x);return Object[_0x15f302(0x1ca)](_0x4d847c)[_0x15f302(0x24d)](([_0x5ad1cd,_0x189c7f])=>{const _0x3b3f45=_0x15f302,_0xa77829={'config':_0x189c7f[_0x3b3f45(0x205)],'sparklines':new _0x1048d3(_0x189c7f[_0x3b3f45(0x1d6)])};_0x55db1f['addSparkline'](_0xbf14f,_0x3b2093,_0x5ad1cd,_0xa77829);}),!0x0;}},y={'id':'sheet.mutation.remove-sparkline','type':_0x1b32cf['MUTATION'],'handler':(_0x4d6662,_0x1f2ba3)=>{const _0x4bd9a0=_0xccd401;if(!_0x1f2ba3)return!0x1;const {unitId:_0x42865b,subUnitId:_0x56f389,ranges:_0x1ead10,isSingle:_0x14ec51,groupIds:_0x3ee942}=_0x1f2ba3,_0x40f57a=_0x4d6662[_0x4bd9a0(0x24c)](x);return _0x3ee942?(_0x3ee942[_0x4bd9a0(0x24d)](_0x4e00f1=>{_0x40f57a['removeSparkline'](_0x42865b,_0x56f389,_0x4e00f1);}),!0x0):_0x1ead10?(_0x1ead10[_0x4bd9a0(0x24d)](_0x57614f=>{const _0x2bff3e=_0x4bd9a0;_0x538b0c[_0x2bff3e(0x1fc)](_0x57614f,(_0x57d4c9,_0x1ecb9e)=>{const _0x304914=_0x2bff3e,_0xf81e43=_0x40f57a[_0x304914(0x268)](_0x42865b,_0x56f389,_0x57d4c9,_0x1ecb9e);_0xf81e43&&(_0x14ec51?_0x40f57a[_0x304914(0x262)](_0x42865b,_0x56f389,_0x57d4c9,_0x1ecb9e):_0x40f57a['removeSparkline'](_0x42865b,_0x56f389,_0xf81e43));});}),!0x0):!0x1;}},Nt={'id':_0xccd401(0x1e3),'type':_0x1b32cf[_0xccd401(0x248)],'handler':(_0x22c8b6,_0x2e22ab)=>{const _0x353506=_0xccd401;if(!_0x2e22ab)return!0x1;const {sourceRanges:_0x546fbc,targetRanges:_0x2b9a6c,config:_0x406b1e}=_0x2e22ab,_0x13a679=_0x22c8b6[_0x353506(0x24c)](_0x1d55f9),_0x537285='g_'+_0x4d91f0(0x6),_0x316d6b=Fe(_0x546fbc,_0x2b9a6c),_0x5c7a92={'config':_0x406b1e!=null?_0x406b1e:{},'sparklines':_0x316d6b[_0x353506(0x235)]()},_0x4852c5=_0x22c8b6[_0x353506(0x24c)](_0xc51d55),_0x2ca889=_0x22c8b6[_0x353506(0x24c)](x),_0x442825=_0x10d0a8(_0x4852c5);if(!_0x442825)return!0x1;const {unitId:_0x289804,subUnitId:_0x41c04c}=_0x442825,_0x4808d3=_0x22c8b6[_0x353506(0x24c)](_0x20ed95),_0x4121bb=[],_0x47f9c8=[],_0x2845c3={},_0x15b523={},_0x1fe58c=new Set([_0x537285]);_0x316d6b[_0x353506(0x1fa)]((_0x28cf28,_0x3b5da1,_0x560cc7)=>{const _0x27cb7a=_0x353506,_0x51f0a2=_0x2ca889[_0x27cb7a(0x268)](_0x289804,_0x41c04c,_0x28cf28,_0x3b5da1);if(_0x51f0a2){const _0xa8a3d1=_0x2ca889['getSparklineById'](_0x289804,_0x41c04c,_0x51f0a2);if(_0xa8a3d1){_0x1fe58c[_0x27cb7a(0x1eb)](_0x51f0a2);let _0x4b2d59=_0x2845c3[_0x51f0a2],_0x25272=_0x15b523[_0x51f0a2];_0x25272||(_0x25272={'config':_0x4c1c6f['deepClone'](_0xa8a3d1['config']),'sparklines':new _0x1048d3(_0xa8a3d1[_0x27cb7a(0x1d6)]['clone']())},_0x15b523[_0x51f0a2]=_0x25272),_0x4b2d59||(_0x4b2d59={'config':_0x4c1c6f['deepClone'](_0xa8a3d1['config']),'sparklines':_0xa8a3d1[_0x27cb7a(0x1d6)][_0x27cb7a(0x1e2)]()},_0x2845c3[_0x51f0a2]=_0x4b2d59),_0x25272['sparklines'][_0x27cb7a(0x1e9)](_0x28cf28,_0x3b5da1);}}});const _0x416b90={};return Object[_0x353506(0x1ca)](_0x15b523)[_0x353506(0x24d)](([_0x18af3b,_0x6bc4b9])=>{const _0x3db9ea=_0x353506;_0x6bc4b9['sparklines'][_0x3db9ea(0x1e7)]()&&(_0x416b90[_0x18af3b]={'config':_0x6bc4b9['config'],'sparklines':_0x6bc4b9[_0x3db9ea(0x1d6)][_0x3db9ea(0x1e2)]()});}),_0x416b90[_0x537285]=_0x5c7a92,_0x4121bb[_0x353506(0x1da)]({'id':y['id'],'params':{'unitId':_0x289804,'subUnitId':_0x41c04c,'groupIds':Array[_0x353506(0x219)](_0x1fe58c),'isSingle':!0x1}}),_0x1fe58c[_0x353506(0x1de)]>0x1&&(_0x47f9c8[_0x353506(0x1da)]({'id':y['id'],'params':{'unitId':_0x289804,'subUnitId':_0x41c04c,'groupIds':Array[_0x353506(0x219)](_0x1fe58c),'isSingle':!0x1}}),_0x4121bb[_0x353506(0x1da)]({'id':V['id'],'params':{'unitId':_0x289804,'subUnitId':_0x41c04c,'sparklineConfigMap':_0x2845c3}})),_0x47f9c8[_0x353506(0x1da)]({'id':V['id'],'params':{'unitId':_0x289804,'subUnitId':_0x41c04c,'sparklineConfigMap':_0x416b90}}),_0x120aff(_0x47f9c8,_0x4808d3),_0x13a679[_0x353506(0x277)]({'unitID':_0x289804,'undoMutations':_0x4121bb,'redoMutations':_0x47f9c8}),!0x0;}},Ot={'id':'sheet.command.remove-sparkline','type':_0x1b32cf[_0xccd401(0x248)],'handler':(_0x5c9723,_0x111a12)=>{const _0x1f9f67=_0xccd401;var _0x35ef9b;const {isSingle:_0x11500f=!0x0}=_0x111a12||{},_0x1dd399=_0x5c9723[_0x1f9f67(0x24c)](_0x20ed95),_0x1817f7=_0x5c9723[_0x1f9f67(0x24c)](_0xc51d55),_0x46b5d3=_0x5c9723[_0x1f9f67(0x24c)](x),_0x80fd14=_0x5c9723[_0x1f9f67(0x24c)](_0x1d55f9),_0x29c797=_0x10d0a8(_0x1817f7);if(!_0x29c797)return!0x1;const _0x4ce516=_0x5c9723[_0x1f9f67(0x24c)](_0xa9ab15),_0x7d359a=(_0x35ef9b=_0x111a12==null?void 0x0:_0x111a12[_0x1f9f67(0x1cc)])!=null?_0x35ef9b:_0x4ce516['getCurrentSelections']()[_0x1f9f67(0x1d5)](_0x27458f=>_0x27458f[_0x1f9f67(0x1d3)]),{unitId:_0x229090,subUnitId:_0x5e2665}=_0x29c797,_0x18255f=[],_0x41513f=[];_0x18255f['push']({'id':y['id'],'params':{'unitId':_0x229090,'subUnitId':_0x5e2665,'ranges':_0x7d359a,'isSingle':_0x11500f}});const _0x17aa46=[],_0x1bf65d={};return _0x7d359a[_0x1f9f67(0x24d)](_0x3343d2=>{const _0x2adca0=_0x1f9f67;_0x538b0c[_0x2adca0(0x1fc)](_0x3343d2,(_0x5d617a,_0x5bd6f4)=>{const _0x8c152=_0x2adca0,_0x2d3c96=_0x46b5d3[_0x8c152(0x268)](_0x229090,_0x5e2665,_0x5d617a,_0x5bd6f4);if(_0x2d3c96){const _0x1a6dd0=_0x46b5d3[_0x8c152(0x1ec)](_0x229090,_0x5e2665,_0x2d3c96);_0x1a6dd0&&(_0x17aa46[_0x8c152(0x1da)](_0x2d3c96),_0x1bf65d[_0x2d3c96]={'config':_0x4c1c6f[_0x8c152(0x1d9)](_0x1a6dd0[_0x8c152(0x205)]),'sparklines':_0x4c1c6f['deepClone'](_0x1a6dd0['sparklines'][_0x8c152(0x1e2)]())});}});}),_0x41513f[_0x1f9f67(0x1da)]({'id':y['id'],'params':{'unitId':_0x229090,'subUnitId':_0x5e2665,'groupIds':_0x17aa46,'isSingle':!0x1}}),_0x41513f[_0x1f9f67(0x1da)]({'id':V['id'],'params':{'unitId':_0x229090,'subUnitId':_0x5e2665,'sparklineConfigMap':_0x1bf65d}}),_0x120aff(_0x18255f,_0x1dd399),_0x80fd14[_0x1f9f67(0x277)]({'unitID':_0x229090,'undoMutations':_0x41513f,'redoMutations':_0x18255f}),!0x0;}},Oe={'id':_0xccd401(0x241),'type':_0x1b32cf[_0xccd401(0x20c)],'handler':(_0x488054,_0xa16fc3)=>{const _0x53c1c0=_0xccd401;if(!_0xa16fc3)return!0x1;const {unitId:_0x4ede2e,subUnitId:_0x1e9304,groupIds:_0x270633,config:_0x2c98f1}=_0xa16fc3,_0x1bb1c1=_0x488054['get'](x);return _0x270633[_0x53c1c0(0x24d)](_0x3335b8=>{const _0x293cdb=_0x53c1c0,_0x1f9cfc=_0x1bb1c1[_0x293cdb(0x1ec)](_0x4ede2e,_0x1e9304,_0x3335b8);if(_0x1f9cfc){const _0x51d2d7={'config':Object[_0x293cdb(0x204)]({},_0x1f9cfc[_0x293cdb(0x205)],_0x2c98f1[_0x293cdb(0x205)]),'sparklines':new _0x1048d3(_0x1f9cfc[_0x293cdb(0x1d6)][_0x293cdb(0x1e2)]())};_0x1bb1c1[_0x293cdb(0x23a)](_0x4ede2e,_0x1e9304,[_0x3335b8],_0x51d2d7);}}),!0x0;}},xt={'id':_0xccd401(0x24b),'type':_0x1b32cf['COMMAND'],'handler':(_0x5ef4a8,_0x1de93)=>{const _0x2207ed=_0xccd401;var _0x4afa83,_0x1d3244,_0x36b1a0,_0x1a69c8;if(!_0x1de93)return!0x1;const _0x35f311=_0x5ef4a8[_0x2207ed(0x24c)](_0x20ed95),_0x51e14f=_0x5ef4a8[_0x2207ed(0x24c)](_0xa9ab15),_0x2cf67b=_0x5ef4a8[_0x2207ed(0x24c)](x),_0x4d6ccc=_0x5ef4a8[_0x2207ed(0x24c)](_0xc51d55),_0x3452cd=_0x5ef4a8[_0x2207ed(0x24c)](_0x1d55f9),_0x2ef6e9=_0x10d0a8(_0x4d6ccc);if(!_0x2ef6e9)return!0x1;const {unitId:_0x73c4ae,subUnitId:_0x5eed21}=_0x2ef6e9,_0x4aa350=(_0x4afa83=_0x1de93==null?void 0x0:_0x1de93[_0x2207ed(0x1cc)])!=null?_0x4afa83:_0x51e14f[_0x2207ed(0x25a)]()['map'](_0x58f36b=>_0x58f36b['range']),_0x48f16a=(_0x1d3244=_0x2cf67b['getSparklineCache']()[_0x2207ed(0x1d1)][_0x2207ed(0x24c)](_0x73c4ae))==null?void 0x0:_0x1d3244[_0x2207ed(0x24c)](_0x5eed21),{isChangeDataSource:_0x492f81,config:_0x5d84f5,combine:_0x7e8f11,unCombine:_0x237c2c}=_0x1de93;if(_0x7e8f11){const _0x1a4d77=[],_0x2dbd33=[];_0x1a4d77['push']({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'ranges':_0x4aa350,'isSingle':!0x0}});const _0x55f7b5='g_'+_0x4d91f0(0x6),_0x253025=new _0x1048d3(),_0x1a6cde=(_0x36b1a0=_0x2cf67b[_0x2207ed(0x21b)]()[_0x2207ed(0x1ef)][_0x2207ed(0x24c)](_0x73c4ae))==null?void 0x0:_0x36b1a0[_0x2207ed(0x24c)](_0x5eed21),_0x545774=new Set([_0x55f7b5]),_0x3b06db={};return _0x4aa350[_0x2207ed(0x24d)](_0x5a4af7=>{const _0x4baedf=_0x2207ed;var _0x33afa8,_0x45fdce;const {startRow:_0x18b2e0,endRow:_0x590f4e,startColumn:_0x5d7727,endColumn:_0x3ed68e}=_0x5a4af7;for(let _0x54e4f7=_0x18b2e0;_0x54e4f7<=_0x590f4e;_0x54e4f7++)for(let _0x119504=_0x5d7727;_0x119504<=_0x3ed68e;_0x119504++){const _0x2d76ae=(_0x33afa8=_0x48f16a==null?void 0x0:_0x48f16a[_0x4baedf(0x1ea)][_0x4baedf(0x259)](_0x54e4f7,_0x119504))==null?void 0x0:_0x33afa8[_0x4baedf(0x20f)];if(_0x2d76ae){_0x545774[_0x4baedf(0x1eb)](_0x2d76ae);const _0x4b1fc9=_0x2cf67b[_0x4baedf(0x1ec)](_0x73c4ae,_0x5eed21,_0x2d76ae);_0x4b1fc9&&(_0x3b06db[_0x2d76ae]={'config':_0x4c1c6f['deepClone'](_0x4b1fc9[_0x4baedf(0x205)]),'sparklines':_0x4c1c6f['deepClone'](_0x4b1fc9[_0x4baedf(0x1d6)][_0x4baedf(0x1e2)]())});const _0x2f38c5=(_0x45fdce=_0x1a6cde==null?void 0x0:_0x1a6cde[_0x4baedf(0x24c)](_0x2d76ae))==null?void 0x0:_0x45fdce[_0x4baedf(0x1d6)][_0x4baedf(0x259)](_0x54e4f7,_0x119504);_0x2f38c5&&_0x253025[_0x4baedf(0x1f0)](_0x54e4f7,_0x119504,_0x2f38c5);}}}),_0x1a4d77[_0x2207ed(0x1da)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x55f7b5]:{'config':_0x4c1c6f['deepClone'](_0x5d84f5['config']),'sparklines':_0x253025['getMatrix']()}},'unitId':_0x73c4ae,'subUnitId':_0x5eed21}}),_0x2dbd33[_0x2207ed(0x1da)]({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'isSingle':!0x1,'groupIds':Array['from'](_0x545774)}}),_0x2dbd33['push']({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':_0x3b06db}}),_0x120aff(_0x1a4d77,_0x35f311),_0x3452cd[_0x2207ed(0x277)]({'unitID':_0x73c4ae,'undoMutations':_0x2dbd33,'redoMutations':_0x1a4d77}),!0x0;}else{if(_0x237c2c){const _0x55b754=[],_0x41a6a8=[];_0x55b754[_0x2207ed(0x1da)]({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'ranges':_0x4aa350,'isSingle':!0x0}});const _0x2901aa=(_0x1a69c8=_0x2cf67b['getSparklineCache']()['sparklineModel']['get'](_0x73c4ae))==null?void 0x0:_0x1a69c8['get'](_0x5eed21),_0x4adc24={},_0x5c0ed0=new Set(),_0x3b496d={};return _0x4aa350[_0x2207ed(0x24d)](_0x383339=>{const _0x374eb7=_0x2207ed;var _0x591a4a,_0x345044;const {startRow:_0x3df717,endRow:_0x157dc1,startColumn:_0x3fc228,endColumn:_0x595b06}=_0x383339;for(let _0x42dc30=_0x3df717;_0x42dc30<=_0x157dc1;_0x42dc30++)for(let _0x20c8c0=_0x3fc228;_0x20c8c0<=_0x595b06;_0x20c8c0++){const _0x4e55b0=(_0x591a4a=_0x48f16a==null?void 0x0:_0x48f16a[_0x374eb7(0x1ea)]['getValue'](_0x42dc30,_0x20c8c0))==null?void 0x0:_0x591a4a[_0x374eb7(0x20f)];if(_0x4e55b0){const _0x4af9af=new _0x1048d3(),_0x4bedc4='g_'+_0x4d91f0(0x6);_0x5c0ed0['add'](_0x4e55b0),_0x5c0ed0['add'](_0x4bedc4);const _0x3f7839=_0x2cf67b[_0x374eb7(0x1ec)](_0x73c4ae,_0x5eed21,_0x4e55b0);_0x3f7839&&(_0x3b496d[_0x4e55b0]={'config':_0x4c1c6f[_0x374eb7(0x1d9)](_0x3f7839['config']),'sparklines':_0x4c1c6f[_0x374eb7(0x1d9)](_0x3f7839[_0x374eb7(0x1d6)][_0x374eb7(0x1e2)]())});const _0x544a59=(_0x345044=_0x2901aa==null?void 0x0:_0x2901aa[_0x374eb7(0x24c)](_0x4e55b0))==null?void 0x0:_0x345044[_0x374eb7(0x1d6)][_0x374eb7(0x259)](_0x42dc30,_0x20c8c0);_0x544a59&&_0x4af9af[_0x374eb7(0x1f0)](_0x42dc30,_0x20c8c0,_0x544a59),_0x4adc24[_0x4bedc4]={'sparklines':_0x4af9af[_0x374eb7(0x235)](),'config':_0x4c1c6f[_0x374eb7(0x1d9)](_0x5d84f5[_0x374eb7(0x205)])};}}}),_0x55b754[_0x2207ed(0x1da)]({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':_0x4adc24}}),_0x41a6a8[_0x2207ed(0x1da)]({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'isSingle':!0x1,'groupIds':Array[_0x2207ed(0x219)](_0x5c0ed0)}}),_0x41a6a8[_0x2207ed(0x1da)]({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':_0x3b496d}}),_0x120aff(_0x55b754,_0x35f311),_0x3452cd[_0x2207ed(0x277)]({'unitID':_0x73c4ae,'undoMutations':_0x41a6a8,'redoMutations':_0x55b754}),!0x0;}}if(_0x492f81){const _0x46706f=_0x1de93[_0x2207ed(0x1f3)];if(!_0x46706f)return!0x1;const {groupId:_0x3b2954,sourceRanges:_0x65a92a,targetRanges:_0x3c9deb,resetType:_0xe7cb27,primary:_0x12ad66}=_0x46706f,_0x23e94a=[],_0x22a8d7=[];_0x23e94a[_0x2207ed(0x1da)]({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'ranges':_0x4aa350,'isSingle':!0x1,'groupIds':[_0x3b2954]}}),_0x22a8d7[_0x2207ed(0x1da)]({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'ranges':_0x4aa350,'isSingle':!0x1,'groupIds':[_0x3b2954]}});let _0x156c85;_0xe7cb27===_0x2207ed(0x236)?(_0x156c85=new _0x1048d3(_0x5d84f5[_0x2207ed(0x1d6)][_0x2207ed(0x1e2)]()),_0x156c85[_0x2207ed(0x1e9)](_0x12ad66['actualRow'],_0x12ad66[_0x2207ed(0x25e)]),_0x156c85[_0x2207ed(0x1f0)](_0x3c9deb[0x0]['startRow'],_0x3c9deb[0x0]['startColumn'],_0x65a92a[0x0])):_0x156c85=Fe(_0x65a92a,_0x3c9deb);const _0x589170={'config':_0x4c1c6f[_0x2207ed(0x1d9)](_0x5d84f5[_0x2207ed(0x205)]),'sparklines':_0x156c85['getMatrix']()},_0x4b6541={'config':_0x4c1c6f[_0x2207ed(0x1d9)](_0x5d84f5['config']),'sparklines':_0x4c1c6f['deepClone'](_0x5d84f5[_0x2207ed(0x1d6)][_0x2207ed(0x1e2)]())};_0x23e94a[_0x2207ed(0x1da)]({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':{[_0x3b2954]:_0x589170}}}),_0x22a8d7[_0x2207ed(0x1da)]({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':{[_0x3b2954]:_0x4b6541}}}),_0x120aff(_0x23e94a,_0x35f311),_0x3452cd[_0x2207ed(0x277)]({'unitID':_0x73c4ae,'undoMutations':_0x22a8d7,'redoMutations':_0x23e94a});}else{const _0x13aca5=[],_0x5a017f=[],_0x16f5fe=new Set(),_0x41da17={};_0x4aa350[_0x2207ed(0x24d)](_0x560e6f=>{const _0x180930=_0x2207ed;var _0x2aa8aa;const {startRow:_0x3f3683,endRow:_0x41161e,startColumn:_0x1109bb,endColumn:_0x26ce7c}=_0x560e6f;for(let _0xe594db=_0x3f3683;_0xe594db<=_0x41161e;_0xe594db++)for(let _0x4855e=_0x1109bb;_0x4855e<=_0x26ce7c;_0x4855e++){const _0xcbebb7=(_0x2aa8aa=_0x48f16a==null?void 0x0:_0x48f16a[_0x180930(0x1ea)]['getValue'](_0xe594db,_0x4855e))==null?void 0x0:_0x2aa8aa[_0x180930(0x20f)];if(_0xcbebb7){_0x16f5fe[_0x180930(0x1eb)](_0xcbebb7);const _0x3dbebc=_0x2cf67b['getSparklineById'](_0x73c4ae,_0x5eed21,_0xcbebb7);_0x3dbebc&&(_0x41da17[_0xcbebb7]={'config':_0x4c1c6f[_0x180930(0x1d9)](_0x3dbebc[_0x180930(0x205)]),'sparklines':_0x4c1c6f[_0x180930(0x1d9)](_0x3dbebc['sparklines']['clone']())});}}}),_0x5a017f[_0x2207ed(0x1da)]({'id':Oe['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'groupIds':Array[_0x2207ed(0x219)](_0x16f5fe),'config':{'config':_0x4c1c6f[_0x2207ed(0x1d9)](_0x5d84f5[_0x2207ed(0x205)]),'sparklines':_0x5d84f5[_0x2207ed(0x1d6)][_0x2207ed(0x235)]()}}}),_0x13aca5['push']({'id':y['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'isSingle':!0x1,'groupIds':Array['from'](_0x16f5fe)}}),_0x13aca5[_0x2207ed(0x1da)]({'id':V['id'],'params':{'unitId':_0x73c4ae,'subUnitId':_0x5eed21,'sparklineConfigMap':_0x41da17}}),_0x120aff(_0x5a017f,_0x35f311),_0x3452cd[_0x2207ed(0x277)]({'unitID':_0x73c4ae,'undoMutations':_0x13aca5,'redoMutations':_0x5a017f});}return!0x0;}};var Ut=Object[_0xccd401(0x1d0)],Pt=(_0x65be22,_0x25fcad,_0x34e623,_0x556c4f)=>{const _0x3d0a51=_0xccd401;for(var _0x5a006d=_0x556c4f>0x1?void 0x0:_0x556c4f?Ut(_0x25fcad,_0x34e623):_0x25fcad,_0x37359c=_0x65be22[_0x3d0a51(0x1ed)]-0x1,_0x13bbd5;_0x37359c>=0x0;_0x37359c--)(_0x13bbd5=_0x65be22[_0x37359c])&&(_0x5a006d=_0x13bbd5(_0x5a006d)||_0x5a006d);return _0x5a006d;},ge=(_0x16cf62,_0x582820)=>(_0x4931fd,_0x324230)=>_0x582820(_0x4931fd,_0x324230,_0x16cf62);let Se=class extends _0x338254{constructor(_0x25c840,_0x498d43,_0x3cc807,_0x60e2ec){const _0x43ea1c=_0xccd401;super(),this[_0x43ea1c(0x274)]=_0x25c840,this['_sheetInterceptorService']=_0x498d43,this[_0x43ea1c(0x1f5)]=_0x3cc807,this[_0x43ea1c(0x258)]=_0x60e2ec,this[_0x43ea1c(0x1dc)]();}[_0xccd401(0x1dc)](){const _0x118e33=_0xccd401;this[_0x118e33(0x244)](this[_0x118e33(0x216)][_0x118e33(0x267)]({'getMutations':_0x50ff1b=>{const _0x245931=_0x118e33,_0x2516e9=[],_0x3b60a7=[];if(_0x50ff1b['id']===_0x191099['id']){const _0x416f51=_0x10d0a8(this[_0x245931(0x1f5)]);if(!_0x416f51)return{'redos':_0x2516e9,'undos':_0x3b60a7};const {unitId:_0x78b92d,subUnitId:_0x4c283b,worksheet:_0x131aa1}=_0x416f51,_0x105dac=this[_0x245931(0x258)][_0x245931(0x25a)]()['map'](_0x4f08e4=>_0x4f08e4[_0x245931(0x1d3)]),_0x3d9d71=new Set(),_0x292f68={},_0x5b5b96={};_0x105dac['forEach'](_0x1b7018=>{const _0x30beed=_0x245931;_0x538b0c[_0x30beed(0x1fc)](_0x1b7018,(_0x3a2b82,_0x3e06f6)=>{const _0x3a68e7=_0x30beed,_0x1a17c7=this[_0x3a68e7(0x274)]['getSparkline'](_0x78b92d,_0x4c283b,_0x3a2b82,_0x3e06f6);if(_0x1a17c7&&!_0x3d9d71['has'](_0x1a17c7)){const _0x32b3bf=this[_0x3a68e7(0x274)][_0x3a68e7(0x1ec)](_0x78b92d,_0x4c283b,_0x1a17c7);_0x32b3bf&&(_0x3d9d71[_0x3a68e7(0x1eb)](_0x1a17c7),_0x292f68[_0x1a17c7]={'config':_0x4c1c6f['deepClone'](_0x32b3bf['config']),'sparklines':_0x4c1c6f[_0x3a68e7(0x1d9)](_0x32b3bf[_0x3a68e7(0x1d6)]['clone']())},_0x5b5b96[_0x1a17c7]={'config':_0x4c1c6f[_0x3a68e7(0x1d9)](_0x32b3bf['config']),'sparklines':_0x4c1c6f['deepClone'](_0x32b3bf[_0x3a68e7(0x1d6)][_0x3a68e7(0x1e2)]())});}});}),Object[_0x245931(0x245)](_0x5b5b96)[_0x245931(0x24d)](_0x30d45f=>{const _0x4f3ab1=_0x245931,_0x26c99b=_0x30d45f[_0x4f3ab1(0x1d6)];new _0x1048d3(_0x26c99b)[_0x4f3ab1(0x1fa)]((_0x1bf73f,_0x4585f1,_0x534f9d)=>{const _0x351954=_0x4f3ab1;_0x105dac['some'](_0x438a39=>_0xdfa53d[_0x351954(0x271)](_0x438a39,_0xb7b91f(_0x1bf73f,_0x4585f1)))&&delete _0x26c99b[_0x1bf73f][_0x4585f1];});}),_0x2516e9['push']({'id':y['id'],'params':{'unitId':_0x78b92d,'subUnitId':_0x4c283b,'groupIds':Array['from'](_0x3d9d71),'isSingle':!0x1}}),_0x2516e9[_0x245931(0x1da)]({'id':V['id'],'params':{'unitId':_0x78b92d,'subUnitId':_0x4c283b,'sparklineConfigMap':_0x5b5b96}}),_0x3b60a7[_0x245931(0x1da)]({'id':y['id'],'params':{'unitId':_0x78b92d,'subUnitId':_0x4c283b,'groupIds':Array[_0x245931(0x219)](_0x3d9d71),'isSingle':!0x1}}),_0x3b60a7[_0x245931(0x1da)]({'id':V['id'],'params':{'unitId':_0x78b92d,'subUnitId':_0x4c283b,'sparklineConfigMap':_0x292f68}});}return{'redos':_0x2516e9,'undos':_0x3b60a7};}}));}};Se=Pt([ge(0x0,_0x225e0c(x)),ge(0x1,_0x225e0c(_0x30cdc7)),ge(0x2,_0x225e0c(_0xc51d55)),ge(0x3,_0x225e0c(_0xa9ab15))],Se);var Tt=Object['getOwnPropertyDescriptor'],$t=(_0x593d96,_0x1ea853,_0x65aee4,_0x62a596)=>{const _0x3d774d=_0xccd401;for(var _0x370944=_0x62a596>0x1?void 0x0:_0x62a596?Tt(_0x1ea853,_0x65aee4):_0x1ea853,_0x57d7b8=_0x593d96[_0x3d774d(0x1ed)]-0x1,_0x411a17;_0x57d7b8>=0x0;_0x57d7b8--)(_0x411a17=_0x593d96[_0x57d7b8])&&(_0x370944=_0x411a17(_0x370944)||_0x370944);return _0x370944;},Ge=(_0x293327,_0xc314d2)=>(_0x5602ba,_0x12219e)=>_0xc314d2(_0x5602ba,_0x12219e,_0x293327);let ke=class extends _0x338254{constructor(_0x148844,_0x34b9e7){const _0x46828c=_0xccd401;super(),this[_0x46828c(0x216)]=_0x148844,this['_sparklineDataSourceModel']=_0x34b9e7,this['_initCopySheetWithSparkline']();}['_initCopySheetWithSparkline'](){const _0x37c1bb=_0xccd401;this[_0x37c1bb(0x244)](this[_0x37c1bb(0x216)][_0x37c1bb(0x267)]({'getMutations':_0x51f048=>{const _0x46c8fb=_0x37c1bb,_0x64c66b=[],_0x32b765=[];if(_0x51f048['id']===_0x4c9751['id']){const _0x1bba8d=_0x51f048[_0x46c8fb(0x231)];if(!_0x1bba8d)return{'redos':_0x64c66b,'undos':_0x32b765};const {unitId:_0x23d674,subUnitId:_0x38225,targetSubUnitId:_0x3abda1}=_0x1bba8d;if(!_0x23d674||!_0x38225||!_0x3abda1)return{'redos':_0x64c66b,'undos':_0x32b765};const _0x15072b=new Set(),_0x15a2e1={},_0x2f1c43=this[_0x46c8fb(0x274)][_0x46c8fb(0x261)](_0x23d674,_0x38225);if(!_0x2f1c43)return{'redos':_0x64c66b,'undos':_0x32b765};for(const [_0x2a4ca0,_0x86f7de]of _0x2f1c43){const _0x3fd204='g_'+_0x4d91f0(0x6);_0x15072b['add'](_0x2a4ca0),_0x15a2e1[_0x3fd204]={'config':_0x4c1c6f[_0x46c8fb(0x1d9)](_0x86f7de['config']),'sparklines':_0x4c1c6f[_0x46c8fb(0x1d9)](_0x86f7de[_0x46c8fb(0x1d6)][_0x46c8fb(0x1e2)]())};}_0x15072b[_0x46c8fb(0x1de)]&&(_0x32b765[_0x46c8fb(0x1da)]({'id':y['id'],'params':{'unitId':_0x23d674,'subUnitId':_0x3abda1,'groupIds':Array[_0x46c8fb(0x219)](_0x15072b),'isSingle':!0x1}}),_0x64c66b[_0x46c8fb(0x1da)]({'id':V['id'],'params':{'unitId':_0x23d674,'subUnitId':_0x3abda1,'sparklineConfigMap':_0x15a2e1}}));}return{'redos':_0x64c66b,'undos':_0x32b765};}}));}};ke=$t([Ge(0x0,_0x225e0c(_0x30cdc7)),Ge(0x1,_0x225e0c(x))],ke);var jt=Object['getOwnPropertyDescriptor'],Lt=(_0x112090,_0x20d2db,_0x731dcc,_0x5c1564)=>{const _0x5bf035=_0xccd401;for(var _0x2356bf=_0x5c1564>0x1?void 0x0:_0x5c1564?jt(_0x20d2db,_0x731dcc):_0x20d2db,_0x347963=_0x112090[_0x5bf035(0x1ed)]-0x1,_0x54b4d3;_0x347963>=0x0;_0x347963--)(_0x54b4d3=_0x112090[_0x347963])&&(_0x2356bf=_0x54b4d3(_0x2356bf)||_0x2356bf);return _0x2356bf;},be=(_0x1bc811,_0x27a55f)=>(_0x276fb8,_0x4ee17e)=>_0x27a55f(_0x276fb8,_0x4ee17e,_0x1bc811);let me=class extends _0x338254{constructor(_0xcaccf2,_0x41b775,_0x58dff7){const _0x1b8b01=_0xccd401;super(),this[_0x1b8b01(0x246)]=_0xcaccf2,this[_0x1b8b01(0x274)]=_0x41b775,this[_0x1b8b01(0x1cb)]=_0x58dff7,this[_0x1b8b01(0x254)](),this[_0x1b8b01(0x23d)]();}['_initDataChangeListener'](){const _0x2a865f=_0xccd401;this['disposeWithMe'](this[_0x2a865f(0x246)]['onCommandExecuted'](_0x27b94f=>{const _0x58b730=_0x2a865f;if(_0x27b94f['id']===_0x2120d3['id']){const _0x48c80a=_0x27b94f[_0x58b730(0x231)],{cellValue:_0x56a0c8,unitId:_0x5f3cda,subUnitId:_0x219831}=_0x48c80a,_0x50b89c=new _0x1048d3(_0x56a0c8),_0x8c72bf=new Set(),_0xa4bf58=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x5f3cda,_0x219831);if(!_0xa4bf58)return;const _0x52dae2=Array[_0x58b730(0x219)](_0xa4bf58);_0x50b89c[_0x58b730(0x1fa)]((_0x26e8fe,_0x1dd12e,_0x471d66)=>{const _0x57bcd0=_0x58b730,_0x195f49=_0xb7b91f(_0x26e8fe,_0x1dd12e);for(let _0x533830=0x0;_0x533830<_0x52dae2[_0x57bcd0(0x1ed)];_0x533830++){const [_0x162bc4,_0x1c42bc]=_0x52dae2[_0x533830],_0x50e631=_0x8c72bf[_0x57bcd0(0x1c7)](_0x162bc4);_0x50e631||_0x1c42bc['sparklines'][_0x57bcd0(0x1fa)]((_0x1dd4fa,_0x13b71e,_0x27ef6a)=>{const _0x5e7bd9=_0x57bcd0,_0x4f1915=_0x27ef6a;if(_0x4f1915&&!_0x50e631&&_0xdfa53d[_0x5e7bd9(0x271)](_0x195f49,_0x4f1915))return _0x8c72bf[_0x5e7bd9(0x1eb)](_0x162bc4),!0x0;});}}),_0x8c72bf[_0x58b730(0x24d)](_0x5f1122=>{const _0xdde83=_0x58b730;this[_0xdde83(0x274)][_0xdde83(0x242)](_0x5f3cda,_0x219831,_0x5f1122),this[_0xdde83(0x274)][_0xdde83(0x213)](_0x5f3cda,_0x219831,_0x5f1122);});}else{if(_0x27b94f['id']===_0x391ebd['id']){const _0x27b1d8=_0x27b94f['params'],{range:_0x3016b5,unitId:_0x1ef28a,subUnitId:_0x517e0d}=_0x27b1d8,_0x2c9c10=new Set(),_0x4687b5=this[_0x58b730(0x274)]['getSubUnitSparkline'](_0x1ef28a,_0x517e0d);if(!_0x4687b5)return;const _0x3e1a81=Array[_0x58b730(0x219)](_0x4687b5);for(let _0x2bad6f=0x0;_0x2bad6f<_0x3e1a81[_0x58b730(0x1ed)];_0x2bad6f++){const [_0x2a8ec7,_0x33527f]=_0x3e1a81[_0x2bad6f],_0x3fa04b=_0x2c9c10['has'](_0x2a8ec7);_0x3fa04b||_0x33527f[_0x58b730(0x1d6)][_0x58b730(0x1fa)]((_0x10fe2f,_0xe5aa06,_0xb925c6)=>{const _0x5975b5=_0x58b730,_0x1e6f09=_0xb925c6;if(_0x1e6f09&&!_0x3fa04b&&_0xdfa53d[_0x5975b5(0x271)](_0x3016b5,_0x1e6f09))return _0x2c9c10[_0x5975b5(0x1eb)](_0x2a8ec7),!0x0;});}_0x2c9c10[_0x58b730(0x24d)](_0x4f9e84=>{const _0xf1db45=_0x58b730;this['_sparklineDataSourceModel'][_0xf1db45(0x242)](_0x1ef28a,_0x517e0d,_0x4f9e84),this[_0xf1db45(0x274)][_0xf1db45(0x213)](_0x1ef28a,_0x517e0d,_0x4f9e84);});}}}));}['_initExclusiveRangeChange'](){const _0xdefbc0=_0xccd401;this['disposeWithMe'](this[_0xdefbc0(0x1cb)][_0xdefbc0(0x25d)]['subscribe'](_0xa2e6bd=>{const _0x4d932f=_0xdefbc0,{unitId:_0x2b6510,subUnitId:_0x3d4d83,ranges:_0x281c2e}=_0xa2e6bd,_0x365bc8=this[_0x4d932f(0x274)][_0x4d932f(0x261)](_0x2b6510,_0x3d4d83);if(!_0x365bc8)return;const _0x3784d2=Array[_0x4d932f(0x219)](_0x365bc8),_0x5c068f=new Set();for(let _0x16bd4c=0x0;_0x16bd4c<_0x3784d2[_0x4d932f(0x1ed)];_0x16bd4c++){const [_0x5d6595,_0x523e8f]=_0x3784d2[_0x16bd4c],_0x3afeb6=_0x5c068f['has'](_0x5d6595);_0x3afeb6||_0x523e8f[_0x4d932f(0x1d6)]['forValue']((_0x1cc763,_0x2b3156,_0x4c5de5)=>{const _0x394ecf=_0x4d932f,_0x52d4b8=_0x4c5de5;if(_0x52d4b8&&!_0x3afeb6){for(const _0x33c383 of _0x281c2e)if(_0xdfa53d['intersects'](_0x33c383,_0x52d4b8)){_0x5c068f[_0x394ecf(0x1eb)](_0x5d6595);break;}}});}_0x5c068f[_0x4d932f(0x24d)](_0x9fd34f=>{const _0x5be209=_0x4d932f;this[_0x5be209(0x274)][_0x5be209(0x242)](_0x2b6510,_0x3d4d83,_0x9fd34f),this[_0x5be209(0x274)][_0x5be209(0x213)](_0x2b6510,_0x3d4d83,_0x9fd34f);});}));}};me=Lt([be(0x0,_0x225e0c(_0x20ed95)),be(0x1,_0x225e0c(x)),be(0x2,_0x225e0c(_0x11a8c4))],me);var Gt=Object[_0xccd401(0x1d0)],Wt=(_0x4ccadb,_0x1506e8,_0x154514,_0x595fab)=>{const _0x4b5b27=_0xccd401;for(var _0x256db7=_0x595fab>0x1?void 0x0:_0x595fab?Gt(_0x1506e8,_0x154514):_0x1506e8,_0x298146=_0x4ccadb[_0x4b5b27(0x1ed)]-0x1,_0xecd8c9;_0x298146>=0x0;_0x298146--)(_0xecd8c9=_0x4ccadb[_0x298146])&&(_0x256db7=_0xecd8c9(_0x256db7)||_0x256db7);return _0x256db7;},We=(_0x231cda,_0x55b2cd)=>(_0x1319bb,_0xdbdaf3)=>_0x55b2cd(_0x1319bb,_0xdbdaf3,_0x231cda);let Ce=class extends _0x338254{constructor(_0x4ce8ab,_0x3c1cd0){const _0x533ad0=_0xccd401;super(),this[_0x533ad0(0x246)]=_0x4ce8ab,this['_sparklineDataSourceModel']=_0x3c1cd0,this['_initHideRowColWithSparkline']();}[_0xccd401(0x260)](){const _0x5f1e3a=_0xccd401;this[_0x5f1e3a(0x246)][_0x5f1e3a(0x217)](_0x65cfc0=>{const _0x5ddd71=_0x5f1e3a;if(_0x65cfc0['id']===_0x4ea950['id']||_0x65cfc0['id']===_0x4993a6['id']||_0x65cfc0['id']===_0x121817['id']||_0x65cfc0['id']===_0xcf4297['id']){const _0x46a7b6=_0x65cfc0[_0x5ddd71(0x231)],{ranges:_0x41d403,unitId:_0x250ad1,subUnitId:_0x311e90}=_0x46a7b6,_0x2ae99c=new Set(),_0x57914b=this[_0x5ddd71(0x274)]['getSubUnitSparkline'](_0x250ad1,_0x311e90);if(!_0x57914b)return;const _0x2ab108=Array[_0x5ddd71(0x219)](_0x57914b);_0x41d403['forEach'](_0x2786d2=>{const _0x4e172e=_0x5ddd71;_0x538b0c[_0x4e172e(0x1fc)](_0x2786d2,(_0xbe8c52,_0x24fa52)=>{const _0x372acd=_0x4e172e,_0x473636=_0xb7b91f(_0xbe8c52,_0x24fa52);for(let _0x44e662=0x0;_0x44e662<_0x2ab108[_0x372acd(0x1ed)];_0x44e662++){const [_0xcc8a0b,_0x1b7474]=_0x2ab108[_0x44e662],_0xff64f5=_0x2ae99c['has'](_0xcc8a0b);_0xff64f5||_0x1b7474[_0x372acd(0x1d6)][_0x372acd(0x1fa)]((_0x2d72dd,_0x22f35e,_0x242610)=>{const _0x293bc2=_0x372acd,_0x8c4c43=_0x242610;if(_0x8c4c43&&!_0xff64f5&&_0xdfa53d[_0x293bc2(0x271)](_0x473636,_0x8c4c43))return _0x2ae99c[_0x293bc2(0x1eb)](_0xcc8a0b),!0x0;});}});}),_0x2ae99c[_0x5ddd71(0x24d)](_0xa49c18=>{const _0x5d292a=_0x5ddd71;this[_0x5d292a(0x274)][_0x5d292a(0x242)](_0x250ad1,_0x311e90,_0xa49c18),this[_0x5d292a(0x274)][_0x5d292a(0x213)](_0x250ad1,_0x311e90,_0xa49c18);});}});}};Ce=Wt([We(0x0,_0x225e0c(_0x20ed95)),We(0x1,_0x225e0c(x))],Ce);var Bt=Object[_0xccd401(0x1d0)],Ht=(_0x50c991,_0x1505f6,_0x4ee5cb,_0x2eb159)=>{const _0x2e58bd=_0xccd401;for(var _0x20126b=_0x2eb159>0x1?void 0x0:_0x2eb159?Bt(_0x1505f6,_0x4ee5cb):_0x1505f6,_0x483e93=_0x50c991[_0x2e58bd(0x1ed)]-0x1,_0x54a0ae;_0x483e93>=0x0;_0x483e93--)(_0x54a0ae=_0x50c991[_0x483e93])&&(_0x20126b=_0x54a0ae(_0x20126b)||_0x20126b);return _0x20126b;},De=(_0x1abe60,_0xe03817)=>(_0x43bcef,_0xcd8415)=>_0xe03817(_0x43bcef,_0xcd8415,_0x1abe60);let _e=class extends _0x338254{constructor(_0x1055ed,_0x2c29f3,_0x3b33b3){const _0x322768=_0xccd401;super(),this[_0x322768(0x246)]=_0x1055ed,this[_0x322768(0x216)]=_0x2c29f3,this[_0x322768(0x274)]=_0x3b33b3,this[_0x322768(0x212)]();}['_initMergeWithSparkline'](){const _0x5a77dd=_0xccd401;this[_0x5a77dd(0x244)](this[_0x5a77dd(0x216)][_0x5a77dd(0x267)]({'getMutations':_0x47306a=>{const _0x415b43=_0x5a77dd,_0x10a68f=[],_0x17063d=[];if(_0x47306a['id']===_0xf39eb3['id']){const _0xd17c35=_0x47306a[_0x415b43(0x231)];if(!_0xd17c35)return{'redos':_0x10a68f,'undos':_0x17063d};const {unitId:_0x4234af,subUnitId:_0x33cd20,ranges:_0x5d9573}=_0xd17c35,_0x4bd73a=this[_0x415b43(0x274)][_0x415b43(0x261)](_0x4234af,_0x33cd20);if(!_0x4bd73a)return{'redos':_0x10a68f,'undos':_0x17063d};const _0x2d1775={},_0x3964a2={},_0x41efc2=new Set();_0x5d9573['forEach'](_0x323b93=>{const _0x2cf84d=_0x415b43,_0x2498b4=_0x323b93[_0x2cf84d(0x22c)],_0x36c4e0=_0x323b93['startColumn'];_0x538b0c[_0x2cf84d(0x1fc)](_0x323b93,(_0x1f8f96,_0x10817b)=>{const _0x19411e=_0x2cf84d,_0x2e9488=this[_0x19411e(0x274)][_0x19411e(0x268)](_0x4234af,_0x33cd20,_0x1f8f96,_0x10817b);if(_0x2e9488&&!(_0x1f8f96===_0x2498b4&&_0x10817b===_0x36c4e0)){const _0x1e75eb=this[_0x19411e(0x274)][_0x19411e(0x1ec)](_0x4234af,_0x33cd20,_0x2e9488);if(_0x1e75eb){_0x41efc2[_0x19411e(0x1eb)](_0x2e9488);let _0x2c6335=_0x2d1775[_0x2e9488];_0x2c6335||(_0x2c6335={'config':_0x4c1c6f[_0x19411e(0x1d9)](_0x1e75eb[_0x19411e(0x205)]),'sparklines':new _0x1048d3(_0x1e75eb[_0x19411e(0x1d6)]['clone']())},_0x2d1775[_0x2e9488]=_0x2c6335),_0x2c6335[_0x19411e(0x1d6)]['realDeleteValue'](_0x1f8f96,_0x10817b),_0x3964a2[_0x2e9488]={'config':_0x4c1c6f['deepClone'](_0x1e75eb[_0x19411e(0x205)]),'sparklines':_0x4c1c6f[_0x19411e(0x1d9)](_0x1e75eb['sparklines'][_0x19411e(0x1e2)]())};}}});});for(const [_0x1ea240,_0x398fd1]of _0x4bd73a){const _0x454847=_0x398fd1[_0x415b43(0x1d6)];_0x454847[_0x415b43(0x1fa)]((_0x34b618,_0xd24f3e,_0x695c74)=>{const _0x4ac47e=_0x415b43;for(let _0x49a6d1=0x0;_0x49a6d1<_0x5d9573[_0x4ac47e(0x1ed)];_0x49a6d1++){const _0x3bc835=_0x5d9573[_0x49a6d1];if(_0xdfa53d['contains'](_0x3bc835,_0x695c74)){_0x41efc2[_0x4ac47e(0x1eb)](_0x1ea240);let _0x562b1e=_0x2d1775[_0x1ea240];_0x562b1e||(_0x562b1e={'config':_0x4c1c6f[_0x4ac47e(0x1d9)](_0x398fd1[_0x4ac47e(0x205)]),'sparklines':new _0x1048d3(_0x454847[_0x4ac47e(0x1e2)]())},_0x2d1775[_0x1ea240]=_0x562b1e),_0x562b1e[_0x4ac47e(0x1d6)]['realDeleteValue'](_0x34b618,_0xd24f3e),_0x3964a2[_0x1ea240]||(_0x3964a2[_0x1ea240]={'config':_0x4c1c6f[_0x4ac47e(0x1d9)](_0x398fd1['config']),'sparklines':_0x4c1c6f['deepClone'](_0x454847[_0x4ac47e(0x1e2)]())});}}});}const _0x25dd0f={};Object[_0x415b43(0x1ca)](_0x2d1775)[_0x415b43(0x24d)](([_0x273446,_0x5e1dfb])=>{const _0x103291=_0x415b43;_0x5e1dfb[_0x103291(0x1d6)][_0x103291(0x1e7)]()&&(_0x25dd0f[_0x273446]={'config':_0x5e1dfb[_0x103291(0x205)],'sparklines':_0x5e1dfb[_0x103291(0x1d6)][_0x103291(0x1e2)]()});}),_0x41efc2[_0x415b43(0x1de)]&&(_0x10a68f['push']({'id':y['id'],'params':{'unitId':_0x4234af,'subUnitId':_0x33cd20,'groupIds':Array[_0x415b43(0x219)](_0x41efc2),'isSingle':!0x1}}),_0x17063d[_0x415b43(0x1da)]({'id':y['id'],'params':{'unitId':_0x4234af,'subUnitId':_0x33cd20,'groupIds':Array['from'](_0x41efc2),'isSingle':!0x1}}),_0x10a68f[_0x415b43(0x1da)]({'id':V['id'],'params':{'unitId':_0x4234af,'subUnitId':_0x33cd20,'sparklineConfigMap':_0x25dd0f}}),_0x17063d[_0x415b43(0x1da)]({'id':V['id'],'params':{'unitId':_0x4234af,'subUnitId':_0x33cd20,'sparklineConfigMap':_0x3964a2}}));}return{'redos':_0x10a68f,'undos':_0x17063d};}}));}};_e=Ht([De(0x0,_0x225e0c(_0x20ed95)),De(0x1,_0x225e0c(_0x30cdc7)),De(0x2,_0x225e0c(x))],_e);var Ft=Object[_0xccd401(0x1d0)],Kt=(_0x23d884,_0x596be4,_0x441677,_0x49895d)=>{const _0x40b849=_0xccd401;for(var _0x5af190=_0x49895d>0x1?void 0x0:_0x49895d?Ft(_0x596be4,_0x441677):_0x596be4,_0x394cb2=_0x23d884[_0x40b849(0x1ed)]-0x1,_0x42b5c4;_0x394cb2>=0x0;_0x394cb2--)(_0x42b5c4=_0x23d884[_0x394cb2])&&(_0x5af190=_0x42b5c4(_0x5af190)||_0x5af190);return _0x5af190;},ue=(_0x9c5954,_0x45ed38)=>(_0x32fa6d,_0x1b4626)=>_0x45ed38(_0x32fa6d,_0x1b4626,_0x9c5954);let Me=class extends _0x338254{constructor(_0x2c2989,_0x3095e4,_0x3b6963,_0x8f86ef,_0xecd48d){const _0x2ff494=_0xccd401;super(),se(this,_0x2ff494(0x21a),new _0x24c66d()),(this[_0x2ff494(0x246)]=_0x2c2989,this[_0x2ff494(0x216)]=_0x3095e4,this['_refRangeService']=_0x3b6963,this[_0x2ff494(0x1f5)]=_0x8f86ef,this[_0x2ff494(0x274)]=_0xecd48d,this[_0x2ff494(0x20d)](),this[_0x2ff494(0x1e6)]());}[_0xccd401(0x20d)](){const _0x3973fc=_0xccd401,_0x366333=(_0x38bbeb,_0xa57897)=>{const _0x2f3256=_0x2307,_0x180575=this[_0x2f3256(0x1f5)][_0x2f3256(0x209)](_0x4b0b73['UNIVER_SHEET']);if(!_0x180575||!(_0x180575==null?void 0x0:_0x180575[_0x2f3256(0x1f1)](_0xa57897)))return;this[_0x2f3256(0x21a)]['dispose']();const _0x1e5e41=_0xd7b205=>this['refRangeHandle'](_0xd7b205,_0x38bbeb,_0xa57897),_0x56316b=[],_0xf7856d=this[_0x2f3256(0x274)][_0x2f3256(0x261)](_0x38bbeb,_0xa57897);if(_0xf7856d){for(const [_0x53bc10,_0x5aa04c]of _0xf7856d)_0x5aa04c[_0x2f3256(0x1d6)][_0x2f3256(0x1fa)]((_0x1905cd,_0x557f69,_0x25ff33)=>{const _0x5155ad=_0x2f3256,_0x274568=_0xb7b91f(_0x1905cd,_0x557f69);_0x56316b[_0x5155ad(0x1da)](_0x274568);});_0x56316b['forEach'](_0x3acdb1=>{const _0x2871fb=_0x2f3256;this[_0x2871fb(0x21a)][_0x2871fb(0x1eb)](this[_0x2871fb(0x1e4)][_0x2871fb(0x206)](_0x3acdb1,_0x1e5e41,_0x38bbeb,_0xa57897));});}};this[_0x3973fc(0x244)](this[_0x3973fc(0x246)]['onCommandExecuted'](_0xfc021e=>{const _0x5cbdd1=_0x3973fc;if(_0xfc021e['id']===_0x35ffcc['id']){const _0x593d5d=_0xfc021e['params'],_0x4ebc2e=_0x593d5d[_0x5cbdd1(0x1c4)],_0x356849=_0x593d5d[_0x5cbdd1(0x1c0)];if(!_0x4ebc2e||!_0x356849)return;_0x366333(_0x356849,_0x4ebc2e);}if(_0xfc021e['id']===Oe['id']||_0xfc021e['id']===V['id']){const _0x11ba3f=_0xfc021e[_0x5cbdd1(0x231)],_0xdbe3d=_0x11ba3f[_0x5cbdd1(0x1c4)],_0x2ede5c=_0x11ba3f[_0x5cbdd1(0x1c0)];if(!_0xdbe3d||!_0x2ede5c)return;_0x366333(_0x2ede5c,_0xdbe3d);}}));}[_0xccd401(0x234)](_0x224647,_0x336ae0,_0x2be2aa){const _0x1243d5=_0xccd401;switch(_0x224647['id']){case _0x494e5b['id']:return this[_0x1243d5(0x221)](_0x224647[_0x1243d5(0x231)],_0x336ae0,_0x2be2aa);case _0x3d5367['id']:return this[_0x1243d5(0x211)](_0x224647[_0x1243d5(0x231)],_0x336ae0,_0x2be2aa);}return{'redos':[],'undos':[]};}[_0xccd401(0x211)](_0x22175a,_0x301b82,_0x1857c9){const _0x4f1cb2=_0xccd401;var _0x265bfc,_0x3bd78a;const {range:_0x544d92}=_0x22175a,_0x745500=new Set(),_0x1d3d43={},_0x1f4db4={},_0x4e8a24=[],_0x13dfd2=[],_0x402acd=[],_0x4f016b=[];if(!_0x10d0a8(this[_0x4f1cb2(0x1f5)],{'unitId':_0x301b82,'subUnitId':_0x1857c9}))return{'redos':_0x13dfd2,'undos':_0x4e8a24};const _0x2f2389=this['_sparklineDataSourceModel'][_0x4f1cb2(0x261)](_0x301b82,_0x1857c9);if(!_0x2f2389)return{'redos':_0x13dfd2,'undos':_0x4e8a24};if(!((_0x3bd78a=(_0x265bfc=this[_0x4f1cb2(0x274)][_0x4f1cb2(0x21b)]()[_0x4f1cb2(0x1d1)][_0x4f1cb2(0x24c)](_0x301b82))==null?void 0x0:_0x265bfc[_0x4f1cb2(0x24c)](_0x1857c9))==null?void 0x0:_0x3bd78a[_0x4f1cb2(0x1ea)]))return{'redos':_0x13dfd2,'undos':_0x4e8a24};for(const [_0x24b81c,_0x47ad37]of _0x2f2389){const _0x25c446=_0x47ad37['sparklines'];_0x25c446[_0x4f1cb2(0x1fa)]((_0x54742d,_0xf5b61e,_0x4579fb)=>{const _0x17018b=_0x4f1cb2;if(_0xdfa53d[_0x17018b(0x271)](_0x544d92,_0x4579fb)){_0x745500['add'](_0x24b81c);let _0x4c0e4d=_0x1f4db4[_0x24b81c];_0x4c0e4d||(_0x4c0e4d={'config':_0x47ad37['config'],'sparklines':_0x47ad37[_0x17018b(0x1d6)][_0x17018b(0x1e2)]()},_0x1f4db4[_0x24b81c]=_0x4c0e4d);let _0x10af19=_0x1d3d43[_0x24b81c];_0x10af19||(_0x10af19={'config':_0x47ad37['config'],'sparklines':new _0x1048d3(_0x47ad37[_0x17018b(0x1d6)][_0x17018b(0x1e2)]())},_0x1d3d43[_0x24b81c]=_0x10af19);const _0x39548b=_0x4b150d(_0x4579fb,{'id':_0x436bb2['id'],'params':_0x22175a});_0x39548b?_0x10af19['sparklines'][_0x17018b(0x1f0)](_0x54742d,_0xf5b61e,_0x39548b):_0x10af19[_0x17018b(0x1d6)][_0x17018b(0x1f0)](_0x54742d,_0xf5b61e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4[_0x17018b(0x237)]});}}),_0x25c446[_0x4f1cb2(0x1fa)]((_0x2d06af,_0x17a5be,_0x469f6c)=>{const _0x350fff=_0x4f1cb2;if(_0x2d06af<=_0x544d92[_0x350fff(0x255)]&&_0x2d06af>=_0x544d92[_0x350fff(0x22c)]){_0x745500[_0x350fff(0x1eb)](_0x24b81c);let _0x41be3d=_0x1f4db4[_0x24b81c];_0x41be3d||(_0x41be3d={'config':_0x47ad37[_0x350fff(0x205)],'sparklines':_0x47ad37[_0x350fff(0x1d6)]['clone']()},_0x1f4db4[_0x24b81c]=_0x41be3d);let _0x3d3834=_0x1d3d43[_0x24b81c];_0x3d3834||(_0x3d3834={'config':_0x47ad37[_0x350fff(0x205)],'sparklines':new _0x1048d3(_0x47ad37[_0x350fff(0x1d6)][_0x350fff(0x1e2)]())},_0x1d3d43[_0x24b81c]=_0x3d3834);}});}_0x4f016b[_0x4f1cb2(0x1da)]({'id':y['id'],'params':{'unitId':_0x301b82,'subUnitId':_0x1857c9,'groupIds':Array['from'](_0x745500),'isSingle':!0x1}}),_0x402acd[_0x4f1cb2(0x1da)]({'id':y['id'],'params':{'unitId':_0x301b82,'subUnitId':_0x1857c9,'groupIds':Array['from'](_0x745500),'isSingle':!0x1}});const _0x569aed={};let _0x8f1ea2=!0x1;return Object[_0x4f1cb2(0x1ca)](_0x1d3d43)[_0x4f1cb2(0x24d)](([_0x1f4046,_0x4843b1])=>{const _0x2b4963=_0x4f1cb2;_0x4843b1[_0x2b4963(0x1d6)][_0x2b4963(0x1e7)]()&&(_0x8f1ea2=!0x0,_0x4843b1[_0x2b4963(0x1d6)][_0x2b4963(0x263)](_0x544d92[_0x2b4963(0x22c)],_0x544d92[_0x2b4963(0x255)]-_0x544d92[_0x2b4963(0x22c)]+0x1),_0x569aed[_0x1f4046]={'config':_0x4843b1[_0x2b4963(0x205)],'sparklines':_0x4843b1[_0x2b4963(0x1d6)][_0x2b4963(0x1e2)]()});}),_0x8f1ea2&&_0x13dfd2[_0x4f1cb2(0x1da)]({'id':V['id'],'params':{'unitId':_0x301b82,'subUnitId':_0x1857c9,'sparklineConfigMap':_0x569aed}}),_0x4e8a24[_0x4f1cb2(0x1da)]({'id':V['id'],'params':{'unitId':_0x301b82,'subUnitId':_0x1857c9,'sparklineConfigMap':_0x1f4db4}}),{'redos':_0x13dfd2,'undos':_0x4e8a24,'preRedos':_0x402acd,'preUndos':_0x4f016b};}['_getRefRangeMutationsByDeleteCols'](_0x359114,_0x42562f,_0x43a208){const _0x40a2ae=_0xccd401;var _0x4fa161,_0x3589fb;const {range:_0x25c863}=_0x359114,_0x1c55c7=new Set(),_0x30a762={},_0x59904e={},_0x95218c=[],_0xd83b5a=[],_0x1f261f=[],_0x2e60dd=[];if(!_0x10d0a8(this[_0x40a2ae(0x1f5)],{'unitId':_0x42562f,'subUnitId':_0x43a208}))return{'redos':_0xd83b5a,'undos':_0x95218c};const _0x2a4127=this[_0x40a2ae(0x274)][_0x40a2ae(0x261)](_0x42562f,_0x43a208);if(!_0x2a4127)return{'redos':_0xd83b5a,'undos':_0x95218c};if(!((_0x3589fb=(_0x4fa161=this[_0x40a2ae(0x274)]['getSparklineCache']()[_0x40a2ae(0x1d1)][_0x40a2ae(0x24c)](_0x42562f))==null?void 0x0:_0x4fa161['get'](_0x43a208))==null?void 0x0:_0x3589fb[_0x40a2ae(0x1ea)]))return{'redos':_0xd83b5a,'undos':_0x95218c};for(const [_0x6bf88c,_0xb85f0d]of _0x2a4127){const _0xbf764d=_0xb85f0d['sparklines'];_0xbf764d['forValue']((_0x47328f,_0x2fffd8,_0x1d3727)=>{const _0x1b2986=_0x40a2ae;if(_0xdfa53d[_0x1b2986(0x271)](_0x25c863,_0x1d3727)){_0x1c55c7[_0x1b2986(0x1eb)](_0x6bf88c);let _0x4e4adb=_0x59904e[_0x6bf88c];_0x4e4adb||(_0x4e4adb={'config':_0xb85f0d[_0x1b2986(0x205)],'sparklines':_0xb85f0d[_0x1b2986(0x1d6)][_0x1b2986(0x1e2)]()},_0x59904e[_0x6bf88c]=_0x4e4adb);let _0xc12c1c=_0x30a762[_0x6bf88c];_0xc12c1c||(_0xc12c1c={'config':_0xb85f0d[_0x1b2986(0x205)],'sparklines':new _0x1048d3(_0xb85f0d[_0x1b2986(0x1d6)][_0x1b2986(0x1e2)]())},_0x30a762[_0x6bf88c]=_0xc12c1c);const _0xec5a23=_0x4b150d(_0x1d3727,{'id':_0x59e507['id'],'params':_0x359114});_0xec5a23?_0xc12c1c[_0x1b2986(0x1d6)]['setValue'](_0x47328f,_0x2fffd8,_0xec5a23):_0xc12c1c[_0x1b2986(0x1d6)][_0x1b2986(0x1f0)](_0x47328f,_0x2fffd8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4[_0x1b2986(0x237)]});}}),_0xbf764d[_0x40a2ae(0x1fa)]((_0x194f68,_0x1b969a,_0x175293)=>{const _0x6eb409=_0x40a2ae;if(_0x1b969a<=_0x25c863['endColumn']&&_0x1b969a>=_0x25c863[_0x6eb409(0x203)]){_0x1c55c7['add'](_0x6bf88c);let _0x3091bb=_0x59904e[_0x6bf88c];_0x3091bb||(_0x3091bb={'config':_0xb85f0d[_0x6eb409(0x205)],'sparklines':_0xb85f0d[_0x6eb409(0x1d6)][_0x6eb409(0x1e2)]()},_0x59904e[_0x6bf88c]=_0x3091bb);let _0x13d8ce=_0x30a762[_0x6bf88c];_0x13d8ce||(_0x13d8ce={'config':_0xb85f0d[_0x6eb409(0x205)],'sparklines':new _0x1048d3(_0xb85f0d[_0x6eb409(0x1d6)][_0x6eb409(0x1e2)]())},_0x30a762[_0x6bf88c]=_0x13d8ce);}});}_0x2e60dd[_0x40a2ae(0x1da)]({'id':y['id'],'params':{'unitId':_0x42562f,'subUnitId':_0x43a208,'groupIds':Array[_0x40a2ae(0x219)](_0x1c55c7),'isSingle':!0x1}}),_0x1f261f['push']({'id':y['id'],'params':{'unitId':_0x42562f,'subUnitId':_0x43a208,'groupIds':Array[_0x40a2ae(0x219)](_0x1c55c7),'isSingle':!0x1}});const _0xa80fca={};let _0x179454=!0x1;return Object[_0x40a2ae(0x1ca)](_0x30a762)[_0x40a2ae(0x24d)](([_0x58033f,_0x247d52])=>{const _0x366506=_0x40a2ae;_0x247d52['sparklines']['getSizeOf']()&&(_0x179454=!0x0,_0x247d52[_0x366506(0x1d6)][_0x366506(0x247)](_0x25c863['startColumn'],_0x25c863[_0x366506(0x239)]-_0x25c863[_0x366506(0x203)]+0x1),_0xa80fca[_0x58033f]={'config':_0x247d52[_0x366506(0x205)],'sparklines':_0x247d52['sparklines'][_0x366506(0x1e2)]()});}),_0x179454&&_0xd83b5a[_0x40a2ae(0x1da)]({'id':V['id'],'params':{'unitId':_0x42562f,'subUnitId':_0x43a208,'sparklineConfigMap':_0xa80fca}}),_0x95218c[_0x40a2ae(0x1da)]({'id':V['id'],'params':{'unitId':_0x42562f,'subUnitId':_0x43a208,'sparklineConfigMap':_0x59904e}}),{'redos':_0xd83b5a,'undos':_0x95218c,'preRedos':_0x1f261f,'preUndos':_0x2e60dd};}[_0xccd401(0x1e6)](){const _0x28ccc0=_0xccd401;this[_0x28ccc0(0x244)](this['_commandService']['onCommandExecuted'](_0x47bbbb=>{const _0x56d9c9=_0x28ccc0;if(_0x47bbbb['id']===_0x1ac185['id']){const _0x2d8a62=_0x47bbbb['params'],{unitId:_0x3545ea,subUnitId:_0x11a052,range:_0x49e901}=_0x2d8a62,_0x352f2a=_0x49e901[_0x56d9c9(0x203)],_0x169f5a=_0x49e901[_0x56d9c9(0x239)]-_0x49e901[_0x56d9c9(0x203)]+0x1,_0x4bee4b=this[_0x56d9c9(0x274)][_0x56d9c9(0x261)](_0x3545ea,_0x11a052);if(!_0x4bee4b)return;for(const [_0x1a157e,_0x4eebde]of _0x4bee4b){this[_0x56d9c9(0x274)][_0x56d9c9(0x242)](_0x3545ea,_0x11a052,_0x1a157e);const _0x437882=_0x4eebde[_0x56d9c9(0x1d6)];_0x437882['forValue']((_0x1b772f,_0x889b00,_0x58f80b)=>{const _0x5e6222=_0x56d9c9,_0x191c71={..._0x58f80b};_0x352f2a<=_0x191c71['startColumn']?(_0x191c71[_0x5e6222(0x203)]+=_0x169f5a,_0x191c71['endColumn']+=_0x169f5a):_0x352f2a>_0x191c71[_0x5e6222(0x239)]||(_0x191c71[_0x5e6222(0x239)]+=_0x169f5a),_0x437882[_0x5e6222(0x1f0)](_0x1b772f,_0x889b00,_0x191c71);});const _0x19498=_0x437882[_0x56d9c9(0x235)]();for(const _0x40bb6b in _0x19498){const _0x16c52d=_0x19498[Number(_0x40bb6b)];if(!_0x16c52d)continue;const _0x429aac=Object[_0x56d9c9(0x226)](_0x16c52d)[_0x56d9c9(0x1d5)](Number),_0x3ed41b=Math[_0x56d9c9(0x1c9)](..._0x429aac);for(let _0x47e6af=_0x3ed41b;_0x47e6af>=_0x352f2a;_0x47e6af--)_0x47e6af>=_0x352f2a&&_0x16c52d[_0x47e6af]&&(_0x16c52d[_0x47e6af+_0x169f5a]=_0x16c52d[_0x47e6af],delete _0x16c52d[_0x47e6af]);}this[_0x56d9c9(0x274)][_0x56d9c9(0x213)](_0x3545ea,_0x11a052,_0x1a157e);}}else{if(_0x47bbbb['id']===_0x59ec28['id']){const _0x14108f=_0x47bbbb[_0x56d9c9(0x231)],{unitId:_0x5a9eaf,subUnitId:_0x82401d,range:_0x16e5dc}=_0x14108f,_0x2783b8=_0x16e5dc[_0x56d9c9(0x22c)],_0x3e0b19=_0x16e5dc[_0x56d9c9(0x255)]-_0x16e5dc[_0x56d9c9(0x22c)]+0x1,_0x22cafe=this[_0x56d9c9(0x274)][_0x56d9c9(0x261)](_0x5a9eaf,_0x82401d);if(!_0x22cafe)return;for(const [_0x9c392e,_0x402342]of _0x22cafe){this['_sparklineDataSourceModel'][_0x56d9c9(0x242)](_0x5a9eaf,_0x82401d,_0x9c392e);const _0xec87d4=_0x402342[_0x56d9c9(0x1d6)];_0xec87d4[_0x56d9c9(0x1fa)]((_0x46a7c6,_0x428849,_0x5a3cfc)=>{const _0x2f5bd8=_0x56d9c9,_0x4da042={..._0x5a3cfc};_0x2783b8<=_0x4da042[_0x2f5bd8(0x22c)]?(_0x4da042['startRow']+=_0x3e0b19,_0x4da042[_0x2f5bd8(0x255)]+=_0x3e0b19):_0x2783b8>_0x4da042[_0x2f5bd8(0x255)]||(_0x4da042[_0x2f5bd8(0x255)]+=_0x3e0b19),_0xec87d4[_0x2f5bd8(0x1f0)](_0x46a7c6,_0x428849,_0x4da042);});const _0x3e1a3a=_0xec87d4[_0x56d9c9(0x235)](),_0x612d3a=Object[_0x56d9c9(0x226)](_0x3e1a3a)[_0x56d9c9(0x1d5)](Number),_0x559c21=Math[_0x56d9c9(0x1c9)](..._0x612d3a);for(let _0x4fc7eb=_0x559c21;_0x4fc7eb>=_0x2783b8;_0x4fc7eb--)_0x4fc7eb>=_0x2783b8&&_0x3e1a3a[_0x4fc7eb]&&(_0x3e1a3a[_0x4fc7eb+_0x3e0b19]=_0x3e1a3a[_0x4fc7eb],delete _0x3e1a3a[_0x4fc7eb]);this[_0x56d9c9(0x274)][_0x56d9c9(0x213)](_0x5a9eaf,_0x82401d,_0x9c392e);}}else{if(_0x47bbbb['id']===_0x59e507['id']){const _0x4e9b3b=_0x47bbbb['params'],{range:_0x40b2d2,unitId:_0x55ce7a,subUnitId:_0xa42a62}=_0x4e9b3b,_0x388d65=this[_0x56d9c9(0x274)][_0x56d9c9(0x261)](_0x55ce7a,_0xa42a62);if(!_0x388d65)return;for(const [_0x4a3bb0,_0x35c04d]of _0x388d65){const _0x537f3a=_0x35c04d[_0x56d9c9(0x1d6)];_0x537f3a[_0x56d9c9(0x1fa)]((_0x7582b,_0x237d17,_0x946c29)=>{const _0x3bec91=_0x56d9c9,_0x377319=_0x4b150d(_0x946c29,_0x47bbbb);_0x377319?_0x537f3a[_0x3bec91(0x1f0)](_0x7582b,_0x237d17,_0x377319):_0x537f3a['setValue'](_0x7582b,_0x237d17,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4[_0x3bec91(0x237)]});}),_0x537f3a[_0x56d9c9(0x247)](_0x40b2d2['startColumn'],_0x40b2d2['endColumn']-_0x40b2d2[_0x56d9c9(0x203)]+0x1);}this[_0x56d9c9(0x274)][_0x56d9c9(0x1d7)](_0x55ce7a,_0xa42a62);}else{if(_0x47bbbb['id']===_0x436bb2['id']){const _0x3b1e81=_0x47bbbb[_0x56d9c9(0x231)],{range:_0x48b030,unitId:_0x5b9f7f,subUnitId:_0xbd3919}=_0x3b1e81,_0x5a4887=this[_0x56d9c9(0x274)][_0x56d9c9(0x261)](_0x5b9f7f,_0xbd3919);if(!_0x5a4887)return;for(const [_0x15cde4,_0x3776ca]of _0x5a4887){const _0x1385ad=_0x3776ca[_0x56d9c9(0x1d6)];_0x1385ad[_0x56d9c9(0x1fa)]((_0x474527,_0x562b67,_0x96f8c0)=>{const _0x58c83d=_0x56d9c9,_0x3d134a=_0x4b150d(_0x96f8c0,_0x47bbbb);_0x3d134a?_0x1385ad['setValue'](_0x474527,_0x562b67,_0x3d134a):_0x1385ad[_0x58c83d(0x1f0)](_0x474527,_0x562b67,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4[_0x58c83d(0x237)]});}),_0x1385ad[_0x56d9c9(0x263)](_0x48b030[_0x56d9c9(0x22c)],_0x48b030[_0x56d9c9(0x255)]-_0x48b030[_0x56d9c9(0x22c)]+0x1);}this[_0x56d9c9(0x274)][_0x56d9c9(0x1d7)](_0x5b9f7f,_0xbd3919);}else{if(_0x47bbbb['id']===_0x49156f['id']){const _0xf9fa73=_0x47bbbb[_0x56d9c9(0x231)],{unitId:_0x50d163,subUnitId:_0xc5b595,sourceRange:_0x86c19,targetRange:_0x4cd1fd}=_0xf9fa73,_0x263712=this[_0x56d9c9(0x274)]['getSubUnitSparkline'](_0x50d163,_0xc5b595);if(!_0x263712)return;for(const [_0x13d542,_0x59800f]of _0x263712){const _0xbcabdf=_0x59800f['sparklines'];_0xbcabdf[_0x56d9c9(0x1fa)]((_0x203ced,_0x52165e,_0x458f77)=>{const _0x3b07ef=_0x4b150d(_0x458f77,_0x47bbbb);_0x3b07ef?_0xbcabdf['setValue'](_0x203ced,_0x52165e,_0x3b07ef):_0xbcabdf['setValue'](_0x203ced,_0x52165e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4['NORMAL']});}),_0xbcabdf[_0x56d9c9(0x22f)](_0x86c19[_0x56d9c9(0x203)],_0x86c19[_0x56d9c9(0x239)]-_0x86c19[_0x56d9c9(0x203)]+0x1,_0x4cd1fd[_0x56d9c9(0x203)]);}this[_0x56d9c9(0x274)][_0x56d9c9(0x1d7)](_0x50d163,_0xc5b595);}else{if(_0x47bbbb['id']===_0xd667e6['id']){const _0x4340c4=_0x47bbbb[_0x56d9c9(0x231)],{unitId:_0x482db6,subUnitId:_0x168bfd,sourceRange:_0x4e2c1e,targetRange:_0x55546f}=_0x4340c4,_0x7524e7=this[_0x56d9c9(0x274)][_0x56d9c9(0x261)](_0x482db6,_0x168bfd);if(!_0x7524e7)return;for(const [_0x2cb783,_0x2b9766]of _0x7524e7){const _0x46afdb=_0x2b9766[_0x56d9c9(0x1d6)];_0x46afdb['forValue']((_0x30b9c4,_0x4c95d6,_0x3eaa88)=>{const _0x3a4354=_0x56d9c9,_0x49999e=_0x4b150d(_0x3eaa88,_0x47bbbb);_0x49999e?_0x46afdb['setValue'](_0x30b9c4,_0x4c95d6,_0x49999e):_0x46afdb[_0x3a4354(0x1f0)](_0x30b9c4,_0x4c95d6,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x44efa4[_0x3a4354(0x237)]});}),_0x46afdb[_0x56d9c9(0x200)](_0x4e2c1e['startRow'],_0x4e2c1e[_0x56d9c9(0x255)]-_0x4e2c1e['startRow']+0x1,_0x55546f[_0x56d9c9(0x22c)]);}this[_0x56d9c9(0x274)][_0x56d9c9(0x1d7)](_0x482db6,_0x168bfd);}else{if(_0x47bbbb['id']===_0x29c039['id']){const _0x1cbe9c=_0x47bbbb[_0x56d9c9(0x231)],{fromRange:_0xc9915a,toRange:_0x4963c0,unitId:_0x17485f,from:_0x24dcd1,to:_0x18945c}=_0x1cbe9c;if(_0x24dcd1[_0x56d9c9(0x1c4)]!==_0x18945c[_0x56d9c9(0x1c4)])return;const _0x37e8b7=_0x24dcd1['subUnitId'],{startRow:_0x45039e,endRow:_0x4d0b0a,startColumn:_0x1f055a,endColumn:_0x15722b}=_0xc9915a,{startRow:_0x11e725,startColumn:_0x3fd46b}=_0x4963c0,_0x2ceaeb=_0x11e725-_0x45039e,_0x159252=_0x3fd46b-_0x1f055a,_0x21a0e9=this['_sparklineDataSourceModel'][_0x56d9c9(0x261)](_0x17485f,_0x37e8b7);if(!(_0x21a0e9!=null&&_0x21a0e9[_0x56d9c9(0x1de)]))return;for(let _0xfc367=_0x45039e;_0xfc367<=_0x4d0b0a;_0xfc367++)for(let _0x9144e=_0x1f055a;_0x9144e<=_0x15722b;_0x9144e++){const _0x148026=this[_0x56d9c9(0x274)][_0x56d9c9(0x268)](_0x17485f,_0x37e8b7,_0xfc367,_0x9144e);if(_0x148026){const _0x241bdb=this[_0x56d9c9(0x274)][_0x56d9c9(0x1ec)](_0x17485f,_0x37e8b7,_0x148026);if(_0x241bdb){const _0x2474cd=_0x241bdb['sparklines']['getValue'](_0xfc367,_0x9144e);_0x2474cd&&(_0x241bdb['sparklines'][_0x56d9c9(0x1f0)](_0xfc367+_0x2ceaeb,_0x9144e+_0x159252,_0x2474cd),_0x241bdb[_0x56d9c9(0x1d6)][_0x56d9c9(0x1e9)](_0xfc367,_0x9144e));}}}for(const [_0xf91149,_0x44363c]of _0x21a0e9){const _0x2b28d0=_0x44363c['sparklines'];_0x2b28d0[_0x56d9c9(0x1fa)]((_0x102572,_0x53bdd9,_0xf70931)=>{const _0x4d0e7f=_0x56d9c9,_0x365ab0={..._0xf70931};_0xdfa53d[_0x4d0e7f(0x25c)](_0xc9915a,_0xf70931)&&(_0x365ab0[_0x4d0e7f(0x22c)]+=_0x2ceaeb,_0x365ab0[_0x4d0e7f(0x255)]+=_0x2ceaeb,_0x365ab0[_0x4d0e7f(0x203)]+=_0x159252,_0x365ab0[_0x4d0e7f(0x239)]+=_0x159252),_0x2b28d0[_0x4d0e7f(0x1f0)](_0x102572,_0x53bdd9,_0x365ab0);});}this[_0x56d9c9(0x274)][_0x56d9c9(0x1d7)](_0x17485f,_0x37e8b7);}}}}}}}}));}};Me=Kt([ue(0x0,_0x225e0c(_0x20ed95)),ue(0x1,_0x225e0c(_0x30cdc7)),ue(0x2,_0x225e0c(_0xe8b78e)),ue(0x3,_0xc51d55),ue(0x4,_0x225e0c(x))],Me);var Xt=Object[_0xccd401(0x1d0)],zt=(_0x1cfb57,_0x15e509,_0x42ac25,_0xf279b)=>{const _0xb6a7cc=_0xccd401;for(var _0x2a7708=_0xf279b>0x1?void 0x0:_0xf279b?Xt(_0x15e509,_0x42ac25):_0x15e509,_0x1d98a0=_0x1cfb57[_0xb6a7cc(0x1ed)]-0x1,_0x2d0ddf;_0x1d98a0>=0x0;_0x1d98a0--)(_0x2d0ddf=_0x1cfb57[_0x1d98a0])&&(_0x2a7708=_0x2d0ddf(_0x2a7708)||_0x2a7708);return _0x2a7708;},Be=(_0x2e95ff,_0x16f720)=>(_0x7479b2,_0x7690f4)=>_0x16f720(_0x7479b2,_0x7690f4,_0x2e95ff);let Re=class extends _0x338254{constructor(_0x51dbbb,_0x3607f4){const _0x2401f0=_0xccd401;super(),this[_0x2401f0(0x208)]=_0x51dbbb,this[_0x2401f0(0x274)]=_0x3607f4,this[_0x2401f0(0x215)]();}[_0xccd401(0x215)](){const _0x2b37de=_0xccd401,_0x25ceba=_0x39ea44=>{const _0x4a7194=_0x2307,_0x556832=this[_0x4a7194(0x274)][_0x4a7194(0x218)](_0x39ea44);return _0x556832?JSON[_0x4a7194(0x228)](_0x556832):'';},_0x514519=_0x1a1270=>_0x1a1270?JSON[_0x2b37de(0x225)](_0x1a1270):{};this[_0x2b37de(0x244)](this[_0x2b37de(0x208)][_0x2b37de(0x1f4)]({'toJson':_0x25ceba,'parseJson':_0x514519,'pluginName':Ke,'businesses':[_0x4b0b73[_0x2b37de(0x223)]],'onLoad':(_0x505809,_0x10273c)=>{const _0x4b1f2f=_0x2b37de;this[_0x4b1f2f(0x274)][_0x4b1f2f(0x26f)](_0x10273c);},'onUnLoad':_0x27cd8f=>{const _0x4ed1a7=_0x2b37de;this['_sparklineDataSourceModel'][_0x4ed1a7(0x253)](_0x27cd8f);}}));}};Re=zt([Be(0x0,_0x225e0c(_0x1043aa)),Be(0x1,_0x225e0c(x))],Re);var Jt=Object[_0xccd401(0x202)],Zt=Object[_0xccd401(0x1d0)],Yt=(_0x5a9b66,_0x63fb11,_0x3fd595)=>_0x63fb11 in _0x5a9b66?Jt(_0x5a9b66,_0x63fb11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fd595}):_0x5a9b66[_0x63fb11]=_0x3fd595,qt=(_0x26538e,_0x559656,_0x6bbfc4,_0x50043f)=>{const _0x2c0bb2=_0xccd401;for(var _0x5db355=_0x50043f>0x1?void 0x0:_0x50043f?Zt(_0x559656,_0x6bbfc4):_0x559656,_0x4b29f3=_0x26538e[_0x2c0bb2(0x1ed)]-0x1,_0x5a2a8b;_0x4b29f3>=0x0;_0x4b29f3--)(_0x5a2a8b=_0x26538e[_0x4b29f3])&&(_0x5db355=_0x5a2a8b(_0x5db355)||_0x5db355);return _0x5db355;},He=(_0x150854,_0x5227a8)=>(_0x1af919,_0x117abf)=>_0x5227a8(_0x1af919,_0x117abf,_0x150854),ze=(_0x3f0e68,_0x546972,_0x2f9bd4)=>Yt(_0x3f0e68,typeof _0x546972!=_0xccd401(0x1be)?_0x546972+'':_0x546972,_0x2f9bd4);let ve=class extends _0x16de03{constructor(_0x5d544d={},_0xe34ced,_0x32492d){const _0x458dd6=_0xccd401;super(),this['_config']=_0x5d544d,this[_0x458dd6(0x23c)]=_0xe34ced,this[_0x458dd6(0x246)]=_0x32492d,this[_0x458dd6(0x220)](),this['_initRegisterCommand']();}[_0xccd401(0x220)](){const _0x409530=_0xccd401;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x409530(0x24d)](_0xd25cac=>{const _0x23f9b9=_0x409530;this[_0x23f9b9(0x23c)][_0x23f9b9(0x1eb)](_0xd25cac);}),_0x3bcf96(this['_injector'],[[Re]]);}[_0xccd401(0x1cd)](){_0x3bcf96(this['_injector'],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0xccd401(0x243)](){const _0x35d9bf=_0xccd401;[Nt,V,Ot,y,xt,Oe]['forEach'](_0xc5c5fe=>this[_0x35d9bf(0x246)][_0x35d9bf(0x252)](_0xc5c5fe));}};function _0x2307(_0x27ec04,_0x4cedae){const _0x14dc61=_0x14dc();return _0x2307=function(_0x230794,_0xf78f80){_0x230794=_0x230794-0x1bc;let _0x2775de=_0x14dc61[_0x230794];return _0x2775de;},_0x2307(_0x27ec04,_0x4cedae);}function _0x14dc(){const _0x2ce3bb=['_initClearWithSparkline','highPoint','size','STRING','nonNumShowAs','LINE_CHART','clone','sheet.command.add-sparkline','_refRangeService','updateConfig$','_initCorrectRangeWithSparkline','getSizeOf','rgb(124,66,147)','realDeleteValue','matrix','add','getSparklineById','length','rgb(248,190,21)','sparklineModel','setValue','getSheetBySheetId','getColVisible','changeDataSourceInfo','registerPluginResource','_univerInstanceService','containHiddenCells','_ensureAnchorMatrix','extremumMax','_updateConfig$','forValue','rgb(54,78,244)','foreach','DISTINCTIVE','min','10QVWfMS','moveRows','soft','defineProperty','startColumn','assign','config','registerRefRange','getCell','_resourceManagerService','getCurrentUnitForType','63NTYPYy','markersPoint','MUTATION','_onRefRangeChange','_sparklineAnchorMap','groupId','connect_with_line','_getRefRangeMutationsByDeleteRows','_initMergeWithSparkline','updateSparklineExtraNum','SOFT','_initSnapshot','_sheetInterceptorService','onCommandExecuted','toJSON','from','disposableCollection','getSparklineCache','column','SHEET_SPARKLINE_PLUGIN','lastPoint','type','_initDependencies','_getRefRangeMutationsByDeleteCols','PROFIT_AND_LOSS_CHART','UNIVER_SHEET','80280boizgP','parse','keys','row','stringify','1211994sXcCAb','removeSparkline','zero_value','startRow','824118CUxqpj','firstPoint','moveColumns','BAR_CHART','params','_sparklineModel','u-spacing','refRangeHandle','getMatrix','item','NORMAL','2832528WVJbNK','endColumn','setSparkline','MIN_SAFE_INTEGER','_injector','_initExclusiveRangeChange','remove','getRowVisible','1151980zbGqOd','sheet.mutation.set-sparkline','clearSparklineCache','_initRegisterCommand','disposeWithMe','values','_commandService','removeColumns','COMMAND','value','GROUP_EXTREMUM','sheet.command.set-sparkline','get','forEach','toRgbString','ZERO_VALUE','standard','sheet.mutation.add-sparkline','registerCommand','deleteUnit','_initDataChangeListener','endRow','set','PIE_CHART','_sheetSelectionService','getValue','getCurrentSelections','hasValue','contains','exclusiveRangesChange$','actualColumn','rgb(80,102,248)','_initHideRowColWithSparkline','getSubUnitSparkline','removePartSparkline','removeRows','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','u-connect','spacing','interceptCommand','getSparkline','themeType','next','CONNECT_WITH_LINE','number','MAX_SAFE_INTEGER','extremumMin','fromJSON','CUSTOM','intersects','setAlpha','addSparkline','_sparklineDataSourceModel','STANDARD','rgb(252,117,60)','pushUndoRedo','getCellRaw','8319474eRoaae','delete','symbol','rgb(236,100,169)','unitId','rgb(49,106,246)','fresh','negativePoint','subUnitId','FORCE_STRING','NUMBER','has','CUSTOM_EXTREMUM','max','entries','_exclusiveRangeService','ranges','onReady','custom','105puCmzA','getOwnPropertyDescriptor','sparklineAnchorMap','every','range','lowPoint','map','sparklines','reBuildAnchorCache','4446590ScJODh','deepClone','push','SPACING'];_0x14dc=function(){return _0x2ce3bb;};return _0x14dc();}ze(ve,'pluginName',Ke),ze(ve,_0xccd401(0x21f),_0x4b0b73['UNIVER_SHEET']),ve=qt([_0x510078(_0x14e199),He(0x1,_0x225e0c(_0x375b6d)),He(0x2,_0x225e0c(_0x20ed95))],ve);export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,Ee as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x66cb96,_0x514eef){const _0x64f222=_0x2178,_0x29f530=_0x66cb96();while(!![]){try{const _0x5671fb=parseInt(_0x64f222(0x10b))/0x1*(parseInt(_0x64f222(0xe3))/0x2)+-parseInt(_0x64f222(0xda))/0x3*(-parseInt(_0x64f222(0xc9))/0x4)+-parseInt(_0x64f222(0x110))/0x5*(-parseInt(_0x64f222(0x106))/0x6)+-parseInt(_0x64f222(0xde))/0x7*(parseInt(_0x64f222(0xfa))/0x8)+parseInt(_0x64f222(0xdf))/0x9+parseInt(_0x64f222(0xfb))/0xa*(parseInt(_0x64f222(0xbf))/0xb)+parseInt(_0x64f222(0xca))/0xc*(-parseInt(_0x64f222(0xff))/0xd);if(_0x5671fb===_0x514eef)break;else _0x29f530['push'](_0x29f530['shift']());}catch(_0x2fc4c5){_0x29f530['push'](_0x29f530['shift']());}}}(_0x1066,0x52908),function(_0x162ea7,_0x110bfc){const _0xae318d=_0x2178;typeof exports==_0xae318d(0xb7)&&typeof module<'u'?_0x110bfc(exports,require('@univerjs-pro/sheets-sparkline'),require(_0xae318d(0xe5)),require(_0xae318d(0xce)),require(_0xae318d(0x10f)),require(_0xae318d(0xea))):typeof define=='function'&&define[_0xae318d(0xcd)]?define([_0xae318d(0xd5),_0xae318d(0xe0),'@univerjs/core','@univerjs/sheets/facade',_0xae318d(0x10f),_0xae318d(0xea)],_0x110bfc):(_0x162ea7=typeof globalThis<'u'?globalThis:_0x162ea7||self,_0x110bfc(_0x162ea7[_0xae318d(0xd7)]={},_0x162ea7[_0xae318d(0xeb)],_0x162ea7[_0xae318d(0xdc)],_0x162ea7[_0xae318d(0xdb)],_0x162ea7['UniverCoreFacade'],_0x162ea7['UniverSheets']));}(this,function(_0x2be0c5,_0x50fea7,_0x44f7d6,_0x5a0aab,_0x2a23b6,_0x36a7ca){'use strict';const _0x1aa294=_0x2178;var _0xa18e4a=Object[_0x1aa294(0x10e)],_0x2eab34=(_0x640e44,_0x486c58,_0x238e9f,_0x39e10c)=>{const _0x3ef48f=_0x1aa294;for(var _0xf6f98=_0x39e10c>0x1?void 0x0:_0x39e10c?_0xa18e4a(_0x486c58,_0x238e9f):_0x486c58,_0x4d421a=_0x640e44[_0x3ef48f(0x100)]-0x1,_0x2c7651;_0x4d421a>=0x0;_0x4d421a--)(_0x2c7651=_0x640e44[_0x4d421a])&&(_0xf6f98=_0x2c7651(_0xf6f98)||_0xf6f98);return _0xf6f98;},_0x4a38b6=(_0x590ebc,_0x29481c)=>(_0x3e1675,_0x1e43e3)=>_0x29481c(_0x3e1675,_0x1e43e3,_0x590ebc);_0x2be0c5[_0x1aa294(0xf4)]=class{constructor(_0xf22f9,_0x31948f,_0x4be10a,_0x42b069,_0x3f8b54,_0x17bb05){const _0x43ed32=_0x1aa294;this[_0x43ed32(0x10d)]=_0xf22f9,this[_0x43ed32(0xbe)]=_0x31948f,this[_0x43ed32(0xf1)]=_0x4be10a,this[_0x43ed32(0xf3)]=_0x42b069,this[_0x43ed32(0xe8)]=_0x3f8b54,this[_0x43ed32(0xed)]=_0x17bb05;}['changeDataSource'](_0x36a5e5,_0x11181e){const _0x26b931=_0x1aa294,_0x17487e=this[_0x26b931(0xed)][_0x26b931(0xf8)](_0x50fea7[_0x26b931(0x105)]),_0x1737ca=this[_0x26b931(0xed)][_0x26b931(0xf8)](_0x44f7d6['ICommandService']),_0x50b6f9=_0x17487e[_0x26b931(0x102)](this[_0x26b931(0x10d)],this[_0x26b931(0xbe)],this[_0x26b931(0xf1)]);if(!_0x50b6f9)return;const _0x2b17bd={'config':_0x50b6f9,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x26b931(0xf1)],'resetType':'item','sourceRanges':[_0x36a5e5],'targetRanges':[_0x11181e],'primary':{'startRow':this[_0x26b931(0xf3)],'startColumn':this[_0x26b931(0xe8)],'endRow':this['_row'],'endColumn':this[_0x26b931(0xe8)],'actualRow':this[_0x26b931(0xf3)],'actualColumn':this[_0x26b931(0xe8)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x1737ca[_0x26b931(0xe6)](_0x50fea7[_0x26b931(0x10a)]['id'],_0x2b17bd),this[_0x26b931(0xf3)]=_0x11181e[_0x26b931(0x103)],this['_col']=_0x11181e[_0x26b931(0xc1)],this;}[_0x1aa294(0xd1)](){const _0x2a89e2=_0x1aa294,_0x3eea82=this['_injector']['get'](_0x44f7d6[_0x2a89e2(0xc5)]),_0x1dc7d3={'isSingle':!0x0,'ranges':[{'startRow':this[_0x2a89e2(0xf3)],'startColumn':this[_0x2a89e2(0xe8)],'endRow':this[_0x2a89e2(0xf3)],'endColumn':this[_0x2a89e2(0xe8)]}]};_0x3eea82[_0x2a89e2(0xe6)](_0x50fea7[_0x2a89e2(0xdd)]['id'],_0x1dc7d3);}},_0x2be0c5[_0x1aa294(0xf4)]=_0x2eab34([_0x4a38b6(0x5,_0x44f7d6[_0x1aa294(0xb9)](_0x44f7d6[_0x1aa294(0xc8)]))],_0x2be0c5[_0x1aa294(0xf4)]);var _0x3a5452=Object['getOwnPropertyDescriptor'],_0x4ddb65=(_0x283d1f,_0x375c0d,_0x349624,_0x22daf2)=>{const _0x1bc0b0=_0x1aa294;for(var _0x33fead=_0x22daf2>0x1?void 0x0:_0x22daf2?_0x3a5452(_0x375c0d,_0x349624):_0x375c0d,_0x185de0=_0x283d1f[_0x1bc0b0(0x100)]-0x1,_0x1daa05;_0x185de0>=0x0;_0x185de0--)(_0x1daa05=_0x283d1f[_0x185de0])&&(_0x33fead=_0x1daa05(_0x33fead)||_0x33fead);return _0x33fead;},_0xfaca05=(_0x59a03d,_0x5358be)=>(_0x31ae55,_0x47e103)=>_0x5358be(_0x31ae55,_0x47e103,_0x59a03d);_0x2be0c5[_0x1aa294(0xd6)]=class{constructor(_0x579b2c,_0x4882ec,_0x204813,_0x34e337,_0x53aa8c,_0x1134a2){const _0x567792=_0x1aa294;this[_0x567792(0x10d)]=_0x579b2c,this['_subUnitId']=_0x4882ec,this[_0x567792(0xf1)]=_0x204813,this[_0x567792(0xf3)]=_0x34e337,this[_0x567792(0xe8)]=_0x53aa8c,this[_0x567792(0xed)]=_0x1134a2;}[_0x1aa294(0xc6)](_0x27ea82,_0x26afbb){const _0x51098e=_0x1aa294,_0x424752=this[_0x51098e(0xed)][_0x51098e(0xf8)](_0x50fea7['SparklineDataSourceModel']),_0x5b6da8=this[_0x51098e(0xed)][_0x51098e(0xf8)](_0x44f7d6['ICommandService']),_0x2e9edf=_0x424752[_0x51098e(0x102)](this[_0x51098e(0x10d)],this[_0x51098e(0xbe)],this[_0x51098e(0xf1)]);if(!_0x2e9edf)return;const _0x5e8fde={'config':_0x2e9edf,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x51098e(0xf1)],'resetType':_0x51098e(0x101),'sourceRanges':_0x27ea82,'targetRanges':_0x26afbb,'primary':{'startRow':this[_0x51098e(0xf3)],'startColumn':this[_0x51098e(0xe8)],'endRow':this[_0x51098e(0xf3)],'endColumn':this[_0x51098e(0xe8)],'actualRow':this[_0x51098e(0xf3)],'actualColumn':this[_0x51098e(0xe8)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x5b6da8[_0x51098e(0xe6)](_0x50fea7['SetSheetSparklineCommand']['id'],_0x5e8fde),this[_0x51098e(0xf3)]=_0x26afbb[0x0][_0x51098e(0x103)],this[_0x51098e(0xe8)]=_0x26afbb[0x0][_0x51098e(0xc1)],this;}[_0x1aa294(0xbd)](){const _0x434122=_0x1aa294,_0x25a1cb=this['_injector']['get'](_0x44f7d6['ICommandService']),_0x3ab1f0={'isSingle':!0x1,'ranges':[{'startRow':this[_0x434122(0xf3)],'startColumn':this[_0x434122(0xe8)],'endRow':this[_0x434122(0xf3)],'endColumn':this[_0x434122(0xe8)]}]};_0x25a1cb['syncExecuteCommand'](_0x50fea7[_0x434122(0xdd)]['id'],_0x3ab1f0);}['setConfig'](_0x3a5441){const _0x47917d=_0x1aa294,_0x3b3f4f=this['_injector'][_0x47917d(0xf8)](_0x50fea7['SparklineDataSourceModel'])[_0x47917d(0x102)](this[_0x47917d(0x10d)],this['_subUnitId'],this['_groupId']);if(_0x3b3f4f){const _0xb43053={'config':{'config':_0x3a5441,'sparklines':_0x3b3f4f[_0x47917d(0xc4)]},'isChangeDataSource':!0x1};this[_0x47917d(0xed)][_0x47917d(0xf8)](_0x44f7d6[_0x47917d(0xc5)])['syncExecuteCommand'](_0x50fea7[_0x47917d(0x10a)]['id'],_0xb43053);}return this;}},_0x2be0c5['FSparklineGroup']=_0x4ddb65([_0xfaca05(0x5,_0x44f7d6[_0x1aa294(0xb9)](_0x44f7d6[_0x1aa294(0xc8)]))],_0x2be0c5['FSparklineGroup']);class _0x2abaf8 extends _0x5a0aab[_0x1aa294(0xcf)]{['addSparkline'](_0x51a129,_0x3480a0,_0x4800d0){const _0x2597ce=_0x1aa294;if(this[_0x2597ce(0xc7)][_0x2597ce(0xe6)](_0x50fea7[_0x2597ce(0xd3)]['id'],{'sourceRanges':_0x51a129,'targetRanges':_0x3480a0,'targetInfo':{'unitId':this[_0x2597ce(0xd9)][_0x2597ce(0x111)](),'subUnitId':this[_0x2597ce(0xee)][_0x2597ce(0xd8)]()},'config':{'type':_0x4800d0}})){const {startRow:_0x1447ce,startColumn:_0x46a696}=_0x3480a0[0x0];return this[_0x2597ce(0xe1)](_0x1447ce,_0x46a696);}}[_0x1aa294(0xc3)](){const _0x22384e=_0x1aa294;return this[_0x22384e(0xed)]['get'](_0x50fea7[_0x22384e(0x105)])['getSubUnitSparkline'](this[_0x22384e(0xd9)][_0x22384e(0x111)](),this[_0x22384e(0xee)]['getSheetId']());}['composeSparkline'](_0x387383){const _0x4c0568=_0x1aa294,_0xd42788=this[_0x4c0568(0xed)]['get'](_0x50fea7[_0x4c0568(0x105)]);let _0xdd96b0;for(let _0xa33050=0x0;_0xa33050<_0x387383[_0x4c0568(0x100)];_0xa33050++){const _0x11525f=_0x387383[_0xa33050],{startRow:_0x666a46,endRow:_0x4964a9,startColumn:_0xec8c98,endColumn:_0x1a6991}=_0x11525f;for(let _0x363005=_0x666a46;_0x363005<=_0x4964a9;_0x363005++)for(let _0x2fe3f6=_0xec8c98;_0x2fe3f6<=_0x1a6991;_0x2fe3f6++){const _0x8b94b5=_0xd42788[_0x4c0568(0xba)](this[_0x4c0568(0xd9)]['getUnitId'](),this['_worksheet'][_0x4c0568(0xd8)](),_0x363005,_0x2fe3f6);if(_0x8b94b5){const _0x430882=_0xd42788[_0x4c0568(0x102)](this[_0x4c0568(0xd9)]['getUnitId'](),this[_0x4c0568(0xee)]['getSheetId'](),_0x8b94b5);if(_0x430882){_0xdd96b0=_0x44f7d6[_0x4c0568(0x108)][_0x4c0568(0x104)](_0x430882);break;}}}}_0xdd96b0&&this[_0x4c0568(0xc7)][_0x4c0568(0xbc)](_0x50fea7['SetSheetSparklineCommand']['id'],{'ranges':_0x387383,'combine':!0x0,'config':_0xdd96b0,'isChangeDataSource':!0x1});}[_0x1aa294(0xe2)](_0x56d931){const _0x1c5660=_0x1aa294,_0x44ff6b=this[_0x1c5660(0xed)][_0x1c5660(0xf8)](_0x50fea7[_0x1c5660(0x105)]);let _0x45cd1f;for(let _0x33e3f3=0x0;_0x33e3f3<_0x56d931[_0x1c5660(0x100)];_0x33e3f3++){const _0x1a7b7e=_0x56d931[_0x33e3f3],{startRow:_0x814662,endRow:_0x4faed4,startColumn:_0x3b9f73,endColumn:_0xe4900c}=_0x1a7b7e;for(let _0x39ac57=_0x814662;_0x39ac57<=_0x4faed4;_0x39ac57++)for(let _0x5de471=_0x3b9f73;_0x5de471<=_0xe4900c;_0x5de471++){const _0x2a0338=_0x44ff6b[_0x1c5660(0xba)](this['_workbook'][_0x1c5660(0x111)](),this[_0x1c5660(0xee)][_0x1c5660(0xd8)](),_0x39ac57,_0x5de471);if(_0x2a0338){const _0x15b2a1=_0x44ff6b['getSparklineById'](this[_0x1c5660(0xd9)][_0x1c5660(0x111)](),this['_worksheet']['getSheetId'](),_0x2a0338);if(_0x15b2a1){_0x45cd1f=_0x44f7d6['Tools'][_0x1c5660(0x104)](_0x15b2a1);break;}}}}_0x45cd1f||this[_0x1c5660(0xc7)][_0x1c5660(0xbc)](_0x50fea7[_0x1c5660(0x10a)]['id'],{'ranges':_0x56d931,'unCombine':!0x0,'config':_0x45cd1f,'isChangeDataSource':!0x1});}[_0x1aa294(0xe1)](_0x4b0ffa,_0x5a6a3d){const _0x4c363a=_0x1aa294,_0x2b1fb8=this[_0x4c363a(0xed)][_0x4c363a(0xf8)](_0x50fea7['SparklineDataSourceModel']),_0x47fb85=this[_0x4c363a(0xd9)][_0x4c363a(0x111)](),_0x408527=this['_worksheet'][_0x4c363a(0xd8)](),_0x3fbe91=_0x2b1fb8[_0x4c363a(0xba)](_0x47fb85,_0x408527,_0x4b0ffa,_0x5a6a3d);if(_0x3fbe91)return this[_0x4c363a(0xed)][_0x4c363a(0xbb)](_0x2be0c5[_0x4c363a(0xf4)],_0x47fb85,_0x408527,_0x3fbe91,_0x4b0ffa,_0x5a6a3d);}[_0x1aa294(0xf7)](_0x43c8ee,_0x2f8687){const _0x244d11=_0x1aa294,_0xe52ced=this[_0x244d11(0xed)][_0x244d11(0xf8)](_0x50fea7[_0x244d11(0x105)]),_0x4025aa=this[_0x244d11(0xd9)]['getUnitId'](),_0xbbb81c=this[_0x244d11(0xee)][_0x244d11(0xd8)](),_0x28f0e9=_0xe52ced[_0x244d11(0xba)](_0x4025aa,_0xbbb81c,_0x43c8ee,_0x2f8687);if(_0x28f0e9)return this[_0x244d11(0xed)][_0x244d11(0xbb)](_0x2be0c5[_0x244d11(0xd6)],_0x4025aa,_0xbbb81c,_0x28f0e9,_0x43c8ee,_0x2f8687);}}_0x5a0aab[_0x1aa294(0xcf)][_0x1aa294(0xb5)](_0x2abaf8);class _0x168b8c extends _0x2a23b6[_0x1aa294(0xe7)]{get[_0x1aa294(0x107)](){const _0x5c432c=_0x1aa294;return _0x50fea7[_0x5c432c(0x107)];}}_0x2a23b6[_0x1aa294(0xe7)][_0x1aa294(0xb5)](_0x168b8c);class _0x1fb3fd extends _0x2a23b6[_0x1aa294(0xe9)]{get[_0x1aa294(0xf9)](){const _0x1eb2ca=_0x1aa294;return _0x1eb2ca(0xf9);}}_0x2a23b6[_0x1aa294(0xe9)][_0x1aa294(0xb5)](_0x1fb3fd);class _0x39d2c0 extends _0x2a23b6['FUniver']{['_initialize'](_0x49f051){const _0x2489a7=_0x1aa294,_0x466797=_0x49f051[_0x2489a7(0xf8)](_0x44f7d6[_0x2489a7(0xc5)]);this[_0x2489a7(0xd0)](this[_0x2489a7(0xb8)][_0x2489a7(0xf9)],()=>_0x466797['onCommandExecuted'](_0x84cb23=>{const _0x5e7186=_0x2489a7;var _0x511d16,_0x2b8bd;if(_0x84cb23['id']===_0x50fea7['SetSheetSparklineCommand']['id']){const _0x295456=_0x84cb23[_0x5e7186(0xf2)];if(!_0x295456[_0x5e7186(0xd2)]){const _0x20cd80=this[_0x5e7186(0xcc)](),_0x393f12=_0x20cd80==null?void 0x0:_0x20cd80[_0x5e7186(0xf0)]();if(!_0x20cd80||!_0x393f12)return;const _0x2ba9ae=_0x20cd80[_0x5e7186(0xd4)](),_0x39dfe9=_0x393f12[_0x5e7186(0xd8)](),_0x5a506d=this['_injector'][_0x5e7186(0xf8)](_0x36a7ca[_0x5e7186(0xfd)]),_0x2f316a=this[_0x5e7186(0xed)]['get'](_0x50fea7[_0x5e7186(0x105)]),_0x12f0a3=(_0x511d16=_0x295456==null?void 0x0:_0x295456[_0x5e7186(0xec)])!=null?_0x511d16:_0x5a506d[_0x5e7186(0xcb)]()[_0x5e7186(0x109)](_0x3af69c=>_0x3af69c[_0x5e7186(0xe4)]),_0x3068d1=(_0x2b8bd=_0x2f316a['getSparklineCache']()[_0x5e7186(0x112)][_0x5e7186(0xf8)](_0x2ba9ae))==null?void 0x0:_0x2b8bd[_0x5e7186(0xf8)](_0x39dfe9),_0x860329=new Set();_0x12f0a3[_0x5e7186(0xf6)](_0x2be3ec=>{const _0x162728=_0x5e7186;var _0x258e84;const {startRow:_0x5dedd6,endRow:_0x134716,startColumn:_0x2a91c5,endColumn:_0x77d4ee}=_0x2be3ec;for(let _0xa18722=_0x5dedd6;_0xa18722<=_0x134716;_0xa18722++)for(let _0xb90399=_0x2a91c5;_0xb90399<=_0x77d4ee;_0xb90399++){const _0x5d98fd=(_0x258e84=_0x3068d1==null?void 0x0:_0x3068d1[_0x162728(0xef)][_0x162728(0x10c)](_0xa18722,_0xb90399))==null?void 0x0:_0x258e84[_0x162728(0xc2)];_0x5d98fd&&_0x860329['add'](_0x5d98fd);}});const _0x38918f=Array[_0x5e7186(0xfe)](_0x860329)[_0x5e7186(0x109)](_0x1beb11=>_0x2f316a[_0x5e7186(0x102)](_0x2ba9ae,_0x39dfe9,_0x1beb11))[_0x5e7186(0xb4)](_0x5d71c5=>!!_0x5d71c5),_0x516281={'workbook':_0x20cd80,'worksheet':_0x393f12,'sparklines':_0x38918f};if(this['fireEvent'](this[_0x5e7186(0xb8)][_0x5e7186(0xf9)],_0x516281),_0x516281[_0x5e7186(0xf5)])throw new Error(_0x5e7186(0xb6));}}}));}}_0x2a23b6['FUniver']['extend'](_0x39d2c0),Object[_0x1aa294(0xc0)](_0x2be0c5,Symbol[_0x1aa294(0x113)],{'value':_0x1aa294(0xfc)});}));function _0x2178(_0x10f980,_0x4b8b4c){const _0x1066a3=_0x1066();return _0x2178=function(_0x217846,_0x9ac95f){_0x217846=_0x217846-0xb4;let _0x20c1af=_0x1066a3[_0x217846];return _0x20c1af;},_0x2178(_0x10f980,_0x4b8b4c);}function _0x1066(){const _0x53b716=['forEach','getSparklineGroupByCell','get','SheetSparklineChanged','56QmxQRS','300blaeBF','Module','SheetsSelectionsService','from','13sKCjVy','length','group','getSparklineById','startRow','deepClone','SparklineDataSourceModel','680298QkGoFe','SparklineTypeEnum','Tools','map','SetSheetSparklineCommand','3flFPyM','getValue','_unitId','getOwnPropertyDescriptor','@univerjs/core/facade','25INUthn','getUnitId','sparklineAnchorMap','toStringTag','filter','extend','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','object','Event','Inject','getSparkline','createInstance','executeCommand','removeSparklineGroup','_subUnitId','219890lAyaSr','defineProperty','startColumn','groupId','getAllSubSparkline','sparklines','ICommandService','changeDataSource','_commandService','Injector','4QbYXLb','13711188ROgxoD','getCurrentSelections','getActiveWorkbook','amd','@univerjs/sheets/facade','FWorksheet','registerEventHandler','removeSparkline','isChangeDataSource','AddSheetSparklineCommand','getId','exports','FSparklineGroup','UniverProSheetsSparklineFacade','getSheetId','_workbook','385518BbmZXb','UniverSheetsFacade','UniverCore','RemoveSheetSparklineCommand','519743YjGtNI','4579578BfQIgL','@univerjs-pro/sheets-sparkline','getSparklineByCell','unComposeSparkline','131042DaYKwH','range','@univerjs/core','syncExecuteCommand','FEnum','_col','FEventName','@univerjs/sheets','UniverProSheetsSparkline','ranges','_injector','_worksheet','matrix','getActiveSheet','_groupId','params','_row','FSparkline','cancel'];_0x1066=function(){return _0x53b716;};return _0x1066();}
|
|
1
|
+
(function(_0x55458d,_0x537029){const _0x29133f=_0x5c18,_0x3eb18c=_0x55458d();while(!![]){try{const _0x3088dc=-parseInt(_0x29133f(0x214))/0x1+parseInt(_0x29133f(0x22b))/0x2*(-parseInt(_0x29133f(0x221))/0x3)+parseInt(_0x29133f(0x1f2))/0x4*(parseInt(_0x29133f(0x21b))/0x5)+-parseInt(_0x29133f(0x20d))/0x6*(-parseInt(_0x29133f(0x200))/0x7)+-parseInt(_0x29133f(0x1d9))/0x8+-parseInt(_0x29133f(0x1fe))/0x9+parseInt(_0x29133f(0x1dc))/0xa;if(_0x3088dc===_0x537029)break;else _0x3eb18c['push'](_0x3eb18c['shift']());}catch(_0x40a1ba){_0x3eb18c['push'](_0x3eb18c['shift']());}}}(_0x420b,0x7840f),function(_0x418b79,_0x5a1643){const _0x4ea6e7=_0x5c18;typeof exports==_0x4ea6e7(0x1ee)&&typeof module<'u'?_0x5a1643(exports,require(_0x4ea6e7(0x1e9)),require('@univerjs/core'),require(_0x4ea6e7(0x1f1)),require(_0x4ea6e7(0x1ff)),require(_0x4ea6e7(0x1d6))):typeof define==_0x4ea6e7(0x1fd)&&define[_0x4ea6e7(0x1fc)]?define([_0x4ea6e7(0x229),_0x4ea6e7(0x1e9),'@univerjs/core',_0x4ea6e7(0x1f1),_0x4ea6e7(0x1ff),_0x4ea6e7(0x1d6)],_0x5a1643):(_0x418b79=typeof globalThis<'u'?globalThis:_0x418b79||self,_0x5a1643(_0x418b79[_0x4ea6e7(0x20c)]={},_0x418b79['UniverProSheetsSparkline'],_0x418b79[_0x4ea6e7(0x218)],_0x418b79[_0x4ea6e7(0x208)],_0x418b79['UniverCoreFacade'],_0x418b79[_0x4ea6e7(0x206)]));}(this,function(_0x4b5db9,_0x3c7e3e,_0x512dda,_0x4d7109,_0x1a0fd7,_0x85cb54){'use strict';const _0x4135f6=_0x5c18;var _0x173cb7=Object['getOwnPropertyDescriptor'],_0x1d85b4=(_0x249e01,_0x516248,_0x3ba3fc,_0x39fc24)=>{for(var _0x4c34fb=_0x39fc24>0x1?void 0x0:_0x39fc24?_0x173cb7(_0x516248,_0x3ba3fc):_0x516248,_0x4416e5=_0x249e01['length']-0x1,_0x43f735;_0x4416e5>=0x0;_0x4416e5--)(_0x43f735=_0x249e01[_0x4416e5])&&(_0x4c34fb=_0x43f735(_0x4c34fb)||_0x4c34fb);return _0x4c34fb;},_0x40c4d0=(_0x4a76aa,_0x264e47)=>(_0x52070b,_0x20440f)=>_0x264e47(_0x52070b,_0x20440f,_0x4a76aa);_0x4b5db9[_0x4135f6(0x20b)]=class{constructor(_0x1a5220,_0x2b4f02,_0x55b84d,_0x23223b,_0x5f4460,_0x458c98){const _0x3f4b20=_0x4135f6;this[_0x3f4b20(0x217)]=_0x1a5220,this['_subUnitId']=_0x2b4f02,this[_0x3f4b20(0x1df)]=_0x55b84d,this['_row']=_0x23223b,this['_col']=_0x5f4460,this['_injector']=_0x458c98;}[_0x4135f6(0x226)](_0x209cdf,_0x2158aa){const _0x565f83=_0x4135f6,_0x176ef8=this[_0x565f83(0x20a)][_0x565f83(0x219)](_0x3c7e3e[_0x565f83(0x212)]),_0x231362=this['_injector']['get'](_0x512dda[_0x565f83(0x202)]),_0x2ceb23=_0x176ef8[_0x565f83(0x1e0)](this[_0x565f83(0x217)],this[_0x565f83(0x20e)],this['_groupId']);if(!_0x2ceb23)return;const _0x3e4993={'config':_0x2ceb23,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x565f83(0x1df)],'resetType':_0x565f83(0x1e3),'sourceRanges':[_0x209cdf],'targetRanges':[_0x2158aa],'primary':{'startRow':this['_row'],'startColumn':this[_0x565f83(0x1e5)],'endRow':this[_0x565f83(0x1dd)],'endColumn':this[_0x565f83(0x1e5)],'actualRow':this[_0x565f83(0x1dd)],'actualColumn':this[_0x565f83(0x1e5)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x231362[_0x565f83(0x1fa)](_0x3c7e3e['SetSheetSparklineCommand']['id'],_0x3e4993),this[_0x565f83(0x1dd)]=_0x2158aa[_0x565f83(0x1f5)],this[_0x565f83(0x1e5)]=_0x2158aa['startColumn'],this;}['removeSparkline'](){const _0x45a650=_0x4135f6,_0x4cdb51=this[_0x45a650(0x20a)][_0x45a650(0x219)](_0x512dda[_0x45a650(0x202)]),_0x3b9ea6={'isSingle':!0x0,'ranges':[{'startRow':this['_row'],'startColumn':this[_0x45a650(0x1e5)],'endRow':this[_0x45a650(0x1dd)],'endColumn':this[_0x45a650(0x1e5)]}]};_0x4cdb51['syncExecuteCommand'](_0x3c7e3e[_0x45a650(0x1d5)]['id'],_0x3b9ea6);}},_0x4b5db9[_0x4135f6(0x20b)]=_0x1d85b4([_0x40c4d0(0x5,_0x512dda[_0x4135f6(0x1da)](_0x512dda[_0x4135f6(0x1e1)]))],_0x4b5db9[_0x4135f6(0x20b)]);var _0x3737ae=Object['getOwnPropertyDescriptor'],_0x5d3bd5=(_0x30b9c9,_0x5b68cf,_0x2c6e35,_0x4fb8f1)=>{for(var _0x13f399=_0x4fb8f1>0x1?void 0x0:_0x4fb8f1?_0x3737ae(_0x5b68cf,_0x2c6e35):_0x5b68cf,_0xe75101=_0x30b9c9['length']-0x1,_0x1a37e8;_0xe75101>=0x0;_0xe75101--)(_0x1a37e8=_0x30b9c9[_0xe75101])&&(_0x13f399=_0x1a37e8(_0x13f399)||_0x13f399);return _0x13f399;},_0x17e6aa=(_0x3c413a,_0x4461cd)=>(_0x48077a,_0x55c928)=>_0x4461cd(_0x48077a,_0x55c928,_0x3c413a);_0x4b5db9['FSparklineGroup']=class{constructor(_0x197d8d,_0x22d015,_0x12405d,_0x15b450,_0x3b3c7e,_0x4e4720){const _0x194fb0=_0x4135f6;this['_unitId']=_0x197d8d,this['_subUnitId']=_0x22d015,this['_groupId']=_0x12405d,this[_0x194fb0(0x1dd)]=_0x15b450,this[_0x194fb0(0x1e5)]=_0x3b3c7e,this[_0x194fb0(0x20a)]=_0x4e4720;}['changeDataSource'](_0x3ae2aa,_0x268d0f){const _0x1690a5=_0x4135f6,_0x40ca56=this['_injector'][_0x1690a5(0x219)](_0x3c7e3e[_0x1690a5(0x212)]),_0x5b4bcc=this['_injector']['get'](_0x512dda[_0x1690a5(0x202)]),_0x15b197=_0x40ca56[_0x1690a5(0x1e0)](this['_unitId'],this[_0x1690a5(0x20e)],this['_groupId']);if(!_0x15b197)return;const _0x18f924={'config':_0x15b197,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x1690a5(0x1df)],'resetType':_0x1690a5(0x1d7),'sourceRanges':_0x3ae2aa,'targetRanges':_0x268d0f,'primary':{'startRow':this[_0x1690a5(0x1dd)],'startColumn':this[_0x1690a5(0x1e5)],'endRow':this['_row'],'endColumn':this[_0x1690a5(0x1e5)],'actualRow':this['_row'],'actualColumn':this[_0x1690a5(0x1e5)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x5b4bcc[_0x1690a5(0x1fa)](_0x3c7e3e[_0x1690a5(0x213)]['id'],_0x18f924),this[_0x1690a5(0x1dd)]=_0x268d0f[0x0][_0x1690a5(0x1f5)],this[_0x1690a5(0x1e5)]=_0x268d0f[0x0][_0x1690a5(0x1ec)],this;}[_0x4135f6(0x216)](){const _0x25a880=_0x4135f6,_0x8f5e8d=this[_0x25a880(0x20a)]['get'](_0x512dda[_0x25a880(0x202)]),_0x2870d2={'isSingle':!0x1,'ranges':[{'startRow':this[_0x25a880(0x1dd)],'startColumn':this[_0x25a880(0x1e5)],'endRow':this[_0x25a880(0x1dd)],'endColumn':this[_0x25a880(0x1e5)]}]};_0x8f5e8d[_0x25a880(0x1fa)](_0x3c7e3e[_0x25a880(0x1d5)]['id'],_0x2870d2);}['setConfig'](_0x31bc22){const _0x4c9272=_0x4135f6,_0x43a2aa=this[_0x4c9272(0x20a)][_0x4c9272(0x219)](_0x3c7e3e[_0x4c9272(0x212)])[_0x4c9272(0x1e0)](this['_unitId'],this[_0x4c9272(0x20e)],this['_groupId']);if(_0x43a2aa){const _0x1eef41={'config':{'config':_0x31bc22,'sparklines':_0x43a2aa['sparklines']},'isChangeDataSource':!0x1};this['_injector'][_0x4c9272(0x219)](_0x512dda[_0x4c9272(0x202)])[_0x4c9272(0x1fa)](_0x3c7e3e[_0x4c9272(0x213)]['id'],_0x1eef41);}return this;}},_0x4b5db9[_0x4135f6(0x21c)]=_0x5d3bd5([_0x17e6aa(0x5,_0x512dda['Inject'](_0x512dda[_0x4135f6(0x1e1)]))],_0x4b5db9[_0x4135f6(0x21c)]);class _0x376e7c extends _0x4d7109[_0x4135f6(0x20f)]{['addSparkline'](_0x4fd208,_0x3af969,_0x25b98a){const _0x57b3d9=_0x4135f6;if(this['_commandService'][_0x57b3d9(0x1fa)](_0x3c7e3e[_0x57b3d9(0x205)]['id'],{'sourceRanges':_0x4fd208,'targetRanges':_0x3af969,'targetInfo':{'unitId':this[_0x57b3d9(0x1e4)]['getUnitId'](),'subUnitId':this['_worksheet'][_0x57b3d9(0x1d8)]()},'config':{'type':_0x25b98a}})){const {startRow:_0x71bc57,startColumn:_0x3560b3}=_0x3af969[0x0];return this[_0x57b3d9(0x1e6)](_0x71bc57,_0x3560b3);}}[_0x4135f6(0x209)](){const _0x354554=_0x4135f6;return this[_0x354554(0x20a)]['get'](_0x3c7e3e[_0x354554(0x212)])[_0x354554(0x1e7)](this[_0x354554(0x1e4)][_0x354554(0x225)](),this[_0x354554(0x1db)][_0x354554(0x1d8)]());}[_0x4135f6(0x204)](_0xf1bf88){const _0x22fb64=_0x4135f6,_0x1daf15=this[_0x22fb64(0x20a)]['get'](_0x3c7e3e['SparklineDataSourceModel']);let _0x1ea7ad;for(let _0x596312=0x0;_0x596312<_0xf1bf88[_0x22fb64(0x1de)];_0x596312++){const _0x22bb48=_0xf1bf88[_0x596312],{startRow:_0x3e594d,endRow:_0xa4f789,startColumn:_0x51f794,endColumn:_0x19e463}=_0x22bb48;for(let _0x2222a8=_0x3e594d;_0x2222a8<=_0xa4f789;_0x2222a8++)for(let _0x5e53df=_0x51f794;_0x5e53df<=_0x19e463;_0x5e53df++){const _0x167713=_0x1daf15[_0x22fb64(0x223)](this[_0x22fb64(0x1e4)][_0x22fb64(0x225)](),this[_0x22fb64(0x1db)][_0x22fb64(0x1d8)](),_0x2222a8,_0x5e53df);if(_0x167713){const _0x1c6f6d=_0x1daf15['getSparklineById'](this[_0x22fb64(0x1e4)][_0x22fb64(0x225)](),this[_0x22fb64(0x1db)]['getSheetId'](),_0x167713);if(_0x1c6f6d){_0x1ea7ad=_0x512dda['Tools'][_0x22fb64(0x228)](_0x1c6f6d);break;}}}}_0x1ea7ad&&this[_0x22fb64(0x22a)][_0x22fb64(0x1ea)](_0x3c7e3e['SetSheetSparklineCommand']['id'],{'ranges':_0xf1bf88,'combine':!0x0,'config':_0x1ea7ad,'isChangeDataSource':!0x1});}[_0x4135f6(0x21f)](_0x2cf0dd){const _0x5dec86=_0x4135f6,_0x551458=this[_0x5dec86(0x20a)]['get'](_0x3c7e3e[_0x5dec86(0x212)]);let _0x348e40;for(let _0x3fd372=0x0;_0x3fd372<_0x2cf0dd[_0x5dec86(0x1de)];_0x3fd372++){const _0x1e91ac=_0x2cf0dd[_0x3fd372],{startRow:_0x47418f,endRow:_0x12ed6b,startColumn:_0xe1dc03,endColumn:_0x250328}=_0x1e91ac;for(let _0x93c2d9=_0x47418f;_0x93c2d9<=_0x12ed6b;_0x93c2d9++)for(let _0xb3845=_0xe1dc03;_0xb3845<=_0x250328;_0xb3845++){const _0x2994fb=_0x551458[_0x5dec86(0x223)](this['_workbook'][_0x5dec86(0x225)](),this[_0x5dec86(0x1db)][_0x5dec86(0x1d8)](),_0x93c2d9,_0xb3845);if(_0x2994fb){const _0x12e91d=_0x551458[_0x5dec86(0x1e0)](this[_0x5dec86(0x1e4)][_0x5dec86(0x225)](),this[_0x5dec86(0x1db)]['getSheetId'](),_0x2994fb);if(_0x12e91d){_0x348e40=_0x512dda[_0x5dec86(0x220)]['deepClone'](_0x12e91d);break;}}}}_0x348e40||this[_0x5dec86(0x22a)][_0x5dec86(0x1ea)](_0x3c7e3e[_0x5dec86(0x213)]['id'],{'ranges':_0x2cf0dd,'unCombine':!0x0,'config':_0x348e40,'isChangeDataSource':!0x1});}['getSparklineByCell'](_0x34becf,_0x10b355){const _0x477e76=_0x4135f6,_0x3fc0a6=this['_injector'][_0x477e76(0x219)](_0x3c7e3e[_0x477e76(0x212)]),_0x2a0858=this['_workbook'][_0x477e76(0x225)](),_0x6772e2=this[_0x477e76(0x1db)][_0x477e76(0x1d8)](),_0x216696=_0x3fc0a6[_0x477e76(0x223)](_0x2a0858,_0x6772e2,_0x34becf,_0x10b355);if(_0x216696)return this['_injector'][_0x477e76(0x207)](_0x4b5db9[_0x477e76(0x20b)],_0x2a0858,_0x6772e2,_0x216696,_0x34becf,_0x10b355);}['getSparklineGroupByCell'](_0x275c25,_0xa737e6){const _0x5993de=_0x4135f6,_0x30f5a0=this['_injector'][_0x5993de(0x219)](_0x3c7e3e[_0x5993de(0x212)]),_0x2adea6=this['_workbook'][_0x5993de(0x225)](),_0x2d07c6=this['_worksheet']['getSheetId'](),_0x4c47ad=_0x30f5a0[_0x5993de(0x223)](_0x2adea6,_0x2d07c6,_0x275c25,_0xa737e6);if(_0x4c47ad)return this[_0x5993de(0x20a)][_0x5993de(0x207)](_0x4b5db9[_0x5993de(0x21c)],_0x2adea6,_0x2d07c6,_0x4c47ad,_0x275c25,_0xa737e6);}}_0x4d7109['FWorksheet'][_0x4135f6(0x21e)](_0x376e7c);class _0x5d2bde extends _0x1a0fd7[_0x4135f6(0x1f9)]{get[_0x4135f6(0x215)](){const _0x4a8879=_0x4135f6;return _0x3c7e3e[_0x4a8879(0x215)];}}_0x1a0fd7[_0x4135f6(0x1f9)][_0x4135f6(0x21e)](_0x5d2bde);class _0x4c6198 extends _0x1a0fd7['FEventName']{get[_0x4135f6(0x227)](){const _0x16d266=_0x4135f6;return _0x16d266(0x227);}}_0x1a0fd7[_0x4135f6(0x1ed)][_0x4135f6(0x21e)](_0x4c6198);class _0x51fd93 extends _0x1a0fd7['FUniver']{[_0x4135f6(0x203)](_0x43f703){const _0x6491f8=_0x4135f6,_0x562d51=_0x43f703[_0x6491f8(0x219)](_0x512dda[_0x6491f8(0x202)]);this['registerEventHandler'](this[_0x6491f8(0x21a)][_0x6491f8(0x227)],()=>_0x562d51[_0x6491f8(0x1f0)](_0x1c79b1=>{const _0x3a978a=_0x6491f8;var _0x4c20a9,_0x5476e8;if(_0x1c79b1['id']===_0x3c7e3e[_0x3a978a(0x213)]['id']){const _0x59991a=_0x1c79b1[_0x3a978a(0x224)];if(!_0x59991a['isChangeDataSource']){const _0x3c66b7=this[_0x3a978a(0x1ef)](),_0x1f5143=_0x3c66b7==null?void 0x0:_0x3c66b7[_0x3a978a(0x1f6)]();if(!_0x3c66b7||!_0x1f5143)return;const _0x9949d3=_0x3c66b7[_0x3a978a(0x1f7)](),_0x5e225c=_0x1f5143[_0x3a978a(0x1d8)](),_0x34dec6=this[_0x3a978a(0x20a)][_0x3a978a(0x219)](_0x85cb54[_0x3a978a(0x211)]),_0x190bd6=this[_0x3a978a(0x20a)]['get'](_0x3c7e3e['SparklineDataSourceModel']),_0x10ecab=(_0x4c20a9=_0x59991a==null?void 0x0:_0x59991a['ranges'])!=null?_0x4c20a9:_0x34dec6['getCurrentSelections']()[_0x3a978a(0x1fb)](_0xb30232=>_0xb30232['range']),_0x26d1c8=(_0x5476e8=_0x190bd6[_0x3a978a(0x1eb)]()[_0x3a978a(0x21d)][_0x3a978a(0x219)](_0x9949d3))==null?void 0x0:_0x5476e8['get'](_0x5e225c),_0x9fbab0=new Set();_0x10ecab[_0x3a978a(0x201)](_0x56bce0=>{const _0x34e1f2=_0x3a978a;var _0x15db83;const {startRow:_0x40328b,endRow:_0x46c2f0,startColumn:_0x5a5ef2,endColumn:_0x40776e}=_0x56bce0;for(let _0x3ede84=_0x40328b;_0x3ede84<=_0x46c2f0;_0x3ede84++)for(let _0x4bf696=_0x5a5ef2;_0x4bf696<=_0x40776e;_0x4bf696++){const _0x44b9d2=(_0x15db83=_0x26d1c8==null?void 0x0:_0x26d1c8[_0x34e1f2(0x1f4)][_0x34e1f2(0x1f3)](_0x3ede84,_0x4bf696))==null?void 0x0:_0x15db83['groupId'];_0x44b9d2&&_0x9fbab0[_0x34e1f2(0x210)](_0x44b9d2);}});const _0x3972b3=Array['from'](_0x9fbab0)[_0x3a978a(0x1fb)](_0x5ee14f=>_0x190bd6[_0x3a978a(0x1e0)](_0x9949d3,_0x5e225c,_0x5ee14f))['filter'](_0x28ea6e=>!!_0x28ea6e),_0x44b227={'workbook':_0x3c66b7,'worksheet':_0x1f5143,'sparklines':_0x3972b3};if(this[_0x3a978a(0x1e8)](this[_0x3a978a(0x21a)]['SheetSparklineChanged'],_0x44b227),_0x44b227[_0x3a978a(0x222)])throw new Error('Sheet\x20create\x20canceled\x20by\x20facade\x20api.');}}}));}}_0x1a0fd7['FUniver'][_0x4135f6(0x21e)](_0x51fd93),Object[_0x4135f6(0x1f8)](_0x4b5db9,Symbol['toStringTag'],{'value':_0x4135f6(0x1e2)});}));function _0x5c18(_0x29266e,_0x425ba9){const _0x420b67=_0x420b();return _0x5c18=function(_0x5c1819,_0x9a175b){_0x5c1819=_0x5c1819-0x1d5;let _0x402f23=_0x420b67[_0x5c1819];return _0x402f23;},_0x5c18(_0x29266e,_0x425ba9);}function _0x420b(){const _0x4f6005=['625OhjzFW','FSparklineGroup','sparklineAnchorMap','extend','unComposeSparkline','Tools','13410wHAIZC','cancel','getSparkline','params','getUnitId','changeDataSource','SheetSparklineChanged','deepClone','exports','_commandService','22pCliYZ','RemoveSheetSparklineCommand','@univerjs/sheets','group','getSheetId','6960416QyWHwk','Inject','_worksheet','18496530WbYUZV','_row','length','_groupId','getSparklineById','Injector','Module','item','_workbook','_col','getSparklineByCell','getSubUnitSparkline','fireEvent','@univerjs-pro/sheets-sparkline','executeCommand','getSparklineCache','startColumn','FEventName','object','getActiveWorkbook','onCommandExecuted','@univerjs/sheets/facade','7292qZnHWx','getValue','matrix','startRow','getActiveSheet','getId','defineProperty','FEnum','syncExecuteCommand','map','amd','function','4824693ZrbDZx','@univerjs/core/facade','294OVPAPG','forEach','ICommandService','_initialize','composeSparkline','AddSheetSparklineCommand','UniverSheets','createInstance','UniverSheetsFacade','getAllSubSparkline','_injector','FSparkline','UniverProSheetsSparklineFacade','1446rFxISb','_subUnitId','FWorksheet','add','SheetsSelectionsService','SparklineDataSourceModel','SetSheetSparklineCommand','139792KaQfGe','SparklineTypeEnum','removeSparklineGroup','_unitId','UniverCore','get','Event'];_0x420b=function(){return _0x4f6005;};return _0x420b();}
|