{"version":3,"file":"echarts.mjs","sources":["../../../../packages/utils/echarts.ts"],"sourcesContent":["function echartsFontSize(res: number, basisHeight: number) {\n  const clientHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight\n  if (!clientHeight) return\n  const fontSize = clientHeight / basisHeight\n  return res * fontSize\n}\n\nconst EChartUtils = {\n  echartsFontSize,\n}\n\nexport { EChartUtils }\n"],"names":[],"mappings":"AAAA,SAAS,eAAe,CAAC,GAAG,EAAE,WAAW,EAAE;AAC3C,EAAE,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,IAAI,QAAQ,CAAC,eAAe,CAAC,YAAY,IAAI,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;AACjH,EAAE,IAAI,CAAC,YAAY;AACnB,IAAI,OAAO;AACX,EAAE,MAAM,QAAQ,GAAG,YAAY,GAAG,WAAW,CAAC;AAC9C,EAAE,OAAO,GAAG,GAAG,QAAQ,CAAC;AACxB,CAAC;AACI,MAAC,WAAW,GAAG;AACpB,EAAE,eAAe;AACjB;;;;"}