@univerjs-pro/sheets-sparkline 0.8.3-nightly.202506271607 → 0.8.3-nightly.202507010644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x11b0(_0x147494,_0x2d1adc){const _0x56de03=_0x56de();return _0x11b0=function(_0x11b0d3,_0x1744d8){_0x11b0d3=_0x11b0d3-0x1d3;let _0x10df9d=_0x56de03[_0x11b0d3];return _0x10df9d;},_0x11b0(_0x147494,_0x2d1adc);}const _0xd288ed=_0x11b0;(function(_0x104805,_0x3ed519){const _0x41c3dd=_0x11b0,_0x12b66=_0x104805();while(!![]){try{const _0x142e1a=parseInt(_0x41c3dd(0x1df))/0x1*(parseInt(_0x41c3dd(0x241))/0x2)+parseInt(_0x41c3dd(0x20c))/0x3+parseInt(_0x41c3dd(0x268))/0x4+-parseInt(_0x41c3dd(0x1d7))/0x5*(parseInt(_0x41c3dd(0x23b))/0x6)+parseInt(_0x41c3dd(0x1eb))/0x7*(parseInt(_0x41c3dd(0x202))/0x8)+parseInt(_0x41c3dd(0x265))/0x9*(parseInt(_0x41c3dd(0x25f))/0xa)+-parseInt(_0x41c3dd(0x21b))/0xb;if(_0x142e1a===_0x3ed519)break;else _0x12b66['push'](_0x12b66['shift']());}catch(_0x5f0d40){_0x12b66['push'](_0x12b66['shift']());}}}(_0x56de,0xcc178));var qe=Object[_0xd288ed(0x23a)],Qe=(_0x3b8471,_0x1573c5,_0x1ec3db)=>_0x1573c5 in _0x3b8471?qe(_0x3b8471,_0x1573c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ec3db}):_0x3b8471[_0x1573c5]=_0x1ec3db,se=(_0xe6f81a,_0x22abf0,_0x24fbf8)=>Qe(_0xe6f81a,typeof _0x22abf0!=_0xd288ed(0x1e0)?_0x22abf0+'':_0x22abf0,_0x24fbf8);import{UniverLicensePlugin as _0x1b39bf}from'@univerjs-pro/license';import{ObjectMatrix as _0x2561c9,Inject as _0x5d1749,IUniverInstanceService as _0x247b96,Disposable as _0x3480d3,isValidRange as _0x3fd9ee,CellValueType as _0xd5f256,ColorKit as _0xe16716,CommandType as _0x472447,Range as _0x51f2c0,IUndoRedoService as _0xdcf169,generateRandomId as _0x13833d,ICommandService as _0x5e26ed,Tools as _0x5a3eb8,sequenceExecute as _0xf3ff2e,Rectangle as _0x2b7218,cellToRange as _0x1470e6,DisposableCollection as _0x2bf186,RANGE_TYPE as _0x3764e2,UniverInstanceType as _0x420990,IResourceManagerService as _0x3cd0d0,DependentOn as _0xcd782b,Injector as _0x5c3983,Plugin as _0x3616c3,touchDependencies as _0x5c60f3}from'@univerjs/core';import{getSheetCommandTarget as _0x1cb152,SheetsSelectionsService as _0x2a7198,SheetInterceptorService as _0x36afd7,ClearSelectionAllCommand as _0x19e45c,CopySheetCommand as _0x307642,IExclusiveRangeService as _0x57407d,SetRangeValuesMutation as _0x3d60c0,ReorderRangeMutation as _0x2a5df1,SetRowHiddenMutation as _0x26326d,SetColHiddenMutation as _0x169bd4,SetRowVisibleMutation as _0x546b1b,SetColVisibleMutation as _0xd4e8c7,AddWorksheetMergeCommand as _0xc93dac,RefRangeService as _0x179aff,SetWorksheetActivateCommand as _0x2d7683,RemoveRowCommand as _0xcd935a,RemoveColCommand as _0x3daf66,adjustRangeOnMutation as _0x3863a3,RemoveRowMutation as _0x4da17a,RemoveColMutation as _0x48414a,InsertColMutation as _0xa652c5,InsertRowMutation as _0x1fe6db,MoveColsMutation as _0x282322,MoveRowsMutation as _0x532025,MoveRangeMutation as _0x1f94c7}from'@univerjs/sheets';import{Subject as _0xe27cd3}from'rxjs';function Fe(_0x736618,_0x1d1794){const _0x35fdec=_0xd288ed,_0x1e2325=new _0x2561c9(),_0x19c6af=[],_0x2fb403=_0x736618[_0x35fdec(0x285)]>0x1;let _0x5bfa01=0x0,_0x5ada07=0x0;for(const _0xe39ec6 of _0x736618)_0x5bfa01+=_0xe39ec6[_0x35fdec(0x228)]-_0xe39ec6[_0x35fdec(0x1d6)]+0x1,_0x5ada07+=_0xe39ec6[_0x35fdec(0x28a)]-_0xe39ec6[_0x35fdec(0x1f6)]+0x1;for(const _0x53cabc of _0x1d1794)for(let _0x1629ed=_0x53cabc[_0x35fdec(0x1d6)];_0x1629ed<=_0x53cabc[_0x35fdec(0x228)];_0x1629ed++)for(let _0x6f3e55=_0x53cabc[_0x35fdec(0x1f6)];_0x6f3e55<=_0x53cabc[_0x35fdec(0x28a)];_0x6f3e55++)_0x19c6af[_0x35fdec(0x207)]({'row':_0x1629ed,'column':_0x6f3e55});if(_0x19c6af[_0x35fdec(0x285)]===_0x5bfa01)_0x2fb403?_0x19c6af[_0x35fdec(0x28b)]((_0x2de0fa,_0x14ef43)=>{const _0x415734=_0x35fdec,_0x347a7c=_0x736618[_0x14ef43],_0x3cb394={'startRow':_0x347a7c[_0x415734(0x1d6)],'startColumn':_0x347a7c[_0x415734(0x1f6)],'endRow':_0x347a7c[_0x415734(0x1d6)],'endColumn':_0x347a7c[_0x415734(0x28a)]};_0x1e2325[_0x415734(0x26d)](_0x2de0fa[_0x415734(0x221)],_0x2de0fa[_0x415734(0x1e1)],_0x3cb394);}):_0x19c6af['forEach']((_0x5b0810,_0x2aea8a)=>{const _0x154330=_0x35fdec,_0x1a2306=_0x736618[0x0],_0x2550c6={'startRow':_0x1a2306[_0x154330(0x1d6)]+_0x2aea8a,'startColumn':_0x1a2306[_0x154330(0x1f6)],'endRow':_0x1a2306['startRow']+_0x2aea8a,'endColumn':_0x1a2306['endColumn']};_0x1e2325[_0x154330(0x26d)](_0x5b0810['row'],_0x5b0810[_0x154330(0x1e1)],_0x2550c6);});else{if(_0x19c6af[_0x35fdec(0x285)]===_0x5ada07)_0x2fb403?_0x19c6af['forEach']((_0xf2ef4e,_0x33eecc)=>{const _0x3a139b=_0x35fdec,_0xcd2cc0=_0x736618[_0x33eecc],_0x40f8ff={'startRow':_0xcd2cc0[_0x3a139b(0x1d6)],'startColumn':_0xcd2cc0[_0x3a139b(0x1f6)],'endRow':_0xcd2cc0[_0x3a139b(0x228)],'endColumn':_0xcd2cc0[_0x3a139b(0x1f6)]};_0x1e2325[_0x3a139b(0x26d)](_0xf2ef4e['row'],_0xf2ef4e[_0x3a139b(0x1e1)],_0x40f8ff);}):_0x19c6af['forEach']((_0x3fe18e,_0x37ede8)=>{const _0x20eb7d=_0x35fdec,_0x2d6c97=_0x736618[0x0],_0x4a8d22={'startRow':_0x2d6c97[_0x20eb7d(0x1d6)],'startColumn':_0x2d6c97[_0x20eb7d(0x1f6)]+_0x37ede8,'endRow':_0x2d6c97[_0x20eb7d(0x228)],'endColumn':_0x2d6c97[_0x20eb7d(0x1f6)]+_0x37ede8};_0x1e2325[_0x20eb7d(0x26d)](_0x3fe18e[_0x20eb7d(0x221)],_0x3fe18e[_0x20eb7d(0x1e1)],_0x4a8d22);});else{if(_0x19c6af['length']===_0x736618[_0x35fdec(0x285)])_0x736618[_0x35fdec(0x1ed)](_0x177e19=>!(_0x177e19[_0x35fdec(0x1d6)]!==_0x177e19[_0x35fdec(0x228)]&&_0x177e19[_0x35fdec(0x1f6)]!==_0x177e19[_0x35fdec(0x28a)]))&&_0x19c6af[_0x35fdec(0x28b)]((_0x3bf262,_0x424e06)=>{const _0x34242f=_0x35fdec,_0x2b6290=_0x736618[_0x424e06];_0x1e2325[_0x34242f(0x26d)](_0x3bf262[_0x34242f(0x221)],_0x3bf262[_0x34242f(0x1e1)],_0x2b6290);});else throw new Error(_0x35fdec(0x237));}}return _0x1e2325;}const Ke=_0xd288ed(0x1e8),Le={'standard':[_0xd288ed(0x239),'rgb(236,100,169)'],'specialty':[_0xd288ed(0x1f7),_0xd288ed(0x246)],'distinctive':[_0xd288ed(0x1ec),_0xd288ed(0x263)],'soft':[_0xd288ed(0x213),_0xd288ed(0x208)],'fresh':['rgb(46,187,122)',_0xd288ed(0x250)]},on=[_0xd288ed(0x1e9),_0xd288ed(0x223),'lastPoint',_0xd288ed(0x278),'negativePoint',_0xd288ed(0x205)];function _0x56de(){const _0x3a043e=['_ensureConfigMap','exclusiveRangesChange$','_config','rgb(248,190,21)','CONNECT_WITH_LINE','getSizeOf','_initMergeWithSparkline','refRangeHandle','MAX_SAFE_INTEGER','subscribe','toJSON','_sheetInterceptorService','_refRangeService','entries','custom','item','moveColumns','STRING','130PKRubX','emptyShowAs','sparklineModel','interceptCommand','rgb(252,117,60)','COMMAND','439083sauIjG','_initRegisterCommand','getSparkline','2670080LHNVUa','actualColumn','remove','foreach','add','setValue','_resourceManagerService','next','type','u-spacing','specialty','removePartSparkline','has','size','assign','DISTINCTIVE','lowPoint','contains','PIE_CHART','updateSparklineExtraNum','range','_sheetSelectionService','sparklineAnchorMap','clearSparklineCache','get','soft','moveRows','stringify','set','length','FRESH','_sparklineDataSourceModel','_sparklineAnchorMap','UNIVER_SHEET','endColumn','forEach','toRgbString','unitId','matrix','CUSTOM_EXTREMUM','ZERO_VALUE','themeType','fresh','_initDependencies','LINE_CHART','startRow','8655cDUAvU','reBuildAnchorCache','params','parse','intersects','extremumMax','BAR_CHART','_initHideRowColWithSparkline','64ykbchI','symbol','column','getCellRaw','extremumMin','onReady','NUMBER','disposeWithMe','some','SHEET_SPARKLINE_PLUGIN','highPoint','disposableCollection','147btCWQy','rgb(124,66,147)','every','SELF_EXTREMUM','forValue','_ensureAnchorMatrix','CUSTOM','fromJSON','FORCE_STRING','_exclusiveRangeService','zero_value','startColumn','rgb(49,106,246)','_injector','asObservable','min','GROUP_EXTREMUM','groupId','STANDARD','NORMAL','getCell','clone','realDeleteValue','26584sEJxvb','removeColumns','connect_with_line','markersPoint','sheet.command.remove-sparkline','push','rgb(244,104,249)','hasValue','dispose','delete','1825104DHuFDF','_onRefRangeChange','SPACING','registerPluginResource','max','getSparklineById','_initExclusiveRangeChange','rgb(80,102,248)','getSparklineCache','MUTATION','getMatrix','_updateConfig$','from','MIN_SAFE_INTEGER','_initClearWithSparkline','19211940ANcBMm','BOOLEAN','getSubUnitSparkline','getColVisible','_initCorrectRangeWithSparkline','SPECIALTY','row','_sparklineModel','firstPoint','sheet.mutation.remove-sparkline','distinctive','setAlpha','number','endRow','subUnitId','_commandService','deepClone','getSheetBySheetId','_univerInstanceService','standard','map','PROFIT_AND_LOSS_CHART','changeDataSourceInfo','value','getValue','spacing','sparklines','ranges','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','containHiddenCells','rgb(54,78,244)','defineProperty','3636NEjDiW','addSparkline','pushUndoRedo','updateConfig$','removeSparkline','removeRows','51612mEYEUk','getCurrentSelections','getOwnPropertyDescriptor','registerCommand','actualRow','rgb(30,177,189)','config','setSparkline','sheet.command.add-sparkline','onCommandExecuted','_initSnapshot','keys'];_0x56de=function(){return _0x3a043e;};return _0x56de();}var Xe=(_0x1b62bd=>(_0x1b62bd[_0xd288ed(0x1fd)]=_0xd288ed(0x22e),_0x1b62bd[_0xd288ed(0x220)]=_0xd288ed(0x272),_0x1b62bd[_0xd288ed(0x277)]=_0xd288ed(0x225),_0x1b62bd['SOFT']=_0xd288ed(0x281),_0x1b62bd[_0xd288ed(0x286)]=_0xd288ed(0x1d3),_0x1b62bd[_0xd288ed(0x1f1)]=_0xd288ed(0x25b),_0x1b62bd))(Xe||{}),Dt=(_0x3a0985=>(_0x3a0985[_0x3a0985[_0xd288ed(0x1d5)]=0x1]=_0xd288ed(0x1d5),_0x3a0985[_0x3a0985[_0xd288ed(0x1dd)]=0x2]=_0xd288ed(0x1dd),_0x3a0985[_0x3a0985[_0xd288ed(0x230)]=0x3]='PROFIT_AND_LOSS_CHART',_0x3a0985[_0x3a0985[_0xd288ed(0x27a)]=0x4]=_0xd288ed(0x27a),_0x3a0985))(Dt||{}),J=(_0x4659cc=>(_0x4659cc['SPACING']=_0xd288ed(0x234),_0x4659cc[_0xd288ed(0x290)]=_0xd288ed(0x1f5),_0x4659cc[_0xd288ed(0x251)]=_0xd288ed(0x204),_0x4659cc))(J||{}),Ee=(_0x15acb7=>(_0x15acb7[_0x15acb7[_0xd288ed(0x1ee)]=0x1]=_0xd288ed(0x1ee),_0x15acb7[_0x15acb7[_0xd288ed(0x1fb)]=0x2]=_0xd288ed(0x1fb),_0x15acb7[_0x15acb7['CUSTOM_EXTREMUM']=0x3]=_0xd288ed(0x28f),_0x15acb7))(Ee||{}),Et=Object['getOwnPropertyDescriptor'],Vt=(_0x41aa01,_0x5385ef,_0x385f0b,_0x20a051)=>{const _0x1efe73=_0xd288ed;for(var _0x28d1e5=_0x20a051>0x1?void 0x0:_0x20a051?Et(_0x5385ef,_0x385f0b):_0x5385ef,_0x2bf1bb=_0x41aa01[_0x1efe73(0x285)]-0x1,_0x493d2f;_0x2bf1bb>=0x0;_0x2bf1bb--)(_0x493d2f=_0x41aa01[_0x2bf1bb])&&(_0x28d1e5=_0x493d2f(_0x28d1e5)||_0x28d1e5);return _0x28d1e5;},yt=(_0x3ab940,_0x5d07df)=>(_0x555c5d,_0x182419)=>_0x5d07df(_0x555c5d,_0x182419,_0x3ab940);let x=class extends _0x3480d3{constructor(_0x537227){const _0x249da5=_0xd288ed;super(),se(this,_0x249da5(0x222),new Map()),se(this,'_sparklineAnchorMap',new Map()),se(this,_0x249da5(0x217),new _0xe27cd3()),se(this,_0x249da5(0x23e),this[_0x249da5(0x217)][_0x249da5(0x1f9)]()),this['_univerInstanceService']=_0x537227;}[_0xd288ed(0x24d)](_0x26d213,_0xc24296){const _0x4f7240=_0xd288ed;let _0x2a46f7=this[_0x4f7240(0x222)]['get'](_0x26d213);_0x2a46f7||(_0x2a46f7=new Map(),this[_0x4f7240(0x222)][_0x4f7240(0x284)](_0x26d213,_0x2a46f7));let _0x16526a=_0x2a46f7[_0x4f7240(0x280)](_0xc24296);return _0x16526a||(_0x16526a=new Map(),_0x2a46f7[_0x4f7240(0x284)](_0xc24296,_0x16526a)),_0x16526a;}[_0xd288ed(0x1f0)](_0x2b8402,_0x494a50){const _0x28dd75=_0xd288ed;let _0x1fb861=this[_0x28dd75(0x288)][_0x28dd75(0x280)](_0x2b8402);_0x1fb861||(_0x1fb861=new Map(),this['_sparklineAnchorMap']['set'](_0x2b8402,_0x1fb861));let _0x5f2032=_0x1fb861[_0x28dd75(0x280)](_0x494a50);return _0x5f2032||(_0x5f2032={'matrix':new _0x2561c9(),'extra':{}},_0x1fb861[_0x28dd75(0x284)](_0x494a50,_0x5f2032)),_0x5f2032;}['updateSparklineExtraNum'](_0x2be940,_0x2cccb0,_0x517eee,_0x21ea40='set'){const _0x4dd90a=_0xd288ed;var _0x2b7486,_0x31134a,_0xf62b7b,_0x289326,_0x2f7bfd,_0x432a3f,_0x4b6db4,_0x4de34d,_0x27821e,_0x523750,_0x569f83,_0x14f47e,_0x2a3258;const _0x37cd64=(_0x31134a=(_0x2b7486=this[_0x4dd90a(0x222)][_0x4dd90a(0x280)](_0x2be940))==null?void 0x0:_0x2b7486[_0x4dd90a(0x280)](_0x2cccb0))==null?void 0x0:_0x31134a[_0x4dd90a(0x280)](_0x517eee);if(!_0x37cd64)return;const _0x27d752=_0x1cb152(this[_0x4dd90a(0x22d)],{'unitId':_0x2be940,'subUnitId':_0x2cccb0});if(!_0x27d752)return;const _0x3c50eb=this[_0x4dd90a(0x1f0)](_0x2be940,_0x2cccb0),{extra:_0x38de81,matrix:_0x258582}=_0x3c50eb,{worksheet:_0x4c5837}=_0x27d752;let _0x3c5629=Number['MIN_SAFE_INTEGER'],_0x52d468=Number[_0x4dd90a(0x255)];const _0x4588e9=(_0xf62b7b=_0x37cd64[_0x4dd90a(0x247)][_0x4dd90a(0x238)])!=null?_0xf62b7b:!0x1;_0x37cd64[_0x4dd90a(0x235)][_0x4dd90a(0x1ef)]((_0x562183,_0x4bf0a6,_0x2687f8)=>{const _0x392a57=_0x4dd90a;var _0x119d02,_0x46c243,_0x1b6fba;const _0x191208=_0x2687f8;let _0x2ae075=Number['MIN_SAFE_INTEGER'],_0x275ebf=Number['MAX_SAFE_INTEGER'],_0x17c2f4=0x0,_0x256623=0x0;const _0x1406b7=[];if(!_0x3fd9ee(_0x191208))_0x258582[_0x392a57(0x26d)](_0x562183,_0x4bf0a6,{'groupId':_0x517eee,'data':[],'max':_0x2ae075,'min':_0x275ebf,'highIndex':_0x17c2f4,'lowIndex':_0x256623,'negativeIndexes':_0x1406b7});else{const _0x3540c1=[];for(let _0x54c6a4=_0x191208['startRow'];_0x54c6a4<=_0x191208['endRow'];_0x54c6a4++){for(let _0x58a20f=_0x191208[_0x392a57(0x1f6)];_0x58a20f<=_0x191208[_0x392a57(0x28a)];_0x58a20f++){const _0x129c3e=_0x4c5837['getRowVisible'](_0x54c6a4),_0x2a1f6c=_0x4c5837[_0x392a57(0x21e)](_0x58a20f);if(!_0x4588e9&&(!_0x129c3e||!_0x2a1f6c))continue;let _0x237ec6=0x0;const _0x2623a1=((_0x119d02=_0x4c5837[_0x392a57(0x1e2)](_0x54c6a4,_0x58a20f))==null?void 0x0:_0x119d02['v'])!==void 0x0?_0x4c5837[_0x392a57(0x1e2)](_0x54c6a4,_0x58a20f):_0x4c5837[_0x392a57(0x1ff)](_0x54c6a4,_0x58a20f);if(!_0x2623a1||_0x2623a1['v']===void 0x0||_0x2623a1['v']===null){const _0x6957b=(_0x46c243=_0x37cd64['config'][_0x392a57(0x260)])!=null?_0x46c243:J[_0x392a57(0x20e)];_0x6957b===J[_0x392a57(0x290)]?_0x237ec6=0x0:_0x6957b===J[_0x392a57(0x20e)]?_0x237ec6=_0x392a57(0x271):_0x6957b===J['CONNECT_WITH_LINE']&&(_0x237ec6='u-connect');}else{if(_0x2623a1['t']===_0xd5f256[_0x392a57(0x25e)]||_0x2623a1['t']===_0xd5f256[_0x392a57(0x1f3)]){const _0x14ee96=(_0x1b6fba=_0x37cd64[_0x392a57(0x247)]['nonNumShowAs'])!=null?_0x1b6fba:J['SPACING'];_0x14ee96===J[_0x392a57(0x290)]?_0x237ec6=0x0:_0x14ee96===J['SPACING']?_0x237ec6=_0x392a57(0x271):_0x14ee96===J[_0x392a57(0x251)]&&(_0x237ec6='u-connect');}else _0x2623a1['t']===_0xd5f256[_0x392a57(0x21c)]?_0x237ec6=_0x2623a1['v']?0x1:0x0:_0x2623a1['t']===_0xd5f256[_0x392a57(0x1e5)]?_0x237ec6=Number(_0x2623a1['v']):_0x237ec6=_0x2623a1['v'];}if(_0x3540c1['push'](_0x237ec6),typeof _0x237ec6==_0x392a57(0x227)){_0x2ae075=Math[_0x392a57(0x210)](_0x2ae075,_0x237ec6),_0x3c5629=Math[_0x392a57(0x210)](_0x3c5629,_0x237ec6),_0x52d468=Math[_0x392a57(0x1fa)](_0x52d468,_0x237ec6),_0x275ebf=Math[_0x392a57(0x1fa)](_0x275ebf,_0x237ec6);const _0x2ba9f7=typeof _0x3540c1[_0x17c2f4]=='number'?Number(_0x3540c1[_0x17c2f4]):Number[_0x392a57(0x219)];_0x237ec6>_0x2ba9f7&&(_0x17c2f4=_0x3540c1[_0x392a57(0x285)]-0x1);const _0x2a1042=typeof _0x3540c1[_0x256623]==_0x392a57(0x227)?Number(_0x3540c1[_0x256623]):Number[_0x392a57(0x255)];_0x237ec6<_0x2a1042&&(_0x256623=_0x3540c1['length']-0x1),_0x237ec6<0x0&&_0x1406b7[_0x392a57(0x207)](_0x3540c1['length']-0x1);}}_0x258582['setValue'](_0x562183,_0x4bf0a6,{'groupId':_0x517eee,'data':_0x3540c1,'max':_0x2ae075,'min':_0x275ebf,'highIndex':_0x17c2f4,'lowIndex':_0x256623,'negativeIndexes':_0x1406b7});}}});let _0x317dd2=_0x3c5629;((_0x289326=_0x37cd64['config']['extremumMax'])==null?void 0x0:_0x289326[_0x4dd90a(0x270)])===Ee[_0x4dd90a(0x28f)]&&(_0x317dd2=(_0x432a3f=(_0x2f7bfd=_0x37cd64[_0x4dd90a(0x247)][_0x4dd90a(0x1dc)])==null?void 0x0:_0x2f7bfd[_0x4dd90a(0x232)])!=null?_0x432a3f:_0x3c5629);let _0x5e38a3=_0x52d468;((_0x4b6db4=_0x37cd64[_0x4dd90a(0x247)][_0x4dd90a(0x1e3)])==null?void 0x0:_0x4b6db4[_0x4dd90a(0x270)])===Ee[_0x4dd90a(0x28f)]&&(_0x5e38a3=(_0x27821e=(_0x4de34d=_0x37cd64[_0x4dd90a(0x247)]['extremumMin'])==null?void 0x0:_0x4de34d[_0x4dd90a(0x232)])!=null?_0x27821e:_0x52d468);const _0x1157b3=(_0x523750=_0x37cd64[_0x4dd90a(0x247)][_0x4dd90a(0x291)])!=null?_0x523750:Xe['STANDARD'],_0x3d653d=(_0x2a3258=(_0x14f47e=_0x37cd64[_0x4dd90a(0x247)]['seriesColor'])!=null?_0x14f47e:(_0x569f83=Le[_0x1157b3])==null?void 0x0:_0x569f83[0x0])!=null?_0x2a3258:Le[_0x4dd90a(0x22e)][0x0],_0x3e09a4=new _0xe16716(_0x3d653d),_0x587eef=_0x3e09a4[_0x4dd90a(0x226)](0.2)[_0x4dd90a(0x28c)](),_0x4b694b=_0x3e09a4[_0x4dd90a(0x226)](0.05)[_0x4dd90a(0x28c)]();_0x38de81[_0x517eee]={'groupMax':_0x3c5629,'groupMin':_0x52d468,'showMax':_0x317dd2,'showMin':_0x5e38a3,'startGradient':_0x587eef,'endGradient':_0x4b694b},this['_updateConfig$'][_0x4dd90a(0x26f)]({'unitId':_0x2be940,'subUnitId':_0x2cccb0,'groupId':_0x517eee,'config':_0x37cd64,'type':_0x21ea40});}[_0xd288ed(0x23c)](_0xd0facf,_0x429525,_0x111bbb,_0xba77bd){const _0x54bc8f=_0xd288ed;this['_ensureConfigMap'](_0xd0facf,_0x429525)[_0x54bc8f(0x284)](_0x111bbb,_0xba77bd),this[_0x54bc8f(0x27b)](_0xd0facf,_0x429525,_0x111bbb,_0x54bc8f(0x26c));}[_0xd288ed(0x248)](_0x33043c,_0x2e61fd,_0x5d9900,_0x27b630){const _0x35d2cd=_0xd288ed;var _0x563f95;const _0x3d6e12=(_0x563f95=this[_0x35d2cd(0x222)][_0x35d2cd(0x280)](_0x33043c))==null?void 0x0:_0x563f95[_0x35d2cd(0x280)](_0x2e61fd);_0x5d9900[_0x35d2cd(0x28b)](_0x2bc23c=>{const _0x2b271a=_0x35d2cd;_0x3d6e12!=null&&_0x3d6e12[_0x2b271a(0x274)](_0x2bc23c)&&(_0x3d6e12['set'](_0x2bc23c,_0x27b630),this[_0x2b271a(0x27b)](_0x33043c,_0x2e61fd,_0x2bc23c));});}[_0xd288ed(0x23f)](_0x48ece8,_0x39f212,_0x12bffb){const _0x10584e=_0xd288ed;var _0x3be74b,_0x2a37d9;const _0x5d50f0=this['_sparklineModel'][_0x10584e(0x280)](_0x48ece8);if(_0x5d50f0){const _0x4a1677=_0x5d50f0[_0x10584e(0x280)](_0x39f212);if(_0x4a1677){_0x4a1677[_0x10584e(0x20b)](_0x12bffb);const _0x542774=(_0x3be74b=this[_0x10584e(0x288)]['get'](_0x48ece8))==null?void 0x0:_0x3be74b[_0x10584e(0x280)](_0x39f212);(_0x2a37d9=_0x542774==null?void 0x0:_0x542774[_0x10584e(0x28e)])==null||_0x2a37d9[_0x10584e(0x1ef)]((_0x2cca63,_0x1c1906,_0x111488)=>{const _0x1b5b1c=_0x10584e;(_0x111488==null?void 0x0:_0x111488['groupId'])===_0x12bffb&&(_0x542774==null||_0x542774['matrix'][_0x1b5b1c(0x201)](_0x2cca63,_0x1c1906));}),this[_0x10584e(0x217)][_0x10584e(0x26f)]({'unitId':_0x48ece8,'subUnitId':_0x39f212,'groupId':_0x12bffb,'type':'remove'});}}}[_0xd288ed(0x273)](_0x255f55,_0x5a13e4,_0x4e988c,_0x32ccdf){const _0x40632a=_0xd288ed;var _0x185c48,_0x473542,_0x60792,_0x527c10;const _0x32f07b=(_0x185c48=this[_0x40632a(0x288)][_0x40632a(0x280)](_0x255f55))==null?void 0x0:_0x185c48[_0x40632a(0x280)](_0x5a13e4),_0x17e9d2=_0x32f07b==null?void 0x0:_0x32f07b[_0x40632a(0x28e)][_0x40632a(0x233)](_0x4e988c,_0x32ccdf);if(_0x17e9d2){const {groupId:_0x127066}=_0x17e9d2,_0x303dce=(_0x473542=this[_0x40632a(0x222)][_0x40632a(0x280)](_0x255f55))==null?void 0x0:_0x473542[_0x40632a(0x280)](_0x5a13e4);(_0x60792=_0x303dce==null?void 0x0:_0x303dce[_0x40632a(0x280)](_0x127066))==null||_0x60792[_0x40632a(0x235)]['realDeleteValue'](_0x4e988c,_0x32ccdf),(_0x527c10=_0x303dce==null?void 0x0:_0x303dce[_0x40632a(0x280)](_0x127066))!=null&&_0x527c10[_0x40632a(0x235)][_0x40632a(0x209)]()||_0x303dce==null||_0x303dce[_0x40632a(0x20b)](_0x127066),_0x32f07b==null||_0x32f07b[_0x40632a(0x28e)][_0x40632a(0x201)](_0x4e988c,_0x32ccdf),this[_0x40632a(0x217)][_0x40632a(0x26f)]({'unitId':_0x255f55,'subUnitId':_0x5a13e4,'groupId':_0x127066,'type':_0x40632a(0x26a)});}}[_0xd288ed(0x27f)](_0x445e0e,_0xcfc71,_0x1a5330){const _0x384dfb=_0xd288ed;var _0x4807c3,_0x420cd5,_0x3aec94,_0x45daa5;const _0x54f710=(_0x3aec94=(_0x420cd5=(_0x4807c3=this[_0x384dfb(0x222)][_0x384dfb(0x280)](_0x445e0e))==null?void 0x0:_0x4807c3[_0x384dfb(0x280)](_0xcfc71))==null?void 0x0:_0x420cd5[_0x384dfb(0x280)](_0x1a5330))==null?void 0x0:_0x3aec94[_0x384dfb(0x235)],_0x53234f=(_0x45daa5=this[_0x384dfb(0x288)][_0x384dfb(0x280)](_0x445e0e))==null?void 0x0:_0x45daa5[_0x384dfb(0x280)](_0xcfc71);if(_0x54f710&&_0x53234f){const {matrix:_0x15bcf5,extra:_0x81b453}=_0x53234f;_0x54f710[_0x384dfb(0x1ef)]((_0x55d1c9,_0x519bc7,_0x5cd14d)=>{const _0x53542e=_0x384dfb;_0x15bcf5[_0x53542e(0x201)](_0x55d1c9,_0x519bc7);}),delete _0x81b453[_0x1a5330];}}[_0xd288ed(0x21d)](_0x199afd,_0x47ed7f){const _0x498334=_0xd288ed;var _0xc0e600;return(_0xc0e600=this[_0x498334(0x222)][_0x498334(0x280)](_0x199afd))==null?void 0x0:_0xc0e600[_0x498334(0x280)](_0x47ed7f);}[_0xd288ed(0x211)](_0x5b77a4,_0x1c38bf,_0x26c72d){const _0x2ebd6f=_0xd288ed;var _0x256558,_0x4cc561;return(_0x4cc561=(_0x256558=this[_0x2ebd6f(0x222)][_0x2ebd6f(0x280)](_0x5b77a4))==null?void 0x0:_0x256558[_0x2ebd6f(0x280)](_0x1c38bf))==null?void 0x0:_0x4cc561['get'](_0x26c72d);}[_0xd288ed(0x267)](_0x5d9e7a,_0x31e8aa,_0x39c049,_0x17043d){const _0x3a8d1c=_0xd288ed;var _0x4825f3,_0x12840e,_0x2fd4bb;return(_0x2fd4bb=(_0x12840e=(_0x4825f3=this[_0x3a8d1c(0x288)][_0x3a8d1c(0x280)](_0x5d9e7a))==null?void 0x0:_0x4825f3['get'](_0x31e8aa))==null?void 0x0:_0x12840e[_0x3a8d1c(0x28e)][_0x3a8d1c(0x233)](_0x39c049,_0x17043d))==null?void 0x0:_0x2fd4bb[_0x3a8d1c(0x1fc)];}[_0xd288ed(0x1d8)](_0x4b5499,_0x3d9b11){const _0x1711fb=_0xd288ed;var _0x47477e;const _0x5d2852=this[_0x1711fb(0x1f0)](_0x4b5499,_0x3d9b11);_0x5d2852['matrix'][_0x1711fb(0x1ef)]((_0x4ef24e,_0x36efbe,_0x8fe74f)=>{const _0x6ed4dc=_0x1711fb;_0x5d2852[_0x6ed4dc(0x28e)]['realDeleteValue'](_0x4ef24e,_0x36efbe);});const _0x6d0826=(_0x47477e=this[_0x1711fb(0x222)][_0x1711fb(0x280)](_0x4b5499))==null?void 0x0:_0x47477e['get'](_0x3d9b11);if(_0x6d0826){for(const [_0xd6abf3,_0x58d77d]of _0x6d0826)this['updateSparklineExtraNum'](_0x4b5499,_0x3d9b11,_0xd6abf3);}}[_0xd288ed(0x214)](){const _0xca0d72=_0xd288ed;return{'sparklineModel':this[_0xca0d72(0x222)],'sparklineAnchorMap':this[_0xca0d72(0x288)]};}[_0xd288ed(0x257)](_0x256d36){const _0x2c7a0b=_0xd288ed,_0x39c3f0={};if(this[_0x2c7a0b(0x222)][_0x2c7a0b(0x274)](_0x256d36)){_0x39c3f0[_0x256d36]={};const _0x59ae20=this[_0x2c7a0b(0x222)]['get'](_0x256d36);_0x59ae20!=null&&_0x59ae20[_0x2c7a0b(0x275)]&&Array[_0x2c7a0b(0x218)](_0x59ae20['keys']())[_0x2c7a0b(0x28b)](_0x19f696=>{const _0x441df6=_0x2c7a0b;_0x39c3f0[_0x256d36][_0x19f696]={};const _0x4f3b1f=_0x59ae20[_0x441df6(0x280)](_0x19f696);_0x4f3b1f!=null&&_0x4f3b1f[_0x441df6(0x275)]&&Array[_0x441df6(0x218)](_0x4f3b1f[_0x441df6(0x24c)]())[_0x441df6(0x28b)](_0x57afd1=>{const _0x3a2f3c=_0x441df6,_0x2a850d=_0x4f3b1f[_0x3a2f3c(0x280)](_0x57afd1);_0x2a850d&&(_0x39c3f0[_0x256d36][_0x19f696][_0x57afd1]={'config':_0x2a850d[_0x3a2f3c(0x247)],'sparklines':_0x2a850d[_0x3a2f3c(0x235)]['getMatrix']()});});});}return _0x39c3f0;}[_0xd288ed(0x1f2)](_0x10a393){const _0x1549ee=_0xd288ed;if(!_0x10a393)return;Object[_0x1549ee(0x24c)](_0x10a393)[_0x1549ee(0x28b)](_0x265d4a=>{const _0x5d1f14=_0x1549ee,_0x5b1120=_0x10a393[_0x265d4a];_0x5b1120&&Object['keys'](_0x5b1120)[_0x5d1f14(0x28b)](_0x45bdc9=>{const _0x21ce2a=_0x5d1f14,_0x1d54d9=_0x5b1120[_0x45bdc9];_0x1d54d9&&Object[_0x21ce2a(0x24c)](_0x1d54d9)[_0x21ce2a(0x28b)](_0x1fc0b4=>{const _0x2908fc=_0x21ce2a,_0x18db90=_0x1d54d9[_0x1fc0b4];if(_0x18db90){const _0x869d01={'config':_0x18db90[_0x2908fc(0x247)],'sparklines':new _0x2561c9(_0x18db90['sparklines'])};this[_0x2908fc(0x23c)](_0x265d4a,_0x45bdc9,_0x1fc0b4,_0x869d01);}});});});}['deleteUnit'](_0x3bab3e){const _0x35ed12=_0xd288ed,_0x57bbdc=this['_sparklineModel'][_0x35ed12(0x280)](_0x3bab3e);if(_0x57bbdc){for(const [_0x3a26d9]of _0x57bbdc){const _0x441266=_0x57bbdc[_0x35ed12(0x280)](_0x3a26d9);if(_0x441266){for(const [_0xdf0f3e]of _0x441266)this[_0x35ed12(0x27f)](_0x3bab3e,_0x3a26d9,_0xdf0f3e);}}this['_sparklineModel'][_0x35ed12(0x20b)](_0x3bab3e);}}};x=Vt([yt(0x0,_0x5d1749(_0x247b96))],x);const V={'id':'sheet.mutation.add-sparkline','type':_0x472447[_0xd288ed(0x215)],'handler':(_0x52a5cb,_0x382c89)=>{const _0x15014a=_0xd288ed;if(!_0x382c89)return!0x1;const {sparklineConfigMap:_0x5afbd1,unitId:_0x5c6789,subUnitId:_0x4070bf}=_0x382c89,_0x1a3703=_0x52a5cb[_0x15014a(0x280)](x);return Object[_0x15014a(0x25a)](_0x5afbd1)[_0x15014a(0x28b)](([_0x1707f7,_0x86bc90])=>{const _0x27765b=_0x15014a,_0x2abbd7={'config':_0x86bc90['config'],'sparklines':new _0x2561c9(_0x86bc90[_0x27765b(0x235)])};_0x1a3703[_0x27765b(0x23c)](_0x5c6789,_0x4070bf,_0x1707f7,_0x2abbd7);}),!0x0;}},y={'id':_0xd288ed(0x224),'type':_0x472447[_0xd288ed(0x215)],'handler':(_0x203876,_0x22ed37)=>{const _0x12035b=_0xd288ed;if(!_0x22ed37)return!0x1;const {unitId:_0x1d42d4,subUnitId:_0x13d2ed,ranges:_0x379f15,isSingle:_0x3c2592,groupIds:_0x22668b}=_0x22ed37,_0x333dc6=_0x203876[_0x12035b(0x280)](x);return _0x22668b?(_0x22668b['forEach'](_0x173a79=>{const _0x291d91=_0x12035b;_0x333dc6[_0x291d91(0x23f)](_0x1d42d4,_0x13d2ed,_0x173a79);}),!0x0):_0x379f15?(_0x379f15['forEach'](_0x57a178=>{const _0x57e5b2=_0x12035b;_0x51f2c0[_0x57e5b2(0x26b)](_0x57a178,(_0x647a80,_0x4cc6f6)=>{const _0x6b1a8b=_0x57e5b2,_0x32994b=_0x333dc6[_0x6b1a8b(0x267)](_0x1d42d4,_0x13d2ed,_0x647a80,_0x4cc6f6);_0x32994b&&(_0x3c2592?_0x333dc6[_0x6b1a8b(0x273)](_0x1d42d4,_0x13d2ed,_0x647a80,_0x4cc6f6):_0x333dc6[_0x6b1a8b(0x23f)](_0x1d42d4,_0x13d2ed,_0x32994b));});}),!0x0):!0x1;}},Nt={'id':_0xd288ed(0x249),'type':_0x472447[_0xd288ed(0x264)],'handler':(_0x22cd3f,_0xd95043)=>{const _0x5bedb1=_0xd288ed;if(!_0xd95043)return!0x1;const {sourceRanges:_0x4a5b0e,targetRanges:_0x1314cb,config:_0x1b1b5a}=_0xd95043,_0x6e6d3e=_0x22cd3f[_0x5bedb1(0x280)](_0xdcf169),_0x45bb5b='g_'+_0x13833d(0x6),_0x49e5ed=Fe(_0x4a5b0e,_0x1314cb),_0x2f14b1={'config':_0x1b1b5a!=null?_0x1b1b5a:{},'sparklines':_0x49e5ed[_0x5bedb1(0x216)]()},_0x5870ef=_0x22cd3f[_0x5bedb1(0x280)](_0x247b96),_0x4ebdf7=_0x22cd3f[_0x5bedb1(0x280)](x),_0x4f8ce9=_0x1cb152(_0x5870ef);if(!_0x4f8ce9)return!0x1;const {unitId:_0x1c3ce9,subUnitId:_0xef32cb}=_0x4f8ce9,_0x4a4579=_0x22cd3f['get'](_0x5e26ed),_0xa7211a=[],_0x3eb407=[],_0x323174={},_0x38013e={},_0x15fc2=new Set([_0x45bb5b]);_0x49e5ed[_0x5bedb1(0x1ef)]((_0x207e25,_0x4b2619,_0x30bc6d)=>{const _0x13ea3d=_0x5bedb1,_0x9a4a93=_0x4ebdf7['getSparkline'](_0x1c3ce9,_0xef32cb,_0x207e25,_0x4b2619);if(_0x9a4a93){const _0x24f308=_0x4ebdf7[_0x13ea3d(0x211)](_0x1c3ce9,_0xef32cb,_0x9a4a93);if(_0x24f308){_0x15fc2[_0x13ea3d(0x26c)](_0x9a4a93);let _0x980e12=_0x323174[_0x9a4a93],_0x10e5b6=_0x38013e[_0x9a4a93];_0x10e5b6||(_0x10e5b6={'config':_0x5a3eb8[_0x13ea3d(0x22b)](_0x24f308[_0x13ea3d(0x247)]),'sparklines':new _0x2561c9(_0x24f308['sparklines']['clone']())},_0x38013e[_0x9a4a93]=_0x10e5b6),_0x980e12||(_0x980e12={'config':_0x5a3eb8[_0x13ea3d(0x22b)](_0x24f308['config']),'sparklines':_0x24f308[_0x13ea3d(0x235)][_0x13ea3d(0x200)]()},_0x323174[_0x9a4a93]=_0x980e12),_0x10e5b6[_0x13ea3d(0x235)][_0x13ea3d(0x201)](_0x207e25,_0x4b2619);}}});const _0x5ac512={};return Object[_0x5bedb1(0x25a)](_0x38013e)[_0x5bedb1(0x28b)](([_0x140391,_0x126b66])=>{const _0x2b79fc=_0x5bedb1;_0x126b66[_0x2b79fc(0x235)][_0x2b79fc(0x252)]()&&(_0x5ac512[_0x140391]={'config':_0x126b66['config'],'sparklines':_0x126b66['sparklines'][_0x2b79fc(0x200)]()});}),_0x5ac512[_0x45bb5b]=_0x2f14b1,_0xa7211a[_0x5bedb1(0x207)]({'id':y['id'],'params':{'unitId':_0x1c3ce9,'subUnitId':_0xef32cb,'groupIds':Array['from'](_0x15fc2),'isSingle':!0x1}}),_0x15fc2[_0x5bedb1(0x275)]>0x1&&(_0x3eb407[_0x5bedb1(0x207)]({'id':y['id'],'params':{'unitId':_0x1c3ce9,'subUnitId':_0xef32cb,'groupIds':Array[_0x5bedb1(0x218)](_0x15fc2),'isSingle':!0x1}}),_0xa7211a['push']({'id':V['id'],'params':{'unitId':_0x1c3ce9,'subUnitId':_0xef32cb,'sparklineConfigMap':_0x323174}})),_0x3eb407[_0x5bedb1(0x207)]({'id':V['id'],'params':{'unitId':_0x1c3ce9,'subUnitId':_0xef32cb,'sparklineConfigMap':_0x5ac512}}),_0xf3ff2e(_0x3eb407,_0x4a4579),_0x6e6d3e['pushUndoRedo']({'unitID':_0x1c3ce9,'undoMutations':_0xa7211a,'redoMutations':_0x3eb407}),!0x0;}},Ot={'id':_0xd288ed(0x206),'type':_0x472447[_0xd288ed(0x264)],'handler':(_0x3af3b8,_0x36dc6a)=>{const _0x10552e=_0xd288ed;var _0x38c6c7;const {isSingle:_0x4f7e6c=!0x0}=_0x36dc6a||{},_0x3a1c3d=_0x3af3b8[_0x10552e(0x280)](_0x5e26ed),_0x10e759=_0x3af3b8[_0x10552e(0x280)](_0x247b96),_0xd03c01=_0x3af3b8[_0x10552e(0x280)](x),_0x416665=_0x3af3b8[_0x10552e(0x280)](_0xdcf169),_0x7aea6d=_0x1cb152(_0x10e759);if(!_0x7aea6d)return!0x1;const _0x8aeea8=_0x3af3b8[_0x10552e(0x280)](_0x2a7198),_0x4a9c76=(_0x38c6c7=_0x36dc6a==null?void 0x0:_0x36dc6a[_0x10552e(0x236)])!=null?_0x38c6c7:_0x8aeea8[_0x10552e(0x242)]()[_0x10552e(0x22f)](_0x584e0e=>_0x584e0e[_0x10552e(0x27c)]),{unitId:_0x5bea68,subUnitId:_0x4fc802}=_0x7aea6d,_0x3cd103=[],_0xf9ddcc=[];_0x3cd103[_0x10552e(0x207)]({'id':y['id'],'params':{'unitId':_0x5bea68,'subUnitId':_0x4fc802,'ranges':_0x4a9c76,'isSingle':_0x4f7e6c}});const _0x2956a9=[],_0x58175d={};return _0x4a9c76['forEach'](_0x2987bb=>{_0x51f2c0['foreach'](_0x2987bb,(_0x7c29f3,_0x132837)=>{const _0x88fff3=_0x11b0,_0x2c47af=_0xd03c01[_0x88fff3(0x267)](_0x5bea68,_0x4fc802,_0x7c29f3,_0x132837);if(_0x2c47af){const _0x3f243e=_0xd03c01[_0x88fff3(0x211)](_0x5bea68,_0x4fc802,_0x2c47af);_0x3f243e&&(_0x2956a9[_0x88fff3(0x207)](_0x2c47af),_0x58175d[_0x2c47af]={'config':_0x5a3eb8[_0x88fff3(0x22b)](_0x3f243e[_0x88fff3(0x247)]),'sparklines':_0x5a3eb8[_0x88fff3(0x22b)](_0x3f243e[_0x88fff3(0x235)][_0x88fff3(0x200)]())});}});}),_0xf9ddcc['push']({'id':y['id'],'params':{'unitId':_0x5bea68,'subUnitId':_0x4fc802,'groupIds':_0x2956a9,'isSingle':!0x1}}),_0xf9ddcc[_0x10552e(0x207)]({'id':V['id'],'params':{'unitId':_0x5bea68,'subUnitId':_0x4fc802,'sparklineConfigMap':_0x58175d}}),_0xf3ff2e(_0x3cd103,_0x3a1c3d),_0x416665[_0x10552e(0x23d)]({'unitID':_0x5bea68,'undoMutations':_0xf9ddcc,'redoMutations':_0x3cd103}),!0x0;}},Oe={'id':'sheet.mutation.set-sparkline','type':_0x472447[_0xd288ed(0x215)],'handler':(_0x38ce0a,_0x526090)=>{const _0x37e34f=_0xd288ed;if(!_0x526090)return!0x1;const {unitId:_0x373ec7,subUnitId:_0x410719,groupIds:_0x3ed7c2,config:_0x192a00}=_0x526090,_0x28565a=_0x38ce0a[_0x37e34f(0x280)](x);return _0x3ed7c2[_0x37e34f(0x28b)](_0x12a52c=>{const _0x281a61=_0x37e34f,_0x4f31c0=_0x28565a[_0x281a61(0x211)](_0x373ec7,_0x410719,_0x12a52c);if(_0x4f31c0){const _0x2eef5c={'config':Object[_0x281a61(0x276)]({},_0x4f31c0[_0x281a61(0x247)],_0x192a00[_0x281a61(0x247)]),'sparklines':new _0x2561c9(_0x4f31c0[_0x281a61(0x235)][_0x281a61(0x200)]())};_0x28565a[_0x281a61(0x248)](_0x373ec7,_0x410719,[_0x12a52c],_0x2eef5c);}}),!0x0;}},xt={'id':'sheet.command.set-sparkline','type':_0x472447[_0xd288ed(0x264)],'handler':(_0x15091b,_0x24448d)=>{const _0x31cbdd=_0xd288ed;var _0x5d1996,_0x1213d0,_0x2992dc,_0x1773ae;if(!_0x24448d)return!0x1;const _0x45d9b4=_0x15091b['get'](_0x5e26ed),_0x1376f6=_0x15091b[_0x31cbdd(0x280)](_0x2a7198),_0x5165c7=_0x15091b['get'](x),_0x557667=_0x15091b[_0x31cbdd(0x280)](_0x247b96),_0x2ecb08=_0x15091b[_0x31cbdd(0x280)](_0xdcf169),_0x286043=_0x1cb152(_0x557667);if(!_0x286043)return!0x1;const {unitId:_0x3b91f7,subUnitId:_0x247e5d}=_0x286043,_0x597f3b=(_0x5d1996=_0x24448d==null?void 0x0:_0x24448d[_0x31cbdd(0x236)])!=null?_0x5d1996:_0x1376f6[_0x31cbdd(0x242)]()[_0x31cbdd(0x22f)](_0x55ec79=>_0x55ec79['range']),_0x2dcb66=(_0x1213d0=_0x5165c7[_0x31cbdd(0x214)]()[_0x31cbdd(0x27e)][_0x31cbdd(0x280)](_0x3b91f7))==null?void 0x0:_0x1213d0[_0x31cbdd(0x280)](_0x247e5d),{isChangeDataSource:_0x38ab75,config:_0x54e61b,combine:_0xcc53c6,unCombine:_0x5f0a3f}=_0x24448d;if(_0xcc53c6){const _0x54ca77=[],_0x19d6e4=[];_0x54ca77[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'ranges':_0x597f3b,'isSingle':!0x0}});const _0x38b795='g_'+_0x13833d(0x6),_0x12e0c6=new _0x2561c9(),_0x481cc1=(_0x2992dc=_0x5165c7['getSparklineCache']()[_0x31cbdd(0x261)][_0x31cbdd(0x280)](_0x3b91f7))==null?void 0x0:_0x2992dc['get'](_0x247e5d),_0x3760b3=new Set([_0x38b795]),_0x2b7214={};return _0x597f3b[_0x31cbdd(0x28b)](_0xf1af88=>{const _0x2f8a92=_0x31cbdd;var _0x227c9d,_0x15aed0;const {startRow:_0x1edc99,endRow:_0x212632,startColumn:_0x2280e3,endColumn:_0x3d622f}=_0xf1af88;for(let _0x34fcba=_0x1edc99;_0x34fcba<=_0x212632;_0x34fcba++)for(let _0x5ccbb1=_0x2280e3;_0x5ccbb1<=_0x3d622f;_0x5ccbb1++){const _0x9a5bdc=(_0x227c9d=_0x2dcb66==null?void 0x0:_0x2dcb66[_0x2f8a92(0x28e)]['getValue'](_0x34fcba,_0x5ccbb1))==null?void 0x0:_0x227c9d['groupId'];if(_0x9a5bdc){_0x3760b3['add'](_0x9a5bdc);const _0x1b6054=_0x5165c7[_0x2f8a92(0x211)](_0x3b91f7,_0x247e5d,_0x9a5bdc);_0x1b6054&&(_0x2b7214[_0x9a5bdc]={'config':_0x5a3eb8[_0x2f8a92(0x22b)](_0x1b6054[_0x2f8a92(0x247)]),'sparklines':_0x5a3eb8[_0x2f8a92(0x22b)](_0x1b6054[_0x2f8a92(0x235)][_0x2f8a92(0x200)]())});const _0x574e9b=(_0x15aed0=_0x481cc1==null?void 0x0:_0x481cc1[_0x2f8a92(0x280)](_0x9a5bdc))==null?void 0x0:_0x15aed0[_0x2f8a92(0x235)][_0x2f8a92(0x233)](_0x34fcba,_0x5ccbb1);_0x574e9b&&_0x12e0c6[_0x2f8a92(0x26d)](_0x34fcba,_0x5ccbb1,_0x574e9b);}}}),_0x54ca77[_0x31cbdd(0x207)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x38b795]:{'config':_0x5a3eb8[_0x31cbdd(0x22b)](_0x54e61b[_0x31cbdd(0x247)]),'sparklines':_0x12e0c6[_0x31cbdd(0x216)]()}},'unitId':_0x3b91f7,'subUnitId':_0x247e5d}}),_0x19d6e4[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'isSingle':!0x1,'groupIds':Array[_0x31cbdd(0x218)](_0x3760b3)}}),_0x19d6e4[_0x31cbdd(0x207)]({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':_0x2b7214}}),_0xf3ff2e(_0x54ca77,_0x45d9b4),_0x2ecb08[_0x31cbdd(0x23d)]({'unitID':_0x3b91f7,'undoMutations':_0x19d6e4,'redoMutations':_0x54ca77}),!0x0;}else{if(_0x5f0a3f){const _0x4a61b6=[],_0x1f6478=[];_0x4a61b6[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'ranges':_0x597f3b,'isSingle':!0x0}});const _0x5e4fd7=(_0x1773ae=_0x5165c7[_0x31cbdd(0x214)]()[_0x31cbdd(0x261)][_0x31cbdd(0x280)](_0x3b91f7))==null?void 0x0:_0x1773ae['get'](_0x247e5d),_0x89f7ec={},_0x32a538=new Set(),_0x4a0dc5={};return _0x597f3b['forEach'](_0x6331bd=>{const _0x2511e0=_0x31cbdd;var _0x54180c,_0x373c81;const {startRow:_0x2a3883,endRow:_0x467afa,startColumn:_0x127ffa,endColumn:_0x341c88}=_0x6331bd;for(let _0x1cf239=_0x2a3883;_0x1cf239<=_0x467afa;_0x1cf239++)for(let _0x4e03ac=_0x127ffa;_0x4e03ac<=_0x341c88;_0x4e03ac++){const _0x3415ee=(_0x54180c=_0x2dcb66==null?void 0x0:_0x2dcb66[_0x2511e0(0x28e)][_0x2511e0(0x233)](_0x1cf239,_0x4e03ac))==null?void 0x0:_0x54180c[_0x2511e0(0x1fc)];if(_0x3415ee){const _0x575672=new _0x2561c9(),_0x5474b6='g_'+_0x13833d(0x6);_0x32a538['add'](_0x3415ee),_0x32a538['add'](_0x5474b6);const _0x41634f=_0x5165c7['getSparklineById'](_0x3b91f7,_0x247e5d,_0x3415ee);_0x41634f&&(_0x4a0dc5[_0x3415ee]={'config':_0x5a3eb8['deepClone'](_0x41634f[_0x2511e0(0x247)]),'sparklines':_0x5a3eb8[_0x2511e0(0x22b)](_0x41634f[_0x2511e0(0x235)][_0x2511e0(0x200)]())});const _0x2bddc1=(_0x373c81=_0x5e4fd7==null?void 0x0:_0x5e4fd7[_0x2511e0(0x280)](_0x3415ee))==null?void 0x0:_0x373c81[_0x2511e0(0x235)][_0x2511e0(0x233)](_0x1cf239,_0x4e03ac);_0x2bddc1&&_0x575672[_0x2511e0(0x26d)](_0x1cf239,_0x4e03ac,_0x2bddc1),_0x89f7ec[_0x5474b6]={'sparklines':_0x575672['getMatrix'](),'config':_0x5a3eb8[_0x2511e0(0x22b)](_0x54e61b[_0x2511e0(0x247)])};}}}),_0x4a61b6[_0x31cbdd(0x207)]({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':_0x89f7ec}}),_0x1f6478[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'isSingle':!0x1,'groupIds':Array['from'](_0x32a538)}}),_0x1f6478['push']({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':_0x4a0dc5}}),_0xf3ff2e(_0x4a61b6,_0x45d9b4),_0x2ecb08[_0x31cbdd(0x23d)]({'unitID':_0x3b91f7,'undoMutations':_0x1f6478,'redoMutations':_0x4a61b6}),!0x0;}}if(_0x38ab75){const _0x177e58=_0x24448d[_0x31cbdd(0x231)];if(!_0x177e58)return!0x1;const {groupId:_0x507760,sourceRanges:_0x32a508,targetRanges:_0x5ae2ea,resetType:_0x70d67e,primary:_0x25eeec}=_0x177e58,_0x321e92=[],_0x41f118=[];_0x321e92[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'ranges':_0x597f3b,'isSingle':!0x1,'groupIds':[_0x507760]}}),_0x41f118[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'ranges':_0x597f3b,'isSingle':!0x1,'groupIds':[_0x507760]}});let _0x357a1c;_0x70d67e===_0x31cbdd(0x25c)?(_0x357a1c=new _0x2561c9(_0x54e61b[_0x31cbdd(0x235)]['clone']()),_0x357a1c[_0x31cbdd(0x201)](_0x25eeec[_0x31cbdd(0x245)],_0x25eeec[_0x31cbdd(0x269)]),_0x357a1c[_0x31cbdd(0x26d)](_0x5ae2ea[0x0]['startRow'],_0x5ae2ea[0x0][_0x31cbdd(0x1f6)],_0x32a508[0x0])):_0x357a1c=Fe(_0x32a508,_0x5ae2ea);const _0x501d84={'config':_0x5a3eb8[_0x31cbdd(0x22b)](_0x54e61b[_0x31cbdd(0x247)]),'sparklines':_0x357a1c[_0x31cbdd(0x216)]()},_0x39cb55={'config':_0x5a3eb8[_0x31cbdd(0x22b)](_0x54e61b[_0x31cbdd(0x247)]),'sparklines':_0x5a3eb8[_0x31cbdd(0x22b)](_0x54e61b[_0x31cbdd(0x235)][_0x31cbdd(0x200)]())};_0x321e92[_0x31cbdd(0x207)]({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':{[_0x507760]:_0x501d84}}}),_0x41f118[_0x31cbdd(0x207)]({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':{[_0x507760]:_0x39cb55}}}),_0xf3ff2e(_0x321e92,_0x45d9b4),_0x2ecb08['pushUndoRedo']({'unitID':_0x3b91f7,'undoMutations':_0x41f118,'redoMutations':_0x321e92});}else{const _0xc7aca4=[],_0xb66e6f=[],_0x426f2a=new Set(),_0x3e6f5f={};_0x597f3b[_0x31cbdd(0x28b)](_0x532539=>{const _0x4070f3=_0x31cbdd;var _0x59f5da;const {startRow:_0x2e685d,endRow:_0x13b786,startColumn:_0x157675,endColumn:_0x516d35}=_0x532539;for(let _0x585f96=_0x2e685d;_0x585f96<=_0x13b786;_0x585f96++)for(let _0x3035ff=_0x157675;_0x3035ff<=_0x516d35;_0x3035ff++){const _0x3f502e=(_0x59f5da=_0x2dcb66==null?void 0x0:_0x2dcb66[_0x4070f3(0x28e)]['getValue'](_0x585f96,_0x3035ff))==null?void 0x0:_0x59f5da[_0x4070f3(0x1fc)];if(_0x3f502e){_0x426f2a[_0x4070f3(0x26c)](_0x3f502e);const _0x9d31d2=_0x5165c7[_0x4070f3(0x211)](_0x3b91f7,_0x247e5d,_0x3f502e);_0x9d31d2&&(_0x3e6f5f[_0x3f502e]={'config':_0x5a3eb8[_0x4070f3(0x22b)](_0x9d31d2[_0x4070f3(0x247)]),'sparklines':_0x5a3eb8[_0x4070f3(0x22b)](_0x9d31d2['sparklines'][_0x4070f3(0x200)]())});}}}),_0xb66e6f[_0x31cbdd(0x207)]({'id':Oe['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'groupIds':Array[_0x31cbdd(0x218)](_0x426f2a),'config':{'config':_0x5a3eb8[_0x31cbdd(0x22b)](_0x54e61b['config']),'sparklines':_0x54e61b['sparklines'][_0x31cbdd(0x216)]()}}}),_0xc7aca4[_0x31cbdd(0x207)]({'id':y['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'isSingle':!0x1,'groupIds':Array[_0x31cbdd(0x218)](_0x426f2a)}}),_0xc7aca4['push']({'id':V['id'],'params':{'unitId':_0x3b91f7,'subUnitId':_0x247e5d,'sparklineConfigMap':_0x3e6f5f}}),_0xf3ff2e(_0xb66e6f,_0x45d9b4),_0x2ecb08[_0x31cbdd(0x23d)]({'unitID':_0x3b91f7,'undoMutations':_0xc7aca4,'redoMutations':_0xb66e6f});}return!0x0;}};var Ut=Object['getOwnPropertyDescriptor'],Pt=(_0x6cf3b5,_0x4aa3fb,_0xa8155f,_0x2195e1)=>{for(var _0x530475=_0x2195e1>0x1?void 0x0:_0x2195e1?Ut(_0x4aa3fb,_0xa8155f):_0x4aa3fb,_0x5c9c7e=_0x6cf3b5['length']-0x1,_0x5231ca;_0x5c9c7e>=0x0;_0x5c9c7e--)(_0x5231ca=_0x6cf3b5[_0x5c9c7e])&&(_0x530475=_0x5231ca(_0x530475)||_0x530475);return _0x530475;},ge=(_0xfb42fb,_0x16c07e)=>(_0x32e2f3,_0x3a794f)=>_0x16c07e(_0x32e2f3,_0x3a794f,_0xfb42fb);let Se=class extends _0x3480d3{constructor(_0xde05a5,_0x4448a8,_0x2dadc5,_0x2899a4){const _0x11a0e6=_0xd288ed;super(),this[_0x11a0e6(0x287)]=_0xde05a5,this[_0x11a0e6(0x258)]=_0x4448a8,this[_0x11a0e6(0x22d)]=_0x2dadc5,this[_0x11a0e6(0x27d)]=_0x2899a4,this[_0x11a0e6(0x21a)]();}[_0xd288ed(0x21a)](){const _0x16e6a0=_0xd288ed;this['disposeWithMe'](this[_0x16e6a0(0x258)][_0x16e6a0(0x262)]({'getMutations':_0x20486e=>{const _0x5a96ee=_0x16e6a0,_0x52c1f0=[],_0x5e0a18=[];if(_0x20486e['id']===_0x19e45c['id']){const _0x5ecca3=_0x1cb152(this[_0x5a96ee(0x22d)]);if(!_0x5ecca3)return{'redos':_0x52c1f0,'undos':_0x5e0a18};const {unitId:_0x4169d6,subUnitId:_0x1f6603,worksheet:_0x411791}=_0x5ecca3,_0x271ec8=this[_0x5a96ee(0x27d)]['getCurrentSelections']()[_0x5a96ee(0x22f)](_0x450646=>_0x450646[_0x5a96ee(0x27c)]),_0x16a99c=new Set(),_0x4bafbd={},_0xd1c4ee={};_0x271ec8[_0x5a96ee(0x28b)](_0x186e74=>{_0x51f2c0['foreach'](_0x186e74,(_0x2866bd,_0x3c06f8)=>{const _0x4c09ba=_0x11b0,_0x20f0ab=this[_0x4c09ba(0x287)][_0x4c09ba(0x267)](_0x4169d6,_0x1f6603,_0x2866bd,_0x3c06f8);if(_0x20f0ab&&!_0x16a99c[_0x4c09ba(0x274)](_0x20f0ab)){const _0x1277dd=this[_0x4c09ba(0x287)][_0x4c09ba(0x211)](_0x4169d6,_0x1f6603,_0x20f0ab);_0x1277dd&&(_0x16a99c['add'](_0x20f0ab),_0x4bafbd[_0x20f0ab]={'config':_0x5a3eb8[_0x4c09ba(0x22b)](_0x1277dd[_0x4c09ba(0x247)]),'sparklines':_0x5a3eb8['deepClone'](_0x1277dd[_0x4c09ba(0x235)]['clone']())},_0xd1c4ee[_0x20f0ab]={'config':_0x5a3eb8['deepClone'](_0x1277dd[_0x4c09ba(0x247)]),'sparklines':_0x5a3eb8[_0x4c09ba(0x22b)](_0x1277dd[_0x4c09ba(0x235)][_0x4c09ba(0x200)]())});}});}),Object['values'](_0xd1c4ee)[_0x5a96ee(0x28b)](_0xf49301=>{const _0x1f617d=_0x5a96ee,_0x456c38=_0xf49301[_0x1f617d(0x235)];new _0x2561c9(_0x456c38)[_0x1f617d(0x1ef)]((_0x18436d,_0x4a35e8,_0x280d4c)=>{const _0x396fcc=_0x1f617d;_0x271ec8[_0x396fcc(0x1e7)](_0x812c9c=>_0x2b7218[_0x396fcc(0x1db)](_0x812c9c,_0x1470e6(_0x18436d,_0x4a35e8)))&&delete _0x456c38[_0x18436d][_0x4a35e8];});}),_0x52c1f0['push']({'id':y['id'],'params':{'unitId':_0x4169d6,'subUnitId':_0x1f6603,'groupIds':Array['from'](_0x16a99c),'isSingle':!0x1}}),_0x52c1f0[_0x5a96ee(0x207)]({'id':V['id'],'params':{'unitId':_0x4169d6,'subUnitId':_0x1f6603,'sparklineConfigMap':_0xd1c4ee}}),_0x5e0a18[_0x5a96ee(0x207)]({'id':y['id'],'params':{'unitId':_0x4169d6,'subUnitId':_0x1f6603,'groupIds':Array['from'](_0x16a99c),'isSingle':!0x1}}),_0x5e0a18[_0x5a96ee(0x207)]({'id':V['id'],'params':{'unitId':_0x4169d6,'subUnitId':_0x1f6603,'sparklineConfigMap':_0x4bafbd}});}return{'redos':_0x52c1f0,'undos':_0x5e0a18};}}));}};Se=Pt([ge(0x0,_0x5d1749(x)),ge(0x1,_0x5d1749(_0x36afd7)),ge(0x2,_0x5d1749(_0x247b96)),ge(0x3,_0x5d1749(_0x2a7198))],Se);var Tt=Object['getOwnPropertyDescriptor'],$t=(_0x26a5e2,_0x16f889,_0x1123d7,_0x35541b)=>{const _0x7e8165=_0xd288ed;for(var _0x400869=_0x35541b>0x1?void 0x0:_0x35541b?Tt(_0x16f889,_0x1123d7):_0x16f889,_0x3f60c6=_0x26a5e2[_0x7e8165(0x285)]-0x1,_0x9f50fc;_0x3f60c6>=0x0;_0x3f60c6--)(_0x9f50fc=_0x26a5e2[_0x3f60c6])&&(_0x400869=_0x9f50fc(_0x400869)||_0x400869);return _0x400869;},Ge=(_0xd0fe3a,_0x35f6d3)=>(_0x3b4980,_0x40f661)=>_0x35f6d3(_0x3b4980,_0x40f661,_0xd0fe3a);let ke=class extends _0x3480d3{constructor(_0x76ea64,_0x4d42e1){const _0x8d7485=_0xd288ed;super(),this[_0x8d7485(0x258)]=_0x76ea64,this[_0x8d7485(0x287)]=_0x4d42e1,this['_initCopySheetWithSparkline']();}['_initCopySheetWithSparkline'](){const _0x3118b0=_0xd288ed;this[_0x3118b0(0x1e6)](this['_sheetInterceptorService'][_0x3118b0(0x262)]({'getMutations':_0x3a4a5f=>{const _0x545350=_0x3118b0,_0x1efaa7=[],_0x1217d4=[];if(_0x3a4a5f['id']===_0x307642['id']){const _0x61494b=_0x3a4a5f['params'];if(!_0x61494b)return{'redos':_0x1efaa7,'undos':_0x1217d4};const {unitId:_0x2205d6,subUnitId:_0x309de6,targetSubUnitId:_0x3c7949}=_0x61494b;if(!_0x2205d6||!_0x309de6||!_0x3c7949)return{'redos':_0x1efaa7,'undos':_0x1217d4};const _0x29b3fa=new Set(),_0xa71dc6={},_0x46bc94=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x2205d6,_0x309de6);if(!_0x46bc94)return{'redos':_0x1efaa7,'undos':_0x1217d4};for(const [_0x214639,_0x1f0013]of _0x46bc94){const _0x568438='g_'+_0x13833d(0x6);_0x29b3fa[_0x545350(0x26c)](_0x214639),_0xa71dc6[_0x568438]={'config':_0x5a3eb8['deepClone'](_0x1f0013[_0x545350(0x247)]),'sparklines':_0x5a3eb8[_0x545350(0x22b)](_0x1f0013[_0x545350(0x235)][_0x545350(0x200)]())};}_0x29b3fa['size']&&(_0x1217d4['push']({'id':y['id'],'params':{'unitId':_0x2205d6,'subUnitId':_0x3c7949,'groupIds':Array[_0x545350(0x218)](_0x29b3fa),'isSingle':!0x1}}),_0x1efaa7[_0x545350(0x207)]({'id':V['id'],'params':{'unitId':_0x2205d6,'subUnitId':_0x3c7949,'sparklineConfigMap':_0xa71dc6}}));}return{'redos':_0x1efaa7,'undos':_0x1217d4};}}));}};ke=$t([Ge(0x0,_0x5d1749(_0x36afd7)),Ge(0x1,_0x5d1749(x))],ke);var jt=Object[_0xd288ed(0x243)],Lt=(_0x3585c5,_0x1b40f5,_0x18bb49,_0x21ca9a)=>{const _0x2a40e9=_0xd288ed;for(var _0x5eb215=_0x21ca9a>0x1?void 0x0:_0x21ca9a?jt(_0x1b40f5,_0x18bb49):_0x1b40f5,_0x73531b=_0x3585c5[_0x2a40e9(0x285)]-0x1,_0x342e9f;_0x73531b>=0x0;_0x73531b--)(_0x342e9f=_0x3585c5[_0x73531b])&&(_0x5eb215=_0x342e9f(_0x5eb215)||_0x5eb215);return _0x5eb215;},be=(_0x58c1d4,_0x15a53b)=>(_0x28db98,_0x2bb1fa)=>_0x15a53b(_0x28db98,_0x2bb1fa,_0x58c1d4);let me=class extends _0x3480d3{constructor(_0x1b4168,_0x3ca555,_0x31ba4c){const _0x43a22d=_0xd288ed;super(),this[_0x43a22d(0x22a)]=_0x1b4168,this[_0x43a22d(0x287)]=_0x3ca555,this[_0x43a22d(0x1f4)]=_0x31ba4c,this['_initDataChangeListener'](),this[_0x43a22d(0x212)]();}['_initDataChangeListener'](){const _0x33bfb6=_0xd288ed;this['disposeWithMe'](this['_commandService'][_0x33bfb6(0x24a)](_0x32b8b4=>{const _0x5df5c6=_0x33bfb6;if(_0x32b8b4['id']===_0x3d60c0['id']){const _0x3b595b=_0x32b8b4[_0x5df5c6(0x1d9)],{cellValue:_0x4d80b0,unitId:_0x3aeca8,subUnitId:_0x31d2ba}=_0x3b595b,_0x177acc=new _0x2561c9(_0x4d80b0),_0x206889=new Set(),_0x53c1b1=this[_0x5df5c6(0x287)]['getSubUnitSparkline'](_0x3aeca8,_0x31d2ba);if(!_0x53c1b1)return;const _0x152802=Array['from'](_0x53c1b1);_0x177acc[_0x5df5c6(0x1ef)]((_0x1dc1ff,_0x34fe0f,_0x28af39)=>{const _0x34cf5e=_0x5df5c6,_0x3aa4a2=_0x1470e6(_0x1dc1ff,_0x34fe0f);for(let _0xecdb76=0x0;_0xecdb76<_0x152802[_0x34cf5e(0x285)];_0xecdb76++){const [_0xa97cef,_0x52ab5f]=_0x152802[_0xecdb76],_0x20403b=_0x206889['has'](_0xa97cef);_0x20403b||_0x52ab5f[_0x34cf5e(0x235)]['forValue']((_0x52fe6f,_0x53f28c,_0x582255)=>{const _0x178142=_0x34cf5e,_0x303e71=_0x582255;if(_0x303e71&&!_0x20403b&&_0x2b7218[_0x178142(0x1db)](_0x3aa4a2,_0x303e71))return _0x206889['add'](_0xa97cef),!0x0;});}}),_0x206889['forEach'](_0x4f8784=>{const _0x593cf8=_0x5df5c6;this[_0x593cf8(0x287)]['clearSparklineCache'](_0x3aeca8,_0x31d2ba,_0x4f8784),this[_0x593cf8(0x287)][_0x593cf8(0x27b)](_0x3aeca8,_0x31d2ba,_0x4f8784);});}else{if(_0x32b8b4['id']===_0x2a5df1['id']){const _0x2afa7f=_0x32b8b4[_0x5df5c6(0x1d9)],{range:_0x2ff138,unitId:_0x123406,subUnitId:_0x52091b}=_0x2afa7f,_0x7ca789=new Set(),_0x1a87de=this['_sparklineDataSourceModel'][_0x5df5c6(0x21d)](_0x123406,_0x52091b);if(!_0x1a87de)return;const _0x340c58=Array[_0x5df5c6(0x218)](_0x1a87de);for(let _0x370b96=0x0;_0x370b96<_0x340c58[_0x5df5c6(0x285)];_0x370b96++){const [_0x261aa0,_0x82dfd2]=_0x340c58[_0x370b96],_0x3ea635=_0x7ca789['has'](_0x261aa0);_0x3ea635||_0x82dfd2[_0x5df5c6(0x235)][_0x5df5c6(0x1ef)]((_0x56dba1,_0x3bb67f,_0x3799b6)=>{const _0x5e0d2b=_0x5df5c6,_0x3636de=_0x3799b6;if(_0x3636de&&!_0x3ea635&&_0x2b7218[_0x5e0d2b(0x1db)](_0x2ff138,_0x3636de))return _0x7ca789[_0x5e0d2b(0x26c)](_0x261aa0),!0x0;});}_0x7ca789[_0x5df5c6(0x28b)](_0x26d38f=>{const _0x18362f=_0x5df5c6;this['_sparklineDataSourceModel'][_0x18362f(0x27f)](_0x123406,_0x52091b,_0x26d38f),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x123406,_0x52091b,_0x26d38f);});}}}));}['_initExclusiveRangeChange'](){const _0x4f41a1=_0xd288ed;this[_0x4f41a1(0x1e6)](this['_exclusiveRangeService'][_0x4f41a1(0x24e)][_0x4f41a1(0x256)](_0x18c590=>{const _0x42eaf6=_0x4f41a1,{unitId:_0xc7a17e,subUnitId:_0x5b25d6,ranges:_0x2a21b7}=_0x18c590,_0x36ae96=this[_0x42eaf6(0x287)][_0x42eaf6(0x21d)](_0xc7a17e,_0x5b25d6);if(!_0x36ae96)return;const _0xd112b0=Array['from'](_0x36ae96),_0x46a3e0=new Set();for(let _0x388725=0x0;_0x388725<_0xd112b0[_0x42eaf6(0x285)];_0x388725++){const [_0x3ee228,_0x5ab0c0]=_0xd112b0[_0x388725],_0x460260=_0x46a3e0[_0x42eaf6(0x274)](_0x3ee228);_0x460260||_0x5ab0c0['sparklines'][_0x42eaf6(0x1ef)]((_0x42b39e,_0x1f2beb,_0x1ef9e8)=>{const _0x427e0a=_0x42eaf6,_0x5b6119=_0x1ef9e8;if(_0x5b6119&&!_0x460260){for(const _0x2872df of _0x2a21b7)if(_0x2b7218[_0x427e0a(0x1db)](_0x2872df,_0x5b6119)){_0x46a3e0['add'](_0x3ee228);break;}}});}_0x46a3e0[_0x42eaf6(0x28b)](_0x41c508=>{const _0x251f08=_0x42eaf6;this[_0x251f08(0x287)][_0x251f08(0x27f)](_0xc7a17e,_0x5b25d6,_0x41c508),this[_0x251f08(0x287)]['updateSparklineExtraNum'](_0xc7a17e,_0x5b25d6,_0x41c508);});}));}};me=Lt([be(0x0,_0x5d1749(_0x5e26ed)),be(0x1,_0x5d1749(x)),be(0x2,_0x5d1749(_0x57407d))],me);var Gt=Object['getOwnPropertyDescriptor'],Wt=(_0xa71284,_0x368389,_0x45a224,_0x2c8778)=>{const _0x3a51ff=_0xd288ed;for(var _0x48525b=_0x2c8778>0x1?void 0x0:_0x2c8778?Gt(_0x368389,_0x45a224):_0x368389,_0x5d54a0=_0xa71284[_0x3a51ff(0x285)]-0x1,_0x5c9c71;_0x5d54a0>=0x0;_0x5d54a0--)(_0x5c9c71=_0xa71284[_0x5d54a0])&&(_0x48525b=_0x5c9c71(_0x48525b)||_0x48525b);return _0x48525b;},We=(_0x4fa95f,_0x5c70d9)=>(_0x464153,_0x393471)=>_0x5c70d9(_0x464153,_0x393471,_0x4fa95f);let Ce=class extends _0x3480d3{constructor(_0x49ee6d,_0x32ec13){const _0x30d38e=_0xd288ed;super(),this[_0x30d38e(0x22a)]=_0x49ee6d,this[_0x30d38e(0x287)]=_0x32ec13,this['_initHideRowColWithSparkline']();}[_0xd288ed(0x1de)](){const _0x4ff061=_0xd288ed;this[_0x4ff061(0x22a)]['onCommandExecuted'](_0x2424d2=>{const _0x5ec405=_0x4ff061;if(_0x2424d2['id']===_0x26326d['id']||_0x2424d2['id']===_0x169bd4['id']||_0x2424d2['id']===_0x546b1b['id']||_0x2424d2['id']===_0xd4e8c7['id']){const _0xda4f68=_0x2424d2[_0x5ec405(0x1d9)],{ranges:_0x114a4a,unitId:_0xe0cecf,subUnitId:_0x831170}=_0xda4f68,_0x4db529=new Set(),_0xb20b0f=this[_0x5ec405(0x287)][_0x5ec405(0x21d)](_0xe0cecf,_0x831170);if(!_0xb20b0f)return;const _0xbb9ee3=Array[_0x5ec405(0x218)](_0xb20b0f);_0x114a4a['forEach'](_0x2c9e14=>{const _0x589bc9=_0x5ec405;_0x51f2c0[_0x589bc9(0x26b)](_0x2c9e14,(_0xf367fa,_0x1424a5)=>{const _0x56feed=_0x589bc9,_0x11cd21=_0x1470e6(_0xf367fa,_0x1424a5);for(let _0x4823cc=0x0;_0x4823cc<_0xbb9ee3[_0x56feed(0x285)];_0x4823cc++){const [_0x424e95,_0x119f00]=_0xbb9ee3[_0x4823cc],_0x1444c3=_0x4db529['has'](_0x424e95);_0x1444c3||_0x119f00[_0x56feed(0x235)][_0x56feed(0x1ef)]((_0x8b914b,_0x2e98a6,_0x297e69)=>{const _0x24ea59=_0x56feed,_0x4f5107=_0x297e69;if(_0x4f5107&&!_0x1444c3&&_0x2b7218[_0x24ea59(0x1db)](_0x11cd21,_0x4f5107))return _0x4db529[_0x24ea59(0x26c)](_0x424e95),!0x0;});}});}),_0x4db529[_0x5ec405(0x28b)](_0x1c936c=>{const _0x49931e=_0x5ec405;this['_sparklineDataSourceModel'][_0x49931e(0x27f)](_0xe0cecf,_0x831170,_0x1c936c),this[_0x49931e(0x287)][_0x49931e(0x27b)](_0xe0cecf,_0x831170,_0x1c936c);});}});}};Ce=Wt([We(0x0,_0x5d1749(_0x5e26ed)),We(0x1,_0x5d1749(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0xb8099,_0x35e6da,_0x2626f8,_0x2cf60c)=>{const _0x445e56=_0xd288ed;for(var _0x1af86b=_0x2cf60c>0x1?void 0x0:_0x2cf60c?Bt(_0x35e6da,_0x2626f8):_0x35e6da,_0x44f2ec=_0xb8099[_0x445e56(0x285)]-0x1,_0x20be07;_0x44f2ec>=0x0;_0x44f2ec--)(_0x20be07=_0xb8099[_0x44f2ec])&&(_0x1af86b=_0x20be07(_0x1af86b)||_0x1af86b);return _0x1af86b;},De=(_0xfae1ca,_0x4ed3d5)=>(_0x22f629,_0x3a2eec)=>_0x4ed3d5(_0x22f629,_0x3a2eec,_0xfae1ca);let _e=class extends _0x3480d3{constructor(_0x4a0d60,_0x2640f1,_0x5c03b4){const _0x5e1cd2=_0xd288ed;super(),this['_commandService']=_0x4a0d60,this['_sheetInterceptorService']=_0x2640f1,this[_0x5e1cd2(0x287)]=_0x5c03b4,this[_0x5e1cd2(0x253)]();}['_initMergeWithSparkline'](){this['disposeWithMe'](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x30b237=>{const _0x46b901=_0x11b0,_0x22643f=[],_0x427c76=[];if(_0x30b237['id']===_0xc93dac['id']){const _0x2f6ea1=_0x30b237[_0x46b901(0x1d9)];if(!_0x2f6ea1)return{'redos':_0x22643f,'undos':_0x427c76};const {unitId:_0x428c61,subUnitId:_0x5b5786,ranges:_0x1fa446}=_0x2f6ea1,_0x11fbe2=this[_0x46b901(0x287)][_0x46b901(0x21d)](_0x428c61,_0x5b5786);if(!_0x11fbe2)return{'redos':_0x22643f,'undos':_0x427c76};const _0x9342a7={},_0x371403={},_0x5ac3d7=new Set();_0x1fa446[_0x46b901(0x28b)](_0x21aa8f=>{const _0x4f36ef=_0x46b901,_0x597135=_0x21aa8f[_0x4f36ef(0x1d6)],_0xd7265e=_0x21aa8f[_0x4f36ef(0x1f6)];_0x51f2c0[_0x4f36ef(0x26b)](_0x21aa8f,(_0xf188f4,_0x2e1503)=>{const _0x344671=_0x4f36ef,_0x4171cf=this[_0x344671(0x287)]['getSparkline'](_0x428c61,_0x5b5786,_0xf188f4,_0x2e1503);if(_0x4171cf&&!(_0xf188f4===_0x597135&&_0x2e1503===_0xd7265e)){const _0x126a6a=this[_0x344671(0x287)]['getSparklineById'](_0x428c61,_0x5b5786,_0x4171cf);if(_0x126a6a){_0x5ac3d7[_0x344671(0x26c)](_0x4171cf);let _0x4e48aa=_0x9342a7[_0x4171cf];_0x4e48aa||(_0x4e48aa={'config':_0x5a3eb8[_0x344671(0x22b)](_0x126a6a[_0x344671(0x247)]),'sparklines':new _0x2561c9(_0x126a6a[_0x344671(0x235)][_0x344671(0x200)]())},_0x9342a7[_0x4171cf]=_0x4e48aa),_0x4e48aa[_0x344671(0x235)][_0x344671(0x201)](_0xf188f4,_0x2e1503),_0x371403[_0x4171cf]={'config':_0x5a3eb8[_0x344671(0x22b)](_0x126a6a[_0x344671(0x247)]),'sparklines':_0x5a3eb8[_0x344671(0x22b)](_0x126a6a[_0x344671(0x235)][_0x344671(0x200)]())};}}});});for(const [_0x4a9838,_0x59ee8d]of _0x11fbe2){const _0x5c4394=_0x59ee8d[_0x46b901(0x235)];_0x5c4394[_0x46b901(0x1ef)]((_0x489f86,_0x56d0e1,_0x23ef4a)=>{const _0x341084=_0x46b901;for(let _0xd491=0x0;_0xd491<_0x1fa446['length'];_0xd491++){const _0x572e3e=_0x1fa446[_0xd491];if(_0x2b7218[_0x341084(0x279)](_0x572e3e,_0x23ef4a)){_0x5ac3d7[_0x341084(0x26c)](_0x4a9838);let _0x172b9f=_0x9342a7[_0x4a9838];_0x172b9f||(_0x172b9f={'config':_0x5a3eb8[_0x341084(0x22b)](_0x59ee8d['config']),'sparklines':new _0x2561c9(_0x5c4394['clone']())},_0x9342a7[_0x4a9838]=_0x172b9f),_0x172b9f[_0x341084(0x235)][_0x341084(0x201)](_0x489f86,_0x56d0e1),_0x371403[_0x4a9838]||(_0x371403[_0x4a9838]={'config':_0x5a3eb8[_0x341084(0x22b)](_0x59ee8d[_0x341084(0x247)]),'sparklines':_0x5a3eb8[_0x341084(0x22b)](_0x5c4394[_0x341084(0x200)]())});}}});}const _0x58ed13={};Object[_0x46b901(0x25a)](_0x9342a7)[_0x46b901(0x28b)](([_0x4c9e4f,_0x54b57f])=>{const _0x45a0e0=_0x46b901;_0x54b57f[_0x45a0e0(0x235)][_0x45a0e0(0x252)]()&&(_0x58ed13[_0x4c9e4f]={'config':_0x54b57f[_0x45a0e0(0x247)],'sparklines':_0x54b57f[_0x45a0e0(0x235)][_0x45a0e0(0x200)]()});}),_0x5ac3d7[_0x46b901(0x275)]&&(_0x22643f[_0x46b901(0x207)]({'id':y['id'],'params':{'unitId':_0x428c61,'subUnitId':_0x5b5786,'groupIds':Array[_0x46b901(0x218)](_0x5ac3d7),'isSingle':!0x1}}),_0x427c76['push']({'id':y['id'],'params':{'unitId':_0x428c61,'subUnitId':_0x5b5786,'groupIds':Array['from'](_0x5ac3d7),'isSingle':!0x1}}),_0x22643f[_0x46b901(0x207)]({'id':V['id'],'params':{'unitId':_0x428c61,'subUnitId':_0x5b5786,'sparklineConfigMap':_0x58ed13}}),_0x427c76['push']({'id':V['id'],'params':{'unitId':_0x428c61,'subUnitId':_0x5b5786,'sparklineConfigMap':_0x371403}}));}return{'redos':_0x22643f,'undos':_0x427c76};}}));}};_e=Ht([De(0x0,_0x5d1749(_0x5e26ed)),De(0x1,_0x5d1749(_0x36afd7)),De(0x2,_0x5d1749(x))],_e);var Ft=Object['getOwnPropertyDescriptor'],Kt=(_0x29b95e,_0x17bfa3,_0x423bbe,_0x5e9828)=>{for(var _0x2269ab=_0x5e9828>0x1?void 0x0:_0x5e9828?Ft(_0x17bfa3,_0x423bbe):_0x17bfa3,_0x390863=_0x29b95e['length']-0x1,_0x166a78;_0x390863>=0x0;_0x390863--)(_0x166a78=_0x29b95e[_0x390863])&&(_0x2269ab=_0x166a78(_0x2269ab)||_0x2269ab);return _0x2269ab;},ue=(_0x22bf83,_0x4ec286)=>(_0x480a05,_0x138453)=>_0x4ec286(_0x480a05,_0x138453,_0x22bf83);let Me=class extends _0x3480d3{constructor(_0x2cd28a,_0x2d1cbc,_0x22a66d,_0x1026b2,_0x2a7d7b){const _0x4dfd03=_0xd288ed;super(),se(this,_0x4dfd03(0x1ea),new _0x2bf186()),(this[_0x4dfd03(0x22a)]=_0x2cd28a,this[_0x4dfd03(0x258)]=_0x2d1cbc,this[_0x4dfd03(0x259)]=_0x22a66d,this[_0x4dfd03(0x22d)]=_0x1026b2,this[_0x4dfd03(0x287)]=_0x2a7d7b,this[_0x4dfd03(0x20d)](),this[_0x4dfd03(0x21f)]());}['_onRefRangeChange'](){const _0x4645b3=_0xd288ed,_0xca3e7e=(_0x4f9db6,_0x337db8)=>{const _0x404aa9=_0x11b0,_0x15a2e5=this[_0x404aa9(0x22d)]['getCurrentUnitForType'](_0x420990[_0x404aa9(0x289)]);if(!_0x15a2e5||!(_0x15a2e5==null?void 0x0:_0x15a2e5[_0x404aa9(0x22c)](_0x337db8)))return;this[_0x404aa9(0x1ea)][_0x404aa9(0x20a)]();const _0xa1b4d0=_0x13b318=>this[_0x404aa9(0x254)](_0x13b318,_0x4f9db6,_0x337db8),_0x10d2d0=[],_0x1a803f=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x4f9db6,_0x337db8);if(_0x1a803f){for(const [_0x1f246d,_0x487dd2]of _0x1a803f)_0x487dd2[_0x404aa9(0x235)][_0x404aa9(0x1ef)]((_0x4cb7ae,_0x5a6048,_0x5d1f38)=>{const _0x2edb61=_0x404aa9,_0x1102ea=_0x1470e6(_0x4cb7ae,_0x5a6048);_0x10d2d0[_0x2edb61(0x207)](_0x1102ea);});_0x10d2d0[_0x404aa9(0x28b)](_0x1c2a97=>{const _0x225818=_0x404aa9;this['disposableCollection'][_0x225818(0x26c)](this['_refRangeService']['registerRefRange'](_0x1c2a97,_0xa1b4d0,_0x4f9db6,_0x337db8));});}};this[_0x4645b3(0x1e6)](this[_0x4645b3(0x22a)][_0x4645b3(0x24a)](_0x3ff28e=>{const _0x26011a=_0x4645b3;if(_0x3ff28e['id']===_0x2d7683['id']){const _0x47183d=_0x3ff28e[_0x26011a(0x1d9)],_0x120561=_0x47183d['subUnitId'],_0x127dd7=_0x47183d[_0x26011a(0x28d)];if(!_0x120561||!_0x127dd7)return;_0xca3e7e(_0x127dd7,_0x120561);}if(_0x3ff28e['id']===Oe['id']||_0x3ff28e['id']===V['id']){const _0x247928=_0x3ff28e['params'],_0x203ad6=_0x247928['subUnitId'],_0x4bc597=_0x247928[_0x26011a(0x28d)];if(!_0x203ad6||!_0x4bc597)return;_0xca3e7e(_0x4bc597,_0x203ad6);}}));}[_0xd288ed(0x254)](_0x1e0195,_0x5da625,_0x15bc8e){const _0xcf80b5=_0xd288ed;switch(_0x1e0195['id']){case _0x3daf66['id']:return this['_getRefRangeMutationsByDeleteCols'](_0x1e0195[_0xcf80b5(0x1d9)],_0x5da625,_0x15bc8e);case _0xcd935a['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x1e0195[_0xcf80b5(0x1d9)],_0x5da625,_0x15bc8e);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x10702e,_0x2a0e90,_0x2957f4){const _0xf9c73=_0xd288ed;var _0x104010,_0x91dd34;const {range:_0x57acb7}=_0x10702e,_0x713671=new Set(),_0xdd5995={},_0x391ad2={},_0x455cc1=[],_0x24dbd9=[],_0x3d59de=[],_0x535cbd=[];if(!_0x1cb152(this[_0xf9c73(0x22d)],{'unitId':_0x2a0e90,'subUnitId':_0x2957f4}))return{'redos':_0x24dbd9,'undos':_0x455cc1};const _0x1e5704=this['_sparklineDataSourceModel'][_0xf9c73(0x21d)](_0x2a0e90,_0x2957f4);if(!_0x1e5704)return{'redos':_0x24dbd9,'undos':_0x455cc1};if(!((_0x91dd34=(_0x104010=this['_sparklineDataSourceModel'][_0xf9c73(0x214)]()[_0xf9c73(0x27e)][_0xf9c73(0x280)](_0x2a0e90))==null?void 0x0:_0x104010[_0xf9c73(0x280)](_0x2957f4))==null?void 0x0:_0x91dd34[_0xf9c73(0x28e)]))return{'redos':_0x24dbd9,'undos':_0x455cc1};for(const [_0x5566ba,_0x1e9146]of _0x1e5704){const _0x3bdaf4=_0x1e9146[_0xf9c73(0x235)];_0x3bdaf4[_0xf9c73(0x1ef)]((_0x4bef4b,_0x4c8283,_0x11935e)=>{const _0x4b7951=_0xf9c73;if(_0x2b7218['intersects'](_0x57acb7,_0x11935e)){_0x713671['add'](_0x5566ba);let _0x5802c3=_0x391ad2[_0x5566ba];_0x5802c3||(_0x5802c3={'config':_0x1e9146[_0x4b7951(0x247)],'sparklines':_0x1e9146[_0x4b7951(0x235)]['clone']()},_0x391ad2[_0x5566ba]=_0x5802c3);let _0x2a2bca=_0xdd5995[_0x5566ba];_0x2a2bca||(_0x2a2bca={'config':_0x1e9146[_0x4b7951(0x247)],'sparklines':new _0x2561c9(_0x1e9146['sparklines']['clone']())},_0xdd5995[_0x5566ba]=_0x2a2bca);const _0x3d53f5=_0x3863a3(_0x11935e,{'id':_0x4da17a['id'],'params':_0x10702e});_0x3d53f5?_0x2a2bca[_0x4b7951(0x235)][_0x4b7951(0x26d)](_0x4bef4b,_0x4c8283,_0x3d53f5):_0x2a2bca[_0x4b7951(0x235)][_0x4b7951(0x26d)](_0x4bef4b,_0x4c8283,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2[_0x4b7951(0x1fe)]});}}),_0x3bdaf4['forValue']((_0x514640,_0x6d3c5a,_0xba83b8)=>{const _0x574730=_0xf9c73;if(_0x514640<=_0x57acb7[_0x574730(0x228)]&&_0x514640>=_0x57acb7['startRow']){_0x713671['add'](_0x5566ba);let _0x56e0d8=_0x391ad2[_0x5566ba];_0x56e0d8||(_0x56e0d8={'config':_0x1e9146[_0x574730(0x247)],'sparklines':_0x1e9146[_0x574730(0x235)][_0x574730(0x200)]()},_0x391ad2[_0x5566ba]=_0x56e0d8);let _0x2c7354=_0xdd5995[_0x5566ba];_0x2c7354||(_0x2c7354={'config':_0x1e9146[_0x574730(0x247)],'sparklines':new _0x2561c9(_0x1e9146[_0x574730(0x235)][_0x574730(0x200)]())},_0xdd5995[_0x5566ba]=_0x2c7354);}});}_0x535cbd['push']({'id':y['id'],'params':{'unitId':_0x2a0e90,'subUnitId':_0x2957f4,'groupIds':Array[_0xf9c73(0x218)](_0x713671),'isSingle':!0x1}}),_0x3d59de['push']({'id':y['id'],'params':{'unitId':_0x2a0e90,'subUnitId':_0x2957f4,'groupIds':Array[_0xf9c73(0x218)](_0x713671),'isSingle':!0x1}});const _0xa95979={};let _0x124c07=!0x1;return Object[_0xf9c73(0x25a)](_0xdd5995)['forEach'](([_0x2ddf26,_0x10d9be])=>{const _0x43fb0a=_0xf9c73;_0x10d9be[_0x43fb0a(0x235)][_0x43fb0a(0x252)]()&&(_0x124c07=!0x0,_0x10d9be['sparklines']['removeRows'](_0x57acb7[_0x43fb0a(0x1d6)],_0x57acb7[_0x43fb0a(0x228)]-_0x57acb7['startRow']+0x1),_0xa95979[_0x2ddf26]={'config':_0x10d9be[_0x43fb0a(0x247)],'sparklines':_0x10d9be[_0x43fb0a(0x235)][_0x43fb0a(0x200)]()});}),_0x124c07&&_0x24dbd9[_0xf9c73(0x207)]({'id':V['id'],'params':{'unitId':_0x2a0e90,'subUnitId':_0x2957f4,'sparklineConfigMap':_0xa95979}}),_0x455cc1['push']({'id':V['id'],'params':{'unitId':_0x2a0e90,'subUnitId':_0x2957f4,'sparklineConfigMap':_0x391ad2}}),{'redos':_0x24dbd9,'undos':_0x455cc1,'preRedos':_0x3d59de,'preUndos':_0x535cbd};}['_getRefRangeMutationsByDeleteCols'](_0x2021d6,_0x40b9a8,_0x671df5){const _0x12e773=_0xd288ed;var _0x17ef75,_0xdfb2b7;const {range:_0x5f479b}=_0x2021d6,_0x579be8=new Set(),_0x4f6a54={},_0x2e8caf={},_0xbde46a=[],_0x1e99c5=[],_0x512d00=[],_0x59002b=[];if(!_0x1cb152(this[_0x12e773(0x22d)],{'unitId':_0x40b9a8,'subUnitId':_0x671df5}))return{'redos':_0x1e99c5,'undos':_0xbde46a};const _0x27f685=this['_sparklineDataSourceModel'][_0x12e773(0x21d)](_0x40b9a8,_0x671df5);if(!_0x27f685)return{'redos':_0x1e99c5,'undos':_0xbde46a};if(!((_0xdfb2b7=(_0x17ef75=this[_0x12e773(0x287)][_0x12e773(0x214)]()[_0x12e773(0x27e)][_0x12e773(0x280)](_0x40b9a8))==null?void 0x0:_0x17ef75[_0x12e773(0x280)](_0x671df5))==null?void 0x0:_0xdfb2b7[_0x12e773(0x28e)]))return{'redos':_0x1e99c5,'undos':_0xbde46a};for(const [_0x50aacc,_0xe37a12]of _0x27f685){const _0x53bcd0=_0xe37a12['sparklines'];_0x53bcd0[_0x12e773(0x1ef)]((_0x313874,_0x3fd2a1,_0x404927)=>{const _0xaaa6e6=_0x12e773;if(_0x2b7218[_0xaaa6e6(0x1db)](_0x5f479b,_0x404927)){_0x579be8[_0xaaa6e6(0x26c)](_0x50aacc);let _0x27ced=_0x2e8caf[_0x50aacc];_0x27ced||(_0x27ced={'config':_0xe37a12[_0xaaa6e6(0x247)],'sparklines':_0xe37a12[_0xaaa6e6(0x235)][_0xaaa6e6(0x200)]()},_0x2e8caf[_0x50aacc]=_0x27ced);let _0x5c0c04=_0x4f6a54[_0x50aacc];_0x5c0c04||(_0x5c0c04={'config':_0xe37a12[_0xaaa6e6(0x247)],'sparklines':new _0x2561c9(_0xe37a12['sparklines'][_0xaaa6e6(0x200)]())},_0x4f6a54[_0x50aacc]=_0x5c0c04);const _0x350dd2=_0x3863a3(_0x404927,{'id':_0x48414a['id'],'params':_0x2021d6});_0x350dd2?_0x5c0c04[_0xaaa6e6(0x235)][_0xaaa6e6(0x26d)](_0x313874,_0x3fd2a1,_0x350dd2):_0x5c0c04[_0xaaa6e6(0x235)][_0xaaa6e6(0x26d)](_0x313874,_0x3fd2a1,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2[_0xaaa6e6(0x1fe)]});}}),_0x53bcd0['forValue']((_0x43ea7a,_0x598776,_0x5a4208)=>{const _0x2f498c=_0x12e773;if(_0x598776<=_0x5f479b[_0x2f498c(0x28a)]&&_0x598776>=_0x5f479b[_0x2f498c(0x1f6)]){_0x579be8[_0x2f498c(0x26c)](_0x50aacc);let _0x4ff749=_0x2e8caf[_0x50aacc];_0x4ff749||(_0x4ff749={'config':_0xe37a12[_0x2f498c(0x247)],'sparklines':_0xe37a12[_0x2f498c(0x235)][_0x2f498c(0x200)]()},_0x2e8caf[_0x50aacc]=_0x4ff749);let _0x2b6096=_0x4f6a54[_0x50aacc];_0x2b6096||(_0x2b6096={'config':_0xe37a12[_0x2f498c(0x247)],'sparklines':new _0x2561c9(_0xe37a12[_0x2f498c(0x235)]['clone']())},_0x4f6a54[_0x50aacc]=_0x2b6096);}});}_0x59002b[_0x12e773(0x207)]({'id':y['id'],'params':{'unitId':_0x40b9a8,'subUnitId':_0x671df5,'groupIds':Array['from'](_0x579be8),'isSingle':!0x1}}),_0x512d00[_0x12e773(0x207)]({'id':y['id'],'params':{'unitId':_0x40b9a8,'subUnitId':_0x671df5,'groupIds':Array[_0x12e773(0x218)](_0x579be8),'isSingle':!0x1}});const _0x6762e2={};let _0x173d60=!0x1;return Object[_0x12e773(0x25a)](_0x4f6a54)['forEach'](([_0x276799,_0x14264e])=>{const _0x74d3d2=_0x12e773;_0x14264e['sparklines']['getSizeOf']()&&(_0x173d60=!0x0,_0x14264e[_0x74d3d2(0x235)][_0x74d3d2(0x203)](_0x5f479b[_0x74d3d2(0x1f6)],_0x5f479b['endColumn']-_0x5f479b[_0x74d3d2(0x1f6)]+0x1),_0x6762e2[_0x276799]={'config':_0x14264e['config'],'sparklines':_0x14264e['sparklines']['clone']()});}),_0x173d60&&_0x1e99c5[_0x12e773(0x207)]({'id':V['id'],'params':{'unitId':_0x40b9a8,'subUnitId':_0x671df5,'sparklineConfigMap':_0x6762e2}}),_0xbde46a[_0x12e773(0x207)]({'id':V['id'],'params':{'unitId':_0x40b9a8,'subUnitId':_0x671df5,'sparklineConfigMap':_0x2e8caf}}),{'redos':_0x1e99c5,'undos':_0xbde46a,'preRedos':_0x512d00,'preUndos':_0x59002b};}[_0xd288ed(0x21f)](){const _0x34f446=_0xd288ed;this[_0x34f446(0x1e6)](this['_commandService'][_0x34f446(0x24a)](_0x2df10f=>{const _0x3106d2=_0x34f446;if(_0x2df10f['id']===_0xa652c5['id']){const _0xf5dcc6=_0x2df10f[_0x3106d2(0x1d9)],{unitId:_0x840db2,subUnitId:_0x5906ea,range:_0x488a03}=_0xf5dcc6,_0x908aeb=_0x488a03[_0x3106d2(0x1f6)],_0x3b9ce3=_0x488a03['endColumn']-_0x488a03['startColumn']+0x1,_0x284bfa=this['_sparklineDataSourceModel'][_0x3106d2(0x21d)](_0x840db2,_0x5906ea);if(!_0x284bfa)return;for(const [_0x3fd0e6,_0x480535]of _0x284bfa){this[_0x3106d2(0x287)][_0x3106d2(0x27f)](_0x840db2,_0x5906ea,_0x3fd0e6);const _0x272439=_0x480535['sparklines'];_0x272439[_0x3106d2(0x1ef)]((_0x32327e,_0x23d291,_0x35be3d)=>{const _0x2bdf81=_0x3106d2,_0x157e93={..._0x35be3d};_0x908aeb<=_0x157e93[_0x2bdf81(0x1f6)]?(_0x157e93[_0x2bdf81(0x1f6)]+=_0x3b9ce3,_0x157e93[_0x2bdf81(0x28a)]+=_0x3b9ce3):_0x908aeb>_0x157e93[_0x2bdf81(0x28a)]||(_0x157e93[_0x2bdf81(0x28a)]+=_0x3b9ce3),_0x272439[_0x2bdf81(0x26d)](_0x32327e,_0x23d291,_0x157e93);});const _0x3cc543=_0x272439['getMatrix']();for(const _0x2a8d20 in _0x3cc543){const _0x1c5695=_0x3cc543[Number(_0x2a8d20)];if(!_0x1c5695)continue;const _0x30de72=Object[_0x3106d2(0x24c)](_0x1c5695)[_0x3106d2(0x22f)](Number),_0x49f2d6=Math[_0x3106d2(0x210)](..._0x30de72);for(let _0x2309e9=_0x49f2d6;_0x2309e9>=_0x908aeb;_0x2309e9--)_0x2309e9>=_0x908aeb&&_0x1c5695[_0x2309e9]&&(_0x1c5695[_0x2309e9+_0x3b9ce3]=_0x1c5695[_0x2309e9],delete _0x1c5695[_0x2309e9]);}this[_0x3106d2(0x287)]['updateSparklineExtraNum'](_0x840db2,_0x5906ea,_0x3fd0e6);}}else{if(_0x2df10f['id']===_0x1fe6db['id']){const _0x234483=_0x2df10f[_0x3106d2(0x1d9)],{unitId:_0x4339f1,subUnitId:_0x1ea2e3,range:_0x4ac654}=_0x234483,_0x55c00e=_0x4ac654['startRow'],_0x207eab=_0x4ac654[_0x3106d2(0x228)]-_0x4ac654[_0x3106d2(0x1d6)]+0x1,_0x5d2856=this['_sparklineDataSourceModel'][_0x3106d2(0x21d)](_0x4339f1,_0x1ea2e3);if(!_0x5d2856)return;for(const [_0x49bbb7,_0x1452e5]of _0x5d2856){this['_sparklineDataSourceModel'][_0x3106d2(0x27f)](_0x4339f1,_0x1ea2e3,_0x49bbb7);const _0x5489ba=_0x1452e5[_0x3106d2(0x235)];_0x5489ba[_0x3106d2(0x1ef)]((_0x26eef5,_0x2a8846,_0x3cbcb7)=>{const _0x209aa1=_0x3106d2,_0x4d78dc={..._0x3cbcb7};_0x55c00e<=_0x4d78dc[_0x209aa1(0x1d6)]?(_0x4d78dc['startRow']+=_0x207eab,_0x4d78dc[_0x209aa1(0x228)]+=_0x207eab):_0x55c00e>_0x4d78dc[_0x209aa1(0x228)]||(_0x4d78dc[_0x209aa1(0x228)]+=_0x207eab),_0x5489ba[_0x209aa1(0x26d)](_0x26eef5,_0x2a8846,_0x4d78dc);});const _0x1d553c=_0x5489ba['getMatrix'](),_0x428c0a=Object[_0x3106d2(0x24c)](_0x1d553c)['map'](Number),_0x23e014=Math[_0x3106d2(0x210)](..._0x428c0a);for(let _0x1a7c95=_0x23e014;_0x1a7c95>=_0x55c00e;_0x1a7c95--)_0x1a7c95>=_0x55c00e&&_0x1d553c[_0x1a7c95]&&(_0x1d553c[_0x1a7c95+_0x207eab]=_0x1d553c[_0x1a7c95],delete _0x1d553c[_0x1a7c95]);this[_0x3106d2(0x287)][_0x3106d2(0x27b)](_0x4339f1,_0x1ea2e3,_0x49bbb7);}}else{if(_0x2df10f['id']===_0x48414a['id']){const _0x48ea3f=_0x2df10f['params'],{range:_0x50f9ec,unitId:_0x15d872,subUnitId:_0x477504}=_0x48ea3f,_0x481881=this[_0x3106d2(0x287)][_0x3106d2(0x21d)](_0x15d872,_0x477504);if(!_0x481881)return;for(const [_0x3a47ba,_0x347daa]of _0x481881){const _0x1fe988=_0x347daa[_0x3106d2(0x235)];_0x1fe988[_0x3106d2(0x1ef)]((_0x4f9c5e,_0x2c9835,_0x381ae1)=>{const _0x2a0a77=_0x3106d2,_0x205160=_0x3863a3(_0x381ae1,_0x2df10f);_0x205160?_0x1fe988[_0x2a0a77(0x26d)](_0x4f9c5e,_0x2c9835,_0x205160):_0x1fe988[_0x2a0a77(0x26d)](_0x4f9c5e,_0x2c9835,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2['NORMAL']});}),_0x1fe988[_0x3106d2(0x203)](_0x50f9ec[_0x3106d2(0x1f6)],_0x50f9ec[_0x3106d2(0x28a)]-_0x50f9ec[_0x3106d2(0x1f6)]+0x1);}this[_0x3106d2(0x287)][_0x3106d2(0x1d8)](_0x15d872,_0x477504);}else{if(_0x2df10f['id']===_0x4da17a['id']){const _0x1f50bc=_0x2df10f[_0x3106d2(0x1d9)],{range:_0x30a1a6,unitId:_0x10ed35,subUnitId:_0x1c26a9}=_0x1f50bc,_0x5eed42=this[_0x3106d2(0x287)][_0x3106d2(0x21d)](_0x10ed35,_0x1c26a9);if(!_0x5eed42)return;for(const [_0x3f640a,_0x49d621]of _0x5eed42){const _0x401344=_0x49d621['sparklines'];_0x401344[_0x3106d2(0x1ef)]((_0x1c3055,_0x5c8630,_0x17ff9a)=>{const _0x58a6e3=_0x3106d2,_0x1b3568=_0x3863a3(_0x17ff9a,_0x2df10f);_0x1b3568?_0x401344[_0x58a6e3(0x26d)](_0x1c3055,_0x5c8630,_0x1b3568):_0x401344[_0x58a6e3(0x26d)](_0x1c3055,_0x5c8630,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2[_0x58a6e3(0x1fe)]});}),_0x401344[_0x3106d2(0x240)](_0x30a1a6[_0x3106d2(0x1d6)],_0x30a1a6[_0x3106d2(0x228)]-_0x30a1a6['startRow']+0x1);}this[_0x3106d2(0x287)][_0x3106d2(0x1d8)](_0x10ed35,_0x1c26a9);}else{if(_0x2df10f['id']===_0x282322['id']){const _0x1d5fb8=_0x2df10f[_0x3106d2(0x1d9)],{unitId:_0x1435de,subUnitId:_0x39bd23,sourceRange:_0x9e09eb,targetRange:_0x2a4bd4}=_0x1d5fb8,_0x297700=this[_0x3106d2(0x287)][_0x3106d2(0x21d)](_0x1435de,_0x39bd23);if(!_0x297700)return;for(const [_0x562b7c,_0x237638]of _0x297700){const _0x63b1c7=_0x237638['sparklines'];_0x63b1c7[_0x3106d2(0x1ef)]((_0x35ddc0,_0x33ebae,_0x231bf6)=>{const _0x5aa66c=_0x3106d2,_0x4a9099=_0x3863a3(_0x231bf6,_0x2df10f);_0x4a9099?_0x63b1c7[_0x5aa66c(0x26d)](_0x35ddc0,_0x33ebae,_0x4a9099):_0x63b1c7[_0x5aa66c(0x26d)](_0x35ddc0,_0x33ebae,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2[_0x5aa66c(0x1fe)]});}),_0x63b1c7[_0x3106d2(0x25d)](_0x9e09eb[_0x3106d2(0x1f6)],_0x9e09eb['endColumn']-_0x9e09eb[_0x3106d2(0x1f6)]+0x1,_0x2a4bd4[_0x3106d2(0x1f6)]);}this[_0x3106d2(0x287)][_0x3106d2(0x1d8)](_0x1435de,_0x39bd23);}else{if(_0x2df10f['id']===_0x532025['id']){const _0x5079f7=_0x2df10f['params'],{unitId:_0x238509,subUnitId:_0xf937d9,sourceRange:_0x2cedaf,targetRange:_0x1b4165}=_0x5079f7,_0x49afa2=this['_sparklineDataSourceModel'][_0x3106d2(0x21d)](_0x238509,_0xf937d9);if(!_0x49afa2)return;for(const [_0x359102,_0x54a929]of _0x49afa2){const _0x55b129=_0x54a929[_0x3106d2(0x235)];_0x55b129[_0x3106d2(0x1ef)]((_0x1c13c1,_0x377347,_0x56324d)=>{const _0x1cc4dc=_0x3106d2,_0x23f646=_0x3863a3(_0x56324d,_0x2df10f);_0x23f646?_0x55b129[_0x1cc4dc(0x26d)](_0x1c13c1,_0x377347,_0x23f646):_0x55b129['setValue'](_0x1c13c1,_0x377347,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3764e2[_0x1cc4dc(0x1fe)]});}),_0x55b129[_0x3106d2(0x282)](_0x2cedaf['startRow'],_0x2cedaf['endRow']-_0x2cedaf[_0x3106d2(0x1d6)]+0x1,_0x1b4165[_0x3106d2(0x1d6)]);}this['_sparklineDataSourceModel'][_0x3106d2(0x1d8)](_0x238509,_0xf937d9);}else{if(_0x2df10f['id']===_0x1f94c7['id']){const _0x51476e=_0x2df10f[_0x3106d2(0x1d9)],{fromRange:_0x5639f4,toRange:_0x4b1796,unitId:_0xc5fd8c,from:_0x2357b2,to:_0x55ed6f}=_0x51476e;if(_0x2357b2['subUnitId']!==_0x55ed6f[_0x3106d2(0x229)])return;const _0x3e8bbe=_0x2357b2[_0x3106d2(0x229)],{startRow:_0x4a4ec7,endRow:_0x4f84d9,startColumn:_0x3d2452,endColumn:_0x1ef268}=_0x5639f4,{startRow:_0x3db15d,startColumn:_0xcaa6f4}=_0x4b1796,_0x3ea47c=_0x3db15d-_0x4a4ec7,_0x491e77=_0xcaa6f4-_0x3d2452,_0x377ecd=this[_0x3106d2(0x287)]['getSubUnitSparkline'](_0xc5fd8c,_0x3e8bbe);if(!(_0x377ecd!=null&&_0x377ecd[_0x3106d2(0x275)]))return;for(let _0x1e1861=_0x4a4ec7;_0x1e1861<=_0x4f84d9;_0x1e1861++)for(let _0x54aa16=_0x3d2452;_0x54aa16<=_0x1ef268;_0x54aa16++){const _0x124bc5=this['_sparklineDataSourceModel'][_0x3106d2(0x267)](_0xc5fd8c,_0x3e8bbe,_0x1e1861,_0x54aa16);if(_0x124bc5){const _0x3a0697=this[_0x3106d2(0x287)]['getSparklineById'](_0xc5fd8c,_0x3e8bbe,_0x124bc5);if(_0x3a0697){const _0x1b81b4=_0x3a0697[_0x3106d2(0x235)]['getValue'](_0x1e1861,_0x54aa16);_0x1b81b4&&(_0x3a0697[_0x3106d2(0x235)][_0x3106d2(0x26d)](_0x1e1861+_0x3ea47c,_0x54aa16+_0x491e77,_0x1b81b4),_0x3a0697['sparklines'][_0x3106d2(0x201)](_0x1e1861,_0x54aa16));}}}for(const [_0x4be550,_0x1695ba]of _0x377ecd){const _0x23ca8c=_0x1695ba[_0x3106d2(0x235)];_0x23ca8c[_0x3106d2(0x1ef)]((_0x5876c6,_0x29e695,_0x80198e)=>{const _0x241389=_0x3106d2,_0x398e92={..._0x80198e};_0x2b7218[_0x241389(0x279)](_0x5639f4,_0x80198e)&&(_0x398e92[_0x241389(0x1d6)]+=_0x3ea47c,_0x398e92[_0x241389(0x228)]+=_0x3ea47c,_0x398e92['startColumn']+=_0x491e77,_0x398e92[_0x241389(0x28a)]+=_0x491e77),_0x23ca8c[_0x241389(0x26d)](_0x5876c6,_0x29e695,_0x398e92);});}this[_0x3106d2(0x287)]['reBuildAnchorCache'](_0xc5fd8c,_0x3e8bbe);}}}}}}}}));}};Me=Kt([ue(0x0,_0x5d1749(_0x5e26ed)),ue(0x1,_0x5d1749(_0x36afd7)),ue(0x2,_0x5d1749(_0x179aff)),ue(0x3,_0x247b96),ue(0x4,_0x5d1749(x))],Me);var Xt=Object[_0xd288ed(0x243)],zt=(_0x15afff,_0x12470e,_0x35148b,_0x256378)=>{const _0x564240=_0xd288ed;for(var _0x3eed72=_0x256378>0x1?void 0x0:_0x256378?Xt(_0x12470e,_0x35148b):_0x12470e,_0x4d8167=_0x15afff[_0x564240(0x285)]-0x1,_0x1db4ec;_0x4d8167>=0x0;_0x4d8167--)(_0x1db4ec=_0x15afff[_0x4d8167])&&(_0x3eed72=_0x1db4ec(_0x3eed72)||_0x3eed72);return _0x3eed72;},Be=(_0x1089c6,_0x4efb24)=>(_0x54a706,_0x3b2bf0)=>_0x4efb24(_0x54a706,_0x3b2bf0,_0x1089c6);let Re=class extends _0x3480d3{constructor(_0x23c6e8,_0x1f443f){const _0x344170=_0xd288ed;super(),this[_0x344170(0x26e)]=_0x23c6e8,this[_0x344170(0x287)]=_0x1f443f,this[_0x344170(0x24b)]();}[_0xd288ed(0x24b)](){const _0x86e565=_0xd288ed,_0x1beeec=_0x37ac6f=>{const _0x8b9194=_0x11b0,_0x2150dc=this[_0x8b9194(0x287)]['toJSON'](_0x37ac6f);return _0x2150dc?JSON[_0x8b9194(0x283)](_0x2150dc):'';},_0x2f8c44=_0x5b5352=>_0x5b5352?JSON[_0x86e565(0x1da)](_0x5b5352):{};this[_0x86e565(0x1e6)](this[_0x86e565(0x26e)][_0x86e565(0x20f)]({'toJson':_0x1beeec,'parseJson':_0x2f8c44,'pluginName':Ke,'businesses':[_0x420990[_0x86e565(0x289)]],'onLoad':(_0xe9f438,_0x1a91ce)=>{const _0x320202=_0x86e565;this[_0x320202(0x287)][_0x320202(0x1f2)](_0x1a91ce);},'onUnLoad':_0x489cf9=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x489cf9);}}));}};Re=zt([Be(0x0,_0x5d1749(_0x3cd0d0)),Be(0x1,_0x5d1749(x))],Re);var Jt=Object[_0xd288ed(0x23a)],Zt=Object[_0xd288ed(0x243)],Yt=(_0x214d10,_0x5780b3,_0x5b75d4)=>_0x5780b3 in _0x214d10?Jt(_0x214d10,_0x5780b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b75d4}):_0x214d10[_0x5780b3]=_0x5b75d4,qt=(_0x23c17e,_0x1a4981,_0x337ba7,_0x37d431)=>{for(var _0x26490b=_0x37d431>0x1?void 0x0:_0x37d431?Zt(_0x1a4981,_0x337ba7):_0x1a4981,_0x5da146=_0x23c17e['length']-0x1,_0x50226d;_0x5da146>=0x0;_0x5da146--)(_0x50226d=_0x23c17e[_0x5da146])&&(_0x26490b=_0x50226d(_0x26490b)||_0x26490b);return _0x26490b;},He=(_0x21e87c,_0x4d14d3)=>(_0x2210a1,_0x12f5b1)=>_0x4d14d3(_0x2210a1,_0x12f5b1,_0x21e87c),ze=(_0x2a324e,_0x5af44b,_0x548172)=>Yt(_0x2a324e,typeof _0x5af44b!=_0xd288ed(0x1e0)?_0x5af44b+'':_0x5af44b,_0x548172);let ve=class extends _0x3616c3{constructor(_0x1d9ad2={},_0x151612,_0x573c94){const _0x21ed90=_0xd288ed;super(),this[_0x21ed90(0x24f)]=_0x1d9ad2,this['_injector']=_0x151612,this[_0x21ed90(0x22a)]=_0x573c94,this[_0x21ed90(0x1d4)](),this[_0x21ed90(0x266)]();}[_0xd288ed(0x1d4)](){const _0x45c58b=_0xd288ed;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x45c58b(0x28b)](_0x4ebcdc=>{const _0x583f4a=_0x45c58b;this[_0x583f4a(0x1f8)][_0x583f4a(0x26c)](_0x4ebcdc);}),_0x5c60f3(this[_0x45c58b(0x1f8)],[[Re]]);}[_0xd288ed(0x1e4)](){const _0x80794e=_0xd288ed;_0x5c60f3(this[_0x80794e(0x1f8)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}['_initRegisterCommand'](){const _0x1d1cdf=_0xd288ed;[Nt,V,Ot,y,xt,Oe][_0x1d1cdf(0x28b)](_0x20d335=>this['_commandService'][_0x1d1cdf(0x244)](_0x20d335));}};ze(ve,'pluginName',Ke),ze(ve,_0xd288ed(0x270),_0x420990[_0xd288ed(0x289)]),ve=qt([_0xcd782b(_0x1b39bf),He(0x1,_0x5d1749(_0x5c3983)),He(0x2,_0x5d1749(_0x5e26ed))],ve);export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,Ee as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
|
1
|
+
const _0x5e69eb=_0x32d1;function _0x32d1(_0x33cf30,_0x3374c8){const _0x177dbe=_0x177d();return _0x32d1=function(_0x32d144,_0x25c21c){_0x32d144=_0x32d144-0x1bb;let _0x491d21=_0x177dbe[_0x32d144];return _0x491d21;},_0x32d1(_0x33cf30,_0x3374c8);}(function(_0x1c613b,_0x294278){const _0x281b11=_0x32d1,_0x376eee=_0x1c613b();while(!![]){try{const _0x36a035=parseInt(_0x281b11(0x247))/0x1*(-parseInt(_0x281b11(0x246))/0x2)+parseInt(_0x281b11(0x26e))/0x3*(parseInt(_0x281b11(0x22a))/0x4)+parseInt(_0x281b11(0x212))/0x5*(parseInt(_0x281b11(0x1e4))/0x6)+-parseInt(_0x281b11(0x20c))/0x7*(parseInt(_0x281b11(0x1cc))/0x8)+parseInt(_0x281b11(0x26a))/0x9+-parseInt(_0x281b11(0x1ca))/0xa+parseInt(_0x281b11(0x1c2))/0xb;if(_0x36a035===_0x294278)break;else _0x376eee['push'](_0x376eee['shift']());}catch(_0x4fd420){_0x376eee['push'](_0x376eee['shift']());}}}(_0x177d,0x5673e));var qe=Object[_0x5e69eb(0x1f4)],Qe=(_0xdf0b9f,_0x1dce61,_0x1ab588)=>_0x1dce61 in _0xdf0b9f?qe(_0xdf0b9f,_0x1dce61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab588}):_0xdf0b9f[_0x1dce61]=_0x1ab588,se=(_0x39913d,_0x237bf0,_0x542672)=>Qe(_0x39913d,typeof _0x237bf0!=_0x5e69eb(0x1c1)?_0x237bf0+'':_0x237bf0,_0x542672);import{UniverLicensePlugin as _0x2e3fae}from'@univerjs-pro/license';import{ObjectMatrix as _0x1cdca2,Inject as _0xc3cd9b,IUniverInstanceService as _0x212016,Disposable as _0x5140fe,isValidRange as _0x36d3fc,CellValueType as _0x1dd30f,ColorKit as _0x22a876,CommandType as _0x506519,Range as _0x1467b2,IUndoRedoService as _0x132acb,generateRandomId as _0x26c764,ICommandService as _0x3af335,Tools as _0x4a95e6,sequenceExecute as _0x84db10,Rectangle as _0x4c6abe,cellToRange as _0x1080f8,DisposableCollection as _0x1e196f,RANGE_TYPE as _0x537929,UniverInstanceType as _0x484af2,IResourceManagerService as _0xdead22,DependentOn as _0x3100be,Injector as _0x41c10c,Plugin as _0xd34cf1,touchDependencies as _0x141244}from'@univerjs/core';import{getSheetCommandTarget as _0x5dbc09,SheetsSelectionsService as _0x2d9984,SheetInterceptorService as _0x59b799,ClearSelectionAllCommand as _0x56311e,CopySheetCommand as _0x5374c2,IExclusiveRangeService as _0x50ff97,SetRangeValuesMutation as _0x108d05,ReorderRangeMutation as _0x2afd1f,SetRowHiddenMutation as _0x5995bd,SetColHiddenMutation as _0x41e12d,SetRowVisibleMutation as _0x2cdd8c,SetColVisibleMutation as _0x3c9ad0,AddWorksheetMergeCommand as _0x9a9665,RefRangeService as _0x1a7f1d,SetWorksheetActivateCommand as _0xe346dc,RemoveRowCommand as _0x2708bc,RemoveColCommand as _0x39ca17,adjustRangeOnMutation as _0x357731,RemoveRowMutation as _0x4a5d52,RemoveColMutation as _0x3e2624,InsertColMutation as _0x1ba3bc,InsertRowMutation as _0x69ff93,MoveColsMutation as _0x1344fe,MoveRowsMutation as _0x4e71c3,MoveRangeMutation as _0x3811d5}from'@univerjs/sheets';import{Subject as _0x2ea0bf}from'rxjs';function Fe(_0x950a54,_0x35e2fb){const _0x297b68=_0x5e69eb,_0x5ac363=new _0x1cdca2(),_0x3b551=[],_0x17c236=_0x950a54[_0x297b68(0x21e)]>0x1;let _0x369f90=0x0,_0x12e8a6=0x0;for(const _0x1d0b7c of _0x950a54)_0x369f90+=_0x1d0b7c['endRow']-_0x1d0b7c[_0x297b68(0x206)]+0x1,_0x12e8a6+=_0x1d0b7c['endColumn']-_0x1d0b7c[_0x297b68(0x1ff)]+0x1;for(const _0x52319e of _0x35e2fb)for(let _0x143676=_0x52319e[_0x297b68(0x206)];_0x143676<=_0x52319e[_0x297b68(0x20e)];_0x143676++)for(let _0x2ef89d=_0x52319e[_0x297b68(0x1ff)];_0x2ef89d<=_0x52319e[_0x297b68(0x21d)];_0x2ef89d++)_0x3b551['push']({'row':_0x143676,'column':_0x2ef89d});if(_0x3b551['length']===_0x369f90)_0x17c236?_0x3b551[_0x297b68(0x224)]((_0x491f40,_0x14df93)=>{const _0x230a0b=_0x297b68,_0x42b879=_0x950a54[_0x14df93],_0x6b62ee={'startRow':_0x42b879[_0x230a0b(0x206)],'startColumn':_0x42b879['startColumn'],'endRow':_0x42b879[_0x230a0b(0x206)],'endColumn':_0x42b879[_0x230a0b(0x21d)]};_0x5ac363[_0x230a0b(0x27a)](_0x491f40['row'],_0x491f40[_0x230a0b(0x1bb)],_0x6b62ee);}):_0x3b551[_0x297b68(0x224)]((_0xf4eb94,_0x5b3af9)=>{const _0x46583c=_0x297b68,_0x40375f=_0x950a54[0x0],_0x2627aa={'startRow':_0x40375f['startRow']+_0x5b3af9,'startColumn':_0x40375f['startColumn'],'endRow':_0x40375f[_0x46583c(0x206)]+_0x5b3af9,'endColumn':_0x40375f[_0x46583c(0x21d)]};_0x5ac363[_0x46583c(0x27a)](_0xf4eb94[_0x46583c(0x25d)],_0xf4eb94[_0x46583c(0x1bb)],_0x2627aa);});else{if(_0x3b551['length']===_0x12e8a6)_0x17c236?_0x3b551[_0x297b68(0x224)]((_0x20813c,_0x2116bd)=>{const _0x3720d9=_0x297b68,_0x243f8f=_0x950a54[_0x2116bd],_0x475d01={'startRow':_0x243f8f['startRow'],'startColumn':_0x243f8f[_0x3720d9(0x1ff)],'endRow':_0x243f8f[_0x3720d9(0x20e)],'endColumn':_0x243f8f['startColumn']};_0x5ac363[_0x3720d9(0x27a)](_0x20813c['row'],_0x20813c['column'],_0x475d01);}):_0x3b551[_0x297b68(0x224)]((_0x2ec88e,_0x257db7)=>{const _0x534945=_0x297b68,_0x2982bc=_0x950a54[0x0],_0x25e4c1={'startRow':_0x2982bc[_0x534945(0x206)],'startColumn':_0x2982bc[_0x534945(0x1ff)]+_0x257db7,'endRow':_0x2982bc[_0x534945(0x20e)],'endColumn':_0x2982bc[_0x534945(0x1ff)]+_0x257db7};_0x5ac363['setValue'](_0x2ec88e[_0x534945(0x25d)],_0x2ec88e[_0x534945(0x1bb)],_0x25e4c1);});else{if(_0x3b551[_0x297b68(0x21e)]===_0x950a54['length'])_0x950a54[_0x297b68(0x214)](_0x25571b=>!(_0x25571b['startRow']!==_0x25571b[_0x297b68(0x20e)]&&_0x25571b[_0x297b68(0x1ff)]!==_0x25571b[_0x297b68(0x21d)]))&&_0x3b551[_0x297b68(0x224)]((_0x477431,_0x28dce7)=>{const _0x70585b=_0x297b68,_0x4145ac=_0x950a54[_0x28dce7];_0x5ac363[_0x70585b(0x27a)](_0x477431[_0x70585b(0x25d)],_0x477431[_0x70585b(0x1bb)],_0x4145ac);});else throw new Error(_0x297b68(0x24d));}}return _0x5ac363;}const Ke=_0x5e69eb(0x203),Le={'standard':[_0x5e69eb(0x1cb),'rgb(236,100,169)'],'specialty':[_0x5e69eb(0x25b),_0x5e69eb(0x209)],'distinctive':[_0x5e69eb(0x1fd),_0x5e69eb(0x1e5)],'soft':[_0x5e69eb(0x243),_0x5e69eb(0x21f)],'fresh':['rgb(46,187,122)',_0x5e69eb(0x248)]},on=[_0x5e69eb(0x215),'firstPoint',_0x5e69eb(0x1c5),_0x5e69eb(0x20b),_0x5e69eb(0x1fc),_0x5e69eb(0x1e8)];var Xe=(_0x1ac4d8=>(_0x1ac4d8['STANDARD']=_0x5e69eb(0x211),_0x1ac4d8[_0x5e69eb(0x210)]=_0x5e69eb(0x1dd),_0x1ac4d8[_0x5e69eb(0x26f)]=_0x5e69eb(0x22f),_0x1ac4d8[_0x5e69eb(0x261)]=_0x5e69eb(0x27d),_0x1ac4d8[_0x5e69eb(0x1c3)]=_0x5e69eb(0x1c9),_0x1ac4d8['CUSTOM']='custom',_0x1ac4d8))(Xe||{}),Dt=(_0x15efae=>(_0x15efae[_0x15efae[_0x5e69eb(0x1e3)]=0x1]=_0x5e69eb(0x1e3),_0x15efae[_0x15efae['BAR_CHART']=0x2]=_0x5e69eb(0x22d),_0x15efae[_0x15efae[_0x5e69eb(0x21b)]=0x3]=_0x5e69eb(0x21b),_0x15efae[_0x15efae[_0x5e69eb(0x276)]=0x4]='PIE_CHART',_0x15efae))(Dt||{}),J=(_0x4dc3a4=>(_0x4dc3a4[_0x5e69eb(0x221)]=_0x5e69eb(0x23b),_0x4dc3a4[_0x5e69eb(0x26d)]=_0x5e69eb(0x1be),_0x4dc3a4[_0x5e69eb(0x1d9)]=_0x5e69eb(0x270),_0x4dc3a4))(J||{}),Ee=(_0x3e0da3=>(_0x3e0da3[_0x3e0da3[_0x5e69eb(0x25c)]=0x1]=_0x5e69eb(0x25c),_0x3e0da3[_0x3e0da3[_0x5e69eb(0x1ed)]=0x2]=_0x5e69eb(0x1ed),_0x3e0da3[_0x3e0da3['CUSTOM_EXTREMUM']=0x3]=_0x5e69eb(0x1d5),_0x3e0da3))(Ee||{}),Et=Object[_0x5e69eb(0x24a)],Vt=(_0x5b46f2,_0xe9968c,_0x41fabb,_0x344b97)=>{const _0x318c30=_0x5e69eb;for(var _0x3bb704=_0x344b97>0x1?void 0x0:_0x344b97?Et(_0xe9968c,_0x41fabb):_0xe9968c,_0x3cae64=_0x5b46f2[_0x318c30(0x21e)]-0x1,_0x1aa09c;_0x3cae64>=0x0;_0x3cae64--)(_0x1aa09c=_0x5b46f2[_0x3cae64])&&(_0x3bb704=_0x1aa09c(_0x3bb704)||_0x3bb704);return _0x3bb704;},yt=(_0x5c9e40,_0x1a0d6a)=>(_0x57423d,_0x142212)=>_0x1a0d6a(_0x57423d,_0x142212,_0x5c9e40);let x=class extends _0x5140fe{constructor(_0x961625){const _0xc24c7f=_0x5e69eb;super(),se(this,_0xc24c7f(0x264),new Map()),se(this,'_sparklineAnchorMap',new Map()),se(this,_0xc24c7f(0x274),new _0x2ea0bf()),se(this,_0xc24c7f(0x262),this[_0xc24c7f(0x274)][_0xc24c7f(0x216)]()),this['_univerInstanceService']=_0x961625;}[_0x5e69eb(0x222)](_0x4462b6,_0x4740f8){const _0x2182f=_0x5e69eb;let _0x5a66cf=this[_0x2182f(0x264)][_0x2182f(0x259)](_0x4462b6);_0x5a66cf||(_0x5a66cf=new Map(),this['_sparklineModel'][_0x2182f(0x23c)](_0x4462b6,_0x5a66cf));let _0x48cdb7=_0x5a66cf[_0x2182f(0x259)](_0x4740f8);return _0x48cdb7||(_0x48cdb7=new Map(),_0x5a66cf['set'](_0x4740f8,_0x48cdb7)),_0x48cdb7;}[_0x5e69eb(0x1d1)](_0x50638a,_0xcf49c6){const _0x249214=_0x5e69eb;let _0x2e8ece=this[_0x249214(0x25a)][_0x249214(0x259)](_0x50638a);_0x2e8ece||(_0x2e8ece=new Map(),this['_sparklineAnchorMap'][_0x249214(0x23c)](_0x50638a,_0x2e8ece));let _0x14bd0e=_0x2e8ece['get'](_0xcf49c6);return _0x14bd0e||(_0x14bd0e={'matrix':new _0x1cdca2(),'extra':{}},_0x2e8ece[_0x249214(0x23c)](_0xcf49c6,_0x14bd0e)),_0x14bd0e;}['updateSparklineExtraNum'](_0x51ff06,_0x1c71bc,_0x81f4bb,_0x155649=_0x5e69eb(0x23c)){const _0xdf1c32=_0x5e69eb;var _0x50dc49,_0x10726c,_0x1c0e44,_0x48ce05,_0x25d1d5,_0x5553ea,_0x1f4d1f,_0x1e18a7,_0xd28d3f,_0x124edf,_0x42c3dd,_0xf6e071,_0x32017d;const _0x20d522=(_0x10726c=(_0x50dc49=this[_0xdf1c32(0x264)][_0xdf1c32(0x259)](_0x51ff06))==null?void 0x0:_0x50dc49[_0xdf1c32(0x259)](_0x1c71bc))==null?void 0x0:_0x10726c[_0xdf1c32(0x259)](_0x81f4bb);if(!_0x20d522)return;const _0xf4c289=_0x5dbc09(this[_0xdf1c32(0x1eb)],{'unitId':_0x51ff06,'subUnitId':_0x1c71bc});if(!_0xf4c289)return;const _0x5d4408=this[_0xdf1c32(0x1d1)](_0x51ff06,_0x1c71bc),{extra:_0x55f421,matrix:_0x35b817}=_0x5d4408,{worksheet:_0x5f5999}=_0xf4c289;let _0x2d2847=Number[_0xdf1c32(0x1cf)],_0x492b53=Number[_0xdf1c32(0x271)];const _0x42ac23=(_0x1c0e44=_0x20d522[_0xdf1c32(0x1ef)][_0xdf1c32(0x278)])!=null?_0x1c0e44:!0x1;_0x20d522[_0xdf1c32(0x1f8)][_0xdf1c32(0x22e)]((_0x16f60e,_0x433c3a,_0x23eaf3)=>{const _0x3265e6=_0xdf1c32;var _0x15a7f8,_0x2000f9,_0x1d93f4;const _0x18e153=_0x23eaf3;let _0x28620d=Number[_0x3265e6(0x1cf)],_0x3a9543=Number[_0x3265e6(0x271)],_0x372819=0x0,_0x3c5f1d=0x0;const _0x34c9a5=[];if(!_0x36d3fc(_0x18e153))_0x35b817[_0x3265e6(0x27a)](_0x16f60e,_0x433c3a,{'groupId':_0x81f4bb,'data':[],'max':_0x28620d,'min':_0x3a9543,'highIndex':_0x372819,'lowIndex':_0x3c5f1d,'negativeIndexes':_0x34c9a5});else{const _0x63635c=[];for(let _0x2d40e3=_0x18e153['startRow'];_0x2d40e3<=_0x18e153['endRow'];_0x2d40e3++){for(let _0x45b6b9=_0x18e153[_0x3265e6(0x1ff)];_0x45b6b9<=_0x18e153['endColumn'];_0x45b6b9++){const _0x100eaf=_0x5f5999['getRowVisible'](_0x2d40e3),_0x4bb84d=_0x5f5999[_0x3265e6(0x1fe)](_0x45b6b9);if(!_0x42ac23&&(!_0x100eaf||!_0x4bb84d))continue;let _0x410bcc=0x0;const _0x35fcbb=((_0x15a7f8=_0x5f5999[_0x3265e6(0x280)](_0x2d40e3,_0x45b6b9))==null?void 0x0:_0x15a7f8['v'])!==void 0x0?_0x5f5999['getCellRaw'](_0x2d40e3,_0x45b6b9):_0x5f5999[_0x3265e6(0x27b)](_0x2d40e3,_0x45b6b9);if(!_0x35fcbb||_0x35fcbb['v']===void 0x0||_0x35fcbb['v']===null){const _0x308fb6=(_0x2000f9=_0x20d522[_0x3265e6(0x1ef)][_0x3265e6(0x279)])!=null?_0x2000f9:J[_0x3265e6(0x221)];_0x308fb6===J[_0x3265e6(0x26d)]?_0x410bcc=0x0:_0x308fb6===J[_0x3265e6(0x221)]?_0x410bcc=_0x3265e6(0x273):_0x308fb6===J['CONNECT_WITH_LINE']&&(_0x410bcc=_0x3265e6(0x245));}else{if(_0x35fcbb['t']===_0x1dd30f[_0x3265e6(0x218)]||_0x35fcbb['t']===_0x1dd30f[_0x3265e6(0x1d8)]){const _0x3de2e3=(_0x1d93f4=_0x20d522['config'][_0x3265e6(0x239)])!=null?_0x1d93f4:J[_0x3265e6(0x221)];_0x3de2e3===J[_0x3265e6(0x26d)]?_0x410bcc=0x0:_0x3de2e3===J[_0x3265e6(0x221)]?_0x410bcc='u-spacing':_0x3de2e3===J[_0x3265e6(0x1d9)]&&(_0x410bcc=_0x3265e6(0x245));}else _0x35fcbb['t']===_0x1dd30f[_0x3265e6(0x208)]?_0x410bcc=_0x35fcbb['v']?0x1:0x0:_0x35fcbb['t']===_0x1dd30f[_0x3265e6(0x235)]?_0x410bcc=Number(_0x35fcbb['v']):_0x410bcc=_0x35fcbb['v'];}if(_0x63635c['push'](_0x410bcc),typeof _0x410bcc==_0x3265e6(0x25f)){_0x28620d=Math[_0x3265e6(0x267)](_0x28620d,_0x410bcc),_0x2d2847=Math[_0x3265e6(0x267)](_0x2d2847,_0x410bcc),_0x492b53=Math[_0x3265e6(0x22c)](_0x492b53,_0x410bcc),_0x3a9543=Math['min'](_0x3a9543,_0x410bcc);const _0x18eddd=typeof _0x63635c[_0x372819]=='number'?Number(_0x63635c[_0x372819]):Number[_0x3265e6(0x1cf)];_0x410bcc>_0x18eddd&&(_0x372819=_0x63635c[_0x3265e6(0x21e)]-0x1);const _0x39fcf1=typeof _0x63635c[_0x3c5f1d]==_0x3265e6(0x25f)?Number(_0x63635c[_0x3c5f1d]):Number['MAX_SAFE_INTEGER'];_0x410bcc<_0x39fcf1&&(_0x3c5f1d=_0x63635c['length']-0x1),_0x410bcc<0x0&&_0x34c9a5[_0x3265e6(0x242)](_0x63635c[_0x3265e6(0x21e)]-0x1);}}_0x35b817[_0x3265e6(0x27a)](_0x16f60e,_0x433c3a,{'groupId':_0x81f4bb,'data':_0x63635c,'max':_0x28620d,'min':_0x3a9543,'highIndex':_0x372819,'lowIndex':_0x3c5f1d,'negativeIndexes':_0x34c9a5});}}});let _0x4068cb=_0x2d2847;((_0x48ce05=_0x20d522['config'][_0xdf1c32(0x1d4)])==null?void 0x0:_0x48ce05[_0xdf1c32(0x1ec)])===Ee['CUSTOM_EXTREMUM']&&(_0x4068cb=(_0x5553ea=(_0x25d1d5=_0x20d522[_0xdf1c32(0x1ef)][_0xdf1c32(0x1d4)])==null?void 0x0:_0x25d1d5['value'])!=null?_0x5553ea:_0x2d2847);let _0x1d9ba4=_0x492b53;((_0x1f4d1f=_0x20d522[_0xdf1c32(0x1ef)]['extremumMin'])==null?void 0x0:_0x1f4d1f[_0xdf1c32(0x1ec)])===Ee[_0xdf1c32(0x1d5)]&&(_0x1d9ba4=(_0xd28d3f=(_0x1e18a7=_0x20d522[_0xdf1c32(0x1ef)][_0xdf1c32(0x266)])==null?void 0x0:_0x1e18a7[_0xdf1c32(0x1d0)])!=null?_0xd28d3f:_0x492b53);const _0x194123=(_0x124edf=_0x20d522[_0xdf1c32(0x1ef)]['themeType'])!=null?_0x124edf:Xe[_0xdf1c32(0x1fb)],_0x4f12c8=(_0x32017d=(_0xf6e071=_0x20d522[_0xdf1c32(0x1ef)]['seriesColor'])!=null?_0xf6e071:(_0x42c3dd=Le[_0x194123])==null?void 0x0:_0x42c3dd[0x0])!=null?_0x32017d:Le[_0xdf1c32(0x211)][0x0],_0x470a7d=new _0x22a876(_0x4f12c8),_0xc2f86d=_0x470a7d[_0xdf1c32(0x24c)](0.2)[_0xdf1c32(0x1f6)](),_0x641f37=_0x470a7d[_0xdf1c32(0x24c)](0.05)[_0xdf1c32(0x1f6)]();_0x55f421[_0x81f4bb]={'groupMax':_0x2d2847,'groupMin':_0x492b53,'showMax':_0x4068cb,'showMin':_0x1d9ba4,'startGradient':_0xc2f86d,'endGradient':_0x641f37},this['_updateConfig$']['next']({'unitId':_0x51ff06,'subUnitId':_0x1c71bc,'groupId':_0x81f4bb,'config':_0x20d522,'type':_0x155649});}[_0x5e69eb(0x226)](_0x21a6c0,_0x464dce,_0x36e277,_0xec6756){const _0x1d8ddd=_0x5e69eb;this[_0x1d8ddd(0x222)](_0x21a6c0,_0x464dce)['set'](_0x36e277,_0xec6756),this[_0x1d8ddd(0x252)](_0x21a6c0,_0x464dce,_0x36e277,_0x1d8ddd(0x1db));}[_0x5e69eb(0x1c7)](_0x1dd96d,_0x1a33f5,_0x2aeed0,_0x406cad){const _0x3b94ef=_0x5e69eb;var _0x38fb56;const _0x49b1e1=(_0x38fb56=this[_0x3b94ef(0x264)][_0x3b94ef(0x259)](_0x1dd96d))==null?void 0x0:_0x38fb56['get'](_0x1a33f5);_0x2aeed0[_0x3b94ef(0x224)](_0x12fc5f=>{const _0x238d0d=_0x3b94ef;_0x49b1e1!=null&&_0x49b1e1[_0x238d0d(0x253)](_0x12fc5f)&&(_0x49b1e1[_0x238d0d(0x23c)](_0x12fc5f,_0x406cad),this['updateSparklineExtraNum'](_0x1dd96d,_0x1a33f5,_0x12fc5f));});}[_0x5e69eb(0x232)](_0x2cb4d5,_0x3d2b6c,_0x52bbd9){const _0x3ad9d8=_0x5e69eb;var _0x4ccbc1,_0x3bf38e;const _0x5530cf=this[_0x3ad9d8(0x264)][_0x3ad9d8(0x259)](_0x2cb4d5);if(_0x5530cf){const _0x2ad666=_0x5530cf[_0x3ad9d8(0x259)](_0x3d2b6c);if(_0x2ad666){_0x2ad666['delete'](_0x52bbd9);const _0x1992c9=(_0x4ccbc1=this[_0x3ad9d8(0x25a)][_0x3ad9d8(0x259)](_0x2cb4d5))==null?void 0x0:_0x4ccbc1[_0x3ad9d8(0x259)](_0x3d2b6c);(_0x3bf38e=_0x1992c9==null?void 0x0:_0x1992c9[_0x3ad9d8(0x263)])==null||_0x3bf38e[_0x3ad9d8(0x22e)]((_0x461cd5,_0x59deae,_0x594b48)=>{const _0x18f930=_0x3ad9d8;(_0x594b48==null?void 0x0:_0x594b48[_0x18f930(0x27c)])===_0x52bbd9&&(_0x1992c9==null||_0x1992c9['matrix'][_0x18f930(0x1f1)](_0x461cd5,_0x59deae));}),this['_updateConfig$'][_0x3ad9d8(0x1ee)]({'unitId':_0x2cb4d5,'subUnitId':_0x3d2b6c,'groupId':_0x52bbd9,'type':_0x3ad9d8(0x1f9)});}}}[_0x5e69eb(0x202)](_0x15ed3e,_0x350da3,_0x254c23,_0x1e90ad){const _0xd143d5=_0x5e69eb;var _0x1baf84,_0xc13470,_0x48a6ac,_0x573fd9;const _0x58e260=(_0x1baf84=this[_0xd143d5(0x25a)][_0xd143d5(0x259)](_0x15ed3e))==null?void 0x0:_0x1baf84[_0xd143d5(0x259)](_0x350da3),_0x2d6ac9=_0x58e260==null?void 0x0:_0x58e260[_0xd143d5(0x263)]['getValue'](_0x254c23,_0x1e90ad);if(_0x2d6ac9){const {groupId:_0x331f36}=_0x2d6ac9,_0x46bd4c=(_0xc13470=this[_0xd143d5(0x264)][_0xd143d5(0x259)](_0x15ed3e))==null?void 0x0:_0xc13470[_0xd143d5(0x259)](_0x350da3);(_0x48a6ac=_0x46bd4c==null?void 0x0:_0x46bd4c[_0xd143d5(0x259)](_0x331f36))==null||_0x48a6ac[_0xd143d5(0x1f8)][_0xd143d5(0x1f1)](_0x254c23,_0x1e90ad),(_0x573fd9=_0x46bd4c==null?void 0x0:_0x46bd4c[_0xd143d5(0x259)](_0x331f36))!=null&&_0x573fd9[_0xd143d5(0x1f8)]['hasValue']()||_0x46bd4c==null||_0x46bd4c[_0xd143d5(0x201)](_0x331f36),_0x58e260==null||_0x58e260['matrix'][_0xd143d5(0x1f1)](_0x254c23,_0x1e90ad),this[_0xd143d5(0x274)]['next']({'unitId':_0x15ed3e,'subUnitId':_0x350da3,'groupId':_0x331f36,'type':_0xd143d5(0x1f9)});}}[_0x5e69eb(0x241)](_0x15b0bd,_0x4e44aa,_0x441c47){const _0x595325=_0x5e69eb;var _0x10459c,_0x49dd37,_0x30876f,_0x39b017;const _0x5d5731=(_0x30876f=(_0x49dd37=(_0x10459c=this[_0x595325(0x264)][_0x595325(0x259)](_0x15b0bd))==null?void 0x0:_0x10459c[_0x595325(0x259)](_0x4e44aa))==null?void 0x0:_0x49dd37['get'](_0x441c47))==null?void 0x0:_0x30876f[_0x595325(0x1f8)],_0x56b65f=(_0x39b017=this[_0x595325(0x25a)]['get'](_0x15b0bd))==null?void 0x0:_0x39b017[_0x595325(0x259)](_0x4e44aa);if(_0x5d5731&&_0x56b65f){const {matrix:_0xab55cc,extra:_0x5af5af}=_0x56b65f;_0x5d5731[_0x595325(0x22e)]((_0x4fa8e2,_0x39ec57,_0x2bbd4b)=>{const _0x58d38e=_0x595325;_0xab55cc[_0x58d38e(0x1f1)](_0x4fa8e2,_0x39ec57);}),delete _0x5af5af[_0x441c47];}}[_0x5e69eb(0x27e)](_0x7a4f4f,_0x10bc3d){const _0x567d8f=_0x5e69eb;var _0x104182;return(_0x104182=this['_sparklineModel'][_0x567d8f(0x259)](_0x7a4f4f))==null?void 0x0:_0x104182[_0x567d8f(0x259)](_0x10bc3d);}[_0x5e69eb(0x1fa)](_0x157290,_0x6f30c0,_0x18369c){const _0x26c193=_0x5e69eb;var _0xb95360,_0x19f810;return(_0x19f810=(_0xb95360=this[_0x26c193(0x264)]['get'](_0x157290))==null?void 0x0:_0xb95360[_0x26c193(0x259)](_0x6f30c0))==null?void 0x0:_0x19f810['get'](_0x18369c);}[_0x5e69eb(0x1c0)](_0x11aa4b,_0x533287,_0x127d5d,_0x3acf0c){const _0x301237=_0x5e69eb;var _0x5bc218,_0x57f9ad,_0x4c653f;return(_0x4c653f=(_0x57f9ad=(_0x5bc218=this[_0x301237(0x25a)]['get'](_0x11aa4b))==null?void 0x0:_0x5bc218[_0x301237(0x259)](_0x533287))==null?void 0x0:_0x57f9ad['matrix'][_0x301237(0x1e0)](_0x127d5d,_0x3acf0c))==null?void 0x0:_0x4c653f[_0x301237(0x27c)];}[_0x5e69eb(0x27f)](_0x48d2fa,_0x398fbd){const _0x26978b=_0x5e69eb;var _0x2aecbd;const _0x23a456=this[_0x26978b(0x1d1)](_0x48d2fa,_0x398fbd);_0x23a456['matrix']['forValue']((_0x5a4364,_0x228aee,_0x429a8f)=>{const _0x772b54=_0x26978b;_0x23a456[_0x772b54(0x263)][_0x772b54(0x1f1)](_0x5a4364,_0x228aee);});const _0x379cfc=(_0x2aecbd=this[_0x26978b(0x264)][_0x26978b(0x259)](_0x48d2fa))==null?void 0x0:_0x2aecbd['get'](_0x398fbd);if(_0x379cfc){for(const [_0xd7d84c,_0x78a6a9]of _0x379cfc)this[_0x26978b(0x252)](_0x48d2fa,_0x398fbd,_0xd7d84c);}}['getSparklineCache'](){const _0x4d774e=_0x5e69eb;return{'sparklineModel':this[_0x4d774e(0x264)],'sparklineAnchorMap':this[_0x4d774e(0x25a)]};}[_0x5e69eb(0x200)](_0x57a8bb){const _0x37d081=_0x5e69eb,_0x255ccd={};if(this[_0x37d081(0x264)]['has'](_0x57a8bb)){_0x255ccd[_0x57a8bb]={};const _0x50b515=this[_0x37d081(0x264)][_0x37d081(0x259)](_0x57a8bb);_0x50b515!=null&&_0x50b515[_0x37d081(0x1cd)]&&Array[_0x37d081(0x207)](_0x50b515['keys']())[_0x37d081(0x224)](_0x166a16=>{const _0x5aa4e9=_0x37d081;_0x255ccd[_0x57a8bb][_0x166a16]={};const _0x30875a=_0x50b515['get'](_0x166a16);_0x30875a!=null&&_0x30875a[_0x5aa4e9(0x1cd)]&&Array[_0x5aa4e9(0x207)](_0x30875a['keys']())['forEach'](_0x1cdc11=>{const _0x45236d=_0x5aa4e9,_0x4d04b2=_0x30875a['get'](_0x1cdc11);_0x4d04b2&&(_0x255ccd[_0x57a8bb][_0x166a16][_0x1cdc11]={'config':_0x4d04b2['config'],'sparklines':_0x4d04b2[_0x45236d(0x1f8)][_0x45236d(0x21a)]()});});});}return _0x255ccd;}['fromJSON'](_0x51161b){const _0x5dec5f=_0x5e69eb;if(!_0x51161b)return;Object[_0x5dec5f(0x257)](_0x51161b)[_0x5dec5f(0x224)](_0x13da41=>{const _0x328ab9=_0x5dec5f,_0x430eee=_0x51161b[_0x13da41];_0x430eee&&Object['keys'](_0x430eee)[_0x328ab9(0x224)](_0x462453=>{const _0x2cd7e1=_0x328ab9,_0xc8ca83=_0x430eee[_0x462453];_0xc8ca83&&Object[_0x2cd7e1(0x257)](_0xc8ca83)[_0x2cd7e1(0x224)](_0xd55eb5=>{const _0x941ee9=_0x2cd7e1,_0x209875=_0xc8ca83[_0xd55eb5];if(_0x209875){const _0x2f4b75={'config':_0x209875[_0x941ee9(0x1ef)],'sparklines':new _0x1cdca2(_0x209875['sparklines'])};this[_0x941ee9(0x226)](_0x13da41,_0x462453,_0xd55eb5,_0x2f4b75);}});});});}[_0x5e69eb(0x1d6)](_0x5989eb){const _0x348b7e=_0x5e69eb,_0x2ac25d=this[_0x348b7e(0x264)][_0x348b7e(0x259)](_0x5989eb);if(_0x2ac25d){for(const [_0x4fd43f]of _0x2ac25d){const _0x4b8c90=_0x2ac25d['get'](_0x4fd43f);if(_0x4b8c90){for(const [_0x57d6ec]of _0x4b8c90)this[_0x348b7e(0x241)](_0x5989eb,_0x4fd43f,_0x57d6ec);}}this[_0x348b7e(0x264)][_0x348b7e(0x201)](_0x5989eb);}}};x=Vt([yt(0x0,_0xc3cd9b(_0x212016))],x);const V={'id':_0x5e69eb(0x23d),'type':_0x506519['MUTATION'],'handler':(_0x3530db,_0x3311af)=>{const _0x353c76=_0x5e69eb;if(!_0x3311af)return!0x1;const {sparklineConfigMap:_0x1712c1,unitId:_0x3c319f,subUnitId:_0x5f2d20}=_0x3311af,_0x16e5fd=_0x3530db[_0x353c76(0x259)](x);return Object[_0x353c76(0x1dc)](_0x1712c1)['forEach'](([_0xd913a5,_0x177072])=>{const _0x4b1d1e=_0x353c76,_0x541c2a={'config':_0x177072[_0x4b1d1e(0x1ef)],'sparklines':new _0x1cdca2(_0x177072['sparklines'])};_0x16e5fd[_0x4b1d1e(0x226)](_0x3c319f,_0x5f2d20,_0xd913a5,_0x541c2a);}),!0x0;}},y={'id':_0x5e69eb(0x22b),'type':_0x506519[_0x5e69eb(0x1e1)],'handler':(_0x37468a,_0x174395)=>{const _0x4b3ac6=_0x5e69eb;if(!_0x174395)return!0x1;const {unitId:_0x5a38b4,subUnitId:_0x5c63de,ranges:_0x15f9e4,isSingle:_0x2ae8b5,groupIds:_0x36a81b}=_0x174395,_0x59a6b8=_0x37468a[_0x4b3ac6(0x259)](x);return _0x36a81b?(_0x36a81b[_0x4b3ac6(0x224)](_0x3af732=>{const _0x9cf5c0=_0x4b3ac6;_0x59a6b8[_0x9cf5c0(0x232)](_0x5a38b4,_0x5c63de,_0x3af732);}),!0x0):_0x15f9e4?(_0x15f9e4[_0x4b3ac6(0x224)](_0x38b586=>{const _0xfac6cf=_0x4b3ac6;_0x1467b2[_0xfac6cf(0x1ea)](_0x38b586,(_0xd286a9,_0x3eb1cf)=>{const _0xd42d04=_0xfac6cf,_0x23472a=_0x59a6b8['getSparkline'](_0x5a38b4,_0x5c63de,_0xd286a9,_0x3eb1cf);_0x23472a&&(_0x2ae8b5?_0x59a6b8['removePartSparkline'](_0x5a38b4,_0x5c63de,_0xd286a9,_0x3eb1cf):_0x59a6b8[_0xd42d04(0x232)](_0x5a38b4,_0x5c63de,_0x23472a));});}),!0x0):!0x1;}},Nt={'id':_0x5e69eb(0x1e6),'type':_0x506519[_0x5e69eb(0x230)],'handler':(_0x9a9f9d,_0x5d3a3b)=>{const _0x5f1480=_0x5e69eb;if(!_0x5d3a3b)return!0x1;const {sourceRanges:_0x5d5fd7,targetRanges:_0x5d06a6,config:_0x57e75e}=_0x5d3a3b,_0x227fbb=_0x9a9f9d[_0x5f1480(0x259)](_0x132acb),_0x4fa1f2='g_'+_0x26c764(0x6),_0xaae3a4=Fe(_0x5d5fd7,_0x5d06a6),_0x2f64c0={'config':_0x57e75e!=null?_0x57e75e:{},'sparklines':_0xaae3a4[_0x5f1480(0x21a)]()},_0x1b1418=_0x9a9f9d[_0x5f1480(0x259)](_0x212016),_0x5cd933=_0x9a9f9d['get'](x),_0x1ed619=_0x5dbc09(_0x1b1418);if(!_0x1ed619)return!0x1;const {unitId:_0x28b344,subUnitId:_0xf0806d}=_0x1ed619,_0x1ff3c5=_0x9a9f9d['get'](_0x3af335),_0x566b52=[],_0x305ced=[],_0x21fdf3={},_0xaae95={},_0x541853=new Set([_0x4fa1f2]);_0xaae3a4[_0x5f1480(0x22e)]((_0x9888e5,_0x19e64e,_0x5f0895)=>{const _0x515401=_0x5f1480,_0x2ab8db=_0x5cd933['getSparkline'](_0x28b344,_0xf0806d,_0x9888e5,_0x19e64e);if(_0x2ab8db){const _0xe78393=_0x5cd933[_0x515401(0x1fa)](_0x28b344,_0xf0806d,_0x2ab8db);if(_0xe78393){_0x541853[_0x515401(0x1db)](_0x2ab8db);let _0xfb2f68=_0x21fdf3[_0x2ab8db],_0x253e06=_0xaae95[_0x2ab8db];_0x253e06||(_0x253e06={'config':_0x4a95e6[_0x515401(0x236)](_0xe78393[_0x515401(0x1ef)]),'sparklines':new _0x1cdca2(_0xe78393[_0x515401(0x1f8)][_0x515401(0x260)]())},_0xaae95[_0x2ab8db]=_0x253e06),_0xfb2f68||(_0xfb2f68={'config':_0x4a95e6[_0x515401(0x236)](_0xe78393[_0x515401(0x1ef)]),'sparklines':_0xe78393[_0x515401(0x1f8)][_0x515401(0x260)]()},_0x21fdf3[_0x2ab8db]=_0xfb2f68),_0x253e06[_0x515401(0x1f8)]['realDeleteValue'](_0x9888e5,_0x19e64e);}}});const _0x45aa84={};return Object[_0x5f1480(0x1dc)](_0xaae95)['forEach'](([_0x305a1c,_0x548388])=>{const _0x5c16de=_0x5f1480;_0x548388[_0x5c16de(0x1f8)][_0x5c16de(0x249)]()&&(_0x45aa84[_0x305a1c]={'config':_0x548388[_0x5c16de(0x1ef)],'sparklines':_0x548388[_0x5c16de(0x1f8)][_0x5c16de(0x260)]()});}),_0x45aa84[_0x4fa1f2]=_0x2f64c0,_0x566b52['push']({'id':y['id'],'params':{'unitId':_0x28b344,'subUnitId':_0xf0806d,'groupIds':Array[_0x5f1480(0x207)](_0x541853),'isSingle':!0x1}}),_0x541853['size']>0x1&&(_0x305ced['push']({'id':y['id'],'params':{'unitId':_0x28b344,'subUnitId':_0xf0806d,'groupIds':Array[_0x5f1480(0x207)](_0x541853),'isSingle':!0x1}}),_0x566b52[_0x5f1480(0x242)]({'id':V['id'],'params':{'unitId':_0x28b344,'subUnitId':_0xf0806d,'sparklineConfigMap':_0x21fdf3}})),_0x305ced['push']({'id':V['id'],'params':{'unitId':_0x28b344,'subUnitId':_0xf0806d,'sparklineConfigMap':_0x45aa84}}),_0x84db10(_0x305ced,_0x1ff3c5),_0x227fbb['pushUndoRedo']({'unitID':_0x28b344,'undoMutations':_0x566b52,'redoMutations':_0x305ced}),!0x0;}},Ot={'id':_0x5e69eb(0x281),'type':_0x506519['COMMAND'],'handler':(_0xd65769,_0xbc6351)=>{const _0x4929a5=_0x5e69eb;var _0x3889d4;const {isSingle:_0x29b675=!0x0}=_0xbc6351||{},_0x13cca8=_0xd65769[_0x4929a5(0x259)](_0x3af335),_0x547f6e=_0xd65769[_0x4929a5(0x259)](_0x212016),_0x230863=_0xd65769[_0x4929a5(0x259)](x),_0x444614=_0xd65769[_0x4929a5(0x259)](_0x132acb),_0x2551b7=_0x5dbc09(_0x547f6e);if(!_0x2551b7)return!0x1;const _0x50f7d3=_0xd65769['get'](_0x2d9984),_0x56c376=(_0x3889d4=_0xbc6351==null?void 0x0:_0xbc6351[_0x4929a5(0x1c4)])!=null?_0x3889d4:_0x50f7d3[_0x4929a5(0x237)]()[_0x4929a5(0x1c8)](_0x331b87=>_0x331b87[_0x4929a5(0x24b)]),{unitId:_0x98d355,subUnitId:_0x1b42dc}=_0x2551b7,_0x54d303=[],_0x1c37d0=[];_0x54d303[_0x4929a5(0x242)]({'id':y['id'],'params':{'unitId':_0x98d355,'subUnitId':_0x1b42dc,'ranges':_0x56c376,'isSingle':_0x29b675}});const _0x9d2d0c=[],_0x13325a={};return _0x56c376['forEach'](_0x45ad27=>{_0x1467b2['foreach'](_0x45ad27,(_0x2d35a2,_0x128cb7)=>{const _0x1d385c=_0x32d1,_0x5cdc53=_0x230863['getSparkline'](_0x98d355,_0x1b42dc,_0x2d35a2,_0x128cb7);if(_0x5cdc53){const _0x23b942=_0x230863[_0x1d385c(0x1fa)](_0x98d355,_0x1b42dc,_0x5cdc53);_0x23b942&&(_0x9d2d0c[_0x1d385c(0x242)](_0x5cdc53),_0x13325a[_0x5cdc53]={'config':_0x4a95e6[_0x1d385c(0x236)](_0x23b942[_0x1d385c(0x1ef)]),'sparklines':_0x4a95e6['deepClone'](_0x23b942[_0x1d385c(0x1f8)][_0x1d385c(0x260)]())});}});}),_0x1c37d0[_0x4929a5(0x242)]({'id':y['id'],'params':{'unitId':_0x98d355,'subUnitId':_0x1b42dc,'groupIds':_0x9d2d0c,'isSingle':!0x1}}),_0x1c37d0[_0x4929a5(0x242)]({'id':V['id'],'params':{'unitId':_0x98d355,'subUnitId':_0x1b42dc,'sparklineConfigMap':_0x13325a}}),_0x84db10(_0x54d303,_0x13cca8),_0x444614['pushUndoRedo']({'unitID':_0x98d355,'undoMutations':_0x1c37d0,'redoMutations':_0x54d303}),!0x0;}},Oe={'id':_0x5e69eb(0x277),'type':_0x506519[_0x5e69eb(0x1e1)],'handler':(_0x2547d2,_0x1798be)=>{const _0x4fb646=_0x5e69eb;if(!_0x1798be)return!0x1;const {unitId:_0x21d167,subUnitId:_0x2fab3b,groupIds:_0x5e19fb,config:_0x10a5ad}=_0x1798be,_0x3e4ff0=_0x2547d2[_0x4fb646(0x259)](x);return _0x5e19fb[_0x4fb646(0x224)](_0x1e5473=>{const _0x8610=_0x4fb646,_0xc3e45f=_0x3e4ff0['getSparklineById'](_0x21d167,_0x2fab3b,_0x1e5473);if(_0xc3e45f){const _0x4e08a9={'config':Object[_0x8610(0x268)]({},_0xc3e45f[_0x8610(0x1ef)],_0x10a5ad[_0x8610(0x1ef)]),'sparklines':new _0x1cdca2(_0xc3e45f[_0x8610(0x1f8)]['clone']())};_0x3e4ff0['setSparkline'](_0x21d167,_0x2fab3b,[_0x1e5473],_0x4e08a9);}}),!0x0;}},xt={'id':_0x5e69eb(0x272),'type':_0x506519[_0x5e69eb(0x230)],'handler':(_0x541ab1,_0x14693a)=>{const _0x36d434=_0x5e69eb;var _0x37dc77,_0x2a197a,_0x668e86,_0x436a64;if(!_0x14693a)return!0x1;const _0x54c275=_0x541ab1[_0x36d434(0x259)](_0x3af335),_0x4563f4=_0x541ab1[_0x36d434(0x259)](_0x2d9984),_0x2fba9a=_0x541ab1[_0x36d434(0x259)](x),_0xd3f2f6=_0x541ab1[_0x36d434(0x259)](_0x212016),_0x672e0f=_0x541ab1['get'](_0x132acb),_0x3c46aa=_0x5dbc09(_0xd3f2f6);if(!_0x3c46aa)return!0x1;const {unitId:_0x392c2e,subUnitId:_0x5862ed}=_0x3c46aa,_0xf305=(_0x37dc77=_0x14693a==null?void 0x0:_0x14693a['ranges'])!=null?_0x37dc77:_0x4563f4[_0x36d434(0x237)]()[_0x36d434(0x1c8)](_0x59f4b1=>_0x59f4b1['range']),_0x4c59a6=(_0x2a197a=_0x2fba9a['getSparklineCache']()[_0x36d434(0x1d7)][_0x36d434(0x259)](_0x392c2e))==null?void 0x0:_0x2a197a['get'](_0x5862ed),{isChangeDataSource:_0x4f0075,config:_0x26e6c7,combine:_0x4691d7,unCombine:_0x2dedff}=_0x14693a;if(_0x4691d7){const _0x3fabd3=[],_0x21f200=[];_0x3fabd3[_0x36d434(0x242)]({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'ranges':_0xf305,'isSingle':!0x0}});const _0x47c703='g_'+_0x26c764(0x6),_0x434ae4=new _0x1cdca2(),_0x2c5019=(_0x668e86=_0x2fba9a[_0x36d434(0x217)]()[_0x36d434(0x1ce)][_0x36d434(0x259)](_0x392c2e))==null?void 0x0:_0x668e86[_0x36d434(0x259)](_0x5862ed),_0x369951=new Set([_0x47c703]),_0x46cc94={};return _0xf305[_0x36d434(0x224)](_0x4a9c48=>{const _0x1c5cc6=_0x36d434;var _0x1d95e3,_0x5f12b6;const {startRow:_0x33c983,endRow:_0x3d1322,startColumn:_0x799075,endColumn:_0x1e4b62}=_0x4a9c48;for(let _0x3a3fd6=_0x33c983;_0x3a3fd6<=_0x3d1322;_0x3a3fd6++)for(let _0x51a3dc=_0x799075;_0x51a3dc<=_0x1e4b62;_0x51a3dc++){const _0x47eb5a=(_0x1d95e3=_0x4c59a6==null?void 0x0:_0x4c59a6[_0x1c5cc6(0x263)]['getValue'](_0x3a3fd6,_0x51a3dc))==null?void 0x0:_0x1d95e3[_0x1c5cc6(0x27c)];if(_0x47eb5a){_0x369951[_0x1c5cc6(0x1db)](_0x47eb5a);const _0x81cab0=_0x2fba9a[_0x1c5cc6(0x1fa)](_0x392c2e,_0x5862ed,_0x47eb5a);_0x81cab0&&(_0x46cc94[_0x47eb5a]={'config':_0x4a95e6[_0x1c5cc6(0x236)](_0x81cab0[_0x1c5cc6(0x1ef)]),'sparklines':_0x4a95e6[_0x1c5cc6(0x236)](_0x81cab0[_0x1c5cc6(0x1f8)][_0x1c5cc6(0x260)]())});const _0x5abf69=(_0x5f12b6=_0x2c5019==null?void 0x0:_0x2c5019[_0x1c5cc6(0x259)](_0x47eb5a))==null?void 0x0:_0x5f12b6['sparklines'][_0x1c5cc6(0x1e0)](_0x3a3fd6,_0x51a3dc);_0x5abf69&&_0x434ae4[_0x1c5cc6(0x27a)](_0x3a3fd6,_0x51a3dc,_0x5abf69);}}}),_0x3fabd3[_0x36d434(0x242)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x47c703]:{'config':_0x4a95e6[_0x36d434(0x236)](_0x26e6c7[_0x36d434(0x1ef)]),'sparklines':_0x434ae4[_0x36d434(0x21a)]()}},'unitId':_0x392c2e,'subUnitId':_0x5862ed}}),_0x21f200['push']({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'isSingle':!0x1,'groupIds':Array[_0x36d434(0x207)](_0x369951)}}),_0x21f200['push']({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':_0x46cc94}}),_0x84db10(_0x3fabd3,_0x54c275),_0x672e0f[_0x36d434(0x233)]({'unitID':_0x392c2e,'undoMutations':_0x21f200,'redoMutations':_0x3fabd3}),!0x0;}else{if(_0x2dedff){const _0x2ea6fd=[],_0x37c721=[];_0x2ea6fd[_0x36d434(0x242)]({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'ranges':_0xf305,'isSingle':!0x0}});const _0x1ac7f8=(_0x436a64=_0x2fba9a[_0x36d434(0x217)]()['sparklineModel'][_0x36d434(0x259)](_0x392c2e))==null?void 0x0:_0x436a64[_0x36d434(0x259)](_0x5862ed),_0x15884e={},_0x43a0e9=new Set(),_0x10536c={};return _0xf305[_0x36d434(0x224)](_0x332d2a=>{const _0x4428bb=_0x36d434;var _0xeb13cd,_0x447b6b;const {startRow:_0x7858bf,endRow:_0x131619,startColumn:_0x2a6310,endColumn:_0x5c83c9}=_0x332d2a;for(let _0x527a62=_0x7858bf;_0x527a62<=_0x131619;_0x527a62++)for(let _0xc978dc=_0x2a6310;_0xc978dc<=_0x5c83c9;_0xc978dc++){const _0x2d389e=(_0xeb13cd=_0x4c59a6==null?void 0x0:_0x4c59a6[_0x4428bb(0x263)][_0x4428bb(0x1e0)](_0x527a62,_0xc978dc))==null?void 0x0:_0xeb13cd[_0x4428bb(0x27c)];if(_0x2d389e){const _0x78f021=new _0x1cdca2(),_0x49acfd='g_'+_0x26c764(0x6);_0x43a0e9[_0x4428bb(0x1db)](_0x2d389e),_0x43a0e9['add'](_0x49acfd);const _0x437a2f=_0x2fba9a['getSparklineById'](_0x392c2e,_0x5862ed,_0x2d389e);_0x437a2f&&(_0x10536c[_0x2d389e]={'config':_0x4a95e6['deepClone'](_0x437a2f['config']),'sparklines':_0x4a95e6[_0x4428bb(0x236)](_0x437a2f[_0x4428bb(0x1f8)]['clone']())});const _0x513caa=(_0x447b6b=_0x1ac7f8==null?void 0x0:_0x1ac7f8['get'](_0x2d389e))==null?void 0x0:_0x447b6b['sparklines'][_0x4428bb(0x1e0)](_0x527a62,_0xc978dc);_0x513caa&&_0x78f021[_0x4428bb(0x27a)](_0x527a62,_0xc978dc,_0x513caa),_0x15884e[_0x49acfd]={'sparklines':_0x78f021['getMatrix'](),'config':_0x4a95e6[_0x4428bb(0x236)](_0x26e6c7[_0x4428bb(0x1ef)])};}}}),_0x2ea6fd['push']({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':_0x15884e}}),_0x37c721[_0x36d434(0x242)]({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'isSingle':!0x1,'groupIds':Array['from'](_0x43a0e9)}}),_0x37c721[_0x36d434(0x242)]({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':_0x10536c}}),_0x84db10(_0x2ea6fd,_0x54c275),_0x672e0f[_0x36d434(0x233)]({'unitID':_0x392c2e,'undoMutations':_0x37c721,'redoMutations':_0x2ea6fd}),!0x0;}}if(_0x4f0075){const _0x33bd15=_0x14693a[_0x36d434(0x23a)];if(!_0x33bd15)return!0x1;const {groupId:_0x2d78e4,sourceRanges:_0x2f2c63,targetRanges:_0x3ab469,resetType:_0x22a387,primary:_0x1425b2}=_0x33bd15,_0x53e652=[],_0x70591a=[];_0x53e652[_0x36d434(0x242)]({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'ranges':_0xf305,'isSingle':!0x1,'groupIds':[_0x2d78e4]}}),_0x70591a[_0x36d434(0x242)]({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'ranges':_0xf305,'isSingle':!0x1,'groupIds':[_0x2d78e4]}});let _0x30f1f0;_0x22a387===_0x36d434(0x256)?(_0x30f1f0=new _0x1cdca2(_0x26e6c7[_0x36d434(0x1f8)][_0x36d434(0x260)]()),_0x30f1f0[_0x36d434(0x1f1)](_0x1425b2['actualRow'],_0x1425b2[_0x36d434(0x1f0)]),_0x30f1f0[_0x36d434(0x27a)](_0x3ab469[0x0]['startRow'],_0x3ab469[0x0][_0x36d434(0x1ff)],_0x2f2c63[0x0])):_0x30f1f0=Fe(_0x2f2c63,_0x3ab469);const _0x410916={'config':_0x4a95e6[_0x36d434(0x236)](_0x26e6c7[_0x36d434(0x1ef)]),'sparklines':_0x30f1f0[_0x36d434(0x21a)]()},_0x5c7ae3={'config':_0x4a95e6[_0x36d434(0x236)](_0x26e6c7[_0x36d434(0x1ef)]),'sparklines':_0x4a95e6[_0x36d434(0x236)](_0x26e6c7[_0x36d434(0x1f8)][_0x36d434(0x260)]())};_0x53e652[_0x36d434(0x242)]({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':{[_0x2d78e4]:_0x410916}}}),_0x70591a[_0x36d434(0x242)]({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':{[_0x2d78e4]:_0x5c7ae3}}}),_0x84db10(_0x53e652,_0x54c275),_0x672e0f['pushUndoRedo']({'unitID':_0x392c2e,'undoMutations':_0x70591a,'redoMutations':_0x53e652});}else{const _0x8b278f=[],_0x540f99=[],_0x250ab8=new Set(),_0x2c3888={};_0xf305[_0x36d434(0x224)](_0x102097=>{const _0x515848=_0x36d434;var _0x5d3b0c;const {startRow:_0x4c4636,endRow:_0x3ece5c,startColumn:_0x625cad,endColumn:_0x49798b}=_0x102097;for(let _0x490d8c=_0x4c4636;_0x490d8c<=_0x3ece5c;_0x490d8c++)for(let _0x2cf309=_0x625cad;_0x2cf309<=_0x49798b;_0x2cf309++){const _0x3d32c5=(_0x5d3b0c=_0x4c59a6==null?void 0x0:_0x4c59a6[_0x515848(0x263)]['getValue'](_0x490d8c,_0x2cf309))==null?void 0x0:_0x5d3b0c[_0x515848(0x27c)];if(_0x3d32c5){_0x250ab8[_0x515848(0x1db)](_0x3d32c5);const _0x448a3c=_0x2fba9a[_0x515848(0x1fa)](_0x392c2e,_0x5862ed,_0x3d32c5);_0x448a3c&&(_0x2c3888[_0x3d32c5]={'config':_0x4a95e6['deepClone'](_0x448a3c[_0x515848(0x1ef)]),'sparklines':_0x4a95e6['deepClone'](_0x448a3c[_0x515848(0x1f8)][_0x515848(0x260)]())});}}}),_0x540f99[_0x36d434(0x242)]({'id':Oe['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'groupIds':Array[_0x36d434(0x207)](_0x250ab8),'config':{'config':_0x4a95e6[_0x36d434(0x236)](_0x26e6c7[_0x36d434(0x1ef)]),'sparklines':_0x26e6c7[_0x36d434(0x1f8)][_0x36d434(0x21a)]()}}}),_0x8b278f['push']({'id':y['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'isSingle':!0x1,'groupIds':Array['from'](_0x250ab8)}}),_0x8b278f[_0x36d434(0x242)]({'id':V['id'],'params':{'unitId':_0x392c2e,'subUnitId':_0x5862ed,'sparklineConfigMap':_0x2c3888}}),_0x84db10(_0x540f99,_0x54c275),_0x672e0f['pushUndoRedo']({'unitID':_0x392c2e,'undoMutations':_0x8b278f,'redoMutations':_0x540f99});}return!0x0;}};var Ut=Object[_0x5e69eb(0x24a)],Pt=(_0x4685ac,_0x5ed04c,_0x4c4cf1,_0x1ce185)=>{const _0x3039e2=_0x5e69eb;for(var _0x3aca9d=_0x1ce185>0x1?void 0x0:_0x1ce185?Ut(_0x5ed04c,_0x4c4cf1):_0x5ed04c,_0x545875=_0x4685ac[_0x3039e2(0x21e)]-0x1,_0x2a22fb;_0x545875>=0x0;_0x545875--)(_0x2a22fb=_0x4685ac[_0x545875])&&(_0x3aca9d=_0x2a22fb(_0x3aca9d)||_0x3aca9d);return _0x3aca9d;},ge=(_0x248ae0,_0x525d38)=>(_0x296e74,_0x51fcde)=>_0x525d38(_0x296e74,_0x51fcde,_0x248ae0);let Se=class extends _0x5140fe{constructor(_0x18c053,_0x51885b,_0x10ef01,_0x26cf76){const _0x477d66=_0x5e69eb;super(),this[_0x477d66(0x223)]=_0x18c053,this[_0x477d66(0x231)]=_0x51885b,this[_0x477d66(0x1eb)]=_0x10ef01,this['_sheetSelectionService']=_0x26cf76,this[_0x477d66(0x227)]();}['_initClearWithSparkline'](){const _0x1131a9=_0x5e69eb;this[_0x1131a9(0x1bc)](this[_0x1131a9(0x231)][_0x1131a9(0x1d3)]({'getMutations':_0x7e0a60=>{const _0x438a29=_0x1131a9,_0x704716=[],_0x1e8a53=[];if(_0x7e0a60['id']===_0x56311e['id']){const _0x8fe7a5=_0x5dbc09(this[_0x438a29(0x1eb)]);if(!_0x8fe7a5)return{'redos':_0x704716,'undos':_0x1e8a53};const {unitId:_0x536505,subUnitId:_0x1ba3be,worksheet:_0xd7166b}=_0x8fe7a5,_0x2fbdb8=this[_0x438a29(0x1de)][_0x438a29(0x237)]()['map'](_0x3930ba=>_0x3930ba['range']),_0x276d9b=new Set(),_0x5c89bd={},_0x5f0e0c={};_0x2fbdb8[_0x438a29(0x224)](_0x154df8=>{_0x1467b2['foreach'](_0x154df8,(_0x4eb237,_0x4a17b7)=>{const _0xb4866b=_0x32d1,_0x2951b5=this[_0xb4866b(0x223)][_0xb4866b(0x1c0)](_0x536505,_0x1ba3be,_0x4eb237,_0x4a17b7);if(_0x2951b5&&!_0x276d9b[_0xb4866b(0x253)](_0x2951b5)){const _0x2fbebc=this['_sparklineDataSourceModel'][_0xb4866b(0x1fa)](_0x536505,_0x1ba3be,_0x2951b5);_0x2fbebc&&(_0x276d9b['add'](_0x2951b5),_0x5c89bd[_0x2951b5]={'config':_0x4a95e6['deepClone'](_0x2fbebc['config']),'sparklines':_0x4a95e6[_0xb4866b(0x236)](_0x2fbebc[_0xb4866b(0x1f8)][_0xb4866b(0x260)]())},_0x5f0e0c[_0x2951b5]={'config':_0x4a95e6[_0xb4866b(0x236)](_0x2fbebc['config']),'sparklines':_0x4a95e6[_0xb4866b(0x236)](_0x2fbebc['sparklines'][_0xb4866b(0x260)]())});}});}),Object[_0x438a29(0x24f)](_0x5f0e0c)[_0x438a29(0x224)](_0x26002b=>{const _0x328c4e=_0x438a29,_0x4e4a8d=_0x26002b[_0x328c4e(0x1f8)];new _0x1cdca2(_0x4e4a8d)[_0x328c4e(0x22e)]((_0x460235,_0x578bac,_0x3105c9)=>{const _0x3f5c33=_0x328c4e;_0x2fbdb8['some'](_0x1a0493=>_0x4c6abe[_0x3f5c33(0x1e2)](_0x1a0493,_0x1080f8(_0x460235,_0x578bac)))&&delete _0x4e4a8d[_0x460235][_0x578bac];});}),_0x704716[_0x438a29(0x242)]({'id':y['id'],'params':{'unitId':_0x536505,'subUnitId':_0x1ba3be,'groupIds':Array[_0x438a29(0x207)](_0x276d9b),'isSingle':!0x1}}),_0x704716['push']({'id':V['id'],'params':{'unitId':_0x536505,'subUnitId':_0x1ba3be,'sparklineConfigMap':_0x5f0e0c}}),_0x1e8a53[_0x438a29(0x242)]({'id':y['id'],'params':{'unitId':_0x536505,'subUnitId':_0x1ba3be,'groupIds':Array['from'](_0x276d9b),'isSingle':!0x1}}),_0x1e8a53[_0x438a29(0x242)]({'id':V['id'],'params':{'unitId':_0x536505,'subUnitId':_0x1ba3be,'sparklineConfigMap':_0x5c89bd}});}return{'redos':_0x704716,'undos':_0x1e8a53};}}));}};Se=Pt([ge(0x0,_0xc3cd9b(x)),ge(0x1,_0xc3cd9b(_0x59b799)),ge(0x2,_0xc3cd9b(_0x212016)),ge(0x3,_0xc3cd9b(_0x2d9984))],Se);var Tt=Object[_0x5e69eb(0x24a)],$t=(_0x11ee1f,_0x53bf3c,_0x2434cc,_0x179c45)=>{const _0x48fa4a=_0x5e69eb;for(var _0x16c5c4=_0x179c45>0x1?void 0x0:_0x179c45?Tt(_0x53bf3c,_0x2434cc):_0x53bf3c,_0x4796ac=_0x11ee1f[_0x48fa4a(0x21e)]-0x1,_0x20e42e;_0x4796ac>=0x0;_0x4796ac--)(_0x20e42e=_0x11ee1f[_0x4796ac])&&(_0x16c5c4=_0x20e42e(_0x16c5c4)||_0x16c5c4);return _0x16c5c4;},Ge=(_0x4a668b,_0x36844e)=>(_0x28d3b8,_0x368d33)=>_0x36844e(_0x28d3b8,_0x368d33,_0x4a668b);let ke=class extends _0x5140fe{constructor(_0x2f56e5,_0x111822){const _0x369847=_0x5e69eb;super(),this[_0x369847(0x231)]=_0x2f56e5,this[_0x369847(0x223)]=_0x111822,this[_0x369847(0x1f3)]();}[_0x5e69eb(0x1f3)](){const _0x511909=_0x5e69eb;this['disposeWithMe'](this[_0x511909(0x231)]['interceptCommand']({'getMutations':_0xe54edb=>{const _0x59b82c=_0x511909,_0x2c9502=[],_0x127ba3=[];if(_0xe54edb['id']===_0x5374c2['id']){const _0x53c6a2=_0xe54edb[_0x59b82c(0x282)];if(!_0x53c6a2)return{'redos':_0x2c9502,'undos':_0x127ba3};const {unitId:_0x51f42f,subUnitId:_0x1a1449,targetSubUnitId:_0x4a2466}=_0x53c6a2;if(!_0x51f42f||!_0x1a1449||!_0x4a2466)return{'redos':_0x2c9502,'undos':_0x127ba3};const _0x216567=new Set(),_0x292407={},_0x40c335=this['_sparklineDataSourceModel'][_0x59b82c(0x27e)](_0x51f42f,_0x1a1449);if(!_0x40c335)return{'redos':_0x2c9502,'undos':_0x127ba3};for(const [_0x200b38,_0x479501]of _0x40c335){const _0x58dc13='g_'+_0x26c764(0x6);_0x216567[_0x59b82c(0x1db)](_0x200b38),_0x292407[_0x58dc13]={'config':_0x4a95e6[_0x59b82c(0x236)](_0x479501[_0x59b82c(0x1ef)]),'sparklines':_0x4a95e6[_0x59b82c(0x236)](_0x479501[_0x59b82c(0x1f8)][_0x59b82c(0x260)]())};}_0x216567['size']&&(_0x127ba3[_0x59b82c(0x242)]({'id':y['id'],'params':{'unitId':_0x51f42f,'subUnitId':_0x4a2466,'groupIds':Array['from'](_0x216567),'isSingle':!0x1}}),_0x2c9502['push']({'id':V['id'],'params':{'unitId':_0x51f42f,'subUnitId':_0x4a2466,'sparklineConfigMap':_0x292407}}));}return{'redos':_0x2c9502,'undos':_0x127ba3};}}));}};ke=$t([Ge(0x0,_0xc3cd9b(_0x59b799)),Ge(0x1,_0xc3cd9b(x))],ke);var jt=Object[_0x5e69eb(0x24a)],Lt=(_0x4a8f3b,_0x28ef6a,_0x1f5637,_0x580793)=>{const _0x658424=_0x5e69eb;for(var _0x32e816=_0x580793>0x1?void 0x0:_0x580793?jt(_0x28ef6a,_0x1f5637):_0x28ef6a,_0x1ab166=_0x4a8f3b[_0x658424(0x21e)]-0x1,_0x1886a4;_0x1ab166>=0x0;_0x1ab166--)(_0x1886a4=_0x4a8f3b[_0x1ab166])&&(_0x32e816=_0x1886a4(_0x32e816)||_0x32e816);return _0x32e816;},be=(_0x516bfc,_0x57a462)=>(_0x3f7d39,_0xe07894)=>_0x57a462(_0x3f7d39,_0xe07894,_0x516bfc);let me=class extends _0x5140fe{constructor(_0x4a4acd,_0x507ee2,_0x6aaf48){const _0x4b1306=_0x5e69eb;super(),this[_0x4b1306(0x23e)]=_0x4a4acd,this[_0x4b1306(0x223)]=_0x507ee2,this['_exclusiveRangeService']=_0x6aaf48,this[_0x4b1306(0x1e7)](),this[_0x4b1306(0x20a)]();}[_0x5e69eb(0x1e7)](){const _0x5b5cce=_0x5e69eb;this[_0x5b5cce(0x1bc)](this[_0x5b5cce(0x23e)][_0x5b5cce(0x258)](_0x4ad8d2=>{const _0x5579bb=_0x5b5cce;if(_0x4ad8d2['id']===_0x108d05['id']){const _0x2b8057=_0x4ad8d2[_0x5579bb(0x282)],{cellValue:_0x4d7b35,unitId:_0x49cfbf,subUnitId:_0xa9edef}=_0x2b8057,_0x5e49cf=new _0x1cdca2(_0x4d7b35),_0x2ac5c3=new Set(),_0x1367f0=this[_0x5579bb(0x223)]['getSubUnitSparkline'](_0x49cfbf,_0xa9edef);if(!_0x1367f0)return;const _0x517daa=Array[_0x5579bb(0x207)](_0x1367f0);_0x5e49cf[_0x5579bb(0x22e)]((_0x1b30af,_0x263ace,_0x1b9927)=>{const _0x33d096=_0x5579bb,_0x48d4b9=_0x1080f8(_0x1b30af,_0x263ace);for(let _0x31287a=0x0;_0x31287a<_0x517daa[_0x33d096(0x21e)];_0x31287a++){const [_0x3ec465,_0x31ba95]=_0x517daa[_0x31287a],_0x1b9a1c=_0x2ac5c3[_0x33d096(0x253)](_0x3ec465);_0x1b9a1c||_0x31ba95[_0x33d096(0x1f8)][_0x33d096(0x22e)]((_0xff4aba,_0x27e5b8,_0x889ca8)=>{const _0x56fa35=_0x33d096,_0x1e3cfb=_0x889ca8;if(_0x1e3cfb&&!_0x1b9a1c&&_0x4c6abe['intersects'](_0x48d4b9,_0x1e3cfb))return _0x2ac5c3[_0x56fa35(0x1db)](_0x3ec465),!0x0;});}}),_0x2ac5c3[_0x5579bb(0x224)](_0x288cf6=>{const _0x5bd516=_0x5579bb;this['_sparklineDataSourceModel'][_0x5bd516(0x241)](_0x49cfbf,_0xa9edef,_0x288cf6),this[_0x5bd516(0x223)][_0x5bd516(0x252)](_0x49cfbf,_0xa9edef,_0x288cf6);});}else{if(_0x4ad8d2['id']===_0x2afd1f['id']){const _0x4eb293=_0x4ad8d2[_0x5579bb(0x282)],{range:_0x430857,unitId:_0x496669,subUnitId:_0x1e06c9}=_0x4eb293,_0x558124=new Set(),_0x21a339=this[_0x5579bb(0x223)][_0x5579bb(0x27e)](_0x496669,_0x1e06c9);if(!_0x21a339)return;const _0x2f7d30=Array['from'](_0x21a339);for(let _0x4f4fe3=0x0;_0x4f4fe3<_0x2f7d30['length'];_0x4f4fe3++){const [_0xe45193,_0x447903]=_0x2f7d30[_0x4f4fe3],_0x40e8a4=_0x558124[_0x5579bb(0x253)](_0xe45193);_0x40e8a4||_0x447903['sparklines'][_0x5579bb(0x22e)]((_0x584667,_0x30becb,_0x11cf95)=>{const _0x2267ec=_0x5579bb,_0x3e9fd4=_0x11cf95;if(_0x3e9fd4&&!_0x40e8a4&&_0x4c6abe[_0x2267ec(0x1e2)](_0x430857,_0x3e9fd4))return _0x558124[_0x2267ec(0x1db)](_0xe45193),!0x0;});}_0x558124[_0x5579bb(0x224)](_0xa16831=>{const _0x113132=_0x5579bb;this['_sparklineDataSourceModel'][_0x113132(0x241)](_0x496669,_0x1e06c9,_0xa16831),this[_0x113132(0x223)][_0x113132(0x252)](_0x496669,_0x1e06c9,_0xa16831);});}}}));}[_0x5e69eb(0x20a)](){const _0x8861d8=_0x5e69eb;this[_0x8861d8(0x1bc)](this[_0x8861d8(0x213)][_0x8861d8(0x240)][_0x8861d8(0x1c6)](_0x41b2de=>{const _0x4b121f=_0x8861d8,{unitId:_0x4ac5d6,subUnitId:_0x49e402,ranges:_0x337b70}=_0x41b2de,_0x5a78e0=this[_0x4b121f(0x223)][_0x4b121f(0x27e)](_0x4ac5d6,_0x49e402);if(!_0x5a78e0)return;const _0x5acee8=Array[_0x4b121f(0x207)](_0x5a78e0),_0x504a68=new Set();for(let _0x1e1120=0x0;_0x1e1120<_0x5acee8[_0x4b121f(0x21e)];_0x1e1120++){const [_0x12cc46,_0x2c140b]=_0x5acee8[_0x1e1120],_0x55e965=_0x504a68[_0x4b121f(0x253)](_0x12cc46);_0x55e965||_0x2c140b[_0x4b121f(0x1f8)][_0x4b121f(0x22e)]((_0x37b891,_0x4c97b2,_0x10f2c9)=>{const _0x286f88=_0x4b121f,_0x55de63=_0x10f2c9;if(_0x55de63&&!_0x55e965){for(const _0x1f91a6 of _0x337b70)if(_0x4c6abe[_0x286f88(0x1e2)](_0x1f91a6,_0x55de63)){_0x504a68[_0x286f88(0x1db)](_0x12cc46);break;}}});}_0x504a68[_0x4b121f(0x224)](_0x10959f=>{const _0x384da4=_0x4b121f;this['_sparklineDataSourceModel'][_0x384da4(0x241)](_0x4ac5d6,_0x49e402,_0x10959f),this['_sparklineDataSourceModel'][_0x384da4(0x252)](_0x4ac5d6,_0x49e402,_0x10959f);});}));}};me=Lt([be(0x0,_0xc3cd9b(_0x3af335)),be(0x1,_0xc3cd9b(x)),be(0x2,_0xc3cd9b(_0x50ff97))],me);var Gt=Object['getOwnPropertyDescriptor'],Wt=(_0x1d7957,_0x51cacd,_0x1ac566,_0x2652df)=>{const _0x483aef=_0x5e69eb;for(var _0x379187=_0x2652df>0x1?void 0x0:_0x2652df?Gt(_0x51cacd,_0x1ac566):_0x51cacd,_0x436a15=_0x1d7957[_0x483aef(0x21e)]-0x1,_0x1bc76c;_0x436a15>=0x0;_0x436a15--)(_0x1bc76c=_0x1d7957[_0x436a15])&&(_0x379187=_0x1bc76c(_0x379187)||_0x379187);return _0x379187;},We=(_0x1874d5,_0x35660c)=>(_0x5cade6,_0x5d7d16)=>_0x35660c(_0x5cade6,_0x5d7d16,_0x1874d5);let Ce=class extends _0x5140fe{constructor(_0x5e05ae,_0x530901){const _0x20c57=_0x5e69eb;super(),this[_0x20c57(0x23e)]=_0x5e05ae,this[_0x20c57(0x223)]=_0x530901,this[_0x20c57(0x1d2)]();}[_0x5e69eb(0x1d2)](){const _0x5db503=_0x5e69eb;this[_0x5db503(0x23e)][_0x5db503(0x258)](_0x426b5b=>{const _0x40dc58=_0x5db503;if(_0x426b5b['id']===_0x5995bd['id']||_0x426b5b['id']===_0x41e12d['id']||_0x426b5b['id']===_0x2cdd8c['id']||_0x426b5b['id']===_0x3c9ad0['id']){const _0x1c198c=_0x426b5b['params'],{ranges:_0x2ae136,unitId:_0x1541cf,subUnitId:_0x2adecb}=_0x1c198c,_0x1fe1c8=new Set(),_0xbcf45a=this['_sparklineDataSourceModel'][_0x40dc58(0x27e)](_0x1541cf,_0x2adecb);if(!_0xbcf45a)return;const _0x3c4062=Array[_0x40dc58(0x207)](_0xbcf45a);_0x2ae136[_0x40dc58(0x224)](_0x33139c=>{const _0xad956b=_0x40dc58;_0x1467b2[_0xad956b(0x1ea)](_0x33139c,(_0x2d8af0,_0x4dae01)=>{const _0x583d1f=_0xad956b,_0x2b4349=_0x1080f8(_0x2d8af0,_0x4dae01);for(let _0x2278ba=0x0;_0x2278ba<_0x3c4062[_0x583d1f(0x21e)];_0x2278ba++){const [_0x3a957a,_0x73f572]=_0x3c4062[_0x2278ba],_0xe71257=_0x1fe1c8[_0x583d1f(0x253)](_0x3a957a);_0xe71257||_0x73f572[_0x583d1f(0x1f8)][_0x583d1f(0x22e)]((_0x15efa7,_0x5b5852,_0x2b4f28)=>{const _0x56b372=_0x583d1f,_0x3e1eba=_0x2b4f28;if(_0x3e1eba&&!_0xe71257&&_0x4c6abe['intersects'](_0x2b4349,_0x3e1eba))return _0x1fe1c8[_0x56b372(0x1db)](_0x3a957a),!0x0;});}});}),_0x1fe1c8[_0x40dc58(0x224)](_0x3208bd=>{const _0x17c090=_0x40dc58;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x1541cf,_0x2adecb,_0x3208bd),this[_0x17c090(0x223)]['updateSparklineExtraNum'](_0x1541cf,_0x2adecb,_0x3208bd);});}});}};Ce=Wt([We(0x0,_0xc3cd9b(_0x3af335)),We(0x1,_0xc3cd9b(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x5ac992,_0x454683,_0x2b8b7f,_0x2fb0c7)=>{const _0xa13b6d=_0x5e69eb;for(var _0x8cbf57=_0x2fb0c7>0x1?void 0x0:_0x2fb0c7?Bt(_0x454683,_0x2b8b7f):_0x454683,_0x390580=_0x5ac992[_0xa13b6d(0x21e)]-0x1,_0x3dd21d;_0x390580>=0x0;_0x390580--)(_0x3dd21d=_0x5ac992[_0x390580])&&(_0x8cbf57=_0x3dd21d(_0x8cbf57)||_0x8cbf57);return _0x8cbf57;},De=(_0x11ec7c,_0x2dd0f1)=>(_0x38f7c0,_0x53b644)=>_0x2dd0f1(_0x38f7c0,_0x53b644,_0x11ec7c);let _e=class extends _0x5140fe{constructor(_0x19997c,_0x27a0d2,_0x254c42){const _0x1cca83=_0x5e69eb;super(),this['_commandService']=_0x19997c,this['_sheetInterceptorService']=_0x27a0d2,this[_0x1cca83(0x223)]=_0x254c42,this[_0x1cca83(0x251)]();}[_0x5e69eb(0x251)](){const _0x52d7db=_0x5e69eb;this[_0x52d7db(0x1bc)](this['_sheetInterceptorService'][_0x52d7db(0x1d3)]({'getMutations':_0x2451db=>{const _0x298a75=_0x52d7db,_0x1fa32c=[],_0x9e4709=[];if(_0x2451db['id']===_0x9a9665['id']){const _0x26026e=_0x2451db[_0x298a75(0x282)];if(!_0x26026e)return{'redos':_0x1fa32c,'undos':_0x9e4709};const {unitId:_0x54d138,subUnitId:_0x220ecb,ranges:_0x587ed9}=_0x26026e,_0x59a5b6=this[_0x298a75(0x223)][_0x298a75(0x27e)](_0x54d138,_0x220ecb);if(!_0x59a5b6)return{'redos':_0x1fa32c,'undos':_0x9e4709};const _0xdd9e50={},_0x511094={},_0x23445b=new Set();_0x587ed9[_0x298a75(0x224)](_0x3e5bf7=>{const _0x3ee825=_0x298a75,_0x94730a=_0x3e5bf7[_0x3ee825(0x206)],_0x22d06a=_0x3e5bf7['startColumn'];_0x1467b2[_0x3ee825(0x1ea)](_0x3e5bf7,(_0x1dcc31,_0x30aea9)=>{const _0x1dc036=_0x3ee825,_0x327cf1=this[_0x1dc036(0x223)][_0x1dc036(0x1c0)](_0x54d138,_0x220ecb,_0x1dcc31,_0x30aea9);if(_0x327cf1&&!(_0x1dcc31===_0x94730a&&_0x30aea9===_0x22d06a)){const _0xede2a=this[_0x1dc036(0x223)][_0x1dc036(0x1fa)](_0x54d138,_0x220ecb,_0x327cf1);if(_0xede2a){_0x23445b[_0x1dc036(0x1db)](_0x327cf1);let _0x42a603=_0xdd9e50[_0x327cf1];_0x42a603||(_0x42a603={'config':_0x4a95e6[_0x1dc036(0x236)](_0xede2a[_0x1dc036(0x1ef)]),'sparklines':new _0x1cdca2(_0xede2a[_0x1dc036(0x1f8)]['clone']())},_0xdd9e50[_0x327cf1]=_0x42a603),_0x42a603[_0x1dc036(0x1f8)]['realDeleteValue'](_0x1dcc31,_0x30aea9),_0x511094[_0x327cf1]={'config':_0x4a95e6[_0x1dc036(0x236)](_0xede2a[_0x1dc036(0x1ef)]),'sparklines':_0x4a95e6[_0x1dc036(0x236)](_0xede2a[_0x1dc036(0x1f8)][_0x1dc036(0x260)]())};}}});});for(const [_0x35ee81,_0x196a85]of _0x59a5b6){const _0x403a53=_0x196a85['sparklines'];_0x403a53[_0x298a75(0x22e)]((_0x2843d9,_0x28c0f7,_0x325bb5)=>{const _0x5eaa57=_0x298a75;for(let _0x1fd0eb=0x0;_0x1fd0eb<_0x587ed9[_0x5eaa57(0x21e)];_0x1fd0eb++){const _0xc5414e=_0x587ed9[_0x1fd0eb];if(_0x4c6abe[_0x5eaa57(0x219)](_0xc5414e,_0x325bb5)){_0x23445b[_0x5eaa57(0x1db)](_0x35ee81);let _0x2194c6=_0xdd9e50[_0x35ee81];_0x2194c6||(_0x2194c6={'config':_0x4a95e6['deepClone'](_0x196a85[_0x5eaa57(0x1ef)]),'sparklines':new _0x1cdca2(_0x403a53[_0x5eaa57(0x260)]())},_0xdd9e50[_0x35ee81]=_0x2194c6),_0x2194c6['sparklines']['realDeleteValue'](_0x2843d9,_0x28c0f7),_0x511094[_0x35ee81]||(_0x511094[_0x35ee81]={'config':_0x4a95e6['deepClone'](_0x196a85['config']),'sparklines':_0x4a95e6[_0x5eaa57(0x236)](_0x403a53[_0x5eaa57(0x260)]())});}}});}const _0x147b05={};Object[_0x298a75(0x1dc)](_0xdd9e50)[_0x298a75(0x224)](([_0x3d907f,_0xfaa057])=>{const _0x144c83=_0x298a75;_0xfaa057[_0x144c83(0x1f8)]['getSizeOf']()&&(_0x147b05[_0x3d907f]={'config':_0xfaa057[_0x144c83(0x1ef)],'sparklines':_0xfaa057[_0x144c83(0x1f8)][_0x144c83(0x260)]()});}),_0x23445b[_0x298a75(0x1cd)]&&(_0x1fa32c[_0x298a75(0x242)]({'id':y['id'],'params':{'unitId':_0x54d138,'subUnitId':_0x220ecb,'groupIds':Array[_0x298a75(0x207)](_0x23445b),'isSingle':!0x1}}),_0x9e4709[_0x298a75(0x242)]({'id':y['id'],'params':{'unitId':_0x54d138,'subUnitId':_0x220ecb,'groupIds':Array[_0x298a75(0x207)](_0x23445b),'isSingle':!0x1}}),_0x1fa32c[_0x298a75(0x242)]({'id':V['id'],'params':{'unitId':_0x54d138,'subUnitId':_0x220ecb,'sparklineConfigMap':_0x147b05}}),_0x9e4709[_0x298a75(0x242)]({'id':V['id'],'params':{'unitId':_0x54d138,'subUnitId':_0x220ecb,'sparklineConfigMap':_0x511094}}));}return{'redos':_0x1fa32c,'undos':_0x9e4709};}}));}};function _0x177d(){const _0x42a493=['range','setAlpha','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','UNIVER_SHEET','values','_initCorrectRangeWithSparkline','_initMergeWithSparkline','updateSparklineExtraNum','has','fromJSON','disposableCollection','item','keys','onCommandExecuted','get','_sparklineAnchorMap','rgb(49,106,246)','SELF_EXTREMUM','row','onReady','number','clone','SOFT','updateConfig$','matrix','_sparklineModel','_initDependencies','extremumMin','max','assign','dispose','3325968pYqLwi','parse','_onRefRangeChange','ZERO_VALUE','831gijQhp','DISTINCTIVE','connect_with_line','MAX_SAFE_INTEGER','sheet.command.set-sparkline','u-spacing','_updateConfig$','_injector','PIE_CHART','sheet.mutation.set-sparkline','containHiddenCells','emptyShowAs','setValue','getCell','groupId','soft','getSubUnitSparkline','reBuildAnchorCache','getCellRaw','sheet.command.remove-sparkline','params','column','disposeWithMe','moveRows','zero_value','unitId','getSparkline','symbol','3534377PzHUxN','FRESH','ranges','lastPoint','subscribe','setSparkline','map','fresh','5006130QyYiED','rgb(54,78,244)','24QUvCnN','size','sparklineModel','MIN_SAFE_INTEGER','value','_ensureAnchorMatrix','_initHideRowColWithSparkline','interceptCommand','extremumMax','CUSTOM_EXTREMUM','deleteUnit','sparklineAnchorMap','FORCE_STRING','CONNECT_WITH_LINE','refRangeHandle','add','entries','specialty','_sheetSelectionService','stringify','getValue','MUTATION','intersects','LINE_CHART','564adBOOq','rgb(252,117,60)','sheet.command.add-sparkline','_initDataChangeListener','markersPoint','getSheetBySheetId','foreach','_univerInstanceService','type','GROUP_EXTREMUM','next','config','actualColumn','realDeleteValue','NORMAL','_initCopySheetWithSparkline','defineProperty','_config','toRgbString','_refRangeService','sparklines','remove','getSparklineById','STANDARD','negativePoint','rgb(124,66,147)','getColVisible','startColumn','toJSON','delete','removePartSparkline','SHEET_SPARKLINE_PLUGIN','_resourceManagerService','_getRefRangeMutationsByDeleteCols','startRow','from','BOOLEAN','rgb(30,177,189)','_initExclusiveRangeChange','lowPoint','1585647QBqUmL','removeColumns','endRow','_getRefRangeMutationsByDeleteRows','SPECIALTY','standard','35540ucUGfb','_exclusiveRangeService','every','highPoint','asObservable','getSparklineCache','STRING','contains','getMatrix','PROFIT_AND_LOSS_CHART','_initRegisterCommand','endColumn','length','rgb(244,104,249)','registerRefRange','SPACING','_ensureConfigMap','_sparklineDataSourceModel','forEach','moveColumns','addSparkline','_initClearWithSparkline','getCurrentUnitForType','_initSnapshot','5224jYmDQN','sheet.mutation.remove-sparkline','min','BAR_CHART','forValue','distinctive','COMMAND','_sheetInterceptorService','removeSparkline','pushUndoRedo','registerPluginResource','NUMBER','deepClone','getCurrentSelections','subUnitId','nonNumShowAs','changeDataSourceInfo','spacing','set','sheet.mutation.add-sparkline','_commandService','removeRows','exclusiveRangesChange$','clearSparklineCache','push','rgb(80,102,248)','registerCommand','u-connect','2BQIytg','186487xvZVDy','rgb(248,190,21)','getSizeOf','getOwnPropertyDescriptor'];_0x177d=function(){return _0x42a493;};return _0x177d();}_e=Ht([De(0x0,_0xc3cd9b(_0x3af335)),De(0x1,_0xc3cd9b(_0x59b799)),De(0x2,_0xc3cd9b(x))],_e);var Ft=Object[_0x5e69eb(0x24a)],Kt=(_0x9c20d3,_0x56744a,_0x17c53e,_0x10610e)=>{const _0x26be28=_0x5e69eb;for(var _0x59dbf6=_0x10610e>0x1?void 0x0:_0x10610e?Ft(_0x56744a,_0x17c53e):_0x56744a,_0x55c8e9=_0x9c20d3[_0x26be28(0x21e)]-0x1,_0x4bee9b;_0x55c8e9>=0x0;_0x55c8e9--)(_0x4bee9b=_0x9c20d3[_0x55c8e9])&&(_0x59dbf6=_0x4bee9b(_0x59dbf6)||_0x59dbf6);return _0x59dbf6;},ue=(_0xe55aec,_0x50b991)=>(_0x292865,_0x97521e)=>_0x50b991(_0x292865,_0x97521e,_0xe55aec);let Me=class extends _0x5140fe{constructor(_0x18a223,_0x578348,_0x15438e,_0x44d124,_0x4f721a){const _0x1c89fa=_0x5e69eb;super(),se(this,_0x1c89fa(0x255),new _0x1e196f()),(this[_0x1c89fa(0x23e)]=_0x18a223,this['_sheetInterceptorService']=_0x578348,this[_0x1c89fa(0x1f7)]=_0x15438e,this[_0x1c89fa(0x1eb)]=_0x44d124,this[_0x1c89fa(0x223)]=_0x4f721a,this[_0x1c89fa(0x26c)](),this[_0x1c89fa(0x250)]());}[_0x5e69eb(0x26c)](){const _0x4fd597=_0x5e69eb,_0x37e512=(_0x351dbf,_0x4f49f6)=>{const _0x4bc7ec=_0x32d1,_0x2f6150=this[_0x4bc7ec(0x1eb)][_0x4bc7ec(0x228)](_0x484af2[_0x4bc7ec(0x24e)]);if(!_0x2f6150||!(_0x2f6150==null?void 0x0:_0x2f6150[_0x4bc7ec(0x1e9)](_0x4f49f6)))return;this[_0x4bc7ec(0x255)][_0x4bc7ec(0x269)]();const _0x1ccff5=_0x441031=>this[_0x4bc7ec(0x1da)](_0x441031,_0x351dbf,_0x4f49f6),_0x273642=[],_0x3658dd=this[_0x4bc7ec(0x223)][_0x4bc7ec(0x27e)](_0x351dbf,_0x4f49f6);if(_0x3658dd){for(const [_0x28777a,_0x10ee91]of _0x3658dd)_0x10ee91[_0x4bc7ec(0x1f8)][_0x4bc7ec(0x22e)]((_0x40103d,_0x2699b9,_0x1832e0)=>{const _0x523117=_0x4bc7ec,_0x31f916=_0x1080f8(_0x40103d,_0x2699b9);_0x273642[_0x523117(0x242)](_0x31f916);});_0x273642[_0x4bc7ec(0x224)](_0x2a0346=>{const _0x5aad12=_0x4bc7ec;this[_0x5aad12(0x255)][_0x5aad12(0x1db)](this['_refRangeService'][_0x5aad12(0x220)](_0x2a0346,_0x1ccff5,_0x351dbf,_0x4f49f6));});}};this['disposeWithMe'](this[_0x4fd597(0x23e)][_0x4fd597(0x258)](_0x3b7b4f=>{const _0x19cbce=_0x4fd597;if(_0x3b7b4f['id']===_0xe346dc['id']){const _0x2e2eec=_0x3b7b4f['params'],_0x460e2c=_0x2e2eec['subUnitId'],_0x2fa476=_0x2e2eec[_0x19cbce(0x1bf)];if(!_0x460e2c||!_0x2fa476)return;_0x37e512(_0x2fa476,_0x460e2c);}if(_0x3b7b4f['id']===Oe['id']||_0x3b7b4f['id']===V['id']){const _0x2fa51c=_0x3b7b4f[_0x19cbce(0x282)],_0x28c4c6=_0x2fa51c['subUnitId'],_0x34604c=_0x2fa51c[_0x19cbce(0x1bf)];if(!_0x28c4c6||!_0x34604c)return;_0x37e512(_0x34604c,_0x28c4c6);}}));}[_0x5e69eb(0x1da)](_0x3c7963,_0x111d37,_0x40c601){const _0x1f8bd0=_0x5e69eb;switch(_0x3c7963['id']){case _0x39ca17['id']:return this[_0x1f8bd0(0x205)](_0x3c7963['params'],_0x111d37,_0x40c601);case _0x2708bc['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x3c7963[_0x1f8bd0(0x282)],_0x111d37,_0x40c601);}return{'redos':[],'undos':[]};}[_0x5e69eb(0x20f)](_0x19d426,_0x5b8c06,_0xa14da0){const _0xd4259a=_0x5e69eb;var _0x241a0d,_0x267c9a;const {range:_0x2e0fea}=_0x19d426,_0x73b3ad=new Set(),_0x250541={},_0x424c14={},_0x4daa2a=[],_0x31192f=[],_0x10ccaa=[],_0x298975=[];if(!_0x5dbc09(this[_0xd4259a(0x1eb)],{'unitId':_0x5b8c06,'subUnitId':_0xa14da0}))return{'redos':_0x31192f,'undos':_0x4daa2a};const _0x404101=this[_0xd4259a(0x223)][_0xd4259a(0x27e)](_0x5b8c06,_0xa14da0);if(!_0x404101)return{'redos':_0x31192f,'undos':_0x4daa2a};if(!((_0x267c9a=(_0x241a0d=this[_0xd4259a(0x223)][_0xd4259a(0x217)]()['sparklineAnchorMap'][_0xd4259a(0x259)](_0x5b8c06))==null?void 0x0:_0x241a0d[_0xd4259a(0x259)](_0xa14da0))==null?void 0x0:_0x267c9a[_0xd4259a(0x263)]))return{'redos':_0x31192f,'undos':_0x4daa2a};for(const [_0x6e7afb,_0x58692a]of _0x404101){const _0x374c67=_0x58692a['sparklines'];_0x374c67[_0xd4259a(0x22e)]((_0x45f504,_0xf61538,_0x1685ed)=>{const _0x9140af=_0xd4259a;if(_0x4c6abe[_0x9140af(0x1e2)](_0x2e0fea,_0x1685ed)){_0x73b3ad[_0x9140af(0x1db)](_0x6e7afb);let _0x26d2bf=_0x424c14[_0x6e7afb];_0x26d2bf||(_0x26d2bf={'config':_0x58692a['config'],'sparklines':_0x58692a[_0x9140af(0x1f8)][_0x9140af(0x260)]()},_0x424c14[_0x6e7afb]=_0x26d2bf);let _0x6458c3=_0x250541[_0x6e7afb];_0x6458c3||(_0x6458c3={'config':_0x58692a[_0x9140af(0x1ef)],'sparklines':new _0x1cdca2(_0x58692a['sparklines'][_0x9140af(0x260)]())},_0x250541[_0x6e7afb]=_0x6458c3);const _0x1c1c2f=_0x357731(_0x1685ed,{'id':_0x4a5d52['id'],'params':_0x19d426});_0x1c1c2f?_0x6458c3[_0x9140af(0x1f8)][_0x9140af(0x27a)](_0x45f504,_0xf61538,_0x1c1c2f):_0x6458c3[_0x9140af(0x1f8)][_0x9140af(0x27a)](_0x45f504,_0xf61538,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929[_0x9140af(0x1f2)]});}}),_0x374c67[_0xd4259a(0x22e)]((_0x4a606a,_0x40d18b,_0x47a6ba)=>{const _0xbe3f2f=_0xd4259a;if(_0x4a606a<=_0x2e0fea['endRow']&&_0x4a606a>=_0x2e0fea[_0xbe3f2f(0x206)]){_0x73b3ad[_0xbe3f2f(0x1db)](_0x6e7afb);let _0x5568f9=_0x424c14[_0x6e7afb];_0x5568f9||(_0x5568f9={'config':_0x58692a[_0xbe3f2f(0x1ef)],'sparklines':_0x58692a[_0xbe3f2f(0x1f8)][_0xbe3f2f(0x260)]()},_0x424c14[_0x6e7afb]=_0x5568f9);let _0x4f77f7=_0x250541[_0x6e7afb];_0x4f77f7||(_0x4f77f7={'config':_0x58692a[_0xbe3f2f(0x1ef)],'sparklines':new _0x1cdca2(_0x58692a[_0xbe3f2f(0x1f8)][_0xbe3f2f(0x260)]())},_0x250541[_0x6e7afb]=_0x4f77f7);}});}_0x298975[_0xd4259a(0x242)]({'id':y['id'],'params':{'unitId':_0x5b8c06,'subUnitId':_0xa14da0,'groupIds':Array[_0xd4259a(0x207)](_0x73b3ad),'isSingle':!0x1}}),_0x10ccaa[_0xd4259a(0x242)]({'id':y['id'],'params':{'unitId':_0x5b8c06,'subUnitId':_0xa14da0,'groupIds':Array['from'](_0x73b3ad),'isSingle':!0x1}});const _0x2a96eb={};let _0x2221e3=!0x1;return Object['entries'](_0x250541)[_0xd4259a(0x224)](([_0x19fd35,_0x496698])=>{const _0x49b3d0=_0xd4259a;_0x496698[_0x49b3d0(0x1f8)][_0x49b3d0(0x249)]()&&(_0x2221e3=!0x0,_0x496698[_0x49b3d0(0x1f8)][_0x49b3d0(0x23f)](_0x2e0fea[_0x49b3d0(0x206)],_0x2e0fea[_0x49b3d0(0x20e)]-_0x2e0fea[_0x49b3d0(0x206)]+0x1),_0x2a96eb[_0x19fd35]={'config':_0x496698['config'],'sparklines':_0x496698['sparklines'][_0x49b3d0(0x260)]()});}),_0x2221e3&&_0x31192f[_0xd4259a(0x242)]({'id':V['id'],'params':{'unitId':_0x5b8c06,'subUnitId':_0xa14da0,'sparklineConfigMap':_0x2a96eb}}),_0x4daa2a[_0xd4259a(0x242)]({'id':V['id'],'params':{'unitId':_0x5b8c06,'subUnitId':_0xa14da0,'sparklineConfigMap':_0x424c14}}),{'redos':_0x31192f,'undos':_0x4daa2a,'preRedos':_0x10ccaa,'preUndos':_0x298975};}['_getRefRangeMutationsByDeleteCols'](_0x34c3e3,_0x3c31d1,_0x289318){const _0x13269f=_0x5e69eb;var _0x33f6d3,_0x472ff6;const {range:_0x420999}=_0x34c3e3,_0x1b7606=new Set(),_0x2c63fc={},_0x5bc615={},_0x3dba06=[],_0x413616=[],_0x4a7526=[],_0xf73b43=[];if(!_0x5dbc09(this['_univerInstanceService'],{'unitId':_0x3c31d1,'subUnitId':_0x289318}))return{'redos':_0x413616,'undos':_0x3dba06};const _0x4b2694=this[_0x13269f(0x223)][_0x13269f(0x27e)](_0x3c31d1,_0x289318);if(!_0x4b2694)return{'redos':_0x413616,'undos':_0x3dba06};if(!((_0x472ff6=(_0x33f6d3=this[_0x13269f(0x223)][_0x13269f(0x217)]()['sparklineAnchorMap'][_0x13269f(0x259)](_0x3c31d1))==null?void 0x0:_0x33f6d3['get'](_0x289318))==null?void 0x0:_0x472ff6[_0x13269f(0x263)]))return{'redos':_0x413616,'undos':_0x3dba06};for(const [_0x517f5f,_0xf6c567]of _0x4b2694){const _0xcddbf=_0xf6c567[_0x13269f(0x1f8)];_0xcddbf[_0x13269f(0x22e)]((_0x21f4dd,_0x5a7be1,_0x5da165)=>{const _0x4dd170=_0x13269f;if(_0x4c6abe['intersects'](_0x420999,_0x5da165)){_0x1b7606['add'](_0x517f5f);let _0x55e9d8=_0x5bc615[_0x517f5f];_0x55e9d8||(_0x55e9d8={'config':_0xf6c567[_0x4dd170(0x1ef)],'sparklines':_0xf6c567[_0x4dd170(0x1f8)][_0x4dd170(0x260)]()},_0x5bc615[_0x517f5f]=_0x55e9d8);let _0x4abdf2=_0x2c63fc[_0x517f5f];_0x4abdf2||(_0x4abdf2={'config':_0xf6c567['config'],'sparklines':new _0x1cdca2(_0xf6c567['sparklines'][_0x4dd170(0x260)]())},_0x2c63fc[_0x517f5f]=_0x4abdf2);const _0x4000ac=_0x357731(_0x5da165,{'id':_0x3e2624['id'],'params':_0x34c3e3});_0x4000ac?_0x4abdf2[_0x4dd170(0x1f8)][_0x4dd170(0x27a)](_0x21f4dd,_0x5a7be1,_0x4000ac):_0x4abdf2[_0x4dd170(0x1f8)]['setValue'](_0x21f4dd,_0x5a7be1,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929[_0x4dd170(0x1f2)]});}}),_0xcddbf[_0x13269f(0x22e)]((_0x257109,_0x4da4fb,_0x560585)=>{const _0x1b0aba=_0x13269f;if(_0x4da4fb<=_0x420999[_0x1b0aba(0x21d)]&&_0x4da4fb>=_0x420999[_0x1b0aba(0x1ff)]){_0x1b7606[_0x1b0aba(0x1db)](_0x517f5f);let _0xf57d6d=_0x5bc615[_0x517f5f];_0xf57d6d||(_0xf57d6d={'config':_0xf6c567[_0x1b0aba(0x1ef)],'sparklines':_0xf6c567[_0x1b0aba(0x1f8)][_0x1b0aba(0x260)]()},_0x5bc615[_0x517f5f]=_0xf57d6d);let _0x25d59b=_0x2c63fc[_0x517f5f];_0x25d59b||(_0x25d59b={'config':_0xf6c567[_0x1b0aba(0x1ef)],'sparklines':new _0x1cdca2(_0xf6c567[_0x1b0aba(0x1f8)][_0x1b0aba(0x260)]())},_0x2c63fc[_0x517f5f]=_0x25d59b);}});}_0xf73b43[_0x13269f(0x242)]({'id':y['id'],'params':{'unitId':_0x3c31d1,'subUnitId':_0x289318,'groupIds':Array[_0x13269f(0x207)](_0x1b7606),'isSingle':!0x1}}),_0x4a7526[_0x13269f(0x242)]({'id':y['id'],'params':{'unitId':_0x3c31d1,'subUnitId':_0x289318,'groupIds':Array['from'](_0x1b7606),'isSingle':!0x1}});const _0x281994={};let _0x1be76e=!0x1;return Object['entries'](_0x2c63fc)[_0x13269f(0x224)](([_0x340d99,_0x22429b])=>{const _0x45863e=_0x13269f;_0x22429b[_0x45863e(0x1f8)][_0x45863e(0x249)]()&&(_0x1be76e=!0x0,_0x22429b['sparklines'][_0x45863e(0x20d)](_0x420999[_0x45863e(0x1ff)],_0x420999[_0x45863e(0x21d)]-_0x420999['startColumn']+0x1),_0x281994[_0x340d99]={'config':_0x22429b[_0x45863e(0x1ef)],'sparklines':_0x22429b[_0x45863e(0x1f8)][_0x45863e(0x260)]()});}),_0x1be76e&&_0x413616[_0x13269f(0x242)]({'id':V['id'],'params':{'unitId':_0x3c31d1,'subUnitId':_0x289318,'sparklineConfigMap':_0x281994}}),_0x3dba06[_0x13269f(0x242)]({'id':V['id'],'params':{'unitId':_0x3c31d1,'subUnitId':_0x289318,'sparklineConfigMap':_0x5bc615}}),{'redos':_0x413616,'undos':_0x3dba06,'preRedos':_0x4a7526,'preUndos':_0xf73b43};}[_0x5e69eb(0x250)](){const _0x337269=_0x5e69eb;this['disposeWithMe'](this[_0x337269(0x23e)][_0x337269(0x258)](_0x4f463d=>{const _0x59cc05=_0x337269;if(_0x4f463d['id']===_0x1ba3bc['id']){const _0x5f0e9e=_0x4f463d['params'],{unitId:_0x5a64cc,subUnitId:_0x4581b5,range:_0x19495e}=_0x5f0e9e,_0x158e0d=_0x19495e[_0x59cc05(0x1ff)],_0x50209a=_0x19495e[_0x59cc05(0x21d)]-_0x19495e[_0x59cc05(0x1ff)]+0x1,_0x144115=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0x5a64cc,_0x4581b5);if(!_0x144115)return;for(const [_0x5a2fab,_0x57be77]of _0x144115){this[_0x59cc05(0x223)][_0x59cc05(0x241)](_0x5a64cc,_0x4581b5,_0x5a2fab);const _0x487be8=_0x57be77['sparklines'];_0x487be8[_0x59cc05(0x22e)]((_0x3c5f4d,_0x5d5f95,_0x528723)=>{const _0x32e727=_0x59cc05,_0x1bf809={..._0x528723};_0x158e0d<=_0x1bf809[_0x32e727(0x1ff)]?(_0x1bf809[_0x32e727(0x1ff)]+=_0x50209a,_0x1bf809[_0x32e727(0x21d)]+=_0x50209a):_0x158e0d>_0x1bf809['endColumn']||(_0x1bf809['endColumn']+=_0x50209a),_0x487be8[_0x32e727(0x27a)](_0x3c5f4d,_0x5d5f95,_0x1bf809);});const _0x1b4bc=_0x487be8['getMatrix']();for(const _0x489211 in _0x1b4bc){const _0x1b2573=_0x1b4bc[Number(_0x489211)];if(!_0x1b2573)continue;const _0x216803=Object[_0x59cc05(0x257)](_0x1b2573)[_0x59cc05(0x1c8)](Number),_0x4953eb=Math[_0x59cc05(0x267)](..._0x216803);for(let _0xcf6098=_0x4953eb;_0xcf6098>=_0x158e0d;_0xcf6098--)_0xcf6098>=_0x158e0d&&_0x1b2573[_0xcf6098]&&(_0x1b2573[_0xcf6098+_0x50209a]=_0x1b2573[_0xcf6098],delete _0x1b2573[_0xcf6098]);}this[_0x59cc05(0x223)][_0x59cc05(0x252)](_0x5a64cc,_0x4581b5,_0x5a2fab);}}else{if(_0x4f463d['id']===_0x69ff93['id']){const _0x1797c0=_0x4f463d['params'],{unitId:_0x59dbdd,subUnitId:_0x5f1381,range:_0x51cbd1}=_0x1797c0,_0x46a7ab=_0x51cbd1[_0x59cc05(0x206)],_0x3dd083=_0x51cbd1[_0x59cc05(0x20e)]-_0x51cbd1[_0x59cc05(0x206)]+0x1,_0x494171=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0x59dbdd,_0x5f1381);if(!_0x494171)return;for(const [_0x43ecdb,_0x527ba9]of _0x494171){this['_sparklineDataSourceModel'][_0x59cc05(0x241)](_0x59dbdd,_0x5f1381,_0x43ecdb);const _0xa370b=_0x527ba9[_0x59cc05(0x1f8)];_0xa370b[_0x59cc05(0x22e)]((_0x348d70,_0x55309c,_0x1852d7)=>{const _0x5696ce=_0x59cc05,_0xd4e75f={..._0x1852d7};_0x46a7ab<=_0xd4e75f[_0x5696ce(0x206)]?(_0xd4e75f[_0x5696ce(0x206)]+=_0x3dd083,_0xd4e75f[_0x5696ce(0x20e)]+=_0x3dd083):_0x46a7ab>_0xd4e75f['endRow']||(_0xd4e75f['endRow']+=_0x3dd083),_0xa370b[_0x5696ce(0x27a)](_0x348d70,_0x55309c,_0xd4e75f);});const _0x58f0cc=_0xa370b[_0x59cc05(0x21a)](),_0x11f3bb=Object[_0x59cc05(0x257)](_0x58f0cc)[_0x59cc05(0x1c8)](Number),_0x5b2643=Math[_0x59cc05(0x267)](..._0x11f3bb);for(let _0x405d46=_0x5b2643;_0x405d46>=_0x46a7ab;_0x405d46--)_0x405d46>=_0x46a7ab&&_0x58f0cc[_0x405d46]&&(_0x58f0cc[_0x405d46+_0x3dd083]=_0x58f0cc[_0x405d46],delete _0x58f0cc[_0x405d46]);this[_0x59cc05(0x223)][_0x59cc05(0x252)](_0x59dbdd,_0x5f1381,_0x43ecdb);}}else{if(_0x4f463d['id']===_0x3e2624['id']){const _0xa37483=_0x4f463d[_0x59cc05(0x282)],{range:_0x1438cb,unitId:_0x5f219d,subUnitId:_0x35cd42}=_0xa37483,_0x1dc63e=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0x5f219d,_0x35cd42);if(!_0x1dc63e)return;for(const [_0x4658e9,_0x5ccbf8]of _0x1dc63e){const _0x12d3bc=_0x5ccbf8[_0x59cc05(0x1f8)];_0x12d3bc[_0x59cc05(0x22e)]((_0x23d525,_0xce1a6a,_0x4120e8)=>{const _0x56e4c9=_0x59cc05,_0x36b7bd=_0x357731(_0x4120e8,_0x4f463d);_0x36b7bd?_0x12d3bc[_0x56e4c9(0x27a)](_0x23d525,_0xce1a6a,_0x36b7bd):_0x12d3bc[_0x56e4c9(0x27a)](_0x23d525,_0xce1a6a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929[_0x56e4c9(0x1f2)]});}),_0x12d3bc[_0x59cc05(0x20d)](_0x1438cb[_0x59cc05(0x1ff)],_0x1438cb[_0x59cc05(0x21d)]-_0x1438cb[_0x59cc05(0x1ff)]+0x1);}this['_sparklineDataSourceModel'][_0x59cc05(0x27f)](_0x5f219d,_0x35cd42);}else{if(_0x4f463d['id']===_0x4a5d52['id']){const _0x4eb423=_0x4f463d[_0x59cc05(0x282)],{range:_0x3f55f3,unitId:_0xf1abbc,subUnitId:_0x1576d0}=_0x4eb423,_0x4f1003=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0xf1abbc,_0x1576d0);if(!_0x4f1003)return;for(const [_0x4886bb,_0x3c8245]of _0x4f1003){const _0x2c1a99=_0x3c8245[_0x59cc05(0x1f8)];_0x2c1a99[_0x59cc05(0x22e)]((_0x3713be,_0x49179c,_0xf2fb04)=>{const _0x292c6e=_0x59cc05,_0x542966=_0x357731(_0xf2fb04,_0x4f463d);_0x542966?_0x2c1a99[_0x292c6e(0x27a)](_0x3713be,_0x49179c,_0x542966):_0x2c1a99[_0x292c6e(0x27a)](_0x3713be,_0x49179c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929[_0x292c6e(0x1f2)]});}),_0x2c1a99[_0x59cc05(0x23f)](_0x3f55f3[_0x59cc05(0x206)],_0x3f55f3['endRow']-_0x3f55f3[_0x59cc05(0x206)]+0x1);}this[_0x59cc05(0x223)][_0x59cc05(0x27f)](_0xf1abbc,_0x1576d0);}else{if(_0x4f463d['id']===_0x1344fe['id']){const _0x4897f2=_0x4f463d['params'],{unitId:_0x3e8b33,subUnitId:_0x3992b4,sourceRange:_0x1e8dec,targetRange:_0x4a20d1}=_0x4897f2,_0x3b965b=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0x3e8b33,_0x3992b4);if(!_0x3b965b)return;for(const [_0xebddd9,_0x33d249]of _0x3b965b){const _0x3b4f9b=_0x33d249[_0x59cc05(0x1f8)];_0x3b4f9b[_0x59cc05(0x22e)]((_0x46a6e1,_0x277efb,_0x5c5d2b)=>{const _0x1365e1=_0x59cc05,_0x1f5b85=_0x357731(_0x5c5d2b,_0x4f463d);_0x1f5b85?_0x3b4f9b[_0x1365e1(0x27a)](_0x46a6e1,_0x277efb,_0x1f5b85):_0x3b4f9b[_0x1365e1(0x27a)](_0x46a6e1,_0x277efb,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929['NORMAL']});}),_0x3b4f9b[_0x59cc05(0x225)](_0x1e8dec[_0x59cc05(0x1ff)],_0x1e8dec[_0x59cc05(0x21d)]-_0x1e8dec[_0x59cc05(0x1ff)]+0x1,_0x4a20d1[_0x59cc05(0x1ff)]);}this['_sparklineDataSourceModel'][_0x59cc05(0x27f)](_0x3e8b33,_0x3992b4);}else{if(_0x4f463d['id']===_0x4e71c3['id']){const _0x5331cc=_0x4f463d['params'],{unitId:_0xb82b49,subUnitId:_0xd72173,sourceRange:_0xb1db20,targetRange:_0x245d46}=_0x5331cc,_0x2a5cda=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0xb82b49,_0xd72173);if(!_0x2a5cda)return;for(const [_0x160f70,_0x364d8d]of _0x2a5cda){const _0x42f2a0=_0x364d8d['sparklines'];_0x42f2a0['forValue']((_0x2a3731,_0x51fb68,_0xcbbb5b)=>{const _0x2aed41=_0x59cc05,_0x11bbe4=_0x357731(_0xcbbb5b,_0x4f463d);_0x11bbe4?_0x42f2a0[_0x2aed41(0x27a)](_0x2a3731,_0x51fb68,_0x11bbe4):_0x42f2a0['setValue'](_0x2a3731,_0x51fb68,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x537929[_0x2aed41(0x1f2)]});}),_0x42f2a0[_0x59cc05(0x1bd)](_0xb1db20[_0x59cc05(0x206)],_0xb1db20[_0x59cc05(0x20e)]-_0xb1db20['startRow']+0x1,_0x245d46[_0x59cc05(0x206)]);}this[_0x59cc05(0x223)][_0x59cc05(0x27f)](_0xb82b49,_0xd72173);}else{if(_0x4f463d['id']===_0x3811d5['id']){const _0x4454d3=_0x4f463d[_0x59cc05(0x282)],{fromRange:_0x33fa61,toRange:_0x446723,unitId:_0x852322,from:_0x26a9c1,to:_0x143d09}=_0x4454d3;if(_0x26a9c1[_0x59cc05(0x238)]!==_0x143d09['subUnitId'])return;const _0x1a2d17=_0x26a9c1[_0x59cc05(0x238)],{startRow:_0x43846b,endRow:_0x1f1fdd,startColumn:_0x435ce3,endColumn:_0x5a13d4}=_0x33fa61,{startRow:_0xe88eef,startColumn:_0x1b12ba}=_0x446723,_0x172abc=_0xe88eef-_0x43846b,_0x48f919=_0x1b12ba-_0x435ce3,_0x5aaa97=this[_0x59cc05(0x223)][_0x59cc05(0x27e)](_0x852322,_0x1a2d17);if(!(_0x5aaa97!=null&&_0x5aaa97['size']))return;for(let _0x2195e1=_0x43846b;_0x2195e1<=_0x1f1fdd;_0x2195e1++)for(let _0x267989=_0x435ce3;_0x267989<=_0x5a13d4;_0x267989++){const _0x5d79e2=this[_0x59cc05(0x223)][_0x59cc05(0x1c0)](_0x852322,_0x1a2d17,_0x2195e1,_0x267989);if(_0x5d79e2){const _0x901e41=this[_0x59cc05(0x223)][_0x59cc05(0x1fa)](_0x852322,_0x1a2d17,_0x5d79e2);if(_0x901e41){const _0x3050dc=_0x901e41[_0x59cc05(0x1f8)]['getValue'](_0x2195e1,_0x267989);_0x3050dc&&(_0x901e41[_0x59cc05(0x1f8)][_0x59cc05(0x27a)](_0x2195e1+_0x172abc,_0x267989+_0x48f919,_0x3050dc),_0x901e41[_0x59cc05(0x1f8)][_0x59cc05(0x1f1)](_0x2195e1,_0x267989));}}}for(const [_0x544d51,_0x4ab4a6]of _0x5aaa97){const _0x5c92c8=_0x4ab4a6['sparklines'];_0x5c92c8[_0x59cc05(0x22e)]((_0xcc02e5,_0x3c696a,_0x4db260)=>{const _0x4646c8=_0x59cc05,_0x5bbe79={..._0x4db260};_0x4c6abe[_0x4646c8(0x219)](_0x33fa61,_0x4db260)&&(_0x5bbe79[_0x4646c8(0x206)]+=_0x172abc,_0x5bbe79[_0x4646c8(0x20e)]+=_0x172abc,_0x5bbe79[_0x4646c8(0x1ff)]+=_0x48f919,_0x5bbe79[_0x4646c8(0x21d)]+=_0x48f919),_0x5c92c8[_0x4646c8(0x27a)](_0xcc02e5,_0x3c696a,_0x5bbe79);});}this[_0x59cc05(0x223)][_0x59cc05(0x27f)](_0x852322,_0x1a2d17);}}}}}}}}));}};Me=Kt([ue(0x0,_0xc3cd9b(_0x3af335)),ue(0x1,_0xc3cd9b(_0x59b799)),ue(0x2,_0xc3cd9b(_0x1a7f1d)),ue(0x3,_0x212016),ue(0x4,_0xc3cd9b(x))],Me);var Xt=Object[_0x5e69eb(0x24a)],zt=(_0x119949,_0x450a51,_0x4b9b24,_0x334c31)=>{const _0x3cfa97=_0x5e69eb;for(var _0x4a379d=_0x334c31>0x1?void 0x0:_0x334c31?Xt(_0x450a51,_0x4b9b24):_0x450a51,_0x5cda87=_0x119949[_0x3cfa97(0x21e)]-0x1,_0x15b986;_0x5cda87>=0x0;_0x5cda87--)(_0x15b986=_0x119949[_0x5cda87])&&(_0x4a379d=_0x15b986(_0x4a379d)||_0x4a379d);return _0x4a379d;},Be=(_0x3b95e8,_0x25b1db)=>(_0x57de36,_0x40bb87)=>_0x25b1db(_0x57de36,_0x40bb87,_0x3b95e8);let Re=class extends _0x5140fe{constructor(_0x58b6c5,_0x2cae6a){const _0x467fa0=_0x5e69eb;super(),this[_0x467fa0(0x204)]=_0x58b6c5,this['_sparklineDataSourceModel']=_0x2cae6a,this[_0x467fa0(0x229)]();}[_0x5e69eb(0x229)](){const _0x2a13cb=_0x5e69eb,_0x2d112b=_0x30e160=>{const _0xfbbb73=_0x32d1,_0x31e519=this['_sparklineDataSourceModel'][_0xfbbb73(0x200)](_0x30e160);return _0x31e519?JSON[_0xfbbb73(0x1df)](_0x31e519):'';},_0x15f1b4=_0x34f1bd=>_0x34f1bd?JSON[_0x2a13cb(0x26b)](_0x34f1bd):{};this[_0x2a13cb(0x1bc)](this['_resourceManagerService'][_0x2a13cb(0x234)]({'toJson':_0x2d112b,'parseJson':_0x15f1b4,'pluginName':Ke,'businesses':[_0x484af2['UNIVER_SHEET']],'onLoad':(_0x2f0a80,_0x254abf)=>{const _0x4a3688=_0x2a13cb;this[_0x4a3688(0x223)][_0x4a3688(0x254)](_0x254abf);},'onUnLoad':_0x27e379=>{const _0x4f9aab=_0x2a13cb;this[_0x4f9aab(0x223)][_0x4f9aab(0x1d6)](_0x27e379);}}));}};Re=zt([Be(0x0,_0xc3cd9b(_0xdead22)),Be(0x1,_0xc3cd9b(x))],Re);var Jt=Object[_0x5e69eb(0x1f4)],Zt=Object[_0x5e69eb(0x24a)],Yt=(_0x22dc6f,_0x15f341,_0x131b4b)=>_0x15f341 in _0x22dc6f?Jt(_0x22dc6f,_0x15f341,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x131b4b}):_0x22dc6f[_0x15f341]=_0x131b4b,qt=(_0x4a86e0,_0x529abd,_0x278f70,_0x1a19bd)=>{const _0x170f88=_0x5e69eb;for(var _0x1abcd1=_0x1a19bd>0x1?void 0x0:_0x1a19bd?Zt(_0x529abd,_0x278f70):_0x529abd,_0x4fe99b=_0x4a86e0[_0x170f88(0x21e)]-0x1,_0x153178;_0x4fe99b>=0x0;_0x4fe99b--)(_0x153178=_0x4a86e0[_0x4fe99b])&&(_0x1abcd1=_0x153178(_0x1abcd1)||_0x1abcd1);return _0x1abcd1;},He=(_0x3102dd,_0x27224b)=>(_0x399b63,_0x3351c3)=>_0x27224b(_0x399b63,_0x3351c3,_0x3102dd),ze=(_0x7180f4,_0x5420dd,_0x52327e)=>Yt(_0x7180f4,typeof _0x5420dd!=_0x5e69eb(0x1c1)?_0x5420dd+'':_0x5420dd,_0x52327e);let ve=class extends _0xd34cf1{constructor(_0x2e429d={},_0x5f276e,_0x58fc85){const _0x443f02=_0x5e69eb;super(),this[_0x443f02(0x1f5)]=_0x2e429d,this[_0x443f02(0x275)]=_0x5f276e,this['_commandService']=_0x58fc85,this[_0x443f02(0x265)](),this['_initRegisterCommand']();}[_0x5e69eb(0x265)](){const _0x93a07f=_0x5e69eb;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x93a07f(0x224)](_0x52593b=>{const _0x3fde14=_0x93a07f;this[_0x3fde14(0x275)][_0x3fde14(0x1db)](_0x52593b);}),_0x141244(this['_injector'],[[Re]]);}[_0x5e69eb(0x25e)](){const _0x132e89=_0x5e69eb;_0x141244(this[_0x132e89(0x275)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x5e69eb(0x21c)](){const _0x9d6427=_0x5e69eb;[Nt,V,Ot,y,xt,Oe][_0x9d6427(0x224)](_0x3143f0=>this[_0x9d6427(0x23e)][_0x9d6427(0x244)](_0x3143f0));}};ze(ve,'pluginName',Ke),ze(ve,_0x5e69eb(0x1ec),_0x484af2[_0x5e69eb(0x24e)]),ve=qt([_0x3100be(_0x2e3fae),He(0x1,_0xc3cd9b(_0x41c10c)),He(0x2,_0xc3cd9b(_0x3af335))],ve);export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,Ee as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1b5281=_0x2ff4;(function(_0x2f9a67,_0x427298){const _0x44d68f=_0x2ff4,_0x1c6157=_0x2f9a67();while(!![]){try{const _0x33a75c=-parseInt(_0x44d68f(0x192))/0x1+parseInt(_0x44d68f(0x164))/0x2+parseInt(_0x44d68f(0x180))/0x3*(-parseInt(_0x44d68f(0x187))/0x4)+-parseInt(_0x44d68f(0x19c))/0x5+-parseInt(_0x44d68f(0x18d))/0x6+-parseInt(_0x44d68f(0x1a0))/0x7+parseInt(_0x44d68f(0x198))/0x8;if(_0x33a75c===_0x427298)break;else _0x1c6157['push'](_0x1c6157['shift']());}catch(_0xbd5cad){_0x1c6157['push'](_0x1c6157['shift']());}}}(_0x2a6d,0x5e2b5));import{SparklineDataSourceModel as _0x424dfe,SetSheetSparklineCommand as _0x2f2eca,RemoveSheetSparklineCommand as _0x168db9,AddSheetSparklineCommand as _0x12abc7,SparklineTypeEnum as _0x5404fd}from'@univerjs-pro/sheets-sparkline';import{Inject as _0x219188,Injector as _0x48a18f,ICommandService as _0x4aee61,Tools as _0x54c544}from'@univerjs/core';import{FWorksheet as _0x45d745}from'@univerjs/sheets/facade';import{FEnum as _0x4d74df,FEventName as _0x3994d7,FUniver as _0x4d0768}from'@univerjs/core/facade';function _0x2ff4(_0x5a50ed,_0x4cec7a){const _0x2a6dcf=_0x2a6d();return _0x2ff4=function(_0x2ff4a8,_0xd9329a){_0x2ff4a8=_0x2ff4a8-0x163;let _0x5244e0=_0x2a6dcf[_0x2ff4a8];return _0x5244e0;},_0x2ff4(_0x5a50ed,_0x4cec7a);}import{SheetsSelectionsService as _0x358949}from'@univerjs/sheets';var z=Object[_0x1b5281(0x18b)],H=(_0xfef6dc,_0x1cab52,_0x5183ba,_0x2be556)=>{const _0x322294=_0x1b5281;for(var _0x2e6702=_0x2be556>0x1?void 0x0:_0x2be556?z(_0x1cab52,_0x5183ba):_0x1cab52,_0x473555=_0xfef6dc[_0x322294(0x18e)]-0x1,_0x59877c;_0x473555>=0x0;_0x473555--)(_0x59877c=_0xfef6dc[_0x473555])&&(_0x2e6702=_0x59877c(_0x2e6702)||_0x2e6702);return _0x2e6702;},V=(_0x28f5f3,_0x46bf1)=>(_0x5b5383,_0x944027)=>_0x46bf1(_0x5b5383,_0x944027,_0x28f5f3);function _0x2a6d(){const _0x3bc808=['setConfig','unComposeSparkline','getOwnPropertyDescriptor','group','4290042GNTSsj','length','createInstance','getId','add','184596fNJqrX','addSparkline','getSubUnitSparkline','item','fireEvent','getActiveSheet','13160928cBgeym','getSparklineById','extend','startColumn','649620RNQZMz','groupId','_subUnitId','cancel','3110639wWqFqq','changeDataSource','1448856ZhDHTf','onCommandExecuted','Event','_groupId','_row','getValue','matrix','_injector','map','_workbook','getSparklineGroupByCell','SheetSparklineChanged','_initialize','executeCommand','_col','get','_commandService','getSparkline','syncExecuteCommand','getUnitId','from','SparklineTypeEnum','getSheetId','sparklines','getSparklineCache','range','getCurrentSelections','getSparklineByCell','1529769gimnrd','ranges','sparklineAnchorMap','forEach','removeSparkline','_worksheet','removeSparklineGroup','4VFRBkt','_unitId'];_0x2a6d=function(){return _0x3bc808;};return _0x2a6d();}let C=class{constructor(_0x392ade,_0x3927d9,_0x26f3d4,_0xd31321,_0xe5b9db,_0x10e6a0){const _0x527c08=_0x1b5281;this[_0x527c08(0x188)]=_0x392ade,this[_0x527c08(0x19e)]=_0x3927d9,this[_0x527c08(0x167)]=_0x26f3d4,this['_row']=_0xd31321,this[_0x527c08(0x172)]=_0xe5b9db,this[_0x527c08(0x16b)]=_0x10e6a0;}[_0x1b5281(0x163)](_0x363fd8,_0x31ceca){const _0x2ca739=_0x1b5281,_0x439c28=this['_injector'][_0x2ca739(0x173)](_0x424dfe),_0x191897=this[_0x2ca739(0x16b)][_0x2ca739(0x173)](_0x4aee61),_0xb22525=_0x439c28[_0x2ca739(0x199)](this[_0x2ca739(0x188)],this[_0x2ca739(0x19e)],this[_0x2ca739(0x167)]);if(!_0xb22525)return;const _0x1ce647={'config':_0xb22525,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x2ca739(0x167)],'resetType':_0x2ca739(0x195),'sourceRanges':[_0x363fd8],'targetRanges':[_0x31ceca],'primary':{'startRow':this[_0x2ca739(0x168)],'startColumn':this[_0x2ca739(0x172)],'endRow':this[_0x2ca739(0x168)],'endColumn':this[_0x2ca739(0x172)],'actualRow':this[_0x2ca739(0x168)],'actualColumn':this[_0x2ca739(0x172)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x191897[_0x2ca739(0x176)](_0x2f2eca['id'],_0x1ce647),this[_0x2ca739(0x168)]=_0x31ceca['startRow'],this['_col']=_0x31ceca[_0x2ca739(0x19b)],this;}[_0x1b5281(0x184)](){const _0x47ecf7=_0x1b5281,_0x4dab1e=this[_0x47ecf7(0x16b)][_0x47ecf7(0x173)](_0x4aee61),_0x519a61={'isSingle':!0x0,'ranges':[{'startRow':this[_0x47ecf7(0x168)],'startColumn':this[_0x47ecf7(0x172)],'endRow':this[_0x47ecf7(0x168)],'endColumn':this[_0x47ecf7(0x172)]}]};_0x4dab1e[_0x47ecf7(0x176)](_0x168db9['id'],_0x519a61);}};C=H([V(0x5,_0x219188(_0x48a18f))],C);var q=Object[_0x1b5281(0x18b)],J=(_0x3862db,_0x1d2629,_0x40edc0,_0x13aaaf)=>{const _0x516d18=_0x1b5281;for(var _0x5e4158=_0x13aaaf>0x1?void 0x0:_0x13aaaf?q(_0x1d2629,_0x40edc0):_0x1d2629,_0x4918f5=_0x3862db[_0x516d18(0x18e)]-0x1,_0x1c39d1;_0x4918f5>=0x0;_0x4918f5--)(_0x1c39d1=_0x3862db[_0x4918f5])&&(_0x5e4158=_0x1c39d1(_0x5e4158)||_0x5e4158);return _0x5e4158;},K=(_0x7a400e,_0x28a895)=>(_0xbf241c,_0x31f5a9)=>_0x28a895(_0xbf241c,_0x31f5a9,_0x7a400e);let w=class{constructor(_0xec5e92,_0xffe0bf,_0x34999c,_0xf34a22,_0x544d0f,_0xba98ea){const _0x221e13=_0x1b5281;this['_unitId']=_0xec5e92,this[_0x221e13(0x19e)]=_0xffe0bf,this[_0x221e13(0x167)]=_0x34999c,this[_0x221e13(0x168)]=_0xf34a22,this[_0x221e13(0x172)]=_0x544d0f,this[_0x221e13(0x16b)]=_0xba98ea;}[_0x1b5281(0x163)](_0x2b8ae6,_0x37c1a4){const _0x50289b=_0x1b5281,_0x29043d=this[_0x50289b(0x16b)][_0x50289b(0x173)](_0x424dfe),_0x5427af=this['_injector'][_0x50289b(0x173)](_0x4aee61),_0x108a49=_0x29043d[_0x50289b(0x199)](this[_0x50289b(0x188)],this['_subUnitId'],this[_0x50289b(0x167)]);if(!_0x108a49)return;const _0x320882={'config':_0x108a49,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x50289b(0x167)],'resetType':_0x50289b(0x18c),'sourceRanges':_0x2b8ae6,'targetRanges':_0x37c1a4,'primary':{'startRow':this[_0x50289b(0x168)],'startColumn':this[_0x50289b(0x172)],'endRow':this[_0x50289b(0x168)],'endColumn':this['_col'],'actualRow':this['_row'],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x5427af['syncExecuteCommand'](_0x2f2eca['id'],_0x320882),this[_0x50289b(0x168)]=_0x37c1a4[0x0]['startRow'],this[_0x50289b(0x172)]=_0x37c1a4[0x0][_0x50289b(0x19b)],this;}[_0x1b5281(0x186)](){const _0x306bfa=_0x1b5281,_0x4ca1ba=this[_0x306bfa(0x16b)][_0x306bfa(0x173)](_0x4aee61),_0x799c83={'isSingle':!0x1,'ranges':[{'startRow':this['_row'],'startColumn':this[_0x306bfa(0x172)],'endRow':this[_0x306bfa(0x168)],'endColumn':this[_0x306bfa(0x172)]}]};_0x4ca1ba['syncExecuteCommand'](_0x168db9['id'],_0x799c83);}[_0x1b5281(0x189)](_0x56f039){const _0x1be3fd=_0x1b5281,_0x432be3=this[_0x1be3fd(0x16b)][_0x1be3fd(0x173)](_0x424dfe)[_0x1be3fd(0x199)](this[_0x1be3fd(0x188)],this[_0x1be3fd(0x19e)],this['_groupId']);if(_0x432be3){const _0x1a6c1d={'config':{'config':_0x56f039,'sparklines':_0x432be3[_0x1be3fd(0x17b)]},'isChangeDataSource':!0x1};this[_0x1be3fd(0x16b)][_0x1be3fd(0x173)](_0x4aee61)[_0x1be3fd(0x176)](_0x2f2eca['id'],_0x1a6c1d);}return this;}};w=J([K(0x5,_0x219188(_0x48a18f))],w);class L extends _0x45d745{[_0x1b5281(0x193)](_0x109a66,_0xc3664e,_0x2d1340){const _0xf501e=_0x1b5281;if(this[_0xf501e(0x174)][_0xf501e(0x176)](_0x12abc7['id'],{'sourceRanges':_0x109a66,'targetRanges':_0xc3664e,'targetInfo':{'unitId':this[_0xf501e(0x16d)][_0xf501e(0x177)](),'subUnitId':this[_0xf501e(0x185)][_0xf501e(0x17a)]()},'config':{'type':_0x2d1340}})){const {startRow:_0x5e488f,startColumn:_0x28461c}=_0xc3664e[0x0];return this[_0xf501e(0x17f)](_0x5e488f,_0x28461c);}}['getAllSubSparkline'](){const _0x483359=_0x1b5281;return this[_0x483359(0x16b)][_0x483359(0x173)](_0x424dfe)[_0x483359(0x194)](this[_0x483359(0x16d)]['getUnitId'](),this[_0x483359(0x185)][_0x483359(0x17a)]());}['composeSparkline'](_0x3b3d4d){const _0xd1ae68=_0x1b5281,_0x27393d=this[_0xd1ae68(0x16b)][_0xd1ae68(0x173)](_0x424dfe);let _0x3bfb02;for(let _0x1fd7f1=0x0;_0x1fd7f1<_0x3b3d4d[_0xd1ae68(0x18e)];_0x1fd7f1++){const _0x58b033=_0x3b3d4d[_0x1fd7f1],{startRow:_0x16537e,endRow:_0x51fb03,startColumn:_0x5d8c49,endColumn:_0x5a3374}=_0x58b033;for(let _0x461ff6=_0x16537e;_0x461ff6<=_0x51fb03;_0x461ff6++)for(let _0x389272=_0x5d8c49;_0x389272<=_0x5a3374;_0x389272++){const _0x13c7f6=_0x27393d['getSparkline'](this[_0xd1ae68(0x16d)][_0xd1ae68(0x177)](),this[_0xd1ae68(0x185)][_0xd1ae68(0x17a)](),_0x461ff6,_0x389272);if(_0x13c7f6){const _0x3afb3b=_0x27393d['getSparklineById'](this[_0xd1ae68(0x16d)][_0xd1ae68(0x177)](),this[_0xd1ae68(0x185)][_0xd1ae68(0x17a)](),_0x13c7f6);if(_0x3afb3b){_0x3bfb02=_0x54c544['deepClone'](_0x3afb3b);break;}}}}_0x3bfb02&&this['_commandService'][_0xd1ae68(0x171)](_0x2f2eca['id'],{'ranges':_0x3b3d4d,'combine':!0x0,'config':_0x3bfb02,'isChangeDataSource':!0x1});}[_0x1b5281(0x18a)](_0x53710a){const _0x81d488=_0x1b5281,_0x2badae=this[_0x81d488(0x16b)][_0x81d488(0x173)](_0x424dfe);let _0x14eaf9;for(let _0x4b9930=0x0;_0x4b9930<_0x53710a[_0x81d488(0x18e)];_0x4b9930++){const _0x4b4a4c=_0x53710a[_0x4b9930],{startRow:_0x131585,endRow:_0x123619,startColumn:_0x5bfd37,endColumn:_0x22a36b}=_0x4b4a4c;for(let _0x399df7=_0x131585;_0x399df7<=_0x123619;_0x399df7++)for(let _0x36011c=_0x5bfd37;_0x36011c<=_0x22a36b;_0x36011c++){const _0x4653b8=_0x2badae[_0x81d488(0x175)](this[_0x81d488(0x16d)][_0x81d488(0x177)](),this[_0x81d488(0x185)][_0x81d488(0x17a)](),_0x399df7,_0x36011c);if(_0x4653b8){const _0x4fb9c3=_0x2badae[_0x81d488(0x199)](this[_0x81d488(0x16d)][_0x81d488(0x177)](),this[_0x81d488(0x185)]['getSheetId'](),_0x4653b8);if(_0x4fb9c3){_0x14eaf9=_0x54c544['deepClone'](_0x4fb9c3);break;}}}}_0x14eaf9||this['_commandService']['executeCommand'](_0x2f2eca['id'],{'ranges':_0x53710a,'unCombine':!0x0,'config':_0x14eaf9,'isChangeDataSource':!0x1});}[_0x1b5281(0x17f)](_0x222e7f,_0xbf946a){const _0x5cc7ee=_0x1b5281,_0x56b6d9=this[_0x5cc7ee(0x16b)][_0x5cc7ee(0x173)](_0x424dfe),_0x2f7823=this[_0x5cc7ee(0x16d)]['getUnitId'](),_0x4728d1=this['_worksheet'][_0x5cc7ee(0x17a)](),_0x454098=_0x56b6d9[_0x5cc7ee(0x175)](_0x2f7823,_0x4728d1,_0x222e7f,_0xbf946a);if(_0x454098)return this['_injector'][_0x5cc7ee(0x18f)](C,_0x2f7823,_0x4728d1,_0x454098,_0x222e7f,_0xbf946a);}[_0x1b5281(0x16e)](_0x1814d6,_0x1c45d7){const _0x20448b=_0x1b5281,_0xd096aa=this[_0x20448b(0x16b)][_0x20448b(0x173)](_0x424dfe),_0x5430b4=this[_0x20448b(0x16d)][_0x20448b(0x177)](),_0x1f27de=this[_0x20448b(0x185)]['getSheetId'](),_0x2996cb=_0xd096aa[_0x20448b(0x175)](_0x5430b4,_0x1f27de,_0x1814d6,_0x1c45d7);if(_0x2996cb)return this[_0x20448b(0x16b)][_0x20448b(0x18f)](w,_0x5430b4,_0x1f27de,_0x2996cb,_0x1814d6,_0x1c45d7);}}_0x45d745[_0x1b5281(0x19a)](L);class Q extends _0x4d74df{get[_0x1b5281(0x179)](){return _0x5404fd;}}_0x4d74df['extend'](Q);class X extends _0x3994d7{get['SheetSparklineChanged'](){return'SheetSparklineChanged';}}_0x3994d7['extend'](X);class Y extends _0x4d0768{[_0x1b5281(0x170)](_0x178f41){const _0x58d29f=_0x1b5281,_0x675c52=_0x178f41[_0x58d29f(0x173)](_0x4aee61);this['registerEventHandler'](this[_0x58d29f(0x166)][_0x58d29f(0x16f)],()=>_0x675c52[_0x58d29f(0x165)](_0x3bd67c=>{const _0xbf1ce7=_0x58d29f;var _0x23d36b,_0x38eca5;if(_0x3bd67c['id']===_0x2f2eca['id']){const _0x544e8e=_0x3bd67c['params'];if(!_0x544e8e['isChangeDataSource']){const _0x130771=this['getActiveWorkbook'](),_0x5d6e43=_0x130771==null?void 0x0:_0x130771[_0xbf1ce7(0x197)]();if(!_0x130771||!_0x5d6e43)return;const _0x28111e=_0x130771[_0xbf1ce7(0x190)](),_0x39c248=_0x5d6e43[_0xbf1ce7(0x17a)](),_0x5c3588=this[_0xbf1ce7(0x16b)][_0xbf1ce7(0x173)](_0x358949),_0x1b3e35=this[_0xbf1ce7(0x16b)][_0xbf1ce7(0x173)](_0x424dfe),_0x5490d8=(_0x23d36b=_0x544e8e==null?void 0x0:_0x544e8e[_0xbf1ce7(0x181)])!=null?_0x23d36b:_0x5c3588[_0xbf1ce7(0x17e)]()[_0xbf1ce7(0x16c)](_0x4e91bd=>_0x4e91bd[_0xbf1ce7(0x17d)]),_0x300976=(_0x38eca5=_0x1b3e35[_0xbf1ce7(0x17c)]()[_0xbf1ce7(0x182)][_0xbf1ce7(0x173)](_0x28111e))==null?void 0x0:_0x38eca5[_0xbf1ce7(0x173)](_0x39c248),_0x4d795d=new Set();_0x5490d8[_0xbf1ce7(0x183)](_0x3b5caa=>{const _0x3374a6=_0xbf1ce7;var _0x33c05e;const {startRow:_0x4c2b7e,endRow:_0x1cbc7e,startColumn:_0x437336,endColumn:_0x129b1f}=_0x3b5caa;for(let _0x9d5f52=_0x4c2b7e;_0x9d5f52<=_0x1cbc7e;_0x9d5f52++)for(let _0x10e766=_0x437336;_0x10e766<=_0x129b1f;_0x10e766++){const _0x390143=(_0x33c05e=_0x300976==null?void 0x0:_0x300976[_0x3374a6(0x16a)][_0x3374a6(0x169)](_0x9d5f52,_0x10e766))==null?void 0x0:_0x33c05e[_0x3374a6(0x19d)];_0x390143&&_0x4d795d[_0x3374a6(0x191)](_0x390143);}});const _0x1ec084=Array[_0xbf1ce7(0x178)](_0x4d795d)[_0xbf1ce7(0x16c)](_0xbe6a68=>_0x1b3e35['getSparklineById'](_0x28111e,_0x39c248,_0xbe6a68))['filter'](_0x563bf3=>!!_0x563bf3),_0x47cb11={'workbook':_0x130771,'worksheet':_0x5d6e43,'sparklines':_0x1ec084};if(this[_0xbf1ce7(0x196)](this[_0xbf1ce7(0x166)]['SheetSparklineChanged'],_0x47cb11),_0x47cb11[_0xbf1ce7(0x19f)])throw new Error('Sheet\x20create\x20canceled\x20by\x20facade\x20api.');}}}));}}_0x4d0768[_0x1b5281(0x19a)](Y);export{C as FSparkline,w as FSparklineGroup};
|
|
1
|
+
const _0xacb77c=_0x4734;(function(_0x2f6101,_0x539200){const _0x191b69=_0x4734,_0x5e2139=_0x2f6101();while(!![]){try{const _0x42ad54=-parseInt(_0x191b69(0x1a1))/0x1+-parseInt(_0x191b69(0x1a7))/0x2+-parseInt(_0x191b69(0x1b9))/0x3*(parseInt(_0x191b69(0x19a))/0x4)+parseInt(_0x191b69(0x196))/0x5+parseInt(_0x191b69(0x1c5))/0x6+-parseInt(_0x191b69(0x19f))/0x7*(-parseInt(_0x191b69(0x199))/0x8)+parseInt(_0x191b69(0x1bf))/0x9;if(_0x42ad54===_0x539200)break;else _0x5e2139['push'](_0x5e2139['shift']());}catch(_0x3e61b5){_0x5e2139['push'](_0x5e2139['shift']());}}}(_0x56b2,0x920ef));import{SparklineDataSourceModel as _0x3fb2fc,SetSheetSparklineCommand as _0x22de4e,RemoveSheetSparklineCommand as _0x1d8bfd,AddSheetSparklineCommand as _0x4ac338,SparklineTypeEnum as _0x17ab37}from'@univerjs-pro/sheets-sparkline';import{Inject as _0x274ffb,Injector as _0x308c58,ICommandService as _0x121027,Tools as _0x46f9c4}from'@univerjs/core';import{FWorksheet as _0x5a6d18}from'@univerjs/sheets/facade';import{FEnum as _0x50738f,FEventName as _0x340222,FUniver as _0x2b8e93}from'@univerjs/core/facade';function _0x4734(_0x550472,_0x6a028c){const _0x56b27f=_0x56b2();return _0x4734=function(_0x47342f,_0xbb3ecc){_0x47342f=_0x47342f-0x18e;let _0x54933e=_0x56b27f[_0x47342f];return _0x54933e;},_0x4734(_0x550472,_0x6a028c);}import{SheetsSelectionsService as _0x5cb895}from'@univerjs/sheets';var z=Object[_0xacb77c(0x1b4)],H=(_0xe6faf7,_0x2d6151,_0x316f23,_0x2d6084)=>{const _0x1de050=_0xacb77c;for(var _0x118b5b=_0x2d6084>0x1?void 0x0:_0x2d6084?z(_0x2d6151,_0x316f23):_0x2d6151,_0x35a077=_0xe6faf7[_0x1de050(0x1c0)]-0x1,_0x4863e5;_0x35a077>=0x0;_0x35a077--)(_0x4863e5=_0xe6faf7[_0x35a077])&&(_0x118b5b=_0x4863e5(_0x118b5b)||_0x118b5b);return _0x118b5b;},V=(_0x3de166,_0x13c476)=>(_0x2f5a5c,_0x2fc8c7)=>_0x13c476(_0x2f5a5c,_0x2fc8c7,_0x3de166);let C=class{constructor(_0x54ea21,_0x5c18ff,_0x4e8e34,_0x50db90,_0x405e8c,_0x959337){const _0x40ea6e=_0xacb77c;this[_0x40ea6e(0x195)]=_0x54ea21,this[_0x40ea6e(0x1c1)]=_0x5c18ff,this['_groupId']=_0x4e8e34,this[_0x40ea6e(0x1ca)]=_0x50db90,this[_0x40ea6e(0x1bb)]=_0x405e8c,this[_0x40ea6e(0x1a3)]=_0x959337;}[_0xacb77c(0x1ac)](_0x1992d3,_0x2bf307){const _0x4a1eae=_0xacb77c,_0x38d117=this[_0x4a1eae(0x1a3)][_0x4a1eae(0x1ad)](_0x3fb2fc),_0x10fffb=this[_0x4a1eae(0x1a3)]['get'](_0x121027),_0x5e3b3d=_0x38d117[_0x4a1eae(0x1b7)](this[_0x4a1eae(0x195)],this[_0x4a1eae(0x1c1)],this['_groupId']);if(!_0x5e3b3d)return;const _0x168b6b={'config':_0x5e3b3d,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x4a1eae(0x193)],'resetType':'item','sourceRanges':[_0x1992d3],'targetRanges':[_0x2bf307],'primary':{'startRow':this[_0x4a1eae(0x1ca)],'startColumn':this[_0x4a1eae(0x1bb)],'endRow':this[_0x4a1eae(0x1ca)],'endColumn':this[_0x4a1eae(0x1bb)],'actualRow':this[_0x4a1eae(0x1ca)],'actualColumn':this[_0x4a1eae(0x1bb)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x10fffb[_0x4a1eae(0x1a4)](_0x22de4e['id'],_0x168b6b),this['_row']=_0x2bf307[_0x4a1eae(0x1a0)],this[_0x4a1eae(0x1bb)]=_0x2bf307[_0x4a1eae(0x1c2)],this;}[_0xacb77c(0x1b6)](){const _0x4113a9=_0xacb77c,_0x4de56c=this[_0x4113a9(0x1a3)][_0x4113a9(0x1ad)](_0x121027),_0x57aa06={'isSingle':!0x0,'ranges':[{'startRow':this['_row'],'startColumn':this[_0x4113a9(0x1bb)],'endRow':this[_0x4113a9(0x1ca)],'endColumn':this[_0x4113a9(0x1bb)]}]};_0x4de56c['syncExecuteCommand'](_0x1d8bfd['id'],_0x57aa06);}};C=H([V(0x5,_0x274ffb(_0x308c58))],C);function _0x56b2(){const _0x1ad0bf=['matrix','removeSparkline','getSparklineById','forEach','27GdHink','getAllSubSparkline','_col','from','unComposeSparkline','filter','3606786wyCPuT','length','_subUnitId','startColumn','getSparklineCache','extend','925404EaNqbp','getUnitId','getSheetId','composeSparkline','getSparklineGroupByCell','_row','getActiveWorkbook','groupId','registerEventHandler','sparklines','_commandService','_groupId','_workbook','_unitId','2437085iLCnCb','Event','onCommandExecuted','8qJekba','376036NzHbWB','_worksheet','map','params','fireEvent','6252841OrGjiA','startRow','58654YFJtRN','ranges','_injector','syncExecuteCommand','createInstance','deepClone','865356uofLwZ','SheetSparklineChanged','getSparklineByCell','SparklineTypeEnum','isChangeDataSource','changeDataSource','get','addSparkline','range','executeCommand','getSubUnitSparkline','getActiveSheet','getSparkline','getOwnPropertyDescriptor'];_0x56b2=function(){return _0x1ad0bf;};return _0x56b2();}var q=Object[_0xacb77c(0x1b4)],J=(_0x1018c6,_0x5c3c25,_0x30f672,_0x4a7aad)=>{const _0x2c7ac1=_0xacb77c;for(var _0x540266=_0x4a7aad>0x1?void 0x0:_0x4a7aad?q(_0x5c3c25,_0x30f672):_0x5c3c25,_0x5ac688=_0x1018c6[_0x2c7ac1(0x1c0)]-0x1,_0x552d78;_0x5ac688>=0x0;_0x5ac688--)(_0x552d78=_0x1018c6[_0x5ac688])&&(_0x540266=_0x552d78(_0x540266)||_0x540266);return _0x540266;},K=(_0x1e14a3,_0xcdb5a5)=>(_0x24315a,_0x7ee654)=>_0xcdb5a5(_0x24315a,_0x7ee654,_0x1e14a3);let w=class{constructor(_0x21e902,_0x2fc7bf,_0x256157,_0xb4e01d,_0x5472ee,_0x214b2a){const _0x52ac6f=_0xacb77c;this['_unitId']=_0x21e902,this['_subUnitId']=_0x2fc7bf,this[_0x52ac6f(0x193)]=_0x256157,this['_row']=_0xb4e01d,this[_0x52ac6f(0x1bb)]=_0x5472ee,this['_injector']=_0x214b2a;}[_0xacb77c(0x1ac)](_0x11a87d,_0xe16496){const _0x219d2f=_0xacb77c,_0x1cc04e=this[_0x219d2f(0x1a3)][_0x219d2f(0x1ad)](_0x3fb2fc),_0x2f3f24=this[_0x219d2f(0x1a3)][_0x219d2f(0x1ad)](_0x121027),_0x3eead7=_0x1cc04e[_0x219d2f(0x1b7)](this['_unitId'],this[_0x219d2f(0x1c1)],this[_0x219d2f(0x193)]);if(!_0x3eead7)return;const _0x3eb9dd={'config':_0x3eead7,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x219d2f(0x193)],'resetType':'group','sourceRanges':_0x11a87d,'targetRanges':_0xe16496,'primary':{'startRow':this[_0x219d2f(0x1ca)],'startColumn':this['_col'],'endRow':this[_0x219d2f(0x1ca)],'endColumn':this[_0x219d2f(0x1bb)],'actualRow':this['_row'],'actualColumn':this[_0x219d2f(0x1bb)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x2f3f24[_0x219d2f(0x1a4)](_0x22de4e['id'],_0x3eb9dd),this[_0x219d2f(0x1ca)]=_0xe16496[0x0][_0x219d2f(0x1a0)],this[_0x219d2f(0x1bb)]=_0xe16496[0x0][_0x219d2f(0x1c2)],this;}['removeSparklineGroup'](){const _0x50689e=_0xacb77c,_0x5df6c5=this[_0x50689e(0x1a3)]['get'](_0x121027),_0x5e463e={'isSingle':!0x1,'ranges':[{'startRow':this[_0x50689e(0x1ca)],'startColumn':this[_0x50689e(0x1bb)],'endRow':this[_0x50689e(0x1ca)],'endColumn':this[_0x50689e(0x1bb)]}]};_0x5df6c5[_0x50689e(0x1a4)](_0x1d8bfd['id'],_0x5e463e);}['setConfig'](_0x462099){const _0x13cc43=_0xacb77c,_0x41fbc2=this[_0x13cc43(0x1a3)][_0x13cc43(0x1ad)](_0x3fb2fc)[_0x13cc43(0x1b7)](this[_0x13cc43(0x195)],this[_0x13cc43(0x1c1)],this[_0x13cc43(0x193)]);if(_0x41fbc2){const _0x505870={'config':{'config':_0x462099,'sparklines':_0x41fbc2[_0x13cc43(0x191)]},'isChangeDataSource':!0x1};this['_injector'][_0x13cc43(0x1ad)](_0x121027)[_0x13cc43(0x1a4)](_0x22de4e['id'],_0x505870);}return this;}};w=J([K(0x5,_0x274ffb(_0x308c58))],w);class L extends _0x5a6d18{[_0xacb77c(0x1ae)](_0x54eb10,_0x3bc6ae,_0x2f1fc6){const _0x21d7d5=_0xacb77c;if(this[_0x21d7d5(0x192)][_0x21d7d5(0x1a4)](_0x4ac338['id'],{'sourceRanges':_0x54eb10,'targetRanges':_0x3bc6ae,'targetInfo':{'unitId':this[_0x21d7d5(0x194)][_0x21d7d5(0x1c6)](),'subUnitId':this[_0x21d7d5(0x19b)][_0x21d7d5(0x1c7)]()},'config':{'type':_0x2f1fc6}})){const {startRow:_0x331dda,startColumn:_0x217fb1}=_0x3bc6ae[0x0];return this[_0x21d7d5(0x1a9)](_0x331dda,_0x217fb1);}}[_0xacb77c(0x1ba)](){const _0x2878fe=_0xacb77c;return this[_0x2878fe(0x1a3)][_0x2878fe(0x1ad)](_0x3fb2fc)[_0x2878fe(0x1b1)](this[_0x2878fe(0x194)][_0x2878fe(0x1c6)](),this[_0x2878fe(0x19b)][_0x2878fe(0x1c7)]());}[_0xacb77c(0x1c8)](_0x228d5e){const _0x33b8af=_0xacb77c,_0x209abd=this[_0x33b8af(0x1a3)][_0x33b8af(0x1ad)](_0x3fb2fc);let _0x372aab;for(let _0x5bb504=0x0;_0x5bb504<_0x228d5e['length'];_0x5bb504++){const _0x5a65a0=_0x228d5e[_0x5bb504],{startRow:_0x1c6d06,endRow:_0x2c1c85,startColumn:_0x290481,endColumn:_0x15b307}=_0x5a65a0;for(let _0x254802=_0x1c6d06;_0x254802<=_0x2c1c85;_0x254802++)for(let _0x41d809=_0x290481;_0x41d809<=_0x15b307;_0x41d809++){const _0x514d5a=_0x209abd[_0x33b8af(0x1b3)](this[_0x33b8af(0x194)][_0x33b8af(0x1c6)](),this[_0x33b8af(0x19b)][_0x33b8af(0x1c7)](),_0x254802,_0x41d809);if(_0x514d5a){const _0x57733b=_0x209abd[_0x33b8af(0x1b7)](this['_workbook'][_0x33b8af(0x1c6)](),this[_0x33b8af(0x19b)]['getSheetId'](),_0x514d5a);if(_0x57733b){_0x372aab=_0x46f9c4[_0x33b8af(0x1a6)](_0x57733b);break;}}}}_0x372aab&&this[_0x33b8af(0x192)][_0x33b8af(0x1b0)](_0x22de4e['id'],{'ranges':_0x228d5e,'combine':!0x0,'config':_0x372aab,'isChangeDataSource':!0x1});}[_0xacb77c(0x1bd)](_0x2979df){const _0x11fa47=_0xacb77c,_0x3fbb05=this['_injector']['get'](_0x3fb2fc);let _0x540615;for(let _0x10c293=0x0;_0x10c293<_0x2979df[_0x11fa47(0x1c0)];_0x10c293++){const _0x13d068=_0x2979df[_0x10c293],{startRow:_0x36cb8c,endRow:_0x409859,startColumn:_0x29f2ce,endColumn:_0x2abb33}=_0x13d068;for(let _0x35a5a9=_0x36cb8c;_0x35a5a9<=_0x409859;_0x35a5a9++)for(let _0x4448c9=_0x29f2ce;_0x4448c9<=_0x2abb33;_0x4448c9++){const _0x4d591a=_0x3fbb05[_0x11fa47(0x1b3)](this[_0x11fa47(0x194)][_0x11fa47(0x1c6)](),this[_0x11fa47(0x19b)][_0x11fa47(0x1c7)](),_0x35a5a9,_0x4448c9);if(_0x4d591a){const _0x4fe332=_0x3fbb05['getSparklineById'](this[_0x11fa47(0x194)][_0x11fa47(0x1c6)](),this[_0x11fa47(0x19b)]['getSheetId'](),_0x4d591a);if(_0x4fe332){_0x540615=_0x46f9c4[_0x11fa47(0x1a6)](_0x4fe332);break;}}}}_0x540615||this['_commandService'][_0x11fa47(0x1b0)](_0x22de4e['id'],{'ranges':_0x2979df,'unCombine':!0x0,'config':_0x540615,'isChangeDataSource':!0x1});}[_0xacb77c(0x1a9)](_0x32e94e,_0x185126){const _0x21baa4=_0xacb77c,_0x3aa432=this[_0x21baa4(0x1a3)][_0x21baa4(0x1ad)](_0x3fb2fc),_0x188f96=this[_0x21baa4(0x194)][_0x21baa4(0x1c6)](),_0x538e41=this[_0x21baa4(0x19b)][_0x21baa4(0x1c7)](),_0x2c049a=_0x3aa432[_0x21baa4(0x1b3)](_0x188f96,_0x538e41,_0x32e94e,_0x185126);if(_0x2c049a)return this[_0x21baa4(0x1a3)][_0x21baa4(0x1a5)](C,_0x188f96,_0x538e41,_0x2c049a,_0x32e94e,_0x185126);}[_0xacb77c(0x1c9)](_0x48af35,_0x3fb45d){const _0x5a1f14=_0xacb77c,_0x26fde8=this[_0x5a1f14(0x1a3)][_0x5a1f14(0x1ad)](_0x3fb2fc),_0x503ce8=this[_0x5a1f14(0x194)]['getUnitId'](),_0x5b5726=this[_0x5a1f14(0x19b)][_0x5a1f14(0x1c7)](),_0x1cb975=_0x26fde8[_0x5a1f14(0x1b3)](_0x503ce8,_0x5b5726,_0x48af35,_0x3fb45d);if(_0x1cb975)return this['_injector'][_0x5a1f14(0x1a5)](w,_0x503ce8,_0x5b5726,_0x1cb975,_0x48af35,_0x3fb45d);}}_0x5a6d18[_0xacb77c(0x1c4)](L);class Q extends _0x50738f{get[_0xacb77c(0x1aa)](){return _0x17ab37;}}_0x50738f[_0xacb77c(0x1c4)](Q);class X extends _0x340222{get[_0xacb77c(0x1a8)](){const _0x27d8b0=_0xacb77c;return _0x27d8b0(0x1a8);}}_0x340222[_0xacb77c(0x1c4)](X);class Y extends _0x2b8e93{['_initialize'](_0x5d2489){const _0x4fd30a=_0xacb77c,_0x406374=_0x5d2489[_0x4fd30a(0x1ad)](_0x121027);this[_0x4fd30a(0x190)](this[_0x4fd30a(0x197)][_0x4fd30a(0x1a8)],()=>_0x406374[_0x4fd30a(0x198)](_0x3c39de=>{const _0x48c9b9=_0x4fd30a;var _0x17a5b2,_0x22cb07;if(_0x3c39de['id']===_0x22de4e['id']){const _0x4531fb=_0x3c39de[_0x48c9b9(0x19d)];if(!_0x4531fb[_0x48c9b9(0x1ab)]){const _0xda9e9=this[_0x48c9b9(0x18e)](),_0x3d42e9=_0xda9e9==null?void 0x0:_0xda9e9[_0x48c9b9(0x1b2)]();if(!_0xda9e9||!_0x3d42e9)return;const _0x555052=_0xda9e9['getId'](),_0x1eab40=_0x3d42e9[_0x48c9b9(0x1c7)](),_0x15c484=this[_0x48c9b9(0x1a3)][_0x48c9b9(0x1ad)](_0x5cb895),_0x3bbfcd=this[_0x48c9b9(0x1a3)][_0x48c9b9(0x1ad)](_0x3fb2fc),_0x5b107d=(_0x17a5b2=_0x4531fb==null?void 0x0:_0x4531fb[_0x48c9b9(0x1a2)])!=null?_0x17a5b2:_0x15c484['getCurrentSelections']()[_0x48c9b9(0x19c)](_0x24046c=>_0x24046c[_0x48c9b9(0x1af)]),_0xcd8745=(_0x22cb07=_0x3bbfcd[_0x48c9b9(0x1c3)]()['sparklineAnchorMap'][_0x48c9b9(0x1ad)](_0x555052))==null?void 0x0:_0x22cb07[_0x48c9b9(0x1ad)](_0x1eab40),_0x32de00=new Set();_0x5b107d[_0x48c9b9(0x1b8)](_0x2d4172=>{const _0x4cef5d=_0x48c9b9;var _0x31f33d;const {startRow:_0x56664f,endRow:_0x502bd7,startColumn:_0x3f7cfe,endColumn:_0x326cba}=_0x2d4172;for(let _0x74ba5d=_0x56664f;_0x74ba5d<=_0x502bd7;_0x74ba5d++)for(let _0x46b388=_0x3f7cfe;_0x46b388<=_0x326cba;_0x46b388++){const _0x4cf765=(_0x31f33d=_0xcd8745==null?void 0x0:_0xcd8745[_0x4cef5d(0x1b5)]['getValue'](_0x74ba5d,_0x46b388))==null?void 0x0:_0x31f33d[_0x4cef5d(0x18f)];_0x4cf765&&_0x32de00['add'](_0x4cf765);}});const _0x4b0437=Array[_0x48c9b9(0x1bc)](_0x32de00)[_0x48c9b9(0x19c)](_0x50dd6d=>_0x3bbfcd[_0x48c9b9(0x1b7)](_0x555052,_0x1eab40,_0x50dd6d))[_0x48c9b9(0x1be)](_0x561fb4=>!!_0x561fb4),_0x243c71={'workbook':_0xda9e9,'worksheet':_0x3d42e9,'sparklines':_0x4b0437};if(this[_0x48c9b9(0x19e)](this['Event'][_0x48c9b9(0x1a8)],_0x243c71),_0x243c71['cancel'])throw new Error('Sheet\x20create\x20canceled\x20by\x20facade\x20api.');}}}));}}_0x2b8e93[_0xacb77c(0x1c4)](Y);export{C as FSparkline,w as FSparklineGroup};
|