@univerjs-pro/sheets-sparkline 0.9.1-nightly.202507101607 → 0.9.2-nightly.202507111607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5e64(_0x206b13,_0x19297a){const _0x3abbaa=_0x3abb();return _0x5e64=function(_0x5e64e7,_0x32f0e9){_0x5e64e7=_0x5e64e7-0x1db;let _0x4e6b11=_0x3abbaa[_0x5e64e7];return _0x4e6b11;},_0x5e64(_0x206b13,_0x19297a);}(function(_0x277d28,_0x30116d){const _0x38d555=_0x5e64,_0x56ae30=_0x277d28();while(!![]){try{const _0x5b040b=parseInt(_0x38d555(0x2be))/0x1*(parseInt(_0x38d555(0x241))/0x2)+-parseInt(_0x38d555(0x250))/0x3+-parseInt(_0x38d555(0x238))/0x4*(parseInt(_0x38d555(0x25d))/0x5)+parseInt(_0x38d555(0x2a1))/0x6*(-parseInt(_0x38d555(0x1f1))/0x7)+-parseInt(_0x38d555(0x23c))/0x8+-parseInt(_0x38d555(0x24c))/0x9+parseInt(_0x38d555(0x2bb))/0xa*(parseInt(_0x38d555(0x245))/0xb);if(_0x5b040b===_0x30116d)break;else _0x56ae30['push'](_0x56ae30['shift']());}catch(_0x492479){_0x56ae30['push'](_0x56ae30['shift']());}}}(_0x3abb,0xa065a),function(_0x4d30a9,_0x5e9138){const _0x4b1b04=_0x5e64;typeof exports=='object'&&typeof module<'u'?_0x5e9138(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs')):typeof define==_0x4b1b04(0x237)&&define['amd']?define(['exports',_0x4b1b04(0x299),_0x4b1b04(0x208),_0x4b1b04(0x2c5),'rxjs'],_0x5e9138):(_0x4d30a9=typeof globalThis<'u'?globalThis:_0x4d30a9||self,_0x5e9138(_0x4d30a9[_0x4b1b04(0x297)]={},_0x4d30a9[_0x4b1b04(0x27f)],_0x4d30a9[_0x4b1b04(0x22b)],_0x4d30a9[_0x4b1b04(0x239)],_0x4d30a9[_0x4b1b04(0x1e5)]));}(this,function(_0x3c934b,_0x25c9b5,_0x5e282b,_0x18e57d,_0x5eebf4){'use strict';const _0x5a1c6c=_0x5e64;var _0x244560=Object[_0x5a1c6c(0x26f)],_0x44536c=(_0x47dbb3,_0x3811da,_0xc747ca)=>_0x3811da in _0x47dbb3?_0x244560(_0x47dbb3,_0x3811da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc747ca}):_0x47dbb3[_0x3811da]=_0xc747ca,_0x361bf3=(_0x20263d,_0x217eb5,_0x51610b)=>_0x44536c(_0x20263d,typeof _0x217eb5!=_0x5a1c6c(0x230)?_0x217eb5+'':_0x217eb5,_0x51610b);function _0x2598c2(_0x10d723,_0x181b96){const _0x1804ca=_0x5a1c6c,_0x57cf10=new _0x5e282b[(_0x1804ca(0x212))](),_0x3fa8b8=[],_0x57bc10=_0x10d723[_0x1804ca(0x281)]>0x1;let _0x3b410f=0x0,_0x447f14=0x0;for(const _0x557055 of _0x10d723)_0x3b410f+=_0x557055[_0x1804ca(0x2a8)]-_0x557055[_0x1804ca(0x1f0)]+0x1,_0x447f14+=_0x557055['endColumn']-_0x557055[_0x1804ca(0x270)]+0x1;for(const _0x50ab32 of _0x181b96)for(let _0x5e8031=_0x50ab32[_0x1804ca(0x1f0)];_0x5e8031<=_0x50ab32[_0x1804ca(0x2a8)];_0x5e8031++)for(let _0x500437=_0x50ab32['startColumn'];_0x500437<=_0x50ab32[_0x1804ca(0x283)];_0x500437++)_0x3fa8b8[_0x1804ca(0x211)]({'row':_0x5e8031,'column':_0x500437});if(_0x3fa8b8[_0x1804ca(0x281)]===_0x3b410f)_0x57bc10?_0x3fa8b8[_0x1804ca(0x257)]((_0x2324e9,_0x1273e0)=>{const _0x3b7e32=_0x1804ca,_0x19b195=_0x10d723[_0x1273e0],_0x4422f5={'startRow':_0x19b195[_0x3b7e32(0x1f0)],'startColumn':_0x19b195[_0x3b7e32(0x270)],'endRow':_0x19b195[_0x3b7e32(0x1f0)],'endColumn':_0x19b195['endColumn']};_0x57cf10['setValue'](_0x2324e9[_0x3b7e32(0x291)],_0x2324e9[_0x3b7e32(0x275)],_0x4422f5);}):_0x3fa8b8['forEach']((_0x36be32,_0x240641)=>{const _0x57d6cf=_0x1804ca,_0x213e2c=_0x10d723[0x0],_0x156369={'startRow':_0x213e2c[_0x57d6cf(0x1f0)]+_0x240641,'startColumn':_0x213e2c[_0x57d6cf(0x270)],'endRow':_0x213e2c['startRow']+_0x240641,'endColumn':_0x213e2c[_0x57d6cf(0x283)]};_0x57cf10[_0x57d6cf(0x26b)](_0x36be32[_0x57d6cf(0x291)],_0x36be32[_0x57d6cf(0x275)],_0x156369);});else{if(_0x3fa8b8[_0x1804ca(0x281)]===_0x447f14)_0x57bc10?_0x3fa8b8[_0x1804ca(0x257)]((_0x1e4671,_0x1b54b1)=>{const _0x52bb1b=_0x1804ca,_0x2188e5=_0x10d723[_0x1b54b1],_0x3db3f2={'startRow':_0x2188e5[_0x52bb1b(0x1f0)],'startColumn':_0x2188e5[_0x52bb1b(0x270)],'endRow':_0x2188e5[_0x52bb1b(0x2a8)],'endColumn':_0x2188e5['startColumn']};_0x57cf10['setValue'](_0x1e4671[_0x52bb1b(0x291)],_0x1e4671[_0x52bb1b(0x275)],_0x3db3f2);}):_0x3fa8b8[_0x1804ca(0x257)]((_0x4e72f7,_0xbad222)=>{const _0x3b862b=_0x1804ca,_0x32a167=_0x10d723[0x0],_0x1824ef={'startRow':_0x32a167[_0x3b862b(0x1f0)],'startColumn':_0x32a167[_0x3b862b(0x270)]+_0xbad222,'endRow':_0x32a167[_0x3b862b(0x2a8)],'endColumn':_0x32a167[_0x3b862b(0x270)]+_0xbad222};_0x57cf10['setValue'](_0x4e72f7[_0x3b862b(0x291)],_0x4e72f7[_0x3b862b(0x275)],_0x1824ef);});else{if(_0x3fa8b8['length']===_0x10d723[_0x1804ca(0x281)])_0x10d723['every'](_0x37d2bc=>!(_0x37d2bc[_0x1804ca(0x1f0)]!==_0x37d2bc[_0x1804ca(0x2a8)]&&_0x37d2bc['startColumn']!==_0x37d2bc[_0x1804ca(0x283)]))&&_0x3fa8b8['forEach']((_0x32a240,_0x20c54d)=>{const _0x2f216e=_0x1804ca,_0x2923e7=_0x10d723[_0x20c54d];_0x57cf10[_0x2f216e(0x26b)](_0x32a240[_0x2f216e(0x291)],_0x32a240[_0x2f216e(0x275)],_0x2923e7);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x57cf10;}const _0x3102e8=_0x5a1c6c(0x2a2),_0x4250c3={'standard':[_0x5a1c6c(0x29c),_0x5a1c6c(0x1e7)],'specialty':['rgb(49,106,246)','rgb(30,177,189)'],'distinctive':[_0x5a1c6c(0x206),_0x5a1c6c(0x21b)],'soft':['rgb(80,102,248)','rgb(244,104,249)'],'fresh':['rgb(46,187,122)','rgb(248,190,21)']},_0x38610a=['highPoint',_0x5a1c6c(0x1ef),_0x5a1c6c(0x28a),'lowPoint',_0x5a1c6c(0x1ed),'markersPoint'];var _0x2c8c3b=(_0xe9a735=>(_0xe9a735[_0x5a1c6c(0x27e)]=_0x5a1c6c(0x217),_0xe9a735[_0x5a1c6c(0x2b6)]=_0x5a1c6c(0x29d),_0xe9a735[_0x5a1c6c(0x2d2)]=_0x5a1c6c(0x25a),_0xe9a735[_0x5a1c6c(0x1f4)]=_0x5a1c6c(0x21c),_0xe9a735[_0x5a1c6c(0x1ee)]=_0x5a1c6c(0x1f3),_0xe9a735[_0x5a1c6c(0x2ae)]=_0x5a1c6c(0x1e6),_0xe9a735))(_0x2c8c3b||{}),_0x27729c=(_0x56a85d=>(_0x56a85d[_0x56a85d[_0x5a1c6c(0x214)]=0x1]=_0x5a1c6c(0x214),_0x56a85d[_0x56a85d[_0x5a1c6c(0x292)]=0x2]=_0x5a1c6c(0x292),_0x56a85d[_0x56a85d[_0x5a1c6c(0x205)]=0x3]=_0x5a1c6c(0x205),_0x56a85d[_0x56a85d[_0x5a1c6c(0x25e)]=0x4]='PIE_CHART',_0x56a85d))(_0x27729c||{}),_0x4a8c12=(_0x5c4fa2=>(_0x5c4fa2[_0x5a1c6c(0x2d1)]=_0x5a1c6c(0x26e),_0x5c4fa2[_0x5a1c6c(0x28d)]=_0x5a1c6c(0x1f5),_0x5c4fa2['CONNECT_WITH_LINE']=_0x5a1c6c(0x23b),_0x5c4fa2))(_0x4a8c12||{}),_0x5b4e63=(_0x1381da=>(_0x1381da[_0x1381da[_0x5a1c6c(0x2ba)]=0x1]=_0x5a1c6c(0x2ba),_0x1381da[_0x1381da[_0x5a1c6c(0x24e)]=0x2]=_0x5a1c6c(0x24e),_0x1381da[_0x1381da['CUSTOM_EXTREMUM']=0x3]='CUSTOM_EXTREMUM',_0x1381da))(_0x5b4e63||{}),_0x46a65c=Object[_0x5a1c6c(0x2a5)],_0x423412=(_0x308caf,_0x3ab15b,_0x2ece00,_0x547691)=>{const _0x252114=_0x5a1c6c;for(var _0x364524=_0x547691>0x1?void 0x0:_0x547691?_0x46a65c(_0x3ab15b,_0x2ece00):_0x3ab15b,_0x1b9931=_0x308caf[_0x252114(0x281)]-0x1,_0x4d6a21;_0x1b9931>=0x0;_0x1b9931--)(_0x4d6a21=_0x308caf[_0x1b9931])&&(_0x364524=_0x4d6a21(_0x364524)||_0x364524);return _0x364524;},_0x26afbb=(_0x58c38f,_0x25a2e0)=>(_0x34c42e,_0x1a669e)=>_0x25a2e0(_0x34c42e,_0x1a669e,_0x58c38f);_0x3c934b[_0x5a1c6c(0x1fb)]=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0x411605){const _0x482a44=_0x5a1c6c;super(),_0x361bf3(this,_0x482a44(0x219),new Map()),_0x361bf3(this,_0x482a44(0x294),new Map()),_0x361bf3(this,'_updateConfig$',new _0x5eebf4[(_0x482a44(0x1dc))]()),_0x361bf3(this,_0x482a44(0x213),this['_updateConfig$'][_0x482a44(0x286)]()),this[_0x482a44(0x288)]=_0x411605;}['_ensureConfigMap'](_0x95e7da,_0x581201){const _0x18fdb6=_0x5a1c6c;let _0x214cca=this['_sparklineModel']['get'](_0x95e7da);_0x214cca||(_0x214cca=new Map(),this[_0x18fdb6(0x219)][_0x18fdb6(0x1df)](_0x95e7da,_0x214cca));let _0x22a107=_0x214cca[_0x18fdb6(0x2bd)](_0x581201);return _0x22a107||(_0x22a107=new Map(),_0x214cca[_0x18fdb6(0x1df)](_0x581201,_0x22a107)),_0x22a107;}[_0x5a1c6c(0x2ad)](_0x122517,_0x533f64){const _0x58a0d8=_0x5a1c6c;let _0x2cb5bf=this[_0x58a0d8(0x294)][_0x58a0d8(0x2bd)](_0x122517);_0x2cb5bf||(_0x2cb5bf=new Map(),this[_0x58a0d8(0x294)][_0x58a0d8(0x1df)](_0x122517,_0x2cb5bf));let _0x4afcbd=_0x2cb5bf['get'](_0x533f64);return _0x4afcbd||(_0x4afcbd={'matrix':new _0x5e282b[(_0x58a0d8(0x212))](),'extra':{}},_0x2cb5bf[_0x58a0d8(0x1df)](_0x533f64,_0x4afcbd)),_0x4afcbd;}['updateSparklineExtraNum'](_0x17393d,_0x4e03eb,_0x111c5a,_0x4cd307='set'){const _0x9a7dd5=_0x5a1c6c;var _0x56eca3,_0x506f9e,_0xbc3c6c,_0x429003,_0x47c60d,_0x28172f,_0x412bfc,_0x316afd,_0x966eb7,_0x59c39e,_0x926954,_0x411eeb,_0x8e208;const _0x5eb15b=(_0x506f9e=(_0x56eca3=this[_0x9a7dd5(0x219)][_0x9a7dd5(0x2bd)](_0x17393d))==null?void 0x0:_0x56eca3[_0x9a7dd5(0x2bd)](_0x4e03eb))==null?void 0x0:_0x506f9e[_0x9a7dd5(0x2bd)](_0x111c5a);if(!_0x5eb15b)return;const _0x163774=_0x18e57d[_0x9a7dd5(0x285)](this['_univerInstanceService'],{'unitId':_0x17393d,'subUnitId':_0x4e03eb});if(!_0x163774)return;const _0x5edce6=this[_0x9a7dd5(0x2ad)](_0x17393d,_0x4e03eb),{extra:_0x5ceb00,matrix:_0x12f56d}=_0x5edce6,{worksheet:_0x307408}=_0x163774;let _0x5106d8=Number['MIN_SAFE_INTEGER'],_0x2115df=Number['MAX_SAFE_INTEGER'];const _0x18783=(_0xbc3c6c=_0x5eb15b['config']['containHiddenCells'])!=null?_0xbc3c6c:!0x1;_0x5eb15b[_0x9a7dd5(0x1ea)][_0x9a7dd5(0x263)]((_0x49b6f6,_0x492374,_0x4c47e3)=>{const _0x1d7623=_0x9a7dd5;var _0x2849ce,_0x4a0032,_0x47140e;const _0x38d9a2=_0x4c47e3;let _0x2366ea=Number[_0x1d7623(0x293)],_0x582957=Number[_0x1d7623(0x2c7)],_0x5e87d0=0x0,_0x10ffec=0x0;const _0x304ef8=[];if(!_0x5e282b[_0x1d7623(0x246)](_0x38d9a2))_0x12f56d[_0x1d7623(0x26b)](_0x49b6f6,_0x492374,{'groupId':_0x111c5a,'data':[],'max':_0x2366ea,'min':_0x582957,'highIndex':_0x5e87d0,'lowIndex':_0x10ffec,'negativeIndexes':_0x304ef8});else{const _0x18505a=[];for(let _0x180f06=_0x38d9a2[_0x1d7623(0x1f0)];_0x180f06<=_0x38d9a2[_0x1d7623(0x2a8)];_0x180f06++){for(let _0xf0fdcc=_0x38d9a2['startColumn'];_0xf0fdcc<=_0x38d9a2['endColumn'];_0xf0fdcc++){const _0x393558=_0x307408['getRowVisible'](_0x180f06),_0x4585b1=_0x307408['getColVisible'](_0xf0fdcc);if(!_0x18783&&(!_0x393558||!_0x4585b1))continue;let _0x2b8a9c=0x0;const _0x42d31b=((_0x2849ce=_0x307408['getCellRaw'](_0x180f06,_0xf0fdcc))==null?void 0x0:_0x2849ce['v'])!==void 0x0?_0x307408[_0x1d7623(0x29a)](_0x180f06,_0xf0fdcc):_0x307408[_0x1d7623(0x232)](_0x180f06,_0xf0fdcc);if(!_0x42d31b||_0x42d31b['v']===void 0x0||_0x42d31b['v']===null){const _0x3fd884=(_0x4a0032=_0x5eb15b['config']['emptyShowAs'])!=null?_0x4a0032:_0x4a8c12[_0x1d7623(0x2d1)];_0x3fd884===_0x4a8c12['ZERO_VALUE']?_0x2b8a9c=0x0:_0x3fd884===_0x4a8c12[_0x1d7623(0x2d1)]?_0x2b8a9c='u-spacing':_0x3fd884===_0x4a8c12[_0x1d7623(0x276)]&&(_0x2b8a9c='u-connect');}else{if(_0x42d31b['t']===_0x5e282b[_0x1d7623(0x231)][_0x1d7623(0x2b3)]||_0x42d31b['t']===_0x5e282b[_0x1d7623(0x231)][_0x1d7623(0x2b8)]){const _0x297be4=(_0x47140e=_0x5eb15b[_0x1d7623(0x1fc)][_0x1d7623(0x203)])!=null?_0x47140e:_0x4a8c12[_0x1d7623(0x2d1)];_0x297be4===_0x4a8c12[_0x1d7623(0x28d)]?_0x2b8a9c=0x0:_0x297be4===_0x4a8c12['SPACING']?_0x2b8a9c=_0x1d7623(0x25b):_0x297be4===_0x4a8c12[_0x1d7623(0x276)]&&(_0x2b8a9c=_0x1d7623(0x260));}else _0x42d31b['t']===_0x5e282b['CellValueType'][_0x1d7623(0x1e2)]?_0x2b8a9c=_0x42d31b['v']?0x1:0x0:_0x42d31b['t']===_0x5e282b[_0x1d7623(0x231)]['NUMBER']?_0x2b8a9c=Number(_0x42d31b['v']):_0x2b8a9c=_0x42d31b['v'];}if(_0x18505a[_0x1d7623(0x211)](_0x2b8a9c),typeof _0x2b8a9c=='number'){_0x2366ea=Math[_0x1d7623(0x2c6)](_0x2366ea,_0x2b8a9c),_0x5106d8=Math[_0x1d7623(0x2c6)](_0x5106d8,_0x2b8a9c),_0x2115df=Math[_0x1d7623(0x21a)](_0x2115df,_0x2b8a9c),_0x582957=Math[_0x1d7623(0x21a)](_0x582957,_0x2b8a9c);const _0x41c762=typeof _0x18505a[_0x5e87d0]==_0x1d7623(0x29b)?Number(_0x18505a[_0x5e87d0]):Number['MIN_SAFE_INTEGER'];_0x2b8a9c>_0x41c762&&(_0x5e87d0=_0x18505a[_0x1d7623(0x281)]-0x1);const _0x1513f7=typeof _0x18505a[_0x10ffec]==_0x1d7623(0x29b)?Number(_0x18505a[_0x10ffec]):Number['MAX_SAFE_INTEGER'];_0x2b8a9c<_0x1513f7&&(_0x10ffec=_0x18505a[_0x1d7623(0x281)]-0x1),_0x2b8a9c<0x0&&_0x304ef8['push'](_0x18505a[_0x1d7623(0x281)]-0x1);}}_0x12f56d[_0x1d7623(0x26b)](_0x49b6f6,_0x492374,{'groupId':_0x111c5a,'data':_0x18505a,'max':_0x2366ea,'min':_0x582957,'highIndex':_0x5e87d0,'lowIndex':_0x10ffec,'negativeIndexes':_0x304ef8});}}});let _0x21197b=_0x5106d8;((_0x429003=_0x5eb15b[_0x9a7dd5(0x1fc)][_0x9a7dd5(0x290)])==null?void 0x0:_0x429003['type'])===_0x5b4e63['CUSTOM_EXTREMUM']&&(_0x21197b=(_0x28172f=(_0x47c60d=_0x5eb15b[_0x9a7dd5(0x1fc)][_0x9a7dd5(0x290)])==null?void 0x0:_0x47c60d['value'])!=null?_0x28172f:_0x5106d8);let _0x361f16=_0x2115df;((_0x412bfc=_0x5eb15b[_0x9a7dd5(0x1fc)][_0x9a7dd5(0x2ce)])==null?void 0x0:_0x412bfc[_0x9a7dd5(0x1fd)])===_0x5b4e63[_0x9a7dd5(0x204)]&&(_0x361f16=(_0x966eb7=(_0x316afd=_0x5eb15b[_0x9a7dd5(0x1fc)]['extremumMin'])==null?void 0x0:_0x316afd['value'])!=null?_0x966eb7:_0x2115df);const _0x41f0bb=(_0x59c39e=_0x5eb15b[_0x9a7dd5(0x1fc)][_0x9a7dd5(0x233)])!=null?_0x59c39e:_0x2c8c3b['STANDARD'],_0xfe89d6=(_0x8e208=(_0x411eeb=_0x5eb15b[_0x9a7dd5(0x1fc)][_0x9a7dd5(0x1f2)])!=null?_0x411eeb:(_0x926954=_0x4250c3[_0x41f0bb])==null?void 0x0:_0x926954[0x0])!=null?_0x8e208:_0x4250c3[_0x9a7dd5(0x217)][0x0],_0x2beaa7=new _0x5e282b[(_0x9a7dd5(0x2a6))](_0xfe89d6),_0x5461a8=_0x2beaa7[_0x9a7dd5(0x23e)](0.2)[_0x9a7dd5(0x264)](),_0x37f5be=_0x2beaa7['setAlpha'](0.05)[_0x9a7dd5(0x264)]();_0x5ceb00[_0x111c5a]={'groupMax':_0x5106d8,'groupMin':_0x2115df,'showMax':_0x21197b,'showMin':_0x361f16,'startGradient':_0x5461a8,'endGradient':_0x37f5be},this[_0x9a7dd5(0x1e0)][_0x9a7dd5(0x225)]({'unitId':_0x17393d,'subUnitId':_0x4e03eb,'groupId':_0x111c5a,'config':_0x5eb15b,'type':_0x4cd307});}['addSparkline'](_0x2e6535,_0x31b78b,_0xc72d81,_0x24c9c6){const _0x236e84=_0x5a1c6c;this[_0x236e84(0x27b)](_0x2e6535,_0x31b78b)[_0x236e84(0x1df)](_0xc72d81,_0x24c9c6),this[_0x236e84(0x289)](_0x2e6535,_0x31b78b,_0xc72d81,_0x236e84(0x287));}[_0x5a1c6c(0x24a)](_0x2de8ea,_0x28e6c1,_0x3b0a1e,_0x539192){const _0x3d6d8a=_0x5a1c6c;var _0x5a8c29;const _0x33168a=(_0x5a8c29=this[_0x3d6d8a(0x219)][_0x3d6d8a(0x2bd)](_0x2de8ea))==null?void 0x0:_0x5a8c29[_0x3d6d8a(0x2bd)](_0x28e6c1);_0x3b0a1e[_0x3d6d8a(0x257)](_0x2fb80a=>{const _0x767aef=_0x3d6d8a;_0x33168a!=null&&_0x33168a[_0x767aef(0x2b4)](_0x2fb80a)&&(_0x33168a[_0x767aef(0x1df)](_0x2fb80a,_0x539192),this[_0x767aef(0x289)](_0x2de8ea,_0x28e6c1,_0x2fb80a));});}[_0x5a1c6c(0x20a)](_0x48bfe6,_0x710b78,_0x48cafd){const _0x4d5b5c=_0x5a1c6c;var _0x388b5b,_0x96ed5a;const _0x16bceb=this[_0x4d5b5c(0x219)]['get'](_0x48bfe6);if(_0x16bceb){const _0x409be3=_0x16bceb[_0x4d5b5c(0x2bd)](_0x710b78);if(_0x409be3){_0x409be3[_0x4d5b5c(0x273)](_0x48cafd);const _0x12d743=(_0x388b5b=this[_0x4d5b5c(0x294)][_0x4d5b5c(0x2bd)](_0x48bfe6))==null?void 0x0:_0x388b5b[_0x4d5b5c(0x2bd)](_0x710b78);(_0x96ed5a=_0x12d743==null?void 0x0:_0x12d743[_0x4d5b5c(0x265)])==null||_0x96ed5a[_0x4d5b5c(0x263)]((_0x543eb8,_0x731f25,_0x5db4db)=>{const _0x1e1125=_0x4d5b5c;(_0x5db4db==null?void 0x0:_0x5db4db['groupId'])===_0x48cafd&&(_0x12d743==null||_0x12d743[_0x1e1125(0x265)][_0x1e1125(0x256)](_0x543eb8,_0x731f25));}),this[_0x4d5b5c(0x1e0)][_0x4d5b5c(0x225)]({'unitId':_0x48bfe6,'subUnitId':_0x710b78,'groupId':_0x48cafd,'type':_0x4d5b5c(0x242)});}}}['removePartSparkline'](_0x41e459,_0x389434,_0x270f03,_0x2b79e3){const _0x684e6e=_0x5a1c6c;var _0x316afe,_0x3d4b95,_0x22417c,_0x50a4f2;const _0x11cfe6=(_0x316afe=this[_0x684e6e(0x294)][_0x684e6e(0x2bd)](_0x41e459))==null?void 0x0:_0x316afe[_0x684e6e(0x2bd)](_0x389434),_0x2d2681=_0x11cfe6==null?void 0x0:_0x11cfe6[_0x684e6e(0x265)][_0x684e6e(0x253)](_0x270f03,_0x2b79e3);if(_0x2d2681){const {groupId:_0x5eab71}=_0x2d2681,_0x111685=(_0x3d4b95=this[_0x684e6e(0x219)][_0x684e6e(0x2bd)](_0x41e459))==null?void 0x0:_0x3d4b95['get'](_0x389434);(_0x22417c=_0x111685==null?void 0x0:_0x111685[_0x684e6e(0x2bd)](_0x5eab71))==null||_0x22417c[_0x684e6e(0x1ea)][_0x684e6e(0x256)](_0x270f03,_0x2b79e3),(_0x50a4f2=_0x111685==null?void 0x0:_0x111685[_0x684e6e(0x2bd)](_0x5eab71))!=null&&_0x50a4f2[_0x684e6e(0x1ea)]['hasValue']()||_0x111685==null||_0x111685[_0x684e6e(0x273)](_0x5eab71),_0x11cfe6==null||_0x11cfe6[_0x684e6e(0x265)][_0x684e6e(0x256)](_0x270f03,_0x2b79e3),this[_0x684e6e(0x1e0)][_0x684e6e(0x225)]({'unitId':_0x41e459,'subUnitId':_0x389434,'groupId':_0x5eab71,'type':_0x684e6e(0x242)});}}[_0x5a1c6c(0x1f6)](_0x1089c1,_0x4061a0,_0x5d5829){const _0x3d9dd7=_0x5a1c6c;var _0x3f9311,_0x26bbcc,_0x221aa4,_0x38d6e2;const _0x51339a=(_0x221aa4=(_0x26bbcc=(_0x3f9311=this[_0x3d9dd7(0x219)][_0x3d9dd7(0x2bd)](_0x1089c1))==null?void 0x0:_0x3f9311[_0x3d9dd7(0x2bd)](_0x4061a0))==null?void 0x0:_0x26bbcc['get'](_0x5d5829))==null?void 0x0:_0x221aa4[_0x3d9dd7(0x1ea)],_0x52f292=(_0x38d6e2=this[_0x3d9dd7(0x294)]['get'](_0x1089c1))==null?void 0x0:_0x38d6e2[_0x3d9dd7(0x2bd)](_0x4061a0);if(_0x51339a&&_0x52f292){const {matrix:_0x52e2e5,extra:_0x3f152d}=_0x52f292;_0x51339a[_0x3d9dd7(0x263)]((_0x28e731,_0x523763,_0x233956)=>{const _0x48a051=_0x3d9dd7;_0x52e2e5[_0x48a051(0x256)](_0x28e731,_0x523763);}),delete _0x3f152d[_0x5d5829];}}[_0x5a1c6c(0x215)](_0x1ecf02,_0x1a37e1){const _0x3cef9b=_0x5a1c6c;var _0x485385;return(_0x485385=this[_0x3cef9b(0x219)][_0x3cef9b(0x2bd)](_0x1ecf02))==null?void 0x0:_0x485385[_0x3cef9b(0x2bd)](_0x1a37e1);}['getSparklineById'](_0x1ea4ec,_0x39cb0f,_0x747b9c){const _0x2f5a55=_0x5a1c6c;var _0x85132,_0x45878f;return(_0x45878f=(_0x85132=this['_sparklineModel'][_0x2f5a55(0x2bd)](_0x1ea4ec))==null?void 0x0:_0x85132[_0x2f5a55(0x2bd)](_0x39cb0f))==null?void 0x0:_0x45878f[_0x2f5a55(0x2bd)](_0x747b9c);}['getSparkline'](_0x58f83a,_0x446614,_0x3409c4,_0x2e9fd0){const _0xe7fb90=_0x5a1c6c;var _0x445a62,_0x10bcc4,_0x550ff5;return(_0x550ff5=(_0x10bcc4=(_0x445a62=this[_0xe7fb90(0x294)][_0xe7fb90(0x2bd)](_0x58f83a))==null?void 0x0:_0x445a62[_0xe7fb90(0x2bd)](_0x446614))==null?void 0x0:_0x10bcc4[_0xe7fb90(0x265)][_0xe7fb90(0x253)](_0x3409c4,_0x2e9fd0))==null?void 0x0:_0x550ff5[_0xe7fb90(0x1e9)];}[_0x5a1c6c(0x262)](_0x10b88f,_0x343952){const _0x3ce49d=_0x5a1c6c;var _0x590dff;const _0x3e44c3=this[_0x3ce49d(0x2ad)](_0x10b88f,_0x343952);_0x3e44c3[_0x3ce49d(0x265)][_0x3ce49d(0x263)]((_0xe88fa1,_0x4ebad0,_0x469bdf)=>{const _0x1d7e87=_0x3ce49d;_0x3e44c3[_0x1d7e87(0x265)]['realDeleteValue'](_0xe88fa1,_0x4ebad0);});const _0x5555c7=(_0x590dff=this[_0x3ce49d(0x219)]['get'](_0x10b88f))==null?void 0x0:_0x590dff[_0x3ce49d(0x2bd)](_0x343952);if(_0x5555c7){for(const [_0x4bc85,_0xdea563]of _0x5555c7)this[_0x3ce49d(0x289)](_0x10b88f,_0x343952,_0x4bc85);}}[_0x5a1c6c(0x1eb)](){const _0x414287=_0x5a1c6c;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x414287(0x294)]};}[_0x5a1c6c(0x1e4)](_0x24f27f){const _0x3881bc=_0x5a1c6c,_0x509e82={};if(this[_0x3881bc(0x219)][_0x3881bc(0x2b4)](_0x24f27f)){_0x509e82[_0x24f27f]={};const _0x2a17ad=this[_0x3881bc(0x219)][_0x3881bc(0x2bd)](_0x24f27f);_0x2a17ad!=null&&_0x2a17ad['size']&&Array[_0x3881bc(0x24b)](_0x2a17ad[_0x3881bc(0x28c)]())[_0x3881bc(0x257)](_0x147518=>{const _0x254999=_0x3881bc;_0x509e82[_0x24f27f][_0x147518]={};const _0x55697f=_0x2a17ad[_0x254999(0x2bd)](_0x147518);_0x55697f!=null&&_0x55697f[_0x254999(0x248)]&&Array[_0x254999(0x24b)](_0x55697f[_0x254999(0x28c)]())['forEach'](_0x454c7e=>{const _0x14b851=_0x254999,_0x2195e7=_0x55697f[_0x14b851(0x2bd)](_0x454c7e);_0x2195e7&&(_0x509e82[_0x24f27f][_0x147518][_0x454c7e]={'config':_0x2195e7[_0x14b851(0x1fc)],'sparklines':_0x2195e7[_0x14b851(0x1ea)][_0x14b851(0x202)]()});});});}return _0x509e82;}[_0x5a1c6c(0x243)](_0x3c5853){const _0x5b6ef9=_0x5a1c6c;if(!_0x3c5853)return;Object[_0x5b6ef9(0x28c)](_0x3c5853)[_0x5b6ef9(0x257)](_0x26c32b=>{const _0x416cd5=_0x5b6ef9,_0x5f38f4=_0x3c5853[_0x26c32b];_0x5f38f4&&Object[_0x416cd5(0x28c)](_0x5f38f4)[_0x416cd5(0x257)](_0x39d461=>{const _0xdcb95a=_0x416cd5,_0x504c2e=_0x5f38f4[_0x39d461];_0x504c2e&&Object[_0xdcb95a(0x28c)](_0x504c2e)[_0xdcb95a(0x257)](_0x5c1d1c=>{const _0x34ff07=_0xdcb95a,_0x202a8d=_0x504c2e[_0x5c1d1c];if(_0x202a8d){const _0x4d3ccb={'config':_0x202a8d[_0x34ff07(0x1fc)],'sparklines':new _0x5e282b[(_0x34ff07(0x212))](_0x202a8d['sparklines'])};this[_0x34ff07(0x298)](_0x26c32b,_0x39d461,_0x5c1d1c,_0x4d3ccb);}});});});}[_0x5a1c6c(0x261)](_0x299da0){const _0x29e2df=_0x5a1c6c,_0x1bd8d2=this[_0x29e2df(0x219)]['get'](_0x299da0);if(_0x1bd8d2){for(const [_0x64ae0a]of _0x1bd8d2){const _0x28c6ed=_0x1bd8d2[_0x29e2df(0x2bd)](_0x64ae0a);if(_0x28c6ed){for(const [_0x20f1ad]of _0x28c6ed)this['clearSparklineCache'](_0x299da0,_0x64ae0a,_0x20f1ad);}}this['_sparklineModel'][_0x29e2df(0x273)](_0x299da0);}}},_0x3c934b[_0x5a1c6c(0x1fb)]=_0x423412([_0x26afbb(0x0,_0x5e282b['Inject'](_0x5e282b['IUniverInstanceService']))],_0x3c934b[_0x5a1c6c(0x1fb)]);const _0x38bb47={'id':_0x5a1c6c(0x29f),'type':_0x5e282b[_0x5a1c6c(0x221)][_0x5a1c6c(0x224)],'handler':(_0x335299,_0x58cd92)=>{const _0x2eb196=_0x5a1c6c;if(!_0x58cd92)return!0x1;const {sparklineConfigMap:_0x59a015,unitId:_0x33607d,subUnitId:_0x23718f}=_0x58cd92,_0x2054ab=_0x335299[_0x2eb196(0x2bd)](_0x3c934b[_0x2eb196(0x1fb)]);return Object[_0x2eb196(0x29e)](_0x59a015)[_0x2eb196(0x257)](([_0xc4ff22,_0x458b97])=>{const _0x2802f9=_0x2eb196,_0x41d032={'config':_0x458b97[_0x2802f9(0x1fc)],'sparklines':new _0x5e282b['ObjectMatrix'](_0x458b97[_0x2802f9(0x1ea)])};_0x2054ab[_0x2802f9(0x298)](_0x33607d,_0x23718f,_0xc4ff22,_0x41d032);}),!0x0;}},_0x5574c6={'id':_0x5a1c6c(0x2cf),'type':_0x5e282b[_0x5a1c6c(0x221)][_0x5a1c6c(0x224)],'handler':(_0x48dc43,_0x1db301)=>{const _0x36f2f0=_0x5a1c6c;if(!_0x1db301)return!0x1;const {unitId:_0x563550,subUnitId:_0x206792,ranges:_0x2626fe,isSingle:_0x492c96,groupIds:_0x4e540f}=_0x1db301,_0x1e7ad4=_0x48dc43[_0x36f2f0(0x2bd)](_0x3c934b[_0x36f2f0(0x1fb)]);return _0x4e540f?(_0x4e540f[_0x36f2f0(0x257)](_0x4aab26=>{const _0x3ea2a6=_0x36f2f0;_0x1e7ad4[_0x3ea2a6(0x20a)](_0x563550,_0x206792,_0x4aab26);}),!0x0):_0x2626fe?(_0x2626fe[_0x36f2f0(0x257)](_0x5d18da=>{const _0x5e3bcc=_0x36f2f0;_0x5e282b[_0x5e3bcc(0x2c8)][_0x5e3bcc(0x2aa)](_0x5d18da,(_0x4a6557,_0x7ab3a1)=>{const _0x45b26d=_0x5e3bcc,_0x1f8648=_0x1e7ad4[_0x45b26d(0x234)](_0x563550,_0x206792,_0x4a6557,_0x7ab3a1);_0x1f8648&&(_0x492c96?_0x1e7ad4[_0x45b26d(0x249)](_0x563550,_0x206792,_0x4a6557,_0x7ab3a1):_0x1e7ad4[_0x45b26d(0x20a)](_0x563550,_0x206792,_0x1f8648));});}),!0x0):!0x1;}},_0x19ef3f={'id':'sheet.command.add-sparkline','type':_0x5e282b[_0x5a1c6c(0x221)]['COMMAND'],'handler':(_0x4757c6,_0x46f11b)=>{const _0x3717ea=_0x5a1c6c;if(!_0x46f11b)return!0x1;const {sourceRanges:_0x274fff,targetRanges:_0x2eea5b,config:_0x3e5e73}=_0x46f11b,_0x223111=_0x4757c6[_0x3717ea(0x2bd)](_0x5e282b[_0x3717ea(0x223)]),_0x1b9138='g_'+_0x5e282b['generateRandomId'](0x6),_0x1b65a8=_0x2598c2(_0x274fff,_0x2eea5b),_0x1597a9={'config':_0x3e5e73!=null?_0x3e5e73:{},'sparklines':_0x1b65a8[_0x3717ea(0x202)]()},_0x13c501=_0x4757c6['get'](_0x5e282b[_0x3717ea(0x235)]),_0x277adc=_0x4757c6[_0x3717ea(0x2bd)](_0x3c934b['SparklineDataSourceModel']),_0xb4113f=_0x18e57d[_0x3717ea(0x285)](_0x13c501);if(!_0xb4113f)return!0x1;const {unitId:_0x583795,subUnitId:_0x251f4f}=_0xb4113f,_0x7d8d6a=_0x4757c6[_0x3717ea(0x2bd)](_0x5e282b[_0x3717ea(0x284)]),_0x385f5b=[],_0x776486=[],_0x8b644f={},_0x2baf98={},_0x2260d5=new Set([_0x1b9138]);_0x1b65a8['forValue']((_0x29dd1e,_0x575404,_0x40e6ab)=>{const _0x3e477c=_0x3717ea,_0x5d117a=_0x277adc[_0x3e477c(0x234)](_0x583795,_0x251f4f,_0x29dd1e,_0x575404);if(_0x5d117a){const _0x341a29=_0x277adc['getSparklineById'](_0x583795,_0x251f4f,_0x5d117a);if(_0x341a29){_0x2260d5['add'](_0x5d117a);let _0x913cd2=_0x8b644f[_0x5d117a],_0x163130=_0x2baf98[_0x5d117a];_0x163130||(_0x163130={'config':_0x5e282b[_0x3e477c(0x2ac)][_0x3e477c(0x216)](_0x341a29['config']),'sparklines':new _0x5e282b[(_0x3e477c(0x212))](_0x341a29[_0x3e477c(0x1ea)]['clone']())},_0x2baf98[_0x5d117a]=_0x163130),_0x913cd2||(_0x913cd2={'config':_0x5e282b[_0x3e477c(0x2ac)][_0x3e477c(0x216)](_0x341a29[_0x3e477c(0x1fc)]),'sparklines':_0x341a29[_0x3e477c(0x1ea)]['clone']()},_0x8b644f[_0x5d117a]=_0x913cd2),_0x163130[_0x3e477c(0x1ea)][_0x3e477c(0x256)](_0x29dd1e,_0x575404);}}});const _0x1a7800={};return Object[_0x3717ea(0x29e)](_0x2baf98)[_0x3717ea(0x257)](([_0x56c1f3,_0x19835a])=>{const _0x483187=_0x3717ea;_0x19835a[_0x483187(0x1ea)][_0x483187(0x1ff)]()&&(_0x1a7800[_0x56c1f3]={'config':_0x19835a[_0x483187(0x1fc)],'sparklines':_0x19835a['sparklines'][_0x483187(0x28b)]()});}),_0x1a7800[_0x1b9138]=_0x1597a9,_0x385f5b[_0x3717ea(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x583795,'subUnitId':_0x251f4f,'groupIds':Array[_0x3717ea(0x24b)](_0x2260d5),'isSingle':!0x1}}),_0x2260d5[_0x3717ea(0x248)]>0x1&&(_0x776486[_0x3717ea(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x583795,'subUnitId':_0x251f4f,'groupIds':Array[_0x3717ea(0x24b)](_0x2260d5),'isSingle':!0x1}}),_0x385f5b[_0x3717ea(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x583795,'subUnitId':_0x251f4f,'sparklineConfigMap':_0x8b644f}})),_0x776486[_0x3717ea(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x583795,'subUnitId':_0x251f4f,'sparklineConfigMap':_0x1a7800}}),_0x5e282b['sequenceExecute'](_0x776486,_0x7d8d6a),_0x223111['pushUndoRedo']({'unitID':_0x583795,'undoMutations':_0x385f5b,'redoMutations':_0x776486}),!0x0;}},_0x5896d7={'id':'sheet.command.remove-sparkline','type':_0x5e282b[_0x5a1c6c(0x221)][_0x5a1c6c(0x2a0)],'handler':(_0x3794ba,_0x4423ba)=>{const _0xde1ed6=_0x5a1c6c;var _0x21764b;const {isSingle:_0x51c2cd=!0x0}=_0x4423ba||{},_0x1724cb=_0x3794ba[_0xde1ed6(0x2bd)](_0x5e282b[_0xde1ed6(0x284)]),_0x33a5c5=_0x3794ba[_0xde1ed6(0x2bd)](_0x5e282b[_0xde1ed6(0x235)]),_0x4baa57=_0x3794ba[_0xde1ed6(0x2bd)](_0x3c934b[_0xde1ed6(0x1fb)]),_0x431600=_0x3794ba[_0xde1ed6(0x2bd)](_0x5e282b[_0xde1ed6(0x223)]),_0x76e400=_0x18e57d[_0xde1ed6(0x285)](_0x33a5c5);if(!_0x76e400)return!0x1;const _0x43be01=_0x3794ba[_0xde1ed6(0x2bd)](_0x18e57d[_0xde1ed6(0x22a)]),_0x245a93=(_0x21764b=_0x4423ba==null?void 0x0:_0x4423ba[_0xde1ed6(0x200)])!=null?_0x21764b:_0x43be01[_0xde1ed6(0x259)]()[_0xde1ed6(0x1fa)](_0x5bef44=>_0x5bef44[_0xde1ed6(0x20c)]),{unitId:_0x4f2a97,subUnitId:_0x4c479e}=_0x76e400,_0x39a494=[],_0x4a13b0=[];_0x39a494[_0xde1ed6(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x4f2a97,'subUnitId':_0x4c479e,'ranges':_0x245a93,'isSingle':_0x51c2cd}});const _0x465e9b=[],_0x131278={};return _0x245a93['forEach'](_0x39c1c8=>{const _0x23c00d=_0xde1ed6;_0x5e282b['Range'][_0x23c00d(0x2aa)](_0x39c1c8,(_0x1522ad,_0x37665d)=>{const _0x1553a9=_0x23c00d,_0x3b6a0b=_0x4baa57[_0x1553a9(0x234)](_0x4f2a97,_0x4c479e,_0x1522ad,_0x37665d);if(_0x3b6a0b){const _0x57d23b=_0x4baa57[_0x1553a9(0x274)](_0x4f2a97,_0x4c479e,_0x3b6a0b);_0x57d23b&&(_0x465e9b[_0x1553a9(0x211)](_0x3b6a0b),_0x131278[_0x3b6a0b]={'config':_0x5e282b['Tools'][_0x1553a9(0x216)](_0x57d23b[_0x1553a9(0x1fc)]),'sparklines':_0x5e282b[_0x1553a9(0x2ac)]['deepClone'](_0x57d23b[_0x1553a9(0x1ea)][_0x1553a9(0x28b)]())});}});}),_0x4a13b0['push']({'id':_0x5574c6['id'],'params':{'unitId':_0x4f2a97,'subUnitId':_0x4c479e,'groupIds':_0x465e9b,'isSingle':!0x1}}),_0x4a13b0['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x4f2a97,'subUnitId':_0x4c479e,'sparklineConfigMap':_0x131278}}),_0x5e282b['sequenceExecute'](_0x39a494,_0x1724cb),_0x431600[_0xde1ed6(0x24f)]({'unitID':_0x4f2a97,'undoMutations':_0x4a13b0,'redoMutations':_0x39a494}),!0x0;}},_0x54e9ff={'id':_0x5a1c6c(0x20e),'type':_0x5e282b[_0x5a1c6c(0x221)][_0x5a1c6c(0x224)],'handler':(_0x38e53e,_0x34d6bb)=>{const _0x59b07a=_0x5a1c6c;if(!_0x34d6bb)return!0x1;const {unitId:_0x36e54b,subUnitId:_0x500ccd,groupIds:_0x23dda6,config:_0x198ef9}=_0x34d6bb,_0x3dc4e2=_0x38e53e['get'](_0x3c934b[_0x59b07a(0x1fb)]);return _0x23dda6[_0x59b07a(0x257)](_0x37c12a=>{const _0x2550d8=_0x59b07a,_0x4d2275=_0x3dc4e2[_0x2550d8(0x274)](_0x36e54b,_0x500ccd,_0x37c12a);if(_0x4d2275){const _0x555c55={'config':Object['assign']({},_0x4d2275['config'],_0x198ef9[_0x2550d8(0x1fc)]),'sparklines':new _0x5e282b[(_0x2550d8(0x212))](_0x4d2275[_0x2550d8(0x1ea)][_0x2550d8(0x28b)]())};_0x3dc4e2[_0x2550d8(0x24a)](_0x36e54b,_0x500ccd,[_0x37c12a],_0x555c55);}}),!0x0;}},_0x49ef56={'id':'sheet.command.set-sparkline','type':_0x5e282b[_0x5a1c6c(0x221)][_0x5a1c6c(0x2a0)],'handler':(_0x588867,_0x25bfd5)=>{const _0x1e8374=_0x5a1c6c;var _0x4ac6df,_0x55ce21,_0x439ebf,_0x3c6c13;if(!_0x25bfd5)return!0x1;const _0x3a9b6f=_0x588867[_0x1e8374(0x2bd)](_0x5e282b[_0x1e8374(0x284)]),_0x32226a=_0x588867[_0x1e8374(0x2bd)](_0x18e57d[_0x1e8374(0x22a)]),_0x3e6611=_0x588867[_0x1e8374(0x2bd)](_0x3c934b['SparklineDataSourceModel']),_0x39af35=_0x588867[_0x1e8374(0x2bd)](_0x5e282b['IUniverInstanceService']),_0x224e8a=_0x588867['get'](_0x5e282b[_0x1e8374(0x223)]),_0x3857fd=_0x18e57d['getSheetCommandTarget'](_0x39af35);if(!_0x3857fd)return!0x1;const {unitId:_0x5b0cf4,subUnitId:_0x2c3cdd}=_0x3857fd,_0x109c4a=(_0x4ac6df=_0x25bfd5==null?void 0x0:_0x25bfd5['ranges'])!=null?_0x4ac6df:_0x32226a[_0x1e8374(0x259)]()[_0x1e8374(0x1fa)](_0x55bf00=>_0x55bf00[_0x1e8374(0x20c)]),_0x33b266=(_0x55ce21=_0x3e6611['getSparklineCache']()[_0x1e8374(0x27c)]['get'](_0x5b0cf4))==null?void 0x0:_0x55ce21['get'](_0x2c3cdd),{isChangeDataSource:_0x23809d,config:_0x1fbce0,combine:_0xb5da52,unCombine:_0x1a8e26}=_0x25bfd5;if(_0xb5da52){const _0xbc3fb9=[],_0x178be9=[];_0xbc3fb9[_0x1e8374(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'ranges':_0x109c4a,'isSingle':!0x0}});const _0x2eb5e0='g_'+_0x5e282b[_0x1e8374(0x1ec)](0x6),_0x3d608d=new _0x5e282b[(_0x1e8374(0x212))](),_0x87f124=(_0x439ebf=_0x3e6611[_0x1e8374(0x1eb)]()['sparklineModel'][_0x1e8374(0x2bd)](_0x5b0cf4))==null?void 0x0:_0x439ebf[_0x1e8374(0x2bd)](_0x2c3cdd),_0x136faa=new Set([_0x2eb5e0]),_0x26b5a6={};return _0x109c4a[_0x1e8374(0x257)](_0x1def08=>{const _0x265df4=_0x1e8374;var _0x1de3c1,_0x14e729;const {startRow:_0x26338a,endRow:_0x48a33b,startColumn:_0x5a0359,endColumn:_0x31fcb6}=_0x1def08;for(let _0x3de122=_0x26338a;_0x3de122<=_0x48a33b;_0x3de122++)for(let _0x4f39b0=_0x5a0359;_0x4f39b0<=_0x31fcb6;_0x4f39b0++){const _0x3bd471=(_0x1de3c1=_0x33b266==null?void 0x0:_0x33b266['matrix'][_0x265df4(0x253)](_0x3de122,_0x4f39b0))==null?void 0x0:_0x1de3c1[_0x265df4(0x1e9)];if(_0x3bd471){_0x136faa[_0x265df4(0x287)](_0x3bd471);const _0x3e7b06=_0x3e6611[_0x265df4(0x274)](_0x5b0cf4,_0x2c3cdd,_0x3bd471);_0x3e7b06&&(_0x26b5a6[_0x3bd471]={'config':_0x5e282b[_0x265df4(0x2ac)]['deepClone'](_0x3e7b06[_0x265df4(0x1fc)]),'sparklines':_0x5e282b['Tools'][_0x265df4(0x216)](_0x3e7b06['sparklines'][_0x265df4(0x28b)]())});const _0x15aaae=(_0x14e729=_0x87f124==null?void 0x0:_0x87f124[_0x265df4(0x2bd)](_0x3bd471))==null?void 0x0:_0x14e729[_0x265df4(0x1ea)][_0x265df4(0x253)](_0x3de122,_0x4f39b0);_0x15aaae&&_0x3d608d[_0x265df4(0x26b)](_0x3de122,_0x4f39b0,_0x15aaae);}}}),_0xbc3fb9[_0x1e8374(0x211)]({'id':_0x38bb47['id'],'params':{'sparklineConfigMap':{[_0x2eb5e0]:{'config':_0x5e282b[_0x1e8374(0x2ac)]['deepClone'](_0x1fbce0['config']),'sparklines':_0x3d608d[_0x1e8374(0x202)]()}},'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd}}),_0x178be9[_0x1e8374(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'isSingle':!0x1,'groupIds':Array['from'](_0x136faa)}}),_0x178be9[_0x1e8374(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':_0x26b5a6}}),_0x5e282b[_0x1e8374(0x27a)](_0xbc3fb9,_0x3a9b6f),_0x224e8a['pushUndoRedo']({'unitID':_0x5b0cf4,'undoMutations':_0x178be9,'redoMutations':_0xbc3fb9}),!0x0;}else{if(_0x1a8e26){const _0x233daf=[],_0x184f39=[];_0x233daf[_0x1e8374(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'ranges':_0x109c4a,'isSingle':!0x0}});const _0x6d8dc6=(_0x3c6c13=_0x3e6611[_0x1e8374(0x1eb)]()[_0x1e8374(0x22d)][_0x1e8374(0x2bd)](_0x5b0cf4))==null?void 0x0:_0x3c6c13[_0x1e8374(0x2bd)](_0x2c3cdd),_0x41badc={},_0xc6e19d=new Set(),_0x22a3d1={};return _0x109c4a[_0x1e8374(0x257)](_0x48398b=>{const _0x33b84e=_0x1e8374;var _0x47449d,_0x410860;const {startRow:_0x527ed1,endRow:_0xbf1bd6,startColumn:_0xe833b4,endColumn:_0x5b883a}=_0x48398b;for(let _0x1220d3=_0x527ed1;_0x1220d3<=_0xbf1bd6;_0x1220d3++)for(let _0x414f12=_0xe833b4;_0x414f12<=_0x5b883a;_0x414f12++){const _0x571d18=(_0x47449d=_0x33b266==null?void 0x0:_0x33b266[_0x33b84e(0x265)][_0x33b84e(0x253)](_0x1220d3,_0x414f12))==null?void 0x0:_0x47449d[_0x33b84e(0x1e9)];if(_0x571d18){const _0x4fb8d4=new _0x5e282b[(_0x33b84e(0x212))](),_0x2b5722='g_'+_0x5e282b[_0x33b84e(0x1ec)](0x6);_0xc6e19d[_0x33b84e(0x287)](_0x571d18),_0xc6e19d[_0x33b84e(0x287)](_0x2b5722);const _0x1fa01e=_0x3e6611[_0x33b84e(0x274)](_0x5b0cf4,_0x2c3cdd,_0x571d18);_0x1fa01e&&(_0x22a3d1[_0x571d18]={'config':_0x5e282b['Tools'][_0x33b84e(0x216)](_0x1fa01e[_0x33b84e(0x1fc)]),'sparklines':_0x5e282b[_0x33b84e(0x2ac)][_0x33b84e(0x216)](_0x1fa01e[_0x33b84e(0x1ea)][_0x33b84e(0x28b)]())});const _0x886ce5=(_0x410860=_0x6d8dc6==null?void 0x0:_0x6d8dc6[_0x33b84e(0x2bd)](_0x571d18))==null?void 0x0:_0x410860[_0x33b84e(0x1ea)]['getValue'](_0x1220d3,_0x414f12);_0x886ce5&&_0x4fb8d4[_0x33b84e(0x26b)](_0x1220d3,_0x414f12,_0x886ce5),_0x41badc[_0x2b5722]={'sparklines':_0x4fb8d4[_0x33b84e(0x202)](),'config':_0x5e282b[_0x33b84e(0x2ac)][_0x33b84e(0x216)](_0x1fbce0['config'])};}}}),_0x233daf[_0x1e8374(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':_0x41badc}}),_0x184f39[_0x1e8374(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'isSingle':!0x1,'groupIds':Array['from'](_0xc6e19d)}}),_0x184f39['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':_0x22a3d1}}),_0x5e282b['sequenceExecute'](_0x233daf,_0x3a9b6f),_0x224e8a[_0x1e8374(0x24f)]({'unitID':_0x5b0cf4,'undoMutations':_0x184f39,'redoMutations':_0x233daf}),!0x0;}}if(_0x23809d){const _0x8e9cc6=_0x25bfd5['changeDataSourceInfo'];if(!_0x8e9cc6)return!0x1;const {groupId:_0x443bf0,sourceRanges:_0x489a28,targetRanges:_0x3e8d04,resetType:_0x42434b,primary:_0x3ee46f}=_0x8e9cc6,_0x1b4d11=[],_0x2f1a83=[];_0x1b4d11['push']({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'ranges':_0x109c4a,'isSingle':!0x1,'groupIds':[_0x443bf0]}}),_0x2f1a83[_0x1e8374(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'ranges':_0x109c4a,'isSingle':!0x1,'groupIds':[_0x443bf0]}});let _0x3f419a;_0x42434b===_0x1e8374(0x209)?(_0x3f419a=new _0x5e282b[(_0x1e8374(0x212))](_0x1fbce0[_0x1e8374(0x1ea)]['clone']()),_0x3f419a[_0x1e8374(0x256)](_0x3ee46f[_0x1e8374(0x1e8)],_0x3ee46f[_0x1e8374(0x26d)]),_0x3f419a[_0x1e8374(0x26b)](_0x3e8d04[0x0][_0x1e8374(0x1f0)],_0x3e8d04[0x0]['startColumn'],_0x489a28[0x0])):_0x3f419a=_0x2598c2(_0x489a28,_0x3e8d04);const _0x313549={'config':_0x5e282b['Tools'][_0x1e8374(0x216)](_0x1fbce0[_0x1e8374(0x1fc)]),'sparklines':_0x3f419a[_0x1e8374(0x202)]()},_0x46c38c={'config':_0x5e282b[_0x1e8374(0x2ac)][_0x1e8374(0x216)](_0x1fbce0['config']),'sparklines':_0x5e282b[_0x1e8374(0x2ac)]['deepClone'](_0x1fbce0[_0x1e8374(0x1ea)]['clone']())};_0x1b4d11['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':{[_0x443bf0]:_0x313549}}}),_0x2f1a83['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':{[_0x443bf0]:_0x46c38c}}}),_0x5e282b[_0x1e8374(0x27a)](_0x1b4d11,_0x3a9b6f),_0x224e8a[_0x1e8374(0x24f)]({'unitID':_0x5b0cf4,'undoMutations':_0x2f1a83,'redoMutations':_0x1b4d11});}else{const _0x32a493=[],_0x2d706c=[],_0x3a9b46=new Set(),_0x21928c={};_0x109c4a[_0x1e8374(0x257)](_0x438c6c=>{const _0x5bd726=_0x1e8374;var _0x3da0b7;const {startRow:_0x18c7b3,endRow:_0x124a9b,startColumn:_0x7fdb64,endColumn:_0x3be62e}=_0x438c6c;for(let _0x99f467=_0x18c7b3;_0x99f467<=_0x124a9b;_0x99f467++)for(let _0x3f5b57=_0x7fdb64;_0x3f5b57<=_0x3be62e;_0x3f5b57++){const _0x259aa2=(_0x3da0b7=_0x33b266==null?void 0x0:_0x33b266[_0x5bd726(0x265)][_0x5bd726(0x253)](_0x99f467,_0x3f5b57))==null?void 0x0:_0x3da0b7[_0x5bd726(0x1e9)];if(_0x259aa2){_0x3a9b46['add'](_0x259aa2);const _0x343129=_0x3e6611[_0x5bd726(0x274)](_0x5b0cf4,_0x2c3cdd,_0x259aa2);_0x343129&&(_0x21928c[_0x259aa2]={'config':_0x5e282b['Tools'][_0x5bd726(0x216)](_0x343129[_0x5bd726(0x1fc)]),'sparklines':_0x5e282b[_0x5bd726(0x2ac)][_0x5bd726(0x216)](_0x343129['sparklines'][_0x5bd726(0x28b)]())});}}}),_0x2d706c['push']({'id':_0x54e9ff['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'groupIds':Array[_0x1e8374(0x24b)](_0x3a9b46),'config':{'config':_0x5e282b[_0x1e8374(0x2ac)][_0x1e8374(0x216)](_0x1fbce0[_0x1e8374(0x1fc)]),'sparklines':_0x1fbce0[_0x1e8374(0x1ea)]['getMatrix']()}}}),_0x32a493['push']({'id':_0x5574c6['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'isSingle':!0x1,'groupIds':Array[_0x1e8374(0x24b)](_0x3a9b46)}}),_0x32a493[_0x1e8374(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x5b0cf4,'subUnitId':_0x2c3cdd,'sparklineConfigMap':_0x21928c}}),_0x5e282b[_0x1e8374(0x27a)](_0x2d706c,_0x3a9b6f),_0x224e8a[_0x1e8374(0x24f)]({'unitID':_0x5b0cf4,'undoMutations':_0x32a493,'redoMutations':_0x2d706c});}return!0x0;}};var _0x52a7cf=Object[_0x5a1c6c(0x2a5)],_0x43ef9d=(_0x17e554,_0xc5f2bf,_0x1cd40a,_0x4fc7a9)=>{const _0x57de4a=_0x5a1c6c;for(var _0x17784a=_0x4fc7a9>0x1?void 0x0:_0x4fc7a9?_0x52a7cf(_0xc5f2bf,_0x1cd40a):_0xc5f2bf,_0x3f352c=_0x17e554[_0x57de4a(0x281)]-0x1,_0x51d1f1;_0x3f352c>=0x0;_0x3f352c--)(_0x51d1f1=_0x17e554[_0x3f352c])&&(_0x17784a=_0x51d1f1(_0x17784a)||_0x17784a);return _0x17784a;},_0xa5e331=(_0x1ce894,_0x465cbb)=>(_0x2102a9,_0x45309c)=>_0x465cbb(_0x2102a9,_0x45309c,_0x1ce894);let _0x2d8980=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0x4c03a8,_0x4d4f2d,_0x34165c,_0x39b383){const _0x385aa9=_0x5a1c6c;super(),this[_0x385aa9(0x28f)]=_0x4c03a8,this['_sheetInterceptorService']=_0x4d4f2d,this[_0x385aa9(0x288)]=_0x34165c,this[_0x385aa9(0x240)]=_0x39b383,this[_0x385aa9(0x2b0)]();}[_0x5a1c6c(0x2b0)](){const _0xc0f7cb=_0x5a1c6c;this[_0xc0f7cb(0x244)](this[_0xc0f7cb(0x22e)]['interceptCommand']({'getMutations':_0x118e67=>{const _0x2111dc=_0xc0f7cb,_0x3fef99=[],_0x193f60=[];if(_0x118e67['id']===_0x18e57d[_0x2111dc(0x210)]['id']){const _0x16766e=_0x18e57d[_0x2111dc(0x285)](this[_0x2111dc(0x288)]);if(!_0x16766e)return{'redos':_0x3fef99,'undos':_0x193f60};const {unitId:_0x3b03ee,subUnitId:_0x1b3524,worksheet:_0x34644e}=_0x16766e,_0x1b95c4=this[_0x2111dc(0x240)][_0x2111dc(0x259)]()['map'](_0x4cb377=>_0x4cb377['range']),_0x459bc7=new Set(),_0x4794af={},_0x319c4e={};_0x1b95c4[_0x2111dc(0x257)](_0x52523f=>{const _0x5b75ae=_0x2111dc;_0x5e282b[_0x5b75ae(0x2c8)][_0x5b75ae(0x2aa)](_0x52523f,(_0x38bbb0,_0x4f6179)=>{const _0x43df11=_0x5b75ae,_0x260748=this[_0x43df11(0x28f)][_0x43df11(0x234)](_0x3b03ee,_0x1b3524,_0x38bbb0,_0x4f6179);if(_0x260748&&!_0x459bc7[_0x43df11(0x2b4)](_0x260748)){const _0x3158a1=this['_sparklineDataSourceModel'][_0x43df11(0x274)](_0x3b03ee,_0x1b3524,_0x260748);_0x3158a1&&(_0x459bc7[_0x43df11(0x287)](_0x260748),_0x4794af[_0x260748]={'config':_0x5e282b[_0x43df11(0x2ac)][_0x43df11(0x216)](_0x3158a1[_0x43df11(0x1fc)]),'sparklines':_0x5e282b[_0x43df11(0x2ac)]['deepClone'](_0x3158a1[_0x43df11(0x1ea)][_0x43df11(0x28b)]())},_0x319c4e[_0x260748]={'config':_0x5e282b[_0x43df11(0x2ac)][_0x43df11(0x216)](_0x3158a1[_0x43df11(0x1fc)]),'sparklines':_0x5e282b['Tools'][_0x43df11(0x216)](_0x3158a1[_0x43df11(0x1ea)][_0x43df11(0x28b)]())});}});}),Object[_0x2111dc(0x2b5)](_0x319c4e)['forEach'](_0x55315e=>{const _0x497a2b=_0x2111dc,_0x4440aa=_0x55315e[_0x497a2b(0x1ea)];new _0x5e282b[(_0x497a2b(0x212))](_0x4440aa)[_0x497a2b(0x263)]((_0x2bf3f6,_0x1ee275,_0x528d21)=>{const _0x35258f=_0x497a2b;_0x1b95c4['some'](_0x5c3fa8=>_0x5e282b[_0x35258f(0x1fe)][_0x35258f(0x21e)](_0x5c3fa8,_0x5e282b[_0x35258f(0x280)](_0x2bf3f6,_0x1ee275)))&&delete _0x4440aa[_0x2bf3f6][_0x1ee275];});}),_0x3fef99[_0x2111dc(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x3b03ee,'subUnitId':_0x1b3524,'groupIds':Array['from'](_0x459bc7),'isSingle':!0x1}}),_0x3fef99['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x3b03ee,'subUnitId':_0x1b3524,'sparklineConfigMap':_0x319c4e}}),_0x193f60[_0x2111dc(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x3b03ee,'subUnitId':_0x1b3524,'groupIds':Array[_0x2111dc(0x24b)](_0x459bc7),'isSingle':!0x1}}),_0x193f60[_0x2111dc(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x3b03ee,'subUnitId':_0x1b3524,'sparklineConfigMap':_0x4794af}});}return{'redos':_0x3fef99,'undos':_0x193f60};}}));}};_0x2d8980=_0x43ef9d([_0xa5e331(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)])),_0xa5e331(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d['SheetInterceptorService'])),_0xa5e331(0x2,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x235)])),_0xa5e331(0x3,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d[_0x5a1c6c(0x22a)]))],_0x2d8980);var _0x44af7f=Object[_0x5a1c6c(0x2a5)],_0x36799a=(_0x49000d,_0x960df2,_0x40862c,_0x2d1e3a)=>{const _0x3a79e3=_0x5a1c6c;for(var _0x2407fb=_0x2d1e3a>0x1?void 0x0:_0x2d1e3a?_0x44af7f(_0x960df2,_0x40862c):_0x960df2,_0x3f49e4=_0x49000d[_0x3a79e3(0x281)]-0x1,_0x43a045;_0x3f49e4>=0x0;_0x3f49e4--)(_0x43a045=_0x49000d[_0x3f49e4])&&(_0x2407fb=_0x43a045(_0x2407fb)||_0x2407fb);return _0x2407fb;},_0x1f334c=(_0x5e6a9b,_0x41ea9d)=>(_0x53c6c5,_0x4707d2)=>_0x41ea9d(_0x53c6c5,_0x4707d2,_0x5e6a9b);let _0x3c9304=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0x10c0de,_0x1ab0d8){const _0x2dd515=_0x5a1c6c;super(),this[_0x2dd515(0x22e)]=_0x10c0de,this[_0x2dd515(0x28f)]=_0x1ab0d8,this[_0x2dd515(0x255)]();}[_0x5a1c6c(0x255)](){const _0x2e3d14=_0x5a1c6c;this['disposeWithMe'](this[_0x2e3d14(0x22e)][_0x2e3d14(0x266)]({'getMutations':_0x2d5f68=>{const _0x2c9dba=_0x2e3d14,_0x45309f=[],_0x1552f1=[];if(_0x2d5f68['id']===_0x18e57d[_0x2c9dba(0x2c2)]['id']){const _0x44b1ce=_0x2d5f68[_0x2c9dba(0x226)];if(!_0x44b1ce)return{'redos':_0x45309f,'undos':_0x1552f1};const {unitId:_0x4dda7f,subUnitId:_0x37346a,targetSubUnitId:_0x8baee1}=_0x44b1ce;if(!_0x4dda7f||!_0x37346a||!_0x8baee1)return{'redos':_0x45309f,'undos':_0x1552f1};const _0x345326=new Set(),_0x1dd390={},_0xb15aeb=this[_0x2c9dba(0x28f)]['getSubUnitSparkline'](_0x4dda7f,_0x37346a);if(!_0xb15aeb)return{'redos':_0x45309f,'undos':_0x1552f1};for(const [_0x401a9e,_0x27070c]of _0xb15aeb){const _0x259045='g_'+_0x5e282b['generateRandomId'](0x6);_0x345326['add'](_0x401a9e),_0x1dd390[_0x259045]={'config':_0x5e282b[_0x2c9dba(0x2ac)][_0x2c9dba(0x216)](_0x27070c[_0x2c9dba(0x1fc)]),'sparklines':_0x5e282b['Tools']['deepClone'](_0x27070c[_0x2c9dba(0x1ea)][_0x2c9dba(0x28b)]())};}_0x345326['size']&&(_0x1552f1[_0x2c9dba(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x4dda7f,'subUnitId':_0x8baee1,'groupIds':Array[_0x2c9dba(0x24b)](_0x345326),'isSingle':!0x1}}),_0x45309f[_0x2c9dba(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x4dda7f,'subUnitId':_0x8baee1,'sparklineConfigMap':_0x1dd390}}));}return{'redos':_0x45309f,'undos':_0x1552f1};}}));}};_0x3c9304=_0x36799a([_0x1f334c(0x0,_0x5e282b['Inject'](_0x18e57d[_0x5a1c6c(0x1de)])),_0x1f334c(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)]))],_0x3c9304);var _0x45876e=Object[_0x5a1c6c(0x2a5)],_0x4038b0=(_0x3d7958,_0x581183,_0x43ad76,_0x5acddf)=>{for(var _0x530502=_0x5acddf>0x1?void 0x0:_0x5acddf?_0x45876e(_0x581183,_0x43ad76):_0x581183,_0x4d0339=_0x3d7958['length']-0x1,_0x3a2f5a;_0x4d0339>=0x0;_0x4d0339--)(_0x3a2f5a=_0x3d7958[_0x4d0339])&&(_0x530502=_0x3a2f5a(_0x530502)||_0x530502);return _0x530502;},_0x4e37b2=(_0x33c2fd,_0x2d42ac)=>(_0x5e876d,_0x250eba)=>_0x2d42ac(_0x5e876d,_0x250eba,_0x33c2fd);let _0x11984a=class extends _0x5e282b['Disposable']{constructor(_0x14f5e2,_0x1fb540,_0x127380){const _0x1bcf24=_0x5a1c6c;super(),this[_0x1bcf24(0x296)]=_0x14f5e2,this[_0x1bcf24(0x28f)]=_0x1fb540,this[_0x1bcf24(0x2ab)]=_0x127380,this[_0x1bcf24(0x2cb)](),this[_0x1bcf24(0x251)]();}['_initDataChangeListener'](){const _0x111783=_0x5a1c6c;this[_0x111783(0x244)](this['_commandService']['onCommandExecuted'](_0x59fe5e=>{const _0x3271dc=_0x111783;if(_0x59fe5e['id']===_0x18e57d[_0x3271dc(0x2ca)]['id']){const _0x50cff5=_0x59fe5e[_0x3271dc(0x226)],{cellValue:_0x3dc174,unitId:_0x221bb2,subUnitId:_0x279184}=_0x50cff5,_0xee0088=new _0x5e282b['ObjectMatrix'](_0x3dc174),_0x3cce68=new Set(),_0x662024=this[_0x3271dc(0x28f)][_0x3271dc(0x215)](_0x221bb2,_0x279184);if(!_0x662024)return;const _0x5d1d96=Array[_0x3271dc(0x24b)](_0x662024);_0xee0088[_0x3271dc(0x263)]((_0x2b0fb8,_0x51464d,_0x3d98dd)=>{const _0x21f7c8=_0x3271dc,_0x399cf6=_0x5e282b['cellToRange'](_0x2b0fb8,_0x51464d);for(let _0x4be480=0x0;_0x4be480<_0x5d1d96[_0x21f7c8(0x281)];_0x4be480++){const [_0x251215,_0x5efd92]=_0x5d1d96[_0x4be480],_0x5c89d2=_0x3cce68[_0x21f7c8(0x2b4)](_0x251215);_0x5c89d2||_0x5efd92[_0x21f7c8(0x1ea)][_0x21f7c8(0x263)]((_0x101ac2,_0x1a93b7,_0x4fa158)=>{const _0x53ed84=_0x21f7c8,_0xdc5cab=_0x4fa158;if(_0xdc5cab&&!_0x5c89d2&&_0x5e282b[_0x53ed84(0x1fe)][_0x53ed84(0x21e)](_0x399cf6,_0xdc5cab))return _0x3cce68[_0x53ed84(0x287)](_0x251215),!0x0;});}}),_0x3cce68[_0x3271dc(0x257)](_0x4f4d18=>{const _0x4547db=_0x3271dc;this['_sparklineDataSourceModel'][_0x4547db(0x1f6)](_0x221bb2,_0x279184,_0x4f4d18),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x221bb2,_0x279184,_0x4f4d18);});}else{if(_0x59fe5e['id']===_0x18e57d['ReorderRangeMutation']['id']){const _0x62bc40=_0x59fe5e[_0x3271dc(0x226)],{range:_0x38e6af,unitId:_0x4c2054,subUnitId:_0xdc8a7d}=_0x62bc40,_0x40f994=new Set(),_0x44c1fb=this[_0x3271dc(0x28f)][_0x3271dc(0x215)](_0x4c2054,_0xdc8a7d);if(!_0x44c1fb)return;const _0x3b371e=Array[_0x3271dc(0x24b)](_0x44c1fb);for(let _0x173bce=0x0;_0x173bce<_0x3b371e[_0x3271dc(0x281)];_0x173bce++){const [_0x3d2052,_0x5f1632]=_0x3b371e[_0x173bce],_0x759654=_0x40f994[_0x3271dc(0x2b4)](_0x3d2052);_0x759654||_0x5f1632['sparklines'][_0x3271dc(0x263)]((_0x11ce9e,_0x5eba7f,_0x5c2d15)=>{const _0x5c576c=_0x3271dc,_0x4697eb=_0x5c2d15;if(_0x4697eb&&!_0x759654&&_0x5e282b['Rectangle'][_0x5c576c(0x21e)](_0x38e6af,_0x4697eb))return _0x40f994[_0x5c576c(0x287)](_0x3d2052),!0x0;});}_0x40f994[_0x3271dc(0x257)](_0x420fcf=>{const _0x4887e9=_0x3271dc;this[_0x4887e9(0x28f)][_0x4887e9(0x1f6)](_0x4c2054,_0xdc8a7d,_0x420fcf),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x4c2054,_0xdc8a7d,_0x420fcf);});}}}));}[_0x5a1c6c(0x251)](){const _0x3795e9=_0x5a1c6c;this[_0x3795e9(0x244)](this[_0x3795e9(0x2ab)][_0x3795e9(0x229)]['subscribe'](_0x3f4ef6=>{const _0x5a2ff9=_0x3795e9,{unitId:_0x45c6a4,subUnitId:_0x1f6064,ranges:_0xf0ca51}=_0x3f4ef6,_0x2853ea=this['_sparklineDataSourceModel'][_0x5a2ff9(0x215)](_0x45c6a4,_0x1f6064);if(!_0x2853ea)return;const _0x13191b=Array['from'](_0x2853ea),_0x1ab93d=new Set();for(let _0xd7e400=0x0;_0xd7e400<_0x13191b[_0x5a2ff9(0x281)];_0xd7e400++){const [_0x20adc4,_0x234ec9]=_0x13191b[_0xd7e400],_0x48b7fc=_0x1ab93d[_0x5a2ff9(0x2b4)](_0x20adc4);_0x48b7fc||_0x234ec9[_0x5a2ff9(0x1ea)][_0x5a2ff9(0x263)]((_0x220462,_0x1e309d,_0x381b78)=>{const _0x4eeb58=_0x5a2ff9,_0x3cf824=_0x381b78;if(_0x3cf824&&!_0x48b7fc){for(const _0x5ab561 of _0xf0ca51)if(_0x5e282b[_0x4eeb58(0x1fe)][_0x4eeb58(0x21e)](_0x5ab561,_0x3cf824)){_0x1ab93d[_0x4eeb58(0x287)](_0x20adc4);break;}}});}_0x1ab93d['forEach'](_0x1785c9=>{const _0x2e60b0=_0x5a2ff9;this[_0x2e60b0(0x28f)][_0x2e60b0(0x1f6)](_0x45c6a4,_0x1f6064,_0x1785c9),this['_sparklineDataSourceModel'][_0x2e60b0(0x289)](_0x45c6a4,_0x1f6064,_0x1785c9);});}));}};_0x11984a=_0x4038b0([_0x4e37b2(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x284)])),_0x4e37b2(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)])),_0x4e37b2(0x2,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d[_0x5a1c6c(0x1e3)]))],_0x11984a);var _0x1e4f93=Object[_0x5a1c6c(0x2a5)],_0x275d13=(_0x46d016,_0x5e9033,_0x2cbd49,_0x34c5fa)=>{const _0x38fec4=_0x5a1c6c;for(var _0x5e8b6d=_0x34c5fa>0x1?void 0x0:_0x34c5fa?_0x1e4f93(_0x5e9033,_0x2cbd49):_0x5e9033,_0x43f2ca=_0x46d016[_0x38fec4(0x281)]-0x1,_0x57da11;_0x43f2ca>=0x0;_0x43f2ca--)(_0x57da11=_0x46d016[_0x43f2ca])&&(_0x5e8b6d=_0x57da11(_0x5e8b6d)||_0x5e8b6d);return _0x5e8b6d;},_0x3be3f4=(_0x4dc1d3,_0x32f169)=>(_0x5a50f9,_0x17d6bc)=>_0x32f169(_0x5a50f9,_0x17d6bc,_0x4dc1d3);let _0x8804a0=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0x17a95d,_0x224542){const _0x33c259=_0x5a1c6c;super(),this[_0x33c259(0x296)]=_0x17a95d,this[_0x33c259(0x28f)]=_0x224542,this[_0x33c259(0x1dd)]();}[_0x5a1c6c(0x1dd)](){const _0x11232c=_0x5a1c6c;this[_0x11232c(0x296)][_0x11232c(0x258)](_0x28519b=>{const _0x4d824a=_0x11232c;if(_0x28519b['id']===_0x18e57d[_0x4d824a(0x278)]['id']||_0x28519b['id']===_0x18e57d[_0x4d824a(0x218)]['id']||_0x28519b['id']===_0x18e57d[_0x4d824a(0x23d)]['id']||_0x28519b['id']===_0x18e57d[_0x4d824a(0x2c3)]['id']){const _0x5513ab=_0x28519b[_0x4d824a(0x226)],{ranges:_0x539919,unitId:_0x5b02b8,subUnitId:_0x1956a3}=_0x5513ab,_0x501c36=new Set(),_0x23411e=this[_0x4d824a(0x28f)][_0x4d824a(0x215)](_0x5b02b8,_0x1956a3);if(!_0x23411e)return;const _0x200629=Array[_0x4d824a(0x24b)](_0x23411e);_0x539919[_0x4d824a(0x257)](_0x133c49=>{const _0x10c0a0=_0x4d824a;_0x5e282b[_0x10c0a0(0x2c8)][_0x10c0a0(0x2aa)](_0x133c49,(_0xafc357,_0x549457)=>{const _0x1e3696=_0x10c0a0,_0x21d1dd=_0x5e282b[_0x1e3696(0x280)](_0xafc357,_0x549457);for(let _0x1528bb=0x0;_0x1528bb<_0x200629['length'];_0x1528bb++){const [_0x3a30dc,_0x18ce90]=_0x200629[_0x1528bb],_0xae7099=_0x501c36['has'](_0x3a30dc);_0xae7099||_0x18ce90[_0x1e3696(0x1ea)][_0x1e3696(0x263)]((_0x34ba82,_0x1ea481,_0x285a53)=>{const _0xc859d6=_0x1e3696,_0x5de981=_0x285a53;if(_0x5de981&&!_0xae7099&&_0x5e282b['Rectangle'][_0xc859d6(0x21e)](_0x21d1dd,_0x5de981))return _0x501c36[_0xc859d6(0x287)](_0x3a30dc),!0x0;});}});}),_0x501c36[_0x4d824a(0x257)](_0xe8576f=>{const _0x1b8b11=_0x4d824a;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x5b02b8,_0x1956a3,_0xe8576f),this[_0x1b8b11(0x28f)][_0x1b8b11(0x289)](_0x5b02b8,_0x1956a3,_0xe8576f);});}});}};_0x8804a0=_0x275d13([_0x3be3f4(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x284)])),_0x3be3f4(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)]))],_0x8804a0);var _0x52d46c=Object[_0x5a1c6c(0x2a5)],_0x3475fe=(_0x494400,_0x3bb87c,_0x12217d,_0x52c54a)=>{const _0xa508de=_0x5a1c6c;for(var _0x3fd12b=_0x52c54a>0x1?void 0x0:_0x52c54a?_0x52d46c(_0x3bb87c,_0x12217d):_0x3bb87c,_0x177b84=_0x494400[_0xa508de(0x281)]-0x1,_0x19512b;_0x177b84>=0x0;_0x177b84--)(_0x19512b=_0x494400[_0x177b84])&&(_0x3fd12b=_0x19512b(_0x3fd12b)||_0x3fd12b);return _0x3fd12b;},_0x35305c=(_0x196a47,_0x319135)=>(_0x22698d,_0x129208)=>_0x319135(_0x22698d,_0x129208,_0x196a47);let _0x549cf1=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0xf825c9,_0x1cf972,_0x45d6c1){const _0x140a57=_0x5a1c6c;super(),this[_0x140a57(0x296)]=_0xf825c9,this[_0x140a57(0x22e)]=_0x1cf972,this[_0x140a57(0x28f)]=_0x45d6c1,this[_0x140a57(0x201)]();}[_0x5a1c6c(0x201)](){const _0x45cfe6=_0x5a1c6c;this[_0x45cfe6(0x244)](this['_sheetInterceptorService'][_0x45cfe6(0x266)]({'getMutations':_0x2f9c8d=>{const _0x1cf141=_0x45cfe6,_0x49d3bc=[],_0x449f07=[];if(_0x2f9c8d['id']===_0x18e57d[_0x1cf141(0x2c1)]['id']){const _0x41002e=_0x2f9c8d[_0x1cf141(0x226)];if(!_0x41002e)return{'redos':_0x49d3bc,'undos':_0x449f07};const {unitId:_0x1554bf,subUnitId:_0x325997,ranges:_0x233813}=_0x41002e,_0x1986ff=this[_0x1cf141(0x28f)][_0x1cf141(0x215)](_0x1554bf,_0x325997);if(!_0x1986ff)return{'redos':_0x49d3bc,'undos':_0x449f07};const _0x2b1f3a={},_0xd99349={},_0x5a580a=new Set();_0x233813['forEach'](_0x50de73=>{const _0x14c29b=_0x1cf141,_0x52b126=_0x50de73[_0x14c29b(0x1f0)],_0x3f8145=_0x50de73['startColumn'];_0x5e282b[_0x14c29b(0x2c8)]['foreach'](_0x50de73,(_0x2868ab,_0x51b63c)=>{const _0x57d9a2=_0x14c29b,_0x5045a1=this[_0x57d9a2(0x28f)][_0x57d9a2(0x234)](_0x1554bf,_0x325997,_0x2868ab,_0x51b63c);if(_0x5045a1&&!(_0x2868ab===_0x52b126&&_0x51b63c===_0x3f8145)){const _0x3472a5=this['_sparklineDataSourceModel'][_0x57d9a2(0x274)](_0x1554bf,_0x325997,_0x5045a1);if(_0x3472a5){_0x5a580a[_0x57d9a2(0x287)](_0x5045a1);let _0x36d30b=_0x2b1f3a[_0x5045a1];_0x36d30b||(_0x36d30b={'config':_0x5e282b['Tools'][_0x57d9a2(0x216)](_0x3472a5[_0x57d9a2(0x1fc)]),'sparklines':new _0x5e282b[(_0x57d9a2(0x212))](_0x3472a5[_0x57d9a2(0x1ea)]['clone']())},_0x2b1f3a[_0x5045a1]=_0x36d30b),_0x36d30b[_0x57d9a2(0x1ea)][_0x57d9a2(0x256)](_0x2868ab,_0x51b63c),_0xd99349[_0x5045a1]={'config':_0x5e282b[_0x57d9a2(0x2ac)][_0x57d9a2(0x216)](_0x3472a5[_0x57d9a2(0x1fc)]),'sparklines':_0x5e282b['Tools'][_0x57d9a2(0x216)](_0x3472a5[_0x57d9a2(0x1ea)][_0x57d9a2(0x28b)]())};}}});});for(const [_0x334170,_0x9bb57d]of _0x1986ff){const _0x4ce954=_0x9bb57d[_0x1cf141(0x1ea)];_0x4ce954['forValue']((_0x39dcba,_0x5df384,_0x28d89d)=>{const _0x11b1f6=_0x1cf141;for(let _0x64a701=0x0;_0x64a701<_0x233813[_0x11b1f6(0x281)];_0x64a701++){const _0x2f55ba=_0x233813[_0x64a701];if(_0x5e282b[_0x11b1f6(0x1fe)][_0x11b1f6(0x1e1)](_0x2f55ba,_0x28d89d)){_0x5a580a[_0x11b1f6(0x287)](_0x334170);let _0x2687f9=_0x2b1f3a[_0x334170];_0x2687f9||(_0x2687f9={'config':_0x5e282b[_0x11b1f6(0x2ac)]['deepClone'](_0x9bb57d[_0x11b1f6(0x1fc)]),'sparklines':new _0x5e282b[(_0x11b1f6(0x212))](_0x4ce954[_0x11b1f6(0x28b)]())},_0x2b1f3a[_0x334170]=_0x2687f9),_0x2687f9[_0x11b1f6(0x1ea)]['realDeleteValue'](_0x39dcba,_0x5df384),_0xd99349[_0x334170]||(_0xd99349[_0x334170]={'config':_0x5e282b[_0x11b1f6(0x2ac)]['deepClone'](_0x9bb57d[_0x11b1f6(0x1fc)]),'sparklines':_0x5e282b[_0x11b1f6(0x2ac)][_0x11b1f6(0x216)](_0x4ce954[_0x11b1f6(0x28b)]())});}}});}const _0x50a441={};Object[_0x1cf141(0x29e)](_0x2b1f3a)[_0x1cf141(0x257)](([_0x6e0f03,_0x4ba023])=>{const _0x5d607c=_0x1cf141;_0x4ba023[_0x5d607c(0x1ea)][_0x5d607c(0x1ff)]()&&(_0x50a441[_0x6e0f03]={'config':_0x4ba023[_0x5d607c(0x1fc)],'sparklines':_0x4ba023['sparklines'][_0x5d607c(0x28b)]()});}),_0x5a580a[_0x1cf141(0x248)]&&(_0x49d3bc['push']({'id':_0x5574c6['id'],'params':{'unitId':_0x1554bf,'subUnitId':_0x325997,'groupIds':Array['from'](_0x5a580a),'isSingle':!0x1}}),_0x449f07[_0x1cf141(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x1554bf,'subUnitId':_0x325997,'groupIds':Array[_0x1cf141(0x24b)](_0x5a580a),'isSingle':!0x1}}),_0x49d3bc[_0x1cf141(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x1554bf,'subUnitId':_0x325997,'sparklineConfigMap':_0x50a441}}),_0x449f07['push']({'id':_0x38bb47['id'],'params':{'unitId':_0x1554bf,'subUnitId':_0x325997,'sparklineConfigMap':_0xd99349}}));}return{'redos':_0x49d3bc,'undos':_0x449f07};}}));}};_0x549cf1=_0x3475fe([_0x35305c(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b['ICommandService'])),_0x35305c(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d['SheetInterceptorService'])),_0x35305c(0x2,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)]))],_0x549cf1);var _0x4ae9c7=Object[_0x5a1c6c(0x2a5)],_0x5032a0=(_0x444748,_0x307615,_0x87627,_0x2f4a06)=>{const _0x1cd666=_0x5a1c6c;for(var _0x3e6dad=_0x2f4a06>0x1?void 0x0:_0x2f4a06?_0x4ae9c7(_0x307615,_0x87627):_0x307615,_0x58d38b=_0x444748[_0x1cd666(0x281)]-0x1,_0x31155f;_0x58d38b>=0x0;_0x58d38b--)(_0x31155f=_0x444748[_0x58d38b])&&(_0x3e6dad=_0x31155f(_0x3e6dad)||_0x3e6dad);return _0x3e6dad;},_0x6ff6b3=(_0x21e056,_0x3fe663)=>(_0x43b510,_0x1def2d)=>_0x3fe663(_0x43b510,_0x1def2d,_0x21e056);let _0x303053=class extends _0x5e282b['Disposable']{constructor(_0x41611d,_0x4e1e7c,_0x4921fa,_0x5f187e,_0x4e7a0b){const _0x58fe08=_0x5a1c6c;super(),_0x361bf3(this,_0x58fe08(0x21f),new _0x5e282b[(_0x58fe08(0x1f8))]()),(this['_commandService']=_0x41611d,this['_sheetInterceptorService']=_0x4e1e7c,this[_0x58fe08(0x277)]=_0x4921fa,this[_0x58fe08(0x288)]=_0x5f187e,this[_0x58fe08(0x28f)]=_0x4e7a0b,this['_onRefRangeChange'](),this[_0x58fe08(0x2c9)]());}[_0x5a1c6c(0x2b9)](){const _0x3922d4=_0x5a1c6c,_0x3e666c=(_0x3f8848,_0x10f648)=>{const _0x4d8155=_0x5e64,_0x3e6277=this['_univerInstanceService'][_0x4d8155(0x295)](_0x5e282b[_0x4d8155(0x2b1)][_0x4d8155(0x22c)]);if(!_0x3e6277||!(_0x3e6277==null?void 0x0:_0x3e6277[_0x4d8155(0x2a4)](_0x10f648)))return;this[_0x4d8155(0x21f)][_0x4d8155(0x1f7)]();const _0x67ef2e=_0x3757d6=>this[_0x4d8155(0x2c0)](_0x3757d6,_0x3f8848,_0x10f648),_0x45ea62=[],_0x11ff93=this[_0x4d8155(0x28f)][_0x4d8155(0x215)](_0x3f8848,_0x10f648);if(_0x11ff93){for(const [_0x8a0de2,_0x1b4a90]of _0x11ff93)_0x1b4a90['sparklines'][_0x4d8155(0x263)]((_0x249e3d,_0x25ae20,_0xbcc98e)=>{const _0xd6a00a=_0x4d8155,_0x37977e=_0x5e282b['cellToRange'](_0x249e3d,_0x25ae20);_0x45ea62[_0xd6a00a(0x211)](_0x37977e);});_0x45ea62[_0x4d8155(0x257)](_0x3463eb=>{const _0xf2b40=_0x4d8155;this['disposableCollection'][_0xf2b40(0x287)](this['_refRangeService'][_0xf2b40(0x2bf)](_0x3463eb,_0x67ef2e,_0x3f8848,_0x10f648));});}};this[_0x3922d4(0x244)](this[_0x3922d4(0x296)][_0x3922d4(0x258)](_0x3fcdb3=>{const _0x9212e1=_0x3922d4;if(_0x3fcdb3['id']===_0x18e57d['SetWorksheetActivateCommand']['id']){const _0x44211f=_0x3fcdb3[_0x9212e1(0x226)],_0x19ba06=_0x44211f['subUnitId'],_0x26a853=_0x44211f['unitId'];if(!_0x19ba06||!_0x26a853)return;_0x3e666c(_0x26a853,_0x19ba06);}if(_0x3fcdb3['id']===_0x54e9ff['id']||_0x3fcdb3['id']===_0x38bb47['id']){const _0x5bd64c=_0x3fcdb3[_0x9212e1(0x226)],_0xa4c9bd=_0x5bd64c[_0x9212e1(0x20f)],_0x1ee885=_0x5bd64c[_0x9212e1(0x247)];if(!_0xa4c9bd||!_0x1ee885)return;_0x3e666c(_0x1ee885,_0xa4c9bd);}}));}['refRangeHandle'](_0xb7e2c2,_0x27d81e,_0x501896){const _0x5cd777=_0x5a1c6c;switch(_0xb7e2c2['id']){case _0x18e57d[_0x5cd777(0x271)]['id']:return this[_0x5cd777(0x2c4)](_0xb7e2c2['params'],_0x27d81e,_0x501896);case _0x18e57d[_0x5cd777(0x2cd)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0xb7e2c2['params'],_0x27d81e,_0x501896);}return{'redos':[],'undos':[]};}[_0x5a1c6c(0x227)](_0x1c0b71,_0x34cb09,_0x14a6d5){const _0x1cd8d5=_0x5a1c6c;var _0x4d408b,_0x7b8aae;const {range:_0x5a7807}=_0x1c0b71,_0x229035=new Set(),_0x366ec4={},_0x15a35b={},_0x131605=[],_0x6da390=[],_0x37efa9=[],_0x25d23b=[];if(!_0x18e57d[_0x1cd8d5(0x285)](this[_0x1cd8d5(0x288)],{'unitId':_0x34cb09,'subUnitId':_0x14a6d5}))return{'redos':_0x6da390,'undos':_0x131605};const _0x70031=this[_0x1cd8d5(0x28f)][_0x1cd8d5(0x215)](_0x34cb09,_0x14a6d5);if(!_0x70031)return{'redos':_0x6da390,'undos':_0x131605};if(!((_0x7b8aae=(_0x4d408b=this['_sparklineDataSourceModel'][_0x1cd8d5(0x1eb)]()[_0x1cd8d5(0x27c)]['get'](_0x34cb09))==null?void 0x0:_0x4d408b[_0x1cd8d5(0x2bd)](_0x14a6d5))==null?void 0x0:_0x7b8aae[_0x1cd8d5(0x265)]))return{'redos':_0x6da390,'undos':_0x131605};for(const [_0x2becef,_0x1489e0]of _0x70031){const _0x2e5bd1=_0x1489e0[_0x1cd8d5(0x1ea)];_0x2e5bd1[_0x1cd8d5(0x263)]((_0x55c3c3,_0x273311,_0x180042)=>{const _0x432381=_0x1cd8d5;if(_0x5e282b[_0x432381(0x1fe)][_0x432381(0x21e)](_0x5a7807,_0x180042)){_0x229035[_0x432381(0x287)](_0x2becef);let _0x5dbb48=_0x15a35b[_0x2becef];_0x5dbb48||(_0x5dbb48={'config':_0x1489e0[_0x432381(0x1fc)],'sparklines':_0x1489e0[_0x432381(0x1ea)][_0x432381(0x28b)]()},_0x15a35b[_0x2becef]=_0x5dbb48);let _0x4040f4=_0x366ec4[_0x2becef];_0x4040f4||(_0x4040f4={'config':_0x1489e0[_0x432381(0x1fc)],'sparklines':new _0x5e282b[(_0x432381(0x212))](_0x1489e0[_0x432381(0x1ea)][_0x432381(0x28b)]())},_0x366ec4[_0x2becef]=_0x4040f4);const _0x38b912=_0x18e57d[_0x432381(0x23f)](_0x180042,{'id':_0x18e57d[_0x432381(0x22f)]['id'],'params':_0x1c0b71});_0x38b912?_0x4040f4[_0x432381(0x1ea)][_0x432381(0x26b)](_0x55c3c3,_0x273311,_0x38b912):_0x4040f4[_0x432381(0x1ea)]['setValue'](_0x55c3c3,_0x273311,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b[_0x432381(0x1f9)][_0x432381(0x20d)]});}}),_0x2e5bd1[_0x1cd8d5(0x263)]((_0x1cce8d,_0x4ecc9b,_0x561289)=>{const _0x30d3f8=_0x1cd8d5;if(_0x1cce8d<=_0x5a7807['endRow']&&_0x1cce8d>=_0x5a7807['startRow']){_0x229035['add'](_0x2becef);let _0x5b4165=_0x15a35b[_0x2becef];_0x5b4165||(_0x5b4165={'config':_0x1489e0[_0x30d3f8(0x1fc)],'sparklines':_0x1489e0[_0x30d3f8(0x1ea)]['clone']()},_0x15a35b[_0x2becef]=_0x5b4165);let _0x30c0c1=_0x366ec4[_0x2becef];_0x30c0c1||(_0x30c0c1={'config':_0x1489e0[_0x30d3f8(0x1fc)],'sparklines':new _0x5e282b[(_0x30d3f8(0x212))](_0x1489e0[_0x30d3f8(0x1ea)]['clone']())},_0x366ec4[_0x2becef]=_0x30c0c1);}});}_0x25d23b[_0x1cd8d5(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x34cb09,'subUnitId':_0x14a6d5,'groupIds':Array['from'](_0x229035),'isSingle':!0x1}}),_0x37efa9[_0x1cd8d5(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0x34cb09,'subUnitId':_0x14a6d5,'groupIds':Array[_0x1cd8d5(0x24b)](_0x229035),'isSingle':!0x1}});const _0xee00bc={};let _0x29db28=!0x1;return Object[_0x1cd8d5(0x29e)](_0x366ec4)[_0x1cd8d5(0x257)](([_0x46d20a,_0xe5ffb7])=>{const _0x345755=_0x1cd8d5;_0xe5ffb7[_0x345755(0x1ea)][_0x345755(0x1ff)]()&&(_0x29db28=!0x0,_0xe5ffb7[_0x345755(0x1ea)]['removeRows'](_0x5a7807['startRow'],_0x5a7807[_0x345755(0x2a8)]-_0x5a7807[_0x345755(0x1f0)]+0x1),_0xee00bc[_0x46d20a]={'config':_0xe5ffb7[_0x345755(0x1fc)],'sparklines':_0xe5ffb7['sparklines'][_0x345755(0x28b)]()});}),_0x29db28&&_0x6da390[_0x1cd8d5(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x34cb09,'subUnitId':_0x14a6d5,'sparklineConfigMap':_0xee00bc}}),_0x131605[_0x1cd8d5(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0x34cb09,'subUnitId':_0x14a6d5,'sparklineConfigMap':_0x15a35b}}),{'redos':_0x6da390,'undos':_0x131605,'preRedos':_0x37efa9,'preUndos':_0x25d23b};}[_0x5a1c6c(0x2c4)](_0x2c0020,_0xe83ec8,_0x438aef){const _0x3d15f4=_0x5a1c6c;var _0x118571,_0x342d86;const {range:_0x5c0eb5}=_0x2c0020,_0xf27769=new Set(),_0x470524={},_0x55692f={},_0x4e1a55=[],_0x33eac0=[],_0x49b80e=[],_0x228c2b=[];if(!_0x18e57d[_0x3d15f4(0x285)](this[_0x3d15f4(0x288)],{'unitId':_0xe83ec8,'subUnitId':_0x438aef}))return{'redos':_0x33eac0,'undos':_0x4e1a55};const _0x167eb7=this[_0x3d15f4(0x28f)]['getSubUnitSparkline'](_0xe83ec8,_0x438aef);if(!_0x167eb7)return{'redos':_0x33eac0,'undos':_0x4e1a55};if(!((_0x342d86=(_0x118571=this['_sparklineDataSourceModel']['getSparklineCache']()[_0x3d15f4(0x27c)][_0x3d15f4(0x2bd)](_0xe83ec8))==null?void 0x0:_0x118571[_0x3d15f4(0x2bd)](_0x438aef))==null?void 0x0:_0x342d86['matrix']))return{'redos':_0x33eac0,'undos':_0x4e1a55};for(const [_0x2920e3,_0x55c5d1]of _0x167eb7){const _0x4fc049=_0x55c5d1['sparklines'];_0x4fc049['forValue']((_0x31149e,_0x1dab24,_0x52f205)=>{const _0xffc35=_0x3d15f4;if(_0x5e282b[_0xffc35(0x1fe)][_0xffc35(0x21e)](_0x5c0eb5,_0x52f205)){_0xf27769[_0xffc35(0x287)](_0x2920e3);let _0x355b9f=_0x55692f[_0x2920e3];_0x355b9f||(_0x355b9f={'config':_0x55c5d1['config'],'sparklines':_0x55c5d1['sparklines'][_0xffc35(0x28b)]()},_0x55692f[_0x2920e3]=_0x355b9f);let _0x2dc8e7=_0x470524[_0x2920e3];_0x2dc8e7||(_0x2dc8e7={'config':_0x55c5d1[_0xffc35(0x1fc)],'sparklines':new _0x5e282b[(_0xffc35(0x212))](_0x55c5d1[_0xffc35(0x1ea)][_0xffc35(0x28b)]())},_0x470524[_0x2920e3]=_0x2dc8e7);const _0x197ab0=_0x18e57d[_0xffc35(0x23f)](_0x52f205,{'id':_0x18e57d[_0xffc35(0x207)]['id'],'params':_0x2c0020});_0x197ab0?_0x2dc8e7['sparklines']['setValue'](_0x31149e,_0x1dab24,_0x197ab0):_0x2dc8e7[_0xffc35(0x1ea)][_0xffc35(0x26b)](_0x31149e,_0x1dab24,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b['RANGE_TYPE']['NORMAL']});}}),_0x4fc049[_0x3d15f4(0x263)]((_0x359ecd,_0x1d88bf,_0xf1d397)=>{const _0x475b40=_0x3d15f4;if(_0x1d88bf<=_0x5c0eb5[_0x475b40(0x283)]&&_0x1d88bf>=_0x5c0eb5[_0x475b40(0x270)]){_0xf27769['add'](_0x2920e3);let _0xcb3ee7=_0x55692f[_0x2920e3];_0xcb3ee7||(_0xcb3ee7={'config':_0x55c5d1[_0x475b40(0x1fc)],'sparklines':_0x55c5d1[_0x475b40(0x1ea)][_0x475b40(0x28b)]()},_0x55692f[_0x2920e3]=_0xcb3ee7);let _0x2abeca=_0x470524[_0x2920e3];_0x2abeca||(_0x2abeca={'config':_0x55c5d1['config'],'sparklines':new _0x5e282b[(_0x475b40(0x212))](_0x55c5d1[_0x475b40(0x1ea)][_0x475b40(0x28b)]())},_0x470524[_0x2920e3]=_0x2abeca);}});}_0x228c2b['push']({'id':_0x5574c6['id'],'params':{'unitId':_0xe83ec8,'subUnitId':_0x438aef,'groupIds':Array[_0x3d15f4(0x24b)](_0xf27769),'isSingle':!0x1}}),_0x49b80e[_0x3d15f4(0x211)]({'id':_0x5574c6['id'],'params':{'unitId':_0xe83ec8,'subUnitId':_0x438aef,'groupIds':Array[_0x3d15f4(0x24b)](_0xf27769),'isSingle':!0x1}});const _0x3277bf={};let _0x125e9e=!0x1;return Object[_0x3d15f4(0x29e)](_0x470524)[_0x3d15f4(0x257)](([_0x507316,_0x512954])=>{const _0x3fa887=_0x3d15f4;_0x512954[_0x3fa887(0x1ea)][_0x3fa887(0x1ff)]()&&(_0x125e9e=!0x0,_0x512954['sparklines']['removeColumns'](_0x5c0eb5[_0x3fa887(0x270)],_0x5c0eb5[_0x3fa887(0x283)]-_0x5c0eb5[_0x3fa887(0x270)]+0x1),_0x3277bf[_0x507316]={'config':_0x512954[_0x3fa887(0x1fc)],'sparklines':_0x512954[_0x3fa887(0x1ea)][_0x3fa887(0x28b)]()});}),_0x125e9e&&_0x33eac0[_0x3d15f4(0x211)]({'id':_0x38bb47['id'],'params':{'unitId':_0xe83ec8,'subUnitId':_0x438aef,'sparklineConfigMap':_0x3277bf}}),_0x4e1a55['push']({'id':_0x38bb47['id'],'params':{'unitId':_0xe83ec8,'subUnitId':_0x438aef,'sparklineConfigMap':_0x55692f}}),{'redos':_0x33eac0,'undos':_0x4e1a55,'preRedos':_0x49b80e,'preUndos':_0x228c2b};}[_0x5a1c6c(0x2c9)](){const _0x146091=_0x5a1c6c;this[_0x146091(0x244)](this['_commandService'][_0x146091(0x258)](_0x4df277=>{const _0x6dfb2e=_0x146091;if(_0x4df277['id']===_0x18e57d['InsertColMutation']['id']){const _0x233a2a=_0x4df277[_0x6dfb2e(0x226)],{unitId:_0x377eb8,subUnitId:_0x12529e,range:_0xb10746}=_0x233a2a,_0x36f3b3=_0xb10746[_0x6dfb2e(0x270)],_0x55e275=_0xb10746['endColumn']-_0xb10746[_0x6dfb2e(0x270)]+0x1,_0x392187=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x377eb8,_0x12529e);if(!_0x392187)return;for(const [_0x3134d0,_0x2f6d3a]of _0x392187){this['_sparklineDataSourceModel'][_0x6dfb2e(0x1f6)](_0x377eb8,_0x12529e,_0x3134d0);const _0x47fba9=_0x2f6d3a[_0x6dfb2e(0x1ea)];_0x47fba9['forValue']((_0x232221,_0x3bca7c,_0x12f0dd)=>{const _0x5a2196=_0x6dfb2e,_0xa0b323={..._0x12f0dd};_0x36f3b3<=_0xa0b323[_0x5a2196(0x270)]?(_0xa0b323[_0x5a2196(0x270)]+=_0x55e275,_0xa0b323[_0x5a2196(0x283)]+=_0x55e275):_0x36f3b3>_0xa0b323[_0x5a2196(0x283)]||(_0xa0b323[_0x5a2196(0x283)]+=_0x55e275),_0x47fba9['setValue'](_0x232221,_0x3bca7c,_0xa0b323);});const _0x445136=_0x47fba9[_0x6dfb2e(0x202)]();for(const _0x1d5c09 in _0x445136){const _0x1757c2=_0x445136[Number(_0x1d5c09)];if(!_0x1757c2)continue;const _0x36264e=Object[_0x6dfb2e(0x28c)](_0x1757c2)[_0x6dfb2e(0x1fa)](Number),_0x970f56=Math[_0x6dfb2e(0x2c6)](..._0x36264e);for(let _0x5a62ae=_0x970f56;_0x5a62ae>=_0x36f3b3;_0x5a62ae--)_0x5a62ae>=_0x36f3b3&&_0x1757c2[_0x5a62ae]&&(_0x1757c2[_0x5a62ae+_0x55e275]=_0x1757c2[_0x5a62ae],delete _0x1757c2[_0x5a62ae]);}this['_sparklineDataSourceModel'][_0x6dfb2e(0x289)](_0x377eb8,_0x12529e,_0x3134d0);}}else{if(_0x4df277['id']===_0x18e57d['InsertRowMutation']['id']){const _0x5df493=_0x4df277[_0x6dfb2e(0x226)],{unitId:_0x472449,subUnitId:_0x5546c5,range:_0x4f0673}=_0x5df493,_0x4cace3=_0x4f0673[_0x6dfb2e(0x1f0)],_0xe4f1fd=_0x4f0673[_0x6dfb2e(0x2a8)]-_0x4f0673[_0x6dfb2e(0x1f0)]+0x1,_0x534038=this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x215)](_0x472449,_0x5546c5);if(!_0x534038)return;for(const [_0x34767c,_0x5c0037]of _0x534038){this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x1f6)](_0x472449,_0x5546c5,_0x34767c);const _0x1256f9=_0x5c0037['sparklines'];_0x1256f9['forValue']((_0xc2227,_0x3e1149,_0x25532c)=>{const _0x333879=_0x6dfb2e,_0x2ea8d7={..._0x25532c};_0x4cace3<=_0x2ea8d7[_0x333879(0x1f0)]?(_0x2ea8d7[_0x333879(0x1f0)]+=_0xe4f1fd,_0x2ea8d7[_0x333879(0x2a8)]+=_0xe4f1fd):_0x4cace3>_0x2ea8d7[_0x333879(0x2a8)]||(_0x2ea8d7[_0x333879(0x2a8)]+=_0xe4f1fd),_0x1256f9['setValue'](_0xc2227,_0x3e1149,_0x2ea8d7);});const _0x3ef5b3=_0x1256f9['getMatrix'](),_0x2cb59f=Object[_0x6dfb2e(0x28c)](_0x3ef5b3)[_0x6dfb2e(0x1fa)](Number),_0x325c6e=Math['max'](..._0x2cb59f);for(let _0x2d312e=_0x325c6e;_0x2d312e>=_0x4cace3;_0x2d312e--)_0x2d312e>=_0x4cace3&&_0x3ef5b3[_0x2d312e]&&(_0x3ef5b3[_0x2d312e+_0xe4f1fd]=_0x3ef5b3[_0x2d312e],delete _0x3ef5b3[_0x2d312e]);this[_0x6dfb2e(0x28f)]['updateSparklineExtraNum'](_0x472449,_0x5546c5,_0x34767c);}}else{if(_0x4df277['id']===_0x18e57d['RemoveColMutation']['id']){const _0x1b23ab=_0x4df277[_0x6dfb2e(0x226)],{range:_0x37e75c,unitId:_0x2d7677,subUnitId:_0x15a5f0}=_0x1b23ab,_0x48683b=this['_sparklineDataSourceModel'][_0x6dfb2e(0x215)](_0x2d7677,_0x15a5f0);if(!_0x48683b)return;for(const [_0x335e4a,_0xa67334]of _0x48683b){const _0x1ea257=_0xa67334[_0x6dfb2e(0x1ea)];_0x1ea257['forValue']((_0x53d192,_0x524117,_0x3dcdc5)=>{const _0xd886de=_0x6dfb2e,_0x4254dd=_0x18e57d['adjustRangeOnMutation'](_0x3dcdc5,_0x4df277);_0x4254dd?_0x1ea257[_0xd886de(0x26b)](_0x53d192,_0x524117,_0x4254dd):_0x1ea257[_0xd886de(0x26b)](_0x53d192,_0x524117,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b[_0xd886de(0x1f9)]['NORMAL']});}),_0x1ea257[_0x6dfb2e(0x252)](_0x37e75c[_0x6dfb2e(0x270)],_0x37e75c[_0x6dfb2e(0x283)]-_0x37e75c[_0x6dfb2e(0x270)]+0x1);}this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x262)](_0x2d7677,_0x15a5f0);}else{if(_0x4df277['id']===_0x18e57d[_0x6dfb2e(0x22f)]['id']){const _0x4be7b4=_0x4df277[_0x6dfb2e(0x226)],{range:_0x3fd808,unitId:_0x3140d7,subUnitId:_0x55e950}=_0x4be7b4,_0x4704ae=this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x215)](_0x3140d7,_0x55e950);if(!_0x4704ae)return;for(const [_0x2f2cdc,_0x1ae662]of _0x4704ae){const _0x1af60c=_0x1ae662[_0x6dfb2e(0x1ea)];_0x1af60c[_0x6dfb2e(0x263)]((_0x2da255,_0x463f06,_0x539fe4)=>{const _0x25a1b6=_0x6dfb2e,_0x2f022f=_0x18e57d[_0x25a1b6(0x23f)](_0x539fe4,_0x4df277);_0x2f022f?_0x1af60c[_0x25a1b6(0x26b)](_0x2da255,_0x463f06,_0x2f022f):_0x1af60c['setValue'](_0x2da255,_0x463f06,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b[_0x25a1b6(0x1f9)][_0x25a1b6(0x20d)]});}),_0x1af60c[_0x6dfb2e(0x2bc)](_0x3fd808[_0x6dfb2e(0x1f0)],_0x3fd808[_0x6dfb2e(0x2a8)]-_0x3fd808['startRow']+0x1);}this['_sparklineDataSourceModel'][_0x6dfb2e(0x262)](_0x3140d7,_0x55e950);}else{if(_0x4df277['id']===_0x18e57d[_0x6dfb2e(0x28e)]['id']){const _0x1b5f2f=_0x4df277[_0x6dfb2e(0x226)],{unitId:_0x3c7344,subUnitId:_0xb10067,sourceRange:_0x5bdbb6,targetRange:_0x32dc74}=_0x1b5f2f,_0x3e0c96=this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x215)](_0x3c7344,_0xb10067);if(!_0x3e0c96)return;for(const [_0x290e0f,_0x22f3ef]of _0x3e0c96){const _0x19eff0=_0x22f3ef[_0x6dfb2e(0x1ea)];_0x19eff0[_0x6dfb2e(0x263)]((_0x5433db,_0x50da9a,_0x39f5c0)=>{const _0x532058=_0x6dfb2e,_0x1d491f=_0x18e57d[_0x532058(0x23f)](_0x39f5c0,_0x4df277);_0x1d491f?_0x19eff0[_0x532058(0x26b)](_0x5433db,_0x50da9a,_0x1d491f):_0x19eff0[_0x532058(0x26b)](_0x5433db,_0x50da9a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b['RANGE_TYPE'][_0x532058(0x20d)]});}),_0x19eff0['moveColumns'](_0x5bdbb6[_0x6dfb2e(0x270)],_0x5bdbb6[_0x6dfb2e(0x283)]-_0x5bdbb6[_0x6dfb2e(0x270)]+0x1,_0x32dc74[_0x6dfb2e(0x270)]);}this['_sparklineDataSourceModel'][_0x6dfb2e(0x262)](_0x3c7344,_0xb10067);}else{if(_0x4df277['id']===_0x18e57d[_0x6dfb2e(0x26c)]['id']){const _0x1dd1e4=_0x4df277[_0x6dfb2e(0x226)],{unitId:_0x9b66d8,subUnitId:_0x4ed3ca,sourceRange:_0x3e6d6e,targetRange:_0x1ecdc9}=_0x1dd1e4,_0x13ba82=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x9b66d8,_0x4ed3ca);if(!_0x13ba82)return;for(const [_0x2bf73b,_0x31f3d3]of _0x13ba82){const _0x2689ff=_0x31f3d3[_0x6dfb2e(0x1ea)];_0x2689ff[_0x6dfb2e(0x263)]((_0x557f53,_0x3c5aeb,_0x4c6b17)=>{const _0x3919c1=_0x6dfb2e,_0x28e32f=_0x18e57d['adjustRangeOnMutation'](_0x4c6b17,_0x4df277);_0x28e32f?_0x2689ff['setValue'](_0x557f53,_0x3c5aeb,_0x28e32f):_0x2689ff[_0x3919c1(0x26b)](_0x557f53,_0x3c5aeb,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5e282b[_0x3919c1(0x1f9)][_0x3919c1(0x20d)]});}),_0x2689ff['moveRows'](_0x3e6d6e[_0x6dfb2e(0x1f0)],_0x3e6d6e[_0x6dfb2e(0x2a8)]-_0x3e6d6e[_0x6dfb2e(0x1f0)]+0x1,_0x1ecdc9['startRow']);}this['_sparklineDataSourceModel'][_0x6dfb2e(0x262)](_0x9b66d8,_0x4ed3ca);}else{if(_0x4df277['id']===_0x18e57d['MoveRangeMutation']['id']){const _0x57cabb=_0x4df277[_0x6dfb2e(0x226)],{fromRange:_0x1d97b1,toRange:_0x65e41a,unitId:_0xbd9597,from:_0x526c68,to:_0x5bdb0b}=_0x57cabb;if(_0x526c68[_0x6dfb2e(0x20f)]!==_0x5bdb0b['subUnitId'])return;const _0x326e12=_0x526c68[_0x6dfb2e(0x20f)],{startRow:_0x3b7103,endRow:_0x464d32,startColumn:_0xf690e0,endColumn:_0x43c7e7}=_0x1d97b1,{startRow:_0x576fd3,startColumn:_0x49aab1}=_0x65e41a,_0x4ff6ad=_0x576fd3-_0x3b7103,_0x5eaef2=_0x49aab1-_0xf690e0,_0x440b5e=this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x215)](_0xbd9597,_0x326e12);if(!(_0x440b5e!=null&&_0x440b5e['size']))return;for(let _0x1df88f=_0x3b7103;_0x1df88f<=_0x464d32;_0x1df88f++)for(let _0x259cab=_0xf690e0;_0x259cab<=_0x43c7e7;_0x259cab++){const _0x61de9e=this[_0x6dfb2e(0x28f)]['getSparkline'](_0xbd9597,_0x326e12,_0x1df88f,_0x259cab);if(_0x61de9e){const _0x2837a6=this[_0x6dfb2e(0x28f)]['getSparklineById'](_0xbd9597,_0x326e12,_0x61de9e);if(_0x2837a6){const _0x3ca583=_0x2837a6[_0x6dfb2e(0x1ea)][_0x6dfb2e(0x253)](_0x1df88f,_0x259cab);_0x3ca583&&(_0x2837a6[_0x6dfb2e(0x1ea)][_0x6dfb2e(0x26b)](_0x1df88f+_0x4ff6ad,_0x259cab+_0x5eaef2,_0x3ca583),_0x2837a6[_0x6dfb2e(0x1ea)][_0x6dfb2e(0x256)](_0x1df88f,_0x259cab));}}}for(const [_0x38b2e0,_0x547b86]of _0x440b5e){const _0x11cf98=_0x547b86[_0x6dfb2e(0x1ea)];_0x11cf98['forValue']((_0x13938a,_0x5a0cda,_0x421fd8)=>{const _0x5aa2ff=_0x6dfb2e,_0x31cf46={..._0x421fd8};_0x5e282b[_0x5aa2ff(0x1fe)][_0x5aa2ff(0x1e1)](_0x1d97b1,_0x421fd8)&&(_0x31cf46[_0x5aa2ff(0x1f0)]+=_0x4ff6ad,_0x31cf46[_0x5aa2ff(0x2a8)]+=_0x4ff6ad,_0x31cf46[_0x5aa2ff(0x270)]+=_0x5eaef2,_0x31cf46['endColumn']+=_0x5eaef2),_0x11cf98[_0x5aa2ff(0x26b)](_0x13938a,_0x5a0cda,_0x31cf46);});}this[_0x6dfb2e(0x28f)][_0x6dfb2e(0x262)](_0xbd9597,_0x326e12);}}}}}}}}));}};_0x303053=_0x5032a0([_0x6ff6b3(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x284)])),_0x6ff6b3(0x1,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d['SheetInterceptorService'])),_0x6ff6b3(0x2,_0x5e282b[_0x5a1c6c(0x2b2)](_0x18e57d[_0x5a1c6c(0x2b7)])),_0x6ff6b3(0x3,_0x5e282b[_0x5a1c6c(0x235)]),_0x6ff6b3(0x4,_0x5e282b[_0x5a1c6c(0x2b2)](_0x3c934b[_0x5a1c6c(0x1fb)]))],_0x303053);var _0x3fcad0=Object['getOwnPropertyDescriptor'],_0x22630c=(_0x127dca,_0x3164b8,_0x17d3aa,_0x2fe170)=>{for(var _0x586c2e=_0x2fe170>0x1?void 0x0:_0x2fe170?_0x3fcad0(_0x3164b8,_0x17d3aa):_0x3164b8,_0x52bd22=_0x127dca['length']-0x1,_0x16cebd;_0x52bd22>=0x0;_0x52bd22--)(_0x16cebd=_0x127dca[_0x52bd22])&&(_0x586c2e=_0x16cebd(_0x586c2e)||_0x586c2e);return _0x586c2e;},_0x54fc14=(_0x1f41c7,_0x375166)=>(_0x37853e,_0x33d5ea)=>_0x375166(_0x37853e,_0x33d5ea,_0x1f41c7);let _0x346d77=class extends _0x5e282b[_0x5a1c6c(0x1db)]{constructor(_0x347dfd,_0x22854b){const _0x363914=_0x5a1c6c;super(),this[_0x363914(0x2af)]=_0x347dfd,this['_sparklineDataSourceModel']=_0x22854b,this['_initSnapshot']();}[_0x5a1c6c(0x220)](){const _0x19e1fe=_0x5a1c6c,_0x2825b5=_0x257775=>{const _0xc090f0=_0x5e64,_0x3ab469=this[_0xc090f0(0x28f)][_0xc090f0(0x1e4)](_0x257775);return _0x3ab469?JSON[_0xc090f0(0x267)](_0x3ab469):'';},_0x2eef79=_0x1c4d5c=>_0x1c4d5c?JSON['parse'](_0x1c4d5c):{};this[_0x19e1fe(0x244)](this[_0x19e1fe(0x2af)]['registerPluginResource']({'toJson':_0x2825b5,'parseJson':_0x2eef79,'pluginName':_0x3102e8,'businesses':[_0x5e282b[_0x19e1fe(0x2b1)][_0x19e1fe(0x22c)]],'onLoad':(_0x183d4a,_0x208c1e)=>{const _0x28171c=_0x19e1fe;this[_0x28171c(0x28f)]['fromJSON'](_0x208c1e);},'onUnLoad':_0xab5352=>{const _0x25be0e=_0x19e1fe;this[_0x25be0e(0x28f)][_0x25be0e(0x261)](_0xab5352);}}));}};_0x346d77=_0x22630c([_0x54fc14(0x0,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x20b)])),_0x54fc14(0x1,_0x5e282b['Inject'](_0x3c934b[_0x5a1c6c(0x1fb)]))],_0x346d77);var _0x5f5bf7=Object[_0x5a1c6c(0x26f)],_0x10d137=Object[_0x5a1c6c(0x2a5)],_0x4f3db0=(_0x45ca1d,_0x2a7089,_0x5bc175)=>_0x2a7089 in _0x45ca1d?_0x5f5bf7(_0x45ca1d,_0x2a7089,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bc175}):_0x45ca1d[_0x2a7089]=_0x5bc175,_0x224e7c=(_0x1fb512,_0x4ac9f6,_0x149f05,_0x53bd12)=>{const _0x3b6b1f=_0x5a1c6c;for(var _0x124b0d=_0x53bd12>0x1?void 0x0:_0x53bd12?_0x10d137(_0x4ac9f6,_0x149f05):_0x4ac9f6,_0x55712f=_0x1fb512[_0x3b6b1f(0x281)]-0x1,_0x3923df;_0x55712f>=0x0;_0x55712f--)(_0x3923df=_0x1fb512[_0x55712f])&&(_0x124b0d=_0x3923df(_0x124b0d)||_0x124b0d);return _0x124b0d;},_0x36d6a5=(_0x5059bc,_0x49541d)=>(_0x2711da,_0x40e420)=>_0x49541d(_0x2711da,_0x40e420,_0x5059bc),_0x124260=(_0x3c7cc3,_0x126701,_0x12f8b1)=>_0x4f3db0(_0x3c7cc3,typeof _0x126701!=_0x5a1c6c(0x230)?_0x126701+'':_0x126701,_0x12f8b1);_0x3c934b[_0x5a1c6c(0x228)]=class extends _0x5e282b[_0x5a1c6c(0x2a3)]{constructor(_0x486622={},_0x24190b,_0x4cb652){const _0x5eff2e=_0x5a1c6c;super(),this[_0x5eff2e(0x222)]=_0x486622,this[_0x5eff2e(0x2d0)]=_0x24190b,this[_0x5eff2e(0x296)]=_0x4cb652,this[_0x5eff2e(0x25f)](),this['_initRegisterCommand']();}[_0x5a1c6c(0x25f)](){const _0x51dea5=_0x5a1c6c;[[_0x3c934b[_0x51dea5(0x1fb)]],[_0x11984a],[_0x549cf1],[_0x2d8980],[_0x303053],[_0x8804a0],[_0x3c9304],[_0x346d77]][_0x51dea5(0x257)](_0x53381e=>{const _0x5cdc0b=_0x51dea5;this[_0x5cdc0b(0x2d0)][_0x5cdc0b(0x287)](_0x53381e);}),_0x5e282b[_0x51dea5(0x282)](this[_0x51dea5(0x2d0)],[[_0x346d77]]);}[_0x5a1c6c(0x27d)](){const _0x1f2399=_0x5a1c6c;_0x5e282b[_0x1f2399(0x282)](this['_injector'],[[_0x11984a],[_0x549cf1],[_0x2d8980],[_0x303053],[_0x8804a0],[_0x3c9304]]);}[_0x5a1c6c(0x26a)](){const _0x57f921=_0x5a1c6c;[_0x19ef3f,_0x38bb47,_0x5896d7,_0x5574c6,_0x49ef56,_0x54e9ff][_0x57f921(0x257)](_0x3fd680=>this['_commandService']['registerCommand'](_0x3fd680));}},_0x124260(_0x3c934b[_0x5a1c6c(0x228)],_0x5a1c6c(0x23a),_0x3102e8),_0x124260(_0x3c934b[_0x5a1c6c(0x228)],'type',_0x5e282b[_0x5a1c6c(0x2b1)]['UNIVER_SHEET']),_0x3c934b[_0x5a1c6c(0x228)]=_0x224e7c([_0x5e282b['DependentOn'](_0x25c9b5[_0x5a1c6c(0x268)]),_0x36d6a5(0x1,_0x5e282b['Inject'](_0x5e282b['Injector'])),_0x36d6a5(0x2,_0x5e282b[_0x5a1c6c(0x2b2)](_0x5e282b[_0x5a1c6c(0x284)]))],_0x3c934b[_0x5a1c6c(0x228)]),_0x3c934b[_0x5a1c6c(0x21d)]=_0x19ef3f,_0x3c934b[_0x5a1c6c(0x25c)]=_0x38bb47,_0x3c934b[_0x5a1c6c(0x279)]=_0x3102e8,_0x3c934b['RemoveSheetSparklineCommand']=_0x5896d7,_0x3c934b['RemoveSheetSparklineMutation']=_0x5574c6,_0x3c934b[_0x5a1c6c(0x272)]=_0x49ef56,_0x3c934b[_0x5a1c6c(0x2a9)]=_0x54e9ff,_0x3c934b['SpacialShowAsEnum']=_0x4a8c12,_0x3c934b[_0x5a1c6c(0x2cc)]=_0x5b4e63,_0x3c934b[_0x5a1c6c(0x2a7)]=_0x38610a,_0x3c934b[_0x5a1c6c(0x254)]=_0x4250c3,_0x3c934b[_0x5a1c6c(0x24d)]=_0x2c8c3b,_0x3c934b[_0x5a1c6c(0x269)]=_0x27729c,_0x3c934b['getSparklinePlacement']=_0x2598c2,Object['defineProperty'](_0x3c934b,Symbol[_0x5a1c6c(0x236)],{'value':'Module'});}));function _0x3abb(){const _0x1a7eeb=['UniverSheets','pluginName','connect_with_line','8930080YYEKmW','SetRowVisibleMutation','setAlpha','adjustRangeOnMutation','_sheetSelectionService','280zEssOU','remove','fromJSON','disposeWithMe','1269367ihnTXS','isValidRange','unitId','size','removePartSparkline','setSparkline','from','9072621DxpvKn','SparklineThemeTypeEnum','GROUP_EXTREMUM','pushUndoRedo','2006997kUnxGA','_initExclusiveRangeChange','removeColumns','getValue','SparklineThemeMapping','_initCopySheetWithSparkline','realDeleteValue','forEach','onCommandExecuted','getCurrentSelections','distinctive','u-spacing','AddSheetSparklineMutation','20290QnOrFQ','PIE_CHART','_initDependencies','u-connect','deleteUnit','reBuildAnchorCache','forValue','toRgbString','matrix','interceptCommand','stringify','UniverLicensePlugin','SparklineTypeEnum','_initRegisterCommand','setValue','MoveRowsMutation','actualColumn','spacing','defineProperty','startColumn','RemoveColCommand','SetSheetSparklineCommand','delete','getSparklineById','column','CONNECT_WITH_LINE','_refRangeService','SetRowHiddenMutation','PLUGIN_NAME','sequenceExecute','_ensureConfigMap','sparklineAnchorMap','onReady','STANDARD','UniverProLicense','cellToRange','length','touchDependencies','endColumn','ICommandService','getSheetCommandTarget','asObservable','add','_univerInstanceService','updateSparklineExtraNum','lastPoint','clone','keys','ZERO_VALUE','MoveColsMutation','_sparklineDataSourceModel','extremumMax','row','BAR_CHART','MIN_SAFE_INTEGER','_sparklineAnchorMap','getCurrentUnitForType','_commandService','UniverProSheetsSparkline','addSparkline','@univerjs-pro/license','getCellRaw','number','rgb(54,78,244)','specialty','entries','sheet.mutation.add-sparkline','COMMAND','6UNFAtV','SHEET_SPARKLINE_PLUGIN','Plugin','getSheetBySheetId','getOwnPropertyDescriptor','ColorKit','SparklinePointsNames','endRow','SetSheetSparklineMutation','foreach','_exclusiveRangeService','Tools','_ensureAnchorMatrix','CUSTOM','_resourceManagerService','_initClearWithSparkline','UniverInstanceType','Inject','STRING','has','values','SPECIALTY','RefRangeService','FORCE_STRING','_onRefRangeChange','SELF_EXTREMUM','430UzKICj','removeRows','get','6553nAqUQr','registerRefRange','refRangeHandle','AddWorksheetMergeCommand','CopySheetCommand','SetColVisibleMutation','_getRefRangeMutationsByDeleteCols','@univerjs/sheets','max','MAX_SAFE_INTEGER','Range','_initCorrectRangeWithSparkline','SetRangeValuesMutation','_initDataChangeListener','SparklineExtremumTypeEnum','RemoveRowCommand','extremumMin','sheet.mutation.remove-sparkline','_injector','SPACING','DISTINCTIVE','Disposable','Subject','_initHideRowColWithSparkline','SheetInterceptorService','set','_updateConfig$','contains','BOOLEAN','IExclusiveRangeService','toJSON','rxjs','custom','rgb(236,100,169)','actualRow','groupId','sparklines','getSparklineCache','generateRandomId','negativePoint','FRESH','firstPoint','startRow','8425627RaqdkW','seriesColor','fresh','SOFT','zero_value','clearSparklineCache','dispose','DisposableCollection','RANGE_TYPE','map','SparklineDataSourceModel','config','type','Rectangle','getSizeOf','ranges','_initMergeWithSparkline','getMatrix','nonNumShowAs','CUSTOM_EXTREMUM','PROFIT_AND_LOSS_CHART','rgb(124,66,147)','RemoveColMutation','@univerjs/core','item','removeSparkline','IResourceManagerService','range','NORMAL','sheet.mutation.set-sparkline','subUnitId','ClearSelectionAllCommand','push','ObjectMatrix','updateConfig$','LINE_CHART','getSubUnitSparkline','deepClone','standard','SetColHiddenMutation','_sparklineModel','min','rgb(252,117,60)','soft','AddSheetSparklineCommand','intersects','disposableCollection','_initSnapshot','CommandType','_config','IUndoRedoService','MUTATION','next','params','_getRefRangeMutationsByDeleteRows','UniverSheetSparklinePlugin','exclusiveRangesChange$','SheetsSelectionsService','UniverCore','UNIVER_SHEET','sparklineModel','_sheetInterceptorService','RemoveRowMutation','symbol','CellValueType','getCell','themeType','getSparkline','IUniverInstanceService','toStringTag','function','1208JqnGJA'];_0x3abb=function(){return _0x1a7eeb;};return _0x3abb();}
1
+ (function(_0x300687,_0x2dd8f9){const _0x369e9d=_0x35b1,_0x1c3cd2=_0x300687();while(!![]){try{const _0x128004=parseInt(_0x369e9d(0xfa))/0x1*(-parseInt(_0x369e9d(0xad))/0x2)+-parseInt(_0x369e9d(0xdf))/0x3+-parseInt(_0x369e9d(0x190))/0x4*(parseInt(_0x369e9d(0x115))/0x5)+parseInt(_0x369e9d(0x156))/0x6*(parseInt(_0x369e9d(0x9b))/0x7)+parseInt(_0x369e9d(0x11d))/0x8+-parseInt(_0x369e9d(0xf7))/0x9*(parseInt(_0x369e9d(0xca))/0xa)+parseInt(_0x369e9d(0x188))/0xb;if(_0x128004===_0x2dd8f9)break;else _0x1c3cd2['push'](_0x1c3cd2['shift']());}catch(_0x11d296){_0x1c3cd2['push'](_0x1c3cd2['shift']());}}}(_0x1f4e,0xa2ce0),function(_0x33135a,_0x56059b){const _0x3eadf4=_0x35b1;typeof exports==_0x3eadf4(0xcf)&&typeof module<'u'?_0x56059b(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs')):typeof define==_0x3eadf4(0xff)&&define[_0x3eadf4(0xdc)]?define(['exports',_0x3eadf4(0x17a),'@univerjs/core',_0x3eadf4(0x144),_0x3eadf4(0x169)],_0x56059b):(_0x33135a=typeof globalThis<'u'?globalThis:_0x33135a||self,_0x56059b(_0x33135a['UniverProSheetsSparkline']={},_0x33135a['UniverProLicense'],_0x33135a[_0x3eadf4(0x118)],_0x33135a[_0x3eadf4(0x178)],_0x33135a[_0x3eadf4(0x169)]));}(this,function(_0x3440c7,_0x266896,_0x3ab5c5,_0x4c84b2,_0x7dae05){'use strict';const _0x2c5995=_0x35b1;var _0x2b509d=Object[_0x2c5995(0xaa)],_0x1e72ec=(_0x2830ea,_0x38c063,_0xa5307d)=>_0x38c063 in _0x2830ea?_0x2b509d(_0x2830ea,_0x38c063,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa5307d}):_0x2830ea[_0x38c063]=_0xa5307d,_0xed90e7=(_0x42adda,_0x3cbf68,_0x2fdedc)=>_0x1e72ec(_0x42adda,typeof _0x3cbf68!='symbol'?_0x3cbf68+'':_0x3cbf68,_0x2fdedc);function _0x47750b(_0x4d665c,_0x39e610){const _0x2bdaba=_0x2c5995,_0x3210b6=new _0x3ab5c5[(_0x2bdaba(0xf4))](),_0x294aa5=[],_0x1957fc=_0x4d665c['length']>0x1;let _0x14f8f2=0x0,_0x5614db=0x0;for(const _0x32e0d5 of _0x4d665c)_0x14f8f2+=_0x32e0d5['endRow']-_0x32e0d5['startRow']+0x1,_0x5614db+=_0x32e0d5[_0x2bdaba(0x12c)]-_0x32e0d5[_0x2bdaba(0x124)]+0x1;for(const _0x2aa3fd of _0x39e610)for(let _0x2fb6e2=_0x2aa3fd[_0x2bdaba(0x12e)];_0x2fb6e2<=_0x2aa3fd['endRow'];_0x2fb6e2++)for(let _0x5e71c5=_0x2aa3fd[_0x2bdaba(0x124)];_0x5e71c5<=_0x2aa3fd[_0x2bdaba(0x12c)];_0x5e71c5++)_0x294aa5[_0x2bdaba(0x181)]({'row':_0x2fb6e2,'column':_0x5e71c5});if(_0x294aa5[_0x2bdaba(0x151)]===_0x14f8f2)_0x1957fc?_0x294aa5['forEach']((_0x797c00,_0x3b1896)=>{const _0x349c51=_0x2bdaba,_0x420af4=_0x4d665c[_0x3b1896],_0x6788cc={'startRow':_0x420af4['startRow'],'startColumn':_0x420af4[_0x349c51(0x124)],'endRow':_0x420af4[_0x349c51(0x12e)],'endColumn':_0x420af4[_0x349c51(0x12c)]};_0x3210b6[_0x349c51(0xe1)](_0x797c00[_0x349c51(0xc1)],_0x797c00[_0x349c51(0x161)],_0x6788cc);}):_0x294aa5[_0x2bdaba(0xb2)]((_0x32860d,_0x50f9c7)=>{const _0x29db47=_0x2bdaba,_0x155bc7=_0x4d665c[0x0],_0x9d2a41={'startRow':_0x155bc7[_0x29db47(0x12e)]+_0x50f9c7,'startColumn':_0x155bc7['startColumn'],'endRow':_0x155bc7[_0x29db47(0x12e)]+_0x50f9c7,'endColumn':_0x155bc7[_0x29db47(0x12c)]};_0x3210b6[_0x29db47(0xe1)](_0x32860d[_0x29db47(0xc1)],_0x32860d[_0x29db47(0x161)],_0x9d2a41);});else{if(_0x294aa5[_0x2bdaba(0x151)]===_0x5614db)_0x1957fc?_0x294aa5[_0x2bdaba(0xb2)]((_0x5f51de,_0x326a16)=>{const _0x2b0a35=_0x2bdaba,_0x24dccb=_0x4d665c[_0x326a16],_0x3fbcec={'startRow':_0x24dccb['startRow'],'startColumn':_0x24dccb[_0x2b0a35(0x124)],'endRow':_0x24dccb[_0x2b0a35(0x146)],'endColumn':_0x24dccb[_0x2b0a35(0x124)]};_0x3210b6[_0x2b0a35(0xe1)](_0x5f51de['row'],_0x5f51de[_0x2b0a35(0x161)],_0x3fbcec);}):_0x294aa5[_0x2bdaba(0xb2)]((_0x4c9da9,_0x467bf7)=>{const _0x2e7fc2=_0x2bdaba,_0x2b48a8=_0x4d665c[0x0],_0x3c286e={'startRow':_0x2b48a8[_0x2e7fc2(0x12e)],'startColumn':_0x2b48a8[_0x2e7fc2(0x124)]+_0x467bf7,'endRow':_0x2b48a8[_0x2e7fc2(0x146)],'endColumn':_0x2b48a8[_0x2e7fc2(0x124)]+_0x467bf7};_0x3210b6[_0x2e7fc2(0xe1)](_0x4c9da9[_0x2e7fc2(0xc1)],_0x4c9da9[_0x2e7fc2(0x161)],_0x3c286e);});else{if(_0x294aa5[_0x2bdaba(0x151)]===_0x4d665c[_0x2bdaba(0x151)])_0x4d665c[_0x2bdaba(0xd9)](_0x59af3e=>!(_0x59af3e['startRow']!==_0x59af3e[_0x2bdaba(0x146)]&&_0x59af3e['startColumn']!==_0x59af3e[_0x2bdaba(0x12c)]))&&_0x294aa5['forEach']((_0x359c28,_0x368aa5)=>{const _0x24b492=_0x2bdaba,_0x1297a8=_0x4d665c[_0x368aa5];_0x3210b6[_0x24b492(0xe1)](_0x359c28[_0x24b492(0xc1)],_0x359c28['column'],_0x1297a8);});else throw new Error(_0x2bdaba(0xc3));}}return _0x3210b6;}const _0x307fbb=_0x2c5995(0xb1),_0x5aac55={'standard':['rgb(54,78,244)',_0x2c5995(0xd8)],'specialty':[_0x2c5995(0xcb),_0x2c5995(0xd2)],'distinctive':['rgb(124,66,147)',_0x2c5995(0xc4)],'soft':[_0x2c5995(0x130),_0x2c5995(0xa2)],'fresh':['rgb(46,187,122)',_0x2c5995(0x160)]},_0x37c5a3=[_0x2c5995(0x16d),_0x2c5995(0x158),_0x2c5995(0x103),_0x2c5995(0x10a),_0x2c5995(0x98),_0x2c5995(0x157)];var _0x550acf=(_0x34c4b9=>(_0x34c4b9['STANDARD']=_0x2c5995(0xf9),_0x34c4b9[_0x2c5995(0x164)]='specialty',_0x34c4b9[_0x2c5995(0x10c)]='distinctive',_0x34c4b9[_0x2c5995(0xa7)]='soft',_0x34c4b9['FRESH']=_0x2c5995(0x133),_0x34c4b9[_0x2c5995(0x108)]=_0x2c5995(0x13d),_0x34c4b9))(_0x550acf||{}),_0x1324e6=(_0x23d6e3=>(_0x23d6e3[_0x23d6e3[_0x2c5995(0x11f)]=0x1]=_0x2c5995(0x11f),_0x23d6e3[_0x23d6e3[_0x2c5995(0xee)]=0x2]=_0x2c5995(0xee),_0x23d6e3[_0x23d6e3[_0x2c5995(0xda)]=0x3]=_0x2c5995(0xda),_0x23d6e3[_0x23d6e3[_0x2c5995(0x137)]=0x4]=_0x2c5995(0x137),_0x23d6e3))(_0x1324e6||{}),_0x322c8c=(_0x276bfe=>(_0x276bfe[_0x2c5995(0x141)]=_0x2c5995(0x109),_0x276bfe[_0x2c5995(0xce)]=_0x2c5995(0xa3),_0x276bfe[_0x2c5995(0x125)]='connect_with_line',_0x276bfe))(_0x322c8c||{}),_0x566ab2=(_0x38385f=>(_0x38385f[_0x38385f[_0x2c5995(0x10d)]=0x1]=_0x2c5995(0x10d),_0x38385f[_0x38385f['GROUP_EXTREMUM']=0x2]=_0x2c5995(0xd4),_0x38385f[_0x38385f[_0x2c5995(0x138)]=0x3]=_0x2c5995(0x138),_0x38385f))(_0x566ab2||{}),_0x53e91f=Object[_0x2c5995(0x9f)],_0x2c49cd=(_0x527e42,_0xb8f79a,_0x501070,_0x23195c)=>{const _0x34a4b8=_0x2c5995;for(var _0x482690=_0x23195c>0x1?void 0x0:_0x23195c?_0x53e91f(_0xb8f79a,_0x501070):_0xb8f79a,_0xde587c=_0x527e42[_0x34a4b8(0x151)]-0x1,_0x7a9638;_0xde587c>=0x0;_0xde587c--)(_0x7a9638=_0x527e42[_0xde587c])&&(_0x482690=_0x7a9638(_0x482690)||_0x482690);return _0x482690;},_0x286510=(_0x560217,_0x3e529c)=>(_0x1499ef,_0x16bdf5)=>_0x3e529c(_0x1499ef,_0x16bdf5,_0x560217);_0x3440c7[_0x2c5995(0x153)]=class extends _0x3ab5c5[_0x2c5995(0x167)]{constructor(_0x23592b){const _0x534bcb=_0x2c5995;super(),_0xed90e7(this,_0x534bcb(0x155),new Map()),_0xed90e7(this,_0x534bcb(0x112),new Map()),_0xed90e7(this,_0x534bcb(0x187),new _0x7dae05[(_0x534bcb(0xf6))]()),_0xed90e7(this,'updateConfig$',this[_0x534bcb(0x187)][_0x534bcb(0x128)]()),this[_0x534bcb(0xd0)]=_0x23592b;}[_0x2c5995(0x159)](_0x41a049,_0x16c3e8){const _0xb0af1a=_0x2c5995;let _0x4e824f=this['_sparklineModel'][_0xb0af1a(0xc2)](_0x41a049);_0x4e824f||(_0x4e824f=new Map(),this[_0xb0af1a(0x155)][_0xb0af1a(0x145)](_0x41a049,_0x4e824f));let _0xbb8dee=_0x4e824f[_0xb0af1a(0xc2)](_0x16c3e8);return _0xbb8dee||(_0xbb8dee=new Map(),_0x4e824f[_0xb0af1a(0x145)](_0x16c3e8,_0xbb8dee)),_0xbb8dee;}[_0x2c5995(0xbe)](_0x9e7ddf,_0x1d1839){const _0x1af207=_0x2c5995;let _0x1d08f2=this['_sparklineAnchorMap']['get'](_0x9e7ddf);_0x1d08f2||(_0x1d08f2=new Map(),this[_0x1af207(0x112)][_0x1af207(0x145)](_0x9e7ddf,_0x1d08f2));let _0x5346c9=_0x1d08f2[_0x1af207(0xc2)](_0x1d1839);return _0x5346c9||(_0x5346c9={'matrix':new _0x3ab5c5[(_0x1af207(0xf4))](),'extra':{}},_0x1d08f2[_0x1af207(0x145)](_0x1d1839,_0x5346c9)),_0x5346c9;}[_0x2c5995(0x184)](_0x41570f,_0x201bfd,_0x3c7fc6,_0x42f75b=_0x2c5995(0x145)){const _0x252521=_0x2c5995;var _0x1df8fc,_0x30bbce,_0x4edfe7,_0x5351da,_0x32f258,_0x16ea7c,_0xaf9efb,_0x5d8dbf,_0x540624,_0x4465ca,_0x32fadb,_0x18ab7b,_0x116438;const _0x16bec2=(_0x30bbce=(_0x1df8fc=this[_0x252521(0x155)][_0x252521(0xc2)](_0x41570f))==null?void 0x0:_0x1df8fc[_0x252521(0xc2)](_0x201bfd))==null?void 0x0:_0x30bbce[_0x252521(0xc2)](_0x3c7fc6);if(!_0x16bec2)return;const _0x3e973f=_0x4c84b2[_0x252521(0xae)](this['_univerInstanceService'],{'unitId':_0x41570f,'subUnitId':_0x201bfd});if(!_0x3e973f)return;const _0x159cd6=this[_0x252521(0xbe)](_0x41570f,_0x201bfd),{extra:_0xbf3d64,matrix:_0x3dbf5e}=_0x159cd6,{worksheet:_0x129376}=_0x3e973f;let _0x30e0a2=Number[_0x252521(0xb3)],_0x2a8d5a=Number[_0x252521(0x14d)];const _0x185636=(_0x4edfe7=_0x16bec2['config'][_0x252521(0xa5)])!=null?_0x4edfe7:!0x1;_0x16bec2[_0x252521(0x170)]['forValue']((_0x160f89,_0x43032a,_0x5c5050)=>{const _0x20f894=_0x252521;var _0x1da771,_0x267350,_0x5ea47f;const _0x4cec31=_0x5c5050;let _0x4f2945=Number[_0x20f894(0xb3)],_0x116a0b=Number['MAX_SAFE_INTEGER'],_0x587834=0x0,_0x25193b=0x0;const _0x52bf06=[];if(!_0x3ab5c5['isValidRange'](_0x4cec31))_0x3dbf5e[_0x20f894(0xe1)](_0x160f89,_0x43032a,{'groupId':_0x3c7fc6,'data':[],'max':_0x4f2945,'min':_0x116a0b,'highIndex':_0x587834,'lowIndex':_0x25193b,'negativeIndexes':_0x52bf06});else{const _0x4a238f=[];for(let _0x11c8ad=_0x4cec31['startRow'];_0x11c8ad<=_0x4cec31[_0x20f894(0x146)];_0x11c8ad++){for(let _0xd28fbc=_0x4cec31['startColumn'];_0xd28fbc<=_0x4cec31[_0x20f894(0x12c)];_0xd28fbc++){const _0x5127f8=_0x129376[_0x20f894(0x10f)](_0x11c8ad),_0x1f6e1b=_0x129376['getColVisible'](_0xd28fbc);if(!_0x185636&&(!_0x5127f8||!_0x1f6e1b))continue;let _0x36a45d=0x0;const _0x372b3d=((_0x1da771=_0x129376['getCellRaw'](_0x11c8ad,_0xd28fbc))==null?void 0x0:_0x1da771['v'])!==void 0x0?_0x129376[_0x20f894(0xc5)](_0x11c8ad,_0xd28fbc):_0x129376[_0x20f894(0xf2)](_0x11c8ad,_0xd28fbc);if(!_0x372b3d||_0x372b3d['v']===void 0x0||_0x372b3d['v']===null){const _0x2980fc=(_0x267350=_0x16bec2['config'][_0x20f894(0xdd)])!=null?_0x267350:_0x322c8c[_0x20f894(0x141)];_0x2980fc===_0x322c8c[_0x20f894(0xce)]?_0x36a45d=0x0:_0x2980fc===_0x322c8c[_0x20f894(0x141)]?_0x36a45d=_0x20f894(0x168):_0x2980fc===_0x322c8c['CONNECT_WITH_LINE']&&(_0x36a45d=_0x20f894(0x192));}else{if(_0x372b3d['t']===_0x3ab5c5[_0x20f894(0xe2)][_0x20f894(0xeb)]||_0x372b3d['t']===_0x3ab5c5['CellValueType'][_0x20f894(0x163)]){const _0x218092=(_0x5ea47f=_0x16bec2[_0x20f894(0x16f)][_0x20f894(0x117)])!=null?_0x5ea47f:_0x322c8c[_0x20f894(0x141)];_0x218092===_0x322c8c[_0x20f894(0xce)]?_0x36a45d=0x0:_0x218092===_0x322c8c[_0x20f894(0x141)]?_0x36a45d=_0x20f894(0x168):_0x218092===_0x322c8c[_0x20f894(0x125)]&&(_0x36a45d='u-connect');}else _0x372b3d['t']===_0x3ab5c5[_0x20f894(0xe2)][_0x20f894(0x110)]?_0x36a45d=_0x372b3d['v']?0x1:0x0:_0x372b3d['t']===_0x3ab5c5[_0x20f894(0xe2)][_0x20f894(0xb0)]?_0x36a45d=Number(_0x372b3d['v']):_0x36a45d=_0x372b3d['v'];}if(_0x4a238f[_0x20f894(0x181)](_0x36a45d),typeof _0x36a45d==_0x20f894(0x104)){_0x4f2945=Math[_0x20f894(0xe8)](_0x4f2945,_0x36a45d),_0x30e0a2=Math[_0x20f894(0xe8)](_0x30e0a2,_0x36a45d),_0x2a8d5a=Math[_0x20f894(0xd1)](_0x2a8d5a,_0x36a45d),_0x116a0b=Math[_0x20f894(0xd1)](_0x116a0b,_0x36a45d);const _0x1f02de=typeof _0x4a238f[_0x587834]==_0x20f894(0x104)?Number(_0x4a238f[_0x587834]):Number[_0x20f894(0xb3)];_0x36a45d>_0x1f02de&&(_0x587834=_0x4a238f[_0x20f894(0x151)]-0x1);const _0x3128c6=typeof _0x4a238f[_0x25193b]=='number'?Number(_0x4a238f[_0x25193b]):Number['MAX_SAFE_INTEGER'];_0x36a45d<_0x3128c6&&(_0x25193b=_0x4a238f[_0x20f894(0x151)]-0x1),_0x36a45d<0x0&&_0x52bf06['push'](_0x4a238f[_0x20f894(0x151)]-0x1);}}_0x3dbf5e['setValue'](_0x160f89,_0x43032a,{'groupId':_0x3c7fc6,'data':_0x4a238f,'max':_0x4f2945,'min':_0x116a0b,'highIndex':_0x587834,'lowIndex':_0x25193b,'negativeIndexes':_0x52bf06});}}});let _0x3171cf=_0x30e0a2;((_0x5351da=_0x16bec2[_0x252521(0x16f)][_0x252521(0x18b)])==null?void 0x0:_0x5351da['type'])===_0x566ab2[_0x252521(0x138)]&&(_0x3171cf=(_0x16ea7c=(_0x32f258=_0x16bec2[_0x252521(0x16f)]['extremumMax'])==null?void 0x0:_0x32f258[_0x252521(0x136)])!=null?_0x16ea7c:_0x30e0a2);let _0x154c1d=_0x2a8d5a;((_0xaf9efb=_0x16bec2['config'][_0x252521(0x176)])==null?void 0x0:_0xaf9efb['type'])===_0x566ab2[_0x252521(0x138)]&&(_0x154c1d=(_0x540624=(_0x5d8dbf=_0x16bec2['config'][_0x252521(0x176)])==null?void 0x0:_0x5d8dbf[_0x252521(0x136)])!=null?_0x540624:_0x2a8d5a);const _0xe06e12=(_0x4465ca=_0x16bec2['config'][_0x252521(0xd7)])!=null?_0x4465ca:_0x550acf[_0x252521(0x17d)],_0x1aef40=(_0x116438=(_0x18ab7b=_0x16bec2[_0x252521(0x16f)][_0x252521(0x147)])!=null?_0x18ab7b:(_0x32fadb=_0x5aac55[_0xe06e12])==null?void 0x0:_0x32fadb[0x0])!=null?_0x116438:_0x5aac55['standard'][0x0],_0x5b93cb=new _0x3ab5c5['ColorKit'](_0x1aef40),_0x52e80a=_0x5b93cb[_0x252521(0x18c)](0.2)[_0x252521(0x113)](),_0x4f3767=_0x5b93cb[_0x252521(0x18c)](0.05)[_0x252521(0x113)]();_0xbf3d64[_0x3c7fc6]={'groupMax':_0x30e0a2,'groupMin':_0x2a8d5a,'showMax':_0x3171cf,'showMin':_0x154c1d,'startGradient':_0x52e80a,'endGradient':_0x4f3767},this[_0x252521(0x187)][_0x252521(0x131)]({'unitId':_0x41570f,'subUnitId':_0x201bfd,'groupId':_0x3c7fc6,'config':_0x16bec2,'type':_0x42f75b});}['addSparkline'](_0x20230d,_0x1762ed,_0x348cad,_0x4702d0){const _0x44a613=_0x2c5995;this[_0x44a613(0x159)](_0x20230d,_0x1762ed)[_0x44a613(0x145)](_0x348cad,_0x4702d0),this[_0x44a613(0x184)](_0x20230d,_0x1762ed,_0x348cad,_0x44a613(0xe3));}[_0x2c5995(0xfc)](_0x1b347a,_0x38ba18,_0xecb80b,_0x1c244c){const _0x2863c4=_0x2c5995;var _0x9434a5;const _0x206ad7=(_0x9434a5=this['_sparklineModel'][_0x2863c4(0xc2)](_0x1b347a))==null?void 0x0:_0x9434a5[_0x2863c4(0xc2)](_0x38ba18);_0xecb80b[_0x2863c4(0xb2)](_0x3d78b8=>{const _0x5123ab=_0x2863c4;_0x206ad7!=null&&_0x206ad7[_0x5123ab(0x114)](_0x3d78b8)&&(_0x206ad7[_0x5123ab(0x145)](_0x3d78b8,_0x1c244c),this[_0x5123ab(0x184)](_0x1b347a,_0x38ba18,_0x3d78b8));});}[_0x2c5995(0x126)](_0x11d2df,_0x47f3a6,_0xb26a83){const _0xa9e4ed=_0x2c5995;var _0x1d1053,_0x322b7a;const _0x4919ed=this[_0xa9e4ed(0x155)][_0xa9e4ed(0xc2)](_0x11d2df);if(_0x4919ed){const _0x5e180f=_0x4919ed[_0xa9e4ed(0xc2)](_0x47f3a6);if(_0x5e180f){_0x5e180f[_0xa9e4ed(0x99)](_0xb26a83);const _0x488772=(_0x1d1053=this['_sparklineAnchorMap'][_0xa9e4ed(0xc2)](_0x11d2df))==null?void 0x0:_0x1d1053[_0xa9e4ed(0xc2)](_0x47f3a6);(_0x322b7a=_0x488772==null?void 0x0:_0x488772['matrix'])==null||_0x322b7a[_0xa9e4ed(0xd6)]((_0x3c3f62,_0x5cebc8,_0x36fa01)=>{const _0x2c02a7=_0xa9e4ed;(_0x36fa01==null?void 0x0:_0x36fa01[_0x2c02a7(0x18e)])===_0xb26a83&&(_0x488772==null||_0x488772[_0x2c02a7(0x17c)]['realDeleteValue'](_0x3c3f62,_0x5cebc8));}),this[_0xa9e4ed(0x187)]['next']({'unitId':_0x11d2df,'subUnitId':_0x47f3a6,'groupId':_0xb26a83,'type':_0xa9e4ed(0x13e)});}}}[_0x2c5995(0x139)](_0x4ff0b0,_0x4f6838,_0x6974cf,_0x48ef19){const _0x1be35b=_0x2c5995;var _0x311b64,_0x43179b,_0xdb00b7,_0x486bac;const _0x54ea8d=(_0x311b64=this['_sparklineAnchorMap'][_0x1be35b(0xc2)](_0x4ff0b0))==null?void 0x0:_0x311b64[_0x1be35b(0xc2)](_0x4f6838),_0x4fce62=_0x54ea8d==null?void 0x0:_0x54ea8d[_0x1be35b(0x17c)][_0x1be35b(0xe6)](_0x6974cf,_0x48ef19);if(_0x4fce62){const {groupId:_0x467683}=_0x4fce62,_0x4930ca=(_0x43179b=this['_sparklineModel'][_0x1be35b(0xc2)](_0x4ff0b0))==null?void 0x0:_0x43179b[_0x1be35b(0xc2)](_0x4f6838);(_0xdb00b7=_0x4930ca==null?void 0x0:_0x4930ca[_0x1be35b(0xc2)](_0x467683))==null||_0xdb00b7['sparklines'][_0x1be35b(0x122)](_0x6974cf,_0x48ef19),(_0x486bac=_0x4930ca==null?void 0x0:_0x4930ca[_0x1be35b(0xc2)](_0x467683))!=null&&_0x486bac[_0x1be35b(0x170)][_0x1be35b(0xb5)]()||_0x4930ca==null||_0x4930ca[_0x1be35b(0x99)](_0x467683),_0x54ea8d==null||_0x54ea8d[_0x1be35b(0x17c)][_0x1be35b(0x122)](_0x6974cf,_0x48ef19),this['_updateConfig$'][_0x1be35b(0x131)]({'unitId':_0x4ff0b0,'subUnitId':_0x4f6838,'groupId':_0x467683,'type':'remove'});}}[_0x2c5995(0xbd)](_0x3901d6,_0x2cdcaa,_0x352de9){const _0x16799e=_0x2c5995;var _0xd54fbb,_0x4a251a,_0xdfb4e2,_0x19e457;const _0x3bc620=(_0xdfb4e2=(_0x4a251a=(_0xd54fbb=this[_0x16799e(0x155)][_0x16799e(0xc2)](_0x3901d6))==null?void 0x0:_0xd54fbb['get'](_0x2cdcaa))==null?void 0x0:_0x4a251a[_0x16799e(0xc2)](_0x352de9))==null?void 0x0:_0xdfb4e2[_0x16799e(0x170)],_0x18e32c=(_0x19e457=this[_0x16799e(0x112)][_0x16799e(0xc2)](_0x3901d6))==null?void 0x0:_0x19e457[_0x16799e(0xc2)](_0x2cdcaa);if(_0x3bc620&&_0x18e32c){const {matrix:_0x1f77e1,extra:_0x530859}=_0x18e32c;_0x3bc620[_0x16799e(0xd6)]((_0x4d6896,_0x3be484,_0x49dae0)=>{_0x1f77e1['realDeleteValue'](_0x4d6896,_0x3be484);}),delete _0x530859[_0x352de9];}}[_0x2c5995(0xf3)](_0x47db7b,_0x3715f5){const _0x49df4e=_0x2c5995;var _0x2b1c50;return(_0x2b1c50=this[_0x49df4e(0x155)][_0x49df4e(0xc2)](_0x47db7b))==null?void 0x0:_0x2b1c50['get'](_0x3715f5);}[_0x2c5995(0x143)](_0x8b0230,_0xe58620,_0x4c9134){const _0x556103=_0x2c5995;var _0x30c82b,_0x58e4ea;return(_0x58e4ea=(_0x30c82b=this[_0x556103(0x155)][_0x556103(0xc2)](_0x8b0230))==null?void 0x0:_0x30c82b[_0x556103(0xc2)](_0xe58620))==null?void 0x0:_0x58e4ea['get'](_0x4c9134);}[_0x2c5995(0xdb)](_0x44e1c9,_0x21f1e8,_0x4919a4,_0x15c2f0){const _0x364c93=_0x2c5995;var _0x484b48,_0x5319f2,_0x9671ac;return(_0x9671ac=(_0x5319f2=(_0x484b48=this[_0x364c93(0x112)]['get'](_0x44e1c9))==null?void 0x0:_0x484b48[_0x364c93(0xc2)](_0x21f1e8))==null?void 0x0:_0x5319f2['matrix']['getValue'](_0x4919a4,_0x15c2f0))==null?void 0x0:_0x9671ac['groupId'];}[_0x2c5995(0x127)](_0x2da3a3,_0x418f4e){const _0x457b67=_0x2c5995;var _0x1138ed;const _0x4f5a18=this[_0x457b67(0xbe)](_0x2da3a3,_0x418f4e);_0x4f5a18['matrix'][_0x457b67(0xd6)]((_0xd04cd7,_0x246f82,_0x1f6af0)=>{const _0x1a3e7f=_0x457b67;_0x4f5a18[_0x1a3e7f(0x17c)][_0x1a3e7f(0x122)](_0xd04cd7,_0x246f82);});const _0x182d64=(_0x1138ed=this[_0x457b67(0x155)][_0x457b67(0xc2)](_0x2da3a3))==null?void 0x0:_0x1138ed[_0x457b67(0xc2)](_0x418f4e);if(_0x182d64){for(const [_0x1ca31b,_0x54203c]of _0x182d64)this[_0x457b67(0x184)](_0x2da3a3,_0x418f4e,_0x1ca31b);}}['getSparklineCache'](){const _0x4eeb29=_0x2c5995;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x4eeb29(0x112)]};}[_0x2c5995(0xd5)](_0x29e3a9){const _0x1cd06f=_0x2c5995,_0x1d9fb4={};if(this[_0x1cd06f(0x155)][_0x1cd06f(0x114)](_0x29e3a9)){_0x1d9fb4[_0x29e3a9]={};const _0x3abdc2=this[_0x1cd06f(0x155)][_0x1cd06f(0xc2)](_0x29e3a9);_0x3abdc2!=null&&_0x3abdc2[_0x1cd06f(0x10e)]&&Array['from'](_0x3abdc2['keys']())[_0x1cd06f(0xb2)](_0x8f791f=>{const _0x437bc9=_0x1cd06f;_0x1d9fb4[_0x29e3a9][_0x8f791f]={};const _0x2bee8b=_0x3abdc2[_0x437bc9(0xc2)](_0x8f791f);_0x2bee8b!=null&&_0x2bee8b[_0x437bc9(0x10e)]&&Array[_0x437bc9(0xc0)](_0x2bee8b[_0x437bc9(0x18d)]())[_0x437bc9(0xb2)](_0x120be4=>{const _0x31e28c=_0x437bc9,_0x2260ae=_0x2bee8b[_0x31e28c(0xc2)](_0x120be4);_0x2260ae&&(_0x1d9fb4[_0x29e3a9][_0x8f791f][_0x120be4]={'config':_0x2260ae['config'],'sparklines':_0x2260ae[_0x31e28c(0x170)][_0x31e28c(0x9d)]()});});});}return _0x1d9fb4;}[_0x2c5995(0x14b)](_0x406ac9){const _0x166fb8=_0x2c5995;if(!_0x406ac9)return;Object['keys'](_0x406ac9)[_0x166fb8(0xb2)](_0x4447ec=>{const _0x491904=_0x166fb8,_0x5511c1=_0x406ac9[_0x4447ec];_0x5511c1&&Object[_0x491904(0x18d)](_0x5511c1)[_0x491904(0xb2)](_0x191a35=>{const _0x13ab61=_0x491904,_0x1fbb0c=_0x5511c1[_0x191a35];_0x1fbb0c&&Object[_0x13ab61(0x18d)](_0x1fbb0c)[_0x13ab61(0xb2)](_0x1351d1=>{const _0x1d5fd8=_0x13ab61,_0x38e3c9=_0x1fbb0c[_0x1351d1];if(_0x38e3c9){const _0x526d17={'config':_0x38e3c9['config'],'sparklines':new _0x3ab5c5[(_0x1d5fd8(0xf4))](_0x38e3c9[_0x1d5fd8(0x170)])};this[_0x1d5fd8(0x9a)](_0x4447ec,_0x191a35,_0x1351d1,_0x526d17);}});});});}[_0x2c5995(0x9e)](_0x3e25e4){const _0x3e1bf4=_0x2c5995,_0x5d1468=this[_0x3e1bf4(0x155)][_0x3e1bf4(0xc2)](_0x3e25e4);if(_0x5d1468){for(const [_0x1b5630]of _0x5d1468){const _0x2563ab=_0x5d1468[_0x3e1bf4(0xc2)](_0x1b5630);if(_0x2563ab){for(const [_0x448636]of _0x2563ab)this[_0x3e1bf4(0xbd)](_0x3e25e4,_0x1b5630,_0x448636);}}this[_0x3e1bf4(0x155)][_0x3e1bf4(0x99)](_0x3e25e4);}}},_0x3440c7[_0x2c5995(0x153)]=_0x2c49cd([_0x286510(0x0,_0x3ab5c5['Inject'](_0x3ab5c5['IUniverInstanceService']))],_0x3440c7[_0x2c5995(0x153)]);const _0x283169={'id':_0x2c5995(0xfe),'type':_0x3ab5c5[_0x2c5995(0x180)]['MUTATION'],'handler':(_0x586e41,_0x13cbfa)=>{const _0x56c768=_0x2c5995;if(!_0x13cbfa)return!0x1;const {sparklineConfigMap:_0x689c0d,unitId:_0x188f93,subUnitId:_0x2e6bc0}=_0x13cbfa,_0x333ed6=_0x586e41[_0x56c768(0xc2)](_0x3440c7[_0x56c768(0x153)]);return Object[_0x56c768(0x106)](_0x689c0d)['forEach'](([_0x15c69d,_0x97031b])=>{const _0x247334=_0x56c768,_0x285d57={'config':_0x97031b[_0x247334(0x16f)],'sparklines':new _0x3ab5c5[(_0x247334(0xf4))](_0x97031b[_0x247334(0x170)])};_0x333ed6[_0x247334(0x9a)](_0x188f93,_0x2e6bc0,_0x15c69d,_0x285d57);}),!0x0;}},_0x580935={'id':_0x2c5995(0x18f),'type':_0x3ab5c5['CommandType'][_0x2c5995(0xbf)],'handler':(_0x14969b,_0x43cd98)=>{const _0x4ca20f=_0x2c5995;if(!_0x43cd98)return!0x1;const {unitId:_0x1752f5,subUnitId:_0x3ff8a8,ranges:_0x4dbccc,isSingle:_0x34f6d8,groupIds:_0x354267}=_0x43cd98,_0x2290d8=_0x14969b[_0x4ca20f(0xc2)](_0x3440c7[_0x4ca20f(0x153)]);return _0x354267?(_0x354267[_0x4ca20f(0xb2)](_0x130ebb=>{const _0x523391=_0x4ca20f;_0x2290d8[_0x523391(0x126)](_0x1752f5,_0x3ff8a8,_0x130ebb);}),!0x0):_0x4dbccc?(_0x4dbccc[_0x4ca20f(0xb2)](_0x437958=>{const _0x422546=_0x4ca20f;_0x3ab5c5[_0x422546(0xb9)]['foreach'](_0x437958,(_0x7548d1,_0x192850)=>{const _0x389a93=_0x2290d8['getSparkline'](_0x1752f5,_0x3ff8a8,_0x7548d1,_0x192850);_0x389a93&&(_0x34f6d8?_0x2290d8['removePartSparkline'](_0x1752f5,_0x3ff8a8,_0x7548d1,_0x192850):_0x2290d8['removeSparkline'](_0x1752f5,_0x3ff8a8,_0x389a93));});}),!0x0):!0x1;}},_0x1d0b00={'id':_0x2c5995(0x107),'type':_0x3ab5c5[_0x2c5995(0x180)][_0x2c5995(0x120)],'handler':(_0x3a3239,_0x66c09)=>{const _0x25665d=_0x2c5995;if(!_0x66c09)return!0x1;const {sourceRanges:_0x56491d,targetRanges:_0x292db5,config:_0x2b2f40}=_0x66c09,_0x2fcb47=_0x3a3239[_0x25665d(0xc2)](_0x3ab5c5['IUndoRedoService']),_0x27b48c='g_'+_0x3ab5c5[_0x25665d(0xa4)](0x6),_0x59cd51=_0x47750b(_0x56491d,_0x292db5),_0x155ba7={'config':_0x2b2f40!=null?_0x2b2f40:{},'sparklines':_0x59cd51['getMatrix']()},_0x2ad30b=_0x3a3239[_0x25665d(0xc2)](_0x3ab5c5[_0x25665d(0xf0)]),_0x31ef8b=_0x3a3239[_0x25665d(0xc2)](_0x3440c7[_0x25665d(0x153)]),_0x6dae39=_0x4c84b2[_0x25665d(0xae)](_0x2ad30b);if(!_0x6dae39)return!0x1;const {unitId:_0x4e0c26,subUnitId:_0x386c88}=_0x6dae39,_0x5b94a0=_0x3a3239[_0x25665d(0xc2)](_0x3ab5c5[_0x25665d(0x100)]),_0x5cf84a=[],_0x26eba6=[],_0x7a2465={},_0x2691b2={},_0x24581d=new Set([_0x27b48c]);_0x59cd51[_0x25665d(0xd6)]((_0x30ae9f,_0x50225b,_0x438cbb)=>{const _0x2e119f=_0x25665d,_0x1ea67c=_0x31ef8b['getSparkline'](_0x4e0c26,_0x386c88,_0x30ae9f,_0x50225b);if(_0x1ea67c){const _0x577c07=_0x31ef8b[_0x2e119f(0x143)](_0x4e0c26,_0x386c88,_0x1ea67c);if(_0x577c07){_0x24581d[_0x2e119f(0xe3)](_0x1ea67c);let _0x12e9c1=_0x7a2465[_0x1ea67c],_0x244eee=_0x2691b2[_0x1ea67c];_0x244eee||(_0x244eee={'config':_0x3ab5c5['Tools'][_0x2e119f(0x183)](_0x577c07['config']),'sparklines':new _0x3ab5c5[(_0x2e119f(0xf4))](_0x577c07[_0x2e119f(0x170)][_0x2e119f(0xbb)]())},_0x2691b2[_0x1ea67c]=_0x244eee),_0x12e9c1||(_0x12e9c1={'config':_0x3ab5c5[_0x2e119f(0xfd)][_0x2e119f(0x183)](_0x577c07[_0x2e119f(0x16f)]),'sparklines':_0x577c07[_0x2e119f(0x170)][_0x2e119f(0xbb)]()},_0x7a2465[_0x1ea67c]=_0x12e9c1),_0x244eee['sparklines'][_0x2e119f(0x122)](_0x30ae9f,_0x50225b);}}});const _0x47dd4d={};return Object['entries'](_0x2691b2)[_0x25665d(0xb2)](([_0x31b066,_0x15319f])=>{const _0x31ebb9=_0x25665d;_0x15319f[_0x31ebb9(0x170)][_0x31ebb9(0x17f)]()&&(_0x47dd4d[_0x31b066]={'config':_0x15319f[_0x31ebb9(0x16f)],'sparklines':_0x15319f['sparklines']['clone']()});}),_0x47dd4d[_0x27b48c]=_0x155ba7,_0x5cf84a['push']({'id':_0x580935['id'],'params':{'unitId':_0x4e0c26,'subUnitId':_0x386c88,'groupIds':Array[_0x25665d(0xc0)](_0x24581d),'isSingle':!0x1}}),_0x24581d[_0x25665d(0x10e)]>0x1&&(_0x26eba6[_0x25665d(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4e0c26,'subUnitId':_0x386c88,'groupIds':Array[_0x25665d(0xc0)](_0x24581d),'isSingle':!0x1}}),_0x5cf84a[_0x25665d(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4e0c26,'subUnitId':_0x386c88,'sparklineConfigMap':_0x7a2465}})),_0x26eba6[_0x25665d(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4e0c26,'subUnitId':_0x386c88,'sparklineConfigMap':_0x47dd4d}}),_0x3ab5c5[_0x25665d(0x13a)](_0x26eba6,_0x5b94a0),_0x2fcb47[_0x25665d(0x172)]({'unitID':_0x4e0c26,'undoMutations':_0x5cf84a,'redoMutations':_0x26eba6}),!0x0;}},_0x3e5c6a={'id':_0x2c5995(0x165),'type':_0x3ab5c5[_0x2c5995(0x180)]['COMMAND'],'handler':(_0x5eb3db,_0x20d643)=>{const _0x483c54=_0x2c5995;var _0x22c515;const {isSingle:_0x32bdbe=!0x0}=_0x20d643||{},_0x35a83d=_0x5eb3db[_0x483c54(0xc2)](_0x3ab5c5[_0x483c54(0x100)]),_0x42936c=_0x5eb3db[_0x483c54(0xc2)](_0x3ab5c5['IUniverInstanceService']),_0x4fae25=_0x5eb3db['get'](_0x3440c7[_0x483c54(0x153)]),_0x57a4dd=_0x5eb3db[_0x483c54(0xc2)](_0x3ab5c5[_0x483c54(0x10b)]),_0x47abfa=_0x4c84b2[_0x483c54(0xae)](_0x42936c);if(!_0x47abfa)return!0x1;const _0xbb8514=_0x5eb3db[_0x483c54(0xc2)](_0x4c84b2[_0x483c54(0x101)]),_0x6f4322=(_0x22c515=_0x20d643==null?void 0x0:_0x20d643[_0x483c54(0xc6)])!=null?_0x22c515:_0xbb8514[_0x483c54(0x12b)]()[_0x483c54(0x121)](_0x6de163=>_0x6de163[_0x483c54(0x105)]),{unitId:_0x2c3d00,subUnitId:_0x4cf5c0}=_0x47abfa,_0x564db4=[],_0x23e22b=[];_0x564db4['push']({'id':_0x580935['id'],'params':{'unitId':_0x2c3d00,'subUnitId':_0x4cf5c0,'ranges':_0x6f4322,'isSingle':_0x32bdbe}});const _0x8a7f22=[],_0x3ba7ac={};return _0x6f4322[_0x483c54(0xb2)](_0x3ee955=>{const _0x18f9e6=_0x483c54;_0x3ab5c5[_0x18f9e6(0xb9)][_0x18f9e6(0xde)](_0x3ee955,(_0x3c764b,_0x4462a2)=>{const _0x44af9d=_0x18f9e6,_0x25061a=_0x4fae25[_0x44af9d(0xdb)](_0x2c3d00,_0x4cf5c0,_0x3c764b,_0x4462a2);if(_0x25061a){const _0x53f9df=_0x4fae25[_0x44af9d(0x143)](_0x2c3d00,_0x4cf5c0,_0x25061a);_0x53f9df&&(_0x8a7f22[_0x44af9d(0x181)](_0x25061a),_0x3ba7ac[_0x25061a]={'config':_0x3ab5c5[_0x44af9d(0xfd)][_0x44af9d(0x183)](_0x53f9df['config']),'sparklines':_0x3ab5c5[_0x44af9d(0xfd)]['deepClone'](_0x53f9df[_0x44af9d(0x170)]['clone']())});}});}),_0x23e22b[_0x483c54(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x2c3d00,'subUnitId':_0x4cf5c0,'groupIds':_0x8a7f22,'isSingle':!0x1}}),_0x23e22b['push']({'id':_0x283169['id'],'params':{'unitId':_0x2c3d00,'subUnitId':_0x4cf5c0,'sparklineConfigMap':_0x3ba7ac}}),_0x3ab5c5[_0x483c54(0x13a)](_0x564db4,_0x35a83d),_0x57a4dd[_0x483c54(0x172)]({'unitID':_0x2c3d00,'undoMutations':_0x23e22b,'redoMutations':_0x564db4}),!0x0;}},_0xd8a025={'id':_0x2c5995(0x166),'type':_0x3ab5c5[_0x2c5995(0x180)]['MUTATION'],'handler':(_0x9d0add,_0x243259)=>{const _0x313ec3=_0x2c5995;if(!_0x243259)return!0x1;const {unitId:_0x4057b1,subUnitId:_0x2b9faa,groupIds:_0x583312,config:_0x12f1df}=_0x243259,_0x4755a8=_0x9d0add['get'](_0x3440c7[_0x313ec3(0x153)]);return _0x583312[_0x313ec3(0xb2)](_0x508fa4=>{const _0x131efe=_0x313ec3,_0x2943df=_0x4755a8[_0x131efe(0x143)](_0x4057b1,_0x2b9faa,_0x508fa4);if(_0x2943df){const _0x32a810={'config':Object[_0x131efe(0x123)]({},_0x2943df[_0x131efe(0x16f)],_0x12f1df[_0x131efe(0x16f)]),'sparklines':new _0x3ab5c5[(_0x131efe(0xf4))](_0x2943df[_0x131efe(0x170)][_0x131efe(0xbb)]())};_0x4755a8[_0x131efe(0xfc)](_0x4057b1,_0x2b9faa,[_0x508fa4],_0x32a810);}}),!0x0;}},_0x2f1a69={'id':_0x2c5995(0xe7),'type':_0x3ab5c5['CommandType'][_0x2c5995(0x120)],'handler':(_0x39cb71,_0x3088fd)=>{const _0x50bb15=_0x2c5995;var _0x1c09af,_0x50b071,_0x3cbe87,_0x5aed12;if(!_0x3088fd)return!0x1;const _0xd53e68=_0x39cb71[_0x50bb15(0xc2)](_0x3ab5c5[_0x50bb15(0x100)]),_0x2e12dd=_0x39cb71[_0x50bb15(0xc2)](_0x4c84b2[_0x50bb15(0x101)]),_0x349b35=_0x39cb71[_0x50bb15(0xc2)](_0x3440c7[_0x50bb15(0x153)]),_0x3de47e=_0x39cb71[_0x50bb15(0xc2)](_0x3ab5c5[_0x50bb15(0xf0)]),_0x453839=_0x39cb71[_0x50bb15(0xc2)](_0x3ab5c5['IUndoRedoService']),_0x4f023f=_0x4c84b2[_0x50bb15(0xae)](_0x3de47e);if(!_0x4f023f)return!0x1;const {unitId:_0x4d11dd,subUnitId:_0x3f9d5a}=_0x4f023f,_0x24239b=(_0x1c09af=_0x3088fd==null?void 0x0:_0x3088fd[_0x50bb15(0xc6)])!=null?_0x1c09af:_0x2e12dd['getCurrentSelections']()[_0x50bb15(0x121)](_0x5e6c81=>_0x5e6c81['range']),_0xd7055f=(_0x50b071=_0x349b35[_0x50bb15(0xa1)]()[_0x50bb15(0x9c)][_0x50bb15(0xc2)](_0x4d11dd))==null?void 0x0:_0x50b071[_0x50bb15(0xc2)](_0x3f9d5a),{isChangeDataSource:_0x589b20,config:_0x559d60,combine:_0x4e919a,unCombine:_0x4960ce}=_0x3088fd;if(_0x4e919a){const _0x2d1371=[],_0x4d0c55=[];_0x2d1371[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'ranges':_0x24239b,'isSingle':!0x0}});const _0x142365='g_'+_0x3ab5c5[_0x50bb15(0xa4)](0x6),_0x3c6d06=new _0x3ab5c5[(_0x50bb15(0xf4))](),_0x401093=(_0x3cbe87=_0x349b35[_0x50bb15(0xa1)]()[_0x50bb15(0x175)][_0x50bb15(0xc2)](_0x4d11dd))==null?void 0x0:_0x3cbe87[_0x50bb15(0xc2)](_0x3f9d5a),_0x3714cd=new Set([_0x142365]),_0x2831a2={};return _0x24239b[_0x50bb15(0xb2)](_0x53d029=>{const _0x1c5983=_0x50bb15;var _0x18e951,_0x5df5d6;const {startRow:_0x3521ca,endRow:_0x513864,startColumn:_0x4c339b,endColumn:_0x1b6f93}=_0x53d029;for(let _0x3cf823=_0x3521ca;_0x3cf823<=_0x513864;_0x3cf823++)for(let _0x325b45=_0x4c339b;_0x325b45<=_0x1b6f93;_0x325b45++){const _0x12b941=(_0x18e951=_0xd7055f==null?void 0x0:_0xd7055f['matrix']['getValue'](_0x3cf823,_0x325b45))==null?void 0x0:_0x18e951[_0x1c5983(0x18e)];if(_0x12b941){_0x3714cd[_0x1c5983(0xe3)](_0x12b941);const _0x262f88=_0x349b35[_0x1c5983(0x143)](_0x4d11dd,_0x3f9d5a,_0x12b941);_0x262f88&&(_0x2831a2[_0x12b941]={'config':_0x3ab5c5[_0x1c5983(0xfd)][_0x1c5983(0x183)](_0x262f88[_0x1c5983(0x16f)]),'sparklines':_0x3ab5c5[_0x1c5983(0xfd)]['deepClone'](_0x262f88[_0x1c5983(0x170)][_0x1c5983(0xbb)]())});const _0x4fb384=(_0x5df5d6=_0x401093==null?void 0x0:_0x401093[_0x1c5983(0xc2)](_0x12b941))==null?void 0x0:_0x5df5d6['sparklines'][_0x1c5983(0xe6)](_0x3cf823,_0x325b45);_0x4fb384&&_0x3c6d06[_0x1c5983(0xe1)](_0x3cf823,_0x325b45,_0x4fb384);}}}),_0x2d1371[_0x50bb15(0x181)]({'id':_0x283169['id'],'params':{'sparklineConfigMap':{[_0x142365]:{'config':_0x3ab5c5[_0x50bb15(0xfd)][_0x50bb15(0x183)](_0x559d60[_0x50bb15(0x16f)]),'sparklines':_0x3c6d06[_0x50bb15(0x9d)]()}},'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a}}),_0x4d0c55[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'isSingle':!0x1,'groupIds':Array['from'](_0x3714cd)}}),_0x4d0c55['push']({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':_0x2831a2}}),_0x3ab5c5['sequenceExecute'](_0x2d1371,_0xd53e68),_0x453839[_0x50bb15(0x172)]({'unitID':_0x4d11dd,'undoMutations':_0x4d0c55,'redoMutations':_0x2d1371}),!0x0;}else{if(_0x4960ce){const _0x224dc3=[],_0x38efe2=[];_0x224dc3[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'ranges':_0x24239b,'isSingle':!0x0}});const _0x1721ca=(_0x5aed12=_0x349b35[_0x50bb15(0xa1)]()[_0x50bb15(0x175)][_0x50bb15(0xc2)](_0x4d11dd))==null?void 0x0:_0x5aed12[_0x50bb15(0xc2)](_0x3f9d5a),_0x20f55a={},_0x5851e3=new Set(),_0x536213={};return _0x24239b[_0x50bb15(0xb2)](_0xf5ef6a=>{const _0xaa8908=_0x50bb15;var _0x19740e,_0x22b5db;const {startRow:_0x172de7,endRow:_0x1c73f4,startColumn:_0x51046f,endColumn:_0x2c7e9e}=_0xf5ef6a;for(let _0x21520b=_0x172de7;_0x21520b<=_0x1c73f4;_0x21520b++)for(let _0x529484=_0x51046f;_0x529484<=_0x2c7e9e;_0x529484++){const _0x3c787a=(_0x19740e=_0xd7055f==null?void 0x0:_0xd7055f[_0xaa8908(0x17c)][_0xaa8908(0xe6)](_0x21520b,_0x529484))==null?void 0x0:_0x19740e[_0xaa8908(0x18e)];if(_0x3c787a){const _0x356063=new _0x3ab5c5['ObjectMatrix'](),_0x3e7192='g_'+_0x3ab5c5['generateRandomId'](0x6);_0x5851e3['add'](_0x3c787a),_0x5851e3['add'](_0x3e7192);const _0x386a35=_0x349b35[_0xaa8908(0x143)](_0x4d11dd,_0x3f9d5a,_0x3c787a);_0x386a35&&(_0x536213[_0x3c787a]={'config':_0x3ab5c5[_0xaa8908(0xfd)]['deepClone'](_0x386a35[_0xaa8908(0x16f)]),'sparklines':_0x3ab5c5[_0xaa8908(0xfd)][_0xaa8908(0x183)](_0x386a35[_0xaa8908(0x170)]['clone']())});const _0x5f2916=(_0x22b5db=_0x1721ca==null?void 0x0:_0x1721ca['get'](_0x3c787a))==null?void 0x0:_0x22b5db[_0xaa8908(0x170)][_0xaa8908(0xe6)](_0x21520b,_0x529484);_0x5f2916&&_0x356063[_0xaa8908(0xe1)](_0x21520b,_0x529484,_0x5f2916),_0x20f55a[_0x3e7192]={'sparklines':_0x356063[_0xaa8908(0x9d)](),'config':_0x3ab5c5['Tools']['deepClone'](_0x559d60['config'])};}}}),_0x224dc3[_0x50bb15(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':_0x20f55a}}),_0x38efe2[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'isSingle':!0x1,'groupIds':Array[_0x50bb15(0xc0)](_0x5851e3)}}),_0x38efe2['push']({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':_0x536213}}),_0x3ab5c5[_0x50bb15(0x13a)](_0x224dc3,_0xd53e68),_0x453839[_0x50bb15(0x172)]({'unitID':_0x4d11dd,'undoMutations':_0x38efe2,'redoMutations':_0x224dc3}),!0x0;}}if(_0x589b20){const _0x5db74d=_0x3088fd['changeDataSourceInfo'];if(!_0x5db74d)return!0x1;const {groupId:_0x2102a6,sourceRanges:_0x27731e,targetRanges:_0x412c78,resetType:_0x38680f,primary:_0x1fa13e}=_0x5db74d,_0x2dac08=[],_0x479b1c=[];_0x2dac08[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'ranges':_0x24239b,'isSingle':!0x1,'groupIds':[_0x2102a6]}}),_0x479b1c[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'ranges':_0x24239b,'isSingle':!0x1,'groupIds':[_0x2102a6]}});let _0x565962;_0x38680f===_0x50bb15(0xbc)?(_0x565962=new _0x3ab5c5['ObjectMatrix'](_0x559d60[_0x50bb15(0x170)]['clone']()),_0x565962[_0x50bb15(0x122)](_0x1fa13e[_0x50bb15(0x13c)],_0x1fa13e[_0x50bb15(0x14c)]),_0x565962['setValue'](_0x412c78[0x0][_0x50bb15(0x12e)],_0x412c78[0x0][_0x50bb15(0x124)],_0x27731e[0x0])):_0x565962=_0x47750b(_0x27731e,_0x412c78);const _0x5d8753={'config':_0x3ab5c5[_0x50bb15(0xfd)][_0x50bb15(0x183)](_0x559d60['config']),'sparklines':_0x565962['getMatrix']()},_0x38e5a8={'config':_0x3ab5c5[_0x50bb15(0xfd)][_0x50bb15(0x183)](_0x559d60['config']),'sparklines':_0x3ab5c5[_0x50bb15(0xfd)]['deepClone'](_0x559d60[_0x50bb15(0x170)]['clone']())};_0x2dac08[_0x50bb15(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':{[_0x2102a6]:_0x5d8753}}}),_0x479b1c[_0x50bb15(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':{[_0x2102a6]:_0x38e5a8}}}),_0x3ab5c5[_0x50bb15(0x13a)](_0x2dac08,_0xd53e68),_0x453839['pushUndoRedo']({'unitID':_0x4d11dd,'undoMutations':_0x479b1c,'redoMutations':_0x2dac08});}else{const _0x16182d=[],_0xba9f47=[],_0x35ca78=new Set(),_0x53c82a={};_0x24239b['forEach'](_0x5ca709=>{const _0x56ac89=_0x50bb15;var _0x22fffa;const {startRow:_0x21b809,endRow:_0x53af21,startColumn:_0x9aabd4,endColumn:_0x52b866}=_0x5ca709;for(let _0x3fc529=_0x21b809;_0x3fc529<=_0x53af21;_0x3fc529++)for(let _0x4d8c84=_0x9aabd4;_0x4d8c84<=_0x52b866;_0x4d8c84++){const _0x309fdc=(_0x22fffa=_0xd7055f==null?void 0x0:_0xd7055f[_0x56ac89(0x17c)][_0x56ac89(0xe6)](_0x3fc529,_0x4d8c84))==null?void 0x0:_0x22fffa[_0x56ac89(0x18e)];if(_0x309fdc){_0x35ca78[_0x56ac89(0xe3)](_0x309fdc);const _0x26a546=_0x349b35['getSparklineById'](_0x4d11dd,_0x3f9d5a,_0x309fdc);_0x26a546&&(_0x53c82a[_0x309fdc]={'config':_0x3ab5c5[_0x56ac89(0xfd)][_0x56ac89(0x183)](_0x26a546[_0x56ac89(0x16f)]),'sparklines':_0x3ab5c5[_0x56ac89(0xfd)][_0x56ac89(0x183)](_0x26a546['sparklines'][_0x56ac89(0xbb)]())});}}}),_0xba9f47['push']({'id':_0xd8a025['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'groupIds':Array['from'](_0x35ca78),'config':{'config':_0x3ab5c5[_0x50bb15(0xfd)][_0x50bb15(0x183)](_0x559d60[_0x50bb15(0x16f)]),'sparklines':_0x559d60[_0x50bb15(0x170)][_0x50bb15(0x9d)]()}}}),_0x16182d[_0x50bb15(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'isSingle':!0x1,'groupIds':Array[_0x50bb15(0xc0)](_0x35ca78)}}),_0x16182d[_0x50bb15(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x4d11dd,'subUnitId':_0x3f9d5a,'sparklineConfigMap':_0x53c82a}}),_0x3ab5c5['sequenceExecute'](_0xba9f47,_0xd53e68),_0x453839['pushUndoRedo']({'unitID':_0x4d11dd,'undoMutations':_0x16182d,'redoMutations':_0xba9f47});}return!0x0;}};var _0x26748b=Object[_0x2c5995(0x9f)],_0x549a39=(_0x490fd3,_0x2216bc,_0x51ac59,_0x2fe5fd)=>{for(var _0x2e5c86=_0x2fe5fd>0x1?void 0x0:_0x2fe5fd?_0x26748b(_0x2216bc,_0x51ac59):_0x2216bc,_0x49732a=_0x490fd3['length']-0x1,_0x1f2e65;_0x49732a>=0x0;_0x49732a--)(_0x1f2e65=_0x490fd3[_0x49732a])&&(_0x2e5c86=_0x1f2e65(_0x2e5c86)||_0x2e5c86);return _0x2e5c86;},_0x4d3953=(_0xf2288a,_0x3d5595)=>(_0x685df8,_0x1cf717)=>_0x3d5595(_0x685df8,_0x1cf717,_0xf2288a);let _0x4e1d2a=class extends _0x3ab5c5[_0x2c5995(0x167)]{constructor(_0x42b507,_0x30e854,_0x164e0a,_0xcb8416){const _0x4cd34d=_0x2c5995;super(),this[_0x4cd34d(0x142)]=_0x42b507,this['_sheetInterceptorService']=_0x30e854,this['_univerInstanceService']=_0x164e0a,this[_0x4cd34d(0x17e)]=_0xcb8416,this['_initClearWithSparkline']();}['_initClearWithSparkline'](){const _0x12b465=_0x2c5995;this[_0x12b465(0x129)](this[_0x12b465(0xa0)][_0x12b465(0x149)]({'getMutations':_0x20fc12=>{const _0xa48b0c=_0x12b465,_0x294306=[],_0x1240cd=[];if(_0x20fc12['id']===_0x4c84b2['ClearSelectionAllCommand']['id']){const _0x3e5397=_0x4c84b2[_0xa48b0c(0xae)](this[_0xa48b0c(0xd0)]);if(!_0x3e5397)return{'redos':_0x294306,'undos':_0x1240cd};const {unitId:_0x460bce,subUnitId:_0xd18103,worksheet:_0x297d73}=_0x3e5397,_0x292fd4=this[_0xa48b0c(0x17e)][_0xa48b0c(0x12b)]()[_0xa48b0c(0x121)](_0x55658b=>_0x55658b[_0xa48b0c(0x105)]),_0x9e912=new Set(),_0x10d19e={},_0x50cb40={};_0x292fd4[_0xa48b0c(0xb2)](_0x521280=>{const _0x5b40eb=_0xa48b0c;_0x3ab5c5[_0x5b40eb(0xb9)]['foreach'](_0x521280,(_0x579209,_0x1fb83d)=>{const _0x595da0=_0x5b40eb,_0x2091b6=this['_sparklineDataSourceModel'][_0x595da0(0xdb)](_0x460bce,_0xd18103,_0x579209,_0x1fb83d);if(_0x2091b6&&!_0x9e912['has'](_0x2091b6)){const _0x52ddfe=this[_0x595da0(0x142)][_0x595da0(0x143)](_0x460bce,_0xd18103,_0x2091b6);_0x52ddfe&&(_0x9e912[_0x595da0(0xe3)](_0x2091b6),_0x10d19e[_0x2091b6]={'config':_0x3ab5c5['Tools'][_0x595da0(0x183)](_0x52ddfe[_0x595da0(0x16f)]),'sparklines':_0x3ab5c5[_0x595da0(0xfd)][_0x595da0(0x183)](_0x52ddfe['sparklines'][_0x595da0(0xbb)]())},_0x50cb40[_0x2091b6]={'config':_0x3ab5c5[_0x595da0(0xfd)]['deepClone'](_0x52ddfe['config']),'sparklines':_0x3ab5c5['Tools']['deepClone'](_0x52ddfe['sparklines'][_0x595da0(0xbb)]())});}});}),Object[_0xa48b0c(0xb8)](_0x50cb40)[_0xa48b0c(0xb2)](_0x27787d=>{const _0x94cd50=_0xa48b0c,_0x5cf0a1=_0x27787d['sparklines'];new _0x3ab5c5[(_0x94cd50(0xf4))](_0x5cf0a1)[_0x94cd50(0xd6)]((_0x2264cf,_0x1f7828,_0x5db61f)=>{const _0x1fafc9=_0x94cd50;_0x292fd4[_0x1fafc9(0x14f)](_0x3fbc85=>_0x3ab5c5['Rectangle']['intersects'](_0x3fbc85,_0x3ab5c5[_0x1fafc9(0xe0)](_0x2264cf,_0x1f7828)))&&delete _0x5cf0a1[_0x2264cf][_0x1f7828];});}),_0x294306[_0xa48b0c(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x460bce,'subUnitId':_0xd18103,'groupIds':Array[_0xa48b0c(0xc0)](_0x9e912),'isSingle':!0x1}}),_0x294306[_0xa48b0c(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x460bce,'subUnitId':_0xd18103,'sparklineConfigMap':_0x50cb40}}),_0x1240cd['push']({'id':_0x580935['id'],'params':{'unitId':_0x460bce,'subUnitId':_0xd18103,'groupIds':Array[_0xa48b0c(0xc0)](_0x9e912),'isSingle':!0x1}}),_0x1240cd[_0xa48b0c(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x460bce,'subUnitId':_0xd18103,'sparklineConfigMap':_0x10d19e}});}return{'redos':_0x294306,'undos':_0x1240cd};}}));}};_0x4e1d2a=_0x549a39([_0x4d3953(0x0,_0x3ab5c5['Inject'](_0x3440c7[_0x2c5995(0x153)])),_0x4d3953(0x1,_0x3ab5c5[_0x2c5995(0x15c)](_0x4c84b2['SheetInterceptorService'])),_0x4d3953(0x2,_0x3ab5c5['Inject'](_0x3ab5c5['IUniverInstanceService'])),_0x4d3953(0x3,_0x3ab5c5[_0x2c5995(0x15c)](_0x4c84b2[_0x2c5995(0x101)]))],_0x4e1d2a);var _0x11e57e=Object[_0x2c5995(0x9f)],_0x2ceff9=(_0x1c8477,_0x5d7151,_0x761f12,_0x4abb1a)=>{for(var _0xd4f09c=_0x4abb1a>0x1?void 0x0:_0x4abb1a?_0x11e57e(_0x5d7151,_0x761f12):_0x5d7151,_0x8cdfca=_0x1c8477['length']-0x1,_0x15ae66;_0x8cdfca>=0x0;_0x8cdfca--)(_0x15ae66=_0x1c8477[_0x8cdfca])&&(_0xd4f09c=_0x15ae66(_0xd4f09c)||_0xd4f09c);return _0xd4f09c;},_0xa25077=(_0x54233a,_0x407c77)=>(_0x5380c0,_0x1bb127)=>_0x407c77(_0x5380c0,_0x1bb127,_0x54233a);let _0x4e2536=class extends _0x3ab5c5['Disposable']{constructor(_0x1ddc29,_0x168e98){const _0x3b9bdb=_0x2c5995;super(),this[_0x3b9bdb(0xa0)]=_0x1ddc29,this['_sparklineDataSourceModel']=_0x168e98,this[_0x3b9bdb(0x177)]();}[_0x2c5995(0x177)](){const _0x4e9bb6=_0x2c5995;this[_0x4e9bb6(0x129)](this[_0x4e9bb6(0xa0)][_0x4e9bb6(0x149)]({'getMutations':_0x416a6d=>{const _0x4aa425=_0x4e9bb6,_0x11fd69=[],_0x2ad51c=[];if(_0x416a6d['id']===_0x4c84b2[_0x4aa425(0x182)]['id']){const _0x3d312c=_0x416a6d['params'];if(!_0x3d312c)return{'redos':_0x11fd69,'undos':_0x2ad51c};const {unitId:_0x4df747,subUnitId:_0x38eabe,targetSubUnitId:_0x4f5139}=_0x3d312c;if(!_0x4df747||!_0x38eabe||!_0x4f5139)return{'redos':_0x11fd69,'undos':_0x2ad51c};const _0x238f11=new Set(),_0x46344e={},_0xafbe5e=this['_sparklineDataSourceModel'][_0x4aa425(0xf3)](_0x4df747,_0x38eabe);if(!_0xafbe5e)return{'redos':_0x11fd69,'undos':_0x2ad51c};for(const [_0x41aaa4,_0x494c29]of _0xafbe5e){const _0x409d41='g_'+_0x3ab5c5[_0x4aa425(0xa4)](0x6);_0x238f11[_0x4aa425(0xe3)](_0x41aaa4),_0x46344e[_0x409d41]={'config':_0x3ab5c5[_0x4aa425(0xfd)][_0x4aa425(0x183)](_0x494c29[_0x4aa425(0x16f)]),'sparklines':_0x3ab5c5[_0x4aa425(0xfd)][_0x4aa425(0x183)](_0x494c29['sparklines'][_0x4aa425(0xbb)]())};}_0x238f11[_0x4aa425(0x10e)]&&(_0x2ad51c[_0x4aa425(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x4df747,'subUnitId':_0x4f5139,'groupIds':Array[_0x4aa425(0xc0)](_0x238f11),'isSingle':!0x1}}),_0x11fd69['push']({'id':_0x283169['id'],'params':{'unitId':_0x4df747,'subUnitId':_0x4f5139,'sparklineConfigMap':_0x46344e}}));}return{'redos':_0x11fd69,'undos':_0x2ad51c};}}));}};_0x4e2536=_0x2ceff9([_0xa25077(0x0,_0x3ab5c5['Inject'](_0x4c84b2['SheetInterceptorService'])),_0xa25077(0x1,_0x3ab5c5['Inject'](_0x3440c7[_0x2c5995(0x153)]))],_0x4e2536);var _0x181ce3=Object['getOwnPropertyDescriptor'],_0x1b14aa=(_0x2caeda,_0x4b08ea,_0x13a917,_0x2fb58a)=>{for(var _0x14e4ca=_0x2fb58a>0x1?void 0x0:_0x2fb58a?_0x181ce3(_0x4b08ea,_0x13a917):_0x4b08ea,_0x4f9e4a=_0x2caeda['length']-0x1,_0x191e23;_0x4f9e4a>=0x0;_0x4f9e4a--)(_0x191e23=_0x2caeda[_0x4f9e4a])&&(_0x14e4ca=_0x191e23(_0x14e4ca)||_0x14e4ca);return _0x14e4ca;},_0x12ee7f=(_0x5b504a,_0x4032ba)=>(_0x455c9f,_0xe7f0a4)=>_0x4032ba(_0x455c9f,_0xe7f0a4,_0x5b504a);let _0x4aeb2f=class extends _0x3ab5c5['Disposable']{constructor(_0x1b8fc0,_0x3e02be,_0x1a10b9){const _0x12c195=_0x2c5995;super(),this['_commandService']=_0x1b8fc0,this['_sparklineDataSourceModel']=_0x3e02be,this[_0x12c195(0x17b)]=_0x1a10b9,this[_0x12c195(0xb4)](),this[_0x12c195(0x185)]();}[_0x2c5995(0xb4)](){const _0x2a7d47=_0x2c5995;this[_0x2a7d47(0x129)](this['_commandService'][_0x2a7d47(0x14a)](_0x45432b=>{const _0x423324=_0x2a7d47;if(_0x45432b['id']===_0x4c84b2[_0x423324(0xab)]['id']){const _0x1fc2b5=_0x45432b[_0x423324(0x150)],{cellValue:_0x542c74,unitId:_0x4ba999,subUnitId:_0x17d764}=_0x1fc2b5,_0x5e0092=new _0x3ab5c5['ObjectMatrix'](_0x542c74),_0x49a516=new Set(),_0x222c31=this[_0x423324(0x142)][_0x423324(0xf3)](_0x4ba999,_0x17d764);if(!_0x222c31)return;const _0x2b8527=Array[_0x423324(0xc0)](_0x222c31);_0x5e0092[_0x423324(0xd6)]((_0x22eb16,_0x34248d,_0x567633)=>{const _0x178354=_0x423324,_0x3a0a66=_0x3ab5c5[_0x178354(0xe0)](_0x22eb16,_0x34248d);for(let _0x4a8a80=0x0;_0x4a8a80<_0x2b8527[_0x178354(0x151)];_0x4a8a80++){const [_0x449076,_0x3e8891]=_0x2b8527[_0x4a8a80],_0x993669=_0x49a516['has'](_0x449076);_0x993669||_0x3e8891['sparklines'][_0x178354(0xd6)]((_0x2d403a,_0x40f22a,_0x1ca61a)=>{const _0x5c5501=_0x178354,_0x4c7ac7=_0x1ca61a;if(_0x4c7ac7&&!_0x993669&&_0x3ab5c5[_0x5c5501(0x11c)][_0x5c5501(0x16e)](_0x3a0a66,_0x4c7ac7))return _0x49a516[_0x5c5501(0xe3)](_0x449076),!0x0;});}}),_0x49a516['forEach'](_0x42f2f8=>{const _0x4b12e1=_0x423324;this['_sparklineDataSourceModel'][_0x4b12e1(0xbd)](_0x4ba999,_0x17d764,_0x42f2f8),this['_sparklineDataSourceModel'][_0x4b12e1(0x184)](_0x4ba999,_0x17d764,_0x42f2f8);});}else{if(_0x45432b['id']===_0x4c84b2['ReorderRangeMutation']['id']){const _0x456d43=_0x45432b[_0x423324(0x150)],{range:_0x4f6d7e,unitId:_0x59f106,subUnitId:_0x282678}=_0x456d43,_0x1327fa=new Set(),_0x31c908=this[_0x423324(0x142)][_0x423324(0xf3)](_0x59f106,_0x282678);if(!_0x31c908)return;const _0x579441=Array[_0x423324(0xc0)](_0x31c908);for(let _0x1a9ada=0x0;_0x1a9ada<_0x579441['length'];_0x1a9ada++){const [_0x4b77d8,_0x3c69f0]=_0x579441[_0x1a9ada],_0x494c89=_0x1327fa[_0x423324(0x114)](_0x4b77d8);_0x494c89||_0x3c69f0['sparklines']['forValue']((_0x241f44,_0x35d46c,_0x34e948)=>{const _0x5a07fe=_0x423324,_0x22e812=_0x34e948;if(_0x22e812&&!_0x494c89&&_0x3ab5c5['Rectangle'][_0x5a07fe(0x16e)](_0x4f6d7e,_0x22e812))return _0x1327fa['add'](_0x4b77d8),!0x0;});}_0x1327fa[_0x423324(0xb2)](_0xa0a64d=>{const _0x319f8e=_0x423324;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x59f106,_0x282678,_0xa0a64d),this['_sparklineDataSourceModel'][_0x319f8e(0x184)](_0x59f106,_0x282678,_0xa0a64d);});}}}));}[_0x2c5995(0x185)](){const _0x3c8982=_0x2c5995;this[_0x3c8982(0x129)](this[_0x3c8982(0x17b)][_0x3c8982(0xfb)]['subscribe'](_0x218baf=>{const _0x4fa5b3=_0x3c8982,{unitId:_0x1c87a5,subUnitId:_0x2a0cdb,ranges:_0x24843d}=_0x218baf,_0xcbe5e8=this[_0x4fa5b3(0x142)]['getSubUnitSparkline'](_0x1c87a5,_0x2a0cdb);if(!_0xcbe5e8)return;const _0x4c43ce=Array[_0x4fa5b3(0xc0)](_0xcbe5e8),_0x44b5da=new Set();for(let _0x137d9d=0x0;_0x137d9d<_0x4c43ce['length'];_0x137d9d++){const [_0x1cb6ff,_0x534655]=_0x4c43ce[_0x137d9d],_0x223e18=_0x44b5da[_0x4fa5b3(0x114)](_0x1cb6ff);_0x223e18||_0x534655[_0x4fa5b3(0x170)][_0x4fa5b3(0xd6)]((_0x3979eb,_0x24716d,_0x32885d)=>{const _0x22b6cf=_0x4fa5b3,_0x1898c3=_0x32885d;if(_0x1898c3&&!_0x223e18){for(const _0x596bcd of _0x24843d)if(_0x3ab5c5[_0x22b6cf(0x11c)][_0x22b6cf(0x16e)](_0x596bcd,_0x1898c3)){_0x44b5da[_0x22b6cf(0xe3)](_0x1cb6ff);break;}}});}_0x44b5da[_0x4fa5b3(0xb2)](_0x19a988=>{const _0x3d718f=_0x4fa5b3;this[_0x3d718f(0x142)][_0x3d718f(0xbd)](_0x1c87a5,_0x2a0cdb,_0x19a988),this[_0x3d718f(0x142)][_0x3d718f(0x184)](_0x1c87a5,_0x2a0cdb,_0x19a988);});}));}};_0x4aeb2f=_0x1b14aa([_0x12ee7f(0x0,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x100)])),_0x12ee7f(0x1,_0x3ab5c5[_0x2c5995(0x15c)](_0x3440c7[_0x2c5995(0x153)])),_0x12ee7f(0x2,_0x3ab5c5[_0x2c5995(0x15c)](_0x4c84b2[_0x2c5995(0xf5)]))],_0x4aeb2f);var _0x56147=Object['getOwnPropertyDescriptor'],_0xd368fb=(_0x2fc301,_0x2c30cb,_0x4fe560,_0x12b5cf)=>{const _0x3b22d0=_0x2c5995;for(var _0x50c4fa=_0x12b5cf>0x1?void 0x0:_0x12b5cf?_0x56147(_0x2c30cb,_0x4fe560):_0x2c30cb,_0x5bda51=_0x2fc301[_0x3b22d0(0x151)]-0x1,_0x57219c;_0x5bda51>=0x0;_0x5bda51--)(_0x57219c=_0x2fc301[_0x5bda51])&&(_0x50c4fa=_0x57219c(_0x50c4fa)||_0x50c4fa);return _0x50c4fa;},_0x4210e2=(_0x50e267,_0x4ce149)=>(_0x3d20c3,_0x154d51)=>_0x4ce149(_0x3d20c3,_0x154d51,_0x50e267);let _0x2c76f7=class extends _0x3ab5c5[_0x2c5995(0x167)]{constructor(_0x526491,_0x534f4e){const _0xe6197=_0x2c5995;super(),this[_0xe6197(0xe4)]=_0x526491,this['_sparklineDataSourceModel']=_0x534f4e,this[_0xe6197(0xaf)]();}[_0x2c5995(0xaf)](){const _0x5c1e97=_0x2c5995;this[_0x5c1e97(0xe4)][_0x5c1e97(0x14a)](_0xb2f172=>{const _0x1c48b8=_0x5c1e97;if(_0xb2f172['id']===_0x4c84b2[_0x1c48b8(0x15e)]['id']||_0xb2f172['id']===_0x4c84b2[_0x1c48b8(0x15a)]['id']||_0xb2f172['id']===_0x4c84b2['SetRowVisibleMutation']['id']||_0xb2f172['id']===_0x4c84b2[_0x1c48b8(0xd3)]['id']){const _0x26337c=_0xb2f172[_0x1c48b8(0x150)],{ranges:_0xc04b6f,unitId:_0x3bdd11,subUnitId:_0x45e907}=_0x26337c,_0x5dd582=new Set(),_0x1409bf=this[_0x1c48b8(0x142)][_0x1c48b8(0xf3)](_0x3bdd11,_0x45e907);if(!_0x1409bf)return;const _0x4f9b37=Array[_0x1c48b8(0xc0)](_0x1409bf);_0xc04b6f['forEach'](_0x3bc519=>{const _0x5de6e0=_0x1c48b8;_0x3ab5c5['Range'][_0x5de6e0(0xde)](_0x3bc519,(_0x6b204a,_0x26cf3e)=>{const _0x4ab966=_0x5de6e0,_0x1d9949=_0x3ab5c5[_0x4ab966(0xe0)](_0x6b204a,_0x26cf3e);for(let _0x3bccc7=0x0;_0x3bccc7<_0x4f9b37[_0x4ab966(0x151)];_0x3bccc7++){const [_0x1992a2,_0x578d5f]=_0x4f9b37[_0x3bccc7],_0x5cdbd3=_0x5dd582[_0x4ab966(0x114)](_0x1992a2);_0x5cdbd3||_0x578d5f[_0x4ab966(0x170)][_0x4ab966(0xd6)]((_0x3e88be,_0x4adeb7,_0x59f5a6)=>{const _0x5d93b3=_0x4ab966,_0x3bc99c=_0x59f5a6;if(_0x3bc99c&&!_0x5cdbd3&&_0x3ab5c5[_0x5d93b3(0x11c)][_0x5d93b3(0x16e)](_0x1d9949,_0x3bc99c))return _0x5dd582[_0x5d93b3(0xe3)](_0x1992a2),!0x0;});}});}),_0x5dd582[_0x1c48b8(0xb2)](_0x18d0a0=>{const _0x2838e6=_0x1c48b8;this[_0x2838e6(0x142)][_0x2838e6(0xbd)](_0x3bdd11,_0x45e907,_0x18d0a0),this[_0x2838e6(0x142)][_0x2838e6(0x184)](_0x3bdd11,_0x45e907,_0x18d0a0);});}});}};_0x2c76f7=_0xd368fb([_0x4210e2(0x0,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x100)])),_0x4210e2(0x1,_0x3ab5c5['Inject'](_0x3440c7[_0x2c5995(0x153)]))],_0x2c76f7);var _0x3b076b=Object[_0x2c5995(0x9f)],_0xc6a9b5=(_0x2701ff,_0x290f03,_0x47c3d8,_0x53a3e3)=>{const _0x50af49=_0x2c5995;for(var _0x51991c=_0x53a3e3>0x1?void 0x0:_0x53a3e3?_0x3b076b(_0x290f03,_0x47c3d8):_0x290f03,_0x44bfd6=_0x2701ff[_0x50af49(0x151)]-0x1,_0x5c16c1;_0x44bfd6>=0x0;_0x44bfd6--)(_0x5c16c1=_0x2701ff[_0x44bfd6])&&(_0x51991c=_0x5c16c1(_0x51991c)||_0x51991c);return _0x51991c;},_0x5685d1=(_0x2f6c5e,_0x581252)=>(_0x52708d,_0x1366a0)=>_0x581252(_0x52708d,_0x1366a0,_0x2f6c5e);let _0x483e6a=class extends _0x3ab5c5[_0x2c5995(0x167)]{constructor(_0x266958,_0x4cb463,_0x3fcd81){const _0x2eba91=_0x2c5995;super(),this[_0x2eba91(0xe4)]=_0x266958,this['_sheetInterceptorService']=_0x4cb463,this[_0x2eba91(0x142)]=_0x3fcd81,this['_initMergeWithSparkline']();}[_0x2c5995(0x148)](){const _0x411606=_0x2c5995;this[_0x411606(0x129)](this[_0x411606(0xa0)]['interceptCommand']({'getMutations':_0x46dbcd=>{const _0x4cd76d=_0x411606,_0x3dab89=[],_0x36e49a=[];if(_0x46dbcd['id']===_0x4c84b2['AddWorksheetMergeCommand']['id']){const _0x1dd6e2=_0x46dbcd[_0x4cd76d(0x150)];if(!_0x1dd6e2)return{'redos':_0x3dab89,'undos':_0x36e49a};const {unitId:_0x294c56,subUnitId:_0x376540,ranges:_0x4f866f}=_0x1dd6e2,_0x579bca=this[_0x4cd76d(0x142)][_0x4cd76d(0xf3)](_0x294c56,_0x376540);if(!_0x579bca)return{'redos':_0x3dab89,'undos':_0x36e49a};const _0x398f91={},_0x2d3f0f={},_0x52e370=new Set();_0x4f866f[_0x4cd76d(0xb2)](_0x5bc923=>{const _0xeeccce=_0x4cd76d,_0x488b2a=_0x5bc923[_0xeeccce(0x12e)],_0x24bd5a=_0x5bc923['startColumn'];_0x3ab5c5[_0xeeccce(0xb9)][_0xeeccce(0xde)](_0x5bc923,(_0x1a9fba,_0x5a9a83)=>{const _0xc912f1=_0xeeccce,_0x3a90ad=this['_sparklineDataSourceModel'][_0xc912f1(0xdb)](_0x294c56,_0x376540,_0x1a9fba,_0x5a9a83);if(_0x3a90ad&&!(_0x1a9fba===_0x488b2a&&_0x5a9a83===_0x24bd5a)){const _0x211b9f=this[_0xc912f1(0x142)][_0xc912f1(0x143)](_0x294c56,_0x376540,_0x3a90ad);if(_0x211b9f){_0x52e370['add'](_0x3a90ad);let _0x5c7cc0=_0x398f91[_0x3a90ad];_0x5c7cc0||(_0x5c7cc0={'config':_0x3ab5c5[_0xc912f1(0xfd)][_0xc912f1(0x183)](_0x211b9f['config']),'sparklines':new _0x3ab5c5[(_0xc912f1(0xf4))](_0x211b9f[_0xc912f1(0x170)]['clone']())},_0x398f91[_0x3a90ad]=_0x5c7cc0),_0x5c7cc0[_0xc912f1(0x170)][_0xc912f1(0x122)](_0x1a9fba,_0x5a9a83),_0x2d3f0f[_0x3a90ad]={'config':_0x3ab5c5['Tools']['deepClone'](_0x211b9f[_0xc912f1(0x16f)]),'sparklines':_0x3ab5c5[_0xc912f1(0xfd)][_0xc912f1(0x183)](_0x211b9f[_0xc912f1(0x170)]['clone']())};}}});});for(const [_0x40ec9f,_0x10971f]of _0x579bca){const _0x2f4715=_0x10971f[_0x4cd76d(0x170)];_0x2f4715['forValue']((_0xfa8da8,_0x494245,_0x268477)=>{const _0xb919a0=_0x4cd76d;for(let _0x11d96b=0x0;_0x11d96b<_0x4f866f[_0xb919a0(0x151)];_0x11d96b++){const _0x3dfae9=_0x4f866f[_0x11d96b];if(_0x3ab5c5['Rectangle'][_0xb919a0(0xf8)](_0x3dfae9,_0x268477)){_0x52e370['add'](_0x40ec9f);let _0x837a4e=_0x398f91[_0x40ec9f];_0x837a4e||(_0x837a4e={'config':_0x3ab5c5[_0xb919a0(0xfd)]['deepClone'](_0x10971f['config']),'sparklines':new _0x3ab5c5[(_0xb919a0(0xf4))](_0x2f4715[_0xb919a0(0xbb)]())},_0x398f91[_0x40ec9f]=_0x837a4e),_0x837a4e[_0xb919a0(0x170)][_0xb919a0(0x122)](_0xfa8da8,_0x494245),_0x2d3f0f[_0x40ec9f]||(_0x2d3f0f[_0x40ec9f]={'config':_0x3ab5c5[_0xb919a0(0xfd)][_0xb919a0(0x183)](_0x10971f[_0xb919a0(0x16f)]),'sparklines':_0x3ab5c5[_0xb919a0(0xfd)][_0xb919a0(0x183)](_0x2f4715[_0xb919a0(0xbb)]())});}}});}const _0x51a8ae={};Object[_0x4cd76d(0x106)](_0x398f91)[_0x4cd76d(0xb2)](([_0x4afbbe,_0xca322e])=>{const _0x4f669e=_0x4cd76d;_0xca322e['sparklines'][_0x4f669e(0x17f)]()&&(_0x51a8ae[_0x4afbbe]={'config':_0xca322e[_0x4f669e(0x16f)],'sparklines':_0xca322e['sparklines'][_0x4f669e(0xbb)]()});}),_0x52e370[_0x4cd76d(0x10e)]&&(_0x3dab89[_0x4cd76d(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x294c56,'subUnitId':_0x376540,'groupIds':Array[_0x4cd76d(0xc0)](_0x52e370),'isSingle':!0x1}}),_0x36e49a[_0x4cd76d(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x294c56,'subUnitId':_0x376540,'groupIds':Array['from'](_0x52e370),'isSingle':!0x1}}),_0x3dab89[_0x4cd76d(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x294c56,'subUnitId':_0x376540,'sparklineConfigMap':_0x51a8ae}}),_0x36e49a[_0x4cd76d(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x294c56,'subUnitId':_0x376540,'sparklineConfigMap':_0x2d3f0f}}));}return{'redos':_0x3dab89,'undos':_0x36e49a};}}));}};_0x483e6a=_0xc6a9b5([_0x5685d1(0x0,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x100)])),_0x5685d1(0x1,_0x3ab5c5['Inject'](_0x4c84b2['SheetInterceptorService'])),_0x5685d1(0x2,_0x3ab5c5[_0x2c5995(0x15c)](_0x3440c7[_0x2c5995(0x153)]))],_0x483e6a);var _0x39c277=Object[_0x2c5995(0x9f)],_0x3ce8ac=(_0x598c2,_0x52fdc9,_0xdb43cb,_0x27822d)=>{const _0x13af6e=_0x2c5995;for(var _0x152608=_0x27822d>0x1?void 0x0:_0x27822d?_0x39c277(_0x52fdc9,_0xdb43cb):_0x52fdc9,_0x2ea9d4=_0x598c2[_0x13af6e(0x151)]-0x1,_0x3dad6b;_0x2ea9d4>=0x0;_0x2ea9d4--)(_0x3dad6b=_0x598c2[_0x2ea9d4])&&(_0x152608=_0x3dad6b(_0x152608)||_0x152608);return _0x152608;},_0x525952=(_0x3befd1,_0x130959)=>(_0x1858ac,_0x4b31ba)=>_0x130959(_0x1858ac,_0x4b31ba,_0x3befd1);let _0x1af53b=class extends _0x3ab5c5[_0x2c5995(0x167)]{constructor(_0x369aee,_0x5383da,_0x5a401a,_0x595ab0,_0x401b52){const _0x550d8a=_0x2c5995;super(),_0xed90e7(this,_0x550d8a(0x13b),new _0x3ab5c5['DisposableCollection']()),(this['_commandService']=_0x369aee,this[_0x550d8a(0xa0)]=_0x5383da,this['_refRangeService']=_0x5a401a,this[_0x550d8a(0xd0)]=_0x595ab0,this['_sparklineDataSourceModel']=_0x401b52,this['_onRefRangeChange'](),this[_0x550d8a(0x186)]());}[_0x2c5995(0x16b)](){const _0x30cc44=_0x2c5995,_0x650b56=(_0x45c9aa,_0x16629)=>{const _0x4e53fd=_0x35b1,_0x28d030=this[_0x4e53fd(0xd0)]['getCurrentUnitForType'](_0x3ab5c5[_0x4e53fd(0x16c)]['UNIVER_SHEET']);if(!_0x28d030||!(_0x28d030==null?void 0x0:_0x28d030['getSheetBySheetId'](_0x16629)))return;this[_0x4e53fd(0x13b)][_0x4e53fd(0xa9)]();const _0x46370e=_0xa2ccf=>this[_0x4e53fd(0x174)](_0xa2ccf,_0x45c9aa,_0x16629),_0x562e1b=[],_0x51bce8=this[_0x4e53fd(0x142)]['getSubUnitSparkline'](_0x45c9aa,_0x16629);if(_0x51bce8){for(const [_0x132fb7,_0x54264a]of _0x51bce8)_0x54264a[_0x4e53fd(0x170)]['forValue']((_0x387dc0,_0x4d6c83,_0x40f328)=>{const _0x5147dc=_0x4e53fd,_0x49c956=_0x3ab5c5[_0x5147dc(0xe0)](_0x387dc0,_0x4d6c83);_0x562e1b[_0x5147dc(0x181)](_0x49c956);});_0x562e1b[_0x4e53fd(0xb2)](_0x589356=>{const _0x34bbe3=_0x4e53fd;this[_0x34bbe3(0x13b)][_0x34bbe3(0xe3)](this['_refRangeService']['registerRefRange'](_0x589356,_0x46370e,_0x45c9aa,_0x16629));});}};this[_0x30cc44(0x129)](this[_0x30cc44(0xe4)][_0x30cc44(0x14a)](_0x3796f3=>{const _0x15b84e=_0x30cc44;if(_0x3796f3['id']===_0x4c84b2[_0x15b84e(0x16a)]['id']){const _0x37f080=_0x3796f3[_0x15b84e(0x150)],_0x5efe7a=_0x37f080[_0x15b84e(0x171)],_0xd0b664=_0x37f080['unitId'];if(!_0x5efe7a||!_0xd0b664)return;_0x650b56(_0xd0b664,_0x5efe7a);}if(_0x3796f3['id']===_0xd8a025['id']||_0x3796f3['id']===_0x283169['id']){const _0x243e93=_0x3796f3[_0x15b84e(0x150)],_0x112077=_0x243e93[_0x15b84e(0x171)],_0x25825f=_0x243e93['unitId'];if(!_0x112077||!_0x25825f)return;_0x650b56(_0x25825f,_0x112077);}}));}['refRangeHandle'](_0x52bd10,_0x5cf50f,_0x47c744){const _0x599750=_0x2c5995;switch(_0x52bd10['id']){case _0x4c84b2[_0x599750(0x134)]['id']:return this[_0x599750(0x116)](_0x52bd10[_0x599750(0x150)],_0x5cf50f,_0x47c744);case _0x4c84b2[_0x599750(0x162)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x52bd10[_0x599750(0x150)],_0x5cf50f,_0x47c744);}return{'redos':[],'undos':[]};}[_0x2c5995(0xc8)](_0x1db07c,_0x58be14,_0x50bbd5){const _0x43d7b9=_0x2c5995;var _0x5904cc,_0x3d1cd7;const {range:_0x29cdc7}=_0x1db07c,_0x3a5c9d=new Set(),_0xd1308a={},_0x377d07={},_0x581949=[],_0x6a40d2=[],_0x239c6b=[],_0xafa7fd=[];if(!_0x4c84b2[_0x43d7b9(0xae)](this[_0x43d7b9(0xd0)],{'unitId':_0x58be14,'subUnitId':_0x50bbd5}))return{'redos':_0x6a40d2,'undos':_0x581949};const _0x21f5fc=this[_0x43d7b9(0x142)][_0x43d7b9(0xf3)](_0x58be14,_0x50bbd5);if(!_0x21f5fc)return{'redos':_0x6a40d2,'undos':_0x581949};if(!((_0x3d1cd7=(_0x5904cc=this[_0x43d7b9(0x142)][_0x43d7b9(0xa1)]()[_0x43d7b9(0x9c)][_0x43d7b9(0xc2)](_0x58be14))==null?void 0x0:_0x5904cc[_0x43d7b9(0xc2)](_0x50bbd5))==null?void 0x0:_0x3d1cd7['matrix']))return{'redos':_0x6a40d2,'undos':_0x581949};for(const [_0x2e413a,_0x5542bc]of _0x21f5fc){const _0x34956b=_0x5542bc[_0x43d7b9(0x170)];_0x34956b['forValue']((_0x1e9446,_0x1a1c5c,_0x1449cf)=>{const _0x212f11=_0x43d7b9;if(_0x3ab5c5['Rectangle'][_0x212f11(0x16e)](_0x29cdc7,_0x1449cf)){_0x3a5c9d[_0x212f11(0xe3)](_0x2e413a);let _0x5b1e6e=_0x377d07[_0x2e413a];_0x5b1e6e||(_0x5b1e6e={'config':_0x5542bc['config'],'sparklines':_0x5542bc[_0x212f11(0x170)][_0x212f11(0xbb)]()},_0x377d07[_0x2e413a]=_0x5b1e6e);let _0x50921d=_0xd1308a[_0x2e413a];_0x50921d||(_0x50921d={'config':_0x5542bc[_0x212f11(0x16f)],'sparklines':new _0x3ab5c5[(_0x212f11(0xf4))](_0x5542bc[_0x212f11(0x170)][_0x212f11(0xbb)]())},_0xd1308a[_0x2e413a]=_0x50921d);const _0x3d7c86=_0x4c84b2[_0x212f11(0x135)](_0x1449cf,{'id':_0x4c84b2[_0x212f11(0xef)]['id'],'params':_0x1db07c});_0x3d7c86?_0x50921d['sparklines']['setValue'](_0x1e9446,_0x1a1c5c,_0x3d7c86):_0x50921d[_0x212f11(0x170)][_0x212f11(0xe1)](_0x1e9446,_0x1a1c5c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5['RANGE_TYPE'][_0x212f11(0x154)]});}}),_0x34956b[_0x43d7b9(0xd6)]((_0x35700,_0x20b83f,_0x518952)=>{const _0x7a7d82=_0x43d7b9;if(_0x35700<=_0x29cdc7[_0x7a7d82(0x146)]&&_0x35700>=_0x29cdc7[_0x7a7d82(0x12e)]){_0x3a5c9d['add'](_0x2e413a);let _0x4712f7=_0x377d07[_0x2e413a];_0x4712f7||(_0x4712f7={'config':_0x5542bc['config'],'sparklines':_0x5542bc['sparklines'][_0x7a7d82(0xbb)]()},_0x377d07[_0x2e413a]=_0x4712f7);let _0x957213=_0xd1308a[_0x2e413a];_0x957213||(_0x957213={'config':_0x5542bc['config'],'sparklines':new _0x3ab5c5['ObjectMatrix'](_0x5542bc[_0x7a7d82(0x170)][_0x7a7d82(0xbb)]())},_0xd1308a[_0x2e413a]=_0x957213);}});}_0xafa7fd[_0x43d7b9(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x58be14,'subUnitId':_0x50bbd5,'groupIds':Array['from'](_0x3a5c9d),'isSingle':!0x1}}),_0x239c6b[_0x43d7b9(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x58be14,'subUnitId':_0x50bbd5,'groupIds':Array[_0x43d7b9(0xc0)](_0x3a5c9d),'isSingle':!0x1}});const _0x10fe4c={};let _0x37fcb9=!0x1;return Object[_0x43d7b9(0x106)](_0xd1308a)[_0x43d7b9(0xb2)](([_0x14cd1f,_0x900d1a])=>{const _0x35978b=_0x43d7b9;_0x900d1a[_0x35978b(0x170)][_0x35978b(0x17f)]()&&(_0x37fcb9=!0x0,_0x900d1a[_0x35978b(0x170)][_0x35978b(0x11e)](_0x29cdc7[_0x35978b(0x12e)],_0x29cdc7[_0x35978b(0x146)]-_0x29cdc7[_0x35978b(0x12e)]+0x1),_0x10fe4c[_0x14cd1f]={'config':_0x900d1a[_0x35978b(0x16f)],'sparklines':_0x900d1a[_0x35978b(0x170)]['clone']()});}),_0x37fcb9&&_0x6a40d2[_0x43d7b9(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x58be14,'subUnitId':_0x50bbd5,'sparklineConfigMap':_0x10fe4c}}),_0x581949[_0x43d7b9(0x181)]({'id':_0x283169['id'],'params':{'unitId':_0x58be14,'subUnitId':_0x50bbd5,'sparklineConfigMap':_0x377d07}}),{'redos':_0x6a40d2,'undos':_0x581949,'preRedos':_0x239c6b,'preUndos':_0xafa7fd};}[_0x2c5995(0x116)](_0x169c22,_0x133815,_0x288e93){const _0x58b8aa=_0x2c5995;var _0x12de7e,_0x2c5a3d;const {range:_0x3e908c}=_0x169c22,_0xc58576=new Set(),_0x3f2c1d={},_0x18a8ec={},_0x443867=[],_0x242320=[],_0xa8a178=[],_0x3a11eb=[];if(!_0x4c84b2[_0x58b8aa(0xae)](this[_0x58b8aa(0xd0)],{'unitId':_0x133815,'subUnitId':_0x288e93}))return{'redos':_0x242320,'undos':_0x443867};const _0x5acb49=this[_0x58b8aa(0x142)][_0x58b8aa(0xf3)](_0x133815,_0x288e93);if(!_0x5acb49)return{'redos':_0x242320,'undos':_0x443867};if(!((_0x2c5a3d=(_0x12de7e=this[_0x58b8aa(0x142)]['getSparklineCache']()['sparklineAnchorMap']['get'](_0x133815))==null?void 0x0:_0x12de7e[_0x58b8aa(0xc2)](_0x288e93))==null?void 0x0:_0x2c5a3d[_0x58b8aa(0x17c)]))return{'redos':_0x242320,'undos':_0x443867};for(const [_0x30ed48,_0x2f91a5]of _0x5acb49){const _0x2e2388=_0x2f91a5[_0x58b8aa(0x170)];_0x2e2388['forValue']((_0x5ed4b9,_0x546762,_0x1c96d8)=>{const _0x5df13f=_0x58b8aa;if(_0x3ab5c5['Rectangle'][_0x5df13f(0x16e)](_0x3e908c,_0x1c96d8)){_0xc58576[_0x5df13f(0xe3)](_0x30ed48);let _0x483e37=_0x18a8ec[_0x30ed48];_0x483e37||(_0x483e37={'config':_0x2f91a5['config'],'sparklines':_0x2f91a5[_0x5df13f(0x170)]['clone']()},_0x18a8ec[_0x30ed48]=_0x483e37);let _0x345f53=_0x3f2c1d[_0x30ed48];_0x345f53||(_0x345f53={'config':_0x2f91a5[_0x5df13f(0x16f)],'sparklines':new _0x3ab5c5['ObjectMatrix'](_0x2f91a5['sparklines'][_0x5df13f(0xbb)]())},_0x3f2c1d[_0x30ed48]=_0x345f53);const _0x48d4fa=_0x4c84b2[_0x5df13f(0x135)](_0x1c96d8,{'id':_0x4c84b2[_0x5df13f(0xec)]['id'],'params':_0x169c22});_0x48d4fa?_0x345f53[_0x5df13f(0x170)][_0x5df13f(0xe1)](_0x5ed4b9,_0x546762,_0x48d4fa):_0x345f53[_0x5df13f(0x170)][_0x5df13f(0xe1)](_0x5ed4b9,_0x546762,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5[_0x5df13f(0x132)]['NORMAL']});}}),_0x2e2388[_0x58b8aa(0xd6)]((_0x3dbe40,_0x265945,_0x539cb9)=>{const _0x2028ba=_0x58b8aa;if(_0x265945<=_0x3e908c[_0x2028ba(0x12c)]&&_0x265945>=_0x3e908c['startColumn']){_0xc58576[_0x2028ba(0xe3)](_0x30ed48);let _0x2f98d9=_0x18a8ec[_0x30ed48];_0x2f98d9||(_0x2f98d9={'config':_0x2f91a5[_0x2028ba(0x16f)],'sparklines':_0x2f91a5[_0x2028ba(0x170)][_0x2028ba(0xbb)]()},_0x18a8ec[_0x30ed48]=_0x2f98d9);let _0x401d8a=_0x3f2c1d[_0x30ed48];_0x401d8a||(_0x401d8a={'config':_0x2f91a5['config'],'sparklines':new _0x3ab5c5[(_0x2028ba(0xf4))](_0x2f91a5['sparklines'][_0x2028ba(0xbb)]())},_0x3f2c1d[_0x30ed48]=_0x401d8a);}});}_0x3a11eb[_0x58b8aa(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x133815,'subUnitId':_0x288e93,'groupIds':Array['from'](_0xc58576),'isSingle':!0x1}}),_0xa8a178[_0x58b8aa(0x181)]({'id':_0x580935['id'],'params':{'unitId':_0x133815,'subUnitId':_0x288e93,'groupIds':Array[_0x58b8aa(0xc0)](_0xc58576),'isSingle':!0x1}});const _0xe4c55d={};let _0x7f1814=!0x1;return Object['entries'](_0x3f2c1d)[_0x58b8aa(0xb2)](([_0x589b90,_0x49d277])=>{const _0x26045e=_0x58b8aa;_0x49d277[_0x26045e(0x170)][_0x26045e(0x17f)]()&&(_0x7f1814=!0x0,_0x49d277[_0x26045e(0x170)][_0x26045e(0x12f)](_0x3e908c['startColumn'],_0x3e908c[_0x26045e(0x12c)]-_0x3e908c[_0x26045e(0x124)]+0x1),_0xe4c55d[_0x589b90]={'config':_0x49d277['config'],'sparklines':_0x49d277[_0x26045e(0x170)][_0x26045e(0xbb)]()});}),_0x7f1814&&_0x242320['push']({'id':_0x283169['id'],'params':{'unitId':_0x133815,'subUnitId':_0x288e93,'sparklineConfigMap':_0xe4c55d}}),_0x443867['push']({'id':_0x283169['id'],'params':{'unitId':_0x133815,'subUnitId':_0x288e93,'sparklineConfigMap':_0x18a8ec}}),{'redos':_0x242320,'undos':_0x443867,'preRedos':_0xa8a178,'preUndos':_0x3a11eb};}[_0x2c5995(0x186)](){const _0x489355=_0x2c5995;this[_0x489355(0x129)](this[_0x489355(0xe4)][_0x489355(0x14a)](_0x37e188=>{const _0x4491c8=_0x489355;if(_0x37e188['id']===_0x4c84b2[_0x4491c8(0xe9)]['id']){const _0x4c344f=_0x37e188['params'],{unitId:_0x2f52fd,subUnitId:_0x14f066,range:_0x165402}=_0x4c344f,_0x366d4d=_0x165402[_0x4491c8(0x124)],_0x23a702=_0x165402['endColumn']-_0x165402[_0x4491c8(0x124)]+0x1,_0x2bc910=this[_0x4491c8(0x142)][_0x4491c8(0xf3)](_0x2f52fd,_0x14f066);if(!_0x2bc910)return;for(const [_0x469821,_0x593373]of _0x2bc910){this[_0x4491c8(0x142)][_0x4491c8(0xbd)](_0x2f52fd,_0x14f066,_0x469821);const _0x277bed=_0x593373[_0x4491c8(0x170)];_0x277bed['forValue']((_0x518862,_0x44faf4,_0x2e1716)=>{const _0x6bb3d5=_0x4491c8,_0x3f7f97={..._0x2e1716};_0x366d4d<=_0x3f7f97[_0x6bb3d5(0x124)]?(_0x3f7f97[_0x6bb3d5(0x124)]+=_0x23a702,_0x3f7f97[_0x6bb3d5(0x12c)]+=_0x23a702):_0x366d4d>_0x3f7f97[_0x6bb3d5(0x12c)]||(_0x3f7f97[_0x6bb3d5(0x12c)]+=_0x23a702),_0x277bed[_0x6bb3d5(0xe1)](_0x518862,_0x44faf4,_0x3f7f97);});const _0x389def=_0x277bed[_0x4491c8(0x9d)]();for(const _0x523401 in _0x389def){const _0x14a670=_0x389def[Number(_0x523401)];if(!_0x14a670)continue;const _0x456171=Object[_0x4491c8(0x18d)](_0x14a670)[_0x4491c8(0x121)](Number),_0x2c8478=Math['max'](..._0x456171);for(let _0x54b1ad=_0x2c8478;_0x54b1ad>=_0x366d4d;_0x54b1ad--)_0x54b1ad>=_0x366d4d&&_0x14a670[_0x54b1ad]&&(_0x14a670[_0x54b1ad+_0x23a702]=_0x14a670[_0x54b1ad],delete _0x14a670[_0x54b1ad]);}this['_sparklineDataSourceModel'][_0x4491c8(0x184)](_0x2f52fd,_0x14f066,_0x469821);}}else{if(_0x37e188['id']===_0x4c84b2[_0x4491c8(0x11b)]['id']){const _0x2e9aa3=_0x37e188['params'],{unitId:_0x29c537,subUnitId:_0x1e60f6,range:_0x1f4a9e}=_0x2e9aa3,_0x3e8aad=_0x1f4a9e[_0x4491c8(0x12e)],_0x3039bf=_0x1f4a9e[_0x4491c8(0x146)]-_0x1f4a9e[_0x4491c8(0x12e)]+0x1,_0x410f99=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x29c537,_0x1e60f6);if(!_0x410f99)return;for(const [_0x31845e,_0x56e757]of _0x410f99){this['_sparklineDataSourceModel'][_0x4491c8(0xbd)](_0x29c537,_0x1e60f6,_0x31845e);const _0x39fb05=_0x56e757[_0x4491c8(0x170)];_0x39fb05['forValue']((_0x320707,_0x5ca1ce,_0x32a57f)=>{const _0x1cdce4=_0x4491c8,_0x1b1427={..._0x32a57f};_0x3e8aad<=_0x1b1427[_0x1cdce4(0x12e)]?(_0x1b1427[_0x1cdce4(0x12e)]+=_0x3039bf,_0x1b1427[_0x1cdce4(0x146)]+=_0x3039bf):_0x3e8aad>_0x1b1427['endRow']||(_0x1b1427[_0x1cdce4(0x146)]+=_0x3039bf),_0x39fb05[_0x1cdce4(0xe1)](_0x320707,_0x5ca1ce,_0x1b1427);});const _0x22709d=_0x39fb05[_0x4491c8(0x9d)](),_0x1675fc=Object['keys'](_0x22709d)[_0x4491c8(0x121)](Number),_0x4bec09=Math[_0x4491c8(0xe8)](..._0x1675fc);for(let _0x3d019f=_0x4bec09;_0x3d019f>=_0x3e8aad;_0x3d019f--)_0x3d019f>=_0x3e8aad&&_0x22709d[_0x3d019f]&&(_0x22709d[_0x3d019f+_0x3039bf]=_0x22709d[_0x3d019f],delete _0x22709d[_0x3d019f]);this[_0x4491c8(0x142)][_0x4491c8(0x184)](_0x29c537,_0x1e60f6,_0x31845e);}}else{if(_0x37e188['id']===_0x4c84b2[_0x4491c8(0xec)]['id']){const _0x2cb49d=_0x37e188[_0x4491c8(0x150)],{range:_0x1a3d8f,unitId:_0xbf8033,subUnitId:_0x5e1e7f}=_0x2cb49d,_0x58f7bc=this[_0x4491c8(0x142)]['getSubUnitSparkline'](_0xbf8033,_0x5e1e7f);if(!_0x58f7bc)return;for(const [_0x33888c,_0x34b00b]of _0x58f7bc){const _0x49a0a0=_0x34b00b[_0x4491c8(0x170)];_0x49a0a0[_0x4491c8(0xd6)]((_0x20d1a6,_0x41e704,_0x48e3f5)=>{const _0x12c27f=_0x4491c8,_0x80a7cd=_0x4c84b2[_0x12c27f(0x135)](_0x48e3f5,_0x37e188);_0x80a7cd?_0x49a0a0[_0x12c27f(0xe1)](_0x20d1a6,_0x41e704,_0x80a7cd):_0x49a0a0[_0x12c27f(0xe1)](_0x20d1a6,_0x41e704,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5[_0x12c27f(0x132)][_0x12c27f(0x154)]});}),_0x49a0a0[_0x4491c8(0x12f)](_0x1a3d8f[_0x4491c8(0x124)],_0x1a3d8f['endColumn']-_0x1a3d8f[_0x4491c8(0x124)]+0x1);}this[_0x4491c8(0x142)][_0x4491c8(0x127)](_0xbf8033,_0x5e1e7f);}else{if(_0x37e188['id']===_0x4c84b2['RemoveRowMutation']['id']){const _0x3dd399=_0x37e188[_0x4491c8(0x150)],{range:_0x1c4eae,unitId:_0x1c9ade,subUnitId:_0xff87a2}=_0x3dd399,_0x54327f=this[_0x4491c8(0x142)][_0x4491c8(0xf3)](_0x1c9ade,_0xff87a2);if(!_0x54327f)return;for(const [_0xb3b9c0,_0xcf6c4c]of _0x54327f){const _0x5b6f27=_0xcf6c4c['sparklines'];_0x5b6f27[_0x4491c8(0xd6)]((_0x595718,_0x50c911,_0x477bba)=>{const _0x138a9b=_0x4491c8,_0x1162df=_0x4c84b2[_0x138a9b(0x135)](_0x477bba,_0x37e188);_0x1162df?_0x5b6f27[_0x138a9b(0xe1)](_0x595718,_0x50c911,_0x1162df):_0x5b6f27[_0x138a9b(0xe1)](_0x595718,_0x50c911,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5[_0x138a9b(0x132)][_0x138a9b(0x154)]});}),_0x5b6f27[_0x4491c8(0x11e)](_0x1c4eae['startRow'],_0x1c4eae[_0x4491c8(0x146)]-_0x1c4eae[_0x4491c8(0x12e)]+0x1);}this[_0x4491c8(0x142)]['reBuildAnchorCache'](_0x1c9ade,_0xff87a2);}else{if(_0x37e188['id']===_0x4c84b2['MoveColsMutation']['id']){const _0x58db62=_0x37e188[_0x4491c8(0x150)],{unitId:_0x18261f,subUnitId:_0x22dd8c,sourceRange:_0x45eb75,targetRange:_0x337e07}=_0x58db62,_0x549483=this[_0x4491c8(0x142)][_0x4491c8(0xf3)](_0x18261f,_0x22dd8c);if(!_0x549483)return;for(const [_0x1387ce,_0x431886]of _0x549483){const _0x298ce3=_0x431886[_0x4491c8(0x170)];_0x298ce3[_0x4491c8(0xd6)]((_0x1f61ab,_0x557cfe,_0x46ab1a)=>{const _0x1f27af=_0x4491c8,_0x2df0c2=_0x4c84b2[_0x1f27af(0x135)](_0x46ab1a,_0x37e188);_0x2df0c2?_0x298ce3[_0x1f27af(0xe1)](_0x1f61ab,_0x557cfe,_0x2df0c2):_0x298ce3[_0x1f27af(0xe1)](_0x1f61ab,_0x557cfe,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5['RANGE_TYPE'][_0x1f27af(0x154)]});}),_0x298ce3[_0x4491c8(0x12a)](_0x45eb75[_0x4491c8(0x124)],_0x45eb75[_0x4491c8(0x12c)]-_0x45eb75[_0x4491c8(0x124)]+0x1,_0x337e07['startColumn']);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x18261f,_0x22dd8c);}else{if(_0x37e188['id']===_0x4c84b2[_0x4491c8(0x191)]['id']){const _0x22259c=_0x37e188[_0x4491c8(0x150)],{unitId:_0x20d77f,subUnitId:_0x487cdf,sourceRange:_0x5f576f,targetRange:_0xddba0d}=_0x22259c,_0x40d080=this[_0x4491c8(0x142)][_0x4491c8(0xf3)](_0x20d77f,_0x487cdf);if(!_0x40d080)return;for(const [_0x18b5e7,_0x17720b]of _0x40d080){const _0x3d0680=_0x17720b[_0x4491c8(0x170)];_0x3d0680[_0x4491c8(0xd6)]((_0x205ca9,_0x4e505d,_0x3ec60a)=>{const _0x1785f3=_0x4491c8,_0x4e020e=_0x4c84b2[_0x1785f3(0x135)](_0x3ec60a,_0x37e188);_0x4e020e?_0x3d0680[_0x1785f3(0xe1)](_0x205ca9,_0x4e505d,_0x4e020e):_0x3d0680['setValue'](_0x205ca9,_0x4e505d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3ab5c5[_0x1785f3(0x132)][_0x1785f3(0x154)]});}),_0x3d0680['moveRows'](_0x5f576f[_0x4491c8(0x12e)],_0x5f576f[_0x4491c8(0x146)]-_0x5f576f[_0x4491c8(0x12e)]+0x1,_0xddba0d[_0x4491c8(0x12e)]);}this[_0x4491c8(0x142)][_0x4491c8(0x127)](_0x20d77f,_0x487cdf);}else{if(_0x37e188['id']===_0x4c84b2['MoveRangeMutation']['id']){const _0xb30ac0=_0x37e188['params'],{fromRange:_0x11a203,toRange:_0xf4830e,unitId:_0x4df543,from:_0x395a42,to:_0x3668eb}=_0xb30ac0;if(_0x395a42[_0x4491c8(0x171)]!==_0x3668eb[_0x4491c8(0x171)])return;const _0x223e33=_0x395a42[_0x4491c8(0x171)],{startRow:_0x2624a5,endRow:_0x427ca5,startColumn:_0x1cc502,endColumn:_0x56c8e3}=_0x11a203,{startRow:_0x2d0795,startColumn:_0x5583ae}=_0xf4830e,_0x15d4fb=_0x2d0795-_0x2624a5,_0x4ebfa9=_0x5583ae-_0x1cc502,_0x5a8458=this[_0x4491c8(0x142)][_0x4491c8(0xf3)](_0x4df543,_0x223e33);if(!(_0x5a8458!=null&&_0x5a8458['size']))return;for(let _0x18f2f0=_0x2624a5;_0x18f2f0<=_0x427ca5;_0x18f2f0++)for(let _0x4b9c34=_0x1cc502;_0x4b9c34<=_0x56c8e3;_0x4b9c34++){const _0x48497d=this['_sparklineDataSourceModel']['getSparkline'](_0x4df543,_0x223e33,_0x18f2f0,_0x4b9c34);if(_0x48497d){const _0x403a3e=this[_0x4491c8(0x142)][_0x4491c8(0x143)](_0x4df543,_0x223e33,_0x48497d);if(_0x403a3e){const _0x2064ae=_0x403a3e['sparklines'][_0x4491c8(0xe6)](_0x18f2f0,_0x4b9c34);_0x2064ae&&(_0x403a3e[_0x4491c8(0x170)][_0x4491c8(0xe1)](_0x18f2f0+_0x15d4fb,_0x4b9c34+_0x4ebfa9,_0x2064ae),_0x403a3e[_0x4491c8(0x170)][_0x4491c8(0x122)](_0x18f2f0,_0x4b9c34));}}}for(const [_0x1d537b,_0x230829]of _0x5a8458){const _0x3d8913=_0x230829['sparklines'];_0x3d8913[_0x4491c8(0xd6)]((_0x555b27,_0x1a72eb,_0x5cbcd7)=>{const _0x5b1e21=_0x4491c8,_0x1cecac={..._0x5cbcd7};_0x3ab5c5[_0x5b1e21(0x11c)]['contains'](_0x11a203,_0x5cbcd7)&&(_0x1cecac[_0x5b1e21(0x12e)]+=_0x15d4fb,_0x1cecac['endRow']+=_0x15d4fb,_0x1cecac['startColumn']+=_0x4ebfa9,_0x1cecac['endColumn']+=_0x4ebfa9),_0x3d8913[_0x5b1e21(0xe1)](_0x555b27,_0x1a72eb,_0x1cecac);});}this['_sparklineDataSourceModel'][_0x4491c8(0x127)](_0x4df543,_0x223e33);}}}}}}}}));}};_0x1af53b=_0x3ce8ac([_0x525952(0x0,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5['ICommandService'])),_0x525952(0x1,_0x3ab5c5[_0x2c5995(0x15c)](_0x4c84b2['SheetInterceptorService'])),_0x525952(0x2,_0x3ab5c5['Inject'](_0x4c84b2['RefRangeService'])),_0x525952(0x3,_0x3ab5c5[_0x2c5995(0xf0)]),_0x525952(0x4,_0x3ab5c5[_0x2c5995(0x15c)](_0x3440c7[_0x2c5995(0x153)]))],_0x1af53b);var _0x427335=Object[_0x2c5995(0x9f)],_0x481273=(_0x39a3e6,_0x403e4d,_0xe3da47,_0x150a3d)=>{const _0x7b1a0d=_0x2c5995;for(var _0x2e897d=_0x150a3d>0x1?void 0x0:_0x150a3d?_0x427335(_0x403e4d,_0xe3da47):_0x403e4d,_0x2ada7f=_0x39a3e6[_0x7b1a0d(0x151)]-0x1,_0x6d4eae;_0x2ada7f>=0x0;_0x2ada7f--)(_0x6d4eae=_0x39a3e6[_0x2ada7f])&&(_0x2e897d=_0x6d4eae(_0x2e897d)||_0x2e897d);return _0x2e897d;},_0x4b2463=(_0x5a0297,_0x3abb30)=>(_0x2a4093,_0x5762b7)=>_0x3abb30(_0x2a4093,_0x5762b7,_0x5a0297);let _0x1cca9a=class extends _0x3ab5c5['Disposable']{constructor(_0x43a41d,_0x17427f){const _0x2c89ec=_0x2c5995;super(),this[_0x2c89ec(0xba)]=_0x43a41d,this['_sparklineDataSourceModel']=_0x17427f,this[_0x2c89ec(0x15f)]();}[_0x2c5995(0x15f)](){const _0x4d16d7=_0x2c5995,_0x3b8694=_0x5f54d9=>{const _0x2e06f4=_0x35b1,_0x34fa75=this[_0x2e06f4(0x142)][_0x2e06f4(0xd5)](_0x5f54d9);return _0x34fa75?JSON['stringify'](_0x34fa75):'';},_0x41e10e=_0x178da8=>_0x178da8?JSON['parse'](_0x178da8):{};this[_0x4d16d7(0x129)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x3b8694,'parseJson':_0x41e10e,'pluginName':_0x307fbb,'businesses':[_0x3ab5c5[_0x4d16d7(0x16c)]['UNIVER_SHEET']],'onLoad':(_0x20493b,_0x3a0c41)=>{const _0x2ba58d=_0x4d16d7;this[_0x2ba58d(0x142)][_0x2ba58d(0x14b)](_0x3a0c41);},'onUnLoad':_0x4590e3=>{const _0x2e4d7c=_0x4d16d7;this[_0x2e4d7c(0x142)][_0x2e4d7c(0x9e)](_0x4590e3);}}));}};_0x1cca9a=_0x481273([_0x4b2463(0x0,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x18a)])),_0x4b2463(0x1,_0x3ab5c5['Inject'](_0x3440c7[_0x2c5995(0x153)]))],_0x1cca9a);var _0x43f9f6=Object[_0x2c5995(0xaa)],_0x2c5a91=Object[_0x2c5995(0x9f)],_0x57737a=(_0x12e9ac,_0x5a40c9,_0x1b1935)=>_0x5a40c9 in _0x12e9ac?_0x43f9f6(_0x12e9ac,_0x5a40c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b1935}):_0x12e9ac[_0x5a40c9]=_0x1b1935,_0x59c2f1=(_0x310066,_0x34a423,_0x3c1c27,_0x569ee3)=>{for(var _0x1c2af0=_0x569ee3>0x1?void 0x0:_0x569ee3?_0x2c5a91(_0x34a423,_0x3c1c27):_0x34a423,_0x2d9638=_0x310066['length']-0x1,_0x3fbc07;_0x2d9638>=0x0;_0x2d9638--)(_0x3fbc07=_0x310066[_0x2d9638])&&(_0x1c2af0=_0x3fbc07(_0x1c2af0)||_0x1c2af0);return _0x1c2af0;},_0x4340d2=(_0x1804f8,_0x4dd41b)=>(_0x1ebcf2,_0x54b485)=>_0x4dd41b(_0x1ebcf2,_0x54b485,_0x1804f8),_0xbe0630=(_0x19934f,_0x582177,_0x219ef6)=>_0x57737a(_0x19934f,typeof _0x582177!='symbol'?_0x582177+'':_0x582177,_0x219ef6);_0x3440c7[_0x2c5995(0x111)]=class extends _0x3ab5c5['Plugin']{constructor(_0x9e97ef={},_0x2cf10d,_0x559154){const _0x96ad07=_0x2c5995;super(),this[_0x96ad07(0xea)]=_0x9e97ef,this[_0x96ad07(0x119)]=_0x2cf10d,this[_0x96ad07(0xe4)]=_0x559154,this[_0x96ad07(0xf1)](),this[_0x96ad07(0xac)]();}[_0x2c5995(0xf1)](){const _0x13bb35=_0x2c5995;[[_0x3440c7['SparklineDataSourceModel']],[_0x4aeb2f],[_0x483e6a],[_0x4e1d2a],[_0x1af53b],[_0x2c76f7],[_0x4e2536],[_0x1cca9a]][_0x13bb35(0xb2)](_0x4a9ac8=>{const _0x23ebfe=_0x13bb35;this[_0x23ebfe(0x119)][_0x23ebfe(0xe3)](_0x4a9ac8);}),_0x3ab5c5[_0x13bb35(0x189)](this['_injector'],[[_0x1cca9a]]);}[_0x2c5995(0xc9)](){const _0xefa252=_0x2c5995;_0x3ab5c5[_0xefa252(0x189)](this[_0xefa252(0x119)],[[_0x4aeb2f],[_0x483e6a],[_0x4e1d2a],[_0x1af53b],[_0x2c76f7],[_0x4e2536]]);}[_0x2c5995(0xac)](){const _0x1677f0=_0x2c5995;[_0x1d0b00,_0x283169,_0x3e5c6a,_0x580935,_0x2f1a69,_0xd8a025][_0x1677f0(0xb2)](_0x2e43d3=>this[_0x1677f0(0xe4)][_0x1677f0(0xb7)](_0x2e43d3));}},_0xbe0630(_0x3440c7[_0x2c5995(0x111)],_0x2c5995(0xa6),_0x307fbb),_0xbe0630(_0x3440c7['UniverSheetSparklinePlugin'],_0x2c5995(0xc7),_0x3ab5c5['UniverInstanceType'][_0x2c5995(0x11a)]),_0x3440c7[_0x2c5995(0x111)]=_0x59c2f1([_0x3ab5c5[_0x2c5995(0x173)](_0x266896['UniverLicensePlugin']),_0x4340d2(0x1,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x15d)])),_0x4340d2(0x2,_0x3ab5c5[_0x2c5995(0x15c)](_0x3ab5c5[_0x2c5995(0x100)]))],_0x3440c7[_0x2c5995(0x111)]),_0x3440c7[_0x2c5995(0x12d)]=_0x1d0b00,_0x3440c7[_0x2c5995(0x140)]=_0x283169,_0x3440c7[_0x2c5995(0xed)]=_0x307fbb,_0x3440c7[_0x2c5995(0xcd)]=_0x3e5c6a,_0x3440c7[_0x2c5995(0x102)]=_0x580935,_0x3440c7[_0x2c5995(0xe5)]=_0x2f1a69,_0x3440c7['SetSheetSparklineMutation']=_0xd8a025,_0x3440c7[_0x2c5995(0x14e)]=_0x322c8c,_0x3440c7[_0x2c5995(0x152)]=_0x566ab2,_0x3440c7[_0x2c5995(0x179)]=_0x37c5a3,_0x3440c7[_0x2c5995(0xa8)]=_0x5aac55,_0x3440c7['SparklineThemeTypeEnum']=_0x550acf,_0x3440c7[_0x2c5995(0x15b)]=_0x1324e6,_0x3440c7[_0x2c5995(0xb6)]=_0x47750b,Object[_0x2c5995(0xaa)](_0x3440c7,Symbol[_0x2c5995(0xcc)],{'value':_0x2c5995(0x13f)});}));function _0x35b1(_0x24018e,_0x5c05f5){const _0x1f4e86=_0x1f4e();return _0x35b1=function(_0x35b1ae,_0x4d508b){_0x35b1ae=_0x35b1ae-0x98;let _0x22dbd6=_0x1f4e86[_0x35b1ae];return _0x22dbd6;},_0x35b1(_0x24018e,_0x5c05f5);}function _0x1f4e(){const _0x12a0d5=['rgb(30,177,189)','SetColVisibleMutation','GROUP_EXTREMUM','toJSON','forValue','themeType','rgb(236,100,169)','every','PROFIT_AND_LOSS_CHART','getSparkline','amd','emptyShowAs','foreach','283902KHvFte','cellToRange','setValue','CellValueType','add','_commandService','SetSheetSparklineCommand','getValue','sheet.command.set-sparkline','max','InsertColMutation','_config','STRING','RemoveColMutation','PLUGIN_NAME','BAR_CHART','RemoveRowMutation','IUniverInstanceService','_initDependencies','getCell','getSubUnitSparkline','ObjectMatrix','IExclusiveRangeService','Subject','315QQwcpA','contains','standard','334694ruWZXV','exclusiveRangesChange$','setSparkline','Tools','sheet.mutation.add-sparkline','function','ICommandService','SheetsSelectionsService','RemoveSheetSparklineMutation','lastPoint','number','range','entries','sheet.command.add-sparkline','CUSTOM','spacing','lowPoint','IUndoRedoService','DISTINCTIVE','SELF_EXTREMUM','size','getRowVisible','BOOLEAN','UniverSheetSparklinePlugin','_sparklineAnchorMap','toRgbString','has','10eCpOkF','_getRefRangeMutationsByDeleteCols','nonNumShowAs','UniverCore','_injector','UNIVER_SHEET','InsertRowMutation','Rectangle','4884552VDBgrj','removeRows','LINE_CHART','COMMAND','map','realDeleteValue','assign','startColumn','CONNECT_WITH_LINE','removeSparkline','reBuildAnchorCache','asObservable','disposeWithMe','moveColumns','getCurrentSelections','endColumn','AddSheetSparklineCommand','startRow','removeColumns','rgb(80,102,248)','next','RANGE_TYPE','fresh','RemoveColCommand','adjustRangeOnMutation','value','PIE_CHART','CUSTOM_EXTREMUM','removePartSparkline','sequenceExecute','disposableCollection','actualRow','custom','remove','Module','AddSheetSparklineMutation','SPACING','_sparklineDataSourceModel','getSparklineById','@univerjs/sheets','set','endRow','seriesColor','_initMergeWithSparkline','interceptCommand','onCommandExecuted','fromJSON','actualColumn','MAX_SAFE_INTEGER','SpacialShowAsEnum','some','params','length','SparklineExtremumTypeEnum','SparklineDataSourceModel','NORMAL','_sparklineModel','6546wNUstr','markersPoint','firstPoint','_ensureConfigMap','SetColHiddenMutation','SparklineTypeEnum','Inject','Injector','SetRowHiddenMutation','_initSnapshot','rgb(248,190,21)','column','RemoveRowCommand','FORCE_STRING','SPECIALTY','sheet.command.remove-sparkline','sheet.mutation.set-sparkline','Disposable','u-spacing','rxjs','SetWorksheetActivateCommand','_onRefRangeChange','UniverInstanceType','highPoint','intersects','config','sparklines','subUnitId','pushUndoRedo','DependentOn','refRangeHandle','sparklineModel','extremumMin','_initCopySheetWithSparkline','UniverSheets','SparklinePointsNames','@univerjs-pro/license','_exclusiveRangeService','matrix','STANDARD','_sheetSelectionService','getSizeOf','CommandType','push','CopySheetCommand','deepClone','updateSparklineExtraNum','_initExclusiveRangeChange','_initCorrectRangeWithSparkline','_updateConfig$','21648836zdHTXX','touchDependencies','IResourceManagerService','extremumMax','setAlpha','keys','groupId','sheet.mutation.remove-sparkline','2107124WSDjPt','MoveRowsMutation','u-connect','negativePoint','delete','addSparkline','7182ZduNzr','sparklineAnchorMap','getMatrix','deleteUnit','getOwnPropertyDescriptor','_sheetInterceptorService','getSparklineCache','rgb(244,104,249)','zero_value','generateRandomId','containHiddenCells','pluginName','SOFT','SparklineThemeMapping','dispose','defineProperty','SetRangeValuesMutation','_initRegisterCommand','6ORwcUJ','getSheetCommandTarget','_initHideRowColWithSparkline','NUMBER','SHEET_SPARKLINE_PLUGIN','forEach','MIN_SAFE_INTEGER','_initDataChangeListener','hasValue','getSparklinePlacement','registerCommand','values','Range','_resourceManagerService','clone','item','clearSparklineCache','_ensureAnchorMatrix','MUTATION','from','row','get','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','rgb(252,117,60)','getCellRaw','ranges','type','_getRefRangeMutationsByDeleteRows','onReady','251110ZDnFJW','rgb(49,106,246)','toStringTag','RemoveSheetSparklineCommand','ZERO_VALUE','object','_univerInstanceService','min'];_0x1f4e=function(){return _0x12a0d5;};return _0x1f4e();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-sparkline",
3
- "version": "0.9.1-nightly.202507101607",
3
+ "version": "0.9.2-nightly.202507111607",
4
4
  "private": false,
5
5
  "description": "sparkline for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -62,16 +62,16 @@
62
62
  "rxjs": ">=7.0.0"
63
63
  },
64
64
  "dependencies": {
65
- "@univerjs-pro/license": "0.9.1-nightly.202507101607",
66
- "@univerjs/core": "0.9.1-nightly.202507101607",
67
- "@univerjs/sheets": "0.9.1-nightly.202507101607"
65
+ "@univerjs-pro/license": "0.9.2-nightly.202507111607",
66
+ "@univerjs/sheets": "0.9.2-nightly.202507111607",
67
+ "@univerjs/core": "0.9.2-nightly.202507111607"
68
68
  },
69
69
  "devDependencies": {
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^5.8.3",
72
72
  "vite": "^6.3.5",
73
73
  "vitest": "^3.2.4",
74
- "@univerjs-infra/shared": "0.9.1"
74
+ "@univerjs-infra/shared": "0.9.2"
75
75
  },
76
76
  "scripts": {
77
77
  "test": "vitest run",