var a=Object.defineProperty;var u=(s,e,t)=>e in s?a(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var n=(s,e,t)=>u(s,typeof e!="symbol"?e+"":e,t);import{u as r,Y as c,aX as l,aW as g}from"./C-p8iwFB.js";import{H as p,C as f}from"./CeX-HMq3.js";const m=()=>{const{locale:s}=r(),e=c(),t=e.public.webId,o=e.public.i18n.defaultLocale;return(()=>{const i=l[t];return i.luigisBoxConfig[s.value]||i.luigisBoxConfig[o]})()};class x extends p{constructor(){super(...arguments);n(this,"api",{Search:(t,o={})=>this.request({path:"/search",method:"GET",type:f.Json,format:"json",query:t,...o})})}}const h=()=>{const s=`${g.LUIGIS_BOX_API_URL}`;return new x({baseUrl:s}).api},b=s=>h().Search(s).then(e=>e.data).catch(()=>null);export{b as s,m as u}; //# sourceMappingURL=DkctvIZ5.js.map