PageSourceSearch

https://netzwerk-ebd.de/_app/immutable/nodes/34.C7OYId55.js

js netzwerk-ebd.de collected 2026-10-02 04:11:52 UTC 9,018 bytes, 21 lines download raw bytes

1import"../chunks/ceifG17m.js";import"../chunks/DQfRr7yB.js";import{i as G,Q as J,L as X}from"../chunks/DbszTp6Q.js";import{s as B,e as k,t as w,a as j,c as v,k as R,l as $,d as p,b as T,f as y,j as E,i as _,m as D,h as Y,K as Z,n as x,v as ee,g as te,p as re}from"../chunks/CndQP0IL.js";import{S as M,i as F,c as O,a as U,m as z,t as P,b as I,d as H,e as K,g as W}from"../chunks/DaSA7PwU.js";import{e as A}from"../chunks/CKPxHyh3.js";import{p as ae}from"../chunks/B6bekzHM.js";import{d as le}from"../chunks/DmZhWPgY.js";import{A as se}from"../chunks/Ck4D3XjA.js";const ne={name:"SearchPage",kind:"HoudiniQuery",hash:"e874231b58ee9a87a5c2853ac00d2b0e6c1685367611a0f083d0081cdc9499fb",raw:`query SearchPage($term: String!) {
2  contentNodes(first: 20, where: {search: $term}) {
3    nodes {
4      date
5      databaseId
6      slug
7      uri
8      seo {
9        metaDesc
10        breadcrumbs {
11          text
12          url
13        }
14        title
15      }
16      id
17      __typename
18    }
19  }
20}
21`,rootType:"RootQuery",stripVariables:[],selection:{fields:{contentNodes:{type:"RootQueryToContentNodeConnection",keyRaw:"contentNodes(first: 20, where: {search: $term})",nullable:!0,selection:{fields:{nodes:{type:"ContentNode",keyRaw:"nodes",selection:{fields:{date:{type:"String",keyRaw:"date",nullable:!0,visible:!0},databaseId:{type:"Int",keyRaw:"databaseId",visible:!0},slug:{type:"String",keyRaw:"slug",nullable:!0,visible:!0},uri:{type:"String",keyRaw:"uri",nullable:!0,visible:!0},seo:{type:"PostTypeSEO",keyRaw:"seo",nullable:!0,selection:{fields:{metaDesc:{type:"String",keyRaw:"metaDesc",nullable:!0,visible:!0},breadcrumbs:{type:"SEOPostTypeBreadcrumbs",keyRaw:"breadcrumbs",nullable:!0,selection:{fields:{text:{type:"String",keyRaw:"text",nullable:!0,visible:!0},url:{type:"String",keyRaw:"url",nullable:!0,visible:!0}}},visible:!0},title:{type:"String",keyRaw:"title",nullable:!0,visible:!0}}},visible:!0},id:{type:"ID",keyRaw:"id",visible:!0},__typename:{type:"String",keyRaw:"__typename",visible:!0}}},abstract:!0,visible:!0}}},visible:!0}}},pluginData:{"houdini-svelte":{}},input:{fields:{term:"String"},types:{},defaults:{},runtimeScalars:{}},policy:"CacheOrNetwork",partial:!1};class ie extends J{constructor(){super({artifact:ne,storeName:"SearchPageStore",variables:!0})}}async function oe(s){await G();const e=new ie;return await e.fetch(s),{SearchPage:e}}const ue=!1,ce=!1,he=async s=>{const e=s.url.searchParams.get("term")||"";return{...await oe({event:s,variables:{term:e}})}},Ne=Object.freeze(Object.defineProperty({__proto__:null,load:he,prerender:ce,ssr:ue},Symbol.toStringTag,{value:"Module"}));function fe(s){var d,g;let e,t,r,a=((d=s[0].seo)==null?void 0:d.title)+"",n,o,h,i=((g=s[0].seo)==null?void 0:g.metaDesc)+"",u,l,f,c,b;return c=new se({props:{strokeWidth:1,class:"flex-shrink-0"}}),{c(){e=k("div"),t=k("a"),r=k("h3"),n=w(a),o=j(),h=k("p"),u=w(i),f=j(),O(c.$$.fragment),this.h()},l(m){e=v(m,"DIV",{class:!0});var S=R(e);t=v(S,"A",{href:!0});var C=R(t);r=v(C,"H3",{class:!0});var N=R(r);n=$(N,a),N.forEach(p),o=T(C),h=v(C,"P",{class:!0});var Q=R(h);u=$(Q,i),Q.forEach(p),C.forEach(p),f=T(S),U(c.$$.fragment,S),S.forEach(p),this.h()},h(){y(r,"class","font-sans font-bold mt-1 text-xl"),y(h,"class","mt-2 line-clamp-2"),y(t,"href",l=s[0].uri),y(e,"class","border-b border-gray-300 py-4 flex items-center gap-4 justify-between")},m(m,S){E(m,e,S),_(e,t),_(t,r),_(r,n),_(t,o),_(t,h),_(h,u),_(e,f),z(c,e,null),b=!0},p(m,[S]){var C,N;(!b||S&1)&&a!==(a=((C=m[0].seo)==null?void 0:C.title)+"")&&D(n,a),(!b||S&1)&&i!==(i=((N=m[0].seo)==null?void 0:N.metaDesc)+"")&&D(u,i),(!b||S&1&&l!==(l=m[0].uri))&&y(t,"href",l)},i(m){b||(P(c.$$.fragment,m),b=!0)},o(m){I(c.$$.fragment,m),b=!1},d(m){m&&p(e),H(c)}}}function de(s,e,t){le.locale("de");let{data:r}=e;return s.$$set=a=>{"data"in a&&t(0,r=a.data)},[r]}class me extends M{constructor(e){super(),F(this,e,de,fe,B,{data:0})}}function V(s,e,t){const r=s.slice();return r[0]=e[t],r}function pe(s){let e,t,r,a=s[2]===1?"Suchresultat":"Suchresultate",n,o,h=decodeURIComponent(s[4].url.searchParams.get("term")??"")+"",i,u;return{c(){e=k("h2"),t=w(s[2]),r=j(),n=w(a),o=w(' für "'),i=w(h),u=w('"'),this.h()},l(l){e=v(l,"H2",{class:!0});var f=R(e);t=$(f,s[2]),r=T(f),n=$(f,a),o=$(f,' für "'),i=$(f,h),u=$(f,'"'),f.forEach(p),this.h()},h(){y(e,"class","text-center")},m(l,f){E(l,e,f),_(e,t),_(e,r),_(e,n),_(e,o),_(e,i),_(e,u)},p(l,f){f&4&&D(t,l[2]),f&4&&a!==(a=l[2]===1?"Suchresultat":"Suchresultate")&&D(n,a),f&16&&h!==(h=decodeURIComponent(l[4].url.searchParams.get("term")??"")+"")&&D(i,h)},d(l){l&&p(e)}}}function _e(s){let e,t,r=decodeURIComponent(s[4].url.searchParams.get("term")??"")+"",a,n;return{c(){e=k("h2"),t=w('Suche für "'),a=w(r),n=w('"'),this.h()},l(o){e=v(o,"H2",{class:!0});var h=R(e);t=$(h,'Suche für "'),a=$(h,r),n=$(h,'"'),h.forEach(p),this.h()},h(){y(e,"class","text-center")},m(o,h){E(o,e,h),_(e,t),_(e,a),_(e,n)},p(o,h){h&16&&r!==(r=decodeURIComponent(o[4].url.searchParams.get("term")??"")+"")&&D(a,r)},d(o){o&&p(e)}}}function ge(s){let e,t="Für diesen Suchbegriff haben wir leider keine Resultate gefunden.";return{c(){e=k("p"),e.textContent=t,this.h()},l(r){e=v(r,"P",{class:!0,"data-svelte-h":!0}),te(e)!=="svelte-j633qy"&&(e.textContent=t),this.h()},h(){y(e,"class","max-w-prose mx-auto mt-4 text-center")},m(r,a){E(r,e,a)},p:x,i:x,o:x,d(r){r&&p(e)}}}function be(s){var o,h;let e,t,r=A(L(((h=(o=s[1].data)==null?void 0:o.contentNodes)==null?void 0:h.nodes)||[])),a=[];for(let i=0;i<r.length;i+=1)a[i]=q(V(s,r,i));const n=i=>I(a[i],1,1,()=>{a[i]=null});return{c(){e=k("ul");for(let i=0;i<a.length;i+=1)a[i].c();this.h()},l(i){e=v(i,"UL",{class:!0});var u=R(e);for(let l=0;l<a.length;l+=1)a[l].l(u);u.forEach(p),this.h()},h(){y(e,"class","max-w-prose mx-auto mt-4")},m(i,u){E(i,e,u);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(e,null);t=!0},p(i,u){var l,f;if(u&2){r=A(L(((f=(l=i[1].data)==null?void 0:l.contentNodes)==null?void 0:f.nodes)||[]));let c;for(c=0;c<r.length;c+=1){const b=V(i,r,c);
21a[c]?(a[c].p(b,u),P(a[c],1)):(a[c]=q(b),a[c].c(),P(a[c],1),a[c].m(e,null))}for(W(),c=r.length;c<a.length;c+=1)n(c);K()}},i(i){if(!t){for(let u=0;u<r.length;u+=1)P(a[u]);t=!0}},o(i){a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)I(a[u]);t=!1},d(i){i&&p(e),re(a,i)}}}function ye(s){let e,t,r;return t=new X({}),{c(){e=k("div"),O(t.$$.fragment),this.h()},l(a){e=v(a,"DIV",{class:!0});var n=R(e);U(t.$$.fragment,n),n.forEach(p),this.h()},h(){y(e,"class","mt-4")},m(a,n){E(a,e,n),z(t,e,null),r=!0},p:x,i(a){r||(P(t.$$.fragment,a),r=!0)},o(a){I(t.$$.fragment,a),r=!1},d(a){a&&p(e),H(t)}}}function q(s){let e,t;return e=new me({props:{data:s[0]}}),{c(){O(e.$$.fragment)},l(r){U(e.$$.fragment,r)},m(r,a){z(e,r,a),t=!0},p(r,a){const n={};a&2&&(n.data=r[0]),e.$set(n)},i(r){t||(P(e.$$.fragment,r),t=!0)},o(r){I(e.$$.fragment,r),t=!1},d(r){H(e,r)}}}function ke(s){let e,t,r,a,n,o,h;function i(d,g){return d[1].fetching?_e:pe}let u=i(s),l=u(s);const f=[ye,be,ge],c=[];function b(d,g){return d[1].fetching?0:!d[1].fetching&&d[2]>0?1:2}return n=b(s),o=c[n]=f[n](s),{c(){e=k("meta"),t=j(),r=k("div"),l.c(),a=j(),o.c(),this.h()},l(d){const g=Y("svelte-sswztg",document.head);e=v(g,"META",{name:!0,content:!0}),g.forEach(p),t=T(d),r=v(d,"DIV",{class:!0});var m=R(r);l.l(m),a=T(m),o.l(m),m.forEach(p),this.h()},h(){document.title="Suchergebnisse",y(e,"name","description"),y(e,"content","Hier stehen Ihre Suchergebnisse"),y(r,"class","nk-width-2xl")},m(d,g){_(document.head,e),E(d,t,g),E(d,r,g),l.m(r,null),_(r,a),c[n].m(r,null),h=!0},p(d,[g]){u===(u=i(d))&&l?l.p(d,g):(l.d(1),l=u(d),l&&(l.c(),l.m(r,a)));let m=n;n=b(d),n===m?c[n].p(d,g):(W(),I(c[m],1,1,()=>{c[m]=null}),K(),o=c[n],o?o.p(d,g):(o=c[n]=f[n](d),o.c()),P(o,1),o.m(r,null))},i(d){h||(P(o),h=!0)},o(d){I(o),h=!1},d(d){d&&(p(t),p(r)),p(e),l.d(),c[n].d()}}}function L(s){return s.forEach(e=>{const t=e.uri.split("/");t.length>3&&t[1]==="netzwerk"&&t[2]==="mitglieder"&&(e.uri=`/${t[1]}/${t[2]}`),t.length>3&&t[1]==="aktuelles"&&t[3]==="veroeffentlichungen"&&(e.uri=`/${t[1]}/${t[3]}`),t.length>3&&t[1]==="aktuelles"&&t[3]==="team"&&(e.uri="/ueber-uns/generalsekretaer-team/"),t.length>3&&t[1]==="aktuelles"&&t[3]==="vorstand"&&(e.uri="/ueber-uns/vorstand/"),t.length>2&&t[1]==="ueber-uns"&&t[2]===""&&(e.uri=`/${t[1]}/die-ebd`),t.length>2&&t[1]==="projekte"&&t[2]===""&&(e.uri=`/${t[1]}/europaeischer-wettbewerb`),t.length>2&&t[1]==="netzwerk"&&t[2]===""&&(e.uri=`/${t[1]}/mitglieder`),t.length>2&&t[1]==="aktuelles"&&t[2]===""&&(e.uri=`/${t[1]}/nachrichten`),t.length>2&&t[1]==="politik"&&t[2]===""&&(e.uri=`/${t[1]}/ebd-politik`)}),s}function ve(s,e,t){let r,a,n,o=x,h=()=>(o(),o=ee(r,l=>t(1,n=l)),r),i;Z(s,ae,l=>t(4,i=l)),s.$$.on_destroy.push(()=>o());let{data:u}=e;return s.$$set=l=>{"data"in l&&t(0,u=l.data)},s.$$.update=()=>{var l,f;s.$$.dirty&1&&h(t(3,{SearchPage:r}=u,r)),s.$$.dirty&2&&t(2,a=((f=(l=n.data)==null?void 0:l.contentNodes)==null?void 0:f.nodes.length)||0)},[u,n,a,r,i]}class xe extends M{constructor(e){super(),F(this,e,ve,ke,B,{data:0})}}export{xe as component,Ne as universal};

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.