1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dl6gqwlS.js","./jXePKi-b.js","./entry.CPks_vyn.css"])))=>i.map(i=>d[i]); 2import{aO as K,aP as M,aQ as R,$ as U}from"./jXePKi-b.js";const P=/\d/,Q=["-","_","/","."];function F(t=""){if(!P.test(t))return t!==t.toLowerCase()}function L(t,i){const e=Q,n=[];if(!t||typeof t!="string")return n;let r="",s,o;for(const c of t){const l=e.includes(c);if(l===!0){n.push(r),r="",s=void 0;continue}const a=F(c);if(o===!1){if(s===!1&&a===!0){n.push(r),r=c,s=a;continue}if(s===!0&&a===!1&&r.length>1){const u=r.at(-1);n.push(r.slice(0,Math.max(0,r.length-1))),r=u+c,s=a;continue}}r+=c,s=a,o=l}return n.push(r),n}function H(t){return t?t[0].toUpperCase()+t.slice(1):""}function Y(t,i){return t?(Array.isArray(t)?t:L(t)).map(e=>H(i?.normalize?e.toLowerCase():e)).join(""):""}function ct(t,i){return t?(Array.isArray(t)?t:L(t)).map(e=>e.toLowerCase()).join("-"):""}const X={blogMeta:"v3.5.0--eISmjq6KPelZZ3ZJNBaaTtB5gGl3TRxKIlX-4Qn1E6U",blog:"v3.5.0--Uj861IfQAziS-IGaT-9_8DpPCLhKGDaMsCV1pIos8rQ",snippets:"v3.5.0--tWqv7Ghr20KedMnorZollqux-9qajBbQf00P0fClnMk",docs:"v3.5.0--VfaIH7R1OFWo_Z2Od2Qxyz5WanEvJnE3CpOiyHCKGYM",index:"v3.5.0--xWx356BKJNvgTgaNSihGNDqIRpQTHXX9EQM2b4yh_fY",bodenwertBerechnen:"v3.5.0--Y33LP6ek9CNXhpyMOB_6Oy6jFXX3j6zzlz8FzJDYy_c",pricing:"v3.5.0--jvcO3wKC97uuAEiuHiCXKS9011b8ojYn8KsLPfJjKYg",bundeslaender:"v3.5.0--xEauKgY3tikuEaAaZ9IeRX9s4nr2KOvl8S4pcKKJxUY",useCases:"v3.5.0--ujiNzAjS4O3oQP-1MY0Es50g7i3Wsx98ESgZSVfFh-0",orte:"v3.5.0--JW4_Yw2dT3I-rdEuQmCoVDaccXAkOKvjen0UeQXKgKY"},G={blogMeta:"_content_blogMeta",blog:"_content_blog",snippets:"_content_snippets",docs:"_content_docs",index:"_content_index",bodenwertBerechnen:"_content_bodenwertBerechnen",pricing:"_content_pricing",bundeslaender:"_content_bundeslaender",useCases:"_content_useCases",orte:"_content_orte",info:"_content_info"},lt={blogMeta:{type:"data",fields:{id:"string",title:"string",cta:"json",description:"string",extension:"string",meta:"json",stem:"string"}},blog:{type:"page",fields:{id:"string",title:"string",authors:"json",body:"json",category:"string",date:"string",description:"string",draft:"boolean",extension:"string",image:"string",meta:"json",navigation:"json",path:"string",seo:"json",seoTitle:"string",series:"string",stem:"string",updated:"string"}},snippets:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",key:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},docs:{type:"page",fields:{id:"string",title:"string",audience:"string",body:"json",description:"string",extension:"string",links:"json",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},index:{type:"data",fields:{id:"string",title:"string",compatibility:"json",compatibilitySimple:"json",cta:"json",description:"string",extension:"string",faq:"json",features:"json",hallucination:"json",hero:"json",howItWorks:"json",meta:"json",seo:"json",stem:"string",surfaces:"json",testimonials:"json",useCases:"json"}},bodenwertBerechnen:{type:"data",fields:{id:"string",title:"string",chatBeispiel:"json",cta:"json",description:"string",extension:"string",faq:"json",features:"json",hero:"json",howItWorks:"json",meta:"json",seo:"json",stem:"string",trustBar:"json"}},pricing:{type:"data",fields:{id:"string",title:"string",compare:"json",description:"string",extension:"string",faq:"json",hero:"json",meta:"json",plans:"json",seo:"json",stem:"string",trial:"json"}},bundeslaender:{type:"data",fields:{id:"string",title:"string",description:"string",extension:"string",items:"json",meta:"json",stem:"string"}},useCases:{type:"data",fields:{id:"string",title:"string",description:"string",extension:"string",items:"json",meta:"json",stem:"string"}},orte:{type:"data",fields:{id:"string",title:"string",description:"string",extension:"string",items:"json",meta:"json",stem:"string"}},info:{type:"data",fields:{}}},_=(t,i)=>{const e=t._conditions;return e.length>0?`(${e.join(` ${i} `)})`:""},C=t=>{const i=[],e={_conditions:i,where(n,r,s){let o;switch(r.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(s)){const c=s.map(l=>y(l)).join(", ");o=`"${String(n)}" ${r.toUpperCase()} (${c})`}else throw new TypeError(`Value for ${r} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(s)&&s.length===2)o=`"${String(n)}" ${r.toUpperCase()} ${y(s[0])} AND ${y(s[1])}`;else throw new Error(`Value for ${r} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":o=`"${String(n)}" ${r.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":o=`"${String(n)}" ${r.toUpperCase()} ${y(s)}`;break;default:o=`"${String(n)}" ${r} ${y(typeof s=="boolean"?Number(s):s)}`}return i.push(`${o}`),e},andWhere(n){const r=n(C());return i.push(_(r,"AND")),e},orWhere(n){const r=n(C());return i.push(_(r,"OR")),e}};return e},z=(t,i)=>{const e={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},n={__params:e,andWhere(s){const o=s(C());return e.conditions.push(_(o,"AND")),n},orWhere(s){const o=s(C());return e.conditions.push(_(o,"OR")),n},path(s){return n.where("path","=",K(s))},skip(s){return e.offset=s,n},where(s,o,c){return n.andWhere(l=>l.where(String(s),o,c)),n},limit(s){return e.limit=s,n},select(...s){return s.length&&e.selectedFields.push(...s),n},order(s,o){return e.orderBy.push(`"${String(s)}" ${o}`),n},async all(){return i(t,r()).then(s=>s||[])},async first(){return i(t,r({limit:1})).then(s=>s[0]||null)},async count(s="*",o=!1){return i(t,r({count:{field:String(s),distinct:o}})).then(c=>c[0].count)}
2};function r(s={}){let o="SELECT ";if(s?.count)o+=`COUNT(${s.count.distinct?"DISTINCT ":""}${s.count.field}) as count`;else{const l=Array.from(new Set(e.selectedFields));o+=l.length>0?l.map(a=>`"${String(a)}"`).join(", "):"*"}o+=` FROM ${G[String(t)]}`,e.conditions.length>0&&(o+=` WHERE ${e.conditions.join(" AND ")}`),e.orderBy.length>0?o+=` ORDER BY ${e.orderBy.join(", ")}`:o+=" ORDER BY stem ASC";const c=s?.limit||e.limit;return c>0&&(e.offset>0?o+=` LIMIT ${c} OFFSET ${e.offset}`:o+=` LIMIT ${c}`),o}return n};function y(t){return`'${String(t).replace(/'/g,"''")}'`}function w(t){return i=>(i=i||{},(t||[]).filter(e=>typeof i[e]<"u").reduce((e,n)=>Object.assign(e,{[n]:i[n]}),{}))}async function W(t,i=[]){t.__params?.orderBy?.length||(t=t.order("stem","ASC"));const n=await t.orWhere(a=>a.where("navigation","<>","false").where("navigation","IS NULL")).select("navigation","stem","path","title","meta",...i||[]).all(),{contents:r,configs:s}=n.reduce((a,u)=>{if(String(u.stem).split("/").pop()===".navigation"){u.title=u.title?.toLowerCase()==="navigation"?"":u.title;const p=u.path.split("/").slice(0,-1).join("/")||"/";a.configs[p]={...u,...u.body}}else a.contents.push(u);return a},{configs:{},contents:[]}),o=a=>({...w(["title",...i])(a),...a.meta,...A(a?.navigation)?a.navigation:{}}),c=a=>({...w(["title",...i])(a),...A(a?.navigation)?a.navigation:{}}),l=r.reduce((a,u)=>{const p=u.path.substring(1).split("/"),h=u.stem.split("/"),j=!!h[h.length-1]?.match(/([1-9]\d*\.)?index/g),f=d=>({title:d.title,path:d.path,stem:d.stem,children:[],...c(d)}),g=f(u);if(j){const d=s[g.path];if(typeof d?.navigation<"u"&&d?.navigation===!1)return a;if(u.path!=="/"){const m=f(u);g.children.push(m)}d&&Object.assign(g,o(d))}if(p.length===1){const d=a.find(m=>m.path===g.path&&m.page===!1);return j&&d?Object.assign(d,{page:void 0,children:[...g.children||[],...d.children||[]]}):a.push(g),a}const T=p.slice(0,-1).reduce((d,m,O)=>{const $="/"+p.slice(0,O+1).join("/"),b=s[$];if(typeof b?.navigation<"u"&&b.navigation===!1)return[];let S=d.find(v=>v.path===$);if(!S){const v=b?o(b):{};S={...v,title:v.title||J(m),path:$,stem:h.slice(0,O+1).join("/"),children:[],page:!1},d.push(S)}return S.children},a),x=T.find(d=>d.path===g.path&&d.page===!1);return x?Object.assign(x,{...g,page:void 0,children:[...g.children||[],...x.children||[]]}):T.push(g),a},[]);return B(l)}function B(t){const i=t;for(const e of i)e.children?.length?B(e.children):delete e.children;return t}function A(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}const J=t=>t.split(/[\s-]/g).map(Y).join(" ");async function V(t,i,e){const{before:n=1,after:r=1,fields:s=[]}=e||{},o=await W(t,s),c=D(o),l=c.findIndex(p=>p.path===i),a=l===-1?[]:c.slice(l-n,l),u=l===-1?[]:c.slice(l+1,l+r+1);return[...Array.from({length:n}).fill(null).concat(a).slice(a.length),...u.concat(Array.from({length:r}).fill(null)).slice(0,r)]}function D(t){return t.flatMap(e=>{const n=e.children?D(e.children):[];return e.page===!1||n.length&&n.find(r=>r.path===e.path)?n:[{...e,children:void 0},...n]})}function Z(t){return{type:"root",children:t.value.map(k)}}function k(t){if(typeof t=="string")return{type:"text",value:t};const[i,e,...n]=t;return{type:"element",tag:i,props:e,children:n.map(k)}}const tt=/^h([1-6])$/,I=t=>Number(t.match(tt)?.[1]??0);async function et(t,i){const{ignoredTags:e=[],extraFields:n=[],minHeading:r="h1",maxHeading:s="h6"}={},o=I(r),c=I(s);return(await t.where("extension","=","md").select("path","body","description","title",...n||[]).all()).flatMap(a=>nt(a,{ignoredTags:e,extraFields:n,minLevel:o,maxLevel:c}))}function nt(t,{ignoredTags:i,extraFields:e,minLevel:n,maxLevel:r}){const s=!t.body||t.body?.type==="root"?t.body:Z(t.body),o=t.path??"",c=w(e)(t),l=[{...c,id:o,title:t.title||"",titles:[],content:(t.description||"").trim(),level:1}];if(!s?.children)return l;let a=1,u=0;const p=[t.title??""];for(const h of s.children){const j=h.tag||"",f=I(j);if(f>=n&&f<=r){const g=N(h).trim();f===1?p.splice(0,p.length):f<u?p.splice(f-1,p.length-1):f===u&&p.pop(),l.push({...c,id:`${o}#${h.props?.id}
2`,title:g,titles:[...p],content:"",level:f}),p.push(g),u=f,a+=1}else{const g=N(h,i).trim();if(a===1&&l[a-1]?.content===g)continue;l[a-1].content=`${l[a-1].content} ${g}`.trim()}}return l}function N(t,i=[]){let e="";return t.type==="text"&&(e+=t.value||""),i.includes(t.tag??"")?"":(t.children?.length&&(e+=t.children.map(n=>N(n,i)).filter(Boolean).join("")),e)}async function q(t,i,e,n){const r=t?M(t):{};r["accept-encoding"]=void 0;const s=`/__nuxt_content/${i}/${e}`,o={...n,headers:{...r,...n.headers},query:{v:X[String(i)],t:void 0}};return t?await t.$fetch(s,o):await $fetch(s,o)}async function ut(t,i){return q(t,i,"sql_dump.txt",{responseType:"text",headers:{"content-type":"text/plain"}})}async function st(t,i,e){return q(t,i,"query",{headers:{"content-type":"application/json"},method:"POST",body:{sql:e}})}const it=t=>{const i=R()?.ssrContext?.event;return z(t,(e,n)=>rt(i,e,n))};function dt(t,i){return E(t,e=>W(e,i))}function gt(t,i,e){return E(t,n=>V(n,i,e))}function pt(t,i){return E(t,e=>et(e))}async function rt(t,i,e){return window.WebAssembly?ot(i,e):st(t,String(i),e)}async function ot(t,i){return await U(()=>import("./Dl6gqwlS.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(n=>n.loadDatabaseAdapter(t)).then(n=>n.all(i))}function E(t,i){const e=it(t),n={where(r,s,o){return e.where(String(r),s,o),n},andWhere(r){return e.andWhere(r),n},orWhere(r){return e.orWhere(r),n},order(r,s){return e.order(String(r),s),n},then(r,s){return i(e).then(r,s)},catch(r){return this.then(void 0,r)},finally(r){return this.then(void 0,void 0).finally(r)},get[Symbol.toStringTag](){return"Promise"}};return n}export{gt as a,dt as b,pt as c,lt as d,G as e,X as f,ut as g,ct as k,Y as p,it as q,Z as t,H as u};
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.