1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BaCAJJm6.js","./BbdlaTZ6.js","./Oxev71hi.js","./BAJkae7J.js","./Dsp_3Iwf.js","./entry.BS8EQEam.css"])))=>i.map(i=>d[i]); 2import{O as f,P as h}from"./BbdlaTZ6.js";import{av as m}from"./Oxev71hi.js";function y(r){const i={};for(const e in r.node.req.headers){const n=r.node.req.headers[e];i[e]=Array.isArray(n)?n.filter(Boolean).join(", "):n}return i}const $={base:"v3.5.0--S05F2MJmnlKzncguby5QvPzQKxSjMABZ9U2Yse7bxQ0",articles:"v3.5.0--fbfBa7zOdBmx9rMRRD8aV9VK_gIY3kKM4DEX_bQRMMI",clientGames:"v3.5.0--AY1kbxglS-yoWb6GHF-VGEZMvK3j36gk4FUKcodIOo4",tags:"v3.5.0--zqsdP4qZvsWpSzCEuJnM3RgeU6jFhhRfohUbZHd1IgI",gameInfos:"v3.5.0---3GohU4_ADQoQeUtXObdJT0cMuIaA6FUQ5214hIXpgE"},b={base:"_content_base",articles:"_content_articles",clientGames:"_content_clientGames",tags:"_content_tags",gameInfos:"_content_gameInfos",info:"_content_info"},w={base:{type:"page",fields:{id:"string",title:"string",body:"json",coverImg:"string",createdAt:"date",description:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string",updatedAt:"date"}},articles:{type:"page",fields:{id:"string",title:"string",body:"json",coverImg:"string",createdAt:"date",description:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string",updatedAt:"date"}},clientGames:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",game:"json",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},tags:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",gameTag:"json",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},gameInfos:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string",subtitle:"string"}},info:{type:"data",fields:{}}},g=(r,i)=>{const e=r._conditions;return e.length>0?`(${e.join(` ${i} `)})`:""},u=r=>{const i=[],e={_conditions:i,where(n,o,t){let s;switch(o.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(t)){const a=t.map(c=>d(c)).join(", ");s=`"${String(n)}" ${o.toUpperCase()} (${a})`}else throw new TypeError(`Value for ${o} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(t)&&t.length===2)s=`"${String(n)}" ${o.toUpperCase()} ${d(t[0])} AND ${d(t[1])}`;else throw new Error(`Value for ${o} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":s=`"${String(n)}" ${o.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":s=`"${String(n)}" ${o.toUpperCase()} ${d(t)}`;break;default:s=`"${String(n)}" ${o} ${d(typeof t=="boolean"?Number(t):t)}`}return i.push(`${s}`),e},andWhere(n){const o=n(u());return i.push(g(o,"AND")),e},orWhere(n){const o=n(u());return i.push(g(o,"OR")),e}};return e},j=(r,i)=>{const e={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},n={__params:e,andWhere(t){const s=t(u());return e.conditions.push(g(s,"AND")),n},orWhere(t){const s=t(u());return e.conditions.push(g(s,"OR")),n},path(t){return n.where("path","=",f(t))},skip(t){return e.offset=t,n},where(t,s,a){return n.andWhere(c=>c.where(String(t),s,a)),n},limit(t){return e.limit=t,n},select(...t){return t.length&&e.selectedFields.push(...t),n},order(t,s){return e.orderBy.push(`"${String(t)}" ${s}`),n},async all(){return i(r,o()).then(t=>t||[])},async first(){return i(r,o({limit:1})).then(t=>t[0]||null)},async count(t="*",s=!1){return i(r,o({count:{field:String(t),distinct:s}})).then(a=>a[0].count)}};function o(t={}){let s="SELECT ";if(t?.count)s+=`COUNT(${t.count.distinct?"DISTINCT ":""}${t.count.field}) as count`;else{const c=Array.from(new Set(e.selectedFields));s+=c.length>0?c.map(p=>`"${String(p)}"`).join(", "):"*"}s+=` FROM ${b[String(r)]}`,e.conditions.length>0&&(s+=` WHERE ${e.conditions.join(" AND ")}`),e.orderBy.length>0?s+=` ORDER BY ${e.orderBy.join(", ")}`:s+=" ORDER BY stem ASC";const a=t?.limit||e.limit;return a>0&&(e.offset>0?s+=` LIMIT ${a} OFFSET ${e.offset}`:s+=` LIMIT ${a}`),s}return n};function d(r){return`'${String(r).replace(/'/g,"''")}'`}async function l(r,i,e,n){const o=r?y(r):{};o["accept-encoding"]=void 0;const t=`/__nuxt_content/${i}/${e}`,s={...n,headers:{...o,...n.headers},query:{v:$[String(i)],t:void 0}};return r?await r.$fetch(t,s):await $fetch(t,s)}async function T(r,i){return l(r,i,"sql_dump.txt",{responseType:"text",headers:{"content-type":"text/plain"}})}async function _(r,i,e){return l(r,i,"query",{headers:{"content-type":"application/json"},method:"POST",body:{sql:e}})}const N=r=>{const i=m()?.ssrContext?.event;return j(r,(e,n)=>I(i,e,n))};async function I(r,i,e){return window.WebAssembly?S(i,e):_(r,String(i),e)}async function S(r,i){return await h(()=>import("./BaCAJJm6.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(n=>n.loadDatabaseAdapter(r)).then(n=>n.all(i))}
2export{$ as a,w as c,T as f,N as q,b 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.