From df300297714da94c3d850cc16c04da1dec179037 Mon Sep 17 00:00:00 2001 From: Youyou Date: Tue, 21 May 2024 21:34:29 +0200 Subject: [PATCH] Updates --- .../{index.394f46ee.js => index.812d7fc3.js} | 32 +++++++++---------- index.html | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) rename assets/{index.394f46ee.js => index.812d7fc3.js} (90%) diff --git a/assets/index.394f46ee.js b/assets/index.812d7fc3.js similarity index 90% rename from assets/index.394f46ee.js rename to assets/index.812d7fc3.js index a0fbf82..47c41f9 100644 --- a/assets/index.394f46ee.js +++ b/assets/index.812d7fc3.js @@ -1,4 +1,4 @@ -var $m=Object.defineProperty;var Wm=(e,t,n)=>t in e?$m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var hc=(e,t,n)=>(Wm(e,typeof t!="symbol"?t+"":t,n),n);function Qm(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ha={exports:{}},ut={},g={exports:{}},$={};/** +var Hm=Object.defineProperty;var $m=(e,t,n)=>t in e?Hm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var hc=(e,t,n)=>($m(e,typeof t!="symbol"?t+"":t,n),n);function Wm(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ha={exports:{}},ut={},g={exports:{}},$={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var $m=Object.defineProperty;var Wm=(e,t,n)=>t in e?$m(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. - */var ji=Symbol.for("react.element"),Vm=Symbol.for("react.portal"),Km=Symbol.for("react.fragment"),Gm=Symbol.for("react.strict_mode"),Xm=Symbol.for("react.profiler"),Ym=Symbol.for("react.provider"),qm=Symbol.for("react.context"),Jm=Symbol.for("react.forward_ref"),Zm=Symbol.for("react.suspense"),ev=Symbol.for("react.memo"),tv=Symbol.for("react.lazy"),mc=Symbol.iterator;function nv(e){return e===null||typeof e!="object"?null:(e=mc&&e[mc]||e["@@iterator"],typeof e=="function"?e:null)}var pf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hf=Object.assign,mf={};function Ur(e,t,n){this.props=e,this.context=t,this.refs=mf,this.updater=n||pf}Ur.prototype.isReactComponent={};Ur.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ur.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vf(){}vf.prototype=Ur.prototype;function $a(e,t,n){this.props=e,this.context=t,this.refs=mf,this.updater=n||pf}var Wa=$a.prototype=new vf;Wa.constructor=$a;hf(Wa,Ur.prototype);Wa.isPureReactComponent=!0;var vc=Array.isArray,gf=Object.prototype.hasOwnProperty,Qa={current:null},yf={key:!0,ref:!0,__self:!0,__source:!0};function Ef(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)gf.call(t,r)&&!yf.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1t in e?$m(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. - */var Sf=g.exports,at=wf.exports;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ps=Object.prototype.hasOwnProperty,sv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yc={},Ec={};function av(e){return Ps.call(Ec,e)?!0:Ps.call(yc,e)?!1:sv.test(e)?Ec[e]=!0:(yc[e]=!0,!1)}function uv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cv(e,t,n,r){if(t===null||typeof t>"u"||uv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Be(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Be(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ke[e]=new Be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Be(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ka=/[\-:]([a-z])/g;function Ga(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Be(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Be(e,1,!1,e.toLowerCase(),null,!0,!0)});function Xa(e,t,n,r){var i=ke.hasOwnProperty(t)?ke[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ps=Object.prototype.hasOwnProperty,lv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yc={},Ec={};function sv(e){return Ps.call(Ec,e)?!0:Ps.call(yc,e)?!1:lv.test(e)?Ec[e]=!0:(yc[e]=!0,!1)}function av(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function uv(e,t,n,r){if(t===null||typeof t>"u"||av(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Be(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Be(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ke[e]=new Be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Be(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ka=/[\-:]([a-z])/g;function Ga(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ka,Ga);ke[t]=new Be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Be(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Be(e,1,!1,e.toLowerCase(),null,!0,!0)});function Xa(e,t,n,r){var i=ke.hasOwnProperty(t)?ke[t]:null;(i!==null?i.type!==0:r||!(2s||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{Wl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function dv(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 Ls(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 cr:return"Fragment";case ur:return"Portal";case Os:return"Profiler";case Ya:return"StrictMode";case Ds:return"Suspense";case Is:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kf:return(e.displayName||"Context")+".Consumer";case Af:return(e._context.displayName||"Context")+".Provider";case qa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ja:return t=e.displayName||null,t!==null?t:Ls(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return Ls(e(t))}catch{}}return null}function fv(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 Ls(t);case 8:return t===Ya?"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 Nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pv(e){var t=Tf(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 Ji(e){e._valueTracker||(e._valueTracker=pv(e))}function _f(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fo(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 Ms(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function xc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nn(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 Rf(e,t){t=t.checked,t!=null&&Xa(e,"checked",t,!1)}function Fs(e,t){Rf(e,t);var n=Nn(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")?Us(e,t.type,n):t.hasOwnProperty("defaultValue")&&Us(e,t.type,Nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sc(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 Us(e,t,n){(t!=="number"||Fo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function Sr(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 ci={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},hv=["Webkit","ms","Moz","O"];Object.keys(ci).forEach(function(e){hv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ci[t]=ci[e]})});function If(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ci.hasOwnProperty(e)&&ci[e]?(""+t).trim():t+"px"}function Lf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=If(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var mv=le({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 Bs(e,t){if(t){if(mv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function bs(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 Hs=null;function Za(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $s=null,Cr=null,Ar=null;function kc(e){if(e=bi(e)){if(typeof $s!="function")throw Error(_(280));var t=e.stateNode;t&&(t=yl(t),$s(e.stateNode,e.type,t))}}function Mf(e){Cr?Ar?Ar.push(e):Ar=[e]:Cr=e}function Ff(){if(Cr){var e=Cr,t=Ar;if(Ar=Cr=null,kc(e),t)for(e=0;e>>=0,e===0?32:31-(Nv(e)/Tv|0)|0}var eo=64,to=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 Bo(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 zi(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 Ov(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=fi),Lc=String.fromCharCode(32),Mc=!1;function np(e,t){switch(e){case"keyup":return og.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function sg(e,t){switch(e){case"compositionend":return rp(t);case"keypress":return t.which!==32?null:(Mc=!0,Lc);case"textInput":return e=t.data,e===Lc&&Mc?null:e;default:return null}}function ag(e,t){if(dr)return e==="compositionend"||!su&&np(e,t)?(e=ep(),Co=iu=hn=null,dr=!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=zc(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 ap(){for(var e=window,t=Fo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fo(e.document)}return t}function au(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 gg(e){var t=ap(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sp(n.ownerDocument.documentElement,n)){if(r!==null&&au(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=Bc(n,o);var l=Bc(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,fr=null,Xs=null,hi=null,Ys=!1;function bc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ys||fr==null||fr!==Fo(r)||(r=fr,"selectionStart"in r&&au(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}),hi&&Ni(hi,r)||(hi=r,r=$o(Xs,"onSelect"),0mr||(e.current=na[mr],na[mr]=null,mr--)}function J(e,t){mr++,na[mr]=e.current,e.current=t}var Tn={},Oe=Rn(Tn),Ye=Rn(!1),Kn=Tn;function Rr(e,t){var n=e.type.contextTypes;if(!n)return Tn;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 qe(e){return e=e.childContextTypes,e!=null}function Qo(){te(Ye),te(Oe)}function Gc(e,t,n){if(Oe.current!==Tn)throw Error(_(168));J(Oe,t),J(Ye,n)}function gp(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(_(108,fv(e)||"Unknown",i));return le({},n,r)}function Vo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,Kn=Oe.current,J(Oe,e),J(Ye,Ye.current),!0}function Xc(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=gp(e,t,Kn),r.__reactInternalMemoizedMergedChildContext=e,te(Ye),te(Oe),J(Oe,e)):te(Ye),J(Ye,n)}var Kt=null,El=!1,os=!1;function yp(e){Kt===null?Kt=[e]:Kt.push(e)}function Rg(e){El=!0,yp(e)}function Pn(){if(!os&&Kt!==null){os=!0;var e=0,t=X;try{var n=Kt;for(X=1;e>=l,i-=l,Gt=1<<32-Tt(t)+i|n<k?(z=N,N=null):z=N.sibling;var L=p(v,N,h[k],S);if(L===null){N===null&&(N=z);break}e&&N&&L.alternate===null&&t(v,N),m=o(L,m,k),A===null?C=L:A.sibling=L,A=L,N=z}if(k===h.length)return n(v,N),ne&&Ln(v,k),C;if(N===null){for(;kk?(z=N,N=null):z=N.sibling;var Z=p(v,N,L.value,S);if(Z===null){N===null&&(N=z);break}e&&N&&Z.alternate===null&&t(v,N),m=o(Z,m,k),A===null?C=Z:A.sibling=Z,A=Z,N=z}if(L.done)return n(v,N),ne&&Ln(v,k),C;if(N===null){for(;!L.done;k++,L=h.next())L=f(v,L.value,S),L!==null&&(m=o(L,m,k),A===null?C=L:A.sibling=L,A=L);return ne&&Ln(v,k),C}for(N=r(v,N);!L.done;k++,L=h.next())L=y(N,v,k,L.value,S),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?k:L.key),m=o(L,m,k),A===null?C=L:A.sibling=L,A=L);return e&&N.forEach(function(we){return t(v,we)}),ne&&Ln(v,k),C}function T(v,m,h,S){if(typeof h=="object"&&h!==null&&h.type===cr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case qi:e:{for(var C=h.key,A=m;A!==null;){if(A.key===C){if(C=h.type,C===cr){if(A.tag===7){n(v,A.sibling),m=i(A,h.props.children),m.return=v,v=m;break e}}else if(A.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===an&&nd(C)===A.type){n(v,A.sibling),m=i(A,h.props),m.ref=Jr(v,A,h),m.return=v,v=m;break e}n(v,A);break}else t(v,A);A=A.sibling}h.type===cr?(m=Qn(h.props.children,v.mode,S,h.key),m.return=v,v=m):(S=Oo(h.type,h.key,h.props,null,v.mode,S),S.ref=Jr(v,m,h),S.return=v,v=S)}return l(v);case ur:e:{for(A=h.key;m!==null;){if(m.key===A)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(v,m.sibling),m=i(m,h.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=ps(h,v.mode,S),m.return=v,v=m}return l(v);case an:return A=h._init,T(v,m,A(h._payload),S)}if(li(h))return w(v,m,h,S);if(Kr(h))return x(v,m,h,S);ao(v,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,h),m.return=v,v=m):(n(v,m),m=fs(h,v.mode,S),m.return=v,v=m),l(v)):n(v,m)}return T}var Or=Np(!0),Tp=Np(!1),Hi={},Ut=Rn(Hi),Pi=Rn(Hi),Oi=Rn(Hi);function Hn(e){if(e===Hi)throw Error(_(174));return e}function gu(e,t){switch(J(Oi,t),J(Pi,e),J(Ut,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zs(t,e)}te(Ut),J(Ut,t)}function Dr(){te(Ut),te(Pi),te(Oi)}function _p(e){Hn(Oi.current);var t=Hn(Ut.current),n=zs(t,e.type);t!==n&&(J(Pi,e),J(Ut,n))}function yu(e){Pi.current===e&&(te(Ut),te(Pi))}var ie=Rn(0);function Jo(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 ls=[];function Eu(){for(var e=0;en?n:4,e(!0);var r=ss.transition;ss.transition={};try{e(!1),t()}finally{X=n,ss.transition=r}}function Wp(){return wt().memoizedState}function Ig(e,t,n){var r=Cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qp(e))Vp(t,n);else if(n=Sp(e,t,n,r),n!==null){var i=Me();_t(n,e,r,i),Kp(n,t,r)}}function Lg(e,t,n){var r=Cn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qp(e))Vp(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,mu(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Sp(e,t,i,r),n!==null&&(i=Me(),_t(n,e,r,i),Kp(n,t,r))}}function Qp(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Vp(e,t){mi=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kp(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var el={readContext:Et,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Mg={readContext:Et,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:id,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,To(4194308,4,zp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return To(4194308,4,e,t)},useInsertionEffect:function(e,t){return To(4,2,e,t)},useMemo:function(e,t){var n=Lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lt();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=Ig.bind(null,oe,e),[r.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:rd,useDebugValue:Au,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=rd(!1),t=e[0];return e=Dg.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oe,i=Lt();if(ne){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Ee===null)throw Error(_(349));(Xn&30)!==0||Op(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,id(Ip.bind(null,r,o,e),[e]),r.flags|=2048,Li(9,Dp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Lt(),t=Ee.identifierPrefix;if(ne){var n=Xt,r=Gt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Di++,0")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Wl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function cv(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 Ls(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 cr:return"Fragment";case ur:return"Portal";case Os:return"Profiler";case Ya:return"StrictMode";case Ds:return"Suspense";case Is:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kf:return(e.displayName||"Context")+".Consumer";case Af:return(e._context.displayName||"Context")+".Provider";case qa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ja:return t=e.displayName||null,t!==null?t:Ls(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return Ls(e(t))}catch{}}return null}function dv(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 Ls(t);case 8:return t===Ya?"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 Nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fv(e){var t=Tf(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 Ji(e){e._valueTracker||(e._valueTracker=fv(e))}function _f(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fo(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 Ms(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function xc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nn(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 Rf(e,t){t=t.checked,t!=null&&Xa(e,"checked",t,!1)}function Fs(e,t){Rf(e,t);var n=Nn(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")?Us(e,t.type,n):t.hasOwnProperty("defaultValue")&&Us(e,t.type,Nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sc(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 Us(e,t,n){(t!=="number"||Fo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function Sr(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 ci={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},pv=["Webkit","ms","Moz","O"];Object.keys(ci).forEach(function(e){pv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ci[t]=ci[e]})});function If(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ci.hasOwnProperty(e)&&ci[e]?(""+t).trim():t+"px"}function Lf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=If(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var hv=le({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 Bs(e,t){if(t){if(hv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function bs(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 Hs=null;function Za(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $s=null,Cr=null,Ar=null;function kc(e){if(e=bi(e)){if(typeof $s!="function")throw Error(_(280));var t=e.stateNode;t&&(t=yl(t),$s(e.stateNode,e.type,t))}}function Mf(e){Cr?Ar?Ar.push(e):Ar=[e]:Cr=e}function Ff(){if(Cr){var e=Cr,t=Ar;if(Ar=Cr=null,kc(e),t)for(e=0;e>>=0,e===0?32:31-(kv(e)/Nv|0)|0}var eo=64,to=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 Bo(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 zi(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 Pv(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=fi),Lc=String.fromCharCode(32),Mc=!1;function np(e,t){switch(e){case"keyup":return ig.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function lg(e,t){switch(e){case"compositionend":return rp(t);case"keypress":return t.which!==32?null:(Mc=!0,Lc);case"textInput":return e=t.data,e===Lc&&Mc?null:e;default:return null}}function sg(e,t){if(dr)return e==="compositionend"||!su&&np(e,t)?(e=ep(),Co=iu=hn=null,dr=!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=zc(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 ap(){for(var e=window,t=Fo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fo(e.document)}return t}function au(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 vg(e){var t=ap(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sp(n.ownerDocument.documentElement,n)){if(r!==null&&au(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=Bc(n,o);var l=Bc(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,fr=null,Xs=null,hi=null,Ys=!1;function bc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ys||fr==null||fr!==Fo(r)||(r=fr,"selectionStart"in r&&au(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}),hi&&Ni(hi,r)||(hi=r,r=$o(Xs,"onSelect"),0mr||(e.current=na[mr],na[mr]=null,mr--)}function J(e,t){mr++,na[mr]=e.current,e.current=t}var Tn={},Oe=Rn(Tn),Ye=Rn(!1),Kn=Tn;function Rr(e,t){var n=e.type.contextTypes;if(!n)return Tn;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 qe(e){return e=e.childContextTypes,e!=null}function Qo(){te(Ye),te(Oe)}function Gc(e,t,n){if(Oe.current!==Tn)throw Error(_(168));J(Oe,t),J(Ye,n)}function gp(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(_(108,dv(e)||"Unknown",i));return le({},n,r)}function Vo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,Kn=Oe.current,J(Oe,e),J(Ye,Ye.current),!0}function Xc(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=gp(e,t,Kn),r.__reactInternalMemoizedMergedChildContext=e,te(Ye),te(Oe),J(Oe,e)):te(Ye),J(Ye,n)}var Kt=null,El=!1,os=!1;function yp(e){Kt===null?Kt=[e]:Kt.push(e)}function _g(e){El=!0,yp(e)}function Pn(){if(!os&&Kt!==null){os=!0;var e=0,t=X;try{var n=Kt;for(X=1;e>=l,i-=l,Gt=1<<32-Tt(t)+i|n<k?(z=N,N=null):z=N.sibling;var L=p(v,N,h[k],S);if(L===null){N===null&&(N=z);break}e&&N&&L.alternate===null&&t(v,N),m=o(L,m,k),A===null?C=L:A.sibling=L,A=L,N=z}if(k===h.length)return n(v,N),ne&&Ln(v,k),C;if(N===null){for(;kk?(z=N,N=null):z=N.sibling;var Z=p(v,N,L.value,S);if(Z===null){N===null&&(N=z);break}e&&N&&Z.alternate===null&&t(v,N),m=o(Z,m,k),A===null?C=Z:A.sibling=Z,A=Z,N=z}if(L.done)return n(v,N),ne&&Ln(v,k),C;if(N===null){for(;!L.done;k++,L=h.next())L=f(v,L.value,S),L!==null&&(m=o(L,m,k),A===null?C=L:A.sibling=L,A=L);return ne&&Ln(v,k),C}for(N=r(v,N);!L.done;k++,L=h.next())L=y(N,v,k,L.value,S),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?k:L.key),m=o(L,m,k),A===null?C=L:A.sibling=L,A=L);return e&&N.forEach(function(we){return t(v,we)}),ne&&Ln(v,k),C}function T(v,m,h,S){if(typeof h=="object"&&h!==null&&h.type===cr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case qi:e:{for(var C=h.key,A=m;A!==null;){if(A.key===C){if(C=h.type,C===cr){if(A.tag===7){n(v,A.sibling),m=i(A,h.props.children),m.return=v,v=m;break e}}else if(A.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===an&&nd(C)===A.type){n(v,A.sibling),m=i(A,h.props),m.ref=Jr(v,A,h),m.return=v,v=m;break e}n(v,A);break}else t(v,A);A=A.sibling}h.type===cr?(m=Qn(h.props.children,v.mode,S,h.key),m.return=v,v=m):(S=Oo(h.type,h.key,h.props,null,v.mode,S),S.ref=Jr(v,m,h),S.return=v,v=S)}return l(v);case ur:e:{for(A=h.key;m!==null;){if(m.key===A)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(v,m.sibling),m=i(m,h.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=ps(h,v.mode,S),m.return=v,v=m}return l(v);case an:return A=h._init,T(v,m,A(h._payload),S)}if(li(h))return w(v,m,h,S);if(Kr(h))return x(v,m,h,S);ao(v,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,h),m.return=v,v=m):(n(v,m),m=fs(h,v.mode,S),m.return=v,v=m),l(v)):n(v,m)}return T}var Or=Np(!0),Tp=Np(!1),Hi={},Ut=Rn(Hi),Pi=Rn(Hi),Oi=Rn(Hi);function Hn(e){if(e===Hi)throw Error(_(174));return e}function gu(e,t){switch(J(Oi,t),J(Pi,e),J(Ut,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zs(t,e)}te(Ut),J(Ut,t)}function Dr(){te(Ut),te(Pi),te(Oi)}function _p(e){Hn(Oi.current);var t=Hn(Ut.current),n=zs(t,e.type);t!==n&&(J(Pi,e),J(Ut,n))}function yu(e){Pi.current===e&&(te(Ut),te(Pi))}var ie=Rn(0);function Jo(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 ls=[];function Eu(){for(var e=0;en?n:4,e(!0);var r=ss.transition;ss.transition={};try{e(!1),t()}finally{X=n,ss.transition=r}}function Wp(){return wt().memoizedState}function Dg(e,t,n){var r=Cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qp(e))Vp(t,n);else if(n=Sp(e,t,n,r),n!==null){var i=Me();_t(n,e,r,i),Kp(n,t,r)}}function Ig(e,t,n){var r=Cn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qp(e))Vp(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,mu(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Sp(e,t,i,r),n!==null&&(i=Me(),_t(n,e,r,i),Kp(n,t,r))}}function Qp(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Vp(e,t){mi=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kp(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var el={readContext:Et,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Lg={readContext:Et,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:id,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,To(4194308,4,zp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return To(4194308,4,e,t)},useInsertionEffect:function(e,t){return To(4,2,e,t)},useMemo:function(e,t){var n=Lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lt();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=Dg.bind(null,oe,e),[r.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:rd,useDebugValue:Au,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=rd(!1),t=e[0];return e=Og.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oe,i=Lt();if(ne){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Ee===null)throw Error(_(349));(Xn&30)!==0||Op(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,id(Ip.bind(null,r,o,e),[e]),r.flags|=2048,Li(9,Dp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Lt(),t=Ee.identifierPrefix;if(ne){var n=Xt,r=Gt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Di++,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[Ri]=r,nh(e,t,!1,!1),t.stateNode=e;e:{switch(l=bs(n,r),n){case"dialog":ee("cancel",e),ee("close",e),i=r;break;case"iframe":case"object":case"embed":ee("load",e),i=r;break;case"video":case"audio":for(i=0;iLr&&(t.flags|=128,r=!0,Zr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Jo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ne)return Re(t),null}else 2*ue()-o.renderingStartTime>Lr&&n!==1073741824&&(t.flags|=128,r=!0,Zr(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=ue(),t.sibling=null,n=ie.current,J(ie,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return Pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(it&1073741824)!==0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function $g(e,t){switch(cu(t),t.tag){case 1:return qe(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dr(),te(Ye),te(Oe),Eu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return yu(t),null;case 13:if(te(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(ie),null;case 4:return Dr(),null;case 10:return hu(t.type._context),null;case 22:case 23:return Pu(),null;case 24:return null;default:return null}}var co=!1,Pe=!1,Wg=typeof WeakSet=="function"?WeakSet:Set,D=null;function Er(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function ha(e,t,n){try{n()}catch(r){ae(e,t,r)}}var pd=!1;function Qg(e,t){if(qs=bo,e=ap(),au(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,f=e,p=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(s=l+i),f!==o||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===n&&++c===i&&(s=l),p===o&&++d===r&&(a=l),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Js={focusedElem:e,selectionRange:n},bo=!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 w=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,T=w.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ct(t.type,x),T);v.__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(_(163))}}catch(S){ae(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return w=pd,pd=!1,w}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&&ha(t,n,o)}i=i.next}while(i!==r)}}function Sl(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 ma(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 oh(e){var t=e.alternate;t!==null&&(e.alternate=null,oh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[Ri],delete t[ta],delete t[Tg],delete t[_g])),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 lh(e){return e.tag===5||e.tag===3||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lh(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 va(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=Wo));else if(r!==4&&(e=e.child,e!==null))for(va(e,t,n),e=e.sibling;e!==null;)va(e,t,n),e=e.sibling}function ga(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(ga(e,t,n),e=e.sibling;e!==null;)ga(e,t,n),e=e.sibling}var xe=null,At=!1;function sn(e,t,n){for(n=n.child;n!==null;)sh(e,t,n),n=n.sibling}function sh(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(hl,n)}catch{}switch(n.tag){case 5:Pe||Er(n,t);case 6:var r=xe,i=At;xe=null,sn(e,t,n),xe=r,At=i,xe!==null&&(At?(e=xe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:xe!==null&&(At?(e=xe,n=n.stateNode,e.nodeType===8?is(e.parentNode,n):e.nodeType===1&&is(e,n),Ai(e)):is(xe,n.stateNode));break;case 4:r=xe,i=At,xe=n.stateNode.containerInfo,At=!0,sn(e,t,n),xe=r,At=i;break;case 0:case 11:case 14:case 15:if(!Pe&&(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)&&ha(n,t,l),i=i.next}while(i!==r)}sn(e,t,n);break;case 1:if(!Pe&&(Er(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ae(n,t,s)}sn(e,t,n);break;case 21:sn(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,sn(e,t,n),Pe=r):sn(e,t,n);break;default:sn(e,t,n)}}function md(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wg),t.forEach(function(r){var i=ey.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Kg(r/1960))-r,10e?16:e,mn===null)var r=!1;else{if(e=mn,mn=null,rl=0,(V&6)!==0)throw Error(_(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;aue()-_u?Wn(e,0):Tu|=n),Je(e,t)}function mh(e,t){t===0&&((e.mode&1)===0?t=1:(t=to,to<<=1,(to&130023424)===0&&(to=4194304)));var n=Me();e=Zt(e,t),e!==null&&(zi(e,t,n),Je(e,n))}function Zg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mh(e,n)}function ey(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(_(314))}r!==null&&r.delete(t),mh(e,n)}var vh;vh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Ge=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ge=!1,bg(e,t,n);Ge=(e.flags&131072)!==0}else Ge=!1,ne&&(t.flags&1048576)!==0&&Ep(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_o(e,t),e=t.pendingProps;var i=Rr(t,Oe.current);Nr(t,n),i=xu(null,t,r,e,i,n);var o=Su();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,qe(r)?(o=!0,Vo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,vu(t),i.updater=wl,t.stateNode=i,i._reactInternals=t,sa(t,r,e,n),t=ca(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&uu(t),Le(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_o(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ny(r),e=Ct(r,e),i){case 0:t=ua(null,t,r,e,n);break e;case 1:t=cd(null,t,r,e,n);break e;case 11:t=ad(null,t,r,e,n);break e;case 14:t=ud(null,t,r,Ct(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),ua(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),cd(e,t,r,i,n);case 3:e:{if(Zp(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Cp(e,t),qo(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=Ir(Error(_(423)),t),t=dd(e,t,r,n,i);break e}else if(r!==i){i=Ir(Error(_(424)),t),t=dd(e,t,r,n,i);break e}else for(lt=wn(t.stateNode.containerInfo.firstChild),st=t,ne=!0,Nt=null,n=Tp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),r===i){t=en(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return _p(t),e===null&&ia(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Zs(r,i)?l=null:o!==null&&Zs(r,o)&&(t.flags|=32),Jp(e,t),Le(e,t,l,n),t.child;case 6:return e===null&&ia(t),null;case 13:return eh(e,t,n);case 4:return gu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),ad(e,t,r,i,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(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,J(Xo,r._currentValue),r._currentValue=l,o!==null)if(Rt(o.value,l)){if(o.children===i.children&&!Ye.current){t=en(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=Yt(-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),oa(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(_(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),oa(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}Le(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=Et(i),r=r(i),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,i=Ct(r,t.pendingProps),i=Ct(r.type,i),ud(e,t,r,i,n);case 15:return Yp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),_o(e,t),t.tag=1,qe(r)?(e=!0,Vo(t)):e=!1,Nr(t,n),kp(t,r,i),sa(t,r,i,n),ca(null,t,r,!0,e,n);case 19:return th(e,t,n);case 22:return qp(e,t,n)}throw Error(_(156,t.tag))};function gh(e,t){return $f(e,t)}function ty(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 gt(e,t,n,r){return new ty(e,t,n,r)}function Du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ny(e){if(typeof e=="function")return Du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qa)return 11;if(e===Ja)return 14}return 2}function An(e,t){var n=e.alternate;return n===null?(n=gt(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 Oo(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Du(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Qn(n.children,i,o,t);case Ya:l=8,i|=8;break;case Os:return e=gt(12,n,t,i|2),e.elementType=Os,e.lanes=o,e;case Ds:return e=gt(13,n,t,i),e.elementType=Ds,e.lanes=o,e;case Is:return e=gt(19,n,t,i),e.elementType=Is,e.lanes=o,e;case Nf:return Al(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Af:l=10;break e;case kf:l=9;break e;case qa:l=11;break e;case Ja:l=14;break e;case an:l=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=gt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Qn(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function Al(e,t,n,r){return e=gt(22,e,r,t),e.elementType=Nf,e.lanes=n,e.stateNode={isHidden:!1},e}function fs(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function ps(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ry(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=Kl(0),this.expirationTimes=Kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Iu(e,t,n,r,i,o,l,s,a){return e=new ry(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=gt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(o),e}function iy(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=ut})(Ha);const xr=ff(Ha.exports);var xh,Cd=Ha.exports;xh=Cd.createRoot,Cd.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function aa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ug=typeof WeakMap=="function"?WeakMap:Map;function Gp(e,t,n){n=Yt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,ya=r),aa(e,t)},n}function Xp(e,t,n){n=Yt(-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(){aa(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){aa(e,t),typeof r!="function"&&(Sn===null?Sn=new Set([this]):Sn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function od(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ug;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=qg.bind(null,e,t,n),t.then(e,e))}function ld(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 sd(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=Yt(-1,1),t.tag=2,xn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var jg=tn.ReactCurrentOwner,Ge=!1;function Le(e,t,n,r){t.child=e===null?Tp(t,null,n,r):Or(t,e.child,n,r)}function ad(e,t,n,r,i){n=n.render;var o=t.ref;return Nr(t,i),r=xu(e,t,n,r,o,i),n=Su(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,en(e,t,i)):(ne&&n&&uu(t),t.flags|=1,Le(e,t,r,i),t.child)}function ud(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Du(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Yp(e,t,o,r,i)):(e=Oo(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:Ni,n(l,r)&&e.ref===t.ref)return en(e,t,i)}return t.flags|=1,e=An(o,r),e.ref=t.ref,e.return=t,t.child=e}function Yp(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ni(o,r)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,en(e,t,i)}return ua(e,t,n,r,i)}function qp(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},J(wr,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,J(wr,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,J(wr,it),it|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,J(wr,it),it|=r;return Le(e,t,i,n),t.child}function Jp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ua(e,t,n,r,i){var o=qe(n)?Kn:Oe.current;return o=Rr(t,o),Nr(t,i),n=xu(e,t,n,r,o,i),r=Su(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,en(e,t,i)):(ne&&r&&uu(t),t.flags|=1,Le(e,t,n,i),t.child)}function cd(e,t,n,r,i){if(qe(n)){var o=!0;Vo(t)}else o=!1;if(Nr(t,i),t.stateNode===null)_o(e,t),kp(t,n,r),sa(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=Et(c):(c=qe(n)?Kn:Oe.current,c=Rr(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==c)&&td(t,l,r,c),un=!1;var p=t.memoizedState;l.state=p,qo(t,r,l,i),a=t.memoizedState,s!==r||p!==a||Ye.current||un?(typeof d=="function"&&(la(t,n,d,r),a=t.memoizedState),(s=un||ed(t,n,s,r,p,a,c))?(f||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,Cp(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ct(t.type,s),l.props=c,f=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Et(a):(a=qe(n)?Kn:Oe.current,a=Rr(t,a));var y=n.getDerivedStateFromProps;(d=typeof y=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==f||p!==a)&&td(t,l,r,a),un=!1,p=t.memoizedState,l.state=p,qo(t,r,l,i);var w=t.memoizedState;s!==f||p!==w||Ye.current||un?(typeof y=="function"&&(la(t,n,y,r),w=t.memoizedState),(c=un||ed(t,n,c,r,p,w,a)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,w,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,w,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),l.props=r,l.state=w,l.context=a,r=c):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ca(e,t,n,r,o,i)}function ca(e,t,n,r,i,o){Jp(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Xc(t,n,!1),en(e,t,o);r=t.stateNode,jg.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Or(t,e.child,null,o),t.child=Or(t,null,s,o)):Le(e,t,s,o),t.memoizedState=r.state,i&&Xc(t,n,!0),t.child}function Zp(e){var t=e.stateNode;t.pendingContext?Gc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Gc(e,t.context,!1),gu(e,t.containerInfo)}function dd(e,t,n,r,i){return Pr(),du(i),t.flags|=256,Le(e,t,n,r),t.child}var da={dehydrated:null,treeContext:null,retryLane:0};function fa(e){return{baseLanes:e,cachePool:null,transitions:null}}function eh(e,t,n){var r=t.pendingProps,i=ie.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),J(ie,i&1),e===null)return ia(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=Al(l,r,0,null),e=Qn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=fa(n),t.memoizedState=da,e):ku(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return zg(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=An(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=An(s,o):(o=Qn(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?fa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=da,r}return o=e.child,e=o.sibling,r=An(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 ku(e,t){return t=Al({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function uo(e,t,n,r){return r!==null&&du(r),Or(t,e.child,null,n),e=ku(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zg(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=cs(Error(_(422))),uo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Al({mode:"visible",children:r.children},i,0,null),o=Qn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Or(t,e.child,null,l),t.child.memoizedState=fa(l),t.memoizedState=da,o);if((t.mode&1)===0)return uo(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(_(419)),r=cs(o,r,void 0),uo(e,t,l,r)}if(s=(l&e.childLanes)!==0,Ge||s){if(r=Ee,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,Zt(e,i),_t(r,e,i,-1))}return Ou(),r=cs(Error(_(421))),uo(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Jg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,lt=wn(i.nextSibling),st=t,ne=!0,Nt=null,e!==null&&(ht[mt++]=Gt,ht[mt++]=Xt,ht[mt++]=Gn,Gt=e.id,Xt=e.overflow,Gn=t),t=ku(t,r.children),t.flags|=4096,t)}function fd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),oa(e.return,t,n)}function ds(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 th(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Le(e,t,r.children,n),r=ie.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&&fd(e,n,t);else if(e.tag===19)fd(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(J(ie,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&&Jo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ds(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&&Jo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ds(t,!0,n,null,o);break;case"together":ds(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _o(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function en(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=An(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=An(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Bg(e,t,n){switch(t.tag){case 3:Zp(t),Pr();break;case 5:_p(t);break;case 1:qe(t.type)&&Vo(t);break;case 4:gu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;J(Xo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(J(ie,ie.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?eh(e,t,n):(J(ie,ie.current&1),e=en(e,t,n),e!==null?e.sibling:null);J(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return th(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),J(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,qp(e,t,n)}return en(e,t,n)}var nh,pa,rh,ih;nh=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}};pa=function(){};rh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Hn(Ut.current);var o=null;switch(n){case"input":i=Ms(e,i),r=Ms(e,r),o=[];break;case"select":i=le({},i,{value:void 0}),r=le({},r,{value:void 0}),o=[];break;case"textarea":i=js(e,i),r=js(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Wo)}Bs(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"&&(Ei.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"&&(Ei.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&ee("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)}};ih=function(e,t,n,r){n!==r&&(t.flags|=4)};function Zr(e,t){if(!ne)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 Re(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 bg(e,t,n){var r=t.pendingProps;switch(cu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return qe(t.type)&&Qo(),Re(t),null;case 3:return r=t.stateNode,Dr(),te(Ye),te(Oe),Eu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(so(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Nt!==null&&(xa(Nt),Nt=null))),pa(e,t),Re(t),null;case 5:yu(t);var i=Hn(Oi.current);if(n=t.type,e!==null&&t.stateNode!=null)rh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return Re(t),null}if(e=Hn(Ut.current),so(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Mt]=t,r[Ri]=o,e=(t.mode&1)!==0,n){case"dialog":ee("cancel",r),ee("close",r);break;case"iframe":case"object":case"embed":ee("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[Ri]=r,nh(e,t,!1,!1),t.stateNode=e;e:{switch(l=bs(n,r),n){case"dialog":ee("cancel",e),ee("close",e),i=r;break;case"iframe":case"object":case"embed":ee("load",e),i=r;break;case"video":case"audio":for(i=0;iLr&&(t.flags|=128,r=!0,Zr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Jo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ne)return Re(t),null}else 2*ue()-o.renderingStartTime>Lr&&n!==1073741824&&(t.flags|=128,r=!0,Zr(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=ue(),t.sibling=null,n=ie.current,J(ie,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return Pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(it&1073741824)!==0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function Hg(e,t){switch(cu(t),t.tag){case 1:return qe(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dr(),te(Ye),te(Oe),Eu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return yu(t),null;case 13:if(te(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(ie),null;case 4:return Dr(),null;case 10:return hu(t.type._context),null;case 22:case 23:return Pu(),null;case 24:return null;default:return null}}var co=!1,Pe=!1,$g=typeof WeakSet=="function"?WeakSet:Set,D=null;function Er(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function ha(e,t,n){try{n()}catch(r){ae(e,t,r)}}var pd=!1;function Wg(e,t){if(qs=bo,e=ap(),au(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,f=e,p=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(s=l+i),f!==o||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===n&&++c===i&&(s=l),p===o&&++d===r&&(a=l),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Js={focusedElem:e,selectionRange:n},bo=!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 w=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,T=w.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ct(t.type,x),T);v.__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(_(163))}}catch(S){ae(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return w=pd,pd=!1,w}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&&ha(t,n,o)}i=i.next}while(i!==r)}}function Sl(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 ma(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 oh(e){var t=e.alternate;t!==null&&(e.alternate=null,oh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[Ri],delete t[ta],delete t[Ng],delete t[Tg])),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 lh(e){return e.tag===5||e.tag===3||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lh(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 va(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=Wo));else if(r!==4&&(e=e.child,e!==null))for(va(e,t,n),e=e.sibling;e!==null;)va(e,t,n),e=e.sibling}function ga(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(ga(e,t,n),e=e.sibling;e!==null;)ga(e,t,n),e=e.sibling}var xe=null,At=!1;function sn(e,t,n){for(n=n.child;n!==null;)sh(e,t,n),n=n.sibling}function sh(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(hl,n)}catch{}switch(n.tag){case 5:Pe||Er(n,t);case 6:var r=xe,i=At;xe=null,sn(e,t,n),xe=r,At=i,xe!==null&&(At?(e=xe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:xe!==null&&(At?(e=xe,n=n.stateNode,e.nodeType===8?is(e.parentNode,n):e.nodeType===1&&is(e,n),Ai(e)):is(xe,n.stateNode));break;case 4:r=xe,i=At,xe=n.stateNode.containerInfo,At=!0,sn(e,t,n),xe=r,At=i;break;case 0:case 11:case 14:case 15:if(!Pe&&(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)&&ha(n,t,l),i=i.next}while(i!==r)}sn(e,t,n);break;case 1:if(!Pe&&(Er(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ae(n,t,s)}sn(e,t,n);break;case 21:sn(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,sn(e,t,n),Pe=r):sn(e,t,n);break;default:sn(e,t,n)}}function md(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $g),t.forEach(function(r){var i=Zg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vg(r/1960))-r,10e?16:e,mn===null)var r=!1;else{if(e=mn,mn=null,rl=0,(V&6)!==0)throw Error(_(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;aue()-_u?Wn(e,0):Tu|=n),Je(e,t)}function mh(e,t){t===0&&((e.mode&1)===0?t=1:(t=to,to<<=1,(to&130023424)===0&&(to=4194304)));var n=Me();e=Zt(e,t),e!==null&&(zi(e,t,n),Je(e,n))}function Jg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mh(e,n)}function Zg(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(_(314))}r!==null&&r.delete(t),mh(e,n)}var vh;vh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Ge=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ge=!1,Bg(e,t,n);Ge=(e.flags&131072)!==0}else Ge=!1,ne&&(t.flags&1048576)!==0&&Ep(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_o(e,t),e=t.pendingProps;var i=Rr(t,Oe.current);Nr(t,n),i=xu(null,t,r,e,i,n);var o=Su();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,qe(r)?(o=!0,Vo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,vu(t),i.updater=wl,t.stateNode=i,i._reactInternals=t,sa(t,r,e,n),t=ca(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&uu(t),Le(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_o(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ty(r),e=Ct(r,e),i){case 0:t=ua(null,t,r,e,n);break e;case 1:t=cd(null,t,r,e,n);break e;case 11:t=ad(null,t,r,e,n);break e;case 14:t=ud(null,t,r,Ct(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),ua(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),cd(e,t,r,i,n);case 3:e:{if(Zp(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Cp(e,t),qo(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=Ir(Error(_(423)),t),t=dd(e,t,r,n,i);break e}else if(r!==i){i=Ir(Error(_(424)),t),t=dd(e,t,r,n,i);break e}else for(lt=wn(t.stateNode.containerInfo.firstChild),st=t,ne=!0,Nt=null,n=Tp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),r===i){t=en(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return _p(t),e===null&&ia(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Zs(r,i)?l=null:o!==null&&Zs(r,o)&&(t.flags|=32),Jp(e,t),Le(e,t,l,n),t.child;case 6:return e===null&&ia(t),null;case 13:return eh(e,t,n);case 4:return gu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),ad(e,t,r,i,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(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,J(Xo,r._currentValue),r._currentValue=l,o!==null)if(Rt(o.value,l)){if(o.children===i.children&&!Ye.current){t=en(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=Yt(-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),oa(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(_(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),oa(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}Le(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=Et(i),r=r(i),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,i=Ct(r,t.pendingProps),i=Ct(r.type,i),ud(e,t,r,i,n);case 15:return Yp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),_o(e,t),t.tag=1,qe(r)?(e=!0,Vo(t)):e=!1,Nr(t,n),kp(t,r,i),sa(t,r,i,n),ca(null,t,r,!0,e,n);case 19:return th(e,t,n);case 22:return qp(e,t,n)}throw Error(_(156,t.tag))};function gh(e,t){return $f(e,t)}function ey(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 gt(e,t,n,r){return new ey(e,t,n,r)}function Du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ty(e){if(typeof e=="function")return Du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qa)return 11;if(e===Ja)return 14}return 2}function An(e,t){var n=e.alternate;return n===null?(n=gt(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 Oo(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Du(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Qn(n.children,i,o,t);case Ya:l=8,i|=8;break;case Os:return e=gt(12,n,t,i|2),e.elementType=Os,e.lanes=o,e;case Ds:return e=gt(13,n,t,i),e.elementType=Ds,e.lanes=o,e;case Is:return e=gt(19,n,t,i),e.elementType=Is,e.lanes=o,e;case Nf:return Al(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Af:l=10;break e;case kf:l=9;break e;case qa:l=11;break e;case Ja:l=14;break e;case an:l=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=gt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Qn(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function Al(e,t,n,r){return e=gt(22,e,r,t),e.elementType=Nf,e.lanes=n,e.stateNode={isHidden:!1},e}function fs(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function ps(e,t,n){return t=gt(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=Kl(0),this.expirationTimes=Kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Iu(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=gt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(o),e}function ry(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=ut})(Ha);const xr=ff(Ha.exports);var xh,Cd=Ha.exports;xh=Cd.createRoot,Cd.hydrateRoot;/** * @remix-run/router v1.0.1 * * Copyright (c) Remix Software Inc. @@ -38,7 +38,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function fy(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,s=vn.Pop,a=null;function c(){s=vn.Pop,a&&a({action:s,location:p.location})}function d(y,w){s=vn.Push;let x=Sa(p.location,y,w);n&&n(x,y);let T=kd(x),v=p.createHref(x);try{l.pushState(T,"",v)}catch{i.location.assign(v)}o&&a&&a({action:s,location:x})}function f(y,w){s=vn.Replace;let x=Sa(p.location,y,w);n&&n(x,y);let T=kd(x),v=p.createHref(x);l.replaceState(T,"",v),o&&a&&a({action:s,location:x})}let p={get action(){return s},get location(){return e(i,l)},listen(y){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Ad,c),a=y,()=>{i.removeEventListener(Ad,c),a=null}},createHref(y){return t(i,y)},push:d,replace:f,go(y){return l.go(y)}};return p}var Nd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Nd||(Nd={}));function py(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?tr(t):t,i=Ch(r.pathname||"/",n);if(i==null)return null;let o=Sh(e);hy(o);let l=null;for(let s=0;l==null&&s{let l={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ue(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let s=kn([r,l.relativePath]),a=n.concat(l);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Sh(i.children,t,a,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:xy(s,i.index),routesMeta:a})}),t}function hy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Sy(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const my=/^:\w+$/,vy=3,gy=2,yy=1,Ey=10,wy=-2,Td=e=>e==="*";function xy(e,t){let n=e.split("/"),r=n.length;return n.some(Td)&&(r+=wy),t&&(r+=gy),n.filter(i=>!Td(i)).reduce((i,o)=>i+(my.test(o)?vy:o===""?yy:Ey),r)}function Sy(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Cy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{if(d==="*"){let p=s[f]||"";l=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return c[d]=ky(s[f]||"",d),c},{}),pathname:o,pathnameBase:l,pattern:e}}function Ay(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ah(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(l,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function ky(e,t){try{return decodeURIComponent(e)}catch(n){return Ah(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ch(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ah(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Ny(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?tr(e):e;return{pathname:n?n.startsWith("/")?n:Ty(n,t):t,search:Ry(r),hash:Py(i)}}function Ty(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function kh(e,t,n,r){r===void 0&&(r=!1);let i=typeof e=="string"?tr(e):ll({},e),o=e===""||i.pathname==="",l=o?"/":i.pathname,s;if(r||l==null)s=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let a=Ny(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(o||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const kn=e=>e.join("/").replace(/\/\/+/g,"/"),_y=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ry=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Py=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Oy{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function Dy(e){return e instanceof Oy}var Rl={exports:{}},Pl={};/** + */function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dy(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,s=vn.Pop,a=null;function c(){s=vn.Pop,a&&a({action:s,location:p.location})}function d(y,w){s=vn.Push;let x=Sa(p.location,y,w);n&&n(x,y);let T=kd(x),v=p.createHref(x);try{l.pushState(T,"",v)}catch{i.location.assign(v)}o&&a&&a({action:s,location:x})}function f(y,w){s=vn.Replace;let x=Sa(p.location,y,w);n&&n(x,y);let T=kd(x),v=p.createHref(x);l.replaceState(T,"",v),o&&a&&a({action:s,location:x})}let p={get action(){return s},get location(){return e(i,l)},listen(y){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Ad,c),a=y,()=>{i.removeEventListener(Ad,c),a=null}},createHref(y){return t(i,y)},push:d,replace:f,go(y){return l.go(y)}};return p}var Nd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Nd||(Nd={}));function fy(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?tr(t):t,i=Ch(r.pathname||"/",n);if(i==null)return null;let o=Sh(e);py(o);let l=null;for(let s=0;l==null&&s{let l={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ue(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let s=kn([r,l.relativePath]),a=n.concat(l);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Sh(i.children,t,a,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:wy(s,i.index),routesMeta:a})}),t}function py(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:xy(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const hy=/^:\w+$/,my=3,vy=2,gy=1,yy=10,Ey=-2,Td=e=>e==="*";function wy(e,t){let n=e.split("/"),r=n.length;return n.some(Td)&&(r+=Ey),t&&(r+=vy),n.filter(i=>!Td(i)).reduce((i,o)=>i+(hy.test(o)?my:o===""?gy:yy),r)}function xy(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Sy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{if(d==="*"){let p=s[f]||"";l=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return c[d]=Ay(s[f]||"",d),c},{}),pathname:o,pathnameBase:l,pattern:e}}function Cy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ah(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(l,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function Ay(e,t){try{return decodeURIComponent(e)}catch(n){return Ah(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ch(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ah(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ky(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?tr(e):e;return{pathname:n?n.startsWith("/")?n:Ny(n,t):t,search:_y(r),hash:Ry(i)}}function Ny(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function kh(e,t,n,r){r===void 0&&(r=!1);let i=typeof e=="string"?tr(e):ll({},e),o=e===""||i.pathname==="",l=o?"/":i.pathname,s;if(r||l==null)s=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let a=ky(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(o||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const kn=e=>e.join("/").replace(/\/\/+/g,"/"),Ty=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_y=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ry=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Py{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function Oy(e){return e instanceof Py}var Rl={exports:{}},Pl={};/** * @license React * react-jsx-runtime.production.min.js * @@ -46,7 +46,7 @@ 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 Iy=g.exports,Ly=Symbol.for("react.element"),My=Symbol.for("react.fragment"),Fy=Object.prototype.hasOwnProperty,Uy=Iy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jy={key:!0,ref:!0,__self:!0,__source:!0};function Nh(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Fy.call(t,r)&&!jy.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Ly,type:e,key:o,ref:l,props:i,_owner:Uy.current}}Pl.Fragment=My;Pl.jsx=Nh;Pl.jsxs=Nh;(function(e){e.exports=Pl})(Rl);const Aa=Rl.exports.Fragment,u=Rl.exports.jsx,O=Rl.exports.jsxs;/** + */var Dy=g.exports,Iy=Symbol.for("react.element"),Ly=Symbol.for("react.fragment"),My=Object.prototype.hasOwnProperty,Fy=Dy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Uy={key:!0,ref:!0,__self:!0,__source:!0};function Nh(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)My.call(t,r)&&!Uy.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Iy,type:e,key:o,ref:l,props:i,_owner:Fy.current}}Pl.Fragment=Ly;Pl.jsx=Nh;Pl.jsxs=Nh;(function(e){e.exports=Pl})(Rl);const Aa=Rl.exports.Fragment,u=Rl.exports.jsx,O=Rl.exports.jsxs;/** * React Router v6.4.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 ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,hs(i)&&o({inst:i})},[e,r,t]),Hy(()=>(hs(i)&&o({inst:i}),e(()=>{hs(i)&&o({inst:i})})),[e]),Wy(r),r}function hs(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!By(n,r)}catch{return!0}}function Vy(e,t,n){return t()}const Ky=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Gy=!Ky,Xy=Gy?Vy:Qy;"useSyncExternalStore"in Rs&&(e=>e.useSyncExternalStore)(Rs);const Yy=g.exports.createContext(null),qy=g.exports.createContext(null),ju=g.exports.createContext(null),zu=g.exports.createContext(null),Ol=g.exports.createContext(null),Br=g.exports.createContext({outlet:null,matches:[]}),Th=g.exports.createContext(null);function Jy(e,t){let{relative:n}=t===void 0?{}:t;br()||Ue(!1);let{basename:r,navigator:i}=g.exports.useContext(zu),{hash:o,pathname:l,search:s}=sl(e,{relative:n}),a=l;return r!=="/"&&(a=l==="/"?r:kn([r,l])),i.createHref({pathname:a,search:s,hash:o})}function br(){return g.exports.useContext(Ol)!=null}function jt(){return br()||Ue(!1),g.exports.useContext(Ol).location}function Zy(e){br()||Ue(!1);let{pathname:t}=jt();return g.exports.useMemo(()=>Uu(e,t),[t,e])}function _h(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function dt(){br()||Ue(!1);let{basename:e,navigator:t}=g.exports.useContext(zu),{matches:n}=g.exports.useContext(Br),{pathname:r}=jt(),i=JSON.stringify(_h(n).map(s=>s.pathnameBase)),o=g.exports.useRef(!1);return g.exports.useEffect(()=>{o.current=!0}),g.exports.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=kh(s,JSON.parse(i),r,a.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:kn([e,c.pathname])),(a.replace?t.replace:t.push)(c,a.state,a)},[e,t,i,r])}function Rh(){let{matches:e}=g.exports.useContext(Br),t=e[e.length-1];return t?t.params:{}}function sl(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=g.exports.useContext(Br),{pathname:i}=jt(),o=JSON.stringify(_h(r).map(l=>l.pathnameBase));return g.exports.useMemo(()=>kh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function e0(e,t){br()||Ue(!1);let n=g.exports.useContext(ju),{matches:r}=g.exports.useContext(Br),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=jt(),a;if(t){var c;let w=typeof t=="string"?tr(t):t;l==="/"||((c=w.pathname)==null?void 0:c.startsWith(l))||Ue(!1),a=w}else a=s;let d=a.pathname||"/",f=l==="/"?d:d.slice(l.length)||"/",p=py(e,{pathname:f}),y=i0(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:kn([l,w.pathname]),pathnameBase:w.pathnameBase==="/"?l:kn([l,w.pathnameBase])})),r,n||void 0);return t?u(Ol.Provider,{value:{location:ka({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:vn.Pop},children:y}):y}function t0(){let e=l0(),t=Dy(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 O(Aa,{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}"}),O("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 n0 extends g.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(Th.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function r0(e){let{routeContext:t,match:n,children:r}=e,i=g.exports.useContext(Yy);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),u(Br.Provider,{value:t,children:r})}function i0(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||Ue(!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(t0,{}):null,d=()=>u(r0,{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(n0,{location:n.location,component:c,error:a,children:d()}):d()},null)}var Na;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Na||(Na={}));function o0(e){let t=g.exports.useContext(ju);return t||Ue(!1),t}function l0(){var e;let t=g.exports.useContext(Th),n=o0(Na.UseRouteError),r=g.exports.useContext(Br),i=r.matches[r.matches.length-1];return t||(r||Ue(!1),i.route.id||Ue(!1),(e=n.errors)==null?void 0:e[i.route.id])}function Ve(e){Ue(!1)}function s0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=vn.Pop,navigator:o,static:l=!1}=e;br()&&Ue(!1);let s=t.replace(/^\/*/,"/"),a=g.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=tr(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:y="default"}=r,w=g.exports.useMemo(()=>{let x=Ch(c,s);return x==null?null:{pathname:x,search:d,hash:f,state:p,key:y}},[s,c,d,f,p,y]);return w==null?null:u(zu.Provider,{value:a,children:u(Ol.Provider,{children:n,value:{location:w,navigationType:i}})})}function a0(e){let{children:t,location:n}=e,r=g.exports.useContext(qy),i=r&&!t?r.router.routes:Ta(t);return e0(i,n)}var _d;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(_d||(_d={}));new Promise(()=>{});function Ta(e,t){t===void 0&&(t=[]);let n=[];return g.exports.Children.forEach(e,(r,i)=>{if(!g.exports.isValidElement(r))return;if(r.type===g.exports.Fragment){n.push.apply(n,Ta(r.props.children,t));return}r.type!==Ve&&Ue(!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=Ta(r.props.children,o)),n.push(l)}),n}/** + */function ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,hs(i)&&o({inst:i})},[e,r,t]),by(()=>(hs(i)&&o({inst:i}),e(()=>{hs(i)&&o({inst:i})})),[e]),$y(r),r}function hs(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!zy(n,r)}catch{return!0}}function Qy(e,t,n){return t()}const Vy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ky=!Vy,Gy=Ky?Qy:Wy;"useSyncExternalStore"in Rs&&(e=>e.useSyncExternalStore)(Rs);const Xy=g.exports.createContext(null),Yy=g.exports.createContext(null),ju=g.exports.createContext(null),zu=g.exports.createContext(null),Ol=g.exports.createContext(null),Br=g.exports.createContext({outlet:null,matches:[]}),Th=g.exports.createContext(null);function qy(e,t){let{relative:n}=t===void 0?{}:t;br()||Ue(!1);let{basename:r,navigator:i}=g.exports.useContext(zu),{hash:o,pathname:l,search:s}=sl(e,{relative:n}),a=l;return r!=="/"&&(a=l==="/"?r:kn([r,l])),i.createHref({pathname:a,search:s,hash:o})}function br(){return g.exports.useContext(Ol)!=null}function jt(){return br()||Ue(!1),g.exports.useContext(Ol).location}function Jy(e){br()||Ue(!1);let{pathname:t}=jt();return g.exports.useMemo(()=>Uu(e,t),[t,e])}function _h(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function dt(){br()||Ue(!1);let{basename:e,navigator:t}=g.exports.useContext(zu),{matches:n}=g.exports.useContext(Br),{pathname:r}=jt(),i=JSON.stringify(_h(n).map(s=>s.pathnameBase)),o=g.exports.useRef(!1);return g.exports.useEffect(()=>{o.current=!0}),g.exports.useCallback(function(s,a){if(a===void 0&&(a={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=kh(s,JSON.parse(i),r,a.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:kn([e,c.pathname])),(a.replace?t.replace:t.push)(c,a.state,a)},[e,t,i,r])}function Zy(){let{matches:e}=g.exports.useContext(Br),t=e[e.length-1];return t?t.params:{}}function sl(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=g.exports.useContext(Br),{pathname:i}=jt(),o=JSON.stringify(_h(r).map(l=>l.pathnameBase));return g.exports.useMemo(()=>kh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function e0(e,t){br()||Ue(!1);let n=g.exports.useContext(ju),{matches:r}=g.exports.useContext(Br),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=jt(),a;if(t){var c;let w=typeof t=="string"?tr(t):t;l==="/"||((c=w.pathname)==null?void 0:c.startsWith(l))||Ue(!1),a=w}else a=s;let d=a.pathname||"/",f=l==="/"?d:d.slice(l.length)||"/",p=fy(e,{pathname:f}),y=i0(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:kn([l,w.pathname]),pathnameBase:w.pathnameBase==="/"?l:kn([l,w.pathnameBase])})),r,n||void 0);return t?u(Ol.Provider,{value:{location:ka({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:vn.Pop},children:y}):y}function t0(){let e=l0(),t=Oy(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 O(Aa,{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}"}),O("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 n0 extends g.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(Th.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function r0(e){let{routeContext:t,match:n,children:r}=e,i=g.exports.useContext(Xy);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),u(Br.Provider,{value:t,children:r})}function i0(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||Ue(!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(t0,{}):null,d=()=>u(r0,{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(n0,{location:n.location,component:c,error:a,children:d()}):d()},null)}var Na;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Na||(Na={}));function o0(e){let t=g.exports.useContext(ju);return t||Ue(!1),t}function l0(){var e;let t=g.exports.useContext(Th),n=o0(Na.UseRouteError),r=g.exports.useContext(Br),i=r.matches[r.matches.length-1];return t||(r||Ue(!1),i.route.id||Ue(!1),(e=n.errors)==null?void 0:e[i.route.id])}function Ve(e){Ue(!1)}function s0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=vn.Pop,navigator:o,static:l=!1}=e;br()&&Ue(!1);let s=t.replace(/^\/*/,"/"),a=g.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=tr(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:y="default"}=r,w=g.exports.useMemo(()=>{let x=Ch(c,s);return x==null?null:{pathname:x,search:d,hash:f,state:p,key:y}},[s,c,d,f,p,y]);return w==null?null:u(zu.Provider,{value:a,children:u(Ol.Provider,{children:n,value:{location:w,navigationType:i}})})}function a0(e){let{children:t,location:n}=e,r=g.exports.useContext(Yy),i=r&&!t?r.router.routes:Ta(t);return e0(i,n)}var _d;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(_d||(_d={}));new Promise(()=>{});function Ta(e,t){t===void 0&&(t=[]);let n=[];return g.exports.Children.forEach(e,(r,i)=>{if(!g.exports.isValidElement(r))return;if(r.type===g.exports.Fragment){n.push.apply(n,Ta(r.props.children,t));return}r.type!==Ve&&Ue(!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=Ta(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 Ph(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 u0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function c0(e,t){return e.button===0&&(!t||t==="_self")&&!u0(e)}function al(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 d0(e,t){let n=al(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const f0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],p0=["aria-current","caseSensitive","className","end","style","to","children"];function h0(e){let{basename:t,children:n,window:r}=e,i=g.exports.useRef();i.current==null&&(i.current=uy({window:r,v5Compat:!0}));let o=i.current,[l,s]=g.exports.useState({action:o.action,location:o.location});return g.exports.useLayoutEffect(()=>o.listen(s),[o]),u(s0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const Fe=g.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:a,to:c,preventScrollReset:d}=t,f=Ph(t,f0),p=Jy(c,{relative:i}),y=m0(c,{replace:l,state:s,target:a,preventScrollReset:d,relative:i});function w(x){r&&r(x),x.defaultPrevented||y(x)}return u("a",{...f,href:p,onClick:o?r:w,ref:n,target:a})}),It=g.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=Ph(t,p0),f=sl(a),p=Zy({path:f.pathname,end:l,caseSensitive:i}),y=g.exports.useContext(ju),w=y==null?void 0:y.navigation.location,x=sl(w||""),v=g.exports.useMemo(()=>w?Uu({path:f.pathname,end:l,caseSensitive:i},x.pathname):null,[w,f.pathname,i,l,x.pathname])!=null,m=p!=null,h=m?r:void 0,S;typeof o=="function"?S=o({isActive:m,isPending:v}):S=[o,m?"active":null,v?"pending":null].filter(Boolean).join(" ");let C=typeof s=="function"?s({isActive:m,isPending:v}):s;return u(Fe,{...d,"aria-current":h,className:S,ref:n,style:C,to:a,children:typeof c=="function"?c({isActive:m,isPending:v}):c})});function m0(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=dt(),a=jt(),c=sl(e,{relative:l});return g.exports.useCallback(d=>{if(c0(d,n)){d.preventDefault();let f=r!==void 0?r:Ca(a)===Ca(c);s(e,{replace:f,state:i,preventScrollReset:o,relative:l})}},[a,s,c,r,i,n,e,o,l])}function v0(e){let t=g.exports.useRef(al(e)),n=jt(),r=g.exports.useMemo(()=>d0(n.search,t.current),[n.search]),i=dt(),o=g.exports.useCallback((l,s)=>{const a=al(typeof l=="function"?l(r):l);i("?"+a,s)},[i,r]);return[r,o]}class $i{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 Fi=typeof window>"u";function pt(){}function g0(e,t){return typeof e=="function"?e(t):e}function _a(e){return typeof e=="number"&&e>=0&&e!==1/0}function Oh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Do(e,t,n){return Dl(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function cn(e,t,n){return Dl(e)?[{...t,queryKey:e},n]:[e||{},t]}function Rd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Dl(l)){if(r){if(t.queryHash!==Bu(l,t.options))return!1}else if(!ul(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 Pd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Dl(o)){if(!t.options.mutationKey)return!1;if(n){if($n(t.options.mutationKey)!==$n(o))return!1}else if(!ul(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function Bu(e,t){return((t==null?void 0:t.queryKeyHashFn)||$n)(e)}function $n(e){return JSON.stringify(e,(t,n)=>Ra(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ul(e,t){return Dh(e,t)}function Dh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Dh(e[n],t[n])):!1}function Ih(e,t){if(e===t)return e;const n=Dd(e)&&Dd(t);if(n||Ra(e)&&Ra(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!(!Id(n)||!n.hasOwnProperty("isPrototypeOf"))}function Id(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dl(e){return Array.isArray(e)}function Lh(e){return new Promise(t=>{setTimeout(t,e)})}function Ld(e){Lh(0).then(e)}function y0(){if(typeof AbortController=="function")return new AbortController}function Pa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ih(e,t):t}class E0 extends $i{constructor(){super(),this.setup=t=>{if(!Fi&&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 cl=new E0;class w0 extends $i{constructor(){super(),this.setup=t=>{if(!Fi&&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 dl=new w0;function x0(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?dl.isOnline():!0}class Mh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Io(e){return e instanceof Mh}function Fh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((T,v)=>{o=T,l=v}),a=T=>{r||(y(new Mh(T)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},f=()=>!cl.isFocused()||e.networkMode!=="always"&&!dl.isOnline(),p=T=>{r||(r=!0,e.onSuccess==null||e.onSuccess(T),i==null||i(),o(T))},y=T=>{r||(r=!0,e.onError==null||e.onError(T),i==null||i(),l(T))},w=()=>new Promise(T=>{i=v=>{if(r||!f())return T(v)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),x=()=>{if(r)return;let T;try{T=e.fn()}catch(v){T=Promise.reject(v)}Promise.resolve(T).then(p).catch(v=>{var m,h;if(r)return;const S=(m=e.retry)!=null?m:3,C=(h=e.retryDelay)!=null?h:x0,A=typeof C=="function"?C(n,v):C,N=S===!0||typeof S=="number"&&n{if(f())return w()}).then(()=>{t?y(v):x()})})};return Il(e.networkMode)?x():w().then(x),{promise:s,cancel:a,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const bu=console;function S0(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let f;t++;try{f=d()}finally{t--,t||s()}return f},o=d=>{t?e.push(d):Ld(()=>{n(d)})},l=d=>(...f)=>{o(()=>{d(...f)})},s=()=>{const d=e;e=[],d.length&&Ld(()=>{r(()=>{d.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const fe=S0();class Uh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_a(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Fi?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class C0 extends Uh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||bu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||A0(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=Pa(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(pt).catch(pt):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||!Oh(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(w=>w.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=y0(),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 f;this.dispatch({type:"fetch",meta:(f=d.fetchOptions)==null?void 0:f.meta})}const p=y=>{if(Io(y)&&y.silent||this.dispatch({type:"error",error:y}),!Io(y)){var w,x;(w=(x=this.cache.config).onError)==null||w.call(x,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Fh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var w,x;if(typeof y>"u"){p(new Error("undefined"));return}this.setData(y),(w=(x=this.cache.config).onSuccess)==null||w.call(x,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,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 Io(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),fe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function A0(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 k0 extends $i{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:Bu(o,n);let s=this.get(l);return s||(s=new C0({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(){fe.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=cn(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Rd(r,i))}findAll(t,n){const[r]=cn(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Rd(r,i)):this.queries}notify(t){fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){fe.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){fe.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class N0 extends Uh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||bu,this.observers=[],this.state=t.state||T0(),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=Fh({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,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const S=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));S!==this.state.context&&this.dispatch({type:"loading",context:S,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,x,T,v,m;throw(y=(w=this.mutationCache.config).onError)==null||y.call(w,h,this.state.variables,this.state.context,this),await((x=(T=this.options).onError)==null?void 0:x.call(T,h,this.state.variables,this.state.context)),await((v=(m=this.options).onSettled)==null?void 0:v.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),fe.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function T0(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class _0 extends $i{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new N0({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(){fe.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=>Pd(t,n))}findAll(t){return this.mutations.filter(n=>Pd(t,n))}notify(t){fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return fe.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(pt)),Promise.resolve()))}}function R0(){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",f=(a==null?void 0:a.direction)==="backward",p=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let w=y,x=!1;const T=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>{var N;if((N=e.signal)!=null&&N.aborted)x=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{x=!0})}return e.signal}})},v=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(A,N,k,z)=>(w=z?[N,...w]:[...w,N],z?[k,...A]:[...A,k]),h=(A,N,k,z)=>{if(x)return Promise.reject("Cancelled");if(typeof k>"u"&&!N&&A.length)return Promise.resolve(A);const L={queryKey:e.queryKey,pageParam:k,meta:e.meta};T(L);const Z=v(L);return Promise.resolve(Z).then(se=>m(A,k,se,z))};let S;if(!p.length)S=h([]);else if(d){const A=typeof c<"u",N=A?c:Md(e.options,p);S=h(p,A,N)}else if(f){const A=typeof c<"u",N=A?c:P0(e.options,p);S=h(p,A,N,!0)}else{w=[];const A=typeof e.options.getNextPageParam>"u";S=(s&&p[0]?s(p[0],0,p):!0)?h([],A,y[0]):Promise.resolve(m([],y[0],p[0]));for(let k=1;k{if(s&&p[k]?s(p[k],k,p):!0){const Z=A?y[k]:Md(e.options,z);return h(z,A,Z)}return Promise.resolve(m(z,y[k],p[k]))})}return S.then(A=>({pages:A,pageParams:w}))}}}}function Md(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function P0(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class O0{constructor(t={}){this.queryCache=t.queryCache||new k0,this.mutationCache=t.mutationCache||new _0,this.logger=t.logger||bu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=cl.subscribe(()=>{cl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=dl.subscribe(()=>{dl.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]=cn(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=g0(n,o);if(typeof l>"u")return;const s=Do(t),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return fe.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]=cn(t,n),i=this.queryCache;fe.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=cn(t,n,r),l=this.queryCache,s={type:"active",...i};return fe.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=cn(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=fe.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(pt).catch(pt)}invalidateQueries(t,n,r){const[i,o]=cn(t,n,r);return fe.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]=cn(t,n,r),l=fe.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(pt);return o!=null&&o.throwOnError||(s=s.catch(pt)),s}fetchQuery(t,n,r){const i=Do(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(pt).catch(pt)}fetchInfiniteQuery(t,n,r){const i=Do(t,n,r);return i.behavior=R0(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(pt).catch(pt)}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=>$n(t)===$n(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>ul(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>$n(t)===$n(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>ul(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=Bu(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 D0 extends $i{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),Fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Oa(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oa(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),Od(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&&Ud(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(pt)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Fi||this.currentResult.isStale||!_a(this.options.staleTime))return;const n=Oh(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,!(Fi||this.options.enabled===!1||!_a(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||cl.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:f}=t;let{dataUpdatedAt:p,error:y,errorUpdatedAt:w,fetchStatus:x,status:T}=f,v=!1,m=!1,h;if(n._optimisticResults){const k=this.hasListeners(),z=!k&&Fd(t,n),L=k&&Ud(t,r,n,i);(z||L)&&(x=Il(t.options.networkMode)?"fetching":"paused",p||(T="loading")),n._optimisticResults==="isRestoring"&&(x="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&d!=null&&d.isSuccess&&T!=="error")h=d.data,p=d.dataUpdatedAt,T=d.status,v=!0;else if(n.select&&typeof f.data<"u")if(o&&f.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(f.data),h=Pa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(k){this.selectError=k}else h=f.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&T==="loading"){let k;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))k=o.data;else if(k=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof k<"u")try{k=n.select(k),k=Pa(o==null?void 0:o.data,k,n),this.selectError=null}catch(z){this.selectError=z}typeof k<"u"&&(T="success",h=k,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,w=Date.now(),T="error");const S=x==="fetching",C=T==="loading",A=T==="error";return{status:T,fetchStatus:x,isLoading:C,isSuccess:T==="success",isError:A,isInitialLoading:C&&S,data:h,dataUpdatedAt:p,error:y,errorUpdatedAt:w,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:A&&f.dataUpdatedAt===0,isPaused:x==="paused",isPlaceholderData:m,isPreviousData:v,isRefetchError:A&&f.dataUpdatedAt!==0,isStale:Hu(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,Od(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"&&!Io(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){fe.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 I0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fd(e,t){return I0(e,t)||e.state.dataUpdatedAt>0&&Oa(e,t,t.refetchOnMount)}function Oa(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Hu(e,t)}return!1}function Ud(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Hu(e,n)}function Hu(e,t){return e.isStaleByTime(t.staleTime)}var jh={exports:{}},zh={};/** + */function Rh(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 u0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function c0(e,t){return e.button===0&&(!t||t==="_self")&&!u0(e)}function al(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 d0(e,t){let n=al(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const f0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],p0=["aria-current","caseSensitive","className","end","style","to","children"];function h0(e){let{basename:t,children:n,window:r}=e,i=g.exports.useRef();i.current==null&&(i.current=ay({window:r,v5Compat:!0}));let o=i.current,[l,s]=g.exports.useState({action:o.action,location:o.location});return g.exports.useLayoutEffect(()=>o.listen(s),[o]),u(s0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const Fe=g.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:a,to:c,preventScrollReset:d}=t,f=Rh(t,f0),p=qy(c,{relative:i}),y=m0(c,{replace:l,state:s,target:a,preventScrollReset:d,relative:i});function w(x){r&&r(x),x.defaultPrevented||y(x)}return u("a",{...f,href:p,onClick:o?r:w,ref:n,target:a})}),It=g.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=Rh(t,p0),f=sl(a),p=Jy({path:f.pathname,end:l,caseSensitive:i}),y=g.exports.useContext(ju),w=y==null?void 0:y.navigation.location,x=sl(w||""),v=g.exports.useMemo(()=>w?Uu({path:f.pathname,end:l,caseSensitive:i},x.pathname):null,[w,f.pathname,i,l,x.pathname])!=null,m=p!=null,h=m?r:void 0,S;typeof o=="function"?S=o({isActive:m,isPending:v}):S=[o,m?"active":null,v?"pending":null].filter(Boolean).join(" ");let C=typeof s=="function"?s({isActive:m,isPending:v}):s;return u(Fe,{...d,"aria-current":h,className:S,ref:n,style:C,to:a,children:typeof c=="function"?c({isActive:m,isPending:v}):c})});function m0(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=dt(),a=jt(),c=sl(e,{relative:l});return g.exports.useCallback(d=>{if(c0(d,n)){d.preventDefault();let f=r!==void 0?r:Ca(a)===Ca(c);s(e,{replace:f,state:i,preventScrollReset:o,relative:l})}},[a,s,c,r,i,n,e,o,l])}function v0(e){let t=g.exports.useRef(al(e)),n=jt(),r=g.exports.useMemo(()=>d0(n.search,t.current),[n.search]),i=dt(),o=g.exports.useCallback((l,s)=>{const a=al(typeof l=="function"?l(r):l);i("?"+a,s)},[i,r]);return[r,o]}class $i{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 Fi=typeof window>"u";function pt(){}function g0(e,t){return typeof e=="function"?e(t):e}function _a(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ph(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Do(e,t,n){return Dl(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function cn(e,t,n){return Dl(e)?[{...t,queryKey:e},n]:[e||{},t]}function Rd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Dl(l)){if(r){if(t.queryHash!==Bu(l,t.options))return!1}else if(!ul(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 Pd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Dl(o)){if(!t.options.mutationKey)return!1;if(n){if($n(t.options.mutationKey)!==$n(o))return!1}else if(!ul(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function Bu(e,t){return((t==null?void 0:t.queryKeyHashFn)||$n)(e)}function $n(e){return JSON.stringify(e,(t,n)=>Ra(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ul(e,t){return Oh(e,t)}function Oh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Oh(e[n],t[n])):!1}function Dh(e,t){if(e===t)return e;const n=Dd(e)&&Dd(t);if(n||Ra(e)&&Ra(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!(!Id(n)||!n.hasOwnProperty("isPrototypeOf"))}function Id(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dl(e){return Array.isArray(e)}function Ih(e){return new Promise(t=>{setTimeout(t,e)})}function Ld(e){Ih(0).then(e)}function y0(){if(typeof AbortController=="function")return new AbortController}function Pa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Dh(e,t):t}class E0 extends $i{constructor(){super(),this.setup=t=>{if(!Fi&&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 cl=new E0;class w0 extends $i{constructor(){super(),this.setup=t=>{if(!Fi&&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 dl=new w0;function x0(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?dl.isOnline():!0}class Lh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Io(e){return e instanceof Lh}function Mh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((T,v)=>{o=T,l=v}),a=T=>{r||(y(new Lh(T)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},f=()=>!cl.isFocused()||e.networkMode!=="always"&&!dl.isOnline(),p=T=>{r||(r=!0,e.onSuccess==null||e.onSuccess(T),i==null||i(),o(T))},y=T=>{r||(r=!0,e.onError==null||e.onError(T),i==null||i(),l(T))},w=()=>new Promise(T=>{i=v=>{if(r||!f())return T(v)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),x=()=>{if(r)return;let T;try{T=e.fn()}catch(v){T=Promise.reject(v)}Promise.resolve(T).then(p).catch(v=>{var m,h;if(r)return;const S=(m=e.retry)!=null?m:3,C=(h=e.retryDelay)!=null?h:x0,A=typeof C=="function"?C(n,v):C,N=S===!0||typeof S=="number"&&n{if(f())return w()}).then(()=>{t?y(v):x()})})};return Il(e.networkMode)?x():w().then(x),{promise:s,cancel:a,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const bu=console;function S0(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let f;t++;try{f=d()}finally{t--,t||s()}return f},o=d=>{t?e.push(d):Ld(()=>{n(d)})},l=d=>(...f)=>{o(()=>{d(...f)})},s=()=>{const d=e;e=[],d.length&&Ld(()=>{r(()=>{d.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const fe=S0();class Fh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_a(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Fi?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class C0 extends Fh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||bu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||A0(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=Pa(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(pt).catch(pt):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||!Ph(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(w=>w.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=y0(),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 f;this.dispatch({type:"fetch",meta:(f=d.fetchOptions)==null?void 0:f.meta})}const p=y=>{if(Io(y)&&y.silent||this.dispatch({type:"error",error:y}),!Io(y)){var w,x;(w=(x=this.cache.config).onError)==null||w.call(x,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Mh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var w,x;if(typeof y>"u"){p(new Error("undefined"));return}this.setData(y),(w=(x=this.cache.config).onSuccess)==null||w.call(x,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,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 Io(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),fe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function A0(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 k0 extends $i{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:Bu(o,n);let s=this.get(l);return s||(s=new C0({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(){fe.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=cn(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Rd(r,i))}findAll(t,n){const[r]=cn(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Rd(r,i)):this.queries}notify(t){fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){fe.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){fe.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class N0 extends Fh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||bu,this.observers=[],this.state=t.state||T0(),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=Mh({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,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const S=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));S!==this.state.context&&this.dispatch({type:"loading",context:S,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,x,T,v,m;throw(y=(w=this.mutationCache.config).onError)==null||y.call(w,h,this.state.variables,this.state.context,this),await((x=(T=this.options).onError)==null?void 0:x.call(T,h,this.state.variables,this.state.context)),await((v=(m=this.options).onSettled)==null?void 0:v.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),fe.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function T0(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class _0 extends $i{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new N0({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(){fe.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=>Pd(t,n))}findAll(t){return this.mutations.filter(n=>Pd(t,n))}notify(t){fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return fe.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(pt)),Promise.resolve()))}}function R0(){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",f=(a==null?void 0:a.direction)==="backward",p=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let w=y,x=!1;const T=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>{var N;if((N=e.signal)!=null&&N.aborted)x=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{x=!0})}return e.signal}})},v=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(A,N,k,z)=>(w=z?[N,...w]:[...w,N],z?[k,...A]:[...A,k]),h=(A,N,k,z)=>{if(x)return Promise.reject("Cancelled");if(typeof k>"u"&&!N&&A.length)return Promise.resolve(A);const L={queryKey:e.queryKey,pageParam:k,meta:e.meta};T(L);const Z=v(L);return Promise.resolve(Z).then(se=>m(A,k,se,z))};let S;if(!p.length)S=h([]);else if(d){const A=typeof c<"u",N=A?c:Md(e.options,p);S=h(p,A,N)}else if(f){const A=typeof c<"u",N=A?c:P0(e.options,p);S=h(p,A,N,!0)}else{w=[];const A=typeof e.options.getNextPageParam>"u";S=(s&&p[0]?s(p[0],0,p):!0)?h([],A,y[0]):Promise.resolve(m([],y[0],p[0]));for(let k=1;k{if(s&&p[k]?s(p[k],k,p):!0){const Z=A?y[k]:Md(e.options,z);return h(z,A,Z)}return Promise.resolve(m(z,y[k],p[k]))})}return S.then(A=>({pages:A,pageParams:w}))}}}}function Md(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function P0(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class O0{constructor(t={}){this.queryCache=t.queryCache||new k0,this.mutationCache=t.mutationCache||new _0,this.logger=t.logger||bu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=cl.subscribe(()=>{cl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=dl.subscribe(()=>{dl.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]=cn(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=g0(n,o);if(typeof l>"u")return;const s=Do(t),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return fe.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]=cn(t,n),i=this.queryCache;fe.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=cn(t,n,r),l=this.queryCache,s={type:"active",...i};return fe.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=cn(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=fe.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(pt).catch(pt)}invalidateQueries(t,n,r){const[i,o]=cn(t,n,r);return fe.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]=cn(t,n,r),l=fe.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(pt);return o!=null&&o.throwOnError||(s=s.catch(pt)),s}fetchQuery(t,n,r){const i=Do(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(pt).catch(pt)}fetchInfiniteQuery(t,n,r){const i=Do(t,n,r);return i.behavior=R0(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(pt).catch(pt)}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=>$n(t)===$n(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>ul(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>$n(t)===$n(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>ul(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=Bu(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 D0 extends $i{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),Fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Oa(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oa(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),Od(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&&Ud(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(pt)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Fi||this.currentResult.isStale||!_a(this.options.staleTime))return;const n=Ph(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,!(Fi||this.options.enabled===!1||!_a(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||cl.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:f}=t;let{dataUpdatedAt:p,error:y,errorUpdatedAt:w,fetchStatus:x,status:T}=f,v=!1,m=!1,h;if(n._optimisticResults){const k=this.hasListeners(),z=!k&&Fd(t,n),L=k&&Ud(t,r,n,i);(z||L)&&(x=Il(t.options.networkMode)?"fetching":"paused",p||(T="loading")),n._optimisticResults==="isRestoring"&&(x="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&d!=null&&d.isSuccess&&T!=="error")h=d.data,p=d.dataUpdatedAt,T=d.status,v=!0;else if(n.select&&typeof f.data<"u")if(o&&f.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(f.data),h=Pa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(k){this.selectError=k}else h=f.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&T==="loading"){let k;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))k=o.data;else if(k=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof k<"u")try{k=n.select(k),k=Pa(o==null?void 0:o.data,k,n),this.selectError=null}catch(z){this.selectError=z}typeof k<"u"&&(T="success",h=k,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,w=Date.now(),T="error");const S=x==="fetching",C=T==="loading",A=T==="error";return{status:T,fetchStatus:x,isLoading:C,isSuccess:T==="success",isError:A,isInitialLoading:C&&S,data:h,dataUpdatedAt:p,error:y,errorUpdatedAt:w,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:A&&f.dataUpdatedAt===0,isPaused:x==="paused",isPlaceholderData:m,isPreviousData:v,isRefetchError:A&&f.dataUpdatedAt!==0,isStale:Hu(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,Od(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"&&!Io(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){fe.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 I0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fd(e,t){return I0(e,t)||e.state.dataUpdatedAt>0&&Oa(e,t,t.refetchOnMount)}function Oa(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Hu(e,t)}return!1}function Ud(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Hu(e,n)}function Hu(e,t){return e.isStaleByTime(t.staleTime)}var Uh={exports:{}},jh={};/** * @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 Mr=g.exports;function L0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var M0=typeof Object.is=="function"?Object.is:L0,F0=Mr.useState,U0=Mr.useEffect,j0=Mr.useLayoutEffect,z0=Mr.useDebugValue;function B0(e,t){var n=t(),r=F0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return j0(function(){i.value=n,i.getSnapshot=t,ms(i)&&o({inst:i})},[e,n,t]),U0(function(){return ms(i)&&o({inst:i}),e(function(){ms(i)&&o({inst:i})})},[e]),z0(n),n}function ms(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!M0(e,n)}catch{return!0}}function b0(e,t){return t()}var H0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?b0:B0;zh.useSyncExternalStore=Mr.useSyncExternalStore!==void 0?Mr.useSyncExternalStore:H0;(function(e){e.exports=zh})(jh);const $0=jh.exports.useSyncExternalStore,jd=g.exports.createContext(void 0),Bh=g.exports.createContext(!1);function bh(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=jd),window.ReactQueryClientContext):jd)}const W0=({context:e}={})=>{const t=g.exports.useContext(bh(e,g.exports.useContext(Bh)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Q0=({client:e,children:t,context:n,contextSharing:r=!1})=>{g.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=bh(n,r);return u(Bh.Provider,{value:!n&&r,children:u(i.Provider,{value:e,children:t})})},Hh=g.exports.createContext(!1),V0=()=>g.exports.useContext(Hh);Hh.Provider;function K0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const G0=g.exports.createContext(K0()),X0=()=>g.exports.useContext(G0);function Y0(e,t){return typeof e=="function"?e(...t):!!e}const q0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},J0=e=>{g.exports.useEffect(()=>{e.clearReset()},[e])},Z0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Y0(n,[e.error,r]);function e1(e,t){const n=W0({context:e.context}),r=V0(),i=X0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=fe.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=fe.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=fe.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),q0(o,i),J0(i);const[l]=g.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if($0(g.exports.useCallback(a=>r?()=>{}:l.subscribe(fe.batchCalls(a)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),g.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(Z0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function Se(e,t,n){const r=Do(e,t,n);return e1(r,D0)}/*! @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:$h,setPrototypeOf:zd,isFrozen:t1,getPrototypeOf:n1,getOwnPropertyDescriptor:$u}=Object;let{freeze:je,seal:Pt,create:Wh}=Object,{apply:Da,construct:Ia}=typeof Reflect<"u"&&Reflect;je||(je=function(t){return t});Pt||(Pt=function(t){return t});Da||(Da=function(t,n,r){return t.apply(n,r)});Ia||(Ia=function(t,n){return new t(...n)});const ho=xt(Array.prototype.forEach),Bd=xt(Array.prototype.pop),ti=xt(Array.prototype.push),Lo=xt(String.prototype.toLowerCase),vs=xt(String.prototype.toString),r1=xt(String.prototype.match),ni=xt(String.prototype.replace),i1=xt(String.prototype.indexOf),o1=xt(String.prototype.trim),rt=xt(RegExp.prototype.test),ri=l1(TypeError);function xt(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]:Lo;zd&&zd(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(t1(t)||(t[r]=o),i=o)}e[i]=!0}return e}function s1(e){for(let t=0;t/gm),f1=Pt(/\${[\w\W]*}/gm),p1=Pt(/^data-[\-\w.\u00B7-\uFFFF]/),h1=Pt(/^aria-[\-\w]+$/),Qh=Pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),m1=Pt(/^(?:\w+script|data):/i),v1=Pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Vh=Pt(/^html$/i);var Qd=Object.freeze({__proto__:null,MUSTACHE_EXPR:c1,ERB_EXPR:d1,TMPLIT_EXPR:f1,DATA_ATTR:p1,ARIA_ATTR:h1,IS_ALLOWED_URI:Qh,IS_SCRIPT_OR_DATA:m1,ATTR_WHITESPACE:v1,DOCTYPE_NAME:Vh});const g1=function(){return typeof window>"u"?null:window},y1=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 Kh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g1();const t=F=>Kh(F);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:f,DOMParser:p,trustedTypes:y}=e,w=a.prototype,x=mo(w,"cloneNode"),T=mo(w,"nextSibling"),v=mo(w,"childNodes"),m=mo(w,"parentNode");if(typeof l=="function"){const F=n.createElement("template");F.content&&F.content.ownerDocument&&(n=F.content.ownerDocument)}let h,S="";const{implementation:C,createNodeIterator:A,createDocumentFragment:N,getElementsByTagName:k}=n,{importNode:z}=r;let L={};t.isSupported=typeof $h=="function"&&typeof m=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Z,ERB_EXPR:we,TMPLIT_EXPR:se,DATA_ATTR:re,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:He,ATTR_WHITESPACE:Ze}=Qd;let{IS_ALLOWED_URI:P}=Qd,I=null;const j=H({},[...bd,...gs,...ys,...Es,...Hd]);let U=null;const K=H({},[...$d,...ws,...Wd,...vo]);let b=Object.seal(Wh(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,et=null,De=!0,ft=!0,nr=!1,zt=!0,tt=!1,nt=!1,rn=!1,Bt=!1,$e=!1,Y=!1,bt=!1,on=!0,Vi=!1;const Ul="user-content-";let Wr=!0,On=!1,ln={},Ht=null;const Ki=H({},["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 W=null;const $t=H({},["audio","video","img","source","image","track"]);let rr=null;const Zu=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gi="http://www.w3.org/1998/Math/MathML",Xi="http://www.w3.org/2000/svg",Wt="http://www.w3.org/1999/xhtml";let ir=Wt,jl=!1,zl=null;const Mm=H({},[Gi,Xi,Wt],vs);let Qr=null;const Fm=["application/xhtml+xml","text/html"],Um="text/html";let ge=null,or=null;const jm=n.createElement("form"),ec=function(E){return E instanceof RegExp||E instanceof Function},Bl=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(or&&or===E)){if((!E||typeof E!="object")&&(E={}),E=Fn(E),Qr=Fm.indexOf(E.PARSER_MEDIA_TYPE)===-1?Um:E.PARSER_MEDIA_TYPE,ge=Qr==="application/xhtml+xml"?vs:Lo,I="ALLOWED_TAGS"in E?H({},E.ALLOWED_TAGS,ge):j,U="ALLOWED_ATTR"in E?H({},E.ALLOWED_ATTR,ge):K,zl="ALLOWED_NAMESPACES"in E?H({},E.ALLOWED_NAMESPACES,vs):Mm,rr="ADD_URI_SAFE_ATTR"in E?H(Fn(Zu),E.ADD_URI_SAFE_ATTR,ge):Zu,W="ADD_DATA_URI_TAGS"in E?H(Fn($t),E.ADD_DATA_URI_TAGS,ge):$t,Ht="FORBID_CONTENTS"in E?H({},E.FORBID_CONTENTS,ge):Ki,ve="FORBID_TAGS"in E?H({},E.FORBID_TAGS,ge):{},et="FORBID_ATTR"in E?H({},E.FORBID_ATTR,ge):{},ln="USE_PROFILES"in E?E.USE_PROFILES:!1,De=E.ALLOW_ARIA_ATTR!==!1,ft=E.ALLOW_DATA_ATTR!==!1,nr=E.ALLOW_UNKNOWN_PROTOCOLS||!1,zt=E.ALLOW_SELF_CLOSE_IN_ATTR!==!1,tt=E.SAFE_FOR_TEMPLATES||!1,nt=E.WHOLE_DOCUMENT||!1,$e=E.RETURN_DOM||!1,Y=E.RETURN_DOM_FRAGMENT||!1,bt=E.RETURN_TRUSTED_TYPE||!1,Bt=E.FORCE_BODY||!1,on=E.SANITIZE_DOM!==!1,Vi=E.SANITIZE_NAMED_PROPS||!1,Wr=E.KEEP_CONTENT!==!1,On=E.IN_PLACE||!1,P=E.ALLOWED_URI_REGEXP||Qh,ir=E.NAMESPACE||Wt,b=E.CUSTOM_ELEMENT_HANDLING||{},E.CUSTOM_ELEMENT_HANDLING&&ec(E.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(b.tagNameCheck=E.CUSTOM_ELEMENT_HANDLING.tagNameCheck),E.CUSTOM_ELEMENT_HANDLING&&ec(E.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(b.attributeNameCheck=E.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),E.CUSTOM_ELEMENT_HANDLING&&typeof E.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(b.allowCustomizedBuiltInElements=E.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tt&&(ft=!1),Y&&($e=!0),ln&&(I=H({},Hd),U=[],ln.html===!0&&(H(I,bd),H(U,$d)),ln.svg===!0&&(H(I,gs),H(U,ws),H(U,vo)),ln.svgFilters===!0&&(H(I,ys),H(U,ws),H(U,vo)),ln.mathMl===!0&&(H(I,Es),H(U,Wd),H(U,vo))),E.ADD_TAGS&&(I===j&&(I=Fn(I)),H(I,E.ADD_TAGS,ge)),E.ADD_ATTR&&(U===K&&(U=Fn(U)),H(U,E.ADD_ATTR,ge)),E.ADD_URI_SAFE_ATTR&&H(rr,E.ADD_URI_SAFE_ATTR,ge),E.FORBID_CONTENTS&&(Ht===Ki&&(Ht=Fn(Ht)),H(Ht,E.FORBID_CONTENTS,ge)),Wr&&(I["#text"]=!0),nt&&H(I,["html","head","body"]),I.table&&(H(I,["tbody"]),delete ve.tbody),E.TRUSTED_TYPES_POLICY){if(typeof E.TRUSTED_TYPES_POLICY.createHTML!="function")throw ri('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof E.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ri('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=E.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=y1(y,i)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));je&&je(E),or=E}},tc=H({},["mi","mo","mn","ms","mtext"]),nc=H({},["foreignobject","desc","title","annotation-xml"]),zm=H({},["title","style","font","a","script"]),rc=H({},[...gs,...ys,...a1]),ic=H({},[...Es,...u1]),Bm=function(E){let R=m(E);(!R||!R.tagName)&&(R={namespaceURI:ir,tagName:"template"});const M=Lo(E.tagName),q=Lo(R.tagName);return zl[E.namespaceURI]?E.namespaceURI===Xi?R.namespaceURI===Wt?M==="svg":R.namespaceURI===Gi?M==="svg"&&(q==="annotation-xml"||tc[q]):Boolean(rc[M]):E.namespaceURI===Gi?R.namespaceURI===Wt?M==="math":R.namespaceURI===Xi?M==="math"&&nc[q]:Boolean(ic[M]):E.namespaceURI===Wt?R.namespaceURI===Xi&&!nc[q]||R.namespaceURI===Gi&&!tc[q]?!1:!ic[M]&&(zm[M]||!rc[M]):!!(Qr==="application/xhtml+xml"&&zl[E.namespaceURI]):!1},Dn=function(E){ti(t.removed,{element:E});try{E.parentNode.removeChild(E)}catch{E.remove()}},bl=function(E,R){try{ti(t.removed,{attribute:R.getAttributeNode(E),from:R})}catch{ti(t.removed,{attribute:null,from:R})}if(R.removeAttribute(E),E==="is"&&!U[E])if($e||Y)try{Dn(R)}catch{}else try{R.setAttribute(E,"")}catch{}},oc=function(E){let R=null,M=null;if(Bt)E=""+E;else{const Te=r1(E,/^[\r\n\t ]+/);M=Te&&Te[0]}Qr==="application/xhtml+xml"&&ir===Wt&&(E=''+E+"");const q=h?h.createHTML(E):E;if(ir===Wt)try{R=new p().parseFromString(q,Qr)}catch{}if(!R||!R.documentElement){R=C.createDocument(ir,"template",null);try{R.documentElement.innerHTML=jl?S:q}catch{}}const Ne=R.body||R.documentElement;return E&&M&&Ne.insertBefore(n.createTextNode(M),Ne.childNodes[0]||null),ir===Wt?k.call(R,nt?"html":"body")[0]:nt?R.documentElement:Ne},lc=function(E){return A.call(E.ownerDocument||E,E,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},bm=function(E){return E instanceof f&&(typeof E.nodeName!="string"||typeof E.textContent!="string"||typeof E.removeChild!="function"||!(E.attributes instanceof d)||typeof E.removeAttribute!="function"||typeof E.setAttribute!="function"||typeof E.namespaceURI!="string"||typeof E.insertBefore!="function"||typeof E.hasChildNodes!="function")},sc=function(E){return typeof s=="function"&&E instanceof s},Qt=function(E,R,M){!L[E]||ho(L[E],q=>{q.call(t,R,M,or)})},ac=function(E){let R=null;if(Qt("beforeSanitizeElements",E,null),bm(E))return Dn(E),!0;const M=ge(E.nodeName);if(Qt("uponSanitizeElement",E,{tagName:M,allowedTags:I}),E.hasChildNodes()&&!sc(E.firstElementChild)&&rt(/<[/\w]/g,E.innerHTML)&&rt(/<[/\w]/g,E.textContent))return Dn(E),!0;if(!I[M]||ve[M]){if(!ve[M]&&cc(M)&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,M)||b.tagNameCheck instanceof Function&&b.tagNameCheck(M)))return!1;if(Wr&&!Ht[M]){const q=m(E)||E.parentNode,Ne=v(E)||E.childNodes;if(Ne&&q){const Te=Ne.length;for(let We=Te-1;We>=0;--We)q.insertBefore(x(Ne[We],!0),T(E))}}return Dn(E),!0}return E instanceof a&&!Bm(E)||(M==="noscript"||M==="noembed"||M==="noframes")&&rt(/<\/no(script|embed|frames)/i,E.innerHTML)?(Dn(E),!0):(tt&&E.nodeType===3&&(R=E.textContent,ho([Z,we,se],q=>{R=ni(R,q," ")}),E.textContent!==R&&(ti(t.removed,{element:E.cloneNode()}),E.textContent=R)),Qt("afterSanitizeElements",E,null),!1)},uc=function(E,R,M){if(on&&(R==="id"||R==="name")&&(M in n||M in jm))return!1;if(!(ft&&!et[R]&&rt(re,R))){if(!(De&&rt(de,R))){if(!U[R]||et[R]){if(!(cc(E)&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,E)||b.tagNameCheck instanceof Function&&b.tagNameCheck(E))&&(b.attributeNameCheck instanceof RegExp&&rt(b.attributeNameCheck,R)||b.attributeNameCheck instanceof Function&&b.attributeNameCheck(R))||R==="is"&&b.allowCustomizedBuiltInElements&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,M)||b.tagNameCheck instanceof Function&&b.tagNameCheck(M))))return!1}else if(!rr[R]){if(!rt(P,ni(M,Ze,""))){if(!((R==="src"||R==="xlink:href"||R==="href")&&E!=="script"&&i1(M,"data:")===0&&W[E])){if(!(nr&&!rt(He,ni(M,Ze,"")))){if(M)return!1}}}}}}return!0},cc=function(E){return E.indexOf("-")>0},dc=function(E){Qt("beforeSanitizeAttributes",E,null);const{attributes:R}=E;if(!R)return;const M={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U};let q=R.length;for(;q--;){const Ne=R[q],{name:Te,namespaceURI:We,value:In}=Ne,Vr=ge(Te);let Qe=Te==="value"?In:o1(In);if(M.attrName=Vr,M.attrValue=Qe,M.keepAttr=!0,M.forceKeepAttr=void 0,Qt("uponSanitizeAttribute",E,M),Qe=M.attrValue,M.forceKeepAttr||(bl(Te,E),!M.keepAttr))continue;if(!zt&&rt(/\/>/i,Qe)){bl(Te,E);continue}tt&&ho([Z,we,se],pc=>{Qe=ni(Qe,pc," ")});const fc=ge(E.nodeName);if(!!uc(fc,Vr,Qe)){if(Vi&&(Vr==="id"||Vr==="name")&&(bl(Te,E),Qe=Ul+Qe),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!We)switch(y.getAttributeType(fc,Vr)){case"TrustedHTML":{Qe=h.createHTML(Qe);break}case"TrustedScriptURL":{Qe=h.createScriptURL(Qe);break}}try{We?E.setAttributeNS(We,Te,Qe):E.setAttribute(Te,Qe),Bd(t.removed)}catch{}}}Qt("afterSanitizeAttributes",E,null)},Hm=function F(E){let R=null;const M=lc(E);for(Qt("beforeSanitizeShadowDOM",E,null);R=M.nextNode();)Qt("uponSanitizeShadowNode",R,null),!ac(R)&&(R.content instanceof o&&F(R.content),dc(R));Qt("afterSanitizeShadowDOM",E,null)};return t.sanitize=function(F){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=null,M=null,q=null,Ne=null;if(jl=!F,jl&&(F=""),typeof F!="string"&&!sc(F))if(typeof F.toString=="function"){if(F=F.toString(),typeof F!="string")throw ri("dirty is not a string, aborting")}else throw ri("toString is not a function");if(!t.isSupported)return F;if(rn||Bl(E),t.removed=[],typeof F=="string"&&(On=!1),On){if(F.nodeName){const In=ge(F.nodeName);if(!I[In]||ve[In])throw ri("root node is forbidden and cannot be sanitized in-place")}}else if(F instanceof s)R=oc(""),M=R.ownerDocument.importNode(F,!0),M.nodeType===1&&M.nodeName==="BODY"||M.nodeName==="HTML"?R=M:R.appendChild(M);else{if(!$e&&!tt&&!nt&&F.indexOf("<")===-1)return h&&bt?h.createHTML(F):F;if(R=oc(F),!R)return $e?null:bt?S:""}R&&Bt&&Dn(R.firstChild);const Te=lc(On?F:R);for(;q=Te.nextNode();)ac(q)||(q.content instanceof o&&Hm(q.content),dc(q));if(On)return F;if($e){if(Y)for(Ne=N.call(R.ownerDocument);R.firstChild;)Ne.appendChild(R.firstChild);else Ne=R;return(U.shadowroot||U.shadowrootmode)&&(Ne=z.call(r,Ne,!0)),Ne}let We=nt?R.outerHTML:R.innerHTML;return nt&&I["!doctype"]&&R.ownerDocument&&R.ownerDocument.doctype&&R.ownerDocument.doctype.name&&rt(Vh,R.ownerDocument.doctype.name)&&(We=" -`+We),tt&&ho([Z,we,se],In=>{We=ni(We,In," ")}),h&&bt?h.createHTML(We):We},t.setConfig=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Bl(F),rn=!0},t.clearConfig=function(){or=null,rn=!1},t.isValidAttribute=function(F,E,R){or||Bl({});const M=ge(F),q=ge(E);return uc(M,q,R)},t.addHook=function(F,E){typeof E=="function"&&(L[F]=L[F]||[],ti(L[F],E))},t.removeHook=function(F){if(L[F])return Bd(L[F])},t.removeHooks=function(F){L[F]&&(L[F]=[])},t.removeAllHooks=function(){L={}},t}var Jn=Kh(),Gh={exports:{}};/*! + */var Mr=g.exports;function L0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var M0=typeof Object.is=="function"?Object.is:L0,F0=Mr.useState,U0=Mr.useEffect,j0=Mr.useLayoutEffect,z0=Mr.useDebugValue;function B0(e,t){var n=t(),r=F0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return j0(function(){i.value=n,i.getSnapshot=t,ms(i)&&o({inst:i})},[e,n,t]),U0(function(){return ms(i)&&o({inst:i}),e(function(){ms(i)&&o({inst:i})})},[e]),z0(n),n}function ms(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!M0(e,n)}catch{return!0}}function b0(e,t){return t()}var H0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?b0:B0;jh.useSyncExternalStore=Mr.useSyncExternalStore!==void 0?Mr.useSyncExternalStore:H0;(function(e){e.exports=jh})(Uh);const $0=Uh.exports.useSyncExternalStore,jd=g.exports.createContext(void 0),zh=g.exports.createContext(!1);function Bh(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=jd),window.ReactQueryClientContext):jd)}const W0=({context:e}={})=>{const t=g.exports.useContext(Bh(e,g.exports.useContext(zh)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Q0=({client:e,children:t,context:n,contextSharing:r=!1})=>{g.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=Bh(n,r);return u(zh.Provider,{value:!n&&r,children:u(i.Provider,{value:e,children:t})})},bh=g.exports.createContext(!1),V0=()=>g.exports.useContext(bh);bh.Provider;function K0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const G0=g.exports.createContext(K0()),X0=()=>g.exports.useContext(G0);function Y0(e,t){return typeof e=="function"?e(...t):!!e}const q0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},J0=e=>{g.exports.useEffect(()=>{e.clearReset()},[e])},Z0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Y0(n,[e.error,r]);function e1(e,t){const n=W0({context:e.context}),r=V0(),i=X0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=fe.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=fe.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=fe.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),q0(o,i),J0(i);const[l]=g.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if($0(g.exports.useCallback(a=>r?()=>{}:l.subscribe(fe.batchCalls(a)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),g.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(Z0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function Se(e,t,n){const r=Do(e,t,n);return e1(r,D0)}/*! @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:Hh,setPrototypeOf:zd,isFrozen:t1,getPrototypeOf:n1,getOwnPropertyDescriptor:$u}=Object;let{freeze:je,seal:Pt,create:$h}=Object,{apply:Da,construct:Ia}=typeof Reflect<"u"&&Reflect;je||(je=function(t){return t});Pt||(Pt=function(t){return t});Da||(Da=function(t,n,r){return t.apply(n,r)});Ia||(Ia=function(t,n){return new t(...n)});const ho=xt(Array.prototype.forEach),Bd=xt(Array.prototype.pop),ti=xt(Array.prototype.push),Lo=xt(String.prototype.toLowerCase),vs=xt(String.prototype.toString),r1=xt(String.prototype.match),ni=xt(String.prototype.replace),i1=xt(String.prototype.indexOf),o1=xt(String.prototype.trim),rt=xt(RegExp.prototype.test),ri=l1(TypeError);function xt(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]:Lo;zd&&zd(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(t1(t)||(t[r]=o),i=o)}e[i]=!0}return e}function s1(e){for(let t=0;t/gm),f1=Pt(/\${[\w\W]*}/gm),p1=Pt(/^data-[\-\w.\u00B7-\uFFFF]/),h1=Pt(/^aria-[\-\w]+$/),Wh=Pt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),m1=Pt(/^(?:\w+script|data):/i),v1=Pt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qh=Pt(/^html$/i);var Qd=Object.freeze({__proto__:null,MUSTACHE_EXPR:c1,ERB_EXPR:d1,TMPLIT_EXPR:f1,DATA_ATTR:p1,ARIA_ATTR:h1,IS_ALLOWED_URI:Wh,IS_SCRIPT_OR_DATA:m1,ATTR_WHITESPACE:v1,DOCTYPE_NAME:Qh});const g1=function(){return typeof window>"u"?null:window},y1=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 Vh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g1();const t=F=>Vh(F);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:f,DOMParser:p,trustedTypes:y}=e,w=a.prototype,x=mo(w,"cloneNode"),T=mo(w,"nextSibling"),v=mo(w,"childNodes"),m=mo(w,"parentNode");if(typeof l=="function"){const F=n.createElement("template");F.content&&F.content.ownerDocument&&(n=F.content.ownerDocument)}let h,S="";const{implementation:C,createNodeIterator:A,createDocumentFragment:N,getElementsByTagName:k}=n,{importNode:z}=r;let L={};t.isSupported=typeof Hh=="function"&&typeof m=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Z,ERB_EXPR:we,TMPLIT_EXPR:se,DATA_ATTR:re,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:He,ATTR_WHITESPACE:Ze}=Qd;let{IS_ALLOWED_URI:P}=Qd,I=null;const j=H({},[...bd,...gs,...ys,...Es,...Hd]);let U=null;const K=H({},[...$d,...ws,...Wd,...vo]);let b=Object.seal($h(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,et=null,De=!0,ft=!0,nr=!1,zt=!0,tt=!1,nt=!1,rn=!1,Bt=!1,$e=!1,Y=!1,bt=!1,on=!0,Vi=!1;const Ul="user-content-";let Wr=!0,On=!1,ln={},Ht=null;const Ki=H({},["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 W=null;const $t=H({},["audio","video","img","source","image","track"]);let rr=null;const Zu=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gi="http://www.w3.org/1998/Math/MathML",Xi="http://www.w3.org/2000/svg",Wt="http://www.w3.org/1999/xhtml";let ir=Wt,jl=!1,zl=null;const Lm=H({},[Gi,Xi,Wt],vs);let Qr=null;const Mm=["application/xhtml+xml","text/html"],Fm="text/html";let ge=null,or=null;const Um=n.createElement("form"),ec=function(E){return E instanceof RegExp||E instanceof Function},Bl=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(or&&or===E)){if((!E||typeof E!="object")&&(E={}),E=Fn(E),Qr=Mm.indexOf(E.PARSER_MEDIA_TYPE)===-1?Fm:E.PARSER_MEDIA_TYPE,ge=Qr==="application/xhtml+xml"?vs:Lo,I="ALLOWED_TAGS"in E?H({},E.ALLOWED_TAGS,ge):j,U="ALLOWED_ATTR"in E?H({},E.ALLOWED_ATTR,ge):K,zl="ALLOWED_NAMESPACES"in E?H({},E.ALLOWED_NAMESPACES,vs):Lm,rr="ADD_URI_SAFE_ATTR"in E?H(Fn(Zu),E.ADD_URI_SAFE_ATTR,ge):Zu,W="ADD_DATA_URI_TAGS"in E?H(Fn($t),E.ADD_DATA_URI_TAGS,ge):$t,Ht="FORBID_CONTENTS"in E?H({},E.FORBID_CONTENTS,ge):Ki,ve="FORBID_TAGS"in E?H({},E.FORBID_TAGS,ge):{},et="FORBID_ATTR"in E?H({},E.FORBID_ATTR,ge):{},ln="USE_PROFILES"in E?E.USE_PROFILES:!1,De=E.ALLOW_ARIA_ATTR!==!1,ft=E.ALLOW_DATA_ATTR!==!1,nr=E.ALLOW_UNKNOWN_PROTOCOLS||!1,zt=E.ALLOW_SELF_CLOSE_IN_ATTR!==!1,tt=E.SAFE_FOR_TEMPLATES||!1,nt=E.WHOLE_DOCUMENT||!1,$e=E.RETURN_DOM||!1,Y=E.RETURN_DOM_FRAGMENT||!1,bt=E.RETURN_TRUSTED_TYPE||!1,Bt=E.FORCE_BODY||!1,on=E.SANITIZE_DOM!==!1,Vi=E.SANITIZE_NAMED_PROPS||!1,Wr=E.KEEP_CONTENT!==!1,On=E.IN_PLACE||!1,P=E.ALLOWED_URI_REGEXP||Wh,ir=E.NAMESPACE||Wt,b=E.CUSTOM_ELEMENT_HANDLING||{},E.CUSTOM_ELEMENT_HANDLING&&ec(E.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(b.tagNameCheck=E.CUSTOM_ELEMENT_HANDLING.tagNameCheck),E.CUSTOM_ELEMENT_HANDLING&&ec(E.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(b.attributeNameCheck=E.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),E.CUSTOM_ELEMENT_HANDLING&&typeof E.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(b.allowCustomizedBuiltInElements=E.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tt&&(ft=!1),Y&&($e=!0),ln&&(I=H({},Hd),U=[],ln.html===!0&&(H(I,bd),H(U,$d)),ln.svg===!0&&(H(I,gs),H(U,ws),H(U,vo)),ln.svgFilters===!0&&(H(I,ys),H(U,ws),H(U,vo)),ln.mathMl===!0&&(H(I,Es),H(U,Wd),H(U,vo))),E.ADD_TAGS&&(I===j&&(I=Fn(I)),H(I,E.ADD_TAGS,ge)),E.ADD_ATTR&&(U===K&&(U=Fn(U)),H(U,E.ADD_ATTR,ge)),E.ADD_URI_SAFE_ATTR&&H(rr,E.ADD_URI_SAFE_ATTR,ge),E.FORBID_CONTENTS&&(Ht===Ki&&(Ht=Fn(Ht)),H(Ht,E.FORBID_CONTENTS,ge)),Wr&&(I["#text"]=!0),nt&&H(I,["html","head","body"]),I.table&&(H(I,["tbody"]),delete ve.tbody),E.TRUSTED_TYPES_POLICY){if(typeof E.TRUSTED_TYPES_POLICY.createHTML!="function")throw ri('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof E.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ri('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=E.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=y1(y,i)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));je&&je(E),or=E}},tc=H({},["mi","mo","mn","ms","mtext"]),nc=H({},["foreignobject","desc","title","annotation-xml"]),jm=H({},["title","style","font","a","script"]),rc=H({},[...gs,...ys,...a1]),ic=H({},[...Es,...u1]),zm=function(E){let R=m(E);(!R||!R.tagName)&&(R={namespaceURI:ir,tagName:"template"});const M=Lo(E.tagName),q=Lo(R.tagName);return zl[E.namespaceURI]?E.namespaceURI===Xi?R.namespaceURI===Wt?M==="svg":R.namespaceURI===Gi?M==="svg"&&(q==="annotation-xml"||tc[q]):Boolean(rc[M]):E.namespaceURI===Gi?R.namespaceURI===Wt?M==="math":R.namespaceURI===Xi?M==="math"&&nc[q]:Boolean(ic[M]):E.namespaceURI===Wt?R.namespaceURI===Xi&&!nc[q]||R.namespaceURI===Gi&&!tc[q]?!1:!ic[M]&&(jm[M]||!rc[M]):!!(Qr==="application/xhtml+xml"&&zl[E.namespaceURI]):!1},Dn=function(E){ti(t.removed,{element:E});try{E.parentNode.removeChild(E)}catch{E.remove()}},bl=function(E,R){try{ti(t.removed,{attribute:R.getAttributeNode(E),from:R})}catch{ti(t.removed,{attribute:null,from:R})}if(R.removeAttribute(E),E==="is"&&!U[E])if($e||Y)try{Dn(R)}catch{}else try{R.setAttribute(E,"")}catch{}},oc=function(E){let R=null,M=null;if(Bt)E=""+E;else{const Te=r1(E,/^[\r\n\t ]+/);M=Te&&Te[0]}Qr==="application/xhtml+xml"&&ir===Wt&&(E=''+E+"");const q=h?h.createHTML(E):E;if(ir===Wt)try{R=new p().parseFromString(q,Qr)}catch{}if(!R||!R.documentElement){R=C.createDocument(ir,"template",null);try{R.documentElement.innerHTML=jl?S:q}catch{}}const Ne=R.body||R.documentElement;return E&&M&&Ne.insertBefore(n.createTextNode(M),Ne.childNodes[0]||null),ir===Wt?k.call(R,nt?"html":"body")[0]:nt?R.documentElement:Ne},lc=function(E){return A.call(E.ownerDocument||E,E,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},Bm=function(E){return E instanceof f&&(typeof E.nodeName!="string"||typeof E.textContent!="string"||typeof E.removeChild!="function"||!(E.attributes instanceof d)||typeof E.removeAttribute!="function"||typeof E.setAttribute!="function"||typeof E.namespaceURI!="string"||typeof E.insertBefore!="function"||typeof E.hasChildNodes!="function")},sc=function(E){return typeof s=="function"&&E instanceof s},Qt=function(E,R,M){!L[E]||ho(L[E],q=>{q.call(t,R,M,or)})},ac=function(E){let R=null;if(Qt("beforeSanitizeElements",E,null),Bm(E))return Dn(E),!0;const M=ge(E.nodeName);if(Qt("uponSanitizeElement",E,{tagName:M,allowedTags:I}),E.hasChildNodes()&&!sc(E.firstElementChild)&&rt(/<[/\w]/g,E.innerHTML)&&rt(/<[/\w]/g,E.textContent))return Dn(E),!0;if(!I[M]||ve[M]){if(!ve[M]&&cc(M)&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,M)||b.tagNameCheck instanceof Function&&b.tagNameCheck(M)))return!1;if(Wr&&!Ht[M]){const q=m(E)||E.parentNode,Ne=v(E)||E.childNodes;if(Ne&&q){const Te=Ne.length;for(let We=Te-1;We>=0;--We)q.insertBefore(x(Ne[We],!0),T(E))}}return Dn(E),!0}return E instanceof a&&!zm(E)||(M==="noscript"||M==="noembed"||M==="noframes")&&rt(/<\/no(script|embed|frames)/i,E.innerHTML)?(Dn(E),!0):(tt&&E.nodeType===3&&(R=E.textContent,ho([Z,we,se],q=>{R=ni(R,q," ")}),E.textContent!==R&&(ti(t.removed,{element:E.cloneNode()}),E.textContent=R)),Qt("afterSanitizeElements",E,null),!1)},uc=function(E,R,M){if(on&&(R==="id"||R==="name")&&(M in n||M in Um))return!1;if(!(ft&&!et[R]&&rt(re,R))){if(!(De&&rt(de,R))){if(!U[R]||et[R]){if(!(cc(E)&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,E)||b.tagNameCheck instanceof Function&&b.tagNameCheck(E))&&(b.attributeNameCheck instanceof RegExp&&rt(b.attributeNameCheck,R)||b.attributeNameCheck instanceof Function&&b.attributeNameCheck(R))||R==="is"&&b.allowCustomizedBuiltInElements&&(b.tagNameCheck instanceof RegExp&&rt(b.tagNameCheck,M)||b.tagNameCheck instanceof Function&&b.tagNameCheck(M))))return!1}else if(!rr[R]){if(!rt(P,ni(M,Ze,""))){if(!((R==="src"||R==="xlink:href"||R==="href")&&E!=="script"&&i1(M,"data:")===0&&W[E])){if(!(nr&&!rt(He,ni(M,Ze,"")))){if(M)return!1}}}}}}return!0},cc=function(E){return E.indexOf("-")>0},dc=function(E){Qt("beforeSanitizeAttributes",E,null);const{attributes:R}=E;if(!R)return;const M={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U};let q=R.length;for(;q--;){const Ne=R[q],{name:Te,namespaceURI:We,value:In}=Ne,Vr=ge(Te);let Qe=Te==="value"?In:o1(In);if(M.attrName=Vr,M.attrValue=Qe,M.keepAttr=!0,M.forceKeepAttr=void 0,Qt("uponSanitizeAttribute",E,M),Qe=M.attrValue,M.forceKeepAttr||(bl(Te,E),!M.keepAttr))continue;if(!zt&&rt(/\/>/i,Qe)){bl(Te,E);continue}tt&&ho([Z,we,se],pc=>{Qe=ni(Qe,pc," ")});const fc=ge(E.nodeName);if(!!uc(fc,Vr,Qe)){if(Vi&&(Vr==="id"||Vr==="name")&&(bl(Te,E),Qe=Ul+Qe),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!We)switch(y.getAttributeType(fc,Vr)){case"TrustedHTML":{Qe=h.createHTML(Qe);break}case"TrustedScriptURL":{Qe=h.createScriptURL(Qe);break}}try{We?E.setAttributeNS(We,Te,Qe):E.setAttribute(Te,Qe),Bd(t.removed)}catch{}}}Qt("afterSanitizeAttributes",E,null)},bm=function F(E){let R=null;const M=lc(E);for(Qt("beforeSanitizeShadowDOM",E,null);R=M.nextNode();)Qt("uponSanitizeShadowNode",R,null),!ac(R)&&(R.content instanceof o&&F(R.content),dc(R));Qt("afterSanitizeShadowDOM",E,null)};return t.sanitize=function(F){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=null,M=null,q=null,Ne=null;if(jl=!F,jl&&(F=""),typeof F!="string"&&!sc(F))if(typeof F.toString=="function"){if(F=F.toString(),typeof F!="string")throw ri("dirty is not a string, aborting")}else throw ri("toString is not a function");if(!t.isSupported)return F;if(rn||Bl(E),t.removed=[],typeof F=="string"&&(On=!1),On){if(F.nodeName){const In=ge(F.nodeName);if(!I[In]||ve[In])throw ri("root node is forbidden and cannot be sanitized in-place")}}else if(F instanceof s)R=oc(""),M=R.ownerDocument.importNode(F,!0),M.nodeType===1&&M.nodeName==="BODY"||M.nodeName==="HTML"?R=M:R.appendChild(M);else{if(!$e&&!tt&&!nt&&F.indexOf("<")===-1)return h&&bt?h.createHTML(F):F;if(R=oc(F),!R)return $e?null:bt?S:""}R&&Bt&&Dn(R.firstChild);const Te=lc(On?F:R);for(;q=Te.nextNode();)ac(q)||(q.content instanceof o&&bm(q.content),dc(q));if(On)return F;if($e){if(Y)for(Ne=N.call(R.ownerDocument);R.firstChild;)Ne.appendChild(R.firstChild);else Ne=R;return(U.shadowroot||U.shadowrootmode)&&(Ne=z.call(r,Ne,!0)),Ne}let We=nt?R.outerHTML:R.innerHTML;return nt&&I["!doctype"]&&R.ownerDocument&&R.ownerDocument.doctype&&R.ownerDocument.doctype.name&&rt(Qh,R.ownerDocument.doctype.name)&&(We=" +`+We),tt&&ho([Z,we,se],In=>{We=ni(We,In," ")}),h&&bt?h.createHTML(We):We},t.setConfig=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Bl(F),rn=!0},t.clearConfig=function(){or=null,rn=!1},t.isValidAttribute=function(F,E,R){or||Bl({});const M=ge(F),q=ge(E);return uc(M,q,R)},t.addHook=function(F,E){typeof E=="function"&&(L[F]=L[F]||[],ti(L[F],E))},t.removeHook=function(F){if(L[F])return Bd(L[F])},t.removeHooks=function(F){L[F]&&(L[F]=[])},t.removeAllHooks=function(){L={}},t}var Jn=Vh(),Kh={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 r=[],i=0;i{const l=be(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});B.displayName="Container";const Ot=()=>u(B,{id:"spinner_container",children:u("div",{id:"html-spinner"})}),Ce=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const f="http://127.17.0.1:8080/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${f}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const p=await l.headers.get("X-WP-Total");for(;Math.floor(p-r*o)>0;)o++,l=await fetch(`${f}/${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(l=await fetch(`${f}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${f}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},S1=()=>{const e=dt(),t=Se(["news","aktuelles",""],Ce);return t.isLoading?u(Ot,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>O("div",{children:[u("div",{id:"newstitle",children:n.title.rendered}),u("div",{id:"newsdate",children:n.date.slice(0,10)}),u("div",{id:"newscontent",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},C1=({images:e,picName:t})=>{let n="imgs/category/forschung.png";return e&&(n=e),u("div",{className:"picContainer",children:O("div",{className:"service_pic",children:[u("img",{src:n,alt:t}),u("div",{className:"service_pic_caption",children:u("div",{className:"service_pic_text",children:t})})]})})},G=g.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=be(e,"row"),l=Xh(),s=Yh(),a=`${o}-cols`,c=[];return l.forEach(d=>{const f=r[d];delete r[d];let p;f!=null&&typeof f=="object"?{cols:p}=f:p=f;const y=d!==s?`-${d}`:"";p!=null&&c.push(`${a}${y}-${p}`)}),u(n,{ref:i,...r,className:ce(t,o,...c)})});G.displayName="Row";function A1({as:e,bsPrefix:t,className:n,...r}){t=be(t,"col");const i=Xh(),o=Yh(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let d,f,p;typeof c=="object"&&c!=null?{span:d,offset:f,order:p}=c:d=c;const y=a!==o?`-${a}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),p!=null&&s.push(`order${y}-${p}`),f!=null&&s.push(`offset${y}-${f}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const Q=g.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=A1(e);return u(i,{...r,ref:t,className:ce(n,!l.length&&o)})});Q.displayName="Col";const Wu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",k1=()=>{const e=dt(),t=Se(["services","dienstleistungen",""],Ce),n=Se(["landingIntro","pages/28911",""],Ce);return t.isLoading||n.isLoading?u(Ot,{}):((t.isError||n.isError)&&e("/NotMatch404"),O("div",{id:"home-content",children:[u(B,{id:"intro",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{className:"home-service-content",children:u(G,{className:"home-service-row",children:t.data.map(r=>u(Q,{xl:4,lg:4,md:6,className:"home-service-box",children:u(Fe,{to:"/Dienstleistungen",state:r.title.rendered,children:u(C1,{images:r.acf.pic_url,picName:r.title.rendered})})},r.id))})}),u(B,{className:"categoryTitle",children:"AKTUELLES"}),u(B,{children:u(S1,{})}),u(B,{children:u(Fe,{to:"/Projekte/laufend",id:"currentProjects",children:O("span",{children:["Laufende Projekte",u("img",{src:Wu,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var kt={exports:{}},N1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",T1=N1,_1=T1;function qh(){}function Jh(){}Jh.resetWarningCache=qh;var R1=function(){function e(r,i,o,l,s,a){if(a!==_1){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:Jh,resetWarningCache:qh};return n.PropTypes=n,n};kt.exports=R1();function P1(e,t,n){const r=g.exports.useRef(e!==void 0),[i,o]=g.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,g.exports.useCallback((...a)=>{const[c,...d]=a;let f=n==null?void 0:n(c,...d);return o(c),f},[n])]}const fl={prefix:String(Math.round(Math.random()*1e10)),current:0},Zh=Xe.createContext(fl),O1=Xe.createContext(!1);let D1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),xs=new WeakMap;function I1(e=!1){let t=g.exports.useContext(Zh),n=g.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Xe.__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=xs.get(o);l==null?xs.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,xs.delete(o))}n.current=++t.current}return n.current}function L1(e){let t=g.exports.useContext(Zh);t===fl&&!D1&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=I1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function M1(e){let t=Xe.useId(),[n]=g.exports.useState(B1()),r=n?"react-aria":`react-aria${fl.prefix}`;return e||`${r}-${t}`}const F1=typeof Xe.useId=="function"?M1:L1;function U1(){return!1}function j1(){return!0}function z1(e){return()=>{}}function B1(){return typeof Xe.useSyncExternalStore=="function"?Xe.useSyncExternalStore(z1,U1,j1):g.exports.useContext(O1)}const Hr=g.exports.createContext(null),Fr=g.exports.createContext(null),Ui=(e,t=null)=>e!=null?String(e):t||null;function b1(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e},[e]),t}function vt(e){const t=b1(e);return g.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const Vd=e=>!e||typeof e=="function"?e:t=>{e.current=t};function H1(e,t){const n=Vd(e),r=Vd(t);return i=>{n&&n(i),r&&r(i)}}function Wi(e,t){return g.exports.useMemo(()=>H1(e,t),[e,t])}function Qu({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=g.exports.useRef(null),l=g.exports.useRef(t),s=vt(n);g.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=Wi(o,e.ref),c=g.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const $1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],W1=["activeKey","getControlledId","getControllerId"],Q1=["as"];function La(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 em(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:f,onExited:p}=e,y=La(e,$1);const w=g.exports.useContext(Hr);if(!w)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:f,onExited:p}];const{activeKey:x,getControlledId:T,getControllerId:v}=w,m=La(w,W1),h=Ui(n);return[Object.assign({},y,{role:l,id:T(n),"aria-labelledby":v(n)}),{eventKey:n,isActive:t==null&&h!=null?Ui(x)===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:f,onExited:p}]}const tm=g.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=La(e,Q1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,transition:w=Qu}]=em(r);return u(Hr.Provider,{value:null,children:u(Fr.Provider,{value:null,children:u(w,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});tm.displayName="TabPanel";const nm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[d,f]=P1(i,o,r),p=F1(t),y=g.exports.useMemo(()=>n||((x,T)=>p?`${p}-${T}-${x}`:null),[p,n]),w=g.exports.useMemo(()=>({onSelect:f,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:x=>y(x,"tabpane"),getControllerId:x=>y(x,"tab")}),[f,d,l,s,a,y]);return u(Hr.Provider,{value:w,children:u(Fr.Provider,{value:f||null,children:c})})};nm.Panel=tm;function rm(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 Ma(e,t){return Ma=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ma(e,t)}function V1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ma(e,t)}const Kd={disabled:!1},im=Xe.createContext(null);var K1=function(t){return t.scrollTop},ui="unmounted",Un="exited",dn="entering",zn="entered",Fa="exiting",nn=function(e){V1(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=Un,o.appearStatus=dn):a=zn:r.unmountOnExit||r.mountOnEnter?a=ui:a=Un,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:Un}: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!==dn&&l!==zn&&(o=dn):(l===dn||l===zn)&&(o=Fa)}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===dn){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);l&&K1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Un&&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],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!i&&!l||Kd.disabled){this.safeSetState({status:zn},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:dn},function(){o.props.onEntering(c,d),o.onTransitionEnd(p,function(){o.safeSetState({status:zn},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||Kd.disabled){this.safeSetState({status:Un},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Fa},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Un},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=rm(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(im.Provider,{value:null,children:typeof l=="function"?l(i,s):Xe.cloneElement(Xe.Children.only(l),s)})},t}(Xe.Component);nn.contextType=im;nn.propTypes={};function sr(){}nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sr,onEntering:sr,onEntered:sr,onExit:sr,onExiting:sr,onExited:sr};nn.UNMOUNTED=ui;nn.EXITED=Un;nn.ENTERING=dn;nn.ENTERED=zn;nn.EXITING=Fa;function Ml(e){return e&&e.ownerDocument||document}function G1(e){var t=Ml(e);return t&&t.defaultView||window}function X1(e,t){return G1(e).getComputedStyle(e,t)}var Y1=/([A-Z])/g;function q1(e){return e.replace(Y1,"-$1").toLowerCase()}var J1=/^ms-/;function go(e){return q1(e).replace(J1,"-ms-")}var Z1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function eE(e){return!!(e&&Z1.test(e))}function Vn(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(go(t))||X1(e).getPropertyValue(go(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(go(i)):eE(i)?r+=i+"("+o+") ":n+=go(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const $r=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ua=!1,ja=!1;try{var Ss={get passive(){return Ua=!0},get once(){return ja=Ua=!0}};$r&&(window.addEventListener("test",Ss,Ss),window.removeEventListener("test",Ss,!0))}catch{}function om(e,t,n,r){if(r&&typeof r!="boolean"&&!ja){var i=r.once,o=r.capture,l=n;!ja&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,Ua?r:o)}e.addEventListener(t,n,r)}function za(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 pl(e,t,n,r){return om(e,t,n,r),function(){za(e,t,n,r)}}function tE(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 nE(e){var t=Vn(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function rE(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||tE(e,"transitionend",!0)},t+n),o=pl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function lm(e,t,n,r){n==null&&(n=nE(e)||0);var i=rE(e,n,r),o=pl(e,"transitionend",t);return function(){i(),o()}}function Gd(e,t){const n=Vn(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function iE(e,t){const n=Gd(e,"transitionDuration"),r=Gd(e,"transitionDelay"),i=lm(e,o=>{o.target===e&&(i(),t(o))},n+r)}function oE(e){e.offsetHeight}function lE(e){return e&&"setState"in e?xr.findDOMNode(e):e!=null?e:null}const sE=Xe.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},d)=>{const f=g.exports.useRef(null),p=Wi(f,a),y=A=>{p(lE(A))},w=A=>N=>{A&&f.current&&A(f.current,N)},x=g.exports.useCallback(w(e),[e]),T=g.exports.useCallback(w(t),[t]),v=g.exports.useCallback(w(n),[n]),m=g.exports.useCallback(w(r),[r]),h=g.exports.useCallback(w(i),[i]),S=g.exports.useCallback(w(o),[o]),C=g.exports.useCallback(w(l),[l]);return u(nn,{ref:d,...c,onEnter:x,onEntered:v,onEntering:T,onExit:m,onExited:S,onExiting:h,addEndListener:C,nodeRef:f,children:typeof s=="function"?(A,N)=>s(A,{...N,ref:y}):Xe.cloneElement(s,{ref:y})})}),aE={[dn]:"show",[zn]:"show"},Qi=g.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=g.exports.useCallback((a,c)=>{oE(a),r==null||r(a,c)},[r]);return u(sE,{ref:o,addEndListener:iE,...l,onEnter:s,childRef:t.ref,children:(a,c)=>g.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,aE[a],n[a])})})});Qi.displayName="Fade";function sm(e){return typeof e=="boolean"?e?Qi:Qu:e}const am=({transition:e,...t})=>u(nm,{...t,transition:sm(e)});am.displayName="TabContainer";const um=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"tab-content"),u(n,{ref:i,className:ce(e,t),...r})));um.displayName="TabContent";const cm=g.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:w,unmountOnExit:x,transition:T=Qi}]=em({...n,transition:sm(t)}),v=be(e,"tab-pane");return u(Hr.Provider,{value:null,children:u(Fr.Provider,{value:null,children:u(T,{in:s,onEnter:a,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:w,unmountOnExit:x,children:u(o,{...l,ref:r,className:ce(i,v,s&&"active")})})})})});cm.displayName="TabPane";const uE={eventKey:kt.exports.oneOfType([kt.exports.string,kt.exports.number]),title:kt.exports.node.isRequired,disabled:kt.exports.bool,tabClassName:kt.exports.string,tabAttrs:kt.exports.object},dm=()=>{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")};dm.propTypes=uE;const ii=Object.assign(dm,{Container:am,Content:um,Pane:cm});var Xd={exports:{}},Ba={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,d,f){var p=c||"<>",y=f||a;if(s[a]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+p+"`.")):null;for(var w=arguments.length,x=Array(w>6?w-6:0),T=6;T1?d-1:0),p=1;p!t,!1);return e}const Vu=g.exports.createContext(null);Vu.displayName="NavContext";const vE="data-rr-ui-",gE="rrUi";function Fl(e){return`${vE}${e}`}function yE(e){return`${gE}${e}`}const EE=["as","disabled"];function wE(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 xE(e){return!e||e.trim()==="#"}function Ku({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=p=>{if((t||e==="a"&&xE(n))&&p.preventDefault(),t){p.stopPropagation();return}l==null||l(p)},f=p=>{p.key===" "&&(p.preventDefault(),d(p))};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:f},c]}const fm=g.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=wE(e,EE);const[o,{tagName:l}]=Ku(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});fm.displayName="Button";const SE=["as","active","eventKey"];function CE(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=g.exports.useContext(Fr),s=g.exports.useContext(Vu),a=g.exports.useContext(Hr);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const f=s.getControllerId(e!=null?e:null),p=s.getControlledId(e!=null?e:null);d[Fl("event-key")]=e,d.id=f||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(d["aria-controls"]=p)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=vt(f=>{o||(t==null||t(f),e!=null&&l&&!f.isPropagationStopped()&&l(e,f))}),[d,{isActive:c}]}const hm=g.exports.forwardRef((e,t)=>{let{as:n=fm,active:r,eventKey:i}=e,o=CE(e,SE);const[l,s]=pm(Object.assign({key:Ui(i,o.href),active:r},o));return l[Fl("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});hm.displayName="NavItem";const AE=["as","onSelect","activeKey","role","onKeyDown"];function kE(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 qd=()=>{},Jd=Fl("event-key"),mm=g.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=kE(e,AE);const a=mE(),c=g.exports.useRef(!1),d=g.exports.useContext(Fr),f=g.exports.useContext(Hr);let p,y;f&&(o=o||"tablist",i=f.activeKey,p=f.getControlledId,y=f.getControllerId);const w=g.exports.useRef(null),x=h=>{const S=w.current;if(!S)return null;const C=jn(S,`[${Jd}]:not([aria-disabled=true])`),A=S.querySelector("[aria-selected=true]");if(!A||A!==document.activeElement)return null;const N=C.indexOf(A);if(N===-1)return null;let k=N+h;return k>=C.length&&(k=0),k<0&&(k=C.length-1),C[k]},T=(h,S)=>{h!=null&&(r==null||r(h,S),d==null||d(h,S))},v=h=>{if(l==null||l(h),!f)return;let S;switch(h.key){case"ArrowLeft":case"ArrowUp":S=x(-1);break;case"ArrowRight":case"ArrowDown":S=x(1);break;default:return}!S||(h.preventDefault(),T(S.dataset[yE("EventKey")]||null,h),c.current=!0,a())};g.exports.useEffect(()=>{if(w.current&&c.current){const h=w.current.querySelector(`[${Jd}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=Wi(t,w);return u(Fr.Provider,{value:T,children:u(Vu.Provider,{value:{role:o,activeKey:Ui(i),getControlledId:p||qd,getControllerId:y||qd},children:u(n,Object.assign({},s,{onKeyDown:v,ref:m,role:o}))})})});mm.displayName="Nav";const NE=Object.assign(mm,{Item:hm}),vm=g.exports.createContext(null);vm.displayName="NavbarContext";const gm=g.exports.createContext(null);gm.displayName="CardHeaderContext";const ym=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"nav-item"),u(n,{ref:i,className:ce(e,t),...r})));ym.displayName="NavItem";function TE(){return g.exports.useState(null)}function _E(){const e=g.exports.useRef(!0),t=g.exports.useRef(()=>e.current);return g.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function RE(e){const t=g.exports.useRef(null);return g.exports.useEffect(()=>{t.current=e}),t.current}const PE=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",OE=typeof document<"u",Zd=OE||PE?g.exports.useLayoutEffect:g.exports.useEffect,DE=["onKeyDown"];function IE(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 LE(e){return!e||e.trim()==="#"}const Em=g.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=IE(e,DE);const[i]=Ku(Object.assign({tagName:"a"},r)),o=vt(l=>{i.onKeyDown(l),n==null||n(l)});return LE(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});Em.displayName="Anchor";const wm=g.exports.forwardRef(({bsPrefix:e,className:t,as:n=Em,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=be(e,"nav-link");const[a,c]=pm({key:Ui(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")})});wm.displayName="NavLink";const xm=g.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:a,className:c,activeKey:d,...f}=pE(e,{activeKey:"onSelect"}),p=be(r,"nav");let y,w,x=!1;const T=g.exports.useContext(vm),v=g.exports.useContext(gm);return T?(y=T.bsPrefix,x=s==null?!0:s):v&&({cardHeaderBsPrefix:w}=v),u(NE,{as:n,ref:t,activeKey:d,className:ce(c,{[p]:!x,[`${y}-nav`]:x,[`${y}-nav-scroll`]:x&&a,[`${w}-${i}`]:!!w,[`${p}-${i}`]:!!i,[`${p}-fill`]:o,[`${p}-justified`]:l}),...f})});xm.displayName="Nav";const Mo=Object.assign(xm,{Item:ym,Link:wm});function ME(e,t){return e.filter(r=>r.name==t)}function ef(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function tf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function Sm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function FE(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=ef(e.data,o),c=tf(t.data,i),s=s.filter(d=>d.topic.includes(a)==!0&&d.service.includes(c)==!0)):o?(a=ef(e.data,o),s=s.filter(d=>d.topic.includes(a)==!0)):i&&(c=tf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function UE(e,t){let n=e,r=Sm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function Gu(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 Cm=e=>{const t=Gu(e.detail.title.rendered);return u("div",{children:u(B,{id:"project_list",children:u(G,{id:"project_row",children:u(Fe,{id:"selected_projects_list_link",state:e.detail,to:`/Projekt/${t}`,children:O("div",{className:"d-flex justify-content-between selected_projects_list",children:[u("ul",{children:O("li",{children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Wu,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},jE=({service:e,isshownid:t})=>{const n=dt(),r=Se(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],Ce);return r.isLoading?u(Ot,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(Cm,{detail:i},i.id))}))},zE=({serviceinfo:e})=>u("div",{children:u("div",{id:"newscontent",dangerouslySetInnerHTML:{__html:Jn.sanitize(e)}})}),nf=()=>{Rh();const t=jt().state;console.log(t);const n=dt(),[r,i]=g.exports.useState("btn_active"),o=Se(["services","dienstleistungen",""],Ce),l=Se(["showonservicepage","isshownonserviceinfopage",""],Ce);if(o.isLoading||l.isLoading)return u(Ot,{});(o.isError||l.isError)&&n("/NotMatch404");let s=ME(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t,c=()=>{i("btn_active")};return O("div",{children:[u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:O(ii.Container,{id:"tabs",defaultActiveKey:a||o.data[0].title.rendered,children:[O(G,{children:[u(Q,{xl:4,children:u(Mo,{variant:"pills",className:"flex-column",children:o.data.map(d=>u(Mo.Item,{children:u(Mo.Link,{eventKey:d.title.rendered,className:r,onClick:()=>c(),children:d.title.rendered})},d.id))})}),u(Q,{xl:8,children:u(ii.Content,{children:o.data.map(d=>u(ii.Pane,{eventKey:d.title.rendered,children:u("div",{children:u(zE,{serviceinfo:d.content.rendered})})},d.id))})})]}),O(G,{children:[u(Q,{xl:4,className:"service_part2",children:u("div",{className:"service_projects_list_title",children:"Ausgew\xE4hlte Projekte"})}),u(Q,{xl:8,className:" service_part2",children:u(ii.Content,{children:o.data.map(d=>u(ii.Pane,{eventKey:d.title.rendered,children:u("div",{children:u(jE,{service:d.acf.service_taxonomy,isshownid:s[0].id})})},d.id))})})]})]})})]})},BE="/bv2024_frontend/#/assets/unknown.1cd7ed72.png",rf=({image:e,staffName:t,position:n})=>{let r=BE;return e&&(r=e),u("div",{className:"staffPicContainer",children:O("div",{className:"staff_pic",children:[u("img",{src:r,alt:t}),u("div",{className:"staff_pic_caption_1",children:u("div",{className:"staff_pic_text_1",children:t})}),u("div",{className:"staff_pic_caption_2",children:u("div",{className:"staff_pic_text_2",children:n})})]})})},bE="/bv2024_frontend/#/assets/7.449763d8.png",HE=()=>{const e=dt(),t=Se(["staffs","mitarbeitende",""],Ce),n=Se(["landingIntro","pages/28919",""],Ce);return t.isLoading||n.isLoading?u(Ot,{}):((t.isError||n.isError)&&e("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"\xDCBER UNS"}),u(B,{id:"about",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{className:"staffs-content",children:u(G,{className:"staff-row",children:t.data.map(r=>u(Q,{xl:4,lg:4,md:6,sm:12,className:"staff-box",children:u(Fe,{to:`/Mitarbeitende/${Gu(r.title.rendered)}`,state:r.id,children:u(rf,{image:r.acf.foto_url,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u(B,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),u(B,{className:"staffs-content",children:u(G,{children:u(Q,{className:"staff-box",children:u(rf,{image:bE,staffName:"Adrian Vatter",position:"Pr\xE4sident des Verwaltungsrats"})})})}),u("br",{}),u("br",{})]}))},$E="/bv2024_frontend/#/assets/linkedIn_logo_s.3c0149f2.png",WE=({staff:e})=>{let t="imgs/staffs/unknown.png";e.acf.foto&&(t=e.acf.foto_url);const n=e.acf.otherInfo.split(`\r -`);return O("div",{children:[O("div",{id:"staff_box",children:[u("img",{id:"staff_detail_pic",src:t,alt:"staff"}),O("div",{children:[u("div",{id:"staff_name",className:"staff_info",children:e.title.rendered}),u("div",{id:"staff_position",className:"staff_info",children:e.acf.position}),u("ul",{className:"staff_info_position",children:n.map((r,i)=>u("ul",{id:"info_line",children:r},i))}),O("div",{id:"staff_detail_left_bottom_element",children:[u("div",{className:"text_color staff_info_position info_link",children:O("a",{href:"/",children:[e.acf.email," "]})}),u("div",{className:"text_color staff_info_position ",children:e.acf.telephone}),e.acf.linkedin!=""?u("div",{className:"text_color staff_info_position",children:u("a",{href:e.acf.linkedin,className:"info_link",children:u("img",{src:$E,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{id:"back_btn",className:"text_color",children:u("a",{href:"/Mitarbeitende",children:"ZUR\xDCCK"})})]}),u("br",{})]})},QE=({person:e})=>{const t=dt(),n=Se(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],Ce);return n.isLoading?u(Ot,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(Cm,{detail:r},r.id))}))},Am="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",VE=({prop:e})=>u("div",{children:u(B,{className:"pub_list",children:u("ul",{id:"publication_list",children:O("li",{children:[u(G,{children:u("a",{id:"selected_projects_list_link",href:e.acf.url,children:O("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Jn.sanitize(e.title.rendered)}}),u("img",{src:Am,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(G,{children:u("div",{id:"subtitle",dangerouslySetInnerHTML:{__html:Jn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}),KE=({publications:e})=>u("div",{children:e.map(t=>u(VE,{prop:t},t.id))}),GE=({staff:e})=>{const t=dt(),n=e.acf.hauptthemen.split(`\r +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i{const l=be(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return u(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});B.displayName="Container";const Ot=()=>u(B,{id:"spinner_container",children:u("div",{id:"html-spinner"})}),Ce=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const f="http://127.17.0.1:8080/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${f}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const p=await l.headers.get("X-WP-Total");for(;Math.floor(p-r*o)>0;)o++,l=await fetch(`${f}/${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(l=await fetch(`${f}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${f}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},S1=()=>{const e=dt(),t=Se(["news","aktuelles",""],Ce);return t.isLoading?u(Ot,{}):(t.isError&&e("/NotMatch404"),u("div",{id:"landing_news",children:t.data.map(n=>O("div",{children:[u("div",{id:"newstitle",children:n.title.rendered}),u("div",{id:"newsdate",children:n.date.slice(0,10)}),u("div",{id:"newscontent",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.content.rendered)}}),u("hr",{})]},n.id))}))},C1=({images:e,picName:t})=>{let n="imgs/category/forschung.png";return e&&(n=e),u("div",{className:"picContainer",children:O("div",{className:"service_pic",children:[u("img",{src:n,alt:t}),u("div",{className:"service_pic_caption",children:u("div",{className:"service_pic_text",children:t})})]})})},G=g.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=be(e,"row"),l=Gh(),s=Xh(),a=`${o}-cols`,c=[];return l.forEach(d=>{const f=r[d];delete r[d];let p;f!=null&&typeof f=="object"?{cols:p}=f:p=f;const y=d!==s?`-${d}`:"";p!=null&&c.push(`${a}${y}-${p}`)}),u(n,{ref:i,...r,className:ce(t,o,...c)})});G.displayName="Row";function A1({as:e,bsPrefix:t,className:n,...r}){t=be(t,"col");const i=Gh(),o=Xh(),l=[],s=[];return i.forEach(a=>{const c=r[a];delete r[a];let d,f,p;typeof c=="object"&&c!=null?{span:d,offset:f,order:p}=c:d=c;const y=a!==o?`-${a}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),p!=null&&s.push(`order${y}-${p}`),f!=null&&s.push(`offset${y}-${f}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const Q=g.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=A1(e);return u(i,{...r,ref:t,className:ce(n,!l.length&&o)})});Q.displayName="Col";const Wu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB+SURBVHgB7ZTBDYAgDEWfTqKb6OSwiWyiNBBPKoSCB+VdyoH815QG6HyegUIsbFJ3WFdwd/dGdEy+Q2N8pbZAOid0/igpHpFgYjgh3F2NSyXIkagFKckpsGErJurgFpjloN2iJO+NqEW4WtB0TXPCheJHzglXCSIu9dl1fsAB+TU3FFADqzoAAAAASUVORK5CYII=",k1=()=>{const e=dt(),t=Se(["services","dienstleistungen",""],Ce),n=Se(["landingIntro","pages/28911",""],Ce);return t.isLoading||n.isLoading?u(Ot,{}):((t.isError||n.isError)&&e("/NotMatch404"),O("div",{id:"home-content",children:[u(B,{id:"intro",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{className:"home-service-content",children:u(G,{className:"home-service-row",children:t.data.map(r=>u(Q,{xl:4,lg:4,md:6,className:"home-service-box",children:u(Fe,{to:"/Dienstleistungen",state:r.title.rendered,children:u(C1,{images:r.acf.pic_url,picName:r.title.rendered})})},r.id))})}),u(B,{className:"categoryTitle",children:"AKTUELLES"}),u(B,{children:u(S1,{})}),u(B,{children:u(Fe,{to:"/Projekte/laufend",id:"currentProjects",children:O("span",{children:["Laufende Projekte",u("img",{src:Wu,alt:"Laufende Projekte",height:"24px"})]})})})]}))};var kt={exports:{}},N1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",T1=N1,_1=T1;function Yh(){}function qh(){}qh.resetWarningCache=Yh;var R1=function(){function e(r,i,o,l,s,a){if(a!==_1){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:qh,resetWarningCache:Yh};return n.PropTypes=n,n};kt.exports=R1();function P1(e,t,n){const r=g.exports.useRef(e!==void 0),[i,o]=g.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,g.exports.useCallback((...a)=>{const[c,...d]=a;let f=n==null?void 0:n(c,...d);return o(c),f},[n])]}const fl={prefix:String(Math.round(Math.random()*1e10)),current:0},Jh=Xe.createContext(fl),O1=Xe.createContext(!1);let D1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),xs=new WeakMap;function I1(e=!1){let t=g.exports.useContext(Jh),n=g.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Xe.__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=xs.get(o);l==null?xs.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,xs.delete(o))}n.current=++t.current}return n.current}function L1(e){let t=g.exports.useContext(Jh);t===fl&&!D1&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=I1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function M1(e){let t=Xe.useId(),[n]=g.exports.useState(B1()),r=n?"react-aria":`react-aria${fl.prefix}`;return e||`${r}-${t}`}const F1=typeof Xe.useId=="function"?M1:L1;function U1(){return!1}function j1(){return!0}function z1(e){return()=>{}}function B1(){return typeof Xe.useSyncExternalStore=="function"?Xe.useSyncExternalStore(z1,U1,j1):g.exports.useContext(O1)}const Hr=g.exports.createContext(null),Fr=g.exports.createContext(null),Ui=(e,t=null)=>e!=null?String(e):t||null;function b1(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e},[e]),t}function vt(e){const t=b1(e);return g.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const Vd=e=>!e||typeof e=="function"?e:t=>{e.current=t};function H1(e,t){const n=Vd(e),r=Vd(t);return i=>{n&&n(i),r&&r(i)}}function Wi(e,t){return g.exports.useMemo(()=>H1(e,t),[e,t])}function Qu({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=g.exports.useRef(null),l=g.exports.useRef(t),s=vt(n);g.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const a=Wi(o,e.ref),c=g.exports.cloneElement(e,{ref:a});return t?c:i||!l.current&&r?null:c}const $1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],W1=["activeKey","getControlledId","getControllerId"],Q1=["as"];function La(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 Zh(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:a,onEntered:c,onExit:d,onExiting:f,onExited:p}=e,y=La(e,$1);const w=g.exports.useContext(Hr);if(!w)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:f,onExited:p}];const{activeKey:x,getControlledId:T,getControllerId:v}=w,m=La(w,W1),h=Ui(n);return[Object.assign({},y,{role:l,id:T(n),"aria-labelledby":v(n)}),{eventKey:n,isActive:t==null&&h!=null?Ui(x)===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:f,onExited:p}]}const em=g.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=La(e,Q1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,transition:w=Qu}]=Zh(r);return u(Hr.Provider,{value:null,children:u(Fr.Provider,{value:null,children:u(w,{in:o,onEnter:l,onEntering:s,onEntered:a,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,children:u(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});em.displayName="TabPanel";const tm=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:a,children:c}=e,[d,f]=P1(i,o,r),p=F1(t),y=g.exports.useMemo(()=>n||((x,T)=>p?`${p}-${T}-${x}`:null),[p,n]),w=g.exports.useMemo(()=>({onSelect:f,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:a||!1,getControlledId:x=>y(x,"tabpane"),getControllerId:x=>y(x,"tab")}),[f,d,l,s,a,y]);return u(Hr.Provider,{value:w,children:u(Fr.Provider,{value:f||null,children:c})})};tm.Panel=em;function nm(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 Ma(e,t){return Ma=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ma(e,t)}function V1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ma(e,t)}const Kd={disabled:!1},rm=Xe.createContext(null);var K1=function(t){return t.scrollTop},ui="unmounted",Un="exited",dn="entering",zn="entered",Fa="exiting",nn=function(e){V1(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=Un,o.appearStatus=dn):a=zn:r.unmountOnExit||r.mountOnEnter?a=ui:a=Un,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:Un}: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!==dn&&l!==zn&&(o=dn):(l===dn||l===zn)&&(o=Fa)}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===dn){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);l&&K1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Un&&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],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!i&&!l||Kd.disabled){this.safeSetState({status:zn},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:dn},function(){o.props.onEntering(c,d),o.onTransitionEnd(p,function(){o.safeSetState({status:zn},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||Kd.disabled){this.safeSetState({status:Un},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Fa},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Un},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=nm(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return u(rm.Provider,{value:null,children:typeof l=="function"?l(i,s):Xe.cloneElement(Xe.Children.only(l),s)})},t}(Xe.Component);nn.contextType=rm;nn.propTypes={};function sr(){}nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sr,onEntering:sr,onEntered:sr,onExit:sr,onExiting:sr,onExited:sr};nn.UNMOUNTED=ui;nn.EXITED=Un;nn.ENTERING=dn;nn.ENTERED=zn;nn.EXITING=Fa;function Ml(e){return e&&e.ownerDocument||document}function G1(e){var t=Ml(e);return t&&t.defaultView||window}function X1(e,t){return G1(e).getComputedStyle(e,t)}var Y1=/([A-Z])/g;function q1(e){return e.replace(Y1,"-$1").toLowerCase()}var J1=/^ms-/;function go(e){return q1(e).replace(J1,"-ms-")}var Z1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function eE(e){return!!(e&&Z1.test(e))}function Vn(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(go(t))||X1(e).getPropertyValue(go(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(go(i)):eE(i)?r+=i+"("+o+") ":n+=go(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const $r=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ua=!1,ja=!1;try{var Ss={get passive(){return Ua=!0},get once(){return ja=Ua=!0}};$r&&(window.addEventListener("test",Ss,Ss),window.removeEventListener("test",Ss,!0))}catch{}function im(e,t,n,r){if(r&&typeof r!="boolean"&&!ja){var i=r.once,o=r.capture,l=n;!ja&&i&&(l=n.__once||function s(a){this.removeEventListener(t,s,o),n.call(this,a)},n.__once=l),e.addEventListener(t,l,Ua?r:o)}e.addEventListener(t,n,r)}function za(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 pl(e,t,n,r){return im(e,t,n,r),function(){za(e,t,n,r)}}function tE(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 nE(e){var t=Vn(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function rE(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||tE(e,"transitionend",!0)},t+n),o=pl(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function om(e,t,n,r){n==null&&(n=nE(e)||0);var i=rE(e,n,r),o=pl(e,"transitionend",t);return function(){i(),o()}}function Gd(e,t){const n=Vn(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function iE(e,t){const n=Gd(e,"transitionDuration"),r=Gd(e,"transitionDelay"),i=om(e,o=>{o.target===e&&(i(),t(o))},n+r)}function oE(e){e.offsetHeight}function lE(e){return e&&"setState"in e?xr.findDOMNode(e):e!=null?e:null}const sE=Xe.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:a,...c},d)=>{const f=g.exports.useRef(null),p=Wi(f,a),y=A=>{p(lE(A))},w=A=>N=>{A&&f.current&&A(f.current,N)},x=g.exports.useCallback(w(e),[e]),T=g.exports.useCallback(w(t),[t]),v=g.exports.useCallback(w(n),[n]),m=g.exports.useCallback(w(r),[r]),h=g.exports.useCallback(w(i),[i]),S=g.exports.useCallback(w(o),[o]),C=g.exports.useCallback(w(l),[l]);return u(nn,{ref:d,...c,onEnter:x,onEntered:v,onEntering:T,onExit:m,onExited:S,onExiting:h,addEndListener:C,nodeRef:f,children:typeof s=="function"?(A,N)=>s(A,{...N,ref:y}):Xe.cloneElement(s,{ref:y})})}),aE={[dn]:"show",[zn]:"show"},Qi=g.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=g.exports.useCallback((a,c)=>{oE(a),r==null||r(a,c)},[r]);return u(sE,{ref:o,addEndListener:iE,...l,onEnter:s,childRef:t.ref,children:(a,c)=>g.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,aE[a],n[a])})})});Qi.displayName="Fade";function lm(e){return typeof e=="boolean"?e?Qi:Qu:e}const sm=({transition:e,...t})=>u(tm,{...t,transition:lm(e)});sm.displayName="TabContainer";const am=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"tab-content"),u(n,{ref:i,className:ce(e,t),...r})));am.displayName="TabContent";const um=g.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:a,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:w,unmountOnExit:x,transition:T=Qi}]=Zh({...n,transition:lm(t)}),v=be(e,"tab-pane");return u(Hr.Provider,{value:null,children:u(Fr.Provider,{value:null,children:u(T,{in:s,onEnter:a,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:w,unmountOnExit:x,children:u(o,{...l,ref:r,className:ce(i,v,s&&"active")})})})})});um.displayName="TabPane";const uE={eventKey:kt.exports.oneOfType([kt.exports.string,kt.exports.number]),title:kt.exports.node.isRequired,disabled:kt.exports.bool,tabClassName:kt.exports.string,tabAttrs:kt.exports.object},cm=()=>{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")};cm.propTypes=uE;const ii=Object.assign(cm,{Container:sm,Content:am,Pane:um});var Xd={exports:{}},Ba={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,a,c,d,f){var p=c||"<>",y=f||a;if(s[a]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+p+"`.")):null;for(var w=arguments.length,x=Array(w>6?w-6:0),T=6;T1?d-1:0),p=1;p!t,!1);return e}const Vu=g.exports.createContext(null);Vu.displayName="NavContext";const vE="data-rr-ui-",gE="rrUi";function Fl(e){return`${vE}${e}`}function yE(e){return`${gE}${e}`}const EE=["as","disabled"];function wE(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 xE(e){return!e||e.trim()==="#"}function Ku({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=p=>{if((t||e==="a"&&xE(n))&&p.preventDefault(),t){p.stopPropagation();return}l==null||l(p)},f=p=>{p.key===" "&&(p.preventDefault(),d(p))};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:f},c]}const dm=g.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=wE(e,EE);const[o,{tagName:l}]=Ku(Object.assign({tagName:n,disabled:r},i));return u(l,Object.assign({},i,o,{ref:t}))});dm.displayName="Button";const SE=["as","active","eventKey"];function CE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function fm({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=g.exports.useContext(Fr),s=g.exports.useContext(Vu),a=g.exports.useContext(Hr);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const f=s.getControllerId(e!=null?e:null),p=s.getControlledId(e!=null?e:null);d[Fl("event-key")]=e,d.id=f||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(a!=null&&a.unmountOnExit)&&!(a!=null&&a.mountOnEnter))&&(d["aria-controls"]=p)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=vt(f=>{o||(t==null||t(f),e!=null&&l&&!f.isPropagationStopped()&&l(e,f))}),[d,{isActive:c}]}const pm=g.exports.forwardRef((e,t)=>{let{as:n=dm,active:r,eventKey:i}=e,o=CE(e,SE);const[l,s]=fm(Object.assign({key:Ui(i,o.href),active:r},o));return l[Fl("active")]=s.isActive,u(n,Object.assign({},o,l,{ref:t}))});pm.displayName="NavItem";const AE=["as","onSelect","activeKey","role","onKeyDown"];function kE(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 qd=()=>{},Jd=Fl("event-key"),hm=g.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=kE(e,AE);const a=mE(),c=g.exports.useRef(!1),d=g.exports.useContext(Fr),f=g.exports.useContext(Hr);let p,y;f&&(o=o||"tablist",i=f.activeKey,p=f.getControlledId,y=f.getControllerId);const w=g.exports.useRef(null),x=h=>{const S=w.current;if(!S)return null;const C=jn(S,`[${Jd}]:not([aria-disabled=true])`),A=S.querySelector("[aria-selected=true]");if(!A||A!==document.activeElement)return null;const N=C.indexOf(A);if(N===-1)return null;let k=N+h;return k>=C.length&&(k=0),k<0&&(k=C.length-1),C[k]},T=(h,S)=>{h!=null&&(r==null||r(h,S),d==null||d(h,S))},v=h=>{if(l==null||l(h),!f)return;let S;switch(h.key){case"ArrowLeft":case"ArrowUp":S=x(-1);break;case"ArrowRight":case"ArrowDown":S=x(1);break;default:return}!S||(h.preventDefault(),T(S.dataset[yE("EventKey")]||null,h),c.current=!0,a())};g.exports.useEffect(()=>{if(w.current&&c.current){const h=w.current.querySelector(`[${Jd}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=Wi(t,w);return u(Fr.Provider,{value:T,children:u(Vu.Provider,{value:{role:o,activeKey:Ui(i),getControlledId:p||qd,getControllerId:y||qd},children:u(n,Object.assign({},s,{onKeyDown:v,ref:m,role:o}))})})});hm.displayName="Nav";const NE=Object.assign(hm,{Item:pm}),mm=g.exports.createContext(null);mm.displayName="NavbarContext";const vm=g.exports.createContext(null);vm.displayName="CardHeaderContext";const gm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"nav-item"),u(n,{ref:i,className:ce(e,t),...r})));gm.displayName="NavItem";function TE(){return g.exports.useState(null)}function _E(){const e=g.exports.useRef(!0),t=g.exports.useRef(()=>e.current);return g.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function RE(e){const t=g.exports.useRef(null);return g.exports.useEffect(()=>{t.current=e}),t.current}const PE=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",OE=typeof document<"u",Zd=OE||PE?g.exports.useLayoutEffect:g.exports.useEffect,DE=["onKeyDown"];function IE(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 LE(e){return!e||e.trim()==="#"}const ym=g.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=IE(e,DE);const[i]=Ku(Object.assign({tagName:"a"},r)),o=vt(l=>{i.onKeyDown(l),n==null||n(l)});return LE(r.href)||r.role==="button"?u("a",Object.assign({ref:t},r,i,{onKeyDown:o})):u("a",Object.assign({ref:t},r,{onKeyDown:n}))});ym.displayName="Anchor";const Em=g.exports.forwardRef(({bsPrefix:e,className:t,as:n=ym,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=be(e,"nav-link");const[a,c]=fm({key:Ui(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")})});Em.displayName="NavLink";const wm=g.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:a,className:c,activeKey:d,...f}=pE(e,{activeKey:"onSelect"}),p=be(r,"nav");let y,w,x=!1;const T=g.exports.useContext(mm),v=g.exports.useContext(vm);return T?(y=T.bsPrefix,x=s==null?!0:s):v&&({cardHeaderBsPrefix:w}=v),u(NE,{as:n,ref:t,activeKey:d,className:ce(c,{[p]:!x,[`${y}-nav`]:x,[`${y}-nav-scroll`]:x&&a,[`${w}-${i}`]:!!w,[`${p}-${i}`]:!!i,[`${p}-fill`]:o,[`${p}-justified`]:l}),...f})});wm.displayName="Nav";const Mo=Object.assign(wm,{Item:gm,Link:Em});function ME(e,t){return e.filter(r=>r.name==t)}function ef(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function tf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function xm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function FE(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let a=null,c=null;o&&i?(a=ef(e.data,o),c=tf(t.data,i),s=s.filter(d=>d.topic.includes(a)==!0&&d.service.includes(c)==!0)):o?(a=ef(e.data,o),s=s.filter(d=>d.topic.includes(a)==!0)):i&&(c=tf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function UE(e,t){let n=e,r=xm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function Gu(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 Sm=e=>{const t=Gu(e.detail.title.rendered);return u("div",{children:u(B,{id:"project_list",children:u(G,{id:"project_row",children:u(Fe,{id:"selected_projects_list_link",state:e.detail,to:`/Projekt/${t}`,children:O("div",{className:"d-flex justify-content-between selected_projects_list",children:[u("ul",{children:O("li",{children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),u("img",{src:Wu,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},jE=({service:e,isshownid:t})=>{const n=dt(),r=Se(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],Ce);return r.isLoading?u(Ot,{}):(r.isError&&n("/NotMatch404"),u("div",{children:r.data.map(i=>u(Sm,{detail:i},i.id))}))},zE=({serviceinfo:e})=>u("div",{children:u("div",{id:"newscontent",dangerouslySetInnerHTML:{__html:Jn.sanitize(e)}})}),nf=()=>{const t=jt().state;console.log(t);const n=dt(),[r,i]=g.exports.useState("btn_active"),o=Se(["services","dienstleistungen",""],Ce),l=Se(["showonservicepage","isshownonserviceinfopage",""],Ce);if(o.isLoading||l.isLoading)return u(Ot,{});(o.isError||l.isError)&&n("/NotMatch404");let s=ME(l.data,"Ja");const a=t==null?o.data[0].title.rendered:t,c=()=>{i("btn_active")};return O("div",{children:[u(B,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),u(B,{children:O(ii.Container,{id:"tabs",defaultActiveKey:a||o.data[0].title.rendered,children:[O(G,{children:[u(Q,{xl:4,children:u(Mo,{variant:"pills",className:"flex-column",children:o.data.map(d=>u(Mo.Item,{children:u(Mo.Link,{eventKey:d.title.rendered,className:r,onClick:()=>c(),children:d.title.rendered})},d.id))})}),u(Q,{xl:8,children:u(ii.Content,{children:o.data.map(d=>u(ii.Pane,{eventKey:d.title.rendered,children:u("div",{children:u(zE,{serviceinfo:d.content.rendered})})},d.id))})})]}),O(G,{children:[u(Q,{xl:4,className:"service_part2",children:u("div",{className:"service_projects_list_title",children:"Ausgew\xE4hlte Projekte"})}),u(Q,{xl:8,className:" service_part2",children:u(ii.Content,{children:o.data.map(d=>u(ii.Pane,{eventKey:d.title.rendered,children:u("div",{children:u(jE,{service:d.acf.service_taxonomy,isshownid:s[0].id})})},d.id))})})]})]})})]})},BE="/bv2024_frontend/#/assets/unknown.1cd7ed72.png",rf=({image:e,staffName:t,position:n})=>{let r=BE;return e&&(r=e),u("div",{className:"staffPicContainer",children:O("div",{className:"staff_pic",children:[u("img",{src:r,alt:t}),u("div",{className:"staff_pic_caption_1",children:u("div",{className:"staff_pic_text_1",children:t})}),u("div",{className:"staff_pic_caption_2",children:u("div",{className:"staff_pic_text_2",children:n})})]})})},bE="/bv2024_frontend/#/assets/7.449763d8.png",HE=()=>{const e=dt(),t=Se(["staffs","mitarbeitende",""],Ce),n=Se(["landingIntro","pages/28919",""],Ce);return t.isLoading||n.isLoading?u(Ot,{}):((t.isError||n.isError)&&e("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"\xDCBER UNS"}),u(B,{id:"about",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.content.rendered)}}),u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{className:"staffs-content",children:u(G,{className:"staff-row",children:t.data.map(r=>u(Q,{xl:4,lg:4,md:6,sm:12,className:"staff-box",children:u(Fe,{to:`/Mitarbeitende/${Gu(r.title.rendered)}`,state:r.id,children:u(rf,{image:r.acf.foto_url,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),u(B,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),u(B,{className:"staffs-content",children:u(G,{children:u(Q,{className:"staff-box",children:u(rf,{image:bE,staffName:"Adrian Vatter",position:"Pr\xE4sident des Verwaltungsrats"})})})}),u("br",{}),u("br",{})]}))},$E="/bv2024_frontend/#/assets/linkedIn_logo_s.3c0149f2.png",WE=({staff:e})=>{let t="imgs/staffs/unknown.png";e.acf.foto&&(t=e.acf.foto_url);const n=e.acf.otherInfo.split(`\r +`);return O("div",{children:[O("div",{id:"staff_box",children:[u("img",{id:"staff_detail_pic",src:t,alt:"staff"}),O("div",{children:[u("div",{id:"staff_name",className:"staff_info",children:e.title.rendered}),u("div",{id:"staff_position",className:"staff_info",children:e.acf.position}),u("ul",{className:"staff_info_position",children:n.map((r,i)=>u("ul",{id:"info_line",children:r},i))}),O("div",{id:"staff_detail_left_bottom_element",children:[u("div",{className:"text_color staff_info_position info_link",children:O("a",{href:"/",children:[e.acf.email," "]})}),u("div",{className:"text_color staff_info_position ",children:e.acf.telephone}),e.acf.linkedin!=""?u("div",{className:"text_color staff_info_position",children:u("a",{href:e.acf.linkedin,className:"info_link",children:u("img",{src:$E,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),u("div",{id:"back_btn",className:"text_color",children:u("a",{href:"/Mitarbeitende",children:"ZUR\xDCCK"})})]}),u("br",{})]})},QE=({person:e})=>{const t=dt(),n=Se(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],Ce);return n.isLoading?u(Ot,{}):(n.isError&&t("/NotMatch404"),u("div",{children:n.data.map(r=>u(Sm,{detail:r},r.id))}))},Cm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",VE=({prop:e})=>u("div",{children:u(B,{className:"pub_list",children:u("ul",{id:"publication_list",children:O("li",{children:[u(G,{children:u("a",{id:"selected_projects_list_link",href:e.acf.url,children:O("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Jn.sanitize(e.title.rendered)}}),u("img",{src:Cm,width:"24px",height:"24px",alt:"herunterladen"})]})})}),u(G,{children:u("div",{id:"subtitle",dangerouslySetInnerHTML:{__html:Jn.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}),KE=({publications:e})=>u("div",{children:e.map(t=>u(VE,{prop:t},t.id))}),GE=({staff:e})=>{const t=dt(),n=e.acf.hauptthemen.split(`\r `),r=e.acf.mitgliedschaften.split(`\r -`),i=Se(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],Ce);return i.isLoading?u(Ot,{}):(i.isError&&t("/NotMatch404"),O("div",{children:[e.acf.ausbildung!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Ausgew\xE4hlte Projekte"}),u(QE,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Publikationen"}),u(KE,{publications:i.data}),u("hr",{})]}):null,r!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},XE=()=>{const t=jt().state,n=dt(),r=Se(["staffdetails",`mitarbeitende/${t}`,""],Ce);return r.isLoading?u(Ot,{}):(r.isError&&n("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{className:"staff-detail",children:O(G,{children:[u(Q,{xl:4,children:u(WE,{staff:r.data})}),u(Q,{xl:8,children:u(GE,{staff:r.data})})]})})]}))},YE=({images:e,picName:t})=>{let n="imgs/topics/gesundheit.png";return e&&(n=e),u("div",{className:"topicPicContainer",children:O("div",{className:"topic_pic",children:[u("img",{src:n,alt:t}),u("div",{className:"topic_pic_caption",children:u("div",{className:"topic_pic_text",children:t})})]})})},qE=()=>{const e=dt(),t=Se(["alltopics","themen",""],Ce);return t.isLoading?u(Ot,{}):(t.isError&&e("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"THEMEN"}),u(B,{className:"topics-content",children:u(G,{className:"topic-row",children:t.data.map(n=>u(Q,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:"topic-box",children:u(Fe,{to:`/Projekte?${al({Themen:n.title.rendered})}`,children:u(YE,{images:n.acf.image_url,picName:n.title.rendered})})},n.id))})})]}))},JE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",ZE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",ew=e=>{const t=Gu(e.title);return console.log(e),u("div",{children:O(B,{id:"project_list",children:[O(G,{id:"project_row",className:"gx-3",children:[u(Q,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:JE,alt:"laufend"}):u("img",{src:ZE,alt:"finished"})}),u(Q,{children:O(G,{children:[e.laufend?u("div",{className:"list_smallFont_red",children:"laufend"}):u("div",{className:"list_smallFont",children:e.detail.acf.Jahr}),u("div",{className:"list_smallFont",children:e.detail.acf.auftraggeber}),u(Fe,{className:"project_list_btn",to:`/Projekt/${t}`,state:e.detail,children:O("div",{className:"d-flex justify-content-between",children:[u("div",{className:"list_title",children:e.title}),u("img",{className:"project_list_arrow",src:Wu,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{id:"sep"})]})})},tw="_container_19lop_1",nw="_withbtn_19lop_25",rw="_hr_19lop_37",iw="_resetBtn_19lop_47",ow="_show_19lop_73",lw="_pageBtn_19lop_81",sw="_selected_19lop_109",aw="_arrowBtn_19lop_119",uw="_pageline_19lop_141",cw="_curPageNum_19lop_157",ot={container:tw,withbtn:nw,hr:rw,resetBtn:iw,show:ow,pageBtn:lw,selected:sw,arrowBtn:aw,pageline:uw,curPageNum:cw},dw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACESURBVHgB7ZJLCsAgDETHnsTepJ7c3qS5SX8IhWLUCa5aByQLw3uQBBj5fJz2sQLbVRdg1noi4N1d9L4Jenx6NbgvMIoCNMJlB0I3QQ5+0qWLgIVTAgucEljglMCaZkG6FEEaVaycJy0IzzkKI6FGZJHQO2AlpiXnJBaBoHCKL8nIn3MAvgE5HHHPpwIAAAAASUVORK5CYII=",fw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACFSURBVHgB7ZNBEoAgDAOj40P0J/Jy/In+ROl44AJpGXpScuGQTjaUARj6vKaacQCnnDcQAnBpczuwlfwZXGtqEGM62QyIXwVIc7zNLRA0A2QtHhC6Ig+I9gbdEBVQg8AoE6BHJkDMrVfk2/gASuHs4zUBesMpwCOcAjzCRYviW8KZN/QHPTI9Oj4ImhoZAAAAAElFTkSuQmCC",pw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgB7ZThDYIwEIWfxgEYwRF0AzuCG3QTV3AD3UA3oE6gG+gIbIAP2h+EhNwDwh/SL7n0fhzvcW2vQCYzxAu4NIElCMCNUTPeVu0WIwkU5+IZvxo4W/UbiJRAweIH0xOjovjR0cT6bgeBJM4FhyTuFPEGs4MB8Q9ElDO4ThVXDQrMQDHwiH/dblUZu5GRbtGcc5DmwCVRpk9M7ESGwvcQp/jLfI8l6JiYT4U0aH24V54mFcRhy6ycPx1eOJs+D9WEAAAAAElFTkSuQmCC",hw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC3SURBVHgB7ZKxDcIwEEVfYAFGyCiwAS0VYYNsAJswAmxANoANyAihpDLfwaKg4GzTIOEnfdnF3f/S3UGhcIJW2pHJJKJmXsG2gz0ZxAS0Ui81XWaIiUZUd3CV3M+FVCTgQ9Rw1ncmHR1sFjB86onZwQuZ9W58RtOlwg5WT1JAYAhCYTerOCkgjEgPtXSRGqsnegfv5n5U1vyjA3LNowK+MfeYOwiXUueYe6ZWwRruPK9llWpe+BMe4XE53EuHnYQAAAAASUVORK5CYII=",mw=({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:O("span",{className:ot.pageelement,children:[u("button",{className:ot.arrowBtn,onClick:()=>{n(1)},children:u("img",{src:dw,alt:"firstpage",width:"20px",height:"20px"})}),O("button",{className:ot.arrowBtn,onClick:()=>{r!=1&&n(r-1)},children:[" ",u("img",{src:pw,alt:"prepage",width:"20px",height:"20px"})]}),O("span",{className:ot.pageBtn,children:["Seite ",r,"/",i.length]}),O("button",{className:ot.arrowBtn,onClick:()=>{r!=i.length&&n(r+1)},children:[" ",u("img",{src:hw,alt:"nextpage",width:"20px",height:"20px"})]}),O("button",{className:ot.arrowBtn,onClick:()=>{n(i.length)},children:[" ",u("img",{src:fw,alt:"lastpage",width:"20px",height:"20px"})]})]})})},vw=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=g.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return g.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":O("div",{children:[l.map(a=>u(ew,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:ot.pageline,children:u(mw,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class gw extends g.exports.Component{constructor(){super(...arguments);hc(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?O("h2",{children:["There was an error with this listing. ",u(Fe,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const yw="_container_a6nic_1",Ew="_red_a6nic_37",ww="_white_a6nic_57",xw="_value_a6nic_75",Sw="_clearbtn_a6nic_83",Cw="_show_a6nic_109",Aw="_arrow_a6nic_133",kw="_up_a6nic_175",Nw="_down_a6nic_187",Tw="_options_a6nic_203",_w="_option_a6nic_203",Rw="_selected_a6nic_289",Pw="_highlighted_a6nic_299",Ie={container:yw,red:Ew,white:ww,value:xw,clearbtn:Sw,show:Cw,arrow:Aw,up:kw,down:Nw,options:Tw,option:_w,selected:Rw,highlighted:Pw},of=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=g.exports.useState(!1),[a,c]=g.exports.useState(e!=null),[d,f]=g.exports.useState(e==null),[p,y]=g.exports.useState(!e),[w,x]=g.exports.useState(!0),[T,v]=g.exports.useState("");function m(){n(void 0),c(!1),f(!0),y(!0),x(!0),o(!1)}function h(C){n(C)}function S(C){return C==t}return g.exports.useEffect(()=>{l&&v(0)},[l]),g.exports.useEffect(()=>{i&&m()},[i]),O("div",{onBlur:()=>{s(!1),x(!0)},onClick:()=>{s(C=>!C),x(C=>!C)},tabIndex:0,className:`${Ie.container} ${d?Ie.red:Ie.white}`,children:[u("span",{className:Ie.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${Ie.clearbtn} ${a?Ie.show:""}`,children:"\xD7"}),u("div",{className:`${Ie.arrow} ${w?Ie.down:Ie.up} ${p?Ie.show:""} }`}),u("ul",{className:`${Ie.options} ${l?Ie.show:""}`,children:r.map((C,A)=>u("ul",{onClick:N=>{N.stopPropagation(),h(C.title.rendered),c(!0),f(!1),s(!1),y(!1)},onMouseEnter:()=>v(A),className:`${Ie.option} ${S(C.title.rendered)?Ie.selected:""} ${A==T?Ie.highlighted:""}`,children:C.title.rendered},C.id))})]})},Ow=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=g.exports.useState(""),[o,l]=g.exports.useState(!0),s=c=>{c.target.value.length<=1&&c.key=="Backspace"&&(l(!0),i(""),e(""))},a=c=>{i(c.target.value),e(c.target.value),c.target.value==""?l(!0):l(!1)};return g.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{children:u("label",{htmlFor:"titleName",className:"search_label",children:O("div",{className:"clear-input-container",children:[u("input",{type:"text",id:"titleName",name:"searchtext",value:r,placeholder:"Suchen nach Title . . .",onChange:a,onKeyDown:s}),u("button",{id:"clearSearch",type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},Dw=()=>{const e=Rh(),t=dt(),[n,r]=v0(),[i,o]=g.exports.useState(""),[l,s]=g.exports.useState(void 0),[a,c]=g.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,f]=g.exports.useState(e.id=="laufend"),[p,y]=g.exports.useState(!1),[w,x]=g.exports.useState(!1);function T(re){c(re),r(de=>(re==null?de.delete("Themen"):de.append("Themen",re),de)),x(!0)}function v(re){s(re),r(de=>(re==null?de.delete("Dienstleistungen"):de.append("Dienstleistungen",re),de)),x(!0)}function m(){y(!1),x(!1)}function h(re){o(re),r(de=>(re==""?de.delete("Titel"):(de.delete("Titel"),de.append("Titel",re)),de)),x(re)}function S(){y(!0),f(!1),c(void 0),s(void 0),o(""),x(!1),t("/Projekte")}const C=Se(["allprojects","projekte",""],Ce),A=Se(["alltopics","themen",""],Ce),N=Se(["services","dienstleistungen",""],Ce),k=Se(["istlaufend","istlaufend",""],Ce);if(C.isLoading||A.isLoading||N.isLoading||k.isLoading)return u(Ot,{});(C.isError||A.isError||N.isError||k.isError)&&t("/NotMatch404");let z=Sm(k.data,"Ja");const L=UE(C.data,k),we=(d?L:C.data).filter(re=>re.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),se=FE(A,N,we,d?L:C.data,l,a,i);return O("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:O(G,{children:[O(Q,{xxl:4,children:[u(Ow,{onChange:h,isClear:p,isCleared:m}),u("br",{}),O("div",{className:"filter_label",children:["Filtern nach Thema:",u("br",{}),u(of,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:A.data,onChange:T,isClear:p,isCleared:m})]}),O("div",{className:"filter_label",children:["Filtern nach Dienstleistung:",u("br",{}),u(of,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:N.data,onChange:v,isClear:p,isCleared:m})]})]}),O(Q,{xxl:8,xl:12,children:[O("div",{className:`${ot.container} +`),i=Se(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],Ce);return i.isLoading?u(Ot,{}):(i.isError&&t("/NotMatch404"),O("div",{children:[e.acf.ausbildung!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Ausbildung"}),e.acf.ausbildung,u("hr",{})]}):null,n!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Hauptthemen"}),u("ul",{children:n.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,e.acf.selected_projects!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Ausgew\xE4hlte Projekte"}),u(QE,{person:e.acf.mitarbeitende_taxonomy}),u("hr",{})]}):null,e.acf.publikationen!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Publikationen"}),u(KE,{publications:i.data}),u("hr",{})]}):null,r!=""?O("div",{className:"section-box",children:[u("h2",{className:"staffdetail_title",children:"Mitgliedschaften"}),u("ul",{children:r.map((o,l)=>u("li",{children:o},l))}),u("hr",{})]}):null,u("br",{})]}))},XE=()=>{const t=jt().state,n=dt(),r=Se(["staffdetails",`mitarbeitende/${t}`,""],Ce);return r.isLoading?u(Ot,{}):(r.isError&&n("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"MITARBEITENDE"}),u(B,{className:"staff-detail",children:O(G,{children:[u(Q,{xl:4,children:u(WE,{staff:r.data})}),u(Q,{xl:8,children:u(GE,{staff:r.data})})]})})]}))},YE=({images:e,picName:t})=>{let n="imgs/topics/gesundheit.png";return e&&(n=e),u("div",{className:"topicPicContainer",children:O("div",{className:"topic_pic",children:[u("img",{src:n,alt:t}),u("div",{className:"topic_pic_caption",children:u("div",{className:"topic_pic_text",children:t})})]})})},qE=()=>{const e=dt(),t=Se(["alltopics","themen",""],Ce);return t.isLoading?u(Ot,{}):(t.isError&&e("/NotMatch404"),O("div",{children:[u(B,{className:"categoryTitle",children:"THEMEN"}),u(B,{className:"topics-content",children:u(G,{className:"topic-row",children:t.data.map(n=>u(Q,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:"topic-box",children:u(Fe,{to:`/Projekte?${al({Themen:n.title.rendered})}`,children:u(YE,{images:n.acf.image_url,picName:n.title.rendered})})},n.id))})})]}))},JE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",ZE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",ew=e=>{const t=Gu(e.title);return console.log(e),u("div",{children:O(B,{id:"project_list",children:[O(G,{id:"project_row",className:"gx-3",children:[u(Q,{xs:"auto d-flex align-items-center",children:e.laufend?u("img",{src:JE,alt:"laufend"}):u("img",{src:ZE,alt:"finished"})}),u(Q,{children:O(G,{children:[e.laufend?u("div",{className:"list_smallFont_red",children:"laufend"}):u("div",{className:"list_smallFont",children:e.detail.acf.Jahr}),u("div",{className:"list_smallFont",children:e.detail.acf.auftraggeber}),u(Fe,{className:"project_list_btn",to:`/Projekt/${t}`,state:e.detail,children:O("div",{className:"d-flex justify-content-between",children:[u("div",{className:"list_title",children:e.title}),u("img",{className:"project_list_arrow",src:Wu,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),u("hr",{id:"sep"})]})})},tw="_container_19lop_1",nw="_withbtn_19lop_25",rw="_hr_19lop_37",iw="_resetBtn_19lop_47",ow="_show_19lop_73",lw="_pageBtn_19lop_81",sw="_selected_19lop_109",aw="_arrowBtn_19lop_119",uw="_pageline_19lop_141",cw="_curPageNum_19lop_157",ot={container:tw,withbtn:nw,hr:rw,resetBtn:iw,show:ow,pageBtn:lw,selected:sw,arrowBtn:aw,pageline:uw,curPageNum:cw},dw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACESURBVHgB7ZJLCsAgDETHnsTepJ7c3qS5SX8IhWLUCa5aByQLw3uQBBj5fJz2sQLbVRdg1noi4N1d9L4Jenx6NbgvMIoCNMJlB0I3QQ5+0qWLgIVTAgucEljglMCaZkG6FEEaVaycJy0IzzkKI6FGZJHQO2AlpiXnJBaBoHCKL8nIn3MAvgE5HHHPpwIAAAAASUVORK5CYII=",fw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACFSURBVHgB7ZNBEoAgDAOj40P0J/Jy/In+ROl44AJpGXpScuGQTjaUARj6vKaacQCnnDcQAnBpczuwlfwZXGtqEGM62QyIXwVIc7zNLRA0A2QtHhC6Ig+I9gbdEBVQg8AoE6BHJkDMrVfk2/gASuHs4zUBesMpwCOcAjzCRYviW8KZN/QHPTI9Oj4ImhoZAAAAAElFTkSuQmCC",pw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgB7ZThDYIwEIWfxgEYwRF0AzuCG3QTV3AD3UA3oE6gG+gIbIAP2h+EhNwDwh/SL7n0fhzvcW2vQCYzxAu4NIElCMCNUTPeVu0WIwkU5+IZvxo4W/UbiJRAweIH0xOjovjR0cT6bgeBJM4FhyTuFPEGs4MB8Q9ElDO4ThVXDQrMQDHwiH/dblUZu5GRbtGcc5DmwCVRpk9M7ESGwvcQp/jLfI8l6JiYT4U0aH24V54mFcRhy6ycPx1eOJs+D9WEAAAAAElFTkSuQmCC",hw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC3SURBVHgB7ZKxDcIwEEVfYAFGyCiwAS0VYYNsAJswAmxANoANyAihpDLfwaKg4GzTIOEnfdnF3f/S3UGhcIJW2pHJJKJmXsG2gz0ZxAS0Ui81XWaIiUZUd3CV3M+FVCTgQ9Rw1ncmHR1sFjB86onZwQuZ9W58RtOlwg5WT1JAYAhCYTerOCkgjEgPtXSRGqsnegfv5n5U1vyjA3LNowK+MfeYOwiXUueYe6ZWwRruPK9llWpe+BMe4XE53EuHnYQAAAAASUVORK5CYII=",mw=({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:O("span",{className:ot.pageelement,children:[u("button",{className:ot.arrowBtn,onClick:()=>{n(1)},children:u("img",{src:dw,alt:"firstpage",width:"20px",height:"20px"})}),O("button",{className:ot.arrowBtn,onClick:()=>{r!=1&&n(r-1)},children:[" ",u("img",{src:pw,alt:"prepage",width:"20px",height:"20px"})]}),O("span",{className:ot.pageBtn,children:["Seite ",r,"/",i.length]}),O("button",{className:ot.arrowBtn,onClick:()=>{r!=i.length&&n(r+1)},children:[" ",u("img",{src:hw,alt:"nextpage",width:"20px",height:"20px"})]}),O("button",{className:ot.arrowBtn,onClick:()=>{n(i.length)},children:[" ",u("img",{src:fw,alt:"lastpage",width:"20px",height:"20px"})]})]})})},vw=({projects:e,istlaufend:t,filterApplied:n})=>{const[r,i]=g.exports.useState(1),o=10,l=e.slice(r*o-o,r*o),s=a=>{i(a)};return g.exports.useEffect(()=>{n&&i(1)},[n]),e.length==0?"No Project Is Found":O("div",{children:[l.map(a=>u(ew,{title:a.title.rendered,laufzeit:a.acf.Jahr,auftraggeber:a.acf.auftraggeber,laufend:a.istlaufend==t,detail:a},a.id)),u("div",{className:ot.pageline,children:u(mw,{pageCount:e.length,postsPerPage:o,onPageChange:s,currentPage:r})})]})};class gw extends g.exports.Component{constructor(){super(...arguments);hc(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?O("h2",{children:["There was an error with this listing. ",u(Fe,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const yw="_container_a6nic_1",Ew="_red_a6nic_37",ww="_white_a6nic_57",xw="_value_a6nic_75",Sw="_clearbtn_a6nic_83",Cw="_show_a6nic_109",Aw="_arrow_a6nic_133",kw="_up_a6nic_175",Nw="_down_a6nic_187",Tw="_options_a6nic_203",_w="_option_a6nic_203",Rw="_selected_a6nic_289",Pw="_highlighted_a6nic_299",Ie={container:yw,red:Ew,white:ww,value:xw,clearbtn:Sw,show:Cw,arrow:Aw,up:kw,down:Nw,options:Tw,option:_w,selected:Rw,highlighted:Pw},of=({isPreSelected:e,value:t,onChange:n,options:r,isClear:i,isCleared:o})=>{const[l,s]=g.exports.useState(!1),[a,c]=g.exports.useState(e!=null),[d,f]=g.exports.useState(e==null),[p,y]=g.exports.useState(!e),[w,x]=g.exports.useState(!0),[T,v]=g.exports.useState("");function m(){n(void 0),c(!1),f(!0),y(!0),x(!0),o(!1)}function h(C){n(C)}function S(C){return C==t}return g.exports.useEffect(()=>{l&&v(0)},[l]),g.exports.useEffect(()=>{i&&m()},[i]),O("div",{onBlur:()=>{s(!1),x(!0)},onClick:()=>{s(C=>!C),x(C=>!C)},tabIndex:0,className:`${Ie.container} ${d?Ie.red:Ie.white}`,children:[u("span",{className:Ie.value,children:t}),u("button",{onClick:C=>{C.stopPropagation(),m()},className:`${Ie.clearbtn} ${a?Ie.show:""}`,children:"\xD7"}),u("div",{className:`${Ie.arrow} ${w?Ie.down:Ie.up} ${p?Ie.show:""} }`}),u("ul",{className:`${Ie.options} ${l?Ie.show:""}`,children:r.map((C,A)=>u("ul",{onClick:N=>{N.stopPropagation(),h(C.title.rendered),c(!0),f(!1),s(!1),y(!1)},onMouseEnter:()=>v(A),className:`${Ie.option} ${S(C.title.rendered)?Ie.selected:""} ${A==T?Ie.highlighted:""}`,children:C.title.rendered},C.id))})]})},Ow=({onChange:e,isClear:t,isCleared:n})=>{const[r,i]=g.exports.useState(""),[o,l]=g.exports.useState(!0),s=c=>{c.target.value.length<=1&&c.key=="Backspace"&&(l(!0),i(""),e(""))},a=c=>{i(c.target.value),e(c.target.value),c.target.value==""?l(!0):l(!1)};return g.exports.useEffect(()=>{t&&(i(""),l(!0),n(!1))},[t,n]),u("div",{children:u("label",{htmlFor:"titleName",className:"search_label",children:O("div",{className:"clear-input-container",children:[u("input",{type:"text",id:"titleName",name:"searchtext",value:r,placeholder:"Suchen nach Title . . .",onChange:a,onKeyDown:s}),u("button",{id:"clearSearch",type:"reset","aria-label":"Clear input",title:"Clear input",hidden:o,onClick:()=>{l(!0),i(""),e("")},children:"\xD7"})]})})})},Dw=()=>{const e=Zy(),t=dt(),[n,r]=v0(),[i,o]=g.exports.useState(""),[l,s]=g.exports.useState(void 0),[a,c]=g.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,f]=g.exports.useState(e.id=="laufend"),[p,y]=g.exports.useState(!1),[w,x]=g.exports.useState(!1);function T(re){c(re),r(de=>(re==null?de.delete("Themen"):de.append("Themen",re),de)),x(!0)}function v(re){s(re),r(de=>(re==null?de.delete("Dienstleistungen"):de.append("Dienstleistungen",re),de)),x(!0)}function m(){y(!1),x(!1)}function h(re){o(re),r(de=>(re==""?de.delete("Titel"):(de.delete("Titel"),de.append("Titel",re)),de)),x(re)}function S(){y(!0),f(!1),c(void 0),s(void 0),o(""),x(!1),t("/Projekte")}const C=Se(["allprojects","projekte",""],Ce),A=Se(["alltopics","themen",""],Ce),N=Se(["services","dienstleistungen",""],Ce),k=Se(["istlaufend","istlaufend",""],Ce);if(C.isLoading||A.isLoading||N.isLoading||k.isLoading)return u(Ot,{});(C.isError||A.isError||N.isError||k.isError)&&t("/NotMatch404");let z=xm(k.data,"Ja");const L=UE(C.data,k),we=(d?L:C.data).filter(re=>re.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),se=FE(A,N,we,d?L:C.data,l,a,i);return O("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:O(G,{children:[O(Q,{xxl:4,children:[u(Ow,{onChange:h,isClear:p,isCleared:m}),u("br",{}),O("div",{className:"filter_label",children:["Filtern nach Thema:",u("br",{}),u(of,{isPreSelected:a!=null?a:void 0,value:a!=null?a:"Alle Themen",options:A.data,onChange:T,isClear:p,isCleared:m})]}),O("div",{className:"filter_label",children:["Filtern nach Dienstleistung:",u("br",{}),u(of,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:N.data,onChange:v,isClear:p,isCleared:m})]})]}),O(Q,{xxl:8,xl:12,children:[O("div",{className:`${ot.container} ${se.length==C.data.length?"":ot.withbtn} `,children:[u("span",{className:ot.text,children:se.length==C.data.length?"Alle Projekte":`${se.length} Projekte gefunden.`}),u("button",{className:`${ot.resetBtn} ${se.length==C.data.length?"":ot.show} - `,onClick:S,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:ot.hr}),u(vw,{projects:se,istlaufend:z,filterApplied:w})]})]})})]})};function lf(e){return u(gw,{children:u(Dw,{...e})})}const Iw="/bv2024_frontend/#/assets/map.33be5f33.png",Lw=()=>O("div",{children:[u(B,{className:"categoryTitle",children:"KONTAKT"}),u(B,{id:"message",children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),O(B,{children:[O(G,{id:"contact-row",children:[u(Q,{xl:7,lg:8,xs:12,children:u("img",{id:"map",src:Iw,alt:"map"})}),O(Q,{xl:5,lg:4,xs:12,children:[O("div",{id:"contact_company_name",children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),O("div",{className:"contact_info",children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:"contact_info",children:"+41 31 312 65 75"}),u("br",{}),u("div",{children:u(Fe,{to:"",className:"contact_info email_link",children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),O(G,{children:[u(Q,{children:u(Fe,{to:"",className:"addr_info",children:"Google Maps"})}),u(Q,{children:u(Fe,{to:"",className:"addr_info",children:"Printable Map"})})]})]})]}),u("div",{id:"contact_addr_title",children:"Wegbeschreibung ab Bahnhof Bern"}),O("p",{id:"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",{})]})]}),Mw=()=>u("div",{children:"Page Not Found"}),Fw=()=>u(B,{className:"categoryTitle",children:"IMPRINT"}),Uw=()=>u(B,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),km=g.exports.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:i=!1,disabled:o=!1,className:l,...s},a)=>{const c=be(t,"btn"),[d,{tagName:f}]=Ku({tagName:e,disabled:o,...s});return u(f,{...d,...s,ref:a,disabled:o,className:ce(l,c,i&&"active",n&&`${c}-${n}`,r&&`${c}-${r}`,s.href&&o&&"disabled")})});km.displayName="Button";var yo;function sf(e){if((!yo&&yo!==0||e)&&$r){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),yo=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return yo}function jw(e){const t=g.exports.useRef(e);return t.current=e,t}function Nm(e){const t=jw(e);g.exports.useEffect(()=>()=>t.current(),[])}function Cs(e){e===void 0&&(e=Ml());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function af(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function zw(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const uf=Fl("modal-open");class Xu{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return zw(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(Vn(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(uf,""),Vn(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(uf),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 Tm=g.exports.createContext($r?window:void 0);Tm.Provider;function Yu(){return g.exports.useContext(Tm)}const As=(e,t)=>$r?e==null?(t||Ml()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function Bw(e,t){const n=Yu(),[r,i]=g.exports.useState(()=>As(e,n==null?void 0:n.document));if(!r){const o=As(e);o&&i(o)}return g.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),g.exports.useEffect(()=>{const o=As(e);o!==r&&i(o)},[e,r]),r}function bw({in:e,onTransition:t}){const n=g.exports.useRef(null),r=g.exports.useRef(!0),i=vt(t);return Zd(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Zd(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function Hw({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=g.exports.useState(!t);t&&o&&l(!1);const s=bw({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,f=>{throw c.in||l(!0),f})}}),a=Wi(s,e.ref);return o&&!t?null:g.exports.cloneElement(e,{ref:a})}function cf(e,t,n){return e?u(e,Object.assign({},n)):t?u(Hw,Object.assign({},n,{transition:t})):u(Qu,Object.assign({},n))}function $w(e){return e.code==="Escape"||e.keyCode===27}const Ww=["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 Qw(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 ks;function Vw(e){return ks||(ks=new Xu({ownerDocument:e==null?void 0:e.document})),ks}function Kw(e){const t=Yu(),n=e||Vw(t),r=g.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:g.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:g.exports.useCallback(i=>{r.current.backdrop=i},[])})}const _m=g.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:a=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:y,runBackdropTransition:w,autoFocus:x=!0,enforceFocus:T=!0,restoreFocus:v=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:S=Y=>u("div",Object.assign({},Y)),manager:C,container:A,onShow:N,onHide:k=()=>{},onExit:z,onExited:L,onExiting:Z,onEnter:we,onEntering:se,onEntered:re}=e,de=Qw(e,Ww);const He=Yu(),Ze=Bw(A),P=Kw(C),I=_E(),j=RE(n),[U,K]=g.exports.useState(!n),b=g.exports.useRef(null);g.exports.useImperativeHandle(t,()=>P,[P]),$r&&!j&&n&&(b.current=Cs(He==null?void 0:He.document)),n&&U&&K(!1);const ve=vt(()=>{if(P.add(),tt.current=pl(document,"keydown",nr),zt.current=pl(document,"focus",()=>setTimeout(De),!0),N&&N(),x){var Y,bt;const on=Cs((Y=(bt=P.dialog)==null?void 0:bt.ownerDocument)!=null?Y:He==null?void 0:He.document);P.dialog&&on&&!af(P.dialog,on)&&(b.current=on,P.dialog.focus())}}),et=vt(()=>{if(P.remove(),tt.current==null||tt.current(),zt.current==null||zt.current(),v){var Y;(Y=b.current)==null||Y.focus==null||Y.focus(m),b.current=null}});g.exports.useEffect(()=>{!n||!Ze||ve()},[n,Ze,ve]),g.exports.useEffect(()=>{!U||et()},[U,et]),Nm(()=>{et()});const De=vt(()=>{if(!T||!I()||!P.isTopModal())return;const Y=Cs(He==null?void 0:He.document);P.dialog&&Y&&!af(P.dialog,Y)&&P.dialog.focus()}),ft=vt(Y=>{Y.target===Y.currentTarget&&(c==null||c(Y),s===!0&&k())}),nr=vt(Y=>{a&&$w(Y)&&P.isTopModal()&&(d==null||d(Y),Y.defaultPrevented||k())}),zt=g.exports.useRef(),tt=g.exports.useRef(),nt=(...Y)=>{K(!0),L==null||L(...Y)};if(!Ze)return null;const rn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},de,{style:o,className:i,tabIndex:-1});let Bt=h?h(rn):u("div",Object.assign({},rn,{children:g.exports.cloneElement(l,{role:"document"})}));Bt=cf(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:z,onExiting:Z,onExited:nt,onEnter:we,onEntering:se,onEntered:re,children:Bt});let $e=null;return s&&($e=S({ref:P.setBackdropRef,onClick:ft}),$e=cf(y,w,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:$e})),u(Aa,{children:xr.createPortal(O(Aa,{children:[$e,Bt]}),Ze)})});_m.displayName="Modal";const Gw=Object.assign(_m,{Manager:Xu});function Xw(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Yw(e,t){e.classList?e.classList.add(t):Xw(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function df(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function qw(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=df(e.className,t):e.setAttribute("class",df(e.className&&e.className.baseVal||"",t))}const ar={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Jw extends Xu{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Vn(n,{[t]:`${parseFloat(Vn(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Vn(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Yw(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";jn(n,ar.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),jn(n,ar.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),jn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();qw(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";jn(n,ar.FIXED_CONTENT).forEach(o=>this.restore(r,o)),jn(n,ar.STICKY_CONTENT).forEach(o=>this.restore(i,o)),jn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ns;function Zw(e){return Ns||(Ns=new Jw(e)),Ns}const Rm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"modal-body"),u(n,{ref:i,className:ce(e,t),...r})));Rm.displayName="ModalBody";const Pm=g.exports.createContext({onHide(){}}),qu=g.exports.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:o,children:l,scrollable:s,...a},c)=>{e=be(e,"modal");const d=`${e}-dialog`,f=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return u("div",{...a,ref:c,className:ce(d,t,i&&`${e}-${i}`,r&&`${d}-centered`,s&&`${d}-scrollable`,o&&f),children:u("div",{className:ce(`${e}-content`,n),children:l})})});qu.displayName="ModalDialog";const Om=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"modal-footer"),u(n,{ref:i,className:ce(e,t),...r})));Om.displayName="ModalFooter";const ex={"aria-label":kt.exports.string,onClick:kt.exports.func,variant:kt.exports.oneOf(["white"])},Ju=g.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}));Ju.displayName="CloseButton";Ju.propTypes=ex;const tx=g.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=g.exports.useContext(Pm),a=vt(()=>{s==null||s.onHide(),r==null||r()});return O("div",{ref:l,...o,children:[i,n&&u(Ju,{"aria-label":e,variant:t,onClick:a})]})}),Dm=g.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=be(e,"modal-header"),u(tx,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Dm.displayName="ModalHeader";const nx=e=>g.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ce(t.className,e)})),rx=nx("h4"),Im=g.exports.forwardRef(({className:e,bsPrefix:t,as:n=rx,...r},i)=>(t=be(t,"modal-title"),u(n,{ref:i,className:ce(e,t),...r})));Im.displayName="ModalTitle";function ix(e){return u(Qi,{...e,timeout:null})}function ox(e){return u(Qi,{...e,timeout:null})}const Lm=g.exports.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:o,dialogAs:l=qu,"aria-labelledby":s,"aria-describedby":a,"aria-label":c,show:d=!1,animation:f=!0,backdrop:p=!0,keyboard:y=!0,onEscapeKeyDown:w,onShow:x,onHide:T,container:v,autoFocus:m=!0,enforceFocus:h=!0,restoreFocus:S=!0,restoreFocusOptions:C,onEntered:A,onExit:N,onExiting:k,onEnter:z,onEntering:L,onExited:Z,backdropClassName:we,manager:se,...re},de)=>{const[He,Ze]=g.exports.useState({}),[P,I]=g.exports.useState(!1),j=g.exports.useRef(!1),U=g.exports.useRef(!1),K=g.exports.useRef(null),[b,ve]=TE(),et=Wi(de,ve),De=vt(T),ft=x1();e=be(e,"modal");const nr=g.exports.useMemo(()=>({onHide:De}),[De]);function zt(){return se||Zw({isRTL:ft})}function tt(W){if(!$r)return;const $t=zt().getScrollbarWidth()>0,rr=W.scrollHeight>Ml(W).documentElement.clientHeight;Ze({paddingRight:$t&&!rr?sf():void 0,paddingLeft:!$t&&rr?sf():void 0})}const nt=vt(()=>{b&&tt(b.dialog)});Nm(()=>{za(window,"resize",nt),K.current==null||K.current()});const rn=()=>{j.current=!0},Bt=W=>{j.current&&b&&W.target===b.dialog&&(U.current=!0),j.current=!1},$e=()=>{I(!0),K.current=lm(b.dialog,()=>{I(!1)})},Y=W=>{W.target===W.currentTarget&&$e()},bt=W=>{if(p==="static"){Y(W);return}if(U.current||W.target!==W.currentTarget){U.current=!1;return}T==null||T()},on=W=>{y?w==null||w(W):(W.preventDefault(),p==="static"&&$e())},Vi=(W,$t)=>{W&&tt(W),z==null||z(W,$t)},Ul=W=>{K.current==null||K.current(),N==null||N(W)},Wr=(W,$t)=>{L==null||L(W,$t),om(window,"resize",nt)},On=W=>{W&&(W.style.display=""),Z==null||Z(W),za(window,"resize",nt)},ln=g.exports.useCallback(W=>u("div",{...W,className:ce(`${e}-backdrop`,we,!f&&"show")}),[f,we,e]),Ht={...n,...He};Ht.display="block";const Ki=W=>u("div",{role:"dialog",...W,style:Ht,className:ce(t,e,P&&`${e}-static`,!f&&"show"),onClick:p?bt:void 0,onMouseUp:Bt,"aria-label":c,"aria-labelledby":s,"aria-describedby":a,children:u(l,{...re,onMouseDown:rn,className:r,contentClassName:i,children:o})});return u(Pm.Provider,{value:nr,children:u(Gw,{show:d,ref:et,backdrop:p,container:v,keyboard:!0,autoFocus:m,enforceFocus:h,restoreFocus:S,restoreFocusOptions:C,onEscapeKeyDown:on,onShow:x,onHide:T,onEnter:Vi,onEntering:Wr,onEntered:A,onExit:Ul,onExiting:k,onExited:On,manager:zt(),transition:f?ix:void 0,backdropTransition:f?ox:void 0,renderBackdrop:ln,renderDialog:Ki})})});Lm.displayName="Modal";const Eo=Object.assign(Lm,{Body:Rm,Header:Dm,Title:Im,Footer:Om,Dialog:qu,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Ts="/bv2024_frontend/#/assets/Home.d233cde0.png",lx="/bv2024_frontend/#/assets/Dienstleistungen.ee2854c9.png",sx="/bv2024_frontend/#/assets/Kontakt.e3e8d695.png",ax="/bv2024_frontend/#/assets/Mitarbeitende.a58219c1.png",ux="/bv2024_frontend/#/assets/Home.d233cde0.png",cx="/bv2024_frontend/#/assets/Projekt.b5edb7d6.png",dx="/bv2024_frontend/#/assets/Projekt.b5edb7d6.png",fx="/bv2024_frontend/#/assets/Themen.e1598e5b.png",px=({page:e})=>{let t=e.split("/",1)[0],n=Ts,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Ts;break;case"Projekte":n=cx;break;case"Projekt":n=dx;break;case"Dienstleistungen":n=lx;break;case"Mitarbeitende":n=ax;break;case"Kontakt":n=sx;break;case"Themen":n=fx;break;case"NotMatch404":n=ux;break;default:r="",n=Ts;break}return u("div",{className:"titleImg",style:{backgroundImage:`url(${n})`},children:u("div",{className:"caption",children:u("div",{className:"container",children:r})})})},hx="/bv2024_frontend/#/assets/BV_logo.87973bd3.png",mx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN8AAAA5CAYAAAC25P6zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA7PSURBVHgB7V1rVhNNEG1R4+vHN67AcQXGFRhWIK6AuALDCoAVgCsgrgBYAWEF4gqIKzD+8BwRhO/eSVWsND3PhBC07znNDJOe7q7qV3V1T5VzEREREREREREREREREREREREREREREREREREREREREbWQPHz48CgQuvzNj9tqtU4Z8HubcXB/xfhucUilfN+Q954+fPToUY9lefDgwQ7/l3Ly/46bAUj3SGmW8Bl5M9/UNQDe3bX8QnprQstplfdDdJEPCPtuCSHtRNtThGCFfx4/fpzcu3evg8DrV4TvCCkCK/SzMx0QDEzduNEx8J0On+t1EUCZjpjfysrKJ/x7qM+vrq46UpYuaEqljA7xOm4GIN2XcnvMIPzpghfshG1XEyjPK49fbfJeyjvhNWkQOpx95sJ0rTIdt4S4f/++tq/URUzwwPv/8NevX1v6Dxo57zcxwvYuLi6y5+fn5ydocBuo+PTp06f9nz9/JpeXl2ygJ24BkMaeIvTPzs569jeUqYeyjFDJByjXEHHfSyftuxkB+r6C9q4tB9L+jOecZVfdDGD5kA75OMS/I5PnHkKKW+38TujaQN7tedAVccvgaEoxRjrbFOqIQ4sAytoRMbfnFgTkxwY/8J+LOHrlrovmhTDvVYlXVRQdLlM9WWidhdrXv4yV0ggrK5zRUv0/JArpczfdCBMTL5H1if8e149rDK7a+omzw385eSaBMtjnwbJyBmu6JsSsdCxppH6eNem6xj9b5gDPk1AdBJAbj3SzfHm05/AozctI1/9VeJnXhnLKm5j88wa5rH0V0bO0KJr5OPpy9rP/+6O2eX+i/GBaMkN1VUFgZw/8vynvTAIYt1lUTsTp++9onnmjq75jK1XLYstQVGl5M5+hsV2HrhAPPVrSAJ1XJTRdm/mo5OAzr0GnWh8mTK3rjXTR9+KeBta4qeRj02M5Uj89rZtQ+T2+aKfvieRV1EbaAXqm8l9WlM18KZUYXEO5hsC7m1Ti4JbKkSwd0XptIZxgZl1lkPutok6ANWYP5Xkv6XLd+RLPNlyzcr1AWj0p1yHWtLXXrEjjDa9cB/NaRFcdTR/XdaSN7yJk9/J/ZXAQ4HoXNG4zPfOcWtYUYRu/veYVgbPWjrtO3zriHDIe+S3v7Xn57Es+H016qWiDg1D9wO/fvzve845IE1z3UuG3g0D6VyXtA7+NMH+ul9kuqua/VNCRFkTts5GI+LCp6z07QtWd+VqBdYim4YtWEv+gpKw6KndDz6vOfKE08hCY+SgK7fg0h+hyYxF0iq6ymc+LdxooT9nMl4bSMzy6lo9IN4kX7yBQHptv4ks0Hn1+elvyfyrv7QbKlsXhrBeQSBL7Xl6dN12LLxpT2k6MKlyjMHDUy55hNNmwI2ddcOTN+Wlo0+U9GMb4i2LYEDNWv2pkznJ+h8Gz4ydPnmxAQzyVrscvjuJfF0hXNrshv9GzZ8+myoZyDdBgXyKM7HNqcjl7ccsJcUYmqSlpQGalDmYspWXEGZnpAdfioeO0IVEM/PJJXVMaeqXPkCa1xw5r+oHLx0gkH505OTsyv2GonAF6lgr+VsO2bjVwdAIjOO3vgYnDEBOrwGfMsoANztXD0A4k2LtiJxtgu8MtEyhuurHIxkbOTjLV+NjwEXhL5UbWiVDPtQYGO5CE0mPn1MG7AAOKtW48O41031PbGfh7wi0sdG62v/f6vM6AuezIXfORqeiIlKPJmE33j0P2+foa2PHc8iF14zVnNkigwXYDcdqiIPmGxn3KgGdv3Qx5+umhvXwoewn8HPDK2VEevVLtMSH8zdZv6IBHJSdkdlrmBBLSKc1/GVCmcGHHO17k6ZWImdGn9II6G6DRrnu/pXKsrc3lhCqFEPfQNUMqChx2oG2jZPpU9iJmtgGvPCzg/pyYmlpjkg5RNH3SE1d6dNADxdBj9+cEEun5tMwiJ/GgQhwl4JoIE7FcoJSCRp3NepiBDqktpMJCRTZ0vDUeY+O6SWbw7D10oK5rAKTXceNO8x4dpa/PkV6n7F1d93Fgp7JIyn8SiodLV5dBPMUEmr7riSvBJ5v/XUHpJjtV8nIbO15DoFH95xYA1NVIlT26NsKzNfN7JuLprDOH/FJem67r8d4BwhvZYhh5eoW2PdivyyDeowOWnWGtegjhVlHY+Thqmr2XDLj/zqvdbPX3a8ogaaRueiM0u2cDcg2AMuh7r7yf3rgFIY8uObDeiC5RbjTRlHLJMMB13aSVlQGNPPXizsSjwIHpqmvIE+HNWy5v7A+YDTlL73mnh6b4QKUXr3L+1b57JGvZpcZU5+MoJPtzDHtc6Ioo0zVxBryCMbon2KurkEG62T4NmSSnGLqydmD6W64BZKN7iMDPc3Zkr3J/kSr+ErpqH1RAA/rCxol09pucZeWgyfd1rwz1eCDl3NP9XFkDpq4BkM6AV9a/l17ZzJQBdaY8SbVdBdLe16NjunGuvBSlDDfhN2XflXH6kn/fLTmmOp8oVtiRNkHgmoxGq3bfCgzb5WkGNx7R9yR+6QLbwmiynJxi2JNTCht6WqQJ8P47XIZIjwPCHhrbc1TMsVsQSJecBAnR1Tfl/F4lPZR/VxVeFTWIU7OrfvWgoqfVILJsDIhzz1e4GCmiEHnpueoNn/lofQ8Cab8TOtih+a1i2+elKHg4SHFw2pfti4OmJ5/uBBKAcjWvbgZQfJ23fF5wcHdhuAm65gWtu3mWrym9Vb7c0PKWxWEZZm2PERH/CpLQcbd/BaXazoiIm4JumluFXkRExA2CChTzGdLSayVvCnHmi1g4oCRJRNHzURQmERERERERERERERERERERERERERERERERERERERERERERERFLh8y+Gz/F8D86vbi4GLrxx6k3DuZ/fn4+WlR+ASTGitYETc0lEvql/yzfJ+aAn8505UPUoZsfUvAg5Q2/ur+BckeEINaOfd8AW25BkPxv7bMSY13bt/ffGGIFeuBmx9S3bOqMdN78CvCAZvjW3M3gTthYuWlY62WHtAyl//hWjf8FXF5ertJAsFsioAPsoly0sZL5auCMh45N68677gZAU31i9JZf4bODD9ycjWeBJvpRpAWEUsu6fzPsVw3fxPpwFoz97yTHjdZk9PI914i7qJAdj0Q+J8mz8ZH4+eS4zkpyypD6CZrnpaMtO57lQYX8q9A0Vc6c/yfpuGkaJsaTTHwaRtr1bVJWrKPUlYB0U+SkqRDaf1Er1FqGkKsww5PEL3+IJl3iWF7m1auffo4jHX2e5yZueVEg9vnupCaul1p/3GPtGIcWofiJxF+z7p6s8VN18hF6zxffWtOuprQM34zzk56Je+qJUVc59G+1rjs4cZq/FUElrwPlTx5NttwqKmr64ujk1OS/aUU+pcEXBclj42SkW7WO7O95hpg0rqGzZ52N+GVUV13Gwc1+yzhNCdT3puWFhvv376/5NAX4NSxqV34dL3LJNAvszJeNHnZkARO2xADQa4pkbtzYpipP3ENt0MVWa2x8NTUurVLTSGhQaPT06dPn4t6rR8bbtDwXT3XWG5m7KzEglJmtk/UKDa2qK6xS0Qkj/it/pJavrDN7J+IKOlFLW+hgNBo0Elq3xaBrx9UDG9GWG7u/YjoHNL7E5+I3g8apaLPyXkgBJPWRqhst1ldr7K/BGRo+Gv6sFxXGWKT7IIayRu6PGfq+WpCmqy5nZhgxMblhrM9N6pvpiJu0thg/yoxnkSaIuAeuIqyrMm0fYlhqKPRtuzsE2/nWaCWKQUcc3NNg7heKIVLxX0HslAFYxHlHi2ZOGjcrmI4zxMfcqpqrc+MK/ERx9uzsrO/GjXVoksryaeJnnHnwXVrhMoZcs4aBztAXzV2pSXSmQ/pbxoKzmrBDGhTbVLTMniEvdux3Qmtf4ndcPbDzrqKRvmc69IfHh1bcKwLepZ3SzGmL8IBpvPTpMvxJStLrIk6X/BO7nxORlwORlHHgl5E+HNkOdIBAOu9JF+vbtIEi0bwMX4SGA8kv1R/Ej8bJXXOiMqVwwUhUW7tlzQqyAWKmWW+NnVXQmQhHomHgtZF6QzL45m4ZHNV9d2j4/wSj7Eg7FQcXVcMzLm1Jgl7OsK4p6CXox48fFNvSWe2McrZBGo0VGRgYO7zSB55RuCg+4Pl6wEgu8dX+wzXpPHhjcOvtY96YUri4GaGznRs7tqAS4nOJIuIuYCR+6V9xlrGWldGwjqQhbkhogtSNbVISGzSt4JYAnPXE4G7bPBsK/RSFtwsckVD03VfeLAtNy4YqNlwq+xngegejXBuzWldtc1hjr2ZUZ+Xs1VgfzezrYJYZRdZ9bVnXDPhMRDEGOuk4kA5aFZOyiLORzIko06nr96CqAd66CPGLIjElFoTdIieW4E2mWVWa0Abq8IaoW1cL8YUxbxR6KRIHkpnDCtxz/feiqLJpGRm/ryM+nWnSSE5i4lNef4sOx8qgUqSr65uSMvD9TI0u71UC7fhT3KFnG5TnsMq7WPxTQzcSWigaZ+sLrvtkX4oY8A9HfQwgvCVNA7z7Ns8hpJYFPPmAd9iRJ/4kjA+Ht/iNjS5kmTpTdOWsadiw34qShOsx8qnvGkIVZOICIHOKyroUWte5HQN+ZAohN957DHWUoVzfiGPVD3hn8qP4fMw0rOzIhpdcspAflf3rqVddUTy9cHcIhTMfNVRsHGIGnPfHz54928qLL+bNyYzPVFwwPp/xN3Hn6+R5jxqwKpouas9Eo0hl0GtXEVRAiLZuTRpS6eirJt7FDP6OSYv7XiO73nNjBRPXtG2habWgLBx46C+PdDP9of6GxkfxTg847PvvIj75R3FvJ6SEYeN1Y3PpLC9FvWOk1Vjrp/SzHsX8/oRWNnLx35EWaRZFKcN9QkpAR2gDWbkxAGUDjShgviBsilg7SV94UKqZVojWdSj0P3d/GxLBPOI3NTE/63Ek7s1x38nNGVVMmdu4ebTX5fEs5ZgFdeqvbplm5YEb73nemX2+vx56KkMqpXSmjbiTSGQf1h74iLht2NMP8TDv3wl7Eggdb8tFLAfQ4Tp/wXZHRAHE41Lnrg2u/wMr//ueIXyRqAAAAABJRU5ErkJggg==",vx=()=>{let t=jt().pathname.substring(1);const[n,r]=g.exports.useState(!1);return O(B,{fluid:!0,className:"header-container",children:[u(B,{children:u(Mo,{id:"nav",className:"border-bottom navbar fixed-top bg-white navbar-expand-lg navbar-light flex-nowrap",children:O(B,{id:"header",className:" align-items-end",children:[u(B,{id:"logo",children:O(Fe,{to:"/",className:"navbar-brand",children:[u("img",{id:"logoimg1",src:hx,alt:"bv_logo",width:"266",height:"90"}),u("img",{id:"logoimg2",src:mx,alt:"bv_logo",width:"233",height:"60",className:"align-bottom"})]})}),u("div",{className:"collapse navbar-collapse",id:"navbarNav",children:O("ul",{id:"navbtn",className:"navbar-nav",children:[u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,activeclassname:"active",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",children:"Dienstleistungen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Mitarbeitende",activeclassname:"active",className:"nav-link ",children:"\xDCber uns"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Themen",activeclassname:"active",className:"nav-link",children:"Themen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Projekte",activeclassname:"active",className:"nav-link",children:"Projekte"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Kontakt",activeclassname:"active",className:"nav-link",children:"Kontakt"})})]})}),u(km,{className:"navbar-toggler custom-toggler",type:"button",onClick:()=>r(!0),children:u("span",{className:"navbar-toggler-icon"})}),u(Eo,{show:n,onHide:()=>r(!1),className:"modal show",children:u(Eo.Dialog,{className:"modal-dialog",role:"document",children:O("div",{className:"modal-content",children:[u(Eo.Header,{closeButton:!0,className:"modal-header"}),u(Eo.Body,{children:O("ul",{className:"navbar-nav",children:[u("li",{children:u(It,{reloadDocument:!0,activeclassname:"active",className:"modalNav","aria-current":"page",to:"/Dienstleistungen",children:"Dienstleistungen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Mitarbeitende",activeclassname:"active",className:"modalNav",children:"\xDCber uns"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Themen",activeclassname:"active",className:"modalNav",children:"Themen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Projekte",activeclassname:"active",className:"modalNav",children:"Projekte"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Kontakt",activeclassname:"active",className:"modalNav",children:"Kontakt"})})]})})]})})})]})})}),u(B,{fluid:!0,className:"title-pic-content",children:u(px,{page:t})})]})},gx="/bv2024_frontend/#/assets/linkedin_logo_l.ef097f7b.png",yx=()=>u(B,{fluid:!0,className:"border-top footer ",children:u(B,{className:"text-center ",children:O("div",{className:"row flex-row-reverse",children:[u("section",{id:"infos",className:"col-xxl-6 footertext text-xxl-end",children:O("span",{children:[u(Fe,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Fe,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Fe,{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:gx,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{id:"copyright",className:"col-xxl-3 text-xxl-start text-nowrap",children:"\xA9 2023 B\xFCro Vatter"})]})})}),_s=e=>{console.log(e.prop);const t=dt(),n=Se(["downloads_1",`media/${e.prop}`,""],Ce);return n.isLoading?u(Ot,{}):(n.isError&&t("/NotMatch404"),console.log(n.data.source_url),u("div",{children:u(G,{children:u("a",{id:"download_list",href:n.data.source_url,children:O("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.title.rendered)}}),u("img",{src:Am,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},Ex=()=>{const t=jt().state,n=t.acf,r=n.kooperationspartner.split(`\r + `,onClick:S,children:"Filter zur\xFCcksetzen"})]}),u("hr",{className:ot.hr}),u(vw,{projects:se,istlaufend:z,filterApplied:w})]})]})})]})};function lf(e){return u(gw,{children:u(Dw,{...e})})}const Iw="/bv2024_frontend/#/assets/map.33be5f33.png",Lw=()=>O("div",{children:[u(B,{className:"categoryTitle",children:"KONTAKT"}),u(B,{id:"message",children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),O(B,{children:[O(G,{id:"contact-row",children:[u(Q,{xl:7,lg:8,xs:12,children:u("img",{id:"map",src:Iw,alt:"map"})}),O(Q,{xl:5,lg:4,xs:12,children:[O("div",{id:"contact_company_name",children:["B\xFCro Vatter AG ",u("br",{})," Politikanalyse"]}),O("div",{className:"contact_info",children:["Gerberngasse 27",u("br",{}),"CH-3011 Bern"]}),u("br",{}),u("div",{className:"contact_info",children:"+41 31 312 65 75"}),u("br",{}),u("div",{children:u(Fe,{to:"",className:"contact_info email_link",children:"info@buerovatter.ch"})}),u("br",{}),u("br",{}),O(G,{children:[u(Q,{children:u(Fe,{to:"",className:"addr_info",children:"Google Maps"})}),u(Q,{children:u(Fe,{to:"",className:"addr_info",children:"Printable Map"})})]})]})]}),u("div",{id:"contact_addr_title",children:"Wegbeschreibung ab Bahnhof Bern"}),O("p",{id:"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",{})]})]}),Mw=()=>u("div",{children:"Page Not Found"}),Fw=()=>u(B,{className:"categoryTitle",children:"IMPRINT"}),Uw=()=>u(B,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),Am=g.exports.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:i=!1,disabled:o=!1,className:l,...s},a)=>{const c=be(t,"btn"),[d,{tagName:f}]=Ku({tagName:e,disabled:o,...s});return u(f,{...d,...s,ref:a,disabled:o,className:ce(l,c,i&&"active",n&&`${c}-${n}`,r&&`${c}-${r}`,s.href&&o&&"disabled")})});Am.displayName="Button";var yo;function sf(e){if((!yo&&yo!==0||e)&&$r){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),yo=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return yo}function jw(e){const t=g.exports.useRef(e);return t.current=e,t}function km(e){const t=jw(e);g.exports.useEffect(()=>()=>t.current(),[])}function Cs(e){e===void 0&&(e=Ml());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function af(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function zw(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const uf=Fl("modal-open");class Xu{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return zw(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(Vn(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(uf,""),Vn(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(uf),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 Nm=g.exports.createContext($r?window:void 0);Nm.Provider;function Yu(){return g.exports.useContext(Nm)}const As=(e,t)=>$r?e==null?(t||Ml()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function Bw(e,t){const n=Yu(),[r,i]=g.exports.useState(()=>As(e,n==null?void 0:n.document));if(!r){const o=As(e);o&&i(o)}return g.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),g.exports.useEffect(()=>{const o=As(e);o!==r&&i(o)},[e,r]),r}function bw({in:e,onTransition:t}){const n=g.exports.useRef(null),r=g.exports.useRef(!0),i=vt(t);return Zd(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Zd(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function Hw({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=g.exports.useState(!t);t&&o&&l(!1);const s=bw({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,f=>{throw c.in||l(!0),f})}}),a=Wi(s,e.ref);return o&&!t?null:g.exports.cloneElement(e,{ref:a})}function cf(e,t,n){return e?u(e,Object.assign({},n)):t?u(Hw,Object.assign({},n,{transition:t})):u(Qu,Object.assign({},n))}function $w(e){return e.code==="Escape"||e.keyCode===27}const Ww=["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 Qw(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 ks;function Vw(e){return ks||(ks=new Xu({ownerDocument:e==null?void 0:e.document})),ks}function Kw(e){const t=Yu(),n=e||Vw(t),r=g.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:g.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:g.exports.useCallback(i=>{r.current.backdrop=i},[])})}const Tm=g.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:a=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:y,runBackdropTransition:w,autoFocus:x=!0,enforceFocus:T=!0,restoreFocus:v=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:S=Y=>u("div",Object.assign({},Y)),manager:C,container:A,onShow:N,onHide:k=()=>{},onExit:z,onExited:L,onExiting:Z,onEnter:we,onEntering:se,onEntered:re}=e,de=Qw(e,Ww);const He=Yu(),Ze=Bw(A),P=Kw(C),I=_E(),j=RE(n),[U,K]=g.exports.useState(!n),b=g.exports.useRef(null);g.exports.useImperativeHandle(t,()=>P,[P]),$r&&!j&&n&&(b.current=Cs(He==null?void 0:He.document)),n&&U&&K(!1);const ve=vt(()=>{if(P.add(),tt.current=pl(document,"keydown",nr),zt.current=pl(document,"focus",()=>setTimeout(De),!0),N&&N(),x){var Y,bt;const on=Cs((Y=(bt=P.dialog)==null?void 0:bt.ownerDocument)!=null?Y:He==null?void 0:He.document);P.dialog&&on&&!af(P.dialog,on)&&(b.current=on,P.dialog.focus())}}),et=vt(()=>{if(P.remove(),tt.current==null||tt.current(),zt.current==null||zt.current(),v){var Y;(Y=b.current)==null||Y.focus==null||Y.focus(m),b.current=null}});g.exports.useEffect(()=>{!n||!Ze||ve()},[n,Ze,ve]),g.exports.useEffect(()=>{!U||et()},[U,et]),km(()=>{et()});const De=vt(()=>{if(!T||!I()||!P.isTopModal())return;const Y=Cs(He==null?void 0:He.document);P.dialog&&Y&&!af(P.dialog,Y)&&P.dialog.focus()}),ft=vt(Y=>{Y.target===Y.currentTarget&&(c==null||c(Y),s===!0&&k())}),nr=vt(Y=>{a&&$w(Y)&&P.isTopModal()&&(d==null||d(Y),Y.defaultPrevented||k())}),zt=g.exports.useRef(),tt=g.exports.useRef(),nt=(...Y)=>{K(!0),L==null||L(...Y)};if(!Ze)return null;const rn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},de,{style:o,className:i,tabIndex:-1});let Bt=h?h(rn):u("div",Object.assign({},rn,{children:g.exports.cloneElement(l,{role:"document"})}));Bt=cf(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:z,onExiting:Z,onExited:nt,onEnter:we,onEntering:se,onEntered:re,children:Bt});let $e=null;return s&&($e=S({ref:P.setBackdropRef,onClick:ft}),$e=cf(y,w,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:$e})),u(Aa,{children:xr.createPortal(O(Aa,{children:[$e,Bt]}),Ze)})});Tm.displayName="Modal";const Gw=Object.assign(Tm,{Manager:Xu});function Xw(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Yw(e,t){e.classList?e.classList.add(t):Xw(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function df(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function qw(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=df(e.className,t):e.setAttribute("class",df(e.className&&e.className.baseVal||"",t))}const ar={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Jw extends Xu{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Vn(n,{[t]:`${parseFloat(Vn(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Vn(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Yw(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";jn(n,ar.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),jn(n,ar.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),jn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();qw(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";jn(n,ar.FIXED_CONTENT).forEach(o=>this.restore(r,o)),jn(n,ar.STICKY_CONTENT).forEach(o=>this.restore(i,o)),jn(n,ar.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ns;function Zw(e){return Ns||(Ns=new Jw(e)),Ns}const _m=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"modal-body"),u(n,{ref:i,className:ce(e,t),...r})));_m.displayName="ModalBody";const Rm=g.exports.createContext({onHide(){}}),qu=g.exports.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:o,children:l,scrollable:s,...a},c)=>{e=be(e,"modal");const d=`${e}-dialog`,f=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return u("div",{...a,ref:c,className:ce(d,t,i&&`${e}-${i}`,r&&`${d}-centered`,s&&`${d}-scrollable`,o&&f),children:u("div",{className:ce(`${e}-content`,n),children:l})})});qu.displayName="ModalDialog";const Pm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=be(t,"modal-footer"),u(n,{ref:i,className:ce(e,t),...r})));Pm.displayName="ModalFooter";const ex={"aria-label":kt.exports.string,onClick:kt.exports.func,variant:kt.exports.oneOf(["white"])},Ju=g.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}));Ju.displayName="CloseButton";Ju.propTypes=ex;const tx=g.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=g.exports.useContext(Rm),a=vt(()=>{s==null||s.onHide(),r==null||r()});return O("div",{ref:l,...o,children:[i,n&&u(Ju,{"aria-label":e,variant:t,onClick:a})]})}),Om=g.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=be(e,"modal-header"),u(tx,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Om.displayName="ModalHeader";const nx=e=>g.exports.forwardRef((t,n)=>u("div",{...t,ref:n,className:ce(t.className,e)})),rx=nx("h4"),Dm=g.exports.forwardRef(({className:e,bsPrefix:t,as:n=rx,...r},i)=>(t=be(t,"modal-title"),u(n,{ref:i,className:ce(e,t),...r})));Dm.displayName="ModalTitle";function ix(e){return u(Qi,{...e,timeout:null})}function ox(e){return u(Qi,{...e,timeout:null})}const Im=g.exports.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:o,dialogAs:l=qu,"aria-labelledby":s,"aria-describedby":a,"aria-label":c,show:d=!1,animation:f=!0,backdrop:p=!0,keyboard:y=!0,onEscapeKeyDown:w,onShow:x,onHide:T,container:v,autoFocus:m=!0,enforceFocus:h=!0,restoreFocus:S=!0,restoreFocusOptions:C,onEntered:A,onExit:N,onExiting:k,onEnter:z,onEntering:L,onExited:Z,backdropClassName:we,manager:se,...re},de)=>{const[He,Ze]=g.exports.useState({}),[P,I]=g.exports.useState(!1),j=g.exports.useRef(!1),U=g.exports.useRef(!1),K=g.exports.useRef(null),[b,ve]=TE(),et=Wi(de,ve),De=vt(T),ft=x1();e=be(e,"modal");const nr=g.exports.useMemo(()=>({onHide:De}),[De]);function zt(){return se||Zw({isRTL:ft})}function tt(W){if(!$r)return;const $t=zt().getScrollbarWidth()>0,rr=W.scrollHeight>Ml(W).documentElement.clientHeight;Ze({paddingRight:$t&&!rr?sf():void 0,paddingLeft:!$t&&rr?sf():void 0})}const nt=vt(()=>{b&&tt(b.dialog)});km(()=>{za(window,"resize",nt),K.current==null||K.current()});const rn=()=>{j.current=!0},Bt=W=>{j.current&&b&&W.target===b.dialog&&(U.current=!0),j.current=!1},$e=()=>{I(!0),K.current=om(b.dialog,()=>{I(!1)})},Y=W=>{W.target===W.currentTarget&&$e()},bt=W=>{if(p==="static"){Y(W);return}if(U.current||W.target!==W.currentTarget){U.current=!1;return}T==null||T()},on=W=>{y?w==null||w(W):(W.preventDefault(),p==="static"&&$e())},Vi=(W,$t)=>{W&&tt(W),z==null||z(W,$t)},Ul=W=>{K.current==null||K.current(),N==null||N(W)},Wr=(W,$t)=>{L==null||L(W,$t),im(window,"resize",nt)},On=W=>{W&&(W.style.display=""),Z==null||Z(W),za(window,"resize",nt)},ln=g.exports.useCallback(W=>u("div",{...W,className:ce(`${e}-backdrop`,we,!f&&"show")}),[f,we,e]),Ht={...n,...He};Ht.display="block";const Ki=W=>u("div",{role:"dialog",...W,style:Ht,className:ce(t,e,P&&`${e}-static`,!f&&"show"),onClick:p?bt:void 0,onMouseUp:Bt,"aria-label":c,"aria-labelledby":s,"aria-describedby":a,children:u(l,{...re,onMouseDown:rn,className:r,contentClassName:i,children:o})});return u(Rm.Provider,{value:nr,children:u(Gw,{show:d,ref:et,backdrop:p,container:v,keyboard:!0,autoFocus:m,enforceFocus:h,restoreFocus:S,restoreFocusOptions:C,onEscapeKeyDown:on,onShow:x,onHide:T,onEnter:Vi,onEntering:Wr,onEntered:A,onExit:Ul,onExiting:k,onExited:On,manager:zt(),transition:f?ix:void 0,backdropTransition:f?ox:void 0,renderBackdrop:ln,renderDialog:Ki})})});Im.displayName="Modal";const Eo=Object.assign(Im,{Body:_m,Header:Om,Title:Dm,Footer:Pm,Dialog:qu,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Ts="/bv2024_frontend/#/assets/Home.d233cde0.png",lx="/bv2024_frontend/#/assets/Dienstleistungen.ee2854c9.png",sx="/bv2024_frontend/#/assets/Kontakt.e3e8d695.png",ax="/bv2024_frontend/#/assets/Mitarbeitende.a58219c1.png",ux="/bv2024_frontend/#/assets/Home.d233cde0.png",cx="/bv2024_frontend/#/assets/Projekt.b5edb7d6.png",dx="/bv2024_frontend/#/assets/Projekt.b5edb7d6.png",fx="/bv2024_frontend/#/assets/Themen.e1598e5b.png",px=({page:e})=>{let t=e.split("/",1)[0],n=Ts,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Ts;break;case"Projekte":n=cx;break;case"Projekt":n=dx;break;case"Dienstleistungen":n=lx;break;case"Mitarbeitende":n=ax;break;case"Kontakt":n=sx;break;case"Themen":n=fx;break;case"NotMatch404":n=ux;break;default:r="",n=Ts;break}return u("div",{className:"titleImg",style:{backgroundImage:`url(${n})`},children:u("div",{className:"caption",children:u("div",{className:"container",children:r})})})},hx="/bv2024_frontend/#/assets/BV_logo.87973bd3.png",mx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN8AAAA5CAYAAAC25P6zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA7PSURBVHgB7V1rVhNNEG1R4+vHN67AcQXGFRhWIK6AuALDCoAVgCsgrgBYAWEF4gqIKzD+8BwRhO/eSVWsND3PhBC07znNDJOe7q7qV3V1T5VzEREREREREREREREREREREREREREREREREREREREREbWQPHz48CgQuvzNj9tqtU4Z8HubcXB/xfhucUilfN+Q954+fPToUY9lefDgwQ7/l3Ly/46bAUj3SGmW8Bl5M9/UNQDe3bX8QnprQstplfdDdJEPCPtuCSHtRNtThGCFfx4/fpzcu3evg8DrV4TvCCkCK/SzMx0QDEzduNEx8J0On+t1EUCZjpjfysrKJ/x7qM+vrq46UpYuaEqljA7xOm4GIN2XcnvMIPzpghfshG1XEyjPK49fbfJeyjvhNWkQOpx95sJ0rTIdt4S4f/++tq/URUzwwPv/8NevX1v6Dxo57zcxwvYuLi6y5+fn5ydocBuo+PTp06f9nz9/JpeXl2ygJ24BkMaeIvTPzs569jeUqYeyjFDJByjXEHHfSyftuxkB+r6C9q4tB9L+jOecZVfdDGD5kA75OMS/I5PnHkKKW+38TujaQN7tedAVccvgaEoxRjrbFOqIQ4sAytoRMbfnFgTkxwY/8J+LOHrlrovmhTDvVYlXVRQdLlM9WWidhdrXv4yV0ggrK5zRUv0/JArpczfdCBMTL5H1if8e149rDK7a+omzw385eSaBMtjnwbJyBmu6JsSsdCxppH6eNem6xj9b5gDPk1AdBJAbj3SzfHm05/AozctI1/9VeJnXhnLKm5j88wa5rH0V0bO0KJr5OPpy9rP/+6O2eX+i/GBaMkN1VUFgZw/8vynvTAIYt1lUTsTp++9onnmjq75jK1XLYstQVGl5M5+hsV2HrhAPPVrSAJ1XJTRdm/mo5OAzr0GnWh8mTK3rjXTR9+KeBta4qeRj02M5Uj89rZtQ+T2+aKfvieRV1EbaAXqm8l9WlM18KZUYXEO5hsC7m1Ti4JbKkSwd0XptIZxgZl1lkPutok6ANWYP5Xkv6XLd+RLPNlyzcr1AWj0p1yHWtLXXrEjjDa9cB/NaRFcdTR/XdaSN7yJk9/J/ZXAQ4HoXNG4zPfOcWtYUYRu/veYVgbPWjrtO3zriHDIe+S3v7Xn57Es+H016qWiDg1D9wO/fvzve845IE1z3UuG3g0D6VyXtA7+NMH+ul9kuqua/VNCRFkTts5GI+LCp6z07QtWd+VqBdYim4YtWEv+gpKw6KndDz6vOfKE08hCY+SgK7fg0h+hyYxF0iq6ymc+LdxooT9nMl4bSMzy6lo9IN4kX7yBQHptv4ks0Hn1+elvyfyrv7QbKlsXhrBeQSBL7Xl6dN12LLxpT2k6MKlyjMHDUy55hNNmwI2ddcOTN+Wlo0+U9GMb4i2LYEDNWv2pkznJ+h8Gz4ydPnmxAQzyVrscvjuJfF0hXNrshv9GzZ8+myoZyDdBgXyKM7HNqcjl7ccsJcUYmqSlpQGalDmYspWXEGZnpAdfioeO0IVEM/PJJXVMaeqXPkCa1xw5r+oHLx0gkH505OTsyv2GonAF6lgr+VsO2bjVwdAIjOO3vgYnDEBOrwGfMsoANztXD0A4k2LtiJxtgu8MtEyhuurHIxkbOTjLV+NjwEXhL5UbWiVDPtQYGO5CE0mPn1MG7AAOKtW48O41031PbGfh7wi0sdG62v/f6vM6AuezIXfORqeiIlKPJmE33j0P2+foa2PHc8iF14zVnNkigwXYDcdqiIPmGxn3KgGdv3Qx5+umhvXwoewn8HPDK2VEevVLtMSH8zdZv6IBHJSdkdlrmBBLSKc1/GVCmcGHHO17k6ZWImdGn9II6G6DRrnu/pXKsrc3lhCqFEPfQNUMqChx2oG2jZPpU9iJmtgGvPCzg/pyYmlpjkg5RNH3SE1d6dNADxdBj9+cEEun5tMwiJ/GgQhwl4JoIE7FcoJSCRp3NepiBDqktpMJCRTZ0vDUeY+O6SWbw7D10oK5rAKTXceNO8x4dpa/PkV6n7F1d93Fgp7JIyn8SiodLV5dBPMUEmr7riSvBJ5v/XUHpJjtV8nIbO15DoFH95xYA1NVIlT26NsKzNfN7JuLprDOH/FJem67r8d4BwhvZYhh5eoW2PdivyyDeowOWnWGtegjhVlHY+Thqmr2XDLj/zqvdbPX3a8ogaaRueiM0u2cDcg2AMuh7r7yf3rgFIY8uObDeiC5RbjTRlHLJMMB13aSVlQGNPPXizsSjwIHpqmvIE+HNWy5v7A+YDTlL73mnh6b4QKUXr3L+1b57JGvZpcZU5+MoJPtzDHtc6Ioo0zVxBryCMbon2KurkEG62T4NmSSnGLqydmD6W64BZKN7iMDPc3Zkr3J/kSr+ErpqH1RAA/rCxol09pucZeWgyfd1rwz1eCDl3NP9XFkDpq4BkM6AV9a/l17ZzJQBdaY8SbVdBdLe16NjunGuvBSlDDfhN2XflXH6kn/fLTmmOp8oVtiRNkHgmoxGq3bfCgzb5WkGNx7R9yR+6QLbwmiynJxi2JNTCht6WqQJ8P47XIZIjwPCHhrbc1TMsVsQSJecBAnR1Tfl/F4lPZR/VxVeFTWIU7OrfvWgoqfVILJsDIhzz1e4GCmiEHnpueoNn/lofQ8Cab8TOtih+a1i2+elKHg4SHFw2pfti4OmJ5/uBBKAcjWvbgZQfJ23fF5wcHdhuAm65gWtu3mWrym9Vb7c0PKWxWEZZm2PERH/CpLQcbd/BaXazoiIm4JumluFXkRExA2CChTzGdLSayVvCnHmi1g4oCRJRNHzURQmERERERERERERERERERERERERERERERERERERERERERERERFLh8y+Gz/F8D86vbi4GLrxx6k3DuZ/fn4+WlR+ASTGitYETc0lEvql/yzfJ+aAn8505UPUoZsfUvAg5Q2/ur+BckeEINaOfd8AW25BkPxv7bMSY13bt/ffGGIFeuBmx9S3bOqMdN78CvCAZvjW3M3gTthYuWlY62WHtAyl//hWjf8FXF5ertJAsFsioAPsoly0sZL5auCMh45N68677gZAU31i9JZf4bODD9ycjWeBJvpRpAWEUsu6fzPsVw3fxPpwFoz97yTHjdZk9PI914i7qJAdj0Q+J8mz8ZH4+eS4zkpyypD6CZrnpaMtO57lQYX8q9A0Vc6c/yfpuGkaJsaTTHwaRtr1bVJWrKPUlYB0U+SkqRDaf1Er1FqGkKsww5PEL3+IJl3iWF7m1auffo4jHX2e5yZueVEg9vnupCaul1p/3GPtGIcWofiJxF+z7p6s8VN18hF6zxffWtOuprQM34zzk56Je+qJUVc59G+1rjs4cZq/FUElrwPlTx5NttwqKmr64ujk1OS/aUU+pcEXBclj42SkW7WO7O95hpg0rqGzZ52N+GVUV13Gwc1+yzhNCdT3puWFhvv376/5NAX4NSxqV34dL3LJNAvszJeNHnZkARO2xADQa4pkbtzYpipP3ENt0MVWa2x8NTUurVLTSGhQaPT06dPn4t6rR8bbtDwXT3XWG5m7KzEglJmtk/UKDa2qK6xS0Qkj/it/pJavrDN7J+IKOlFLW+hgNBo0Elq3xaBrx9UDG9GWG7u/YjoHNL7E5+I3g8apaLPyXkgBJPWRqhst1ldr7K/BGRo+Gv6sFxXGWKT7IIayRu6PGfq+WpCmqy5nZhgxMblhrM9N6pvpiJu0thg/yoxnkSaIuAeuIqyrMm0fYlhqKPRtuzsE2/nWaCWKQUcc3NNg7heKIVLxX0HslAFYxHlHi2ZOGjcrmI4zxMfcqpqrc+MK/ERx9uzsrO/GjXVoksryaeJnnHnwXVrhMoZcs4aBztAXzV2pSXSmQ/pbxoKzmrBDGhTbVLTMniEvdux3Qmtf4ndcPbDzrqKRvmc69IfHh1bcKwLepZ3SzGmL8IBpvPTpMvxJStLrIk6X/BO7nxORlwORlHHgl5E+HNkOdIBAOu9JF+vbtIEi0bwMX4SGA8kv1R/Ej8bJXXOiMqVwwUhUW7tlzQqyAWKmWW+NnVXQmQhHomHgtZF6QzL45m4ZHNV9d2j4/wSj7Eg7FQcXVcMzLm1Jgl7OsK4p6CXox48fFNvSWe2McrZBGo0VGRgYO7zSB55RuCg+4Pl6wEgu8dX+wzXpPHhjcOvtY96YUri4GaGznRs7tqAS4nOJIuIuYCR+6V9xlrGWldGwjqQhbkhogtSNbVISGzSt4JYAnPXE4G7bPBsK/RSFtwsckVD03VfeLAtNy4YqNlwq+xngegejXBuzWldtc1hjr2ZUZ+Xs1VgfzezrYJYZRdZ9bVnXDPhMRDEGOuk4kA5aFZOyiLORzIko06nr96CqAd66CPGLIjElFoTdIieW4E2mWVWa0Abq8IaoW1cL8YUxbxR6KRIHkpnDCtxz/feiqLJpGRm/ryM+nWnSSE5i4lNef4sOx8qgUqSr65uSMvD9TI0u71UC7fhT3KFnG5TnsMq7WPxTQzcSWigaZ+sLrvtkX4oY8A9HfQwgvCVNA7z7Ns8hpJYFPPmAd9iRJ/4kjA+Ht/iNjS5kmTpTdOWsadiw34qShOsx8qnvGkIVZOICIHOKyroUWte5HQN+ZAohN957DHWUoVzfiGPVD3hn8qP4fMw0rOzIhpdcspAflf3rqVddUTy9cHcIhTMfNVRsHGIGnPfHz54928qLL+bNyYzPVFwwPp/xN3Hn6+R5jxqwKpouas9Eo0hl0GtXEVRAiLZuTRpS6eirJt7FDP6OSYv7XiO73nNjBRPXtG2habWgLBx46C+PdDP9of6GxkfxTg847PvvIj75R3FvJ6SEYeN1Y3PpLC9FvWOk1Vjrp/SzHsX8/oRWNnLx35EWaRZFKcN9QkpAR2gDWbkxAGUDjShgviBsilg7SV94UKqZVojWdSj0P3d/GxLBPOI3NTE/63Ek7s1x38nNGVVMmdu4ebTX5fEs5ZgFdeqvbplm5YEb73nemX2+vx56KkMqpXSmjbiTSGQf1h74iLht2NMP8TDv3wl7Eggdb8tFLAfQ4Tp/wXZHRAHE41Lnrg2u/wMr//ueIXyRqAAAAABJRU5ErkJggg==",vx=()=>{let t=jt().pathname.substring(1);const[n,r]=g.exports.useState(!1);return O(B,{fluid:!0,className:"header-container",children:[u(B,{children:u(Mo,{id:"nav",className:"border-bottom navbar fixed-top bg-white navbar-expand-lg navbar-light flex-nowrap",children:O(B,{id:"header",className:" align-items-end",children:[u(B,{id:"logo",children:O(Fe,{to:"/",className:"navbar-brand",children:[u("img",{id:"logoimg1",src:hx,alt:"bv_logo",width:"266",height:"90"}),u("img",{id:"logoimg2",src:mx,alt:"bv_logo",width:"233",height:"60",className:"align-bottom"})]})}),u("div",{className:"collapse navbar-collapse",id:"navbarNav",children:O("ul",{id:"navbtn",className:"navbar-nav",children:[u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,activeclassname:"active",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",children:"Dienstleistungen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Mitarbeitende",activeclassname:"active",className:"nav-link ",children:"\xDCber uns"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Themen",activeclassname:"active",className:"nav-link",children:"Themen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Projekte",activeclassname:"active",className:"nav-link",children:"Projekte"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Kontakt",activeclassname:"active",className:"nav-link",children:"Kontakt"})})]})}),u(Am,{className:"navbar-toggler custom-toggler",type:"button",onClick:()=>r(!0),children:u("span",{className:"navbar-toggler-icon"})}),u(Eo,{show:n,onHide:()=>r(!1),className:"modal show",children:u(Eo.Dialog,{className:"modal-dialog",role:"document",children:O("div",{className:"modal-content",children:[u(Eo.Header,{closeButton:!0,className:"modal-header"}),u(Eo.Body,{children:O("ul",{className:"navbar-nav",children:[u("li",{children:u(It,{reloadDocument:!0,activeclassname:"active",className:"modalNav","aria-current":"page",to:"/Dienstleistungen",children:"Dienstleistungen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Mitarbeitende",activeclassname:"active",className:"modalNav",children:"\xDCber uns"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Themen",activeclassname:"active",className:"modalNav",children:"Themen"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Projekte",activeclassname:"active",className:"modalNav",children:"Projekte"})}),u("li",{className:"nav-item",children:u(It,{reloadDocument:!0,to:"/Kontakt",activeclassname:"active",className:"modalNav",children:"Kontakt"})})]})})]})})})]})})}),u(B,{fluid:!0,className:"title-pic-content",children:u(px,{page:t})})]})},gx="/bv2024_frontend/#/assets/linkedin_logo_l.ef097f7b.png",yx=()=>u(B,{fluid:!0,className:"border-top footer ",children:u(B,{className:"text-center ",children:O("div",{className:"row flex-row-reverse",children:[u("section",{id:"infos",className:"col-xxl-6 footertext text-xxl-end",children:O("span",{children:[u(Fe,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",u(Fe,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",u(Fe,{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:gx,alt:"linkedin",width:"90px",height:"22px"})})}),u("section",{id:"copyright",className:"col-xxl-3 text-xxl-start text-nowrap",children:"\xA9 2023 B\xFCro Vatter"})]})})}),_s=e=>{console.log(e.prop);const t=dt(),n=Se(["downloads_1",`media/${e.prop}`,""],Ce);return n.isLoading?u(Ot,{}):(n.isError&&t("/NotMatch404"),console.log(n.data.source_url),u("div",{children:u(G,{children:u("a",{id:"download_list",href:n.data.source_url,children:O("div",{className:"d-flex justify-content-between",children:[u("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Jn.sanitize(n.data.title.rendered)}}),u("img",{src:Cm,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},Ex=()=>{const t=jt().state,n=t.acf,r=n.kooperationspartner.split(`\r `),i=n.vorgehenmethoden.split(`\r `);return console.log(t),O("div",{children:[u(B,{className:"categoryTitle",children:"PROJEKTE"}),u(B,{children:O(G,{children:[u(Q,{xl:4,children:u("div",{id:"back_btn_projectdetail",className:"text_color",children:u("a",{href:"/Projekte",children:"ZUR\xDCCK"})})}),O(Q,{xl:8,children:[u(G,{children:u(Q,{className:"project_detail_title",children:t.title.rendered})}),n.kooperationspartner?O(G,{children:[u(Q,{className:"detail_left",xl:3,children:"Kooperationspartner"}),u(Q,{className:"detail_right",xl:9,children:r.map((o,l)=>u("ul",{id:"partner",children:o},l))}),u("hr",{})]}):null,n.auftraggeber?O(G,{children:[u(Q,{className:"detail_left",xl:3,children:"Auftraggeber"}),u(Q,{className:"detail_right",xl:9,children:n.auftraggeber}),u("hr",{})]}):null,n.Jahr?O(G,{children:[u(Q,{className:"detail_left",xl:3,children:"Laufzeit"}),u(Q,{className:"detail_right",xl:9,children:n.Jahr}),u("hr",{})]}):null,n.inhalte?O(G,{children:[u(Q,{className:"detail_left",xl:3,children:"Inhalte"}),u(Q,{className:"detail_right",xl:9,children:n.inhalte}),u("hr",{})]}):null,n.vorgehenmethoden?O(G,{children:[u(Q,{className:"detail_left",xl:3,children:"Vorgehen/Methoden"}),u(Q,{className:"detail_right",xl:9,children:i.map((o,l)=>O("ul",{id:"method",children:["-",o]},l))}),u("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?u(G,{children:O(Q,{children:[u(G,{className:"detail_left",xl:3,children:"Downloads"}),n.downloads_1?u(G,{className:"detail_right",xl:9,children:u(_s,{prop:n.downloads_1})}):null,n.downloads_2?u(G,{className:"detail_right",xl:9,children:u(_s,{prop:n.downloads_2})}):null,n.downloads_3?u(G,{className:"detail_right",xl:9,children:u(_s,{prop:n.downloads_3})}):null,u("hr",{})]})}):null]})]})})]})},wx=new O0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),xx=()=>u("div",{className:"App",children:u(h0,{children:O(Q0,{client:wx,children:[u(vx,{}),O(a0,{forceRefresh:!0,children:[u(Ve,{path:"/",element:u(k1,{})}),u(Ve,{path:"/Dienstleistungen",element:u(nf,{})}),u(Ve,{path:"/Dienstleistungen/:id",element:u(nf,{})}),u(Ve,{path:"/Mitarbeitende",element:u(HE,{})}),u(Ve,{path:"/Mitarbeitende/:id",element:u(XE,{})}),u(Ve,{path:"/Themen",element:u(qE,{})}),u(Ve,{path:"/Projekte",element:u(lf,{})}),u(Ve,{path:"/Projekte/:id",element:u(lf,{})}),u(Ve,{path:"/Projekt/:title",element:u(Ex,{})}),u(Ve,{path:"/Kontakt",element:u(Lw,{})}),u(Ve,{path:"/Imprint",element:u(Fw,{})}),u(Ve,{path:"/DataProtection",element:u(Uw,{})}),u(Ve,{path:"*",element:u(Mw,{})})]}),u(yx,{})]})})}),Sx=document.getElementById("root"),Cx=xh(Sx);Cx.render(u(xx,{})); diff --git a/index.html b/index.html index bcfd0cc..f246a46 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500&family=Karla&display=swap" rel="stylesheet" /> - +