@univerjs-pro/sheets-chart 1.3.0 → 1.3.1

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.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0xa8c67f=_0x588e;function _0x588e(_0xa494f6,_0x45814a){_0xa494f6=_0xa494f6-0x1c1;const _0x425578=_0x4255();let _0x588e39=_0x425578[_0xa494f6];return _0x588e39;}(function(_0xb7ec2f,_0x5086e0){const _0x420e54=_0x588e,_0x429938=_0xb7ec2f();while(!![]){try{const _0x22bb68=parseInt(_0x420e54(0x1ec))/0x1*(-parseInt(_0x420e54(0x1ff))/0x2)+-parseInt(_0x420e54(0x204))/0x3*(parseInt(_0x420e54(0x1c6))/0x4)+parseInt(_0x420e54(0x1d0))/0x5+parseInt(_0x420e54(0x1ef))/0x6*(parseInt(_0x420e54(0x1d9))/0x7)+parseInt(_0x420e54(0x1f0))/0x8*(-parseInt(_0x420e54(0x1e5))/0x9)+-parseInt(_0x420e54(0x1c7))/0xa*(parseInt(_0x420e54(0x1fa))/0xb)+parseInt(_0x420e54(0x1ee))/0xc;if(_0x22bb68===_0x5086e0)break;else _0x429938['push'](_0x429938['shift']());}catch(_0x24cda3){_0x429938['push'](_0x429938['shift']());}}}(_0x4255,0x6fbc6),Object[_0xa8c67f(0x1c3)](exports,Symbol['toStringTag'],{'value':_0xa8c67f(0x1ea)}));let e=require('@univerjs-pro/engine-chart'),t=require('@univerjs-pro/engine-chart/facade'),n=require('@univerjs-pro/sheets-chart'),r=require('@univerjs/core'),i=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');function _0x4255(){const _0x2a1192=['getSheetId','unitId','setPlotVisibleOnly','_chartSourceContext','SheetsChartService','1604915FFtJhU','toChartModelConfig','inferInitialChartSource','theme','getInject','Range','resolveSourceSpec','dataAggregation','getChartModel','10661PKvDdz','ranges','height','Invalid\x20Sheet\x20chart\x20source.','kind','style','getChartSourceSpec','mapping','ChartSourceKind','FChart','FWorksheet','rangeInfo','61470pwgcgo','message','InsertChartCommand','_injector','chartTypeToBits','Module','resolveSourceSeries','1NprBqZ','createInstance','17448960kkLZQU','3606LZiJhR','416dTdeCg','categoryIndex','LocaleService','executeCommand','size','isArray','subUnitId','join','getCharts','anchor','11znQcQH','setPosition','severity','getPlotVisibleOnly','resolveInitialChartPosition','832286iiJJpD','map','getSubUnitId','get','FEnum','299394PMddMw','createChartBuilder','commitHost','source','context','ICommandService','extend','defineProperty','_createSheetAdapter','ChartSourceOrientation','36imeYim','5632310GgbbKC','chartId','SheetChartConfigAdapter','setHeader'];_0x4255=function(){return _0x2a1192;};return _0x4255();}var o=class extends t[_0xa8c67f(0x1e2)]{constructor(_0x4dba2e,_0x5a1f63,_0x3678ab,_0x5eac19){const _0x35e12f=_0xa8c67f;super(_0x3678ab,()=>new n[(_0x35e12f(0x1c9))]({'unitId':_0x4dba2e,'subUnitId':_0x5a1f63,'chartId':_0x3678ab,'injector':_0x5eac19}),(_0x25f5af,_0x40870a,_0x2f6727)=>(0x0,t[_0x35e12f(0x205)])({'info':_0x25f5af,'description':_0x40870a,'type':_0x2f6727,'normalizeSource':_0x404ba3=>_0x404ba3,'extension':({setInfo:_0x3a3ae1})=>({'setPosition'(_0x48d7d8){const _0x7d5883=_0x35e12f;return _0x3a3ae1(_0x7d5883(0x1f9),_0x48d7d8),this;}})}),_0x5eac19),this['unitId']=_0x4dba2e,this[_0x35e12f(0x1f6)]=_0x5a1f63,this[_0x35e12f(0x1c8)]=_0x3678ab;}['getRange'](){const _0x5a6927=_0xa8c67f;let _0x4d7ce7=this[_0x5a6927(0x1e8)][_0x5a6927(0x202)](n[_0x5a6927(0x1cf)])[_0x5a6927(0x1df)](this[_0x5a6927(0x1c8)]);return _0x4d7ce7&&!Array[_0x5a6927(0x1f5)](_0x4d7ce7)?_0x4d7ce7:void 0x0;}[_0xa8c67f(0x1fb)](_0x18f50f){const _0x4eb3dd=_0xa8c67f;return this[_0x4eb3dd(0x1c4)]()[_0x4eb3dd(0x206)]({'layout':{'anchor':_0x18f50f}}),this;}async[_0xa8c67f(0x1ca)](_0x2200d0){const _0x58ca23=_0xa8c67f;this[_0x58ca23(0x1c4)]()[_0x58ca23(0x1ca)](_0x2200d0);}[_0xa8c67f(0x1cd)](_0x3f7854){const _0x5a6230=_0xa8c67f;return this[_0x5a6230(0x1c4)]()['commit']({'plotVisibleOnly':_0x3f7854}),this;}[_0xa8c67f(0x1fd)](){const _0x35fcb7=_0xa8c67f;return this['_createSheetAdapter']()[_0x35fcb7(0x1fd)]();}['_createSheetAdapter'](){const _0x11da0d=_0xa8c67f;return new n[(_0x11da0d(0x1c9))]({'unitId':this[_0x11da0d(0x1cc)],'subUnitId':this['subUnitId'],'chartId':this['chartId'],'injector':this[_0x11da0d(0x1e8)]});}},s=class extends i[_0xa8c67f(0x1e3)]{['newChart'](_0x60663c){const _0x1ea395=_0xa8c67f;return(0x0,t['createChartBuilder'])({'type':_0x60663c,'injector':this[_0x1ea395(0x1e8)],'commitError':'Insert\x20the\x20Sheet\x20chart\x20before\x20updating\x20it.','normalizeSource':_0x4fd201=>_0x4fd201,'createInfo':()=>({'anchor':void 0x0}),'extension':({setInfo:_0x3f4df2})=>({'setPosition'(_0x57cda9){const _0x3a8dcc=_0x1ea395;return _0x3f4df2(_0x3a8dcc(0x1f9),_0x57cda9),this;}})});}async['insertChart'](_0x43c6e8){const _0xa052d0=_0xa8c67f;var _0x1ae5a6,_0x4ad556,_0x11d17d;let {config:_0x4bf347,dataSource:_0x43e931,anchor:_0x1fada8,position:_0xf2aff7,size:_0x1f6e7d}=_0x43c6e8,_0x86ac21={..._0x4bf347,'source':_0x43e931,'anchor':_0x1fada8,'position':_0xf2aff7,'size':_0x1f6e7d},_0x8ce7e2=(0x0,e[_0xa052d0(0x1e9)])(_0x86ac21['type']),_0x102c3c=this[_0xa052d0(0x1ce)](_0x8ce7e2),_0x43813e=[],_0x5230c6=(0x0,n[_0xa052d0(0x1d6)])(_0x86ac21[_0xa052d0(0x207)],_0x102c3c,_0x43813e);if(!_0x5230c6||_0x43813e['some'](_0xe22014=>_0xe22014[_0xa052d0(0x1fc)]===n['ChartDiagnosticSeverity']['Error']))throw Error(_0x43813e[_0xa052d0(0x200)](_0x3a3bf1=>_0x3a3bf1[_0xa052d0(0x1e6)])[_0xa052d0(0x1f7)](';\x20')||_0xa052d0(0x1dc));let _0x21ed69=(0x0,r['generateRandomId'])(),_0x54f110=(0x0,e[_0xa052d0(0x1d1)])(_0x86ac21,{'series':(0x0,n[_0xa052d0(0x1eb)])(_0x5230c6,_0x102c3c,((_0x1ae5a6=_0x86ac21[_0xa052d0(0x1e0)])==null?void 0x0:_0x1ae5a6[_0xa052d0(0x1f1)])??0x0)}),_0x4d8623=(0x0,n[_0xa052d0(0x1fe)])({'unitId':_0x102c3c[_0xa052d0(0x1cc)],'subUnitId':_0x102c3c[_0xa052d0(0x1f6)],'injector':this[_0xa052d0(0x1d4)]()},_0x86ac21,_0x43813e),_0x2c2553={'unitId':_0x102c3c['unitId'],'subUnitId':_0x102c3c[_0xa052d0(0x1f6)],'chartId':_0x21ed69,'chartType':_0x8ce7e2,'source':_0x5230c6[_0xa052d0(0x1dd)]===n[_0xa052d0(0x1e1)][_0xa052d0(0x1d5)]?_0x5230c6[_0xa052d0(0x1e4)]:_0x5230c6[_0xa052d0(0x1da)],'position':_0x4d8623,'width':(_0x4ad556=_0x86ac21['size'])==null?void 0x0:_0x4ad556['width'],'height':(_0x11d17d=_0x86ac21[_0xa052d0(0x1f4)])==null?void 0x0:_0x11d17d[_0xa052d0(0x1db)],'theme':_0x86ac21[_0xa052d0(0x1d3)]??void 0x0,'config':{'unitId':_0x102c3c[_0xa052d0(0x1cc)],'chartModelId':_0x21ed69,'style':_0x54f110[_0xa052d0(0x1de)],'context':_0x54f110[_0xa052d0(0x208)],'dataAggregation':_0x54f110[_0xa052d0(0x1d7)]}};if(!await this[_0xa052d0(0x1d4)]()[_0xa052d0(0x202)](r[_0xa052d0(0x1c1)])[_0xa052d0(0x1f3)](n[_0xa052d0(0x1e7)]['id'],_0x2c2553))throw Error('Failed\x20to\x20create\x20Sheet\x20chart.');return this['_injector']['createInstance'](o,_0x102c3c['unitId'],_0x102c3c['subUnitId'],_0x21ed69,this[_0xa052d0(0x1e8)]);}['getChart'](_0x536972){const _0x47b8d1=_0xa8c67f;let {unitId:_0x55d2c6,subUnitId:_0x3a50b1}=this['_chartSourceContext'](),_0x4570cf=this[_0x47b8d1(0x1d4)]()[_0x47b8d1(0x202)](n['SheetsChartService']);return _0x4570cf[_0x47b8d1(0x1d8)](_0x536972)&&_0x4570cf[_0x47b8d1(0x201)](_0x55d2c6,_0x536972)===_0x3a50b1?this['_injector'][_0x47b8d1(0x1ed)](o,_0x55d2c6,_0x3a50b1,_0x536972,this[_0x47b8d1(0x1e8)]):null;}[_0xa8c67f(0x1f8)](){const _0x361548=_0xa8c67f;let {unitId:_0x41788f,subUnitId:_0x5b076f}=this[_0x361548(0x1ce)]();return this[_0x361548(0x1d4)]()['get'](n[_0x361548(0x1cf)])['getUnitChartModels'](_0x41788f,_0x5b076f)['filter'](Boolean)[_0x361548(0x200)](_0x21850a=>this['_injector'][_0x361548(0x1ed)](o,_0x41788f,_0x5b076f,_0x21850a['id'],this[_0x361548(0x1e8)]));}['_chartSourceContext'](_0x22d368){const _0x3f4d26=_0xa8c67f;let _0x1be10c=this['getWorkbook'](),_0x3f75d2=this[_0x3f4d26(0x1d4)]()[_0x3f4d26(0x202)](n['SheetsChartService']);return{'unitId':_0x1be10c['getUnitId'](),'subUnitId':this[_0x3f4d26(0x1cb)](),'workbook':_0x1be10c,'localeService':this[_0x3f4d26(0x1e8)]['get'](r[_0x3f4d26(0x1f2)]),..._0x22d368===void 0x0?{}:{'inferInitialChartSource':_0x367d64=>_0x3f75d2[_0x3f4d26(0x1d2)](_0x367d64,_0x22d368)}};}};i[_0xa8c67f(0x1e3)]['extend'](s);var c=class extends a['FEnum']{get[_0xa8c67f(0x1c5)](){const _0x420857=_0xa8c67f;return n[_0x420857(0x1c5)];}};a[_0xa8c67f(0x203)][_0xa8c67f(0x1c2)](c),exports['FSheetChart']=o;
1
+ const _0x230364=_0x2dcb;(function(_0x15e0e1,_0x1e7fab){const _0x210f67=_0x2dcb,_0x29178d=_0x15e0e1();while(!![]){try{const _0x56cf7c=parseInt(_0x210f67(0xb7))/0x1+-parseInt(_0x210f67(0x96))/0x2+-parseInt(_0x210f67(0xb3))/0x3*(-parseInt(_0x210f67(0xb5))/0x4)+parseInt(_0x210f67(0xb8))/0x5*(parseInt(_0x210f67(0xc5))/0x6)+-parseInt(_0x210f67(0x97))/0x7*(-parseInt(_0x210f67(0xa5))/0x8)+-parseInt(_0x210f67(0xbd))/0x9*(-parseInt(_0x210f67(0xcd))/0xa)+-parseInt(_0x210f67(0x9d))/0xb;if(_0x56cf7c===_0x1e7fab)break;else _0x29178d['push'](_0x29178d['shift']());}catch(_0xb4d537){_0x29178d['push'](_0x29178d['shift']());}}}(_0x16ca,0x9e9f7),Object['defineProperty'](exports,Symbol[_0x230364(0xa1)],{'value':_0x230364(0xc8)}));let e=require('@univerjs-pro/engine-chart'),t=require('@univerjs-pro/engine-chart/facade'),n=require('@univerjs-pro/sheets-chart'),r=require('@univerjs/core'),i=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');var o=class extends t[_0x230364(0x9a)]{constructor(_0x18677e,_0x4cdb32,_0x3740dd,_0x149068){const _0xa5bde7=_0x230364;super(_0x3740dd,()=>new n[(_0xa5bde7(0xba))]({'unitId':_0x18677e,'subUnitId':_0x4cdb32,'chartId':_0x3740dd,'injector':_0x149068}),(_0x34ee3f,_0x3f5b55,_0x3f28b6)=>(0x0,t['createChartBuilder'])({'info':_0x34ee3f,'description':_0x3f5b55,'type':_0x3f28b6,'normalizeSource':_0x3575e4=>_0x3575e4,'extension':({setInfo:_0x1a3374})=>({'setPosition'(_0x25bf04){const _0x1a632b=_0xa5bde7;return _0x1a3374(_0x1a632b(0xbf),_0x25bf04),this;}})}),_0x149068),this[_0xa5bde7(0xb4)]=_0x18677e,this[_0xa5bde7(0xae)]=_0x4cdb32,this['chartId']=_0x3740dd;}['getRange'](){const _0x501830=_0x230364;let _0x455178=this['_injector']['get'](n[_0x501830(0xd1)])[_0x501830(0xcb)](this[_0x501830(0x98)]);return _0x455178&&!Array['isArray'](_0x455178)?_0x455178:void 0x0;}[_0x230364(0xc6)](_0x1c6cbf){return this['_createSheetAdapter']()['commitHost']({'layout':{'anchor':_0x1c6cbf}}),this;}async[_0x230364(0xc3)](_0x59af67){const _0x124019=_0x230364;this[_0x124019(0xad)]()[_0x124019(0xc3)](_0x59af67);}[_0x230364(0x8c)](_0x16706a){const _0x27e3b3=_0x230364;return this['_createSheetAdapter']()[_0x27e3b3(0x8d)]({'plotVisibleOnly':_0x16706a}),this;}[_0x230364(0xb9)](){return this['_createSheetAdapter']()['getPlotVisibleOnly']();}[_0x230364(0xad)](){const _0x4aa378=_0x230364;return new n[(_0x4aa378(0xba))]({'unitId':this[_0x4aa378(0xb4)],'subUnitId':this[_0x4aa378(0xae)],'chartId':this['chartId'],'injector':this[_0x4aa378(0xaf)]});}},s=class extends i[_0x230364(0xbb)]{[_0x230364(0xa6)](_0x2dc750){const _0x4d92b2=_0x230364;return(0x0,t[_0x4d92b2(0xb6)])({'type':_0x2dc750,'injector':this[_0x4d92b2(0xaf)],'commitError':'Insert\x20the\x20Sheet\x20chart\x20before\x20updating\x20it.','normalizeSource':_0x543152=>_0x543152,'createInfo':()=>({'anchor':void 0x0}),'extension':({setInfo:_0x13b996})=>({'setPosition'(_0xb02d30){const _0x40bcbe=_0x4d92b2;return _0x13b996(_0x40bcbe(0xbf),_0xb02d30),this;}})});}async[_0x230364(0xc9)](_0x4b2e53){const _0xd28a8=_0x230364;var _0x190ce4,_0x3d8b30,_0x35fa48;let {config:_0x57c5a9,dataSource:_0x3e85bf,anchor:_0x45a5d8,position:_0x519997,size:_0x48c67a}=_0x4b2e53,_0x235f62={..._0x57c5a9,'source':_0x3e85bf,'anchor':_0x45a5d8,'position':_0x519997,'size':_0x48c67a},_0x1178a8=(0x0,e['chartTypeToBits'])(_0x235f62['type']),_0x44f908=this[_0xd28a8(0xa3)](_0x1178a8),_0xaa4a85=[],_0x5caf4d=(0x0,n[_0xd28a8(0xb2)])(_0x235f62[_0xd28a8(0xd2)],_0x44f908,_0xaa4a85);if(!_0x5caf4d||_0xaa4a85['some'](_0x245e41=>_0x245e41[_0xd28a8(0xa2)]===n[_0xd28a8(0xce)][_0xd28a8(0x9f)]))throw Error(_0xaa4a85[_0xd28a8(0xc7)](_0x23a6c5=>_0x23a6c5[_0xd28a8(0x94)])['join'](';\x20')||'Invalid\x20Sheet\x20chart\x20source.');let _0x378b43=(0x0,r['generateRandomId'])(),_0x348d96=(0x0,e[_0xd28a8(0xb0)])(_0x235f62,{'series':(0x0,n[_0xd28a8(0x92)])(_0x5caf4d,_0x44f908,((_0x190ce4=_0x235f62[_0xd28a8(0xcf)])==null?void 0x0:_0x190ce4['categoryIndex'])??0x0)}),_0x6eaa4a=(0x0,n[_0xd28a8(0x99)])({'unitId':_0x44f908['unitId'],'subUnitId':_0x44f908['subUnitId'],'injector':this[_0xd28a8(0xb1)]()},_0x235f62,_0xaa4a85),_0x30ed71={'unitId':_0x44f908[_0xd28a8(0xb4)],'subUnitId':_0x44f908[_0xd28a8(0xae)],'chartId':_0x378b43,'chartType':_0x1178a8,'source':_0x5caf4d[_0xd28a8(0xa9)]===n['ChartSourceKind'][_0xd28a8(0xbc)]?_0x5caf4d[_0xd28a8(0xcc)]:_0x5caf4d[_0xd28a8(0xaa)],'position':_0x6eaa4a,'width':(_0x3d8b30=_0x235f62[_0xd28a8(0x8e)])==null?void 0x0:_0x3d8b30['width'],'height':(_0x35fa48=_0x235f62[_0xd28a8(0x8e)])==null?void 0x0:_0x35fa48[_0xd28a8(0xd3)],'theme':_0x235f62[_0xd28a8(0xc0)]??void 0x0,'config':{'unitId':_0x44f908[_0xd28a8(0xb4)],'chartModelId':_0x378b43,'style':_0x348d96[_0xd28a8(0xca)],'context':_0x348d96['context'],'dataAggregation':_0x348d96['dataAggregation']}};if(!await this['getInject']()[_0xd28a8(0xa4)](r[_0xd28a8(0x8f)])[_0xd28a8(0x9c)](n[_0xd28a8(0x9e)]['id'],_0x30ed71))throw Error(_0xd28a8(0xa7));return this[_0xd28a8(0xaf)][_0xd28a8(0x9b)](o,_0x44f908[_0xd28a8(0xb4)],_0x44f908[_0xd28a8(0xae)],_0x378b43,this[_0xd28a8(0xaf)]);}['getChart'](_0x4c3ee9){const _0x3b6873=_0x230364;let {unitId:_0xe3e2bc,subUnitId:_0x55c1d5}=this['_chartSourceContext'](),_0x35026e=this[_0x3b6873(0xb1)]()[_0x3b6873(0xa4)](n['SheetsChartService']);return _0x35026e[_0x3b6873(0xc1)](_0x4c3ee9)&&_0x35026e[_0x3b6873(0xc4)](_0xe3e2bc,_0x4c3ee9)===_0x55c1d5?this['_injector'][_0x3b6873(0x9b)](o,_0xe3e2bc,_0x55c1d5,_0x4c3ee9,this[_0x3b6873(0xaf)]):null;}['getCharts'](){const _0x4d09d1=_0x230364;let {unitId:_0xeab989,subUnitId:_0x5a59da}=this[_0x4d09d1(0xa3)]();return this[_0x4d09d1(0xb1)]()[_0x4d09d1(0xa4)](n[_0x4d09d1(0xd1)])[_0x4d09d1(0x90)](_0xeab989,_0x5a59da)[_0x4d09d1(0xd0)](Boolean)[_0x4d09d1(0xc7)](_0x392743=>this['_injector'][_0x4d09d1(0x9b)](o,_0xeab989,_0x5a59da,_0x392743['id'],this['_injector']));}[_0x230364(0xa3)](_0x59e813){const _0x37c3ed=_0x230364;let _0x237811=this[_0x37c3ed(0xac)](),_0x8c57a5=this[_0x37c3ed(0xb1)]()[_0x37c3ed(0xa4)](n['SheetsChartService']);return{'unitId':_0x237811[_0x37c3ed(0xa0)](),'subUnitId':this[_0x37c3ed(0x91)](),'workbook':_0x237811,'localeService':this[_0x37c3ed(0xaf)][_0x37c3ed(0xa4)](r[_0x37c3ed(0xab)]),..._0x59e813===void 0x0?{}:{'inferInitialChartSource':_0x419e65=>_0x8c57a5[_0x37c3ed(0x95)](_0x419e65,_0x59e813)}};}};i[_0x230364(0xbb)][_0x230364(0xc2)](s);function _0x2dcb(_0x177f64,_0x1e870f){_0x177f64=_0x177f64-0x8c;const _0x16ca11=_0x16ca();let _0x2dcbf0=_0x16ca11[_0x177f64];return _0x2dcbf0;}function _0x16ca(){const _0x17a3ca=['getChartSourceSpec','rangeInfo','10wbyUTb','ChartDiagnosticSeverity','mapping','filter','SheetsChartService','source','height','setPlotVisibleOnly','commit','size','ICommandService','getUnitChartModels','getSheetId','resolveSourceSeries','ChartSourceOrientation','message','inferInitialChartSource','2350182eiFoOk','7ebxlFz','chartId','resolveInitialChartPosition','FChart','createInstance','executeCommand','16407270yyStWE','InsertChartCommand','Error','getUnitId','toStringTag','severity','_chartSourceContext','get','8873944KRbMNn','newChart','Failed\x20to\x20create\x20Sheet\x20chart.','FSheetChart','kind','ranges','LocaleService','getWorkbook','_createSheetAdapter','subUnitId','_injector','toChartModelConfig','getInject','resolveSourceSpec','879qGwxwo','unitId','1840UPowUT','createChartBuilder','1006161pnZiaj','80365ZkSUqI','getPlotVisibleOnly','SheetChartConfigAdapter','FWorksheet','Range','7136595tbpgqi','FEnum','anchor','theme','getChartModel','extend','setHeader','getSubUnitId','102DrEEOh','setPosition','map','Module','insertChart','style'];_0x16ca=function(){return _0x17a3ca;};return _0x16ca();}var c=class extends a[_0x230364(0xbe)]{get[_0x230364(0x93)](){const _0x358bb5=_0x230364;return n[_0x358bb5(0x93)];}};a[_0x230364(0xbe)][_0x230364(0xc2)](c),exports[_0x230364(0xa8)]=o;