1import{a1 as n,T as s,a2 as o}from"./BcLgFRTE.js";const m={VITE_API_ENDPOINT:"https://back-office.3daimtrainer.com/api",VITE_PRISMIC_ID:"3dat-corporate-web"},{VITE_API_ENDPOINT:c,VITE_PRISMIC_ID:i}=m;async function I(a){const e=n(),r=`[[at(document.id, "${a}")]]`;if(e)try{const{data:t}=await s.get(`${c}/_prismic/${i}/documents/search`,{params:o(r,e)});if(t.results?.[0]?.data)return t.results[0].data}catch{}try{const{data:t}=await s.get(`${c}/_prismic/${i}/documents/search`,{params:o(r)});return t.results?.[0]?.data||null}catch(t){return console.error(`Could not fetch Prismic ID "${a}", reason:`,t),null}}export{I as f};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.