@univerjs-pro/sheets-sparkline 0.10.6-experimental.20250903-f52e3bf → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1d5e(_0x2eebf4,_0x16d966){const _0x48edfd=_0x48ed();return _0x1d5e=function(_0x1d5e8e,_0x28545c){_0x1d5e8e=_0x1d5e8e-0xf0;let _0x27fe0b=_0x48edfd[_0x1d5e8e];return _0x27fe0b;},_0x1d5e(_0x2eebf4,_0x16d966);}function _0x48ed(){const _0xe1076b=['endColumn','rgb(49,106,246)','actualColumn','rgb(30,177,189)','interceptCommand','2687937VbaZXo','row','config','rgb(46,187,122)','_initDependencies','PROFIT_AND_LOSS_CHART','FRESH','SetColVisibleMutation','params','getSheetCommandTarget','onReady','some','removeRows','7812243SSsfpT','keys','CopySheetCommand','@univerjs/core','SetColHiddenMutation','SparklinePointsNames','push','has','InsertRowMutation','ranges','matrix','next','SparklineThemeMapping','_initSnapshot','ColorKit','registerRefRange','SparklineTypeEnum','parse','toJSON','UniverInstanceType','subUnitId','STANDARD','asObservable','add','Module','UniverProSheetsSparkline','CUSTOM_EXTREMUM','SpacialShowAsEnum','3653151WLmyKp','BOOLEAN','ObjectMatrix','amd','set','_univerInstanceService','value','size','lastPoint','SheetsSelectionsService','_getRefRangeMutationsByDeleteRows','RemoveSheetSparklineMutation','forEach','extremumMin','highPoint','Plugin','defineProperty','_initClearWithSparkline','Injector','_sparklineAnchorMap','Inject','getSparkline','sheet.mutation.add-sparkline','exclusiveRangesChange$','endRow','_exclusiveRangeService','sequenceExecute','4516555amgBUc','@univerjs-pro/license','map','subscribe','Subject','dispose','groupId','foreach','sheet.mutation.remove-sparkline','7338144ZrZDPi','_updateConfig$','MoveColsMutation','MAX_SAFE_INTEGER','setAlpha','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','getSparklineCache','type','CONNECT_WITH_LINE','distinctive','DISTINCTIVE','deepClone','symbol','SheetInterceptorService','_initRegisterCommand','getCell','forValue','rgb(124,66,147)','AddWorksheetMergeCommand','soft','refRangeHandle','seriesColor','removeSparkline','entries','getCurrentSelections','pushUndoRedo','from','IResourceManagerService','rxjs','hasValue','extremumMax','nonNumShowAs','IUniverInstanceService','delete','SPACING','UniverSheets','RemoveRowMutation','ReorderRangeMutation','removePartSparkline','startColumn','clearSparklineCache','sparklineModel','Disposable','LINE_CHART','Rectangle','UNIVER_SHEET','getCellRaw','BAR_CHART','getSparklinePlacement','RANGE_TYPE','intersects','SparklineDataSourceModel','setValue','sparklineAnchorMap','length','_sheetInterceptorService','emptyShowAs','SHEET_SPARKLINE_PLUGIN','disposeWithMe','UniverLicensePlugin','min','changeDataSourceInfo','sheet.command.set-sparkline','SparklineExtremumTypeEnum','zero_value','1018232haMkNF','CellValueType','addSparkline','UniverProLicense','rgb(54,78,244)','IUndoRedoService','_initCorrectRangeWithSparkline','_commandService','RemoveRowCommand','actualRow','STRING','updateConfig$','sheet.command.add-sparkline','_initMergeWithSparkline','getRowVisible','_initHideRowColWithSparkline','rgb(252,117,60)','connect_with_line','startRow','updateSparklineExtraNum','standard','AddSheetSparklineCommand','_sheetSelectionService','u-connect','sparklines','disposableCollection','COMMAND','SetRowHiddenMutation','themeType','1690138MBFfOa','MoveRangeMutation','_sparklineModel','_initExclusiveRangeChange','SetRowVisibleMutation','getSparklineById','getSheetBySheetId','registerPluginResource','generateRandomId','AddSheetSparklineMutation','reBuildAnchorCache','NUMBER','realDeleteValue','_getRefRangeMutationsByDeleteCols','getCurrentUnitForType','get','range','IExclusiveRangeService','_ensureConfigMap','onCommandExecuted','fromJSON','_initDataChangeListener','_refRangeService','adjustRangeOnMutation','CommandType','_initCopySheetWithSparkline','@univerjs/sheets','getMatrix','_injector','6UCRNGO','assign','getOwnPropertyDescriptor','UniverCore','ZERO_VALUE','RefRangeService','MUTATION','RemoveColMutation','u-spacing','UniverSheetSparklinePlugin','getValue','number','Range','moveColumns','values','SELF_EXTREMUM','custom','clone','rgb(248,190,21)','MoveRowsMutation','getSubUnitSparkline','NORMAL','Tools','_onRefRangeChange','_ensureAnchorMatrix','lowPoint','negativePoint','rgb(80,102,248)','MIN_SAFE_INTEGER','PIE_CHART','getSizeOf','setSparkline','remove','spacing','4KujaKm','unitId','deleteUnit','_sparklineDataSourceModel','touchDependencies','moveRows','toRgbString','removeColumns','cellToRange','column','_resourceManagerService','ICommandService','RemoveColCommand','SOFT','max'];_0x48ed=function(){return _0xe1076b;};return _0x48ed();}(function(_0x46eecd,_0x505b23){const _0x38f2bd=_0x1d5e,_0x45281b=_0x46eecd();while(!![]){try{const _0x4af4f4=-parseInt(_0x38f2bd(0x13b))/0x1+-parseInt(_0x38f2bd(0x158))/0x2+-parseInt(_0x38f2bd(0x1d4))/0x3*(-parseInt(_0x38f2bd(0x197))/0x4)+parseInt(_0x38f2bd(0xf1))/0x5+-parseInt(_0x38f2bd(0x175))/0x6*(-parseInt(_0x38f2bd(0x1ab))/0x7)+parseInt(_0x38f2bd(0xfa))/0x8+-parseInt(_0x38f2bd(0x1b8))/0x9;if(_0x4af4f4===_0x505b23)break;else _0x45281b['push'](_0x45281b['shift']());}catch(_0x2dcd67){_0x45281b['push'](_0x45281b['shift']());}}}(_0x48ed,0xa8b0f),function(_0x4fc17a,_0x353a0a){const _0x41c6ad=_0x1d5e;typeof exports=='object'&&typeof module<'u'?_0x353a0a(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x41c6ad(0x1d7)]?define(['exports',_0x41c6ad(0x1bb),_0x41c6ad(0x172),_0x41c6ad(0x116),_0x41c6ad(0xf2)],_0x353a0a):(_0x4fc17a=typeof globalThis<'u'?globalThis:_0x4fc17a||self,_0x353a0a(_0x4fc17a[_0x41c6ad(0x1d1)]={},_0x4fc17a[_0x41c6ad(0x178)],_0x4fc17a[_0x41c6ad(0x11d)],_0x4fc17a['rxjs'],_0x4fc17a[_0x41c6ad(0x13e)]));}(this,function(_0x42b6d6,_0xb2cb8c,_0x1db331,_0x1402b1,_0x5301ff){'use strict';const _0x4dce4f=_0x1d5e;var _0x3eb54b=Object[_0x4dce4f(0x1e4)],_0x3eec00=(_0x2780ca,_0x3c33e7,_0x6f8bd9)=>_0x3c33e7 in _0x2780ca?_0x3eb54b(_0x2780ca,_0x3c33e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6f8bd9}):_0x2780ca[_0x3c33e7]=_0x6f8bd9,_0x560983=(_0x4a88c0,_0x494820,_0x3c031f)=>_0x3eec00(_0x4a88c0,typeof _0x494820!=_0x4dce4f(0x106)?_0x494820+'':_0x494820,_0x3c031f);function _0x48d5e9(_0x3c06c1,_0xae698b){const _0x563b13=_0x4dce4f,_0x36eb42=new _0xb2cb8c['ObjectMatrix'](),_0xd99b49=[],_0x44ef8a=_0x3c06c1[_0x563b13(0x130)]>0x1;let _0x20b8cf=0x0,_0x39ecf5=0x0;for(const _0x55058a of _0x3c06c1)_0x20b8cf+=_0x55058a[_0x563b13(0x1ec)]-_0x55058a[_0x563b13(0x14d)]+0x1,_0x39ecf5+=_0x55058a[_0x563b13(0x1a6)]-_0x55058a['startColumn']+0x1;for(const _0x7e140a of _0xae698b)for(let _0x1b72af=_0x7e140a[_0x563b13(0x14d)];_0x1b72af<=_0x7e140a[_0x563b13(0x1ec)];_0x1b72af++)for(let _0x14dc50=_0x7e140a[_0x563b13(0x121)];_0x14dc50<=_0x7e140a[_0x563b13(0x1a6)];_0x14dc50++)_0xd99b49['push']({'row':_0x1b72af,'column':_0x14dc50});if(_0xd99b49[_0x563b13(0x130)]===_0x20b8cf)_0x44ef8a?_0xd99b49[_0x563b13(0x1e0)]((_0x34cea9,_0x4f0bf6)=>{const _0x33931a=_0x563b13,_0x5ebef3=_0x3c06c1[_0x4f0bf6],_0x471cfa={'startRow':_0x5ebef3[_0x33931a(0x14d)],'startColumn':_0x5ebef3[_0x33931a(0x121)],'endRow':_0x5ebef3[_0x33931a(0x14d)],'endColumn':_0x5ebef3[_0x33931a(0x1a6)]};_0x36eb42[_0x33931a(0x12e)](_0x34cea9['row'],_0x34cea9[_0x33931a(0x1a0)],_0x471cfa);}):_0xd99b49[_0x563b13(0x1e0)]((_0x6e7e75,_0x3e52f1)=>{const _0x47d8cb=_0x563b13,_0x48c5a9=_0x3c06c1[0x0],_0x221252={'startRow':_0x48c5a9[_0x47d8cb(0x14d)]+_0x3e52f1,'startColumn':_0x48c5a9[_0x47d8cb(0x121)],'endRow':_0x48c5a9[_0x47d8cb(0x14d)]+_0x3e52f1,'endColumn':_0x48c5a9['endColumn']};_0x36eb42[_0x47d8cb(0x12e)](_0x6e7e75[_0x47d8cb(0x1ac)],_0x6e7e75[_0x47d8cb(0x1a0)],_0x221252);});else{if(_0xd99b49[_0x563b13(0x130)]===_0x39ecf5)_0x44ef8a?_0xd99b49[_0x563b13(0x1e0)]((_0x1d3501,_0x5ecbc4)=>{const _0x2bbc19=_0x563b13,_0x260fa5=_0x3c06c1[_0x5ecbc4],_0x14fb66={'startRow':_0x260fa5[_0x2bbc19(0x14d)],'startColumn':_0x260fa5[_0x2bbc19(0x121)],'endRow':_0x260fa5['endRow'],'endColumn':_0x260fa5[_0x2bbc19(0x121)]};_0x36eb42['setValue'](_0x1d3501[_0x2bbc19(0x1ac)],_0x1d3501[_0x2bbc19(0x1a0)],_0x14fb66);}):_0xd99b49['forEach']((_0x3257ec,_0x5848cb)=>{const _0x15a9d3=_0x563b13,_0x3dfc53=_0x3c06c1[0x0],_0x4b78ac={'startRow':_0x3dfc53[_0x15a9d3(0x14d)],'startColumn':_0x3dfc53[_0x15a9d3(0x121)]+_0x5848cb,'endRow':_0x3dfc53[_0x15a9d3(0x1ec)],'endColumn':_0x3dfc53[_0x15a9d3(0x121)]+_0x5848cb};_0x36eb42['setValue'](_0x3257ec[_0x15a9d3(0x1ac)],_0x3257ec['column'],_0x4b78ac);});else{if(_0xd99b49[_0x563b13(0x130)]===_0x3c06c1[_0x563b13(0x130)])_0x3c06c1['every'](_0x4c27fb=>!(_0x4c27fb[_0x563b13(0x14d)]!==_0x4c27fb[_0x563b13(0x1ec)]&&_0x4c27fb[_0x563b13(0x121)]!==_0x4c27fb[_0x563b13(0x1a6)]))&&_0xd99b49[_0x563b13(0x1e0)]((_0x2d2b39,_0x5d4618)=>{const _0x4c1e67=_0x563b13,_0x390438=_0x3c06c1[_0x5d4618];_0x36eb42[_0x4c1e67(0x12e)](_0x2d2b39[_0x4c1e67(0x1ac)],_0x2d2b39[_0x4c1e67(0x1a0)],_0x390438);});else throw new Error(_0x563b13(0xff));}}return _0x36eb42;}const _0x24d3c3=_0x4dce4f(0x133),_0x1ecb0a={'standard':[_0x4dce4f(0x13f),'rgb(236,100,169)'],'specialty':[_0x4dce4f(0x1a7),_0x4dce4f(0x1a9)],'distinctive':[_0x4dce4f(0x10b),_0x4dce4f(0x14b)],'soft':[_0x4dce4f(0x190),'rgb(244,104,249)'],'fresh':[_0x4dce4f(0x1ae),_0x4dce4f(0x187)]},_0x1880a1=[_0x4dce4f(0x1e2),'firstPoint',_0x4dce4f(0x1dc),_0x4dce4f(0x18e),_0x4dce4f(0x18f),'markersPoint'];var _0x180a94=(_0x42a1b8=>(_0x42a1b8[_0x4dce4f(0x1cd)]='standard',_0x42a1b8['SPECIALTY']='specialty',_0x42a1b8[_0x4dce4f(0x104)]=_0x4dce4f(0x103),_0x42a1b8[_0x4dce4f(0x1a4)]=_0x4dce4f(0x10d),_0x42a1b8[_0x4dce4f(0x1b1)]='fresh',_0x42a1b8['CUSTOM']=_0x4dce4f(0x185),_0x42a1b8))(_0x180a94||{}),_0xfb42f9=(_0x122dda=>(_0x122dda[_0x122dda['LINE_CHART']=0x1]=_0x4dce4f(0x125),_0x122dda[_0x122dda['BAR_CHART']=0x2]=_0x4dce4f(0x129),_0x122dda[_0x122dda['PROFIT_AND_LOSS_CHART']=0x3]=_0x4dce4f(0x1b0),_0x122dda[_0x122dda[_0x4dce4f(0x192)]=0x4]=_0x4dce4f(0x192),_0x122dda))(_0xfb42f9||{}),_0x57d8e6=(_0x1a8e0b=>(_0x1a8e0b[_0x4dce4f(0x11c)]=_0x4dce4f(0x196),_0x1a8e0b[_0x4dce4f(0x179)]=_0x4dce4f(0x13a),_0x1a8e0b['CONNECT_WITH_LINE']=_0x4dce4f(0x14c),_0x1a8e0b))(_0x57d8e6||{}),_0x1ef065=(_0x5688e4=>(_0x5688e4[_0x5688e4[_0x4dce4f(0x184)]=0x1]='SELF_EXTREMUM',_0x5688e4[_0x5688e4['GROUP_EXTREMUM']=0x2]='GROUP_EXTREMUM',_0x5688e4[_0x5688e4[_0x4dce4f(0x1d2)]=0x3]=_0x4dce4f(0x1d2),_0x5688e4))(_0x1ef065||{}),_0x54ad44=Object['getOwnPropertyDescriptor'],_0x44f759=(_0x30db81,_0x42d6a6,_0x443698,_0x56435d)=>{const _0x5d0132=_0x4dce4f;for(var _0x15c8a8=_0x56435d>0x1?void 0x0:_0x56435d?_0x54ad44(_0x42d6a6,_0x443698):_0x42d6a6,_0x5f27d3=_0x30db81[_0x5d0132(0x130)]-0x1,_0x270ef1;_0x5f27d3>=0x0;_0x5f27d3--)(_0x270ef1=_0x30db81[_0x5f27d3])&&(_0x15c8a8=_0x270ef1(_0x15c8a8)||_0x15c8a8);return _0x15c8a8;},_0x230338=(_0x40f848,_0x4397be)=>(_0x339bc5,_0x4f86d9)=>_0x4397be(_0x339bc5,_0x4f86d9,_0x40f848);_0x42b6d6[_0x4dce4f(0x12d)]=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x320f8b){const _0x1712a6=_0x4dce4f;super(),_0x560983(this,'_sparklineModel',new Map()),_0x560983(this,'_sparklineAnchorMap',new Map()),_0x560983(this,_0x1712a6(0xfb),new _0x1402b1[(_0x1712a6(0xf5))]()),_0x560983(this,_0x1712a6(0x146),this[_0x1712a6(0xfb)][_0x1712a6(0x1ce)]()),this['_univerInstanceService']=_0x320f8b;}[_0x4dce4f(0x16a)](_0x35f125,_0x1ca633){const _0x379a5b=_0x4dce4f;let _0x479398=this['_sparklineModel'][_0x379a5b(0x167)](_0x35f125);_0x479398||(_0x479398=new Map(),this['_sparklineModel'][_0x379a5b(0x1d8)](_0x35f125,_0x479398));let _0x32c595=_0x479398[_0x379a5b(0x167)](_0x1ca633);return _0x32c595||(_0x32c595=new Map(),_0x479398[_0x379a5b(0x1d8)](_0x1ca633,_0x32c595)),_0x32c595;}[_0x4dce4f(0x18d)](_0x5a15fa,_0x335041){const _0x55325c=_0x4dce4f;let _0x2cd1e0=this[_0x55325c(0x1e7)][_0x55325c(0x167)](_0x5a15fa);_0x2cd1e0||(_0x2cd1e0=new Map(),this['_sparklineAnchorMap']['set'](_0x5a15fa,_0x2cd1e0));let _0x477432=_0x2cd1e0[_0x55325c(0x167)](_0x335041);return _0x477432||(_0x477432={'matrix':new _0xb2cb8c[(_0x55325c(0x1d6))](),'extra':{}},_0x2cd1e0[_0x55325c(0x1d8)](_0x335041,_0x477432)),_0x477432;}[_0x4dce4f(0x14e)](_0x28f79a,_0x3a0487,_0x48a69c,_0x1b2a03=_0x4dce4f(0x1d8)){const _0x199020=_0x4dce4f;var _0x2991bc,_0x477bfb,_0x27b1aa,_0x5d8d8d,_0xa33db7,_0xe3fc5b,_0x28c698,_0x3ce406,_0x5e1e44,_0x5982b8,_0x5c39cd,_0x319a49,_0x1f943a;const _0xa4f6b1=(_0x477bfb=(_0x2991bc=this[_0x199020(0x15a)][_0x199020(0x167)](_0x28f79a))==null?void 0x0:_0x2991bc[_0x199020(0x167)](_0x3a0487))==null?void 0x0:_0x477bfb[_0x199020(0x167)](_0x48a69c);if(!_0xa4f6b1)return;const _0x31bea1=_0x1db331[_0x199020(0x1b4)](this['_univerInstanceService'],{'unitId':_0x28f79a,'subUnitId':_0x3a0487});if(!_0x31bea1)return;const _0x2e0c37=this['_ensureAnchorMatrix'](_0x28f79a,_0x3a0487),{extra:_0x28a1e5,matrix:_0x294b3f}=_0x2e0c37,{worksheet:_0x4f0b76}=_0x31bea1;let _0x111ff5=Number[_0x199020(0x191)],_0x5a9fb9=Number[_0x199020(0xfd)];const _0x4e851c=(_0x27b1aa=_0xa4f6b1['config']['containHiddenCells'])!=null?_0x27b1aa:!0x1;_0xa4f6b1[_0x199020(0x153)][_0x199020(0x10a)]((_0x1d8cce,_0x49c55b,_0x230467)=>{const _0x1c9bac=_0x199020;var _0x427818,_0x4ab923,_0x9c2c4b;const _0x4ee91a=_0x230467;let _0x5d6e3a=Number[_0x1c9bac(0x191)],_0xed4b3c=Number[_0x1c9bac(0xfd)],_0x34e392=0x0,_0x108e3f=0x0;const _0x4d6ebb=[];if(!_0xb2cb8c['isValidRange'](_0x4ee91a))_0x294b3f[_0x1c9bac(0x12e)](_0x1d8cce,_0x49c55b,{'groupId':_0x48a69c,'data':[],'max':_0x5d6e3a,'min':_0xed4b3c,'highIndex':_0x34e392,'lowIndex':_0x108e3f,'negativeIndexes':_0x4d6ebb});else{const _0x2db570=[];for(let _0xbe1a76=_0x4ee91a[_0x1c9bac(0x14d)];_0xbe1a76<=_0x4ee91a[_0x1c9bac(0x1ec)];_0xbe1a76++){for(let _0x10da91=_0x4ee91a[_0x1c9bac(0x121)];_0x10da91<=_0x4ee91a['endColumn'];_0x10da91++){const _0x153cce=_0x4f0b76[_0x1c9bac(0x149)](_0xbe1a76),_0x28d854=_0x4f0b76['getColVisible'](_0x10da91);if(!_0x4e851c&&(!_0x153cce||!_0x28d854))continue;let _0x3c2e34=0x0;const _0x24c297=((_0x427818=_0x4f0b76[_0x1c9bac(0x128)](_0xbe1a76,_0x10da91))==null?void 0x0:_0x427818['v'])!==void 0x0?_0x4f0b76[_0x1c9bac(0x128)](_0xbe1a76,_0x10da91):_0x4f0b76[_0x1c9bac(0x109)](_0xbe1a76,_0x10da91);if(!_0x24c297||_0x24c297['v']===void 0x0||_0x24c297['v']===null){const _0x5a4f9e=(_0x4ab923=_0xa4f6b1['config'][_0x1c9bac(0x132)])!=null?_0x4ab923:_0x57d8e6['SPACING'];_0x5a4f9e===_0x57d8e6[_0x1c9bac(0x179)]?_0x3c2e34=0x0:_0x5a4f9e===_0x57d8e6[_0x1c9bac(0x11c)]?_0x3c2e34=_0x1c9bac(0x17d):_0x5a4f9e===_0x57d8e6['CONNECT_WITH_LINE']&&(_0x3c2e34=_0x1c9bac(0x152));}else{if(_0x24c297['t']===_0xb2cb8c[_0x1c9bac(0x13c)][_0x1c9bac(0x145)]||_0x24c297['t']===_0xb2cb8c[_0x1c9bac(0x13c)]['FORCE_STRING']){const _0x3dbe63=(_0x9c2c4b=_0xa4f6b1[_0x1c9bac(0x1ad)][_0x1c9bac(0x119)])!=null?_0x9c2c4b:_0x57d8e6[_0x1c9bac(0x11c)];_0x3dbe63===_0x57d8e6[_0x1c9bac(0x179)]?_0x3c2e34=0x0:_0x3dbe63===_0x57d8e6[_0x1c9bac(0x11c)]?_0x3c2e34=_0x1c9bac(0x17d):_0x3dbe63===_0x57d8e6[_0x1c9bac(0x102)]&&(_0x3c2e34=_0x1c9bac(0x152));}else _0x24c297['t']===_0xb2cb8c['CellValueType'][_0x1c9bac(0x1d5)]?_0x3c2e34=_0x24c297['v']?0x1:0x0:_0x24c297['t']===_0xb2cb8c[_0x1c9bac(0x13c)][_0x1c9bac(0x163)]?_0x3c2e34=Number(_0x24c297['v']):_0x3c2e34=_0x24c297['v'];}if(_0x2db570[_0x1c9bac(0x1be)](_0x3c2e34),typeof _0x3c2e34==_0x1c9bac(0x180)){_0x5d6e3a=Math['max'](_0x5d6e3a,_0x3c2e34),_0x111ff5=Math['max'](_0x111ff5,_0x3c2e34),_0x5a9fb9=Math[_0x1c9bac(0x136)](_0x5a9fb9,_0x3c2e34),_0xed4b3c=Math[_0x1c9bac(0x136)](_0xed4b3c,_0x3c2e34);const _0x1baaf7=typeof _0x2db570[_0x34e392]==_0x1c9bac(0x180)?Number(_0x2db570[_0x34e392]):Number[_0x1c9bac(0x191)];_0x3c2e34>_0x1baaf7&&(_0x34e392=_0x2db570[_0x1c9bac(0x130)]-0x1);const _0x46f622=typeof _0x2db570[_0x108e3f]==_0x1c9bac(0x180)?Number(_0x2db570[_0x108e3f]):Number[_0x1c9bac(0xfd)];_0x3c2e34<_0x46f622&&(_0x108e3f=_0x2db570['length']-0x1),_0x3c2e34<0x0&&_0x4d6ebb[_0x1c9bac(0x1be)](_0x2db570[_0x1c9bac(0x130)]-0x1);}}_0x294b3f[_0x1c9bac(0x12e)](_0x1d8cce,_0x49c55b,{'groupId':_0x48a69c,'data':_0x2db570,'max':_0x5d6e3a,'min':_0xed4b3c,'highIndex':_0x34e392,'lowIndex':_0x108e3f,'negativeIndexes':_0x4d6ebb});}}});let _0xc955f3=_0x111ff5;((_0x5d8d8d=_0xa4f6b1['config'][_0x199020(0x118)])==null?void 0x0:_0x5d8d8d[_0x199020(0x101)])===_0x1ef065['CUSTOM_EXTREMUM']&&(_0xc955f3=(_0xe3fc5b=(_0xa33db7=_0xa4f6b1[_0x199020(0x1ad)][_0x199020(0x118)])==null?void 0x0:_0xa33db7[_0x199020(0x1da)])!=null?_0xe3fc5b:_0x111ff5);let _0x5bd84e=_0x5a9fb9;((_0x28c698=_0xa4f6b1[_0x199020(0x1ad)]['extremumMin'])==null?void 0x0:_0x28c698[_0x199020(0x101)])===_0x1ef065[_0x199020(0x1d2)]&&(_0x5bd84e=(_0x5e1e44=(_0x3ce406=_0xa4f6b1[_0x199020(0x1ad)][_0x199020(0x1e1)])==null?void 0x0:_0x3ce406[_0x199020(0x1da)])!=null?_0x5e1e44:_0x5a9fb9);const _0x53c880=(_0x5982b8=_0xa4f6b1['config'][_0x199020(0x157)])!=null?_0x5982b8:_0x180a94[_0x199020(0x1cd)],_0x4fb2=(_0x1f943a=(_0x319a49=_0xa4f6b1['config'][_0x199020(0x10f)])!=null?_0x319a49:(_0x5c39cd=_0x1ecb0a[_0x53c880])==null?void 0x0:_0x5c39cd[0x0])!=null?_0x1f943a:_0x1ecb0a[_0x199020(0x14f)][0x0],_0x38fcc3=new _0xb2cb8c[(_0x199020(0x1c6))](_0x4fb2),_0x49f26a=_0x38fcc3[_0x199020(0xfe)](0.2)[_0x199020(0x19d)](),_0x49eb92=_0x38fcc3[_0x199020(0xfe)](0.05)[_0x199020(0x19d)]();_0x28a1e5[_0x48a69c]={'groupMax':_0x111ff5,'groupMin':_0x5a9fb9,'showMax':_0xc955f3,'showMin':_0x5bd84e,'startGradient':_0x49f26a,'endGradient':_0x49eb92},this[_0x199020(0xfb)][_0x199020(0x1c3)]({'unitId':_0x28f79a,'subUnitId':_0x3a0487,'groupId':_0x48a69c,'config':_0xa4f6b1,'type':_0x1b2a03});}['addSparkline'](_0x476cdf,_0x50f966,_0x765109,_0x1191fc){const _0x4233c0=_0x4dce4f;this[_0x4233c0(0x16a)](_0x476cdf,_0x50f966)[_0x4233c0(0x1d8)](_0x765109,_0x1191fc),this[_0x4233c0(0x14e)](_0x476cdf,_0x50f966,_0x765109,_0x4233c0(0x1cf));}['setSparkline'](_0x2afe9e,_0x2c90df,_0x551105,_0x3fba0e){const _0x1e8127=_0x4dce4f;var _0x395bd2;const _0x2aa61a=(_0x395bd2=this[_0x1e8127(0x15a)][_0x1e8127(0x167)](_0x2afe9e))==null?void 0x0:_0x395bd2[_0x1e8127(0x167)](_0x2c90df);_0x551105[_0x1e8127(0x1e0)](_0x409472=>{const _0x1d72a4=_0x1e8127;_0x2aa61a!=null&&_0x2aa61a[_0x1d72a4(0x1bf)](_0x409472)&&(_0x2aa61a[_0x1d72a4(0x1d8)](_0x409472,_0x3fba0e),this[_0x1d72a4(0x14e)](_0x2afe9e,_0x2c90df,_0x409472));});}[_0x4dce4f(0x110)](_0x51dc5d,_0x4c05ea,_0x1c9765){const _0x4ef345=_0x4dce4f;var _0xf52e0e,_0x3a4363;const _0x479eb0=this[_0x4ef345(0x15a)][_0x4ef345(0x167)](_0x51dc5d);if(_0x479eb0){const _0x2727ce=_0x479eb0[_0x4ef345(0x167)](_0x4c05ea);if(_0x2727ce){_0x2727ce[_0x4ef345(0x11b)](_0x1c9765);const _0x562876=(_0xf52e0e=this['_sparklineAnchorMap'][_0x4ef345(0x167)](_0x51dc5d))==null?void 0x0:_0xf52e0e['get'](_0x4c05ea);(_0x3a4363=_0x562876==null?void 0x0:_0x562876[_0x4ef345(0x1c2)])==null||_0x3a4363[_0x4ef345(0x10a)]((_0x565647,_0x3c7a8b,_0x262ef6)=>{const _0x4c7fd1=_0x4ef345;(_0x262ef6==null?void 0x0:_0x262ef6[_0x4c7fd1(0xf7)])===_0x1c9765&&(_0x562876==null||_0x562876[_0x4c7fd1(0x1c2)][_0x4c7fd1(0x164)](_0x565647,_0x3c7a8b));}),this[_0x4ef345(0xfb)][_0x4ef345(0x1c3)]({'unitId':_0x51dc5d,'subUnitId':_0x4c05ea,'groupId':_0x1c9765,'type':_0x4ef345(0x195)});}}}[_0x4dce4f(0x120)](_0x5b9a56,_0x542f2c,_0x2eeb05,_0x467799){const _0x111874=_0x4dce4f;var _0x16b70b,_0x25aa0b,_0x1256de,_0x489da4;const _0x11c5d3=(_0x16b70b=this['_sparklineAnchorMap'][_0x111874(0x167)](_0x5b9a56))==null?void 0x0:_0x16b70b['get'](_0x542f2c),_0x40ed06=_0x11c5d3==null?void 0x0:_0x11c5d3['matrix']['getValue'](_0x2eeb05,_0x467799);if(_0x40ed06){const {groupId:_0x53bbf}=_0x40ed06,_0x2b1693=(_0x25aa0b=this[_0x111874(0x15a)][_0x111874(0x167)](_0x5b9a56))==null?void 0x0:_0x25aa0b['get'](_0x542f2c);(_0x1256de=_0x2b1693==null?void 0x0:_0x2b1693['get'](_0x53bbf))==null||_0x1256de[_0x111874(0x153)]['realDeleteValue'](_0x2eeb05,_0x467799),(_0x489da4=_0x2b1693==null?void 0x0:_0x2b1693[_0x111874(0x167)](_0x53bbf))!=null&&_0x489da4[_0x111874(0x153)][_0x111874(0x117)]()||_0x2b1693==null||_0x2b1693['delete'](_0x53bbf),_0x11c5d3==null||_0x11c5d3[_0x111874(0x1c2)]['realDeleteValue'](_0x2eeb05,_0x467799),this[_0x111874(0xfb)][_0x111874(0x1c3)]({'unitId':_0x5b9a56,'subUnitId':_0x542f2c,'groupId':_0x53bbf,'type':'remove'});}}[_0x4dce4f(0x122)](_0x2800b3,_0x1278df,_0x4ad0a3){const _0x578e86=_0x4dce4f;var _0x3f29b2,_0x1a3dbb,_0x4cabf6,_0x5ee357;const _0x45444e=(_0x4cabf6=(_0x1a3dbb=(_0x3f29b2=this[_0x578e86(0x15a)][_0x578e86(0x167)](_0x2800b3))==null?void 0x0:_0x3f29b2[_0x578e86(0x167)](_0x1278df))==null?void 0x0:_0x1a3dbb['get'](_0x4ad0a3))==null?void 0x0:_0x4cabf6[_0x578e86(0x153)],_0x3af07c=(_0x5ee357=this[_0x578e86(0x1e7)][_0x578e86(0x167)](_0x2800b3))==null?void 0x0:_0x5ee357[_0x578e86(0x167)](_0x1278df);if(_0x45444e&&_0x3af07c){const {matrix:_0x1a66c0,extra:_0x2c7493}=_0x3af07c;_0x45444e[_0x578e86(0x10a)]((_0x12ff46,_0x4004f5,_0x293d72)=>{const _0x1aed86=_0x578e86;_0x1a66c0[_0x1aed86(0x164)](_0x12ff46,_0x4004f5);}),delete _0x2c7493[_0x4ad0a3];}}[_0x4dce4f(0x189)](_0x1ca41b,_0x2174a4){const _0x1c993b=_0x4dce4f;var _0x117418;return(_0x117418=this[_0x1c993b(0x15a)][_0x1c993b(0x167)](_0x1ca41b))==null?void 0x0:_0x117418[_0x1c993b(0x167)](_0x2174a4);}[_0x4dce4f(0x15d)](_0x5e3044,_0x346310,_0x1ceb4e){const _0x19bdec=_0x4dce4f;var _0x5bed95,_0x4946f6;return(_0x4946f6=(_0x5bed95=this['_sparklineModel'][_0x19bdec(0x167)](_0x5e3044))==null?void 0x0:_0x5bed95[_0x19bdec(0x167)](_0x346310))==null?void 0x0:_0x4946f6[_0x19bdec(0x167)](_0x1ceb4e);}[_0x4dce4f(0x1e9)](_0x263dc0,_0x2f57c9,_0xc44d51,_0x5b099e){const _0x46b990=_0x4dce4f;var _0x511507,_0x2a8f1,_0x814aea;return(_0x814aea=(_0x2a8f1=(_0x511507=this[_0x46b990(0x1e7)]['get'](_0x263dc0))==null?void 0x0:_0x511507[_0x46b990(0x167)](_0x2f57c9))==null?void 0x0:_0x2a8f1[_0x46b990(0x1c2)][_0x46b990(0x17f)](_0xc44d51,_0x5b099e))==null?void 0x0:_0x814aea[_0x46b990(0xf7)];}[_0x4dce4f(0x162)](_0x243996,_0x89b7b9){const _0x107228=_0x4dce4f;var _0x4f49e3;const _0x2d93f7=this[_0x107228(0x18d)](_0x243996,_0x89b7b9);_0x2d93f7[_0x107228(0x1c2)]['forValue']((_0x53d8ea,_0x396f29)=>{const _0x51c4d1=_0x107228;_0x2d93f7[_0x51c4d1(0x1c2)][_0x51c4d1(0x164)](_0x53d8ea,_0x396f29);});const _0x332c8e=(_0x4f49e3=this[_0x107228(0x15a)][_0x107228(0x167)](_0x243996))==null?void 0x0:_0x4f49e3[_0x107228(0x167)](_0x89b7b9);if(_0x332c8e){for(const [_0x4a8636]of _0x332c8e)this[_0x107228(0x14e)](_0x243996,_0x89b7b9,_0x4a8636);}}[_0x4dce4f(0x100)](){const _0x40dd50=_0x4dce4f;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x40dd50(0x1e7)]};}[_0x4dce4f(0x1ca)](_0x379907){const _0xc543e1=_0x4dce4f,_0x52fa99={};if(this[_0xc543e1(0x15a)][_0xc543e1(0x1bf)](_0x379907)){_0x52fa99[_0x379907]={};const _0x2cec33=this[_0xc543e1(0x15a)]['get'](_0x379907);_0x2cec33!=null&&_0x2cec33[_0xc543e1(0x1db)]&&Array[_0xc543e1(0x114)](_0x2cec33[_0xc543e1(0x1b9)]())[_0xc543e1(0x1e0)](_0x59bb77=>{const _0x1d9725=_0xc543e1;_0x52fa99[_0x379907][_0x59bb77]={};const _0xff3567=_0x2cec33[_0x1d9725(0x167)](_0x59bb77);_0xff3567!=null&&_0xff3567['size']&&Array['from'](_0xff3567[_0x1d9725(0x1b9)]())[_0x1d9725(0x1e0)](_0x1c0166=>{const _0x477ffe=_0x1d9725,_0x589026=_0xff3567['get'](_0x1c0166);_0x589026&&(_0x52fa99[_0x379907][_0x59bb77][_0x1c0166]={'config':_0x589026['config'],'sparklines':_0x589026[_0x477ffe(0x153)][_0x477ffe(0x173)]()});});});}return _0x52fa99;}[_0x4dce4f(0x16c)](_0x406cb4){const _0x45affd=_0x4dce4f;if(!_0x406cb4)return;Object['keys'](_0x406cb4)[_0x45affd(0x1e0)](_0x1a0783=>{const _0x376618=_0x45affd,_0x4d60e1=_0x406cb4[_0x1a0783];_0x4d60e1&&Object['keys'](_0x4d60e1)[_0x376618(0x1e0)](_0x477a72=>{const _0x5beeec=_0x376618,_0x11fd19=_0x4d60e1[_0x477a72];_0x11fd19&&Object[_0x5beeec(0x1b9)](_0x11fd19)[_0x5beeec(0x1e0)](_0x4bf339=>{const _0x3087fe=_0x5beeec,_0x3c76bd=_0x11fd19[_0x4bf339];if(_0x3c76bd){const _0x3814c4={'config':_0x3c76bd[_0x3087fe(0x1ad)],'sparklines':new _0xb2cb8c[(_0x3087fe(0x1d6))](_0x3c76bd[_0x3087fe(0x153)])};this[_0x3087fe(0x13d)](_0x1a0783,_0x477a72,_0x4bf339,_0x3814c4);}});});});}['deleteUnit'](_0x17d225){const _0x55264b=_0x4dce4f,_0x40fe3f=this[_0x55264b(0x15a)][_0x55264b(0x167)](_0x17d225);if(_0x40fe3f){for(const [_0x26dc16]of _0x40fe3f){const _0x502d0d=_0x40fe3f[_0x55264b(0x167)](_0x26dc16);if(_0x502d0d){for(const [_0x1156e2]of _0x502d0d)this[_0x55264b(0x122)](_0x17d225,_0x26dc16,_0x1156e2);}}this[_0x55264b(0x15a)]['delete'](_0x17d225);}}},_0x42b6d6[_0x4dce4f(0x12d)]=_0x44f759([_0x230338(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c['IUniverInstanceService']))],_0x42b6d6[_0x4dce4f(0x12d)]);const _0x4d1b93={'id':_0x4dce4f(0x1ea),'type':_0xb2cb8c[_0x4dce4f(0x170)]['MUTATION'],'handler':(_0x1e5d86,_0x131c6e)=>{const _0x506e0e=_0x4dce4f;if(!_0x131c6e)return!0x1;const {sparklineConfigMap:_0x20f743,unitId:_0x77d806,subUnitId:_0x4b1ce4}=_0x131c6e,_0x16bd99=_0x1e5d86['get'](_0x42b6d6[_0x506e0e(0x12d)]);return Object[_0x506e0e(0x111)](_0x20f743)[_0x506e0e(0x1e0)](([_0x516585,_0x2358e7])=>{const _0x726524=_0x506e0e,_0x3228f9={'config':_0x2358e7['config'],'sparklines':new _0xb2cb8c['ObjectMatrix'](_0x2358e7[_0x726524(0x153)])};_0x16bd99[_0x726524(0x13d)](_0x77d806,_0x4b1ce4,_0x516585,_0x3228f9);}),!0x0;}},_0x595234={'id':_0x4dce4f(0xf9),'type':_0xb2cb8c['CommandType'][_0x4dce4f(0x17b)],'handler':(_0x54dda6,_0x1db864)=>{const _0x443c20=_0x4dce4f;if(!_0x1db864)return!0x1;const {unitId:_0x4493ed,subUnitId:_0xabcfd3,ranges:_0x1fca32,isSingle:_0x4f0380,groupIds:_0xf5c53}=_0x1db864,_0x4e8246=_0x54dda6['get'](_0x42b6d6[_0x443c20(0x12d)]);return _0xf5c53?(_0xf5c53['forEach'](_0x2e4800=>{const _0x34c6f2=_0x443c20;_0x4e8246[_0x34c6f2(0x110)](_0x4493ed,_0xabcfd3,_0x2e4800);}),!0x0):_0x1fca32?(_0x1fca32[_0x443c20(0x1e0)](_0x87d7d2=>{const _0x565e5e=_0x443c20;_0xb2cb8c[_0x565e5e(0x181)][_0x565e5e(0xf8)](_0x87d7d2,(_0x59843d,_0x518b88)=>{const _0x592844=_0x565e5e,_0x12b2fb=_0x4e8246[_0x592844(0x1e9)](_0x4493ed,_0xabcfd3,_0x59843d,_0x518b88);_0x12b2fb&&(_0x4f0380?_0x4e8246['removePartSparkline'](_0x4493ed,_0xabcfd3,_0x59843d,_0x518b88):_0x4e8246[_0x592844(0x110)](_0x4493ed,_0xabcfd3,_0x12b2fb));});}),!0x0):!0x1;}},_0x108a60={'id':_0x4dce4f(0x147),'type':_0xb2cb8c[_0x4dce4f(0x170)][_0x4dce4f(0x155)],'handler':(_0x4b398d,_0x2d217a)=>{const _0x210bd7=_0x4dce4f;if(!_0x2d217a)return!0x1;const {sourceRanges:_0x279452,targetRanges:_0x5cc94c,config:_0x4a481e}=_0x2d217a,_0x555b60=_0x4b398d[_0x210bd7(0x167)](_0xb2cb8c[_0x210bd7(0x140)]),_0x1f913f='g_'+_0xb2cb8c[_0x210bd7(0x160)](0x6),_0x1937b9=_0x48d5e9(_0x279452,_0x5cc94c),_0x2dd21d={'config':_0x4a481e!=null?_0x4a481e:{},'sparklines':_0x1937b9['getMatrix']()},_0x400162=_0x4b398d[_0x210bd7(0x167)](_0xb2cb8c[_0x210bd7(0x11a)]),_0x39a0c7=_0x4b398d['get'](_0x42b6d6[_0x210bd7(0x12d)]),_0x16929e=_0x1db331[_0x210bd7(0x1b4)](_0x400162);if(!_0x16929e)return!0x1;const {unitId:_0x49d35a,subUnitId:_0x51a55e}=_0x16929e,_0x283bb4=_0x4b398d['get'](_0xb2cb8c['ICommandService']),_0x535b19=[],_0x443431=[],_0x1f8835={},_0x2602a8={},_0x4cec71=new Set([_0x1f913f]);_0x1937b9['forValue']((_0x2c9a71,_0x2a6315,_0x3a6866)=>{const _0x38eee7=_0x210bd7,_0x5f48cb=_0x39a0c7[_0x38eee7(0x1e9)](_0x49d35a,_0x51a55e,_0x2c9a71,_0x2a6315);if(_0x5f48cb){const _0x530bac=_0x39a0c7[_0x38eee7(0x15d)](_0x49d35a,_0x51a55e,_0x5f48cb);if(_0x530bac){_0x4cec71[_0x38eee7(0x1cf)](_0x5f48cb);let _0x35f72b=_0x1f8835[_0x5f48cb],_0x2ed9ca=_0x2602a8[_0x5f48cb];_0x2ed9ca||(_0x2ed9ca={'config':_0xb2cb8c[_0x38eee7(0x18b)][_0x38eee7(0x105)](_0x530bac[_0x38eee7(0x1ad)]),'sparklines':new _0xb2cb8c[(_0x38eee7(0x1d6))](_0x530bac[_0x38eee7(0x153)][_0x38eee7(0x186)]())},_0x2602a8[_0x5f48cb]=_0x2ed9ca),_0x35f72b||(_0x35f72b={'config':_0xb2cb8c['Tools']['deepClone'](_0x530bac['config']),'sparklines':_0x530bac[_0x38eee7(0x153)]['clone']()},_0x1f8835[_0x5f48cb]=_0x35f72b),_0x2ed9ca[_0x38eee7(0x153)]['realDeleteValue'](_0x2c9a71,_0x2a6315);}}});const _0x3d6882={};return Object['entries'](_0x2602a8)[_0x210bd7(0x1e0)](([_0x4f14d1,_0xdf17d9])=>{const _0x3c2c97=_0x210bd7;_0xdf17d9[_0x3c2c97(0x153)][_0x3c2c97(0x193)]()&&(_0x3d6882[_0x4f14d1]={'config':_0xdf17d9['config'],'sparklines':_0xdf17d9[_0x3c2c97(0x153)][_0x3c2c97(0x186)]()});}),_0x3d6882[_0x1f913f]=_0x2dd21d,_0x535b19[_0x210bd7(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x49d35a,'subUnitId':_0x51a55e,'groupIds':Array['from'](_0x4cec71),'isSingle':!0x1}}),_0x4cec71[_0x210bd7(0x1db)]>0x1&&(_0x443431['push']({'id':_0x595234['id'],'params':{'unitId':_0x49d35a,'subUnitId':_0x51a55e,'groupIds':Array[_0x210bd7(0x114)](_0x4cec71),'isSingle':!0x1}}),_0x535b19[_0x210bd7(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x49d35a,'subUnitId':_0x51a55e,'sparklineConfigMap':_0x1f8835}})),_0x443431[_0x210bd7(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x49d35a,'subUnitId':_0x51a55e,'sparklineConfigMap':_0x3d6882}}),_0xb2cb8c[_0x210bd7(0xf0)](_0x443431,_0x283bb4),_0x555b60[_0x210bd7(0x113)]({'unitID':_0x49d35a,'undoMutations':_0x535b19,'redoMutations':_0x443431}),!0x0;}},_0x242d42={'id':'sheet.command.remove-sparkline','type':_0xb2cb8c[_0x4dce4f(0x170)][_0x4dce4f(0x155)],'handler':(_0x227fad,_0x20c4c7)=>{const _0x194f43=_0x4dce4f;var _0x186d30;const {isSingle:_0x3bcb89=!0x0}=_0x20c4c7||{},_0x13a1e2=_0x227fad['get'](_0xb2cb8c[_0x194f43(0x1a2)]),_0x815bf7=_0x227fad[_0x194f43(0x167)](_0xb2cb8c[_0x194f43(0x11a)]),_0x1d74f4=_0x227fad[_0x194f43(0x167)](_0x42b6d6[_0x194f43(0x12d)]),_0x115907=_0x227fad['get'](_0xb2cb8c[_0x194f43(0x140)]),_0xf9dc30=_0x1db331[_0x194f43(0x1b4)](_0x815bf7);if(!_0xf9dc30)return!0x1;const _0x4864a5=_0x227fad[_0x194f43(0x167)](_0x1db331['SheetsSelectionsService']),_0xa58569=(_0x186d30=_0x20c4c7==null?void 0x0:_0x20c4c7[_0x194f43(0x1c1)])!=null?_0x186d30:_0x4864a5[_0x194f43(0x112)]()['map'](_0x37d2d1=>_0x37d2d1[_0x194f43(0x168)]),{unitId:_0x55dbaf,subUnitId:_0x3b9d8c}=_0xf9dc30,_0x45c818=[],_0x3cd8bd=[];_0x45c818['push']({'id':_0x595234['id'],'params':{'unitId':_0x55dbaf,'subUnitId':_0x3b9d8c,'ranges':_0xa58569,'isSingle':_0x3bcb89}});const _0x47afb2=[],_0x3d3263={};return _0xa58569[_0x194f43(0x1e0)](_0x243dfd=>{const _0x182aec=_0x194f43;_0xb2cb8c['Range'][_0x182aec(0xf8)](_0x243dfd,(_0x3de6ee,_0x4debf1)=>{const _0x48f6dd=_0x182aec,_0x4ae10d=_0x1d74f4['getSparkline'](_0x55dbaf,_0x3b9d8c,_0x3de6ee,_0x4debf1);if(_0x4ae10d){const _0x48a1be=_0x1d74f4[_0x48f6dd(0x15d)](_0x55dbaf,_0x3b9d8c,_0x4ae10d);_0x48a1be&&(_0x47afb2['push'](_0x4ae10d),_0x3d3263[_0x4ae10d]={'config':_0xb2cb8c[_0x48f6dd(0x18b)]['deepClone'](_0x48a1be[_0x48f6dd(0x1ad)]),'sparklines':_0xb2cb8c[_0x48f6dd(0x18b)][_0x48f6dd(0x105)](_0x48a1be[_0x48f6dd(0x153)][_0x48f6dd(0x186)]())});}});}),_0x3cd8bd[_0x194f43(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x55dbaf,'subUnitId':_0x3b9d8c,'groupIds':_0x47afb2,'isSingle':!0x1}}),_0x3cd8bd[_0x194f43(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x55dbaf,'subUnitId':_0x3b9d8c,'sparklineConfigMap':_0x3d3263}}),_0xb2cb8c[_0x194f43(0xf0)](_0x45c818,_0x13a1e2),_0x115907[_0x194f43(0x113)]({'unitID':_0x55dbaf,'undoMutations':_0x3cd8bd,'redoMutations':_0x45c818}),!0x0;}},_0x501532={'id':'sheet.mutation.set-sparkline','type':_0xb2cb8c[_0x4dce4f(0x170)][_0x4dce4f(0x17b)],'handler':(_0xeb599d,_0x275126)=>{const _0x14a671=_0x4dce4f;if(!_0x275126)return!0x1;const {unitId:_0x1e3c47,subUnitId:_0x47b52c,groupIds:_0x1738a5,config:_0x50e317}=_0x275126,_0x4dd6aa=_0xeb599d[_0x14a671(0x167)](_0x42b6d6[_0x14a671(0x12d)]);return _0x1738a5['forEach'](_0x1ef43c=>{const _0x5c9f2a=_0x14a671,_0x41f374=_0x4dd6aa['getSparklineById'](_0x1e3c47,_0x47b52c,_0x1ef43c);if(_0x41f374){const _0x37afbd={'config':Object[_0x5c9f2a(0x176)]({},_0x41f374[_0x5c9f2a(0x1ad)],_0x50e317['config']),'sparklines':new _0xb2cb8c['ObjectMatrix'](_0x41f374['sparklines'][_0x5c9f2a(0x186)]())};_0x4dd6aa[_0x5c9f2a(0x194)](_0x1e3c47,_0x47b52c,[_0x1ef43c],_0x37afbd);}}),!0x0;}},_0x425ad1={'id':_0x4dce4f(0x138),'type':_0xb2cb8c[_0x4dce4f(0x170)]['COMMAND'],'handler':(_0x4fa264,_0x8cafa5)=>{const _0x12a36f=_0x4dce4f;var _0x3dd60c,_0x50801c,_0x5913e4,_0x559bd2;if(!_0x8cafa5)return!0x1;const _0x3646c8=_0x4fa264[_0x12a36f(0x167)](_0xb2cb8c['ICommandService']),_0x386ffc=_0x4fa264['get'](_0x1db331[_0x12a36f(0x1dd)]),_0x205d5d=_0x4fa264['get'](_0x42b6d6['SparklineDataSourceModel']),_0x4809ff=_0x4fa264[_0x12a36f(0x167)](_0xb2cb8c[_0x12a36f(0x11a)]),_0x52996e=_0x4fa264[_0x12a36f(0x167)](_0xb2cb8c['IUndoRedoService']),_0x1a6746=_0x1db331[_0x12a36f(0x1b4)](_0x4809ff);if(!_0x1a6746)return!0x1;const {unitId:_0x128e49,subUnitId:_0x2f7694}=_0x1a6746,_0x4f6dd5=(_0x3dd60c=_0x8cafa5==null?void 0x0:_0x8cafa5['ranges'])!=null?_0x3dd60c:_0x386ffc[_0x12a36f(0x112)]()[_0x12a36f(0xf3)](_0xdff364=>_0xdff364[_0x12a36f(0x168)]),_0x5cd8b1=(_0x50801c=_0x205d5d[_0x12a36f(0x100)]()[_0x12a36f(0x12f)]['get'](_0x128e49))==null?void 0x0:_0x50801c[_0x12a36f(0x167)](_0x2f7694),{isChangeDataSource:_0x38ee4d,config:_0x7fb345,combine:_0x25b398,unCombine:_0x25be38}=_0x8cafa5;if(_0x25b398){const _0x1533e8=[],_0x11f8c0=[];_0x1533e8[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'ranges':_0x4f6dd5,'isSingle':!0x0}});const _0x39dcfb='g_'+_0xb2cb8c[_0x12a36f(0x160)](0x6),_0x493195=new _0xb2cb8c['ObjectMatrix'](),_0x30fc26=(_0x5913e4=_0x205d5d[_0x12a36f(0x100)]()[_0x12a36f(0x123)][_0x12a36f(0x167)](_0x128e49))==null?void 0x0:_0x5913e4[_0x12a36f(0x167)](_0x2f7694),_0x5a5cee=new Set([_0x39dcfb]),_0x486de2={};return _0x4f6dd5[_0x12a36f(0x1e0)](_0x532940=>{const _0x773455=_0x12a36f;var _0x5ccbd0,_0x5f026f;const {startRow:_0x54491a,endRow:_0x23ff80,startColumn:_0x580f5f,endColumn:_0x12f8ed}=_0x532940;for(let _0x445b7d=_0x54491a;_0x445b7d<=_0x23ff80;_0x445b7d++)for(let _0x437812=_0x580f5f;_0x437812<=_0x12f8ed;_0x437812++){const _0x566e47=(_0x5ccbd0=_0x5cd8b1==null?void 0x0:_0x5cd8b1[_0x773455(0x1c2)]['getValue'](_0x445b7d,_0x437812))==null?void 0x0:_0x5ccbd0['groupId'];if(_0x566e47){_0x5a5cee[_0x773455(0x1cf)](_0x566e47);const _0x38fae5=_0x205d5d[_0x773455(0x15d)](_0x128e49,_0x2f7694,_0x566e47);_0x38fae5&&(_0x486de2[_0x566e47]={'config':_0xb2cb8c[_0x773455(0x18b)][_0x773455(0x105)](_0x38fae5['config']),'sparklines':_0xb2cb8c[_0x773455(0x18b)][_0x773455(0x105)](_0x38fae5['sparklines'][_0x773455(0x186)]())});const _0x1d88bf=(_0x5f026f=_0x30fc26==null?void 0x0:_0x30fc26[_0x773455(0x167)](_0x566e47))==null?void 0x0:_0x5f026f['sparklines']['getValue'](_0x445b7d,_0x437812);_0x1d88bf&&_0x493195['setValue'](_0x445b7d,_0x437812,_0x1d88bf);}}}),_0x1533e8[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'sparklineConfigMap':{[_0x39dcfb]:{'config':_0xb2cb8c[_0x12a36f(0x18b)][_0x12a36f(0x105)](_0x7fb345['config']),'sparklines':_0x493195[_0x12a36f(0x173)]()}},'unitId':_0x128e49,'subUnitId':_0x2f7694}}),_0x11f8c0[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'isSingle':!0x1,'groupIds':Array['from'](_0x5a5cee)}}),_0x11f8c0['push']({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':_0x486de2}}),_0xb2cb8c['sequenceExecute'](_0x1533e8,_0x3646c8),_0x52996e['pushUndoRedo']({'unitID':_0x128e49,'undoMutations':_0x11f8c0,'redoMutations':_0x1533e8}),!0x0;}else{if(_0x25be38){const _0x3be77b=[],_0x37132d=[];_0x3be77b[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'ranges':_0x4f6dd5,'isSingle':!0x0}});const _0x2bedbe=(_0x559bd2=_0x205d5d[_0x12a36f(0x100)]()[_0x12a36f(0x123)][_0x12a36f(0x167)](_0x128e49))==null?void 0x0:_0x559bd2['get'](_0x2f7694),_0x59a243={},_0x23f030=new Set(),_0x168927={};return _0x4f6dd5['forEach'](_0xd4ebab=>{const _0x533f43=_0x12a36f;var _0x2438f6,_0x410184;const {startRow:_0x4bbfae,endRow:_0xe8d4e5,startColumn:_0x1fa3c4,endColumn:_0x5c7334}=_0xd4ebab;for(let _0x294680=_0x4bbfae;_0x294680<=_0xe8d4e5;_0x294680++)for(let _0x43eeaf=_0x1fa3c4;_0x43eeaf<=_0x5c7334;_0x43eeaf++){const _0x5a4565=(_0x2438f6=_0x5cd8b1==null?void 0x0:_0x5cd8b1[_0x533f43(0x1c2)][_0x533f43(0x17f)](_0x294680,_0x43eeaf))==null?void 0x0:_0x2438f6[_0x533f43(0xf7)];if(_0x5a4565){const _0x3f58f0=new _0xb2cb8c['ObjectMatrix'](),_0x5924e5='g_'+_0xb2cb8c['generateRandomId'](0x6);_0x23f030[_0x533f43(0x1cf)](_0x5a4565),_0x23f030['add'](_0x5924e5);const _0x394707=_0x205d5d[_0x533f43(0x15d)](_0x128e49,_0x2f7694,_0x5a4565);_0x394707&&(_0x168927[_0x5a4565]={'config':_0xb2cb8c[_0x533f43(0x18b)]['deepClone'](_0x394707[_0x533f43(0x1ad)]),'sparklines':_0xb2cb8c['Tools'][_0x533f43(0x105)](_0x394707[_0x533f43(0x153)]['clone']())});const _0x458af8=(_0x410184=_0x2bedbe==null?void 0x0:_0x2bedbe['get'](_0x5a4565))==null?void 0x0:_0x410184['sparklines']['getValue'](_0x294680,_0x43eeaf);_0x458af8&&_0x3f58f0[_0x533f43(0x12e)](_0x294680,_0x43eeaf,_0x458af8),_0x59a243[_0x5924e5]={'sparklines':_0x3f58f0[_0x533f43(0x173)](),'config':_0xb2cb8c[_0x533f43(0x18b)][_0x533f43(0x105)](_0x7fb345[_0x533f43(0x1ad)])};}}}),_0x3be77b[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':_0x59a243}}),_0x37132d[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'isSingle':!0x1,'groupIds':Array['from'](_0x23f030)}}),_0x37132d[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':_0x168927}}),_0xb2cb8c[_0x12a36f(0xf0)](_0x3be77b,_0x3646c8),_0x52996e[_0x12a36f(0x113)]({'unitID':_0x128e49,'undoMutations':_0x37132d,'redoMutations':_0x3be77b}),!0x0;}}if(_0x38ee4d){const _0x38dbd7=_0x8cafa5[_0x12a36f(0x137)];if(!_0x38dbd7)return!0x1;const {groupId:_0x564dc8,sourceRanges:_0x5d4d8b,targetRanges:_0x597622,resetType:_0x12987f,primary:_0x4d72fc}=_0x38dbd7,_0x538bf0=[],_0x5156d5=[];_0x538bf0['push']({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'ranges':_0x4f6dd5,'isSingle':!0x1,'groupIds':[_0x564dc8]}}),_0x5156d5[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'ranges':_0x4f6dd5,'isSingle':!0x1,'groupIds':[_0x564dc8]}});let _0x292099;_0x12987f==='item'?(_0x292099=new _0xb2cb8c[(_0x12a36f(0x1d6))](_0x7fb345[_0x12a36f(0x153)]['clone']()),_0x292099[_0x12a36f(0x164)](_0x4d72fc[_0x12a36f(0x144)],_0x4d72fc[_0x12a36f(0x1a8)]),_0x292099[_0x12a36f(0x12e)](_0x597622[0x0][_0x12a36f(0x14d)],_0x597622[0x0][_0x12a36f(0x121)],_0x5d4d8b[0x0])):_0x292099=_0x48d5e9(_0x5d4d8b,_0x597622);const _0x3d3141={'config':_0xb2cb8c[_0x12a36f(0x18b)][_0x12a36f(0x105)](_0x7fb345[_0x12a36f(0x1ad)]),'sparklines':_0x292099[_0x12a36f(0x173)]()},_0x373d77={'config':_0xb2cb8c[_0x12a36f(0x18b)][_0x12a36f(0x105)](_0x7fb345[_0x12a36f(0x1ad)]),'sparklines':_0xb2cb8c[_0x12a36f(0x18b)]['deepClone'](_0x7fb345[_0x12a36f(0x153)][_0x12a36f(0x186)]())};_0x538bf0[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':{[_0x564dc8]:_0x3d3141}}}),_0x5156d5[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':{[_0x564dc8]:_0x373d77}}}),_0xb2cb8c[_0x12a36f(0xf0)](_0x538bf0,_0x3646c8),_0x52996e[_0x12a36f(0x113)]({'unitID':_0x128e49,'undoMutations':_0x5156d5,'redoMutations':_0x538bf0});}else{const _0x3616c9=[],_0x4defbc=[],_0x3bf3c2=new Set(),_0x283d0e={};_0x4f6dd5['forEach'](_0x349195=>{const _0x2a7314=_0x12a36f;var _0x26e517;const {startRow:_0x264505,endRow:_0x9e6695,startColumn:_0x107c3e,endColumn:_0x649158}=_0x349195;for(let _0x2740a4=_0x264505;_0x2740a4<=_0x9e6695;_0x2740a4++)for(let _0x1d7753=_0x107c3e;_0x1d7753<=_0x649158;_0x1d7753++){const _0xda7ce2=(_0x26e517=_0x5cd8b1==null?void 0x0:_0x5cd8b1[_0x2a7314(0x1c2)][_0x2a7314(0x17f)](_0x2740a4,_0x1d7753))==null?void 0x0:_0x26e517[_0x2a7314(0xf7)];if(_0xda7ce2){_0x3bf3c2[_0x2a7314(0x1cf)](_0xda7ce2);const _0x4a82d6=_0x205d5d[_0x2a7314(0x15d)](_0x128e49,_0x2f7694,_0xda7ce2);_0x4a82d6&&(_0x283d0e[_0xda7ce2]={'config':_0xb2cb8c[_0x2a7314(0x18b)][_0x2a7314(0x105)](_0x4a82d6[_0x2a7314(0x1ad)]),'sparklines':_0xb2cb8c[_0x2a7314(0x18b)][_0x2a7314(0x105)](_0x4a82d6['sparklines'][_0x2a7314(0x186)]())});}}}),_0x4defbc[_0x12a36f(0x1be)]({'id':_0x501532['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'groupIds':Array[_0x12a36f(0x114)](_0x3bf3c2),'config':{'config':_0xb2cb8c['Tools'][_0x12a36f(0x105)](_0x7fb345[_0x12a36f(0x1ad)]),'sparklines':_0x7fb345[_0x12a36f(0x153)][_0x12a36f(0x173)]()}}}),_0x3616c9[_0x12a36f(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'isSingle':!0x1,'groupIds':Array['from'](_0x3bf3c2)}}),_0x3616c9[_0x12a36f(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x128e49,'subUnitId':_0x2f7694,'sparklineConfigMap':_0x283d0e}}),_0xb2cb8c['sequenceExecute'](_0x4defbc,_0x3646c8),_0x52996e[_0x12a36f(0x113)]({'unitID':_0x128e49,'undoMutations':_0x3616c9,'redoMutations':_0x4defbc});}return!0x0;}};var _0x364bdc=Object['getOwnPropertyDescriptor'],_0x3098a6=(_0x4beb44,_0x1714c8,_0x1b8f05,_0x5933c5)=>{for(var _0x2cff35=_0x5933c5>0x1?void 0x0:_0x5933c5?_0x364bdc(_0x1714c8,_0x1b8f05):_0x1714c8,_0x8a55c8=_0x4beb44['length']-0x1,_0x61240f;_0x8a55c8>=0x0;_0x8a55c8--)(_0x61240f=_0x4beb44[_0x8a55c8])&&(_0x2cff35=_0x61240f(_0x2cff35)||_0x2cff35);return _0x2cff35;},_0x94af1c=(_0x490efd,_0xee5d1c)=>(_0x34646c,_0x2d2f5e)=>_0xee5d1c(_0x34646c,_0x2d2f5e,_0x490efd);let _0x2b8b43=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x430446,_0x14d1d6,_0x2ff9e3,_0x342bf8){const _0x4cf0f1=_0x4dce4f;super(),this[_0x4cf0f1(0x19a)]=_0x430446,this['_sheetInterceptorService']=_0x14d1d6,this[_0x4cf0f1(0x1d9)]=_0x2ff9e3,this[_0x4cf0f1(0x151)]=_0x342bf8,this[_0x4cf0f1(0x1e5)]();}[_0x4dce4f(0x1e5)](){const _0xda40d8=_0x4dce4f;this[_0xda40d8(0x134)](this[_0xda40d8(0x131)]['interceptCommand']({'getMutations':_0x427f4e=>{const _0x1a17d5=_0xda40d8,_0x579ca5=[],_0x1aa0e1=[];if(_0x427f4e['id']===_0x1db331['ClearSelectionAllCommand']['id']){const _0x1babe0=_0x1db331[_0x1a17d5(0x1b4)](this[_0x1a17d5(0x1d9)]);if(!_0x1babe0)return{'redos':_0x579ca5,'undos':_0x1aa0e1};const {unitId:_0x4c0d14,subUnitId:_0x15d508,worksheet:_0x23aeb9}=_0x1babe0,_0x534d09=this[_0x1a17d5(0x151)]['getCurrentSelections']()[_0x1a17d5(0xf3)](_0x2e2c71=>_0x2e2c71[_0x1a17d5(0x168)]),_0x3fe08c=new Set(),_0x246797={},_0x5d2743={};_0x534d09[_0x1a17d5(0x1e0)](_0x4d0750=>{const _0x9e71da=_0x1a17d5;_0xb2cb8c[_0x9e71da(0x181)]['foreach'](_0x4d0750,(_0x52d106,_0x58488f)=>{const _0x63160=_0x9e71da,_0x15a0d0=this['_sparklineDataSourceModel']['getSparkline'](_0x4c0d14,_0x15d508,_0x52d106,_0x58488f);if(_0x15a0d0&&!_0x3fe08c[_0x63160(0x1bf)](_0x15a0d0)){const _0x340ff1=this[_0x63160(0x19a)][_0x63160(0x15d)](_0x4c0d14,_0x15d508,_0x15a0d0);_0x340ff1&&(_0x3fe08c[_0x63160(0x1cf)](_0x15a0d0),_0x246797[_0x15a0d0]={'config':_0xb2cb8c[_0x63160(0x18b)][_0x63160(0x105)](_0x340ff1[_0x63160(0x1ad)]),'sparklines':_0xb2cb8c[_0x63160(0x18b)][_0x63160(0x105)](_0x340ff1[_0x63160(0x153)][_0x63160(0x186)]())},_0x5d2743[_0x15a0d0]={'config':_0xb2cb8c[_0x63160(0x18b)][_0x63160(0x105)](_0x340ff1[_0x63160(0x1ad)]),'sparklines':_0xb2cb8c[_0x63160(0x18b)][_0x63160(0x105)](_0x340ff1[_0x63160(0x153)][_0x63160(0x186)]())});}});}),Object[_0x1a17d5(0x183)](_0x5d2743)[_0x1a17d5(0x1e0)](_0x74afd8=>{const _0x3c3ae7=_0x1a17d5,_0x1c444b=_0x74afd8[_0x3c3ae7(0x153)];new _0xb2cb8c[(_0x3c3ae7(0x1d6))](_0x1c444b)[_0x3c3ae7(0x10a)]((_0x4a35eb,_0x39e107,_0x1b3c47)=>{const _0x2dacbf=_0x3c3ae7;_0x534d09[_0x2dacbf(0x1b6)](_0x545c09=>_0xb2cb8c[_0x2dacbf(0x126)][_0x2dacbf(0x12c)](_0x545c09,_0xb2cb8c[_0x2dacbf(0x19f)](_0x4a35eb,_0x39e107)))&&delete _0x1c444b[_0x4a35eb][_0x39e107];});}),_0x579ca5[_0x1a17d5(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x4c0d14,'subUnitId':_0x15d508,'groupIds':Array['from'](_0x3fe08c),'isSingle':!0x1}}),_0x579ca5[_0x1a17d5(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x4c0d14,'subUnitId':_0x15d508,'sparklineConfigMap':_0x5d2743}}),_0x1aa0e1[_0x1a17d5(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x4c0d14,'subUnitId':_0x15d508,'groupIds':Array[_0x1a17d5(0x114)](_0x3fe08c),'isSingle':!0x1}}),_0x1aa0e1[_0x1a17d5(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x4c0d14,'subUnitId':_0x15d508,'sparklineConfigMap':_0x246797}});}return{'redos':_0x579ca5,'undos':_0x1aa0e1};}}));}};_0x2b8b43=_0x3098a6([_0x94af1c(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)])),_0x94af1c(0x1,_0xb2cb8c['Inject'](_0x1db331[_0x4dce4f(0x107)])),_0x94af1c(0x2,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x11a)])),_0x94af1c(0x3,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x1db331[_0x4dce4f(0x1dd)]))],_0x2b8b43);var _0x54993d=Object[_0x4dce4f(0x177)],_0x26480b=(_0x3ae223,_0x54ea7d,_0x3d7026,_0x2eff2d)=>{for(var _0x4ffe9b=_0x2eff2d>0x1?void 0x0:_0x2eff2d?_0x54993d(_0x54ea7d,_0x3d7026):_0x54ea7d,_0x4dd8e4=_0x3ae223['length']-0x1,_0x362b31;_0x4dd8e4>=0x0;_0x4dd8e4--)(_0x362b31=_0x3ae223[_0x4dd8e4])&&(_0x4ffe9b=_0x362b31(_0x4ffe9b)||_0x4ffe9b);return _0x4ffe9b;},_0x2fcbff=(_0x200a1c,_0x44d536)=>(_0x366c5a,_0x2dae2a)=>_0x44d536(_0x366c5a,_0x2dae2a,_0x200a1c);let _0x58c0a5=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x1d053b,_0x11394b){const _0x494b39=_0x4dce4f;super(),this[_0x494b39(0x131)]=_0x1d053b,this[_0x494b39(0x19a)]=_0x11394b,this[_0x494b39(0x171)]();}[_0x4dce4f(0x171)](){const _0xd03aa=_0x4dce4f;this['disposeWithMe'](this[_0xd03aa(0x131)][_0xd03aa(0x1aa)]({'getMutations':_0x354a21=>{const _0x23de6a=_0xd03aa,_0x56dbec=[],_0x3d265a=[];if(_0x354a21['id']===_0x1db331[_0x23de6a(0x1ba)]['id']){const _0x4f50c5=_0x354a21[_0x23de6a(0x1b3)];if(!_0x4f50c5)return{'redos':_0x56dbec,'undos':_0x3d265a};const {unitId:_0x453451,subUnitId:_0x14c443,targetSubUnitId:_0x7e221d}=_0x4f50c5;if(!_0x453451||!_0x14c443||!_0x7e221d)return{'redos':_0x56dbec,'undos':_0x3d265a};const _0x3bc96f=new Set(),_0x5e6a89={},_0x5443e7=this[_0x23de6a(0x19a)][_0x23de6a(0x189)](_0x453451,_0x14c443);if(!_0x5443e7)return{'redos':_0x56dbec,'undos':_0x3d265a};for(const [_0x47759a,_0x5d8efa]of _0x5443e7){const _0x376b56='g_'+_0xb2cb8c[_0x23de6a(0x160)](0x6);_0x3bc96f[_0x23de6a(0x1cf)](_0x47759a),_0x5e6a89[_0x376b56]={'config':_0xb2cb8c[_0x23de6a(0x18b)]['deepClone'](_0x5d8efa[_0x23de6a(0x1ad)]),'sparklines':_0xb2cb8c[_0x23de6a(0x18b)][_0x23de6a(0x105)](_0x5d8efa['sparklines'][_0x23de6a(0x186)]())};}_0x3bc96f[_0x23de6a(0x1db)]&&(_0x3d265a[_0x23de6a(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x453451,'subUnitId':_0x7e221d,'groupIds':Array['from'](_0x3bc96f),'isSingle':!0x1}}),_0x56dbec['push']({'id':_0x4d1b93['id'],'params':{'unitId':_0x453451,'subUnitId':_0x7e221d,'sparklineConfigMap':_0x5e6a89}}));}return{'redos':_0x56dbec,'undos':_0x3d265a};}}));}};_0x58c0a5=_0x26480b([_0x2fcbff(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x1db331[_0x4dce4f(0x107)])),_0x2fcbff(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)]))],_0x58c0a5);var _0x2e6c27=Object[_0x4dce4f(0x177)],_0x2bdc57=(_0x500b7f,_0x4756a4,_0x5b5827,_0x53630c)=>{for(var _0x60f4dc=_0x53630c>0x1?void 0x0:_0x53630c?_0x2e6c27(_0x4756a4,_0x5b5827):_0x4756a4,_0x1b3850=_0x500b7f['length']-0x1,_0x15ada0;_0x1b3850>=0x0;_0x1b3850--)(_0x15ada0=_0x500b7f[_0x1b3850])&&(_0x60f4dc=_0x15ada0(_0x60f4dc)||_0x60f4dc);return _0x60f4dc;},_0x21b8bb=(_0x20ef78,_0x52e7d6)=>(_0x41404c,_0x1831cb)=>_0x52e7d6(_0x41404c,_0x1831cb,_0x20ef78);let _0x5ef288=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x418b2e,_0x42ef63,_0x55629c){const _0xb82129=_0x4dce4f;super(),this['_commandService']=_0x418b2e,this[_0xb82129(0x19a)]=_0x42ef63,this[_0xb82129(0x1ed)]=_0x55629c,this['_initDataChangeListener'](),this[_0xb82129(0x15b)]();}[_0x4dce4f(0x16d)](){const _0x2b5f6c=_0x4dce4f;this[_0x2b5f6c(0x134)](this[_0x2b5f6c(0x142)][_0x2b5f6c(0x16b)](_0x2df687=>{const _0x3ce330=_0x2b5f6c;if(_0x2df687['id']===_0x1db331['SetRangeValuesMutation']['id']){const _0x46d686=_0x2df687[_0x3ce330(0x1b3)],{cellValue:_0x19962e,unitId:_0x140fd0,subUnitId:_0x3a440e}=_0x46d686,_0x148abb=new _0xb2cb8c['ObjectMatrix'](_0x19962e),_0x5d6a7c=new Set(),_0x41f453=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x140fd0,_0x3a440e);if(!_0x41f453)return;const _0x5904b1=Array[_0x3ce330(0x114)](_0x41f453);_0x148abb[_0x3ce330(0x10a)]((_0x5ddfad,_0xc33e10,_0xfebec6)=>{const _0x2d9d1e=_0x3ce330,_0x42271a=_0xb2cb8c['cellToRange'](_0x5ddfad,_0xc33e10);for(let _0x383858=0x0;_0x383858<_0x5904b1[_0x2d9d1e(0x130)];_0x383858++){const [_0x40bb9a,_0x4a0148]=_0x5904b1[_0x383858],_0x56a025=_0x5d6a7c[_0x2d9d1e(0x1bf)](_0x40bb9a);_0x56a025||_0x4a0148[_0x2d9d1e(0x153)][_0x2d9d1e(0x10a)]((_0x57aa72,_0x2c955c,_0x3562ba)=>{const _0x346875=_0x2d9d1e,_0x47e0ae=_0x3562ba;if(_0x47e0ae&&!_0x56a025&&_0xb2cb8c['Rectangle'][_0x346875(0x12c)](_0x42271a,_0x47e0ae))return _0x5d6a7c[_0x346875(0x1cf)](_0x40bb9a),!0x0;});}}),_0x5d6a7c[_0x3ce330(0x1e0)](_0x2917c9=>{const _0x4c6aa8=_0x3ce330;this[_0x4c6aa8(0x19a)][_0x4c6aa8(0x122)](_0x140fd0,_0x3a440e,_0x2917c9),this[_0x4c6aa8(0x19a)][_0x4c6aa8(0x14e)](_0x140fd0,_0x3a440e,_0x2917c9);});}else{if(_0x2df687['id']===_0x1db331[_0x3ce330(0x11f)]['id']){const _0x1bfab0=_0x2df687[_0x3ce330(0x1b3)],{range:_0x496558,unitId:_0x3758b8,subUnitId:_0x34d2d6}=_0x1bfab0,_0x515a91=new Set(),_0x2b54d2=this[_0x3ce330(0x19a)][_0x3ce330(0x189)](_0x3758b8,_0x34d2d6);if(!_0x2b54d2)return;const _0x3cd02d=Array[_0x3ce330(0x114)](_0x2b54d2);for(let _0x4ef2d3=0x0;_0x4ef2d3<_0x3cd02d[_0x3ce330(0x130)];_0x4ef2d3++){const [_0x2722b8,_0x3e39f0]=_0x3cd02d[_0x4ef2d3],_0x3b9243=_0x515a91['has'](_0x2722b8);_0x3b9243||_0x3e39f0['sparklines'][_0x3ce330(0x10a)]((_0x2255fd,_0x44b969,_0x369f9c)=>{const _0x19f0f8=_0x3ce330,_0x3f3f7d=_0x369f9c;if(_0x3f3f7d&&!_0x3b9243&&_0xb2cb8c[_0x19f0f8(0x126)]['intersects'](_0x496558,_0x3f3f7d))return _0x515a91['add'](_0x2722b8),!0x0;});}_0x515a91[_0x3ce330(0x1e0)](_0x190cc6=>{const _0x30643b=_0x3ce330;this[_0x30643b(0x19a)][_0x30643b(0x122)](_0x3758b8,_0x34d2d6,_0x190cc6),this[_0x30643b(0x19a)][_0x30643b(0x14e)](_0x3758b8,_0x34d2d6,_0x190cc6);});}}}));}[_0x4dce4f(0x15b)](){const _0x42b276=_0x4dce4f;this[_0x42b276(0x134)](this[_0x42b276(0x1ed)][_0x42b276(0x1eb)][_0x42b276(0xf4)](_0x56bb32=>{const _0x4be296=_0x42b276,{unitId:_0xd1abed,subUnitId:_0x543a92,ranges:_0x3c8118}=_0x56bb32,_0x4558ce=this[_0x4be296(0x19a)][_0x4be296(0x189)](_0xd1abed,_0x543a92);if(!_0x4558ce)return;const _0x224c9b=Array[_0x4be296(0x114)](_0x4558ce),_0x4ec3ff=new Set();for(let _0x3a1694=0x0;_0x3a1694<_0x224c9b[_0x4be296(0x130)];_0x3a1694++){const [_0x5841b1,_0x1f5faa]=_0x224c9b[_0x3a1694],_0x5ab926=_0x4ec3ff['has'](_0x5841b1);_0x5ab926||_0x1f5faa[_0x4be296(0x153)][_0x4be296(0x10a)]((_0x105689,_0x4de6d9,_0x3dc041)=>{const _0x1bc0ed=_0x4be296,_0x4f10e2=_0x3dc041;if(_0x4f10e2&&!_0x5ab926){for(const _0x58096f of _0x3c8118)if(_0xb2cb8c[_0x1bc0ed(0x126)][_0x1bc0ed(0x12c)](_0x58096f,_0x4f10e2)){_0x4ec3ff[_0x1bc0ed(0x1cf)](_0x5841b1);break;}}});}_0x4ec3ff[_0x4be296(0x1e0)](_0x1eb551=>{const _0x3f3a6b=_0x4be296;this[_0x3f3a6b(0x19a)]['clearSparklineCache'](_0xd1abed,_0x543a92,_0x1eb551),this[_0x3f3a6b(0x19a)][_0x3f3a6b(0x14e)](_0xd1abed,_0x543a92,_0x1eb551);});}));}};_0x5ef288=_0x2bdc57([_0x21b8bb(0x0,_0xb2cb8c['Inject'](_0xb2cb8c['ICommandService'])),_0x21b8bb(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)])),_0x21b8bb(0x2,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x1db331[_0x4dce4f(0x169)]))],_0x5ef288);var _0x1d28a5=Object[_0x4dce4f(0x177)],_0x214a5e=(_0x1f32a8,_0x4e7893,_0x9de55b,_0xa9ec21)=>{for(var _0x19381f=_0xa9ec21>0x1?void 0x0:_0xa9ec21?_0x1d28a5(_0x4e7893,_0x9de55b):_0x4e7893,_0x13c9c4=_0x1f32a8['length']-0x1,_0x4d547e;_0x13c9c4>=0x0;_0x13c9c4--)(_0x4d547e=_0x1f32a8[_0x13c9c4])&&(_0x19381f=_0x4d547e(_0x19381f)||_0x19381f);return _0x19381f;},_0x545fdf=(_0x3451de,_0x4e20be)=>(_0x3107d1,_0x388242)=>_0x4e20be(_0x3107d1,_0x388242,_0x3451de);let _0x3bfaf2=class extends _0xb2cb8c['Disposable']{constructor(_0x124d58,_0x4e9e03){const _0x2fcaf5=_0x4dce4f;super(),this[_0x2fcaf5(0x142)]=_0x124d58,this[_0x2fcaf5(0x19a)]=_0x4e9e03,this[_0x2fcaf5(0x14a)]();}[_0x4dce4f(0x14a)](){const _0x5eb50b=_0x4dce4f;this[_0x5eb50b(0x142)][_0x5eb50b(0x16b)](_0x4326fa=>{const _0x54ebf1=_0x5eb50b;if(_0x4326fa['id']===_0x1db331[_0x54ebf1(0x156)]['id']||_0x4326fa['id']===_0x1db331[_0x54ebf1(0x1bc)]['id']||_0x4326fa['id']===_0x1db331[_0x54ebf1(0x15c)]['id']||_0x4326fa['id']===_0x1db331[_0x54ebf1(0x1b2)]['id']){const _0x38f04c=_0x4326fa[_0x54ebf1(0x1b3)],{ranges:_0x53ab39,unitId:_0x459a15,subUnitId:_0x2ced69}=_0x38f04c,_0x556451=new Set(),_0x472799=this['_sparklineDataSourceModel'][_0x54ebf1(0x189)](_0x459a15,_0x2ced69);if(!_0x472799)return;const _0xc5f1e1=Array[_0x54ebf1(0x114)](_0x472799);_0x53ab39[_0x54ebf1(0x1e0)](_0x3ed4bb=>{const _0x1fb545=_0x54ebf1;_0xb2cb8c['Range'][_0x1fb545(0xf8)](_0x3ed4bb,(_0x200fab,_0x50f2a7)=>{const _0xc05766=_0x1fb545,_0x11ebee=_0xb2cb8c[_0xc05766(0x19f)](_0x200fab,_0x50f2a7);for(let _0x62f97b=0x0;_0x62f97b<_0xc5f1e1[_0xc05766(0x130)];_0x62f97b++){const [_0x1f81e4,_0x3428dc]=_0xc5f1e1[_0x62f97b],_0x49deeb=_0x556451[_0xc05766(0x1bf)](_0x1f81e4);_0x49deeb||_0x3428dc[_0xc05766(0x153)][_0xc05766(0x10a)]((_0x5ec49f,_0x19ecd0,_0x290c65)=>{const _0x1f6f58=_0xc05766,_0x1f7c03=_0x290c65;if(_0x1f7c03&&!_0x49deeb&&_0xb2cb8c[_0x1f6f58(0x126)][_0x1f6f58(0x12c)](_0x11ebee,_0x1f7c03))return _0x556451[_0x1f6f58(0x1cf)](_0x1f81e4),!0x0;});}});}),_0x556451['forEach'](_0x4416b2=>{const _0x35f45c=_0x54ebf1;this[_0x35f45c(0x19a)][_0x35f45c(0x122)](_0x459a15,_0x2ced69,_0x4416b2),this[_0x35f45c(0x19a)]['updateSparklineExtraNum'](_0x459a15,_0x2ced69,_0x4416b2);});}});}};_0x3bfaf2=_0x214a5e([_0x545fdf(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x1a2)])),_0x545fdf(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)]))],_0x3bfaf2);var _0x6d794=Object[_0x4dce4f(0x177)],_0xb7b943=(_0x5e672d,_0x3c4cfb,_0x4fd0c0,_0x2abb71)=>{const _0x4aa704=_0x4dce4f;for(var _0x3fd37a=_0x2abb71>0x1?void 0x0:_0x2abb71?_0x6d794(_0x3c4cfb,_0x4fd0c0):_0x3c4cfb,_0xb58236=_0x5e672d[_0x4aa704(0x130)]-0x1,_0x404048;_0xb58236>=0x0;_0xb58236--)(_0x404048=_0x5e672d[_0xb58236])&&(_0x3fd37a=_0x404048(_0x3fd37a)||_0x3fd37a);return _0x3fd37a;},_0x2b3c91=(_0x4163e5,_0x519eed)=>(_0x455b15,_0xc67e04)=>_0x519eed(_0x455b15,_0xc67e04,_0x4163e5);let _0x32068=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0xe0a0c6,_0x544f26,_0x5ad8e5){const _0xb1ef9d=_0x4dce4f;super(),this[_0xb1ef9d(0x142)]=_0xe0a0c6,this['_sheetInterceptorService']=_0x544f26,this[_0xb1ef9d(0x19a)]=_0x5ad8e5,this[_0xb1ef9d(0x148)]();}['_initMergeWithSparkline'](){const _0x53f274=_0x4dce4f;this['disposeWithMe'](this['_sheetInterceptorService'][_0x53f274(0x1aa)]({'getMutations':_0x11f11e=>{const _0x4fee48=_0x53f274,_0x5508ad=[],_0x25c2ab=[];if(_0x11f11e['id']===_0x1db331[_0x4fee48(0x10c)]['id']){const _0x479c24=_0x11f11e['params'];if(!_0x479c24)return{'redos':_0x5508ad,'undos':_0x25c2ab};const {unitId:_0x4ef77d,subUnitId:_0x73645e,ranges:_0x231623}=_0x479c24,_0x58972b=this[_0x4fee48(0x19a)][_0x4fee48(0x189)](_0x4ef77d,_0x73645e);if(!_0x58972b)return{'redos':_0x5508ad,'undos':_0x25c2ab};const _0x28ac5e={},_0x54731a={},_0x2d56a8=new Set();_0x231623[_0x4fee48(0x1e0)](_0x1cbbbb=>{const _0x596a93=_0x4fee48,_0xa965b=_0x1cbbbb[_0x596a93(0x14d)],_0x8de6b1=_0x1cbbbb[_0x596a93(0x121)];_0xb2cb8c[_0x596a93(0x181)]['foreach'](_0x1cbbbb,(_0x1bf5c2,_0xa7a17e)=>{const _0x40568b=_0x596a93,_0x5e201c=this[_0x40568b(0x19a)][_0x40568b(0x1e9)](_0x4ef77d,_0x73645e,_0x1bf5c2,_0xa7a17e);if(_0x5e201c&&!(_0x1bf5c2===_0xa965b&&_0xa7a17e===_0x8de6b1)){const _0x172764=this[_0x40568b(0x19a)][_0x40568b(0x15d)](_0x4ef77d,_0x73645e,_0x5e201c);if(_0x172764){_0x2d56a8['add'](_0x5e201c);let _0x5e1fe4=_0x28ac5e[_0x5e201c];_0x5e1fe4||(_0x5e1fe4={'config':_0xb2cb8c[_0x40568b(0x18b)]['deepClone'](_0x172764['config']),'sparklines':new _0xb2cb8c[(_0x40568b(0x1d6))](_0x172764[_0x40568b(0x153)]['clone']())},_0x28ac5e[_0x5e201c]=_0x5e1fe4),_0x5e1fe4['sparklines'][_0x40568b(0x164)](_0x1bf5c2,_0xa7a17e),_0x54731a[_0x5e201c]={'config':_0xb2cb8c[_0x40568b(0x18b)][_0x40568b(0x105)](_0x172764[_0x40568b(0x1ad)]),'sparklines':_0xb2cb8c[_0x40568b(0x18b)][_0x40568b(0x105)](_0x172764[_0x40568b(0x153)]['clone']())};}}});});for(const [_0x293238,_0x5a1d9f]of _0x58972b){const _0x905e22=_0x5a1d9f[_0x4fee48(0x153)];_0x905e22['forValue']((_0x4e00ef,_0x2db8b8,_0x4f6b18)=>{const _0x171b7d=_0x4fee48;for(let _0x5d873c=0x0;_0x5d873c<_0x231623[_0x171b7d(0x130)];_0x5d873c++){const _0x545865=_0x231623[_0x5d873c];if(_0xb2cb8c[_0x171b7d(0x126)]['contains'](_0x545865,_0x4f6b18)){_0x2d56a8[_0x171b7d(0x1cf)](_0x293238);let _0x1c1f32=_0x28ac5e[_0x293238];_0x1c1f32||(_0x1c1f32={'config':_0xb2cb8c['Tools'][_0x171b7d(0x105)](_0x5a1d9f['config']),'sparklines':new _0xb2cb8c['ObjectMatrix'](_0x905e22['clone']())},_0x28ac5e[_0x293238]=_0x1c1f32),_0x1c1f32['sparklines']['realDeleteValue'](_0x4e00ef,_0x2db8b8),_0x54731a[_0x293238]||(_0x54731a[_0x293238]={'config':_0xb2cb8c[_0x171b7d(0x18b)][_0x171b7d(0x105)](_0x5a1d9f['config']),'sparklines':_0xb2cb8c[_0x171b7d(0x18b)]['deepClone'](_0x905e22[_0x171b7d(0x186)]())});}}});}const _0x40772e={};Object['entries'](_0x28ac5e)[_0x4fee48(0x1e0)](([_0x46c525,_0x2d61fd])=>{const _0x231b50=_0x4fee48;_0x2d61fd[_0x231b50(0x153)][_0x231b50(0x193)]()&&(_0x40772e[_0x46c525]={'config':_0x2d61fd[_0x231b50(0x1ad)],'sparklines':_0x2d61fd[_0x231b50(0x153)][_0x231b50(0x186)]()});}),_0x2d56a8[_0x4fee48(0x1db)]&&(_0x5508ad[_0x4fee48(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x4ef77d,'subUnitId':_0x73645e,'groupIds':Array[_0x4fee48(0x114)](_0x2d56a8),'isSingle':!0x1}}),_0x25c2ab[_0x4fee48(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x4ef77d,'subUnitId':_0x73645e,'groupIds':Array['from'](_0x2d56a8),'isSingle':!0x1}}),_0x5508ad['push']({'id':_0x4d1b93['id'],'params':{'unitId':_0x4ef77d,'subUnitId':_0x73645e,'sparklineConfigMap':_0x40772e}}),_0x25c2ab[_0x4fee48(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x4ef77d,'subUnitId':_0x73645e,'sparklineConfigMap':_0x54731a}}));}return{'redos':_0x5508ad,'undos':_0x25c2ab};}}));}};_0x32068=_0xb7b943([_0x2b3c91(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x1a2)])),_0x2b3c91(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x1db331[_0x4dce4f(0x107)])),_0x2b3c91(0x2,_0xb2cb8c['Inject'](_0x42b6d6[_0x4dce4f(0x12d)]))],_0x32068);var _0x379ba6=Object['getOwnPropertyDescriptor'],_0xc73eac=(_0x15f8ac,_0x1b10b3,_0x2ad7bc,_0x5a2f3c)=>{for(var _0x30b445=_0x5a2f3c>0x1?void 0x0:_0x5a2f3c?_0x379ba6(_0x1b10b3,_0x2ad7bc):_0x1b10b3,_0x199add=_0x15f8ac['length']-0x1,_0x5ab68e;_0x199add>=0x0;_0x199add--)(_0x5ab68e=_0x15f8ac[_0x199add])&&(_0x30b445=_0x5ab68e(_0x30b445)||_0x30b445);return _0x30b445;},_0x367cd9=(_0x1cd96f,_0x28e9b6)=>(_0x32f8a8,_0x3272d7)=>_0x28e9b6(_0x32f8a8,_0x3272d7,_0x1cd96f);let _0x51b208=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x4fc664,_0x1d965d,_0x3f059f,_0x42130b){const _0x59cb93=_0x4dce4f;super(),_0x560983(this,'disposableCollection',new _0xb2cb8c['DisposableCollection']()),(this[_0x59cb93(0x142)]=_0x4fc664,this['_refRangeService']=_0x1d965d,this[_0x59cb93(0x1d9)]=_0x3f059f,this[_0x59cb93(0x19a)]=_0x42130b,this[_0x59cb93(0x18c)](),this[_0x59cb93(0x141)]());}[_0x4dce4f(0x18c)](){const _0x504bde=_0x4dce4f,_0x2483e8=(_0x14b06a,_0x48612a)=>{const _0x20044e=_0x1d5e,_0x4001d6=this['_univerInstanceService'][_0x20044e(0x166)](_0xb2cb8c[_0x20044e(0x1cb)][_0x20044e(0x127)]);if(!_0x4001d6||!(_0x4001d6==null?void 0x0:_0x4001d6[_0x20044e(0x15e)](_0x48612a)))return;this[_0x20044e(0x154)][_0x20044e(0xf6)]();const _0x9e767a=_0x1b6aac=>this['refRangeHandle'](_0x1b6aac,_0x14b06a,_0x48612a),_0x6b4b03=[],_0x29963d=this[_0x20044e(0x19a)]['getSubUnitSparkline'](_0x14b06a,_0x48612a);if(_0x29963d){for(const [_0x14c6ee,_0x1d8dc2]of _0x29963d)_0x1d8dc2[_0x20044e(0x153)][_0x20044e(0x10a)]((_0x54e348,_0x74d7c2,_0x2ce323)=>{const _0x2aac80=_0x20044e,_0xe7eb8e=_0xb2cb8c[_0x2aac80(0x19f)](_0x54e348,_0x74d7c2);_0x6b4b03['push'](_0xe7eb8e);});_0x6b4b03[_0x20044e(0x1e0)](_0xe6c18e=>{const _0x21b3d6=_0x20044e;this['disposableCollection'][_0x21b3d6(0x1cf)](this[_0x21b3d6(0x16e)][_0x21b3d6(0x1c7)](_0xe6c18e,_0x9e767a,_0x14b06a,_0x48612a));});}};this[_0x504bde(0x134)](this[_0x504bde(0x142)][_0x504bde(0x16b)](_0x11f6a0=>{const _0x2231d5=_0x504bde;if(_0x11f6a0['id']===_0x1db331['SetWorksheetActivateCommand']['id']){const _0x375b60=_0x11f6a0['params'],_0x3c3e11=_0x375b60[_0x2231d5(0x1cc)],_0x175fd2=_0x375b60[_0x2231d5(0x198)];if(!_0x3c3e11||!_0x175fd2)return;_0x2483e8(_0x175fd2,_0x3c3e11);}if(_0x11f6a0['id']===_0x501532['id']||_0x11f6a0['id']===_0x4d1b93['id']){const _0x415cd4=_0x11f6a0[_0x2231d5(0x1b3)],_0x107f8f=_0x415cd4[_0x2231d5(0x1cc)],_0x3b34aa=_0x415cd4[_0x2231d5(0x198)];if(!_0x107f8f||!_0x3b34aa)return;_0x2483e8(_0x3b34aa,_0x107f8f);}}));}[_0x4dce4f(0x10e)](_0x56b778,_0x1f7c58,_0x30ed5e){const _0xc60809=_0x4dce4f;switch(_0x56b778['id']){case _0x1db331[_0xc60809(0x1a3)]['id']:return this[_0xc60809(0x165)](_0x56b778[_0xc60809(0x1b3)],_0x1f7c58,_0x30ed5e);case _0x1db331[_0xc60809(0x143)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x56b778['params'],_0x1f7c58,_0x30ed5e);}return{'redos':[],'undos':[]};}[_0x4dce4f(0x1de)](_0x1af323,_0x4181be,_0x1bd864){const _0x104e96=_0x4dce4f;var _0x549de7,_0x220949;const {range:_0x46b747}=_0x1af323,_0x35f101=new Set(),_0x33bd1b={},_0x2759f1={},_0x48a251=[],_0x4585c1=[],_0x48555d=[],_0x86b3af=[];if(!_0x1db331[_0x104e96(0x1b4)](this[_0x104e96(0x1d9)],{'unitId':_0x4181be,'subUnitId':_0x1bd864}))return{'redos':_0x4585c1,'undos':_0x48a251};const _0x4706fa=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x4181be,_0x1bd864);if(!_0x4706fa)return{'redos':_0x4585c1,'undos':_0x48a251};if(!((_0x220949=(_0x549de7=this['_sparklineDataSourceModel'][_0x104e96(0x100)]()[_0x104e96(0x12f)][_0x104e96(0x167)](_0x4181be))==null?void 0x0:_0x549de7[_0x104e96(0x167)](_0x1bd864))==null?void 0x0:_0x220949['matrix']))return{'redos':_0x4585c1,'undos':_0x48a251};for(const [_0x502c83,_0x47fb2d]of _0x4706fa){const _0x5307b3=_0x47fb2d['sparklines'];_0x5307b3['forValue']((_0x4080a6,_0x283558,_0x4da3fb)=>{const _0x594ed9=_0x104e96;if(_0xb2cb8c[_0x594ed9(0x126)][_0x594ed9(0x12c)](_0x46b747,_0x4da3fb)){_0x35f101[_0x594ed9(0x1cf)](_0x502c83);let _0xbb0f83=_0x2759f1[_0x502c83];_0xbb0f83||(_0xbb0f83={'config':_0x47fb2d['config'],'sparklines':_0x47fb2d['sparklines'][_0x594ed9(0x186)]()},_0x2759f1[_0x502c83]=_0xbb0f83);let _0x3e4eaf=_0x33bd1b[_0x502c83];_0x3e4eaf||(_0x3e4eaf={'config':_0x47fb2d[_0x594ed9(0x1ad)],'sparklines':new _0xb2cb8c[(_0x594ed9(0x1d6))](_0x47fb2d[_0x594ed9(0x153)][_0x594ed9(0x186)]())},_0x33bd1b[_0x502c83]=_0x3e4eaf);const _0x24396a=_0x1db331[_0x594ed9(0x16f)](_0x4da3fb,{'id':_0x1db331[_0x594ed9(0x11e)]['id'],'params':_0x1af323});_0x24396a?_0x3e4eaf['sparklines']['setValue'](_0x4080a6,_0x283558,_0x24396a):_0x3e4eaf[_0x594ed9(0x153)][_0x594ed9(0x12e)](_0x4080a6,_0x283558,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x594ed9(0x12b)][_0x594ed9(0x18a)]});}}),_0x5307b3[_0x104e96(0x10a)]((_0x4dca43,_0x1df4d7,_0x3dcd66)=>{const _0x569166=_0x104e96;if(_0x4dca43<=_0x46b747[_0x569166(0x1ec)]&&_0x4dca43>=_0x46b747[_0x569166(0x14d)]){_0x35f101[_0x569166(0x1cf)](_0x502c83);let _0x5668a8=_0x2759f1[_0x502c83];_0x5668a8||(_0x5668a8={'config':_0x47fb2d[_0x569166(0x1ad)],'sparklines':_0x47fb2d[_0x569166(0x153)][_0x569166(0x186)]()},_0x2759f1[_0x502c83]=_0x5668a8);let _0x26e581=_0x33bd1b[_0x502c83];_0x26e581||(_0x26e581={'config':_0x47fb2d[_0x569166(0x1ad)],'sparklines':new _0xb2cb8c[(_0x569166(0x1d6))](_0x47fb2d[_0x569166(0x153)][_0x569166(0x186)]())},_0x33bd1b[_0x502c83]=_0x26e581);}});}_0x86b3af[_0x104e96(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x4181be,'subUnitId':_0x1bd864,'groupIds':Array[_0x104e96(0x114)](_0x35f101),'isSingle':!0x1}}),_0x48555d['push']({'id':_0x595234['id'],'params':{'unitId':_0x4181be,'subUnitId':_0x1bd864,'groupIds':Array[_0x104e96(0x114)](_0x35f101),'isSingle':!0x1}});const _0x46b58e={};let _0x139985=!0x1;return Object['entries'](_0x33bd1b)['forEach'](([_0x4c01b6,_0x5f2b14])=>{const _0x53151a=_0x104e96;_0x5f2b14[_0x53151a(0x153)][_0x53151a(0x193)]()&&(_0x139985=!0x0,_0x5f2b14[_0x53151a(0x153)][_0x53151a(0x1b7)](_0x46b747[_0x53151a(0x14d)],_0x46b747[_0x53151a(0x1ec)]-_0x46b747[_0x53151a(0x14d)]+0x1),_0x46b58e[_0x4c01b6]={'config':_0x5f2b14['config'],'sparklines':_0x5f2b14[_0x53151a(0x153)][_0x53151a(0x186)]()});}),_0x139985&&_0x4585c1[_0x104e96(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x4181be,'subUnitId':_0x1bd864,'sparklineConfigMap':_0x46b58e}}),_0x48a251[_0x104e96(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x4181be,'subUnitId':_0x1bd864,'sparklineConfigMap':_0x2759f1}}),{'redos':_0x4585c1,'undos':_0x48a251,'preRedos':_0x48555d,'preUndos':_0x86b3af};}[_0x4dce4f(0x165)](_0x25f38c,_0x20aaeb,_0x4ef65d){const _0x533da4=_0x4dce4f;var _0x38deae,_0x52e7fc;const {range:_0x1072d4}=_0x25f38c,_0x3187e4=new Set(),_0x50080a={},_0x33fbea={},_0x809079=[],_0xbd9422=[],_0xfbc4d3=[],_0x275bbd=[];if(!_0x1db331[_0x533da4(0x1b4)](this[_0x533da4(0x1d9)],{'unitId':_0x20aaeb,'subUnitId':_0x4ef65d}))return{'redos':_0xbd9422,'undos':_0x809079};const _0x2c2630=this['_sparklineDataSourceModel'][_0x533da4(0x189)](_0x20aaeb,_0x4ef65d);if(!_0x2c2630)return{'redos':_0xbd9422,'undos':_0x809079};if(!((_0x52e7fc=(_0x38deae=this[_0x533da4(0x19a)][_0x533da4(0x100)]()['sparklineAnchorMap'][_0x533da4(0x167)](_0x20aaeb))==null?void 0x0:_0x38deae[_0x533da4(0x167)](_0x4ef65d))==null?void 0x0:_0x52e7fc['matrix']))return{'redos':_0xbd9422,'undos':_0x809079};for(const [_0x2cfe82,_0x525830]of _0x2c2630){const _0x56234e=_0x525830[_0x533da4(0x153)];_0x56234e['forValue']((_0x39f0fe,_0x502069,_0x4adf55)=>{const _0x5cd8c2=_0x533da4;if(_0xb2cb8c['Rectangle']['intersects'](_0x1072d4,_0x4adf55)){_0x3187e4[_0x5cd8c2(0x1cf)](_0x2cfe82);let _0x30e62d=_0x33fbea[_0x2cfe82];_0x30e62d||(_0x30e62d={'config':_0x525830[_0x5cd8c2(0x1ad)],'sparklines':_0x525830[_0x5cd8c2(0x153)][_0x5cd8c2(0x186)]()},_0x33fbea[_0x2cfe82]=_0x30e62d);let _0x1009d4=_0x50080a[_0x2cfe82];_0x1009d4||(_0x1009d4={'config':_0x525830[_0x5cd8c2(0x1ad)],'sparklines':new _0xb2cb8c[(_0x5cd8c2(0x1d6))](_0x525830[_0x5cd8c2(0x153)][_0x5cd8c2(0x186)]())},_0x50080a[_0x2cfe82]=_0x1009d4);const _0x4b2f27=_0x1db331[_0x5cd8c2(0x16f)](_0x4adf55,{'id':_0x1db331[_0x5cd8c2(0x17c)]['id'],'params':_0x25f38c});_0x4b2f27?_0x1009d4['sparklines'][_0x5cd8c2(0x12e)](_0x39f0fe,_0x502069,_0x4b2f27):_0x1009d4['sparklines'][_0x5cd8c2(0x12e)](_0x39f0fe,_0x502069,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x5cd8c2(0x12b)]['NORMAL']});}}),_0x56234e[_0x533da4(0x10a)]((_0xe674f8,_0x3b597c,_0x34ee77)=>{const _0x3bce2c=_0x533da4;if(_0x3b597c<=_0x1072d4['endColumn']&&_0x3b597c>=_0x1072d4['startColumn']){_0x3187e4[_0x3bce2c(0x1cf)](_0x2cfe82);let _0xbcdec2=_0x33fbea[_0x2cfe82];_0xbcdec2||(_0xbcdec2={'config':_0x525830[_0x3bce2c(0x1ad)],'sparklines':_0x525830['sparklines']['clone']()},_0x33fbea[_0x2cfe82]=_0xbcdec2);let _0x3264c7=_0x50080a[_0x2cfe82];_0x3264c7||(_0x3264c7={'config':_0x525830[_0x3bce2c(0x1ad)],'sparklines':new _0xb2cb8c[(_0x3bce2c(0x1d6))](_0x525830[_0x3bce2c(0x153)][_0x3bce2c(0x186)]())},_0x50080a[_0x2cfe82]=_0x3264c7);}});}_0x275bbd['push']({'id':_0x595234['id'],'params':{'unitId':_0x20aaeb,'subUnitId':_0x4ef65d,'groupIds':Array[_0x533da4(0x114)](_0x3187e4),'isSingle':!0x1}}),_0xfbc4d3[_0x533da4(0x1be)]({'id':_0x595234['id'],'params':{'unitId':_0x20aaeb,'subUnitId':_0x4ef65d,'groupIds':Array[_0x533da4(0x114)](_0x3187e4),'isSingle':!0x1}});const _0x3a921f={};let _0x2def61=!0x1;return Object[_0x533da4(0x111)](_0x50080a)['forEach'](([_0xbe7993,_0x5a680a])=>{const _0x51d86f=_0x533da4;_0x5a680a['sparklines'][_0x51d86f(0x193)]()&&(_0x2def61=!0x0,_0x5a680a[_0x51d86f(0x153)][_0x51d86f(0x19e)](_0x1072d4[_0x51d86f(0x121)],_0x1072d4[_0x51d86f(0x1a6)]-_0x1072d4[_0x51d86f(0x121)]+0x1),_0x3a921f[_0xbe7993]={'config':_0x5a680a[_0x51d86f(0x1ad)],'sparklines':_0x5a680a[_0x51d86f(0x153)][_0x51d86f(0x186)]()});}),_0x2def61&&_0xbd9422[_0x533da4(0x1be)]({'id':_0x4d1b93['id'],'params':{'unitId':_0x20aaeb,'subUnitId':_0x4ef65d,'sparklineConfigMap':_0x3a921f}}),_0x809079['push']({'id':_0x4d1b93['id'],'params':{'unitId':_0x20aaeb,'subUnitId':_0x4ef65d,'sparklineConfigMap':_0x33fbea}}),{'redos':_0xbd9422,'undos':_0x809079,'preRedos':_0xfbc4d3,'preUndos':_0x275bbd};}[_0x4dce4f(0x141)](){const _0x11a3e7=_0x4dce4f;this[_0x11a3e7(0x134)](this['_commandService']['onCommandExecuted'](_0x181605=>{const _0x68aa10=_0x11a3e7;if(_0x181605['id']===_0x1db331['InsertColMutation']['id']){const _0x474319=_0x181605['params'],{unitId:_0x13bb7b,subUnitId:_0x519ddd,range:_0x435cf4}=_0x474319,_0x73f9c6=_0x435cf4[_0x68aa10(0x121)],_0x3299fc=_0x435cf4['endColumn']-_0x435cf4[_0x68aa10(0x121)]+0x1,_0x3369d2=this[_0x68aa10(0x19a)]['getSubUnitSparkline'](_0x13bb7b,_0x519ddd);if(!_0x3369d2)return;for(const [_0x19a196,_0x345987]of _0x3369d2){this['_sparklineDataSourceModel'][_0x68aa10(0x122)](_0x13bb7b,_0x519ddd,_0x19a196);const _0x3ef956=_0x345987[_0x68aa10(0x153)];_0x3ef956[_0x68aa10(0x10a)]((_0x581ea2,_0x4d8af4,_0x44208f)=>{const _0x1e8206=_0x68aa10,_0x4aabc6={..._0x44208f};_0x73f9c6<=_0x4aabc6['startColumn']?(_0x4aabc6[_0x1e8206(0x121)]+=_0x3299fc,_0x4aabc6['endColumn']+=_0x3299fc):_0x73f9c6>_0x4aabc6[_0x1e8206(0x1a6)]||(_0x4aabc6[_0x1e8206(0x1a6)]+=_0x3299fc),_0x3ef956[_0x1e8206(0x12e)](_0x581ea2,_0x4d8af4,_0x4aabc6);});const _0x2544e8=_0x3ef956['getMatrix']();for(const _0x6a54cc in _0x2544e8){const _0x190533=_0x2544e8[Number(_0x6a54cc)];if(!_0x190533)continue;const _0x4902a=Object[_0x68aa10(0x1b9)](_0x190533)[_0x68aa10(0xf3)](Number),_0x7132cb=Math[_0x68aa10(0x1a5)](..._0x4902a);for(let _0xe14d40=_0x7132cb;_0xe14d40>=_0x73f9c6;_0xe14d40--)_0xe14d40>=_0x73f9c6&&_0x190533[_0xe14d40]&&(_0x190533[_0xe14d40+_0x3299fc]=_0x190533[_0xe14d40],delete _0x190533[_0xe14d40]);}this[_0x68aa10(0x19a)][_0x68aa10(0x14e)](_0x13bb7b,_0x519ddd,_0x19a196);}}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0x1c0)]['id']){const _0x3a3786=_0x181605[_0x68aa10(0x1b3)],{unitId:_0x367e0f,subUnitId:_0x354627,range:_0x1a8a8a}=_0x3a3786,_0x31a6ed=_0x1a8a8a['startRow'],_0x4b56e1=_0x1a8a8a[_0x68aa10(0x1ec)]-_0x1a8a8a[_0x68aa10(0x14d)]+0x1,_0x5ef003=this[_0x68aa10(0x19a)][_0x68aa10(0x189)](_0x367e0f,_0x354627);if(!_0x5ef003)return;for(const [_0x30cadc,_0x492937]of _0x5ef003){this[_0x68aa10(0x19a)]['clearSparklineCache'](_0x367e0f,_0x354627,_0x30cadc);const _0x50a9b5=_0x492937['sparklines'];_0x50a9b5['forValue']((_0x3f80cf,_0x587256,_0x5d0ad9)=>{const _0x2b5911=_0x68aa10,_0x2907ca={..._0x5d0ad9};_0x31a6ed<=_0x2907ca['startRow']?(_0x2907ca[_0x2b5911(0x14d)]+=_0x4b56e1,_0x2907ca[_0x2b5911(0x1ec)]+=_0x4b56e1):_0x31a6ed>_0x2907ca[_0x2b5911(0x1ec)]||(_0x2907ca[_0x2b5911(0x1ec)]+=_0x4b56e1),_0x50a9b5[_0x2b5911(0x12e)](_0x3f80cf,_0x587256,_0x2907ca);});const _0xf3916f=_0x50a9b5['getMatrix'](),_0x1fd9ba=Object['keys'](_0xf3916f)[_0x68aa10(0xf3)](Number),_0x477dad=Math[_0x68aa10(0x1a5)](..._0x1fd9ba);for(let _0x28e1e0=_0x477dad;_0x28e1e0>=_0x31a6ed;_0x28e1e0--)_0x28e1e0>=_0x31a6ed&&_0xf3916f[_0x28e1e0]&&(_0xf3916f[_0x28e1e0+_0x4b56e1]=_0xf3916f[_0x28e1e0],delete _0xf3916f[_0x28e1e0]);this[_0x68aa10(0x19a)][_0x68aa10(0x14e)](_0x367e0f,_0x354627,_0x30cadc);}}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0x17c)]['id']){const _0x195add=_0x181605[_0x68aa10(0x1b3)],{range:_0x5cf11f,unitId:_0x3502f5,subUnitId:_0x2b3a82}=_0x195add,_0xed1163=this[_0x68aa10(0x19a)][_0x68aa10(0x189)](_0x3502f5,_0x2b3a82);if(!_0xed1163)return;for(const [_0x23ab10,_0x6e6b28]of _0xed1163){const _0x328591=_0x6e6b28[_0x68aa10(0x153)];_0x328591[_0x68aa10(0x10a)]((_0x5edbc9,_0x33fa19,_0x6f9448)=>{const _0x2dd208=_0x68aa10,_0x48466b=_0x1db331[_0x2dd208(0x16f)](_0x6f9448,_0x181605);_0x48466b?_0x328591[_0x2dd208(0x12e)](_0x5edbc9,_0x33fa19,_0x48466b):_0x328591['setValue'](_0x5edbc9,_0x33fa19,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x2dd208(0x12b)][_0x2dd208(0x18a)]});}),_0x328591[_0x68aa10(0x19e)](_0x5cf11f[_0x68aa10(0x121)],_0x5cf11f['endColumn']-_0x5cf11f[_0x68aa10(0x121)]+0x1);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x3502f5,_0x2b3a82);}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0x11e)]['id']){const _0x44e5b6=_0x181605[_0x68aa10(0x1b3)],{range:_0x30208e,unitId:_0x4cafac,subUnitId:_0x219508}=_0x44e5b6,_0x1c221d=this[_0x68aa10(0x19a)][_0x68aa10(0x189)](_0x4cafac,_0x219508);if(!_0x1c221d)return;for(const [_0x3f2fb3,_0x544384]of _0x1c221d){const _0x41edc0=_0x544384[_0x68aa10(0x153)];_0x41edc0[_0x68aa10(0x10a)]((_0x36a813,_0x787a86,_0x3e9f60)=>{const _0x1fc8e5=_0x68aa10,_0x2e43d0=_0x1db331['adjustRangeOnMutation'](_0x3e9f60,_0x181605);_0x2e43d0?_0x41edc0[_0x1fc8e5(0x12e)](_0x36a813,_0x787a86,_0x2e43d0):_0x41edc0[_0x1fc8e5(0x12e)](_0x36a813,_0x787a86,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x1fc8e5(0x12b)][_0x1fc8e5(0x18a)]});}),_0x41edc0[_0x68aa10(0x1b7)](_0x30208e[_0x68aa10(0x14d)],_0x30208e['endRow']-_0x30208e[_0x68aa10(0x14d)]+0x1);}this['_sparklineDataSourceModel'][_0x68aa10(0x162)](_0x4cafac,_0x219508);}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0xfc)]['id']){const _0x555ff8=_0x181605[_0x68aa10(0x1b3)],{unitId:_0x50beea,subUnitId:_0x27aa80,sourceRange:_0x84005c,targetRange:_0x50c3db}=_0x555ff8,_0x5d41e9=this[_0x68aa10(0x19a)]['getSubUnitSparkline'](_0x50beea,_0x27aa80);if(!_0x5d41e9)return;for(const [_0x4bcf73,_0x3632b7]of _0x5d41e9){const _0x350c63=_0x3632b7[_0x68aa10(0x153)];_0x350c63[_0x68aa10(0x10a)]((_0x58cb32,_0x4a409e,_0x271357)=>{const _0x3e7803=_0x68aa10,_0x59c8b2=_0x1db331[_0x3e7803(0x16f)](_0x271357,_0x181605);_0x59c8b2?_0x350c63[_0x3e7803(0x12e)](_0x58cb32,_0x4a409e,_0x59c8b2):_0x350c63[_0x3e7803(0x12e)](_0x58cb32,_0x4a409e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x3e7803(0x12b)][_0x3e7803(0x18a)]});}),_0x350c63[_0x68aa10(0x182)](_0x84005c[_0x68aa10(0x121)],_0x84005c[_0x68aa10(0x1a6)]-_0x84005c[_0x68aa10(0x121)]+0x1,_0x50c3db[_0x68aa10(0x121)]);}this[_0x68aa10(0x19a)][_0x68aa10(0x162)](_0x50beea,_0x27aa80);}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0x188)]['id']){const _0x12f329=_0x181605[_0x68aa10(0x1b3)],{unitId:_0x5bfb80,subUnitId:_0x8d2031,sourceRange:_0x4a4b5b,targetRange:_0x19b32a}=_0x12f329,_0x3c9b29=this[_0x68aa10(0x19a)][_0x68aa10(0x189)](_0x5bfb80,_0x8d2031);if(!_0x3c9b29)return;for(const [_0x33fa0d,_0x3a7872]of _0x3c9b29){const _0x39c824=_0x3a7872[_0x68aa10(0x153)];_0x39c824[_0x68aa10(0x10a)]((_0x5251cf,_0x47e6d3,_0x2300d4)=>{const _0x279d73=_0x68aa10,_0x14ce5d=_0x1db331[_0x279d73(0x16f)](_0x2300d4,_0x181605);_0x14ce5d?_0x39c824[_0x279d73(0x12e)](_0x5251cf,_0x47e6d3,_0x14ce5d):_0x39c824[_0x279d73(0x12e)](_0x5251cf,_0x47e6d3,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0xb2cb8c[_0x279d73(0x12b)][_0x279d73(0x18a)]});}),_0x39c824[_0x68aa10(0x19c)](_0x4a4b5b['startRow'],_0x4a4b5b[_0x68aa10(0x1ec)]-_0x4a4b5b[_0x68aa10(0x14d)]+0x1,_0x19b32a[_0x68aa10(0x14d)]);}this[_0x68aa10(0x19a)]['reBuildAnchorCache'](_0x5bfb80,_0x8d2031);}else{if(_0x181605['id']===_0x1db331[_0x68aa10(0x159)]['id']){const _0x5ae4fb=_0x181605[_0x68aa10(0x1b3)],{fromRange:_0x56df94,toRange:_0x29ef9e,unitId:_0x34ccd5,from:_0x242b8e,to:_0x31a4ae}=_0x5ae4fb;if(_0x242b8e['subUnitId']!==_0x31a4ae[_0x68aa10(0x1cc)])return;const _0x463d0d=_0x242b8e['subUnitId'],{startRow:_0x3ce2bc,endRow:_0x4e129a,startColumn:_0x1f035c,endColumn:_0xf5cc3b}=_0x56df94,{startRow:_0x107151,startColumn:_0x49f3ce}=_0x29ef9e,_0x55be27=_0x107151-_0x3ce2bc,_0x28f74f=_0x49f3ce-_0x1f035c,_0x21db4c=this[_0x68aa10(0x19a)][_0x68aa10(0x189)](_0x34ccd5,_0x463d0d);if(!(_0x21db4c!=null&&_0x21db4c[_0x68aa10(0x1db)]))return;for(let _0x16e18a=_0x3ce2bc;_0x16e18a<=_0x4e129a;_0x16e18a++)for(let _0x162598=_0x1f035c;_0x162598<=_0xf5cc3b;_0x162598++){const _0x4d745c=this[_0x68aa10(0x19a)]['getSparkline'](_0x34ccd5,_0x463d0d,_0x16e18a,_0x162598);if(_0x4d745c){const _0x4853ce=this[_0x68aa10(0x19a)]['getSparklineById'](_0x34ccd5,_0x463d0d,_0x4d745c);if(_0x4853ce){const _0x33a6a2=_0x4853ce['sparklines'][_0x68aa10(0x17f)](_0x16e18a,_0x162598);_0x33a6a2&&(_0x4853ce[_0x68aa10(0x153)][_0x68aa10(0x12e)](_0x16e18a+_0x55be27,_0x162598+_0x28f74f,_0x33a6a2),_0x4853ce[_0x68aa10(0x153)][_0x68aa10(0x164)](_0x16e18a,_0x162598));}}}for(const [_0x2d6e91,_0x556b74]of _0x21db4c){const _0x595409=_0x556b74[_0x68aa10(0x153)];_0x595409['forValue']((_0x18f496,_0x2973ba,_0x2edb6b)=>{const _0x563f6d=_0x68aa10,_0x361f50={..._0x2edb6b};_0xb2cb8c[_0x563f6d(0x126)]['contains'](_0x56df94,_0x2edb6b)&&(_0x361f50[_0x563f6d(0x14d)]+=_0x55be27,_0x361f50['endRow']+=_0x55be27,_0x361f50[_0x563f6d(0x121)]+=_0x28f74f,_0x361f50[_0x563f6d(0x1a6)]+=_0x28f74f),_0x595409[_0x563f6d(0x12e)](_0x18f496,_0x2973ba,_0x361f50);});}this['_sparklineDataSourceModel'][_0x68aa10(0x162)](_0x34ccd5,_0x463d0d);}}}}}}}}));}};_0x51b208=_0xc73eac([_0x367cd9(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x1a2)])),_0x367cd9(0x1,_0xb2cb8c['Inject'](_0x1db331[_0x4dce4f(0x17a)])),_0x367cd9(0x2,_0xb2cb8c[_0x4dce4f(0x11a)]),_0x367cd9(0x3,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)]))],_0x51b208);var _0x7b36dc=Object[_0x4dce4f(0x177)],_0x3d7ff4=(_0x390d51,_0x2c00ef,_0x32e19e,_0x4b2a21)=>{const _0x9c506c=_0x4dce4f;for(var _0x1c8e02=_0x4b2a21>0x1?void 0x0:_0x4b2a21?_0x7b36dc(_0x2c00ef,_0x32e19e):_0x2c00ef,_0x2a54b4=_0x390d51[_0x9c506c(0x130)]-0x1,_0x266a16;_0x2a54b4>=0x0;_0x2a54b4--)(_0x266a16=_0x390d51[_0x2a54b4])&&(_0x1c8e02=_0x266a16(_0x1c8e02)||_0x1c8e02);return _0x1c8e02;},_0x5f31be=(_0x91dac8,_0xfec5ad)=>(_0xb09d59,_0x50e59e)=>_0xfec5ad(_0xb09d59,_0x50e59e,_0x91dac8);let _0x5b30ed=class extends _0xb2cb8c[_0x4dce4f(0x124)]{constructor(_0x30d8e3,_0x4ae3ca){const _0x540089=_0x4dce4f;super(),this[_0x540089(0x1a1)]=_0x30d8e3,this[_0x540089(0x19a)]=_0x4ae3ca,this[_0x540089(0x1c5)]();}['_initSnapshot'](){const _0xc03ec4=_0x4dce4f,_0x4132cb=_0x3bdd81=>{const _0x2827cc=_0x1d5e,_0x3c021a=this[_0x2827cc(0x19a)][_0x2827cc(0x1ca)](_0x3bdd81);return _0x3c021a?JSON['stringify'](_0x3c021a):'';},_0x45e41b=_0xd76ca5=>_0xd76ca5?JSON[_0xc03ec4(0x1c9)](_0xd76ca5):{};this[_0xc03ec4(0x134)](this[_0xc03ec4(0x1a1)][_0xc03ec4(0x15f)]({'toJson':_0x4132cb,'parseJson':_0x45e41b,'pluginName':_0x24d3c3,'businesses':[_0xb2cb8c['UniverInstanceType'][_0xc03ec4(0x127)]],'onLoad':(_0x548c7f,_0x37fe03)=>{const _0x4d799c=_0xc03ec4;this[_0x4d799c(0x19a)][_0x4d799c(0x16c)](_0x37fe03);},'onUnLoad':_0x5bfaf5=>{const _0xdac69f=_0xc03ec4;this['_sparklineDataSourceModel'][_0xdac69f(0x199)](_0x5bfaf5);}}));}};_0x5b30ed=_0x3d7ff4([_0x5f31be(0x0,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x115)])),_0x5f31be(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0x42b6d6[_0x4dce4f(0x12d)]))],_0x5b30ed);var _0x236a75=Object[_0x4dce4f(0x1e4)],_0x2e2a28=Object['getOwnPropertyDescriptor'],_0x4deb66=(_0x3e2546,_0x295e83,_0x4ac4da)=>_0x295e83 in _0x3e2546?_0x236a75(_0x3e2546,_0x295e83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ac4da}):_0x3e2546[_0x295e83]=_0x4ac4da,_0x17a079=(_0x2d703f,_0x71df08,_0x3037fd,_0x75355e)=>{const _0x4817db=_0x4dce4f;for(var _0x1b82fd=_0x75355e>0x1?void 0x0:_0x75355e?_0x2e2a28(_0x71df08,_0x3037fd):_0x71df08,_0x79d828=_0x2d703f[_0x4817db(0x130)]-0x1,_0x3f1480;_0x79d828>=0x0;_0x79d828--)(_0x3f1480=_0x2d703f[_0x79d828])&&(_0x1b82fd=_0x3f1480(_0x1b82fd)||_0x1b82fd);return _0x1b82fd;},_0x4ee37c=(_0x1301ba,_0x34fc3b)=>(_0x516079,_0x53c214)=>_0x34fc3b(_0x516079,_0x53c214,_0x1301ba),_0x5614a5=(_0x523e6a,_0x2a734a,_0x33a4ba)=>_0x4deb66(_0x523e6a,typeof _0x2a734a!=_0x4dce4f(0x106)?_0x2a734a+'':_0x2a734a,_0x33a4ba);_0x42b6d6[_0x4dce4f(0x17e)]=class extends _0xb2cb8c[_0x4dce4f(0x1e3)]{constructor(_0x3134ad={},_0x3ea92f,_0x32a196){const _0x112ba5=_0x4dce4f;super(),this['_config']=_0x3134ad,this[_0x112ba5(0x174)]=_0x3ea92f,this[_0x112ba5(0x142)]=_0x32a196,this[_0x112ba5(0x1af)](),this['_initRegisterCommand']();}['_initDependencies'](){const _0x318529=_0x4dce4f;[[_0x42b6d6[_0x318529(0x12d)]],[_0x5ef288],[_0x32068],[_0x2b8b43],[_0x51b208],[_0x3bfaf2],[_0x58c0a5],[_0x5b30ed]][_0x318529(0x1e0)](_0x6ec003=>{const _0x81f4a0=_0x318529;this[_0x81f4a0(0x174)][_0x81f4a0(0x1cf)](_0x6ec003);}),_0xb2cb8c[_0x318529(0x19b)](this[_0x318529(0x174)],[[_0x5b30ed]]);}[_0x4dce4f(0x1b5)](){const _0x51d5d5=_0x4dce4f;_0xb2cb8c[_0x51d5d5(0x19b)](this[_0x51d5d5(0x174)],[[_0x5ef288],[_0x32068],[_0x2b8b43],[_0x51b208],[_0x3bfaf2],[_0x58c0a5]]);}[_0x4dce4f(0x108)](){const _0x37de55=_0x4dce4f;[_0x108a60,_0x4d1b93,_0x242d42,_0x595234,_0x425ad1,_0x501532]['forEach'](_0x24a931=>this[_0x37de55(0x142)]['registerCommand'](_0x24a931));}},_0x5614a5(_0x42b6d6['UniverSheetSparklinePlugin'],'pluginName',_0x24d3c3),_0x5614a5(_0x42b6d6['UniverSheetSparklinePlugin'],_0x4dce4f(0x101),_0xb2cb8c[_0x4dce4f(0x1cb)][_0x4dce4f(0x127)]),_0x42b6d6['UniverSheetSparklinePlugin']=_0x17a079([_0xb2cb8c['DependentOn'](_0x5301ff[_0x4dce4f(0x135)]),_0x4ee37c(0x1,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x1e6)])),_0x4ee37c(0x2,_0xb2cb8c[_0x4dce4f(0x1e8)](_0xb2cb8c[_0x4dce4f(0x1a2)]))],_0x42b6d6[_0x4dce4f(0x17e)]),_0x42b6d6[_0x4dce4f(0x150)]=_0x108a60,_0x42b6d6[_0x4dce4f(0x161)]=_0x4d1b93,_0x42b6d6['PLUGIN_NAME']=_0x24d3c3,_0x42b6d6['RemoveSheetSparklineCommand']=_0x242d42,_0x42b6d6[_0x4dce4f(0x1df)]=_0x595234,_0x42b6d6['SetSheetSparklineCommand']=_0x425ad1,_0x42b6d6['SetSheetSparklineMutation']=_0x501532,_0x42b6d6[_0x4dce4f(0x1d3)]=_0x57d8e6,_0x42b6d6[_0x4dce4f(0x139)]=_0x1ef065,_0x42b6d6[_0x4dce4f(0x1bd)]=_0x1880a1,_0x42b6d6[_0x4dce4f(0x1c4)]=_0x1ecb0a,_0x42b6d6['SparklineThemeTypeEnum']=_0x180a94,_0x42b6d6[_0x4dce4f(0x1c8)]=_0xfb42f9,_0x42b6d6[_0x4dce4f(0x12a)]=_0x48d5e9,Object[_0x4dce4f(0x1e4)](_0x42b6d6,Symbol['toStringTag'],{'value':_0x4dce4f(0x1d0)});}));
|
|
1
|
+
function _0x3b5a(){const _0x445f46=['onCommandExecuted','isValidRange','assign','registerPluginResource','_sparklineDataSourceModel','startRow','SparklineExtremumTypeEnum','dispose','COMMAND','433404QkxEsZ','getColVisible','UniverProSheetsSparkline','entries','refRangeHandle','SPECIALTY','config','column','UNIVER_SHEET','getSheetCommandTarget','startColumn','generateRandomId','SparklineThemeMapping','endColumn','SparklinePointsNames','@univerjs/sheets','SheetsSelectionsService','removeColumns','UniverProLicense','Tools','rgb(244,104,249)','map','endRow','_initCopySheetWithSparkline','InsertRowMutation','pluginName','realDeleteValue','IUndoRedoService','NORMAL','_injector','values','sheet.mutation.add-sparkline','remove','intersects','Subject','function','u-connect','getSparklinePlacement','rgb(248,190,21)','setValue','sparklineAnchorMap','IUniverInstanceService','Injector','distinctive','sheet.command.remove-sparkline','SetColVisibleMutation','stringify','SOFT','length','cellToRange','getMatrix','setAlpha','lastPoint','max','Plugin','some','sparklines','rgb(49,106,246)','matrix','deepClone','_exclusiveRangeService','sheet.command.set-sparkline','spacing','toJSON','negativePoint','row','emptyShowAs','toStringTag','sheet.command.add-sparkline','SparklineThemeTypeEnum','SetRowVisibleMutation','disposableCollection','has','pushUndoRedo','_config','registerCommand','changeDataSourceInfo','MIN_SAFE_INTEGER','RANGE_TYPE','deleteUnit','contains','add','removePartSparkline','forEach','exports','zero_value','rgb(30,177,189)','type','getSparkline','getSparklineCache','RemoveSheetSparklineMutation','toRgbString','rgb(80,102,248)','interceptCommand','SetRangeValuesMutation','_ensureConfigMap','clone','MoveRowsMutation','seriesColor','LINE_CHART','parse','UniverInstanceType','ClearSelectionAllCommand','UniverLicensePlugin','6nzkVJx','_sheetInterceptorService','hasValue','SetColHiddenMutation','SHEET_SPARKLINE_PLUGIN','UniverCore','_sparklineModel','1070836VobtRP','value','_sheetSelectionService','CellValueType','_initHideRowColWithSparkline','_initDependencies','reBuildAnchorCache','firstPoint','delete','foreach','_getRefRangeMutationsByDeleteRows','fresh','rgb(54,78,244)','soft','UniverSheetSparklinePlugin','extremumMax','rgb(252,117,60)','u-spacing','RemoveRowMutation','groupId','AddWorksheetMergeCommand','UniverSheets','highPoint','@univerjs/core','SparklineDataSourceModel','lowPoint','setSparkline','GROUP_EXTREMUM','PLUGIN_NAME','clearSparklineCache','_ensureAnchorMatrix','424chKXcc','SELF_EXTREMUM','number','FORCE_STRING','PIE_CHART','ObjectMatrix','getSubUnitSparkline','range','PROFIT_AND_LOSS_CHART','sheet.mutation.remove-sparkline','SetWorksheetActivateCommand','DependentOn','addSparkline','moveRows','Inject','_initExclusiveRangeChange','59318zhIoUm','CONNECT_WITH_LINE','AddSheetSparklineMutation','next','custom','extremumMin','_univerInstanceService','getOwnPropertyDescriptor','standard','subUnitId','every','params','sequenceExecute','InsertColMutation','_refRangeService','unitId','updateConfig$','ZERO_VALUE','min','172inEcEY','_sparklineAnchorMap','1984obeoGn','SheetInterceptorService','MAX_SAFE_INTEGER','push','Range','STANDARD','Disposable','9619225PvFjFB','rxjs','getValue','keys','from','amd','MUTATION','Rectangle','removeRows','RefRangeService','SetSheetSparklineCommand','object','SPACING','_resourceManagerService','BAR_CHART','SparklineTypeEnum','BOOLEAN','CopySheetCommand','SetRowHiddenMutation','283070mHMEFU','adjustRangeOnMutation','defineProperty','_getRefRangeMutationsByDeleteCols','touchDependencies','updateSparklineExtraNum','27aMrpkB','ranges','ColorKit','actualColumn','containHiddenCells','RemoveColCommand','DISTINCTIVE','getSizeOf','_updateConfig$','ICommandService','set','CommandType','disposeWithMe','symbol','actualRow','IResourceManagerService','getCellRaw','MoveColsMutation','_initCorrectRangeWithSparkline','size','getCurrentSelections','DisposableCollection','_initDataChangeListener','item','Module','themeType','1250635IXOeBs','specialty','IExclusiveRangeService','CUSTOM_EXTREMUM','SpacialShowAsEnum','getSheetBySheetId','_initRegisterCommand','_initMergeWithSparkline','get','removeSparkline','AddSheetSparklineCommand','_initClearWithSparkline','MoveRangeMutation','rgb(46,187,122)','fromJSON','rgb(124,66,147)','forValue','getSparklineById','_commandService'];_0x3b5a=function(){return _0x445f46;};return _0x3b5a();}function _0x531f(_0x20c3ae,_0x47db9d){const _0x3b5ada=_0x3b5a();return _0x531f=function(_0x531fdd,_0x314386){_0x531fdd=_0x531fdd-0x1f0;let _0x295d58=_0x3b5ada[_0x531fdd];return _0x295d58;},_0x531f(_0x20c3ae,_0x47db9d);}(function(_0x2b52ce,_0x79c2c9){const _0x1649a2=_0x531f,_0x4f1bea=_0x2b52ce();while(!![]){try{const _0x1b43cb=parseInt(_0x1649a2(0x251))/0x1*(-parseInt(_0x1649a2(0x24f))/0x2)+parseInt(_0x1649a2(0x2a7))/0x3+-parseInt(_0x1649a2(0x20d))/0x4+-parseInt(_0x1649a2(0x28b))/0x5*(-parseInt(_0x1649a2(0x206))/0x6)+parseInt(_0x1649a2(0x23c))/0x7*(-parseInt(_0x1649a2(0x22c))/0x8)+-parseInt(_0x1649a2(0x271))/0x9*(parseInt(_0x1649a2(0x26b))/0xa)+parseInt(_0x1649a2(0x258))/0xb;if(_0x1b43cb===_0x79c2c9)break;else _0x4f1bea['push'](_0x4f1bea['shift']());}catch(_0x8dd74d){_0x4f1bea['push'](_0x4f1bea['shift']());}}}(_0x3b5a,0x486f6),function(_0x273d64,_0x402a95){const _0x1e5806=_0x531f;typeof exports==_0x1e5806(0x263)&&typeof module<'u'?_0x402a95(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1e5806(0x2ca)&&define[_0x1e5806(0x25d)]?define([_0x1e5806(0x1f2),_0x1e5806(0x224),_0x1e5806(0x2b6),'rxjs','@univerjs-pro/license'],_0x402a95):(_0x273d64=typeof globalThis<'u'?globalThis:_0x273d64||self,_0x402a95(_0x273d64[_0x1e5806(0x2a9)]={},_0x273d64[_0x1e5806(0x20b)],_0x273d64[_0x1e5806(0x222)],_0x273d64[_0x1e5806(0x259)],_0x273d64[_0x1e5806(0x2b9)]));}(this,function(_0x479cb5,_0x487e55,_0x2585ee,_0x479a9e,_0x4d948a){'use strict';const _0x4edfe2=_0x531f;var _0x489ec1=Object[_0x4edfe2(0x26d)],_0x4d1a8f=(_0x446920,_0x532c54,_0x1c4c21)=>_0x532c54 in _0x446920?_0x489ec1(_0x446920,_0x532c54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c4c21}):_0x446920[_0x532c54]=_0x1c4c21,_0x4ce415=(_0x5622aa,_0x4c59f7,_0x2b0762)=>_0x4d1a8f(_0x5622aa,typeof _0x4c59f7!='symbol'?_0x4c59f7+'':_0x4c59f7,_0x2b0762);function _0x4fffa1(_0x4c9aaa,_0x19f5be){const _0x21f9ca=_0x4edfe2,_0x2ed593=new _0x487e55[(_0x21f9ca(0x231))](),_0x5b9429=[],_0x332863=_0x4c9aaa['length']>0x1;let _0xbc04f4=0x0,_0x135c9c=0x0;for(const _0x3117ac of _0x4c9aaa)_0xbc04f4+=_0x3117ac['endRow']-_0x3117ac[_0x21f9ca(0x2a3)]+0x1,_0x135c9c+=_0x3117ac[_0x21f9ca(0x2b4)]-_0x3117ac[_0x21f9ca(0x2b1)]+0x1;for(const _0x28024e of _0x19f5be)for(let _0x47c302=_0x28024e[_0x21f9ca(0x2a3)];_0x47c302<=_0x28024e['endRow'];_0x47c302++)for(let _0x5958c6=_0x28024e[_0x21f9ca(0x2b1)];_0x5958c6<=_0x28024e[_0x21f9ca(0x2b4)];_0x5958c6++)_0x5b9429[_0x21f9ca(0x254)]({'row':_0x47c302,'column':_0x5958c6});if(_0x5b9429[_0x21f9ca(0x2d7)]===_0xbc04f4)_0x332863?_0x5b9429[_0x21f9ca(0x1f1)]((_0x1fefbb,_0x4bad25)=>{const _0x2b7ff2=_0x21f9ca,_0x45f869=_0x4c9aaa[_0x4bad25],_0xe57aef={'startRow':_0x45f869['startRow'],'startColumn':_0x45f869[_0x2b7ff2(0x2b1)],'endRow':_0x45f869[_0x2b7ff2(0x2a3)],'endColumn':_0x45f869[_0x2b7ff2(0x2b4)]};_0x2ed593[_0x2b7ff2(0x2ce)](_0x1fefbb['row'],_0x1fefbb[_0x2b7ff2(0x2ae)],_0xe57aef);}):_0x5b9429[_0x21f9ca(0x1f1)]((_0x315124,_0x2344f0)=>{const _0x1ada2f=_0x21f9ca,_0xb9f8c3=_0x4c9aaa[0x0],_0x65a0e6={'startRow':_0xb9f8c3[_0x1ada2f(0x2a3)]+_0x2344f0,'startColumn':_0xb9f8c3[_0x1ada2f(0x2b1)],'endRow':_0xb9f8c3[_0x1ada2f(0x2a3)]+_0x2344f0,'endColumn':_0xb9f8c3[_0x1ada2f(0x2b4)]};_0x2ed593['setValue'](_0x315124[_0x1ada2f(0x2e8)],_0x315124[_0x1ada2f(0x2ae)],_0x65a0e6);});else{if(_0x5b9429[_0x21f9ca(0x2d7)]===_0x135c9c)_0x332863?_0x5b9429[_0x21f9ca(0x1f1)]((_0x272967,_0x22dc8d)=>{const _0x480115=_0x21f9ca,_0x19fed3=_0x4c9aaa[_0x22dc8d],_0x42b213={'startRow':_0x19fed3['startRow'],'startColumn':_0x19fed3[_0x480115(0x2b1)],'endRow':_0x19fed3[_0x480115(0x2bd)],'endColumn':_0x19fed3[_0x480115(0x2b1)]};_0x2ed593['setValue'](_0x272967[_0x480115(0x2e8)],_0x272967[_0x480115(0x2ae)],_0x42b213);}):_0x5b9429[_0x21f9ca(0x1f1)]((_0x5b2a16,_0x4d4dfd)=>{const _0x4bd74d=_0x21f9ca,_0x31cdd1=_0x4c9aaa[0x0],_0xcdaeca={'startRow':_0x31cdd1[_0x4bd74d(0x2a3)],'startColumn':_0x31cdd1[_0x4bd74d(0x2b1)]+_0x4d4dfd,'endRow':_0x31cdd1['endRow'],'endColumn':_0x31cdd1[_0x4bd74d(0x2b1)]+_0x4d4dfd};_0x2ed593['setValue'](_0x5b2a16[_0x4bd74d(0x2e8)],_0x5b2a16[_0x4bd74d(0x2ae)],_0xcdaeca);});else{if(_0x5b9429['length']===_0x4c9aaa['length'])_0x4c9aaa[_0x21f9ca(0x246)](_0x1ea51d=>!(_0x1ea51d[_0x21f9ca(0x2a3)]!==_0x1ea51d[_0x21f9ca(0x2bd)]&&_0x1ea51d[_0x21f9ca(0x2b1)]!==_0x1ea51d[_0x21f9ca(0x2b4)]))&&_0x5b9429[_0x21f9ca(0x1f1)]((_0xec4bfe,_0x462d2f)=>{const _0x2b9e62=_0x21f9ca,_0x1770ee=_0x4c9aaa[_0x462d2f];_0x2ed593[_0x2b9e62(0x2ce)](_0xec4bfe[_0x2b9e62(0x2e8)],_0xec4bfe[_0x2b9e62(0x2ae)],_0x1770ee);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x2ed593;}const _0x44b72d=_0x4edfe2(0x20a),_0x255f43={'standard':[_0x4edfe2(0x219),'rgb(236,100,169)'],'specialty':[_0x4edfe2(0x2e0),_0x4edfe2(0x1f4)],'distinctive':[_0x4edfe2(0x29a),_0x4edfe2(0x21d)],'soft':[_0x4edfe2(0x1fa),_0x4edfe2(0x2bb)],'fresh':[_0x4edfe2(0x298),_0x4edfe2(0x2cd)]},_0x3a5ccf=[_0x4edfe2(0x223),_0x4edfe2(0x214),_0x4edfe2(0x2db),_0x4edfe2(0x226),_0x4edfe2(0x2e7),'markersPoint'];var _0x37a776=(_0x139bc2=>(_0x139bc2['STANDARD']=_0x4edfe2(0x244),_0x139bc2[_0x4edfe2(0x2ac)]=_0x4edfe2(0x28c),_0x139bc2[_0x4edfe2(0x277)]=_0x4edfe2(0x2d2),_0x139bc2[_0x4edfe2(0x2d6)]=_0x4edfe2(0x21a),_0x139bc2['FRESH']=_0x4edfe2(0x218),_0x139bc2['CUSTOM']=_0x4edfe2(0x240),_0x139bc2))(_0x37a776||{}),_0x30b03d=(_0x13a153=>(_0x13a153[_0x13a153['LINE_CHART']=0x1]=_0x4edfe2(0x201),_0x13a153[_0x13a153[_0x4edfe2(0x266)]=0x2]=_0x4edfe2(0x266),_0x13a153[_0x13a153[_0x4edfe2(0x234)]=0x3]=_0x4edfe2(0x234),_0x13a153[_0x13a153[_0x4edfe2(0x230)]=0x4]=_0x4edfe2(0x230),_0x13a153))(_0x30b03d||{}),_0x4fb782=(_0x458927=>(_0x458927[_0x4edfe2(0x264)]=_0x4edfe2(0x2e5),_0x458927['ZERO_VALUE']=_0x4edfe2(0x1f3),_0x458927[_0x4edfe2(0x23d)]='connect_with_line',_0x458927))(_0x4fb782||{}),_0xd9b0f9=(_0x38bb2e=>(_0x38bb2e[_0x38bb2e[_0x4edfe2(0x22d)]=0x1]='SELF_EXTREMUM',_0x38bb2e[_0x38bb2e[_0x4edfe2(0x228)]=0x2]=_0x4edfe2(0x228),_0x38bb2e[_0x38bb2e['CUSTOM_EXTREMUM']=0x3]='CUSTOM_EXTREMUM',_0x38bb2e))(_0xd9b0f9||{}),_0x261aac=Object['getOwnPropertyDescriptor'],_0x2fd1b8=(_0x4400e1,_0x3530a7,_0x576c8e,_0x386a2d)=>{const _0x436101=_0x4edfe2;for(var _0x2685ed=_0x386a2d>0x1?void 0x0:_0x386a2d?_0x261aac(_0x3530a7,_0x576c8e):_0x3530a7,_0x39d8f2=_0x4400e1[_0x436101(0x2d7)]-0x1,_0x320c58;_0x39d8f2>=0x0;_0x39d8f2--)(_0x320c58=_0x4400e1[_0x39d8f2])&&(_0x2685ed=_0x320c58(_0x2685ed)||_0x2685ed);return _0x2685ed;},_0x14aa8d=(_0xbd1706,_0x3e293d)=>(_0x14ea0b,_0x23b0ee)=>_0x3e293d(_0x14ea0b,_0x23b0ee,_0xbd1706);_0x479cb5['SparklineDataSourceModel']=class extends _0x487e55[_0x4edfe2(0x257)]{constructor(_0x52f5e4){const _0x550258=_0x4edfe2;super(),_0x4ce415(this,_0x550258(0x20c),new Map()),_0x4ce415(this,_0x550258(0x250),new Map()),_0x4ce415(this,_0x550258(0x279),new _0x479a9e[(_0x550258(0x2c9))]()),_0x4ce415(this,_0x550258(0x24c),this[_0x550258(0x279)]['asObservable']()),this['_univerInstanceService']=_0x52f5e4;}[_0x4edfe2(0x1fd)](_0x575552,_0x417319){const _0x597b39=_0x4edfe2;let _0x19f54e=this[_0x597b39(0x20c)][_0x597b39(0x293)](_0x575552);_0x19f54e||(_0x19f54e=new Map(),this[_0x597b39(0x20c)][_0x597b39(0x27b)](_0x575552,_0x19f54e));let _0x1c9814=_0x19f54e['get'](_0x417319);return _0x1c9814||(_0x1c9814=new Map(),_0x19f54e[_0x597b39(0x27b)](_0x417319,_0x1c9814)),_0x1c9814;}['_ensureAnchorMatrix'](_0x31a6c8,_0x5a68f8){const _0xafec5=_0x4edfe2;let _0x5fcdd=this[_0xafec5(0x250)][_0xafec5(0x293)](_0x31a6c8);_0x5fcdd||(_0x5fcdd=new Map(),this[_0xafec5(0x250)][_0xafec5(0x27b)](_0x31a6c8,_0x5fcdd));let _0x44c35b=_0x5fcdd[_0xafec5(0x293)](_0x5a68f8);return _0x44c35b||(_0x44c35b={'matrix':new _0x487e55[(_0xafec5(0x231))](),'extra':{}},_0x5fcdd[_0xafec5(0x27b)](_0x5a68f8,_0x44c35b)),_0x44c35b;}[_0x4edfe2(0x270)](_0x1e30cb,_0x22fe9b,_0x12d7a9,_0x9a78b9=_0x4edfe2(0x27b)){const _0x311f03=_0x4edfe2;var _0x9babd2,_0x3d845a,_0x35a976,_0x5a95b0,_0x3de102,_0x11b2aa,_0x9455a9,_0xa70a87,_0x145168,_0x1ba058,_0x2f54a5,_0x36927c,_0x3bc947;const _0xf833f0=(_0x3d845a=(_0x9babd2=this[_0x311f03(0x20c)][_0x311f03(0x293)](_0x1e30cb))==null?void 0x0:_0x9babd2['get'](_0x22fe9b))==null?void 0x0:_0x3d845a[_0x311f03(0x293)](_0x12d7a9);if(!_0xf833f0)return;const _0x134cef=_0x2585ee[_0x311f03(0x2b0)](this['_univerInstanceService'],{'unitId':_0x1e30cb,'subUnitId':_0x22fe9b});if(!_0x134cef)return;const _0x233348=this[_0x311f03(0x22b)](_0x1e30cb,_0x22fe9b),{extra:_0x297162,matrix:_0x14c05d}=_0x233348,{worksheet:_0x2f84b6}=_0x134cef;let _0x57d9d4=Number[_0x311f03(0x2f4)],_0x2382a0=Number[_0x311f03(0x253)];const _0x5c3406=(_0x35a976=_0xf833f0['config'][_0x311f03(0x275)])!=null?_0x35a976:!0x1;_0xf833f0[_0x311f03(0x2df)][_0x311f03(0x29b)]((_0xa3c5b9,_0xfdcfc7,_0x2598c8)=>{const _0x37f451=_0x311f03;var _0x3766c6,_0x59e764,_0x5d77ae;const _0x5ce6fa=_0x2598c8;let _0x21354e=Number[_0x37f451(0x2f4)],_0x117865=Number[_0x37f451(0x253)],_0x5c92b3=0x0,_0x299a34=0x0;const _0x1eecd6=[];if(!_0x487e55[_0x37f451(0x29f)](_0x5ce6fa))_0x14c05d['setValue'](_0xa3c5b9,_0xfdcfc7,{'groupId':_0x12d7a9,'data':[],'max':_0x21354e,'min':_0x117865,'highIndex':_0x5c92b3,'lowIndex':_0x299a34,'negativeIndexes':_0x1eecd6});else{const _0x454376=[];for(let _0x2d68c8=_0x5ce6fa['startRow'];_0x2d68c8<=_0x5ce6fa[_0x37f451(0x2bd)];_0x2d68c8++){for(let _0x21e5bc=_0x5ce6fa[_0x37f451(0x2b1)];_0x21e5bc<=_0x5ce6fa['endColumn'];_0x21e5bc++){const _0x419d68=_0x2f84b6['getRowVisible'](_0x2d68c8),_0x13619f=_0x2f84b6[_0x37f451(0x2a8)](_0x21e5bc);if(!_0x5c3406&&(!_0x419d68||!_0x13619f))continue;let _0x2f9271=0x0;const _0x2161e9=((_0x3766c6=_0x2f84b6[_0x37f451(0x281)](_0x2d68c8,_0x21e5bc))==null?void 0x0:_0x3766c6['v'])!==void 0x0?_0x2f84b6[_0x37f451(0x281)](_0x2d68c8,_0x21e5bc):_0x2f84b6['getCell'](_0x2d68c8,_0x21e5bc);if(!_0x2161e9||_0x2161e9['v']===void 0x0||_0x2161e9['v']===null){const _0x2728cd=(_0x59e764=_0xf833f0['config'][_0x37f451(0x2e9)])!=null?_0x59e764:_0x4fb782[_0x37f451(0x264)];_0x2728cd===_0x4fb782['ZERO_VALUE']?_0x2f9271=0x0:_0x2728cd===_0x4fb782[_0x37f451(0x264)]?_0x2f9271=_0x37f451(0x21e):_0x2728cd===_0x4fb782[_0x37f451(0x23d)]&&(_0x2f9271=_0x37f451(0x2cb));}else{if(_0x2161e9['t']===_0x487e55[_0x37f451(0x210)]['STRING']||_0x2161e9['t']===_0x487e55[_0x37f451(0x210)][_0x37f451(0x22f)]){const _0x63f3ad=(_0x5d77ae=_0xf833f0[_0x37f451(0x2ad)]['nonNumShowAs'])!=null?_0x5d77ae:_0x4fb782[_0x37f451(0x264)];_0x63f3ad===_0x4fb782[_0x37f451(0x24d)]?_0x2f9271=0x0:_0x63f3ad===_0x4fb782[_0x37f451(0x264)]?_0x2f9271=_0x37f451(0x21e):_0x63f3ad===_0x4fb782['CONNECT_WITH_LINE']&&(_0x2f9271=_0x37f451(0x2cb));}else _0x2161e9['t']===_0x487e55[_0x37f451(0x210)][_0x37f451(0x268)]?_0x2f9271=_0x2161e9['v']?0x1:0x0:_0x2161e9['t']===_0x487e55[_0x37f451(0x210)]['NUMBER']?_0x2f9271=Number(_0x2161e9['v']):_0x2f9271=_0x2161e9['v'];}if(_0x454376[_0x37f451(0x254)](_0x2f9271),typeof _0x2f9271==_0x37f451(0x22e)){_0x21354e=Math['max'](_0x21354e,_0x2f9271),_0x57d9d4=Math[_0x37f451(0x2dc)](_0x57d9d4,_0x2f9271),_0x2382a0=Math[_0x37f451(0x24e)](_0x2382a0,_0x2f9271),_0x117865=Math['min'](_0x117865,_0x2f9271);const _0x3a0eb9=typeof _0x454376[_0x5c92b3]=='number'?Number(_0x454376[_0x5c92b3]):Number['MIN_SAFE_INTEGER'];_0x2f9271>_0x3a0eb9&&(_0x5c92b3=_0x454376['length']-0x1);const _0x2ee2af=typeof _0x454376[_0x299a34]==_0x37f451(0x22e)?Number(_0x454376[_0x299a34]):Number[_0x37f451(0x253)];_0x2f9271<_0x2ee2af&&(_0x299a34=_0x454376[_0x37f451(0x2d7)]-0x1),_0x2f9271<0x0&&_0x1eecd6['push'](_0x454376[_0x37f451(0x2d7)]-0x1);}}_0x14c05d[_0x37f451(0x2ce)](_0xa3c5b9,_0xfdcfc7,{'groupId':_0x12d7a9,'data':_0x454376,'max':_0x21354e,'min':_0x117865,'highIndex':_0x5c92b3,'lowIndex':_0x299a34,'negativeIndexes':_0x1eecd6});}}});let _0x173584=_0x57d9d4;((_0x5a95b0=_0xf833f0[_0x311f03(0x2ad)][_0x311f03(0x21c)])==null?void 0x0:_0x5a95b0['type'])===_0xd9b0f9[_0x311f03(0x28e)]&&(_0x173584=(_0x11b2aa=(_0x3de102=_0xf833f0[_0x311f03(0x2ad)][_0x311f03(0x21c)])==null?void 0x0:_0x3de102[_0x311f03(0x20e)])!=null?_0x11b2aa:_0x57d9d4);let _0x147ea1=_0x2382a0;((_0x9455a9=_0xf833f0[_0x311f03(0x2ad)][_0x311f03(0x241)])==null?void 0x0:_0x9455a9[_0x311f03(0x1f5)])===_0xd9b0f9[_0x311f03(0x28e)]&&(_0x147ea1=(_0x145168=(_0xa70a87=_0xf833f0[_0x311f03(0x2ad)]['extremumMin'])==null?void 0x0:_0xa70a87[_0x311f03(0x20e)])!=null?_0x145168:_0x2382a0);const _0x3ff90c=(_0x1ba058=_0xf833f0['config'][_0x311f03(0x28a)])!=null?_0x1ba058:_0x37a776[_0x311f03(0x256)],_0x230f06=(_0x3bc947=(_0x36927c=_0xf833f0[_0x311f03(0x2ad)][_0x311f03(0x200)])!=null?_0x36927c:(_0x2f54a5=_0x255f43[_0x3ff90c])==null?void 0x0:_0x2f54a5[0x0])!=null?_0x3bc947:_0x255f43[_0x311f03(0x244)][0x0],_0x18ec64=new _0x487e55[(_0x311f03(0x273))](_0x230f06),_0x570926=_0x18ec64[_0x311f03(0x2da)](0.2)[_0x311f03(0x1f9)](),_0x5eb113=_0x18ec64[_0x311f03(0x2da)](0.05)['toRgbString']();_0x297162[_0x12d7a9]={'groupMax':_0x57d9d4,'groupMin':_0x2382a0,'showMax':_0x173584,'showMin':_0x147ea1,'startGradient':_0x570926,'endGradient':_0x5eb113},this[_0x311f03(0x279)][_0x311f03(0x23f)]({'unitId':_0x1e30cb,'subUnitId':_0x22fe9b,'groupId':_0x12d7a9,'config':_0xf833f0,'type':_0x9a78b9});}[_0x4edfe2(0x238)](_0x3785d7,_0x20522d,_0xfa6bb,_0x246387){const _0x186565=_0x4edfe2;this['_ensureConfigMap'](_0x3785d7,_0x20522d)[_0x186565(0x27b)](_0xfa6bb,_0x246387),this[_0x186565(0x270)](_0x3785d7,_0x20522d,_0xfa6bb,_0x186565(0x2f8));}['setSparkline'](_0x313526,_0x10d2b7,_0xf33c5d,_0x35990d){const _0x488ec1=_0x4edfe2;var _0x135377;const _0x4dd1ff=(_0x135377=this[_0x488ec1(0x20c)][_0x488ec1(0x293)](_0x313526))==null?void 0x0:_0x135377[_0x488ec1(0x293)](_0x10d2b7);_0xf33c5d['forEach'](_0x55c11f=>{const _0x1820a5=_0x488ec1;_0x4dd1ff!=null&&_0x4dd1ff['has'](_0x55c11f)&&(_0x4dd1ff[_0x1820a5(0x27b)](_0x55c11f,_0x35990d),this[_0x1820a5(0x270)](_0x313526,_0x10d2b7,_0x55c11f));});}[_0x4edfe2(0x294)](_0x2eaa65,_0x25b632,_0x1e755f){const _0x3e2177=_0x4edfe2;var _0x138518,_0x27d644;const _0x479cb4=this['_sparklineModel']['get'](_0x2eaa65);if(_0x479cb4){const _0x57ff91=_0x479cb4['get'](_0x25b632);if(_0x57ff91){_0x57ff91[_0x3e2177(0x215)](_0x1e755f);const _0x39efb1=(_0x138518=this[_0x3e2177(0x250)][_0x3e2177(0x293)](_0x2eaa65))==null?void 0x0:_0x138518['get'](_0x25b632);(_0x27d644=_0x39efb1==null?void 0x0:_0x39efb1[_0x3e2177(0x2e1)])==null||_0x27d644[_0x3e2177(0x29b)]((_0x536e01,_0x5a9783,_0x27bb9e)=>{const _0x311c8c=_0x3e2177;(_0x27bb9e==null?void 0x0:_0x27bb9e[_0x311c8c(0x220)])===_0x1e755f&&(_0x39efb1==null||_0x39efb1['matrix'][_0x311c8c(0x2c1)](_0x536e01,_0x5a9783));}),this[_0x3e2177(0x279)][_0x3e2177(0x23f)]({'unitId':_0x2eaa65,'subUnitId':_0x25b632,'groupId':_0x1e755f,'type':'remove'});}}}['removePartSparkline'](_0x4694e2,_0x4aee2b,_0x4ec183,_0x4fdad8){const _0x4700c0=_0x4edfe2;var _0x52f29b,_0x5eb5d2,_0x5d32aa,_0x425945;const _0x2f9604=(_0x52f29b=this['_sparklineAnchorMap']['get'](_0x4694e2))==null?void 0x0:_0x52f29b['get'](_0x4aee2b),_0x28dd76=_0x2f9604==null?void 0x0:_0x2f9604[_0x4700c0(0x2e1)][_0x4700c0(0x25a)](_0x4ec183,_0x4fdad8);if(_0x28dd76){const {groupId:_0x47620f}=_0x28dd76,_0x3ceb12=(_0x5eb5d2=this[_0x4700c0(0x20c)]['get'](_0x4694e2))==null?void 0x0:_0x5eb5d2[_0x4700c0(0x293)](_0x4aee2b);(_0x5d32aa=_0x3ceb12==null?void 0x0:_0x3ceb12['get'](_0x47620f))==null||_0x5d32aa['sparklines'][_0x4700c0(0x2c1)](_0x4ec183,_0x4fdad8),(_0x425945=_0x3ceb12==null?void 0x0:_0x3ceb12[_0x4700c0(0x293)](_0x47620f))!=null&&_0x425945[_0x4700c0(0x2df)][_0x4700c0(0x208)]()||_0x3ceb12==null||_0x3ceb12[_0x4700c0(0x215)](_0x47620f),_0x2f9604==null||_0x2f9604[_0x4700c0(0x2e1)][_0x4700c0(0x2c1)](_0x4ec183,_0x4fdad8),this[_0x4700c0(0x279)]['next']({'unitId':_0x4694e2,'subUnitId':_0x4aee2b,'groupId':_0x47620f,'type':_0x4700c0(0x2c7)});}}[_0x4edfe2(0x22a)](_0x1ab9df,_0x1948c2,_0x465e86){const _0x332c3d=_0x4edfe2;var _0x3f2184,_0x3b4e4b,_0x43c945,_0x37eab4;const _0x22ac3d=(_0x43c945=(_0x3b4e4b=(_0x3f2184=this['_sparklineModel'][_0x332c3d(0x293)](_0x1ab9df))==null?void 0x0:_0x3f2184[_0x332c3d(0x293)](_0x1948c2))==null?void 0x0:_0x3b4e4b[_0x332c3d(0x293)](_0x465e86))==null?void 0x0:_0x43c945[_0x332c3d(0x2df)],_0x3e8e09=(_0x37eab4=this[_0x332c3d(0x250)][_0x332c3d(0x293)](_0x1ab9df))==null?void 0x0:_0x37eab4[_0x332c3d(0x293)](_0x1948c2);if(_0x22ac3d&&_0x3e8e09){const {matrix:_0x1fe244,extra:_0x1b630a}=_0x3e8e09;_0x22ac3d['forValue']((_0x378ebf,_0x569a56,_0x27f12b)=>{const _0x5f1420=_0x332c3d;_0x1fe244[_0x5f1420(0x2c1)](_0x378ebf,_0x569a56);}),delete _0x1b630a[_0x465e86];}}[_0x4edfe2(0x232)](_0x8e40cd,_0xaa21a8){const _0x48a9d0=_0x4edfe2;var _0x417217;return(_0x417217=this[_0x48a9d0(0x20c)][_0x48a9d0(0x293)](_0x8e40cd))==null?void 0x0:_0x417217[_0x48a9d0(0x293)](_0xaa21a8);}[_0x4edfe2(0x29c)](_0x4f06c1,_0x55805e,_0x30fbc7){const _0x352908=_0x4edfe2;var _0x15e758,_0x6998c4;return(_0x6998c4=(_0x15e758=this[_0x352908(0x20c)][_0x352908(0x293)](_0x4f06c1))==null?void 0x0:_0x15e758[_0x352908(0x293)](_0x55805e))==null?void 0x0:_0x6998c4[_0x352908(0x293)](_0x30fbc7);}[_0x4edfe2(0x1f6)](_0xda4b53,_0x3cfb40,_0x3b11e1,_0xa275aa){const _0x5e1b80=_0x4edfe2;var _0x1cc419,_0x36175f,_0x47c1b1;return(_0x47c1b1=(_0x36175f=(_0x1cc419=this[_0x5e1b80(0x250)][_0x5e1b80(0x293)](_0xda4b53))==null?void 0x0:_0x1cc419['get'](_0x3cfb40))==null?void 0x0:_0x36175f['matrix'][_0x5e1b80(0x25a)](_0x3b11e1,_0xa275aa))==null?void 0x0:_0x47c1b1['groupId'];}[_0x4edfe2(0x213)](_0x2f1968,_0x6184c){const _0x10d8c6=_0x4edfe2;var _0x2bdf9a;const _0x5bd256=this[_0x10d8c6(0x22b)](_0x2f1968,_0x6184c);_0x5bd256[_0x10d8c6(0x2e1)]['forValue']((_0x2148ac,_0xde30cc)=>{const _0x157970=_0x10d8c6;_0x5bd256[_0x157970(0x2e1)]['realDeleteValue'](_0x2148ac,_0xde30cc);});const _0x1df24a=(_0x2bdf9a=this[_0x10d8c6(0x20c)][_0x10d8c6(0x293)](_0x2f1968))==null?void 0x0:_0x2bdf9a[_0x10d8c6(0x293)](_0x6184c);if(_0x1df24a){for(const [_0x1b0a60]of _0x1df24a)this[_0x10d8c6(0x270)](_0x2f1968,_0x6184c,_0x1b0a60);}}[_0x4edfe2(0x1f7)](){const _0x5eab2a=_0x4edfe2;return{'sparklineModel':this[_0x5eab2a(0x20c)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}[_0x4edfe2(0x2e6)](_0x1d1ce8){const _0x5b1da2=_0x4edfe2,_0x291d92={};if(this[_0x5b1da2(0x20c)][_0x5b1da2(0x2ef)](_0x1d1ce8)){_0x291d92[_0x1d1ce8]={};const _0x3e80c1=this[_0x5b1da2(0x20c)][_0x5b1da2(0x293)](_0x1d1ce8);_0x3e80c1!=null&&_0x3e80c1['size']&&Array['from'](_0x3e80c1[_0x5b1da2(0x25b)]())[_0x5b1da2(0x1f1)](_0x2e3b98=>{const _0x518280=_0x5b1da2;_0x291d92[_0x1d1ce8][_0x2e3b98]={};const _0x2e7643=_0x3e80c1['get'](_0x2e3b98);_0x2e7643!=null&&_0x2e7643[_0x518280(0x284)]&&Array['from'](_0x2e7643['keys']())['forEach'](_0x134053=>{const _0x40fb43=_0x518280,_0x1d60af=_0x2e7643[_0x40fb43(0x293)](_0x134053);_0x1d60af&&(_0x291d92[_0x1d1ce8][_0x2e3b98][_0x134053]={'config':_0x1d60af['config'],'sparklines':_0x1d60af[_0x40fb43(0x2df)][_0x40fb43(0x2d9)]()});});});}return _0x291d92;}[_0x4edfe2(0x299)](_0x39b628){const _0x53671d=_0x4edfe2;if(!_0x39b628)return;Object[_0x53671d(0x25b)](_0x39b628)[_0x53671d(0x1f1)](_0x3d15ac=>{const _0x7168af=_0x53671d,_0x10955f=_0x39b628[_0x3d15ac];_0x10955f&&Object[_0x7168af(0x25b)](_0x10955f)[_0x7168af(0x1f1)](_0x2bb9cb=>{const _0x42112f=_0x7168af,_0x5c5d11=_0x10955f[_0x2bb9cb];_0x5c5d11&&Object['keys'](_0x5c5d11)[_0x42112f(0x1f1)](_0xe220b4=>{const _0x55f618=_0x42112f,_0x1e2c4e=_0x5c5d11[_0xe220b4];if(_0x1e2c4e){const _0x5d59da={'config':_0x1e2c4e[_0x55f618(0x2ad)],'sparklines':new _0x487e55[(_0x55f618(0x231))](_0x1e2c4e[_0x55f618(0x2df)])};this[_0x55f618(0x238)](_0x3d15ac,_0x2bb9cb,_0xe220b4,_0x5d59da);}});});});}[_0x4edfe2(0x2f6)](_0x59e114){const _0xe51bdf=_0x4edfe2,_0x4a7924=this[_0xe51bdf(0x20c)][_0xe51bdf(0x293)](_0x59e114);if(_0x4a7924){for(const [_0x6c85fd]of _0x4a7924){const _0x4b86c7=_0x4a7924[_0xe51bdf(0x293)](_0x6c85fd);if(_0x4b86c7){for(const [_0x1e12a7]of _0x4b86c7)this[_0xe51bdf(0x22a)](_0x59e114,_0x6c85fd,_0x1e12a7);}}this['_sparklineModel'][_0xe51bdf(0x215)](_0x59e114);}}},_0x479cb5['SparklineDataSourceModel']=_0x2fd1b8([_0x14aa8d(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x2d0)]))],_0x479cb5[_0x4edfe2(0x225)]);const _0x1f4894={'id':_0x4edfe2(0x2c6),'type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x25e)],'handler':(_0x17d01c,_0x5ab26c)=>{const _0x2d2632=_0x4edfe2;if(!_0x5ab26c)return!0x1;const {sparklineConfigMap:_0x339537,unitId:_0x28b790,subUnitId:_0x56582f}=_0x5ab26c,_0x3f94b7=_0x17d01c['get'](_0x479cb5[_0x2d2632(0x225)]);return Object[_0x2d2632(0x2aa)](_0x339537)[_0x2d2632(0x1f1)](([_0x974c0a,_0x4e202a])=>{const _0x381472=_0x2d2632,_0x3db200={'config':_0x4e202a[_0x381472(0x2ad)],'sparklines':new _0x487e55[(_0x381472(0x231))](_0x4e202a['sparklines'])};_0x3f94b7[_0x381472(0x238)](_0x28b790,_0x56582f,_0x974c0a,_0x3db200);}),!0x0;}},_0x5cc50b={'id':_0x4edfe2(0x235),'type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x25e)],'handler':(_0xfbbf3e,_0xa412a9)=>{const _0x493a0e=_0x4edfe2;if(!_0xa412a9)return!0x1;const {unitId:_0x3d7670,subUnitId:_0x9a8e55,ranges:_0x5f298d,isSingle:_0xadb7b3,groupIds:_0x439aa1}=_0xa412a9,_0x2b1a5d=_0xfbbf3e[_0x493a0e(0x293)](_0x479cb5[_0x493a0e(0x225)]);return _0x439aa1?(_0x439aa1[_0x493a0e(0x1f1)](_0x3f6fce=>{const _0x42df50=_0x493a0e;_0x2b1a5d[_0x42df50(0x294)](_0x3d7670,_0x9a8e55,_0x3f6fce);}),!0x0):_0x5f298d?(_0x5f298d['forEach'](_0x44f1a5=>{const _0x24ad8c=_0x493a0e;_0x487e55[_0x24ad8c(0x255)][_0x24ad8c(0x216)](_0x44f1a5,(_0xbe3dcd,_0x4aab11)=>{const _0x19479d=_0x24ad8c,_0x163641=_0x2b1a5d[_0x19479d(0x1f6)](_0x3d7670,_0x9a8e55,_0xbe3dcd,_0x4aab11);_0x163641&&(_0xadb7b3?_0x2b1a5d[_0x19479d(0x1f0)](_0x3d7670,_0x9a8e55,_0xbe3dcd,_0x4aab11):_0x2b1a5d['removeSparkline'](_0x3d7670,_0x9a8e55,_0x163641));});}),!0x0):!0x1;}},_0x2eb97a={'id':_0x4edfe2(0x2eb),'type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x2a6)],'handler':(_0x47f33a,_0x2513c3)=>{const _0x308a9f=_0x4edfe2;if(!_0x2513c3)return!0x1;const {sourceRanges:_0x1fd974,targetRanges:_0x19bb6e,config:_0x5ec59c}=_0x2513c3,_0x3051f6=_0x47f33a[_0x308a9f(0x293)](_0x487e55[_0x308a9f(0x2c2)]),_0x5aa5b1='g_'+_0x487e55[_0x308a9f(0x2b2)](0x6),_0x9433de=_0x4fffa1(_0x1fd974,_0x19bb6e),_0x255b51={'config':_0x5ec59c!=null?_0x5ec59c:{},'sparklines':_0x9433de[_0x308a9f(0x2d9)]()},_0x5ba85b=_0x47f33a[_0x308a9f(0x293)](_0x487e55['IUniverInstanceService']),_0x5c140e=_0x47f33a[_0x308a9f(0x293)](_0x479cb5['SparklineDataSourceModel']),_0x35e07f=_0x2585ee[_0x308a9f(0x2b0)](_0x5ba85b);if(!_0x35e07f)return!0x1;const {unitId:_0x455ee4,subUnitId:_0x45691a}=_0x35e07f,_0x49791e=_0x47f33a[_0x308a9f(0x293)](_0x487e55[_0x308a9f(0x27a)]),_0x598ca8=[],_0x58e675=[],_0x16397c={},_0x54010b={},_0x453d08=new Set([_0x5aa5b1]);_0x9433de[_0x308a9f(0x29b)]((_0x1d1d69,_0x14a9bc,_0x484262)=>{const _0x1dea50=_0x308a9f,_0x2bfb3d=_0x5c140e[_0x1dea50(0x1f6)](_0x455ee4,_0x45691a,_0x1d1d69,_0x14a9bc);if(_0x2bfb3d){const _0x3a4005=_0x5c140e[_0x1dea50(0x29c)](_0x455ee4,_0x45691a,_0x2bfb3d);if(_0x3a4005){_0x453d08[_0x1dea50(0x2f8)](_0x2bfb3d);let _0x3403dd=_0x16397c[_0x2bfb3d],_0xabdb7b=_0x54010b[_0x2bfb3d];_0xabdb7b||(_0xabdb7b={'config':_0x487e55['Tools'][_0x1dea50(0x2e2)](_0x3a4005[_0x1dea50(0x2ad)]),'sparklines':new _0x487e55[(_0x1dea50(0x231))](_0x3a4005[_0x1dea50(0x2df)][_0x1dea50(0x1fe)]())},_0x54010b[_0x2bfb3d]=_0xabdb7b),_0x3403dd||(_0x3403dd={'config':_0x487e55[_0x1dea50(0x2ba)]['deepClone'](_0x3a4005[_0x1dea50(0x2ad)]),'sparklines':_0x3a4005['sparklines'][_0x1dea50(0x1fe)]()},_0x16397c[_0x2bfb3d]=_0x3403dd),_0xabdb7b[_0x1dea50(0x2df)][_0x1dea50(0x2c1)](_0x1d1d69,_0x14a9bc);}}});const _0x4a0517={};return Object[_0x308a9f(0x2aa)](_0x54010b)[_0x308a9f(0x1f1)](([_0x3e88cf,_0x368c2b])=>{const _0x1ad6a8=_0x308a9f;_0x368c2b[_0x1ad6a8(0x2df)][_0x1ad6a8(0x278)]()&&(_0x4a0517[_0x3e88cf]={'config':_0x368c2b['config'],'sparklines':_0x368c2b[_0x1ad6a8(0x2df)][_0x1ad6a8(0x1fe)]()});}),_0x4a0517[_0x5aa5b1]=_0x255b51,_0x598ca8['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x455ee4,'subUnitId':_0x45691a,'groupIds':Array[_0x308a9f(0x25c)](_0x453d08),'isSingle':!0x1}}),_0x453d08[_0x308a9f(0x284)]>0x1&&(_0x58e675[_0x308a9f(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x455ee4,'subUnitId':_0x45691a,'groupIds':Array[_0x308a9f(0x25c)](_0x453d08),'isSingle':!0x1}}),_0x598ca8['push']({'id':_0x1f4894['id'],'params':{'unitId':_0x455ee4,'subUnitId':_0x45691a,'sparklineConfigMap':_0x16397c}})),_0x58e675['push']({'id':_0x1f4894['id'],'params':{'unitId':_0x455ee4,'subUnitId':_0x45691a,'sparklineConfigMap':_0x4a0517}}),_0x487e55[_0x308a9f(0x248)](_0x58e675,_0x49791e),_0x3051f6['pushUndoRedo']({'unitID':_0x455ee4,'undoMutations':_0x598ca8,'redoMutations':_0x58e675}),!0x0;}},_0x4955f6={'id':_0x4edfe2(0x2d3),'type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x2a6)],'handler':(_0x49c3a3,_0x464bd0)=>{const _0x4942eb=_0x4edfe2;var _0x252f99;const {isSingle:_0x59e99b=!0x0}=_0x464bd0||{},_0x39eea4=_0x49c3a3['get'](_0x487e55[_0x4942eb(0x27a)]),_0x355578=_0x49c3a3[_0x4942eb(0x293)](_0x487e55[_0x4942eb(0x2d0)]),_0x4bcaa9=_0x49c3a3[_0x4942eb(0x293)](_0x479cb5[_0x4942eb(0x225)]),_0x4a6d36=_0x49c3a3[_0x4942eb(0x293)](_0x487e55[_0x4942eb(0x2c2)]),_0x47beb9=_0x2585ee[_0x4942eb(0x2b0)](_0x355578);if(!_0x47beb9)return!0x1;const _0xc30cbe=_0x49c3a3[_0x4942eb(0x293)](_0x2585ee['SheetsSelectionsService']),_0x101844=(_0x252f99=_0x464bd0==null?void 0x0:_0x464bd0[_0x4942eb(0x272)])!=null?_0x252f99:_0xc30cbe[_0x4942eb(0x285)]()[_0x4942eb(0x2bc)](_0x269816=>_0x269816[_0x4942eb(0x233)]),{unitId:_0x4f498b,subUnitId:_0x290cb4}=_0x47beb9,_0x12f2a9=[],_0x12e902=[];_0x12f2a9[_0x4942eb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x4f498b,'subUnitId':_0x290cb4,'ranges':_0x101844,'isSingle':_0x59e99b}});const _0x559235=[],_0x5da53d={};return _0x101844[_0x4942eb(0x1f1)](_0x180e9a=>{const _0x2f0c85=_0x4942eb;_0x487e55['Range'][_0x2f0c85(0x216)](_0x180e9a,(_0x14a1de,_0x2fdac7)=>{const _0x5029d9=_0x2f0c85,_0x202557=_0x4bcaa9[_0x5029d9(0x1f6)](_0x4f498b,_0x290cb4,_0x14a1de,_0x2fdac7);if(_0x202557){const _0x57ade2=_0x4bcaa9[_0x5029d9(0x29c)](_0x4f498b,_0x290cb4,_0x202557);_0x57ade2&&(_0x559235[_0x5029d9(0x254)](_0x202557),_0x5da53d[_0x202557]={'config':_0x487e55[_0x5029d9(0x2ba)][_0x5029d9(0x2e2)](_0x57ade2[_0x5029d9(0x2ad)]),'sparklines':_0x487e55[_0x5029d9(0x2ba)][_0x5029d9(0x2e2)](_0x57ade2[_0x5029d9(0x2df)][_0x5029d9(0x1fe)]())});}});}),_0x12e902[_0x4942eb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x4f498b,'subUnitId':_0x290cb4,'groupIds':_0x559235,'isSingle':!0x1}}),_0x12e902[_0x4942eb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x4f498b,'subUnitId':_0x290cb4,'sparklineConfigMap':_0x5da53d}}),_0x487e55['sequenceExecute'](_0x12f2a9,_0x39eea4),_0x4a6d36['pushUndoRedo']({'unitID':_0x4f498b,'undoMutations':_0x12e902,'redoMutations':_0x12f2a9}),!0x0;}},_0x29a2cf={'id':'sheet.mutation.set-sparkline','type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x25e)],'handler':(_0x7c45aa,_0x27fac2)=>{const _0x5ca99e=_0x4edfe2;if(!_0x27fac2)return!0x1;const {unitId:_0x482b8d,subUnitId:_0x5eb02e,groupIds:_0x2f3322,config:_0xd55eed}=_0x27fac2,_0x4d633b=_0x7c45aa['get'](_0x479cb5[_0x5ca99e(0x225)]);return _0x2f3322['forEach'](_0x3182fd=>{const _0x16161d=_0x5ca99e,_0x398e1f=_0x4d633b[_0x16161d(0x29c)](_0x482b8d,_0x5eb02e,_0x3182fd);if(_0x398e1f){const _0x94f238={'config':Object[_0x16161d(0x2a0)]({},_0x398e1f[_0x16161d(0x2ad)],_0xd55eed[_0x16161d(0x2ad)]),'sparklines':new _0x487e55['ObjectMatrix'](_0x398e1f[_0x16161d(0x2df)][_0x16161d(0x1fe)]())};_0x4d633b[_0x16161d(0x227)](_0x482b8d,_0x5eb02e,[_0x3182fd],_0x94f238);}}),!0x0;}},_0x35c8a8={'id':_0x4edfe2(0x2e4),'type':_0x487e55[_0x4edfe2(0x27c)][_0x4edfe2(0x2a6)],'handler':(_0x49c12d,_0x3538f6)=>{const _0x39dafb=_0x4edfe2;var _0x350429,_0x137229,_0x20d19f,_0x23ed3d;if(!_0x3538f6)return!0x1;const _0x56437f=_0x49c12d[_0x39dafb(0x293)](_0x487e55['ICommandService']),_0x3d56b4=_0x49c12d[_0x39dafb(0x293)](_0x2585ee['SheetsSelectionsService']),_0x541ce5=_0x49c12d[_0x39dafb(0x293)](_0x479cb5[_0x39dafb(0x225)]),_0x1bd208=_0x49c12d[_0x39dafb(0x293)](_0x487e55[_0x39dafb(0x2d0)]),_0x58b4a0=_0x49c12d['get'](_0x487e55[_0x39dafb(0x2c2)]),_0x7dbcff=_0x2585ee[_0x39dafb(0x2b0)](_0x1bd208);if(!_0x7dbcff)return!0x1;const {unitId:_0x3c3a9b,subUnitId:_0x20ff49}=_0x7dbcff,_0xd4a291=(_0x350429=_0x3538f6==null?void 0x0:_0x3538f6[_0x39dafb(0x272)])!=null?_0x350429:_0x3d56b4[_0x39dafb(0x285)]()[_0x39dafb(0x2bc)](_0x2a30da=>_0x2a30da[_0x39dafb(0x233)]),_0x5df169=(_0x137229=_0x541ce5[_0x39dafb(0x1f7)]()[_0x39dafb(0x2cf)][_0x39dafb(0x293)](_0x3c3a9b))==null?void 0x0:_0x137229[_0x39dafb(0x293)](_0x20ff49),{isChangeDataSource:_0x1b04ed,config:_0x5c0193,combine:_0x447366,unCombine:_0x238667}=_0x3538f6;if(_0x447366){const _0x396712=[],_0x24a6d7=[];_0x396712['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'ranges':_0xd4a291,'isSingle':!0x0}});const _0x3eaaa3='g_'+_0x487e55[_0x39dafb(0x2b2)](0x6),_0x18869b=new _0x487e55[(_0x39dafb(0x231))](),_0x430af9=(_0x20d19f=_0x541ce5[_0x39dafb(0x1f7)]()['sparklineModel'][_0x39dafb(0x293)](_0x3c3a9b))==null?void 0x0:_0x20d19f[_0x39dafb(0x293)](_0x20ff49),_0x418286=new Set([_0x3eaaa3]),_0x25601e={};return _0xd4a291[_0x39dafb(0x1f1)](_0x20198b=>{const _0x13549e=_0x39dafb;var _0x395af9,_0x7a0f8f;const {startRow:_0xeed0,endRow:_0x38dd29,startColumn:_0x3d31ef,endColumn:_0x3c9f46}=_0x20198b;for(let _0x25110e=_0xeed0;_0x25110e<=_0x38dd29;_0x25110e++)for(let _0x40ea64=_0x3d31ef;_0x40ea64<=_0x3c9f46;_0x40ea64++){const _0x19fe31=(_0x395af9=_0x5df169==null?void 0x0:_0x5df169['matrix'][_0x13549e(0x25a)](_0x25110e,_0x40ea64))==null?void 0x0:_0x395af9[_0x13549e(0x220)];if(_0x19fe31){_0x418286[_0x13549e(0x2f8)](_0x19fe31);const _0x171324=_0x541ce5['getSparklineById'](_0x3c3a9b,_0x20ff49,_0x19fe31);_0x171324&&(_0x25601e[_0x19fe31]={'config':_0x487e55[_0x13549e(0x2ba)][_0x13549e(0x2e2)](_0x171324[_0x13549e(0x2ad)]),'sparklines':_0x487e55[_0x13549e(0x2ba)]['deepClone'](_0x171324[_0x13549e(0x2df)]['clone']())});const _0x12fcda=(_0x7a0f8f=_0x430af9==null?void 0x0:_0x430af9[_0x13549e(0x293)](_0x19fe31))==null?void 0x0:_0x7a0f8f[_0x13549e(0x2df)][_0x13549e(0x25a)](_0x25110e,_0x40ea64);_0x12fcda&&_0x18869b[_0x13549e(0x2ce)](_0x25110e,_0x40ea64,_0x12fcda);}}}),_0x396712[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'sparklineConfigMap':{[_0x3eaaa3]:{'config':_0x487e55['Tools'][_0x39dafb(0x2e2)](_0x5c0193[_0x39dafb(0x2ad)]),'sparklines':_0x18869b['getMatrix']()}},'unitId':_0x3c3a9b,'subUnitId':_0x20ff49}}),_0x24a6d7[_0x39dafb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'isSingle':!0x1,'groupIds':Array[_0x39dafb(0x25c)](_0x418286)}}),_0x24a6d7[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':_0x25601e}}),_0x487e55[_0x39dafb(0x248)](_0x396712,_0x56437f),_0x58b4a0[_0x39dafb(0x2f0)]({'unitID':_0x3c3a9b,'undoMutations':_0x24a6d7,'redoMutations':_0x396712}),!0x0;}else{if(_0x238667){const _0x31207c=[],_0x358924=[];_0x31207c['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'ranges':_0xd4a291,'isSingle':!0x0}});const _0x3bd3bb=(_0x23ed3d=_0x541ce5[_0x39dafb(0x1f7)]()['sparklineModel']['get'](_0x3c3a9b))==null?void 0x0:_0x23ed3d[_0x39dafb(0x293)](_0x20ff49),_0x162724={},_0xc9d1f2=new Set(),_0x150014={};return _0xd4a291[_0x39dafb(0x1f1)](_0x3196f4=>{const _0x2a4540=_0x39dafb;var _0x5926ea,_0x205a52;const {startRow:_0x254225,endRow:_0x582f81,startColumn:_0x2a0752,endColumn:_0x521ce5}=_0x3196f4;for(let _0x25542f=_0x254225;_0x25542f<=_0x582f81;_0x25542f++)for(let _0x44eecc=_0x2a0752;_0x44eecc<=_0x521ce5;_0x44eecc++){const _0x53e92c=(_0x5926ea=_0x5df169==null?void 0x0:_0x5df169[_0x2a4540(0x2e1)]['getValue'](_0x25542f,_0x44eecc))==null?void 0x0:_0x5926ea['groupId'];if(_0x53e92c){const _0x153b38=new _0x487e55['ObjectMatrix'](),_0x1c514f='g_'+_0x487e55[_0x2a4540(0x2b2)](0x6);_0xc9d1f2[_0x2a4540(0x2f8)](_0x53e92c),_0xc9d1f2[_0x2a4540(0x2f8)](_0x1c514f);const _0x3cd8fa=_0x541ce5[_0x2a4540(0x29c)](_0x3c3a9b,_0x20ff49,_0x53e92c);_0x3cd8fa&&(_0x150014[_0x53e92c]={'config':_0x487e55['Tools'][_0x2a4540(0x2e2)](_0x3cd8fa[_0x2a4540(0x2ad)]),'sparklines':_0x487e55['Tools']['deepClone'](_0x3cd8fa[_0x2a4540(0x2df)][_0x2a4540(0x1fe)]())});const _0x9dedf4=(_0x205a52=_0x3bd3bb==null?void 0x0:_0x3bd3bb['get'](_0x53e92c))==null?void 0x0:_0x205a52[_0x2a4540(0x2df)][_0x2a4540(0x25a)](_0x25542f,_0x44eecc);_0x9dedf4&&_0x153b38[_0x2a4540(0x2ce)](_0x25542f,_0x44eecc,_0x9dedf4),_0x162724[_0x1c514f]={'sparklines':_0x153b38[_0x2a4540(0x2d9)](),'config':_0x487e55[_0x2a4540(0x2ba)][_0x2a4540(0x2e2)](_0x5c0193[_0x2a4540(0x2ad)])};}}}),_0x31207c[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':_0x162724}}),_0x358924[_0x39dafb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'isSingle':!0x1,'groupIds':Array[_0x39dafb(0x25c)](_0xc9d1f2)}}),_0x358924[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':_0x150014}}),_0x487e55['sequenceExecute'](_0x31207c,_0x56437f),_0x58b4a0[_0x39dafb(0x2f0)]({'unitID':_0x3c3a9b,'undoMutations':_0x358924,'redoMutations':_0x31207c}),!0x0;}}if(_0x1b04ed){const _0xa1744d=_0x3538f6[_0x39dafb(0x2f3)];if(!_0xa1744d)return!0x1;const {groupId:_0x2ae1e8,sourceRanges:_0xadfac2,targetRanges:_0x33f1a1,resetType:_0x422420,primary:_0xf59fee}=_0xa1744d,_0x4e5ce1=[],_0x41aea7=[];_0x4e5ce1['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'ranges':_0xd4a291,'isSingle':!0x1,'groupIds':[_0x2ae1e8]}}),_0x41aea7[_0x39dafb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'ranges':_0xd4a291,'isSingle':!0x1,'groupIds':[_0x2ae1e8]}});let _0x3fc785;_0x422420===_0x39dafb(0x288)?(_0x3fc785=new _0x487e55[(_0x39dafb(0x231))](_0x5c0193[_0x39dafb(0x2df)][_0x39dafb(0x1fe)]()),_0x3fc785[_0x39dafb(0x2c1)](_0xf59fee[_0x39dafb(0x27f)],_0xf59fee[_0x39dafb(0x274)]),_0x3fc785[_0x39dafb(0x2ce)](_0x33f1a1[0x0][_0x39dafb(0x2a3)],_0x33f1a1[0x0][_0x39dafb(0x2b1)],_0xadfac2[0x0])):_0x3fc785=_0x4fffa1(_0xadfac2,_0x33f1a1);const _0x3bef29={'config':_0x487e55[_0x39dafb(0x2ba)]['deepClone'](_0x5c0193[_0x39dafb(0x2ad)]),'sparklines':_0x3fc785[_0x39dafb(0x2d9)]()},_0x45ac6c={'config':_0x487e55['Tools'][_0x39dafb(0x2e2)](_0x5c0193[_0x39dafb(0x2ad)]),'sparklines':_0x487e55[_0x39dafb(0x2ba)]['deepClone'](_0x5c0193[_0x39dafb(0x2df)][_0x39dafb(0x1fe)]())};_0x4e5ce1[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':{[_0x2ae1e8]:_0x3bef29}}}),_0x41aea7['push']({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':{[_0x2ae1e8]:_0x45ac6c}}}),_0x487e55[_0x39dafb(0x248)](_0x4e5ce1,_0x56437f),_0x58b4a0[_0x39dafb(0x2f0)]({'unitID':_0x3c3a9b,'undoMutations':_0x41aea7,'redoMutations':_0x4e5ce1});}else{const _0x51d69a=[],_0x408eba=[],_0x3ed4f2=new Set(),_0x5e76bf={};_0xd4a291['forEach'](_0x451d4f=>{const _0x573ae2=_0x39dafb;var _0x128c53;const {startRow:_0x1ef5fa,endRow:_0x3d70aa,startColumn:_0x5cb698,endColumn:_0x3cb967}=_0x451d4f;for(let _0x30a57d=_0x1ef5fa;_0x30a57d<=_0x3d70aa;_0x30a57d++)for(let _0x48ebd7=_0x5cb698;_0x48ebd7<=_0x3cb967;_0x48ebd7++){const _0x315943=(_0x128c53=_0x5df169==null?void 0x0:_0x5df169[_0x573ae2(0x2e1)][_0x573ae2(0x25a)](_0x30a57d,_0x48ebd7))==null?void 0x0:_0x128c53['groupId'];if(_0x315943){_0x3ed4f2[_0x573ae2(0x2f8)](_0x315943);const _0xe65ba0=_0x541ce5[_0x573ae2(0x29c)](_0x3c3a9b,_0x20ff49,_0x315943);_0xe65ba0&&(_0x5e76bf[_0x315943]={'config':_0x487e55[_0x573ae2(0x2ba)]['deepClone'](_0xe65ba0[_0x573ae2(0x2ad)]),'sparklines':_0x487e55[_0x573ae2(0x2ba)][_0x573ae2(0x2e2)](_0xe65ba0[_0x573ae2(0x2df)][_0x573ae2(0x1fe)]())});}}}),_0x408eba[_0x39dafb(0x254)]({'id':_0x29a2cf['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'groupIds':Array[_0x39dafb(0x25c)](_0x3ed4f2),'config':{'config':_0x487e55['Tools'][_0x39dafb(0x2e2)](_0x5c0193['config']),'sparklines':_0x5c0193['sparklines'][_0x39dafb(0x2d9)]()}}}),_0x51d69a[_0x39dafb(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'isSingle':!0x1,'groupIds':Array[_0x39dafb(0x25c)](_0x3ed4f2)}}),_0x51d69a[_0x39dafb(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x3c3a9b,'subUnitId':_0x20ff49,'sparklineConfigMap':_0x5e76bf}}),_0x487e55[_0x39dafb(0x248)](_0x408eba,_0x56437f),_0x58b4a0['pushUndoRedo']({'unitID':_0x3c3a9b,'undoMutations':_0x51d69a,'redoMutations':_0x408eba});}return!0x0;}};var _0x370b8e=Object['getOwnPropertyDescriptor'],_0x22cada=(_0x2d4102,_0x54c441,_0x3b9417,_0x3bd47d)=>{const _0x28e8cf=_0x4edfe2;for(var _0x53cc2d=_0x3bd47d>0x1?void 0x0:_0x3bd47d?_0x370b8e(_0x54c441,_0x3b9417):_0x54c441,_0xa7c875=_0x2d4102[_0x28e8cf(0x2d7)]-0x1,_0x4a0e5a;_0xa7c875>=0x0;_0xa7c875--)(_0x4a0e5a=_0x2d4102[_0xa7c875])&&(_0x53cc2d=_0x4a0e5a(_0x53cc2d)||_0x53cc2d);return _0x53cc2d;},_0x2de98c=(_0x4bdd5a,_0x288668)=>(_0x3cff9a,_0x475099)=>_0x288668(_0x3cff9a,_0x475099,_0x4bdd5a);let _0x11fb24=class extends _0x487e55['Disposable']{constructor(_0x243084,_0x1e6794,_0x3c01d1,_0x1c52e9){const _0x2e1a2e=_0x4edfe2;super(),this['_sparklineDataSourceModel']=_0x243084,this['_sheetInterceptorService']=_0x1e6794,this[_0x2e1a2e(0x242)]=_0x3c01d1,this[_0x2e1a2e(0x20f)]=_0x1c52e9,this[_0x2e1a2e(0x296)]();}['_initClearWithSparkline'](){const _0x14a5a9=_0x4edfe2;this[_0x14a5a9(0x27d)](this[_0x14a5a9(0x207)][_0x14a5a9(0x1fb)]({'getMutations':_0x2022d2=>{const _0x169e5b=_0x14a5a9,_0x99d0a1=[],_0x390603=[];if(_0x2022d2['id']===_0x2585ee[_0x169e5b(0x204)]['id']){const _0x303c58=_0x2585ee['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x303c58)return{'redos':_0x99d0a1,'undos':_0x390603};const {unitId:_0x17e095,subUnitId:_0x31445c,worksheet:_0x84ddb5}=_0x303c58,_0x511269=this[_0x169e5b(0x20f)][_0x169e5b(0x285)]()['map'](_0x129891=>_0x129891['range']),_0x3e30a3=new Set(),_0x510560={},_0x20249b={};_0x511269[_0x169e5b(0x1f1)](_0x17a8bd=>{const _0x5ca817=_0x169e5b;_0x487e55['Range'][_0x5ca817(0x216)](_0x17a8bd,(_0x227343,_0x13f3a0)=>{const _0x23bc13=_0x5ca817,_0x1122c2=this[_0x23bc13(0x2a2)][_0x23bc13(0x1f6)](_0x17e095,_0x31445c,_0x227343,_0x13f3a0);if(_0x1122c2&&!_0x3e30a3[_0x23bc13(0x2ef)](_0x1122c2)){const _0x38f8de=this['_sparklineDataSourceModel'][_0x23bc13(0x29c)](_0x17e095,_0x31445c,_0x1122c2);_0x38f8de&&(_0x3e30a3[_0x23bc13(0x2f8)](_0x1122c2),_0x510560[_0x1122c2]={'config':_0x487e55[_0x23bc13(0x2ba)]['deepClone'](_0x38f8de[_0x23bc13(0x2ad)]),'sparklines':_0x487e55[_0x23bc13(0x2ba)][_0x23bc13(0x2e2)](_0x38f8de['sparklines'][_0x23bc13(0x1fe)]())},_0x20249b[_0x1122c2]={'config':_0x487e55[_0x23bc13(0x2ba)][_0x23bc13(0x2e2)](_0x38f8de['config']),'sparklines':_0x487e55[_0x23bc13(0x2ba)][_0x23bc13(0x2e2)](_0x38f8de[_0x23bc13(0x2df)][_0x23bc13(0x1fe)]())});}});}),Object[_0x169e5b(0x2c5)](_0x20249b)[_0x169e5b(0x1f1)](_0x519463=>{const _0x2670cf=_0x169e5b,_0x4e6e6a=_0x519463[_0x2670cf(0x2df)];new _0x487e55[(_0x2670cf(0x231))](_0x4e6e6a)['forValue']((_0x4bc493,_0x19f85,_0x421885)=>{const _0x1d6ffd=_0x2670cf;_0x511269[_0x1d6ffd(0x2de)](_0x20f823=>_0x487e55[_0x1d6ffd(0x25f)][_0x1d6ffd(0x2c8)](_0x20f823,_0x487e55['cellToRange'](_0x4bc493,_0x19f85)))&&delete _0x4e6e6a[_0x4bc493][_0x19f85];});}),_0x99d0a1[_0x169e5b(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x17e095,'subUnitId':_0x31445c,'groupIds':Array['from'](_0x3e30a3),'isSingle':!0x1}}),_0x99d0a1[_0x169e5b(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x17e095,'subUnitId':_0x31445c,'sparklineConfigMap':_0x20249b}}),_0x390603['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x17e095,'subUnitId':_0x31445c,'groupIds':Array[_0x169e5b(0x25c)](_0x3e30a3),'isSingle':!0x1}}),_0x390603[_0x169e5b(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x17e095,'subUnitId':_0x31445c,'sparklineConfigMap':_0x510560}});}return{'redos':_0x99d0a1,'undos':_0x390603};}}));}};_0x11fb24=_0x22cada([_0x2de98c(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5[_0x4edfe2(0x225)])),_0x2de98c(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x2585ee['SheetInterceptorService'])),_0x2de98c(0x2,_0x487e55[_0x4edfe2(0x23a)](_0x487e55['IUniverInstanceService'])),_0x2de98c(0x3,_0x487e55['Inject'](_0x2585ee[_0x4edfe2(0x2b7)]))],_0x11fb24);var _0x512c4a=Object[_0x4edfe2(0x243)],_0x13cba=(_0x28f166,_0x28945a,_0x549050,_0x5f432d)=>{const _0x182293=_0x4edfe2;for(var _0x3ebe16=_0x5f432d>0x1?void 0x0:_0x5f432d?_0x512c4a(_0x28945a,_0x549050):_0x28945a,_0x370f4f=_0x28f166[_0x182293(0x2d7)]-0x1,_0x4aa17d;_0x370f4f>=0x0;_0x370f4f--)(_0x4aa17d=_0x28f166[_0x370f4f])&&(_0x3ebe16=_0x4aa17d(_0x3ebe16)||_0x3ebe16);return _0x3ebe16;},_0x6caae2=(_0x464e4e,_0x350e85)=>(_0x4c1618,_0x364339)=>_0x350e85(_0x4c1618,_0x364339,_0x464e4e);let _0x4dc48b=class extends _0x487e55['Disposable']{constructor(_0x62ebe9,_0x10e873){const _0x3f1f54=_0x4edfe2;super(),this[_0x3f1f54(0x207)]=_0x62ebe9,this['_sparklineDataSourceModel']=_0x10e873,this[_0x3f1f54(0x2be)]();}[_0x4edfe2(0x2be)](){const _0x3462d6=_0x4edfe2;this['disposeWithMe'](this[_0x3462d6(0x207)][_0x3462d6(0x1fb)]({'getMutations':_0x5e2ff3=>{const _0x41d218=_0x3462d6,_0x46e640=[],_0x1abf26=[];if(_0x5e2ff3['id']===_0x2585ee[_0x41d218(0x269)]['id']){const _0x5903cd=_0x5e2ff3[_0x41d218(0x247)];if(!_0x5903cd)return{'redos':_0x46e640,'undos':_0x1abf26};const {unitId:_0x4e0ba2,subUnitId:_0x27dac9,targetSubUnitId:_0x147d8f}=_0x5903cd;if(!_0x4e0ba2||!_0x27dac9||!_0x147d8f)return{'redos':_0x46e640,'undos':_0x1abf26};const _0x2a2f8c=new Set(),_0x4679e8={},_0x1598a2=this[_0x41d218(0x2a2)][_0x41d218(0x232)](_0x4e0ba2,_0x27dac9);if(!_0x1598a2)return{'redos':_0x46e640,'undos':_0x1abf26};for(const [_0x4edd6c,_0x4e4f1e]of _0x1598a2){const _0x31606b='g_'+_0x487e55[_0x41d218(0x2b2)](0x6);_0x2a2f8c['add'](_0x4edd6c),_0x4679e8[_0x31606b]={'config':_0x487e55[_0x41d218(0x2ba)][_0x41d218(0x2e2)](_0x4e4f1e[_0x41d218(0x2ad)]),'sparklines':_0x487e55[_0x41d218(0x2ba)][_0x41d218(0x2e2)](_0x4e4f1e[_0x41d218(0x2df)][_0x41d218(0x1fe)]())};}_0x2a2f8c[_0x41d218(0x284)]&&(_0x1abf26[_0x41d218(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x4e0ba2,'subUnitId':_0x147d8f,'groupIds':Array[_0x41d218(0x25c)](_0x2a2f8c),'isSingle':!0x1}}),_0x46e640[_0x41d218(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x4e0ba2,'subUnitId':_0x147d8f,'sparklineConfigMap':_0x4679e8}}));}return{'redos':_0x46e640,'undos':_0x1abf26};}}));}};_0x4dc48b=_0x13cba([_0x6caae2(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x2585ee[_0x4edfe2(0x252)])),_0x6caae2(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5[_0x4edfe2(0x225)]))],_0x4dc48b);var _0x534844=Object[_0x4edfe2(0x243)],_0x298806=(_0x3df2e2,_0x37b53e,_0x4666fd,_0x1fa82d)=>{const _0x5892a1=_0x4edfe2;for(var _0x2cebcd=_0x1fa82d>0x1?void 0x0:_0x1fa82d?_0x534844(_0x37b53e,_0x4666fd):_0x37b53e,_0xf8ae20=_0x3df2e2[_0x5892a1(0x2d7)]-0x1,_0x35f19d;_0xf8ae20>=0x0;_0xf8ae20--)(_0x35f19d=_0x3df2e2[_0xf8ae20])&&(_0x2cebcd=_0x35f19d(_0x2cebcd)||_0x2cebcd);return _0x2cebcd;},_0x1383ab=(_0x4701ca,_0x187ba2)=>(_0x13c03f,_0x104d87)=>_0x187ba2(_0x13c03f,_0x104d87,_0x4701ca);let _0x4a68f6=class extends _0x487e55['Disposable']{constructor(_0x5190a2,_0x3963cd,_0x48987d){const _0x4ae663=_0x4edfe2;super(),this[_0x4ae663(0x29d)]=_0x5190a2,this[_0x4ae663(0x2a2)]=_0x3963cd,this['_exclusiveRangeService']=_0x48987d,this['_initDataChangeListener'](),this[_0x4ae663(0x23b)]();}[_0x4edfe2(0x287)](){const _0xe54c3b=_0x4edfe2;this[_0xe54c3b(0x27d)](this['_commandService'][_0xe54c3b(0x29e)](_0x1aca63=>{const _0x5297f8=_0xe54c3b;if(_0x1aca63['id']===_0x2585ee[_0x5297f8(0x1fc)]['id']){const _0x5bbbbc=_0x1aca63[_0x5297f8(0x247)],{cellValue:_0x3c5147,unitId:_0x1651de,subUnitId:_0x35de82}=_0x5bbbbc,_0x5c5ed5=new _0x487e55[(_0x5297f8(0x231))](_0x3c5147),_0x880f20=new Set(),_0x1f987a=this[_0x5297f8(0x2a2)][_0x5297f8(0x232)](_0x1651de,_0x35de82);if(!_0x1f987a)return;const _0xfce7f1=Array[_0x5297f8(0x25c)](_0x1f987a);_0x5c5ed5[_0x5297f8(0x29b)]((_0x8a7500,_0x23fc40,_0x554a4c)=>{const _0x458247=_0x5297f8,_0x59cf5f=_0x487e55[_0x458247(0x2d8)](_0x8a7500,_0x23fc40);for(let _0x297d96=0x0;_0x297d96<_0xfce7f1[_0x458247(0x2d7)];_0x297d96++){const [_0x4698d5,_0xc9ff4c]=_0xfce7f1[_0x297d96],_0xe704c8=_0x880f20[_0x458247(0x2ef)](_0x4698d5);_0xe704c8||_0xc9ff4c[_0x458247(0x2df)][_0x458247(0x29b)]((_0x2a384c,_0x2af668,_0x23623a)=>{const _0x44d367=_0x458247,_0x2a220f=_0x23623a;if(_0x2a220f&&!_0xe704c8&&_0x487e55[_0x44d367(0x25f)][_0x44d367(0x2c8)](_0x59cf5f,_0x2a220f))return _0x880f20['add'](_0x4698d5),!0x0;});}}),_0x880f20[_0x5297f8(0x1f1)](_0x2cdbbd=>{const _0x33109d=_0x5297f8;this[_0x33109d(0x2a2)][_0x33109d(0x22a)](_0x1651de,_0x35de82,_0x2cdbbd),this[_0x33109d(0x2a2)][_0x33109d(0x270)](_0x1651de,_0x35de82,_0x2cdbbd);});}else{if(_0x1aca63['id']===_0x2585ee['ReorderRangeMutation']['id']){const _0x5915be=_0x1aca63[_0x5297f8(0x247)],{range:_0x511ce0,unitId:_0x18df23,subUnitId:_0x3b8c7d}=_0x5915be,_0x3ac9df=new Set(),_0x590f98=this[_0x5297f8(0x2a2)][_0x5297f8(0x232)](_0x18df23,_0x3b8c7d);if(!_0x590f98)return;const _0x17cb25=Array[_0x5297f8(0x25c)](_0x590f98);for(let _0x33432c=0x0;_0x33432c<_0x17cb25[_0x5297f8(0x2d7)];_0x33432c++){const [_0x23a2b9,_0x28f9e2]=_0x17cb25[_0x33432c],_0x54a6b9=_0x3ac9df[_0x5297f8(0x2ef)](_0x23a2b9);_0x54a6b9||_0x28f9e2[_0x5297f8(0x2df)][_0x5297f8(0x29b)]((_0xfe6d90,_0x1db324,_0x193e3d)=>{const _0xdb2dfc=_0x5297f8,_0x5b87ad=_0x193e3d;if(_0x5b87ad&&!_0x54a6b9&&_0x487e55[_0xdb2dfc(0x25f)][_0xdb2dfc(0x2c8)](_0x511ce0,_0x5b87ad))return _0x3ac9df[_0xdb2dfc(0x2f8)](_0x23a2b9),!0x0;});}_0x3ac9df['forEach'](_0x4b721c=>{const _0x57e3b8=_0x5297f8;this['_sparklineDataSourceModel'][_0x57e3b8(0x22a)](_0x18df23,_0x3b8c7d,_0x4b721c),this[_0x57e3b8(0x2a2)][_0x57e3b8(0x270)](_0x18df23,_0x3b8c7d,_0x4b721c);});}}}));}[_0x4edfe2(0x23b)](){const _0x522b1c=_0x4edfe2;this[_0x522b1c(0x27d)](this[_0x522b1c(0x2e3)]['exclusiveRangesChange$']['subscribe'](_0x5f49e9=>{const _0x377379=_0x522b1c,{unitId:_0x2fb867,subUnitId:_0x550c04,ranges:_0x365a0d}=_0x5f49e9,_0x3a200a=this['_sparklineDataSourceModel'][_0x377379(0x232)](_0x2fb867,_0x550c04);if(!_0x3a200a)return;const _0x19d652=Array[_0x377379(0x25c)](_0x3a200a),_0x5047c9=new Set();for(let _0x188cd9=0x0;_0x188cd9<_0x19d652[_0x377379(0x2d7)];_0x188cd9++){const [_0x555252,_0x5b2188]=_0x19d652[_0x188cd9],_0x3103ce=_0x5047c9['has'](_0x555252);_0x3103ce||_0x5b2188[_0x377379(0x2df)][_0x377379(0x29b)]((_0x4607ae,_0x1172c3,_0xe640ef)=>{const _0x48ffbe=_0x377379,_0x2cf9cd=_0xe640ef;if(_0x2cf9cd&&!_0x3103ce){for(const _0x5eb9b8 of _0x365a0d)if(_0x487e55[_0x48ffbe(0x25f)][_0x48ffbe(0x2c8)](_0x5eb9b8,_0x2cf9cd)){_0x5047c9['add'](_0x555252);break;}}});}_0x5047c9['forEach'](_0x4184e5=>{const _0xa51e99=_0x377379;this['_sparklineDataSourceModel'][_0xa51e99(0x22a)](_0x2fb867,_0x550c04,_0x4184e5),this[_0xa51e99(0x2a2)][_0xa51e99(0x270)](_0x2fb867,_0x550c04,_0x4184e5);});}));}};_0x4a68f6=_0x298806([_0x1383ab(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x27a)])),_0x1383ab(0x1,_0x487e55['Inject'](_0x479cb5['SparklineDataSourceModel'])),_0x1383ab(0x2,_0x487e55['Inject'](_0x2585ee[_0x4edfe2(0x28d)]))],_0x4a68f6);var _0x5f13e3=Object[_0x4edfe2(0x243)],_0x1fcc96=(_0x5937a2,_0x1d60cb,_0x3b0b1b,_0x515baa)=>{const _0x1ba859=_0x4edfe2;for(var _0x2af82d=_0x515baa>0x1?void 0x0:_0x515baa?_0x5f13e3(_0x1d60cb,_0x3b0b1b):_0x1d60cb,_0x169bfc=_0x5937a2[_0x1ba859(0x2d7)]-0x1,_0xc0001f;_0x169bfc>=0x0;_0x169bfc--)(_0xc0001f=_0x5937a2[_0x169bfc])&&(_0x2af82d=_0xc0001f(_0x2af82d)||_0x2af82d);return _0x2af82d;},_0x2f145d=(_0x19c59d,_0x3b60f4)=>(_0x2d5a79,_0x3666e8)=>_0x3b60f4(_0x2d5a79,_0x3666e8,_0x19c59d);let _0x1ee2fd=class extends _0x487e55[_0x4edfe2(0x257)]{constructor(_0x5e54be,_0xb7b890){const _0x330894=_0x4edfe2;super(),this[_0x330894(0x29d)]=_0x5e54be,this[_0x330894(0x2a2)]=_0xb7b890,this[_0x330894(0x211)]();}[_0x4edfe2(0x211)](){const _0x1923b2=_0x4edfe2;this[_0x1923b2(0x29d)][_0x1923b2(0x29e)](_0x552599=>{const _0x482042=_0x1923b2;if(_0x552599['id']===_0x2585ee[_0x482042(0x26a)]['id']||_0x552599['id']===_0x2585ee[_0x482042(0x209)]['id']||_0x552599['id']===_0x2585ee[_0x482042(0x2ed)]['id']||_0x552599['id']===_0x2585ee[_0x482042(0x2d4)]['id']){const _0xcd7aac=_0x552599[_0x482042(0x247)],{ranges:_0x563e6c,unitId:_0x3b5b0d,subUnitId:_0x52d369}=_0xcd7aac,_0x187ce6=new Set(),_0x1da67b=this[_0x482042(0x2a2)][_0x482042(0x232)](_0x3b5b0d,_0x52d369);if(!_0x1da67b)return;const _0x486e92=Array[_0x482042(0x25c)](_0x1da67b);_0x563e6c[_0x482042(0x1f1)](_0x271163=>{const _0x15e2f8=_0x482042;_0x487e55[_0x15e2f8(0x255)][_0x15e2f8(0x216)](_0x271163,(_0x419df3,_0x2a8d9f)=>{const _0x521147=_0x15e2f8,_0x4be276=_0x487e55[_0x521147(0x2d8)](_0x419df3,_0x2a8d9f);for(let _0x4439d0=0x0;_0x4439d0<_0x486e92[_0x521147(0x2d7)];_0x4439d0++){const [_0xc1f9b8,_0x424095]=_0x486e92[_0x4439d0],_0x5b4dee=_0x187ce6[_0x521147(0x2ef)](_0xc1f9b8);_0x5b4dee||_0x424095[_0x521147(0x2df)][_0x521147(0x29b)]((_0x160bc7,_0x446568,_0x5f4e22)=>{const _0x5b00ec=_0x5f4e22;if(_0x5b00ec&&!_0x5b4dee&&_0x487e55['Rectangle']['intersects'](_0x4be276,_0x5b00ec))return _0x187ce6['add'](_0xc1f9b8),!0x0;});}});}),_0x187ce6[_0x482042(0x1f1)](_0x1c0ab4=>{const _0x5007f8=_0x482042;this[_0x5007f8(0x2a2)][_0x5007f8(0x22a)](_0x3b5b0d,_0x52d369,_0x1c0ab4),this['_sparklineDataSourceModel'][_0x5007f8(0x270)](_0x3b5b0d,_0x52d369,_0x1c0ab4);});}});}};_0x1ee2fd=_0x1fcc96([_0x2f145d(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x27a)])),_0x2f145d(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5[_0x4edfe2(0x225)]))],_0x1ee2fd);var _0x3341c9=Object[_0x4edfe2(0x243)],_0x22c4a0=(_0x12ea14,_0x4a67de,_0x50db82,_0x10bb1c)=>{const _0x265b31=_0x4edfe2;for(var _0x56af43=_0x10bb1c>0x1?void 0x0:_0x10bb1c?_0x3341c9(_0x4a67de,_0x50db82):_0x4a67de,_0x5aa1c0=_0x12ea14[_0x265b31(0x2d7)]-0x1,_0x47caac;_0x5aa1c0>=0x0;_0x5aa1c0--)(_0x47caac=_0x12ea14[_0x5aa1c0])&&(_0x56af43=_0x47caac(_0x56af43)||_0x56af43);return _0x56af43;},_0xb297bb=(_0x405f61,_0x20a20c)=>(_0x2a2b25,_0xc873da)=>_0x20a20c(_0x2a2b25,_0xc873da,_0x405f61);let _0x147012=class extends _0x487e55[_0x4edfe2(0x257)]{constructor(_0x10b1cb,_0x2df6a9,_0x49eaca){const _0x47062b=_0x4edfe2;super(),this[_0x47062b(0x29d)]=_0x10b1cb,this[_0x47062b(0x207)]=_0x2df6a9,this[_0x47062b(0x2a2)]=_0x49eaca,this['_initMergeWithSparkline']();}[_0x4edfe2(0x292)](){const _0xc19755=_0x4edfe2;this[_0xc19755(0x27d)](this[_0xc19755(0x207)]['interceptCommand']({'getMutations':_0x5cd08e=>{const _0x52529d=_0xc19755,_0xa9908=[],_0x3df542=[];if(_0x5cd08e['id']===_0x2585ee[_0x52529d(0x221)]['id']){const _0x5161bc=_0x5cd08e['params'];if(!_0x5161bc)return{'redos':_0xa9908,'undos':_0x3df542};const {unitId:_0x20f48e,subUnitId:_0x1da29d,ranges:_0x25105b}=_0x5161bc,_0x3d3dc5=this[_0x52529d(0x2a2)][_0x52529d(0x232)](_0x20f48e,_0x1da29d);if(!_0x3d3dc5)return{'redos':_0xa9908,'undos':_0x3df542};const _0x1f9e0e={},_0x170337={},_0x12682b=new Set();_0x25105b[_0x52529d(0x1f1)](_0x221a9b=>{const _0x1445b5=_0x52529d,_0xf79f3b=_0x221a9b[_0x1445b5(0x2a3)],_0x4913a5=_0x221a9b['startColumn'];_0x487e55[_0x1445b5(0x255)][_0x1445b5(0x216)](_0x221a9b,(_0x4aa2ff,_0x55b26c)=>{const _0x2bca68=_0x1445b5,_0x2d0672=this[_0x2bca68(0x2a2)][_0x2bca68(0x1f6)](_0x20f48e,_0x1da29d,_0x4aa2ff,_0x55b26c);if(_0x2d0672&&!(_0x4aa2ff===_0xf79f3b&&_0x55b26c===_0x4913a5)){const _0x14a622=this[_0x2bca68(0x2a2)][_0x2bca68(0x29c)](_0x20f48e,_0x1da29d,_0x2d0672);if(_0x14a622){_0x12682b[_0x2bca68(0x2f8)](_0x2d0672);let _0x207cd6=_0x1f9e0e[_0x2d0672];_0x207cd6||(_0x207cd6={'config':_0x487e55['Tools']['deepClone'](_0x14a622[_0x2bca68(0x2ad)]),'sparklines':new _0x487e55[(_0x2bca68(0x231))](_0x14a622[_0x2bca68(0x2df)][_0x2bca68(0x1fe)]())},_0x1f9e0e[_0x2d0672]=_0x207cd6),_0x207cd6[_0x2bca68(0x2df)]['realDeleteValue'](_0x4aa2ff,_0x55b26c),_0x170337[_0x2d0672]={'config':_0x487e55[_0x2bca68(0x2ba)][_0x2bca68(0x2e2)](_0x14a622[_0x2bca68(0x2ad)]),'sparklines':_0x487e55[_0x2bca68(0x2ba)][_0x2bca68(0x2e2)](_0x14a622[_0x2bca68(0x2df)][_0x2bca68(0x1fe)]())};}}});});for(const [_0x933cc,_0x6e413b]of _0x3d3dc5){const _0x4550aa=_0x6e413b[_0x52529d(0x2df)];_0x4550aa['forValue']((_0x4783b5,_0x1a4f04,_0x5c104f)=>{const _0x22ef3b=_0x52529d;for(let _0x189a18=0x0;_0x189a18<_0x25105b[_0x22ef3b(0x2d7)];_0x189a18++){const _0xce4427=_0x25105b[_0x189a18];if(_0x487e55[_0x22ef3b(0x25f)][_0x22ef3b(0x2f7)](_0xce4427,_0x5c104f)){_0x12682b['add'](_0x933cc);let _0x2ad8f2=_0x1f9e0e[_0x933cc];_0x2ad8f2||(_0x2ad8f2={'config':_0x487e55[_0x22ef3b(0x2ba)][_0x22ef3b(0x2e2)](_0x6e413b[_0x22ef3b(0x2ad)]),'sparklines':new _0x487e55[(_0x22ef3b(0x231))](_0x4550aa[_0x22ef3b(0x1fe)]())},_0x1f9e0e[_0x933cc]=_0x2ad8f2),_0x2ad8f2['sparklines'][_0x22ef3b(0x2c1)](_0x4783b5,_0x1a4f04),_0x170337[_0x933cc]||(_0x170337[_0x933cc]={'config':_0x487e55[_0x22ef3b(0x2ba)][_0x22ef3b(0x2e2)](_0x6e413b['config']),'sparklines':_0x487e55[_0x22ef3b(0x2ba)][_0x22ef3b(0x2e2)](_0x4550aa[_0x22ef3b(0x1fe)]())});}}});}const _0x13960d={};Object['entries'](_0x1f9e0e)['forEach'](([_0x4991e7,_0x590c73])=>{const _0x13fae3=_0x52529d;_0x590c73[_0x13fae3(0x2df)]['getSizeOf']()&&(_0x13960d[_0x4991e7]={'config':_0x590c73[_0x13fae3(0x2ad)],'sparklines':_0x590c73['sparklines'][_0x13fae3(0x1fe)]()});}),_0x12682b[_0x52529d(0x284)]&&(_0xa9908[_0x52529d(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x20f48e,'subUnitId':_0x1da29d,'groupIds':Array[_0x52529d(0x25c)](_0x12682b),'isSingle':!0x1}}),_0x3df542[_0x52529d(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x20f48e,'subUnitId':_0x1da29d,'groupIds':Array[_0x52529d(0x25c)](_0x12682b),'isSingle':!0x1}}),_0xa9908['push']({'id':_0x1f4894['id'],'params':{'unitId':_0x20f48e,'subUnitId':_0x1da29d,'sparklineConfigMap':_0x13960d}}),_0x3df542[_0x52529d(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x20f48e,'subUnitId':_0x1da29d,'sparklineConfigMap':_0x170337}}));}return{'redos':_0xa9908,'undos':_0x3df542};}}));}};_0x147012=_0x22c4a0([_0xb297bb(0x0,_0x487e55['Inject'](_0x487e55['ICommandService'])),_0xb297bb(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x2585ee[_0x4edfe2(0x252)])),_0xb297bb(0x2,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5[_0x4edfe2(0x225)]))],_0x147012);var _0x5c53ea=Object[_0x4edfe2(0x243)],_0x2e0b32=(_0x113cd2,_0x486f77,_0x3ff3e0,_0x50882b)=>{const _0x59aeae=_0x4edfe2;for(var _0xb18af2=_0x50882b>0x1?void 0x0:_0x50882b?_0x5c53ea(_0x486f77,_0x3ff3e0):_0x486f77,_0x22fa0f=_0x113cd2[_0x59aeae(0x2d7)]-0x1,_0x234976;_0x22fa0f>=0x0;_0x22fa0f--)(_0x234976=_0x113cd2[_0x22fa0f])&&(_0xb18af2=_0x234976(_0xb18af2)||_0xb18af2);return _0xb18af2;},_0x25534a=(_0x1a787d,_0x3f8475)=>(_0x4e79ba,_0x285510)=>_0x3f8475(_0x4e79ba,_0x285510,_0x1a787d);let _0x1d01ce=class extends _0x487e55[_0x4edfe2(0x257)]{constructor(_0x15a3f2,_0x4d30e2,_0x426f7c,_0x507f2a){const _0x30d2a4=_0x4edfe2;super(),_0x4ce415(this,_0x30d2a4(0x2ee),new _0x487e55[(_0x30d2a4(0x286))]()),(this[_0x30d2a4(0x29d)]=_0x15a3f2,this[_0x30d2a4(0x24a)]=_0x4d30e2,this['_univerInstanceService']=_0x426f7c,this[_0x30d2a4(0x2a2)]=_0x507f2a,this['_onRefRangeChange'](),this[_0x30d2a4(0x283)]());}['_onRefRangeChange'](){const _0x2d55c4=_0x4edfe2,_0x2f64d1=(_0x1280b6,_0xd7b33e)=>{const _0x544f94=_0x531f,_0x2bc43d=this['_univerInstanceService']['getCurrentUnitForType'](_0x487e55[_0x544f94(0x203)]['UNIVER_SHEET']);if(!_0x2bc43d||!(_0x2bc43d==null?void 0x0:_0x2bc43d[_0x544f94(0x290)](_0xd7b33e)))return;this[_0x544f94(0x2ee)][_0x544f94(0x2a5)]();const _0x4b6f22=_0x1e6e78=>this[_0x544f94(0x2ab)](_0x1e6e78,_0x1280b6,_0xd7b33e),_0x3d0c58=[],_0xfe4767=this[_0x544f94(0x2a2)][_0x544f94(0x232)](_0x1280b6,_0xd7b33e);if(_0xfe4767){for(const [_0x5d9b8b,_0x2cb5e1]of _0xfe4767)_0x2cb5e1['sparklines'][_0x544f94(0x29b)]((_0xdd1c5d,_0x5ec62c,_0x2022ae)=>{const _0x4cfbe1=_0x544f94,_0x472fe5=_0x487e55[_0x4cfbe1(0x2d8)](_0xdd1c5d,_0x5ec62c);_0x3d0c58['push'](_0x472fe5);});_0x3d0c58[_0x544f94(0x1f1)](_0x2764cf=>{const _0x4313be=_0x544f94;this['disposableCollection'][_0x4313be(0x2f8)](this['_refRangeService']['registerRefRange'](_0x2764cf,_0x4b6f22,_0x1280b6,_0xd7b33e));});}};this['disposeWithMe'](this[_0x2d55c4(0x29d)][_0x2d55c4(0x29e)](_0x34a760=>{const _0x59c91c=_0x2d55c4;if(_0x34a760['id']===_0x2585ee[_0x59c91c(0x236)]['id']){const _0x44e80d=_0x34a760[_0x59c91c(0x247)],_0x544c8c=_0x44e80d[_0x59c91c(0x245)],_0x6c87c3=_0x44e80d[_0x59c91c(0x24b)];if(!_0x544c8c||!_0x6c87c3)return;_0x2f64d1(_0x6c87c3,_0x544c8c);}if(_0x34a760['id']===_0x29a2cf['id']||_0x34a760['id']===_0x1f4894['id']){const _0x143508=_0x34a760[_0x59c91c(0x247)],_0x3c3507=_0x143508[_0x59c91c(0x245)],_0x2be509=_0x143508[_0x59c91c(0x24b)];if(!_0x3c3507||!_0x2be509)return;_0x2f64d1(_0x2be509,_0x3c3507);}}));}[_0x4edfe2(0x2ab)](_0xb3698b,_0x10b552,_0x121e46){const _0x24ad38=_0x4edfe2;switch(_0xb3698b['id']){case _0x2585ee[_0x24ad38(0x276)]['id']:return this[_0x24ad38(0x26e)](_0xb3698b[_0x24ad38(0x247)],_0x10b552,_0x121e46);case _0x2585ee['RemoveRowCommand']['id']:return this['_getRefRangeMutationsByDeleteRows'](_0xb3698b[_0x24ad38(0x247)],_0x10b552,_0x121e46);}return{'redos':[],'undos':[]};}[_0x4edfe2(0x217)](_0x11fe91,_0x2fbd25,_0x19bcea){const _0x4fbcc8=_0x4edfe2;var _0x558c52,_0x2aeab4;const {range:_0x3ed5c4}=_0x11fe91,_0x5c9bbf=new Set(),_0x441b12={},_0x147586={},_0x50e9f2=[],_0x5c9e43=[],_0x2ba4e3=[],_0x1b624d=[];if(!_0x2585ee[_0x4fbcc8(0x2b0)](this[_0x4fbcc8(0x242)],{'unitId':_0x2fbd25,'subUnitId':_0x19bcea}))return{'redos':_0x5c9e43,'undos':_0x50e9f2};const _0x3e6977=this[_0x4fbcc8(0x2a2)][_0x4fbcc8(0x232)](_0x2fbd25,_0x19bcea);if(!_0x3e6977)return{'redos':_0x5c9e43,'undos':_0x50e9f2};if(!((_0x2aeab4=(_0x558c52=this[_0x4fbcc8(0x2a2)][_0x4fbcc8(0x1f7)]()[_0x4fbcc8(0x2cf)][_0x4fbcc8(0x293)](_0x2fbd25))==null?void 0x0:_0x558c52['get'](_0x19bcea))==null?void 0x0:_0x2aeab4[_0x4fbcc8(0x2e1)]))return{'redos':_0x5c9e43,'undos':_0x50e9f2};for(const [_0x1d034b,_0x673292]of _0x3e6977){const _0x10735c=_0x673292[_0x4fbcc8(0x2df)];_0x10735c['forValue']((_0x45d0e6,_0xd92f39,_0x1450e9)=>{const _0x44b08f=_0x4fbcc8;if(_0x487e55[_0x44b08f(0x25f)][_0x44b08f(0x2c8)](_0x3ed5c4,_0x1450e9)){_0x5c9bbf[_0x44b08f(0x2f8)](_0x1d034b);let _0x21b71d=_0x147586[_0x1d034b];_0x21b71d||(_0x21b71d={'config':_0x673292[_0x44b08f(0x2ad)],'sparklines':_0x673292[_0x44b08f(0x2df)][_0x44b08f(0x1fe)]()},_0x147586[_0x1d034b]=_0x21b71d);let _0xd9a747=_0x441b12[_0x1d034b];_0xd9a747||(_0xd9a747={'config':_0x673292[_0x44b08f(0x2ad)],'sparklines':new _0x487e55['ObjectMatrix'](_0x673292[_0x44b08f(0x2df)][_0x44b08f(0x1fe)]())},_0x441b12[_0x1d034b]=_0xd9a747);const _0x30856d=_0x2585ee[_0x44b08f(0x26c)](_0x1450e9,{'id':_0x2585ee[_0x44b08f(0x21f)]['id'],'params':_0x11fe91});_0x30856d?_0xd9a747[_0x44b08f(0x2df)][_0x44b08f(0x2ce)](_0x45d0e6,_0xd92f39,_0x30856d):_0xd9a747['sparklines']['setValue'](_0x45d0e6,_0xd92f39,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x44b08f(0x2f5)][_0x44b08f(0x2c3)]});}}),_0x10735c['forValue']((_0x2b39f5,_0x3171ea,_0x402616)=>{const _0xa1cd42=_0x4fbcc8;if(_0x2b39f5<=_0x3ed5c4[_0xa1cd42(0x2bd)]&&_0x2b39f5>=_0x3ed5c4['startRow']){_0x5c9bbf[_0xa1cd42(0x2f8)](_0x1d034b);let _0x5e955f=_0x147586[_0x1d034b];_0x5e955f||(_0x5e955f={'config':_0x673292[_0xa1cd42(0x2ad)],'sparklines':_0x673292[_0xa1cd42(0x2df)][_0xa1cd42(0x1fe)]()},_0x147586[_0x1d034b]=_0x5e955f);let _0x2ac2d1=_0x441b12[_0x1d034b];_0x2ac2d1||(_0x2ac2d1={'config':_0x673292[_0xa1cd42(0x2ad)],'sparklines':new _0x487e55[(_0xa1cd42(0x231))](_0x673292['sparklines'][_0xa1cd42(0x1fe)]())},_0x441b12[_0x1d034b]=_0x2ac2d1);}});}_0x1b624d[_0x4fbcc8(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x2fbd25,'subUnitId':_0x19bcea,'groupIds':Array[_0x4fbcc8(0x25c)](_0x5c9bbf),'isSingle':!0x1}}),_0x2ba4e3[_0x4fbcc8(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x2fbd25,'subUnitId':_0x19bcea,'groupIds':Array[_0x4fbcc8(0x25c)](_0x5c9bbf),'isSingle':!0x1}});const _0x2c7729={};let _0x4b7802=!0x1;return Object[_0x4fbcc8(0x2aa)](_0x441b12)[_0x4fbcc8(0x1f1)](([_0x271ae2,_0x2113b1])=>{const _0x21ae24=_0x4fbcc8;_0x2113b1[_0x21ae24(0x2df)][_0x21ae24(0x278)]()&&(_0x4b7802=!0x0,_0x2113b1[_0x21ae24(0x2df)][_0x21ae24(0x260)](_0x3ed5c4[_0x21ae24(0x2a3)],_0x3ed5c4[_0x21ae24(0x2bd)]-_0x3ed5c4['startRow']+0x1),_0x2c7729[_0x271ae2]={'config':_0x2113b1[_0x21ae24(0x2ad)],'sparklines':_0x2113b1[_0x21ae24(0x2df)]['clone']()});}),_0x4b7802&&_0x5c9e43[_0x4fbcc8(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x2fbd25,'subUnitId':_0x19bcea,'sparklineConfigMap':_0x2c7729}}),_0x50e9f2[_0x4fbcc8(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x2fbd25,'subUnitId':_0x19bcea,'sparklineConfigMap':_0x147586}}),{'redos':_0x5c9e43,'undos':_0x50e9f2,'preRedos':_0x2ba4e3,'preUndos':_0x1b624d};}[_0x4edfe2(0x26e)](_0x53f715,_0x4c1b95,_0x183215){const _0x59fcd2=_0x4edfe2;var _0x23067f,_0x49e3b5;const {range:_0x812562}=_0x53f715,_0x499e3e=new Set(),_0x10394c={},_0x597ded={},_0x44673f=[],_0x305633=[],_0x575c0a=[],_0x1a4ba7=[];if(!_0x2585ee[_0x59fcd2(0x2b0)](this['_univerInstanceService'],{'unitId':_0x4c1b95,'subUnitId':_0x183215}))return{'redos':_0x305633,'undos':_0x44673f};const _0x558b3f=this[_0x59fcd2(0x2a2)][_0x59fcd2(0x232)](_0x4c1b95,_0x183215);if(!_0x558b3f)return{'redos':_0x305633,'undos':_0x44673f};if(!((_0x49e3b5=(_0x23067f=this['_sparklineDataSourceModel'][_0x59fcd2(0x1f7)]()[_0x59fcd2(0x2cf)]['get'](_0x4c1b95))==null?void 0x0:_0x23067f['get'](_0x183215))==null?void 0x0:_0x49e3b5[_0x59fcd2(0x2e1)]))return{'redos':_0x305633,'undos':_0x44673f};for(const [_0x2769c4,_0x32836f]of _0x558b3f){const _0x3be06b=_0x32836f[_0x59fcd2(0x2df)];_0x3be06b[_0x59fcd2(0x29b)]((_0x3dd5cf,_0x12e6aa,_0x1217f5)=>{const _0x4dc5c9=_0x59fcd2;if(_0x487e55[_0x4dc5c9(0x25f)][_0x4dc5c9(0x2c8)](_0x812562,_0x1217f5)){_0x499e3e[_0x4dc5c9(0x2f8)](_0x2769c4);let _0x36490d=_0x597ded[_0x2769c4];_0x36490d||(_0x36490d={'config':_0x32836f['config'],'sparklines':_0x32836f[_0x4dc5c9(0x2df)][_0x4dc5c9(0x1fe)]()},_0x597ded[_0x2769c4]=_0x36490d);let _0x3b35a0=_0x10394c[_0x2769c4];_0x3b35a0||(_0x3b35a0={'config':_0x32836f[_0x4dc5c9(0x2ad)],'sparklines':new _0x487e55['ObjectMatrix'](_0x32836f[_0x4dc5c9(0x2df)][_0x4dc5c9(0x1fe)]())},_0x10394c[_0x2769c4]=_0x3b35a0);const _0x18853d=_0x2585ee[_0x4dc5c9(0x26c)](_0x1217f5,{'id':_0x2585ee['RemoveColMutation']['id'],'params':_0x53f715});_0x18853d?_0x3b35a0[_0x4dc5c9(0x2df)][_0x4dc5c9(0x2ce)](_0x3dd5cf,_0x12e6aa,_0x18853d):_0x3b35a0['sparklines'][_0x4dc5c9(0x2ce)](_0x3dd5cf,_0x12e6aa,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x4dc5c9(0x2f5)][_0x4dc5c9(0x2c3)]});}}),_0x3be06b[_0x59fcd2(0x29b)]((_0x22b3a8,_0xacbcbe,_0x31d68f)=>{const _0x36e51b=_0x59fcd2;if(_0xacbcbe<=_0x812562[_0x36e51b(0x2b4)]&&_0xacbcbe>=_0x812562[_0x36e51b(0x2b1)]){_0x499e3e[_0x36e51b(0x2f8)](_0x2769c4);let _0x22055e=_0x597ded[_0x2769c4];_0x22055e||(_0x22055e={'config':_0x32836f['config'],'sparklines':_0x32836f[_0x36e51b(0x2df)][_0x36e51b(0x1fe)]()},_0x597ded[_0x2769c4]=_0x22055e);let _0x332c11=_0x10394c[_0x2769c4];_0x332c11||(_0x332c11={'config':_0x32836f[_0x36e51b(0x2ad)],'sparklines':new _0x487e55[(_0x36e51b(0x231))](_0x32836f['sparklines'][_0x36e51b(0x1fe)]())},_0x10394c[_0x2769c4]=_0x332c11);}});}_0x1a4ba7['push']({'id':_0x5cc50b['id'],'params':{'unitId':_0x4c1b95,'subUnitId':_0x183215,'groupIds':Array[_0x59fcd2(0x25c)](_0x499e3e),'isSingle':!0x1}}),_0x575c0a[_0x59fcd2(0x254)]({'id':_0x5cc50b['id'],'params':{'unitId':_0x4c1b95,'subUnitId':_0x183215,'groupIds':Array[_0x59fcd2(0x25c)](_0x499e3e),'isSingle':!0x1}});const _0x16155a={};let _0x25648c=!0x1;return Object[_0x59fcd2(0x2aa)](_0x10394c)['forEach'](([_0x48836f,_0x57a39f])=>{const _0x4b7c9b=_0x59fcd2;_0x57a39f[_0x4b7c9b(0x2df)]['getSizeOf']()&&(_0x25648c=!0x0,_0x57a39f[_0x4b7c9b(0x2df)]['removeColumns'](_0x812562[_0x4b7c9b(0x2b1)],_0x812562[_0x4b7c9b(0x2b4)]-_0x812562[_0x4b7c9b(0x2b1)]+0x1),_0x16155a[_0x48836f]={'config':_0x57a39f[_0x4b7c9b(0x2ad)],'sparklines':_0x57a39f[_0x4b7c9b(0x2df)][_0x4b7c9b(0x1fe)]()});}),_0x25648c&&_0x305633[_0x59fcd2(0x254)]({'id':_0x1f4894['id'],'params':{'unitId':_0x4c1b95,'subUnitId':_0x183215,'sparklineConfigMap':_0x16155a}}),_0x44673f['push']({'id':_0x1f4894['id'],'params':{'unitId':_0x4c1b95,'subUnitId':_0x183215,'sparklineConfigMap':_0x597ded}}),{'redos':_0x305633,'undos':_0x44673f,'preRedos':_0x575c0a,'preUndos':_0x1a4ba7};}['_initCorrectRangeWithSparkline'](){const _0x30b9dd=_0x4edfe2;this[_0x30b9dd(0x27d)](this[_0x30b9dd(0x29d)][_0x30b9dd(0x29e)](_0x1d04a0=>{const _0x30e5b7=_0x30b9dd;if(_0x1d04a0['id']===_0x2585ee[_0x30e5b7(0x249)]['id']){const _0x4d2530=_0x1d04a0[_0x30e5b7(0x247)],{unitId:_0x41a51b,subUnitId:_0x1894bc,range:_0xc67a5c}=_0x4d2530,_0x4a1554=_0xc67a5c[_0x30e5b7(0x2b1)],_0x5efeec=_0xc67a5c[_0x30e5b7(0x2b4)]-_0xc67a5c[_0x30e5b7(0x2b1)]+0x1,_0x3af3ae=this[_0x30e5b7(0x2a2)][_0x30e5b7(0x232)](_0x41a51b,_0x1894bc);if(!_0x3af3ae)return;for(const [_0x1def5c,_0x57857a]of _0x3af3ae){this[_0x30e5b7(0x2a2)][_0x30e5b7(0x22a)](_0x41a51b,_0x1894bc,_0x1def5c);const _0x30708b=_0x57857a[_0x30e5b7(0x2df)];_0x30708b[_0x30e5b7(0x29b)]((_0x1ec4cf,_0x2574dd,_0x2ead2f)=>{const _0x590f7e=_0x30e5b7,_0x565c9c={..._0x2ead2f};_0x4a1554<=_0x565c9c[_0x590f7e(0x2b1)]?(_0x565c9c[_0x590f7e(0x2b1)]+=_0x5efeec,_0x565c9c[_0x590f7e(0x2b4)]+=_0x5efeec):_0x4a1554>_0x565c9c['endColumn']||(_0x565c9c[_0x590f7e(0x2b4)]+=_0x5efeec),_0x30708b[_0x590f7e(0x2ce)](_0x1ec4cf,_0x2574dd,_0x565c9c);});const _0x253679=_0x30708b['getMatrix']();for(const _0x14814b in _0x253679){const _0x20b791=_0x253679[Number(_0x14814b)];if(!_0x20b791)continue;const _0x31dacd=Object[_0x30e5b7(0x25b)](_0x20b791)['map'](Number),_0x1f3e6c=Math[_0x30e5b7(0x2dc)](..._0x31dacd);for(let _0x2462ca=_0x1f3e6c;_0x2462ca>=_0x4a1554;_0x2462ca--)_0x2462ca>=_0x4a1554&&_0x20b791[_0x2462ca]&&(_0x20b791[_0x2462ca+_0x5efeec]=_0x20b791[_0x2462ca],delete _0x20b791[_0x2462ca]);}this['_sparklineDataSourceModel'][_0x30e5b7(0x270)](_0x41a51b,_0x1894bc,_0x1def5c);}}else{if(_0x1d04a0['id']===_0x2585ee[_0x30e5b7(0x2bf)]['id']){const _0x543fdb=_0x1d04a0[_0x30e5b7(0x247)],{unitId:_0x145ac7,subUnitId:_0x2e73fd,range:_0x2f70d3}=_0x543fdb,_0x4fc4a=_0x2f70d3[_0x30e5b7(0x2a3)],_0x35c80a=_0x2f70d3[_0x30e5b7(0x2bd)]-_0x2f70d3['startRow']+0x1,_0x48c3e0=this[_0x30e5b7(0x2a2)][_0x30e5b7(0x232)](_0x145ac7,_0x2e73fd);if(!_0x48c3e0)return;for(const [_0x1e3822,_0x1f134a]of _0x48c3e0){this['_sparklineDataSourceModel'][_0x30e5b7(0x22a)](_0x145ac7,_0x2e73fd,_0x1e3822);const _0x48d524=_0x1f134a[_0x30e5b7(0x2df)];_0x48d524['forValue']((_0x1f6f3c,_0x362a60,_0x4e266b)=>{const _0x26410c=_0x30e5b7,_0x582167={..._0x4e266b};_0x4fc4a<=_0x582167[_0x26410c(0x2a3)]?(_0x582167[_0x26410c(0x2a3)]+=_0x35c80a,_0x582167[_0x26410c(0x2bd)]+=_0x35c80a):_0x4fc4a>_0x582167[_0x26410c(0x2bd)]||(_0x582167[_0x26410c(0x2bd)]+=_0x35c80a),_0x48d524[_0x26410c(0x2ce)](_0x1f6f3c,_0x362a60,_0x582167);});const _0x3eb6f8=_0x48d524[_0x30e5b7(0x2d9)](),_0x5dc12c=Object['keys'](_0x3eb6f8)[_0x30e5b7(0x2bc)](Number),_0x27993f=Math[_0x30e5b7(0x2dc)](..._0x5dc12c);for(let _0x1a645a=_0x27993f;_0x1a645a>=_0x4fc4a;_0x1a645a--)_0x1a645a>=_0x4fc4a&&_0x3eb6f8[_0x1a645a]&&(_0x3eb6f8[_0x1a645a+_0x35c80a]=_0x3eb6f8[_0x1a645a],delete _0x3eb6f8[_0x1a645a]);this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x145ac7,_0x2e73fd,_0x1e3822);}}else{if(_0x1d04a0['id']===_0x2585ee['RemoveColMutation']['id']){const _0x1501ae=_0x1d04a0[_0x30e5b7(0x247)],{range:_0x41df07,unitId:_0x55cb65,subUnitId:_0x952bdf}=_0x1501ae,_0x482919=this[_0x30e5b7(0x2a2)][_0x30e5b7(0x232)](_0x55cb65,_0x952bdf);if(!_0x482919)return;for(const [_0x2f1daa,_0x57c275]of _0x482919){const _0x31f0fa=_0x57c275[_0x30e5b7(0x2df)];_0x31f0fa[_0x30e5b7(0x29b)]((_0x6831c1,_0x2b818c,_0x20ede9)=>{const _0x216950=_0x30e5b7,_0x443086=_0x2585ee[_0x216950(0x26c)](_0x20ede9,_0x1d04a0);_0x443086?_0x31f0fa[_0x216950(0x2ce)](_0x6831c1,_0x2b818c,_0x443086):_0x31f0fa['setValue'](_0x6831c1,_0x2b818c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x216950(0x2f5)][_0x216950(0x2c3)]});}),_0x31f0fa[_0x30e5b7(0x2b8)](_0x41df07['startColumn'],_0x41df07[_0x30e5b7(0x2b4)]-_0x41df07['startColumn']+0x1);}this[_0x30e5b7(0x2a2)][_0x30e5b7(0x213)](_0x55cb65,_0x952bdf);}else{if(_0x1d04a0['id']===_0x2585ee['RemoveRowMutation']['id']){const _0x4f8a31=_0x1d04a0[_0x30e5b7(0x247)],{range:_0x5851fd,unitId:_0x3a8ce8,subUnitId:_0x2d098c}=_0x4f8a31,_0x49d9fa=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x3a8ce8,_0x2d098c);if(!_0x49d9fa)return;for(const [_0x594519,_0x816101]of _0x49d9fa){const _0x454be9=_0x816101[_0x30e5b7(0x2df)];_0x454be9[_0x30e5b7(0x29b)]((_0x3d8b45,_0x1a1d07,_0x2fdea6)=>{const _0x1cc2c3=_0x30e5b7,_0x18409e=_0x2585ee[_0x1cc2c3(0x26c)](_0x2fdea6,_0x1d04a0);_0x18409e?_0x454be9['setValue'](_0x3d8b45,_0x1a1d07,_0x18409e):_0x454be9['setValue'](_0x3d8b45,_0x1a1d07,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x1cc2c3(0x2f5)][_0x1cc2c3(0x2c3)]});}),_0x454be9['removeRows'](_0x5851fd['startRow'],_0x5851fd['endRow']-_0x5851fd['startRow']+0x1);}this[_0x30e5b7(0x2a2)][_0x30e5b7(0x213)](_0x3a8ce8,_0x2d098c);}else{if(_0x1d04a0['id']===_0x2585ee[_0x30e5b7(0x282)]['id']){const _0x3492a5=_0x1d04a0['params'],{unitId:_0x4fd9e5,subUnitId:_0x1cb8e7,sourceRange:_0x1b72fd,targetRange:_0x373a01}=_0x3492a5,_0x116e57=this[_0x30e5b7(0x2a2)][_0x30e5b7(0x232)](_0x4fd9e5,_0x1cb8e7);if(!_0x116e57)return;for(const [_0x4a4c3d,_0x47fe61]of _0x116e57){const _0x48dd0e=_0x47fe61['sparklines'];_0x48dd0e[_0x30e5b7(0x29b)]((_0x586270,_0x1af2af,_0x406399)=>{const _0x53b087=_0x30e5b7,_0x326924=_0x2585ee[_0x53b087(0x26c)](_0x406399,_0x1d04a0);_0x326924?_0x48dd0e[_0x53b087(0x2ce)](_0x586270,_0x1af2af,_0x326924):_0x48dd0e['setValue'](_0x586270,_0x1af2af,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x53b087(0x2f5)][_0x53b087(0x2c3)]});}),_0x48dd0e['moveColumns'](_0x1b72fd['startColumn'],_0x1b72fd['endColumn']-_0x1b72fd[_0x30e5b7(0x2b1)]+0x1,_0x373a01[_0x30e5b7(0x2b1)]);}this[_0x30e5b7(0x2a2)][_0x30e5b7(0x213)](_0x4fd9e5,_0x1cb8e7);}else{if(_0x1d04a0['id']===_0x2585ee[_0x30e5b7(0x1ff)]['id']){const _0x5685a7=_0x1d04a0['params'],{unitId:_0x486148,subUnitId:_0x2852f2,sourceRange:_0x3d8f6d,targetRange:_0x9b04ef}=_0x5685a7,_0x37a5e4=this[_0x30e5b7(0x2a2)]['getSubUnitSparkline'](_0x486148,_0x2852f2);if(!_0x37a5e4)return;for(const [_0x563cc9,_0x4f61e2]of _0x37a5e4){const _0x33def8=_0x4f61e2[_0x30e5b7(0x2df)];_0x33def8[_0x30e5b7(0x29b)]((_0x4fdf75,_0x1c60a4,_0x55cada)=>{const _0x179e6a=_0x30e5b7,_0xf3800e=_0x2585ee[_0x179e6a(0x26c)](_0x55cada,_0x1d04a0);_0xf3800e?_0x33def8[_0x179e6a(0x2ce)](_0x4fdf75,_0x1c60a4,_0xf3800e):_0x33def8[_0x179e6a(0x2ce)](_0x4fdf75,_0x1c60a4,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x487e55[_0x179e6a(0x2f5)]['NORMAL']});}),_0x33def8[_0x30e5b7(0x239)](_0x3d8f6d[_0x30e5b7(0x2a3)],_0x3d8f6d[_0x30e5b7(0x2bd)]-_0x3d8f6d['startRow']+0x1,_0x9b04ef[_0x30e5b7(0x2a3)]);}this[_0x30e5b7(0x2a2)][_0x30e5b7(0x213)](_0x486148,_0x2852f2);}else{if(_0x1d04a0['id']===_0x2585ee[_0x30e5b7(0x297)]['id']){const _0x1b5fa9=_0x1d04a0[_0x30e5b7(0x247)],{fromRange:_0x598ca2,toRange:_0x73afe1,unitId:_0x1dc33e,from:_0x48f2df,to:_0x3bf853}=_0x1b5fa9;if(_0x48f2df[_0x30e5b7(0x245)]!==_0x3bf853[_0x30e5b7(0x245)])return;const _0x2207b4=_0x48f2df[_0x30e5b7(0x245)],{startRow:_0x364a41,endRow:_0x1ec20a,startColumn:_0x5b03f0,endColumn:_0x52327f}=_0x598ca2,{startRow:_0x20b392,startColumn:_0x1f459c}=_0x73afe1,_0x56ced0=_0x20b392-_0x364a41,_0x13472f=_0x1f459c-_0x5b03f0,_0x5c7442=this['_sparklineDataSourceModel'][_0x30e5b7(0x232)](_0x1dc33e,_0x2207b4);if(!(_0x5c7442!=null&&_0x5c7442[_0x30e5b7(0x284)]))return;for(let _0xb631e7=_0x364a41;_0xb631e7<=_0x1ec20a;_0xb631e7++)for(let _0x1d4fb9=_0x5b03f0;_0x1d4fb9<=_0x52327f;_0x1d4fb9++){const _0x3db881=this[_0x30e5b7(0x2a2)]['getSparkline'](_0x1dc33e,_0x2207b4,_0xb631e7,_0x1d4fb9);if(_0x3db881){const _0x36539b=this['_sparklineDataSourceModel'][_0x30e5b7(0x29c)](_0x1dc33e,_0x2207b4,_0x3db881);if(_0x36539b){const _0x909d53=_0x36539b[_0x30e5b7(0x2df)][_0x30e5b7(0x25a)](_0xb631e7,_0x1d4fb9);_0x909d53&&(_0x36539b[_0x30e5b7(0x2df)]['setValue'](_0xb631e7+_0x56ced0,_0x1d4fb9+_0x13472f,_0x909d53),_0x36539b[_0x30e5b7(0x2df)][_0x30e5b7(0x2c1)](_0xb631e7,_0x1d4fb9));}}}for(const [_0x4caf67,_0xc23c9c]of _0x5c7442){const _0x1342be=_0xc23c9c['sparklines'];_0x1342be['forValue']((_0x25872d,_0xbc372d,_0x4d25e0)=>{const _0x660dff=_0x30e5b7,_0x28837b={..._0x4d25e0};_0x487e55[_0x660dff(0x25f)][_0x660dff(0x2f7)](_0x598ca2,_0x4d25e0)&&(_0x28837b[_0x660dff(0x2a3)]+=_0x56ced0,_0x28837b['endRow']+=_0x56ced0,_0x28837b[_0x660dff(0x2b1)]+=_0x13472f,_0x28837b[_0x660dff(0x2b4)]+=_0x13472f),_0x1342be[_0x660dff(0x2ce)](_0x25872d,_0xbc372d,_0x28837b);});}this[_0x30e5b7(0x2a2)][_0x30e5b7(0x213)](_0x1dc33e,_0x2207b4);}}}}}}}}));}};_0x1d01ce=_0x2e0b32([_0x25534a(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x27a)])),_0x25534a(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x2585ee[_0x4edfe2(0x261)])),_0x25534a(0x2,_0x487e55[_0x4edfe2(0x2d0)]),_0x25534a(0x3,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5['SparklineDataSourceModel']))],_0x1d01ce);var _0x209b6d=Object[_0x4edfe2(0x243)],_0x40e87c=(_0x539e2c,_0x147f54,_0x16a45a,_0xab8cd9)=>{const _0x4328fa=_0x4edfe2;for(var _0x17c3e8=_0xab8cd9>0x1?void 0x0:_0xab8cd9?_0x209b6d(_0x147f54,_0x16a45a):_0x147f54,_0x56104d=_0x539e2c[_0x4328fa(0x2d7)]-0x1,_0x1b3e23;_0x56104d>=0x0;_0x56104d--)(_0x1b3e23=_0x539e2c[_0x56104d])&&(_0x17c3e8=_0x1b3e23(_0x17c3e8)||_0x17c3e8);return _0x17c3e8;},_0x422c73=(_0x416e99,_0x167364)=>(_0x42c1bc,_0x44a712)=>_0x167364(_0x42c1bc,_0x44a712,_0x416e99);let _0x3dc20c=class extends _0x487e55[_0x4edfe2(0x257)]{constructor(_0x71bd42,_0x159db4){const _0x3b64e2=_0x4edfe2;super(),this[_0x3b64e2(0x265)]=_0x71bd42,this[_0x3b64e2(0x2a2)]=_0x159db4,this['_initSnapshot']();}['_initSnapshot'](){const _0x5e941d=_0x4edfe2,_0x4ad9c1=_0xaed82a=>{const _0x36914d=_0x531f,_0x7320a5=this['_sparklineDataSourceModel']['toJSON'](_0xaed82a);return _0x7320a5?JSON[_0x36914d(0x2d5)](_0x7320a5):'';},_0x4c968d=_0xe24a06=>_0xe24a06?JSON[_0x5e941d(0x202)](_0xe24a06):{};this[_0x5e941d(0x27d)](this[_0x5e941d(0x265)][_0x5e941d(0x2a1)]({'toJson':_0x4ad9c1,'parseJson':_0x4c968d,'pluginName':_0x44b72d,'businesses':[_0x487e55[_0x5e941d(0x203)]['UNIVER_SHEET']],'onLoad':(_0x5e2d00,_0x3a2ee7)=>{const _0x517a28=_0x5e941d;this[_0x517a28(0x2a2)]['fromJSON'](_0x3a2ee7);},'onUnLoad':_0xee9e3b=>{const _0x218067=_0x5e941d;this[_0x218067(0x2a2)][_0x218067(0x2f6)](_0xee9e3b);}}));}};_0x3dc20c=_0x40e87c([_0x422c73(0x0,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x280)])),_0x422c73(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x479cb5[_0x4edfe2(0x225)]))],_0x3dc20c);var _0x9bf32e=Object[_0x4edfe2(0x26d)],_0x49acc9=Object[_0x4edfe2(0x243)],_0x4f819e=(_0x2dcf9e,_0x140b1e,_0x4cca93)=>_0x140b1e in _0x2dcf9e?_0x9bf32e(_0x2dcf9e,_0x140b1e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cca93}):_0x2dcf9e[_0x140b1e]=_0x4cca93,_0x1ce1bd=(_0x228dea,_0xd14592,_0x46ea34,_0x141c84)=>{const _0x5ec731=_0x4edfe2;for(var _0x4d4236=_0x141c84>0x1?void 0x0:_0x141c84?_0x49acc9(_0xd14592,_0x46ea34):_0xd14592,_0x4e9e5=_0x228dea[_0x5ec731(0x2d7)]-0x1,_0x2a9f68;_0x4e9e5>=0x0;_0x4e9e5--)(_0x2a9f68=_0x228dea[_0x4e9e5])&&(_0x4d4236=_0x2a9f68(_0x4d4236)||_0x4d4236);return _0x4d4236;},_0x2ea64e=(_0x15378d,_0x481d14)=>(_0x409e5a,_0x307d45)=>_0x481d14(_0x409e5a,_0x307d45,_0x15378d),_0x586e8=(_0x5371b0,_0x4ea0d3,_0x52d600)=>_0x4f819e(_0x5371b0,typeof _0x4ea0d3!=_0x4edfe2(0x27e)?_0x4ea0d3+'':_0x4ea0d3,_0x52d600);_0x479cb5['UniverSheetSparklinePlugin']=class extends _0x487e55[_0x4edfe2(0x2dd)]{constructor(_0xb81f84={},_0x5aeb0b,_0x37216e){const _0xdf7d62=_0x4edfe2;super(),this[_0xdf7d62(0x2f1)]=_0xb81f84,this[_0xdf7d62(0x2c4)]=_0x5aeb0b,this[_0xdf7d62(0x29d)]=_0x37216e,this['_initDependencies'](),this[_0xdf7d62(0x291)]();}[_0x4edfe2(0x212)](){const _0x2f7aee=_0x4edfe2;[[_0x479cb5['SparklineDataSourceModel']],[_0x4a68f6],[_0x147012],[_0x11fb24],[_0x1d01ce],[_0x1ee2fd],[_0x4dc48b],[_0x3dc20c]][_0x2f7aee(0x1f1)](_0xacac25=>{const _0x2e9b99=_0x2f7aee;this[_0x2e9b99(0x2c4)][_0x2e9b99(0x2f8)](_0xacac25);}),_0x487e55['touchDependencies'](this[_0x2f7aee(0x2c4)],[[_0x3dc20c]]);}['onReady'](){const _0x26eaa4=_0x4edfe2;_0x487e55[_0x26eaa4(0x26f)](this['_injector'],[[_0x4a68f6],[_0x147012],[_0x11fb24],[_0x1d01ce],[_0x1ee2fd],[_0x4dc48b]]);}['_initRegisterCommand'](){const _0x332fb2=_0x4edfe2;[_0x2eb97a,_0x1f4894,_0x4955f6,_0x5cc50b,_0x35c8a8,_0x29a2cf][_0x332fb2(0x1f1)](_0x5bcc80=>this['_commandService'][_0x332fb2(0x2f2)](_0x5bcc80));}},_0x586e8(_0x479cb5[_0x4edfe2(0x21b)],_0x4edfe2(0x2c0),_0x44b72d),_0x586e8(_0x479cb5['UniverSheetSparklinePlugin'],_0x4edfe2(0x1f5),_0x487e55['UniverInstanceType'][_0x4edfe2(0x2af)]),_0x479cb5[_0x4edfe2(0x21b)]=_0x1ce1bd([_0x487e55[_0x4edfe2(0x237)](_0x4d948a[_0x4edfe2(0x205)]),_0x2ea64e(0x1,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x2d1)])),_0x2ea64e(0x2,_0x487e55[_0x4edfe2(0x23a)](_0x487e55[_0x4edfe2(0x27a)]))],_0x479cb5[_0x4edfe2(0x21b)]),_0x479cb5[_0x4edfe2(0x295)]=_0x2eb97a,_0x479cb5[_0x4edfe2(0x23e)]=_0x1f4894,_0x479cb5[_0x4edfe2(0x229)]=_0x44b72d,_0x479cb5['RemoveSheetSparklineCommand']=_0x4955f6,_0x479cb5[_0x4edfe2(0x1f8)]=_0x5cc50b,_0x479cb5[_0x4edfe2(0x262)]=_0x35c8a8,_0x479cb5['SetSheetSparklineMutation']=_0x29a2cf,_0x479cb5[_0x4edfe2(0x28f)]=_0x4fb782,_0x479cb5[_0x4edfe2(0x2a4)]=_0xd9b0f9,_0x479cb5[_0x4edfe2(0x2b5)]=_0x3a5ccf,_0x479cb5[_0x4edfe2(0x2b3)]=_0x255f43,_0x479cb5[_0x4edfe2(0x2ec)]=_0x37a776,_0x479cb5[_0x4edfe2(0x267)]=_0x30b03d,_0x479cb5[_0x4edfe2(0x2cc)]=_0x4fffa1,Object[_0x4edfe2(0x26d)](_0x479cb5,Symbol[_0x4edfe2(0x2ea)],{'value':_0x4edfe2(0x289)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.10.6
|
|
3
|
+
"version": "0.10.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"rxjs": ">=7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@univerjs-pro/license": "0.10.6
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
65
|
+
"@univerjs-pro/license": "0.10.6",
|
|
66
|
+
"@univerjs/core": "0.10.6",
|
|
67
|
+
"@univerjs/sheets": "0.10.6"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
|
-
"typescript": "^5.
|
|
71
|
+
"typescript": "^5.8.3",
|
|
72
72
|
"vite": "^7.1.3",
|
|
73
73
|
"vitest": "^3.2.4",
|
|
74
74
|
"@univerjs-infra/shared": "0.10.6"
|