import{E as t}from"./p-b226f54d.js";class s{constructor(){this.assetsList=void 0}static getInstance(){return s.instance||(s.instance=new s),s.instance}async assets(){return void 0===this.assetsList&&(this.assetsList=await this.init()),this.assetsList}async init(){try{const s=t.getInstance().get("sparkle"),a=await fetch(`${s.globalAssetsUrl}/assets.json`);if(!a)return;return await a.json()}catch(t){return}}async loadJsonFile(t){try{const s=await fetch(`${t}`);if(!s)return;return await s.json()}catch(t){return}}}export{s as A}