'use strict';
import { fetchReportWithData } from '../fetch-report-with-data.js';

var __defProp=Object['defineProperty'],__name=(_0x1bd50c,_0x304a06)=>__defProp(_0x1bd50c,'name',{'value':_0x304a06,'configurable':!![]});async function initReportChart(_0x270972,_0x239fc7,_0x5a44b6,_0x3440f6){const _0x460c18=_0x5a44b6?.['id']??_0x3440f6;if(!_0x460c18)return;const _0x3be2be=await fetchReportWithData(_0x460c18);if(!_0x3be2be)return;_0x239fc7(_0x3be2be['data']),!_0x5a44b6&&_0x270972(_0x3be2be['report']);}__name(initReportChart,'initReportChart');

export { initReportChart };
