diff --git a/assets/index.f5f16eaf.js b/assets/index.8016896f.js similarity index 90% rename from assets/index.f5f16eaf.js rename to assets/index.8016896f.js index 6da2776..fc9c7dc 100644 --- a/assets/index.f5f16eaf.js +++ b/assets/index.8016896f.js @@ -77,13 +77,13 @@ Error generating stack: `+o.message+` Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const l=Ce(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ue(r,t?`${l}${s}`:l)})});B.displayName="Container";const z_="_spinner_container_1gla4_1",B_="_html_spinner_1gla4_13",Q_="_rotate_1gla4_1",rd={spinner_container:z_,html_spinner:B_,rotate:Q_},_t=()=>u(B,{className:`${rd.spinner_container}`,children:u("div",{className:`${rd.html_spinner}`})}),Ee=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const a="https://wp-vatter.wadaky.li/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${a}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const c=await l.headers.get("X-WP-Total");for(;Math.floor(c-r*o)>0;)o++,l=await fetch(`${a}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);if(!l.ok)throw new Error(`Data of ${t} fetch not ok`);return i}else if(n!=""){if(t=="media"?l=await fetch(`${a}/${t}/${n}`):l=await fetch(`${a}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${a}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},H_="_news_title_1ntn6_1",W_="_news_date_1ntn6_15",K_="_news_content_1ntn6_27",Es={news_title:H_,news_date:W_,news_content:K_},V_=()=>{const e=tt(),t=we(["news","aktuelles",""],Ee);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>P("div",{children:[u("div",{className:`${Es.news_title}`,children:n.title.rendered}),u("div",{className:`${Es.news_date}`,children:n.date.slice(0,10)}),u("div",{className:`${Es.news_content}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},Y=g.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=Ce(e,"row"),l=lm(),s=sm(),a=`${o}-cols`,c=[];return l.forEach(f=>{const p=r[f];delete r[f];let d;p!=null&&typeof p=="object"?{cols:d}=p:d=p;const y=f!==s?`-${f}`:"";d!=null&&c.push(`${a}${y}-${d}`)}),u(n,{ref:i,...r,className:ue(t,o,...c)})});Y.displayName="Row";function G_({as:e,bsPrefix:t,className:n,...r}){t=Ce(t,"col");const i=lm(),o=sm(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let f,p,d;typeof c=="object"&&c!=null?{span:f,offset:p,order:d}=c:f=c;const y=a!==o?`-${a}`:"";f&&l.push(f===!0?`${t}${y}`:`${t}${y}-${f}`),d!=null&&s.push(`order${y}-${d}`),p!=null&&s.push(`offset${y}-${p}`)}),[{...r,className:ue(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const K=g.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=G_(e);return u(i,{...r,ref:t,className:ue(n,!l.length&&o)})});K.displayName="Col";function Dl(e,t){let n=t;const r=tt(),i=we(["pic","media",e],Ee);if(i.isLoading)return u(_t,{});i.isError&&r("/NotMatch404");let o=i.data.source_url;return o&&(n=o),n}const Y_="_pic_container_3mpjs_1",X_="_service_pic_3mpjs_9",q_="_service_pic_caption_3mpjs_53",Ss={pic_container:Y_,service_pic:X_,service_pic_caption:q_},J_=({imgid:e,picName:t})=>{const n=Dl(e,"imgs/category/forschung.png");return u("div",{className:`${Ss.pic_container}`,children:P("div",{className:`${Ss.service_pic}`,children:[u("img",{src:n,alt:t,width:"100%"}),u("div",{className:`${Ss.service_pic_caption}`,children:u("div",{children:t})})]})})},Z_="_home_service_content_147wj_1",e1="_home_service_box_147wj_9",t1="_home_service_row_147wj_21",Cs={home_service_content:Z_,home_service_box:e1,home_service_row:t1},n1=({props:e})=>u(B,{className:`${Cs.home_service_content}`,children:u(Y,{className:`${Cs.home_service_row}`,children:e.data.map(t=>u(K,{xl:4,lg:4,md:6,className:`${Cs.home_service_box}`,children:u(Ue,{to:"/Dienstleistungen",state:t.title.rendered,children:u(J_,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),Gu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",r1="_intro_16416_1",i1="_current_projects_16416_17",id={intro:r1,current_projects:i1},o1=()=>{const e=tt(),t=we(["services","dienstleistungen",""],Ee),n=we(["landingIntro","pages/28911",""],Ee);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),P("div",{children:[u(B,{className:`${id.intro}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:u(n1,{props:t})}),u(B,{className:"categoryTitle",children:"AKTUELLES"}),u(B,{children:u(V_,{})}),u(B,{children:u(Ue,{to:"/Projekte/laufend",className:`${id.current_projects}`,children:P("span",{children:["Laufende Projekte",u("img",{src:Gu,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var Ct={exports:{}},l1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",s1=l1,a1=s1;function am(){}function um(){}um.resetWarningCache=am;var u1=function(){function e(r,i,o,l,s,a){if(a!==a1){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:um,resetWarningCache:am};return n.PropTypes=n,n};Ct.exports=u1();function c1(e,t,n){const r=g.exports.useRef(e!==void 0),[i,o]=g.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,g.exports.useCallback((...a)=>{const[c,...f]=a;let p=n==null?void 0:n(c,...f);return o(c),p},[n])]}const fl={prefix:String(Math.round(Math.random()*1e10)),current:0},cm=Me.createContext(fl),f1=Me.createContext(!1);let d1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),As=new WeakMap;function p1(e=!1){let t=g.exports.useContext(cm),n=g.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(o){let l=As.get(o);l==null?As.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,As.delete(o))}n.current=++t.current}return n.current}function h1(e){let t=g.exports.useContext(cm);t===fl&&!d1&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=p1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function m1(e){let t=Me.useId(),[n]=g.exports.useState(x1()),r=n?"react-aria":`react-aria${fl.prefix}`;return e||`${r}-${t}`}const v1=typeof Me.useId=="function"?m1:h1;function g1(){return!1}function y1(){return!0}function _1(e){return()=>{}}function x1(){return typeof Me.useSyncExternalStore=="function"?Me.useSyncExternalStore(_1,g1,y1):g.exports.useContext(f1)}const Ur=g.exports.createContext(null),Gn=g.exports.createContext(null),Fi=(e,t=null)=>e!=null?String(e):t||null;function w1(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e},[e]),t}function pt(e){const t=w1(e);return g.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const od=e=>!e||typeof e=="function"?e:t=>{e.current=t};function E1(e,t){const n=od(e),r=od(t);return i=>{n&&n(i),r&&r(i)}}function Il(e,t){return g.exports.useMemo(()=>E1(e,t),[e,t])}function Yu({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=g.exports.useRef(null),l=g.exports.useRef(t),s=pt(n);g.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=Il(o,e.ref),c=g.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const S1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],C1=["activeKey","getControlledId","getControllerId"],A1=["as"];function ba(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function fm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}=e,y=ba(e,S1);const x=g.exports.useContext(Ur);if(!x)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}];const{activeKey:w,getControlledId:A,getControllerId:v}=x,m=ba(x,C1),h=Fi(n);return[Object.assign({},y,{role:l,id:A(n),"aria-labelledby":v(n)}),{eventKey:n,isActive:t==null&&h!=null?Fi(w)===h:t,transition:i||m.transition,mountOnEnter:r!=null?r:m.mountOnEnter,unmountOnExit:o!=null?o:m.unmountOnExit,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}]}const dm=g.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=ba(e,A1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:f,onExited:p,mountOnEnter:d,unmountOnExit:y,transition:x=Yu}]=fm(r);return u(Ur.Provider,{value:null,children:u(Gn.Provider,{value:null,children:u(x,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:f,onExited:p,mountOnEnter:d,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});dm.displayName="TabPanel";const pm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[f,p]=c1(i,o,r),d=v1(t),y=g.exports.useMemo(()=>n||((w,A)=>d?`${d}-${A}-${w}`:null),[d,n]),x=g.exports.useMemo(()=>({onSelect:p,activeKey:f,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[p,f,l,s,a,y]);return u(Ur.Provider,{value:x,children:u(Gn.Provider,{value:p||null,children:c})})};pm.Panel=dm;function hm(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ua(e,t){return Ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ua(e,t)}function k1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ua(e,t)}const ld={disabled:!1},mm=Me.createContext(null);var N1=function(t){return t.scrollTop},ai="unmounted",sn="exited",kt="entering",Wt="entered",ji="exiting",tn=function(e){k1(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=i,s=l&&!l.isMounting?r.enter:r.appear,a;return o.appearStatus=null,r.in?s?(a=sn,o.appearStatus=kt):a=Wt:r.unmountOnExit||r.mountOnEnter?a=ai:a=sn,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ai?{status:sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==kt&&l!==Wt&&(o=kt):(l===kt||l===Wt)&&(o=ji)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,l,s;return o=l=s=i,i!=null&&typeof i!="number"&&(o=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:o,enter:l,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===kt){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this);l&&N1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sn&&this.setState({status:ai})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,a=this.props.nodeRef?[s]:[wr.findDOMNode(this),s],c=a[0],f=a[1],p=this.getTimeouts(),d=s?p.appear:p.enter;if(!i&&!l||ld.disabled){this.safeSetState({status:Wt},function(){o.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:kt},function(){o.props.onEntering(c,f),o.onTransitionEnd(d,function(){o.safeSetState({status:Wt},function(){o.props.onEntered(c,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:wr.findDOMNode(this);if(!o||ld.disabled){this.safeSetState({status:sn},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ji},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:sn},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=a[0],f=a[1];this.props.addEndListener(c,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ai)return null;var o=this.props,l=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=hm(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(mm.Provider,{value:null,children:typeof l=="function"?l(i,s):Me.cloneElement(Me.Children.only(l),s)})},t}(Me.Component);tn.contextType=mm;tn.propTypes={};function sr(){}tn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sr,onEntering:sr,onEntered:sr,onExit:sr,onExiting:sr,onExited:sr};tn.UNMOUNTED=ai;tn.EXITED=sn;tn.ENTERING=kt;tn.ENTERED=Wt;tn.EXITING=ji;function Xu(e){return e&&e.ownerDocument||document}function T1(e){var t=Xu(e);return t&&t.defaultView||window}function R1(e,t){return T1(e).getComputedStyle(e,t)}var O1=/([A-Z])/g;function P1(e){return e.replace(O1,"-$1").toLowerCase()}var L1=/^ms-/;function vo(e){return P1(e).replace(L1,"-ms-")}var D1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function I1(e){return!!(e&&D1.test(e))}function Yt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(vo(t))||R1(e).getPropertyValue(vo(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(vo(i)):I1(i)?r+=i+"("+o+") ":n+=vo(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const Ml=!!(typeof window<"u"&&window.document&&window.document.createElement);var za=!1,Ba=!1;try{var ks={get passive(){return za=!0},get once(){return Ba=za=!0}};Ml&&(window.addEventListener("test",ks,ks),window.removeEventListener("test",ks,!0))}catch{}function M1(e,t,n,r){if(r&&typeof r!="boolean"&&!Ba){var i=r.once,o=r.capture,l=n;!Ba&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,za?r:o)}e.addEventListener(t,n,r)}function $1(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function dl(e,t,n,r){return M1(e,t,n,r),function(){$1(e,t,n,r)}}function F1(e,t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function j1(e){var t=Yt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function b1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||F1(e,"transitionend",!0)},t+n),o=dl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function U1(e,t,n,r){n==null&&(n=j1(e)||0);var i=b1(e,n,r),o=dl(e,"transitionend",t);return function(){i(),o()}}function sd(e,t){const n=Yt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function qu(e,t){const n=sd(e,"transitionDuration"),r=sd(e,"transitionDelay"),i=U1(e,o=>{o.target===e&&(i(),t(o))},n+r)}function vm(e){e.offsetHeight}function z1(e){return e&&"setState"in e?wr.findDOMNode(e):e!=null?e:null}const B1=Me.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},f)=>{const p=g.exports.useRef(null),d=Il(p,a),y=S=>{d(z1(S))},x=S=>N=>{S&&p.current&&S(p.current,N)},w=g.exports.useCallback(x(e),[e]),A=g.exports.useCallback(x(t),[t]),v=g.exports.useCallback(x(n),[n]),m=g.exports.useCallback(x(r),[r]),h=g.exports.useCallback(x(i),[i]),E=g.exports.useCallback(x(o),[o]),C=g.exports.useCallback(x(l),[l]);return u(tn,{ref:f,...c,onEnter:w,onEntered:v,onEntering:A,onExit:m,onExited:E,onExiting:h,addEndListener:C,nodeRef:p,children:typeof s=="function"?(S,N)=>s(S,{...N,ref:y}):Me.cloneElement(s,{ref:y})})}),Ju=B1,Q1={[kt]:"show",[Wt]:"show"},gm=g.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=g.exports.useCallback((a,c)=>{vm(a),r==null||r(a,c)},[r]);return u(Ju,{ref:o,addEndListener:qu,...l,onEnter:s,childRef:t.ref,children:(a,c)=>g.exports.cloneElement(t,{...c,className:ue("fade",e,t.props.className,Q1[a],n[a])})})});gm.displayName="Fade";const Zu=gm;function ym(e){return typeof e=="boolean"?e?Zu:Yu:e}const _m=({transition:e,...t})=>u(pm,{...t,transition:ym(e)});_m.displayName="TabContainer";const xm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"tab-content"),u(n,{ref:i,className:ue(e,t),...r})));xm.displayName="TabContent";const wm=g.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:f,onExit:p,onExiting:d,onExited:y,mountOnEnter:x,unmountOnExit:w,transition:A=Zu}]=fm({...n,transition:ym(t)}),v=Ce(e,"tab-pane");return u(Ur.Provider,{value:null,children:u(Gn.Provider,{value:null,children:u(A,{in:s,onEnter:a,onEntering:c,onEntered:f,onExit:p,onExiting:d,onExited:y,mountOnEnter:x,unmountOnExit:w,children:u(o,{...l,ref:r,className:ue(i,v,s&&"active")})})})})});wm.displayName="TabPane";const H1={eventKey:Ct.exports.oneOfType([Ct.exports.string,Ct.exports.number]),title:Ct.exports.node.isRequired,disabled:Ct.exports.bool,tabClassName:Ct.exports.string,tabAttrs:Ct.exports.object},Em=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Em.propTypes=H1;const ti=Object.assign(Em,{Container:_m,Content:xm,Pane:wm});var ad={exports:{}},Qa={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,f,p){var d=c||"<>",y=p||a;if(s[a]==null)return l?new Error("Required "+f+" `"+y+"` was not specified "+("in `"+d+"`.")):null;for(var x=arguments.length,w=Array(x>6?x-6:0),A=6;A1?f-1:0),d=1;d!t,!1);return e}const ec=g.exports.createContext(null);ec.displayName="NavContext";const X1="data-rr-ui-",q1="rrUi";function $l(e){return`${X1}${e}`}function J1(e){return`${q1}${e}`}const Z1=["as","disabled"];function ex(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function tx(e){return!e||e.trim()==="#"}function Cm({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:l,tabIndex:s=0,type:a}){e||(n!=null||r!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:a||"button",disabled:t},c];const f=d=>{if((t||e==="a"&&tx(n))&&d.preventDefault(),t){d.stopPropagation();return}l==null||l(d)},p=d=>{d.key===" "&&(d.preventDefault(),f(d))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:o!=null?o:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:f,onKeyDown:p},c]}const Am=g.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=ex(e,Z1);const[o,{tagName:l}]=Cm(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});Am.displayName="Button";const nx=["as","active","eventKey"];function rx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function km({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=g.exports.useContext(Gn),s=g.exports.useContext(ec),a=g.exports.useContext(Ur);let c=n;const f={role:i};if(s){!i&&s.role==="tablist"&&(f.role="tab");const p=s.getControllerId(e!=null?e:null),d=s.getControlledId(e!=null?e:null);f[$l("event-key")]=e,f.id=p||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(f["aria-controls"]=d)}return f.role==="tab"&&(f["aria-selected"]=c,c||(f.tabIndex=-1),o&&(f.tabIndex=-1,f["aria-disabled"]=!0)),f.onClick=pt(p=>{o||(t==null||t(p),e!=null&&l&&!p.isPropagationStopped()&&l(e,p))}),[f,{isActive:c}]}const Nm=g.exports.forwardRef((e,t)=>{let{as:n=Am,active:r,eventKey:i}=e,o=rx(e,nx);const[l,s]=km(Object.assign({key:Fi(i,o.href),active:r},o));return l[$l("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});Nm.displayName="NavItem";const ix=["as","onSelect","activeKey","role","onKeyDown"];function ox(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}const cd=()=>{},fd=$l("event-key"),Tm=g.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=ox(e,ix);const a=Y1(),c=g.exports.useRef(!1),f=g.exports.useContext(Gn),p=g.exports.useContext(Ur);let d,y;p&&(o=o||"tablist",i=p.activeKey,d=p.getControlledId,y=p.getControllerId);const x=g.exports.useRef(null),w=h=>{const E=x.current;if(!E)return null;const C=Mn(E,`[${fd}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const N=C.indexOf(S);if(N===-1)return null;let k=N+h;return k>=C.length&&(k=0),k<0&&(k=C.length-1),C[k]},A=(h,E)=>{h!=null&&(r==null||r(h,E),f==null||f(h,E))},v=h=>{if(l==null||l(h),!p)return;let E;switch(h.key){case"ArrowLeft":case"ArrowUp":E=w(-1);break;case"ArrowRight":case"ArrowDown":E=w(1);break;default:return}!E||(h.preventDefault(),A(E.dataset[J1("EventKey")]||null,h),c.current=!0,a())};g.exports.useEffect(()=>{if(x.current&&c.current){const h=x.current.querySelector(`[${fd}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=Il(t,x);return u(Gn.Provider,{value:A,children:u(ec.Provider,{value:{role:o,activeKey:Fi(i),getControlledId:d||cd,getControllerId:y||cd},children:u(n,Object.assign({},s,{onKeyDown:v,ref:m,role:o}))})})});Tm.displayName="Nav";const lx=Object.assign(Tm,{Item:Nm}),Jn=g.exports.createContext(null);Jn.displayName="NavbarContext";const Rm=g.exports.createContext(null);Rm.displayName="CardHeaderContext";const Om=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"nav-item"),u(n,{ref:i,className:ue(e,t),...r})));Om.displayName="NavItem";function sx(){const e=g.exports.useRef(!0),t=g.exports.useRef(()=>e.current);return g.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function ax(e){const t=g.exports.useRef(null);return g.exports.useEffect(()=>{t.current=e}),t.current}const ux=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",cx=typeof document<"u",Wa=cx||ux?g.exports.useLayoutEffect:g.exports.useEffect,fx=["onKeyDown"];function dx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function px(e){return!e||e.trim()==="#"}const Pm=g.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=dx(e,fx);const[i]=Cm(Object.assign({tagName:"a"},r)),o=pt(l=>{i.onKeyDown(l),n==null||n(l)});return px(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});Pm.displayName="Anchor";const Lm=g.exports.forwardRef(({bsPrefix:e,className:t,as:n=Pm,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=Ce(e,"nav-link");const[a,c]=km({key:Fi(i,l.href),active:r,disabled:o,...l});return u(n,{...l,...a,ref:s,disabled:o,className:ue(t,e,o&&"disabled",c.isActive&&"active")})});Lm.displayName="NavLink";const Dm=g.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:a,className:c,activeKey:f,...p}=Sm(e,{activeKey:"onSelect"}),d=Ce(r,"nav");let y,x,w=!1;const A=g.exports.useContext(Jn),v=g.exports.useContext(Rm);return A?(y=A.bsPrefix,w=s==null?!0:s):v&&({cardHeaderBsPrefix:x}=v),u(lx,{as:n,ref:t,activeKey:f,className:ue(c,{[d]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&a,[`${x}-${i}`]:!!x,[`${d}-${i}`]:!!i,[`${d}-fill`]:o,[`${d}-justified`]:l}),...p})});Dm.displayName="Nav";const Mt=Object.assign(Dm,{Item:Om,Link:Lm});function hx(e,t){return e.filter(r=>r.name==t)}function dd(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function pd(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function Im(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function mx(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=dd(e.data,o),c=pd(t.data,i),s=s.filter(f=>f.topic.includes(a)==!0&&f.service.includes(c)==!0)):o?(a=dd(e.data,o),s=s.filter(f=>f.topic.includes(a)==!0)):i&&(c=pd(t.data,i),s=s.filter(f=>f.service.includes(c)==!0))}return s}function vx(e,t){let n=e,r=Im(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function tc(e){const t=/[^a-z0-9éèäöüß]+/g;return e=e.toLowerCase(),e=e.replace(t,"-"),e=e.replace(/éè/g,"e"),e=e.replace(/ä/g,"ae"),e=e.replace(/ö/g,"oe"),e=e.replace(/ü/g,"ue"),e=e.replace(/ß/g,"ss"),e}const gx="_project_list_1v9he_1",yx="_text_break_1v9he_11",_x="_project_row_1v9he_19",xx="_list_title_1v9he_27",wx="_selected_projects_list_1v9he_35",Ex="_selected_projects_list_link_1v9he_43",ni={project_list:gx,text_break:yx,project_row:_x,list_title:xx,selected_projects_list:wx,selected_projects_list_link:Ex},Mm=e=>{const t=tc(e.detail.title.rendered);return u("div",{children:u(B,{className:`${ni.project_list}`,children:u(Y,{className:`${ni.project_row}`,children:u(Ue,{className:`${ni.selected_projects_list_link}`,state:e.detail,to:`/Projekt/${t}`,children:P("div",{className:`d-flex justify-content-between ${ni.selected_projects_list}`,children:[u("ul",{children:P("li",{className:`${ni.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Gu,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},Sx=({service:e,isshownid:t})=>{const n=tt(),r=we(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],Ee);return r.isLoading?u(_t,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(Mm,{detail:i},i.id))}))},Cx="_service_content_einsn_11",Ax="_service_btn_einsn_1",kx="_service_projects_list_title_einsn_47",Nx="_service_part2_einsn_73",Tx="_service_paragraph_spacing_einsn_83",ui={service_content:Cx,service_btn:Ax,service_projects_list_title:kx,service_part2:Nx,service_paragraph_spacing:Tx},Rx=({serviceinfo:e})=>u("div",{children:u("div",{className:`${ui.service_content}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(e)}})}),hd=()=>{const t=bt().state;console.log(t);const n=tt(),[r,i]=g.exports.useState("btn_active"),o=we(["services","dienstleistungen",""],Ee),l=we(["showonservicepage","isshownonserviceinfopage",""],Ee);if(o.isLoading||l.isLoading)return u(_t,{});(o.isError||l.isError)&&n("/NotMatch404");let s=hx(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t;return P("div",{children:[u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:P(ti.Container,{defaultActiveKey:a||o.data[0].title.rendered,children:[P(Y,{children:[u(K,{xl:4,children:u(Mt,{variant:"pills",className:"flex-column",children:o.data.map(c=>u(Mt.Item,{children:u(Mt.Link,{eventKey:c.title.rendered,className:r,children:c.title.rendered})},c.id))})}),u(K,{xl:8,children:u(ti.Content,{children:o.data.map(c=>u(ti.Pane,{eventKey:c.title.rendered,children:u("div",{children:u(Rx,{serviceinfo:c.content.rendered})})},c.id))})})]}),P(Y,{className:`${ui.service_paragraph_spacing}`,children:[u(K,{xl:4,children:u("div",{className:`${ui.service_projects_list_title} ${ui.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),u(K,{xl:8,children:u(ti.Content,{children:o.data.map(c=>u(ti.Pane,{eventKey:c.title.rendered,children:u("div",{className:`${ui.service_paragraph_spacing}`,children:u(Sx,{service:c.acf.service_taxonomy,isshownid:s[0].id})})},c.id))})})]})]})})]})},$m="/bv2024_frontend/assets/unknown.1cd7ed72.png",Ox="_staff_pic_container_s7jbx_1",Px="_pic_s7jbx_23",Lx="_staff_pic_s7jbx_1",Dx="_staff_pic_caption_1_s7jbx_53",Ix="_staff_pic_text_1_s7jbx_89",Mx="_staff_pic_caption_2_s7jbx_105",$x="_staff_pic_text_2_s7jbx_149",Pn={staff_pic_container:Ox,pic:Px,staff_pic:Lx,staff_pic_caption_1:Dx,staff_pic_text_1:Ix,staff_pic_caption_2:Mx,staff_pic_text_2:$x},Fx=({imgid:e,staffName:t,position:n})=>{const r=Dl(e,$m);return u("div",{className:`${Pn.staff_pic_container}`,children:P("div",{className:`${Pn.staff_pic}`,children:[u("img",{className:`${Pn.pic}`,src:r,alt:t}),u("div",{className:`${Pn.staff_pic_caption_1}`,children:u("div",{className:`${Pn.staff_pic_text_1}`,children:t})}),u("div",{className:`${Pn.staff_pic_caption_2}`,children:u("div",{className:`${Pn.staff_pic_text_2}`,children:n})})]})})},jx="_about_sbgsf_7",bx="_staffs_content_sbgsf_25",Ux="_staff_box_sbgsf_33",zx="_staff_row_sbgsf_45",Bx="_staff_left_box_sbgsf_57",Qx="_staff_name_sbgsf_73",Hx="_staff_detail_pic_sbgsf_93",Wx="_staff_info_sbgsf_105",Kx="_staff_info_position_higher_sbgsf_129",Vx="_info_line_sbgsf_149",Gx="_staff_info_position_lower_sbgsf_159",Yx="_staff_detail_left_bottom_element_sbgsf_175",Xx="_info_link_sbgsf_185",qx="_back_btn_sbgsf_193",Jx="_staff_detail_title_sbgsf_227",Zx="_section_box_sbgsf_237",ew="_pub_list_sbgsf_299",tw="_publication_list_sbgsf_307",nw="_publication_list_link_sbgsf_315",G={about:jx,staffs_content:bx,staff_box:Ux,staff_row:zx,staff_left_box:Bx,staff_name:Qx,staff_detail_pic:Hx,staff_info:Wx,staff_info_position_higher:Kx,info_line:Vx,staff_info_position_lower:Gx,staff_detail_left_bottom_element:Yx,info_link:Xx,back_btn:qx,staff_detail_title:Jx,section_box:Zx,pub_list:ew,publication_list:tw,publication_list_link:nw},rw=()=>{const e=tt(),t=we(["staffs","mitarbeitende",""],Ee),n=we(["landingIntro","pages/28919",""],Ee);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"\xDCBER UNS"}),u(B,{className:`${G.about}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{children:u(Y,{className:`${G.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":u(K,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:u(Ue,{to:`/Mitarbeitende/${tc(r.title.rendered)}`,state:r,children:u(Fx,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u("br",{}),u("br",{})]}))},iw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",ow=({staff:e,img:t})=>{const n=e.acf.otherInfo.split(`\r -`);return P("div",{children:[P("div",{className:`${G.staff_left_box}`,children:[u("img",{className:`${G.staff_detail_pic}`,src:t,alt:"staff"}),P("div",{children:[u("div",{className:`${G.staff_name}`,children:e.title.rendered}),u("div",{className:`${G.staff_info}`,children:e.acf.position}),u("ul",{className:`${G.staff_info_position_higher}`,children:n.map((r,i)=>u("ul",{className:`${G.info_line}`,children:r},i))}),P("div",{className:`${G.staff_detail_left_bottom_element}`,children:[u("div",{className:`text_color ${G.staff_info_position_lower} ${G.info_link}`,children:e.acf.email}),u("div",{className:`text_color ${G.staff_info_position_lower}`,children:e.acf.telephone}),e.acf.linkedin!=""?u("div",{className:`text_color ${G.staff_info_position_lower}`,children:u("a",{href:e.acf.linkedin,className:`${G.info_link}`,children:u("img",{src:iw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{className:`text_color ${G.back_btn}`,children:u(Ue,{to:"/Mitarbeitende",children:"ZUR\xDCCK"})})]}),u("br",{})]})},lw=({person:e})=>{const t=tt(),n=we(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],Ee);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(Mm,{detail:r},r.id))}))},Fm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",sw=({prop:e})=>u("div",{children:u(B,{className:`${G.pub_list}`,children:u("ul",{className:`${G.publication_list}`,children:P("li",{children:[u(Y,{children:u("a",{className:`${G.publication_list_link}`,href:e.acf.url,children:P("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Vn.sanitize(e.title.rendered)}}),u("img",{src:Fm,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(Y,{children:u("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Vn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}),aw=({publications:e})=>u("div",{children:e.map(t=>u(sw,{prop:t},t.id))}),uw=({staff:e})=>{const t=tt(),n=e.acf.hauptthemen.split(`\r +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const l=Ce(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ue(r,t?`${l}${s}`:l)})});B.displayName="Container";const z_="_spinner_container_1gla4_1",B_="_html_spinner_1gla4_13",Q_="_rotate_1gla4_1",rd={spinner_container:z_,html_spinner:B_,rotate:Q_},_t=()=>u(B,{className:`${rd.spinner_container}`,children:u("div",{className:`${rd.html_spinner}`})}),Ee=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const a="https://wp-vatter.wadaky.li/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${a}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const c=await l.headers.get("X-WP-Total");for(;Math.floor(c-r*o)>0;)o++,l=await fetch(`${a}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);if(!l.ok)throw new Error(`Data of ${t} fetch not ok`);return i}else if(n!=""){if(t=="media"?l=await fetch(`${a}/${t}/${n}`):l=await fetch(`${a}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${a}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},H_="_news_title_1ntn6_1",W_="_news_date_1ntn6_15",K_="_news_content_1ntn6_27",Es={news_title:H_,news_date:W_,news_content:K_},V_=()=>{const e=tt(),t=we(["news","aktuelles",""],Ee);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>P("div",{children:[u("div",{className:`${Es.news_title}`,children:n.title.rendered}),u("div",{className:`${Es.news_date}`,children:n.date.slice(0,10)}),u("div",{className:`${Es.news_content}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},Y=g.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=Ce(e,"row"),l=lm(),s=sm(),a=`${o}-cols`,c=[];return l.forEach(f=>{const p=r[f];delete r[f];let d;p!=null&&typeof p=="object"?{cols:d}=p:d=p;const y=f!==s?`-${f}`:"";d!=null&&c.push(`${a}${y}-${d}`)}),u(n,{ref:i,...r,className:ue(t,o,...c)})});Y.displayName="Row";function G_({as:e,bsPrefix:t,className:n,...r}){t=Ce(t,"col");const i=lm(),o=sm(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let f,p,d;typeof c=="object"&&c!=null?{span:f,offset:p,order:d}=c:f=c;const y=a!==o?`-${a}`:"";f&&l.push(f===!0?`${t}${y}`:`${t}${y}-${f}`),d!=null&&s.push(`order${y}-${d}`),p!=null&&s.push(`offset${y}-${p}`)}),[{...r,className:ue(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const K=g.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=G_(e);return u(i,{...r,ref:t,className:ue(n,!l.length&&o)})});K.displayName="Col";function Dl(e,t){let n=t;const r=tt(),i=we(["pic","media",e],Ee);if(i.isLoading)return u(_t,{});i.isError&&r("/NotMatch404");let o=i.data.source_url;return o&&(n=o),n}const Y_="_pic_container_3mpjs_1",X_="_service_pic_3mpjs_9",q_="_service_pic_caption_3mpjs_53",Ss={pic_container:Y_,service_pic:X_,service_pic_caption:q_},J_=({imgid:e,picName:t})=>{const n=Dl(e,"imgs/category/forschung.png");return u("div",{className:`${Ss.pic_container}`,children:P("div",{className:`${Ss.service_pic}`,children:[u("img",{src:n,alt:t,width:"100%"}),u("div",{className:`${Ss.service_pic_caption}`,children:u("div",{children:t})})]})})},Z_="_home_service_content_147wj_1",e1="_home_service_box_147wj_9",t1="_home_service_row_147wj_21",Cs={home_service_content:Z_,home_service_box:e1,home_service_row:t1},n1=({props:e})=>u(B,{className:`${Cs.home_service_content}`,children:u(Y,{className:`${Cs.home_service_row}`,children:e.data.map(t=>u(K,{xl:4,lg:4,md:6,className:`${Cs.home_service_box}`,children:u(Ue,{to:"/Dienstleistungen",state:t.title.rendered,children:u(J_,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),Gu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",r1="_intro_16416_1",i1="_current_projects_16416_17",id={intro:r1,current_projects:i1},o1=()=>{const e=tt(),t=we(["services","dienstleistungen",""],Ee),n=we(["landingIntro","pages/28911",""],Ee);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),P("div",{children:[u(B,{className:`${id.intro}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:u(n1,{props:t})}),u(B,{className:"categoryTitle",children:"AKTUELLES"}),u(B,{children:u(V_,{})}),u(B,{children:u(Ue,{to:"/Projekte/laufend",className:`${id.current_projects}`,children:P("span",{children:["Laufende Projekte",u("img",{src:Gu,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var Ct={exports:{}},l1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",s1=l1,a1=s1;function am(){}function um(){}um.resetWarningCache=am;var u1=function(){function e(r,i,o,l,s,a){if(a!==a1){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:um,resetWarningCache:am};return n.PropTypes=n,n};Ct.exports=u1();function c1(e,t,n){const r=g.exports.useRef(e!==void 0),[i,o]=g.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,g.exports.useCallback((...a)=>{const[c,...f]=a;let p=n==null?void 0:n(c,...f);return o(c),p},[n])]}const fl={prefix:String(Math.round(Math.random()*1e10)),current:0},cm=Me.createContext(fl),f1=Me.createContext(!1);let d1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),As=new WeakMap;function p1(e=!1){let t=g.exports.useContext(cm),n=g.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(o){let l=As.get(o);l==null?As.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,As.delete(o))}n.current=++t.current}return n.current}function h1(e){let t=g.exports.useContext(cm);t===fl&&!d1&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=p1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function m1(e){let t=Me.useId(),[n]=g.exports.useState(x1()),r=n?"react-aria":`react-aria${fl.prefix}`;return e||`${r}-${t}`}const v1=typeof Me.useId=="function"?m1:h1;function g1(){return!1}function y1(){return!0}function _1(e){return()=>{}}function x1(){return typeof Me.useSyncExternalStore=="function"?Me.useSyncExternalStore(_1,g1,y1):g.exports.useContext(f1)}const Ur=g.exports.createContext(null),Gn=g.exports.createContext(null),Fi=(e,t=null)=>e!=null?String(e):t||null;function w1(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e},[e]),t}function pt(e){const t=w1(e);return g.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const od=e=>!e||typeof e=="function"?e:t=>{e.current=t};function E1(e,t){const n=od(e),r=od(t);return i=>{n&&n(i),r&&r(i)}}function Il(e,t){return g.exports.useMemo(()=>E1(e,t),[e,t])}function Yu({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=g.exports.useRef(null),l=g.exports.useRef(t),s=pt(n);g.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=Il(o,e.ref),c=g.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const S1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],C1=["activeKey","getControlledId","getControllerId"],A1=["as"];function ba(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function fm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}=e,y=ba(e,S1);const x=g.exports.useContext(Ur);if(!x)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}];const{activeKey:w,getControlledId:A,getControllerId:v}=x,m=ba(x,C1),h=Fi(n);return[Object.assign({},y,{role:l,id:A(n),"aria-labelledby":v(n)}),{eventKey:n,isActive:t==null&&h!=null?Fi(w)===h:t,transition:i||m.transition,mountOnEnter:r!=null?r:m.mountOnEnter,unmountOnExit:o!=null?o:m.unmountOnExit,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:p,onExited:d}]}const dm=g.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=ba(e,A1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:f,onExited:p,mountOnEnter:d,unmountOnExit:y,transition:x=Yu}]=fm(r);return u(Ur.Provider,{value:null,children:u(Gn.Provider,{value:null,children:u(x,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:f,onExited:p,mountOnEnter:d,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});dm.displayName="TabPanel";const pm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[f,p]=c1(i,o,r),d=v1(t),y=g.exports.useMemo(()=>n||((w,A)=>d?`${d}-${A}-${w}`:null),[d,n]),x=g.exports.useMemo(()=>({onSelect:p,activeKey:f,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[p,f,l,s,a,y]);return u(Ur.Provider,{value:x,children:u(Gn.Provider,{value:p||null,children:c})})};pm.Panel=dm;function hm(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ua(e,t){return Ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ua(e,t)}function k1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ua(e,t)}const ld={disabled:!1},mm=Me.createContext(null);var N1=function(t){return t.scrollTop},ai="unmounted",sn="exited",kt="entering",Wt="entered",ji="exiting",tn=function(e){k1(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=i,s=l&&!l.isMounting?r.enter:r.appear,a;return o.appearStatus=null,r.in?s?(a=sn,o.appearStatus=kt):a=Wt:r.unmountOnExit||r.mountOnEnter?a=ai:a=sn,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ai?{status:sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==kt&&l!==Wt&&(o=kt):(l===kt||l===Wt)&&(o=ji)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,l,s;return o=l=s=i,i!=null&&typeof i!="number"&&(o=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:o,enter:l,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===kt){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this);l&&N1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sn&&this.setState({status:ai})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,a=this.props.nodeRef?[s]:[wr.findDOMNode(this),s],c=a[0],f=a[1],p=this.getTimeouts(),d=s?p.appear:p.enter;if(!i&&!l||ld.disabled){this.safeSetState({status:Wt},function(){o.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:kt},function(){o.props.onEntering(c,f),o.onTransitionEnd(d,function(){o.safeSetState({status:Wt},function(){o.props.onEntered(c,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:wr.findDOMNode(this);if(!o||ld.disabled){this.safeSetState({status:sn},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ji},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:sn},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=a[0],f=a[1];this.props.addEndListener(c,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ai)return null;var o=this.props,l=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=hm(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(mm.Provider,{value:null,children:typeof l=="function"?l(i,s):Me.cloneElement(Me.Children.only(l),s)})},t}(Me.Component);tn.contextType=mm;tn.propTypes={};function sr(){}tn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sr,onEntering:sr,onEntered:sr,onExit:sr,onExiting:sr,onExited:sr};tn.UNMOUNTED=ai;tn.EXITED=sn;tn.ENTERING=kt;tn.ENTERED=Wt;tn.EXITING=ji;function Xu(e){return e&&e.ownerDocument||document}function T1(e){var t=Xu(e);return t&&t.defaultView||window}function R1(e,t){return T1(e).getComputedStyle(e,t)}var O1=/([A-Z])/g;function P1(e){return e.replace(O1,"-$1").toLowerCase()}var L1=/^ms-/;function vo(e){return P1(e).replace(L1,"-ms-")}var D1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function I1(e){return!!(e&&D1.test(e))}function Yt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(vo(t))||R1(e).getPropertyValue(vo(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(vo(i)):I1(i)?r+=i+"("+o+") ":n+=vo(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const Ml=!!(typeof window<"u"&&window.document&&window.document.createElement);var za=!1,Ba=!1;try{var ks={get passive(){return za=!0},get once(){return Ba=za=!0}};Ml&&(window.addEventListener("test",ks,ks),window.removeEventListener("test",ks,!0))}catch{}function M1(e,t,n,r){if(r&&typeof r!="boolean"&&!Ba){var i=r.once,o=r.capture,l=n;!Ba&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,za?r:o)}e.addEventListener(t,n,r)}function $1(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function dl(e,t,n,r){return M1(e,t,n,r),function(){$1(e,t,n,r)}}function F1(e,t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function j1(e){var t=Yt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function b1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||F1(e,"transitionend",!0)},t+n),o=dl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function U1(e,t,n,r){n==null&&(n=j1(e)||0);var i=b1(e,n,r),o=dl(e,"transitionend",t);return function(){i(),o()}}function sd(e,t){const n=Yt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function qu(e,t){const n=sd(e,"transitionDuration"),r=sd(e,"transitionDelay"),i=U1(e,o=>{o.target===e&&(i(),t(o))},n+r)}function vm(e){e.offsetHeight}function z1(e){return e&&"setState"in e?wr.findDOMNode(e):e!=null?e:null}const B1=Me.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},f)=>{const p=g.exports.useRef(null),d=Il(p,a),y=S=>{d(z1(S))},x=S=>N=>{S&&p.current&&S(p.current,N)},w=g.exports.useCallback(x(e),[e]),A=g.exports.useCallback(x(t),[t]),v=g.exports.useCallback(x(n),[n]),m=g.exports.useCallback(x(r),[r]),h=g.exports.useCallback(x(i),[i]),E=g.exports.useCallback(x(o),[o]),C=g.exports.useCallback(x(l),[l]);return u(tn,{ref:f,...c,onEnter:w,onEntered:v,onEntering:A,onExit:m,onExited:E,onExiting:h,addEndListener:C,nodeRef:p,children:typeof s=="function"?(S,N)=>s(S,{...N,ref:y}):Me.cloneElement(s,{ref:y})})}),Ju=B1,Q1={[kt]:"show",[Wt]:"show"},gm=g.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=g.exports.useCallback((a,c)=>{vm(a),r==null||r(a,c)},[r]);return u(Ju,{ref:o,addEndListener:qu,...l,onEnter:s,childRef:t.ref,children:(a,c)=>g.exports.cloneElement(t,{...c,className:ue("fade",e,t.props.className,Q1[a],n[a])})})});gm.displayName="Fade";const Zu=gm;function ym(e){return typeof e=="boolean"?e?Zu:Yu:e}const _m=({transition:e,...t})=>u(pm,{...t,transition:ym(e)});_m.displayName="TabContainer";const H1=_m,xm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"tab-content"),u(n,{ref:i,className:ue(e,t),...r})));xm.displayName="TabContent";const W1=xm,wm=g.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:f,onExit:p,onExiting:d,onExited:y,mountOnEnter:x,unmountOnExit:w,transition:A=Zu}]=fm({...n,transition:ym(t)}),v=Ce(e,"tab-pane");return u(Ur.Provider,{value:null,children:u(Gn.Provider,{value:null,children:u(A,{in:s,onEnter:a,onEntering:c,onEntered:f,onExit:p,onExiting:d,onExited:y,mountOnEnter:x,unmountOnExit:w,children:u(o,{...l,ref:r,className:ue(i,v,s&&"active")})})})})});wm.displayName="TabPane";const K1=wm,V1={eventKey:Ct.exports.oneOfType([Ct.exports.string,Ct.exports.number]),title:Ct.exports.node.isRequired,disabled:Ct.exports.bool,tabClassName:Ct.exports.string,tabAttrs:Ct.exports.object},Em=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Em.propTypes=V1;const ti=Object.assign(Em,{Container:H1,Content:W1,Pane:K1});var ad={exports:{}},Qa={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,f,p){var d=c||"<>",y=p||a;if(s[a]==null)return l?new Error("Required "+f+" `"+y+"` was not specified "+("in `"+d+"`.")):null;for(var x=arguments.length,w=Array(x>6?x-6:0),A=6;A1?f-1:0),d=1;d!t,!1);return e}const ec=g.exports.createContext(null);ec.displayName="NavContext";const Z1="data-rr-ui-",ex="rrUi";function $l(e){return`${Z1}${e}`}function tx(e){return`${ex}${e}`}const nx=["as","disabled"];function rx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function ix(e){return!e||e.trim()==="#"}function Cm({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:l,tabIndex:s=0,type:a}){e||(n!=null||r!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:a||"button",disabled:t},c];const f=d=>{if((t||e==="a"&&ix(n))&&d.preventDefault(),t){d.stopPropagation();return}l==null||l(d)},p=d=>{d.key===" "&&(d.preventDefault(),f(d))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:o!=null?o:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:f,onKeyDown:p},c]}const Am=g.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=rx(e,nx);const[o,{tagName:l}]=Cm(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});Am.displayName="Button";const ox=["as","active","eventKey"];function lx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function km({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=g.exports.useContext(Gn),s=g.exports.useContext(ec),a=g.exports.useContext(Ur);let c=n;const f={role:i};if(s){!i&&s.role==="tablist"&&(f.role="tab");const p=s.getControllerId(e!=null?e:null),d=s.getControlledId(e!=null?e:null);f[$l("event-key")]=e,f.id=p||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(f["aria-controls"]=d)}return f.role==="tab"&&(f["aria-selected"]=c,c||(f.tabIndex=-1),o&&(f.tabIndex=-1,f["aria-disabled"]=!0)),f.onClick=pt(p=>{o||(t==null||t(p),e!=null&&l&&!p.isPropagationStopped()&&l(e,p))}),[f,{isActive:c}]}const Nm=g.exports.forwardRef((e,t)=>{let{as:n=Am,active:r,eventKey:i}=e,o=lx(e,ox);const[l,s]=km(Object.assign({key:Fi(i,o.href),active:r},o));return l[$l("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});Nm.displayName="NavItem";const sx=["as","onSelect","activeKey","role","onKeyDown"];function ax(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}const cd=()=>{},fd=$l("event-key"),Tm=g.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=ax(e,sx);const a=J1(),c=g.exports.useRef(!1),f=g.exports.useContext(Gn),p=g.exports.useContext(Ur);let d,y;p&&(o=o||"tablist",i=p.activeKey,d=p.getControlledId,y=p.getControllerId);const x=g.exports.useRef(null),w=h=>{const E=x.current;if(!E)return null;const C=Mn(E,`[${fd}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const N=C.indexOf(S);if(N===-1)return null;let k=N+h;return k>=C.length&&(k=0),k<0&&(k=C.length-1),C[k]},A=(h,E)=>{h!=null&&(r==null||r(h,E),f==null||f(h,E))},v=h=>{if(l==null||l(h),!p)return;let E;switch(h.key){case"ArrowLeft":case"ArrowUp":E=w(-1);break;case"ArrowRight":case"ArrowDown":E=w(1);break;default:return}!E||(h.preventDefault(),A(E.dataset[tx("EventKey")]||null,h),c.current=!0,a())};g.exports.useEffect(()=>{if(x.current&&c.current){const h=x.current.querySelector(`[${fd}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=Il(t,x);return u(Gn.Provider,{value:A,children:u(ec.Provider,{value:{role:o,activeKey:Fi(i),getControlledId:d||cd,getControllerId:y||cd},children:u(n,Object.assign({},s,{onKeyDown:v,ref:m,role:o}))})})});Tm.displayName="Nav";const ux=Object.assign(Tm,{Item:Nm}),Jn=g.exports.createContext(null);Jn.displayName="NavbarContext";const Rm=g.exports.createContext(null);Rm.displayName="CardHeaderContext";const Om=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"nav-item"),u(n,{ref:i,className:ue(e,t),...r})));Om.displayName="NavItem";function cx(){const e=g.exports.useRef(!0),t=g.exports.useRef(()=>e.current);return g.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function fx(e){const t=g.exports.useRef(null);return g.exports.useEffect(()=>{t.current=e}),t.current}const dx=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",px=typeof document<"u",Wa=px||dx?g.exports.useLayoutEffect:g.exports.useEffect,hx=["onKeyDown"];function mx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function vx(e){return!e||e.trim()==="#"}const Pm=g.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=mx(e,hx);const[i]=Cm(Object.assign({tagName:"a"},r)),o=pt(l=>{i.onKeyDown(l),n==null||n(l)});return vx(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});Pm.displayName="Anchor";const Lm=g.exports.forwardRef(({bsPrefix:e,className:t,as:n=Pm,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=Ce(e,"nav-link");const[a,c]=km({key:Fi(i,l.href),active:r,disabled:o,...l});return u(n,{...l,...a,ref:s,disabled:o,className:ue(t,e,o&&"disabled",c.isActive&&"active")})});Lm.displayName="NavLink";const Dm=g.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:a,className:c,activeKey:f,...p}=Sm(e,{activeKey:"onSelect"}),d=Ce(r,"nav");let y,x,w=!1;const A=g.exports.useContext(Jn),v=g.exports.useContext(Rm);return A?(y=A.bsPrefix,w=s==null?!0:s):v&&({cardHeaderBsPrefix:x}=v),u(ux,{as:n,ref:t,activeKey:f,className:ue(c,{[d]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&a,[`${x}-${i}`]:!!x,[`${d}-${i}`]:!!i,[`${d}-fill`]:o,[`${d}-justified`]:l}),...p})});Dm.displayName="Nav";const Mt=Object.assign(Dm,{Item:Om,Link:Lm});function gx(e,t){return e.filter(r=>r.name==t)}function dd(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function pd(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function Im(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function yx(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=dd(e.data,o),c=pd(t.data,i),s=s.filter(f=>f.topic.includes(a)==!0&&f.service.includes(c)==!0)):o?(a=dd(e.data,o),s=s.filter(f=>f.topic.includes(a)==!0)):i&&(c=pd(t.data,i),s=s.filter(f=>f.service.includes(c)==!0))}return s}function _x(e,t){let n=e,r=Im(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function tc(e){const t=/[^a-z0-9éèäöüß]+/g;return e=e.toLowerCase(),e=e.replace(t,"-"),e=e.replace(/éè/g,"e"),e=e.replace(/ä/g,"ae"),e=e.replace(/ö/g,"oe"),e=e.replace(/ü/g,"ue"),e=e.replace(/ß/g,"ss"),e}const xx="_project_list_1v9he_1",wx="_text_break_1v9he_11",Ex="_project_row_1v9he_19",Sx="_list_title_1v9he_27",Cx="_selected_projects_list_1v9he_35",Ax="_selected_projects_list_link_1v9he_43",ni={project_list:xx,text_break:wx,project_row:Ex,list_title:Sx,selected_projects_list:Cx,selected_projects_list_link:Ax},Mm=e=>{const t=tc(e.detail.title.rendered);return u("div",{children:u(B,{className:`${ni.project_list}`,children:u(Y,{className:`${ni.project_row}`,children:u(Ue,{className:`${ni.selected_projects_list_link}`,state:e.detail,to:`/Projekt/${t}`,children:P("div",{className:`d-flex justify-content-between ${ni.selected_projects_list}`,children:[u("ul",{children:P("li",{className:`${ni.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Gu,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},kx=({service:e,isshownid:t})=>{const n=tt(),r=we(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],Ee);return r.isLoading?u(_t,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(Mm,{detail:i},i.id))}))},Nx="_service_content_einsn_11",Tx="_service_btn_einsn_1",Rx="_service_projects_list_title_einsn_47",Ox="_service_part2_einsn_73",Px="_service_paragraph_spacing_einsn_83",ui={service_content:Nx,service_btn:Tx,service_projects_list_title:Rx,service_part2:Ox,service_paragraph_spacing:Px},Lx=({serviceinfo:e})=>u("div",{children:u("div",{className:`${ui.service_content}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(e)}})}),hd=()=>{const t=bt().state;console.log(t);const n=tt(),[r,i]=g.exports.useState("btn_active"),o=we(["services","dienstleistungen",""],Ee),l=we(["showonservicepage","isshownonserviceinfopage",""],Ee);if(o.isLoading||l.isLoading)return u(_t,{});(o.isError||l.isError)&&n("/NotMatch404");let s=gx(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t;return P("div",{children:[u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:P(ti.Container,{defaultActiveKey:a||o.data[0].title.rendered,children:[P(Y,{children:[u(K,{xl:4,children:u(Mt,{variant:"pills",className:"flex-column",children:o.data.map(c=>u(Mt.Item,{children:u(Mt.Link,{eventKey:c.title.rendered,className:r,children:c.title.rendered})},c.id))})}),u(K,{xl:8,children:u(ti.Content,{children:o.data.map(c=>u(ti.Pane,{eventKey:c.title.rendered,children:u("div",{children:u(Lx,{serviceinfo:c.content.rendered})})},c.id))})})]}),P(Y,{className:`${ui.service_paragraph_spacing}`,children:[u(K,{xl:4,children:u("div",{className:`${ui.service_projects_list_title} ${ui.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),u(K,{xl:8,children:u(ti.Content,{children:o.data.map(c=>u(ti.Pane,{eventKey:c.title.rendered,children:u("div",{className:`${ui.service_paragraph_spacing}`,children:u(kx,{service:c.acf.service_taxonomy,isshownid:s[0].id})})},c.id))})})]})]})})]})},$m="/bv2024_frontend/assets/unknown.1cd7ed72.png",Dx="_staff_pic_container_s7jbx_1",Ix="_pic_s7jbx_23",Mx="_staff_pic_s7jbx_1",$x="_staff_pic_caption_1_s7jbx_53",Fx="_staff_pic_text_1_s7jbx_89",jx="_staff_pic_caption_2_s7jbx_105",bx="_staff_pic_text_2_s7jbx_149",Pn={staff_pic_container:Dx,pic:Ix,staff_pic:Mx,staff_pic_caption_1:$x,staff_pic_text_1:Fx,staff_pic_caption_2:jx,staff_pic_text_2:bx},Ux=({imgid:e,staffName:t,position:n})=>{const r=Dl(e,$m);return u("div",{className:`${Pn.staff_pic_container}`,children:P("div",{className:`${Pn.staff_pic}`,children:[u("img",{className:`${Pn.pic}`,src:r,alt:t}),u("div",{className:`${Pn.staff_pic_caption_1}`,children:u("div",{className:`${Pn.staff_pic_text_1}`,children:t})}),u("div",{className:`${Pn.staff_pic_caption_2}`,children:u("div",{className:`${Pn.staff_pic_text_2}`,children:n})})]})})},zx="_about_sbgsf_7",Bx="_staffs_content_sbgsf_25",Qx="_staff_box_sbgsf_33",Hx="_staff_row_sbgsf_45",Wx="_staff_left_box_sbgsf_57",Kx="_staff_name_sbgsf_73",Vx="_staff_detail_pic_sbgsf_93",Gx="_staff_info_sbgsf_105",Yx="_staff_info_position_higher_sbgsf_129",Xx="_info_line_sbgsf_149",qx="_staff_info_position_lower_sbgsf_159",Jx="_staff_detail_left_bottom_element_sbgsf_175",Zx="_info_link_sbgsf_185",ew="_back_btn_sbgsf_193",tw="_staff_detail_title_sbgsf_227",nw="_section_box_sbgsf_237",rw="_pub_list_sbgsf_299",iw="_publication_list_sbgsf_307",ow="_publication_list_link_sbgsf_315",G={about:zx,staffs_content:Bx,staff_box:Qx,staff_row:Hx,staff_left_box:Wx,staff_name:Kx,staff_detail_pic:Vx,staff_info:Gx,staff_info_position_higher:Yx,info_line:Xx,staff_info_position_lower:qx,staff_detail_left_bottom_element:Jx,info_link:Zx,back_btn:ew,staff_detail_title:tw,section_box:nw,pub_list:rw,publication_list:iw,publication_list_link:ow},lw=()=>{const e=tt(),t=we(["staffs","mitarbeitende",""],Ee),n=we(["landingIntro","pages/28919",""],Ee);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"\xDCBER UNS"}),u(B,{className:`${G.about}`,dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{children:u(Y,{className:`${G.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":u(K,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:u(Ue,{to:`/Mitarbeitende/${tc(r.title.rendered)}`,state:r,children:u(Ux,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u("br",{}),u("br",{})]}))},sw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",aw=({staff:e,img:t})=>{const n=e.acf.otherInfo.split(`\r +`);return P("div",{children:[P("div",{className:`${G.staff_left_box}`,children:[u("img",{className:`${G.staff_detail_pic}`,src:t,alt:"staff"}),P("div",{children:[u("div",{className:`${G.staff_name}`,children:e.title.rendered}),u("div",{className:`${G.staff_info}`,children:e.acf.position}),u("ul",{className:`${G.staff_info_position_higher}`,children:n.map((r,i)=>u("ul",{className:`${G.info_line}`,children:r},i))}),P("div",{className:`${G.staff_detail_left_bottom_element}`,children:[u("div",{className:`text_color ${G.staff_info_position_lower} ${G.info_link}`,children:e.acf.email}),u("div",{className:`text_color ${G.staff_info_position_lower}`,children:e.acf.telephone}),e.acf.linkedin!=""?u("div",{className:`text_color ${G.staff_info_position_lower}`,children:u("a",{href:e.acf.linkedin,className:`${G.info_link}`,children:u("img",{src:sw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{className:`text_color ${G.back_btn}`,children:u(Ue,{to:"/Mitarbeitende",children:"ZUR\xDCCK"})})]}),u("br",{})]})},uw=({person:e})=>{const t=tt(),n=we(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],Ee);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(Mm,{detail:r},r.id))}))},Fm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",cw=({prop:e})=>u("div",{children:u(B,{className:`${G.pub_list}`,children:u("ul",{className:`${G.publication_list}`,children:P("li",{children:[u(Y,{children:u("a",{className:`${G.publication_list_link}`,href:e.acf.url,children:P("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Vn.sanitize(e.title.rendered)}}),u("img",{src:Fm,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(Y,{children:u("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Vn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}),fw=({publications:e})=>u("div",{children:e.map(t=>u(cw,{prop:t},t.id))}),dw=({staff:e})=>{const t=tt(),n=e.acf.hauptthemen.split(`\r `),r=e.acf.mitgliedschaften.split(`\r -`),i=we(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],Ee);return i.isLoading?u(_t,{}):(i.isError&&t("/NotMatch404"),P("div",{children:[e.acf.ausbildung!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),u(lw,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Publikationen"}),u(aw,{publications:i.data}),u("hr",{})]}):null,r!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},cw=()=>{const t=bt().state,n=tt(),r=Dl(t.acf.imgid,$m),i=we(["staffdetails",`mitarbeitende/${t.id}`,""],Ee);return i.isLoading?u(_t,{}):(i.isError&&n("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{children:P(Y,{children:[u(K,{lg:4,md:5,children:u(ow,{staff:i.data,img:r})}),u(K,{lg:8,md:7,xs:12,children:u(uw,{staff:i.data})})]})})]}))},fw="_topic_pic_Container_izck8_1",dw="_topic_pic_izck8_1",pw="_topic_pic_caption_izck8_37",hw="_topic_pic_text_izck8_73",go={topic_pic_Container:fw,topic_pic:dw,topic_pic_caption:pw,topic_pic_text:hw},mw=({imgid:e,picName:t})=>{const n=Dl(e,"imgs/topics/gesundheit.png");return u("div",{className:`${go.topic_pic_Container}`,children:P("div",{className:`${go.topic_pic}`,children:[u("img",{src:n,alt:t}),u("div",{className:`${go.topic_pic_caption}`,children:u("div",{className:`${go.topic_pic_text}`,children:t})})]})})},vw="_topic_row_l2wzr_1",gw="_topics_content_l2wzr_11",yw="_topic_box_l2wzr_21",Ns={topic_row:vw,topics_content:gw,topic_box:yw},_w=()=>{const e=tt(),t=we(["alltopics","themen",""],Ee);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"THEMEN"}),u(B,{className:`${Ns.topics_content}`,children:u(Y,{className:`${Ns.topic_row}`,children:t.data.map(n=>u(K,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ns.topic_box}`,children:u(Ue,{to:`/Projekte?${sl({Themen:n.title.rendered})}`,children:u(mw,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},xw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",ww="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",Ew="_container_1d78z_1",Sw="_withbtn_1d78z_21",Cw="_hr_1d78z_31",Aw="_resetBtn_1d78z_41",kw="_show_1d78z_67",Nw="_pageBtn_1d78z_75",Tw="_selected_1d78z_99",Rw="_arrowBtn_1d78z_109",Ow="_pageline_1d78z_131",Pw="_curPageNum_1d78z_147",Lw="_back_btn_projectdetail_1d78z_161",Dw="_search_label_1d78z_211",Iw="_clear_input_container_1d78z_219",Mw="_clear_search_1d78z_229",$w="_clearSearch_1d78z_1",Fw="_filter_label_1d78z_275",jw="_filter_list_1d78z_291",bw="_detail_left_1d78z_303",Uw="_detail_right_1d78z_317",zw="_partner_1d78z_331",Bw="_method_1d78z_341",Qw="_project_detail_title_1d78z_351",Hw="_col_1d78z_351",Ww="_download_list_1d78z_373",Kw="_project_list_1d78z_399",Vw="_project_row_1d78z_407",Gw="_project_list_btn_1d78z_415",Yw="_project_list_arrow_1d78z_427",Xw="_list_smallFont_1d78z_435",qw="_list_smallFont_red_1d78z_449",Jw="_list_title_1d78z_457",Zw="_sep_1d78z_475",j={container:Ew,withbtn:Sw,hr:Cw,resetBtn:Aw,show:kw,pageBtn:Nw,selected:Tw,arrowBtn:Rw,pageline:Ow,curPageNum:Pw,back_btn_projectdetail:Lw,search_label:Dw,clear_input_container:Iw,clear_search:Mw,clearSearch:$w,filter_label:Fw,filter_list:jw,detail_left:bw,detail_right:Uw,partner:zw,method:Bw,project_detail_title:Qw,col:Hw,download_list:Ww,project_list:Kw,project_row:Vw,project_list_btn:Gw,project_list_arrow:Yw,list_smallFont:Xw,list_smallFont_red:qw,list_title:Jw,sep:Zw},eE=e=>{const t=tc(e.title);return u("div",{children:P(B,{className:`${j.project_list}`,children:[P(Y,{className:`gx-3 ${j.project_row}`,children:[u(K,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:xw,alt:"laufend"}):u("img",{src:ww,alt:"finished"})}),u(K,{children:P(Y,{children:[e.laufend?u("div",{className:`${j.list_smallFont_red}`,children:"laufend"}):u("div",{className:`${j.list_smallFont}`,children:e.detail.acf.Jahr}),u("div",{className:`${j.list_smallFont}`,children:e.detail.acf.auftraggeber}),u(Ue,{className:`${j.project_list_btn}`,to:`/Projekt/${t}`,state:e.detail,children:P("div",{className:"d-flex justify-content-between",children:[u("div",{className:`${j.list_title}`,children:e.title}),u("img",{className:`${j.project_list_arrow}`,src:Gu,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{className:`${j.sep}`})]})})},tE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACESURBVHgB7ZJLCsAgDETHnsTepJ7c3qS5SX8IhWLUCa5aByQLw3uQBBj5fJz2sQLbVRdg1noi4N1d9L4Jenx6NbgvMIoCNMJlB0I3QQ5+0qWLgIVTAgucEljglMCaZkG6FEEaVaycJy0IzzkKI6FGZJHQO2AlpiXnJBaBoHCKL8nIn3MAvgE5HHHPpwIAAAAASUVORK5CYII=",nE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACFSURBVHgB7ZNBEoAgDAOj40P0J/Jy/In+ROl44AJpGXpScuGQTjaUARj6vKaacQCnnDcQAnBpczuwlfwZXGtqEGM62QyIXwVIc7zNLRA0A2QtHhC6Ig+I9gbdEBVQg8AoE6BHJkDMrVfk2/gASuHs4zUBesMpwCOcAjzCRYviW8KZN/QHPTI9Oj4ImhoZAAAAAElFTkSuQmCC",rE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgB7ZThDYIwEIWfxgEYwRF0AzuCG3QTV3AD3UA3oE6gG+gIbIAP2h+EhNwDwh/SL7n0fhzvcW2vQCYzxAu4NIElCMCNUTPeVu0WIwkU5+IZvxo4W/UbiJRAweIH0xOjovjR0cT6bgeBJM4FhyTuFPEGs4MB8Q9ElDO4ThVXDQrMQDHwiH/dblUZu5GRbtGcc5DmwCVRpk9M7ESGwvcQp/jLfI8l6JiYT4U0aH24V54mFcRhy6ycPx1eOJs+D9WEAAAAAElFTkSuQmCC",iE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC3SURBVHgB7ZKxDcIwEEVfYAFGyCiwAS0VYYNsAJswAmxANoANyAihpDLfwaKg4GzTIOEnfdnF3f/S3UGhcIJW2pHJJKJmXsG2gz0ZxAS0Ui81XWaIiUZUd3CV3M+FVCTgQ9Rw1ncmHR1sFjB86onZwQuZ9W58RtOlwg5WT1JAYAhCYTerOCkgjEgPtXSRGqsnegfv5n5U1vyjA3LNowK+MfeYOwiXUueYe6ZWwRruPK9llWpe+BMe4XE53EuHnYQAAAAASUVORK5CYII=",oE=({pageCount:e,postsPerPage:t,onPageChange:n,currentPage:r})=>{const i=[];for(let o=1;o<=Math.ceil(e/t);o++)i.push(o);return u("div",{children:P("span",{className:j.pageelement,children:[u("button",{className:j.arrowBtn,onClick:()=>{n(1)},children:u("img",{src:tE,alt:"firstpage",width:"20px",height:"20px"})}),P("button",{className:j.arrowBtn,onClick:()=>{r!=1&&n(r-1)},children:[" ",u("img",{src:rE,alt:"prepage",width:"20px",height:"20px"})]}),P("span",{className:j.pageBtn,children:["Seite ",r,"/",i.length]}),P("button",{className:j.arrowBtn,onClick:()=>{r!=i.length&&n(r+1)},children:[" ",u("img",{src:iE,alt:"nextpage",width:"20px",height:"20px"})]}),P("button",{className:j.arrowBtn,onClick:()=>{n(i.length)},children:[" ",u("img",{src:nE,alt:"lastpage",width:"20px",height:"20px"})]})]})})},lE=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=g.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return g.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":P("div",{children:[l.map(a=>u(eE,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:j.pageline,children:u(oE,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class sE extends g.exports.Component{constructor(){super(...arguments);Cc(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("ErrorBoundary component caught an error",n,r)}render(){return this.state.hasError?P("h2",{children:["There was an error with this listing. ",u(Ue,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const aE="_container_1ly3r_1",uE="_red_1ly3r_39",cE="_white_1ly3r_59",fE="_value_1ly3r_77",dE="_clearbtn_1ly3r_85",pE="_show_1ly3r_111",hE="_arrow_1ly3r_135",mE="_up_1ly3r_177",vE="_down_1ly3r_189",gE="_options_1ly3r_205",yE="_option_1ly3r_205",_E="_selected_1ly3r_291",xE="_highlighted_1ly3r_301",Fe={container:aE,red:uE,white:cE,value:fE,clearbtn:dE,show:pE,arrow:hE,up:mE,down:vE,options:gE,option:yE,selected:_E,highlighted:xE},md=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=g.exports.useState(!1),[a,c]=g.exports.useState(e!=null),[f,p]=g.exports.useState(e==null),[d,y]=g.exports.useState(!e),[x,w]=g.exports.useState(!0),[A,v]=g.exports.useState("");function m(){n(void 0),c(!1),p(!0),y(!0),w(!0),o(!1)}function h(C){n(C)}function E(C){return C==t}return g.exports.useEffect(()=>{l&&v(0)},[l]),g.exports.useEffect(()=>{i&&m()},[i]),P("div",{onBlur:()=>{s(!1),w(!0)},onClick:()=>{s(C=>!C),w(C=>!C)},tabIndex:0,className:`${Fe.container} ${f?Fe.red:Fe.white}`,children:[u("span",{className:Fe.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${Fe.clearbtn} ${a?Fe.show:""}`,children:"\xD7"}),u("div",{className:`${Fe.arrow} ${x?Fe.down:Fe.up} ${d?Fe.show:""} }`}),u("ul",{className:`${Fe.options} ${l?Fe.show:""}`,children:r.map((C,S)=>u("ul",{onClick:N=>{N.stopPropagation(),h(C.title.rendered),c(!0),p(!1),s(!1),y(!1)},onMouseEnter:()=>v(S),className:`${Fe.option} ${E(C.title.rendered)?Fe.selected:""} ${S==A?Fe.highlighted:""}`,children:C.title.rendered},C.id))})]})},wE=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=g.exports.useState(""),[o,l]=g.exports.useState(!0),s=c=>{c.target.value.length<=1&&c.key=="Backspace"&&(l(!0),i(""),e(""))},a=c=>{i(c.target.value),e(c.target.value),c.target.value==""?l(!0):l(!1)};return g.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{children:u("label",{htmlFor:"titleName",className:`${j.search_label}`,children:P("div",{className:`${j.clear_input_container}`,children:[u("input",{type:"text",id:"titleName",name:"searchtext",value:r,placeholder:"Suchen nach Title . . .",onChange:a,onKeyDown:s}),u("button",{className:`${j.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},EE=()=>{const e=_0(),t=tt(),[n,r]=$0(),[i,o]=g.exports.useState(""),[l,s]=g.exports.useState(void 0),[a,c]=g.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[f,p]=g.exports.useState(e.id=="laufend"),[d,y]=g.exports.useState(!1),[x,w]=g.exports.useState(!1);function A(re){c(re),r(de=>(re==null?de.delete("Themen"):de.append("Themen",re),de)),w(!0)}function v(re){s(re),r(de=>(re==null?de.delete("Dienstleistungen"):de.append("Dienstleistungen",re),de)),w(!0)}function m(){y(!1),w(!1)}function h(re){o(re),r(de=>(re==""?de.delete("Titel"):(de.delete("Titel"),de.append("Titel",re)),de)),w(re)}function E(){y(!0),p(!1),c(void 0),s(void 0),o(""),w(!1),t("/Projekte")}const C=we(["allprojects","projekte",""],Ee),S=we(["alltopics","themen",""],Ee),N=we(["services","dienstleistungen",""],Ee),k=we(["istlaufend","istlaufend",""],Ee);if(C.isLoading||S.isLoading||N.isLoading||k.isLoading)return u(_t,{});(C.isError||S.isError||N.isError||k.isError)&&t("/NotMatch404");let U=Im(k.data,"Ja");const I=vx(C.data,k),Te=(f?I:C.data).filter(re=>re.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),oe=mx(S,N,Te,f?I:C.data,l,a,i);return P("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:P(Y,{children:[u(K,{xxl:4,children:P("div",{children:[u(wE,{onChange:h,isClear:d,isCleared:m}),u("br",{}),P("div",{className:`${j.filter_label}`,children:["Filtern nach Thema:",u("br",{}),u(md,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:S.data,onChange:A,isClear:d,isCleared:m})]}),P("div",{className:`${j.filter_label}`,children:["Filtern nach Dienstleistung:",u("br",{}),u(md,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:N.data,onChange:v,isClear:d,isCleared:m})]})]})}),P(K,{xxl:8,xl:12,children:[P("div",{className:`${j.container} +`),i=we(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],Ee);return i.isLoading?u(_t,{}):(i.isError&&t("/NotMatch404"),P("div",{children:[e.acf.ausbildung!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),u(uw,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Publikationen"}),u(fw,{publications:i.data}),u("hr",{})]}):null,r!=""?P("div",{className:`${G.section_box}`,children:[u("h2",{className:`${G.staff_detail_title}`,children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},pw=()=>{const t=bt().state,n=tt(),r=Dl(t.acf.imgid,$m),i=we(["staffdetails",`mitarbeitende/${t.id}`,""],Ee);return i.isLoading?u(_t,{}):(i.isError&&n("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{children:P(Y,{children:[u(K,{lg:4,md:5,children:u(aw,{staff:i.data,img:r})}),u(K,{lg:8,md:7,xs:12,children:u(dw,{staff:i.data})})]})})]}))},hw="_topic_pic_Container_izck8_1",mw="_topic_pic_izck8_1",vw="_topic_pic_caption_izck8_37",gw="_topic_pic_text_izck8_73",go={topic_pic_Container:hw,topic_pic:mw,topic_pic_caption:vw,topic_pic_text:gw},yw=({imgid:e,picName:t})=>{const n=Dl(e,"imgs/topics/gesundheit.png");return u("div",{className:`${go.topic_pic_Container}`,children:P("div",{className:`${go.topic_pic}`,children:[u("img",{src:n,alt:t}),u("div",{className:`${go.topic_pic_caption}`,children:u("div",{className:`${go.topic_pic_text}`,children:t})})]})})},_w="_topic_row_l2wzr_1",xw="_topics_content_l2wzr_11",ww="_topic_box_l2wzr_21",Ns={topic_row:_w,topics_content:xw,topic_box:ww},Ew=()=>{const e=tt(),t=we(["alltopics","themen",""],Ee);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),P("div",{children:[u(B,{className:"categoryTitle",children:"THEMEN"}),u(B,{className:`${Ns.topics_content}`,children:u(Y,{className:`${Ns.topic_row}`,children:t.data.map(n=>u(K,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ns.topic_box}`,children:u(Ue,{to:`/Projekte?${sl({Themen:n.title.rendered})}`,children:u(yw,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},Sw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",Cw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",Aw="_container_1d78z_1",kw="_withbtn_1d78z_21",Nw="_hr_1d78z_31",Tw="_resetBtn_1d78z_41",Rw="_show_1d78z_67",Ow="_pageBtn_1d78z_75",Pw="_selected_1d78z_99",Lw="_arrowBtn_1d78z_109",Dw="_pageline_1d78z_131",Iw="_curPageNum_1d78z_147",Mw="_back_btn_projectdetail_1d78z_161",$w="_search_label_1d78z_211",Fw="_clear_input_container_1d78z_219",jw="_clear_search_1d78z_229",bw="_clearSearch_1d78z_1",Uw="_filter_label_1d78z_275",zw="_filter_list_1d78z_291",Bw="_detail_left_1d78z_303",Qw="_detail_right_1d78z_317",Hw="_partner_1d78z_331",Ww="_method_1d78z_341",Kw="_project_detail_title_1d78z_351",Vw="_col_1d78z_351",Gw="_download_list_1d78z_373",Yw="_project_list_1d78z_399",Xw="_project_row_1d78z_407",qw="_project_list_btn_1d78z_415",Jw="_project_list_arrow_1d78z_427",Zw="_list_smallFont_1d78z_435",eE="_list_smallFont_red_1d78z_449",tE="_list_title_1d78z_457",nE="_sep_1d78z_475",j={container:Aw,withbtn:kw,hr:Nw,resetBtn:Tw,show:Rw,pageBtn:Ow,selected:Pw,arrowBtn:Lw,pageline:Dw,curPageNum:Iw,back_btn_projectdetail:Mw,search_label:$w,clear_input_container:Fw,clear_search:jw,clearSearch:bw,filter_label:Uw,filter_list:zw,detail_left:Bw,detail_right:Qw,partner:Hw,method:Ww,project_detail_title:Kw,col:Vw,download_list:Gw,project_list:Yw,project_row:Xw,project_list_btn:qw,project_list_arrow:Jw,list_smallFont:Zw,list_smallFont_red:eE,list_title:tE,sep:nE},rE=e=>{const t=tc(e.title);return u("div",{children:P(B,{className:`${j.project_list}`,children:[P(Y,{className:`gx-3 ${j.project_row}`,children:[u(K,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:Sw,alt:"laufend"}):u("img",{src:Cw,alt:"finished"})}),u(K,{children:P(Y,{children:[e.laufend?u("div",{className:`${j.list_smallFont_red}`,children:"laufend"}):u("div",{className:`${j.list_smallFont}`,children:e.detail.acf.Jahr}),u("div",{className:`${j.list_smallFont}`,children:e.detail.acf.auftraggeber}),u(Ue,{className:`${j.project_list_btn}`,to:`/Projekt/${t}`,state:e.detail,children:P("div",{className:"d-flex justify-content-between",children:[u("div",{className:`${j.list_title}`,children:e.title}),u("img",{className:`${j.project_list_arrow}`,src:Gu,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{className:`${j.sep}`})]})})},iE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACESURBVHgB7ZJLCsAgDETHnsTepJ7c3qS5SX8IhWLUCa5aByQLw3uQBBj5fJz2sQLbVRdg1noi4N1d9L4Jenx6NbgvMIoCNMJlB0I3QQ5+0qWLgIVTAgucEljglMCaZkG6FEEaVaycJy0IzzkKI6FGZJHQO2AlpiXnJBaBoHCKL8nIn3MAvgE5HHHPpwIAAAAASUVORK5CYII=",oE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACFSURBVHgB7ZNBEoAgDAOj40P0J/Jy/In+ROl44AJpGXpScuGQTjaUARj6vKaacQCnnDcQAnBpczuwlfwZXGtqEGM62QyIXwVIc7zNLRA0A2QtHhC6Ig+I9gbdEBVQg8AoE6BHJkDMrVfk2/gASuHs4zUBesMpwCOcAjzCRYviW8KZN/QHPTI9Oj4ImhoZAAAAAElFTkSuQmCC",lE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgB7ZThDYIwEIWfxgEYwRF0AzuCG3QTV3AD3UA3oE6gG+gIbIAP2h+EhNwDwh/SL7n0fhzvcW2vQCYzxAu4NIElCMCNUTPeVu0WIwkU5+IZvxo4W/UbiJRAweIH0xOjovjR0cT6bgeBJM4FhyTuFPEGs4MB8Q9ElDO4ThVXDQrMQDHwiH/dblUZu5GRbtGcc5DmwCVRpk9M7ESGwvcQp/jLfI8l6JiYT4U0aH24V54mFcRhy6ycPx1eOJs+D9WEAAAAAElFTkSuQmCC",sE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC3SURBVHgB7ZKxDcIwEEVfYAFGyCiwAS0VYYNsAJswAmxANoANyAihpDLfwaKg4GzTIOEnfdnF3f/S3UGhcIJW2pHJJKJmXsG2gz0ZxAS0Ui81XWaIiUZUd3CV3M+FVCTgQ9Rw1ncmHR1sFjB86onZwQuZ9W58RtOlwg5WT1JAYAhCYTerOCkgjEgPtXSRGqsnegfv5n5U1vyjA3LNowK+MfeYOwiXUueYe6ZWwRruPK9llWpe+BMe4XE53EuHnYQAAAAASUVORK5CYII=",aE=({pageCount:e,postsPerPage:t,onPageChange:n,currentPage:r})=>{const i=[];for(let o=1;o<=Math.ceil(e/t);o++)i.push(o);return u("div",{children:P("span",{className:j.pageelement,children:[u("button",{className:j.arrowBtn,onClick:()=>{n(1)},children:u("img",{src:iE,alt:"firstpage",width:"20px",height:"20px"})}),P("button",{className:j.arrowBtn,onClick:()=>{r!=1&&n(r-1)},children:[" ",u("img",{src:lE,alt:"prepage",width:"20px",height:"20px"})]}),P("span",{className:j.pageBtn,children:["Seite ",r,"/",i.length]}),P("button",{className:j.arrowBtn,onClick:()=>{r!=i.length&&n(r+1)},children:[" ",u("img",{src:sE,alt:"nextpage",width:"20px",height:"20px"})]}),P("button",{className:j.arrowBtn,onClick:()=>{n(i.length)},children:[" ",u("img",{src:oE,alt:"lastpage",width:"20px",height:"20px"})]})]})})},uE=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=g.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return g.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":P("div",{children:[l.map(a=>u(rE,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:j.pageline,children:u(aE,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class cE extends g.exports.Component{constructor(){super(...arguments);Cc(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("ErrorBoundary component caught an error",n,r)}render(){return this.state.hasError?P("h2",{children:["There was an error with this listing. ",u(Ue,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const fE="_container_1ly3r_1",dE="_red_1ly3r_39",pE="_white_1ly3r_59",hE="_value_1ly3r_77",mE="_clearbtn_1ly3r_85",vE="_show_1ly3r_111",gE="_arrow_1ly3r_135",yE="_up_1ly3r_177",_E="_down_1ly3r_189",xE="_options_1ly3r_205",wE="_option_1ly3r_205",EE="_selected_1ly3r_291",SE="_highlighted_1ly3r_301",Fe={container:fE,red:dE,white:pE,value:hE,clearbtn:mE,show:vE,arrow:gE,up:yE,down:_E,options:xE,option:wE,selected:EE,highlighted:SE},md=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=g.exports.useState(!1),[a,c]=g.exports.useState(e!=null),[f,p]=g.exports.useState(e==null),[d,y]=g.exports.useState(!e),[x,w]=g.exports.useState(!0),[A,v]=g.exports.useState("");function m(){n(void 0),c(!1),p(!0),y(!0),w(!0),o(!1)}function h(C){n(C)}function E(C){return C==t}return g.exports.useEffect(()=>{l&&v(0)},[l]),g.exports.useEffect(()=>{i&&m()},[i]),P("div",{onBlur:()=>{s(!1),w(!0)},onClick:()=>{s(C=>!C),w(C=>!C)},tabIndex:0,className:`${Fe.container} ${f?Fe.red:Fe.white}`,children:[u("span",{className:Fe.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${Fe.clearbtn} ${a?Fe.show:""}`,children:"\xD7"}),u("div",{className:`${Fe.arrow} ${x?Fe.down:Fe.up} ${d?Fe.show:""} }`}),u("ul",{className:`${Fe.options} ${l?Fe.show:""}`,children:r.map((C,S)=>u("ul",{onClick:N=>{N.stopPropagation(),h(C.title.rendered),c(!0),p(!1),s(!1),y(!1)},onMouseEnter:()=>v(S),className:`${Fe.option} ${E(C.title.rendered)?Fe.selected:""} ${S==A?Fe.highlighted:""}`,children:C.title.rendered},C.id))})]})},CE=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=g.exports.useState(""),[o,l]=g.exports.useState(!0),s=c=>{c.target.value.length<=1&&c.key=="Backspace"&&(l(!0),i(""),e(""))},a=c=>{i(c.target.value),e(c.target.value),c.target.value==""?l(!0):l(!1)};return g.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{children:u("label",{htmlFor:"titleName",className:`${j.search_label}`,children:P("div",{className:`${j.clear_input_container}`,children:[u("input",{type:"text",id:"titleName",name:"searchtext",value:r,placeholder:"Suchen nach Title . . .",onChange:a,onKeyDown:s}),u("button",{className:`${j.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},AE=()=>{const e=_0(),t=tt(),[n,r]=$0(),[i,o]=g.exports.useState(""),[l,s]=g.exports.useState(void 0),[a,c]=g.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[f,p]=g.exports.useState(e.id=="laufend"),[d,y]=g.exports.useState(!1),[x,w]=g.exports.useState(!1);function A(re){c(re),r(de=>(re==null?de.delete("Themen"):de.append("Themen",re),de)),w(!0)}function v(re){s(re),r(de=>(re==null?de.delete("Dienstleistungen"):de.append("Dienstleistungen",re),de)),w(!0)}function m(){y(!1),w(!1)}function h(re){o(re),r(de=>(re==""?de.delete("Titel"):(de.delete("Titel"),de.append("Titel",re)),de)),w(re)}function E(){y(!0),p(!1),c(void 0),s(void 0),o(""),w(!1),t("/Projekte")}const C=we(["allprojects","projekte",""],Ee),S=we(["alltopics","themen",""],Ee),N=we(["services","dienstleistungen",""],Ee),k=we(["istlaufend","istlaufend",""],Ee);if(C.isLoading||S.isLoading||N.isLoading||k.isLoading)return u(_t,{});(C.isError||S.isError||N.isError||k.isError)&&t("/NotMatch404");let U=Im(k.data,"Ja");const I=_x(C.data,k),Te=(f?I:C.data).filter(re=>re.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),oe=yx(S,N,Te,f?I:C.data,l,a,i);return P("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:P(Y,{children:[u(K,{xxl:4,children:P("div",{children:[u(CE,{onChange:h,isClear:d,isCleared:m}),u("br",{}),P("div",{className:`${j.filter_label}`,children:["Filtern nach Thema:",u("br",{}),u(md,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:S.data,onChange:A,isClear:d,isCleared:m})]}),P("div",{className:`${j.filter_label}`,children:["Filtern nach Dienstleistung:",u("br",{}),u(md,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:N.data,onChange:v,isClear:d,isCleared:m})]})]})}),P(K,{xxl:8,xl:12,children:[P("div",{className:`${j.container} ${oe.length==C.data.length?"":j.withbtn} `,children:[u("span",{className:j.text,children:oe.length==C.data.length?"Alle Projekte":`${oe.length} Projekte gefunden.`}),u("button",{className:`${j.resetBtn} ${oe.length==C.data.length?"":j.show} - `,onClick:E,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:j.hr}),u(lE,{projects:oe,istlaufend:U,filterApplied:x})]})]})})]})};function vd(e){return u(sE,{children:u(EE,{...e})})}const SE="/bv2024_frontend/assets/map.33be5f33.png",CE="_message_1d0jn_1",AE="_contact_company_name_1d0jn_13",kE="_contact_addr_title_1d0jn_27",NE="_contact_addr_detail_1d0jn_43",TE="_addr_info_1d0jn_55",RE="_map_1d0jn_71",OE="_contact_info_1d0jn_85",PE="_email_link_1d0jn_97",LE="_reverse_row_1d0jn_105",ut={message:CE,contact_company_name:AE,contact_addr_title:kE,contact_addr_detail:NE,addr_info:TE,map:RE,contact_info:OE,email_link:PE,reverse_row:LE},DE=()=>P("div",{children:[u(B,{className:"categoryTitle",children:"KONTAKT"}),u(B,{className:`${ut.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),P(B,{children:[P(Y,{className:`${ut.reverse_row}`,children:[u(K,{xl:5,lg:4,xs:12,children:u("div",{children:P("div",{children:[P("div",{className:`${ut.contact_company_name}`,children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),P("div",{className:`${ut.contact_info}`,children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:`${ut.contact_info}`,children:"+41 31 312 65 75"}),u("br",{}),u("div",{children:u(Ue,{to:"",className:`${ut.contact_info} ${ut.email_link}`,children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),P(Y,{children:[u(K,{children:u(Ue,{to:"",className:`${ut.addr_info}`,children:"Google Maps"})}),u(K,{children:u(Ue,{to:"",className:`${ut.addr_info}`,children:"Printable Map"})})]})]})})}),u(K,{xl:7,lg:8,xs:12,children:u("img",{className:`${ut.map}`,src:SE,alt:"map"})})]}),u("div",{className:`${ut.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),P("p",{className:`${ut.contact_addr_detail}`,children:["Bus Nr. 12 Richtung Zentrum Paul Klee ben\xFCtzen, bis Haltestelle Nydegg. ",u("br",{}),"In Fahrtrichtung einige Meter weiter gehen, vor der Nydeggbr\xFCcke rechts via Nydeggtreppe in die Gerberngasse, dort rechts. Die Nr. 27 befindet sich ca. 300 m weiter auf der linken Seite. ",u("br",{}),"Der Eingang befindet sich an der Frontseite, gegen\xFCber dem Brunnen."]}),u("br",{})]})]}),IE=()=>u("div",{children:"Page Not Found"}),ME=()=>u(B,{className:"categoryTitle",children:"IMPRINT"}),$E=()=>u(B,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),Ts="/bv2024_frontend/assets/Home.d233cde0.png",FE="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",jE="/bv2024_frontend/assets/Kontakt.e3e8d695.png",bE="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",UE="/bv2024_frontend/assets/Home.d233cde0.png",zE="/bv2024_frontend/assets/Projekte.b5edb7d6.png",BE="/bv2024_frontend/assets/Projekte.b5edb7d6.png",QE="/bv2024_frontend/assets/Themen.e1598e5b.png",HE="_titleImg_18euy_1",WE="_caption_18euy_17",gd={titleImg:HE,caption:WE},KE=({page:e})=>{let t=e.split("/",1)[0],n=Ts,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Ts;break;case"Projekte":n=zE;break;case"Projekt":n=BE;break;case"Dienstleistungen":n=FE;break;case"Mitarbeitende":n=bE;break;case"Kontakt":n=jE;break;case"Themen":n=QE;break;case"NotMatch404":n=UE;break;default:r="",n=Ts;break}return u("div",{className:`${gd.titleImg}`,style:{backgroundImage:`url(${n})`},children:u("div",{className:`${gd.caption}`,children:u("div",{children:r})})})},VE="/bv2024_frontend/assets/bv_logo.21578d65.svg",GE="/bv2024_frontend/assets/side_logo.430b69df.svg";function ri(...e){return e.filter(t=>t!=null).reduce((t,n)=>{if(typeof n!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?n:function(...i){t.apply(this,i),n.apply(this,i)}},null)}const YE={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function XE(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=YE[e];return r+parseInt(Yt(t,i[0]),10)+parseInt(Yt(t,i[1]),10)}const qE={[sn]:"collapse",[ji]:"collapsing",[kt]:"collapsing",[Wt]:"collapse show"},JE=Me.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:o,children:l,dimension:s="height",in:a=!1,timeout:c=300,mountOnEnter:f=!1,unmountOnExit:p=!1,appear:d=!1,getDimensionValue:y=XE,...x},w)=>{const A=typeof s=="function"?s():s,v=g.exports.useMemo(()=>ri(S=>{S.style[A]="0"},e),[A,e]),m=g.exports.useMemo(()=>ri(S=>{const N=`scroll${A[0].toUpperCase()}${A.slice(1)}`;S.style[A]=`${S[N]}px`},t),[A,t]),h=g.exports.useMemo(()=>ri(S=>{S.style[A]=null},n),[A,n]),E=g.exports.useMemo(()=>ri(S=>{S.style[A]=`${y(A,S)}px`,vm(S)},r),[r,y,A]),C=g.exports.useMemo(()=>ri(S=>{S.style[A]=null},i),[A,i]);return u(Ju,{ref:w,addEndListener:qu,...x,"aria-expanded":x.role?a:null,onEnter:v,onEntering:m,onEntered:h,onExit:E,onExiting:C,childRef:l.ref,in:a,timeout:c,mountOnEnter:f,unmountOnExit:p,appear:d,children:(S,N)=>Me.cloneElement(l,{...N,className:ue(o,l.props.className,qE[S],A==="width"&&"collapse-horizontal")})})}),ZE=JE,eS=e=>g.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ue(t.className,e)})),tS={"aria-label":Ct.exports.string,onClick:Ct.exports.func,variant:Ct.exports.oneOf(["white"])},nc=g.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>u("button",{ref:i,type:"button",className:ue("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));nc.displayName="CloseButton";nc.propTypes=tS;const nS=nc;function rS(e){const t=g.exports.useRef(e);return t.current=e,t}function iS(e){const t=rS(e);g.exports.useEffect(()=>()=>t.current(),[])}function yd(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const jm=g.exports.createContext(Ml?window:void 0);jm.Provider;function rc(){return g.exports.useContext(jm)}function Rs(e){e===void 0&&(e=Xu());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function oS(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const _d=$l("modal-open");class ic{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return oS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(Yt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(_d,""),Yt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(_d),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Os=(e,t)=>Ml?e==null?(t||Xu()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function lS(e,t){const n=rc(),[r,i]=g.exports.useState(()=>Os(e,n==null?void 0:n.document));if(!r){const o=Os(e);o&&i(o)}return g.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),g.exports.useEffect(()=>{const o=Os(e);o!==r&&i(o)},[e,r]),r}function sS({in:e,onTransition:t}){const n=g.exports.useRef(null),r=g.exports.useRef(!0),i=pt(t);return Wa(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Wa(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function aS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=g.exports.useState(!t);t&&o&&l(!1);const s=sS({in:!!t,onTransition:c=>{const f=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(f,p=>{throw c.in||l(!0),p})}}),a=Il(s,e.ref);return o&&!t?null:g.exports.cloneElement(e,{ref:a})}function xd(e,t,n){return e?u(e,Object.assign({},n)):t?u(aS,Object.assign({},n,{transition:t})):u(Yu,Object.assign({},n))}function uS(e){return e.code==="Escape"||e.keyCode===27}const cS=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function fS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}let Ps;function dS(e){return Ps||(Ps=new ic({ownerDocument:e==null?void 0:e.document})),Ps}function pS(e){const t=rc(),n=e||dS(t),r=g.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:g.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:g.exports.useCallback(i=>{r.current.backdrop=i},[])})}const bm=g.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:a=!0,onBackdropClick:c,onEscapeKeyDown:f,transition:p,runTransition:d,backdropTransition:y,runBackdropTransition:x,autoFocus:w=!0,enforceFocus:A=!0,restoreFocus:v=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=q=>u("div",Object.assign({},q)),manager:C,container:S,onShow:N,onHide:k=()=>{},onExit:U,onExited:I,onExiting:ne,onEnter:Te,onEntering:oe,onEntered:re}=e,de=fS(e,cS);const He=rc(),We=lS(S),R=pS(C),D=sx(),b=ax(n),[F,X]=g.exports.useState(!n),H=g.exports.useRef(null);g.exports.useImperativeHandle(t,()=>R,[R]),Ml&&!b&&n&&(H.current=Rs(He==null?void 0:He.document)),n&&F&&X(!1);const ve=pt(()=>{if(R.add(),Lt.current=dl(document,"keydown",Ki),Zn.current=dl(document,"focus",()=>setTimeout(Re),!0),N&&N(),w){var q,Tn;const tr=Rs((q=(Tn=R.dialog)==null?void 0:Tn.ownerDocument)!=null?q:He==null?void 0:He.document);R.dialog&&tr&&!yd(R.dialog,tr)&&(H.current=tr,R.dialog.focus())}}),ce=pt(()=>{if(R.remove(),Lt.current==null||Lt.current(),Zn.current==null||Zn.current(),v){var q;(q=H.current)==null||q.focus==null||q.focus(m),H.current=null}});g.exports.useEffect(()=>{!n||!We||ve()},[n,We,ve]),g.exports.useEffect(()=>{!F||ce()},[F,ce]),iS(()=>{ce()});const Re=pt(()=>{if(!A||!D()||!R.isTopModal())return;const q=Rs(He==null?void 0:He.document);R.dialog&&q&&!yd(R.dialog,q)&&R.dialog.focus()}),Pt=pt(q=>{q.target===q.currentTarget&&(c==null||c(q),s===!0&&k())}),Ki=pt(q=>{a&&uS(q)&&R.isTopModal()&&(f==null||f(q),q.defaultPrevented||k())}),Zn=g.exports.useRef(),Lt=g.exports.useRef(),Ut=(...q)=>{X(!0),I==null||I(...q)};if(!We)return null;const er=Object.assign({role:r,ref:R.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},de,{style:o,className:i,tabIndex:-1});let Nn=h?h(er):u("div",Object.assign({},er,{children:g.exports.cloneElement(l,{role:"document"})}));Nn=xd(p,d,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:U,onExiting:ne,onExited:Ut,onEnter:Te,onEntering:oe,onEntered:re,children:Nn});let xt=null;return s&&(xt=E({ref:R.setBackdropRef,onClick:Pt}),xt=xd(y,x,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:xt})),u(ll,{children:wr.createPortal(P(ll,{children:[xt,Nn]}),We)})});bm.displayName="Modal";const hS=Object.assign(bm,{Manager:ic});function mS(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function vS(e,t){e.classList?e.classList.add(t):mS(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wd(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function gS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wd(e.className,t):e.setAttribute("class",wd(e.className&&e.className.baseVal||"",t))}const ar={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Um extends ic{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Yt(n,{[t]:`${parseFloat(Yt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Yt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(vS(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Mn(n,ar.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),Mn(n,ar.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Mn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();gS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Mn(n,ar.FIXED_CONTENT).forEach(o=>this.restore(r,o)),Mn(n,ar.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Mn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ls;function yS(e){return Ls||(Ls=new Um(e)),Ls}const _S=Um,xS=g.exports.createContext({onHide(){}}),zm=xS,wS=g.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=g.exports.useContext(zm),a=pt(()=>{s==null||s.onHide(),r==null||r()});return P("div",{ref:l,...o,children:[i,n&&u(nS,{"aria-label":e,variant:t,onClick:a})]})}),ES=wS,Bm=g.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=Ce(e,"navbar-brand");const o=n||(r.href?"a":"span");return u(o,{...r,ref:i,className:ue(t,e)})});Bm.displayName="NavbarBrand";const SS=Bm,Qm=g.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=Ce(t,"navbar-collapse");const i=g.exports.useContext(Jn);return u(ZE,{in:!!(i&&i.expanded),...n,children:u("div",{ref:r,className:t,children:e})})});Qm.displayName="NavbarCollapse";const CS=Qm,Hm=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=Ce(e,"navbar-toggler");const{onToggle:a,expanded:c}=g.exports.useContext(Jn)||{},f=pt(p=>{o&&o(p),a&&a()});return i==="button"&&(l.type="button"),u(i,{...l,ref:s,onClick:f,"aria-label":r,className:ue(t,e,!c&&"collapsed"),children:n||u("span",{className:`${e}-icon`})})});Hm.displayName="NavbarToggle";const AS=Hm,Ka=new WeakMap,Ed=(e,t)=>{if(!e||!t)return;const n=Ka.get(t)||new Map;Ka.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function kS(e,t=typeof window>"u"?void 0:window){const n=Ed(e,t),[r,i]=g.exports.useState(()=>n?n.matches:!1);return Wa(()=>{let o=Ed(e,t);if(!o)return i(!1);let l=Ka.get(t);const s=()=>{i(o.matches)};return o.refCount++,o.addListener(s),s(),()=>{o.removeListener(s),o.refCount--,o.refCount<=0&&(l==null||l.delete(o.media)),o=void 0}},[e]),r}function NS(e){const t=Object.keys(e);function n(s,a){return s===a?a:s?`${s} and ${a}`:a}function r(s){return t[Math.min(t.indexOf(s)+1,t.length-1)]}function i(s){const a=r(s);let c=e[a];return typeof c=="number"?c=`${c-.2}px`:c=`calc(${c} - 0.2px)`,`(max-width: ${c})`}function o(s){let a=e[s];return typeof a=="number"&&(a=`${a}px`),`(min-width: ${a})`}function l(s,a,c){let f;typeof s=="object"?(f=s,c=a,a=!0):(a=a||!0,f={[s]:a});let p=g.exports.useMemo(()=>Object.entries(f).reduce((d,[y,x])=>((x==="up"||x===!0)&&(d=n(d,o(y))),(x==="down"||x===!0)&&(d=n(d,i(y))),d),""),[JSON.stringify(f)]);return kS(p,c)}return l}const TS=NS({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Wm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"offcanvas-body"),u(n,{ref:i,className:ue(e,t),...r})));Wm.displayName="OffcanvasBody";const RS=Wm,OS={[kt]:"show",[Wt]:"show"},Km=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},a)=>(e=Ce(e,"offcanvas"),u(Ju,{ref:a,addEndListener:qu,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,f)=>g.exports.cloneElement(n,{...f,className:ue(t,n.props.className,(c===kt||c===ji)&&`${e}-toggling`,OS[c])})})));Km.displayName="OffcanvasToggling";const PS=Km,Vm=g.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=Ce(e,"offcanvas-header"),u(ES,{ref:o,...i,className:ue(t,e),closeLabel:n,closeButton:r})));Vm.displayName="OffcanvasHeader";const LS=Vm,DS=eS("h5"),Gm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n=DS,...r},i)=>(t=Ce(t,"offcanvas-title"),u(n,{ref:i,className:ue(e,t),...r})));Gm.displayName="OffcanvasTitle";const IS=Gm;function MS(e){return u(PS,{...e})}function $S(e){return u(Zu,{...e})}const Ym=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:i="start",responsive:o,show:l=!1,backdrop:s=!0,keyboard:a=!0,scroll:c=!1,onEscapeKeyDown:f,onShow:p,onHide:d,container:y,autoFocus:x=!0,enforceFocus:w=!0,restoreFocus:A=!0,restoreFocusOptions:v,onEntered:m,onExit:h,onExiting:E,onEnter:C,onEntering:S,onExited:N,backdropClassName:k,manager:U,renderStaticNode:I=!1,...ne},Te)=>{const oe=g.exports.useRef();e=Ce(e,"offcanvas");const{onToggle:re}=g.exports.useContext(Jn)||{},[de,He]=g.exports.useState(!1),We=TS(o||"xs","up");g.exports.useEffect(()=>{He(o?l&&!We:l)},[l,o,We]);const R=pt(()=>{re==null||re(),d==null||d()}),D=g.exports.useMemo(()=>({onHide:R}),[R]);function b(){return U||(c?(oe.current||(oe.current=new _S({handleContainerOverflow:!1})),oe.current):yS())}const F=(ce,...Re)=>{ce&&(ce.style.visibility="visible"),C==null||C(ce,...Re)},X=(ce,...Re)=>{ce&&(ce.style.visibility=""),N==null||N(...Re)},H=g.exports.useCallback(ce=>u("div",{...ce,className:ue(`${e}-backdrop`,k)}),[k,e]),ve=ce=>u("div",{...ce,...ne,className:ue(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return P(ll,{children:[!de&&(o||I)&&ve({}),u(zm.Provider,{value:D,children:u(hS,{show:de,ref:Te,backdrop:s,container:y,keyboard:a,autoFocus:x,enforceFocus:w&&!c,restoreFocus:A,restoreFocusOptions:v,onEscapeKeyDown:f,onShow:p,onHide:R,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:X,manager:b(),transition:MS,backdropTransition:$S,renderBackdrop:H,renderDialog:ve})})]})});Ym.displayName="Offcanvas";const Io=Object.assign(Ym,{Body:RS,Header:LS,Title:IS}),Xm=g.exports.forwardRef((e,t)=>{const n=g.exports.useContext(Jn);return u(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});Xm.displayName="NavbarOffcanvas";const FS=Xm,qm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=Ce(t,"navbar-text"),u(n,{ref:i,className:ue(e,t),...r})));qm.displayName="NavbarText";const jS=qm,Jm=g.exports.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:i="light",bg:o,fixed:l,sticky:s,className:a,as:c="nav",expanded:f,onToggle:p,onSelect:d,collapseOnSelect:y=!1,...x}=Sm(e,{expanded:"onToggle"}),w=Ce(n,"navbar"),A=g.exports.useCallback((...h)=>{d==null||d(...h),y&&f&&(p==null||p(!1))},[d,y,f,p]);x.role===void 0&&c!=="nav"&&(x.role="navigation");let v=`${w}-expand`;typeof r=="string"&&(v=`${v}-${r}`);const m=g.exports.useMemo(()=>({onToggle:()=>p==null?void 0:p(!f),bsPrefix:w,expanded:!!f,expand:r}),[w,f,r,p]);return u(Jn.Provider,{value:m,children:u(Gn.Provider,{value:A,children:u(c,{ref:t,...x,className:ue(a,w,r&&v,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});Jm.displayName="Navbar";const yo=Object.assign(Jm,{Brand:SS,Collapse:CS,Offcanvas:FS,Text:jS,Toggle:AS}),bS=()=>{let t=bt().pathname.substring(1);return P(B,{fluid:!0,className:"header_container",children:[u(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:u(B,{className:"align-items-end",children:P(yo.Brand,{id:"logo_nav_container",children:[P(Mt.Link,{href:"/",children:[u("img",{src:VE,alt:"logo",height:"100px",className:"main_logo"}),u("img",{src:GE,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]}),u(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),P(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbarLabel-expand-lg",placement:"end",backDrop:"true",className:"w-50",children:[u(Io.Header,{closeButton:!0,children:u(Io.Title,{id:"offcanvasNavbarLabel-expand-lg"})}),u(Io.Body,{className:"justify-content-end mb-2",children:P(Mt,{className:"navbar_column",children:[u(Mt.Link,{href:"#/Dienstleistungen","aria-current":"page",reloadDocument:!0,children:"Dienstleistungen"}),u(Mt.Link,{href:"#/Mitarbeitende",reloadDocument:!0,children:"\xDCber uns"}),u(Mt.Link,{href:"#/Themen",reloadDocument:!0,children:"Themen"}),u(Mt.Link,{href:"#/Projekte",reloadDocument:!0,children:"Projekte"}),u(Mt.Link,{href:"#/Kontakt",reloadDocument:!0,children:"Kontakt"})]})})]})]})})}),u(B,{fluid:!0,className:"title_pic_content",children:u(KE,{page:t})})]})},US="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",zS="_footer_609rw_3",BS="_footer_text_609rw_15",QS="_copyright_609rw_29",Ds={footer:zS,footer_text:BS,copyright:QS},HS=()=>u(B,{fluid:!0,className:`border-top ${Ds.footer}`,children:u(B,{className:"text-center",children:P("div",{className:"row flex-row-reverse",children:[u("section",{className:`col-xxl-6 text-xxl-end ${Ds.footer_text}`,children:P("span",{children:[u(Ue,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Ue,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Ue,{to:"/DataProtection",children:"Datenschutzerkl\xE4rung"})]})}),u("section",{id:"LinkedIn",className:"col-xxl-3 mb-md-2",children:u("a",{href:"https://www.linkedin.com/company/buerovatter-politikanalyse/",children:u("img",{src:US,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${Ds.copyright}`,children:"\xA9 2023 B\xFCro Vatter"})]})})}),Is=e=>{console.log(e.prop);const t=tt(),n=we(["downloads_1",`media/${e.prop}`,""],Ee);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),console.log(n.data.source_url),u("div",{children:u(Y,{children:u("a",{className:`${j.download_list}`,href:n.data.source_url,children:P("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.title.rendered)}}),u("img",{src:Fm,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},WS=()=>{const t=bt().state,n=t.acf,r=n.kooperationspartner.split(`\r + `,onClick:E,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:j.hr}),u(uE,{projects:oe,istlaufend:U,filterApplied:x})]})]})})]})};function vd(e){return u(cE,{children:u(AE,{...e})})}const kE="/bv2024_frontend/assets/map.33be5f33.png",NE="_message_1d0jn_1",TE="_contact_company_name_1d0jn_13",RE="_contact_addr_title_1d0jn_27",OE="_contact_addr_detail_1d0jn_43",PE="_addr_info_1d0jn_55",LE="_map_1d0jn_71",DE="_contact_info_1d0jn_85",IE="_email_link_1d0jn_97",ME="_reverse_row_1d0jn_105",ut={message:NE,contact_company_name:TE,contact_addr_title:RE,contact_addr_detail:OE,addr_info:PE,map:LE,contact_info:DE,email_link:IE,reverse_row:ME},$E=()=>P("div",{children:[u(B,{className:"categoryTitle",children:"KONTAKT"}),u(B,{className:`${ut.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),P(B,{children:[P(Y,{className:`${ut.reverse_row}`,children:[u(K,{xl:5,lg:4,xs:12,children:u("div",{children:P("div",{children:[P("div",{className:`${ut.contact_company_name}`,children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),P("div",{className:`${ut.contact_info}`,children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:`${ut.contact_info}`,children:"+41 31 312 65 75"}),u("br",{}),u("div",{children:u(Ue,{to:"",className:`${ut.contact_info} ${ut.email_link}`,children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),P(Y,{children:[u(K,{children:u(Ue,{to:"",className:`${ut.addr_info}`,children:"Google Maps"})}),u(K,{children:u(Ue,{to:"",className:`${ut.addr_info}`,children:"Printable Map"})})]})]})})}),u(K,{xl:7,lg:8,xs:12,children:u("img",{className:`${ut.map}`,src:kE,alt:"map"})})]}),u("div",{className:`${ut.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),P("p",{className:`${ut.contact_addr_detail}`,children:["Bus Nr. 12 Richtung Zentrum Paul Klee ben\xFCtzen, bis Haltestelle Nydegg. ",u("br",{}),"In Fahrtrichtung einige Meter weiter gehen, vor der Nydeggbr\xFCcke rechts via Nydeggtreppe in die Gerberngasse, dort rechts. Die Nr. 27 befindet sich ca. 300 m weiter auf der linken Seite. ",u("br",{}),"Der Eingang befindet sich an der Frontseite, gegen\xFCber dem Brunnen."]}),u("br",{})]})]}),FE=()=>u("div",{children:"Page Not Found"}),jE=()=>u(B,{className:"categoryTitle",children:"IMPRINT"}),bE=()=>u(B,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),Ts="/bv2024_frontend/assets/Home.d233cde0.png",UE="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",zE="/bv2024_frontend/assets/Kontakt.e3e8d695.png",BE="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",QE="/bv2024_frontend/assets/Home.d233cde0.png",HE="/bv2024_frontend/assets/Projekte.b5edb7d6.png",WE="/bv2024_frontend/assets/Projekte.b5edb7d6.png",KE="/bv2024_frontend/assets/Themen.e1598e5b.png",VE="_titleImg_18euy_1",GE="_caption_18euy_17",gd={titleImg:VE,caption:GE},YE=({page:e})=>{let t=e.split("/",1)[0],n=Ts,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Ts;break;case"Projekte":n=HE;break;case"Projekt":n=WE;break;case"Dienstleistungen":n=UE;break;case"Mitarbeitende":n=BE;break;case"Kontakt":n=zE;break;case"Themen":n=KE;break;case"NotMatch404":n=QE;break;default:r="",n=Ts;break}return u("div",{className:`${gd.titleImg}`,style:{backgroundImage:`url(${n})`},children:u("div",{className:`${gd.caption}`,children:u("div",{children:r})})})},XE="/bv2024_frontend/assets/bv_logo.21578d65.svg",qE="/bv2024_frontend/assets/side_logo.430b69df.svg";function ri(...e){return e.filter(t=>t!=null).reduce((t,n)=>{if(typeof n!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?n:function(...i){t.apply(this,i),n.apply(this,i)}},null)}const JE={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function ZE(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=JE[e];return r+parseInt(Yt(t,i[0]),10)+parseInt(Yt(t,i[1]),10)}const eS={[sn]:"collapse",[ji]:"collapsing",[kt]:"collapsing",[Wt]:"collapse show"},tS=Me.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:o,children:l,dimension:s="height",in:a=!1,timeout:c=300,mountOnEnter:f=!1,unmountOnExit:p=!1,appear:d=!1,getDimensionValue:y=ZE,...x},w)=>{const A=typeof s=="function"?s():s,v=g.exports.useMemo(()=>ri(S=>{S.style[A]="0"},e),[A,e]),m=g.exports.useMemo(()=>ri(S=>{const N=`scroll${A[0].toUpperCase()}${A.slice(1)}`;S.style[A]=`${S[N]}px`},t),[A,t]),h=g.exports.useMemo(()=>ri(S=>{S.style[A]=null},n),[A,n]),E=g.exports.useMemo(()=>ri(S=>{S.style[A]=`${y(A,S)}px`,vm(S)},r),[r,y,A]),C=g.exports.useMemo(()=>ri(S=>{S.style[A]=null},i),[A,i]);return u(Ju,{ref:w,addEndListener:qu,...x,"aria-expanded":x.role?a:null,onEnter:v,onEntering:m,onEntered:h,onExit:E,onExiting:C,childRef:l.ref,in:a,timeout:c,mountOnEnter:f,unmountOnExit:p,appear:d,children:(S,N)=>Me.cloneElement(l,{...N,className:ue(o,l.props.className,eS[S],A==="width"&&"collapse-horizontal")})})}),nS=tS,rS=e=>g.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ue(t.className,e)})),iS={"aria-label":Ct.exports.string,onClick:Ct.exports.func,variant:Ct.exports.oneOf(["white"])},nc=g.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>u("button",{ref:i,type:"button",className:ue("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));nc.displayName="CloseButton";nc.propTypes=iS;const oS=nc;function lS(e){const t=g.exports.useRef(e);return t.current=e,t}function sS(e){const t=lS(e);g.exports.useEffect(()=>()=>t.current(),[])}function yd(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const jm=g.exports.createContext(Ml?window:void 0);jm.Provider;function rc(){return g.exports.useContext(jm)}function Rs(e){e===void 0&&(e=Xu());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function aS(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const _d=$l("modal-open");class ic{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return aS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(Yt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(_d,""),Yt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(_d),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Os=(e,t)=>Ml?e==null?(t||Xu()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function uS(e,t){const n=rc(),[r,i]=g.exports.useState(()=>Os(e,n==null?void 0:n.document));if(!r){const o=Os(e);o&&i(o)}return g.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),g.exports.useEffect(()=>{const o=Os(e);o!==r&&i(o)},[e,r]),r}function cS({in:e,onTransition:t}){const n=g.exports.useRef(null),r=g.exports.useRef(!0),i=pt(t);return Wa(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Wa(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function fS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=g.exports.useState(!t);t&&o&&l(!1);const s=cS({in:!!t,onTransition:c=>{const f=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(f,p=>{throw c.in||l(!0),p})}}),a=Il(s,e.ref);return o&&!t?null:g.exports.cloneElement(e,{ref:a})}function xd(e,t,n){return e?u(e,Object.assign({},n)):t?u(fS,Object.assign({},n,{transition:t})):u(Yu,Object.assign({},n))}function dS(e){return e.code==="Escape"||e.keyCode===27}const pS=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function hS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}let Ps;function mS(e){return Ps||(Ps=new ic({ownerDocument:e==null?void 0:e.document})),Ps}function vS(e){const t=rc(),n=e||mS(t),r=g.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:g.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:g.exports.useCallback(i=>{r.current.backdrop=i},[])})}const bm=g.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:a=!0,onBackdropClick:c,onEscapeKeyDown:f,transition:p,runTransition:d,backdropTransition:y,runBackdropTransition:x,autoFocus:w=!0,enforceFocus:A=!0,restoreFocus:v=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=q=>u("div",Object.assign({},q)),manager:C,container:S,onShow:N,onHide:k=()=>{},onExit:U,onExited:I,onExiting:ne,onEnter:Te,onEntering:oe,onEntered:re}=e,de=hS(e,pS);const He=rc(),We=uS(S),R=vS(C),D=cx(),b=fx(n),[F,X]=g.exports.useState(!n),H=g.exports.useRef(null);g.exports.useImperativeHandle(t,()=>R,[R]),Ml&&!b&&n&&(H.current=Rs(He==null?void 0:He.document)),n&&F&&X(!1);const ve=pt(()=>{if(R.add(),Lt.current=dl(document,"keydown",Ki),Zn.current=dl(document,"focus",()=>setTimeout(Re),!0),N&&N(),w){var q,Tn;const tr=Rs((q=(Tn=R.dialog)==null?void 0:Tn.ownerDocument)!=null?q:He==null?void 0:He.document);R.dialog&&tr&&!yd(R.dialog,tr)&&(H.current=tr,R.dialog.focus())}}),ce=pt(()=>{if(R.remove(),Lt.current==null||Lt.current(),Zn.current==null||Zn.current(),v){var q;(q=H.current)==null||q.focus==null||q.focus(m),H.current=null}});g.exports.useEffect(()=>{!n||!We||ve()},[n,We,ve]),g.exports.useEffect(()=>{!F||ce()},[F,ce]),sS(()=>{ce()});const Re=pt(()=>{if(!A||!D()||!R.isTopModal())return;const q=Rs(He==null?void 0:He.document);R.dialog&&q&&!yd(R.dialog,q)&&R.dialog.focus()}),Pt=pt(q=>{q.target===q.currentTarget&&(c==null||c(q),s===!0&&k())}),Ki=pt(q=>{a&&dS(q)&&R.isTopModal()&&(f==null||f(q),q.defaultPrevented||k())}),Zn=g.exports.useRef(),Lt=g.exports.useRef(),Ut=(...q)=>{X(!0),I==null||I(...q)};if(!We)return null;const er=Object.assign({role:r,ref:R.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},de,{style:o,className:i,tabIndex:-1});let Nn=h?h(er):u("div",Object.assign({},er,{children:g.exports.cloneElement(l,{role:"document"})}));Nn=xd(p,d,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:U,onExiting:ne,onExited:Ut,onEnter:Te,onEntering:oe,onEntered:re,children:Nn});let xt=null;return s&&(xt=E({ref:R.setBackdropRef,onClick:Pt}),xt=xd(y,x,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:xt})),u(ll,{children:wr.createPortal(P(ll,{children:[xt,Nn]}),We)})});bm.displayName="Modal";const gS=Object.assign(bm,{Manager:ic});function yS(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function _S(e,t){e.classList?e.classList.add(t):yS(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wd(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function xS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wd(e.className,t):e.setAttribute("class",wd(e.className&&e.className.baseVal||"",t))}const ar={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Um extends ic{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Yt(n,{[t]:`${parseFloat(Yt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Yt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(_S(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Mn(n,ar.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),Mn(n,ar.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Mn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();xS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Mn(n,ar.FIXED_CONTENT).forEach(o=>this.restore(r,o)),Mn(n,ar.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Mn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ls;function wS(e){return Ls||(Ls=new Um(e)),Ls}const ES=Um,SS=g.exports.createContext({onHide(){}}),zm=SS,CS=g.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=g.exports.useContext(zm),a=pt(()=>{s==null||s.onHide(),r==null||r()});return P("div",{ref:l,...o,children:[i,n&&u(oS,{"aria-label":e,variant:t,onClick:a})]})}),AS=CS,Bm=g.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=Ce(e,"navbar-brand");const o=n||(r.href?"a":"span");return u(o,{...r,ref:i,className:ue(t,e)})});Bm.displayName="NavbarBrand";const kS=Bm,Qm=g.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=Ce(t,"navbar-collapse");const i=g.exports.useContext(Jn);return u(nS,{in:!!(i&&i.expanded),...n,children:u("div",{ref:r,className:t,children:e})})});Qm.displayName="NavbarCollapse";const NS=Qm,Hm=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=Ce(e,"navbar-toggler");const{onToggle:a,expanded:c}=g.exports.useContext(Jn)||{},f=pt(p=>{o&&o(p),a&&a()});return i==="button"&&(l.type="button"),u(i,{...l,ref:s,onClick:f,"aria-label":r,className:ue(t,e,!c&&"collapsed"),children:n||u("span",{className:`${e}-icon`})})});Hm.displayName="NavbarToggle";const TS=Hm,Ka=new WeakMap,Ed=(e,t)=>{if(!e||!t)return;const n=Ka.get(t)||new Map;Ka.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function RS(e,t=typeof window>"u"?void 0:window){const n=Ed(e,t),[r,i]=g.exports.useState(()=>n?n.matches:!1);return Wa(()=>{let o=Ed(e,t);if(!o)return i(!1);let l=Ka.get(t);const s=()=>{i(o.matches)};return o.refCount++,o.addListener(s),s(),()=>{o.removeListener(s),o.refCount--,o.refCount<=0&&(l==null||l.delete(o.media)),o=void 0}},[e]),r}function OS(e){const t=Object.keys(e);function n(s,a){return s===a?a:s?`${s} and ${a}`:a}function r(s){return t[Math.min(t.indexOf(s)+1,t.length-1)]}function i(s){const a=r(s);let c=e[a];return typeof c=="number"?c=`${c-.2}px`:c=`calc(${c} - 0.2px)`,`(max-width: ${c})`}function o(s){let a=e[s];return typeof a=="number"&&(a=`${a}px`),`(min-width: ${a})`}function l(s,a,c){let f;typeof s=="object"?(f=s,c=a,a=!0):(a=a||!0,f={[s]:a});let p=g.exports.useMemo(()=>Object.entries(f).reduce((d,[y,x])=>((x==="up"||x===!0)&&(d=n(d,o(y))),(x==="down"||x===!0)&&(d=n(d,i(y))),d),""),[JSON.stringify(f)]);return RS(p,c)}return l}const PS=OS({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Wm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Ce(t,"offcanvas-body"),u(n,{ref:i,className:ue(e,t),...r})));Wm.displayName="OffcanvasBody";const LS=Wm,DS={[kt]:"show",[Wt]:"show"},Km=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},a)=>(e=Ce(e,"offcanvas"),u(Ju,{ref:a,addEndListener:qu,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,f)=>g.exports.cloneElement(n,{...f,className:ue(t,n.props.className,(c===kt||c===ji)&&`${e}-toggling`,DS[c])})})));Km.displayName="OffcanvasToggling";const IS=Km,Vm=g.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=Ce(e,"offcanvas-header"),u(AS,{ref:o,...i,className:ue(t,e),closeLabel:n,closeButton:r})));Vm.displayName="OffcanvasHeader";const MS=Vm,$S=rS("h5"),Gm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n=$S,...r},i)=>(t=Ce(t,"offcanvas-title"),u(n,{ref:i,className:ue(e,t),...r})));Gm.displayName="OffcanvasTitle";const FS=Gm;function jS(e){return u(IS,{...e})}function bS(e){return u(Zu,{...e})}const Ym=g.exports.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:i="start",responsive:o,show:l=!1,backdrop:s=!0,keyboard:a=!0,scroll:c=!1,onEscapeKeyDown:f,onShow:p,onHide:d,container:y,autoFocus:x=!0,enforceFocus:w=!0,restoreFocus:A=!0,restoreFocusOptions:v,onEntered:m,onExit:h,onExiting:E,onEnter:C,onEntering:S,onExited:N,backdropClassName:k,manager:U,renderStaticNode:I=!1,...ne},Te)=>{const oe=g.exports.useRef();e=Ce(e,"offcanvas");const{onToggle:re}=g.exports.useContext(Jn)||{},[de,He]=g.exports.useState(!1),We=PS(o||"xs","up");g.exports.useEffect(()=>{He(o?l&&!We:l)},[l,o,We]);const R=pt(()=>{re==null||re(),d==null||d()}),D=g.exports.useMemo(()=>({onHide:R}),[R]);function b(){return U||(c?(oe.current||(oe.current=new ES({handleContainerOverflow:!1})),oe.current):wS())}const F=(ce,...Re)=>{ce&&(ce.style.visibility="visible"),C==null||C(ce,...Re)},X=(ce,...Re)=>{ce&&(ce.style.visibility=""),N==null||N(...Re)},H=g.exports.useCallback(ce=>u("div",{...ce,className:ue(`${e}-backdrop`,k)}),[k,e]),ve=ce=>u("div",{...ce,...ne,className:ue(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return P(ll,{children:[!de&&(o||I)&&ve({}),u(zm.Provider,{value:D,children:u(gS,{show:de,ref:Te,backdrop:s,container:y,keyboard:a,autoFocus:x,enforceFocus:w&&!c,restoreFocus:A,restoreFocusOptions:v,onEscapeKeyDown:f,onShow:p,onHide:R,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:X,manager:b(),transition:jS,backdropTransition:bS,renderBackdrop:H,renderDialog:ve})})]})});Ym.displayName="Offcanvas";const Io=Object.assign(Ym,{Body:LS,Header:MS,Title:FS}),Xm=g.exports.forwardRef((e,t)=>{const n=g.exports.useContext(Jn);return u(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});Xm.displayName="NavbarOffcanvas";const US=Xm,qm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=Ce(t,"navbar-text"),u(n,{ref:i,className:ue(e,t),...r})));qm.displayName="NavbarText";const zS=qm,Jm=g.exports.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:i="light",bg:o,fixed:l,sticky:s,className:a,as:c="nav",expanded:f,onToggle:p,onSelect:d,collapseOnSelect:y=!1,...x}=Sm(e,{expanded:"onToggle"}),w=Ce(n,"navbar"),A=g.exports.useCallback((...h)=>{d==null||d(...h),y&&f&&(p==null||p(!1))},[d,y,f,p]);x.role===void 0&&c!=="nav"&&(x.role="navigation");let v=`${w}-expand`;typeof r=="string"&&(v=`${v}-${r}`);const m=g.exports.useMemo(()=>({onToggle:()=>p==null?void 0:p(!f),bsPrefix:w,expanded:!!f,expand:r}),[w,f,r,p]);return u(Jn.Provider,{value:m,children:u(Gn.Provider,{value:A,children:u(c,{ref:t,...x,className:ue(a,w,r&&v,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});Jm.displayName="Navbar";const yo=Object.assign(Jm,{Brand:kS,Collapse:NS,Offcanvas:US,Text:zS,Toggle:TS}),BS=()=>{let t=bt().pathname.substring(1);return P(B,{fluid:!0,className:"header_container",children:[u(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:u(B,{className:"align-items-end",children:P(yo.Brand,{id:"logo_nav_container",children:[P(Mt.Link,{href:"#/",children:[u("img",{src:XE,alt:"logo",height:"100px",className:"main_logo"}),u("img",{src:qE,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]}),u(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),P(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbarLabel-expand-lg",placement:"end",backDrop:"true",className:"w-50",children:[u(Io.Header,{closeButton:!0,children:u(Io.Title,{id:"offcanvasNavbarLabel-expand-lg"})}),u(Io.Body,{className:"justify-content-end mb-2",children:P(Mt,{className:"navbar_column",children:[u(Mt.Link,{href:"#/Dienstleistungen","aria-current":"page",reloadDocument:!0,children:"Dienstleistungen"}),u(Mt.Link,{href:"#/Mitarbeitende",reloadDocument:!0,children:"\xDCber uns"}),u(Mt.Link,{href:"#/Themen",reloadDocument:!0,children:"Themen"}),u(Mt.Link,{href:"#/Projekte",reloadDocument:!0,children:"Projekte"}),u(Mt.Link,{href:"#/Kontakt",reloadDocument:!0,children:"Kontakt"})]})})]})]})})}),u(B,{fluid:!0,className:"title_pic_content",children:u(YE,{page:t})})]})},QS="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",HS="_footer_609rw_3",WS="_footer_text_609rw_15",KS="_copyright_609rw_29",Ds={footer:HS,footer_text:WS,copyright:KS},VS=()=>u(B,{fluid:!0,className:`border-top ${Ds.footer}`,children:u(B,{className:"text-center",children:P("div",{className:"row flex-row-reverse",children:[u("section",{className:`col-xxl-6 text-xxl-end ${Ds.footer_text}`,children:P("span",{children:[u(Ue,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Ue,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Ue,{to:"/DataProtection",children:"Datenschutzerkl\xE4rung"})]})}),u("section",{id:"LinkedIn",className:"col-xxl-3 mb-md-2",children:u("a",{href:"https://www.linkedin.com/company/buerovatter-politikanalyse/",children:u("img",{src:QS,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${Ds.copyright}`,children:"\xA9 2023 B\xFCro Vatter"})]})})}),Is=e=>{console.log(e.prop);const t=tt(),n=we(["downloads_1",`media/${e.prop}`,""],Ee);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),console.log(n.data.source_url),u("div",{children:u(Y,{children:u("a",{className:`${j.download_list}`,href:n.data.source_url,children:P("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Vn.sanitize(n.data.title.rendered)}}),u("img",{src:Fm,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},GS=()=>{const t=bt().state,n=t.acf,r=n.kooperationspartner.split(`\r `),i=n.vorgehenmethoden.split(`\r -`);return console.log(t),P("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:P(Y,{children:[u(K,{xl:4,children:u("div",{className:`${j.back_btn_projectdetail} text_color`,children:u(Ue,{to:"/Projekte",children:"ZUR\xDCCK"})})}),P(K,{xl:8,children:[u(Y,{children:u(K,{className:`${j.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Kooperationspartner"}),u(K,{className:`${j.detail_right}`,xl:9,children:r.map((o,l)=>u("ul",{className:`${j.partner}`,children:o},l))}),u("hr",{})]}):null,n.auftraggeber?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Auftraggeber"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.auftraggeber}),u("hr",{})]}):null,n.Jahr?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Laufzeit"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.Jahr}),u("hr",{})]}):null,n.inhalte?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Inhalte"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.inhalte}),u("hr",{})]}):null,n.vorgehenmethoden?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),u(K,{className:`${j.detail_right}`,xl:9,children:i.map((o,l)=>P("ul",{className:`${j.method}`,children:["-",o]},l))}),u("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?u(Y,{children:P(K,{children:[u(Y,{className:`${j.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_1})}):null,n.downloads_2?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_2})}):null,n.downloads_3?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_3})}):null,u("hr",{})]})}):null]})]})})]})},KS=()=>{const{pathname:e}=bt();return g.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},VS=new q0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),GS=()=>u("div",{className:"App",children:P(I0,{onUpdate:()=>window.scrollTo(0,0),children:[P(f_,{client:VS,children:[u(bS,{}),P(T0,{forceRefresh:!0,children:[u(Ge,{path:"/",element:u(o1,{})}),u(Ge,{path:"/Dienstleistungen",element:u(hd,{})}),u(Ge,{path:"/Dienstleistungen/:id",element:u(hd,{})}),u(Ge,{path:"/Mitarbeitende",element:u(rw,{})}),u(Ge,{path:"/Mitarbeitende/:id",element:u(cw,{})}),u(Ge,{path:"/Themen",element:u(_w,{})}),u(Ge,{path:"/Projekte",element:u(vd,{})}),u(Ge,{path:"/Projekte/:id",element:u(vd,{})}),u(Ge,{path:"/Projekt/:title",element:u(WS,{})}),u(Ge,{path:"/Kontakt",element:u(DE,{})}),u(Ge,{path:"/Imprint",element:u(ME,{})}),u(Ge,{path:"/DataProtection",element:u($E,{})}),u(Ge,{path:"*",element:u(IE,{})})]}),u(HS,{})]}),u(KS,{})]})}),YS=document.getElementById("root"),XS=Lh(YS);XS.render(u(GS,{})); +`);return console.log(t),P("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:P(Y,{children:[u(K,{xl:4,children:u("div",{className:`${j.back_btn_projectdetail} text_color`,children:u(Ue,{to:"/Projekte",children:"ZUR\xDCCK"})})}),P(K,{xl:8,children:[u(Y,{children:u(K,{className:`${j.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Kooperationspartner"}),u(K,{className:`${j.detail_right}`,xl:9,children:r.map((o,l)=>u("ul",{className:`${j.partner}`,children:o},l))}),u("hr",{})]}):null,n.auftraggeber?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Auftraggeber"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.auftraggeber}),u("hr",{})]}):null,n.Jahr?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Laufzeit"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.Jahr}),u("hr",{})]}):null,n.inhalte?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Inhalte"}),u(K,{className:`${j.detail_right}`,xl:9,children:n.inhalte}),u("hr",{})]}):null,n.vorgehenmethoden?P(Y,{children:[u(K,{className:`${j.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),u(K,{className:`${j.detail_right}`,xl:9,children:i.map((o,l)=>P("ul",{className:`${j.method}`,children:["-",o]},l))}),u("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?u(Y,{children:P(K,{children:[u(Y,{className:`${j.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_1})}):null,n.downloads_2?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_2})}):null,n.downloads_3?u(Y,{className:`${j.detail_right}`,xl:9,children:u(Is,{prop:n.downloads_3})}):null,u("hr",{})]})}):null]})]})})]})},YS=()=>{const{pathname:e}=bt();return g.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},XS=new q0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),qS=()=>u("div",{className:"App",children:P(I0,{onUpdate:()=>window.scrollTo(0,0),children:[P(f_,{client:XS,children:[u(BS,{}),P(T0,{forceRefresh:!0,children:[u(Ge,{path:"/",element:u(o1,{})}),u(Ge,{path:"/Dienstleistungen",element:u(hd,{})}),u(Ge,{path:"/Dienstleistungen/:id",element:u(hd,{})}),u(Ge,{path:"/Mitarbeitende",element:u(lw,{})}),u(Ge,{path:"/Mitarbeitende/:id",element:u(pw,{})}),u(Ge,{path:"/Themen",element:u(Ew,{})}),u(Ge,{path:"/Projekte",element:u(vd,{})}),u(Ge,{path:"/Projekte/:id",element:u(vd,{})}),u(Ge,{path:"/Projekt/:title",element:u(GS,{})}),u(Ge,{path:"/Kontakt",element:u($E,{})}),u(Ge,{path:"/Imprint",element:u(jE,{})}),u(Ge,{path:"/DataProtection",element:u(bE,{})}),u(Ge,{path:"*",element:u(FE,{})})]}),u(VS,{})]}),u(YS,{})]})}),JS=document.getElementById("root"),ZS=Lh(JS);ZS.render(u(qS,{})); diff --git a/index.html b/index.html index 3ba2397..c703bdc 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Buero Vatter - +