@univerjs-pro/sheets-sparkline 0.13.0-insiders.20251220-0a5ea4d → 0.14.0-insiders.20251222-4efcfbb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3bdabb,_0x105dcc){const _0x258469=_0x593e,_0x42a6e0=_0x3bdabb();while(!![]){try{const _0xc50dfd=-parseInt(_0x258469(0x25c))/0x1*(parseInt(_0x258469(0x1fd))/0x2)+parseInt(_0x258469(0x1a1))/0x3*(-parseInt(_0x258469(0x1b2))/0x4)+parseInt(_0x258469(0x174))/0x5*(parseInt(_0x258469(0x212))/0x6)+-parseInt(_0x258469(0x1c2))/0x7*(-parseInt(_0x258469(0x242))/0x8)+-parseInt(_0x258469(0x1f9))/0x9*(parseInt(_0x258469(0x1a6))/0xa)+-parseInt(_0x258469(0x18d))/0xb*(-parseInt(_0x258469(0x24d))/0xc)+parseInt(_0x258469(0x180))/0xd*(parseInt(_0x258469(0x24f))/0xe);if(_0xc50dfd===_0x105dcc)break;else _0x42a6e0['push'](_0x42a6e0['shift']());}catch(_0x29d870){_0x42a6e0['push'](_0x42a6e0['shift']());}}}(_0x3803,0xa9e5b),function(_0x42fb52,_0x1732a3){const _0x10c882=_0x593e;typeof exports==_0x10c882(0x22e)&&typeof module<'u'?_0x1732a3(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x10c882(0x182)&&define[_0x10c882(0x1ed)]?define([_0x10c882(0x188),_0x10c882(0x200),_0x10c882(0x20d),'rxjs',_0x10c882(0x21b)],_0x1732a3):(_0x42fb52=typeof globalThis<'u'?globalThis:_0x42fb52||self,_0x1732a3(_0x42fb52[_0x10c882(0x1b1)]={},_0x42fb52[_0x10c882(0x213)],_0x42fb52['UniverSheets'],_0x42fb52[_0x10c882(0x162)],_0x42fb52[_0x10c882(0x18e)]));}(this,function(_0x33c1ed,_0x31d190,_0x25282a,_0x356350,_0x885d29){'use strict';const _0x15ed9a=_0x593e;var _0x33ea0c=Object['defineProperty'],_0x2e7ff9=(_0x51eb96,_0x1dfe74,_0x585b7d)=>_0x1dfe74 in _0x51eb96?_0x33ea0c(_0x51eb96,_0x1dfe74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x585b7d}):_0x51eb96[_0x1dfe74]=_0x585b7d,_0x2c41c4=(_0x3491fd,_0x249e58,_0x10226a)=>_0x2e7ff9(_0x3491fd,typeof _0x249e58!=_0x15ed9a(0x19a)?_0x249e58+'':_0x249e58,_0x10226a);function _0x68a83c(_0x582842,_0x29bd42){const _0x556e79=_0x15ed9a,_0x1c9c7f=new _0x31d190[(_0x556e79(0x1ca))](),_0x26475c=[],_0x3c6ce2=_0x582842[_0x556e79(0x1d5)]>0x1;let _0x3d7c93=0x0,_0x56d6a4=0x0;for(const _0x668e7 of _0x582842)_0x3d7c93+=_0x668e7[_0x556e79(0x1e9)]-_0x668e7[_0x556e79(0x1a0)]+0x1,_0x56d6a4+=_0x668e7[_0x556e79(0x1d2)]-_0x668e7[_0x556e79(0x168)]+0x1;for(const _0x43e351 of _0x29bd42)for(let _0x5aed0f=_0x43e351['startRow'];_0x5aed0f<=_0x43e351[_0x556e79(0x1e9)];_0x5aed0f++)for(let _0x57b789=_0x43e351[_0x556e79(0x168)];_0x57b789<=_0x43e351['endColumn'];_0x57b789++)_0x26475c[_0x556e79(0x1c0)]({'row':_0x5aed0f,'column':_0x57b789});if(_0x26475c['length']===_0x3d7c93)_0x3c6ce2?_0x26475c[_0x556e79(0x19b)]((_0x68f2db,_0x3187ae)=>{const _0x2d9060=_0x556e79,_0x4c797=_0x582842[_0x3187ae],_0x59e473={'startRow':_0x4c797[_0x2d9060(0x1a0)],'startColumn':_0x4c797[_0x2d9060(0x168)],'endRow':_0x4c797[_0x2d9060(0x1a0)],'endColumn':_0x4c797[_0x2d9060(0x1d2)]};_0x1c9c7f[_0x2d9060(0x1ee)](_0x68f2db[_0x2d9060(0x1e3)],_0x68f2db['column'],_0x59e473);}):_0x26475c[_0x556e79(0x19b)]((_0x1abe4e,_0x38bfcf)=>{const _0x50e4f6=_0x556e79,_0x45cd01=_0x582842[0x0],_0x2e18f8={'startRow':_0x45cd01['startRow']+_0x38bfcf,'startColumn':_0x45cd01[_0x50e4f6(0x168)],'endRow':_0x45cd01['startRow']+_0x38bfcf,'endColumn':_0x45cd01[_0x50e4f6(0x1d2)]};_0x1c9c7f[_0x50e4f6(0x1ee)](_0x1abe4e[_0x50e4f6(0x1e3)],_0x1abe4e[_0x50e4f6(0x1ba)],_0x2e18f8);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x56d6a4)_0x3c6ce2?_0x26475c['forEach']((_0x20eaea,_0x3f594c)=>{const _0x30a8cb=_0x556e79,_0x4c762d=_0x582842[_0x3f594c],_0x52122f={'startRow':_0x4c762d[_0x30a8cb(0x1a0)],'startColumn':_0x4c762d['startColumn'],'endRow':_0x4c762d[_0x30a8cb(0x1e9)],'endColumn':_0x4c762d[_0x30a8cb(0x168)]};_0x1c9c7f['setValue'](_0x20eaea[_0x30a8cb(0x1e3)],_0x20eaea['column'],_0x52122f);}):_0x26475c[_0x556e79(0x19b)]((_0x101925,_0x2a701c)=>{const _0x450c83=_0x556e79,_0x3ccc86=_0x582842[0x0],_0x358149={'startRow':_0x3ccc86[_0x450c83(0x1a0)],'startColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c,'endRow':_0x3ccc86[_0x450c83(0x1e9)],'endColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c};_0x1c9c7f[_0x450c83(0x1ee)](_0x101925['row'],_0x101925[_0x450c83(0x1ba)],_0x358149);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x582842[_0x556e79(0x1d5)])_0x582842[_0x556e79(0x1fc)](_0x87c704=>!(_0x87c704[_0x556e79(0x1a0)]!==_0x87c704[_0x556e79(0x1e9)]&&_0x87c704[_0x556e79(0x168)]!==_0x87c704[_0x556e79(0x1d2)]))&&_0x26475c[_0x556e79(0x19b)]((_0x266d8d,_0x5b880a)=>{const _0x4db2c0=_0x556e79,_0x34c5dc=_0x582842[_0x5b880a];_0x1c9c7f[_0x4db2c0(0x1ee)](_0x266d8d[_0x4db2c0(0x1e3)],_0x266d8d[_0x4db2c0(0x1ba)],_0x34c5dc);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x1c9c7f;}const _0x2bdcee=_0x15ed9a(0x1a7),_0x425d02={'standard':[_0x15ed9a(0x1e0),_0x15ed9a(0x237)],'specialty':[_0x15ed9a(0x1b7),_0x15ed9a(0x1dd)],'distinctive':[_0x15ed9a(0x1a4),'rgb(252,117,60)'],'soft':[_0x15ed9a(0x18a),_0x15ed9a(0x1cc)],'fresh':['rgb(46,187,122)',_0x15ed9a(0x208)]},_0x4da1af=[_0x15ed9a(0x1ff),_0x15ed9a(0x20b),'lastPoint','lowPoint','negativePoint',_0x15ed9a(0x19d)];var _0x1ed78d=(_0x38fdba=>(_0x38fdba['STANDARD']=_0x15ed9a(0x181),_0x38fdba[_0x15ed9a(0x1b4)]=_0x15ed9a(0x18b),_0x38fdba[_0x15ed9a(0x16e)]='distinctive',_0x38fdba[_0x15ed9a(0x1ad)]=_0x15ed9a(0x1ec),_0x38fdba[_0x15ed9a(0x216)]='fresh',_0x38fdba['CUSTOM']=_0x15ed9a(0x172),_0x38fdba))(_0x1ed78d||{}),_0x11d5e6=(_0x486b5e=>(_0x486b5e[_0x486b5e['LINE_CHART']=0x1]=_0x15ed9a(0x260),_0x486b5e[_0x486b5e[_0x15ed9a(0x217)]=0x2]=_0x15ed9a(0x217),_0x486b5e[_0x486b5e[_0x15ed9a(0x17d)]=0x3]=_0x15ed9a(0x17d),_0x486b5e[_0x486b5e[_0x15ed9a(0x198)]=0x4]=_0x15ed9a(0x198),_0x486b5e))(_0x11d5e6||{}),_0x4ddcc1=(_0xbbc3d8=>(_0xbbc3d8[_0x15ed9a(0x25d)]=_0x15ed9a(0x257),_0xbbc3d8[_0x15ed9a(0x230)]='zero_value',_0xbbc3d8['CONNECT_WITH_LINE']=_0x15ed9a(0x25e),_0xbbc3d8))(_0x4ddcc1||{}),_0x22bf49=(_0x4f76f7=>(_0x4f76f7[_0x4f76f7['SELF_EXTREMUM']=0x1]=_0x15ed9a(0x160),_0x4f76f7[_0x4f76f7[_0x15ed9a(0x23c)]=0x2]=_0x15ed9a(0x23c),_0x4f76f7[_0x4f76f7['CUSTOM_EXTREMUM']=0x3]=_0x15ed9a(0x193),_0x4f76f7))(_0x22bf49||{}),_0x29d865=Object[_0x15ed9a(0x1cd)],_0x1921a2=(_0x18e7bb,_0x377fda,_0x1e6f4c,_0x381fd1)=>{const _0x5c88f9=_0x15ed9a;for(var _0x2c7063=_0x381fd1>0x1?void 0x0:_0x381fd1?_0x29d865(_0x377fda,_0x1e6f4c):_0x377fda,_0x419a73=_0x18e7bb[_0x5c88f9(0x1d5)]-0x1,_0x254f65;_0x419a73>=0x0;_0x419a73--)(_0x254f65=_0x18e7bb[_0x419a73])&&(_0x2c7063=_0x254f65(_0x2c7063)||_0x2c7063);return _0x2c7063;},_0x9f7def=(_0x47c391,_0x80568d)=>(_0x3eca49,_0x10c2f0)=>_0x80568d(_0x3eca49,_0x10c2f0,_0x47c391);_0x33c1ed['SparklineDataSourceModel']=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x3c71fb){const _0x27d2d6=_0x15ed9a;super(),_0x2c41c4(this,_0x27d2d6(0x259),new Map()),_0x2c41c4(this,_0x27d2d6(0x23f),new Map()),_0x2c41c4(this,_0x27d2d6(0x1d7),new _0x356350[(_0x27d2d6(0x163))]()),_0x2c41c4(this,_0x27d2d6(0x247),this[_0x27d2d6(0x1d7)]['asObservable']()),this[_0x27d2d6(0x1c6)]=_0x3c71fb;}[_0x15ed9a(0x15b)](_0x458adf,_0x859978){const _0x2ca342=_0x15ed9a;let _0x2b8cb6=this[_0x2ca342(0x259)][_0x2ca342(0x1d9)](_0x458adf);_0x2b8cb6||(_0x2b8cb6=new Map(),this[_0x2ca342(0x259)][_0x2ca342(0x227)](_0x458adf,_0x2b8cb6));let _0x4bdc73=_0x2b8cb6['get'](_0x859978);return _0x4bdc73||(_0x4bdc73=new Map(),_0x2b8cb6[_0x2ca342(0x227)](_0x859978,_0x4bdc73)),_0x4bdc73;}[_0x15ed9a(0x166)](_0x5649c0,_0x4182fb){const _0x42c65a=_0x15ed9a;let _0x17f1a1=this['_sparklineAnchorMap']['get'](_0x5649c0);_0x17f1a1||(_0x17f1a1=new Map(),this[_0x42c65a(0x23f)][_0x42c65a(0x227)](_0x5649c0,_0x17f1a1));let _0x42efbd=_0x17f1a1[_0x42c65a(0x1d9)](_0x4182fb);return _0x42efbd||(_0x42efbd={'matrix':new _0x31d190['ObjectMatrix'](),'extra':{}},_0x17f1a1[_0x42c65a(0x227)](_0x4182fb,_0x42efbd)),_0x42efbd;}[_0x15ed9a(0x1ef)](_0x25dcca,_0x1a70c9,_0x39840f,_0x4371a7=_0x15ed9a(0x227)){const _0x22c371=_0x15ed9a;var _0x270e9e,_0x409f7a,_0x24bbac,_0x1f7a12,_0x22695d,_0x2b9998,_0x12641c,_0x3fe401,_0x4137ad,_0x4cf883,_0x1f6678,_0x56cd7e,_0x760bd0;const _0x4c9960=(_0x409f7a=(_0x270e9e=this['_sparklineModel']['get'](_0x25dcca))==null?void 0x0:_0x270e9e[_0x22c371(0x1d9)](_0x1a70c9))==null?void 0x0:_0x409f7a[_0x22c371(0x1d9)](_0x39840f);if(!_0x4c9960)return;const _0x3db188=_0x25282a[_0x22c371(0x214)](this[_0x22c371(0x1c6)],{'unitId':_0x25dcca,'subUnitId':_0x1a70c9});if(!_0x3db188)return;const _0x4b3a67=this['_ensureAnchorMatrix'](_0x25dcca,_0x1a70c9),{extra:_0x595427,matrix:_0x40958a}=_0x4b3a67,{worksheet:_0x3200eb}=_0x3db188;let _0x58b6a3=Number[_0x22c371(0x24e)],_0x314254=Number[_0x22c371(0x229)];const _0x57e921=(_0x24bbac=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x1f3)])!=null?_0x24bbac:!0x1;_0x4c9960[_0x22c371(0x15c)][_0x22c371(0x1c1)]((_0x297880,_0x3d46ef,_0x50fda2)=>{const _0x35be4b=_0x22c371;var _0x33314e,_0x5f2b86,_0x2e42a5;const _0x5f4601=_0x50fda2;let _0x17d84f=Number['MIN_SAFE_INTEGER'],_0x2147c9=Number['MAX_SAFE_INTEGER'],_0x314860=0x0,_0x9c7854=0x0;const _0x807155=[];if(!_0x31d190[_0x35be4b(0x1bf)](_0x5f4601))_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':[],'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});else{const _0x5c4c5c=[];for(let _0x51b8c5=_0x5f4601[_0x35be4b(0x1a0)];_0x51b8c5<=_0x5f4601['endRow'];_0x51b8c5++){for(let _0x34032d=_0x5f4601[_0x35be4b(0x168)];_0x34032d<=_0x5f4601[_0x35be4b(0x1d2)];_0x34032d++){const _0x11f741=_0x3200eb[_0x35be4b(0x171)](_0x51b8c5),_0x210ced=_0x3200eb[_0x35be4b(0x1ac)](_0x34032d);if(!_0x57e921&&(!_0x11f741||!_0x210ced))continue;let _0x304082=0x0;const _0x3275bb=((_0x33314e=_0x3200eb[_0x35be4b(0x199)](_0x51b8c5,_0x34032d))==null?void 0x0:_0x33314e['v'])!==void 0x0?_0x3200eb['getCellRaw'](_0x51b8c5,_0x34032d):_0x3200eb[_0x35be4b(0x243)](_0x51b8c5,_0x34032d);if(!_0x3275bb||_0x3275bb['v']===void 0x0||_0x3275bb['v']===null){const _0x108164=(_0x5f2b86=_0x4c9960[_0x35be4b(0x240)][_0x35be4b(0x1d4)])!=null?_0x5f2b86:_0x4ddcc1[_0x35be4b(0x25d)];_0x108164===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x108164===_0x4ddcc1['SPACING']?_0x304082=_0x35be4b(0x239):_0x108164===_0x4ddcc1['CONNECT_WITH_LINE']&&(_0x304082=_0x35be4b(0x233));}else{if(_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['STRING']||_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['FORCE_STRING']){const _0x46c5b8=(_0x2e42a5=_0x4c9960[_0x35be4b(0x240)]['nonNumShowAs'])!=null?_0x2e42a5:_0x4ddcc1['SPACING'];_0x46c5b8===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x46c5b8===_0x4ddcc1['SPACING']?_0x304082='u-spacing':_0x46c5b8===_0x4ddcc1[_0x35be4b(0x1fb)]&&(_0x304082=_0x35be4b(0x233));}else _0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['BOOLEAN']?_0x304082=_0x3275bb['v']?0x1:0x0:_0x3275bb['t']===_0x31d190['CellValueType'][_0x35be4b(0x219)]?_0x304082=Number(_0x3275bb['v']):_0x304082=_0x3275bb['v'];}if(_0x5c4c5c[_0x35be4b(0x1c0)](_0x304082),typeof _0x304082=='number'){_0x17d84f=Math[_0x35be4b(0x249)](_0x17d84f,_0x304082),_0x58b6a3=Math[_0x35be4b(0x249)](_0x58b6a3,_0x304082),_0x314254=Math['min'](_0x314254,_0x304082),_0x2147c9=Math['min'](_0x2147c9,_0x304082);const _0x344e0d=typeof _0x5c4c5c[_0x314860]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x314860]):Number['MIN_SAFE_INTEGER'];_0x304082>_0x344e0d&&(_0x314860=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);const _0x695615=typeof _0x5c4c5c[_0x9c7854]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x9c7854]):Number[_0x35be4b(0x229)];_0x304082<_0x695615&&(_0x9c7854=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1),_0x304082<0x0&&_0x807155[_0x35be4b(0x1c0)](_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);}}_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':_0x5c4c5c,'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});}}});let _0x25469b=_0x58b6a3;((_0x1f7a12=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x1f7a12['type'])===_0x22bf49['CUSTOM_EXTREMUM']&&(_0x25469b=(_0x2b9998=(_0x22695d=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x22695d['value'])!=null?_0x2b9998:_0x58b6a3);let _0x3e51ec=_0x314254;((_0x12641c=_0x4c9960[_0x22c371(0x240)]['extremumMin'])==null?void 0x0:_0x12641c[_0x22c371(0x1eb)])===_0x22bf49[_0x22c371(0x193)]&&(_0x3e51ec=(_0x4137ad=(_0x3fe401=_0x4c9960['config']['extremumMin'])==null?void 0x0:_0x3fe401[_0x22c371(0x1e4)])!=null?_0x4137ad:_0x314254);const _0x5935ff=(_0x4cf883=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x19c)])!=null?_0x4cf883:_0x1ed78d[_0x22c371(0x15d)],_0x3ffcdd=(_0x760bd0=(_0x56cd7e=_0x4c9960[_0x22c371(0x240)]['seriesColor'])!=null?_0x56cd7e:(_0x1f6678=_0x425d02[_0x5935ff])==null?void 0x0:_0x1f6678[0x0])!=null?_0x760bd0:_0x425d02['standard'][0x0],_0x3fa126=new _0x31d190[(_0x22c371(0x1a3))](_0x3ffcdd),_0x3bc773=_0x3fa126[_0x22c371(0x21c)](0.2)[_0x22c371(0x246)](),_0x220be8=_0x3fa126[_0x22c371(0x21c)](0.05)[_0x22c371(0x246)]();_0x595427[_0x39840f]={'groupMax':_0x58b6a3,'groupMin':_0x314254,'showMax':_0x25469b,'showMin':_0x3e51ec,'startGradient':_0x3bc773,'endGradient':_0x220be8},this[_0x22c371(0x1d7)][_0x22c371(0x21e)]({'unitId':_0x25dcca,'subUnitId':_0x1a70c9,'groupId':_0x39840f,'config':_0x4c9960,'type':_0x4371a7});}[_0x15ed9a(0x17a)](_0x216447,_0x5d1949,_0xf3f732,_0x384e1b){const _0x30c259=_0x15ed9a;this['_ensureConfigMap'](_0x216447,_0x5d1949)[_0x30c259(0x227)](_0xf3f732,_0x384e1b),this[_0x30c259(0x1ef)](_0x216447,_0x5d1949,_0xf3f732,_0x30c259(0x1a9));}['setSparkline'](_0x1613ce,_0x5ca1a5,_0x305335,_0x5cee12){const _0x18da33=_0x15ed9a;var _0x2bbe9a;const _0x273229=(_0x2bbe9a=this['_sparklineModel'][_0x18da33(0x1d9)](_0x1613ce))==null?void 0x0:_0x2bbe9a[_0x18da33(0x1d9)](_0x5ca1a5);_0x305335['forEach'](_0x30da99=>{const _0x526602=_0x18da33;_0x273229!=null&&_0x273229['has'](_0x30da99)&&(_0x273229[_0x526602(0x227)](_0x30da99,_0x5cee12),this[_0x526602(0x1ef)](_0x1613ce,_0x5ca1a5,_0x30da99));});}[_0x15ed9a(0x206)](_0x2d73e3,_0x2c2bf1,_0x1fcf60){const _0x28d2f2=_0x15ed9a;var _0xc5ffdf,_0x2c3e42;const _0x33a021=this[_0x28d2f2(0x259)][_0x28d2f2(0x1d9)](_0x2d73e3);if(_0x33a021){const _0x42d1de=_0x33a021['get'](_0x2c2bf1);if(_0x42d1de){_0x42d1de[_0x28d2f2(0x207)](_0x1fcf60);const _0x2864f7=(_0xc5ffdf=this[_0x28d2f2(0x23f)][_0x28d2f2(0x1d9)](_0x2d73e3))==null?void 0x0:_0xc5ffdf[_0x28d2f2(0x1d9)](_0x2c2bf1);(_0x2c3e42=_0x2864f7==null?void 0x0:_0x2864f7[_0x28d2f2(0x1f8)])==null||_0x2c3e42[_0x28d2f2(0x1c1)]((_0x742d37,_0x3a0597,_0x10603b)=>{const _0xbd8d90=_0x28d2f2;(_0x10603b==null?void 0x0:_0x10603b[_0xbd8d90(0x1e8)])===_0x1fcf60&&(_0x2864f7==null||_0x2864f7['matrix'][_0xbd8d90(0x1bd)](_0x742d37,_0x3a0597));}),this[_0x28d2f2(0x1d7)][_0x28d2f2(0x21e)]({'unitId':_0x2d73e3,'subUnitId':_0x2c2bf1,'groupId':_0x1fcf60,'type':'remove'}),_0x42d1de[_0x28d2f2(0x1a5)]===0x0&&_0x33a021[_0x28d2f2(0x207)](_0x2c2bf1);}}}[_0x15ed9a(0x18f)](_0x5f2203,_0x5f34d8,_0x18e21d,_0x4401f8){const _0x2e57f5=_0x15ed9a;var _0x309983,_0x2d0126,_0x352264,_0x1e41d7;const _0x35f5f2=(_0x309983=this[_0x2e57f5(0x23f)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x309983[_0x2e57f5(0x1d9)](_0x5f34d8),_0x3d4ffb=_0x35f5f2==null?void 0x0:_0x35f5f2['matrix'][_0x2e57f5(0x1da)](_0x18e21d,_0x4401f8);if(_0x3d4ffb){const {groupId:_0x49b724}=_0x3d4ffb,_0x593674=(_0x2d0126=this[_0x2e57f5(0x259)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x2d0126[_0x2e57f5(0x1d9)](_0x5f34d8);(_0x352264=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))==null||_0x352264[_0x2e57f5(0x15c)]['realDeleteValue'](_0x18e21d,_0x4401f8),(_0x1e41d7=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))!=null&&_0x1e41d7[_0x2e57f5(0x15c)][_0x2e57f5(0x1af)]()||_0x593674==null||_0x593674['delete'](_0x49b724),_0x35f5f2==null||_0x35f5f2['matrix'][_0x2e57f5(0x1bd)](_0x18e21d,_0x4401f8),this[_0x2e57f5(0x1d7)][_0x2e57f5(0x21e)]({'unitId':_0x5f2203,'subUnitId':_0x5f34d8,'groupId':_0x49b724,'type':_0x2e57f5(0x1d3)});}}[_0x15ed9a(0x211)](_0x3335f8,_0x4761c5,_0x591c5f){const _0x234b8d=_0x15ed9a;var _0x577e10,_0x386562,_0x5a7de9,_0xe8edca;const _0x500fb6=(_0x5a7de9=(_0x386562=(_0x577e10=this[_0x234b8d(0x259)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0x577e10[_0x234b8d(0x1d9)](_0x4761c5))==null?void 0x0:_0x386562['get'](_0x591c5f))==null?void 0x0:_0x5a7de9[_0x234b8d(0x15c)],_0x2f1fe1=(_0xe8edca=this[_0x234b8d(0x23f)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0xe8edca['get'](_0x4761c5);if(_0x500fb6&&_0x2f1fe1){const {matrix:_0x1316b6,extra:_0x6b2076}=_0x2f1fe1;_0x500fb6[_0x234b8d(0x1c1)]((_0x3652b7,_0x1d6248,_0x1e7496)=>{const _0x19aa88=_0x234b8d;_0x1316b6[_0x19aa88(0x1bd)](_0x3652b7,_0x1d6248);}),delete _0x6b2076[_0x591c5f];}}['getSubUnitSparkline'](_0x290120,_0x450af8){const _0x538985=_0x15ed9a;var _0x13502d;return(_0x13502d=this[_0x538985(0x259)][_0x538985(0x1d9)](_0x290120))==null?void 0x0:_0x13502d[_0x538985(0x1d9)](_0x450af8);}[_0x15ed9a(0x248)](_0xfb898a,_0x124618,_0x5750f1){const _0x44b357=_0x15ed9a;var _0x1f379d,_0x2370a0;return(_0x2370a0=(_0x1f379d=this[_0x44b357(0x259)][_0x44b357(0x1d9)](_0xfb898a))==null?void 0x0:_0x1f379d['get'](_0x124618))==null?void 0x0:_0x2370a0[_0x44b357(0x1d9)](_0x5750f1);}[_0x15ed9a(0x23d)](_0x3bdcaa,_0x11c540,_0x5b6d0c,_0x4750d8){const _0x28b642=_0x15ed9a;var _0x25d869,_0x41b69f,_0x407315;return(_0x407315=(_0x41b69f=(_0x25d869=this[_0x28b642(0x23f)][_0x28b642(0x1d9)](_0x3bdcaa))==null?void 0x0:_0x25d869[_0x28b642(0x1d9)](_0x11c540))==null?void 0x0:_0x41b69f[_0x28b642(0x1f8)][_0x28b642(0x1da)](_0x5b6d0c,_0x4750d8))==null?void 0x0:_0x407315[_0x28b642(0x1e8)];}[_0x15ed9a(0x1f5)](_0x3e20e7,_0x3b4a3b){const _0x5019c3=_0x15ed9a;var _0x2a8d38;const _0x5266e5=this[_0x5019c3(0x166)](_0x3e20e7,_0x3b4a3b);_0x5266e5[_0x5019c3(0x1f8)][_0x5019c3(0x1c1)]((_0x45ee36,_0x9da744)=>{const _0x4e160c=_0x5019c3;_0x5266e5[_0x4e160c(0x1f8)][_0x4e160c(0x1bd)](_0x45ee36,_0x9da744);});const _0x5d6f2f=(_0x2a8d38=this[_0x5019c3(0x259)][_0x5019c3(0x1d9)](_0x3e20e7))==null?void 0x0:_0x2a8d38[_0x5019c3(0x1d9)](_0x3b4a3b);if(_0x5d6f2f){for(const [_0x151880]of _0x5d6f2f)this[_0x5019c3(0x1ef)](_0x3e20e7,_0x3b4a3b,_0x151880);}}[_0x15ed9a(0x169)](){const _0x2a665c=_0x15ed9a;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x2a665c(0x23f)]};}[_0x15ed9a(0x258)](_0x5288d6){const _0x4f4893=_0x15ed9a,_0x40278c={};if(this['_sparklineModel'][_0x4f4893(0x189)](_0x5288d6)){_0x40278c[_0x5288d6]={};const _0x2ecdbc=this[_0x4f4893(0x259)]['get'](_0x5288d6);_0x2ecdbc!=null&&_0x2ecdbc['size']&&Array[_0x4f4893(0x1fe)](_0x2ecdbc[_0x4f4893(0x1d6)]())[_0x4f4893(0x19b)](_0x573ec7=>{const _0x463156=_0x4f4893;_0x40278c[_0x5288d6][_0x573ec7]={};const _0x12e09f=_0x2ecdbc['get'](_0x573ec7);_0x12e09f!=null&&_0x12e09f['size']&&Array[_0x463156(0x1fe)](_0x12e09f[_0x463156(0x1d6)]())[_0x463156(0x19b)](_0x49e234=>{const _0x144610=_0x463156,_0x5060bf=_0x12e09f[_0x144610(0x1d9)](_0x49e234);_0x5060bf&&(_0x40278c[_0x5288d6][_0x573ec7][_0x49e234]={'config':_0x5060bf[_0x144610(0x240)],'sparklines':_0x5060bf[_0x144610(0x15c)][_0x144610(0x20c)]()});});});}return _0x40278c;}['fromJSON'](_0x2e7396){const _0x3ab7a2=_0x15ed9a;if(!_0x2e7396)return;Object[_0x3ab7a2(0x1d6)](_0x2e7396)['forEach'](_0x4d90a9=>{const _0x496417=_0x3ab7a2,_0x25dc69=_0x2e7396[_0x4d90a9];_0x25dc69&&Object[_0x496417(0x1d6)](_0x25dc69)[_0x496417(0x19b)](_0x5105c9=>{const _0x27502f=_0x496417,_0x3a2657=_0x25dc69[_0x5105c9];_0x3a2657&&Object[_0x27502f(0x1d6)](_0x3a2657)[_0x27502f(0x19b)](_0x36c5a2=>{const _0xf6c713=_0x27502f,_0x2b7dab=_0x3a2657[_0x36c5a2];if(_0x2b7dab){const _0x2cb5c9={'config':_0x2b7dab['config'],'sparklines':new _0x31d190['ObjectMatrix'](_0x2b7dab[_0xf6c713(0x15c)])};this[_0xf6c713(0x17a)](_0x4d90a9,_0x5105c9,_0x36c5a2,_0x2cb5c9);}});});});}[_0x15ed9a(0x1c5)](_0x57d23d){const _0x26f004=_0x15ed9a,_0x62a5c5=this['_sparklineModel'][_0x26f004(0x1d9)](_0x57d23d);if(_0x62a5c5){for(const [_0x57e2b9]of _0x62a5c5){const _0x3d6c10=_0x62a5c5[_0x26f004(0x1d9)](_0x57e2b9);if(_0x3d6c10){for(const [_0x55febc]of _0x3d6c10)this['clearSparklineCache'](_0x57d23d,_0x57e2b9,_0x55febc);}}this[_0x26f004(0x259)][_0x26f004(0x207)](_0x57d23d);}}},_0x33c1ed[_0x15ed9a(0x159)]=_0x1921a2([_0x9f7def(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)]))],_0x33c1ed[_0x15ed9a(0x159)]);const _0x3f9b3d={'id':_0x15ed9a(0x170),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x272b61,_0x292438)=>{const _0x1a9195=_0x15ed9a;if(!_0x292438)return!0x1;const {sparklineConfigMap:_0x3745f1,unitId:_0x32626c,subUnitId:_0x53f641}=_0x292438,_0x4d2b64=_0x272b61[_0x1a9195(0x1d9)](_0x33c1ed[_0x1a9195(0x159)]);return Object['entries'](_0x3745f1)[_0x1a9195(0x19b)](([_0x221708,_0x31b829])=>{const _0x2ba356=_0x1a9195,_0x5a73ae={'config':_0x31b829['config'],'sparklines':new _0x31d190[(_0x2ba356(0x1ca))](_0x31b829['sparklines'])};_0x4d2b64['addSparkline'](_0x32626c,_0x53f641,_0x221708,_0x5a73ae);}),!0x0;}},_0x38f3fd={'id':_0x15ed9a(0x194),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x62f1d1,_0x2a7cbc)=>{const _0x70f574=_0x15ed9a;if(!_0x2a7cbc)return!0x1;const {unitId:_0x1e6729,subUnitId:_0x387594,ranges:_0x405ef2,isSingle:_0x2d1b4c,groupIds:_0x2e14fd}=_0x2a7cbc,_0x250740=_0x62f1d1['get'](_0x33c1ed[_0x70f574(0x159)]);return _0x2e14fd?(_0x2e14fd[_0x70f574(0x19b)](_0x1414b9=>{_0x250740['removeSparkline'](_0x1e6729,_0x387594,_0x1414b9);}),!0x0):_0x405ef2?(_0x405ef2[_0x70f574(0x19b)](_0x5027b6=>{const _0x16da68=_0x70f574;_0x31d190[_0x16da68(0x164)][_0x16da68(0x16b)](_0x5027b6,(_0x5d8362,_0x23cacc)=>{const _0x2cebb0=_0x16da68,_0x28f5b9=_0x250740[_0x2cebb0(0x23d)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc);_0x28f5b9&&(_0x2d1b4c?_0x250740[_0x2cebb0(0x18f)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc):_0x250740[_0x2cebb0(0x206)](_0x1e6729,_0x387594,_0x28f5b9));});}),!0x0):!0x1;}},_0x4331aa={'id':_0x15ed9a(0x256),'type':_0x31d190[_0x15ed9a(0x1be)]['COMMAND'],'handler':(_0x52986c,_0x8d7c52)=>{const _0x134437=_0x15ed9a;if(!_0x8d7c52)return!0x1;const {sourceRanges:_0x44f61a,targetRanges:_0x75227d,config:_0xe84d1e}=_0x8d7c52,_0x572a78=_0x52986c['get'](_0x31d190['IUndoRedoService']),_0x22afc0='g_'+_0x31d190[_0x134437(0x18c)](0x6),_0x3465b1=_0x68a83c(_0x44f61a,_0x75227d),_0xce314b={'config':_0xe84d1e!=null?_0xe84d1e:{},'sparklines':_0x3465b1['getMatrix']()},_0x20c984=_0x52986c[_0x134437(0x1d9)](_0x31d190[_0x134437(0x1c8)]),_0x1ae0f8=_0x52986c[_0x134437(0x1d9)](_0x33c1ed[_0x134437(0x159)]),_0x1a9c72=_0x25282a['getSheetCommandTarget'](_0x20c984);if(!_0x1a9c72)return!0x1;const {unitId:_0x4afb7c,subUnitId:_0x17ef73}=_0x1a9c72,_0x20db7a=_0x52986c['get'](_0x31d190['ICommandService']),_0x2da0ea=[],_0x1c4435=[],_0x4f1931={},_0x3bfa78={},_0x258a4e=new Set([_0x22afc0]);_0x3465b1[_0x134437(0x1c1)]((_0x213b12,_0x245ad9,_0x4b45d3)=>{const _0x5b8b34=_0x134437,_0x2d8166=_0x1ae0f8[_0x5b8b34(0x23d)](_0x4afb7c,_0x17ef73,_0x213b12,_0x245ad9);if(_0x2d8166){const _0x408c00=_0x1ae0f8[_0x5b8b34(0x248)](_0x4afb7c,_0x17ef73,_0x2d8166);if(_0x408c00){_0x258a4e['add'](_0x2d8166);let _0x267881=_0x4f1931[_0x2d8166],_0x46c81e=_0x3bfa78[_0x2d8166];_0x46c81e||(_0x46c81e={'config':_0x31d190[_0x5b8b34(0x1f2)][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':new _0x31d190['ObjectMatrix'](_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]())},_0x3bfa78[_0x2d8166]=_0x46c81e),_0x267881||(_0x267881={'config':_0x31d190['Tools'][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]()},_0x4f1931[_0x2d8166]=_0x267881),_0x46c81e[_0x5b8b34(0x15c)][_0x5b8b34(0x1bd)](_0x213b12,_0x245ad9);}}});const _0x528d56={};return Object[_0x134437(0x25a)](_0x3bfa78)[_0x134437(0x19b)](([_0x184c07,_0x29dca2])=>{const _0x55d93c=_0x134437;_0x29dca2[_0x55d93c(0x15c)][_0x55d93c(0x224)]()&&(_0x528d56[_0x184c07]={'config':_0x29dca2[_0x55d93c(0x240)],'sparklines':_0x29dca2[_0x55d93c(0x15c)]['clone']()});}),_0x528d56[_0x22afc0]=_0xce314b,_0x2da0ea[_0x134437(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x258a4e[_0x134437(0x1a5)]>0x1&&(_0x1c4435['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x2da0ea[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x4f1931}})),_0x1c4435[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x528d56}}),_0x31d190[_0x134437(0x1e2)](_0x1c4435,_0x20db7a),_0x572a78[_0x134437(0x1f6)]({'unitID':_0x4afb7c,'undoMutations':_0x2da0ea,'redoMutations':_0x1c4435}),!0x0;}},_0x43b5a7={'id':'sheet.command.remove-sparkline','type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x1d8)],'handler':(_0x837463,_0x40ff3e)=>{const _0x588c88=_0x15ed9a;var _0x5dafe7;const {isSingle:_0x5f5a2c=!0x0}=_0x40ff3e||{},_0x50279a=_0x837463[_0x588c88(0x1d9)](_0x31d190['ICommandService']),_0x4ad318=_0x837463[_0x588c88(0x1d9)](_0x31d190[_0x588c88(0x1c8)]),_0x586fdb=_0x837463[_0x588c88(0x1d9)](_0x33c1ed[_0x588c88(0x159)]),_0x26f977=_0x837463[_0x588c88(0x1d9)](_0x31d190['IUndoRedoService']),_0x5e4b1e=_0x25282a[_0x588c88(0x214)](_0x4ad318);if(!_0x5e4b1e)return!0x1;const _0x1bb273=_0x837463[_0x588c88(0x1d9)](_0x25282a['SheetsSelectionsService']),_0x14dcde=(_0x5dafe7=_0x40ff3e==null?void 0x0:_0x40ff3e['ranges'])!=null?_0x5dafe7:_0x1bb273[_0x588c88(0x186)]()[_0x588c88(0x23e)](_0x44d5be=>_0x44d5be['range']),{unitId:_0x3d61cf,subUnitId:_0x5ef259}=_0x5e4b1e,_0xdc5eb2=[],_0x27b0a0=[];_0xdc5eb2[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'ranges':_0x14dcde,'isSingle':_0x5f5a2c}});const _0x44967b=[],_0x1e2079={};return _0x14dcde['forEach'](_0x1cceb5=>{const _0x8da095=_0x588c88;_0x31d190[_0x8da095(0x164)][_0x8da095(0x16b)](_0x1cceb5,(_0x3dbd57,_0x4e1bdd)=>{const _0x5d9130=_0x8da095,_0x447c85=_0x586fdb[_0x5d9130(0x23d)](_0x3d61cf,_0x5ef259,_0x3dbd57,_0x4e1bdd);if(_0x447c85){const _0x2b0490=_0x586fdb['getSparklineById'](_0x3d61cf,_0x5ef259,_0x447c85);_0x2b0490&&(_0x44967b[_0x5d9130(0x1c0)](_0x447c85),_0x1e2079[_0x447c85]={'config':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x240)]),'sparklines':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x15c)][_0x5d9130(0x1bc)]())});}});}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'groupIds':_0x44967b,'isSingle':!0x1}}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'sparklineConfigMap':_0x1e2079}}),_0x31d190[_0x588c88(0x1e2)](_0xdc5eb2,_0x50279a),_0x26f977['pushUndoRedo']({'unitID':_0x3d61cf,'undoMutations':_0x27b0a0,'redoMutations':_0xdc5eb2}),!0x0;}},_0x40f599={'id':_0x15ed9a(0x161),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x59b03d,_0x5eda46)=>{const _0x2e410e=_0x15ed9a;if(!_0x5eda46)return!0x1;const {unitId:_0x2caba8,subUnitId:_0x4b9af6,groupIds:_0x1b730a,config:_0x852dcc}=_0x5eda46,_0x386cd0=_0x59b03d['get'](_0x33c1ed['SparklineDataSourceModel']);return _0x1b730a[_0x2e410e(0x19b)](_0x2b0019=>{const _0x4504e2=_0x2e410e,_0x4538f4=_0x386cd0[_0x4504e2(0x248)](_0x2caba8,_0x4b9af6,_0x2b0019);if(_0x4538f4){const _0x2fbdc5={'config':Object[_0x4504e2(0x16f)]({},_0x4538f4[_0x4504e2(0x240)],_0x852dcc[_0x4504e2(0x240)]),'sparklines':new _0x31d190[(_0x4504e2(0x1ca))](_0x4538f4[_0x4504e2(0x15c)][_0x4504e2(0x1bc)]())};_0x386cd0['setSparkline'](_0x2caba8,_0x4b9af6,[_0x2b0019],_0x2fbdc5);}}),!0x0;}},_0x46f7a6={'id':_0x15ed9a(0x190),'type':_0x31d190['CommandType'][_0x15ed9a(0x1d8)],'handler':(_0x398d39,_0x112ab2)=>{const _0x48c037=_0x15ed9a;var _0x4aed02,_0x5f4cd2,_0x418ff6,_0x57d4e3;if(!_0x112ab2)return!0x1;const _0x12c611=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x192)]),_0x289db8=_0x398d39['get'](_0x25282a['SheetsSelectionsService']),_0x17ed04=_0x398d39[_0x48c037(0x1d9)](_0x33c1ed[_0x48c037(0x159)]),_0x1b1489=_0x398d39[_0x48c037(0x1d9)](_0x31d190['IUniverInstanceService']),_0x229585=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x222)]),_0x56d8ce=_0x25282a['getSheetCommandTarget'](_0x1b1489);if(!_0x56d8ce)return!0x1;const {unitId:_0x4b34ba,subUnitId:_0x5a754f}=_0x56d8ce,_0x5dba93=(_0x4aed02=_0x112ab2==null?void 0x0:_0x112ab2[_0x48c037(0x16c)])!=null?_0x4aed02:_0x289db8['getCurrentSelections']()[_0x48c037(0x23e)](_0x3bb116=>_0x3bb116[_0x48c037(0x1b9)]),_0xc8a8bf=(_0x5f4cd2=_0x17ed04['getSparklineCache']()['sparklineAnchorMap'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x5f4cd2[_0x48c037(0x1d9)](_0x5a754f),{isChangeDataSource:_0x483d11,config:_0x1c0ea2,combine:_0x370fa3,unCombine:_0x16f274}=_0x112ab2;if(_0x370fa3){const _0x3e3780=[],_0x471eab=[];_0x3e3780['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0x11847a='g_'+_0x31d190[_0x48c037(0x18c)](0x6),_0x477330=new _0x31d190[(_0x48c037(0x1ca))](),_0x4cfc0c=(_0x418ff6=_0x17ed04[_0x48c037(0x169)]()[_0x48c037(0x1b8)][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x418ff6[_0x48c037(0x1d9)](_0x5a754f),_0x56a8f8=new Set([_0x11847a]),_0x14d596={};return _0x5dba93[_0x48c037(0x19b)](_0x3ff3e5=>{const _0x43c032=_0x48c037;var _0xd85dfc,_0x201e45;const {startRow:_0x95950c,endRow:_0x239c17,startColumn:_0x3a0417,endColumn:_0x687f1}=_0x3ff3e5;for(let _0x263a16=_0x95950c;_0x263a16<=_0x239c17;_0x263a16++)for(let _0x56577e=_0x3a0417;_0x56577e<=_0x687f1;_0x56577e++){const _0x296b69=(_0xd85dfc=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x43c032(0x1da)](_0x263a16,_0x56577e))==null?void 0x0:_0xd85dfc[_0x43c032(0x1e8)];if(_0x296b69){_0x56a8f8[_0x43c032(0x1a9)](_0x296b69);const _0x1ef993=_0x17ed04[_0x43c032(0x248)](_0x4b34ba,_0x5a754f,_0x296b69);_0x1ef993&&(_0x14d596[_0x296b69]={'config':_0x31d190['Tools']['deepClone'](_0x1ef993[_0x43c032(0x240)]),'sparklines':_0x31d190[_0x43c032(0x1f2)]['deepClone'](_0x1ef993[_0x43c032(0x15c)][_0x43c032(0x1bc)]())});const _0x4fa75a=(_0x201e45=_0x4cfc0c==null?void 0x0:_0x4cfc0c['get'](_0x296b69))==null?void 0x0:_0x201e45[_0x43c032(0x15c)][_0x43c032(0x1da)](_0x263a16,_0x56577e);_0x4fa75a&&_0x477330[_0x43c032(0x1ee)](_0x263a16,_0x56577e,_0x4fa75a);}}}),_0x3e3780[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'sparklineConfigMap':{[_0x11847a]:{'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x477330[_0x48c037(0x20c)]()}},'unitId':_0x4b34ba,'subUnitId':_0x5a754f}}),_0x471eab[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x56a8f8)}}),_0x471eab['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x14d596}}),_0x31d190[_0x48c037(0x1e2)](_0x3e3780,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x471eab,'redoMutations':_0x3e3780}),!0x0;}else{if(_0x16f274){const _0x5156f1=[],_0x81e378=[];_0x5156f1[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0xdde15=(_0x57d4e3=_0x17ed04['getSparklineCache']()['sparklineModel'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x57d4e3[_0x48c037(0x1d9)](_0x5a754f),_0x568f9e={},_0x1ec6d9=new Set(),_0x11d2e6={};return _0x5dba93[_0x48c037(0x19b)](_0x17b22b=>{const _0xe5b18f=_0x48c037;var _0x14ce72,_0x3d156a;const {startRow:_0x167101,endRow:_0x368163,startColumn:_0x5e5395,endColumn:_0x587877}=_0x17b22b;for(let _0x531e3a=_0x167101;_0x531e3a<=_0x368163;_0x531e3a++)for(let _0x4ba078=_0x5e5395;_0x4ba078<=_0x587877;_0x4ba078++){const _0x1b7985=(_0x14ce72=_0xc8a8bf==null?void 0x0:_0xc8a8bf[_0xe5b18f(0x1f8)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078))==null?void 0x0:_0x14ce72[_0xe5b18f(0x1e8)];if(_0x1b7985){const _0x351b8c=new _0x31d190['ObjectMatrix'](),_0x10b97c='g_'+_0x31d190[_0xe5b18f(0x18c)](0x6);_0x1ec6d9['add'](_0x1b7985),_0x1ec6d9[_0xe5b18f(0x1a9)](_0x10b97c);const _0x56bb3b=_0x17ed04[_0xe5b18f(0x248)](_0x4b34ba,_0x5a754f,_0x1b7985);_0x56bb3b&&(_0x11d2e6[_0x1b7985]={'config':_0x31d190['Tools'][_0xe5b18f(0x201)](_0x56bb3b['config']),'sparklines':_0x31d190[_0xe5b18f(0x1f2)][_0xe5b18f(0x201)](_0x56bb3b['sparklines']['clone']())});const _0x2df7d0=(_0x3d156a=_0xdde15==null?void 0x0:_0xdde15[_0xe5b18f(0x1d9)](_0x1b7985))==null?void 0x0:_0x3d156a[_0xe5b18f(0x15c)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078);_0x2df7d0&&_0x351b8c[_0xe5b18f(0x1ee)](_0x531e3a,_0x4ba078,_0x2df7d0),_0x568f9e[_0x10b97c]={'sparklines':_0x351b8c['getMatrix'](),'config':_0x31d190['Tools']['deepClone'](_0x1c0ea2[_0xe5b18f(0x240)])};}}}),_0x5156f1['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x568f9e}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x1ec6d9)}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x11d2e6}}),_0x31d190[_0x48c037(0x1e2)](_0x5156f1,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x81e378,'redoMutations':_0x5156f1}),!0x0;}}if(_0x483d11){const _0x359a67=_0x112ab2[_0x48c037(0x1c4)];if(!_0x359a67)return!0x1;const {groupId:_0x532a0c,sourceRanges:_0x459044,targetRanges:_0x28d6ce,resetType:_0x4cc9aa,primary:_0x5dd705}=_0x359a67,_0x541bd7=[],_0xe3f03b=[];_0x541bd7[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}});let _0x251570;_0x4cc9aa===_0x48c037(0x1f4)?(_0x251570=new _0x31d190[(_0x48c037(0x1ca))](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]()),_0x251570[_0x48c037(0x1bd)](_0x5dd705[_0x48c037(0x1dc)],_0x5dd705[_0x48c037(0x22f)]),_0x251570[_0x48c037(0x1ee)](_0x28d6ce[0x0][_0x48c037(0x1a0)],_0x28d6ce[0x0]['startColumn'],_0x459044[0x0])):_0x251570=_0x68a83c(_0x459044,_0x28d6ce);const _0x3d699e={'config':_0x31d190[_0x48c037(0x1f2)]['deepClone'](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x251570[_0x48c037(0x20c)]()},_0x3bf2c6={'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]())};_0x541bd7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3d699e}}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3bf2c6}}}),_0x31d190[_0x48c037(0x1e2)](_0x541bd7,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0xe3f03b,'redoMutations':_0x541bd7});}else{const _0x49f1a7=[],_0x527708=[],_0x3eb69b=new Set(),_0x37555e={};_0x5dba93[_0x48c037(0x19b)](_0x4ced2b=>{const _0x3550b9=_0x48c037;var _0x2ec110;const {startRow:_0x56a1d2,endRow:_0x260520,startColumn:_0x5b7079,endColumn:_0x4648d2}=_0x4ced2b;for(let _0x28edf7=_0x56a1d2;_0x28edf7<=_0x260520;_0x28edf7++)for(let _0x207f90=_0x5b7079;_0x207f90<=_0x4648d2;_0x207f90++){const _0x207e70=(_0x2ec110=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x3550b9(0x1da)](_0x28edf7,_0x207f90))==null?void 0x0:_0x2ec110[_0x3550b9(0x1e8)];if(_0x207e70){_0x3eb69b[_0x3550b9(0x1a9)](_0x207e70);const _0x18a516=_0x17ed04[_0x3550b9(0x248)](_0x4b34ba,_0x5a754f,_0x207e70);_0x18a516&&(_0x37555e[_0x207e70]={'config':_0x31d190['Tools'][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x240)]),'sparklines':_0x31d190[_0x3550b9(0x1f2)][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x15c)][_0x3550b9(0x1bc)]())});}}}),_0x527708[_0x48c037(0x1c0)]({'id':_0x40f599['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'groupIds':Array['from'](_0x3eb69b),'config':{'config':_0x31d190['Tools'][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x1c0ea2['sparklines'][_0x48c037(0x20c)]()}}}),_0x49f1a7['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array[_0x48c037(0x1fe)](_0x3eb69b)}}),_0x49f1a7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x37555e}}),_0x31d190[_0x48c037(0x1e2)](_0x527708,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x49f1a7,'redoMutations':_0x527708});}return!0x0;}};var _0x3cee70=Object['getOwnPropertyDescriptor'],_0x4bb52c=(_0x5ee27b,_0x210f67,_0x29b0fa,_0x447fce)=>{const _0x16a4f9=_0x15ed9a;for(var _0x55890b=_0x447fce>0x1?void 0x0:_0x447fce?_0x3cee70(_0x210f67,_0x29b0fa):_0x210f67,_0xc3c391=_0x5ee27b[_0x16a4f9(0x1d5)]-0x1,_0x2e01af;_0xc3c391>=0x0;_0xc3c391--)(_0x2e01af=_0x5ee27b[_0xc3c391])&&(_0x55890b=_0x2e01af(_0x55890b)||_0x55890b);return _0x55890b;},_0x545697=(_0x159c1a,_0x39cd83)=>(_0x174a0a,_0x105487)=>_0x39cd83(_0x174a0a,_0x105487,_0x159c1a);let _0x496dde=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x55b60c,_0x13b3c4,_0x3defd0,_0x522bda){const _0x3de3a7=_0x15ed9a;super(),this[_0x3de3a7(0x20f)]=_0x55b60c,this[_0x3de3a7(0x252)]=_0x13b3c4,this[_0x3de3a7(0x1c6)]=_0x3defd0,this['_sheetSelectionService']=_0x522bda,this[_0x3de3a7(0x238)]();}['_initClearWithSparkline'](){const _0x2bb513=_0x15ed9a;this[_0x2bb513(0x19f)](this[_0x2bb513(0x252)][_0x2bb513(0x1bb)]({'getMutations':_0x4d9945=>{const _0x30e87d=_0x2bb513,_0x3b1c36=[],_0x34ee78=[];if(_0x4d9945['id']===_0x25282a['ClearSelectionAllCommand']['id']){const _0x149398=_0x25282a[_0x30e87d(0x214)](this[_0x30e87d(0x1c6)],_0x4d9945[_0x30e87d(0x1e7)]);if(!_0x149398)return{'redos':_0x3b1c36,'undos':_0x34ee78};const {unitId:_0x57e796,subUnitId:_0x206f4e,worksheet:_0x4b66a4}=_0x149398,_0x522605=this['_sheetSelectionService'][_0x30e87d(0x186)]()[_0x30e87d(0x23e)](_0xed6681=>_0xed6681[_0x30e87d(0x1b9)]),_0x1579b7=new Set(),_0x44f124={},_0x43fa6e={};_0x522605['forEach'](_0x4aec22=>{const _0x3d614e=_0x30e87d;_0x31d190[_0x3d614e(0x164)][_0x3d614e(0x16b)](_0x4aec22,(_0x341f6e,_0x5d77e7)=>{const _0x4f705d=_0x3d614e,_0x3e0b66=this[_0x4f705d(0x20f)][_0x4f705d(0x23d)](_0x57e796,_0x206f4e,_0x341f6e,_0x5d77e7);if(_0x3e0b66&&!_0x1579b7['has'](_0x3e0b66)){const _0x3d6575=this[_0x4f705d(0x20f)][_0x4f705d(0x248)](_0x57e796,_0x206f4e,_0x3e0b66);_0x3d6575&&(_0x1579b7['add'](_0x3e0b66),_0x44f124[_0x3e0b66]={'config':_0x31d190['Tools'][_0x4f705d(0x201)](_0x3d6575['config']),'sparklines':_0x31d190[_0x4f705d(0x1f2)]['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())},_0x43fa6e[_0x3e0b66]={'config':_0x31d190['Tools']['deepClone'](_0x3d6575['config']),'sparklines':_0x31d190['Tools']['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())});}});}),Object[_0x30e87d(0x223)](_0x43fa6e)['forEach'](_0x108744=>{const _0x5870a9=_0x30e87d,_0x29cd8e=_0x108744[_0x5870a9(0x15c)];new _0x31d190['ObjectMatrix'](_0x29cd8e)['forValue']((_0x5e8a0e,_0xdd1906,_0x45c1c0)=>{const _0x13259c=_0x5870a9;_0x522605[_0x13259c(0x179)](_0x54d2b4=>_0x31d190['Rectangle'][_0x13259c(0x15a)](_0x54d2b4,_0x31d190[_0x13259c(0x234)](_0x5e8a0e,_0xdd1906)))&&delete _0x29cd8e[_0x5e8a0e][_0xdd1906];});}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x43fa6e}}),_0x34ee78['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x34ee78[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x44f124}});}return{'redos':_0x3b1c36,'undos':_0x34ee78};}}));}};_0x496dde=_0x4bb52c([_0x545697(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0x545697(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x545697(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x545697(0x3,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x25f)]))],_0x496dde);var _0x29e328=Object['getOwnPropertyDescriptor'],_0x20696b=(_0x3926fd,_0xb4419f,_0x43b515,_0x1b425a)=>{const _0x335f8b=_0x15ed9a;for(var _0x312228=_0x1b425a>0x1?void 0x0:_0x1b425a?_0x29e328(_0xb4419f,_0x43b515):_0xb4419f,_0x265e7f=_0x3926fd[_0x335f8b(0x1d5)]-0x1,_0x37d196;_0x265e7f>=0x0;_0x265e7f--)(_0x37d196=_0x3926fd[_0x265e7f])&&(_0x312228=_0x37d196(_0x312228)||_0x312228);return _0x312228;},_0xcd55b9=(_0x87f6d5,_0x2dae57)=>(_0x15c71d,_0xf51399)=>_0x2dae57(_0x15c71d,_0xf51399,_0x87f6d5);let _0x4973e3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x5659b3,_0x20f346,_0x3f4c0e){const _0x2dd04c=_0x15ed9a;super(),this['_commandService']=_0x5659b3,this[_0x2dd04c(0x20f)]=_0x20f346,this[_0x2dd04c(0x165)]=_0x3f4c0e,this[_0x2dd04c(0x231)](),this[_0x2dd04c(0x19e)]();}[_0x15ed9a(0x231)](){const _0x2f7366=_0x15ed9a;this[_0x2f7366(0x19f)](this['_commandService'][_0x2f7366(0x16a)](_0x16bd0e=>{const _0x1fc9df=_0x2f7366;if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x202)]['id']){const _0x46d62c=_0x16bd0e[_0x1fc9df(0x1e7)],{cellValue:_0x314d60,unitId:_0x326527,subUnitId:_0x240b2c}=_0x46d62c,_0xde938b=new _0x31d190['ObjectMatrix'](_0x314d60),_0x18eed8=new Set(),_0x2dbb5d=this[_0x1fc9df(0x20f)][_0x1fc9df(0x195)](_0x326527,_0x240b2c);if(!_0x2dbb5d)return;const _0xf39b6c=Array[_0x1fc9df(0x1fe)](_0x2dbb5d);_0xde938b[_0x1fc9df(0x1c1)]((_0x392a3a,_0x13f512,_0xa2cf02)=>{const _0x130416=_0x1fc9df,_0x2a9497=_0x31d190[_0x130416(0x234)](_0x392a3a,_0x13f512);for(let _0x508e83=0x0;_0x508e83<_0xf39b6c[_0x130416(0x1d5)];_0x508e83++){const [_0x1a716e,_0x5de8a6]=_0xf39b6c[_0x508e83],_0x45372b=_0x18eed8['has'](_0x1a716e);_0x45372b||_0x5de8a6[_0x130416(0x15c)][_0x130416(0x1c1)]((_0x58dd67,_0x37867d,_0xd48b41)=>{const _0x21d3f2=_0x130416,_0x504a0b=_0xd48b41;if(_0x504a0b&&!_0x45372b&&_0x31d190[_0x21d3f2(0x16d)]['intersects'](_0x2a9497,_0x504a0b))return _0x18eed8[_0x21d3f2(0x1a9)](_0x1a716e),!0x0;});}}),_0x18eed8[_0x1fc9df(0x19b)](_0x17ebd3=>{const _0x1e5d6c=_0x1fc9df;this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x211)](_0x326527,_0x240b2c,_0x17ebd3),this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x1ef)](_0x326527,_0x240b2c,_0x17ebd3);});}else{if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x1d1)]['id']){const _0xd38342=_0x16bd0e['params'],{range:_0x2a2722,unitId:_0x698e0a,subUnitId:_0x21c35e}=_0xd38342,_0x552e10=new Set(),_0x441806=this['_sparklineDataSourceModel'][_0x1fc9df(0x195)](_0x698e0a,_0x21c35e);if(!_0x441806)return;const _0xda4a4=Array[_0x1fc9df(0x1fe)](_0x441806);for(let _0x33f999=0x0;_0x33f999<_0xda4a4[_0x1fc9df(0x1d5)];_0x33f999++){const [_0x4d7180,_0x4fb470]=_0xda4a4[_0x33f999],_0x50a958=_0x552e10[_0x1fc9df(0x189)](_0x4d7180);_0x50a958||_0x4fb470[_0x1fc9df(0x15c)][_0x1fc9df(0x1c1)]((_0x35b02e,_0x2aa8b4,_0x36bec9)=>{const _0xcb5c24=_0x1fc9df,_0x41fc9c=_0x36bec9;if(_0x41fc9c&&!_0x50a958&&_0x31d190['Rectangle'][_0xcb5c24(0x15a)](_0x2a2722,_0x41fc9c))return _0x552e10[_0xcb5c24(0x1a9)](_0x4d7180),!0x0;});}_0x552e10[_0x1fc9df(0x19b)](_0x3c1613=>{const _0xc8536=_0x1fc9df;this[_0xc8536(0x20f)][_0xc8536(0x211)](_0x698e0a,_0x21c35e,_0x3c1613),this[_0xc8536(0x20f)][_0xc8536(0x1ef)](_0x698e0a,_0x21c35e,_0x3c1613);});}}}));}['_initExclusiveRangeChange'](){const _0x3d2ff3=_0x15ed9a;this[_0x3d2ff3(0x19f)](this['_exclusiveRangeService']['exclusiveRangesChange$'][_0x3d2ff3(0x1cf)](_0x5360eb=>{const _0xff61db=_0x3d2ff3,{unitId:_0xf251ff,subUnitId:_0x527909,ranges:_0x3ed65a}=_0x5360eb,_0x241ac3=this[_0xff61db(0x20f)][_0xff61db(0x195)](_0xf251ff,_0x527909);if(!_0x241ac3)return;const _0xc1e6a1=Array[_0xff61db(0x1fe)](_0x241ac3),_0x30d54c=new Set();for(let _0xd5dd29=0x0;_0xd5dd29<_0xc1e6a1[_0xff61db(0x1d5)];_0xd5dd29++){const [_0xc2a6d5,_0x4cdd23]=_0xc1e6a1[_0xd5dd29],_0x17b1ab=_0x30d54c[_0xff61db(0x189)](_0xc2a6d5);_0x17b1ab||_0x4cdd23[_0xff61db(0x15c)][_0xff61db(0x1c1)]((_0x4090ae,_0x591e98,_0x492ac4)=>{const _0xc28dd7=_0xff61db,_0x22956d=_0x492ac4;if(_0x22956d&&!_0x17b1ab){for(const _0x4a6f3e of _0x3ed65a)if(_0x31d190['Rectangle'][_0xc28dd7(0x15a)](_0x4a6f3e,_0x22956d)){_0x30d54c['add'](_0xc2a6d5);break;}}});}_0x30d54c['forEach'](_0x16acfd=>{const _0x1f8065=_0xff61db;this[_0x1f8065(0x20f)][_0x1f8065(0x211)](_0xf251ff,_0x527909,_0x16acfd),this[_0x1f8065(0x20f)]['updateSparklineExtraNum'](_0xf251ff,_0x527909,_0x16acfd);});}));}};_0x4973e3=_0x20696b([_0xcd55b9(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0xcd55b9(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0xcd55b9(0x2,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x251)]))],_0x4973e3);var _0x3f6f90=Object[_0x15ed9a(0x1cd)],_0xe30a08=(_0x3bc6f3,_0x4344aa,_0x5cc178,_0x1a11a2)=>{const _0xde012f=_0x15ed9a;for(var _0x5a2cd0=_0x1a11a2>0x1?void 0x0:_0x1a11a2?_0x3f6f90(_0x4344aa,_0x5cc178):_0x4344aa,_0x25cc9b=_0x3bc6f3[_0xde012f(0x1d5)]-0x1,_0x4e8f2b;_0x25cc9b>=0x0;_0x25cc9b--)(_0x4e8f2b=_0x3bc6f3[_0x25cc9b])&&(_0x5a2cd0=_0x4e8f2b(_0x5a2cd0)||_0x5a2cd0);return _0x5a2cd0;},_0x2ea907=(_0x22dc60,_0x5f3fce)=>(_0xcfd1a1,_0x45d365)=>_0x5f3fce(_0xcfd1a1,_0x45d365,_0x22dc60);let _0x34823e=class extends _0x31d190['Disposable']{constructor(_0x20cf54,_0xc54654){const _0x3824f3=_0x15ed9a;super(),this[_0x3824f3(0x244)]=_0x20cf54,this['_sparklineDataSourceModel']=_0xc54654,this[_0x3824f3(0x1df)]();}[_0x15ed9a(0x1df)](){const _0x282574=_0x15ed9a;this[_0x282574(0x244)]['onCommandExecuted'](_0x135c37=>{const _0x1c5d72=_0x282574;if(_0x135c37['id']===_0x25282a['SetRowHiddenMutation']['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x225)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x191)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x1b5)]['id']){const _0x2a7d60=_0x135c37[_0x1c5d72(0x1e7)],{ranges:_0x29fa56,unitId:_0x27cf89,subUnitId:_0x2008cc}=_0x2a7d60,_0xdbc433=new Set(),_0x1c4d3e=this[_0x1c5d72(0x20f)][_0x1c5d72(0x195)](_0x27cf89,_0x2008cc);if(!_0x1c4d3e)return;const _0x2eef8c=Array[_0x1c5d72(0x1fe)](_0x1c4d3e);_0x29fa56[_0x1c5d72(0x19b)](_0x117609=>{const _0x52e5dc=_0x1c5d72;_0x31d190[_0x52e5dc(0x164)][_0x52e5dc(0x16b)](_0x117609,(_0x19cc90,_0x5e6f83)=>{const _0x408411=_0x52e5dc,_0xb15f97=_0x31d190[_0x408411(0x234)](_0x19cc90,_0x5e6f83);for(let _0x520ddb=0x0;_0x520ddb<_0x2eef8c[_0x408411(0x1d5)];_0x520ddb++){const [_0x21231b,_0x564771]=_0x2eef8c[_0x520ddb],_0x248505=_0xdbc433[_0x408411(0x189)](_0x21231b);_0x248505||_0x564771[_0x408411(0x15c)][_0x408411(0x1c1)]((_0x84621c,_0x403d02,_0x5aa19b)=>{const _0x430940=_0x408411,_0x3defaa=_0x5aa19b;if(_0x3defaa&&!_0x248505&&_0x31d190['Rectangle'][_0x430940(0x15a)](_0xb15f97,_0x3defaa))return _0xdbc433[_0x430940(0x1a9)](_0x21231b),!0x0;});}});}),_0xdbc433[_0x1c5d72(0x19b)](_0x15bed8=>{const _0x4f449e=_0x1c5d72;this[_0x4f449e(0x20f)][_0x4f449e(0x211)](_0x27cf89,_0x2008cc,_0x15bed8),this[_0x4f449e(0x20f)][_0x4f449e(0x1ef)](_0x27cf89,_0x2008cc,_0x15bed8);});}});}};_0x34823e=_0xe30a08([_0x2ea907(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x2ea907(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x34823e);var _0x1b4b2c=Object[_0x15ed9a(0x1cd)],_0x5e29af=(_0x55e946,_0x56d1af,_0x36fa5f,_0x571a4f)=>{const _0x3d6227=_0x15ed9a;for(var _0x173664=_0x571a4f>0x1?void 0x0:_0x571a4f?_0x1b4b2c(_0x56d1af,_0x36fa5f):_0x56d1af,_0x53f8bc=_0x55e946[_0x3d6227(0x1d5)]-0x1,_0x80e49d;_0x53f8bc>=0x0;_0x53f8bc--)(_0x80e49d=_0x55e946[_0x53f8bc])&&(_0x173664=_0x80e49d(_0x173664)||_0x173664);return _0x173664;},_0x1f4f33=(_0x273dd0,_0x5a2f4f)=>(_0x3bcaeb,_0xa123b3)=>_0x5a2f4f(_0x3bcaeb,_0xa123b3,_0x273dd0);let _0x5110d3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4afd37,_0x10f0e7,_0x2a34a1){const _0x56baf7=_0x15ed9a;super(),this[_0x56baf7(0x244)]=_0x4afd37,this[_0x56baf7(0x252)]=_0x10f0e7,this['_sparklineDataSourceModel']=_0x2a34a1,this['_initMergeWithSparkline']();}[_0x15ed9a(0x187)](){const _0x393f7d=_0x15ed9a;this[_0x393f7d(0x19f)](this[_0x393f7d(0x252)][_0x393f7d(0x1bb)]({'getMutations':_0x41d6cd=>{const _0xa24bb=_0x393f7d,_0x3c2414=[],_0x418a1=[];if(_0x41d6cd['id']===_0x25282a[_0xa24bb(0x24a)]['id']){const _0x74a106=_0x41d6cd['params'];if(!_0x74a106)return{'redos':_0x3c2414,'undos':_0x418a1};const {unitId:_0xfd019d,subUnitId:_0xdbdf40,ranges:_0x96913a}=_0x74a106,_0x3703ea=this[_0xa24bb(0x20f)][_0xa24bb(0x195)](_0xfd019d,_0xdbdf40);if(!_0x3703ea)return{'redos':_0x3c2414,'undos':_0x418a1};const _0x1ea676={},_0x30a654={},_0x59e99c=new Set();_0x96913a[_0xa24bb(0x19b)](_0x52ed65=>{const _0x5eba02=_0xa24bb,_0x2d1194=_0x52ed65['startRow'],_0x374134=_0x52ed65['startColumn'];_0x31d190[_0x5eba02(0x164)][_0x5eba02(0x16b)](_0x52ed65,(_0x58ce60,_0x1d6067)=>{const _0x330649=_0x5eba02,_0x3a769a=this[_0x330649(0x20f)][_0x330649(0x23d)](_0xfd019d,_0xdbdf40,_0x58ce60,_0x1d6067);if(_0x3a769a&&!(_0x58ce60===_0x2d1194&&_0x1d6067===_0x374134)){const _0x6b940a=this[_0x330649(0x20f)]['getSparklineById'](_0xfd019d,_0xdbdf40,_0x3a769a);if(_0x6b940a){_0x59e99c['add'](_0x3a769a);let _0x979d2d=_0x1ea676[_0x3a769a];_0x979d2d||(_0x979d2d={'config':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x240)]),'sparklines':new _0x31d190[(_0x330649(0x1ca))](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())},_0x1ea676[_0x3a769a]=_0x979d2d),_0x979d2d['sparklines'][_0x330649(0x1bd)](_0x58ce60,_0x1d6067),_0x30a654[_0x3a769a]={'config':_0x31d190[_0x330649(0x1f2)]['deepClone'](_0x6b940a['config']),'sparklines':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())};}}});});for(const [_0xb587be,_0x240d61]of _0x3703ea){const _0x1c0a91=_0x240d61[_0xa24bb(0x15c)];_0x1c0a91['forValue']((_0x46dcc2,_0x590c67,_0xd6d8b4)=>{const _0x16d0a7=_0xa24bb;for(let _0x23226a=0x0;_0x23226a<_0x96913a[_0x16d0a7(0x1d5)];_0x23226a++){const _0x85ce76=_0x96913a[_0x23226a];if(_0x31d190[_0x16d0a7(0x16d)][_0x16d0a7(0x204)](_0x85ce76,_0xd6d8b4)){_0x59e99c['add'](_0xb587be);let _0x3b87d8=_0x1ea676[_0xb587be];_0x3b87d8||(_0x3b87d8={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':new _0x31d190[(_0x16d0a7(0x1ca))](_0x1c0a91['clone']())},_0x1ea676[_0xb587be]=_0x3b87d8),_0x3b87d8['sparklines'][_0x16d0a7(0x1bd)](_0x46dcc2,_0x590c67),_0x30a654[_0xb587be]||(_0x30a654[_0xb587be]={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':_0x31d190['Tools'][_0x16d0a7(0x201)](_0x1c0a91['clone']())});}}});}const _0x56a059={};Object[_0xa24bb(0x25a)](_0x1ea676)[_0xa24bb(0x19b)](([_0x174974,_0x110364])=>{const _0x50245b=_0xa24bb;_0x110364[_0x50245b(0x15c)][_0x50245b(0x224)]()&&(_0x56a059[_0x174974]={'config':_0x110364['config'],'sparklines':_0x110364[_0x50245b(0x15c)][_0x50245b(0x1bc)]()});}),_0x59e99c[_0xa24bb(0x1a5)]&&(_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x418a1['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x56a059}}),_0x418a1[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x30a654}}));}return{'redos':_0x3c2414,'undos':_0x418a1};}}));}};_0x5110d3=_0x5e29af([_0x1f4f33(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x1f4f33(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x178)])),_0x1f4f33(0x2,_0x31d190['Inject'](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5110d3);var _0x5c1dc2=Object[_0x15ed9a(0x1cd)],_0x1b2ef9=(_0x2c9cd4,_0x1f0eb6,_0x373e16,_0x5ae55d)=>{for(var _0x5e5eac=_0x5ae55d>0x1?void 0x0:_0x5ae55d?_0x5c1dc2(_0x1f0eb6,_0x373e16):_0x1f0eb6,_0x220952=_0x2c9cd4['length']-0x1,_0x480fa6;_0x220952>=0x0;_0x220952--)(_0x480fa6=_0x2c9cd4[_0x220952])&&(_0x5e5eac=_0x480fa6(_0x5e5eac)||_0x5e5eac);return _0x5e5eac;},_0x35dbad=(_0x3a8e34,_0x4f23d9)=>(_0x52d8ee,_0x3841a)=>_0x4f23d9(_0x52d8ee,_0x3841a,_0x3a8e34);let _0x35feee=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x36f20e,_0x22daba,_0x5886ff,_0xaee44){const _0x2c3030=_0x15ed9a;super(),_0x2c41c4(this,_0x2c3030(0x1de),new _0x31d190[(_0x2c3030(0x176))]()),(this['_commandService']=_0x36f20e,this['_refRangeService']=_0x22daba,this[_0x2c3030(0x1c6)]=_0x5886ff,this[_0x2c3030(0x20f)]=_0xaee44,this['_onRefRangeChange'](),this[_0x2c3030(0x17c)]());}[_0x15ed9a(0x1cb)](){const _0x376d9a=_0x15ed9a,_0x5d2b18=(_0x44e5ac,_0x4be085)=>{const _0x5715da=_0x593e,_0x39f3ec=this[_0x5715da(0x1c6)]['getCurrentUnitForType'](_0x31d190[_0x5715da(0x20a)]['UNIVER_SHEET']);if(!_0x39f3ec||!(_0x39f3ec==null?void 0x0:_0x39f3ec[_0x5715da(0x1c3)](_0x4be085)))return;this[_0x5715da(0x1de)]['dispose']();const _0x299360=_0x398de7=>this[_0x5715da(0x218)](_0x398de7,_0x44e5ac,_0x4be085),_0x360c03=[],_0x124722=this[_0x5715da(0x20f)]['getSubUnitSparkline'](_0x44e5ac,_0x4be085);if(_0x124722){for(const [_0x28c7d9,_0x35d84c]of _0x124722)_0x35d84c[_0x5715da(0x15c)][_0x5715da(0x1c1)]((_0x6e3f06,_0x521b68,_0x194e5c)=>{const _0x3a892a=_0x5715da,_0x1eb93e=_0x31d190[_0x3a892a(0x234)](_0x6e3f06,_0x521b68);_0x360c03['push'](_0x1eb93e);});_0x360c03[_0x5715da(0x19b)](_0x30b866=>{const _0x1f77b0=_0x5715da;this['disposableCollection'][_0x1f77b0(0x1a9)](this[_0x1f77b0(0x1f1)][_0x1f77b0(0x15e)](_0x30b866,_0x299360,_0x44e5ac,_0x4be085));});}};this[_0x376d9a(0x19f)](this[_0x376d9a(0x244)][_0x376d9a(0x16a)](_0x4aa24b=>{const _0xee0fd0=_0x376d9a;if(_0x4aa24b['id']===_0x25282a[_0xee0fd0(0x23b)]['id']){const _0x35afde=_0x4aa24b[_0xee0fd0(0x1e7)],_0x841935=_0x35afde['subUnitId'],_0x5db705=_0x35afde[_0xee0fd0(0x241)];if(!_0x841935||!_0x5db705)return;_0x5d2b18(_0x5db705,_0x841935);}if(_0x4aa24b['id']===_0x40f599['id']||_0x4aa24b['id']===_0x3f9b3d['id']){const _0x43fee7=_0x4aa24b[_0xee0fd0(0x1e7)],_0x44137f=_0x43fee7[_0xee0fd0(0x17e)],_0x39b6d5=_0x43fee7[_0xee0fd0(0x241)];if(!_0x44137f||!_0x39b6d5)return;_0x5d2b18(_0x39b6d5,_0x44137f);}}));}[_0x15ed9a(0x218)](_0x5ea239,_0x19ea7e,_0x2b53fd){const _0x393395=_0x15ed9a;switch(_0x5ea239['id']){case _0x25282a[_0x393395(0x197)]['id']:return this[_0x393395(0x1e5)](_0x5ea239[_0x393395(0x1e7)],_0x19ea7e,_0x2b53fd);case _0x25282a[_0x393395(0x1b6)]['id']:return this[_0x393395(0x205)](_0x5ea239['params'],_0x19ea7e,_0x2b53fd);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x2df6af,_0x45c15b,_0x229ea9){const _0x2f9394=_0x15ed9a;var _0x332c43,_0x8fc24;const {range:_0x35a2e7}=_0x2df6af,_0x5ef825=new Set(),_0x187513={},_0x2ad507={},_0x5e743a=[],_0x3b887c=[],_0x1233c3=[],_0x2b8ddc=[];if(!_0x25282a[_0x2f9394(0x214)](this['_univerInstanceService'],{'unitId':_0x45c15b,'subUnitId':_0x229ea9}))return{'redos':_0x3b887c,'undos':_0x5e743a};const _0x3ae3c0=this[_0x2f9394(0x20f)][_0x2f9394(0x195)](_0x45c15b,_0x229ea9);if(!_0x3ae3c0)return{'redos':_0x3b887c,'undos':_0x5e743a};if(!((_0x8fc24=(_0x332c43=this[_0x2f9394(0x20f)]['getSparklineCache']()['sparklineAnchorMap'][_0x2f9394(0x1d9)](_0x45c15b))==null?void 0x0:_0x332c43[_0x2f9394(0x1d9)](_0x229ea9))==null?void 0x0:_0x8fc24[_0x2f9394(0x1f8)]))return{'redos':_0x3b887c,'undos':_0x5e743a};for(const [_0x5ecfdc,_0x27148d]of _0x3ae3c0){const _0x32436f=_0x27148d['sparklines'];_0x32436f[_0x2f9394(0x1c1)]((_0x30438c,_0x318065,_0x243c41)=>{const _0x163e82=_0x2f9394;if(_0x31d190[_0x163e82(0x16d)][_0x163e82(0x15a)](_0x35a2e7,_0x243c41)){_0x5ef825[_0x163e82(0x1a9)](_0x5ecfdc);let _0x44fbd7=_0x2ad507[_0x5ecfdc];_0x44fbd7||(_0x44fbd7={'config':_0x27148d['config'],'sparklines':_0x27148d[_0x163e82(0x15c)][_0x163e82(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x44fbd7);let _0x596cac=_0x187513[_0x5ecfdc];_0x596cac||(_0x596cac={'config':_0x27148d[_0x163e82(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x27148d['sparklines']['clone']())},_0x187513[_0x5ecfdc]=_0x596cac);const _0x3054db=_0x25282a[_0x163e82(0x236)](_0x243c41,{'id':_0x25282a['RemoveRowMutation']['id'],'params':_0x2df6af});_0x3054db?_0x596cac[_0x163e82(0x15c)]['setValue'](_0x30438c,_0x318065,_0x3054db):_0x596cac['sparklines'][_0x163e82(0x1ee)](_0x30438c,_0x318065,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x163e82(0x209)][_0x163e82(0x167)]});}}),_0x32436f[_0x2f9394(0x1c1)]((_0x3f290b,_0x3416ff,_0x32feb6)=>{const _0x219989=_0x2f9394;if(_0x3f290b<=_0x35a2e7[_0x219989(0x1e9)]&&_0x3f290b>=_0x35a2e7[_0x219989(0x1a0)]){_0x5ef825['add'](_0x5ecfdc);let _0x2ee76e=_0x2ad507[_0x5ecfdc];_0x2ee76e||(_0x2ee76e={'config':_0x27148d[_0x219989(0x240)],'sparklines':_0x27148d[_0x219989(0x15c)][_0x219989(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x2ee76e);let _0x2221fe=_0x187513[_0x5ecfdc];_0x2221fe||(_0x2221fe={'config':_0x27148d[_0x219989(0x240)],'sparklines':new _0x31d190[(_0x219989(0x1ca))](_0x27148d[_0x219989(0x15c)]['clone']())},_0x187513[_0x5ecfdc]=_0x2221fe);}});}_0x2b8ddc[_0x2f9394(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array[_0x2f9394(0x1fe)](_0x5ef825),'isSingle':!0x1}}),_0x1233c3['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array['from'](_0x5ef825),'isSingle':!0x1}});const _0x94d6b2={};let _0x5ebd15=!0x1;return Object[_0x2f9394(0x25a)](_0x187513)[_0x2f9394(0x19b)](([_0x18ed55,_0x55d6d3])=>{const _0x527adf=_0x2f9394;_0x55d6d3[_0x527adf(0x15c)]['getSizeOf']()&&(_0x5ebd15=!0x0,_0x55d6d3[_0x527adf(0x15c)][_0x527adf(0x1db)](_0x35a2e7[_0x527adf(0x1a0)],_0x35a2e7[_0x527adf(0x1e9)]-_0x35a2e7['startRow']+0x1),_0x94d6b2[_0x18ed55]={'config':_0x55d6d3[_0x527adf(0x240)],'sparklines':_0x55d6d3[_0x527adf(0x15c)]['clone']()});}),_0x5ebd15&&_0x3b887c[_0x2f9394(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x94d6b2}}),_0x5e743a['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x2ad507}}),{'redos':_0x3b887c,'undos':_0x5e743a,'preRedos':_0x1233c3,'preUndos':_0x2b8ddc};}[_0x15ed9a(0x1e5)](_0x3daefa,_0x478a77,_0x50efda){const _0x19559d=_0x15ed9a;var _0x13dc0e,_0x43c133;const {range:_0x41d2e0}=_0x3daefa,_0x26ed34=new Set(),_0x36abd6={},_0x19e73b={},_0xa5c188=[],_0x575597=[],_0x1e671b=[],_0x14c538=[];if(!_0x25282a['getSheetCommandTarget'](this[_0x19559d(0x1c6)],{'unitId':_0x478a77,'subUnitId':_0x50efda}))return{'redos':_0x575597,'undos':_0xa5c188};const _0xa3fa40=this[_0x19559d(0x20f)]['getSubUnitSparkline'](_0x478a77,_0x50efda);if(!_0xa3fa40)return{'redos':_0x575597,'undos':_0xa5c188};if(!((_0x43c133=(_0x13dc0e=this['_sparklineDataSourceModel'][_0x19559d(0x169)]()[_0x19559d(0x22b)][_0x19559d(0x1d9)](_0x478a77))==null?void 0x0:_0x13dc0e[_0x19559d(0x1d9)](_0x50efda))==null?void 0x0:_0x43c133['matrix']))return{'redos':_0x575597,'undos':_0xa5c188};for(const [_0x48be79,_0x114291]of _0xa3fa40){const _0x331e97=_0x114291['sparklines'];_0x331e97['forValue']((_0x1bc635,_0x5ef61f,_0x331a20)=>{const _0x427114=_0x19559d;if(_0x31d190[_0x427114(0x16d)]['intersects'](_0x41d2e0,_0x331a20)){_0x26ed34[_0x427114(0x1a9)](_0x48be79);let _0x55afa8=_0x19e73b[_0x48be79];_0x55afa8||(_0x55afa8={'config':_0x114291[_0x427114(0x240)],'sparklines':_0x114291[_0x427114(0x15c)][_0x427114(0x1bc)]()},_0x19e73b[_0x48be79]=_0x55afa8);let _0x82efe1=_0x36abd6[_0x48be79];_0x82efe1||(_0x82efe1={'config':_0x114291[_0x427114(0x240)],'sparklines':new _0x31d190[(_0x427114(0x1ca))](_0x114291[_0x427114(0x15c)]['clone']())},_0x36abd6[_0x48be79]=_0x82efe1);const _0x5aadcf=_0x25282a[_0x427114(0x236)](_0x331a20,{'id':_0x25282a['RemoveColMutation']['id'],'params':_0x3daefa});_0x5aadcf?_0x82efe1[_0x427114(0x15c)][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,_0x5aadcf):_0x82efe1['sparklines'][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x427114(0x167)]});}}),_0x331e97['forValue']((_0x518e99,_0x570634,_0x39e1cb)=>{const _0x236033=_0x19559d;if(_0x570634<=_0x41d2e0['endColumn']&&_0x570634>=_0x41d2e0[_0x236033(0x168)]){_0x26ed34[_0x236033(0x1a9)](_0x48be79);let _0x913280=_0x19e73b[_0x48be79];_0x913280||(_0x913280={'config':_0x114291[_0x236033(0x240)],'sparklines':_0x114291[_0x236033(0x15c)][_0x236033(0x1bc)]()},_0x19e73b[_0x48be79]=_0x913280);let _0x29bb3c=_0x36abd6[_0x48be79];_0x29bb3c||(_0x29bb3c={'config':_0x114291[_0x236033(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x114291['sparklines'][_0x236033(0x1bc)]())},_0x36abd6[_0x48be79]=_0x29bb3c);}});}_0x14c538[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}}),_0x1e671b[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}});const _0x345bd6={};let _0x558d2a=!0x1;return Object['entries'](_0x36abd6)[_0x19559d(0x19b)](([_0x1387c6,_0x2ae367])=>{const _0x5edc6f=_0x19559d;_0x2ae367['sparklines']['getSizeOf']()&&(_0x558d2a=!0x0,_0x2ae367[_0x5edc6f(0x15c)]['removeColumns'](_0x41d2e0[_0x5edc6f(0x168)],_0x41d2e0[_0x5edc6f(0x1d2)]-_0x41d2e0[_0x5edc6f(0x168)]+0x1),_0x345bd6[_0x1387c6]={'config':_0x2ae367[_0x5edc6f(0x240)],'sparklines':_0x2ae367[_0x5edc6f(0x15c)][_0x5edc6f(0x1bc)]()});}),_0x558d2a&&_0x575597[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x345bd6}}),_0xa5c188[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x19e73b}}),{'redos':_0x575597,'undos':_0xa5c188,'preRedos':_0x1e671b,'preUndos':_0x14c538};}[_0x15ed9a(0x17c)](){const _0x1dd0d0=_0x15ed9a;this[_0x1dd0d0(0x19f)](this[_0x1dd0d0(0x244)][_0x1dd0d0(0x16a)](_0x4d4130=>{const _0x3b9232=_0x1dd0d0;if(_0x4d4130['id']===_0x25282a['InsertColMutation']['id']){const _0xd86496=_0x4d4130['params'],{unitId:_0x890ffb,subUnitId:_0x1407a6,range:_0x119b3d}=_0xd86496,_0x181cce=_0x119b3d['startColumn'],_0x221291=_0x119b3d[_0x3b9232(0x1d2)]-_0x119b3d['startColumn']+0x1,_0x50c568=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x890ffb,_0x1407a6);if(!_0x50c568)return;for(const [_0x2fab7e,_0x51bd3a]of _0x50c568){this['_sparklineDataSourceModel'][_0x3b9232(0x211)](_0x890ffb,_0x1407a6,_0x2fab7e);const _0x4d91a0=_0x51bd3a['sparklines'];_0x4d91a0[_0x3b9232(0x1c1)]((_0xa9a408,_0x5c1bf3,_0x490a21)=>{const _0x47bc12=_0x3b9232,_0x444d2c={..._0x490a21};_0x181cce<=_0x444d2c['startColumn']?(_0x444d2c['startColumn']+=_0x221291,_0x444d2c[_0x47bc12(0x1d2)]+=_0x221291):_0x181cce>_0x444d2c[_0x47bc12(0x1d2)]||(_0x444d2c['endColumn']+=_0x221291),_0x4d91a0[_0x47bc12(0x1ee)](_0xa9a408,_0x5c1bf3,_0x444d2c);});const _0x35c70e=_0x4d91a0[_0x3b9232(0x20c)]();for(const _0x2fdf38 in _0x35c70e){const _0x2427cb=_0x35c70e[Number(_0x2fdf38)];if(!_0x2427cb)continue;const _0x5c5b1d=Object[_0x3b9232(0x1d6)](_0x2427cb)['map'](Number),_0x201e36=Math[_0x3b9232(0x249)](..._0x5c5b1d);for(let _0x105437=_0x201e36;_0x105437>=_0x181cce;_0x105437--)_0x105437>=_0x181cce&&_0x2427cb[_0x105437]&&(_0x2427cb[_0x105437+_0x221291]=_0x2427cb[_0x105437],delete _0x2427cb[_0x105437]);}this[_0x3b9232(0x20f)]['updateSparklineExtraNum'](_0x890ffb,_0x1407a6,_0x2fab7e);}}else{if(_0x4d4130['id']===_0x25282a['InsertRowMutation']['id']){const _0xdceb3a=_0x4d4130['params'],{unitId:_0x20d039,subUnitId:_0xbb774c,range:_0x676de5}=_0xdceb3a,_0x2c9cdf=_0x676de5[_0x3b9232(0x1a0)],_0x4096ad=_0x676de5[_0x3b9232(0x1e9)]-_0x676de5['startRow']+0x1,_0xc62708=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x20d039,_0xbb774c);if(!_0xc62708)return;for(const [_0x133dda,_0x55789c]of _0xc62708){this[_0x3b9232(0x20f)][_0x3b9232(0x211)](_0x20d039,_0xbb774c,_0x133dda);const _0x414523=_0x55789c[_0x3b9232(0x15c)];_0x414523['forValue']((_0x23098f,_0x18f96b,_0x5e0845)=>{const _0x419a02=_0x3b9232,_0x1aa890={..._0x5e0845};_0x2c9cdf<=_0x1aa890[_0x419a02(0x1a0)]?(_0x1aa890['startRow']+=_0x4096ad,_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad):_0x2c9cdf>_0x1aa890[_0x419a02(0x1e9)]||(_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad),_0x414523[_0x419a02(0x1ee)](_0x23098f,_0x18f96b,_0x1aa890);});const _0x49c544=_0x414523[_0x3b9232(0x20c)](),_0x5119b9=Object['keys'](_0x49c544)[_0x3b9232(0x23e)](Number),_0x59e1a5=Math[_0x3b9232(0x249)](..._0x5119b9);for(let _0x9968c=_0x59e1a5;_0x9968c>=_0x2c9cdf;_0x9968c--)_0x9968c>=_0x2c9cdf&&_0x49c544[_0x9968c]&&(_0x49c544[_0x9968c+_0x4096ad]=_0x49c544[_0x9968c],delete _0x49c544[_0x9968c]);this[_0x3b9232(0x20f)][_0x3b9232(0x1ef)](_0x20d039,_0xbb774c,_0x133dda);}}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x21f)]['id']){const _0x32b824=_0x4d4130['params'],{range:_0x2521cc,unitId:_0x1e521c,subUnitId:_0x379d3b}=_0x32b824,_0x58ca03=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1e521c,_0x379d3b);if(!_0x58ca03)return;for(const [_0x305a3a,_0x2d004a]of _0x58ca03){const _0x3866fd=_0x2d004a[_0x3b9232(0x15c)];_0x3866fd[_0x3b9232(0x1c1)]((_0x54ed37,_0x417999,_0xb179c4)=>{const _0xf3ce41=_0x3b9232,_0x574907=_0x25282a[_0xf3ce41(0x236)](_0xb179c4,_0x4d4130);_0x574907?_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,_0x574907):_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xf3ce41(0x209)][_0xf3ce41(0x167)]});}),_0x3866fd[_0x3b9232(0x22c)](_0x2521cc['startColumn'],_0x2521cc[_0x3b9232(0x1d2)]-_0x2521cc['startColumn']+0x1);}this['_sparklineDataSourceModel'][_0x3b9232(0x1f5)](_0x1e521c,_0x379d3b);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x196)]['id']){const _0x4dd5de=_0x4d4130[_0x3b9232(0x1e7)],{range:_0x39d003,unitId:_0x4c4617,subUnitId:_0x92a51}=_0x4dd5de,_0x2f2f83=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x4c4617,_0x92a51);if(!_0x2f2f83)return;for(const [_0x45722f,_0x564efc]of _0x2f2f83){const _0x37f9fc=_0x564efc[_0x3b9232(0x15c)];_0x37f9fc['forValue']((_0x539919,_0x4ae95f,_0x27c8e6)=>{const _0x4fef70=_0x3b9232,_0x53dc5e=_0x25282a[_0x4fef70(0x236)](_0x27c8e6,_0x4d4130);_0x53dc5e?_0x37f9fc['setValue'](_0x539919,_0x4ae95f,_0x53dc5e):_0x37f9fc[_0x4fef70(0x1ee)](_0x539919,_0x4ae95f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x4fef70(0x209)]['NORMAL']});}),_0x37f9fc[_0x3b9232(0x1db)](_0x39d003[_0x3b9232(0x1a0)],_0x39d003[_0x3b9232(0x1e9)]-_0x39d003[_0x3b9232(0x1a0)]+0x1);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x4c4617,_0x92a51);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x232)]['id']){const _0x3ee380=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x147d33,subUnitId:_0x570d91,sourceRange:_0x113d6e,targetRange:_0x3e3ec7}=_0x3ee380,_0x34a401=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x147d33,_0x570d91);if(!_0x34a401)return;for(const [_0x1f8233,_0x47e778]of _0x34a401){const _0x61b329=_0x47e778['sparklines'];_0x61b329[_0x3b9232(0x1c1)]((_0x326183,_0x3927d9,_0x1c8191)=>{const _0xec349e=_0x3b9232,_0x27b134=_0x25282a[_0xec349e(0x236)](_0x1c8191,_0x4d4130);_0x27b134?_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,_0x27b134):_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xec349e(0x209)]['NORMAL']});}),_0x61b329[_0x3b9232(0x24c)](_0x113d6e[_0x3b9232(0x168)],_0x113d6e['endColumn']-_0x113d6e[_0x3b9232(0x168)]+0x1,_0x3e3ec7[_0x3b9232(0x168)]);}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x147d33,_0x570d91);}else{if(_0x4d4130['id']===_0x25282a['MoveRowsMutation']['id']){const _0x9a0676=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x403253,subUnitId:_0x54ff8a,sourceRange:_0x3731de,targetRange:_0x20039d}=_0x9a0676,_0x593e27=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x403253,_0x54ff8a);if(!_0x593e27)return;for(const [_0x238b17,_0x28f4e7]of _0x593e27){const _0x497d56=_0x28f4e7[_0x3b9232(0x15c)];_0x497d56[_0x3b9232(0x1c1)]((_0x21f106,_0x6f13b8,_0x4a03da)=>{const _0x1da13c=_0x3b9232,_0x167e0d=_0x25282a[_0x1da13c(0x236)](_0x4a03da,_0x4d4130);_0x167e0d?_0x497d56['setValue'](_0x21f106,_0x6f13b8,_0x167e0d):_0x497d56[_0x1da13c(0x1ee)](_0x21f106,_0x6f13b8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x1da13c(0x167)]});}),_0x497d56[_0x3b9232(0x210)](_0x3731de[_0x3b9232(0x1a0)],_0x3731de['endRow']-_0x3731de[_0x3b9232(0x1a0)]+0x1,_0x20039d['startRow']);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x403253,_0x54ff8a);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x255)]['id']){const _0x1302e4=_0x4d4130[_0x3b9232(0x1e7)],{fromRange:_0x3a1d81,toRange:_0x29538d,unitId:_0x1b2332,from:_0xcd74d7,to:_0x24597d}=_0x1302e4;if(_0xcd74d7[_0x3b9232(0x17e)]!==_0x24597d[_0x3b9232(0x17e)])return;const _0x3b5fad=_0xcd74d7[_0x3b9232(0x17e)],{startRow:_0x4d7b81,endRow:_0x4c4f80,startColumn:_0x2d2ff9,endColumn:_0x3de175}=_0x3a1d81,{startRow:_0x2dd2b8,startColumn:_0x392c12}=_0x29538d,_0x286b90=_0x2dd2b8-_0x4d7b81,_0x20ccea=_0x392c12-_0x2d2ff9,_0x425048=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1b2332,_0x3b5fad);if(!(_0x425048!=null&&_0x425048['size']))return;for(let _0x5d0d63=_0x4d7b81;_0x5d0d63<=_0x4c4f80;_0x5d0d63++)for(let _0x4d6858=_0x2d2ff9;_0x4d6858<=_0x3de175;_0x4d6858++){const _0x4bb677=this[_0x3b9232(0x20f)][_0x3b9232(0x23d)](_0x1b2332,_0x3b5fad,_0x5d0d63,_0x4d6858);if(_0x4bb677){const _0x2579e8=this[_0x3b9232(0x20f)][_0x3b9232(0x248)](_0x1b2332,_0x3b5fad,_0x4bb677);if(_0x2579e8){const _0x4f51de=_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1da)](_0x5d0d63,_0x4d6858);_0x4f51de&&(_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1ee)](_0x5d0d63+_0x286b90,_0x4d6858+_0x20ccea,_0x4f51de),_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1bd)](_0x5d0d63,_0x4d6858));}}}for(const [_0x583990,_0x344fad]of _0x425048){const _0x336032=_0x344fad[_0x3b9232(0x15c)];_0x336032[_0x3b9232(0x1c1)]((_0x4e0010,_0x5416c8,_0x267242)=>{const _0x289ef3=_0x3b9232,_0x112484={..._0x267242};_0x31d190[_0x289ef3(0x16d)][_0x289ef3(0x204)](_0x3a1d81,_0x267242)&&(_0x112484['startRow']+=_0x286b90,_0x112484['endRow']+=_0x286b90,_0x112484[_0x289ef3(0x168)]+=_0x20ccea,_0x112484[_0x289ef3(0x1d2)]+=_0x20ccea),_0x336032['setValue'](_0x4e0010,_0x5416c8,_0x112484);});}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x1b2332,_0x3b5fad);}}}}}}}}));}};_0x35feee=_0x1b2ef9([_0x35dbad(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0x35dbad(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x1ab)])),_0x35dbad(0x2,_0x31d190[_0x15ed9a(0x1c8)]),_0x35dbad(0x3,_0x31d190['Inject'](_0x33c1ed['SparklineDataSourceModel']))],_0x35feee);var _0x5cc164=Object[_0x15ed9a(0x1cd)],_0x284c39=(_0x1d1fc9,_0x4c3ccb,_0x53731d,_0x3f63b5)=>{for(var _0x433e40=_0x3f63b5>0x1?void 0x0:_0x3f63b5?_0x5cc164(_0x4c3ccb,_0x53731d):_0x4c3ccb,_0x331047=_0x1d1fc9['length']-0x1,_0x40b53a;_0x331047>=0x0;_0x331047--)(_0x40b53a=_0x1d1fc9[_0x331047])&&(_0x433e40=_0x40b53a(_0x433e40)||_0x433e40);return _0x433e40;},_0x2bc838=(_0x67b812,_0x413a29)=>(_0x2a1f09,_0x555291)=>_0x413a29(_0x2a1f09,_0x555291,_0x67b812);let _0x31876e=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x12d391,_0x16fc4a,_0x13d183){const _0x11214b=_0x15ed9a;super(),this['_univerInstanceService']=_0x12d391,this[_0x11214b(0x252)]=_0x16fc4a,this[_0x11214b(0x20f)]=_0x13d183,this[_0x11214b(0x25b)]();}['_initSheetChange'](){const _0x12fce0=_0x15ed9a;this[_0x12fce0(0x19f)](this[_0x12fce0(0x252)][_0x12fce0(0x1bb)]({'getMutations':_0x364a4d=>{const _0x3bd804=_0x12fce0;var _0x1b2d4b;if(_0x364a4d['id']===_0x25282a['RemoveSheetCommand']['id']){const _0x56ac45=_0x364a4d[_0x3bd804(0x1e7)],_0x586144=_0x56ac45['unitId']||this['_univerInstanceService'][_0x3bd804(0x215)](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x1d0)](),_0x4ea4b4=_0x56ac45[_0x3bd804(0x17e)]||((_0x1b2d4b=this['_univerInstanceService']['getCurrentUnitOfType'](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x220)]())==null?void 0x0:_0x1b2d4b[_0x3bd804(0x17b)]());if(!_0x586144||!_0x4ea4b4)return{'redos':[],'undos':[]};const _0x3752d2=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x586144,_0x4ea4b4);if(!_0x3752d2)return{'redos':[],'undos':[]};const _0x34737=new Set(),_0x8292d3={};for(const [_0x39e9dd,_0x26ab71]of _0x3752d2)_0x34737[_0x3bd804(0x1a9)](_0x39e9dd),_0x8292d3[_0x39e9dd]={'config':_0x31d190['Tools'][_0x3bd804(0x201)](_0x26ab71['config']),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x26ab71[_0x3bd804(0x15c)][_0x3bd804(0x1bc)]())};if(_0x34737[_0x3bd804(0x1a5)])return{'redos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'groupIds':Array[_0x3bd804(0x1fe)](_0x34737),'isSingle':!0x1}}],'undos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'sparklineConfigMap':_0x8292d3}}]};}else{if(_0x364a4d['id']===_0x25282a[_0x3bd804(0x177)]['id']){const _0x345f5e=_0x364a4d[_0x3bd804(0x1e7)],{unitId:_0x3286fb,subUnitId:_0x40e56f,targetSubUnitId:_0x477c35}=_0x345f5e;if(!_0x3286fb||!_0x40e56f||!_0x477c35)return{'redos':[],'undos':[]};const _0x9b9e14=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x3286fb,_0x40e56f);if(!_0x9b9e14)return{'redos':[],'undos':[]};const _0x252743=new Set(),_0x1ed8bd={};for(const [_0x5b89de,_0x17e9a5]of _0x9b9e14){const _0x1d83f1='g_'+_0x31d190['generateRandomId'](0x6);_0x252743['add'](_0x5b89de),_0x1ed8bd[_0x1d83f1]={'config':_0x31d190['Tools']['deepClone'](_0x17e9a5[_0x3bd804(0x240)]),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x17e9a5[_0x3bd804(0x15c)]['clone']())};}if(_0x252743['size'])return{'redos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'sparklineConfigMap':_0x1ed8bd}}],'undos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'groupIds':Array[_0x3bd804(0x1fe)](_0x252743),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x31876e=_0x284c39([_0x2bc838(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x2bc838(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x2bc838(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x31876e);var _0x3a825b=Object[_0x15ed9a(0x1cd)],_0xd83ceb=(_0x4c5e58,_0x568a8d,_0xe09aa8,_0xcaee1a)=>{for(var _0x5aabad=_0xcaee1a>0x1?void 0x0:_0xcaee1a?_0x3a825b(_0x568a8d,_0xe09aa8):_0x568a8d,_0x19bd80=_0x4c5e58['length']-0x1,_0x378135;_0x19bd80>=0x0;_0x19bd80--)(_0x378135=_0x4c5e58[_0x19bd80])&&(_0x5aabad=_0x378135(_0x5aabad)||_0x5aabad);return _0x5aabad;},_0x333873=(_0xbd1820,_0x5620e9)=>(_0x3df0bf,_0x22cf41)=>_0x5620e9(_0x3df0bf,_0x22cf41,_0xbd1820);let _0x5932ab=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4deb56,_0x501b90){const _0x421557=_0x15ed9a;super(),this[_0x421557(0x1a8)]=_0x4deb56,this['_sparklineDataSourceModel']=_0x501b90,this[_0x421557(0x20e)]();}[_0x15ed9a(0x20e)](){const _0x35bd86=_0x15ed9a,_0x463e5d=_0x5bcbdf=>{const _0x3a04a6=_0x593e,_0x2a66f7=this[_0x3a04a6(0x20f)]['toJSON'](_0x5bcbdf);return _0x2a66f7?JSON[_0x3a04a6(0x1aa)](_0x2a66f7):'';},_0x565324=_0x4d8536=>_0x4d8536?JSON[_0x35bd86(0x1a2)](_0x4d8536):{};this[_0x35bd86(0x19f)](this[_0x35bd86(0x1a8)][_0x35bd86(0x22d)]({'toJson':_0x463e5d,'parseJson':_0x565324,'pluginName':_0x2bdcee,'businesses':[_0x31d190[_0x35bd86(0x20a)][_0x35bd86(0x185)]],'onLoad':(_0x119664,_0x235792)=>{const _0x4b729c=_0x35bd86;this[_0x4b729c(0x20f)][_0x4b729c(0x228)](_0x235792);},'onUnLoad':_0x3473ae=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x3473ae);}}));}};_0x5932ab=_0xd83ceb([_0x333873(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x183)])),_0x333873(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5932ab);var _0x2645e8=Object[_0x15ed9a(0x254)],_0x3e6926=Object['getOwnPropertyDescriptor'],_0x5caa1d=(_0x5da73a,_0x4c03ef,_0x289967)=>_0x4c03ef in _0x5da73a?_0x2645e8(_0x5da73a,_0x4c03ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x289967}):_0x5da73a[_0x4c03ef]=_0x289967,_0x45a09d=(_0x565922,_0x43854b,_0x574c52,_0x5e0962)=>{for(var _0x29f91c=_0x5e0962>0x1?void 0x0:_0x5e0962?_0x3e6926(_0x43854b,_0x574c52):_0x43854b,_0xb69e=_0x565922['length']-0x1,_0x1d5f51;_0xb69e>=0x0;_0xb69e--)(_0x1d5f51=_0x565922[_0xb69e])&&(_0x29f91c=_0x1d5f51(_0x29f91c)||_0x29f91c);return _0x29f91c;},_0xc1df5=(_0x49c581,_0x33d3fa)=>(_0x2aadaa,_0x4022e9)=>_0x33d3fa(_0x2aadaa,_0x4022e9,_0x49c581),_0x596041=(_0x49d448,_0x597b96,_0x1d0aa9)=>_0x5caa1d(_0x49d448,typeof _0x597b96!='symbol'?_0x597b96+'':_0x597b96,_0x1d0aa9);_0x33c1ed['UniverSheetSparklinePlugin']=class extends _0x31d190[_0x15ed9a(0x1fa)]{constructor(_0xe461b2={},_0x529332,_0x6492e1){const _0x6f4f0c=_0x15ed9a;super(),this[_0x6f4f0c(0x203)]=_0xe461b2,this[_0x6f4f0c(0x1ae)]=_0x529332,this['_commandService']=_0x6492e1,this['_initDependencies'](),this[_0x6f4f0c(0x1f7)]();}[_0x15ed9a(0x245)](){const _0x492821=_0x15ed9a;[[_0x33c1ed[_0x492821(0x159)]],[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e],[_0x5932ab]]['forEach'](_0x4131af=>{const _0x23e7cd=_0x492821;this['_injector'][_0x23e7cd(0x1a9)](_0x4131af);}),_0x31d190['touchDependencies'](this[_0x492821(0x1ae)],[[_0x5932ab]]);}[_0x15ed9a(0x226)](){const _0x15e99b=_0x15ed9a;_0x31d190[_0x15e99b(0x1b0)](this[_0x15e99b(0x1ae)],[[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e]]);}[_0x15ed9a(0x1f7)](){const _0x363f7a=_0x15ed9a;[_0x4331aa,_0x3f9b3d,_0x43b5a7,_0x38f3fd,_0x46f7a6,_0x40f599][_0x363f7a(0x19b)](_0x144727=>this[_0x363f7a(0x244)][_0x363f7a(0x173)](_0x144727));}},_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1e1),_0x2bdcee),_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1eb),_0x31d190['UniverInstanceType'][_0x15ed9a(0x185)]),_0x33c1ed[_0x15ed9a(0x21a)]=_0x45a09d([_0x31d190[_0x15ed9a(0x1ce)](_0x885d29[_0x15ed9a(0x175)]),_0xc1df5(0x1,_0x31d190['Inject'](_0x31d190[_0x15ed9a(0x184)])),_0xc1df5(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)]))],_0x33c1ed['UniverSheetSparklinePlugin']),_0x33c1ed[_0x15ed9a(0x253)]=_0x4331aa,_0x33c1ed[_0x15ed9a(0x15f)]=_0x3f9b3d,_0x33c1ed[_0x15ed9a(0x235)]=_0x2bdcee,_0x33c1ed[_0x15ed9a(0x221)]=_0x43b5a7,_0x33c1ed['RemoveSheetSparklineMutation']=_0x38f3fd,_0x33c1ed['SetSheetSparklineCommand']=_0x46f7a6,_0x33c1ed[_0x15ed9a(0x1c7)]=_0x40f599,_0x33c1ed['SpacialShowAsEnum']=_0x4ddcc1,_0x33c1ed[_0x15ed9a(0x1f0)]=_0x22bf49,_0x33c1ed[_0x15ed9a(0x1ea)]=_0x4da1af,_0x33c1ed[_0x15ed9a(0x1c9)]=_0x425d02,_0x33c1ed['SparklineThemeTypeEnum']=_0x1ed78d,_0x33c1ed['SparklineTypeEnum']=_0x11d5e6,_0x33c1ed['getSparklinePlacement']=_0x68a83c,Object[_0x15ed9a(0x254)](_0x33c1ed,Symbol[_0x15ed9a(0x250)],{'value':_0x15ed9a(0x21d)});}));function _0x593e(_0x2bc704,_0x1fde9c){_0x2bc704=_0x2bc704-0x159;const _0x3803fe=_0x3803();let _0x593e96=_0x3803fe[_0x2bc704];return _0x593e96;}function _0x3803(){const _0x4f358a=['LINE_CHART','SparklineDataSourceModel','intersects','_ensureConfigMap','sparklines','STANDARD','registerRefRange','AddSheetSparklineMutation','SELF_EXTREMUM','sheet.mutation.set-sparkline','rxjs','Subject','Range','_exclusiveRangeService','_ensureAnchorMatrix','NORMAL','startColumn','getSparklineCache','onCommandExecuted','foreach','ranges','Rectangle','DISTINCTIVE','assign','sheet.mutation.add-sparkline','getRowVisible','custom','registerCommand','6202375AqrjIH','UniverLicensePlugin','DisposableCollection','CopySheetCommand','SheetInterceptorService','some','addSparkline','getSheetId','_initCorrectRangeWithSparkline','PROFIT_AND_LOSS_CHART','subUnitId','CellValueType','1209mCLmsw','standard','function','IResourceManagerService','Injector','UNIVER_SHEET','getCurrentSelections','_initMergeWithSparkline','exports','has','rgb(80,102,248)','specialty','generateRandomId','533753dkGskG','UniverProLicense','removePartSparkline','sheet.command.set-sparkline','SetRowVisibleMutation','ICommandService','CUSTOM_EXTREMUM','sheet.mutation.remove-sparkline','getSubUnitSparkline','RemoveRowMutation','RemoveColCommand','PIE_CHART','getCellRaw','symbol','forEach','themeType','markersPoint','_initExclusiveRangeChange','disposeWithMe','startRow','54894iDhaNr','parse','ColorKit','rgb(124,66,147)','size','13854710xVRQKp','SHEET_SPARKLINE_PLUGIN','_resourceManagerService','add','stringify','RefRangeService','getColVisible','SOFT','_injector','hasValue','touchDependencies','UniverProSheetsSparkline','40zvptQW','Inject','SPECIALTY','SetColVisibleMutation','RemoveRowCommand','rgb(49,106,246)','sparklineModel','range','column','interceptCommand','clone','realDeleteValue','CommandType','isValidRange','push','forValue','3010yOKUjP','getSheetBySheetId','changeDataSourceInfo','deleteUnit','_univerInstanceService','SetSheetSparklineMutation','IUniverInstanceService','SparklineThemeMapping','ObjectMatrix','_onRefRangeChange','rgb(244,104,249)','getOwnPropertyDescriptor','DependentOn','subscribe','getUnitId','ReorderRangeMutation','endColumn','remove','emptyShowAs','length','keys','_updateConfig$','COMMAND','get','getValue','removeRows','actualRow','rgb(30,177,189)','disposableCollection','_initHideRowColWithSparkline','rgb(54,78,244)','pluginName','sequenceExecute','row','value','_getRefRangeMutationsByDeleteCols','Disposable','params','groupId','endRow','SparklinePointsNames','type','soft','amd','setValue','updateSparklineExtraNum','SparklineExtremumTypeEnum','_refRangeService','Tools','containHiddenCells','item','reBuildAnchorCache','pushUndoRedo','_initRegisterCommand','matrix','9vrZEog','Plugin','CONNECT_WITH_LINE','every','2221694gJrjzB','from','highPoint','@univerjs/core','deepClone','SetRangeValuesMutation','_config','contains','_getRefRangeMutationsByDeleteRows','removeSparkline','delete','rgb(248,190,21)','RANGE_TYPE','UniverInstanceType','firstPoint','getMatrix','@univerjs/sheets','_initSnapshot','_sparklineDataSourceModel','moveRows','clearSparklineCache','6cftteE','UniverCore','getSheetCommandTarget','getCurrentUnitOfType','FRESH','BAR_CHART','refRangeHandle','NUMBER','UniverSheetSparklinePlugin','@univerjs-pro/license','setAlpha','Module','next','RemoveColMutation','getActiveSheet','RemoveSheetSparklineCommand','IUndoRedoService','values','getSizeOf','SetColHiddenMutation','onReady','set','fromJSON','MAX_SAFE_INTEGER','MUTATION','sparklineAnchorMap','removeColumns','registerPluginResource','object','actualColumn','ZERO_VALUE','_initDataChangeListener','MoveColsMutation','u-connect','cellToRange','PLUGIN_NAME','adjustRangeOnMutation','rgb(236,100,169)','_initClearWithSparkline','u-spacing','extremumMax','SetWorksheetActivateCommand','GROUP_EXTREMUM','getSparkline','map','_sparklineAnchorMap','config','unitId','12728BBxmjM','getCell','_commandService','_initDependencies','toRgbString','updateConfig$','getSparklineById','max','AddWorksheetMergeCommand','number','moveColumns','60spZUXR','MIN_SAFE_INTEGER','181846GCpeQW','toStringTag','IExclusiveRangeService','_sheetInterceptorService','AddSheetSparklineCommand','defineProperty','MoveRangeMutation','sheet.command.add-sparkline','spacing','toJSON','_sparklineModel','entries','_initSheetChange','1iVbsSA','SPACING','connect_with_line','SheetsSelectionsService'];_0x3803=function(){return _0x4f358a;};return _0x3803();}
|
|
1
|
+
(function(_0x2a678d,_0x5d1b95){const _0x5d9d06=_0x33f4,_0x3a0ba4=_0x2a678d();while(!![]){try{const _0x194775=parseInt(_0x5d9d06(0x1b6))/0x1+parseInt(_0x5d9d06(0x27c))/0x2*(parseInt(_0x5d9d06(0x226))/0x3)+parseInt(_0x5d9d06(0x20d))/0x4*(-parseInt(_0x5d9d06(0x1b0))/0x5)+parseInt(_0x5d9d06(0x22b))/0x6+parseInt(_0x5d9d06(0x248))/0x7+parseInt(_0x5d9d06(0x247))/0x8+parseInt(_0x5d9d06(0x1f1))/0x9*(-parseInt(_0x5d9d06(0x1ed))/0xa);if(_0x194775===_0x5d1b95)break;else _0x3a0ba4['push'](_0x3a0ba4['shift']());}catch(_0x500cac){_0x3a0ba4['push'](_0x3a0ba4['shift']());}}}(_0x394c,0xec4a2),function(_0x61a36,_0x29e49e){const _0x4f15e0=_0x33f4;typeof exports==_0x4f15e0(0x22e)&&typeof module<'u'?_0x29e49e(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x4f15e0(0x1fc)]?define([_0x4f15e0(0x242),_0x4f15e0(0x203),_0x4f15e0(0x1f2),_0x4f15e0(0x2a1),_0x4f15e0(0x280)],_0x29e49e):(_0x61a36=typeof globalThis<'u'?globalThis:_0x61a36||self,_0x29e49e(_0x61a36[_0x4f15e0(0x238)]={},_0x61a36['UniverCore'],_0x61a36[_0x4f15e0(0x294)],_0x61a36[_0x4f15e0(0x2a1)],_0x61a36['UniverProLicense']));}(this,function(_0x59aa9f,_0x40eb21,_0x2beccc,_0x25d761,_0x384134){'use strict';const _0x22cabc=_0x33f4;var _0x1ce654=Object[_0x22cabc(0x296)],_0xdd8899=(_0x1a2188,_0x1b9eb4,_0xb730a6)=>_0x1b9eb4 in _0x1a2188?_0x1ce654(_0x1a2188,_0x1b9eb4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb730a6}):_0x1a2188[_0x1b9eb4]=_0xb730a6,_0x4d8b0c=(_0x3d8148,_0x488a94,_0x34a6f0)=>_0xdd8899(_0x3d8148,typeof _0x488a94!='symbol'?_0x488a94+'':_0x488a94,_0x34a6f0);function _0x16c7d2(_0x528a2d,_0x50ecc5){const _0x2a6a05=_0x22cabc,_0x25bf75=new _0x40eb21[(_0x2a6a05(0x2a9))](),_0x3fe8ef=[],_0x2501db=_0x528a2d[_0x2a6a05(0x295)]>0x1;let _0x3f1659=0x0,_0x183765=0x0;for(const _0x35b2d3 of _0x528a2d)_0x3f1659+=_0x35b2d3['endRow']-_0x35b2d3[_0x2a6a05(0x208)]+0x1,_0x183765+=_0x35b2d3['endColumn']-_0x35b2d3[_0x2a6a05(0x24d)]+0x1;for(const _0x447491 of _0x50ecc5)for(let _0x43fd42=_0x447491['startRow'];_0x43fd42<=_0x447491[_0x2a6a05(0x26b)];_0x43fd42++)for(let _0x250401=_0x447491[_0x2a6a05(0x24d)];_0x250401<=_0x447491['endColumn'];_0x250401++)_0x3fe8ef[_0x2a6a05(0x297)]({'row':_0x43fd42,'column':_0x250401});if(_0x3fe8ef[_0x2a6a05(0x295)]===_0x3f1659)_0x2501db?_0x3fe8ef[_0x2a6a05(0x25f)]((_0x1f9b69,_0x48d81e)=>{const _0x2a4620=_0x2a6a05,_0x34d935=_0x528a2d[_0x48d81e],_0x2b5f7b={'startRow':_0x34d935[_0x2a4620(0x208)],'startColumn':_0x34d935[_0x2a4620(0x24d)],'endRow':_0x34d935[_0x2a4620(0x208)],'endColumn':_0x34d935[_0x2a4620(0x232)]};_0x25bf75['setValue'](_0x1f9b69[_0x2a4620(0x1fa)],_0x1f9b69[_0x2a4620(0x237)],_0x2b5f7b);}):_0x3fe8ef[_0x2a6a05(0x25f)]((_0x595e21,_0x458d38)=>{const _0x4c9811=_0x2a6a05,_0x1f20b7=_0x528a2d[0x0],_0x16e86c={'startRow':_0x1f20b7[_0x4c9811(0x208)]+_0x458d38,'startColumn':_0x1f20b7['startColumn'],'endRow':_0x1f20b7[_0x4c9811(0x208)]+_0x458d38,'endColumn':_0x1f20b7['endColumn']};_0x25bf75[_0x4c9811(0x244)](_0x595e21['row'],_0x595e21[_0x4c9811(0x237)],_0x16e86c);});else{if(_0x3fe8ef[_0x2a6a05(0x295)]===_0x183765)_0x2501db?_0x3fe8ef[_0x2a6a05(0x25f)]((_0x37c6e9,_0x1dc2a6)=>{const _0x6a4950=_0x2a6a05,_0x4a1114=_0x528a2d[_0x1dc2a6],_0x2582a2={'startRow':_0x4a1114[_0x6a4950(0x208)],'startColumn':_0x4a1114[_0x6a4950(0x24d)],'endRow':_0x4a1114['endRow'],'endColumn':_0x4a1114['startColumn']};_0x25bf75[_0x6a4950(0x244)](_0x37c6e9[_0x6a4950(0x1fa)],_0x37c6e9[_0x6a4950(0x237)],_0x2582a2);}):_0x3fe8ef[_0x2a6a05(0x25f)]((_0x5c3e30,_0x1930fd)=>{const _0x2095ac=_0x2a6a05,_0x219a5b=_0x528a2d[0x0],_0x4691c9={'startRow':_0x219a5b[_0x2095ac(0x208)],'startColumn':_0x219a5b[_0x2095ac(0x24d)]+_0x1930fd,'endRow':_0x219a5b[_0x2095ac(0x26b)],'endColumn':_0x219a5b[_0x2095ac(0x24d)]+_0x1930fd};_0x25bf75[_0x2095ac(0x244)](_0x5c3e30[_0x2095ac(0x1fa)],_0x5c3e30['column'],_0x4691c9);});else{if(_0x3fe8ef[_0x2a6a05(0x295)]===_0x528a2d[_0x2a6a05(0x295)])_0x528a2d['every'](_0x1741bd=>!(_0x1741bd[_0x2a6a05(0x208)]!==_0x1741bd[_0x2a6a05(0x26b)]&&_0x1741bd[_0x2a6a05(0x24d)]!==_0x1741bd[_0x2a6a05(0x232)]))&&_0x3fe8ef['forEach']((_0x4ab648,_0x4fe8d3)=>{const _0x219ea2=_0x2a6a05,_0x5a7f0d=_0x528a2d[_0x4fe8d3];_0x25bf75['setValue'](_0x4ab648[_0x219ea2(0x1fa)],_0x4ab648[_0x219ea2(0x237)],_0x5a7f0d);});else throw new Error(_0x2a6a05(0x26c));}}return _0x25bf75;}const _0x5733b5=_0x22cabc(0x234),_0x2f00bc={'standard':[_0x22cabc(0x258),_0x22cabc(0x229)],'specialty':[_0x22cabc(0x279),_0x22cabc(0x2a8)],'distinctive':[_0x22cabc(0x276),_0x22cabc(0x20f)],'soft':[_0x22cabc(0x1c7),_0x22cabc(0x1d2)],'fresh':['rgb(46,187,122)',_0x22cabc(0x26d)]},_0x4e8b41=['highPoint',_0x22cabc(0x259),_0x22cabc(0x1ad),_0x22cabc(0x1e4),_0x22cabc(0x1d4),'markersPoint'];var _0x23f003=(_0x27a09f=>(_0x27a09f[_0x22cabc(0x27f)]=_0x22cabc(0x26e),_0x27a09f['SPECIALTY']='specialty',_0x27a09f[_0x22cabc(0x1cc)]=_0x22cabc(0x28c),_0x27a09f[_0x22cabc(0x24e)]='soft',_0x27a09f[_0x22cabc(0x28e)]=_0x22cabc(0x281),_0x27a09f['CUSTOM']=_0x22cabc(0x1e9),_0x27a09f))(_0x23f003||{}),_0xd4c582=(_0x4a0054=>(_0x4a0054[_0x4a0054['LINE_CHART']=0x1]=_0x22cabc(0x1c5),_0x4a0054[_0x4a0054[_0x22cabc(0x1f8)]=0x2]=_0x22cabc(0x1f8),_0x4a0054[_0x4a0054['PROFIT_AND_LOSS_CHART']=0x3]=_0x22cabc(0x1da),_0x4a0054[_0x4a0054[_0x22cabc(0x1d3)]=0x4]=_0x22cabc(0x1d3),_0x4a0054))(_0xd4c582||{}),_0x51346e=(_0x46f4a2=>(_0x46f4a2[_0x22cabc(0x1f7)]=_0x22cabc(0x27b),_0x46f4a2[_0x22cabc(0x29b)]=_0x22cabc(0x225),_0x46f4a2['CONNECT_WITH_LINE']=_0x22cabc(0x1b9),_0x46f4a2))(_0x51346e||{}),_0x139823=(_0x4daa4d=>(_0x4daa4d[_0x4daa4d[_0x22cabc(0x22f)]=0x1]=_0x22cabc(0x22f),_0x4daa4d[_0x4daa4d['GROUP_EXTREMUM']=0x2]=_0x22cabc(0x2a7),_0x4daa4d[_0x4daa4d[_0x22cabc(0x1ae)]=0x3]=_0x22cabc(0x1ae),_0x4daa4d))(_0x139823||{}),_0x42a7f4=Object[_0x22cabc(0x1b8)],_0x59d939=(_0x8b6419,_0x445295,_0x2a1c96,_0x444930)=>{const _0x1fe906=_0x22cabc;for(var _0x2ccbd2=_0x444930>0x1?void 0x0:_0x444930?_0x42a7f4(_0x445295,_0x2a1c96):_0x445295,_0x3b1579=_0x8b6419[_0x1fe906(0x295)]-0x1,_0x4d4130;_0x3b1579>=0x0;_0x3b1579--)(_0x4d4130=_0x8b6419[_0x3b1579])&&(_0x2ccbd2=_0x4d4130(_0x2ccbd2)||_0x2ccbd2);return _0x2ccbd2;},_0xe99563=(_0x43e4b6,_0x22688e)=>(_0x1dcc8c,_0x3a86b5)=>_0x22688e(_0x1dcc8c,_0x3a86b5,_0x43e4b6);_0x59aa9f[_0x22cabc(0x230)]=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x23a40f){const _0x57ea25=_0x22cabc;super(),_0x4d8b0c(this,_0x57ea25(0x224),new Map()),_0x4d8b0c(this,_0x57ea25(0x233),new Map()),_0x4d8b0c(this,_0x57ea25(0x1d5),new _0x25d761[(_0x57ea25(0x1f6))]()),_0x4d8b0c(this,_0x57ea25(0x27a),this[_0x57ea25(0x1d5)]['asObservable']()),this[_0x57ea25(0x265)]=_0x23a40f;}[_0x22cabc(0x214)](_0x25a9ad,_0x350930){const _0x5b873c=_0x22cabc;let _0x18fe15=this[_0x5b873c(0x224)][_0x5b873c(0x223)](_0x25a9ad);_0x18fe15||(_0x18fe15=new Map(),this[_0x5b873c(0x224)][_0x5b873c(0x1ef)](_0x25a9ad,_0x18fe15));let _0x2b9f6b=_0x18fe15['get'](_0x350930);return _0x2b9f6b||(_0x2b9f6b=new Map(),_0x18fe15[_0x5b873c(0x1ef)](_0x350930,_0x2b9f6b)),_0x2b9f6b;}[_0x22cabc(0x1ea)](_0x501677,_0x3f92f2){const _0x4d18c7=_0x22cabc;let _0x50d075=this[_0x4d18c7(0x233)]['get'](_0x501677);_0x50d075||(_0x50d075=new Map(),this[_0x4d18c7(0x233)][_0x4d18c7(0x1ef)](_0x501677,_0x50d075));let _0x3f7de0=_0x50d075[_0x4d18c7(0x223)](_0x3f92f2);return _0x3f7de0||(_0x3f7de0={'matrix':new _0x40eb21[(_0x4d18c7(0x2a9))](),'extra':{}},_0x50d075[_0x4d18c7(0x1ef)](_0x3f92f2,_0x3f7de0)),_0x3f7de0;}['updateSparklineExtraNum'](_0x4bea42,_0x40b85a,_0xf9dad4,_0x38e12a=_0x22cabc(0x1ef)){const _0x416022=_0x22cabc;var _0x29279b,_0x165e0d,_0x18bfd1,_0x22b78,_0x29f96c,_0x1cd5a3,_0x407092,_0x53a836,_0x526100,_0x5eb2a7,_0x1d07f1,_0x471d64,_0x345d95;const _0x17739c=(_0x165e0d=(_0x29279b=this[_0x416022(0x224)][_0x416022(0x223)](_0x4bea42))==null?void 0x0:_0x29279b[_0x416022(0x223)](_0x40b85a))==null?void 0x0:_0x165e0d[_0x416022(0x223)](_0xf9dad4);if(!_0x17739c)return;const _0x284c79=_0x2beccc[_0x416022(0x26a)](this[_0x416022(0x265)],{'unitId':_0x4bea42,'subUnitId':_0x40b85a});if(!_0x284c79)return;const _0x4134d9=this[_0x416022(0x1ea)](_0x4bea42,_0x40b85a),{extra:_0x1d7fc1,matrix:_0x427ff6}=_0x4134d9,{worksheet:_0x39f5f2}=_0x284c79;let _0xc8c662=Number[_0x416022(0x257)],_0x107c80=Number[_0x416022(0x264)];const _0x2e6a5a=(_0x18bfd1=_0x17739c['config'][_0x416022(0x283)])!=null?_0x18bfd1:!0x1;_0x17739c[_0x416022(0x288)][_0x416022(0x200)]((_0x162aed,_0x101a33,_0x304fc2)=>{const _0x45e13b=_0x416022;var _0x16f671,_0x4d7cfe,_0xbbc890;const _0x4d7de2=_0x304fc2;let _0x5ca010=Number[_0x45e13b(0x257)],_0xbd88f3=Number[_0x45e13b(0x264)],_0x126aa0=0x0,_0x4c6a44=0x0;const _0x34f069=[];if(!_0x40eb21['isValidRange'](_0x4d7de2))_0x427ff6[_0x45e13b(0x244)](_0x162aed,_0x101a33,{'groupId':_0xf9dad4,'data':[],'max':_0x5ca010,'min':_0xbd88f3,'highIndex':_0x126aa0,'lowIndex':_0x4c6a44,'negativeIndexes':_0x34f069});else{const _0x1aaf8e=[];for(let _0x3ce2a3=_0x4d7de2[_0x45e13b(0x208)];_0x3ce2a3<=_0x4d7de2['endRow'];_0x3ce2a3++){for(let _0xef5be9=_0x4d7de2['startColumn'];_0xef5be9<=_0x4d7de2[_0x45e13b(0x232)];_0xef5be9++){const _0x2a7d6a=_0x39f5f2[_0x45e13b(0x1c6)](_0x3ce2a3),_0x6e2fdb=_0x39f5f2[_0x45e13b(0x22c)](_0xef5be9);if(!_0x2e6a5a&&(!_0x2a7d6a||!_0x6e2fdb))continue;let _0xd40768=0x0;const _0x2ce2e3=((_0x16f671=_0x39f5f2[_0x45e13b(0x1b5)](_0x3ce2a3,_0xef5be9))==null?void 0x0:_0x16f671['v'])!==void 0x0?_0x39f5f2['getCellRaw'](_0x3ce2a3,_0xef5be9):_0x39f5f2[_0x45e13b(0x282)](_0x3ce2a3,_0xef5be9);if(!_0x2ce2e3||_0x2ce2e3['v']===void 0x0||_0x2ce2e3['v']===null){const _0x1abd7b=(_0x4d7cfe=_0x17739c['config'][_0x45e13b(0x1d0)])!=null?_0x4d7cfe:_0x51346e[_0x45e13b(0x1f7)];_0x1abd7b===_0x51346e[_0x45e13b(0x29b)]?_0xd40768=0x0:_0x1abd7b===_0x51346e[_0x45e13b(0x1f7)]?_0xd40768=_0x45e13b(0x274):_0x1abd7b===_0x51346e[_0x45e13b(0x29d)]&&(_0xd40768=_0x45e13b(0x21c));}else{if(_0x2ce2e3['t']===_0x40eb21[_0x45e13b(0x29c)][_0x45e13b(0x1f0)]||_0x2ce2e3['t']===_0x40eb21[_0x45e13b(0x29c)][_0x45e13b(0x23e)]){const _0x3c3c9e=(_0xbbc890=_0x17739c['config'][_0x45e13b(0x2a6)])!=null?_0xbbc890:_0x51346e['SPACING'];_0x3c3c9e===_0x51346e[_0x45e13b(0x29b)]?_0xd40768=0x0:_0x3c3c9e===_0x51346e[_0x45e13b(0x1f7)]?_0xd40768='u-spacing':_0x3c3c9e===_0x51346e[_0x45e13b(0x29d)]&&(_0xd40768=_0x45e13b(0x21c));}else _0x2ce2e3['t']===_0x40eb21[_0x45e13b(0x29c)][_0x45e13b(0x25d)]?_0xd40768=_0x2ce2e3['v']?0x1:0x0:_0x2ce2e3['t']===_0x40eb21[_0x45e13b(0x29c)][_0x45e13b(0x2ae)]?_0xd40768=Number(_0x2ce2e3['v']):_0xd40768=_0x2ce2e3['v'];}if(_0x1aaf8e[_0x45e13b(0x297)](_0xd40768),typeof _0xd40768==_0x45e13b(0x27d)){_0x5ca010=Math[_0x45e13b(0x1d1)](_0x5ca010,_0xd40768),_0xc8c662=Math[_0x45e13b(0x1d1)](_0xc8c662,_0xd40768),_0x107c80=Math[_0x45e13b(0x1fb)](_0x107c80,_0xd40768),_0xbd88f3=Math[_0x45e13b(0x1fb)](_0xbd88f3,_0xd40768);const _0x31995c=typeof _0x1aaf8e[_0x126aa0]=='number'?Number(_0x1aaf8e[_0x126aa0]):Number[_0x45e13b(0x257)];_0xd40768>_0x31995c&&(_0x126aa0=_0x1aaf8e[_0x45e13b(0x295)]-0x1);const _0x422030=typeof _0x1aaf8e[_0x4c6a44]==_0x45e13b(0x27d)?Number(_0x1aaf8e[_0x4c6a44]):Number[_0x45e13b(0x264)];_0xd40768<_0x422030&&(_0x4c6a44=_0x1aaf8e[_0x45e13b(0x295)]-0x1),_0xd40768<0x0&&_0x34f069[_0x45e13b(0x297)](_0x1aaf8e[_0x45e13b(0x295)]-0x1);}}_0x427ff6[_0x45e13b(0x244)](_0x162aed,_0x101a33,{'groupId':_0xf9dad4,'data':_0x1aaf8e,'max':_0x5ca010,'min':_0xbd88f3,'highIndex':_0x126aa0,'lowIndex':_0x4c6a44,'negativeIndexes':_0x34f069});}}});let _0x4fa530=_0xc8c662;((_0x22b78=_0x17739c['config'][_0x416022(0x1c0)])==null?void 0x0:_0x22b78['type'])===_0x139823[_0x416022(0x1ae)]&&(_0x4fa530=(_0x1cd5a3=(_0x29f96c=_0x17739c[_0x416022(0x215)]['extremumMax'])==null?void 0x0:_0x29f96c[_0x416022(0x245)])!=null?_0x1cd5a3:_0xc8c662);let _0x363252=_0x107c80;((_0x407092=_0x17739c[_0x416022(0x215)][_0x416022(0x28a)])==null?void 0x0:_0x407092[_0x416022(0x261)])===_0x139823[_0x416022(0x1ae)]&&(_0x363252=(_0x526100=(_0x53a836=_0x17739c['config']['extremumMin'])==null?void 0x0:_0x53a836[_0x416022(0x245)])!=null?_0x526100:_0x107c80);const _0x3f0fdd=(_0x5eb2a7=_0x17739c[_0x416022(0x215)]['themeType'])!=null?_0x5eb2a7:_0x23f003[_0x416022(0x27f)],_0x149617=(_0x345d95=(_0x471d64=_0x17739c['config'][_0x416022(0x1ff)])!=null?_0x471d64:(_0x1d07f1=_0x2f00bc[_0x3f0fdd])==null?void 0x0:_0x1d07f1[0x0])!=null?_0x345d95:_0x2f00bc[_0x416022(0x26e)][0x0],_0x57179a=new _0x40eb21[(_0x416022(0x1d9))](_0x149617),_0xafba63=_0x57179a[_0x416022(0x210)](0.2)['toRgbString'](),_0x484705=_0x57179a['setAlpha'](0.05)[_0x416022(0x1b7)]();_0x1d7fc1[_0xf9dad4]={'groupMax':_0xc8c662,'groupMin':_0x107c80,'showMax':_0x4fa530,'showMin':_0x363252,'startGradient':_0xafba63,'endGradient':_0x484705},this['_updateConfig$'][_0x416022(0x28f)]({'unitId':_0x4bea42,'subUnitId':_0x40b85a,'groupId':_0xf9dad4,'config':_0x17739c,'type':_0x38e12a});}['addSparkline'](_0x5bcef0,_0x2b1546,_0x379d76,_0x4f0222){const _0x25bcf4=_0x22cabc;this[_0x25bcf4(0x214)](_0x5bcef0,_0x2b1546)[_0x25bcf4(0x1ef)](_0x379d76,_0x4f0222),this[_0x25bcf4(0x24f)](_0x5bcef0,_0x2b1546,_0x379d76,_0x25bcf4(0x26f));}[_0x22cabc(0x250)](_0x6e711,_0x10fc24,_0x576bf5,_0x3d6c62){const _0x3cc4e8=_0x22cabc;var _0x1fe46c;const _0x5966e2=(_0x1fe46c=this['_sparklineModel']['get'](_0x6e711))==null?void 0x0:_0x1fe46c[_0x3cc4e8(0x223)](_0x10fc24);_0x576bf5[_0x3cc4e8(0x25f)](_0x4ec321=>{const _0x13543c=_0x3cc4e8;_0x5966e2!=null&&_0x5966e2[_0x13543c(0x262)](_0x4ec321)&&(_0x5966e2['set'](_0x4ec321,_0x3d6c62),this[_0x13543c(0x24f)](_0x6e711,_0x10fc24,_0x4ec321));});}[_0x22cabc(0x256)](_0x37fcff,_0x51b3af,_0x393d3a){const _0x41b384=_0x22cabc;var _0x3b7aca,_0x26243e;const _0x247636=this[_0x41b384(0x224)][_0x41b384(0x223)](_0x37fcff);if(_0x247636){const _0x4cc2ec=_0x247636[_0x41b384(0x223)](_0x51b3af);if(_0x4cc2ec){_0x4cc2ec['delete'](_0x393d3a);const _0x4042a3=(_0x3b7aca=this[_0x41b384(0x233)][_0x41b384(0x223)](_0x37fcff))==null?void 0x0:_0x3b7aca[_0x41b384(0x223)](_0x51b3af);(_0x26243e=_0x4042a3==null?void 0x0:_0x4042a3[_0x41b384(0x1ca)])==null||_0x26243e['forValue']((_0x1b1a02,_0x2f938d,_0x5c96cb)=>{const _0x4fed58=_0x41b384;(_0x5c96cb==null?void 0x0:_0x5c96cb[_0x4fed58(0x202)])===_0x393d3a&&(_0x4042a3==null||_0x4042a3[_0x4fed58(0x1ca)][_0x4fed58(0x1c8)](_0x1b1a02,_0x2f938d));}),this[_0x41b384(0x1d5)][_0x41b384(0x28f)]({'unitId':_0x37fcff,'subUnitId':_0x51b3af,'groupId':_0x393d3a,'type':_0x41b384(0x1bd)}),_0x4cc2ec['size']===0x0&&_0x247636[_0x41b384(0x1ba)](_0x51b3af);}}}[_0x22cabc(0x1c9)](_0x5ef8af,_0xcd4d1a,_0x291aaa,_0x408341){const _0x26659b=_0x22cabc;var _0xcfd4a7,_0x586859,_0x338289,_0x49ef26;const _0x190478=(_0xcfd4a7=this[_0x26659b(0x233)][_0x26659b(0x223)](_0x5ef8af))==null?void 0x0:_0xcfd4a7['get'](_0xcd4d1a),_0x1e2b38=_0x190478==null?void 0x0:_0x190478[_0x26659b(0x1ca)][_0x26659b(0x277)](_0x291aaa,_0x408341);if(_0x1e2b38){const {groupId:_0x5d71d3}=_0x1e2b38,_0x348e19=(_0x586859=this['_sparklineModel'][_0x26659b(0x223)](_0x5ef8af))==null?void 0x0:_0x586859['get'](_0xcd4d1a);(_0x338289=_0x348e19==null?void 0x0:_0x348e19[_0x26659b(0x223)](_0x5d71d3))==null||_0x338289[_0x26659b(0x288)][_0x26659b(0x1c8)](_0x291aaa,_0x408341),(_0x49ef26=_0x348e19==null?void 0x0:_0x348e19[_0x26659b(0x223)](_0x5d71d3))!=null&&_0x49ef26[_0x26659b(0x288)][_0x26659b(0x222)]()||_0x348e19==null||_0x348e19[_0x26659b(0x1ba)](_0x5d71d3),_0x190478==null||_0x190478[_0x26659b(0x1ca)][_0x26659b(0x1c8)](_0x291aaa,_0x408341),this['_updateConfig$']['next']({'unitId':_0x5ef8af,'subUnitId':_0xcd4d1a,'groupId':_0x5d71d3,'type':_0x26659b(0x1bd)});}}['clearSparklineCache'](_0x243014,_0x32674e,_0x561962){const _0x5a8402=_0x22cabc;var _0x3d99bd,_0x299093,_0x215e24,_0x70c33e;const _0x2899a4=(_0x215e24=(_0x299093=(_0x3d99bd=this[_0x5a8402(0x224)]['get'](_0x243014))==null?void 0x0:_0x3d99bd[_0x5a8402(0x223)](_0x32674e))==null?void 0x0:_0x299093[_0x5a8402(0x223)](_0x561962))==null?void 0x0:_0x215e24[_0x5a8402(0x288)],_0x126c05=(_0x70c33e=this[_0x5a8402(0x233)]['get'](_0x243014))==null?void 0x0:_0x70c33e[_0x5a8402(0x223)](_0x32674e);if(_0x2899a4&&_0x126c05){const {matrix:_0x5ed6b5,extra:_0x5be931}=_0x126c05;_0x2899a4['forValue']((_0x486ea5,_0x3790db,_0x53509a)=>{const _0x24924d=_0x5a8402;_0x5ed6b5[_0x24924d(0x1c8)](_0x486ea5,_0x3790db);}),delete _0x5be931[_0x561962];}}[_0x22cabc(0x2af)](_0xa6d15d,_0x30e1ea){const _0x3fca52=_0x22cabc;var _0xbecaa9;return(_0xbecaa9=this['_sparklineModel'][_0x3fca52(0x223)](_0xa6d15d))==null?void 0x0:_0xbecaa9[_0x3fca52(0x223)](_0x30e1ea);}['getSparklineById'](_0x4ffd2d,_0x290562,_0x1619d6){const _0x568333=_0x22cabc;var _0x44bfee,_0x4b9e03;return(_0x4b9e03=(_0x44bfee=this['_sparklineModel'][_0x568333(0x223)](_0x4ffd2d))==null?void 0x0:_0x44bfee['get'](_0x290562))==null?void 0x0:_0x4b9e03[_0x568333(0x223)](_0x1619d6);}[_0x22cabc(0x1e8)](_0x5f5c3e,_0x2b25cc,_0x58674d,_0x1131ec){const _0x358dd1=_0x22cabc;var _0x9d9b9e,_0x2c4039,_0x5103f6;return(_0x5103f6=(_0x2c4039=(_0x9d9b9e=this[_0x358dd1(0x233)]['get'](_0x5f5c3e))==null?void 0x0:_0x9d9b9e[_0x358dd1(0x223)](_0x2b25cc))==null?void 0x0:_0x2c4039[_0x358dd1(0x1ca)][_0x358dd1(0x277)](_0x58674d,_0x1131ec))==null?void 0x0:_0x5103f6[_0x358dd1(0x202)];}['reBuildAnchorCache'](_0x4bcce9,_0x4aac78){const _0x574397=_0x22cabc;var _0x337646;const _0x135ff5=this[_0x574397(0x1ea)](_0x4bcce9,_0x4aac78);_0x135ff5[_0x574397(0x1ca)][_0x574397(0x200)]((_0x359e82,_0x50c0ce)=>{const _0x222fb0=_0x574397;_0x135ff5['matrix'][_0x222fb0(0x1c8)](_0x359e82,_0x50c0ce);});const _0x370bca=(_0x337646=this['_sparklineModel'][_0x574397(0x223)](_0x4bcce9))==null?void 0x0:_0x337646['get'](_0x4aac78);if(_0x370bca){for(const [_0x44d8db]of _0x370bca)this['updateSparklineExtraNum'](_0x4bcce9,_0x4aac78,_0x44d8db);}}[_0x22cabc(0x23a)](){const _0x4c7f20=_0x22cabc;return{'sparklineModel':this[_0x4c7f20(0x224)],'sparklineAnchorMap':this[_0x4c7f20(0x233)]};}[_0x22cabc(0x1f9)](_0x178d2f){const _0x232302=_0x22cabc,_0x1b6b5e={};if(this['_sparklineModel'][_0x232302(0x262)](_0x178d2f)){_0x1b6b5e[_0x178d2f]={};const _0x4ff0ee=this[_0x232302(0x224)][_0x232302(0x223)](_0x178d2f);_0x4ff0ee!=null&&_0x4ff0ee[_0x232302(0x1be)]&&Array['from'](_0x4ff0ee['keys']())[_0x232302(0x25f)](_0x4ef6eb=>{const _0x8ad655=_0x232302;_0x1b6b5e[_0x178d2f][_0x4ef6eb]={};const _0x486269=_0x4ff0ee[_0x8ad655(0x223)](_0x4ef6eb);_0x486269!=null&&_0x486269[_0x8ad655(0x1be)]&&Array[_0x8ad655(0x254)](_0x486269[_0x8ad655(0x1e5)]())[_0x8ad655(0x25f)](_0x363f25=>{const _0x2a1d55=_0x8ad655,_0xc7de39=_0x486269[_0x2a1d55(0x223)](_0x363f25);_0xc7de39&&(_0x1b6b5e[_0x178d2f][_0x4ef6eb][_0x363f25]={'config':_0xc7de39[_0x2a1d55(0x215)],'sparklines':_0xc7de39['sparklines'][_0x2a1d55(0x271)]()});});});}return _0x1b6b5e;}['fromJSON'](_0x1a3c75){const _0xde3ab3=_0x22cabc;if(!_0x1a3c75)return;Object[_0xde3ab3(0x1e5)](_0x1a3c75)[_0xde3ab3(0x25f)](_0x17bef9=>{const _0x208d75=_0xde3ab3,_0x1caa7c=_0x1a3c75[_0x17bef9];_0x1caa7c&&Object[_0x208d75(0x1e5)](_0x1caa7c)[_0x208d75(0x25f)](_0x44839b=>{const _0x1c1c7b=_0x208d75,_0x5ea896=_0x1caa7c[_0x44839b];_0x5ea896&&Object[_0x1c1c7b(0x1e5)](_0x5ea896)[_0x1c1c7b(0x25f)](_0x20000b=>{const _0x22dcd2=_0x1c1c7b,_0x406516=_0x5ea896[_0x20000b];if(_0x406516){const _0x307836={'config':_0x406516[_0x22dcd2(0x215)],'sparklines':new _0x40eb21[(_0x22dcd2(0x2a9))](_0x406516[_0x22dcd2(0x288)])};this[_0x22dcd2(0x21a)](_0x17bef9,_0x44839b,_0x20000b,_0x307836);}});});});}['deleteUnit'](_0x9ba38f){const _0x118b38=_0x22cabc,_0x183e37=this[_0x118b38(0x224)][_0x118b38(0x223)](_0x9ba38f);if(_0x183e37){for(const [_0x162e73]of _0x183e37){const _0x412bff=_0x183e37[_0x118b38(0x223)](_0x162e73);if(_0x412bff){for(const [_0x595d60]of _0x412bff)this['clearSparklineCache'](_0x9ba38f,_0x162e73,_0x595d60);}}this[_0x118b38(0x224)][_0x118b38(0x1ba)](_0x9ba38f);}}},_0x59aa9f[_0x22cabc(0x230)]=_0x59d939([_0xe99563(0x0,_0x40eb21['Inject'](_0x40eb21['IUniverInstanceService']))],_0x59aa9f['SparklineDataSourceModel']);const _0x27d955={'id':'sheet.mutation.add-sparkline','type':_0x40eb21[_0x22cabc(0x24b)][_0x22cabc(0x25b)],'handler':(_0x38a010,_0x2dc026)=>{const _0x6c8f99=_0x22cabc;if(!_0x2dc026)return!0x1;const {sparklineConfigMap:_0x456428,unitId:_0x14b96f,subUnitId:_0xf5467a}=_0x2dc026,_0x3b013a=_0x38a010[_0x6c8f99(0x223)](_0x59aa9f[_0x6c8f99(0x230)]);return Object[_0x6c8f99(0x1af)](_0x456428)[_0x6c8f99(0x25f)](([_0x304b08,_0x45f000])=>{const _0x187c16=_0x6c8f99,_0x4ce7c2={'config':_0x45f000[_0x187c16(0x215)],'sparklines':new _0x40eb21['ObjectMatrix'](_0x45f000[_0x187c16(0x288)])};_0x3b013a[_0x187c16(0x21a)](_0x14b96f,_0xf5467a,_0x304b08,_0x4ce7c2);}),!0x0;}},_0x5ceb0b={'id':'sheet.mutation.remove-sparkline','type':_0x40eb21[_0x22cabc(0x24b)]['MUTATION'],'handler':(_0x58a078,_0x3e1e55)=>{const _0x16ee12=_0x22cabc;if(!_0x3e1e55)return!0x1;const {unitId:_0xe30c4c,subUnitId:_0x1f257b,ranges:_0x5f2307,isSingle:_0x4cc089,groupIds:_0x35bbd1}=_0x3e1e55,_0x2a7386=_0x58a078[_0x16ee12(0x223)](_0x59aa9f[_0x16ee12(0x230)]);return _0x35bbd1?(_0x35bbd1[_0x16ee12(0x25f)](_0x182e6b=>{const _0x5746e9=_0x16ee12;_0x2a7386[_0x5746e9(0x256)](_0xe30c4c,_0x1f257b,_0x182e6b);}),!0x0):_0x5f2307?(_0x5f2307[_0x16ee12(0x25f)](_0x2e0bfc=>{const _0x10fafc=_0x16ee12;_0x40eb21[_0x10fafc(0x1e1)][_0x10fafc(0x23b)](_0x2e0bfc,(_0xdb0a71,_0x478d60)=>{const _0x58428d=_0x10fafc,_0x40f3dc=_0x2a7386[_0x58428d(0x1e8)](_0xe30c4c,_0x1f257b,_0xdb0a71,_0x478d60);_0x40f3dc&&(_0x4cc089?_0x2a7386['removePartSparkline'](_0xe30c4c,_0x1f257b,_0xdb0a71,_0x478d60):_0x2a7386['removeSparkline'](_0xe30c4c,_0x1f257b,_0x40f3dc));});}),!0x0):!0x1;}},_0x1a2cec={'id':_0x22cabc(0x289),'type':_0x40eb21[_0x22cabc(0x24b)][_0x22cabc(0x23f)],'handler':(_0x49abb1,_0x146697)=>{const _0x9d8aa0=_0x22cabc;if(!_0x146697)return!0x1;const {sourceRanges:_0x9bf98d,targetRanges:_0xf5e145,config:_0x4d0db9}=_0x146697,_0x5a29b0=_0x49abb1[_0x9d8aa0(0x223)](_0x40eb21[_0x9d8aa0(0x1e6)]),_0x3f77a3='g_'+_0x40eb21[_0x9d8aa0(0x29e)](0x6),_0x4014b1=_0x16c7d2(_0x9bf98d,_0xf5e145),_0x4871ce={'config':_0x4d0db9!=null?_0x4d0db9:{},'sparklines':_0x4014b1[_0x9d8aa0(0x271)]()},_0x18abe5=_0x49abb1[_0x9d8aa0(0x223)](_0x40eb21['IUniverInstanceService']),_0x549b6b=_0x49abb1[_0x9d8aa0(0x223)](_0x59aa9f[_0x9d8aa0(0x230)]),_0x387ec0=_0x2beccc[_0x9d8aa0(0x26a)](_0x18abe5);if(!_0x387ec0)return!0x1;const {unitId:_0x1400e7,subUnitId:_0xe57dfc}=_0x387ec0,_0x3805ad=_0x49abb1[_0x9d8aa0(0x223)](_0x40eb21[_0x9d8aa0(0x23d)]),_0x4ef2f9=[],_0x32637e=[],_0xb076b4={},_0x5ef99f={},_0x18f354=new Set([_0x3f77a3]);_0x4014b1[_0x9d8aa0(0x200)]((_0x34e680,_0x3454ca,_0x12e35d)=>{const _0x20a135=_0x9d8aa0,_0x25074a=_0x549b6b[_0x20a135(0x1e8)](_0x1400e7,_0xe57dfc,_0x34e680,_0x3454ca);if(_0x25074a){const _0x538cc2=_0x549b6b['getSparklineById'](_0x1400e7,_0xe57dfc,_0x25074a);if(_0x538cc2){_0x18f354[_0x20a135(0x26f)](_0x25074a);let _0x294a00=_0xb076b4[_0x25074a],_0x952632=_0x5ef99f[_0x25074a];_0x952632||(_0x952632={'config':_0x40eb21['Tools'][_0x20a135(0x23c)](_0x538cc2[_0x20a135(0x215)]),'sparklines':new _0x40eb21[(_0x20a135(0x2a9))](_0x538cc2[_0x20a135(0x288)]['clone']())},_0x5ef99f[_0x25074a]=_0x952632),_0x294a00||(_0x294a00={'config':_0x40eb21['Tools'][_0x20a135(0x23c)](_0x538cc2[_0x20a135(0x215)]),'sparklines':_0x538cc2[_0x20a135(0x288)][_0x20a135(0x217)]()},_0xb076b4[_0x25074a]=_0x294a00),_0x952632['sparklines']['realDeleteValue'](_0x34e680,_0x3454ca);}}});const _0x2d9366={};return Object['entries'](_0x5ef99f)[_0x9d8aa0(0x25f)](([_0x5b3b2a,_0xfaff29])=>{const _0x2b6f84=_0x9d8aa0;_0xfaff29['sparklines'][_0x2b6f84(0x235)]()&&(_0x2d9366[_0x5b3b2a]={'config':_0xfaff29[_0x2b6f84(0x215)],'sparklines':_0xfaff29['sparklines'][_0x2b6f84(0x217)]()});}),_0x2d9366[_0x3f77a3]=_0x4871ce,_0x4ef2f9[_0x9d8aa0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x1400e7,'subUnitId':_0xe57dfc,'groupIds':Array[_0x9d8aa0(0x254)](_0x18f354),'isSingle':!0x1}}),_0x18f354['size']>0x1&&(_0x32637e[_0x9d8aa0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x1400e7,'subUnitId':_0xe57dfc,'groupIds':Array[_0x9d8aa0(0x254)](_0x18f354),'isSingle':!0x1}}),_0x4ef2f9['push']({'id':_0x27d955['id'],'params':{'unitId':_0x1400e7,'subUnitId':_0xe57dfc,'sparklineConfigMap':_0xb076b4}})),_0x32637e[_0x9d8aa0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x1400e7,'subUnitId':_0xe57dfc,'sparklineConfigMap':_0x2d9366}}),_0x40eb21[_0x9d8aa0(0x278)](_0x32637e,_0x3805ad),_0x5a29b0[_0x9d8aa0(0x24a)]({'unitID':_0x1400e7,'undoMutations':_0x4ef2f9,'redoMutations':_0x32637e}),!0x0;}},_0x9a3b95={'id':_0x22cabc(0x249),'type':_0x40eb21['CommandType']['COMMAND'],'handler':(_0x31587b,_0x371172)=>{const _0x26a4ff=_0x22cabc;var _0x3c111d;const {isSingle:_0x3b770b=!0x0}=_0x371172||{},_0x771eb5=_0x31587b[_0x26a4ff(0x223)](_0x40eb21['ICommandService']),_0x3d2aaf=_0x31587b[_0x26a4ff(0x223)](_0x40eb21[_0x26a4ff(0x20b)]),_0xec3c07=_0x31587b[_0x26a4ff(0x223)](_0x59aa9f[_0x26a4ff(0x230)]),_0x4af79e=_0x31587b[_0x26a4ff(0x223)](_0x40eb21[_0x26a4ff(0x1e6)]),_0x4dd05d=_0x2beccc[_0x26a4ff(0x26a)](_0x3d2aaf);if(!_0x4dd05d)return!0x1;const _0x2a14c7=_0x31587b[_0x26a4ff(0x223)](_0x2beccc[_0x26a4ff(0x2a2)]),_0x22e3e1=(_0x3c111d=_0x371172==null?void 0x0:_0x371172[_0x26a4ff(0x2ad)])!=null?_0x3c111d:_0x2a14c7[_0x26a4ff(0x25a)]()[_0x26a4ff(0x1df)](_0x93c1c9=>_0x93c1c9[_0x26a4ff(0x293)]),{unitId:_0x47e0fd,subUnitId:_0x55a151}=_0x4dd05d,_0x2a97b9=[],_0x48cfeb=[];_0x2a97b9[_0x26a4ff(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x47e0fd,'subUnitId':_0x55a151,'ranges':_0x22e3e1,'isSingle':_0x3b770b}});const _0x1891d4=[],_0x2661d3={};return _0x22e3e1[_0x26a4ff(0x25f)](_0x2cec5d=>{const _0x32493f=_0x26a4ff;_0x40eb21[_0x32493f(0x1e1)]['foreach'](_0x2cec5d,(_0x42e07e,_0x56004)=>{const _0x3ed9a9=_0x32493f,_0x49ebce=_0xec3c07[_0x3ed9a9(0x1e8)](_0x47e0fd,_0x55a151,_0x42e07e,_0x56004);if(_0x49ebce){const _0x32b4eb=_0xec3c07[_0x3ed9a9(0x20e)](_0x47e0fd,_0x55a151,_0x49ebce);_0x32b4eb&&(_0x1891d4[_0x3ed9a9(0x297)](_0x49ebce),_0x2661d3[_0x49ebce]={'config':_0x40eb21[_0x3ed9a9(0x273)][_0x3ed9a9(0x23c)](_0x32b4eb[_0x3ed9a9(0x215)]),'sparklines':_0x40eb21['Tools'][_0x3ed9a9(0x23c)](_0x32b4eb[_0x3ed9a9(0x288)][_0x3ed9a9(0x217)]())});}});}),_0x48cfeb[_0x26a4ff(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x47e0fd,'subUnitId':_0x55a151,'groupIds':_0x1891d4,'isSingle':!0x1}}),_0x48cfeb[_0x26a4ff(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x47e0fd,'subUnitId':_0x55a151,'sparklineConfigMap':_0x2661d3}}),_0x40eb21[_0x26a4ff(0x278)](_0x2a97b9,_0x771eb5),_0x4af79e[_0x26a4ff(0x24a)]({'unitID':_0x47e0fd,'undoMutations':_0x48cfeb,'redoMutations':_0x2a97b9}),!0x0;}},_0x1df5e5={'id':_0x22cabc(0x1c2),'type':_0x40eb21[_0x22cabc(0x24b)]['MUTATION'],'handler':(_0x45e2a9,_0x5284fb)=>{const _0x4f4f3f=_0x22cabc;if(!_0x5284fb)return!0x1;const {unitId:_0x3b7c4e,subUnitId:_0x1a1542,groupIds:_0x59391d,config:_0x2e81b0}=_0x5284fb,_0x582b41=_0x45e2a9['get'](_0x59aa9f[_0x4f4f3f(0x230)]);return _0x59391d['forEach'](_0x5937b5=>{const _0x4a9a99=_0x4f4f3f,_0x1c34c1=_0x582b41[_0x4a9a99(0x20e)](_0x3b7c4e,_0x1a1542,_0x5937b5);if(_0x1c34c1){const _0x4473ea={'config':Object['assign']({},_0x1c34c1['config'],_0x2e81b0[_0x4a9a99(0x215)]),'sparklines':new _0x40eb21[(_0x4a9a99(0x2a9))](_0x1c34c1[_0x4a9a99(0x288)][_0x4a9a99(0x217)]())};_0x582b41[_0x4a9a99(0x250)](_0x3b7c4e,_0x1a1542,[_0x5937b5],_0x4473ea);}}),!0x0;}},_0x4f82ed={'id':_0x22cabc(0x1e0),'type':_0x40eb21[_0x22cabc(0x24b)][_0x22cabc(0x23f)],'handler':(_0x5a9147,_0x5790d1)=>{const _0x5c6ad0=_0x22cabc;var _0x495e26,_0x291b86,_0x108c9c,_0x4eb2e0;if(!_0x5790d1)return!0x1;const _0x3eda90=_0x5a9147[_0x5c6ad0(0x223)](_0x40eb21['ICommandService']),_0x1532f8=_0x5a9147[_0x5c6ad0(0x223)](_0x2beccc[_0x5c6ad0(0x2a2)]),_0x56c5bd=_0x5a9147[_0x5c6ad0(0x223)](_0x59aa9f['SparklineDataSourceModel']),_0x101cbd=_0x5a9147[_0x5c6ad0(0x223)](_0x40eb21[_0x5c6ad0(0x20b)]),_0x489a26=_0x5a9147[_0x5c6ad0(0x223)](_0x40eb21['IUndoRedoService']),_0x1fea07=_0x2beccc[_0x5c6ad0(0x26a)](_0x101cbd);if(!_0x1fea07)return!0x1;const {unitId:_0x44b06b,subUnitId:_0x129850}=_0x1fea07,_0x45fd09=(_0x495e26=_0x5790d1==null?void 0x0:_0x5790d1[_0x5c6ad0(0x2ad)])!=null?_0x495e26:_0x1532f8[_0x5c6ad0(0x25a)]()[_0x5c6ad0(0x1df)](_0x1f56a5=>_0x1f56a5['range']),_0x2cc19d=(_0x291b86=_0x56c5bd[_0x5c6ad0(0x23a)]()['sparklineAnchorMap']['get'](_0x44b06b))==null?void 0x0:_0x291b86[_0x5c6ad0(0x223)](_0x129850),{isChangeDataSource:_0x40408c,config:_0x440ae3,combine:_0x4b184f,unCombine:_0x22c6bf}=_0x5790d1;if(_0x4b184f){const _0x1981e0=[],_0x54e3e4=[];_0x1981e0['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'ranges':_0x45fd09,'isSingle':!0x0}});const _0x534a23='g_'+_0x40eb21[_0x5c6ad0(0x29e)](0x6),_0x2802f0=new _0x40eb21[(_0x5c6ad0(0x2a9))](),_0x2fdd9a=(_0x108c9c=_0x56c5bd['getSparklineCache']()[_0x5c6ad0(0x1c1)][_0x5c6ad0(0x223)](_0x44b06b))==null?void 0x0:_0x108c9c[_0x5c6ad0(0x223)](_0x129850),_0x4d2014=new Set([_0x534a23]),_0x1bbe74={};return _0x45fd09[_0x5c6ad0(0x25f)](_0x3b8025=>{const _0x218f2f=_0x5c6ad0;var _0x1e2d47,_0x328123;const {startRow:_0x328b57,endRow:_0x54240a,startColumn:_0x2626b8,endColumn:_0x2a73ea}=_0x3b8025;for(let _0x1c9b6e=_0x328b57;_0x1c9b6e<=_0x54240a;_0x1c9b6e++)for(let _0x5b1766=_0x2626b8;_0x5b1766<=_0x2a73ea;_0x5b1766++){const _0x438c22=(_0x1e2d47=_0x2cc19d==null?void 0x0:_0x2cc19d[_0x218f2f(0x1ca)][_0x218f2f(0x277)](_0x1c9b6e,_0x5b1766))==null?void 0x0:_0x1e2d47[_0x218f2f(0x202)];if(_0x438c22){_0x4d2014[_0x218f2f(0x26f)](_0x438c22);const _0x4b5041=_0x56c5bd['getSparklineById'](_0x44b06b,_0x129850,_0x438c22);_0x4b5041&&(_0x1bbe74[_0x438c22]={'config':_0x40eb21['Tools'][_0x218f2f(0x23c)](_0x4b5041[_0x218f2f(0x215)]),'sparklines':_0x40eb21['Tools'][_0x218f2f(0x23c)](_0x4b5041['sparklines'][_0x218f2f(0x217)]())});const _0x26647f=(_0x328123=_0x2fdd9a==null?void 0x0:_0x2fdd9a['get'](_0x438c22))==null?void 0x0:_0x328123[_0x218f2f(0x288)][_0x218f2f(0x277)](_0x1c9b6e,_0x5b1766);_0x26647f&&_0x2802f0[_0x218f2f(0x244)](_0x1c9b6e,_0x5b1766,_0x26647f);}}}),_0x1981e0[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'sparklineConfigMap':{[_0x534a23]:{'config':_0x40eb21['Tools'][_0x5c6ad0(0x23c)](_0x440ae3[_0x5c6ad0(0x215)]),'sparklines':_0x2802f0[_0x5c6ad0(0x271)]()}},'unitId':_0x44b06b,'subUnitId':_0x129850}}),_0x54e3e4[_0x5c6ad0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'isSingle':!0x1,'groupIds':Array[_0x5c6ad0(0x254)](_0x4d2014)}}),_0x54e3e4['push']({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':_0x1bbe74}}),_0x40eb21[_0x5c6ad0(0x278)](_0x1981e0,_0x3eda90),_0x489a26[_0x5c6ad0(0x24a)]({'unitID':_0x44b06b,'undoMutations':_0x54e3e4,'redoMutations':_0x1981e0}),!0x0;}else{if(_0x22c6bf){const _0x11cb18=[],_0x4cd5d5=[];_0x11cb18['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'ranges':_0x45fd09,'isSingle':!0x0}});const _0x283588=(_0x4eb2e0=_0x56c5bd['getSparklineCache']()[_0x5c6ad0(0x1c1)][_0x5c6ad0(0x223)](_0x44b06b))==null?void 0x0:_0x4eb2e0[_0x5c6ad0(0x223)](_0x129850),_0xf7d351={},_0x17a4ed=new Set(),_0x9e69c8={};return _0x45fd09[_0x5c6ad0(0x25f)](_0x14a17e=>{const _0x1b70ec=_0x5c6ad0;var _0x5ac210,_0x57c8ac;const {startRow:_0x5dae7a,endRow:_0x538d19,startColumn:_0x4358a4,endColumn:_0x5263bc}=_0x14a17e;for(let _0x31c796=_0x5dae7a;_0x31c796<=_0x538d19;_0x31c796++)for(let _0x2be41e=_0x4358a4;_0x2be41e<=_0x5263bc;_0x2be41e++){const _0x359f4b=(_0x5ac210=_0x2cc19d==null?void 0x0:_0x2cc19d[_0x1b70ec(0x1ca)][_0x1b70ec(0x277)](_0x31c796,_0x2be41e))==null?void 0x0:_0x5ac210['groupId'];if(_0x359f4b){const _0x39263e=new _0x40eb21[(_0x1b70ec(0x2a9))](),_0x1fd3e4='g_'+_0x40eb21[_0x1b70ec(0x29e)](0x6);_0x17a4ed[_0x1b70ec(0x26f)](_0x359f4b),_0x17a4ed['add'](_0x1fd3e4);const _0x591d5d=_0x56c5bd[_0x1b70ec(0x20e)](_0x44b06b,_0x129850,_0x359f4b);_0x591d5d&&(_0x9e69c8[_0x359f4b]={'config':_0x40eb21[_0x1b70ec(0x273)][_0x1b70ec(0x23c)](_0x591d5d[_0x1b70ec(0x215)]),'sparklines':_0x40eb21['Tools'][_0x1b70ec(0x23c)](_0x591d5d[_0x1b70ec(0x288)][_0x1b70ec(0x217)]())});const _0x19913e=(_0x57c8ac=_0x283588==null?void 0x0:_0x283588[_0x1b70ec(0x223)](_0x359f4b))==null?void 0x0:_0x57c8ac['sparklines'][_0x1b70ec(0x277)](_0x31c796,_0x2be41e);_0x19913e&&_0x39263e[_0x1b70ec(0x244)](_0x31c796,_0x2be41e,_0x19913e),_0xf7d351[_0x1fd3e4]={'sparklines':_0x39263e[_0x1b70ec(0x271)](),'config':_0x40eb21[_0x1b70ec(0x273)]['deepClone'](_0x440ae3[_0x1b70ec(0x215)])};}}}),_0x11cb18[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':_0xf7d351}}),_0x4cd5d5[_0x5c6ad0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'isSingle':!0x1,'groupIds':Array[_0x5c6ad0(0x254)](_0x17a4ed)}}),_0x4cd5d5[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':_0x9e69c8}}),_0x40eb21['sequenceExecute'](_0x11cb18,_0x3eda90),_0x489a26[_0x5c6ad0(0x24a)]({'unitID':_0x44b06b,'undoMutations':_0x4cd5d5,'redoMutations':_0x11cb18}),!0x0;}}if(_0x40408c){const _0x5a7c65=_0x5790d1['changeDataSourceInfo'];if(!_0x5a7c65)return!0x1;const {groupId:_0x1ad1be,sourceRanges:_0x255f92,targetRanges:_0x10fbfd,resetType:_0x40119a,primary:_0x479e7e}=_0x5a7c65,_0x13eaac=[],_0x1e0324=[];_0x13eaac['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'ranges':_0x45fd09,'isSingle':!0x1,'groupIds':[_0x1ad1be]}}),_0x1e0324[_0x5c6ad0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'ranges':_0x45fd09,'isSingle':!0x1,'groupIds':[_0x1ad1be]}});let _0x592ce8;_0x40119a===_0x5c6ad0(0x1ee)?(_0x592ce8=new _0x40eb21[(_0x5c6ad0(0x2a9))](_0x440ae3[_0x5c6ad0(0x288)][_0x5c6ad0(0x217)]()),_0x592ce8[_0x5c6ad0(0x1c8)](_0x479e7e['actualRow'],_0x479e7e['actualColumn']),_0x592ce8[_0x5c6ad0(0x244)](_0x10fbfd[0x0][_0x5c6ad0(0x208)],_0x10fbfd[0x0][_0x5c6ad0(0x24d)],_0x255f92[0x0])):_0x592ce8=_0x16c7d2(_0x255f92,_0x10fbfd);const _0x3c8072={'config':_0x40eb21[_0x5c6ad0(0x273)]['deepClone'](_0x440ae3[_0x5c6ad0(0x215)]),'sparklines':_0x592ce8['getMatrix']()},_0x24e686={'config':_0x40eb21['Tools'][_0x5c6ad0(0x23c)](_0x440ae3[_0x5c6ad0(0x215)]),'sparklines':_0x40eb21[_0x5c6ad0(0x273)][_0x5c6ad0(0x23c)](_0x440ae3[_0x5c6ad0(0x288)][_0x5c6ad0(0x217)]())};_0x13eaac[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':{[_0x1ad1be]:_0x3c8072}}}),_0x1e0324[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':{[_0x1ad1be]:_0x24e686}}}),_0x40eb21[_0x5c6ad0(0x278)](_0x13eaac,_0x3eda90),_0x489a26[_0x5c6ad0(0x24a)]({'unitID':_0x44b06b,'undoMutations':_0x1e0324,'redoMutations':_0x13eaac});}else{const _0x2f7d32=[],_0xb1a044=[],_0x3fb0ed=new Set(),_0x3ee8fa={};_0x45fd09[_0x5c6ad0(0x25f)](_0x3dfe35=>{const _0x24099b=_0x5c6ad0;var _0x2362f5;const {startRow:_0x102627,endRow:_0xad19a3,startColumn:_0x558927,endColumn:_0x5f2105}=_0x3dfe35;for(let _0x52b6ae=_0x102627;_0x52b6ae<=_0xad19a3;_0x52b6ae++)for(let _0x707940=_0x558927;_0x707940<=_0x5f2105;_0x707940++){const _0x3611e9=(_0x2362f5=_0x2cc19d==null?void 0x0:_0x2cc19d[_0x24099b(0x1ca)][_0x24099b(0x277)](_0x52b6ae,_0x707940))==null?void 0x0:_0x2362f5[_0x24099b(0x202)];if(_0x3611e9){_0x3fb0ed[_0x24099b(0x26f)](_0x3611e9);const _0x2ad79b=_0x56c5bd['getSparklineById'](_0x44b06b,_0x129850,_0x3611e9);_0x2ad79b&&(_0x3ee8fa[_0x3611e9]={'config':_0x40eb21['Tools'][_0x24099b(0x23c)](_0x2ad79b[_0x24099b(0x215)]),'sparklines':_0x40eb21[_0x24099b(0x273)][_0x24099b(0x23c)](_0x2ad79b[_0x24099b(0x288)][_0x24099b(0x217)]())});}}}),_0xb1a044['push']({'id':_0x1df5e5['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'groupIds':Array['from'](_0x3fb0ed),'config':{'config':_0x40eb21[_0x5c6ad0(0x273)][_0x5c6ad0(0x23c)](_0x440ae3[_0x5c6ad0(0x215)]),'sparklines':_0x440ae3['sparklines']['getMatrix']()}}}),_0x2f7d32[_0x5c6ad0(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'isSingle':!0x1,'groupIds':Array[_0x5c6ad0(0x254)](_0x3fb0ed)}}),_0x2f7d32[_0x5c6ad0(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x44b06b,'subUnitId':_0x129850,'sparklineConfigMap':_0x3ee8fa}}),_0x40eb21['sequenceExecute'](_0xb1a044,_0x3eda90),_0x489a26[_0x5c6ad0(0x24a)]({'unitID':_0x44b06b,'undoMutations':_0x2f7d32,'redoMutations':_0xb1a044});}return!0x0;}};var _0x1259c9=Object['getOwnPropertyDescriptor'],_0x5716a6=(_0x2b858c,_0x304cb8,_0x482019,_0x1a3c3d)=>{const _0x817bf1=_0x22cabc;for(var _0x3ac877=_0x1a3c3d>0x1?void 0x0:_0x1a3c3d?_0x1259c9(_0x304cb8,_0x482019):_0x304cb8,_0x3fc839=_0x2b858c[_0x817bf1(0x295)]-0x1,_0x4e3bb1;_0x3fc839>=0x0;_0x3fc839--)(_0x4e3bb1=_0x2b858c[_0x3fc839])&&(_0x3ac877=_0x4e3bb1(_0x3ac877)||_0x3ac877);return _0x3ac877;},_0x37ddd5=(_0x3012bd,_0x434d89)=>(_0x326970,_0x452c4a)=>_0x434d89(_0x326970,_0x452c4a,_0x3012bd);let _0x30fce4=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x2c6adf,_0x393b54,_0x3d1618,_0x5c3c30){const _0x443a23=_0x22cabc;super(),this[_0x443a23(0x266)]=_0x2c6adf,this[_0x443a23(0x29a)]=_0x393b54,this[_0x443a23(0x265)]=_0x3d1618,this[_0x443a23(0x2ac)]=_0x5c3c30,this['_initClearWithSparkline']();}['_initClearWithSparkline'](){const _0x4935b3=_0x22cabc;this[_0x4935b3(0x269)](this[_0x4935b3(0x29a)][_0x4935b3(0x207)]({'getMutations':_0x4f8988=>{const _0x38b180=_0x4935b3,_0xdb0383=[],_0x5242f0=[];if(_0x4f8988['id']===_0x2beccc[_0x38b180(0x2a4)]['id']){const _0x111412=_0x2beccc[_0x38b180(0x26a)](this[_0x38b180(0x265)],_0x4f8988[_0x38b180(0x221)]);if(!_0x111412)return{'redos':_0xdb0383,'undos':_0x5242f0};const {unitId:_0x2768f7,subUnitId:_0x3325ff,worksheet:_0x3f5a22}=_0x111412,_0x2a255b=this[_0x38b180(0x2ac)]['getCurrentSelections']()[_0x38b180(0x1df)](_0x2d34d2=>_0x2d34d2[_0x38b180(0x293)]),_0x3473aa=new Set(),_0x41ba27={},_0x712b36={};_0x2a255b[_0x38b180(0x25f)](_0x44cb06=>{const _0x51b16f=_0x38b180;_0x40eb21[_0x51b16f(0x1e1)][_0x51b16f(0x23b)](_0x44cb06,(_0x238ffe,_0x43c670)=>{const _0xae04de=_0x51b16f,_0x20f945=this[_0xae04de(0x266)][_0xae04de(0x1e8)](_0x2768f7,_0x3325ff,_0x238ffe,_0x43c670);if(_0x20f945&&!_0x3473aa[_0xae04de(0x262)](_0x20f945)){const _0x20776a=this[_0xae04de(0x266)][_0xae04de(0x20e)](_0x2768f7,_0x3325ff,_0x20f945);_0x20776a&&(_0x3473aa[_0xae04de(0x26f)](_0x20f945),_0x41ba27[_0x20f945]={'config':_0x40eb21[_0xae04de(0x273)][_0xae04de(0x23c)](_0x20776a[_0xae04de(0x215)]),'sparklines':_0x40eb21[_0xae04de(0x273)]['deepClone'](_0x20776a[_0xae04de(0x288)][_0xae04de(0x217)]())},_0x712b36[_0x20f945]={'config':_0x40eb21['Tools']['deepClone'](_0x20776a[_0xae04de(0x215)]),'sparklines':_0x40eb21[_0xae04de(0x273)]['deepClone'](_0x20776a[_0xae04de(0x288)][_0xae04de(0x217)]())});}});}),Object['values'](_0x712b36)[_0x38b180(0x25f)](_0x3e1049=>{const _0xaef6d6=_0x38b180,_0x4c65b5=_0x3e1049[_0xaef6d6(0x288)];new _0x40eb21['ObjectMatrix'](_0x4c65b5)[_0xaef6d6(0x200)]((_0x2066a5,_0x1d7ba2,_0x186c13)=>{const _0x3ea3c4=_0xaef6d6;_0x2a255b[_0x3ea3c4(0x20c)](_0x262464=>_0x40eb21[_0x3ea3c4(0x1d7)]['intersects'](_0x262464,_0x40eb21[_0x3ea3c4(0x1b3)](_0x2066a5,_0x1d7ba2)))&&delete _0x4c65b5[_0x2066a5][_0x1d7ba2];});}),_0xdb0383[_0x38b180(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x2768f7,'subUnitId':_0x3325ff,'groupIds':Array[_0x38b180(0x254)](_0x3473aa),'isSingle':!0x1}}),_0xdb0383[_0x38b180(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x2768f7,'subUnitId':_0x3325ff,'sparklineConfigMap':_0x712b36}}),_0x5242f0['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0x2768f7,'subUnitId':_0x3325ff,'groupIds':Array['from'](_0x3473aa),'isSingle':!0x1}}),_0x5242f0['push']({'id':_0x27d955['id'],'params':{'unitId':_0x2768f7,'subUnitId':_0x3325ff,'sparklineConfigMap':_0x41ba27}});}return{'redos':_0xdb0383,'undos':_0x5242f0};}}));}};_0x30fce4=_0x5716a6([_0x37ddd5(0x0,_0x40eb21['Inject'](_0x59aa9f[_0x22cabc(0x230)])),_0x37ddd5(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc[_0x22cabc(0x255)])),_0x37ddd5(0x2,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21[_0x22cabc(0x20b)])),_0x37ddd5(0x3,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc[_0x22cabc(0x2a2)]))],_0x30fce4);var _0x533657=Object[_0x22cabc(0x1b8)],_0x9e2df7=(_0x12aa28,_0x42583f,_0xff7999,_0x16cd0a)=>{const _0x307b8f=_0x22cabc;for(var _0x3d290c=_0x16cd0a>0x1?void 0x0:_0x16cd0a?_0x533657(_0x42583f,_0xff7999):_0x42583f,_0x5f0053=_0x12aa28[_0x307b8f(0x295)]-0x1,_0x39039a;_0x5f0053>=0x0;_0x5f0053--)(_0x39039a=_0x12aa28[_0x5f0053])&&(_0x3d290c=_0x39039a(_0x3d290c)||_0x3d290c);return _0x3d290c;},_0x24bcae=(_0x259a7a,_0x4c8d47)=>(_0x4bcfbb,_0x2f6033)=>_0x4c8d47(_0x4bcfbb,_0x2f6033,_0x259a7a);let _0x5832b5=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x2aaceb,_0x3cbcfc,_0x371bcb){const _0x3d7a5=_0x22cabc;super(),this['_commandService']=_0x2aaceb,this[_0x3d7a5(0x266)]=_0x3cbcfc,this[_0x3d7a5(0x240)]=_0x371bcb,this[_0x3d7a5(0x1eb)](),this[_0x3d7a5(0x1db)]();}['_initDataChangeListener'](){const _0x18a4c7=_0x22cabc;this[_0x18a4c7(0x269)](this['_commandService']['onCommandExecuted'](_0x32d5d2=>{const _0x2e751e=_0x18a4c7;if(_0x32d5d2['id']===_0x2beccc[_0x2e751e(0x1cd)]['id']){const _0x178229=_0x32d5d2[_0x2e751e(0x221)],{cellValue:_0x17b468,unitId:_0x297a30,subUnitId:_0x277f65}=_0x178229,_0x53a4b7=new _0x40eb21[(_0x2e751e(0x2a9))](_0x17b468),_0x3c34b3=new Set(),_0x53d5bc=this[_0x2e751e(0x266)][_0x2e751e(0x2af)](_0x297a30,_0x277f65);if(!_0x53d5bc)return;const _0xb0d8ea=Array[_0x2e751e(0x254)](_0x53d5bc);_0x53a4b7[_0x2e751e(0x200)]((_0xc2fbe9,_0x411f4b,_0x200a1b)=>{const _0x129e47=_0x2e751e,_0x5505e1=_0x40eb21[_0x129e47(0x1b3)](_0xc2fbe9,_0x411f4b);for(let _0x5d5486=0x0;_0x5d5486<_0xb0d8ea['length'];_0x5d5486++){const [_0x3c263d,_0x47d04a]=_0xb0d8ea[_0x5d5486],_0x48e28a=_0x3c34b3['has'](_0x3c263d);_0x48e28a||_0x47d04a[_0x129e47(0x288)][_0x129e47(0x200)]((_0x1b2cd8,_0x5b889f,_0x2dab6e)=>{const _0x2ced05=_0x129e47,_0x37f29a=_0x2dab6e;if(_0x37f29a&&!_0x48e28a&&_0x40eb21[_0x2ced05(0x1d7)][_0x2ced05(0x2ab)](_0x5505e1,_0x37f29a))return _0x3c34b3[_0x2ced05(0x26f)](_0x3c263d),!0x0;});}}),_0x3c34b3[_0x2e751e(0x25f)](_0xb30ca2=>{const _0xc41d1f=_0x2e751e;this[_0xc41d1f(0x266)][_0xc41d1f(0x290)](_0x297a30,_0x277f65,_0xb30ca2),this['_sparklineDataSourceModel'][_0xc41d1f(0x24f)](_0x297a30,_0x277f65,_0xb30ca2);});}else{if(_0x32d5d2['id']===_0x2beccc[_0x2e751e(0x2a3)]['id']){const _0x37e1db=_0x32d5d2[_0x2e751e(0x221)],{range:_0x4f6be9,unitId:_0x4ccecf,subUnitId:_0x32d7b4}=_0x37e1db,_0x1a28f1=new Set(),_0x167918=this['_sparklineDataSourceModel'][_0x2e751e(0x2af)](_0x4ccecf,_0x32d7b4);if(!_0x167918)return;const _0x25f90d=Array[_0x2e751e(0x254)](_0x167918);for(let _0x189388=0x0;_0x189388<_0x25f90d[_0x2e751e(0x295)];_0x189388++){const [_0x5010f4,_0x38e5a5]=_0x25f90d[_0x189388],_0x3110d4=_0x1a28f1['has'](_0x5010f4);_0x3110d4||_0x38e5a5[_0x2e751e(0x288)]['forValue']((_0x38b6a0,_0x4b92b4,_0x426f6d)=>{const _0x21e8e0=_0x2e751e,_0x4c9302=_0x426f6d;if(_0x4c9302&&!_0x3110d4&&_0x40eb21[_0x21e8e0(0x1d7)]['intersects'](_0x4f6be9,_0x4c9302))return _0x1a28f1['add'](_0x5010f4),!0x0;});}_0x1a28f1[_0x2e751e(0x25f)](_0x30ef51=>{const _0x549ce2=_0x2e751e;this[_0x549ce2(0x266)][_0x549ce2(0x290)](_0x4ccecf,_0x32d7b4,_0x30ef51),this['_sparklineDataSourceModel'][_0x549ce2(0x24f)](_0x4ccecf,_0x32d7b4,_0x30ef51);});}}}));}[_0x22cabc(0x1db)](){const _0x43d1fc=_0x22cabc;this[_0x43d1fc(0x269)](this[_0x43d1fc(0x240)][_0x43d1fc(0x209)][_0x43d1fc(0x260)](_0x5e5664=>{const _0x2e7509=_0x43d1fc,{unitId:_0x3a11b0,subUnitId:_0x20eff3,ranges:_0x2c976a}=_0x5e5664,_0x319863=this[_0x2e7509(0x266)][_0x2e7509(0x2af)](_0x3a11b0,_0x20eff3);if(!_0x319863)return;const _0x1e26f3=Array[_0x2e7509(0x254)](_0x319863),_0x443af8=new Set();for(let _0x3adf4c=0x0;_0x3adf4c<_0x1e26f3[_0x2e7509(0x295)];_0x3adf4c++){const [_0x5af261,_0x4ae123]=_0x1e26f3[_0x3adf4c],_0x1229be=_0x443af8['has'](_0x5af261);_0x1229be||_0x4ae123[_0x2e7509(0x288)][_0x2e7509(0x200)]((_0x1ae0fa,_0x3187d9,_0x38acf9)=>{const _0x3e78e7=_0x2e7509,_0x1b3538=_0x38acf9;if(_0x1b3538&&!_0x1229be){for(const _0x1ba5ba of _0x2c976a)if(_0x40eb21['Rectangle'][_0x3e78e7(0x2ab)](_0x1ba5ba,_0x1b3538)){_0x443af8['add'](_0x5af261);break;}}});}_0x443af8[_0x2e7509(0x25f)](_0x3ef56d=>{const _0x2facee=_0x2e7509;this[_0x2facee(0x266)][_0x2facee(0x290)](_0x3a11b0,_0x20eff3,_0x3ef56d),this['_sparklineDataSourceModel'][_0x2facee(0x24f)](_0x3a11b0,_0x20eff3,_0x3ef56d);});}));}};_0x5832b5=_0x9e2df7([_0x24bcae(0x0,_0x40eb21['Inject'](_0x40eb21[_0x22cabc(0x23d)])),_0x24bcae(0x1,_0x40eb21['Inject'](_0x59aa9f[_0x22cabc(0x230)])),_0x24bcae(0x2,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc[_0x22cabc(0x28b)]))],_0x5832b5);var _0x10df20=Object[_0x22cabc(0x1b8)],_0x5beec8=(_0x265ee8,_0x364d5b,_0x4939bd,_0x17ff6d)=>{for(var _0x1ff8f8=_0x17ff6d>0x1?void 0x0:_0x17ff6d?_0x10df20(_0x364d5b,_0x4939bd):_0x364d5b,_0x1f02e0=_0x265ee8['length']-0x1,_0x247ac9;_0x1f02e0>=0x0;_0x1f02e0--)(_0x247ac9=_0x265ee8[_0x1f02e0])&&(_0x1ff8f8=_0x247ac9(_0x1ff8f8)||_0x1ff8f8);return _0x1ff8f8;},_0x424153=(_0x21348f,_0xac9b0e)=>(_0x5e3a90,_0x45dfcb)=>_0xac9b0e(_0x5e3a90,_0x45dfcb,_0x21348f);let _0x291e3f=class extends _0x40eb21['Disposable']{constructor(_0x37bcff,_0x3f0bd5){const _0x11804b=_0x22cabc;super(),this[_0x11804b(0x201)]=_0x37bcff,this[_0x11804b(0x266)]=_0x3f0bd5,this[_0x11804b(0x252)]();}[_0x22cabc(0x252)](){const _0x394812=_0x22cabc;this[_0x394812(0x201)][_0x394812(0x25e)](_0x29c5d3=>{const _0x54de31=_0x394812;if(_0x29c5d3['id']===_0x2beccc[_0x54de31(0x1c4)]['id']||_0x29c5d3['id']===_0x2beccc[_0x54de31(0x212)]['id']||_0x29c5d3['id']===_0x2beccc[_0x54de31(0x219)]['id']||_0x29c5d3['id']===_0x2beccc['SetColVisibleMutation']['id']){const _0x102154=_0x29c5d3[_0x54de31(0x221)],{ranges:_0x4925c9,unitId:_0x1d51b0,subUnitId:_0x4165e7}=_0x102154,_0x208d45=new Set(),_0x1cb802=this[_0x54de31(0x266)][_0x54de31(0x2af)](_0x1d51b0,_0x4165e7);if(!_0x1cb802)return;const _0x46cb35=Array[_0x54de31(0x254)](_0x1cb802);_0x4925c9['forEach'](_0x1529d3=>{const _0x29d748=_0x54de31;_0x40eb21[_0x29d748(0x1e1)][_0x29d748(0x23b)](_0x1529d3,(_0x2dc2b9,_0xcc1ec2)=>{const _0x59a51e=_0x29d748,_0x3ca88f=_0x40eb21[_0x59a51e(0x1b3)](_0x2dc2b9,_0xcc1ec2);for(let _0x377677=0x0;_0x377677<_0x46cb35['length'];_0x377677++){const [_0x9487cc,_0x1347b7]=_0x46cb35[_0x377677],_0x2120b8=_0x208d45[_0x59a51e(0x262)](_0x9487cc);_0x2120b8||_0x1347b7[_0x59a51e(0x288)][_0x59a51e(0x200)]((_0x556e89,_0xdc8c30,_0x14a7e4)=>{const _0x478284=_0x59a51e,_0x2cf233=_0x14a7e4;if(_0x2cf233&&!_0x2120b8&&_0x40eb21[_0x478284(0x1d7)][_0x478284(0x2ab)](_0x3ca88f,_0x2cf233))return _0x208d45['add'](_0x9487cc),!0x0;});}});}),_0x208d45['forEach'](_0x1be8a4=>{const _0x1adfe1=_0x54de31;this[_0x1adfe1(0x266)][_0x1adfe1(0x290)](_0x1d51b0,_0x4165e7,_0x1be8a4),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x1d51b0,_0x4165e7,_0x1be8a4);});}});}};_0x291e3f=_0x5beec8([_0x424153(0x0,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21['ICommandService'])),_0x424153(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x59aa9f[_0x22cabc(0x230)]))],_0x291e3f);var _0xa9eaa=Object[_0x22cabc(0x1b8)],_0x3da9a5=(_0x4d59de,_0x8e8868,_0x5e6df5,_0x543f09)=>{const _0x469368=_0x22cabc;for(var _0x443204=_0x543f09>0x1?void 0x0:_0x543f09?_0xa9eaa(_0x8e8868,_0x5e6df5):_0x8e8868,_0x37e42d=_0x4d59de[_0x469368(0x295)]-0x1,_0x343191;_0x37e42d>=0x0;_0x37e42d--)(_0x343191=_0x4d59de[_0x37e42d])&&(_0x443204=_0x343191(_0x443204)||_0x443204);return _0x443204;},_0x273301=(_0x1d00f0,_0x2019f3)=>(_0x5bec16,_0x50e6c2)=>_0x2019f3(_0x5bec16,_0x50e6c2,_0x1d00f0);let _0x56ca40=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x353aa8,_0x552727,_0x1bebaa){const _0x277c32=_0x22cabc;super(),this['_commandService']=_0x353aa8,this[_0x277c32(0x29a)]=_0x552727,this['_sparklineDataSourceModel']=_0x1bebaa,this[_0x277c32(0x275)]();}[_0x22cabc(0x275)](){const _0x183b85=_0x22cabc;this[_0x183b85(0x269)](this[_0x183b85(0x29a)][_0x183b85(0x207)]({'getMutations':_0x426414=>{const _0x33757b=_0x183b85,_0x106e52=[],_0x2af7e8=[];if(_0x426414['id']===_0x2beccc[_0x33757b(0x2aa)]['id']){const _0x56db27=_0x426414[_0x33757b(0x221)];if(!_0x56db27)return{'redos':_0x106e52,'undos':_0x2af7e8};const {unitId:_0x238079,subUnitId:_0x54d01b,ranges:_0x22bd4b}=_0x56db27,_0x3d14f0=this[_0x33757b(0x266)][_0x33757b(0x2af)](_0x238079,_0x54d01b);if(!_0x3d14f0)return{'redos':_0x106e52,'undos':_0x2af7e8};const _0x468858={},_0x12bc4f={},_0x306861=new Set();_0x22bd4b[_0x33757b(0x25f)](_0x2bf4c1=>{const _0x1522ec=_0x33757b,_0x1f7727=_0x2bf4c1['startRow'],_0x16eaff=_0x2bf4c1[_0x1522ec(0x24d)];_0x40eb21[_0x1522ec(0x1e1)]['foreach'](_0x2bf4c1,(_0x349cc0,_0x49483f)=>{const _0x353cb2=_0x1522ec,_0x27cef5=this[_0x353cb2(0x266)][_0x353cb2(0x1e8)](_0x238079,_0x54d01b,_0x349cc0,_0x49483f);if(_0x27cef5&&!(_0x349cc0===_0x1f7727&&_0x49483f===_0x16eaff)){const _0x5d54b6=this['_sparklineDataSourceModel']['getSparklineById'](_0x238079,_0x54d01b,_0x27cef5);if(_0x5d54b6){_0x306861[_0x353cb2(0x26f)](_0x27cef5);let _0x2d0ef7=_0x468858[_0x27cef5];_0x2d0ef7||(_0x2d0ef7={'config':_0x40eb21[_0x353cb2(0x273)][_0x353cb2(0x23c)](_0x5d54b6[_0x353cb2(0x215)]),'sparklines':new _0x40eb21['ObjectMatrix'](_0x5d54b6[_0x353cb2(0x288)][_0x353cb2(0x217)]())},_0x468858[_0x27cef5]=_0x2d0ef7),_0x2d0ef7['sparklines'][_0x353cb2(0x1c8)](_0x349cc0,_0x49483f),_0x12bc4f[_0x27cef5]={'config':_0x40eb21['Tools'][_0x353cb2(0x23c)](_0x5d54b6[_0x353cb2(0x215)]),'sparklines':_0x40eb21[_0x353cb2(0x273)]['deepClone'](_0x5d54b6[_0x353cb2(0x288)]['clone']())};}}});});for(const [_0x43787f,_0x25f4f2]of _0x3d14f0){const _0x5b1834=_0x25f4f2['sparklines'];_0x5b1834[_0x33757b(0x200)]((_0x106531,_0x39970e,_0x3d975b)=>{const _0x220d4b=_0x33757b;for(let _0x4162d1=0x0;_0x4162d1<_0x22bd4b[_0x220d4b(0x295)];_0x4162d1++){const _0x5ec3aa=_0x22bd4b[_0x4162d1];if(_0x40eb21[_0x220d4b(0x1d7)][_0x220d4b(0x272)](_0x5ec3aa,_0x3d975b)){_0x306861['add'](_0x43787f);let _0x2dab33=_0x468858[_0x43787f];_0x2dab33||(_0x2dab33={'config':_0x40eb21[_0x220d4b(0x273)]['deepClone'](_0x25f4f2['config']),'sparklines':new _0x40eb21[(_0x220d4b(0x2a9))](_0x5b1834[_0x220d4b(0x217)]())},_0x468858[_0x43787f]=_0x2dab33),_0x2dab33[_0x220d4b(0x288)][_0x220d4b(0x1c8)](_0x106531,_0x39970e),_0x12bc4f[_0x43787f]||(_0x12bc4f[_0x43787f]={'config':_0x40eb21['Tools'][_0x220d4b(0x23c)](_0x25f4f2[_0x220d4b(0x215)]),'sparklines':_0x40eb21[_0x220d4b(0x273)][_0x220d4b(0x23c)](_0x5b1834[_0x220d4b(0x217)]())});}}});}const _0x36e4cd={};Object['entries'](_0x468858)['forEach'](([_0x2984b7,_0x3fbbaa])=>{const _0xc6e393=_0x33757b;_0x3fbbaa[_0xc6e393(0x288)][_0xc6e393(0x235)]()&&(_0x36e4cd[_0x2984b7]={'config':_0x3fbbaa[_0xc6e393(0x215)],'sparklines':_0x3fbbaa['sparklines'][_0xc6e393(0x217)]()});}),_0x306861[_0x33757b(0x1be)]&&(_0x106e52[_0x33757b(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x238079,'subUnitId':_0x54d01b,'groupIds':Array[_0x33757b(0x254)](_0x306861),'isSingle':!0x1}}),_0x2af7e8['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0x238079,'subUnitId':_0x54d01b,'groupIds':Array['from'](_0x306861),'isSingle':!0x1}}),_0x106e52[_0x33757b(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x238079,'subUnitId':_0x54d01b,'sparklineConfigMap':_0x36e4cd}}),_0x2af7e8[_0x33757b(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x238079,'subUnitId':_0x54d01b,'sparklineConfigMap':_0x12bc4f}}));}return{'redos':_0x106e52,'undos':_0x2af7e8};}}));}};_0x56ca40=_0x3da9a5([_0x273301(0x0,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21['ICommandService'])),_0x273301(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc[_0x22cabc(0x255)])),_0x273301(0x2,_0x40eb21[_0x22cabc(0x2b0)](_0x59aa9f['SparklineDataSourceModel']))],_0x56ca40);var _0x130103=Object['getOwnPropertyDescriptor'],_0x1d06ee=(_0x56daf0,_0x291db0,_0x187555,_0x209638)=>{const _0x3a73a4=_0x22cabc;for(var _0x462c99=_0x209638>0x1?void 0x0:_0x209638?_0x130103(_0x291db0,_0x187555):_0x291db0,_0x5ad328=_0x56daf0[_0x3a73a4(0x295)]-0x1,_0x2dbf89;_0x5ad328>=0x0;_0x5ad328--)(_0x2dbf89=_0x56daf0[_0x5ad328])&&(_0x462c99=_0x2dbf89(_0x462c99)||_0x462c99);return _0x462c99;},_0xf0ae81=(_0x485946,_0x17fed7)=>(_0x423b4c,_0x567b1b)=>_0x17fed7(_0x423b4c,_0x567b1b,_0x485946);let _0x472c8f=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x45cf6d,_0x593682,_0x176c01,_0x2fc9eb){const _0x146e47=_0x22cabc;super(),_0x4d8b0c(this,'disposableCollection',new _0x40eb21[(_0x146e47(0x253))]()),(this[_0x146e47(0x201)]=_0x45cf6d,this[_0x146e47(0x239)]=_0x593682,this[_0x146e47(0x265)]=_0x176c01,this[_0x146e47(0x266)]=_0x2fc9eb,this[_0x146e47(0x251)](),this['_initCorrectRangeWithSparkline']());}['_onRefRangeChange'](){const _0x35ab8b=_0x22cabc,_0x16569c=(_0x21767c,_0x5b1a15)=>{const _0x262740=_0x33f4,_0x4aae6f=this['_univerInstanceService'][_0x262740(0x299)](_0x40eb21[_0x262740(0x1de)][_0x262740(0x1e7)]);if(!_0x4aae6f||!(_0x4aae6f==null?void 0x0:_0x4aae6f[_0x262740(0x205)](_0x5b1a15)))return;this[_0x262740(0x1cf)][_0x262740(0x291)]();const _0x188545=_0x536a3c=>this['refRangeHandle'](_0x536a3c,_0x21767c,_0x5b1a15),_0x2f0cfe=[],_0x5af88b=this[_0x262740(0x266)]['getSubUnitSparkline'](_0x21767c,_0x5b1a15);if(_0x5af88b){for(const [_0x9e0c56,_0x4100b5]of _0x5af88b)_0x4100b5['sparklines'][_0x262740(0x200)]((_0x1567cc,_0x366f0e,_0x453a3d)=>{const _0x33ac79=_0x262740,_0x5b21a0=_0x40eb21[_0x33ac79(0x1b3)](_0x1567cc,_0x366f0e);_0x2f0cfe['push'](_0x5b21a0);});_0x2f0cfe[_0x262740(0x25f)](_0x1d8d65=>{const _0x909ebd=_0x262740;this[_0x909ebd(0x1cf)][_0x909ebd(0x26f)](this['_refRangeService'][_0x909ebd(0x263)](_0x1d8d65,_0x188545,_0x21767c,_0x5b1a15));});}};this[_0x35ab8b(0x269)](this[_0x35ab8b(0x201)][_0x35ab8b(0x25e)](_0x2eb7ca=>{const _0x4c151f=_0x35ab8b;if(_0x2eb7ca['id']===_0x2beccc[_0x4c151f(0x1b2)]['id']){const _0x286c1b=_0x2eb7ca[_0x4c151f(0x221)],_0x4a82c0=_0x286c1b[_0x4c151f(0x216)],_0x1e26b0=_0x286c1b[_0x4c151f(0x21f)];if(!_0x4a82c0||!_0x1e26b0)return;_0x16569c(_0x1e26b0,_0x4a82c0);}if(_0x2eb7ca['id']===_0x1df5e5['id']||_0x2eb7ca['id']===_0x27d955['id']){const _0x41c8ac=_0x2eb7ca['params'],_0x5b408d=_0x41c8ac['subUnitId'],_0x4c8f78=_0x41c8ac['unitId'];if(!_0x5b408d||!_0x4c8f78)return;_0x16569c(_0x4c8f78,_0x5b408d);}}));}['refRangeHandle'](_0x4ce492,_0x456deb,_0x1c3bc2){const _0xe5e78e=_0x22cabc;switch(_0x4ce492['id']){case _0x2beccc['RemoveColCommand']['id']:return this[_0xe5e78e(0x1bc)](_0x4ce492[_0xe5e78e(0x221)],_0x456deb,_0x1c3bc2);case _0x2beccc[_0xe5e78e(0x286)]['id']:return this[_0xe5e78e(0x1dc)](_0x4ce492[_0xe5e78e(0x221)],_0x456deb,_0x1c3bc2);}return{'redos':[],'undos':[]};}[_0x22cabc(0x1dc)](_0x12904a,_0x2e6246,_0x442eb5){const _0x114f1e=_0x22cabc;var _0x2b2fd0,_0x3c4718;const {range:_0x233b7e}=_0x12904a,_0x32572d=new Set(),_0x10b321={},_0x48d4d2={},_0x120164=[],_0xcafdb3=[],_0x38d93a=[],_0x9ba136=[];if(!_0x2beccc[_0x114f1e(0x26a)](this['_univerInstanceService'],{'unitId':_0x2e6246,'subUnitId':_0x442eb5}))return{'redos':_0xcafdb3,'undos':_0x120164};const _0x36f7ef=this[_0x114f1e(0x266)]['getSubUnitSparkline'](_0x2e6246,_0x442eb5);if(!_0x36f7ef)return{'redos':_0xcafdb3,'undos':_0x120164};if(!((_0x3c4718=(_0x2b2fd0=this[_0x114f1e(0x266)][_0x114f1e(0x23a)]()['sparklineAnchorMap'][_0x114f1e(0x223)](_0x2e6246))==null?void 0x0:_0x2b2fd0['get'](_0x442eb5))==null?void 0x0:_0x3c4718[_0x114f1e(0x1ca)]))return{'redos':_0xcafdb3,'undos':_0x120164};for(const [_0x506e66,_0x3f6527]of _0x36f7ef){const _0x423fd7=_0x3f6527[_0x114f1e(0x288)];_0x423fd7[_0x114f1e(0x200)]((_0x15d5b0,_0x4dbf2b,_0x3f6384)=>{const _0x4b3a5d=_0x114f1e;if(_0x40eb21[_0x4b3a5d(0x1d7)]['intersects'](_0x233b7e,_0x3f6384)){_0x32572d[_0x4b3a5d(0x26f)](_0x506e66);let _0x27e351=_0x48d4d2[_0x506e66];_0x27e351||(_0x27e351={'config':_0x3f6527[_0x4b3a5d(0x215)],'sparklines':_0x3f6527[_0x4b3a5d(0x288)]['clone']()},_0x48d4d2[_0x506e66]=_0x27e351);let _0x1573dc=_0x10b321[_0x506e66];_0x1573dc||(_0x1573dc={'config':_0x3f6527[_0x4b3a5d(0x215)],'sparklines':new _0x40eb21[(_0x4b3a5d(0x2a9))](_0x3f6527[_0x4b3a5d(0x288)]['clone']())},_0x10b321[_0x506e66]=_0x1573dc);const _0x54e4a2=_0x2beccc[_0x4b3a5d(0x1fe)](_0x3f6384,{'id':_0x2beccc[_0x4b3a5d(0x1f5)]['id'],'params':_0x12904a});_0x54e4a2?_0x1573dc[_0x4b3a5d(0x288)][_0x4b3a5d(0x244)](_0x15d5b0,_0x4dbf2b,_0x54e4a2):_0x1573dc[_0x4b3a5d(0x288)][_0x4b3a5d(0x244)](_0x15d5b0,_0x4dbf2b,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21[_0x4b3a5d(0x206)][_0x4b3a5d(0x1c3)]});}}),_0x423fd7[_0x114f1e(0x200)]((_0x4be7b6,_0x16b5ce,_0x5e64d2)=>{const _0x32ea84=_0x114f1e;if(_0x4be7b6<=_0x233b7e[_0x32ea84(0x26b)]&&_0x4be7b6>=_0x233b7e['startRow']){_0x32572d['add'](_0x506e66);let _0x42813f=_0x48d4d2[_0x506e66];_0x42813f||(_0x42813f={'config':_0x3f6527['config'],'sparklines':_0x3f6527['sparklines'][_0x32ea84(0x217)]()},_0x48d4d2[_0x506e66]=_0x42813f);let _0x24b4bf=_0x10b321[_0x506e66];_0x24b4bf||(_0x24b4bf={'config':_0x3f6527['config'],'sparklines':new _0x40eb21[(_0x32ea84(0x2a9))](_0x3f6527[_0x32ea84(0x288)]['clone']())},_0x10b321[_0x506e66]=_0x24b4bf);}});}_0x9ba136[_0x114f1e(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x2e6246,'subUnitId':_0x442eb5,'groupIds':Array['from'](_0x32572d),'isSingle':!0x1}}),_0x38d93a[_0x114f1e(0x297)]({'id':_0x5ceb0b['id'],'params':{'unitId':_0x2e6246,'subUnitId':_0x442eb5,'groupIds':Array[_0x114f1e(0x254)](_0x32572d),'isSingle':!0x1}});const _0x2a357a={};let _0x132cd0=!0x1;return Object[_0x114f1e(0x1af)](_0x10b321)[_0x114f1e(0x25f)](([_0xfadc52,_0x52f929])=>{const _0x2252b5=_0x114f1e;_0x52f929['sparklines']['getSizeOf']()&&(_0x132cd0=!0x0,_0x52f929[_0x2252b5(0x288)][_0x2252b5(0x25c)](_0x233b7e[_0x2252b5(0x208)],_0x233b7e[_0x2252b5(0x26b)]-_0x233b7e[_0x2252b5(0x208)]+0x1),_0x2a357a[_0xfadc52]={'config':_0x52f929['config'],'sparklines':_0x52f929[_0x2252b5(0x288)]['clone']()});}),_0x132cd0&&_0xcafdb3[_0x114f1e(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x2e6246,'subUnitId':_0x442eb5,'sparklineConfigMap':_0x2a357a}}),_0x120164[_0x114f1e(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0x2e6246,'subUnitId':_0x442eb5,'sparklineConfigMap':_0x48d4d2}}),{'redos':_0xcafdb3,'undos':_0x120164,'preRedos':_0x38d93a,'preUndos':_0x9ba136};}[_0x22cabc(0x1bc)](_0xa03da4,_0xd77214,_0x51adec){const _0x2778ee=_0x22cabc;var _0x384435,_0x40acc2;const {range:_0x1b0d61}=_0xa03da4,_0x30ad88=new Set(),_0xc190d6={},_0x441352={},_0x3d7c5a=[],_0x21f24a=[],_0x15c72=[],_0x15b74c=[];if(!_0x2beccc[_0x2778ee(0x26a)](this[_0x2778ee(0x265)],{'unitId':_0xd77214,'subUnitId':_0x51adec}))return{'redos':_0x21f24a,'undos':_0x3d7c5a};const _0x4be248=this[_0x2778ee(0x266)]['getSubUnitSparkline'](_0xd77214,_0x51adec);if(!_0x4be248)return{'redos':_0x21f24a,'undos':_0x3d7c5a};if(!((_0x40acc2=(_0x384435=this[_0x2778ee(0x266)][_0x2778ee(0x23a)]()[_0x2778ee(0x284)][_0x2778ee(0x223)](_0xd77214))==null?void 0x0:_0x384435['get'](_0x51adec))==null?void 0x0:_0x40acc2[_0x2778ee(0x1ca)]))return{'redos':_0x21f24a,'undos':_0x3d7c5a};for(const [_0x2974e6,_0x58840b]of _0x4be248){const _0x2b205f=_0x58840b[_0x2778ee(0x288)];_0x2b205f['forValue']((_0x1281f1,_0x4c0598,_0x172ef3)=>{const _0x328228=_0x2778ee;if(_0x40eb21[_0x328228(0x1d7)]['intersects'](_0x1b0d61,_0x172ef3)){_0x30ad88[_0x328228(0x26f)](_0x2974e6);let _0x28be40=_0x441352[_0x2974e6];_0x28be40||(_0x28be40={'config':_0x58840b['config'],'sparklines':_0x58840b['sparklines'][_0x328228(0x217)]()},_0x441352[_0x2974e6]=_0x28be40);let _0xddcf5a=_0xc190d6[_0x2974e6];_0xddcf5a||(_0xddcf5a={'config':_0x58840b['config'],'sparklines':new _0x40eb21[(_0x328228(0x2a9))](_0x58840b[_0x328228(0x288)]['clone']())},_0xc190d6[_0x2974e6]=_0xddcf5a);const _0x164cf5=_0x2beccc[_0x328228(0x1fe)](_0x172ef3,{'id':_0x2beccc['RemoveColMutation']['id'],'params':_0xa03da4});_0x164cf5?_0xddcf5a[_0x328228(0x288)]['setValue'](_0x1281f1,_0x4c0598,_0x164cf5):_0xddcf5a[_0x328228(0x288)][_0x328228(0x244)](_0x1281f1,_0x4c0598,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21[_0x328228(0x206)][_0x328228(0x1c3)]});}}),_0x2b205f['forValue']((_0x1c5f6b,_0x622e0c,_0x38bfbd)=>{const _0x377cfd=_0x2778ee;if(_0x622e0c<=_0x1b0d61[_0x377cfd(0x232)]&&_0x622e0c>=_0x1b0d61[_0x377cfd(0x24d)]){_0x30ad88['add'](_0x2974e6);let _0x587d69=_0x441352[_0x2974e6];_0x587d69||(_0x587d69={'config':_0x58840b[_0x377cfd(0x215)],'sparklines':_0x58840b[_0x377cfd(0x288)][_0x377cfd(0x217)]()},_0x441352[_0x2974e6]=_0x587d69);let _0x4c96f3=_0xc190d6[_0x2974e6];_0x4c96f3||(_0x4c96f3={'config':_0x58840b['config'],'sparklines':new _0x40eb21[(_0x377cfd(0x2a9))](_0x58840b[_0x377cfd(0x288)][_0x377cfd(0x217)]())},_0xc190d6[_0x2974e6]=_0x4c96f3);}});}_0x15b74c['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0xd77214,'subUnitId':_0x51adec,'groupIds':Array['from'](_0x30ad88),'isSingle':!0x1}}),_0x15c72['push']({'id':_0x5ceb0b['id'],'params':{'unitId':_0xd77214,'subUnitId':_0x51adec,'groupIds':Array[_0x2778ee(0x254)](_0x30ad88),'isSingle':!0x1}});const _0x1df8d9={};let _0x38d4c9=!0x1;return Object[_0x2778ee(0x1af)](_0xc190d6)['forEach'](([_0x271af2,_0x13875c])=>{const _0x53123a=_0x2778ee;_0x13875c[_0x53123a(0x288)]['getSizeOf']()&&(_0x38d4c9=!0x0,_0x13875c['sparklines'][_0x53123a(0x285)](_0x1b0d61[_0x53123a(0x24d)],_0x1b0d61[_0x53123a(0x232)]-_0x1b0d61[_0x53123a(0x24d)]+0x1),_0x1df8d9[_0x271af2]={'config':_0x13875c[_0x53123a(0x215)],'sparklines':_0x13875c[_0x53123a(0x288)][_0x53123a(0x217)]()});}),_0x38d4c9&&_0x21f24a[_0x2778ee(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0xd77214,'subUnitId':_0x51adec,'sparklineConfigMap':_0x1df8d9}}),_0x3d7c5a[_0x2778ee(0x297)]({'id':_0x27d955['id'],'params':{'unitId':_0xd77214,'subUnitId':_0x51adec,'sparklineConfigMap':_0x441352}}),{'redos':_0x21f24a,'undos':_0x3d7c5a,'preRedos':_0x15c72,'preUndos':_0x15b74c};}[_0x22cabc(0x2a0)](){const _0x5e0616=_0x22cabc;this[_0x5e0616(0x269)](this[_0x5e0616(0x201)][_0x5e0616(0x25e)](_0x106671=>{const _0x1045d3=_0x5e0616;if(_0x106671['id']===_0x2beccc['InsertColMutation']['id']){const _0x3bc6d5=_0x106671['params'],{unitId:_0x45668a,subUnitId:_0x1ee34b,range:_0x2aab92}=_0x3bc6d5,_0x14e1e2=_0x2aab92[_0x1045d3(0x24d)],_0x43f542=_0x2aab92['endColumn']-_0x2aab92['startColumn']+0x1,_0x5ae370=this[_0x1045d3(0x266)][_0x1045d3(0x2af)](_0x45668a,_0x1ee34b);if(!_0x5ae370)return;for(const [_0x9a7416,_0x4dfad7]of _0x5ae370){this['_sparklineDataSourceModel'][_0x1045d3(0x290)](_0x45668a,_0x1ee34b,_0x9a7416);const _0x235448=_0x4dfad7[_0x1045d3(0x288)];_0x235448[_0x1045d3(0x200)]((_0x5117e8,_0x22b086,_0x1e3661)=>{const _0x57339a=_0x1045d3,_0x38c6f8={..._0x1e3661};_0x14e1e2<=_0x38c6f8[_0x57339a(0x24d)]?(_0x38c6f8[_0x57339a(0x24d)]+=_0x43f542,_0x38c6f8['endColumn']+=_0x43f542):_0x14e1e2>_0x38c6f8[_0x57339a(0x232)]||(_0x38c6f8[_0x57339a(0x232)]+=_0x43f542),_0x235448[_0x57339a(0x244)](_0x5117e8,_0x22b086,_0x38c6f8);});const _0x5ebe1c=_0x235448['getMatrix']();for(const _0x5ca345 in _0x5ebe1c){const _0x4ca0f6=_0x5ebe1c[Number(_0x5ca345)];if(!_0x4ca0f6)continue;const _0x20beaa=Object[_0x1045d3(0x1e5)](_0x4ca0f6)['map'](Number),_0x14b0ac=Math[_0x1045d3(0x1d1)](..._0x20beaa);for(let _0x4dd690=_0x14b0ac;_0x4dd690>=_0x14e1e2;_0x4dd690--)_0x4dd690>=_0x14e1e2&&_0x4ca0f6[_0x4dd690]&&(_0x4ca0f6[_0x4dd690+_0x43f542]=_0x4ca0f6[_0x4dd690],delete _0x4ca0f6[_0x4dd690]);}this[_0x1045d3(0x266)][_0x1045d3(0x24f)](_0x45668a,_0x1ee34b,_0x9a7416);}}else{if(_0x106671['id']===_0x2beccc[_0x1045d3(0x236)]['id']){const _0x23039f=_0x106671[_0x1045d3(0x221)],{unitId:_0x37a7f2,subUnitId:_0xc13e8c,range:_0x5b36c5}=_0x23039f,_0x1644e6=_0x5b36c5[_0x1045d3(0x208)],_0x5baaec=_0x5b36c5[_0x1045d3(0x26b)]-_0x5b36c5['startRow']+0x1,_0x5df3a5=this[_0x1045d3(0x266)]['getSubUnitSparkline'](_0x37a7f2,_0xc13e8c);if(!_0x5df3a5)return;for(const [_0x2e83b1,_0x36f187]of _0x5df3a5){this[_0x1045d3(0x266)]['clearSparklineCache'](_0x37a7f2,_0xc13e8c,_0x2e83b1);const _0x523640=_0x36f187[_0x1045d3(0x288)];_0x523640[_0x1045d3(0x200)]((_0x51f933,_0x1d9160,_0x5948c5)=>{const _0x446978=_0x1045d3,_0x41f35f={..._0x5948c5};_0x1644e6<=_0x41f35f[_0x446978(0x208)]?(_0x41f35f[_0x446978(0x208)]+=_0x5baaec,_0x41f35f[_0x446978(0x26b)]+=_0x5baaec):_0x1644e6>_0x41f35f[_0x446978(0x26b)]||(_0x41f35f['endRow']+=_0x5baaec),_0x523640['setValue'](_0x51f933,_0x1d9160,_0x41f35f);});const _0x115e7a=_0x523640[_0x1045d3(0x271)](),_0x4a95c1=Object[_0x1045d3(0x1e5)](_0x115e7a)['map'](Number),_0x3671ce=Math[_0x1045d3(0x1d1)](..._0x4a95c1);for(let _0x324b16=_0x3671ce;_0x324b16>=_0x1644e6;_0x324b16--)_0x324b16>=_0x1644e6&&_0x115e7a[_0x324b16]&&(_0x115e7a[_0x324b16+_0x5baaec]=_0x115e7a[_0x324b16],delete _0x115e7a[_0x324b16]);this['_sparklineDataSourceModel'][_0x1045d3(0x24f)](_0x37a7f2,_0xc13e8c,_0x2e83b1);}}else{if(_0x106671['id']===_0x2beccc['RemoveColMutation']['id']){const _0x32c0b8=_0x106671[_0x1045d3(0x221)],{range:_0x4ae119,unitId:_0x1a9ec4,subUnitId:_0x31882a}=_0x32c0b8,_0x20a99b=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x1a9ec4,_0x31882a);if(!_0x20a99b)return;for(const [_0x65f3aa,_0x3e5087]of _0x20a99b){const _0x39ad7c=_0x3e5087[_0x1045d3(0x288)];_0x39ad7c[_0x1045d3(0x200)]((_0x2ed51e,_0x9eddd9,_0x8ec166)=>{const _0x32449b=_0x1045d3,_0x4edb6f=_0x2beccc[_0x32449b(0x1fe)](_0x8ec166,_0x106671);_0x4edb6f?_0x39ad7c[_0x32449b(0x244)](_0x2ed51e,_0x9eddd9,_0x4edb6f):_0x39ad7c['setValue'](_0x2ed51e,_0x9eddd9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21[_0x32449b(0x206)][_0x32449b(0x1c3)]});}),_0x39ad7c[_0x1045d3(0x285)](_0x4ae119[_0x1045d3(0x24d)],_0x4ae119[_0x1045d3(0x232)]-_0x4ae119[_0x1045d3(0x24d)]+0x1);}this[_0x1045d3(0x266)]['reBuildAnchorCache'](_0x1a9ec4,_0x31882a);}else{if(_0x106671['id']===_0x2beccc[_0x1045d3(0x1f5)]['id']){const _0x4c0780=_0x106671['params'],{range:_0x2f6387,unitId:_0x223b2e,subUnitId:_0x2b166a}=_0x4c0780,_0x508b95=this[_0x1045d3(0x266)][_0x1045d3(0x2af)](_0x223b2e,_0x2b166a);if(!_0x508b95)return;for(const [_0x2b7fef,_0x2042af]of _0x508b95){const _0x48c098=_0x2042af[_0x1045d3(0x288)];_0x48c098[_0x1045d3(0x200)]((_0x36e8ff,_0xd7a841,_0xa6df3f)=>{const _0x3a0fc4=_0x1045d3,_0x3c00bb=_0x2beccc[_0x3a0fc4(0x1fe)](_0xa6df3f,_0x106671);_0x3c00bb?_0x48c098[_0x3a0fc4(0x244)](_0x36e8ff,_0xd7a841,_0x3c00bb):_0x48c098[_0x3a0fc4(0x244)](_0x36e8ff,_0xd7a841,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21['RANGE_TYPE']['NORMAL']});}),_0x48c098[_0x1045d3(0x25c)](_0x2f6387[_0x1045d3(0x208)],_0x2f6387[_0x1045d3(0x26b)]-_0x2f6387[_0x1045d3(0x208)]+0x1);}this[_0x1045d3(0x266)][_0x1045d3(0x1ce)](_0x223b2e,_0x2b166a);}else{if(_0x106671['id']===_0x2beccc[_0x1045d3(0x213)]['id']){const _0x496cee=_0x106671[_0x1045d3(0x221)],{unitId:_0x26f5ed,subUnitId:_0x53df15,sourceRange:_0x414e7f,targetRange:_0x5955d0}=_0x496cee,_0x56a194=this[_0x1045d3(0x266)][_0x1045d3(0x2af)](_0x26f5ed,_0x53df15);if(!_0x56a194)return;for(const [_0x13bc1d,_0x3ad077]of _0x56a194){const _0x26fa9f=_0x3ad077[_0x1045d3(0x288)];_0x26fa9f[_0x1045d3(0x200)]((_0x2a8d96,_0x3f8742,_0x6fe1ff)=>{const _0x5a437a=_0x1045d3,_0x342c82=_0x2beccc['adjustRangeOnMutation'](_0x6fe1ff,_0x106671);_0x342c82?_0x26fa9f[_0x5a437a(0x244)](_0x2a8d96,_0x3f8742,_0x342c82):_0x26fa9f[_0x5a437a(0x244)](_0x2a8d96,_0x3f8742,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21[_0x5a437a(0x206)][_0x5a437a(0x1c3)]});}),_0x26fa9f['moveColumns'](_0x414e7f['startColumn'],_0x414e7f[_0x1045d3(0x232)]-_0x414e7f[_0x1045d3(0x24d)]+0x1,_0x5955d0[_0x1045d3(0x24d)]);}this['_sparklineDataSourceModel'][_0x1045d3(0x1ce)](_0x26f5ed,_0x53df15);}else{if(_0x106671['id']===_0x2beccc[_0x1045d3(0x1cb)]['id']){const _0x2d2205=_0x106671['params'],{unitId:_0x2ee2b7,subUnitId:_0x1fdf14,sourceRange:_0x17ffd2,targetRange:_0x21625f}=_0x2d2205,_0x38d64e=this['_sparklineDataSourceModel'][_0x1045d3(0x2af)](_0x2ee2b7,_0x1fdf14);if(!_0x38d64e)return;for(const [_0x42514d,_0x4002fa]of _0x38d64e){const _0x3fc833=_0x4002fa[_0x1045d3(0x288)];_0x3fc833[_0x1045d3(0x200)]((_0x5e3b29,_0x49196c,_0x512a83)=>{const _0x1c0301=_0x1045d3,_0x492c6d=_0x2beccc[_0x1c0301(0x1fe)](_0x512a83,_0x106671);_0x492c6d?_0x3fc833[_0x1c0301(0x244)](_0x5e3b29,_0x49196c,_0x492c6d):_0x3fc833[_0x1c0301(0x244)](_0x5e3b29,_0x49196c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x40eb21['RANGE_TYPE'][_0x1c0301(0x1c3)]});}),_0x3fc833[_0x1045d3(0x1fd)](_0x17ffd2[_0x1045d3(0x208)],_0x17ffd2['endRow']-_0x17ffd2[_0x1045d3(0x208)]+0x1,_0x21625f['startRow']);}this['_sparklineDataSourceModel'][_0x1045d3(0x1ce)](_0x2ee2b7,_0x1fdf14);}else{if(_0x106671['id']===_0x2beccc[_0x1045d3(0x211)]['id']){const _0x32f34c=_0x106671[_0x1045d3(0x221)],{fromRange:_0x52d7d9,toRange:_0x4bb968,unitId:_0x2cf402,from:_0x30f406,to:_0x1ba1f7}=_0x32f34c;if(_0x30f406['subUnitId']!==_0x1ba1f7[_0x1045d3(0x216)])return;const _0x410475=_0x30f406[_0x1045d3(0x216)],{startRow:_0x424ba1,endRow:_0xcf07b7,startColumn:_0x26db1d,endColumn:_0x1c52c0}=_0x52d7d9,{startRow:_0x5a228d,startColumn:_0x3b0fed}=_0x4bb968,_0x37aaa0=_0x5a228d-_0x424ba1,_0x6bb3dd=_0x3b0fed-_0x26db1d,_0x3d9401=this[_0x1045d3(0x266)][_0x1045d3(0x2af)](_0x2cf402,_0x410475);if(!(_0x3d9401!=null&&_0x3d9401['size']))return;for(let _0x1841cd=_0x424ba1;_0x1841cd<=_0xcf07b7;_0x1841cd++)for(let _0x3813e7=_0x26db1d;_0x3813e7<=_0x1c52c0;_0x3813e7++){const _0x2ebc3c=this[_0x1045d3(0x266)]['getSparkline'](_0x2cf402,_0x410475,_0x1841cd,_0x3813e7);if(_0x2ebc3c){const _0x6f0315=this[_0x1045d3(0x266)][_0x1045d3(0x20e)](_0x2cf402,_0x410475,_0x2ebc3c);if(_0x6f0315){const _0x1fde89=_0x6f0315[_0x1045d3(0x288)][_0x1045d3(0x277)](_0x1841cd,_0x3813e7);_0x1fde89&&(_0x6f0315[_0x1045d3(0x288)]['setValue'](_0x1841cd+_0x37aaa0,_0x3813e7+_0x6bb3dd,_0x1fde89),_0x6f0315[_0x1045d3(0x288)]['realDeleteValue'](_0x1841cd,_0x3813e7));}}}for(const [_0x2e3f87,_0x2d6185]of _0x3d9401){const _0x535228=_0x2d6185[_0x1045d3(0x288)];_0x535228[_0x1045d3(0x200)]((_0x124044,_0x154b8d,_0x40f12d)=>{const _0x57f5b6=_0x1045d3,_0x1fd428={..._0x40f12d};_0x40eb21[_0x57f5b6(0x1d7)][_0x57f5b6(0x272)](_0x52d7d9,_0x40f12d)&&(_0x1fd428[_0x57f5b6(0x208)]+=_0x37aaa0,_0x1fd428['endRow']+=_0x37aaa0,_0x1fd428[_0x57f5b6(0x24d)]+=_0x6bb3dd,_0x1fd428[_0x57f5b6(0x232)]+=_0x6bb3dd),_0x535228[_0x57f5b6(0x244)](_0x124044,_0x154b8d,_0x1fd428);});}this[_0x1045d3(0x266)][_0x1045d3(0x1ce)](_0x2cf402,_0x410475);}}}}}}}}));}};_0x472c8f=_0x1d06ee([_0xf0ae81(0x0,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21[_0x22cabc(0x23d)])),_0xf0ae81(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc[_0x22cabc(0x267)])),_0xf0ae81(0x2,_0x40eb21['IUniverInstanceService']),_0xf0ae81(0x3,_0x40eb21[_0x22cabc(0x2b0)](_0x59aa9f[_0x22cabc(0x230)]))],_0x472c8f);var _0x43e7b3=Object[_0x22cabc(0x1b8)],_0x4ae7c3=(_0x383b22,_0x5ad0bd,_0x3c0415,_0x4986b1)=>{const _0x506e70=_0x22cabc;for(var _0x4a03c3=_0x4986b1>0x1?void 0x0:_0x4986b1?_0x43e7b3(_0x5ad0bd,_0x3c0415):_0x5ad0bd,_0x42deda=_0x383b22[_0x506e70(0x295)]-0x1,_0x20b60e;_0x42deda>=0x0;_0x42deda--)(_0x20b60e=_0x383b22[_0x42deda])&&(_0x4a03c3=_0x20b60e(_0x4a03c3)||_0x4a03c3);return _0x4a03c3;},_0x462daf=(_0x2f99e4,_0x17affb)=>(_0x76c051,_0xa33d66)=>_0x17affb(_0x76c051,_0xa33d66,_0x2f99e4);let _0x3a8c88=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x387ff1,_0x39e0b1,_0x32f346){const _0x30f298=_0x22cabc;super(),this['_univerInstanceService']=_0x387ff1,this[_0x30f298(0x29a)]=_0x39e0b1,this['_sparklineDataSourceModel']=_0x32f346,this[_0x30f298(0x298)]();}[_0x22cabc(0x298)](){const _0xe1e86c=_0x22cabc;this[_0xe1e86c(0x269)](this[_0xe1e86c(0x29a)][_0xe1e86c(0x207)]({'getMutations':_0x517d8d=>{const _0x59add6=_0xe1e86c;var _0x55b6c8;if(_0x517d8d['id']===_0x2beccc[_0x59add6(0x231)]['id']){const _0x50f6d4=_0x517d8d['params'],_0x760e90=_0x50f6d4[_0x59add6(0x21f)]||this[_0x59add6(0x265)][_0x59add6(0x218)](_0x40eb21[_0x59add6(0x1de)][_0x59add6(0x1e7)])[_0x59add6(0x1bf)](),_0x5e97b1=_0x50f6d4['subUnitId']||((_0x55b6c8=this['_univerInstanceService'][_0x59add6(0x218)](_0x40eb21['UniverInstanceType']['UNIVER_SHEET'])[_0x59add6(0x1d8)]())==null?void 0x0:_0x55b6c8[_0x59add6(0x1bb)]());if(!_0x760e90||!_0x5e97b1)return{'redos':[],'undos':[]};const _0x20fdf4=this[_0x59add6(0x266)][_0x59add6(0x2af)](_0x760e90,_0x5e97b1);if(!_0x20fdf4)return{'redos':[],'undos':[]};const _0x2dba61=new Set(),_0x44ded1={};for(const [_0x2ca063,_0x1569e1]of _0x20fdf4)_0x2dba61[_0x59add6(0x26f)](_0x2ca063),_0x44ded1[_0x2ca063]={'config':_0x40eb21['Tools'][_0x59add6(0x23c)](_0x1569e1[_0x59add6(0x215)]),'sparklines':_0x40eb21[_0x59add6(0x273)][_0x59add6(0x23c)](_0x1569e1['sparklines'][_0x59add6(0x217)]())};if(_0x2dba61[_0x59add6(0x1be)])return{'redos':[{'id':_0x5ceb0b['id'],'params':{'unitId':_0x760e90,'subUnitId':_0x5e97b1,'groupIds':Array[_0x59add6(0x254)](_0x2dba61),'isSingle':!0x1}}],'undos':[{'id':_0x27d955['id'],'params':{'unitId':_0x760e90,'subUnitId':_0x5e97b1,'sparklineConfigMap':_0x44ded1}}]};}else{if(_0x517d8d['id']===_0x2beccc['CopySheetCommand']['id']){const _0x2f0119=_0x517d8d['params'],{unitId:_0x1b12c0,subUnitId:_0x3afad1,targetSubUnitId:_0x171f16}=_0x2f0119;if(!_0x1b12c0||!_0x3afad1||!_0x171f16)return{'redos':[],'undos':[]};const _0x16a7e7=this[_0x59add6(0x266)][_0x59add6(0x2af)](_0x1b12c0,_0x3afad1);if(!_0x16a7e7)return{'redos':[],'undos':[]};const _0x2e6686=new Set(),_0x52230f={};for(const [_0x315b7e,_0x264113]of _0x16a7e7){const _0x160132='g_'+_0x40eb21['generateRandomId'](0x6);_0x2e6686[_0x59add6(0x26f)](_0x315b7e),_0x52230f[_0x160132]={'config':_0x40eb21[_0x59add6(0x273)][_0x59add6(0x23c)](_0x264113['config']),'sparklines':_0x40eb21[_0x59add6(0x273)]['deepClone'](_0x264113[_0x59add6(0x288)][_0x59add6(0x217)]())};}if(_0x2e6686[_0x59add6(0x1be)])return{'redos':[{'id':_0x27d955['id'],'params':{'unitId':_0x1b12c0,'subUnitId':_0x171f16,'sparklineConfigMap':_0x52230f}}],'undos':[{'id':_0x5ceb0b['id'],'params':{'unitId':_0x1b12c0,'subUnitId':_0x171f16,'groupIds':Array['from'](_0x2e6686),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x3a8c88=_0x4ae7c3([_0x462daf(0x0,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21[_0x22cabc(0x20b)])),_0x462daf(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x2beccc['SheetInterceptorService'])),_0x462daf(0x2,_0x40eb21[_0x22cabc(0x2b0)](_0x59aa9f[_0x22cabc(0x230)]))],_0x3a8c88);var _0x44eb24=Object['getOwnPropertyDescriptor'],_0xaefb01=(_0x9f0455,_0x3c51d3,_0x5799b6,_0x3aee4e)=>{const _0x295682=_0x22cabc;for(var _0x57c80d=_0x3aee4e>0x1?void 0x0:_0x3aee4e?_0x44eb24(_0x3c51d3,_0x5799b6):_0x3c51d3,_0x2c4db8=_0x9f0455[_0x295682(0x295)]-0x1,_0x34dd60;_0x2c4db8>=0x0;_0x2c4db8--)(_0x34dd60=_0x9f0455[_0x2c4db8])&&(_0x57c80d=_0x34dd60(_0x57c80d)||_0x57c80d);return _0x57c80d;},_0x3dfa83=(_0x232d17,_0x222789)=>(_0x345151,_0x550d6b)=>_0x222789(_0x345151,_0x550d6b,_0x232d17);let _0x3018eb=class extends _0x40eb21[_0x22cabc(0x204)]{constructor(_0x175ff5,_0x559742){const _0x53973a=_0x22cabc;super(),this[_0x53973a(0x1e3)]=_0x175ff5,this[_0x53973a(0x266)]=_0x559742,this[_0x53973a(0x1b1)]();}['_initSnapshot'](){const _0x580f91=_0x22cabc,_0x5ca13f=_0x2d8091=>{const _0x37584a=_0x33f4,_0x387e72=this[_0x37584a(0x266)][_0x37584a(0x1f9)](_0x2d8091);return _0x387e72?JSON[_0x37584a(0x287)](_0x387e72):'';},_0x2d3917=_0x3c0c3c=>_0x3c0c3c?JSON[_0x580f91(0x1f3)](_0x3c0c3c):{};this['disposeWithMe'](this[_0x580f91(0x1e3)][_0x580f91(0x2a5)]({'toJson':_0x5ca13f,'parseJson':_0x2d3917,'pluginName':_0x5733b5,'businesses':[_0x40eb21[_0x580f91(0x1de)]['UNIVER_SHEET']],'onLoad':(_0x34c370,_0x10ab08)=>{const _0x1b22dc=_0x580f91;this['_sparklineDataSourceModel'][_0x1b22dc(0x1ec)](_0x10ab08);},'onUnLoad':_0x2b3032=>{const _0x302670=_0x580f91;this[_0x302670(0x266)]['deleteUnit'](_0x2b3032);}}));}};_0x3018eb=_0xaefb01([_0x3dfa83(0x0,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21[_0x22cabc(0x21d)])),_0x3dfa83(0x1,_0x40eb21[_0x22cabc(0x2b0)](_0x59aa9f[_0x22cabc(0x230)]))],_0x3018eb);var _0x3040b7=Object[_0x22cabc(0x296)],_0x2dfb04=Object[_0x22cabc(0x1b8)],_0x5be186=(_0x387b43,_0x794b38,_0x1f17b8)=>_0x794b38 in _0x387b43?_0x3040b7(_0x387b43,_0x794b38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f17b8}):_0x387b43[_0x794b38]=_0x1f17b8,_0x456339=(_0x175395,_0x1fa722,_0x3836be,_0x2f3e7e)=>{const _0x200525=_0x22cabc;for(var _0x2824ee=_0x2f3e7e>0x1?void 0x0:_0x2f3e7e?_0x2dfb04(_0x1fa722,_0x3836be):_0x1fa722,_0x187e65=_0x175395[_0x200525(0x295)]-0x1,_0x1974c1;_0x187e65>=0x0;_0x187e65--)(_0x1974c1=_0x175395[_0x187e65])&&(_0x2824ee=_0x1974c1(_0x2824ee)||_0x2824ee);return _0x2824ee;},_0x399c44=(_0x2a29c8,_0x35ddd1)=>(_0x3616e9,_0x2e6339)=>_0x35ddd1(_0x3616e9,_0x2e6339,_0x2a29c8),_0x3b6440=(_0x189386,_0x4e49d4,_0x23347a)=>_0x5be186(_0x189386,typeof _0x4e49d4!=_0x22cabc(0x20a)?_0x4e49d4+'':_0x4e49d4,_0x23347a);_0x59aa9f['UniverSheetSparklinePlugin']=class extends _0x40eb21[_0x22cabc(0x21b)]{constructor(_0x1b13c6={},_0x18e24e,_0x545be3){const _0x4da975=_0x22cabc;super(),this[_0x4da975(0x270)]=_0x1b13c6,this[_0x4da975(0x29f)]=_0x18e24e,this[_0x4da975(0x201)]=_0x545be3,this['_initDependencies'](),this['_initRegisterCommand']();}[_0x22cabc(0x1d6)](){const _0x1eac22=_0x22cabc;[[_0x59aa9f[_0x1eac22(0x230)]],[_0x5832b5],[_0x56ca40],[_0x30fce4],[_0x472c8f],[_0x291e3f],[_0x3a8c88],[_0x3018eb]]['forEach'](_0x5dd279=>{const _0x31428a=_0x1eac22;this[_0x31428a(0x29f)][_0x31428a(0x26f)](_0x5dd279);}),_0x40eb21[_0x1eac22(0x227)](this[_0x1eac22(0x29f)],[[_0x3018eb]]);}[_0x22cabc(0x22d)](){const _0x8445c1=_0x22cabc;_0x40eb21[_0x8445c1(0x227)](this[_0x8445c1(0x29f)],[[_0x5832b5],[_0x56ca40],[_0x30fce4],[_0x472c8f],[_0x291e3f],[_0x3a8c88]]);}[_0x22cabc(0x1e2)](){const _0x5be66a=_0x22cabc;[_0x1a2cec,_0x27d955,_0x9a3b95,_0x5ceb0b,_0x4f82ed,_0x1df5e5][_0x5be66a(0x25f)](_0x2be3f6=>this[_0x5be66a(0x201)][_0x5be66a(0x268)](_0x2be3f6));}},_0x3b6440(_0x59aa9f[_0x22cabc(0x292)],'pluginName',_0x5733b5),_0x3b6440(_0x59aa9f[_0x22cabc(0x292)],_0x22cabc(0x261),_0x40eb21['UniverInstanceType'][_0x22cabc(0x1e7)]),_0x59aa9f['UniverSheetSparklinePlugin']=_0x456339([_0x40eb21[_0x22cabc(0x24c)](_0x384134[_0x22cabc(0x1f4)]),_0x399c44(0x1,_0x40eb21['Inject'](_0x40eb21[_0x22cabc(0x1b4)])),_0x399c44(0x2,_0x40eb21[_0x22cabc(0x2b0)](_0x40eb21[_0x22cabc(0x23d)]))],_0x59aa9f[_0x22cabc(0x292)]),_0x59aa9f[_0x22cabc(0x220)]=_0x1a2cec,_0x59aa9f['AddSheetSparklineMutation']=_0x27d955,_0x59aa9f[_0x22cabc(0x241)]=_0x5733b5,_0x59aa9f[_0x22cabc(0x228)]=_0x9a3b95,_0x59aa9f[_0x22cabc(0x28d)]=_0x5ceb0b,_0x59aa9f['SetSheetSparklineCommand']=_0x4f82ed,_0x59aa9f[_0x22cabc(0x22a)]=_0x1df5e5,_0x59aa9f[_0x22cabc(0x1dd)]=_0x51346e,_0x59aa9f['SparklineExtremumTypeEnum']=_0x139823,_0x59aa9f['SparklinePointsNames']=_0x4e8b41,_0x59aa9f[_0x22cabc(0x246)]=_0x2f00bc,_0x59aa9f[_0x22cabc(0x27e)]=_0x23f003,_0x59aa9f['SparklineTypeEnum']=_0xd4c582,_0x59aa9f[_0x22cabc(0x243)]=_0x16c7d2,Object[_0x22cabc(0x296)](_0x59aa9f,Symbol[_0x22cabc(0x21e)],{'value':'Module'});}));function _0x33f4(_0x3a12dd,_0x57f752){_0x3a12dd=_0x3a12dd-0x1ad;const _0x394cc4=_0x394c();let _0x33f4d9=_0x394cc4[_0x3a12dd];return _0x33f4d9;}function _0x394c(){const _0x295cc1=['_initExclusiveRangeChange','_getRefRangeMutationsByDeleteRows','SpacialShowAsEnum','UniverInstanceType','map','sheet.command.set-sparkline','Range','_initRegisterCommand','_resourceManagerService','lowPoint','keys','IUndoRedoService','UNIVER_SHEET','getSparkline','custom','_ensureAnchorMatrix','_initDataChangeListener','fromJSON','10330YOFFCB','item','set','STRING','34182CvxiOT','@univerjs/sheets','parse','UniverLicensePlugin','RemoveRowMutation','Subject','SPACING','BAR_CHART','toJSON','row','min','amd','moveRows','adjustRangeOnMutation','seriesColor','forValue','_commandService','groupId','@univerjs/core','Disposable','getSheetBySheetId','RANGE_TYPE','interceptCommand','startRow','exclusiveRangesChange$','symbol','IUniverInstanceService','some','2803288FSxDLU','getSparklineById','rgb(252,117,60)','setAlpha','MoveRangeMutation','SetColHiddenMutation','MoveColsMutation','_ensureConfigMap','config','subUnitId','clone','getCurrentUnitOfType','SetRowVisibleMutation','addSparkline','Plugin','u-connect','IResourceManagerService','toStringTag','unitId','AddSheetSparklineCommand','params','hasValue','get','_sparklineModel','zero_value','1115508NrbkQx','touchDependencies','RemoveSheetSparklineCommand','rgb(236,100,169)','SetSheetSparklineMutation','8744682ETGjmL','getColVisible','onReady','object','SELF_EXTREMUM','SparklineDataSourceModel','RemoveSheetCommand','endColumn','_sparklineAnchorMap','SHEET_SPARKLINE_PLUGIN','getSizeOf','InsertRowMutation','column','UniverProSheetsSparkline','_refRangeService','getSparklineCache','foreach','deepClone','ICommandService','FORCE_STRING','COMMAND','_exclusiveRangeService','PLUGIN_NAME','exports','getSparklinePlacement','setValue','value','SparklineThemeMapping','9536416VNZrVz','10156741qeAivw','sheet.command.remove-sparkline','pushUndoRedo','CommandType','DependentOn','startColumn','SOFT','updateSparklineExtraNum','setSparkline','_onRefRangeChange','_initHideRowColWithSparkline','DisposableCollection','from','SheetInterceptorService','removeSparkline','MIN_SAFE_INTEGER','rgb(54,78,244)','firstPoint','getCurrentSelections','MUTATION','removeRows','BOOLEAN','onCommandExecuted','forEach','subscribe','type','has','registerRefRange','MAX_SAFE_INTEGER','_univerInstanceService','_sparklineDataSourceModel','RefRangeService','registerCommand','disposeWithMe','getSheetCommandTarget','endRow','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','rgb(248,190,21)','standard','add','_config','getMatrix','contains','Tools','u-spacing','_initMergeWithSparkline','rgb(124,66,147)','getValue','sequenceExecute','rgb(49,106,246)','updateConfig$','spacing','4TsRJoX','number','SparklineThemeTypeEnum','STANDARD','@univerjs-pro/license','fresh','getCell','containHiddenCells','sparklineAnchorMap','removeColumns','RemoveRowCommand','stringify','sparklines','sheet.command.add-sparkline','extremumMin','IExclusiveRangeService','distinctive','RemoveSheetSparklineMutation','FRESH','next','clearSparklineCache','dispose','UniverSheetSparklinePlugin','range','UniverSheets','length','defineProperty','push','_initSheetChange','getCurrentUnitForType','_sheetInterceptorService','ZERO_VALUE','CellValueType','CONNECT_WITH_LINE','generateRandomId','_injector','_initCorrectRangeWithSparkline','rxjs','SheetsSelectionsService','ReorderRangeMutation','ClearSelectionAllCommand','registerPluginResource','nonNumShowAs','GROUP_EXTREMUM','rgb(30,177,189)','ObjectMatrix','AddWorksheetMergeCommand','intersects','_sheetSelectionService','ranges','NUMBER','getSubUnitSparkline','Inject','lastPoint','CUSTOM_EXTREMUM','entries','5xAsBRR','_initSnapshot','SetWorksheetActivateCommand','cellToRange','Injector','getCellRaw','747864iBfVcM','toRgbString','getOwnPropertyDescriptor','connect_with_line','delete','getSheetId','_getRefRangeMutationsByDeleteCols','remove','size','getUnitId','extremumMax','sparklineModel','sheet.mutation.set-sparkline','NORMAL','SetRowHiddenMutation','LINE_CHART','getRowVisible','rgb(80,102,248)','realDeleteValue','removePartSparkline','matrix','MoveRowsMutation','DISTINCTIVE','SetRangeValuesMutation','reBuildAnchorCache','disposableCollection','emptyShowAs','max','rgb(244,104,249)','PIE_CHART','negativePoint','_updateConfig$','_initDependencies','Rectangle','getActiveSheet','ColorKit','PROFIT_AND_LOSS_CHART'];_0x394c=function(){return _0x295cc1;};return _0x394c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0-insiders.20251222-4efcfbb",
|
|
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.
|
|
66
|
-
"@univerjs/core": "0.
|
|
67
|
-
"@univerjs/sheets": "0.
|
|
65
|
+
"@univerjs-pro/license": "0.14.0-insiders.20251222-4efcfbb",
|
|
66
|
+
"@univerjs/core": "0.14.0-insiders.20251222-4efcfbb",
|
|
67
|
+
"@univerjs/sheets": "0.14.0-insiders.20251222-4efcfbb"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
72
|
"vite": "^7.2.7",
|
|
73
73
|
"vitest": "^4.0.15",
|
|
74
|
-
"@univerjs-infra/shared": "0.
|
|
74
|
+
"@univerjs-infra/shared": "0.14.0"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"test": "vitest run",
|