import{a as e}from"./rolldown-runtime.BRE-HNa9.js";import{t}from"./preload-helper.BbTAn5NJ.js";var n;function r(){return new Promise((r,i)=>{if(n){r(n);return}t(()=>import(`./xlsx.core.min.Ce395y5y.js`).then(t=>e(t.default,1)).then(a=>{let o=a.default;console.debug(`* lazy imported XLSX v${o.version}`),t(()=>import(`./alasql.min.EDa1ypCN.js`).then(t=>e(t.default,1)).then(e=>{let t=e.default;t.utils.isBrowserify=!1,t.utils.global.XLSX=o,t.XLSX=o,n=t,console.debug(`* lazy imported sql v${t.version}`),r(n)}),[]).catch(e=>{let t=`sql import file failed, error: ${e?e.message.substring(0,300):`unknown error`}.`;console.error(state,t),i(t)})}),void 0)})}export{r as t};