import{r as s,h as t}from"./p-wX3eJOEL.js";const e=class{constructor(t){s(this,t)}tokens="css";render(){const s={css:"https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-tokens/css-variables.css",scss:"https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-tokens/scss-variables.scss",json:"https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-echarts-theme/dds-echarts-theme.json",js:"https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-echarts-theme/dds-echarts-theme.js"}[this.tokens],e="json"===this.tokens||"js"===this.tokens?`dds-echarts-theme.${this.tokens}`:`infineon-tokens.${this.tokens}`;return t("ifx-link",{key:"a9fffebdef92640797f0ad864ccc5ead2756ce32",onClick:t=>{t.preventDefault(),fetch(s).then((s=>s.blob())).then((s=>{const t=document.createElement("a");t.href=URL.createObjectURL(s),t.download=e,t.click()}))},href:s,download:e,class:"download__wrapper",size:"m",variant:"bold"},t("slot",{key:"a58203ac50f21518b2f9b0f5c54b84c9ae454188"}))}};e.style="";export{e as ifx_download}