{"version":3,"file":"StaticURL-de54fea2.js","sources":["../../src/utils/StaticURL.js"],"sourcesContent":["const publicPath = import.meta.env.VITE_PUBLIC_PATH || '/';\n\nexport default class StaticURL {\n\tconstructor(folder, path, mode) {\n\t\tthis.mode = mode ?? 'l';\n\t\tthis.folder = folder;\n\t\tthis.path = path ?? '';\n\t}\n\n\tget(path) {\n\t\tif (this.folder) return `${publicPath}${this.mode}/${this.folder}/${this.path}/${path}`;\n\t\telse return null;\n\t}\n}\n"],"names":["publicPath","StaticURL","folder","path","mode"],"mappings":"AAAA,MAAMA,EAAa,YAEJ,MAAMC,CAAU,CAC9B,YAAYC,EAAQC,EAAMC,EAAM,CAC/B,KAAK,KAAOA,GAAQ,IACpB,KAAK,OAASF,EACd,KAAK,KAAOC,GAAQ,EACpB,CAED,IAAIA,EAAM,CACT,OAAI,KAAK,OAAe,GAAGH,CAAU,GAAG,KAAK,IAAI,IAAI,KAAK,MAAM,IAAI,KAAK,IAAI,IAAIG,CAAI,GACzE,IACZ,CACF"}