@univerjs-pro/sheets-chart 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/extra/func.d.ts +1 -1
- package/lib/types/extra/reverse.d.ts +40 -40
- package/lib/types/index.d.ts +9 -9
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x181f29=_0xce0e;(function(_0x588626,_0x4695cb){const _0x412d2f=_0xce0e,_0x417e92=_0x588626();while(!![]){try{const _0x119ce4=parseInt(_0x412d2f(0x12f))/0x1*(parseInt(_0x412d2f(0x181))/0x2)+parseInt(_0x412d2f(0x12b))/0x3*(-parseInt(_0x412d2f(0x1b1))/0x4)+parseInt(_0x412d2f(0x16a))/0x5+-parseInt(_0x412d2f(0x11e))/0x6*(parseInt(_0x412d2f(0x14e))/0x7)+parseInt(_0x412d2f(0x158))/0x8+-parseInt(_0x412d2f(0x179))/0x9*(parseInt(_0x412d2f(0x13a))/0xa)+parseInt(_0x412d2f(0x11a))/0xb*(parseInt(_0x412d2f(0x1bb))/0xc);if(_0x119ce4===_0x4695cb)break;else _0x417e92['push'](_0x417e92['shift']());}catch(_0xefd020){_0x417e92['push'](_0x417e92['shift']());}}}(_0x451a,0x77493));var me=Object[_0x181f29(0x127)],Se=(_0x10d0fd,_0x1b9325,_0x1cb09e)=>_0x1b9325 in _0x10d0fd?me(_0x10d0fd,_0x1b9325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cb09e}):_0x10d0fd[_0x1b9325]=_0x1cb09e,C=(_0x38f328,_0x3fc7a7,_0x3b1473)=>Se(_0x38f328,typeof _0x3fc7a7!='symbol'?_0x3fc7a7+'':_0x3fc7a7,_0x3b1473);import{ChartModel as _0x25b72a,CHART_DEBOUNCE_TIME as _0x2e24d1,buildChartData as _0x486883,ChartSourceDataTypeEnum as _0x189757,ChartDataSource as _0x30821e,findHeaderOperator as _0x150e27,findCategoryOperator as _0x55a22e,findSeriesOperator as _0x227599,pieSeriesFilterOperator as _0x3f37b5,ChartTypeBits as _0x140a1f,DataOrientation as _0x526da1,registerChartThemeService as _0x321998,registerWordCloudChartMakImageService as _0x22603e}from'@univerjs-pro/engine-chart';import{LocaleService as _0x22a8e0,CellValueType as _0x4ee4a5,numfmt as _0x4d9958,ObjectMatrix as _0x25dc76,Range as _0x12af70,Inject as _0x9ecf86,Injector as _0x5a8e68,Disposable as _0x37d0d8,IResourceManagerService as _0x1a7f3f,IUniverInstanceService as _0x1bc83c,ICommandService as _0x4f3642,generateRandomId as _0x274241,Rectangle as _0x19d866,UniverInstanceType as _0x5d9db1,CommandType as _0xd95852,IUndoRedoService as _0x39d787,Plugin as _0x527340,merge as _0x450831,touchDependencies as _0x10fe3c,IConfigService as _0x4f2ebe}from'@univerjs/core';import{filter as _0x322be2,combineLatest as _0x9f73a8,debounceTime as _0xe112e6,map as _0x499179,distinctUntilChanged as _0x4e2999,BehaviorSubject as _0x5344c1,Subject as _0x111153}from'rxjs';import{RefRangeService as _0x166195,SetRangeValuesMutation as _0x4f434a,ReorderRangeMutation as _0x38a9c4,RemoveColMutation as _0x1bf96a,RemoveRowMutation as _0x260c93}from'@univerjs/sheets';import{LS_CONFIG_KEY as _0x49f853,unshiftString as _0x365810,isFeatureAuthorizedWithinTime as _0x592a4c,getSheetFeatureLimit as _0x42c8fd}from'@univerjs-pro/license';class Be extends _0x25b72a{get['dataSource'](){const _0x2c418a=_0x181f29;return this[_0x2c418a(0x14a)];}constructor(_0x24f7b8,_0x1d5079,_0x3ccadf){super(_0x24f7b8,_0x1d5079,_0x3ccadf),this['_init']();}[_0x181f29(0x183)](){const _0x3cdea4=_0x181f29;var _0xd7708a;const _0x509f74=this[_0x3cdea4(0x1a4)]()['get'](_0x22a8e0);(_0xd7708a=this['_configSubscription'])==null||_0xd7708a[_0x3cdea4(0x194)]();const {data$:_0x2e29ae,rangeInfo$:_0x46d7b8}=this[_0x3cdea4(0x14a)],_0x181b5b=_0x2e29ae[_0x3cdea4(0x167)](_0x322be2(_0x4ad6d8=>{const {dimensions:_0x34db06,source:_0x44d697}=_0x4ad6d8;return!(!_0x34db06||!_0x44d697);})),_0x41bee9=_0x9f73a8([_0x181b5b,this[_0x3cdea4(0x170)],this[_0x3cdea4(0x13e)]])['pipe'](_0xe112e6(_0x2e24d1),_0x499179(([_0x2f75ce,_0x46a3d2,_0x18c100])=>[_0x2f75ce,_0x46a3d2,_0x18c100]));this[_0x3cdea4(0x1b0)]=_0x9f73a8([this[_0x3cdea4(0x148)][_0x3cdea4(0x167)](_0x4e2999()),_0x41bee9,_0x46d7b8])[_0x3cdea4(0x167)](_0x322be2(([_0x59c6ad])=>!!_0x59c6ad),_0xe112e6(_0x2e24d1))[_0x3cdea4(0x143)](([_0x1c79bd,[_0x391ccb,_0x515c6f],_0x4ff93c])=>{const _0x3142e7=_0x3cdea4;if(_0x391ccb[_0x3142e7(0x187)][_0x3142e7(0x160)]<=0x0||_0x391ccb[_0x3142e7(0x1b8)][_0x3142e7(0x160)]<=0x0){this[_0x3142e7(0x1c7)]['next']({'type':this[_0x3142e7(0x154)],'category':void 0x0,'maxValue':-0x1/0x0,'minValue':0x1/0x0,'series':[]});return;}const _0x433a35=Array['isArray'](_0x4ff93c)?!0x1:!!_0x4ff93c[_0x3142e7(0x15d)],_0x48d254=_0x486883(_0x391ccb,_0x515c6f,_0x1c79bd,_0x433a35,_0x509f74);this['_config$'][_0x3142e7(0x19d)]({'type':_0x1c79bd,'headers':_0x515c6f[_0x3142e7(0x162)],'category':_0x48d254[_0x3142e7(0x17e)],'series':_0x48d254['series'],'maxValue':_0x48d254[_0x3142e7(0x1bc)],'minValue':_0x48d254[_0x3142e7(0x190)],'bubble':_0x48d254[_0x3142e7(0x111)],'relationData':_0x48d254[_0x3142e7(0x177)]});}),this[_0x3cdea4(0x18b)](this[_0x3cdea4(0x1b0)]);}[_0x181f29(0x17a)](){const _0x1f802e=_0x181f29;super[_0x1f802e(0x17a)](),this[_0x1f802e(0x122)][_0x1f802e(0x15e)](),this[_0x1f802e(0x15f)][_0x1f802e(0x15e)](),this[_0x1f802e(0x1c7)][_0x1f802e(0x15e)](),this[_0x1f802e(0x147)]['complete']();}}const ne=_0x181f29(0x11c),oe=_0x181f29(0x13d),Ge=_0xc173bc=>{const _0x540cf5=_0x181f29;var _0x517359;return((_0x517359=_0xc173bc[_0x540cf5(0x185)])==null?void 0x0:_0x517359[_0x540cf5(0x13b)][_0x540cf5(0x144)](/\r\n$/,''))||'';};function N(_0x543905,_0x5e9130,_0x4fb50b){const _0x281bc9=_0x181f29;var _0x24fe9d,_0x33e840;if(_0x543905){const {v:_0x32708f,t:_0x5cfa62,p:_0x23f6c9,s:_0x252822}=_0x543905;if(_0x23f6c9)return{'v':null,'t':_0x189757[_0x281bc9(0x1c3)]};if(_0x5cfa62===_0x4ee4a5[_0x281bc9(0x166)]){const _0x26b21d=_0x5e9130[_0x281bc9(0x1aa)](_0x252822);if(_0x26b21d&&_0x26b21d['n']){const {pattern:_0x4945a6}=_0x26b21d['n'];_0x4945a6&&!_0x4fb50b[_0x4945a6]&&(_0x4fb50b[_0x4945a6]=_0x4d9958[_0x281bc9(0x149)](_0x4945a6));const _0x144b40=_0x4fb50b[_0x4945a6];return _0x144b40&&_0x144b40['isDate']?typeof _0x32708f=='number'?{'v':Number(_0x32708f),'t':_0x189757[_0x281bc9(0x1a3)]}:{'v':(_0x24fe9d=_0x4d9958['parseDate'](_0x32708f))==null?void 0x0:_0x24fe9d['v'],'t':_0x189757[_0x281bc9(0x1a3)]}:_0x32708f==null?{'v':null,'t':_0x189757[_0x281bc9(0x1c3)]}:{'v':(_0x33e840=_0x4d9958[_0x281bc9(0x164)](_0x32708f))==null?void 0x0:_0x33e840['v'],'t':_0x189757['NUMBER']};}return{'v':Number(_0x32708f),'t':_0x189757['NUMBER']};}else{if(_0x5cfa62===_0x4ee4a5['FORCE_STRING'])return{'v':String(_0x32708f),'t':_0x189757[_0x281bc9(0x19c)]};{const _0x3912c6=Number(_0x32708f);return _0x3912c6===_0x32708f?{'v':_0x3912c6,'t':_0x189757[_0x281bc9(0x166)]}:_0x32708f==null?{'v':null,'t':_0x189757[_0x281bc9(0x1c3)]}:{'v':String(_0x32708f),'t':_0x189757[_0x281bc9(0x19c)]};}}}return{'v':null,'t':_0x189757[_0x281bc9(0x1c3)]};}function je(_0x152686,_0x33caca,_0x138128,_0x412e4e,_0xe68d1d,_0x1a28b5){const _0x1db7b9=_0x181f29,{startRow:_0x5b6bfd,startColumn:_0x33d390,endColumn:_0x18153e,endRow:_0xcf1350}=_0x152686,_0x445240={};if(_0x5b6bfd===_0xcf1350)for(let _0x1c480a=_0x33d390;_0x1c480a<=_0x18153e;_0x1c480a++){const _0x42f7c3=_0x33caca[_0x1db7b9(0x1a6)](_0x5b6bfd,_0x1c480a),{v:_0xa88e55,t:_0x522f65}=N(_0x42f7c3,_0x1a28b5,_0x445240);_0x412e4e[_0x1db7b9(0x128)](_0x1c480a,_0x138128,_0xa88e55),_0xe68d1d['setValue'](_0x1c480a,_0x138128,_0x522f65);}if(_0x33d390===_0x18153e)for(let _0x181e85=_0x5b6bfd;_0x181e85<=_0xcf1350;_0x181e85++){const _0x23eab8=_0x33caca[_0x1db7b9(0x1a6)](_0x181e85,_0x33d390),{v:_0xa5ade,t:_0x4e96c5}=N(_0x23eab8,_0x1a28b5,_0x445240);_0x412e4e[_0x1db7b9(0x128)](_0x138128,_0x181e85,_0xa5ade),_0xe68d1d['setValue'](_0x138128,_0x181e85,_0x4e96c5);}}function E(_0x2a9f93,_0x1bae37,_0x434f37){const _0x575f0e=_0x181f29;if(_0x2a9f93){const {v:_0x57587b,t:_0x304d2f,p:_0x73d2ab,s:_0x531871}=_0x2a9f93;if(_0x73d2ab)return{'v':Ge(_0x73d2ab),'t':_0x189757['STRING']};if((_0x304d2f===_0x4ee4a5[_0x575f0e(0x19f)]||_0x304d2f===_0x4ee4a5[_0x575f0e(0x19c)])&&_0x57587b!==void 0x0&&_0x57587b!==null)return{'v':String(_0x57587b),'t':_0x189757[_0x575f0e(0x19c)]};if(_0x304d2f===_0x4ee4a5[_0x575f0e(0x193)])return{'v':_0x57587b?ne:oe,'t':_0x189757[_0x575f0e(0x193)]};if(_0x304d2f===_0x4ee4a5[_0x575f0e(0x166)]){const _0x359dcf=_0x1bae37[_0x575f0e(0x1aa)](_0x531871);if(_0x359dcf&&_0x359dcf['n']){const {pattern:_0x34d39e}=_0x359dcf['n'];if(_0x34d39e&&!_0x434f37[_0x34d39e]&&(_0x434f37[_0x34d39e]=_0x4d9958['getFormatInfo'](_0x34d39e)),_0x434f37[_0x34d39e]&&(_0x434f37[_0x34d39e]=_0x4d9958[_0x575f0e(0x149)](_0x34d39e),_0x434f37[_0x34d39e]['isDate']))return{'v':String(_0x57587b),'t':_0x189757[_0x575f0e(0x1a3)]};}return{'v':String(_0x57587b),'t':_0x189757[_0x575f0e(0x166)]};}else return typeof _0x57587b===_0x575f0e(0x137)?{'v':_0x57587b?ne:oe,'t':_0x189757[_0x575f0e(0x193)]}:{'v':_0x57587b==null?'':String(_0x57587b),'t':_0x189757['STRING']};}return{'v':'','t':_0x189757[_0x575f0e(0x19c)]};}class ke extends _0x30821e{constructor(_0x442709,_0x1dee1c){const _0xf5be8a=_0x181f29;super(),C(this,_0xf5be8a(0x1b9)),C(this,_0xf5be8a(0x178)),this[_0xf5be8a(0x12d)]=_0x442709;const _0x1ed605=_0x1dee1c[_0xf5be8a(0x15d)]!==void 0x0?_0x1dee1c[_0xf5be8a(0x15d)]:!0x0;this['_rangeInfo$']=new _0x5344c1({..._0x1dee1c,'isRowDirection':_0x1ed605}),this[_0xf5be8a(0x15c)]=new _0x5344c1({'dimensions':[],'source':[]}),this['canSwitchOrient$']=this['_canSwitchOrient$'][_0xf5be8a(0x19b)](),this[_0xf5be8a(0x174)]=this[_0xf5be8a(0x15c)][_0xf5be8a(0x19b)](),this[_0xf5be8a(0x178)]=this['_rangeInfo$']['asObservable'](),this[_0xf5be8a(0x183)]();}[_0x181f29(0x1b3)](){const _0x46da4f=_0x181f29;return this[_0x46da4f(0x1b9)][_0x46da4f(0x17f)]();}['setRangeInfo'](_0x4eadcd){const _0x21f2d3=_0x181f29;this[_0x21f2d3(0x1b9)][_0x21f2d3(0x19d)](_0x4eadcd),this['_data$'][_0x21f2d3(0x19d)](this[_0x21f2d3(0x114)]()),this[_0x21f2d3(0x169)]['next'](this[_0x21f2d3(0x180)]());}[_0x181f29(0x126)](_0xc31d7a){const _0x3c42f0=_0x181f29;this[_0x3c42f0(0x169)][_0x3c42f0(0x19d)](_0xc31d7a);}[_0x181f29(0x180)](){return!0x0;}[_0x181f29(0x191)](){}[_0x181f29(0x145)](){}[_0x181f29(0x114)](){const _0xc43928=_0x181f29,{rangeInfo:_0x15bb64,isRowDirection:_0x486547}=this[_0xc43928(0x1b3)](),_0x4e48d7=this[_0xc43928(0x12d)],{unitId:_0x3c8f62,subUnitId:_0x44341d,range:_0x18dcd2}=_0x15bb64,_0x421833=_0x4e48d7[_0xc43928(0x17b)](_0x3c8f62);if(!_0x421833)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x4654cb=_0x421833['getSheetBySheetId'](_0x44341d);if(!_0x4654cb)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x34dcc5=[],_0x48bb3e=[],_0x1b1f38=[],_0x7cbb17=[],_0x262a8c=_0x421833[_0xc43928(0x146)](),_0x52b176={};if(_0x18dcd2[_0xc43928(0x1a2)]===-0x1||_0x18dcd2[_0xc43928(0x156)]===-0x1)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x20a322=_0x12af70['transformRange'](_0x18dcd2,_0x4654cb),{startColumn:_0x4b82c6,startRow:_0x52d718,endColumn:_0x518449,endRow:_0x3591d5}=_0x20a322;if(_0x486547){for(let _0x26f2c0=_0x4b82c6;_0x26f2c0<=_0x518449;_0x26f2c0++){const _0x113fca=_0x4654cb[_0xc43928(0x1a6)](_0x52d718,_0x26f2c0),{v:_0x164b25,t:_0x5064f7}=E(_0x113fca,_0x262a8c,_0x52b176);_0x34dcc5[_0xc43928(0x116)](_0x164b25),_0x48bb3e['push'](_0x5064f7);}for(let _0x2b2b5e=_0x52d718+0x1;_0x2b2b5e<=_0x3591d5;_0x2b2b5e++){const _0x3ab42d=[],_0x420315=[];for(let _0x2de111=_0x4b82c6;_0x2de111<=_0x518449;_0x2de111++){const _0x1886af=_0x4654cb[_0xc43928(0x1a6)](_0x2b2b5e,_0x2de111),{v:_0x45ee91,t:_0x1536e6}=_0x2de111===_0x4b82c6?E(_0x1886af,_0x262a8c,_0x52b176):N(_0x1886af,_0x262a8c,_0x52b176);_0x3ab42d[_0xc43928(0x116)](_0x45ee91),_0x420315[_0xc43928(0x116)](_0x1536e6);}_0x1b1f38[_0xc43928(0x116)](_0x3ab42d),_0x7cbb17[_0xc43928(0x116)](_0x420315);}}else{for(let _0x5815d7=_0x52d718;_0x5815d7<=_0x3591d5;_0x5815d7++){const _0x4418ad=_0x4654cb['getCell'](_0x5815d7,_0x4b82c6),{v:_0x2dca6a,t:_0x1a07b7}=E(_0x4418ad,_0x262a8c,_0x52b176);_0x34dcc5[_0xc43928(0x116)](_0x2dca6a),_0x48bb3e[_0xc43928(0x116)](_0x1a07b7);}for(let _0x299070=_0x4b82c6+0x1;_0x299070<=_0x518449;_0x299070++){const _0x39e501=[];for(let _0x1adfad=_0x52d718;_0x1adfad<=_0x3591d5;_0x1adfad++){const _0x57da83=_0x4654cb[_0xc43928(0x1a6)](_0x1adfad,_0x299070),{v:_0x2233b3,t:_0x19ccd7}=_0x1adfad===_0x52d718?E(_0x57da83,_0x262a8c,_0x52b176):N(_0x57da83,_0x262a8c,_0x52b176);_0x39e501[_0xc43928(0x116)](_0x2233b3);}_0x1b1f38[_0xc43928(0x116)](_0x39e501);}}return{'dimensions':_0x34dcc5,'source':_0x1b1f38,'dimensionsType':_0x48bb3e,'sourceType':_0x7cbb17};}}class ge extends _0x30821e{constructor(_0x42a150,_0x2ef14c){const _0xe524b5=_0x181f29;super(),C(this,_0xe524b5(0x1b9)),C(this,_0xe524b5(0x178)),(this[_0xe524b5(0x12d)]=_0x42a150,this[_0xe524b5(0x1b9)]=new _0x5344c1(_0x2ef14c));}['canSwitchOrient'](){return!0x1;}[_0x181f29(0x1b3)](){const _0x4bcb1c=_0x181f29;return this['_rangeInfo$'][_0x4bcb1c(0x17f)]();}[_0x181f29(0x126)](_0xa0219b){const _0x205b1e=_0x181f29;this[_0x205b1e(0x169)][_0x205b1e(0x19d)](_0xa0219b);}[_0x181f29(0x161)](_0x26ec16){this['_rangeInfo$']['next'](_0x26ec16);}['updateRangeInfo'](){}[_0x181f29(0x145)](){}[_0x181f29(0x114)](){const _0x2f8b1b=_0x181f29,_0x5ca942=this['getRangeInfo'](),_0x1289a7=this[_0x2f8b1b(0x12d)],_0x19245a=[],_0x376768=[],_0x18bbbd={};for(const [_0x570e87]of _0x5ca942){const {unitId:_0x9994d3,subUnitId:_0x19586a,range:_0x818d2b}=_0x570e87,_0x17e884=_0x1289a7[_0x2f8b1b(0x17b)](_0x9994d3);if(!_0x17e884)return{'dimensions':[],'source':[]};const _0x341ded=_0x17e884[_0x2f8b1b(0x159)](_0x19586a);if(!_0x341ded)return{'dimensions':[],'source':[]};const _0x1f2788=_0x17e884['getStyles'](),{v:_0x643a1a,t:_0x59b386}=E(_0x341ded[_0x2f8b1b(0x1a6)](_0x818d2b[_0x2f8b1b(0x156)],_0x818d2b[_0x2f8b1b(0x1a2)]),_0x1f2788,_0x18bbbd);_0x19245a[_0x2f8b1b(0x116)](_0x643a1a),_0x376768['push'](_0x59b386);}let _0x1444b0=0x0;const _0x1f5afc=new _0x25dc76(),_0x583434=new _0x25dc76();for(const [,_0x4bd78e]of _0x5ca942){const {unitId:_0x5c8766,subUnitId:_0x285a96,range:_0xe91cce}=_0x4bd78e,_0x28af92=_0x1289a7[_0x2f8b1b(0x17b)](_0x5c8766);if(!_0x28af92)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x211ce8=_0x28af92[_0x2f8b1b(0x159)](_0x285a96);if(!_0x211ce8)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};je(_0xe91cce,_0x211ce8,_0x1444b0,_0x1f5afc,_0x583434,_0x28af92['getStyles']()),_0x1444b0++;}const _0x463241=_0x1f5afc['toArray'](),_0x297b25=_0x583434[_0x2f8b1b(0x113)]();return{'dimensions':_0x19245a,'source':_0x463241,'dimensionsType':_0x376768,'sourceType':_0x297b25};}}function Ye(_0x39265b,_0x447d26){const _0x5f4b0d=_0x181f29;return Array[_0x5f4b0d(0x132)](_0x447d26)?new ge(_0x39265b,_0x447d26):new ke(_0x39265b,_0x447d26);}function Dt(_0x31c10d,_0x11827a,_0xa5efbf){const _0x424965=_0x181f29,_0x448795=[];for(let _0x30b3e7=0x0;_0x30b3e7<_0x31c10d[_0x424965(0x160)];_0x30b3e7++)_0x448795[_0x424965(0x116)](_0x31c10d[_0x30b3e7][_0x11827a]);return _0x448795;}var qe=Object[_0x181f29(0x16b)],We=(_0xf15ec6,_0x2b79f2,_0x3a4cce,_0xa1961f)=>{const _0x2bf1b6=_0x181f29;for(var _0x229cb9=_0xa1961f>0x1?void 0x0:_0xa1961f?qe(_0x2b79f2,_0x3a4cce):_0x2b79f2,_0x5dea15=_0xf15ec6[_0x2bf1b6(0x160)]-0x1,_0x4997d7;_0x5dea15>=0x0;_0x5dea15--)(_0x4997d7=_0xf15ec6[_0x5dea15])&&(_0x229cb9=_0x4997d7(_0x229cb9)||_0x229cb9);return _0x229cb9;},Qe=(_0x32d343,_0x21db8f)=>(_0x24d4e1,_0xc47cbb)=>_0x21db8f(_0x24d4e1,_0xc47cbb,_0x32d343);let V=class extends _0x37d0d8{constructor(_0x33d2cf){const _0x732dcb=_0x181f29;super(),C(this,_0x732dcb(0x186),new _0x5344c1(null)),C(this,_0x732dcb(0x142),this['_activeChartModel$']['asObservable']()),C(this,_0x732dcb(0x1ad),new Map()),C(this,_0x732dcb(0x153),new Set()),C(this,'_chartModelAdded$',new _0x111153()),C(this,_0x732dcb(0x173),this[_0x732dcb(0x1a1)][_0x732dcb(0x19b)]()),C(this,_0x732dcb(0x140),new _0x111153()),C(this,_0x732dcb(0x196),this['_chartModelRemoved$'][_0x732dcb(0x19b)]()),this['_injector']=_0x33d2cf;}get['activeChartModel'](){const _0x106840=_0x181f29;return this[_0x106840(0x186)][_0x106840(0x17f)]();}['setActiveChartModel'](_0x1cf369){const _0x4ae367=_0x181f29;this[_0x4ae367(0x186)][_0x4ae367(0x19d)](_0x1cf369);}[_0x181f29(0x118)](){const _0x2cf0cf=_0x181f29;return this[_0x2cf0cf(0x186)][_0x2cf0cf(0x17f)]();}[_0x181f29(0x1c4)](_0x38841a){const _0x1cfebb=_0x181f29;return this[_0x1cfebb(0x1ad)][_0x1cfebb(0x1aa)](_0x38841a);}[_0x181f29(0x155)](){const _0x1740f0=_0x181f29,_0x4177b1=Array[_0x1740f0(0x189)](this[_0x1740f0(0x1ad)][_0x1740f0(0x1b6)]());for(const _0x456475 of _0x4177b1){const _0x18cd32=this[_0x1740f0(0x1ad)]['get'](_0x456475);_0x18cd32&&_0x18cd32[_0x1740f0(0x12c)][_0x1740f0(0x19a)]();}}[_0x181f29(0x124)](_0x26a074,_0x4859a9,_0x4b22fc=!0x1){const _0x310f58=_0x181f29,_0x4bf660=new Be(_0x26a074,_0x4859a9,this['_injector']);this[_0x310f58(0x1ad)][_0x310f58(0x1a9)](_0x4bf660['id'],_0x4bf660);const _0x108b56=this[_0x310f58(0x13f)](_0x4bf660['id']);return _0x108b56&&_0x4bf660['assignChartContext'](_0x108b56),_0x4b22fc&&_0x4bf660[_0x310f58(0x131)]({'titles':{'title':{'content':''}}}),this[_0x310f58(0x1a1)][_0x310f58(0x19d)](_0x4bf660),_0x4bf660;}[_0x181f29(0x123)](_0x207f53){const _0x5176c8=_0x181f29,{_models:_0x25bbd0}=this,_0x140b79=_0x25bbd0[_0x5176c8(0x1aa)](_0x207f53);_0x140b79&&(this[_0x5176c8(0x140)][_0x5176c8(0x19d)](_0x140b79['id']),_0x140b79[_0x5176c8(0x17a)](),_0x25bbd0[_0x5176c8(0x16d)](_0x207f53));}[_0x181f29(0x13f)](_0xf68d21){const _0x174d84=_0x181f29,_0x42c267=[_0x150e27,_0x55a22e,_0x227599,_0x3f37b5],_0x910501=this[_0x174d84(0x1ad)]['get'](_0xf68d21),_0x10efcb=(_0x910501==null?void 0x0:_0x910501['context'])||{},_0x59df9c=_0x910501==null?void 0x0:_0x910501[_0x174d84(0x12c)];return _0x910501&&_0x59df9c?_0x42c267[_0x174d84(0x15b)]((_0x101be6,_0x2ccb24)=>{const _0x1f82af=_0x2ccb24(_0x59df9c,_0x101be6,_0x910501);return{..._0x101be6,..._0x1f82af};},_0x10efcb):null;}['dispose'](){const _0x2a74cc=_0x181f29;super[_0x2a74cc(0x17a)](),this[_0x2a74cc(0x1ad)]['forEach'](_0x1e3ae4=>_0x1e3ae4[_0x2a74cc(0x17a)]()),this[_0x2a74cc(0x1ad)][_0x2a74cc(0x195)](),this[_0x2a74cc(0x153)][_0x2a74cc(0x195)](),this[_0x2a74cc(0x186)][_0x2a74cc(0x15e)](),this[_0x2a74cc(0x1a1)]['complete'](),this[_0x2a74cc(0x140)][_0x2a74cc(0x15e)]();}};V=We([Qe(0x0,_0x9ecf86(_0x5a8e68))],V);var Ze=Object[_0x181f29(0x16b)],et=(_0x4809c2,_0x389eb3,_0xb718ac,_0x9631e3)=>{for(var _0x544bcc=_0x9631e3>0x1?void 0x0:_0x9631e3?Ze(_0x389eb3,_0xb718ac):_0x389eb3,_0x18019c=_0x4809c2['length']-0x1,_0x240c15;_0x18019c>=0x0;_0x18019c--)(_0x240c15=_0x4809c2[_0x18019c])&&(_0x544bcc=_0x240c15(_0x544bcc)||_0x544bcc);return _0x544bcc;},b=(_0x2132d0,_0x116995)=>(_0x5b9ce7,_0x26eb20)=>_0x116995(_0x5b9ce7,_0x26eb20,_0x2132d0);const tt=_0x181f29(0x14d);function _0xce0e(_0xdcfdc7,_0x1188b0){const _0x451a75=_0x451a();return _0xce0e=function(_0xce0e36,_0x2206fd){_0xce0e36=_0xce0e36-0x110;let _0x212806=_0x451a75[_0xce0e36];return _0x212806;},_0xce0e(_0xdcfdc7,_0x1188b0);}let R=class extends _0x37d0d8{constructor(_0x5d60dc,_0x30b5eb,_0x583914,_0x521950,_0x110bef){const _0x48a32a=_0x181f29;super(),C(this,'_chartModelIdMap',new Map()),C(this,_0x48a32a(0x1ae),new Map()),C(this,_0x48a32a(0x1a5),!0x1),(this['_resourcesManagerService']=_0x5d60dc,this['_refRangeService']=_0x30b5eb,this[_0x48a32a(0x12d)]=_0x583914,this[_0x48a32a(0x1be)]=_0x521950,this['_commandService']=_0x110bef,this[_0x48a32a(0x119)]());}[_0x181f29(0x19e)](){const _0x316b94=_0x181f29;this[_0x316b94(0x1a5)]=!0x0;}[_0x181f29(0x135)](_0x545c8a,_0x1f2b4f){const _0x5361f4=_0x181f29,_0x112125=this[_0x5361f4(0x112)][_0x5361f4(0x1aa)](_0x545c8a);if(!_0x112125)return[];const _0x17769e=_0x112125['get'](_0x1f2b4f);if(!_0x17769e)return[];const {_chartModelService:_0x3cabeb}=this;return Array[_0x5361f4(0x189)](_0x17769e)[_0x5361f4(0x136)](_0x2a82ae=>_0x3cabeb[_0x5361f4(0x1c4)](_0x2a82ae));}[_0x181f29(0x18d)](_0x3a0817){const _0x1c92da=_0x181f29;if(Array[_0x1c92da(0x132)](_0x3a0817))return{'orient':_0x526da1[_0x1c92da(0x168)],'chartType':_0x140a1f[_0x1c92da(0x129)]};{const {rangeInfo:_0x7b25b4}=_0x3a0817,{range:_0x242b97}=_0x7b25b4,{startRow:_0x5d2e05,endRow:_0x325c22,startColumn:_0x59c3d4,endColumn:_0x29d1af}=_0x242b97,_0x38c03e=_0x325c22-_0x5d2e05>=_0x29d1af-_0x59c3d4;return{'orient':_0x38c03e?_0x526da1['Column']:_0x526da1[_0x1c92da(0x199)],'chartType':_0x38c03e?_0x140a1f[_0x1c92da(0x129)]:_0x140a1f[_0x1c92da(0x168)]};}}['ensureChartModelCollection'](_0x94d7d,_0xb438ed){const _0x84ff16=_0x181f29;let _0x456b3c=this['_chartModelIdMap'][_0x84ff16(0x1aa)](_0x94d7d);_0x456b3c||(_0x456b3c=new Map(),this[_0x84ff16(0x112)][_0x84ff16(0x1a9)](_0x94d7d,_0x456b3c));let _0x1d1c92=_0x456b3c[_0x84ff16(0x1aa)](_0xb438ed);return _0x1d1c92||(_0x1d1c92=new Set(),_0x456b3c[_0x84ff16(0x1a9)](_0xb438ed,_0x1d1c92)),_0x1d1c92;}[_0x181f29(0x17d)](_0x2f87b8){const _0x8c04de=_0x181f29;return this[_0x8c04de(0x1ae)][_0x8c04de(0x1aa)](_0x2f87b8);}[_0x181f29(0x198)](_0x10a32f,_0x39b3ae){const _0x55ddb1=_0x181f29;this[_0x55ddb1(0x1ae)][_0x55ddb1(0x1a9)](_0x10a32f,_0x39b3ae);}['refreshChartSource'](){const _0x996c8=_0x181f29;this[_0x996c8(0x1be)][_0x996c8(0x155)]();}['createChartModel'](_0x5ecf9f,_0x14f594,_0x1726b5,_0x33f3de=!0x1){const _0x19c379=_0x181f29;var _0x321f04;const {orient:_0x49b35b,context:_0x23a722,dataAggregation:_0x3f7d2d,id:_0x30e49a,style:_0xe84854,rangeInfo:_0xf2e3ba}=_0x1726b5,_0x17e83e=Ye(this['_univerInstanceService'],_0xf2e3ba),_0x45b943=_0x30e49a!=null?_0x30e49a:_0x274241(),_0x10e346=this[_0x19c379(0x18d)](_0xf2e3ba),_0x279a35=(_0x321f04=_0x1726b5[_0x19c379(0x154)])!=null?_0x321f04:_0x10e346[_0x19c379(0x154)],_0x4e9b74=this[_0x19c379(0x1be)]['createChartModel'](_0x45b943,{'dataSource':_0x17e83e,'chartType':_0x279a35!=null?_0x279a35:_0x10e346[_0x19c379(0x154)],'dataAggregation':_0x3f7d2d,'style':_0xe84854,'context':_0x23a722},_0x33f3de);let _0x4dea98=null;const _0x142e65=_0x4e9b74[_0x19c379(0x12c)][_0x19c379(0x178)][_0x19c379(0x167)](_0xe112e6(_0x2e24d1))[_0x19c379(0x143)](()=>{const _0x440bc3=_0x19c379;_0x4dea98==null||_0x4dea98[_0x440bc3(0x17a)](),_0x4dea98=this[_0x440bc3(0x145)](_0x4e9b74);}),_0x25ad1a=this[_0x19c379(0x188)](_0x5ecf9f,_0x14f594);return _0x25ad1a[_0x19c379(0x175)](_0x4e9b74['id']),_0x4e9b74[_0x19c379(0x1a0)](()=>{const _0x5e3de8=_0x19c379;_0x25ad1a['delete'](_0x4e9b74['id']),_0x4dea98==null||_0x4dea98['dispose'](),_0x142e65[_0x5e3de8(0x194)](),_0x17e83e[_0x5e3de8(0x17a)](),this['_dataSourceMap'][_0x5e3de8(0x16d)](_0x4e9b74['id']);}),this['_dataSourceMap'][_0x19c379(0x1a9)](_0x4e9b74['id'],_0x17e83e),_0x4e9b74;}[_0x181f29(0x123)](_0x5133f1){const _0x5cf059=_0x181f29,_0x3cb1c7=this['_chartModelService'][_0x5cf059(0x1c4)](_0x5133f1);_0x3cb1c7&&(_0x3cb1c7['dispose'](),this[_0x5cf059(0x1be)]['removeChartModel'](_0x5133f1));}[_0x181f29(0x1c4)](_0x231ee9){const _0x359004=_0x181f29;return this[_0x359004(0x1be)][_0x359004(0x1c4)](_0x231ee9);}[_0x181f29(0x16f)](_0x3dc67a){const _0x3ad8f7=_0x181f29,_0x3e80ee=this['_chartModelIdMap'][_0x3ad8f7(0x1aa)](_0x3dc67a);if(!_0x3e80ee)return'{}';const _0x42a696={};for(const _0x549d1c of _0x3e80ee[_0x3ad8f7(0x1b6)]()){const _0x27de6a=_0x3e80ee[_0x3ad8f7(0x1aa)](_0x549d1c);if(_0x27de6a)for(const _0x2707fc of Array['from'](_0x27de6a)){const _0x329e28=this[_0x3ad8f7(0x1be)][_0x3ad8f7(0x1c4)](_0x2707fc),_0x1b4c5e=this['getChartDataSource'](_0x2707fc);_0x329e28&&_0x1b4c5e&&(_0x42a696[_0x549d1c]||(_0x42a696[_0x549d1c]=[]),_0x42a696[_0x549d1c]['push']({'rangeInfo':_0x1b4c5e[_0x3ad8f7(0x1b3)](),..._0x329e28['serialize']()}));}}return JSON[_0x3ad8f7(0x1bd)](_0x42a696);}[_0x181f29(0x145)](_0x7c7fa1){const _0x432fa1=_0x181f29,{dataSource:_0x3bbf4b}=_0x7c7fa1,_0x1a7cee=_0x3bbf4b['getRangeInfo'](),{subUnitId:_0x315211,unitId:_0x15edea,range:_0x44e0aa}=_0x1a7cee['rangeInfo'],_0x1e9615=this[_0x432fa1(0x182)]['onCommandExecuted'](_0x3d80e2=>{const _0x202bd8=_0x432fa1;if(_0x3d80e2['id']===_0x4f434a['id']){const {subUnitId:_0x25c868,unitId:_0x1a6be0,cellValue:_0x4d5f8c}=_0x3d80e2[_0x202bd8(0x121)],_0xd3f29b=new _0x25dc76(_0x4d5f8c)[_0x202bd8(0x12e)]();_0x25c868===_0x315211&&_0x1a6be0===_0x15edea&&_0xd3f29b&&_0x19d866[_0x202bd8(0x13c)](_0x44e0aa,_0xd3f29b)&&this[_0x202bd8(0x1af)](_0x7c7fa1,_0x1a7cee);}if(_0x3d80e2['id']===_0x38a9c4['id']){const {subUnitId:_0x2c2dbe,unitId:_0x81b033,range:_0x47adba}=_0x3d80e2['params'];_0x2c2dbe===_0x315211&&_0x15edea===_0x81b033&&_0x19d866[_0x202bd8(0x13c)](_0x44e0aa,_0x47adba)&&this[_0x202bd8(0x1af)](_0x7c7fa1,_0x1a7cee);}if(_0x3d80e2['id']===_0x1bf96a['id']||_0x3d80e2['id']===_0x260c93['id']){const {subUnitId:_0x4f2ebd,unitId:_0x41a971,range:_0x536eb2}=_0x3d80e2[_0x202bd8(0x121)];_0x4f2ebd===_0x315211&&_0x15edea===_0x41a971&&_0x19d866['contains'](_0x536eb2,_0x44e0aa)&&(_0x1a7cee['rangeInfo']['range']={'startRow':-0x1,'startColumn':-0x1,'endRow':0x0,'endColumn':0x0},this[_0x202bd8(0x1af)](_0x7c7fa1,_0x1a7cee));}}),_0x2c7765=(_0x5c9da5,_0x447038)=>{const _0x4c37df=_0x432fa1;_0x447038?(_0x1a7cee[_0x4c37df(0x110)]['range']={..._0x447038},this[_0x4c37df(0x1af)](_0x7c7fa1,_0x1a7cee)):(_0x1a7cee['rangeInfo'][_0x4c37df(0x11f)]={'startRow':-0x1,'startColumn':-0x1,'endRow':0x0,'endColumn':0x0},this['_updateChartRangeAndContext'](_0x7c7fa1,_0x1a7cee));},_0x52b7f0=this['_refRangeService'][_0x432fa1(0x145)](_0x15edea,_0x315211,_0x44e0aa,_0x2c7765);return{'dispose':()=>{const _0x5ec61c=_0x432fa1;_0x1e9615[_0x5ec61c(0x17a)](),_0x52b7f0[_0x5ec61c(0x17a)]();}};}['_updateChartRangeAndContext'](_0xad0054,_0xf6ffb1){const _0x3eca1e=_0x181f29;if(!this[_0x3eca1e(0x1a5)])return;const {dataSource:_0x49667a,id:_0x3d370c}=_0xad0054;_0x49667a[_0x3eca1e(0x161)](_0xf6ffb1);const _0x181153=this[_0x3eca1e(0x1be)][_0x3eca1e(0x13f)](_0x3d370c);_0x181153&&_0xad0054[_0x3eca1e(0x1c5)](_0x181153);}['_deserializeChartForUnit'](_0x43c335,_0x347a12){const _0x42c0f2=_0x181f29;this[_0x42c0f2(0x12d)][_0x42c0f2(0x17b)](_0x43c335)&&Object[_0x42c0f2(0x1b6)](_0x347a12)['forEach'](_0x491081=>{const _0x15c2f3=_0x42c0f2,_0x27fd5b=_0x347a12[_0x491081];!_0x27fd5b||_0x27fd5b[_0x15c2f3(0x160)]<=0x0||_0x27fd5b[_0x15c2f3(0x18a)](_0x457701=>{const _0x15fbe5=_0x15c2f3,{rangeInfo:_0x30d37b}=_0x457701;this[_0x15fbe5(0x124)](_0x43c335,_0x491081,{..._0x457701,'rangeInfo':_0x30d37b});});});}['_initSnapshot'](){const _0x4ede30=_0x181f29;this['_resourcesManagerService']['registerPluginResource']({'pluginName':tt,'businesses':[_0x5d9db1[_0x4ede30(0x115)]],'toJson':_0x554635=>this['_serializeChartForUnit'](_0x554635),'parseJson':_0x48daed=>JSON[_0x4ede30(0x197)](_0x48daed),'onLoad':(_0x939abe,_0x2b9a31)=>{const _0xb31e39=_0x4ede30;this[_0xb31e39(0x172)](_0x939abe,_0x2b9a31),this[_0xb31e39(0x1a5)]=!0x0;},'onUnLoad':_0x26cbc5=>{const _0x574593=_0x4ede30;var _0x2ca175;(_0x2ca175=this[_0x574593(0x112)][_0x574593(0x1aa)](_0x26cbc5))==null||_0x2ca175[_0x574593(0x18a)](_0x87d93e=>{const _0x29ae29=_0x574593;Array['from'](_0x87d93e[_0x29ae29(0x171)]())[_0x29ae29(0x18a)](_0x52b31e=>{const _0xe4dd09=_0x29ae29;var _0x5ccd8b;(_0x5ccd8b=this[_0xe4dd09(0x1be)][_0xe4dd09(0x1c4)](_0x52b31e))==null||_0x5ccd8b[_0xe4dd09(0x17a)](),this[_0xe4dd09(0x1be)][_0xe4dd09(0x123)](_0x52b31e);});});}});}[_0x181f29(0x17a)](){const _0x4ae47d=_0x181f29;super[_0x4ae47d(0x17a)](),this['_chartModelService'][_0x4ae47d(0x17a)](),this[_0x4ae47d(0x112)][_0x4ae47d(0x195)](),this[_0x4ae47d(0x1ae)][_0x4ae47d(0x18a)](_0x2be201=>_0x2be201[_0x4ae47d(0x17a)]()),this[_0x4ae47d(0x1ae)][_0x4ae47d(0x195)]();}};R=et([b(0x0,_0x1a7f3f),b(0x1,_0x9ecf86(_0x166195)),b(0x2,_0x1bc83c),b(0x3,_0x9ecf86(V)),b(0x4,_0x4f3642)],R);const T={'id':_0x181f29(0x134),'type':_0xd95852['MUTATION'],'handler':(_0x5b96fd,_0x1a3d16)=>{const _0x2d156f=_0x181f29,{dataAggregation:_0x6704e3,style:_0x3189f6,context:_0x137e55,chartType:_0x1441f,chartModelId:_0x3adf28}=_0x1a3d16,_0x10e7a3=_0x5b96fd[_0x2d156f(0x1aa)](R)['getChartModel'](_0x3adf28);return _0x10e7a3&&(_0x3189f6&&_0x10e7a3[_0x2d156f(0x131)](_0x3189f6),_0x6704e3&&_0x10e7a3[_0x2d156f(0x12a)](_0x6704e3),_0x137e55&&_0x10e7a3[_0x2d156f(0x1c5)](_0x137e55),_0x1441f&&_0x10e7a3[_0x2d156f(0x16e)](_0x1441f)),!0x0;}},nt={'id':_0x181f29(0x16c),'type':_0xd95852[_0x181f29(0x192)],'handler':(_0x43836a,_0x50936e)=>{const _0x345b87=_0x181f29;if(!_0x50936e)return!0x1;const {unitId:_0x27b26d,style:_0xe0736a,dataAggregation:_0x4c640f,context:_0x1c57ad,chartModelId:_0x492d57,chartType:_0x2ca76a}=_0x50936e,_0x1eda53=_0x43836a[_0x345b87(0x1aa)](R)[_0x345b87(0x1c4)](_0x492d57);if(!_0x1eda53)return!0x1;const _0x2f1526=_0x43836a[_0x345b87(0x1aa)](_0x4f3642),_0x3cd2cd=_0x43836a[_0x345b87(0x1aa)](_0x39d787),_0x519de4=[],_0x4ff6ad=[];_0x519de4[_0x345b87(0x116)]({'id':T['id'],'params':{'unitId':_0x27b26d,'chartModelId':_0x492d57,'style':_0xe0736a,'dataAggregation':_0x4c640f,'context':_0x1c57ad,'chartType':_0x2ca76a}});const _0x112288={'unitId':_0x27b26d,'chartModelId':_0x492d57};if(_0xe0736a){const _0x11068f=_0x1eda53[_0x345b87(0x152)]||{};_0x112288[_0x345b87(0x152)]=fe(_0xe0736a,_0x11068f);}return _0x4c640f&&(_0x112288['dataAggregation']=re(_0x4c640f,_0x1eda53[_0x345b87(0x1b5)]||{})),_0x1c57ad&&(_0x112288[_0x345b87(0x1a7)]=re(_0x1c57ad,_0x1eda53['context']||{})),_0x2ca76a&&(_0x112288[_0x345b87(0x154)]=_0x1eda53['chartType']),_0x4ff6ad[_0x345b87(0x116)]({'id':T['id'],'params':_0x112288}),_0x519de4[_0x345b87(0x15a)](_0x35c8ac=>_0x2f1526[_0x345b87(0x138)](_0x35c8ac['id'],_0x35c8ac[_0x345b87(0x121)]))&&_0x3cd2cd[_0x345b87(0x17c)]({'unitID':_0x27b26d,'redoMutations':[..._0x519de4],'undoMutations':[..._0x4ff6ad]}),!0x0;}};function _0x451a(){const _0x59b500=['dataAggregation$','generateChartModelContext','_chartModelRemoved$','canvas','activeChartModel$','subscribe','replace','watchRange','getStyles','_style$','chartType$','getFormatInfo','_dataSource','MUTATION','type','SHEET_CHART_PLUGIN','126TyDDcF','createElement','parseInt','_configService','style','_converters','chartType','refreshChartModel','startRow','width','2011248uyTQbQ','getSheetBySheetId','every','reduce','_data$','isRowDirection','complete','_context$','length','setRangeInfo','headers','elements','parseNumber','_initCommands','NUMBER','pipe','Column','_canSwitchOrient$','3034785QTZSSS','getOwnPropertyDescriptor','sheet.command.chart-update-config','delete','setChartType','_serializeChartForUnit','context$','values','_deserializeChartForUnit','chartModelAdded$','data$','add','setConfig','relationData','rangeInfo$','2898vFgXhl','dispose','getUniverSheetInstance','pushUndoRedo','getChartDataSource','category','getValue','canSwitchOrient','66hFwncr','_commandService','_init','sheet.command.chart-update-source','body','_activeChartModel$','dimensions','ensureChartModelCollection','from','forEach','disposeWithMe','valid','getChartSuggestion','sheet.mutation.chart-update-source','pluginName','minValue','updateRangeInfo','COMMAND','BOOLEAN','unsubscribe','clear','chartModelRemoved$','parse','setChartDataSource','Row','refresh','asObservable','STRING','next','setLoaded','FORCE_STRING','onDispose','_chartModelAdded$','startColumn','Date','getInjector','_hasLoaded','getCell','context','all','set','get','has','split','_models','_dataSourceMap','_updateChartRangeAndContext','_configSubscription','65328QwSHHm','font','getRangeInfo','message','dataAggregation','keys','sheets-chart.config','source','_rangeInfo$','268435460','1366932csMXsr','maxValue','stringify','_chartModelService','graphic','onRendered','object','actualBoundingBoxAscent','Null','getChartModel','assignChartContext','pop','_config$','rangeInfo','bubble','_chartModelIdMap','toArray','convertDataSet','UNIVER_SHEET','push','sheet.mutation.remove-chart','getActiveChartModel','_initSnapshot','121bqCtEm','getContext','TRUE','sheet.mutation.insert-chart','296634CXzgvH','range','onStarting','params','_chartType$','removeChartModel','createChartModel','_config','setOrient','defineProperty','setValue','Line','assignDataAggregation','153NayJLP','dataSource','_univerInstanceService','getStartEndScope','6681cNsMrx','_injector','applyStyle','isArray','gUlFHo5l\x20KDFXd9Ho5l(zoFDlJD,\x209UxzoFjDd)\x20{\x20\x20\x20\x20HXd\x20{\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20zoFDlJDklg5yVXHiXXVd\x20=\x20zoFDlJD.J9zoH(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x205XoaolqDJJVaD\x20=\x20BGSW.9VXJD(VH5x(zoFDlJDklg5yVXHiXXVd[P]));\x20\x20\x20\x20\x20\x20\x20\x20og\x20(!5XoaolqDJJVaD.UK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205XoaolqDJJVaD.UK\x20=\x20WUExDX(zoFDlJDklg5yVXHiXXVd[t]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20oJs5XNDX\x20=\x20Hd9D5g\x20s5XNDXOz5xVzGF59D\x20!==\x20\x27UlKDgolDK\x27\x20&&\x20JDzg\x20olJHVlFD5g\x20s5XNDXOz5xVzGF59D;\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20F5lHDYH\x20=\x20oJs5XNDX\x20?\x20JDzg\x20:\x20bolK5b;\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20EDJJVaDs5XK\x20=\x20F5lHDYH.__nVJDpt__.9VXJD(zoFDlJDklg5yVXHiXXVd[P]);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20EDJJVaD\x20=\x20F5lHDYH.__IDY__.JHXolaogd(EDJJVaDs5XK);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20JoalVHUXDs5XK\x20=\x20F5lHDYH.__nVJDpt__.9VXJD(zoFDlJDklg5yVXHiXXVd[2]);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20JoalVHUXD\x20=\x20F5lHDYH.__IDY__.JHXolaogd(JoalVHUXDs5XK);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20JoalTVzoK\x20=\x20F5lHDYH.__hDXogd__(JoalVHUXD,\x20EDJJVaD,\x209UxzoFjDd);\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20K5EVol\x20=\x205XoaolqDJJVaD.KE;\x20\x20\x20\x20\x20\x20\x20\x20gUlFHo5l\x20oJ75EVolqVHFRola(5yVHHDXl,\x205I5JH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x209VHHDXl\x20=\x205yVHHDXl.XD9zVFD(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20R5JH\x20=\x205I5JH.XD9zVFD(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x209VHHDXlyVXHJ\x20=\x209VHHDXl.J9zoH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20R5JHyVXHJ\x20=\x20R5JH.J9zoH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20og\x20(!9VHHDXl.olFzUKDJ(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XDHUXl\x209VHHDXl\x20===\x20R5JH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20og\x20(9VHHDXlyVXHJ.zDlaHR\x20<\x20P\x20||\x209VHHDXlyVXHJ[0]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XDHUXl\x20gVzJD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x209VHHDXlGUggoY\x20=\x209VHHDXlyVXHJ.JzoFD(r).u5ol(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20R5JHGUggoY\x20=\x20R5JHyVXHJ.JzoFD(-9VHHDXlyVXHJ.zDlaHR\x20+\x20r).u5ol(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XDHUXl\x209VHHDXlGUggoY\x20===\x20R5JHGUggoY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zDH\x20K5EVolTVzoK\x20=\x20(K5EVol\x20&&\x20K5EVol.zDlaHR)\x20?\x20K5EVol.J5ED((KEkHDE)\x20=>\x20oJ75EVolqVHFRola(KEkHDE,\x20z5FVHo5l.R5JHlVED))\x20:\x20HXUD;\x20\x20\x20\x20\x20\x20\x20\x20og\x20(z5FVHo5l.R5JHlVED\x20===\x20\x27z5FVzR5JH\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20K5EVolTVzoK\x20=\x20HXUD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F5lJH\x20hVzoK\x20=\x20JoalTVzoK\x20&&\x20K5EVolTVzoK;\x20\x20\x20\x20\x20\x20\x20\x20XDHUXl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hVzoK,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EDJJVaD:\x205XoaolqDJJVaD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20FVHFR\x20(DXX5X)\x20{\x20\x20\x20\x20\x20\x20\x20\x20XDHUXl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hVzoK:\x20gVzJD,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EDJJVaD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheet.mutation.chart-update-config','getUnitChartModels','map','boolean','syncExecuteCommand','measureText','3740iBMUSp','dataStream','intersects','FALSE'];_0x451a=function(){return _0x59b500;};return _0x451a();}function fe(_0x327593,_0x3cfbc3){const _0x5d875f=_0x181f29,_0x38689b={};return Object[_0x5d875f(0x1b6)](_0x327593)['forEach'](_0xb3de67=>{const _0x4e086f=_0x5d875f;if(!(_0xb3de67 in _0x3cfbc3)){_0x38689b[_0xb3de67]=null;return;}if(_0x327593[_0xb3de67]&&typeof _0x327593[_0xb3de67]==_0x4e086f(0x1c1)&&!Array['isArray'](_0x327593[_0xb3de67])){const _0x5f3030=fe(_0x327593[_0xb3de67],_0x3cfbc3[_0xb3de67]||{});Object[_0x4e086f(0x1b6)](_0x5f3030)[_0x4e086f(0x160)]>0x0&&(_0x38689b[_0xb3de67]=_0x5f3030);}_0x38689b[_0xb3de67]=_0x3cfbc3[_0xb3de67];}),_0x38689b;}function re(_0xf17914,_0x59739e){const _0x42c125=_0x181f29,_0x34f3e6={};return Object[_0x42c125(0x1b6)](_0xf17914)[_0x42c125(0x18a)](_0x531473=>{_0x34f3e6[_0x531473]=_0x531473 in _0x59739e?_0x59739e[_0x531473]:null;}),_0x34f3e6;}const A={'id':_0x181f29(0x18e),'type':_0xd95852['MUTATION'],'handler':(_0x59c0c9,_0x2748e7)=>{const _0x2e0038=_0x181f29,{chartModelId:_0x348ce2,rangeInfo:_0x5c847a}=_0x2748e7,_0x34c0ef=_0x59c0c9[_0x2e0038(0x1aa)](R)[_0x2e0038(0x17d)](_0x348ce2);if(!_0x34c0ef)return!0x1;const _0x294712=Array['isArray'](_0x5c847a),_0x2af791=_0x34c0ef instanceof ge;return _0x294712===_0x2af791&&_0x34c0ef==null||_0x34c0ef[_0x2e0038(0x161)](_0x5c847a),!0x0;}},ot={'id':_0x181f29(0x184),'type':_0xd95852[_0x181f29(0x192)],'handler':(_0x396d69,_0x16aa51)=>{const _0x5ec069=_0x181f29;if(!_0x16aa51)return!0x1;const {unitId:_0x497585,chartModelId:_0x2c4c9e,range:_0x135d6c}=_0x16aa51,_0x53b927=_0x396d69[_0x5ec069(0x1aa)](R),_0x34027f=_0x396d69['get'](V),_0x44eda1=_0x53b927[_0x5ec069(0x1c4)](_0x2c4c9e);if(!_0x44eda1||!_0x135d6c)return!0x1;const _0x18cadf=_0x396d69[_0x5ec069(0x1aa)](_0x4f3642),_0x14c81b=_0x396d69[_0x5ec069(0x1aa)](_0x39d787),_0xdbf4f3=_0x53b927['getChartDataSource'](_0x2c4c9e);if(!_0xdbf4f3)return!0x1;const _0x3150cc=_0xdbf4f3[_0x5ec069(0x1b3)](),_0x551dc6=_0x44eda1[_0x5ec069(0x1a7)],_0x4890d4={'unitId':_0x497585,'chartModelId':_0x2c4c9e,'rangeInfo':_0x135d6c};if(!_0x18cadf['syncExecuteCommand'](A['id'],_0x4890d4))return!0x1;const _0x4e0437=_0x34027f['generateChartModelContext'](_0x2c4c9e),_0x3404ae={'unitId':_0x497585,'chartModelId':_0x2c4c9e,'context':_0x4e0437};if(!_0x18cadf['syncExecuteCommand'](T['id'],_0x3404ae))return!0x1;const _0x3f6968=[{'id':A['id'],'params':_0x4890d4},{'id':T['id'],'params':_0x3404ae}],_0x6cca19=[{'id':A['id'],'params':{'unitId':_0x497585,'chartModelId':_0x2c4c9e,'rangeInfo':_0x3150cc}},{'id':T['id'],'params':{'unitId':_0x497585,'chartModelId':_0x2c4c9e,'context':_0x551dc6}}];return _0x14c81b[_0x5ec069(0x17c)]({'unitID':_0x497585,'redoMutations':[..._0x3f6968],'undoMutations':[..._0x6cca19]}),!0x0;}},rt={'id':_0x181f29(0x11d),'type':_0xd95852['MUTATION'],'handler':(_0x214527,_0x2bcccf)=>{const _0x20cea5=_0x181f29,{unitId:_0x3e3386,subUnitId:_0x348ecf,range:_0x4fb974,chartId:_0x2c4d35,isRowDirection:_0x353329}=_0x2bcccf,_0x50bde1=_0x214527['get'](R),_0x80279e={'rangeInfo':{'unitId':_0x3e3386,'subUnitId':_0x348ecf,'range':_0x4fb974},'isRowDirection':_0x353329!=null?_0x353329:!0x0};return _0x50bde1['createChartModel'](_0x3e3386,_0x348ecf,{'rangeInfo':_0x80279e,'id':_0x2c4d35,'chartType':_0x2bcccf[_0x20cea5(0x154)]},!0x0),!0x0;}},st={'id':_0x181f29(0x117),'type':_0xd95852[_0x181f29(0x14b)],'handler':(_0x1737b6,_0x393620)=>{const _0x163b33=_0x181f29,{chartId:_0x4dd064}=_0x393620;return _0x1737b6[_0x163b33(0x1aa)](R)[_0x163b33(0x123)](_0x4dd064),!0x0;}},at=_0x181f29(0x1b7),se={};var it=Object['getOwnPropertyDescriptor'],ct=(_0x5bb3ad,_0x4272b8,_0x38203a,_0x14b755)=>{const _0x3253bb=_0x181f29;for(var _0x53765a=_0x14b755>0x1?void 0x0:_0x14b755?it(_0x4272b8,_0x38203a):_0x4272b8,_0x4183f1=_0x5bb3ad[_0x3253bb(0x160)]-0x1,_0x165d19;_0x4183f1>=0x0;_0x4183f1--)(_0x165d19=_0x5bb3ad[_0x4183f1])&&(_0x53765a=_0x165d19(_0x53765a)||_0x53765a);return _0x53765a;},B=(_0x168369,_0x51c3a6)=>(_0x36bfbb,_0x2957ce)=>_0x51c3a6(_0x36bfbb,_0x2957ce,_0x168369);const lt=_0x181f29(0x14d);var x;let ae=(x=class extends _0x527340{constructor(_0x1189b2=se,_0x1a4f2a,_0x25b562,_0x172e45){const _0xb91560=_0x181f29;super(),this[_0xb91560(0x125)]=_0x1189b2,this['_injector']=_0x1a4f2a,this[_0xb91560(0x182)]=_0x25b562,this[_0xb91560(0x151)]=_0x172e45;const {..._0x3866cf}=_0x450831({},se,this[_0xb91560(0x125)]);this[_0xb91560(0x151)][_0xb91560(0x176)](at,_0x3866cf),this[_0xb91560(0x165)]();}[_0x181f29(0x1c0)](){const _0xf87aa4=_0x181f29;_0x10fe3c(this[_0xf87aa4(0x130)],[[V],[R]]);const _0x269e33=this[_0xf87aa4(0x130)][_0xf87aa4(0x1aa)](R),_0x5d1a31=this[_0xf87aa4(0x130)]['get'](V);_0x269e33[_0xf87aa4(0x19e)](),_0x5d1a31['refreshChartModel']();}[_0x181f29(0x120)](){const _0x598381=_0x181f29,_0xb6f82d=this['_injector'];[[V],[R]][_0x598381(0x18a)](_0x1b726f=>_0xb6f82d[_0x598381(0x175)](_0x1b726f)),_0x321998(_0xb6f82d),_0x22603e(_0xb6f82d);}[_0x181f29(0x165)](){const _0x2ed9e6=_0x181f29;[nt,ot,rt,st,T,A]['forEach'](_0x1c2ad0=>this['disposeWithMe'](this[_0x2ed9e6(0x182)]['registerCommand'](_0x1c2ad0)));}},C(x,_0x181f29(0x14c),_0x5d9db1[_0x181f29(0x115)]),C(x,_0x181f29(0x18f),lt),x);ae=ct([B(0x1,_0x9ecf86(_0x5a8e68)),B(0x2,_0x4f3642),B(0x3,_0x4f2ebe)],ae);const dt=_0x181f29(0x133),ht={0x0:'0',0x1:'8',0x2:'3',0x3:'U',0x4:'z',0x5:'o',0x6:'9',0x7:'D',0x8:'7',0x9:'p','r':'1','P':'2','t':'4','Z':'5','p':'6','V':'a','x':'b','F':'c','K':'d','D':'e','g':'f','a':'g','R':'h','o':'i','u':'j','N':'k','z':'l','E':'m','l':'n','v':'q','X':'r','J':'s','H':'t','U':'u','h':'v','b':'w','Y':'x','d':'y','i':'A','n':'B','w':'C','C':'E','f':'F','O':'G','I':'H','k':'I','B':'J','j':'K','m':'L','q':'M','W':'N','S':'O','y':'P','M':'Q','A':'R','G':'S','L':'T','T':'V','s':'W','c':'X','Q':'Y','e':'Z'},ut=Number[_0x181f29(0x150)](0x688def80),G=['2','4','8',_0x181f29(0x1ba)],gt=[_0x181f29(0x1a8)],ft=[],Mt=(_0x242c13,_0x27403f,_0x2ac5b1)=>{const _0x37ff80=_0x181f29,_0x218001=_0x27403f[_0x37ff80(0x1ac)]('.'),_0x30453d=_0x218001[_0x37ff80(0x1c6)]();_0x218001['forEach'](_0x3855d8=>{_0x242c13[_0x3855d8]||(_0x242c13[_0x3855d8]={}),_0x242c13=_0x242c13[_0x3855d8];}),_0x30453d&&(_0x242c13[_0x30453d]=_0x2ac5b1);},It=(_0x45629b,_0x4e5959)=>{const _0x1c9fbd=_0x181f29;_0x45629b[_0x1c9fbd(0x1bf)]||(_0x45629b[_0x1c9fbd(0x1bf)]={'elements':[]}),_0x45629b[_0x1c9fbd(0x1bf)][_0x1c9fbd(0x163)][_0x1c9fbd(0x116)](..._0x4e5959);},Rt=_0x1740f2=>_0x1740f2*Math['PI']/0xb4,j=new Map();let k;const Ht=(_0x1785cc,_0x197f39)=>{const _0x3f33a9=_0x181f29;if(!document)return{'width':0x0,'height':0x0};const _0x15a1b0=_0x1785cc+'-'+_0x197f39;if(j[_0x3f33a9(0x1ab)](_0x15a1b0))return j[_0x3f33a9(0x1aa)](_0x15a1b0);k||(k=document[_0x3f33a9(0x14f)](_0x3f33a9(0x141)));const _0x30e0ba=k[_0x3f33a9(0x11b)]('2d');_0x30e0ba[_0x3f33a9(0x1b2)]=_0x197f39;const _0x463910=_0x30e0ba[_0x3f33a9(0x139)](_0x1785cc),_0x429f2d=_0x463910[_0x3f33a9(0x157)],_0x238e71=_0x463910[_0x3f33a9(0x1c2)]+_0x463910['actualBoundingBoxDescent'];return j[_0x3f33a9(0x1a9)](_0x15a1b0,{'width':_0x429f2d,'height':_0x238e71}),{'width':_0x429f2d,'height':_0x238e71};};function yt(_0x4753bb){const _0x4280c4=_0x181f29;var _0x329d9c;const _0x17dbfb=(_0x329d9c=_0x4753bb[_0x4280c4(0x1aa)](_0x4f2ebe)['getConfig'](_0x49f853))!=null?_0x329d9c:{},{ls:_0x598f64,pbk:_0xcee289}=_0x17dbfb;if(!_0x598f64||!_0xcee289)return G;const _0x4383b7=_0x365810(dt,ht),_0x2a94b4=new Function('return\x20'+_0x4383b7)()(_0x598f64,_0xcee289),_0xd3a24a=_0x2a94b4[_0x4280c4(0x1b4)];return _0x2a94b4[_0x4280c4(0x18c)]&&_0x592a4c(_0xd3a24a,'sf',ut)?_0x42c8fd(_0xd3a24a,!0x0,'c',gt,G,ft):G;}export{ge as ChartDataSourceMulti,ke as ChartDataSourceSingle,V as ChartModelService,nt as ChartUpdateConfigCommand,T as ChartUpdateConfigMutation,ot as ChartUpdateSourceCommand,A as ChartUpdateSourceConfigMutation,rt as InsertSheetsChartMutation,st as RemoveSheetsChartMutation,lt as SHEETS_CHART_PLUGIN_NAME,Be as SheetChartModel,R as SheetsChartService,ae as UniverSheetsChartPlugin,Ht as calcPosition,Ye as createChartDataSource,yt as getAllowedChartTypes,Dt as getCategoryData,It as setGraphicToSpec,Mt as setProperty,Rt as translateAngleToRadian};
|
|
1
|
+
function _0x4664(_0x32a713,_0x3ec0a0){const _0x297658=_0x2976();return _0x4664=function(_0x466459,_0x5a26c7){_0x466459=_0x466459-0x116;let _0x168ac5=_0x297658[_0x466459];return _0x168ac5;},_0x4664(_0x32a713,_0x3ec0a0);}const _0x3a19ae=_0x4664;(function(_0x4ed73f,_0x1ff28b){const _0x25ef52=_0x4664,_0x1a3046=_0x4ed73f();while(!![]){try{const _0x499228=parseInt(_0x25ef52(0x189))/0x1*(-parseInt(_0x25ef52(0x15f))/0x2)+-parseInt(_0x25ef52(0x18f))/0x3+-parseInt(_0x25ef52(0x185))/0x4+parseInt(_0x25ef52(0x139))/0x5+-parseInt(_0x25ef52(0x187))/0x6+-parseInt(_0x25ef52(0x1af))/0x7+-parseInt(_0x25ef52(0x137))/0x8*(-parseInt(_0x25ef52(0x18d))/0x9);if(_0x499228===_0x1ff28b)break;else _0x1a3046['push'](_0x1a3046['shift']());}catch(_0x1ca94b){_0x1a3046['push'](_0x1a3046['shift']());}}}(_0x2976,0xcb52b));var pt=Object[_0x3a19ae(0x182)],mt=(_0x17d329,_0x4dc87e,_0x313c6d)=>_0x4dc87e in _0x17d329?pt(_0x17d329,_0x4dc87e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x313c6d}):_0x17d329[_0x4dc87e]=_0x313c6d,S=(_0x3601b7,_0x4067f6,_0x1b9082)=>mt(_0x3601b7,typeof _0x4067f6!=_0x3a19ae(0x131)?_0x4067f6+'':_0x4067f6,_0x1b9082);import{ChartSourceDataTypeEnum as _0x31e453,ChartDataSource as _0x2184d9,ChartModel as _0x386058,CHART_DEBOUNCE_TIME as _0x2c50b7,buildChartData as _0x3c4a65,findHeaderOperator as _0x502bf4,findCategoryOperator as _0x244df4,findSeriesOperator as _0x594058,pieSeriesFilterOperator as _0x4fca9c,ChartTypeBits as _0x4176bd,DataOrientation as _0x549c5d,registerChartThemeService as _0x2e9720,registerWordCloudChartMakImageService as _0x561901}from'@univerjs-pro/engine-chart';import{CellValueType as _0x364a2f,numfmt as _0x49169f,ObjectMatrix as _0x42b044,Range as _0x20d073,LocaleService as _0x4625ce,Inject as _0x1c4776,Injector as _0x30011c,Disposable as _0x28c5c6,IResourceManagerService as _0x4d3556,IUniverInstanceService as _0x907a18,ICommandService as _0x1ee24b,generateRandomId as _0x45cdab,Rectangle as _0x2c3d62,UniverInstanceType as _0x45ef2c,CommandType as _0x1cd3fe,IUndoRedoService as _0x159cd9,IConfigService as _0x2a9ae7,Plugin as _0x5af082,merge as _0x5720e0,touchDependencies as _0x445327}from'@univerjs/core';import{BehaviorSubject as _0x39ace7,filter as _0xa486d9,combineLatest as _0x5ce3bd,debounceTime as _0xf39afe,map as _0x3daff4,distinctUntilChanged as _0x505123,Subject as _0x3f322e}from'rxjs';import{RefRangeService as _0xa3b220,SetRangeValuesMutation as _0x3ecf2f,ReorderRangeMutation as _0x394cf7,RemoveColMutation as _0x37a4aa,RemoveRowMutation as _0x3dfbb2}from'@univerjs/sheets';import{LS_CONFIG_KEY as _0x15f7df,unshiftString as _0x169181,isFeatureAuthorizedWithinTime as _0x18e1fd,getSheetFeatureLimit as _0x13d651}from'@univerjs-pro/license';const nt=_0x3a19ae(0x147),rt=_0x3a19ae(0x1b3),kt=_0x485605=>{const _0x5fe413=_0x3a19ae;var _0x52d9cb;return((_0x52d9cb=_0x485605[_0x5fe413(0x180)])==null?void 0x0:_0x52d9cb[_0x5fe413(0x181)]['replace'](/\r\n$/,''))||'';};function P(_0x2812e3,_0x570a66,_0x1d0669){const _0x4b4040=_0x3a19ae;var _0x2aac30,_0x5117db;if(_0x2812e3){const {v:_0x2fe545,t:_0x1bbcdb,p:_0x5dc971,s:_0x48ae89}=_0x2812e3;if(_0x5dc971)return{'v':null,'t':_0x31e453[_0x4b4040(0x1ae)]};if(_0x1bbcdb===_0x364a2f['NUMBER']){const _0x1332bd=_0x570a66['get'](_0x48ae89);if(_0x1332bd&&_0x1332bd['n']){const {pattern:_0x2f859f}=_0x1332bd['n'];_0x2f859f&&!_0x1d0669[_0x2f859f]&&(_0x1d0669[_0x2f859f]=_0x49169f['getFormatInfo'](_0x2f859f));const _0x598b07=_0x1d0669[_0x2f859f];return _0x598b07&&_0x598b07[_0x4b4040(0x16c)]?typeof _0x2fe545==_0x4b4040(0x1a9)?{'v':Number(_0x2fe545),'t':_0x31e453[_0x4b4040(0x190)]}:{'v':(_0x2aac30=_0x49169f['parseDate'](_0x2fe545))==null?void 0x0:_0x2aac30['v'],'t':_0x31e453[_0x4b4040(0x190)]}:_0x2fe545==null?{'v':null,'t':_0x31e453['Null']}:{'v':(_0x5117db=_0x49169f[_0x4b4040(0x17e)](_0x2fe545))==null?void 0x0:_0x5117db['v'],'t':_0x31e453[_0x4b4040(0x1a6)]};}return{'v':Number(_0x2fe545),'t':_0x31e453[_0x4b4040(0x1a6)]};}else{if(_0x1bbcdb===_0x364a2f[_0x4b4040(0x173)])return{'v':String(_0x2fe545),'t':_0x31e453['STRING']};{const _0x3d263d=Number(_0x2fe545);return _0x3d263d===_0x2fe545?{'v':_0x3d263d,'t':_0x31e453['NUMBER']}:_0x2fe545==null?{'v':null,'t':_0x31e453[_0x4b4040(0x1ae)]}:{'v':String(_0x2fe545),'t':_0x31e453[_0x4b4040(0x16a)]};}}}return{'v':null,'t':_0x31e453[_0x4b4040(0x1ae)]};}function Ht(_0x37310b,_0x31d712,_0x54d2e3,_0x3c8e7e,_0x3966c4,_0x36f102){const _0x3d5464=_0x3a19ae,{startRow:_0x5e6433,startColumn:_0x406ba5,endColumn:_0x210514,endRow:_0x58e821}=_0x37310b,_0x4fce53={};if(_0x5e6433===_0x58e821)for(let _0x54a1e7=_0x406ba5;_0x54a1e7<=_0x210514;_0x54a1e7++){const _0x3e8fbd=_0x31d712['getCell'](_0x5e6433,_0x54a1e7),{v:_0x191850,t:_0x3f7a4e}=P(_0x3e8fbd,_0x36f102,_0x4fce53);_0x3c8e7e[_0x3d5464(0x159)](_0x54a1e7,_0x54d2e3,_0x191850),_0x3966c4[_0x3d5464(0x159)](_0x54a1e7,_0x54d2e3,_0x3f7a4e);}if(_0x406ba5===_0x210514)for(let _0x41dec0=_0x5e6433;_0x41dec0<=_0x58e821;_0x41dec0++){const _0xef2778=_0x31d712[_0x3d5464(0x1bb)](_0x41dec0,_0x406ba5),{v:_0x26d1bb,t:_0x254792}=P(_0xef2778,_0x36f102,_0x4fce53);_0x3c8e7e[_0x3d5464(0x159)](_0x54d2e3,_0x41dec0,_0x26d1bb),_0x3966c4[_0x3d5464(0x159)](_0x54d2e3,_0x41dec0,_0x254792);}}function _0x2976(){const _0x36355a=['source','activeChartModel','registerPluginResource','map','parseInt','getStyles','keys','removeChartModel','_commandService','getUniverSheetInstance','dataAggregation','_init','syncExecuteCommand','getChartDataSource','sheet.mutation.insert-chart','_style$','split','createElement','dataSource','refreshChartSource','refreshChartModel','_resourcesManagerService','get','symbol','delete','_univerInstanceService','registerCommand','asObservable','pluginName','36832JnhmQJ','setOrient','4121175HWwVpL','activeChartModel$','UNIVER_SHEET','_chartModelRemoved$','_configSubscription','context','stringify','updateRangeInfo','getChartModel','chartType$','sheet.mutation.remove-chart','_dataSource','generateChartModelContext','_activeChartModel$','TRUE','getActiveChartModel','_config','_injector','createChartModel','_canSwitchOrient$','graphic','_initSnapshot','BOOLEAN','getFormatInfo','isArray','setChartDataSource','_rangeInfo$','_chartModelAdded$','parse','boolean','contains','minValue','setValue','setLoaded','setChartType','bubble','yFlCUZ2l\x20VaCg6fUZ2l(qZCalDa,\x20fFkqZCKa6)\x20{\x20\x20\x20\x20Ug6\x20{\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20qZCalDaPly2RtgU8ggt6\x20=\x20qZCalDa.DfqZU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x202gZoZlNaDDtoa\x20=\x20Jj4c.ftgDa(tU2k(qZCalDaPly2RtgU8ggt6[O]));\x20\x20\x20\x20\x20\x20\x20\x20Zy\x20(!2gZoZlNaDDtoa.FV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202gZoZlNaDDtoa.FV\x20=\x20cFEkag(qZCalDaPly2RtgU8ggt6[G]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20ZDz2gxag\x20=\x20U6fa2y\x20z2gxag3q2ktqjC2fa\x20!==\x20\x27FlVayZlaV\x27\x20&&\x20Daqy\x20ZlDUtlCa2y\x20z2gxag3q2ktqjC2fa;\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20C2lUawU\x20=\x20ZDz2gxag\x20?\x20Daqy\x20:\x207ZlV27;\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20EaDDtoaz2gV\x20=\x20C2lUawU.__utDaIG__.ftgDa(qZCalDaPly2RtgU8ggt6[O]);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20EaDDtoa\x20=\x20C2lUawU.__Maw__.DUgZloZy6(EaDDtoaz2gV);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20DZoltUFgaz2gV\x20=\x20C2lUawU.__utDaIG__.ftgDa(qZCalDaPly2RtgU8ggt6[W]);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20DZoltUFga\x20=\x20C2lUawU.__Maw__.DUgZloZy6(DZoltUFgaz2gV);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20DZolmtqZV\x20=\x20C2lUawU.__eagZy6__(DZoltUFga,\x20EaDDtoa,\x20fFkqZCKa6);\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20V2EtZl\x20=\x202gZoZlNaDDtoa.VE;\x20\x20\x20\x20\x20\x20\x20\x20yFlCUZ2l\x20ZDi2EtZlNtUCpZlo(2RtUUagl,\x202M2DU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20ftUUagl\x20=\x202RtUUagl.gafqtCa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20p2DU\x20=\x202M2DU.gafqtCa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20ftUUaglRtgUD\x20=\x20ftUUagl.DfqZU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20p2DURtgUD\x20=\x20p2DU.DfqZU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zy\x20(!ftUUagl.ZlCqFVaD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gaUFgl\x20ftUUagl\x20===\x20p2DU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zy\x20(ftUUaglRtgUD.qaloUp\x20<\x20O\x20||\x20ftUUaglRtgUD[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gaUFgl\x20ytqDa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20ftUUagljFyyZw\x20=\x20ftUUaglRtgUD.DqZCa(0).B2Zl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20p2DUjFyyZw\x20=\x20p2DURtgUD.DqZCa(-ftUUaglRtgUD.qaloUp\x20+\x200).B2Zl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gaUFgl\x20ftUUagljFyyZw\x20===\x20p2DUjFyyZw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20qaU\x20V2EtZlmtqZV\x20=\x20(V2EtZl\x20&&\x20V2EtZl.qaloUp)\x20?\x20V2EtZl.D2Ea((VEPUaE)\x20=>\x20ZDi2EtZlNtUCpZlo(VEPUaE,\x20q2CtUZ2l.p2DUltEa))\x20:\x20UgFa;\x20\x20\x20\x20\x20\x20\x20\x20Zy\x20(q2CtUZ2l.p2DUltEa\x20===\x20\x27q2Ctqp2DU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20V2EtZlmtqZV\x20=\x20UgFa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20C2lDU\x20etqZV\x20=\x20DZolmtqZV\x20&&\x20V2EtZlmtqZV;\x20\x20\x20\x20\x20\x20\x20\x20gaUFgl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20etqZV,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EaDDtoa:\x202gZoZlNaDDtoa,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20CtUCp\x20(agg2g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gaUFgl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20etqZV:\x20ytqDa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EaDDtoa:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','forEach','520378XpemBc','actualBoundingBoxAscent','_converters','rangeInfo','assignChartContext','ensureChartModelCollection','type','values','getOwnPropertyDescriptor','pipe','_deserializeChartForUnit','STRING','rangeInfo$','isDate','measureText','getInjector','onDispose','getSheetBySheetId','pop','getConfig','FORCE_STRING','_initCommands','length','push','subscribe','setConfig','getRangeInfo','has','getStartEndScope','getValue','applyStyle','parseNumber','startRow','body','dataStream','defineProperty','_chartModelIdMap','_config$','6010436MNmwDy','category','123234inEXfV','_context$','5SkywVI','MUTATION','clear','data$','7083VALjbj','isRowDirection','1728027zvmyrH','Date','onStarting','setRangeInfo','serialize','complete','dispose','_chartModelService','range','canvas','relationData','actualBoundingBoxDescent','_data$','object','disposeWithMe','next','COMMAND','canSwitchOrient','message','chartModelRemoved$','unsubscribe','dimensions','width','NUMBER','toArray','style','number','_serializeChartForUnit','convertDataSet','intersects','_updateChartRangeAndContext','Null','1502690FADjnb','_refRangeService','startColumn','_models','FALSE','_configService','context$','add','from','sheet.mutation.chart-update-source','maxValue','_dataSourceMap','getCell','chartType','_hasLoaded','onRendered','every','set','watchRange'];_0x2976=function(){return _0x36355a;};return _0x2976();}function A(_0x5877ec,_0x463695,_0x2089cd){const _0x29cbc8=_0x3a19ae;if(_0x5877ec){const {v:_0x468255,t:_0x30a922,p:_0x5e2992,s:_0x4760dd}=_0x5877ec;if(_0x5e2992)return{'v':kt(_0x5e2992),'t':_0x31e453['STRING']};if((_0x30a922===_0x364a2f[_0x29cbc8(0x173)]||_0x30a922===_0x364a2f[_0x29cbc8(0x16a)])&&_0x468255!==void 0x0&&_0x468255!==null)return{'v':String(_0x468255),'t':_0x31e453['STRING']};if(_0x30a922===_0x364a2f[_0x29cbc8(0x14f)])return{'v':_0x468255?nt:rt,'t':_0x31e453[_0x29cbc8(0x14f)]};if(_0x30a922===_0x364a2f[_0x29cbc8(0x1a6)]){const _0x392379=_0x463695[_0x29cbc8(0x130)](_0x4760dd);if(_0x392379&&_0x392379['n']){const {pattern:_0x5156a5}=_0x392379['n'];if(_0x5156a5&&!_0x2089cd[_0x5156a5]&&(_0x2089cd[_0x5156a5]=_0x49169f[_0x29cbc8(0x150)](_0x5156a5)),_0x2089cd[_0x5156a5]&&(_0x2089cd[_0x5156a5]=_0x49169f[_0x29cbc8(0x150)](_0x5156a5),_0x2089cd[_0x5156a5][_0x29cbc8(0x16c)]))return{'v':String(_0x468255),'t':_0x31e453[_0x29cbc8(0x190)]};}return{'v':String(_0x468255),'t':_0x31e453['NUMBER']};}else return typeof _0x468255===_0x29cbc8(0x156)?{'v':_0x468255?nt:rt,'t':_0x31e453[_0x29cbc8(0x14f)]}:{'v':_0x468255==null?'':String(_0x468255),'t':_0x31e453[_0x29cbc8(0x16a)]};}return{'v':'','t':_0x31e453[_0x29cbc8(0x16a)]};}class zt extends _0x2184d9{constructor(_0x229bb9,_0x146feb){const _0x1a2828=_0x3a19ae;super(),S(this,_0x1a2828(0x153)),S(this,'rangeInfo$'),this[_0x1a2828(0x133)]=_0x229bb9;const _0x46820f=_0x146feb[_0x1a2828(0x18e)]!==void 0x0?_0x146feb[_0x1a2828(0x18e)]:!0x0;this[_0x1a2828(0x153)]=new _0x39ace7({..._0x146feb,'isRowDirection':_0x46820f}),this['_data$']=new _0x39ace7({'dimensions':[],'source':[]}),this['canSwitchOrient$']=this[_0x1a2828(0x14c)]['asObservable'](),this[_0x1a2828(0x18c)]=this[_0x1a2828(0x19b)][_0x1a2828(0x135)](),this[_0x1a2828(0x16b)]=this['_rangeInfo$'][_0x1a2828(0x135)](),this[_0x1a2828(0x125)]();}['getRangeInfo'](){return this['_rangeInfo$']['getValue']();}[_0x3a19ae(0x192)](_0x2a18fa){const _0x1f8fb2=_0x3a19ae;this[_0x1f8fb2(0x153)][_0x1f8fb2(0x19e)](_0x2a18fa),this['_data$'][_0x1f8fb2(0x19e)](this['convertDataSet']()),this[_0x1f8fb2(0x14c)][_0x1f8fb2(0x19e)](this[_0x1f8fb2(0x1a0)]());}['setOrient'](_0x52b468){const _0x25cb4b=_0x3a19ae;this[_0x25cb4b(0x14c)][_0x25cb4b(0x19e)](_0x52b468);}[_0x3a19ae(0x1a0)](){return!0x0;}[_0x3a19ae(0x140)](){}['watchRange'](){}[_0x3a19ae(0x1ab)](){const _0x2a2e1d=_0x3a19ae,{rangeInfo:_0x378a53,isRowDirection:_0x42a71d}=this[_0x2a2e1d(0x179)](),_0x1cbeca=this['_univerInstanceService'],{unitId:_0x1ce65f,subUnitId:_0x362098,range:_0x5a3bf5}=_0x378a53,_0x43819a=_0x1cbeca[_0x2a2e1d(0x123)](_0x1ce65f);if(!_0x43819a)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0xe9d93f=_0x43819a['getSheetBySheetId'](_0x362098);if(!_0xe9d93f)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x20dded=[],_0x1bfbd8=[],_0x33768f=[],_0x312b=[],_0x25c93b=_0x43819a[_0x2a2e1d(0x11f)](),_0x25b207={};if(_0x5a3bf5[_0x2a2e1d(0x1b1)]===-0x1||_0x5a3bf5[_0x2a2e1d(0x17f)]===-0x1)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x197a41=_0x20d073['transformRange'](_0x5a3bf5,_0xe9d93f),{startColumn:_0xc1e7ec,startRow:_0x3688a0,endColumn:_0x55b176,endRow:_0x3b5210}=_0x197a41;if(_0x42a71d){for(let _0x478e4c=_0xc1e7ec;_0x478e4c<=_0x55b176;_0x478e4c++){const _0x3f1b98=_0xe9d93f[_0x2a2e1d(0x1bb)](_0x3688a0,_0x478e4c),{v:_0x489008,t:_0x415a48}=A(_0x3f1b98,_0x25c93b,_0x25b207);_0x20dded[_0x2a2e1d(0x176)](_0x489008),_0x1bfbd8['push'](_0x415a48);}for(let _0x3da841=_0x3688a0+0x1;_0x3da841<=_0x3b5210;_0x3da841++){const _0x566322=[],_0x4335e5=[];for(let _0x582a91=_0xc1e7ec;_0x582a91<=_0x55b176;_0x582a91++){const _0x40ccc5=_0xe9d93f[_0x2a2e1d(0x1bb)](_0x3da841,_0x582a91),{v:_0x1c9c11,t:_0x54918a}=_0x582a91===_0xc1e7ec?A(_0x40ccc5,_0x25c93b,_0x25b207):P(_0x40ccc5,_0x25c93b,_0x25b207);_0x566322['push'](_0x1c9c11),_0x4335e5[_0x2a2e1d(0x176)](_0x54918a);}_0x33768f[_0x2a2e1d(0x176)](_0x566322),_0x312b[_0x2a2e1d(0x176)](_0x4335e5);}}else{for(let _0x1c24e2=_0x3688a0;_0x1c24e2<=_0x3b5210;_0x1c24e2++){const _0x14b08a=_0xe9d93f['getCell'](_0x1c24e2,_0xc1e7ec),{v:_0x5602c3,t:_0x1138be}=A(_0x14b08a,_0x25c93b,_0x25b207);_0x20dded[_0x2a2e1d(0x176)](_0x5602c3),_0x1bfbd8['push'](_0x1138be);}for(let _0xb92d57=_0xc1e7ec+0x1;_0xb92d57<=_0x55b176;_0xb92d57++){const _0x28448d=[];for(let _0x2b8090=_0x3688a0;_0x2b8090<=_0x3b5210;_0x2b8090++){const _0x1ef073=_0xe9d93f[_0x2a2e1d(0x1bb)](_0x2b8090,_0xb92d57),{v:_0x5bce08,t:_0x7f61b8}=_0x2b8090===_0x3688a0?A(_0x1ef073,_0x25c93b,_0x25b207):P(_0x1ef073,_0x25c93b,_0x25b207);_0x28448d['push'](_0x5bce08);}_0x33768f[_0x2a2e1d(0x176)](_0x28448d);}}return{'dimensions':_0x20dded,'source':_0x33768f,'dimensionsType':_0x1bfbd8,'sourceType':_0x312b};}}class gt extends _0x2184d9{constructor(_0x482c43,_0xb6d485){const _0x86d62d=_0x3a19ae;super(),S(this,_0x86d62d(0x153)),S(this,_0x86d62d(0x16b)),(this[_0x86d62d(0x133)]=_0x482c43,this[_0x86d62d(0x153)]=new _0x39ace7(_0xb6d485));}['canSwitchOrient'](){return!0x1;}['getRangeInfo'](){const _0x5519d9=_0x3a19ae;return this[_0x5519d9(0x153)][_0x5519d9(0x17c)]();}[_0x3a19ae(0x138)](_0x2a089b){const _0x47ffd8=_0x3a19ae;this['_canSwitchOrient$'][_0x47ffd8(0x19e)](_0x2a089b);}[_0x3a19ae(0x192)](_0x4d8742){const _0xb5752c=_0x3a19ae;this[_0xb5752c(0x153)][_0xb5752c(0x19e)](_0x4d8742);}[_0x3a19ae(0x140)](){}[_0x3a19ae(0x119)](){}[_0x3a19ae(0x1ab)](){const _0xf2593d=_0x3a19ae,_0x58a539=this['getRangeInfo'](),_0x7f2efa=this['_univerInstanceService'],_0xabb61c=[],_0x2a2409=[],_0x5daf76={};for(const [_0x1c982e]of _0x58a539){const {unitId:_0x1005d3,subUnitId:_0x609b7c,range:_0x39195e}=_0x1c982e,_0x471328=_0x7f2efa[_0xf2593d(0x123)](_0x1005d3);if(!_0x471328)return{'dimensions':[],'source':[]};const _0x409bd0=_0x471328['getSheetBySheetId'](_0x609b7c);if(!_0x409bd0)return{'dimensions':[],'source':[]};const _0x3304d7=_0x471328[_0xf2593d(0x11f)](),{v:_0x454b94,t:_0x70346e}=A(_0x409bd0[_0xf2593d(0x1bb)](_0x39195e['startRow'],_0x39195e[_0xf2593d(0x1b1)]),_0x3304d7,_0x5daf76);_0xabb61c[_0xf2593d(0x176)](_0x454b94),_0x2a2409[_0xf2593d(0x176)](_0x70346e);}let _0x4d1855=0x0;const _0x95f4c=new _0x42b044(),_0x4c153a=new _0x42b044();for(const [,_0x1be072]of _0x58a539){const {unitId:_0x53809d,subUnitId:_0x45747f,range:_0x5defaf}=_0x1be072,_0x254d38=_0x7f2efa[_0xf2593d(0x123)](_0x53809d);if(!_0x254d38)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};const _0x14ba56=_0x254d38[_0xf2593d(0x170)](_0x45747f);if(!_0x14ba56)return{'dimensions':[],'source':[],'dimensionsType':[],'sourceType':[]};Ht(_0x5defaf,_0x14ba56,_0x4d1855,_0x95f4c,_0x4c153a,_0x254d38[_0xf2593d(0x11f)]()),_0x4d1855++;}const _0x27a1f0=_0x95f4c[_0xf2593d(0x1a7)](),_0x3e59bd=_0x4c153a[_0xf2593d(0x1a7)]();return{'dimensions':_0xabb61c,'source':_0x27a1f0,'dimensionsType':_0x2a2409,'sourceType':_0x3e59bd};}}function Wt(_0x4cf5cc,_0x2cd01a){const _0x25348d=_0x3a19ae;return Array[_0x25348d(0x151)](_0x2cd01a)?new gt(_0x4cf5cc,_0x2cd01a):new zt(_0x4cf5cc,_0x2cd01a);}function Ue(_0x4cfa04,_0x107044,_0x361101){const _0x33390a=_0x3a19ae,_0xacad4c=[];for(let _0x2c80ae=0x0;_0x2c80ae<_0x4cfa04[_0x33390a(0x175)];_0x2c80ae++)_0xacad4c[_0x33390a(0x176)](_0x4cfa04[_0x2c80ae][_0x107044]);return _0xacad4c;}class Jt extends _0x386058{get[_0x3a19ae(0x12c)](){return this['_dataSource'];}constructor(_0x321f5b,_0x397cdd,_0x1f0f8d){const _0x3292ce=_0x3a19ae;super(_0x321f5b,_0x397cdd,_0x1f0f8d),this[_0x3292ce(0x125)]();}[_0x3a19ae(0x125)](){const _0x384b5b=_0x3a19ae;var _0x33d951;const _0x38df85=this[_0x384b5b(0x16e)]()[_0x384b5b(0x130)](_0x4625ce);(_0x33d951=this[_0x384b5b(0x13d)])==null||_0x33d951[_0x384b5b(0x1a3)]();const {data$:_0x4b35fa,rangeInfo$:_0x5ce1c1}=this[_0x384b5b(0x144)],_0x46e35d=_0x4b35fa['pipe'](_0xa486d9(_0x587bdd=>{const {dimensions:_0x1c3eb1,source:_0x59c4e5}=_0x587bdd;return!(!_0x1c3eb1||!_0x59c4e5);})),_0x3bfc25=_0x5ce3bd([_0x46e35d,this[_0x384b5b(0x1b5)],this['dataAggregation$']])['pipe'](_0xf39afe(_0x2c50b7),_0x3daff4(([_0x527d5b,_0x12943e,_0x3a1a65])=>[_0x527d5b,_0x12943e,_0x3a1a65]));this[_0x384b5b(0x13d)]=_0x5ce3bd([this[_0x384b5b(0x142)]['pipe'](_0x505123()),_0x3bfc25,_0x5ce1c1])[_0x384b5b(0x168)](_0xa486d9(([_0x3309a5])=>!!_0x3309a5),_0xf39afe(_0x2c50b7))[_0x384b5b(0x177)](([_0x4094e0,[_0x527f29,_0x2c4313],_0x582a20])=>{const _0x1cc27c=_0x384b5b;if(_0x527f29[_0x1cc27c(0x1a4)][_0x1cc27c(0x175)]<=0x0||_0x527f29[_0x1cc27c(0x11a)]['length']<=0x0){this[_0x1cc27c(0x184)][_0x1cc27c(0x19e)]({'type':this[_0x1cc27c(0x1bc)],'category':void 0x0,'maxValue':-0x1/0x0,'minValue':0x1/0x0,'series':[]});return;}const _0x3844a2=Array['isArray'](_0x582a20)?!0x1:!!_0x582a20['isRowDirection'],_0x7e06cc=_0x3c4a65(_0x527f29,_0x2c4313,_0x4094e0,_0x3844a2,_0x38df85);this[_0x1cc27c(0x184)][_0x1cc27c(0x19e)]({'type':_0x4094e0,'headers':_0x2c4313['headers'],'category':_0x7e06cc[_0x1cc27c(0x186)],'series':_0x7e06cc['series'],'maxValue':_0x7e06cc[_0x1cc27c(0x1b9)],'minValue':_0x7e06cc[_0x1cc27c(0x158)],'bubble':_0x7e06cc[_0x1cc27c(0x15c)],'relationData':_0x7e06cc[_0x1cc27c(0x199)]});}),this[_0x384b5b(0x19d)](this['_configSubscription']);}['dispose'](){const _0x6f9d48=_0x3a19ae;super[_0x6f9d48(0x195)](),this['_chartType$']['complete'](),this[_0x6f9d48(0x188)][_0x6f9d48(0x194)](),this['_config$'][_0x6f9d48(0x194)](),this[_0x6f9d48(0x129)][_0x6f9d48(0x194)]();}}var Kt=Object[_0x3a19ae(0x167)],Yt=(_0x111a89,_0x55f7d1,_0x43fd54,_0x2f7eac)=>{const _0x144fae=_0x3a19ae;for(var _0x28d9da=_0x2f7eac>0x1?void 0x0:_0x2f7eac?Kt(_0x55f7d1,_0x43fd54):_0x55f7d1,_0x5bb688=_0x111a89[_0x144fae(0x175)]-0x1,_0x3bd3ca;_0x5bb688>=0x0;_0x5bb688--)(_0x3bd3ca=_0x111a89[_0x5bb688])&&(_0x28d9da=_0x3bd3ca(_0x28d9da)||_0x28d9da);return _0x28d9da;},Qt=(_0xf32b2c,_0x2158bf)=>(_0x1dce39,_0x10cdcb)=>_0x2158bf(_0x1dce39,_0x10cdcb,_0xf32b2c);let w=class extends _0x28c5c6{constructor(_0x2a44ab){const _0x43e0cc=_0x3a19ae;super(),S(this,_0x43e0cc(0x146),new _0x39ace7(null)),S(this,_0x43e0cc(0x13a),this[_0x43e0cc(0x146)][_0x43e0cc(0x135)]()),S(this,_0x43e0cc(0x1b2),new Map()),S(this,_0x43e0cc(0x161),new Set()),S(this,_0x43e0cc(0x154),new _0x3f322e()),S(this,'chartModelAdded$',this['_chartModelAdded$'][_0x43e0cc(0x135)]()),S(this,_0x43e0cc(0x13c),new _0x3f322e()),S(this,_0x43e0cc(0x1a2),this[_0x43e0cc(0x13c)][_0x43e0cc(0x135)]()),this[_0x43e0cc(0x14a)]=_0x2a44ab;}get[_0x3a19ae(0x11b)](){const _0x3e1a51=_0x3a19ae;return this[_0x3e1a51(0x146)][_0x3e1a51(0x17c)]();}['setActiveChartModel'](_0x5c61c5){const _0x5541c7=_0x3a19ae;this[_0x5541c7(0x146)][_0x5541c7(0x19e)](_0x5c61c5);}[_0x3a19ae(0x148)](){const _0x5ba04b=_0x3a19ae;return this[_0x5ba04b(0x146)][_0x5ba04b(0x17c)]();}['getChartModel'](_0x332a6c){const _0xd370fe=_0x3a19ae;return this['_models'][_0xd370fe(0x130)](_0x332a6c);}[_0x3a19ae(0x12e)](){const _0x10c5b2=_0x3a19ae,_0xec7064=Array[_0x10c5b2(0x1b7)](this['_models'][_0x10c5b2(0x120)]());for(const _0x1b5c1a of _0xec7064){const _0x4250a3=this[_0x10c5b2(0x1b2)][_0x10c5b2(0x130)](_0x1b5c1a);_0x4250a3&&_0x4250a3[_0x10c5b2(0x12c)]['refresh']();}}[_0x3a19ae(0x14b)](_0x4c71c3,_0x2d4856,_0x5b59f7=!0x1){const _0x293de7=_0x3a19ae,_0x32db3a=new Jt(_0x4c71c3,_0x2d4856,this[_0x293de7(0x14a)]);this[_0x293de7(0x1b2)][_0x293de7(0x118)](_0x32db3a['id'],_0x32db3a);const _0xddc3de=this['generateChartModelContext'](_0x32db3a['id']);return _0xddc3de&&_0x32db3a[_0x293de7(0x163)](_0xddc3de),_0x5b59f7&&_0x32db3a[_0x293de7(0x17d)]({'titles':{'title':{'content':''}}}),this[_0x293de7(0x154)][_0x293de7(0x19e)](_0x32db3a),_0x32db3a;}[_0x3a19ae(0x121)](_0x8fec45){const _0x27588e=_0x3a19ae,{_models:_0x11a68f}=this,_0x48727e=_0x11a68f[_0x27588e(0x130)](_0x8fec45);_0x48727e&&(this['_chartModelRemoved$'][_0x27588e(0x19e)](_0x48727e['id']),_0x48727e['dispose'](),_0x11a68f[_0x27588e(0x132)](_0x8fec45));}[_0x3a19ae(0x145)](_0x4d8d2f){const _0x5913c5=_0x3a19ae,_0x243be8=[_0x502bf4,_0x244df4,_0x594058,_0x4fca9c],_0x49a33d=this[_0x5913c5(0x1b2)]['get'](_0x4d8d2f),_0x31a5c6=(_0x49a33d==null?void 0x0:_0x49a33d[_0x5913c5(0x13e)])||{},_0x340b46=_0x49a33d==null?void 0x0:_0x49a33d[_0x5913c5(0x12c)];return _0x49a33d&&_0x340b46?_0x243be8['reduce']((_0x147de1,_0x538a08)=>{const _0x8365e2=_0x538a08(_0x340b46,_0x147de1,_0x49a33d);return{..._0x147de1,..._0x8365e2};},_0x31a5c6):null;}[_0x3a19ae(0x195)](){const _0x3e6634=_0x3a19ae;super[_0x3e6634(0x195)](),this[_0x3e6634(0x1b2)][_0x3e6634(0x15e)](_0x5a95d3=>_0x5a95d3[_0x3e6634(0x195)]()),this['_models'][_0x3e6634(0x18b)](),this['_converters']['clear'](),this[_0x3e6634(0x146)]['complete'](),this[_0x3e6634(0x154)][_0x3e6634(0x194)](),this[_0x3e6634(0x13c)][_0x3e6634(0x194)]();}};w=Yt([Qt(0x0,_0x1c4776(_0x30011c))],w);var Xt=Object[_0x3a19ae(0x167)],te=(_0x340487,_0x4cbdfb,_0x25cde7,_0x52a280)=>{for(var _0x5055bf=_0x52a280>0x1?void 0x0:_0x52a280?Xt(_0x4cbdfb,_0x25cde7):_0x4cbdfb,_0x42fb23=_0x340487['length']-0x1,_0x10652a;_0x42fb23>=0x0;_0x42fb23--)(_0x10652a=_0x340487[_0x42fb23])&&(_0x5055bf=_0x10652a(_0x5055bf)||_0x5055bf);return _0x5055bf;},x=(_0x33d525,_0x151d11)=>(_0x5078fc,_0x5a3b8f)=>_0x151d11(_0x5078fc,_0x5a3b8f,_0x33d525);const ee='SHEET_CHART_PLUGIN';let I=class extends _0x28c5c6{constructor(_0x24de1a,_0x6a6b4c,_0x2a78a3,_0x592935,_0x3b2ba0){const _0x517281=_0x3a19ae;super(),S(this,_0x517281(0x183),new Map()),S(this,_0x517281(0x1ba),new Map()),S(this,_0x517281(0x1bd),!0x1),(this[_0x517281(0x12f)]=_0x24de1a,this[_0x517281(0x1b0)]=_0x6a6b4c,this[_0x517281(0x133)]=_0x2a78a3,this['_chartModelService']=_0x592935,this[_0x517281(0x122)]=_0x3b2ba0,this[_0x517281(0x14e)]());}[_0x3a19ae(0x15a)](){this['_hasLoaded']=!0x0;}['getUnitChartModels'](_0x27b630,_0x126e6b){const _0x524206=_0x3a19ae,_0x4510a6=this['_chartModelIdMap']['get'](_0x27b630);if(!_0x4510a6)return[];const _0x915aed=_0x4510a6[_0x524206(0x130)](_0x126e6b);if(!_0x915aed)return[];const {_chartModelService:_0x5619f6}=this;return Array[_0x524206(0x1b7)](_0x915aed)[_0x524206(0x11d)](_0x172d0b=>_0x5619f6['getChartModel'](_0x172d0b));}['getChartSuggestion'](_0x716723){if(Array['isArray'](_0x716723))return{'orient':_0x549c5d['Column'],'chartType':_0x4176bd['Line']};{const {rangeInfo:_0x47b4e3}=_0x716723,{range:_0x174b0f}=_0x47b4e3,{startRow:_0x115d4e,endRow:_0x2014e0,startColumn:_0x23b4a3,endColumn:_0x41a393}=_0x174b0f,_0x359d1f=_0x2014e0-_0x115d4e>=_0x41a393-_0x23b4a3;return{'orient':_0x359d1f?_0x549c5d['Column']:_0x549c5d['Row'],'chartType':_0x359d1f?_0x4176bd['Line']:_0x4176bd['Column']};}}['ensureChartModelCollection'](_0x4d3df6,_0x30e186){const _0x45e0e8=_0x3a19ae;let _0x5da490=this['_chartModelIdMap'][_0x45e0e8(0x130)](_0x4d3df6);_0x5da490||(_0x5da490=new Map(),this[_0x45e0e8(0x183)][_0x45e0e8(0x118)](_0x4d3df6,_0x5da490));let _0x2dec1a=_0x5da490['get'](_0x30e186);return _0x2dec1a||(_0x2dec1a=new Set(),_0x5da490[_0x45e0e8(0x118)](_0x30e186,_0x2dec1a)),_0x2dec1a;}[_0x3a19ae(0x127)](_0x39fc3d){const _0x18e1a0=_0x3a19ae;return this[_0x18e1a0(0x1ba)][_0x18e1a0(0x130)](_0x39fc3d);}[_0x3a19ae(0x152)](_0x5c82b3,_0x544263){const _0x3810e5=_0x3a19ae;this[_0x3810e5(0x1ba)]['set'](_0x5c82b3,_0x544263);}[_0x3a19ae(0x12d)](){const _0x41fe4a=_0x3a19ae;this[_0x41fe4a(0x196)][_0x41fe4a(0x12e)]();}['createChartModel'](_0x5a8f86,_0x1784e9,_0x9fdd30,_0x118c67=!0x1){const _0x3dbaa0=_0x3a19ae;var _0x319f1c;const {orient:_0x2d0c52,context:_0x2681fc,dataAggregation:_0x1c622a,id:_0x44007c,style:_0x5adb11,rangeInfo:_0x734761}=_0x9fdd30,_0x4077e9=Wt(this[_0x3dbaa0(0x133)],_0x734761),_0x21c039=_0x44007c!=null?_0x44007c:_0x45cdab(),_0x21bd5d=this['getChartSuggestion'](_0x734761),_0x493aba=(_0x319f1c=_0x9fdd30[_0x3dbaa0(0x1bc)])!=null?_0x319f1c:_0x21bd5d[_0x3dbaa0(0x1bc)],_0x1526a7=this[_0x3dbaa0(0x196)][_0x3dbaa0(0x14b)](_0x21c039,{'dataSource':_0x4077e9,'chartType':_0x493aba!=null?_0x493aba:_0x21bd5d[_0x3dbaa0(0x1bc)],'dataAggregation':_0x1c622a,'style':_0x5adb11,'context':_0x2681fc},_0x118c67);let _0x556fa4=null;const _0x2966b9=_0x1526a7[_0x3dbaa0(0x12c)][_0x3dbaa0(0x16b)][_0x3dbaa0(0x168)](_0xf39afe(_0x2c50b7))['subscribe'](()=>{const _0x3a6799=_0x3dbaa0;_0x556fa4==null||_0x556fa4['dispose'](),_0x556fa4=this[_0x3a6799(0x119)](_0x1526a7);}),_0x53ca4e=this[_0x3dbaa0(0x164)](_0x5a8f86,_0x1784e9);return _0x53ca4e[_0x3dbaa0(0x1b6)](_0x1526a7['id']),_0x1526a7[_0x3dbaa0(0x16f)](()=>{const _0x4f32c8=_0x3dbaa0;_0x53ca4e[_0x4f32c8(0x132)](_0x1526a7['id']),_0x556fa4==null||_0x556fa4[_0x4f32c8(0x195)](),_0x2966b9[_0x4f32c8(0x1a3)](),_0x4077e9[_0x4f32c8(0x195)](),this[_0x4f32c8(0x1ba)]['delete'](_0x1526a7['id']);}),this[_0x3dbaa0(0x1ba)][_0x3dbaa0(0x118)](_0x1526a7['id'],_0x4077e9),_0x1526a7;}['removeChartModel'](_0x431476){const _0xbd43ec=_0x3a19ae,_0x135c96=this['_chartModelService']['getChartModel'](_0x431476);_0x135c96&&(_0x135c96['dispose'](),this[_0xbd43ec(0x196)]['removeChartModel'](_0x431476));}['getChartModel'](_0x38de86){const _0x377be5=_0x3a19ae;return this['_chartModelService'][_0x377be5(0x141)](_0x38de86);}[_0x3a19ae(0x1aa)](_0x499faf){const _0x193eeb=_0x3a19ae,_0x40ec29=this[_0x193eeb(0x183)][_0x193eeb(0x130)](_0x499faf);if(!_0x40ec29)return'{}';const _0x4857cc={};for(const _0x5a82d9 of _0x40ec29[_0x193eeb(0x120)]()){const _0x2db64c=_0x40ec29[_0x193eeb(0x130)](_0x5a82d9);if(_0x2db64c)for(const _0x51d098 of Array[_0x193eeb(0x1b7)](_0x2db64c)){const _0x264918=this['_chartModelService'][_0x193eeb(0x141)](_0x51d098),_0x190037=this[_0x193eeb(0x127)](_0x51d098);_0x264918&&_0x190037&&(_0x4857cc[_0x5a82d9]||(_0x4857cc[_0x5a82d9]=[]),_0x4857cc[_0x5a82d9][_0x193eeb(0x176)]({'rangeInfo':_0x190037[_0x193eeb(0x179)](),..._0x264918[_0x193eeb(0x193)]()}));}}return JSON[_0x193eeb(0x13f)](_0x4857cc);}[_0x3a19ae(0x119)](_0x8e67a8){const _0x468978=_0x3a19ae,{dataSource:_0x2fac0a}=_0x8e67a8,_0x3f4343=_0x2fac0a[_0x468978(0x179)](),{subUnitId:_0x9e67b8,unitId:_0x482b52,range:_0x21e3ad}=_0x3f4343[_0x468978(0x162)],_0x47f253=this[_0x468978(0x122)]['onCommandExecuted'](_0x171984=>{const _0x4b5f50=_0x468978;if(_0x171984['id']===_0x3ecf2f['id']){const {subUnitId:_0x4c8e77,unitId:_0x199d4d,cellValue:_0x4443b6}=_0x171984['params'],_0x57b165=new _0x42b044(_0x4443b6)[_0x4b5f50(0x17b)]();_0x4c8e77===_0x9e67b8&&_0x199d4d===_0x482b52&&_0x57b165&&_0x2c3d62[_0x4b5f50(0x1ac)](_0x21e3ad,_0x57b165)&&this[_0x4b5f50(0x1ad)](_0x8e67a8,_0x3f4343);}if(_0x171984['id']===_0x394cf7['id']){const {subUnitId:_0x243c6e,unitId:_0xab92a4,range:_0x143de1}=_0x171984['params'];_0x243c6e===_0x9e67b8&&_0x482b52===_0xab92a4&&_0x2c3d62[_0x4b5f50(0x1ac)](_0x21e3ad,_0x143de1)&&this[_0x4b5f50(0x1ad)](_0x8e67a8,_0x3f4343);}if(_0x171984['id']===_0x37a4aa['id']||_0x171984['id']===_0x3dfbb2['id']){const {subUnitId:_0x128752,unitId:_0x12696d,range:_0x35c55e}=_0x171984['params'];_0x128752===_0x9e67b8&&_0x482b52===_0x12696d&&_0x2c3d62[_0x4b5f50(0x157)](_0x35c55e,_0x21e3ad)&&(_0x3f4343[_0x4b5f50(0x162)][_0x4b5f50(0x197)]={'startRow':-0x1,'startColumn':-0x1,'endRow':0x0,'endColumn':0x0},this[_0x4b5f50(0x1ad)](_0x8e67a8,_0x3f4343));}}),_0x4e3ae1=(_0x38e0b3,_0x36a441)=>{const _0x597cb6=_0x468978;_0x36a441?(_0x3f4343['rangeInfo'][_0x597cb6(0x197)]={..._0x36a441},this[_0x597cb6(0x1ad)](_0x8e67a8,_0x3f4343)):(_0x3f4343[_0x597cb6(0x162)]['range']={'startRow':-0x1,'startColumn':-0x1,'endRow':0x0,'endColumn':0x0},this[_0x597cb6(0x1ad)](_0x8e67a8,_0x3f4343));},_0x8f1db0=this[_0x468978(0x1b0)]['watchRange'](_0x482b52,_0x9e67b8,_0x21e3ad,_0x4e3ae1);return{'dispose':()=>{const _0x1dea2c=_0x468978;_0x47f253[_0x1dea2c(0x195)](),_0x8f1db0[_0x1dea2c(0x195)]();}};}[_0x3a19ae(0x1ad)](_0x23cf45,_0x370a09){const _0x1ee277=_0x3a19ae;if(!this[_0x1ee277(0x1bd)])return;const {dataSource:_0x4550a9,id:_0x52086c}=_0x23cf45;_0x4550a9[_0x1ee277(0x192)](_0x370a09);const _0x1068ae=this[_0x1ee277(0x196)]['generateChartModelContext'](_0x52086c);_0x1068ae&&_0x23cf45[_0x1ee277(0x163)](_0x1068ae);}[_0x3a19ae(0x169)](_0x33daa1,_0x512edc){const _0x249354=_0x3a19ae;this[_0x249354(0x133)][_0x249354(0x123)](_0x33daa1)&&Object[_0x249354(0x120)](_0x512edc)[_0x249354(0x15e)](_0x39107e=>{const _0x427ebc=_0x249354,_0x1f4300=_0x512edc[_0x39107e];!_0x1f4300||_0x1f4300[_0x427ebc(0x175)]<=0x0||_0x1f4300[_0x427ebc(0x15e)](_0x30d709=>{const _0x5c2cb0=_0x427ebc,{rangeInfo:_0x4e9518}=_0x30d709;this[_0x5c2cb0(0x14b)](_0x33daa1,_0x39107e,{..._0x30d709,'rangeInfo':_0x4e9518});});});}['_initSnapshot'](){const _0x34140e=_0x3a19ae;this['_resourcesManagerService'][_0x34140e(0x11c)]({'pluginName':ee,'businesses':[_0x45ef2c['UNIVER_SHEET']],'toJson':_0x2795a7=>this['_serializeChartForUnit'](_0x2795a7),'parseJson':_0x101a6b=>JSON[_0x34140e(0x155)](_0x101a6b),'onLoad':(_0x349c6e,_0x5c66f5)=>{const _0x423f15=_0x34140e;this[_0x423f15(0x169)](_0x349c6e,_0x5c66f5),this[_0x423f15(0x1bd)]=!0x0;},'onUnLoad':_0x157f22=>{const _0x440d4f=_0x34140e;var _0x3d126e;(_0x3d126e=this[_0x440d4f(0x183)][_0x440d4f(0x130)](_0x157f22))==null||_0x3d126e[_0x440d4f(0x15e)](_0x55d863=>{const _0x2754c7=_0x440d4f;Array[_0x2754c7(0x1b7)](_0x55d863[_0x2754c7(0x166)]())[_0x2754c7(0x15e)](_0x2ebf5b=>{const _0x445116=_0x2754c7;var _0x5e79eb;(_0x5e79eb=this[_0x445116(0x196)][_0x445116(0x141)](_0x2ebf5b))==null||_0x5e79eb[_0x445116(0x195)](),this['_chartModelService'][_0x445116(0x121)](_0x2ebf5b);});});}});}['dispose'](){const _0xc4acfa=_0x3a19ae;super[_0xc4acfa(0x195)](),this[_0xc4acfa(0x196)][_0xc4acfa(0x195)](),this[_0xc4acfa(0x183)][_0xc4acfa(0x18b)](),this[_0xc4acfa(0x1ba)][_0xc4acfa(0x15e)](_0x29900c=>_0x29900c[_0xc4acfa(0x195)]()),this[_0xc4acfa(0x1ba)][_0xc4acfa(0x18b)]();}};I=te([x(0x0,_0x4d3556),x(0x1,_0x1c4776(_0xa3b220)),x(0x2,_0x907a18),x(0x3,_0x1c4776(w)),x(0x4,_0x1ee24b)],I);const E={'id':'sheet.mutation.chart-update-config','type':_0x1cd3fe[_0x3a19ae(0x18a)],'handler':(_0x4fe37d,_0x48fc55)=>{const _0x5d8e4f=_0x3a19ae,{dataAggregation:_0x448dd7,style:_0x2a9047,context:_0x4e3049,chartType:_0x13c95f,chartModelId:_0x2dc438}=_0x48fc55,_0x57b32b=_0x4fe37d['get'](I)[_0x5d8e4f(0x141)](_0x2dc438);return _0x57b32b&&(_0x2a9047&&_0x57b32b[_0x5d8e4f(0x17d)](_0x2a9047),_0x448dd7&&_0x57b32b['assignDataAggregation'](_0x448dd7),_0x4e3049&&_0x57b32b['assignChartContext'](_0x4e3049),_0x13c95f&&_0x57b32b[_0x5d8e4f(0x15b)](_0x13c95f)),!0x0;}},ne={'id':'sheet.command.chart-update-config','type':_0x1cd3fe[_0x3a19ae(0x19f)],'handler':(_0x4d84ed,_0xe7388e)=>{const _0x37b20f=_0x3a19ae;if(!_0xe7388e)return!0x1;const {unitId:_0x21521d,style:_0x405b17,dataAggregation:_0x236829,context:_0x2190f4,chartModelId:_0x1d6878,chartType:_0x29c524}=_0xe7388e,_0x4f2ebc=_0x4d84ed['get'](I)[_0x37b20f(0x141)](_0x1d6878);if(!_0x4f2ebc)return!0x1;const _0x5c2054=_0x4d84ed[_0x37b20f(0x130)](_0x1ee24b),_0x47eca8=_0x4d84ed[_0x37b20f(0x130)](_0x159cd9),_0x45c9f7=[],_0x3dc952=[];_0x45c9f7[_0x37b20f(0x176)]({'id':E['id'],'params':{'unitId':_0x21521d,'chartModelId':_0x1d6878,'style':_0x405b17,'dataAggregation':_0x236829,'context':_0x2190f4,'chartType':_0x29c524}});const _0x1ed1fa={'unitId':_0x21521d,'chartModelId':_0x1d6878};if(_0x405b17){const _0x415d50=_0x4f2ebc[_0x37b20f(0x1a8)]||{};_0x1ed1fa['style']=ft(_0x405b17,_0x415d50);}return _0x236829&&(_0x1ed1fa[_0x37b20f(0x124)]=ot(_0x236829,_0x4f2ebc[_0x37b20f(0x124)]||{})),_0x2190f4&&(_0x1ed1fa[_0x37b20f(0x13e)]=ot(_0x2190f4,_0x4f2ebc[_0x37b20f(0x13e)]||{})),_0x29c524&&(_0x1ed1fa[_0x37b20f(0x1bc)]=_0x4f2ebc[_0x37b20f(0x1bc)]),_0x3dc952['push']({'id':E['id'],'params':_0x1ed1fa}),_0x45c9f7[_0x37b20f(0x117)](_0x52ca43=>_0x5c2054[_0x37b20f(0x126)](_0x52ca43['id'],_0x52ca43['params']))&&_0x47eca8['pushUndoRedo']({'unitID':_0x21521d,'redoMutations':[..._0x45c9f7],'undoMutations':[..._0x3dc952]}),!0x0;}};function ft(_0x32a21c,_0x2ae444){const _0x23e3e4=_0x3a19ae,_0x10ac5b={};return Object['keys'](_0x32a21c)[_0x23e3e4(0x15e)](_0x4c8b4b=>{const _0x44c276=_0x23e3e4;if(!(_0x4c8b4b in _0x2ae444)){_0x10ac5b[_0x4c8b4b]=null;return;}if(_0x32a21c[_0x4c8b4b]&&typeof _0x32a21c[_0x4c8b4b]==_0x44c276(0x19c)&&!Array['isArray'](_0x32a21c[_0x4c8b4b])){const _0x38779b=ft(_0x32a21c[_0x4c8b4b],_0x2ae444[_0x4c8b4b]||{});Object[_0x44c276(0x120)](_0x38779b)[_0x44c276(0x175)]>0x0&&(_0x10ac5b[_0x4c8b4b]=_0x38779b);}_0x10ac5b[_0x4c8b4b]=_0x2ae444[_0x4c8b4b];}),_0x10ac5b;}function ot(_0x140c04,_0x1d049b){const _0xaaad79=_0x3a19ae,_0x5e0569={};return Object[_0xaaad79(0x120)](_0x140c04)[_0xaaad79(0x15e)](_0x1f3786=>{_0x5e0569[_0x1f3786]=_0x1f3786 in _0x1d049b?_0x1d049b[_0x1f3786]:null;}),_0x5e0569;}const V={'id':_0x3a19ae(0x1b8),'type':_0x1cd3fe[_0x3a19ae(0x18a)],'handler':(_0x2cc595,_0x119ff3)=>{const _0x5f5e05=_0x3a19ae,{chartModelId:_0x50500e,rangeInfo:_0x29b735}=_0x119ff3,_0x1721d6=_0x2cc595['get'](I)[_0x5f5e05(0x127)](_0x50500e);if(!_0x1721d6)return!0x1;const _0x7f3b19=Array['isArray'](_0x29b735),_0x5eb9d4=_0x1721d6 instanceof gt;return _0x7f3b19===_0x5eb9d4&&_0x1721d6==null||_0x1721d6[_0x5f5e05(0x192)](_0x29b735),!0x0;}},re={'id':'sheet.command.chart-update-source','type':_0x1cd3fe[_0x3a19ae(0x19f)],'handler':(_0x42fb4b,_0x449252)=>{const _0x3703b4=_0x3a19ae;if(!_0x449252)return!0x1;const {unitId:_0x65792c,chartModelId:_0x269e18,range:_0x36faad}=_0x449252,_0x3485e1=_0x42fb4b[_0x3703b4(0x130)](I),_0x319d94=_0x42fb4b[_0x3703b4(0x130)](w),_0x413624=_0x3485e1[_0x3703b4(0x141)](_0x269e18);if(!_0x413624||!_0x36faad)return!0x1;const _0x33aaa5=_0x42fb4b[_0x3703b4(0x130)](_0x1ee24b),_0x55fef4=_0x42fb4b[_0x3703b4(0x130)](_0x159cd9),_0x5cfc31=_0x3485e1[_0x3703b4(0x127)](_0x269e18);if(!_0x5cfc31)return!0x1;const _0x22cc1f=_0x5cfc31['getRangeInfo'](),_0x3193b9=_0x413624[_0x3703b4(0x13e)],_0x13b44d={'unitId':_0x65792c,'chartModelId':_0x269e18,'rangeInfo':_0x36faad};if(!_0x33aaa5[_0x3703b4(0x126)](V['id'],_0x13b44d))return!0x1;const _0x4d3de1=_0x319d94['generateChartModelContext'](_0x269e18),_0x305e5b={'unitId':_0x65792c,'chartModelId':_0x269e18,'context':_0x4d3de1};if(!_0x33aaa5[_0x3703b4(0x126)](E['id'],_0x305e5b))return!0x1;const _0x34f680=[{'id':V['id'],'params':_0x13b44d},{'id':E['id'],'params':_0x305e5b}],_0x37884e=[{'id':V['id'],'params':{'unitId':_0x65792c,'chartModelId':_0x269e18,'rangeInfo':_0x22cc1f}},{'id':E['id'],'params':{'unitId':_0x65792c,'chartModelId':_0x269e18,'context':_0x3193b9}}];return _0x55fef4['pushUndoRedo']({'unitID':_0x65792c,'redoMutations':[..._0x34f680],'undoMutations':[..._0x37884e]}),!0x0;}},oe={'id':_0x3a19ae(0x128),'type':_0x1cd3fe[_0x3a19ae(0x18a)],'handler':(_0x4fb8c5,_0xf3c3a8)=>{const _0xa6b7ce=_0x3a19ae,{unitId:_0x1a3f97,subUnitId:_0x536ee7,range:_0x106b35,chartId:_0x297775,isRowDirection:_0x166391}=_0xf3c3a8,_0x66db97=_0x4fb8c5[_0xa6b7ce(0x130)](I),_0x5f51ec={'rangeInfo':{'unitId':_0x1a3f97,'subUnitId':_0x536ee7,'range':_0x106b35},'isRowDirection':_0x166391!=null?_0x166391:!0x0};return _0x66db97[_0xa6b7ce(0x14b)](_0x1a3f97,_0x536ee7,{'rangeInfo':_0x5f51ec,'id':_0x297775,'chartType':_0xf3c3a8[_0xa6b7ce(0x1bc)]},!0x0),!0x0;}},ae={'id':_0x3a19ae(0x143),'type':_0x1cd3fe[_0x3a19ae(0x18a)],'handler':(_0x3cab0a,_0x46fb64)=>{const _0x41ee5d=_0x3a19ae,{chartId:_0x943e0b}=_0x46fb64;return _0x3cab0a[_0x41ee5d(0x130)](I)[_0x41ee5d(0x121)](_0x943e0b),!0x0;}},se=_0x3a19ae(0x15d),ie={0x0:'1',0x1:'L',0x2:'o',0x3:'G',0x4:'O',0x5:'Q',0x6:'y',0x7:'w',0x8:'A',0x9:'R','h':'0','O':'2','W':'3','G':'4','T':'5','I':'6','d':'7','Y':'8','H':'9','t':'a','k':'b','C':'c','V':'d','a':'e','y':'f','o':'g','p':'h','Z':'i','B':'j','x':'k','q':'l','E':'m','l':'n','f':'p','r':'q','g':'r','D':'s','U':'t','F':'u','e':'v','w':'x','n':'z','u':'B','S':'C','i':'D','L':'E','b':'F','M':'H','P':'I','J':'J','K':'K','N':'M','c':'N','R':'P','j':'S','A':'T','Q':'U','m':'V','z':'W','v':'X','s':'Y','X':'Z'},ce=Number[_0x3a19ae(0x11e)](0x6895ad4c),k=['2','4','8','268435460'],le=['all'],he=[],De=(_0x3dbfef,_0x31104c,_0x2b34d1)=>{const _0x5188eb=_0x3a19ae,_0x28207e=_0x31104c[_0x5188eb(0x12a)]('.'),_0x45be18=_0x28207e[_0x5188eb(0x171)]();_0x28207e[_0x5188eb(0x15e)](_0x3470fe=>{_0x3dbfef[_0x3470fe]||(_0x3dbfef[_0x3470fe]={}),_0x3dbfef=_0x3dbfef[_0x3470fe];}),_0x45be18&&(_0x3dbfef[_0x45be18]=_0x2b34d1);},Me=(_0x5e9809,_0x1c8550)=>{const _0x504c07=_0x3a19ae;_0x5e9809[_0x504c07(0x14d)]||(_0x5e9809[_0x504c07(0x14d)]={'elements':[]}),_0x5e9809['graphic']['elements'][_0x504c07(0x176)](..._0x1c8550);},Ie=_0x1d25a6=>_0x1d25a6*Math['PI']/0xb4,H=new Map();let z;const ye=(_0x4ef0b8,_0x129b8b)=>{const _0x1f6521=_0x3a19ae;if(!document)return{'width':0x0,'height':0x0};const _0x4836cf=_0x4ef0b8+'-'+_0x129b8b;if(H[_0x1f6521(0x17a)](_0x4836cf))return H[_0x1f6521(0x130)](_0x4836cf);z||(z=document[_0x1f6521(0x12b)](_0x1f6521(0x198)));const _0x15a266=z['getContext']('2d');_0x15a266['font']=_0x129b8b;const _0x376cc1=_0x15a266[_0x1f6521(0x16d)](_0x4ef0b8),_0x5bb7b2=_0x376cc1[_0x1f6521(0x1a5)],_0x39dcfb=_0x376cc1[_0x1f6521(0x160)]+_0x376cc1[_0x1f6521(0x19a)];return H[_0x1f6521(0x118)](_0x4836cf,{'width':_0x5bb7b2,'height':_0x39dcfb}),{'width':_0x5bb7b2,'height':_0x39dcfb};};function Re(_0x262fbe){const _0x7a1124=_0x3a19ae;var _0x45a8b5;const _0xaa6a22=(_0x45a8b5=_0x262fbe[_0x7a1124(0x130)](_0x2a9ae7)[_0x7a1124(0x172)](_0x15f7df))!=null?_0x45a8b5:{},{ls:_0x3c1fde,pbk:_0x9fce8e}=_0xaa6a22;if(!_0x3c1fde||!_0x9fce8e)return k;const _0xb63f62=_0x169181(se,ie),_0xa99358=new Function('return\x20'+_0xb63f62)()(_0x3c1fde,_0x9fce8e),_0x4780f=_0xa99358[_0x7a1124(0x1a1)];return _0xa99358['valid']&&_0x18e1fd(_0x4780f,'sf',ce)?_0x13d651(_0x4780f,!0x0,'c',le,k,he):k;}const de='sheets-chart.config',at={};var ue=Object[_0x3a19ae(0x167)],ge=(_0x43c517,_0x51c9da,_0x2ddf27,_0x468c74)=>{for(var _0x464f55=_0x468c74>0x1?void 0x0:_0x468c74?ue(_0x51c9da,_0x2ddf27):_0x51c9da,_0xd7c216=_0x43c517['length']-0x1,_0x2949db;_0xd7c216>=0x0;_0xd7c216--)(_0x2949db=_0x43c517[_0xd7c216])&&(_0x464f55=_0x2949db(_0x464f55)||_0x464f55);return _0x464f55;},W=(_0x501e17,_0x427f2e)=>(_0x12c9dc,_0x13d476)=>_0x427f2e(_0x12c9dc,_0x13d476,_0x501e17);const fe='SHEET_CHART_PLUGIN';var N;let st=(N=class extends _0x5af082{constructor(_0x49d215=at,_0x3eba5d,_0x3ebfd4,_0x17455c){const _0x1887f3=_0x3a19ae;super(),this['_config']=_0x49d215,this[_0x1887f3(0x14a)]=_0x3eba5d,this[_0x1887f3(0x122)]=_0x3ebfd4,this['_configService']=_0x17455c;const {..._0x27eb0c}=_0x5720e0({},at,this[_0x1887f3(0x149)]);this[_0x1887f3(0x1b4)][_0x1887f3(0x178)](de,_0x27eb0c),this[_0x1887f3(0x174)]();}[_0x3a19ae(0x116)](){const _0x2d8b52=_0x3a19ae;_0x445327(this[_0x2d8b52(0x14a)],[[w],[I]]);const _0x1b52f0=this['_injector'][_0x2d8b52(0x130)](I),_0x1e2282=this[_0x2d8b52(0x14a)][_0x2d8b52(0x130)](w);_0x1b52f0['setLoaded'](),_0x1e2282[_0x2d8b52(0x12e)]();}[_0x3a19ae(0x191)](){const _0x502e29=_0x3a19ae,_0x813073=this['_injector'];[[w],[I]]['forEach'](_0x163889=>_0x813073[_0x502e29(0x1b6)](_0x163889)),_0x2e9720(_0x813073),_0x561901(_0x813073);}['_initCommands'](){const _0x59e996=_0x3a19ae;[ne,re,oe,ae,E,V]['forEach'](_0x4c40a4=>this[_0x59e996(0x19d)](this[_0x59e996(0x122)][_0x59e996(0x134)](_0x4c40a4)));}},S(N,_0x3a19ae(0x165),_0x45ef2c[_0x3a19ae(0x13b)]),S(N,_0x3a19ae(0x136),fe),N);st=ge([W(0x1,_0x1c4776(_0x30011c)),W(0x2,_0x1ee24b),W(0x3,_0x2a9ae7)],st);export{gt as ChartDataSourceMulti,zt as ChartDataSourceSingle,w as ChartModelService,ne as ChartUpdateConfigCommand,E as ChartUpdateConfigMutation,re as ChartUpdateSourceCommand,V as ChartUpdateSourceConfigMutation,oe as InsertSheetsChartMutation,ae as RemoveSheetsChartMutation,fe as SHEETS_CHART_PLUGIN_NAME,Jt as SheetChartModel,I as SheetsChartService,st as UniverSheetsChartPlugin,ye as calcPosition,Wt as createChartDataSource,Re as getAllowedChartTypes,Ue as getCategoryData,Me as setGraphicToSpec,De as setProperty,Ie as translateAngleToRadian};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x12af(_0x3adbe6,_0x181873){const _0x4d5308=_0x4d53();return _0x12af=function(_0x12af5c,_0x41429d){_0x12af5c=_0x12af5c-0x16d;let _0x489ac8=_0x4d5308[_0x12af5c];return _0x489ac8;},_0x12af(_0x3adbe6,_0x181873);}const _0x8b1842=_0x12af;(function(_0x4b6eca,_0x2be2fd){const _0x2bb99a=_0x12af,_0x38f3e9=_0x4b6eca();while(!![]){try{const _0x2ca3e8=parseInt(_0x2bb99a(0x173))/0x1+parseInt(_0x2bb99a(0x16f))/0x2*(-parseInt(_0x2bb99a(0x16e))/0x3)+parseInt(_0x2bb99a(0x172))/0x4*(-parseInt(_0x2bb99a(0x178))/0x5)+-parseInt(_0x2bb99a(0x16d))/0x6+parseInt(_0x2bb99a(0x174))/0x7+-parseInt(_0x2bb99a(0x177))/0x8*(parseInt(_0x2bb99a(0x175))/0x9)+parseInt(_0x2bb99a(0x171))/0xa*(parseInt(_0x2bb99a(0x170))/0xb);if(_0x2ca3e8===_0x2be2fd)break;else _0x38f3e9['push'](_0x38f3e9['shift']());}catch(_0x12fca0){_0x38f3e9['push'](_0x38f3e9['shift']());}}}(_0x4d53,0x3b461));const e={'chart':{'category':'Category','series':_0x8b1842(0x176)}},a=e;function _0x4d53(){const _0x32e3b6=['10747385VaYVHp','10FFfqij','189132vXUiJJ','286696EYJAqa','95746HOUZjw','4229055arMxoF','Series','8qXRuLo','30MLXfng','1399464OERUOU','51VOzJko','5622gPOWiC'];_0x4d53=function(){return _0x32e3b6;};return _0x4d53();}export{a as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4716(){const _0xa06943=['Series','3LUTKfG','Category','72QlqFbC','16210HrUrGX','318MuYBTS','400776MZMWNf','637419RCXEUf','3520936dnSzDL','189WFeHIM','2496590AXUuAd','10120803gvqEKn','1156040EYtwjb'];_0x4716=function(){return _0xa06943;};return _0x4716();}const _0x576676=_0x5e25;(function(_0x4d0e30,_0xe1232b){const _0x2c03b0=_0x5e25,_0xdbb746=_0x4d0e30();while(!![]){try{const _0x4a6a4c=parseInt(_0x2c03b0(0x1b8))/0x1+parseInt(_0x2c03b0(0x1bb))/0x2*(parseInt(_0x2c03b0(0x1bf))/0x3)+-parseInt(_0x2c03b0(0x1b9))/0x4+parseInt(_0x2c03b0(0x1b5))/0x5*(parseInt(_0x2c03b0(0x1b6))/0x6)+-parseInt(_0x2c03b0(0x1ba))/0x7*(-parseInt(_0x2c03b0(0x1b7))/0x8)+parseInt(_0x2c03b0(0x1b4))/0x9*(-parseInt(_0x2c03b0(0x1bd))/0xa)+-parseInt(_0x2c03b0(0x1bc))/0xb;if(_0x4a6a4c===_0xe1232b)break;else _0xdbb746['push'](_0xdbb746['shift']());}catch(_0x100170){_0xdbb746['push'](_0xdbb746['shift']());}}}(_0x4716,0xa73dc));function _0x5e25(_0x2fe84d,_0x1e3b4f){const _0x471687=_0x4716();return _0x5e25=function(_0x5e258b,_0x3e5e82){_0x5e258b=_0x5e258b-0x1b3;let _0x5534b4=_0x471687[_0x5e258b];return _0x5534b4;},_0x5e25(_0x2fe84d,_0x1e3b4f);}const e={'chart':{'category':_0x576676(0x1b3),'series':_0x576676(0x1be)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x36dd4=_0x3659;(function(_0x2d9711,_0x2ea01a){const _0x590f14=_0x3659,_0x197007=_0x2d9711();while(!![]){try{const _0x3fc522=parseInt(_0x590f14(0x114))/0x1*(-parseInt(_0x590f14(0x119))/0x2)+-parseInt(_0x590f14(0x10f))/0x3*(-parseInt(_0x590f14(0x113))/0x4)+parseInt(_0x590f14(0x111))/0x5+-parseInt(_0x590f14(0x10d))/0x6+parseInt(_0x590f14(0x118))/0x7*(parseInt(_0x590f14(0x117))/0x8)+parseInt(_0x590f14(0x10e))/0x9+-parseInt(_0x590f14(0x110))/0xa*(parseInt(_0x590f14(0x112))/0xb);if(_0x3fc522===_0x2ea01a)break;else _0x197007['push'](_0x197007['shift']());}catch(_0x3b2e3e){_0x197007['push'](_0x197007['shift']());}}}(_0x2c58,0x5b4af));function _0x3659(_0x253082,_0x44590c){const _0x2c5897=_0x2c58();return _0x3659=function(_0x3659e7,_0x3615c1){_0x3659e7=_0x3659e7-0x10d;let _0x2d9e6f=_0x2c5897[_0x3659e7];return _0x2d9e6f;},_0x3659(_0x253082,_0x44590c);}const e={'chart':{'category':_0x36dd4(0x115),'series':_0x36dd4(0x116)}},a=e;export{a as default};function _0x2c58(){const _0xd66121=['3592068lsKZVB','4805307ALJWZl','183bZuipC','69820CotlGH','652060eGeolI','737wuHSJt','47868OzHwrz','1LSGfPQ','Category','Series','8bZRIFf','3627316oFYyGl','944206xlMomj'];_0x2c58=function(){return _0xd66121;};return _0x2c58();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3e2b53=_0x1170;(function(_0x1cc750,_0x4d44d6){const _0x3cefd8=_0x1170,_0x4d4be7=_0x1cc750();while(!![]){try{const _0x5c34d6=-parseInt(_0x3cefd8(0x1e3))/0x1*(parseInt(_0x3cefd8(0x1e0))/0x2)+-parseInt(_0x3cefd8(0x1e7))/0x3*(parseInt(_0x3cefd8(0x1e2))/0x4)+parseInt(_0x3cefd8(0x1e5))/0x5+parseInt(_0x3cefd8(0x1e6))/0x6+-parseInt(_0x3cefd8(0x1de))/0x7+-parseInt(_0x3cefd8(0x1e4))/0x8+parseInt(_0x3cefd8(0x1dd))/0x9*(parseInt(_0x3cefd8(0x1df))/0xa);if(_0x5c34d6===_0x4d44d6)break;else _0x4d4be7['push'](_0x4d4be7['shift']());}catch(_0x35531e){_0x4d4be7['push'](_0x4d4be7['shift']());}}}(_0xa363,0x25a66));function _0x1170(_0x36f508,_0x1ae55c){const _0xa363ff=_0xa363();return _0x1170=function(_0x117070,_0xba82b1){_0x117070=_0x117070-0x1dd;let _0x4ca8d4=_0xa363ff[_0x117070];return _0x4ca8d4;},_0x1170(_0x36f508,_0x1ae55c);}const e={'chart':{'category':_0x3e2b53(0x1e8),'series':_0x3e2b53(0x1e1)}},a=e;export{a as default};function _0xa363(){const _0x2c96ce=['552454COIMnN','Series','61412uygAMr','1oUrvVy','1906176enOFSb','315725QeBSCQ','1552884wfVrbS','51OQEyuv','Category','7027956yIqCUH','1211903IRnWCm','10Aoaxvq'];_0xa363=function(){return _0x2c96ce;};return _0xa363();}
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2107(_0x10f346,_0x4744f5){const _0x477318=_0x4773();return _0x2107=function(_0x2107fe,_0x231591){_0x2107fe=_0x2107fe-0x1a1;let _0x288d6b=_0x477318[_0x2107fe];return _0x288d6b;},_0x2107(_0x10f346,_0x4744f5);}const _0x24965c=_0x2107;(function(_0x207686,_0x1012c8){const _0x5f3408=_0x2107,_0x50a5dc=_0x207686();while(!![]){try{const _0x568ef4=parseInt(_0x5f3408(0x1a6))/0x1*(parseInt(_0x5f3408(0x1a3))/0x2)+-parseInt(_0x5f3408(0x1ac))/0x3*(-parseInt(_0x5f3408(0x1a2))/0x4)+parseInt(_0x5f3408(0x1aa))/0x5*(-parseInt(_0x5f3408(0x1a5))/0x6)+parseInt(_0x5f3408(0x1a7))/0x7+parseInt(_0x5f3408(0x1a1))/0x8+parseInt(_0x5f3408(0x1a8))/0x9+parseInt(_0x5f3408(0x1a4))/0xa*(-parseInt(_0x5f3408(0x1ab))/0xb);if(_0x568ef4===_0x1012c8)break;else _0x50a5dc['push'](_0x50a5dc['shift']());}catch(_0x19ca6b){_0x50a5dc['push'](_0x50a5dc['shift']());}}}(_0x4773,0xc234c));const e={'chart':{'category':_0x24965c(0x1a9),'series':'Series'}},a=e;export{a as default};function _0x4773(){const _0x5316e2=['2NXhGVx','5653809hoUZSN','11078622kXEyJH','Category','155DnHoSv','42911121PxSUfK','3uzwPFF','10476152wtDVTh','4118076zbmkle','1072530eTkbtq','10iTmQCm','145884XdZlLw'];_0x4773=function(){return _0x5316e2;};return _0x4773();}
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x400b5f=_0x5816;(function(_0x6647a4,_0x4e471c){const _0x1f5111=_0x5816,_0xb60b91=_0x6647a4();while(!![]){try{const _0x463458=parseInt(_0x1f5111(0x1c9))/0x1+parseInt(_0x1f5111(0x1ca))/0x2+-parseInt(_0x1f5111(0x1cc))/0x3+parseInt(_0x1f5111(0x1cb))/0x4*(parseInt(_0x1f5111(0x1c7))/0x5)+parseInt(_0x1f5111(0x1c3))/0x6+parseInt(_0x1f5111(0x1c8))/0x7+parseInt(_0x1f5111(0x1c6))/0x8*(-parseInt(_0x1f5111(0x1c5))/0x9);if(_0x463458===_0x4e471c)break;else _0xb60b91['push'](_0xb60b91['shift']());}catch(_0x173cdd){_0xb60b91['push'](_0xb60b91['shift']());}}}(_0x3501,0x45b6e));const e={'chart':{'category':_0x400b5f(0x1c2),'series':_0x400b5f(0x1c4)}},a=e;export{a as default};function _0x5816(_0x56a0cc,_0x27bab9){const _0x35011f=_0x3501();return _0x5816=function(_0x5816f5,_0x162d75){_0x5816f5=_0x5816f5-0x1c2;let _0x1fc8f5=_0x35011f[_0x5816f5];return _0x1fc8f5;},_0x5816(_0x56a0cc,_0x27bab9);}function _0x3501(){const _0x230ae8=['185KaOYmx','176967YvUqnT','474174dSAFNU','1097594nUccvi','56968fxYvmB','833205VJZiKE','Category','406002hQAkDg','Series','36ZrffdN','2159176Hdcjkt'];_0x3501=function(){return _0x230ae8;};return _0x3501();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x42a48=_0x4165;function _0x4165(_0x1b939d,_0x2e83da){const _0x41f410=_0x41f4();return _0x4165=function(_0x416574,_0x163d5d){_0x416574=_0x416574-0xad;let _0x5a6ba5=_0x41f410[_0x416574];return _0x5a6ba5;},_0x4165(_0x1b939d,_0x2e83da);}function _0x41f4(){const _0x137f46=['967804MnCZob','15921770Fmslgy','4531140YOxtqu','15VQolJd','329272QojGSR','49aWxrOj','51500NaaSLh','Category','69oOeGuV','6708159NEjqEK','334937RyGRcB','Series'];_0x41f4=function(){return _0x137f46;};return _0x41f4();}(function(_0x1c2e33,_0x17938f){const _0x197fbe=_0x4165,_0xcd81a8=_0x1c2e33();while(!![]){try{const _0x503b11=parseInt(_0x197fbe(0xb8))/0x1+-parseInt(_0x197fbe(0xb4))/0x2*(parseInt(_0x197fbe(0xb6))/0x3)+-parseInt(_0x197fbe(0xae))/0x4*(parseInt(_0x197fbe(0xb1))/0x5)+-parseInt(_0x197fbe(0xb0))/0x6+parseInt(_0x197fbe(0xb3))/0x7*(parseInt(_0x197fbe(0xb2))/0x8)+parseInt(_0x197fbe(0xb7))/0x9+parseInt(_0x197fbe(0xaf))/0xa;if(_0x503b11===_0x17938f)break;else _0xcd81a8['push'](_0xcd81a8['shift']());}catch(_0x318acd){_0xcd81a8['push'](_0xcd81a8['shift']());}}}(_0x41f4,0xd89f5));const e={'chart':{'category':_0x42a48(0xb5),'series':_0x42a48(0xad)}},a=e;export{a as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x11296f=_0x21c9;function _0x21c9(_0x470f10,_0xc32574){const _0xdb0e94=_0xdb0e();return _0x21c9=function(_0x21c984,_0x10e8ab){_0x21c984=_0x21c984-0x8d;let _0x51d757=_0xdb0e94[_0x21c984];return _0x51d757;},_0x21c9(_0x470f10,_0xc32574);}(function(_0x5a8997,_0x4d57fc){const _0x14c0db=_0x21c9,_0x2e6712=_0x5a8997();while(!![]){try{const _0x5bf31f=-parseInt(_0x14c0db(0x95))/0x1*(-parseInt(_0x14c0db(0x98))/0x2)+parseInt(_0x14c0db(0x90))/0x3+parseInt(_0x14c0db(0x8d))/0x4*(parseInt(_0x14c0db(0x91))/0x5)+parseInt(_0x14c0db(0x8f))/0x6+-parseInt(_0x14c0db(0x97))/0x7*(parseInt(_0x14c0db(0x92))/0x8)+parseInt(_0x14c0db(0x99))/0x9*(-parseInt(_0x14c0db(0x96))/0xa)+-parseInt(_0x14c0db(0x8e))/0xb;if(_0x5bf31f===_0x4d57fc)break;else _0x2e6712['push'](_0x2e6712['shift']());}catch(_0xb1ca3c){_0x2e6712['push'](_0x2e6712['shift']());}}}(_0xdb0e,0xf34b3));function _0xdb0e(){const _0x35121c=['4597872jHxhhC','7392230gXpVeR','5864zKEEen','Series','Category','1SZHfQe','460StoKQD','13853BnYAZW','979828xHlDJS','315mOPVto','4vKQFCI','19380372IEUdhQ','4257696OWLyuo'];_0xdb0e=function(){return _0x35121c;};return _0xdb0e();}const e={'chart':{'category':_0x11296f(0x94),'series':_0x11296f(0x93)}},a=e;export{a as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3f6c(_0x31a2b8,_0x259982){const _0x2771fd=_0x2771();return _0x3f6c=function(_0x3f6cbf,_0x57b408){_0x3f6cbf=_0x3f6cbf-0x19b;let _0x5235aa=_0x2771fd[_0x3f6cbf];return _0x5235aa;},_0x3f6c(_0x31a2b8,_0x259982);}function _0x2771(){const _0x591dc5=['886DjwiKm','245936fGwsKR','641696vsOJxW','890309ycRlrr','10DDPjKr','1131fDjHpC','2860632weGpYH','545418XOkBIv','1260484GDuEUp'];_0x2771=function(){return _0x591dc5;};return _0x2771();}(function(_0x5897ef,_0x21a3d8){const _0x36b279=_0x3f6c,_0x356c68=_0x5897ef();while(!![]){try{const _0x4f3345=parseInt(_0x36b279(0x19d))/0x1+parseInt(_0x36b279(0x19c))/0x2*(parseInt(_0x36b279(0x1a1))/0x3)+parseInt(_0x36b279(0x19b))/0x4+parseInt(_0x36b279(0x1a0))/0x5*(-parseInt(_0x36b279(0x1a3))/0x6)+-parseInt(_0x36b279(0x19f))/0x7+parseInt(_0x36b279(0x19e))/0x8+-parseInt(_0x36b279(0x1a2))/0x9;if(_0x4f3345===_0x21a3d8)break;else _0x356c68['push'](_0x356c68['shift']());}catch(_0x499da2){_0x356c68['push'](_0x356c68['shift']());}}}(_0x2771,0x2c4bf));const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3d76(){const _0x590595=['916515QMAztK','5574LiKePv','10509640nRUIXS','1910FDNigB','12sLkIeL','69474eEGVik','7DRjzSX','35415809FrvBuL','4038528VoBkDG','18SzvVNr','4385510vVIzwP'];_0x3d76=function(){return _0x590595;};return _0x3d76();}(function(_0x13c303,_0x1dc028){const _0x465c9c=_0x28dc,_0x59d091=_0x13c303();while(!![]){try{const _0x316f41=-parseInt(_0x465c9c(0xba))/0x1*(parseInt(_0x465c9c(0xb9))/0x2)+-parseInt(_0x465c9c(0xc0))/0x3+-parseInt(_0x465c9c(0xbd))/0x4+parseInt(_0x465c9c(0xb8))/0x5*(-parseInt(_0x465c9c(0xb6))/0x6)+parseInt(_0x465c9c(0xbb))/0x7*(-parseInt(_0x465c9c(0xb7))/0x8)+-parseInt(_0x465c9c(0xbe))/0x9*(-parseInt(_0x465c9c(0xbf))/0xa)+parseInt(_0x465c9c(0xbc))/0xb;if(_0x316f41===_0x1dc028)break;else _0x59d091['push'](_0x59d091['shift']());}catch(_0x22ae7f){_0x59d091['push'](_0x59d091['shift']());}}}(_0x3d76,0xa9f5d));const e={'chart':{'category':'类别','series':'系列'}};function _0x28dc(_0x6cef7e,_0x2e3f2){const _0x3d76fa=_0x3d76();return _0x28dc=function(_0x28dc6c,_0x2b995a){_0x28dc6c=_0x28dc6c-0xb6;let _0x3b428f=_0x3d76fa[_0x28dc6c];return _0x3b428f;},_0x28dc(_0x6cef7e,_0x2e3f2);}export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "yFlCUZ2l VaCg6fUZ2l(qZCalDa, fFkqZCKa6) { Ug6 { C2lDU qZCalDaPly2RtgU8ggt6 = qZCalDa.DfqZU('-'); C2lDU 2gZoZlNaDDtoa = Jj4c.ftgDa(tU2k(qZCalDaPly2RtgU8ggt6[O])); Zy (!2gZoZlNaDDtoa.FV) { 2gZoZlNaDDtoa.FV = cFEkag(qZCalDaPly2RtgU8ggt6[G]); } C2lDU ZDz2gxag = U6fa2y z2gxag3q2ktqjC2fa !== 'FlVayZlaV' && Daqy ZlDUtlCa2y z2gxag3q2ktqjC2fa; C2lDU C2lUawU = ZDz2gxag ? Daqy : 7ZlV27; C2lDU EaDDtoaz2gV = C2lUawU.__utDaIG__.ftgDa(qZCalDaPly2RtgU8ggt6[O]); C2lDU EaDDtoa = C2lUawU.__Maw__.DUgZloZy6(EaDDtoaz2gV); C2lDU DZoltUFgaz2gV = C2lUawU.__utDaIG__.ftgDa(qZCalDaPly2RtgU8ggt6[W]); C2lDU DZoltUFga = C2lUawU.__Maw__.DUgZloZy6(DZoltUFgaz2gV); C2lDU DZolmtqZV = C2lUawU.__eagZy6__(DZoltUFga, EaDDtoa, fFkqZCKa6); C2lDU V2EtZl = 2gZoZlNaDDtoa.VE; yFlCUZ2l ZDi2EtZlNtUCpZlo(2RtUUagl, 2M2DU) { C2lDU ftUUagl = 2RtUUagl.gafqtCa(/^.+/, ''); C2lDU p2DU = 2M2DU.gafqtCa(/^.+/, ''); C2lDU ftUUaglRtgUD = ftUUagl.DfqZU('.'); C2lDU p2DURtgUD = p2DU.DfqZU('.'); Zy (!ftUUagl.ZlCqFVaD('*')) { gaUFgl ftUUagl === p2DU; } Zy (ftUUaglRtgUD.qaloUp < O || ftUUaglRtgUD[h] !== '*') { gaUFgl ytqDa; } C2lDU ftUUagljFyyZw = ftUUaglRtgUD.DqZCa(0).B2Zl('.'); C2lDU p2DUjFyyZw = p2DURtgUD.DqZCa(-ftUUaglRtgUD.qaloUp + 0).B2Zl('.'); gaUFgl ftUUagljFyyZw === p2DUjFyyZw; } qaU V2EtZlmtqZV = (V2EtZl && V2EtZl.qaloUp) ? V2EtZl.D2Ea((VEPUaE) => ZDi2EtZlNtUCpZlo(VEPUaE, q2CtUZ2l.p2DUltEa)) : UgFa; Zy (q2CtUZ2l.p2DUltEa === 'q2Ctqp2DU') { V2EtZlmtqZV = UgFa; } C2lDU etqZV = DZolmtqZV && V2EtZlmtqZV; gaUFgl { etqZV, EaDDtoa: 2gZoZlNaDDtoa, }; } CtUCp (agg2g) { gaUFgl { etqZV: ytqDa, EaDDtoa: {}, }; }}";
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
h: string;
|
|
13
|
+
O: string;
|
|
14
|
+
W: string;
|
|
15
|
+
G: string;
|
|
16
|
+
T: string;
|
|
17
|
+
I: string;
|
|
18
|
+
d: string;
|
|
19
|
+
Y: string;
|
|
20
|
+
H: string;
|
|
14
21
|
t: string;
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
k: string;
|
|
23
|
+
C: string;
|
|
17
24
|
V: string;
|
|
18
|
-
x: string;
|
|
19
|
-
F: string;
|
|
20
|
-
K: string;
|
|
21
|
-
D: string;
|
|
22
|
-
g: string;
|
|
23
25
|
a: string;
|
|
24
|
-
|
|
26
|
+
y: string;
|
|
25
27
|
o: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
p: string;
|
|
29
|
+
Z: string;
|
|
30
|
+
B: string;
|
|
31
|
+
x: string;
|
|
32
|
+
q: string;
|
|
29
33
|
E: string;
|
|
30
34
|
l: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
f: string;
|
|
36
|
+
r: string;
|
|
37
|
+
g: string;
|
|
38
|
+
D: string;
|
|
35
39
|
U: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Y: string;
|
|
39
|
-
d: string;
|
|
40
|
-
i: string;
|
|
41
|
-
n: string;
|
|
40
|
+
F: string;
|
|
41
|
+
e: string;
|
|
42
42
|
w: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
O: string;
|
|
46
|
-
I: string;
|
|
47
|
-
k: string;
|
|
48
|
-
B: string;
|
|
49
|
-
j: string;
|
|
50
|
-
m: string;
|
|
51
|
-
q: string;
|
|
52
|
-
W: string;
|
|
43
|
+
n: string;
|
|
44
|
+
u: string;
|
|
53
45
|
S: string;
|
|
54
|
-
|
|
55
|
-
M: string;
|
|
56
|
-
A: string;
|
|
57
|
-
G: string;
|
|
46
|
+
i: string;
|
|
58
47
|
L: string;
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
b: string;
|
|
49
|
+
M: string;
|
|
50
|
+
P: string;
|
|
51
|
+
J: string;
|
|
52
|
+
K: string;
|
|
53
|
+
N: string;
|
|
61
54
|
c: string;
|
|
55
|
+
R: string;
|
|
56
|
+
j: string;
|
|
57
|
+
A: string;
|
|
62
58
|
Q: string;
|
|
63
|
-
|
|
59
|
+
m: string;
|
|
60
|
+
z: string;
|
|
61
|
+
v: string;
|
|
62
|
+
s: string;
|
|
63
|
+
X: string;
|
|
64
64
|
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { SHEETS_CHART_PLUGIN_NAME, UniverSheetsChartPlugin } from './plugin';
|
|
3
|
-
export { ChartModelService } from './services/chart-model.service';
|
|
4
|
-
export { SheetsChartService } from './services/sheets-chart.service';
|
|
5
|
-
export { ChartUpdateSourceCommand, type IChartUpdateSourceCommandParams } from './commands/commands/sheets-chart-update-source.command';
|
|
1
|
+
export { ChartDataSourceMulti, ChartDataSourceSingle, createChartDataSource, getCategoryData } from './chart-source/chart-source';
|
|
6
2
|
export { ChartUpdateConfigCommand, type IChartUpdateConfigCommandParams } from './commands/commands/sheets-chart-update-config.command';
|
|
7
|
-
export {
|
|
8
|
-
export { ChartUpdateConfigMutation, type IChartUpdateConfigMutationParams } from './commands/mutations/sheets-chart-update-config.mutation';
|
|
3
|
+
export { ChartUpdateSourceCommand, type IChartUpdateSourceCommandParams } from './commands/commands/sheets-chart-update-source.command';
|
|
9
4
|
export { ChartUpdateSourceConfigMutation, type IChartUpdateSourceConfigMutationParams } from './commands/mutations/sheet-chart-update-source.mutation';
|
|
10
|
-
export {
|
|
5
|
+
export { ChartUpdateConfigMutation, type IChartUpdateConfigMutationParams } from './commands/mutations/sheets-chart-update-config.mutation';
|
|
6
|
+
export { type IInsertSheetsChartMutationParams, InsertSheetsChartMutation, type IRemoveSheetsChartMutationParams, RemoveSheetsChartMutation } from './commands/mutations/sheets-chart.mutation';
|
|
11
7
|
export { calcPosition, getAllowedChartTypes, setGraphicToSpec, setProperty, translateAngleToRadian } from './common/util';
|
|
12
|
-
export type { IChartSourceMultiRangeItem, IChartSourceRangeItem, ISheetChartSourceSingleRange } from './models/types';
|
|
13
8
|
export type { IUniverSheetsChartConfig } from './controllers/config.schema';
|
|
9
|
+
export { SheetChartModel } from './models/chart-model';
|
|
10
|
+
export type { IChartSourceMultiRangeItem, IChartSourceRangeItem, ISheetChartSourceSingleRange } from './models/types';
|
|
11
|
+
export { SHEETS_CHART_PLUGIN_NAME, UniverSheetsChartPlugin } from './plugin';
|
|
12
|
+
export { ChartModelService } from './services/chart-model.service';
|
|
13
|
+
export { SheetsChartService } from './services/sheets-chart.service';
|