diff --git a/dist/assets/NotMatch404.d233cde0.png b/dist/assets/Home.d233cde0.png similarity index 100% rename from dist/assets/NotMatch404.d233cde0.png rename to dist/assets/Home.d233cde0.png diff --git a/dist/assets/Projekte.b5edb7d6.png b/dist/assets/Projekt.b5edb7d6.png similarity index 100% rename from dist/assets/Projekte.b5edb7d6.png rename to dist/assets/Projekt.b5edb7d6.png diff --git a/dist/assets/index.57bd0557.js b/dist/assets/index.e9e58a91.js similarity index 88% rename from dist/assets/index.57bd0557.js rename to dist/assets/index.e9e58a91.js index 29c2c72..2152267 100644 --- a/dist/assets/index.57bd0557.js +++ b/dist/assets/index.e9e58a91.js @@ -14,7 +14,7 @@ var fg=Object.defineProperty;var pg=(e,t,n)=>t in e?fg(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(P,b){var z=P.length;P.push(b);e:for(;0>>1,X=P[F];if(0>>1;Fi(de,z))Oei(Dt,de)?(P[F]=Dt,P[Oe]=z,F=Oe):(P[F]=de,P[ve]=z,F=ve);else if(Oei(Dt,z))P[F]=Dt,P[Oe]=z,F=Oe;else break e}}return b}function i(P,b){var z=P.sortIndex-b.sortIndex;return z!==0?z:P.id-b.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],c=[],d=1,p=null,f=3,y=!1,_=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var b=n(c);b!==null;){if(b.callback===null)r(c);else if(b.startTime<=P)r(c),b.sortIndex=b.expirationTime,t(a,b);else break;b=n(c)}}function E(P){if(w=!1,h(P),!_)if(n(a)!==null)_=!0,Ke(C);else{var b=n(c);b!==null&&Ve(E,b.startTime-P)}}function C(P,b){_=!1,w&&(w=!1,g(N),N=-1),y=!0;var z=f;try{for(h(b),p=n(a);p!==null&&(!(p.expirationTime>b)||P&&!re());){var F=p.callback;if(typeof F=="function"){p.callback=null,f=p.priorityLevel;var X=F(p.expirationTime<=b);b=e.unstable_now(),typeof X=="function"?p.callback=X:p===n(a)&&r(a),h(b)}else r(a);p=n(a)}if(p!==null)var Q=!0;else{var ve=n(c);ve!==null&&Ve(E,ve.startTime-b),Q=!1}return Q}finally{p=null,f=z,y=!1}}var S=!1,T=null,N=-1,j=5,L=-1;function re(){return!(e.unstable_now()-LP||125F?(P.sortIndex=z,t(c,P),n(a)===null&&P===n(c)&&(w?(g(N),N=-1):w=!0,Ve(E,z-F))):(P.sortIndex=X,t(a,P),_||y||(_=!0,Ke(C))),P},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(P){var b=f;return function(){var z=f;f=b;try{return P.apply(this,arguments)}finally{f=z}}}})($f);(function(e){e.exports=$f})(Mf);/** + */(function(e){function t(P,b){var z=P.length;P.push(b);e:for(;0>>1,X=P[F];if(0>>1;Fi(de,z))Oei(Dt,de)?(P[F]=Dt,P[Oe]=z,F=Oe):(P[F]=de,P[ve]=z,F=ve);else if(Oei(Dt,z))P[F]=Dt,P[Oe]=z,F=Oe;else break e}}return b}function i(P,b){var z=P.sortIndex-b.sortIndex;return z!==0?z:P.id-b.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],c=[],d=1,p=null,f=3,y=!1,_=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var b=n(c);b!==null;){if(b.callback===null)r(c);else if(b.startTime<=P)r(c),b.sortIndex=b.expirationTime,t(a,b);else break;b=n(c)}}function E(P){if(w=!1,h(P),!_)if(n(a)!==null)_=!0,Ve(C);else{var b=n(c);b!==null&&Ge(E,b.startTime-P)}}function C(P,b){_=!1,w&&(w=!1,g(N),N=-1),y=!0;var z=f;try{for(h(b),p=n(a);p!==null&&(!(p.expirationTime>b)||P&&!re());){var F=p.callback;if(typeof F=="function"){p.callback=null,f=p.priorityLevel;var X=F(p.expirationTime<=b);b=e.unstable_now(),typeof X=="function"?p.callback=X:p===n(a)&&r(a),h(b)}else r(a);p=n(a)}if(p!==null)var Q=!0;else{var ve=n(c);ve!==null&&Ge(E,ve.startTime-b),Q=!1}return Q}finally{p=null,f=z,y=!1}}var S=!1,T=null,N=-1,j=5,L=-1;function re(){return!(e.unstable_now()-LP||125F?(P.sortIndex=z,t(c,P),n(a)===null&&P===n(c)&&(w?(g(N),N=-1):w=!0,Ge(E,z-F))):(P.sortIndex=X,t(a,P),_||y||(_=!0,Ve(C))),P},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(P){var b=f;return function(){var z=f;f=b;try{return P.apply(this,arguments)}finally{f=z}}}})($f);(function(e){e.exports=$f})(Mf);/** * @license React * react-dom.production.min.js * @@ -27,9 +27,9 @@ var fg=Object.defineProperty;var pg=(e,t,n)=>t in e?fg(e,t,{enumerable:!0,config `),o=r.stack.split(` `),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=` `+i[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Gl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function Lg(e){switch(e.tag){case 5:return oi(e.type);case 16:return oi("Lazy");case 13:return oi("Suspense");case 19:return oi("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1),e;case 11:return e=ql(e.type.render,!1),e;case 1:return e=ql(e.type,!0),e;default:return""}}function Ws(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ur:return"Fragment";case ar:return"Portal";case js:return"Profiler";case iu:return"StrictMode";case Us:return"Suspense";case Bs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Uf:return(e.displayName||"Context")+".Consumer";case jf:return(e._context.displayName||"Context")+".Provider";case ou:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lu:return t=e.displayName||null,t!==null?t:Ws(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return Ws(e(t))}catch{}}return null}function Ig(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ws(t);case 8:return t===iu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mg(e){var t=Wf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=Mg(e))}function Hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Wf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Hs(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Ic(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Qf(e,t){t=t.checked,t!=null&&ru(e,"checked",t,!1)}function Qs(e,t){Qf(e,t);var n=wn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ks(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ks(e,t.type,wn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ks(e,t,n){(t!=="number"||Mo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function wr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Zi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var di={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$g=["Webkit","ms","Moz","O"];Object.keys(di).forEach(function(e){$g.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),di[t]=di[e]})});function qf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||di.hasOwnProperty(e)&&di[e]?(""+t).trim():t+"px"}function Yf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=qf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Fg=ue({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function qs(e,t){if(t){if(Fg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function Ys(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xs=null;function su(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zs=null,Er=null,Sr=null;function zc(e){if(e=Wi(e)){if(typeof Zs!="function")throw Error(A(280));var t=e.stateNode;t&&(t=xl(t),Zs(e.stateNode,e.type,t))}}function Xf(e){Er?Sr?Sr.push(e):Sr=[e]:Er=e}function Zf(){if(Er){var e=Er,t=Sr;if(Sr=Er=null,zc(e),t)for(e=0;e>>=0,e===0?32:31-(qg(e)/Yg|0)|0}var Ji=64,eo=4194304;function si(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=si(s):(o&=l,o!==0&&(r=si(o)))}else l=n&~i,l!==0?r=si(l):o!==0&&(r=si(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ui(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function ev(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=pi),Gc=String.fromCharCode(32),qc=!1;function yp(e,t){switch(e){case"keyup":return Av.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _p(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var cr=!1;function Pv(e,t){switch(e){case"compositionend":return _p(t);case"keypress":return t.which!==32?null:(qc=!0,Gc);case"textInput":return e=t.data,e===Gc&&qc?null:e;default:return null}}function Ov(e,t){if(cr)return e==="compositionend"||!mu&&yp(e,t)?(e=gp(),Eo=fu=un=null,cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Jc(n)}}function Sp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cp(){for(var e=window,t=Mo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mo(e.document)}return t}function gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jv(e){var t=Cp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sp(n.ownerDocument.documentElement,n)){if(r!==null&&gu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ed(n,o);var l=ed(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,dr=null,ia=null,mi=null,oa=!1;function td(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oa||dr==null||dr!==Mo(r)||(r=dr,"selectionStart"in r&&gu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),mi&&Ti(mi,r)||(mi=r,r=Wo(ia,"onSelect"),0hr||(e.current=da[hr],da[hr]=null,hr--)}function ee(e,t){hr++,da[hr]=e.current,e.current=t}var En={},Fe=Cn(En),Je=Cn(!1),Un=En;function Ar(e,t){var n=e.type.contextTypes;if(!n)return En;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function et(e){return e=e.childContextTypes,e!=null}function Qo(){ne(Je),ne(Fe)}function ad(e,t,n){if(Fe.current!==En)throw Error(A(168));ee(Fe,t),ee(Je,n)}function bp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(A(108,Ig(e)||"Unknown",i));return ue({},n,r)}function Ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Un=Fe.current,ee(Fe,e),ee(Je,Je.current),!0}function ud(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=bp(e,t,Un),r.__reactInternalMemoizedMergedChildContext=e,ne(Je),ne(Fe),ee(Fe,e)):ne(Je),ee(Je,n)}var Wt=null,wl=!1,us=!1;function Lp(e){Wt===null?Wt=[e]:Wt.push(e)}function Zv(e){wl=!0,Lp(e)}function kn(){if(!us&&Wt!==null){us=!0;var e=0,t=Y;try{var n=Wt;for(Y=1;e>=l,i-=l,Qt=1<<32-Tt(t)+i|n<N?(j=T,T=null):j=T.sibling;var L=f(g,T,h[N],E);if(L===null){T===null&&(T=j);break}e&&T&&L.alternate===null&&t(g,T),m=o(L,m,N),S===null?C=L:S.sibling=L,S=L,T=j}if(N===h.length)return n(g,T),oe&&On(g,N),C;if(T===null){for(;NN?(j=T,T=null):j=T.sibling;var re=f(g,T,L.value,E);if(re===null){T===null&&(T=j);break}e&&T&&re.alternate===null&&t(g,T),m=o(re,m,N),S===null?C=re:S.sibling=re,S=re,T=j}if(L.done)return n(g,T),oe&&On(g,N),C;if(T===null){for(;!L.done;N++,L=h.next())L=p(g,L.value,E),L!==null&&(m=o(L,m,N),S===null?C=L:S.sibling=L,S=L);return oe&&On(g,N),C}for(T=r(g,T);!L.done;N++,L=h.next())L=y(T,g,N,L.value,E),L!==null&&(e&&L.alternate!==null&&T.delete(L.key===null?N:L.key),m=o(L,m,N),S===null?C=L:S.sibling=L,S=L);return e&&T.forEach(function(Pe){return t(g,Pe)}),oe&&On(g,N),C}function k(g,m,h,E){if(typeof h=="object"&&h!==null&&h.type===ur&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Yi:e:{for(var C=h.key,S=m;S!==null;){if(S.key===C){if(C=h.type,C===ur){if(S.tag===7){n(g,S.sibling),m=i(S,h.props.children),m.return=g,g=m;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===nn&&gd(C)===S.type){n(g,S.sibling),m=i(S,h.props),m.ref=qr(g,S,h),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}h.type===ur?(m=jn(h.props.children,g.mode,E,h.key),m.return=g,g=m):(E=Po(h.type,h.key,h.props,null,g.mode,E),E.ref=qr(g,m,h),E.return=g,g=E)}return l(g);case ar:e:{for(S=h.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(g,m.sibling),m=i(m,h.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=vs(h,g.mode,E),m.return=g,g=m}return l(g);case nn:return S=h._init,k(g,m,S(h._payload),E)}if(li(h))return _(g,m,h,E);if(Hr(h))return w(g,m,h,E);so(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,h),m.return=g,g=m):(n(g,m),m=gs(h,g.mode,E),m.return=g,g=m),l(g)):n(g,m)}return k}var Pr=Bp(!0),Wp=Bp(!1),Hi={},Ft=Cn(Hi),Oi=Cn(Hi),Di=Cn(Hi);function $n(e){if(e===Hi)throw Error(A(174));return e}function ku(e,t){switch(ee(Di,t),ee(Oi,e),ee(Ft,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gs(t,e)}ne(Ft),ee(Ft,t)}function Or(){ne(Ft),ne(Oi),ne(Di)}function Hp(e){$n(Di.current);var t=$n(Ft.current),n=Gs(t,e.type);t!==n&&(ee(Oi,e),ee(Ft,n))}function Nu(e){Oi.current===e&&(ne(Ft),ne(Oi))}var se=Cn(0);function Zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function Tu(){for(var e=0;en?n:4,e(!0);var r=ds.transition;ds.transition={};try{e(!1),t()}finally{Y=n,ds.transition=r}}function lh(){return vt().memoizedState}function ny(e,t,n){var r=yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sh(e))ah(t,n);else if(n=Fp(e,t,n,r),n!==null){var i=Ue();At(n,e,r,i),uh(n,t,r)}}function ry(e,t,n){var r=yn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sh(e))ah(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Rt(s,l)){var a=t.interleaved;a===null?(i.next=i,Su(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Fp(e,t,i,r),n!==null&&(i=Ue(),At(n,e,r,i),uh(n,t,r))}}function sh(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function ah(e,t){gi=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uh(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uu(e,n)}}var el={readContext:gt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},iy={readContext:gt,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:yd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,th.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=It();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=It();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ny.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:vd,useDebugValue:Du,useDeferredValue:function(e){return It().memoizedState=e},useTransition:function(){var e=vd(!1),t=e[0];return e=ty.bind(null,e[1]),It().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,i=It();if(oe){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Ce===null)throw Error(A(349));(Wn&30)!==0||Vp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,yd(qp.bind(null,r,o,e),[e]),r.flags|=2048,Ii(9,Gp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=It(),t=Ce.identifierPrefix;if(oe){var n=Kt,r=Qt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bi++,0hr||(e.current=da[hr],da[hr]=null,hr--)}function ee(e,t){hr++,da[hr]=e.current,e.current=t}var En={},Fe=Cn(En),et=Cn(!1),Un=En;function Ar(e,t){var n=e.type.contextTypes;if(!n)return En;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tt(e){return e=e.childContextTypes,e!=null}function Qo(){ne(et),ne(Fe)}function ad(e,t,n){if(Fe.current!==En)throw Error(A(168));ee(Fe,t),ee(et,n)}function bp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(A(108,Ig(e)||"Unknown",i));return ue({},n,r)}function Ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Un=Fe.current,ee(Fe,e),ee(et,et.current),!0}function ud(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=bp(e,t,Un),r.__reactInternalMemoizedMergedChildContext=e,ne(et),ne(Fe),ee(Fe,e)):ne(et),ee(et,n)}var Wt=null,wl=!1,us=!1;function Lp(e){Wt===null?Wt=[e]:Wt.push(e)}function Zv(e){wl=!0,Lp(e)}function kn(){if(!us&&Wt!==null){us=!0;var e=0,t=Y;try{var n=Wt;for(Y=1;e>=l,i-=l,Qt=1<<32-Tt(t)+i|n<N?(j=T,T=null):j=T.sibling;var L=f(g,T,h[N],E);if(L===null){T===null&&(T=j);break}e&&T&&L.alternate===null&&t(g,T),m=o(L,m,N),S===null?C=L:S.sibling=L,S=L,T=j}if(N===h.length)return n(g,T),oe&&On(g,N),C;if(T===null){for(;NN?(j=T,T=null):j=T.sibling;var re=f(g,T,L.value,E);if(re===null){T===null&&(T=j);break}e&&T&&re.alternate===null&&t(g,T),m=o(re,m,N),S===null?C=re:S.sibling=re,S=re,T=j}if(L.done)return n(g,T),oe&&On(g,N),C;if(T===null){for(;!L.done;N++,L=h.next())L=p(g,L.value,E),L!==null&&(m=o(L,m,N),S===null?C=L:S.sibling=L,S=L);return oe&&On(g,N),C}for(T=r(g,T);!L.done;N++,L=h.next())L=y(T,g,N,L.value,E),L!==null&&(e&&L.alternate!==null&&T.delete(L.key===null?N:L.key),m=o(L,m,N),S===null?C=L:S.sibling=L,S=L);return e&&T.forEach(function(Pe){return t(g,Pe)}),oe&&On(g,N),C}function k(g,m,h,E){if(typeof h=="object"&&h!==null&&h.type===ur&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Yi:e:{for(var C=h.key,S=m;S!==null;){if(S.key===C){if(C=h.type,C===ur){if(S.tag===7){n(g,S.sibling),m=i(S,h.props.children),m.return=g,g=m;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===nn&&gd(C)===S.type){n(g,S.sibling),m=i(S,h.props),m.ref=qr(g,S,h),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}h.type===ur?(m=jn(h.props.children,g.mode,E,h.key),m.return=g,g=m):(E=Po(h.type,h.key,h.props,null,g.mode,E),E.ref=qr(g,m,h),E.return=g,g=E)}return l(g);case ar:e:{for(S=h.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(g,m.sibling),m=i(m,h.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=vs(h,g.mode,E),m.return=g,g=m}return l(g);case nn:return S=h._init,k(g,m,S(h._payload),E)}if(li(h))return _(g,m,h,E);if(Hr(h))return w(g,m,h,E);so(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,h),m.return=g,g=m):(n(g,m),m=gs(h,g.mode,E),m.return=g,g=m),l(g)):n(g,m)}return k}var Pr=Bp(!0),Wp=Bp(!1),Hi={},Ft=Cn(Hi),Oi=Cn(Hi),Di=Cn(Hi);function $n(e){if(e===Hi)throw Error(A(174));return e}function ku(e,t){switch(ee(Di,t),ee(Oi,e),ee(Ft,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gs(t,e)}ne(Ft),ee(Ft,t)}function Or(){ne(Ft),ne(Oi),ne(Di)}function Hp(e){$n(Di.current);var t=$n(Ft.current),n=Gs(t,e.type);t!==n&&(ee(Oi,e),ee(Ft,n))}function Nu(e){Oi.current===e&&(ne(Ft),ne(Oi))}var se=Cn(0);function Zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function Tu(){for(var e=0;en?n:4,e(!0);var r=ds.transition;ds.transition={};try{e(!1),t()}finally{Y=n,ds.transition=r}}function lh(){return yt().memoizedState}function ny(e,t,n){var r=yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sh(e))ah(t,n);else if(n=Fp(e,t,n,r),n!==null){var i=Ue();At(n,e,r,i),uh(n,t,r)}}function ry(e,t,n){var r=yn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sh(e))ah(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Rt(s,l)){var a=t.interleaved;a===null?(i.next=i,Su(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Fp(e,t,i,r),n!==null&&(i=Ue(),At(n,e,r,i),uh(n,t,r))}}function sh(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function ah(e,t){gi=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uh(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uu(e,n)}}var el={readContext:vt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},iy={readContext:vt,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:yd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,th.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=It();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=It();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ny.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:vd,useDebugValue:Du,useDeferredValue:function(e){return It().memoizedState=e},useTransition:function(){var e=vd(!1),t=e[0];return e=ty.bind(null,e[1]),It().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,i=It();if(oe){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Ce===null)throw Error(A(349));(Wn&30)!==0||Vp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,yd(qp.bind(null,r,o,e),[e]),r.flags|=2048,Ii(9,Gp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=It(),t=Ce.identifierPrefix;if(oe){var n=Kt,r=Qt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Mt]=t,e[Pi]=r,yh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ys(n,r),n){case"dialog":te("cancel",e),te("close",e),i=r;break;case"iframe":case"object":case"embed":te("load",e),i=r;break;case"video":case"audio":for(i=0;ibr&&(t.flags|=128,r=!0,Yr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!oe)return Ie(t),null}else 2*he()-o.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,Yr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=he(),t.sibling=null,n=se.current,ee(se,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return Fu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(it&1073741824)!==0&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function fy(e,t){switch(yu(t),t.tag){case 1:return et(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Or(),ne(Je),ne(Fe),Tu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Nu(t),null;case 13:if(ne(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(se),null;case 4:return Or(),null;case 10:return Eu(t.type._context),null;case 22:case 23:return Fu(),null;case 24:return null;default:return null}}var uo=!1,Me=!1,py=typeof WeakSet=="function"?WeakSet:Set,D=null;function yr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function Sa(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Td=!1;function hy(e,t){if(la=Uo,e=Cp(),gu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var y;p!==n||i!==0&&p.nodeType!==3||(s=l+i),p!==o||r!==0&&p.nodeType!==3||(a=l+r),p.nodeType===3&&(l+=p.nodeValue.length),(y=p.firstChild)!==null;)f=p,p=y;for(;;){if(p===e)break t;if(f===n&&++c===i&&(s=l),f===o&&++d===r&&(a=l),(y=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(sa={focusedElem:e,selectionRange:n},Uo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var _=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var w=_.memoizedProps,k=_.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:Et(t.type,w),k);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(E){fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return _=Td,Td=!1,_}function vi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Sa(t,n,o)}i=i.next}while(i!==r)}}function Cl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ca(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wh(e){var t=e.alternate;t!==null&&(e.alternate=null,wh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[Pi],delete t[ca],delete t[Yv],delete t[Xv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Eh(e){return e.tag===5||e.tag===3||e.tag===4}function Ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Eh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ka(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ho));else if(r!==4&&(e=e.child,e!==null))for(ka(e,t,n),e=e.sibling;e!==null;)ka(e,t,n),e=e.sibling}function Na(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}var Ne=null,St=!1;function tn(e,t,n){for(n=n.child;n!==null;)Sh(e,t,n),n=n.sibling}function Sh(e,t,n){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Me||yr(n,t);case 6:var r=Ne,i=St;Ne=null,tn(e,t,n),Ne=r,St=i,Ne!==null&&(St?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(St?(e=Ne,n=n.stateNode,e.nodeType===8?as(e.parentNode,n):e.nodeType===1&&as(e,n),ki(e)):as(Ne,n.stateNode));break;case 4:r=Ne,i=St,Ne=n.stateNode.containerInfo,St=!0,tn(e,t,n),Ne=r,St=i;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Sa(n,t,l),i=i.next}while(i!==r)}tn(e,t,n);break;case 1:if(!Me&&(yr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){fe(n,t,s)}tn(e,t,n);break;case 21:tn(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,tn(e,t,n),Me=r):tn(e,t,n);break;default:tn(e,t,n)}}function Rd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new py),t.forEach(function(r){var i=Sy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gy(r/1960))-r,10e?16:e,cn===null)var r=!1;else{if(e=cn,cn=null,rl=0,(V&6)!==0)throw Error(A(331));var i=V;for(V|=4,D=e.current;D!==null;){var o=D,l=o.child;if((D.flags&16)!==0){var s=o.deletions;if(s!==null){for(var a=0;ahe()-Mu?zn(e,0):Iu|=n),tt(e,t)}function Oh(e,t){t===0&&((e.mode&1)===0?t=1:(t=eo,eo<<=1,(eo&130023424)===0&&(eo=4194304)));var n=Ue();e=Xt(e,t),e!==null&&(Ui(e,t,n),tt(e,n))}function Ey(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Oh(e,n)}function Sy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),Oh(e,n)}var Dh;Dh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Ze=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ze=!1,cy(e,t,n);Ze=(e.flags&131072)!==0}else Ze=!1,oe&&(t.flags&1048576)!==0&&Ip(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;To(e,t),e=t.pendingProps;var i=Ar(t,Fe.current);kr(t,n),i=Ru(null,t,r,e,i,n);var o=Pu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,et(r)?(o=!0,Ko(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Cu(t),i.updater=El,t.stateNode=i,i._reactInternals=t,ga(t,r,e,n),t=_a(null,t,r,!0,o,n)):(t.tag=0,oe&&o&&vu(t),je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(To(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ky(r),e=Et(r,e),i){case 0:t=ya(null,t,r,e,n);break e;case 1:t=Cd(null,t,r,e,n);break e;case 11:t=Ed(null,t,r,e,n);break e;case 14:t=Sd(null,t,r,Et(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),ya(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),Cd(e,t,r,i,n);case 3:e:{if(mh(t),e===null)throw Error(A(387));r=t.pendingProps,o=t.memoizedState,i=o.element,zp(e,t),Xo(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Dr(Error(A(423)),t),t=kd(e,t,r,n,i);break e}else if(r!==i){i=Dr(Error(A(424)),t),t=kd(e,t,r,n,i);break e}else for(ot=mn(t.stateNode.containerInfo.firstChild),lt=t,oe=!0,kt=null,n=Wp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Rr(),r===i){t=Zt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Hp(t),e===null&&pa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,aa(r,i)?l=null:o!==null&&aa(r,o)&&(t.flags|=32),hh(e,t),je(e,t,l,n),t.child;case 6:return e===null&&pa(t),null;case 13:return gh(e,t,n);case 4:return ku(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pr(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),Ed(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,ee(qo,r._currentValue),r._currentValue=l,o!==null)if(Rt(o.value,l)){if(o.children===i.children&&!Je.current){t=Zt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Vt(-1,n&-n),a.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ha(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(A(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ha(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,kr(t,n),i=gt(i),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,i=Et(r,t.pendingProps),i=Et(r.type,i),Sd(e,t,r,i,n);case 15:return fh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),To(e,t),t.tag=1,et(r)?(e=!0,Ko(t)):e=!1,kr(t,n),Up(t,r,i),ga(t,r,i,n),_a(null,t,r,!0,e,n);case 19:return vh(e,t,n);case 22:return ph(e,t,n)}throw Error(A(156,t.tag))};function bh(e,t){return op(e,t)}function Cy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ht(e,t,n,r){return new Cy(e,t,n,r)}function ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ky(e){if(typeof e=="function")return ju(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ou)return 11;if(e===lu)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?(n=ht(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Po(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ju(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ur:return jn(n.children,i,o,t);case iu:l=8,i|=8;break;case js:return e=ht(12,n,t,i|2),e.elementType=js,e.lanes=o,e;case Us:return e=ht(13,n,t,i),e.elementType=Us,e.lanes=o,e;case Bs:return e=ht(19,n,t,i),e.elementType=Bs,e.lanes=o,e;case Bf:return Nl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jf:l=10;break e;case Uf:l=9;break e;case ou:l=11;break e;case lu:l=14;break e;case nn:l=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=ht(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function jn(e,t,n,r){return e=ht(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=ht(22,e,r,t),e.elementType=Bf,e.lanes=n,e.stateNode={isHidden:!1},e}function gs(e,t,n){return e=ht(6,e,null,t),e.lanes=n,e}function vs(e,t,n){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ny(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xl(0),this.expirationTimes=Xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,i,o,l,s,a){return e=new Ny(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ht(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(o),e}function Ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=at})(Ya);const xr=Af(Ya.exports);var $h,$d=Ya.exports;$h=$d.createRoot,$d.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function hs(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function va(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sy=typeof WeakMap=="function"?WeakMap:Map;function ch(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,Ta=r),va(e,t)},n}function dh(e,t,n){n=Vt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){va(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){va(e,t),typeof r!="function"&&(vn===null?vn=new Set([this]):vn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function _d(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new sy;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=wy.bind(null,e,t,n),t.then(e,e))}function xd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function wd(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vt(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var ay=Jt.ReactCurrentOwner,Je=!1;function je(e,t,n,r){t.child=e===null?Wp(t,null,n,r):Pr(t,e.child,n,r)}function Ed(e,t,n,r,i){n=n.render;var o=t.ref;return kr(t,i),r=Ru(e,t,n,r,o,i),n=Pu(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zt(e,t,i)):(oe&&n&&vu(t),t.flags|=1,je(e,t,r,i),t.child)}function Sd(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!ju(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,fh(e,t,o,r,i)):(e=Po(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ti,n(l,r)&&e.ref===t.ref)return Zt(e,t,i)}return t.flags|=1,e=_n(o,r),e.ref=t.ref,e.return=t,t.child=e}function fh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ti(o,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(Je=!0);else return t.lanes=e.lanes,Zt(e,t,i)}return ya(e,t,n,r,i)}function ph(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(_r,it),it|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(_r,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ee(_r,it),it|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ee(_r,it),it|=r;return je(e,t,i,n),t.child}function hh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ya(e,t,n,r,i){var o=tt(n)?Un:Fe.current;return o=Ar(t,o),kr(t,i),n=Ru(e,t,n,r,o,i),r=Pu(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zt(e,t,i)):(oe&&r&&vu(t),t.flags|=1,je(e,t,n,i),t.child)}function Cd(e,t,n,r,i){if(tt(n)){var o=!0;Ko(t)}else o=!1;if(kr(t,i),t.stateNode===null)To(e,t),Up(t,n,r),ga(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,c=n.contextType;typeof c=="object"&&c!==null?c=vt(c):(c=tt(n)?Un:Fe.current,c=Ar(t,c));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";p||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==c)&&md(t,l,r,c),rn=!1;var f=t.memoizedState;l.state=f,Xo(t,r,l,i),a=t.memoizedState,s!==r||f!==a||et.current||rn?(typeof d=="function"&&(ma(t,n,d,r),a=t.memoizedState),(s=rn||hd(t,n,s,r,f,a,c))?(p||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=c,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,zp(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Et(t.type,s),l.props=c,p=t.pendingProps,f=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=vt(a):(a=tt(n)?Un:Fe.current,a=Ar(t,a));var y=n.getDerivedStateFromProps;(d=typeof y=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==p||f!==a)&&md(t,l,r,a),rn=!1,f=t.memoizedState,l.state=f,Xo(t,r,l,i);var _=t.memoizedState;s!==p||f!==_||et.current||rn?(typeof y=="function"&&(ma(t,n,y,r),_=t.memoizedState),(c=rn||hd(t,n,c,r,f,_,a)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,_,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,_,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),l.props=r,l.state=_,l.context=a,r=c):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return _a(e,t,n,r,o,i)}function _a(e,t,n,r,i,o){hh(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&ud(t,n,!1),Zt(e,t,o);r=t.stateNode,ay.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Pr(t,e.child,null,o),t.child=Pr(t,null,s,o)):je(e,t,s,o),t.memoizedState=r.state,i&&ud(t,n,!0),t.child}function mh(e){var t=e.stateNode;t.pendingContext?ad(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ad(e,t.context,!1),ku(e,t.containerInfo)}function kd(e,t,n,r,i){return Rr(),_u(i),t.flags|=256,je(e,t,n,r),t.child}var xa={dehydrated:null,treeContext:null,retryLane:0};function wa(e){return{baseLanes:e,cachePool:null,transitions:null}}function gh(e,t,n){var r=t.pendingProps,i=se.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ee(se,i&1),e===null)return pa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Nl(l,r,0,null),e=jn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=wa(n),t.memoizedState=xa,e):bu(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return uy(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=_n(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=_n(s,o):(o=jn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?wa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=xa,r}return o=e.child,e=o.sibling,r=_n(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function bu(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ao(e,t,n,r){return r!==null&&_u(r),Pr(t,e.child,null,n),e=bu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uy(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=hs(Error(A(422))),ao(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Nl({mode:"visible",children:r.children},i,0,null),o=jn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Pr(t,e.child,null,l),t.child.memoizedState=wa(l),t.memoizedState=xa,o);if((t.mode&1)===0)return ao(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(A(419)),r=hs(o,r,void 0),ao(e,t,l,r)}if(s=(l&e.childLanes)!==0,Je||s){if(r=Ce,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|l))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Xt(e,i),At(r,e,i,-1))}return zu(),r=hs(Error(A(421))),ao(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ey.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ot=mn(i.nextSibling),lt=t,oe=!0,kt=null,e!==null&&(ft[pt++]=Qt,ft[pt++]=Kt,ft[pt++]=Bn,Qt=e.id,Kt=e.overflow,Bn=t),t=bu(t,r.children),t.flags|=4096,t)}function Nd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ha(e.return,t,n)}function ms(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function vh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(je(e,t,r.children,n),r=se.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Nd(e,n,t);else if(e.tag===19)Nd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ee(se,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Zo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ms(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Zo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ms(t,!0,n,null,o);break;case"together":ms(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function To(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Hn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(A(153));if(t.child!==null){for(e=t.child,n=_n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cy(e,t,n){switch(t.tag){case 3:mh(t),Rr();break;case 5:Hp(t);break;case 1:tt(t.type)&&Ko(t);break;case 4:ku(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ee(qo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ee(se,se.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?gh(e,t,n):(ee(se,se.current&1),e=Zt(e,t,n),e!==null?e.sibling:null);ee(se,se.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return vh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ee(se,se.current),r)break;return null;case 22:case 23:return t.lanes=0,ph(e,t,n)}return Zt(e,t,n)}var yh,Ea,_h,xh;yh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ea=function(){};_h=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,$n(Ft.current);var o=null;switch(n){case"input":i=Hs(e,i),r=Hs(e,r),o=[];break;case"select":i=ue({},i,{value:void 0}),r=ue({},r,{value:void 0}),o=[];break;case"textarea":i=Vs(e,i),r=Vs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ho)}qs(n,r);var l;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(xi.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var a=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&a!==s&&(a!=null||s!=null))if(c==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(c,n)),n=a;else c==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(c,a)):c==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(c,""+a):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(xi.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&te("scroll",e),o||s===a||(o=[])):(o=o||[]).push(c,a))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};xh=function(e,t,n,r){n!==r&&(t.flags|=4)};function Yr(e,t){if(!oe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function dy(e,t,n){var r=t.pendingProps;switch(yu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return tt(t.type)&&Qo(),Ie(t),null;case 3:return r=t.stateNode,Or(),ne(et),ne(Fe),Tu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(lo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,kt!==null&&(Pa(kt),kt=null))),Ea(e,t),Ie(t),null;case 5:Nu(t);var i=$n(Di.current);if(n=t.type,e!==null&&t.stateNode!=null)_h(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return Ie(t),null}if(e=$n(Ft.current),lo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Mt]=t,r[Pi]=o,e=(t.mode&1)!==0,n){case"dialog":te("cancel",r),te("close",r);break;case"iframe":case"object":case"embed":te("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Mt]=t,e[Pi]=r,yh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ys(n,r),n){case"dialog":te("cancel",e),te("close",e),i=r;break;case"iframe":case"object":case"embed":te("load",e),i=r;break;case"video":case"audio":for(i=0;ibr&&(t.flags|=128,r=!0,Yr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!oe)return Ie(t),null}else 2*he()-o.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,Yr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=he(),t.sibling=null,n=se.current,ee(se,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return Fu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(it&1073741824)!==0&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function fy(e,t){switch(yu(t),t.tag){case 1:return tt(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Or(),ne(et),ne(Fe),Tu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Nu(t),null;case 13:if(ne(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(se),null;case 4:return Or(),null;case 10:return Eu(t.type._context),null;case 22:case 23:return Fu(),null;case 24:return null;default:return null}}var uo=!1,Me=!1,py=typeof WeakSet=="function"?WeakSet:Set,D=null;function yr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function Sa(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Td=!1;function hy(e,t){if(la=Uo,e=Cp(),gu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var y;p!==n||i!==0&&p.nodeType!==3||(s=l+i),p!==o||r!==0&&p.nodeType!==3||(a=l+r),p.nodeType===3&&(l+=p.nodeValue.length),(y=p.firstChild)!==null;)f=p,p=y;for(;;){if(p===e)break t;if(f===n&&++c===i&&(s=l),f===o&&++d===r&&(a=l),(y=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(sa={focusedElem:e,selectionRange:n},Uo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var _=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var w=_.memoizedProps,k=_.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:Et(t.type,w),k);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(E){fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return _=Td,Td=!1,_}function vi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Sa(t,n,o)}i=i.next}while(i!==r)}}function Cl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ca(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wh(e){var t=e.alternate;t!==null&&(e.alternate=null,wh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[Pi],delete t[ca],delete t[Yv],delete t[Xv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Eh(e){return e.tag===5||e.tag===3||e.tag===4}function Ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Eh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ka(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ho));else if(r!==4&&(e=e.child,e!==null))for(ka(e,t,n),e=e.sibling;e!==null;)ka(e,t,n),e=e.sibling}function Na(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}var Ne=null,St=!1;function tn(e,t,n){for(n=n.child;n!==null;)Sh(e,t,n),n=n.sibling}function Sh(e,t,n){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Me||yr(n,t);case 6:var r=Ne,i=St;Ne=null,tn(e,t,n),Ne=r,St=i,Ne!==null&&(St?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(St?(e=Ne,n=n.stateNode,e.nodeType===8?as(e.parentNode,n):e.nodeType===1&&as(e,n),ki(e)):as(Ne,n.stateNode));break;case 4:r=Ne,i=St,Ne=n.stateNode.containerInfo,St=!0,tn(e,t,n),Ne=r,St=i;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Sa(n,t,l),i=i.next}while(i!==r)}tn(e,t,n);break;case 1:if(!Me&&(yr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){fe(n,t,s)}tn(e,t,n);break;case 21:tn(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,tn(e,t,n),Me=r):tn(e,t,n);break;default:tn(e,t,n)}}function Rd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new py),t.forEach(function(r){var i=Sy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gy(r/1960))-r,10e?16:e,cn===null)var r=!1;else{if(e=cn,cn=null,rl=0,(V&6)!==0)throw Error(A(331));var i=V;for(V|=4,D=e.current;D!==null;){var o=D,l=o.child;if((D.flags&16)!==0){var s=o.deletions;if(s!==null){for(var a=0;ahe()-Mu?zn(e,0):Iu|=n),nt(e,t)}function Oh(e,t){t===0&&((e.mode&1)===0?t=1:(t=eo,eo<<=1,(eo&130023424)===0&&(eo=4194304)));var n=Ue();e=Xt(e,t),e!==null&&(Ui(e,t,n),nt(e,n))}function Ey(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Oh(e,n)}function Sy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),Oh(e,n)}var Dh;Dh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Je=!1,cy(e,t,n);Je=(e.flags&131072)!==0}else Je=!1,oe&&(t.flags&1048576)!==0&&Ip(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;To(e,t),e=t.pendingProps;var i=Ar(t,Fe.current);kr(t,n),i=Ru(null,t,r,e,i,n);var o=Pu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(o=!0,Ko(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Cu(t),i.updater=El,t.stateNode=i,i._reactInternals=t,ga(t,r,e,n),t=_a(null,t,r,!0,o,n)):(t.tag=0,oe&&o&&vu(t),je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(To(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ky(r),e=Et(r,e),i){case 0:t=ya(null,t,r,e,n);break e;case 1:t=Cd(null,t,r,e,n);break e;case 11:t=Ed(null,t,r,e,n);break e;case 14:t=Sd(null,t,r,Et(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),ya(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),Cd(e,t,r,i,n);case 3:e:{if(mh(t),e===null)throw Error(A(387));r=t.pendingProps,o=t.memoizedState,i=o.element,zp(e,t),Xo(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Dr(Error(A(423)),t),t=kd(e,t,r,n,i);break e}else if(r!==i){i=Dr(Error(A(424)),t),t=kd(e,t,r,n,i);break e}else for(ot=mn(t.stateNode.containerInfo.firstChild),lt=t,oe=!0,kt=null,n=Wp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Rr(),r===i){t=Zt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Hp(t),e===null&&pa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,aa(r,i)?l=null:o!==null&&aa(r,o)&&(t.flags|=32),hh(e,t),je(e,t,l,n),t.child;case 6:return e===null&&pa(t),null;case 13:return gh(e,t,n);case 4:return ku(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pr(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),Ed(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,ee(qo,r._currentValue),r._currentValue=l,o!==null)if(Rt(o.value,l)){if(o.children===i.children&&!et.current){t=Zt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Vt(-1,n&-n),a.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ha(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(A(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ha(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,kr(t,n),i=vt(i),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,i=Et(r,t.pendingProps),i=Et(r.type,i),Sd(e,t,r,i,n);case 15:return fh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Et(r,i),To(e,t),t.tag=1,tt(r)?(e=!0,Ko(t)):e=!1,kr(t,n),Up(t,r,i),ga(t,r,i,n),_a(null,t,r,!0,e,n);case 19:return vh(e,t,n);case 22:return ph(e,t,n)}throw Error(A(156,t.tag))};function bh(e,t){return op(e,t)}function Cy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mt(e,t,n,r){return new Cy(e,t,n,r)}function ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ky(e){if(typeof e=="function")return ju(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ou)return 11;if(e===lu)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?(n=mt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Po(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ju(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ur:return jn(n.children,i,o,t);case iu:l=8,i|=8;break;case js:return e=mt(12,n,t,i|2),e.elementType=js,e.lanes=o,e;case Us:return e=mt(13,n,t,i),e.elementType=Us,e.lanes=o,e;case Bs:return e=mt(19,n,t,i),e.elementType=Bs,e.lanes=o,e;case Bf:return Nl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jf:l=10;break e;case Uf:l=9;break e;case ou:l=11;break e;case lu:l=14;break e;case nn:l=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=mt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function jn(e,t,n,r){return e=mt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=mt(22,e,r,t),e.elementType=Bf,e.lanes=n,e.stateNode={isHidden:!1},e}function gs(e,t,n){return e=mt(6,e,null,t),e.lanes=n,e}function vs(e,t,n){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ny(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xl(0),this.expirationTimes=Xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,i,o,l,s,a){return e=new Ny(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(o),e}function Ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=at})(Ya);const xr=Af(Ya.exports);var $h,$d=Ya.exports;$h=$d.createRoot,$d.hydrateRoot;/** * @remix-run/router v1.0.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,ys(i)&&o({inst:i})},[e,r,t]),d_(()=>(ys(i)&&o({inst:i}),e(()=>{ys(i)&&o({inst:i})})),[e]),p_(r),r}function ys(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!u_(n,r)}catch{return!0}}function m_(e,t,n){return t()}const g_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",v_=!g_,y_=v_?m_:h_;"useSyncExternalStore"in Fs&&(e=>e.useSyncExternalStore)(Fs);const __=v.exports.createContext(null),x_=v.exports.createContext(null),Ku=v.exports.createContext(null),Vu=v.exports.createContext(null),bl=v.exports.createContext(null),Fr=v.exports.createContext({outlet:null,matches:[]}),Wh=v.exports.createContext(null);function w_(e,t){let{relative:n}=t===void 0?{}:t;zr()||Be(!1);let{basename:r,navigator:i}=v.exports.useContext(Vu),{hash:o,pathname:l,search:s}=al(e,{relative:n}),a=l;return r!=="/"&&(a=l==="/"?r:xn([r,l])),i.createHref({pathname:a,search:s,hash:o})}function zr(){return v.exports.useContext(bl)!=null}function Ot(){return zr()||Be(!1),v.exports.useContext(bl).location}function E_(e){zr()||Be(!1);let{pathname:t}=Ot();return v.exports.useMemo(()=>Qu(e,t),[t,e])}function Hh(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function nt(){zr()||Be(!1);let{basename:e,navigator:t}=v.exports.useContext(Vu),{matches:n}=v.exports.useContext(Fr),{pathname:r}=Ot(),i=JSON.stringify(Hh(n).map(s=>s.pathnameBase)),o=v.exports.useRef(!1);return v.exports.useEffect(()=>{o.current=!0}),v.exports.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=Uh(s,JSON.parse(i),r,a.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:xn([e,c.pathname])),(a.replace?t.replace:t.push)(c,a.state,a)},[e,t,i,r])}function S_(){let{matches:e}=v.exports.useContext(Fr),t=e[e.length-1];return t?t.params:{}}function al(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=v.exports.useContext(Fr),{pathname:i}=Ot(),o=JSON.stringify(Hh(r).map(l=>l.pathnameBase));return v.exports.useMemo(()=>Uh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function C_(e,t){zr()||Be(!1);let n=v.exports.useContext(Ku),{matches:r}=v.exports.useContext(Fr),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=Ot(),a;if(t){var c;let _=typeof t=="string"?Yn(t):t;l==="/"||((c=_.pathname)==null?void 0:c.startsWith(l))||Be(!1),a=_}else a=s;let d=a.pathname||"/",p=l==="/"?d:d.slice(l.length)||"/",f=My(e,{pathname:p}),y=A_(f&&f.map(_=>Object.assign({},_,{params:Object.assign({},o,_.params),pathname:xn([l,_.pathname]),pathnameBase:_.pathnameBase==="/"?l:xn([l,_.pathnameBase])})),r,n||void 0);return t?u(bl.Provider,{value:{location:ba({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:dn.Pop},children:y}):y}function k_(){let e=P_(),t=t_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return R(sl,{children:[u("h2",{children:"Unhandled Thrown Error!"}),u("h3",{style:{fontStyle:"italic"},children:t}),n?u("pre",{style:i,children:n}):null,u("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),R("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",u("code",{style:o,children:"errorElement"})," props on\xA0",u("code",{style:o,children:""})]})]})}class N_ extends v.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?u(Wh.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function T_(e){let{routeContext:t,match:n,children:r}=e,i=v.exports.useContext(__);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),u(Fr.Provider,{value:t,children:r})}function A_(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));o>=0||Be(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,l,s)=>{let a=l.route.id?i==null?void 0:i[l.route.id]:null,c=n?l.route.errorElement||u(k_,{}):null,d=()=>u(T_,{match:l,routeContext:{outlet:o,matches:t.concat(r.slice(0,s+1))},children:a?c:l.route.element!==void 0?l.route.element:o});return n&&(l.route.errorElement||s===0)?u(N_,{location:n.location,component:c,error:a,children:d()}):d()},null)}var La;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(La||(La={}));function R_(e){let t=v.exports.useContext(Ku);return t||Be(!1),t}function P_(){var e;let t=v.exports.useContext(Wh),n=R_(La.UseRouteError),r=v.exports.useContext(Fr),i=r.matches[r.matches.length-1];return t||(r||Be(!1),i.route.id||Be(!1),(e=n.errors)==null?void 0:e[i.route.id])}function Ye(e){Be(!1)}function O_(e){let{basename:t="/",children:n=null,location:r,navigationType:i=dn.Pop,navigator:o,static:l=!1}=e;zr()&&Be(!1);let s=t.replace(/^\/*/,"/"),a=v.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=Yn(r));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:y="default"}=r,_=v.exports.useMemo(()=>{let w=zh(c,s);return w==null?null:{pathname:w,search:d,hash:p,state:f,key:y}},[s,c,d,p,f,y]);return _==null?null:u(Vu.Provider,{value:a,children:u(bl.Provider,{children:n,value:{location:_,navigationType:i}})})}function D_(e){let{children:t,location:n}=e,r=v.exports.useContext(x_),i=r&&!t?r.router.routes:Ia(t);return C_(i,n)}var Bd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Bd||(Bd={}));new Promise(()=>{});function Ia(e,t){t===void 0&&(t=[]);let n=[];return v.exports.Children.forEach(e,(r,i)=>{if(!v.exports.isValidElement(r))return;if(r.type===v.exports.Fragment){n.push.apply(n,Ia(r.props.children,t));return}r.type!==Ye&&Be(!1);let o=[...t,i],l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(l.children=Ia(r.props.children,o)),n.push(l)}),n}/** + */function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,ys(i)&&o({inst:i})},[e,r,t]),d_(()=>(ys(i)&&o({inst:i}),e(()=>{ys(i)&&o({inst:i})})),[e]),p_(r),r}function ys(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!u_(n,r)}catch{return!0}}function m_(e,t,n){return t()}const g_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",v_=!g_,y_=v_?m_:h_;"useSyncExternalStore"in Fs&&(e=>e.useSyncExternalStore)(Fs);const __=v.exports.createContext(null),x_=v.exports.createContext(null),Ku=v.exports.createContext(null),Vu=v.exports.createContext(null),bl=v.exports.createContext(null),Fr=v.exports.createContext({outlet:null,matches:[]}),Wh=v.exports.createContext(null);function w_(e,t){let{relative:n}=t===void 0?{}:t;zr()||Be(!1);let{basename:r,navigator:i}=v.exports.useContext(Vu),{hash:o,pathname:l,search:s}=al(e,{relative:n}),a=l;return r!=="/"&&(a=l==="/"?r:xn([r,l])),i.createHref({pathname:a,search:s,hash:o})}function zr(){return v.exports.useContext(bl)!=null}function Ot(){return zr()||Be(!1),v.exports.useContext(bl).location}function E_(e){zr()||Be(!1);let{pathname:t}=Ot();return v.exports.useMemo(()=>Qu(e,t),[t,e])}function Hh(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function Ke(){zr()||Be(!1);let{basename:e,navigator:t}=v.exports.useContext(Vu),{matches:n}=v.exports.useContext(Fr),{pathname:r}=Ot(),i=JSON.stringify(Hh(n).map(s=>s.pathnameBase)),o=v.exports.useRef(!1);return v.exports.useEffect(()=>{o.current=!0}),v.exports.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=Uh(s,JSON.parse(i),r,a.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:xn([e,c.pathname])),(a.replace?t.replace:t.push)(c,a.state,a)},[e,t,i,r])}function S_(){let{matches:e}=v.exports.useContext(Fr),t=e[e.length-1];return t?t.params:{}}function al(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=v.exports.useContext(Fr),{pathname:i}=Ot(),o=JSON.stringify(Hh(r).map(l=>l.pathnameBase));return v.exports.useMemo(()=>Uh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function C_(e,t){zr()||Be(!1);let n=v.exports.useContext(Ku),{matches:r}=v.exports.useContext(Fr),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=Ot(),a;if(t){var c;let _=typeof t=="string"?Yn(t):t;l==="/"||((c=_.pathname)==null?void 0:c.startsWith(l))||Be(!1),a=_}else a=s;let d=a.pathname||"/",p=l==="/"?d:d.slice(l.length)||"/",f=My(e,{pathname:p}),y=A_(f&&f.map(_=>Object.assign({},_,{params:Object.assign({},o,_.params),pathname:xn([l,_.pathname]),pathnameBase:_.pathnameBase==="/"?l:xn([l,_.pathnameBase])})),r,n||void 0);return t?u(bl.Provider,{value:{location:ba({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:dn.Pop},children:y}):y}function k_(){let e=P_(),t=t_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return R(sl,{children:[u("h2",{children:"Unhandled Thrown Error!"}),u("h3",{style:{fontStyle:"italic"},children:t}),n?u("pre",{style:i,children:n}):null,u("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),R("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",u("code",{style:o,children:"errorElement"})," props on\xA0",u("code",{style:o,children:""})]})]})}class N_ extends v.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?u(Wh.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function T_(e){let{routeContext:t,match:n,children:r}=e,i=v.exports.useContext(__);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),u(Fr.Provider,{value:t,children:r})}function A_(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));o>=0||Be(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,l,s)=>{let a=l.route.id?i==null?void 0:i[l.route.id]:null,c=n?l.route.errorElement||u(k_,{}):null,d=()=>u(T_,{match:l,routeContext:{outlet:o,matches:t.concat(r.slice(0,s+1))},children:a?c:l.route.element!==void 0?l.route.element:o});return n&&(l.route.errorElement||s===0)?u(N_,{location:n.location,component:c,error:a,children:d()}):d()},null)}var La;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(La||(La={}));function R_(e){let t=v.exports.useContext(Ku);return t||Be(!1),t}function P_(){var e;let t=v.exports.useContext(Wh),n=R_(La.UseRouteError),r=v.exports.useContext(Fr),i=r.matches[r.matches.length-1];return t||(r||Be(!1),i.route.id||Be(!1),(e=n.errors)==null?void 0:e[i.route.id])}function Xe(e){Be(!1)}function O_(e){let{basename:t="/",children:n=null,location:r,navigationType:i=dn.Pop,navigator:o,static:l=!1}=e;zr()&&Be(!1);let s=t.replace(/^\/*/,"/"),a=v.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=Yn(r));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:y="default"}=r,_=v.exports.useMemo(()=>{let w=zh(c,s);return w==null?null:{pathname:w,search:d,hash:p,state:f,key:y}},[s,c,d,p,f,y]);return _==null?null:u(Vu.Provider,{value:a,children:u(bl.Provider,{children:n,value:{location:_,navigationType:i}})})}function D_(e){let{children:t,location:n}=e,r=v.exports.useContext(x_),i=r&&!t?r.router.routes:Ia(t);return C_(i,n)}var Bd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Bd||(Bd={}));new Promise(()=>{});function Ia(e,t){t===void 0&&(t=[]);let n=[];return v.exports.Children.forEach(e,(r,i)=>{if(!v.exports.isValidElement(r))return;if(r.type===v.exports.Fragment){n.push.apply(n,Ia(r.props.children,t));return}r.type!==Xe&&Be(!1);let o=[...t,i],l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(l.children=Ia(r.props.children,o)),n.push(l)}),n}/** * React Router DOM v6.4.1 * * Copyright (c) Remix Software Inc. @@ -64,7 +64,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Qh(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 b_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function L_(e,t){return e.button===0&&(!t||t==="_self")&&!b_(e)}function ul(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function I_(e,t){let n=ul(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const M_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],$_=["aria-current","caseSensitive","className","end","style","to","children"];function F_(e){let{basename:t,children:n,window:r}=e,i=v.exports.useRef();i.current==null&&(i.current=Dy({window:r,v5Compat:!0}));let o=i.current,[l,s]=v.exports.useState({action:o.action,location:o.location});return v.exports.useLayoutEffect(()=>o.listen(s),[o]),u(O_,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const Ae=v.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:a,to:c,preventScrollReset:d}=t,p=Qh(t,M_),f=w_(c,{relative:i}),y=z_(c,{replace:l,state:s,target:a,preventScrollReset:d,relative:i});function _(w){r&&r(w),w.defaultPrevented||y(w)}return u("a",{...p,href:f,onClick:o?r:_,ref:n,target:a})}),Zr=v.exports.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:l=!1,style:s,to:a,children:c}=t,d=Qh(t,$_),p=al(a),f=E_({path:p.pathname,end:l,caseSensitive:i}),y=v.exports.useContext(Ku),_=y==null?void 0:y.navigation.location,w=al(_||""),g=v.exports.useMemo(()=>_?Qu({path:p.pathname,end:l,caseSensitive:i},w.pathname):null,[_,p.pathname,i,l,w.pathname])!=null,m=f!=null,h=m?r:void 0,E;typeof o=="function"?E=o({isActive:m,isPending:g}):E=[o,m?"active":null,g?"pending":null].filter(Boolean).join(" ");let C=typeof s=="function"?s({isActive:m,isPending:g}):s;return u(Ae,{...d,"aria-current":h,className:E,ref:n,style:C,to:a,children:typeof c=="function"?c({isActive:m,isPending:g}):c})});function z_(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=nt(),a=Ot(),c=al(e,{relative:l});return v.exports.useCallback(d=>{if(L_(d,n)){d.preventDefault();let p=r!==void 0?r:Da(a)===Da(c);s(e,{replace:p,state:i,preventScrollReset:o,relative:l})}},[a,s,c,r,i,n,e,o,l])}function j_(e){let t=v.exports.useRef(ul(e)),n=Ot(),r=v.exports.useMemo(()=>I_(n.search,t.current),[n.search]),i=nt(),o=v.exports.useCallback((l,s)=>{const a=ul(typeof l=="function"?l(r):l);i("?"+a,s)},[i,r]);return[r,o]}class Qi{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const $i=typeof window>"u";function ct(){}function U_(e,t){return typeof e=="function"?e(t):e}function Ma(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oo(e,t,n){return Ll(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function on(e,t,n){return Ll(e)?[{...t,queryKey:e},n]:[e||{},t]}function Wd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Ll(l)){if(r){if(t.queryHash!==Gu(l,t.options))return!1}else if(!cl(t.queryKey,l))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function Hd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Ll(o)){if(!t.options.mutationKey)return!1;if(n){if(Fn(t.options.mutationKey)!==Fn(o))return!1}else if(!cl(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function Gu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fn)(e)}function Fn(e){return JSON.stringify(e,(t,n)=>$a(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function cl(e,t){return Vh(e,t)}function Vh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vh(e[n],t[n])):!1}function Gh(e,t){if(e===t)return e;const n=Kd(e)&&Kd(t);if(n||$a(e)&&$a(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let s=0;for(let a=0;a"u")return!0;const n=t.prototype;return!(!Vd(n)||!n.hasOwnProperty("isPrototypeOf"))}function Vd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ll(e){return Array.isArray(e)}function qh(e){return new Promise(t=>{setTimeout(t,e)})}function Gd(e){qh(0).then(e)}function B_(){if(typeof AbortController=="function")return new AbortController}function Fa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gh(e,t):t}class W_ extends Qi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const dl=new W_;class H_ extends Qi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const fl=new H_;function Q_(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?fl.isOnline():!0}class Yh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Do(e){return e instanceof Yh}function Xh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((k,g)=>{o=k,l=g}),a=k=>{r||(y(new Yh(k)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},p=()=>!dl.isFocused()||e.networkMode!=="always"&&!fl.isOnline(),f=k=>{r||(r=!0,e.onSuccess==null||e.onSuccess(k),i==null||i(),o(k))},y=k=>{r||(r=!0,e.onError==null||e.onError(k),i==null||i(),l(k))},_=()=>new Promise(k=>{i=g=>{if(r||!p())return k(g)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),w=()=>{if(r)return;let k;try{k=e.fn()}catch(g){k=Promise.reject(g)}Promise.resolve(k).then(f).catch(g=>{var m,h;if(r)return;const E=(m=e.retry)!=null?m:3,C=(h=e.retryDelay)!=null?h:Q_,S=typeof C=="function"?C(n,g):C,T=E===!0||typeof E=="number"&&n{if(p())return _()}).then(()=>{t?y(g):w()})})};return Il(e.networkMode)?w():_().then(w),{promise:s,cancel:a,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const qu=console;function K_(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let p;t++;try{p=d()}finally{t--,t||s()}return p},o=d=>{t?e.push(d):Gd(()=>{n(d)})},l=d=>(...p)=>{o(()=>{d(...p)})},s=()=>{const d=e;e=[],d.length&&Gd(()=>{r(()=>{d.forEach(p=>{n(p)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const me=K_();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ma(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:$i?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class V_ extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||qu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||G_(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Fa(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(ct).catch(ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Kh(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(_=>_.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=B_(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},a=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};a(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),d={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c,meta:this.meta};if(a(d),(r=this.options.behavior)==null||r.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=d.fetchOptions)==null?void 0:i.meta)){var p;this.dispatch({type:"fetch",meta:(p=d.fetchOptions)==null?void 0:p.meta})}const f=y=>{if(Do(y)&&y.silent||this.dispatch({type:"error",error:y}),!Do(y)){var _,w;(_=(w=this.cache.config).onError)==null||_.call(w,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Xh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var _,w;if(typeof y>"u"){f(new Error("undefined"));return}this.setData(y),(_=(w=this.cache.config).onSuccess)==null||_.call(w,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:Il(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const l=t.error;return Do(l)&&l.revert&&this.revertState?{...this.revertState}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),me.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function G_(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class q_ extends Qi{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,l=(i=n.queryHash)!=null?i:Gu(o,n);let s=this.get(l);return s||(s=new V_({cache:this,logger:t.getLogger(),queryKey:o,queryHash:l,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){me.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=on(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Wd(r,i))}findAll(t,n){const[r]=on(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Wd(r,i)):this.queries}notify(t){me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){me.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){me.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Y_ extends Zh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||qu,this.observers=[],this.state=t.state||X_(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var h;return this.retryer=Xh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(h=this.options.retry)!=null?h:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,l,s,a;if(!n){var c,d,p,f;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const E=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const h=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,h,this.state.variables,this.state.context,this),await((o=(l=this.options).onSuccess)==null?void 0:o.call(l,h,this.state.variables,this.state.context)),await((s=(a=this.options).onSettled)==null?void 0:s.call(a,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(h){try{var y,_,w,k,g,m;throw(y=(_=this.mutationCache.config).onError)==null||y.call(_,h,this.state.variables,this.state.context,this),await((w=(k=this.options).onError)==null?void 0:w.call(k,h,this.state.variables,this.state.context)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,void 0,h,this.state.variables,this.state.context)),h}finally{this.dispatch({type:"error",error:h})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!Il(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),me.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function X_(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class Z_ extends Qi{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new Y_({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){me.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Hd(t,n))}findAll(t){return this.mutations.filter(n=>Hd(t,n))}notify(t){me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return me.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(ct)),Promise.resolve()))}}function J_(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,l;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,a=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,c=a==null?void 0:a.pageParam,d=(a==null?void 0:a.direction)==="forward",p=(a==null?void 0:a.direction)==="backward",f=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let _=y,w=!1;const k=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>{var T;if((T=e.signal)!=null&&T.aborted)w=!0;else{var N;(N=e.signal)==null||N.addEventListener("abort",()=>{w=!0})}return e.signal}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(S,T,N,j)=>(_=j?[T,..._]:[..._,T],j?[N,...S]:[...S,N]),h=(S,T,N,j)=>{if(w)return Promise.reject("Cancelled");if(typeof N>"u"&&!T&&S.length)return Promise.resolve(S);const L={queryKey:e.queryKey,pageParam:N,meta:e.meta};k(L);const re=g(L);return Promise.resolve(re).then(le=>m(S,N,le,j))};let E;if(!f.length)E=h([]);else if(d){const S=typeof c<"u",T=S?c:qd(e.options,f);E=h(f,S,T)}else if(p){const S=typeof c<"u",T=S?c:e0(e.options,f);E=h(f,S,T,!0)}else{_=[];const S=typeof e.options.getNextPageParam>"u";E=(s&&f[0]?s(f[0],0,f):!0)?h([],S,y[0]):Promise.resolve(m([],y[0],f[0]));for(let N=1;N{if(s&&f[N]?s(f[N],N,f):!0){const re=S?y[N]:qd(e.options,j);return h(j,S,re)}return Promise.resolve(m(j,y[N],f[N]))})}return E.then(S=>({pages:S,pageParams:_}))}}}}function qd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function e0(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class t0{constructor(t={}){this.queryCache=t.queryCache||new q_,this.mutationCache=t.mutationCache||new Z_,this.logger=t.logger||qu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=dl.subscribe(()=>{dl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=fl.subscribe(()=>{fl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=on(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,l=U_(n,o);if(typeof l>"u")return;const s=Oo(t),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return me.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=on(t,n),i=this.queryCache;me.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=on(t,n,r),l=this.queryCache,s={type:"active",...i};return me.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=on(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=me.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(ct).catch(ct)}invalidateQueries(t,n,r){const[i,o]=on(t,n,r);return me.batch(()=>{var l,s;if(this.queryCache.findAll(i).forEach(c=>{c.invalidate()}),i.refetchType==="none")return Promise.resolve();const a={...i,type:(l=(s=i.refetchType)!=null?s:i.type)!=null?l:"active"};return this.refetchQueries(a,o)})}refetchQueries(t,n,r){const[i,o]=on(t,n,r),l=me.batch(()=>this.queryCache.findAll(i).filter(a=>!a.isDisabled()).map(a=>{var c;return a.fetch(void 0,{...o,cancelRefetch:(c=o==null?void 0:o.cancelRefetch)!=null?c:!0,meta:{refetchPage:i.refetchPage}})}));let s=Promise.all(l).then(ct);return o!=null&&o.throwOnError||(s=s.catch(ct)),s}fetchQuery(t,n,r){const i=Oo(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const l=this.queryCache.build(this,o);return l.isStaleByTime(o.staleTime)?l.fetch(o):Promise.resolve(l.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(ct).catch(ct)}fetchInfiniteQuery(t,n,r){const i=Oo(t,n,r);return i.behavior=J_(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(ct).catch(ct)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>Fn(t)===Fn(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>cl(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>Fn(t)===Fn(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>cl(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Gu(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class n0 extends Qi{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Yd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return za(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return za(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Qd(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Xd(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(ct)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),$i||this.currentResult.isStale||!Ma(this.options.staleTime))return;const n=Kh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!($i||this.options.enabled===!1||!Ma(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||dl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,a=t!==r,c=a?t.state:this.currentQueryInitialState,d=a?this.currentResult:this.previousQueryResult,{state:p}=t;let{dataUpdatedAt:f,error:y,errorUpdatedAt:_,fetchStatus:w,status:k}=p,g=!1,m=!1,h;if(n._optimisticResults){const N=this.hasListeners(),j=!N&&Yd(t,n),L=N&&Xd(t,r,n,i);(j||L)&&(w=Il(t.options.networkMode)?"fetching":"paused",f||(k="loading")),n._optimisticResults==="isRestoring"&&(w="idle")}if(n.keepPreviousData&&!p.dataUpdateCount&&d!=null&&d.isSuccess&&k!=="error")h=d.data,f=d.dataUpdatedAt,k=d.status,g=!0;else if(n.select&&typeof p.data<"u")if(o&&p.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(p.data),h=Fa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(N){this.selectError=N}else h=p.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&k==="loading"){let N;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))N=o.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof N<"u")try{N=n.select(N),N=Fa(o==null?void 0:o.data,N,n),this.selectError=null}catch(j){this.selectError=j}typeof N<"u"&&(k="success",h=N,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,_=Date.now(),k="error");const E=w==="fetching",C=k==="loading",S=k==="error";return{status:k,fetchStatus:w,isLoading:C,isSuccess:k==="success",isError:S,isInitialLoading:C&&E,data:h,dataUpdatedAt:f,error:y,errorUpdatedAt:_,failureCount:p.fetchFailureCount,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:E,isRefetching:E&&!C,isLoadingError:S&&p.dataUpdatedAt===0,isPaused:w==="paused",isPlaceholderData:m,isPreviousData:g,isRefetchError:S&&p.dataUpdatedAt!==0,isStale:Yu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Qd(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const s=new Set(l!=null?l:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(a=>{const c=a;return this.currentResult[c]!==n[c]&&s.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!Do(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){me.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var l,s,a,c;(l=(s=this.options).onError)==null||l.call(s,this.currentResult.error),(a=(c=this.options).onSettled)==null||a.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(d=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function r0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Yd(e,t){return r0(e,t)||e.state.dataUpdatedAt>0&&za(e,t,t.refetchOnMount)}function za(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Yu(e,t)}return!1}function Xd(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Yu(e,n)}function Yu(e,t){return e.isStaleByTime(t.staleTime)}var Jh={exports:{}},em={};/** + */function Qh(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 b_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function L_(e,t){return e.button===0&&(!t||t==="_self")&&!b_(e)}function ul(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function I_(e,t){let n=ul(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const M_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],$_=["aria-current","caseSensitive","className","end","style","to","children"];function F_(e){let{basename:t,children:n,window:r}=e,i=v.exports.useRef();i.current==null&&(i.current=Dy({window:r,v5Compat:!0}));let o=i.current,[l,s]=v.exports.useState({action:o.action,location:o.location});return v.exports.useLayoutEffect(()=>o.listen(s),[o]),u(O_,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const Ae=v.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:a,to:c,preventScrollReset:d}=t,p=Qh(t,M_),f=w_(c,{relative:i}),y=z_(c,{replace:l,state:s,target:a,preventScrollReset:d,relative:i});function _(w){r&&r(w),w.defaultPrevented||y(w)}return u("a",{...p,href:f,onClick:o?r:_,ref:n,target:a})}),Zr=v.exports.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:l=!1,style:s,to:a,children:c}=t,d=Qh(t,$_),p=al(a),f=E_({path:p.pathname,end:l,caseSensitive:i}),y=v.exports.useContext(Ku),_=y==null?void 0:y.navigation.location,w=al(_||""),g=v.exports.useMemo(()=>_?Qu({path:p.pathname,end:l,caseSensitive:i},w.pathname):null,[_,p.pathname,i,l,w.pathname])!=null,m=f!=null,h=m?r:void 0,E;typeof o=="function"?E=o({isActive:m,isPending:g}):E=[o,m?"active":null,g?"pending":null].filter(Boolean).join(" ");let C=typeof s=="function"?s({isActive:m,isPending:g}):s;return u(Ae,{...d,"aria-current":h,className:E,ref:n,style:C,to:a,children:typeof c=="function"?c({isActive:m,isPending:g}):c})});function z_(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=Ke(),a=Ot(),c=al(e,{relative:l});return v.exports.useCallback(d=>{if(L_(d,n)){d.preventDefault();let p=r!==void 0?r:Da(a)===Da(c);s(e,{replace:p,state:i,preventScrollReset:o,relative:l})}},[a,s,c,r,i,n,e,o,l])}function j_(e){let t=v.exports.useRef(ul(e)),n=Ot(),r=v.exports.useMemo(()=>I_(n.search,t.current),[n.search]),i=Ke(),o=v.exports.useCallback((l,s)=>{const a=ul(typeof l=="function"?l(r):l);i("?"+a,s)},[i,r]);return[r,o]}class Qi{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const $i=typeof window>"u";function dt(){}function U_(e,t){return typeof e=="function"?e(t):e}function Ma(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oo(e,t,n){return Ll(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function on(e,t,n){return Ll(e)?[{...t,queryKey:e},n]:[e||{},t]}function Wd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Ll(l)){if(r){if(t.queryHash!==Gu(l,t.options))return!1}else if(!cl(t.queryKey,l))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function Hd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Ll(o)){if(!t.options.mutationKey)return!1;if(n){if(Fn(t.options.mutationKey)!==Fn(o))return!1}else if(!cl(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function Gu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fn)(e)}function Fn(e){return JSON.stringify(e,(t,n)=>$a(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function cl(e,t){return Vh(e,t)}function Vh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vh(e[n],t[n])):!1}function Gh(e,t){if(e===t)return e;const n=Kd(e)&&Kd(t);if(n||$a(e)&&$a(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let s=0;for(let a=0;a"u")return!0;const n=t.prototype;return!(!Vd(n)||!n.hasOwnProperty("isPrototypeOf"))}function Vd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ll(e){return Array.isArray(e)}function qh(e){return new Promise(t=>{setTimeout(t,e)})}function Gd(e){qh(0).then(e)}function B_(){if(typeof AbortController=="function")return new AbortController}function Fa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gh(e,t):t}class W_ extends Qi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const dl=new W_;class H_ extends Qi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const fl=new H_;function Q_(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?fl.isOnline():!0}class Yh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Do(e){return e instanceof Yh}function Xh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((k,g)=>{o=k,l=g}),a=k=>{r||(y(new Yh(k)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},p=()=>!dl.isFocused()||e.networkMode!=="always"&&!fl.isOnline(),f=k=>{r||(r=!0,e.onSuccess==null||e.onSuccess(k),i==null||i(),o(k))},y=k=>{r||(r=!0,e.onError==null||e.onError(k),i==null||i(),l(k))},_=()=>new Promise(k=>{i=g=>{if(r||!p())return k(g)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),w=()=>{if(r)return;let k;try{k=e.fn()}catch(g){k=Promise.reject(g)}Promise.resolve(k).then(f).catch(g=>{var m,h;if(r)return;const E=(m=e.retry)!=null?m:3,C=(h=e.retryDelay)!=null?h:Q_,S=typeof C=="function"?C(n,g):C,T=E===!0||typeof E=="number"&&n{if(p())return _()}).then(()=>{t?y(g):w()})})};return Il(e.networkMode)?w():_().then(w),{promise:s,cancel:a,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const qu=console;function K_(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let p;t++;try{p=d()}finally{t--,t||s()}return p},o=d=>{t?e.push(d):Gd(()=>{n(d)})},l=d=>(...p)=>{o(()=>{d(...p)})},s=()=>{const d=e;e=[],d.length&&Gd(()=>{r(()=>{d.forEach(p=>{n(p)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const me=K_();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ma(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:$i?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class V_ extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||qu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||G_(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Fa(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(dt).catch(dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Kh(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(_=>_.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=B_(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},a=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};a(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),d={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c,meta:this.meta};if(a(d),(r=this.options.behavior)==null||r.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=d.fetchOptions)==null?void 0:i.meta)){var p;this.dispatch({type:"fetch",meta:(p=d.fetchOptions)==null?void 0:p.meta})}const f=y=>{if(Do(y)&&y.silent||this.dispatch({type:"error",error:y}),!Do(y)){var _,w;(_=(w=this.cache.config).onError)==null||_.call(w,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Xh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var _,w;if(typeof y>"u"){f(new Error("undefined"));return}this.setData(y),(_=(w=this.cache.config).onSuccess)==null||_.call(w,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:Il(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const l=t.error;return Do(l)&&l.revert&&this.revertState?{...this.revertState}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),me.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function G_(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class q_ extends Qi{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,l=(i=n.queryHash)!=null?i:Gu(o,n);let s=this.get(l);return s||(s=new V_({cache:this,logger:t.getLogger(),queryKey:o,queryHash:l,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){me.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=on(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Wd(r,i))}findAll(t,n){const[r]=on(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Wd(r,i)):this.queries}notify(t){me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){me.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){me.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Y_ extends Zh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||qu,this.observers=[],this.state=t.state||X_(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var h;return this.retryer=Xh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(h=this.options.retry)!=null?h:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,l,s,a;if(!n){var c,d,p,f;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const E=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const h=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,h,this.state.variables,this.state.context,this),await((o=(l=this.options).onSuccess)==null?void 0:o.call(l,h,this.state.variables,this.state.context)),await((s=(a=this.options).onSettled)==null?void 0:s.call(a,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(h){try{var y,_,w,k,g,m;throw(y=(_=this.mutationCache.config).onError)==null||y.call(_,h,this.state.variables,this.state.context,this),await((w=(k=this.options).onError)==null?void 0:w.call(k,h,this.state.variables,this.state.context)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,void 0,h,this.state.variables,this.state.context)),h}finally{this.dispatch({type:"error",error:h})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!Il(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),me.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function X_(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class Z_ extends Qi{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new Y_({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){me.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Hd(t,n))}findAll(t){return this.mutations.filter(n=>Hd(t,n))}notify(t){me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return me.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(dt)),Promise.resolve()))}}function J_(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,l;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,a=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,c=a==null?void 0:a.pageParam,d=(a==null?void 0:a.direction)==="forward",p=(a==null?void 0:a.direction)==="backward",f=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let _=y,w=!1;const k=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>{var T;if((T=e.signal)!=null&&T.aborted)w=!0;else{var N;(N=e.signal)==null||N.addEventListener("abort",()=>{w=!0})}return e.signal}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(S,T,N,j)=>(_=j?[T,..._]:[..._,T],j?[N,...S]:[...S,N]),h=(S,T,N,j)=>{if(w)return Promise.reject("Cancelled");if(typeof N>"u"&&!T&&S.length)return Promise.resolve(S);const L={queryKey:e.queryKey,pageParam:N,meta:e.meta};k(L);const re=g(L);return Promise.resolve(re).then(le=>m(S,N,le,j))};let E;if(!f.length)E=h([]);else if(d){const S=typeof c<"u",T=S?c:qd(e.options,f);E=h(f,S,T)}else if(p){const S=typeof c<"u",T=S?c:e0(e.options,f);E=h(f,S,T,!0)}else{_=[];const S=typeof e.options.getNextPageParam>"u";E=(s&&f[0]?s(f[0],0,f):!0)?h([],S,y[0]):Promise.resolve(m([],y[0],f[0]));for(let N=1;N{if(s&&f[N]?s(f[N],N,f):!0){const re=S?y[N]:qd(e.options,j);return h(j,S,re)}return Promise.resolve(m(j,y[N],f[N]))})}return E.then(S=>({pages:S,pageParams:_}))}}}}function qd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function e0(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class t0{constructor(t={}){this.queryCache=t.queryCache||new q_,this.mutationCache=t.mutationCache||new Z_,this.logger=t.logger||qu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=dl.subscribe(()=>{dl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=fl.subscribe(()=>{fl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=on(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,l=U_(n,o);if(typeof l>"u")return;const s=Oo(t),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return me.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=on(t,n),i=this.queryCache;me.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=on(t,n,r),l=this.queryCache,s={type:"active",...i};return me.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=on(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=me.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(dt).catch(dt)}invalidateQueries(t,n,r){const[i,o]=on(t,n,r);return me.batch(()=>{var l,s;if(this.queryCache.findAll(i).forEach(c=>{c.invalidate()}),i.refetchType==="none")return Promise.resolve();const a={...i,type:(l=(s=i.refetchType)!=null?s:i.type)!=null?l:"active"};return this.refetchQueries(a,o)})}refetchQueries(t,n,r){const[i,o]=on(t,n,r),l=me.batch(()=>this.queryCache.findAll(i).filter(a=>!a.isDisabled()).map(a=>{var c;return a.fetch(void 0,{...o,cancelRefetch:(c=o==null?void 0:o.cancelRefetch)!=null?c:!0,meta:{refetchPage:i.refetchPage}})}));let s=Promise.all(l).then(dt);return o!=null&&o.throwOnError||(s=s.catch(dt)),s}fetchQuery(t,n,r){const i=Oo(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const l=this.queryCache.build(this,o);return l.isStaleByTime(o.staleTime)?l.fetch(o):Promise.resolve(l.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(dt).catch(dt)}fetchInfiniteQuery(t,n,r){const i=Oo(t,n,r);return i.behavior=J_(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(dt).catch(dt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>Fn(t)===Fn(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>cl(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>Fn(t)===Fn(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>cl(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Gu(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class n0 extends Qi{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Yd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return za(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return za(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Qd(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Xd(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(dt)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),$i||this.currentResult.isStale||!Ma(this.options.staleTime))return;const n=Kh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!($i||this.options.enabled===!1||!Ma(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||dl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,a=t!==r,c=a?t.state:this.currentQueryInitialState,d=a?this.currentResult:this.previousQueryResult,{state:p}=t;let{dataUpdatedAt:f,error:y,errorUpdatedAt:_,fetchStatus:w,status:k}=p,g=!1,m=!1,h;if(n._optimisticResults){const N=this.hasListeners(),j=!N&&Yd(t,n),L=N&&Xd(t,r,n,i);(j||L)&&(w=Il(t.options.networkMode)?"fetching":"paused",f||(k="loading")),n._optimisticResults==="isRestoring"&&(w="idle")}if(n.keepPreviousData&&!p.dataUpdateCount&&d!=null&&d.isSuccess&&k!=="error")h=d.data,f=d.dataUpdatedAt,k=d.status,g=!0;else if(n.select&&typeof p.data<"u")if(o&&p.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(p.data),h=Fa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(N){this.selectError=N}else h=p.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&k==="loading"){let N;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))N=o.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof N<"u")try{N=n.select(N),N=Fa(o==null?void 0:o.data,N,n),this.selectError=null}catch(j){this.selectError=j}typeof N<"u"&&(k="success",h=N,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,_=Date.now(),k="error");const E=w==="fetching",C=k==="loading",S=k==="error";return{status:k,fetchStatus:w,isLoading:C,isSuccess:k==="success",isError:S,isInitialLoading:C&&E,data:h,dataUpdatedAt:f,error:y,errorUpdatedAt:_,failureCount:p.fetchFailureCount,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:E,isRefetching:E&&!C,isLoadingError:S&&p.dataUpdatedAt===0,isPaused:w==="paused",isPlaceholderData:m,isPreviousData:g,isRefetchError:S&&p.dataUpdatedAt!==0,isStale:Yu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Qd(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const s=new Set(l!=null?l:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(a=>{const c=a;return this.currentResult[c]!==n[c]&&s.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!Do(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){me.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var l,s,a,c;(l=(s=this.options).onError)==null||l.call(s,this.currentResult.error),(a=(c=this.options).onSettled)==null||a.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(d=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function r0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Yd(e,t){return r0(e,t)||e.state.dataUpdatedAt>0&&za(e,t,t.refetchOnMount)}function za(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Yu(e,t)}return!1}function Xd(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Yu(e,n)}function Yu(e,t){return e.isStaleByTime(t.staleTime)}var Jh={exports:{}},em={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -72,18 +72,18 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Lr=v.exports;function i0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var o0=typeof Object.is=="function"?Object.is:i0,l0=Lr.useState,s0=Lr.useEffect,a0=Lr.useLayoutEffect,u0=Lr.useDebugValue;function c0(e,t){var n=t(),r=l0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return a0(function(){i.value=n,i.getSnapshot=t,_s(i)&&o({inst:i})},[e,n,t]),s0(function(){return _s(i)&&o({inst:i}),e(function(){_s(i)&&o({inst:i})})},[e]),u0(n),n}function _s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o0(e,n)}catch{return!0}}function d0(e,t){return t()}var f0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d0:c0;em.useSyncExternalStore=Lr.useSyncExternalStore!==void 0?Lr.useSyncExternalStore:f0;(function(e){e.exports=em})(Jh);const p0=Jh.exports.useSyncExternalStore,Zd=v.exports.createContext(void 0),tm=v.exports.createContext(!1);function nm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Zd),window.ReactQueryClientContext):Zd)}const h0=({context:e}={})=>{const t=v.exports.useContext(nm(e,v.exports.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},m0=({client:e,children:t,context:n,contextSharing:r=!1})=>{v.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=nm(n,r);return u(tm.Provider,{value:!n&&r,children:u(i.Provider,{value:e,children:t})})},rm=v.exports.createContext(!1),g0=()=>v.exports.useContext(rm);rm.Provider;function v0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const y0=v.exports.createContext(v0()),_0=()=>v.exports.useContext(y0);function x0(e,t){return typeof e=="function"?e(...t):!!e}const w0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},E0=e=>{v.exports.useEffect(()=>{e.clearReset()},[e])},S0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&x0(n,[e.error,r]);function C0(e,t){const n=h0({context:e.context}),r=g0(),i=_0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=me.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=me.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=me.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),w0(o,i),E0(i);const[l]=v.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if(p0(v.exports.useCallback(a=>r?()=>{}:l.subscribe(me.batchCalls(a)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.exports.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),o.suspense&&s.isLoading&&s.isFetching&&!r)throw l.fetchOptimistic(o).then(({data:a})=>{o.onSuccess==null||o.onSuccess(a),o.onSettled==null||o.onSettled(a,null)}).catch(a=>{i.clearReset(),o.onError==null||o.onError(a),o.onSettled==null||o.onSettled(void 0,a)});if(S0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function Ee(e,t,n){const r=Oo(e,t,n);return C0(r,n0)}/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */const{entries:im,setPrototypeOf:Jd,isFrozen:k0,getPrototypeOf:N0,getOwnPropertyDescriptor:Xu}=Object;let{freeze:We,seal:Pt,create:om}=Object,{apply:ja,construct:Ua}=typeof Reflect<"u"&&Reflect;We||(We=function(t){return t});Pt||(Pt=function(t){return t});ja||(ja=function(t,n,r){return t.apply(n,r)});Ua||(Ua=function(t,n){return new t(...n)});const po=yt(Array.prototype.forEach),ef=yt(Array.prototype.pop),Jr=yt(Array.prototype.push),bo=yt(String.prototype.toLowerCase),xs=yt(String.prototype.toString),T0=yt(String.prototype.match),ei=yt(String.prototype.replace),A0=yt(String.prototype.indexOf),R0=yt(String.prototype.trim),rt=yt(RegExp.prototype.test),ti=P0(TypeError);function yt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:bo;Jd&&Jd(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(k0(t)||(t[r]=o),i=o)}e[i]=!0}return e}function O0(e){for(let t=0;t/gm),M0=Pt(/\${[\w\W]*}/gm),$0=Pt(/^data-[\-\w.\u00B7-\uFFFF]/),F0=Pt(/^aria-[\-\w]+$/),lm=Pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z0=Pt(/^(?:\w+script|data):/i),j0=Pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sm=Pt(/^html$/i);var lf=Object.freeze({__proto__:null,MUSTACHE_EXPR:L0,ERB_EXPR:I0,TMPLIT_EXPR:M0,DATA_ATTR:$0,ARIA_ATTR:F0,IS_ALLOWED_URI:lm,IS_SCRIPT_OR_DATA:z0,ATTR_WHITESPACE:j0,DOCTYPE_NAME:sm});const U0=function(){return typeof window>"u"?null:window},B0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function am(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:U0();const t=$=>am($);if(t.version="3.0.8",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:s,Element:a,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:y}=e,_=a.prototype,w=ho(_,"cloneNode"),k=ho(_,"nextSibling"),g=ho(_,"childNodes"),m=ho(_,"parentNode");if(typeof l=="function"){const $=n.createElement("template");$.content&&$.content.ownerDocument&&(n=$.content.ownerDocument)}let h,E="";const{implementation:C,createNodeIterator:S,createDocumentFragment:T,getElementsByTagName:N}=n,{importNode:j}=r;let L={};t.isSupported=typeof im=="function"&&typeof m=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:Pe,TMPLIT_EXPR:le,DATA_ATTR:ie,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:Ke,ATTR_WHITESPACE:Ve}=lf;let{IS_ALLOWED_URI:P}=lf,b=null;const z=W({},[...tf,...ws,...Es,...Ss,...nf]);let F=null;const X=W({},[...rf,...Cs,...of,...mo]);let Q=Object.seal(om(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,de=null,Oe=!0,Dt=!0,Ki=!1,Zn=!0,bt=!1,zt=!1,Jn=!1,Nn=!1,xt=!1,Z=!1,Tn=!1,er=!0,uc=!1;const rg="user-content-";let jl=!0,Ur=!1,tr={},nr=null;const cc=W({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let dc=null;const fc=W({},["audio","video","img","source","image","track"]);let Ul=null;const pc=W({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vi="http://www.w3.org/1998/Math/MathML",Gi="http://www.w3.org/2000/svg",jt="http://www.w3.org/1999/xhtml";let rr=jt,Bl=!1,Wl=null;const ig=W({},[Vi,Gi,jt],xs);let Br=null;const og=["application/xhtml+xml","text/html"],lg="text/html";let xe=null,ir=null;const sg=n.createElement("form"),hc=function(x){return x instanceof RegExp||x instanceof Function},Hl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ir&&ir===x)){if((!x||typeof x!="object")&&(x={}),x=bn(x),Br=og.indexOf(x.PARSER_MEDIA_TYPE)===-1?lg:x.PARSER_MEDIA_TYPE,xe=Br==="application/xhtml+xml"?xs:bo,b="ALLOWED_TAGS"in x?W({},x.ALLOWED_TAGS,xe):z,F="ALLOWED_ATTR"in x?W({},x.ALLOWED_ATTR,xe):X,Wl="ALLOWED_NAMESPACES"in x?W({},x.ALLOWED_NAMESPACES,xs):ig,Ul="ADD_URI_SAFE_ATTR"in x?W(bn(pc),x.ADD_URI_SAFE_ATTR,xe):pc,dc="ADD_DATA_URI_TAGS"in x?W(bn(fc),x.ADD_DATA_URI_TAGS,xe):fc,nr="FORBID_CONTENTS"in x?W({},x.FORBID_CONTENTS,xe):cc,ve="FORBID_TAGS"in x?W({},x.FORBID_TAGS,xe):{},de="FORBID_ATTR"in x?W({},x.FORBID_ATTR,xe):{},tr="USE_PROFILES"in x?x.USE_PROFILES:!1,Oe=x.ALLOW_ARIA_ATTR!==!1,Dt=x.ALLOW_DATA_ATTR!==!1,Ki=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Zn=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,bt=x.SAFE_FOR_TEMPLATES||!1,zt=x.WHOLE_DOCUMENT||!1,xt=x.RETURN_DOM||!1,Z=x.RETURN_DOM_FRAGMENT||!1,Tn=x.RETURN_TRUSTED_TYPE||!1,Nn=x.FORCE_BODY||!1,er=x.SANITIZE_DOM!==!1,uc=x.SANITIZE_NAMED_PROPS||!1,jl=x.KEEP_CONTENT!==!1,Ur=x.IN_PLACE||!1,P=x.ALLOWED_URI_REGEXP||lm,rr=x.NAMESPACE||jt,Q=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&hc(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Q.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&hc(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Q.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Q.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),bt&&(Dt=!1),Z&&(xt=!0),tr&&(b=W({},nf),F=[],tr.html===!0&&(W(b,tf),W(F,rf)),tr.svg===!0&&(W(b,ws),W(F,Cs),W(F,mo)),tr.svgFilters===!0&&(W(b,Es),W(F,Cs),W(F,mo)),tr.mathMl===!0&&(W(b,Ss),W(F,of),W(F,mo))),x.ADD_TAGS&&(b===z&&(b=bn(b)),W(b,x.ADD_TAGS,xe)),x.ADD_ATTR&&(F===X&&(F=bn(F)),W(F,x.ADD_ATTR,xe)),x.ADD_URI_SAFE_ATTR&&W(Ul,x.ADD_URI_SAFE_ATTR,xe),x.FORBID_CONTENTS&&(nr===cc&&(nr=bn(nr)),W(nr,x.FORBID_CONTENTS,xe)),jl&&(b["#text"]=!0),zt&&W(b,["html","head","body"]),b.table&&(W(b,["tbody"]),delete ve.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=x.TRUSTED_TYPES_POLICY,E=h.createHTML("")}else h===void 0&&(h=B0(y,i)),h!==null&&typeof E=="string"&&(E=h.createHTML(""));We&&We(x),ir=x}},mc=W({},["mi","mo","mn","ms","mtext"]),gc=W({},["foreignobject","desc","title","annotation-xml"]),ag=W({},["title","style","font","a","script"]),vc=W({},[...ws,...Es,...D0]),yc=W({},[...Ss,...b0]),ug=function(x){let O=m(x);(!O||!O.tagName)&&(O={namespaceURI:rr,tagName:"template"});const I=bo(x.tagName),J=bo(O.tagName);return Wl[x.namespaceURI]?x.namespaceURI===Gi?O.namespaceURI===jt?I==="svg":O.namespaceURI===Vi?I==="svg"&&(J==="annotation-xml"||mc[J]):Boolean(vc[I]):x.namespaceURI===Vi?O.namespaceURI===jt?I==="math":O.namespaceURI===Gi?I==="math"&&gc[J]:Boolean(yc[I]):x.namespaceURI===jt?O.namespaceURI===Gi&&!gc[J]||O.namespaceURI===Vi&&!mc[J]?!1:!yc[I]&&(ag[I]||!vc[I]):!!(Br==="application/xhtml+xml"&&Wl[x.namespaceURI]):!1},An=function(x){Jr(t.removed,{element:x});try{x.parentNode.removeChild(x)}catch{x.remove()}},Ql=function(x,O){try{Jr(t.removed,{attribute:O.getAttributeNode(x),from:O})}catch{Jr(t.removed,{attribute:null,from:O})}if(O.removeAttribute(x),x==="is"&&!F[x])if(xt||Z)try{An(O)}catch{}else try{O.setAttribute(x,"")}catch{}},_c=function(x){let O=null,I=null;if(Nn)x=""+x;else{const be=T0(x,/^[\r\n\t ]+/);I=be&&be[0]}Br==="application/xhtml+xml"&&rr===jt&&(x=''+x+"");const J=h?h.createHTML(x):x;if(rr===jt)try{O=new f().parseFromString(J,Br)}catch{}if(!O||!O.documentElement){O=C.createDocument(rr,"template",null);try{O.documentElement.innerHTML=Bl?E:J}catch{}}const De=O.body||O.documentElement;return x&&I&&De.insertBefore(n.createTextNode(I),De.childNodes[0]||null),rr===jt?N.call(O,zt?"html":"body")[0]:zt?O.documentElement:De},xc=function(x){return S.call(x.ownerDocument||x,x,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},cg=function(x){return x instanceof p&&(typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||!(x.attributes instanceof d)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function")},wc=function(x){return typeof s=="function"&&x instanceof s},Ut=function(x,O,I){!L[x]||po(L[x],J=>{J.call(t,O,I,ir)})},Ec=function(x){let O=null;if(Ut("beforeSanitizeElements",x,null),cg(x))return An(x),!0;const I=xe(x.nodeName);if(Ut("uponSanitizeElement",x,{tagName:I,allowedTags:b}),x.hasChildNodes()&&!wc(x.firstElementChild)&&rt(/<[/\w]/g,x.innerHTML)&&rt(/<[/\w]/g,x.textContent))return An(x),!0;if(!b[I]||ve[I]){if(!ve[I]&&Cc(I)&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,I)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(I)))return!1;if(jl&&!nr[I]){const J=m(x)||x.parentNode,De=g(x)||x.childNodes;if(De&&J){const be=De.length;for(let Ge=be-1;Ge>=0;--Ge)J.insertBefore(w(De[Ge],!0),k(x))}}return An(x),!0}return x instanceof a&&!ug(x)||(I==="noscript"||I==="noembed"||I==="noframes")&&rt(/<\/no(script|embed|frames)/i,x.innerHTML)?(An(x),!0):(bt&&x.nodeType===3&&(O=x.textContent,po([re,Pe,le],J=>{O=ei(O,J," ")}),x.textContent!==O&&(Jr(t.removed,{element:x.cloneNode()}),x.textContent=O)),Ut("afterSanitizeElements",x,null),!1)},Sc=function(x,O,I){if(er&&(O==="id"||O==="name")&&(I in n||I in sg))return!1;if(!(Dt&&!de[O]&&rt(ie,O))){if(!(Oe&&rt(pe,O))){if(!F[O]||de[O]){if(!(Cc(x)&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,x)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(x))&&(Q.attributeNameCheck instanceof RegExp&&rt(Q.attributeNameCheck,O)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(O))||O==="is"&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,I)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(I))))return!1}else if(!Ul[O]){if(!rt(P,ei(I,Ve,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&x!=="script"&&A0(I,"data:")===0&&dc[x])){if(!(Ki&&!rt(Ke,ei(I,Ve,"")))){if(I)return!1}}}}}}return!0},Cc=function(x){return x.indexOf("-")>0},kc=function(x){Ut("beforeSanitizeAttributes",x,null);const{attributes:O}=x;if(!O)return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F};let J=O.length;for(;J--;){const De=O[J],{name:be,namespaceURI:Ge,value:Rn}=De,Wr=xe(be);let qe=be==="value"?Rn:R0(Rn);if(I.attrName=Wr,I.attrValue=qe,I.keepAttr=!0,I.forceKeepAttr=void 0,Ut("uponSanitizeAttribute",x,I),qe=I.attrValue,I.forceKeepAttr||(Ql(be,x),!I.keepAttr))continue;if(!Zn&&rt(/\/>/i,qe)){Ql(be,x);continue}bt&&po([re,Pe,le],Tc=>{qe=ei(qe,Tc," ")});const Nc=xe(x.nodeName);if(!!Sc(Nc,Wr,qe)){if(uc&&(Wr==="id"||Wr==="name")&&(Ql(be,x),qe=rg+qe),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Ge)switch(y.getAttributeType(Nc,Wr)){case"TrustedHTML":{qe=h.createHTML(qe);break}case"TrustedScriptURL":{qe=h.createScriptURL(qe);break}}try{Ge?x.setAttributeNS(Ge,be,qe):x.setAttribute(be,qe),ef(t.removed)}catch{}}}Ut("afterSanitizeAttributes",x,null)},dg=function $(x){let O=null;const I=xc(x);for(Ut("beforeSanitizeShadowDOM",x,null);O=I.nextNode();)Ut("uponSanitizeShadowNode",O,null),!Ec(O)&&(O.content instanceof o&&$(O.content),kc(O));Ut("afterSanitizeShadowDOM",x,null)};return t.sanitize=function($){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=null,I=null,J=null,De=null;if(Bl=!$,Bl&&($=""),typeof $!="string"&&!wc($))if(typeof $.toString=="function"){if($=$.toString(),typeof $!="string")throw ti("dirty is not a string, aborting")}else throw ti("toString is not a function");if(!t.isSupported)return $;if(Jn||Hl(x),t.removed=[],typeof $=="string"&&(Ur=!1),Ur){if($.nodeName){const Rn=xe($.nodeName);if(!b[Rn]||ve[Rn])throw ti("root node is forbidden and cannot be sanitized in-place")}}else if($ instanceof s)O=_c(""),I=O.ownerDocument.importNode($,!0),I.nodeType===1&&I.nodeName==="BODY"||I.nodeName==="HTML"?O=I:O.appendChild(I);else{if(!xt&&!bt&&!zt&&$.indexOf("<")===-1)return h&&Tn?h.createHTML($):$;if(O=_c($),!O)return xt?null:Tn?E:""}O&&Nn&&An(O.firstChild);const be=xc(Ur?$:O);for(;J=be.nextNode();)Ec(J)||(J.content instanceof o&&dg(J.content),kc(J));if(Ur)return $;if(xt){if(Z)for(De=T.call(O.ownerDocument);O.firstChild;)De.appendChild(O.firstChild);else De=O;return(F.shadowroot||F.shadowrootmode)&&(De=j.call(r,De,!0)),De}let Ge=zt?O.outerHTML:O.innerHTML;return zt&&b["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&rt(sm,O.ownerDocument.doctype.name)&&(Ge=" -`+Ge),bt&&po([re,Pe,le],Rn=>{Ge=ei(Ge,Rn," ")}),h&&Tn?h.createHTML(Ge):Ge},t.setConfig=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hl($),Jn=!0},t.clearConfig=function(){ir=null,Jn=!1},t.isValidAttribute=function($,x,O){ir||Hl({});const I=xe($),J=xe(x);return Sc(I,J,O)},t.addHook=function($,x){typeof x=="function"&&(L[$]=L[$]||[],Jr(L[$],x))},t.removeHook=function($){if(L[$])return ef(L[$])},t.removeHooks=function($){L[$]&&(L[$]=[])},t.removeAllHooks=function(){L={}},t}var Kn=am(),um={exports:{}};/*! + */var Lr=v.exports;function i0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var o0=typeof Object.is=="function"?Object.is:i0,l0=Lr.useState,s0=Lr.useEffect,a0=Lr.useLayoutEffect,u0=Lr.useDebugValue;function c0(e,t){var n=t(),r=l0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return a0(function(){i.value=n,i.getSnapshot=t,_s(i)&&o({inst:i})},[e,n,t]),s0(function(){return _s(i)&&o({inst:i}),e(function(){_s(i)&&o({inst:i})})},[e]),u0(n),n}function _s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o0(e,n)}catch{return!0}}function d0(e,t){return t()}var f0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d0:c0;em.useSyncExternalStore=Lr.useSyncExternalStore!==void 0?Lr.useSyncExternalStore:f0;(function(e){e.exports=em})(Jh);const p0=Jh.exports.useSyncExternalStore,Zd=v.exports.createContext(void 0),tm=v.exports.createContext(!1);function nm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Zd),window.ReactQueryClientContext):Zd)}const h0=({context:e}={})=>{const t=v.exports.useContext(nm(e,v.exports.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},m0=({client:e,children:t,context:n,contextSharing:r=!1})=>{v.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=nm(n,r);return u(tm.Provider,{value:!n&&r,children:u(i.Provider,{value:e,children:t})})},rm=v.exports.createContext(!1),g0=()=>v.exports.useContext(rm);rm.Provider;function v0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const y0=v.exports.createContext(v0()),_0=()=>v.exports.useContext(y0);function x0(e,t){return typeof e=="function"?e(...t):!!e}const w0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},E0=e=>{v.exports.useEffect(()=>{e.clearReset()},[e])},S0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&x0(n,[e.error,r]);function C0(e,t){const n=h0({context:e.context}),r=g0(),i=_0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=me.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=me.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=me.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),w0(o,i),E0(i);const[l]=v.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if(p0(v.exports.useCallback(a=>r?()=>{}:l.subscribe(me.batchCalls(a)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.exports.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),o.suspense&&s.isLoading&&s.isFetching&&!r)throw l.fetchOptimistic(o).then(({data:a})=>{o.onSuccess==null||o.onSuccess(a),o.onSettled==null||o.onSettled(a,null)}).catch(a=>{i.clearReset(),o.onError==null||o.onError(a),o.onSettled==null||o.onSettled(void 0,a)});if(S0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function xe(e,t,n){const r=Oo(e,t,n);return C0(r,n0)}/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */const{entries:im,setPrototypeOf:Jd,isFrozen:k0,getPrototypeOf:N0,getOwnPropertyDescriptor:Xu}=Object;let{freeze:We,seal:Pt,create:om}=Object,{apply:ja,construct:Ua}=typeof Reflect<"u"&&Reflect;We||(We=function(t){return t});Pt||(Pt=function(t){return t});ja||(ja=function(t,n,r){return t.apply(n,r)});Ua||(Ua=function(t,n){return new t(...n)});const po=_t(Array.prototype.forEach),ef=_t(Array.prototype.pop),Jr=_t(Array.prototype.push),bo=_t(String.prototype.toLowerCase),xs=_t(String.prototype.toString),T0=_t(String.prototype.match),ei=_t(String.prototype.replace),A0=_t(String.prototype.indexOf),R0=_t(String.prototype.trim),rt=_t(RegExp.prototype.test),ti=P0(TypeError);function _t(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:bo;Jd&&Jd(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(k0(t)||(t[r]=o),i=o)}e[i]=!0}return e}function O0(e){for(let t=0;t/gm),M0=Pt(/\${[\w\W]*}/gm),$0=Pt(/^data-[\-\w.\u00B7-\uFFFF]/),F0=Pt(/^aria-[\-\w]+$/),lm=Pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z0=Pt(/^(?:\w+script|data):/i),j0=Pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sm=Pt(/^html$/i);var lf=Object.freeze({__proto__:null,MUSTACHE_EXPR:L0,ERB_EXPR:I0,TMPLIT_EXPR:M0,DATA_ATTR:$0,ARIA_ATTR:F0,IS_ALLOWED_URI:lm,IS_SCRIPT_OR_DATA:z0,ATTR_WHITESPACE:j0,DOCTYPE_NAME:sm});const U0=function(){return typeof window>"u"?null:window},B0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function am(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:U0();const t=$=>am($);if(t.version="3.0.8",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:s,Element:a,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:y}=e,_=a.prototype,w=ho(_,"cloneNode"),k=ho(_,"nextSibling"),g=ho(_,"childNodes"),m=ho(_,"parentNode");if(typeof l=="function"){const $=n.createElement("template");$.content&&$.content.ownerDocument&&(n=$.content.ownerDocument)}let h,E="";const{implementation:C,createNodeIterator:S,createDocumentFragment:T,getElementsByTagName:N}=n,{importNode:j}=r;let L={};t.isSupported=typeof im=="function"&&typeof m=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:Pe,TMPLIT_EXPR:le,DATA_ATTR:ie,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:Ve,ATTR_WHITESPACE:Ge}=lf;let{IS_ALLOWED_URI:P}=lf,b=null;const z=W({},[...tf,...ws,...Es,...Ss,...nf]);let F=null;const X=W({},[...rf,...Cs,...of,...mo]);let Q=Object.seal(om(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,de=null,Oe=!0,Dt=!0,Ki=!1,Zn=!0,bt=!1,zt=!1,Jn=!1,Nn=!1,xt=!1,Z=!1,Tn=!1,er=!0,uc=!1;const rg="user-content-";let jl=!0,Ur=!1,tr={},nr=null;const cc=W({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let dc=null;const fc=W({},["audio","video","img","source","image","track"]);let Ul=null;const pc=W({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vi="http://www.w3.org/1998/Math/MathML",Gi="http://www.w3.org/2000/svg",jt="http://www.w3.org/1999/xhtml";let rr=jt,Bl=!1,Wl=null;const ig=W({},[Vi,Gi,jt],xs);let Br=null;const og=["application/xhtml+xml","text/html"],lg="text/html";let Ee=null,ir=null;const sg=n.createElement("form"),hc=function(x){return x instanceof RegExp||x instanceof Function},Hl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ir&&ir===x)){if((!x||typeof x!="object")&&(x={}),x=bn(x),Br=og.indexOf(x.PARSER_MEDIA_TYPE)===-1?lg:x.PARSER_MEDIA_TYPE,Ee=Br==="application/xhtml+xml"?xs:bo,b="ALLOWED_TAGS"in x?W({},x.ALLOWED_TAGS,Ee):z,F="ALLOWED_ATTR"in x?W({},x.ALLOWED_ATTR,Ee):X,Wl="ALLOWED_NAMESPACES"in x?W({},x.ALLOWED_NAMESPACES,xs):ig,Ul="ADD_URI_SAFE_ATTR"in x?W(bn(pc),x.ADD_URI_SAFE_ATTR,Ee):pc,dc="ADD_DATA_URI_TAGS"in x?W(bn(fc),x.ADD_DATA_URI_TAGS,Ee):fc,nr="FORBID_CONTENTS"in x?W({},x.FORBID_CONTENTS,Ee):cc,ve="FORBID_TAGS"in x?W({},x.FORBID_TAGS,Ee):{},de="FORBID_ATTR"in x?W({},x.FORBID_ATTR,Ee):{},tr="USE_PROFILES"in x?x.USE_PROFILES:!1,Oe=x.ALLOW_ARIA_ATTR!==!1,Dt=x.ALLOW_DATA_ATTR!==!1,Ki=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Zn=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,bt=x.SAFE_FOR_TEMPLATES||!1,zt=x.WHOLE_DOCUMENT||!1,xt=x.RETURN_DOM||!1,Z=x.RETURN_DOM_FRAGMENT||!1,Tn=x.RETURN_TRUSTED_TYPE||!1,Nn=x.FORCE_BODY||!1,er=x.SANITIZE_DOM!==!1,uc=x.SANITIZE_NAMED_PROPS||!1,jl=x.KEEP_CONTENT!==!1,Ur=x.IN_PLACE||!1,P=x.ALLOWED_URI_REGEXP||lm,rr=x.NAMESPACE||jt,Q=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&hc(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Q.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&hc(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Q.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Q.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),bt&&(Dt=!1),Z&&(xt=!0),tr&&(b=W({},nf),F=[],tr.html===!0&&(W(b,tf),W(F,rf)),tr.svg===!0&&(W(b,ws),W(F,Cs),W(F,mo)),tr.svgFilters===!0&&(W(b,Es),W(F,Cs),W(F,mo)),tr.mathMl===!0&&(W(b,Ss),W(F,of),W(F,mo))),x.ADD_TAGS&&(b===z&&(b=bn(b)),W(b,x.ADD_TAGS,Ee)),x.ADD_ATTR&&(F===X&&(F=bn(F)),W(F,x.ADD_ATTR,Ee)),x.ADD_URI_SAFE_ATTR&&W(Ul,x.ADD_URI_SAFE_ATTR,Ee),x.FORBID_CONTENTS&&(nr===cc&&(nr=bn(nr)),W(nr,x.FORBID_CONTENTS,Ee)),jl&&(b["#text"]=!0),zt&&W(b,["html","head","body"]),b.table&&(W(b,["tbody"]),delete ve.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=x.TRUSTED_TYPES_POLICY,E=h.createHTML("")}else h===void 0&&(h=B0(y,i)),h!==null&&typeof E=="string"&&(E=h.createHTML(""));We&&We(x),ir=x}},mc=W({},["mi","mo","mn","ms","mtext"]),gc=W({},["foreignobject","desc","title","annotation-xml"]),ag=W({},["title","style","font","a","script"]),vc=W({},[...ws,...Es,...D0]),yc=W({},[...Ss,...b0]),ug=function(x){let O=m(x);(!O||!O.tagName)&&(O={namespaceURI:rr,tagName:"template"});const I=bo(x.tagName),J=bo(O.tagName);return Wl[x.namespaceURI]?x.namespaceURI===Gi?O.namespaceURI===jt?I==="svg":O.namespaceURI===Vi?I==="svg"&&(J==="annotation-xml"||mc[J]):Boolean(vc[I]):x.namespaceURI===Vi?O.namespaceURI===jt?I==="math":O.namespaceURI===Gi?I==="math"&&gc[J]:Boolean(yc[I]):x.namespaceURI===jt?O.namespaceURI===Gi&&!gc[J]||O.namespaceURI===Vi&&!mc[J]?!1:!yc[I]&&(ag[I]||!vc[I]):!!(Br==="application/xhtml+xml"&&Wl[x.namespaceURI]):!1},An=function(x){Jr(t.removed,{element:x});try{x.parentNode.removeChild(x)}catch{x.remove()}},Ql=function(x,O){try{Jr(t.removed,{attribute:O.getAttributeNode(x),from:O})}catch{Jr(t.removed,{attribute:null,from:O})}if(O.removeAttribute(x),x==="is"&&!F[x])if(xt||Z)try{An(O)}catch{}else try{O.setAttribute(x,"")}catch{}},_c=function(x){let O=null,I=null;if(Nn)x=""+x;else{const be=T0(x,/^[\r\n\t ]+/);I=be&&be[0]}Br==="application/xhtml+xml"&&rr===jt&&(x=''+x+"");const J=h?h.createHTML(x):x;if(rr===jt)try{O=new f().parseFromString(J,Br)}catch{}if(!O||!O.documentElement){O=C.createDocument(rr,"template",null);try{O.documentElement.innerHTML=Bl?E:J}catch{}}const De=O.body||O.documentElement;return x&&I&&De.insertBefore(n.createTextNode(I),De.childNodes[0]||null),rr===jt?N.call(O,zt?"html":"body")[0]:zt?O.documentElement:De},xc=function(x){return S.call(x.ownerDocument||x,x,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},cg=function(x){return x instanceof p&&(typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||!(x.attributes instanceof d)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function")},wc=function(x){return typeof s=="function"&&x instanceof s},Ut=function(x,O,I){!L[x]||po(L[x],J=>{J.call(t,O,I,ir)})},Ec=function(x){let O=null;if(Ut("beforeSanitizeElements",x,null),cg(x))return An(x),!0;const I=Ee(x.nodeName);if(Ut("uponSanitizeElement",x,{tagName:I,allowedTags:b}),x.hasChildNodes()&&!wc(x.firstElementChild)&&rt(/<[/\w]/g,x.innerHTML)&&rt(/<[/\w]/g,x.textContent))return An(x),!0;if(!b[I]||ve[I]){if(!ve[I]&&Cc(I)&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,I)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(I)))return!1;if(jl&&!nr[I]){const J=m(x)||x.parentNode,De=g(x)||x.childNodes;if(De&&J){const be=De.length;for(let qe=be-1;qe>=0;--qe)J.insertBefore(w(De[qe],!0),k(x))}}return An(x),!0}return x instanceof a&&!ug(x)||(I==="noscript"||I==="noembed"||I==="noframes")&&rt(/<\/no(script|embed|frames)/i,x.innerHTML)?(An(x),!0):(bt&&x.nodeType===3&&(O=x.textContent,po([re,Pe,le],J=>{O=ei(O,J," ")}),x.textContent!==O&&(Jr(t.removed,{element:x.cloneNode()}),x.textContent=O)),Ut("afterSanitizeElements",x,null),!1)},Sc=function(x,O,I){if(er&&(O==="id"||O==="name")&&(I in n||I in sg))return!1;if(!(Dt&&!de[O]&&rt(ie,O))){if(!(Oe&&rt(pe,O))){if(!F[O]||de[O]){if(!(Cc(x)&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,x)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(x))&&(Q.attributeNameCheck instanceof RegExp&&rt(Q.attributeNameCheck,O)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(O))||O==="is"&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&rt(Q.tagNameCheck,I)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(I))))return!1}else if(!Ul[O]){if(!rt(P,ei(I,Ge,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&x!=="script"&&A0(I,"data:")===0&&dc[x])){if(!(Ki&&!rt(Ve,ei(I,Ge,"")))){if(I)return!1}}}}}}return!0},Cc=function(x){return x.indexOf("-")>0},kc=function(x){Ut("beforeSanitizeAttributes",x,null);const{attributes:O}=x;if(!O)return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F};let J=O.length;for(;J--;){const De=O[J],{name:be,namespaceURI:qe,value:Rn}=De,Wr=Ee(be);let Ye=be==="value"?Rn:R0(Rn);if(I.attrName=Wr,I.attrValue=Ye,I.keepAttr=!0,I.forceKeepAttr=void 0,Ut("uponSanitizeAttribute",x,I),Ye=I.attrValue,I.forceKeepAttr||(Ql(be,x),!I.keepAttr))continue;if(!Zn&&rt(/\/>/i,Ye)){Ql(be,x);continue}bt&&po([re,Pe,le],Tc=>{Ye=ei(Ye,Tc," ")});const Nc=Ee(x.nodeName);if(!!Sc(Nc,Wr,Ye)){if(uc&&(Wr==="id"||Wr==="name")&&(Ql(be,x),Ye=rg+Ye),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!qe)switch(y.getAttributeType(Nc,Wr)){case"TrustedHTML":{Ye=h.createHTML(Ye);break}case"TrustedScriptURL":{Ye=h.createScriptURL(Ye);break}}try{qe?x.setAttributeNS(qe,be,Ye):x.setAttribute(be,Ye),ef(t.removed)}catch{}}}Ut("afterSanitizeAttributes",x,null)},dg=function $(x){let O=null;const I=xc(x);for(Ut("beforeSanitizeShadowDOM",x,null);O=I.nextNode();)Ut("uponSanitizeShadowNode",O,null),!Ec(O)&&(O.content instanceof o&&$(O.content),kc(O));Ut("afterSanitizeShadowDOM",x,null)};return t.sanitize=function($){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=null,I=null,J=null,De=null;if(Bl=!$,Bl&&($=""),typeof $!="string"&&!wc($))if(typeof $.toString=="function"){if($=$.toString(),typeof $!="string")throw ti("dirty is not a string, aborting")}else throw ti("toString is not a function");if(!t.isSupported)return $;if(Jn||Hl(x),t.removed=[],typeof $=="string"&&(Ur=!1),Ur){if($.nodeName){const Rn=Ee($.nodeName);if(!b[Rn]||ve[Rn])throw ti("root node is forbidden and cannot be sanitized in-place")}}else if($ instanceof s)O=_c(""),I=O.ownerDocument.importNode($,!0),I.nodeType===1&&I.nodeName==="BODY"||I.nodeName==="HTML"?O=I:O.appendChild(I);else{if(!xt&&!bt&&!zt&&$.indexOf("<")===-1)return h&&Tn?h.createHTML($):$;if(O=_c($),!O)return xt?null:Tn?E:""}O&&Nn&&An(O.firstChild);const be=xc(Ur?$:O);for(;J=be.nextNode();)Ec(J)||(J.content instanceof o&&dg(J.content),kc(J));if(Ur)return $;if(xt){if(Z)for(De=T.call(O.ownerDocument);O.firstChild;)De.appendChild(O.firstChild);else De=O;return(F.shadowroot||F.shadowrootmode)&&(De=j.call(r,De,!0)),De}let qe=zt?O.outerHTML:O.innerHTML;return zt&&b["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&rt(sm,O.ownerDocument.doctype.name)&&(qe=" +`+qe),bt&&po([re,Pe,le],Rn=>{qe=ei(qe,Rn," ")}),h&&Tn?h.createHTML(qe):qe},t.setConfig=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hl($),Jn=!0},t.clearConfig=function(){ir=null,Jn=!1},t.isValidAttribute=function($,x,O){ir||Hl({});const I=Ee($),J=Ee(x);return Sc(I,J,O)},t.addHook=function($,x){typeof x=="function"&&(L[$]=L[$]||[],Jr(L[$],x))},t.removeHook=function($){if(L[$])return ef(L[$])},t.removeHooks=function($){L[$]&&(L[$]=[])},t.removeAllHooks=function(){L={}},t}var Kn=am(),um={exports:{}};/*! 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=ke(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});U.displayName="Container";const Q0="_spinner_container_1gla4_1",K0="_html_spinner_1gla4_13",V0="_rotate_1gla4_1",sf={spinner_container:Q0,html_spinner:K0,rotate:V0},_t=()=>u(U,{className:`${sf.spinner_container}`,children:u("div",{className:`${sf.html_spinner}`})}),Se=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()}},G0="_news_title_1ntn6_1",q0="_news_date_1ntn6_15",Y0="_news_content_1ntn6_27",ks={news_title:G0,news_date:q0,news_content:Y0},X0=()=>{const e=nt(),t=Ee(["news","aktuelles",""],Se);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>R("div",{children:[u("div",{className:`${ks.news_title}`,children:n.title.rendered}),u("div",{className:`${ks.news_date}`,children:n.date.slice(0,10)}),u("div",{className:`${ks.news_content}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},q=v.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=ke(e,"row"),l=cm(),s=dm(),a=`${o}-cols`,c=[];return l.forEach(d=>{const p=r[d];delete r[d];let f;p!=null&&typeof p=="object"?{cols:f}=p:f=p;const y=d!==s?`-${d}`:"";f!=null&&c.push(`${a}${y}-${f}`)}),u(n,{ref:i,...r,className:ce(t,o,...c)})});q.displayName="Row";function Z0({as:e,bsPrefix:t,className:n,...r}){t=ke(t,"col");const i=cm(),o=dm(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let d,p,f;typeof c=="object"&&c!=null?{span:d,offset:p,order:f}=c:d=c;const y=a!==o?`-${a}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),f!=null&&s.push(`order${y}-${f}`),p!=null&&s.push(`offset${y}-${p}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const B=v.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=Z0(e);return u(i,{...r,ref:t,className:ce(n,!l.length&&o)})});B.displayName="Col";function Ml(e,t){let n=t;const r=nt(),i=Ee(["pic","media",e],Se);if(i.isLoading)return u(_t,{});i.isError&&r("/NotMatch404");let o=i.data.source_url;return o&&(n=o),n}const J0="_pic_container_3mpjs_1",e1="_service_pic_3mpjs_9",t1="_service_pic_caption_3mpjs_53",Ns={pic_container:J0,service_pic:e1,service_pic_caption:t1},n1=({imgid:e,picName:t})=>{const n=Ml(e,"imgs/category/forschung.png");return u("div",{className:`${Ns.pic_container}`,children:R("div",{className:`${Ns.service_pic}`,children:[u("img",{src:n,alt:t,width:"100%"}),u("div",{className:`${Ns.service_pic_caption}`,children:u("div",{children:t})})]})})},r1="_home_service_content_147wj_1",i1="_home_service_box_147wj_9",o1="_home_service_row_147wj_21",Ts={home_service_content:r1,home_service_box:i1,home_service_row:o1},l1=({props:e})=>u(U,{className:`${Ts.home_service_content}`,children:u(q,{className:`${Ts.home_service_row}`,children:e.data.map(t=>u(B,{xl:4,lg:4,md:6,className:`${Ts.home_service_box}`,children:u(Ae,{to:"/Dienstleistungen",state:t.title.rendered,children:u(n1,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),Ju="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",s1="_intro_16416_1",a1="_current_projects_16416_17",af={intro:s1,current_projects:a1},u1=()=>{const e=nt(),t=Ee(["services","dienstleistungen",""],Se),n=Ee(["landingIntro","pages/28911",""],Se);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),R("div",{children:[u(U,{className:`${af.intro}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.content.rendered)}}),u(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(U,{children:u(l1,{props:t})}),u(U,{className:"categoryTitle",children:"AKTUELLES"}),u(U,{children:u(X0,{})}),u(U,{children:u(Ae,{to:"/Projekte/laufend",className:`${af.current_projects}`,children:R("span",{children:["Laufende Projekte",u("img",{src:Ju,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var Ct={exports:{}},c1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d1=c1,f1=d1;function fm(){}function pm(){}pm.resetWarningCache=fm;var p1=function(){function e(r,i,o,l,s,a){if(a!==f1){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:pm,resetWarningCache:fm};return n.PropTypes=n,n};Ct.exports=p1();function h1(e,t,n){const r=v.exports.useRef(e!==void 0),[i,o]=v.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,v.exports.useCallback((...a)=>{const[c,...d]=a;let p=n==null?void 0:n(c,...d);return o(c),p},[n])]}const pl={prefix:String(Math.round(Math.random()*1e10)),current:0},hm=$e.createContext(pl),m1=$e.createContext(!1);let g1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),As=new WeakMap;function v1(e=!1){let t=v.exports.useContext(hm),n=v.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=$e.__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 y1(e){let t=v.exports.useContext(hm);t===pl&&!g1&&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=v1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function _1(e){let t=$e.useId(),[n]=v.exports.useState(C1()),r=n?"react-aria":`react-aria${pl.prefix}`;return e||`${r}-${t}`}const x1=typeof $e.useId=="function"?_1:y1;function w1(){return!1}function E1(){return!0}function S1(e){return()=>{}}function C1(){return typeof $e.useSyncExternalStore=="function"?$e.useSyncExternalStore(S1,w1,E1):v.exports.useContext(m1)}const jr=v.exports.createContext(null),Vn=v.exports.createContext(null),Fi=(e,t=null)=>e!=null?String(e):t||null;function k1(e){const t=v.exports.useRef(e);return v.exports.useEffect(()=>{t.current=e},[e]),t}function pt(e){const t=k1(e);return v.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const uf=e=>!e||typeof e=="function"?e:t=>{e.current=t};function N1(e,t){const n=uf(e),r=uf(t);return i=>{n&&n(i),r&&r(i)}}function $l(e,t){return v.exports.useMemo(()=>N1(e,t),[e,t])}function ec({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=v.exports.useRef(null),l=v.exports.useRef(t),s=pt(n);v.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=$l(o,e.ref),c=v.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const T1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],A1=["activeKey","getControlledId","getControllerId"],R1=["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 mm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:p,onExited:f}=e,y=Ba(e,T1);const _=v.exports.useContext(jr);if(!_)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:p,onExited:f}];const{activeKey:w,getControlledId:k,getControllerId:g}=_,m=Ba(_,A1),h=Fi(n);return[Object.assign({},y,{role:l,id:k(n),"aria-labelledby":g(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:d,onExiting:p,onExited:f}]}const gm=v.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=Ba(e,R1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:p,mountOnEnter:f,unmountOnExit:y,transition:_=ec}]=mm(r);return u(jr.Provider,{value:null,children:u(Vn.Provider,{value:null,children:u(_,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:p,mountOnEnter:f,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});gm.displayName="TabPanel";const vm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[d,p]=h1(i,o,r),f=x1(t),y=v.exports.useMemo(()=>n||((w,k)=>f?`${f}-${k}-${w}`:null),[f,n]),_=v.exports.useMemo(()=>({onSelect:p,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[p,d,l,s,a,y]);return u(jr.Provider,{value:_,children:u(Vn.Provider,{value:p||null,children:c})})};vm.Panel=gm;function ym(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 Wa(e,t){return Wa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Wa(e,t)}function P1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wa(e,t)}const cf={disabled:!1},_m=$e.createContext(null);var O1=function(t){return t.scrollTop},ui="unmounted",ln="exited",Nt="entering",Ht="entered",zi="exiting",en=function(e){P1(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=ln,o.appearStatus=Nt):a=Ht:r.unmountOnExit||r.mountOnEnter?a=ui:a=ln,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:ln}: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!==Nt&&l!==Ht&&(o=Nt):(l===Nt||l===Ht)&&(o=zi)}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===Nt){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);l&&O1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ln&&this.setState({status:ui})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,a=this.props.nodeRef?[s]:[xr.findDOMNode(this),s],c=a[0],d=a[1],p=this.getTimeouts(),f=s?p.appear:p.enter;if(!i&&!l||cf.disabled){this.safeSetState({status:Ht},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Nt},function(){o.props.onEntering(c,d),o.onTransitionEnd(f,function(){o.safeSetState({status:Ht},function(){o.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:xr.findDOMNode(this);if(!o||cf.disabled){this.safeSetState({status:ln},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:zi},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:ln},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:xr.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],d=a[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ui)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=ym(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(_m.Provider,{value:null,children:typeof l=="function"?l(i,s):$e.cloneElement($e.Children.only(l),s)})},t}($e.Component);en.contextType=_m;en.propTypes={};function lr(){}en.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lr,onEntering:lr,onEntered:lr,onExit:lr,onExiting:lr,onExited:lr};en.UNMOUNTED=ui;en.EXITED=ln;en.ENTERING=Nt;en.ENTERED=Ht;en.EXITING=zi;function tc(e){return e&&e.ownerDocument||document}function D1(e){var t=tc(e);return t&&t.defaultView||window}function b1(e,t){return D1(e).getComputedStyle(e,t)}var L1=/([A-Z])/g;function I1(e){return e.replace(L1,"-$1").toLowerCase()}var M1=/^ms-/;function go(e){return I1(e).replace(M1,"-ms-")}var $1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function F1(e){return!!(e&&$1.test(e))}function Gt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(go(t))||b1(e).getPropertyValue(go(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(go(i)):F1(i)?r+=i+"("+o+") ":n+=go(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const Fl=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ha=!1,Qa=!1;try{var Rs={get passive(){return Ha=!0},get once(){return Qa=Ha=!0}};Fl&&(window.addEventListener("test",Rs,Rs),window.removeEventListener("test",Rs,!0))}catch{}function z1(e,t,n,r){if(r&&typeof r!="boolean"&&!Qa){var i=r.once,o=r.capture,l=n;!Qa&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,Ha?r:o)}e.addEventListener(t,n,r)}function j1(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 hl(e,t,n,r){return z1(e,t,n,r),function(){j1(e,t,n,r)}}function U1(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 B1(e){var t=Gt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function W1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||U1(e,"transitionend",!0)},t+n),o=hl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function H1(e,t,n,r){n==null&&(n=B1(e)||0);var i=W1(e,n,r),o=hl(e,"transitionend",t);return function(){i(),o()}}function df(e,t){const n=Gt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function nc(e,t){const n=df(e,"transitionDuration"),r=df(e,"transitionDelay"),i=H1(e,o=>{o.target===e&&(i(),t(o))},n+r)}function xm(e){e.offsetHeight}function Q1(e){return e&&"setState"in e?xr.findDOMNode(e):e!=null?e:null}const K1=$e.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},d)=>{const p=v.exports.useRef(null),f=$l(p,a),y=S=>{f(Q1(S))},_=S=>T=>{S&&p.current&&S(p.current,T)},w=v.exports.useCallback(_(e),[e]),k=v.exports.useCallback(_(t),[t]),g=v.exports.useCallback(_(n),[n]),m=v.exports.useCallback(_(r),[r]),h=v.exports.useCallback(_(i),[i]),E=v.exports.useCallback(_(o),[o]),C=v.exports.useCallback(_(l),[l]);return u(en,{ref:d,...c,onEnter:w,onEntered:g,onEntering:k,onExit:m,onExited:E,onExiting:h,addEndListener:C,nodeRef:p,children:typeof s=="function"?(S,T)=>s(S,{...T,ref:y}):$e.cloneElement(s,{ref:y})})}),rc=K1,V1={[Nt]:"show",[Ht]:"show"},wm=v.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=v.exports.useCallback((a,c)=>{xm(a),r==null||r(a,c)},[r]);return u(rc,{ref:o,addEndListener:nc,...l,onEnter:s,childRef:t.ref,children:(a,c)=>v.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,V1[a],n[a])})})});wm.displayName="Fade";const ic=wm;function Em(e){return typeof e=="boolean"?e?ic:ec:e}const Sm=({transition:e,...t})=>u(vm,{...t,transition:Em(e)});Sm.displayName="TabContainer";const G1=Sm,Cm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"tab-content"),u(n,{ref:i,className:ce(e,t),...r})));Cm.displayName="TabContent";const q1=Cm,km=v.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:d,onExit:p,onExiting:f,onExited:y,mountOnEnter:_,unmountOnExit:w,transition:k=ic}]=mm({...n,transition:Em(t)}),g=ke(e,"tab-pane");return u(jr.Provider,{value:null,children:u(Vn.Provider,{value:null,children:u(k,{in:s,onEnter:a,onEntering:c,onEntered:d,onExit:p,onExiting:f,onExited:y,mountOnEnter:_,unmountOnExit:w,children:u(o,{...l,ref:r,className:ce(i,g,s&&"active")})})})})});km.displayName="TabPane";const Y1=km,X1={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},Nm=()=>{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")};Nm.propTypes=X1;const ni=Object.assign(Nm,{Container:G1,Content:q1,Pane:Y1});var ff={exports:{}},Ka={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,d,p){var f=c||"<>",y=p||a;if(s[a]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+f+"`.")):null;for(var _=arguments.length,w=Array(_>6?_-6:0),k=6;k<_;k++)w[k-6]=arguments[k];return r.apply(void 0,[s,a,f,d,y].concat(w))}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}e.exports=t.default})(Ka,Ka.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=Ka.exports,r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(){for(var l=arguments.length,s=Array(l),a=0;a1?d-1:0),f=1;f!t,!1);return e}const oc=v.exports.createContext(null);oc.displayName="NavContext";const rx="data-rr-ui-",ix="rrUi";function zl(e){return`${rx}${e}`}function ox(e){return`${ix}${e}`}const lx=["as","disabled"];function sx(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 ax(e){return!e||e.trim()==="#"}function Am({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 d=f=>{if((t||e==="a"&&ax(n))&&f.preventDefault(),t){f.stopPropagation();return}l==null||l(f)},p=f=>{f.key===" "&&(f.preventDefault(),d(f))};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:d,onKeyDown:p},c]}const Rm=v.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=sx(e,lx);const[o,{tagName:l}]=Am(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});Rm.displayName="Button";const ux=["as","active","eventKey"];function cx(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 Pm({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=v.exports.useContext(Vn),s=v.exports.useContext(oc),a=v.exports.useContext(jr);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const p=s.getControllerId(e!=null?e:null),f=s.getControlledId(e!=null?e:null);d[zl("event-key")]=e,d.id=p||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(d["aria-controls"]=f)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=pt(p=>{o||(t==null||t(p),e!=null&&l&&!p.isPropagationStopped()&&l(e,p))}),[d,{isActive:c}]}const Om=v.exports.forwardRef((e,t)=>{let{as:n=Rm,active:r,eventKey:i}=e,o=cx(e,ux);const[l,s]=Pm(Object.assign({key:Fi(i,o.href),active:r},o));return l[zl("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});Om.displayName="NavItem";const dx=["as","onSelect","activeKey","role","onKeyDown"];function fx(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 hf=()=>{},mf=zl("event-key"),Dm=v.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=fx(e,dx);const a=nx(),c=v.exports.useRef(!1),d=v.exports.useContext(Vn),p=v.exports.useContext(jr);let f,y;p&&(o=o||"tablist",i=p.activeKey,f=p.getControlledId,y=p.getControllerId);const _=v.exports.useRef(null),w=h=>{const E=_.current;if(!E)return null;const C=Ln(E,`[${mf}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const T=C.indexOf(S);if(T===-1)return null;let N=T+h;return N>=C.length&&(N=0),N<0&&(N=C.length-1),C[N]},k=(h,E)=>{h!=null&&(r==null||r(h,E),d==null||d(h,E))},g=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(),k(E.dataset[ox("EventKey")]||null,h),c.current=!0,a())};v.exports.useEffect(()=>{if(_.current&&c.current){const h=_.current.querySelector(`[${mf}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=$l(t,_);return u(Vn.Provider,{value:k,children:u(oc.Provider,{value:{role:o,activeKey:Fi(i),getControlledId:f||hf,getControllerId:y||hf},children:u(n,Object.assign({},s,{onKeyDown:g,ref:m,role:o}))})})});Dm.displayName="Nav";const px=Object.assign(Dm,{Item:Om}),Xn=v.exports.createContext(null);Xn.displayName="NavbarContext";const bm=v.exports.createContext(null);bm.displayName="CardHeaderContext";const Lm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"nav-item"),u(n,{ref:i,className:ce(e,t),...r})));Lm.displayName="NavItem";function hx(){const e=v.exports.useRef(!0),t=v.exports.useRef(()=>e.current);return v.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function mx(e){const t=v.exports.useRef(null);return v.exports.useEffect(()=>{t.current=e}),t.current}const gx=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",vx=typeof document<"u",Ga=vx||gx?v.exports.useLayoutEffect:v.exports.useEffect,yx=["onKeyDown"];function _x(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 xx(e){return!e||e.trim()==="#"}const Im=v.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=_x(e,yx);const[i]=Am(Object.assign({tagName:"a"},r)),o=pt(l=>{i.onKeyDown(l),n==null||n(l)});return xx(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});Im.displayName="Anchor";const Mm=v.exports.forwardRef(({bsPrefix:e,className:t,as:n=Im,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=ke(e,"nav-link");const[a,c]=Pm({key:Fi(i,l.href),active:r,disabled:o,...l});return u(n,{...l,...a,ref:s,disabled:o,className:ce(t,e,o&&"disabled",c.isActive&&"active")})});Mm.displayName="NavLink";const $m=v.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:d,...p}=Tm(e,{activeKey:"onSelect"}),f=ke(r,"nav");let y,_,w=!1;const k=v.exports.useContext(Xn),g=v.exports.useContext(bm);return k?(y=k.bsPrefix,w=s==null?!0:s):g&&({cardHeaderBsPrefix:_}=g),u(px,{as:n,ref:t,activeKey:d,className:ce(c,{[f]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&a,[`${_}-${i}`]:!!_,[`${f}-${i}`]:!!i,[`${f}-fill`]:o,[`${f}-justified`]:l}),...p})});$m.displayName="Nav";const Lo=Object.assign($m,{Item:Lm,Link:Mm});function wx(e,t){return e.filter(r=>r.name==t)}function gf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function vf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function Fm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function Ex(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=gf(e.data,o),c=vf(t.data,i),s=s.filter(d=>d.topic.includes(a)==!0&&d.service.includes(c)==!0)):o?(a=gf(e.data,o),s=s.filter(d=>d.topic.includes(a)==!0)):i&&(c=vf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function Sx(e,t){let n=e,r=Fm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function ml(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 Cx="_project_list_1v9he_1",kx="_text_break_1v9he_11",Nx="_project_row_1v9he_19",Tx="_list_title_1v9he_27",Ax="_selected_projects_list_1v9he_35",Rx="_selected_projects_list_link_1v9he_43",ri={project_list:Cx,text_break:kx,project_row:Nx,list_title:Tx,selected_projects_list:Ax,selected_projects_list_link:Rx},zm=e=>{const t=ml(e.detail.title.rendered);return u("div",{children:u(U,{className:`${ri.project_list}`,children:u(q,{className:`${ri.project_row}`,children:u(Ae,{className:`${ri.selected_projects_list_link}`,state:e.detail,to:`/Projekte/Projekt/${t}`,children:R("div",{className:`d-flex justify-content-between ${ri.selected_projects_list}`,children:[u("ul",{children:R("li",{className:`${ri.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Ju,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},Px=({service:e,isshownid:t})=>{const n=nt(),r=Ee(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],Se);return r.isLoading?u(_t,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(zm,{detail:i},i.id))}))},Ox="_service_content_einsn_11",Dx="_service_btn_einsn_1",bx="_service_projects_list_title_einsn_47",Lx="_service_part2_einsn_73",Ix="_service_paragraph_spacing_einsn_83",ci={service_content:Ox,service_btn:Dx,service_projects_list_title:bx,service_part2:Lx,service_paragraph_spacing:Ix},Mx=({serviceinfo:e})=>u("div",{children:u("div",{className:`${ci.service_content}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(e)}})}),yf=()=>{const t=Ot().state,n=nt(),[r,i]=v.exports.useState("btn_active"),o=Ee(["services","dienstleistungen",""],Se),l=Ee(["showonservicepage","isshownonserviceinfopage",""],Se);if(o.isLoading||l.isLoading)return u(_t,{});(o.isError||l.isError)&&n("/NotMatch404");let s=wx(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t;return R("div",{children:[u(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(U,{children:R(ni.Container,{defaultActiveKey:a||o.data[0].title.rendered,children:[R(q,{children:[u(B,{xl:4,children:u(Lo,{variant:"pills",className:"flex-column",children:o.data.map(c=>u(Lo.Item,{children:u(Lo.Link,{eventKey:c.title.rendered,className:r,children:c.title.rendered})},c.id))})}),u(B,{xl:8,children:u(ni.Content,{children:o.data.map(c=>u(ni.Pane,{eventKey:c.title.rendered,children:u("div",{children:u(Mx,{serviceinfo:c.content.rendered})})},c.id))})})]}),R(q,{className:`${ci.service_paragraph_spacing}`,children:[u(B,{xl:4,children:u("div",{className:`${ci.service_projects_list_title} ${ci.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),u(B,{xl:8,children:u(ni.Content,{children:o.data.map(c=>u(ni.Pane,{eventKey:c.title.rendered,children:u("div",{className:`${ci.service_paragraph_spacing}`,children:u(Px,{service:c.acf.service_taxonomy,isshownid:s[0].id})})},c.id))})})]})]})})]})},jm="/bv2024_frontend/assets/unknown.1cd7ed72.png",$x="_staff_pic_container_s7jbx_1",Fx="_pic_s7jbx_23",zx="_staff_pic_s7jbx_1",jx="_staff_pic_caption_1_s7jbx_53",Ux="_staff_pic_text_1_s7jbx_89",Bx="_staff_pic_caption_2_s7jbx_105",Wx="_staff_pic_text_2_s7jbx_149",Pn={staff_pic_container:$x,pic:Fx,staff_pic:zx,staff_pic_caption_1:jx,staff_pic_text_1:Ux,staff_pic_caption_2:Bx,staff_pic_text_2:Wx},_f=({imgid:e,staffName:t,position:n})=>{const r=Ml(e,jm);return u("div",{className:`${Pn.staff_pic_container}`,children:R("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})})]})})},Hx="_about_qdvy8_7",Qx="_funder_row_qdvy8_29",Kx="_funder_col_qdvy8_37",Vx="_funder_info_qdvy8_53",Gx="_staff_left_box_qdvy8_65",qx="_staff_name_qdvy8_81",Yx="_staff_detail_pic_qdvy8_101",Xx="_staff_info_qdvy8_113",Zx="_staff_info_position_higher_qdvy8_137",Jx="_info_line_qdvy8_157",ew="_staff_info_position_lower_qdvy8_167",tw="_staff_detail_left_bottom_element_qdvy8_183",nw="_info_link_qdvy8_193",rw="_back_btn_qdvy8_201",iw="_staff_detail_title_qdvy8_235",ow="_section_box_qdvy8_245",lw="_pub_list_qdvy8_307",sw="_publication_list_qdvy8_315",aw="_publication_list_link_qdvy8_323",uw="_staff_row_qdvy8_27",K={about:Hx,funder_row:Qx,funder_col:Kx,funder_info:Vx,staff_left_box:Gx,staff_name:qx,staff_detail_pic:Yx,staff_info:Xx,staff_info_position_higher:Zx,info_line:Jx,staff_info_position_lower:ew,staff_detail_left_bottom_element:tw,info_link:nw,back_btn:rw,staff_detail_title:iw,section_box:ow,pub_list:lw,publication_list:sw,publication_list_link:aw,staff_row:uw},cw=()=>{const e=nt(),t=Ee(["staffs","mitarbeitende",""],Se),n=Ee(["landingIntro","pages/28919",""],Se);return t.isLoading||n.isLoading?u(_t,{}):((t.isError||n.isError)&&e("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"\xDCBER UNS"}),u(U,{className:`${K.about}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.content.rendered)}}),u(U,{className:"categoryTitle",children:"MITARBEITENDE"}),u(U,{children:u(q,{className:`${K.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":u(B,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:u(Ae,{to:`/Mitarbeitende/${ml(r.title.rendered)}`,state:r,children:u(_f,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u(U,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),u(U,{className:"mb-3",children:u(q,{className:`${K.funder_row}`,children:t.data.map(r=>r.title.rendered!="Adrian Vatter"?"":R(q,{className:"px-0 mx-0",children:[u(B,{lg:4,md:6,className:`${K.funder_col}`,children:u(Ae,{to:`/Mitarbeitende/${ml(r.title.rendered)}`,state:r,children:u(_f,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})}),u(B,{lg:8,md:6,className:`my-auto ${K.about} `,children:u("p",{className:`${K.funder_info}`,children:"Adrian Vatter ist Gr\xFCnder des B\xFCros und seit 2008 Pr\xE4sident des Verwaltungsrates. Er ist seit 2009 Inhaber des Lehrstuhls f\xFCr Schweizer Politik am Institut f\xFCr Politikwissenschaft der Universit\xE4t Bern. Seit 1994 hat er f\xFCr diverse Stellen der Bundesverwaltung sowie f\xFCr kantonale und kommunale Beh\xF6rden zahlreiche Forschungs- und Beratungsmandate wahrgenommen."})})]},r.id))})}),u("br",{}),u("br",{})]}))},dw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",fw=({staff:e,img:t})=>{const n=e.acf.otherInfo.split(`\r -`);return R("div",{children:[R("div",{className:`${K.staff_left_box}`,children:[u("img",{className:`${K.staff_detail_pic}`,src:t,alt:"staff"}),R("div",{children:[u("div",{className:`${K.staff_name}`,children:e.title.rendered}),u("div",{className:`${K.staff_info}`,children:e.acf.position}),u("ul",{className:`${K.staff_info_position_higher}`,children:n.map((r,i)=>u("ul",{className:`${K.info_line}`,children:r},i))}),R("div",{className:`${K.staff_detail_left_bottom_element}`,children:[u("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:u("a",{href:`mailto:${e.acf.email}`,children:e.acf.email})}),u("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:u("a",{href:`tel:${e.acf.telephone}`,children:e.acf.telephone})}),e.acf.linkedin!=""?u("div",{className:`text_color ${K.staff_info_position_lower}`,children:u("a",{href:e.acf.linkedin,className:`${K.info_link}`,children:u("img",{src:dw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{className:`text_color ${K.back_btn}`,children:u(Ae,{to:"/Mitarbeitende",children:"Zur\xFCck zur \xDCbersicht"})})]}),u("br",{})]})},pw=({person:e})=>{const t=nt(),n=Ee(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],Se);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(zm,{detail:r},r.id))}))},Um="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",hw=({prop:e})=>u("div",{children:u(U,{className:`${K.pub_list}`,children:u("ul",{className:`${K.publication_list}`,children:R("li",{children:[u(q,{children:u("a",{className:`${K.publication_list_link}`,href:e.acf.url,children:R("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Kn.sanitize(e.title.rendered)}}),u("img",{src:Um,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(q,{children:u("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Kn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}),mw=({publications:e})=>u("div",{children:e.map(t=>u(hw,{prop:t},t.id))}),gw=({staff:e})=>{const t=nt(),n=e.acf.hauptthemen.split(`\r +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const l=ke(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});U.displayName="Container";const Q0="_spinner_container_1gla4_1",K0="_html_spinner_1gla4_13",V0="_rotate_1gla4_1",sf={spinner_container:Q0,html_spinner:K0,rotate:V0},ct=()=>u(U,{className:`${sf.spinner_container}`,children:u("div",{className:`${sf.html_spinner}`})}),we=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()}},G0="_news_title_1ntn6_1",q0="_news_date_1ntn6_15",Y0="_news_content_1ntn6_27",ks={news_title:G0,news_date:q0,news_content:Y0},X0=()=>{const e=Ke(),t=xe(["news","aktuelles",""],we);return t.isLoading?u(ct,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>R("div",{children:[u("div",{className:`${ks.news_title}`,children:n.title.rendered}),u("div",{className:`${ks.news_date}`,children:n.date.slice(0,10)}),u("div",{className:`${ks.news_content}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},q=v.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=ke(e,"row"),l=cm(),s=dm(),a=`${o}-cols`,c=[];return l.forEach(d=>{const p=r[d];delete r[d];let f;p!=null&&typeof p=="object"?{cols:f}=p:f=p;const y=d!==s?`-${d}`:"";f!=null&&c.push(`${a}${y}-${f}`)}),u(n,{ref:i,...r,className:ce(t,o,...c)})});q.displayName="Row";function Z0({as:e,bsPrefix:t,className:n,...r}){t=ke(t,"col");const i=cm(),o=dm(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let d,p,f;typeof c=="object"&&c!=null?{span:d,offset:p,order:f}=c:d=c;const y=a!==o?`-${a}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),f!=null&&s.push(`order${y}-${f}`),p!=null&&s.push(`offset${y}-${p}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const B=v.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=Z0(e);return u(i,{...r,ref:t,className:ce(n,!l.length&&o)})});B.displayName="Col";function Ml(e,t){let n=t;const r=Ke(),i=xe(["pic","media",e],we);if(i.isLoading)return u(ct,{});i.isError&&r("/NotMatch404");let o=i.data.source_url;return o&&(n=o),n}const J0="_pic_container_3mpjs_1",e1="_service_pic_3mpjs_9",t1="_service_pic_caption_3mpjs_53",Ns={pic_container:J0,service_pic:e1,service_pic_caption:t1},n1=({imgid:e,picName:t})=>{const n=Ml(e,"imgs/category/forschung.png");return u("div",{className:`${Ns.pic_container}`,children:R("div",{className:`${Ns.service_pic}`,children:[u("img",{src:n,alt:t,width:"100%"}),u("div",{className:`${Ns.service_pic_caption}`,children:u("div",{children:t})})]})})},r1="_home_service_content_147wj_1",i1="_home_service_box_147wj_9",o1="_home_service_row_147wj_21",Ts={home_service_content:r1,home_service_box:i1,home_service_row:o1},l1=({props:e})=>u(U,{className:`${Ts.home_service_content}`,children:u(q,{className:`${Ts.home_service_row}`,children:e.data.map(t=>u(B,{xl:4,lg:4,md:6,className:`${Ts.home_service_box}`,children:u(Ae,{to:"/Dienstleistungen",state:t.title.rendered,children:u(n1,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),Ju="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",s1="_intro_16416_1",a1="_current_projects_16416_17",af={intro:s1,current_projects:a1},u1=()=>{const e=Ke(),t=xe(["services","dienstleistungen",""],we),n=xe(["landingIntro","pages/28911",""],we);return t.isLoading||n.isLoading?u(ct,{}):((t.isError||n.isError)&&e("/NotMatch404"),R("div",{children:[u(U,{className:`${af.intro}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.content.rendered)}}),u(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(U,{children:u(l1,{props:t})}),u(U,{className:"categoryTitle",children:"AKTUELLES"}),u(U,{children:u(X0,{})}),u(U,{children:u(Ae,{to:"/Projekte/laufend",className:`${af.current_projects}`,children:R("span",{children:["Laufende Projekte",u("img",{src:Ju,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var Ct={exports:{}},c1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d1=c1,f1=d1;function fm(){}function pm(){}pm.resetWarningCache=fm;var p1=function(){function e(r,i,o,l,s,a){if(a!==f1){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:pm,resetWarningCache:fm};return n.PropTypes=n,n};Ct.exports=p1();function h1(e,t,n){const r=v.exports.useRef(e!==void 0),[i,o]=v.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,v.exports.useCallback((...a)=>{const[c,...d]=a;let p=n==null?void 0:n(c,...d);return o(c),p},[n])]}const pl={prefix:String(Math.round(Math.random()*1e10)),current:0},hm=$e.createContext(pl),m1=$e.createContext(!1);let g1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),As=new WeakMap;function v1(e=!1){let t=v.exports.useContext(hm),n=v.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=$e.__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 y1(e){let t=v.exports.useContext(hm);t===pl&&!g1&&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=v1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function _1(e){let t=$e.useId(),[n]=v.exports.useState(C1()),r=n?"react-aria":`react-aria${pl.prefix}`;return e||`${r}-${t}`}const x1=typeof $e.useId=="function"?_1:y1;function w1(){return!1}function E1(){return!0}function S1(e){return()=>{}}function C1(){return typeof $e.useSyncExternalStore=="function"?$e.useSyncExternalStore(S1,w1,E1):v.exports.useContext(m1)}const jr=v.exports.createContext(null),Vn=v.exports.createContext(null),Fi=(e,t=null)=>e!=null?String(e):t||null;function k1(e){const t=v.exports.useRef(e);return v.exports.useEffect(()=>{t.current=e},[e]),t}function ht(e){const t=k1(e);return v.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const uf=e=>!e||typeof e=="function"?e:t=>{e.current=t};function N1(e,t){const n=uf(e),r=uf(t);return i=>{n&&n(i),r&&r(i)}}function $l(e,t){return v.exports.useMemo(()=>N1(e,t),[e,t])}function ec({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=v.exports.useRef(null),l=v.exports.useRef(t),s=ht(n);v.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=$l(o,e.ref),c=v.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const T1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],A1=["activeKey","getControlledId","getControllerId"],R1=["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 mm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:p,onExited:f}=e,y=Ba(e,T1);const _=v.exports.useContext(jr);if(!_)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:p,onExited:f}];const{activeKey:w,getControlledId:k,getControllerId:g}=_,m=Ba(_,A1),h=Fi(n);return[Object.assign({},y,{role:l,id:k(n),"aria-labelledby":g(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:d,onExiting:p,onExited:f}]}const gm=v.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=Ba(e,R1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:p,mountOnEnter:f,unmountOnExit:y,transition:_=ec}]=mm(r);return u(jr.Provider,{value:null,children:u(Vn.Provider,{value:null,children:u(_,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:p,mountOnEnter:f,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});gm.displayName="TabPanel";const vm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[d,p]=h1(i,o,r),f=x1(t),y=v.exports.useMemo(()=>n||((w,k)=>f?`${f}-${k}-${w}`:null),[f,n]),_=v.exports.useMemo(()=>({onSelect:p,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[p,d,l,s,a,y]);return u(jr.Provider,{value:_,children:u(Vn.Provider,{value:p||null,children:c})})};vm.Panel=gm;function ym(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 Wa(e,t){return Wa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Wa(e,t)}function P1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wa(e,t)}const cf={disabled:!1},_m=$e.createContext(null);var O1=function(t){return t.scrollTop},ui="unmounted",ln="exited",Nt="entering",Ht="entered",zi="exiting",en=function(e){P1(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=ln,o.appearStatus=Nt):a=Ht:r.unmountOnExit||r.mountOnEnter?a=ui:a=ln,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:ln}: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!==Nt&&l!==Ht&&(o=Nt):(l===Nt||l===Ht)&&(o=zi)}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===Nt){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);l&&O1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ln&&this.setState({status:ui})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,a=this.props.nodeRef?[s]:[xr.findDOMNode(this),s],c=a[0],d=a[1],p=this.getTimeouts(),f=s?p.appear:p.enter;if(!i&&!l||cf.disabled){this.safeSetState({status:Ht},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Nt},function(){o.props.onEntering(c,d),o.onTransitionEnd(f,function(){o.safeSetState({status:Ht},function(){o.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:xr.findDOMNode(this);if(!o||cf.disabled){this.safeSetState({status:ln},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:zi},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:ln},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:xr.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],d=a[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ui)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=ym(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(_m.Provider,{value:null,children:typeof l=="function"?l(i,s):$e.cloneElement($e.Children.only(l),s)})},t}($e.Component);en.contextType=_m;en.propTypes={};function lr(){}en.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lr,onEntering:lr,onEntered:lr,onExit:lr,onExiting:lr,onExited:lr};en.UNMOUNTED=ui;en.EXITED=ln;en.ENTERING=Nt;en.ENTERED=Ht;en.EXITING=zi;function tc(e){return e&&e.ownerDocument||document}function D1(e){var t=tc(e);return t&&t.defaultView||window}function b1(e,t){return D1(e).getComputedStyle(e,t)}var L1=/([A-Z])/g;function I1(e){return e.replace(L1,"-$1").toLowerCase()}var M1=/^ms-/;function go(e){return I1(e).replace(M1,"-ms-")}var $1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function F1(e){return!!(e&&$1.test(e))}function Gt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(go(t))||b1(e).getPropertyValue(go(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(go(i)):F1(i)?r+=i+"("+o+") ":n+=go(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const Fl=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ha=!1,Qa=!1;try{var Rs={get passive(){return Ha=!0},get once(){return Qa=Ha=!0}};Fl&&(window.addEventListener("test",Rs,Rs),window.removeEventListener("test",Rs,!0))}catch{}function z1(e,t,n,r){if(r&&typeof r!="boolean"&&!Qa){var i=r.once,o=r.capture,l=n;!Qa&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,Ha?r:o)}e.addEventListener(t,n,r)}function j1(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 hl(e,t,n,r){return z1(e,t,n,r),function(){j1(e,t,n,r)}}function U1(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 B1(e){var t=Gt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function W1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||U1(e,"transitionend",!0)},t+n),o=hl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function H1(e,t,n,r){n==null&&(n=B1(e)||0);var i=W1(e,n,r),o=hl(e,"transitionend",t);return function(){i(),o()}}function df(e,t){const n=Gt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function nc(e,t){const n=df(e,"transitionDuration"),r=df(e,"transitionDelay"),i=H1(e,o=>{o.target===e&&(i(),t(o))},n+r)}function xm(e){e.offsetHeight}function Q1(e){return e&&"setState"in e?xr.findDOMNode(e):e!=null?e:null}const K1=$e.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},d)=>{const p=v.exports.useRef(null),f=$l(p,a),y=S=>{f(Q1(S))},_=S=>T=>{S&&p.current&&S(p.current,T)},w=v.exports.useCallback(_(e),[e]),k=v.exports.useCallback(_(t),[t]),g=v.exports.useCallback(_(n),[n]),m=v.exports.useCallback(_(r),[r]),h=v.exports.useCallback(_(i),[i]),E=v.exports.useCallback(_(o),[o]),C=v.exports.useCallback(_(l),[l]);return u(en,{ref:d,...c,onEnter:w,onEntered:g,onEntering:k,onExit:m,onExited:E,onExiting:h,addEndListener:C,nodeRef:p,children:typeof s=="function"?(S,T)=>s(S,{...T,ref:y}):$e.cloneElement(s,{ref:y})})}),rc=K1,V1={[Nt]:"show",[Ht]:"show"},wm=v.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=v.exports.useCallback((a,c)=>{xm(a),r==null||r(a,c)},[r]);return u(rc,{ref:o,addEndListener:nc,...l,onEnter:s,childRef:t.ref,children:(a,c)=>v.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,V1[a],n[a])})})});wm.displayName="Fade";const ic=wm;function Em(e){return typeof e=="boolean"?e?ic:ec:e}const Sm=({transition:e,...t})=>u(vm,{...t,transition:Em(e)});Sm.displayName="TabContainer";const G1=Sm,Cm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"tab-content"),u(n,{ref:i,className:ce(e,t),...r})));Cm.displayName="TabContent";const q1=Cm,km=v.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:d,onExit:p,onExiting:f,onExited:y,mountOnEnter:_,unmountOnExit:w,transition:k=ic}]=mm({...n,transition:Em(t)}),g=ke(e,"tab-pane");return u(jr.Provider,{value:null,children:u(Vn.Provider,{value:null,children:u(k,{in:s,onEnter:a,onEntering:c,onEntered:d,onExit:p,onExiting:f,onExited:y,mountOnEnter:_,unmountOnExit:w,children:u(o,{...l,ref:r,className:ce(i,g,s&&"active")})})})})});km.displayName="TabPane";const Y1=km,X1={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},Nm=()=>{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")};Nm.propTypes=X1;const ni=Object.assign(Nm,{Container:G1,Content:q1,Pane:Y1});var ff={exports:{}},Ka={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,d,p){var f=c||"<>",y=p||a;if(s[a]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+f+"`.")):null;for(var _=arguments.length,w=Array(_>6?_-6:0),k=6;k<_;k++)w[k-6]=arguments[k];return r.apply(void 0,[s,a,f,d,y].concat(w))}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}e.exports=t.default})(Ka,Ka.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=Ka.exports,r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(){for(var l=arguments.length,s=Array(l),a=0;a1?d-1:0),f=1;f!t,!1);return e}const oc=v.exports.createContext(null);oc.displayName="NavContext";const rx="data-rr-ui-",ix="rrUi";function zl(e){return`${rx}${e}`}function ox(e){return`${ix}${e}`}const lx=["as","disabled"];function sx(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 ax(e){return!e||e.trim()==="#"}function Am({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 d=f=>{if((t||e==="a"&&ax(n))&&f.preventDefault(),t){f.stopPropagation();return}l==null||l(f)},p=f=>{f.key===" "&&(f.preventDefault(),d(f))};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:d,onKeyDown:p},c]}const Rm=v.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=sx(e,lx);const[o,{tagName:l}]=Am(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});Rm.displayName="Button";const ux=["as","active","eventKey"];function cx(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 Pm({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=v.exports.useContext(Vn),s=v.exports.useContext(oc),a=v.exports.useContext(jr);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const p=s.getControllerId(e!=null?e:null),f=s.getControlledId(e!=null?e:null);d[zl("event-key")]=e,d.id=p||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(d["aria-controls"]=f)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=ht(p=>{o||(t==null||t(p),e!=null&&l&&!p.isPropagationStopped()&&l(e,p))}),[d,{isActive:c}]}const Om=v.exports.forwardRef((e,t)=>{let{as:n=Rm,active:r,eventKey:i}=e,o=cx(e,ux);const[l,s]=Pm(Object.assign({key:Fi(i,o.href),active:r},o));return l[zl("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});Om.displayName="NavItem";const dx=["as","onSelect","activeKey","role","onKeyDown"];function fx(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 hf=()=>{},mf=zl("event-key"),Dm=v.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=fx(e,dx);const a=nx(),c=v.exports.useRef(!1),d=v.exports.useContext(Vn),p=v.exports.useContext(jr);let f,y;p&&(o=o||"tablist",i=p.activeKey,f=p.getControlledId,y=p.getControllerId);const _=v.exports.useRef(null),w=h=>{const E=_.current;if(!E)return null;const C=Ln(E,`[${mf}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const T=C.indexOf(S);if(T===-1)return null;let N=T+h;return N>=C.length&&(N=0),N<0&&(N=C.length-1),C[N]},k=(h,E)=>{h!=null&&(r==null||r(h,E),d==null||d(h,E))},g=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(),k(E.dataset[ox("EventKey")]||null,h),c.current=!0,a())};v.exports.useEffect(()=>{if(_.current&&c.current){const h=_.current.querySelector(`[${mf}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=$l(t,_);return u(Vn.Provider,{value:k,children:u(oc.Provider,{value:{role:o,activeKey:Fi(i),getControlledId:f||hf,getControllerId:y||hf},children:u(n,Object.assign({},s,{onKeyDown:g,ref:m,role:o}))})})});Dm.displayName="Nav";const px=Object.assign(Dm,{Item:Om}),Xn=v.exports.createContext(null);Xn.displayName="NavbarContext";const bm=v.exports.createContext(null);bm.displayName="CardHeaderContext";const Lm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"nav-item"),u(n,{ref:i,className:ce(e,t),...r})));Lm.displayName="NavItem";function hx(){const e=v.exports.useRef(!0),t=v.exports.useRef(()=>e.current);return v.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function mx(e){const t=v.exports.useRef(null);return v.exports.useEffect(()=>{t.current=e}),t.current}const gx=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",vx=typeof document<"u",Ga=vx||gx?v.exports.useLayoutEffect:v.exports.useEffect,yx=["onKeyDown"];function _x(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 xx(e){return!e||e.trim()==="#"}const Im=v.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=_x(e,yx);const[i]=Am(Object.assign({tagName:"a"},r)),o=ht(l=>{i.onKeyDown(l),n==null||n(l)});return xx(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});Im.displayName="Anchor";const Mm=v.exports.forwardRef(({bsPrefix:e,className:t,as:n=Im,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=ke(e,"nav-link");const[a,c]=Pm({key:Fi(i,l.href),active:r,disabled:o,...l});return u(n,{...l,...a,ref:s,disabled:o,className:ce(t,e,o&&"disabled",c.isActive&&"active")})});Mm.displayName="NavLink";const $m=v.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:d,...p}=Tm(e,{activeKey:"onSelect"}),f=ke(r,"nav");let y,_,w=!1;const k=v.exports.useContext(Xn),g=v.exports.useContext(bm);return k?(y=k.bsPrefix,w=s==null?!0:s):g&&({cardHeaderBsPrefix:_}=g),u(px,{as:n,ref:t,activeKey:d,className:ce(c,{[f]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&a,[`${_}-${i}`]:!!_,[`${f}-${i}`]:!!i,[`${f}-fill`]:o,[`${f}-justified`]:l}),...p})});$m.displayName="Nav";const Lo=Object.assign($m,{Item:Lm,Link:Mm});function wx(e,t){return e.filter(r=>r.name==t)}function gf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function vf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function Fm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function Ex(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=gf(e.data,o),c=vf(t.data,i),s=s.filter(d=>d.topic.includes(a)==!0&&d.service.includes(c)==!0)):o?(a=gf(e.data,o),s=s.filter(d=>d.topic.includes(a)==!0)):i&&(c=vf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function Sx(e,t){let n=e,r=Fm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function ml(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 Cx="_project_list_1v9he_1",kx="_text_break_1v9he_11",Nx="_project_row_1v9he_19",Tx="_list_title_1v9he_27",Ax="_selected_projects_list_1v9he_35",Rx="_selected_projects_list_link_1v9he_43",ri={project_list:Cx,text_break:kx,project_row:Nx,list_title:Tx,selected_projects_list:Ax,selected_projects_list_link:Rx},zm=e=>{const t=ml(e.detail.title.rendered);return u("div",{children:u(U,{className:`${ri.project_list}`,children:u(q,{className:`${ri.project_row}`,children:u(Ae,{className:`${ri.selected_projects_list_link}`,state:e.detail,to:`/Projekte/Projekt/${t}`,children:R("div",{className:`d-flex justify-content-between ${ri.selected_projects_list}`,children:[u("ul",{children:R("li",{className:`${ri.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Ju,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},Px=({service:e,isshownid:t})=>{const n=Ke(),r=xe(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],we);return r.isLoading?u(ct,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(zm,{detail:i},i.id))}))},Ox="_service_content_einsn_11",Dx="_service_btn_einsn_1",bx="_service_projects_list_title_einsn_47",Lx="_service_part2_einsn_73",Ix="_service_paragraph_spacing_einsn_83",ci={service_content:Ox,service_btn:Dx,service_projects_list_title:bx,service_part2:Lx,service_paragraph_spacing:Ix},Mx=({serviceinfo:e})=>u("div",{children:u("div",{className:`${ci.service_content}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(e)}})}),yf=()=>{const t=Ot().state,n=Ke(),[r,i]=v.exports.useState("btn_active"),o=xe(["services","dienstleistungen",""],we),l=xe(["showonservicepage","isshownonserviceinfopage",""],we);if(o.isLoading||l.isLoading)return u(ct,{});(o.isError||l.isError)&&n("/NotMatch404");let s=wx(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t;return R("div",{children:[u(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(U,{children:R(ni.Container,{defaultActiveKey:a||o.data[0].title.rendered,children:[R(q,{children:[u(B,{xl:4,children:u(Lo,{variant:"pills",className:"flex-column",children:o.data.map(c=>u(Lo.Item,{children:u(Lo.Link,{eventKey:c.title.rendered,className:r,children:c.title.rendered})},c.id))})}),u(B,{xl:8,children:u(ni.Content,{children:o.data.map(c=>u(ni.Pane,{eventKey:c.title.rendered,children:u("div",{children:u(Mx,{serviceinfo:c.content.rendered})})},c.id))})})]}),R(q,{className:`${ci.service_paragraph_spacing}`,children:[u(B,{xl:4,children:u("div",{className:`${ci.service_projects_list_title} ${ci.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),u(B,{xl:8,children:u(ni.Content,{children:o.data.map(c=>u(ni.Pane,{eventKey:c.title.rendered,children:u("div",{className:`${ci.service_paragraph_spacing}`,children:u(Px,{service:c.acf.service_taxonomy,isshownid:s[0].id})})},c.id))})})]})]})})]})},jm="/bv2024_frontend/assets/unknown.1cd7ed72.png",$x="_staff_pic_container_s7jbx_1",Fx="_pic_s7jbx_23",zx="_staff_pic_s7jbx_1",jx="_staff_pic_caption_1_s7jbx_53",Ux="_staff_pic_text_1_s7jbx_89",Bx="_staff_pic_caption_2_s7jbx_105",Wx="_staff_pic_text_2_s7jbx_149",Pn={staff_pic_container:$x,pic:Fx,staff_pic:zx,staff_pic_caption_1:jx,staff_pic_text_1:Ux,staff_pic_caption_2:Bx,staff_pic_text_2:Wx},_f=({imgid:e,staffName:t,position:n})=>{const r=Ml(e,jm);return u("div",{className:`${Pn.staff_pic_container}`,children:R("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})})]})})},Hx="_about_qdvy8_7",Qx="_funder_row_qdvy8_29",Kx="_funder_col_qdvy8_37",Vx="_funder_info_qdvy8_53",Gx="_staff_left_box_qdvy8_65",qx="_staff_name_qdvy8_81",Yx="_staff_detail_pic_qdvy8_101",Xx="_staff_info_qdvy8_113",Zx="_staff_info_position_higher_qdvy8_137",Jx="_info_line_qdvy8_157",ew="_staff_info_position_lower_qdvy8_167",tw="_staff_detail_left_bottom_element_qdvy8_183",nw="_info_link_qdvy8_193",rw="_back_btn_qdvy8_201",iw="_staff_detail_title_qdvy8_235",ow="_section_box_qdvy8_245",lw="_pub_list_qdvy8_307",sw="_publication_list_qdvy8_315",aw="_publication_list_link_qdvy8_323",uw="_staff_row_qdvy8_27",K={about:Hx,funder_row:Qx,funder_col:Kx,funder_info:Vx,staff_left_box:Gx,staff_name:qx,staff_detail_pic:Yx,staff_info:Xx,staff_info_position_higher:Zx,info_line:Jx,staff_info_position_lower:ew,staff_detail_left_bottom_element:tw,info_link:nw,back_btn:rw,staff_detail_title:iw,section_box:ow,pub_list:lw,publication_list:sw,publication_list_link:aw,staff_row:uw},cw=()=>{const e=Ke(),t=xe(["staffs","mitarbeitende",""],we),n=xe(["landingIntro","pages/28919",""],we);return t.isLoading||n.isLoading?u(ct,{}):((t.isError||n.isError)&&e("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"\xDCBER UNS"}),u(U,{className:`${K.about}`,dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.content.rendered)}}),u(U,{className:"categoryTitle",children:"MITARBEITENDE"}),u(U,{children:u(q,{className:`${K.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":u(B,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:u(Ae,{to:`/Mitarbeitende/${ml(r.title.rendered)}`,state:r,children:u(_f,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u(U,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),u(U,{className:"mb-3",children:u(q,{className:`${K.funder_row}`,children:t.data.map(r=>r.title.rendered!="Adrian Vatter"?"":R(q,{className:"px-0 mx-0",children:[u(B,{lg:4,md:6,className:`${K.funder_col}`,children:u(Ae,{to:`/Mitarbeitende/${ml(r.title.rendered)}`,state:r,children:u(_f,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})}),u(B,{lg:8,md:6,className:`my-auto ${K.about} `,children:u("p",{className:`${K.funder_info}`,children:"Adrian Vatter ist Gr\xFCnder des B\xFCros und seit 2008 Pr\xE4sident des Verwaltungsrates. Er ist seit 2009 Inhaber des Lehrstuhls f\xFCr Schweizer Politik am Institut f\xFCr Politikwissenschaft der Universit\xE4t Bern. Seit 1994 hat er f\xFCr diverse Stellen der Bundesverwaltung sowie f\xFCr kantonale und kommunale Beh\xF6rden zahlreiche Forschungs- und Beratungsmandate wahrgenommen."})})]},r.id))})}),u("br",{}),u("br",{})]}))},dw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",fw=({staff:e,img:t})=>{const n=e.acf.otherInfo.split(`\r +`);return R("div",{children:[R("div",{className:`${K.staff_left_box}`,children:[u("img",{className:`${K.staff_detail_pic}`,src:t,alt:"staff"}),R("div",{children:[u("div",{className:`${K.staff_name}`,children:e.title.rendered}),u("div",{className:`${K.staff_info}`,children:e.acf.position}),u("ul",{className:`${K.staff_info_position_higher}`,children:n.map((r,i)=>u("ul",{className:`${K.info_line}`,children:r},i))}),R("div",{className:`${K.staff_detail_left_bottom_element}`,children:[u("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:u("a",{href:`mailto:${e.acf.email}`,children:e.acf.email})}),u("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:u("a",{href:`tel:${e.acf.telephone}`,children:e.acf.telephone})}),e.acf.linkedin!=""?u("div",{className:`text_color ${K.staff_info_position_lower}`,children:u("a",{href:e.acf.linkedin,className:`${K.info_link}`,children:u("img",{src:dw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{className:`text_color ${K.back_btn}`,children:u(Ae,{to:"/Mitarbeitende",children:"Zur\xFCck zur \xDCbersicht"})})]}),u("br",{})]})},pw=({person:e})=>{const t=Ke(),n=xe(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],we);return n.isLoading?u(ct,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(zm,{detail:r},r.id))}))},Um="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",hw=({prop:e})=>{const t=Ke(),n=xe(["downloads_1",`media/${e.acf.select_file}`,""],we);return n.isLoading?u(ct,{}):(n.isError&&t("/NotMatch404"),u("div",{children:u(U,{className:`${K.pub_list}`,children:u("ul",{className:`${K.publication_list}`,children:R("li",{children:[u(q,{children:u("a",{className:`${K.publication_list_link}`,href:n.data.source_url,children:R("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Kn.sanitize(e.title.rendered)}}),u("img",{src:Um,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(q,{children:u("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Kn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}))},mw=({publications:e})=>u("div",{children:e.map(t=>u(hw,{prop:t},t.id))}),gw=({staff:e})=>{const t=Ke(),n=e.acf.hauptthemen.split(`\r `),r=e.acf.mitgliedschaften.split(`\r -`),i=Ee(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],Se);return i.isLoading?u(_t,{}):(i.isError&&t("/NotMatch404"),R("div",{children:[e.acf.ausbildung!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),u(pw,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Publikationen"}),u(mw,{publications:i.data}),u("hr",{})]}):null,r!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},vw=()=>{const t=Ot().state,n=nt(),r=Ml(t.acf.imgid,jm),i=Ee(["staffdetails",`mitarbeitende/${t.id}`,""],Se);return i.isLoading?u(_t,{}):(i.isError&&n("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"MITARBEITENDE"}),u(U,{children:R(q,{children:[u(B,{lg:4,md:5,children:u(fw,{staff:i.data,img:r})}),u(B,{lg:8,md:7,xs:12,children:u(gw,{staff:i.data})})]})})]}))},yw="_topic_pic_Container_izck8_1",_w="_topic_pic_izck8_1",xw="_topic_pic_caption_izck8_37",ww="_topic_pic_text_izck8_73",vo={topic_pic_Container:yw,topic_pic:_w,topic_pic_caption:xw,topic_pic_text:ww},Ew=({imgid:e,picName:t})=>{const n=Ml(e,"imgs/topics/gesundheit.png");return u("div",{className:`${vo.topic_pic_Container}`,children:R("div",{className:`${vo.topic_pic}`,children:[u("img",{src:n,alt:t}),u("div",{className:`${vo.topic_pic_caption}`,children:u("div",{className:`${vo.topic_pic_text}`,children:t})})]})})},Sw="_topic_row_l2wzr_1",Cw="_topics_content_l2wzr_11",kw="_topic_box_l2wzr_21",Ps={topic_row:Sw,topics_content:Cw,topic_box:kw},Nw=()=>{const e=nt(),t=Ee(["alltopics","themen",""],Se);return t.isLoading?u(_t,{}):(t.isError&&e("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"THEMEN"}),u(U,{className:`${Ps.topics_content}`,children:u(q,{className:`${Ps.topic_row}`,children:t.data.map(n=>u(B,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ps.topic_box}`,children:u(Ae,{to:`/Projekte?${ul({Themen:n.title.rendered})}`,children:u(Ew,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},Tw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",Aw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",Rw="_container_1rmk9_1",Pw="_withbtn_1rmk9_21",Ow="_hr_1rmk9_31",Dw="_resetBtn_1rmk9_41",bw="_show_1rmk9_67",Lw="_page_num_color_1rmk9_75",Iw="_page_number_row_1rmk9_83",Mw="_pageBtn_1rmk9_93",$w="_selected_1rmk9_111",Fw="_arrowBtn_1rmk9_123",zw="_pageline_1rmk9_149",jw="_curPageNum_1rmk9_167",Uw="_arrow_btn_pic_1rmk9_181",Bw="_back_btn_projectdetail_1rmk9_189",Ww="_left_side_1rmk9_207",Hw="_search_label_1rmk9_219",Qw="_clear_input_container_1rmk9_229",Kw="_clear_search_1rmk9_243",Vw="_clearSearch_1rmk9_1",Gw="_filter_label_1rmk9_289",qw="_filter_list_1rmk9_309",Yw="_detail_left_1rmk9_321",Xw="_detail_right_1rmk9_335",Zw="_partner_1rmk9_349",Jw="_method_1rmk9_359",eE="_project_detail_title_1rmk9_369",tE="_col_1rmk9_369",nE="_download_list_1rmk9_391",rE="_project_list_1rmk9_417",iE="_project_row_1rmk9_425",oE="_project_list_btn_1rmk9_433",lE="_project_list_arrow_1rmk9_445",sE="_list_smallFont_1rmk9_453",aE="_list_smallFont_red_1rmk9_467",uE="_list_title_1rmk9_475",cE="_sep_1rmk9_493",dE="_reverse_row_1rmk9_503",fE="_page_text_1rmk9_515",M={container:Rw,withbtn:Pw,hr:Ow,resetBtn:Dw,show:bw,page_num_color:Lw,page_number_row:Iw,pageBtn:Mw,selected:$w,arrowBtn:Fw,pageline:zw,curPageNum:jw,arrow_btn_pic:Uw,back_btn_projectdetail:Bw,left_side:Ww,search_label:Hw,clear_input_container:Qw,clear_search:Kw,clearSearch:Vw,filter_label:Gw,filter_list:qw,detail_left:Yw,detail_right:Xw,partner:Zw,method:Jw,project_detail_title:eE,col:tE,download_list:nE,project_list:rE,project_row:iE,project_list_btn:oE,project_list_arrow:lE,list_smallFont:sE,list_smallFont_red:aE,list_title:uE,sep:cE,reverse_row:dE,page_text:fE},pE=e=>{const t=ml(e.title);return u("div",{children:R(U,{className:`${M.project_list}`,children:[R(q,{className:`gx-3 ${M.project_row}`,children:[u(B,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:Tw,alt:"laufend"}):u("img",{src:Aw,alt:"finished"})}),u(B,{children:R(q,{children:[e.laufend?u("div",{className:`${M.list_smallFont_red}`,children:"laufend"}):u("div",{className:`${M.list_smallFont}`,children:e.detail.acf.Jahr}),u("div",{className:`${M.list_smallFont}`,children:e.detail.acf.auftraggeber}),u(Ae,{className:`${M.project_list_btn}`,to:`/Projekte/Projekt/${t}`,state:e.detail,children:R("div",{className:"d-flex justify-content-between",children:[u("div",{className:`${M.list_title}`,children:e.title}),u("img",{className:`${M.project_list_arrow}`,src:Ju,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{className:`${M.sep}`})]})})},hE="/bv2024_frontend/assets/go-start.013c0555.svg",mE="/bv2024_frontend/assets/go-end.1639100c.svg",gE="/bv2024_frontend/assets/lastpage.6c6b5d71.svg",vE="/bv2024_frontend/assets/nextpage.b47452f8.svg",yE=({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:R(q,{className:M.page_number_row,children:[u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{n(1),window.scrollTo(0,0)},children:u("img",{src:hE,alt:"firstpage",className:`${M.arrow_btn_pic}`})})}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{r!=1&&(n(r-1),window.scrollTo(0,0))},children:u("img",{src:gE,alt:"prepage",className:`${M.arrow_btn_pic}`})})}),R(B,{className:`${M.pageBtn} col-auto`,children:[u("span",{className:`${M.page_text}`,children:"Seite"}),"\xA0 \xA0",u("span",{className:`${M.page_number} ${M.page_num_color}`,children:r}),"\xA0",u("span",{className:`${M.page_number}`,children:"/"}),R("span",{className:`${M.page_number}`,children:["\xA0",i.length]})]}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{r!=i.length&&(n(r+1),window.scrollTo(0,0))},children:u("img",{src:vE,alt:"nextpage",className:`${M.arrow_btn_pic}`})})}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{n(i.length),window.scrollTo(0,0)},children:u("img",{src:mE,alt:"lastpage",className:`${M.arrow_btn_pic}`})})})]})})},_E=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=v.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return v.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":R("div",{children:[l.map(a=>u(pE,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:M.pageline,children:u(yE,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class xE extends v.exports.Component{constructor(){super(...arguments);Ac(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?R("h2",{children:["There was an error with this listing. ",u(Ae,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const wE="_container_1ly3r_1",EE="_red_1ly3r_39",SE="_white_1ly3r_59",CE="_value_1ly3r_77",kE="_clearbtn_1ly3r_85",NE="_show_1ly3r_111",TE="_arrow_1ly3r_135",AE="_up_1ly3r_177",RE="_down_1ly3r_189",PE="_options_1ly3r_205",OE="_option_1ly3r_205",DE="_selected_1ly3r_291",bE="_highlighted_1ly3r_301",ze={container:wE,red:EE,white:SE,value:CE,clearbtn:kE,show:NE,arrow:TE,up:AE,down:RE,options:PE,option:OE,selected:DE,highlighted:bE},xf=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=v.exports.useState(!1),[a,c]=v.exports.useState(e!=null),[d,p]=v.exports.useState(e==null),[f,y]=v.exports.useState(!e),[_,w]=v.exports.useState(!0),[k,g]=v.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 v.exports.useEffect(()=>{l&&g(0)},[l]),v.exports.useEffect(()=>{i&&m()},[i]),R("div",{onBlur:()=>{s(!1),w(!0)},onClick:()=>{s(C=>!C),w(C=>!C)},tabIndex:0,className:`${ze.container} ${d?ze.red:ze.white}`,children:[u("span",{className:ze.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${ze.clearbtn} ${a?ze.show:""}`,children:"\xD7"}),u("div",{className:`${ze.arrow} ${_?ze.down:ze.up} ${f?ze.show:""} }`}),u("ul",{className:`${ze.options} ${l?ze.show:""}`,children:r.map((C,S)=>u("ul",{onClick:T=>{T.stopPropagation(),h(C.title.rendered),c(!0),p(!1),s(!1),y(!1)},onMouseEnter:()=>g(S),className:`${ze.option} ${E(C.title.rendered)?ze.selected:""} ${S==k?ze.highlighted:""}`,children:C.title.rendered},C.id))})]})},LE=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=v.exports.useState(""),[o,l]=v.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 v.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{className:"p-0",children:u("label",{htmlFor:"titleName",className:`${M.search_label}`,children:R("div",{className:`${M.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:`${M.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},IE=()=>{const e=S_(),t=nt(),[n,r]=j_(),[i,o]=v.exports.useState(""),[l,s]=v.exports.useState(void 0),[a,c]=v.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,p]=v.exports.useState(e.id=="laufend"),[f,y]=v.exports.useState(!1),[_,w]=v.exports.useState(!1);function k(ie){c(ie),r(pe=>(ie==null?pe.delete("Themen"):pe.append("Themen",ie),pe)),w(!0)}function g(ie){s(ie),r(pe=>(ie==null?pe.delete("Dienstleistungen"):pe.append("Dienstleistungen",ie),pe)),w(!0)}function m(){y(!1),w(!1)}function h(ie){o(ie),r(pe=>(ie==""?pe.delete("Titel"):(pe.delete("Titel"),pe.append("Titel",ie)),pe)),w(ie)}function E(){y(!0),p(!1),c(void 0),s(void 0),o(""),w(!1),t("/Projekte")}const C=Ee(["allprojects","projekte",""],Se),S=Ee(["alltopics","themen",""],Se),T=Ee(["services","dienstleistungen",""],Se),N=Ee(["istlaufend","istlaufend",""],Se);if(C.isLoading||S.isLoading||T.isLoading||N.isLoading)return u(_t,{});(C.isError||S.isError||T.isError||N.isError)&&t("/NotMatch404");let j=Fm(N.data,"Ja");const L=Sx(C.data,N),Pe=(d?L:C.data).filter(ie=>ie.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),le=Ex(S,T,Pe,d?L:C.data,l,a,i);return R("div",{children:[u(U,{className:"categoryTitle",children:"PROJEKTE"}),u(U,{children:R(q,{children:[u(B,{lg:4,children:R(q,{className:`${M.left_side}`,children:[u(LE,{onChange:h,isClear:f,isCleared:m}),u("br",{}),R("div",{className:`${M.filter_label}`,children:["Filtern nach Thema:",u("br",{}),u(xf,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:S.data,onChange:k,isClear:f,isCleared:m})]}),R("div",{className:`${M.filter_label}`,children:["Filtern nach Dienstleistung:",u("br",{}),u(xf,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:T.data,onChange:g,isClear:f,isCleared:m})]})]})}),R(B,{lg:8,children:[R("div",{className:`${M.container} +`),i=xe(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],we);return i.isLoading?u(ct,{}):(i.isError&&t("/NotMatch404"),R("div",{children:[e.acf.ausbildung!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),u(pw,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Publikationen"}),u(mw,{publications:i.data}),u("hr",{})]}):null,r!=""?R("div",{className:`${K.section_box}`,children:[u("h2",{className:`${K.staff_detail_title}`,children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},vw=()=>{const t=Ot().state,n=Ke(),r=Ml(t.acf.imgid,jm),i=xe(["staffdetails",`mitarbeitende/${t.id}`,""],we);return i.isLoading?u(ct,{}):(i.isError&&n("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"MITARBEITENDE"}),u(U,{children:R(q,{children:[u(B,{lg:4,md:5,children:u(fw,{staff:i.data,img:r})}),u(B,{lg:8,md:7,xs:12,children:u(gw,{staff:i.data})})]})})]}))},yw="_topic_pic_Container_izck8_1",_w="_topic_pic_izck8_1",xw="_topic_pic_caption_izck8_37",ww="_topic_pic_text_izck8_73",vo={topic_pic_Container:yw,topic_pic:_w,topic_pic_caption:xw,topic_pic_text:ww},Ew=({imgid:e,picName:t})=>{const n=Ml(e,"imgs/topics/gesundheit.png");return u("div",{className:`${vo.topic_pic_Container}`,children:R("div",{className:`${vo.topic_pic}`,children:[u("img",{src:n,alt:t}),u("div",{className:`${vo.topic_pic_caption}`,children:u("div",{className:`${vo.topic_pic_text}`,children:t})})]})})},Sw="_topic_row_l2wzr_1",Cw="_topics_content_l2wzr_11",kw="_topic_box_l2wzr_21",Ps={topic_row:Sw,topics_content:Cw,topic_box:kw},Nw=()=>{const e=Ke(),t=xe(["alltopics","themen",""],we);return t.isLoading?u(ct,{}):(t.isError&&e("/NotMatch404"),R("div",{children:[u(U,{className:"categoryTitle",children:"THEMEN"}),u(U,{className:`${Ps.topics_content}`,children:u(q,{className:`${Ps.topic_row}`,children:t.data.map(n=>u(B,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ps.topic_box}`,children:u(Ae,{to:`/Projekte?${ul({Themen:n.title.rendered})}`,children:u(Ew,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},Tw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",Aw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",Rw="_container_1rmk9_1",Pw="_withbtn_1rmk9_21",Ow="_hr_1rmk9_31",Dw="_resetBtn_1rmk9_41",bw="_show_1rmk9_67",Lw="_page_num_color_1rmk9_75",Iw="_page_number_row_1rmk9_83",Mw="_pageBtn_1rmk9_93",$w="_selected_1rmk9_111",Fw="_arrowBtn_1rmk9_123",zw="_pageline_1rmk9_149",jw="_curPageNum_1rmk9_167",Uw="_arrow_btn_pic_1rmk9_181",Bw="_back_btn_projectdetail_1rmk9_189",Ww="_left_side_1rmk9_207",Hw="_search_label_1rmk9_219",Qw="_clear_input_container_1rmk9_229",Kw="_clear_search_1rmk9_243",Vw="_clearSearch_1rmk9_1",Gw="_filter_label_1rmk9_289",qw="_filter_list_1rmk9_309",Yw="_detail_left_1rmk9_321",Xw="_detail_right_1rmk9_335",Zw="_partner_1rmk9_349",Jw="_method_1rmk9_359",eE="_project_detail_title_1rmk9_369",tE="_col_1rmk9_369",nE="_download_list_1rmk9_391",rE="_project_list_1rmk9_417",iE="_project_row_1rmk9_425",oE="_project_list_btn_1rmk9_433",lE="_project_list_arrow_1rmk9_445",sE="_list_smallFont_1rmk9_453",aE="_list_smallFont_red_1rmk9_467",uE="_list_title_1rmk9_475",cE="_sep_1rmk9_493",dE="_reverse_row_1rmk9_503",fE="_page_text_1rmk9_515",M={container:Rw,withbtn:Pw,hr:Ow,resetBtn:Dw,show:bw,page_num_color:Lw,page_number_row:Iw,pageBtn:Mw,selected:$w,arrowBtn:Fw,pageline:zw,curPageNum:jw,arrow_btn_pic:Uw,back_btn_projectdetail:Bw,left_side:Ww,search_label:Hw,clear_input_container:Qw,clear_search:Kw,clearSearch:Vw,filter_label:Gw,filter_list:qw,detail_left:Yw,detail_right:Xw,partner:Zw,method:Jw,project_detail_title:eE,col:tE,download_list:nE,project_list:rE,project_row:iE,project_list_btn:oE,project_list_arrow:lE,list_smallFont:sE,list_smallFont_red:aE,list_title:uE,sep:cE,reverse_row:dE,page_text:fE},pE=e=>{const t=ml(e.title);return u("div",{children:R(U,{className:`${M.project_list}`,children:[R(q,{className:`gx-3 ${M.project_row}`,children:[u(B,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:Tw,alt:"laufend"}):u("img",{src:Aw,alt:"finished"})}),u(B,{children:R(q,{children:[e.laufend?u("div",{className:`${M.list_smallFont_red}`,children:"laufend"}):u("div",{className:`${M.list_smallFont}`,children:e.detail.acf.Jahr}),u("div",{className:`${M.list_smallFont}`,children:e.detail.acf.auftraggeber}),u(Ae,{className:`${M.project_list_btn}`,to:`/Projekte/Projekt/${t}`,state:e.detail,children:R("div",{className:"d-flex justify-content-between",children:[u("div",{className:`${M.list_title}`,children:e.title}),u("img",{className:`${M.project_list_arrow}`,src:Ju,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{className:`${M.sep}`})]})})},hE="/bv2024_frontend/assets/go-start.013c0555.svg",mE="/bv2024_frontend/assets/go-end.1639100c.svg",gE="/bv2024_frontend/assets/lastpage.6c6b5d71.svg",vE="/bv2024_frontend/assets/nextpage.b47452f8.svg",yE=({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:R(q,{className:M.page_number_row,children:[u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{n(1),window.scrollTo(0,0)},children:u("img",{src:hE,alt:"firstpage",className:`${M.arrow_btn_pic}`})})}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{r!=1&&(n(r-1),window.scrollTo(0,0))},children:u("img",{src:gE,alt:"prepage",className:`${M.arrow_btn_pic}`})})}),R(B,{className:`${M.pageBtn} col-auto`,children:[u("span",{className:`${M.page_text}`,children:"Seite"}),"\xA0 \xA0",u("span",{className:`${M.page_number} ${M.page_num_color}`,children:r}),"\xA0",u("span",{className:`${M.page_number}`,children:"/"}),R("span",{className:`${M.page_number}`,children:["\xA0",i.length]})]}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{r!=i.length&&(n(r+1),window.scrollTo(0,0))},children:u("img",{src:vE,alt:"nextpage",className:`${M.arrow_btn_pic}`})})}),u(B,{className:"col-auto p-0",children:u("button",{className:M.arrowBtn,onClick:()=>{n(i.length),window.scrollTo(0,0)},children:u("img",{src:mE,alt:"lastpage",className:`${M.arrow_btn_pic}`})})})]})})},_E=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=v.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return v.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":R("div",{children:[l.map(a=>u(pE,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:M.pageline,children:u(yE,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class xE extends v.exports.Component{constructor(){super(...arguments);Ac(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?R("h2",{children:["There was an error with this listing. ",u(Ae,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const wE="_container_1ly3r_1",EE="_red_1ly3r_39",SE="_white_1ly3r_59",CE="_value_1ly3r_77",kE="_clearbtn_1ly3r_85",NE="_show_1ly3r_111",TE="_arrow_1ly3r_135",AE="_up_1ly3r_177",RE="_down_1ly3r_189",PE="_options_1ly3r_205",OE="_option_1ly3r_205",DE="_selected_1ly3r_291",bE="_highlighted_1ly3r_301",ze={container:wE,red:EE,white:SE,value:CE,clearbtn:kE,show:NE,arrow:TE,up:AE,down:RE,options:PE,option:OE,selected:DE,highlighted:bE},xf=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=v.exports.useState(!1),[a,c]=v.exports.useState(e!=null),[d,p]=v.exports.useState(e==null),[f,y]=v.exports.useState(!e),[_,w]=v.exports.useState(!0),[k,g]=v.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 v.exports.useEffect(()=>{l&&g(0)},[l]),v.exports.useEffect(()=>{i&&m()},[i]),R("div",{onBlur:()=>{s(!1),w(!0)},onClick:()=>{s(C=>!C),w(C=>!C)},tabIndex:0,className:`${ze.container} ${d?ze.red:ze.white}`,children:[u("span",{className:ze.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${ze.clearbtn} ${a?ze.show:""}`,children:"\xD7"}),u("div",{className:`${ze.arrow} ${_?ze.down:ze.up} ${f?ze.show:""} }`}),u("ul",{className:`${ze.options} ${l?ze.show:""}`,children:r.map((C,S)=>u("ul",{onClick:T=>{T.stopPropagation(),h(C.title.rendered),c(!0),p(!1),s(!1),y(!1)},onMouseEnter:()=>g(S),className:`${ze.option} ${E(C.title.rendered)?ze.selected:""} ${S==k?ze.highlighted:""}`,children:C.title.rendered},C.id))})]})},LE=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=v.exports.useState(""),[o,l]=v.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 v.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{className:"p-0",children:u("label",{htmlFor:"titleName",className:`${M.search_label}`,children:R("div",{className:`${M.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:`${M.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},IE=()=>{const e=S_(),t=Ke(),[n,r]=j_(),[i,o]=v.exports.useState(""),[l,s]=v.exports.useState(void 0),[a,c]=v.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,p]=v.exports.useState(e.id=="laufend"),[f,y]=v.exports.useState(!1),[_,w]=v.exports.useState(!1);function k(ie){c(ie),r(pe=>(ie==null?pe.delete("Themen"):pe.append("Themen",ie),pe)),w(!0)}function g(ie){s(ie),r(pe=>(ie==null?pe.delete("Dienstleistungen"):pe.append("Dienstleistungen",ie),pe)),w(!0)}function m(){y(!1),w(!1)}function h(ie){o(ie),r(pe=>(ie==""?pe.delete("Titel"):(pe.delete("Titel"),pe.append("Titel",ie)),pe)),w(ie)}function E(){y(!0),p(!1),c(void 0),s(void 0),o(""),w(!1),t("/Projekte")}const C=xe(["allprojects","projekte",""],we),S=xe(["alltopics","themen",""],we),T=xe(["services","dienstleistungen",""],we),N=xe(["istlaufend","istlaufend",""],we);if(C.isLoading||S.isLoading||T.isLoading||N.isLoading)return u(ct,{});(C.isError||S.isError||T.isError||N.isError)&&t("/NotMatch404");let j=Fm(N.data,"Ja");const L=Sx(C.data,N),Pe=(d?L:C.data).filter(ie=>ie.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),le=Ex(S,T,Pe,d?L:C.data,l,a,i);return R("div",{children:[u(U,{className:"categoryTitle",children:"PROJEKTE"}),u(U,{children:R(q,{children:[u(B,{lg:4,children:R(q,{className:`${M.left_side}`,children:[u(LE,{onChange:h,isClear:f,isCleared:m}),u("br",{}),R("div",{className:`${M.filter_label}`,children:["Filtern nach Thema:",u("br",{}),u(xf,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:S.data,onChange:k,isClear:f,isCleared:m})]}),R("div",{className:`${M.filter_label}`,children:["Filtern nach Dienstleistung:",u("br",{}),u(xf,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:T.data,onChange:g,isClear:f,isCleared:m})]})]})}),R(B,{lg:8,children:[R("div",{className:`${M.container} ${le.length==C.data.length?"":M.withbtn} `,children:[u("span",{className:M.text,children:le.length==C.data.length?"Alle Projekte":`${le.length} Projekte gefunden.`}),u("button",{className:`${M.resetBtn} ${le.length==C.data.length?"":M.show} - `,onClick:E,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:M.hr}),u(_E,{projects:le,istlaufend:j,filterApplied:_})]})]})})]})};function wf(e){return u(xE,{children:u(IE,{...e})})}const ME="/bv2024_frontend/assets/map.33be5f33.png",$E="_message_gyzkw_1",FE="_contact_company_name_gyzkw_13",zE="_contact_addr_title_gyzkw_27",jE="_contact_addr_detail_gyzkw_43",UE="_addr_info_gyzkw_55",BE="_map_gyzkw_71",WE="_contact_info_gyzkw_85",HE="_text_underline_gyzkw_97",QE="_email_link_gyzkw_107",KE="_reverse_row_gyzkw_115",VE="_title_data_protection_gyzkw_125",GE="_email_data_protection_gyzkw_139",G={message:$E,contact_company_name:FE,contact_addr_title:zE,contact_addr_detail:jE,addr_info:UE,map:BE,contact_info:WE,text_underline:HE,email_link:QE,reverse_row:KE,title_data_protection:VE,email_data_protection:GE},qE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"KONTAKT"}),u(U,{className:`${G.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),R(U,{children:[R(q,{className:`${G.reverse_row}`,children:[u(B,{xl:5,lg:4,xs:12,children:u("div",{children:R("div",{children:[R("div",{className:`${G.contact_company_name}`,children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),R("div",{className:`${G.contact_info}`,children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:`${G.contact_info}`,children:u("a",{href:"tel:+41 31 312 65 75",children:"+41 31 312 65 75"})}),u("br",{}),u("div",{className:`${G.contact_info}`,children:u("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),R(q,{children:[u(B,{children:u("a",{href:"https://maps.app.goo.gl/pK5fmbpc5qx59JkW9",className:`${G.addr_info}`,children:"Google Maps"})}),u(B,{children:u(Ae,{to:"",className:`${G.addr_info}`,children:"Printable Map"})})]})]})})}),u(B,{xl:7,lg:8,xs:12,children:u("img",{className:`${G.map}`,src:ME,alt:"map"})})]}),u("div",{className:`${G.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),R("p",{className:`${G.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",{})]})]}),YE="/bv2024_frontend/assets/404.05213829.svg",XE=()=>R("div",{children:[u(U,{className:"error_pic_container",children:u("img",{src:YE,alt:"errorpage",className:"error_pic"})}),u(U,{className:"error_pic_container",children:R("div",{className:"error_pic_message",children:["M\xF6chten Sie zur\xA0",u(Ae,{to:"/",children:"Startseite"}),"\xA0zur\xFCckkehren?"]})})]}),ZE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"IMPRESSUM"}),";",R(U,{children:[R("div",{className:`${G.title_data_protection}`,children:["B\xFCro Vatter AG",u("br",{}),"Politikforschung & -beratung"]}),u("div",{className:`${G.contact_info}`,children:"Gerberngasse 27"}),u("div",{className:`${G.contact_info}`,children:"CH-3011 Bern"}),u("br",{}),u("div",{className:`${G.contact_info}`,children:"Tel +41(0)31 312 65 75"}),u("br",{}),u("div",{className:`${G.contact_info} ${G.email_link}`,children:"info@buerovatter.ch"})]})]}),JE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),u(U,{children:u("div",{children:R("p",{className:`${G.contact_info}`,children:[u("b",{}),u("br",{}),R("div",{className:`${G.title_data_protection}`,children:["B\xFCro Vatter AG",u("br",{}),"Politikforschung & -beratung"]}),"Gerberngasse 27",u("br",{}),"CH-3011 Bern",u("br",{}),"Schweiz",u("br",{}),u("span",{className:`${G.email_data_protection}`,children:"E-Mail"}),": info@buerovatter.ch",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Vertretungsberechtigte Person"}),"Christian R\xFCefli",u("br",{}),u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Name des Unternehmens"}),"B\xFCro Vatter AG",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Datenschutzbeauftragte Person:"}),"Christian R\xFCefli",u("br",{}),"Tel +(0)31 312 65 75",u("br",{}),"ruefli@buerovatter.ch",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Allgemein"}),"Gest\xFCtzt auf Artikel 13 der Schweizerischen Bundesverfassung und die datenschutzrechtlichen Bestimmungen des Bundes (Datenschutzgesetz, DSG) hat jede Person Anspruch auf Schutz ihrer Privatsph\xE4re sowie auf Schutz vor Missbrauch ihrer pers\xF6nlichen Daten. Die Betreiber dieser Seiten nehmen den Schutz Ihrer pers\xF6nlichen Daten sehr ernst. Wir behandeln Ihre personenbezogenen Daten vertraulich und entsprechend der gesetzlichen Datenschutzvorschriften sowie dieser Datenschutzerkl\xE4rung.",u("br",{})," ",u("br",{}),"In Zusammenarbeit mit unseren Hosting-Providern bem\xFChen wir uns, die Datenbanken so gut wie m\xF6glich vor unberechtigtem Zugriff, Verlust, Missbrauch oder Verf\xE4lschung zu sch\xFCtzen. ",u("br",{})," ",u("br",{}),"Wir weisen darauf hin, dass die Daten\xFCbertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitsl\xFCcken aufweisen kann. Ein l\xFCckenloser Schutz der Daten vor dem Zugriff durch Dritte ist nicht m\xF6glich.",u("br",{})," ",u("br",{}),"Durch die Nutzung dieser Website erkl\xE4ren Sie sich mit der Erhebung, Verarbeitung und Nutzung von Daten gem\xE4\xDF der nachfolgenden Beschreibung einverstanden. Diese Website kann grunds\xE4tzlich ohne Registrierung besucht werden. Daten wie aufgerufene Seiten oder Namen von aufgerufenen Dateien, Datum und Uhrzeit werden zu statistischen Zwecken auf dem Server gespeichert, ohne dass diese Daten unmittelbar auf Ihre Person bezogen werden. Soweit auf unseren Seiten personenbezogene Daten (beispielsweise Name, Anschrift oder eMail-Adressen) erhoben werden, erfolgt dies, soweit m\xF6glich, stets auf freiwilliger Basis. Diese Daten werden ohne Ihre ausdr\xFCckliche Zustimmung nicht an Dritte weitergegeben.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Mit SSL/TLS-Verschl\xFCsselung"}),'Diese Website verwendet aus Sicherheitsgr\xFCnden und zum Schutz der \xDCbertragung vertraulicher Inhalte, wie z.B. Anfragen, die Sie an uns als Seitenbetreiber senden, eine SSL/TLS-Verschl\xFCsselung. Eine verschl\xFCsselte Verbindung erkennen Sie daran, dass die Adresszeile des Browsers von ""http://"" auf ""https://"" wechselt und an dem Schloss-Symbol in Ihrer Browserzeile.',u("br",{})," ",u("br",{}),"Wenn die SSL- oder TLS-Verschl\xFCsselung aktiviert ist, k\xF6nnen die Daten, die Sie an uns \xFCbermitteln, nicht von Dritten gelesen werden.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Server-Log-Dateien"}),"Der Provider dieser Website erhebt und speichert automatisch Informationen in so genannten Server-Log-Dateien, die Ihr Browser automatisch an uns \xFCbermittelt. Dies sind:",u("br",{}),"Browsertyp und Browserversion",u("br",{}),"Verwendetes Betriebssystem",u("br",{}),"Referrer URL",u("br",{}),"Hostname des zugreifenden Rechners",u("br",{}),"Zeitpunkt der Serveranfrage",u("br",{})," ",u("br",{}),"Diese Daten sind nicht bestimmten Personen zuordenbar. Eine Zusammenf\xFChrung dieser Daten mit anderen Datenquellen wird nicht vorgenommen. Wir behalten uns vor, diese Daten nachtr\xE4glich zu pr\xFCfen, wenn uns konkrete Anhaltspunkte f\xFCr eine rechtswidrige Nutzung bekannt werden.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Haftungsausschluss"}),"Alle Angaben auf unserer Website wurden sorgf\xE4ltig gepr\xFCft. Wir sind bem\xFCht, daf\xFCr Sorge zu tragen, dass die von uns bereitgestellten Informationen aktuell, richtig und vollst\xE4ndig sind. Dennoch ist das Auftreten von Fehlern nicht v\xF6llig auszuschlie\xDFen, so dass wir f\xFCr die Vollst\xE4ndigkeit, Richtigkeit und Aktualit\xE4t der Informationen, auch journalistisch-redaktioneller Art, keine Gew\xE4hr \xFCbernehmen k\xF6nnen. Haftungsanspr\xFCche, die sich auf Sch\xE4den materieller oder ideeller Art beziehen, welche durch die Nutzung oder Nichtnutzung der dargebotenen Informationen bzw. durch die Nutzung fehlerhafter und unvollst\xE4ndiger Informationen verursacht wurden, sind grunds\xE4tzlich ausgeschlossen. ",u("br",{}),"Der Herausgeber kann Texte nach eigenem Ermessen und ohne vorherige Ank\xFCndigung \xE4ndern oder l\xF6schen und ist nicht dazu verpflichtet, die Inhalte dieser Website zu aktualisieren. Die Nutzung dieser Website bzw. der Zugang zu ihr erfolgt auf eigenes Risiko des Besuchers. Der Herausgeber, seine Kunden oder Partner sind nicht verantwortlich f\xFCr Sch\xE4den, wie z.B. direkte, indirekte, zuf\xE4llige oder Folgesch\xE4den, die angeblich durch den Besuch dieser Website verursacht wurden und \xFCbernehmen folglich keine Haftung f\xFCr solche Sch\xE4den.",u("br",{}),"Der Herausgeber \xFCbernimmt auch keine Verantwortung oder Haftung f\xFCr den Inhalt und die Verf\xFCgbarkeit von Websites Dritter, die \xFCber externe Links von dieser Website aus erreicht werden k\xF6nnen. F\xFCr den Inhalt der verlinkten Seiten sind ausschlie\xDFlich deren Betreiber verantwortlich. Der Herausgeber distanziert sich daher ausdr\xFCcklich von allen fremden Inhalten, die m\xF6glicherweise straf- oder haftungsrechtlich relevant sind oder gegen die guten Sitten versto\xDFen.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Google Maps"}),"Diese Website nutzt das Angebot von Google Maps. Dies erm\xF6glicht es uns, interaktive Karten direkt auf der Website darzustellen und Ihnen die komfortable Nutzung der Kartenfunktion zu erm\xF6glichen. Durch den Besuch der Website erh\xE4lt Google die Information, dass Sie die entsprechende Unterseite unserer Website aufgerufen haben. Dies geschieht unabh\xE4ngig davon, ob Google ein Nutzerkonto bereitstellt, \xFCber das Sie eingeloggt sind, oder ob kein Nutzerkonto vorhanden ist. Wenn Sie bei Google eingeloggt sind, werden Ihre Daten direkt Ihrem Konto zugeordnet. Wenn Sie die Zuordnung zu Ihrem Profil bei Google nicht w\xFCnschen, m\xFCssen Sie sich vor Aktivierung der Schaltfl\xE4che ausloggen. Google speichert Ihre Daten als Nutzungsprofile und nutzt sie f\xFCr Zwecke der Werbung, Marktforschung und/oder bedarfsgerechten Gestaltung seiner Website. Eine solche Auswertung erfolgt insbesondere (auch f\xFCr nicht eingeloggte Nutzer) zur Erbringung bedarfsgerechter Werbung und um andere Nutzer des sozialen Netzwerks \xFCber Ihre Aktivit\xE4ten auf unserer Website zu informieren. Sie haben das Recht, der Erstellung dieser Nutzerprofile zu widersprechen, wobei Sie sich zur Aus\xFCbung dieses Rechts an Google wenden m\xFCssen. N\xE4here Informationen zu Zweck und Umfang der Datenerhebung und -verarbeitung durch Google sowie weitere Informationen zu Ihren diesbez\xFCglichen Rechten und Einstellungsm\xF6glichkeiten zum Schutz Ihrer Privatsph\xE4re finden Sie unter: www.google.de/intl/de/policies/privacy.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Daten\xFCbermittlung in die USA"}),"Auf unserer Website sind u.a. Tools von Unternehmen mit Sitz in den USA eingebunden. Wenn diese Tools aktiv sind, k\xF6nnen Ihre personenbezogenen Daten an die US-Server der jeweiligen Unternehmen \xFCbertragen werden. Wir weisen darauf hin, dass die USA kein sicherer Drittstaat im Sinne des EU-Datenschutzrechts sind. US-Unternehmen sind verpflichtet, personenbezogene Daten an Sicherheitsbeh\xF6rden herauszugeben, ohne dass Sie als Betroffener dagegen rechtlich vorgehen k\xF6nnen. Es kann daher nicht ausgeschlossen werden, dass US-Beh\xF6rden (z.B. Geheimdienste) Ihre auf US-Servern befindlichen Daten zu \xDCberwachungszwecken verarbeiten, auswerten und dauerhaft speichern. Auf diese Verarbeitungsvorg\xE4nge haben wir keinen Einfluss.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"\xC4nderungen"}),"Wir k\xF6nnen diese Datenschutzrichtlinie jederzeit ohne vorherige Ank\xFCndigung \xE4ndern. Es gilt die jeweils aktuelle, auf unserer Website ver\xF6ffentlichte Fassung. Soweit die Datenschutzerkl\xE4rung Teil einer Vereinbarung mit Ihnen ist, werden wir Sie im Falle einer Aktualisierung per E-Mail oder auf andere geeignete Weise \xFCber die \xC4nderung informieren.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Haftungsausschluss"}),"Der Autor \xFCbernimmt keine Gew\xE4hr f\xFCr die Richtigkeit, Genauigkeit, Aktualit\xE4t, Zuverl\xE4ssigkeit und Vollst\xE4ndigkeit der Informationen.",u("br",{}),"Haftungsanspr\xFCche gegen den Autor wegen Sch\xE4den materieller oder immaterieller Art, die aus dem Zugriff oder der Nutzung bzw. Nichtnutzung der ver\xF6ffentlichten Informationen, durch Missbrauch der Verbindung oder durch technische St\xF6rungen entstanden sind, werden ausgeschlossen.",u("br",{})," ",u("br",{}),"Alle Angebote sind freibleibend. Der Autor beh\xE4lt es sich ausdr\xFCcklich vor, Teile der Seiten oder das gesamte Angebot ohne gesonderte Ank\xFCndigung zu ver\xE4ndern, zu erg\xE4nzen, zu l\xF6schen oder die Ver\xF6ffentlichung zeitweise oder endg\xFCltig einzustellen.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Quelle"}),u("a",{href:"https://brainbox.swiss/",children:"BrainBox Solutions"})]})})})]}),Os="/bv2024_frontend/assets/NotMatch404.d233cde0.png",eS="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",tS="/bv2024_frontend/assets/Kontakt.e3e8d695.png",nS="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",rS="/bv2024_frontend/assets/NotMatch404.d233cde0.png",iS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",oS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",lS="/bv2024_frontend/assets/Themen.e1598e5b.png",sS="_titleImg_18euy_1",aS="_caption_18euy_17",Ef={titleImg:sS,caption:aS},uS=({page:e})=>{let t=e.split("/",1)[0],n=Os,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Os;break;case"Projekte":n=iS;break;case"Projekt":n=oS;break;case"Dienstleistungen":n=eS;break;case"Mitarbeitende":n=nS;break;case"Kontakt":n=tS;break;case"Themen":n=lS;break;case"NotMatch404":n=rS;break;default:r="",n=Os;break}return u("div",{className:`${Ef.titleImg}`,style:{backgroundImage:`url(${n})`},children:u("div",{className:`${Ef.caption}`,children:u("div",{children:r})})})},cS="/bv2024_frontend/assets/bv_logo.21578d65.svg",dS="/bv2024_frontend/assets/side_logo.430b69df.svg";function ii(...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 fS={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function pS(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=fS[e];return r+parseInt(Gt(t,i[0]),10)+parseInt(Gt(t,i[1]),10)}const hS={[ln]:"collapse",[zi]:"collapsing",[Nt]:"collapsing",[Ht]:"collapse show"},mS=$e.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:d=!1,unmountOnExit:p=!1,appear:f=!1,getDimensionValue:y=pS,..._},w)=>{const k=typeof s=="function"?s():s,g=v.exports.useMemo(()=>ii(S=>{S.style[k]="0"},e),[k,e]),m=v.exports.useMemo(()=>ii(S=>{const T=`scroll${k[0].toUpperCase()}${k.slice(1)}`;S.style[k]=`${S[T]}px`},t),[k,t]),h=v.exports.useMemo(()=>ii(S=>{S.style[k]=null},n),[k,n]),E=v.exports.useMemo(()=>ii(S=>{S.style[k]=`${y(k,S)}px`,xm(S)},r),[r,y,k]),C=v.exports.useMemo(()=>ii(S=>{S.style[k]=null},i),[k,i]);return u(rc,{ref:w,addEndListener:nc,..._,"aria-expanded":_.role?a:null,onEnter:g,onEntering:m,onEntered:h,onExit:E,onExiting:C,childRef:l.ref,in:a,timeout:c,mountOnEnter:d,unmountOnExit:p,appear:f,children:(S,T)=>$e.cloneElement(l,{...T,className:ce(o,l.props.className,hS[S],k==="width"&&"collapse-horizontal")})})}),gS=mS,vS=e=>v.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ce(t.className,e)})),yS={"aria-label":Ct.exports.string,onClick:Ct.exports.func,variant:Ct.exports.oneOf(["white"])},lc=v.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>u("button",{ref:i,type:"button",className:ce("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));lc.displayName="CloseButton";lc.propTypes=yS;const _S=lc;function xS(e){const t=v.exports.useRef(e);return t.current=e,t}function wS(e){const t=xS(e);v.exports.useEffect(()=>()=>t.current(),[])}function Sf(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const Bm=v.exports.createContext(Fl?window:void 0);Bm.Provider;function sc(){return v.exports.useContext(Bm)}function Ds(e){e===void 0&&(e=tc());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function ES(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const Cf=zl("modal-open");class ac{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return ES(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(Gt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(Cf,""),Gt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(Cf),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 bs=(e,t)=>Fl?e==null?(t||tc()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function SS(e,t){const n=sc(),[r,i]=v.exports.useState(()=>bs(e,n==null?void 0:n.document));if(!r){const o=bs(e);o&&i(o)}return v.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),v.exports.useEffect(()=>{const o=bs(e);o!==r&&i(o)},[e,r]),r}function CS({in:e,onTransition:t}){const n=v.exports.useRef(null),r=v.exports.useRef(!0),i=pt(t);return Ga(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Ga(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function kS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=v.exports.useState(!t);t&&o&&l(!1);const s=CS({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(d,p=>{throw c.in||l(!0),p})}}),a=$l(s,e.ref);return o&&!t?null:v.exports.cloneElement(e,{ref:a})}function kf(e,t,n){return e?u(e,Object.assign({},n)):t?u(kS,Object.assign({},n,{transition:t})):u(ec,Object.assign({},n))}function NS(e){return e.code==="Escape"||e.keyCode===27}const TS=["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 AS(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 Ls;function RS(e){return Ls||(Ls=new ac({ownerDocument:e==null?void 0:e.document})),Ls}function PS(e){const t=sc(),n=e||RS(t),r=v.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:v.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:v.exports.useCallback(i=>{r.current.backdrop=i},[])})}const Wm=v.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:d,transition:p,runTransition:f,backdropTransition:y,runBackdropTransition:_,autoFocus:w=!0,enforceFocus:k=!0,restoreFocus:g=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=Z=>u("div",Object.assign({},Z)),manager:C,container:S,onShow:T,onHide:N=()=>{},onExit:j,onExited:L,onExiting:re,onEnter:Pe,onEntering:le,onEntered:ie}=e,pe=AS(e,TS);const Ke=sc(),Ve=SS(S),P=PS(C),b=hx(),z=mx(n),[F,X]=v.exports.useState(!n),Q=v.exports.useRef(null);v.exports.useImperativeHandle(t,()=>P,[P]),Fl&&!z&&n&&(Q.current=Ds(Ke==null?void 0:Ke.document)),n&&F&&X(!1);const ve=pt(()=>{if(P.add(),bt.current=hl(document,"keydown",Ki),Zn.current=hl(document,"focus",()=>setTimeout(Oe),!0),T&&T(),w){var Z,Tn;const er=Ds((Z=(Tn=P.dialog)==null?void 0:Tn.ownerDocument)!=null?Z:Ke==null?void 0:Ke.document);P.dialog&&er&&!Sf(P.dialog,er)&&(Q.current=er,P.dialog.focus())}}),de=pt(()=>{if(P.remove(),bt.current==null||bt.current(),Zn.current==null||Zn.current(),g){var Z;(Z=Q.current)==null||Z.focus==null||Z.focus(m),Q.current=null}});v.exports.useEffect(()=>{!n||!Ve||ve()},[n,Ve,ve]),v.exports.useEffect(()=>{!F||de()},[F,de]),wS(()=>{de()});const Oe=pt(()=>{if(!k||!b()||!P.isTopModal())return;const Z=Ds(Ke==null?void 0:Ke.document);P.dialog&&Z&&!Sf(P.dialog,Z)&&P.dialog.focus()}),Dt=pt(Z=>{Z.target===Z.currentTarget&&(c==null||c(Z),s===!0&&N())}),Ki=pt(Z=>{a&&NS(Z)&&P.isTopModal()&&(d==null||d(Z),Z.defaultPrevented||N())}),Zn=v.exports.useRef(),bt=v.exports.useRef(),zt=(...Z)=>{X(!0),L==null||L(...Z)};if(!Ve)return null;const Jn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},pe,{style:o,className:i,tabIndex:-1});let Nn=h?h(Jn):u("div",Object.assign({},Jn,{children:v.exports.cloneElement(l,{role:"document"})}));Nn=kf(p,f,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:j,onExiting:re,onExited:zt,onEnter:Pe,onEntering:le,onEntered:ie,children:Nn});let xt=null;return s&&(xt=E({ref:P.setBackdropRef,onClick:Dt}),xt=kf(y,_,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:xt})),u(sl,{children:xr.createPortal(R(sl,{children:[xt,Nn]}),Ve)})});Wm.displayName="Modal";const OS=Object.assign(Wm,{Manager:ac});function DS(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function bS(e,t){e.classList?e.classList.add(t):DS(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Nf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function LS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Nf(e.className,t):e.setAttribute("class",Nf(e.className&&e.className.baseVal||"",t))}const sr={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Hm extends ac{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Gt(n,{[t]:`${parseFloat(Gt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Gt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(bS(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ln(n,sr.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),Ln(n,sr.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Ln(n,sr.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();LS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ln(n,sr.FIXED_CONTENT).forEach(o=>this.restore(r,o)),Ln(n,sr.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Ln(n,sr.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Is;function IS(e){return Is||(Is=new Hm(e)),Is}const MS=Hm,$S=v.exports.createContext({onHide(){}}),Qm=$S,FS=v.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=v.exports.useContext(Qm),a=pt(()=>{s==null||s.onHide(),r==null||r()});return R("div",{ref:l,...o,children:[i,n&&u(_S,{"aria-label":e,variant:t,onClick:a})]})}),zS=FS,Km=v.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=ke(e,"navbar-brand");const o=n||(r.href?"a":"span");return u(o,{...r,ref:i,className:ce(t,e)})});Km.displayName="NavbarBrand";const jS=Km,Vm=v.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=ke(t,"navbar-collapse");const i=v.exports.useContext(Xn);return u(gS,{in:!!(i&&i.expanded),...n,children:u("div",{ref:r,className:t,children:e})})});Vm.displayName="NavbarCollapse";const US=Vm,Gm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=ke(e,"navbar-toggler");const{onToggle:a,expanded:c}=v.exports.useContext(Xn)||{},d=pt(p=>{o&&o(p),a&&a()});return i==="button"&&(l.type="button"),u(i,{...l,ref:s,onClick:d,"aria-label":r,className:ce(t,e,!c&&"collapsed"),children:n||u("span",{className:`${e}-icon`})})});Gm.displayName="NavbarToggle";const BS=Gm,qa=new WeakMap,Tf=(e,t)=>{if(!e||!t)return;const n=qa.get(t)||new Map;qa.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function WS(e,t=typeof window>"u"?void 0:window){const n=Tf(e,t),[r,i]=v.exports.useState(()=>n?n.matches:!1);return Ga(()=>{let o=Tf(e,t);if(!o)return i(!1);let l=qa.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 HS(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 d;typeof s=="object"?(d=s,c=a,a=!0):(a=a||!0,d={[s]:a});let p=v.exports.useMemo(()=>Object.entries(d).reduce((f,[y,_])=>((_==="up"||_===!0)&&(f=n(f,o(y))),(_==="down"||_===!0)&&(f=n(f,i(y))),f),""),[JSON.stringify(d)]);return WS(p,c)}return l}const QS=HS({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),qm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"offcanvas-body"),u(n,{ref:i,className:ce(e,t),...r})));qm.displayName="OffcanvasBody";const KS=qm,VS={[Nt]:"show",[Ht]:"show"},Ym=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},a)=>(e=ke(e,"offcanvas"),u(rc,{ref:a,addEndListener:nc,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,d)=>v.exports.cloneElement(n,{...d,className:ce(t,n.props.className,(c===Nt||c===zi)&&`${e}-toggling`,VS[c])})})));Ym.displayName="OffcanvasToggling";const GS=Ym,Xm=v.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=ke(e,"offcanvas-header"),u(zS,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Xm.displayName="OffcanvasHeader";const qS=Xm,YS=vS("h5"),Zm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n=YS,...r},i)=>(t=ke(t,"offcanvas-title"),u(n,{ref:i,className:ce(e,t),...r})));Zm.displayName="OffcanvasTitle";const XS=Zm;function ZS(e){return u(GS,{...e})}function JS(e){return u(ic,{...e})}const Jm=v.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:d,onShow:p,onHide:f,container:y,autoFocus:_=!0,enforceFocus:w=!0,restoreFocus:k=!0,restoreFocusOptions:g,onEntered:m,onExit:h,onExiting:E,onEnter:C,onEntering:S,onExited:T,backdropClassName:N,manager:j,renderStaticNode:L=!1,...re},Pe)=>{const le=v.exports.useRef();e=ke(e,"offcanvas");const{onToggle:ie}=v.exports.useContext(Xn)||{},[pe,Ke]=v.exports.useState(!1),Ve=QS(o||"xs","up");v.exports.useEffect(()=>{Ke(o?l&&!Ve:l)},[l,o,Ve]);const P=pt(()=>{ie==null||ie(),f==null||f()}),b=v.exports.useMemo(()=>({onHide:P}),[P]);function z(){return j||(c?(le.current||(le.current=new MS({handleContainerOverflow:!1})),le.current):IS())}const F=(de,...Oe)=>{de&&(de.style.visibility="visible"),C==null||C(de,...Oe)},X=(de,...Oe)=>{de&&(de.style.visibility=""),T==null||T(...Oe)},Q=v.exports.useCallback(de=>u("div",{...de,className:ce(`${e}-backdrop`,N)}),[N,e]),ve=de=>u("div",{...de,...re,className:ce(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return R(sl,{children:[!pe&&(o||L)&&ve({}),u(Qm.Provider,{value:b,children:u(OS,{show:pe,ref:Pe,backdrop:s,container:y,keyboard:a,autoFocus:_,enforceFocus:w&&!c,restoreFocus:k,restoreFocusOptions:g,onEscapeKeyDown:d,onShow:p,onHide:P,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:X,manager:z(),transition:ZS,backdropTransition:JS,renderBackdrop:Q,renderDialog:ve})})]})});Jm.displayName="Offcanvas";const Io=Object.assign(Jm,{Body:KS,Header:qS,Title:XS}),eg=v.exports.forwardRef((e,t)=>{const n=v.exports.useContext(Xn);return u(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});eg.displayName="NavbarOffcanvas";const eC=eg,tg=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=ke(t,"navbar-text"),u(n,{ref:i,className:ce(e,t),...r})));tg.displayName="NavbarText";const tC=tg,ng=v.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:d,onToggle:p,onSelect:f,collapseOnSelect:y=!1,..._}=Tm(e,{expanded:"onToggle"}),w=ke(n,"navbar"),k=v.exports.useCallback((...h)=>{f==null||f(...h),y&&d&&(p==null||p(!1))},[f,y,d,p]);_.role===void 0&&c!=="nav"&&(_.role="navigation");let g=`${w}-expand`;typeof r=="string"&&(g=`${g}-${r}`);const m=v.exports.useMemo(()=>({onToggle:()=>p==null?void 0:p(!d),bsPrefix:w,expanded:!!d,expand:r}),[w,d,r,p]);return u(Xn.Provider,{value:m,children:u(Vn.Provider,{value:k,children:u(c,{ref:t,..._,className:ce(a,w,r&&g,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});ng.displayName="Navbar";const yo=Object.assign(ng,{Brand:jS,Collapse:US,Offcanvas:eC,Text:tC,Toggle:BS}),nC=()=>{let t=Ot().pathname.substring(1);const n=v.exports.useRef();function r(){n.current.backdrop&&n.current.backdrop.click()}return R(U,{fluid:!0,className:"header_container",children:[u(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:R(U,{className:"align-items-end",children:[u(yo.Brand,{id:"logo_nav_container",children:R(Ae,{to:"/",className:"navbar-brand",children:[u("img",{src:cS,alt:"logo",height:"100px",className:"main_logo"}),u("img",{src:dS,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]})}),u(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),R(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbar-expand-lg",placement:"end",className:"w-50",ref:n,children:[u(Io.Header,{closeButton:!0,children:u(Io.Title,{id:"offcanvasNavbar-expand-lg"})}),u(Io.Body,{className:"justify-content-end mb-2",children:R(Lo,{className:"navbar_column nav-item",children:[u(Zr,{reloaddocument:"true",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",onClick:r,children:"Dienstleistungen"}),u(Zr,{reloaddocument:"true",to:"/Mitarbeitende",className:"nav-link",onClick:r,children:"\xDCber uns"}),u(Zr,{reloaddocument:"true",to:"/Themen",className:"nav-link",onClick:r,children:"Themen"}),u(Zr,{reloaddocument:"true",to:"/Projekte",className:"nav-link",onClick:r,children:"Projekte"}),u(Zr,{reloaddocument:"true",to:"/Kontakt",className:"nav-link",onClick:r,children:"Kontakt"})]})})]})]})}),u(U,{fluid:!0,className:"title_pic_content",children:u(uS,{page:t})})]})},rC="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",iC="_footer_139iy_3",oC="_footer_text_139iy_15",lC="_copyright_139iy_29",Ms={footer:iC,footer_text:oC,copyright:lC},sC=()=>u(U,{fluid:!0,className:`border-top ${Ms.footer}`,children:u(U,{className:"text-center",children:R("div",{className:"row flex-row-reverse",children:[u("section",{className:`col-xxl-6 text-xxl-end ${Ms.footer_text}`,children:R("span",{children:[u(Ae,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Ae,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Ae,{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:rC,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${Ms.copyright}`,children:"\xA9 2023 B\xFCro Vatter"})]})})}),$s=e=>{console.log(e.prop);const t=nt(),n=Ee(["downloads_1",`media/${e.prop}`,""],Se);return n.isLoading?u(_t,{}):(n.isError&&t("/NotMatch404"),console.log(n.data.source_url),u("div",{children:u(q,{children:u("a",{className:`${M.download_list}`,href:n.data.source_url,children:R("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.title.rendered)}}),u("img",{src:Um,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},aC=()=>{const t=Ot().state,n=t.acf,r=n.kooperationspartner.split(`\r + `,onClick:E,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:M.hr}),u(_E,{projects:le,istlaufend:j,filterApplied:_})]})]})})]})};function wf(e){return u(xE,{children:u(IE,{...e})})}const ME="/bv2024_frontend/assets/map.33be5f33.png",$E="_message_gyzkw_1",FE="_contact_company_name_gyzkw_13",zE="_contact_addr_title_gyzkw_27",jE="_contact_addr_detail_gyzkw_43",UE="_addr_info_gyzkw_55",BE="_map_gyzkw_71",WE="_contact_info_gyzkw_85",HE="_text_underline_gyzkw_97",QE="_email_link_gyzkw_107",KE="_reverse_row_gyzkw_115",VE="_title_data_protection_gyzkw_125",GE="_email_data_protection_gyzkw_139",G={message:$E,contact_company_name:FE,contact_addr_title:zE,contact_addr_detail:jE,addr_info:UE,map:BE,contact_info:WE,text_underline:HE,email_link:QE,reverse_row:KE,title_data_protection:VE,email_data_protection:GE},qE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"KONTAKT"}),u(U,{className:`${G.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),R(U,{children:[R(q,{className:`${G.reverse_row}`,children:[u(B,{xl:5,lg:4,xs:12,children:u("div",{children:R("div",{children:[R("div",{className:`${G.contact_company_name}`,children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),R("div",{className:`${G.contact_info}`,children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:`${G.contact_info}`,children:u("a",{href:"tel:+41 31 312 65 75",children:"+41 31 312 65 75"})}),u("br",{}),u("div",{className:`${G.contact_info}`,children:u("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),R(q,{children:[u(B,{children:u("a",{href:"https://maps.app.goo.gl/pK5fmbpc5qx59JkW9",className:`${G.addr_info}`,children:"Google Maps"})}),u(B,{children:u(Ae,{to:"",className:`${G.addr_info}`,children:"Printable Map"})})]})]})})}),u(B,{xl:7,lg:8,xs:12,children:u("img",{className:`${G.map}`,src:ME,alt:"map"})})]}),u("div",{className:`${G.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),R("p",{className:`${G.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",{})]})]}),YE="/bv2024_frontend/assets/404.05213829.svg",XE=()=>R("div",{children:[u(U,{className:"error_pic_container",children:u("img",{src:YE,alt:"errorpage",className:"error_pic"})}),u(U,{className:"error_pic_container",children:R("div",{className:"error_pic_message",children:["M\xF6chten Sie zur\xA0",u(Ae,{to:"/",children:"Startseite"}),"\xA0zur\xFCckkehren?"]})})]}),ZE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"IMPRESSUM"}),";",R(U,{children:[R("div",{className:`${G.title_data_protection}`,children:["B\xFCro Vatter AG",u("br",{}),"Politikforschung & -beratung"]}),u("div",{className:`${G.contact_info}`,children:"Gerberngasse 27"}),u("div",{className:`${G.contact_info}`,children:"CH-3011 Bern"}),u("br",{}),u("div",{className:`${G.contact_info}`,children:"Tel +41(0)31 312 65 75"}),u("br",{}),u("div",{className:`${G.contact_info} ${G.email_link}`,children:"info@buerovatter.ch"})]})]}),JE=()=>R("div",{children:[u(U,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),u(U,{children:u("div",{children:R("p",{className:`${G.contact_info}`,children:[u("b",{}),u("br",{}),R("div",{className:`${G.title_data_protection}`,children:["B\xFCro Vatter AG",u("br",{}),"Politikforschung & -beratung"]}),"Gerberngasse 27",u("br",{}),"CH-3011 Bern",u("br",{}),"Schweiz",u("br",{}),u("span",{className:`${G.email_data_protection}`,children:"E-Mail"}),": info@buerovatter.ch",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Vertretungsberechtigte Person"}),"Christian R\xFCefli",u("br",{}),u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Name des Unternehmens"}),"B\xFCro Vatter AG",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Datenschutzbeauftragte Person:"}),"Christian R\xFCefli",u("br",{}),"Tel +(0)31 312 65 75",u("br",{}),"ruefli@buerovatter.ch",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Allgemein"}),"Gest\xFCtzt auf Artikel 13 der Schweizerischen Bundesverfassung und die datenschutzrechtlichen Bestimmungen des Bundes (Datenschutzgesetz, DSG) hat jede Person Anspruch auf Schutz ihrer Privatsph\xE4re sowie auf Schutz vor Missbrauch ihrer pers\xF6nlichen Daten. Die Betreiber dieser Seiten nehmen den Schutz Ihrer pers\xF6nlichen Daten sehr ernst. Wir behandeln Ihre personenbezogenen Daten vertraulich und entsprechend der gesetzlichen Datenschutzvorschriften sowie dieser Datenschutzerkl\xE4rung.",u("br",{})," ",u("br",{}),"In Zusammenarbeit mit unseren Hosting-Providern bem\xFChen wir uns, die Datenbanken so gut wie m\xF6glich vor unberechtigtem Zugriff, Verlust, Missbrauch oder Verf\xE4lschung zu sch\xFCtzen. ",u("br",{})," ",u("br",{}),"Wir weisen darauf hin, dass die Daten\xFCbertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitsl\xFCcken aufweisen kann. Ein l\xFCckenloser Schutz der Daten vor dem Zugriff durch Dritte ist nicht m\xF6glich.",u("br",{})," ",u("br",{}),"Durch die Nutzung dieser Website erkl\xE4ren Sie sich mit der Erhebung, Verarbeitung und Nutzung von Daten gem\xE4\xDF der nachfolgenden Beschreibung einverstanden. Diese Website kann grunds\xE4tzlich ohne Registrierung besucht werden. Daten wie aufgerufene Seiten oder Namen von aufgerufenen Dateien, Datum und Uhrzeit werden zu statistischen Zwecken auf dem Server gespeichert, ohne dass diese Daten unmittelbar auf Ihre Person bezogen werden. Soweit auf unseren Seiten personenbezogene Daten (beispielsweise Name, Anschrift oder eMail-Adressen) erhoben werden, erfolgt dies, soweit m\xF6glich, stets auf freiwilliger Basis. Diese Daten werden ohne Ihre ausdr\xFCckliche Zustimmung nicht an Dritte weitergegeben.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Mit SSL/TLS-Verschl\xFCsselung"}),'Diese Website verwendet aus Sicherheitsgr\xFCnden und zum Schutz der \xDCbertragung vertraulicher Inhalte, wie z.B. Anfragen, die Sie an uns als Seitenbetreiber senden, eine SSL/TLS-Verschl\xFCsselung. Eine verschl\xFCsselte Verbindung erkennen Sie daran, dass die Adresszeile des Browsers von ""http://"" auf ""https://"" wechselt und an dem Schloss-Symbol in Ihrer Browserzeile.',u("br",{})," ",u("br",{}),"Wenn die SSL- oder TLS-Verschl\xFCsselung aktiviert ist, k\xF6nnen die Daten, die Sie an uns \xFCbermitteln, nicht von Dritten gelesen werden.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Server-Log-Dateien"}),"Der Provider dieser Website erhebt und speichert automatisch Informationen in so genannten Server-Log-Dateien, die Ihr Browser automatisch an uns \xFCbermittelt. Dies sind:",u("br",{}),"Browsertyp und Browserversion",u("br",{}),"Verwendetes Betriebssystem",u("br",{}),"Referrer URL",u("br",{}),"Hostname des zugreifenden Rechners",u("br",{}),"Zeitpunkt der Serveranfrage",u("br",{})," ",u("br",{}),"Diese Daten sind nicht bestimmten Personen zuordenbar. Eine Zusammenf\xFChrung dieser Daten mit anderen Datenquellen wird nicht vorgenommen. Wir behalten uns vor, diese Daten nachtr\xE4glich zu pr\xFCfen, wenn uns konkrete Anhaltspunkte f\xFCr eine rechtswidrige Nutzung bekannt werden.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Haftungsausschluss"}),"Alle Angaben auf unserer Website wurden sorgf\xE4ltig gepr\xFCft. Wir sind bem\xFCht, daf\xFCr Sorge zu tragen, dass die von uns bereitgestellten Informationen aktuell, richtig und vollst\xE4ndig sind. Dennoch ist das Auftreten von Fehlern nicht v\xF6llig auszuschlie\xDFen, so dass wir f\xFCr die Vollst\xE4ndigkeit, Richtigkeit und Aktualit\xE4t der Informationen, auch journalistisch-redaktioneller Art, keine Gew\xE4hr \xFCbernehmen k\xF6nnen. Haftungsanspr\xFCche, die sich auf Sch\xE4den materieller oder ideeller Art beziehen, welche durch die Nutzung oder Nichtnutzung der dargebotenen Informationen bzw. durch die Nutzung fehlerhafter und unvollst\xE4ndiger Informationen verursacht wurden, sind grunds\xE4tzlich ausgeschlossen. ",u("br",{}),"Der Herausgeber kann Texte nach eigenem Ermessen und ohne vorherige Ank\xFCndigung \xE4ndern oder l\xF6schen und ist nicht dazu verpflichtet, die Inhalte dieser Website zu aktualisieren. Die Nutzung dieser Website bzw. der Zugang zu ihr erfolgt auf eigenes Risiko des Besuchers. Der Herausgeber, seine Kunden oder Partner sind nicht verantwortlich f\xFCr Sch\xE4den, wie z.B. direkte, indirekte, zuf\xE4llige oder Folgesch\xE4den, die angeblich durch den Besuch dieser Website verursacht wurden und \xFCbernehmen folglich keine Haftung f\xFCr solche Sch\xE4den.",u("br",{}),"Der Herausgeber \xFCbernimmt auch keine Verantwortung oder Haftung f\xFCr den Inhalt und die Verf\xFCgbarkeit von Websites Dritter, die \xFCber externe Links von dieser Website aus erreicht werden k\xF6nnen. F\xFCr den Inhalt der verlinkten Seiten sind ausschlie\xDFlich deren Betreiber verantwortlich. Der Herausgeber distanziert sich daher ausdr\xFCcklich von allen fremden Inhalten, die m\xF6glicherweise straf- oder haftungsrechtlich relevant sind oder gegen die guten Sitten versto\xDFen.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Google Maps"}),"Diese Website nutzt das Angebot von Google Maps. Dies erm\xF6glicht es uns, interaktive Karten direkt auf der Website darzustellen und Ihnen die komfortable Nutzung der Kartenfunktion zu erm\xF6glichen. Durch den Besuch der Website erh\xE4lt Google die Information, dass Sie die entsprechende Unterseite unserer Website aufgerufen haben. Dies geschieht unabh\xE4ngig davon, ob Google ein Nutzerkonto bereitstellt, \xFCber das Sie eingeloggt sind, oder ob kein Nutzerkonto vorhanden ist. Wenn Sie bei Google eingeloggt sind, werden Ihre Daten direkt Ihrem Konto zugeordnet. Wenn Sie die Zuordnung zu Ihrem Profil bei Google nicht w\xFCnschen, m\xFCssen Sie sich vor Aktivierung der Schaltfl\xE4che ausloggen. Google speichert Ihre Daten als Nutzungsprofile und nutzt sie f\xFCr Zwecke der Werbung, Marktforschung und/oder bedarfsgerechten Gestaltung seiner Website. Eine solche Auswertung erfolgt insbesondere (auch f\xFCr nicht eingeloggte Nutzer) zur Erbringung bedarfsgerechter Werbung und um andere Nutzer des sozialen Netzwerks \xFCber Ihre Aktivit\xE4ten auf unserer Website zu informieren. Sie haben das Recht, der Erstellung dieser Nutzerprofile zu widersprechen, wobei Sie sich zur Aus\xFCbung dieses Rechts an Google wenden m\xFCssen. N\xE4here Informationen zu Zweck und Umfang der Datenerhebung und -verarbeitung durch Google sowie weitere Informationen zu Ihren diesbez\xFCglichen Rechten und Einstellungsm\xF6glichkeiten zum Schutz Ihrer Privatsph\xE4re finden Sie unter: www.google.de/intl/de/policies/privacy.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Daten\xFCbermittlung in die USA"}),"Auf unserer Website sind u.a. Tools von Unternehmen mit Sitz in den USA eingebunden. Wenn diese Tools aktiv sind, k\xF6nnen Ihre personenbezogenen Daten an die US-Server der jeweiligen Unternehmen \xFCbertragen werden. Wir weisen darauf hin, dass die USA kein sicherer Drittstaat im Sinne des EU-Datenschutzrechts sind. US-Unternehmen sind verpflichtet, personenbezogene Daten an Sicherheitsbeh\xF6rden herauszugeben, ohne dass Sie als Betroffener dagegen rechtlich vorgehen k\xF6nnen. Es kann daher nicht ausgeschlossen werden, dass US-Beh\xF6rden (z.B. Geheimdienste) Ihre auf US-Servern befindlichen Daten zu \xDCberwachungszwecken verarbeiten, auswerten und dauerhaft speichern. Auf diese Verarbeitungsvorg\xE4nge haben wir keinen Einfluss.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"\xC4nderungen"}),"Wir k\xF6nnen diese Datenschutzrichtlinie jederzeit ohne vorherige Ank\xFCndigung \xE4ndern. Es gilt die jeweils aktuelle, auf unserer Website ver\xF6ffentlichte Fassung. Soweit die Datenschutzerkl\xE4rung Teil einer Vereinbarung mit Ihnen ist, werden wir Sie im Falle einer Aktualisierung per E-Mail oder auf andere geeignete Weise \xFCber die \xC4nderung informieren.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Haftungsausschluss"}),"Der Autor \xFCbernimmt keine Gew\xE4hr f\xFCr die Richtigkeit, Genauigkeit, Aktualit\xE4t, Zuverl\xE4ssigkeit und Vollst\xE4ndigkeit der Informationen.",u("br",{}),"Haftungsanspr\xFCche gegen den Autor wegen Sch\xE4den materieller oder immaterieller Art, die aus dem Zugriff oder der Nutzung bzw. Nichtnutzung der ver\xF6ffentlichten Informationen, durch Missbrauch der Verbindung oder durch technische St\xF6rungen entstanden sind, werden ausgeschlossen.",u("br",{})," ",u("br",{}),"Alle Angebote sind freibleibend. Der Autor beh\xE4lt es sich ausdr\xFCcklich vor, Teile der Seiten oder das gesamte Angebot ohne gesonderte Ank\xFCndigung zu ver\xE4ndern, zu erg\xE4nzen, zu l\xF6schen oder die Ver\xF6ffentlichung zeitweise oder endg\xFCltig einzustellen.",u("br",{})," ",u("br",{}),u("div",{className:`${G.title_data_protection}`,children:"Quelle"}),u("a",{href:"https://brainbox.swiss/",children:"BrainBox Solutions"})]})})})]}),Os="/bv2024_frontend/assets/Home.d233cde0.png",eS="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",tS="/bv2024_frontend/assets/Kontakt.e3e8d695.png",nS="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",rS="/bv2024_frontend/assets/Home.d233cde0.png",iS="/bv2024_frontend/assets/Projekt.b5edb7d6.png",oS="/bv2024_frontend/assets/Projekt.b5edb7d6.png",lS="/bv2024_frontend/assets/Themen.e1598e5b.png",sS="_titleImg_18euy_1",aS="_caption_18euy_17",Ef={titleImg:sS,caption:aS},uS=({page:e})=>{let t=e.split("/",1)[0],n=Os,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Os;break;case"Projekte":n=iS;break;case"Projekt":n=oS;break;case"Dienstleistungen":n=eS;break;case"Mitarbeitende":n=nS;break;case"Kontakt":n=tS;break;case"Themen":n=lS;break;case"NotMatch404":n=rS;break;default:r="",n=Os;break}return u("div",{className:`${Ef.titleImg}`,style:{backgroundImage:`url(${n})`},children:u("div",{className:`${Ef.caption}`,children:u("div",{children:r})})})},cS="/bv2024_frontend/assets/bv_logo.21578d65.svg",dS="/bv2024_frontend/assets/side_logo.430b69df.svg";function ii(...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 fS={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function pS(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=fS[e];return r+parseInt(Gt(t,i[0]),10)+parseInt(Gt(t,i[1]),10)}const hS={[ln]:"collapse",[zi]:"collapsing",[Nt]:"collapsing",[Ht]:"collapse show"},mS=$e.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:d=!1,unmountOnExit:p=!1,appear:f=!1,getDimensionValue:y=pS,..._},w)=>{const k=typeof s=="function"?s():s,g=v.exports.useMemo(()=>ii(S=>{S.style[k]="0"},e),[k,e]),m=v.exports.useMemo(()=>ii(S=>{const T=`scroll${k[0].toUpperCase()}${k.slice(1)}`;S.style[k]=`${S[T]}px`},t),[k,t]),h=v.exports.useMemo(()=>ii(S=>{S.style[k]=null},n),[k,n]),E=v.exports.useMemo(()=>ii(S=>{S.style[k]=`${y(k,S)}px`,xm(S)},r),[r,y,k]),C=v.exports.useMemo(()=>ii(S=>{S.style[k]=null},i),[k,i]);return u(rc,{ref:w,addEndListener:nc,..._,"aria-expanded":_.role?a:null,onEnter:g,onEntering:m,onEntered:h,onExit:E,onExiting:C,childRef:l.ref,in:a,timeout:c,mountOnEnter:d,unmountOnExit:p,appear:f,children:(S,T)=>$e.cloneElement(l,{...T,className:ce(o,l.props.className,hS[S],k==="width"&&"collapse-horizontal")})})}),gS=mS,vS=e=>v.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ce(t.className,e)})),yS={"aria-label":Ct.exports.string,onClick:Ct.exports.func,variant:Ct.exports.oneOf(["white"])},lc=v.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>u("button",{ref:i,type:"button",className:ce("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));lc.displayName="CloseButton";lc.propTypes=yS;const _S=lc;function xS(e){const t=v.exports.useRef(e);return t.current=e,t}function wS(e){const t=xS(e);v.exports.useEffect(()=>()=>t.current(),[])}function Sf(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const Bm=v.exports.createContext(Fl?window:void 0);Bm.Provider;function sc(){return v.exports.useContext(Bm)}function Ds(e){e===void 0&&(e=tc());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function ES(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const Cf=zl("modal-open");class ac{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return ES(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(Gt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(Cf,""),Gt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(Cf),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 bs=(e,t)=>Fl?e==null?(t||tc()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function SS(e,t){const n=sc(),[r,i]=v.exports.useState(()=>bs(e,n==null?void 0:n.document));if(!r){const o=bs(e);o&&i(o)}return v.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),v.exports.useEffect(()=>{const o=bs(e);o!==r&&i(o)},[e,r]),r}function CS({in:e,onTransition:t}){const n=v.exports.useRef(null),r=v.exports.useRef(!0),i=ht(t);return Ga(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Ga(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function kS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=v.exports.useState(!t);t&&o&&l(!1);const s=CS({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(d,p=>{throw c.in||l(!0),p})}}),a=$l(s,e.ref);return o&&!t?null:v.exports.cloneElement(e,{ref:a})}function kf(e,t,n){return e?u(e,Object.assign({},n)):t?u(kS,Object.assign({},n,{transition:t})):u(ec,Object.assign({},n))}function NS(e){return e.code==="Escape"||e.keyCode===27}const TS=["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 AS(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 Ls;function RS(e){return Ls||(Ls=new ac({ownerDocument:e==null?void 0:e.document})),Ls}function PS(e){const t=sc(),n=e||RS(t),r=v.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:v.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:v.exports.useCallback(i=>{r.current.backdrop=i},[])})}const Wm=v.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:d,transition:p,runTransition:f,backdropTransition:y,runBackdropTransition:_,autoFocus:w=!0,enforceFocus:k=!0,restoreFocus:g=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=Z=>u("div",Object.assign({},Z)),manager:C,container:S,onShow:T,onHide:N=()=>{},onExit:j,onExited:L,onExiting:re,onEnter:Pe,onEntering:le,onEntered:ie}=e,pe=AS(e,TS);const Ve=sc(),Ge=SS(S),P=PS(C),b=hx(),z=mx(n),[F,X]=v.exports.useState(!n),Q=v.exports.useRef(null);v.exports.useImperativeHandle(t,()=>P,[P]),Fl&&!z&&n&&(Q.current=Ds(Ve==null?void 0:Ve.document)),n&&F&&X(!1);const ve=ht(()=>{if(P.add(),bt.current=hl(document,"keydown",Ki),Zn.current=hl(document,"focus",()=>setTimeout(Oe),!0),T&&T(),w){var Z,Tn;const er=Ds((Z=(Tn=P.dialog)==null?void 0:Tn.ownerDocument)!=null?Z:Ve==null?void 0:Ve.document);P.dialog&&er&&!Sf(P.dialog,er)&&(Q.current=er,P.dialog.focus())}}),de=ht(()=>{if(P.remove(),bt.current==null||bt.current(),Zn.current==null||Zn.current(),g){var Z;(Z=Q.current)==null||Z.focus==null||Z.focus(m),Q.current=null}});v.exports.useEffect(()=>{!n||!Ge||ve()},[n,Ge,ve]),v.exports.useEffect(()=>{!F||de()},[F,de]),wS(()=>{de()});const Oe=ht(()=>{if(!k||!b()||!P.isTopModal())return;const Z=Ds(Ve==null?void 0:Ve.document);P.dialog&&Z&&!Sf(P.dialog,Z)&&P.dialog.focus()}),Dt=ht(Z=>{Z.target===Z.currentTarget&&(c==null||c(Z),s===!0&&N())}),Ki=ht(Z=>{a&&NS(Z)&&P.isTopModal()&&(d==null||d(Z),Z.defaultPrevented||N())}),Zn=v.exports.useRef(),bt=v.exports.useRef(),zt=(...Z)=>{X(!0),L==null||L(...Z)};if(!Ge)return null;const Jn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},pe,{style:o,className:i,tabIndex:-1});let Nn=h?h(Jn):u("div",Object.assign({},Jn,{children:v.exports.cloneElement(l,{role:"document"})}));Nn=kf(p,f,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:j,onExiting:re,onExited:zt,onEnter:Pe,onEntering:le,onEntered:ie,children:Nn});let xt=null;return s&&(xt=E({ref:P.setBackdropRef,onClick:Dt}),xt=kf(y,_,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:xt})),u(sl,{children:xr.createPortal(R(sl,{children:[xt,Nn]}),Ge)})});Wm.displayName="Modal";const OS=Object.assign(Wm,{Manager:ac});function DS(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function bS(e,t){e.classList?e.classList.add(t):DS(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Nf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function LS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Nf(e.className,t):e.setAttribute("class",Nf(e.className&&e.className.baseVal||"",t))}const sr={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Hm extends ac{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Gt(n,{[t]:`${parseFloat(Gt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Gt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(bS(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ln(n,sr.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),Ln(n,sr.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),Ln(n,sr.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();LS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Ln(n,sr.FIXED_CONTENT).forEach(o=>this.restore(r,o)),Ln(n,sr.STICKY_CONTENT).forEach(o=>this.restore(i,o)),Ln(n,sr.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Is;function IS(e){return Is||(Is=new Hm(e)),Is}const MS=Hm,$S=v.exports.createContext({onHide(){}}),Qm=$S,FS=v.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=v.exports.useContext(Qm),a=ht(()=>{s==null||s.onHide(),r==null||r()});return R("div",{ref:l,...o,children:[i,n&&u(_S,{"aria-label":e,variant:t,onClick:a})]})}),zS=FS,Km=v.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=ke(e,"navbar-brand");const o=n||(r.href?"a":"span");return u(o,{...r,ref:i,className:ce(t,e)})});Km.displayName="NavbarBrand";const jS=Km,Vm=v.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=ke(t,"navbar-collapse");const i=v.exports.useContext(Xn);return u(gS,{in:!!(i&&i.expanded),...n,children:u("div",{ref:r,className:t,children:e})})});Vm.displayName="NavbarCollapse";const US=Vm,Gm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=ke(e,"navbar-toggler");const{onToggle:a,expanded:c}=v.exports.useContext(Xn)||{},d=ht(p=>{o&&o(p),a&&a()});return i==="button"&&(l.type="button"),u(i,{...l,ref:s,onClick:d,"aria-label":r,className:ce(t,e,!c&&"collapsed"),children:n||u("span",{className:`${e}-icon`})})});Gm.displayName="NavbarToggle";const BS=Gm,qa=new WeakMap,Tf=(e,t)=>{if(!e||!t)return;const n=qa.get(t)||new Map;qa.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function WS(e,t=typeof window>"u"?void 0:window){const n=Tf(e,t),[r,i]=v.exports.useState(()=>n?n.matches:!1);return Ga(()=>{let o=Tf(e,t);if(!o)return i(!1);let l=qa.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 HS(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 d;typeof s=="object"?(d=s,c=a,a=!0):(a=a||!0,d={[s]:a});let p=v.exports.useMemo(()=>Object.entries(d).reduce((f,[y,_])=>((_==="up"||_===!0)&&(f=n(f,o(y))),(_==="down"||_===!0)&&(f=n(f,i(y))),f),""),[JSON.stringify(d)]);return WS(p,c)}return l}const QS=HS({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),qm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ke(t,"offcanvas-body"),u(n,{ref:i,className:ce(e,t),...r})));qm.displayName="OffcanvasBody";const KS=qm,VS={[Nt]:"show",[Ht]:"show"},Ym=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},a)=>(e=ke(e,"offcanvas"),u(rc,{ref:a,addEndListener:nc,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,d)=>v.exports.cloneElement(n,{...d,className:ce(t,n.props.className,(c===Nt||c===zi)&&`${e}-toggling`,VS[c])})})));Ym.displayName="OffcanvasToggling";const GS=Ym,Xm=v.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=ke(e,"offcanvas-header"),u(zS,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Xm.displayName="OffcanvasHeader";const qS=Xm,YS=vS("h5"),Zm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n=YS,...r},i)=>(t=ke(t,"offcanvas-title"),u(n,{ref:i,className:ce(e,t),...r})));Zm.displayName="OffcanvasTitle";const XS=Zm;function ZS(e){return u(GS,{...e})}function JS(e){return u(ic,{...e})}const Jm=v.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:d,onShow:p,onHide:f,container:y,autoFocus:_=!0,enforceFocus:w=!0,restoreFocus:k=!0,restoreFocusOptions:g,onEntered:m,onExit:h,onExiting:E,onEnter:C,onEntering:S,onExited:T,backdropClassName:N,manager:j,renderStaticNode:L=!1,...re},Pe)=>{const le=v.exports.useRef();e=ke(e,"offcanvas");const{onToggle:ie}=v.exports.useContext(Xn)||{},[pe,Ve]=v.exports.useState(!1),Ge=QS(o||"xs","up");v.exports.useEffect(()=>{Ve(o?l&&!Ge:l)},[l,o,Ge]);const P=ht(()=>{ie==null||ie(),f==null||f()}),b=v.exports.useMemo(()=>({onHide:P}),[P]);function z(){return j||(c?(le.current||(le.current=new MS({handleContainerOverflow:!1})),le.current):IS())}const F=(de,...Oe)=>{de&&(de.style.visibility="visible"),C==null||C(de,...Oe)},X=(de,...Oe)=>{de&&(de.style.visibility=""),T==null||T(...Oe)},Q=v.exports.useCallback(de=>u("div",{...de,className:ce(`${e}-backdrop`,N)}),[N,e]),ve=de=>u("div",{...de,...re,className:ce(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return R(sl,{children:[!pe&&(o||L)&&ve({}),u(Qm.Provider,{value:b,children:u(OS,{show:pe,ref:Pe,backdrop:s,container:y,keyboard:a,autoFocus:_,enforceFocus:w&&!c,restoreFocus:k,restoreFocusOptions:g,onEscapeKeyDown:d,onShow:p,onHide:P,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:X,manager:z(),transition:ZS,backdropTransition:JS,renderBackdrop:Q,renderDialog:ve})})]})});Jm.displayName="Offcanvas";const Io=Object.assign(Jm,{Body:KS,Header:qS,Title:XS}),eg=v.exports.forwardRef((e,t)=>{const n=v.exports.useContext(Xn);return u(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});eg.displayName="NavbarOffcanvas";const eC=eg,tg=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=ke(t,"navbar-text"),u(n,{ref:i,className:ce(e,t),...r})));tg.displayName="NavbarText";const tC=tg,ng=v.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:d,onToggle:p,onSelect:f,collapseOnSelect:y=!1,..._}=Tm(e,{expanded:"onToggle"}),w=ke(n,"navbar"),k=v.exports.useCallback((...h)=>{f==null||f(...h),y&&d&&(p==null||p(!1))},[f,y,d,p]);_.role===void 0&&c!=="nav"&&(_.role="navigation");let g=`${w}-expand`;typeof r=="string"&&(g=`${g}-${r}`);const m=v.exports.useMemo(()=>({onToggle:()=>p==null?void 0:p(!d),bsPrefix:w,expanded:!!d,expand:r}),[w,d,r,p]);return u(Xn.Provider,{value:m,children:u(Vn.Provider,{value:k,children:u(c,{ref:t,..._,className:ce(a,w,r&&g,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});ng.displayName="Navbar";const yo=Object.assign(ng,{Brand:jS,Collapse:US,Offcanvas:eC,Text:tC,Toggle:BS}),nC=()=>{let t=Ot().pathname.substring(1);const n=v.exports.useRef();function r(){n.current.backdrop&&n.current.backdrop.click()}return R(U,{fluid:!0,className:"header_container",children:[u(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:R(U,{className:"align-items-end",children:[u(yo.Brand,{id:"logo_nav_container",children:R(Ae,{to:"/",className:"navbar-brand",children:[u("img",{src:cS,alt:"logo",height:"100px",className:"main_logo"}),u("img",{src:dS,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]})}),u(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),R(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbar-expand-lg",placement:"end",className:"w-50",ref:n,children:[u(Io.Header,{closeButton:!0,children:u(Io.Title,{id:"offcanvasNavbar-expand-lg"})}),u(Io.Body,{className:"justify-content-end mb-2",children:R(Lo,{className:"navbar_column nav-item",children:[u(Zr,{reloaddocument:"true",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",onClick:r,children:"Dienstleistungen"}),u(Zr,{reloaddocument:"true",to:"/Mitarbeitende",className:"nav-link",onClick:r,children:"\xDCber uns"}),u(Zr,{reloaddocument:"true",to:"/Themen",className:"nav-link",onClick:r,children:"Themen"}),u(Zr,{reloaddocument:"true",to:"/Projekte",className:"nav-link",onClick:r,children:"Projekte"}),u(Zr,{reloaddocument:"true",to:"/Kontakt",className:"nav-link",onClick:r,children:"Kontakt"})]})})]})]})}),u(U,{fluid:!0,className:"title_pic_content",children:u(uS,{page:t})})]})},rC="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",iC="_footer_139iy_3",oC="_footer_text_139iy_15",lC="_copyright_139iy_29",Ms={footer:iC,footer_text:oC,copyright:lC},sC=()=>u(U,{fluid:!0,className:`border-top ${Ms.footer}`,children:u(U,{className:"text-center",children:R("div",{className:"row flex-row-reverse",children:[u("section",{className:`col-xxl-6 text-xxl-end ${Ms.footer_text}`,children:R("span",{children:[u(Ae,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Ae,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Ae,{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:rC,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${Ms.copyright}`,children:"\xA9 2023 B\xFCro Vatter"})]})})}),$s=e=>{const t=Ke(),n=xe(["downloads_1",`media/${e.prop}`,""],we);return n.isLoading?u(ct,{}):(n.isError&&t("/NotMatch404"),u("div",{children:u(q,{children:u("a",{className:`${M.download_list}`,href:n.data.source_url,children:R("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Kn.sanitize(n.data.title.rendered)}}),u("img",{src:Um,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},aC=()=>{const t=Ot().state,n=t.acf,r=n.kooperationspartner.split(`\r `),i=n.vorgehenmethoden.split(`\r -`);return console.log(t),R("div",{children:[u(U,{className:"categoryTitle",children:"PROJEKTE"}),u(U,{children:R(q,{className:`${M.reverse_row}`,children:[R(B,{xl:8,children:[u(q,{children:u(B,{className:`${M.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Kooperationspartner"}),u(B,{className:`${M.detail_right}`,xl:9,children:r.map((o,l)=>u("ul",{className:`${M.partner}`,children:o},l))}),u("hr",{})]}):null,n.auftraggeber?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Auftraggeber"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.auftraggeber}),u("hr",{})]}):null,n.Jahr?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Laufzeit"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.Jahr}),u("hr",{})]}):null,n.inhalte?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Inhalte"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.inhalte}),u("hr",{})]}):null,n.vorgehenmethoden?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),u(B,{className:`${M.detail_right}`,xl:9,children:i.map((o,l)=>R("ul",{className:`${M.method}`,children:["-",o]},l))}),u("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?u(q,{children:R(B,{children:[u(q,{className:`${M.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_1})}):null,n.downloads_2?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_2})}):null,n.downloads_3?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_3})}):null,u("hr",{})]})}):null]}),u(B,{xl:4,children:u("div",{className:`${M.back_btn_projectdetail} text_color`,children:u(Ae,{to:"/Projekte",children:"Zur\xFCck zur \xDCbersicht"})})})]})})]})},uC=()=>{const{pathname:e}=Ot();return v.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},cC=new t0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),dC=()=>u("div",{className:"App",children:R(F_,{onUpdate:()=>window.scrollTo(0,0),children:[R(m0,{client:cC,children:[u(nC,{}),u("div",{className:"main",children:R(D_,{forceRefresh:!0,children:[u(Ye,{path:"/",element:u(u1,{})}),u(Ye,{path:"/Dienstleistungen",element:u(yf,{})}),u(Ye,{path:"/Dienstleistungen/:id",element:u(yf,{})}),u(Ye,{path:"/Mitarbeitende",element:u(cw,{})}),u(Ye,{path:"/Mitarbeitende/:id",element:u(vw,{})}),u(Ye,{path:"/Themen",element:u(Nw,{})}),u(Ye,{path:"/Projekte",element:u(wf,{})}),u(Ye,{path:"/Projekte/:id",element:u(wf,{})}),u(Ye,{path:"/Projekte/Projekt/:title",element:u(aC,{})}),u(Ye,{path:"/Kontakt",element:u(qE,{})}),u(Ye,{path:"/Imprint",element:u(ZE,{})}),u(Ye,{path:"/DataProtection",element:u(JE,{})}),u(Ye,{path:"*",element:u(XE,{})})]})}),u(sC,{})]}),u(uC,{})]})}),fC=document.getElementById("root"),pC=$h(fC);pC.render(u(dC,{})); +`);return console.log(t),R("div",{children:[u(U,{className:"categoryTitle",children:"PROJEKTE"}),u(U,{children:R(q,{className:`${M.reverse_row}`,children:[R(B,{xl:8,children:[u(q,{children:u(B,{className:`${M.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Kooperationspartner"}),u(B,{className:`${M.detail_right}`,xl:9,children:r.map((o,l)=>u("ul",{className:`${M.partner}`,children:o},l))}),u("hr",{})]}):null,n.auftraggeber?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Auftraggeber"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.auftraggeber}),u("hr",{})]}):null,n.Jahr?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Laufzeit"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.Jahr}),u("hr",{})]}):null,n.inhalte?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Inhalte"}),u(B,{className:`${M.detail_right}`,xl:9,children:n.inhalte}),u("hr",{})]}):null,n.vorgehenmethoden?R(q,{children:[u(B,{className:`${M.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),u(B,{className:`${M.detail_right}`,xl:9,children:i.map((o,l)=>R("ul",{className:`${M.method}`,children:["-",o]},l))}),u("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?u(q,{children:R(B,{children:[u(q,{className:`${M.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_1})}):null,n.downloads_2?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_2})}):null,n.downloads_3?u(q,{className:`${M.detail_right}`,xl:9,children:u($s,{prop:n.downloads_3})}):null,u("hr",{})]})}):null]}),u(B,{xl:4,children:u("div",{className:`${M.back_btn_projectdetail} text_color`,children:u(Ae,{to:"/Projekte",children:"Zur\xFCck zur \xDCbersicht"})})})]})})]})},uC=()=>{const{pathname:e}=Ot();return v.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},cC=new t0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),dC=()=>u("div",{className:"App",children:R(F_,{onUpdate:()=>window.scrollTo(0,0),children:[R(m0,{client:cC,children:[u(nC,{}),u("div",{className:"main",children:R(D_,{forceRefresh:!0,children:[u(Xe,{path:"/",element:u(u1,{})}),u(Xe,{path:"/Dienstleistungen",element:u(yf,{})}),u(Xe,{path:"/Dienstleistungen/:id",element:u(yf,{})}),u(Xe,{path:"/Mitarbeitende",element:u(cw,{})}),u(Xe,{path:"/Mitarbeitende/:id",element:u(vw,{})}),u(Xe,{path:"/Themen",element:u(Nw,{})}),u(Xe,{path:"/Projekte",element:u(wf,{})}),u(Xe,{path:"/Projekte/:id",element:u(wf,{})}),u(Xe,{path:"/Projekte/Projekt/:title",element:u(aC,{})}),u(Xe,{path:"/Kontakt",element:u(qE,{})}),u(Xe,{path:"/Imprint",element:u(ZE,{})}),u(Xe,{path:"/DataProtection",element:u(JE,{})}),u(Xe,{path:"*",element:u(XE,{})})]})}),u(sC,{})]}),u(uC,{})]})}),fC=document.getElementById("root"),pC=$h(fC);pC.render(u(dC,{})); diff --git a/dist/index.html b/dist/index.html index 0b806d4..3000230 100644 --- a/dist/index.html +++ b/dist/index.html @@ -6,7 +6,7 @@ Buero Vatter - + diff --git a/src/pages/Home/ServicePicComp.jsx b/src/pages/Home/ServicePicComp.jsx index e9e1455..1d316fe 100644 --- a/src/pages/Home/ServicePicComp.jsx +++ b/src/pages/Home/ServicePicComp.jsx @@ -2,7 +2,6 @@ import { useFetchMedia } from "../../utils/useFetchMedia"; import styles from "./servicepiccomp.module.css"; const ServicePicComp = ({ imgid, picName }) => { const media = useFetchMedia(imgid, "imgs/category/forschung.png"); - return (
diff --git a/src/utils/useFetchMedia.jsx b/src/utils/useFetchMedia.jsx index 1eee364..a82e951 100644 --- a/src/utils/useFetchMedia.jsx +++ b/src/utils/useFetchMedia.jsx @@ -13,6 +13,7 @@ export function useFetchMedia(imgid, default_media) { navigate("/NotMatch404"); } let image = pic.data.source_url; + console.log(image); if (image) { media = image; }