@univerjs-pro/sheets-sparkline 0.9.1-nightly.202507061606 → 0.9.1-nightly.202507081607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x45e80d=_0x2c0b;(function(_0x181309,_0x4e42b6){const _0x2d9741=_0x2c0b,_0x427151=_0x181309();while(!![]){try{const _0x5471d0=parseInt(_0x2d9741(0x194))/0x1+parseInt(_0x2d9741(0x154))/0x2+-parseInt(_0x2d9741(0x17e))/0x3+-parseInt(_0x2d9741(0x1b9))/0x4*(-parseInt(_0x2d9741(0x1ac))/0x5)+parseInt(_0x2d9741(0x111))/0x6+parseInt(_0x2d9741(0x110))/0x7*(-parseInt(_0x2d9741(0x18a))/0x8)+-parseInt(_0x2d9741(0x1ba))/0x9*(parseInt(_0x2d9741(0x158))/0xa);if(_0x5471d0===_0x4e42b6)break;else _0x427151['push'](_0x427151['shift']());}catch(_0x1dcebc){_0x427151['push'](_0x427151['shift']());}}}(_0x2f05,0xc54b3));var qe=Object[_0x45e80d(0x121)],Qe=(_0xde077b,_0x3de055,_0x3bc227)=>_0x3de055 in _0xde077b?qe(_0xde077b,_0x3de055,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bc227}):_0xde077b[_0x3de055]=_0x3bc227,se=(_0x28e5ee,_0x1efb0b,_0x135a36)=>Qe(_0x28e5ee,typeof _0x1efb0b!=_0x45e80d(0x14f)?_0x1efb0b+'':_0x1efb0b,_0x135a36);import{UniverLicensePlugin as _0xb2b99b}from'@univerjs-pro/license';import{ObjectMatrix as _0xfdd5d0,Inject as _0x5ab3cf,IUniverInstanceService as _0x4dc04a,Disposable as _0x47d650,isValidRange as _0x3938d7,CellValueType as _0x2ee371,ColorKit as _0xc3c67,CommandType as _0x14fdb3,Range as _0x18604f,IUndoRedoService as _0x57456c,generateRandomId as _0x74b7b5,ICommandService as _0x3f8c98,Tools as _0x51634e,sequenceExecute as _0x1aee3d,Rectangle as _0x2c02f8,cellToRange as _0x286593,DisposableCollection as _0x5480ea,RANGE_TYPE as _0x19dc3e,UniverInstanceType as _0x565480,IResourceManagerService as _0x3737a1,DependentOn as _0x1abe31,Injector as _0x3ed739,Plugin as _0x45635f,touchDependencies as _0x419cb3}from'@univerjs/core';import{getSheetCommandTarget as _0x10faa1,SheetsSelectionsService as _0x24b590,SheetInterceptorService as _0x4f9f4f,ClearSelectionAllCommand as _0xe8479e,CopySheetCommand as _0x13c9a3,IExclusiveRangeService as _0x1ac370,SetRangeValuesMutation as _0x5250ca,ReorderRangeMutation as _0x2aeda9,SetRowHiddenMutation as _0x26c9e6,SetColHiddenMutation as _0x1f6eb0,SetRowVisibleMutation as _0x494708,SetColVisibleMutation as _0x26b501,AddWorksheetMergeCommand as _0x4674ea,RefRangeService as _0x23cc9c,SetWorksheetActivateCommand as _0x2b370c,RemoveRowCommand as _0x35e77e,RemoveColCommand as _0x27cc3f,adjustRangeOnMutation as _0x2ef67c,RemoveRowMutation as _0xebed7d,RemoveColMutation as _0x107df9,InsertColMutation as _0x1d40aa,InsertRowMutation as _0x1880ec,MoveColsMutation as _0x466367,MoveRowsMutation as _0x14c34e,MoveRangeMutation as _0x201ae9}from'@univerjs/sheets';import{Subject as _0xbb0f5}from'rxjs';function Fe(_0x4f599e,_0x3a39e2){const _0x65392c=_0x45e80d,_0x2e9554=new _0xfdd5d0(),_0x4366a2=[],_0x41e5af=_0x4f599e[_0x65392c(0x149)]>0x1;let _0x4b9ac8=0x0,_0x79de14=0x0;for(const _0x5172a1 of _0x4f599e)_0x4b9ac8+=_0x5172a1['endRow']-_0x5172a1[_0x65392c(0x18c)]+0x1,_0x79de14+=_0x5172a1['endColumn']-_0x5172a1[_0x65392c(0x114)]+0x1;for(const _0x3a5227 of _0x3a39e2)for(let _0x2bf412=_0x3a5227[_0x65392c(0x18c)];_0x2bf412<=_0x3a5227[_0x65392c(0x15d)];_0x2bf412++)for(let _0x936e64=_0x3a5227[_0x65392c(0x114)];_0x936e64<=_0x3a5227[_0x65392c(0x1a0)];_0x936e64++)_0x4366a2[_0x65392c(0x174)]({'row':_0x2bf412,'column':_0x936e64});if(_0x4366a2[_0x65392c(0x149)]===_0x4b9ac8)_0x41e5af?_0x4366a2['forEach']((_0x2b456c,_0x500c86)=>{const _0x5bd617=_0x65392c,_0x4d2356=_0x4f599e[_0x500c86],_0x5df556={'startRow':_0x4d2356[_0x5bd617(0x18c)],'startColumn':_0x4d2356['startColumn'],'endRow':_0x4d2356[_0x5bd617(0x18c)],'endColumn':_0x4d2356[_0x5bd617(0x1a0)]};_0x2e9554[_0x5bd617(0x14b)](_0x2b456c[_0x5bd617(0x168)],_0x2b456c[_0x5bd617(0x15c)],_0x5df556);}):_0x4366a2[_0x65392c(0x124)]((_0x106837,_0x490a0d)=>{const _0x4d255c=_0x65392c,_0x46a22f=_0x4f599e[0x0],_0x136884={'startRow':_0x46a22f[_0x4d255c(0x18c)]+_0x490a0d,'startColumn':_0x46a22f[_0x4d255c(0x114)],'endRow':_0x46a22f[_0x4d255c(0x18c)]+_0x490a0d,'endColumn':_0x46a22f['endColumn']};_0x2e9554[_0x4d255c(0x14b)](_0x106837[_0x4d255c(0x168)],_0x106837[_0x4d255c(0x15c)],_0x136884);});else{if(_0x4366a2[_0x65392c(0x149)]===_0x79de14)_0x41e5af?_0x4366a2[_0x65392c(0x124)]((_0x2bed13,_0x4a7db8)=>{const _0x41788e=_0x65392c,_0x247125=_0x4f599e[_0x4a7db8],_0x3ed5dc={'startRow':_0x247125[_0x41788e(0x18c)],'startColumn':_0x247125[_0x41788e(0x114)],'endRow':_0x247125[_0x41788e(0x15d)],'endColumn':_0x247125[_0x41788e(0x114)]};_0x2e9554['setValue'](_0x2bed13[_0x41788e(0x168)],_0x2bed13['column'],_0x3ed5dc);}):_0x4366a2[_0x65392c(0x124)]((_0x56671c,_0x5e2a74)=>{const _0x2e082b=_0x65392c,_0x307925=_0x4f599e[0x0],_0x2e7113={'startRow':_0x307925[_0x2e082b(0x18c)],'startColumn':_0x307925[_0x2e082b(0x114)]+_0x5e2a74,'endRow':_0x307925[_0x2e082b(0x15d)],'endColumn':_0x307925['startColumn']+_0x5e2a74};_0x2e9554[_0x2e082b(0x14b)](_0x56671c[_0x2e082b(0x168)],_0x56671c[_0x2e082b(0x15c)],_0x2e7113);});else{if(_0x4366a2[_0x65392c(0x149)]===_0x4f599e[_0x65392c(0x149)])_0x4f599e['every'](_0x5d62da=>!(_0x5d62da[_0x65392c(0x18c)]!==_0x5d62da[_0x65392c(0x15d)]&&_0x5d62da[_0x65392c(0x114)]!==_0x5d62da[_0x65392c(0x1a0)]))&&_0x4366a2[_0x65392c(0x124)]((_0x4a36b8,_0x33cdc8)=>{const _0x19445a=_0x65392c,_0x3b98de=_0x4f599e[_0x33cdc8];_0x2e9554[_0x19445a(0x14b)](_0x4a36b8[_0x19445a(0x168)],_0x4a36b8[_0x19445a(0x15c)],_0x3b98de);});else throw new Error(_0x65392c(0x156));}}return _0x2e9554;}const Ke=_0x45e80d(0x177),Le={'standard':[_0x45e80d(0x13d),'rgb(236,100,169)'],'specialty':[_0x45e80d(0x1b0),_0x45e80d(0x183)],'distinctive':[_0x45e80d(0x150),_0x45e80d(0x15a)],'soft':['rgb(80,102,248)',_0x45e80d(0x14e)],'fresh':[_0x45e80d(0x1a9),'rgb(248,190,21)']},on=[_0x45e80d(0x19b),_0x45e80d(0x188),_0x45e80d(0x192),_0x45e80d(0x187),_0x45e80d(0x19a),_0x45e80d(0x19e)];var Xe=(_0x38fbd0=>(_0x38fbd0[_0x45e80d(0x153)]=_0x45e80d(0x144),_0x38fbd0[_0x45e80d(0x162)]=_0x45e80d(0x14c),_0x38fbd0[_0x45e80d(0x185)]=_0x45e80d(0x1c0),_0x38fbd0[_0x45e80d(0x169)]='soft',_0x38fbd0[_0x45e80d(0x13f)]=_0x45e80d(0x15f),_0x38fbd0['CUSTOM']=_0x45e80d(0x1af),_0x38fbd0))(Xe||{}),Dt=(_0x52a66b=>(_0x52a66b[_0x52a66b['LINE_CHART']=0x1]='LINE_CHART',_0x52a66b[_0x52a66b['BAR_CHART']=0x2]=_0x45e80d(0x127),_0x52a66b[_0x52a66b[_0x45e80d(0x173)]=0x3]='PROFIT_AND_LOSS_CHART',_0x52a66b[_0x52a66b[_0x45e80d(0x11f)]=0x4]=_0x45e80d(0x11f),_0x52a66b))(Dt||{}),J=(_0x12e8d3=>(_0x12e8d3[_0x45e80d(0x12b)]=_0x45e80d(0x155),_0x12e8d3[_0x45e80d(0x19d)]='zero_value',_0x12e8d3[_0x45e80d(0x161)]=_0x45e80d(0x113),_0x12e8d3))(J||{}),Ee=(_0xf24cb5=>(_0xf24cb5[_0xf24cb5['SELF_EXTREMUM']=0x1]=_0x45e80d(0x1b6),_0xf24cb5[_0xf24cb5[_0x45e80d(0x146)]=0x2]=_0x45e80d(0x146),_0xf24cb5[_0xf24cb5[_0x45e80d(0x1b5)]=0x3]='CUSTOM_EXTREMUM',_0xf24cb5))(Ee||{}),Et=Object['getOwnPropertyDescriptor'],Vt=(_0x252615,_0x1a344d,_0x1a2b21,_0x318340)=>{for(var _0x2875f2=_0x318340>0x1?void 0x0:_0x318340?Et(_0x1a344d,_0x1a2b21):_0x1a344d,_0x118c67=_0x252615['length']-0x1,_0x33aff0;_0x118c67>=0x0;_0x118c67--)(_0x33aff0=_0x252615[_0x118c67])&&(_0x2875f2=_0x33aff0(_0x2875f2)||_0x2875f2);return _0x2875f2;},yt=(_0x1a91a3,_0x1741f0)=>(_0x25d034,_0x106750)=>_0x1741f0(_0x25d034,_0x106750,_0x1a91a3);let x=class extends _0x47d650{constructor(_0x7d759){const _0xf6b6f0=_0x45e80d;super(),se(this,'_sparklineModel',new Map()),se(this,_0xf6b6f0(0x1a8),new Map()),se(this,'_updateConfig$',new _0xbb0f5()),se(this,_0xf6b6f0(0x16a),this[_0xf6b6f0(0x11c)][_0xf6b6f0(0x112)]()),this[_0xf6b6f0(0x14a)]=_0x7d759;}['_ensureConfigMap'](_0xdd3f86,_0x30ebd9){const _0x407e06=_0x45e80d;let _0x4efa8c=this[_0x407e06(0x131)][_0x407e06(0x180)](_0xdd3f86);_0x4efa8c||(_0x4efa8c=new Map(),this['_sparklineModel'][_0x407e06(0x140)](_0xdd3f86,_0x4efa8c));let _0x2ee715=_0x4efa8c[_0x407e06(0x180)](_0x30ebd9);return _0x2ee715||(_0x2ee715=new Map(),_0x4efa8c[_0x407e06(0x140)](_0x30ebd9,_0x2ee715)),_0x2ee715;}[_0x45e80d(0x165)](_0x1de21f,_0x4eb782){const _0x59f1b7=_0x45e80d;let _0x1273f7=this[_0x59f1b7(0x1a8)][_0x59f1b7(0x180)](_0x1de21f);_0x1273f7||(_0x1273f7=new Map(),this[_0x59f1b7(0x1a8)]['set'](_0x1de21f,_0x1273f7));let _0x4d4a10=_0x1273f7['get'](_0x4eb782);return _0x4d4a10||(_0x4d4a10={'matrix':new _0xfdd5d0(),'extra':{}},_0x1273f7[_0x59f1b7(0x140)](_0x4eb782,_0x4d4a10)),_0x4d4a10;}[_0x45e80d(0x1b4)](_0x449625,_0x1435ad,_0x4abee3,_0x4db2ee=_0x45e80d(0x140)){const _0xb0d64e=_0x45e80d;var _0x84a0b1,_0x298c16,_0x213ada,_0x42fff9,_0x283389,_0x4b3bfd,_0x45568c,_0x4d4cee,_0x49d91a,_0x24e4cb,_0x16cba6,_0x3c5972,_0x4916a6;const _0x2dad1d=(_0x298c16=(_0x84a0b1=this['_sparklineModel'][_0xb0d64e(0x180)](_0x449625))==null?void 0x0:_0x84a0b1[_0xb0d64e(0x180)](_0x1435ad))==null?void 0x0:_0x298c16[_0xb0d64e(0x180)](_0x4abee3);if(!_0x2dad1d)return;const _0x3fca0e=_0x10faa1(this['_univerInstanceService'],{'unitId':_0x449625,'subUnitId':_0x1435ad});if(!_0x3fca0e)return;const _0x4ba2aa=this['_ensureAnchorMatrix'](_0x449625,_0x1435ad),{extra:_0x561fe2,matrix:_0x125886}=_0x4ba2aa,{worksheet:_0xb89741}=_0x3fca0e;let _0x503604=Number[_0xb0d64e(0x164)],_0x1951d9=Number[_0xb0d64e(0x123)];const _0x4e3f02=(_0x213ada=_0x2dad1d[_0xb0d64e(0x1be)][_0xb0d64e(0x125)])!=null?_0x213ada:!0x1;_0x2dad1d[_0xb0d64e(0x1bc)]['forValue']((_0x1d9245,_0x247c0e,_0x2696dc)=>{const _0x13c72e=_0xb0d64e;var _0x3ce759,_0x5b5989,_0x2cc814;const _0x15e381=_0x2696dc;let _0x4a51c8=Number['MIN_SAFE_INTEGER'],_0x2b0758=Number[_0x13c72e(0x123)],_0x4cff75=0x0,_0x205cfc=0x0;const _0x3889d5=[];if(!_0x3938d7(_0x15e381))_0x125886[_0x13c72e(0x14b)](_0x1d9245,_0x247c0e,{'groupId':_0x4abee3,'data':[],'max':_0x4a51c8,'min':_0x2b0758,'highIndex':_0x4cff75,'lowIndex':_0x205cfc,'negativeIndexes':_0x3889d5});else{const _0x139da5=[];for(let _0x2436f5=_0x15e381[_0x13c72e(0x18c)];_0x2436f5<=_0x15e381[_0x13c72e(0x15d)];_0x2436f5++){for(let _0x2baa40=_0x15e381[_0x13c72e(0x114)];_0x2baa40<=_0x15e381[_0x13c72e(0x1a0)];_0x2baa40++){const _0x574171=_0xb89741[_0x13c72e(0x170)](_0x2436f5),_0x40477b=_0xb89741[_0x13c72e(0x159)](_0x2baa40);if(!_0x4e3f02&&(!_0x574171||!_0x40477b))continue;let _0x24fd01=0x0;const _0x45b7a2=((_0x3ce759=_0xb89741[_0x13c72e(0x1a5)](_0x2436f5,_0x2baa40))==null?void 0x0:_0x3ce759['v'])!==void 0x0?_0xb89741[_0x13c72e(0x1a5)](_0x2436f5,_0x2baa40):_0xb89741['getCell'](_0x2436f5,_0x2baa40);if(!_0x45b7a2||_0x45b7a2['v']===void 0x0||_0x45b7a2['v']===null){const _0x367686=(_0x5b5989=_0x2dad1d['config'][_0x13c72e(0x175)])!=null?_0x5b5989:J[_0x13c72e(0x12b)];_0x367686===J[_0x13c72e(0x19d)]?_0x24fd01=0x0:_0x367686===J['SPACING']?_0x24fd01='u-spacing':_0x367686===J[_0x13c72e(0x161)]&&(_0x24fd01=_0x13c72e(0x143));}else{if(_0x45b7a2['t']===_0x2ee371[_0x13c72e(0x167)]||_0x45b7a2['t']===_0x2ee371[_0x13c72e(0x1bb)]){const _0x132184=(_0x2cc814=_0x2dad1d[_0x13c72e(0x1be)][_0x13c72e(0x1a6)])!=null?_0x2cc814:J[_0x13c72e(0x12b)];_0x132184===J[_0x13c72e(0x19d)]?_0x24fd01=0x0:_0x132184===J['SPACING']?_0x24fd01='u-spacing':_0x132184===J[_0x13c72e(0x161)]&&(_0x24fd01=_0x13c72e(0x143));}else _0x45b7a2['t']===_0x2ee371[_0x13c72e(0x17a)]?_0x24fd01=_0x45b7a2['v']?0x1:0x0:_0x45b7a2['t']===_0x2ee371['NUMBER']?_0x24fd01=Number(_0x45b7a2['v']):_0x24fd01=_0x45b7a2['v'];}if(_0x139da5[_0x13c72e(0x174)](_0x24fd01),typeof _0x24fd01==_0x13c72e(0x191)){_0x4a51c8=Math[_0x13c72e(0x10d)](_0x4a51c8,_0x24fd01),_0x503604=Math['max'](_0x503604,_0x24fd01),_0x1951d9=Math[_0x13c72e(0x16e)](_0x1951d9,_0x24fd01),_0x2b0758=Math['min'](_0x2b0758,_0x24fd01);const _0x299e29=typeof _0x139da5[_0x4cff75]==_0x13c72e(0x191)?Number(_0x139da5[_0x4cff75]):Number[_0x13c72e(0x164)];_0x24fd01>_0x299e29&&(_0x4cff75=_0x139da5[_0x13c72e(0x149)]-0x1);const _0x22c68b=typeof _0x139da5[_0x205cfc]==_0x13c72e(0x191)?Number(_0x139da5[_0x205cfc]):Number[_0x13c72e(0x123)];_0x24fd01<_0x22c68b&&(_0x205cfc=_0x139da5[_0x13c72e(0x149)]-0x1),_0x24fd01<0x0&&_0x3889d5[_0x13c72e(0x174)](_0x139da5[_0x13c72e(0x149)]-0x1);}}_0x125886[_0x13c72e(0x14b)](_0x1d9245,_0x247c0e,{'groupId':_0x4abee3,'data':_0x139da5,'max':_0x4a51c8,'min':_0x2b0758,'highIndex':_0x4cff75,'lowIndex':_0x205cfc,'negativeIndexes':_0x3889d5});}}});let _0x5b9f26=_0x503604;((_0x42fff9=_0x2dad1d[_0xb0d64e(0x1be)]['extremumMax'])==null?void 0x0:_0x42fff9[_0xb0d64e(0x190)])===Ee[_0xb0d64e(0x1b5)]&&(_0x5b9f26=(_0x4b3bfd=(_0x283389=_0x2dad1d[_0xb0d64e(0x1be)]['extremumMax'])==null?void 0x0:_0x283389[_0xb0d64e(0x151)])!=null?_0x4b3bfd:_0x503604);let _0x3cff4c=_0x1951d9;((_0x45568c=_0x2dad1d['config']['extremumMin'])==null?void 0x0:_0x45568c[_0xb0d64e(0x190)])===Ee[_0xb0d64e(0x1b5)]&&(_0x3cff4c=(_0x49d91a=(_0x4d4cee=_0x2dad1d[_0xb0d64e(0x1be)]['extremumMin'])==null?void 0x0:_0x4d4cee[_0xb0d64e(0x151)])!=null?_0x49d91a:_0x1951d9);const _0x5a6817=(_0x24e4cb=_0x2dad1d[_0xb0d64e(0x1be)][_0xb0d64e(0x15b)])!=null?_0x24e4cb:Xe[_0xb0d64e(0x153)],_0x5c0ffe=(_0x4916a6=(_0x3c5972=_0x2dad1d[_0xb0d64e(0x1be)]['seriesColor'])!=null?_0x3c5972:(_0x16cba6=Le[_0x5a6817])==null?void 0x0:_0x16cba6[0x0])!=null?_0x4916a6:Le[_0xb0d64e(0x144)][0x0],_0x23de45=new _0xc3c67(_0x5c0ffe),_0x141e92=_0x23de45[_0xb0d64e(0x129)](0.2)[_0xb0d64e(0x12a)](),_0x392bc3=_0x23de45['setAlpha'](0.05)[_0xb0d64e(0x12a)]();_0x561fe2[_0x4abee3]={'groupMax':_0x503604,'groupMin':_0x1951d9,'showMax':_0x5b9f26,'showMin':_0x3cff4c,'startGradient':_0x141e92,'endGradient':_0x392bc3},this[_0xb0d64e(0x11c)]['next']({'unitId':_0x449625,'subUnitId':_0x1435ad,'groupId':_0x4abee3,'config':_0x2dad1d,'type':_0x4db2ee});}[_0x45e80d(0x1a4)](_0x7342b4,_0x57618a,_0x1835d4,_0x5c7c79){const _0x4c24fc=_0x45e80d;this[_0x4c24fc(0x1aa)](_0x7342b4,_0x57618a)['set'](_0x1835d4,_0x5c7c79),this[_0x4c24fc(0x1b4)](_0x7342b4,_0x57618a,_0x1835d4,_0x4c24fc(0x135));}[_0x45e80d(0x1a3)](_0x47093c,_0x4aa462,_0x2f67bb,_0x71052b){const _0x11fc0e=_0x45e80d;var _0x22bad5;const _0x34084e=(_0x22bad5=this[_0x11fc0e(0x131)]['get'](_0x47093c))==null?void 0x0:_0x22bad5['get'](_0x4aa462);_0x2f67bb[_0x11fc0e(0x124)](_0x5f4132=>{const _0x632c11=_0x11fc0e;_0x34084e!=null&&_0x34084e[_0x632c11(0x117)](_0x5f4132)&&(_0x34084e[_0x632c11(0x140)](_0x5f4132,_0x71052b),this[_0x632c11(0x1b4)](_0x47093c,_0x4aa462,_0x5f4132));});}[_0x45e80d(0x142)](_0x4087d1,_0x394b30,_0x17019a){const _0x370994=_0x45e80d;var _0x5b5e65,_0x20eb79;const _0x911f2b=this['_sparklineModel'][_0x370994(0x180)](_0x4087d1);if(_0x911f2b){const _0x4ad37a=_0x911f2b[_0x370994(0x180)](_0x394b30);if(_0x4ad37a){_0x4ad37a[_0x370994(0x166)](_0x17019a);const _0x5eb758=(_0x5b5e65=this[_0x370994(0x1a8)][_0x370994(0x180)](_0x4087d1))==null?void 0x0:_0x5b5e65[_0x370994(0x180)](_0x394b30);(_0x20eb79=_0x5eb758==null?void 0x0:_0x5eb758[_0x370994(0x138)])==null||_0x20eb79[_0x370994(0x163)]((_0x46f60f,_0xfd87f0,_0x175c99)=>{const _0x274d3d=_0x370994;(_0x175c99==null?void 0x0:_0x175c99[_0x274d3d(0x178)])===_0x17019a&&(_0x5eb758==null||_0x5eb758[_0x274d3d(0x138)][_0x274d3d(0x13c)](_0x46f60f,_0xfd87f0));}),this[_0x370994(0x11c)][_0x370994(0x16c)]({'unitId':_0x4087d1,'subUnitId':_0x394b30,'groupId':_0x17019a,'type':_0x370994(0x10e)});}}}['removePartSparkline'](_0x5bff7d,_0x4d1e6e,_0x226531,_0x33e93c){const _0x3166ff=_0x45e80d;var _0x1ee93b,_0x190697,_0x12d22f,_0x16e33f;const _0x1a75d0=(_0x1ee93b=this[_0x3166ff(0x1a8)][_0x3166ff(0x180)](_0x5bff7d))==null?void 0x0:_0x1ee93b[_0x3166ff(0x180)](_0x4d1e6e),_0x4e135a=_0x1a75d0==null?void 0x0:_0x1a75d0[_0x3166ff(0x138)][_0x3166ff(0x157)](_0x226531,_0x33e93c);if(_0x4e135a){const {groupId:_0x3d3c73}=_0x4e135a,_0x2b84e7=(_0x190697=this[_0x3166ff(0x131)][_0x3166ff(0x180)](_0x5bff7d))==null?void 0x0:_0x190697[_0x3166ff(0x180)](_0x4d1e6e);(_0x12d22f=_0x2b84e7==null?void 0x0:_0x2b84e7[_0x3166ff(0x180)](_0x3d3c73))==null||_0x12d22f[_0x3166ff(0x1bc)][_0x3166ff(0x13c)](_0x226531,_0x33e93c),(_0x16e33f=_0x2b84e7==null?void 0x0:_0x2b84e7[_0x3166ff(0x180)](_0x3d3c73))!=null&&_0x16e33f['sparklines']['hasValue']()||_0x2b84e7==null||_0x2b84e7[_0x3166ff(0x166)](_0x3d3c73),_0x1a75d0==null||_0x1a75d0[_0x3166ff(0x138)]['realDeleteValue'](_0x226531,_0x33e93c),this['_updateConfig$'][_0x3166ff(0x16c)]({'unitId':_0x5bff7d,'subUnitId':_0x4d1e6e,'groupId':_0x3d3c73,'type':_0x3166ff(0x10e)});}}[_0x45e80d(0x13a)](_0x4e0f12,_0x4d796c,_0x1aef32){const _0xd87acb=_0x45e80d;var _0x322859,_0x5aea37,_0x107df6,_0x3b0c6e;const _0x55d45c=(_0x107df6=(_0x5aea37=(_0x322859=this[_0xd87acb(0x131)][_0xd87acb(0x180)](_0x4e0f12))==null?void 0x0:_0x322859['get'](_0x4d796c))==null?void 0x0:_0x5aea37[_0xd87acb(0x180)](_0x1aef32))==null?void 0x0:_0x107df6['sparklines'],_0x312a82=(_0x3b0c6e=this[_0xd87acb(0x1a8)][_0xd87acb(0x180)](_0x4e0f12))==null?void 0x0:_0x3b0c6e['get'](_0x4d796c);if(_0x55d45c&&_0x312a82){const {matrix:_0x1ee66f,extra:_0x218af8}=_0x312a82;_0x55d45c['forValue']((_0x5df9f7,_0x5003c2,_0x1dbc11)=>{const _0x23c396=_0xd87acb;_0x1ee66f[_0x23c396(0x13c)](_0x5df9f7,_0x5003c2);}),delete _0x218af8[_0x1aef32];}}[_0x45e80d(0x1a1)](_0x4c864d,_0x513e22){const _0x12c940=_0x45e80d;var _0x154765;return(_0x154765=this[_0x12c940(0x131)][_0x12c940(0x180)](_0x4c864d))==null?void 0x0:_0x154765[_0x12c940(0x180)](_0x513e22);}['getSparklineById'](_0x34dd06,_0x15fafd,_0x56673c){const _0x247e08=_0x45e80d;var _0x34ebe1,_0x4eacd5;return(_0x4eacd5=(_0x34ebe1=this[_0x247e08(0x131)][_0x247e08(0x180)](_0x34dd06))==null?void 0x0:_0x34ebe1[_0x247e08(0x180)](_0x15fafd))==null?void 0x0:_0x4eacd5[_0x247e08(0x180)](_0x56673c);}[_0x45e80d(0x18d)](_0x1a4216,_0x165190,_0x26a82a,_0x62ea9e){const _0x5126f2=_0x45e80d;var _0x211723,_0x3d3d1b,_0x423928;return(_0x423928=(_0x3d3d1b=(_0x211723=this[_0x5126f2(0x1a8)]['get'](_0x1a4216))==null?void 0x0:_0x211723[_0x5126f2(0x180)](_0x165190))==null?void 0x0:_0x3d3d1b[_0x5126f2(0x138)]['getValue'](_0x26a82a,_0x62ea9e))==null?void 0x0:_0x423928['groupId'];}[_0x45e80d(0x122)](_0x205fb6,_0x3380d8){const _0x5acac8=_0x45e80d;var _0x4c0989;const _0x11c49d=this[_0x5acac8(0x165)](_0x205fb6,_0x3380d8);_0x11c49d[_0x5acac8(0x138)][_0x5acac8(0x163)]((_0x246643,_0x3dcf46,_0x202556)=>{_0x11c49d['matrix']['realDeleteValue'](_0x246643,_0x3dcf46);});const _0x5e9ebf=(_0x4c0989=this['_sparklineModel'][_0x5acac8(0x180)](_0x205fb6))==null?void 0x0:_0x4c0989[_0x5acac8(0x180)](_0x3380d8);if(_0x5e9ebf){for(const [_0x3c206c,_0x5cb8e2]of _0x5e9ebf)this[_0x5acac8(0x1b4)](_0x205fb6,_0x3380d8,_0x3c206c);}}[_0x45e80d(0x12c)](){const _0x2bca5c=_0x45e80d;return{'sparklineModel':this[_0x2bca5c(0x131)],'sparklineAnchorMap':this[_0x2bca5c(0x1a8)]};}['toJSON'](_0x589f77){const _0x133a95=_0x45e80d,_0x23e77d={};if(this[_0x133a95(0x131)][_0x133a95(0x117)](_0x589f77)){_0x23e77d[_0x589f77]={};const _0x2232f9=this[_0x133a95(0x131)][_0x133a95(0x180)](_0x589f77);_0x2232f9!=null&&_0x2232f9['size']&&Array['from'](_0x2232f9['keys']())[_0x133a95(0x124)](_0x5c7b6c=>{const _0x222278=_0x133a95;_0x23e77d[_0x589f77][_0x5c7b6c]={};const _0x4b6a11=_0x2232f9[_0x222278(0x180)](_0x5c7b6c);_0x4b6a11!=null&&_0x4b6a11['size']&&Array['from'](_0x4b6a11[_0x222278(0x118)]())[_0x222278(0x124)](_0x36b517=>{const _0x1cd07f=_0x222278,_0x2e11f3=_0x4b6a11[_0x1cd07f(0x180)](_0x36b517);_0x2e11f3&&(_0x23e77d[_0x589f77][_0x5c7b6c][_0x36b517]={'config':_0x2e11f3[_0x1cd07f(0x1be)],'sparklines':_0x2e11f3[_0x1cd07f(0x1bc)]['getMatrix']()});});});}return _0x23e77d;}[_0x45e80d(0x1ae)](_0x314e4c){const _0xf8dae1=_0x45e80d;if(!_0x314e4c)return;Object[_0xf8dae1(0x118)](_0x314e4c)['forEach'](_0x494754=>{const _0x5c21af=_0xf8dae1,_0x10e208=_0x314e4c[_0x494754];_0x10e208&&Object[_0x5c21af(0x118)](_0x10e208)[_0x5c21af(0x124)](_0x8854ea=>{const _0x52804a=_0x5c21af,_0x32d2c6=_0x10e208[_0x8854ea];_0x32d2c6&&Object[_0x52804a(0x118)](_0x32d2c6)[_0x52804a(0x124)](_0x3a2ffe=>{const _0x394165=_0x52804a,_0x978736=_0x32d2c6[_0x3a2ffe];if(_0x978736){const _0x4ae0bd={'config':_0x978736[_0x394165(0x1be)],'sparklines':new _0xfdd5d0(_0x978736['sparklines'])};this['addSparkline'](_0x494754,_0x8854ea,_0x3a2ffe,_0x4ae0bd);}});});});}[_0x45e80d(0x128)](_0x30d297){const _0x253aac=_0x45e80d,_0x17a47d=this[_0x253aac(0x131)][_0x253aac(0x180)](_0x30d297);if(_0x17a47d){for(const [_0x113ff2]of _0x17a47d){const _0x194e75=_0x17a47d[_0x253aac(0x180)](_0x113ff2);if(_0x194e75){for(const [_0x4cceaf]of _0x194e75)this[_0x253aac(0x13a)](_0x30d297,_0x113ff2,_0x4cceaf);}}this['_sparklineModel'][_0x253aac(0x166)](_0x30d297);}}};x=Vt([yt(0x0,_0x5ab3cf(_0x4dc04a))],x);const V={'id':_0x45e80d(0x139),'type':_0x14fdb3[_0x45e80d(0x184)],'handler':(_0x1f96b5,_0x9a2e37)=>{const _0x541b48=_0x45e80d;if(!_0x9a2e37)return!0x1;const {sparklineConfigMap:_0x94b31c,unitId:_0x1e1e24,subUnitId:_0x1ef9e0}=_0x9a2e37,_0x1fea87=_0x1f96b5[_0x541b48(0x180)](x);return Object[_0x541b48(0x130)](_0x94b31c)[_0x541b48(0x124)](([_0x5e9eeb,_0x5ba04e])=>{const _0x31f77a=_0x541b48,_0x19f2ca={'config':_0x5ba04e[_0x31f77a(0x1be)],'sparklines':new _0xfdd5d0(_0x5ba04e[_0x31f77a(0x1bc)])};_0x1fea87[_0x31f77a(0x1a4)](_0x1e1e24,_0x1ef9e0,_0x5e9eeb,_0x19f2ca);}),!0x0;}},y={'id':'sheet.mutation.remove-sparkline','type':_0x14fdb3[_0x45e80d(0x184)],'handler':(_0x597eca,_0xd2d975)=>{const _0x1b05d3=_0x45e80d;if(!_0xd2d975)return!0x1;const {unitId:_0x52cc9f,subUnitId:_0x55a1e8,ranges:_0x178cfb,isSingle:_0x231f2d,groupIds:_0xff7651}=_0xd2d975,_0x374672=_0x597eca[_0x1b05d3(0x180)](x);return _0xff7651?(_0xff7651['forEach'](_0x47ea9a=>{const _0x2b8877=_0x1b05d3;_0x374672[_0x2b8877(0x142)](_0x52cc9f,_0x55a1e8,_0x47ea9a);}),!0x0):_0x178cfb?(_0x178cfb[_0x1b05d3(0x124)](_0x193fc0=>{_0x18604f['foreach'](_0x193fc0,(_0x90dc4a,_0x5a3fcc)=>{const _0x1aeecc=_0x2c0b,_0x4b374f=_0x374672['getSparkline'](_0x52cc9f,_0x55a1e8,_0x90dc4a,_0x5a3fcc);_0x4b374f&&(_0x231f2d?_0x374672['removePartSparkline'](_0x52cc9f,_0x55a1e8,_0x90dc4a,_0x5a3fcc):_0x374672[_0x1aeecc(0x142)](_0x52cc9f,_0x55a1e8,_0x4b374f));});}),!0x0):!0x1;}},Nt={'id':_0x45e80d(0x12d),'type':_0x14fdb3[_0x45e80d(0x17b)],'handler':(_0x4ef7eb,_0x12fefe)=>{const _0x3ffccc=_0x45e80d;if(!_0x12fefe)return!0x1;const {sourceRanges:_0x2593f6,targetRanges:_0x144acf,config:_0x66d09f}=_0x12fefe,_0x1fc8db=_0x4ef7eb[_0x3ffccc(0x180)](_0x57456c),_0x16f0e7='g_'+_0x74b7b5(0x6),_0x60c7fd=Fe(_0x2593f6,_0x144acf),_0x3a1294={'config':_0x66d09f!=null?_0x66d09f:{},'sparklines':_0x60c7fd[_0x3ffccc(0x18e)]()},_0x4b4292=_0x4ef7eb['get'](_0x4dc04a),_0x4e90c8=_0x4ef7eb[_0x3ffccc(0x180)](x),_0x367501=_0x10faa1(_0x4b4292);if(!_0x367501)return!0x1;const {unitId:_0x288ad9,subUnitId:_0x44d9c5}=_0x367501,_0x4784b0=_0x4ef7eb[_0x3ffccc(0x180)](_0x3f8c98),_0x6f3ce8=[],_0x1b2c67=[],_0x1df83c={},_0x2c0683={},_0x2b4e09=new Set([_0x16f0e7]);_0x60c7fd['forValue']((_0x229b33,_0x40c3fc,_0x5b9d97)=>{const _0x495ec3=_0x3ffccc,_0x30f1e0=_0x4e90c8[_0x495ec3(0x18d)](_0x288ad9,_0x44d9c5,_0x229b33,_0x40c3fc);if(_0x30f1e0){const _0x2f3819=_0x4e90c8['getSparklineById'](_0x288ad9,_0x44d9c5,_0x30f1e0);if(_0x2f3819){_0x2b4e09[_0x495ec3(0x135)](_0x30f1e0);let _0x511cd7=_0x1df83c[_0x30f1e0],_0x21e0c5=_0x2c0683[_0x30f1e0];_0x21e0c5||(_0x21e0c5={'config':_0x51634e[_0x495ec3(0x136)](_0x2f3819['config']),'sparklines':new _0xfdd5d0(_0x2f3819['sparklines'][_0x495ec3(0x195)]())},_0x2c0683[_0x30f1e0]=_0x21e0c5),_0x511cd7||(_0x511cd7={'config':_0x51634e[_0x495ec3(0x136)](_0x2f3819[_0x495ec3(0x1be)]),'sparklines':_0x2f3819[_0x495ec3(0x1bc)]['clone']()},_0x1df83c[_0x30f1e0]=_0x511cd7),_0x21e0c5['sparklines']['realDeleteValue'](_0x229b33,_0x40c3fc);}}});const _0x79dfd7={};return Object['entries'](_0x2c0683)['forEach'](([_0x5b3830,_0x1a304e])=>{const _0x368d52=_0x3ffccc;_0x1a304e[_0x368d52(0x1bc)][_0x368d52(0x1bd)]()&&(_0x79dfd7[_0x5b3830]={'config':_0x1a304e['config'],'sparklines':_0x1a304e[_0x368d52(0x1bc)]['clone']()});}),_0x79dfd7[_0x16f0e7]=_0x3a1294,_0x6f3ce8[_0x3ffccc(0x174)]({'id':y['id'],'params':{'unitId':_0x288ad9,'subUnitId':_0x44d9c5,'groupIds':Array[_0x3ffccc(0x1b2)](_0x2b4e09),'isSingle':!0x1}}),_0x2b4e09['size']>0x1&&(_0x1b2c67[_0x3ffccc(0x174)]({'id':y['id'],'params':{'unitId':_0x288ad9,'subUnitId':_0x44d9c5,'groupIds':Array[_0x3ffccc(0x1b2)](_0x2b4e09),'isSingle':!0x1}}),_0x6f3ce8[_0x3ffccc(0x174)]({'id':V['id'],'params':{'unitId':_0x288ad9,'subUnitId':_0x44d9c5,'sparklineConfigMap':_0x1df83c}})),_0x1b2c67['push']({'id':V['id'],'params':{'unitId':_0x288ad9,'subUnitId':_0x44d9c5,'sparklineConfigMap':_0x79dfd7}}),_0x1aee3d(_0x1b2c67,_0x4784b0),_0x1fc8db[_0x3ffccc(0x11b)]({'unitID':_0x288ad9,'undoMutations':_0x6f3ce8,'redoMutations':_0x1b2c67}),!0x0;}},Ot={'id':_0x45e80d(0x11d),'type':_0x14fdb3['COMMAND'],'handler':(_0x206792,_0x53062e)=>{const _0x34937c=_0x45e80d;var _0x431726;const {isSingle:_0xffb271=!0x0}=_0x53062e||{},_0x1a325c=_0x206792[_0x34937c(0x180)](_0x3f8c98),_0x3f34e7=_0x206792[_0x34937c(0x180)](_0x4dc04a),_0xd8d989=_0x206792[_0x34937c(0x180)](x),_0x5f3da1=_0x206792[_0x34937c(0x180)](_0x57456c),_0x274256=_0x10faa1(_0x3f34e7);if(!_0x274256)return!0x1;const _0x18be4a=_0x206792[_0x34937c(0x180)](_0x24b590),_0x481f68=(_0x431726=_0x53062e==null?void 0x0:_0x53062e['ranges'])!=null?_0x431726:_0x18be4a[_0x34937c(0x148)]()['map'](_0x10165e=>_0x10165e[_0x34937c(0x193)]),{unitId:_0x464a83,subUnitId:_0x50289a}=_0x274256,_0x4a146b=[],_0x523348=[];_0x4a146b[_0x34937c(0x174)]({'id':y['id'],'params':{'unitId':_0x464a83,'subUnitId':_0x50289a,'ranges':_0x481f68,'isSingle':_0xffb271}});const _0x2e90ac=[],_0x4adcf6={};return _0x481f68['forEach'](_0x5f528a=>{const _0x5ea917=_0x34937c;_0x18604f[_0x5ea917(0x132)](_0x5f528a,(_0x4b1f3c,_0x68bb2e)=>{const _0x50bbd3=_0x5ea917,_0x25e326=_0xd8d989[_0x50bbd3(0x18d)](_0x464a83,_0x50289a,_0x4b1f3c,_0x68bb2e);if(_0x25e326){const _0x3bf25c=_0xd8d989[_0x50bbd3(0x182)](_0x464a83,_0x50289a,_0x25e326);_0x3bf25c&&(_0x2e90ac[_0x50bbd3(0x174)](_0x25e326),_0x4adcf6[_0x25e326]={'config':_0x51634e['deepClone'](_0x3bf25c[_0x50bbd3(0x1be)]),'sparklines':_0x51634e[_0x50bbd3(0x136)](_0x3bf25c[_0x50bbd3(0x1bc)]['clone']())});}});}),_0x523348[_0x34937c(0x174)]({'id':y['id'],'params':{'unitId':_0x464a83,'subUnitId':_0x50289a,'groupIds':_0x2e90ac,'isSingle':!0x1}}),_0x523348['push']({'id':V['id'],'params':{'unitId':_0x464a83,'subUnitId':_0x50289a,'sparklineConfigMap':_0x4adcf6}}),_0x1aee3d(_0x4a146b,_0x1a325c),_0x5f3da1[_0x34937c(0x11b)]({'unitID':_0x464a83,'undoMutations':_0x523348,'redoMutations':_0x4a146b}),!0x0;}},Oe={'id':_0x45e80d(0x10f),'type':_0x14fdb3[_0x45e80d(0x184)],'handler':(_0x36c110,_0xb730ae)=>{const _0x4529c1=_0x45e80d;if(!_0xb730ae)return!0x1;const {unitId:_0x2ced1e,subUnitId:_0x3b700d,groupIds:_0x25f019,config:_0x562228}=_0xb730ae,_0x57b866=_0x36c110[_0x4529c1(0x180)](x);return _0x25f019[_0x4529c1(0x124)](_0x545c1e=>{const _0x107dec=_0x4529c1,_0x52beca=_0x57b866[_0x107dec(0x182)](_0x2ced1e,_0x3b700d,_0x545c1e);if(_0x52beca){const _0x4b2273={'config':Object[_0x107dec(0x1bf)]({},_0x52beca[_0x107dec(0x1be)],_0x562228[_0x107dec(0x1be)]),'sparklines':new _0xfdd5d0(_0x52beca[_0x107dec(0x1bc)][_0x107dec(0x195)]())};_0x57b866['setSparkline'](_0x2ced1e,_0x3b700d,[_0x545c1e],_0x4b2273);}}),!0x0;}},xt={'id':_0x45e80d(0x141),'type':_0x14fdb3[_0x45e80d(0x17b)],'handler':(_0x27439c,_0x5c350b)=>{const _0x5bb392=_0x45e80d;var _0x1ff4f6,_0x4391a9,_0xf2ec3d,_0x5ba811;if(!_0x5c350b)return!0x1;const _0x54fbfa=_0x27439c['get'](_0x3f8c98),_0x4b28d6=_0x27439c[_0x5bb392(0x180)](_0x24b590),_0x3620c4=_0x27439c[_0x5bb392(0x180)](x),_0x597e69=_0x27439c[_0x5bb392(0x180)](_0x4dc04a),_0x4f881f=_0x27439c[_0x5bb392(0x180)](_0x57456c),_0x5538c8=_0x10faa1(_0x597e69);if(!_0x5538c8)return!0x1;const {unitId:_0x34013e,subUnitId:_0x219bd2}=_0x5538c8,_0x5dfc6d=(_0x1ff4f6=_0x5c350b==null?void 0x0:_0x5c350b[_0x5bb392(0x147)])!=null?_0x1ff4f6:_0x4b28d6['getCurrentSelections']()['map'](_0x527459=>_0x527459['range']),_0x4d1e1e=(_0x4391a9=_0x3620c4['getSparklineCache']()[_0x5bb392(0x17d)][_0x5bb392(0x180)](_0x34013e))==null?void 0x0:_0x4391a9[_0x5bb392(0x180)](_0x219bd2),{isChangeDataSource:_0x24ce91,config:_0x36ee31,combine:_0x1d60d0,unCombine:_0x964191}=_0x5c350b;if(_0x1d60d0){const _0x5788ba=[],_0xc04c45=[];_0x5788ba[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'ranges':_0x5dfc6d,'isSingle':!0x0}});const _0x469849='g_'+_0x74b7b5(0x6),_0x3c55b9=new _0xfdd5d0(),_0x428f24=(_0xf2ec3d=_0x3620c4[_0x5bb392(0x12c)]()['sparklineModel'][_0x5bb392(0x180)](_0x34013e))==null?void 0x0:_0xf2ec3d['get'](_0x219bd2),_0x208c0d=new Set([_0x469849]),_0x5276e4={};return _0x5dfc6d[_0x5bb392(0x124)](_0x1c33bc=>{const _0x940282=_0x5bb392;var _0xa44e9,_0x3f8616;const {startRow:_0x589d1e,endRow:_0x13ae17,startColumn:_0xc6819e,endColumn:_0x36a90d}=_0x1c33bc;for(let _0x45826f=_0x589d1e;_0x45826f<=_0x13ae17;_0x45826f++)for(let _0x44eea3=_0xc6819e;_0x44eea3<=_0x36a90d;_0x44eea3++){const _0x3119be=(_0xa44e9=_0x4d1e1e==null?void 0x0:_0x4d1e1e[_0x940282(0x138)][_0x940282(0x157)](_0x45826f,_0x44eea3))==null?void 0x0:_0xa44e9[_0x940282(0x178)];if(_0x3119be){_0x208c0d['add'](_0x3119be);const _0x262068=_0x3620c4[_0x940282(0x182)](_0x34013e,_0x219bd2,_0x3119be);_0x262068&&(_0x5276e4[_0x3119be]={'config':_0x51634e[_0x940282(0x136)](_0x262068[_0x940282(0x1be)]),'sparklines':_0x51634e[_0x940282(0x136)](_0x262068['sparklines'][_0x940282(0x195)]())});const _0x4bf751=(_0x3f8616=_0x428f24==null?void 0x0:_0x428f24[_0x940282(0x180)](_0x3119be))==null?void 0x0:_0x3f8616[_0x940282(0x1bc)][_0x940282(0x157)](_0x45826f,_0x44eea3);_0x4bf751&&_0x3c55b9[_0x940282(0x14b)](_0x45826f,_0x44eea3,_0x4bf751);}}}),_0x5788ba[_0x5bb392(0x174)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x469849]:{'config':_0x51634e[_0x5bb392(0x136)](_0x36ee31[_0x5bb392(0x1be)]),'sparklines':_0x3c55b9['getMatrix']()}},'unitId':_0x34013e,'subUnitId':_0x219bd2}}),_0xc04c45[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'isSingle':!0x1,'groupIds':Array[_0x5bb392(0x1b2)](_0x208c0d)}}),_0xc04c45['push']({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':_0x5276e4}}),_0x1aee3d(_0x5788ba,_0x54fbfa),_0x4f881f[_0x5bb392(0x11b)]({'unitID':_0x34013e,'undoMutations':_0xc04c45,'redoMutations':_0x5788ba}),!0x0;}else{if(_0x964191){const _0x4f554c=[],_0x4ac498=[];_0x4f554c['push']({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'ranges':_0x5dfc6d,'isSingle':!0x0}});const _0x30592d=(_0x5ba811=_0x3620c4[_0x5bb392(0x12c)]()['sparklineModel'][_0x5bb392(0x180)](_0x34013e))==null?void 0x0:_0x5ba811['get'](_0x219bd2),_0x5ecee1={},_0x11e926=new Set(),_0x55b2e5={};return _0x5dfc6d[_0x5bb392(0x124)](_0x4ee5b7=>{const _0x591930=_0x5bb392;var _0xafa8c4,_0x5eb5e3;const {startRow:_0x6108ec,endRow:_0x5b81bf,startColumn:_0x55c5ff,endColumn:_0xeca750}=_0x4ee5b7;for(let _0x5e453c=_0x6108ec;_0x5e453c<=_0x5b81bf;_0x5e453c++)for(let _0x5a6172=_0x55c5ff;_0x5a6172<=_0xeca750;_0x5a6172++){const _0x36a741=(_0xafa8c4=_0x4d1e1e==null?void 0x0:_0x4d1e1e[_0x591930(0x138)]['getValue'](_0x5e453c,_0x5a6172))==null?void 0x0:_0xafa8c4[_0x591930(0x178)];if(_0x36a741){const _0x318a80=new _0xfdd5d0(),_0x4b2565='g_'+_0x74b7b5(0x6);_0x11e926[_0x591930(0x135)](_0x36a741),_0x11e926[_0x591930(0x135)](_0x4b2565);const _0x5a9701=_0x3620c4['getSparklineById'](_0x34013e,_0x219bd2,_0x36a741);_0x5a9701&&(_0x55b2e5[_0x36a741]={'config':_0x51634e['deepClone'](_0x5a9701['config']),'sparklines':_0x51634e[_0x591930(0x136)](_0x5a9701['sparklines'][_0x591930(0x195)]())});const _0x2b07b9=(_0x5eb5e3=_0x30592d==null?void 0x0:_0x30592d[_0x591930(0x180)](_0x36a741))==null?void 0x0:_0x5eb5e3[_0x591930(0x1bc)][_0x591930(0x157)](_0x5e453c,_0x5a6172);_0x2b07b9&&_0x318a80['setValue'](_0x5e453c,_0x5a6172,_0x2b07b9),_0x5ecee1[_0x4b2565]={'sparklines':_0x318a80['getMatrix'](),'config':_0x51634e[_0x591930(0x136)](_0x36ee31[_0x591930(0x1be)])};}}}),_0x4f554c[_0x5bb392(0x174)]({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':_0x5ecee1}}),_0x4ac498[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'isSingle':!0x1,'groupIds':Array[_0x5bb392(0x1b2)](_0x11e926)}}),_0x4ac498['push']({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':_0x55b2e5}}),_0x1aee3d(_0x4f554c,_0x54fbfa),_0x4f881f[_0x5bb392(0x11b)]({'unitID':_0x34013e,'undoMutations':_0x4ac498,'redoMutations':_0x4f554c}),!0x0;}}if(_0x24ce91){const _0x505711=_0x5c350b[_0x5bb392(0x15e)];if(!_0x505711)return!0x1;const {groupId:_0x474280,sourceRanges:_0x13c6b4,targetRanges:_0x48ee21,resetType:_0x491e38,primary:_0x35d482}=_0x505711,_0x474e6a=[],_0x2d3921=[];_0x474e6a[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'ranges':_0x5dfc6d,'isSingle':!0x1,'groupIds':[_0x474280]}}),_0x2d3921[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'ranges':_0x5dfc6d,'isSingle':!0x1,'groupIds':[_0x474280]}});let _0x26b66f;_0x491e38===_0x5bb392(0x11a)?(_0x26b66f=new _0xfdd5d0(_0x36ee31[_0x5bb392(0x1bc)][_0x5bb392(0x195)]()),_0x26b66f[_0x5bb392(0x13c)](_0x35d482[_0x5bb392(0x18f)],_0x35d482[_0x5bb392(0x10a)]),_0x26b66f[_0x5bb392(0x14b)](_0x48ee21[0x0][_0x5bb392(0x18c)],_0x48ee21[0x0]['startColumn'],_0x13c6b4[0x0])):_0x26b66f=Fe(_0x13c6b4,_0x48ee21);const _0x17f5b9={'config':_0x51634e[_0x5bb392(0x136)](_0x36ee31[_0x5bb392(0x1be)]),'sparklines':_0x26b66f[_0x5bb392(0x18e)]()},_0x2fbc67={'config':_0x51634e[_0x5bb392(0x136)](_0x36ee31[_0x5bb392(0x1be)]),'sparklines':_0x51634e[_0x5bb392(0x136)](_0x36ee31[_0x5bb392(0x1bc)][_0x5bb392(0x195)]())};_0x474e6a[_0x5bb392(0x174)]({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':{[_0x474280]:_0x17f5b9}}}),_0x2d3921[_0x5bb392(0x174)]({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':{[_0x474280]:_0x2fbc67}}}),_0x1aee3d(_0x474e6a,_0x54fbfa),_0x4f881f[_0x5bb392(0x11b)]({'unitID':_0x34013e,'undoMutations':_0x2d3921,'redoMutations':_0x474e6a});}else{const _0x4caf7c=[],_0x4cf4d8=[],_0x466903=new Set(),_0x417fd3={};_0x5dfc6d[_0x5bb392(0x124)](_0xee358=>{const _0x4d18a1=_0x5bb392;var _0x303dc3;const {startRow:_0x56655d,endRow:_0x4e1977,startColumn:_0xfa9b06,endColumn:_0xfb8289}=_0xee358;for(let _0xec5f71=_0x56655d;_0xec5f71<=_0x4e1977;_0xec5f71++)for(let _0x48610d=_0xfa9b06;_0x48610d<=_0xfb8289;_0x48610d++){const _0x178396=(_0x303dc3=_0x4d1e1e==null?void 0x0:_0x4d1e1e['matrix'][_0x4d18a1(0x157)](_0xec5f71,_0x48610d))==null?void 0x0:_0x303dc3[_0x4d18a1(0x178)];if(_0x178396){_0x466903['add'](_0x178396);const _0x131e5=_0x3620c4[_0x4d18a1(0x182)](_0x34013e,_0x219bd2,_0x178396);_0x131e5&&(_0x417fd3[_0x178396]={'config':_0x51634e[_0x4d18a1(0x136)](_0x131e5['config']),'sparklines':_0x51634e[_0x4d18a1(0x136)](_0x131e5[_0x4d18a1(0x1bc)][_0x4d18a1(0x195)]())});}}}),_0x4cf4d8[_0x5bb392(0x174)]({'id':Oe['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'groupIds':Array[_0x5bb392(0x1b2)](_0x466903),'config':{'config':_0x51634e[_0x5bb392(0x136)](_0x36ee31[_0x5bb392(0x1be)]),'sparklines':_0x36ee31[_0x5bb392(0x1bc)][_0x5bb392(0x18e)]()}}}),_0x4caf7c[_0x5bb392(0x174)]({'id':y['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'isSingle':!0x1,'groupIds':Array['from'](_0x466903)}}),_0x4caf7c[_0x5bb392(0x174)]({'id':V['id'],'params':{'unitId':_0x34013e,'subUnitId':_0x219bd2,'sparklineConfigMap':_0x417fd3}}),_0x1aee3d(_0x4cf4d8,_0x54fbfa),_0x4f881f[_0x5bb392(0x11b)]({'unitID':_0x34013e,'undoMutations':_0x4caf7c,'redoMutations':_0x4cf4d8});}return!0x0;}};var Ut=Object[_0x45e80d(0x189)],Pt=(_0x2d253e,_0x68eb0b,_0x5484e8,_0x2d6c01)=>{const _0x1986de=_0x45e80d;for(var _0x24189e=_0x2d6c01>0x1?void 0x0:_0x2d6c01?Ut(_0x68eb0b,_0x5484e8):_0x68eb0b,_0x4277f9=_0x2d253e[_0x1986de(0x149)]-0x1,_0x5777dc;_0x4277f9>=0x0;_0x4277f9--)(_0x5777dc=_0x2d253e[_0x4277f9])&&(_0x24189e=_0x5777dc(_0x24189e)||_0x24189e);return _0x24189e;},ge=(_0x3cac17,_0x2a3663)=>(_0x38bd20,_0x41dadc)=>_0x2a3663(_0x38bd20,_0x41dadc,_0x3cac17);let Se=class extends _0x47d650{constructor(_0x3763f0,_0x3ee01a,_0x3b70e0,_0x81ae4c){const _0xdd7ba5=_0x45e80d;super(),this[_0xdd7ba5(0x179)]=_0x3763f0,this[_0xdd7ba5(0x12e)]=_0x3ee01a,this[_0xdd7ba5(0x14a)]=_0x3b70e0,this['_sheetSelectionService']=_0x81ae4c,this[_0xdd7ba5(0x1b3)]();}[_0x45e80d(0x1b3)](){const _0x4c91e7=_0x45e80d;this[_0x4c91e7(0x176)](this[_0x4c91e7(0x12e)][_0x4c91e7(0x126)]({'getMutations':_0x322259=>{const _0x540c68=_0x4c91e7,_0x21aade=[],_0x545b2a=[];if(_0x322259['id']===_0xe8479e['id']){const _0x2ca0a4=_0x10faa1(this['_univerInstanceService']);if(!_0x2ca0a4)return{'redos':_0x21aade,'undos':_0x545b2a};const {unitId:_0x442944,subUnitId:_0x3bc0e3,worksheet:_0x451da8}=_0x2ca0a4,_0x14dfc0=this[_0x540c68(0x10c)]['getCurrentSelections']()[_0x540c68(0x115)](_0x3de1a5=>_0x3de1a5[_0x540c68(0x193)]),_0x499cf9=new Set(),_0x58d8bd={},_0x598017={};_0x14dfc0[_0x540c68(0x124)](_0x5ca3e0=>{const _0x1fd2d9=_0x540c68;_0x18604f[_0x1fd2d9(0x132)](_0x5ca3e0,(_0x2add85,_0x586747)=>{const _0x96fb29=_0x1fd2d9,_0x414035=this[_0x96fb29(0x179)][_0x96fb29(0x18d)](_0x442944,_0x3bc0e3,_0x2add85,_0x586747);if(_0x414035&&!_0x499cf9[_0x96fb29(0x117)](_0x414035)){const _0x3fce3e=this[_0x96fb29(0x179)]['getSparklineById'](_0x442944,_0x3bc0e3,_0x414035);_0x3fce3e&&(_0x499cf9['add'](_0x414035),_0x58d8bd[_0x414035]={'config':_0x51634e[_0x96fb29(0x136)](_0x3fce3e['config']),'sparklines':_0x51634e[_0x96fb29(0x136)](_0x3fce3e[_0x96fb29(0x1bc)][_0x96fb29(0x195)]())},_0x598017[_0x414035]={'config':_0x51634e[_0x96fb29(0x136)](_0x3fce3e[_0x96fb29(0x1be)]),'sparklines':_0x51634e['deepClone'](_0x3fce3e[_0x96fb29(0x1bc)]['clone']())});}});}),Object[_0x540c68(0x1ad)](_0x598017)[_0x540c68(0x124)](_0x18bc2c=>{const _0x38776d=_0x18bc2c['sparklines'];new _0xfdd5d0(_0x38776d)['forValue']((_0x19ae9f,_0x1df988,_0x3bf45f)=>{const _0x2ddd9d=_0x2c0b;_0x14dfc0[_0x2ddd9d(0x1b8)](_0x88aaf0=>_0x2c02f8[_0x2ddd9d(0x17c)](_0x88aaf0,_0x286593(_0x19ae9f,_0x1df988)))&&delete _0x38776d[_0x19ae9f][_0x1df988];});}),_0x21aade[_0x540c68(0x174)]({'id':y['id'],'params':{'unitId':_0x442944,'subUnitId':_0x3bc0e3,'groupIds':Array['from'](_0x499cf9),'isSingle':!0x1}}),_0x21aade['push']({'id':V['id'],'params':{'unitId':_0x442944,'subUnitId':_0x3bc0e3,'sparklineConfigMap':_0x598017}}),_0x545b2a['push']({'id':y['id'],'params':{'unitId':_0x442944,'subUnitId':_0x3bc0e3,'groupIds':Array[_0x540c68(0x1b2)](_0x499cf9),'isSingle':!0x1}}),_0x545b2a['push']({'id':V['id'],'params':{'unitId':_0x442944,'subUnitId':_0x3bc0e3,'sparklineConfigMap':_0x58d8bd}});}return{'redos':_0x21aade,'undos':_0x545b2a};}}));}};Se=Pt([ge(0x0,_0x5ab3cf(x)),ge(0x1,_0x5ab3cf(_0x4f9f4f)),ge(0x2,_0x5ab3cf(_0x4dc04a)),ge(0x3,_0x5ab3cf(_0x24b590))],Se);var Tt=Object[_0x45e80d(0x189)],$t=(_0x2b13b7,_0x29ed38,_0x585738,_0x194987)=>{const _0x1961a8=_0x45e80d;for(var _0x50b24c=_0x194987>0x1?void 0x0:_0x194987?Tt(_0x29ed38,_0x585738):_0x29ed38,_0x66a00c=_0x2b13b7[_0x1961a8(0x149)]-0x1,_0x4d1774;_0x66a00c>=0x0;_0x66a00c--)(_0x4d1774=_0x2b13b7[_0x66a00c])&&(_0x50b24c=_0x4d1774(_0x50b24c)||_0x50b24c);return _0x50b24c;},Ge=(_0x2f5465,_0x3554dd)=>(_0x5aa340,_0x3ff248)=>_0x3554dd(_0x5aa340,_0x3ff248,_0x2f5465);let ke=class extends _0x47d650{constructor(_0x262872,_0x43a4b1){const _0x1bf685=_0x45e80d;super(),this['_sheetInterceptorService']=_0x262872,this[_0x1bf685(0x179)]=_0x43a4b1,this['_initCopySheetWithSparkline']();}[_0x45e80d(0x133)](){const _0x24e8fb=_0x45e80d;this[_0x24e8fb(0x176)](this['_sheetInterceptorService'][_0x24e8fb(0x126)]({'getMutations':_0x277851=>{const _0x5a62e1=_0x24e8fb,_0x5179ea=[],_0x474c1d=[];if(_0x277851['id']===_0x13c9a3['id']){const _0xbe3c0b=_0x277851[_0x5a62e1(0x199)];if(!_0xbe3c0b)return{'redos':_0x5179ea,'undos':_0x474c1d};const {unitId:_0x9e3c1a,subUnitId:_0x515154,targetSubUnitId:_0x5ebed4}=_0xbe3c0b;if(!_0x9e3c1a||!_0x515154||!_0x5ebed4)return{'redos':_0x5179ea,'undos':_0x474c1d};const _0x2d51f9=new Set(),_0x399c41={},_0x192683=this[_0x5a62e1(0x179)][_0x5a62e1(0x1a1)](_0x9e3c1a,_0x515154);if(!_0x192683)return{'redos':_0x5179ea,'undos':_0x474c1d};for(const [_0x53dd19,_0x35b5dc]of _0x192683){const _0x31217d='g_'+_0x74b7b5(0x6);_0x2d51f9[_0x5a62e1(0x135)](_0x53dd19),_0x399c41[_0x31217d]={'config':_0x51634e['deepClone'](_0x35b5dc[_0x5a62e1(0x1be)]),'sparklines':_0x51634e[_0x5a62e1(0x136)](_0x35b5dc[_0x5a62e1(0x1bc)]['clone']())};}_0x2d51f9[_0x5a62e1(0x19c)]&&(_0x474c1d[_0x5a62e1(0x174)]({'id':y['id'],'params':{'unitId':_0x9e3c1a,'subUnitId':_0x5ebed4,'groupIds':Array['from'](_0x2d51f9),'isSingle':!0x1}}),_0x5179ea[_0x5a62e1(0x174)]({'id':V['id'],'params':{'unitId':_0x9e3c1a,'subUnitId':_0x5ebed4,'sparklineConfigMap':_0x399c41}}));}return{'redos':_0x5179ea,'undos':_0x474c1d};}}));}};ke=$t([Ge(0x0,_0x5ab3cf(_0x4f9f4f)),Ge(0x1,_0x5ab3cf(x))],ke);var jt=Object[_0x45e80d(0x189)],Lt=(_0x97cd0e,_0x2bc773,_0x1c24e1,_0xaf2ed9)=>{const _0x35d4f0=_0x45e80d;for(var _0xcee646=_0xaf2ed9>0x1?void 0x0:_0xaf2ed9?jt(_0x2bc773,_0x1c24e1):_0x2bc773,_0x5698af=_0x97cd0e[_0x35d4f0(0x149)]-0x1,_0x30944a;_0x5698af>=0x0;_0x5698af--)(_0x30944a=_0x97cd0e[_0x5698af])&&(_0xcee646=_0x30944a(_0xcee646)||_0xcee646);return _0xcee646;},be=(_0x10bb34,_0x2a29c5)=>(_0x4ce46c,_0x4a7357)=>_0x2a29c5(_0x4ce46c,_0x4a7357,_0x10bb34);let me=class extends _0x47d650{constructor(_0x2915ef,_0x553818,_0x4047c1){const _0x33016c=_0x45e80d;super(),this['_commandService']=_0x2915ef,this[_0x33016c(0x179)]=_0x553818,this['_exclusiveRangeService']=_0x4047c1,this['_initDataChangeListener'](),this[_0x33016c(0x181)]();}['_initDataChangeListener'](){const _0x3c5749=_0x45e80d;this[_0x3c5749(0x176)](this['_commandService'][_0x3c5749(0x16f)](_0x266f92=>{const _0x45e9c8=_0x3c5749;if(_0x266f92['id']===_0x5250ca['id']){const _0x5885df=_0x266f92[_0x45e9c8(0x199)],{cellValue:_0x10ecc3,unitId:_0x545fcd,subUnitId:_0x4dd06b}=_0x5885df,_0x3a1e03=new _0xfdd5d0(_0x10ecc3),_0x5a9102=new Set(),_0x12a596=this[_0x45e9c8(0x179)]['getSubUnitSparkline'](_0x545fcd,_0x4dd06b);if(!_0x12a596)return;const _0xbaadcc=Array[_0x45e9c8(0x1b2)](_0x12a596);_0x3a1e03[_0x45e9c8(0x163)]((_0x7c7146,_0xd17e7b,_0x2ae2d9)=>{const _0x557cb8=_0x45e9c8,_0x170cef=_0x286593(_0x7c7146,_0xd17e7b);for(let _0x10a7ca=0x0;_0x10a7ca<_0xbaadcc[_0x557cb8(0x149)];_0x10a7ca++){const [_0x4a3c8c,_0x1f8893]=_0xbaadcc[_0x10a7ca],_0x104ff1=_0x5a9102[_0x557cb8(0x117)](_0x4a3c8c);_0x104ff1||_0x1f8893['sparklines'][_0x557cb8(0x163)]((_0x1546a0,_0x79b3b,_0x500d67)=>{const _0x524689=_0x557cb8,_0x21a7a7=_0x500d67;if(_0x21a7a7&&!_0x104ff1&&_0x2c02f8[_0x524689(0x17c)](_0x170cef,_0x21a7a7))return _0x5a9102['add'](_0x4a3c8c),!0x0;});}}),_0x5a9102[_0x45e9c8(0x124)](_0x120f52=>{const _0x25f525=_0x45e9c8;this[_0x25f525(0x179)]['clearSparklineCache'](_0x545fcd,_0x4dd06b,_0x120f52),this[_0x25f525(0x179)][_0x25f525(0x1b4)](_0x545fcd,_0x4dd06b,_0x120f52);});}else{if(_0x266f92['id']===_0x2aeda9['id']){const _0x4fe798=_0x266f92['params'],{range:_0x3205c1,unitId:_0x1f3225,subUnitId:_0x50acde}=_0x4fe798,_0x19b38f=new Set(),_0x5828ba=this['_sparklineDataSourceModel'][_0x45e9c8(0x1a1)](_0x1f3225,_0x50acde);if(!_0x5828ba)return;const _0xff4ca1=Array[_0x45e9c8(0x1b2)](_0x5828ba);for(let _0x2e5195=0x0;_0x2e5195<_0xff4ca1[_0x45e9c8(0x149)];_0x2e5195++){const [_0x520154,_0xd3ba09]=_0xff4ca1[_0x2e5195],_0x5dc6b4=_0x19b38f['has'](_0x520154);_0x5dc6b4||_0xd3ba09[_0x45e9c8(0x1bc)][_0x45e9c8(0x163)]((_0x2bc6af,_0x71758c,_0x217175)=>{const _0x474e49=_0x45e9c8,_0x3c5fb4=_0x217175;if(_0x3c5fb4&&!_0x5dc6b4&&_0x2c02f8[_0x474e49(0x17c)](_0x3205c1,_0x3c5fb4))return _0x19b38f[_0x474e49(0x135)](_0x520154),!0x0;});}_0x19b38f[_0x45e9c8(0x124)](_0x5efa6c=>{const _0x532315=_0x45e9c8;this[_0x532315(0x179)][_0x532315(0x13a)](_0x1f3225,_0x50acde,_0x5efa6c),this[_0x532315(0x179)][_0x532315(0x1b4)](_0x1f3225,_0x50acde,_0x5efa6c);});}}}));}[_0x45e80d(0x181)](){const _0xf30dd8=_0x45e80d;this[_0xf30dd8(0x176)](this['_exclusiveRangeService'][_0xf30dd8(0x186)][_0xf30dd8(0x1ab)](_0x317e7=>{const _0x45f773=_0xf30dd8,{unitId:_0x40eafc,subUnitId:_0x37c6e3,ranges:_0x235f82}=_0x317e7,_0x11abdd=this[_0x45f773(0x179)]['getSubUnitSparkline'](_0x40eafc,_0x37c6e3);if(!_0x11abdd)return;const _0x5e5617=Array[_0x45f773(0x1b2)](_0x11abdd),_0x59cfac=new Set();for(let _0x3abb30=0x0;_0x3abb30<_0x5e5617[_0x45f773(0x149)];_0x3abb30++){const [_0x5a37de,_0x59eb2d]=_0x5e5617[_0x3abb30],_0x3330cc=_0x59cfac[_0x45f773(0x117)](_0x5a37de);_0x3330cc||_0x59eb2d[_0x45f773(0x1bc)][_0x45f773(0x163)]((_0x24ea7b,_0x4c98f8,_0x5347d9)=>{const _0x2f6de6=_0x45f773,_0x3a4f0f=_0x5347d9;if(_0x3a4f0f&&!_0x3330cc){for(const _0x594cbf of _0x235f82)if(_0x2c02f8[_0x2f6de6(0x17c)](_0x594cbf,_0x3a4f0f)){_0x59cfac[_0x2f6de6(0x135)](_0x5a37de);break;}}});}_0x59cfac[_0x45f773(0x124)](_0x445bed=>{const _0x1f8f23=_0x45f773;this['_sparklineDataSourceModel'][_0x1f8f23(0x13a)](_0x40eafc,_0x37c6e3,_0x445bed),this[_0x1f8f23(0x179)][_0x1f8f23(0x1b4)](_0x40eafc,_0x37c6e3,_0x445bed);});}));}};me=Lt([be(0x0,_0x5ab3cf(_0x3f8c98)),be(0x1,_0x5ab3cf(x)),be(0x2,_0x5ab3cf(_0x1ac370))],me);function _0x2f05(){const _0x25f299=['reBuildAnchorCache','MAX_SAFE_INTEGER','forEach','containHiddenCells','interceptCommand','BAR_CHART','deleteUnit','setAlpha','toRgbString','SPACING','getSparklineCache','sheet.command.add-sparkline','_sheetInterceptorService','_initSnapshot','entries','_sparklineModel','foreach','_initCopySheetWithSparkline','refRangeHandle','add','deepClone','moveColumns','matrix','sheet.mutation.add-sparkline','clearSparklineCache','pluginName','realDeleteValue','rgb(54,78,244)','_resourceManagerService','FRESH','set','sheet.command.set-sparkline','removeSparkline','u-connect','standard','removeRows','GROUP_EXTREMUM','ranges','getCurrentSelections','length','_univerInstanceService','setValue','specialty','disposableCollection','rgb(244,104,249)','symbol','rgb(124,66,147)','value','NORMAL','STANDARD','585344vaiDnp','spacing','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','getValue','50kgTKOL','getColVisible','rgb(252,117,60)','themeType','column','endRow','changeDataSourceInfo','fresh','onReady','CONNECT_WITH_LINE','SPECIALTY','forValue','MIN_SAFE_INTEGER','_ensureAnchorMatrix','delete','STRING','row','SOFT','updateConfig$','removeColumns','next','_commandService','min','onCommandExecuted','getRowVisible','_injector','UNIVER_SHEET','PROFIT_AND_LOSS_CHART','push','emptyShowAs','disposeWithMe','SHEET_SPARKLINE_PLUGIN','groupId','_sparklineDataSourceModel','BOOLEAN','COMMAND','intersects','sparklineAnchorMap','4104693oLAQYW','_initRegisterCommand','get','_initExclusiveRangeChange','getSparklineById','rgb(30,177,189)','MUTATION','DISTINCTIVE','exclusiveRangesChange$','lowPoint','firstPoint','getOwnPropertyDescriptor','3144VdkIRa','dispose','startRow','getSparkline','getMatrix','actualRow','type','number','lastPoint','range','1358540hfJpNZ','clone','_initDependencies','subUnitId','toJSON','params','negativePoint','highPoint','size','ZERO_VALUE','markersPoint','_getRefRangeMutationsByDeleteCols','endColumn','getSubUnitSparkline','unitId','setSparkline','addSparkline','getCellRaw','nonNumShowAs','_initHideRowColWithSparkline','_sparklineAnchorMap','rgb(46,187,122)','_ensureConfigMap','subscribe','5cisUUF','values','fromJSON','custom','rgb(49,106,246)','_refRangeService','from','_initClearWithSparkline','updateSparklineExtraNum','CUSTOM_EXTREMUM','SELF_EXTREMUM','_config','some','5627308enchQQ','2178261cFRNpe','FORCE_STRING','sparklines','getSizeOf','config','assign','distinctive','actualColumn','_getRefRangeMutationsByDeleteRows','_sheetSelectionService','max','remove','sheet.mutation.set-sparkline','21609HxlBxk','9249858VJpnwc','asObservable','connect_with_line','startColumn','map','registerRefRange','has','keys','_initCorrectRangeWithSparkline','item','pushUndoRedo','_updateConfig$','sheet.command.remove-sparkline','registerCommand','PIE_CHART','contains','defineProperty'];_0x2f05=function(){return _0x25f299;};return _0x2f05();}var Gt=Object[_0x45e80d(0x189)],Wt=(_0x13d0e7,_0x183ff9,_0x168070,_0x5266b9)=>{const _0x358fc7=_0x45e80d;for(var _0x478bb5=_0x5266b9>0x1?void 0x0:_0x5266b9?Gt(_0x183ff9,_0x168070):_0x183ff9,_0x18d828=_0x13d0e7[_0x358fc7(0x149)]-0x1,_0x1ca596;_0x18d828>=0x0;_0x18d828--)(_0x1ca596=_0x13d0e7[_0x18d828])&&(_0x478bb5=_0x1ca596(_0x478bb5)||_0x478bb5);return _0x478bb5;},We=(_0x972124,_0x3b48a4)=>(_0xcd357,_0x14b38d)=>_0x3b48a4(_0xcd357,_0x14b38d,_0x972124);let Ce=class extends _0x47d650{constructor(_0x848a69,_0x3df1f1){const _0x18685d=_0x45e80d;super(),this['_commandService']=_0x848a69,this[_0x18685d(0x179)]=_0x3df1f1,this[_0x18685d(0x1a7)]();}[_0x45e80d(0x1a7)](){const _0x4ba4e2=_0x45e80d;this[_0x4ba4e2(0x16d)][_0x4ba4e2(0x16f)](_0x1d723d=>{const _0x2bfacb=_0x4ba4e2;if(_0x1d723d['id']===_0x26c9e6['id']||_0x1d723d['id']===_0x1f6eb0['id']||_0x1d723d['id']===_0x494708['id']||_0x1d723d['id']===_0x26b501['id']){const _0x2b5e67=_0x1d723d['params'],{ranges:_0x53cda2,unitId:_0x415953,subUnitId:_0x263eaa}=_0x2b5e67,_0x25e841=new Set(),_0x279c4b=this[_0x2bfacb(0x179)][_0x2bfacb(0x1a1)](_0x415953,_0x263eaa);if(!_0x279c4b)return;const _0x3e9998=Array[_0x2bfacb(0x1b2)](_0x279c4b);_0x53cda2[_0x2bfacb(0x124)](_0x253104=>{const _0x29a429=_0x2bfacb;_0x18604f[_0x29a429(0x132)](_0x253104,(_0x14aa21,_0xf55693)=>{const _0x11f50a=_0x29a429,_0xfcb96d=_0x286593(_0x14aa21,_0xf55693);for(let _0x40f144=0x0;_0x40f144<_0x3e9998[_0x11f50a(0x149)];_0x40f144++){const [_0x46b76c,_0x4cf8f5]=_0x3e9998[_0x40f144],_0x36b47d=_0x25e841['has'](_0x46b76c);_0x36b47d||_0x4cf8f5[_0x11f50a(0x1bc)][_0x11f50a(0x163)]((_0x6ec0c4,_0x2abcf1,_0x4bfba1)=>{const _0x278d8f=_0x11f50a,_0x4c6fa6=_0x4bfba1;if(_0x4c6fa6&&!_0x36b47d&&_0x2c02f8[_0x278d8f(0x17c)](_0xfcb96d,_0x4c6fa6))return _0x25e841[_0x278d8f(0x135)](_0x46b76c),!0x0;});}});}),_0x25e841[_0x2bfacb(0x124)](_0x26bfaa=>{const _0x14c216=_0x2bfacb;this[_0x14c216(0x179)][_0x14c216(0x13a)](_0x415953,_0x263eaa,_0x26bfaa),this[_0x14c216(0x179)]['updateSparklineExtraNum'](_0x415953,_0x263eaa,_0x26bfaa);});}});}};Ce=Wt([We(0x0,_0x5ab3cf(_0x3f8c98)),We(0x1,_0x5ab3cf(x))],Ce);var Bt=Object[_0x45e80d(0x189)],Ht=(_0x5ab379,_0x5d56dc,_0x1fe4a3,_0x1969f6)=>{for(var _0x10cc47=_0x1969f6>0x1?void 0x0:_0x1969f6?Bt(_0x5d56dc,_0x1fe4a3):_0x5d56dc,_0x2a11c3=_0x5ab379['length']-0x1,_0x23c033;_0x2a11c3>=0x0;_0x2a11c3--)(_0x23c033=_0x5ab379[_0x2a11c3])&&(_0x10cc47=_0x23c033(_0x10cc47)||_0x10cc47);return _0x10cc47;},De=(_0x284180,_0x17d85e)=>(_0x4e5b21,_0x4cff90)=>_0x17d85e(_0x4e5b21,_0x4cff90,_0x284180);let _e=class extends _0x47d650{constructor(_0x2f40b2,_0x2ce918,_0xf0a211){const _0x6b5132=_0x45e80d;super(),this[_0x6b5132(0x16d)]=_0x2f40b2,this[_0x6b5132(0x12e)]=_0x2ce918,this[_0x6b5132(0x179)]=_0xf0a211,this['_initMergeWithSparkline']();}['_initMergeWithSparkline'](){const _0x197392=_0x45e80d;this[_0x197392(0x176)](this[_0x197392(0x12e)]['interceptCommand']({'getMutations':_0x4423f4=>{const _0x184269=_0x197392,_0x426592=[],_0x4e4420=[];if(_0x4423f4['id']===_0x4674ea['id']){const _0x1f2c94=_0x4423f4['params'];if(!_0x1f2c94)return{'redos':_0x426592,'undos':_0x4e4420};const {unitId:_0x5d9bcd,subUnitId:_0x1c84ba,ranges:_0x3b559f}=_0x1f2c94,_0x2236c8=this[_0x184269(0x179)]['getSubUnitSparkline'](_0x5d9bcd,_0x1c84ba);if(!_0x2236c8)return{'redos':_0x426592,'undos':_0x4e4420};const _0x53e35d={},_0x70f4ac={},_0x47cc3f=new Set();_0x3b559f[_0x184269(0x124)](_0x1ca2d5=>{const _0x321e57=_0x184269,_0x11ef91=_0x1ca2d5['startRow'],_0x59be39=_0x1ca2d5[_0x321e57(0x114)];_0x18604f[_0x321e57(0x132)](_0x1ca2d5,(_0x376181,_0x37addb)=>{const _0x5e9db0=_0x321e57,_0x2e4efc=this[_0x5e9db0(0x179)][_0x5e9db0(0x18d)](_0x5d9bcd,_0x1c84ba,_0x376181,_0x37addb);if(_0x2e4efc&&!(_0x376181===_0x11ef91&&_0x37addb===_0x59be39)){const _0x1dbe89=this[_0x5e9db0(0x179)][_0x5e9db0(0x182)](_0x5d9bcd,_0x1c84ba,_0x2e4efc);if(_0x1dbe89){_0x47cc3f['add'](_0x2e4efc);let _0x14694e=_0x53e35d[_0x2e4efc];_0x14694e||(_0x14694e={'config':_0x51634e[_0x5e9db0(0x136)](_0x1dbe89['config']),'sparklines':new _0xfdd5d0(_0x1dbe89[_0x5e9db0(0x1bc)][_0x5e9db0(0x195)]())},_0x53e35d[_0x2e4efc]=_0x14694e),_0x14694e['sparklines'][_0x5e9db0(0x13c)](_0x376181,_0x37addb),_0x70f4ac[_0x2e4efc]={'config':_0x51634e['deepClone'](_0x1dbe89[_0x5e9db0(0x1be)]),'sparklines':_0x51634e[_0x5e9db0(0x136)](_0x1dbe89[_0x5e9db0(0x1bc)][_0x5e9db0(0x195)]())};}}});});for(const [_0x4106f6,_0x1744ed]of _0x2236c8){const _0x33f8e9=_0x1744ed[_0x184269(0x1bc)];_0x33f8e9[_0x184269(0x163)]((_0x4a2726,_0x193cfc,_0x7fa018)=>{const _0x38e287=_0x184269;for(let _0x4abaea=0x0;_0x4abaea<_0x3b559f['length'];_0x4abaea++){const _0x43a1b3=_0x3b559f[_0x4abaea];if(_0x2c02f8[_0x38e287(0x120)](_0x43a1b3,_0x7fa018)){_0x47cc3f['add'](_0x4106f6);let _0x37d0e8=_0x53e35d[_0x4106f6];_0x37d0e8||(_0x37d0e8={'config':_0x51634e[_0x38e287(0x136)](_0x1744ed[_0x38e287(0x1be)]),'sparklines':new _0xfdd5d0(_0x33f8e9[_0x38e287(0x195)]())},_0x53e35d[_0x4106f6]=_0x37d0e8),_0x37d0e8[_0x38e287(0x1bc)]['realDeleteValue'](_0x4a2726,_0x193cfc),_0x70f4ac[_0x4106f6]||(_0x70f4ac[_0x4106f6]={'config':_0x51634e['deepClone'](_0x1744ed[_0x38e287(0x1be)]),'sparklines':_0x51634e[_0x38e287(0x136)](_0x33f8e9['clone']())});}}});}const _0x16f1a6={};Object['entries'](_0x53e35d)[_0x184269(0x124)](([_0x1927de,_0x2f8b2b])=>{const _0x348bb1=_0x184269;_0x2f8b2b['sparklines'][_0x348bb1(0x1bd)]()&&(_0x16f1a6[_0x1927de]={'config':_0x2f8b2b[_0x348bb1(0x1be)],'sparklines':_0x2f8b2b[_0x348bb1(0x1bc)][_0x348bb1(0x195)]()});}),_0x47cc3f[_0x184269(0x19c)]&&(_0x426592[_0x184269(0x174)]({'id':y['id'],'params':{'unitId':_0x5d9bcd,'subUnitId':_0x1c84ba,'groupIds':Array[_0x184269(0x1b2)](_0x47cc3f),'isSingle':!0x1}}),_0x4e4420['push']({'id':y['id'],'params':{'unitId':_0x5d9bcd,'subUnitId':_0x1c84ba,'groupIds':Array[_0x184269(0x1b2)](_0x47cc3f),'isSingle':!0x1}}),_0x426592[_0x184269(0x174)]({'id':V['id'],'params':{'unitId':_0x5d9bcd,'subUnitId':_0x1c84ba,'sparklineConfigMap':_0x16f1a6}}),_0x4e4420[_0x184269(0x174)]({'id':V['id'],'params':{'unitId':_0x5d9bcd,'subUnitId':_0x1c84ba,'sparklineConfigMap':_0x70f4ac}}));}return{'redos':_0x426592,'undos':_0x4e4420};}}));}};_e=Ht([De(0x0,_0x5ab3cf(_0x3f8c98)),De(0x1,_0x5ab3cf(_0x4f9f4f)),De(0x2,_0x5ab3cf(x))],_e);var Ft=Object[_0x45e80d(0x189)],Kt=(_0x43fdbb,_0x4e74a3,_0x370b3f,_0x4deb4f)=>{const _0x292335=_0x45e80d;for(var _0x45029f=_0x4deb4f>0x1?void 0x0:_0x4deb4f?Ft(_0x4e74a3,_0x370b3f):_0x4e74a3,_0x1d8052=_0x43fdbb[_0x292335(0x149)]-0x1,_0x3080ff;_0x1d8052>=0x0;_0x1d8052--)(_0x3080ff=_0x43fdbb[_0x1d8052])&&(_0x45029f=_0x3080ff(_0x45029f)||_0x45029f);return _0x45029f;},ue=(_0x342bdb,_0x47d607)=>(_0x16a7c7,_0x43d90e)=>_0x47d607(_0x16a7c7,_0x43d90e,_0x342bdb);let Me=class extends _0x47d650{constructor(_0x121329,_0x1b26d8,_0xa5bc25,_0x5c74ec,_0xd263f2){const _0x12b7eb=_0x45e80d;super(),se(this,_0x12b7eb(0x14d),new _0x5480ea()),(this[_0x12b7eb(0x16d)]=_0x121329,this['_sheetInterceptorService']=_0x1b26d8,this[_0x12b7eb(0x1b1)]=_0xa5bc25,this['_univerInstanceService']=_0x5c74ec,this[_0x12b7eb(0x179)]=_0xd263f2,this['_onRefRangeChange'](),this[_0x12b7eb(0x119)]());}['_onRefRangeChange'](){const _0xed8078=_0x45e80d,_0x445a18=(_0x34110e,_0xfb17b4)=>{const _0x7bff59=_0x2c0b,_0x3e4473=this[_0x7bff59(0x14a)]['getCurrentUnitForType'](_0x565480['UNIVER_SHEET']);if(!_0x3e4473||!(_0x3e4473==null?void 0x0:_0x3e4473['getSheetBySheetId'](_0xfb17b4)))return;this['disposableCollection'][_0x7bff59(0x18b)]();const _0x5b0370=_0x15e0cf=>this[_0x7bff59(0x134)](_0x15e0cf,_0x34110e,_0xfb17b4),_0xf6a81a=[],_0x205644=this['_sparklineDataSourceModel'][_0x7bff59(0x1a1)](_0x34110e,_0xfb17b4);if(_0x205644){for(const [_0x34fcf4,_0x595534]of _0x205644)_0x595534[_0x7bff59(0x1bc)]['forValue']((_0x27b048,_0x1534fc,_0x40fe77)=>{const _0x4b89a3=_0x7bff59,_0x43978e=_0x286593(_0x27b048,_0x1534fc);_0xf6a81a[_0x4b89a3(0x174)](_0x43978e);});_0xf6a81a[_0x7bff59(0x124)](_0xc33ab0=>{const _0x748c37=_0x7bff59;this['disposableCollection'][_0x748c37(0x135)](this['_refRangeService'][_0x748c37(0x116)](_0xc33ab0,_0x5b0370,_0x34110e,_0xfb17b4));});}};this[_0xed8078(0x176)](this[_0xed8078(0x16d)][_0xed8078(0x16f)](_0x4eeea7=>{const _0x2184ab=_0xed8078;if(_0x4eeea7['id']===_0x2b370c['id']){const _0x5071e7=_0x4eeea7['params'],_0x5e1553=_0x5071e7['subUnitId'],_0x3ed552=_0x5071e7[_0x2184ab(0x1a2)];if(!_0x5e1553||!_0x3ed552)return;_0x445a18(_0x3ed552,_0x5e1553);}if(_0x4eeea7['id']===Oe['id']||_0x4eeea7['id']===V['id']){const _0x19e387=_0x4eeea7[_0x2184ab(0x199)],_0x2e5498=_0x19e387[_0x2184ab(0x197)],_0x1f301=_0x19e387['unitId'];if(!_0x2e5498||!_0x1f301)return;_0x445a18(_0x1f301,_0x2e5498);}}));}[_0x45e80d(0x134)](_0x449cd5,_0x4ec876,_0x40a311){const _0x23f1db=_0x45e80d;switch(_0x449cd5['id']){case _0x27cc3f['id']:return this[_0x23f1db(0x19f)](_0x449cd5['params'],_0x4ec876,_0x40a311);case _0x35e77e['id']:return this[_0x23f1db(0x10b)](_0x449cd5[_0x23f1db(0x199)],_0x4ec876,_0x40a311);}return{'redos':[],'undos':[]};}[_0x45e80d(0x10b)](_0x2f3db0,_0x59fe89,_0x4038ef){const _0x3b7790=_0x45e80d;var _0x4a349a,_0x10fe52;const {range:_0x27fd60}=_0x2f3db0,_0x33d245=new Set(),_0x1f3c88={},_0x330c62={},_0x20e360=[],_0x2d2dee=[],_0x59151b=[],_0x33b565=[];if(!_0x10faa1(this[_0x3b7790(0x14a)],{'unitId':_0x59fe89,'subUnitId':_0x4038ef}))return{'redos':_0x2d2dee,'undos':_0x20e360};const _0x228b7f=this[_0x3b7790(0x179)][_0x3b7790(0x1a1)](_0x59fe89,_0x4038ef);if(!_0x228b7f)return{'redos':_0x2d2dee,'undos':_0x20e360};if(!((_0x10fe52=(_0x4a349a=this[_0x3b7790(0x179)][_0x3b7790(0x12c)]()['sparklineAnchorMap'][_0x3b7790(0x180)](_0x59fe89))==null?void 0x0:_0x4a349a['get'](_0x4038ef))==null?void 0x0:_0x10fe52[_0x3b7790(0x138)]))return{'redos':_0x2d2dee,'undos':_0x20e360};for(const [_0x11831c,_0x5f4840]of _0x228b7f){const _0x1bdfd2=_0x5f4840[_0x3b7790(0x1bc)];_0x1bdfd2['forValue']((_0xa3ba81,_0x4e5a7c,_0x435418)=>{const _0x56f12e=_0x3b7790;if(_0x2c02f8['intersects'](_0x27fd60,_0x435418)){_0x33d245[_0x56f12e(0x135)](_0x11831c);let _0x27dfdc=_0x330c62[_0x11831c];_0x27dfdc||(_0x27dfdc={'config':_0x5f4840[_0x56f12e(0x1be)],'sparklines':_0x5f4840[_0x56f12e(0x1bc)][_0x56f12e(0x195)]()},_0x330c62[_0x11831c]=_0x27dfdc);let _0x36b2f9=_0x1f3c88[_0x11831c];_0x36b2f9||(_0x36b2f9={'config':_0x5f4840[_0x56f12e(0x1be)],'sparklines':new _0xfdd5d0(_0x5f4840[_0x56f12e(0x1bc)][_0x56f12e(0x195)]())},_0x1f3c88[_0x11831c]=_0x36b2f9);const _0x355878=_0x2ef67c(_0x435418,{'id':_0xebed7d['id'],'params':_0x2f3db0});_0x355878?_0x36b2f9['sparklines']['setValue'](_0xa3ba81,_0x4e5a7c,_0x355878):_0x36b2f9['sparklines'][_0x56f12e(0x14b)](_0xa3ba81,_0x4e5a7c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e['NORMAL']});}}),_0x1bdfd2['forValue']((_0x2b4a67,_0x47b800,_0x2046b3)=>{const _0x2a66c0=_0x3b7790;if(_0x2b4a67<=_0x27fd60[_0x2a66c0(0x15d)]&&_0x2b4a67>=_0x27fd60[_0x2a66c0(0x18c)]){_0x33d245[_0x2a66c0(0x135)](_0x11831c);let _0x21c4b9=_0x330c62[_0x11831c];_0x21c4b9||(_0x21c4b9={'config':_0x5f4840['config'],'sparklines':_0x5f4840['sparklines'][_0x2a66c0(0x195)]()},_0x330c62[_0x11831c]=_0x21c4b9);let _0x490e24=_0x1f3c88[_0x11831c];_0x490e24||(_0x490e24={'config':_0x5f4840['config'],'sparklines':new _0xfdd5d0(_0x5f4840[_0x2a66c0(0x1bc)][_0x2a66c0(0x195)]())},_0x1f3c88[_0x11831c]=_0x490e24);}});}_0x33b565[_0x3b7790(0x174)]({'id':y['id'],'params':{'unitId':_0x59fe89,'subUnitId':_0x4038ef,'groupIds':Array[_0x3b7790(0x1b2)](_0x33d245),'isSingle':!0x1}}),_0x59151b['push']({'id':y['id'],'params':{'unitId':_0x59fe89,'subUnitId':_0x4038ef,'groupIds':Array[_0x3b7790(0x1b2)](_0x33d245),'isSingle':!0x1}});const _0x152b53={};let _0xa251b2=!0x1;return Object[_0x3b7790(0x130)](_0x1f3c88)['forEach'](([_0x568bfa,_0x57f0f7])=>{const _0x3fa946=_0x3b7790;_0x57f0f7[_0x3fa946(0x1bc)][_0x3fa946(0x1bd)]()&&(_0xa251b2=!0x0,_0x57f0f7[_0x3fa946(0x1bc)][_0x3fa946(0x145)](_0x27fd60[_0x3fa946(0x18c)],_0x27fd60[_0x3fa946(0x15d)]-_0x27fd60['startRow']+0x1),_0x152b53[_0x568bfa]={'config':_0x57f0f7[_0x3fa946(0x1be)],'sparklines':_0x57f0f7[_0x3fa946(0x1bc)][_0x3fa946(0x195)]()});}),_0xa251b2&&_0x2d2dee[_0x3b7790(0x174)]({'id':V['id'],'params':{'unitId':_0x59fe89,'subUnitId':_0x4038ef,'sparklineConfigMap':_0x152b53}}),_0x20e360['push']({'id':V['id'],'params':{'unitId':_0x59fe89,'subUnitId':_0x4038ef,'sparklineConfigMap':_0x330c62}}),{'redos':_0x2d2dee,'undos':_0x20e360,'preRedos':_0x59151b,'preUndos':_0x33b565};}[_0x45e80d(0x19f)](_0x5c024d,_0x58a53f,_0x418c4f){const _0x216b2c=_0x45e80d;var _0x54f172,_0x1bb340;const {range:_0xefcc3c}=_0x5c024d,_0xedcf74=new Set(),_0xfc6dc3={},_0x9af04f={},_0x5b9d3a=[],_0x3b3898=[],_0x3e5ddd=[],_0x412b1b=[];if(!_0x10faa1(this[_0x216b2c(0x14a)],{'unitId':_0x58a53f,'subUnitId':_0x418c4f}))return{'redos':_0x3b3898,'undos':_0x5b9d3a};const _0x422c1f=this[_0x216b2c(0x179)]['getSubUnitSparkline'](_0x58a53f,_0x418c4f);if(!_0x422c1f)return{'redos':_0x3b3898,'undos':_0x5b9d3a};if(!((_0x1bb340=(_0x54f172=this[_0x216b2c(0x179)]['getSparklineCache']()[_0x216b2c(0x17d)][_0x216b2c(0x180)](_0x58a53f))==null?void 0x0:_0x54f172[_0x216b2c(0x180)](_0x418c4f))==null?void 0x0:_0x1bb340['matrix']))return{'redos':_0x3b3898,'undos':_0x5b9d3a};for(const [_0x38a6a9,_0x4f2449]of _0x422c1f){const _0x22355a=_0x4f2449['sparklines'];_0x22355a['forValue']((_0x4cb662,_0x30a907,_0x3bb73c)=>{const _0x86e0de=_0x216b2c;if(_0x2c02f8[_0x86e0de(0x17c)](_0xefcc3c,_0x3bb73c)){_0xedcf74['add'](_0x38a6a9);let _0x1ada67=_0x9af04f[_0x38a6a9];_0x1ada67||(_0x1ada67={'config':_0x4f2449[_0x86e0de(0x1be)],'sparklines':_0x4f2449[_0x86e0de(0x1bc)][_0x86e0de(0x195)]()},_0x9af04f[_0x38a6a9]=_0x1ada67);let _0x1a025a=_0xfc6dc3[_0x38a6a9];_0x1a025a||(_0x1a025a={'config':_0x4f2449[_0x86e0de(0x1be)],'sparklines':new _0xfdd5d0(_0x4f2449[_0x86e0de(0x1bc)][_0x86e0de(0x195)]())},_0xfc6dc3[_0x38a6a9]=_0x1a025a);const _0x2754a6=_0x2ef67c(_0x3bb73c,{'id':_0x107df9['id'],'params':_0x5c024d});_0x2754a6?_0x1a025a[_0x86e0de(0x1bc)][_0x86e0de(0x14b)](_0x4cb662,_0x30a907,_0x2754a6):_0x1a025a['sparklines'][_0x86e0de(0x14b)](_0x4cb662,_0x30a907,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e[_0x86e0de(0x152)]});}}),_0x22355a['forValue']((_0xaece66,_0x430315,_0xd46bb)=>{const _0x51d7da=_0x216b2c;if(_0x430315<=_0xefcc3c[_0x51d7da(0x1a0)]&&_0x430315>=_0xefcc3c['startColumn']){_0xedcf74[_0x51d7da(0x135)](_0x38a6a9);let _0xfc8745=_0x9af04f[_0x38a6a9];_0xfc8745||(_0xfc8745={'config':_0x4f2449[_0x51d7da(0x1be)],'sparklines':_0x4f2449[_0x51d7da(0x1bc)][_0x51d7da(0x195)]()},_0x9af04f[_0x38a6a9]=_0xfc8745);let _0xf29a7c=_0xfc6dc3[_0x38a6a9];_0xf29a7c||(_0xf29a7c={'config':_0x4f2449[_0x51d7da(0x1be)],'sparklines':new _0xfdd5d0(_0x4f2449['sparklines'][_0x51d7da(0x195)]())},_0xfc6dc3[_0x38a6a9]=_0xf29a7c);}});}_0x412b1b[_0x216b2c(0x174)]({'id':y['id'],'params':{'unitId':_0x58a53f,'subUnitId':_0x418c4f,'groupIds':Array[_0x216b2c(0x1b2)](_0xedcf74),'isSingle':!0x1}}),_0x3e5ddd[_0x216b2c(0x174)]({'id':y['id'],'params':{'unitId':_0x58a53f,'subUnitId':_0x418c4f,'groupIds':Array['from'](_0xedcf74),'isSingle':!0x1}});const _0x2a3698={};let _0x2aef97=!0x1;return Object['entries'](_0xfc6dc3)[_0x216b2c(0x124)](([_0x2f0472,_0x13069d])=>{const _0x5c2267=_0x216b2c;_0x13069d[_0x5c2267(0x1bc)][_0x5c2267(0x1bd)]()&&(_0x2aef97=!0x0,_0x13069d[_0x5c2267(0x1bc)][_0x5c2267(0x16b)](_0xefcc3c[_0x5c2267(0x114)],_0xefcc3c[_0x5c2267(0x1a0)]-_0xefcc3c[_0x5c2267(0x114)]+0x1),_0x2a3698[_0x2f0472]={'config':_0x13069d[_0x5c2267(0x1be)],'sparklines':_0x13069d['sparklines'][_0x5c2267(0x195)]()});}),_0x2aef97&&_0x3b3898['push']({'id':V['id'],'params':{'unitId':_0x58a53f,'subUnitId':_0x418c4f,'sparklineConfigMap':_0x2a3698}}),_0x5b9d3a['push']({'id':V['id'],'params':{'unitId':_0x58a53f,'subUnitId':_0x418c4f,'sparklineConfigMap':_0x9af04f}}),{'redos':_0x3b3898,'undos':_0x5b9d3a,'preRedos':_0x3e5ddd,'preUndos':_0x412b1b};}['_initCorrectRangeWithSparkline'](){const _0x2f5ce7=_0x45e80d;this[_0x2f5ce7(0x176)](this[_0x2f5ce7(0x16d)][_0x2f5ce7(0x16f)](_0x53a142=>{const _0x521b06=_0x2f5ce7;if(_0x53a142['id']===_0x1d40aa['id']){const _0x5d1b57=_0x53a142[_0x521b06(0x199)],{unitId:_0x20c2d9,subUnitId:_0x9a21bd,range:_0x5471a7}=_0x5d1b57,_0x271a3d=_0x5471a7[_0x521b06(0x114)],_0x197857=_0x5471a7['endColumn']-_0x5471a7['startColumn']+0x1,_0x8d1e8b=this[_0x521b06(0x179)][_0x521b06(0x1a1)](_0x20c2d9,_0x9a21bd);if(!_0x8d1e8b)return;for(const [_0x9940b2,_0x3caec0]of _0x8d1e8b){this[_0x521b06(0x179)]['clearSparklineCache'](_0x20c2d9,_0x9a21bd,_0x9940b2);const _0x4c2e35=_0x3caec0[_0x521b06(0x1bc)];_0x4c2e35['forValue']((_0x6d2427,_0x4915cb,_0x1d0ba9)=>{const _0x2860e7=_0x521b06,_0x36a821={..._0x1d0ba9};_0x271a3d<=_0x36a821['startColumn']?(_0x36a821[_0x2860e7(0x114)]+=_0x197857,_0x36a821[_0x2860e7(0x1a0)]+=_0x197857):_0x271a3d>_0x36a821[_0x2860e7(0x1a0)]||(_0x36a821[_0x2860e7(0x1a0)]+=_0x197857),_0x4c2e35[_0x2860e7(0x14b)](_0x6d2427,_0x4915cb,_0x36a821);});const _0x2e6b00=_0x4c2e35[_0x521b06(0x18e)]();for(const _0x1bfafe in _0x2e6b00){const _0x1fab3a=_0x2e6b00[Number(_0x1bfafe)];if(!_0x1fab3a)continue;const _0x30d7cc=Object['keys'](_0x1fab3a)['map'](Number),_0x59d769=Math['max'](..._0x30d7cc);for(let _0x2b8b63=_0x59d769;_0x2b8b63>=_0x271a3d;_0x2b8b63--)_0x2b8b63>=_0x271a3d&&_0x1fab3a[_0x2b8b63]&&(_0x1fab3a[_0x2b8b63+_0x197857]=_0x1fab3a[_0x2b8b63],delete _0x1fab3a[_0x2b8b63]);}this[_0x521b06(0x179)]['updateSparklineExtraNum'](_0x20c2d9,_0x9a21bd,_0x9940b2);}}else{if(_0x53a142['id']===_0x1880ec['id']){const _0x4d075c=_0x53a142[_0x521b06(0x199)],{unitId:_0x5249ce,subUnitId:_0x1f229c,range:_0xf3fbf5}=_0x4d075c,_0x7f1e63=_0xf3fbf5['startRow'],_0x58a2d5=_0xf3fbf5[_0x521b06(0x15d)]-_0xf3fbf5['startRow']+0x1,_0x4e9e54=this['_sparklineDataSourceModel'][_0x521b06(0x1a1)](_0x5249ce,_0x1f229c);if(!_0x4e9e54)return;for(const [_0x5db263,_0x514507]of _0x4e9e54){this[_0x521b06(0x179)][_0x521b06(0x13a)](_0x5249ce,_0x1f229c,_0x5db263);const _0x395f61=_0x514507[_0x521b06(0x1bc)];_0x395f61[_0x521b06(0x163)]((_0x1d9d43,_0x1ad9c9,_0x42d2f9)=>{const _0xb9ac51=_0x521b06,_0x563837={..._0x42d2f9};_0x7f1e63<=_0x563837[_0xb9ac51(0x18c)]?(_0x563837[_0xb9ac51(0x18c)]+=_0x58a2d5,_0x563837[_0xb9ac51(0x15d)]+=_0x58a2d5):_0x7f1e63>_0x563837['endRow']||(_0x563837[_0xb9ac51(0x15d)]+=_0x58a2d5),_0x395f61[_0xb9ac51(0x14b)](_0x1d9d43,_0x1ad9c9,_0x563837);});const _0x5e0c50=_0x395f61['getMatrix'](),_0x21f6de=Object[_0x521b06(0x118)](_0x5e0c50)[_0x521b06(0x115)](Number),_0x4eb41b=Math['max'](..._0x21f6de);for(let _0xfcc09b=_0x4eb41b;_0xfcc09b>=_0x7f1e63;_0xfcc09b--)_0xfcc09b>=_0x7f1e63&&_0x5e0c50[_0xfcc09b]&&(_0x5e0c50[_0xfcc09b+_0x58a2d5]=_0x5e0c50[_0xfcc09b],delete _0x5e0c50[_0xfcc09b]);this[_0x521b06(0x179)][_0x521b06(0x1b4)](_0x5249ce,_0x1f229c,_0x5db263);}}else{if(_0x53a142['id']===_0x107df9['id']){const _0x3e86f0=_0x53a142[_0x521b06(0x199)],{range:_0x1e280f,unitId:_0x21ef48,subUnitId:_0x279951}=_0x3e86f0,_0xa3e02e=this['_sparklineDataSourceModel'][_0x521b06(0x1a1)](_0x21ef48,_0x279951);if(!_0xa3e02e)return;for(const [_0x1c12ad,_0xb4a103]of _0xa3e02e){const _0x9a188e=_0xb4a103[_0x521b06(0x1bc)];_0x9a188e['forValue']((_0xbcc8c,_0x1afcc8,_0x16b0f7)=>{const _0x46880b=_0x521b06,_0x109d7=_0x2ef67c(_0x16b0f7,_0x53a142);_0x109d7?_0x9a188e['setValue'](_0xbcc8c,_0x1afcc8,_0x109d7):_0x9a188e[_0x46880b(0x14b)](_0xbcc8c,_0x1afcc8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e[_0x46880b(0x152)]});}),_0x9a188e[_0x521b06(0x16b)](_0x1e280f['startColumn'],_0x1e280f[_0x521b06(0x1a0)]-_0x1e280f[_0x521b06(0x114)]+0x1);}this[_0x521b06(0x179)][_0x521b06(0x122)](_0x21ef48,_0x279951);}else{if(_0x53a142['id']===_0xebed7d['id']){const _0x50f8af=_0x53a142[_0x521b06(0x199)],{range:_0x2c3463,unitId:_0x480352,subUnitId:_0x48f39b}=_0x50f8af,_0x1d762b=this[_0x521b06(0x179)][_0x521b06(0x1a1)](_0x480352,_0x48f39b);if(!_0x1d762b)return;for(const [_0x5a4336,_0x366c7f]of _0x1d762b){const _0x41f461=_0x366c7f['sparklines'];_0x41f461[_0x521b06(0x163)]((_0x325285,_0x2e42b2,_0x47e598)=>{const _0x393e7e=_0x521b06,_0x1f1819=_0x2ef67c(_0x47e598,_0x53a142);_0x1f1819?_0x41f461[_0x393e7e(0x14b)](_0x325285,_0x2e42b2,_0x1f1819):_0x41f461[_0x393e7e(0x14b)](_0x325285,_0x2e42b2,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e[_0x393e7e(0x152)]});}),_0x41f461['removeRows'](_0x2c3463[_0x521b06(0x18c)],_0x2c3463[_0x521b06(0x15d)]-_0x2c3463[_0x521b06(0x18c)]+0x1);}this[_0x521b06(0x179)]['reBuildAnchorCache'](_0x480352,_0x48f39b);}else{if(_0x53a142['id']===_0x466367['id']){const _0x1e838c=_0x53a142[_0x521b06(0x199)],{unitId:_0xa80bea,subUnitId:_0x52839d,sourceRange:_0x5666f1,targetRange:_0x3becf0}=_0x1e838c,_0x48c8b7=this['_sparklineDataSourceModel'][_0x521b06(0x1a1)](_0xa80bea,_0x52839d);if(!_0x48c8b7)return;for(const [_0x173cf2,_0x29913f]of _0x48c8b7){const _0x1258e9=_0x29913f[_0x521b06(0x1bc)];_0x1258e9[_0x521b06(0x163)]((_0x57575f,_0x4a7dcb,_0x2a3eb3)=>{const _0x5678b7=_0x521b06,_0x3234d8=_0x2ef67c(_0x2a3eb3,_0x53a142);_0x3234d8?_0x1258e9[_0x5678b7(0x14b)](_0x57575f,_0x4a7dcb,_0x3234d8):_0x1258e9[_0x5678b7(0x14b)](_0x57575f,_0x4a7dcb,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e['NORMAL']});}),_0x1258e9[_0x521b06(0x137)](_0x5666f1[_0x521b06(0x114)],_0x5666f1[_0x521b06(0x1a0)]-_0x5666f1[_0x521b06(0x114)]+0x1,_0x3becf0[_0x521b06(0x114)]);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0xa80bea,_0x52839d);}else{if(_0x53a142['id']===_0x14c34e['id']){const _0xa8c5cc=_0x53a142[_0x521b06(0x199)],{unitId:_0x17c695,subUnitId:_0x428ebc,sourceRange:_0x51f29a,targetRange:_0x59c6a3}=_0xa8c5cc,_0x1837e3=this[_0x521b06(0x179)]['getSubUnitSparkline'](_0x17c695,_0x428ebc);if(!_0x1837e3)return;for(const [_0x5dec77,_0x16c68b]of _0x1837e3){const _0x511742=_0x16c68b[_0x521b06(0x1bc)];_0x511742[_0x521b06(0x163)]((_0x5c186e,_0x1116df,_0x5a47ba)=>{const _0x4d0971=_0x521b06,_0x4dc08d=_0x2ef67c(_0x5a47ba,_0x53a142);_0x4dc08d?_0x511742[_0x4d0971(0x14b)](_0x5c186e,_0x1116df,_0x4dc08d):_0x511742[_0x4d0971(0x14b)](_0x5c186e,_0x1116df,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x19dc3e[_0x4d0971(0x152)]});}),_0x511742['moveRows'](_0x51f29a[_0x521b06(0x18c)],_0x51f29a[_0x521b06(0x15d)]-_0x51f29a['startRow']+0x1,_0x59c6a3['startRow']);}this[_0x521b06(0x179)][_0x521b06(0x122)](_0x17c695,_0x428ebc);}else{if(_0x53a142['id']===_0x201ae9['id']){const _0x2493af=_0x53a142['params'],{fromRange:_0x55d534,toRange:_0x1a5fd7,unitId:_0x46e3de,from:_0x24fda2,to:_0x8b1cbb}=_0x2493af;if(_0x24fda2['subUnitId']!==_0x8b1cbb['subUnitId'])return;const _0x409d96=_0x24fda2[_0x521b06(0x197)],{startRow:_0x1b44e0,endRow:_0xaee989,startColumn:_0x3f4c2f,endColumn:_0x4007c8}=_0x55d534,{startRow:_0x17209f,startColumn:_0x306dae}=_0x1a5fd7,_0x31f353=_0x17209f-_0x1b44e0,_0x4ebb67=_0x306dae-_0x3f4c2f,_0x1fe4b7=this[_0x521b06(0x179)]['getSubUnitSparkline'](_0x46e3de,_0x409d96);if(!(_0x1fe4b7!=null&&_0x1fe4b7[_0x521b06(0x19c)]))return;for(let _0x37e5a8=_0x1b44e0;_0x37e5a8<=_0xaee989;_0x37e5a8++)for(let _0x599e79=_0x3f4c2f;_0x599e79<=_0x4007c8;_0x599e79++){const _0xa5fa28=this[_0x521b06(0x179)][_0x521b06(0x18d)](_0x46e3de,_0x409d96,_0x37e5a8,_0x599e79);if(_0xa5fa28){const _0x3635d7=this[_0x521b06(0x179)]['getSparklineById'](_0x46e3de,_0x409d96,_0xa5fa28);if(_0x3635d7){const _0x372660=_0x3635d7[_0x521b06(0x1bc)][_0x521b06(0x157)](_0x37e5a8,_0x599e79);_0x372660&&(_0x3635d7[_0x521b06(0x1bc)][_0x521b06(0x14b)](_0x37e5a8+_0x31f353,_0x599e79+_0x4ebb67,_0x372660),_0x3635d7[_0x521b06(0x1bc)][_0x521b06(0x13c)](_0x37e5a8,_0x599e79));}}}for(const [_0x3bb95b,_0x3d21ef]of _0x1fe4b7){const _0x16463c=_0x3d21ef[_0x521b06(0x1bc)];_0x16463c[_0x521b06(0x163)]((_0x4f5118,_0x4ff1ea,_0x44df29)=>{const _0x107cf5=_0x521b06,_0x52f304={..._0x44df29};_0x2c02f8[_0x107cf5(0x120)](_0x55d534,_0x44df29)&&(_0x52f304[_0x107cf5(0x18c)]+=_0x31f353,_0x52f304[_0x107cf5(0x15d)]+=_0x31f353,_0x52f304[_0x107cf5(0x114)]+=_0x4ebb67,_0x52f304['endColumn']+=_0x4ebb67),_0x16463c[_0x107cf5(0x14b)](_0x4f5118,_0x4ff1ea,_0x52f304);});}this[_0x521b06(0x179)][_0x521b06(0x122)](_0x46e3de,_0x409d96);}}}}}}}}));}};Me=Kt([ue(0x0,_0x5ab3cf(_0x3f8c98)),ue(0x1,_0x5ab3cf(_0x4f9f4f)),ue(0x2,_0x5ab3cf(_0x23cc9c)),ue(0x3,_0x4dc04a),ue(0x4,_0x5ab3cf(x))],Me);var Xt=Object[_0x45e80d(0x189)],zt=(_0x44034c,_0x2f3c8f,_0x5b681a,_0x1a287c)=>{const _0x538f0a=_0x45e80d;for(var _0xbece8f=_0x1a287c>0x1?void 0x0:_0x1a287c?Xt(_0x2f3c8f,_0x5b681a):_0x2f3c8f,_0x33bade=_0x44034c[_0x538f0a(0x149)]-0x1,_0x338c6e;_0x33bade>=0x0;_0x33bade--)(_0x338c6e=_0x44034c[_0x33bade])&&(_0xbece8f=_0x338c6e(_0xbece8f)||_0xbece8f);return _0xbece8f;},Be=(_0xb23039,_0x21a2b1)=>(_0x36e135,_0x30bace)=>_0x21a2b1(_0x36e135,_0x30bace,_0xb23039);let Re=class extends _0x47d650{constructor(_0x573a1c,_0x2daf65){const _0x567e33=_0x45e80d;super(),this[_0x567e33(0x13e)]=_0x573a1c,this[_0x567e33(0x179)]=_0x2daf65,this[_0x567e33(0x12f)]();}['_initSnapshot'](){const _0x4507e8=_0x45e80d,_0x109269=_0x254c9b=>{const _0x5a3e48=_0x2c0b,_0x67db7b=this[_0x5a3e48(0x179)][_0x5a3e48(0x198)](_0x254c9b);return _0x67db7b?JSON['stringify'](_0x67db7b):'';},_0x15fc32=_0x37db5a=>_0x37db5a?JSON['parse'](_0x37db5a):{};this[_0x4507e8(0x176)](this[_0x4507e8(0x13e)]['registerPluginResource']({'toJson':_0x109269,'parseJson':_0x15fc32,'pluginName':Ke,'businesses':[_0x565480['UNIVER_SHEET']],'onLoad':(_0x1c6657,_0x2adfaa)=>{this['_sparklineDataSourceModel']['fromJSON'](_0x2adfaa);},'onUnLoad':_0xd582f3=>{const _0x4c8f86=_0x4507e8;this[_0x4c8f86(0x179)][_0x4c8f86(0x128)](_0xd582f3);}}));}};Re=zt([Be(0x0,_0x5ab3cf(_0x3737a1)),Be(0x1,_0x5ab3cf(x))],Re);var Jt=Object[_0x45e80d(0x121)],Zt=Object['getOwnPropertyDescriptor'],Yt=(_0x581ef8,_0x4bdcb1,_0x320efd)=>_0x4bdcb1 in _0x581ef8?Jt(_0x581ef8,_0x4bdcb1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x320efd}):_0x581ef8[_0x4bdcb1]=_0x320efd,qt=(_0xf64354,_0x11a425,_0x5e640c,_0x1b4239)=>{const _0xa322db=_0x45e80d;for(var _0x1260e0=_0x1b4239>0x1?void 0x0:_0x1b4239?Zt(_0x11a425,_0x5e640c):_0x11a425,_0x45a408=_0xf64354[_0xa322db(0x149)]-0x1,_0x3f2aec;_0x45a408>=0x0;_0x45a408--)(_0x3f2aec=_0xf64354[_0x45a408])&&(_0x1260e0=_0x3f2aec(_0x1260e0)||_0x1260e0);return _0x1260e0;},He=(_0x1a3eb8,_0x4ee407)=>(_0x3bc402,_0x1d6011)=>_0x4ee407(_0x3bc402,_0x1d6011,_0x1a3eb8),ze=(_0x353673,_0x10f162,_0x173a99)=>Yt(_0x353673,typeof _0x10f162!=_0x45e80d(0x14f)?_0x10f162+'':_0x10f162,_0x173a99);function _0x2c0b(_0x44228d,_0x1a77d7){const _0x2f0568=_0x2f05();return _0x2c0b=function(_0x2c0be7,_0x2e5806){_0x2c0be7=_0x2c0be7-0x10a;let _0x55c5e2=_0x2f0568[_0x2c0be7];return _0x55c5e2;},_0x2c0b(_0x44228d,_0x1a77d7);}let ve=class extends _0x45635f{constructor(_0x476549={},_0x390882,_0x1d0ddc){const _0x570e66=_0x45e80d;super(),this[_0x570e66(0x1b7)]=_0x476549,this['_injector']=_0x390882,this[_0x570e66(0x16d)]=_0x1d0ddc,this[_0x570e66(0x196)](),this['_initRegisterCommand']();}[_0x45e80d(0x196)](){const _0x1d06d3=_0x45e80d;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x1d06d3(0x124)](_0x5e9c13=>{const _0x47e69e=_0x1d06d3;this[_0x47e69e(0x171)][_0x47e69e(0x135)](_0x5e9c13);}),_0x419cb3(this[_0x1d06d3(0x171)],[[Re]]);}[_0x45e80d(0x160)](){_0x419cb3(this['_injector'],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x45e80d(0x17f)](){const _0x4644ce=_0x45e80d;[Nt,V,Ot,y,xt,Oe][_0x4644ce(0x124)](_0x26b768=>this[_0x4644ce(0x16d)][_0x4644ce(0x11e)](_0x26b768));}};ze(ve,_0x45e80d(0x13b),Ke),ze(ve,_0x45e80d(0x190),_0x565480[_0x45e80d(0x172)]),ve=qt([_0x1abe31(_0xb2b99b),He(0x1,_0x5ab3cf(_0x3ed739)),He(0x2,_0x5ab3cf(_0x3f8c98))],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 _0x48ae7b=_0x302d;(function(_0x205c97,_0x14f147){const _0x15666a=_0x302d,_0x2fda12=_0x205c97();while(!![]){try{const _0x3b41d5=parseInt(_0x15666a(0x18e))/0x1+-parseInt(_0x15666a(0x1c4))/0x2*(parseInt(_0x15666a(0x22a))/0x3)+-parseInt(_0x15666a(0x18f))/0x4+parseInt(_0x15666a(0x1d4))/0x5+-parseInt(_0x15666a(0x209))/0x6+parseInt(_0x15666a(0x1a2))/0x7+parseInt(_0x15666a(0x226))/0x8*(parseInt(_0x15666a(0x1ec))/0x9);if(_0x3b41d5===_0x14f147)break;else _0x2fda12['push'](_0x2fda12['shift']());}catch(_0x2eecb6){_0x2fda12['push'](_0x2fda12['shift']());}}}(_0x3d47,0xaea13));var qe=Object[_0x48ae7b(0x219)],Qe=(_0x5bc208,_0x30dd54,_0x168684)=>_0x30dd54 in _0x5bc208?qe(_0x5bc208,_0x30dd54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x168684}):_0x5bc208[_0x30dd54]=_0x168684,se=(_0xdc97a7,_0x16e6b6,_0x2f580d)=>Qe(_0xdc97a7,typeof _0x16e6b6!='symbol'?_0x16e6b6+'':_0x16e6b6,_0x2f580d);import{UniverLicensePlugin as _0x5becbf}from'@univerjs-pro/license';import{ObjectMatrix as _0x3daf50,Inject as _0x585b12,IUniverInstanceService as _0x5df516,Disposable as _0x2eaa73,isValidRange as _0x5d92fa,CellValueType as _0x4d2b65,ColorKit as _0x4d588a,CommandType as _0x1f7a94,Range as _0x4d4d47,IUndoRedoService as _0x2ff39b,generateRandomId as _0x5e660c,ICommandService as _0x4e32ad,Tools as _0x4e3ddf,sequenceExecute as _0x311934,Rectangle as _0x4f262f,cellToRange as _0x576911,DisposableCollection as _0x2a6d1e,RANGE_TYPE as _0x3da056,UniverInstanceType as _0x31a2c3,IResourceManagerService as _0x2f6f71,DependentOn as _0x5298c8,Injector as _0x46ecab,Plugin as _0x212e63,touchDependencies as _0x5bed2f}from'@univerjs/core';import{getSheetCommandTarget as _0x547fba,SheetsSelectionsService as _0x3a577e,SheetInterceptorService as _0x41b0aa,ClearSelectionAllCommand as _0x284ccf,CopySheetCommand as _0xc1047f,IExclusiveRangeService as _0x4c6ef9,SetRangeValuesMutation as _0x29e21c,ReorderRangeMutation as _0x34f9b0,SetRowHiddenMutation as _0x4eb4a3,SetColHiddenMutation as _0x43eb92,SetRowVisibleMutation as _0x571d1b,SetColVisibleMutation as _0x498a6b,AddWorksheetMergeCommand as _0x525b24,RefRangeService as _0x4c1ff1,SetWorksheetActivateCommand as _0x465cf2,RemoveRowCommand as _0x127d98,RemoveColCommand as _0x5c4e43,adjustRangeOnMutation as _0x37fe3b,RemoveRowMutation as _0x407bcf,RemoveColMutation as _0x4e8a30,InsertColMutation as _0x4e23bd,InsertRowMutation as _0x4137e4,MoveColsMutation as _0x7fcd36,MoveRowsMutation as _0x2a10a1,MoveRangeMutation as _0x4c2b73}from'@univerjs/sheets';import{Subject as _0x7fa0b3}from'rxjs';function Fe(_0x7e8451,_0x46e6cf){const _0x2d65f8=_0x48ae7b,_0x37a001=new _0x3daf50(),_0x4cc929=[],_0x3fa8df=_0x7e8451[_0x2d65f8(0x19a)]>0x1;let _0x5108c1=0x0,_0x43d226=0x0;for(const _0x2bb539 of _0x7e8451)_0x5108c1+=_0x2bb539[_0x2d65f8(0x1c7)]-_0x2bb539[_0x2d65f8(0x1d8)]+0x1,_0x43d226+=_0x2bb539[_0x2d65f8(0x1a5)]-_0x2bb539['startColumn']+0x1;for(const _0xcb085e of _0x46e6cf)for(let _0x324ff5=_0xcb085e['startRow'];_0x324ff5<=_0xcb085e[_0x2d65f8(0x1c7)];_0x324ff5++)for(let _0x1fc965=_0xcb085e[_0x2d65f8(0x1cc)];_0x1fc965<=_0xcb085e['endColumn'];_0x1fc965++)_0x4cc929[_0x2d65f8(0x186)]({'row':_0x324ff5,'column':_0x1fc965});if(_0x4cc929[_0x2d65f8(0x19a)]===_0x5108c1)_0x3fa8df?_0x4cc929[_0x2d65f8(0x1fc)]((_0x1328e7,_0x2091a6)=>{const _0x273909=_0x2d65f8,_0x2f398d=_0x7e8451[_0x2091a6],_0x5e27cf={'startRow':_0x2f398d[_0x273909(0x1d8)],'startColumn':_0x2f398d[_0x273909(0x1cc)],'endRow':_0x2f398d['startRow'],'endColumn':_0x2f398d['endColumn']};_0x37a001[_0x273909(0x21d)](_0x1328e7['row'],_0x1328e7['column'],_0x5e27cf);}):_0x4cc929[_0x2d65f8(0x1fc)]((_0x18cbb9,_0x1e200d)=>{const _0x5b4fdd=_0x2d65f8,_0x555a86=_0x7e8451[0x0],_0x4f1e3b={'startRow':_0x555a86['startRow']+_0x1e200d,'startColumn':_0x555a86[_0x5b4fdd(0x1cc)],'endRow':_0x555a86[_0x5b4fdd(0x1d8)]+_0x1e200d,'endColumn':_0x555a86[_0x5b4fdd(0x1a5)]};_0x37a001['setValue'](_0x18cbb9[_0x5b4fdd(0x199)],_0x18cbb9[_0x5b4fdd(0x188)],_0x4f1e3b);});else{if(_0x4cc929[_0x2d65f8(0x19a)]===_0x43d226)_0x3fa8df?_0x4cc929[_0x2d65f8(0x1fc)]((_0xdb2334,_0x3f6c47)=>{const _0xc71c3d=_0x2d65f8,_0x2ac4bd=_0x7e8451[_0x3f6c47],_0x46e4cc={'startRow':_0x2ac4bd[_0xc71c3d(0x1d8)],'startColumn':_0x2ac4bd[_0xc71c3d(0x1cc)],'endRow':_0x2ac4bd[_0xc71c3d(0x1c7)],'endColumn':_0x2ac4bd[_0xc71c3d(0x1cc)]};_0x37a001['setValue'](_0xdb2334[_0xc71c3d(0x199)],_0xdb2334[_0xc71c3d(0x188)],_0x46e4cc);}):_0x4cc929[_0x2d65f8(0x1fc)]((_0x5c9464,_0x153f1d)=>{const _0x221efd=_0x2d65f8,_0x9f14ef=_0x7e8451[0x0],_0x342bca={'startRow':_0x9f14ef[_0x221efd(0x1d8)],'startColumn':_0x9f14ef['startColumn']+_0x153f1d,'endRow':_0x9f14ef[_0x221efd(0x1c7)],'endColumn':_0x9f14ef[_0x221efd(0x1cc)]+_0x153f1d};_0x37a001[_0x221efd(0x21d)](_0x5c9464[_0x221efd(0x199)],_0x5c9464[_0x221efd(0x188)],_0x342bca);});else{if(_0x4cc929[_0x2d65f8(0x19a)]===_0x7e8451[_0x2d65f8(0x19a)])_0x7e8451[_0x2d65f8(0x1fd)](_0xfd0fe0=>!(_0xfd0fe0[_0x2d65f8(0x1d8)]!==_0xfd0fe0[_0x2d65f8(0x1c7)]&&_0xfd0fe0[_0x2d65f8(0x1cc)]!==_0xfd0fe0[_0x2d65f8(0x1a5)]))&&_0x4cc929['forEach']((_0x30081c,_0x498f9e)=>{const _0x103bd8=_0x2d65f8,_0x28a115=_0x7e8451[_0x498f9e];_0x37a001[_0x103bd8(0x21d)](_0x30081c['row'],_0x30081c[_0x103bd8(0x188)],_0x28a115);});else throw new Error(_0x2d65f8(0x193));}}return _0x37a001;}const Ke=_0x48ae7b(0x228),Le={'standard':[_0x48ae7b(0x1e2),_0x48ae7b(0x224)],'specialty':['rgb(49,106,246)','rgb(30,177,189)'],'distinctive':[_0x48ae7b(0x1bd),_0x48ae7b(0x196)],'soft':['rgb(80,102,248)',_0x48ae7b(0x1ee)],'fresh':[_0x48ae7b(0x187),'rgb(248,190,21)']},on=[_0x48ae7b(0x227),_0x48ae7b(0x1d9),_0x48ae7b(0x206),_0x48ae7b(0x183),_0x48ae7b(0x17d),_0x48ae7b(0x210)];var Xe=(_0x4dae4a=>(_0x4dae4a[_0x48ae7b(0x17e)]=_0x48ae7b(0x1b8),_0x4dae4a['SPECIALTY']=_0x48ae7b(0x185),_0x4dae4a[_0x48ae7b(0x20d)]='distinctive',_0x4dae4a['SOFT']=_0x48ae7b(0x20a),_0x4dae4a[_0x48ae7b(0x180)]=_0x48ae7b(0x1c2),_0x4dae4a[_0x48ae7b(0x20c)]='custom',_0x4dae4a))(Xe||{}),Dt=(_0x1accd0=>(_0x1accd0[_0x1accd0[_0x48ae7b(0x20b)]=0x1]=_0x48ae7b(0x20b),_0x1accd0[_0x1accd0[_0x48ae7b(0x1b3)]=0x2]=_0x48ae7b(0x1b3),_0x1accd0[_0x1accd0[_0x48ae7b(0x1e0)]=0x3]=_0x48ae7b(0x1e0),_0x1accd0[_0x1accd0[_0x48ae7b(0x1f0)]=0x4]=_0x48ae7b(0x1f0),_0x1accd0))(Dt||{}),J=(_0x35f53e=>(_0x35f53e[_0x48ae7b(0x1d0)]='spacing',_0x35f53e[_0x48ae7b(0x198)]='zero_value',_0x35f53e['CONNECT_WITH_LINE']=_0x48ae7b(0x1e1),_0x35f53e))(J||{}),Ee=(_0x501de5=>(_0x501de5[_0x501de5['SELF_EXTREMUM']=0x1]='SELF_EXTREMUM',_0x501de5[_0x501de5[_0x48ae7b(0x1e8)]=0x2]=_0x48ae7b(0x1e8),_0x501de5[_0x501de5[_0x48ae7b(0x207)]=0x3]=_0x48ae7b(0x207),_0x501de5))(Ee||{}),Et=Object[_0x48ae7b(0x195)],Vt=(_0x82dd1b,_0x510f41,_0x109e73,_0x261734)=>{for(var _0x821fce=_0x261734>0x1?void 0x0:_0x261734?Et(_0x510f41,_0x109e73):_0x510f41,_0x478cee=_0x82dd1b['length']-0x1,_0x219a05;_0x478cee>=0x0;_0x478cee--)(_0x219a05=_0x82dd1b[_0x478cee])&&(_0x821fce=_0x219a05(_0x821fce)||_0x821fce);return _0x821fce;},yt=(_0x2f5a5b,_0x20a3e9)=>(_0x104eb6,_0x2b09f9)=>_0x20a3e9(_0x104eb6,_0x2b09f9,_0x2f5a5b);let x=class extends _0x2eaa73{constructor(_0x19890e){const _0x5bbbe7=_0x48ae7b;super(),se(this,'_sparklineModel',new Map()),se(this,'_sparklineAnchorMap',new Map()),se(this,'_updateConfig$',new _0x7fa0b3()),se(this,'updateConfig$',this[_0x5bbbe7(0x18d)][_0x5bbbe7(0x1cd)]()),this['_univerInstanceService']=_0x19890e;}[_0x48ae7b(0x235)](_0x3cd8ee,_0x1f2c6e){const _0x1c9bce=_0x48ae7b;let _0x3a8e5d=this['_sparklineModel']['get'](_0x3cd8ee);_0x3a8e5d||(_0x3a8e5d=new Map(),this[_0x1c9bce(0x222)][_0x1c9bce(0x1d1)](_0x3cd8ee,_0x3a8e5d));let _0x4dd895=_0x3a8e5d[_0x1c9bce(0x1b2)](_0x1f2c6e);return _0x4dd895||(_0x4dd895=new Map(),_0x3a8e5d[_0x1c9bce(0x1d1)](_0x1f2c6e,_0x4dd895)),_0x4dd895;}[_0x48ae7b(0x194)](_0x5c2027,_0x1f5534){const _0x593f70=_0x48ae7b;let _0x381c8e=this[_0x593f70(0x1dd)]['get'](_0x5c2027);_0x381c8e||(_0x381c8e=new Map(),this[_0x593f70(0x1dd)][_0x593f70(0x1d1)](_0x5c2027,_0x381c8e));let _0x3a9031=_0x381c8e[_0x593f70(0x1b2)](_0x1f5534);return _0x3a9031||(_0x3a9031={'matrix':new _0x3daf50(),'extra':{}},_0x381c8e[_0x593f70(0x1d1)](_0x1f5534,_0x3a9031)),_0x3a9031;}[_0x48ae7b(0x236)](_0x5f0f3f,_0x4584a6,_0xecdea8,_0x313c07=_0x48ae7b(0x1d1)){const _0x3d660f=_0x48ae7b;var _0x4b0e72,_0x4863fc,_0x16df25,_0x149cc8,_0x5d84ba,_0x582123,_0x5a79a8,_0x4f579a,_0x52046d,_0x1bb92d,_0x4a2bd2,_0x286fdd,_0x4e97f2;const _0x3b65ef=(_0x4863fc=(_0x4b0e72=this[_0x3d660f(0x222)]['get'](_0x5f0f3f))==null?void 0x0:_0x4b0e72[_0x3d660f(0x1b2)](_0x4584a6))==null?void 0x0:_0x4863fc[_0x3d660f(0x1b2)](_0xecdea8);if(!_0x3b65ef)return;const _0x47a062=_0x547fba(this['_univerInstanceService'],{'unitId':_0x5f0f3f,'subUnitId':_0x4584a6});if(!_0x47a062)return;const _0x292b0d=this[_0x3d660f(0x194)](_0x5f0f3f,_0x4584a6),{extra:_0x11ebcc,matrix:_0x59925b}=_0x292b0d,{worksheet:_0x452daf}=_0x47a062;let _0x1bf262=Number[_0x3d660f(0x1dc)],_0x38955c=Number['MAX_SAFE_INTEGER'];const _0x47f828=(_0x16df25=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x1f6)])!=null?_0x16df25:!0x1;_0x3b65ef[_0x3d660f(0x217)]['forValue']((_0x5ac13b,_0x143716,_0x6a617e)=>{const _0x35ee29=_0x3d660f;var _0x183875,_0x1f83af,_0xd7817;const _0x3140ec=_0x6a617e;let _0x4a75da=Number['MIN_SAFE_INTEGER'],_0x112f50=Number[_0x35ee29(0x22e)],_0x1949fe=0x0,_0x188bc5=0x0;const _0x13de48=[];if(!_0x5d92fa(_0x3140ec))_0x59925b['setValue'](_0x5ac13b,_0x143716,{'groupId':_0xecdea8,'data':[],'max':_0x4a75da,'min':_0x112f50,'highIndex':_0x1949fe,'lowIndex':_0x188bc5,'negativeIndexes':_0x13de48});else{const _0x3a510d=[];for(let _0x12baea=_0x3140ec[_0x35ee29(0x1d8)];_0x12baea<=_0x3140ec[_0x35ee29(0x1c7)];_0x12baea++){for(let _0x91c5b0=_0x3140ec[_0x35ee29(0x1cc)];_0x91c5b0<=_0x3140ec['endColumn'];_0x91c5b0++){const _0x2df122=_0x452daf[_0x35ee29(0x1bf)](_0x12baea),_0x581a58=_0x452daf['getColVisible'](_0x91c5b0);if(!_0x47f828&&(!_0x2df122||!_0x581a58))continue;let _0x103730=0x0;const _0x30de25=((_0x183875=_0x452daf['getCellRaw'](_0x12baea,_0x91c5b0))==null?void 0x0:_0x183875['v'])!==void 0x0?_0x452daf[_0x35ee29(0x1a1)](_0x12baea,_0x91c5b0):_0x452daf[_0x35ee29(0x22b)](_0x12baea,_0x91c5b0);if(!_0x30de25||_0x30de25['v']===void 0x0||_0x30de25['v']===null){const _0x3cc037=(_0x1f83af=_0x3b65ef[_0x35ee29(0x1c0)][_0x35ee29(0x1de)])!=null?_0x1f83af:J[_0x35ee29(0x1d0)];_0x3cc037===J[_0x35ee29(0x198)]?_0x103730=0x0:_0x3cc037===J[_0x35ee29(0x1d0)]?_0x103730=_0x35ee29(0x204):_0x3cc037===J[_0x35ee29(0x191)]&&(_0x103730='u-connect');}else{if(_0x30de25['t']===_0x4d2b65[_0x35ee29(0x1ef)]||_0x30de25['t']===_0x4d2b65[_0x35ee29(0x231)]){const _0x2c79ed=(_0xd7817=_0x3b65ef['config'][_0x35ee29(0x1eb)])!=null?_0xd7817:J[_0x35ee29(0x1d0)];_0x2c79ed===J[_0x35ee29(0x198)]?_0x103730=0x0:_0x2c79ed===J[_0x35ee29(0x1d0)]?_0x103730=_0x35ee29(0x204):_0x2c79ed===J['CONNECT_WITH_LINE']&&(_0x103730=_0x35ee29(0x223));}else _0x30de25['t']===_0x4d2b65['BOOLEAN']?_0x103730=_0x30de25['v']?0x1:0x0:_0x30de25['t']===_0x4d2b65[_0x35ee29(0x21e)]?_0x103730=Number(_0x30de25['v']):_0x103730=_0x30de25['v'];}if(_0x3a510d[_0x35ee29(0x186)](_0x103730),typeof _0x103730==_0x35ee29(0x239)){_0x4a75da=Math[_0x35ee29(0x232)](_0x4a75da,_0x103730),_0x1bf262=Math['max'](_0x1bf262,_0x103730),_0x38955c=Math[_0x35ee29(0x1b4)](_0x38955c,_0x103730),_0x112f50=Math['min'](_0x112f50,_0x103730);const _0x671e31=typeof _0x3a510d[_0x1949fe]==_0x35ee29(0x239)?Number(_0x3a510d[_0x1949fe]):Number['MIN_SAFE_INTEGER'];_0x103730>_0x671e31&&(_0x1949fe=_0x3a510d[_0x35ee29(0x19a)]-0x1);const _0x15bdeb=typeof _0x3a510d[_0x188bc5]==_0x35ee29(0x239)?Number(_0x3a510d[_0x188bc5]):Number[_0x35ee29(0x22e)];_0x103730<_0x15bdeb&&(_0x188bc5=_0x3a510d[_0x35ee29(0x19a)]-0x1),_0x103730<0x0&&_0x13de48[_0x35ee29(0x186)](_0x3a510d[_0x35ee29(0x19a)]-0x1);}}_0x59925b[_0x35ee29(0x21d)](_0x5ac13b,_0x143716,{'groupId':_0xecdea8,'data':_0x3a510d,'max':_0x4a75da,'min':_0x112f50,'highIndex':_0x1949fe,'lowIndex':_0x188bc5,'negativeIndexes':_0x13de48});}}});let _0x4b4123=_0x1bf262;((_0x149cc8=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x181)])==null?void 0x0:_0x149cc8[_0x3d660f(0x19f)])===Ee[_0x3d660f(0x207)]&&(_0x4b4123=(_0x582123=(_0x5d84ba=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x181)])==null?void 0x0:_0x5d84ba[_0x3d660f(0x1e5)])!=null?_0x582123:_0x1bf262);let _0x59bc1e=_0x38955c;((_0x5a79a8=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x1c9)])==null?void 0x0:_0x5a79a8[_0x3d660f(0x19f)])===Ee['CUSTOM_EXTREMUM']&&(_0x59bc1e=(_0x52046d=(_0x4f579a=_0x3b65ef['config']['extremumMin'])==null?void 0x0:_0x4f579a[_0x3d660f(0x1e5)])!=null?_0x52046d:_0x38955c);const _0x5d0d87=(_0x1bb92d=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x1d7)])!=null?_0x1bb92d:Xe['STANDARD'],_0x5eb621=(_0x4e97f2=(_0x286fdd=_0x3b65ef[_0x3d660f(0x1c0)][_0x3d660f(0x238)])!=null?_0x286fdd:(_0x4a2bd2=Le[_0x5d0d87])==null?void 0x0:_0x4a2bd2[0x0])!=null?_0x4e97f2:Le[_0x3d660f(0x1b8)][0x0],_0x226759=new _0x4d588a(_0x5eb621),_0x236a53=_0x226759['setAlpha'](0.2)[_0x3d660f(0x1bc)](),_0x3845cc=_0x226759[_0x3d660f(0x1a7)](0.05)[_0x3d660f(0x1bc)]();_0x11ebcc[_0xecdea8]={'groupMax':_0x1bf262,'groupMin':_0x38955c,'showMax':_0x4b4123,'showMin':_0x59bc1e,'startGradient':_0x236a53,'endGradient':_0x3845cc},this[_0x3d660f(0x18d)][_0x3d660f(0x211)]({'unitId':_0x5f0f3f,'subUnitId':_0x4584a6,'groupId':_0xecdea8,'config':_0x3b65ef,'type':_0x313c07});}[_0x48ae7b(0x1f7)](_0x218143,_0x1ec02d,_0x27aef1,_0x285e5a){const _0xdac33b=_0x48ae7b;this[_0xdac33b(0x235)](_0x218143,_0x1ec02d)[_0xdac33b(0x1d1)](_0x27aef1,_0x285e5a),this[_0xdac33b(0x236)](_0x218143,_0x1ec02d,_0x27aef1,_0xdac33b(0x1f9));}['setSparkline'](_0x2ec48e,_0x218dc7,_0x36b584,_0xcf6e0){const _0x5a27f7=_0x48ae7b;var _0x5761a8;const _0x23d82d=(_0x5761a8=this[_0x5a27f7(0x222)]['get'](_0x2ec48e))==null?void 0x0:_0x5761a8[_0x5a27f7(0x1b2)](_0x218dc7);_0x36b584[_0x5a27f7(0x1fc)](_0x16da0e=>{const _0x35dfcf=_0x5a27f7;_0x23d82d!=null&&_0x23d82d[_0x35dfcf(0x22d)](_0x16da0e)&&(_0x23d82d[_0x35dfcf(0x1d1)](_0x16da0e,_0xcf6e0),this[_0x35dfcf(0x236)](_0x2ec48e,_0x218dc7,_0x16da0e));});}[_0x48ae7b(0x1d2)](_0x9c16f9,_0x3ae564,_0x3c3113){const _0x320be7=_0x48ae7b;var _0x321ab7,_0x298f0b;const _0xaa4d1=this['_sparklineModel'][_0x320be7(0x1b2)](_0x9c16f9);if(_0xaa4d1){const _0x3a5c57=_0xaa4d1[_0x320be7(0x1b2)](_0x3ae564);if(_0x3a5c57){_0x3a5c57['delete'](_0x3c3113);const _0x432a04=(_0x321ab7=this[_0x320be7(0x1dd)][_0x320be7(0x1b2)](_0x9c16f9))==null?void 0x0:_0x321ab7['get'](_0x3ae564);(_0x298f0b=_0x432a04==null?void 0x0:_0x432a04['matrix'])==null||_0x298f0b[_0x320be7(0x1ad)]((_0x56fa77,_0x4e83bb,_0x2c0531)=>{const _0x4a6d3b=_0x320be7;(_0x2c0531==null?void 0x0:_0x2c0531[_0x4a6d3b(0x1c5)])===_0x3c3113&&(_0x432a04==null||_0x432a04[_0x4a6d3b(0x216)][_0x4a6d3b(0x1c8)](_0x56fa77,_0x4e83bb));}),this['_updateConfig$'][_0x320be7(0x211)]({'unitId':_0x9c16f9,'subUnitId':_0x3ae564,'groupId':_0x3c3113,'type':_0x320be7(0x1a3)});}}}[_0x48ae7b(0x22f)](_0x82cd32,_0x3e86b5,_0x5d1c56,_0x8050ec){const _0x502cf9=_0x48ae7b;var _0x2312cc,_0x529364,_0x5e8eda,_0x14b219;const _0x4b563f=(_0x2312cc=this[_0x502cf9(0x1dd)][_0x502cf9(0x1b2)](_0x82cd32))==null?void 0x0:_0x2312cc['get'](_0x3e86b5),_0x2e51fc=_0x4b563f==null?void 0x0:_0x4b563f[_0x502cf9(0x216)][_0x502cf9(0x1fa)](_0x5d1c56,_0x8050ec);if(_0x2e51fc){const {groupId:_0x3be1e8}=_0x2e51fc,_0x1514bc=(_0x529364=this[_0x502cf9(0x222)][_0x502cf9(0x1b2)](_0x82cd32))==null?void 0x0:_0x529364[_0x502cf9(0x1b2)](_0x3e86b5);(_0x5e8eda=_0x1514bc==null?void 0x0:_0x1514bc[_0x502cf9(0x1b2)](_0x3be1e8))==null||_0x5e8eda['sparklines'][_0x502cf9(0x1c8)](_0x5d1c56,_0x8050ec),(_0x14b219=_0x1514bc==null?void 0x0:_0x1514bc[_0x502cf9(0x1b2)](_0x3be1e8))!=null&&_0x14b219[_0x502cf9(0x217)]['hasValue']()||_0x1514bc==null||_0x1514bc[_0x502cf9(0x1ba)](_0x3be1e8),_0x4b563f==null||_0x4b563f[_0x502cf9(0x216)][_0x502cf9(0x1c8)](_0x5d1c56,_0x8050ec),this[_0x502cf9(0x18d)][_0x502cf9(0x211)]({'unitId':_0x82cd32,'subUnitId':_0x3e86b5,'groupId':_0x3be1e8,'type':'remove'});}}[_0x48ae7b(0x19b)](_0x2807f1,_0x3b9e68,_0x1c32ea){const _0x40e9b2=_0x48ae7b;var _0x36ea0e,_0x3a0f74,_0x629472,_0x3a19e7;const _0x2345a2=(_0x629472=(_0x3a0f74=(_0x36ea0e=this[_0x40e9b2(0x222)][_0x40e9b2(0x1b2)](_0x2807f1))==null?void 0x0:_0x36ea0e[_0x40e9b2(0x1b2)](_0x3b9e68))==null?void 0x0:_0x3a0f74[_0x40e9b2(0x1b2)](_0x1c32ea))==null?void 0x0:_0x629472[_0x40e9b2(0x217)],_0x5f3d30=(_0x3a19e7=this[_0x40e9b2(0x1dd)][_0x40e9b2(0x1b2)](_0x2807f1))==null?void 0x0:_0x3a19e7['get'](_0x3b9e68);if(_0x2345a2&&_0x5f3d30){const {matrix:_0x3d63b1,extra:_0x4a18a2}=_0x5f3d30;_0x2345a2[_0x40e9b2(0x1ad)]((_0x105506,_0x3d1607,_0x53a0f2)=>{const _0x5409e1=_0x40e9b2;_0x3d63b1[_0x5409e1(0x1c8)](_0x105506,_0x3d1607);}),delete _0x4a18a2[_0x1c32ea];}}['getSubUnitSparkline'](_0xfb5c00,_0x453902){var _0x2c7c42;return(_0x2c7c42=this['_sparklineModel']['get'](_0xfb5c00))==null?void 0x0:_0x2c7c42['get'](_0x453902);}['getSparklineById'](_0x5d1361,_0x23fcb2,_0x2422cd){const _0x547294=_0x48ae7b;var _0x54e74a,_0x4d5d8c;return(_0x4d5d8c=(_0x54e74a=this['_sparklineModel'][_0x547294(0x1b2)](_0x5d1361))==null?void 0x0:_0x54e74a[_0x547294(0x1b2)](_0x23fcb2))==null?void 0x0:_0x4d5d8c['get'](_0x2422cd);}[_0x48ae7b(0x1e7)](_0x5b78bd,_0x2a47e6,_0x492a92,_0x4fa99e){const _0x55fe9c=_0x48ae7b;var _0x22968a,_0x2cc744,_0xb0beb8;return(_0xb0beb8=(_0x2cc744=(_0x22968a=this[_0x55fe9c(0x1dd)][_0x55fe9c(0x1b2)](_0x5b78bd))==null?void 0x0:_0x22968a[_0x55fe9c(0x1b2)](_0x2a47e6))==null?void 0x0:_0x2cc744[_0x55fe9c(0x216)]['getValue'](_0x492a92,_0x4fa99e))==null?void 0x0:_0xb0beb8[_0x55fe9c(0x1c5)];}[_0x48ae7b(0x221)](_0x5b0289,_0x391cd4){const _0x2855c0=_0x48ae7b;var _0x786913;const _0x251583=this['_ensureAnchorMatrix'](_0x5b0289,_0x391cd4);_0x251583['matrix'][_0x2855c0(0x1ad)]((_0x22f425,_0x1a1c83,_0x3827ae)=>{const _0x1bcc5b=_0x2855c0;_0x251583['matrix'][_0x1bcc5b(0x1c8)](_0x22f425,_0x1a1c83);});const _0x1c528a=(_0x786913=this['_sparklineModel'][_0x2855c0(0x1b2)](_0x5b0289))==null?void 0x0:_0x786913[_0x2855c0(0x1b2)](_0x391cd4);if(_0x1c528a){for(const [_0x2b72db,_0x3cb5c9]of _0x1c528a)this[_0x2855c0(0x236)](_0x5b0289,_0x391cd4,_0x2b72db);}}[_0x48ae7b(0x1a8)](){const _0xa4e528=_0x48ae7b;return{'sparklineModel':this[_0xa4e528(0x222)],'sparklineAnchorMap':this[_0xa4e528(0x1dd)]};}['toJSON'](_0x4d78f2){const _0x114177=_0x48ae7b,_0xecda45={};if(this[_0x114177(0x222)][_0x114177(0x22d)](_0x4d78f2)){_0xecda45[_0x4d78f2]={};const _0xaa3487=this['_sparklineModel'][_0x114177(0x1b2)](_0x4d78f2);_0xaa3487!=null&&_0xaa3487[_0x114177(0x1b5)]&&Array[_0x114177(0x182)](_0xaa3487[_0x114177(0x220)]())['forEach'](_0x450099=>{const _0x1adb27=_0x114177;_0xecda45[_0x4d78f2][_0x450099]={};const _0x2580b4=_0xaa3487[_0x1adb27(0x1b2)](_0x450099);_0x2580b4!=null&&_0x2580b4[_0x1adb27(0x1b5)]&&Array[_0x1adb27(0x182)](_0x2580b4[_0x1adb27(0x220)]())[_0x1adb27(0x1fc)](_0x1a8634=>{const _0x49c3d0=_0x1adb27,_0x3422f5=_0x2580b4[_0x49c3d0(0x1b2)](_0x1a8634);_0x3422f5&&(_0xecda45[_0x4d78f2][_0x450099][_0x1a8634]={'config':_0x3422f5['config'],'sparklines':_0x3422f5[_0x49c3d0(0x217)][_0x49c3d0(0x1b1)]()});});});}return _0xecda45;}[_0x48ae7b(0x1f2)](_0x54135c){const _0x136d25=_0x48ae7b;if(!_0x54135c)return;Object[_0x136d25(0x220)](_0x54135c)['forEach'](_0xcb65ad=>{const _0x146832=_0x136d25,_0x391ad2=_0x54135c[_0xcb65ad];_0x391ad2&&Object[_0x146832(0x220)](_0x391ad2)['forEach'](_0x38f4eb=>{const _0x128ac2=_0x146832,_0x2ce808=_0x391ad2[_0x38f4eb];_0x2ce808&&Object[_0x128ac2(0x220)](_0x2ce808)[_0x128ac2(0x1fc)](_0x3b5a37=>{const _0x435289=_0x128ac2,_0x1bd2b9=_0x2ce808[_0x3b5a37];if(_0x1bd2b9){const _0x4d7b07={'config':_0x1bd2b9['config'],'sparklines':new _0x3daf50(_0x1bd2b9[_0x435289(0x217)])};this[_0x435289(0x1f7)](_0xcb65ad,_0x38f4eb,_0x3b5a37,_0x4d7b07);}});});});}[_0x48ae7b(0x1a0)](_0x3e8a5c){const _0x427fca=_0x48ae7b,_0x16c5c9=this[_0x427fca(0x222)][_0x427fca(0x1b2)](_0x3e8a5c);if(_0x16c5c9){for(const [_0x4ba012]of _0x16c5c9){const _0x534a07=_0x16c5c9[_0x427fca(0x1b2)](_0x4ba012);if(_0x534a07){for(const [_0x368d75]of _0x534a07)this[_0x427fca(0x19b)](_0x3e8a5c,_0x4ba012,_0x368d75);}}this[_0x427fca(0x222)][_0x427fca(0x1ba)](_0x3e8a5c);}}};function _0x302d(_0x4c9804,_0x359a23){const _0x3d4706=_0x3d47();return _0x302d=function(_0x302d65,_0x5edefc){_0x302d65=_0x302d65-0x17d;let _0x2a2cc6=_0x3d4706[_0x302d65];return _0x2a2cc6;},_0x302d(_0x4c9804,_0x359a23);}x=Vt([yt(0x0,_0x585b12(_0x5df516))],x);const V={'id':_0x48ae7b(0x1c3),'type':_0x1f7a94[_0x48ae7b(0x20e)],'handler':(_0x5f211f,_0x53c7e1)=>{const _0x2cb3dc=_0x48ae7b;if(!_0x53c7e1)return!0x1;const {sparklineConfigMap:_0x856295,unitId:_0x1dfa31,subUnitId:_0x4b8a92}=_0x53c7e1,_0x2f6f3e=_0x5f211f[_0x2cb3dc(0x1b2)](x);return Object['entries'](_0x856295)[_0x2cb3dc(0x1fc)](([_0x5aec4b,_0x4631a4])=>{const _0x1a6544=_0x2cb3dc,_0xfeb096={'config':_0x4631a4[_0x1a6544(0x1c0)],'sparklines':new _0x3daf50(_0x4631a4[_0x1a6544(0x217)])};_0x2f6f3e[_0x1a6544(0x1f7)](_0x1dfa31,_0x4b8a92,_0x5aec4b,_0xfeb096);}),!0x0;}},y={'id':_0x48ae7b(0x21c),'type':_0x1f7a94[_0x48ae7b(0x20e)],'handler':(_0x23539c,_0x1bfa37)=>{const _0x305d71=_0x48ae7b;if(!_0x1bfa37)return!0x1;const {unitId:_0x568a47,subUnitId:_0x338e69,ranges:_0x12727e,isSingle:_0xd5e23c,groupIds:_0x5c3eef}=_0x1bfa37,_0x172294=_0x23539c['get'](x);return _0x5c3eef?(_0x5c3eef[_0x305d71(0x1fc)](_0x1d0ed2=>{_0x172294['removeSparkline'](_0x568a47,_0x338e69,_0x1d0ed2);}),!0x0):_0x12727e?(_0x12727e[_0x305d71(0x1fc)](_0x3a2470=>{const _0x3e05e9=_0x305d71;_0x4d4d47[_0x3e05e9(0x213)](_0x3a2470,(_0x1d47c5,_0x53edb5)=>{const _0x2f7e92=_0x3e05e9,_0x2a3d50=_0x172294['getSparkline'](_0x568a47,_0x338e69,_0x1d47c5,_0x53edb5);_0x2a3d50&&(_0xd5e23c?_0x172294[_0x2f7e92(0x22f)](_0x568a47,_0x338e69,_0x1d47c5,_0x53edb5):_0x172294['removeSparkline'](_0x568a47,_0x338e69,_0x2a3d50));});}),!0x0):!0x1;}},Nt={'id':_0x48ae7b(0x1a9),'type':_0x1f7a94[_0x48ae7b(0x233)],'handler':(_0x304ff7,_0x370136)=>{const _0x44252d=_0x48ae7b;if(!_0x370136)return!0x1;const {sourceRanges:_0x2e4a33,targetRanges:_0x36585c,config:_0xf08b5d}=_0x370136,_0x2aae04=_0x304ff7[_0x44252d(0x1b2)](_0x2ff39b),_0x8f125e='g_'+_0x5e660c(0x6),_0x3cd73f=Fe(_0x2e4a33,_0x36585c),_0x31ffb7={'config':_0xf08b5d!=null?_0xf08b5d:{},'sparklines':_0x3cd73f[_0x44252d(0x1b1)]()},_0x2da33e=_0x304ff7['get'](_0x5df516),_0x1e58b7=_0x304ff7[_0x44252d(0x1b2)](x),_0xc962cc=_0x547fba(_0x2da33e);if(!_0xc962cc)return!0x1;const {unitId:_0x3120e0,subUnitId:_0x173895}=_0xc962cc,_0x3a5a19=_0x304ff7['get'](_0x4e32ad),_0x11b9c5=[],_0x36d1aa=[],_0x4abee7={},_0x49c918={},_0x93b76=new Set([_0x8f125e]);_0x3cd73f[_0x44252d(0x1ad)]((_0x4d621f,_0x432ba4,_0x5c7b23)=>{const _0x3d944f=_0x44252d,_0x15b732=_0x1e58b7[_0x3d944f(0x1e7)](_0x3120e0,_0x173895,_0x4d621f,_0x432ba4);if(_0x15b732){const _0x161aaa=_0x1e58b7[_0x3d944f(0x1df)](_0x3120e0,_0x173895,_0x15b732);if(_0x161aaa){_0x93b76[_0x3d944f(0x1f9)](_0x15b732);let _0x27080d=_0x4abee7[_0x15b732],_0x5d78e7=_0x49c918[_0x15b732];_0x5d78e7||(_0x5d78e7={'config':_0x4e3ddf[_0x3d944f(0x18b)](_0x161aaa[_0x3d944f(0x1c0)]),'sparklines':new _0x3daf50(_0x161aaa[_0x3d944f(0x217)][_0x3d944f(0x1ae)]())},_0x49c918[_0x15b732]=_0x5d78e7),_0x27080d||(_0x27080d={'config':_0x4e3ddf['deepClone'](_0x161aaa[_0x3d944f(0x1c0)]),'sparklines':_0x161aaa[_0x3d944f(0x217)][_0x3d944f(0x1ae)]()},_0x4abee7[_0x15b732]=_0x27080d),_0x5d78e7[_0x3d944f(0x217)][_0x3d944f(0x1c8)](_0x4d621f,_0x432ba4);}}});const _0x4e3d57={};return Object['entries'](_0x49c918)[_0x44252d(0x1fc)](([_0x453843,_0x2eb527])=>{const _0x261a12=_0x44252d;_0x2eb527[_0x261a12(0x217)]['getSizeOf']()&&(_0x4e3d57[_0x453843]={'config':_0x2eb527[_0x261a12(0x1c0)],'sparklines':_0x2eb527[_0x261a12(0x217)]['clone']()});}),_0x4e3d57[_0x8f125e]=_0x31ffb7,_0x11b9c5[_0x44252d(0x186)]({'id':y['id'],'params':{'unitId':_0x3120e0,'subUnitId':_0x173895,'groupIds':Array['from'](_0x93b76),'isSingle':!0x1}}),_0x93b76[_0x44252d(0x1b5)]>0x1&&(_0x36d1aa['push']({'id':y['id'],'params':{'unitId':_0x3120e0,'subUnitId':_0x173895,'groupIds':Array[_0x44252d(0x182)](_0x93b76),'isSingle':!0x1}}),_0x11b9c5[_0x44252d(0x186)]({'id':V['id'],'params':{'unitId':_0x3120e0,'subUnitId':_0x173895,'sparklineConfigMap':_0x4abee7}})),_0x36d1aa[_0x44252d(0x186)]({'id':V['id'],'params':{'unitId':_0x3120e0,'subUnitId':_0x173895,'sparklineConfigMap':_0x4e3d57}}),_0x311934(_0x36d1aa,_0x3a5a19),_0x2aae04[_0x44252d(0x1f5)]({'unitID':_0x3120e0,'undoMutations':_0x11b9c5,'redoMutations':_0x36d1aa}),!0x0;}},Ot={'id':_0x48ae7b(0x205),'type':_0x1f7a94[_0x48ae7b(0x233)],'handler':(_0x557533,_0x5b4f97)=>{const _0x14b628=_0x48ae7b;var _0x3817a8;const {isSingle:_0x482f18=!0x0}=_0x5b4f97||{},_0x4d19ee=_0x557533[_0x14b628(0x1b2)](_0x4e32ad),_0x1902d=_0x557533[_0x14b628(0x1b2)](_0x5df516),_0x5c0b27=_0x557533[_0x14b628(0x1b2)](x),_0x3a072a=_0x557533[_0x14b628(0x1b2)](_0x2ff39b),_0x58bced=_0x547fba(_0x1902d);if(!_0x58bced)return!0x1;const _0x2b56d9=_0x557533[_0x14b628(0x1b2)](_0x3a577e),_0x30adfc=(_0x3817a8=_0x5b4f97==null?void 0x0:_0x5b4f97[_0x14b628(0x1f8)])!=null?_0x3817a8:_0x2b56d9[_0x14b628(0x1c1)]()[_0x14b628(0x17f)](_0x31ac3e=>_0x31ac3e[_0x14b628(0x212)]),{unitId:_0xbba022,subUnitId:_0x422a84}=_0x58bced,_0x2f1b1d=[],_0x101529=[];_0x2f1b1d['push']({'id':y['id'],'params':{'unitId':_0xbba022,'subUnitId':_0x422a84,'ranges':_0x30adfc,'isSingle':_0x482f18}});const _0x524d29=[],_0x160e88={};return _0x30adfc[_0x14b628(0x1fc)](_0x4e5430=>{const _0x33acea=_0x14b628;_0x4d4d47[_0x33acea(0x213)](_0x4e5430,(_0x416f02,_0x35002f)=>{const _0x458471=_0x33acea,_0x4081e4=_0x5c0b27['getSparkline'](_0xbba022,_0x422a84,_0x416f02,_0x35002f);if(_0x4081e4){const _0x3942fa=_0x5c0b27[_0x458471(0x1df)](_0xbba022,_0x422a84,_0x4081e4);_0x3942fa&&(_0x524d29['push'](_0x4081e4),_0x160e88[_0x4081e4]={'config':_0x4e3ddf[_0x458471(0x18b)](_0x3942fa[_0x458471(0x1c0)]),'sparklines':_0x4e3ddf['deepClone'](_0x3942fa[_0x458471(0x217)][_0x458471(0x1ae)]())});}});}),_0x101529[_0x14b628(0x186)]({'id':y['id'],'params':{'unitId':_0xbba022,'subUnitId':_0x422a84,'groupIds':_0x524d29,'isSingle':!0x1}}),_0x101529[_0x14b628(0x186)]({'id':V['id'],'params':{'unitId':_0xbba022,'subUnitId':_0x422a84,'sparklineConfigMap':_0x160e88}}),_0x311934(_0x2f1b1d,_0x4d19ee),_0x3a072a[_0x14b628(0x1f5)]({'unitID':_0xbba022,'undoMutations':_0x101529,'redoMutations':_0x2f1b1d}),!0x0;}},Oe={'id':_0x48ae7b(0x1c6),'type':_0x1f7a94[_0x48ae7b(0x20e)],'handler':(_0x86c297,_0x5819d1)=>{const _0x52b636=_0x48ae7b;if(!_0x5819d1)return!0x1;const {unitId:_0xf371af,subUnitId:_0x5a7b1c,groupIds:_0xda1404,config:_0x1757c3}=_0x5819d1,_0x2eaca7=_0x86c297[_0x52b636(0x1b2)](x);return _0xda1404[_0x52b636(0x1fc)](_0x15b942=>{const _0x2702e7=_0x52b636,_0x3f48c7=_0x2eaca7[_0x2702e7(0x1df)](_0xf371af,_0x5a7b1c,_0x15b942);if(_0x3f48c7){const _0x1449a9={'config':Object[_0x2702e7(0x23a)]({},_0x3f48c7[_0x2702e7(0x1c0)],_0x1757c3['config']),'sparklines':new _0x3daf50(_0x3f48c7['sparklines'][_0x2702e7(0x1ae)]())};_0x2eaca7[_0x2702e7(0x1a6)](_0xf371af,_0x5a7b1c,[_0x15b942],_0x1449a9);}}),!0x0;}},xt={'id':_0x48ae7b(0x225),'type':_0x1f7a94['COMMAND'],'handler':(_0x168de4,_0x24361d)=>{const _0x13a1d6=_0x48ae7b;var _0x254318,_0xfc337,_0x473bb5,_0x4b6148;if(!_0x24361d)return!0x1;const _0x2ef25f=_0x168de4[_0x13a1d6(0x1b2)](_0x4e32ad),_0x4323dc=_0x168de4[_0x13a1d6(0x1b2)](_0x3a577e),_0x22886c=_0x168de4[_0x13a1d6(0x1b2)](x),_0x1fb9e5=_0x168de4['get'](_0x5df516),_0x5c1467=_0x168de4[_0x13a1d6(0x1b2)](_0x2ff39b),_0x4c38de=_0x547fba(_0x1fb9e5);if(!_0x4c38de)return!0x1;const {unitId:_0x3b2442,subUnitId:_0x24c917}=_0x4c38de,_0x22f526=(_0x254318=_0x24361d==null?void 0x0:_0x24361d[_0x13a1d6(0x1f8)])!=null?_0x254318:_0x4323dc[_0x13a1d6(0x1c1)]()[_0x13a1d6(0x17f)](_0x357903=>_0x357903['range']),_0xb7d65d=(_0xfc337=_0x22886c[_0x13a1d6(0x1a8)]()[_0x13a1d6(0x1cb)][_0x13a1d6(0x1b2)](_0x3b2442))==null?void 0x0:_0xfc337[_0x13a1d6(0x1b2)](_0x24c917),{isChangeDataSource:_0x4758e5,config:_0x5da695,combine:_0x3e1cd8,unCombine:_0x3491c7}=_0x24361d;if(_0x3e1cd8){const _0x15f5c9=[],_0x20cedb=[];_0x15f5c9[_0x13a1d6(0x186)]({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'ranges':_0x22f526,'isSingle':!0x0}});const _0x2bf4f1='g_'+_0x5e660c(0x6),_0x40dece=new _0x3daf50(),_0x315354=(_0x473bb5=_0x22886c[_0x13a1d6(0x1a8)]()['sparklineModel']['get'](_0x3b2442))==null?void 0x0:_0x473bb5[_0x13a1d6(0x1b2)](_0x24c917),_0x217a15=new Set([_0x2bf4f1]),_0x59d9bb={};return _0x22f526[_0x13a1d6(0x1fc)](_0x23d6a1=>{const _0x5221c6=_0x13a1d6;var _0x21eb54,_0x296219;const {startRow:_0x3a36e4,endRow:_0x2a4d6b,startColumn:_0x4222f2,endColumn:_0x371817}=_0x23d6a1;for(let _0x2f8e47=_0x3a36e4;_0x2f8e47<=_0x2a4d6b;_0x2f8e47++)for(let _0x3b166c=_0x4222f2;_0x3b166c<=_0x371817;_0x3b166c++){const _0x425935=(_0x21eb54=_0xb7d65d==null?void 0x0:_0xb7d65d[_0x5221c6(0x216)][_0x5221c6(0x1fa)](_0x2f8e47,_0x3b166c))==null?void 0x0:_0x21eb54[_0x5221c6(0x1c5)];if(_0x425935){_0x217a15[_0x5221c6(0x1f9)](_0x425935);const _0x19e9aa=_0x22886c[_0x5221c6(0x1df)](_0x3b2442,_0x24c917,_0x425935);_0x19e9aa&&(_0x59d9bb[_0x425935]={'config':_0x4e3ddf[_0x5221c6(0x18b)](_0x19e9aa[_0x5221c6(0x1c0)]),'sparklines':_0x4e3ddf[_0x5221c6(0x18b)](_0x19e9aa[_0x5221c6(0x217)][_0x5221c6(0x1ae)]())});const _0x433cac=(_0x296219=_0x315354==null?void 0x0:_0x315354[_0x5221c6(0x1b2)](_0x425935))==null?void 0x0:_0x296219[_0x5221c6(0x217)][_0x5221c6(0x1fa)](_0x2f8e47,_0x3b166c);_0x433cac&&_0x40dece[_0x5221c6(0x21d)](_0x2f8e47,_0x3b166c,_0x433cac);}}}),_0x15f5c9[_0x13a1d6(0x186)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x2bf4f1]:{'config':_0x4e3ddf[_0x13a1d6(0x18b)](_0x5da695['config']),'sparklines':_0x40dece[_0x13a1d6(0x1b1)]()}},'unitId':_0x3b2442,'subUnitId':_0x24c917}}),_0x20cedb[_0x13a1d6(0x186)]({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'isSingle':!0x1,'groupIds':Array[_0x13a1d6(0x182)](_0x217a15)}}),_0x20cedb[_0x13a1d6(0x186)]({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':_0x59d9bb}}),_0x311934(_0x15f5c9,_0x2ef25f),_0x5c1467[_0x13a1d6(0x1f5)]({'unitID':_0x3b2442,'undoMutations':_0x20cedb,'redoMutations':_0x15f5c9}),!0x0;}else{if(_0x3491c7){const _0x2640fe=[],_0x1aef1d=[];_0x2640fe[_0x13a1d6(0x186)]({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'ranges':_0x22f526,'isSingle':!0x0}});const _0x1f06b3=(_0x4b6148=_0x22886c[_0x13a1d6(0x1a8)]()[_0x13a1d6(0x21f)][_0x13a1d6(0x1b2)](_0x3b2442))==null?void 0x0:_0x4b6148['get'](_0x24c917),_0x590af4={},_0x542a85=new Set(),_0x1a0bbe={};return _0x22f526[_0x13a1d6(0x1fc)](_0x534b0f=>{const _0x597e18=_0x13a1d6;var _0x21bca4,_0x44b697;const {startRow:_0x5b8628,endRow:_0x38f064,startColumn:_0x2ef066,endColumn:_0x101d37}=_0x534b0f;for(let _0x5dfc20=_0x5b8628;_0x5dfc20<=_0x38f064;_0x5dfc20++)for(let _0x446765=_0x2ef066;_0x446765<=_0x101d37;_0x446765++){const _0x1823d6=(_0x21bca4=_0xb7d65d==null?void 0x0:_0xb7d65d[_0x597e18(0x216)]['getValue'](_0x5dfc20,_0x446765))==null?void 0x0:_0x21bca4['groupId'];if(_0x1823d6){const _0x55324f=new _0x3daf50(),_0x59d2aa='g_'+_0x5e660c(0x6);_0x542a85[_0x597e18(0x1f9)](_0x1823d6),_0x542a85['add'](_0x59d2aa);const _0x1b7345=_0x22886c[_0x597e18(0x1df)](_0x3b2442,_0x24c917,_0x1823d6);_0x1b7345&&(_0x1a0bbe[_0x1823d6]={'config':_0x4e3ddf[_0x597e18(0x18b)](_0x1b7345[_0x597e18(0x1c0)]),'sparklines':_0x4e3ddf[_0x597e18(0x18b)](_0x1b7345[_0x597e18(0x217)][_0x597e18(0x1ae)]())});const _0x462f1b=(_0x44b697=_0x1f06b3==null?void 0x0:_0x1f06b3['get'](_0x1823d6))==null?void 0x0:_0x44b697[_0x597e18(0x217)][_0x597e18(0x1fa)](_0x5dfc20,_0x446765);_0x462f1b&&_0x55324f[_0x597e18(0x21d)](_0x5dfc20,_0x446765,_0x462f1b),_0x590af4[_0x59d2aa]={'sparklines':_0x55324f[_0x597e18(0x1b1)](),'config':_0x4e3ddf[_0x597e18(0x18b)](_0x5da695[_0x597e18(0x1c0)])};}}}),_0x2640fe['push']({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':_0x590af4}}),_0x1aef1d['push']({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'isSingle':!0x1,'groupIds':Array[_0x13a1d6(0x182)](_0x542a85)}}),_0x1aef1d[_0x13a1d6(0x186)]({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':_0x1a0bbe}}),_0x311934(_0x2640fe,_0x2ef25f),_0x5c1467[_0x13a1d6(0x1f5)]({'unitID':_0x3b2442,'undoMutations':_0x1aef1d,'redoMutations':_0x2640fe}),!0x0;}}if(_0x4758e5){const _0x483db0=_0x24361d['changeDataSourceInfo'];if(!_0x483db0)return!0x1;const {groupId:_0x4e7fda,sourceRanges:_0x23e2d9,targetRanges:_0x8bd6b3,resetType:_0x5860a7,primary:_0x216b4b}=_0x483db0,_0x5cc16c=[],_0x5cb7dc=[];_0x5cc16c[_0x13a1d6(0x186)]({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'ranges':_0x22f526,'isSingle':!0x1,'groupIds':[_0x4e7fda]}}),_0x5cb7dc['push']({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'ranges':_0x22f526,'isSingle':!0x1,'groupIds':[_0x4e7fda]}});let _0x3e1bc1;_0x5860a7===_0x13a1d6(0x1f3)?(_0x3e1bc1=new _0x3daf50(_0x5da695[_0x13a1d6(0x217)]['clone']()),_0x3e1bc1[_0x13a1d6(0x1c8)](_0x216b4b[_0x13a1d6(0x20f)],_0x216b4b[_0x13a1d6(0x1ea)]),_0x3e1bc1[_0x13a1d6(0x21d)](_0x8bd6b3[0x0]['startRow'],_0x8bd6b3[0x0][_0x13a1d6(0x1cc)],_0x23e2d9[0x0])):_0x3e1bc1=Fe(_0x23e2d9,_0x8bd6b3);const _0x3a53c7={'config':_0x4e3ddf[_0x13a1d6(0x18b)](_0x5da695[_0x13a1d6(0x1c0)]),'sparklines':_0x3e1bc1[_0x13a1d6(0x1b1)]()},_0x4f0909={'config':_0x4e3ddf['deepClone'](_0x5da695[_0x13a1d6(0x1c0)]),'sparklines':_0x4e3ddf['deepClone'](_0x5da695[_0x13a1d6(0x217)][_0x13a1d6(0x1ae)]())};_0x5cc16c[_0x13a1d6(0x186)]({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':{[_0x4e7fda]:_0x3a53c7}}}),_0x5cb7dc[_0x13a1d6(0x186)]({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':{[_0x4e7fda]:_0x4f0909}}}),_0x311934(_0x5cc16c,_0x2ef25f),_0x5c1467[_0x13a1d6(0x1f5)]({'unitID':_0x3b2442,'undoMutations':_0x5cb7dc,'redoMutations':_0x5cc16c});}else{const _0x5dc1bf=[],_0x5f283b=[],_0xe5c5dc=new Set(),_0x572d10={};_0x22f526['forEach'](_0x1e9d86=>{const _0x175a31=_0x13a1d6;var _0x43ed89;const {startRow:_0x4016d1,endRow:_0xaed16b,startColumn:_0x4c141a,endColumn:_0x324d64}=_0x1e9d86;for(let _0x1b0a23=_0x4016d1;_0x1b0a23<=_0xaed16b;_0x1b0a23++)for(let _0x4405cb=_0x4c141a;_0x4405cb<=_0x324d64;_0x4405cb++){const _0x2ce2f8=(_0x43ed89=_0xb7d65d==null?void 0x0:_0xb7d65d[_0x175a31(0x216)]['getValue'](_0x1b0a23,_0x4405cb))==null?void 0x0:_0x43ed89[_0x175a31(0x1c5)];if(_0x2ce2f8){_0xe5c5dc[_0x175a31(0x1f9)](_0x2ce2f8);const _0x52952c=_0x22886c[_0x175a31(0x1df)](_0x3b2442,_0x24c917,_0x2ce2f8);_0x52952c&&(_0x572d10[_0x2ce2f8]={'config':_0x4e3ddf['deepClone'](_0x52952c[_0x175a31(0x1c0)]),'sparklines':_0x4e3ddf[_0x175a31(0x18b)](_0x52952c[_0x175a31(0x217)][_0x175a31(0x1ae)]())});}}}),_0x5f283b[_0x13a1d6(0x186)]({'id':Oe['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'groupIds':Array[_0x13a1d6(0x182)](_0xe5c5dc),'config':{'config':_0x4e3ddf[_0x13a1d6(0x18b)](_0x5da695[_0x13a1d6(0x1c0)]),'sparklines':_0x5da695['sparklines'][_0x13a1d6(0x1b1)]()}}}),_0x5dc1bf[_0x13a1d6(0x186)]({'id':y['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'isSingle':!0x1,'groupIds':Array[_0x13a1d6(0x182)](_0xe5c5dc)}}),_0x5dc1bf[_0x13a1d6(0x186)]({'id':V['id'],'params':{'unitId':_0x3b2442,'subUnitId':_0x24c917,'sparklineConfigMap':_0x572d10}}),_0x311934(_0x5f283b,_0x2ef25f),_0x5c1467[_0x13a1d6(0x1f5)]({'unitID':_0x3b2442,'undoMutations':_0x5dc1bf,'redoMutations':_0x5f283b});}return!0x0;}};var Ut=Object[_0x48ae7b(0x195)],Pt=(_0x2ac82a,_0x3fac77,_0x30a79b,_0xcd3e3)=>{const _0x2bb2bd=_0x48ae7b;for(var _0x1a40b1=_0xcd3e3>0x1?void 0x0:_0xcd3e3?Ut(_0x3fac77,_0x30a79b):_0x3fac77,_0x38a6da=_0x2ac82a[_0x2bb2bd(0x19a)]-0x1,_0x20c7b0;_0x38a6da>=0x0;_0x38a6da--)(_0x20c7b0=_0x2ac82a[_0x38a6da])&&(_0x1a40b1=_0x20c7b0(_0x1a40b1)||_0x1a40b1);return _0x1a40b1;},ge=(_0x1a1395,_0x354725)=>(_0x503481,_0x1d0bc9)=>_0x354725(_0x503481,_0x1d0bc9,_0x1a1395);let Se=class extends _0x2eaa73{constructor(_0x29599c,_0x4dc609,_0x30d41d,_0x2e45de){const _0x350510=_0x48ae7b;super(),this['_sparklineDataSourceModel']=_0x29599c,this[_0x350510(0x1be)]=_0x4dc609,this[_0x350510(0x1d6)]=_0x30d41d,this['_sheetSelectionService']=_0x2e45de,this['_initClearWithSparkline']();}[_0x48ae7b(0x21a)](){const _0x27cca7=_0x48ae7b;this['disposeWithMe'](this[_0x27cca7(0x1be)][_0x27cca7(0x189)]({'getMutations':_0xfe8139=>{const _0x2a4978=_0x27cca7,_0x20ec78=[],_0x18c024=[];if(_0xfe8139['id']===_0x284ccf['id']){const _0x333b6e=_0x547fba(this[_0x2a4978(0x1d6)]);if(!_0x333b6e)return{'redos':_0x20ec78,'undos':_0x18c024};const {unitId:_0x1f2b86,subUnitId:_0x326771,worksheet:_0xf7b7c4}=_0x333b6e,_0x51cddc=this[_0x2a4978(0x1b9)][_0x2a4978(0x1c1)]()[_0x2a4978(0x17f)](_0x1acc12=>_0x1acc12[_0x2a4978(0x212)]),_0x1cf481=new Set(),_0x14e050={},_0x51cd74={};_0x51cddc[_0x2a4978(0x1fc)](_0xfff1a5=>{_0x4d4d47['foreach'](_0xfff1a5,(_0x5bb466,_0x217cd7)=>{const _0x1841df=_0x302d,_0x5171a4=this[_0x1841df(0x234)][_0x1841df(0x1e7)](_0x1f2b86,_0x326771,_0x5bb466,_0x217cd7);if(_0x5171a4&&!_0x1cf481[_0x1841df(0x22d)](_0x5171a4)){const _0x2be173=this[_0x1841df(0x234)][_0x1841df(0x1df)](_0x1f2b86,_0x326771,_0x5171a4);_0x2be173&&(_0x1cf481[_0x1841df(0x1f9)](_0x5171a4),_0x14e050[_0x5171a4]={'config':_0x4e3ddf[_0x1841df(0x18b)](_0x2be173[_0x1841df(0x1c0)]),'sparklines':_0x4e3ddf[_0x1841df(0x18b)](_0x2be173[_0x1841df(0x217)][_0x1841df(0x1ae)]())},_0x51cd74[_0x5171a4]={'config':_0x4e3ddf[_0x1841df(0x18b)](_0x2be173[_0x1841df(0x1c0)]),'sparklines':_0x4e3ddf[_0x1841df(0x18b)](_0x2be173[_0x1841df(0x217)][_0x1841df(0x1ae)]())});}});}),Object[_0x2a4978(0x18c)](_0x51cd74)[_0x2a4978(0x1fc)](_0x75381b=>{const _0x4642ae=_0x75381b['sparklines'];new _0x3daf50(_0x4642ae)['forValue']((_0x2fc5c2,_0x52b37d,_0xb9b5b3)=>{const _0x575589=_0x302d;_0x51cddc[_0x575589(0x1da)](_0x165f38=>_0x4f262f[_0x575589(0x190)](_0x165f38,_0x576911(_0x2fc5c2,_0x52b37d)))&&delete _0x4642ae[_0x2fc5c2][_0x52b37d];});}),_0x20ec78['push']({'id':y['id'],'params':{'unitId':_0x1f2b86,'subUnitId':_0x326771,'groupIds':Array[_0x2a4978(0x182)](_0x1cf481),'isSingle':!0x1}}),_0x20ec78[_0x2a4978(0x186)]({'id':V['id'],'params':{'unitId':_0x1f2b86,'subUnitId':_0x326771,'sparklineConfigMap':_0x51cd74}}),_0x18c024[_0x2a4978(0x186)]({'id':y['id'],'params':{'unitId':_0x1f2b86,'subUnitId':_0x326771,'groupIds':Array[_0x2a4978(0x182)](_0x1cf481),'isSingle':!0x1}}),_0x18c024[_0x2a4978(0x186)]({'id':V['id'],'params':{'unitId':_0x1f2b86,'subUnitId':_0x326771,'sparklineConfigMap':_0x14e050}});}return{'redos':_0x20ec78,'undos':_0x18c024};}}));}};Se=Pt([ge(0x0,_0x585b12(x)),ge(0x1,_0x585b12(_0x41b0aa)),ge(0x2,_0x585b12(_0x5df516)),ge(0x3,_0x585b12(_0x3a577e))],Se);var Tt=Object[_0x48ae7b(0x195)],$t=(_0x2fd618,_0x318c7c,_0x21c9b8,_0xcfbad5)=>{const _0x4d43db=_0x48ae7b;for(var _0x8478c1=_0xcfbad5>0x1?void 0x0:_0xcfbad5?Tt(_0x318c7c,_0x21c9b8):_0x318c7c,_0x215aae=_0x2fd618[_0x4d43db(0x19a)]-0x1,_0xa582b7;_0x215aae>=0x0;_0x215aae--)(_0xa582b7=_0x2fd618[_0x215aae])&&(_0x8478c1=_0xa582b7(_0x8478c1)||_0x8478c1);return _0x8478c1;},Ge=(_0xf51a5e,_0x29f14c)=>(_0xb3d2a8,_0x4c83c1)=>_0x29f14c(_0xb3d2a8,_0x4c83c1,_0xf51a5e);let ke=class extends _0x2eaa73{constructor(_0xa61dd9,_0x36f4f6){const _0x456220=_0x48ae7b;super(),this[_0x456220(0x1be)]=_0xa61dd9,this[_0x456220(0x234)]=_0x36f4f6,this[_0x456220(0x1e9)]();}[_0x48ae7b(0x1e9)](){const _0x9ccb84=_0x48ae7b;this[_0x9ccb84(0x184)](this[_0x9ccb84(0x1be)][_0x9ccb84(0x189)]({'getMutations':_0x49c479=>{const _0x40f173=_0x9ccb84,_0x6988a4=[],_0x475b4d=[];if(_0x49c479['id']===_0xc1047f['id']){const _0x21072a=_0x49c479['params'];if(!_0x21072a)return{'redos':_0x6988a4,'undos':_0x475b4d};const {unitId:_0x28c0b1,subUnitId:_0x1be931,targetSubUnitId:_0x1baad9}=_0x21072a;if(!_0x28c0b1||!_0x1be931||!_0x1baad9)return{'redos':_0x6988a4,'undos':_0x475b4d};const _0x43da4f=new Set(),_0x131adc={},_0x3342ef=this[_0x40f173(0x234)][_0x40f173(0x1f1)](_0x28c0b1,_0x1be931);if(!_0x3342ef)return{'redos':_0x6988a4,'undos':_0x475b4d};for(const [_0x1aeebb,_0x1fca4c]of _0x3342ef){const _0x85be29='g_'+_0x5e660c(0x6);_0x43da4f['add'](_0x1aeebb),_0x131adc[_0x85be29]={'config':_0x4e3ddf[_0x40f173(0x18b)](_0x1fca4c['config']),'sparklines':_0x4e3ddf['deepClone'](_0x1fca4c['sparklines']['clone']())};}_0x43da4f[_0x40f173(0x1b5)]&&(_0x475b4d[_0x40f173(0x186)]({'id':y['id'],'params':{'unitId':_0x28c0b1,'subUnitId':_0x1baad9,'groupIds':Array[_0x40f173(0x182)](_0x43da4f),'isSingle':!0x1}}),_0x6988a4[_0x40f173(0x186)]({'id':V['id'],'params':{'unitId':_0x28c0b1,'subUnitId':_0x1baad9,'sparklineConfigMap':_0x131adc}}));}return{'redos':_0x6988a4,'undos':_0x475b4d};}}));}};ke=$t([Ge(0x0,_0x585b12(_0x41b0aa)),Ge(0x1,_0x585b12(x))],ke);var jt=Object[_0x48ae7b(0x195)],Lt=(_0x45844b,_0x3def99,_0x5c2393,_0x3917a5)=>{const _0x11f9f8=_0x48ae7b;for(var _0x4ed90d=_0x3917a5>0x1?void 0x0:_0x3917a5?jt(_0x3def99,_0x5c2393):_0x3def99,_0x4dce99=_0x45844b[_0x11f9f8(0x19a)]-0x1,_0x536601;_0x4dce99>=0x0;_0x4dce99--)(_0x536601=_0x45844b[_0x4dce99])&&(_0x4ed90d=_0x536601(_0x4ed90d)||_0x4ed90d);return _0x4ed90d;},be=(_0x4e5d9d,_0x324c19)=>(_0x57c295,_0x4dfb4f)=>_0x324c19(_0x57c295,_0x4dfb4f,_0x4e5d9d);let me=class extends _0x2eaa73{constructor(_0x84359a,_0x839de8,_0x51e1a2){const _0x191626=_0x48ae7b;super(),this[_0x191626(0x230)]=_0x84359a,this[_0x191626(0x234)]=_0x839de8,this['_exclusiveRangeService']=_0x51e1a2,this[_0x191626(0x218)](),this['_initExclusiveRangeChange']();}[_0x48ae7b(0x218)](){const _0x8ebe63=_0x48ae7b;this[_0x8ebe63(0x184)](this['_commandService'][_0x8ebe63(0x237)](_0x1641ff=>{const _0xe8dee7=_0x8ebe63;if(_0x1641ff['id']===_0x29e21c['id']){const _0x78a2b8=_0x1641ff[_0xe8dee7(0x1a4)],{cellValue:_0x282e77,unitId:_0x2ce144,subUnitId:_0x29f525}=_0x78a2b8,_0x45ed45=new _0x3daf50(_0x282e77),_0x6769d0=new Set(),_0x8b9d7d=this[_0xe8dee7(0x234)]['getSubUnitSparkline'](_0x2ce144,_0x29f525);if(!_0x8b9d7d)return;const _0x33a97c=Array['from'](_0x8b9d7d);_0x45ed45[_0xe8dee7(0x1ad)]((_0x486165,_0x53d8c5,_0x140577)=>{const _0x4f4fba=_0xe8dee7,_0x413997=_0x576911(_0x486165,_0x53d8c5);for(let _0x324871=0x0;_0x324871<_0x33a97c[_0x4f4fba(0x19a)];_0x324871++){const [_0x1319c1,_0xb8e54a]=_0x33a97c[_0x324871],_0x395de6=_0x6769d0[_0x4f4fba(0x22d)](_0x1319c1);_0x395de6||_0xb8e54a[_0x4f4fba(0x217)][_0x4f4fba(0x1ad)]((_0x3f19a1,_0x1f2e36,_0x1d0a6e)=>{const _0xfe76c8=_0x4f4fba,_0x3c1a09=_0x1d0a6e;if(_0x3c1a09&&!_0x395de6&&_0x4f262f[_0xfe76c8(0x190)](_0x413997,_0x3c1a09))return _0x6769d0['add'](_0x1319c1),!0x0;});}}),_0x6769d0[_0xe8dee7(0x1fc)](_0x5de125=>{const _0x477ae8=_0xe8dee7;this[_0x477ae8(0x234)]['clearSparklineCache'](_0x2ce144,_0x29f525,_0x5de125),this[_0x477ae8(0x234)][_0x477ae8(0x236)](_0x2ce144,_0x29f525,_0x5de125);});}else{if(_0x1641ff['id']===_0x34f9b0['id']){const _0x2af9fb=_0x1641ff['params'],{range:_0x541221,unitId:_0x5af344,subUnitId:_0x398818}=_0x2af9fb,_0x5d0dd6=new Set(),_0x1d0405=this[_0xe8dee7(0x234)][_0xe8dee7(0x1f1)](_0x5af344,_0x398818);if(!_0x1d0405)return;const _0x50e397=Array[_0xe8dee7(0x182)](_0x1d0405);for(let _0x4480c1=0x0;_0x4480c1<_0x50e397[_0xe8dee7(0x19a)];_0x4480c1++){const [_0x25f0f1,_0x2f866f]=_0x50e397[_0x4480c1],_0x289de5=_0x5d0dd6[_0xe8dee7(0x22d)](_0x25f0f1);_0x289de5||_0x2f866f['sparklines'][_0xe8dee7(0x1ad)]((_0x452223,_0x12a01b,_0x430b5d)=>{const _0x5df2b6=_0xe8dee7,_0x4fd270=_0x430b5d;if(_0x4fd270&&!_0x289de5&&_0x4f262f[_0x5df2b6(0x190)](_0x541221,_0x4fd270))return _0x5d0dd6[_0x5df2b6(0x1f9)](_0x25f0f1),!0x0;});}_0x5d0dd6[_0xe8dee7(0x1fc)](_0x1382bf=>{const _0x5a96e2=_0xe8dee7;this[_0x5a96e2(0x234)]['clearSparklineCache'](_0x5af344,_0x398818,_0x1382bf),this[_0x5a96e2(0x234)]['updateSparklineExtraNum'](_0x5af344,_0x398818,_0x1382bf);});}}}));}[_0x48ae7b(0x1b0)](){const _0x553532=_0x48ae7b;this[_0x553532(0x184)](this[_0x553532(0x208)][_0x553532(0x229)][_0x553532(0x1af)](_0x43e982=>{const _0x4d4f24=_0x553532,{unitId:_0x2c2515,subUnitId:_0x5b2914,ranges:_0x27f857}=_0x43e982,_0x27dc1e=this['_sparklineDataSourceModel'][_0x4d4f24(0x1f1)](_0x2c2515,_0x5b2914);if(!_0x27dc1e)return;const _0x13a00f=Array['from'](_0x27dc1e),_0x102478=new Set();for(let _0x568be2=0x0;_0x568be2<_0x13a00f[_0x4d4f24(0x19a)];_0x568be2++){const [_0x20cffe,_0x22c842]=_0x13a00f[_0x568be2],_0x43ab2b=_0x102478[_0x4d4f24(0x22d)](_0x20cffe);_0x43ab2b||_0x22c842[_0x4d4f24(0x217)][_0x4d4f24(0x1ad)]((_0x3d4129,_0x27f24b,_0x41605a)=>{const _0xcc739a=_0x4d4f24,_0x1cfc80=_0x41605a;if(_0x1cfc80&&!_0x43ab2b){for(const _0x2ff39a of _0x27f857)if(_0x4f262f[_0xcc739a(0x190)](_0x2ff39a,_0x1cfc80)){_0x102478['add'](_0x20cffe);break;}}});}_0x102478[_0x4d4f24(0x1fc)](_0x2d54ba=>{const _0x124f00=_0x4d4f24;this[_0x124f00(0x234)][_0x124f00(0x19b)](_0x2c2515,_0x5b2914,_0x2d54ba),this['_sparklineDataSourceModel'][_0x124f00(0x236)](_0x2c2515,_0x5b2914,_0x2d54ba);});}));}};me=Lt([be(0x0,_0x585b12(_0x4e32ad)),be(0x1,_0x585b12(x)),be(0x2,_0x585b12(_0x4c6ef9))],me);var Gt=Object[_0x48ae7b(0x195)],Wt=(_0x132ebf,_0x518c69,_0x4d4444,_0x56cb86)=>{const _0xc88a32=_0x48ae7b;for(var _0x3e6ef1=_0x56cb86>0x1?void 0x0:_0x56cb86?Gt(_0x518c69,_0x4d4444):_0x518c69,_0x42f366=_0x132ebf[_0xc88a32(0x19a)]-0x1,_0x2888f9;_0x42f366>=0x0;_0x42f366--)(_0x2888f9=_0x132ebf[_0x42f366])&&(_0x3e6ef1=_0x2888f9(_0x3e6ef1)||_0x3e6ef1);return _0x3e6ef1;},We=(_0x41f84c,_0x495856)=>(_0x881bfc,_0x16fb49)=>_0x495856(_0x881bfc,_0x16fb49,_0x41f84c);let Ce=class extends _0x2eaa73{constructor(_0x38d7c9,_0x59614e){const _0x3b528c=_0x48ae7b;super(),this[_0x3b528c(0x230)]=_0x38d7c9,this[_0x3b528c(0x234)]=_0x59614e,this['_initHideRowColWithSparkline']();}['_initHideRowColWithSparkline'](){const _0x8c555e=_0x48ae7b;this[_0x8c555e(0x230)][_0x8c555e(0x237)](_0x1ba7b0=>{const _0x25e090=_0x8c555e;if(_0x1ba7b0['id']===_0x4eb4a3['id']||_0x1ba7b0['id']===_0x43eb92['id']||_0x1ba7b0['id']===_0x571d1b['id']||_0x1ba7b0['id']===_0x498a6b['id']){const _0x2ddb85=_0x1ba7b0[_0x25e090(0x1a4)],{ranges:_0x4ed82c,unitId:_0x5454d1,subUnitId:_0x34a128}=_0x2ddb85,_0xc0df08=new Set(),_0x337278=this[_0x25e090(0x234)]['getSubUnitSparkline'](_0x5454d1,_0x34a128);if(!_0x337278)return;const _0x1d1b2b=Array[_0x25e090(0x182)](_0x337278);_0x4ed82c[_0x25e090(0x1fc)](_0x3c0ea1=>{const _0x5f4e65=_0x25e090;_0x4d4d47[_0x5f4e65(0x213)](_0x3c0ea1,(_0x1a4062,_0x2dba97)=>{const _0x444662=_0x5f4e65,_0xcd0b9b=_0x576911(_0x1a4062,_0x2dba97);for(let _0x513f3f=0x0;_0x513f3f<_0x1d1b2b['length'];_0x513f3f++){const [_0x5e4008,_0x440924]=_0x1d1b2b[_0x513f3f],_0x18a146=_0xc0df08[_0x444662(0x22d)](_0x5e4008);_0x18a146||_0x440924[_0x444662(0x217)][_0x444662(0x1ad)]((_0x234592,_0x37609a,_0x128367)=>{const _0x34843f=_0x444662,_0x31c03e=_0x128367;if(_0x31c03e&&!_0x18a146&&_0x4f262f['intersects'](_0xcd0b9b,_0x31c03e))return _0xc0df08[_0x34843f(0x1f9)](_0x5e4008),!0x0;});}});}),_0xc0df08[_0x25e090(0x1fc)](_0x5f5225=>{const _0x51e458=_0x25e090;this[_0x51e458(0x234)][_0x51e458(0x19b)](_0x5454d1,_0x34a128,_0x5f5225),this[_0x51e458(0x234)][_0x51e458(0x236)](_0x5454d1,_0x34a128,_0x5f5225);});}});}};Ce=Wt([We(0x0,_0x585b12(_0x4e32ad)),We(0x1,_0x585b12(x))],Ce);var Bt=Object[_0x48ae7b(0x195)],Ht=(_0x3c0e47,_0x540851,_0x582d0c,_0x24b5c7)=>{for(var _0x10fd69=_0x24b5c7>0x1?void 0x0:_0x24b5c7?Bt(_0x540851,_0x582d0c):_0x540851,_0x38e23e=_0x3c0e47['length']-0x1,_0x49eebb;_0x38e23e>=0x0;_0x38e23e--)(_0x49eebb=_0x3c0e47[_0x38e23e])&&(_0x10fd69=_0x49eebb(_0x10fd69)||_0x10fd69);return _0x10fd69;},De=(_0xc218cd,_0x4ba2b7)=>(_0x197ba1,_0x1a8dff)=>_0x4ba2b7(_0x197ba1,_0x1a8dff,_0xc218cd);let _e=class extends _0x2eaa73{constructor(_0x891dfc,_0x12fd06,_0x16dd5a){const _0x26e7af=_0x48ae7b;super(),this['_commandService']=_0x891dfc,this['_sheetInterceptorService']=_0x12fd06,this[_0x26e7af(0x234)]=_0x16dd5a,this[_0x26e7af(0x1bb)]();}[_0x48ae7b(0x1bb)](){const _0x1416b2=_0x48ae7b;this['disposeWithMe'](this[_0x1416b2(0x1be)]['interceptCommand']({'getMutations':_0x12c171=>{const _0x21ea47=_0x1416b2,_0xcdcc78=[],_0x15f23b=[];if(_0x12c171['id']===_0x525b24['id']){const _0x410c9e=_0x12c171[_0x21ea47(0x1a4)];if(!_0x410c9e)return{'redos':_0xcdcc78,'undos':_0x15f23b};const {unitId:_0x32b0a5,subUnitId:_0x33ce4f,ranges:_0x49bb67}=_0x410c9e,_0x2e3b17=this[_0x21ea47(0x234)][_0x21ea47(0x1f1)](_0x32b0a5,_0x33ce4f);if(!_0x2e3b17)return{'redos':_0xcdcc78,'undos':_0x15f23b};const _0x4c4b85={},_0x41dfa8={},_0x43b273=new Set();_0x49bb67[_0x21ea47(0x1fc)](_0x59fe0c=>{const _0x2a7c10=_0x21ea47,_0x23ff45=_0x59fe0c[_0x2a7c10(0x1d8)],_0x32d1e3=_0x59fe0c[_0x2a7c10(0x1cc)];_0x4d4d47[_0x2a7c10(0x213)](_0x59fe0c,(_0xc4d507,_0xb51600)=>{const _0x2a5e37=_0x2a7c10,_0x18c1ef=this[_0x2a5e37(0x234)][_0x2a5e37(0x1e7)](_0x32b0a5,_0x33ce4f,_0xc4d507,_0xb51600);if(_0x18c1ef&&!(_0xc4d507===_0x23ff45&&_0xb51600===_0x32d1e3)){const _0x530447=this['_sparklineDataSourceModel'][_0x2a5e37(0x1df)](_0x32b0a5,_0x33ce4f,_0x18c1ef);if(_0x530447){_0x43b273[_0x2a5e37(0x1f9)](_0x18c1ef);let _0x2372bc=_0x4c4b85[_0x18c1ef];_0x2372bc||(_0x2372bc={'config':_0x4e3ddf['deepClone'](_0x530447['config']),'sparklines':new _0x3daf50(_0x530447[_0x2a5e37(0x217)][_0x2a5e37(0x1ae)]())},_0x4c4b85[_0x18c1ef]=_0x2372bc),_0x2372bc[_0x2a5e37(0x217)][_0x2a5e37(0x1c8)](_0xc4d507,_0xb51600),_0x41dfa8[_0x18c1ef]={'config':_0x4e3ddf['deepClone'](_0x530447[_0x2a5e37(0x1c0)]),'sparklines':_0x4e3ddf['deepClone'](_0x530447[_0x2a5e37(0x217)]['clone']())};}}});});for(const [_0x3f7ee5,_0x48a8f0]of _0x2e3b17){const _0x3ab3bd=_0x48a8f0[_0x21ea47(0x217)];_0x3ab3bd[_0x21ea47(0x1ad)]((_0x5573b6,_0x2491e3,_0x561e03)=>{const _0x37004f=_0x21ea47;for(let _0x78dd40=0x0;_0x78dd40<_0x49bb67[_0x37004f(0x19a)];_0x78dd40++){const _0x406afd=_0x49bb67[_0x78dd40];if(_0x4f262f[_0x37004f(0x1ca)](_0x406afd,_0x561e03)){_0x43b273[_0x37004f(0x1f9)](_0x3f7ee5);let _0x3a840e=_0x4c4b85[_0x3f7ee5];_0x3a840e||(_0x3a840e={'config':_0x4e3ddf[_0x37004f(0x18b)](_0x48a8f0[_0x37004f(0x1c0)]),'sparklines':new _0x3daf50(_0x3ab3bd[_0x37004f(0x1ae)]())},_0x4c4b85[_0x3f7ee5]=_0x3a840e),_0x3a840e[_0x37004f(0x217)][_0x37004f(0x1c8)](_0x5573b6,_0x2491e3),_0x41dfa8[_0x3f7ee5]||(_0x41dfa8[_0x3f7ee5]={'config':_0x4e3ddf[_0x37004f(0x18b)](_0x48a8f0[_0x37004f(0x1c0)]),'sparklines':_0x4e3ddf[_0x37004f(0x18b)](_0x3ab3bd[_0x37004f(0x1ae)]())});}}});}const _0x466639={};Object[_0x21ea47(0x202)](_0x4c4b85)[_0x21ea47(0x1fc)](([_0x6c0e4f,_0x17e9c1])=>{const _0xa14c11=_0x21ea47;_0x17e9c1[_0xa14c11(0x217)][_0xa14c11(0x1aa)]()&&(_0x466639[_0x6c0e4f]={'config':_0x17e9c1[_0xa14c11(0x1c0)],'sparklines':_0x17e9c1['sparklines'][_0xa14c11(0x1ae)]()});}),_0x43b273[_0x21ea47(0x1b5)]&&(_0xcdcc78['push']({'id':y['id'],'params':{'unitId':_0x32b0a5,'subUnitId':_0x33ce4f,'groupIds':Array[_0x21ea47(0x182)](_0x43b273),'isSingle':!0x1}}),_0x15f23b['push']({'id':y['id'],'params':{'unitId':_0x32b0a5,'subUnitId':_0x33ce4f,'groupIds':Array[_0x21ea47(0x182)](_0x43b273),'isSingle':!0x1}}),_0xcdcc78[_0x21ea47(0x186)]({'id':V['id'],'params':{'unitId':_0x32b0a5,'subUnitId':_0x33ce4f,'sparklineConfigMap':_0x466639}}),_0x15f23b['push']({'id':V['id'],'params':{'unitId':_0x32b0a5,'subUnitId':_0x33ce4f,'sparklineConfigMap':_0x41dfa8}}));}return{'redos':_0xcdcc78,'undos':_0x15f23b};}}));}};_e=Ht([De(0x0,_0x585b12(_0x4e32ad)),De(0x1,_0x585b12(_0x41b0aa)),De(0x2,_0x585b12(x))],_e);var Ft=Object['getOwnPropertyDescriptor'],Kt=(_0x32382b,_0x315abc,_0x478abd,_0x395b45)=>{const _0xbd959f=_0x48ae7b;for(var _0x549096=_0x395b45>0x1?void 0x0:_0x395b45?Ft(_0x315abc,_0x478abd):_0x315abc,_0xb2fc98=_0x32382b[_0xbd959f(0x19a)]-0x1,_0x2d2170;_0xb2fc98>=0x0;_0xb2fc98--)(_0x2d2170=_0x32382b[_0xb2fc98])&&(_0x549096=_0x2d2170(_0x549096)||_0x549096);return _0x549096;},ue=(_0x46f104,_0x4d5256)=>(_0x323624,_0x4939ee)=>_0x4d5256(_0x323624,_0x4939ee,_0x46f104);let Me=class extends _0x2eaa73{constructor(_0x5a99b5,_0x14254f,_0xeb8ada,_0x24b786,_0x108621){const _0x4c855d=_0x48ae7b;super(),se(this,_0x4c855d(0x203),new _0x2a6d1e()),(this[_0x4c855d(0x230)]=_0x5a99b5,this[_0x4c855d(0x1be)]=_0x14254f,this[_0x4c855d(0x1ac)]=_0xeb8ada,this[_0x4c855d(0x1d6)]=_0x24b786,this[_0x4c855d(0x234)]=_0x108621,this[_0x4c855d(0x1e3)](),this['_initCorrectRangeWithSparkline']());}['_onRefRangeChange'](){const _0x3e63ba=_0x48ae7b,_0x4b0363=(_0x121fc3,_0x4bf71d)=>{const _0x4525bf=_0x302d,_0x5dc02d=this['_univerInstanceService'][_0x4525bf(0x1fe)](_0x31a2c3['UNIVER_SHEET']);if(!_0x5dc02d||!(_0x5dc02d==null?void 0x0:_0x5dc02d['getSheetBySheetId'](_0x4bf71d)))return;this[_0x4525bf(0x203)][_0x4525bf(0x19d)]();const _0x358330=_0x53d867=>this['refRangeHandle'](_0x53d867,_0x121fc3,_0x4bf71d),_0x2c23f2=[],_0x3775ad=this[_0x4525bf(0x234)]['getSubUnitSparkline'](_0x121fc3,_0x4bf71d);if(_0x3775ad){for(const [_0x3ea0df,_0x31396c]of _0x3775ad)_0x31396c['sparklines'][_0x4525bf(0x1ad)]((_0xf484e0,_0x419154,_0x865fe3)=>{const _0x44428b=_0x4525bf,_0x545751=_0x576911(_0xf484e0,_0x419154);_0x2c23f2[_0x44428b(0x186)](_0x545751);});_0x2c23f2[_0x4525bf(0x1fc)](_0xab0d5c=>{const _0x393949=_0x4525bf;this['disposableCollection'][_0x393949(0x1f9)](this['_refRangeService'][_0x393949(0x1fb)](_0xab0d5c,_0x358330,_0x121fc3,_0x4bf71d));});}};this[_0x3e63ba(0x184)](this[_0x3e63ba(0x230)][_0x3e63ba(0x237)](_0x5c3874=>{const _0x3e23d1=_0x3e63ba;if(_0x5c3874['id']===_0x465cf2['id']){const _0x397a76=_0x5c3874[_0x3e23d1(0x1a4)],_0x5cec65=_0x397a76[_0x3e23d1(0x1f4)],_0x57efaa=_0x397a76[_0x3e23d1(0x215)];if(!_0x5cec65||!_0x57efaa)return;_0x4b0363(_0x57efaa,_0x5cec65);}if(_0x5c3874['id']===Oe['id']||_0x5c3874['id']===V['id']){const _0x36b64b=_0x5c3874[_0x3e23d1(0x1a4)],_0x189fe0=_0x36b64b[_0x3e23d1(0x1f4)],_0x1d28fe=_0x36b64b[_0x3e23d1(0x215)];if(!_0x189fe0||!_0x1d28fe)return;_0x4b0363(_0x1d28fe,_0x189fe0);}}));}[_0x48ae7b(0x197)](_0x72cb36,_0x530282,_0x453124){const _0x4c9e0b=_0x48ae7b;switch(_0x72cb36['id']){case _0x5c4e43['id']:return this['_getRefRangeMutationsByDeleteCols'](_0x72cb36[_0x4c9e0b(0x1a4)],_0x530282,_0x453124);case _0x127d98['id']:return this[_0x4c9e0b(0x201)](_0x72cb36['params'],_0x530282,_0x453124);}return{'redos':[],'undos':[]};}[_0x48ae7b(0x201)](_0x30b8da,_0xdd015f,_0x9d914){const _0x38bf00=_0x48ae7b;var _0x3b84cf,_0x43e90f;const {range:_0x13cb3e}=_0x30b8da,_0x58b366=new Set(),_0x1402a1={},_0x3017a1={},_0x51b204=[],_0x1e178f=[],_0xda037c=[],_0x55eebb=[];if(!_0x547fba(this[_0x38bf00(0x1d6)],{'unitId':_0xdd015f,'subUnitId':_0x9d914}))return{'redos':_0x1e178f,'undos':_0x51b204};const _0x580640=this[_0x38bf00(0x234)][_0x38bf00(0x1f1)](_0xdd015f,_0x9d914);if(!_0x580640)return{'redos':_0x1e178f,'undos':_0x51b204};if(!((_0x43e90f=(_0x3b84cf=this['_sparklineDataSourceModel'][_0x38bf00(0x1a8)]()[_0x38bf00(0x1cb)]['get'](_0xdd015f))==null?void 0x0:_0x3b84cf['get'](_0x9d914))==null?void 0x0:_0x43e90f['matrix']))return{'redos':_0x1e178f,'undos':_0x51b204};for(const [_0x263de3,_0x5125f6]of _0x580640){const _0x7a0f62=_0x5125f6[_0x38bf00(0x217)];_0x7a0f62[_0x38bf00(0x1ad)]((_0x119d0,_0x3d3ff4,_0x1517b2)=>{const _0x3a9cfe=_0x38bf00;if(_0x4f262f['intersects'](_0x13cb3e,_0x1517b2)){_0x58b366[_0x3a9cfe(0x1f9)](_0x263de3);let _0x37b73a=_0x3017a1[_0x263de3];_0x37b73a||(_0x37b73a={'config':_0x5125f6[_0x3a9cfe(0x1c0)],'sparklines':_0x5125f6[_0x3a9cfe(0x217)][_0x3a9cfe(0x1ae)]()},_0x3017a1[_0x263de3]=_0x37b73a);let _0x2dcb0=_0x1402a1[_0x263de3];_0x2dcb0||(_0x2dcb0={'config':_0x5125f6[_0x3a9cfe(0x1c0)],'sparklines':new _0x3daf50(_0x5125f6['sparklines'][_0x3a9cfe(0x1ae)]())},_0x1402a1[_0x263de3]=_0x2dcb0);const _0xf10304=_0x37fe3b(_0x1517b2,{'id':_0x407bcf['id'],'params':_0x30b8da});_0xf10304?_0x2dcb0['sparklines'][_0x3a9cfe(0x21d)](_0x119d0,_0x3d3ff4,_0xf10304):_0x2dcb0[_0x3a9cfe(0x217)][_0x3a9cfe(0x21d)](_0x119d0,_0x3d3ff4,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056[_0x3a9cfe(0x1b7)]});}}),_0x7a0f62[_0x38bf00(0x1ad)]((_0x5c608e,_0x33c89f,_0x596ccd)=>{const _0x3f7c95=_0x38bf00;if(_0x5c608e<=_0x13cb3e[_0x3f7c95(0x1c7)]&&_0x5c608e>=_0x13cb3e['startRow']){_0x58b366[_0x3f7c95(0x1f9)](_0x263de3);let _0xf26331=_0x3017a1[_0x263de3];_0xf26331||(_0xf26331={'config':_0x5125f6[_0x3f7c95(0x1c0)],'sparklines':_0x5125f6[_0x3f7c95(0x217)]['clone']()},_0x3017a1[_0x263de3]=_0xf26331);let _0x333746=_0x1402a1[_0x263de3];_0x333746||(_0x333746={'config':_0x5125f6['config'],'sparklines':new _0x3daf50(_0x5125f6[_0x3f7c95(0x217)][_0x3f7c95(0x1ae)]())},_0x1402a1[_0x263de3]=_0x333746);}});}_0x55eebb[_0x38bf00(0x186)]({'id':y['id'],'params':{'unitId':_0xdd015f,'subUnitId':_0x9d914,'groupIds':Array[_0x38bf00(0x182)](_0x58b366),'isSingle':!0x1}}),_0xda037c[_0x38bf00(0x186)]({'id':y['id'],'params':{'unitId':_0xdd015f,'subUnitId':_0x9d914,'groupIds':Array[_0x38bf00(0x182)](_0x58b366),'isSingle':!0x1}});const _0x588af7={};let _0x130f95=!0x1;return Object[_0x38bf00(0x202)](_0x1402a1)[_0x38bf00(0x1fc)](([_0x51c67c,_0x5c0240])=>{const _0x33cb08=_0x38bf00;_0x5c0240[_0x33cb08(0x217)]['getSizeOf']()&&(_0x130f95=!0x0,_0x5c0240[_0x33cb08(0x217)][_0x33cb08(0x21b)](_0x13cb3e[_0x33cb08(0x1d8)],_0x13cb3e[_0x33cb08(0x1c7)]-_0x13cb3e['startRow']+0x1),_0x588af7[_0x51c67c]={'config':_0x5c0240[_0x33cb08(0x1c0)],'sparklines':_0x5c0240[_0x33cb08(0x217)][_0x33cb08(0x1ae)]()});}),_0x130f95&&_0x1e178f['push']({'id':V['id'],'params':{'unitId':_0xdd015f,'subUnitId':_0x9d914,'sparklineConfigMap':_0x588af7}}),_0x51b204['push']({'id':V['id'],'params':{'unitId':_0xdd015f,'subUnitId':_0x9d914,'sparklineConfigMap':_0x3017a1}}),{'redos':_0x1e178f,'undos':_0x51b204,'preRedos':_0xda037c,'preUndos':_0x55eebb};}[_0x48ae7b(0x18a)](_0x1da904,_0x167938,_0x2322d0){const _0x2cb83c=_0x48ae7b;var _0x266be5,_0x4d6cf7;const {range:_0x2bfabb}=_0x1da904,_0x341a03=new Set(),_0x9dcc8d={},_0x16fe09={},_0x3f1f1a=[],_0x308ac4=[],_0x2e0b48=[],_0xa52aaf=[];if(!_0x547fba(this['_univerInstanceService'],{'unitId':_0x167938,'subUnitId':_0x2322d0}))return{'redos':_0x308ac4,'undos':_0x3f1f1a};const _0x9e386=this[_0x2cb83c(0x234)][_0x2cb83c(0x1f1)](_0x167938,_0x2322d0);if(!_0x9e386)return{'redos':_0x308ac4,'undos':_0x3f1f1a};if(!((_0x4d6cf7=(_0x266be5=this['_sparklineDataSourceModel'][_0x2cb83c(0x1a8)]()['sparklineAnchorMap'][_0x2cb83c(0x1b2)](_0x167938))==null?void 0x0:_0x266be5[_0x2cb83c(0x1b2)](_0x2322d0))==null?void 0x0:_0x4d6cf7[_0x2cb83c(0x216)]))return{'redos':_0x308ac4,'undos':_0x3f1f1a};for(const [_0x3c849b,_0x3c7269]of _0x9e386){const _0x116453=_0x3c7269[_0x2cb83c(0x217)];_0x116453[_0x2cb83c(0x1ad)]((_0x275401,_0x3d7446,_0x2f3027)=>{const _0x5d6790=_0x2cb83c;if(_0x4f262f[_0x5d6790(0x190)](_0x2bfabb,_0x2f3027)){_0x341a03[_0x5d6790(0x1f9)](_0x3c849b);let _0x2c571b=_0x16fe09[_0x3c849b];_0x2c571b||(_0x2c571b={'config':_0x3c7269[_0x5d6790(0x1c0)],'sparklines':_0x3c7269['sparklines'][_0x5d6790(0x1ae)]()},_0x16fe09[_0x3c849b]=_0x2c571b);let _0x47d8f6=_0x9dcc8d[_0x3c849b];_0x47d8f6||(_0x47d8f6={'config':_0x3c7269[_0x5d6790(0x1c0)],'sparklines':new _0x3daf50(_0x3c7269[_0x5d6790(0x217)][_0x5d6790(0x1ae)]())},_0x9dcc8d[_0x3c849b]=_0x47d8f6);const _0x2352e0=_0x37fe3b(_0x2f3027,{'id':_0x4e8a30['id'],'params':_0x1da904});_0x2352e0?_0x47d8f6['sparklines'][_0x5d6790(0x21d)](_0x275401,_0x3d7446,_0x2352e0):_0x47d8f6[_0x5d6790(0x217)][_0x5d6790(0x21d)](_0x275401,_0x3d7446,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056[_0x5d6790(0x1b7)]});}}),_0x116453['forValue']((_0x5b337c,_0x3e816d,_0x10d2b4)=>{const _0x24dc42=_0x2cb83c;if(_0x3e816d<=_0x2bfabb[_0x24dc42(0x1a5)]&&_0x3e816d>=_0x2bfabb['startColumn']){_0x341a03[_0x24dc42(0x1f9)](_0x3c849b);let _0xfa1931=_0x16fe09[_0x3c849b];_0xfa1931||(_0xfa1931={'config':_0x3c7269[_0x24dc42(0x1c0)],'sparklines':_0x3c7269[_0x24dc42(0x217)]['clone']()},_0x16fe09[_0x3c849b]=_0xfa1931);let _0x4493c7=_0x9dcc8d[_0x3c849b];_0x4493c7||(_0x4493c7={'config':_0x3c7269[_0x24dc42(0x1c0)],'sparklines':new _0x3daf50(_0x3c7269['sparklines'][_0x24dc42(0x1ae)]())},_0x9dcc8d[_0x3c849b]=_0x4493c7);}});}_0xa52aaf[_0x2cb83c(0x186)]({'id':y['id'],'params':{'unitId':_0x167938,'subUnitId':_0x2322d0,'groupIds':Array[_0x2cb83c(0x182)](_0x341a03),'isSingle':!0x1}}),_0x2e0b48[_0x2cb83c(0x186)]({'id':y['id'],'params':{'unitId':_0x167938,'subUnitId':_0x2322d0,'groupIds':Array['from'](_0x341a03),'isSingle':!0x1}});const _0x274d05={};let _0x50de81=!0x1;return Object[_0x2cb83c(0x202)](_0x9dcc8d)[_0x2cb83c(0x1fc)](([_0x1a7826,_0x1da394])=>{const _0x4ca731=_0x2cb83c;_0x1da394[_0x4ca731(0x217)][_0x4ca731(0x1aa)]()&&(_0x50de81=!0x0,_0x1da394[_0x4ca731(0x217)][_0x4ca731(0x1ce)](_0x2bfabb[_0x4ca731(0x1cc)],_0x2bfabb[_0x4ca731(0x1a5)]-_0x2bfabb[_0x4ca731(0x1cc)]+0x1),_0x274d05[_0x1a7826]={'config':_0x1da394[_0x4ca731(0x1c0)],'sparklines':_0x1da394[_0x4ca731(0x217)][_0x4ca731(0x1ae)]()});}),_0x50de81&&_0x308ac4[_0x2cb83c(0x186)]({'id':V['id'],'params':{'unitId':_0x167938,'subUnitId':_0x2322d0,'sparklineConfigMap':_0x274d05}}),_0x3f1f1a[_0x2cb83c(0x186)]({'id':V['id'],'params':{'unitId':_0x167938,'subUnitId':_0x2322d0,'sparklineConfigMap':_0x16fe09}}),{'redos':_0x308ac4,'undos':_0x3f1f1a,'preRedos':_0x2e0b48,'preUndos':_0xa52aaf};}[_0x48ae7b(0x1db)](){const _0x21dc4b=_0x48ae7b;this[_0x21dc4b(0x184)](this['_commandService'][_0x21dc4b(0x237)](_0x3c63fd=>{const _0x55d4e7=_0x21dc4b;if(_0x3c63fd['id']===_0x4e23bd['id']){const _0xc3140d=_0x3c63fd['params'],{unitId:_0x5875c8,subUnitId:_0x3cdbef,range:_0x10885c}=_0xc3140d,_0xc531=_0x10885c[_0x55d4e7(0x1cc)],_0x3dad21=_0x10885c[_0x55d4e7(0x1a5)]-_0x10885c[_0x55d4e7(0x1cc)]+0x1,_0x23bf24=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x5875c8,_0x3cdbef);if(!_0x23bf24)return;for(const [_0x36419e,_0x182050]of _0x23bf24){this['_sparklineDataSourceModel'][_0x55d4e7(0x19b)](_0x5875c8,_0x3cdbef,_0x36419e);const _0x54c229=_0x182050[_0x55d4e7(0x217)];_0x54c229[_0x55d4e7(0x1ad)]((_0xd09a4e,_0xaf8229,_0x11ed22)=>{const _0x70dba0=_0x55d4e7,_0x4db0dc={..._0x11ed22};_0xc531<=_0x4db0dc['startColumn']?(_0x4db0dc[_0x70dba0(0x1cc)]+=_0x3dad21,_0x4db0dc[_0x70dba0(0x1a5)]+=_0x3dad21):_0xc531>_0x4db0dc[_0x70dba0(0x1a5)]||(_0x4db0dc[_0x70dba0(0x1a5)]+=_0x3dad21),_0x54c229['setValue'](_0xd09a4e,_0xaf8229,_0x4db0dc);});const _0x1d24b9=_0x54c229[_0x55d4e7(0x1b1)]();for(const _0x2f6f86 in _0x1d24b9){const _0x378b75=_0x1d24b9[Number(_0x2f6f86)];if(!_0x378b75)continue;const _0x4ae1f1=Object['keys'](_0x378b75)[_0x55d4e7(0x17f)](Number),_0x85c26=Math[_0x55d4e7(0x232)](..._0x4ae1f1);for(let _0x5e921f=_0x85c26;_0x5e921f>=_0xc531;_0x5e921f--)_0x5e921f>=_0xc531&&_0x378b75[_0x5e921f]&&(_0x378b75[_0x5e921f+_0x3dad21]=_0x378b75[_0x5e921f],delete _0x378b75[_0x5e921f]);}this[_0x55d4e7(0x234)][_0x55d4e7(0x236)](_0x5875c8,_0x3cdbef,_0x36419e);}}else{if(_0x3c63fd['id']===_0x4137e4['id']){const _0x924f24=_0x3c63fd[_0x55d4e7(0x1a4)],{unitId:_0x3d4dc9,subUnitId:_0xf78d4a,range:_0x1557f0}=_0x924f24,_0x381577=_0x1557f0['startRow'],_0x974a9e=_0x1557f0[_0x55d4e7(0x1c7)]-_0x1557f0[_0x55d4e7(0x1d8)]+0x1,_0x2b1c02=this['_sparklineDataSourceModel'][_0x55d4e7(0x1f1)](_0x3d4dc9,_0xf78d4a);if(!_0x2b1c02)return;for(const [_0x56e179,_0x54e9a8]of _0x2b1c02){this[_0x55d4e7(0x234)][_0x55d4e7(0x19b)](_0x3d4dc9,_0xf78d4a,_0x56e179);const _0x2ea407=_0x54e9a8['sparklines'];_0x2ea407[_0x55d4e7(0x1ad)]((_0x3e545d,_0x481bd7,_0x5d5a15)=>{const _0x4d79f5=_0x55d4e7,_0x428eff={..._0x5d5a15};_0x381577<=_0x428eff[_0x4d79f5(0x1d8)]?(_0x428eff['startRow']+=_0x974a9e,_0x428eff[_0x4d79f5(0x1c7)]+=_0x974a9e):_0x381577>_0x428eff[_0x4d79f5(0x1c7)]||(_0x428eff[_0x4d79f5(0x1c7)]+=_0x974a9e),_0x2ea407['setValue'](_0x3e545d,_0x481bd7,_0x428eff);});const _0xd5018e=_0x2ea407[_0x55d4e7(0x1b1)](),_0x202d76=Object[_0x55d4e7(0x220)](_0xd5018e)['map'](Number),_0x559e47=Math['max'](..._0x202d76);for(let _0x3da5c1=_0x559e47;_0x3da5c1>=_0x381577;_0x3da5c1--)_0x3da5c1>=_0x381577&&_0xd5018e[_0x3da5c1]&&(_0xd5018e[_0x3da5c1+_0x974a9e]=_0xd5018e[_0x3da5c1],delete _0xd5018e[_0x3da5c1]);this['_sparklineDataSourceModel'][_0x55d4e7(0x236)](_0x3d4dc9,_0xf78d4a,_0x56e179);}}else{if(_0x3c63fd['id']===_0x4e8a30['id']){const _0x21378e=_0x3c63fd['params'],{range:_0xa84cf,unitId:_0x1de5cf,subUnitId:_0xaca292}=_0x21378e,_0x20c03b=this['_sparklineDataSourceModel'][_0x55d4e7(0x1f1)](_0x1de5cf,_0xaca292);if(!_0x20c03b)return;for(const [_0x4a3804,_0x26b908]of _0x20c03b){const _0x598dea=_0x26b908[_0x55d4e7(0x217)];_0x598dea[_0x55d4e7(0x1ad)]((_0x9fef8,_0x3459f5,_0xb44ee)=>{const _0x273411=_0x37fe3b(_0xb44ee,_0x3c63fd);_0x273411?_0x598dea['setValue'](_0x9fef8,_0x3459f5,_0x273411):_0x598dea['setValue'](_0x9fef8,_0x3459f5,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056['NORMAL']});}),_0x598dea['removeColumns'](_0xa84cf[_0x55d4e7(0x1cc)],_0xa84cf['endColumn']-_0xa84cf['startColumn']+0x1);}this[_0x55d4e7(0x234)][_0x55d4e7(0x221)](_0x1de5cf,_0xaca292);}else{if(_0x3c63fd['id']===_0x407bcf['id']){const _0x40a3ae=_0x3c63fd[_0x55d4e7(0x1a4)],{range:_0x44cdd6,unitId:_0x29438d,subUnitId:_0x73619c}=_0x40a3ae,_0x1d129e=this['_sparklineDataSourceModel'][_0x55d4e7(0x1f1)](_0x29438d,_0x73619c);if(!_0x1d129e)return;for(const [_0x225d1a,_0x272064]of _0x1d129e){const _0x2e4e1f=_0x272064[_0x55d4e7(0x217)];_0x2e4e1f[_0x55d4e7(0x1ad)]((_0x255415,_0x98a28a,_0x4fb2ef)=>{const _0x42b7a1=_0x55d4e7,_0x590e3f=_0x37fe3b(_0x4fb2ef,_0x3c63fd);_0x590e3f?_0x2e4e1f['setValue'](_0x255415,_0x98a28a,_0x590e3f):_0x2e4e1f[_0x42b7a1(0x21d)](_0x255415,_0x98a28a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056[_0x42b7a1(0x1b7)]});}),_0x2e4e1f['removeRows'](_0x44cdd6[_0x55d4e7(0x1d8)],_0x44cdd6['endRow']-_0x44cdd6[_0x55d4e7(0x1d8)]+0x1);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x29438d,_0x73619c);}else{if(_0x3c63fd['id']===_0x7fcd36['id']){const _0x2a0ed1=_0x3c63fd[_0x55d4e7(0x1a4)],{unitId:_0x287414,subUnitId:_0x10edac,sourceRange:_0x44591a,targetRange:_0x487cc2}=_0x2a0ed1,_0x106ddc=this[_0x55d4e7(0x234)][_0x55d4e7(0x1f1)](_0x287414,_0x10edac);if(!_0x106ddc)return;for(const [_0x2837a9,_0x19764e]of _0x106ddc){const _0x1a5272=_0x19764e['sparklines'];_0x1a5272[_0x55d4e7(0x1ad)]((_0x421b1b,_0x3c7247,_0x25e441)=>{const _0x206ee0=_0x55d4e7,_0x508043=_0x37fe3b(_0x25e441,_0x3c63fd);_0x508043?_0x1a5272[_0x206ee0(0x21d)](_0x421b1b,_0x3c7247,_0x508043):_0x1a5272[_0x206ee0(0x21d)](_0x421b1b,_0x3c7247,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056[_0x206ee0(0x1b7)]});}),_0x1a5272[_0x55d4e7(0x19c)](_0x44591a[_0x55d4e7(0x1cc)],_0x44591a[_0x55d4e7(0x1a5)]-_0x44591a[_0x55d4e7(0x1cc)]+0x1,_0x487cc2[_0x55d4e7(0x1cc)]);}this[_0x55d4e7(0x234)][_0x55d4e7(0x221)](_0x287414,_0x10edac);}else{if(_0x3c63fd['id']===_0x2a10a1['id']){const _0x1d3a89=_0x3c63fd[_0x55d4e7(0x1a4)],{unitId:_0x3df06e,subUnitId:_0x55b837,sourceRange:_0x3e8f5f,targetRange:_0x258ee2}=_0x1d3a89,_0x5c5179=this[_0x55d4e7(0x234)]['getSubUnitSparkline'](_0x3df06e,_0x55b837);if(!_0x5c5179)return;for(const [_0x4d04e2,_0x38f598]of _0x5c5179){const _0xa096cd=_0x38f598[_0x55d4e7(0x217)];_0xa096cd[_0x55d4e7(0x1ad)]((_0x479a58,_0x242f87,_0x3d55c0)=>{const _0x35fdb6=_0x55d4e7,_0x5da2fc=_0x37fe3b(_0x3d55c0,_0x3c63fd);_0x5da2fc?_0xa096cd[_0x35fdb6(0x21d)](_0x479a58,_0x242f87,_0x5da2fc):_0xa096cd[_0x35fdb6(0x21d)](_0x479a58,_0x242f87,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3da056[_0x35fdb6(0x1b7)]});}),_0xa096cd[_0x55d4e7(0x22c)](_0x3e8f5f[_0x55d4e7(0x1d8)],_0x3e8f5f[_0x55d4e7(0x1c7)]-_0x3e8f5f[_0x55d4e7(0x1d8)]+0x1,_0x258ee2[_0x55d4e7(0x1d8)]);}this['_sparklineDataSourceModel'][_0x55d4e7(0x221)](_0x3df06e,_0x55b837);}else{if(_0x3c63fd['id']===_0x4c2b73['id']){const _0x200887=_0x3c63fd['params'],{fromRange:_0x3e0739,toRange:_0x3a8b2c,unitId:_0x59d0b7,from:_0x468e3e,to:_0x3cab31}=_0x200887;if(_0x468e3e[_0x55d4e7(0x1f4)]!==_0x3cab31[_0x55d4e7(0x1f4)])return;const _0x7b106e=_0x468e3e[_0x55d4e7(0x1f4)],{startRow:_0x1a2148,endRow:_0x5bc2dc,startColumn:_0x2fdc90,endColumn:_0xb51a8d}=_0x3e0739,{startRow:_0x5eb31e,startColumn:_0x4ed99b}=_0x3a8b2c,_0x2fac7c=_0x5eb31e-_0x1a2148,_0x27b5ca=_0x4ed99b-_0x2fdc90,_0x1e5da8=this['_sparklineDataSourceModel'][_0x55d4e7(0x1f1)](_0x59d0b7,_0x7b106e);if(!(_0x1e5da8!=null&&_0x1e5da8[_0x55d4e7(0x1b5)]))return;for(let _0x12a1f4=_0x1a2148;_0x12a1f4<=_0x5bc2dc;_0x12a1f4++)for(let _0x6da7fa=_0x2fdc90;_0x6da7fa<=_0xb51a8d;_0x6da7fa++){const _0x116616=this['_sparklineDataSourceModel'][_0x55d4e7(0x1e7)](_0x59d0b7,_0x7b106e,_0x12a1f4,_0x6da7fa);if(_0x116616){const _0x195e72=this['_sparklineDataSourceModel'][_0x55d4e7(0x1df)](_0x59d0b7,_0x7b106e,_0x116616);if(_0x195e72){const _0x552854=_0x195e72[_0x55d4e7(0x217)]['getValue'](_0x12a1f4,_0x6da7fa);_0x552854&&(_0x195e72[_0x55d4e7(0x217)][_0x55d4e7(0x21d)](_0x12a1f4+_0x2fac7c,_0x6da7fa+_0x27b5ca,_0x552854),_0x195e72[_0x55d4e7(0x217)][_0x55d4e7(0x1c8)](_0x12a1f4,_0x6da7fa));}}}for(const [_0x4019a3,_0x339466]of _0x1e5da8){const _0x384a33=_0x339466[_0x55d4e7(0x217)];_0x384a33['forValue']((_0x475745,_0x28732e,_0xd390d2)=>{const _0x2f54b0=_0x55d4e7,_0x5e9b6b={..._0xd390d2};_0x4f262f[_0x2f54b0(0x1ca)](_0x3e0739,_0xd390d2)&&(_0x5e9b6b[_0x2f54b0(0x1d8)]+=_0x2fac7c,_0x5e9b6b['endRow']+=_0x2fac7c,_0x5e9b6b[_0x2f54b0(0x1cc)]+=_0x27b5ca,_0x5e9b6b[_0x2f54b0(0x1a5)]+=_0x27b5ca),_0x384a33[_0x2f54b0(0x21d)](_0x475745,_0x28732e,_0x5e9b6b);});}this[_0x55d4e7(0x234)][_0x55d4e7(0x221)](_0x59d0b7,_0x7b106e);}}}}}}}}));}};Me=Kt([ue(0x0,_0x585b12(_0x4e32ad)),ue(0x1,_0x585b12(_0x41b0aa)),ue(0x2,_0x585b12(_0x4c1ff1)),ue(0x3,_0x5df516),ue(0x4,_0x585b12(x))],Me);var Xt=Object[_0x48ae7b(0x195)],zt=(_0xd1127d,_0x196450,_0xf1cfba,_0x439e99)=>{const _0x4998c9=_0x48ae7b;for(var _0x15d628=_0x439e99>0x1?void 0x0:_0x439e99?Xt(_0x196450,_0xf1cfba):_0x196450,_0x25af2c=_0xd1127d[_0x4998c9(0x19a)]-0x1,_0x18dfec;_0x25af2c>=0x0;_0x25af2c--)(_0x18dfec=_0xd1127d[_0x25af2c])&&(_0x15d628=_0x18dfec(_0x15d628)||_0x15d628);return _0x15d628;},Be=(_0xda7a08,_0x13d018)=>(_0x3d40f1,_0x290c1f)=>_0x13d018(_0x3d40f1,_0x290c1f,_0xda7a08);let Re=class extends _0x2eaa73{constructor(_0xc8827b,_0x4401c3){const _0x74a5a8=_0x48ae7b;super(),this[_0x74a5a8(0x1b6)]=_0xc8827b,this[_0x74a5a8(0x234)]=_0x4401c3,this[_0x74a5a8(0x1d5)]();}[_0x48ae7b(0x1d5)](){const _0x527c29=_0x48ae7b,_0x49b061=_0x5de3c9=>{const _0x214c75=_0x302d,_0x936a8=this[_0x214c75(0x234)][_0x214c75(0x1e4)](_0x5de3c9);return _0x936a8?JSON['stringify'](_0x936a8):'';},_0x58507e=_0x2ad57f=>_0x2ad57f?JSON[_0x527c29(0x200)](_0x2ad57f):{};this[_0x527c29(0x184)](this[_0x527c29(0x1b6)][_0x527c29(0x1d3)]({'toJson':_0x49b061,'parseJson':_0x58507e,'pluginName':Ke,'businesses':[_0x31a2c3['UNIVER_SHEET']],'onLoad':(_0x2099e3,_0x545216)=>{this['_sparklineDataSourceModel']['fromJSON'](_0x545216);},'onUnLoad':_0x35764f=>{const _0x4ac233=_0x527c29;this[_0x4ac233(0x234)][_0x4ac233(0x1a0)](_0x35764f);}}));}};Re=zt([Be(0x0,_0x585b12(_0x2f6f71)),Be(0x1,_0x585b12(x))],Re);var Jt=Object[_0x48ae7b(0x219)],Zt=Object[_0x48ae7b(0x195)],Yt=(_0x3dd30e,_0x39eab8,_0x111490)=>_0x39eab8 in _0x3dd30e?Jt(_0x3dd30e,_0x39eab8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x111490}):_0x3dd30e[_0x39eab8]=_0x111490,qt=(_0x22a305,_0x597e38,_0x1df9d8,_0x2ae574)=>{const _0x4e2365=_0x48ae7b;for(var _0x42841c=_0x2ae574>0x1?void 0x0:_0x2ae574?Zt(_0x597e38,_0x1df9d8):_0x597e38,_0x1863d6=_0x22a305[_0x4e2365(0x19a)]-0x1,_0x595c9f;_0x1863d6>=0x0;_0x1863d6--)(_0x595c9f=_0x22a305[_0x1863d6])&&(_0x42841c=_0x595c9f(_0x42841c)||_0x42841c);return _0x42841c;},He=(_0x49f3a3,_0x4c1bfc)=>(_0x444d76,_0x589a28)=>_0x4c1bfc(_0x444d76,_0x589a28,_0x49f3a3),ze=(_0xe9b2dd,_0x51d0a4,_0x40721f)=>Yt(_0xe9b2dd,typeof _0x51d0a4!=_0x48ae7b(0x19e)?_0x51d0a4+'':_0x51d0a4,_0x40721f);function _0x3d47(){const _0x4bb8b5=['STRING','PIE_CHART','getSubUnitSparkline','fromJSON','item','subUnitId','pushUndoRedo','containHiddenCells','addSparkline','ranges','add','getValue','registerRefRange','forEach','every','getCurrentUnitForType','_config','parse','_getRefRangeMutationsByDeleteRows','entries','disposableCollection','u-spacing','sheet.command.remove-sparkline','lastPoint','CUSTOM_EXTREMUM','_exclusiveRangeService','3900144FiZZZX','soft','LINE_CHART','CUSTOM','DISTINCTIVE','MUTATION','actualRow','markersPoint','next','range','foreach','_initRegisterCommand','unitId','matrix','sparklines','_initDataChangeListener','defineProperty','_initClearWithSparkline','removeRows','sheet.mutation.remove-sparkline','setValue','NUMBER','sparklineModel','keys','reBuildAnchorCache','_sparklineModel','u-connect','rgb(236,100,169)','sheet.command.set-sparkline','328dcnCOU','highPoint','SHEET_SPARKLINE_PLUGIN','exclusiveRangesChange$','306906ZSSWcP','getCell','moveRows','has','MAX_SAFE_INTEGER','removePartSparkline','_commandService','FORCE_STRING','max','COMMAND','_sparklineDataSourceModel','_ensureConfigMap','updateSparklineExtraNum','onCommandExecuted','seriesColor','number','assign','negativePoint','STANDARD','map','FRESH','extremumMax','from','lowPoint','disposeWithMe','specialty','push','rgb(46,187,122)','column','interceptCommand','_getRefRangeMutationsByDeleteCols','deepClone','values','_updateConfig$','1310232IsJIHs','4872468UfnFTM','intersects','CONNECT_WITH_LINE','_initDependencies','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','_ensureAnchorMatrix','getOwnPropertyDescriptor','rgb(252,117,60)','refRangeHandle','ZERO_VALUE','row','length','clearSparklineCache','moveColumns','dispose','symbol','type','deleteUnit','getCellRaw','6646213eNkUZx','remove','params','endColumn','setSparkline','setAlpha','getSparklineCache','sheet.command.add-sparkline','getSizeOf','registerCommand','_refRangeService','forValue','clone','subscribe','_initExclusiveRangeChange','getMatrix','get','BAR_CHART','min','size','_resourceManagerService','NORMAL','standard','_sheetSelectionService','delete','_initMergeWithSparkline','toRgbString','rgb(124,66,147)','_sheetInterceptorService','getRowVisible','config','getCurrentSelections','fresh','sheet.mutation.add-sparkline','10VZAqeh','groupId','sheet.mutation.set-sparkline','endRow','realDeleteValue','extremumMin','contains','sparklineAnchorMap','startColumn','asObservable','removeColumns','UNIVER_SHEET','SPACING','set','removeSparkline','registerPluginResource','1826915OJtBjk','_initSnapshot','_univerInstanceService','themeType','startRow','firstPoint','some','_initCorrectRangeWithSparkline','MIN_SAFE_INTEGER','_sparklineAnchorMap','emptyShowAs','getSparklineById','PROFIT_AND_LOSS_CHART','connect_with_line','rgb(54,78,244)','_onRefRangeChange','toJSON','value','pluginName','getSparkline','GROUP_EXTREMUM','_initCopySheetWithSparkline','actualColumn','nonNumShowAs','103140zYuvEd','_injector','rgb(244,104,249)'];_0x3d47=function(){return _0x4bb8b5;};return _0x3d47();}let ve=class extends _0x212e63{constructor(_0x1c32fb={},_0x456eff,_0xfb733c){const _0x378bd7=_0x48ae7b;super(),this[_0x378bd7(0x1ff)]=_0x1c32fb,this['_injector']=_0x456eff,this[_0x378bd7(0x230)]=_0xfb733c,this[_0x378bd7(0x192)](),this[_0x378bd7(0x214)]();}[_0x48ae7b(0x192)](){const _0x34a624=_0x48ae7b;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x34a624(0x1fc)](_0x2b4170=>{const _0x436fed=_0x34a624;this['_injector'][_0x436fed(0x1f9)](_0x2b4170);}),_0x5bed2f(this[_0x34a624(0x1ed)],[[Re]]);}['onReady'](){const _0x4dbc48=_0x48ae7b;_0x5bed2f(this[_0x4dbc48(0x1ed)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x48ae7b(0x214)](){const _0x4ab89a=_0x48ae7b;[Nt,V,Ot,y,xt,Oe][_0x4ab89a(0x1fc)](_0x429234=>this[_0x4ab89a(0x230)][_0x4ab89a(0x1ab)](_0x429234));}};ze(ve,_0x48ae7b(0x1e6),Ke),ze(ve,'type',_0x31a2c3[_0x48ae7b(0x1cf)]),ve=qt([_0x5298c8(_0x5becbf),He(0x1,_0x585b12(_0x46ecab)),He(0x2,_0x585b12(_0x4e32ad))],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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1093(_0x249cb1,_0x1d5e67){const _0x11472c=_0x1147();return _0x1093=function(_0x109336,_0x1515fd){_0x109336=_0x109336-0xfb;let _0x581d59=_0x11472c[_0x109336];return _0x581d59;},_0x1093(_0x249cb1,_0x1d5e67);}(function(_0x166947,_0x421506){const _0x4c6a38=_0x1093,_0x212b5b=_0x166947();while(!![]){try{const _0x574c88=-parseInt(_0x4c6a38(0x11e))/0x1+-parseInt(_0x4c6a38(0x149))/0x2*(-parseInt(_0x4c6a38(0x115))/0x3)+parseInt(_0x4c6a38(0x141))/0x4+parseInt(_0x4c6a38(0x109))/0x5+parseInt(_0x4c6a38(0x101))/0x6+-parseInt(_0x4c6a38(0x126))/0x7+-parseInt(_0x4c6a38(0x121))/0x8*(parseInt(_0x4c6a38(0x112))/0x9);if(_0x574c88===_0x421506)break;else _0x212b5b['push'](_0x212b5b['shift']());}catch(_0x2fb3a2){_0x212b5b['push'](_0x212b5b['shift']());}}}(_0x1147,0xb85d6),function(_0x58addf,_0x117c04){const _0xb6b9d=_0x1093;typeof exports==_0xb6b9d(0x100)&&typeof module<'u'?_0x117c04(exports,require('@univerjs-pro/sheets-sparkline'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/sheets')):typeof define==_0xb6b9d(0x135)&&define[_0xb6b9d(0x13f)]?define(['exports',_0xb6b9d(0x10d),'@univerjs/core',_0xb6b9d(0x10b),_0xb6b9d(0x11c),_0xb6b9d(0x123)],_0x117c04):(_0x58addf=typeof globalThis<'u'?globalThis:_0x58addf||self,_0x117c04(_0x58addf[_0xb6b9d(0x140)]={},_0x58addf['UniverProSheetsSparkline'],_0x58addf[_0xb6b9d(0x14d)],_0x58addf[_0xb6b9d(0x13c)],_0x58addf[_0xb6b9d(0x154)],_0x58addf[_0xb6b9d(0x120)]));}(this,function(_0x1a6849,_0x48d75c,_0x4df0a4,_0x441968,_0xb2600b,_0x5168a0){'use strict';const _0x48b44f=_0x1093;var _0x2ca992=Object[_0x48b44f(0x10f)],_0x4c0198=(_0x4024df,_0x9e6761,_0x48f40d,_0x3fc1a4)=>{for(var _0x11c72b=_0x3fc1a4>0x1?void 0x0:_0x3fc1a4?_0x2ca992(_0x9e6761,_0x48f40d):_0x9e6761,_0x343430=_0x4024df['length']-0x1,_0x4255df;_0x343430>=0x0;_0x343430--)(_0x4255df=_0x4024df[_0x343430])&&(_0x11c72b=_0x4255df(_0x11c72b)||_0x11c72b);return _0x11c72b;},_0xe0a74b=(_0x2e2ff1,_0x3a896b)=>(_0x12f6e1,_0x5d56e8)=>_0x3a896b(_0x12f6e1,_0x5d56e8,_0x2e2ff1);_0x1a6849[_0x48b44f(0x13e)]=class{constructor(_0x569a16,_0x4a501f,_0x29df00,_0x58ef0a,_0x1170d1,_0x39e3bd){const _0x5a86e5=_0x48b44f;this[_0x5a86e5(0x14c)]=_0x569a16,this[_0x5a86e5(0x129)]=_0x4a501f,this[_0x5a86e5(0x139)]=_0x29df00,this[_0x5a86e5(0x134)]=_0x58ef0a,this[_0x5a86e5(0x136)]=_0x1170d1,this[_0x5a86e5(0x104)]=_0x39e3bd;}[_0x48b44f(0x105)](_0x1373d0,_0xf90932){const _0x566356=_0x48b44f,_0x2f880b=this[_0x566356(0x104)][_0x566356(0x12b)](_0x48d75c[_0x566356(0x108)]),_0x516dea=this[_0x566356(0x104)][_0x566356(0x12b)](_0x4df0a4[_0x566356(0x156)]),_0x174920=_0x2f880b[_0x566356(0x146)](this[_0x566356(0x14c)],this[_0x566356(0x129)],this['_groupId']);if(!_0x174920)return;const _0x49b091={'config':_0x174920,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x566356(0x139)],'resetType':_0x566356(0x12e),'sourceRanges':[_0x1373d0],'targetRanges':[_0xf90932],'primary':{'startRow':this[_0x566356(0x134)],'startColumn':this[_0x566356(0x136)],'endRow':this[_0x566356(0x134)],'endColumn':this[_0x566356(0x136)],'actualRow':this[_0x566356(0x134)],'actualColumn':this[_0x566356(0x136)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x516dea[_0x566356(0x110)](_0x48d75c['SetSheetSparklineCommand']['id'],_0x49b091),this[_0x566356(0x134)]=_0xf90932[_0x566356(0x10c)],this[_0x566356(0x136)]=_0xf90932['startColumn'],this;}['removeSparkline'](){const _0x4d2bd2=_0x48b44f,_0x48b9bc=this[_0x4d2bd2(0x104)][_0x4d2bd2(0x12b)](_0x4df0a4[_0x4d2bd2(0x156)]),_0x4ff090={'isSingle':!0x0,'ranges':[{'startRow':this[_0x4d2bd2(0x134)],'startColumn':this[_0x4d2bd2(0x136)],'endRow':this[_0x4d2bd2(0x134)],'endColumn':this['_col']}]};_0x48b9bc[_0x4d2bd2(0x110)](_0x48d75c['RemoveSheetSparklineCommand']['id'],_0x4ff090);}},_0x1a6849[_0x48b44f(0x13e)]=_0x4c0198([_0xe0a74b(0x5,_0x4df0a4[_0x48b44f(0x14a)](_0x4df0a4['Injector']))],_0x1a6849[_0x48b44f(0x13e)]);var _0x16f5cc=Object[_0x48b44f(0x10f)],_0x390f9d=(_0x1d7f3a,_0x3fb4ae,_0x5a8e93,_0x1abd39)=>{const _0x4eeb91=_0x48b44f;for(var _0x505619=_0x1abd39>0x1?void 0x0:_0x1abd39?_0x16f5cc(_0x3fb4ae,_0x5a8e93):_0x3fb4ae,_0x26883a=_0x1d7f3a[_0x4eeb91(0x12a)]-0x1,_0x353e3d;_0x26883a>=0x0;_0x26883a--)(_0x353e3d=_0x1d7f3a[_0x26883a])&&(_0x505619=_0x353e3d(_0x505619)||_0x505619);return _0x505619;},_0x3963be=(_0x2e668f,_0x5149a9)=>(_0x500c4e,_0x121754)=>_0x5149a9(_0x500c4e,_0x121754,_0x2e668f);_0x1a6849['FSparklineGroup']=class{constructor(_0x5c39cf,_0x2073c1,_0x58bf51,_0x2618bf,_0xbedddd,_0x2f1446){const _0x4315a6=_0x48b44f;this[_0x4315a6(0x14c)]=_0x5c39cf,this[_0x4315a6(0x129)]=_0x2073c1,this[_0x4315a6(0x139)]=_0x58bf51,this[_0x4315a6(0x134)]=_0x2618bf,this['_col']=_0xbedddd,this[_0x4315a6(0x104)]=_0x2f1446;}[_0x48b44f(0x105)](_0x45bca6,_0x102ca1){const _0x1b10a7=_0x48b44f,_0x3f8707=this[_0x1b10a7(0x104)][_0x1b10a7(0x12b)](_0x48d75c[_0x1b10a7(0x108)]),_0x4678b0=this['_injector'][_0x1b10a7(0x12b)](_0x4df0a4[_0x1b10a7(0x156)]),_0x5c5883=_0x3f8707['getSparklineById'](this['_unitId'],this[_0x1b10a7(0x129)],this[_0x1b10a7(0x139)]);if(!_0x5c5883)return;const _0x58c84e={'config':_0x5c5883,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x1b10a7(0x139)],'resetType':_0x1b10a7(0x14e),'sourceRanges':_0x45bca6,'targetRanges':_0x102ca1,'primary':{'startRow':this[_0x1b10a7(0x134)],'startColumn':this[_0x1b10a7(0x136)],'endRow':this[_0x1b10a7(0x134)],'endColumn':this[_0x1b10a7(0x136)],'actualRow':this[_0x1b10a7(0x134)],'actualColumn':this[_0x1b10a7(0x136)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x4678b0['syncExecuteCommand'](_0x48d75c[_0x1b10a7(0xff)]['id'],_0x58c84e),this[_0x1b10a7(0x134)]=_0x102ca1[0x0]['startRow'],this['_col']=_0x102ca1[0x0]['startColumn'],this;}[_0x48b44f(0xfc)](){const _0x439440=_0x48b44f,_0x322d1d=this[_0x439440(0x104)][_0x439440(0x12b)](_0x4df0a4[_0x439440(0x156)]),_0x3a8a5c={'isSingle':!0x1,'ranges':[{'startRow':this[_0x439440(0x134)],'startColumn':this['_col'],'endRow':this['_row'],'endColumn':this[_0x439440(0x136)]}]};_0x322d1d[_0x439440(0x110)](_0x48d75c[_0x439440(0x151)]['id'],_0x3a8a5c);}[_0x48b44f(0x12f)](_0x8506be){const _0x1f18da=_0x48b44f,_0x42fc8a=this['_injector'][_0x1f18da(0x12b)](_0x48d75c[_0x1f18da(0x108)])[_0x1f18da(0x146)](this[_0x1f18da(0x14c)],this[_0x1f18da(0x129)],this[_0x1f18da(0x139)]);if(_0x42fc8a){const _0x5928c6={'config':{'config':_0x8506be,'sparklines':_0x42fc8a[_0x1f18da(0x12d)]},'isChangeDataSource':!0x1};this[_0x1f18da(0x104)][_0x1f18da(0x12b)](_0x4df0a4[_0x1f18da(0x156)])[_0x1f18da(0x110)](_0x48d75c['SetSheetSparklineCommand']['id'],_0x5928c6);}return this;}},_0x1a6849[_0x48b44f(0x11d)]=_0x390f9d([_0x3963be(0x5,_0x4df0a4[_0x48b44f(0x14a)](_0x4df0a4[_0x48b44f(0x148)]))],_0x1a6849[_0x48b44f(0x11d)]);class _0x26265b extends _0x441968['FWorksheet']{[_0x48b44f(0x11a)](_0x277622,_0x5d68aa,_0x4a8f4f){const _0xc44c76=_0x48b44f;if(this['_commandService']['syncExecuteCommand'](_0x48d75c['AddSheetSparklineCommand']['id'],{'sourceRanges':_0x277622,'targetRanges':_0x5d68aa,'targetInfo':{'unitId':this['_workbook'][_0xc44c76(0x128)](),'subUnitId':this[_0xc44c76(0x118)][_0xc44c76(0x113)]()},'config':{'type':_0x4a8f4f}})){const {startRow:_0x2c2a68,startColumn:_0x501d2e}=_0x5d68aa[0x0];return this[_0xc44c76(0x14f)](_0x2c2a68,_0x501d2e);}}[_0x48b44f(0x117)](){const _0x1d817a=_0x48b44f;return this[_0x1d817a(0x104)][_0x1d817a(0x12b)](_0x48d75c['SparklineDataSourceModel'])['getSubUnitSparkline'](this[_0x1d817a(0x150)][_0x1d817a(0x128)](),this[_0x1d817a(0x118)][_0x1d817a(0x113)]());}[_0x48b44f(0x13d)](_0x2c5c88){const _0x5dea23=_0x48b44f,_0xdb7c68=this[_0x5dea23(0x104)][_0x5dea23(0x12b)](_0x48d75c['SparklineDataSourceModel']);let _0x597edd;for(let _0x10b7e2=0x0;_0x10b7e2<_0x2c5c88[_0x5dea23(0x12a)];_0x10b7e2++){const _0x5c4802=_0x2c5c88[_0x10b7e2],{startRow:_0x3f4625,endRow:_0x3fb26e,startColumn:_0x3410d7,endColumn:_0x107b02}=_0x5c4802;for(let _0x1323b0=_0x3f4625;_0x1323b0<=_0x3fb26e;_0x1323b0++)for(let _0x4b859c=_0x3410d7;_0x4b859c<=_0x107b02;_0x4b859c++){const _0x28fbcb=_0xdb7c68['getSparkline'](this[_0x5dea23(0x150)]['getUnitId'](),this['_worksheet'][_0x5dea23(0x113)](),_0x1323b0,_0x4b859c);if(_0x28fbcb){const _0x44f7b0=_0xdb7c68['getSparklineById'](this[_0x5dea23(0x150)][_0x5dea23(0x128)](),this[_0x5dea23(0x118)]['getSheetId'](),_0x28fbcb);if(_0x44f7b0){_0x597edd=_0x4df0a4[_0x5dea23(0x127)][_0x5dea23(0x107)](_0x44f7b0);break;}}}}_0x597edd&&this[_0x5dea23(0x153)][_0x5dea23(0x106)](_0x48d75c[_0x5dea23(0xff)]['id'],{'ranges':_0x2c5c88,'combine':!0x0,'config':_0x597edd,'isChangeDataSource':!0x1});}[_0x48b44f(0x103)](_0x2c65d8){const _0x56fc01=_0x48b44f,_0x1ec9a2=this['_injector'][_0x56fc01(0x12b)](_0x48d75c[_0x56fc01(0x108)]);let _0xb42a5a;for(let _0x379e3c=0x0;_0x379e3c<_0x2c65d8[_0x56fc01(0x12a)];_0x379e3c++){const _0x1ce041=_0x2c65d8[_0x379e3c],{startRow:_0x250dcf,endRow:_0x2e4690,startColumn:_0x179e99,endColumn:_0x545ccc}=_0x1ce041;for(let _0x3eb732=_0x250dcf;_0x3eb732<=_0x2e4690;_0x3eb732++)for(let _0x3281ec=_0x179e99;_0x3281ec<=_0x545ccc;_0x3281ec++){const _0x57f1f1=_0x1ec9a2[_0x56fc01(0x14b)](this[_0x56fc01(0x150)][_0x56fc01(0x128)](),this[_0x56fc01(0x118)][_0x56fc01(0x113)](),_0x3eb732,_0x3281ec);if(_0x57f1f1){const _0x9648e6=_0x1ec9a2[_0x56fc01(0x146)](this[_0x56fc01(0x150)]['getUnitId'](),this['_worksheet']['getSheetId'](),_0x57f1f1);if(_0x9648e6){_0xb42a5a=_0x4df0a4[_0x56fc01(0x127)][_0x56fc01(0x107)](_0x9648e6);break;}}}}_0xb42a5a||this[_0x56fc01(0x153)]['executeCommand'](_0x48d75c[_0x56fc01(0xff)]['id'],{'ranges':_0x2c65d8,'unCombine':!0x0,'config':_0xb42a5a,'isChangeDataSource':!0x1});}[_0x48b44f(0x14f)](_0x36a400,_0x391023){const _0x309e23=_0x48b44f,_0x13c82e=this[_0x309e23(0x104)][_0x309e23(0x12b)](_0x48d75c[_0x309e23(0x108)]),_0x742b8d=this[_0x309e23(0x150)][_0x309e23(0x128)](),_0x31cbec=this[_0x309e23(0x118)][_0x309e23(0x113)](),_0x41129a=_0x13c82e[_0x309e23(0x14b)](_0x742b8d,_0x31cbec,_0x36a400,_0x391023);if(_0x41129a)return this['_injector']['createInstance'](_0x1a6849['FSparkline'],_0x742b8d,_0x31cbec,_0x41129a,_0x36a400,_0x391023);}[_0x48b44f(0x143)](_0x12da1e,_0xc1cc2e){const _0x249ea9=_0x48b44f,_0x5bf2d4=this[_0x249ea9(0x104)]['get'](_0x48d75c[_0x249ea9(0x108)]),_0x362e81=this[_0x249ea9(0x150)][_0x249ea9(0x128)](),_0x1098ba=this['_worksheet']['getSheetId'](),_0x4ef0eb=_0x5bf2d4['getSparkline'](_0x362e81,_0x1098ba,_0x12da1e,_0xc1cc2e);if(_0x4ef0eb)return this[_0x249ea9(0x104)][_0x249ea9(0x147)](_0x1a6849[_0x249ea9(0x11d)],_0x362e81,_0x1098ba,_0x4ef0eb,_0x12da1e,_0xc1cc2e);}}_0x441968[_0x48b44f(0x10e)][_0x48b44f(0x125)](_0x26265b);class _0xc2a2ba extends _0xb2600b[_0x48b44f(0x13b)]{get[_0x48b44f(0x12c)](){const _0x165ba1=_0x48b44f;return _0x48d75c[_0x165ba1(0x12c)];}}_0xb2600b[_0x48b44f(0x13b)][_0x48b44f(0x125)](_0xc2a2ba);class _0x3c7977 extends _0xb2600b['FEventName']{get[_0x48b44f(0x130)](){const _0x4e6b27=_0x48b44f;return _0x4e6b27(0x130);}}_0xb2600b[_0x48b44f(0x114)][_0x48b44f(0x125)](_0x3c7977);class _0x2edacc extends _0xb2600b[_0x48b44f(0xfd)]{[_0x48b44f(0x131)](_0x54089a){const _0x2ff461=_0x48b44f,_0x141343=_0x54089a[_0x2ff461(0x12b)](_0x4df0a4[_0x2ff461(0x156)]);this[_0x2ff461(0x13a)](this[_0x2ff461(0x122)][_0x2ff461(0x130)],()=>_0x141343['onCommandExecuted'](_0x32567d=>{const _0x998c3c=_0x2ff461;var _0x457ebc,_0x3330d3;if(_0x32567d['id']===_0x48d75c[_0x998c3c(0xff)]['id']){const _0x178171=_0x32567d['params'];if(!_0x178171[_0x998c3c(0x10a)]){const _0x892e87=this[_0x998c3c(0x138)](),_0x109c1d=_0x892e87==null?void 0x0:_0x892e87[_0x998c3c(0x102)]();if(!_0x892e87||!_0x109c1d)return;const _0x3f2cc=_0x892e87['getId'](),_0x5cb934=_0x109c1d[_0x998c3c(0x113)](),_0x1de156=this[_0x998c3c(0x104)][_0x998c3c(0x12b)](_0x5168a0[_0x998c3c(0x133)]),_0x1c3efd=this[_0x998c3c(0x104)]['get'](_0x48d75c[_0x998c3c(0x108)]),_0x4b96f0=(_0x457ebc=_0x178171==null?void 0x0:_0x178171[_0x998c3c(0x11b)])!=null?_0x457ebc:_0x1de156[_0x998c3c(0x137)]()['map'](_0x3d78cc=>_0x3d78cc[_0x998c3c(0xfe)]),_0x4ea708=(_0x3330d3=_0x1c3efd['getSparklineCache']()[_0x998c3c(0xfb)][_0x998c3c(0x12b)](_0x3f2cc))==null?void 0x0:_0x3330d3['get'](_0x5cb934),_0x55e98e=new Set();_0x4b96f0[_0x998c3c(0x152)](_0x3c3b9a=>{const _0xc8e6b6=_0x998c3c;var _0x596a89;const {startRow:_0xe543a1,endRow:_0xc101f6,startColumn:_0x45c2d7,endColumn:_0x1dc667}=_0x3c3b9a;for(let _0x29fec9=_0xe543a1;_0x29fec9<=_0xc101f6;_0x29fec9++)for(let _0x176a89=_0x45c2d7;_0x176a89<=_0x1dc667;_0x176a89++){const _0xd0490e=(_0x596a89=_0x4ea708==null?void 0x0:_0x4ea708[_0xc8e6b6(0x145)][_0xc8e6b6(0x11f)](_0x29fec9,_0x176a89))==null?void 0x0:_0x596a89['groupId'];_0xd0490e&&_0x55e98e['add'](_0xd0490e);}});const _0x511609=Array[_0x998c3c(0x132)](_0x55e98e)[_0x998c3c(0x119)](_0x3c3481=>_0x1c3efd[_0x998c3c(0x146)](_0x3f2cc,_0x5cb934,_0x3c3481))[_0x998c3c(0x155)](_0x20595e=>!!_0x20595e),_0x434e78={'workbook':_0x892e87,'worksheet':_0x109c1d,'sparklines':_0x511609};if(this[_0x998c3c(0x124)](this[_0x998c3c(0x122)][_0x998c3c(0x130)],_0x434e78),_0x434e78[_0x998c3c(0x116)])throw new Error(_0x998c3c(0x111));}}}));}}_0xb2600b[_0x48b44f(0xfd)]['extend'](_0x2edacc),Object[_0x48b44f(0x157)](_0x1a6849,Symbol[_0x48b44f(0x142)],{'value':_0x48b44f(0x144)});}));function _0x1147(){const _0x1662f5=['_row','function','_col','getCurrentSelections','getActiveWorkbook','_groupId','registerEventHandler','FEnum','UniverSheetsFacade','composeSparkline','FSparkline','amd','UniverProSheetsSparklineFacade','1942048YxOIlu','toStringTag','getSparklineGroupByCell','Module','matrix','getSparklineById','createInstance','Injector','1064242ouSSIK','Inject','getSparkline','_unitId','UniverCore','group','getSparklineByCell','_workbook','RemoveSheetSparklineCommand','forEach','_commandService','UniverCoreFacade','filter','ICommandService','defineProperty','sparklineAnchorMap','removeSparklineGroup','FUniver','range','SetSheetSparklineCommand','object','9015024pgxzMQ','getActiveSheet','unComposeSparkline','_injector','changeDataSource','executeCommand','deepClone','SparklineDataSourceModel','3230680FtJOjO','isChangeDataSource','@univerjs/sheets/facade','startRow','@univerjs-pro/sheets-sparkline','FWorksheet','getOwnPropertyDescriptor','syncExecuteCommand','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','37044SSRFqH','getSheetId','FEventName','3HqGPjh','cancel','getAllSubSparkline','_worksheet','map','addSparkline','ranges','@univerjs/core/facade','FSparklineGroup','90770srYocZ','getValue','UniverSheets','4208LVfLnc','Event','@univerjs/sheets','fireEvent','extend','1087303QQPPnR','Tools','getUnitId','_subUnitId','length','get','SparklineTypeEnum','sparklines','item','setConfig','SheetSparklineChanged','_initialize','from','SheetsSelectionsService'];_0x1147=function(){return _0x1662f5;};return _0x1147();}
1
+ function _0x170b(_0x1a71c3,_0x1ba844){const _0x192de2=_0x192d();return _0x170b=function(_0x170ba0,_0x66065c){_0x170ba0=_0x170ba0-0x84;let _0x58a118=_0x192de2[_0x170ba0];return _0x58a118;},_0x170b(_0x1a71c3,_0x1ba844);}function _0x192d(){const _0x118c8a=['addSparkline','createInstance','@univerjs-pro/sheets-sparkline','length','FSparklineGroup','SetSheetSparklineCommand','add','extend','getSparklineCache','startColumn','groupId','@univerjs/sheets/facade','unComposeSparkline','_unitId','onCommandExecuted','SheetSparklineChanged','item','@univerjs/sheets','FWorksheet','Inject','RemoveSheetSparklineCommand','2195tazlNs','@univerjs/core/facade','getActiveSheet','Event','getSparkline','UniverSheetsFacade','Module','amd','1535530wBwmpB','composeSparkline','1754577aVxqqP','_col','_groupId','getSparklineByCell','removeSparkline','UniverCore','ICommandService','563689glyupE','UniverCoreFacade','filter','getUnitId','executeCommand','1521828znDjzS','SparklineDataSourceModel','function','group','forEach','_worksheet','@univerjs/core','FEventName','getOwnPropertyDescriptor','from','FEnum','get','startRow','syncExecuteCommand','ranges','8202evpdhs','SparklineTypeEnum','sparklineAnchorMap','fireEvent','getSparklineById','_subUnitId','getId','UniverProSheetsSparkline','_workbook','13584735xIXKDj','deepClone','6517412zDaqRu','UniverSheets','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','FSparkline','getCurrentSelections','setConfig','FUniver','120KozSFv','toStringTag','_initialize','getSheetId','SheetsSelectionsService','getAllSubSparkline','UniverProSheetsSparklineFacade','isChangeDataSource','Tools','_injector','_commandService','params','_row','registerEventHandler','changeDataSource','AddSheetSparklineCommand'];_0x192d=function(){return _0x118c8a;};return _0x192d();}(function(_0x1b015c,_0x5da973){const _0x4b88e0=_0x170b,_0x1fdb0b=_0x1b015c();while(!![]){try{const _0x4c9e01=-parseInt(_0x4b88e0(0x9a))/0x1+-parseInt(_0x4b88e0(0x8c))/0x2+-parseInt(_0x4b88e0(0x8e))/0x3+parseInt(_0x4b88e0(0xb4))/0x4+-parseInt(_0x4b88e0(0x84))/0x5*(parseInt(_0x4b88e0(0xa9))/0x6)+-parseInt(_0x4b88e0(0x95))/0x7*(-parseInt(_0x4b88e0(0xbb))/0x8)+parseInt(_0x4b88e0(0xb2))/0x9;if(_0x4c9e01===_0x5da973)break;else _0x1fdb0b['push'](_0x1fdb0b['shift']());}catch(_0x28eb70){_0x1fdb0b['push'](_0x1fdb0b['shift']());}}}(_0x192d,0xd4eac),function(_0x46015c,_0x35da1d){const _0x3803d8=_0x170b;typeof exports=='object'&&typeof module<'u'?_0x35da1d(exports,require('@univerjs-pro/sheets-sparkline'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/sheets')):typeof define==_0x3803d8(0x9c)&&define[_0x3803d8(0x8b)]?define(['exports',_0x3803d8(0xcd),_0x3803d8(0xa0),_0x3803d8(0xd6),_0x3803d8(0x85),_0x3803d8(0xdc)],_0x35da1d):(_0x46015c=typeof globalThis<'u'?globalThis:_0x46015c||self,_0x35da1d(_0x46015c[_0x3803d8(0xc1)]={},_0x46015c[_0x3803d8(0xb0)],_0x46015c[_0x3803d8(0x93)],_0x46015c[_0x3803d8(0x89)],_0x46015c[_0x3803d8(0x96)],_0x46015c[_0x3803d8(0xb5)]));}(this,function(_0x148b8f,_0x8e92bd,_0x4b0c32,_0x188a5f,_0x26541b,_0x1ac615){'use strict';const _0x147e81=_0x170b;var _0x3338be=Object[_0x147e81(0xa2)],_0x4b192d=(_0x4e4f5a,_0x478cf9,_0x1c138f,_0x5d5ebb)=>{const _0x27ffa9=_0x147e81;for(var _0x577e01=_0x5d5ebb>0x1?void 0x0:_0x5d5ebb?_0x3338be(_0x478cf9,_0x1c138f):_0x478cf9,_0x5d9382=_0x4e4f5a[_0x27ffa9(0xce)]-0x1,_0x59495c;_0x5d9382>=0x0;_0x5d9382--)(_0x59495c=_0x4e4f5a[_0x5d9382])&&(_0x577e01=_0x59495c(_0x577e01)||_0x577e01);return _0x577e01;},_0x16d93b=(_0x57b8b7,_0x9b237b)=>(_0x402d2d,_0x47bd7a)=>_0x9b237b(_0x402d2d,_0x47bd7a,_0x57b8b7);_0x148b8f[_0x147e81(0xb7)]=class{constructor(_0x2e3092,_0x461002,_0x8426a2,_0x366a79,_0xcd1edb,_0xb08c94){const _0x3eab9a=_0x147e81;this[_0x3eab9a(0xd8)]=_0x2e3092,this[_0x3eab9a(0xae)]=_0x461002,this[_0x3eab9a(0x90)]=_0x8426a2,this[_0x3eab9a(0xc7)]=_0x366a79,this[_0x3eab9a(0x8f)]=_0xcd1edb,this['_injector']=_0xb08c94;}[_0x147e81(0xc9)](_0x42d3ff,_0x287007){const _0x1ca35f=_0x147e81,_0x2836f2=this['_injector'][_0x1ca35f(0xa5)](_0x8e92bd['SparklineDataSourceModel']),_0x309acc=this[_0x1ca35f(0xc4)][_0x1ca35f(0xa5)](_0x4b0c32[_0x1ca35f(0x94)]),_0x2a9654=_0x2836f2[_0x1ca35f(0xad)](this[_0x1ca35f(0xd8)],this[_0x1ca35f(0xae)],this[_0x1ca35f(0x90)]);if(!_0x2a9654)return;const _0x309912={'config':_0x2a9654,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x1ca35f(0x90)],'resetType':_0x1ca35f(0xdb),'sourceRanges':[_0x42d3ff],'targetRanges':[_0x287007],'primary':{'startRow':this[_0x1ca35f(0xc7)],'startColumn':this[_0x1ca35f(0x8f)],'endRow':this[_0x1ca35f(0xc7)],'endColumn':this[_0x1ca35f(0x8f)],'actualRow':this[_0x1ca35f(0xc7)],'actualColumn':this[_0x1ca35f(0x8f)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x309acc[_0x1ca35f(0xa7)](_0x8e92bd['SetSheetSparklineCommand']['id'],_0x309912),this[_0x1ca35f(0xc7)]=_0x287007[_0x1ca35f(0xa6)],this[_0x1ca35f(0x8f)]=_0x287007[_0x1ca35f(0xd4)],this;}[_0x147e81(0x92)](){const _0x4b9fb4=_0x147e81,_0x20095f=this['_injector'][_0x4b9fb4(0xa5)](_0x4b0c32[_0x4b9fb4(0x94)]),_0x11506e={'isSingle':!0x0,'ranges':[{'startRow':this[_0x4b9fb4(0xc7)],'startColumn':this['_col'],'endRow':this[_0x4b9fb4(0xc7)],'endColumn':this[_0x4b9fb4(0x8f)]}]};_0x20095f[_0x4b9fb4(0xa7)](_0x8e92bd[_0x4b9fb4(0xdf)]['id'],_0x11506e);}},_0x148b8f['FSparkline']=_0x4b192d([_0x16d93b(0x5,_0x4b0c32['Inject'](_0x4b0c32['Injector']))],_0x148b8f[_0x147e81(0xb7)]);var _0x487d2f=Object['getOwnPropertyDescriptor'],_0x4434f4=(_0x339200,_0xf7b47a,_0x1ecb91,_0x164824)=>{const _0x2b96e2=_0x147e81;for(var _0x5ec6f1=_0x164824>0x1?void 0x0:_0x164824?_0x487d2f(_0xf7b47a,_0x1ecb91):_0xf7b47a,_0x47047a=_0x339200[_0x2b96e2(0xce)]-0x1,_0x2698ab;_0x47047a>=0x0;_0x47047a--)(_0x2698ab=_0x339200[_0x47047a])&&(_0x5ec6f1=_0x2698ab(_0x5ec6f1)||_0x5ec6f1);return _0x5ec6f1;},_0xc9a597=(_0xa8fea0,_0x33103d)=>(_0xf88884,_0xf14706)=>_0x33103d(_0xf88884,_0xf14706,_0xa8fea0);_0x148b8f[_0x147e81(0xcf)]=class{constructor(_0x3da4cd,_0x5a2da2,_0x558b6f,_0x50b691,_0x1afea1,_0x354634){const _0x530b16=_0x147e81;this[_0x530b16(0xd8)]=_0x3da4cd,this[_0x530b16(0xae)]=_0x5a2da2,this[_0x530b16(0x90)]=_0x558b6f,this[_0x530b16(0xc7)]=_0x50b691,this[_0x530b16(0x8f)]=_0x1afea1,this[_0x530b16(0xc4)]=_0x354634;}[_0x147e81(0xc9)](_0x1fd683,_0x567598){const _0x180929=_0x147e81,_0x37b85f=this[_0x180929(0xc4)]['get'](_0x8e92bd[_0x180929(0x9b)]),_0x3030ba=this[_0x180929(0xc4)][_0x180929(0xa5)](_0x4b0c32['ICommandService']),_0x3dafe1=_0x37b85f[_0x180929(0xad)](this[_0x180929(0xd8)],this[_0x180929(0xae)],this[_0x180929(0x90)]);if(!_0x3dafe1)return;const _0x195994={'config':_0x3dafe1,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x180929(0x90)],'resetType':_0x180929(0x9d),'sourceRanges':_0x1fd683,'targetRanges':_0x567598,'primary':{'startRow':this[_0x180929(0xc7)],'startColumn':this[_0x180929(0x8f)],'endRow':this[_0x180929(0xc7)],'endColumn':this[_0x180929(0x8f)],'actualRow':this[_0x180929(0xc7)],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x3030ba['syncExecuteCommand'](_0x8e92bd[_0x180929(0xd0)]['id'],_0x195994),this[_0x180929(0xc7)]=_0x567598[0x0]['startRow'],this[_0x180929(0x8f)]=_0x567598[0x0][_0x180929(0xd4)],this;}['removeSparklineGroup'](){const _0x42ae7f=_0x147e81,_0x1e8ef8=this[_0x42ae7f(0xc4)][_0x42ae7f(0xa5)](_0x4b0c32[_0x42ae7f(0x94)]),_0x1e6b87={'isSingle':!0x1,'ranges':[{'startRow':this['_row'],'startColumn':this[_0x42ae7f(0x8f)],'endRow':this[_0x42ae7f(0xc7)],'endColumn':this['_col']}]};_0x1e8ef8[_0x42ae7f(0xa7)](_0x8e92bd[_0x42ae7f(0xdf)]['id'],_0x1e6b87);}[_0x147e81(0xb9)](_0x5dd1f5){const _0x27119b=_0x147e81,_0x5089dc=this[_0x27119b(0xc4)]['get'](_0x8e92bd['SparklineDataSourceModel'])[_0x27119b(0xad)](this[_0x27119b(0xd8)],this[_0x27119b(0xae)],this[_0x27119b(0x90)]);if(_0x5089dc){const _0x5e5d9f={'config':{'config':_0x5dd1f5,'sparklines':_0x5089dc['sparklines']},'isChangeDataSource':!0x1};this[_0x27119b(0xc4)]['get'](_0x4b0c32[_0x27119b(0x94)])[_0x27119b(0xa7)](_0x8e92bd[_0x27119b(0xd0)]['id'],_0x5e5d9f);}return this;}},_0x148b8f[_0x147e81(0xcf)]=_0x4434f4([_0xc9a597(0x5,_0x4b0c32[_0x147e81(0xde)](_0x4b0c32['Injector']))],_0x148b8f[_0x147e81(0xcf)]);class _0x12ae12 extends _0x188a5f['FWorksheet']{[_0x147e81(0xcb)](_0x2421b5,_0xd4bb3,_0x5e5de2){const _0x17c21b=_0x147e81;if(this['_commandService'][_0x17c21b(0xa7)](_0x8e92bd[_0x17c21b(0xca)]['id'],{'sourceRanges':_0x2421b5,'targetRanges':_0xd4bb3,'targetInfo':{'unitId':this[_0x17c21b(0xb1)][_0x17c21b(0x98)](),'subUnitId':this['_worksheet'][_0x17c21b(0xbe)]()},'config':{'type':_0x5e5de2}})){const {startRow:_0x5c2b2e,startColumn:_0x3c8634}=_0xd4bb3[0x0];return this[_0x17c21b(0x91)](_0x5c2b2e,_0x3c8634);}}[_0x147e81(0xc0)](){const _0x55bb05=_0x147e81;return this['_injector'][_0x55bb05(0xa5)](_0x8e92bd['SparklineDataSourceModel'])['getSubUnitSparkline'](this[_0x55bb05(0xb1)]['getUnitId'](),this[_0x55bb05(0x9f)][_0x55bb05(0xbe)]());}[_0x147e81(0x8d)](_0x56b7d4){const _0x5246d3=_0x147e81,_0x2a3361=this[_0x5246d3(0xc4)][_0x5246d3(0xa5)](_0x8e92bd[_0x5246d3(0x9b)]);let _0x3b9b0c;for(let _0x2c30eb=0x0;_0x2c30eb<_0x56b7d4['length'];_0x2c30eb++){const _0x550ac7=_0x56b7d4[_0x2c30eb],{startRow:_0x348f29,endRow:_0x4f4b22,startColumn:_0x104939,endColumn:_0x3dad27}=_0x550ac7;for(let _0x213e16=_0x348f29;_0x213e16<=_0x4f4b22;_0x213e16++)for(let _0x199738=_0x104939;_0x199738<=_0x3dad27;_0x199738++){const _0x455a14=_0x2a3361['getSparkline'](this[_0x5246d3(0xb1)][_0x5246d3(0x98)](),this['_worksheet'][_0x5246d3(0xbe)](),_0x213e16,_0x199738);if(_0x455a14){const _0x49e01e=_0x2a3361['getSparklineById'](this['_workbook'][_0x5246d3(0x98)](),this[_0x5246d3(0x9f)][_0x5246d3(0xbe)](),_0x455a14);if(_0x49e01e){_0x3b9b0c=_0x4b0c32[_0x5246d3(0xc3)][_0x5246d3(0xb3)](_0x49e01e);break;}}}}_0x3b9b0c&&this[_0x5246d3(0xc5)][_0x5246d3(0x99)](_0x8e92bd[_0x5246d3(0xd0)]['id'],{'ranges':_0x56b7d4,'combine':!0x0,'config':_0x3b9b0c,'isChangeDataSource':!0x1});}[_0x147e81(0xd7)](_0x4b10cc){const _0x8c6720=_0x147e81,_0x1739bd=this[_0x8c6720(0xc4)][_0x8c6720(0xa5)](_0x8e92bd[_0x8c6720(0x9b)]);let _0x48685c;for(let _0x3d7f90=0x0;_0x3d7f90<_0x4b10cc[_0x8c6720(0xce)];_0x3d7f90++){const _0x2f6128=_0x4b10cc[_0x3d7f90],{startRow:_0x3abc81,endRow:_0x4f5e85,startColumn:_0xce7b0a,endColumn:_0x43d6ba}=_0x2f6128;for(let _0x5f418c=_0x3abc81;_0x5f418c<=_0x4f5e85;_0x5f418c++)for(let _0x26fde0=_0xce7b0a;_0x26fde0<=_0x43d6ba;_0x26fde0++){const _0x3fca3b=_0x1739bd[_0x8c6720(0x88)](this[_0x8c6720(0xb1)][_0x8c6720(0x98)](),this[_0x8c6720(0x9f)][_0x8c6720(0xbe)](),_0x5f418c,_0x26fde0);if(_0x3fca3b){const _0x4d8e1d=_0x1739bd[_0x8c6720(0xad)](this[_0x8c6720(0xb1)][_0x8c6720(0x98)](),this[_0x8c6720(0x9f)][_0x8c6720(0xbe)](),_0x3fca3b);if(_0x4d8e1d){_0x48685c=_0x4b0c32[_0x8c6720(0xc3)][_0x8c6720(0xb3)](_0x4d8e1d);break;}}}}_0x48685c||this['_commandService'][_0x8c6720(0x99)](_0x8e92bd[_0x8c6720(0xd0)]['id'],{'ranges':_0x4b10cc,'unCombine':!0x0,'config':_0x48685c,'isChangeDataSource':!0x1});}['getSparklineByCell'](_0x3f9473,_0x7b66fc){const _0x130c09=_0x147e81,_0x571b1d=this['_injector'][_0x130c09(0xa5)](_0x8e92bd[_0x130c09(0x9b)]),_0x597817=this['_workbook']['getUnitId'](),_0x4760fc=this[_0x130c09(0x9f)][_0x130c09(0xbe)](),_0x1ac70a=_0x571b1d[_0x130c09(0x88)](_0x597817,_0x4760fc,_0x3f9473,_0x7b66fc);if(_0x1ac70a)return this[_0x130c09(0xc4)][_0x130c09(0xcc)](_0x148b8f[_0x130c09(0xb7)],_0x597817,_0x4760fc,_0x1ac70a,_0x3f9473,_0x7b66fc);}['getSparklineGroupByCell'](_0x9fc6f3,_0x300447){const _0x3aa7c7=_0x147e81,_0x3515dc=this[_0x3aa7c7(0xc4)]['get'](_0x8e92bd[_0x3aa7c7(0x9b)]),_0x413daa=this[_0x3aa7c7(0xb1)][_0x3aa7c7(0x98)](),_0x128d15=this['_worksheet'][_0x3aa7c7(0xbe)](),_0x35d1c2=_0x3515dc['getSparkline'](_0x413daa,_0x128d15,_0x9fc6f3,_0x300447);if(_0x35d1c2)return this[_0x3aa7c7(0xc4)][_0x3aa7c7(0xcc)](_0x148b8f[_0x3aa7c7(0xcf)],_0x413daa,_0x128d15,_0x35d1c2,_0x9fc6f3,_0x300447);}}_0x188a5f[_0x147e81(0xdd)][_0x147e81(0xd2)](_0x12ae12);class _0x571e63 extends _0x26541b[_0x147e81(0xa4)]{get[_0x147e81(0xaa)](){const _0xb6c18f=_0x147e81;return _0x8e92bd[_0xb6c18f(0xaa)];}}_0x26541b[_0x147e81(0xa4)][_0x147e81(0xd2)](_0x571e63);class _0xf2bf5d extends _0x26541b['FEventName']{get[_0x147e81(0xda)](){const _0x127e01=_0x147e81;return _0x127e01(0xda);}}_0x26541b[_0x147e81(0xa1)][_0x147e81(0xd2)](_0xf2bf5d);class _0x1529dc extends _0x26541b[_0x147e81(0xba)]{[_0x147e81(0xbd)](_0x15e258){const _0x2e9d57=_0x147e81,_0x4dc92d=_0x15e258['get'](_0x4b0c32['ICommandService']);this[_0x2e9d57(0xc8)](this[_0x2e9d57(0x87)]['SheetSparklineChanged'],()=>_0x4dc92d[_0x2e9d57(0xd9)](_0x5eb925=>{const _0x12cf47=_0x2e9d57;var _0xbf6c25,_0x1a3c9f;if(_0x5eb925['id']===_0x8e92bd[_0x12cf47(0xd0)]['id']){const _0x1f2bf3=_0x5eb925[_0x12cf47(0xc6)];if(!_0x1f2bf3[_0x12cf47(0xc2)]){const _0x58d469=this['getActiveWorkbook'](),_0x52e97e=_0x58d469==null?void 0x0:_0x58d469[_0x12cf47(0x86)]();if(!_0x58d469||!_0x52e97e)return;const _0x4f0fe5=_0x58d469[_0x12cf47(0xaf)](),_0x5add4f=_0x52e97e[_0x12cf47(0xbe)](),_0x547d01=this[_0x12cf47(0xc4)][_0x12cf47(0xa5)](_0x1ac615[_0x12cf47(0xbf)]),_0x317456=this[_0x12cf47(0xc4)][_0x12cf47(0xa5)](_0x8e92bd[_0x12cf47(0x9b)]),_0x5270d2=(_0xbf6c25=_0x1f2bf3==null?void 0x0:_0x1f2bf3[_0x12cf47(0xa8)])!=null?_0xbf6c25:_0x547d01[_0x12cf47(0xb8)]()['map'](_0x58c764=>_0x58c764['range']),_0x2e733e=(_0x1a3c9f=_0x317456[_0x12cf47(0xd3)]()[_0x12cf47(0xab)][_0x12cf47(0xa5)](_0x4f0fe5))==null?void 0x0:_0x1a3c9f['get'](_0x5add4f),_0x4001bb=new Set();_0x5270d2[_0x12cf47(0x9e)](_0x3d2ea0=>{const _0x313c0c=_0x12cf47;var _0x126a14;const {startRow:_0x4e45ce,endRow:_0x5422a8,startColumn:_0x8ebdef,endColumn:_0x4e497b}=_0x3d2ea0;for(let _0x1ae08a=_0x4e45ce;_0x1ae08a<=_0x5422a8;_0x1ae08a++)for(let _0x393a81=_0x8ebdef;_0x393a81<=_0x4e497b;_0x393a81++){const _0x4e65ea=(_0x126a14=_0x2e733e==null?void 0x0:_0x2e733e['matrix']['getValue'](_0x1ae08a,_0x393a81))==null?void 0x0:_0x126a14[_0x313c0c(0xd5)];_0x4e65ea&&_0x4001bb[_0x313c0c(0xd1)](_0x4e65ea);}});const _0x2db787=Array[_0x12cf47(0xa3)](_0x4001bb)['map'](_0x40ec81=>_0x317456['getSparklineById'](_0x4f0fe5,_0x5add4f,_0x40ec81))[_0x12cf47(0x97)](_0xbde38d=>!!_0xbde38d),_0x3cb84d={'workbook':_0x58d469,'worksheet':_0x52e97e,'sparklines':_0x2db787};if(this[_0x12cf47(0xac)](this[_0x12cf47(0x87)][_0x12cf47(0xda)],_0x3cb84d),_0x3cb84d['cancel'])throw new Error(_0x12cf47(0xb6));}}}));}}_0x26541b[_0x147e81(0xba)][_0x147e81(0xd2)](_0x1529dc),Object['defineProperty'](_0x148b8f,Symbol[_0x147e81(0xbc)],{'value':_0x147e81(0x8a)});}));