@univerjs-pro/sheets-chart 1.0.0-alpha.5 → 1.0.0-alpha.6

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 +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5a4d53=_0x178c;(function(_0x368469,_0x45a8ac){const _0x5b073c=_0x178c,_0x523af9=_0x368469();while(!![]){try{const _0x50e303=parseInt(_0x5b073c(0xf2))/0x1*(-parseInt(_0x5b073c(0xfd))/0x2)+-parseInt(_0x5b073c(0x128))/0x3*(-parseInt(_0x5b073c(0x130))/0x4)+parseInt(_0x5b073c(0xee))/0x5+parseInt(_0x5b073c(0x134))/0x6+-parseInt(_0x5b073c(0xdd))/0x7+parseInt(_0x5b073c(0x137))/0x8*(-parseInt(_0x5b073c(0x102))/0x9)+parseInt(_0x5b073c(0xf5))/0xa*(parseInt(_0x5b073c(0x14d))/0xb);if(_0x50e303===_0x45a8ac)break;else _0x523af9['push'](_0x523af9['shift']());}catch(_0xbe1344){_0x523af9['push'](_0x523af9['shift']());}}}(_0x1b54,0xbcd9a),Object[_0x5a4d53(0x13d)](exports,Symbol[_0x5a4d53(0x139)],{'value':'Module'}));let e=require('@univerjs/sheets/facade'),t=require('@univerjs-pro/engine-chart'),n=require('@univerjs-pro/engine-chart/facade'),r=require('@univerjs-pro/sheets-chart'),i=require('@univerjs/core'),a=require('@univerjs/sheets-drawing'),o=require('@univerjs/core/facade');function s(_0x720c40){const _0x4b5c3b=_0x5a4d53;return class extends _0x720c40{get[_0x4b5c3b(0xed)](){const _0x3b064f=_0x4b5c3b;return this[_0x3b064f(0xf3)];}[_0x4b5c3b(0xfc)](_0x47912b){return this['_sheetBuilder']['setSource'](_0x47912b),this;}[_0x4b5c3b(0xf8)](){const _0x3ee092=_0x4b5c3b;return this['_sheetBuilder'][_0x3ee092(0xf8)]();}['setPosition'](_0x142eff){const _0x5b0ce4=_0x4b5c3b;return this[_0x5b0ce4(0xed)][_0x5b0ce4(0x121)]({'anchor':_0x142eff}),this;}['setAbsolutePosition'](_0x14f822,_0x3d7d64){const _0x956205=_0x4b5c3b;return this['_sheetBuilder'][_0x956205(0x121)]({'position':{'x':_0x14f822,'y':_0x3d7d64}}),this;}[_0x4b5c3b(0x136)](_0x4fcf49,_0x28d744){const _0x3f9b1a=_0x4b5c3b;return this[_0x3f9b1a(0xed)][_0x3f9b1a(0x121)]({'size':{'width':_0x4fcf49,'height':_0x28d744}}),this;}};}const c=new n['HostBuilderComposer'](_0x370d7f=>s(_0x370d7f));function _0x178c(_0x2c11cc,_0xba1ba9){_0x2c11cc=_0x2c11cc-0xdb;const _0x1b546e=_0x1b54();let _0x178cc7=_0x1b546e[_0x2c11cc];return _0x178cc7;}function _0x1b54(){const _0x4b5d12=['LocaleService','height','setLayout','symbol','_wrap','charts','getSeriesData','resolveSourceSpec','_injector','2187417IdUkjj','filter','list','DetachedChartBuilderAdapter','getId','chartId','updateRange','size','4mTCpBP','resolveSourceSeries','resolveInitialChartPosition','getChartBuilderConstructor','499854eNYTtO','SheetChartBuilder','setSize','12135288WPpIER','resolveSource','toStringTag','config','SheetsChartService','Insert\x20the\x20Sheet\x20chart\x20before\x20calling\x20commit().','defineProperty','InsertChartCommand','commitHost','FChartBuilderBase','getInject','unitId','ICommandService','ChartSourceKind','subUnitId','getUnitId','string','has','_worksheet','orient','_resolveSource','rangeInfo','22iKTxAH','SheetChartBuilderAdapter','_sourceContext','5281647bofwsr','theme','getDirection','type','getChartModel','describe','ChartDiagnosticSeverity','style','category','kind','ChartSourceOrientation','dataSource','severity','_commands','object','FSheetCharts','_sheetBuilder','1517840oJXmWG','width','transform','mapping','764dGKsHT','_builder','extend','13934590EQbxmS','Failed\x20to\x20create\x20Sheet\x20chart.','FChartsBase','getSource','chartTypeToBits','getChartBuilderPendingConfig','getSubUnitId','setSource','2246ZbNlZy','some','registerTheme','toSheetChartCreateSpec','map','9vUDwlW','join','Invalid\x20Sheet\x20chart\x20source.','ISheetDrawingService','generateRandomId','exportImage','getUnitChartModels','create','RemoveSheetDrawingCommand','source','IChartRenderModelManagerService','resolveChartRenderModelImageExportInput','remove','call','DRAWING_CHART','getChartSuggestion','ranges','ChartThemeService','getCategoryData','prototype','message','series','getChartId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','get','function','executeCommand','toPrimitive','DEFAULT_CHART_TYPE'];_0x1b54=function(){return _0x4b5d12;};return _0x1b54();}var l=class{constructor(_0x3f1f5f,_0xb22c16,_0x461dea,_0xa3ba2f){const _0x3a2046=_0x5a4d53;this[_0x3a2046(0x142)]=_0x3f1f5f,this['subUnitId']=_0xb22c16,this[_0x3a2046(0x12d)]=_0x461dea,this[_0x3a2046(0x127)]=_0xa3ba2f;}[_0x5a4d53(0x118)](){const _0x12a202=_0x5a4d53;return this[_0x12a202(0x12d)];}[_0x5a4d53(0x12c)](){const _0x58a7a4=_0x5a4d53;return this[_0x58a7a4(0x12d)];}['getRange'](){const _0xb42cc0=_0x5a4d53;var _0x3bed62;return(_0x3bed62=this['_injector']['get'](r['SheetsChartService'])['getChartModel'](this['chartId']))==null?void 0x0:_0x3bed62[_0xb42cc0(0xe8)]['getRangeInfo']();}[_0x5a4d53(0x12e)](_0x5e78cd){const _0x353fe8=_0x5a4d53;return this['_injector'][_0x353fe8(0x11a)](i[_0x353fe8(0x143)])['executeCommand'](r['ChartUpdateSourceCommand']['id'],{'unitId':this[_0x353fe8(0x142)],'chartModelId':this[_0x353fe8(0x12d)],'range':_0x5e78cd});}[_0x5a4d53(0x125)](){const _0x548a36=_0x5a4d53;var _0x212bd3;return(_0x212bd3=this[_0x548a36(0x127)]['get'](r[_0x548a36(0x13b)])[_0x548a36(0xe1)](this[_0x548a36(0x12d)]))==null||(_0x212bd3=_0x212bd3[_0x548a36(0x13a)])==null?void 0x0:_0x212bd3[_0x548a36(0x117)];}[_0x5a4d53(0x114)](){const _0x293069=_0x5a4d53;var _0xd4da6b;return(_0xd4da6b=this['_injector'][_0x293069(0x11a)](r[_0x293069(0x13b)])[_0x293069(0xe1)](this['chartId']))==null||(_0xd4da6b=_0xd4da6b[_0x293069(0x13a)])==null?void 0x0:_0xd4da6b[_0x293069(0xe5)];}async['exportImage'](_0x12e4e4){const _0x4cf2cc=_0x5a4d53;var _0x1b409e,_0x10c696,_0x4ce7a3,_0x3cac18;let _0x3721a1=this[_0x4cf2cc(0x127)]['get'](r[_0x4cf2cc(0x13b)])[_0x4cf2cc(0xe1)](this[_0x4cf2cc(0x12d)]);if(!_0x3721a1||!this[_0x4cf2cc(0x127)][_0x4cf2cc(0x148)](a[_0x4cf2cc(0x105)]))return null;let _0x43f034=this[_0x4cf2cc(0x127)][_0x4cf2cc(0x11a)](a[_0x4cf2cc(0x105)])['getDrawingByParam']({'unitId':this[_0x4cf2cc(0x142)],'subUnitId':this['subUnitId'],'drawingId':this[_0x4cf2cc(0x12d)]}),_0x439956=(0x0,t[_0x4cf2cc(0x10d)])({'runtime':{'chartId':this['chartId'],'model':_0x3721a1},'direction':this[_0x4cf2cc(0x127)]['get'](i[_0x4cf2cc(0x11f)])[_0x4cf2cc(0xdf)](),'width':(_0x1b409e=_0x43f034==null||(_0x10c696=_0x43f034[_0x4cf2cc(0xf0)])==null?void 0x0:_0x10c696[_0x4cf2cc(0xef)])==null?0x0:_0x1b409e,'height':(_0x4ce7a3=_0x43f034==null||(_0x3cac18=_0x43f034['transform'])==null?void 0x0:_0x3cac18[_0x4cf2cc(0x120)])==null?0x0:_0x4ce7a3});return _0x439956?this[_0x4cf2cc(0x127)]['get'](t[_0x4cf2cc(0x10c)])[_0x4cf2cc(0x107)](_0x439956,_0x12e4e4):null;}[_0x5a4d53(0x10e)](){const _0x504fd8=_0x5a4d53;return this['_injector'][_0x504fd8(0x11a)](i[_0x504fd8(0x143)])[_0x504fd8(0x11c)](a[_0x504fd8(0x10a)]['id'],{'unitId':this[_0x504fd8(0x142)],'drawings':[{'unitId':this[_0x504fd8(0x142)],'subUnitId':this[_0x504fd8(0x145)],'drawingId':this[_0x504fd8(0x12d)],'drawingType':i['DrawingTypeEnum']['DRAWING_CHART']}]});}},u=class{constructor(_0x2f6866){const _0x33319d=_0x5a4d53;this[_0x33319d(0x149)]=_0x2f6866;}async[_0x5a4d53(0x109)](_0x175062){const _0x514475=_0x5a4d53;var _0xd4f77,_0x172e84,_0x807fa2,_0x2a6882,_0x49f54d;let _0x1a5ffb=this['_sourceContext'](),_0x5d88cd=[],_0x5baa68=(0x0,r[_0x514475(0x126)])(_0x175062['source'],_0x1a5ffb,_0x5d88cd);if(!_0x5baa68||_0x5d88cd[_0x514475(0xfe)](_0x344b90=>_0x344b90[_0x514475(0xe9)]===r[_0x514475(0xe3)]['Error']))throw Error(_0x5d88cd[_0x514475(0x101)](_0x1757cf=>_0x1757cf[_0x514475(0x116)])[_0x514475(0x103)](';\x20')||_0x514475(0x104));let _0x137335=(0x0,i[_0x514475(0x106)])(),_0x1b43df=(0x0,t['toChartModelConfig'])(_0x175062,{'series':(0x0,r[_0x514475(0x131)])(_0x5baa68,_0x1a5ffb,(_0xd4f77=(_0x172e84=_0x175062[_0x514475(0xf1)])==null?void 0x0:_0x172e84['categoryIndex'])==null?0x0:_0xd4f77)}),_0x25dd48=(0x0,r[_0x514475(0x132)])({'unitId':_0x1a5ffb['unitId'],'subUnitId':_0x1a5ffb[_0x514475(0x145)],'injector':this[_0x514475(0x149)]['getInject']()},_0x175062,_0x5d88cd),_0xce39d={'unitId':_0x1a5ffb[_0x514475(0x142)],'subUnitId':_0x1a5ffb['subUnitId'],'chartId':_0x137335,'chartType':(0x0,t[_0x514475(0xf9)])(_0x175062[_0x514475(0xe0)]),'source':_0x5baa68[_0x514475(0xe6)]===r[_0x514475(0x144)]['Range']?_0x5baa68[_0x514475(0x14c)]:_0x5baa68[_0x514475(0x112)],'position':_0x25dd48,'width':(_0x807fa2=_0x175062['size'])==null?void 0x0:_0x807fa2['width'],'height':(_0x2a6882=_0x175062[_0x514475(0x12f)])==null?void 0x0:_0x2a6882[_0x514475(0x120)],'theme':(_0x49f54d=_0x175062[_0x514475(0xde)])==null?void 0x0:_0x49f54d,'config':{'unitId':_0x1a5ffb[_0x514475(0x142)],'chartModelId':_0x137335,'style':_0x1b43df[_0x514475(0xe4)],'context':_0x1b43df['context'],'dataAggregation':_0x1b43df['dataAggregation']}};if(!await this['_worksheet'][_0x514475(0x141)]()[_0x514475(0x11a)](i[_0x514475(0x143)])[_0x514475(0x11c)](r[_0x514475(0x13e)]['id'],_0xce39d))throw Error(_0x514475(0xf6));return new l(_0x1a5ffb[_0x514475(0x142)],_0x1a5ffb['subUnitId'],_0x137335,this[_0x514475(0x149)][_0x514475(0x141)]());}[_0x5a4d53(0x11a)](_0xcc6604){const _0x2fae93=_0x5a4d53;let {unitId:_0x4b1765,subUnitId:_0x2bfde4}=this['_sourceContext'](),_0x51969a=this[_0x2fae93(0x149)]['getInject']()['get'](r[_0x2fae93(0x13b)]);return _0x51969a[_0x2fae93(0xe1)](_0xcc6604)&&_0x51969a[_0x2fae93(0xfb)](_0x4b1765,_0xcc6604)===_0x2bfde4?new l(_0x4b1765,_0x2bfde4,_0xcc6604,this['_worksheet']['getInject']()):null;}[_0x5a4d53(0x12a)](){const _0x414bc2=_0x5a4d53;let {unitId:_0x50c345,subUnitId:_0x2c1be7}=this[_0x414bc2(0xdc)]();return this[_0x414bc2(0x149)]['getInject']()[_0x414bc2(0x11a)](r['SheetsChartService'])[_0x414bc2(0x108)](_0x50c345,_0x2c1be7)[_0x414bc2(0x129)](Boolean)['map'](_0x208bd9=>new l(_0x50c345,_0x2c1be7,_0x208bd9['id'],this[_0x414bc2(0x149)]['getInject']()));}[_0x5a4d53(0x10e)](_0x30a52f){const _0x663fe=_0x5a4d53;let _0x5d7445=typeof _0x30a52f==_0x663fe(0x147)?this['get'](_0x30a52f):_0x30a52f;return _0x5d7445?this[_0x663fe(0x149)][_0x663fe(0x141)]()[_0x663fe(0x11a)](i[_0x663fe(0x143)])[_0x663fe(0x11c)](a[_0x663fe(0x10a)]['id'],{'unitId':_0x5d7445[_0x663fe(0x142)],'drawings':[{'unitId':_0x5d7445[_0x663fe(0x142)],'subUnitId':_0x5d7445[_0x663fe(0x145)],'drawingId':_0x5d7445['chartId'],'drawingType':i['DrawingTypeEnum'][_0x663fe(0x110)]}]}):Promise['resolve'](!0x1);}[_0x5a4d53(0xdc)](){const _0x2004b1=_0x5a4d53;let _0xd5bfdc=this[_0x2004b1(0x149)]['getWorkbook'](),_0x3d4c64=this['_worksheet'][_0x2004b1(0x141)]()[_0x2004b1(0x11a)](r[_0x2004b1(0x13b)]);return{'unitId':_0xd5bfdc[_0x2004b1(0x146)](),'subUnitId':this[_0x2004b1(0x149)]['getSheetId'](),'workbook':_0xd5bfdc,'resolveAutoIsRowDirection':_0x3a12b2=>_0x3d4c64[_0x2004b1(0x111)](_0x3a12b2)[_0x2004b1(0x14a)]===t['DataOrientation']['Row']};}};function d(_0x45009f){'@babel/helpers - typeof';const _0x186d77=_0x5a4d53;return d=typeof Symbol==_0x186d77(0x11b)&&typeof Symbol['iterator']==_0x186d77(0x122)?function(_0x103489){return typeof _0x103489;}:function(_0x12dd7b){const _0x2654cb=_0x186d77;return _0x12dd7b&&typeof Symbol==_0x2654cb(0x11b)&&_0x12dd7b['constructor']===Symbol&&_0x12dd7b!==Symbol[_0x2654cb(0x115)]?_0x2654cb(0x122):typeof _0x12dd7b;},d(_0x45009f);}function f(_0x28a3c9,_0x417963){const _0x102a14=_0x5a4d53;if(d(_0x28a3c9)!=_0x102a14(0xeb)||!_0x28a3c9)return _0x28a3c9;var _0x2c6eaa=_0x28a3c9[Symbol[_0x102a14(0x11d)]];if(_0x2c6eaa!==void 0x0){var _0x39c12a=_0x2c6eaa[_0x102a14(0x10f)](_0x28a3c9,_0x417963||'default');if(d(_0x39c12a)!=_0x102a14(0xeb))return _0x39c12a;throw TypeError(_0x102a14(0x119));}return(_0x417963===_0x102a14(0x147)?String:Number)(_0x28a3c9);}function p(_0x5451b3){const _0x492aee=_0x5a4d53;var _0x3bd19d=f(_0x5451b3,'string');return d(_0x3bd19d)==_0x492aee(0x122)?_0x3bd19d:_0x3bd19d+'';}function m(_0x55b512,_0x344ef0,_0x18bb6f){const _0x2a3a7a=_0x5a4d53;return(_0x344ef0=p(_0x344ef0))in _0x55b512?Object[_0x2a3a7a(0x13d)](_0x55b512,_0x344ef0,{'value':_0x18bb6f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55b512[_0x344ef0]=_0x18bb6f,_0x55b512;}var h=class extends t[_0x5a4d53(0x12b)]{constructor(_0x282a8a,_0x2b1073){const _0x59fed2=_0x5a4d53;super(_0x282a8a,_0x59fed2(0x13c)),this['_resolveSource']=_0x2b1073;}[_0x5a4d53(0x13f)](_0x3b6d37){return this['rejectCommit']();}[_0x5a4d53(0x138)](_0x48f246){const _0x15b326=_0x5a4d53;return this[_0x15b326(0x14b)](_0x48f246);}},g=class extends n[_0x5a4d53(0xf7)]{constructor(_0x52df5e){const _0x11fb8c=_0x5a4d53;super(),this['_worksheet']=_0x52df5e,m(this,_0x11fb8c(0xea),void 0x0),this[_0x11fb8c(0xea)]=new u(_0x52df5e);}['create'](){const _0x44ccce=_0x5a4d53;let _0x36f5f3=(0x0,i[_0x44ccce(0x106)])(),_0x2d2677={'id':_0x36f5f3,'type':t[_0x44ccce(0x11e)],'series':{}},_0x412abe=new r[(_0x44ccce(0x135))](_0x36f5f3,_0x2d2677,new h(_0x2d2677,_0x5370a8=>new r[(_0x44ccce(0xdb))]({'unitId':this[_0x44ccce(0x149)]['getWorkbook']()[_0x44ccce(0x146)](),'subUnitId':this[_0x44ccce(0x149)]['getSheetId'](),'chartId':_0x36f5f3,'injector':this[_0x44ccce(0x149)][_0x44ccce(0x141)]()})[_0x44ccce(0x138)](_0x5370a8)));return c[_0x44ccce(0x109)](_0x412abe,n[_0x44ccce(0x140)]);}async['insert'](_0x5ea1ef){const _0x1db5c8=_0x5a4d53;let _0x53ff4d=_0x5ea1ef[_0x1db5c8(0xe2)]();if(!_0x53ff4d[_0x1db5c8(0x10b)])throw Error('Sheet\x20chart\x20source\x20is\x20required\x20before\x20insert().');let _0x4d5cc3=(0x0,r[_0x1db5c8(0x100)])(_0x53ff4d,(0x0,n[_0x1db5c8(0xfa)])(_0x5ea1ef)),_0x5dac76=await this[_0x1db5c8(0xea)][_0x1db5c8(0x109)](_0x4d5cc3);return this[_0x1db5c8(0x123)](_0x5dac76);}[_0x5a4d53(0x11a)](_0xfe09ac){const _0x196306=_0x5a4d53;let _0x5a50e5=this[_0x196306(0xea)][_0x196306(0x11a)](_0xfe09ac);return _0x5a50e5?this[_0x196306(0x123)](_0x5a50e5):null;}[_0x5a4d53(0x12a)](){const _0x6ca17a=_0x5a4d53;return this[_0x6ca17a(0xea)]['list']()[_0x6ca17a(0x101)](_0x3c4862=>this['_wrap'](_0x3c4862));}[_0x5a4d53(0x10e)](_0xb137df){const _0x21604e=_0x5a4d53;return this[_0x21604e(0xea)][_0x21604e(0x10e)](typeof _0xb137df==_0x21604e(0x147)?_0xb137df:_0xb137df[_0x21604e(0x12c)]());}[_0x5a4d53(0xff)](_0x4c81b9,_0x1c8837){const _0x223a7b=_0x5a4d53;this[_0x223a7b(0x149)][_0x223a7b(0x141)]()[_0x223a7b(0x11a)](t[_0x223a7b(0x113)])['registerTheme'](_0x4c81b9,_0x1c8837);}[_0x5a4d53(0x123)](_0x4b840c){const _0x599e0b=_0x5a4d53;let _0x3e6f00=new r['SheetChartBuilderAdapter']({'unitId':_0x4b840c[_0x599e0b(0x142)],'subUnitId':_0x4b840c['subUnitId'],'chartId':_0x4b840c[_0x599e0b(0x12d)],'injector':this[_0x599e0b(0x149)][_0x599e0b(0x141)]()}),_0x8e92cf=_0x3e6f00[_0x599e0b(0xe2)](),_0x4fa03f=new r[(_0x599e0b(0x135))](_0x4b840c[_0x599e0b(0x12c)](),_0x8e92cf,_0x3e6f00),_0x493455=(0x0,n[_0x599e0b(0x133)])(_0x8e92cf[_0x599e0b(0xe0)]);return c['create'](_0x4fa03f,_0x493455);}},_=class extends e['FWorksheet']{get[_0x5a4d53(0x124)](){return new g(this);}};e['FWorksheet']['extend'](_);var v=class extends o['FEnum']{get[_0x5a4d53(0xe7)](){const _0x139086=_0x5a4d53;return r[_0x139086(0xe7)];}};o['FEnum'][_0x5a4d53(0xf4)](v),Object[_0x5a4d53(0x13d)](exports,_0x5a4d53(0xe7),{'enumerable':!0x0,'get':function(){const _0x5316d5=_0x5a4d53;return r[_0x5316d5(0xe7)];}}),exports[_0x5a4d53(0xec)]=g;
1
+ const _0x20925f=_0x5113;(function(_0x38365c,_0x231cba){const _0x4a5c58=_0x5113,_0x4f7d84=_0x38365c();while(!![]){try{const _0x4b8976=parseInt(_0x4a5c58(0xdb))/0x1+-parseInt(_0x4a5c58(0x11c))/0x2+parseInt(_0x4a5c58(0xfb))/0x3*(parseInt(_0x4a5c58(0x111))/0x4)+parseInt(_0x4a5c58(0xc7))/0x5*(parseInt(_0x4a5c58(0x126))/0x6)+-parseInt(_0x4a5c58(0xc4))/0x7*(-parseInt(_0x4a5c58(0x10c))/0x8)+-parseInt(_0x4a5c58(0x107))/0x9*(parseInt(_0x4a5c58(0x11f))/0xa)+parseInt(_0x4a5c58(0xd8))/0xb*(-parseInt(_0x4a5c58(0x13c))/0xc);if(_0x4b8976===_0x231cba)break;else _0x4f7d84['push'](_0x4f7d84['shift']());}catch(_0x4e779c){_0x4f7d84['push'](_0x4f7d84['shift']());}}}(_0x1943,0x46ac5),Object[_0x20925f(0xf1)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs/sheets/facade'),t=require('@univerjs-pro/engine-chart'),n=require('@univerjs-pro/engine-chart/facade'),r=require('@univerjs-pro/sheets-chart'),i=require('@univerjs/core'),a=require('@univerjs/sheets-drawing'),o=require('@univerjs/core/facade');function s(_0x470554){const _0xd20b07=_0x20925f;return class extends _0x470554{get[_0xd20b07(0xc5)](){const _0x17bf73=_0xd20b07;return this[_0x17bf73(0x125)];}[_0xd20b07(0x10f)](_0x36ec98){const _0x53e128=_0xd20b07;return this[_0x53e128(0xc5)][_0x53e128(0x10f)](_0x36ec98),this;}[_0xd20b07(0xe7)](){const _0x2d0687=_0xd20b07;return this[_0x2d0687(0xc5)]['getSource']();}[_0xd20b07(0x127)](_0x3fe936){const _0x4c8018=_0xd20b07;return this[_0x4c8018(0xc5)][_0x4c8018(0x13e)]({'anchor':_0x3fe936}),this;}['setAbsolutePosition'](_0x4f9f5c,_0x235826){const _0x45a920=_0xd20b07;return this[_0x45a920(0xc5)]['setLayout']({'position':{'x':_0x4f9f5c,'y':_0x235826}}),this;}[_0xd20b07(0xd7)](_0x521327,_0x475477){const _0x115b41=_0xd20b07;return this[_0x115b41(0xc5)][_0x115b41(0x13e)]({'size':{'width':_0x521327,'height':_0x475477}}),this;}};}const c=new n[(_0x20925f(0xce))](_0xe1b338=>s(_0xe1b338));var l=class{constructor(_0x428621,_0x3c67fe,_0xfd322f,_0xae847){const _0x14689e=_0x20925f;this[_0x14689e(0xd9)]=_0x428621,this[_0x14689e(0xcb)]=_0x3c67fe,this['chartId']=_0xfd322f,this[_0x14689e(0x128)]=_0xae847;}[_0x20925f(0xdd)](){return this['chartId'];}[_0x20925f(0xd6)](){return this['chartId'];}[_0x20925f(0x131)](){const _0x312d83=_0x20925f;var _0x188d1c;return(_0x188d1c=this[_0x312d83(0x128)][_0x312d83(0xf0)](r[_0x312d83(0xf3)])[_0x312d83(0x130)](this[_0x312d83(0xd5)]))==null?void 0x0:_0x188d1c[_0x312d83(0xff)][_0x312d83(0xe9)]();}[_0x20925f(0x138)](_0x1f6746){const _0x5c66bd=_0x20925f;return this[_0x5c66bd(0x128)][_0x5c66bd(0xf0)](i[_0x5c66bd(0x123)])[_0x5c66bd(0x12c)](r[_0x5c66bd(0x113)]['id'],{'unitId':this[_0x5c66bd(0xd9)],'chartModelId':this[_0x5c66bd(0xd5)],'range':_0x1f6746});}['getSeriesData'](){const _0x27860b=_0x20925f;var _0x4d9288;return(_0x4d9288=this[_0x27860b(0x128)][_0x27860b(0xf0)](r[_0x27860b(0xf3)])[_0x27860b(0x130)](this[_0x27860b(0xd5)]))==null||(_0x4d9288=_0x4d9288[_0x27860b(0xea)])==null?void 0x0:_0x4d9288['series'];}[_0x20925f(0x136)](){const _0x4df040=_0x20925f;var _0x2108a2;return(_0x2108a2=this[_0x4df040(0x128)][_0x4df040(0xf0)](r[_0x4df040(0xf3)])['getChartModel'](this['chartId']))==null||(_0x2108a2=_0x2108a2[_0x4df040(0xea)])==null?void 0x0:_0x2108a2[_0x4df040(0x129)];}async['exportImage'](_0x2f467c){const _0x473f7c=_0x20925f;var _0x3ec695,_0x281bc3,_0x233357,_0x294c2c;let _0x4ddc00=this[_0x473f7c(0x128)][_0x473f7c(0xf0)](r[_0x473f7c(0xf3)])['getChartModel'](this[_0x473f7c(0xd5)]);if(!_0x4ddc00||!this['_injector']['has'](a[_0x473f7c(0xfc)]))return null;let _0x56003e=this['_injector'][_0x473f7c(0xf0)](a[_0x473f7c(0xfc)])[_0x473f7c(0xf5)]({'unitId':this[_0x473f7c(0xd9)],'subUnitId':this[_0x473f7c(0xcb)],'drawingId':this[_0x473f7c(0xd5)]}),_0x589a95=(0x0,t[_0x473f7c(0x118)])({'runtime':{'chartId':this[_0x473f7c(0xd5)],'model':_0x4ddc00},'direction':this[_0x473f7c(0x128)]['get'](i[_0x473f7c(0x115)])[_0x473f7c(0xd1)](),'width':(_0x3ec695=_0x56003e==null||(_0x281bc3=_0x56003e['transform'])==null?void 0x0:_0x281bc3[_0x473f7c(0xc6)])==null?0x0:_0x3ec695,'height':(_0x233357=_0x56003e==null||(_0x294c2c=_0x56003e['transform'])==null?void 0x0:_0x294c2c[_0x473f7c(0xc3)])==null?0x0:_0x233357});return _0x589a95?this[_0x473f7c(0x128)][_0x473f7c(0xf0)](t[_0x473f7c(0xed)])[_0x473f7c(0xe1)](_0x589a95,_0x2f467c):null;}[_0x20925f(0x108)](){const _0x271baf=_0x20925f;return this['_injector'][_0x271baf(0xf0)](i[_0x271baf(0x123)])[_0x271baf(0x12c)](a['RemoveSheetDrawingCommand']['id'],{'unitId':this['unitId'],'drawings':[{'unitId':this[_0x271baf(0xd9)],'subUnitId':this['subUnitId'],'drawingId':this[_0x271baf(0xd5)],'drawingType':i[_0x271baf(0x100)][_0x271baf(0xcf)]}]});}},u=class{constructor(_0x207a06){const _0x41555f=_0x20925f;this[_0x41555f(0xe5)]=_0x207a06;}async[_0x20925f(0x132)](_0x38b87c){const _0x571820=_0x20925f;var _0x2d52e9,_0xf83d93,_0x5e7a83,_0x481aad,_0x4db9de;let _0x397b20=this[_0x571820(0x120)](),_0x18f765=[],_0x1b93d3=(0x0,r[_0x571820(0x116)])(_0x38b87c['source'],_0x397b20,_0x18f765);if(!_0x1b93d3||_0x18f765['some'](_0x5e5aed=>_0x5e5aed[_0x571820(0x139)]===r[_0x571820(0x12d)][_0x571820(0xf9)]))throw Error(_0x18f765['map'](_0x5816ab=>_0x5816ab[_0x571820(0x110)])[_0x571820(0xf6)](';\x20')||_0x571820(0xd3));let _0xe3b8d3=(0x0,i['generateRandomId'])(),_0x51b5c3=(0x0,t['toChartModelConfig'])(_0x38b87c,{'series':(0x0,r[_0x571820(0x13f)])(_0x1b93d3,_0x397b20,(_0x2d52e9=(_0xf83d93=_0x38b87c[_0x571820(0xe4)])==null?void 0x0:_0xf83d93['categoryIndex'])==null?0x0:_0x2d52e9)}),_0x1b32a1=(0x0,r['resolveInitialChartPosition'])({'unitId':_0x397b20['unitId'],'subUnitId':_0x397b20[_0x571820(0xcb)],'injector':this[_0x571820(0xe5)][_0x571820(0xe3)]()},_0x38b87c,_0x18f765),_0x4f9f05={'unitId':_0x397b20[_0x571820(0xd9)],'subUnitId':_0x397b20[_0x571820(0xcb)],'chartId':_0xe3b8d3,'chartType':(0x0,t[_0x571820(0x117)])(_0x38b87c[_0x571820(0x122)]),'source':_0x1b93d3[_0x571820(0xfe)]===r[_0x571820(0x13b)]['Range']?_0x1b93d3[_0x571820(0x109)]:_0x1b93d3[_0x571820(0x13d)],'position':_0x1b32a1,'width':(_0x5e7a83=_0x38b87c[_0x571820(0xeb)])==null?void 0x0:_0x5e7a83[_0x571820(0xc6)],'height':(_0x481aad=_0x38b87c[_0x571820(0xeb)])==null?void 0x0:_0x481aad[_0x571820(0xc3)],'theme':(_0x4db9de=_0x38b87c[_0x571820(0x12a)])==null?void 0x0:_0x4db9de,'config':{'unitId':_0x397b20[_0x571820(0xd9)],'chartModelId':_0xe3b8d3,'style':_0x51b5c3[_0x571820(0x11b)],'context':_0x51b5c3[_0x571820(0x11e)],'dataAggregation':_0x51b5c3[_0x571820(0x11a)]}};if(!await this[_0x571820(0xe5)][_0x571820(0xe3)]()[_0x571820(0xf0)](i[_0x571820(0x123)])['executeCommand'](r[_0x571820(0x105)]['id'],_0x4f9f05))throw Error(_0x571820(0xd2));return new l(_0x397b20[_0x571820(0xd9)],_0x397b20[_0x571820(0xcb)],_0xe3b8d3,this[_0x571820(0xe5)][_0x571820(0xe3)]());}['get'](_0x29174c){const _0x1865a9=_0x20925f;let {unitId:_0x10c71b,subUnitId:_0x47576b}=this[_0x1865a9(0x120)](),_0x51ff46=this['_worksheet'][_0x1865a9(0xe3)]()['get'](r[_0x1865a9(0xf3)]);return _0x51ff46[_0x1865a9(0x130)](_0x29174c)&&_0x51ff46[_0x1865a9(0x119)](_0x10c71b,_0x29174c)===_0x47576b?new l(_0x10c71b,_0x47576b,_0x29174c,this['_worksheet']['getInject']()):null;}[_0x20925f(0xcc)](){const _0x517344=_0x20925f;let {unitId:_0x1ad3c5,subUnitId:_0x3ffe1c}=this[_0x517344(0x120)]();return this[_0x517344(0xe5)][_0x517344(0xe3)]()[_0x517344(0xf0)](r[_0x517344(0xf3)])['getUnitChartModels'](_0x1ad3c5,_0x3ffe1c)[_0x517344(0xe8)](Boolean)[_0x517344(0xca)](_0x3c56df=>new l(_0x1ad3c5,_0x3ffe1c,_0x3c56df['id'],this[_0x517344(0xe5)][_0x517344(0xe3)]()));}[_0x20925f(0x108)](_0x47b171){const _0x411433=_0x20925f;let _0x3d19a3=typeof _0x47b171==_0x411433(0xda)?this['get'](_0x47b171):_0x47b171;return _0x3d19a3?this[_0x411433(0xe5)][_0x411433(0xe3)]()[_0x411433(0xf0)](i[_0x411433(0x123)])[_0x411433(0x12c)](a[_0x411433(0x134)]['id'],{'unitId':_0x3d19a3[_0x411433(0xd9)],'drawings':[{'unitId':_0x3d19a3[_0x411433(0xd9)],'subUnitId':_0x3d19a3['subUnitId'],'drawingId':_0x3d19a3[_0x411433(0xd5)],'drawingType':i[_0x411433(0x100)]['DRAWING_CHART']}]}):Promise['resolve'](!0x1);}[_0x20925f(0x120)](){const _0xae02c6=_0x20925f;let _0xece357=this[_0xae02c6(0xe5)]['getWorkbook'](),_0x201ea9=this[_0xae02c6(0xe5)][_0xae02c6(0xe3)]()[_0xae02c6(0xf0)](r[_0xae02c6(0xf3)]);return{'unitId':_0xece357[_0xae02c6(0x102)](),'subUnitId':this[_0xae02c6(0xe5)][_0xae02c6(0xcd)](),'workbook':_0xece357,'resolveAutoIsRowDirection':_0x18b0b0=>_0x201ea9[_0xae02c6(0xde)](_0x18b0b0)[_0xae02c6(0xec)]===t[_0xae02c6(0x10b)][_0xae02c6(0x124)]};}};function d(_0x34619d){'@babel/helpers - typeof';const _0x31aefc=_0x20925f;return d=typeof Symbol==_0x31aefc(0x12e)&&typeof Symbol['iterator']==_0x31aefc(0xe0)?function(_0x328768){return typeof _0x328768;}:function(_0x1a3f42){const _0x2c250d=_0x31aefc;return _0x1a3f42&&typeof Symbol=='function'&&_0x1a3f42[_0x2c250d(0x11d)]===Symbol&&_0x1a3f42!==Symbol['prototype']?_0x2c250d(0xe0):typeof _0x1a3f42;},d(_0x34619d);}function f(_0x2d3e29,_0x26fd04){const _0x1ff51a=_0x20925f;if(d(_0x2d3e29)!=_0x1ff51a(0xe6)||!_0x2d3e29)return _0x2d3e29;var _0x2e3432=_0x2d3e29[Symbol[_0x1ff51a(0x104)]];if(_0x2e3432!==void 0x0){var _0x45cc86=_0x2e3432[_0x1ff51a(0x10a)](_0x2d3e29,_0x26fd04||_0x1ff51a(0xee));if(d(_0x45cc86)!=_0x1ff51a(0xe6))return _0x45cc86;throw TypeError(_0x1ff51a(0x10d));}return(_0x26fd04===_0x1ff51a(0xda)?String:Number)(_0x2d3e29);}function p(_0x5d718b){const _0x191942=_0x20925f;var _0x528bcc=f(_0x5d718b,_0x191942(0xda));return d(_0x528bcc)==_0x191942(0xe0)?_0x528bcc:_0x528bcc+'';}function _0x5113(_0x3aadb8,_0x342028){_0x3aadb8=_0x3aadb8-0xc3;const _0x19436f=_0x1943();let _0x5113d8=_0x19436f[_0x3aadb8];return _0x5113d8;}function m(_0x25155d,_0x1fa825,_0x40a6ac){const _0x2baa48=_0x20925f;return(_0x1fa825=p(_0x1fa825))in _0x25155d?Object[_0x2baa48(0xf1)](_0x25155d,_0x1fa825,{'value':_0x40a6ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25155d[_0x1fa825]=_0x40a6ac,_0x25155d;}function _0x1943(){const _0x3a4cc2=['getUnitId','toSheetChartCreateSpec','toPrimitive','InsertChartCommand','getWorkbook','9MZCojO','remove','rangeInfo','call','DataOrientation','184LVarXh','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FChartsBase','setSource','message','27976tyPQdm','DetachedChartBuilderAdapter','ChartUpdateSourceCommand','getChartBuilderConstructor','LocaleService','resolveSourceSpec','chartTypeToBits','resolveChartRenderModelImageExportInput','getSubUnitId','dataAggregation','style','125566QOtlwL','constructor','context','913470SkyxBT','_sourceContext','getChartBuilderPendingConfig','type','ICommandService','Row','_builder','1398YqURKt','setPosition','_injector','category','theme','FSheetCharts','executeCommand','ChartDiagnosticSeverity','function','describe','getChartModel','getRange','create','extend','RemoveSheetDrawingCommand','Insert\x20the\x20Sheet\x20chart\x20before\x20calling\x20commit().','getCategoryData','SheetChartBuilderAdapter','updateRange','severity','_commands','ChartSourceKind','274872rEvCwl','ranges','setLayout','resolveSourceSeries','height','135205IKDAOC','_sheetBuilder','width','3235tElomD','generateRandomId','insert','map','subUnitId','list','getSheetId','HostBuilderComposer','DRAWING_CHART','registerTheme','getDirection','Failed\x20to\x20create\x20Sheet\x20chart.','Invalid\x20Sheet\x20chart\x20source.','source','chartId','getId','setSize','451BdNFNo','unitId','string','542967zyvayI','_resolveSource','getChartId','getChartSuggestion','SheetChartBuilder','symbol','exportImage','FEnum','getInject','mapping','_worksheet','object','getSource','filter','getRangeInfo','config','size','orient','IChartRenderModelManagerService','default','DEFAULT_CHART_TYPE','get','defineProperty','_wrap','SheetsChartService','commitHost','getDrawingByParam','join','FWorksheet','charts','Error','ChartSourceOrientation','105dxcGGd','ISheetDrawingService','resolveSource','kind','dataSource','DrawingTypeEnum','rejectCommit'];_0x1943=function(){return _0x3a4cc2;};return _0x1943();}var h=class extends t[_0x20925f(0x112)]{constructor(_0x1498ca,_0x1fb573){const _0x388896=_0x20925f;super(_0x1498ca,_0x388896(0x135)),this[_0x388896(0xdc)]=_0x1fb573;}[_0x20925f(0xf4)](_0x2616a9){const _0x1cc32c=_0x20925f;return this[_0x1cc32c(0x101)]();}[_0x20925f(0xfd)](_0x2c3f11){return this['_resolveSource'](_0x2c3f11);}},g=class extends n[_0x20925f(0x10e)]{constructor(_0x11ae52){const _0x3c5926=_0x20925f;super(),this['_worksheet']=_0x11ae52,m(this,'_commands',void 0x0),this[_0x3c5926(0x13a)]=new u(_0x11ae52);}[_0x20925f(0x132)](){const _0x4fc60f=_0x20925f;let _0xd0e93=(0x0,i[_0x4fc60f(0xc8)])(),_0x52729e={'id':_0xd0e93,'type':t[_0x4fc60f(0xef)],'series':{}},_0x1006cf=new r['SheetChartBuilder'](_0xd0e93,_0x52729e,new h(_0x52729e,_0x1a385b=>new r['SheetChartBuilderAdapter']({'unitId':this[_0x4fc60f(0xe5)][_0x4fc60f(0x106)]()[_0x4fc60f(0x102)](),'subUnitId':this[_0x4fc60f(0xe5)][_0x4fc60f(0xcd)](),'chartId':_0xd0e93,'injector':this[_0x4fc60f(0xe5)][_0x4fc60f(0xe3)]()})[_0x4fc60f(0xfd)](_0x1a385b)));return c[_0x4fc60f(0x132)](_0x1006cf,n['FChartBuilderBase']);}async[_0x20925f(0xc9)](_0x5d719d){const _0x50392a=_0x20925f;let _0x55f5eb=_0x5d719d[_0x50392a(0x12f)]();if(!_0x55f5eb[_0x50392a(0xd4)])throw Error('Sheet\x20chart\x20source\x20is\x20required\x20before\x20insert().');let _0x282f28=(0x0,r[_0x50392a(0x103)])(_0x55f5eb,(0x0,n[_0x50392a(0x121)])(_0x5d719d)),_0x29016f=await this['_commands'][_0x50392a(0x132)](_0x282f28);return this[_0x50392a(0xf2)](_0x29016f);}[_0x20925f(0xf0)](_0x321758){const _0x1a431b=_0x20925f;let _0x4bfe66=this[_0x1a431b(0x13a)][_0x1a431b(0xf0)](_0x321758);return _0x4bfe66?this[_0x1a431b(0xf2)](_0x4bfe66):null;}['list'](){const _0x427222=_0x20925f;return this['_commands'][_0x427222(0xcc)]()[_0x427222(0xca)](_0x3dfa30=>this[_0x427222(0xf2)](_0x3dfa30));}[_0x20925f(0x108)](_0xdc6c59){const _0x3f5c78=_0x20925f;return this['_commands'][_0x3f5c78(0x108)](typeof _0xdc6c59==_0x3f5c78(0xda)?_0xdc6c59:_0xdc6c59[_0x3f5c78(0xd6)]());}[_0x20925f(0xd0)](_0x2707e5,_0x19cd57){const _0x2c9d72=_0x20925f;this['_worksheet'][_0x2c9d72(0xe3)]()[_0x2c9d72(0xf0)](t['ChartThemeService'])[_0x2c9d72(0xd0)](_0x2707e5,_0x19cd57);}[_0x20925f(0xf2)](_0x5ed91f){const _0x6f7082=_0x20925f;let _0x4ab679=new r[(_0x6f7082(0x137))]({'unitId':_0x5ed91f['unitId'],'subUnitId':_0x5ed91f['subUnitId'],'chartId':_0x5ed91f[_0x6f7082(0xd5)],'injector':this['_worksheet'][_0x6f7082(0xe3)]()}),_0x310b01=_0x4ab679[_0x6f7082(0x12f)](),_0x1104e2=new r[(_0x6f7082(0xdf))](_0x5ed91f['getId'](),_0x310b01,_0x4ab679),_0x23c57d=(0x0,n[_0x6f7082(0x114)])(_0x310b01[_0x6f7082(0x122)]);return c[_0x6f7082(0x132)](_0x1104e2,_0x23c57d);}},_=class extends e[_0x20925f(0xf7)]{get[_0x20925f(0xf8)](){return new g(this);}};e[_0x20925f(0xf7)][_0x20925f(0x133)](_);var v=class extends o['FEnum']{get[_0x20925f(0xfa)](){const _0x3d104a=_0x20925f;return r[_0x3d104a(0xfa)];}};o[_0x20925f(0xe2)][_0x20925f(0x133)](v),Object['defineProperty'](exports,'ChartSourceOrientation',{'enumerable':!0x0,'get':function(){const _0x10b4b7=_0x20925f;return r[_0x10b4b7(0xfa)];}}),exports[_0x20925f(0x12b)]=g;