@univerjs-pro/sheets-sparkline 0.5.5 → 0.6.0-alpha.0
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/types/common/type.d.ts +21 -0
- package/lib/types/facade/f-enum.d.ts +3 -0
- package/lib/types/facade/f-event.d.ts +7 -0
- package/lib/types/facade/f-sparkline-group.d.ts +7 -0
- package/lib/types/facade/f-sparkline.d.ts +6 -0
- package/lib/types/facade/f-worksheet.d.ts +9 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x54d8(){const _0x4d74bb=['Event','_injector','FUniver','getSparklineGroupByCell','removeSparkline','Tools','SparklineDataSourceModel','cancel','_worksheet','@univerjs/sheets/facade','hasEventCallback','FEventName','Injector','groupId','createInstance','get','UniverProSheetsSparklineFacade','1962096LStKeG','UniverSheetsFacade','_subUnitId','182PcLNwn','_initialize','FEnum','isChangeDataSource','6451135dBIacK','FWorksheet','AddSheetSparklineCommand','getValue','SheetSparklineChanged','3693hsmdcK','ICommandService','length','sparklineAnchorMap','@univerjs/core','getSubUnitSparkline','FSparkline','getSparklineByCell','group','map','from','Module','6510600pWFSkE','deepClone','changeDataSource','getSheetId','_col','extend','UniverCore','getUnitId','getOwnPropertyDescriptor','SetSheetSparklineCommand','1742436YplHHk','getSparkline','removeSparklineGroup','SparklineTypeEnum','getId','params','_commandService','startColumn','defineProperty','getSparklineCache','object','RemoveSheetSparklineCommand','composeSparkline','range','forEach','startRow','toStringTag','item','FSparklineGroup','getActiveSheet','@univerjs/sheets','6784290asOQlh','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','_workbook','SheetsSelectionsService','8byxfbO','matrix','_groupId','_row','exports','7779457hKetIv','UniverProSheetsSparkline','Inject','executeCommand','syncExecuteCommand','addSparkline','filter','onCommandExecuted','@univerjs-pro/sheets-sparkline','getSparklineById','_unitId','add'];_0x54d8=function(){return _0x4d74bb;};return _0x54d8();}function _0x124c(_0xb8b9c4,_0x5a1db6){const _0x54d832=_0x54d8();return _0x124c=function(_0x124cb6,_0x5f3f9a){_0x124cb6=_0x124cb6-0x1e6;let _0x82a57e=_0x54d832[_0x124cb6];return _0x82a57e;},_0x124c(_0xb8b9c4,_0x5a1db6);}(function(_0x36d2b,_0x2df2a4){const _0x3d107b=_0x124c,_0x5755ac=_0x36d2b();while(!![]){try{const _0x57e58a=-parseInt(_0x3d107b(0x224))/0x1*(-parseInt(_0x3d107b(0x21b))/0x2)+parseInt(_0x3d107b(0x218))/0x3+parseInt(_0x3d107b(0x23a))/0x4+-parseInt(_0x3d107b(0x21f))/0x5+-parseInt(_0x3d107b(0x1f2))/0x6+parseInt(_0x3d107b(0x1fb))/0x7*(parseInt(_0x3d107b(0x1f6))/0x8)+parseInt(_0x3d107b(0x230))/0x9;if(_0x57e58a===_0x2df2a4)break;else _0x5755ac['push'](_0x5755ac['shift']());}catch(_0x4a0b9b){_0x5755ac['push'](_0x5755ac['shift']());}}}(_0x54d8,0xccf59),function(_0x780267,_0x59f601){const _0xd136f0=_0x124c;typeof exports==_0xd136f0(0x1e7)&&typeof module<'u'?_0x59f601(exports,require(_0xd136f0(0x203)),require('@univerjs/core'),require(_0xd136f0(0x210)),require(_0xd136f0(0x1f1))):typeof define=='function'&&define['amd']?define([_0xd136f0(0x1fa),'@univerjs-pro/sheets-sparkline',_0xd136f0(0x228),_0xd136f0(0x210),_0xd136f0(0x1f1)],_0x59f601):(_0x780267=typeof globalThis<'u'?globalThis:_0x780267||self,_0x59f601(_0x780267[_0xd136f0(0x217)]={},_0x780267[_0xd136f0(0x1fc)],_0x780267[_0xd136f0(0x236)],_0x780267[_0xd136f0(0x219)],_0x780267['UniverSheets']));}(this,function(_0x467798,_0x3ec18e,_0x36ad18,_0x572959,_0x5e4901){'use strict';const _0x773931=_0x124c;var _0x39cc77=Object[_0x773931(0x242)],_0x5382a9=Object['getOwnPropertyDescriptor'],_0x13b1c5=(_0x3cc6c8,_0x63b912,_0x1a15f6,_0x1d4c68)=>{const _0x4ae78d=_0x773931;for(var _0x474ca4=_0x1d4c68>0x1?void 0x0:_0x1d4c68?_0x5382a9(_0x63b912,_0x1a15f6):_0x63b912,_0x508870=_0x3cc6c8[_0x4ae78d(0x226)]-0x1,_0x57c6f9;_0x508870>=0x0;_0x508870--)(_0x57c6f9=_0x3cc6c8[_0x508870])&&(_0x474ca4=(_0x1d4c68?_0x57c6f9(_0x63b912,_0x1a15f6,_0x474ca4):_0x57c6f9(_0x474ca4))||_0x474ca4);return _0x1d4c68&&_0x474ca4&&_0x39cc77(_0x63b912,_0x1a15f6,_0x474ca4),_0x474ca4;},_0x1b4535=(_0x797e06,_0x422a18)=>(_0x3c4baf,_0x430b25)=>_0x422a18(_0x3c4baf,_0x430b25,_0x797e06);_0x467798['FSparkline']=class{constructor(_0x2bcfec,_0x157752,_0x4369e5,_0x37c69c,_0x5e38cf,_0x44c8dc){const _0x567a37=_0x773931;this['_unitId']=_0x2bcfec,this[_0x567a37(0x21a)]=_0x157752,this[_0x567a37(0x1f8)]=_0x4369e5,this['_row']=_0x37c69c,this['_col']=_0x5e38cf,this[_0x567a37(0x208)]=_0x44c8dc;}[_0x773931(0x232)](_0x44d0ac,_0x30468e){const _0x1a020f=_0x773931,_0x3c088e=this[_0x1a020f(0x208)]['get'](_0x3ec18e[_0x1a020f(0x20d)]),_0x3008c4=this['_injector']['get'](_0x36ad18['ICommandService']),_0x14aba8=_0x3c088e['getSparklineById'](this['_unitId'],this[_0x1a020f(0x21a)],this[_0x1a020f(0x1f8)]);if(!_0x14aba8)return;const _0x106384={'config':_0x14aba8,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x1a020f(0x1f8)],'resetType':_0x1a020f(0x1ee),'sourceRanges':[_0x44d0ac],'targetRanges':[_0x30468e],'primary':{'startRow':this['_row'],'startColumn':this[_0x1a020f(0x234)],'endRow':this[_0x1a020f(0x1f9)],'endColumn':this[_0x1a020f(0x234)],'actualRow':this['_row'],'actualColumn':this[_0x1a020f(0x234)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x3008c4['syncExecuteCommand'](_0x3ec18e[_0x1a020f(0x239)]['id'],_0x106384),this[_0x1a020f(0x1f9)]=_0x30468e[_0x1a020f(0x1ec)],this[_0x1a020f(0x234)]=_0x30468e[_0x1a020f(0x241)],this;}[_0x773931(0x20b)](){const _0x59a593=_0x773931,_0x4aa411=this[_0x59a593(0x208)][_0x59a593(0x216)](_0x36ad18['ICommandService']),_0x592c34={'isSingle':!0x0,'ranges':[{'startRow':this[_0x59a593(0x1f9)],'startColumn':this[_0x59a593(0x234)],'endRow':this['_row'],'endColumn':this[_0x59a593(0x234)]}]};_0x4aa411[_0x59a593(0x1ff)](_0x3ec18e[_0x59a593(0x1e8)]['id'],_0x592c34);}},_0x467798[_0x773931(0x22a)]=_0x13b1c5([_0x1b4535(0x5,_0x36ad18[_0x773931(0x1fd)](_0x36ad18[_0x773931(0x213)]))],_0x467798['FSparkline']);var _0x1672ff=Object[_0x773931(0x242)],_0x4098f4=Object[_0x773931(0x238)],_0xf7da2c=(_0x29cac2,_0x5d815c,_0x303bc7,_0x244d66)=>{for(var _0x442ff8=_0x244d66>0x1?void 0x0:_0x244d66?_0x4098f4(_0x5d815c,_0x303bc7):_0x5d815c,_0x563496=_0x29cac2['length']-0x1,_0x11e65f;_0x563496>=0x0;_0x563496--)(_0x11e65f=_0x29cac2[_0x563496])&&(_0x442ff8=(_0x244d66?_0x11e65f(_0x5d815c,_0x303bc7,_0x442ff8):_0x11e65f(_0x442ff8))||_0x442ff8);return _0x244d66&&_0x442ff8&&_0x1672ff(_0x5d815c,_0x303bc7,_0x442ff8),_0x442ff8;},_0x5973df=(_0x45463e,_0x160fc6)=>(_0x33cdfb,_0x1fb3da)=>_0x160fc6(_0x33cdfb,_0x1fb3da,_0x45463e);_0x467798[_0x773931(0x1ef)]=class{constructor(_0x2d9738,_0x26ba70,_0x93211d,_0xa8b0eb,_0x421f68,_0x3d6697){const _0x4fd9be=_0x773931;this[_0x4fd9be(0x205)]=_0x2d9738,this[_0x4fd9be(0x21a)]=_0x26ba70,this['_groupId']=_0x93211d,this[_0x4fd9be(0x1f9)]=_0xa8b0eb,this[_0x4fd9be(0x234)]=_0x421f68,this[_0x4fd9be(0x208)]=_0x3d6697;}[_0x773931(0x232)](_0x4d403f,_0x4de833){const _0x1fdec2=_0x773931,_0x149ac6=this['_injector'][_0x1fdec2(0x216)](_0x3ec18e['SparklineDataSourceModel']),_0x3eb1c3=this[_0x1fdec2(0x208)][_0x1fdec2(0x216)](_0x36ad18[_0x1fdec2(0x225)]),_0x4d9fde=_0x149ac6[_0x1fdec2(0x204)](this[_0x1fdec2(0x205)],this['_subUnitId'],this[_0x1fdec2(0x1f8)]);if(!_0x4d9fde)return;const _0x1d0a6c={'config':_0x4d9fde,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x1fdec2(0x1f8)],'resetType':_0x1fdec2(0x22c),'sourceRanges':_0x4d403f,'targetRanges':_0x4de833,'primary':{'startRow':this[_0x1fdec2(0x1f9)],'startColumn':this[_0x1fdec2(0x234)],'endRow':this[_0x1fdec2(0x1f9)],'endColumn':this[_0x1fdec2(0x234)],'actualRow':this[_0x1fdec2(0x1f9)],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x3eb1c3[_0x1fdec2(0x1ff)](_0x3ec18e[_0x1fdec2(0x239)]['id'],_0x1d0a6c),this[_0x1fdec2(0x1f9)]=_0x4de833[0x0][_0x1fdec2(0x1ec)],this[_0x1fdec2(0x234)]=_0x4de833[0x0][_0x1fdec2(0x241)],this;}[_0x773931(0x23c)](){const _0x327340=_0x773931,_0x410b3a=this[_0x327340(0x208)]['get'](_0x36ad18['ICommandService']),_0x1b489a={'isSingle':!0x1,'ranges':[{'startRow':this[_0x327340(0x1f9)],'startColumn':this[_0x327340(0x234)],'endRow':this['_row'],'endColumn':this['_col']}]};_0x410b3a['syncExecuteCommand'](_0x3ec18e['RemoveSheetSparklineCommand']['id'],_0x1b489a);}['setConfig'](_0x9dc96c){const _0x226c1e=_0x773931,_0x1196d7=this[_0x226c1e(0x208)]['get'](_0x3ec18e[_0x226c1e(0x20d)])['getSparklineById'](this['_unitId'],this['_subUnitId'],this[_0x226c1e(0x1f8)]);if(_0x1196d7){const _0x42ae71={'config':{'config':_0x9dc96c,'sparklines':_0x1196d7['sparklines']},'isChangeDataSource':!0x1};this[_0x226c1e(0x208)][_0x226c1e(0x216)](_0x36ad18['ICommandService'])[_0x226c1e(0x1ff)](_0x3ec18e[_0x226c1e(0x239)]['id'],_0x42ae71);}return this;}},_0x467798[_0x773931(0x1ef)]=_0xf7da2c([_0x5973df(0x5,_0x36ad18[_0x773931(0x1fd)](_0x36ad18[_0x773931(0x213)]))],_0x467798[_0x773931(0x1ef)]);class _0xe2ab05 extends _0x572959['FWorksheet']{[_0x773931(0x200)](_0x21bba5,_0x47b497,_0x267127){const _0x51b5de=_0x773931;if(this['_commandService']['syncExecuteCommand'](_0x3ec18e[_0x51b5de(0x221)]['id'],{'sourceRanges':_0x21bba5,'targetRanges':_0x47b497,'targetInfo':{'unitId':this['_workbook'][_0x51b5de(0x237)](),'subUnitId':this['_worksheet'][_0x51b5de(0x233)]()},'config':{'type':_0x267127}})){const {startRow:_0x58145c,startColumn:_0x54750f}=_0x47b497[0x0];return this[_0x51b5de(0x22b)](_0x58145c,_0x54750f);}}['getAllSubSparkline'](){const _0x25d114=_0x773931;return this[_0x25d114(0x208)][_0x25d114(0x216)](_0x3ec18e[_0x25d114(0x20d)])[_0x25d114(0x229)](this['_workbook']['getUnitId'](),this[_0x25d114(0x20f)][_0x25d114(0x233)]());}[_0x773931(0x1e9)](_0x4102cd){const _0x348e15=_0x773931,_0x497714=this['_injector'][_0x348e15(0x216)](_0x3ec18e['SparklineDataSourceModel']);let _0x148606;for(let _0x122361=0x0;_0x122361<_0x4102cd[_0x348e15(0x226)];_0x122361++){const _0x4437ec=_0x4102cd[_0x122361],{startRow:_0xd0a5a3,endRow:_0x102da3,startColumn:_0x4d6c57,endColumn:_0x3cd081}=_0x4437ec;for(let _0x3a2d20=_0xd0a5a3;_0x3a2d20<=_0x102da3;_0x3a2d20++)for(let _0x44eb3f=_0x4d6c57;_0x44eb3f<=_0x3cd081;_0x44eb3f++){const _0x32ecad=_0x497714[_0x348e15(0x23b)](this[_0x348e15(0x1f4)][_0x348e15(0x237)](),this['_worksheet'][_0x348e15(0x233)](),_0x3a2d20,_0x44eb3f);if(_0x32ecad){const _0x244c92=_0x497714[_0x348e15(0x204)](this[_0x348e15(0x1f4)][_0x348e15(0x237)](),this[_0x348e15(0x20f)][_0x348e15(0x233)](),_0x32ecad);if(_0x244c92){_0x148606=_0x36ad18[_0x348e15(0x20c)][_0x348e15(0x231)](_0x244c92);break;}}}}_0x148606&&this[_0x348e15(0x240)][_0x348e15(0x1fe)](_0x3ec18e[_0x348e15(0x239)]['id'],{'ranges':_0x4102cd,'combine':!0x0,'config':_0x148606,'isChangeDataSource':!0x1});}['unComposeSparkline'](_0x52a456){const _0x2a449d=_0x773931,_0x477444=this[_0x2a449d(0x208)][_0x2a449d(0x216)](_0x3ec18e['SparklineDataSourceModel']);let _0x3dea1c;for(let _0x3b6204=0x0;_0x3b6204<_0x52a456['length'];_0x3b6204++){const _0x35626e=_0x52a456[_0x3b6204],{startRow:_0x5dc6a8,endRow:_0x404b04,startColumn:_0xd272dc,endColumn:_0x573173}=_0x35626e;for(let _0x10ac5f=_0x5dc6a8;_0x10ac5f<=_0x404b04;_0x10ac5f++)for(let _0x18f08a=_0xd272dc;_0x18f08a<=_0x573173;_0x18f08a++){const _0x2b7ea1=_0x477444[_0x2a449d(0x23b)](this[_0x2a449d(0x1f4)][_0x2a449d(0x237)](),this[_0x2a449d(0x20f)][_0x2a449d(0x233)](),_0x10ac5f,_0x18f08a);if(_0x2b7ea1){const _0x682248=_0x477444[_0x2a449d(0x204)](this['_workbook']['getUnitId'](),this[_0x2a449d(0x20f)][_0x2a449d(0x233)](),_0x2b7ea1);if(_0x682248){_0x3dea1c=_0x36ad18[_0x2a449d(0x20c)]['deepClone'](_0x682248);break;}}}}_0x3dea1c||this[_0x2a449d(0x240)][_0x2a449d(0x1fe)](_0x3ec18e['SetSheetSparklineCommand']['id'],{'ranges':_0x52a456,'unCombine':!0x0,'config':_0x3dea1c,'isChangeDataSource':!0x1});}[_0x773931(0x22b)](_0x1e0c44,_0xa3bba2){const _0x2e7ce5=_0x773931,_0x519c3b=this[_0x2e7ce5(0x208)]['get'](_0x3ec18e['SparklineDataSourceModel']),_0x1e6f7b=this[_0x2e7ce5(0x1f4)][_0x2e7ce5(0x237)](),_0x438de3=this[_0x2e7ce5(0x20f)]['getSheetId'](),_0x2f8545=_0x519c3b[_0x2e7ce5(0x23b)](_0x1e6f7b,_0x438de3,_0x1e0c44,_0xa3bba2);if(_0x2f8545)return this['_injector'][_0x2e7ce5(0x215)](_0x467798[_0x2e7ce5(0x22a)],_0x1e6f7b,_0x438de3,_0x2f8545,_0x1e0c44,_0xa3bba2);}[_0x773931(0x20a)](_0x10ff37,_0x551539){const _0x2c8986=_0x773931,_0x4ed7a8=this[_0x2c8986(0x208)][_0x2c8986(0x216)](_0x3ec18e[_0x2c8986(0x20d)]),_0xec7c4e=this[_0x2c8986(0x1f4)][_0x2c8986(0x237)](),_0x5d9fa2=this['_worksheet'][_0x2c8986(0x233)](),_0x502374=_0x4ed7a8['getSparkline'](_0xec7c4e,_0x5d9fa2,_0x10ff37,_0x551539);if(_0x502374)return this[_0x2c8986(0x208)][_0x2c8986(0x215)](_0x467798['FSparklineGroup'],_0xec7c4e,_0x5d9fa2,_0x502374,_0x10ff37,_0x551539);}}_0x572959[_0x773931(0x220)][_0x773931(0x235)](_0xe2ab05);class _0xd760bd extends _0x36ad18['FEnum']{get[_0x773931(0x23d)](){const _0x2cc425=_0x773931;return _0x3ec18e[_0x2cc425(0x23d)];}}_0x36ad18[_0x773931(0x21d)][_0x773931(0x235)](_0xd760bd);class _0x52f01b extends _0x36ad18[_0x773931(0x212)]{get[_0x773931(0x223)](){const _0x8a3c54=_0x773931;return _0x8a3c54(0x223);}}_0x36ad18['FEventName'][_0x773931(0x235)](_0x52f01b);class _0x39193e extends _0x36ad18[_0x773931(0x209)]{[_0x773931(0x21c)](_0x3cf6de){const _0x297d10=_0x773931;_0x3cf6de[_0x297d10(0x216)](_0x36ad18[_0x297d10(0x225)])[_0x297d10(0x202)](_0x32e766=>{const _0x27e259=_0x297d10;var _0xfa03ff,_0x3fbcc7;if(_0x32e766['id']===_0x3ec18e[_0x27e259(0x239)]['id']){if(!this[_0x27e259(0x211)](this[_0x27e259(0x207)][_0x27e259(0x223)]))return;const _0x43014d=_0x32e766[_0x27e259(0x23f)];if(!_0x43014d[_0x27e259(0x21e)]){const _0x45b0c3=this['getActiveWorkbook'](),_0x197dd9=_0x45b0c3==null?void 0x0:_0x45b0c3[_0x27e259(0x1f0)]();if(!_0x45b0c3||!_0x197dd9)return;const _0x4fbeae=_0x45b0c3[_0x27e259(0x23e)](),_0x2b42ef=_0x197dd9[_0x27e259(0x233)](),_0x4fd84a=this[_0x27e259(0x208)]['get'](_0x5e4901[_0x27e259(0x1f5)]),_0x3269b9=this['_injector'][_0x27e259(0x216)](_0x3ec18e['SparklineDataSourceModel']),_0x5b1985=(_0xfa03ff=_0x43014d==null?void 0x0:_0x43014d['ranges'])!=null?_0xfa03ff:_0x4fd84a['getCurrentSelections']()[_0x27e259(0x22d)](_0x4e76c2=>_0x4e76c2[_0x27e259(0x1ea)]),_0x4c447e=(_0x3fbcc7=_0x3269b9[_0x27e259(0x1e6)]()[_0x27e259(0x227)][_0x27e259(0x216)](_0x4fbeae))==null?void 0x0:_0x3fbcc7['get'](_0x2b42ef),_0xc55c22=new Set();_0x5b1985[_0x27e259(0x1eb)](_0x53758c=>{const _0x386c6c=_0x27e259;var _0x3331c8;const {startRow:_0x232a9c,endRow:_0x245d97,startColumn:_0x437a1b,endColumn:_0x38662c}=_0x53758c;for(let _0x5c4f9e=_0x232a9c;_0x5c4f9e<=_0x245d97;_0x5c4f9e++)for(let _0xa3e64e=_0x437a1b;_0xa3e64e<=_0x38662c;_0xa3e64e++){const _0x3d3afc=(_0x3331c8=_0x4c447e==null?void 0x0:_0x4c447e[_0x386c6c(0x1f7)][_0x386c6c(0x222)](_0x5c4f9e,_0xa3e64e))==null?void 0x0:_0x3331c8[_0x386c6c(0x214)];_0x3d3afc&&_0xc55c22[_0x386c6c(0x206)](_0x3d3afc);}});const _0x454b0d=Array[_0x27e259(0x22e)](_0xc55c22)[_0x27e259(0x22d)](_0x32e89c=>_0x3269b9[_0x27e259(0x204)](_0x4fbeae,_0x2b42ef,_0x32e89c))[_0x27e259(0x201)](_0x463c81=>!!_0x463c81),_0x50c3d3={'workbook':_0x45b0c3,'worksheet':_0x197dd9,'sparklines':_0x454b0d};if(this['fireEvent'](this[_0x27e259(0x207)][_0x27e259(0x223)],_0x50c3d3),_0x50c3d3[_0x27e259(0x20e)])throw new Error(_0x27e259(0x1f3));}}});}}_0x36ad18['FUniver'][_0x773931(0x235)](_0x39193e),Object['defineProperty'](_0x467798,Symbol[_0x773931(0x1ed)],{'value':_0x773931(0x22f)});}));
|
|
1
|
+
function _0xa330(_0xc30411,_0x2a2039){const _0x3205c6=_0x3205();return _0xa330=function(_0xa33097,_0x136c42){_0xa33097=_0xa33097-0x180;let _0x596209=_0x3205c6[_0xa33097];return _0x596209;},_0xa330(_0xc30411,_0x2a2039);}function _0x3205(){const _0x14ec85=['getSparklineCache','setConfig','SheetsSelectionsService','removeSparkline','exports','SheetSparklineChanged','add','sparklineAnchorMap','item','3670016hZqYnU','startColumn','params','1615558craspH','startRow','ranges','_row','fireEvent','getSheetId','sparklines','getOwnPropertyDescriptor','Inject','map','cancel','getUnitId','FSparklineGroup','addSparkline','_initialize','filter','getActiveWorkbook','FEnum','@univerjs-pro/sheets-sparkline','SetSheetSparklineCommand','getAllSubSparkline','removeSparklineGroup','toStringTag','_unitId','_col','_subUnitId','FWorksheet','26MEquJM','_injector','SparklineTypeEnum','Injector','defineProperty','unComposeSparkline','executeCommand','Event','range','function','1088172NSyiiG','_workbook','@univerjs/sheets/facade','deepClone','378015EkBXSJ','UniverSheetsFacade','UniverProSheetsSparkline','getActiveSheet','_commandService','getSubUnitSparkline','FEventName','getCurrentSelections','_worksheet','getSparklineById','374152sycncR','group','object','forEach','extend','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','_groupId','359661eAGrSV','onCommandExecuted','syncExecuteCommand','FSparkline','getSparklineGroupByCell','1492LErKYe','createInstance','getSparkline','FUniver','length','SparklineDataSourceModel','ICommandService','groupId','@univerjs/core','getId','RemoveSheetSparklineCommand','getSparklineByCell','@univerjs/sheets','get','Tools'];_0x3205=function(){return _0x14ec85;};return _0x3205();}(function(_0x2e3fcf,_0x1fb1a2){const _0x4dde5d=_0xa330,_0x3a6673=_0x2e3fcf();while(!![]){try{const _0x263486=-parseInt(_0x4dde5d(0x182))/0x1*(parseInt(_0x4dde5d(0x1a6))/0x2)+parseInt(_0x4dde5d(0x1a1))/0x3+-parseInt(_0x4dde5d(0x19a))/0x4+parseInt(_0x4dde5d(0x190))/0x5+-parseInt(_0x4dde5d(0x18c))/0x6+-parseInt(_0x4dde5d(0x1c1))/0x7+parseInt(_0x4dde5d(0x1be))/0x8;if(_0x263486===_0x1fb1a2)break;else _0x3a6673['push'](_0x3a6673['shift']());}catch(_0x567c17){_0x3a6673['push'](_0x3a6673['shift']());}}}(_0x3205,0x1f880),function(_0xab89f2,_0x107c05){const _0x48a044=_0xa330;typeof exports==_0x48a044(0x19c)&&typeof module<'u'?_0x107c05(exports,require(_0x48a044(0x1d3)),require('@univerjs/core'),require(_0x48a044(0x18e)),require(_0x48a044(0x1b2))):typeof define==_0x48a044(0x18b)&&define['amd']?define([_0x48a044(0x1b9),_0x48a044(0x1d3),_0x48a044(0x1ae),'@univerjs/sheets/facade',_0x48a044(0x1b2)],_0x107c05):(_0xab89f2=typeof globalThis<'u'?globalThis:_0xab89f2||self,_0x107c05(_0xab89f2['UniverProSheetsSparklineFacade']={},_0xab89f2[_0x48a044(0x192)],_0xab89f2['UniverCore'],_0xab89f2[_0x48a044(0x191)],_0xab89f2['UniverSheets']));}(this,function(_0x582f08,_0x1a51da,_0x3e1362,_0x20b854,_0x1d6e08){'use strict';const _0x1b26ce=_0xa330;var _0x2f7d4c=Object[_0x1b26ce(0x186)],_0x1a641d=Object[_0x1b26ce(0x1c8)],_0x261c35=(_0x2637f5,_0x814bb6,_0x4425a9,_0x1b1b01)=>{for(var _0x3e58c2=_0x1b1b01>0x1?void 0x0:_0x1b1b01?_0x1a641d(_0x814bb6,_0x4425a9):_0x814bb6,_0x50ca58=_0x2637f5['length']-0x1,_0x24bfa0;_0x50ca58>=0x0;_0x50ca58--)(_0x24bfa0=_0x2637f5[_0x50ca58])&&(_0x3e58c2=(_0x1b1b01?_0x24bfa0(_0x814bb6,_0x4425a9,_0x3e58c2):_0x24bfa0(_0x3e58c2))||_0x3e58c2);return _0x1b1b01&&_0x3e58c2&&_0x2f7d4c(_0x814bb6,_0x4425a9,_0x3e58c2),_0x3e58c2;},_0x54642e=(_0x19e74a,_0x57d4a2)=>(_0x4a8ee2,_0x24f684)=>_0x57d4a2(_0x4a8ee2,_0x24f684,_0x19e74a);_0x582f08['FSparkline']=class{constructor(_0x2f0e32,_0x4534f4,_0x3ef082,_0xaa692d,_0x2ad037,_0xf6d811){const _0x3d4868=_0x1b26ce;this[_0x3d4868(0x1d8)]=_0x2f0e32,this[_0x3d4868(0x180)]=_0x4534f4,this['_groupId']=_0x3ef082,this[_0x3d4868(0x1c4)]=_0xaa692d,this[_0x3d4868(0x1d9)]=_0x2ad037,this['_injector']=_0xf6d811;}['changeDataSource'](_0x562e02,_0x4d8a26){const _0x153271=_0x1b26ce,_0x23c310=this[_0x153271(0x183)][_0x153271(0x1b3)](_0x1a51da[_0x153271(0x1ab)]),_0x23aef6=this[_0x153271(0x183)][_0x153271(0x1b3)](_0x3e1362[_0x153271(0x1ac)]),_0x129d34=_0x23c310[_0x153271(0x199)](this[_0x153271(0x1d8)],this[_0x153271(0x180)],this[_0x153271(0x1a0)]);if(!_0x129d34)return;const _0x4e24df={'config':_0x129d34,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x153271(0x1a0)],'resetType':_0x153271(0x1bd),'sourceRanges':[_0x562e02],'targetRanges':[_0x4d8a26],'primary':{'startRow':this[_0x153271(0x1c4)],'startColumn':this['_col'],'endRow':this['_row'],'endColumn':this['_col'],'actualRow':this[_0x153271(0x1c4)],'actualColumn':this[_0x153271(0x1d9)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x23aef6[_0x153271(0x1a3)](_0x1a51da[_0x153271(0x1d4)]['id'],_0x4e24df),this['_row']=_0x4d8a26['startRow'],this['_col']=_0x4d8a26[_0x153271(0x1bf)],this;}[_0x1b26ce(0x1b8)](){const _0x5d549e=_0x1b26ce,_0x2da66e=this['_injector']['get'](_0x3e1362[_0x5d549e(0x1ac)]),_0xa00d0b={'isSingle':!0x0,'ranges':[{'startRow':this[_0x5d549e(0x1c4)],'startColumn':this[_0x5d549e(0x1d9)],'endRow':this[_0x5d549e(0x1c4)],'endColumn':this[_0x5d549e(0x1d9)]}]};_0x2da66e[_0x5d549e(0x1a3)](_0x1a51da[_0x5d549e(0x1b0)]['id'],_0xa00d0b);}},_0x582f08[_0x1b26ce(0x1a4)]=_0x261c35([_0x54642e(0x5,_0x3e1362['Inject'](_0x3e1362['Injector']))],_0x582f08[_0x1b26ce(0x1a4)]);var _0x34f099=Object[_0x1b26ce(0x186)],_0x10700a=Object[_0x1b26ce(0x1c8)],_0x358dd9=(_0xfd6872,_0x2d800c,_0x2ca7e2,_0x5f3272)=>{const _0x16cbdb=_0x1b26ce;for(var _0x3ea64b=_0x5f3272>0x1?void 0x0:_0x5f3272?_0x10700a(_0x2d800c,_0x2ca7e2):_0x2d800c,_0x239756=_0xfd6872[_0x16cbdb(0x1aa)]-0x1,_0x2bc71e;_0x239756>=0x0;_0x239756--)(_0x2bc71e=_0xfd6872[_0x239756])&&(_0x3ea64b=(_0x5f3272?_0x2bc71e(_0x2d800c,_0x2ca7e2,_0x3ea64b):_0x2bc71e(_0x3ea64b))||_0x3ea64b);return _0x5f3272&&_0x3ea64b&&_0x34f099(_0x2d800c,_0x2ca7e2,_0x3ea64b),_0x3ea64b;},_0x331973=(_0x652007,_0x18f489)=>(_0x4ee1a6,_0x3a9070)=>_0x18f489(_0x4ee1a6,_0x3a9070,_0x652007);_0x582f08['FSparklineGroup']=class{constructor(_0x4c566b,_0x30a25a,_0x3cccfb,_0x258af4,_0x2e51be,_0x58d5c0){const _0x399555=_0x1b26ce;this[_0x399555(0x1d8)]=_0x4c566b,this[_0x399555(0x180)]=_0x30a25a,this[_0x399555(0x1a0)]=_0x3cccfb,this['_row']=_0x258af4,this[_0x399555(0x1d9)]=_0x2e51be,this[_0x399555(0x183)]=_0x58d5c0;}['changeDataSource'](_0x1cc505,_0x3e35c1){const _0x22b1f7=_0x1b26ce,_0x416204=this['_injector'][_0x22b1f7(0x1b3)](_0x1a51da[_0x22b1f7(0x1ab)]),_0x4fe7c3=this[_0x22b1f7(0x183)][_0x22b1f7(0x1b3)](_0x3e1362[_0x22b1f7(0x1ac)]),_0x413844=_0x416204[_0x22b1f7(0x199)](this[_0x22b1f7(0x1d8)],this[_0x22b1f7(0x180)],this[_0x22b1f7(0x1a0)]);if(!_0x413844)return;const _0xf7f53c={'config':_0x413844,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x22b1f7(0x1a0)],'resetType':_0x22b1f7(0x19b),'sourceRanges':_0x1cc505,'targetRanges':_0x3e35c1,'primary':{'startRow':this[_0x22b1f7(0x1c4)],'startColumn':this[_0x22b1f7(0x1d9)],'endRow':this['_row'],'endColumn':this['_col'],'actualRow':this[_0x22b1f7(0x1c4)],'actualColumn':this[_0x22b1f7(0x1d9)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x4fe7c3['syncExecuteCommand'](_0x1a51da[_0x22b1f7(0x1d4)]['id'],_0xf7f53c),this['_row']=_0x3e35c1[0x0][_0x22b1f7(0x1c2)],this[_0x22b1f7(0x1d9)]=_0x3e35c1[0x0]['startColumn'],this;}[_0x1b26ce(0x1d6)](){const _0x56c18c=_0x1b26ce,_0x455475=this[_0x56c18c(0x183)][_0x56c18c(0x1b3)](_0x3e1362['ICommandService']),_0x3fb663={'isSingle':!0x1,'ranges':[{'startRow':this[_0x56c18c(0x1c4)],'startColumn':this[_0x56c18c(0x1d9)],'endRow':this[_0x56c18c(0x1c4)],'endColumn':this[_0x56c18c(0x1d9)]}]};_0x455475[_0x56c18c(0x1a3)](_0x1a51da[_0x56c18c(0x1b0)]['id'],_0x3fb663);}[_0x1b26ce(0x1b6)](_0x30cf10){const _0x46576a=_0x1b26ce,_0x274486=this[_0x46576a(0x183)]['get'](_0x1a51da[_0x46576a(0x1ab)])[_0x46576a(0x199)](this[_0x46576a(0x1d8)],this[_0x46576a(0x180)],this[_0x46576a(0x1a0)]);if(_0x274486){const _0x52ad01={'config':{'config':_0x30cf10,'sparklines':_0x274486[_0x46576a(0x1c7)]},'isChangeDataSource':!0x1};this[_0x46576a(0x183)][_0x46576a(0x1b3)](_0x3e1362[_0x46576a(0x1ac)])['syncExecuteCommand'](_0x1a51da[_0x46576a(0x1d4)]['id'],_0x52ad01);}return this;}},_0x582f08[_0x1b26ce(0x1cd)]=_0x358dd9([_0x331973(0x5,_0x3e1362[_0x1b26ce(0x1c9)](_0x3e1362[_0x1b26ce(0x185)]))],_0x582f08['FSparklineGroup']);class _0x45300d extends _0x20b854[_0x1b26ce(0x181)]{[_0x1b26ce(0x1ce)](_0x216c2d,_0x298e51,_0x3766de){const _0x910622=_0x1b26ce;if(this['_commandService'][_0x910622(0x1a3)](_0x1a51da['AddSheetSparklineCommand']['id'],{'sourceRanges':_0x216c2d,'targetRanges':_0x298e51,'targetInfo':{'unitId':this[_0x910622(0x18d)]['getUnitId'](),'subUnitId':this[_0x910622(0x198)][_0x910622(0x1c6)]()},'config':{'type':_0x3766de}})){const {startRow:_0x4686ff,startColumn:_0x11179c}=_0x298e51[0x0];return this['getSparklineByCell'](_0x4686ff,_0x11179c);}}[_0x1b26ce(0x1d5)](){const _0x28a7b4=_0x1b26ce;return this[_0x28a7b4(0x183)][_0x28a7b4(0x1b3)](_0x1a51da[_0x28a7b4(0x1ab)])[_0x28a7b4(0x195)](this[_0x28a7b4(0x18d)]['getUnitId'](),this['_worksheet'][_0x28a7b4(0x1c6)]());}['composeSparkline'](_0xd983c0){const _0x1c4bb5=_0x1b26ce,_0xbaf5db=this[_0x1c4bb5(0x183)]['get'](_0x1a51da[_0x1c4bb5(0x1ab)]);let _0x30aa79;for(let _0x474c98=0x0;_0x474c98<_0xd983c0['length'];_0x474c98++){const _0x2ed84f=_0xd983c0[_0x474c98],{startRow:_0x5edf94,endRow:_0x509f62,startColumn:_0x221e2e,endColumn:_0x2df59e}=_0x2ed84f;for(let _0x2da112=_0x5edf94;_0x2da112<=_0x509f62;_0x2da112++)for(let _0xa42ea1=_0x221e2e;_0xa42ea1<=_0x2df59e;_0xa42ea1++){const _0x41e2d0=_0xbaf5db['getSparkline'](this[_0x1c4bb5(0x18d)][_0x1c4bb5(0x1cc)](),this[_0x1c4bb5(0x198)]['getSheetId'](),_0x2da112,_0xa42ea1);if(_0x41e2d0){const _0x1d651c=_0xbaf5db['getSparklineById'](this[_0x1c4bb5(0x18d)][_0x1c4bb5(0x1cc)](),this[_0x1c4bb5(0x198)][_0x1c4bb5(0x1c6)](),_0x41e2d0);if(_0x1d651c){_0x30aa79=_0x3e1362[_0x1c4bb5(0x1b4)][_0x1c4bb5(0x18f)](_0x1d651c);break;}}}}_0x30aa79&&this['_commandService'][_0x1c4bb5(0x188)](_0x1a51da[_0x1c4bb5(0x1d4)]['id'],{'ranges':_0xd983c0,'combine':!0x0,'config':_0x30aa79,'isChangeDataSource':!0x1});}[_0x1b26ce(0x187)](_0x15ba50){const _0x28ead4=_0x1b26ce,_0x528466=this[_0x28ead4(0x183)]['get'](_0x1a51da['SparklineDataSourceModel']);let _0xc1e680;for(let _0x196cae=0x0;_0x196cae<_0x15ba50[_0x28ead4(0x1aa)];_0x196cae++){const _0x4986ac=_0x15ba50[_0x196cae],{startRow:_0x4d1c11,endRow:_0x2a8efb,startColumn:_0x5d9e53,endColumn:_0x29289d}=_0x4986ac;for(let _0x54cce2=_0x4d1c11;_0x54cce2<=_0x2a8efb;_0x54cce2++)for(let _0x25b8df=_0x5d9e53;_0x25b8df<=_0x29289d;_0x25b8df++){const _0x5c2451=_0x528466['getSparkline'](this[_0x28ead4(0x18d)][_0x28ead4(0x1cc)](),this[_0x28ead4(0x198)][_0x28ead4(0x1c6)](),_0x54cce2,_0x25b8df);if(_0x5c2451){const _0x29006d=_0x528466[_0x28ead4(0x199)](this[_0x28ead4(0x18d)]['getUnitId'](),this[_0x28ead4(0x198)]['getSheetId'](),_0x5c2451);if(_0x29006d){_0xc1e680=_0x3e1362[_0x28ead4(0x1b4)]['deepClone'](_0x29006d);break;}}}}_0xc1e680||this[_0x28ead4(0x194)][_0x28ead4(0x188)](_0x1a51da[_0x28ead4(0x1d4)]['id'],{'ranges':_0x15ba50,'unCombine':!0x0,'config':_0xc1e680,'isChangeDataSource':!0x1});}[_0x1b26ce(0x1b1)](_0x402bf2,_0x228b03){const _0x5e4e1a=_0x1b26ce,_0x21416e=this[_0x5e4e1a(0x183)][_0x5e4e1a(0x1b3)](_0x1a51da[_0x5e4e1a(0x1ab)]),_0x59542a=this[_0x5e4e1a(0x18d)]['getUnitId'](),_0x1a0b51=this['_worksheet'][_0x5e4e1a(0x1c6)](),_0x221510=_0x21416e[_0x5e4e1a(0x1a8)](_0x59542a,_0x1a0b51,_0x402bf2,_0x228b03);if(_0x221510)return this[_0x5e4e1a(0x183)][_0x5e4e1a(0x1a7)](_0x582f08[_0x5e4e1a(0x1a4)],_0x59542a,_0x1a0b51,_0x221510,_0x402bf2,_0x228b03);}[_0x1b26ce(0x1a5)](_0x41baab,_0x47ad57){const _0x534d44=_0x1b26ce,_0x28e328=this[_0x534d44(0x183)][_0x534d44(0x1b3)](_0x1a51da[_0x534d44(0x1ab)]),_0x4d1a46=this[_0x534d44(0x18d)][_0x534d44(0x1cc)](),_0x23c04b=this[_0x534d44(0x198)][_0x534d44(0x1c6)](),_0x37e9ee=_0x28e328[_0x534d44(0x1a8)](_0x4d1a46,_0x23c04b,_0x41baab,_0x47ad57);if(_0x37e9ee)return this[_0x534d44(0x183)][_0x534d44(0x1a7)](_0x582f08[_0x534d44(0x1cd)],_0x4d1a46,_0x23c04b,_0x37e9ee,_0x41baab,_0x47ad57);}}_0x20b854[_0x1b26ce(0x181)]['extend'](_0x45300d);class _0x46a1e2 extends _0x3e1362[_0x1b26ce(0x1d2)]{get[_0x1b26ce(0x184)](){return _0x1a51da['SparklineTypeEnum'];}}_0x3e1362[_0x1b26ce(0x1d2)][_0x1b26ce(0x19e)](_0x46a1e2);class _0x2543e0 extends _0x3e1362[_0x1b26ce(0x196)]{get['SheetSparklineChanged'](){return'SheetSparklineChanged';}}_0x3e1362['FEventName'][_0x1b26ce(0x19e)](_0x2543e0);class _0xe90b30 extends _0x3e1362[_0x1b26ce(0x1a9)]{[_0x1b26ce(0x1cf)](_0x345394){const _0xca0550=_0x1b26ce;_0x345394['get'](_0x3e1362[_0xca0550(0x1ac)])[_0xca0550(0x1a2)](_0x4bb135=>{const _0x780edd=_0xca0550;var _0x50b087,_0x1cef9f;if(_0x4bb135['id']===_0x1a51da['SetSheetSparklineCommand']['id']){if(!this['hasEventCallback'](this['Event'][_0x780edd(0x1ba)]))return;const _0x59ff80=_0x4bb135[_0x780edd(0x1c0)];if(!_0x59ff80['isChangeDataSource']){const _0x57c986=this[_0x780edd(0x1d1)](),_0x3f437b=_0x57c986==null?void 0x0:_0x57c986[_0x780edd(0x193)]();if(!_0x57c986||!_0x3f437b)return;const _0x57cc15=_0x57c986[_0x780edd(0x1af)](),_0x5a3db8=_0x3f437b[_0x780edd(0x1c6)](),_0x5b8cf7=this['_injector'][_0x780edd(0x1b3)](_0x1d6e08[_0x780edd(0x1b7)]),_0x30f8a3=this[_0x780edd(0x183)][_0x780edd(0x1b3)](_0x1a51da[_0x780edd(0x1ab)]),_0x58d691=(_0x50b087=_0x59ff80==null?void 0x0:_0x59ff80[_0x780edd(0x1c3)])!=null?_0x50b087:_0x5b8cf7[_0x780edd(0x197)]()[_0x780edd(0x1ca)](_0x5f39ba=>_0x5f39ba[_0x780edd(0x18a)]),_0x52581c=(_0x1cef9f=_0x30f8a3[_0x780edd(0x1b5)]()[_0x780edd(0x1bc)][_0x780edd(0x1b3)](_0x57cc15))==null?void 0x0:_0x1cef9f[_0x780edd(0x1b3)](_0x5a3db8),_0x431d0d=new Set();_0x58d691[_0x780edd(0x19d)](_0x46a78a=>{const _0x3a8425=_0x780edd;var _0x21c96b;const {startRow:_0x254ef0,endRow:_0x1bbd9f,startColumn:_0x43a56d,endColumn:_0x168bc6}=_0x46a78a;for(let _0x573464=_0x254ef0;_0x573464<=_0x1bbd9f;_0x573464++)for(let _0x4cbf02=_0x43a56d;_0x4cbf02<=_0x168bc6;_0x4cbf02++){const _0x521fef=(_0x21c96b=_0x52581c==null?void 0x0:_0x52581c['matrix']['getValue'](_0x573464,_0x4cbf02))==null?void 0x0:_0x21c96b[_0x3a8425(0x1ad)];_0x521fef&&_0x431d0d[_0x3a8425(0x1bb)](_0x521fef);}});const _0x159ab6=Array['from'](_0x431d0d)[_0x780edd(0x1ca)](_0xb19e5c=>_0x30f8a3[_0x780edd(0x199)](_0x57cc15,_0x5a3db8,_0xb19e5c))[_0x780edd(0x1d0)](_0x1d546a=>!!_0x1d546a),_0x145c53={'workbook':_0x57c986,'worksheet':_0x3f437b,'sparklines':_0x159ab6};if(this[_0x780edd(0x1c5)](this[_0x780edd(0x189)][_0x780edd(0x1ba)],_0x145c53),_0x145c53[_0x780edd(0x1cb)])throw new Error(_0x780edd(0x19f));}}});}}_0x3e1362[_0x1b26ce(0x1a9)][_0x1b26ce(0x19e)](_0xe90b30),Object['defineProperty'](_0x582f08,Symbol[_0x1b26ce(0x1d7)],{'value':'Module'});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0xb8ad8,_0x206093){const _0x42a838=_0x30f0,_0x27dc34=_0xb8ad8();while(!![]){try{const _0x4331df=parseInt(_0x42a838(0x273))/0x1+parseInt(_0x42a838(0x1fa))/0x2+parseInt(_0x42a838(0x2d0))/0x3*(-parseInt(_0x42a838(0x210))/0x4)+-parseInt(_0x42a838(0x1d9))/0x5*(-parseInt(_0x42a838(0x204))/0x6)+parseInt(_0x42a838(0x1eb))/0x7+-parseInt(_0x42a838(0x27c))/0x8*(-parseInt(_0x42a838(0x1da))/0x9)+-parseInt(_0x42a838(0x284))/0xa;if(_0x4331df===_0x206093)break;else _0x27dc34['push'](_0x27dc34['shift']());}catch(_0x435d11){_0x27dc34['push'](_0x27dc34['shift']());}}}(_0x243e,0xcca7e),function(_0x57b9bc,_0x514c62){const _0x15d794=_0x30f0;typeof exports==_0x15d794(0x264)&&typeof module<'u'?_0x514c62(exports,require('@univerjs-pro/license'),require(_0x15d794(0x24b)),require(_0x15d794(0x28d)),require(_0x15d794(0x2cc))):typeof define==_0x15d794(0x2b4)&&define['amd']?define([_0x15d794(0x25e),_0x15d794(0x255),'@univerjs/core',_0x15d794(0x28d),_0x15d794(0x2cc)],_0x514c62):(_0x57b9bc=typeof globalThis<'u'?globalThis:_0x57b9bc||self,_0x514c62(_0x57b9bc[_0x15d794(0x244)]={},_0x57b9bc[_0x15d794(0x20e)],_0x57b9bc[_0x15d794(0x2a4)],_0x57b9bc['UniverSheets'],_0x57b9bc[_0x15d794(0x2cc)]));}(this,function(_0x263c9e,_0x1705a1,_0x22eb4a,_0x511e1c,_0x3d1c40){'use strict';const _0x174711=_0x30f0;var _0x4ef1c0=Object['defineProperty'],_0x40166e=(_0x3adcb0,_0x2a37f4,_0x231801)=>_0x2a37f4 in _0x3adcb0?_0x4ef1c0(_0x3adcb0,_0x2a37f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x231801}):_0x3adcb0[_0x2a37f4]=_0x231801,_0x230513=(_0x2a17b3,_0x24589d,_0x2cb72e)=>_0x40166e(_0x2a17b3,typeof _0x24589d!=_0x174711(0x2a9)?_0x24589d+'':_0x24589d,_0x2cb72e);function _0x207efd(_0x1175f7,_0x15ff57){const _0x382d1f=_0x174711,_0x184b03=new _0x22eb4a[(_0x382d1f(0x26a))](),_0x4edba5=[],_0x10b6a5=_0x1175f7[_0x382d1f(0x23f)]>0x1;let _0x5944e7=0x0,_0x928efb=0x0;for(const _0x56c105 of _0x1175f7)_0x5944e7+=_0x56c105[_0x382d1f(0x291)]-_0x56c105[_0x382d1f(0x2ac)]+0x1,_0x928efb+=_0x56c105[_0x382d1f(0x21c)]-_0x56c105['startColumn']+0x1;for(const _0x3e9e58 of _0x15ff57)for(let _0x201a53=_0x3e9e58[_0x382d1f(0x2ac)];_0x201a53<=_0x3e9e58[_0x382d1f(0x291)];_0x201a53++)for(let _0x25334f=_0x3e9e58[_0x382d1f(0x27b)];_0x25334f<=_0x3e9e58['endColumn'];_0x25334f++)_0x4edba5[_0x382d1f(0x209)]({'row':_0x201a53,'column':_0x25334f});if(_0x4edba5['length']===_0x5944e7)_0x10b6a5?_0x4edba5[_0x382d1f(0x22a)]((_0x17f32a,_0x380085)=>{const _0x178963=_0x382d1f,_0x13cbeb=_0x1175f7[_0x380085],_0xa257f0={'startRow':_0x13cbeb[_0x178963(0x2ac)],'startColumn':_0x13cbeb['startColumn'],'endRow':_0x13cbeb[_0x178963(0x2ac)],'endColumn':_0x13cbeb['endColumn']};_0x184b03[_0x178963(0x25c)](_0x17f32a[_0x178963(0x206)],_0x17f32a['column'],_0xa257f0);}):_0x4edba5['forEach']((_0x3c06da,_0x1c82ba)=>{const _0x458ab5=_0x382d1f,_0x18e45c=_0x1175f7[0x0],_0x247c98={'startRow':_0x18e45c[_0x458ab5(0x2ac)]+_0x1c82ba,'startColumn':_0x18e45c[_0x458ab5(0x27b)],'endRow':_0x18e45c['startRow']+_0x1c82ba,'endColumn':_0x18e45c[_0x458ab5(0x21c)]};_0x184b03['setValue'](_0x3c06da[_0x458ab5(0x206)],_0x3c06da[_0x458ab5(0x289)],_0x247c98);});else{if(_0x4edba5[_0x382d1f(0x23f)]===_0x928efb)_0x10b6a5?_0x4edba5[_0x382d1f(0x22a)]((_0x460dc5,_0x48f20d)=>{const _0x2ca4dc=_0x382d1f,_0x402319=_0x1175f7[_0x48f20d],_0x2496ed={'startRow':_0x402319['startRow'],'startColumn':_0x402319['startColumn'],'endRow':_0x402319[_0x2ca4dc(0x291)],'endColumn':_0x402319['startColumn']};_0x184b03[_0x2ca4dc(0x25c)](_0x460dc5[_0x2ca4dc(0x206)],_0x460dc5[_0x2ca4dc(0x289)],_0x2496ed);}):_0x4edba5[_0x382d1f(0x22a)]((_0x1a8f16,_0x2e57ec)=>{const _0x3dbb93=_0x382d1f,_0x11ed91=_0x1175f7[0x0],_0x1ff4ab={'startRow':_0x11ed91['startRow'],'startColumn':_0x11ed91['startColumn']+_0x2e57ec,'endRow':_0x11ed91['endRow'],'endColumn':_0x11ed91['startColumn']+_0x2e57ec};_0x184b03[_0x3dbb93(0x25c)](_0x1a8f16['row'],_0x1a8f16['column'],_0x1ff4ab);});else{if(_0x4edba5[_0x382d1f(0x23f)]===_0x1175f7[_0x382d1f(0x23f)])_0x1175f7['every'](_0x5b042b=>!(_0x5b042b[_0x382d1f(0x2ac)]!==_0x5b042b[_0x382d1f(0x291)]&&_0x5b042b[_0x382d1f(0x27b)]!==_0x5b042b[_0x382d1f(0x21c)]))&&_0x4edba5[_0x382d1f(0x22a)]((_0x228995,_0x3419f3)=>{const _0x2925d1=_0x382d1f,_0x179c07=_0x1175f7[_0x3419f3];_0x184b03['setValue'](_0x228995['row'],_0x228995[_0x2925d1(0x289)],_0x179c07);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x184b03;}const _0x1560b3=_0x174711(0x213),_0x412337={'standard':['rgb(54,78,244)',_0x174711(0x1d4)],'specialty':[_0x174711(0x1e8),_0x174711(0x211)],'distinctive':[_0x174711(0x1f8),_0x174711(0x2a6)],'soft':[_0x174711(0x2c9),'rgb(244,104,249)'],'fresh':[_0x174711(0x2ae),_0x174711(0x242)]},_0x2ba3c1=['highPoint',_0x174711(0x29f),_0x174711(0x1e5),_0x174711(0x21e),_0x174711(0x2cd),_0x174711(0x25b)];var _0x2a1f51=(_0x1b93ba=>(_0x1b93ba[_0x174711(0x1f4)]=_0x174711(0x2af),_0x1b93ba['SPECIALTY']=_0x174711(0x251),_0x1b93ba[_0x174711(0x225)]=_0x174711(0x217),_0x1b93ba[_0x174711(0x1e1)]='soft',_0x1b93ba[_0x174711(0x271)]=_0x174711(0x1e9),_0x1b93ba[_0x174711(0x254)]=_0x174711(0x231),_0x1b93ba))(_0x2a1f51||{}),_0x2797b2=(_0x1f51a2=>(_0x1f51a2[_0x1f51a2[_0x174711(0x2ad)]=0x1]=_0x174711(0x2ad),_0x1f51a2[_0x1f51a2['BAR_CHART']=0x2]=_0x174711(0x240),_0x1f51a2[_0x1f51a2[_0x174711(0x1f0)]=0x3]=_0x174711(0x1f0),_0x1f51a2[_0x1f51a2[_0x174711(0x262)]=0x4]='PIE_CHART',_0x1f51a2))(_0x2797b2||{}),_0x122177=(_0x48d280=>(_0x48d280[_0x174711(0x218)]=_0x174711(0x1e4),_0x48d280[_0x174711(0x28e)]='zero_value',_0x48d280[_0x174711(0x298)]=_0x174711(0x1e6),_0x48d280))(_0x122177||{}),_0x5e47cf=(_0x4df0f2=>(_0x4df0f2[_0x4df0f2[_0x174711(0x1d6)]=0x1]=_0x174711(0x1d6),_0x4df0f2[_0x4df0f2[_0x174711(0x263)]=0x2]=_0x174711(0x263),_0x4df0f2[_0x4df0f2[_0x174711(0x238)]=0x3]='CUSTOM_EXTREMUM',_0x4df0f2))(_0x5e47cf||{}),_0x1a0fc9=Object[_0x174711(0x222)],_0x49d8b3=Object['getOwnPropertyDescriptor'],_0x3bd745=(_0x1af7ff,_0x458225,_0x2c2eef,_0x1e5a54)=>{const _0x3f2a4c=_0x174711;for(var _0x38bead=_0x1e5a54>0x1?void 0x0:_0x1e5a54?_0x49d8b3(_0x458225,_0x2c2eef):_0x458225,_0x13273a=_0x1af7ff[_0x3f2a4c(0x23f)]-0x1,_0x2f4952;_0x13273a>=0x0;_0x13273a--)(_0x2f4952=_0x1af7ff[_0x13273a])&&(_0x38bead=(_0x1e5a54?_0x2f4952(_0x458225,_0x2c2eef,_0x38bead):_0x2f4952(_0x38bead))||_0x38bead);return _0x1e5a54&&_0x38bead&&_0x1a0fc9(_0x458225,_0x2c2eef,_0x38bead),_0x38bead;},_0x21286b=(_0x1c4023,_0x4dd0aa)=>(_0x3dd284,_0x52ca48)=>_0x4dd0aa(_0x3dd284,_0x52ca48,_0x1c4023);_0x263c9e[_0x174711(0x249)]=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x3681d9){const _0x14953b=_0x174711;super(),_0x230513(this,_0x14953b(0x2c4),new Map()),_0x230513(this,_0x14953b(0x2a2),new Map()),_0x230513(this,_0x14953b(0x265),new _0x3d1c40['Subject']()),_0x230513(this,_0x14953b(0x245),this[_0x14953b(0x265)][_0x14953b(0x2bd)]()),this[_0x14953b(0x2cb)]=_0x3681d9;}[_0x174711(0x2a7)](_0x4e4e94,_0x161920){const _0x3355a2=_0x174711;let _0x1d7f8d=this['_sparklineModel'][_0x3355a2(0x26f)](_0x4e4e94);_0x1d7f8d||(_0x1d7f8d=new Map(),this['_sparklineModel'][_0x3355a2(0x24e)](_0x4e4e94,_0x1d7f8d));let _0x4fea6e=_0x1d7f8d['get'](_0x161920);return _0x4fea6e||(_0x4fea6e=new Map(),_0x1d7f8d[_0x3355a2(0x24e)](_0x161920,_0x4fea6e)),_0x4fea6e;}['_ensureAnchorMatrix'](_0x189026,_0x578824){const _0x1b8ce1=_0x174711;let _0x41b26f=this[_0x1b8ce1(0x2a2)]['get'](_0x189026);_0x41b26f||(_0x41b26f=new Map(),this['_sparklineAnchorMap'][_0x1b8ce1(0x24e)](_0x189026,_0x41b26f));let _0x203e54=_0x41b26f[_0x1b8ce1(0x26f)](_0x578824);return _0x203e54||(_0x203e54={'matrix':new _0x22eb4a[(_0x1b8ce1(0x26a))](),'extra':{}},_0x41b26f[_0x1b8ce1(0x24e)](_0x578824,_0x203e54)),_0x203e54;}['updateSparklineExtraNum'](_0x90cc8e,_0x141487,_0x45658a,_0x191e8f='set'){const _0x14e5ee=_0x174711;var _0x4be4c9,_0x578ac8,_0x343512,_0x4e1ce7,_0x66a2f0,_0x22df2a,_0x2db3eb,_0x186aa9,_0x10e0c2,_0x48f752,_0x16ae43,_0x46603a,_0x2fee8c;const _0x4557a0=(_0x578ac8=(_0x4be4c9=this[_0x14e5ee(0x2c4)][_0x14e5ee(0x26f)](_0x90cc8e))==null?void 0x0:_0x4be4c9[_0x14e5ee(0x26f)](_0x141487))==null?void 0x0:_0x578ac8[_0x14e5ee(0x26f)](_0x45658a);if(!_0x4557a0)return;const _0x367300=_0x511e1c[_0x14e5ee(0x257)](this[_0x14e5ee(0x2cb)],{'unitId':_0x90cc8e,'subUnitId':_0x141487});if(!_0x367300)throw new Error(_0x14e5ee(0x224));const _0x528662=this[_0x14e5ee(0x21a)](_0x90cc8e,_0x141487),{extra:_0x4499e3,matrix:_0x13978a}=_0x528662,{worksheet:_0x2160c1}=_0x367300;let _0xd568f9=Number['MIN_SAFE_INTEGER'],_0x3d0c58=Number[_0x14e5ee(0x23b)];const _0x41a037=(_0x343512=_0x4557a0[_0x14e5ee(0x282)]['containHiddenCells'])!=null?_0x343512:!0x1;_0x4557a0[_0x14e5ee(0x29a)][_0x14e5ee(0x269)]((_0x341ff9,_0x3e27ac,_0x1d7c86)=>{const _0x3b769f=_0x14e5ee;var _0x4d3a12,_0x3ac0ac,_0x34a9d5;const _0x841db3=_0x1d7c86;let _0x2c760c=Number['MIN_SAFE_INTEGER'],_0x397a6e=Number[_0x3b769f(0x23b)],_0x3e84bf=0x0,_0xf75cc3=0x0;const _0x2cccf7=[];if(!_0x22eb4a[_0x3b769f(0x1ec)](_0x841db3))_0x13978a[_0x3b769f(0x25c)](_0x341ff9,_0x3e27ac,{'groupId':_0x45658a,'data':[],'max':_0x2c760c,'min':_0x397a6e,'highIndex':_0x3e84bf,'lowIndex':_0xf75cc3,'negativeIndexes':_0x2cccf7});else{const _0x5bc501=[];for(let _0x5168d7=_0x841db3[_0x3b769f(0x2ac)];_0x5168d7<=_0x841db3[_0x3b769f(0x291)];_0x5168d7++){for(let _0x285240=_0x841db3[_0x3b769f(0x27b)];_0x285240<=_0x841db3[_0x3b769f(0x21c)];_0x285240++){const _0x4ffe82=_0x2160c1['getRowVisible'](_0x5168d7),_0x4e3d1d=_0x2160c1['getColVisible'](_0x285240);if(!_0x41a037&&(!_0x4ffe82||!_0x4e3d1d))continue;let _0x5ceb0a=0x0;const _0x282b8b=((_0x4d3a12=_0x2160c1['getCellRaw'](_0x5168d7,_0x285240))==null?void 0x0:_0x4d3a12['v'])!==void 0x0?_0x2160c1[_0x3b769f(0x26c)](_0x5168d7,_0x285240):_0x2160c1[_0x3b769f(0x234)](_0x5168d7,_0x285240);if(!_0x282b8b||_0x282b8b['v']===void 0x0||_0x282b8b['v']===null){const _0x248d2d=(_0x3ac0ac=_0x4557a0['config'][_0x3b769f(0x1ff)])!=null?_0x3ac0ac:_0x122177[_0x3b769f(0x218)];_0x248d2d===_0x122177[_0x3b769f(0x28e)]?_0x5ceb0a=0x0:_0x248d2d===_0x122177['SPACING']?_0x5ceb0a='u-spacing':_0x248d2d===_0x122177[_0x3b769f(0x298)]&&(_0x5ceb0a='u-connect');}else{if(_0x282b8b['t']===_0x22eb4a['CellValueType'][_0x3b769f(0x2c5)]||_0x282b8b['t']===_0x22eb4a[_0x3b769f(0x232)][_0x3b769f(0x2c6)]){const _0x15f333=(_0x34a9d5=_0x4557a0[_0x3b769f(0x282)]['nonNumShowAs'])!=null?_0x34a9d5:_0x122177[_0x3b769f(0x218)];_0x15f333===_0x122177[_0x3b769f(0x28e)]?_0x5ceb0a=0x0:_0x15f333===_0x122177[_0x3b769f(0x218)]?_0x5ceb0a=_0x3b769f(0x2c2):_0x15f333===_0x122177[_0x3b769f(0x298)]&&(_0x5ceb0a=_0x3b769f(0x228));}else _0x282b8b['t']===_0x22eb4a['CellValueType'][_0x3b769f(0x24f)]?_0x5ceb0a=_0x282b8b['v']?0x1:0x0:_0x5ceb0a=_0x282b8b['v'];}if(_0x5bc501[_0x3b769f(0x209)](_0x5ceb0a),typeof _0x5ceb0a==_0x3b769f(0x1f5)){_0x2c760c=Math[_0x3b769f(0x236)](_0x2c760c,_0x5ceb0a),_0xd568f9=Math[_0x3b769f(0x236)](_0xd568f9,_0x5ceb0a),_0x3d0c58=Math['min'](_0x3d0c58,_0x5ceb0a),_0x397a6e=Math[_0x3b769f(0x24d)](_0x397a6e,_0x5ceb0a);const _0x41f3c8=typeof _0x5bc501[_0x3e84bf]==_0x3b769f(0x1f5)?Number(_0x5bc501[_0x3e84bf]):Number[_0x3b769f(0x221)];_0x5ceb0a>_0x41f3c8&&(_0x3e84bf=_0x5bc501['length']-0x1);const _0xc6bcbf=typeof _0x5bc501[_0xf75cc3]==_0x3b769f(0x1f5)?Number(_0x5bc501[_0xf75cc3]):Number[_0x3b769f(0x23b)];_0x5ceb0a<_0xc6bcbf&&(_0xf75cc3=_0x5bc501['length']-0x1),_0x5ceb0a<0x0&&_0x2cccf7[_0x3b769f(0x209)](_0x5bc501[_0x3b769f(0x23f)]-0x1);}}_0x13978a[_0x3b769f(0x25c)](_0x341ff9,_0x3e27ac,{'groupId':_0x45658a,'data':_0x5bc501,'max':_0x2c760c,'min':_0x397a6e,'highIndex':_0x3e84bf,'lowIndex':_0xf75cc3,'negativeIndexes':_0x2cccf7});}}});let _0x41c08e=_0xd568f9;((_0x4e1ce7=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x293)])==null?void 0x0:_0x4e1ce7['type'])===_0x5e47cf[_0x14e5ee(0x238)]&&(_0x41c08e=(_0x22df2a=(_0x66a2f0=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x293)])==null?void 0x0:_0x66a2f0['value'])!=null?_0x22df2a:_0xd568f9);let _0x460981=_0x3d0c58;((_0x2db3eb=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x290)])==null?void 0x0:_0x2db3eb[_0x14e5ee(0x258)])===_0x5e47cf[_0x14e5ee(0x238)]&&(_0x460981=(_0x10e0c2=(_0x186aa9=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x290)])==null?void 0x0:_0x186aa9[_0x14e5ee(0x21f)])!=null?_0x10e0c2:_0x3d0c58);const _0x26eec0=(_0x48f752=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x223)])!=null?_0x48f752:_0x2a1f51[_0x14e5ee(0x1f4)],_0x3127aa=(_0x2fee8c=(_0x46603a=_0x4557a0[_0x14e5ee(0x282)][_0x14e5ee(0x28c)])!=null?_0x46603a:(_0x16ae43=_0x412337[_0x26eec0])==null?void 0x0:_0x16ae43[0x0])!=null?_0x2fee8c:_0x412337['standard'][0x0],_0x83bba0=new _0x22eb4a[(_0x14e5ee(0x20a))](_0x3127aa),_0x563e7f=_0x83bba0[_0x14e5ee(0x281)](0.2)[_0x14e5ee(0x23c)](),_0x810c0d=_0x83bba0[_0x14e5ee(0x281)](0.05)[_0x14e5ee(0x23c)]();_0x4499e3[_0x45658a]={'groupMax':_0xd568f9,'groupMin':_0x3d0c58,'showMax':_0x41c08e,'showMin':_0x460981,'startGradient':_0x563e7f,'endGradient':_0x810c0d},this[_0x14e5ee(0x265)][_0x14e5ee(0x275)]({'unitId':_0x90cc8e,'subUnitId':_0x141487,'groupId':_0x45658a,'config':_0x4557a0,'type':_0x191e8f});}['addSparkline'](_0x335d5e,_0x587427,_0x9f435e,_0x590311){const _0xcfb90a=_0x174711;this[_0xcfb90a(0x2a7)](_0x335d5e,_0x587427)['set'](_0x9f435e,_0x590311),this[_0xcfb90a(0x2d1)](_0x335d5e,_0x587427,_0x9f435e,'add');}[_0x174711(0x1f9)](_0x434093,_0x2aa980,_0x26d934,_0x2c2b64){const _0xdd31fb=_0x174711;var _0xf82ec5;const _0x46efc2=(_0xf82ec5=this[_0xdd31fb(0x2c4)][_0xdd31fb(0x26f)](_0x434093))==null?void 0x0:_0xf82ec5[_0xdd31fb(0x26f)](_0x2aa980);_0x26d934[_0xdd31fb(0x22a)](_0x407088=>{const _0x5ebd72=_0xdd31fb;_0x46efc2!=null&&_0x46efc2[_0x5ebd72(0x201)](_0x407088)&&(_0x46efc2['set'](_0x407088,_0x2c2b64),this[_0x5ebd72(0x2d1)](_0x434093,_0x2aa980,_0x407088));});}['removeSparkline'](_0x4e5748,_0x1f3798,_0x3c7e09){const _0x36260c=_0x174711;var _0x348aa8,_0x2950cc;const _0x307d9f=this[_0x36260c(0x2c4)][_0x36260c(0x26f)](_0x4e5748);if(_0x307d9f){const _0x2bb9a7=_0x307d9f[_0x36260c(0x26f)](_0x1f3798);if(_0x2bb9a7){_0x2bb9a7[_0x36260c(0x272)](_0x3c7e09);const _0x4dbb13=(_0x348aa8=this['_sparklineAnchorMap'][_0x36260c(0x26f)](_0x4e5748))==null?void 0x0:_0x348aa8[_0x36260c(0x26f)](_0x1f3798);(_0x2950cc=_0x4dbb13==null?void 0x0:_0x4dbb13[_0x36260c(0x1d7)])==null||_0x2950cc[_0x36260c(0x269)]((_0x1e5f9b,_0x47defd,_0x1d0f35)=>{const _0x3cc7ed=_0x36260c;(_0x1d0f35==null?void 0x0:_0x1d0f35[_0x3cc7ed(0x2cf)])===_0x3c7e09&&(_0x4dbb13==null||_0x4dbb13[_0x3cc7ed(0x1d7)][_0x3cc7ed(0x1f2)](_0x1e5f9b,_0x47defd));}),this['_updateConfig$'][_0x36260c(0x275)]({'unitId':_0x4e5748,'subUnitId':_0x1f3798,'groupId':_0x3c7e09,'type':_0x36260c(0x283)});}}}[_0x174711(0x28a)](_0x154983,_0x2f08a9,_0x25074f,_0x39aed6){const _0x44870d=_0x174711;var _0x238142,_0x2923a4,_0x248fae,_0x2b57fb;const _0x24c7f1=(_0x238142=this[_0x44870d(0x2a2)][_0x44870d(0x26f)](_0x154983))==null?void 0x0:_0x238142[_0x44870d(0x26f)](_0x2f08a9),_0x589192=_0x24c7f1==null?void 0x0:_0x24c7f1[_0x44870d(0x1d7)][_0x44870d(0x2c8)](_0x25074f,_0x39aed6);if(_0x589192){const {groupId:_0x2140a2}=_0x589192,_0x3c6b08=(_0x2923a4=this[_0x44870d(0x2c4)]['get'](_0x154983))==null?void 0x0:_0x2923a4[_0x44870d(0x26f)](_0x2f08a9);(_0x248fae=_0x3c6b08==null?void 0x0:_0x3c6b08[_0x44870d(0x26f)](_0x2140a2))==null||_0x248fae[_0x44870d(0x29a)][_0x44870d(0x1f2)](_0x25074f,_0x39aed6),(_0x2b57fb=_0x3c6b08==null?void 0x0:_0x3c6b08[_0x44870d(0x26f)](_0x2140a2))!=null&&_0x2b57fb['sparklines']['hasValue']()||_0x3c6b08==null||_0x3c6b08[_0x44870d(0x272)](_0x2140a2),_0x24c7f1==null||_0x24c7f1[_0x44870d(0x1d7)]['realDeleteValue'](_0x25074f,_0x39aed6),this[_0x44870d(0x265)][_0x44870d(0x275)]({'unitId':_0x154983,'subUnitId':_0x2f08a9,'groupId':_0x2140a2,'type':'remove'});}}['clearSparklineCache'](_0x3cf80d,_0x11973,_0x1ad3e1){const _0x8fb378=_0x174711;var _0x5cbf1e,_0x372db4,_0x247d61,_0x154ffc;const _0x8405e3=(_0x247d61=(_0x372db4=(_0x5cbf1e=this[_0x8fb378(0x2c4)][_0x8fb378(0x26f)](_0x3cf80d))==null?void 0x0:_0x5cbf1e[_0x8fb378(0x26f)](_0x11973))==null?void 0x0:_0x372db4[_0x8fb378(0x26f)](_0x1ad3e1))==null?void 0x0:_0x247d61[_0x8fb378(0x29a)],_0x4e3d61=(_0x154ffc=this[_0x8fb378(0x2a2)][_0x8fb378(0x26f)](_0x3cf80d))==null?void 0x0:_0x154ffc['get'](_0x11973);if(_0x8405e3&&_0x4e3d61){const {matrix:_0x1895f5,extra:_0x72b5b5}=_0x4e3d61;_0x8405e3[_0x8fb378(0x269)]((_0x2e272f,_0x51a860,_0x2b5f65)=>{const _0x1def9c=_0x8fb378;_0x1895f5[_0x1def9c(0x1f2)](_0x2e272f,_0x51a860);}),delete _0x72b5b5[_0x1ad3e1];}}[_0x174711(0x239)](_0x41a85c,_0x346242){const _0x59fa4c=_0x174711;var _0xe333b9;return(_0xe333b9=this['_sparklineModel'][_0x59fa4c(0x26f)](_0x41a85c))==null?void 0x0:_0xe333b9['get'](_0x346242);}[_0x174711(0x219)](_0xd58f82,_0x4a9c27,_0x4e4f4a){const _0x289b64=_0x174711;var _0x1f38f0,_0x29eabf;return(_0x29eabf=(_0x1f38f0=this[_0x289b64(0x2c4)][_0x289b64(0x26f)](_0xd58f82))==null?void 0x0:_0x1f38f0[_0x289b64(0x26f)](_0x4a9c27))==null?void 0x0:_0x29eabf[_0x289b64(0x26f)](_0x4e4f4a);}[_0x174711(0x207)](_0x43932b,_0x4f7fff,_0x314c98,_0x9a82e7){const _0x264fd1=_0x174711;var _0x65ceeb,_0x2f2dcb,_0xb1089;return(_0xb1089=(_0x2f2dcb=(_0x65ceeb=this[_0x264fd1(0x2a2)]['get'](_0x43932b))==null?void 0x0:_0x65ceeb[_0x264fd1(0x26f)](_0x4f7fff))==null?void 0x0:_0x2f2dcb['matrix']['getValue'](_0x314c98,_0x9a82e7))==null?void 0x0:_0xb1089[_0x264fd1(0x2cf)];}['reBuildAnchorCache'](_0x3d27ed,_0x30c2fa){const _0x191bdb=_0x174711;var _0x5c95c5;const _0x431eb0=this[_0x191bdb(0x21a)](_0x3d27ed,_0x30c2fa);_0x431eb0[_0x191bdb(0x1d7)][_0x191bdb(0x269)]((_0x35b108,_0x1a956d,_0x32ac19)=>{const _0x511895=_0x191bdb;_0x431eb0['matrix'][_0x511895(0x1f2)](_0x35b108,_0x1a956d);});const _0x269ea2=(_0x5c95c5=this['_sparklineModel']['get'](_0x3d27ed))==null?void 0x0:_0x5c95c5[_0x191bdb(0x26f)](_0x30c2fa);if(_0x269ea2){for(const [_0x40a6e3,_0x388cda]of _0x269ea2)this[_0x191bdb(0x2d1)](_0x3d27ed,_0x30c2fa,_0x40a6e3);}}[_0x174711(0x243)](){const _0x30cbe1=_0x174711;return{'sparklineModel':this[_0x30cbe1(0x2c4)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}[_0x174711(0x26d)](_0x2e3c30){const _0x13402d=_0x174711,_0x1b25f1={};if(this[_0x13402d(0x2c4)]['has'](_0x2e3c30)){_0x1b25f1[_0x2e3c30]={};const _0x16b192=this['_sparklineModel']['get'](_0x2e3c30);_0x16b192!=null&&_0x16b192[_0x13402d(0x25f)]&&Array[_0x13402d(0x2ce)](_0x16b192[_0x13402d(0x22e)]())['forEach'](_0x997592=>{const _0x37b467=_0x13402d;_0x1b25f1[_0x2e3c30][_0x997592]={};const _0xbb2511=_0x16b192[_0x37b467(0x26f)](_0x997592);_0xbb2511!=null&&_0xbb2511['size']&&Array[_0x37b467(0x2ce)](_0xbb2511[_0x37b467(0x22e)]())[_0x37b467(0x22a)](_0x2db516=>{const _0x5e3739=_0x37b467,_0x2255f8=_0xbb2511['get'](_0x2db516);_0x2255f8&&(_0x1b25f1[_0x2e3c30][_0x997592][_0x2db516]={'config':_0x2255f8[_0x5e3739(0x282)],'sparklines':_0x2255f8[_0x5e3739(0x29a)][_0x5e3739(0x20f)]()});});});}return _0x1b25f1;}[_0x174711(0x28b)](_0x4ff47b){const _0x2e8755=_0x174711;if(!_0x4ff47b)return;Object[_0x2e8755(0x22e)](_0x4ff47b)[_0x2e8755(0x22a)](_0x1070ca=>{const _0x3598d2=_0x2e8755,_0x29a4a8=_0x4ff47b[_0x1070ca];_0x29a4a8&&Object[_0x3598d2(0x22e)](_0x29a4a8)['forEach'](_0x1ee807=>{const _0x4bfd15=_0x3598d2,_0x138e5c=_0x29a4a8[_0x1ee807];_0x138e5c&&Object[_0x4bfd15(0x22e)](_0x138e5c)[_0x4bfd15(0x22a)](_0x3c1433=>{const _0x5e26bf=_0x4bfd15,_0x3a04b9=_0x138e5c[_0x3c1433];if(_0x3a04b9){const _0x1f615b={'config':_0x3a04b9[_0x5e26bf(0x282)],'sparklines':new _0x22eb4a[(_0x5e26bf(0x26a))](_0x3a04b9[_0x5e26bf(0x29a)])};this[_0x5e26bf(0x2bc)](_0x1070ca,_0x1ee807,_0x3c1433,_0x1f615b);}});});});}[_0x174711(0x28f)](_0x18f377){const _0x409acf=_0x174711,_0x5d1e8a=this['_sparklineModel']['get'](_0x18f377);if(_0x5d1e8a){for(const [_0x4b0f9e]of _0x5d1e8a){const _0x310a80=_0x5d1e8a['get'](_0x4b0f9e);if(_0x310a80){for(const [_0x525e2b]of _0x310a80)this[_0x409acf(0x23e)](_0x18f377,_0x4b0f9e,_0x525e2b);}}this[_0x409acf(0x2c4)]['delete'](_0x18f377);}}},_0x263c9e[_0x174711(0x249)]=_0x3bd745([_0x21286b(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a[_0x174711(0x1e3)]))],_0x263c9e[_0x174711(0x249)]);const _0x3657ed={'id':_0x174711(0x27d),'type':_0x22eb4a[_0x174711(0x214)]['MUTATION'],'handler':(_0x2eaf2e,_0x30134f)=>{const _0x50e8e6=_0x174711;if(!_0x30134f)return!0x1;const {sparklineConfigMap:_0x5d4201,unitId:_0x585f58,subUnitId:_0x541f96}=_0x30134f,_0x224cf0=_0x2eaf2e[_0x50e8e6(0x26f)](_0x263c9e[_0x50e8e6(0x249)]);return Object[_0x50e8e6(0x220)](_0x5d4201)[_0x50e8e6(0x22a)](([_0xffa3ae,_0x2f3072])=>{const _0x183ff2=_0x50e8e6,_0x25091c={'config':_0x2f3072[_0x183ff2(0x282)],'sparklines':new _0x22eb4a[(_0x183ff2(0x26a))](_0x2f3072[_0x183ff2(0x29a)])};_0x224cf0['addSparkline'](_0x585f58,_0x541f96,_0xffa3ae,_0x25091c);}),!0x0;}},_0x4428fe={'id':_0x174711(0x2bb),'type':_0x22eb4a[_0x174711(0x214)][_0x174711(0x2be)],'handler':(_0x234b35,_0x2d3eac)=>{const _0x288a0e=_0x174711;if(!_0x2d3eac)return!0x1;const {unitId:_0x5ec370,subUnitId:_0x34b536,ranges:_0x3aa3c1,isSingle:_0x4285df,groupIds:_0x16ea8e}=_0x2d3eac,_0x44de1c=_0x234b35['get'](_0x263c9e[_0x288a0e(0x249)]);return _0x16ea8e?(_0x16ea8e[_0x288a0e(0x22a)](_0x21d37e=>{const _0x3b23a4=_0x288a0e;_0x44de1c[_0x3b23a4(0x226)](_0x5ec370,_0x34b536,_0x21d37e);}),!0x0):_0x3aa3c1?(_0x3aa3c1[_0x288a0e(0x22a)](_0x54f17e=>{const _0x7bb07f=_0x288a0e;_0x22eb4a[_0x7bb07f(0x285)][_0x7bb07f(0x299)](_0x54f17e,(_0x2dec3f,_0xffc14)=>{const _0xd10ac5=_0x7bb07f,_0x4040fb=_0x44de1c[_0xd10ac5(0x207)](_0x5ec370,_0x34b536,_0x2dec3f,_0xffc14);_0x4040fb&&(_0x4285df?_0x44de1c[_0xd10ac5(0x28a)](_0x5ec370,_0x34b536,_0x2dec3f,_0xffc14):_0x44de1c[_0xd10ac5(0x226)](_0x5ec370,_0x34b536,_0x4040fb));});}),!0x0):!0x1;}},_0x52aab6={'id':_0x174711(0x1de),'type':_0x22eb4a['CommandType'][_0x174711(0x1f6)],'handler':(_0xe8b506,_0x255833)=>{const _0x5a833f=_0x174711;if(!_0x255833)return!0x1;const {sourceRanges:_0x50383a,targetRanges:_0x1f3651,config:_0x228a4a}=_0x255833,_0x5f5a6c=_0xe8b506['get'](_0x22eb4a[_0x5a833f(0x26e)]),_0x47404e='g_'+_0x22eb4a[_0x5a833f(0x267)](0x6),_0xbd1e4a=_0x207efd(_0x50383a,_0x1f3651),_0x1e7ed2={'config':_0x228a4a!=null?_0x228a4a:{},'sparklines':_0xbd1e4a['getMatrix']()},_0x19887a=_0xe8b506[_0x5a833f(0x26f)](_0x22eb4a[_0x5a833f(0x1e3)]),_0x5bd021=_0xe8b506[_0x5a833f(0x26f)](_0x263c9e[_0x5a833f(0x249)]),_0x252aa8=_0x511e1c[_0x5a833f(0x257)](_0x19887a);if(!_0x252aa8)return!0x1;const {unitId:_0xbba331,subUnitId:_0x3eabdd}=_0x252aa8,_0x5bf5b8=_0xe8b506['get'](_0x22eb4a[_0x5a833f(0x203)]),_0x46f71c=[],_0x2a4531=[],_0x432062={},_0x11f120={},_0x5ad2be=new Set([_0x47404e]);_0xbd1e4a[_0x5a833f(0x269)]((_0x508a64,_0x12339b,_0x2be804)=>{const _0x2f7ad0=_0x5a833f,_0x405095=_0x5bd021['getSparkline'](_0xbba331,_0x3eabdd,_0x508a64,_0x12339b);if(_0x405095){const _0x101bfd=_0x5bd021[_0x2f7ad0(0x219)](_0xbba331,_0x3eabdd,_0x405095);if(_0x101bfd){_0x5ad2be[_0x2f7ad0(0x280)](_0x405095);let _0x33a9ce=_0x432062[_0x405095],_0x2a7b22=_0x11f120[_0x405095];_0x2a7b22||(_0x2a7b22={'config':_0x22eb4a[_0x2f7ad0(0x2b9)]['deepClone'](_0x101bfd[_0x2f7ad0(0x282)]),'sparklines':new _0x22eb4a[(_0x2f7ad0(0x26a))](_0x101bfd[_0x2f7ad0(0x29a)][_0x2f7ad0(0x215)]())},_0x11f120[_0x405095]=_0x2a7b22),_0x33a9ce||(_0x33a9ce={'config':_0x22eb4a[_0x2f7ad0(0x2b9)]['deepClone'](_0x101bfd[_0x2f7ad0(0x282)]),'sparklines':_0x101bfd[_0x2f7ad0(0x29a)][_0x2f7ad0(0x215)]()},_0x432062[_0x405095]=_0x33a9ce),_0x2a7b22[_0x2f7ad0(0x29a)][_0x2f7ad0(0x1f2)](_0x508a64,_0x12339b);}}});const _0xda8dff={};return Object['entries'](_0x11f120)['forEach'](([_0x934656,_0x4d8c9d])=>{const _0x4e3fdf=_0x5a833f;_0x4d8c9d[_0x4e3fdf(0x29a)][_0x4e3fdf(0x2b8)]()&&(_0xda8dff[_0x934656]={'config':_0x4d8c9d[_0x4e3fdf(0x282)],'sparklines':_0x4d8c9d[_0x4e3fdf(0x29a)][_0x4e3fdf(0x215)]()});}),_0xda8dff[_0x47404e]=_0x1e7ed2,_0x46f71c[_0x5a833f(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0xbba331,'subUnitId':_0x3eabdd,'groupIds':Array[_0x5a833f(0x2ce)](_0x5ad2be),'isSingle':!0x1}}),_0x5ad2be[_0x5a833f(0x25f)]>0x1&&(_0x2a4531['push']({'id':_0x4428fe['id'],'params':{'unitId':_0xbba331,'subUnitId':_0x3eabdd,'groupIds':Array[_0x5a833f(0x2ce)](_0x5ad2be),'isSingle':!0x1}}),_0x46f71c[_0x5a833f(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0xbba331,'subUnitId':_0x3eabdd,'sparklineConfigMap':_0x432062}})),_0x2a4531[_0x5a833f(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0xbba331,'subUnitId':_0x3eabdd,'sparklineConfigMap':_0xda8dff}}),_0x22eb4a[_0x5a833f(0x2a3)](_0x2a4531,_0x5bf5b8),_0x5f5a6c[_0x5a833f(0x1fc)]({'unitID':_0xbba331,'undoMutations':_0x46f71c,'redoMutations':_0x2a4531}),!0x0;}},_0x3a617e={'id':'sheet.command.remove-sparkline','type':_0x22eb4a[_0x174711(0x214)]['COMMAND'],'handler':(_0x413a05,_0x574afa)=>{const _0xcb5830=_0x174711;var _0x251770;const {isSingle:_0x2ebb56=!0x0}=_0x574afa||{},_0x2c08ea=_0x413a05[_0xcb5830(0x26f)](_0x22eb4a[_0xcb5830(0x203)]),_0x22c34f=_0x413a05[_0xcb5830(0x26f)](_0x22eb4a[_0xcb5830(0x1e3)]),_0x29ea26=_0x413a05[_0xcb5830(0x26f)](_0x263c9e[_0xcb5830(0x249)]),_0x1ac781=_0x413a05['get'](_0x22eb4a[_0xcb5830(0x26e)]),_0x456559=_0x511e1c[_0xcb5830(0x257)](_0x22c34f);if(!_0x456559)return!0x1;const _0x373e5c=_0x413a05[_0xcb5830(0x26f)](_0x511e1c[_0xcb5830(0x233)]),_0x58d243=(_0x251770=_0x574afa==null?void 0x0:_0x574afa[_0xcb5830(0x248)])!=null?_0x251770:_0x373e5c[_0xcb5830(0x24c)]()[_0xcb5830(0x27a)](_0x52376a=>_0x52376a[_0xcb5830(0x2a8)]),{unitId:_0x462f05,subUnitId:_0x3e19c7}=_0x456559,_0x4258b9=[],_0x232def=[];_0x4258b9[_0xcb5830(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x462f05,'subUnitId':_0x3e19c7,'ranges':_0x58d243,'isSingle':_0x2ebb56}});const _0x1b1b4b=[],_0x507dca={};return _0x58d243[_0xcb5830(0x22a)](_0x38d45c=>{const _0x53faf8=_0xcb5830;_0x22eb4a[_0x53faf8(0x285)][_0x53faf8(0x299)](_0x38d45c,(_0x3d5a7b,_0x446904)=>{const _0x519786=_0x53faf8,_0x2a23c5=_0x29ea26[_0x519786(0x207)](_0x462f05,_0x3e19c7,_0x3d5a7b,_0x446904);if(_0x2a23c5){const _0x409450=_0x29ea26[_0x519786(0x219)](_0x462f05,_0x3e19c7,_0x2a23c5);_0x409450&&(_0x1b1b4b[_0x519786(0x209)](_0x2a23c5),_0x507dca[_0x2a23c5]={'config':_0x22eb4a[_0x519786(0x2b9)][_0x519786(0x22b)](_0x409450[_0x519786(0x282)]),'sparklines':_0x22eb4a[_0x519786(0x2b9)][_0x519786(0x22b)](_0x409450[_0x519786(0x29a)]['clone']())});}});}),_0x232def[_0xcb5830(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x462f05,'subUnitId':_0x3e19c7,'groupIds':_0x1b1b4b,'isSingle':!0x1}}),_0x232def['push']({'id':_0x3657ed['id'],'params':{'unitId':_0x462f05,'subUnitId':_0x3e19c7,'sparklineConfigMap':_0x507dca}}),_0x22eb4a[_0xcb5830(0x2a3)](_0x4258b9,_0x2c08ea),_0x1ac781['pushUndoRedo']({'unitID':_0x462f05,'undoMutations':_0x232def,'redoMutations':_0x4258b9}),!0x0;}},_0x298f92={'id':_0x174711(0x295),'type':_0x22eb4a[_0x174711(0x214)][_0x174711(0x2be)],'handler':(_0x2e8a98,_0x2c9b88)=>{const _0x22ada8=_0x174711;if(!_0x2c9b88)return!0x1;const {unitId:_0x18d97c,subUnitId:_0x236907,groupIds:_0x5e91d8,config:_0x212725}=_0x2c9b88,_0x571fb8=_0x2e8a98[_0x22ada8(0x26f)](_0x263c9e[_0x22ada8(0x249)]);return _0x5e91d8[_0x22ada8(0x22a)](_0x4723e4=>{const _0x513f1b=_0x22ada8,_0x5afe5a=_0x571fb8[_0x513f1b(0x219)](_0x18d97c,_0x236907,_0x4723e4);if(_0x5afe5a){const _0x5209e5={'config':Object[_0x513f1b(0x1fd)]({},_0x5afe5a[_0x513f1b(0x282)],_0x212725[_0x513f1b(0x282)]),'sparklines':new _0x22eb4a['ObjectMatrix'](_0x5afe5a[_0x513f1b(0x29a)][_0x513f1b(0x215)]())};_0x571fb8[_0x513f1b(0x1f9)](_0x18d97c,_0x236907,[_0x4723e4],_0x5209e5);}}),!0x0;}},_0xf0e6cc={'id':_0x174711(0x24a),'type':_0x22eb4a[_0x174711(0x214)][_0x174711(0x1f6)],'handler':(_0x5eb827,_0x434fe4)=>{const _0x2ce7db=_0x174711;var _0x461735,_0xc2c0c8,_0xfe445b,_0x1d950a;if(!_0x434fe4)return!0x1;const _0x3b0207=_0x5eb827[_0x2ce7db(0x26f)](_0x22eb4a[_0x2ce7db(0x203)]),_0x1c916c=_0x5eb827[_0x2ce7db(0x26f)](_0x511e1c[_0x2ce7db(0x233)]),_0x17f286=_0x5eb827['get'](_0x263c9e[_0x2ce7db(0x249)]),_0xdba372=_0x5eb827['get'](_0x22eb4a['IUniverInstanceService']),_0x53c1a9=_0x5eb827['get'](_0x22eb4a[_0x2ce7db(0x26e)]),_0x5e2d59=_0x511e1c[_0x2ce7db(0x257)](_0xdba372);if(!_0x5e2d59)return!0x1;const {unitId:_0x29d36d,subUnitId:_0x4b135c}=_0x5e2d59,_0xe1a15e=(_0x461735=_0x434fe4==null?void 0x0:_0x434fe4['ranges'])!=null?_0x461735:_0x1c916c['getCurrentSelections']()[_0x2ce7db(0x27a)](_0x264b2c=>_0x264b2c[_0x2ce7db(0x2a8)]),_0x27d81c=(_0xc2c0c8=_0x17f286['getSparklineCache']()[_0x2ce7db(0x2a5)][_0x2ce7db(0x26f)](_0x29d36d))==null?void 0x0:_0xc2c0c8[_0x2ce7db(0x26f)](_0x4b135c),{isChangeDataSource:_0x3d71a7,config:_0x306213,combine:_0x271dec,unCombine:_0x2eca00}=_0x434fe4;if(_0x271dec){const _0x4aca64=[],_0x23b739=[];_0x4aca64[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'ranges':_0xe1a15e,'isSingle':!0x0}});const _0x3d7e74='g_'+_0x22eb4a[_0x2ce7db(0x267)](0x6),_0x23d38b=new _0x22eb4a['ObjectMatrix'](),_0xeaf7a7=(_0xfe445b=_0x17f286['getSparklineCache']()['sparklineModel'][_0x2ce7db(0x26f)](_0x29d36d))==null?void 0x0:_0xfe445b['get'](_0x4b135c),_0x10bc0a=new Set([_0x3d7e74]),_0x5d0198={};return _0xe1a15e[_0x2ce7db(0x22a)](_0x4563a4=>{const _0x261676=_0x2ce7db;var _0x564306,_0x3bbcb8;const {startRow:_0x47aada,endRow:_0x85149c,startColumn:_0x528c60,endColumn:_0x3a492a}=_0x4563a4;for(let _0x5f1322=_0x47aada;_0x5f1322<=_0x85149c;_0x5f1322++)for(let _0x1c6c5f=_0x528c60;_0x1c6c5f<=_0x3a492a;_0x1c6c5f++){const _0x4ddd96=(_0x564306=_0x27d81c==null?void 0x0:_0x27d81c[_0x261676(0x1d7)]['getValue'](_0x5f1322,_0x1c6c5f))==null?void 0x0:_0x564306['groupId'];if(_0x4ddd96){_0x10bc0a[_0x261676(0x280)](_0x4ddd96);const _0x21ffdd=_0x17f286[_0x261676(0x219)](_0x29d36d,_0x4b135c,_0x4ddd96);_0x21ffdd&&(_0x5d0198[_0x4ddd96]={'config':_0x22eb4a[_0x261676(0x2b9)]['deepClone'](_0x21ffdd[_0x261676(0x282)]),'sparklines':_0x22eb4a[_0x261676(0x2b9)][_0x261676(0x22b)](_0x21ffdd[_0x261676(0x29a)]['clone']())});const _0x36635a=(_0x3bbcb8=_0xeaf7a7==null?void 0x0:_0xeaf7a7[_0x261676(0x26f)](_0x4ddd96))==null?void 0x0:_0x3bbcb8[_0x261676(0x29a)][_0x261676(0x2c8)](_0x5f1322,_0x1c6c5f);_0x36635a&&_0x23d38b[_0x261676(0x25c)](_0x5f1322,_0x1c6c5f,_0x36635a);}}}),_0x4aca64[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'sparklineConfigMap':{[_0x3d7e74]:{'config':_0x22eb4a[_0x2ce7db(0x2b9)][_0x2ce7db(0x22b)](_0x306213[_0x2ce7db(0x282)]),'sparklines':_0x23d38b[_0x2ce7db(0x20f)]()}},'unitId':_0x29d36d,'subUnitId':_0x4b135c}}),_0x23b739[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'isSingle':!0x1,'groupIds':Array['from'](_0x10bc0a)}}),_0x23b739[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':_0x5d0198}}),_0x22eb4a[_0x2ce7db(0x2a3)](_0x4aca64,_0x3b0207),_0x53c1a9[_0x2ce7db(0x1fc)]({'unitID':_0x29d36d,'undoMutations':_0x23b739,'redoMutations':_0x4aca64}),!0x0;}else{if(_0x2eca00){const _0x475549=[],_0x39d3ae=[];_0x475549[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'ranges':_0xe1a15e,'isSingle':!0x0}});const _0x3cd147=(_0x1d950a=_0x17f286[_0x2ce7db(0x243)]()['sparklineModel']['get'](_0x29d36d))==null?void 0x0:_0x1d950a[_0x2ce7db(0x26f)](_0x4b135c),_0x1e2603={},_0x68568c=new Set(),_0x14a362={};return _0xe1a15e['forEach'](_0x41fbe3=>{const _0x256a37=_0x2ce7db;var _0x1a68b2,_0x1f0a72;const {startRow:_0x257a5f,endRow:_0x3c01fb,startColumn:_0x2ec71a,endColumn:_0x288843}=_0x41fbe3;for(let _0x2bdcbe=_0x257a5f;_0x2bdcbe<=_0x3c01fb;_0x2bdcbe++)for(let _0x3988e7=_0x2ec71a;_0x3988e7<=_0x288843;_0x3988e7++){const _0x556b04=(_0x1a68b2=_0x27d81c==null?void 0x0:_0x27d81c[_0x256a37(0x1d7)][_0x256a37(0x2c8)](_0x2bdcbe,_0x3988e7))==null?void 0x0:_0x1a68b2['groupId'];if(_0x556b04){const _0x1d0d69=new _0x22eb4a[(_0x256a37(0x26a))](),_0x585063='g_'+_0x22eb4a[_0x256a37(0x267)](0x6);_0x68568c[_0x256a37(0x280)](_0x556b04),_0x68568c[_0x256a37(0x280)](_0x585063);const _0x2dda7b=_0x17f286[_0x256a37(0x219)](_0x29d36d,_0x4b135c,_0x556b04);_0x2dda7b&&(_0x14a362[_0x556b04]={'config':_0x22eb4a[_0x256a37(0x2b9)]['deepClone'](_0x2dda7b[_0x256a37(0x282)]),'sparklines':_0x22eb4a['Tools']['deepClone'](_0x2dda7b['sparklines']['clone']())});const _0x54be68=(_0x1f0a72=_0x3cd147==null?void 0x0:_0x3cd147[_0x256a37(0x26f)](_0x556b04))==null?void 0x0:_0x1f0a72['sparklines']['getValue'](_0x2bdcbe,_0x3988e7);_0x54be68&&_0x1d0d69[_0x256a37(0x25c)](_0x2bdcbe,_0x3988e7,_0x54be68),_0x1e2603[_0x585063]={'sparklines':_0x1d0d69['getMatrix'](),'config':_0x22eb4a[_0x256a37(0x2b9)][_0x256a37(0x22b)](_0x306213[_0x256a37(0x282)])};}}}),_0x475549[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':_0x1e2603}}),_0x39d3ae[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'isSingle':!0x1,'groupIds':Array[_0x2ce7db(0x2ce)](_0x68568c)}}),_0x39d3ae[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':_0x14a362}}),_0x22eb4a['sequenceExecute'](_0x475549,_0x3b0207),_0x53c1a9[_0x2ce7db(0x1fc)]({'unitID':_0x29d36d,'undoMutations':_0x39d3ae,'redoMutations':_0x475549}),!0x0;}}if(_0x3d71a7){const _0x2f9672=_0x434fe4['changeDataSourceInfo'];if(!_0x2f9672)return!0x1;const {groupId:_0x544607,sourceRanges:_0x58a7da,targetRanges:_0x31c184,resetType:_0x21f226,primary:_0x454cdc}=_0x2f9672,_0x4b7ea7=[],_0x3c52cc=[];_0x4b7ea7[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'ranges':_0xe1a15e,'isSingle':!0x1,'groupIds':[_0x544607]}}),_0x3c52cc[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'ranges':_0xe1a15e,'isSingle':!0x1,'groupIds':[_0x544607]}});let _0x4cf96e;_0x21f226===_0x2ce7db(0x2c1)?(_0x4cf96e=new _0x22eb4a['ObjectMatrix'](_0x306213['sparklines'][_0x2ce7db(0x215)]()),_0x4cf96e[_0x2ce7db(0x1f2)](_0x454cdc[_0x2ce7db(0x26b)],_0x454cdc[_0x2ce7db(0x29c)]),_0x4cf96e[_0x2ce7db(0x25c)](_0x31c184[0x0][_0x2ce7db(0x2ac)],_0x31c184[0x0]['startColumn'],_0x58a7da[0x0])):_0x4cf96e=_0x207efd(_0x58a7da,_0x31c184);const _0x26d973={'config':_0x22eb4a[_0x2ce7db(0x2b9)][_0x2ce7db(0x22b)](_0x306213['config']),'sparklines':_0x4cf96e[_0x2ce7db(0x20f)]()},_0x1c5644={'config':_0x22eb4a['Tools'][_0x2ce7db(0x22b)](_0x306213[_0x2ce7db(0x282)]),'sparklines':_0x22eb4a['Tools'][_0x2ce7db(0x22b)](_0x306213[_0x2ce7db(0x29a)][_0x2ce7db(0x215)]())};_0x4b7ea7[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':{[_0x544607]:_0x26d973}}}),_0x3c52cc[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':{[_0x544607]:_0x1c5644}}}),_0x22eb4a['sequenceExecute'](_0x4b7ea7,_0x3b0207),_0x53c1a9['pushUndoRedo']({'unitID':_0x29d36d,'undoMutations':_0x3c52cc,'redoMutations':_0x4b7ea7});}else{const _0x27048f=[],_0x3a5880=[],_0x5b052b=new Set(),_0xd375e8={};_0xe1a15e[_0x2ce7db(0x22a)](_0x324b39=>{const _0x9c73f=_0x2ce7db;var _0x3cdf12;const {startRow:_0x2e475c,endRow:_0x4246c1,startColumn:_0x3d02d4,endColumn:_0x2c0dd5}=_0x324b39;for(let _0x5afe42=_0x2e475c;_0x5afe42<=_0x4246c1;_0x5afe42++)for(let _0x25a56a=_0x3d02d4;_0x25a56a<=_0x2c0dd5;_0x25a56a++){const _0x4e777c=(_0x3cdf12=_0x27d81c==null?void 0x0:_0x27d81c[_0x9c73f(0x1d7)][_0x9c73f(0x2c8)](_0x5afe42,_0x25a56a))==null?void 0x0:_0x3cdf12['groupId'];if(_0x4e777c){_0x5b052b[_0x9c73f(0x280)](_0x4e777c);const _0x1c2374=_0x17f286[_0x9c73f(0x219)](_0x29d36d,_0x4b135c,_0x4e777c);_0x1c2374&&(_0xd375e8[_0x4e777c]={'config':_0x22eb4a['Tools']['deepClone'](_0x1c2374[_0x9c73f(0x282)]),'sparklines':_0x22eb4a['Tools'][_0x9c73f(0x22b)](_0x1c2374[_0x9c73f(0x29a)][_0x9c73f(0x215)]())});}}}),_0x3a5880['push']({'id':_0x298f92['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'groupIds':Array['from'](_0x5b052b),'config':{'config':_0x22eb4a[_0x2ce7db(0x2b9)][_0x2ce7db(0x22b)](_0x306213[_0x2ce7db(0x282)]),'sparklines':_0x306213[_0x2ce7db(0x29a)]['getMatrix']()}}}),_0x27048f[_0x2ce7db(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'isSingle':!0x1,'groupIds':Array['from'](_0x5b052b)}}),_0x27048f[_0x2ce7db(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x29d36d,'subUnitId':_0x4b135c,'sparklineConfigMap':_0xd375e8}}),_0x22eb4a[_0x2ce7db(0x2a3)](_0x3a5880,_0x3b0207),_0x53c1a9['pushUndoRedo']({'unitID':_0x29d36d,'undoMutations':_0x27048f,'redoMutations':_0x3a5880});}return!0x0;}};var _0x17c010=Object[_0x174711(0x222)],_0x44acc0=Object[_0x174711(0x286)],_0x21c52f=(_0x5ad530,_0x3efb26,_0x451822,_0x2303fb)=>{const _0x4d6beb=_0x174711;for(var _0x3d6bfc=_0x2303fb>0x1?void 0x0:_0x2303fb?_0x44acc0(_0x3efb26,_0x451822):_0x3efb26,_0x117635=_0x5ad530[_0x4d6beb(0x23f)]-0x1,_0x3d8df6;_0x117635>=0x0;_0x117635--)(_0x3d8df6=_0x5ad530[_0x117635])&&(_0x3d6bfc=(_0x2303fb?_0x3d8df6(_0x3efb26,_0x451822,_0x3d6bfc):_0x3d8df6(_0x3d6bfc))||_0x3d6bfc);return _0x2303fb&&_0x3d6bfc&&_0x17c010(_0x3efb26,_0x451822,_0x3d6bfc),_0x3d6bfc;},_0x11503d=(_0x20f4ae,_0x4d618c)=>(_0x394d18,_0x22f18d)=>_0x4d618c(_0x394d18,_0x22f18d,_0x20f4ae);let _0x784aa1=class extends _0x22eb4a['Disposable']{constructor(_0x620a1d,_0x42baeb,_0xbea499,_0x2abd40){const _0x316ffc=_0x174711;super(),this[_0x316ffc(0x1e0)]=_0x620a1d,this['_sheetInterceptorService']=_0x42baeb,this[_0x316ffc(0x2cb)]=_0xbea499,this[_0x316ffc(0x278)]=_0x2abd40,this['_initClearWithSparkline']();}[_0x174711(0x1e2)](){const _0x40528c=_0x174711;this[_0x40528c(0x208)](this[_0x40528c(0x216)][_0x40528c(0x252)]({'getMutations':_0x530d5e=>{const _0x8395e7=_0x40528c,_0x1a5732=[],_0x283aa5=[];if(_0x530d5e['id']===_0x511e1c['ClearSelectionAllCommand']['id']){const _0x4edf1e=_0x511e1c[_0x8395e7(0x257)](this[_0x8395e7(0x2cb)]);if(!_0x4edf1e)return{'redos':_0x1a5732,'undos':_0x283aa5};const {unitId:_0xdd41db,subUnitId:_0x389b51,worksheet:_0x4356ac}=_0x4edf1e,_0x298b85=this['_sheetSelectionService'][_0x8395e7(0x24c)]()['map'](_0x4c2e57=>_0x4c2e57[_0x8395e7(0x2a8)]),_0x181011=new Set(),_0x842f7f={},_0x1864e4={};_0x298b85[_0x8395e7(0x22a)](_0xc71134=>{const _0x5dcad9=_0x8395e7;_0x22eb4a[_0x5dcad9(0x285)]['foreach'](_0xc71134,(_0x3463ba,_0x4a5bbf)=>{const _0x44bb9d=_0x5dcad9,_0x1da9f8=this[_0x44bb9d(0x1e0)][_0x44bb9d(0x207)](_0xdd41db,_0x389b51,_0x3463ba,_0x4a5bbf);if(_0x1da9f8&&!_0x181011[_0x44bb9d(0x201)](_0x1da9f8)){const _0x19fed4=this['_sparklineDataSourceModel']['getSparklineById'](_0xdd41db,_0x389b51,_0x1da9f8);_0x19fed4&&(_0x181011[_0x44bb9d(0x280)](_0x1da9f8),_0x842f7f[_0x1da9f8]={'config':_0x22eb4a[_0x44bb9d(0x2b9)][_0x44bb9d(0x22b)](_0x19fed4[_0x44bb9d(0x282)]),'sparklines':_0x22eb4a[_0x44bb9d(0x2b9)]['deepClone'](_0x19fed4['sparklines'][_0x44bb9d(0x215)]())},_0x1864e4[_0x1da9f8]={'config':_0x22eb4a['Tools']['deepClone'](_0x19fed4[_0x44bb9d(0x282)]),'sparklines':_0x22eb4a[_0x44bb9d(0x2b9)]['deepClone'](_0x19fed4[_0x44bb9d(0x29a)][_0x44bb9d(0x215)]())});}});}),Object[_0x8395e7(0x1fe)](_0x1864e4)[_0x8395e7(0x22a)](_0x54624c=>{const _0x125113=_0x8395e7,_0x3a4a0d=_0x54624c[_0x125113(0x29a)];new _0x22eb4a[(_0x125113(0x26a))](_0x3a4a0d)[_0x125113(0x269)]((_0x537f11,_0x5643a1,_0x1e126b)=>{const _0x5ea47c=_0x125113;_0x298b85[_0x5ea47c(0x2a0)](_0x1b3e28=>_0x22eb4a[_0x5ea47c(0x1df)]['intersects'](_0x1b3e28,_0x22eb4a[_0x5ea47c(0x260)](_0x537f11,_0x5643a1)))&&delete _0x3a4a0d[_0x537f11][_0x5643a1];});}),_0x1a5732[_0x8395e7(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0xdd41db,'subUnitId':_0x389b51,'groupIds':Array[_0x8395e7(0x2ce)](_0x181011),'isSingle':!0x1}}),_0x1a5732[_0x8395e7(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0xdd41db,'subUnitId':_0x389b51,'sparklineConfigMap':_0x1864e4}}),_0x283aa5[_0x8395e7(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0xdd41db,'subUnitId':_0x389b51,'groupIds':Array[_0x8395e7(0x2ce)](_0x181011),'isSingle':!0x1}}),_0x283aa5['push']({'id':_0x3657ed['id'],'params':{'unitId':_0xdd41db,'subUnitId':_0x389b51,'sparklineConfigMap':_0x842f7f}});}return{'redos':_0x1a5732,'undos':_0x283aa5};}}));}};_0x784aa1=_0x21c52f([_0x11503d(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e['SparklineDataSourceModel'])),_0x11503d(0x1,_0x22eb4a['Inject'](_0x511e1c['SheetInterceptorService'])),_0x11503d(0x2,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a['IUniverInstanceService'])),_0x11503d(0x3,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c[_0x174711(0x233)]))],_0x784aa1);var _0x5b6e5c=Object['defineProperty'],_0x494900=Object[_0x174711(0x286)],_0x5e0d36=(_0x5001fc,_0x195986,_0x54cf2a,_0x1f5549)=>{const _0x158e65=_0x174711;for(var _0x254274=_0x1f5549>0x1?void 0x0:_0x1f5549?_0x494900(_0x195986,_0x54cf2a):_0x195986,_0x1e7652=_0x5001fc[_0x158e65(0x23f)]-0x1,_0x38c0e6;_0x1e7652>=0x0;_0x1e7652--)(_0x38c0e6=_0x5001fc[_0x1e7652])&&(_0x254274=(_0x1f5549?_0x38c0e6(_0x195986,_0x54cf2a,_0x254274):_0x38c0e6(_0x254274))||_0x254274);return _0x1f5549&&_0x254274&&_0x5b6e5c(_0x195986,_0x54cf2a,_0x254274),_0x254274;},_0x510564=(_0x5377de,_0x20d766)=>(_0x4c971a,_0x659f3e)=>_0x20d766(_0x4c971a,_0x659f3e,_0x5377de);let _0x15bab7=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x49797f,_0x10b1a5){const _0x3c7da7=_0x174711;super(),this[_0x3c7da7(0x216)]=_0x49797f,this[_0x3c7da7(0x1e0)]=_0x10b1a5,this[_0x3c7da7(0x292)]();}[_0x174711(0x292)](){const _0x582a45=_0x174711;this[_0x582a45(0x208)](this[_0x582a45(0x216)][_0x582a45(0x252)]({'getMutations':_0x3ba3c2=>{const _0xeb1b9=_0x582a45,_0x4d43ff=[],_0x440b39=[];if(_0x3ba3c2['id']===_0x511e1c[_0xeb1b9(0x2ab)]['id']){const _0x20d5d7=_0x3ba3c2[_0xeb1b9(0x202)];if(!_0x20d5d7)return{'redos':_0x4d43ff,'undos':_0x440b39};const {unitId:_0x22c014,subUnitId:_0x650a21,targetSubUnitId:_0x569aab}=_0x20d5d7;if(!_0x22c014||!_0x650a21||!_0x569aab)return{'redos':_0x4d43ff,'undos':_0x440b39};const _0x24428f=new Set(),_0x169de2={},_0x13a8ec=this[_0xeb1b9(0x1e0)][_0xeb1b9(0x239)](_0x22c014,_0x650a21);if(!_0x13a8ec)return{'redos':_0x4d43ff,'undos':_0x440b39};for(const [_0x4a238e,_0x542b02]of _0x13a8ec){const _0x269e76='g_'+_0x22eb4a[_0xeb1b9(0x267)](0x6);_0x24428f[_0xeb1b9(0x280)](_0x4a238e),_0x169de2[_0x269e76]={'config':_0x22eb4a[_0xeb1b9(0x2b9)][_0xeb1b9(0x22b)](_0x542b02['config']),'sparklines':_0x22eb4a[_0xeb1b9(0x2b9)][_0xeb1b9(0x22b)](_0x542b02['sparklines'][_0xeb1b9(0x215)]())};}_0x24428f[_0xeb1b9(0x25f)]&&(_0x440b39[_0xeb1b9(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x22c014,'subUnitId':_0x569aab,'groupIds':Array[_0xeb1b9(0x2ce)](_0x24428f),'isSingle':!0x1}}),_0x4d43ff[_0xeb1b9(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x22c014,'subUnitId':_0x569aab,'sparklineConfigMap':_0x169de2}}));}return{'redos':_0x4d43ff,'undos':_0x440b39};}}));}};_0x15bab7=_0x5e0d36([_0x510564(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c[_0x174711(0x29e)])),_0x510564(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e[_0x174711(0x249)]))],_0x15bab7);var _0xb8eeda=Object[_0x174711(0x222)],_0x476e69=Object[_0x174711(0x286)],_0x2628b1=(_0x634c8b,_0x275c97,_0x418548,_0x175181)=>{const _0x14ffc2=_0x174711;for(var _0x8add50=_0x175181>0x1?void 0x0:_0x175181?_0x476e69(_0x275c97,_0x418548):_0x275c97,_0x5817df=_0x634c8b[_0x14ffc2(0x23f)]-0x1,_0x2e9255;_0x5817df>=0x0;_0x5817df--)(_0x2e9255=_0x634c8b[_0x5817df])&&(_0x8add50=(_0x175181?_0x2e9255(_0x275c97,_0x418548,_0x8add50):_0x2e9255(_0x8add50))||_0x8add50);return _0x175181&&_0x8add50&&_0xb8eeda(_0x275c97,_0x418548,_0x8add50),_0x8add50;},_0x30b893=(_0x50674e,_0x56601f)=>(_0x589736,_0x15d541)=>_0x56601f(_0x589736,_0x15d541,_0x50674e);let _0x5de2c6=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x536d5d,_0x34274c,_0x1c5905){const _0x4265f0=_0x174711;super(),this[_0x4265f0(0x296)]=_0x536d5d,this[_0x4265f0(0x1e0)]=_0x34274c,this[_0x4265f0(0x253)]=_0x1c5905,this[_0x4265f0(0x2b2)](),this[_0x4265f0(0x246)]();}['_initDataChangeListener'](){const _0x57fee1=_0x174711;this[_0x57fee1(0x208)](this[_0x57fee1(0x296)][_0x57fee1(0x2b3)](_0xe49523=>{const _0x3cf9ee=_0x57fee1;if(_0xe49523['id']===_0x511e1c['SetRangeValuesMutation']['id']){const _0x2845f2=_0xe49523[_0x3cf9ee(0x202)],{cellValue:_0xc24788,unitId:_0x2653fb,subUnitId:_0xc78206}=_0x2845f2,_0x6ae46c=new _0x22eb4a[(_0x3cf9ee(0x26a))](_0xc24788),_0x2c2dc3=new Set(),_0x46383b=this['_sparklineDataSourceModel'][_0x3cf9ee(0x239)](_0x2653fb,_0xc78206);if(!_0x46383b)return;const _0x5de636=Array[_0x3cf9ee(0x2ce)](_0x46383b);_0x6ae46c[_0x3cf9ee(0x269)]((_0x40a292,_0x21a6d2,_0xb3f682)=>{const _0x201749=_0x3cf9ee,_0x2cc4cd=_0x22eb4a[_0x201749(0x260)](_0x40a292,_0x21a6d2);for(let _0x546d5e=0x0;_0x546d5e<_0x5de636[_0x201749(0x23f)];_0x546d5e++){const [_0x40185a,_0x496c65]=_0x5de636[_0x546d5e],_0x1e8fb0=_0x2c2dc3['has'](_0x40185a);_0x1e8fb0||_0x496c65[_0x201749(0x29a)][_0x201749(0x269)]((_0x4f82c2,_0x326a91,_0x3b4325)=>{const _0x14309c=_0x201749,_0x424b64=_0x3b4325;if(_0x424b64&&!_0x1e8fb0&&_0x22eb4a['Rectangle'][_0x14309c(0x1dc)](_0x2cc4cd,_0x424b64))return _0x2c2dc3['add'](_0x40185a),!0x0;});}}),_0x2c2dc3[_0x3cf9ee(0x22a)](_0x191100=>{const _0x28b165=_0x3cf9ee;this[_0x28b165(0x1e0)][_0x28b165(0x23e)](_0x2653fb,_0xc78206,_0x191100),this[_0x28b165(0x1e0)][_0x28b165(0x2d1)](_0x2653fb,_0xc78206,_0x191100);});}else{if(_0xe49523['id']===_0x511e1c[_0x3cf9ee(0x1fb)]['id']){const _0x1aa629=_0xe49523[_0x3cf9ee(0x202)],{range:_0x488797,unitId:_0xb676e1,subUnitId:_0x5cf1e5}=_0x1aa629,_0x4e5ad6=new Set(),_0x32b04b=this[_0x3cf9ee(0x1e0)][_0x3cf9ee(0x239)](_0xb676e1,_0x5cf1e5);if(!_0x32b04b)return;const _0x58823b=Array[_0x3cf9ee(0x2ce)](_0x32b04b);for(let _0x338ee1=0x0;_0x338ee1<_0x58823b['length'];_0x338ee1++){const [_0x15c005,_0xa3e59f]=_0x58823b[_0x338ee1],_0x10debf=_0x4e5ad6[_0x3cf9ee(0x201)](_0x15c005);_0x10debf||_0xa3e59f['sparklines']['forValue']((_0x11f71c,_0xdf34b6,_0x35cb40)=>{const _0x5ae7e5=_0x3cf9ee,_0x2aca29=_0x35cb40;if(_0x2aca29&&!_0x10debf&&_0x22eb4a[_0x5ae7e5(0x1df)][_0x5ae7e5(0x1dc)](_0x488797,_0x2aca29))return _0x4e5ad6[_0x5ae7e5(0x280)](_0x15c005),!0x0;});}_0x4e5ad6[_0x3cf9ee(0x22a)](_0x13b390=>{const _0x2415bc=_0x3cf9ee;this[_0x2415bc(0x1e0)][_0x2415bc(0x23e)](_0xb676e1,_0x5cf1e5,_0x13b390),this['_sparklineDataSourceModel'][_0x2415bc(0x2d1)](_0xb676e1,_0x5cf1e5,_0x13b390);});}}}));}[_0x174711(0x246)](){const _0x40a86c=_0x174711;this[_0x40a86c(0x208)](this[_0x40a86c(0x253)][_0x40a86c(0x20c)]['subscribe'](_0x14811f=>{const _0x33d439=_0x40a86c,{unitId:_0x1ea6a5,subUnitId:_0x1e0a8a,ranges:_0x47b082}=_0x14811f,_0x4dc358=this[_0x33d439(0x1e0)][_0x33d439(0x239)](_0x1ea6a5,_0x1e0a8a);if(!_0x4dc358)return;const _0x4f99ec=Array[_0x33d439(0x2ce)](_0x4dc358),_0x519ebf=new Set();for(let _0x165289=0x0;_0x165289<_0x4f99ec['length'];_0x165289++){const [_0x1c42fc,_0x36f40d]=_0x4f99ec[_0x165289],_0x9419ed=_0x519ebf[_0x33d439(0x201)](_0x1c42fc);_0x9419ed||_0x36f40d[_0x33d439(0x29a)]['forValue']((_0x1ab65e,_0x45cbb2,_0x114cef)=>{const _0x513b6e=_0x33d439,_0x3c0fca=_0x114cef;if(_0x3c0fca&&!_0x9419ed){for(const _0x287ee3 of _0x47b082)if(_0x22eb4a['Rectangle'][_0x513b6e(0x1dc)](_0x287ee3,_0x3c0fca)){_0x519ebf[_0x513b6e(0x280)](_0x1c42fc);break;}}});}_0x519ebf['forEach'](_0x302b4d=>{const _0x35dc1b=_0x33d439;this['_sparklineDataSourceModel'][_0x35dc1b(0x23e)](_0x1ea6a5,_0x1e0a8a,_0x302b4d),this['_sparklineDataSourceModel'][_0x35dc1b(0x2d1)](_0x1ea6a5,_0x1e0a8a,_0x302b4d);});}));}};_0x5de2c6=_0x2628b1([_0x30b893(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a['ICommandService'])),_0x30b893(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e[_0x174711(0x249)])),_0x30b893(0x2,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c[_0x174711(0x20b)]))],_0x5de2c6);var _0x59b88d=Object[_0x174711(0x222)],_0x23549a=Object['getOwnPropertyDescriptor'],_0x38cf74=(_0x1db579,_0x18201f,_0x53f5e5,_0x3ee836)=>{for(var _0x309742=_0x3ee836>0x1?void 0x0:_0x3ee836?_0x23549a(_0x18201f,_0x53f5e5):_0x18201f,_0x45d56a=_0x1db579['length']-0x1,_0x1a6421;_0x45d56a>=0x0;_0x45d56a--)(_0x1a6421=_0x1db579[_0x45d56a])&&(_0x309742=(_0x3ee836?_0x1a6421(_0x18201f,_0x53f5e5,_0x309742):_0x1a6421(_0x309742))||_0x309742);return _0x3ee836&&_0x309742&&_0x59b88d(_0x18201f,_0x53f5e5,_0x309742),_0x309742;},_0x28d34c=(_0x1eb4bd,_0x5be2f9)=>(_0x4cb7b4,_0x50d4fe)=>_0x5be2f9(_0x4cb7b4,_0x50d4fe,_0x1eb4bd);let _0x512301=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x419552,_0x518310){const _0x2050dc=_0x174711;super(),this[_0x2050dc(0x296)]=_0x419552,this[_0x2050dc(0x1e0)]=_0x518310,this[_0x2050dc(0x270)]();}['_initHideRowColWithSparkline'](){const _0x3ac49e=_0x174711;this[_0x3ac49e(0x296)][_0x3ac49e(0x2b3)](_0x14bb6f=>{const _0x581d37=_0x3ac49e;if(_0x14bb6f['id']===_0x511e1c['SetRowHiddenMutation']['id']||_0x14bb6f['id']===_0x511e1c['SetColHiddenMutation']['id']||_0x14bb6f['id']===_0x511e1c[_0x581d37(0x22f)]['id']||_0x14bb6f['id']===_0x511e1c['SetColVisibleMutation']['id']){const _0x5e3bf7=_0x14bb6f[_0x581d37(0x202)],{ranges:_0x4624d5,unitId:_0x559e43,subUnitId:_0x308ea8}=_0x5e3bf7,_0x10bd63=new Set(),_0x5b2425=this[_0x581d37(0x1e0)][_0x581d37(0x239)](_0x559e43,_0x308ea8);if(!_0x5b2425)return;const _0x34afa8=Array[_0x581d37(0x2ce)](_0x5b2425);_0x4624d5['forEach'](_0x53ec67=>{const _0x3a9046=_0x581d37;_0x22eb4a[_0x3a9046(0x285)][_0x3a9046(0x299)](_0x53ec67,(_0x4eccc8,_0x33aa1f)=>{const _0x166eeb=_0x3a9046,_0x5801b5=_0x22eb4a[_0x166eeb(0x260)](_0x4eccc8,_0x33aa1f);for(let _0x1643af=0x0;_0x1643af<_0x34afa8['length'];_0x1643af++){const [_0x217725,_0x2eb332]=_0x34afa8[_0x1643af],_0xf98f61=_0x10bd63[_0x166eeb(0x201)](_0x217725);_0xf98f61||_0x2eb332[_0x166eeb(0x29a)][_0x166eeb(0x269)]((_0x23d1f3,_0x258490,_0xbdc2ff)=>{const _0x3d6c81=_0x166eeb,_0xcfc522=_0xbdc2ff;if(_0xcfc522&&!_0xf98f61&&_0x22eb4a[_0x3d6c81(0x1df)][_0x3d6c81(0x1dc)](_0x5801b5,_0xcfc522))return _0x10bd63[_0x3d6c81(0x280)](_0x217725),!0x0;});}});}),_0x10bd63[_0x581d37(0x22a)](_0x3a8e1a=>{const _0x2c1bee=_0x581d37;this[_0x2c1bee(0x1e0)][_0x2c1bee(0x23e)](_0x559e43,_0x308ea8,_0x3a8e1a),this[_0x2c1bee(0x1e0)][_0x2c1bee(0x2d1)](_0x559e43,_0x308ea8,_0x3a8e1a);});}});}};_0x512301=_0x38cf74([_0x28d34c(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a[_0x174711(0x203)])),_0x28d34c(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e[_0x174711(0x249)]))],_0x512301);var _0x2efcc5=Object['defineProperty'],_0xdfa18a=Object['getOwnPropertyDescriptor'],_0x3fdc6d=(_0x9516c8,_0x131a16,_0x3e1d89,_0x5aa01d)=>{const _0x3c71b3=_0x174711;for(var _0xb117d4=_0x5aa01d>0x1?void 0x0:_0x5aa01d?_0xdfa18a(_0x131a16,_0x3e1d89):_0x131a16,_0x28f50d=_0x9516c8[_0x3c71b3(0x23f)]-0x1,_0x13c09c;_0x28f50d>=0x0;_0x28f50d--)(_0x13c09c=_0x9516c8[_0x28f50d])&&(_0xb117d4=(_0x5aa01d?_0x13c09c(_0x131a16,_0x3e1d89,_0xb117d4):_0x13c09c(_0xb117d4))||_0xb117d4);return _0x5aa01d&&_0xb117d4&&_0x2efcc5(_0x131a16,_0x3e1d89,_0xb117d4),_0xb117d4;},_0x28ce8e=(_0x505f0f,_0x32bb76)=>(_0x33a822,_0x4e6282)=>_0x32bb76(_0x33a822,_0x4e6282,_0x505f0f);let _0x171948=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x114ec3,_0x37352c,_0x208d4e){const _0x459382=_0x174711;super(),this['_commandService']=_0x114ec3,this[_0x459382(0x216)]=_0x37352c,this[_0x459382(0x1e0)]=_0x208d4e,this['_initMergeWithSparkline']();}['_initMergeWithSparkline'](){const _0x1abed1=_0x174711;this['disposeWithMe'](this[_0x1abed1(0x216)][_0x1abed1(0x252)]({'getMutations':_0x31ff52=>{const _0x3f4103=_0x1abed1,_0x36bf96=[],_0xdeb691=[];if(_0x31ff52['id']===_0x511e1c[_0x3f4103(0x2bf)]['id']){const _0x3b556d=_0x31ff52['params'];if(!_0x3b556d)return{'redos':_0x36bf96,'undos':_0xdeb691};const {unitId:_0x46ec85,subUnitId:_0x307d2b,ranges:_0x335e03}=_0x3b556d,_0xd19b05=this[_0x3f4103(0x1e0)][_0x3f4103(0x239)](_0x46ec85,_0x307d2b);if(!_0xd19b05)return{'redos':_0x36bf96,'undos':_0xdeb691};const _0x2ee8b8={},_0x5edf62={},_0x52cdf5=new Set();_0x335e03[_0x3f4103(0x22a)](_0x2b12a=>{const _0x4052cf=_0x3f4103,_0x4a159c=_0x2b12a[_0x4052cf(0x2ac)],_0x397711=_0x2b12a['startColumn'];_0x22eb4a[_0x4052cf(0x285)][_0x4052cf(0x299)](_0x2b12a,(_0x5f0b64,_0x1abab1)=>{const _0x563d16=_0x4052cf,_0x4999e5=this[_0x563d16(0x1e0)][_0x563d16(0x207)](_0x46ec85,_0x307d2b,_0x5f0b64,_0x1abab1);if(_0x4999e5&&!(_0x5f0b64===_0x4a159c&&_0x1abab1===_0x397711)){const _0x4687c3=this[_0x563d16(0x1e0)]['getSparklineById'](_0x46ec85,_0x307d2b,_0x4999e5);if(_0x4687c3){_0x52cdf5[_0x563d16(0x280)](_0x4999e5);let _0x2b6a94=_0x2ee8b8[_0x4999e5];_0x2b6a94||(_0x2b6a94={'config':_0x22eb4a[_0x563d16(0x2b9)]['deepClone'](_0x4687c3[_0x563d16(0x282)]),'sparklines':new _0x22eb4a[(_0x563d16(0x26a))](_0x4687c3[_0x563d16(0x29a)][_0x563d16(0x215)]())},_0x2ee8b8[_0x4999e5]=_0x2b6a94),_0x2b6a94[_0x563d16(0x29a)][_0x563d16(0x1f2)](_0x5f0b64,_0x1abab1),_0x5edf62[_0x4999e5]={'config':_0x22eb4a[_0x563d16(0x2b9)][_0x563d16(0x22b)](_0x4687c3[_0x563d16(0x282)]),'sparklines':_0x22eb4a['Tools'][_0x563d16(0x22b)](_0x4687c3[_0x563d16(0x29a)][_0x563d16(0x215)]())};}}});});for(const [_0x10495d,_0x525d3f]of _0xd19b05){const _0x560174=_0x525d3f['sparklines'];_0x560174[_0x3f4103(0x269)]((_0x2da41b,_0x2a32e2,_0x213eeb)=>{const _0x2faf3b=_0x3f4103;for(let _0xcfdfd7=0x0;_0xcfdfd7<_0x335e03[_0x2faf3b(0x23f)];_0xcfdfd7++){const _0x543ff5=_0x335e03[_0xcfdfd7];if(_0x22eb4a[_0x2faf3b(0x1df)][_0x2faf3b(0x1ea)](_0x543ff5,_0x213eeb)){_0x52cdf5[_0x2faf3b(0x280)](_0x10495d);let _0x544571=_0x2ee8b8[_0x10495d];_0x544571||(_0x544571={'config':_0x22eb4a[_0x2faf3b(0x2b9)][_0x2faf3b(0x22b)](_0x525d3f[_0x2faf3b(0x282)]),'sparklines':new _0x22eb4a[(_0x2faf3b(0x26a))](_0x560174[_0x2faf3b(0x215)]())},_0x2ee8b8[_0x10495d]=_0x544571),_0x544571['sparklines'][_0x2faf3b(0x1f2)](_0x2da41b,_0x2a32e2),_0x5edf62[_0x10495d]||(_0x5edf62[_0x10495d]={'config':_0x22eb4a[_0x2faf3b(0x2b9)]['deepClone'](_0x525d3f[_0x2faf3b(0x282)]),'sparklines':_0x22eb4a['Tools'][_0x2faf3b(0x22b)](_0x560174[_0x2faf3b(0x215)]())});}}});}const _0x180bd3={};Object[_0x3f4103(0x220)](_0x2ee8b8)[_0x3f4103(0x22a)](([_0x31da1c,_0x3d1606])=>{const _0x46beab=_0x3f4103;_0x3d1606['sparklines']['getSizeOf']()&&(_0x180bd3[_0x31da1c]={'config':_0x3d1606[_0x46beab(0x282)],'sparklines':_0x3d1606[_0x46beab(0x29a)][_0x46beab(0x215)]()});}),_0x52cdf5[_0x3f4103(0x25f)]&&(_0x36bf96[_0x3f4103(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x46ec85,'subUnitId':_0x307d2b,'groupIds':Array['from'](_0x52cdf5),'isSingle':!0x1}}),_0xdeb691[_0x3f4103(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x46ec85,'subUnitId':_0x307d2b,'groupIds':Array['from'](_0x52cdf5),'isSingle':!0x1}}),_0x36bf96[_0x3f4103(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x46ec85,'subUnitId':_0x307d2b,'sparklineConfigMap':_0x180bd3}}),_0xdeb691[_0x3f4103(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x46ec85,'subUnitId':_0x307d2b,'sparklineConfigMap':_0x5edf62}}));}return{'redos':_0x36bf96,'undos':_0xdeb691};}}));}};_0x171948=_0x3fdc6d([_0x28ce8e(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a['ICommandService'])),_0x28ce8e(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c['SheetInterceptorService'])),_0x28ce8e(0x2,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e[_0x174711(0x249)]))],_0x171948);var _0x592289=Object[_0x174711(0x222)],_0x54b882=Object['getOwnPropertyDescriptor'],_0x51a84f=(_0x1ce813,_0x5a81c8,_0x7551e2,_0x90541e)=>{const _0x552c38=_0x174711;for(var _0x3633b5=_0x90541e>0x1?void 0x0:_0x90541e?_0x54b882(_0x5a81c8,_0x7551e2):_0x5a81c8,_0x571ea8=_0x1ce813[_0x552c38(0x23f)]-0x1,_0x39edcc;_0x571ea8>=0x0;_0x571ea8--)(_0x39edcc=_0x1ce813[_0x571ea8])&&(_0x3633b5=(_0x90541e?_0x39edcc(_0x5a81c8,_0x7551e2,_0x3633b5):_0x39edcc(_0x3633b5))||_0x3633b5);return _0x90541e&&_0x3633b5&&_0x592289(_0x5a81c8,_0x7551e2,_0x3633b5),_0x3633b5;},_0x582b59=(_0x49c99b,_0xfc280a)=>(_0x440b3f,_0x5bdc1a)=>_0xfc280a(_0x440b3f,_0x5bdc1a,_0x49c99b);let _0x4ccaf2=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x26d545,_0x101c72,_0x58e400,_0x50a9ed,_0x4b1563){const _0x57db93=_0x174711;super(),_0x230513(this,_0x57db93(0x23a),new _0x22eb4a[(_0x57db93(0x212))]()),(this[_0x57db93(0x296)]=_0x26d545,this['_sheetInterceptorService']=_0x101c72,this['_refRangeService']=_0x58e400,this['_univerInstanceService']=_0x50a9ed,this[_0x57db93(0x1e0)]=_0x4b1563,this['_onRefRangeChange'](),this[_0x57db93(0x1f3)]());}[_0x174711(0x237)](){const _0x425854=_0x174711,_0x2d92b9=(_0x1d51c0,_0x504406)=>{const _0x3aaaad=_0x30f0,_0x5a651b=this[_0x3aaaad(0x2cb)][_0x3aaaad(0x1ee)](_0x22eb4a['UniverInstanceType']['UNIVER_SHEET']);if(!_0x5a651b||!(_0x5a651b==null?void 0x0:_0x5a651b[_0x3aaaad(0x261)](_0x504406)))return;this[_0x3aaaad(0x23a)][_0x3aaaad(0x247)]();const _0x41634a=_0x5c6457=>this[_0x3aaaad(0x1d5)](_0x5c6457,_0x1d51c0,_0x504406),_0x2be423=[],_0x354a54=this[_0x3aaaad(0x1e0)][_0x3aaaad(0x239)](_0x1d51c0,_0x504406);if(_0x354a54){for(const [_0x3c9a4f,_0x106fbc]of _0x354a54)_0x106fbc['sparklines'][_0x3aaaad(0x269)]((_0xad3b4f,_0x188c8a,_0x505239)=>{const _0x284271=_0x22eb4a['cellToRange'](_0xad3b4f,_0x188c8a);_0x2be423['push'](_0x284271);});_0x2be423['forEach'](_0x51176a=>{const _0x23566a=_0x3aaaad;this[_0x23566a(0x23a)][_0x23566a(0x280)](this[_0x23566a(0x294)]['registerRefRange'](_0x51176a,_0x41634a,_0x1d51c0,_0x504406));});}};this[_0x425854(0x208)](this[_0x425854(0x296)][_0x425854(0x2b3)](_0x6b426=>{const _0x32972b=_0x425854;if(_0x6b426['id']===_0x511e1c[_0x32972b(0x229)]['id']){const _0x4682f2=_0x6b426[_0x32972b(0x202)],_0x3394b1=_0x4682f2[_0x32972b(0x29d)],_0xe8e7c4=_0x4682f2['unitId'];if(!_0x3394b1||!_0xe8e7c4)return;_0x2d92b9(_0xe8e7c4,_0x3394b1);}if(_0x6b426['id']===_0x298f92['id']||_0x6b426['id']===_0x3657ed['id']){const _0x1407e2=_0x6b426[_0x32972b(0x202)],_0x88c7b7=_0x1407e2[_0x32972b(0x29d)],_0x372ef1=_0x1407e2[_0x32972b(0x2b7)];if(!_0x88c7b7||!_0x372ef1)return;_0x2d92b9(_0x372ef1,_0x88c7b7);}}));}['refRangeHandle'](_0x3ebba8,_0x24bbae,_0x40ad43){const _0x439497=_0x174711;switch(_0x3ebba8['id']){case _0x511e1c[_0x439497(0x27e)]['id']:return this[_0x439497(0x2b6)](_0x3ebba8[_0x439497(0x202)],_0x24bbae,_0x40ad43);case _0x511e1c[_0x439497(0x227)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x3ebba8[_0x439497(0x202)],_0x24bbae,_0x40ad43);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x499be7,_0x34d901,_0x52c5c7){const _0x4692fa=_0x174711;var _0x14d793,_0x21c154;const {range:_0x5f2856}=_0x499be7,_0x52814b=new Set(),_0xa92229={},_0x181697={},_0x1238cf=[],_0x4a676d=[],_0x1e5aa9=[],_0x3febfb=[];if(!_0x511e1c[_0x4692fa(0x257)](this[_0x4692fa(0x2cb)],{'unitId':_0x34d901,'subUnitId':_0x52c5c7}))return{'redos':_0x4a676d,'undos':_0x1238cf};const _0x1443e6=this['_sparklineDataSourceModel'][_0x4692fa(0x239)](_0x34d901,_0x52c5c7);if(!_0x1443e6)return{'redos':_0x4a676d,'undos':_0x1238cf};if(!((_0x21c154=(_0x14d793=this['_sparklineDataSourceModel'][_0x4692fa(0x243)]()[_0x4692fa(0x2a5)]['get'](_0x34d901))==null?void 0x0:_0x14d793[_0x4692fa(0x26f)](_0x52c5c7))==null?void 0x0:_0x21c154[_0x4692fa(0x1d7)]))return{'redos':_0x4a676d,'undos':_0x1238cf};for(const [_0x5f3414,_0x27cb4b]of _0x1443e6){const _0x393274=_0x27cb4b[_0x4692fa(0x29a)];_0x393274[_0x4692fa(0x269)]((_0x25d103,_0x48d589,_0x13886e)=>{const _0x15042e=_0x4692fa;if(_0x22eb4a['Rectangle'][_0x15042e(0x1dc)](_0x5f2856,_0x13886e)){_0x52814b['add'](_0x5f3414);let _0xc6759f=_0x181697[_0x5f3414];_0xc6759f||(_0xc6759f={'config':_0x27cb4b['config'],'sparklines':_0x27cb4b[_0x15042e(0x29a)][_0x15042e(0x215)]()},_0x181697[_0x5f3414]=_0xc6759f);let _0x26ad4a=_0xa92229[_0x5f3414];_0x26ad4a||(_0x26ad4a={'config':_0x27cb4b[_0x15042e(0x282)],'sparklines':new _0x22eb4a[(_0x15042e(0x26a))](_0x27cb4b[_0x15042e(0x29a)][_0x15042e(0x215)]())},_0xa92229[_0x5f3414]=_0x26ad4a);const _0x23429c=_0x511e1c['adjustRangeOnMutation'](_0x13886e,{'id':_0x511e1c[_0x15042e(0x22c)]['id'],'params':_0x499be7});_0x23429c?_0x26ad4a[_0x15042e(0x29a)][_0x15042e(0x25c)](_0x25d103,_0x48d589,_0x23429c):_0x26ad4a[_0x15042e(0x29a)][_0x15042e(0x25c)](_0x25d103,_0x48d589,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a[_0x15042e(0x2ba)][_0x15042e(0x200)]});}}),_0x393274[_0x4692fa(0x269)]((_0x456145,_0x341963,_0x369a45)=>{const _0x29aee2=_0x4692fa;if(_0x456145<=_0x5f2856[_0x29aee2(0x291)]&&_0x456145>=_0x5f2856[_0x29aee2(0x2ac)]){_0x52814b[_0x29aee2(0x280)](_0x5f3414);let _0x417d87=_0x181697[_0x5f3414];_0x417d87||(_0x417d87={'config':_0x27cb4b[_0x29aee2(0x282)],'sparklines':_0x27cb4b[_0x29aee2(0x29a)][_0x29aee2(0x215)]()},_0x181697[_0x5f3414]=_0x417d87);let _0x1e14ee=_0xa92229[_0x5f3414];_0x1e14ee||(_0x1e14ee={'config':_0x27cb4b[_0x29aee2(0x282)],'sparklines':new _0x22eb4a[(_0x29aee2(0x26a))](_0x27cb4b[_0x29aee2(0x29a)][_0x29aee2(0x215)]())},_0xa92229[_0x5f3414]=_0x1e14ee);}});}_0x3febfb[_0x4692fa(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x34d901,'subUnitId':_0x52c5c7,'groupIds':Array[_0x4692fa(0x2ce)](_0x52814b),'isSingle':!0x1}}),_0x1e5aa9[_0x4692fa(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x34d901,'subUnitId':_0x52c5c7,'groupIds':Array[_0x4692fa(0x2ce)](_0x52814b),'isSingle':!0x1}});const _0x15b9b0={};let _0x417f01=!0x1;return Object['entries'](_0xa92229)['forEach'](([_0x55ab3e,_0x187aeb])=>{const _0x520170=_0x4692fa;_0x187aeb[_0x520170(0x29a)]['getSizeOf']()&&(_0x417f01=!0x0,_0x187aeb[_0x520170(0x29a)][_0x520170(0x21d)](_0x5f2856['startRow'],_0x5f2856['endRow']-_0x5f2856['startRow']+0x1),_0x15b9b0[_0x55ab3e]={'config':_0x187aeb[_0x520170(0x282)],'sparklines':_0x187aeb['sparklines'][_0x520170(0x215)]()});}),_0x417f01&&_0x4a676d[_0x4692fa(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x34d901,'subUnitId':_0x52c5c7,'sparklineConfigMap':_0x15b9b0}}),_0x1238cf[_0x4692fa(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x34d901,'subUnitId':_0x52c5c7,'sparklineConfigMap':_0x181697}}),{'redos':_0x4a676d,'undos':_0x1238cf,'preRedos':_0x1e5aa9,'preUndos':_0x3febfb};}[_0x174711(0x2b6)](_0x3dfdb5,_0x2b36fc,_0x47d29f){const _0x56d8e1=_0x174711;var _0x29e0b7,_0x5abb3e;const {range:_0x2553e4}=_0x3dfdb5,_0x46dc9b=new Set(),_0x5b8efc={},_0x38921f={},_0x293e93=[],_0xf56f4e=[],_0x8470e2=[],_0x240077=[];if(!_0x511e1c[_0x56d8e1(0x257)](this[_0x56d8e1(0x2cb)],{'unitId':_0x2b36fc,'subUnitId':_0x47d29f}))return{'redos':_0xf56f4e,'undos':_0x293e93};const _0x508fbd=this[_0x56d8e1(0x1e0)]['getSubUnitSparkline'](_0x2b36fc,_0x47d29f);if(!_0x508fbd)return{'redos':_0xf56f4e,'undos':_0x293e93};if(!((_0x5abb3e=(_0x29e0b7=this['_sparklineDataSourceModel'][_0x56d8e1(0x243)]()[_0x56d8e1(0x2a5)][_0x56d8e1(0x26f)](_0x2b36fc))==null?void 0x0:_0x29e0b7[_0x56d8e1(0x26f)](_0x47d29f))==null?void 0x0:_0x5abb3e['matrix']))return{'redos':_0xf56f4e,'undos':_0x293e93};for(const [_0x5180d4,_0x2d0b0a]of _0x508fbd){const _0x2ec7d2=_0x2d0b0a['sparklines'];_0x2ec7d2['forValue']((_0x3dd9bb,_0x2ea56c,_0x32af13)=>{const _0x2d8e08=_0x56d8e1;if(_0x22eb4a[_0x2d8e08(0x1df)][_0x2d8e08(0x1dc)](_0x2553e4,_0x32af13)){_0x46dc9b[_0x2d8e08(0x280)](_0x5180d4);let _0x1f01b7=_0x38921f[_0x5180d4];_0x1f01b7||(_0x1f01b7={'config':_0x2d0b0a[_0x2d8e08(0x282)],'sparklines':_0x2d0b0a['sparklines'][_0x2d8e08(0x215)]()},_0x38921f[_0x5180d4]=_0x1f01b7);let _0x428f8b=_0x5b8efc[_0x5180d4];_0x428f8b||(_0x428f8b={'config':_0x2d0b0a['config'],'sparklines':new _0x22eb4a[(_0x2d8e08(0x26a))](_0x2d0b0a[_0x2d8e08(0x29a)][_0x2d8e08(0x215)]())},_0x5b8efc[_0x5180d4]=_0x428f8b);const _0x2e80b7=_0x511e1c[_0x2d8e08(0x21b)](_0x32af13,{'id':_0x511e1c[_0x2d8e08(0x287)]['id'],'params':_0x3dfdb5});_0x2e80b7?_0x428f8b['sparklines'][_0x2d8e08(0x25c)](_0x3dd9bb,_0x2ea56c,_0x2e80b7):_0x428f8b[_0x2d8e08(0x29a)][_0x2d8e08(0x25c)](_0x3dd9bb,_0x2ea56c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a[_0x2d8e08(0x2ba)][_0x2d8e08(0x200)]});}}),_0x2ec7d2['forValue']((_0x18f120,_0x1e5a6b,_0x24019c)=>{const _0xe657b9=_0x56d8e1;if(_0x1e5a6b<=_0x2553e4[_0xe657b9(0x21c)]&&_0x1e5a6b>=_0x2553e4['startColumn']){_0x46dc9b[_0xe657b9(0x280)](_0x5180d4);let _0x5343df=_0x38921f[_0x5180d4];_0x5343df||(_0x5343df={'config':_0x2d0b0a[_0xe657b9(0x282)],'sparklines':_0x2d0b0a['sparklines']['clone']()},_0x38921f[_0x5180d4]=_0x5343df);let _0x50bf5b=_0x5b8efc[_0x5180d4];_0x50bf5b||(_0x50bf5b={'config':_0x2d0b0a[_0xe657b9(0x282)],'sparklines':new _0x22eb4a[(_0xe657b9(0x26a))](_0x2d0b0a[_0xe657b9(0x29a)][_0xe657b9(0x215)]())},_0x5b8efc[_0x5180d4]=_0x50bf5b);}});}_0x240077[_0x56d8e1(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x2b36fc,'subUnitId':_0x47d29f,'groupIds':Array['from'](_0x46dc9b),'isSingle':!0x1}}),_0x8470e2[_0x56d8e1(0x209)]({'id':_0x4428fe['id'],'params':{'unitId':_0x2b36fc,'subUnitId':_0x47d29f,'groupIds':Array['from'](_0x46dc9b),'isSingle':!0x1}});const _0x8dfd0c={};let _0x5588f8=!0x1;return Object[_0x56d8e1(0x220)](_0x5b8efc)[_0x56d8e1(0x22a)](([_0x102fb9,_0x53b864])=>{const _0xda3dd8=_0x56d8e1;_0x53b864[_0xda3dd8(0x29a)][_0xda3dd8(0x2b8)]()&&(_0x5588f8=!0x0,_0x53b864[_0xda3dd8(0x29a)][_0xda3dd8(0x205)](_0x2553e4[_0xda3dd8(0x27b)],_0x2553e4[_0xda3dd8(0x21c)]-_0x2553e4['startColumn']+0x1),_0x8dfd0c[_0x102fb9]={'config':_0x53b864[_0xda3dd8(0x282)],'sparklines':_0x53b864[_0xda3dd8(0x29a)]['clone']()});}),_0x5588f8&&_0xf56f4e[_0x56d8e1(0x209)]({'id':_0x3657ed['id'],'params':{'unitId':_0x2b36fc,'subUnitId':_0x47d29f,'sparklineConfigMap':_0x8dfd0c}}),_0x293e93['push']({'id':_0x3657ed['id'],'params':{'unitId':_0x2b36fc,'subUnitId':_0x47d29f,'sparklineConfigMap':_0x38921f}}),{'redos':_0xf56f4e,'undos':_0x293e93,'preRedos':_0x8470e2,'preUndos':_0x240077};}[_0x174711(0x1f3)](){const _0x4072ca=_0x174711;this[_0x4072ca(0x208)](this['_commandService'][_0x4072ca(0x2b3)](_0x28f0ae=>{const _0x21b817=_0x4072ca;if(_0x28f0ae['id']===_0x511e1c['InsertColMutation']['id']){const _0x5799bb=_0x28f0ae[_0x21b817(0x202)],{unitId:_0x4ccca1,subUnitId:_0x5e49aa,range:_0x6010b6}=_0x5799bb,_0x2e6019=_0x6010b6[_0x21b817(0x27b)],_0x4c6cf1=_0x6010b6[_0x21b817(0x21c)]-_0x6010b6[_0x21b817(0x27b)]+0x1,_0x1ae6d9=this['_sparklineDataSourceModel'][_0x21b817(0x239)](_0x4ccca1,_0x5e49aa);if(!_0x1ae6d9)return;for(const [_0x29514e,_0xf834ac]of _0x1ae6d9){this['_sparklineDataSourceModel'][_0x21b817(0x23e)](_0x4ccca1,_0x5e49aa,_0x29514e);const _0x555a9f=_0xf834ac[_0x21b817(0x29a)];_0x555a9f[_0x21b817(0x269)]((_0x13a716,_0x52b5ff,_0x1aaa07)=>{const _0x5e3716=_0x21b817,_0x5561c2={..._0x1aaa07};_0x2e6019<=_0x5561c2[_0x5e3716(0x27b)]?(_0x5561c2[_0x5e3716(0x27b)]+=_0x4c6cf1,_0x5561c2[_0x5e3716(0x21c)]+=_0x4c6cf1):_0x2e6019>_0x5561c2['endColumn']||(_0x5561c2['endColumn']+=_0x4c6cf1),_0x555a9f[_0x5e3716(0x25c)](_0x13a716,_0x52b5ff,_0x5561c2);});const _0x1ba157=_0x555a9f[_0x21b817(0x20f)]();for(const _0x1fa9ee in _0x1ba157){const _0xb7e059=_0x1ba157[Number(_0x1fa9ee)];if(!_0xb7e059)continue;const _0x1922aa=Object[_0x21b817(0x22e)](_0xb7e059)[_0x21b817(0x27a)](Number),_0x353c34=Math[_0x21b817(0x236)](..._0x1922aa);for(let _0x13c44c=_0x353c34;_0x13c44c>=_0x2e6019;_0x13c44c--)_0x13c44c>=_0x2e6019&&_0xb7e059[_0x13c44c]&&(_0xb7e059[_0x13c44c+_0x4c6cf1]=_0xb7e059[_0x13c44c],delete _0xb7e059[_0x13c44c]);}this[_0x21b817(0x1e0)]['updateSparklineExtraNum'](_0x4ccca1,_0x5e49aa,_0x29514e);}}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x2b1)]['id']){const _0x2a39e4=_0x28f0ae['params'],{unitId:_0x473734,subUnitId:_0xdd102e,range:_0x13e4ac}=_0x2a39e4,_0x42e28c=_0x13e4ac['startRow'],_0x100554=_0x13e4ac[_0x21b817(0x291)]-_0x13e4ac[_0x21b817(0x2ac)]+0x1,_0x3d3128=this[_0x21b817(0x1e0)][_0x21b817(0x239)](_0x473734,_0xdd102e);if(!_0x3d3128)return;for(const [_0x46fb13,_0x21ccd8]of _0x3d3128){this[_0x21b817(0x1e0)][_0x21b817(0x23e)](_0x473734,_0xdd102e,_0x46fb13);const _0x1190c9=_0x21ccd8[_0x21b817(0x29a)];_0x1190c9[_0x21b817(0x269)]((_0x235420,_0x2ab2a4,_0x1edffe)=>{const _0xfeba64=_0x21b817,_0x5c3528={..._0x1edffe};_0x42e28c<=_0x5c3528[_0xfeba64(0x2ac)]?(_0x5c3528['startRow']+=_0x100554,_0x5c3528[_0xfeba64(0x291)]+=_0x100554):_0x42e28c>_0x5c3528[_0xfeba64(0x291)]||(_0x5c3528[_0xfeba64(0x291)]+=_0x100554),_0x1190c9[_0xfeba64(0x25c)](_0x235420,_0x2ab2a4,_0x5c3528);});const _0x3c962f=_0x1190c9[_0x21b817(0x20f)](),_0x4b8554=Object['keys'](_0x3c962f)[_0x21b817(0x27a)](Number),_0x6f69d9=Math[_0x21b817(0x236)](..._0x4b8554);for(let _0x2b54f4=_0x6f69d9;_0x2b54f4>=_0x42e28c;_0x2b54f4--)_0x2b54f4>=_0x42e28c&&_0x3c962f[_0x2b54f4]&&(_0x3c962f[_0x2b54f4+_0x100554]=_0x3c962f[_0x2b54f4],delete _0x3c962f[_0x2b54f4]);this[_0x21b817(0x1e0)]['updateSparklineExtraNum'](_0x473734,_0xdd102e,_0x46fb13);}}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x287)]['id']){const _0x37755f=_0x28f0ae[_0x21b817(0x202)],{range:_0x33b8a1,unitId:_0x572a08,subUnitId:_0x458c10}=_0x37755f,_0x1daaf3=this['_sparklineDataSourceModel'][_0x21b817(0x239)](_0x572a08,_0x458c10);if(!_0x1daaf3)return;for(const [_0x3f404e,_0x21efbb]of _0x1daaf3){const _0x5f3975=_0x21efbb[_0x21b817(0x29a)];_0x5f3975['forValue']((_0x229efb,_0x439270,_0x3d0824)=>{const _0x308100=_0x21b817,_0x151704=_0x511e1c[_0x308100(0x21b)](_0x3d0824,_0x28f0ae);_0x151704?_0x5f3975[_0x308100(0x25c)](_0x229efb,_0x439270,_0x151704):_0x5f3975[_0x308100(0x25c)](_0x229efb,_0x439270,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a[_0x308100(0x2ba)]['NORMAL']});}),_0x5f3975[_0x21b817(0x205)](_0x33b8a1[_0x21b817(0x27b)],_0x33b8a1['endColumn']-_0x33b8a1[_0x21b817(0x27b)]+0x1);}this[_0x21b817(0x1e0)]['reBuildAnchorCache'](_0x572a08,_0x458c10);}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x22c)]['id']){const _0xcd2ad3=_0x28f0ae[_0x21b817(0x202)],{range:_0x1ddcc8,unitId:_0x402028,subUnitId:_0x934556}=_0xcd2ad3,_0x2c2e54=this[_0x21b817(0x1e0)][_0x21b817(0x239)](_0x402028,_0x934556);if(!_0x2c2e54)return;for(const [_0x43a58c,_0x3876b2]of _0x2c2e54){const _0x5975a0=_0x3876b2[_0x21b817(0x29a)];_0x5975a0[_0x21b817(0x269)]((_0x2d7539,_0x59978a,_0x76abf9)=>{const _0x25633b=_0x21b817,_0x502652=_0x511e1c['adjustRangeOnMutation'](_0x76abf9,_0x28f0ae);_0x502652?_0x5975a0[_0x25633b(0x25c)](_0x2d7539,_0x59978a,_0x502652):_0x5975a0[_0x25633b(0x25c)](_0x2d7539,_0x59978a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a['RANGE_TYPE']['NORMAL']});}),_0x5975a0[_0x21b817(0x21d)](_0x1ddcc8[_0x21b817(0x2ac)],_0x1ddcc8[_0x21b817(0x291)]-_0x1ddcc8['startRow']+0x1);}this[_0x21b817(0x1e0)][_0x21b817(0x266)](_0x402028,_0x934556);}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x276)]['id']){const _0x4e0b32=_0x28f0ae[_0x21b817(0x202)],{unitId:_0x32b89c,subUnitId:_0x105ed3,sourceRange:_0x95e97c,targetRange:_0x54a41c}=_0x4e0b32,_0xde8a7c=this[_0x21b817(0x1e0)][_0x21b817(0x239)](_0x32b89c,_0x105ed3);if(!_0xde8a7c)return;for(const [_0x24363f,_0x3cbacd]of _0xde8a7c){const _0x30a3a9=_0x3cbacd[_0x21b817(0x29a)];_0x30a3a9[_0x21b817(0x269)]((_0x15f0be,_0x177886,_0xade035)=>{const _0x4d12ee=_0x21b817,_0x1f9757=_0x511e1c[_0x4d12ee(0x21b)](_0xade035,_0x28f0ae);_0x1f9757?_0x30a3a9['setValue'](_0x15f0be,_0x177886,_0x1f9757):_0x30a3a9[_0x4d12ee(0x25c)](_0x15f0be,_0x177886,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a[_0x4d12ee(0x2ba)][_0x4d12ee(0x200)]});}),_0x30a3a9['moveColumns'](_0x95e97c[_0x21b817(0x27b)],_0x95e97c[_0x21b817(0x21c)]-_0x95e97c[_0x21b817(0x27b)]+0x1,_0x54a41c['startColumn']);}this[_0x21b817(0x1e0)][_0x21b817(0x266)](_0x32b89c,_0x105ed3);}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x25a)]['id']){const _0x280c5c=_0x28f0ae['params'],{unitId:_0x8e2f49,subUnitId:_0x33e4e5,sourceRange:_0x42bd75,targetRange:_0xf0f05d}=_0x280c5c,_0x28caee=this[_0x21b817(0x1e0)][_0x21b817(0x239)](_0x8e2f49,_0x33e4e5);if(!_0x28caee)return;for(const [_0x47a941,_0x2f156b]of _0x28caee){const _0x4bde8e=_0x2f156b[_0x21b817(0x29a)];_0x4bde8e[_0x21b817(0x269)]((_0x17bcb3,_0x2223a6,_0x34ead9)=>{const _0x40a29a=_0x21b817,_0x3222da=_0x511e1c[_0x40a29a(0x21b)](_0x34ead9,_0x28f0ae);_0x3222da?_0x4bde8e['setValue'](_0x17bcb3,_0x2223a6,_0x3222da):_0x4bde8e[_0x40a29a(0x25c)](_0x17bcb3,_0x2223a6,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x22eb4a['RANGE_TYPE'][_0x40a29a(0x200)]});}),_0x4bde8e[_0x21b817(0x22d)](_0x42bd75['startRow'],_0x42bd75[_0x21b817(0x291)]-_0x42bd75['startRow']+0x1,_0xf0f05d[_0x21b817(0x2ac)]);}this[_0x21b817(0x1e0)]['reBuildAnchorCache'](_0x8e2f49,_0x33e4e5);}else{if(_0x28f0ae['id']===_0x511e1c[_0x21b817(0x279)]['id']){const _0x156199=_0x28f0ae['params'],{fromRange:_0x228010,toRange:_0x5e39a3,unitId:_0x52e61b,from:_0x1f6445,to:_0x2c8e3}=_0x156199;if(_0x1f6445[_0x21b817(0x29d)]!==_0x2c8e3[_0x21b817(0x29d)])return;const _0x13c602=_0x1f6445[_0x21b817(0x29d)],{startRow:_0x138134,endRow:_0x28940f,startColumn:_0x4648e3,endColumn:_0x142c16}=_0x228010,{startRow:_0x1c06d7,startColumn:_0x18ab65}=_0x5e39a3,_0x33805a=_0x1c06d7-_0x138134,_0x5ccfa4=_0x18ab65-_0x4648e3,_0x5f0132=this[_0x21b817(0x1e0)][_0x21b817(0x239)](_0x52e61b,_0x13c602);if(!(_0x5f0132!=null&&_0x5f0132['size']))return;for(let _0x28fea6=_0x138134;_0x28fea6<=_0x28940f;_0x28fea6++)for(let _0x2ab6b0=_0x4648e3;_0x2ab6b0<=_0x142c16;_0x2ab6b0++){const _0x4b524b=this[_0x21b817(0x1e0)]['getSparkline'](_0x52e61b,_0x13c602,_0x28fea6,_0x2ab6b0);if(_0x4b524b){const _0x456e4f=this[_0x21b817(0x1e0)]['getSparklineById'](_0x52e61b,_0x13c602,_0x4b524b);if(_0x456e4f){const _0x500a48=_0x456e4f['sparklines'][_0x21b817(0x2c8)](_0x28fea6,_0x2ab6b0);_0x500a48&&(_0x456e4f['sparklines']['setValue'](_0x28fea6+_0x33805a,_0x2ab6b0+_0x5ccfa4,_0x500a48),_0x456e4f[_0x21b817(0x29a)]['realDeleteValue'](_0x28fea6,_0x2ab6b0));}}}for(const [_0x53d829,_0x52f0a3]of _0x5f0132){const _0x447827=_0x52f0a3[_0x21b817(0x29a)];_0x447827[_0x21b817(0x269)]((_0x5702d3,_0x5ad37b,_0x543283)=>{const _0x5e9f72=_0x21b817,_0x389933={..._0x543283};_0x22eb4a[_0x5e9f72(0x1df)]['contains'](_0x228010,_0x543283)&&(_0x389933['startRow']+=_0x33805a,_0x389933[_0x5e9f72(0x291)]+=_0x33805a,_0x389933['startColumn']+=_0x5ccfa4,_0x389933[_0x5e9f72(0x21c)]+=_0x5ccfa4),_0x447827['setValue'](_0x5702d3,_0x5ad37b,_0x389933);});}this[_0x21b817(0x1e0)][_0x21b817(0x266)](_0x52e61b,_0x13c602);}}}}}}}}));}};_0x4ccaf2=_0x51a84f([_0x582b59(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a[_0x174711(0x203)])),_0x582b59(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c[_0x174711(0x29e)])),_0x582b59(0x2,_0x22eb4a[_0x174711(0x1e7)](_0x511e1c[_0x174711(0x25d)])),_0x582b59(0x3,_0x22eb4a[_0x174711(0x1e3)]),_0x582b59(0x4,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e['SparklineDataSourceModel']))],_0x4ccaf2);var _0x5618f7=Object['defineProperty'],_0x3242f6=Object[_0x174711(0x286)],_0x316495=(_0x177ea6,_0x2d3dec,_0x19f2d8,_0x535e11)=>{for(var _0x730e97=_0x535e11>0x1?void 0x0:_0x535e11?_0x3242f6(_0x2d3dec,_0x19f2d8):_0x2d3dec,_0x134f26=_0x177ea6['length']-0x1,_0x1dcfec;_0x134f26>=0x0;_0x134f26--)(_0x1dcfec=_0x177ea6[_0x134f26])&&(_0x730e97=(_0x535e11?_0x1dcfec(_0x2d3dec,_0x19f2d8,_0x730e97):_0x1dcfec(_0x730e97))||_0x730e97);return _0x535e11&&_0x730e97&&_0x5618f7(_0x2d3dec,_0x19f2d8,_0x730e97),_0x730e97;},_0x3f89cc=(_0x40e3e1,_0x154310)=>(_0x5bb2f5,_0x5e4587)=>_0x154310(_0x5bb2f5,_0x5e4587,_0x40e3e1);let _0x397069=class extends _0x22eb4a[_0x174711(0x277)]{constructor(_0x2e46a1,_0x4a8ed3){const _0x13418f=_0x174711;super(),this[_0x13418f(0x1f7)]=_0x2e46a1,this[_0x13418f(0x1e0)]=_0x4a8ed3,this[_0x13418f(0x20d)]();}[_0x174711(0x20d)](){const _0x4a96f4=_0x174711,_0x4abad2=_0x25ef8a=>{const _0x55a3ab=_0x30f0,_0x434678=this[_0x55a3ab(0x1e0)]['toJSON'](_0x25ef8a);return _0x434678?JSON[_0x55a3ab(0x1d8)](_0x434678):'';},_0x3c788d=_0x1f5633=>_0x1f5633?JSON[_0x4a96f4(0x2c7)](_0x1f5633):{};this['disposeWithMe'](this[_0x4a96f4(0x1f7)][_0x4a96f4(0x2c3)]({'toJson':_0x4abad2,'parseJson':_0x3c788d,'pluginName':_0x1560b3,'businesses':[_0x22eb4a[_0x4a96f4(0x2b0)]['UNIVER_SHEET']],'onLoad':(_0x2f2ac6,_0x14a47c)=>{const _0x28a4ca=_0x4a96f4;this[_0x28a4ca(0x1e0)][_0x28a4ca(0x28b)](_0x14a47c);},'onUnLoad':_0x2401c9=>{const _0x279952=_0x4a96f4;this[_0x279952(0x1e0)]['deleteUnit'](_0x2401c9);}}));}};_0x397069=_0x316495([_0x3f89cc(0x0,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a['IResourceManagerService'])),_0x3f89cc(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x263c9e[_0x174711(0x249)]))],_0x397069);var _0x5af440=Object[_0x174711(0x222)],_0x50fade=Object[_0x174711(0x286)],_0x31d88b=(_0x460622,_0x49324b,_0x26f1a8)=>_0x49324b in _0x460622?_0x5af440(_0x460622,_0x49324b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26f1a8}):_0x460622[_0x49324b]=_0x26f1a8,_0x3b1eb6=(_0x534e3e,_0x123eba,_0x334215,_0x2f6566)=>{const _0x1b7adb=_0x174711;for(var _0x439942=_0x2f6566>0x1?void 0x0:_0x2f6566?_0x50fade(_0x123eba,_0x334215):_0x123eba,_0x486b18=_0x534e3e[_0x1b7adb(0x23f)]-0x1,_0x593709;_0x486b18>=0x0;_0x486b18--)(_0x593709=_0x534e3e[_0x486b18])&&(_0x439942=(_0x2f6566?_0x593709(_0x123eba,_0x334215,_0x439942):_0x593709(_0x439942))||_0x439942);return _0x2f6566&&_0x439942&&_0x5af440(_0x123eba,_0x334215,_0x439942),_0x439942;},_0x4527da=(_0x2369fd,_0x561211)=>(_0x160aff,_0x20ad3f)=>_0x561211(_0x160aff,_0x20ad3f,_0x2369fd),_0x3904cb=(_0x32b078,_0x381579,_0x512b8d)=>_0x31d88b(_0x32b078,typeof _0x381579!=_0x174711(0x2a9)?_0x381579+'':_0x381579,_0x512b8d);_0x263c9e[_0x174711(0x2aa)]=class extends _0x22eb4a['Plugin']{constructor(_0x54dbd9={},_0x1df445,_0x514aae){const _0x2fc474=_0x174711;super(),this[_0x2fc474(0x2c0)]=_0x54dbd9,this['_injector']=_0x1df445,this['_commandService']=_0x514aae,this[_0x2fc474(0x297)](),this[_0x2fc474(0x288)]();}[_0x174711(0x297)](){const _0x2a5661=_0x174711;[[_0x263c9e[_0x2a5661(0x249)]],[_0x5de2c6],[_0x171948],[_0x784aa1],[_0x4ccaf2],[_0x512301],[_0x15bab7],[_0x397069]][_0x2a5661(0x22a)](_0x4d577b=>{const _0x5efbb3=_0x2a5661;this[_0x5efbb3(0x256)][_0x5efbb3(0x280)](_0x4d577b);}),_0x22eb4a[_0x2a5661(0x2b5)](this[_0x2a5661(0x256)],[[_0x397069]]);}[_0x174711(0x1ef)](){const _0x34fdf5=_0x174711;_0x22eb4a[_0x34fdf5(0x2b5)](this[_0x34fdf5(0x256)],[[_0x5de2c6],[_0x171948],[_0x784aa1],[_0x4ccaf2],[_0x512301],[_0x15bab7]]);}[_0x174711(0x288)](){const _0xafcc46=_0x174711;[_0x52aab6,_0x3657ed,_0x3a617e,_0x4428fe,_0xf0e6cc,_0x298f92][_0xafcc46(0x22a)](_0xa56bbd=>this[_0xafcc46(0x296)]['registerCommand'](_0xa56bbd));}},_0x3904cb(_0x263c9e['UniverSheetSparklinePlugin'],_0x174711(0x1db),_0x1560b3),_0x3904cb(_0x263c9e[_0x174711(0x2aa)],_0x174711(0x258),_0x22eb4a[_0x174711(0x2b0)][_0x174711(0x250)]),_0x263c9e[_0x174711(0x2aa)]=_0x3b1eb6([_0x22eb4a[_0x174711(0x268)](_0x1705a1['UniverLicensePlugin']),_0x4527da(0x1,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a[_0x174711(0x230)])),_0x4527da(0x2,_0x22eb4a[_0x174711(0x1e7)](_0x22eb4a[_0x174711(0x203)]))],_0x263c9e[_0x174711(0x2aa)]),_0x263c9e[_0x174711(0x1ed)]=_0x52aab6,_0x263c9e[_0x174711(0x27f)]=_0x3657ed,_0x263c9e[_0x174711(0x2ca)]=_0x1560b3,_0x263c9e[_0x174711(0x235)]=_0x3a617e,_0x263c9e[_0x174711(0x1f1)]=_0x4428fe,_0x263c9e[_0x174711(0x274)]=_0xf0e6cc,_0x263c9e[_0x174711(0x241)]=_0x298f92,_0x263c9e['SpacialShowAsEnum']=_0x122177,_0x263c9e['SparklineExtremumTypeEnum']=_0x5e47cf,_0x263c9e['SparklinePointsNames']=_0x2ba3c1,_0x263c9e[_0x174711(0x23d)]=_0x412337,_0x263c9e[_0x174711(0x2a1)]=_0x2a1f51,_0x263c9e[_0x174711(0x1dd)]=_0x2797b2,_0x263c9e['getSparklinePlacement']=_0x207efd,Object['defineProperty'](_0x263c9e,Symbol[_0x174711(0x29b)],{'value':_0x174711(0x259)});}));function _0x30f0(_0x29b8ce,_0x3b418d){const _0x243efb=_0x243e();return _0x30f0=function(_0x30f04b,_0x5d5703){_0x30f04b=_0x30f04b-0x1d4;let _0x30c51a=_0x243efb[_0x30f04b];return _0x30c51a;},_0x30f0(_0x29b8ce,_0x3b418d);}function _0x243e(){const _0xac106d=['getSheetBySheetId','PIE_CHART','GROUP_EXTREMUM','object','_updateConfig$','reBuildAnchorCache','generateRandomId','DependentOn','forValue','ObjectMatrix','actualRow','getCellRaw','toJSON','IUndoRedoService','get','_initHideRowColWithSparkline','FRESH','delete','910206xZJYKW','SetSheetSparklineCommand','next','MoveColsMutation','Disposable','_sheetSelectionService','MoveRangeMutation','map','startColumn','8440FCKTeB','sheet.mutation.add-sparkline','RemoveColCommand','AddSheetSparklineMutation','add','setAlpha','config','remove','12648540VSBadz','Range','getOwnPropertyDescriptor','RemoveColMutation','_initRegisterCommand','column','removePartSparkline','fromJSON','seriesColor','@univerjs/sheets','ZERO_VALUE','deleteUnit','extremumMin','endRow','_initCopySheetWithSparkline','extremumMax','_refRangeService','sheet.mutation.set-sparkline','_commandService','_initDependencies','CONNECT_WITH_LINE','foreach','sparklines','toStringTag','actualColumn','subUnitId','SheetInterceptorService','firstPoint','some','SparklineThemeTypeEnum','_sparklineAnchorMap','sequenceExecute','UniverCore','sparklineAnchorMap','rgb(252,117,60)','_ensureConfigMap','range','symbol','UniverSheetSparklinePlugin','CopySheetCommand','startRow','LINE_CHART','rgb(46,187,122)','standard','UniverInstanceType','InsertRowMutation','_initDataChangeListener','onCommandExecuted','function','touchDependencies','_getRefRangeMutationsByDeleteCols','unitId','getSizeOf','Tools','RANGE_TYPE','sheet.mutation.remove-sparkline','addSparkline','asObservable','MUTATION','AddWorksheetMergeCommand','_config','item','u-spacing','registerPluginResource','_sparklineModel','STRING','FORCE_STRING','parse','getValue','rgb(80,102,248)','PLUGIN_NAME','_univerInstanceService','rxjs','negativePoint','from','groupId','150063QlmrDs','updateSparklineExtraNum','rgb(236,100,169)','refRangeHandle','SELF_EXTREMUM','matrix','stringify','7985pBifZq','981bnBtHO','pluginName','intersects','SparklineTypeEnum','sheet.command.add-sparkline','Rectangle','_sparklineDataSourceModel','SOFT','_initClearWithSparkline','IUniverInstanceService','spacing','lastPoint','connect_with_line','Inject','rgb(49,106,246)','fresh','contains','5682789TfiHfT','isValidRange','AddSheetSparklineCommand','getCurrentUnitForType','onReady','PROFIT_AND_LOSS_CHART','RemoveSheetSparklineMutation','realDeleteValue','_initCorrectRangeWithSparkline','STANDARD','number','COMMAND','_resourceManagerService','rgb(124,66,147)','setSparkline','2995832Ciydpg','ReorderRangeMutation','pushUndoRedo','assign','values','emptyShowAs','NORMAL','has','params','ICommandService','822VWJyKD','removeColumns','row','getSparkline','disposeWithMe','push','ColorKit','IExclusiveRangeService','exclusiveRangesChange$','_initSnapshot','UniverProLicense','getMatrix','116WjebDs','rgb(30,177,189)','DisposableCollection','SHEET_SPARKLINE_PLUGIN','CommandType','clone','_sheetInterceptorService','distinctive','SPACING','getSparklineById','_ensureAnchorMatrix','adjustRangeOnMutation','endColumn','removeRows','lowPoint','value','entries','MIN_SAFE_INTEGER','defineProperty','themeType','[Sheet\x20Sparkline]:\x20Invalid\x20target','DISTINCTIVE','removeSparkline','RemoveRowCommand','u-connect','SetWorksheetActivateCommand','forEach','deepClone','RemoveRowMutation','moveRows','keys','SetRowVisibleMutation','Injector','custom','CellValueType','SheetsSelectionsService','getCell','RemoveSheetSparklineCommand','max','_onRefRangeChange','CUSTOM_EXTREMUM','getSubUnitSparkline','disposableCollection','MAX_SAFE_INTEGER','toRgbString','SparklineThemeMapping','clearSparklineCache','length','BAR_CHART','SetSheetSparklineMutation','rgb(248,190,21)','getSparklineCache','UniverProSheetsSparkline','updateConfig$','_initExclusiveRangeChange','dispose','ranges','SparklineDataSourceModel','sheet.command.set-sparkline','@univerjs/core','getCurrentSelections','min','set','BOOLEAN','UNIVER_SHEET','specialty','interceptCommand','_exclusiveRangeService','CUSTOM','@univerjs-pro/license','_injector','getSheetCommandTarget','type','Module','MoveRowsMutation','markersPoint','setValue','RefRangeService','exports','size','cellToRange'];_0x243e=function(){return _0xac106d;};return _0x243e();}
|
|
1
|
+
function _0x30c4(){const _0x360e2b=['4284432tdRQMZ','RANGE_TYPE','lastPoint','176211OaAwZM','addSparkline','RemoveRowCommand','61584AXylos','DISTINCTIVE','fresh','getRowVisible','AddWorksheetMergeCommand','Tools','5222651NCqVnp','CellValueType','SetColVisibleMutation','getCurrentSelections','deepClone','changeDataSourceInfo','sheet.command.add-sparkline','getSparklineCache','negativePoint','IUndoRedoService','sheet.command.remove-sparkline','max','_initHideRowColWithSparkline','highPoint','_onRefRangeChange','sparklineModel','endColumn','AddSheetSparklineCommand','specialty','sheet.mutation.add-sparkline','custom','getColVisible','UniverInstanceType','generateRandomId','getValue','realDeleteValue','ZERO_VALUE','_sparklineAnchorMap','_sparklineDataSourceModel','hasValue','241938RzvUEi','getSubUnitSparkline','248ozLEfU','IExclusiveRangeService','delete','@univerjs/sheets','remove','CommandType','rgb(80,102,248)','unitId','stringify','CONNECT_WITH_LINE','SPECIALTY','_exclusiveRangeService','removeSparkline','sheet.command.set-sparkline','SparklineDataSourceModel','_ensureConfigMap','CUSTOM_EXTREMUM','touchDependencies','interceptCommand','value','from','reBuildAnchorCache','RemoveSheetSparklineCommand','getCellRaw','forValue','removePartSparkline','set','values','RemoveColMutation','row','RefRangeService','config','UniverSheets','DependentOn','sheet.mutation.remove-sparkline','ranges','setSparkline','clone','u-connect','deleteUnit','Range','SheetsSelectionsService','type','ClearSelectionAllCommand','adjustRangeOnMutation','fromJSON','connect_with_line','IResourceManagerService','rgb(236,100,169)','nonNumShowAs','SetSheetSparklineCommand','dispose','BOOLEAN','_sheetSelectionService','registerCommand','keys','has','@univerjs-pro/license','getSparklineById','entries','endRow','rgb(49,106,246)','CUSTOM','every','cellToRange','_initMergeWithSparkline','number','SheetInterceptorService','NORMAL','STANDARD','min','map','459794xxGffe','moveRows','getSheetCommandTarget','IUniverInstanceService','Subject','contains','matrix','getOwnPropertyDescriptor','markersPoint','next','getMatrix','removeColumns','asObservable','@univerjs/core','SparklinePointsNames','MIN_SAFE_INTEGER','_getRefRangeMutationsByDeleteCols','Rectangle','item','[Sheet\x20Sparkline]:\x20Invalid\x20target','BAR_CHART','UniverSheetSparklinePlugin','SetWorksheetActivateCommand','extremumMin','RemoveColCommand','_resourceManagerService','SetRowVisibleMutation','ObjectMatrix','ICommandService','MoveColsMutation','_sheetInterceptorService','forEach','size','RemoveRowMutation','Module','PLUGIN_NAME','getSizeOf','SetColHiddenMutation','setAlpha','sequenceExecute','disposableCollection','_commandService','rxjs','setValue','length','SetRowHiddenMutation','sheet.mutation.set-sparkline','InsertRowMutation','_getRefRangeMutationsByDeleteRows','extremumMax','_initRegisterCommand','Disposable','UniverProSheetsSparkline','_initCopySheetWithSparkline','SparklineThemeTypeEnum','150ubWJhP','SpacialShowAsEnum','amd','pluginName','updateSparklineExtraNum','disposeWithMe','_refRangeService','toStringTag','sparklineAnchorMap','_initClearWithSparkline','actualRow','getCell','toJSON','foreach','clearSparklineCache','_config','FRESH','startColumn','MUTATION','exports','distinctive','SELF_EXTREMUM','_updateConfig$','pushUndoRedo','PROFIT_AND_LOSS_CHART','rgb(124,66,147)','RemoveSheetSparklineMutation','_initSnapshot','104382qvXaPZ','onCommandExecuted','startRow','exclusiveRangesChange$','sparklines','column','refRangeHandle','add','_sparklineModel','GROUP_EXTREMUM','symbol','isValidRange','params','standard','Inject','toRgbString','range','_initExclusiveRangeChange','assign','SetSheetSparklineMutation','containHiddenCells','Injector','rgb(46,187,122)','FORCE_STRING','push','u-spacing','_univerInstanceService','rgb(54,78,244)','_ensureAnchorMatrix','subUnitId','defineProperty','intersects','groupId','MAX_SAFE_INTEGER','AddSheetSparklineMutation','UNIVER_SHEET','UniverProLicense','SPACING','UniverCore','SOFT','getCurrentUnitForType','Plugin','getSparkline','COMMAND','_injector','updateConfig$','SetRangeValuesMutation','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','get','registerPluginResource','removeRows','function','PIE_CHART','_initDependencies'];_0x30c4=function(){return _0x360e2b;};return _0x30c4();}function _0x49d3(_0x4697b4,_0x868f81){const _0x30c497=_0x30c4();return _0x49d3=function(_0x49d35b,_0x21175c){_0x49d35b=_0x49d35b-0x1cf;let _0x11736f=_0x30c497[_0x49d35b];return _0x11736f;},_0x49d3(_0x4697b4,_0x868f81);}(function(_0x17c5eb,_0xdcab6c){const _0x38e744=_0x49d3,_0x32f629=_0x17c5eb();while(!![]){try{const _0x3d4563=parseInt(_0x38e744(0x218))/0x1+parseInt(_0x38e744(0x262))/0x2+-parseInt(_0x38e744(0x1f1))/0x3+parseInt(_0x38e744(0x1f4))/0x4*(parseInt(_0x38e744(0x299))/0x5)+parseInt(_0x38e744(0x1ee))/0x6+-parseInt(_0x38e744(0x1fa))/0x7+parseInt(_0x38e744(0x21a))/0x8*(-parseInt(_0x38e744(0x2b5))/0x9);if(_0x3d4563===_0xdcab6c)break;else _0x32f629['push'](_0x32f629['shift']());}catch(_0x2d6bd1){_0x32f629['push'](_0x32f629['shift']());}}}(_0x30c4,0x7605b),function(_0x5441c6,_0x4a9086){const _0x4f35c1=_0x49d3;typeof exports=='object'&&typeof module<'u'?_0x4a9086(exports,require('@univerjs-pro/license'),require(_0x4f35c1(0x26f)),require(_0x4f35c1(0x21d)),require(_0x4f35c1(0x28c))):typeof define==_0x4f35c1(0x1eb)&&define[_0x4f35c1(0x29b)]?define([_0x4f35c1(0x2ac),_0x4f35c1(0x253),_0x4f35c1(0x26f),_0x4f35c1(0x21d),_0x4f35c1(0x28c)],_0x4a9086):(_0x5441c6=typeof globalThis<'u'?globalThis:_0x5441c6||self,_0x4a9086(_0x5441c6[_0x4f35c1(0x296)]={},_0x5441c6[_0x4f35c1(0x1dc)],_0x5441c6[_0x4f35c1(0x1de)],_0x5441c6[_0x4f35c1(0x23a)],_0x5441c6['rxjs']));}(this,function(_0x58d9a0,_0x39c969,_0x5f1f01,_0x14fece,_0x219e04){'use strict';const _0x11b5f6=_0x49d3;var _0x3bc271=Object['defineProperty'],_0x57f313=(_0x1b6465,_0x27c9f6,_0x3f6283)=>_0x27c9f6 in _0x1b6465?_0x3bc271(_0x1b6465,_0x27c9f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f6283}):_0x1b6465[_0x27c9f6]=_0x3f6283,_0x465ab6=(_0x347949,_0x258627,_0x24ccd0)=>_0x57f313(_0x347949,typeof _0x258627!=_0x11b5f6(0x2bf)?_0x258627+'':_0x258627,_0x24ccd0);function _0x243e14(_0x315798,_0x133152){const _0x395431=_0x11b5f6,_0x47e654=new _0x5f1f01[(_0x395431(0x27d))](),_0x55f12f=[],_0x2f5d02=_0x315798[_0x395431(0x28e)]>0x1;let _0x2da659=0x0,_0x7657ae=0x0;for(const _0x4dac1a of _0x315798)_0x2da659+=_0x4dac1a[_0x395431(0x256)]-_0x4dac1a[_0x395431(0x2b7)]+0x1,_0x7657ae+=_0x4dac1a['endColumn']-_0x4dac1a[_0x395431(0x2aa)]+0x1;for(const _0x1fcbc3 of _0x133152)for(let _0xe0d503=_0x1fcbc3['startRow'];_0xe0d503<=_0x1fcbc3[_0x395431(0x256)];_0xe0d503++)for(let _0x3cf864=_0x1fcbc3[_0x395431(0x2aa)];_0x3cf864<=_0x1fcbc3[_0x395431(0x20a)];_0x3cf864++)_0x55f12f[_0x395431(0x1d0)]({'row':_0xe0d503,'column':_0x3cf864});if(_0x55f12f[_0x395431(0x28e)]===_0x2da659)_0x2f5d02?_0x55f12f[_0x395431(0x281)]((_0x5753b9,_0x147200)=>{const _0x4c4fd3=_0x395431,_0x24e370=_0x315798[_0x147200],_0xc663a8={'startRow':_0x24e370['startRow'],'startColumn':_0x24e370[_0x4c4fd3(0x2aa)],'endRow':_0x24e370[_0x4c4fd3(0x2b7)],'endColumn':_0x24e370['endColumn']};_0x47e654[_0x4c4fd3(0x28d)](_0x5753b9[_0x4c4fd3(0x237)],_0x5753b9[_0x4c4fd3(0x2ba)],_0xc663a8);}):_0x55f12f[_0x395431(0x281)]((_0x4f90c7,_0x4b2b90)=>{const _0x2bdc64=_0x395431,_0x1133cb=_0x315798[0x0],_0x1eee9a={'startRow':_0x1133cb[_0x2bdc64(0x2b7)]+_0x4b2b90,'startColumn':_0x1133cb[_0x2bdc64(0x2aa)],'endRow':_0x1133cb[_0x2bdc64(0x2b7)]+_0x4b2b90,'endColumn':_0x1133cb[_0x2bdc64(0x20a)]};_0x47e654['setValue'](_0x4f90c7[_0x2bdc64(0x237)],_0x4f90c7[_0x2bdc64(0x2ba)],_0x1eee9a);});else{if(_0x55f12f[_0x395431(0x28e)]===_0x7657ae)_0x2f5d02?_0x55f12f['forEach']((_0x430f82,_0x826089)=>{const _0x7a57e6=_0x395431,_0x54e527=_0x315798[_0x826089],_0xb34713={'startRow':_0x54e527[_0x7a57e6(0x2b7)],'startColumn':_0x54e527['startColumn'],'endRow':_0x54e527[_0x7a57e6(0x256)],'endColumn':_0x54e527['startColumn']};_0x47e654[_0x7a57e6(0x28d)](_0x430f82[_0x7a57e6(0x237)],_0x430f82['column'],_0xb34713);}):_0x55f12f[_0x395431(0x281)]((_0x547301,_0x313e55)=>{const _0x57804b=_0x395431,_0x278a8f=_0x315798[0x0],_0x25ad11={'startRow':_0x278a8f[_0x57804b(0x2b7)],'startColumn':_0x278a8f[_0x57804b(0x2aa)]+_0x313e55,'endRow':_0x278a8f[_0x57804b(0x256)],'endColumn':_0x278a8f['startColumn']+_0x313e55};_0x47e654['setValue'](_0x547301[_0x57804b(0x237)],_0x547301[_0x57804b(0x2ba)],_0x25ad11);});else{if(_0x55f12f[_0x395431(0x28e)]===_0x315798[_0x395431(0x28e)])_0x315798[_0x395431(0x259)](_0xf38bc3=>!(_0xf38bc3[_0x395431(0x2b7)]!==_0xf38bc3[_0x395431(0x256)]&&_0xf38bc3[_0x395431(0x2aa)]!==_0xf38bc3['endColumn']))&&_0x55f12f[_0x395431(0x281)]((_0x2d9b2a,_0x1abf98)=>{const _0x4a546b=_0x395431,_0x159119=_0x315798[_0x1abf98];_0x47e654[_0x4a546b(0x28d)](_0x2d9b2a[_0x4a546b(0x237)],_0x2d9b2a['column'],_0x159119);});else throw new Error(_0x395431(0x1e7));}}return _0x47e654;}const _0xfec1bb='SHEET_SPARKLINE_PLUGIN',_0x5a66ec={'standard':[_0x11b5f6(0x1d3),_0x11b5f6(0x24a)],'specialty':[_0x11b5f6(0x257),'rgb(30,177,189)'],'distinctive':[_0x11b5f6(0x2b2),'rgb(252,117,60)'],'soft':[_0x11b5f6(0x220),'rgb(244,104,249)'],'fresh':[_0x11b5f6(0x2cb),'rgb(248,190,21)']},_0x4df515=[_0x11b5f6(0x207),'firstPoint',_0x11b5f6(0x1f0),'lowPoint',_0x11b5f6(0x202),_0x11b5f6(0x26a)];var _0x4adf7f=(_0x1780c7=>(_0x1780c7[_0x11b5f6(0x25f)]='standard',_0x1780c7[_0x11b5f6(0x224)]=_0x11b5f6(0x20c),_0x1780c7[_0x11b5f6(0x1f5)]=_0x11b5f6(0x2ad),_0x1780c7[_0x11b5f6(0x1df)]='soft',_0x1780c7[_0x11b5f6(0x2a9)]=_0x11b5f6(0x1f6),_0x1780c7[_0x11b5f6(0x258)]=_0x11b5f6(0x20e),_0x1780c7))(_0x4adf7f||{}),_0xc56ef9=(_0x2eb324=>(_0x2eb324[_0x2eb324['LINE_CHART']=0x1]='LINE_CHART',_0x2eb324[_0x2eb324[_0x11b5f6(0x276)]=0x2]=_0x11b5f6(0x276),_0x2eb324[_0x2eb324[_0x11b5f6(0x2b1)]=0x3]=_0x11b5f6(0x2b1),_0x2eb324[_0x2eb324['PIE_CHART']=0x4]=_0x11b5f6(0x1ec),_0x2eb324))(_0xc56ef9||{}),_0x2cdbf8=(_0x2f7915=>(_0x2f7915[_0x11b5f6(0x1dd)]='spacing',_0x2f7915[_0x11b5f6(0x214)]='zero_value',_0x2f7915[_0x11b5f6(0x223)]=_0x11b5f6(0x248),_0x2f7915))(_0x2cdbf8||{}),_0xff8e44=(_0x451164=>(_0x451164[_0x451164[_0x11b5f6(0x2ae)]=0x1]=_0x11b5f6(0x2ae),_0x451164[_0x451164[_0x11b5f6(0x2be)]=0x2]='GROUP_EXTREMUM',_0x451164[_0x451164[_0x11b5f6(0x22a)]=0x3]=_0x11b5f6(0x22a),_0x451164))(_0xff8e44||{}),_0x183194=Object[_0x11b5f6(0x1d6)],_0x4c5860=Object[_0x11b5f6(0x269)],_0x5382cb=(_0x2c3a51,_0x2ab3a3,_0x35af5f,_0x560c15)=>{const _0x1b44b9=_0x11b5f6;for(var _0x290a6e=_0x560c15>0x1?void 0x0:_0x560c15?_0x4c5860(_0x2ab3a3,_0x35af5f):_0x2ab3a3,_0x44972b=_0x2c3a51[_0x1b44b9(0x28e)]-0x1,_0x1454f7;_0x44972b>=0x0;_0x44972b--)(_0x1454f7=_0x2c3a51[_0x44972b])&&(_0x290a6e=(_0x560c15?_0x1454f7(_0x2ab3a3,_0x35af5f,_0x290a6e):_0x1454f7(_0x290a6e))||_0x290a6e);return _0x560c15&&_0x290a6e&&_0x183194(_0x2ab3a3,_0x35af5f,_0x290a6e),_0x290a6e;},_0x21df45=(_0xb9dbe1,_0x313674)=>(_0x28edd6,_0x497eb4)=>_0x313674(_0x28edd6,_0x497eb4,_0xb9dbe1);_0x58d9a0[_0x11b5f6(0x228)]=class extends _0x5f1f01['Disposable']{constructor(_0x597c55){const _0x8d8a38=_0x11b5f6;super(),_0x465ab6(this,_0x8d8a38(0x2bd),new Map()),_0x465ab6(this,_0x8d8a38(0x215),new Map()),_0x465ab6(this,_0x8d8a38(0x2af),new _0x219e04[(_0x8d8a38(0x266))]()),_0x465ab6(this,_0x8d8a38(0x1e5),this[_0x8d8a38(0x2af)][_0x8d8a38(0x26e)]()),this[_0x8d8a38(0x1d2)]=_0x597c55;}[_0x11b5f6(0x229)](_0x5f4b7a,_0x434a69){const _0x579b87=_0x11b5f6;let _0x501257=this[_0x579b87(0x2bd)][_0x579b87(0x1e8)](_0x5f4b7a);_0x501257||(_0x501257=new Map(),this['_sparklineModel'][_0x579b87(0x234)](_0x5f4b7a,_0x501257));let _0xeeede0=_0x501257[_0x579b87(0x1e8)](_0x434a69);return _0xeeede0||(_0xeeede0=new Map(),_0x501257['set'](_0x434a69,_0xeeede0)),_0xeeede0;}['_ensureAnchorMatrix'](_0x295614,_0x476853){const _0x4626aa=_0x11b5f6;let _0x52a589=this['_sparklineAnchorMap']['get'](_0x295614);_0x52a589||(_0x52a589=new Map(),this[_0x4626aa(0x215)][_0x4626aa(0x234)](_0x295614,_0x52a589));let _0x508c93=_0x52a589[_0x4626aa(0x1e8)](_0x476853);return _0x508c93||(_0x508c93={'matrix':new _0x5f1f01[(_0x4626aa(0x27d))](),'extra':{}},_0x52a589['set'](_0x476853,_0x508c93)),_0x508c93;}[_0x11b5f6(0x29d)](_0x395711,_0x434e81,_0x51646b,_0xa5932f=_0x11b5f6(0x234)){const _0x855b2d=_0x11b5f6;var _0x5dda2b,_0x345b07,_0xb3f683,_0x2c1fe6,_0x24d803,_0x5c9440,_0x5831a4,_0x4177c1,_0x262b07,_0x4e6b38,_0x2679dc,_0x26d60a,_0x3b61c8;const _0x2501ef=(_0x345b07=(_0x5dda2b=this[_0x855b2d(0x2bd)][_0x855b2d(0x1e8)](_0x395711))==null?void 0x0:_0x5dda2b['get'](_0x434e81))==null?void 0x0:_0x345b07['get'](_0x51646b);if(!_0x2501ef)return;const _0xab79f6=_0x14fece[_0x855b2d(0x264)](this[_0x855b2d(0x1d2)],{'unitId':_0x395711,'subUnitId':_0x434e81});if(!_0xab79f6)throw new Error(_0x855b2d(0x275));const _0x22e0b0=this[_0x855b2d(0x1d4)](_0x395711,_0x434e81),{extra:_0x45b8b2,matrix:_0x111e68}=_0x22e0b0,{worksheet:_0x25880f}=_0xab79f6;let _0x5eb416=Number[_0x855b2d(0x271)],_0x52abe6=Number[_0x855b2d(0x1d9)];const _0x5bfa16=(_0xb3f683=_0x2501ef[_0x855b2d(0x239)][_0x855b2d(0x2c9)])!=null?_0xb3f683:!0x1;_0x2501ef['sparklines'][_0x855b2d(0x232)]((_0x2fdeb9,_0x2eeca3,_0xf7c37b)=>{const _0x5208bb=_0x855b2d;var _0x957232,_0x4506b6,_0x5dc1ea;const _0x4c5504=_0xf7c37b;let _0x30d790=Number[_0x5208bb(0x271)],_0x49a90a=Number[_0x5208bb(0x1d9)],_0x195a6b=0x0,_0x5b6a30=0x0;const _0x5e79f8=[];if(!_0x5f1f01[_0x5208bb(0x2c0)](_0x4c5504))_0x111e68[_0x5208bb(0x28d)](_0x2fdeb9,_0x2eeca3,{'groupId':_0x51646b,'data':[],'max':_0x30d790,'min':_0x49a90a,'highIndex':_0x195a6b,'lowIndex':_0x5b6a30,'negativeIndexes':_0x5e79f8});else{const _0x2eb029=[];for(let _0x120f46=_0x4c5504[_0x5208bb(0x2b7)];_0x120f46<=_0x4c5504[_0x5208bb(0x256)];_0x120f46++){for(let _0xdfe9d7=_0x4c5504['startColumn'];_0xdfe9d7<=_0x4c5504[_0x5208bb(0x20a)];_0xdfe9d7++){const _0x41b4d7=_0x25880f[_0x5208bb(0x1f7)](_0x120f46),_0x33ed95=_0x25880f[_0x5208bb(0x20f)](_0xdfe9d7);if(!_0x5bfa16&&(!_0x41b4d7||!_0x33ed95))continue;let _0x54d157=0x0;const _0x22161d=((_0x957232=_0x25880f[_0x5208bb(0x231)](_0x120f46,_0xdfe9d7))==null?void 0x0:_0x957232['v'])!==void 0x0?_0x25880f['getCellRaw'](_0x120f46,_0xdfe9d7):_0x25880f[_0x5208bb(0x2a4)](_0x120f46,_0xdfe9d7);if(!_0x22161d||_0x22161d['v']===void 0x0||_0x22161d['v']===null){const _0x165049=(_0x4506b6=_0x2501ef['config']['emptyShowAs'])!=null?_0x4506b6:_0x2cdbf8['SPACING'];_0x165049===_0x2cdbf8[_0x5208bb(0x214)]?_0x54d157=0x0:_0x165049===_0x2cdbf8[_0x5208bb(0x1dd)]?_0x54d157=_0x5208bb(0x1d1):_0x165049===_0x2cdbf8[_0x5208bb(0x223)]&&(_0x54d157=_0x5208bb(0x240));}else{if(_0x22161d['t']===_0x5f1f01[_0x5208bb(0x1fb)]['STRING']||_0x22161d['t']===_0x5f1f01[_0x5208bb(0x1fb)][_0x5208bb(0x1cf)]){const _0x23c3dc=(_0x5dc1ea=_0x2501ef[_0x5208bb(0x239)][_0x5208bb(0x24b)])!=null?_0x5dc1ea:_0x2cdbf8[_0x5208bb(0x1dd)];_0x23c3dc===_0x2cdbf8[_0x5208bb(0x214)]?_0x54d157=0x0:_0x23c3dc===_0x2cdbf8['SPACING']?_0x54d157='u-spacing':_0x23c3dc===_0x2cdbf8[_0x5208bb(0x223)]&&(_0x54d157=_0x5208bb(0x240));}else _0x22161d['t']===_0x5f1f01['CellValueType'][_0x5208bb(0x24e)]?_0x54d157=_0x22161d['v']?0x1:0x0:_0x54d157=_0x22161d['v'];}if(_0x2eb029[_0x5208bb(0x1d0)](_0x54d157),typeof _0x54d157==_0x5208bb(0x25c)){_0x30d790=Math[_0x5208bb(0x205)](_0x30d790,_0x54d157),_0x5eb416=Math[_0x5208bb(0x205)](_0x5eb416,_0x54d157),_0x52abe6=Math[_0x5208bb(0x260)](_0x52abe6,_0x54d157),_0x49a90a=Math[_0x5208bb(0x260)](_0x49a90a,_0x54d157);const _0x191623=typeof _0x2eb029[_0x195a6b]==_0x5208bb(0x25c)?Number(_0x2eb029[_0x195a6b]):Number[_0x5208bb(0x271)];_0x54d157>_0x191623&&(_0x195a6b=_0x2eb029[_0x5208bb(0x28e)]-0x1);const _0xa149a3=typeof _0x2eb029[_0x5b6a30]==_0x5208bb(0x25c)?Number(_0x2eb029[_0x5b6a30]):Number['MAX_SAFE_INTEGER'];_0x54d157<_0xa149a3&&(_0x5b6a30=_0x2eb029['length']-0x1),_0x54d157<0x0&&_0x5e79f8[_0x5208bb(0x1d0)](_0x2eb029[_0x5208bb(0x28e)]-0x1);}}_0x111e68[_0x5208bb(0x28d)](_0x2fdeb9,_0x2eeca3,{'groupId':_0x51646b,'data':_0x2eb029,'max':_0x30d790,'min':_0x49a90a,'highIndex':_0x195a6b,'lowIndex':_0x5b6a30,'negativeIndexes':_0x5e79f8});}}});let _0x166929=_0x5eb416;((_0x2c1fe6=_0x2501ef[_0x855b2d(0x239)][_0x855b2d(0x293)])==null?void 0x0:_0x2c1fe6[_0x855b2d(0x244)])===_0xff8e44[_0x855b2d(0x22a)]&&(_0x166929=(_0x5c9440=(_0x24d803=_0x2501ef[_0x855b2d(0x239)]['extremumMax'])==null?void 0x0:_0x24d803[_0x855b2d(0x22d)])!=null?_0x5c9440:_0x5eb416);let _0x1704cd=_0x52abe6;((_0x5831a4=_0x2501ef[_0x855b2d(0x239)][_0x855b2d(0x279)])==null?void 0x0:_0x5831a4[_0x855b2d(0x244)])===_0xff8e44[_0x855b2d(0x22a)]&&(_0x1704cd=(_0x262b07=(_0x4177c1=_0x2501ef[_0x855b2d(0x239)]['extremumMin'])==null?void 0x0:_0x4177c1[_0x855b2d(0x22d)])!=null?_0x262b07:_0x52abe6);const _0x4e3770=(_0x4e6b38=_0x2501ef['config']['themeType'])!=null?_0x4e6b38:_0x4adf7f[_0x855b2d(0x25f)],_0x2a60a1=(_0x3b61c8=(_0x26d60a=_0x2501ef[_0x855b2d(0x239)]['seriesColor'])!=null?_0x26d60a:(_0x2679dc=_0x5a66ec[_0x4e3770])==null?void 0x0:_0x2679dc[0x0])!=null?_0x3b61c8:_0x5a66ec[_0x855b2d(0x2c2)][0x0],_0x517dd6=new _0x5f1f01['ColorKit'](_0x2a60a1),_0x127be3=_0x517dd6[_0x855b2d(0x288)](0.2)[_0x855b2d(0x2c4)](),_0x325437=_0x517dd6[_0x855b2d(0x288)](0.05)[_0x855b2d(0x2c4)]();_0x45b8b2[_0x51646b]={'groupMax':_0x5eb416,'groupMin':_0x52abe6,'showMax':_0x166929,'showMin':_0x1704cd,'startGradient':_0x127be3,'endGradient':_0x325437},this[_0x855b2d(0x2af)][_0x855b2d(0x26b)]({'unitId':_0x395711,'subUnitId':_0x434e81,'groupId':_0x51646b,'config':_0x2501ef,'type':_0xa5932f});}['addSparkline'](_0x436e28,_0x4ac1bb,_0x1a85c5,_0x10ef6e){const _0x41ca8f=_0x11b5f6;this[_0x41ca8f(0x229)](_0x436e28,_0x4ac1bb)[_0x41ca8f(0x234)](_0x1a85c5,_0x10ef6e),this[_0x41ca8f(0x29d)](_0x436e28,_0x4ac1bb,_0x1a85c5,'add');}[_0x11b5f6(0x23e)](_0x1c3c31,_0x405129,_0x988b79,_0x3b819f){const _0x53d793=_0x11b5f6;var _0x1fd47b;const _0x503fa6=(_0x1fd47b=this['_sparklineModel']['get'](_0x1c3c31))==null?void 0x0:_0x1fd47b[_0x53d793(0x1e8)](_0x405129);_0x988b79[_0x53d793(0x281)](_0x223674=>{const _0x3a10af=_0x53d793;_0x503fa6!=null&&_0x503fa6[_0x3a10af(0x252)](_0x223674)&&(_0x503fa6[_0x3a10af(0x234)](_0x223674,_0x3b819f),this[_0x3a10af(0x29d)](_0x1c3c31,_0x405129,_0x223674));});}[_0x11b5f6(0x226)](_0x1f4f76,_0x53108f,_0x4c137b){const _0x2ea493=_0x11b5f6;var _0x3df3d1,_0x24163b;const _0x2e1fc7=this['_sparklineModel'][_0x2ea493(0x1e8)](_0x1f4f76);if(_0x2e1fc7){const _0x4904f0=_0x2e1fc7[_0x2ea493(0x1e8)](_0x53108f);if(_0x4904f0){_0x4904f0[_0x2ea493(0x21c)](_0x4c137b);const _0x3a37c5=(_0x3df3d1=this[_0x2ea493(0x215)][_0x2ea493(0x1e8)](_0x1f4f76))==null?void 0x0:_0x3df3d1[_0x2ea493(0x1e8)](_0x53108f);(_0x24163b=_0x3a37c5==null?void 0x0:_0x3a37c5['matrix'])==null||_0x24163b[_0x2ea493(0x232)]((_0x4dc23a,_0x5bff84,_0x452784)=>{const _0xd2a4b4=_0x2ea493;(_0x452784==null?void 0x0:_0x452784['groupId'])===_0x4c137b&&(_0x3a37c5==null||_0x3a37c5[_0xd2a4b4(0x268)][_0xd2a4b4(0x213)](_0x4dc23a,_0x5bff84));}),this['_updateConfig$']['next']({'unitId':_0x1f4f76,'subUnitId':_0x53108f,'groupId':_0x4c137b,'type':_0x2ea493(0x21e)});}}}[_0x11b5f6(0x233)](_0xaedefa,_0x5e3193,_0x65f1a0,_0xcc4f35){const _0x48e701=_0x11b5f6;var _0x3f05b7,_0x1503ea,_0x3676cb,_0x273b58;const _0x85c703=(_0x3f05b7=this[_0x48e701(0x215)][_0x48e701(0x1e8)](_0xaedefa))==null?void 0x0:_0x3f05b7[_0x48e701(0x1e8)](_0x5e3193),_0x2ef8c8=_0x85c703==null?void 0x0:_0x85c703[_0x48e701(0x268)]['getValue'](_0x65f1a0,_0xcc4f35);if(_0x2ef8c8){const {groupId:_0x11bec8}=_0x2ef8c8,_0x5a321c=(_0x1503ea=this[_0x48e701(0x2bd)][_0x48e701(0x1e8)](_0xaedefa))==null?void 0x0:_0x1503ea[_0x48e701(0x1e8)](_0x5e3193);(_0x3676cb=_0x5a321c==null?void 0x0:_0x5a321c['get'](_0x11bec8))==null||_0x3676cb[_0x48e701(0x2b9)][_0x48e701(0x213)](_0x65f1a0,_0xcc4f35),(_0x273b58=_0x5a321c==null?void 0x0:_0x5a321c[_0x48e701(0x1e8)](_0x11bec8))!=null&&_0x273b58['sparklines'][_0x48e701(0x217)]()||_0x5a321c==null||_0x5a321c['delete'](_0x11bec8),_0x85c703==null||_0x85c703[_0x48e701(0x268)][_0x48e701(0x213)](_0x65f1a0,_0xcc4f35),this[_0x48e701(0x2af)][_0x48e701(0x26b)]({'unitId':_0xaedefa,'subUnitId':_0x5e3193,'groupId':_0x11bec8,'type':_0x48e701(0x21e)});}}[_0x11b5f6(0x2a7)](_0x5e96b8,_0x9d37de,_0x6aa8b8){const _0x309cde=_0x11b5f6;var _0x5979bc,_0x306209,_0x4a2ab5,_0x1a74ca;const _0x2df86b=(_0x4a2ab5=(_0x306209=(_0x5979bc=this[_0x309cde(0x2bd)][_0x309cde(0x1e8)](_0x5e96b8))==null?void 0x0:_0x5979bc['get'](_0x9d37de))==null?void 0x0:_0x306209[_0x309cde(0x1e8)](_0x6aa8b8))==null?void 0x0:_0x4a2ab5[_0x309cde(0x2b9)],_0x6967ca=(_0x1a74ca=this[_0x309cde(0x215)][_0x309cde(0x1e8)](_0x5e96b8))==null?void 0x0:_0x1a74ca['get'](_0x9d37de);if(_0x2df86b&&_0x6967ca){const {matrix:_0x117096,extra:_0x4d9f1d}=_0x6967ca;_0x2df86b['forValue']((_0x1c8cf4,_0x2d0b72,_0x581219)=>{const _0x275eb1=_0x309cde;_0x117096[_0x275eb1(0x213)](_0x1c8cf4,_0x2d0b72);}),delete _0x4d9f1d[_0x6aa8b8];}}[_0x11b5f6(0x219)](_0x5ca911,_0x35ea11){const _0x39fd21=_0x11b5f6;var _0x23e76d;return(_0x23e76d=this[_0x39fd21(0x2bd)][_0x39fd21(0x1e8)](_0x5ca911))==null?void 0x0:_0x23e76d[_0x39fd21(0x1e8)](_0x35ea11);}['getSparklineById'](_0x3ec713,_0xa25738,_0x22c6bf){const _0x1570ed=_0x11b5f6;var _0x1a1b2f,_0x2d6d59;return(_0x2d6d59=(_0x1a1b2f=this[_0x1570ed(0x2bd)]['get'](_0x3ec713))==null?void 0x0:_0x1a1b2f[_0x1570ed(0x1e8)](_0xa25738))==null?void 0x0:_0x2d6d59[_0x1570ed(0x1e8)](_0x22c6bf);}[_0x11b5f6(0x1e2)](_0x27f9bf,_0xc215d8,_0x5dbd6a,_0x1a56bb){const _0x480706=_0x11b5f6;var _0x4ebd27,_0x4d9f96,_0x74450c;return(_0x74450c=(_0x4d9f96=(_0x4ebd27=this[_0x480706(0x215)]['get'](_0x27f9bf))==null?void 0x0:_0x4ebd27[_0x480706(0x1e8)](_0xc215d8))==null?void 0x0:_0x4d9f96[_0x480706(0x268)][_0x480706(0x212)](_0x5dbd6a,_0x1a56bb))==null?void 0x0:_0x74450c[_0x480706(0x1d8)];}[_0x11b5f6(0x22f)](_0x22478a,_0x1546b3){const _0x2a068b=_0x11b5f6;var _0x3f2513;const _0x298e8e=this[_0x2a068b(0x1d4)](_0x22478a,_0x1546b3);_0x298e8e[_0x2a068b(0x268)]['forValue']((_0x5f5d7d,_0x20830e,_0x2719d5)=>{const _0x2eaf7a=_0x2a068b;_0x298e8e[_0x2eaf7a(0x268)]['realDeleteValue'](_0x5f5d7d,_0x20830e);});const _0x396052=(_0x3f2513=this[_0x2a068b(0x2bd)][_0x2a068b(0x1e8)](_0x22478a))==null?void 0x0:_0x3f2513['get'](_0x1546b3);if(_0x396052){for(const [_0x69ff9,_0x5213e9]of _0x396052)this[_0x2a068b(0x29d)](_0x22478a,_0x1546b3,_0x69ff9);}}[_0x11b5f6(0x201)](){const _0x2b8ea2=_0x11b5f6;return{'sparklineModel':this[_0x2b8ea2(0x2bd)],'sparklineAnchorMap':this[_0x2b8ea2(0x215)]};}[_0x11b5f6(0x2a5)](_0x2365c8){const _0x39aa9e=_0x11b5f6,_0x233b25={};if(this[_0x39aa9e(0x2bd)][_0x39aa9e(0x252)](_0x2365c8)){_0x233b25[_0x2365c8]={};const _0xf89ec6=this[_0x39aa9e(0x2bd)][_0x39aa9e(0x1e8)](_0x2365c8);_0xf89ec6!=null&&_0xf89ec6[_0x39aa9e(0x282)]&&Array[_0x39aa9e(0x22e)](_0xf89ec6[_0x39aa9e(0x251)]())[_0x39aa9e(0x281)](_0x286e48=>{const _0x392421=_0x39aa9e;_0x233b25[_0x2365c8][_0x286e48]={};const _0x3ed815=_0xf89ec6['get'](_0x286e48);_0x3ed815!=null&&_0x3ed815['size']&&Array[_0x392421(0x22e)](_0x3ed815[_0x392421(0x251)]())[_0x392421(0x281)](_0x5646f2=>{const _0x388721=_0x392421,_0x477b86=_0x3ed815['get'](_0x5646f2);_0x477b86&&(_0x233b25[_0x2365c8][_0x286e48][_0x5646f2]={'config':_0x477b86['config'],'sparklines':_0x477b86[_0x388721(0x2b9)][_0x388721(0x26c)]()});});});}return _0x233b25;}[_0x11b5f6(0x247)](_0x4d8d20){const _0x58d736=_0x11b5f6;if(!_0x4d8d20)return;Object[_0x58d736(0x251)](_0x4d8d20)['forEach'](_0x350fcd=>{const _0x49bd2c=_0x58d736,_0x5cde88=_0x4d8d20[_0x350fcd];_0x5cde88&&Object[_0x49bd2c(0x251)](_0x5cde88)['forEach'](_0x8f480=>{const _0xec94e5=_0x49bd2c,_0x54e88e=_0x5cde88[_0x8f480];_0x54e88e&&Object['keys'](_0x54e88e)[_0xec94e5(0x281)](_0x5147ac=>{const _0x1bed10=_0xec94e5,_0x4906f5=_0x54e88e[_0x5147ac];if(_0x4906f5){const _0x2ce7e2={'config':_0x4906f5[_0x1bed10(0x239)],'sparklines':new _0x5f1f01['ObjectMatrix'](_0x4906f5[_0x1bed10(0x2b9)])};this[_0x1bed10(0x1f2)](_0x350fcd,_0x8f480,_0x5147ac,_0x2ce7e2);}});});});}['deleteUnit'](_0x1c5fb9){const _0x466c32=_0x11b5f6,_0x2e3a4c=this[_0x466c32(0x2bd)][_0x466c32(0x1e8)](_0x1c5fb9);if(_0x2e3a4c){for(const [_0x3ac646]of _0x2e3a4c){const _0x33ca10=_0x2e3a4c[_0x466c32(0x1e8)](_0x3ac646);if(_0x33ca10){for(const [_0x391453]of _0x33ca10)this[_0x466c32(0x2a7)](_0x1c5fb9,_0x3ac646,_0x391453);}}this[_0x466c32(0x2bd)][_0x466c32(0x21c)](_0x1c5fb9);}}},_0x58d9a0['SparklineDataSourceModel']=_0x5382cb([_0x21df45(0x0,_0x5f1f01['Inject'](_0x5f1f01[_0x11b5f6(0x265)]))],_0x58d9a0[_0x11b5f6(0x228)]);const _0x5e6b89={'id':_0x11b5f6(0x20d),'type':_0x5f1f01[_0x11b5f6(0x21f)]['MUTATION'],'handler':(_0x586ff5,_0x564f93)=>{const _0x52f420=_0x11b5f6;if(!_0x564f93)return!0x1;const {sparklineConfigMap:_0x2782b7,unitId:_0x1d5cd0,subUnitId:_0x56ae0e}=_0x564f93,_0x428fdc=_0x586ff5[_0x52f420(0x1e8)](_0x58d9a0[_0x52f420(0x228)]);return Object[_0x52f420(0x255)](_0x2782b7)['forEach'](([_0x441905,_0x43b8e7])=>{const _0x2c43a8=_0x52f420,_0x40f887={'config':_0x43b8e7['config'],'sparklines':new _0x5f1f01[(_0x2c43a8(0x27d))](_0x43b8e7['sparklines'])};_0x428fdc[_0x2c43a8(0x1f2)](_0x1d5cd0,_0x56ae0e,_0x441905,_0x40f887);}),!0x0;}},_0x18f36b={'id':_0x11b5f6(0x23c),'type':_0x5f1f01['CommandType'][_0x11b5f6(0x2ab)],'handler':(_0x4f4984,_0x33f0e4)=>{const _0x5ace57=_0x11b5f6;if(!_0x33f0e4)return!0x1;const {unitId:_0x22fd07,subUnitId:_0x5194b5,ranges:_0x3b32b6,isSingle:_0x52eb5f,groupIds:_0x5ce0ce}=_0x33f0e4,_0x2397b5=_0x4f4984[_0x5ace57(0x1e8)](_0x58d9a0[_0x5ace57(0x228)]);return _0x5ce0ce?(_0x5ce0ce['forEach'](_0x5a03e4=>{const _0x24d49e=_0x5ace57;_0x2397b5[_0x24d49e(0x226)](_0x22fd07,_0x5194b5,_0x5a03e4);}),!0x0):_0x3b32b6?(_0x3b32b6[_0x5ace57(0x281)](_0x397b4d=>{const _0x5dfa08=_0x5ace57;_0x5f1f01[_0x5dfa08(0x242)][_0x5dfa08(0x2a6)](_0x397b4d,(_0x229be9,_0x59346f)=>{const _0x3cd636=_0x5dfa08,_0x4a8dee=_0x2397b5['getSparkline'](_0x22fd07,_0x5194b5,_0x229be9,_0x59346f);_0x4a8dee&&(_0x52eb5f?_0x2397b5[_0x3cd636(0x233)](_0x22fd07,_0x5194b5,_0x229be9,_0x59346f):_0x2397b5[_0x3cd636(0x226)](_0x22fd07,_0x5194b5,_0x4a8dee));});}),!0x0):!0x1;}},_0x251ce4={'id':_0x11b5f6(0x200),'type':_0x5f1f01[_0x11b5f6(0x21f)][_0x11b5f6(0x1e3)],'handler':(_0x215ee0,_0x4502a2)=>{const _0x38a337=_0x11b5f6;if(!_0x4502a2)return!0x1;const {sourceRanges:_0x2eb7b1,targetRanges:_0x53e529,config:_0x2606d9}=_0x4502a2,_0x1e774b=_0x215ee0[_0x38a337(0x1e8)](_0x5f1f01[_0x38a337(0x203)]),_0xc159dd='g_'+_0x5f1f01[_0x38a337(0x211)](0x6),_0x44ee6d=_0x243e14(_0x2eb7b1,_0x53e529),_0x5ea694={'config':_0x2606d9!=null?_0x2606d9:{},'sparklines':_0x44ee6d[_0x38a337(0x26c)]()},_0x4107f4=_0x215ee0[_0x38a337(0x1e8)](_0x5f1f01[_0x38a337(0x265)]),_0x2f493e=_0x215ee0[_0x38a337(0x1e8)](_0x58d9a0[_0x38a337(0x228)]),_0x150587=_0x14fece[_0x38a337(0x264)](_0x4107f4);if(!_0x150587)return!0x1;const {unitId:_0x11ab42,subUnitId:_0x16d46f}=_0x150587,_0x2e1c9f=_0x215ee0[_0x38a337(0x1e8)](_0x5f1f01[_0x38a337(0x27e)]),_0x1a52d8=[],_0x47207e=[],_0x560acb={},_0x512433={},_0x56ca0c=new Set([_0xc159dd]);_0x44ee6d[_0x38a337(0x232)]((_0x4eda3c,_0x2df3f3,_0x18fba0)=>{const _0xbb7fa7=_0x38a337,_0x57f544=_0x2f493e['getSparkline'](_0x11ab42,_0x16d46f,_0x4eda3c,_0x2df3f3);if(_0x57f544){const _0xf4115d=_0x2f493e['getSparklineById'](_0x11ab42,_0x16d46f,_0x57f544);if(_0xf4115d){_0x56ca0c[_0xbb7fa7(0x2bc)](_0x57f544);let _0x4a3812=_0x560acb[_0x57f544],_0x26d746=_0x512433[_0x57f544];_0x26d746||(_0x26d746={'config':_0x5f1f01[_0xbb7fa7(0x1f9)][_0xbb7fa7(0x1fe)](_0xf4115d['config']),'sparklines':new _0x5f1f01[(_0xbb7fa7(0x27d))](_0xf4115d[_0xbb7fa7(0x2b9)]['clone']())},_0x512433[_0x57f544]=_0x26d746),_0x4a3812||(_0x4a3812={'config':_0x5f1f01[_0xbb7fa7(0x1f9)][_0xbb7fa7(0x1fe)](_0xf4115d[_0xbb7fa7(0x239)]),'sparklines':_0xf4115d[_0xbb7fa7(0x2b9)]['clone']()},_0x560acb[_0x57f544]=_0x4a3812),_0x26d746['sparklines']['realDeleteValue'](_0x4eda3c,_0x2df3f3);}}});const _0x19c168={};return Object[_0x38a337(0x255)](_0x512433)[_0x38a337(0x281)](([_0x4d9d09,_0x26458e])=>{const _0x2cb747=_0x38a337;_0x26458e['sparklines'][_0x2cb747(0x286)]()&&(_0x19c168[_0x4d9d09]={'config':_0x26458e[_0x2cb747(0x239)],'sparklines':_0x26458e[_0x2cb747(0x2b9)][_0x2cb747(0x23f)]()});}),_0x19c168[_0xc159dd]=_0x5ea694,_0x1a52d8[_0x38a337(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x11ab42,'subUnitId':_0x16d46f,'groupIds':Array[_0x38a337(0x22e)](_0x56ca0c),'isSingle':!0x1}}),_0x56ca0c[_0x38a337(0x282)]>0x1&&(_0x47207e[_0x38a337(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x11ab42,'subUnitId':_0x16d46f,'groupIds':Array[_0x38a337(0x22e)](_0x56ca0c),'isSingle':!0x1}}),_0x1a52d8[_0x38a337(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x11ab42,'subUnitId':_0x16d46f,'sparklineConfigMap':_0x560acb}})),_0x47207e[_0x38a337(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x11ab42,'subUnitId':_0x16d46f,'sparklineConfigMap':_0x19c168}}),_0x5f1f01[_0x38a337(0x289)](_0x47207e,_0x2e1c9f),_0x1e774b[_0x38a337(0x2b0)]({'unitID':_0x11ab42,'undoMutations':_0x1a52d8,'redoMutations':_0x47207e}),!0x0;}},_0x4b7770={'id':_0x11b5f6(0x204),'type':_0x5f1f01[_0x11b5f6(0x21f)][_0x11b5f6(0x1e3)],'handler':(_0x3f676e,_0x326275)=>{const _0x5095b3=_0x11b5f6;var _0x23c4db;const {isSingle:_0x245cd0=!0x0}=_0x326275||{},_0x597489=_0x3f676e[_0x5095b3(0x1e8)](_0x5f1f01[_0x5095b3(0x27e)]),_0x57ad0f=_0x3f676e[_0x5095b3(0x1e8)](_0x5f1f01[_0x5095b3(0x265)]),_0x1aefc0=_0x3f676e[_0x5095b3(0x1e8)](_0x58d9a0['SparklineDataSourceModel']),_0x244d9b=_0x3f676e[_0x5095b3(0x1e8)](_0x5f1f01[_0x5095b3(0x203)]),_0x5def10=_0x14fece['getSheetCommandTarget'](_0x57ad0f);if(!_0x5def10)return!0x1;const _0x2e0c59=_0x3f676e[_0x5095b3(0x1e8)](_0x14fece[_0x5095b3(0x243)]),_0x430754=(_0x23c4db=_0x326275==null?void 0x0:_0x326275[_0x5095b3(0x23d)])!=null?_0x23c4db:_0x2e0c59[_0x5095b3(0x1fd)]()[_0x5095b3(0x261)](_0x29cc72=>_0x29cc72[_0x5095b3(0x2c5)]),{unitId:_0x1b96e2,subUnitId:_0x5ad8f2}=_0x5def10,_0x56764d=[],_0x5adf54=[];_0x56764d['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x1b96e2,'subUnitId':_0x5ad8f2,'ranges':_0x430754,'isSingle':_0x245cd0}});const _0x8f5670=[],_0x20b45e={};return _0x430754[_0x5095b3(0x281)](_0x336273=>{_0x5f1f01['Range']['foreach'](_0x336273,(_0x19f5f5,_0x12a73a)=>{const _0x116c57=_0x49d3,_0x6e977a=_0x1aefc0[_0x116c57(0x1e2)](_0x1b96e2,_0x5ad8f2,_0x19f5f5,_0x12a73a);if(_0x6e977a){const _0x1d821c=_0x1aefc0[_0x116c57(0x254)](_0x1b96e2,_0x5ad8f2,_0x6e977a);_0x1d821c&&(_0x8f5670[_0x116c57(0x1d0)](_0x6e977a),_0x20b45e[_0x6e977a]={'config':_0x5f1f01['Tools'][_0x116c57(0x1fe)](_0x1d821c[_0x116c57(0x239)]),'sparklines':_0x5f1f01['Tools']['deepClone'](_0x1d821c['sparklines'][_0x116c57(0x23f)]())});}});}),_0x5adf54['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x1b96e2,'subUnitId':_0x5ad8f2,'groupIds':_0x8f5670,'isSingle':!0x1}}),_0x5adf54[_0x5095b3(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x1b96e2,'subUnitId':_0x5ad8f2,'sparklineConfigMap':_0x20b45e}}),_0x5f1f01['sequenceExecute'](_0x56764d,_0x597489),_0x244d9b[_0x5095b3(0x2b0)]({'unitID':_0x1b96e2,'undoMutations':_0x5adf54,'redoMutations':_0x56764d}),!0x0;}},_0x22a49a={'id':_0x11b5f6(0x290),'type':_0x5f1f01[_0x11b5f6(0x21f)][_0x11b5f6(0x2ab)],'handler':(_0x608a09,_0x38b411)=>{const _0x40525c=_0x11b5f6;if(!_0x38b411)return!0x1;const {unitId:_0x3c1000,subUnitId:_0x372876,groupIds:_0x1ef2ed,config:_0x1125f6}=_0x38b411,_0x192cf5=_0x608a09[_0x40525c(0x1e8)](_0x58d9a0[_0x40525c(0x228)]);return _0x1ef2ed[_0x40525c(0x281)](_0x367343=>{const _0xf684a=_0x40525c,_0x335de0=_0x192cf5[_0xf684a(0x254)](_0x3c1000,_0x372876,_0x367343);if(_0x335de0){const _0x36e7da={'config':Object[_0xf684a(0x2c7)]({},_0x335de0[_0xf684a(0x239)],_0x1125f6['config']),'sparklines':new _0x5f1f01[(_0xf684a(0x27d))](_0x335de0[_0xf684a(0x2b9)][_0xf684a(0x23f)]())};_0x192cf5[_0xf684a(0x23e)](_0x3c1000,_0x372876,[_0x367343],_0x36e7da);}}),!0x0;}},_0x2e8770={'id':_0x11b5f6(0x227),'type':_0x5f1f01['CommandType'][_0x11b5f6(0x1e3)],'handler':(_0xdf25b5,_0x3b76a5)=>{const _0x2e6d76=_0x11b5f6;var _0x2d08ed,_0x3c00e9,_0x43e874,_0x861843;if(!_0x3b76a5)return!0x1;const _0x223182=_0xdf25b5[_0x2e6d76(0x1e8)](_0x5f1f01[_0x2e6d76(0x27e)]),_0x9ea04=_0xdf25b5[_0x2e6d76(0x1e8)](_0x14fece[_0x2e6d76(0x243)]),_0xe9b177=_0xdf25b5['get'](_0x58d9a0['SparklineDataSourceModel']),_0x573556=_0xdf25b5[_0x2e6d76(0x1e8)](_0x5f1f01[_0x2e6d76(0x265)]),_0x5432d4=_0xdf25b5[_0x2e6d76(0x1e8)](_0x5f1f01['IUndoRedoService']),_0x5a3e06=_0x14fece[_0x2e6d76(0x264)](_0x573556);if(!_0x5a3e06)return!0x1;const {unitId:_0x53c52f,subUnitId:_0xf363cd}=_0x5a3e06,_0x191ccd=(_0x2d08ed=_0x3b76a5==null?void 0x0:_0x3b76a5[_0x2e6d76(0x23d)])!=null?_0x2d08ed:_0x9ea04[_0x2e6d76(0x1fd)]()[_0x2e6d76(0x261)](_0x15f9af=>_0x15f9af[_0x2e6d76(0x2c5)]),_0x57f2aa=(_0x3c00e9=_0xe9b177['getSparklineCache']()[_0x2e6d76(0x2a1)][_0x2e6d76(0x1e8)](_0x53c52f))==null?void 0x0:_0x3c00e9[_0x2e6d76(0x1e8)](_0xf363cd),{isChangeDataSource:_0x5944a0,config:_0xb13095,combine:_0x4a9bdf,unCombine:_0x57c4f6}=_0x3b76a5;if(_0x4a9bdf){const _0x33e0db=[],_0x48b6cc=[];_0x33e0db['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'ranges':_0x191ccd,'isSingle':!0x0}});const _0x5022a8='g_'+_0x5f1f01['generateRandomId'](0x6),_0x30e89c=new _0x5f1f01[(_0x2e6d76(0x27d))](),_0x30c0f3=(_0x43e874=_0xe9b177[_0x2e6d76(0x201)]()['sparklineModel'][_0x2e6d76(0x1e8)](_0x53c52f))==null?void 0x0:_0x43e874[_0x2e6d76(0x1e8)](_0xf363cd),_0x44bfa0=new Set([_0x5022a8]),_0x78579c={};return _0x191ccd[_0x2e6d76(0x281)](_0x19fee6=>{const _0x5a93b5=_0x2e6d76;var _0x511145,_0x19f548;const {startRow:_0x3d0798,endRow:_0x1c3458,startColumn:_0x2a7c50,endColumn:_0x11a07b}=_0x19fee6;for(let _0x5da307=_0x3d0798;_0x5da307<=_0x1c3458;_0x5da307++)for(let _0xfdccfa=_0x2a7c50;_0xfdccfa<=_0x11a07b;_0xfdccfa++){const _0x139cf6=(_0x511145=_0x57f2aa==null?void 0x0:_0x57f2aa[_0x5a93b5(0x268)][_0x5a93b5(0x212)](_0x5da307,_0xfdccfa))==null?void 0x0:_0x511145['groupId'];if(_0x139cf6){_0x44bfa0[_0x5a93b5(0x2bc)](_0x139cf6);const _0x15f926=_0xe9b177['getSparklineById'](_0x53c52f,_0xf363cd,_0x139cf6);_0x15f926&&(_0x78579c[_0x139cf6]={'config':_0x5f1f01[_0x5a93b5(0x1f9)][_0x5a93b5(0x1fe)](_0x15f926[_0x5a93b5(0x239)]),'sparklines':_0x5f1f01[_0x5a93b5(0x1f9)][_0x5a93b5(0x1fe)](_0x15f926[_0x5a93b5(0x2b9)]['clone']())});const _0x38f447=(_0x19f548=_0x30c0f3==null?void 0x0:_0x30c0f3[_0x5a93b5(0x1e8)](_0x139cf6))==null?void 0x0:_0x19f548[_0x5a93b5(0x2b9)][_0x5a93b5(0x212)](_0x5da307,_0xfdccfa);_0x38f447&&_0x30e89c[_0x5a93b5(0x28d)](_0x5da307,_0xfdccfa,_0x38f447);}}}),_0x33e0db[_0x2e6d76(0x1d0)]({'id':_0x5e6b89['id'],'params':{'sparklineConfigMap':{[_0x5022a8]:{'config':_0x5f1f01['Tools'][_0x2e6d76(0x1fe)](_0xb13095[_0x2e6d76(0x239)]),'sparklines':_0x30e89c['getMatrix']()}},'unitId':_0x53c52f,'subUnitId':_0xf363cd}}),_0x48b6cc[_0x2e6d76(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'isSingle':!0x1,'groupIds':Array[_0x2e6d76(0x22e)](_0x44bfa0)}}),_0x48b6cc['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':_0x78579c}}),_0x5f1f01['sequenceExecute'](_0x33e0db,_0x223182),_0x5432d4[_0x2e6d76(0x2b0)]({'unitID':_0x53c52f,'undoMutations':_0x48b6cc,'redoMutations':_0x33e0db}),!0x0;}else{if(_0x57c4f6){const _0x285b6b=[],_0x41c077=[];_0x285b6b[_0x2e6d76(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'ranges':_0x191ccd,'isSingle':!0x0}});const _0x2322cf=(_0x861843=_0xe9b177['getSparklineCache']()[_0x2e6d76(0x209)]['get'](_0x53c52f))==null?void 0x0:_0x861843[_0x2e6d76(0x1e8)](_0xf363cd),_0x49f23a={},_0x225d3e=new Set(),_0x3c0227={};return _0x191ccd['forEach'](_0x2356e8=>{const _0x10edda=_0x2e6d76;var _0x167c0d,_0x55f1b7;const {startRow:_0x50ebd3,endRow:_0x480353,startColumn:_0x2bc916,endColumn:_0x13fb9b}=_0x2356e8;for(let _0xd09028=_0x50ebd3;_0xd09028<=_0x480353;_0xd09028++)for(let _0x2310eb=_0x2bc916;_0x2310eb<=_0x13fb9b;_0x2310eb++){const _0x167fc2=(_0x167c0d=_0x57f2aa==null?void 0x0:_0x57f2aa['matrix'][_0x10edda(0x212)](_0xd09028,_0x2310eb))==null?void 0x0:_0x167c0d[_0x10edda(0x1d8)];if(_0x167fc2){const _0x2d28d8=new _0x5f1f01[(_0x10edda(0x27d))](),_0x147175='g_'+_0x5f1f01['generateRandomId'](0x6);_0x225d3e[_0x10edda(0x2bc)](_0x167fc2),_0x225d3e['add'](_0x147175);const _0x550757=_0xe9b177['getSparklineById'](_0x53c52f,_0xf363cd,_0x167fc2);_0x550757&&(_0x3c0227[_0x167fc2]={'config':_0x5f1f01[_0x10edda(0x1f9)][_0x10edda(0x1fe)](_0x550757[_0x10edda(0x239)]),'sparklines':_0x5f1f01[_0x10edda(0x1f9)][_0x10edda(0x1fe)](_0x550757['sparklines'][_0x10edda(0x23f)]())});const _0x4e6939=(_0x55f1b7=_0x2322cf==null?void 0x0:_0x2322cf[_0x10edda(0x1e8)](_0x167fc2))==null?void 0x0:_0x55f1b7[_0x10edda(0x2b9)][_0x10edda(0x212)](_0xd09028,_0x2310eb);_0x4e6939&&_0x2d28d8['setValue'](_0xd09028,_0x2310eb,_0x4e6939),_0x49f23a[_0x147175]={'sparklines':_0x2d28d8['getMatrix'](),'config':_0x5f1f01['Tools'][_0x10edda(0x1fe)](_0xb13095[_0x10edda(0x239)])};}}}),_0x285b6b['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':_0x49f23a}}),_0x41c077['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'isSingle':!0x1,'groupIds':Array[_0x2e6d76(0x22e)](_0x225d3e)}}),_0x41c077[_0x2e6d76(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':_0x3c0227}}),_0x5f1f01[_0x2e6d76(0x289)](_0x285b6b,_0x223182),_0x5432d4[_0x2e6d76(0x2b0)]({'unitID':_0x53c52f,'undoMutations':_0x41c077,'redoMutations':_0x285b6b}),!0x0;}}if(_0x5944a0){const _0x58bd31=_0x3b76a5[_0x2e6d76(0x1ff)];if(!_0x58bd31)return!0x1;const {groupId:_0x3b0499,sourceRanges:_0x400f41,targetRanges:_0xa670b0,resetType:_0x5a8920,primary:_0x26644a}=_0x58bd31,_0x2d3aa3=[],_0x2c49c4=[];_0x2d3aa3['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'ranges':_0x191ccd,'isSingle':!0x1,'groupIds':[_0x3b0499]}}),_0x2c49c4['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'ranges':_0x191ccd,'isSingle':!0x1,'groupIds':[_0x3b0499]}});let _0x577b79;_0x5a8920===_0x2e6d76(0x274)?(_0x577b79=new _0x5f1f01[(_0x2e6d76(0x27d))](_0xb13095[_0x2e6d76(0x2b9)][_0x2e6d76(0x23f)]()),_0x577b79[_0x2e6d76(0x213)](_0x26644a[_0x2e6d76(0x2a3)],_0x26644a['actualColumn']),_0x577b79[_0x2e6d76(0x28d)](_0xa670b0[0x0][_0x2e6d76(0x2b7)],_0xa670b0[0x0][_0x2e6d76(0x2aa)],_0x400f41[0x0])):_0x577b79=_0x243e14(_0x400f41,_0xa670b0);const _0x2617cb={'config':_0x5f1f01[_0x2e6d76(0x1f9)][_0x2e6d76(0x1fe)](_0xb13095[_0x2e6d76(0x239)]),'sparklines':_0x577b79[_0x2e6d76(0x26c)]()},_0x433715={'config':_0x5f1f01[_0x2e6d76(0x1f9)][_0x2e6d76(0x1fe)](_0xb13095[_0x2e6d76(0x239)]),'sparklines':_0x5f1f01[_0x2e6d76(0x1f9)]['deepClone'](_0xb13095[_0x2e6d76(0x2b9)][_0x2e6d76(0x23f)]())};_0x2d3aa3[_0x2e6d76(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':{[_0x3b0499]:_0x2617cb}}}),_0x2c49c4[_0x2e6d76(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':{[_0x3b0499]:_0x433715}}}),_0x5f1f01[_0x2e6d76(0x289)](_0x2d3aa3,_0x223182),_0x5432d4[_0x2e6d76(0x2b0)]({'unitID':_0x53c52f,'undoMutations':_0x2c49c4,'redoMutations':_0x2d3aa3});}else{const _0x58ba17=[],_0x28ee4d=[],_0x3f6b62=new Set(),_0x48fb03={};_0x191ccd[_0x2e6d76(0x281)](_0x397a3d=>{const _0x4c7d86=_0x2e6d76;var _0x4b925c;const {startRow:_0x57c537,endRow:_0x3025bf,startColumn:_0x2c5875,endColumn:_0x49d9a9}=_0x397a3d;for(let _0x40e2a8=_0x57c537;_0x40e2a8<=_0x3025bf;_0x40e2a8++)for(let _0x30e409=_0x2c5875;_0x30e409<=_0x49d9a9;_0x30e409++){const _0x32711d=(_0x4b925c=_0x57f2aa==null?void 0x0:_0x57f2aa['matrix'][_0x4c7d86(0x212)](_0x40e2a8,_0x30e409))==null?void 0x0:_0x4b925c[_0x4c7d86(0x1d8)];if(_0x32711d){_0x3f6b62['add'](_0x32711d);const _0x2cadc9=_0xe9b177['getSparklineById'](_0x53c52f,_0xf363cd,_0x32711d);_0x2cadc9&&(_0x48fb03[_0x32711d]={'config':_0x5f1f01[_0x4c7d86(0x1f9)][_0x4c7d86(0x1fe)](_0x2cadc9[_0x4c7d86(0x239)]),'sparklines':_0x5f1f01[_0x4c7d86(0x1f9)]['deepClone'](_0x2cadc9[_0x4c7d86(0x2b9)][_0x4c7d86(0x23f)]())});}}}),_0x28ee4d['push']({'id':_0x22a49a['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'groupIds':Array[_0x2e6d76(0x22e)](_0x3f6b62),'config':{'config':_0x5f1f01[_0x2e6d76(0x1f9)][_0x2e6d76(0x1fe)](_0xb13095[_0x2e6d76(0x239)]),'sparklines':_0xb13095[_0x2e6d76(0x2b9)][_0x2e6d76(0x26c)]()}}}),_0x58ba17[_0x2e6d76(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'isSingle':!0x1,'groupIds':Array['from'](_0x3f6b62)}}),_0x58ba17[_0x2e6d76(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x53c52f,'subUnitId':_0xf363cd,'sparklineConfigMap':_0x48fb03}}),_0x5f1f01[_0x2e6d76(0x289)](_0x28ee4d,_0x223182),_0x5432d4[_0x2e6d76(0x2b0)]({'unitID':_0x53c52f,'undoMutations':_0x58ba17,'redoMutations':_0x28ee4d});}return!0x0;}};var _0x316acf=Object[_0x11b5f6(0x1d6)],_0x1246c3=Object[_0x11b5f6(0x269)],_0x5030b0=(_0x55238d,_0x3bfa21,_0x239a14,_0x36c5fa)=>{const _0x4affd8=_0x11b5f6;for(var _0x142bc9=_0x36c5fa>0x1?void 0x0:_0x36c5fa?_0x1246c3(_0x3bfa21,_0x239a14):_0x3bfa21,_0x29dda5=_0x55238d[_0x4affd8(0x28e)]-0x1,_0x3ece18;_0x29dda5>=0x0;_0x29dda5--)(_0x3ece18=_0x55238d[_0x29dda5])&&(_0x142bc9=(_0x36c5fa?_0x3ece18(_0x3bfa21,_0x239a14,_0x142bc9):_0x3ece18(_0x142bc9))||_0x142bc9);return _0x36c5fa&&_0x142bc9&&_0x316acf(_0x3bfa21,_0x239a14,_0x142bc9),_0x142bc9;},_0x43609e=(_0x59fd90,_0x24ad7f)=>(_0x1de6ea,_0x4a4cb1)=>_0x24ad7f(_0x1de6ea,_0x4a4cb1,_0x59fd90);let _0x4be027=class extends _0x5f1f01['Disposable']{constructor(_0x520269,_0x55bb0a,_0x1c9cac,_0x2863d0){const _0x3ae5c0=_0x11b5f6;super(),this[_0x3ae5c0(0x216)]=_0x520269,this[_0x3ae5c0(0x280)]=_0x55bb0a,this['_univerInstanceService']=_0x1c9cac,this[_0x3ae5c0(0x24f)]=_0x2863d0,this[_0x3ae5c0(0x2a2)]();}[_0x11b5f6(0x2a2)](){const _0x530644=_0x11b5f6;this['disposeWithMe'](this[_0x530644(0x280)][_0x530644(0x22c)]({'getMutations':_0x26a9df=>{const _0xf87c9a=_0x530644,_0x17ac67=[],_0x4621dd=[];if(_0x26a9df['id']===_0x14fece[_0xf87c9a(0x245)]['id']){const _0x1ad874=_0x14fece[_0xf87c9a(0x264)](this[_0xf87c9a(0x1d2)]);if(!_0x1ad874)return{'redos':_0x17ac67,'undos':_0x4621dd};const {unitId:_0x315dc8,subUnitId:_0x17ff11,worksheet:_0x5e4153}=_0x1ad874,_0x471e61=this[_0xf87c9a(0x24f)][_0xf87c9a(0x1fd)]()[_0xf87c9a(0x261)](_0x271963=>_0x271963[_0xf87c9a(0x2c5)]),_0x2afd67=new Set(),_0x38ace8={},_0x1cfdaf={};_0x471e61['forEach'](_0x327b6e=>{_0x5f1f01['Range']['foreach'](_0x327b6e,(_0x62b969,_0x5a7625)=>{const _0x87f55a=_0x49d3,_0x37d508=this[_0x87f55a(0x216)]['getSparkline'](_0x315dc8,_0x17ff11,_0x62b969,_0x5a7625);if(_0x37d508&&!_0x2afd67[_0x87f55a(0x252)](_0x37d508)){const _0x19a35a=this['_sparklineDataSourceModel'][_0x87f55a(0x254)](_0x315dc8,_0x17ff11,_0x37d508);_0x19a35a&&(_0x2afd67[_0x87f55a(0x2bc)](_0x37d508),_0x38ace8[_0x37d508]={'config':_0x5f1f01[_0x87f55a(0x1f9)][_0x87f55a(0x1fe)](_0x19a35a[_0x87f55a(0x239)]),'sparklines':_0x5f1f01[_0x87f55a(0x1f9)][_0x87f55a(0x1fe)](_0x19a35a['sparklines'][_0x87f55a(0x23f)]())},_0x1cfdaf[_0x37d508]={'config':_0x5f1f01[_0x87f55a(0x1f9)][_0x87f55a(0x1fe)](_0x19a35a[_0x87f55a(0x239)]),'sparklines':_0x5f1f01['Tools'][_0x87f55a(0x1fe)](_0x19a35a['sparklines'][_0x87f55a(0x23f)]())});}});}),Object[_0xf87c9a(0x235)](_0x1cfdaf)['forEach'](_0x1ff6e7=>{const _0x5bb424=_0xf87c9a,_0x2111f6=_0x1ff6e7[_0x5bb424(0x2b9)];new _0x5f1f01[(_0x5bb424(0x27d))](_0x2111f6)[_0x5bb424(0x232)]((_0xa229be,_0x4a89c2,_0x5a49f6)=>{const _0x111f7a=_0x5bb424;_0x471e61['some'](_0x3a116a=>_0x5f1f01[_0x111f7a(0x273)]['intersects'](_0x3a116a,_0x5f1f01[_0x111f7a(0x25a)](_0xa229be,_0x4a89c2)))&&delete _0x2111f6[_0xa229be][_0x4a89c2];});}),_0x17ac67['push']({'id':_0x18f36b['id'],'params':{'unitId':_0x315dc8,'subUnitId':_0x17ff11,'groupIds':Array[_0xf87c9a(0x22e)](_0x2afd67),'isSingle':!0x1}}),_0x17ac67['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x315dc8,'subUnitId':_0x17ff11,'sparklineConfigMap':_0x1cfdaf}}),_0x4621dd[_0xf87c9a(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x315dc8,'subUnitId':_0x17ff11,'groupIds':Array[_0xf87c9a(0x22e)](_0x2afd67),'isSingle':!0x1}}),_0x4621dd[_0xf87c9a(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x315dc8,'subUnitId':_0x17ff11,'sparklineConfigMap':_0x38ace8}});}return{'redos':_0x17ac67,'undos':_0x4621dd};}}));}};_0x4be027=_0x5030b0([_0x43609e(0x0,_0x5f1f01['Inject'](_0x58d9a0[_0x11b5f6(0x228)])),_0x43609e(0x1,_0x5f1f01['Inject'](_0x14fece['SheetInterceptorService'])),_0x43609e(0x2,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x265)])),_0x43609e(0x3,_0x5f1f01['Inject'](_0x14fece[_0x11b5f6(0x243)]))],_0x4be027);var _0x3e3526=Object[_0x11b5f6(0x1d6)],_0x2456ae=Object['getOwnPropertyDescriptor'],_0x34ea83=(_0x22bbd0,_0x1b0611,_0x1128e6,_0x2836db)=>{const _0x2ceb44=_0x11b5f6;for(var _0x3b096d=_0x2836db>0x1?void 0x0:_0x2836db?_0x2456ae(_0x1b0611,_0x1128e6):_0x1b0611,_0x24e604=_0x22bbd0[_0x2ceb44(0x28e)]-0x1,_0x5c7374;_0x24e604>=0x0;_0x24e604--)(_0x5c7374=_0x22bbd0[_0x24e604])&&(_0x3b096d=(_0x2836db?_0x5c7374(_0x1b0611,_0x1128e6,_0x3b096d):_0x5c7374(_0x3b096d))||_0x3b096d);return _0x2836db&&_0x3b096d&&_0x3e3526(_0x1b0611,_0x1128e6,_0x3b096d),_0x3b096d;},_0x3d182e=(_0x49ef8a,_0x1d2b1e)=>(_0x5d3258,_0x117b3a)=>_0x1d2b1e(_0x5d3258,_0x117b3a,_0x49ef8a);let _0x5775af=class extends _0x5f1f01[_0x11b5f6(0x295)]{constructor(_0x225ff7,_0x4aed45){const _0x38c3d2=_0x11b5f6;super(),this['_sheetInterceptorService']=_0x225ff7,this[_0x38c3d2(0x216)]=_0x4aed45,this[_0x38c3d2(0x297)]();}[_0x11b5f6(0x297)](){const _0x2db262=_0x11b5f6;this[_0x2db262(0x29e)](this[_0x2db262(0x280)][_0x2db262(0x22c)]({'getMutations':_0x5c587e=>{const _0x2912fd=_0x2db262,_0x4683ad=[],_0x5e7ed8=[];if(_0x5c587e['id']===_0x14fece['CopySheetCommand']['id']){const _0x49195a=_0x5c587e[_0x2912fd(0x2c1)];if(!_0x49195a)return{'redos':_0x4683ad,'undos':_0x5e7ed8};const {unitId:_0x16cd16,subUnitId:_0x1dc03b,targetSubUnitId:_0x1980ef}=_0x49195a;if(!_0x16cd16||!_0x1dc03b||!_0x1980ef)return{'redos':_0x4683ad,'undos':_0x5e7ed8};const _0x390890=new Set(),_0x5ca034={},_0x2a555a=this[_0x2912fd(0x216)]['getSubUnitSparkline'](_0x16cd16,_0x1dc03b);if(!_0x2a555a)return{'redos':_0x4683ad,'undos':_0x5e7ed8};for(const [_0x2675c2,_0x1d3207]of _0x2a555a){const _0x4785dc='g_'+_0x5f1f01[_0x2912fd(0x211)](0x6);_0x390890[_0x2912fd(0x2bc)](_0x2675c2),_0x5ca034[_0x4785dc]={'config':_0x5f1f01[_0x2912fd(0x1f9)]['deepClone'](_0x1d3207['config']),'sparklines':_0x5f1f01['Tools'][_0x2912fd(0x1fe)](_0x1d3207['sparklines']['clone']())};}_0x390890['size']&&(_0x5e7ed8[_0x2912fd(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x16cd16,'subUnitId':_0x1980ef,'groupIds':Array[_0x2912fd(0x22e)](_0x390890),'isSingle':!0x1}}),_0x4683ad['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x16cd16,'subUnitId':_0x1980ef,'sparklineConfigMap':_0x5ca034}}));}return{'redos':_0x4683ad,'undos':_0x5e7ed8};}}));}};_0x5775af=_0x34ea83([_0x3d182e(0x0,_0x5f1f01['Inject'](_0x14fece['SheetInterceptorService'])),_0x3d182e(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0[_0x11b5f6(0x228)]))],_0x5775af);var _0x678aa4=Object[_0x11b5f6(0x1d6)],_0x1915c1=Object[_0x11b5f6(0x269)],_0x4dd86f=(_0x524eb5,_0x11422c,_0x4d7cfb,_0x153a5b)=>{const _0x24b918=_0x11b5f6;for(var _0x5ab3ae=_0x153a5b>0x1?void 0x0:_0x153a5b?_0x1915c1(_0x11422c,_0x4d7cfb):_0x11422c,_0x18dc55=_0x524eb5[_0x24b918(0x28e)]-0x1,_0x4232d1;_0x18dc55>=0x0;_0x18dc55--)(_0x4232d1=_0x524eb5[_0x18dc55])&&(_0x5ab3ae=(_0x153a5b?_0x4232d1(_0x11422c,_0x4d7cfb,_0x5ab3ae):_0x4232d1(_0x5ab3ae))||_0x5ab3ae);return _0x153a5b&&_0x5ab3ae&&_0x678aa4(_0x11422c,_0x4d7cfb,_0x5ab3ae),_0x5ab3ae;},_0x4efed5=(_0xeafcb4,_0x41e471)=>(_0x30a0b,_0x3c5552)=>_0x41e471(_0x30a0b,_0x3c5552,_0xeafcb4);let _0x4701e1=class extends _0x5f1f01['Disposable']{constructor(_0x3525f0,_0x26c4e5,_0x3f7ca9){const _0x33a026=_0x11b5f6;super(),this['_commandService']=_0x3525f0,this[_0x33a026(0x216)]=_0x26c4e5,this[_0x33a026(0x225)]=_0x3f7ca9,this['_initDataChangeListener'](),this[_0x33a026(0x2c6)]();}['_initDataChangeListener'](){const _0xae308e=_0x11b5f6;this['disposeWithMe'](this[_0xae308e(0x28b)][_0xae308e(0x2b6)](_0x47216c=>{const _0x3eec4e=_0xae308e;if(_0x47216c['id']===_0x14fece[_0x3eec4e(0x1e6)]['id']){const _0x3458ff=_0x47216c[_0x3eec4e(0x2c1)],{cellValue:_0x11a7a7,unitId:_0x2fb7b4,subUnitId:_0x47663c}=_0x3458ff,_0x396129=new _0x5f1f01[(_0x3eec4e(0x27d))](_0x11a7a7),_0x17ec47=new Set(),_0x45c0d3=this['_sparklineDataSourceModel'][_0x3eec4e(0x219)](_0x2fb7b4,_0x47663c);if(!_0x45c0d3)return;const _0x5b363f=Array[_0x3eec4e(0x22e)](_0x45c0d3);_0x396129['forValue']((_0x272e18,_0x30fe1e,_0x4ae98f)=>{const _0x3d9a13=_0x3eec4e,_0x3439ef=_0x5f1f01[_0x3d9a13(0x25a)](_0x272e18,_0x30fe1e);for(let _0x1e0c03=0x0;_0x1e0c03<_0x5b363f['length'];_0x1e0c03++){const [_0x253c31,_0x102592]=_0x5b363f[_0x1e0c03],_0x50dd62=_0x17ec47[_0x3d9a13(0x252)](_0x253c31);_0x50dd62||_0x102592[_0x3d9a13(0x2b9)][_0x3d9a13(0x232)]((_0x221134,_0xf0143b,_0x4b98e0)=>{const _0x37a2b7=_0x3d9a13,_0x5debcf=_0x4b98e0;if(_0x5debcf&&!_0x50dd62&&_0x5f1f01['Rectangle']['intersects'](_0x3439ef,_0x5debcf))return _0x17ec47[_0x37a2b7(0x2bc)](_0x253c31),!0x0;});}}),_0x17ec47[_0x3eec4e(0x281)](_0x1e6cd1=>{const _0x2ecabe=_0x3eec4e;this['_sparklineDataSourceModel'][_0x2ecabe(0x2a7)](_0x2fb7b4,_0x47663c,_0x1e6cd1),this['_sparklineDataSourceModel'][_0x2ecabe(0x29d)](_0x2fb7b4,_0x47663c,_0x1e6cd1);});}else{if(_0x47216c['id']===_0x14fece['ReorderRangeMutation']['id']){const _0x42646f=_0x47216c[_0x3eec4e(0x2c1)],{range:_0x4a0a9a,unitId:_0x448ce4,subUnitId:_0x261217}=_0x42646f,_0x44508f=new Set(),_0x1710b3=this[_0x3eec4e(0x216)][_0x3eec4e(0x219)](_0x448ce4,_0x261217);if(!_0x1710b3)return;const _0x3a5a92=Array['from'](_0x1710b3);for(let _0x1cc463=0x0;_0x1cc463<_0x3a5a92[_0x3eec4e(0x28e)];_0x1cc463++){const [_0x3cf136,_0x5a88cb]=_0x3a5a92[_0x1cc463],_0x1aa788=_0x44508f['has'](_0x3cf136);_0x1aa788||_0x5a88cb[_0x3eec4e(0x2b9)][_0x3eec4e(0x232)]((_0x3b9cf6,_0x24b0ff,_0xd7a20f)=>{const _0x4c300f=_0x3eec4e,_0x5adcb6=_0xd7a20f;if(_0x5adcb6&&!_0x1aa788&&_0x5f1f01[_0x4c300f(0x273)][_0x4c300f(0x1d7)](_0x4a0a9a,_0x5adcb6))return _0x44508f[_0x4c300f(0x2bc)](_0x3cf136),!0x0;});}_0x44508f['forEach'](_0x3b9388=>{const _0x11e581=_0x3eec4e;this[_0x11e581(0x216)][_0x11e581(0x2a7)](_0x448ce4,_0x261217,_0x3b9388),this[_0x11e581(0x216)][_0x11e581(0x29d)](_0x448ce4,_0x261217,_0x3b9388);});}}}));}[_0x11b5f6(0x2c6)](){const _0x4d8c6f=_0x11b5f6;this[_0x4d8c6f(0x29e)](this[_0x4d8c6f(0x225)][_0x4d8c6f(0x2b8)]['subscribe'](_0x39db99=>{const _0x2f5e7d=_0x4d8c6f,{unitId:_0x4297de,subUnitId:_0x259aaa,ranges:_0x58cd31}=_0x39db99,_0x24c3ed=this[_0x2f5e7d(0x216)][_0x2f5e7d(0x219)](_0x4297de,_0x259aaa);if(!_0x24c3ed)return;const _0x124dac=Array['from'](_0x24c3ed),_0x4d03cd=new Set();for(let _0x21e70d=0x0;_0x21e70d<_0x124dac['length'];_0x21e70d++){const [_0x148ad0,_0x153999]=_0x124dac[_0x21e70d],_0x347eab=_0x4d03cd[_0x2f5e7d(0x252)](_0x148ad0);_0x347eab||_0x153999['sparklines'][_0x2f5e7d(0x232)]((_0x7da31,_0x3e7a8a,_0x24a882)=>{const _0x479f45=_0x2f5e7d,_0x4a664d=_0x24a882;if(_0x4a664d&&!_0x347eab){for(const _0x227191 of _0x58cd31)if(_0x5f1f01[_0x479f45(0x273)]['intersects'](_0x227191,_0x4a664d)){_0x4d03cd[_0x479f45(0x2bc)](_0x148ad0);break;}}});}_0x4d03cd[_0x2f5e7d(0x281)](_0x36f38e=>{const _0x51f630=_0x2f5e7d;this[_0x51f630(0x216)]['clearSparklineCache'](_0x4297de,_0x259aaa,_0x36f38e),this[_0x51f630(0x216)][_0x51f630(0x29d)](_0x4297de,_0x259aaa,_0x36f38e);});}));}};_0x4701e1=_0x4dd86f([_0x4efed5(0x0,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x27e)])),_0x4efed5(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0[_0x11b5f6(0x228)])),_0x4efed5(0x2,_0x5f1f01['Inject'](_0x14fece[_0x11b5f6(0x21b)]))],_0x4701e1);var _0x51298e=Object[_0x11b5f6(0x1d6)],_0xc5ebb8=Object[_0x11b5f6(0x269)],_0x3d3b8f=(_0x1a0a28,_0x2e808f,_0x443e8a,_0x44b987)=>{const _0x422fb7=_0x11b5f6;for(var _0x49fa5a=_0x44b987>0x1?void 0x0:_0x44b987?_0xc5ebb8(_0x2e808f,_0x443e8a):_0x2e808f,_0x543e4=_0x1a0a28[_0x422fb7(0x28e)]-0x1,_0x26f458;_0x543e4>=0x0;_0x543e4--)(_0x26f458=_0x1a0a28[_0x543e4])&&(_0x49fa5a=(_0x44b987?_0x26f458(_0x2e808f,_0x443e8a,_0x49fa5a):_0x26f458(_0x49fa5a))||_0x49fa5a);return _0x44b987&&_0x49fa5a&&_0x51298e(_0x2e808f,_0x443e8a,_0x49fa5a),_0x49fa5a;},_0x45944b=(_0x439e65,_0x536ad8)=>(_0x2b1d48,_0x65d144)=>_0x536ad8(_0x2b1d48,_0x65d144,_0x439e65);let _0x2016c1=class extends _0x5f1f01[_0x11b5f6(0x295)]{constructor(_0x38d874,_0xe56851){const _0x52f1bd=_0x11b5f6;super(),this[_0x52f1bd(0x28b)]=_0x38d874,this[_0x52f1bd(0x216)]=_0xe56851,this[_0x52f1bd(0x206)]();}[_0x11b5f6(0x206)](){const _0x4e54bd=_0x11b5f6;this[_0x4e54bd(0x28b)][_0x4e54bd(0x2b6)](_0xd32ec9=>{const _0x4010b1=_0x4e54bd;if(_0xd32ec9['id']===_0x14fece[_0x4010b1(0x28f)]['id']||_0xd32ec9['id']===_0x14fece[_0x4010b1(0x287)]['id']||_0xd32ec9['id']===_0x14fece[_0x4010b1(0x27c)]['id']||_0xd32ec9['id']===_0x14fece[_0x4010b1(0x1fc)]['id']){const _0x15433f=_0xd32ec9['params'],{ranges:_0x4c711e,unitId:_0x3bbf58,subUnitId:_0x167305}=_0x15433f,_0x59de1f=new Set(),_0x332635=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x3bbf58,_0x167305);if(!_0x332635)return;const _0x2afd0a=Array[_0x4010b1(0x22e)](_0x332635);_0x4c711e[_0x4010b1(0x281)](_0x15dd38=>{const _0x36ad7f=_0x4010b1;_0x5f1f01[_0x36ad7f(0x242)][_0x36ad7f(0x2a6)](_0x15dd38,(_0x15bd06,_0x18d525)=>{const _0x12b2f9=_0x36ad7f,_0x8904e9=_0x5f1f01[_0x12b2f9(0x25a)](_0x15bd06,_0x18d525);for(let _0x5bd6d2=0x0;_0x5bd6d2<_0x2afd0a[_0x12b2f9(0x28e)];_0x5bd6d2++){const [_0x109238,_0xe7a469]=_0x2afd0a[_0x5bd6d2],_0x3ce088=_0x59de1f['has'](_0x109238);_0x3ce088||_0xe7a469[_0x12b2f9(0x2b9)][_0x12b2f9(0x232)]((_0x28d716,_0x377a28,_0x1f0624)=>{const _0x1d8a1c=_0x12b2f9,_0x9dc461=_0x1f0624;if(_0x9dc461&&!_0x3ce088&&_0x5f1f01[_0x1d8a1c(0x273)][_0x1d8a1c(0x1d7)](_0x8904e9,_0x9dc461))return _0x59de1f['add'](_0x109238),!0x0;});}});}),_0x59de1f[_0x4010b1(0x281)](_0x483bbe=>{const _0xc06a41=_0x4010b1;this[_0xc06a41(0x216)][_0xc06a41(0x2a7)](_0x3bbf58,_0x167305,_0x483bbe),this[_0xc06a41(0x216)][_0xc06a41(0x29d)](_0x3bbf58,_0x167305,_0x483bbe);});}});}};_0x2016c1=_0x3d3b8f([_0x45944b(0x0,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x27e)])),_0x45944b(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0[_0x11b5f6(0x228)]))],_0x2016c1);var _0x38a8ec=Object[_0x11b5f6(0x1d6)],_0x3388c9=Object[_0x11b5f6(0x269)],_0x99c1f8=(_0x5b74ad,_0x391e73,_0x38ee99,_0x1758c6)=>{const _0x356238=_0x11b5f6;for(var _0x43e768=_0x1758c6>0x1?void 0x0:_0x1758c6?_0x3388c9(_0x391e73,_0x38ee99):_0x391e73,_0x491303=_0x5b74ad[_0x356238(0x28e)]-0x1,_0x52f7fc;_0x491303>=0x0;_0x491303--)(_0x52f7fc=_0x5b74ad[_0x491303])&&(_0x43e768=(_0x1758c6?_0x52f7fc(_0x391e73,_0x38ee99,_0x43e768):_0x52f7fc(_0x43e768))||_0x43e768);return _0x1758c6&&_0x43e768&&_0x38a8ec(_0x391e73,_0x38ee99,_0x43e768),_0x43e768;},_0x54db2f=(_0x2456ca,_0x16f2de)=>(_0x35342a,_0x40783e)=>_0x16f2de(_0x35342a,_0x40783e,_0x2456ca);let _0x2d0262=class extends _0x5f1f01[_0x11b5f6(0x295)]{constructor(_0x407fe5,_0x1d84e9,_0x3e7341){const _0x27a129=_0x11b5f6;super(),this[_0x27a129(0x28b)]=_0x407fe5,this[_0x27a129(0x280)]=_0x1d84e9,this[_0x27a129(0x216)]=_0x3e7341,this['_initMergeWithSparkline']();}[_0x11b5f6(0x25b)](){const _0x4be130=_0x11b5f6;this['disposeWithMe'](this['_sheetInterceptorService'][_0x4be130(0x22c)]({'getMutations':_0x24eafd=>{const _0x3efe40=_0x4be130,_0x19dfd0=[],_0x191634=[];if(_0x24eafd['id']===_0x14fece[_0x3efe40(0x1f8)]['id']){const _0x275d59=_0x24eafd[_0x3efe40(0x2c1)];if(!_0x275d59)return{'redos':_0x19dfd0,'undos':_0x191634};const {unitId:_0x17b904,subUnitId:_0x1fefc7,ranges:_0x2e142c}=_0x275d59,_0x1e6f59=this[_0x3efe40(0x216)]['getSubUnitSparkline'](_0x17b904,_0x1fefc7);if(!_0x1e6f59)return{'redos':_0x19dfd0,'undos':_0x191634};const _0x4ef3e4={},_0x14bf7e={},_0x1bcbe9=new Set();_0x2e142c[_0x3efe40(0x281)](_0x5729f9=>{const _0xeba53e=_0x3efe40,_0x2b9762=_0x5729f9[_0xeba53e(0x2b7)],_0x530d1a=_0x5729f9['startColumn'];_0x5f1f01[_0xeba53e(0x242)][_0xeba53e(0x2a6)](_0x5729f9,(_0x123c5e,_0x5193a5)=>{const _0xfb9b20=_0xeba53e,_0x4ee01e=this[_0xfb9b20(0x216)]['getSparkline'](_0x17b904,_0x1fefc7,_0x123c5e,_0x5193a5);if(_0x4ee01e&&!(_0x123c5e===_0x2b9762&&_0x5193a5===_0x530d1a)){const _0x32162c=this[_0xfb9b20(0x216)][_0xfb9b20(0x254)](_0x17b904,_0x1fefc7,_0x4ee01e);if(_0x32162c){_0x1bcbe9[_0xfb9b20(0x2bc)](_0x4ee01e);let _0x5dea6d=_0x4ef3e4[_0x4ee01e];_0x5dea6d||(_0x5dea6d={'config':_0x5f1f01[_0xfb9b20(0x1f9)]['deepClone'](_0x32162c['config']),'sparklines':new _0x5f1f01[(_0xfb9b20(0x27d))](_0x32162c[_0xfb9b20(0x2b9)][_0xfb9b20(0x23f)]())},_0x4ef3e4[_0x4ee01e]=_0x5dea6d),_0x5dea6d[_0xfb9b20(0x2b9)][_0xfb9b20(0x213)](_0x123c5e,_0x5193a5),_0x14bf7e[_0x4ee01e]={'config':_0x5f1f01[_0xfb9b20(0x1f9)][_0xfb9b20(0x1fe)](_0x32162c['config']),'sparklines':_0x5f1f01[_0xfb9b20(0x1f9)][_0xfb9b20(0x1fe)](_0x32162c[_0xfb9b20(0x2b9)][_0xfb9b20(0x23f)]())};}}});});for(const [_0xbca028,_0x589cfa]of _0x1e6f59){const _0x88928f=_0x589cfa[_0x3efe40(0x2b9)];_0x88928f[_0x3efe40(0x232)]((_0x26f907,_0x3ed75b,_0x308589)=>{const _0x29587e=_0x3efe40;for(let _0x3647ef=0x0;_0x3647ef<_0x2e142c[_0x29587e(0x28e)];_0x3647ef++){const _0x25ac67=_0x2e142c[_0x3647ef];if(_0x5f1f01[_0x29587e(0x273)]['contains'](_0x25ac67,_0x308589)){_0x1bcbe9['add'](_0xbca028);let _0x1029df=_0x4ef3e4[_0xbca028];_0x1029df||(_0x1029df={'config':_0x5f1f01[_0x29587e(0x1f9)]['deepClone'](_0x589cfa['config']),'sparklines':new _0x5f1f01[(_0x29587e(0x27d))](_0x88928f[_0x29587e(0x23f)]())},_0x4ef3e4[_0xbca028]=_0x1029df),_0x1029df[_0x29587e(0x2b9)]['realDeleteValue'](_0x26f907,_0x3ed75b),_0x14bf7e[_0xbca028]||(_0x14bf7e[_0xbca028]={'config':_0x5f1f01[_0x29587e(0x1f9)]['deepClone'](_0x589cfa['config']),'sparklines':_0x5f1f01['Tools'][_0x29587e(0x1fe)](_0x88928f[_0x29587e(0x23f)]())});}}});}const _0x4476e5={};Object[_0x3efe40(0x255)](_0x4ef3e4)[_0x3efe40(0x281)](([_0x1cce83,_0xbe87a1])=>{const _0x4ef76f=_0x3efe40;_0xbe87a1[_0x4ef76f(0x2b9)][_0x4ef76f(0x286)]()&&(_0x4476e5[_0x1cce83]={'config':_0xbe87a1[_0x4ef76f(0x239)],'sparklines':_0xbe87a1[_0x4ef76f(0x2b9)][_0x4ef76f(0x23f)]()});}),_0x1bcbe9[_0x3efe40(0x282)]&&(_0x19dfd0[_0x3efe40(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x17b904,'subUnitId':_0x1fefc7,'groupIds':Array[_0x3efe40(0x22e)](_0x1bcbe9),'isSingle':!0x1}}),_0x191634[_0x3efe40(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x17b904,'subUnitId':_0x1fefc7,'groupIds':Array[_0x3efe40(0x22e)](_0x1bcbe9),'isSingle':!0x1}}),_0x19dfd0[_0x3efe40(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x17b904,'subUnitId':_0x1fefc7,'sparklineConfigMap':_0x4476e5}}),_0x191634[_0x3efe40(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x17b904,'subUnitId':_0x1fefc7,'sparklineConfigMap':_0x14bf7e}}));}return{'redos':_0x19dfd0,'undos':_0x191634};}}));}};_0x2d0262=_0x99c1f8([_0x54db2f(0x0,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01['ICommandService'])),_0x54db2f(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x14fece['SheetInterceptorService'])),_0x54db2f(0x2,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0[_0x11b5f6(0x228)]))],_0x2d0262);var _0x2b3f43=Object['defineProperty'],_0x5ae5d0=Object['getOwnPropertyDescriptor'],_0x4cbbb5=(_0x425382,_0x3cdec7,_0x15df89,_0x30bd8a)=>{const _0x4fbcd6=_0x11b5f6;for(var _0x45fd48=_0x30bd8a>0x1?void 0x0:_0x30bd8a?_0x5ae5d0(_0x3cdec7,_0x15df89):_0x3cdec7,_0x33f640=_0x425382[_0x4fbcd6(0x28e)]-0x1,_0x169200;_0x33f640>=0x0;_0x33f640--)(_0x169200=_0x425382[_0x33f640])&&(_0x45fd48=(_0x30bd8a?_0x169200(_0x3cdec7,_0x15df89,_0x45fd48):_0x169200(_0x45fd48))||_0x45fd48);return _0x30bd8a&&_0x45fd48&&_0x2b3f43(_0x3cdec7,_0x15df89,_0x45fd48),_0x45fd48;},_0x268820=(_0x1d3e34,_0x293161)=>(_0x59fd37,_0x354135)=>_0x293161(_0x59fd37,_0x354135,_0x1d3e34);let _0x5b43bb=class extends _0x5f1f01['Disposable']{constructor(_0x3d59b7,_0x389108,_0x500f1f,_0x584b46,_0x2e1feb){const _0x15d990=_0x11b5f6;super(),_0x465ab6(this,'disposableCollection',new _0x5f1f01['DisposableCollection']()),(this[_0x15d990(0x28b)]=_0x3d59b7,this[_0x15d990(0x280)]=_0x389108,this['_refRangeService']=_0x500f1f,this['_univerInstanceService']=_0x584b46,this['_sparklineDataSourceModel']=_0x2e1feb,this['_onRefRangeChange'](),this['_initCorrectRangeWithSparkline']());}[_0x11b5f6(0x208)](){const _0x225fa4=_0x11b5f6,_0x2b185d=(_0x5e6d69,_0x178852)=>{const _0x1e4b4c=_0x49d3,_0x4c0291=this['_univerInstanceService'][_0x1e4b4c(0x1e0)](_0x5f1f01[_0x1e4b4c(0x210)][_0x1e4b4c(0x1db)]);if(!_0x4c0291||!(_0x4c0291==null?void 0x0:_0x4c0291['getSheetBySheetId'](_0x178852)))return;this['disposableCollection'][_0x1e4b4c(0x24d)]();const _0x5a2249=_0x7e15f4=>this['refRangeHandle'](_0x7e15f4,_0x5e6d69,_0x178852),_0x46200a=[],_0x1cc821=this[_0x1e4b4c(0x216)][_0x1e4b4c(0x219)](_0x5e6d69,_0x178852);if(_0x1cc821){for(const [_0x6dce6c,_0x382372]of _0x1cc821)_0x382372[_0x1e4b4c(0x2b9)][_0x1e4b4c(0x232)]((_0x4fd176,_0x1871a9,_0x2c7bfb)=>{const _0x482e1a=_0x1e4b4c,_0x36bf94=_0x5f1f01[_0x482e1a(0x25a)](_0x4fd176,_0x1871a9);_0x46200a[_0x482e1a(0x1d0)](_0x36bf94);});_0x46200a[_0x1e4b4c(0x281)](_0x4f4513=>{const _0x52371b=_0x1e4b4c;this[_0x52371b(0x28a)][_0x52371b(0x2bc)](this[_0x52371b(0x29f)]['registerRefRange'](_0x4f4513,_0x5a2249,_0x5e6d69,_0x178852));});}};this[_0x225fa4(0x29e)](this['_commandService']['onCommandExecuted'](_0x346898=>{const _0xd46e56=_0x225fa4;if(_0x346898['id']===_0x14fece[_0xd46e56(0x278)]['id']){const _0x480cf1=_0x346898[_0xd46e56(0x2c1)],_0x56411f=_0x480cf1['subUnitId'],_0x5e5c1d=_0x480cf1[_0xd46e56(0x221)];if(!_0x56411f||!_0x5e5c1d)return;_0x2b185d(_0x5e5c1d,_0x56411f);}if(_0x346898['id']===_0x22a49a['id']||_0x346898['id']===_0x5e6b89['id']){const _0xbbfd91=_0x346898[_0xd46e56(0x2c1)],_0x2d4712=_0xbbfd91[_0xd46e56(0x1d5)],_0x666cc4=_0xbbfd91['unitId'];if(!_0x2d4712||!_0x666cc4)return;_0x2b185d(_0x666cc4,_0x2d4712);}}));}[_0x11b5f6(0x2bb)](_0x1ac848,_0x4a60c7,_0x4ce173){const _0xcb15a3=_0x11b5f6;switch(_0x1ac848['id']){case _0x14fece[_0xcb15a3(0x27a)]['id']:return this['_getRefRangeMutationsByDeleteCols'](_0x1ac848[_0xcb15a3(0x2c1)],_0x4a60c7,_0x4ce173);case _0x14fece[_0xcb15a3(0x1f3)]['id']:return this[_0xcb15a3(0x292)](_0x1ac848[_0xcb15a3(0x2c1)],_0x4a60c7,_0x4ce173);}return{'redos':[],'undos':[]};}[_0x11b5f6(0x292)](_0x377e57,_0x5a483e,_0xa58f58){const _0x233d80=_0x11b5f6;var _0x29d51e,_0x457c64;const {range:_0x3c3d9e}=_0x377e57,_0x2f7a40=new Set(),_0x455fa3={},_0x10feb2={},_0xe5adbd=[],_0x378047=[],_0x5484f4=[],_0x162945=[];if(!_0x14fece[_0x233d80(0x264)](this[_0x233d80(0x1d2)],{'unitId':_0x5a483e,'subUnitId':_0xa58f58}))return{'redos':_0x378047,'undos':_0xe5adbd};const _0x46869f=this[_0x233d80(0x216)]['getSubUnitSparkline'](_0x5a483e,_0xa58f58);if(!_0x46869f)return{'redos':_0x378047,'undos':_0xe5adbd};if(!((_0x457c64=(_0x29d51e=this[_0x233d80(0x216)][_0x233d80(0x201)]()[_0x233d80(0x2a1)][_0x233d80(0x1e8)](_0x5a483e))==null?void 0x0:_0x29d51e[_0x233d80(0x1e8)](_0xa58f58))==null?void 0x0:_0x457c64[_0x233d80(0x268)]))return{'redos':_0x378047,'undos':_0xe5adbd};for(const [_0x5f391d,_0x24b463]of _0x46869f){const _0x4c28ee=_0x24b463[_0x233d80(0x2b9)];_0x4c28ee[_0x233d80(0x232)]((_0x339c2c,_0x10ff6e,_0x16e4a0)=>{const _0x41b2b5=_0x233d80;if(_0x5f1f01[_0x41b2b5(0x273)]['intersects'](_0x3c3d9e,_0x16e4a0)){_0x2f7a40[_0x41b2b5(0x2bc)](_0x5f391d);let _0x5efec5=_0x10feb2[_0x5f391d];_0x5efec5||(_0x5efec5={'config':_0x24b463[_0x41b2b5(0x239)],'sparklines':_0x24b463['sparklines']['clone']()},_0x10feb2[_0x5f391d]=_0x5efec5);let _0x11c3fe=_0x455fa3[_0x5f391d];_0x11c3fe||(_0x11c3fe={'config':_0x24b463[_0x41b2b5(0x239)],'sparklines':new _0x5f1f01[(_0x41b2b5(0x27d))](_0x24b463[_0x41b2b5(0x2b9)][_0x41b2b5(0x23f)]())},_0x455fa3[_0x5f391d]=_0x11c3fe);const _0x292266=_0x14fece[_0x41b2b5(0x246)](_0x16e4a0,{'id':_0x14fece[_0x41b2b5(0x283)]['id'],'params':_0x377e57});_0x292266?_0x11c3fe[_0x41b2b5(0x2b9)][_0x41b2b5(0x28d)](_0x339c2c,_0x10ff6e,_0x292266):_0x11c3fe[_0x41b2b5(0x2b9)][_0x41b2b5(0x28d)](_0x339c2c,_0x10ff6e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01[_0x41b2b5(0x1ef)]['NORMAL']});}}),_0x4c28ee[_0x233d80(0x232)]((_0x5dde58,_0x4f7305,_0x5aac6e)=>{const _0x4e1205=_0x233d80;if(_0x5dde58<=_0x3c3d9e[_0x4e1205(0x256)]&&_0x5dde58>=_0x3c3d9e[_0x4e1205(0x2b7)]){_0x2f7a40[_0x4e1205(0x2bc)](_0x5f391d);let _0xeaa443=_0x10feb2[_0x5f391d];_0xeaa443||(_0xeaa443={'config':_0x24b463[_0x4e1205(0x239)],'sparklines':_0x24b463[_0x4e1205(0x2b9)][_0x4e1205(0x23f)]()},_0x10feb2[_0x5f391d]=_0xeaa443);let _0x1a758b=_0x455fa3[_0x5f391d];_0x1a758b||(_0x1a758b={'config':_0x24b463[_0x4e1205(0x239)],'sparklines':new _0x5f1f01[(_0x4e1205(0x27d))](_0x24b463[_0x4e1205(0x2b9)][_0x4e1205(0x23f)]())},_0x455fa3[_0x5f391d]=_0x1a758b);}});}_0x162945[_0x233d80(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x5a483e,'subUnitId':_0xa58f58,'groupIds':Array[_0x233d80(0x22e)](_0x2f7a40),'isSingle':!0x1}}),_0x5484f4[_0x233d80(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x5a483e,'subUnitId':_0xa58f58,'groupIds':Array[_0x233d80(0x22e)](_0x2f7a40),'isSingle':!0x1}});const _0x484ad2={};let _0x19346e=!0x1;return Object[_0x233d80(0x255)](_0x455fa3)[_0x233d80(0x281)](([_0x1d3336,_0x3d2619])=>{const _0x202867=_0x233d80;_0x3d2619[_0x202867(0x2b9)]['getSizeOf']()&&(_0x19346e=!0x0,_0x3d2619[_0x202867(0x2b9)][_0x202867(0x1ea)](_0x3c3d9e[_0x202867(0x2b7)],_0x3c3d9e[_0x202867(0x256)]-_0x3c3d9e['startRow']+0x1),_0x484ad2[_0x1d3336]={'config':_0x3d2619[_0x202867(0x239)],'sparklines':_0x3d2619[_0x202867(0x2b9)][_0x202867(0x23f)]()});}),_0x19346e&&_0x378047[_0x233d80(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x5a483e,'subUnitId':_0xa58f58,'sparklineConfigMap':_0x484ad2}}),_0xe5adbd['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x5a483e,'subUnitId':_0xa58f58,'sparklineConfigMap':_0x10feb2}}),{'redos':_0x378047,'undos':_0xe5adbd,'preRedos':_0x5484f4,'preUndos':_0x162945};}[_0x11b5f6(0x272)](_0x528403,_0x178464,_0x270eb8){const _0x3c970b=_0x11b5f6;var _0x2f0182,_0xd340d6;const {range:_0x358013}=_0x528403,_0x3c79de=new Set(),_0x514b93={},_0x3729c8={},_0x3842f4=[],_0x24c6d1=[],_0x226cbe=[],_0x31d50d=[];if(!_0x14fece[_0x3c970b(0x264)](this[_0x3c970b(0x1d2)],{'unitId':_0x178464,'subUnitId':_0x270eb8}))return{'redos':_0x24c6d1,'undos':_0x3842f4};const _0x566ca1=this['_sparklineDataSourceModel'][_0x3c970b(0x219)](_0x178464,_0x270eb8);if(!_0x566ca1)return{'redos':_0x24c6d1,'undos':_0x3842f4};if(!((_0xd340d6=(_0x2f0182=this[_0x3c970b(0x216)]['getSparklineCache']()['sparklineAnchorMap'][_0x3c970b(0x1e8)](_0x178464))==null?void 0x0:_0x2f0182[_0x3c970b(0x1e8)](_0x270eb8))==null?void 0x0:_0xd340d6['matrix']))return{'redos':_0x24c6d1,'undos':_0x3842f4};for(const [_0x19acdc,_0x4f8a2d]of _0x566ca1){const _0x2a626a=_0x4f8a2d[_0x3c970b(0x2b9)];_0x2a626a[_0x3c970b(0x232)]((_0x429581,_0x2e120b,_0x5b9e96)=>{const _0x4125ac=_0x3c970b;if(_0x5f1f01[_0x4125ac(0x273)]['intersects'](_0x358013,_0x5b9e96)){_0x3c79de[_0x4125ac(0x2bc)](_0x19acdc);let _0x112c28=_0x3729c8[_0x19acdc];_0x112c28||(_0x112c28={'config':_0x4f8a2d[_0x4125ac(0x239)],'sparklines':_0x4f8a2d['sparklines']['clone']()},_0x3729c8[_0x19acdc]=_0x112c28);let _0x54912b=_0x514b93[_0x19acdc];_0x54912b||(_0x54912b={'config':_0x4f8a2d[_0x4125ac(0x239)],'sparklines':new _0x5f1f01[(_0x4125ac(0x27d))](_0x4f8a2d[_0x4125ac(0x2b9)]['clone']())},_0x514b93[_0x19acdc]=_0x54912b);const _0x22e3a4=_0x14fece['adjustRangeOnMutation'](_0x5b9e96,{'id':_0x14fece[_0x4125ac(0x236)]['id'],'params':_0x528403});_0x22e3a4?_0x54912b[_0x4125ac(0x2b9)][_0x4125ac(0x28d)](_0x429581,_0x2e120b,_0x22e3a4):_0x54912b['sparklines'][_0x4125ac(0x28d)](_0x429581,_0x2e120b,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01[_0x4125ac(0x1ef)][_0x4125ac(0x25e)]});}}),_0x2a626a[_0x3c970b(0x232)]((_0x1426f3,_0x2c1778,_0x9df339)=>{const _0x7e42b4=_0x3c970b;if(_0x2c1778<=_0x358013['endColumn']&&_0x2c1778>=_0x358013[_0x7e42b4(0x2aa)]){_0x3c79de['add'](_0x19acdc);let _0x4148a6=_0x3729c8[_0x19acdc];_0x4148a6||(_0x4148a6={'config':_0x4f8a2d[_0x7e42b4(0x239)],'sparklines':_0x4f8a2d[_0x7e42b4(0x2b9)]['clone']()},_0x3729c8[_0x19acdc]=_0x4148a6);let _0x36edfd=_0x514b93[_0x19acdc];_0x36edfd||(_0x36edfd={'config':_0x4f8a2d[_0x7e42b4(0x239)],'sparklines':new _0x5f1f01[(_0x7e42b4(0x27d))](_0x4f8a2d['sparklines'][_0x7e42b4(0x23f)]())},_0x514b93[_0x19acdc]=_0x36edfd);}});}_0x31d50d[_0x3c970b(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x178464,'subUnitId':_0x270eb8,'groupIds':Array[_0x3c970b(0x22e)](_0x3c79de),'isSingle':!0x1}}),_0x226cbe[_0x3c970b(0x1d0)]({'id':_0x18f36b['id'],'params':{'unitId':_0x178464,'subUnitId':_0x270eb8,'groupIds':Array[_0x3c970b(0x22e)](_0x3c79de),'isSingle':!0x1}});const _0x5795c9={};let _0x477a17=!0x1;return Object[_0x3c970b(0x255)](_0x514b93)[_0x3c970b(0x281)](([_0x665157,_0x4d950e])=>{const _0x4865e2=_0x3c970b;_0x4d950e[_0x4865e2(0x2b9)][_0x4865e2(0x286)]()&&(_0x477a17=!0x0,_0x4d950e[_0x4865e2(0x2b9)]['removeColumns'](_0x358013[_0x4865e2(0x2aa)],_0x358013[_0x4865e2(0x20a)]-_0x358013['startColumn']+0x1),_0x5795c9[_0x665157]={'config':_0x4d950e[_0x4865e2(0x239)],'sparklines':_0x4d950e['sparklines'][_0x4865e2(0x23f)]()});}),_0x477a17&&_0x24c6d1['push']({'id':_0x5e6b89['id'],'params':{'unitId':_0x178464,'subUnitId':_0x270eb8,'sparklineConfigMap':_0x5795c9}}),_0x3842f4[_0x3c970b(0x1d0)]({'id':_0x5e6b89['id'],'params':{'unitId':_0x178464,'subUnitId':_0x270eb8,'sparklineConfigMap':_0x3729c8}}),{'redos':_0x24c6d1,'undos':_0x3842f4,'preRedos':_0x226cbe,'preUndos':_0x31d50d};}['_initCorrectRangeWithSparkline'](){const _0x4baf71=_0x11b5f6;this[_0x4baf71(0x29e)](this[_0x4baf71(0x28b)][_0x4baf71(0x2b6)](_0xfab213=>{const _0x5a1f53=_0x4baf71;if(_0xfab213['id']===_0x14fece['InsertColMutation']['id']){const _0x2097eb=_0xfab213[_0x5a1f53(0x2c1)],{unitId:_0x54f6a9,subUnitId:_0x332c75,range:_0x507b8e}=_0x2097eb,_0x1f6c51=_0x507b8e[_0x5a1f53(0x2aa)],_0x77d5f=_0x507b8e[_0x5a1f53(0x20a)]-_0x507b8e[_0x5a1f53(0x2aa)]+0x1,_0x29e34e=this[_0x5a1f53(0x216)][_0x5a1f53(0x219)](_0x54f6a9,_0x332c75);if(!_0x29e34e)return;for(const [_0x3baf9a,_0x96900a]of _0x29e34e){this['_sparklineDataSourceModel'][_0x5a1f53(0x2a7)](_0x54f6a9,_0x332c75,_0x3baf9a);const _0xc37d8b=_0x96900a[_0x5a1f53(0x2b9)];_0xc37d8b[_0x5a1f53(0x232)]((_0x5a7459,_0x3567cf,_0x21f73b)=>{const _0x7d25c=_0x5a1f53,_0x3eba18={..._0x21f73b};_0x1f6c51<=_0x3eba18[_0x7d25c(0x2aa)]?(_0x3eba18['startColumn']+=_0x77d5f,_0x3eba18[_0x7d25c(0x20a)]+=_0x77d5f):_0x1f6c51>_0x3eba18[_0x7d25c(0x20a)]||(_0x3eba18[_0x7d25c(0x20a)]+=_0x77d5f),_0xc37d8b['setValue'](_0x5a7459,_0x3567cf,_0x3eba18);});const _0x1cd637=_0xc37d8b[_0x5a1f53(0x26c)]();for(const _0xbff158 in _0x1cd637){const _0x515813=_0x1cd637[Number(_0xbff158)];if(!_0x515813)continue;const _0xff6d6e=Object['keys'](_0x515813)['map'](Number),_0xfa160a=Math[_0x5a1f53(0x205)](..._0xff6d6e);for(let _0x132199=_0xfa160a;_0x132199>=_0x1f6c51;_0x132199--)_0x132199>=_0x1f6c51&&_0x515813[_0x132199]&&(_0x515813[_0x132199+_0x77d5f]=_0x515813[_0x132199],delete _0x515813[_0x132199]);}this['_sparklineDataSourceModel'][_0x5a1f53(0x29d)](_0x54f6a9,_0x332c75,_0x3baf9a);}}else{if(_0xfab213['id']===_0x14fece[_0x5a1f53(0x291)]['id']){const _0x10fd5d=_0xfab213['params'],{unitId:_0x3ba25d,subUnitId:_0xb73923,range:_0x3cbefa}=_0x10fd5d,_0x2961d5=_0x3cbefa[_0x5a1f53(0x2b7)],_0x5f0eb8=_0x3cbefa[_0x5a1f53(0x256)]-_0x3cbefa[_0x5a1f53(0x2b7)]+0x1,_0x4c30ac=this['_sparklineDataSourceModel'][_0x5a1f53(0x219)](_0x3ba25d,_0xb73923);if(!_0x4c30ac)return;for(const [_0x4a21b0,_0x4f8153]of _0x4c30ac){this[_0x5a1f53(0x216)][_0x5a1f53(0x2a7)](_0x3ba25d,_0xb73923,_0x4a21b0);const _0x361a71=_0x4f8153[_0x5a1f53(0x2b9)];_0x361a71[_0x5a1f53(0x232)]((_0x1638b1,_0x180800,_0x41a322)=>{const _0x1f1774=_0x5a1f53,_0x61342d={..._0x41a322};_0x2961d5<=_0x61342d[_0x1f1774(0x2b7)]?(_0x61342d[_0x1f1774(0x2b7)]+=_0x5f0eb8,_0x61342d[_0x1f1774(0x256)]+=_0x5f0eb8):_0x2961d5>_0x61342d['endRow']||(_0x61342d[_0x1f1774(0x256)]+=_0x5f0eb8),_0x361a71[_0x1f1774(0x28d)](_0x1638b1,_0x180800,_0x61342d);});const _0xebace1=_0x361a71[_0x5a1f53(0x26c)](),_0x256d62=Object[_0x5a1f53(0x251)](_0xebace1)[_0x5a1f53(0x261)](Number),_0x50a81f=Math[_0x5a1f53(0x205)](..._0x256d62);for(let _0xceb5e3=_0x50a81f;_0xceb5e3>=_0x2961d5;_0xceb5e3--)_0xceb5e3>=_0x2961d5&&_0xebace1[_0xceb5e3]&&(_0xebace1[_0xceb5e3+_0x5f0eb8]=_0xebace1[_0xceb5e3],delete _0xebace1[_0xceb5e3]);this[_0x5a1f53(0x216)][_0x5a1f53(0x29d)](_0x3ba25d,_0xb73923,_0x4a21b0);}}else{if(_0xfab213['id']===_0x14fece[_0x5a1f53(0x236)]['id']){const _0x544314=_0xfab213['params'],{range:_0x397195,unitId:_0x1c63e9,subUnitId:_0xb9ab5e}=_0x544314,_0x41be4c=this[_0x5a1f53(0x216)][_0x5a1f53(0x219)](_0x1c63e9,_0xb9ab5e);if(!_0x41be4c)return;for(const [_0x5d07c6,_0x313725]of _0x41be4c){const _0x41f8f0=_0x313725[_0x5a1f53(0x2b9)];_0x41f8f0[_0x5a1f53(0x232)]((_0x300fa4,_0xd2a444,_0x2edcb3)=>{const _0x40c8ad=_0x5a1f53,_0x16c240=_0x14fece[_0x40c8ad(0x246)](_0x2edcb3,_0xfab213);_0x16c240?_0x41f8f0[_0x40c8ad(0x28d)](_0x300fa4,_0xd2a444,_0x16c240):_0x41f8f0[_0x40c8ad(0x28d)](_0x300fa4,_0xd2a444,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01[_0x40c8ad(0x1ef)]['NORMAL']});}),_0x41f8f0[_0x5a1f53(0x26d)](_0x397195[_0x5a1f53(0x2aa)],_0x397195[_0x5a1f53(0x20a)]-_0x397195['startColumn']+0x1);}this[_0x5a1f53(0x216)][_0x5a1f53(0x22f)](_0x1c63e9,_0xb9ab5e);}else{if(_0xfab213['id']===_0x14fece[_0x5a1f53(0x283)]['id']){const _0xe0038=_0xfab213[_0x5a1f53(0x2c1)],{range:_0x3ca2bf,unitId:_0xa853ef,subUnitId:_0x10c2da}=_0xe0038,_0x28e8c3=this[_0x5a1f53(0x216)]['getSubUnitSparkline'](_0xa853ef,_0x10c2da);if(!_0x28e8c3)return;for(const [_0xe97fff,_0x292d02]of _0x28e8c3){const _0x354a9d=_0x292d02['sparklines'];_0x354a9d[_0x5a1f53(0x232)]((_0x37b856,_0x1dfc42,_0x360db3)=>{const _0x3a2737=_0x5a1f53,_0x347072=_0x14fece['adjustRangeOnMutation'](_0x360db3,_0xfab213);_0x347072?_0x354a9d[_0x3a2737(0x28d)](_0x37b856,_0x1dfc42,_0x347072):_0x354a9d[_0x3a2737(0x28d)](_0x37b856,_0x1dfc42,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01[_0x3a2737(0x1ef)]['NORMAL']});}),_0x354a9d[_0x5a1f53(0x1ea)](_0x3ca2bf[_0x5a1f53(0x2b7)],_0x3ca2bf[_0x5a1f53(0x256)]-_0x3ca2bf[_0x5a1f53(0x2b7)]+0x1);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0xa853ef,_0x10c2da);}else{if(_0xfab213['id']===_0x14fece[_0x5a1f53(0x27f)]['id']){const _0x1c16fa=_0xfab213[_0x5a1f53(0x2c1)],{unitId:_0x310ac7,subUnitId:_0x2c3f36,sourceRange:_0x32a473,targetRange:_0x11b93d}=_0x1c16fa,_0xaf8926=this['_sparklineDataSourceModel'][_0x5a1f53(0x219)](_0x310ac7,_0x2c3f36);if(!_0xaf8926)return;for(const [_0x1a4267,_0x53f84f]of _0xaf8926){const _0x52c39b=_0x53f84f[_0x5a1f53(0x2b9)];_0x52c39b[_0x5a1f53(0x232)]((_0x39fb5b,_0x7d9807,_0x1f72a5)=>{const _0x4399bf=_0x5a1f53,_0x2c8ddc=_0x14fece[_0x4399bf(0x246)](_0x1f72a5,_0xfab213);_0x2c8ddc?_0x52c39b[_0x4399bf(0x28d)](_0x39fb5b,_0x7d9807,_0x2c8ddc):_0x52c39b[_0x4399bf(0x28d)](_0x39fb5b,_0x7d9807,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01[_0x4399bf(0x1ef)][_0x4399bf(0x25e)]});}),_0x52c39b['moveColumns'](_0x32a473[_0x5a1f53(0x2aa)],_0x32a473['endColumn']-_0x32a473[_0x5a1f53(0x2aa)]+0x1,_0x11b93d[_0x5a1f53(0x2aa)]);}this[_0x5a1f53(0x216)][_0x5a1f53(0x22f)](_0x310ac7,_0x2c3f36);}else{if(_0xfab213['id']===_0x14fece['MoveRowsMutation']['id']){const _0x4f319e=_0xfab213['params'],{unitId:_0x6a1bc,subUnitId:_0x202478,sourceRange:_0x1e05b8,targetRange:_0x277f7e}=_0x4f319e,_0x2af265=this[_0x5a1f53(0x216)][_0x5a1f53(0x219)](_0x6a1bc,_0x202478);if(!_0x2af265)return;for(const [_0x1489d6,_0x39e743]of _0x2af265){const _0x318c04=_0x39e743[_0x5a1f53(0x2b9)];_0x318c04['forValue']((_0x56323b,_0x2e5ed8,_0x1dcfec)=>{const _0x12c3c5=_0x5a1f53,_0x4f102b=_0x14fece[_0x12c3c5(0x246)](_0x1dcfec,_0xfab213);_0x4f102b?_0x318c04['setValue'](_0x56323b,_0x2e5ed8,_0x4f102b):_0x318c04[_0x12c3c5(0x28d)](_0x56323b,_0x2e5ed8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5f1f01['RANGE_TYPE'][_0x12c3c5(0x25e)]});}),_0x318c04[_0x5a1f53(0x263)](_0x1e05b8[_0x5a1f53(0x2b7)],_0x1e05b8[_0x5a1f53(0x256)]-_0x1e05b8[_0x5a1f53(0x2b7)]+0x1,_0x277f7e['startRow']);}this[_0x5a1f53(0x216)][_0x5a1f53(0x22f)](_0x6a1bc,_0x202478);}else{if(_0xfab213['id']===_0x14fece['MoveRangeMutation']['id']){const _0x44130a=_0xfab213[_0x5a1f53(0x2c1)],{fromRange:_0x292bdb,toRange:_0x20e7ed,unitId:_0x1cac67,from:_0x2eac52,to:_0x517fae}=_0x44130a;if(_0x2eac52[_0x5a1f53(0x1d5)]!==_0x517fae[_0x5a1f53(0x1d5)])return;const _0x18196e=_0x2eac52[_0x5a1f53(0x1d5)],{startRow:_0x44a340,endRow:_0x29db0c,startColumn:_0x372e8e,endColumn:_0x201c8b}=_0x292bdb,{startRow:_0xa4f62d,startColumn:_0x532168}=_0x20e7ed,_0x1ba835=_0xa4f62d-_0x44a340,_0x4f0772=_0x532168-_0x372e8e,_0x14d846=this[_0x5a1f53(0x216)][_0x5a1f53(0x219)](_0x1cac67,_0x18196e);if(!(_0x14d846!=null&&_0x14d846[_0x5a1f53(0x282)]))return;for(let _0x2fd570=_0x44a340;_0x2fd570<=_0x29db0c;_0x2fd570++)for(let _0x1f024b=_0x372e8e;_0x1f024b<=_0x201c8b;_0x1f024b++){const _0x3d0a36=this[_0x5a1f53(0x216)]['getSparkline'](_0x1cac67,_0x18196e,_0x2fd570,_0x1f024b);if(_0x3d0a36){const _0x26e79c=this[_0x5a1f53(0x216)][_0x5a1f53(0x254)](_0x1cac67,_0x18196e,_0x3d0a36);if(_0x26e79c){const _0x395216=_0x26e79c[_0x5a1f53(0x2b9)][_0x5a1f53(0x212)](_0x2fd570,_0x1f024b);_0x395216&&(_0x26e79c[_0x5a1f53(0x2b9)][_0x5a1f53(0x28d)](_0x2fd570+_0x1ba835,_0x1f024b+_0x4f0772,_0x395216),_0x26e79c['sparklines']['realDeleteValue'](_0x2fd570,_0x1f024b));}}}for(const [_0x59f7e6,_0x51ab2a]of _0x14d846){const _0x169a8f=_0x51ab2a['sparklines'];_0x169a8f['forValue']((_0x45ca03,_0x22fcbb,_0x118c73)=>{const _0x5e51e7=_0x5a1f53,_0x2a8c35={..._0x118c73};_0x5f1f01[_0x5e51e7(0x273)][_0x5e51e7(0x267)](_0x292bdb,_0x118c73)&&(_0x2a8c35[_0x5e51e7(0x2b7)]+=_0x1ba835,_0x2a8c35['endRow']+=_0x1ba835,_0x2a8c35[_0x5e51e7(0x2aa)]+=_0x4f0772,_0x2a8c35[_0x5e51e7(0x20a)]+=_0x4f0772),_0x169a8f[_0x5e51e7(0x28d)](_0x45ca03,_0x22fcbb,_0x2a8c35);});}this['_sparklineDataSourceModel'][_0x5a1f53(0x22f)](_0x1cac67,_0x18196e);}}}}}}}}));}};_0x5b43bb=_0x4cbbb5([_0x268820(0x0,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x27e)])),_0x268820(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x14fece[_0x11b5f6(0x25d)])),_0x268820(0x2,_0x5f1f01[_0x11b5f6(0x2c3)](_0x14fece[_0x11b5f6(0x238)])),_0x268820(0x3,_0x5f1f01['IUniverInstanceService']),_0x268820(0x4,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0[_0x11b5f6(0x228)]))],_0x5b43bb);var _0x154e0d=Object['defineProperty'],_0x1f3587=Object[_0x11b5f6(0x269)],_0x328d2c=(_0x30b4b9,_0x2d17b9,_0x22a21e,_0x5b1f57)=>{const _0x33f87b=_0x11b5f6;for(var _0x4172be=_0x5b1f57>0x1?void 0x0:_0x5b1f57?_0x1f3587(_0x2d17b9,_0x22a21e):_0x2d17b9,_0x2af421=_0x30b4b9[_0x33f87b(0x28e)]-0x1,_0x411a97;_0x2af421>=0x0;_0x2af421--)(_0x411a97=_0x30b4b9[_0x2af421])&&(_0x4172be=(_0x5b1f57?_0x411a97(_0x2d17b9,_0x22a21e,_0x4172be):_0x411a97(_0x4172be))||_0x4172be);return _0x5b1f57&&_0x4172be&&_0x154e0d(_0x2d17b9,_0x22a21e,_0x4172be),_0x4172be;},_0x366e2d=(_0x2dd786,_0x522a73)=>(_0xe8111f,_0x147056)=>_0x522a73(_0xe8111f,_0x147056,_0x2dd786);let _0x54891c=class extends _0x5f1f01[_0x11b5f6(0x295)]{constructor(_0x4f52d4,_0x45ed18){const _0x1ffde9=_0x11b5f6;super(),this['_resourceManagerService']=_0x4f52d4,this[_0x1ffde9(0x216)]=_0x45ed18,this[_0x1ffde9(0x2b4)]();}[_0x11b5f6(0x2b4)](){const _0x46c896=_0x11b5f6,_0x4b7ba2=_0x48ccf4=>{const _0x3eaaa6=_0x49d3,_0x4900c1=this[_0x3eaaa6(0x216)][_0x3eaaa6(0x2a5)](_0x48ccf4);return _0x4900c1?JSON[_0x3eaaa6(0x222)](_0x4900c1):'';},_0x4644aa=_0x714a5c=>_0x714a5c?JSON['parse'](_0x714a5c):{};this[_0x46c896(0x29e)](this[_0x46c896(0x27b)][_0x46c896(0x1e9)]({'toJson':_0x4b7ba2,'parseJson':_0x4644aa,'pluginName':_0xfec1bb,'businesses':[_0x5f1f01['UniverInstanceType'][_0x46c896(0x1db)]],'onLoad':(_0x4ab287,_0x4719cc)=>{const _0x2dbf78=_0x46c896;this[_0x2dbf78(0x216)][_0x2dbf78(0x247)](_0x4719cc);},'onUnLoad':_0x307966=>{const _0x302b5a=_0x46c896;this[_0x302b5a(0x216)][_0x302b5a(0x241)](_0x307966);}}));}};_0x54891c=_0x328d2c([_0x366e2d(0x0,_0x5f1f01['Inject'](_0x5f1f01[_0x11b5f6(0x249)])),_0x366e2d(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x58d9a0['SparklineDataSourceModel']))],_0x54891c);var _0x3c9eac=Object['defineProperty'],_0x29758a=Object[_0x11b5f6(0x269)],_0x2145c1=(_0x5cee01,_0x520088,_0x596749)=>_0x520088 in _0x5cee01?_0x3c9eac(_0x5cee01,_0x520088,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x596749}):_0x5cee01[_0x520088]=_0x596749,_0x2fd735=(_0x14b67d,_0x394b4e,_0x4af69f,_0x57bfba)=>{const _0x3b77f5=_0x11b5f6;for(var _0x423475=_0x57bfba>0x1?void 0x0:_0x57bfba?_0x29758a(_0x394b4e,_0x4af69f):_0x394b4e,_0x23a15a=_0x14b67d[_0x3b77f5(0x28e)]-0x1,_0x2d4681;_0x23a15a>=0x0;_0x23a15a--)(_0x2d4681=_0x14b67d[_0x23a15a])&&(_0x423475=(_0x57bfba?_0x2d4681(_0x394b4e,_0x4af69f,_0x423475):_0x2d4681(_0x423475))||_0x423475);return _0x57bfba&&_0x423475&&_0x3c9eac(_0x394b4e,_0x4af69f,_0x423475),_0x423475;},_0x1908fa=(_0x6bb1a4,_0x22377e)=>(_0x44dce4,_0x2bfe41)=>_0x22377e(_0x44dce4,_0x2bfe41,_0x6bb1a4),_0x4f95b5=(_0x3bdfd2,_0x53c4c0,_0x2c99a2)=>_0x2145c1(_0x3bdfd2,typeof _0x53c4c0!=_0x11b5f6(0x2bf)?_0x53c4c0+'':_0x53c4c0,_0x2c99a2);_0x58d9a0['UniverSheetSparklinePlugin']=class extends _0x5f1f01[_0x11b5f6(0x1e1)]{constructor(_0x3dbf67={},_0x4da47c,_0xaae681){const _0x457ec9=_0x11b5f6;super(),this[_0x457ec9(0x2a8)]=_0x3dbf67,this[_0x457ec9(0x1e4)]=_0x4da47c,this[_0x457ec9(0x28b)]=_0xaae681,this[_0x457ec9(0x1ed)](),this[_0x457ec9(0x294)]();}[_0x11b5f6(0x1ed)](){const _0x4ff668=_0x11b5f6;[[_0x58d9a0[_0x4ff668(0x228)]],[_0x4701e1],[_0x2d0262],[_0x4be027],[_0x5b43bb],[_0x2016c1],[_0x5775af],[_0x54891c]][_0x4ff668(0x281)](_0x1dac56=>{const _0x54ac7d=_0x4ff668;this[_0x54ac7d(0x1e4)][_0x54ac7d(0x2bc)](_0x1dac56);}),_0x5f1f01['touchDependencies'](this[_0x4ff668(0x1e4)],[[_0x54891c]]);}['onReady'](){const _0x40e701=_0x11b5f6;_0x5f1f01[_0x40e701(0x22b)](this[_0x40e701(0x1e4)],[[_0x4701e1],[_0x2d0262],[_0x4be027],[_0x5b43bb],[_0x2016c1],[_0x5775af]]);}['_initRegisterCommand'](){const _0x32c6da=_0x11b5f6;[_0x251ce4,_0x5e6b89,_0x4b7770,_0x18f36b,_0x2e8770,_0x22a49a]['forEach'](_0x165335=>this[_0x32c6da(0x28b)][_0x32c6da(0x250)](_0x165335));}},_0x4f95b5(_0x58d9a0[_0x11b5f6(0x277)],_0x11b5f6(0x29c),_0xfec1bb),_0x4f95b5(_0x58d9a0['UniverSheetSparklinePlugin'],_0x11b5f6(0x244),_0x5f1f01[_0x11b5f6(0x210)][_0x11b5f6(0x1db)]),_0x58d9a0[_0x11b5f6(0x277)]=_0x2fd735([_0x5f1f01[_0x11b5f6(0x23b)](_0x39c969['UniverLicensePlugin']),_0x1908fa(0x1,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x2ca)])),_0x1908fa(0x2,_0x5f1f01[_0x11b5f6(0x2c3)](_0x5f1f01[_0x11b5f6(0x27e)]))],_0x58d9a0['UniverSheetSparklinePlugin']),_0x58d9a0[_0x11b5f6(0x20b)]=_0x251ce4,_0x58d9a0[_0x11b5f6(0x1da)]=_0x5e6b89,_0x58d9a0[_0x11b5f6(0x285)]=_0xfec1bb,_0x58d9a0[_0x11b5f6(0x230)]=_0x4b7770,_0x58d9a0[_0x11b5f6(0x2b3)]=_0x18f36b,_0x58d9a0[_0x11b5f6(0x24c)]=_0x2e8770,_0x58d9a0[_0x11b5f6(0x2c8)]=_0x22a49a,_0x58d9a0[_0x11b5f6(0x29a)]=_0x2cdbf8,_0x58d9a0['SparklineExtremumTypeEnum']=_0xff8e44,_0x58d9a0[_0x11b5f6(0x270)]=_0x4df515,_0x58d9a0['SparklineThemeMapping']=_0x5a66ec,_0x58d9a0[_0x11b5f6(0x298)]=_0x4adf7f,_0x58d9a0['SparklineTypeEnum']=_0xc56ef9,_0x58d9a0['getSparklinePlacement']=_0x243e14,Object['defineProperty'](_0x58d9a0,Symbol[_0x11b5f6(0x2a0)],{'value':_0x11b5f6(0x284)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs-pro/license": "0.
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs-pro/license": "0.6.0-alpha.0",
|
|
61
|
+
"@univerjs/sheets": "0.6.0-alpha.0",
|
|
62
|
+
"@univerjs/core": "0.6.0-alpha.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "^7.8.1",
|
|
66
|
-
"typescript": "^5.7.
|
|
66
|
+
"typescript": "^5.7.3",
|
|
67
67
|
"vite": "^6.0.7",
|
|
68
68
|
"vitest": "^2.1.8",
|
|
69
|
-
"@univerjs-infra/shared": "0.
|
|
69
|
+
"@univerjs-infra/shared": "0.6.0-alpha.0"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|