@univerjs-pro/sheets-sparkline 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251218-2062647
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/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xe55a(){const _0x53d13d=['5607KlcUTo','params','325795WanvfZ','@univerjs/sheets','rgb(248,190,21)','rgb(49,106,246)','IUniverInstanceService','getSheetCommandTarget','emptyShowAs','MIN_SAFE_INTEGER','RemoveSheetCommand','_initDependencies','Inject','hasValue','rgb(244,104,249)','refRangeHandle','onCommandExecuted','SheetsSelectionsService','sheet.command.add-sparkline','ClearSelectionAllCommand','RemoveSheetSparklineCommand','rgb(30,177,189)','disposableCollection','config','SetRangeValuesMutation','next','column','_univerInstanceService','groupId','BAR_CHART','keys','row','removeRows','rgb(54,78,244)','CONNECT_WITH_LINE','min','subUnitId','clearSparklineCache','_sheetInterceptorService','UniverProLicense','fromJSON','SOFT','intersects','_sheetSelectionService','containHiddenCells','_sparklineAnchorMap','SparklineThemeMapping','adjustRangeOnMutation','markersPoint','touchDependencies','getSparklineCache','RemoveRowCommand','BOOLEAN','get','SparklineExtremumTypeEnum','IUndoRedoService','lastPoint','size','toStringTag','sheet.mutation.set-sparkline','sheet.command.set-sparkline','_sparklineModel','DisposableCollection','AddSheetSparklineMutation','SetRowVisibleMutation','_commandService','_initClearWithSparkline','moveColumns','_initExclusiveRangeChange','SparklineDataSourceModel','_getRefRangeMutationsByDeleteRows','CUSTOM_EXTREMUM','ICommandService','getSheetId','RemoveRowMutation','exclusiveRangesChange$','CellValueType','RemoveSheetSparklineMutation','endColumn','RANGE_TYPE','Subject','COMMAND','SparklineTypeEnum','SparklinePointsNames','nonNumShowAs','PROFIT_AND_LOSS_CHART','push','getSparkline','isValidRange','map','STANDARD','assign','getRowVisible','matrix','Tools','cellToRange','RemoveColCommand','MoveRangeMutation','removeColumns','77mzPaIT','Rectangle','PIE_CHART','removePartSparkline','getSparklineById','rgb(46,187,122)','ZERO_VALUE','getOwnPropertyDescriptor','getValue','highPoint','number','UniverSheets','InsertColMutation','Range','InsertRowMutation','every','SpacialShowAsEnum','length','value','6pBSTPX','_getRefRangeMutationsByDeleteCols','_exclusiveRangeService','sheet.mutation.remove-sparkline','symbol','2291864hwFAtV','sparklines','deepClone','unitId','DISTINCTIVE','AddSheetSparklineCommand','SPECIALTY','_initCorrectRangeWithSparkline','Disposable','updateSparklineExtraNum','actualRow','33057CktkYQ','NUMBER','realDeleteValue','Plugin','@univerjs/core','UniverSheetSparklinePlugin','getSizeOf','MAX_SAFE_INTEGER','ObjectMatrix','parse','_initSnapshot','object','SPACING','CopySheetCommand','SetSheetSparklineCommand','getCell','_initMergeWithSparkline','from','867060OEVUgw','remove','extremumMax','interceptCommand','clone','sheet.mutation.add-sparkline','ranges','SELF_EXTREMUM','forEach','endRow','entries','extremumMin','_injector','custom','getCellRaw','sequenceExecute','_initHideRowColWithSparkline','rgb(80,102,248)','has','_resourceManagerService','exports','4980oRaRpy','delete','UNIVER_SHEET','distinctive','AddWorksheetMergeCommand','dispose','stringify','_ensureConfigMap','getSheetBySheetId','pushUndoRedo','forValue','ColorKit','sheet.command.remove-sparkline','_initRegisterCommand','u-connect','reBuildAnchorCache','RemoveColMutation','getMatrix','foreach','getCurrentSelections','disposeWithMe','spacing','getUnitId','UniverInstanceType','lowPoint','80EkwHmk','setValue','toJSON','IExclusiveRangeService','specialty','rgb(252,117,60)','LINE_CHART','u-spacing','defineProperty','fresh','seriesColor','setAlpha','actualColumn','startColumn','getSubUnitSparkline','getActiveSheet','_sparklineDataSourceModel','_initSheetChange','NORMAL','_updateConfig$','_initDataChangeListener','onReady','some','getColVisible','set','soft','CommandType','type','24577AqkgUf','addSparkline','registerPluginResource','UniverProSheetsSparkline','updateConfig$','GROUP_EXTREMUM','1689630uFQQeB','startRow','_refRangeService','sparklineModel','_onRefRangeChange','add','CUSTOM','pluginName','2XsobaL','rxjs','range','SetWorksheetActivateCommand','getCurrentUnitOfType','@univerjs-pro/license','item','deleteUnit','contains','MoveColsMutation','generateRandomId','PLUGIN_NAME','UniverLicensePlugin','sparklineAnchorMap','max'];_0xe55a=function(){return _0x53d13d;};return _0xe55a();}function _0x345a(_0x31736a,_0x3901cc){_0x31736a=_0x31736a-0x6f;const _0xe55af2=_0xe55a();let _0x345a21=_0xe55af2[_0x31736a];return _0x345a21;}(function(_0x2263f3,_0x3e5358){const _0x4f28aa=_0x345a,_0x550dc5=_0x2263f3();while(!![]){try{const _0x1b14b0=-parseInt(_0x4f28aa(0x95))/0x1*(-parseInt(_0x4f28aa(0x84))/0x2)+-parseInt(_0x4f28aa(0x119))/0x3*(parseInt(_0x4f28aa(0x159))/0x4)+parseInt(_0x4f28aa(0x7c))/0x5*(-parseInt(_0x4f28aa(0x109))/0x6)+-parseInt(_0x4f28aa(0x76))/0x7+-parseInt(_0x4f28aa(0x10e))/0x8+-parseInt(_0x4f28aa(0x93))/0x9*(-parseInt(_0x4f28aa(0x140))/0xa)+parseInt(_0x4f28aa(0xf6))/0xb*(parseInt(_0x4f28aa(0x12b))/0xc);if(_0x1b14b0===_0x3e5358)break;else _0x550dc5['push'](_0x550dc5['shift']());}catch(_0x16608e){_0x550dc5['push'](_0x550dc5['shift']());}}}(_0xe55a,0x47a9e),function(_0x2d667c,_0x1a36cc){const _0x2ac228=_0x345a;typeof exports==_0x2ac228(0x124)&&typeof module<'u'?_0x1a36cc(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define['amd']?define([_0x2ac228(0x13f),_0x2ac228(0x11d),_0x2ac228(0x96),'rxjs',_0x2ac228(0x89)],_0x1a36cc):(_0x2d667c=typeof globalThis<'u'?globalThis:_0x2d667c||self,_0x1a36cc(_0x2d667c[_0x2ac228(0x79)]={},_0x2d667c['UniverCore'],_0x2d667c[_0x2ac228(0x101)],_0x2d667c[_0x2ac228(0x85)],_0x2d667c[_0x2ac228(0xba)]));}(this,function(_0x28c8c4,_0xe7bb3d,_0x182a55,_0x494f5e,_0x547651){'use strict';const _0x57b078=_0x345a;var _0x53de1d=Object[_0x57b078(0x161)],_0x5e19f5=(_0x1bf927,_0x250082,_0x5917db)=>_0x250082 in _0x1bf927?_0x53de1d(_0x1bf927,_0x250082,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5917db}):_0x1bf927[_0x250082]=_0x5917db,_0x2f9861=(_0x2fe514,_0xf516ce,_0x334979)=>_0x5e19f5(_0x2fe514,typeof _0xf516ce!='symbol'?_0xf516ce+'':_0xf516ce,_0x334979);function _0x3f2d15(_0x16e86d,_0x4db6a7){const _0x39d7cd=_0x57b078,_0xe20750=new _0xe7bb3d['ObjectMatrix'](),_0x316d73=[],_0x15514b=_0x16e86d[_0x39d7cd(0x107)]>0x1;let _0x43e9f3=0x0,_0x1eb60a=0x0;for(const _0x736e27 of _0x16e86d)_0x43e9f3+=_0x736e27[_0x39d7cd(0x134)]-_0x736e27[_0x39d7cd(0x7d)]+0x1,_0x1eb60a+=_0x736e27[_0x39d7cd(0xe1)]-_0x736e27['startColumn']+0x1;for(const _0x1caeb4 of _0x4db6a7)for(let _0x496c61=_0x1caeb4['startRow'];_0x496c61<=_0x1caeb4[_0x39d7cd(0x134)];_0x496c61++)for(let _0x614ac0=_0x1caeb4[_0x39d7cd(0x166)];_0x614ac0<=_0x1caeb4[_0x39d7cd(0xe1)];_0x614ac0++)_0x316d73[_0x39d7cd(0xe9)]({'row':_0x496c61,'column':_0x614ac0});if(_0x316d73['length']===_0x43e9f3)_0x15514b?_0x316d73[_0x39d7cd(0x133)]((_0x375235,_0x174ff7)=>{const _0x3de1fb=_0x39d7cd,_0x1fcd07=_0x16e86d[_0x174ff7],_0x27b2ff={'startRow':_0x1fcd07[_0x3de1fb(0x7d)],'startColumn':_0x1fcd07[_0x3de1fb(0x166)],'endRow':_0x1fcd07[_0x3de1fb(0x7d)],'endColumn':_0x1fcd07[_0x3de1fb(0xe1)]};_0xe20750['setValue'](_0x375235[_0x3de1fb(0xb2)],_0x375235[_0x3de1fb(0xad)],_0x27b2ff);}):_0x316d73['forEach']((_0x390f9c,_0x21f9aa)=>{const _0x339fb2=_0x39d7cd,_0x5d33b2=_0x16e86d[0x0],_0x4a3251={'startRow':_0x5d33b2[_0x339fb2(0x7d)]+_0x21f9aa,'startColumn':_0x5d33b2[_0x339fb2(0x166)],'endRow':_0x5d33b2['startRow']+_0x21f9aa,'endColumn':_0x5d33b2[_0x339fb2(0xe1)]};_0xe20750[_0x339fb2(0x15a)](_0x390f9c['row'],_0x390f9c['column'],_0x4a3251);});else{if(_0x316d73['length']===_0x1eb60a)_0x15514b?_0x316d73[_0x39d7cd(0x133)]((_0x4a564a,_0x5f42fb)=>{const _0x4711c0=_0x39d7cd,_0x198063=_0x16e86d[_0x5f42fb],_0x4b6bcb={'startRow':_0x198063[_0x4711c0(0x7d)],'startColumn':_0x198063[_0x4711c0(0x166)],'endRow':_0x198063[_0x4711c0(0x134)],'endColumn':_0x198063[_0x4711c0(0x166)]};_0xe20750[_0x4711c0(0x15a)](_0x4a564a[_0x4711c0(0xb2)],_0x4a564a[_0x4711c0(0xad)],_0x4b6bcb);}):_0x316d73['forEach']((_0x50d126,_0x2a59d2)=>{const _0x35f637=_0x39d7cd,_0x14ed1b=_0x16e86d[0x0],_0x5b0a26={'startRow':_0x14ed1b['startRow'],'startColumn':_0x14ed1b[_0x35f637(0x166)]+_0x2a59d2,'endRow':_0x14ed1b[_0x35f637(0x134)],'endColumn':_0x14ed1b[_0x35f637(0x166)]+_0x2a59d2};_0xe20750['setValue'](_0x50d126['row'],_0x50d126[_0x35f637(0xad)],_0x5b0a26);});else{if(_0x316d73['length']===_0x16e86d[_0x39d7cd(0x107)])_0x16e86d[_0x39d7cd(0x105)](_0x468906=>!(_0x468906['startRow']!==_0x468906[_0x39d7cd(0x134)]&&_0x468906['startColumn']!==_0x468906[_0x39d7cd(0xe1)]))&&_0x316d73[_0x39d7cd(0x133)]((_0x929c87,_0x4eee29)=>{const _0x248601=_0x39d7cd,_0x3d7c66=_0x16e86d[_0x4eee29];_0xe20750[_0x248601(0x15a)](_0x929c87[_0x248601(0xb2)],_0x929c87[_0x248601(0xad)],_0x3d7c66);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0xe20750;}const _0x159f86='SHEET_SPARKLINE_PLUGIN',_0x4c03bc={'standard':[_0x57b078(0xb4),'rgb(236,100,169)'],'specialty':[_0x57b078(0x98),_0x57b078(0xa8)],'distinctive':['rgb(124,66,147)',_0x57b078(0x15e)],'soft':[_0x57b078(0x13c),_0x57b078(0xa1)],'fresh':[_0x57b078(0xfb),_0x57b078(0x97)]},_0x230c4b=[_0x57b078(0xff),'firstPoint',_0x57b078(0xcb),_0x57b078(0x158),'negativePoint',_0x57b078(0xc3)];var _0x1feb2f=(_0x2036c4=>(_0x2036c4[_0x57b078(0xed)]='standard',_0x2036c4[_0x57b078(0x114)]=_0x57b078(0x15d),_0x2036c4[_0x57b078(0x112)]=_0x57b078(0x143),_0x2036c4[_0x57b078(0xbc)]=_0x57b078(0x73),_0x2036c4['FRESH']=_0x57b078(0x162),_0x2036c4[_0x57b078(0x82)]=_0x57b078(0x138),_0x2036c4))(_0x1feb2f||{}),_0x317c66=(_0x5042dc=>(_0x5042dc[_0x5042dc[_0x57b078(0x15f)]=0x1]=_0x57b078(0x15f),_0x5042dc[_0x5042dc[_0x57b078(0xb0)]=0x2]='BAR_CHART',_0x5042dc[_0x5042dc['PROFIT_AND_LOSS_CHART']=0x3]=_0x57b078(0xe8),_0x5042dc[_0x5042dc[_0x57b078(0xf8)]=0x4]=_0x57b078(0xf8),_0x5042dc))(_0x317c66||{}),_0x165cc0=(_0x362f3e=>(_0x362f3e['SPACING']=_0x57b078(0x155),_0x362f3e[_0x57b078(0xfc)]='zero_value',_0x362f3e['CONNECT_WITH_LINE']='connect_with_line',_0x362f3e))(_0x165cc0||{}),_0x6cc60f=(_0x47f284=>(_0x47f284[_0x47f284[_0x57b078(0x132)]=0x1]=_0x57b078(0x132),_0x47f284[_0x47f284['GROUP_EXTREMUM']=0x2]=_0x57b078(0x7b),_0x47f284[_0x47f284[_0x57b078(0xda)]=0x3]=_0x57b078(0xda),_0x47f284))(_0x6cc60f||{}),_0x22d348=Object[_0x57b078(0xfd)],_0x5234a0=(_0x386d7a,_0x5740bd,_0x4dabad,_0x141ceb)=>{const _0x573dd8=_0x57b078;for(var _0x4b8bc5=_0x141ceb>0x1?void 0x0:_0x141ceb?_0x22d348(_0x5740bd,_0x4dabad):_0x5740bd,_0x5ea489=_0x386d7a[_0x573dd8(0x107)]-0x1,_0x186dfe;_0x5ea489>=0x0;_0x5ea489--)(_0x186dfe=_0x386d7a[_0x5ea489])&&(_0x4b8bc5=_0x186dfe(_0x4b8bc5)||_0x4b8bc5);return _0x4b8bc5;},_0x164b34=(_0x2ac4b8,_0x219a4c)=>(_0x107c59,_0x2a692)=>_0x219a4c(_0x107c59,_0x2a692,_0x2ac4b8);_0x28c8c4[_0x57b078(0xd8)]=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0x1e1620){const _0x3a09f2=_0x57b078;super(),_0x2f9861(this,'_sparklineModel',new Map()),_0x2f9861(this,_0x3a09f2(0xc0),new Map()),_0x2f9861(this,_0x3a09f2(0x16c),new _0x494f5e[(_0x3a09f2(0xe3))]()),_0x2f9861(this,_0x3a09f2(0x7a),this[_0x3a09f2(0x16c)]['asObservable']()),this[_0x3a09f2(0xae)]=_0x1e1620;}[_0x57b078(0x147)](_0x39a415,_0x2f24ab){const _0x4f1889=_0x57b078;let _0x20ca61=this[_0x4f1889(0xd0)][_0x4f1889(0xc8)](_0x39a415);_0x20ca61||(_0x20ca61=new Map(),this['_sparklineModel']['set'](_0x39a415,_0x20ca61));let _0x4b4d8d=_0x20ca61[_0x4f1889(0xc8)](_0x2f24ab);return _0x4b4d8d||(_0x4b4d8d=new Map(),_0x20ca61['set'](_0x2f24ab,_0x4b4d8d)),_0x4b4d8d;}['_ensureAnchorMatrix'](_0x132858,_0x200632){const _0x5a15fe=_0x57b078;let _0xae36fb=this['_sparklineAnchorMap'][_0x5a15fe(0xc8)](_0x132858);_0xae36fb||(_0xae36fb=new Map(),this['_sparklineAnchorMap'][_0x5a15fe(0x72)](_0x132858,_0xae36fb));let _0x34de91=_0xae36fb['get'](_0x200632);return _0x34de91||(_0x34de91={'matrix':new _0xe7bb3d['ObjectMatrix'](),'extra':{}},_0xae36fb[_0x5a15fe(0x72)](_0x200632,_0x34de91)),_0x34de91;}['updateSparklineExtraNum'](_0x179c37,_0x43f07b,_0x21c19f,_0x230314='set'){const _0x11f9ee=_0x57b078;var _0xde20d1,_0x2fe32a,_0x2421d2,_0x5857e9,_0x42c792,_0x4fd97b,_0x7e7300,_0x5f288d,_0x1c0354,_0x3b6539,_0x1c3582,_0x4eb488,_0x390dfe;const _0xefc470=(_0x2fe32a=(_0xde20d1=this[_0x11f9ee(0xd0)][_0x11f9ee(0xc8)](_0x179c37))==null?void 0x0:_0xde20d1[_0x11f9ee(0xc8)](_0x43f07b))==null?void 0x0:_0x2fe32a['get'](_0x21c19f);if(!_0xefc470)return;const _0x1e7e22=_0x182a55[_0x11f9ee(0x9a)](this[_0x11f9ee(0xae)],{'unitId':_0x179c37,'subUnitId':_0x43f07b});if(!_0x1e7e22)return;const _0x616921=this['_ensureAnchorMatrix'](_0x179c37,_0x43f07b),{extra:_0x5b2c75,matrix:_0x36f243}=_0x616921,{worksheet:_0x358e80}=_0x1e7e22;let _0x2cda3b=Number[_0x11f9ee(0x9c)],_0x5be479=Number[_0x11f9ee(0x120)];const _0x19a269=(_0x2421d2=_0xefc470[_0x11f9ee(0xaa)][_0x11f9ee(0xbf)])!=null?_0x2421d2:!0x1;_0xefc470[_0x11f9ee(0x10f)][_0x11f9ee(0x14a)]((_0x5676f6,_0x59dc39,_0x487b98)=>{const _0x9d8bec=_0x11f9ee;var _0x260821,_0x27ca4f,_0x413b6f;const _0x4878e6=_0x487b98;let _0x104dbe=Number[_0x9d8bec(0x9c)],_0x22a90c=Number[_0x9d8bec(0x120)],_0x1b8256=0x0,_0x3d6d1b=0x0;const _0xa8a458=[];if(!_0xe7bb3d[_0x9d8bec(0xeb)](_0x4878e6))_0x36f243[_0x9d8bec(0x15a)](_0x5676f6,_0x59dc39,{'groupId':_0x21c19f,'data':[],'max':_0x104dbe,'min':_0x22a90c,'highIndex':_0x1b8256,'lowIndex':_0x3d6d1b,'negativeIndexes':_0xa8a458});else{const _0x1b35f8=[];for(let _0x2393de=_0x4878e6[_0x9d8bec(0x7d)];_0x2393de<=_0x4878e6[_0x9d8bec(0x134)];_0x2393de++){for(let _0x52acc5=_0x4878e6[_0x9d8bec(0x166)];_0x52acc5<=_0x4878e6[_0x9d8bec(0xe1)];_0x52acc5++){const _0x38c40c=_0x358e80[_0x9d8bec(0xef)](_0x2393de),_0x3a1687=_0x358e80[_0x9d8bec(0x71)](_0x52acc5);if(!_0x19a269&&(!_0x38c40c||!_0x3a1687))continue;let _0x478ea1=0x0;const _0x3198a8=((_0x260821=_0x358e80['getCellRaw'](_0x2393de,_0x52acc5))==null?void 0x0:_0x260821['v'])!==void 0x0?_0x358e80[_0x9d8bec(0x139)](_0x2393de,_0x52acc5):_0x358e80[_0x9d8bec(0x128)](_0x2393de,_0x52acc5);if(!_0x3198a8||_0x3198a8['v']===void 0x0||_0x3198a8['v']===null){const _0x598b9b=(_0x27ca4f=_0xefc470['config'][_0x9d8bec(0x9b)])!=null?_0x27ca4f:_0x165cc0[_0x9d8bec(0x125)];_0x598b9b===_0x165cc0[_0x9d8bec(0xfc)]?_0x478ea1=0x0:_0x598b9b===_0x165cc0[_0x9d8bec(0x125)]?_0x478ea1=_0x9d8bec(0x160):_0x598b9b===_0x165cc0[_0x9d8bec(0xb5)]&&(_0x478ea1=_0x9d8bec(0x14e));}else{if(_0x3198a8['t']===_0xe7bb3d[_0x9d8bec(0xdf)]['STRING']||_0x3198a8['t']===_0xe7bb3d[_0x9d8bec(0xdf)]['FORCE_STRING']){const _0x414462=(_0x413b6f=_0xefc470[_0x9d8bec(0xaa)][_0x9d8bec(0xe7)])!=null?_0x413b6f:_0x165cc0['SPACING'];_0x414462===_0x165cc0[_0x9d8bec(0xfc)]?_0x478ea1=0x0:_0x414462===_0x165cc0[_0x9d8bec(0x125)]?_0x478ea1=_0x9d8bec(0x160):_0x414462===_0x165cc0[_0x9d8bec(0xb5)]&&(_0x478ea1=_0x9d8bec(0x14e));}else _0x3198a8['t']===_0xe7bb3d[_0x9d8bec(0xdf)][_0x9d8bec(0xc7)]?_0x478ea1=_0x3198a8['v']?0x1:0x0:_0x3198a8['t']===_0xe7bb3d['CellValueType'][_0x9d8bec(0x11a)]?_0x478ea1=Number(_0x3198a8['v']):_0x478ea1=_0x3198a8['v'];}if(_0x1b35f8[_0x9d8bec(0xe9)](_0x478ea1),typeof _0x478ea1==_0x9d8bec(0x100)){_0x104dbe=Math['max'](_0x104dbe,_0x478ea1),_0x2cda3b=Math[_0x9d8bec(0x92)](_0x2cda3b,_0x478ea1),_0x5be479=Math[_0x9d8bec(0xb6)](_0x5be479,_0x478ea1),_0x22a90c=Math[_0x9d8bec(0xb6)](_0x22a90c,_0x478ea1);const _0x512f3e=typeof _0x1b35f8[_0x1b8256]==_0x9d8bec(0x100)?Number(_0x1b35f8[_0x1b8256]):Number[_0x9d8bec(0x9c)];_0x478ea1>_0x512f3e&&(_0x1b8256=_0x1b35f8[_0x9d8bec(0x107)]-0x1);const _0x6101a9=typeof _0x1b35f8[_0x3d6d1b]=='number'?Number(_0x1b35f8[_0x3d6d1b]):Number[_0x9d8bec(0x120)];_0x478ea1<_0x6101a9&&(_0x3d6d1b=_0x1b35f8['length']-0x1),_0x478ea1<0x0&&_0xa8a458['push'](_0x1b35f8['length']-0x1);}}_0x36f243[_0x9d8bec(0x15a)](_0x5676f6,_0x59dc39,{'groupId':_0x21c19f,'data':_0x1b35f8,'max':_0x104dbe,'min':_0x22a90c,'highIndex':_0x1b8256,'lowIndex':_0x3d6d1b,'negativeIndexes':_0xa8a458});}}});let _0x19c298=_0x2cda3b;((_0x5857e9=_0xefc470[_0x11f9ee(0xaa)]['extremumMax'])==null?void 0x0:_0x5857e9[_0x11f9ee(0x75)])===_0x6cc60f[_0x11f9ee(0xda)]&&(_0x19c298=(_0x4fd97b=(_0x42c792=_0xefc470[_0x11f9ee(0xaa)][_0x11f9ee(0x12d)])==null?void 0x0:_0x42c792[_0x11f9ee(0x108)])!=null?_0x4fd97b:_0x2cda3b);let _0x443447=_0x5be479;((_0x7e7300=_0xefc470[_0x11f9ee(0xaa)][_0x11f9ee(0x136)])==null?void 0x0:_0x7e7300['type'])===_0x6cc60f['CUSTOM_EXTREMUM']&&(_0x443447=(_0x1c0354=(_0x5f288d=_0xefc470['config']['extremumMin'])==null?void 0x0:_0x5f288d[_0x11f9ee(0x108)])!=null?_0x1c0354:_0x5be479);const _0x1702f2=(_0x3b6539=_0xefc470['config']['themeType'])!=null?_0x3b6539:_0x1feb2f[_0x11f9ee(0xed)],_0x43c637=(_0x390dfe=(_0x4eb488=_0xefc470[_0x11f9ee(0xaa)][_0x11f9ee(0x163)])!=null?_0x4eb488:(_0x1c3582=_0x4c03bc[_0x1702f2])==null?void 0x0:_0x1c3582[0x0])!=null?_0x390dfe:_0x4c03bc['standard'][0x0],_0x1a4e52=new _0xe7bb3d[(_0x11f9ee(0x14b))](_0x43c637),_0xe0300f=_0x1a4e52[_0x11f9ee(0x164)](0.2)['toRgbString'](),_0x43e79c=_0x1a4e52[_0x11f9ee(0x164)](0.05)['toRgbString']();_0x5b2c75[_0x21c19f]={'groupMax':_0x2cda3b,'groupMin':_0x5be479,'showMax':_0x19c298,'showMin':_0x443447,'startGradient':_0xe0300f,'endGradient':_0x43e79c},this['_updateConfig$'][_0x11f9ee(0xac)]({'unitId':_0x179c37,'subUnitId':_0x43f07b,'groupId':_0x21c19f,'config':_0xefc470,'type':_0x230314});}['addSparkline'](_0x3ef73f,_0xc9ba2a,_0x541f44,_0x4e9540){const _0x58bf8f=_0x57b078;this[_0x58bf8f(0x147)](_0x3ef73f,_0xc9ba2a)[_0x58bf8f(0x72)](_0x541f44,_0x4e9540),this[_0x58bf8f(0x117)](_0x3ef73f,_0xc9ba2a,_0x541f44,'add');}['setSparkline'](_0x29681,_0x3f9e49,_0x1f9f29,_0xb15628){const _0x157eb3=_0x57b078;var _0x428561;const _0x549833=(_0x428561=this[_0x157eb3(0xd0)][_0x157eb3(0xc8)](_0x29681))==null?void 0x0:_0x428561[_0x157eb3(0xc8)](_0x3f9e49);_0x1f9f29['forEach'](_0xd1abdc=>{const _0xd6e2c4=_0x157eb3;_0x549833!=null&&_0x549833[_0xd6e2c4(0x13d)](_0xd1abdc)&&(_0x549833[_0xd6e2c4(0x72)](_0xd1abdc,_0xb15628),this[_0xd6e2c4(0x117)](_0x29681,_0x3f9e49,_0xd1abdc));});}['removeSparkline'](_0x267024,_0x3d0892,_0x25f120){const _0x120174=_0x57b078;var _0x1507fe,_0xaa4fc;const _0x3d1682=this['_sparklineModel']['get'](_0x267024);if(_0x3d1682){const _0x2dd612=_0x3d1682['get'](_0x3d0892);if(_0x2dd612){_0x2dd612['delete'](_0x25f120);const _0x1b5ecb=(_0x1507fe=this[_0x120174(0xc0)][_0x120174(0xc8)](_0x267024))==null?void 0x0:_0x1507fe['get'](_0x3d0892);(_0xaa4fc=_0x1b5ecb==null?void 0x0:_0x1b5ecb['matrix'])==null||_0xaa4fc[_0x120174(0x14a)]((_0xf9953d,_0x361024,_0x504b17)=>{const _0x576181=_0x120174;(_0x504b17==null?void 0x0:_0x504b17[_0x576181(0xaf)])===_0x25f120&&(_0x1b5ecb==null||_0x1b5ecb[_0x576181(0xf0)][_0x576181(0x11b)](_0xf9953d,_0x361024));}),this[_0x120174(0x16c)][_0x120174(0xac)]({'unitId':_0x267024,'subUnitId':_0x3d0892,'groupId':_0x25f120,'type':'remove'}),_0x2dd612[_0x120174(0xcc)]===0x0&&_0x3d1682[_0x120174(0x141)](_0x3d0892);}}}[_0x57b078(0xf9)](_0x5e90b3,_0x363d61,_0x45400a,_0x1e0687){const _0xa23d10=_0x57b078;var _0x2a9d3e,_0x3492dc,_0x4f0fb6,_0x15e5d2;const _0x2484e9=(_0x2a9d3e=this[_0xa23d10(0xc0)][_0xa23d10(0xc8)](_0x5e90b3))==null?void 0x0:_0x2a9d3e[_0xa23d10(0xc8)](_0x363d61),_0x1383c0=_0x2484e9==null?void 0x0:_0x2484e9[_0xa23d10(0xf0)][_0xa23d10(0xfe)](_0x45400a,_0x1e0687);if(_0x1383c0){const {groupId:_0x8c2c1d}=_0x1383c0,_0x11a583=(_0x3492dc=this[_0xa23d10(0xd0)]['get'](_0x5e90b3))==null?void 0x0:_0x3492dc['get'](_0x363d61);(_0x4f0fb6=_0x11a583==null?void 0x0:_0x11a583[_0xa23d10(0xc8)](_0x8c2c1d))==null||_0x4f0fb6[_0xa23d10(0x10f)][_0xa23d10(0x11b)](_0x45400a,_0x1e0687),(_0x15e5d2=_0x11a583==null?void 0x0:_0x11a583[_0xa23d10(0xc8)](_0x8c2c1d))!=null&&_0x15e5d2['sparklines'][_0xa23d10(0xa0)]()||_0x11a583==null||_0x11a583['delete'](_0x8c2c1d),_0x2484e9==null||_0x2484e9[_0xa23d10(0xf0)]['realDeleteValue'](_0x45400a,_0x1e0687),this['_updateConfig$']['next']({'unitId':_0x5e90b3,'subUnitId':_0x363d61,'groupId':_0x8c2c1d,'type':_0xa23d10(0x12c)});}}['clearSparklineCache'](_0x224e1f,_0x15cf34,_0x172ff1){const _0x119d0e=_0x57b078;var _0x4fda46,_0x41b946,_0x5f1d76,_0xde0652;const _0x33e766=(_0x5f1d76=(_0x41b946=(_0x4fda46=this[_0x119d0e(0xd0)][_0x119d0e(0xc8)](_0x224e1f))==null?void 0x0:_0x4fda46[_0x119d0e(0xc8)](_0x15cf34))==null?void 0x0:_0x41b946['get'](_0x172ff1))==null?void 0x0:_0x5f1d76[_0x119d0e(0x10f)],_0x2eb830=(_0xde0652=this[_0x119d0e(0xc0)]['get'](_0x224e1f))==null?void 0x0:_0xde0652['get'](_0x15cf34);if(_0x33e766&&_0x2eb830){const {matrix:_0x38f28e,extra:_0x40207f}=_0x2eb830;_0x33e766[_0x119d0e(0x14a)]((_0x22c317,_0x574931,_0x1e2e22)=>{const _0x55c4a9=_0x119d0e;_0x38f28e[_0x55c4a9(0x11b)](_0x22c317,_0x574931);}),delete _0x40207f[_0x172ff1];}}[_0x57b078(0x167)](_0x5503c8,_0x3b8e74){const _0x47ea17=_0x57b078;var _0x1ac8de;return(_0x1ac8de=this['_sparklineModel'][_0x47ea17(0xc8)](_0x5503c8))==null?void 0x0:_0x1ac8de[_0x47ea17(0xc8)](_0x3b8e74);}[_0x57b078(0xfa)](_0x5a482d,_0x531107,_0x2bbd81){const _0x16a1bd=_0x57b078;var _0x1b90c0,_0x5074f3;return(_0x5074f3=(_0x1b90c0=this[_0x16a1bd(0xd0)][_0x16a1bd(0xc8)](_0x5a482d))==null?void 0x0:_0x1b90c0[_0x16a1bd(0xc8)](_0x531107))==null?void 0x0:_0x5074f3[_0x16a1bd(0xc8)](_0x2bbd81);}[_0x57b078(0xea)](_0x59a1f2,_0x396139,_0x2dd4a2,_0x1ae3b4){const _0x159cc3=_0x57b078;var _0x1574ad,_0x5c700a,_0x4fa5d9;return(_0x4fa5d9=(_0x5c700a=(_0x1574ad=this[_0x159cc3(0xc0)]['get'](_0x59a1f2))==null?void 0x0:_0x1574ad[_0x159cc3(0xc8)](_0x396139))==null?void 0x0:_0x5c700a['matrix'][_0x159cc3(0xfe)](_0x2dd4a2,_0x1ae3b4))==null?void 0x0:_0x4fa5d9[_0x159cc3(0xaf)];}[_0x57b078(0x14f)](_0x187332,_0x442fe2){const _0x553421=_0x57b078;var _0x2eab9d;const _0x25c599=this['_ensureAnchorMatrix'](_0x187332,_0x442fe2);_0x25c599[_0x553421(0xf0)][_0x553421(0x14a)]((_0x22f496,_0x1752f8)=>{const _0x3d0aef=_0x553421;_0x25c599[_0x3d0aef(0xf0)]['realDeleteValue'](_0x22f496,_0x1752f8);});const _0x1977e3=(_0x2eab9d=this[_0x553421(0xd0)][_0x553421(0xc8)](_0x187332))==null?void 0x0:_0x2eab9d[_0x553421(0xc8)](_0x442fe2);if(_0x1977e3){for(const [_0x55a961]of _0x1977e3)this[_0x553421(0x117)](_0x187332,_0x442fe2,_0x55a961);}}['getSparklineCache'](){const _0x4da254=_0x57b078;return{'sparklineModel':this[_0x4da254(0xd0)],'sparklineAnchorMap':this[_0x4da254(0xc0)]};}['toJSON'](_0x237411){const _0x3da018=_0x57b078,_0x16caf4={};if(this['_sparklineModel'][_0x3da018(0x13d)](_0x237411)){_0x16caf4[_0x237411]={};const _0x52066a=this[_0x3da018(0xd0)][_0x3da018(0xc8)](_0x237411);_0x52066a!=null&&_0x52066a[_0x3da018(0xcc)]&&Array[_0x3da018(0x12a)](_0x52066a['keys']())['forEach'](_0x281735=>{const _0x33d14f=_0x3da018;_0x16caf4[_0x237411][_0x281735]={};const _0x3d2418=_0x52066a[_0x33d14f(0xc8)](_0x281735);_0x3d2418!=null&&_0x3d2418[_0x33d14f(0xcc)]&&Array[_0x33d14f(0x12a)](_0x3d2418[_0x33d14f(0xb1)]())[_0x33d14f(0x133)](_0x318ef4=>{const _0x260af8=_0x33d14f,_0x4d1cd9=_0x3d2418['get'](_0x318ef4);_0x4d1cd9&&(_0x16caf4[_0x237411][_0x281735][_0x318ef4]={'config':_0x4d1cd9[_0x260af8(0xaa)],'sparklines':_0x4d1cd9['sparklines'][_0x260af8(0x151)]()});});});}return _0x16caf4;}['fromJSON'](_0x9390a){const _0xe4f317=_0x57b078;if(!_0x9390a)return;Object[_0xe4f317(0xb1)](_0x9390a)['forEach'](_0x3cfede=>{const _0x1872d9=_0xe4f317,_0x465808=_0x9390a[_0x3cfede];_0x465808&&Object['keys'](_0x465808)[_0x1872d9(0x133)](_0x3bd05f=>{const _0x192006=_0x1872d9,_0x28e582=_0x465808[_0x3bd05f];_0x28e582&&Object[_0x192006(0xb1)](_0x28e582)[_0x192006(0x133)](_0x1c5e05=>{const _0x1af38c=_0x192006,_0x4a16a9=_0x28e582[_0x1c5e05];if(_0x4a16a9){const _0x4220f9={'config':_0x4a16a9['config'],'sparklines':new _0xe7bb3d['ObjectMatrix'](_0x4a16a9[_0x1af38c(0x10f)])};this[_0x1af38c(0x77)](_0x3cfede,_0x3bd05f,_0x1c5e05,_0x4220f9);}});});});}[_0x57b078(0x8b)](_0x2fd904){const _0x43fafa=_0x57b078,_0x374543=this[_0x43fafa(0xd0)][_0x43fafa(0xc8)](_0x2fd904);if(_0x374543){for(const [_0x183dc8]of _0x374543){const _0x11aa5a=_0x374543[_0x43fafa(0xc8)](_0x183dc8);if(_0x11aa5a){for(const [_0x4e81c6]of _0x11aa5a)this[_0x43fafa(0xb8)](_0x2fd904,_0x183dc8,_0x4e81c6);}}this['_sparklineModel'][_0x43fafa(0x141)](_0x2fd904);}}},_0x28c8c4['SparklineDataSourceModel']=_0x5234a0([_0x164b34(0x0,_0xe7bb3d['Inject'](_0xe7bb3d[_0x57b078(0x99)]))],_0x28c8c4[_0x57b078(0xd8)]);const _0x172026={'id':_0x57b078(0x130),'type':_0xe7bb3d['CommandType']['MUTATION'],'handler':(_0x1d982,_0x5e0983)=>{const _0x1cb07a=_0x57b078;if(!_0x5e0983)return!0x1;const {sparklineConfigMap:_0xf0c586,unitId:_0xc38288,subUnitId:_0x4f5bdc}=_0x5e0983,_0x42b53d=_0x1d982[_0x1cb07a(0xc8)](_0x28c8c4[_0x1cb07a(0xd8)]);return Object[_0x1cb07a(0x135)](_0xf0c586)['forEach'](([_0x26df3b,_0x3be74d])=>{const _0x2cea29=_0x1cb07a,_0x46d1e2={'config':_0x3be74d[_0x2cea29(0xaa)],'sparklines':new _0xe7bb3d[(_0x2cea29(0x121))](_0x3be74d[_0x2cea29(0x10f)])};_0x42b53d[_0x2cea29(0x77)](_0xc38288,_0x4f5bdc,_0x26df3b,_0x46d1e2);}),!0x0;}},_0x31a383={'id':_0x57b078(0x10c),'type':_0xe7bb3d[_0x57b078(0x74)]['MUTATION'],'handler':(_0x2165c4,_0x57cc5d)=>{const _0xb44339=_0x57b078;if(!_0x57cc5d)return!0x1;const {unitId:_0x423b28,subUnitId:_0x490a2f,ranges:_0x394d8b,isSingle:_0x153fce,groupIds:_0x15a2af}=_0x57cc5d,_0x5c16e0=_0x2165c4[_0xb44339(0xc8)](_0x28c8c4[_0xb44339(0xd8)]);return _0x15a2af?(_0x15a2af[_0xb44339(0x133)](_0x375750=>{_0x5c16e0['removeSparkline'](_0x423b28,_0x490a2f,_0x375750);}),!0x0):_0x394d8b?(_0x394d8b[_0xb44339(0x133)](_0x30d198=>{const _0xff880d=_0xb44339;_0xe7bb3d['Range'][_0xff880d(0x152)](_0x30d198,(_0x96b4ae,_0x319307)=>{const _0x26f309=_0xff880d,_0x530d1b=_0x5c16e0['getSparkline'](_0x423b28,_0x490a2f,_0x96b4ae,_0x319307);_0x530d1b&&(_0x153fce?_0x5c16e0[_0x26f309(0xf9)](_0x423b28,_0x490a2f,_0x96b4ae,_0x319307):_0x5c16e0['removeSparkline'](_0x423b28,_0x490a2f,_0x530d1b));});}),!0x0):!0x1;}},_0x506d59={'id':_0x57b078(0xa5),'type':_0xe7bb3d['CommandType'][_0x57b078(0xe4)],'handler':(_0x43d1b6,_0x527cdb)=>{const _0x9ab619=_0x57b078;if(!_0x527cdb)return!0x1;const {sourceRanges:_0x32082a,targetRanges:_0x3f0055,config:_0x2d745d}=_0x527cdb,_0x40cdf7=_0x43d1b6[_0x9ab619(0xc8)](_0xe7bb3d[_0x9ab619(0xca)]),_0x511149='g_'+_0xe7bb3d['generateRandomId'](0x6),_0x3f8c8f=_0x3f2d15(_0x32082a,_0x3f0055),_0x44caea={'config':_0x2d745d!=null?_0x2d745d:{},'sparklines':_0x3f8c8f['getMatrix']()},_0x39b5d3=_0x43d1b6[_0x9ab619(0xc8)](_0xe7bb3d[_0x9ab619(0x99)]),_0x2539a2=_0x43d1b6[_0x9ab619(0xc8)](_0x28c8c4['SparklineDataSourceModel']),_0x4462ee=_0x182a55['getSheetCommandTarget'](_0x39b5d3);if(!_0x4462ee)return!0x1;const {unitId:_0x35ad94,subUnitId:_0x19c00e}=_0x4462ee,_0x130d9c=_0x43d1b6['get'](_0xe7bb3d['ICommandService']),_0x426d9f=[],_0x104966=[],_0x495724={},_0x171d22={},_0xf23d15=new Set([_0x511149]);_0x3f8c8f[_0x9ab619(0x14a)]((_0x466e40,_0x4f9615,_0x3ac767)=>{const _0x40a6fa=_0x9ab619,_0xf91b41=_0x2539a2[_0x40a6fa(0xea)](_0x35ad94,_0x19c00e,_0x466e40,_0x4f9615);if(_0xf91b41){const _0x25c75d=_0x2539a2[_0x40a6fa(0xfa)](_0x35ad94,_0x19c00e,_0xf91b41);if(_0x25c75d){_0xf23d15[_0x40a6fa(0x81)](_0xf91b41);let _0x31b070=_0x495724[_0xf91b41],_0x59fc92=_0x171d22[_0xf91b41];_0x59fc92||(_0x59fc92={'config':_0xe7bb3d['Tools'][_0x40a6fa(0x110)](_0x25c75d[_0x40a6fa(0xaa)]),'sparklines':new _0xe7bb3d[(_0x40a6fa(0x121))](_0x25c75d[_0x40a6fa(0x10f)][_0x40a6fa(0x12f)]())},_0x171d22[_0xf91b41]=_0x59fc92),_0x31b070||(_0x31b070={'config':_0xe7bb3d[_0x40a6fa(0xf1)]['deepClone'](_0x25c75d['config']),'sparklines':_0x25c75d[_0x40a6fa(0x10f)][_0x40a6fa(0x12f)]()},_0x495724[_0xf91b41]=_0x31b070),_0x59fc92[_0x40a6fa(0x10f)]['realDeleteValue'](_0x466e40,_0x4f9615);}}});const _0x46013d={};return Object[_0x9ab619(0x135)](_0x171d22)['forEach'](([_0x362fb2,_0x3d7cc3])=>{const _0x25600c=_0x9ab619;_0x3d7cc3[_0x25600c(0x10f)][_0x25600c(0x11f)]()&&(_0x46013d[_0x362fb2]={'config':_0x3d7cc3['config'],'sparklines':_0x3d7cc3[_0x25600c(0x10f)][_0x25600c(0x12f)]()});}),_0x46013d[_0x511149]=_0x44caea,_0x426d9f['push']({'id':_0x31a383['id'],'params':{'unitId':_0x35ad94,'subUnitId':_0x19c00e,'groupIds':Array['from'](_0xf23d15),'isSingle':!0x1}}),_0xf23d15[_0x9ab619(0xcc)]>0x1&&(_0x104966[_0x9ab619(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x35ad94,'subUnitId':_0x19c00e,'groupIds':Array[_0x9ab619(0x12a)](_0xf23d15),'isSingle':!0x1}}),_0x426d9f[_0x9ab619(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x35ad94,'subUnitId':_0x19c00e,'sparklineConfigMap':_0x495724}})),_0x104966[_0x9ab619(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x35ad94,'subUnitId':_0x19c00e,'sparklineConfigMap':_0x46013d}}),_0xe7bb3d[_0x9ab619(0x13a)](_0x104966,_0x130d9c),_0x40cdf7[_0x9ab619(0x149)]({'unitID':_0x35ad94,'undoMutations':_0x426d9f,'redoMutations':_0x104966}),!0x0;}},_0x5f591b={'id':_0x57b078(0x14c),'type':_0xe7bb3d[_0x57b078(0x74)][_0x57b078(0xe4)],'handler':(_0x522f0b,_0xa4c292)=>{const _0x585fbd=_0x57b078;var _0x4cf953;const {isSingle:_0x45f211=!0x0}=_0xa4c292||{},_0x3e0bb2=_0x522f0b[_0x585fbd(0xc8)](_0xe7bb3d['ICommandService']),_0x797f14=_0x522f0b[_0x585fbd(0xc8)](_0xe7bb3d['IUniverInstanceService']),_0x26a207=_0x522f0b[_0x585fbd(0xc8)](_0x28c8c4[_0x585fbd(0xd8)]),_0x36ad99=_0x522f0b['get'](_0xe7bb3d[_0x585fbd(0xca)]),_0x164b81=_0x182a55['getSheetCommandTarget'](_0x797f14);if(!_0x164b81)return!0x1;const _0x3598f3=_0x522f0b[_0x585fbd(0xc8)](_0x182a55[_0x585fbd(0xa4)]),_0x4f80e2=(_0x4cf953=_0xa4c292==null?void 0x0:_0xa4c292[_0x585fbd(0x131)])!=null?_0x4cf953:_0x3598f3['getCurrentSelections']()[_0x585fbd(0xec)](_0x3e1b8f=>_0x3e1b8f[_0x585fbd(0x86)]),{unitId:_0x4eb743,subUnitId:_0x5381b2}=_0x164b81,_0x15ddaf=[],_0x5e7d51=[];_0x15ddaf[_0x585fbd(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x4eb743,'subUnitId':_0x5381b2,'ranges':_0x4f80e2,'isSingle':_0x45f211}});const _0x238158=[],_0x4add9c={};return _0x4f80e2['forEach'](_0x1053db=>{const _0x1ebf8d=_0x585fbd;_0xe7bb3d[_0x1ebf8d(0x103)][_0x1ebf8d(0x152)](_0x1053db,(_0x23224c,_0x501e41)=>{const _0x1a7567=_0x1ebf8d,_0x195356=_0x26a207[_0x1a7567(0xea)](_0x4eb743,_0x5381b2,_0x23224c,_0x501e41);if(_0x195356){const _0x5ac33f=_0x26a207[_0x1a7567(0xfa)](_0x4eb743,_0x5381b2,_0x195356);_0x5ac33f&&(_0x238158[_0x1a7567(0xe9)](_0x195356),_0x4add9c[_0x195356]={'config':_0xe7bb3d['Tools'][_0x1a7567(0x110)](_0x5ac33f[_0x1a7567(0xaa)]),'sparklines':_0xe7bb3d['Tools']['deepClone'](_0x5ac33f[_0x1a7567(0x10f)][_0x1a7567(0x12f)]())});}});}),_0x5e7d51[_0x585fbd(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x4eb743,'subUnitId':_0x5381b2,'groupIds':_0x238158,'isSingle':!0x1}}),_0x5e7d51[_0x585fbd(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x4eb743,'subUnitId':_0x5381b2,'sparklineConfigMap':_0x4add9c}}),_0xe7bb3d[_0x585fbd(0x13a)](_0x15ddaf,_0x3e0bb2),_0x36ad99[_0x585fbd(0x149)]({'unitID':_0x4eb743,'undoMutations':_0x5e7d51,'redoMutations':_0x15ddaf}),!0x0;}},_0x2afa6d={'id':_0x57b078(0xce),'type':_0xe7bb3d['CommandType']['MUTATION'],'handler':(_0x487c52,_0x3cde54)=>{const _0xf827a6=_0x57b078;if(!_0x3cde54)return!0x1;const {unitId:_0xd28330,subUnitId:_0x3f2269,groupIds:_0x22f3b9,config:_0xae7fc4}=_0x3cde54,_0x534c21=_0x487c52[_0xf827a6(0xc8)](_0x28c8c4[_0xf827a6(0xd8)]);return _0x22f3b9['forEach'](_0x407903=>{const _0x3ba11a=_0xf827a6,_0x509e65=_0x534c21['getSparklineById'](_0xd28330,_0x3f2269,_0x407903);if(_0x509e65){const _0x20eadc={'config':Object[_0x3ba11a(0xee)]({},_0x509e65[_0x3ba11a(0xaa)],_0xae7fc4[_0x3ba11a(0xaa)]),'sparklines':new _0xe7bb3d[(_0x3ba11a(0x121))](_0x509e65[_0x3ba11a(0x10f)][_0x3ba11a(0x12f)]())};_0x534c21['setSparkline'](_0xd28330,_0x3f2269,[_0x407903],_0x20eadc);}}),!0x0;}},_0x1cd727={'id':_0x57b078(0xcf),'type':_0xe7bb3d[_0x57b078(0x74)]['COMMAND'],'handler':(_0x4a38ad,_0x56e492)=>{const _0x362aef=_0x57b078;var _0x1e7aca,_0x2f208d,_0x14dfb4,_0x48570c;if(!_0x56e492)return!0x1;const _0x1d614b=_0x4a38ad[_0x362aef(0xc8)](_0xe7bb3d['ICommandService']),_0x3afae8=_0x4a38ad['get'](_0x182a55[_0x362aef(0xa4)]),_0x582a3f=_0x4a38ad[_0x362aef(0xc8)](_0x28c8c4[_0x362aef(0xd8)]),_0x74ba77=_0x4a38ad['get'](_0xe7bb3d[_0x362aef(0x99)]),_0x43b25b=_0x4a38ad['get'](_0xe7bb3d[_0x362aef(0xca)]),_0x14416a=_0x182a55[_0x362aef(0x9a)](_0x74ba77);if(!_0x14416a)return!0x1;const {unitId:_0x29b77e,subUnitId:_0x188608}=_0x14416a,_0x4d3d05=(_0x1e7aca=_0x56e492==null?void 0x0:_0x56e492[_0x362aef(0x131)])!=null?_0x1e7aca:_0x3afae8['getCurrentSelections']()[_0x362aef(0xec)](_0x34970c=>_0x34970c[_0x362aef(0x86)]),_0xc6bbe1=(_0x2f208d=_0x582a3f[_0x362aef(0xc5)]()[_0x362aef(0x91)]['get'](_0x29b77e))==null?void 0x0:_0x2f208d['get'](_0x188608),{isChangeDataSource:_0x25c3f7,config:_0x5957c4,combine:_0x447df0,unCombine:_0x4479a3}=_0x56e492;if(_0x447df0){const _0x314bd3=[],_0x34d9e5=[];_0x314bd3['push']({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'ranges':_0x4d3d05,'isSingle':!0x0}});const _0x47e87e='g_'+_0xe7bb3d[_0x362aef(0x8e)](0x6),_0x5738cc=new _0xe7bb3d['ObjectMatrix'](),_0x560870=(_0x14dfb4=_0x582a3f[_0x362aef(0xc5)]()[_0x362aef(0x7f)][_0x362aef(0xc8)](_0x29b77e))==null?void 0x0:_0x14dfb4[_0x362aef(0xc8)](_0x188608),_0x5416ae=new Set([_0x47e87e]),_0x571beb={};return _0x4d3d05[_0x362aef(0x133)](_0x58aef3=>{const _0x451b75=_0x362aef;var _0x14a4de,_0x33ee02;const {startRow:_0x3d99a2,endRow:_0x1c958e,startColumn:_0xfb6606,endColumn:_0x20573e}=_0x58aef3;for(let _0x71d13=_0x3d99a2;_0x71d13<=_0x1c958e;_0x71d13++)for(let _0x48ed3f=_0xfb6606;_0x48ed3f<=_0x20573e;_0x48ed3f++){const _0x48eeb8=(_0x14a4de=_0xc6bbe1==null?void 0x0:_0xc6bbe1['matrix']['getValue'](_0x71d13,_0x48ed3f))==null?void 0x0:_0x14a4de['groupId'];if(_0x48eeb8){_0x5416ae[_0x451b75(0x81)](_0x48eeb8);const _0x1d34de=_0x582a3f[_0x451b75(0xfa)](_0x29b77e,_0x188608,_0x48eeb8);_0x1d34de&&(_0x571beb[_0x48eeb8]={'config':_0xe7bb3d['Tools']['deepClone'](_0x1d34de[_0x451b75(0xaa)]),'sparklines':_0xe7bb3d['Tools'][_0x451b75(0x110)](_0x1d34de[_0x451b75(0x10f)][_0x451b75(0x12f)]())});const _0x9ae082=(_0x33ee02=_0x560870==null?void 0x0:_0x560870[_0x451b75(0xc8)](_0x48eeb8))==null?void 0x0:_0x33ee02[_0x451b75(0x10f)][_0x451b75(0xfe)](_0x71d13,_0x48ed3f);_0x9ae082&&_0x5738cc['setValue'](_0x71d13,_0x48ed3f,_0x9ae082);}}}),_0x314bd3[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'sparklineConfigMap':{[_0x47e87e]:{'config':_0xe7bb3d[_0x362aef(0xf1)][_0x362aef(0x110)](_0x5957c4['config']),'sparklines':_0x5738cc[_0x362aef(0x151)]()}},'unitId':_0x29b77e,'subUnitId':_0x188608}}),_0x34d9e5[_0x362aef(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'isSingle':!0x1,'groupIds':Array['from'](_0x5416ae)}}),_0x34d9e5[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':_0x571beb}}),_0xe7bb3d['sequenceExecute'](_0x314bd3,_0x1d614b),_0x43b25b[_0x362aef(0x149)]({'unitID':_0x29b77e,'undoMutations':_0x34d9e5,'redoMutations':_0x314bd3}),!0x0;}else{if(_0x4479a3){const _0x3c0b99=[],_0x4a9c91=[];_0x3c0b99[_0x362aef(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'ranges':_0x4d3d05,'isSingle':!0x0}});const _0x49b0f1=(_0x48570c=_0x582a3f['getSparklineCache']()['sparklineModel'][_0x362aef(0xc8)](_0x29b77e))==null?void 0x0:_0x48570c[_0x362aef(0xc8)](_0x188608),_0xa5bccf={},_0xe2d6a4=new Set(),_0x582fc2={};return _0x4d3d05[_0x362aef(0x133)](_0x507764=>{const _0x34498d=_0x362aef;var _0x3ea564,_0x4fa9b6;const {startRow:_0xe6c75f,endRow:_0x465971,startColumn:_0x9bd8a5,endColumn:_0x3281b9}=_0x507764;for(let _0x883f=_0xe6c75f;_0x883f<=_0x465971;_0x883f++)for(let _0x2d32b3=_0x9bd8a5;_0x2d32b3<=_0x3281b9;_0x2d32b3++){const _0x40e281=(_0x3ea564=_0xc6bbe1==null?void 0x0:_0xc6bbe1[_0x34498d(0xf0)]['getValue'](_0x883f,_0x2d32b3))==null?void 0x0:_0x3ea564[_0x34498d(0xaf)];if(_0x40e281){const _0x14e6c8=new _0xe7bb3d[(_0x34498d(0x121))](),_0x372f81='g_'+_0xe7bb3d[_0x34498d(0x8e)](0x6);_0xe2d6a4[_0x34498d(0x81)](_0x40e281),_0xe2d6a4['add'](_0x372f81);const _0x4cceda=_0x582a3f[_0x34498d(0xfa)](_0x29b77e,_0x188608,_0x40e281);_0x4cceda&&(_0x582fc2[_0x40e281]={'config':_0xe7bb3d['Tools']['deepClone'](_0x4cceda[_0x34498d(0xaa)]),'sparklines':_0xe7bb3d[_0x34498d(0xf1)][_0x34498d(0x110)](_0x4cceda['sparklines'][_0x34498d(0x12f)]())});const _0x5cde90=(_0x4fa9b6=_0x49b0f1==null?void 0x0:_0x49b0f1[_0x34498d(0xc8)](_0x40e281))==null?void 0x0:_0x4fa9b6[_0x34498d(0x10f)][_0x34498d(0xfe)](_0x883f,_0x2d32b3);_0x5cde90&&_0x14e6c8['setValue'](_0x883f,_0x2d32b3,_0x5cde90),_0xa5bccf[_0x372f81]={'sparklines':_0x14e6c8[_0x34498d(0x151)](),'config':_0xe7bb3d[_0x34498d(0xf1)][_0x34498d(0x110)](_0x5957c4[_0x34498d(0xaa)])};}}}),_0x3c0b99[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':_0xa5bccf}}),_0x4a9c91['push']({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'isSingle':!0x1,'groupIds':Array[_0x362aef(0x12a)](_0xe2d6a4)}}),_0x4a9c91[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':_0x582fc2}}),_0xe7bb3d[_0x362aef(0x13a)](_0x3c0b99,_0x1d614b),_0x43b25b[_0x362aef(0x149)]({'unitID':_0x29b77e,'undoMutations':_0x4a9c91,'redoMutations':_0x3c0b99}),!0x0;}}if(_0x25c3f7){const _0x3db353=_0x56e492['changeDataSourceInfo'];if(!_0x3db353)return!0x1;const {groupId:_0x3737f7,sourceRanges:_0x4f97ac,targetRanges:_0x471f07,resetType:_0x5c5e22,primary:_0x2d9857}=_0x3db353,_0x42f82b=[],_0x19ca1d=[];_0x42f82b[_0x362aef(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'ranges':_0x4d3d05,'isSingle':!0x1,'groupIds':[_0x3737f7]}}),_0x19ca1d['push']({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'ranges':_0x4d3d05,'isSingle':!0x1,'groupIds':[_0x3737f7]}});let _0x354ef0;_0x5c5e22===_0x362aef(0x8a)?(_0x354ef0=new _0xe7bb3d[(_0x362aef(0x121))](_0x5957c4[_0x362aef(0x10f)][_0x362aef(0x12f)]()),_0x354ef0[_0x362aef(0x11b)](_0x2d9857[_0x362aef(0x118)],_0x2d9857[_0x362aef(0x165)]),_0x354ef0['setValue'](_0x471f07[0x0]['startRow'],_0x471f07[0x0][_0x362aef(0x166)],_0x4f97ac[0x0])):_0x354ef0=_0x3f2d15(_0x4f97ac,_0x471f07);const _0x131f99={'config':_0xe7bb3d['Tools']['deepClone'](_0x5957c4[_0x362aef(0xaa)]),'sparklines':_0x354ef0[_0x362aef(0x151)]()},_0x25d84b={'config':_0xe7bb3d['Tools'][_0x362aef(0x110)](_0x5957c4[_0x362aef(0xaa)]),'sparklines':_0xe7bb3d['Tools'][_0x362aef(0x110)](_0x5957c4[_0x362aef(0x10f)][_0x362aef(0x12f)]())};_0x42f82b[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':{[_0x3737f7]:_0x131f99}}}),_0x19ca1d[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':{[_0x3737f7]:_0x25d84b}}}),_0xe7bb3d['sequenceExecute'](_0x42f82b,_0x1d614b),_0x43b25b[_0x362aef(0x149)]({'unitID':_0x29b77e,'undoMutations':_0x19ca1d,'redoMutations':_0x42f82b});}else{const _0x1911e3=[],_0x3c912f=[],_0x43d167=new Set(),_0x22ba36={};_0x4d3d05[_0x362aef(0x133)](_0xce58d7=>{const _0x4c8c98=_0x362aef;var _0x251a0b;const {startRow:_0x41de75,endRow:_0x4343e7,startColumn:_0x22efc9,endColumn:_0x24958f}=_0xce58d7;for(let _0x56e444=_0x41de75;_0x56e444<=_0x4343e7;_0x56e444++)for(let _0x24d5f3=_0x22efc9;_0x24d5f3<=_0x24958f;_0x24d5f3++){const _0x15f403=(_0x251a0b=_0xc6bbe1==null?void 0x0:_0xc6bbe1['matrix'][_0x4c8c98(0xfe)](_0x56e444,_0x24d5f3))==null?void 0x0:_0x251a0b[_0x4c8c98(0xaf)];if(_0x15f403){_0x43d167[_0x4c8c98(0x81)](_0x15f403);const _0xfdd05e=_0x582a3f[_0x4c8c98(0xfa)](_0x29b77e,_0x188608,_0x15f403);_0xfdd05e&&(_0x22ba36[_0x15f403]={'config':_0xe7bb3d[_0x4c8c98(0xf1)]['deepClone'](_0xfdd05e[_0x4c8c98(0xaa)]),'sparklines':_0xe7bb3d[_0x4c8c98(0xf1)][_0x4c8c98(0x110)](_0xfdd05e['sparklines'][_0x4c8c98(0x12f)]())});}}}),_0x3c912f[_0x362aef(0xe9)]({'id':_0x2afa6d['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'groupIds':Array['from'](_0x43d167),'config':{'config':_0xe7bb3d['Tools'][_0x362aef(0x110)](_0x5957c4[_0x362aef(0xaa)]),'sparklines':_0x5957c4[_0x362aef(0x10f)][_0x362aef(0x151)]()}}}),_0x1911e3[_0x362aef(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'isSingle':!0x1,'groupIds':Array[_0x362aef(0x12a)](_0x43d167)}}),_0x1911e3[_0x362aef(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x29b77e,'subUnitId':_0x188608,'sparklineConfigMap':_0x22ba36}}),_0xe7bb3d[_0x362aef(0x13a)](_0x3c912f,_0x1d614b),_0x43b25b[_0x362aef(0x149)]({'unitID':_0x29b77e,'undoMutations':_0x1911e3,'redoMutations':_0x3c912f});}return!0x0;}};var _0x5b89e3=Object[_0x57b078(0xfd)],_0x3989fb=(_0x1467bf,_0x16c124,_0x47b524,_0x506d68)=>{const _0x3ad659=_0x57b078;for(var _0x130c13=_0x506d68>0x1?void 0x0:_0x506d68?_0x5b89e3(_0x16c124,_0x47b524):_0x16c124,_0x5bef9c=_0x1467bf[_0x3ad659(0x107)]-0x1,_0x1ebf87;_0x5bef9c>=0x0;_0x5bef9c--)(_0x1ebf87=_0x1467bf[_0x5bef9c])&&(_0x130c13=_0x1ebf87(_0x130c13)||_0x130c13);return _0x130c13;},_0x2b7d5e=(_0x5429a8,_0x5a87b0)=>(_0x42c061,_0x462987)=>_0x5a87b0(_0x42c061,_0x462987,_0x5429a8);let _0x29b578=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0xe167a8,_0x145981,_0x3935d4,_0x32756d){const _0x26221b=_0x57b078;super(),this[_0x26221b(0x169)]=_0xe167a8,this[_0x26221b(0xb9)]=_0x145981,this[_0x26221b(0xae)]=_0x3935d4,this[_0x26221b(0xbe)]=_0x32756d,this[_0x26221b(0xd5)]();}[_0x57b078(0xd5)](){const _0x118f6b=_0x57b078;this[_0x118f6b(0x154)](this[_0x118f6b(0xb9)]['interceptCommand']({'getMutations':_0x2bfe46=>{const _0x5bc828=_0x118f6b,_0x56bf60=[],_0x1e4eec=[];if(_0x2bfe46['id']===_0x182a55[_0x5bc828(0xa6)]['id']){const _0x111e05=_0x182a55[_0x5bc828(0x9a)](this[_0x5bc828(0xae)]);if(!_0x111e05)return{'redos':_0x56bf60,'undos':_0x1e4eec};const {unitId:_0xeb3faf,subUnitId:_0x80422b,worksheet:_0x178776}=_0x111e05,_0xf201ec=this['_sheetSelectionService'][_0x5bc828(0x153)]()[_0x5bc828(0xec)](_0x45aed2=>_0x45aed2[_0x5bc828(0x86)]),_0x238369=new Set(),_0x42ff0d={},_0x4d4a7f={};_0xf201ec['forEach'](_0x2d1ed5=>{const _0x2a6236=_0x5bc828;_0xe7bb3d[_0x2a6236(0x103)][_0x2a6236(0x152)](_0x2d1ed5,(_0x284434,_0x2318cc)=>{const _0x1a313a=_0x2a6236,_0x3bc372=this[_0x1a313a(0x169)]['getSparkline'](_0xeb3faf,_0x80422b,_0x284434,_0x2318cc);if(_0x3bc372&&!_0x238369[_0x1a313a(0x13d)](_0x3bc372)){const _0x475bda=this[_0x1a313a(0x169)]['getSparklineById'](_0xeb3faf,_0x80422b,_0x3bc372);_0x475bda&&(_0x238369[_0x1a313a(0x81)](_0x3bc372),_0x42ff0d[_0x3bc372]={'config':_0xe7bb3d[_0x1a313a(0xf1)][_0x1a313a(0x110)](_0x475bda[_0x1a313a(0xaa)]),'sparklines':_0xe7bb3d[_0x1a313a(0xf1)]['deepClone'](_0x475bda[_0x1a313a(0x10f)][_0x1a313a(0x12f)]())},_0x4d4a7f[_0x3bc372]={'config':_0xe7bb3d['Tools'][_0x1a313a(0x110)](_0x475bda[_0x1a313a(0xaa)]),'sparklines':_0xe7bb3d[_0x1a313a(0xf1)]['deepClone'](_0x475bda[_0x1a313a(0x10f)][_0x1a313a(0x12f)]())});}});}),Object['values'](_0x4d4a7f)['forEach'](_0x322a62=>{const _0x54a1af=_0x5bc828,_0x545940=_0x322a62[_0x54a1af(0x10f)];new _0xe7bb3d['ObjectMatrix'](_0x545940)[_0x54a1af(0x14a)]((_0x5f282f,_0x435801,_0x172f0f)=>{const _0x49cc7b=_0x54a1af;_0xf201ec[_0x49cc7b(0x70)](_0xda4afc=>_0xe7bb3d[_0x49cc7b(0xf7)]['intersects'](_0xda4afc,_0xe7bb3d[_0x49cc7b(0xf2)](_0x5f282f,_0x435801)))&&delete _0x545940[_0x5f282f][_0x435801];});}),_0x56bf60['push']({'id':_0x31a383['id'],'params':{'unitId':_0xeb3faf,'subUnitId':_0x80422b,'groupIds':Array['from'](_0x238369),'isSingle':!0x1}}),_0x56bf60[_0x5bc828(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0xeb3faf,'subUnitId':_0x80422b,'sparklineConfigMap':_0x4d4a7f}}),_0x1e4eec[_0x5bc828(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0xeb3faf,'subUnitId':_0x80422b,'groupIds':Array[_0x5bc828(0x12a)](_0x238369),'isSingle':!0x1}}),_0x1e4eec[_0x5bc828(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0xeb3faf,'subUnitId':_0x80422b,'sparklineConfigMap':_0x42ff0d}});}return{'redos':_0x56bf60,'undos':_0x1e4eec};}}));}};_0x29b578=_0x3989fb([_0x2b7d5e(0x0,_0xe7bb3d['Inject'](_0x28c8c4[_0x57b078(0xd8)])),_0x2b7d5e(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55['SheetInterceptorService'])),_0x2b7d5e(0x2,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d[_0x57b078(0x99)])),_0x2b7d5e(0x3,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55[_0x57b078(0xa4)]))],_0x29b578);var _0x30d777=Object['getOwnPropertyDescriptor'],_0x6af935=(_0x4c5740,_0x3afb72,_0x4972ab,_0x3524af)=>{const _0x215cc9=_0x57b078;for(var _0x5c2bc7=_0x3524af>0x1?void 0x0:_0x3524af?_0x30d777(_0x3afb72,_0x4972ab):_0x3afb72,_0x1d855c=_0x4c5740[_0x215cc9(0x107)]-0x1,_0x58f233;_0x1d855c>=0x0;_0x1d855c--)(_0x58f233=_0x4c5740[_0x1d855c])&&(_0x5c2bc7=_0x58f233(_0x5c2bc7)||_0x5c2bc7);return _0x5c2bc7;},_0x34ba05=(_0x46f1c1,_0x585de9)=>(_0x3892d1,_0x4d7d64)=>_0x585de9(_0x3892d1,_0x4d7d64,_0x46f1c1);let _0x2927b1=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0x5d8cc9,_0x3c6333,_0x37e65b){const _0x9e0dfe=_0x57b078;super(),this[_0x9e0dfe(0xd4)]=_0x5d8cc9,this[_0x9e0dfe(0x169)]=_0x3c6333,this[_0x9e0dfe(0x10b)]=_0x37e65b,this[_0x9e0dfe(0x16d)](),this[_0x9e0dfe(0xd7)]();}[_0x57b078(0x16d)](){const _0x2c3fcd=_0x57b078;this[_0x2c3fcd(0x154)](this[_0x2c3fcd(0xd4)]['onCommandExecuted'](_0x27736c=>{const _0x3fb4db=_0x2c3fcd;if(_0x27736c['id']===_0x182a55[_0x3fb4db(0xab)]['id']){const _0x48df6a=_0x27736c['params'],{cellValue:_0x248a62,unitId:_0x383b7c,subUnitId:_0x56a67a}=_0x48df6a,_0x5624d5=new _0xe7bb3d[(_0x3fb4db(0x121))](_0x248a62),_0x453e92=new Set(),_0x502bd0=this[_0x3fb4db(0x169)][_0x3fb4db(0x167)](_0x383b7c,_0x56a67a);if(!_0x502bd0)return;const _0x4ea60e=Array[_0x3fb4db(0x12a)](_0x502bd0);_0x5624d5[_0x3fb4db(0x14a)]((_0x56d752,_0x27bb27,_0x599258)=>{const _0x32a992=_0x3fb4db,_0x75fd29=_0xe7bb3d[_0x32a992(0xf2)](_0x56d752,_0x27bb27);for(let _0x1cd36d=0x0;_0x1cd36d<_0x4ea60e[_0x32a992(0x107)];_0x1cd36d++){const [_0x46ae56,_0x59f943]=_0x4ea60e[_0x1cd36d],_0x5b6bcc=_0x453e92['has'](_0x46ae56);_0x5b6bcc||_0x59f943[_0x32a992(0x10f)][_0x32a992(0x14a)]((_0x260c82,_0x3d3356,_0x228392)=>{const _0x248f6b=_0x32a992,_0x38441d=_0x228392;if(_0x38441d&&!_0x5b6bcc&&_0xe7bb3d['Rectangle']['intersects'](_0x75fd29,_0x38441d))return _0x453e92[_0x248f6b(0x81)](_0x46ae56),!0x0;});}}),_0x453e92[_0x3fb4db(0x133)](_0x3b2e41=>{const _0x5da1ea=_0x3fb4db;this[_0x5da1ea(0x169)][_0x5da1ea(0xb8)](_0x383b7c,_0x56a67a,_0x3b2e41),this[_0x5da1ea(0x169)]['updateSparklineExtraNum'](_0x383b7c,_0x56a67a,_0x3b2e41);});}else{if(_0x27736c['id']===_0x182a55['ReorderRangeMutation']['id']){const _0x5d5cb7=_0x27736c[_0x3fb4db(0x94)],{range:_0x585033,unitId:_0x53dd23,subUnitId:_0x1e5dbf}=_0x5d5cb7,_0x138901=new Set(),_0x3f6e46=this[_0x3fb4db(0x169)][_0x3fb4db(0x167)](_0x53dd23,_0x1e5dbf);if(!_0x3f6e46)return;const _0x4e4880=Array[_0x3fb4db(0x12a)](_0x3f6e46);for(let _0x2765e4=0x0;_0x2765e4<_0x4e4880[_0x3fb4db(0x107)];_0x2765e4++){const [_0x10de08,_0x469124]=_0x4e4880[_0x2765e4],_0x3c658b=_0x138901['has'](_0x10de08);_0x3c658b||_0x469124[_0x3fb4db(0x10f)][_0x3fb4db(0x14a)]((_0x4a15e7,_0x5096a3,_0xb9ed7f)=>{const _0x15c207=_0x3fb4db,_0x2e6900=_0xb9ed7f;if(_0x2e6900&&!_0x3c658b&&_0xe7bb3d[_0x15c207(0xf7)]['intersects'](_0x585033,_0x2e6900))return _0x138901['add'](_0x10de08),!0x0;});}_0x138901[_0x3fb4db(0x133)](_0x3afe25=>{const _0xf552ca=_0x3fb4db;this[_0xf552ca(0x169)][_0xf552ca(0xb8)](_0x53dd23,_0x1e5dbf,_0x3afe25),this[_0xf552ca(0x169)]['updateSparklineExtraNum'](_0x53dd23,_0x1e5dbf,_0x3afe25);});}}}));}['_initExclusiveRangeChange'](){const _0x138767=_0x57b078;this[_0x138767(0x154)](this[_0x138767(0x10b)][_0x138767(0xde)]['subscribe'](_0x53b287=>{const _0x161aeb=_0x138767,{unitId:_0x4ae85e,subUnitId:_0xdc6273,ranges:_0x45cd5f}=_0x53b287,_0x12852e=this['_sparklineDataSourceModel'][_0x161aeb(0x167)](_0x4ae85e,_0xdc6273);if(!_0x12852e)return;const _0x5c0d45=Array['from'](_0x12852e),_0x1786b9=new Set();for(let _0x4b7584=0x0;_0x4b7584<_0x5c0d45['length'];_0x4b7584++){const [_0x58c80b,_0x59a15b]=_0x5c0d45[_0x4b7584],_0x12eb38=_0x1786b9[_0x161aeb(0x13d)](_0x58c80b);_0x12eb38||_0x59a15b[_0x161aeb(0x10f)][_0x161aeb(0x14a)]((_0x5e065d,_0x3d8196,_0x3ca352)=>{const _0x55c7d5=_0x161aeb,_0x5c55bd=_0x3ca352;if(_0x5c55bd&&!_0x12eb38){for(const _0x3fb6f8 of _0x45cd5f)if(_0xe7bb3d[_0x55c7d5(0xf7)][_0x55c7d5(0xbd)](_0x3fb6f8,_0x5c55bd)){_0x1786b9['add'](_0x58c80b);break;}}});}_0x1786b9['forEach'](_0x1b668d=>{const _0x4a2741=_0x161aeb;this[_0x4a2741(0x169)][_0x4a2741(0xb8)](_0x4ae85e,_0xdc6273,_0x1b668d),this['_sparklineDataSourceModel'][_0x4a2741(0x117)](_0x4ae85e,_0xdc6273,_0x1b668d);});}));}};_0x2927b1=_0x6af935([_0x34ba05(0x0,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d[_0x57b078(0xdb)])),_0x34ba05(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)])),_0x34ba05(0x2,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55[_0x57b078(0x15c)]))],_0x2927b1);var _0x31df19=Object[_0x57b078(0xfd)],_0x48c71e=(_0x5c66be,_0x41ec7d,_0x18dcb7,_0x22a9c1)=>{const _0x5a53cd=_0x57b078;for(var _0xdc1916=_0x22a9c1>0x1?void 0x0:_0x22a9c1?_0x31df19(_0x41ec7d,_0x18dcb7):_0x41ec7d,_0x17b249=_0x5c66be[_0x5a53cd(0x107)]-0x1,_0x47ca54;_0x17b249>=0x0;_0x17b249--)(_0x47ca54=_0x5c66be[_0x17b249])&&(_0xdc1916=_0x47ca54(_0xdc1916)||_0xdc1916);return _0xdc1916;},_0x1c0031=(_0x4aed42,_0x4ae5de)=>(_0x1a0bad,_0x2173f9)=>_0x4ae5de(_0x1a0bad,_0x2173f9,_0x4aed42);let _0x66d2c5=class extends _0xe7bb3d['Disposable']{constructor(_0x301f84,_0x20c457){const _0x2f511e=_0x57b078;super(),this['_commandService']=_0x301f84,this[_0x2f511e(0x169)]=_0x20c457,this[_0x2f511e(0x13b)]();}[_0x57b078(0x13b)](){const _0x2368d6=_0x57b078;this['_commandService'][_0x2368d6(0xa3)](_0x238b87=>{const _0x216b78=_0x2368d6;if(_0x238b87['id']===_0x182a55['SetRowHiddenMutation']['id']||_0x238b87['id']===_0x182a55['SetColHiddenMutation']['id']||_0x238b87['id']===_0x182a55[_0x216b78(0xd3)]['id']||_0x238b87['id']===_0x182a55['SetColVisibleMutation']['id']){const _0x4d6431=_0x238b87[_0x216b78(0x94)],{ranges:_0x5c85c1,unitId:_0x5bad84,subUnitId:_0x1b7e25}=_0x4d6431,_0x2ef51e=new Set(),_0x300c48=this[_0x216b78(0x169)]['getSubUnitSparkline'](_0x5bad84,_0x1b7e25);if(!_0x300c48)return;const _0x444064=Array[_0x216b78(0x12a)](_0x300c48);_0x5c85c1['forEach'](_0x3f3aec=>{_0xe7bb3d['Range']['foreach'](_0x3f3aec,(_0x1d1d5b,_0x424801)=>{const _0x5d294c=_0x345a,_0x348ecb=_0xe7bb3d[_0x5d294c(0xf2)](_0x1d1d5b,_0x424801);for(let _0x1adbdb=0x0;_0x1adbdb<_0x444064['length'];_0x1adbdb++){const [_0x39fc69,_0x595684]=_0x444064[_0x1adbdb],_0xf1865c=_0x2ef51e['has'](_0x39fc69);_0xf1865c||_0x595684[_0x5d294c(0x10f)][_0x5d294c(0x14a)]((_0x2c6cf6,_0x37a223,_0x53e80f)=>{const _0x4c0af2=_0x5d294c,_0x82a636=_0x53e80f;if(_0x82a636&&!_0xf1865c&&_0xe7bb3d[_0x4c0af2(0xf7)][_0x4c0af2(0xbd)](_0x348ecb,_0x82a636))return _0x2ef51e[_0x4c0af2(0x81)](_0x39fc69),!0x0;});}});}),_0x2ef51e[_0x216b78(0x133)](_0x4b30f8=>{const _0x13c223=_0x216b78;this[_0x13c223(0x169)][_0x13c223(0xb8)](_0x5bad84,_0x1b7e25,_0x4b30f8),this[_0x13c223(0x169)][_0x13c223(0x117)](_0x5bad84,_0x1b7e25,_0x4b30f8);});}});}};_0x66d2c5=_0x48c71e([_0x1c0031(0x0,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d['ICommandService'])),_0x1c0031(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)]))],_0x66d2c5);var _0x3cdb2f=Object['getOwnPropertyDescriptor'],_0x28089d=(_0x3e7e46,_0x256609,_0x5ec27b,_0x1bfc93)=>{const _0x57226c=_0x57b078;for(var _0x464073=_0x1bfc93>0x1?void 0x0:_0x1bfc93?_0x3cdb2f(_0x256609,_0x5ec27b):_0x256609,_0x1a8f7a=_0x3e7e46[_0x57226c(0x107)]-0x1,_0x2135f0;_0x1a8f7a>=0x0;_0x1a8f7a--)(_0x2135f0=_0x3e7e46[_0x1a8f7a])&&(_0x464073=_0x2135f0(_0x464073)||_0x464073);return _0x464073;},_0x1a54dc=(_0x8d2bd,_0x1a78e2)=>(_0x464e89,_0x4e68b4)=>_0x1a78e2(_0x464e89,_0x4e68b4,_0x8d2bd);let _0x215faf=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0x3e3b33,_0x14512d,_0x4c27a4){const _0x10abd1=_0x57b078;super(),this[_0x10abd1(0xd4)]=_0x3e3b33,this[_0x10abd1(0xb9)]=_0x14512d,this[_0x10abd1(0x169)]=_0x4c27a4,this[_0x10abd1(0x129)]();}['_initMergeWithSparkline'](){const _0xc2aeeb=_0x57b078;this[_0xc2aeeb(0x154)](this[_0xc2aeeb(0xb9)]['interceptCommand']({'getMutations':_0x2dc2f0=>{const _0x11bc2b=_0xc2aeeb,_0x35e7b7=[],_0x5bad57=[];if(_0x2dc2f0['id']===_0x182a55[_0x11bc2b(0x144)]['id']){const _0x4def2e=_0x2dc2f0['params'];if(!_0x4def2e)return{'redos':_0x35e7b7,'undos':_0x5bad57};const {unitId:_0x5a0e03,subUnitId:_0x1e3370,ranges:_0x4248ec}=_0x4def2e,_0x5bd5d5=this[_0x11bc2b(0x169)][_0x11bc2b(0x167)](_0x5a0e03,_0x1e3370);if(!_0x5bd5d5)return{'redos':_0x35e7b7,'undos':_0x5bad57};const _0x22f728={},_0x12fdaf={},_0x4657c5=new Set();_0x4248ec['forEach'](_0x4f26ea=>{const _0x4c1026=_0x11bc2b,_0x528f4a=_0x4f26ea[_0x4c1026(0x7d)],_0x55d45f=_0x4f26ea[_0x4c1026(0x166)];_0xe7bb3d[_0x4c1026(0x103)]['foreach'](_0x4f26ea,(_0x26135e,_0x3507d4)=>{const _0x131b7e=_0x4c1026,_0x5b97db=this[_0x131b7e(0x169)][_0x131b7e(0xea)](_0x5a0e03,_0x1e3370,_0x26135e,_0x3507d4);if(_0x5b97db&&!(_0x26135e===_0x528f4a&&_0x3507d4===_0x55d45f)){const _0x378496=this[_0x131b7e(0x169)]['getSparklineById'](_0x5a0e03,_0x1e3370,_0x5b97db);if(_0x378496){_0x4657c5[_0x131b7e(0x81)](_0x5b97db);let _0x4600ca=_0x22f728[_0x5b97db];_0x4600ca||(_0x4600ca={'config':_0xe7bb3d[_0x131b7e(0xf1)][_0x131b7e(0x110)](_0x378496['config']),'sparklines':new _0xe7bb3d[(_0x131b7e(0x121))](_0x378496[_0x131b7e(0x10f)][_0x131b7e(0x12f)]())},_0x22f728[_0x5b97db]=_0x4600ca),_0x4600ca[_0x131b7e(0x10f)][_0x131b7e(0x11b)](_0x26135e,_0x3507d4),_0x12fdaf[_0x5b97db]={'config':_0xe7bb3d[_0x131b7e(0xf1)]['deepClone'](_0x378496[_0x131b7e(0xaa)]),'sparklines':_0xe7bb3d[_0x131b7e(0xf1)][_0x131b7e(0x110)](_0x378496[_0x131b7e(0x10f)][_0x131b7e(0x12f)]())};}}});});for(const [_0x540630,_0x208748]of _0x5bd5d5){const _0x31e562=_0x208748[_0x11bc2b(0x10f)];_0x31e562['forValue']((_0x3c3f07,_0x4ba2ec,_0x13e344)=>{const _0x52e768=_0x11bc2b;for(let _0x4afe78=0x0;_0x4afe78<_0x4248ec['length'];_0x4afe78++){const _0x38c71b=_0x4248ec[_0x4afe78];if(_0xe7bb3d['Rectangle']['contains'](_0x38c71b,_0x13e344)){_0x4657c5['add'](_0x540630);let _0x3bb75c=_0x22f728[_0x540630];_0x3bb75c||(_0x3bb75c={'config':_0xe7bb3d[_0x52e768(0xf1)][_0x52e768(0x110)](_0x208748[_0x52e768(0xaa)]),'sparklines':new _0xe7bb3d[(_0x52e768(0x121))](_0x31e562[_0x52e768(0x12f)]())},_0x22f728[_0x540630]=_0x3bb75c),_0x3bb75c[_0x52e768(0x10f)][_0x52e768(0x11b)](_0x3c3f07,_0x4ba2ec),_0x12fdaf[_0x540630]||(_0x12fdaf[_0x540630]={'config':_0xe7bb3d['Tools'][_0x52e768(0x110)](_0x208748[_0x52e768(0xaa)]),'sparklines':_0xe7bb3d[_0x52e768(0xf1)][_0x52e768(0x110)](_0x31e562['clone']())});}}});}const _0x3b27bf={};Object[_0x11bc2b(0x135)](_0x22f728)[_0x11bc2b(0x133)](([_0x310d6e,_0x33a1ce])=>{const _0x3830a9=_0x11bc2b;_0x33a1ce[_0x3830a9(0x10f)]['getSizeOf']()&&(_0x3b27bf[_0x310d6e]={'config':_0x33a1ce[_0x3830a9(0xaa)],'sparklines':_0x33a1ce['sparklines'][_0x3830a9(0x12f)]()});}),_0x4657c5[_0x11bc2b(0xcc)]&&(_0x35e7b7[_0x11bc2b(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x5a0e03,'subUnitId':_0x1e3370,'groupIds':Array[_0x11bc2b(0x12a)](_0x4657c5),'isSingle':!0x1}}),_0x5bad57[_0x11bc2b(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x5a0e03,'subUnitId':_0x1e3370,'groupIds':Array[_0x11bc2b(0x12a)](_0x4657c5),'isSingle':!0x1}}),_0x35e7b7[_0x11bc2b(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x5a0e03,'subUnitId':_0x1e3370,'sparklineConfigMap':_0x3b27bf}}),_0x5bad57[_0x11bc2b(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x5a0e03,'subUnitId':_0x1e3370,'sparklineConfigMap':_0x12fdaf}}));}return{'redos':_0x35e7b7,'undos':_0x5bad57};}}));}};_0x215faf=_0x28089d([_0x1a54dc(0x0,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d[_0x57b078(0xdb)])),_0x1a54dc(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55['SheetInterceptorService'])),_0x1a54dc(0x2,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)]))],_0x215faf);var _0x944c23=Object[_0x57b078(0xfd)],_0x595626=(_0x55e44c,_0x3088c0,_0x5ab657,_0x2a0f8e)=>{for(var _0x8b0a55=_0x2a0f8e>0x1?void 0x0:_0x2a0f8e?_0x944c23(_0x3088c0,_0x5ab657):_0x3088c0,_0x480c94=_0x55e44c['length']-0x1,_0x1a05d5;_0x480c94>=0x0;_0x480c94--)(_0x1a05d5=_0x55e44c[_0x480c94])&&(_0x8b0a55=_0x1a05d5(_0x8b0a55)||_0x8b0a55);return _0x8b0a55;},_0x219b2e=(_0x3e41ca,_0x6e0642)=>(_0x385828,_0x234c5b)=>_0x6e0642(_0x385828,_0x234c5b,_0x3e41ca);let _0x30a6b7=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0xc49d20,_0x2b206e,_0x4c034e,_0x506c1e){const _0x43de5c=_0x57b078;super(),_0x2f9861(this,_0x43de5c(0xa9),new _0xe7bb3d[(_0x43de5c(0xd1))]()),(this['_commandService']=_0xc49d20,this[_0x43de5c(0x7e)]=_0x2b206e,this[_0x43de5c(0xae)]=_0x4c034e,this[_0x43de5c(0x169)]=_0x506c1e,this[_0x43de5c(0x80)](),this[_0x43de5c(0x115)]());}['_onRefRangeChange'](){const _0x20ba6f=_0x57b078,_0x132e4e=(_0x2f195e,_0x4ae80c)=>{const _0x4c613f=_0x345a,_0x52a0e2=this[_0x4c613f(0xae)]['getCurrentUnitForType'](_0xe7bb3d[_0x4c613f(0x157)]['UNIVER_SHEET']);if(!_0x52a0e2||!(_0x52a0e2==null?void 0x0:_0x52a0e2[_0x4c613f(0x148)](_0x4ae80c)))return;this['disposableCollection'][_0x4c613f(0x145)]();const _0x34aecc=_0x5a1593=>this[_0x4c613f(0xa2)](_0x5a1593,_0x2f195e,_0x4ae80c),_0xe6647a=[],_0x596d6c=this[_0x4c613f(0x169)][_0x4c613f(0x167)](_0x2f195e,_0x4ae80c);if(_0x596d6c){for(const [_0x5d92be,_0x282e8a]of _0x596d6c)_0x282e8a['sparklines']['forValue']((_0x590d02,_0xfb6fc6,_0x38b3fd)=>{const _0x4e354c=_0xe7bb3d['cellToRange'](_0x590d02,_0xfb6fc6);_0xe6647a['push'](_0x4e354c);});_0xe6647a['forEach'](_0x6b2855=>{this['disposableCollection']['add'](this['_refRangeService']['registerRefRange'](_0x6b2855,_0x34aecc,_0x2f195e,_0x4ae80c));});}};this[_0x20ba6f(0x154)](this[_0x20ba6f(0xd4)][_0x20ba6f(0xa3)](_0xe1f470=>{const _0x42861b=_0x20ba6f;if(_0xe1f470['id']===_0x182a55[_0x42861b(0x87)]['id']){const _0x267d61=_0xe1f470[_0x42861b(0x94)],_0x5cf397=_0x267d61[_0x42861b(0xb7)],_0x199a4a=_0x267d61[_0x42861b(0x111)];if(!_0x5cf397||!_0x199a4a)return;_0x132e4e(_0x199a4a,_0x5cf397);}if(_0xe1f470['id']===_0x2afa6d['id']||_0xe1f470['id']===_0x172026['id']){const _0x2465e5=_0xe1f470[_0x42861b(0x94)],_0x3e3022=_0x2465e5[_0x42861b(0xb7)],_0x115f5c=_0x2465e5[_0x42861b(0x111)];if(!_0x3e3022||!_0x115f5c)return;_0x132e4e(_0x115f5c,_0x3e3022);}}));}[_0x57b078(0xa2)](_0xb97d7,_0x420ec0,_0x5235c7){const _0x1580f9=_0x57b078;switch(_0xb97d7['id']){case _0x182a55[_0x1580f9(0xf3)]['id']:return this[_0x1580f9(0x10a)](_0xb97d7[_0x1580f9(0x94)],_0x420ec0,_0x5235c7);case _0x182a55[_0x1580f9(0xc6)]['id']:return this[_0x1580f9(0xd9)](_0xb97d7[_0x1580f9(0x94)],_0x420ec0,_0x5235c7);}return{'redos':[],'undos':[]};}[_0x57b078(0xd9)](_0x39b713,_0x156a04,_0x10ceea){const _0x4c5194=_0x57b078;var _0x4a2d61,_0x26473e;const {range:_0x943969}=_0x39b713,_0x4c3527=new Set(),_0x36f636={},_0x2f0cd3={},_0x21234a=[],_0x4dea17=[],_0x4800c2=[],_0x421176=[];if(!_0x182a55[_0x4c5194(0x9a)](this['_univerInstanceService'],{'unitId':_0x156a04,'subUnitId':_0x10ceea}))return{'redos':_0x4dea17,'undos':_0x21234a};const _0x53a5f3=this[_0x4c5194(0x169)][_0x4c5194(0x167)](_0x156a04,_0x10ceea);if(!_0x53a5f3)return{'redos':_0x4dea17,'undos':_0x21234a};if(!((_0x26473e=(_0x4a2d61=this[_0x4c5194(0x169)][_0x4c5194(0xc5)]()[_0x4c5194(0x91)]['get'](_0x156a04))==null?void 0x0:_0x4a2d61[_0x4c5194(0xc8)](_0x10ceea))==null?void 0x0:_0x26473e[_0x4c5194(0xf0)]))return{'redos':_0x4dea17,'undos':_0x21234a};for(const [_0x757a19,_0x3573bc]of _0x53a5f3){const _0xa24fc4=_0x3573bc[_0x4c5194(0x10f)];_0xa24fc4[_0x4c5194(0x14a)]((_0x383c20,_0x912251,_0x3bc1ce)=>{const _0x104a75=_0x4c5194;if(_0xe7bb3d[_0x104a75(0xf7)][_0x104a75(0xbd)](_0x943969,_0x3bc1ce)){_0x4c3527['add'](_0x757a19);let _0x508c83=_0x2f0cd3[_0x757a19];_0x508c83||(_0x508c83={'config':_0x3573bc[_0x104a75(0xaa)],'sparklines':_0x3573bc[_0x104a75(0x10f)][_0x104a75(0x12f)]()},_0x2f0cd3[_0x757a19]=_0x508c83);let _0x5c650a=_0x36f636[_0x757a19];_0x5c650a||(_0x5c650a={'config':_0x3573bc[_0x104a75(0xaa)],'sparklines':new _0xe7bb3d[(_0x104a75(0x121))](_0x3573bc['sparklines'][_0x104a75(0x12f)]())},_0x36f636[_0x757a19]=_0x5c650a);const _0x22df48=_0x182a55[_0x104a75(0xc2)](_0x3bc1ce,{'id':_0x182a55['RemoveRowMutation']['id'],'params':_0x39b713});_0x22df48?_0x5c650a['sparklines']['setValue'](_0x383c20,_0x912251,_0x22df48):_0x5c650a[_0x104a75(0x10f)][_0x104a75(0x15a)](_0x383c20,_0x912251,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x104a75(0xe2)][_0x104a75(0x16b)]});}}),_0xa24fc4['forValue']((_0x2e2550,_0x3fa9dd,_0x2670b0)=>{const _0xe95f35=_0x4c5194;if(_0x2e2550<=_0x943969[_0xe95f35(0x134)]&&_0x2e2550>=_0x943969[_0xe95f35(0x7d)]){_0x4c3527[_0xe95f35(0x81)](_0x757a19);let _0xa40233=_0x2f0cd3[_0x757a19];_0xa40233||(_0xa40233={'config':_0x3573bc[_0xe95f35(0xaa)],'sparklines':_0x3573bc[_0xe95f35(0x10f)]['clone']()},_0x2f0cd3[_0x757a19]=_0xa40233);let _0xd0485b=_0x36f636[_0x757a19];_0xd0485b||(_0xd0485b={'config':_0x3573bc[_0xe95f35(0xaa)],'sparklines':new _0xe7bb3d['ObjectMatrix'](_0x3573bc[_0xe95f35(0x10f)][_0xe95f35(0x12f)]())},_0x36f636[_0x757a19]=_0xd0485b);}});}_0x421176[_0x4c5194(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x156a04,'subUnitId':_0x10ceea,'groupIds':Array[_0x4c5194(0x12a)](_0x4c3527),'isSingle':!0x1}}),_0x4800c2[_0x4c5194(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x156a04,'subUnitId':_0x10ceea,'groupIds':Array[_0x4c5194(0x12a)](_0x4c3527),'isSingle':!0x1}});const _0x12eed5={};let _0x399d7c=!0x1;return Object[_0x4c5194(0x135)](_0x36f636)['forEach'](([_0x4305d7,_0xcd8d96])=>{const _0x107b64=_0x4c5194;_0xcd8d96[_0x107b64(0x10f)][_0x107b64(0x11f)]()&&(_0x399d7c=!0x0,_0xcd8d96[_0x107b64(0x10f)][_0x107b64(0xb3)](_0x943969['startRow'],_0x943969[_0x107b64(0x134)]-_0x943969[_0x107b64(0x7d)]+0x1),_0x12eed5[_0x4305d7]={'config':_0xcd8d96[_0x107b64(0xaa)],'sparklines':_0xcd8d96['sparklines'][_0x107b64(0x12f)]()});}),_0x399d7c&&_0x4dea17[_0x4c5194(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x156a04,'subUnitId':_0x10ceea,'sparklineConfigMap':_0x12eed5}}),_0x21234a[_0x4c5194(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x156a04,'subUnitId':_0x10ceea,'sparklineConfigMap':_0x2f0cd3}}),{'redos':_0x4dea17,'undos':_0x21234a,'preRedos':_0x4800c2,'preUndos':_0x421176};}[_0x57b078(0x10a)](_0xd41c92,_0x392be9,_0x67e60b){const _0x422ae5=_0x57b078;var _0x236b83,_0x18a9be;const {range:_0x294597}=_0xd41c92,_0x4fcf20=new Set(),_0xea35fc={},_0x2863e9={},_0xa39d7b=[],_0x3943f1=[],_0x499656=[],_0x194dab=[];if(!_0x182a55[_0x422ae5(0x9a)](this[_0x422ae5(0xae)],{'unitId':_0x392be9,'subUnitId':_0x67e60b}))return{'redos':_0x3943f1,'undos':_0xa39d7b};const _0x56fe6d=this[_0x422ae5(0x169)]['getSubUnitSparkline'](_0x392be9,_0x67e60b);if(!_0x56fe6d)return{'redos':_0x3943f1,'undos':_0xa39d7b};if(!((_0x18a9be=(_0x236b83=this[_0x422ae5(0x169)][_0x422ae5(0xc5)]()[_0x422ae5(0x91)][_0x422ae5(0xc8)](_0x392be9))==null?void 0x0:_0x236b83[_0x422ae5(0xc8)](_0x67e60b))==null?void 0x0:_0x18a9be[_0x422ae5(0xf0)]))return{'redos':_0x3943f1,'undos':_0xa39d7b};for(const [_0x2ca7ba,_0xd58082]of _0x56fe6d){const _0x18d5e5=_0xd58082[_0x422ae5(0x10f)];_0x18d5e5[_0x422ae5(0x14a)]((_0xee4895,_0x59c457,_0x541c3a)=>{const _0x23467b=_0x422ae5;if(_0xe7bb3d[_0x23467b(0xf7)]['intersects'](_0x294597,_0x541c3a)){_0x4fcf20[_0x23467b(0x81)](_0x2ca7ba);let _0x4d5ccb=_0x2863e9[_0x2ca7ba];_0x4d5ccb||(_0x4d5ccb={'config':_0xd58082[_0x23467b(0xaa)],'sparklines':_0xd58082[_0x23467b(0x10f)][_0x23467b(0x12f)]()},_0x2863e9[_0x2ca7ba]=_0x4d5ccb);let _0x273abf=_0xea35fc[_0x2ca7ba];_0x273abf||(_0x273abf={'config':_0xd58082[_0x23467b(0xaa)],'sparklines':new _0xe7bb3d[(_0x23467b(0x121))](_0xd58082['sparklines'][_0x23467b(0x12f)]())},_0xea35fc[_0x2ca7ba]=_0x273abf);const _0x35bcd8=_0x182a55[_0x23467b(0xc2)](_0x541c3a,{'id':_0x182a55[_0x23467b(0x150)]['id'],'params':_0xd41c92});_0x35bcd8?_0x273abf[_0x23467b(0x10f)][_0x23467b(0x15a)](_0xee4895,_0x59c457,_0x35bcd8):_0x273abf['sparklines'][_0x23467b(0x15a)](_0xee4895,_0x59c457,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x23467b(0xe2)][_0x23467b(0x16b)]});}}),_0x18d5e5[_0x422ae5(0x14a)]((_0x34b58d,_0x3140d9,_0x502317)=>{const _0x412bd5=_0x422ae5;if(_0x3140d9<=_0x294597[_0x412bd5(0xe1)]&&_0x3140d9>=_0x294597[_0x412bd5(0x166)]){_0x4fcf20[_0x412bd5(0x81)](_0x2ca7ba);let _0x1be8da=_0x2863e9[_0x2ca7ba];_0x1be8da||(_0x1be8da={'config':_0xd58082['config'],'sparklines':_0xd58082[_0x412bd5(0x10f)][_0x412bd5(0x12f)]()},_0x2863e9[_0x2ca7ba]=_0x1be8da);let _0x5aee98=_0xea35fc[_0x2ca7ba];_0x5aee98||(_0x5aee98={'config':_0xd58082[_0x412bd5(0xaa)],'sparklines':new _0xe7bb3d[(_0x412bd5(0x121))](_0xd58082[_0x412bd5(0x10f)][_0x412bd5(0x12f)]())},_0xea35fc[_0x2ca7ba]=_0x5aee98);}});}_0x194dab[_0x422ae5(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x392be9,'subUnitId':_0x67e60b,'groupIds':Array[_0x422ae5(0x12a)](_0x4fcf20),'isSingle':!0x1}}),_0x499656[_0x422ae5(0xe9)]({'id':_0x31a383['id'],'params':{'unitId':_0x392be9,'subUnitId':_0x67e60b,'groupIds':Array[_0x422ae5(0x12a)](_0x4fcf20),'isSingle':!0x1}});const _0x29e24b={};let _0xebcd8b=!0x1;return Object['entries'](_0xea35fc)['forEach'](([_0x57fa11,_0x2304ea])=>{const _0x5915e8=_0x422ae5;_0x2304ea['sparklines'][_0x5915e8(0x11f)]()&&(_0xebcd8b=!0x0,_0x2304ea[_0x5915e8(0x10f)][_0x5915e8(0xf5)](_0x294597[_0x5915e8(0x166)],_0x294597['endColumn']-_0x294597[_0x5915e8(0x166)]+0x1),_0x29e24b[_0x57fa11]={'config':_0x2304ea[_0x5915e8(0xaa)],'sparklines':_0x2304ea[_0x5915e8(0x10f)][_0x5915e8(0x12f)]()});}),_0xebcd8b&&_0x3943f1[_0x422ae5(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x392be9,'subUnitId':_0x67e60b,'sparklineConfigMap':_0x29e24b}}),_0xa39d7b[_0x422ae5(0xe9)]({'id':_0x172026['id'],'params':{'unitId':_0x392be9,'subUnitId':_0x67e60b,'sparklineConfigMap':_0x2863e9}}),{'redos':_0x3943f1,'undos':_0xa39d7b,'preRedos':_0x499656,'preUndos':_0x194dab};}[_0x57b078(0x115)](){const _0x59c23a=_0x57b078;this[_0x59c23a(0x154)](this[_0x59c23a(0xd4)][_0x59c23a(0xa3)](_0x291999=>{const _0x2c1f5f=_0x59c23a;if(_0x291999['id']===_0x182a55[_0x2c1f5f(0x102)]['id']){const _0x42d101=_0x291999['params'],{unitId:_0x30ab54,subUnitId:_0x3c1a53,range:_0x4ac75f}=_0x42d101,_0x2e5289=_0x4ac75f[_0x2c1f5f(0x166)],_0x8ce236=_0x4ac75f['endColumn']-_0x4ac75f[_0x2c1f5f(0x166)]+0x1,_0x321bd7=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x30ab54,_0x3c1a53);if(!_0x321bd7)return;for(const [_0x7a593d,_0x3162c1]of _0x321bd7){this[_0x2c1f5f(0x169)][_0x2c1f5f(0xb8)](_0x30ab54,_0x3c1a53,_0x7a593d);const _0x4c1d35=_0x3162c1[_0x2c1f5f(0x10f)];_0x4c1d35['forValue']((_0xc8197e,_0x4374df,_0x27e3e3)=>{const _0x3850b8=_0x2c1f5f,_0x197a88={..._0x27e3e3};_0x2e5289<=_0x197a88[_0x3850b8(0x166)]?(_0x197a88[_0x3850b8(0x166)]+=_0x8ce236,_0x197a88[_0x3850b8(0xe1)]+=_0x8ce236):_0x2e5289>_0x197a88[_0x3850b8(0xe1)]||(_0x197a88[_0x3850b8(0xe1)]+=_0x8ce236),_0x4c1d35[_0x3850b8(0x15a)](_0xc8197e,_0x4374df,_0x197a88);});const _0x6402fa=_0x4c1d35[_0x2c1f5f(0x151)]();for(const _0x56f8c6 in _0x6402fa){const _0x37eef1=_0x6402fa[Number(_0x56f8c6)];if(!_0x37eef1)continue;const _0xe0babd=Object[_0x2c1f5f(0xb1)](_0x37eef1)[_0x2c1f5f(0xec)](Number),_0x4eec1d=Math[_0x2c1f5f(0x92)](..._0xe0babd);for(let _0x132d41=_0x4eec1d;_0x132d41>=_0x2e5289;_0x132d41--)_0x132d41>=_0x2e5289&&_0x37eef1[_0x132d41]&&(_0x37eef1[_0x132d41+_0x8ce236]=_0x37eef1[_0x132d41],delete _0x37eef1[_0x132d41]);}this[_0x2c1f5f(0x169)][_0x2c1f5f(0x117)](_0x30ab54,_0x3c1a53,_0x7a593d);}}else{if(_0x291999['id']===_0x182a55[_0x2c1f5f(0x104)]['id']){const _0x2d7571=_0x291999[_0x2c1f5f(0x94)],{unitId:_0x4d3242,subUnitId:_0x5c162b,range:_0x2cb263}=_0x2d7571,_0x37bfef=_0x2cb263[_0x2c1f5f(0x7d)],_0x5e0cc6=_0x2cb263[_0x2c1f5f(0x134)]-_0x2cb263[_0x2c1f5f(0x7d)]+0x1,_0x24cf49=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x4d3242,_0x5c162b);if(!_0x24cf49)return;for(const [_0x48f4bf,_0x25bbdb]of _0x24cf49){this['_sparklineDataSourceModel'][_0x2c1f5f(0xb8)](_0x4d3242,_0x5c162b,_0x48f4bf);const _0x459f24=_0x25bbdb['sparklines'];_0x459f24['forValue']((_0x4e51fa,_0x286aa7,_0x351117)=>{const _0x25dda5=_0x2c1f5f,_0x5cbd0c={..._0x351117};_0x37bfef<=_0x5cbd0c['startRow']?(_0x5cbd0c[_0x25dda5(0x7d)]+=_0x5e0cc6,_0x5cbd0c[_0x25dda5(0x134)]+=_0x5e0cc6):_0x37bfef>_0x5cbd0c['endRow']||(_0x5cbd0c[_0x25dda5(0x134)]+=_0x5e0cc6),_0x459f24[_0x25dda5(0x15a)](_0x4e51fa,_0x286aa7,_0x5cbd0c);});const _0x4d8621=_0x459f24[_0x2c1f5f(0x151)](),_0x3e93f0=Object[_0x2c1f5f(0xb1)](_0x4d8621)[_0x2c1f5f(0xec)](Number),_0x46fe58=Math['max'](..._0x3e93f0);for(let _0x1c4573=_0x46fe58;_0x1c4573>=_0x37bfef;_0x1c4573--)_0x1c4573>=_0x37bfef&&_0x4d8621[_0x1c4573]&&(_0x4d8621[_0x1c4573+_0x5e0cc6]=_0x4d8621[_0x1c4573],delete _0x4d8621[_0x1c4573]);this[_0x2c1f5f(0x169)][_0x2c1f5f(0x117)](_0x4d3242,_0x5c162b,_0x48f4bf);}}else{if(_0x291999['id']===_0x182a55[_0x2c1f5f(0x150)]['id']){const _0x48fd91=_0x291999[_0x2c1f5f(0x94)],{range:_0x4f14e6,unitId:_0x49d72b,subUnitId:_0x1ac9b5}=_0x48fd91,_0xf14a6d=this[_0x2c1f5f(0x169)]['getSubUnitSparkline'](_0x49d72b,_0x1ac9b5);if(!_0xf14a6d)return;for(const [_0x3c3b58,_0x1ee946]of _0xf14a6d){const _0x14406f=_0x1ee946[_0x2c1f5f(0x10f)];_0x14406f['forValue']((_0x4b836a,_0x533150,_0x410d96)=>{const _0x392a7f=_0x2c1f5f,_0x19c3ed=_0x182a55['adjustRangeOnMutation'](_0x410d96,_0x291999);_0x19c3ed?_0x14406f[_0x392a7f(0x15a)](_0x4b836a,_0x533150,_0x19c3ed):_0x14406f[_0x392a7f(0x15a)](_0x4b836a,_0x533150,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x392a7f(0xe2)]['NORMAL']});}),_0x14406f[_0x2c1f5f(0xf5)](_0x4f14e6[_0x2c1f5f(0x166)],_0x4f14e6[_0x2c1f5f(0xe1)]-_0x4f14e6[_0x2c1f5f(0x166)]+0x1);}this[_0x2c1f5f(0x169)]['reBuildAnchorCache'](_0x49d72b,_0x1ac9b5);}else{if(_0x291999['id']===_0x182a55[_0x2c1f5f(0xdd)]['id']){const _0x4461fb=_0x291999[_0x2c1f5f(0x94)],{range:_0x4e37d9,unitId:_0x2d3a2e,subUnitId:_0x5a3b6a}=_0x4461fb,_0x9ab7b3=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x2d3a2e,_0x5a3b6a);if(!_0x9ab7b3)return;for(const [_0x34530,_0x2480cd]of _0x9ab7b3){const _0x107c69=_0x2480cd[_0x2c1f5f(0x10f)];_0x107c69['forValue']((_0x5136d7,_0x3f5604,_0x46e6c1)=>{const _0x56eb61=_0x2c1f5f,_0x26f0b5=_0x182a55[_0x56eb61(0xc2)](_0x46e6c1,_0x291999);_0x26f0b5?_0x107c69['setValue'](_0x5136d7,_0x3f5604,_0x26f0b5):_0x107c69['setValue'](_0x5136d7,_0x3f5604,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x56eb61(0xe2)][_0x56eb61(0x16b)]});}),_0x107c69['removeRows'](_0x4e37d9['startRow'],_0x4e37d9[_0x2c1f5f(0x134)]-_0x4e37d9['startRow']+0x1);}this[_0x2c1f5f(0x169)]['reBuildAnchorCache'](_0x2d3a2e,_0x5a3b6a);}else{if(_0x291999['id']===_0x182a55[_0x2c1f5f(0x8d)]['id']){const _0x3b7a71=_0x291999['params'],{unitId:_0x1ff612,subUnitId:_0x4d28de,sourceRange:_0x39e232,targetRange:_0x47d90a}=_0x3b7a71,_0x48cf5b=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x1ff612,_0x4d28de);if(!_0x48cf5b)return;for(const [_0x3875b3,_0xaf0aa6]of _0x48cf5b){const _0x2a5401=_0xaf0aa6[_0x2c1f5f(0x10f)];_0x2a5401['forValue']((_0x42fa45,_0x2119ca,_0x56848f)=>{const _0x4a2a79=_0x2c1f5f,_0x598f2b=_0x182a55[_0x4a2a79(0xc2)](_0x56848f,_0x291999);_0x598f2b?_0x2a5401['setValue'](_0x42fa45,_0x2119ca,_0x598f2b):_0x2a5401[_0x4a2a79(0x15a)](_0x42fa45,_0x2119ca,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x4a2a79(0xe2)][_0x4a2a79(0x16b)]});}),_0x2a5401[_0x2c1f5f(0xd6)](_0x39e232[_0x2c1f5f(0x166)],_0x39e232[_0x2c1f5f(0xe1)]-_0x39e232[_0x2c1f5f(0x166)]+0x1,_0x47d90a[_0x2c1f5f(0x166)]);}this[_0x2c1f5f(0x169)][_0x2c1f5f(0x14f)](_0x1ff612,_0x4d28de);}else{if(_0x291999['id']===_0x182a55['MoveRowsMutation']['id']){const _0x74396c=_0x291999['params'],{unitId:_0x7db03e,subUnitId:_0x239b88,sourceRange:_0x1d42e0,targetRange:_0x3bc438}=_0x74396c,_0x2e248c=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x7db03e,_0x239b88);if(!_0x2e248c)return;for(const [_0x36f742,_0x1fdfff]of _0x2e248c){const _0x4f9669=_0x1fdfff[_0x2c1f5f(0x10f)];_0x4f9669['forValue']((_0x2340e9,_0x2e92c3,_0x5a53e0)=>{const _0x15f462=_0x2c1f5f,_0x11c6f8=_0x182a55['adjustRangeOnMutation'](_0x5a53e0,_0x291999);_0x11c6f8?_0x4f9669[_0x15f462(0x15a)](_0x2340e9,_0x2e92c3,_0x11c6f8):_0x4f9669[_0x15f462(0x15a)](_0x2340e9,_0x2e92c3,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xe7bb3d[_0x15f462(0xe2)][_0x15f462(0x16b)]});}),_0x4f9669['moveRows'](_0x1d42e0[_0x2c1f5f(0x7d)],_0x1d42e0[_0x2c1f5f(0x134)]-_0x1d42e0[_0x2c1f5f(0x7d)]+0x1,_0x3bc438[_0x2c1f5f(0x7d)]);}this[_0x2c1f5f(0x169)][_0x2c1f5f(0x14f)](_0x7db03e,_0x239b88);}else{if(_0x291999['id']===_0x182a55[_0x2c1f5f(0xf4)]['id']){const _0x33201b=_0x291999[_0x2c1f5f(0x94)],{fromRange:_0x23db85,toRange:_0x5aceb2,unitId:_0x51b896,from:_0x2a4cdd,to:_0x1a0a88}=_0x33201b;if(_0x2a4cdd[_0x2c1f5f(0xb7)]!==_0x1a0a88['subUnitId'])return;const _0x553cc9=_0x2a4cdd[_0x2c1f5f(0xb7)],{startRow:_0x5743c7,endRow:_0x39a4c2,startColumn:_0x5ccbed,endColumn:_0x12d7bf}=_0x23db85,{startRow:_0x2187ef,startColumn:_0x34bb26}=_0x5aceb2,_0x97d60f=_0x2187ef-_0x5743c7,_0x1f0b27=_0x34bb26-_0x5ccbed,_0x1a3b52=this[_0x2c1f5f(0x169)][_0x2c1f5f(0x167)](_0x51b896,_0x553cc9);if(!(_0x1a3b52!=null&&_0x1a3b52[_0x2c1f5f(0xcc)]))return;for(let _0x26ab19=_0x5743c7;_0x26ab19<=_0x39a4c2;_0x26ab19++)for(let _0x515ff2=_0x5ccbed;_0x515ff2<=_0x12d7bf;_0x515ff2++){const _0x31f7d7=this[_0x2c1f5f(0x169)][_0x2c1f5f(0xea)](_0x51b896,_0x553cc9,_0x26ab19,_0x515ff2);if(_0x31f7d7){const _0x161c7e=this[_0x2c1f5f(0x169)][_0x2c1f5f(0xfa)](_0x51b896,_0x553cc9,_0x31f7d7);if(_0x161c7e){const _0x5304f4=_0x161c7e['sparklines'][_0x2c1f5f(0xfe)](_0x26ab19,_0x515ff2);_0x5304f4&&(_0x161c7e[_0x2c1f5f(0x10f)][_0x2c1f5f(0x15a)](_0x26ab19+_0x97d60f,_0x515ff2+_0x1f0b27,_0x5304f4),_0x161c7e[_0x2c1f5f(0x10f)][_0x2c1f5f(0x11b)](_0x26ab19,_0x515ff2));}}}for(const [_0xcfa130,_0x12450a]of _0x1a3b52){const _0x1a982a=_0x12450a[_0x2c1f5f(0x10f)];_0x1a982a[_0x2c1f5f(0x14a)]((_0x44b20a,_0xaaed15,_0x54953c)=>{const _0x5b3c4a=_0x2c1f5f,_0x624acf={..._0x54953c};_0xe7bb3d[_0x5b3c4a(0xf7)][_0x5b3c4a(0x8c)](_0x23db85,_0x54953c)&&(_0x624acf[_0x5b3c4a(0x7d)]+=_0x97d60f,_0x624acf[_0x5b3c4a(0x134)]+=_0x97d60f,_0x624acf[_0x5b3c4a(0x166)]+=_0x1f0b27,_0x624acf[_0x5b3c4a(0xe1)]+=_0x1f0b27),_0x1a982a[_0x5b3c4a(0x15a)](_0x44b20a,_0xaaed15,_0x624acf);});}this[_0x2c1f5f(0x169)][_0x2c1f5f(0x14f)](_0x51b896,_0x553cc9);}}}}}}}}));}};_0x30a6b7=_0x595626([_0x219b2e(0x0,_0xe7bb3d['Inject'](_0xe7bb3d[_0x57b078(0xdb)])),_0x219b2e(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55['RefRangeService'])),_0x219b2e(0x2,_0xe7bb3d['IUniverInstanceService']),_0x219b2e(0x3,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)]))],_0x30a6b7);var _0x2a0991=Object[_0x57b078(0xfd)],_0x1570c2=(_0x414e8e,_0x3f19f9,_0x8b1697,_0x10780a)=>{const _0x52a4e1=_0x57b078;for(var _0x3cfdd6=_0x10780a>0x1?void 0x0:_0x10780a?_0x2a0991(_0x3f19f9,_0x8b1697):_0x3f19f9,_0x564196=_0x414e8e[_0x52a4e1(0x107)]-0x1,_0x1f390d;_0x564196>=0x0;_0x564196--)(_0x1f390d=_0x414e8e[_0x564196])&&(_0x3cfdd6=_0x1f390d(_0x3cfdd6)||_0x3cfdd6);return _0x3cfdd6;},_0x509cd1=(_0x450a0b,_0x5bcef8)=>(_0x5bc2d8,_0x23fa07)=>_0x5bcef8(_0x5bc2d8,_0x23fa07,_0x450a0b);let _0x9d34a1=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0x2a05de,_0x500b47,_0x33d685){const _0x4cb692=_0x57b078;super(),this[_0x4cb692(0xae)]=_0x2a05de,this[_0x4cb692(0xb9)]=_0x500b47,this[_0x4cb692(0x169)]=_0x33d685,this[_0x4cb692(0x16a)]();}[_0x57b078(0x16a)](){const _0x343cbe=_0x57b078;this[_0x343cbe(0x154)](this['_sheetInterceptorService'][_0x343cbe(0x12e)]({'getMutations':_0x3cdf43=>{const _0x5b4d3e=_0x343cbe;var _0x5e4248;if(_0x3cdf43['id']===_0x182a55[_0x5b4d3e(0x9d)]['id']){const _0x3f5ff4=_0x3cdf43[_0x5b4d3e(0x94)],_0x2d9b92=_0x3f5ff4[_0x5b4d3e(0x111)]||this[_0x5b4d3e(0xae)][_0x5b4d3e(0x88)](_0xe7bb3d[_0x5b4d3e(0x157)]['UNIVER_SHEET'])[_0x5b4d3e(0x156)](),_0x3f8dca=_0x3f5ff4[_0x5b4d3e(0xb7)]||((_0x5e4248=this[_0x5b4d3e(0xae)][_0x5b4d3e(0x88)](_0xe7bb3d[_0x5b4d3e(0x157)]['UNIVER_SHEET'])[_0x5b4d3e(0x168)]())==null?void 0x0:_0x5e4248[_0x5b4d3e(0xdc)]());if(!_0x2d9b92||!_0x3f8dca)return{'redos':[],'undos':[]};const _0x3624df=this[_0x5b4d3e(0x169)][_0x5b4d3e(0x167)](_0x2d9b92,_0x3f8dca);if(!_0x3624df)return{'redos':[],'undos':[]};const _0x26ffd6=new Set(),_0x2612f1={};for(const [_0xcb22a0,_0x30ba62]of _0x3624df)_0x26ffd6[_0x5b4d3e(0x81)](_0xcb22a0),_0x2612f1[_0xcb22a0]={'config':_0xe7bb3d[_0x5b4d3e(0xf1)]['deepClone'](_0x30ba62['config']),'sparklines':_0xe7bb3d[_0x5b4d3e(0xf1)]['deepClone'](_0x30ba62['sparklines']['clone']())};if(_0x26ffd6[_0x5b4d3e(0xcc)])return{'redos':[{'id':_0x31a383['id'],'params':{'unitId':_0x2d9b92,'subUnitId':_0x3f8dca,'groupIds':Array[_0x5b4d3e(0x12a)](_0x26ffd6),'isSingle':!0x1}}],'undos':[{'id':_0x172026['id'],'params':{'unitId':_0x2d9b92,'subUnitId':_0x3f8dca,'sparklineConfigMap':_0x2612f1}}]};}else{if(_0x3cdf43['id']===_0x182a55[_0x5b4d3e(0x126)]['id']){const _0x1e6d00=_0x3cdf43['params'],{unitId:_0x342e4b,subUnitId:_0x301c1c,targetSubUnitId:_0x2c23f9}=_0x1e6d00;if(!_0x342e4b||!_0x301c1c||!_0x2c23f9)return{'redos':[],'undos':[]};const _0x3b162e=this[_0x5b4d3e(0x169)]['getSubUnitSparkline'](_0x342e4b,_0x301c1c);if(!_0x3b162e)return{'redos':[],'undos':[]};const _0x4465fe=new Set(),_0x270867={};for(const [_0x24d592,_0x1635e3]of _0x3b162e){const _0x24851c='g_'+_0xe7bb3d['generateRandomId'](0x6);_0x4465fe[_0x5b4d3e(0x81)](_0x24d592),_0x270867[_0x24851c]={'config':_0xe7bb3d[_0x5b4d3e(0xf1)][_0x5b4d3e(0x110)](_0x1635e3['config']),'sparklines':_0xe7bb3d['Tools'][_0x5b4d3e(0x110)](_0x1635e3[_0x5b4d3e(0x10f)]['clone']())};}if(_0x4465fe[_0x5b4d3e(0xcc)])return{'redos':[{'id':_0x172026['id'],'params':{'unitId':_0x342e4b,'subUnitId':_0x2c23f9,'sparklineConfigMap':_0x270867}}],'undos':[{'id':_0x31a383['id'],'params':{'unitId':_0x342e4b,'subUnitId':_0x2c23f9,'groupIds':Array[_0x5b4d3e(0x12a)](_0x4465fe),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x9d34a1=_0x1570c2([_0x509cd1(0x0,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d[_0x57b078(0x99)])),_0x509cd1(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x182a55['SheetInterceptorService'])),_0x509cd1(0x2,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)]))],_0x9d34a1);var _0x6b17cf=Object['getOwnPropertyDescriptor'],_0x15cb7b=(_0x2cdf06,_0x4e3539,_0x528550,_0x5bf1bd)=>{const _0xb951d8=_0x57b078;for(var _0x4d9c41=_0x5bf1bd>0x1?void 0x0:_0x5bf1bd?_0x6b17cf(_0x4e3539,_0x528550):_0x4e3539,_0x52b8fb=_0x2cdf06[_0xb951d8(0x107)]-0x1,_0x2aba97;_0x52b8fb>=0x0;_0x52b8fb--)(_0x2aba97=_0x2cdf06[_0x52b8fb])&&(_0x4d9c41=_0x2aba97(_0x4d9c41)||_0x4d9c41);return _0x4d9c41;},_0x4467a2=(_0x474610,_0x3482e0)=>(_0x3561c0,_0x313b94)=>_0x3482e0(_0x3561c0,_0x313b94,_0x474610);let _0x54b1d9=class extends _0xe7bb3d[_0x57b078(0x116)]{constructor(_0x379347,_0x5d76d0){const _0x5e6c40=_0x57b078;super(),this[_0x5e6c40(0x13e)]=_0x379347,this['_sparklineDataSourceModel']=_0x5d76d0,this[_0x5e6c40(0x123)]();}[_0x57b078(0x123)](){const _0x18782b=_0x57b078,_0xe4016e=_0x1ae664=>{const _0x5beee9=_0x345a,_0xdb9c7a=this[_0x5beee9(0x169)][_0x5beee9(0x15b)](_0x1ae664);return _0xdb9c7a?JSON[_0x5beee9(0x146)](_0xdb9c7a):'';},_0x214493=_0x1d1c0d=>_0x1d1c0d?JSON[_0x18782b(0x122)](_0x1d1c0d):{};this[_0x18782b(0x154)](this[_0x18782b(0x13e)][_0x18782b(0x78)]({'toJson':_0xe4016e,'parseJson':_0x214493,'pluginName':_0x159f86,'businesses':[_0xe7bb3d[_0x18782b(0x157)][_0x18782b(0x142)]],'onLoad':(_0x4c184a,_0xb4465a)=>{const _0x5cf691=_0x18782b;this[_0x5cf691(0x169)][_0x5cf691(0xbb)](_0xb4465a);},'onUnLoad':_0x28690a=>{const _0x4ddad6=_0x18782b;this[_0x4ddad6(0x169)]['deleteUnit'](_0x28690a);}}));}};_0x54b1d9=_0x15cb7b([_0x4467a2(0x0,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d['IResourceManagerService'])),_0x4467a2(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0x28c8c4[_0x57b078(0xd8)]))],_0x54b1d9);var _0x3e2302=Object[_0x57b078(0x161)],_0x216df9=Object[_0x57b078(0xfd)],_0xee0a8a=(_0xb41cdb,_0x5249b7,_0x368975)=>_0x5249b7 in _0xb41cdb?_0x3e2302(_0xb41cdb,_0x5249b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x368975}):_0xb41cdb[_0x5249b7]=_0x368975,_0x467a51=(_0x1ffb34,_0x149321,_0x32de8a,_0x859fd7)=>{const _0x3f5460=_0x57b078;for(var _0x4f0c7b=_0x859fd7>0x1?void 0x0:_0x859fd7?_0x216df9(_0x149321,_0x32de8a):_0x149321,_0x541eac=_0x1ffb34[_0x3f5460(0x107)]-0x1,_0x409b30;_0x541eac>=0x0;_0x541eac--)(_0x409b30=_0x1ffb34[_0x541eac])&&(_0x4f0c7b=_0x409b30(_0x4f0c7b)||_0x4f0c7b);return _0x4f0c7b;},_0x5802b6=(_0x3a363b,_0x2d4b70)=>(_0x16f78b,_0x56d4f3)=>_0x2d4b70(_0x16f78b,_0x56d4f3,_0x3a363b),_0x4c5c01=(_0x36fe7f,_0x4466cb,_0x196cf4)=>_0xee0a8a(_0x36fe7f,typeof _0x4466cb!=_0x57b078(0x10d)?_0x4466cb+'':_0x4466cb,_0x196cf4);_0x28c8c4[_0x57b078(0x11e)]=class extends _0xe7bb3d[_0x57b078(0x11c)]{constructor(_0x2b89e9={},_0x3aa0c1,_0x188816){const _0x351cfb=_0x57b078;super(),this['_config']=_0x2b89e9,this[_0x351cfb(0x137)]=_0x3aa0c1,this['_commandService']=_0x188816,this[_0x351cfb(0x9e)](),this['_initRegisterCommand']();}[_0x57b078(0x9e)](){const _0x504315=_0x57b078;[[_0x28c8c4['SparklineDataSourceModel']],[_0x2927b1],[_0x215faf],[_0x29b578],[_0x30a6b7],[_0x66d2c5],[_0x9d34a1],[_0x54b1d9]]['forEach'](_0x40ebe5=>{const _0x373596=_0x345a;this[_0x373596(0x137)][_0x373596(0x81)](_0x40ebe5);}),_0xe7bb3d[_0x504315(0xc4)](this[_0x504315(0x137)],[[_0x54b1d9]]);}[_0x57b078(0x6f)](){const _0x5bc33e=_0x57b078;_0xe7bb3d[_0x5bc33e(0xc4)](this[_0x5bc33e(0x137)],[[_0x2927b1],[_0x215faf],[_0x29b578],[_0x30a6b7],[_0x66d2c5],[_0x9d34a1]]);}[_0x57b078(0x14d)](){const _0x42ac1b=_0x57b078;[_0x506d59,_0x172026,_0x5f591b,_0x31a383,_0x1cd727,_0x2afa6d]['forEach'](_0x301607=>this[_0x42ac1b(0xd4)]['registerCommand'](_0x301607));}},_0x4c5c01(_0x28c8c4[_0x57b078(0x11e)],_0x57b078(0x83),_0x159f86),_0x4c5c01(_0x28c8c4[_0x57b078(0x11e)],_0x57b078(0x75),_0xe7bb3d['UniverInstanceType'][_0x57b078(0x142)]),_0x28c8c4['UniverSheetSparklinePlugin']=_0x467a51([_0xe7bb3d['DependentOn'](_0x547651[_0x57b078(0x90)]),_0x5802b6(0x1,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d['Injector'])),_0x5802b6(0x2,_0xe7bb3d[_0x57b078(0x9f)](_0xe7bb3d[_0x57b078(0xdb)]))],_0x28c8c4[_0x57b078(0x11e)]),_0x28c8c4[_0x57b078(0x113)]=_0x506d59,_0x28c8c4[_0x57b078(0xd2)]=_0x172026,_0x28c8c4[_0x57b078(0x8f)]=_0x159f86,_0x28c8c4[_0x57b078(0xa7)]=_0x5f591b,_0x28c8c4[_0x57b078(0xe0)]=_0x31a383,_0x28c8c4[_0x57b078(0x127)]=_0x1cd727,_0x28c8c4['SetSheetSparklineMutation']=_0x2afa6d,_0x28c8c4[_0x57b078(0x106)]=_0x165cc0,_0x28c8c4[_0x57b078(0xc9)]=_0x6cc60f,_0x28c8c4[_0x57b078(0xe6)]=_0x230c4b,_0x28c8c4[_0x57b078(0xc1)]=_0x4c03bc,_0x28c8c4['SparklineThemeTypeEnum']=_0x1feb2f,_0x28c8c4[_0x57b078(0xe5)]=_0x317c66,_0x28c8c4['getSparklinePlacement']=_0x3f2d15,Object[_0x57b078(0x161)](_0x28c8c4,Symbol[_0x57b078(0xcd)],{'value':'Module'});}));
|
|
1
|
+
(function(_0x2d8df4,_0x7cfcf){const _0x125492=_0x1f06,_0x2c1f94=_0x2d8df4();while(!![]){try{const _0x14cdad=-parseInt(_0x125492(0x17e))/0x1*(parseInt(_0x125492(0x13a))/0x2)+-parseInt(_0x125492(0x134))/0x3*(-parseInt(_0x125492(0x1bc))/0x4)+-parseInt(_0x125492(0xf5))/0x5*(-parseInt(_0x125492(0x1a1))/0x6)+parseInt(_0x125492(0x14b))/0x7*(-parseInt(_0x125492(0x179))/0x8)+parseInt(_0x125492(0x188))/0x9*(-parseInt(_0x125492(0x181))/0xa)+parseInt(_0x125492(0xf1))/0xb*(parseInt(_0x125492(0x1c2))/0xc)+-parseInt(_0x125492(0x182))/0xd;if(_0x14cdad===_0x7cfcf)break;else _0x2c1f94['push'](_0x2c1f94['shift']());}catch(_0x49f85e){_0x2c1f94['push'](_0x2c1f94['shift']());}}}(_0x2adf,0xb2217),function(_0x510a42,_0x4abef3){const _0x4cc67a=_0x1f06;typeof exports==_0x4cc67a(0x15c)&&typeof module<'u'?_0x4abef3(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x4cc67a(0x156)&&define[_0x4cc67a(0x161)]?define([_0x4cc67a(0x123),'@univerjs/core',_0x4cc67a(0x171),'rxjs','@univerjs-pro/license'],_0x4abef3):(_0x510a42=typeof globalThis<'u'?globalThis:_0x510a42||self,_0x4abef3(_0x510a42[_0x4cc67a(0x17a)]={},_0x510a42[_0x4cc67a(0x196)],_0x510a42[_0x4cc67a(0xd7)],_0x510a42[_0x4cc67a(0x121)],_0x510a42[_0x4cc67a(0x180)]));}(this,function(_0x576191,_0x1b2173,_0x2732da,_0x430b7f,_0x46ff50){'use strict';const _0x5a2fef=_0x1f06;var _0x4669f3=Object[_0x5a2fef(0x16e)],_0x244a73=(_0x2cb90c,_0x3db771,_0xb904e2)=>_0x3db771 in _0x2cb90c?_0x4669f3(_0x2cb90c,_0x3db771,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb904e2}):_0x2cb90c[_0x3db771]=_0xb904e2,_0x38c820=(_0x3b513b,_0x109ca1,_0x9f2fc3)=>_0x244a73(_0x3b513b,typeof _0x109ca1!=_0x5a2fef(0x1d3)?_0x109ca1+'':_0x109ca1,_0x9f2fc3);function _0x356661(_0x52bb0b,_0x2849d1){const _0x10cb82=_0x5a2fef,_0x28436e=new _0x1b2173['ObjectMatrix'](),_0x4ae3e1=[],_0x3429a8=_0x52bb0b[_0x10cb82(0x120)]>0x1;let _0x162f6f=0x0,_0x2ce357=0x0;for(const _0x456015 of _0x52bb0b)_0x162f6f+=_0x456015[_0x10cb82(0x19f)]-_0x456015[_0x10cb82(0x1c1)]+0x1,_0x2ce357+=_0x456015[_0x10cb82(0x195)]-_0x456015[_0x10cb82(0x160)]+0x1;for(const _0x43c2c5 of _0x2849d1)for(let _0x1a81a4=_0x43c2c5[_0x10cb82(0x1c1)];_0x1a81a4<=_0x43c2c5[_0x10cb82(0x19f)];_0x1a81a4++)for(let _0x557fe1=_0x43c2c5[_0x10cb82(0x160)];_0x557fe1<=_0x43c2c5[_0x10cb82(0x195)];_0x557fe1++)_0x4ae3e1[_0x10cb82(0x168)]({'row':_0x1a81a4,'column':_0x557fe1});if(_0x4ae3e1['length']===_0x162f6f)_0x3429a8?_0x4ae3e1[_0x10cb82(0x106)]((_0x32cd56,_0xa880d2)=>{const _0x9729bd=_0x10cb82,_0x2d6b0c=_0x52bb0b[_0xa880d2],_0x5b25f3={'startRow':_0x2d6b0c[_0x9729bd(0x1c1)],'startColumn':_0x2d6b0c[_0x9729bd(0x160)],'endRow':_0x2d6b0c[_0x9729bd(0x1c1)],'endColumn':_0x2d6b0c['endColumn']};_0x28436e['setValue'](_0x32cd56['row'],_0x32cd56['column'],_0x5b25f3);}):_0x4ae3e1[_0x10cb82(0x106)]((_0x5a2ab0,_0x22a15b)=>{const _0x290eb8=_0x10cb82,_0x41c3a7=_0x52bb0b[0x0],_0x5f572f={'startRow':_0x41c3a7[_0x290eb8(0x1c1)]+_0x22a15b,'startColumn':_0x41c3a7[_0x290eb8(0x160)],'endRow':_0x41c3a7['startRow']+_0x22a15b,'endColumn':_0x41c3a7[_0x290eb8(0x195)]};_0x28436e[_0x290eb8(0x1b8)](_0x5a2ab0[_0x290eb8(0x184)],_0x5a2ab0[_0x290eb8(0xd6)],_0x5f572f);});else{if(_0x4ae3e1[_0x10cb82(0x120)]===_0x2ce357)_0x3429a8?_0x4ae3e1[_0x10cb82(0x106)]((_0x3dc394,_0x1ebf15)=>{const _0x36bc71=_0x10cb82,_0x4fef77=_0x52bb0b[_0x1ebf15],_0x14f68e={'startRow':_0x4fef77[_0x36bc71(0x1c1)],'startColumn':_0x4fef77[_0x36bc71(0x160)],'endRow':_0x4fef77['endRow'],'endColumn':_0x4fef77[_0x36bc71(0x160)]};_0x28436e[_0x36bc71(0x1b8)](_0x3dc394[_0x36bc71(0x184)],_0x3dc394[_0x36bc71(0xd6)],_0x14f68e);}):_0x4ae3e1[_0x10cb82(0x106)]((_0x1ddd86,_0x449919)=>{const _0x3d0aa3=_0x10cb82,_0x320515=_0x52bb0b[0x0],_0xc830e5={'startRow':_0x320515[_0x3d0aa3(0x1c1)],'startColumn':_0x320515[_0x3d0aa3(0x160)]+_0x449919,'endRow':_0x320515[_0x3d0aa3(0x19f)],'endColumn':_0x320515[_0x3d0aa3(0x160)]+_0x449919};_0x28436e[_0x3d0aa3(0x1b8)](_0x1ddd86[_0x3d0aa3(0x184)],_0x1ddd86[_0x3d0aa3(0xd6)],_0xc830e5);});else{if(_0x4ae3e1['length']===_0x52bb0b[_0x10cb82(0x120)])_0x52bb0b[_0x10cb82(0x1c7)](_0x56da30=>!(_0x56da30[_0x10cb82(0x1c1)]!==_0x56da30['endRow']&&_0x56da30[_0x10cb82(0x160)]!==_0x56da30[_0x10cb82(0x195)]))&&_0x4ae3e1[_0x10cb82(0x106)]((_0x57c0be,_0x5e6ac5)=>{const _0xcd9ebf=_0x10cb82,_0x35abd5=_0x52bb0b[_0x5e6ac5];_0x28436e[_0xcd9ebf(0x1b8)](_0x57c0be[_0xcd9ebf(0x184)],_0x57c0be[_0xcd9ebf(0xd6)],_0x35abd5);});else throw new Error(_0x10cb82(0x1a4));}}return _0x28436e;}const _0x272a48='SHEET_SPARKLINE_PLUGIN',_0x4b180b={'standard':[_0x5a2fef(0x1cd),_0x5a2fef(0x126)],'specialty':[_0x5a2fef(0x14c),_0x5a2fef(0x114)],'distinctive':[_0x5a2fef(0xe0),'rgb(252,117,60)'],'soft':[_0x5a2fef(0x158),_0x5a2fef(0x1be)],'fresh':[_0x5a2fef(0xdd),'rgb(248,190,21)']},_0x5013d7=[_0x5a2fef(0x164),_0x5a2fef(0xf8),'lastPoint',_0x5a2fef(0x18a),_0x5a2fef(0x16c),_0x5a2fef(0x1bf)];var _0x561437=(_0x4d8fd1=>(_0x4d8fd1[_0x5a2fef(0xe3)]=_0x5a2fef(0x1c3),_0x4d8fd1['SPECIALTY']=_0x5a2fef(0x1cc),_0x4d8fd1['DISTINCTIVE']=_0x5a2fef(0x1a9),_0x4d8fd1['SOFT']=_0x5a2fef(0x113),_0x4d8fd1['FRESH']='fresh',_0x4d8fd1[_0x5a2fef(0x1a7)]=_0x5a2fef(0xec),_0x4d8fd1))(_0x561437||{}),_0x29643e=(_0x4ea2bb=>(_0x4ea2bb[_0x4ea2bb[_0x5a2fef(0xe7)]=0x1]=_0x5a2fef(0xe7),_0x4ea2bb[_0x4ea2bb[_0x5a2fef(0x100)]=0x2]=_0x5a2fef(0x100),_0x4ea2bb[_0x4ea2bb[_0x5a2fef(0x1ba)]=0x3]=_0x5a2fef(0x1ba),_0x4ea2bb[_0x4ea2bb[_0x5a2fef(0xff)]=0x4]='PIE_CHART',_0x4ea2bb))(_0x29643e||{}),_0x3b80f1=(_0x4b07c=>(_0x4b07c[_0x5a2fef(0x163)]=_0x5a2fef(0x135),_0x4b07c['ZERO_VALUE']=_0x5a2fef(0x175),_0x4b07c[_0x5a2fef(0x19a)]=_0x5a2fef(0xda),_0x4b07c))(_0x3b80f1||{}),_0x38cd11=(_0x3fce5a=>(_0x3fce5a[_0x3fce5a[_0x5a2fef(0x18f)]=0x1]='SELF_EXTREMUM',_0x3fce5a[_0x3fce5a['GROUP_EXTREMUM']=0x2]='GROUP_EXTREMUM',_0x3fce5a[_0x3fce5a[_0x5a2fef(0xdc)]=0x3]=_0x5a2fef(0xdc),_0x3fce5a))(_0x38cd11||{}),_0x5ccb88=Object['getOwnPropertyDescriptor'],_0x30fa26=(_0x29aad0,_0x18943d,_0x4b77ee,_0x380aac)=>{const _0x502eaa=_0x5a2fef;for(var _0x4a4d4f=_0x380aac>0x1?void 0x0:_0x380aac?_0x5ccb88(_0x18943d,_0x4b77ee):_0x18943d,_0x406327=_0x29aad0[_0x502eaa(0x120)]-0x1,_0x48c945;_0x406327>=0x0;_0x406327--)(_0x48c945=_0x29aad0[_0x406327])&&(_0x4a4d4f=_0x48c945(_0x4a4d4f)||_0x4a4d4f);return _0x4a4d4f;},_0x585dd4=(_0x21217a,_0x4fe7c0)=>(_0x2f4f31,_0x1e4a61)=>_0x4fe7c0(_0x2f4f31,_0x1e4a61,_0x21217a);_0x576191[_0x5a2fef(0x11b)]=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x41dc41){const _0x2c9c6b=_0x5a2fef;super(),_0x38c820(this,_0x2c9c6b(0x17c),new Map()),_0x38c820(this,_0x2c9c6b(0x108),new Map()),_0x38c820(this,_0x2c9c6b(0x1d4),new _0x430b7f['Subject']()),_0x38c820(this,'updateConfig$',this[_0x2c9c6b(0x1d4)][_0x2c9c6b(0x127)]()),this[_0x2c9c6b(0x15b)]=_0x41dc41;}[_0x5a2fef(0x1ab)](_0x33572d,_0x55979f){const _0x511852=_0x5a2fef;let _0x2b5406=this[_0x511852(0x17c)][_0x511852(0x19e)](_0x33572d);_0x2b5406||(_0x2b5406=new Map(),this[_0x511852(0x17c)]['set'](_0x33572d,_0x2b5406));let _0x22c632=_0x2b5406[_0x511852(0x19e)](_0x55979f);return _0x22c632||(_0x22c632=new Map(),_0x2b5406[_0x511852(0xe6)](_0x55979f,_0x22c632)),_0x22c632;}[_0x5a2fef(0x1cf)](_0x1a9ea9,_0x48cd1f){const _0x1cc0f5=_0x5a2fef;let _0x40894d=this['_sparklineAnchorMap'][_0x1cc0f5(0x19e)](_0x1a9ea9);_0x40894d||(_0x40894d=new Map(),this[_0x1cc0f5(0x108)]['set'](_0x1a9ea9,_0x40894d));let _0x10ef0e=_0x40894d[_0x1cc0f5(0x19e)](_0x48cd1f);return _0x10ef0e||(_0x10ef0e={'matrix':new _0x1b2173[(_0x1cc0f5(0x145))](),'extra':{}},_0x40894d['set'](_0x48cd1f,_0x10ef0e)),_0x10ef0e;}[_0x5a2fef(0x1c4)](_0x12ecac,_0x22246e,_0x55ced0,_0x16363c=_0x5a2fef(0xe6)){const _0x2c628c=_0x5a2fef;var _0xb9214f,_0x43b744,_0x553b40,_0x31400c,_0x36c876,_0x49e42b,_0x4bce50,_0x145c02,_0x386559,_0x50f82c,_0x3170c9,_0x35175f,_0x392d00;const _0x5aacdf=(_0x43b744=(_0xb9214f=this['_sparklineModel']['get'](_0x12ecac))==null?void 0x0:_0xb9214f[_0x2c628c(0x19e)](_0x22246e))==null?void 0x0:_0x43b744[_0x2c628c(0x19e)](_0x55ced0);if(!_0x5aacdf)return;const _0x328d4a=_0x2732da['getSheetCommandTarget'](this[_0x2c628c(0x15b)],{'unitId':_0x12ecac,'subUnitId':_0x22246e});if(!_0x328d4a)return;const _0x35c864=this[_0x2c628c(0x1cf)](_0x12ecac,_0x22246e),{extra:_0x2316d2,matrix:_0x4a3e12}=_0x35c864,{worksheet:_0x2554e7}=_0x328d4a;let _0x4d672b=Number['MIN_SAFE_INTEGER'],_0x281cda=Number[_0x2c628c(0x144)];const _0x5319df=(_0x553b40=_0x5aacdf[_0x2c628c(0x15d)][_0x2c628c(0x1b9)])!=null?_0x553b40:!0x1;_0x5aacdf['sparklines'][_0x2c628c(0xfb)]((_0x59cbcb,_0x49264c,_0x2b52d8)=>{const _0x760066=_0x2c628c;var _0x5d4d1d,_0x5e1a83,_0x37dfff;const _0x518cac=_0x2b52d8;let _0x8ea756=Number[_0x760066(0x16f)],_0x6960dc=Number['MAX_SAFE_INTEGER'],_0x1c6d16=0x0,_0x4fee38=0x0;const _0x1e0745=[];if(!_0x1b2173['isValidRange'](_0x518cac))_0x4a3e12[_0x760066(0x1b8)](_0x59cbcb,_0x49264c,{'groupId':_0x55ced0,'data':[],'max':_0x8ea756,'min':_0x6960dc,'highIndex':_0x1c6d16,'lowIndex':_0x4fee38,'negativeIndexes':_0x1e0745});else{const _0x1073f2=[];for(let _0x4704d8=_0x518cac[_0x760066(0x1c1)];_0x4704d8<=_0x518cac[_0x760066(0x19f)];_0x4704d8++){for(let _0x56c564=_0x518cac[_0x760066(0x160)];_0x56c564<=_0x518cac[_0x760066(0x195)];_0x56c564++){const _0x49772f=_0x2554e7[_0x760066(0x190)](_0x4704d8),_0x52a8ce=_0x2554e7[_0x760066(0x1c5)](_0x56c564);if(!_0x5319df&&(!_0x49772f||!_0x52a8ce))continue;let _0x3d7f7b=0x0;const _0x51b379=((_0x5d4d1d=_0x2554e7[_0x760066(0x174)](_0x4704d8,_0x56c564))==null?void 0x0:_0x5d4d1d['v'])!==void 0x0?_0x2554e7[_0x760066(0x174)](_0x4704d8,_0x56c564):_0x2554e7[_0x760066(0x13e)](_0x4704d8,_0x56c564);if(!_0x51b379||_0x51b379['v']===void 0x0||_0x51b379['v']===null){const _0x1f9656=(_0x5e1a83=_0x5aacdf[_0x760066(0x15d)][_0x760066(0x11c)])!=null?_0x5e1a83:_0x3b80f1[_0x760066(0x163)];_0x1f9656===_0x3b80f1[_0x760066(0x13f)]?_0x3d7f7b=0x0:_0x1f9656===_0x3b80f1[_0x760066(0x163)]?_0x3d7f7b=_0x760066(0xe5):_0x1f9656===_0x3b80f1[_0x760066(0x19a)]&&(_0x3d7f7b=_0x760066(0x1c9));}else{if(_0x51b379['t']===_0x1b2173[_0x760066(0x12c)][_0x760066(0x153)]||_0x51b379['t']===_0x1b2173[_0x760066(0x12c)][_0x760066(0x1d2)]){const _0x41e1f7=(_0x37dfff=_0x5aacdf['config']['nonNumShowAs'])!=null?_0x37dfff:_0x3b80f1[_0x760066(0x163)];_0x41e1f7===_0x3b80f1['ZERO_VALUE']?_0x3d7f7b=0x0:_0x41e1f7===_0x3b80f1[_0x760066(0x163)]?_0x3d7f7b='u-spacing':_0x41e1f7===_0x3b80f1[_0x760066(0x19a)]&&(_0x3d7f7b=_0x760066(0x1c9));}else _0x51b379['t']===_0x1b2173[_0x760066(0x12c)][_0x760066(0x12f)]?_0x3d7f7b=_0x51b379['v']?0x1:0x0:_0x51b379['t']===_0x1b2173[_0x760066(0x12c)]['NUMBER']?_0x3d7f7b=Number(_0x51b379['v']):_0x3d7f7b=_0x51b379['v'];}if(_0x1073f2[_0x760066(0x168)](_0x3d7f7b),typeof _0x3d7f7b=='number'){_0x8ea756=Math[_0x760066(0x122)](_0x8ea756,_0x3d7f7b),_0x4d672b=Math[_0x760066(0x122)](_0x4d672b,_0x3d7f7b),_0x281cda=Math[_0x760066(0x12d)](_0x281cda,_0x3d7f7b),_0x6960dc=Math[_0x760066(0x12d)](_0x6960dc,_0x3d7f7b);const _0xacfcaf=typeof _0x1073f2[_0x1c6d16]==_0x760066(0xd5)?Number(_0x1073f2[_0x1c6d16]):Number[_0x760066(0x16f)];_0x3d7f7b>_0xacfcaf&&(_0x1c6d16=_0x1073f2[_0x760066(0x120)]-0x1);const _0x23767c=typeof _0x1073f2[_0x4fee38]==_0x760066(0xd5)?Number(_0x1073f2[_0x4fee38]):Number[_0x760066(0x144)];_0x3d7f7b<_0x23767c&&(_0x4fee38=_0x1073f2['length']-0x1),_0x3d7f7b<0x0&&_0x1e0745['push'](_0x1073f2[_0x760066(0x120)]-0x1);}}_0x4a3e12[_0x760066(0x1b8)](_0x59cbcb,_0x49264c,{'groupId':_0x55ced0,'data':_0x1073f2,'max':_0x8ea756,'min':_0x6960dc,'highIndex':_0x1c6d16,'lowIndex':_0x4fee38,'negativeIndexes':_0x1e0745});}}});let _0x390412=_0x4d672b;((_0x31400c=_0x5aacdf[_0x2c628c(0x15d)][_0x2c628c(0x1ce)])==null?void 0x0:_0x31400c[_0x2c628c(0x14d)])===_0x38cd11[_0x2c628c(0xdc)]&&(_0x390412=(_0x49e42b=(_0x36c876=_0x5aacdf[_0x2c628c(0x15d)][_0x2c628c(0x1ce)])==null?void 0x0:_0x36c876['value'])!=null?_0x49e42b:_0x4d672b);let _0x3a5371=_0x281cda;((_0x4bce50=_0x5aacdf[_0x2c628c(0x15d)][_0x2c628c(0xf4)])==null?void 0x0:_0x4bce50[_0x2c628c(0x14d)])===_0x38cd11[_0x2c628c(0xdc)]&&(_0x3a5371=(_0x386559=(_0x145c02=_0x5aacdf['config'][_0x2c628c(0xf4)])==null?void 0x0:_0x145c02[_0x2c628c(0x112)])!=null?_0x386559:_0x281cda);const _0x2b0c72=(_0x50f82c=_0x5aacdf[_0x2c628c(0x15d)][_0x2c628c(0xe1)])!=null?_0x50f82c:_0x561437[_0x2c628c(0xe3)],_0x52087e=(_0x392d00=(_0x35175f=_0x5aacdf[_0x2c628c(0x15d)]['seriesColor'])!=null?_0x35175f:(_0x3170c9=_0x4b180b[_0x2b0c72])==null?void 0x0:_0x3170c9[0x0])!=null?_0x392d00:_0x4b180b[_0x2c628c(0x1c3)][0x0],_0x325823=new _0x1b2173[(_0x2c628c(0xe4))](_0x52087e),_0x5cb2ff=_0x325823['setAlpha'](0.2)[_0x2c628c(0x155)](),_0x3523f4=_0x325823[_0x2c628c(0x10a)](0.05)['toRgbString']();_0x2316d2[_0x55ced0]={'groupMax':_0x4d672b,'groupMin':_0x281cda,'showMax':_0x390412,'showMin':_0x3a5371,'startGradient':_0x5cb2ff,'endGradient':_0x3523f4},this[_0x2c628c(0x1d4)]['next']({'unitId':_0x12ecac,'subUnitId':_0x22246e,'groupId':_0x55ced0,'config':_0x5aacdf,'type':_0x16363c});}[_0x5a2fef(0x13d)](_0x432bb1,_0xcb3b4e,_0x24d1e4,_0xa15b5d){const _0x230a40=_0x5a2fef;this[_0x230a40(0x1ab)](_0x432bb1,_0xcb3b4e)[_0x230a40(0xe6)](_0x24d1e4,_0xa15b5d),this[_0x230a40(0x1c4)](_0x432bb1,_0xcb3b4e,_0x24d1e4,_0x230a40(0x1ae));}[_0x5a2fef(0x189)](_0x1c30e9,_0x595bc8,_0x471839,_0x6b12be){const _0x1ef3ef=_0x5a2fef;var _0x211d49;const _0xd031da=(_0x211d49=this[_0x1ef3ef(0x17c)][_0x1ef3ef(0x19e)](_0x1c30e9))==null?void 0x0:_0x211d49[_0x1ef3ef(0x19e)](_0x595bc8);_0x471839['forEach'](_0x3fa5ac=>{const _0x388f92=_0x1ef3ef;_0xd031da!=null&&_0xd031da['has'](_0x3fa5ac)&&(_0xd031da[_0x388f92(0xe6)](_0x3fa5ac,_0x6b12be),this[_0x388f92(0x1c4)](_0x1c30e9,_0x595bc8,_0x3fa5ac));});}['removeSparkline'](_0x4c8539,_0x5298be,_0x5402d0){const _0x19372c=_0x5a2fef;var _0x5562c1,_0x317fbd;const _0x3019b3=this[_0x19372c(0x17c)][_0x19372c(0x19e)](_0x4c8539);if(_0x3019b3){const _0x2be5bc=_0x3019b3['get'](_0x5298be);if(_0x2be5bc){_0x2be5bc[_0x19372c(0xea)](_0x5402d0);const _0x9a9cfb=(_0x5562c1=this[_0x19372c(0x108)][_0x19372c(0x19e)](_0x4c8539))==null?void 0x0:_0x5562c1[_0x19372c(0x19e)](_0x5298be);(_0x317fbd=_0x9a9cfb==null?void 0x0:_0x9a9cfb[_0x19372c(0x132)])==null||_0x317fbd['forValue']((_0x2659db,_0xe27ce5,_0x1e02fa)=>{const _0x540753=_0x19372c;(_0x1e02fa==null?void 0x0:_0x1e02fa[_0x540753(0x1d6)])===_0x5402d0&&(_0x9a9cfb==null||_0x9a9cfb[_0x540753(0x132)][_0x540753(0x1a5)](_0x2659db,_0xe27ce5));}),this[_0x19372c(0x1d4)][_0x19372c(0xdb)]({'unitId':_0x4c8539,'subUnitId':_0x5298be,'groupId':_0x5402d0,'type':_0x19372c(0x1b0)}),_0x2be5bc[_0x19372c(0x19c)]===0x0&&_0x3019b3[_0x19372c(0xea)](_0x5298be);}}}['removePartSparkline'](_0x239da2,_0x832df1,_0xd2316,_0x290a28){const _0x40022d=_0x5a2fef;var _0x5d8087,_0x3e105b,_0x26b0be,_0x40d55e;const _0x529008=(_0x5d8087=this[_0x40022d(0x108)][_0x40022d(0x19e)](_0x239da2))==null?void 0x0:_0x5d8087['get'](_0x832df1),_0x2f40e8=_0x529008==null?void 0x0:_0x529008[_0x40022d(0x132)]['getValue'](_0xd2316,_0x290a28);if(_0x2f40e8){const {groupId:_0x115652}=_0x2f40e8,_0xad67a9=(_0x3e105b=this[_0x40022d(0x17c)]['get'](_0x239da2))==null?void 0x0:_0x3e105b['get'](_0x832df1);(_0x26b0be=_0xad67a9==null?void 0x0:_0xad67a9[_0x40022d(0x19e)](_0x115652))==null||_0x26b0be[_0x40022d(0x12e)]['realDeleteValue'](_0xd2316,_0x290a28),(_0x40d55e=_0xad67a9==null?void 0x0:_0xad67a9[_0x40022d(0x19e)](_0x115652))!=null&&_0x40d55e[_0x40022d(0x12e)]['hasValue']()||_0xad67a9==null||_0xad67a9[_0x40022d(0xea)](_0x115652),_0x529008==null||_0x529008[_0x40022d(0x132)]['realDeleteValue'](_0xd2316,_0x290a28),this[_0x40022d(0x1d4)]['next']({'unitId':_0x239da2,'subUnitId':_0x832df1,'groupId':_0x115652,'type':_0x40022d(0x1b0)});}}[_0x5a2fef(0x199)](_0x478aa5,_0xd4e43f,_0x355b93){const _0x53454d=_0x5a2fef;var _0x7a7c23,_0x3486d2,_0x58e221,_0x8410ca;const _0x3c2e6a=(_0x58e221=(_0x3486d2=(_0x7a7c23=this['_sparklineModel'][_0x53454d(0x19e)](_0x478aa5))==null?void 0x0:_0x7a7c23[_0x53454d(0x19e)](_0xd4e43f))==null?void 0x0:_0x3486d2[_0x53454d(0x19e)](_0x355b93))==null?void 0x0:_0x58e221['sparklines'],_0xec57b8=(_0x8410ca=this[_0x53454d(0x108)][_0x53454d(0x19e)](_0x478aa5))==null?void 0x0:_0x8410ca[_0x53454d(0x19e)](_0xd4e43f);if(_0x3c2e6a&&_0xec57b8){const {matrix:_0x2fcd02,extra:_0x201aa3}=_0xec57b8;_0x3c2e6a[_0x53454d(0xfb)]((_0xe5a44,_0x3d03ab,_0x4b4fa8)=>{const _0x36a931=_0x53454d;_0x2fcd02[_0x36a931(0x1a5)](_0xe5a44,_0x3d03ab);}),delete _0x201aa3[_0x355b93];}}['getSubUnitSparkline'](_0xcd99bc,_0x9b0741){const _0x28e76f=_0x5a2fef;var _0x540327;return(_0x540327=this[_0x28e76f(0x17c)][_0x28e76f(0x19e)](_0xcd99bc))==null?void 0x0:_0x540327[_0x28e76f(0x19e)](_0x9b0741);}[_0x5a2fef(0x102)](_0x75a628,_0x2c231c,_0x4847d5){const _0x2e7217=_0x5a2fef;var _0x5abb31,_0x1c68c3;return(_0x1c68c3=(_0x5abb31=this[_0x2e7217(0x17c)][_0x2e7217(0x19e)](_0x75a628))==null?void 0x0:_0x5abb31[_0x2e7217(0x19e)](_0x2c231c))==null?void 0x0:_0x1c68c3[_0x2e7217(0x19e)](_0x4847d5);}[_0x5a2fef(0x103)](_0xcdd2f4,_0x2ea17e,_0x3eaec2,_0x42e7e5){const _0x20f13d=_0x5a2fef;var _0x1dffd6,_0x295409,_0x17619f;return(_0x17619f=(_0x295409=(_0x1dffd6=this[_0x20f13d(0x108)][_0x20f13d(0x19e)](_0xcdd2f4))==null?void 0x0:_0x1dffd6[_0x20f13d(0x19e)](_0x2ea17e))==null?void 0x0:_0x295409['matrix'][_0x20f13d(0xfa)](_0x3eaec2,_0x42e7e5))==null?void 0x0:_0x17619f['groupId'];}[_0x5a2fef(0xd0)](_0x5b4b76,_0x828ad0){const _0x869b24=_0x5a2fef;var _0x52dfd1;const _0x19108c=this[_0x869b24(0x1cf)](_0x5b4b76,_0x828ad0);_0x19108c['matrix']['forValue']((_0x58b306,_0x54a2e7)=>{const _0x1372fd=_0x869b24;_0x19108c[_0x1372fd(0x132)][_0x1372fd(0x1a5)](_0x58b306,_0x54a2e7);});const _0x466410=(_0x52dfd1=this[_0x869b24(0x17c)][_0x869b24(0x19e)](_0x5b4b76))==null?void 0x0:_0x52dfd1[_0x869b24(0x19e)](_0x828ad0);if(_0x466410){for(const [_0x354c30]of _0x466410)this['updateSparklineExtraNum'](_0x5b4b76,_0x828ad0,_0x354c30);}}['getSparklineCache'](){const _0x25d507=_0x5a2fef;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x25d507(0x108)]};}[_0x5a2fef(0x154)](_0x3c56d3){const _0x3531e8=_0x5a2fef,_0x285eb4={};if(this['_sparklineModel'][_0x3531e8(0x11d)](_0x3c56d3)){_0x285eb4[_0x3c56d3]={};const _0x552d92=this[_0x3531e8(0x17c)][_0x3531e8(0x19e)](_0x3c56d3);_0x552d92!=null&&_0x552d92['size']&&Array[_0x3531e8(0x173)](_0x552d92[_0x3531e8(0x11a)]())[_0x3531e8(0x106)](_0x491227=>{const _0x5086d3=_0x3531e8;_0x285eb4[_0x3c56d3][_0x491227]={};const _0x1e492f=_0x552d92['get'](_0x491227);_0x1e492f!=null&&_0x1e492f[_0x5086d3(0x19c)]&&Array[_0x5086d3(0x173)](_0x1e492f[_0x5086d3(0x11a)]())[_0x5086d3(0x106)](_0x5bcca1=>{const _0x274d4a=_0x5086d3,_0x5b4c7a=_0x1e492f[_0x274d4a(0x19e)](_0x5bcca1);_0x5b4c7a&&(_0x285eb4[_0x3c56d3][_0x491227][_0x5bcca1]={'config':_0x5b4c7a[_0x274d4a(0x15d)],'sparklines':_0x5b4c7a[_0x274d4a(0x12e)][_0x274d4a(0x178)]()});});});}return _0x285eb4;}[_0x5a2fef(0x1bd)](_0x20e130){const _0x5dc316=_0x5a2fef;if(!_0x20e130)return;Object[_0x5dc316(0x11a)](_0x20e130)[_0x5dc316(0x106)](_0x4137dc=>{const _0x400126=_0x5dc316,_0x3a9f87=_0x20e130[_0x4137dc];_0x3a9f87&&Object[_0x400126(0x11a)](_0x3a9f87)['forEach'](_0x51ce6c=>{const _0x158554=_0x400126,_0x36af0d=_0x3a9f87[_0x51ce6c];_0x36af0d&&Object[_0x158554(0x11a)](_0x36af0d)[_0x158554(0x106)](_0x4fb98f=>{const _0x565c15=_0x158554,_0xaf0d4c=_0x36af0d[_0x4fb98f];if(_0xaf0d4c){const _0x3d1e03={'config':_0xaf0d4c[_0x565c15(0x15d)],'sparklines':new _0x1b2173[(_0x565c15(0x145))](_0xaf0d4c['sparklines'])};this[_0x565c15(0x13d)](_0x4137dc,_0x51ce6c,_0x4fb98f,_0x3d1e03);}});});});}['deleteUnit'](_0x1433e4){const _0x1e9307=_0x5a2fef,_0x1a4851=this[_0x1e9307(0x17c)][_0x1e9307(0x19e)](_0x1433e4);if(_0x1a4851){for(const [_0x2601b1]of _0x1a4851){const _0x4eeba8=_0x1a4851[_0x1e9307(0x19e)](_0x2601b1);if(_0x4eeba8){for(const [_0x1dd050]of _0x4eeba8)this[_0x1e9307(0x199)](_0x1433e4,_0x2601b1,_0x1dd050);}}this[_0x1e9307(0x17c)][_0x1e9307(0xea)](_0x1433e4);}}},_0x576191[_0x5a2fef(0x11b)]=_0x30fa26([_0x585dd4(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x1ca)]))],_0x576191[_0x5a2fef(0x11b)]);const _0x377f2e={'id':_0x5a2fef(0x15a),'type':_0x1b2173[_0x5a2fef(0x137)][_0x5a2fef(0x115)],'handler':(_0xc2717e,_0x597568)=>{const _0x20222c=_0x5a2fef;if(!_0x597568)return!0x1;const {sparklineConfigMap:_0x538df8,unitId:_0x17b22e,subUnitId:_0x1fe9f7}=_0x597568,_0xb43cb7=_0xc2717e[_0x20222c(0x19e)](_0x576191['SparklineDataSourceModel']);return Object['entries'](_0x538df8)[_0x20222c(0x106)](([_0x5c3671,_0x576a0d])=>{const _0x39d9e6=_0x20222c,_0x3e868e={'config':_0x576a0d[_0x39d9e6(0x15d)],'sparklines':new _0x1b2173[(_0x39d9e6(0x145))](_0x576a0d[_0x39d9e6(0x12e)])};_0xb43cb7[_0x39d9e6(0x13d)](_0x17b22e,_0x1fe9f7,_0x5c3671,_0x3e868e);}),!0x0;}},_0x1c2dcb={'id':'sheet.mutation.remove-sparkline','type':_0x1b2173[_0x5a2fef(0x137)]['MUTATION'],'handler':(_0x2c1cee,_0x4473d2)=>{const _0x77f3d4=_0x5a2fef;if(!_0x4473d2)return!0x1;const {unitId:_0x28c287,subUnitId:_0x5813b7,ranges:_0x55af89,isSingle:_0x3a1f4d,groupIds:_0x2dce35}=_0x4473d2,_0x4cc5d6=_0x2c1cee[_0x77f3d4(0x19e)](_0x576191[_0x77f3d4(0x11b)]);return _0x2dce35?(_0x2dce35[_0x77f3d4(0x106)](_0xa4d5ed=>{_0x4cc5d6['removeSparkline'](_0x28c287,_0x5813b7,_0xa4d5ed);}),!0x0):_0x55af89?(_0x55af89['forEach'](_0x1a546e=>{const _0x5023e7=_0x77f3d4;_0x1b2173[_0x5023e7(0x166)][_0x5023e7(0xe2)](_0x1a546e,(_0x57fd49,_0x5a0e5d)=>{const _0x422993=_0x5023e7,_0xd59738=_0x4cc5d6[_0x422993(0x103)](_0x28c287,_0x5813b7,_0x57fd49,_0x5a0e5d);_0xd59738&&(_0x3a1f4d?_0x4cc5d6['removePartSparkline'](_0x28c287,_0x5813b7,_0x57fd49,_0x5a0e5d):_0x4cc5d6['removeSparkline'](_0x28c287,_0x5813b7,_0xd59738));});}),!0x0):!0x1;}},_0x43f462={'id':_0x5a2fef(0x165),'type':_0x1b2173[_0x5a2fef(0x137)][_0x5a2fef(0xd1)],'handler':(_0xde9b2c,_0x198a6f)=>{const _0x282d5f=_0x5a2fef;if(!_0x198a6f)return!0x1;const {sourceRanges:_0x5ec675,targetRanges:_0x13ac07,config:_0x4f406a}=_0x198a6f,_0x4d5eb5=_0xde9b2c[_0x282d5f(0x19e)](_0x1b2173['IUndoRedoService']),_0x320716='g_'+_0x1b2173[_0x282d5f(0x198)](0x6),_0x53fed1=_0x356661(_0x5ec675,_0x13ac07),_0xda6111={'config':_0x4f406a!=null?_0x4f406a:{},'sparklines':_0x53fed1[_0x282d5f(0x178)]()},_0x48acb1=_0xde9b2c[_0x282d5f(0x19e)](_0x1b2173['IUniverInstanceService']),_0x15e747=_0xde9b2c[_0x282d5f(0x19e)](_0x576191[_0x282d5f(0x11b)]),_0x42e1c3=_0x2732da[_0x282d5f(0x1b7)](_0x48acb1);if(!_0x42e1c3)return!0x1;const {unitId:_0x559cff,subUnitId:_0x3951e5}=_0x42e1c3,_0x24dbd2=_0xde9b2c[_0x282d5f(0x19e)](_0x1b2173[_0x282d5f(0x117)]),_0x4af96c=[],_0xd7e118=[],_0x147770={},_0x523f11={},_0x58194e=new Set([_0x320716]);_0x53fed1[_0x282d5f(0xfb)]((_0x23f65e,_0x4f5272,_0x4c0490)=>{const _0x569781=_0x282d5f,_0x18e9be=_0x15e747[_0x569781(0x103)](_0x559cff,_0x3951e5,_0x23f65e,_0x4f5272);if(_0x18e9be){const _0x77b647=_0x15e747[_0x569781(0x102)](_0x559cff,_0x3951e5,_0x18e9be);if(_0x77b647){_0x58194e[_0x569781(0x1ae)](_0x18e9be);let _0x471884=_0x147770[_0x18e9be],_0x2c60d3=_0x523f11[_0x18e9be];_0x2c60d3||(_0x2c60d3={'config':_0x1b2173[_0x569781(0x101)][_0x569781(0x12a)](_0x77b647['config']),'sparklines':new _0x1b2173[(_0x569781(0x145))](_0x77b647[_0x569781(0x12e)][_0x569781(0x14a)]())},_0x523f11[_0x18e9be]=_0x2c60d3),_0x471884||(_0x471884={'config':_0x1b2173[_0x569781(0x101)]['deepClone'](_0x77b647[_0x569781(0x15d)]),'sparklines':_0x77b647['sparklines']['clone']()},_0x147770[_0x18e9be]=_0x471884),_0x2c60d3['sparklines'][_0x569781(0x1a5)](_0x23f65e,_0x4f5272);}}});const _0x11d65d={};return Object[_0x282d5f(0x150)](_0x523f11)[_0x282d5f(0x106)](([_0x529abf,_0x41a24e])=>{const _0x560006=_0x282d5f;_0x41a24e[_0x560006(0x12e)][_0x560006(0xf0)]()&&(_0x11d65d[_0x529abf]={'config':_0x41a24e[_0x560006(0x15d)],'sparklines':_0x41a24e[_0x560006(0x12e)][_0x560006(0x14a)]()});}),_0x11d65d[_0x320716]=_0xda6111,_0x4af96c['push']({'id':_0x1c2dcb['id'],'params':{'unitId':_0x559cff,'subUnitId':_0x3951e5,'groupIds':Array[_0x282d5f(0x173)](_0x58194e),'isSingle':!0x1}}),_0x58194e['size']>0x1&&(_0xd7e118[_0x282d5f(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x559cff,'subUnitId':_0x3951e5,'groupIds':Array['from'](_0x58194e),'isSingle':!0x1}}),_0x4af96c[_0x282d5f(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x559cff,'subUnitId':_0x3951e5,'sparklineConfigMap':_0x147770}})),_0xd7e118[_0x282d5f(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x559cff,'subUnitId':_0x3951e5,'sparklineConfigMap':_0x11d65d}}),_0x1b2173[_0x282d5f(0x1a3)](_0xd7e118,_0x24dbd2),_0x4d5eb5[_0x282d5f(0x167)]({'unitID':_0x559cff,'undoMutations':_0x4af96c,'redoMutations':_0xd7e118}),!0x0;}},_0x48eee6={'id':_0x5a2fef(0x1b3),'type':_0x1b2173[_0x5a2fef(0x137)][_0x5a2fef(0xd1)],'handler':(_0x3c1e4f,_0x2cb6ef)=>{const _0x1cdf62=_0x5a2fef;var _0x44bd70;const {isSingle:_0x266502=!0x0}=_0x2cb6ef||{},_0x5caa09=_0x3c1e4f[_0x1cdf62(0x19e)](_0x1b2173[_0x1cdf62(0x117)]),_0x27a3d8=_0x3c1e4f[_0x1cdf62(0x19e)](_0x1b2173[_0x1cdf62(0x1ca)]),_0x5177b1=_0x3c1e4f[_0x1cdf62(0x19e)](_0x576191[_0x1cdf62(0x11b)]),_0x4b16c9=_0x3c1e4f[_0x1cdf62(0x19e)](_0x1b2173['IUndoRedoService']),_0x5f2535=_0x2732da[_0x1cdf62(0x1b7)](_0x27a3d8);if(!_0x5f2535)return!0x1;const _0x51b574=_0x3c1e4f[_0x1cdf62(0x19e)](_0x2732da[_0x1cdf62(0xde)]),_0x33df86=(_0x44bd70=_0x2cb6ef==null?void 0x0:_0x2cb6ef['ranges'])!=null?_0x44bd70:_0x51b574[_0x1cdf62(0x12b)]()[_0x1cdf62(0x1b5)](_0x56207a=>_0x56207a[_0x1cdf62(0x1ad)]),{unitId:_0x495595,subUnitId:_0x51190b}=_0x5f2535,_0x32ef9a=[],_0x30e546=[];_0x32ef9a[_0x1cdf62(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x495595,'subUnitId':_0x51190b,'ranges':_0x33df86,'isSingle':_0x266502}});const _0x352dc8=[],_0x202da2={};return _0x33df86[_0x1cdf62(0x106)](_0x29e3b0=>{const _0x1a17d7=_0x1cdf62;_0x1b2173[_0x1a17d7(0x166)][_0x1a17d7(0xe2)](_0x29e3b0,(_0x3ea5be,_0x294ec1)=>{const _0x3c893c=_0x1a17d7,_0x42e447=_0x5177b1['getSparkline'](_0x495595,_0x51190b,_0x3ea5be,_0x294ec1);if(_0x42e447){const _0x4b8a2b=_0x5177b1[_0x3c893c(0x102)](_0x495595,_0x51190b,_0x42e447);_0x4b8a2b&&(_0x352dc8[_0x3c893c(0x168)](_0x42e447),_0x202da2[_0x42e447]={'config':_0x1b2173['Tools']['deepClone'](_0x4b8a2b[_0x3c893c(0x15d)]),'sparklines':_0x1b2173['Tools']['deepClone'](_0x4b8a2b[_0x3c893c(0x12e)][_0x3c893c(0x14a)]())});}});}),_0x30e546[_0x1cdf62(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x495595,'subUnitId':_0x51190b,'groupIds':_0x352dc8,'isSingle':!0x1}}),_0x30e546['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x495595,'subUnitId':_0x51190b,'sparklineConfigMap':_0x202da2}}),_0x1b2173['sequenceExecute'](_0x32ef9a,_0x5caa09),_0x4b16c9[_0x1cdf62(0x167)]({'unitID':_0x495595,'undoMutations':_0x30e546,'redoMutations':_0x32ef9a}),!0x0;}},_0xca187e={'id':_0x5a2fef(0x176),'type':_0x1b2173['CommandType'][_0x5a2fef(0x115)],'handler':(_0x28b627,_0x44e222)=>{const _0x460799=_0x5a2fef;if(!_0x44e222)return!0x1;const {unitId:_0x3308ba,subUnitId:_0x57e91b,groupIds:_0x3b37ad,config:_0x369d3b}=_0x44e222,_0x474914=_0x28b627[_0x460799(0x19e)](_0x576191[_0x460799(0x11b)]);return _0x3b37ad[_0x460799(0x106)](_0x5ee199=>{const _0x5bbab3=_0x460799,_0x340019=_0x474914['getSparklineById'](_0x3308ba,_0x57e91b,_0x5ee199);if(_0x340019){const _0x2e4068={'config':Object[_0x5bbab3(0x143)]({},_0x340019[_0x5bbab3(0x15d)],_0x369d3b['config']),'sparklines':new _0x1b2173[(_0x5bbab3(0x145))](_0x340019['sparklines'][_0x5bbab3(0x14a)]())};_0x474914[_0x5bbab3(0x189)](_0x3308ba,_0x57e91b,[_0x5ee199],_0x2e4068);}}),!0x0;}},_0x23c500={'id':_0x5a2fef(0x1bb),'type':_0x1b2173[_0x5a2fef(0x137)][_0x5a2fef(0xd1)],'handler':(_0x2b09d9,_0x1d71c9)=>{const _0x2abd22=_0x5a2fef;var _0x427eed,_0x33b218,_0x924de,_0x39e1cf;if(!_0x1d71c9)return!0x1;const _0x1f0001=_0x2b09d9[_0x2abd22(0x19e)](_0x1b2173[_0x2abd22(0x117)]),_0x340d95=_0x2b09d9[_0x2abd22(0x19e)](_0x2732da[_0x2abd22(0xde)]),_0x4de921=_0x2b09d9[_0x2abd22(0x19e)](_0x576191['SparklineDataSourceModel']),_0x5a169c=_0x2b09d9[_0x2abd22(0x19e)](_0x1b2173[_0x2abd22(0x1ca)]),_0x2a269a=_0x2b09d9[_0x2abd22(0x19e)](_0x1b2173['IUndoRedoService']),_0x44676b=_0x2732da[_0x2abd22(0x1b7)](_0x5a169c);if(!_0x44676b)return!0x1;const {unitId:_0x54d6d1,subUnitId:_0x3329e4}=_0x44676b,_0x226f8d=(_0x427eed=_0x1d71c9==null?void 0x0:_0x1d71c9['ranges'])!=null?_0x427eed:_0x340d95['getCurrentSelections']()[_0x2abd22(0x1b5)](_0x479086=>_0x479086[_0x2abd22(0x1ad)]),_0x26ef06=(_0x33b218=_0x4de921[_0x2abd22(0x13b)]()[_0x2abd22(0x111)][_0x2abd22(0x19e)](_0x54d6d1))==null?void 0x0:_0x33b218[_0x2abd22(0x19e)](_0x3329e4),{isChangeDataSource:_0x59389e,config:_0x4fa6cc,combine:_0x18abc8,unCombine:_0x4fa15a}=_0x1d71c9;if(_0x18abc8){const _0x228ff7=[],_0x4a2158=[];_0x228ff7[_0x2abd22(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'ranges':_0x226f8d,'isSingle':!0x0}});const _0x56c8fc='g_'+_0x1b2173['generateRandomId'](0x6),_0x25d0df=new _0x1b2173[(_0x2abd22(0x145))](),_0x4b4149=(_0x924de=_0x4de921[_0x2abd22(0x13b)]()[_0x2abd22(0x193)][_0x2abd22(0x19e)](_0x54d6d1))==null?void 0x0:_0x924de[_0x2abd22(0x19e)](_0x3329e4),_0x384c0d=new Set([_0x56c8fc]),_0x95c219={};return _0x226f8d[_0x2abd22(0x106)](_0x891031=>{const _0x31a655=_0x2abd22;var _0x543c0c,_0x2f5320;const {startRow:_0x15a554,endRow:_0x36dc5a,startColumn:_0x5b63e8,endColumn:_0x27e671}=_0x891031;for(let _0x5f1044=_0x15a554;_0x5f1044<=_0x36dc5a;_0x5f1044++)for(let _0x27d144=_0x5b63e8;_0x27d144<=_0x27e671;_0x27d144++){const _0x3fa107=(_0x543c0c=_0x26ef06==null?void 0x0:_0x26ef06[_0x31a655(0x132)]['getValue'](_0x5f1044,_0x27d144))==null?void 0x0:_0x543c0c['groupId'];if(_0x3fa107){_0x384c0d['add'](_0x3fa107);const _0x55a4ef=_0x4de921[_0x31a655(0x102)](_0x54d6d1,_0x3329e4,_0x3fa107);_0x55a4ef&&(_0x95c219[_0x3fa107]={'config':_0x1b2173[_0x31a655(0x101)][_0x31a655(0x12a)](_0x55a4ef[_0x31a655(0x15d)]),'sparklines':_0x1b2173['Tools'][_0x31a655(0x12a)](_0x55a4ef[_0x31a655(0x12e)]['clone']())});const _0xa71185=(_0x2f5320=_0x4b4149==null?void 0x0:_0x4b4149['get'](_0x3fa107))==null?void 0x0:_0x2f5320['sparklines'][_0x31a655(0xfa)](_0x5f1044,_0x27d144);_0xa71185&&_0x25d0df[_0x31a655(0x1b8)](_0x5f1044,_0x27d144,_0xa71185);}}}),_0x228ff7[_0x2abd22(0x168)]({'id':_0x377f2e['id'],'params':{'sparklineConfigMap':{[_0x56c8fc]:{'config':_0x1b2173['Tools'][_0x2abd22(0x12a)](_0x4fa6cc[_0x2abd22(0x15d)]),'sparklines':_0x25d0df[_0x2abd22(0x178)]()}},'unitId':_0x54d6d1,'subUnitId':_0x3329e4}}),_0x4a2158[_0x2abd22(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'isSingle':!0x1,'groupIds':Array[_0x2abd22(0x173)](_0x384c0d)}}),_0x4a2158[_0x2abd22(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':_0x95c219}}),_0x1b2173[_0x2abd22(0x1a3)](_0x228ff7,_0x1f0001),_0x2a269a[_0x2abd22(0x167)]({'unitID':_0x54d6d1,'undoMutations':_0x4a2158,'redoMutations':_0x228ff7}),!0x0;}else{if(_0x4fa15a){const _0x41de35=[],_0x1ae396=[];_0x41de35[_0x2abd22(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'ranges':_0x226f8d,'isSingle':!0x0}});const _0x2bbdb1=(_0x39e1cf=_0x4de921[_0x2abd22(0x13b)]()[_0x2abd22(0x193)][_0x2abd22(0x19e)](_0x54d6d1))==null?void 0x0:_0x39e1cf['get'](_0x3329e4),_0x10dd19={},_0x3f969d=new Set(),_0x4d0a91={};return _0x226f8d[_0x2abd22(0x106)](_0x1ebe8f=>{const _0x342239=_0x2abd22;var _0x1148c0,_0x77c4d6;const {startRow:_0x9d3f6d,endRow:_0x26b8a1,startColumn:_0x42862a,endColumn:_0xa46d36}=_0x1ebe8f;for(let _0xe8e6cb=_0x9d3f6d;_0xe8e6cb<=_0x26b8a1;_0xe8e6cb++)for(let _0x38fd19=_0x42862a;_0x38fd19<=_0xa46d36;_0x38fd19++){const _0x5e2cde=(_0x1148c0=_0x26ef06==null?void 0x0:_0x26ef06[_0x342239(0x132)]['getValue'](_0xe8e6cb,_0x38fd19))==null?void 0x0:_0x1148c0[_0x342239(0x1d6)];if(_0x5e2cde){const _0xd91ea=new _0x1b2173[(_0x342239(0x145))](),_0x44cee5='g_'+_0x1b2173['generateRandomId'](0x6);_0x3f969d[_0x342239(0x1ae)](_0x5e2cde),_0x3f969d[_0x342239(0x1ae)](_0x44cee5);const _0x33802c=_0x4de921[_0x342239(0x102)](_0x54d6d1,_0x3329e4,_0x5e2cde);_0x33802c&&(_0x4d0a91[_0x5e2cde]={'config':_0x1b2173[_0x342239(0x101)]['deepClone'](_0x33802c[_0x342239(0x15d)]),'sparklines':_0x1b2173[_0x342239(0x101)]['deepClone'](_0x33802c[_0x342239(0x12e)][_0x342239(0x14a)]())});const _0x16f561=(_0x77c4d6=_0x2bbdb1==null?void 0x0:_0x2bbdb1['get'](_0x5e2cde))==null?void 0x0:_0x77c4d6['sparklines'][_0x342239(0xfa)](_0xe8e6cb,_0x38fd19);_0x16f561&&_0xd91ea[_0x342239(0x1b8)](_0xe8e6cb,_0x38fd19,_0x16f561),_0x10dd19[_0x44cee5]={'sparklines':_0xd91ea['getMatrix'](),'config':_0x1b2173[_0x342239(0x101)][_0x342239(0x12a)](_0x4fa6cc[_0x342239(0x15d)])};}}}),_0x41de35['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':_0x10dd19}}),_0x1ae396['push']({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'isSingle':!0x1,'groupIds':Array[_0x2abd22(0x173)](_0x3f969d)}}),_0x1ae396[_0x2abd22(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':_0x4d0a91}}),_0x1b2173['sequenceExecute'](_0x41de35,_0x1f0001),_0x2a269a[_0x2abd22(0x167)]({'unitID':_0x54d6d1,'undoMutations':_0x1ae396,'redoMutations':_0x41de35}),!0x0;}}if(_0x59389e){const _0x592236=_0x1d71c9[_0x2abd22(0x105)];if(!_0x592236)return!0x1;const {groupId:_0x5ad7f4,sourceRanges:_0x3f73aa,targetRanges:_0x29d8bc,resetType:_0x1893ce,primary:_0x44b04e}=_0x592236,_0x51d7bd=[],_0x77a9ac=[];_0x51d7bd['push']({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'ranges':_0x226f8d,'isSingle':!0x1,'groupIds':[_0x5ad7f4]}}),_0x77a9ac[_0x2abd22(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'ranges':_0x226f8d,'isSingle':!0x1,'groupIds':[_0x5ad7f4]}});let _0x523c3a;_0x1893ce===_0x2abd22(0x1ac)?(_0x523c3a=new _0x1b2173[(_0x2abd22(0x145))](_0x4fa6cc['sparklines']['clone']()),_0x523c3a[_0x2abd22(0x1a5)](_0x44b04e[_0x2abd22(0x15e)],_0x44b04e[_0x2abd22(0x1b4)]),_0x523c3a['setValue'](_0x29d8bc[0x0][_0x2abd22(0x1c1)],_0x29d8bc[0x0][_0x2abd22(0x160)],_0x3f73aa[0x0])):_0x523c3a=_0x356661(_0x3f73aa,_0x29d8bc);const _0x42b75a={'config':_0x1b2173[_0x2abd22(0x101)]['deepClone'](_0x4fa6cc[_0x2abd22(0x15d)]),'sparklines':_0x523c3a[_0x2abd22(0x178)]()},_0x225b65={'config':_0x1b2173[_0x2abd22(0x101)][_0x2abd22(0x12a)](_0x4fa6cc['config']),'sparklines':_0x1b2173[_0x2abd22(0x101)][_0x2abd22(0x12a)](_0x4fa6cc[_0x2abd22(0x12e)][_0x2abd22(0x14a)]())};_0x51d7bd[_0x2abd22(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':{[_0x5ad7f4]:_0x42b75a}}}),_0x77a9ac[_0x2abd22(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':{[_0x5ad7f4]:_0x225b65}}}),_0x1b2173[_0x2abd22(0x1a3)](_0x51d7bd,_0x1f0001),_0x2a269a['pushUndoRedo']({'unitID':_0x54d6d1,'undoMutations':_0x77a9ac,'redoMutations':_0x51d7bd});}else{const _0x41a6f0=[],_0x563438=[],_0x5c56f7=new Set(),_0x2e1428={};_0x226f8d['forEach'](_0x477a8a=>{const _0xd9f904=_0x2abd22;var _0x47b4e6;const {startRow:_0x45bd06,endRow:_0x391743,startColumn:_0x4f7847,endColumn:_0x5a4b2f}=_0x477a8a;for(let _0x2c27b2=_0x45bd06;_0x2c27b2<=_0x391743;_0x2c27b2++)for(let _0x4c2ef0=_0x4f7847;_0x4c2ef0<=_0x5a4b2f;_0x4c2ef0++){const _0x4e8677=(_0x47b4e6=_0x26ef06==null?void 0x0:_0x26ef06['matrix']['getValue'](_0x2c27b2,_0x4c2ef0))==null?void 0x0:_0x47b4e6[_0xd9f904(0x1d6)];if(_0x4e8677){_0x5c56f7[_0xd9f904(0x1ae)](_0x4e8677);const _0x2bbadb=_0x4de921[_0xd9f904(0x102)](_0x54d6d1,_0x3329e4,_0x4e8677);_0x2bbadb&&(_0x2e1428[_0x4e8677]={'config':_0x1b2173[_0xd9f904(0x101)][_0xd9f904(0x12a)](_0x2bbadb[_0xd9f904(0x15d)]),'sparklines':_0x1b2173[_0xd9f904(0x101)]['deepClone'](_0x2bbadb[_0xd9f904(0x12e)][_0xd9f904(0x14a)]())});}}}),_0x563438[_0x2abd22(0x168)]({'id':_0xca187e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'groupIds':Array[_0x2abd22(0x173)](_0x5c56f7),'config':{'config':_0x1b2173[_0x2abd22(0x101)][_0x2abd22(0x12a)](_0x4fa6cc[_0x2abd22(0x15d)]),'sparklines':_0x4fa6cc[_0x2abd22(0x12e)][_0x2abd22(0x178)]()}}}),_0x41a6f0[_0x2abd22(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'isSingle':!0x1,'groupIds':Array[_0x2abd22(0x173)](_0x5c56f7)}}),_0x41a6f0['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x54d6d1,'subUnitId':_0x3329e4,'sparklineConfigMap':_0x2e1428}}),_0x1b2173[_0x2abd22(0x1a3)](_0x563438,_0x1f0001),_0x2a269a[_0x2abd22(0x167)]({'unitID':_0x54d6d1,'undoMutations':_0x41a6f0,'redoMutations':_0x563438});}return!0x0;}};var _0x18e5c9=Object[_0x5a2fef(0x136)],_0x12fb17=(_0x4d5c89,_0x4c3ee5,_0x2221ba,_0x59b43c)=>{const _0xe1a912=_0x5a2fef;for(var _0x143010=_0x59b43c>0x1?void 0x0:_0x59b43c?_0x18e5c9(_0x4c3ee5,_0x2221ba):_0x4c3ee5,_0x13c557=_0x4d5c89[_0xe1a912(0x120)]-0x1,_0x940b91;_0x13c557>=0x0;_0x13c557--)(_0x940b91=_0x4d5c89[_0x13c557])&&(_0x143010=_0x940b91(_0x143010)||_0x143010);return _0x143010;},_0x30ff90=(_0x55af45,_0x2d6441)=>(_0x103dea,_0x599cb8)=>_0x2d6441(_0x103dea,_0x599cb8,_0x55af45);let _0x1fd50a=class extends _0x1b2173['Disposable']{constructor(_0x272253,_0x1b3197,_0x2b5e01,_0x5c371b){const _0x265b9b=_0x5a2fef;super(),this[_0x265b9b(0x116)]=_0x272253,this['_sheetInterceptorService']=_0x1b3197,this[_0x265b9b(0x15b)]=_0x2b5e01,this[_0x265b9b(0x10d)]=_0x5c371b,this[_0x265b9b(0xee)]();}[_0x5a2fef(0xee)](){const _0x73636=_0x5a2fef;this[_0x73636(0x11e)](this[_0x73636(0x172)][_0x73636(0x1af)]({'getMutations':_0x346825=>{const _0x2f4ed2=_0x73636,_0x5c6228=[],_0x35e431=[];if(_0x346825['id']===_0x2732da['ClearSelectionAllCommand']['id']){const _0x3e4560=_0x2732da['getSheetCommandTarget'](this[_0x2f4ed2(0x15b)]);if(!_0x3e4560)return{'redos':_0x5c6228,'undos':_0x35e431};const {unitId:_0x3db4d6,subUnitId:_0x655c8e,worksheet:_0x1024ad}=_0x3e4560,_0x3119ef=this[_0x2f4ed2(0x10d)][_0x2f4ed2(0x12b)]()[_0x2f4ed2(0x1b5)](_0x314400=>_0x314400['range']),_0x2478fc=new Set(),_0x284840={},_0x27aa77={};_0x3119ef[_0x2f4ed2(0x106)](_0x255090=>{const _0x4f23c5=_0x2f4ed2;_0x1b2173['Range'][_0x4f23c5(0xe2)](_0x255090,(_0x94781,_0x52ea1b)=>{const _0x2e2e82=_0x4f23c5,_0x2bb653=this[_0x2e2e82(0x116)][_0x2e2e82(0x103)](_0x3db4d6,_0x655c8e,_0x94781,_0x52ea1b);if(_0x2bb653&&!_0x2478fc['has'](_0x2bb653)){const _0x12a921=this['_sparklineDataSourceModel'][_0x2e2e82(0x102)](_0x3db4d6,_0x655c8e,_0x2bb653);_0x12a921&&(_0x2478fc[_0x2e2e82(0x1ae)](_0x2bb653),_0x284840[_0x2bb653]={'config':_0x1b2173[_0x2e2e82(0x101)]['deepClone'](_0x12a921[_0x2e2e82(0x15d)]),'sparklines':_0x1b2173[_0x2e2e82(0x101)][_0x2e2e82(0x12a)](_0x12a921[_0x2e2e82(0x12e)][_0x2e2e82(0x14a)]())},_0x27aa77[_0x2bb653]={'config':_0x1b2173[_0x2e2e82(0x101)][_0x2e2e82(0x12a)](_0x12a921[_0x2e2e82(0x15d)]),'sparklines':_0x1b2173['Tools'][_0x2e2e82(0x12a)](_0x12a921['sparklines']['clone']())});}});}),Object[_0x2f4ed2(0x142)](_0x27aa77)['forEach'](_0xe275b1=>{const _0x127a3f=_0x2f4ed2,_0xdcaa1=_0xe275b1['sparklines'];new _0x1b2173['ObjectMatrix'](_0xdcaa1)[_0x127a3f(0xfb)]((_0x139962,_0x2ac125,_0x5b8f2d)=>{const _0x460333=_0x127a3f;_0x3119ef[_0x460333(0x124)](_0x5cb4c5=>_0x1b2173[_0x460333(0x191)][_0x460333(0x1b6)](_0x5cb4c5,_0x1b2173[_0x460333(0x152)](_0x139962,_0x2ac125)))&&delete _0xdcaa1[_0x139962][_0x2ac125];});}),_0x5c6228[_0x2f4ed2(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x3db4d6,'subUnitId':_0x655c8e,'groupIds':Array[_0x2f4ed2(0x173)](_0x2478fc),'isSingle':!0x1}}),_0x5c6228['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x3db4d6,'subUnitId':_0x655c8e,'sparklineConfigMap':_0x27aa77}}),_0x35e431[_0x2f4ed2(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x3db4d6,'subUnitId':_0x655c8e,'groupIds':Array[_0x2f4ed2(0x173)](_0x2478fc),'isSingle':!0x1}}),_0x35e431['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x3db4d6,'subUnitId':_0x655c8e,'sparklineConfigMap':_0x284840}});}return{'redos':_0x5c6228,'undos':_0x35e431};}}));}};_0x1fd50a=_0x12fb17([_0x30ff90(0x0,_0x1b2173['Inject'](_0x576191[_0x5a2fef(0x11b)])),_0x30ff90(0x1,_0x1b2173['Inject'](_0x2732da['SheetInterceptorService'])),_0x30ff90(0x2,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x1ca)])),_0x30ff90(0x3,_0x1b2173[_0x5a2fef(0x1a2)](_0x2732da[_0x5a2fef(0xde)]))],_0x1fd50a);var _0x425195=Object[_0x5a2fef(0x136)],_0x5ebae3=(_0xa27c3e,_0x242232,_0x52c52a,_0x172e20)=>{for(var _0x33642b=_0x172e20>0x1?void 0x0:_0x172e20?_0x425195(_0x242232,_0x52c52a):_0x242232,_0x559284=_0xa27c3e['length']-0x1,_0x22894e;_0x559284>=0x0;_0x559284--)(_0x22894e=_0xa27c3e[_0x559284])&&(_0x33642b=_0x22894e(_0x33642b)||_0x33642b);return _0x33642b;},_0x41873c=(_0x2cd1c9,_0x48c4a1)=>(_0x5cb3a3,_0x1518f2)=>_0x48c4a1(_0x5cb3a3,_0x1518f2,_0x2cd1c9);let _0x461d75=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x34c766,_0x2300fe,_0x5bb2d0){const _0x271ea5=_0x5a2fef;super(),this[_0x271ea5(0x107)]=_0x34c766,this['_sparklineDataSourceModel']=_0x2300fe,this['_exclusiveRangeService']=_0x5bb2d0,this['_initDataChangeListener'](),this[_0x271ea5(0x17d)]();}[_0x5a2fef(0x146)](){const _0xddb121=_0x5a2fef;this['disposeWithMe'](this[_0xddb121(0x107)][_0xddb121(0x16d)](_0x2057a5=>{const _0x8e051=_0xddb121;if(_0x2057a5['id']===_0x2732da[_0x8e051(0xef)]['id']){const _0x3027a8=_0x2057a5[_0x8e051(0x1d5)],{cellValue:_0x2343be,unitId:_0x3fd40b,subUnitId:_0x37f017}=_0x3027a8,_0x2875e8=new _0x1b2173[(_0x8e051(0x145))](_0x2343be),_0x4e52e7=new Set(),_0x20d772=this['_sparklineDataSourceModel'][_0x8e051(0x1d0)](_0x3fd40b,_0x37f017);if(!_0x20d772)return;const _0x11e9bf=Array[_0x8e051(0x173)](_0x20d772);_0x2875e8[_0x8e051(0xfb)]((_0x37a0d4,_0x145ef5,_0x1d2c79)=>{const _0x1ecf9b=_0x8e051,_0x408bb4=_0x1b2173['cellToRange'](_0x37a0d4,_0x145ef5);for(let _0x2e56cd=0x0;_0x2e56cd<_0x11e9bf[_0x1ecf9b(0x120)];_0x2e56cd++){const [_0x336742,_0x2b302e]=_0x11e9bf[_0x2e56cd],_0x43d1c8=_0x4e52e7['has'](_0x336742);_0x43d1c8||_0x2b302e[_0x1ecf9b(0x12e)][_0x1ecf9b(0xfb)]((_0x1fbada,_0x561069,_0x52d130)=>{const _0x17daa1=_0x1ecf9b,_0x1dd5be=_0x52d130;if(_0x1dd5be&&!_0x43d1c8&&_0x1b2173[_0x17daa1(0x191)][_0x17daa1(0x1b6)](_0x408bb4,_0x1dd5be))return _0x4e52e7[_0x17daa1(0x1ae)](_0x336742),!0x0;});}}),_0x4e52e7['forEach'](_0x370684=>{const _0x4a601a=_0x8e051;this[_0x4a601a(0x116)]['clearSparklineCache'](_0x3fd40b,_0x37f017,_0x370684),this[_0x4a601a(0x116)][_0x4a601a(0x1c4)](_0x3fd40b,_0x37f017,_0x370684);});}else{if(_0x2057a5['id']===_0x2732da[_0x8e051(0xfd)]['id']){const _0x5ad90b=_0x2057a5[_0x8e051(0x1d5)],{range:_0x18c911,unitId:_0x650a9f,subUnitId:_0x1a821c}=_0x5ad90b,_0x35eb4b=new Set(),_0x49ffd9=this[_0x8e051(0x116)][_0x8e051(0x1d0)](_0x650a9f,_0x1a821c);if(!_0x49ffd9)return;const _0x437050=Array[_0x8e051(0x173)](_0x49ffd9);for(let _0x4b31c3=0x0;_0x4b31c3<_0x437050[_0x8e051(0x120)];_0x4b31c3++){const [_0x5e6987,_0x73ee5e]=_0x437050[_0x4b31c3],_0xa10173=_0x35eb4b[_0x8e051(0x11d)](_0x5e6987);_0xa10173||_0x73ee5e[_0x8e051(0x12e)]['forValue']((_0x44110a,_0x56068e,_0x492018)=>{const _0x5098fa=_0x8e051,_0x520295=_0x492018;if(_0x520295&&!_0xa10173&&_0x1b2173['Rectangle'][_0x5098fa(0x1b6)](_0x18c911,_0x520295))return _0x35eb4b['add'](_0x5e6987),!0x0;});}_0x35eb4b[_0x8e051(0x106)](_0x6ceac6=>{const _0x17728d=_0x8e051;this[_0x17728d(0x116)][_0x17728d(0x199)](_0x650a9f,_0x1a821c,_0x6ceac6),this[_0x17728d(0x116)][_0x17728d(0x1c4)](_0x650a9f,_0x1a821c,_0x6ceac6);});}}}));}[_0x5a2fef(0x17d)](){const _0x5a93bc=_0x5a2fef;this['disposeWithMe'](this[_0x5a93bc(0xd8)][_0x5a93bc(0x149)][_0x5a93bc(0xfc)](_0x3023bd=>{const _0x121cfb=_0x5a93bc,{unitId:_0x5a787e,subUnitId:_0x3d20bb,ranges:_0x513e05}=_0x3023bd,_0x1ace92=this[_0x121cfb(0x116)][_0x121cfb(0x1d0)](_0x5a787e,_0x3d20bb);if(!_0x1ace92)return;const _0x5a2945=Array[_0x121cfb(0x173)](_0x1ace92),_0x530c86=new Set();for(let _0x4d30d6=0x0;_0x4d30d6<_0x5a2945['length'];_0x4d30d6++){const [_0x3aaa9b,_0x3f61c4]=_0x5a2945[_0x4d30d6],_0xe88608=_0x530c86['has'](_0x3aaa9b);_0xe88608||_0x3f61c4[_0x121cfb(0x12e)]['forValue']((_0x476899,_0x2f87b5,_0x13818e)=>{const _0x26d7e2=_0x121cfb,_0x605499=_0x13818e;if(_0x605499&&!_0xe88608){for(const _0xf4ae79 of _0x513e05)if(_0x1b2173[_0x26d7e2(0x191)][_0x26d7e2(0x1b6)](_0xf4ae79,_0x605499)){_0x530c86[_0x26d7e2(0x1ae)](_0x3aaa9b);break;}}});}_0x530c86[_0x121cfb(0x106)](_0x5882dc=>{const _0x2afa48=_0x121cfb;this[_0x2afa48(0x116)][_0x2afa48(0x199)](_0x5a787e,_0x3d20bb,_0x5882dc),this[_0x2afa48(0x116)][_0x2afa48(0x1c4)](_0x5a787e,_0x3d20bb,_0x5882dc);});}));}};_0x461d75=_0x5ebae3([_0x41873c(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x117)])),_0x41873c(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x576191[_0x5a2fef(0x11b)])),_0x41873c(0x2,_0x1b2173['Inject'](_0x2732da[_0x5a2fef(0x162)]))],_0x461d75);var _0x4fb548=Object[_0x5a2fef(0x136)],_0x3cd3cb=(_0x5cb73f,_0x468197,_0x5d37d8,_0x211709)=>{for(var _0x480a9a=_0x211709>0x1?void 0x0:_0x211709?_0x4fb548(_0x468197,_0x5d37d8):_0x468197,_0x245497=_0x5cb73f['length']-0x1,_0x312f05;_0x245497>=0x0;_0x245497--)(_0x312f05=_0x5cb73f[_0x245497])&&(_0x480a9a=_0x312f05(_0x480a9a)||_0x480a9a);return _0x480a9a;},_0x4f8468=(_0x343cc1,_0x2733e8)=>(_0x1b0a50,_0x72fe43)=>_0x2733e8(_0x1b0a50,_0x72fe43,_0x343cc1);let _0x580d71=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x36cb89,_0x55abb5){const _0x5b7260=_0x5a2fef;super(),this[_0x5b7260(0x107)]=_0x36cb89,this[_0x5b7260(0x116)]=_0x55abb5,this[_0x5b7260(0x141)]();}['_initHideRowColWithSparkline'](){const _0x117315=_0x5a2fef;this[_0x117315(0x107)][_0x117315(0x16d)](_0x48b5d1=>{const _0x492ede=_0x117315;if(_0x48b5d1['id']===_0x2732da[_0x492ede(0x1d1)]['id']||_0x48b5d1['id']===_0x2732da['SetColHiddenMutation']['id']||_0x48b5d1['id']===_0x2732da['SetRowVisibleMutation']['id']||_0x48b5d1['id']===_0x2732da[_0x492ede(0x1cb)]['id']){const _0x1a2612=_0x48b5d1[_0x492ede(0x1d5)],{ranges:_0x4ea4fe,unitId:_0x2b5bb7,subUnitId:_0x3f5611}=_0x1a2612,_0x184375=new Set(),_0x55b25c=this[_0x492ede(0x116)][_0x492ede(0x1d0)](_0x2b5bb7,_0x3f5611);if(!_0x55b25c)return;const _0x324c4e=Array[_0x492ede(0x173)](_0x55b25c);_0x4ea4fe[_0x492ede(0x106)](_0x4e4986=>{const _0x546637=_0x492ede;_0x1b2173[_0x546637(0x166)]['foreach'](_0x4e4986,(_0x1cd60e,_0xbbf5b1)=>{const _0x488806=_0x546637,_0x44d7f8=_0x1b2173[_0x488806(0x152)](_0x1cd60e,_0xbbf5b1);for(let _0x3d0fc7=0x0;_0x3d0fc7<_0x324c4e['length'];_0x3d0fc7++){const [_0x1c9998,_0x100474]=_0x324c4e[_0x3d0fc7],_0x165c2a=_0x184375['has'](_0x1c9998);_0x165c2a||_0x100474[_0x488806(0x12e)][_0x488806(0xfb)]((_0x1f476c,_0x573d5b,_0x2fe5b0)=>{const _0xe65cac=_0x488806,_0x1b91aa=_0x2fe5b0;if(_0x1b91aa&&!_0x165c2a&&_0x1b2173['Rectangle'][_0xe65cac(0x1b6)](_0x44d7f8,_0x1b91aa))return _0x184375[_0xe65cac(0x1ae)](_0x1c9998),!0x0;});}});}),_0x184375[_0x492ede(0x106)](_0x52b80c=>{const _0x175ea1=_0x492ede;this[_0x175ea1(0x116)][_0x175ea1(0x199)](_0x2b5bb7,_0x3f5611,_0x52b80c),this[_0x175ea1(0x116)][_0x175ea1(0x1c4)](_0x2b5bb7,_0x3f5611,_0x52b80c);});}});}};_0x580d71=_0x3cd3cb([_0x4f8468(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x117)])),_0x4f8468(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x576191[_0x5a2fef(0x11b)]))],_0x580d71);var _0x2a0884=Object[_0x5a2fef(0x136)],_0x511c92=(_0x4da36a,_0x9e73a,_0x509956,_0xf26cc7)=>{const _0x4ce023=_0x5a2fef;for(var _0x3a99b9=_0xf26cc7>0x1?void 0x0:_0xf26cc7?_0x2a0884(_0x9e73a,_0x509956):_0x9e73a,_0x3c1571=_0x4da36a[_0x4ce023(0x120)]-0x1,_0x49e0f9;_0x3c1571>=0x0;_0x3c1571--)(_0x49e0f9=_0x4da36a[_0x3c1571])&&(_0x3a99b9=_0x49e0f9(_0x3a99b9)||_0x3a99b9);return _0x3a99b9;},_0x125b9d=(_0x33b016,_0x244ea6)=>(_0x32c996,_0x381c7a)=>_0x244ea6(_0x32c996,_0x381c7a,_0x33b016);let _0x440a52=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x550a3e,_0x2cd296,_0x363fe3){const _0x54ced1=_0x5a2fef;super(),this[_0x54ced1(0x107)]=_0x550a3e,this[_0x54ced1(0x172)]=_0x2cd296,this[_0x54ced1(0x116)]=_0x363fe3,this[_0x54ced1(0x110)]();}['_initMergeWithSparkline'](){const _0x487324=_0x5a2fef;this[_0x487324(0x11e)](this[_0x487324(0x172)]['interceptCommand']({'getMutations':_0x480f88=>{const _0x2ebb4e=_0x487324,_0x4dcfe7=[],_0x3df57f=[];if(_0x480f88['id']===_0x2732da[_0x2ebb4e(0x128)]['id']){const _0x3f4c19=_0x480f88[_0x2ebb4e(0x1d5)];if(!_0x3f4c19)return{'redos':_0x4dcfe7,'undos':_0x3df57f};const {unitId:_0x217504,subUnitId:_0x39ad02,ranges:_0x428cd0}=_0x3f4c19,_0x150214=this[_0x2ebb4e(0x116)]['getSubUnitSparkline'](_0x217504,_0x39ad02);if(!_0x150214)return{'redos':_0x4dcfe7,'undos':_0x3df57f};const _0x44df9a={},_0x48061f={},_0x364ebf=new Set();_0x428cd0[_0x2ebb4e(0x106)](_0x45e608=>{const _0x446b45=_0x2ebb4e,_0xecddd8=_0x45e608[_0x446b45(0x1c1)],_0x251c17=_0x45e608['startColumn'];_0x1b2173['Range']['foreach'](_0x45e608,(_0x17cc7e,_0x40f756)=>{const _0x3620cd=_0x446b45,_0x496d11=this[_0x3620cd(0x116)][_0x3620cd(0x103)](_0x217504,_0x39ad02,_0x17cc7e,_0x40f756);if(_0x496d11&&!(_0x17cc7e===_0xecddd8&&_0x40f756===_0x251c17)){const _0x172b59=this['_sparklineDataSourceModel'][_0x3620cd(0x102)](_0x217504,_0x39ad02,_0x496d11);if(_0x172b59){_0x364ebf['add'](_0x496d11);let _0x1aaa39=_0x44df9a[_0x496d11];_0x1aaa39||(_0x1aaa39={'config':_0x1b2173[_0x3620cd(0x101)][_0x3620cd(0x12a)](_0x172b59[_0x3620cd(0x15d)]),'sparklines':new _0x1b2173[(_0x3620cd(0x145))](_0x172b59[_0x3620cd(0x12e)]['clone']())},_0x44df9a[_0x496d11]=_0x1aaa39),_0x1aaa39[_0x3620cd(0x12e)][_0x3620cd(0x1a5)](_0x17cc7e,_0x40f756),_0x48061f[_0x496d11]={'config':_0x1b2173[_0x3620cd(0x101)][_0x3620cd(0x12a)](_0x172b59[_0x3620cd(0x15d)]),'sparklines':_0x1b2173[_0x3620cd(0x101)][_0x3620cd(0x12a)](_0x172b59[_0x3620cd(0x12e)][_0x3620cd(0x14a)]())};}}});});for(const [_0x59d5a2,_0x84ca48]of _0x150214){const _0x5c37af=_0x84ca48['sparklines'];_0x5c37af[_0x2ebb4e(0xfb)]((_0x5aa996,_0x42dfa7,_0x5890db)=>{const _0x4d58bc=_0x2ebb4e;for(let _0x16d289=0x0;_0x16d289<_0x428cd0[_0x4d58bc(0x120)];_0x16d289++){const _0x3e610b=_0x428cd0[_0x16d289];if(_0x1b2173['Rectangle'][_0x4d58bc(0x15f)](_0x3e610b,_0x5890db)){_0x364ebf['add'](_0x59d5a2);let _0x429828=_0x44df9a[_0x59d5a2];_0x429828||(_0x429828={'config':_0x1b2173['Tools'][_0x4d58bc(0x12a)](_0x84ca48[_0x4d58bc(0x15d)]),'sparklines':new _0x1b2173[(_0x4d58bc(0x145))](_0x5c37af[_0x4d58bc(0x14a)]())},_0x44df9a[_0x59d5a2]=_0x429828),_0x429828[_0x4d58bc(0x12e)]['realDeleteValue'](_0x5aa996,_0x42dfa7),_0x48061f[_0x59d5a2]||(_0x48061f[_0x59d5a2]={'config':_0x1b2173[_0x4d58bc(0x101)][_0x4d58bc(0x12a)](_0x84ca48[_0x4d58bc(0x15d)]),'sparklines':_0x1b2173[_0x4d58bc(0x101)][_0x4d58bc(0x12a)](_0x5c37af[_0x4d58bc(0x14a)]())});}}});}const _0x5e7b6a={};Object[_0x2ebb4e(0x150)](_0x44df9a)[_0x2ebb4e(0x106)](([_0x49ccb3,_0x217fac])=>{const _0x452075=_0x2ebb4e;_0x217fac[_0x452075(0x12e)][_0x452075(0xf0)]()&&(_0x5e7b6a[_0x49ccb3]={'config':_0x217fac[_0x452075(0x15d)],'sparklines':_0x217fac[_0x452075(0x12e)][_0x452075(0x14a)]()});}),_0x364ebf[_0x2ebb4e(0x19c)]&&(_0x4dcfe7[_0x2ebb4e(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x217504,'subUnitId':_0x39ad02,'groupIds':Array[_0x2ebb4e(0x173)](_0x364ebf),'isSingle':!0x1}}),_0x3df57f[_0x2ebb4e(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x217504,'subUnitId':_0x39ad02,'groupIds':Array[_0x2ebb4e(0x173)](_0x364ebf),'isSingle':!0x1}}),_0x4dcfe7['push']({'id':_0x377f2e['id'],'params':{'unitId':_0x217504,'subUnitId':_0x39ad02,'sparklineConfigMap':_0x5e7b6a}}),_0x3df57f[_0x2ebb4e(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x217504,'subUnitId':_0x39ad02,'sparklineConfigMap':_0x48061f}}));}return{'redos':_0x4dcfe7,'undos':_0x3df57f};}}));}};_0x440a52=_0x511c92([_0x125b9d(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173['ICommandService'])),_0x125b9d(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x2732da[_0x5a2fef(0x10b)])),_0x125b9d(0x2,_0x1b2173['Inject'](_0x576191[_0x5a2fef(0x11b)]))],_0x440a52);var _0x3cdec8=Object[_0x5a2fef(0x136)],_0x1b8d47=(_0x1a2c2f,_0x2f1310,_0x1d3314,_0x13cfcf)=>{for(var _0xa0a540=_0x13cfcf>0x1?void 0x0:_0x13cfcf?_0x3cdec8(_0x2f1310,_0x1d3314):_0x2f1310,_0x4b61ab=_0x1a2c2f['length']-0x1,_0x392328;_0x4b61ab>=0x0;_0x4b61ab--)(_0x392328=_0x1a2c2f[_0x4b61ab])&&(_0xa0a540=_0x392328(_0xa0a540)||_0xa0a540);return _0xa0a540;},_0x2a9e34=(_0x4dbaa4,_0x3528e6)=>(_0x4a6ae6,_0x51ef0f)=>_0x3528e6(_0x4a6ae6,_0x51ef0f,_0x4dbaa4);let _0x2d92ea=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x293090,_0x176f4a,_0x4401c2,_0x1dc78e){const _0x421648=_0x5a2fef;super(),_0x38c820(this,_0x421648(0x131),new _0x1b2173[(_0x421648(0xf2))]()),(this[_0x421648(0x107)]=_0x293090,this[_0x421648(0x186)]=_0x176f4a,this['_univerInstanceService']=_0x4401c2,this[_0x421648(0x116)]=_0x1dc78e,this[_0x421648(0xf6)](),this[_0x421648(0x19b)]());}[_0x5a2fef(0xf6)](){const _0xd9366d=_0x5a2fef,_0x3e52fd=(_0xd4dbd3,_0x557a1a)=>{const _0xab05b=_0x1f06,_0x23dad7=this[_0xab05b(0x15b)]['getCurrentUnitForType'](_0x1b2173[_0xab05b(0xd9)][_0xab05b(0xe8)]);if(!_0x23dad7||!(_0x23dad7==null?void 0x0:_0x23dad7[_0xab05b(0x13c)](_0x557a1a)))return;this[_0xab05b(0x131)]['dispose']();const _0xf82a97=_0x560cd3=>this[_0xab05b(0xe9)](_0x560cd3,_0xd4dbd3,_0x557a1a),_0x20d90b=[],_0x102ea=this[_0xab05b(0x116)][_0xab05b(0x1d0)](_0xd4dbd3,_0x557a1a);if(_0x102ea){for(const [_0x41f495,_0x36e65a]of _0x102ea)_0x36e65a[_0xab05b(0x12e)]['forValue']((_0x2331ec,_0x4cd450,_0x105898)=>{const _0x433e2d=_0xab05b,_0x57aeaa=_0x1b2173[_0x433e2d(0x152)](_0x2331ec,_0x4cd450);_0x20d90b['push'](_0x57aeaa);});_0x20d90b[_0xab05b(0x106)](_0x4d8a23=>{const _0x5b4348=_0xab05b;this[_0x5b4348(0x131)][_0x5b4348(0x1ae)](this[_0x5b4348(0x186)][_0x5b4348(0x109)](_0x4d8a23,_0xf82a97,_0xd4dbd3,_0x557a1a));});}};this[_0xd9366d(0x11e)](this['_commandService'][_0xd9366d(0x16d)](_0x3f8ab8=>{const _0x508b8d=_0xd9366d;if(_0x3f8ab8['id']===_0x2732da[_0x508b8d(0x1a0)]['id']){const _0x55e213=_0x3f8ab8[_0x508b8d(0x1d5)],_0x3e91d4=_0x55e213[_0x508b8d(0x177)],_0x11ad3e=_0x55e213['unitId'];if(!_0x3e91d4||!_0x11ad3e)return;_0x3e52fd(_0x11ad3e,_0x3e91d4);}if(_0x3f8ab8['id']===_0xca187e['id']||_0x3f8ab8['id']===_0x377f2e['id']){const _0x2dbec4=_0x3f8ab8[_0x508b8d(0x1d5)],_0x24d98e=_0x2dbec4['subUnitId'],_0x3054d5=_0x2dbec4[_0x508b8d(0x133)];if(!_0x24d98e||!_0x3054d5)return;_0x3e52fd(_0x3054d5,_0x24d98e);}}));}[_0x5a2fef(0xe9)](_0x4c02a8,_0x28a105,_0x25af6c){const _0x5bfbdf=_0x5a2fef;switch(_0x4c02a8['id']){case _0x2732da[_0x5bfbdf(0x185)]['id']:return this[_0x5bfbdf(0x1a6)](_0x4c02a8[_0x5bfbdf(0x1d5)],_0x28a105,_0x25af6c);case _0x2732da['RemoveRowCommand']['id']:return this[_0x5bfbdf(0x119)](_0x4c02a8[_0x5bfbdf(0x1d5)],_0x28a105,_0x25af6c);}return{'redos':[],'undos':[]};}[_0x5a2fef(0x119)](_0x3bc820,_0xb198a8,_0x269de9){const _0x424235=_0x5a2fef;var _0x43a77f,_0x36a591;const {range:_0x2081c3}=_0x3bc820,_0x48df43=new Set(),_0x45308c={},_0x3a1265={},_0x21d197=[],_0x2a7085=[],_0x2b2849=[],_0x5cc42e=[];if(!_0x2732da['getSheetCommandTarget'](this[_0x424235(0x15b)],{'unitId':_0xb198a8,'subUnitId':_0x269de9}))return{'redos':_0x2a7085,'undos':_0x21d197};const _0x3eabe0=this['_sparklineDataSourceModel'][_0x424235(0x1d0)](_0xb198a8,_0x269de9);if(!_0x3eabe0)return{'redos':_0x2a7085,'undos':_0x21d197};if(!((_0x36a591=(_0x43a77f=this[_0x424235(0x116)][_0x424235(0x13b)]()[_0x424235(0x111)][_0x424235(0x19e)](_0xb198a8))==null?void 0x0:_0x43a77f[_0x424235(0x19e)](_0x269de9))==null?void 0x0:_0x36a591['matrix']))return{'redos':_0x2a7085,'undos':_0x21d197};for(const [_0x164848,_0x3025df]of _0x3eabe0){const _0x251e80=_0x3025df[_0x424235(0x12e)];_0x251e80['forValue']((_0x49c39a,_0x4b7e62,_0x56fd35)=>{const _0x1f1875=_0x424235;if(_0x1b2173[_0x1f1875(0x191)]['intersects'](_0x2081c3,_0x56fd35)){_0x48df43[_0x1f1875(0x1ae)](_0x164848);let _0x1223c1=_0x3a1265[_0x164848];_0x1223c1||(_0x1223c1={'config':_0x3025df['config'],'sparklines':_0x3025df[_0x1f1875(0x12e)][_0x1f1875(0x14a)]()},_0x3a1265[_0x164848]=_0x1223c1);let _0x950433=_0x45308c[_0x164848];_0x950433||(_0x950433={'config':_0x3025df[_0x1f1875(0x15d)],'sparklines':new _0x1b2173['ObjectMatrix'](_0x3025df[_0x1f1875(0x12e)][_0x1f1875(0x14a)]())},_0x45308c[_0x164848]=_0x950433);const _0x2a245c=_0x2732da[_0x1f1875(0x17f)](_0x56fd35,{'id':_0x2732da['RemoveRowMutation']['id'],'params':_0x3bc820});_0x2a245c?_0x950433[_0x1f1875(0x12e)][_0x1f1875(0x1b8)](_0x49c39a,_0x4b7e62,_0x2a245c):_0x950433[_0x1f1875(0x12e)]['setValue'](_0x49c39a,_0x4b7e62,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173['RANGE_TYPE']['NORMAL']});}}),_0x251e80[_0x424235(0xfb)]((_0x222d12,_0x324645,_0x3ff157)=>{const _0x57c3a9=_0x424235;if(_0x222d12<=_0x2081c3[_0x57c3a9(0x19f)]&&_0x222d12>=_0x2081c3[_0x57c3a9(0x1c1)]){_0x48df43['add'](_0x164848);let _0x27a17d=_0x3a1265[_0x164848];_0x27a17d||(_0x27a17d={'config':_0x3025df[_0x57c3a9(0x15d)],'sparklines':_0x3025df['sparklines'][_0x57c3a9(0x14a)]()},_0x3a1265[_0x164848]=_0x27a17d);let _0x689062=_0x45308c[_0x164848];_0x689062||(_0x689062={'config':_0x3025df[_0x57c3a9(0x15d)],'sparklines':new _0x1b2173['ObjectMatrix'](_0x3025df[_0x57c3a9(0x12e)][_0x57c3a9(0x14a)]())},_0x45308c[_0x164848]=_0x689062);}});}_0x5cc42e[_0x424235(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0xb198a8,'subUnitId':_0x269de9,'groupIds':Array[_0x424235(0x173)](_0x48df43),'isSingle':!0x1}}),_0x2b2849[_0x424235(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0xb198a8,'subUnitId':_0x269de9,'groupIds':Array[_0x424235(0x173)](_0x48df43),'isSingle':!0x1}});const _0x428007={};let _0x3f4027=!0x1;return Object[_0x424235(0x150)](_0x45308c)[_0x424235(0x106)](([_0xac8e78,_0x22f41d])=>{const _0x312942=_0x424235;_0x22f41d[_0x312942(0x12e)]['getSizeOf']()&&(_0x3f4027=!0x0,_0x22f41d[_0x312942(0x12e)][_0x312942(0xf9)](_0x2081c3[_0x312942(0x1c1)],_0x2081c3[_0x312942(0x19f)]-_0x2081c3['startRow']+0x1),_0x428007[_0xac8e78]={'config':_0x22f41d[_0x312942(0x15d)],'sparklines':_0x22f41d[_0x312942(0x12e)][_0x312942(0x14a)]()});}),_0x3f4027&&_0x2a7085['push']({'id':_0x377f2e['id'],'params':{'unitId':_0xb198a8,'subUnitId':_0x269de9,'sparklineConfigMap':_0x428007}}),_0x21d197[_0x424235(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0xb198a8,'subUnitId':_0x269de9,'sparklineConfigMap':_0x3a1265}}),{'redos':_0x2a7085,'undos':_0x21d197,'preRedos':_0x2b2849,'preUndos':_0x5cc42e};}[_0x5a2fef(0x1a6)](_0x224d58,_0x24ccb8,_0x5054ca){const _0xaa7316=_0x5a2fef;var _0x2d148c,_0x776332;const {range:_0x1bc748}=_0x224d58,_0x48a8cf=new Set(),_0xa03b58={},_0x1fcc31={},_0x12bff7=[],_0x622ffd=[],_0x5f21c8=[],_0x300b72=[];if(!_0x2732da[_0xaa7316(0x1b7)](this[_0xaa7316(0x15b)],{'unitId':_0x24ccb8,'subUnitId':_0x5054ca}))return{'redos':_0x622ffd,'undos':_0x12bff7};const _0x38c54e=this['_sparklineDataSourceModel'][_0xaa7316(0x1d0)](_0x24ccb8,_0x5054ca);if(!_0x38c54e)return{'redos':_0x622ffd,'undos':_0x12bff7};if(!((_0x776332=(_0x2d148c=this[_0xaa7316(0x116)][_0xaa7316(0x13b)]()[_0xaa7316(0x111)][_0xaa7316(0x19e)](_0x24ccb8))==null?void 0x0:_0x2d148c[_0xaa7316(0x19e)](_0x5054ca))==null?void 0x0:_0x776332[_0xaa7316(0x132)]))return{'redos':_0x622ffd,'undos':_0x12bff7};for(const [_0x7c975c,_0x37e613]of _0x38c54e){const _0x577221=_0x37e613[_0xaa7316(0x12e)];_0x577221[_0xaa7316(0xfb)]((_0x568bbc,_0x38a3ab,_0x4c886b)=>{const _0x3c4476=_0xaa7316;if(_0x1b2173[_0x3c4476(0x191)][_0x3c4476(0x1b6)](_0x1bc748,_0x4c886b)){_0x48a8cf[_0x3c4476(0x1ae)](_0x7c975c);let _0x3e4e38=_0x1fcc31[_0x7c975c];_0x3e4e38||(_0x3e4e38={'config':_0x37e613['config'],'sparklines':_0x37e613[_0x3c4476(0x12e)][_0x3c4476(0x14a)]()},_0x1fcc31[_0x7c975c]=_0x3e4e38);let _0x29bba5=_0xa03b58[_0x7c975c];_0x29bba5||(_0x29bba5={'config':_0x37e613[_0x3c4476(0x15d)],'sparklines':new _0x1b2173[(_0x3c4476(0x145))](_0x37e613['sparklines']['clone']())},_0xa03b58[_0x7c975c]=_0x29bba5);const _0x2dd0f4=_0x2732da['adjustRangeOnMutation'](_0x4c886b,{'id':_0x2732da[_0x3c4476(0x16a)]['id'],'params':_0x224d58});_0x2dd0f4?_0x29bba5['sparklines']['setValue'](_0x568bbc,_0x38a3ab,_0x2dd0f4):_0x29bba5[_0x3c4476(0x12e)][_0x3c4476(0x1b8)](_0x568bbc,_0x38a3ab,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173[_0x3c4476(0x10e)][_0x3c4476(0x11f)]});}}),_0x577221['forValue']((_0x408852,_0x57c8c8,_0x1c72fc)=>{const _0x10601e=_0xaa7316;if(_0x57c8c8<=_0x1bc748[_0x10601e(0x195)]&&_0x57c8c8>=_0x1bc748[_0x10601e(0x160)]){_0x48a8cf[_0x10601e(0x1ae)](_0x7c975c);let _0x38b522=_0x1fcc31[_0x7c975c];_0x38b522||(_0x38b522={'config':_0x37e613[_0x10601e(0x15d)],'sparklines':_0x37e613['sparklines'][_0x10601e(0x14a)]()},_0x1fcc31[_0x7c975c]=_0x38b522);let _0x16bc7e=_0xa03b58[_0x7c975c];_0x16bc7e||(_0x16bc7e={'config':_0x37e613[_0x10601e(0x15d)],'sparklines':new _0x1b2173[(_0x10601e(0x145))](_0x37e613[_0x10601e(0x12e)][_0x10601e(0x14a)]())},_0xa03b58[_0x7c975c]=_0x16bc7e);}});}_0x300b72[_0xaa7316(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x24ccb8,'subUnitId':_0x5054ca,'groupIds':Array[_0xaa7316(0x173)](_0x48a8cf),'isSingle':!0x1}}),_0x5f21c8[_0xaa7316(0x168)]({'id':_0x1c2dcb['id'],'params':{'unitId':_0x24ccb8,'subUnitId':_0x5054ca,'groupIds':Array[_0xaa7316(0x173)](_0x48a8cf),'isSingle':!0x1}});const _0x445226={};let _0x4a4616=!0x1;return Object[_0xaa7316(0x150)](_0xa03b58)[_0xaa7316(0x106)](([_0x1d52bc,_0x36073f])=>{const _0x581b18=_0xaa7316;_0x36073f[_0x581b18(0x12e)][_0x581b18(0xf0)]()&&(_0x4a4616=!0x0,_0x36073f[_0x581b18(0x12e)][_0x581b18(0x140)](_0x1bc748[_0x581b18(0x160)],_0x1bc748[_0x581b18(0x195)]-_0x1bc748['startColumn']+0x1),_0x445226[_0x1d52bc]={'config':_0x36073f[_0x581b18(0x15d)],'sparklines':_0x36073f[_0x581b18(0x12e)][_0x581b18(0x14a)]()});}),_0x4a4616&&_0x622ffd[_0xaa7316(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x24ccb8,'subUnitId':_0x5054ca,'sparklineConfigMap':_0x445226}}),_0x12bff7[_0xaa7316(0x168)]({'id':_0x377f2e['id'],'params':{'unitId':_0x24ccb8,'subUnitId':_0x5054ca,'sparklineConfigMap':_0x1fcc31}}),{'redos':_0x622ffd,'undos':_0x12bff7,'preRedos':_0x5f21c8,'preUndos':_0x300b72};}[_0x5a2fef(0x19b)](){const _0x5cbb84=_0x5a2fef;this[_0x5cbb84(0x11e)](this['_commandService'][_0x5cbb84(0x16d)](_0x16d394=>{const _0x1d8306=_0x5cbb84;if(_0x16d394['id']===_0x2732da['InsertColMutation']['id']){const _0x523230=_0x16d394['params'],{unitId:_0x9af6b7,subUnitId:_0x277e29,range:_0x336d3d}=_0x523230,_0x59bb37=_0x336d3d[_0x1d8306(0x160)],_0x36f2fc=_0x336d3d[_0x1d8306(0x195)]-_0x336d3d[_0x1d8306(0x160)]+0x1,_0x2f6c7d=this[_0x1d8306(0x116)][_0x1d8306(0x1d0)](_0x9af6b7,_0x277e29);if(!_0x2f6c7d)return;for(const [_0x17cba3,_0x4efaf9]of _0x2f6c7d){this[_0x1d8306(0x116)][_0x1d8306(0x199)](_0x9af6b7,_0x277e29,_0x17cba3);const _0xfa4ab3=_0x4efaf9['sparklines'];_0xfa4ab3[_0x1d8306(0xfb)]((_0x363d53,_0x53118e,_0x281b33)=>{const _0x45a4e2=_0x1d8306,_0x16dc92={..._0x281b33};_0x59bb37<=_0x16dc92[_0x45a4e2(0x160)]?(_0x16dc92[_0x45a4e2(0x160)]+=_0x36f2fc,_0x16dc92['endColumn']+=_0x36f2fc):_0x59bb37>_0x16dc92[_0x45a4e2(0x195)]||(_0x16dc92[_0x45a4e2(0x195)]+=_0x36f2fc),_0xfa4ab3[_0x45a4e2(0x1b8)](_0x363d53,_0x53118e,_0x16dc92);});const _0x31fcea=_0xfa4ab3[_0x1d8306(0x178)]();for(const _0x4a9eb in _0x31fcea){const _0xe1961c=_0x31fcea[Number(_0x4a9eb)];if(!_0xe1961c)continue;const _0x592eef=Object[_0x1d8306(0x11a)](_0xe1961c)[_0x1d8306(0x1b5)](Number),_0x481196=Math['max'](..._0x592eef);for(let _0x30733a=_0x481196;_0x30733a>=_0x59bb37;_0x30733a--)_0x30733a>=_0x59bb37&&_0xe1961c[_0x30733a]&&(_0xe1961c[_0x30733a+_0x36f2fc]=_0xe1961c[_0x30733a],delete _0xe1961c[_0x30733a]);}this['_sparklineDataSourceModel'][_0x1d8306(0x1c4)](_0x9af6b7,_0x277e29,_0x17cba3);}}else{if(_0x16d394['id']===_0x2732da[_0x1d8306(0xd3)]['id']){const _0xfb5b33=_0x16d394[_0x1d8306(0x1d5)],{unitId:_0x542ee8,subUnitId:_0x173b4c,range:_0x36339a}=_0xfb5b33,_0x2c43ef=_0x36339a[_0x1d8306(0x1c1)],_0x120428=_0x36339a['endRow']-_0x36339a[_0x1d8306(0x1c1)]+0x1,_0x585a20=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x542ee8,_0x173b4c);if(!_0x585a20)return;for(const [_0x18b816,_0x5141db]of _0x585a20){this[_0x1d8306(0x116)][_0x1d8306(0x199)](_0x542ee8,_0x173b4c,_0x18b816);const _0x2cab2f=_0x5141db[_0x1d8306(0x12e)];_0x2cab2f[_0x1d8306(0xfb)]((_0x5582c7,_0x47b358,_0x3f5e0f)=>{const _0x163076=_0x1d8306,_0x3a2d63={..._0x3f5e0f};_0x2c43ef<=_0x3a2d63[_0x163076(0x1c1)]?(_0x3a2d63['startRow']+=_0x120428,_0x3a2d63['endRow']+=_0x120428):_0x2c43ef>_0x3a2d63[_0x163076(0x19f)]||(_0x3a2d63['endRow']+=_0x120428),_0x2cab2f[_0x163076(0x1b8)](_0x5582c7,_0x47b358,_0x3a2d63);});const _0x5627b4=_0x2cab2f[_0x1d8306(0x178)](),_0x22461a=Object[_0x1d8306(0x11a)](_0x5627b4)[_0x1d8306(0x1b5)](Number),_0x1619e4=Math[_0x1d8306(0x122)](..._0x22461a);for(let _0x84d3ee=_0x1619e4;_0x84d3ee>=_0x2c43ef;_0x84d3ee--)_0x84d3ee>=_0x2c43ef&&_0x5627b4[_0x84d3ee]&&(_0x5627b4[_0x84d3ee+_0x120428]=_0x5627b4[_0x84d3ee],delete _0x5627b4[_0x84d3ee]);this[_0x1d8306(0x116)][_0x1d8306(0x1c4)](_0x542ee8,_0x173b4c,_0x18b816);}}else{if(_0x16d394['id']===_0x2732da[_0x1d8306(0x16a)]['id']){const _0x42fc41=_0x16d394[_0x1d8306(0x1d5)],{range:_0x73ae63,unitId:_0x4fdbb4,subUnitId:_0x107c43}=_0x42fc41,_0x216500=this['_sparklineDataSourceModel'][_0x1d8306(0x1d0)](_0x4fdbb4,_0x107c43);if(!_0x216500)return;for(const [_0x53b6e3,_0x1bd5a6]of _0x216500){const _0x3c48ba=_0x1bd5a6['sparklines'];_0x3c48ba[_0x1d8306(0xfb)]((_0x2616ac,_0x2fb7ba,_0x12dbaa)=>{const _0x1ffc29=_0x1d8306,_0x27877e=_0x2732da[_0x1ffc29(0x17f)](_0x12dbaa,_0x16d394);_0x27877e?_0x3c48ba['setValue'](_0x2616ac,_0x2fb7ba,_0x27877e):_0x3c48ba[_0x1ffc29(0x1b8)](_0x2616ac,_0x2fb7ba,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173[_0x1ffc29(0x10e)][_0x1ffc29(0x11f)]});}),_0x3c48ba[_0x1d8306(0x140)](_0x73ae63[_0x1d8306(0x160)],_0x73ae63[_0x1d8306(0x195)]-_0x73ae63[_0x1d8306(0x160)]+0x1);}this[_0x1d8306(0x116)][_0x1d8306(0xd0)](_0x4fdbb4,_0x107c43);}else{if(_0x16d394['id']===_0x2732da['RemoveRowMutation']['id']){const _0x44c4e6=_0x16d394[_0x1d8306(0x1d5)],{range:_0x3be6d0,unitId:_0x254c90,subUnitId:_0x533b07}=_0x44c4e6,_0x600e7c=this['_sparklineDataSourceModel'][_0x1d8306(0x1d0)](_0x254c90,_0x533b07);if(!_0x600e7c)return;for(const [_0x34faf9,_0x44f61f]of _0x600e7c){const _0x16017e=_0x44f61f['sparklines'];_0x16017e[_0x1d8306(0xfb)]((_0x19b60f,_0x55b65b,_0x4d81cf)=>{const _0x109681=_0x1d8306,_0x23e069=_0x2732da['adjustRangeOnMutation'](_0x4d81cf,_0x16d394);_0x23e069?_0x16017e[_0x109681(0x1b8)](_0x19b60f,_0x55b65b,_0x23e069):_0x16017e[_0x109681(0x1b8)](_0x19b60f,_0x55b65b,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173[_0x109681(0x10e)]['NORMAL']});}),_0x16017e[_0x1d8306(0xf9)](_0x3be6d0[_0x1d8306(0x1c1)],_0x3be6d0[_0x1d8306(0x19f)]-_0x3be6d0['startRow']+0x1);}this[_0x1d8306(0x116)]['reBuildAnchorCache'](_0x254c90,_0x533b07);}else{if(_0x16d394['id']===_0x2732da[_0x1d8306(0x18c)]['id']){const _0x167be0=_0x16d394['params'],{unitId:_0x3e6645,subUnitId:_0xee67e5,sourceRange:_0x13ce5d,targetRange:_0x286106}=_0x167be0,_0xddcb68=this['_sparklineDataSourceModel'][_0x1d8306(0x1d0)](_0x3e6645,_0xee67e5);if(!_0xddcb68)return;for(const [_0x1f0aa3,_0x59b09d]of _0xddcb68){const _0x5b4bda=_0x59b09d[_0x1d8306(0x12e)];_0x5b4bda[_0x1d8306(0xfb)]((_0x59acba,_0x30a98d,_0x2c045d)=>{const _0x373ceb=_0x1d8306,_0x11ada3=_0x2732da['adjustRangeOnMutation'](_0x2c045d,_0x16d394);_0x11ada3?_0x5b4bda[_0x373ceb(0x1b8)](_0x59acba,_0x30a98d,_0x11ada3):_0x5b4bda[_0x373ceb(0x1b8)](_0x59acba,_0x30a98d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173[_0x373ceb(0x10e)][_0x373ceb(0x11f)]});}),_0x5b4bda[_0x1d8306(0x197)](_0x13ce5d['startColumn'],_0x13ce5d[_0x1d8306(0x195)]-_0x13ce5d[_0x1d8306(0x160)]+0x1,_0x286106[_0x1d8306(0x160)]);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x3e6645,_0xee67e5);}else{if(_0x16d394['id']===_0x2732da[_0x1d8306(0x1aa)]['id']){const _0x8ecdf6=_0x16d394['params'],{unitId:_0x47d197,subUnitId:_0x2dbc65,sourceRange:_0x406e45,targetRange:_0x15db11}=_0x8ecdf6,_0x15f617=this['_sparklineDataSourceModel'][_0x1d8306(0x1d0)](_0x47d197,_0x2dbc65);if(!_0x15f617)return;for(const [_0x17240e,_0x2d836a]of _0x15f617){const _0x1ad990=_0x2d836a[_0x1d8306(0x12e)];_0x1ad990['forValue']((_0x498c7b,_0x585305,_0x576f5c)=>{const _0x14a5ec=_0x1d8306,_0x1b5b20=_0x2732da['adjustRangeOnMutation'](_0x576f5c,_0x16d394);_0x1b5b20?_0x1ad990[_0x14a5ec(0x1b8)](_0x498c7b,_0x585305,_0x1b5b20):_0x1ad990[_0x14a5ec(0x1b8)](_0x498c7b,_0x585305,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1b2173[_0x14a5ec(0x10e)][_0x14a5ec(0x11f)]});}),_0x1ad990[_0x1d8306(0x157)](_0x406e45[_0x1d8306(0x1c1)],_0x406e45['endRow']-_0x406e45['startRow']+0x1,_0x15db11[_0x1d8306(0x1c1)]);}this['_sparklineDataSourceModel'][_0x1d8306(0xd0)](_0x47d197,_0x2dbc65);}else{if(_0x16d394['id']===_0x2732da[_0x1d8306(0x18b)]['id']){const _0x4499cd=_0x16d394[_0x1d8306(0x1d5)],{fromRange:_0x3754e7,toRange:_0x1d4aad,unitId:_0x18148c,from:_0x4f6d7d,to:_0x4a5ed1}=_0x4499cd;if(_0x4f6d7d[_0x1d8306(0x177)]!==_0x4a5ed1[_0x1d8306(0x177)])return;const _0xd20431=_0x4f6d7d[_0x1d8306(0x177)],{startRow:_0x49f6ed,endRow:_0x615954,startColumn:_0x35c64a,endColumn:_0x14a4af}=_0x3754e7,{startRow:_0x1bdbba,startColumn:_0x409464}=_0x1d4aad,_0x392e3d=_0x1bdbba-_0x49f6ed,_0x28cb52=_0x409464-_0x35c64a,_0xb90434=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x18148c,_0xd20431);if(!(_0xb90434!=null&&_0xb90434[_0x1d8306(0x19c)]))return;for(let _0xe5e682=_0x49f6ed;_0xe5e682<=_0x615954;_0xe5e682++)for(let _0xc0c07c=_0x35c64a;_0xc0c07c<=_0x14a4af;_0xc0c07c++){const _0x10e3f2=this['_sparklineDataSourceModel'][_0x1d8306(0x103)](_0x18148c,_0xd20431,_0xe5e682,_0xc0c07c);if(_0x10e3f2){const _0x486eb3=this[_0x1d8306(0x116)]['getSparklineById'](_0x18148c,_0xd20431,_0x10e3f2);if(_0x486eb3){const _0x1aee83=_0x486eb3['sparklines'][_0x1d8306(0xfa)](_0xe5e682,_0xc0c07c);_0x1aee83&&(_0x486eb3['sparklines'][_0x1d8306(0x1b8)](_0xe5e682+_0x392e3d,_0xc0c07c+_0x28cb52,_0x1aee83),_0x486eb3['sparklines'][_0x1d8306(0x1a5)](_0xe5e682,_0xc0c07c));}}}for(const [_0x55f63f,_0x3a0e0b]of _0xb90434){const _0x163dec=_0x3a0e0b[_0x1d8306(0x12e)];_0x163dec[_0x1d8306(0xfb)]((_0xbd4d50,_0x3ec9a8,_0x1f6619)=>{const _0x27e16e=_0x1d8306,_0x4ebbf3={..._0x1f6619};_0x1b2173[_0x27e16e(0x191)][_0x27e16e(0x15f)](_0x3754e7,_0x1f6619)&&(_0x4ebbf3[_0x27e16e(0x1c1)]+=_0x392e3d,_0x4ebbf3[_0x27e16e(0x19f)]+=_0x392e3d,_0x4ebbf3[_0x27e16e(0x160)]+=_0x28cb52,_0x4ebbf3[_0x27e16e(0x195)]+=_0x28cb52),_0x163dec['setValue'](_0xbd4d50,_0x3ec9a8,_0x4ebbf3);});}this[_0x1d8306(0x116)][_0x1d8306(0xd0)](_0x18148c,_0xd20431);}}}}}}}}));}};_0x2d92ea=_0x1b8d47([_0x2a9e34(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x117)])),_0x2a9e34(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x2732da[_0x5a2fef(0x159)])),_0x2a9e34(0x2,_0x1b2173['IUniverInstanceService']),_0x2a9e34(0x3,_0x1b2173['Inject'](_0x576191[_0x5a2fef(0x11b)]))],_0x2d92ea);var _0x420ef0=Object[_0x5a2fef(0x136)],_0x4f1efd=(_0x49c452,_0x30ec83,_0x541dd6,_0x12feca)=>{const _0xb297d2=_0x5a2fef;for(var _0x2e8120=_0x12feca>0x1?void 0x0:_0x12feca?_0x420ef0(_0x30ec83,_0x541dd6):_0x30ec83,_0x4c6054=_0x49c452[_0xb297d2(0x120)]-0x1,_0xe1b4a5;_0x4c6054>=0x0;_0x4c6054--)(_0xe1b4a5=_0x49c452[_0x4c6054])&&(_0x2e8120=_0xe1b4a5(_0x2e8120)||_0x2e8120);return _0x2e8120;},_0x49886c=(_0x3948e8,_0x494c92)=>(_0x913776,_0xc311dc)=>_0x494c92(_0x913776,_0xc311dc,_0x3948e8);let _0x36457d=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x38d90b,_0x8ebab4,_0x1397c1){const _0x28ea33=_0x5a2fef;super(),this[_0x28ea33(0x15b)]=_0x38d90b,this[_0x28ea33(0x172)]=_0x8ebab4,this['_sparklineDataSourceModel']=_0x1397c1,this[_0x28ea33(0x16b)]();}[_0x5a2fef(0x16b)](){const _0x2d4903=_0x5a2fef;this[_0x2d4903(0x11e)](this[_0x2d4903(0x172)][_0x2d4903(0x1af)]({'getMutations':_0x195f07=>{const _0x5ee470=_0x2d4903;var _0x1eb475;if(_0x195f07['id']===_0x2732da[_0x5ee470(0xed)]['id']){const _0x561558=_0x195f07[_0x5ee470(0x1d5)],_0x2eb7c4=_0x561558['unitId']||this[_0x5ee470(0x15b)][_0x5ee470(0xdf)](_0x1b2173[_0x5ee470(0xd9)]['UNIVER_SHEET'])[_0x5ee470(0x18d)](),_0x2793dd=_0x561558[_0x5ee470(0x177)]||((_0x1eb475=this[_0x5ee470(0x15b)][_0x5ee470(0xdf)](_0x1b2173['UniverInstanceType'][_0x5ee470(0xe8)])[_0x5ee470(0x170)]())==null?void 0x0:_0x1eb475[_0x5ee470(0x139)]());if(!_0x2eb7c4||!_0x2793dd)return{'redos':[],'undos':[]};const _0x44746d=this[_0x5ee470(0x116)][_0x5ee470(0x1d0)](_0x2eb7c4,_0x2793dd);if(!_0x44746d)return{'redos':[],'undos':[]};const _0x7244f0=new Set(),_0x2d0c7e={};for(const [_0x553b0a,_0x2a1ff3]of _0x44746d)_0x7244f0[_0x5ee470(0x1ae)](_0x553b0a),_0x2d0c7e[_0x553b0a]={'config':_0x1b2173[_0x5ee470(0x101)][_0x5ee470(0x12a)](_0x2a1ff3[_0x5ee470(0x15d)]),'sparklines':_0x1b2173[_0x5ee470(0x101)]['deepClone'](_0x2a1ff3[_0x5ee470(0x12e)][_0x5ee470(0x14a)]())};if(_0x7244f0[_0x5ee470(0x19c)])return{'redos':[{'id':_0x1c2dcb['id'],'params':{'unitId':_0x2eb7c4,'subUnitId':_0x2793dd,'groupIds':Array['from'](_0x7244f0),'isSingle':!0x1}}],'undos':[{'id':_0x377f2e['id'],'params':{'unitId':_0x2eb7c4,'subUnitId':_0x2793dd,'sparklineConfigMap':_0x2d0c7e}}]};}else{if(_0x195f07['id']===_0x2732da[_0x5ee470(0x129)]['id']){const _0x442b27=_0x195f07[_0x5ee470(0x1d5)],{unitId:_0xcf5000,subUnitId:_0x4e400e,targetSubUnitId:_0x46042a}=_0x442b27;if(!_0xcf5000||!_0x4e400e||!_0x46042a)return{'redos':[],'undos':[]};const _0x222767=this[_0x5ee470(0x116)][_0x5ee470(0x1d0)](_0xcf5000,_0x4e400e);if(!_0x222767)return{'redos':[],'undos':[]};const _0x5e6aa3=new Set(),_0x3db023={};for(const [_0x6cd7b8,_0x5aa596]of _0x222767){const _0x450f8e='g_'+_0x1b2173[_0x5ee470(0x198)](0x6);_0x5e6aa3['add'](_0x6cd7b8),_0x3db023[_0x450f8e]={'config':_0x1b2173[_0x5ee470(0x101)][_0x5ee470(0x12a)](_0x5aa596[_0x5ee470(0x15d)]),'sparklines':_0x1b2173[_0x5ee470(0x101)][_0x5ee470(0x12a)](_0x5aa596[_0x5ee470(0x12e)]['clone']())};}if(_0x5e6aa3['size'])return{'redos':[{'id':_0x377f2e['id'],'params':{'unitId':_0xcf5000,'subUnitId':_0x46042a,'sparklineConfigMap':_0x3db023}}],'undos':[{'id':_0x1c2dcb['id'],'params':{'unitId':_0xcf5000,'subUnitId':_0x46042a,'groupIds':Array[_0x5ee470(0x173)](_0x5e6aa3),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x36457d=_0x4f1efd([_0x49886c(0x0,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x1ca)])),_0x49886c(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x2732da[_0x5a2fef(0x10b)])),_0x49886c(0x2,_0x1b2173[_0x5a2fef(0x1a2)](_0x576191['SparklineDataSourceModel']))],_0x36457d);var _0x418766=Object[_0x5a2fef(0x136)],_0xb2d897=(_0x2a366b,_0x52de6e,_0x33a424,_0x33e0d2)=>{for(var _0x5c61e6=_0x33e0d2>0x1?void 0x0:_0x33e0d2?_0x418766(_0x52de6e,_0x33a424):_0x52de6e,_0x2e287f=_0x2a366b['length']-0x1,_0x14ced0;_0x2e287f>=0x0;_0x2e287f--)(_0x14ced0=_0x2a366b[_0x2e287f])&&(_0x5c61e6=_0x14ced0(_0x5c61e6)||_0x5c61e6);return _0x5c61e6;},_0x57353d=(_0x5d6991,_0x321f55)=>(_0x36fa62,_0x5c3b15)=>_0x321f55(_0x36fa62,_0x5c3b15,_0x5d6991);let _0x55223b=class extends _0x1b2173[_0x5a2fef(0x151)]{constructor(_0x44ce36,_0x20171d){const _0x2dd4d8=_0x5a2fef;super(),this[_0x2dd4d8(0x187)]=_0x44ce36,this[_0x2dd4d8(0x116)]=_0x20171d,this[_0x2dd4d8(0x1c0)]();}['_initSnapshot'](){const _0x437121=_0x5a2fef,_0xa6289b=_0xc36623=>{const _0x229b8e=_0x1f06,_0xdac4d6=this[_0x229b8e(0x116)]['toJSON'](_0xc36623);return _0xdac4d6?JSON[_0x229b8e(0x1c8)](_0xdac4d6):'';},_0x173a97=_0x239a97=>_0x239a97?JSON[_0x437121(0x148)](_0x239a97):{};this[_0x437121(0x11e)](this[_0x437121(0x187)]['registerPluginResource']({'toJson':_0xa6289b,'parseJson':_0x173a97,'pluginName':_0x272a48,'businesses':[_0x1b2173[_0x437121(0xd9)][_0x437121(0xe8)]],'onLoad':(_0x53ece3,_0xa7b9fc)=>{const _0x1281d4=_0x437121;this[_0x1281d4(0x116)][_0x1281d4(0x1bd)](_0xa7b9fc);},'onUnLoad':_0x426a23=>{const _0x41d85f=_0x437121;this[_0x41d85f(0x116)][_0x41d85f(0x14f)](_0x426a23);}}));}};_0x55223b=_0xb2d897([_0x57353d(0x0,_0x1b2173['Inject'](_0x1b2173[_0x5a2fef(0xcf)])),_0x57353d(0x1,_0x1b2173[_0x5a2fef(0x1a2)](_0x576191[_0x5a2fef(0x11b)]))],_0x55223b);var _0x174c1b=Object['defineProperty'],_0x2ba5a8=Object[_0x5a2fef(0x136)],_0x1bc65c=(_0xd5a275,_0x431369,_0x1b7e6e)=>_0x431369 in _0xd5a275?_0x174c1b(_0xd5a275,_0x431369,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b7e6e}):_0xd5a275[_0x431369]=_0x1b7e6e,_0x1e8ffd=(_0x5e378f,_0x479e7a,_0x122794,_0x41fd90)=>{const _0x55a0ac=_0x5a2fef;for(var _0x4d43bd=_0x41fd90>0x1?void 0x0:_0x41fd90?_0x2ba5a8(_0x479e7a,_0x122794):_0x479e7a,_0x35d60e=_0x5e378f[_0x55a0ac(0x120)]-0x1,_0x46da35;_0x35d60e>=0x0;_0x35d60e--)(_0x46da35=_0x5e378f[_0x35d60e])&&(_0x4d43bd=_0x46da35(_0x4d43bd)||_0x4d43bd);return _0x4d43bd;},_0x59e4db=(_0x443d7e,_0xb14ed9)=>(_0x2ee91c,_0x5272cf)=>_0xb14ed9(_0x2ee91c,_0x5272cf,_0x443d7e),_0x32869c=(_0x468c3b,_0x4ecf90,_0x5a692c)=>_0x1bc65c(_0x468c3b,typeof _0x4ecf90!='symbol'?_0x4ecf90+'':_0x4ecf90,_0x5a692c);_0x576191[_0x5a2fef(0x17b)]=class extends _0x1b2173[_0x5a2fef(0x1b2)]{constructor(_0x593ec1={},_0x2d87fe,_0x64004b){const _0x257196=_0x5a2fef;super(),this[_0x257196(0x18e)]=_0x593ec1,this['_injector']=_0x2d87fe,this[_0x257196(0x107)]=_0x64004b,this['_initDependencies'](),this[_0x257196(0x19d)]();}[_0x5a2fef(0x10f)](){const _0x21c080=_0x5a2fef;[[_0x576191[_0x21c080(0x11b)]],[_0x461d75],[_0x440a52],[_0x1fd50a],[_0x2d92ea],[_0x580d71],[_0x36457d],[_0x55223b]][_0x21c080(0x106)](_0xf354d3=>{const _0x316713=_0x21c080;this[_0x316713(0x192)][_0x316713(0x1ae)](_0xf354d3);}),_0x1b2173['touchDependencies'](this[_0x21c080(0x192)],[[_0x55223b]]);}['onReady'](){const _0xbcf147=_0x5a2fef;_0x1b2173[_0xbcf147(0x1c6)](this[_0xbcf147(0x192)],[[_0x461d75],[_0x440a52],[_0x1fd50a],[_0x2d92ea],[_0x580d71],[_0x36457d]]);}[_0x5a2fef(0x19d)](){const _0x3f36ac=_0x5a2fef;[_0x43f462,_0x377f2e,_0x48eee6,_0x1c2dcb,_0x23c500,_0xca187e][_0x3f36ac(0x106)](_0x42f5e4=>this[_0x3f36ac(0x107)][_0x3f36ac(0x138)](_0x42f5e4));}},_0x32869c(_0x576191[_0x5a2fef(0x17b)],_0x5a2fef(0xd4),_0x272a48),_0x32869c(_0x576191[_0x5a2fef(0x17b)],_0x5a2fef(0x14d),_0x1b2173['UniverInstanceType'][_0x5a2fef(0xe8)]),_0x576191[_0x5a2fef(0x17b)]=_0x1e8ffd([_0x1b2173[_0x5a2fef(0xf7)](_0x46ff50[_0x5a2fef(0x118)]),_0x59e4db(0x1,_0x1b2173['Inject'](_0x1b2173[_0x5a2fef(0x125)])),_0x59e4db(0x2,_0x1b2173[_0x5a2fef(0x1a2)](_0x1b2173[_0x5a2fef(0x117)]))],_0x576191['UniverSheetSparklinePlugin']),_0x576191[_0x5a2fef(0x194)]=_0x43f462,_0x576191['AddSheetSparklineMutation']=_0x377f2e,_0x576191[_0x5a2fef(0x10c)]=_0x272a48,_0x576191['RemoveSheetSparklineCommand']=_0x48eee6,_0x576191[_0x5a2fef(0x1b1)]=_0x1c2dcb,_0x576191[_0x5a2fef(0x1a8)]=_0x23c500,_0x576191[_0x5a2fef(0xd2)]=_0xca187e,_0x576191[_0x5a2fef(0x130)]=_0x3b80f1,_0x576191[_0x5a2fef(0x183)]=_0x38cd11,_0x576191[_0x5a2fef(0xfe)]=_0x5013d7,_0x576191[_0x5a2fef(0xf3)]=_0x4b180b,_0x576191[_0x5a2fef(0x104)]=_0x561437,_0x576191[_0x5a2fef(0x147)]=_0x29643e,_0x576191[_0x5a2fef(0xeb)]=_0x356661,Object[_0x5a2fef(0x16e)](_0x576191,Symbol[_0x5a2fef(0x169)],{'value':_0x5a2fef(0x14e)});}));function _0x1f06(_0x3001b4,_0x4bf943){_0x3001b4=_0x3001b4-0xcf;const _0x2adf10=_0x2adf();let _0x1f06be=_0x2adf10[_0x3001b4];return _0x1f06be;}function _0x2adf(){const _0x393b21=['@univerjs/sheets','_sheetInterceptorService','from','getCellRaw','zero_value','sheet.mutation.set-sparkline','subUnitId','getMatrix','4256TKQHxq','UniverProSheetsSparkline','UniverSheetSparklinePlugin','_sparklineModel','_initExclusiveRangeChange','26GgxWVM','adjustRangeOnMutation','UniverProLicense','10VrTTHl','8297978rudxWR','SparklineExtremumTypeEnum','row','RemoveColCommand','_refRangeService','_resourceManagerService','2255787EVftco','setSparkline','lowPoint','MoveRangeMutation','MoveColsMutation','getUnitId','_config','SELF_EXTREMUM','getRowVisible','Rectangle','_injector','sparklineModel','AddSheetSparklineCommand','endColumn','UniverCore','moveColumns','generateRandomId','clearSparklineCache','CONNECT_WITH_LINE','_initCorrectRangeWithSparkline','size','_initRegisterCommand','get','endRow','SetWorksheetActivateCommand','582CrptBK','Inject','sequenceExecute','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','realDeleteValue','_getRefRangeMutationsByDeleteCols','CUSTOM','SetSheetSparklineCommand','distinctive','MoveRowsMutation','_ensureConfigMap','item','range','add','interceptCommand','remove','RemoveSheetSparklineMutation','Plugin','sheet.command.remove-sparkline','actualColumn','map','intersects','getSheetCommandTarget','setValue','containHiddenCells','PROFIT_AND_LOSS_CHART','sheet.command.set-sparkline','8JezMlV','fromJSON','rgb(244,104,249)','markersPoint','_initSnapshot','startRow','12HbJUoh','standard','updateSparklineExtraNum','getColVisible','touchDependencies','every','stringify','u-connect','IUniverInstanceService','SetColVisibleMutation','specialty','rgb(54,78,244)','extremumMax','_ensureAnchorMatrix','getSubUnitSparkline','SetRowHiddenMutation','FORCE_STRING','symbol','_updateConfig$','params','groupId','IResourceManagerService','reBuildAnchorCache','COMMAND','SetSheetSparklineMutation','InsertRowMutation','pluginName','number','column','UniverSheets','_exclusiveRangeService','UniverInstanceType','connect_with_line','next','CUSTOM_EXTREMUM','rgb(46,187,122)','SheetsSelectionsService','getCurrentUnitOfType','rgb(124,66,147)','themeType','foreach','STANDARD','ColorKit','u-spacing','set','LINE_CHART','UNIVER_SHEET','refRangeHandle','delete','getSparklinePlacement','custom','RemoveSheetCommand','_initClearWithSparkline','SetRangeValuesMutation','getSizeOf','3025649ynFYZd','DisposableCollection','SparklineThemeMapping','extremumMin','72785qDGuGX','_onRefRangeChange','DependentOn','firstPoint','removeRows','getValue','forValue','subscribe','ReorderRangeMutation','SparklinePointsNames','PIE_CHART','BAR_CHART','Tools','getSparklineById','getSparkline','SparklineThemeTypeEnum','changeDataSourceInfo','forEach','_commandService','_sparklineAnchorMap','registerRefRange','setAlpha','SheetInterceptorService','PLUGIN_NAME','_sheetSelectionService','RANGE_TYPE','_initDependencies','_initMergeWithSparkline','sparklineAnchorMap','value','soft','rgb(30,177,189)','MUTATION','_sparklineDataSourceModel','ICommandService','UniverLicensePlugin','_getRefRangeMutationsByDeleteRows','keys','SparklineDataSourceModel','emptyShowAs','has','disposeWithMe','NORMAL','length','rxjs','max','exports','some','Injector','rgb(236,100,169)','asObservable','AddWorksheetMergeCommand','CopySheetCommand','deepClone','getCurrentSelections','CellValueType','min','sparklines','BOOLEAN','SpacialShowAsEnum','disposableCollection','matrix','unitId','2096607buCtBj','spacing','getOwnPropertyDescriptor','CommandType','registerCommand','getSheetId','70106LQLMgO','getSparklineCache','getSheetBySheetId','addSparkline','getCell','ZERO_VALUE','removeColumns','_initHideRowColWithSparkline','values','assign','MAX_SAFE_INTEGER','ObjectMatrix','_initDataChangeListener','SparklineTypeEnum','parse','exclusiveRangesChange$','clone','7301IJOUcq','rgb(49,106,246)','type','Module','deleteUnit','entries','Disposable','cellToRange','STRING','toJSON','toRgbString','function','moveRows','rgb(80,102,248)','RefRangeService','sheet.mutation.add-sparkline','_univerInstanceService','object','config','actualRow','contains','startColumn','amd','IExclusiveRangeService','SPACING','highPoint','sheet.command.add-sparkline','Range','pushUndoRedo','push','toStringTag','RemoveColMutation','_initSheetChange','negativePoint','onCommandExecuted','defineProperty','MIN_SAFE_INTEGER','getActiveSheet'];_0x2adf=function(){return _0x393b21;};return _0x2adf();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.13.0-insiders.
|
|
3
|
+
"version": "0.13.0-insiders.20251218-2062647",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"rxjs": ">=7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@univerjs-pro/license": "0.13.0-insiders.
|
|
66
|
-
"@univerjs/core": "0.13.0-insiders.
|
|
67
|
-
"@univerjs/sheets": "0.13.0-insiders.
|
|
65
|
+
"@univerjs-pro/license": "0.13.0-insiders.20251218-2062647",
|
|
66
|
+
"@univerjs/core": "0.13.0-insiders.20251218-2062647",
|
|
67
|
+
"@univerjs/sheets": "0.13.0-insiders.20251218-2062647"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|