1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BJ-7pbvh.js","./Cvy_dMNG.js","./D2nx0EDh.js","./BiTH3T5y.js","./Dkdgl4x8.js","./rxhDcyfF.js","./DJIQptMS.js","./DSJ9I3OW.js","./BkkgPdC2.js","./DSHvOHtR.js","./Dl07uGq1.js","./CeAfgXDG.js","./BVl0r9Tw.js","./entry.DNl_xzsr.css"])))=>i.map(i=>d[i]); 2import{i as e}from"./D2nx0EDh.js";import{y as t}from"./DJIQptMS.js";import{n}from"./BkkgPdC2.js";import{i as r}from"#entry";var i={nieuws:`v3.5.0--HFSQcPRO5qnuddNiVDWC2_KH0c-_vAitsAldgcyw8IM`,pages:`v3.5.0--fGanrX7wE_UwtLpvfGhEVrbh0e54buWcQSZRSMAljQ0`,vacatures:`v3.5.0--CKQthwMzxLXN0bGIX4XpF9Pz0M2wtmUWmh3PpES2-jw`,opdrachtgevers:`v3.5.0--tXk1cnLCxIo0RCuXqqa5jwWRTxWJ9C1BtLDtrsaNi84`},a={nieuws:`_content_nieuws`,pages:`_content_pages`,vacatures:`_content_vacatures`,opdrachtgevers:`_content_opdrachtgevers`,info:`_content_info`},o={nieuws:{type:`page`,fields:{id:`string`,title:`string`,body:`json`,categories:`json`,date:`string`,description:`string`,excerpt:`string`,extension:`string`,image:`string`,imageAlt:`string`,meta:`json`,navigation:`json`,path:`string`,seo:`json`,slug:`string`,stem:`string`,updated:`string`,url:`string`,wpId:`number`}},pages:{type:`page`,fields:{id:`string`,title:`string`,body:`json`,description:`string`,extension:`string`,image:`string`,imageAlt:`string`,meta:`json`,navigation:`json`,path:`string`,seo:`json`,slug:`string`,stem:`string`,url:`string`,wpId:`number`}},vacatures:{type:`page`,fields:{id:`string`,title:`string`,body:`json`,contactEmail:`string`,contactName:`string`,description:`string`,employment:`string`,extension:`string`,hours:`string`,image:`string`,imageAlt:`string`,meta:`json`,navigation:`json`,organisation:`string`,path:`string`,salary:`string`,seo:`json`,slug:`string`,stem:`string`,url:`string`,wpId:`number`}},opdrachtgevers:{type:`page`,fields:{id:`string`,title:`string`,body:`json`,categories:`json`,categorySource:`string`,description:`string`,extension:`string`,image:`string`,imageAlt:`string`,language:`string`,languageSource:`string`,meta:`json`,navigation:`json`,path:`string`,seo:`json`,slug:`string`,stem:`string`,url:`string`,wpId:`number`}},info:{type:`data`,fields:{}}},s=(e,t)=>{let n=e._conditions;return n.length>0?`(${n.join(` ${t} `)})`:``},c=e=>{let t=[],n={_conditions:t,where(e,r,i){let a;switch(r.toUpperCase()){case`IN`:case`NOT IN`:if(Array.isArray(i)){let t=i.map(e=>u(e)).join(`, `);a=`"${String(e)}" ${r.toUpperCase()} (${t})`}else throw TypeError(`Value for ${r} must be an array`);break;case`BETWEEN`:case`NOT BETWEEN`:if(Array.isArray(i)&&i.length===2)a=`"${String(e)}" ${r.toUpperCase()} ${u(i[0])} AND ${u(i[1])}`;else throw Error(`Value for ${r} must be an array with two elements`);break;case`IS NULL`:case`IS NOT NULL`:a=`"${String(e)}" ${r.toUpperCase()}`;break;case`LIKE`:case`NOT LIKE`:a=`"${String(e)}" ${r.toUpperCase()} ${u(i)}`;break;default:a=`"${String(e)}" ${r} ${u(typeof i==`boolean`?Number(i):i)}`}return t.push(`${a}`),n},andWhere(r){let i=r(c(e));return t.push(s(i,`AND`)),n},orWhere(r){let i=r(c(e));return t.push(s(i,`OR`)),n}};return n},l=(e,n)=>{let r={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:``,distinct:!1}},i={__params:r,andWhere(t){let n=t(c(e));return r.conditions.push(s(n,`AND`)),i},orWhere(t){let n=t(c(e));return r.conditions.push(s(n,`OR`)),i},path(e){return i.where(`path`,`=`,t(e))},skip(e){return r.offset=e,i},where(e,t,n){return i.andWhere(r=>r.where(String(e),t,n)),i},limit(e){return r.limit=e,i},select(...e){return e.length&&r.selectedFields.push(...e),i},order(e,t){return r.orderBy.push(`"${String(e)}" ${t}`),i},async all(){return n(e,o()).then(e=>e||[])},async first(){return n(e,o({limit:1})).then(e=>e[0]||null)},async count(t=`*`,r=!1){return n(e,o({count:{field:String(t),distinct:r}})).then(e=>e[0].count)}};function o(t={}){let n=`SELECT `;if(t?.count)n+=`COUNT(${t.count.distinct?`DISTINCT `:``}${t.count.field}) as count`;else{let e=Array.from(new Set(r.selectedFields));n+=e.length>0?e.map(e=>`"${String(e)}"`).join(`, `):`*`}n+=` FROM ${a[String(e)]}`,r.conditions.length>0&&(n+=` WHERE ${r.conditions.join(` AND `)}
2`),r.orderBy.length>0?n+=` ORDER BY ${r.orderBy.join(`, `)}`:n+=` ORDER BY stem ASC`;let i=t?.limit||r.limit;return i>0&&(r.offset>0?n+=` LIMIT ${i} OFFSET ${r.offset}`:n+=` LIMIT ${i}`),n}return i};function u(e){return`'${String(e).replace(/'/g,`''`)}'`}async function d(e,t,r,a){let o=e?n(e):{};o[`accept-encoding`]=void 0;let s=`/__nuxt_content/${t}/${r}`,c={...a,headers:{...o,...a.headers},query:{v:i[String(t)],t:void 0}};return e?await e.$fetch(s,c):await $fetch(s,c)}async function f(e,t){return d(e,t,`sql_dump.txt`,{responseType:`text`,headers:{"content-type":`text/plain`}})}async function p(e,t,n){return d(e,t,`query`,{headers:{"content-type":`application/json`},method:`POST`,body:{sql:n}})}var m=t=>{let n=e()?.ssrContext?.event;return l(t,(e,t)=>h(n,e,t))};async function h(e,t,n){return window.WebAssembly?g(t,n):p(e,String(t),n)}async function g(e,t){return await r(()=>import(`./BJ-7pbvh.js`).then(t=>t.loadDatabaseAdapter(e)),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(e=>e.all(t))}export{o as a,a as i,f as n,i as r,m as t};
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.