vendor: 13,563 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/tia-workspace-DTmKVu0u.js","assets/RedirectPage-C0-rJ0lj.js","assets/tia-studio-BzxuOyxr.js","assets/MarketingPages-Hn0bKR4h.js","assets/index-D74bhyMy.js","assets/SitePrimitives-BoAV_thh.js","assets/arrow-right-B9gmwZLC.js","assets/tia-gateway-DgZ8e463.js","assets/tia-edge-Brv_ve03.js","assets/tia-code-DMc5Ok8o.js","assets/terms-of-service-Ci1HGJof.js","assets/shield-CensJ6E3.js","assets/showcases-BNB9q7I2.js","assets/services-K5ZfzBfq.js","assets/products-Cdk4ypIE.js","assets/privacy-policy-C1lDd7vP.js","assets/portfolio-BMhsSMsL.js","assets/ourtoken-BmiYEVoL.js","assets/open-source-C1iLtg5k.js","assets/letschat-D-ZQd-Yd.js","assets/easyparent-DTTpOo0D.js","assets/design-system-CTdCbvQO.js","assets/contact-D8gydHLB.js","assets/company-CKb7mGkR.js","assets/index-CrLHEOkE.js","assets/index-BSI90C0q.js","assets/tia-workspace-DxPaBtK-.js","assets/live-media-D3Pva5-4.js","assets/finance-automation-DIII54PV.js","assets/index-DNUg1-t7.js","assets/voice-language-CTdVpOQ6.js","assets/private-ai-BvGb1gun.js","assets/forward-deployed-engineering-DQb-F2fE.js","assets/finance-automation-BvWnbN7z.js","assets/connected-assistants-BGIDWXiG.js","assets/ai-workflow-automation-Be-HbRmL.js","assets/ai-product-development-DHx0MedP.js","assets/ai-integration-DWWm70L3.js","assets/ai-implementation-Bo4ZgXiF.js","assets/agentic-operations-D1biW3Ku.js","assets/index-KWb1tfdy.js","assets/format-D5ebMS61.js","assets/_slug-k4LgZVK7.js"])))=>i.map(i=>d[i]); 2function Pg(n,i){for(var o=0;o<i.length;o++){const a=i[o];if(typeof a!="string"&&!Array.isArray(a)){for(const u in a)if(u!=="default"&&!(u in n)){const f=Object.getOwnPropertyDescriptor(a,u);f&&Object.defineProperty(n,u,f.get?f:{enumerable:!0,get:()=>a[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function Eg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var El={exports:{}},Do={},Cl={exports:{}},me={};var nd;function Cg(){if(nd)return me;nd=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.iterator;function w(I){return I===null||typeof I!="object"?null:(I=h&&I[h]||I["@@iterator"],typeof I=="function"?I:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,A={};function x(I,D,ce){this.props=I,this.context=D,this.refs=A,this.updater=ce||_}x.prototype.isReactComponent={},x.prototype.setState=function(I,D){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,D,"setState")},x.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function C(){}C.prototype=x.prototype;function N(I,D,ce){this.props=I,this.context=D,this.refs=A,this.updater=ce||_}var z=N.prototype=new C;z.constructor=N,E(z,x.prototype),z.isPureReactComponent=!0;var F=Array.isArray,U=Object.prototype.hasOwnProperty,H={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function b(I,D,ce){var fe,le={},ve=null,ke=null;if(D!=null)for(fe in D.ref!==void 0&&(ke=D.ref),D.key!==void 0&&(ve=""+D.key),D)U.call(D,fe)&&!B.hasOwnProperty(fe)&&(le[fe]=D[fe]);var we=arguments.length-2;if(we===1)le.children=ce;else if(1<we){for(var xe=Array(we),Ze=0;Ze<we;Ze++)xe[Ze]=arguments[Ze+2];le.children=xe}if(I&&I.defaultProps)for(fe in we=I.defaultProps,we)le[fe]===void 0&&(le[fe]=we[fe]);return{$$typeof:n,type:I,key:ve,ref:ke,props:le,_owner:H.current}}function Y(I,D){return{$$typeof:n,type:I.type,key:D,ref:I.ref,props:I.props,_owner:I._owner}}function ie(I){return typeof I=="object"&&I!==null&&I.$$typeof===n}function se(I){var D={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ce){return D[ce]})}var ae=/\/+/g;function Oe(I,D){return typeof I=="object"&&I!==null&&I.key!=null?se(""+I.key):D.toString(36)}function Le(I,D,ce,fe,le){var ve=typeof I;(ve==="undefined"||ve==="boolean")&&(I=null);var ke=!1;if(I===null)ke=!0;else switch(ve){case"string":case"number":ke=!0;break;case"object":switch(I.$$typeof){case n:case i:ke=!0}}if(ke)return ke=I,le=le(ke),I=fe===""?"."+Oe(ke,0):fe,F(le)?(ce="",I!=null&&(ce=I.replace(ae,"$&/")+"/"),Le(le,D,ce,"",function(Ze){return Ze})):le!=null&&(ie(le)&&(le=Y(le,ce+(!le.key||ke&&ke.key===le.key?"":(""+le.key).replace(ae,"$&/")+"/")+I)),D.push(le)),1;if(ke=0,fe=fe===""?".":fe+":",F(I))for(var we=0;we<I.length;we++){ve=I[we];var xe=fe+Oe(ve,we);ke+=Le(ve,D,ce,xe,le)}else if(xe=w(I),typeof xe=="function")for(I=xe.call(I),we=0;!(ve=I.next()).done;)ve=ve.value,xe=fe+Oe(ve,we++),ke+=Le(ve,D,ce,xe,le);else if(ve==="object")throw D=String(I),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return ke}function Ve(I,D,ce){if(I==null)return I;var fe=[],le=0;return Le(I,fe,"","",function(ve){return D.call(ce,ve,le++)}),fe}function We(I){if(I._status===-1){var D=I._result;D=D(),D.then(function(ce){(I._status===0||I._status===-1)&&(I._status=1,I._result=ce)},function(ce){(I._status===0||I._status===-1)&&(I._status=2,I._result=ce)}),I._status===-1&&(I._status=0,I._result=D)}if(I._status===1)return I._result.default;throw I._result}var ye={current:null},Q={transition:null},ne={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Q,ReactCurrentOwner:H};function X(){throw Error("act(...) is not supported in production builds of React.")}return me.Children={map:Ve,forEach:function(I,D,ce){Ve(I,function(){D.apply(this,arguments)},ce)},count:function(I){var D=0;return Ve(I,function(){D++}),D},toArray:function(I){return Ve(I,function(D){return D})||[]},only:function(I){if(!ie(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},me.Component=x,me.Fragment=o,me.Profiler=u,me.PureComponent=N,me.StrictMode=a,me.Suspense=g,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,me.act=X,me.cloneElement=function(I,D,ce){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var fe=E({},I.props),le=I.key,ve=I.ref,ke=I._owner;if(D!=null){if(D.ref!==void 0&&(ve=D.ref,ke=H.current),D.key!==void 0&&(le=""+D.key),I.type&&I.type.defaultProps)var we=I.type.defaultProps;for(xe in D)U.call(D,xe)&&!B.hasOwnProperty(xe)&&(fe[xe]=D[xe]===void 0&&we!==void 0?we[xe]:D[xe])}var xe=arguments.length-2;if(xe===1)fe.children=ce;else if(1<xe){we=Array(xe);for(var Ze=0;Ze<xe;Ze++)we[Ze]=arguments[Ze+2];fe.children=we}return{$$typeof:n,type:I.type,key:le,ref:ve,props:fe,_owner:ke}},me.createContext=function(I){return I={$$typeof:d,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:f,_context:I},I.Consumer=I},me.createElement=b,me.createFactory=function(I){var D=b.bind(null,I);return D.type=I,D},me.createRef=function(){return{current:null}},me.forwardRef=function(I){return{$$typeof:p,render:I}},me.isValidElement=ie,me.lazy=function(I){return{$$typeof:v,_payload:{_status:-1,_result:I},_init:We}},me.memo=function(I,D){return{$$typeof:y,type:I,compare:D===void 0?null:D}},me.startTransition=function(I){var D=Q.transition;Q.transition={};try{I()}finally{Q.transition=D}},me.unstable_act=X,me.useCallback=function(I,D){return ye.current.useCallback(I,D)},me.useContext=function(I){return ye.current.useContext(I)},me.useDebugValue=function(){},me.useDeferredValue=function(I){return ye.current.useDeferredValue(I)},me.useEffect=function(I,D){return ye.current.useEffect(I,D)},me.useId=function(){return ye.current.useId()},me.useImperativeHandle=function(I,D,ce){return ye.current.useImperativeHandle(I,D,ce)},me.useInsertionEffect=function(I,D){return ye.current.useInsertionEffect(I,D)},me.useLayoutEffect=function(I,D){return ye.current.useLayoutEffect(I,D)},me.useMemo=function(I,D){return ye.current.useMemo(I,D)},me.useReducer=function(I,D,ce){return ye.current.useReducer(I,D,ce)},me.useRef=function(I){return ye.current.useRef(I)},me.useState=function(I){return ye.current.useState(I)},me.useSyncExternalStore=function(I,D,ce){return ye.current.useSyncExternalStore(I,D,ce)},me.useTransition=function(){return ye.current.useTransition()},me.version="18.3.1",me}var rd;function qo(){return rd||(rd=1,Cl.exports=Cg()),Cl.exports}var od;function Ig(){if(od)return Do;od=1;var n=qo(),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function d(p,g,y){var v,h={},w=null,_=null;y!==void 0&&(w=""+y),g.key!==void 0&&(w=""+g.key),g.ref!==void 0&&(_=g.ref);for(v in g)a.call(g,v)&&!f.hasOwnProperty(v)&&(h[v]=g[v]);if(p&&p.defaultProps)for(v in g=p.defaultProps,g)h[v]===void 0&&(h[v]=g[v]);return{$$typeof:i,type:p,key:w,ref:_,props:h,_owner:u.current}}return Do.Fragment=o,Do.jsx=d,Do.jsxs=d,Do}var id;function Lg(){return id||(id=1,El.exports=Ig()),El.exports}var K=Lg(),te=qo();const Yr=Eg(te),WR=Pg({__proto__:null,default:Yr},[te]);var cs={},Il={exports:{}},yt={},Ll={exports:{}},Tl={};var sd;function Tg(){return sd||(sd=1,(function(n){function i(Q,ne){var X=Q.length;Q.push(ne);e:for(;0<X;){var I=X-1>>>1,D=Q[I];if(0<u(D,ne))Q[I]=ne,Q[X]=D,X=I;else break e}}function o(Q){return Q.length===0?null:Q[0]}function a(Q){if(Q.length===0)return null;var ne=Q[0],X=Q.pop();if(X!==ne){Q[0]=X;e:for(var I=0,D=Q.length,ce=D>>>1;I<ce;){var fe=2*(I+1)-1,le=Q[fe],ve=fe+1,ke=Q[ve];if(0>u(le,X))ve<D&&0>u(ke,le)?(Q[I]=ke,Q[ve]=X,I=ve):(Q[I]=le,Q[fe]=X,I=fe);else if(ve<D&&0>u(ke,X))Q[I]=ke,Q[ve]=X,I=ve;else break e}}return ne}function u(Q,ne){var X=Q.sortIndex-ne.sortIndex;return X!==0?X:Q.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,p=d.now();n.unstable_now=function(){return d.now()-p}}var g=[],y=[],v=1,h=null,w=3,_=!1,E=!1,A=!1,x=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(Q){for(var ne=o(y);ne!==null;){if(ne.callback===null)a(y);else if(ne.startTime<=Q)a(y),ne.sortIndex=ne.expirationTime,i(g,ne);else break;ne=o(y)}}function F(Q){if(A=!1,z(Q),!E)if(o(g)!==null)E=!0,We(U);else{var ne=o(y);ne!==null&&ye(F,ne.startTime-Q)}}function U(Q,ne){E=!1,A&&(A=!1,C(b),b=-1),_=!0;var X=w;try{for(z(ne),h=o(g);h!==null&&(!(h.expirationTime>ne)||Q&&!se());){var I=h.callback;if(typeof I=="function"){h.callback=null,w=h.priorityLevel;var D=I(h.expirationTime<=ne);ne=n.unstable_now(),typeof D=="function"?h.callback=D:h===o(g)&&a(g),z(ne)}else a(g);h=o(g)}if(h!==null)var ce=!0;else{var fe=o(y);fe!==null&&ye(F,fe.startTime-ne),ce=!1}return ce}finally{h=null,w=X,_=!1}}var H=!1,B=null,b=-1,Y=5,ie=-1;function se(){return!(n.unstable_now()-ie<Y)}function ae(){if(B!==null){var Q=n.unstable_now();ie=Q;var ne=!0;try{ne=B(!0,Q)}finally{ne?Oe():(H=!1,B=null)}}else H=!1}var Oe;if(typeof N=="function")Oe=function(){N(ae)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Ve=Le.port2;Le.port1.onmessage=ae,Oe=function(){Ve.postMessage(null)}}else Oe=function(){x(ae,0)};function We(Q){B=Q,H||(H=!0,Oe())}function ye(Q,ne){b=x(function(){Q(n.unstable_now())},ne)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Q){Q.callback=null},n.unstable_continueExecution=function(){E||_||(E=!0,We(U))},n.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<Q?Math.floor(1e3/Q):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_getFirstCallbackNode=function(){return o(g)},n.unstable_next=function(Q){switch(w){case 1:case 2:case 3:var ne=3;break;default:ne=w}var X=w;w=ne;try{return Q()}finally{w=X}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Q,ne){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var X=w;w=Q;try{return ne()}finally{w=X}},n.unstable_scheduleCallback=function(Q,ne,X){var I=n.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?I+X:I):X=I,Q){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=X+D,Q={id:v++,callback:ne,priorityLevel:Q,startTime:X,expirationTime:D,sortIndex:-1},X>I?(Q.sortIndex=X,i(y,Q),o(g)===null&&Q===o(y)&&(A?(C(b),b=-1):A=!0,ye(F,X-I))):(Q.sortIndex=D,i(g,Q),E||_||(E=!0,We(U))),Q},n.unstable_shouldYield=se,n.unstable_wrapCallback=function(Q){var ne=w;return function(){var X=w;w=ne;try{return Q.apply(this,arguments)}finally{w=X}}}})(Tl)),Tl}var ad;
vendor: 45,883 bytes, lines 2-7
2function Ag(){return ad||(ad=1,Ll.exports=Tg()),Ll.exports}var ld;function Mg(){if(ld)return yt;ld=1;var n=qo(),i=Ag();function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,u={};function f(e,t){d(e,t),d(e+"Capture",t)}function d(e,t){for(u[e]=t,e=0;e<t.length;e++)a.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,y=/^[: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]*$/,v={},h={};function w(e){return g.call(h,e)?!0:g.call(v,e)?!1:y.test(e)?h[e]=!0:(v[e]=!0,!1)}function _(e,t,r,s){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function E(e,t,r,s){if(t===null||typeof t>"u"||_(e,t,r,s))return!0;if(s)return!1;if(r!==null)switch(r.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 A(e,t,r,s,l,c,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=m}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){x[e]=new A(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];x[t]=new A(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){x[e]=new A(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){x[e]=new A(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){x[e]=new A(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){x[e]=new A(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){x[e]=new A(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){x[e]=new A(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){x[e]=new A(e,5,!1,e.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function N(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(C,N);x[t]=new A(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(C,N);x[t]=new A(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(C,N);x[t]=new A(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){x[e]=new A(e,1,!1,e.toLowerCase(),null,!1,!1)}),x.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){x[e]=new A(e,1,!1,e.toLowerCase(),null,!0,!0)});function z(e,t,r,s){var l=x.hasOwnProperty(t)?x[t]:null;(l!==null?l.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(E(t,r,l,s)&&(r=null),s||l===null?w(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):l.mustUseProperty?e[l.propertyName]=r===null?l.type===3?!1:"":r:(t=l.attributeName,s=l.attributeNamespace,r===null?e.removeAttribute(t):(l=l.type,r=l===3||l===4&&r===!0?"":""+r,s?e.setAttributeNS(s,t,r):e.setAttribute(t,r))))}var F=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),H=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),se=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ye=Symbol.for("react.offscreen"),Q=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=Q&&e[Q]||e["@@iterator"],typeof e=="function"?e:null)}var X=Object.assign,I;function D(e){if(I===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return` 3`+I+e}var ce=!1;function fe(e,t){if(!e||ce)return"";ce=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(O){var s=O}Reflect.construct(e,[],t)}else{try{t.call()}catch(O){s=O}e.call(t.prototype)}else{try{throw Error()}catch(O){s=O}e()}}catch(O){if(O&&s&&typeof O.stack=="string"){for(var l=O.stack.split(` 4`),c=s.stack.split(` 5`),m=l.length-1,R=c.length-1;1<=m&&0<=R&&l[m]!==c[R];)R--;for(;1<=m&&0<=R;m--,R--)if(l[m]!==c[R]){if(m!==1||R!==1)do if(m--,R--,0>R||l[m]!==c[R]){var k=` 6`+l[m].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=m&&0<=R);break}}}finally{ce=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?D(e):""}function le(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return""}}function ve(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 B:return"Fragment";case H:return"Portal";case Y:return"Profiler";case b:return"StrictMode";case Oe:return"Suspense";case Le:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case se:return(e.displayName||"Context")+".Consumer";case ie:return(e._context.displayName||"Context")+".Provider";case ae:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ve:return t=e.displayName||null,t!==null?t:ve(e.type)||"Memo";case We:t=e._payload,e=e._init;try{return ve(e(t))}catch{}}return null}function ke(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 ve(t);case 8:return t===b?"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 we(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ze(e){var t=xe(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,c=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){s=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return s},setValue:function(m){s=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gt(e){e._valueTracker||(e._valueTracker=Ze(e))}function $n(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),s="";return e&&(s=xe(e)?e.checked?"true":"false":e.value),e=s,e!==r?(t.setValue(e),!0):!1}function Bn(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 dr(e,t){var r=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ti(e,t){var r=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;r=we(t.value!=null?t.value:r),e._wrapperState={initialChecked:s,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xr(e,t){t=t.checked,t!=null&&z(e,"checked",t,!1)}function pr(e,t){Xr(e,t);var r=we(t.value),s=t.type;if(r!=null)s==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Un(e,t.type,r):t.hasOwnProperty("defaultValue")&&Un(e,t.type,we(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yt(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Un(e,t,r){(t!=="number"||Bn(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var wt=Array.isArray;function fn(e,t,r,s){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&s&&(e[r].defaultSelected=!0)}else{for(r=""+we(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,s&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function hr(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(o(91));return X({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ni(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(o(92));if(wt(r)){if(1<r.length)throw Error(o(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:we(r)}}function qr(e,t){var r=we(t.value),s=we(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),s!=null&&(e.defaultValue=""+s)}function Ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function et(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function At(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?et(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var mr,mu=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,s,l){MSApp.execUnsafeLocalFunction(function(){return e(t,r,s,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(mr=mr||document.createElement("div"),mr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Zr={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},Lh=["Webkit","ms","Moz","O"];Object.keys(Zr).forEach(function(e){Lh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zr[t]=Zr[e]})});function gu(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Zr.hasOwnProperty(e)&&Zr[e]?(""+t).trim():t+"px"}function yu(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var s=r.indexOf("--")===0,l=gu(r,t[r],s);r==="float"&&(r="cssFloat"),s?e.setProperty(r,l):e[r]=l}}var Th=X({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 js(e,t){if(t){if(Th[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function $s(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 Bs=null;function Us(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vs=null,gr=null,yr=null;function vu(e){if(e=Ro(e)){if(typeof Vs!="function")throw Error(o(280));var t=e.stateNode;t&&(t=Pi(t),Vs(e.stateNode,e.type,t))}}function wu(e){gr?yr?yr.push(e):yr=[e]:gr=e}function Su(){if(gr){var e=gr,t=yr;if(yr=gr=null,vu(e),t)for(e=0;e<t.length;e++)vu(t[e])}}function _u(e,t){return e(t)}function Ru(){}var bs=!1;function xu(e,t,r){if(bs)return e(t,r);bs=!0;try{return _u(e,t,r)}finally{bs=!1,(gr!==null||yr!==null)&&(Ru(),Su())}}function eo(e,t){var r=e.stateNode;if(r===null)return null;var s=Pi(r);if(s===null)return null;r=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(o(231,t,typeof r));return r}var Ws=!1;if(p)try{var to={};Object.defineProperty(to,"passive",{get:function(){Ws=!0}}),window.addEventListener("test",to,to),window.removeEventListener("test",to,to)}catch{Ws=!1}function Ah(e,t,r,s,l,c,m,R,k){var O=Array.prototype.slice.call(arguments,3);try{t.apply(r,O)}catch($){this.onError($)}}var no=!1,ri=null,oi=!1,Hs=null,Mh={onError:function(e){no=!0,ri=e}};function Oh(e,t,r,s,l,c,m,R,k){no=!1,ri=null,Ah.apply(Mh,arguments)}function Nh(e,t,r,s,l,c,m,R,k){if(Oh.apply(this,arguments),no){if(no){var O=ri;no=!1,ri=null}else throw Error(o(198));oi||(oi=!0,Hs=O)}}function Vn(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function ku(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Pu(e){if(Vn(e)!==e)throw Error(o(188))}function Fh(e){var t=e.alternate;if(!t){if(t=Vn(e),t===null)throw Error(o(188));return t!==e?null:e}for(var r=e,s=t;;){var l=r.return;if(l===null)break;var c=l.alternate;if(c===null){if(s=l.return,s!==null){r=s;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===r)return Pu(l),e;if(c===s)return Pu(l),t;c=c.sibling}throw Error(o(188))}if(r.return!==s.return)r=l,s=c;else{for(var m=!1,R=l.child;R;){if(R===r){m=!0,r=l,s=c;break}if(R===s){m=!0,s=l,r=c;break}R=R.sibling}if(!m){for(R=c.child;R;){if(R===r){m=!0,r=c,s=l;break}if(R===s){m=!0,s=c,r=l;break}R=R.sibling}if(!m)throw Error(o(189))}}if(r.alternate!==s)throw Error(o(190))}if(r.tag!==3)throw Error(o(188));return r.stateNode.current===r?e:t}function Eu(e){return e=Fh(e),e!==null?Cu(e):null}function Cu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Cu(e);if(t!==null)return t;e=e.sibling}return null}var Iu=i.unstable_scheduleCallback,Lu=i.unstable_cancelCallback,zh=i.unstable_shouldYield,Dh=i.unstable_requestPaint,Be=i.unstable_now,jh=i.unstable_getCurrentPriorityLevel,Ks=i.unstable_ImmediatePriority,Tu=i.unstable_UserBlockingPriority,ii=i.unstable_NormalPriority,$h=i.unstable_LowPriority,Au=i.unstable_IdlePriority,si=null,$t=null;function Bh(e){if($t&&typeof $t.onCommitFiberRoot=="function")try{$t.onCommitFiberRoot(si,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:bh,Uh=Math.log,Vh=Math.LN2;function bh(e){return e>>>=0,e===0?32:31-(Uh(e)/Vh|0)|0}var ai=64,li=4194304;function ro(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 ui(e,t){var r=e.pendingLanes;if(r===0)return 0;var s=0,l=e.suspendedLanes,c=e.pingedLanes,m=r&268435455;if(m!==0){var R=m&~l;R!==0?s=ro(R):(c&=m,c!==0&&(s=ro(c)))}else m=r&~l,m!==0?s=ro(m):c!==0&&(s=ro(c));if(s===0)return 0;if(t!==0&&t!==s&&(t&l)===0&&(l=s&-s,c=t&-t,l>=c||l===16&&(c&4194240)!==0))return t;if((s&4)!==0&&(s|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)r=31-Mt(t),l=1<<r,s|=e[r],t&=~l;return s}function Wh(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Hh(e,t){for(var r=e.suspendedLanes,s=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes;0<c;){var m=31-Mt(c),R=1<<m,k=l[m];k===-1?((R&r)===0||(R&s)!==0)&&(l[m]=Wh(R,t)):k<=t&&(e.expiredLanes|=R),c&=~R}}function Qs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Mu(){var e=ai;return ai<<=1,(ai&4194240)===0&&(ai=64),e}function Gs(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function oo(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=r}function Kh(e,t){var r=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 s=e.eventTimes;for(e=e.expirationTimes;0<r;){var l=31-Mt(r),c=1<<l;t[l]=0,s[l]=-1,e[l]=-1,r&=~c}}function Ys(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var s=31-Mt(r),l=1<<s;l&t|e[s]&t&&(e[s]|=t),r&=~l}}var Pe=0;function Ou(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Nu,Xs,Fu,zu,Du,qs=!1,ci=[],dn=null,pn=null,hn=null,io=new Map,so=new Map,mn=[],Qh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ju(e,t){switch(e){case"focusin":case"focusout":dn=null;break;case"dragenter":case"dragleave":pn=null;break;case"mouseover":case"mouseout":hn=null;break;case"pointerover":case"pointerout":io.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":so.delete(t.pointerId)}}function ao(e,t,r,s,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:s,nativeEvent:c,targetContainers:[l]},t!==null&&(t=Ro(t),t!==null&&Xs(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Gh(e,t,r,s,l){switch(t){case"focusin":return dn=ao(dn,e,t,r,s,l),!0;case"dragenter":return pn=ao(pn,e,t,r,s,l),!0;case"mouseover":return hn=ao(hn,e,t,r,s,l),!0;case"pointerover":var c=l.pointerId;return io.set(c,ao(io.get(c)||null,e,t,r,s,l)),!0;case"gotpointercapture":return c=l.pointerId,so.set(c,ao(so.get(c)||null,e,t,r,s,l)),!0}return!1}function $u(e){var t=bn(e.target);if(t!==null){var r=Vn(t);if(r!==null){if(t=r.tag,t===13){if(t=ku(r),t!==null){e.blockedOn=t,Du(e.priority,function(){Fu(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Zs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var s=new r.constructor(r.type,r);Bs=s,r.target.dispatchEvent(s),Bs=null}else return t=Ro(r),t!==null&&Xs(t),e.blockedOn=r,!1;t.shift()}return!0}function Bu(e,t,r){fi(e)&&r.delete(t)}function Yh(){qs=!1,dn!==null&&fi(dn)&&(dn=null),pn!==null&&fi(pn)&&(pn=null),hn!==null&&fi(hn)&&(hn=null),io.forEach(Bu),so.forEach(Bu)}function lo(e,t){e.blockedOn===t&&(e.blockedOn=null,qs||(qs=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Yh)))}function uo(e){function t(l){return lo(l,e)}if(0<ci.length){lo(ci[0],e);for(var r=1;r<ci.length;r++){var s=ci[r];s.blockedOn===e&&(s.blockedOn=null)}}for(dn!==null&&lo(dn,e),pn!==null&&lo(pn,e),hn!==null&&lo(hn,e),io.forEach(t),so.forEach(t),r=0;r<mn.length;r++)s=mn[r],s.blockedOn===e&&(s.blockedOn=null);for(;0<mn.length&&(r=mn[0],r.blockedOn===null);)$u(r),r.blockedOn===null&&mn.shift()}var vr=F.ReactCurrentBatchConfig,di=!0;function Xh(e,t,r,s){var l=Pe,c=vr.transition;vr.transition=null;try{Pe=1,Js(e,t,r,s)}finally{Pe=l,vr.transition=c}}function qh(e,t,r,s){var l=Pe,c=vr.transition;vr.transition=null;try{Pe=4,Js(e,t,r,s)}finally{Pe=l,vr.transition=c}}function Js(e,t,r,s){if(di){var l=Zs(e,t,r,s);if(l===null)ga(e,t,s,pi,r),ju(e,s);else if(Gh(l,e,t,r,s))s.stopPropagation();else if(ju(e,s),t&4&&-1<Qh.indexOf(e)){for(;l!==null;){var c=Ro(l);if(c!==null&&Nu(c),c=Zs(e,t,r,s),c===null&&ga(e,t,s,pi,r),c===l)break;l=c}l!==null&&s.stopPropagation()}else ga(e,t,s,null,r)}}var pi=null;function Zs(e,t,r,s){if(pi=null,e=Us(s),e=bn(e),e!==null)if(t=Vn(e),t===null)e=null;else if(r=t.tag,r===13){if(e=ku(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return pi=e,null}function Uu(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(jh()){case Ks:return 1;case Tu:return 4;case ii:case $h:return 16;case Au:return 536870912;default:return 16}default:return 16}}var gn=null,ea=null,hi=null;function Vu(){if(hi)return hi;var e,t=ea,r=t.length,s,l="value"in gn?gn.value:gn.textContent,c=l.length;for(e=0;e<r&&t[e]===l[e];e++);var m=r-e;for(s=1;s<=m&&t[r-s]===l[c-s];s++);return hi=l.slice(e,1<s?1-s:void 0)}function mi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function gi(){return!0}function bu(){return!1}function St(e){function t(r,s,l,c,m){this._reactName=r,this._targetInst=l,this.type=s,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var R in e)e.hasOwnProperty(R)&&(r=e[R],this[R]=r?r(c):c[R]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?gi:bu,this.isPropagationStopped=bu,this}return X(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=gi)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=gi)},persist:function(){},isPersistent:gi}),t}var wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ta=St(wr),co=X({},wr,{view:0,detail:0}),Jh=St(co),na,ra,fo,yi=X({},co,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ia,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fo&&(fo&&e.type==="mousemove"?(na=e.screenX-fo.screenX,ra=e.screenY-fo.screenY):ra=na=0,fo=e),na)},movementY:function(e){return"movementY"in e?e.movementY:ra}}),Wu=St(yi),Zh=X({},yi,{dataTransfer:0}),em=St(Zh),tm=X({},co,{relatedTarget:0}),oa=St(tm),nm=X({},wr,{animationName:0,elapsedTime:0,pseudoElement:0}),rm=St(nm),om=X({},wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),im=St(om),sm=X({},wr,{data:0}),Hu=St(sm),am={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},um={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=um[e])?!!t[e]:!1}function ia(){return cm}var fm=X({},co,{key:function(e){if(e.key){var t=am[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?lm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ia,charCode:function(e){return e.type==="keypress"?mi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),dm=St(fm),pm=X({},yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ku=St(pm),hm=X({},co,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ia}),mm=St(hm),gm=X({},wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),ym=St(gm),vm=X({},yi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),wm=St(vm),Sm=[9,13,27,32],sa=p&&"CompositionEvent"in window,po=null;p&&"documentMode"in document&&(po=document.documentMode);var _m=p&&"TextEvent"in window&&!po,Qu=p&&(!sa||po&&8<po&&11>=po),Gu=" ",Yu=!1;function Xu(e,t){switch(e){case"keyup":return Sm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sr=!1;function Rm(e,t){switch(e){case"compositionend":return qu(t);case"keypress":return t.which!==32?null:(Yu=!0,Gu);case"textInput":return e=t.data,e===Gu&&Yu?null:e;default:return null}}function xm(e,t){if(Sr)return e==="compositionend"||!sa&&Xu(e,t)?(e=Vu(),hi=ea=gn=null,Sr=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qu&&t.locale!=="ko"?null:t.data;default:return null}}var km={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ju(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!km[e.type]:t==="textarea"}function Zu(e,t,r,s){wu(s),t=Ri(t,"onChange"),0<t.length&&(r=new ta("onChange","change",null,r,s),e.push({event:r,listeners:t}))}var ho=null,mo=null;function Pm(e){yc(e,0)}function vi(e){var t=Pr(e);if($n(t))return e}function Em(e,t){if(e==="change")return t}var ec=!1;if(p){var aa;if(p){var la="oninput"in document;if(!la){var tc=document.createElement("div");tc.setAttribute("oninput","return;"),la=typeof tc.oninput=="function"}aa=la}else aa=!1;ec=aa&&(!document.documentMode||9<document.documentMode)}function nc(){ho&&(ho.detachEvent("onpropertychange",rc),mo=ho=null)}function rc(e){if(e.propertyName==="value"&&vi(mo)){var t=[];Zu(t,mo,e,Us(e)),xu(Pm,t)}}function Cm(e,t,r){e==="focusin"?(nc(),ho=t,mo=r,ho.attachEvent("onpropertychange",rc)):e==="focusout"&&nc()}function Im(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vi(mo)}function Lm(e,t){if(e==="click")return vi(t)}function Tm(e,t){if(e==="input"||e==="change")return vi(t)}function Am(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ot=typeof Object.is=="function"?Object.is:Am;function go(e,t){if(Ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(s=0;s<r.length;s++){var l=r[s];if(!g.call(t,l)||!Ot(e[l],t[l]))return!1}return!0}function oc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ic(e,t){var r=oc(e);e=0;for(var s;r;){if(r.nodeType===3){if(s=e+r.textContent.length,e<=t&&s>=t)return{node:r,offset:t-e};e=s}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=oc(r)}}function sc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ac(){for(var e=window,t=Bn();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Bn(e.document)}return t}function ua(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 Mm(e){var t=ac(),r=e.focusedElem,s=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&sc(r.ownerDocument.documentElement,r)){if(s!==null&&ua(r)){if(t=s.start,e=s.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=r.textContent.length,c=Math.min(s.start,l);s=s.end===void 0?c:Math.min(s.end,l),!e.extend&&c>s&&(l=s,s=c,c=l),l=ic(r,c);var m=ic(r,s);l&&m&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),c>s?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Om=p&&"documentMode"in document&&11>=document.documentMode,_r=null,ca=null,yo=null,fa=!1;function lc(e,t,r){var s=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;fa||_r==null||_r!==Bn(s)||(s=_r,"selectionStart"in s&&ua(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),yo&&go(yo,s)||(yo=s,s=Ri(ca,"onSelect"),0<s.length&&(t=new ta("onSelect","select",null,t,r),e.push({event:t,listeners:s}),t.target=_r)))}function wi(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Rr={animationend:wi("Animation","AnimationEnd"),animationiteration:wi("Animation","AnimationIteration"),animationstart:wi("Animation","AnimationStart"),transitionend:wi("Transition","TransitionEnd")},da={},uc={};p&&(uc=document.createElement("div").style,"AnimationEvent"in window||(delete Rr.animationend.animation,delete Rr.animationiteration.animation,delete Rr.animationstart.animation),"TransitionEvent"in window||delete Rr.transitionend.transition);function Si(e){if(da[e])return da[e];if(!Rr[e])return e;var t=Rr[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in uc)return da[e]=t[r];return e}var cc=Si("animationend"),fc=Si("animationiteration"),dc=Si("animationstart"),pc=Si("transitionend"),hc=new Map,mc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function yn(e,t){hc.set(e,t),f(t,[e])}for(var pa=0;pa<mc.length;pa++){var ha=mc[pa],Nm=ha.toLowerCase(),Fm=ha[0].toUpperCase()+ha.slice(1);yn(Nm,"on"+Fm)}yn(cc,"onAnimationEnd"),yn(fc,"onAnimationIteration"),yn(dc,"onAnimationStart"),yn("dblclick","onDoubleClick"),yn("focusin","onFocus"),yn("focusout","onBlur"),yn(pc,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zm=new Set("cancel close invalid load scroll toggle".split(" ").concat(vo));function gc(e,t,r){var s=e.type||"unknown-event";e.currentTarget=r,Nh(s,t,void 0,e),e.currentTarget=null}function yc(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var s=e[r],l=s.event;s=s.listeners;e:{var c=void 0;if(t)for(var m=s.length-1;0<=m;m--){var R=s[m],k=R.instance,O=R.currentTarget;if(R=R.listener,k!==c&&l.isPropagationStopped())break e;gc(l,R,O),c=k}else for(m=0;m<s.length;m++){if(R=s[m],k=R.instance,O=R.currentTarget,R=R.listener,k!==c&&l.isPropagationStopped())break e;gc(l,R,O),c=k}}}if(oi)throw e=Hs,oi=!1,Hs=null,e}function Ae(e,t){var r=t[Ra];r===void 0&&(r=t[Ra]=new Set);var s=e+"__bubble";r.has(s)||(vc(t,e,2,!1),r.add(s))}function ma(e,t,r){var s=0;t&&(s|=4),vc(r,e,s,t)}var _i="_reactListening"+Math.random().toString(36).slice(2);function wo(e){if(!e[_i]){e[_i]=!0,a.forEach(function(r){r!=="selectionchange"&&(zm.has(r)||ma(r,!1,e),ma(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_i]||(t[_i]=!0,ma("selectionchange",!1,t))}}function vc(e,t,r,s){switch(Uu(t)){case 1:var l=Xh;break;case 4:l=qh;break;default:l=Js}r=l.bind(null,t,r,e),l=void 0,!Ws||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),s?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function ga(e,t,r,s,l){var c=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var m=s.tag;if(m===3||m===4){var R=s.stateNode.containerInfo;if(R===l||R.nodeType===8&&R.parentNode===l)break;if(m===4)for(m=s.return;m!==null;){var k=m.tag;if((k===3||k===4)&&(k=m.stateNode.containerInfo,k===l||k.nodeType===8&&k.parentNode===l))return;m=m.return}for(;R!==null;){if(m=bn(R),m===null)return;if(k=m.tag,k===5||k===6){s=c=m;continue e}R=R.parentNode}}s=s.return}xu(function(){var O=c,$=Us(r),V=[];e:{var j=hc.get(e);if(j!==void 0){var G=ta,J=e;switch(e){case"keypress":if(mi(r)===0)break e;case"keydown":case"keyup":G=dm;break;case"focusin":J="focus",G=oa;break;case"focusout":J="blur",G=oa;break;case"beforeblur":case"afterblur":G=oa;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=Wu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=em;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=mm;break;case cc:case fc:case dc:G=rm;break;case pc:G=ym;break;case"scroll":G=Jh;break;case"wheel":G=wm;break;case"copy":case"cut":case"paste":G=im;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=Ku}var Z=(t&4)!==0,Ue=!Z&&e==="scroll",L=Z?j!==null?j+"Capture":null:j;Z=[];for(var P=O,M;P!==null;){M=P;var W=M.stateNode;if(M.tag===5&&W!==null&&(M=W,L!==null&&(W=eo(P,L),W!=null&&Z.push(So(P,W,M)))),Ue)break;P=P.return}0<Z.length&&(j=new G(j,J,null,r,$),V.push({event:j,listeners:Z}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",j&&r!==Bs&&(J=r.relatedTarget||r.fromElement)&&(bn(J)||J[Xt]))break e;if((G||j)&&(j=$.window===$?$:(j=$.ownerDocument)?j.defaultView||j.parentWindow:window,G?(J=r.relatedTarget||r.toElement,G=O,J=J?bn(J):null,J!==null&&(Ue=Vn(J),J!==Ue||J.tag!==5&&J.tag!==6)&&(J=null)):(G=null,J=O),G!==J)){if(Z=Wu,W="onMouseLeave",L="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(Z=Ku,W="onPointerLeave",L="onPointerEnter",P="pointer"),Ue=G==null?j:Pr(G),M=J==null?j:Pr(J),j=new Z(W,P+"leave",G,r,$),j.target=Ue,j.relatedTarget=M,W=null,bn($)===O&&(Z=new Z(L,P+"enter",J,r,$),Z.target=M,Z.relatedTarget=Ue,W=Z),Ue=W,G&&J)t:{for(Z=G,L=J,P=0,M=Z;M;M=xr(M))P++;for(M=0,W=L;W;W=xr(W))M++;for(;0<P-M;)Z=xr(Z),P--;for(;0<M-P;)L=xr(L),M--;for(;P--;){if(Z===L||L!==null&&Z===L.alternate)break t;Z=xr(Z),L=xr(L)}Z=null}else Z=null;G!==null&&wc(V,j,G,Z,!1),J!==null&&Ue!==null&&wc(V,Ue,J,Z,!0)}}e:{if(j=O?Pr(O):window,G=j.nodeName&&j.nodeName.toLowerCase(),G==="select"||G==="input"&&j.type==="file")var ee=Em;else if(Ju(j))if(ec)ee=Tm;else{ee=Im;var re=Cm}else(G=j.nodeName)&&G.toLowerCase()==="input"&&(j.type==="checkbox"||j.type==="radio")&&(ee=Lm);if(ee&&(ee=ee(e,O))){Zu(V,ee,r,$);break e}re&&re(e,j,O),e==="focusout"&&(re=j._wrapperState)&&re.controlled&&j.type==="number"&&Un(j,"number",j.value)}switch(re=O?Pr(O):window,e){case"focusin":(Ju(re)||re.contentEditable==="true")&&(_r=re,ca=O,yo=null);break;case"focusout":yo=ca=_r=null;break;case"mousedown":fa=!0;break;case"contextmenu":case"mouseup":case"dragend":fa=!1,lc(V,r,$);break;case"selectionchange":if(Om)break;case"keydown":case"keyup":lc(V,r,$)}var oe;if(sa)e:{switch(e){case"compositionstart":var ue="onCompositionStart";break e;case"compositionend":ue="onCompositionEnd";break e;case"compositionupdate":ue="onCompositionUpdate";break e}ue=void 0}else Sr?Xu(e,r)&&(ue="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(ue="onCompositionStart");ue&&(Qu&&r.locale!=="ko"&&(Sr||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&Sr&&(oe=Vu()):(gn=$,ea="value"in gn?gn.value:gn.textContent,Sr=!0)),re=Ri(O,ue),0<re.length&&(ue=new Hu(ue,e,null,r,$),V.push({event:ue,listeners:re}),oe?ue.data=oe:(oe=qu(r),oe!==null&&(ue.data=oe)))),(oe=_m?Rm(e,r):xm(e,r))&&(O=Ri(O,"onBeforeInput"),0<O.length&&($=new Hu("onBeforeInput","beforeinput",null,r,$),V.push({event:$,listeners:O}),$.data=oe))}yc(V,t)})}function So(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ri(e,t){for(var r=t+"Capture",s=[];e!==null;){var l=e,c=l.stateNode;l.tag===5&&c!==null&&(l=c,c=eo(e,r),c!=null&&s.unshift(So(e,c,l)),c=eo(e,t),c!=null&&s.push(So(e,c,l))),e=e.return}return s}function xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function wc(e,t,r,s,l){for(var c=t._reactName,m=[];r!==null&&r!==s;){var R=r,k=R.alternate,O=R.stateNode;if(k!==null&&k===s)break;R.tag===5&&O!==null&&(R=O,l?(k=eo(r,c),k!=null&&m.unshift(So(r,k,R))):l||(k=eo(r,c),k!=null&&m.push(So(r,k,R)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}var Dm=/\r\n?/g,jm=/\u0000|\uFFFD/g;function Sc(e){return(typeof e=="string"?e:""+e).replace(Dm,` 7`).replace(jm,"")}function xi(e,t,r){if(t=Sc(t),Sc(e)!==t&&r)throw Error(o(425))}function ki(){}var ya=null,va=null;function wa(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sa=typeof setTimeout=="function"?setTimeout:void 0,$m=typeof clearTimeout=="function"?clearTimeout:void 0,_c=typeof Promise=="function"?Promise:void 0,Bm=typeof queueMicrotask=="function"?queueMicrotask:typeof _c<"u"?function(e){return _c.resolve(null).then(e).catch(Um)}:Sa;function Um(e){setTimeout(function(){throw e})}function _a(e,t){var r=t,s=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(s===0){e.removeChild(l),uo(t);return}s--}else r!=="$"&&r!=="$?"&&r!=="$!"||s++;r=l}while(r);uo(t)}function vn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Rc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var kr=Math.random().toString(36).slice(2),Bt="__reactFiber$"+kr,_o="__reactProps$"+kr,Xt="__reactContainer$"+kr,Ra="__reactEvents$"+kr,Vm="__reactListeners$"+kr,bm="__reactHandles$"+kr;function bn(e){var t=e[Bt];if(t)return t;for(var r=e.parentNode;r;
vendor: 6,672 bytes, line 7
7){if(t=r[Xt]||r[Bt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Rc(e);e!==null;){if(r=e[Bt])return r;e=Rc(e)}return t}e=r,r=e.parentNode}return null}function Ro(e){return e=e[Bt]||e[Xt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Pr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function Pi(e){return e[_o]||null}var xa=[],Er=-1;function wn(e){return{current:e}}function Me(e){0>Er||(e.current=xa[Er],xa[Er]=null,Er--)}function Te(e,t){Er++,xa[Er]=e.current,e.current=t}var Sn={},rt=wn(Sn),dt=wn(!1),Wn=Sn;function Cr(e,t){var r=e.type.contextTypes;if(!r)return Sn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var l={},c;for(c in r)l[c]=t[c];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pt(e){return e=e.childContextTypes,e!=null}function Ei(){Me(dt),Me(rt)}function xc(e,t,r){if(rt.current!==Sn)throw Error(o(168));Te(rt,t),Te(dt,r)}function kc(e,t,r){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return r;s=s.getChildContext();for(var l in s)if(!(l in t))throw Error(o(108,ke(e)||"Unknown",l));return X({},r,s)}function Ci(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sn,Wn=rt.current,Te(rt,e),Te(dt,dt.current),!0}function Pc(e,t,r){var s=e.stateNode;if(!s)throw Error(o(169));r?(e=kc(e,t,Wn),s.__reactInternalMemoizedMergedChildContext=e,Me(dt),Me(rt),Te(rt,e)):Me(dt),Te(dt,r)}var qt=null,Ii=!1,ka=!1;function Ec(e){qt===null?qt=[e]:qt.push(e)}function Wm(e){Ii=!0,Ec(e)}function _n(){if(!ka&&qt!==null){ka=!0;var e=0,t=Pe;try{var r=qt;for(Pe=1;e<r.length;e++){var s=r[e];do s=s(!0);while(s!==null)}qt=null,Ii=!1}catch(l){throw qt!==null&&(qt=qt.slice(e+1)),Iu(Ks,_n),l}finally{Pe=t,ka=!1}}return null}var Ir=[],Lr=0,Li=null,Ti=0,kt=[],Pt=0,Hn=null,Jt=1,Zt="";function Kn(e,t){Ir[Lr++]=Ti,Ir[Lr++]=Li,Li=e,Ti=t}function Cc(e,t,r){kt[Pt++]=Jt,kt[Pt++]=Zt,kt[Pt++]=Hn,Hn=e;var s=Jt;e=Zt;var l=32-Mt(s)-1;s&=~(1<<l),r+=1;var c=32-Mt(t)+l;if(30<c){var m=l-l%5;c=(s&(1<<m)-1).toString(32),s>>=m,l-=m,Jt=1<<32-Mt(t)+l|r<<l|s,Zt=c+e}else Jt=1<<c|r<<l|s,Zt=e}function Pa(e){e.return!==null&&(Kn(e,1),Cc(e,1,0))}function Ea(e){for(;e===Li;)Li=Ir[--Lr],Ir[Lr]=null,Ti=Ir[--Lr],Ir[Lr]=null;for(;e===Hn;)Hn=kt[--Pt],kt[Pt]=null,Zt=kt[--Pt],kt[Pt]=null,Jt=kt[--Pt],kt[Pt]=null}var _t=null,Rt=null,Ne=!1,Nt=null;function Ic(e,t){var r=Lt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Lc(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,_t=e,Rt=vn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_t=e,Rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Hn!==null?{id:Jt,overflow:Zt}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Lt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,_t=e,Rt=null,!0):!1;default:return!1}}function Ca(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ia(e){if(Ne){var t=Rt;if(t){var r=t;if(!Lc(e,t)){if(Ca(e))throw Error(o(418));t=vn(r.nextSibling);var s=_t;t&&Lc(e,t)?Ic(s,r):(e.flags=e.flags&-4097|2,Ne=!1,_t=e)}}else{if(Ca(e))throw Error(o(418));e.flags=e.flags&-4097|2,Ne=!1,_t=e}}}function Tc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;_t=e}function Ai(e){if(e!==_t)return!1;if(!Ne)return Tc(e),Ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wa(e.type,e.memoizedProps)),t&&(t=Rt)){if(Ca(e))throw Ac(),Error(o(418));for(;t;)Ic(e,t),t=vn(t.nextSibling)}if(Tc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Rt=vn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Rt=null}}else Rt=_t?vn(e.stateNode.nextSibling):null;return!0}function Ac(){for(var e=Rt;e;)e=vn(e.nextSibling)}function Tr(){Rt=_t=null,Ne=!1}function La(e){Nt===null?Nt=[e]:Nt.push(e)}var Hm=F.ReactCurrentBatchConfig;function xo(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(o(309));var s=r.stateNode}if(!s)throw Error(o(147,e));var l=s,c=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===c?t.ref:(t=function(m){var R=l.refs;m===null?delete R[c]:R[c]=m},t._stringRef=c,t)}if(typeof e!="string")throw Error(o(284));if(!r._owner)throw Error(o(290,e))}return e}function Mi(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Mc(e){var t=e._init;return t(e._payload)}function Oc(e){function t(L,P){if(e){var M=L.deletions;M===null?(L.deletions=[P],L.flags|=16):M.push(P)}}function r(L,P){if(!e)return null;for(;P!==null;)t(L,P),P=P.sibling;return null}function s(L,P){for(L=new Map;P!==null;)P.key!==null?L.set(P.key,P):L.set(P.index,P),P=P.sibling;return L}function l(L,P){return L=Ln(L,P),L.index=0,L.sibling=null,L}function c(L,P,M){return L.index=M,e?(M=L.alternate,M!==null?(M=M.index,M<P?(L.flags|=2,P):M):(L.flags|=2,P)):(L.flags|=1048576,P)}function m(L){return e&&L.alternate===null&&(L.flags|=2),L}function R(L,P,M,W){return P===null||P.tag!==6?(P=Sl(M,L.mode,W),P.return=L,P):(P=l(P,M),P.return=L,P)}function k(L,P,M,W){var ee=M.type;return ee===B?$(L,P,M.props.children,W,M.key):P!==null&&(P.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===We&&Mc(ee)===P.type)?(W=l(P,M.props),W.ref=xo(L,P,M),W.return=L,W):(W=ns(M.type,M.key,M.props,null,L.mode,W),W.ref=xo(L,P,M),W.return=L,W)}function O(L,P,M,W){return P===null||P.tag!==4||P.stateNode.containerInfo!==M.containerInfo||P.stateNode.implementation!==M.implementation?(P=_l(M,L.mode,W),P.return=L,P):(P=l(P,M.children||[]),P.return=L,P)}function $(L,P,M,W,ee){return P===null||P.tag!==7?(P=er(M,L.mode,W,ee),P.return=L,P):(P=l(P,M),P.return=L,P)}function V(L,P,M){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Sl(""+P,L.mode,M),P.return=L,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case U:return M=ns(P.type,P.key,P.props,null,L.mode,M),M.ref=xo(L,null,P),M.return=L,M;case H:return P=_l(P,L.mode,M),P.return=L,P;case We:var W=P._init;return V(L,W(P._payload),M)}if(wt(P)||ne(P))return P=er(P,L.mode,M,null),P.return=L,P;Mi(L,P)}return null}function j(L,P,M,W){var ee=P!==null?P.key:null;
vendor: 23,127 bytes, lines 7-9
7if(typeof M=="string"&&M!==""||typeof M=="number")return ee!==null?null:R(L,P,""+M,W);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case U:return M.key===ee?k(L,P,M,W):null;case H:return M.key===ee?O(L,P,M,W):null;case We:return ee=M._init,j(L,P,ee(M._payload),W)}if(wt(M)||ne(M))return ee!==null?null:$(L,P,M,W,null);Mi(L,M)}return null}function G(L,P,M,W,ee){if(typeof W=="string"&&W!==""||typeof W=="number")return L=L.get(M)||null,R(P,L,""+W,ee);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case U:return L=L.get(W.key===null?M:W.key)||null,k(P,L,W,ee);case H:return L=L.get(W.key===null?M:W.key)||null,O(P,L,W,ee);case We:var re=W._init;return G(L,P,M,re(W._payload),ee)}if(wt(W)||ne(W))return L=L.get(M)||null,$(P,L,W,ee,null);Mi(P,W)}return null}function J(L,P,M,W){for(var ee=null,re=null,oe=P,ue=P=0,qe=null;oe!==null&&ue<M.length;ue++){oe.index>ue?(qe=oe,oe=null):qe=oe.sibling;var _e=j(L,oe,M[ue],W);if(_e===null){oe===null&&(oe=qe);break}e&&oe&&_e.alternate===null&&t(L,oe),P=c(_e,P,ue),re===null?ee=_e:re.sibling=_e,re=_e,oe=qe}if(ue===M.length)return r(L,oe),Ne&&Kn(L,ue),ee;if(oe===null){for(;ue<M.length;ue++)oe=V(L,M[ue],W),oe!==null&&(P=c(oe,P,ue),re===null?ee=oe:re.sibling=oe,re=oe);return Ne&&Kn(L,ue),ee}for(oe=s(L,oe);ue<M.length;ue++)qe=G(oe,L,ue,M[ue],W),qe!==null&&(e&&qe.alternate!==null&&oe.delete(qe.key===null?ue:qe.key),P=c(qe,P,ue),re===null?ee=qe:re.sibling=qe,re=qe);return e&&oe.forEach(function(Tn){return t(L,Tn)}),Ne&&Kn(L,ue),ee}function Z(L,P,M,W){var ee=ne(M);if(typeof ee!="function")throw Error(o(150));if(M=ee.call(M),M==null)throw Error(o(151));for(var re=ee=null,oe=P,ue=P=0,qe=null,_e=M.next();oe!==null&&!_e.done;ue++,_e=M.next()){oe.index>ue?(qe=oe,oe=null):qe=oe.sibling;var Tn=j(L,oe,_e.value,W);if(Tn===null){oe===null&&(oe=qe);break}e&&oe&&Tn.alternate===null&&t(L,oe),P=c(Tn,P,ue),re===null?ee=Tn:re.sibling=Tn,re=Tn,oe=qe}if(_e.done)return r(L,oe),Ne&&Kn(L,ue),ee;if(oe===null){for(;!_e.done;ue++,_e=M.next())_e=V(L,_e.value,W),_e!==null&&(P=c(_e,P,ue),re===null?ee=_e:re.sibling=_e,re=_e);return Ne&&Kn(L,ue),ee}for(oe=s(L,oe);!_e.done;ue++,_e=M.next())_e=G(oe,L,ue,_e.value,W),_e!==null&&(e&&_e.alternate!==null&&oe.delete(_e.key===null?ue:_e.key),P=c(_e,P,ue),re===null?ee=_e:re.sibling=_e,re=_e);return e&&oe.forEach(function(kg){return t(L,kg)}),Ne&&Kn(L,ue),ee}function Ue(L,P,M,W){if(typeof M=="object"&&M!==null&&M.type===B&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case U:e:{for(var ee=M.key,re=P;re!==null;){if(re.key===ee){if(ee=M.type,ee===B){if(re.tag===7){r(L,re.sibling),P=l(re,M.props.children),P.return=L,L=P;break e}}else if(re.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===We&&Mc(ee)===re.type){r(L,re.sibling),P=l(re,M.props),P.ref=xo(L,re,M),P.return=L,L=P;break e}r(L,re);break}else t(L,re);re=re.sibling}M.type===B?(P=er(M.props.children,L.mode,W,M.key),P.return=L,L=P):(W=ns(M.type,M.key,M.props,null,L.mode,W),W.ref=xo(L,P,M),W.return=L,L=W)}return m(L);case H:e:{for(re=M.key;P!==null;){if(P.key===re)if(P.tag===4&&P.stateNode.containerInfo===M.containerInfo&&P.stateNode.implementation===M.implementation){r(L,P.sibling),P=l(P,M.children||[]),P.return=L,L=P;break e}else{r(L,P);break}else t(L,P);P=P.sibling}P=_l(M,L.mode,W),P.return=L,L=P}return m(L);case We:return re=M._init,Ue(L,P,re(M._payload),W)}if(wt(M))return J(L,P,M,W);if(ne(M))return Z(L,P,M,W);Mi(L,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,P!==null&&P.tag===6?(r(L,P.sibling),P=l(P,M),P.return=L,L=P):(r(L,P),P=Sl(M,L.mode,W),P.return=L,L=P),m(L)):r(L,P)}return Ue}var Ar=Oc(!0),Nc=Oc(!1),Oi=wn(null),Ni=null,Mr=null,Ta=null;function Aa(){Ta=Mr=Ni=null}function Ma(e){var t=Oi.current;Me(Oi),e._currentValue=t}function Oa(e,t,r){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===r)break;e=e.return}}function Or(e,t){Ni=e,Ta=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ht=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Mr===null){if(Ni===null)throw Error(o(308));Mr=e,Ni.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return t}var Qn=null;function Na(e){Qn===null?Qn=[e]:Qn.push(e)}function Fc(e,t,r,s){var l=t.interleaved;return l===null?(r.next=r,Na(t)):(r.next=l.next,l.next=r),t.interleaved=r,en(e,s)}function en(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Rn=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function tn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xn(e,t,r){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Se&2)!==0){var l=s.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),s.pending=t,en(e,r)}return l=s.interleaved,l===null?(t.next=t,Na(s)):(t.next=l.next,l.next=t),s.interleaved=t,en(e,r)}function Fi(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,r|=s,t.lanes=r,Ys(e,r)}}function Dc(e,t){var r=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,r===s)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};c===null?l=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?l=c=t:c=c.next=t}else l=c=t;r={baseState:s.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:s.shared,effects:s.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function zi(e,t,r,s){var l=e.updateQueue;Rn=!1;var c=l.firstBaseUpdate,m=l.lastBaseUpdate,R=l.shared.pending;if(R!==null){l.shared.pending=null;var k=R,O=k.next;k.next=null,m===null?c=O:m.next=O,m=k;var $=e.alternate;$!==null&&($=$.updateQueue,R=$.lastBaseUpdate,R!==m&&(R===null?$.firstBaseUpdate=O:R.next=O,$.lastBaseUpdate=k))}if(c!==null){var V=l.baseState;m=0,$=O=k=null,R=c;do{var j=R.lane,G=R.eventTime;if((s&j)===j){$!==null&&($=$.next={eventTime:G,lane:0,tag:R.tag,payload:R.payload,callback:R.callback,next:null});e:{var J=e,Z=R;switch(j=t,G=r,Z.tag){case 1:if(J=Z.payload,typeof J=="function"){V=J.call(G,V,j);break e}V=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=Z.payload,j=typeof J=="function"?J.call(G,V,j):J,j==null)break e;V=X({},V,j);break e;case 2:Rn=!0}}R.callback!==null&&R.lane!==0&&(e.flags|=64,j=l.effects,j===null?l.effects=[R]:j.push(R))}else G={eventTime:G,lane:j,tag:R.tag,payload:R.payload,callback:R.callback,next:null},$===null?(O=$=G,k=V):$=$.next=G,m|=j;if(R=R.next,R===null){if(R=l.shared.pending,R===null)break;j=R,R=j.next,j.next=null,l.lastBaseUpdate=j,l.shared.pending=null}}while(!0);if($===null&&(k=V),l.baseState=k,l.firstBaseUpdate=O,l.lastBaseUpdate=$,t=l.shared.interleaved,t!==null){l=t;do m|=l.lane,l=l.next;while(l!==t)}else c===null&&(l.shared.lanes=0);Xn|=m,e.lanes=m,e.memoizedState=V}}function jc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],l=s.callback;if(l!==null){if(s.callback=null,s=r,typeof l!="function")throw Error(o(191,l));l.call(s)}}}var ko={},Ut=wn(ko),Po=wn(ko),Eo=wn(ko);function Gn(e){if(e===ko)throw Error(o(174));return e}function za(e,t){switch(Te(Eo,t),Te(Po,e),Te(Ut,ko),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:At(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=At(t,e)}Me(Ut),Te(Ut,t)}function Nr(){Me(Ut),Me(Po),Me(Eo)}function $c(e){Gn(Eo.current);var t=Gn(Ut.current),r=At(t,e.type);t!==r&&(Te(Po,e),Te(Ut,r))}function Da(e){Po.current===e&&(Me(Ut),Me(Po))}var ze=wn(0);function Di(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 ja=[];function $a(){for(var e=0;e<ja.length;e++)ja[e]._workInProgressVersionPrimary=null;ja.length=0}var ji=F.ReactCurrentDispatcher,Ba=F.ReactCurrentBatchConfig,Yn=0,De=null,He=null,Ye=null,$i=!1,Co=!1,Io=0,Km=0;function ot(){throw Error(o(321))}function Ua(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ot(e[r],t[r]))return!1;return!0}function Va(e,t,r,s,l,c){if(Yn=c,De=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ji.current=e===null||e.memoizedState===null?Xm:qm,e=r(s,l),Co){c=0;do{if(Co=!1,Io=0,25<=c)throw Error(o(301));c+=1,Ye=He=null,t.updateQueue=null,ji.current=Jm,e=r(s,l)}while(Co)}if(ji.current=Vi,t=He!==null&&He.next!==null,Yn=0,Ye=He=De=null,$i=!1,t)throw Error(o(300));return e}function ba(){var e=Io!==0;return Io=0,e}function Vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?De.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Ct(){if(He===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=He.next;var t=Ye===null?De.memoizedState:Ye.next;if(t!==null)Ye=t,He=e;else{if(e===null)throw Error(o(310));He=e,e={memoizedState:He.memoizedState,baseState:He.baseState,baseQueue:He.baseQueue,queue:He.queue,next:null},Ye===null?De.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function Lo(e,t){return typeof t=="function"?t(e):t}function Wa(e){var t=Ct(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var s=He,l=s.baseQueue,c=r.pending;if(c!==null){if(l!==null){var m=l.next;l.next=c.next,c.next=m}s.baseQueue=l=c,r.pending=null}if(l!==null){c=l.next,s=s.baseState;var R=m=null,k=null,O=c;do{var $=O.lane;if((Yn&$)===$)k!==null&&(k=k.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),s=O.hasEagerState?O.eagerState:e(s,O.action);else{var V={lane:$,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};k===null?(R=k=V,m=s):k=k.next=V,De.lanes|=$,Xn|=$}O=O.next}while(O!==null&&O!==c);k===null?m=s:k.next=R,Ot(s,t.memoizedState)||(ht=!0),t.memoizedState=s,t.baseState=m,t.baseQueue=k,r.lastRenderedState=s}if(e=r.interleaved,e!==null){l=e;do c=l.lane,De.lanes|=c,Xn|=c,l=l.next;while(l!==e)}else l===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ha(e){var t=Ct(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var s=r.dispatch,l=r.pending,c=t.memoizedState;if(l!==null){r.pending=null;var m=l=l.next;do c=e(c,m.action),m=m.next;while(m!==l);Ot(c,t.memoizedState)||(ht=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,s]}function Bc(){}function Uc(e,t){var r=De,s=Ct(),l=t(),c=!Ot(s.memoizedState,l);if(c&&(s.memoizedState=l,ht=!0),s=s.queue,Ka(Wc.bind(null,r,s,e),[e]),s.getSnapshot!==t||c||Ye!==null&&Ye.memoizedState.tag&1){if(r.flags|=2048,To(9,bc.bind(null,r,s,l,t),void 0,null),Xe===null)throw Error(o(349));(Yn&30)!==0||Vc(r,t,l)}return l}function Vc(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=De.updateQueue,t===null?(t={lastEffect:null,stores:null},De.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function bc(e,t,r,s){t.value=r,t.getSnapshot=s,Hc(t)&&Kc(e)}function Wc(e,t,r){return r(function(){Hc(t)&&Kc(e)})}function Hc(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Ot(e,r)}catch{return!0}}function Kc(e){var t=en(e,1);t!==null&&jt(t,e,1,-1)}function Qc(e){var t=Vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:e},t.queue=e,e=e.dispatch=Ym.bind(null,De,e),[t.memoizedState,e]}function To(e,t,r,s){return e={tag:e,create:t,destroy:r,deps:s,next:null},t=De.updateQueue,t===null?(t={lastEffect:null,stores:null},De.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(s=r.next,r.next=e,e.next=s,t.lastEffect=e)),e}function Gc(){return Ct().memoizedState}function Bi(e,t,r,s){var l=Vt();De.flags|=e,l.memoizedState=To(1|t,r,void 0,s===void 0?null:s)}function Ui(e,t,r,s){var l=Ct();s=s===void 0?null:s;var c=void 0;if(He!==null){var m=He.memoizedState;if(c=m.destroy,s!==null&&Ua(s,m.deps)){l.memoizedState=To(t,r,c,s);return}}De.flags|=e,l.memoizedState=To(1|t,r,c,s)}function Yc(e,t){return Bi(8390656,8,e,t)}function Ka(e,t){return Ui(2048,8,e,t)}function Xc(e,t){return Ui(4,2,e,t)}function qc(e,t){return Ui(4,4,e,t)}function Jc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zc(e,t,r){return r=r!=null?r.concat([e]):null,Ui(4,4,Jc.bind(null,t,e),r)}function Qa(){}function ef(e,t){var r=Ct();t=t===void 0?null:t;var s=r.memoizedState;return s!==null&&t!==null&&Ua(t,s[1])?s[0]:(r.memoizedState=[e,t],e)}function tf(e,t){var r=Ct();t=t===void 0?null:t;var s=r.memoizedState;return s!==null&&t!==null&&Ua(t,s[1])?s[0]:(e=e(),r.memoizedState=[e,t],e)}function nf(e,t,r){return(Yn&21)===0?(e.baseState&&(e.baseState=!1,ht=!0),e.memoizedState=r):(Ot(r,t)||(r=Mu(),De.lanes|=r,Xn|=r,e.baseState=!0),t)}function Qm(e,t){var r=Pe;Pe=r!==0&&4>r?r:4,e(!0);var s=Ba.transition;Ba.transition={};try{e(!1),t()}finally{Pe=r,Ba.transition=s}}function rf(){return Ct().memoizedState}function Gm(e,t,r){var s=Cn(e);if(r={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null},of(e))sf(t,r);else if(r=Fc(e,t,r,s),r!==null){var l=ut();jt(r,e,s,l),af(r,t,s)}}function Ym(e,t,r){var s=Cn(e),l={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null};if(of(e))sf(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var m=t.lastRenderedState,R=c(m,r);if(l.hasEagerState=!0,l.eagerState=R,Ot(R,m)){var k=t.interleaved;k===null?(l.next=l,Na(t)):(l.next=k.next,k.next=l),t.interleaved=l;return}}catch{}r=Fc(e,t,l,s),r!==null&&(l=ut(),jt(r,e,s,l),af(r,t,s))}}function of(e){var t=e.alternate;return e===De||t!==null&&t===De}function sf(e,t){Co=$i=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function af(e,t,r){if((r&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,r|=s,t.lanes=r,Ys(e,r)}}var Vi={readContext:Et,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useInsertionEffect:ot,useLayoutEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useMutableSource:ot,useSyncExternalStore:ot,useId:ot,unstable_isNewReconciler:!1},Xm={readContext:Et,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Yc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Bi(4194308,4,Jc.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var r=Vt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var s=Vt();return t=r!==void 0?r(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=Gm.bind(null,De,e),[s.memoizedState,e]},useRef:function(e){var t=Vt();return e={current:e},t.memoizedState=e},useState:Qc,useDebugValue:Qa,useDeferredValue:function(e){return Vt().memoizedState=e},useTransition:function(){var e=Qc(!1),t=e[0];return e=Qm.bind(null,e[1]),Vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var s=De,l=Vt();if(Ne){if(r===void 0)throw Error(o(407));r=r()}else{if(r=t(),Xe===null)throw Error(o(349));(Yn&30)!==0||Vc(s,t,r)}l.memoizedState=r;var c={value:r,getSnapshot:t};return l.queue=c,Yc(Wc.bind(null,s,c,e),[e]),s.flags|=2048,To(9,bc.bind(null,s,c,r,t),void 0,null),r},useId:function(){var e=Vt(),t=Xe.identifierPrefix;if(Ne){var r=Zt,s=Jt;r=(s&~(1<<32-Mt(s)-1)).toString(32)+r,t=":"+t+"R"+r,r=Io++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Km++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qm={readContext:Et,useCallback:ef,useContext:Et,useEffect:Ka,useImperativeHandle:Zc,useInsertionEffect:Xc,useLayoutEffect:qc,useMemo:tf,useReducer:Wa,useRef:Gc,useState:function(){return Wa(Lo)},useDebugValue:Qa,useDeferredValue:function(e){var t=Ct();return nf(t,He.memoizedState,e)},useTransition:function(){var e=Wa(Lo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Bc,useSyncExternalStore:Uc,useId:rf,unstable_isNewReconciler:!1},Jm={readContext:Et,useCallback:ef,useContext:Et,useEffect:Ka,useImperativeHandle:Zc,useInsertionEffect:Xc,useLayoutEffect:qc,useMemo:tf,useReducer:Ha,useRef:Gc,useState:function(){return Ha(Lo)},useDebugValue:Qa,useDeferredValue:function(e){var t=Ct();return He===null?t.memoizedState=e:nf(t,He.memoizedState,e)},useTransition:function(){var e=Ha(Lo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Bc,useSyncExternalStore:Uc,useId:rf,unstable_isNewReconciler:!1};function Ft(e,t){if(e&&e.defaultProps){t=X({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Ga(e,t,r,s){t=e.memoizedState,r=r(s,t),r=r==null?t:X({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var bi={isMounted:function(e){return(e=e._reactInternals)?Vn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var s=ut(),l=Cn(e),c=tn(s,l);c.payload=t,r!=null&&(c.callback=r),t=xn(e,c,l),t!==null&&(jt(t,e,l,s),Fi(t,e,l))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var s=ut(),l=Cn(e),c=tn(s,l);c.tag=1,c.payload=t,r!=null&&(c.callback=r),t=xn(e,c,l),t!==null&&(jt(t,e,l,s),Fi(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ut(),s=Cn(e),l=tn(r,s);l.tag=2,t!=null&&(l.callback=t),t=xn(e,l,s),t!==null&&(jt(t,e,s,r),Fi(t,e,s))}};function lf(e,t,r,s,l,c,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,c,m):t.prototype&&t.prototype.isPureReactComponent?!go(r,s)||!go(l,c):!0}function uf(e,t,r){var s=!1,l=Sn,c=t.contextType;return typeof c=="object"&&c!==null?c=Et(c):(l=pt(t)?Wn:rt.current,s=t.contextTypes,c=(s=s!=null)?Cr(e,l):Sn),t=new t(r,c),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bi,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=c),t}function cf(e,t,r,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,s),t.state!==e&&bi.enqueueReplaceState(t,t.state,null)}function Ya(e,t,r,s){var l=e.stateNode;l.props=r,l.state=e.memoizedState,l.refs={},Fa(e);var c=t.contextType;typeof c=="object"&&c!==null?l.context=Et(c):(c=pt(t)?Wn:rt.current,l.context=Cr(e,c)),l.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(Ga(e,t,c,r),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&bi.enqueueReplaceState(l,l.state,null),zi(e,r,l,s),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Fr(e,t){try{var r="",s=t;do r+=le(s),s=s.return;while(s);var l=r}catch(c){l=` 8Error generating stack: `+c.message+` 9`+c.stack}return{value:e,source:t,stack:l,digest:null}}function Xa(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function qa(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Zm=typeof WeakMap=="function"?WeakMap:Map;function ff(e,t,r){r=tn(-1,r),r.tag=3,r.payload={element:null};var s=t.value;return r.callback=function(){Xi||(Xi=!0,dl=s),qa(e,t)},r}function df(e,t,r){r=tn(-1,r),r.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var l=t.value;r.payload=function(){return s(l)},r.callback=function(){qa(e,t)}}var c=e.stateNode;return c!==null&&typeof c.componentDidCatch=="function"&&(r.callback=function(){qa(e,t),typeof s!="function"&&(Pn===null?Pn=new Set([this]):Pn.add(this));var m=t.stack;this.componentDidCatch(t.value,{componentStack:m!==null?m:""})}),r}function pf(e,t,r){var s=e.pingCache;if(s===null){s=e.pingCache=new Zm;var l=new Set;s.set(t,l)}else l=s.get(t),l===void 0&&(l=new Set,s.set(t,l));l.has(r)||(l.add(r),e=pg.bind(null,e,t,r),t.then(e,e))}function hf(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 mf(e,t,r,s,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=tn(-1,1),t.tag=2,xn(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var eg=F.ReactCurrentOwner,ht=!1;function lt(e,t,r,s){t.child=e===null?Nc(t,null,r,s):Ar(t,e.child,r,s)}function gf(e,t,r,s,l){r=r.render;var c=t.ref;return Or(t,l),s=Va(e,t,r,s,c,l),r=ba(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nn(e,t,l)):(Ne&&r&&Pa(t),t.flags|=1,lt(e,t,s,l),t.child)}function yf(e,t,r,s,l){if(e===null){var c=r.type;return typeof c=="function"&&!wl(c)&&c.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=c,vf(e,t,c,s,l)):(e=ns(r.type,null,s,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,(e.lanes&l)===0){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:go,r(m,s)&&e.ref===t.ref)return nn(e,t,l)}return t.flags|=1,e=Ln(c,s),e.ref=t.ref,e.return=t,t.child=e}function vf(e,t,r,s,l){if(e!==null){var c=e.memoizedProps;if(go(c,s)&&e.ref===t.ref)if(ht=!1,t.pendingProps=s=c,(e.lanes&l)!==0)(e.flags&131072)!==0&&(ht=!0);else return t.lanes=e.lanes,nn(e,t,l)}return Ja(e,t,r,s,l)}function wf(e,t,r){var s=t.pendingProps,l=s.children,c=e!==null?e.memoizedState:null;if(s.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Te(Dr,xt),xt|=r;else{if((r&1073741824)===0)return e=c!==null?c.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Te(Dr,xt),xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=c!==null?c.baseLanes:r,Te(Dr,xt),xt|=s}else c!==null?(s=c.baseLanes|r,t.memoizedState=null):s=r,Te(Dr,xt),xt|=s;return lt(e,t,l,r),t.child}function Sf(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}
vendor: 4,587 bytes, line 9
9function Ja(e,t,r,s,l){var c=pt(r)?Wn:rt.current;return c=Cr(t,c),Or(t,l),r=Va(e,t,r,s,c,l),s=ba(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nn(e,t,l)):(Ne&&s&&Pa(t),t.flags|=1,lt(e,t,r,l),t.child)}function _f(e,t,r,s,l){if(pt(r)){var c=!0;Ci(t)}else c=!1;if(Or(t,l),t.stateNode===null)Hi(e,t),uf(t,r,s),Ya(t,r,s,l),s=!0;else if(e===null){var m=t.stateNode,R=t.memoizedProps;m.props=R;var k=m.context,O=r.contextType;typeof O=="object"&&O!==null?O=Et(O):(O=pt(r)?Wn:rt.current,O=Cr(t,O));var $=r.getDerivedStateFromProps,V=typeof $=="function"||typeof m.getSnapshotBeforeUpdate=="function";V||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(R!==s||k!==O)&&cf(t,m,s,O),Rn=!1;var j=t.memoizedState;m.state=j,zi(t,s,m,l),k=t.memoizedState,R!==s||j!==k||dt.current||Rn?(typeof $=="function"&&(Ga(t,r,$,s),k=t.memoizedState),(R=Rn||lf(t,r,R,s,j,k,O))?(V||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=k),m.props=s,m.state=k,m.context=O,s=R):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{m=t.stateNode,zc(e,t),R=t.memoizedProps,O=t.type===t.elementType?R:Ft(t.type,R),m.props=O,V=t.pendingProps,j=m.context,k=r.contextType,typeof k=="object"&&k!==null?k=Et(k):(k=pt(r)?Wn:rt.current,k=Cr(t,k));var G=r.getDerivedStateFromProps;($=typeof G=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(R!==V||j!==k)&&cf(t,m,s,k),Rn=!1,j=t.memoizedState,m.state=j,zi(t,s,m,l);var J=t.memoizedState;R!==V||j!==J||dt.current||Rn?(typeof G=="function"&&(Ga(t,r,G,s),J=t.memoizedState),(O=Rn||lf(t,r,O,s,j,J,k)||!1)?($||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,J,k),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,J,k)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||R===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=J),m.props=s,m.state=J,m.context=k,s=O):(typeof m.componentDidUpdate!="function"||R===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),s=!1)}return Za(e,t,r,s,c,l)}function Za(e,t,r,s,l,c){Sf(e,t);var m=(t.flags&128)!==0;if(!s&&!m)return l&&Pc(t,r,!1),nn(e,t,c);s=t.stateNode,eg.current=t;var R=m&&typeof r.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&m?(t.child=Ar(t,e.child,null,c),t.child=Ar(t,null,R,c)):lt(e,t,R,c),t.memoizedState=s.state,l&&Pc(t,r,!0),t.child}function Rf(e){var t=e.stateNode;t.pendingContext?xc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xc(e,t.context,!1),za(e,t.containerInfo)}function xf(e,t,r,s,l){return Tr(),La(l),t.flags|=256,lt(e,t,r,s),t.child}var el={dehydrated:null,treeContext:null,retryLane:0};function tl(e){return{baseLanes:e,cachePool:null,transitions:null}}function kf(e,t,r){var s=t.pendingProps,l=ze.current,c=!1,m=(t.flags&128)!==0,R;if((R=m)||(R=e!==null&&e.memoizedState===null?!1:(l&2)!==0),R?(c=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Te(ze,l&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):(m=s.children,e=s.fallback,c?(s=t.mode,c=t.child,m={mode:"hidden",children:m},(s&1)===0&&c!==null?(c.childLanes=0,c.pendingProps=m):c=rs(m,s,0,null),e=er(e,s,r,null),c.return=t,e.return=t,c.sibling=e,t.child=c,t.child.memoizedState=tl(r),t.memoizedState=el,e):nl(t,m));if(l=e.memoizedState,l!==null&&(R=l.dehydrated,R!==null))return tg(e,t,m,s,R,l,r);if(c){c=s.fallback,m=t.mode,l=e.child,R=l.sibling;var k={mode:"hidden",children:s.children};return(m&1)===0&&t.child!==l?(s=t.child,s.childLanes=0,s.pendingProps=k,t.deletions=null):(s=Ln(l,k),s.subtreeFlags=l.subtreeFlags&14680064),R!==null?c=Ln(R,c
vendor: 7,670 bytes, line 9
9):(c=er(c,m,r,null),c.flags|=2),c.return=t,s.return=t,s.sibling=c,t.child=s,s=c,c=t.child,m=e.child.memoizedState,m=m===null?tl(r):{baseLanes:m.baseLanes|r,cachePool:null,transitions:m.transitions},c.memoizedState=m,c.childLanes=e.childLanes&~r,t.memoizedState=el,s}return c=e.child,e=c.sibling,s=Ln(c,{mode:"visible",children:s.children}),(t.mode&1)===0&&(s.lanes=r),s.return=t,s.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=s,t.memoizedState=null,s}function nl(e,t){return t=rs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Wi(e,t,r,s){return s!==null&&La(s),Ar(t,e.child,null,r),e=nl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tg(e,t,r,s,l,c,m){if(r)return t.flags&256?(t.flags&=-257,s=Xa(Error(o(422))),Wi(e,t,m,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(c=s.fallback,l=t.mode,s=rs({mode:"visible",children:s.children},l,0,null),c=er(c,l,m,null),c.flags|=2,s.return=t,c.return=t,s.sibling=c,t.child=s,(t.mode&1)!==0&&Ar(t,e.child,null,m),t.child.memoizedState=tl(m),t.memoizedState=el,c);if((t.mode&1)===0)return Wi(e,t,m,null);if(l.data==="$!"){if(s=l.nextSibling&&l.nextSibling.dataset,s)var R=s.dgst;return s=R,c=Error(o(419)),s=Xa(c,s,void 0),Wi(e,t,m,s)}if(R=(m&e.childLanes)!==0,ht||R){if(s=Xe,s!==null){switch(m&-m){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(s.suspendedLanes|m))!==0?0:l,l!==0&&l!==c.retryLane&&(c.retryLane=l,en(e,l),jt(s,e,l,-1))}return vl(),s=Xa(Error(o(421))),Wi(e,t,m,s)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=hg.bind(null,e),l._reactRetry=t,null):(e=c.treeContext,Rt=vn(l.nextSibling),_t=t,Ne=!0,Nt=null,e!==null&&(kt[Pt++]=Jt,kt[Pt++]=Zt,kt[Pt++]=Hn,Jt=e.id,Zt=e.overflow,Hn=t),t=nl(t,s.children),t.flags|=4096,t)}function Pf(e,t,r){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Oa(e.return,t,r)}function rl(e,t,r,s,l){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:r,tailMode:l}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=s,c.tail=r,c.tailMode=l)}function Ef(e,t,r){var s=t.pendingProps,l=s.revealOrder,c=s.tail;if(lt(e,t,s.children,r),s=ze.current,(s&2)!==0)s=s&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&&Pf(e,r,t);else if(e.tag===19)Pf(e,r,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}s&=1}if(Te(ze,s),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&Di(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),rl(t,!1,l,r,c);break;case"backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Di(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}rl(t,!0,r,null,c);break;case"together":rl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hi(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Xn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,r=Ln(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ln(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function ng(e,t,r){switch(t.tag){case 3:Rf(t),Tr();break;case 5:$c(t);break;case 1:pt(t.type)&&Ci(t);break;case 4:za(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,l=t.memoizedProps.value;Te(Oi,s._currentValue),s._currentValue=l;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(Te(ze,ze.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?kf(e,t,r):(Te(ze,ze.current&1),e=nn(e,t,r),e!==null?e.sibling:null);Te(ze,ze.current&1);break;case 19:if(s=(r&t.childLanes)!==0,(e.flags&128)!==0){if(s)return Ef(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Te(ze,ze.current),s)break;return null;case 22:case 23:return t.lanes=0,wf(e,t,r)}return nn(e,t,r)}var Cf,ol,If,Lf;Cf=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},ol=function(){},If=function(e,t,r,s){var l=e.memoizedProps;if(l!==s){e=t.stateNode,Gn(Ut.current);var c=null;switch(r){case"input":l=dr(e,l),s=dr(e,s),c=[];break;case"select":l=X({},l,{value:void 0}),s=X({},s,{value:void 0}),c=[];break;case"textarea":l=hr(e,l),s=hr(e,s),c=[];break;default:typeof l.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=ki)}js(r,s);var m;r=null;for(O in l)if(!s.hasOwnProperty(O)&&l.hasOwnProperty(O)&&l[O]!=null)if(O==="style"){var R=l[O];for(m in R)R.hasOwnProperty(m)&&(r||(r={}),r[m]="")}else O!=="dangerouslySetInnerHTML"&&O!=="children"&&O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&O!=="autoFocus"&&(u.hasOwnProperty(O)?c||(c=[]):(c=c||[]).push(O,null));for(O in s){var k=s[O];if(R=l?.[O],s.hasOwnProperty(O)&&k!==R&&(k!=null||R!=null))if(O==="style")if(R){for(m in R)!R.hasOwnProperty(m)||k&&k.hasOwnProperty(m)||(r||(r={}),r[m]="");for(m in k)k.hasOwnProperty(m)&&R[m]!==k[m]&&(r||(r={}),r[m]=k[m])}else r||(c||(c=[]),c.push(O,r)),r=k;else O==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,R=R?R.__html:void 0,k!=null&&R!==k&&(c=c||[]).push(O,k)):O==="children"?typeof k!="string"&&typeof k!="number"||(c=c||[]).push(O,""+k):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(u.hasOwnProperty(O)?(k!=null&&O==="onScroll"&&Ae("scroll",e),c||R===k||(c=[])):(c=c||[]).push(O,k))}r&&(c=c||[]).push("style",r);var O=c;(t.updateQueue=O)&&(t.flags|=4)}},Lf=function(e,t,r,s){r!==s&&(t.flags|=4)};function Ao(e,t){if(!Ne)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function it(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,s=0;if(t)for(var l=e.child;l!==null;)r|=l.lanes|l.childLanes,s|=l.subtreeFlags&14680064,s|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,s|=l.subtreeFlags,s|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=s,e.childLanes=r,t}function rg(e,t,r){var s=t.pendingProps;switch(Ea(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return it(t),null;case 1:return pt(t.type)&&Ei(),it(t),null;case 3:return s=t.stateNode,Nr(),Me(dt),Me(rt),$a(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Ai(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Nt!==null&&(ml(Nt),Nt=null))),ol(e,t),it(t),null;case 5:Da(t);var l=Gn(Eo.current);if(r=t.type,e!==null&&t.stateNode!=null)If(e,t,r,s,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);
vendor: 7,458 bytes, line 9
9else{if(!s){if(t.stateNode===null)throw Error(o(166));return it(t),null}if(e=Gn(Ut.current),Ai(t)){s=t.stateNode,r=t.type;var c=t.memoizedProps;switch(s[Bt]=t,s[_o]=c,e=(t.mode&1)!==0,r){case"dialog":Ae("cancel",s),Ae("close",s);break;case"iframe":case"object":case"embed":Ae("load",s);break;case"video":case"audio":for(l=0;l<vo.length;l++)Ae(vo[l],s);break;case"source":Ae("error",s);break;case"img":case"image":case"link":Ae("error",s),Ae("load",s);break;case"details":Ae("toggle",s);break;case"input":ti(s,c),Ae("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!c.multiple},Ae("invalid",s);break;case"textarea":ni(s,c),Ae("invalid",s)}js(r,c),l=null;for(var m in c)if(c.hasOwnProperty(m)){var R=c[m];m==="children"?typeof R=="string"?s.textContent!==R&&(c.suppressHydrationWarning!==!0&&xi(s.textContent,R,e),l=["children",R]):typeof R=="number"&&s.textContent!==""+R&&(c.suppressHydrationWarning!==!0&&xi(s.textContent,R,e),l=["children",""+R]):u.hasOwnProperty(m)&&R!=null&&m==="onScroll"&&Ae("scroll",s)}switch(r){case"input":Gt(s),Yt(s,c,!0);break;case"textarea":Gt(s),Ce(s);break;case"select":case"option":break;default:typeof c.onClick=="function"&&(s.onclick=ki)}s=l,t.updateQueue=s,s!==null&&(t.flags|=4)}else{m=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=et(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=m.createElement(r,{is:s.is}):(e=m.createElement(r),r==="select"&&(m=e,s.multiple?m.multiple=!0:s.size&&(m.size=s.size))):e=m.createElementNS(e,r),e[Bt]=t,e[_o]=s,Cf(e,t,!1,!1),t.stateNode=e;e:{switch(m=$s(r,s),r){case"dialog":Ae("cancel",e),Ae("close",e),l=s;break;case"iframe":case"object":case"embed":Ae("load",e),l=s;break;case"video":case"audio":for(l=0;l<vo.length;l++)Ae(vo[l],e);l=s;break;case"source":Ae("error",e),l=s;break;case"img":case"image":case"link":Ae("error",e),Ae("load",e),l=s;break;case"details":Ae("toggle",e),l=s;break;case"input":ti(e,s),l=dr(e,s),Ae("invalid",e);break;case"option":l=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},l=X({},s,{value:void 0}),Ae("invalid",e);break;case"textarea":ni(e,s),l=hr(e,s),Ae("invalid",e);break;default:l=s}js(r,l),R=l;for(c in R)if(R.hasOwnProperty(c)){var k=R[c];c==="style"?yu(e,k):c==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,k!=null&&mu(e,k)):c==="children"?typeof k=="string"?(r!=="textarea"||k!=="")&&Jr(e,k):typeof k=="number"&&Jr(e,""+k):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(u.hasOwnProperty(c)?k!=null&&c==="onScroll"&&Ae("scroll",e):k!=null&&z(e,c,k,m))}switch(r){case"input":Gt(e),Yt(e,s,!1);break;case"textarea":Gt(e),Ce(e);break;case"option":s.value!=null&&e.setAttribute("value",""+we(s.value));break;case"select":e.multiple=!!s.multiple,c=s.value,c!=null?fn(e,!!s.multiple,c,!1):s.defaultValue!=null&&fn(e,!!s.multiple,s.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=ki)}switch(r){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return it(t),null;case 6:if(e&&t.stateNode!=null)Lf(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(o(166));if(r=Gn(Eo.current),Gn(Ut.current),Ai(t)){if(s=t.stateNode,r=t.memoizedProps,s[Bt]=t,(c=s.nodeValue!==r)&&(e=_t,e!==null))switch(e.tag){case 3:xi(s.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xi(s.nodeValue,r,(e.mode&1)!==0)}c&&(t.flags|=4)}else s=(r.nodeType===9?r:r.ownerDocument).createTextNode(s),s[Bt]=t,t.stateNode=s}return it(t),null;case 13:if(Me(ze),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ne&&Rt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Ac(),Tr(),t.flags|=98560,c=!1;else if(c=Ai(t),s!==null&&s.dehydrated!==null){if(e===null){if(!c)throw Error(o(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(o(317));c[Bt]=t}else Tr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;it(t),c=!1}else Nt!==null&&(ml(Nt),Nt=null),c=!0;if(!c)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(ze.current&1)!==0?Ke===0&&(Ke=3):vl())),t.updateQueue!==null&&(t.flags|=4),it(t),null);case 4:return Nr(),ol(e,t),e===null&&wo(t.stateNode.containerInfo),it(t),null;case 10:return Ma(t.type._context),it(t),null;case 17:return pt(t.type)&&Ei(),it(t),null;case 19:if(Me(ze),c=t.memoizedState,c===null)return it(t),null;if(s=(t.flags&128)!==0,m=c.rendering,m===null)if(s)Ao(c,!1);else{if(Ke!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=Di(e),m!==null){for(t.flags|=128,Ao(c,!1),s=m.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=r,r=t.child;r!==null;)c=r,e=s,c.flags&=14680066,m=c.alternate,m===null?(c.childLanes=0,c.lanes=e,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=m.childLanes,c.lanes=m.lanes,c.child=m.child,c.subtreeFlags=0,c.deletions=null,c.memoizedProps=m.memoizedProps,c.memoizedState=m.memoizedState,c.updateQueue=m.updateQueue,c.type=m.type,e=m.dependencies,c.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Te(ze,ze.current&1|2),t.child}e=e.sibling}c.tail!==null&&Be()>jr&&(t.flags|=128,s=!0,Ao(c,!1),t.lanes=4194304)}else{if(!s)if(e=Di(m),e!==null){if(t.flags|=128,s=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ao(c,!0),c.tail===null&&c.tailMode==="hidden"&&!m.alternate&&!Ne)return it(t),null}else 2*Be()-c.renderingStartTime>jr&&r!==1073741824&&(t.flags|=128,s=!0,Ao(c,!1),t.lanes=4194304);c.isBackwards?(m.sibling=t.child,t.child=m):(r=c.last,r!==null?r.sibling=m:t.child=m,c.last=m)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=Be(),t.sibling=null,r=ze.current,Te(ze,s?r&1|2:r&1),t):(it(t),null);case 22:case 23:return yl(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(t.mode&1)!==0?(xt&1073741824)!==0&&(it(t),t.subtreeFlags&6&&(t.flags|=8192)):it(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function og(e,t){switch(Ea(t),t.tag){case 1:return pt(t.type)&&Ei(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nr(),Me(dt),Me(rt),$a(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Da(t),null;case 13:if(Me(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(ze),null;case 4:return Nr(),null;case 10:return Ma(t.type._context),null;case 22:case 23:return yl(),null;case 24:return null;default:return null}}var Ki=!1,st=!1,ig=typeof WeakSet=="function"?WeakSet:Set,q=null;function zr(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(s){je(e,t,s)}else r.current=null}function il(e,t,r){try{r()}catch(s){je(e,t,s)}}var Tf=!1;function sg(e,t){if(ya=di,e=ac(),ua(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var s=r.getSelection&&r.getSelection();if(s&&s.rangeCount!==0){r=s.anchorNode;
vendor: 4,722 bytes, line 9
9var l=s.anchorOffset,c=s.focusNode;s=s.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,R=-1,k=-1,O=0,$=0,V=e,j=null;t:for(;;){for(var G;V!==r||l!==0&&V.nodeType!==3||(R=m+l),V!==c||s!==0&&V.nodeType!==3||(k=m+s),V.nodeType===3&&(m+=V.nodeValue.length),(G=V.firstChild)!==null;)j=V,V=G;for(;;){if(V===e)break t;if(j===r&&++O===l&&(R=m),j===c&&++$===s&&(k=m),(G=V.nextSibling)!==null)break;V=j,j=V.parentNode}V=G}r=R===-1||k===-1?null:{start:R,end:k}}else r=null}r=r||{start:0,end:0}}else r=null;for(va={focusedElem:e,selectionRange:r},di=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var J=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(J!==null){var Z=J.memoizedProps,Ue=J.memoizedState,L=t.stateNode,P=L.getSnapshotBeforeUpdate(t.elementType===t.type?Z:Ft(t.type,Z),Ue);L.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(W){je(t,t.return,W)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return J=Tf,Tf=!1,J}function Mo(e,t,r){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var l=s=s.next;do{if((l.tag&e)===e){var c=l.destroy;l.destroy=void 0,c!==void 0&&il(t,r,c)}l=l.next}while(l!==s)}}function Qi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var s=r.create;r.destroy=s()}r=r.next}while(r!==t)}}function sl(e){var t=e.ref;if(t!==null){var r=e.stateNode;e.tag,e=r,typeof t=="function"?t(e):t.current=e}}function Af(e){var t=e.alternate;t!==null&&(e.alternate=null,Af(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[_o],delete t[Ra],delete t[Vm],delete t[bm])),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 Mf(e){return e.tag===5||e.tag===3||e.tag===4}function Of(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Mf(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 al(e,t,r){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ki));else if(s!==4&&(e=e.child,e!==null))for(al(e,t,r),e=e.sibling;e!==null;)al(e,t,r),e=e.sibling}function ll(e,t,r){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(ll(e,t,r),e=e.sibling;e!==null;)ll(e,t,r),e=e.sibling}var tt=null,zt=!1;function kn(e,t,r){for(r=r.child;r!==null;)Nf(e,t,r),r=r.sibling}function Nf(e,t,r){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(si,r)}catch{}switch(r.tag){case 5:st||zr(r,t);case 6:var s=tt,l=zt;tt=null,kn(e,t,r),tt=s,zt=l,tt!==null&&(zt?(e=tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):tt.removeChild(r.stateNode));break;case 18:tt!==null&&(zt?(e=tt,r=r.stateNode,e.nodeType===8?_a(e.parentNode,r):e.nodeType===1&&_a(e,r),uo(e)):_a(tt,r.stateNode));break;case 4:s=tt,l=zt,tt=r.stateNode.containerInfo,zt=!0,kn(e,t,r),tt=s,zt=l;break;case 0:case 11:case 14:case 15:if(!st&&(s=r.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){l=s=s.next;do{var c=l,m=c.destroy;c=c.tag,m!==void 0&&((c&2)!==0||(c&4)!==0)&&il(r,t,m),l=l.next}while(l!==s)}kn(e,t,r);break;case 1:if(!st&&(zr(r,t),s=r.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=r.memoizedProps,s.state=r.memoizedState,s.componentWillUnmount()}catch(R){je(r,t,R)}kn(e,t,r);break;case 21:kn(e,t,r);break;case 22:r.mode&1?(st=(s=st)||r.memoizedState!==null,kn(e,t,r),st=s):kn(e,t,r);break;default:kn(e,t,r)}}function Ff(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new ig),t.forEach(function(s){var l=mg.bind(null,e,s);r.has(s)||(r.add(s),s.then(l,l))})}}function Dt(e,t){var r=t.deletions;if(r!==null)for(var s=0;s<r.length;s++){var l=r[s];try{var c=e,m=t,R=m;e:for(;R!==null;){switch(R.tag){case 5:tt=R.stateNode,zt=!1;break e;case 3:tt=R.stateNode.containerInfo,zt=!0;break e;case 4:tt=R.stateNode.containerInfo,zt=!0;break e}R=R.return}if(tt===null)throw Error(o(160));Nf(c,m,l),tt=null,zt=!1;var k=l.alternate;
vendor: 13,963 bytes, line 9
9k!==null&&(k.return=null),l.return=null}catch(O){je(l,t,O)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zf(t,e),t=t.sibling}function zf(e,t){var r=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Dt(t,e),bt(e),s&4){try{Mo(3,e,e.return),Qi(3,e)}catch(Z){je(e,e.return,Z)}try{Mo(5,e,e.return)}catch(Z){je(e,e.return,Z)}}break;case 1:Dt(t,e),bt(e),s&512&&r!==null&&zr(r,r.return);break;case 5:if(Dt(t,e),bt(e),s&512&&r!==null&&zr(r,r.return),e.flags&32){var l=e.stateNode;try{Jr(l,"")}catch(Z){je(e,e.return,Z)}}if(s&4&&(l=e.stateNode,l!=null)){var c=e.memoizedProps,m=r!==null?r.memoizedProps:c,R=e.type,k=e.updateQueue;if(e.updateQueue=null,k!==null)try{R==="input"&&c.type==="radio"&&c.name!=null&&Xr(l,c),$s(R,m);var O=$s(R,c);for(m=0;m<k.length;m+=2){var $=k[m],V=k[m+1];$==="style"?yu(l,V):$==="dangerouslySetInnerHTML"?mu(l,V):$==="children"?Jr(l,V):z(l,$,V,O)}switch(R){case"input":pr(l,c);break;case"textarea":qr(l,c);break;case"select":var j=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!c.multiple;var G=c.value;G!=null?fn(l,!!c.multiple,G,!1):j!==!!c.multiple&&(c.defaultValue!=null?fn(l,!!c.multiple,c.defaultValue,!0):fn(l,!!c.multiple,c.multiple?[]:"",!1))}l[_o]=c}catch(Z){je(e,e.return,Z)}}break;case 6:if(Dt(t,e),bt(e),s&4){if(e.stateNode===null)throw Error(o(162));l=e.stateNode,c=e.memoizedProps;try{l.nodeValue=c}catch(Z){je(e,e.return,Z)}}break;case 3:if(Dt(t,e),bt(e),s&4&&r!==null&&r.memoizedState.isDehydrated)try{uo(t.containerInfo)}catch(Z){je(e,e.return,Z)}break;case 4:Dt(t,e),bt(e);break;case 13:Dt(t,e),bt(e),l=e.child,l.flags&8192&&(c=l.memoizedState!==null,l.stateNode.isHidden=c,!c||l.alternate!==null&&l.alternate.memoizedState!==null||(fl=Be())),s&4&&Ff(e);break;case 22:if($=r!==null&&r.memoizedState!==null,e.mode&1?(st=(O=st)||$,Dt(t,e),st=O):Dt(t,e),bt(e),s&8192){if(O=e.memoizedState!==null,(e.stateNode.isHidden=O)&&!$&&(e.mode&1)!==0)for(q=e,$=e.child;$!==null;){for(V=q=$;q!==null;){switch(j=q,G=j.child,j.tag){case 0:case 11:case 14:case 15:Mo(4,j,j.return);break;case 1:zr(j,j.return);var J=j.stateNode;if(typeof J.componentWillUnmount=="function"){s=j,r=j.return;try{t=s,J.props=t.memoizedProps,J.state=t.memoizedState,J.componentWillUnmount()}catch(Z){je(s,r,Z)}}break;case 5:zr(j,j.return);break;case 22:if(j.memoizedState!==null){$f(V);continue}}G!==null?(G.return=j,q=G):$f(V)}$=$.sibling}e:for($=null,V=e;;){if(V.tag===5){if($===null){$=V;try{l=V.stateNode,O?(c=l.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none"):(R=V.stateNode,k=V.memoizedProps.style,m=k!=null&&k.hasOwnProperty("display")?k.display:null,R.style.display=gu("display",m))}catch(Z){je(e,e.return,Z)}}}else if(V.tag===6){if($===null)try{V.stateNode.nodeValue=O?"":V.memoizedProps}catch(Z){je(e,e.return,Z)}}else if((V.tag!==22&&V.tag!==23||V.memoizedState===null||V===e)&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===e)break e;for(;V.sibling===null;){if(V.return===null||V.return===e)break e;$===V&&($=null),V=V.return}$===V&&($=null),V.sibling.return=V.return,V=V.sibling}}break;case 19:Dt(t,e),bt(e),s&4&&Ff(e);break;case 21:break;default:Dt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Mf(r)){var s=r;break e}r=r.return}throw Error(o(160))}switch(s.tag){case 5:var l=s.stateNode;s.flags&32&&(Jr(l,""),s.flags&=-33);var c=Of(e);ll(e,c,l);break;case 3:case 4:var m=s.stateNode.containerInfo,R=Of(e);al(e,R,m);break;default:throw Error(o(161))}}catch(k){je(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ag(e,t,r){q=e,Df(e)}function Df(e,t,r){for(var s=(e.mode&1)!==0;q!==null;){var l=q,c=l.child;if(l.tag===22&&s){var m=l.memoizedState!==null||Ki;if(!m){var R=l.alternate,k=R!==null&&R.memoizedState!==null||st;R=Ki;var O=st;if(Ki=m,(st=k)&&!O)for(q=l;q!==null;)m=q,k=m.child,m.tag===22&&m.memoizedState!==null?Bf(l):k!==null?(k.return=m,q=k):Bf(l);for(;c!==null;)q=c,Df(c),c=c.sibling;q=l,Ki=R,st=O}jf(e)}else(l.subtreeFlags&8772)!==0&&c!==null?(c.return=l,q=c):jf(e)}}function jf(e){for(;q!==null;){var t=q;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:st||Qi(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!st)if(r===null)s.componentDidMount();else{var l=t.elementType===t.type?r.memoizedProps:Ft(t.type,r.memoizedProps);s.componentDidUpdate(l,r.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var c=t.updateQueue;c!==null&&jc(t,c,s);break;case 3:var m=t.updateQueue;if(m!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}jc(t,m,r)}break;case 5:var R=t.stateNode;if(r===null&&t.flags&4){r=R;var k=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":k.autoFocus&&r.focus();break;case"img":k.src&&(r.src=k.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var O=t.alternate;if(O!==null){var $=O.memoizedState;if($!==null){var V=$.dehydrated;V!==null&&uo(V)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}st||t.flags&512&&sl(t)}catch(j){je(t,t.return,j)}}if(t===e){q=null;break}if(r=t.sibling,r!==null){r.return=t.return,q=r;break}q=t.return}}function $f(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var r=t.sibling;if(r!==null){r.return=t.return,q=r;break}q=t.return}}function Bf(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Qi(4,t)}catch(k){je(t,r,k)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var l=t.return;try{s.componentDidMount()}catch(k){je(t,l,k)}}var c=t.return;try{sl(t)}catch(k){je(t,c,k)}break;case 5:var m=t.return;try{sl(t)}catch(k){je(t,m,k)}}}catch(k){je(t,t.return,k)}if(t===e){q=null;break}var R=t.sibling;if(R!==null){R.return=t.return,q=R;break}q=t.return}}var lg=Math.ceil,Gi=F.ReactCurrentDispatcher,ul=F.ReactCurrentOwner,It=F.ReactCurrentBatchConfig,Se=0,Xe=null,be=null,nt=0,xt=0,Dr=wn(0),Ke=0,Oo=null,Xn=0,Yi=0,cl=0,No=null,mt=null,fl=0,jr=1/0,rn=null,Xi=!1,dl=null,Pn=null,qi=!1,En=null,Ji=0,Fo=0,pl=null,Zi=-1,es=0;function ut(){return(Se&6)!==0?Be():Zi!==-1?Zi:Zi=Be()}function Cn(e){return(e.mode&1)===0?1:(Se&2)!==0&&nt!==0?nt&-nt:Hm.transition!==null?(es===0&&(es=Mu()),es):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:Uu(e.type)),e)}function jt(e,t,r,s){if(50<Fo)throw Fo=0,pl=null,Error(o(185));oo(e,r,s),((Se&2)===0||e!==Xe)&&(e===Xe&&((Se&2)===0&&(Yi|=r),Ke===4&&In(e,nt)),gt(e,s),r===1&&Se===0&&(t.mode&1)===0&&(jr=Be()+500,Ii&&_n()))}function gt(e,t){var r=e.callbackNode;Hh(e,t);var s=ui(e,e===Xe?nt:0);if(s===0)r!==null&&Lu(r),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(r!=null&&Lu(r),t===1)e.tag===0?Wm(Vf.bind(null,e)):Ec(Vf.bind(null,e)),Bm(function(){(Se&6)===0&&_n()}),r=null;else{switch(Ou(s)){case 1:r=Ks;break;case 4:r=Tu;break;case 16:r=ii;break;case 536870912:r=Au;break;default:r=ii}r=Xf(r,Uf.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Uf(e,t){if(Zi=-1,es=0,(Se&6)!==0)throw Error(o(327));var r=e.callbackNode;if($r()&&e.callbackNode!==r)return null;var s=ui(e,e===Xe?nt:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||t)t=ts(e,s);else{t=s;var l=Se;Se|=2;var c=Wf();(Xe!==e||nt!==t)&&(rn=null,jr=Be()+500,Jn(e,t));do try{fg();break}catch(R){bf(e,R)}while(!0);Aa(),Gi.current=c,Se=l,be!==null?t=0:(Xe=null,nt=0,t=Ke)}if(t!==0){if(t===2&&(l=Qs(e),l!==0&&(s=l,t=hl(e,l))),t===1)throw r=Oo,Jn(e,0),In(e,s),gt(e,Be()),r;if(t===6)In(e,s);else{if(l=e.current.alternate,(s&30)===0&&!ug(l)&&(t=ts(e,s),t===2&&(c=Qs(e),c!==0&&(s=c,t=hl(e,c))),t===1))throw r=Oo,Jn(e,0),In(e,s),gt(e,Be()),r;switch(e.finishedWork=l,e.finishedLanes=s,t){case 0:case 1:throw Error(o(345));case 2:Zn(e,mt,rn);break;case 3:if(In(e,s),(s&130023424)===s&&(t=fl+500-Be(),10<t)){if(ui(e,0)!==0)break;if(l=e.suspendedLanes,(l&s)!==s){ut(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Sa(Zn.bind(null,e,mt,rn),t);break}Zn(e,mt,rn);break;case 4:if(In(e,s),(s&4194240)===s)break;for(t=e.eventTimes,l=-1;0<s;){var m=31-Mt(s);c=1<<m,m=t[m],m>l&&(l=m),s&=~c}if(s=l,s=Be()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*lg(s/1960))-s,10<s){e.timeoutHandle=Sa(Zn.bind(null,e,mt,rn),s);break}Zn(e,mt,rn);break;case 5:Zn(e,mt,rn);break;default:throw Error(o(329))}}}return gt(e,Be()),e.callbackNode===r?Uf.bind(null,e):null}function hl(e,t){var r=No;return e.current.memoizedState.isDehydrated&&(Jn(e,t).flags|=256),e=ts(e,t),e!==2&&(t=mt,mt=r,t!==null&&ml(t)),e}function ml(e){mt===null?mt=e:mt.push.apply(mt,e)}function ug(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var s=0;s<r.length;s++){var l=r[s],c=l.getSnapshot;l=l.value;try{if(!Ot(c(),l))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t){for(t&=~cl,t&=~Yi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Mt(t),s=1<<r;e[r]=-1,t&=~s}}function Vf(e){if((Se&6)!==0)throw Error(o(327));$r();var t=ui(e,0);if((t&1)===0)return gt(e,Be()),null;var r=ts(e,t);if(e.tag!==0&&r===2){var s=Qs(e);s!==0&&(t=s,r=hl(e,s))}if(r===1)throw r=Oo,Jn(e,0),In(e,t),gt(e,Be()),r;if(r===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Zn(e,mt,rn),gt(e,Be()),null}function gl(e,t){var r=Se;Se|=1;try{return e(t)}finally{Se=r,Se===0&&(jr=Be()+500,Ii&&_n())}}function qn(e){En!==null&&En.tag===0&&(Se&6)===0&&$r();var t=Se;Se|=1;var r=It.transition,s=Pe;try{if(It.transition=null,Pe=1,e)return e()}finally{Pe=s,It.transition=r,Se=t,(Se&6)===0&&_n()}}function yl(){xt=Dr.current,Me(Dr)}function Jn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,$m(r)),be!==null)for(r=be.return;r!==null;){var s=r;switch(Ea(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Ei();break;case 3:Nr(),Me(dt),Me(rt),$a();break;case 5:Da(s);break;case 4:Nr();break;case 13:Me(ze);break;case 19:Me(ze);break;case 10:Ma(s.type._context);break;case 22:case 23:yl()}r=r.return}if(Xe=e,be=e=Ln(e.current,null),nt=xt=t,Ke=0,Oo=null,cl=Yi=Xn=0,mt=No=null,Qn!==null){for(t=0;t<Qn.length;t++)if(r=Qn[t],s=r.interleaved,s!==null){r.interleaved=null;var l=s.next,c=r.pending;if(c!==null){var m=c.next;c.next=l,s.next=m}r.pending=s}Qn=null}return e}function bf(e,t){do{var r=be;try{if(Aa(),ji.current=Vi,$i){for(var s=De.memoizedState;s!==null;){var l=s.queue;l!==null&&(l.pending=null),s=s.next}$i=!1}if(Yn=0,Ye=He=De=null,Co=!1,Io=0,ul.current=null,r===null||r.return===null){Ke=1,Oo=t,be=null;break}e:{var c=e,m=r.return,R=r,k=t;if(t=nt,R.flags|=32768,k!==null&&typeof k=="object"&&typeof k.then=="function"){var O=k,$=R,V=$.tag;if(($.mode&1)===0&&(V===0||V===11||V===15)){var j=$.alternate;j?($.updateQueue=j.updateQueue,$.memoizedState=j.memoizedState,$.lanes=j.lanes):($.updateQueue=null,$.memoizedState=null)}var G=hf(m);if(G!==null){G.flags&=-257,mf(G,m,R,c,t),G.mode&1&&pf(c,O,t),t=G,k=O;var J=t.updateQueue;if(J===null){var Z=new Set;Z.add(k),t.updateQueue=Z}else J.add(k);break e}else{if((t&1)===0){pf(c,O,t),vl();break e}k=Error(o(426))}}else if(Ne&&R.mode&1){var Ue=hf(m);if(Ue!==null){(Ue.flags&65536)===0&&(Ue.flags|=256),mf(Ue,m,R,c,t),La(Fr(k,R));break e}}c=k=Fr(k,R),Ke!==4&&(Ke=2),No===null?No=[c]:No.push(c),c=m;do{switch(c.tag){case 3:c.flags|=65536,t&=-t,c.lanes|=t;var L=ff(c,k,t);Dc(c,L);break e;case 1:R=k;var P=c.type,M=c.stateNode;if((c.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Pn===null||!Pn.has(M)))){c.flags|=65536,t&=-t,c.lanes|=t;var W=df(c,R,t);Dc(c,W);break e}}c=c.return}while(c!==null)}Kf(r)}catch(ee){t=ee,be===r&&r!==null&&(be=r=r.return);continue}break}while(!0)}function Wf(){var e=Gi.current;return Gi.current=Vi,e===null?Vi:e}function vl(){(Ke===0||Ke===3||Ke===2)&&(Ke=4),Xe===null||(Xn&268435455)===0&&(Yi&268435455)===0||In(Xe,nt)}function ts(e,t){var r=Se;Se|=2;var s=Wf();(Xe!==e||nt!==t)&&(rn=null,Jn(e,t));do try{cg();break}catch(l){bf(e,l)}while(!0);if(Aa(),Se=r,Gi.current=s,be!==null)throw Error(o(261));return Xe=null,nt=0,Ke}function cg(){for(;be!==null;)Hf(be)}function fg(){for(;be!==null&&!zh();)Hf(be)}function Hf(e){var t=Yf(e.alternate,e,xt);e.memoizedProps=e.pendingProps,t===null?Kf(e):be=t,ul.current=null}function Kf(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=rg(r,t,xt),r!==null){be=r;return}}else{if(r=og(r,t),r!==null){r.flags&=32767,be=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ke=6,be=null;return}}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);Ke===0&&(Ke=5)}function Zn(e,t,r){var s=Pe,l=It.transition;try{It.transition=null,Pe=1,dg(e,t,r,s)}finally{It.transition=l,Pe=s}return null}function dg(e,t,r,s){do $r();while(En!==null);if((Se&6)!==0)throw Error(o(327));r=e.finishedWork;var l=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var c=r.lanes|r.childLanes;if(Kh(e,c),e===Xe&&(be=Xe=null,nt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||qi||(qi=!0,Xf(ii,function(){return $r(),null})),c=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||c){c=It.transition,It.transition=null;var m=Pe;Pe=1;var R=Se;Se|=4,ul.current=null,sg(e,r),zf(r,e),Mm(va),di=!!ya,va=ya=null,e.current=r,ag(r),Dh(),Se=R,Pe=m,It.transition=c}else e.current=r;if(qi&&(qi=!1,En=e,Ji=l),c=e.pendingLanes,c===0&&(Pn=null),Bh(r.stateNode),gt(e,Be()),t!==null)for(s=e.onRecoverableError,r=0;r<t.length;r++)l=t[r],s(l.value,{componentStack:l.stack,digest:l.digest});if(Xi)throw Xi=!1,e=dl,dl=null,e;return(Ji&1)!==0&&e.tag!==0&&$r(),c=e.pendingLanes,(c&1)!==0?e===pl?Fo++:(Fo=0,pl=e):Fo=0,_n(),null}
vendor: 6,514 bytes, line 9
9function $r(){if(En!==null){var e=Ou(Ji),t=It.transition,r=Pe;try{if(It.transition=null,Pe=16>e?16:e,En===null)var s=!1;else{if(e=En,En=null,Ji=0,(Se&6)!==0)throw Error(o(331));var l=Se;for(Se|=4,q=e.current;q!==null;){var c=q,m=c.child;if((q.flags&16)!==0){var R=c.deletions;if(R!==null){for(var k=0;k<R.length;k++){var O=R[k];for(q=O;q!==null;){var $=q;switch($.tag){case 0:case 11:case 15:Mo(8,$,c)}var V=$.child;if(V!==null)V.return=$,q=V;else for(;q!==null;){$=q;var j=$.sibling,G=$.return;if(Af($),$===O){q=null;break}if(j!==null){j.return=G,q=j;break}q=G}}}var J=c.alternate;if(J!==null){var Z=J.child;if(Z!==null){J.child=null;do{var Ue=Z.sibling;Z.sibling=null,Z=Ue}while(Z!==null)}}q=c}}if((c.subtreeFlags&2064)!==0&&m!==null)m.return=c,q=m;else e:for(;q!==null;){if(c=q,(c.flags&2048)!==0)switch(c.tag){case 0:case 11:case 15:Mo(9,c,c.return)}var L=c.sibling;if(L!==null){L.return=c.return,q=L;break e}q=c.return}}var P=e.current;for(q=P;q!==null;){m=q;var M=m.child;if((m.subtreeFlags&2064)!==0&&M!==null)M.return=m,q=M;else e:for(m=P;q!==null;){if(R=q,(R.flags&2048)!==0)try{switch(R.tag){case 0:case 11:case 15:Qi(9,R)}}catch(ee){je(R,R.return,ee)}if(R===m){q=null;break e}var W=R.sibling;if(W!==null){W.return=R.return,q=W;break e}q=R.return}}if(Se=l,_n(),$t&&typeof $t.onPostCommitFiberRoot=="function")try{$t.onPostCommitFiberRoot(si,e)}catch{}s=!0}return s}finally{Pe=r,It.transition=t}}return!1}function Qf(e,t,r){t=Fr(r,t),t=ff(e,t,1),e=xn(e,t,1),t=ut(),e!==null&&(oo(e,1,t),gt(e,t))}function je(e,t,r){if(e.tag===3)Qf(e,e,r);else for(;t!==null;){if(t.tag===3){Qf(t,e,r);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Pn===null||!Pn.has(s))){e=Fr(r,e),e=df(t,e,1),t=xn(t,e,1),e=ut(),t!==null&&(oo(t,1,e),gt(t,e));break}}t=t.return}}function pg(e,t,r){var s=e.pingCache;s!==null&&s.delete(t),t=ut(),e.pingedLanes|=e.suspendedLanes&r,Xe===e&&(nt&r)===r&&(Ke===4||Ke===3&&(nt&130023424)===nt&&500>Be()-fl?Jn(e,0):cl|=r),gt(e,t)}function Gf(e,t){t===0&&((e.mode&1)===0?t=1:(t=li,li<<=1,(li&130023424)===0&&(li=4194304)));var r=ut();e=en(e,t),e!==null&&(oo(e,t,r),gt(e,r))}function hg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Gf(e,r)}function mg(e,t){var r=0;switch(e.tag){case 13:var s=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(o(314))}s!==null&&s.delete(t),Gf(e,r)}var Yf;Yf=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||dt.current)ht=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return ht=!1,ng(e,t,r);ht=(e.flags&131072)!==0}else ht=!1,Ne&&(t.flags&1048576)!==0&&Cc(t,Ti,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;Hi(e,t),e=t.pendingProps;var l=Cr(t,rt.current);Or(t,r),l=Va(null,t,s,e,l,r);var c=ba();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pt(s)?(c=!0,Ci(t)):c=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Fa(t),l.updater=bi,t.stateNode=l,l._reactInternals=t,Ya(t,s,e,r),t=Za(null,t,s,!0,c,r)):(t.tag=0,Ne&&c&&Pa(t),lt(null,t,l,r),t=t.child),t;case 16:s=t.elementType;e:{switch(Hi(e,t),e=t.pendingProps,l=s._init,s=l(s._payload),t.type=s,l=t.tag=yg(s),e=Ft(s,e),l){case 0:t=Ja(null,t,s,e,r);break e;case 1:t=_f(null,t,s,e,r);break e;case 11:t=gf(null,t,s,e,r);break e;case 14:t=yf(null,t,s,Ft(s.type,e),r);break e}throw Error(o(306,s,""))}return t;case 0:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ft(s,l),Ja(e,t,s,l,r);case 1:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ft(s,l),_f(e,t,s,l,r);case 3:e:{if(Rf(t),e===null)throw Error(o(387));s=t.pendingProps,c=t.memoizedState,l=c.element,zc(e,t),zi(t,s,null,r);var m=t.memoizedState;if(s=m.element,c.isDehydrated)if(c={element:s,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){l=Fr(Error(o(423)),t),t=xf(e,t,s,r,l);break e}else if(s!==l){l=Fr(Error(o(424)),t),t=xf(e,t,s,r,l);break e}else for(Rt=vn(t.stateNode.containerInfo.firstChild),_t=t,Ne=!0,Nt=null,r=Nc(t,null,s,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Tr(),s===l){t=nn(e,t,r);break e}lt(e,t,s,r)}t=t.child}return t;case 5:return $c(t),e===null&&Ia(t),s=t.type,l=t.pendingProps,c=e!==null?e.memoizedProps:null,m=l.children,wa(s,l)?m=null:c!==null&&wa(s,c)&&(t.flags|=32),Sf(e,t),lt(e,t,m,r),t.child;case 6:return e===null&&Ia(t),null;case 13:return kf(e,t,r);case 4:return za(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Ar(t,null,s,r):lt(e,t,s,r),t.child;case 11:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ft(s,l),gf(e,t,s,l,r);case 7:return lt(e,t,t.pendingProps,r),t.child;case 8:return lt(e,t,t.pendingProps.children,r),t.child;case 12:return lt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(s=t.type._context,l=t.pendingProps,c=t.memoizedProps,m=l.value,Te(Oi,s._currentValue),s._currentValue=m,c!==null)if(Ot(c.value,m)){if(c.children===l.children&&!dt.current){t=nn(e,t,r);break e}}else for(c=t.child,c!==null&&(c.return=t);c!==null;){var R=c.dependencies;if(R!==null){m=c.child;for(var k=R.firstContext;k!==null;){if(k.context===s){if(c.tag===1){k=tn(-1,r&-r),k.tag=2;var O=c.updateQueue;if(O!==null){O=O.shared;var $=O.pending;$===null?k.next=k:(k.next=$.next,$.next=k),O.pending=k}}c.lanes|=r,k=c.alternate,k!==null&&(k.lanes|=r),Oa(c.return,r,t),R.lanes|=r;break}k=k.next}}else if(c.tag===10)m=c.type===t.type?null:c.child;else if(c.tag===18){if(m=c.return,m===null)throw Error(o(341));m.lanes|=r,R=m.alternate,R!==null&&(R.lanes|=r),Oa(m,r,t),m=c.sibling}else m=c.child;if(m!==null)m.return=c;else for(m=c;m!==null;){if(m===t){m=null;break}if(c=m.sibling,c!==null){c.return=m.return,m=c;break}m=m.return}c=m}lt(e,t,l.children,r),t=t.child}return t;case 9:return l=t.type,s=t.pendingProps.children,Or(t,r),l=Et(l),s=s(l),t.flags|=1,lt(e,t,s,r),t.child;case 14:return s=t.type,l=Ft(s,t.pendingProps),l=Ft(s.type,l),yf(e,t,s,l,r);case 15:return vf(e,t,t.type,t.pendingProps,r);case 17:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ft(s,l),Hi(e,t),t.tag=1,pt(s)?(e=!0,Ci(t)):e=!1,Or(t,r),uf(t,s,l),Ya(t,s,l,r),Za(null,t,s,!0,e,r);case 19:return Ef(e,t,r);case 22:return wf(e,t,r)}throw Error(o(156,t.tag))};function Xf(e,t){return Iu(e,t)}function gg(e,t,r,s){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,781 bytes, line 9
9ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lt(e,t,r,s){return new gg(e,t,r,s)}function wl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yg(e){if(typeof e=="function")return wl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ae)return 11;if(e===Ve)return 14}return 2}function Ln(e,t){var r=e.alternate;return r===null?(r=Lt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ns(e,t,r,s,l,c){var m=2;if(s=e,typeof e=="function")wl(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case B:return er(r.children,l,c,t);case b:m=8,l|=8;break;case Y:return e=Lt(12,r,t,l|2),e.elementType=Y,e.lanes=c,e;case Oe:return e=Lt(13,r,t,l),e.elementType=Oe,e.lanes=c,e;case Le:return e=Lt(19,r,t,l),e.elementType=Le,e.lanes=c,e;case ye:return rs(r,l,c,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ie:m=10;break e;case se:m=9;break e;case ae:m=11;break e;case Ve:m=14;break e;case We:m=16,s=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=Lt(m,r,t,l),t.elementType=e,t.type=s,t.lanes=c,t}function er(e,t,r,s){return e=Lt(7,e,s,t),e.lanes=r,e}function rs(e,t,r,s){return e=Lt(22,e,s,t),e.elementType=ye,e.lanes=r,e.stateNode={isHidden:!1},e}function Sl(e,t,r){return e=Lt(6,e,null,t),e.lanes=r,e}function _l(e,t,r){return t=Lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vg(e,t,r,s,l){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=Gs(0),this.expirationTimes=Gs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gs(0),this.identifierPrefix=s,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Rl(e,t,r,s,l,c,m,R,k){return e=new vg(e,t,r,R,k),t===1?(t=1,c===!0&&(t|=8)):t=0,c=Lt(3,null,null,t),e.current=c,c.stateNode=e,c.memoizedState={element:s,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fa(c),e}function wg(e,t,r){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:H,key:s==null?null:""+s,children:e,containerInfo:t,implementation:r}}function qf(e){if(!e)return Sn;e=e._reactInternals;e:{if(Vn(e)!==e||e.tag!==1)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(pt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(o(171))}if(e.tag===1){var r=e.type;if(pt(r))return kc(e,r,t)}return t}function Jf(e,t,r,s,l,c,m,R,k){return e=Rl(r,s,!0,e,l,c,m,R,k),e.context=qf(null),r=e.current,s=ut(),l=Cn(r),c=tn(s,l),c.callback=t??null,xn(r,c,l),e.current.lanes=l,oo(e,l,s),gt(e,s),e}function os(e,t,r,s){var l=t.current,c=ut(),m=Cn(l);return r=qf(r),t.context===null?t.context=r:t.pendingContext=r,t=tn(c,m),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=xn(l,t,m),e!==null&&(jt(e,l,m,c),Fi(e,l,m)),m}function is(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Zf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function xl(e,t){Zf(e,t),(e=e.alternate)&&Zf(e,t)}function Sg(){return null}var ed=typeof reportError=="function"?reportError:function(e){console.error(e)};function kl(e){this._internalRoot=e}ss.prototype.render=kl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));os(e,t,null,null)},ss.prototype.unmount=kl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qn(function(){os(null,e,null,null)}),t[Xt]=null}};function ss(e){this._internalRoot=e}ss.prototype.unstable_scheduleHydration=function(e){if(e){var t=zu();e={blockedOn:null,target:e,priority:t};for(var r=0;r<mn.length&&t!==0&&t<mn[r].priority;r++);mn.splice(r,0,e),r===0&&$u(e)}};function Pl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function as(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function td(){}function _g(e,t,r,s,l){if(l){if(typeof s=="function"){var c=s;s=function(){var O=is(m);c.call(O)}}var m=Jf(t,s,e,0,null,!1,!1,"",td);return e._reactRootContainer=m,e[Xt]=m.current,wo(e.nodeType===8?e.parentNode:e),qn(),m}for(;l=e.lastChild;)e.removeChild(l);if(typeof s=="function"){var R=s;s=function(){var O=is(k);R.call(O)}}var k=Rl(e,0,!1,null,null,!1,!1,"",td);return e._reactRootContainer=k,e[Xt]=k.current,wo(e.nodeType===8?e.parentNode:e),qn(function(){os(t,k,r,s)}),k}function ls(e,t,r,s,l){var c=r._reactRootContainer;if(c){var m=c;if(typeof l=="function"){var R=l;l=function(){var k=is(m);R.call(k)}}os(t,m,e,l)}else m=_g(r,t,e,l,s);return is(m)}Nu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ro(t.pendingLanes);
9r!==0&&(Ys(t,r|1),gt(t,Be()),(Se&6)===0&&(jr=Be()+500,_n()))}break;case 13:qn(function(){var s=en(e,1);if(s!==null){var l=ut();jt(s,e,1,l)}}),xl(e,1)}},Xs=function(e){if(e.tag===13){var t=en(e,134217728);if(t!==null){var r=ut();jt(t,e,134217728,r)}xl(e,134217728)}},Fu=function(e){if(e.tag===13){var t=Cn(e),r=en(e,t);if(r!==null){var s=ut();jt(r,e,t,s)}xl(e,t)}},zu=function(){return Pe},Du=function(e,t){var r=Pe;try{return Pe=e,t()}finally{Pe=r}},Vs=function(e,t,r){switch(t){case"input":if(pr(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var s=r[t];if(s!==e&&s.form===e.form){var l=Pi(s);if(!l)throw Error(o(90));$n(s),pr(s,l)}}}break;case"textarea":qr(e,r);break;case"select":t=r.value,t!=null&&fn(e,!!r.multiple,t,!1)}},_u=gl,Ru=qn;var Rg={usingClientEntryPoint:!1,Events:[Ro,Pr,Pi,wu,Su,gl]},zo={findFiberByHostInstance:bn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},xg={bundleType:zo.bundleType,version:zo.version,rendererPackageName:zo.rendererPackageName,rendererConfig:zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:F.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Eu(e),e===null?null:e.stateNode},findFiberByHostInstance:zo.findFiberByHostInstance||Sg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var us=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!us.isDisabled&&us.supportsFiber)try{si=us.inject(xg),$t=us}catch{}}return yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rg,yt.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pl(t))throw Error(o(200));return wg(e,t,null,r)},yt.createRoot=function(e,t){if(!Pl(e))throw Error(o(299));var r=!1,s="",l=ed;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Rl(e,1,!1,null,null,r,!1,s,l),e[Xt]=t.current,wo(e.nodeType===8?e.parentNode:e),new kl(t)},yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Eu(t),e=e===null?null:e.stateNode,e},yt.flushSync=function(e){return qn(e)},yt.hydrate=function(e,t,r){if(!as(t))throw Error(o(200));return ls(null,e,t,!0,r)},yt.hydrateRoot=function(e,t,r){if(!Pl(e))throw Error(o(405));var s=r!=null&&r.hydratedSources||null,l=!1,c="",m=ed;if(r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onRecoverableError!==void 0&&(m=r.onRecoverableError)),t=Jf(t,null,e,1,r??null,l,!1,c,m),e[Xt]=t.current,wo(e),s)for(e=0;e<s.length;e++)r=s[e],l=r._getVersion,l=l(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,l]:t.mutableSourceEagerHydrationData.push(r,l);return new ss(t)},yt.render=function(e,t,r){if(!as(t))throw Error(o(200));return ls(null,e,t,!1,r)},yt.unmountComponentAtNode=function(e){if(!as(e))throw Error(o(40));return e._reactRootContainer?(qn(function(){ls(null,null,e,!1,function(){e._reactRootContainer=null,e[Xt]=null})}),!0):!1},yt.unstable_batchedUpdates=gl,yt.unstable_renderSubtreeIntoContainer=function(e,t,r,s){if(!as(r))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return ls(e,t,r,!1,s)},yt.version="18.3.1-next-f1338f8080-20240426",yt}var ud;function ip(){if(ud)return Il.exports;ud=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Il.exports=Mg(),Il.exports}var cd;function Og(){if(cd)return cs;cd=1;var n=ip();return cs.createRoot=n.createRoot,cs.hydrateRoot=n.hydrateRoot,cs}var Ng=Og(),Fg="__TSS_CONTEXT",Kl=Symbol.for("TSS_SERVER_FUNCTION"),fd=Symbol.for("TSS_SERVER_FUNCTION_FACTORY"),zg="application/x-tss-framed",on={JSON:0,CHUNK:1,END:2,ERROR:3},Dg=/;\s*v=(\d+)/;function jg(n){const i=n.match(Dg);return i?parseInt(i[1],10):void 0}function $g(n){const i=jg(n);if(i!==void 0&&i!==1)throw new Error(`Incompatible framed protocol version: server=${i}, client=1. Please ensure client and server are using compatible versions.`)}var ru=()=>window.__TSS_START_OPTIONS__;const sp=!1;function Ko(n){return n[n.length-1]}function Bg(n){return typeof n=="function"}function nr(n,i){return Bg(n)?n(i):n}const ap=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable;function lp(n){for(const i in n)if(ap.call(n,i))return!0;return!1}const Ug=()=>Object.create(null),tr=(n,i)=>rr(n,i,Ug);function rr(n,i,o=()=>({}),a=0){if(n===i)return n;if(a>500)return i;const u=i,f=md(n)&&md(u);if(!f&&!(xs(n)&&xs(u)))return u;const d=f?n:pd(n);if(!d)return u;const p=f?u:pd(u);if(!p)return u;const g=d.length,y=p.length,v=f?new Array(y):o();let h=0;for(let w=0;w<y;w++){const _=f?w:p[w],E=n[_],A=u[_];if(E===A){v[_]=E,(f?w<g:ap.call(n,_))&&h++;continue}if(E===null||A===null||typeof E!="object"||typeof A!="object"){v[_]=A;continue}const x=rr(E,A,o,a+1);v[_]=x,x===E&&h++}return g===y&&h===g?n:v}function pd(n){const i=Object.getOwnPropertyNames(n);for(const u of i)if(!dd.call(n,u))return!1;const o=Object.getOwnPropertySymbols(n);if(o.length===0)return i;const a=i;for(const u of o){if(!dd.call(n,u))return!1;a.push(u)}return a}
9function xs(n){if(!hd(n))return!1;const i=n.constructor;if(typeof i>"u")return!0;const o=i.prototype;return!(!hd(o)||!o.hasOwnProperty("isPrototypeOf"))}function hd(n){return Object.prototype.toString.call(n)==="[object Object]"}function md(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function ct(n,i,o){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length)return!1;for(let a=0,u=n.length;a<u;a++)if(!ct(n[a],i[a],o))return!1;return!0}if(xs(n)&&xs(i)){const a=o?.ignoreUndefined??!0;if(o?.partial){for(const d in i)if((!a||i[d]!==void 0)&&!ct(n[d],i[d],o))return!1;return!0}let u=0;if(!a)u=Object.keys(n).length;else for(const d in n)n[d]!==void 0&&u++;let f=0;for(const d in i)if((!a||i[d]!==void 0)&&(f++,f>u||!ct(n[d],i[d],o)))return!1;return u===f}return!1}function lr(n){let i,o;const a=new Promise((u,f)=>{i=u,o=f});return a.status="pending",a.resolve=u=>{a.status="resolved",a.value=u,i(u),n?.(u)},a.reject=u=>{a.status="rejected",o(u)},a}function Vg(n){return typeof n?.message!="string"?!1:n.message.startsWith("Failed to fetch dynamically imported module")||n.message.startsWith("error loading dynamically imported module")||n.message.startsWith("Importing a module script failed")}function Qo(n){return!!(n&&typeof n=="object"&&typeof n.then=="function")}const bg=/[\x00-\x1f\x7f"<>`{}]/g;function Wg(n){return n.replace(bg,i=>"%"+i.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function gd(n){let i;try{i=decodeURI(n)}catch{i=n.replaceAll(/%[0-9A-F]{2}/gi,o=>{try{return decodeURI(o)}catch{return o}})}return Wg(i)}const Hg=["http:","https:","mailto:","tel:"];function ks(n,i){if(!n)return!1;try{const o=new URL(n);return!i.has(o.protocol)}catch{return!1}}const Kg={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Qg=/[&><\u2028\u2029]/g;function Gg(n){return n.replace(Qg,i=>Kg[i])}function jo(n){if(!n)return{path:n,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(n)&&!n.startsWith("//"))return{path:n,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let o=0,a="",u;for(;(u=i.exec(n))!==null;)a+=gd(n.slice(o,u.index))+u[0],o=i.lastIndex;a=a+gd(o?n.slice(o):n);let f=!1;return a.startsWith("//")&&(f=!0,a="/"+a.replace(/^\/+/,"")),{path:a,handledProtocolRelativeURL:f}}function Yg(n){return/\s|[^\u0000-\u007F]/.test(n)?n.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):n}function Xg(n,i){if(n===i)return!0;if(n.length!==i.length)return!1;for(let o=0;o<n.length;o++)if(n[o]!==i[o])return!1;return!0}function vt(){throw new Error("Invariant failed")}function Go(n){const i=new Map;let o,a;const u=f=>{f.next&&(f.prev?(f.prev.next=f.next,f.next.prev=f.prev,f.next=void 0,a&&(a.next=f,f.prev=a)):(f.next.prev=void 0,o=f.next,f.next=void 0,a&&(f.prev=a,a.next=f)),a=f)};return{get(f){const d=i.get(f);if(d)return u(d),d.value},set(f,d){if(i.size>=n&&o){const g=o;i.delete(g.key),g.next&&(o=g.next,g.next.prev=void 0),g===a&&(a=void 0)}const p=i.get(f);if(p)p.value=d,u(p);else{const g={key:f,value:d,prev:a};a&&(a.next=g),a=g,o||(o=g),i.set(f,g)}},clear(){i.clear(),o=void 0,a=void 0}}}const On=4,up=5;function qg(n){const i=n.indexOf("{");if(i===-1)return null;const o=n.indexOf("}",i);return o===-1||i+1>=n.length?null:[i,o]}function cp(n,i,o=new Uint16Array(6)){const a=n.indexOf("/",i),u=a===-1?n.length:a,f=n.substring(i,u);if(!f||!f.includes("$"))return o[0]=0,o[1]=i,o[2]=i,o[3]=u,o[4]=u,o[5]=u,o;if(f==="$"){const p=n.length;return o[0]=2,o[1]=i,o[2]=i,o[3]=p,o[4]=p,o[5]=p,o}if(f.charCodeAt(0)===36)return o[0]=1,o[1]=i,o[2]=i+1,o[3]=u,o[4]=u,o[5]=u,o;const d=qg(f);if(d){const[p,g]=d,y=f.charCodeAt(p+1);if(y===45){if(p+2<f.length&&f.charCodeAt(p+2)===36){const v=p+3,h=g;if(v<h)return o[0]=3,o[1]=i+p,o[2]=i+v,o[3]=i+h,o[4]=i+g+1,o[5]=u,o}}else if(y===36){const v=p+1,h=p+2;return h===g?(o[0]=2,o[1]=i+p,o[2]=i+v,o[3]=i+h,o[4]=i+g+1,o[5]=n.length,o):(o[0]=1,o[1]=i+p,o[2]=i+h,o[3]=i+g,o[4]=i+g+1,o[5]=u,o)}}return o[0]=0,o[1]=i,o[2]=i,o[3]=u,o[4]=u,o[5]=u,o}function As(n,i,o,a,u,f,d){d?.(o);let p=a;{const g=o.fullPath??o.from,y=g.length,v=o.options?.caseSensitive??n,h=o.options?.params?.parse??o.options?.parseParams;for(;p<y;){const _=cp(g,p,i);let E;const A=p,x=_[5];switch(p=x+1,f++,_[0]){case 0:{const C=g.substring(_[2],_[3]);if(v){const N=u.static?.get(C);if(N)E=N;else{u.static??=new Map;const z=or(o.fullPath??o.from);z.parent=u,z.depth=f,E=z,u.static.set(C,z)}}else{const N=C.toLowerCase(),z=u.staticInsensitive?.get(N);if(z)E=z;else{u.staticInsensitive??=new Map;const F=or(o.fullPath??o.from);F.parent=u,F.depth=f,E=F,u.staticInsensitive.set(N,F)}}break}case 1:{const C=g.substring(A,_[1]),N=g.substring(_[4],x),z=v&&!!(C||N),F=C?z?C:C.toLowerCase():void 0,U=N?z?N:N.toLowerCase():void 0,H=!h&&u.dynamic?.find(B=>!B.parse&&B.caseSensitive===z&&B.prefix===F&&B.suffix===U);if(H)E=H;else{const B=Ml(1,o.fullPath??o.from,z,F,U);E=B,B.depth=f,B.parent=u,u.dynamic??=[],u.dynamic.push(B)}break}case 3:{const C=g.substring(A,_[1]),N=g.substring(_[4],x),z=v&&!!(C||N),F=C?z?C:C.toLowerCase():void 0,U=N?z?N:N.toLowerCase():void 0,H=!h&&u.optional?.find(B=>!B.parse&&B.caseSensitive===z&&B.prefix===F&&B.suffix===U);if(H)E=H;else{const B=Ml(3,o.fullPath??o.from,z,F,U);
9E=B,B.parent=u,B.depth=f,u.optional??=[],u.optional.push(B)}break}case 2:{const C=g.substring(A,_[1]),N=g.substring(_[4],x),z=v&&!!(C||N),F=C?z?C:C.toLowerCase():void 0,U=N?z?N:N.toLowerCase():void 0,H=Ml(2,o.fullPath??o.from,z,F,U);E=H,H.parent=u,H.depth=f,u.wildcard??=[],u.wildcard.push(H)}}u=E}if(h&&o.children&&!o.isRoot&&o.id&&o.id.charCodeAt(o.id.lastIndexOf("/")+1)===95){const _=or(o.fullPath??o.from);_.kind=up,_.parent=u,f++,_.depth=f,u.pathless??=[],u.pathless.push(_),u=_}const w=(o.path||!o.children)&&!o.isRoot;if(w&&g.endsWith("/")){const _=or(o.fullPath??o.from);_.kind=On,_.parent=u,f++,_.depth=f,u.index=_,u=_}u.parse=h??null,u.priority=o.options?.params?.priority??0,w&&!u.route&&(u.route=o,u.fullPath=o.fullPath??o.from)}if(o.children)for(const g of o.children)As(n,i,g,p,u,f,d)}function Al(n,i){if(n.parse&&!i.parse)return-1;if(!n.parse&&i.parse)return 1;if(n.parse&&i.parse&&(n.priority||i.priority))return i.priority-n.priority;if(n.prefix&&i.prefix&&n.prefix!==i.prefix){if(n.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(n.prefix))return 1}if(n.suffix&&i.suffix&&n.suffix!==i.suffix){if(n.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(n.suffix))return 1}return n.prefix&&!i.prefix?-1:!n.prefix&&i.prefix?1:n.suffix&&!i.suffix?-1:!n.suffix&&i.suffix?1:n.caseSensitive&&!i.caseSensitive?-1:!n.caseSensitive&&i.caseSensitive?1:0}function An(n){if(n.pathless)for(const i of n.pathless)An(i);if(n.static)for(const i of n.static.values())An(i);if(n.staticInsensitive)for(const i of n.staticInsensitive.values())An(i);if(n.dynamic?.length){n.dynamic.sort(Al);for(const i of n.dynamic)An(i)}if(n.optional?.length){n.optional.sort(Al);for(const i of n.optional)An(i)}if(n.wildcard?.length){n.wildcard.sort(Al);for(const i of n.wildcard)An(i)}}function or(n){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:n,parent:null,parse:null,priority:0}}function Ml(n,i,o,a,u){return{kind:n,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,priority:0,caseSensitive:o,prefix:a,suffix:u}}function Jg(n,i){const o=or("/"),a=new Uint16Array(6);for(const u of n)As(!1,a,u,1,o,0);An(o),i.masksTree=o,i.flatCache=Go(1e3)}function Zg(n,i){n||="/";const o=i.flatCache.get(n);if(o)return o;const a=ou(n,i.masksTree);return i.flatCache.set(n,a),a}function ey(n,i,o,a,u){n||="/",a||="/";const f=i?`case\0${n}`:n;let d=u.singleCache.get(f);return d||(d=or("/"),As(i,new Uint16Array(6),{from:n},1,d,0),u.singleCache.set(f,d)),ou(a,d,o)}function ty(n,i,o=!1){const a=o?n:`nofuzz\0${n}`,u=i.matchCache.get(a);if(u!==void 0)return u;n||="/";let f;try{f=ou(n,i.segmentTree,o)}catch(d){if(d instanceof URIError)f=null;else throw d}return f&&(f.branch=dp(f.route)),i.matchCache.set(a,f),f}function ny(n){return n==="/"?n:n.replace(/\/{1,}$/,"")}function ry(n,i=!1,o){const a=or(n.fullPath),u=new Uint16Array(6),f={},d={};let p=0;return As(i,u,n,1,a,0,g=>{if(o?.(g,p),g.id in f&&vt(),f[g.id]=g,p!==0&&g.path){const y=ny(g.fullPath);(!d[y]||g.fullPath.endsWith("/"))&&(d[y]=g)}p++}),An(a),{processedTree:{segmentTree:a,singleCache:Go(1e3),matchCache:Go(1e3),flatCache:null,masksTree:null},routesById:f,routesByPath:d}}function ou(n,i,o=!1){const a=n.split("/"),u=iy(n,a,i,o);if(!u)return null;const[f]=fp(n,a,u);return{route:u.node.route,rawParams:f}}function fp(n,i,o){const a=oy(o.node);let u=null;const f=Object.create(null);let d=o.extract?.part??0,p=o.extract?.node??0,g=o.extract?.path??0,y=o.extract?.segment??0;for(;p<a.length;d++,p++,g++,y++){const v=a[p];if(v.kind===On)break;if(v.kind===up){y--,d--,g--;continue}const h=i[d],w=g;if(h&&(g+=h.length),v.kind===1){u??=o.node.fullPath.split("/");const _=u[y],E=v.prefix?.length??0;if(_.charCodeAt(E)===123){const A=v.suffix?.length??0,x=_.substring(E+2,_.length-A-1),C=h.substring(E,h.length-A);f[x]=decodeURIComponent(C)}else{const A=_.substring(1);f[A]=decodeURIComponent(h)}}else if(v.kind===3){if(o.skipped&1<<p){d--,g=w-1;continue}u??=o.node.fullPath.split("/");const _=u[y],E=v.prefix?.length??0,A=v.suffix?.length??0,x=_.substring(E+3,_.length-A-1),C=v.suffix||v.prefix?h.substring(E,h.length-A):h;C&&(f[x]=decodeURIComponent(C))}else if(v.kind===2){const _=v,E=n.substring(w+(_.prefix?.length??0),n.length-(_.suffix?.length??0)),A=decodeURIComponent(E);f["*"]=A,f._splat=A;break}}return o.rawParams&&Object.assign(f,o.rawParams),[f,{part:d,node:p,path:g,segment:y}]}function dp(n){const i=[n];for(;n.parentRoute;)n=n.parentRoute,i.push(n);return i.reverse(),i}function oy(n){const i=Array(n.depth+1);do i[n.depth]=n,n=n.parent;while(n);return i}function iy(n,i,o,a){if(n==="/"&&o.index)return{node:o.index,skipped:0};const u=!Ko(i),f=u&&n!=="/",d=i.length-(u?1:0),p=[{node:o,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let g=null,y=null;for(;p.length;){const v=p.pop(),{node:h,index:w,skipped:_,depth:E,statics:A,dynamics:x,optionals:C}=v;let{extract:N,rawParams:z}=v;if(h.kind===2&&h.route&&!ds(y,v))continue;if(h.parse){if(!yd(n,i,v))continue;z=v.rawParams,N=v.extract}a&&h.route&&h.kind!==On&&ds(g,v)&&(g=v);const F=w===d;if(F&&(h.route&&(!f||h.kind===On||h.kind===2)&&ds(y,v)&&(y=v),!h.optional&&!h.wildcard&&!h.index&&!h.pathless))continue;const U=F?void 0:i[w];let H;if(F&&h.index){const B={node:h.index,index:w,skipped:_,depth:E+1,statics:A,dynamics:x,optionals:C,extract:N,rawParams:z};let b=!0;if(h.index.parse&&(yd(n,i,B)||(b=!1)),b){if(!x&&!C&&!_&&sy(A,d))return B;ds(y,B)&&(y=B)}}if(h.wildcard)for(let B=h.wildcard.length-1;B>=0;B--){const b=h.wildcard[B],{prefix:Y,suffix:ie}=b;if(!(Y&&(F||!(b.caseSensitive?U:H??=U.toLowerCase()).startsWith(Y)))){if(ie){if(F)continue;const se=i.slice(w).join("/").slice(-ie.length);if((b.caseSensitive?se:se.toLowerCase())!==ie)continue}p.push({node:b,index:d,skipped:_,depth:E+1,statics:A,dynamics:x,optionals:C,extract:N,rawParams:z})}}if(h.optional){const B=_|1<<E,b=E+1;for(let Y=h.optional.length-1;Y>=0;Y--){const ie=h.optional[Y];p.push({node:ie,index:w,skipped:B,depth:b,statics:A,dynamics:x,optionals:C,extract:N,rawParams:z})}if(!F)for(let Y=h.optional.length-1;Y>=0;Y--){const ie=h.optional[Y],{prefix:se,suffix:ae}=ie;if(se||ae){const Oe=ie.caseSensitive?U:H??=U.toLowerCase();if(se&&!Oe.startsWith(se)||ae&&!Oe.endsWith(ae))continue}p.push({node:ie,index:w+1,skipped:_,depth:b,statics:A,dynamics:x,optionals:C+fs(d,w),extract:N,rawParams:z})}}if(!F&&h.dynamic&&U)for(let B=h.dynamic.length-1;B>=0;B--){const b=h.dynamic[B],{prefix:Y,suffix:ie}=b;if(Y||ie){const se=b.caseSensitive?U:H??=U.toLowerCase();if(Y&&!se.startsWith(Y)||ie&&!se.endsWith(ie))continue}p.push({node:b,index:w+1,skipped:_,depth:E+1,statics:A,dynamics:x+fs(d,w),optionals:C,extract:N,rawParams:z})}if(!F&&h.staticInsensitive){const B=h.staticInsensitive.get(H??=U.toLowerCase());B&&p.push({node:B,index:w+1,skipped:_,depth:E+1,statics:A+fs(d,w),dynamics:x,optionals:C,extract:N,rawParams:z})}if(!F&&h.static){const B=h.static.get(U);B&&p.push({node:B,index:w+1,skipped:_,depth:E+1,statics:A+fs(d,w),dynamics:x,optionals:C,extract:N,rawParams:z})}if(h.pathless){const B=E+1;for(let b=h.pathless.length-1;b>=0;b--){const Y=h.pathless[b];p.push({node:Y,index:w,skipped:_,depth:B,statics:A,dynamics:x,optionals:C,extract:N,rawParams:z})}}}if(y)return y;if(a&&g){let v=g.index;for(let w=0;w<g.index;w++)v+=i[w].length;const h=v===n.length?"/":n.slice(v);return g.rawParams??=Object.create(null),g.rawParams["**"]=decodeURIComponent(h),g}return null}function fs(n,i){return 2**(n-i-1)}function sy(n,i){return n===2**(i-1)-1}function yd(n,i,o){let a,u;try{[a,u]=fp(n,i,o)}catch{return null}if(o.rawParams=a,o.extract=u,!o.node.parse)return!0;try{if(o.node.parse(a)===!1)return null}catch{}return!0}function ds(n,i){return n?i.statics>n.statics||i.statics===n.statics&&(i.dynamics>n.dynamics||i.dynamics===n.dynamics&&(i.optionals>n.optionals||i.optionals===n.optionals&&((i.node.kind===On)>(n.node.kind===On)||i.node.kind===On==(n.node.kind===On)&&i.depth>
9n.depth))):!0}function ys(n){return iu(n.filter(i=>i!==void 0).join("/"))}function iu(n){return n.replace(/\/{2,}/g,"/")}function pp(n){return n==="/"?n:n.replace(/^\/{1,}/,"")}function sn(n){const i=n.length;return i>1&&n[i-1]==="/"?n.replace(/\/{1,}$/,""):n}function hp(n){return sn(pp(n))}function Ps(n,i){return n?.endsWith("/")&&n!=="/"&&n!==`${i}/`?n.slice(0,-1):n}function ay(n,i,o){return Ps(n,o)===Ps(i,o)}function ly({base:n,to:i,trailingSlash:o="never",cache:a}){const u=i.startsWith("/"),f=!u&&i===".";let d;if(a){d=u?i:f?n:n+"\0"+i;const y=a.get(d);if(y)return y}let p;if(f)p=n.split("/");else if(u)p=i.split("/");else{for(p=n.split("/");p.length>1&&Ko(p)==="";)p.pop();const y=i.split("/");for(let v=0,h=y.length;v<h;v++){const w=y[v];w===""?v?v===h-1&&p.push(w):p=[w]:w===".."?p.pop():w==="."||p.push(w)}}p.length>1&&(Ko(p)===""?o==="never"&&p.pop():o==="always"&&p.push(""));const g=iu(p.join("/"))||"/";return d&&a&&a.set(d,g),g}function uy(n){const i=new Map(n.map(u=>[encodeURIComponent(u),u])),o=Array.from(i.keys()).map(u=>u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),a=new RegExp(o,"g");return u=>u.replace(a,f=>i.get(f)??f)}function Ol(n,i,o){const a=i[n];return typeof a!="string"?a:n==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(a)?a:a.split("/").map(u=>wd(u,o)).join("/"):wd(a,o)}function vd({path:n,params:i,decoder:o,...a}
9){let u=!1;const f=Object.create(null);if(!n||n==="/")return{interpolatedPath:"/",usedParams:f,isMissingParams:u};if(!n.includes("$"))return{interpolatedPath:n,usedParams:f,isMissingParams:u};const d=n.length;let p=0,g,y="";for(;p<d;){const v=p;g=cp(n,v,g);const h=g[5];if(p=h+1,v===h)continue;const w=g[0];if(w===0){y+="/"+n.substring(v,h);continue}if(w===2){const _=i._splat;f._splat=_,f["*"]=_;const E=n.substring(v,g[1]),A=n.substring(g[4],h);if(!_){u=!0,(E||A)&&(y+="/"+E+A);continue}const x=Ol("_splat",i,o);y+="/"+E+x+A;continue}if(w===1){const _=n.substring(g[2],g[3]);!u&&!(_ in i)&&(u=!0),f[_]=i[_];const E=n.substring(v,g[1]),A=n.substring(g[4],h),x=Ol(_,i,o)??"undefined";y+="/"+E+x+A;continue}if(w===3){const _=n.substring(g[2],g[3]),E=i[_];if(E==null)continue;f[_]=E;const A=n.substring(v,g[1]),x=n.substring(g[4],h),C=Ol(_,i,o)??"";y+="/"+A+C+x;continue}}return n.endsWith("/")&&(y+="/"),{usedParams:f,interpolatedPath:y||"/",isMissingParams:u}}function wd(n,i){const o=encodeURIComponent(n);return i?.(o)??o}function cy(n={}){if(n.isNotFound=!0,n.throw)throw n;return n}function Je(n){return n?.isNotFound===!0}function fy(){try{return sessionStorage}catch{return}}const dy="tsr-scroll-restoration-v1_3",mp=fy();function py(){try{return JSON.parse(mp?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function hy(){try{mp?.setItem(dy,JSON.stringify(Vr))}catch{}}const Vr=py(),Sd="data-scroll-restoration-id",my=n=>n.state.__TSR_key||n.href;function gy(n){const i=n.getAttribute(Sd);if(i)return`[${Sd}="${i}"]`;let o="",a=n,u;for(;u=a.parentNode;){let f=1,d=a;for(;d=d.previousElementSibling;)f++;const p=`${a.localName}:nth-child(${f})`;o=o?`${p} > ${o}`:p,a=u}return o}let ps=!1;const vs="window";function Ql(n){try{return typeof n=="function"?n():document.querySelector(n)}catch{}}function _d(n){const i=new Set;for(const o of n){if(o===vs)continue;const a=Ql(o);a&&i.add(a)}return i}function yy(n,i){const o=n.options.scrollRestoration,a=n._scroll;o&&(a.restoring=!0);const u=n.options.getScrollRestorationKey||my,f=new Set,d=p=>{const g=Vr[p]||={};for(const y of f)y===document?g[vs]={scrollX,scrollY}:y.isConnected&&(g[gy(y)]={scrollX:y.scrollLeft,scrollY:y.scrollTop})};o&&!a.restoration&&(a.restoration=!0,ps=!1,history.scrollRestoration="manual",document.addEventListener("scroll",p=>{ps||f.add(p.target)},!0),n.subscribe("onBeforeLoad",p=>{p.fromLocation&&d(u(p.fromLocation)),f.clear()}),addEventListener("pagehide",()=>{d(u(n.stores.resolvedLocation.get()??n.stores.location.get())),hy()})),!a.reset&&(a.reset=!0,n.subscribe("onRendered",p=>{const g=n.options.scrollRestorationBehavior,y=n.options.scrollToTopSelectors,v=a.next,h=a.hash;let w;if(f.clear(),a.next=!0,a.hash=!1,typeof n.options.scrollRestoration=="function"&&!n.options.scrollRestoration({location:n.latestLocation}))return;const _=u(p.toLocation),E=p.fromLocation&&u(p.fromLocation);if(a.restoring&&E&&E!==_){const A=Vr[E];if(A){let x=Vr[_];for(const C in A){if(C===vs){if(v)continue}else{const N=Ql(C);if(!N||v&&y&&(w??=_d(y),w.has(N)))continue}x||(x=Vr[_]={}),x[C]??=A[C]}}}ps=!0;try{const A=p.toLocation.hash,x=p.toLocation.state.__hashScrollIntoViewOptions??!0;let C=!1;if(v){!A&&y&&(w??=_d(y));const N=A&&x&&h,z=a.restoring?Vr[_]:void 0;if(z)for(const F in z){const{scrollX:U,scrollY:H}=z[F];if(F===vs){if(N)continue;scrollTo({top:H,left:U,behavior:g}),C=!0}else{const B=Ql(F);B&&(B.scrollLeft=U,B.scrollTop=H,w?.delete(B))}}if(!A){const F={top:0,left:0,behavior:g};if(C||scrollTo(F),w)for(const U of w)U.scrollTo(F)}}!C&&A&&x&&document.getElementById(A)?.scrollIntoView(x)}finally{ps=!1}}))}function gp(n,i=String){const o=new URLSearchParams;for(const a in n){const u=n[a];u!==void 0&&o.set(a,i(u))}return o.toString()}function Nl(n){return n?n==="false"?!1:n==="true"?!0:+n*0===0&&+n+""===n?+n:n:""}function vy(n){const i=new URLSearchParams(n),o=Object.create(null);for(const[a,u]of i.entries()){const f=o[a];f==null?o[a]=Nl(u):Array.isArray(f)?f.push(Nl(u)):o[a]=[f,Nl(u)]}return o}const wy=_y(JSON.parse),Sy=Ry(JSON.stringify,JSON.parse);function _y(n){return i=>{i[0]==="?"&&(i=i.substring(1));const o=vy(i);for(const a in o){const u=o[a];if(typeof u=="string")try{o[a]=n(u)}catch{}}return o}}function Ry(n,i){const o=typeof i=="function";function a(u){if(typeof u=="object"&&u!==null)try{return n(u)}catch{}else if(o&&typeof u=="string")try{return i(u),n(u)}catch{}return u}return u=>{const f=gp(u,a);return f?`?${f}`:""}}const sr="__root__";function ur(n){if(n.statusCode=n.statusCode||n.code||307,!n._builtLocation&&!n.reloadDocument&&typeof n.href=="string")try{new URL(n.href),n.reloadDocument=!0}catch{}const i=new Headers(n.headers);n.href&&i.get("Location")===null&&i.set("Location",n.href);const o=new Response(null,{status:n.statusCode,headers:i});if(o.options=n,n.throw)throw o;return o}function ft(n){return n instanceof Response&&!!n.options}function yp(n){if(n!==null&&typeof n=="object"&&n.isSerializedRedirect)return ur(n)}function xy(n){return{input:({url:i})=>{for(const o of n)i=Gl(o,i);return i},output:({url:i})=>{for(let o=n.length-1;o>=0;o--)i=vp(n[o],i);return i}}}function ky(n){const i=hp(n.basepath),o=`/${i}`,a=n.caseSensitive?o:o.toLowerCase(),u=`${a}/`;return{input:({url:f})=>{const d=n.caseSensitive?f.pathname:f.pathname.toLowerCase();return d===a?f.pathname="/":d.startsWith(u)&&(f.pathname=f.pathname.slice(o.length)),f},output:({url:f})=>(f.pathname=ys(["/",i,f.pathname]),f)}}function Gl(n,i){const o=n?.input?.({url:i});
9if(o){if(typeof o=="string")return new URL(o);if(o instanceof URL)return o}return i}function vp(n,i){const o=n?.output?.({url:i});if(o){if(typeof o=="string")return new URL(o);if(o instanceof URL)return o}return i}function Py(n,i){const{createMutableStore:o,createReadonlyStore:a,batch:u,init:f}=i,d=new Map,p=new Map,g=new Map,y=o(n.status),v=o(n.loadedAt),h=o(n.isLoading),w=o(n.isTransitioning),_=o(n.location),E=o(n.resolvedLocation),A=o(n.statusCode),x=o(n.redirect),C=o([]),N=o([]),z=o([]),F=a(()=>Fl(d,C.get())),U=a(()=>Fl(p,N.get())),H=a(()=>Fl(g,z.get())),B=a(()=>C.get()[0]),b=a(()=>C.get().some(ye=>d.get(ye)?.get().status==="pending")),Y=a(()=>({locationHref:_.get().href,resolvedLocationHref:E.get()?.href,status:y.get()})),ie=a(()=>({status:y.get(),loadedAt:v.get(),isLoading:h.get(),isTransitioning:w.get(),matches:F.get(),location:_.get(),resolvedLocation:E.get(),statusCode:A.get(),redirect:x.get()})),se=Go(64);function ae(ye){let Q=se.get(ye);return Q||(Q=a(()=>{const ne=C.get();for(const X of ne){const I=d.get(X);if(I&&I.routeId===ye)return I.get()}}),se.set(ye,Q)),Q}const Oe={status:y,loadedAt:v,isLoading:h,isTransitioning:w,location:_,resolvedLocation:E,statusCode:A,redirect:x,matchesId:C,pendingIds:N,cachedIds:z,matches:F,pendingMatches:U,cachedMatches:H,firstId:B,hasPending:b,matchRouteDeps:Y,matchStores:d,pendingMatchStores:p,cachedMatchStores:g,__store:ie,getRouteMatchStore:ae,setMatches:Le,setPending:Ve,setCached:We};Le(n.matches),f?.(Oe);function Le(ye){zl(ye,d,C,o,u)}function Ve(ye){zl(ye,p,N,o,u)}function We(ye){zl(ye,g,z,o,u)}return Oe}function Fl(n,i){const o=[];for(const a of i){const u=n.get(a);u&&o.push(u.get())}return o}function zl(n,i,o,a,u){const f=n.map(p=>p.id),d=new Set(f);u(()=>{for(const p of i.keys())d.has(p)||i.delete(p);for(const p of n){const g=i.get(p.id);if(!g){const y=a(p);y.routeId=p.routeId,i.set(p.id,y);continue}g.routeId=p.routeId,g.get()!==p&&g.set(p)}Xg(o.get(),f)||o.set(f)})}const Yl=n=>{if(!n.rendered)return n.rendered=!0,n.onReady?.()},Ey=n=>n.stores.matchesId.get().some(i=>n.stores.matchStores.get(i)?.get()._forcePending),Ms=(n,i)=>!!(n.preload&&!n.router.stores.matchStores.has(i)),ar=(n,i,o=!0)=>{const a={...n.router.options.context??{}},u=o?i:i-1;for(let f=0;f<=u;f++){const d=n.matches[f];if(!d)continue;const p=n.router.getMatch(d.id);p&&Object.assign(a,p.__routeContext,p.__beforeLoadContext)}return a},Rd=(n,i)=>{if(!n.matches.length)return;const o=i.routeId,a=n.matches.findIndex(d=>d.routeId===n.router.routeTree.id),u=a>=0?a:0;let f=o?n.matches.findIndex(d=>d.routeId===o):n.firstBadMatchIndex??n.matches.length-1;f<0&&(f=u);for(let d=f;d>=0;d--){const p=n.matches[d];if(n.router.looseRoutesById[p.routeId].options.notFoundComponent)return d}return o?f:u},Nn=(n,i,o)=>{if(!(!ft(o)&&!Je(o)))throw ft(o)&&o.redirectHandled&&!o.options.reloadDocument||(i&&(i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.loaderPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=o,n.updateMatch(i.id,a=>({...a,status:ft(o)?"redirected":Je(o)?"notFound":a.status==="pending"?"success":a.status,context:ar(n,i.index),isFetching:!1,error:o})),Je(o)&&!o.routeId&&(o.routeId=i.routeId),i._nonReactive.loadPromise?.resolve()),ft(o)&&(n.rendered=!0,o.options._fromLocation=n.location,o.redirectHandled=!0,o=n.router.resolveRedirect(o))),o},wp=(n,i)=>{const o=n.router.getMatch(i);return!!(!o||o._nonReactive.dehydrated)},xd=(n,i,o)=>{const a=ar(n,o);n.updateMatch(i,u=>({...u,context:a}))},$o=(n,i,o)=>{const{id:a,routeId:u}=n.matches[i],f=n.router.looseRoutesById[u];if(o instanceof Promise)throw o;n.firstBadMatchIndex??=i,Nn(n,n.router.getMatch(a),o);try{f.options.onError?.(o)}catch(d){o=d,Nn(n,n.router.getMatch(a),o)}n.updateMatch(a,d=>(d._nonReactive.beforeLoadPromise?.resolve(),d._nonReactive.beforeLoadPromise=void 0,d._nonReactive.loadPromise?.resolve(),{...d,error:o,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!n.preload&&!ft(o)&&!Je(o)&&(n.serialError??=o)},Sp=(n,i,o,a)=>{if(a._nonReactive.pendingTimeout!==void 0)return;const u=o.options.pendingMs??n.router.options.defaultPendingMs;if(n.onReady&&!Ms(n,i)&&(o.options.loader||o.options.beforeLoad||Rp(o))&&typeof u=="number"&&u!==1/0&&(o.options.pendingComponent??n.router.options?.defaultPendingComponent)){const f=setTimeout(()=>{Yl(n)},u);
9a._nonReactive.pendingTimeout=f}},Cy=(n,i,o)=>{const a=n.router.getMatch(i);if(!a._nonReactive.beforeLoadPromise&&!a._nonReactive.loaderPromise)return;Sp(n,i,o,a);const u=()=>{const f=n.router.getMatch(i);f.preload&&(f.status==="redirected"||f.status==="notFound")&&Nn(n,f,f.error)};return a._nonReactive.beforeLoadPromise?a._nonReactive.beforeLoadPromise.then(u):u()},Iy=(n,i,o,a)=>{const u=n.router.getMatch(i);let f=u._nonReactive.loadPromise;u._nonReactive.loadPromise=lr(()=>{f?.resolve(),f=void 0});const{paramsError:d,searchError:p}=u;d&&$o(n,o,d),p&&$o(n,o,p),Sp(n,i,a,u);const g=new AbortController;let y=!1;const v=()=>{y||(y=!0,n.updateMatch(i,F=>({...F,isFetching:"beforeLoad",fetchCount:F.fetchCount+1,abortController:g})))},h=()=>{u._nonReactive.beforeLoadPromise?.resolve(),u._nonReactive.beforeLoadPromise=void 0,n.updateMatch(i,F=>({...F,isFetching:!1}))};if(!a.options.beforeLoad){n.router.batch(()=>{v(),h()});return}u._nonReactive.beforeLoadPromise=lr();const w={...ar(n,o,!1),...u.__routeContext},{search:_,params:E,cause:A}=u,x=Ms(n,i),C={search:_,abortController:g,params:E,preload:x,context:w,location:n.location,navigate:F=>n.router.navigate({...F,_fromLocation:n.location}),buildLocation:n.router.buildLocation,cause:x?"preload":A,matches:n.matches,routeId:a.id,...n.router.options.additionalContext},N=F=>{if(F===void 0){n.router.batch(()=>{v(),h()});return}(ft(F)||Je(F))&&(v(),$o(n,o,F)),n.router.batch(()=>{v(),n.updateMatch(i,U=>({...U,__beforeLoadContext:F})),h()})};let z;try{if(z=a.options.beforeLoad(C),Qo(z))return v(),z.catch(F=>{$o(n,o,F)}).then(N)}catch(F){v(),$o(n,o,F)}N(z)},Ly=(n,i)=>{const{id:o,routeId:a}=n.matches[i],u=n.router.looseRoutesById[a],f=()=>p(),d=()=>Iy(n,o,i,u),p=()=>{if(wp(n,o))return;const g=Cy(n,o,u);return Qo(g)?g.then(d):d()};return f()},Ty=(n,i,o)=>{const a=n.router.getMatch(i);if(!a||!o.options.head&&!o.options.scripts&&!o.options.headers)return;const u={ssr:n.router.options.ssr,matches:n.matches,match:a,params:a.params,loaderData:a.loaderData};return Promise.all([o.options.head?.(u),o.options.scripts?.(u),o.options.headers?.(u)]).then(([f,d,p])=>({meta:f?.meta,links:f?.links,headScripts:f?.scripts,headers:p,scripts:d,styles:f?.styles}))},_p=(n,i,o,a,u)=>{const f=i[a-1],{params:d,loaderDeps:p,abortController:g,cause:y}=n.router.getMatch(o),v=ar(n,a),h=Ms(n,o);return{params:d,deps:p,preload:!!h,parentMatchPromise:f,abortController:g,context:v,location:n.location,navigate:w=>n.router.navigate({...w,_fromLocation:n.location}),cause:h?"preload":y,route:u,...n.router.options.additionalContext}},kd=async(n,i,o,a,u)=>{try{const f=n.router.getMatch(o);try{(!(sp??n.router.isServer)||f.ssr===!0)&&Yo(u);const d=u.options.loader,p=typeof d=="function"?d:d?.handler,g=p?.(_p(n,i,o,a,u)),y=!!p&&Qo(g);if((y||u._lazyPromise||u._componentsPromise||u.options.head||u.options.scripts||u.options.headers||f._nonReactive.minPendingPromise)&&n.updateMatch(o,h=>({...h,isFetching:"loader"})),p){const h=y?await g:g;Nn(n,n.router.getMatch(o),h),h!==void 0&&n.updateMatch(o,w=>({...w,loaderData:h}))}u._lazyPromise&&await u._lazyPromise;const v=f._nonReactive.minPendingPromise;v&&await v,u._componentsPromise&&await u._componentsPromise,n.updateMatch(o,h=>({...h,error:void 0,context:ar(n,a),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(d){let p=d;if(p?.name==="AbortError"){if(f.abortController.signal.aborted){f._nonReactive.loaderPromise?.resolve(),f._nonReactive.loaderPromise=void 0;return}n.updateMatch(o,y=>({...y,status:y.status==="pending"?"success":y.status,isFetching:!1,context:ar(n,a)}));return}const g=f._nonReactive.minPendingPromise;g&&await g,Je(d)&&await u.options.notFoundComponent?.preload?.(),Nn(n,n.router.getMatch(o),d);try{u.options.onError?.(d)}catch(y){p=y,Nn(n,n.router.getMatch(o),y)}!ft(p)&&!Je(p)&&await Yo(u,["errorComponent"]),n.updateMatch(o,y=>({...y,error:p,context:ar(n,a),status:"error",isFetching:!1}))}}catch(f){const d=n.router.getMatch(o);d&&(d._nonReactive.loaderPromise=void 0),Nn(n,d,f)}},Ay=async(n,i,o)=>{async function a(_,E,A,x,C){const N=Date.now()-E.updatedAt,z=_?C.options.preloadStaleTime??n.router.options.defaultPreloadStaleTime??3e4:C.options.staleTime??n.router.options.defaultStaleTime??0,F=C.options.shouldReload,U=typeof F=="function"?F(_p(n,i,u,o,C)):F,{status:H,invalid:B}=x,b=N>=z&&(!!n.forceStaleReload||x.cause==="enter"||A!==void 0&&A!==x.id);d=H==="success"&&(B||(U??b)),_&&C.options.preload===!1||(d&&!n.sync&&v?(p=!0,(async()=>{try{await kd(n,i,u,o,C);const Y=n.router.getMatch(u);Y._nonReactive.loaderPromise?.resolve(),Y._nonReactive.loadPromise?.resolve(),Y._nonReactive.loaderPromise=void 0,Y._nonReactive.loadPromise=void 0}catch(Y){ft(Y)&&await n.router.navigate(Y.options)}})()):H!=="success"||d?await kd(n,i,u,o,C):xd(n,u,o))}const{id:u,routeId:f}=n.matches[o];let d=!1,p=!1;const g=n.router.looseRoutesById[f],y=g.options.loader,v=((typeof y=="function"?void 0:y?.staleReloadMode)??n.router.options.defaultStaleReloadMode)!=="blocking";if(wp(n,u)){if(!n.router.getMatch(u))return n.matches[o];xd(n,u,o)}else{const _=n.router.getMatch(u),E=n.router.stores.matchesId.get()[o],A=(E&&n.router.stores.matchStores.get(E)||null)?.routeId===f?E:n.router.stores.matches.get().find(C=>C.routeId===f)?.id,x=Ms(n,u);if(_._nonReactive.loaderPromise){if(_.status==="success"&&!n.sync&&!_.preload&&v)return _;await _._nonReactive.loaderPromise;const C=n.router.getMatch(u),N=C._nonReactive.error||C.error;N&&Nn(n,C,N),C.status==="pending"&&await a(x,_,A,C,g)}else{const C=x&&!n.router.stores.matchStores.has(u),N=n.router.getMatch(u);N._nonReactive.loaderPromise=lr(),C!==N.preload&&n.updateMatch(u,z=>({...z,preload:C})),await a(x,_,A,N,g)}}const h=n.router.getMatch(u);p||(h._nonReactive.loaderPromise?.resolve(),h._nonReactive.loadPromise?.resolve(),h._nonReactive.loadPromise=void 0),clearTimeout(h._nonReactive.pen
9dingTimeout),h._nonReactive.pendingTimeout=void 0,p||(h._nonReactive.loaderPromise=void 0),h._nonReactive.dehydrated=void 0;const w=p?h.isFetching:!1;return w!==h.isFetching||h.invalid!==!1?(n.updateMatch(u,_=>({..._,isFetching:w,invalid:!1})),n.router.getMatch(u)):h};async function Pd(n){const i=n,o=[];Ey(i.router)&&Yl(i);let a;for(let w=0;w<i.matches.length;w++){try{const _=Ly(i,w);Qo(_)&&await _}catch(_){if(ft(_))throw _;if(Je(_))a=_;else if(!i.preload)throw _;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const u=i.firstBadMatchIndex??i.matches.length,f=a&&!i.preload?Rd(i,a):void 0,d=a&&i.preload?0:f!==void 0?Math.min(f+1,u):u;let p,g;for(let w=0;w<d;w++)o.push(Ay(i,o,w));try{await Promise.all(o)}catch{const w=await Promise.allSettled(o);for(const _ of w){if(_.status!=="rejected")continue;const E=_.reason;if(ft(E))throw E;Je(E)?p??=E:g??=E}if(g!==void 0)throw g}const y=p??(a&&!i.preload?a:void 0);let v=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!y&&a&&i.preload)return i.matches;if(y){const w=Rd(i,y);w===void 0&&vt();const _=i.matches[w],E=i.router.looseRoutesById[_.routeId],A=i.router.options?.defaultNotFoundComponent;!E.options.notFoundComponent&&A&&(E.options.notFoundComponent=A),y.routeId=_.routeId;const x=_.routeId===i.router.routeTree.id;i.updateMatch(_.id,C=>({...C,...x?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:y},isFetching:!1})),v=w,await Yo(E,["notFoundComponent"])}else if(!i.preload){const w=i.matches[0];w.globalNotFound||i.router.getMatch(w.id)?.globalNotFound&&i.updateMatch(w.id,_=>({..._,globalNotFound:!1,error:void 0}))}if(i.serialError&&i.firstBadMatchIndex!==void 0){const w=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Yo(w,["errorComponent"])}for(let w=0;w<=v;w++){const{id:_,routeId:E}=i.matches[w],A=i.router.looseRoutesById[E];try{const x=Ty(i,_,A);if(x){const C=await x;i.updateMatch(_,N=>({...N,...C}))}}catch(x){console.error(`Error executing head for route ${E}:`,x)}}const h=Yl(i);if(Qo(h)&&await h,y)throw y;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function Ed(n,i){const o=i.map(a=>n.options[a]?.preload?.()).filter(Boolean);if(o.length!==0)return Promise.all(o)}function Yo(n,i=ws){!n._lazyLoaded&&n._lazyPromise===void 0&&(n.lazyFn?n._lazyPromise=n.lazyFn().then(a=>{const{id:u,...f}=a.options;Object.assign(n.options,f),n._lazyLoaded=!0,n._lazyPromise=void 0}):n._lazyLoaded=!0);const o=()=>n._componentsLoaded?void 0:i===ws?(()=>{if(n._componentsPromise===void 0){const a=Ed(n,ws);a?n._componentsPromise=a.then(()=>{n._componentsLoaded=!0,n._componentsPromise=void 0}):n._componentsLoaded=!0}return n._componentsPromise})():Ed(n,i);return n._lazyPromise?n._lazyPromise.then(o):o()}function Rp(n){for(const i of ws)if(n.options[i]?.preload)return!0;return!1}const ws=["component","errorComponent","pendingComponent","notFoundComponent"];var Fn="__TSR_index",Cd="popstate",Id="beforeunload";function My(n){let i=n.getLocation();const o=new Set,a=d=>{i=n.getLocation(),o.forEach(p=>p({location:i,action:d}))},u=d=>{n.notifyOnIndexChange??!0?a(d):i=n.getLocation()},f=async({task:d,navigateOpts:p,...g})=>{if(p?.ignoreBlocker??!1){d();return}const y=n.getBlockers?.()??[],v=g.type==="PUSH"||g.type==="REPLACE";if(typeof document<"u"&&y.length&&v)for(const h of y){const w=Es(g.path,g.state);if(await h.blockerFn({currentLocation:i,nextLocation:w,action:g.type})){n.onBlocked?.();return}}d()};return{get location(){return i},get length(){return n.getLength()},subscribers:o,subscribe:d=>(o.add(d),()=>{o.delete(d)}),push:(d,p,g)=>{const y=i.state[Fn];p=Ld(y+1,p),f({task:()=>{n.pushState(d,p),a({type:"PUSH"})},navigateOpts:g,type:"PUSH",path:d,state:p})},replace:(d,p,g)=>{const y=i.state[Fn];p=Ld(y,p),f({task:()=>{n.replaceState(d,p),a({type:"REPLACE"})},navigateOpts:g,type:"REPLACE",path:d,state:p})},go:(d,p)=>{f({task:()=>{n.go(d),u({type:"GO",index:d})},navigateOpts:p,type:"GO"})},back:d=>{f({task:()=>{n.back(d?.ignoreBlocker??!1),u({type:"BACK"})},navigateOpts:d,type:"BACK"})},forward:d=>{f({task:()=>{n.forward(d?.ignoreBlocker??!1),u({type:"FORWARD"})},navigateOpts:d,type:"FORWARD"})},canGoBack:()=>i.state[Fn]!==0,createHref:d=>n.createHref(d),block:d=>{if(!n.setBlockers)return()=>{};const p=n.getBlockers?.()??[];return n.setBlockers([...p,d]),()=>{const g=n.getBlockers?.()??[];n.setBlockers?.(g.filter(y=>y!==d))}},flush:()=>n.flush?.(),destroy:()=>n.destroy?.(),notify:a}}function Ld(n,i){i||(i={});const o=su();return{...i,key:o,__TSR_key:o,[Fn]:n}}function Oy(n){const i=typeof document<"u"?window:void 0,o=i.history.pushState,a=i.history.replaceState;let u=[];const f=()=>u,d=b=>u=b,p=(b=>b),g=(()=>Es(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!i.history.state?.__TSR_key&&!i.history.state?.key){const b=su();i.history.replaceState({[Fn]:0,key:b,__TSR_key:b},"")}let y=g(),v,h=!1,w=!1,_=!1,E=!1;const A=()=>y;let x,C;const N=()=>{x&&(B._ignoreSubscribers=!0,(x.isPush?i.history.pushState:i.history.replaceState)(x.state,"",x.href),B._ignoreSubscribers=!1,x=void 0,C=void 0,v=void 0)},z=(b,Y,ie)=>{const se=p(Y);C||(v=y),y=Es(Y,ie),x={href:se,state:ie,isPush:x?.isPush||b==="push"},C||(C=Promise.resolve().then(()=>N()))},F=b=>{y=g(),B.notify({type:b})},U=async()=>
9{if(w){w=!1;return}const b=g(),Y=b.state[Fn]-y.state[Fn],ie=Y===1,se=Y===-1,ae=!ie&&!se||h;h=!1;const Oe=ae?"GO":se?"BACK":"FORWARD",Le=ae?{type:"GO",index:Y}:{type:se?"BACK":"FORWARD"};if(_)_=!1;else{const Ve=f();if(typeof document<"u"&&Ve.length){for(const We of Ve)if(await We.blockerFn({currentLocation:y,nextLocation:b,action:Oe})){w=!0,i.history.go(1),B.notify(Le);return}}}y=g(),B.notify(Le)},H=b=>{if(E){E=!1;return}let Y=!1;const ie=f();if(typeof document<"u"&&ie.length)for(const se of ie){const ae=se.enableBeforeUnload??!0;if(ae===!0){Y=!0;break}if(typeof ae=="function"&&ae()===!0){Y=!0;break}}if(Y)return b.preventDefault(),b.returnValue=""},B=My({getLocation:A,getLength:()=>i.history.length,pushState:(b,Y)=>z("push",b,Y),replaceState:(b,Y)=>z("replace",b,Y),back:b=>(b&&(_=!0),E=!0,i.history.back()),forward:b=>{b&&(_=!0),E=!0,i.history.forward()},go:b=>{h=!0,i.history.go(b)},createHref:b=>p(b),flush:N,destroy:()=>{i.history.pushState=o,i.history.replaceState=a,i.removeEventListener(Id,H,{capture:!0}),i.removeEventListener(Cd,U)},onBlocked:()=>{v&&y!==v&&(y=v)},getBlockers:f,setBlockers:d,notifyOnIndexChange:!1});return i.addEventListener(Id,H,{capture:!0}),i.addEventListener(Cd,U),i.history.pushState=function(...b){const Y=o.apply(i.history,b);return B._ignoreSubscribers||F("PUSH"),Y},i.history.replaceState=function(...b){const Y=a.apply(i.history,b);return B._ignoreSubscribers||F("REPLACE"),Y},B}function Ny(n){let i=n.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function Es(n,i){const o=Ny(n),a=o.indexOf("#"),u=o.indexOf("?"),f=su();return{href:o,pathname:o.substring(0,a>0?u>0?Math.min(a,u):a:u>0?u:o.length),hash:a>-1?o.substring(a):"",search:u>-1?o.slice(u,a===-1?void 0:a):"",state:i||{[Fn]:0,key:f,__TSR_key:f}}}function su(){return(Math.random()+1).toString(36).substring(7)}function Fy(n){return n instanceof Error?{name:n.name,message:n.message}:{data:n}}function Kr(n,i){const o=i,a=n;return{fromLocation:o,toLocation:a,pathChanged:o?.pathname!==a.pathname,hrefChanged:o?.href!==a.href,hashChanged:o?.hash!==a.hash}}var zy=class{constructor(n,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=o=>o(),this.update=o=>{const a=this.options,u=this.basepath??a?.basepath??"/",f=this.basepath===void 0,d=a?.rewrite;if(this.options={...a,...o},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=uy(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Oy()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let v;this.resolvePathCache=Go(1e3),v=this.buildRouteTree(),this.setRoutes(v)}if(!this.stores&&this.latestLocation){const v=this.getStoreConfig(this);this.batch=v.batch,this.stores=Py(jy(this.latestLocation),v),yy(this)}let p=!1;const g=this.options.basepath??"/",y=this.options.rewrite;if(f||u!==g||d!==y){this.basepath=g;const v=[],h=hp(g);h&&h!=="/"&&v.push(ky({basepath:g})),y&&v.push(y),this.rewrite=v.length===0?void 0:v.length===1?v[0]:xy(v),this.history&&this.updateLatestLocation(),p=!0}p&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const o=ry(this.routeTree,this.options.caseSensitive,(a,u)=>{a.init({originalIndex:u})});return this.options.routeMasks&&Jg(this.options.routeMasks,o.processedTree),o},this.subscribe=(o,a)=>{const u={eventType:o,fn:a};return this.subscribers.add(u),()=>{this.subscribers.delete(u)}},this.emit=o=>
9{this.subscribers.forEach(a=>{a.eventType===o.type&&a.fn(o)})},this.parseLocation=(o,a)=>{const u=({pathname:g,search:y,hash:v,href:h,state:w})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(g)){const C=this.options.parseSearch(y),N=this.options.stringifySearch(C);return{href:g+N+v,publicHref:g+N+v,pathname:jo(g).path,external:!1,searchStr:N,search:tr(a?.search,C),hash:jo(v.slice(1)).path,state:rr(a?.state,w)}}const _=new URL(h,this.origin),E=Gl(this.rewrite,_),A=this.options.parseSearch(E.search),x=this.options.stringifySearch(A);return E.search=x,{href:E.href.replace(E.origin,""),publicHref:h,pathname:jo(E.pathname).path,external:!!this.rewrite&&E.origin!==this.origin,searchStr:x,search:tr(a?.search,A),hash:jo(E.hash.slice(1)).path,state:rr(a?.state,w)}},f=u(o),{__tempLocation:d,__tempKey:p}=f.state;if(d&&(!p||p===this.tempLocationKey)){const g=u(d);return g.state.key=f.state.key,g.state.__TSR_key=f.state.__TSR_key,delete g.state.__tempLocation,{...g,maskedLocation:f}}return f},this.resolvePathWithBase=(o,a)=>ly({base:o,to:a.includes("//")?iu(a):a,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(o,a,u)=>typeof o=="string"?this.matchRoutesInternal({pathname:o,search:a},u):this.matchRoutesInternal(o,a),this.getMatchedRoutes=o=>$y({pathname:o,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=o=>{const a=this.getMatch(o);a&&(a.abortController.abort(),clearTimeout(a._nonReactive.pendingTimeout),a._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(o=>{this.cancelMatch(o)}),this.stores.matchesId.get().forEach(o=>{if(this.stores.pendingMatchStores.has(o))return;const a=this.stores.matchStores.get(o)?.get();a&&(a.status==="pending"||a.isFetching==="loader")&&this.cancelMatch(o)})},this.buildLocation=o=>{const a=(f={})=>{const d=f._fromLocation||this.pendingBuiltLocation||this.latestLocation,p=this.matchRoutesLightweight(d);f.from;const g=f.unsafeRelative==="path"?d.pathname:f.from??p.fullPath,y=f.to?`${f.to}`:void 0,v=p.search,h=Object.assign(Object.create(null),p.params),w=y?.charCodeAt(0)===47?"/":this.resolvePathWithBase(g,"."),_=y?this.resolvePathWithBase(w,y):w,E=f.params===!1||f.params===null?Object.create(null):(f.params??!0)===!0?h:Object.assign(h,nr(f.params,h)),A=this.routesByPath[sn(_)];let x;if(A)x=this.getRouteBranch(A);else if(_.includes("$"))x=[];else{const se=this.getMatchedRoutes(_);x=se.matchedRoutes,this.options.notFoundRoute&&(!se.foundRoute||se.foundRoute.path!=="/"&&se.routeParams["**"])&&(x=[...x,this.options.notFoundRoute])}if(x.length&&lp(E))for(const se of x){const ae=se.options.params?.stringify??se.options.stringifyParams;if(ae)try{Object.assign(E,ae(E))}catch{}}const C=o.leaveParams?_:jo(vd({path:_,params:E,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let N=v;if(o._includeValidateSearch&&this.options.search?.strict){const se={};x.forEach(ae=>{if(ae.options.validateSearch)try{Object.assign(se,Ss(ae.options.validateSearch,{...se,...N}))}catch{}}),N=se}N=By({search:N,dest:f,destRoutes:x,_includeValidateSearch:o._includeValidateSearch}),N=tr(v,N);const z=this.options.stringifySearch(N),F=f.hash===!0?d.hash:f.hash?nr(f.hash,d.hash):void 0,U=F?`#${F}`:"";let H=f.state===!0?d.state:f.state?nr(f.state,d.state):{};H=rr(d.state,H);const B=`${C}${z}${U}`;let b,Y,ie=!1;if(this.rewrite){const se=new URL(B,this.origin),ae=vp(this.rewrite,se);b=se.href.replace(se.origin,""),ae.origin!==this.origin?(Y=ae.href,ie=!0):Y=ae.pathname+ae.search+ae.hash}else b=Yg(B),Y=b;return{publicHref:Y,href:b,pathname:C,search:N,searchStr:z,state:H,hash:F??"",external:ie,unmaskOnReload:f.unmaskOnReload}},u=(f={},d)=>{const p=a(f);let g=d?a(d):void 0;if(!g){const y=Object.create(null);if(this.options.routeMasks){const v=Zg(p.pathname,this.processedTree);if(v){Object.assign(y,v.rawParams);const{from:h,params:w,..._}=v.route,E=w===!1||w===null?Object.create(null):(w??!0)===!0?y:Object.assign(y,nr(w,y));d={from:o.from,..._,params:E},g=a(d)}}}return g&&(p.maskedLocation=g),p};return o.mask?u(o,{from:o.from,...o.mask}):u(o)},this.commitLocation=async({viewTransition:o,ignoreBlocker:a,...u})=>{let f;const d=()=>
9{const y=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];y.forEach(h=>{u.state[h]=this.latestLocation.state[h]});const v=ct(u.state,this.latestLocation.state);return y.forEach(h=>{delete u.state[h]}),v},p=sn(this.latestLocation.href)===sn(u.href);let g=this.commitLocationPromise;if(this.commitLocationPromise=lr(()=>{g?.resolve(),g=void 0}),p&&d())this.load();else{let{maskedLocation:y,hashScrollIntoView:v,...h}=u;y&&(h={...y,state:{...y.state,__tempKey:void 0,__tempLocation:{...h,search:h.searchStr,state:{...h.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(h.unmaskOnReload??this.options.unmaskOnReload??!1)&&(h.state.__tempKey=this.tempLocationKey)),h.state.__hashScrollIntoViewOptions=v??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=o,f=u.replace?"REPLACE":"PUSH",this.history[f==="REPLACE"?"replace":"push"](h.publicHref,h.state,{ignoreBlocker:a})}return this._scroll.next=u.resetScroll??!0,this.history.subscribers.size||this.load(f?{action:{type:f}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:o,resetScroll:a,hashScrollIntoView:u,viewTransition:f,ignoreBlocker:d,href:p,...g}={})=>{if(p){const h=this.history.location.state.__TSR_index,w=Es(p,{__TSR_index:o?h:h+1}),_=new URL(w.pathname,this.origin);g.to=Gl(this.rewrite,_).pathname,g.search=this.options.parseSearch(w.search),g.hash=w.hash.slice(1)}const y=this.buildLocation({...g,_includeValidateSearch:!0});this.pendingBuiltLocation=y;const v=this.commitLocation({...y,viewTransition:f,replace:o,resetScroll:a,hashScrollIntoView:u,ignoreBlocker:d});return queueMicrotask(()=>{this.pendingBuiltLocation===y&&(this.pendingBuiltLocation=void 0)}),v},this.navigate=async({to:o,reloadDocument:a,href:u,publicHref:f,...d})=>{let p=!1;if(u)try{new URL(`${u}`),p=!0}catch{}if(p&&!a&&(a=!0),a){if(o!==void 0||!u){const y=this.buildLocation({to:o,...d});u=u??y.publicHref,f=f??y.publicHref}const g=!p&&f?f:u;if(ks(g,this.protocolAllowlist))return;if(!d.ignoreBlocker){const y=this.history.getBlockers?.()??[];for(const v of y)if(v?.blockerFn&&await v.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}d.replace?window.location.replace(g):window.location.href=g;return}return this.buildAndCommitLocation({...d,href:u,to:o,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const o=this.matchRoutes(this.latestLocation),a=this.stores.cachedMatches.get().filter(u=>!o.some(f=>f.id===u.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(o),this.stores.setCached(a)})},this.load=async o=>{const a=o?.action?.type;let u,f,d;const p=this.stores.resolvedLocation.get()??this.stores.location.get();for(d=new Promise(y=>{this.startTransition(async()=>{try{this.beforeLoad(),a&&(this._scroll.hash=a==="PUSH"||a==="REPLACE");const v=this.latestLocation,h=Kr(v,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...h}),this.emit({type:"onBeforeLoad",...h}),await Pd({router:this,sync:o?.sync,forceStaleReload:p.href===v.href,matches:this.stores.pendingMatches.get(),location:v,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let w=null,_=null,E=null,A=null;this.batch(()=>{const x=this.stores.pendingMatches.get(),C=x.length,N=this.stores.matches.get();w=C?N.filter(U=>!this.stores.pendingMatchStores.has(U.id)):null;const z=new Set;for(const U of this.stores.pendingMatchStores.values())U.routeId&&z.add(U.routeId);const F=new Set;for(const U of this.stores.matchStores.values())U.routeId&&F.add(U.routeId);_=C?N.filter(U=>!z.has(U.routeId)):null,E=C?x.filter(U=>!F.has(U.routeId)):null,A=C?x.filter(U=>F.has(U.routeId)):N,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),C&&(this.stores.setMatches(x),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...w.filter(U=>U.status!=="error"&&U.status!=="notFound"&&U.status!=="redirected")]),this.clearExpiredCache())});for(const[x,C]of[[_,"onLeave"],[E,"onEnter"],[A,"onStay"]])if(x)for(const N of x)this.looseRoutesById[N.routeId].options[C]?.(N)})})}})}catch(v){ft(v)?(u=v,this.navigate({...u.options,replace:!0,ignoreBlocker:!0})):Je(v)&&(f=v);const h=u?u.status:f?404:this.stores.matches.get().some(w=>w.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(h),this.stores.redirect.set(u)})}this.latestLoadPromise===d&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),y()})}),this.latestLoadPromise=d,await d;this.latestLoadPromise&&d!==this.latestLoadPromise;)await this.latestLoadPromise;let g;this.hasNotFoundMatch()?g=404:this.stores.matches.get().some(y=>y.status==="error")&&(g=500),g!==void 0&&this.stores.statusCode.set(g)},this.startViewTransition=o=>{const a=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,a&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let u;if(typeof a=="object"&&this.isViewTransitionTypesSupported){const f=this.latestLocation,d=this.stores.resolvedLocation.get(),p=typeof a.types=="function"?a.types(Kr(f,d)):a.types;if(p===!1){o();return}u={update:o,types:p}}else u=o;document.startViewTransition(u)}else o()},this.updateMatch=(o,a)=>{this.startTransition(()=>
9{const u=this.stores.pendingMatchStores.get(o);if(u){u.set(a);return}const f=this.stores.matchStores.get(o);if(f){f.set(a);return}const d=this.stores.cachedMatchStores.get(o);if(d){const p=a(d.get());p.status==="redirected"?this.stores.cachedMatchStores.delete(o)&&this.stores.cachedIds.set(g=>g.filter(y=>y!==o)):d.set(p)}})},this.getMatch=o=>this.stores.cachedMatchStores.get(o)?.get()??this.stores.pendingMatchStores.get(o)?.get()??this.stores.matchStores.get(o)?.get(),this.invalidate=o=>{const a=u=>o?.filter?.(u)??!0?{...u,invalid:!0,...o?.forcePending||u.status==="error"||u.status==="notFound"?{status:"pending",error:void 0}:void 0}:u;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(a)),this.stores.setCached(this.stores.cachedMatches.get().map(a)),this.stores.setPending(this.stores.pendingMatches.get().map(a))}),this.shouldViewTransition=!1,this.load({sync:o?.sync})},this.getParsedLocationHref=o=>o.publicHref||"/",this.resolveRedirect=o=>{const a=o.headers.get("Location");if(!o.options.href||o.options._builtLocation){const u=o.options._builtLocation??this.buildLocation(o.options),f=this.getParsedLocationHref(u);o.options.href=f,o.headers.set("Location",f)}else if(a)try{const u=new URL(a);if(this.origin&&u.origin===this.origin){const f=u.pathname+u.search+u.hash;o.options.href=f,o.headers.set("Location",f)}}catch{}if(o.options.href&&!o.options._builtLocation&&ks(o.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return o.headers.get("Location")||o.headers.set("Location",o.options.href),o},this.clearCache=o=>{const a=o?.filter;a!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(u=>!a(u))):this.stores.setCached([])},this.clearExpiredCache=()=>{const o=Date.now(),a=u=>{const f=this.looseRoutesById[u.routeId];if(!f.options.loader)return!0;const d=(u.preload?f.options.preloadGcTime??this.options.defaultPreloadGcTime:f.options.gcTime??this.options.defaultGcTime)??300*1e3;return u.status==="error"?!0:o-u.updatedAt>=d};this.clearCache({filter:a})},this.loadRouteChunk=Yo,this.preloadRoute=async o=>{const a=o._builtLocation??this.buildLocation(o);let u=this.matchRoutes(a,{throwOnError:!0,preload:!0,dest:o});const f=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),d=new Set([...f,...this.stores.cachedIds.get()]),p=u.filter(g=>!d.has(g.id));if(p.length){const g=this.stores.cachedMatches.get();this.stores.setCached([...g,...p])}try{return u=await Pd({router:this,matches:u,location:a,preload:!0,updateMatch:(g,y)=>{f.has(g)?u=u.map(v=>v.id===g?y(v):v):this.updateMatch(g,y)}}),u}catch(g){if(ft(g))return g.options.reloadDocument?void 0:await this.preloadRoute({...g.options,_fromLocation:a});Je(g)||console.error(g);return}},this.matchRoute=(o,a)=>{const u={...o,to:o.to?this.resolvePathWithBase(o.from||"",o.to):void 0,params:o.params||{},leaveParams:!0},f=this.buildLocation(u);if(a?.pending&&this.stores.status.get()!=="pending")return!1;const d=(a?.pending===void 0?!this.stores.isLoading.get():a.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),p=ey(f.pathname,a?.caseSensitive??!1,a?.fuzzy??!1,d.pathname,this.processedTree);return!p||o.params&&!ct(p.rawParams,o.params,{partial:!0})?!1:a?.includeSearch??!0?ct(d.search,f.search,{partial:!0})?p.rawParams:!1:p.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(o=>o.status==="notFound"||o.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...n,caseSensitive:n.caseSensitive??!1,notFoundMode:n.notFoundMode??"fuzzy",stringifySearch:n.stringifySearch??Sy,parseSearch:n.parseSearch??wy,protocolAllowlist:n.protocolAllowlist??Hg}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:n,routesByPath:i,processedTree:o}){this.routesById=n,this.routesByPath=i,this.processedTree=o;const a=this.options.notFoundRoute;a&&(a.init({originalIndex:99999999999}),this.routesById[a.id]=a)}getRouteBranch(n){let i=this.routeBranchCache.get(n);
9return i||(i=dp(n),this.routeBranchCache.set(n,i)),i}get looseRoutesById(){return this.routesById}getParentContext(n){return n?.id?n.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(n,i){const o=this.getMatchedRoutes(n.pathname),{foundRoute:a,routeParams:u}=o;let{matchedRoutes:f}=o,d=!1;(a?a.path!=="/"&&u["**"]:sn(n.pathname))&&(this.options.notFoundRoute?f=[...f,this.options.notFoundRoute]:d=!0);const p=d?Vy(this.options.notFoundMode,f):void 0,g=new Array(f.length),y=new Map;for(const v of this.stores.matchStores.values())v.routeId&&y.set(v.routeId,v.get());for(let v=0;v<f.length;v++){const h=f[v],w=g[v-1];let _,E,A;{const ae=w?.search??n.search,Oe=w?._strictSearch??void 0;try{const Le=Ss(h.options.validateSearch,{...ae})??void 0;_={...ae,...Le},E={...Oe,...Le},A=void 0}catch(Le){let Ve=Le;if(Le instanceof Cs||(Ve=new Cs(Le.message,{cause:Le})),i?.throwOnError)throw Ve;_=ae,E={},A=Ve}}const x=h.options.loaderDeps?.({search:_})??"",C=x?JSON.stringify(x):"",{interpolatedPath:N,usedParams:z}=vd({path:h.fullPath,params:u,decoder:this.pathParamsDecoder,server:this.isServer}),F=h.id+N+C,U=this.getMatch(F),H=y.get(h.id),B=U?._strictParams??z;let b;if(!U)try{Td(h,B)}catch(ae){if(Je(ae)||ft(ae)?b=ae:b=new Dy(ae.message,{cause:ae}),i?.throwOnError)throw b}Object.assign(u,B);const Y=H?"stay":"enter";let ie;if(U)ie={...U,cause:Y,params:H?.params??u,_strictParams:B,search:tr(H?H.search:U.search,_),_strictSearch:E};else{const ae=h.options.loader||h.options.beforeLoad||h.lazyFn||Rp(h)?"pending":"success";ie={id:F,ssr:h.options.ssr,index:v,routeId:h.id,params:H?.params??u,_strictParams:B,pathname:N,updatedAt:Date.now(),search:H?tr(H.search,_):_,_strictSearch:E,searchError:void 0,status:ae,isFetching:!1,error:void 0,paramsError:b,__routeContext:void 0,_nonReactive:{loadPromise:lr()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:Y,loaderDeps:H?rr(H.loaderDeps,x):x,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:h.options.staticData||{},fullPath:h.fullPath}}i?.preload||(ie.globalNotFound=p===h.id),ie.searchError=A;const se=this.getParentContext(w);ie.context={...se,...ie.__routeContext,...ie.__beforeLoadContext},g[v]=ie}for(let v=0;v<g.length;v++){const h=g[v],w=this.looseRoutesById[h.routeId],_=this.getMatch(h.id),E=y.get(h.routeId);if(h.params=E?tr(E.params,u):u,!_){const A=g[v-1],x=this.getParentContext(A);if(w.options.context){const C={deps:h.loaderDeps,params:h.params,context:x??{},location:n,navigate:N=>this.navigate({...N,_fromLocation:n}),buildLocation:this.buildLocation,cause:h.cause,abortController:h.abortController,preload:!!h.preload,matches:g,routeId:w.id};h.__routeContext=w.options.context(C)??void 0}h.context={...x,...h.__routeContext,...h.__beforeLoadContext}}}return g}matchRoutesLightweight(n){const i=Ko(this.stores.matchesId.get()),o=this.lightweightCache.get(n);if(o&&o[0]===i)return o[1];const{matchedRoutes:a,routeParams:u}=this.getMatchedRoutes(n.pathname),f=Ko(a),d={...n.search};for(const h of a)try{Object.assign(d,Ss(h.options.validateSearch,d))}catch{}const p=i&&this.stores.matchStores.get(i)?.get(),g=p&&p.routeId===f.id&&p.pathname===n.pathname;let y;if(g)y=p.params;else{const h=Object.assign(Object.create(null),u);for(const w of a)try{Td(w,h)}catch{}y=h}const v={matchedRoutes:a,fullPath:f.fullPath,search:d,params:y};return this.lightweightCache.set(n,[i,v]),v}},Cs=class extends Error{},Dy=class extends Error{};function jy(n){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:n,matches:[],statusCode:200}}function Ss(n,i){if(n==null)return{};if("~standard"in n){const o=n["~standard"].validate(i);if(o instanceof Promise)throw new Cs("Async validation not supported");if(o.issues)throw new Cs(JSON.stringify(o.issues,void 0,2),{cause:o});return o.value}return"parse"in n?n.parse(i):typeof n=="function"?n(i):{}}function $y({pathname:n,routesById:i,processedTree:o}){const a=Object.create(null),u=sn(n);let f;const d=ty(u,o,!0);return d&&(f=d.route,Object.assign(a,d.rawParams)),{matchedRoutes:d?.branch||[i.__root__],routeParam
9s:a,foundRoute:f}}function By({search:n,dest:i,destRoutes:o,_includeValidateSearch:a}){return Uy(o)(n,i,a??!1)}function Uy(n){let i,o;const a=[];for(const f of n){const d=f.options;if("search"in d)d.search?.middlewares&&a.push(...d.search.middlewares);else if(d.preSearchFilters||d.postSearchFilters){const g=({search:y,next:v})=>{const h=v(d.preSearchFilters?d.preSearchFilters.reduce((w,_)=>_(w),y):y);return d.postSearchFilters?d.postSearchFilters.reduce((w,_)=>_(w),h):h};a.push(g)}const p=d.validateSearch;if(p){const g=({search:y,next:v,meta:h})=>{const w=v(y);if(o)try{const _=Ss(p,w);if(h&&_)for(const E in _)E in w||(h.defaulted||=new Map).set(E,_[E]);return{...w,..._}}catch{}return w};a.push(g)}}const u=(f,d,p)=>{if(f>=a.length){if(!i.search)return{};if(i.search===!0)return d;const y=nr(i.search,d);return p&&(p.explicit=y),y}const g=(y,v)=>{if(v){const h=p||{};return{search:u(f+1,y,h),meta:h}}return u(f+1,y,p)};return a[f]({search:d,next:g,meta:p})};return function(d,p,g){return i=p,o=g,u(0,d)}}function Vy(n,i){if(n!=="root")for(let o=i.length-1;o>=0;o--){const a=i[o];if(a.children)return a.id}return sr}function Td(n,i){const o=n.options.params?.parse??n.options.parseParams;if(o){const a=o(i);if(a===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(i,a)}}const Ht=Symbol.for("TSR_DEFERRED_PROMISE");function by(n,i){const o=n;return o[Ht]||(o[Ht]={status:"pending"},o.then(a=>{o[Ht].status="success",o[Ht].data=a}).catch(a=>{o[Ht].status="error",o[Ht].error={data:Fy(a),__isServerError:!0}})),o}const Wy="Error preloading route! âï¸";function xp(n,i){if(n)return typeof n=="string"?n:n[i]}function Hy(n){return n?.scriptFormat??"module"}function Ky(n,i,o){const a=Qy(i),u=xp(o,"script")??a.crossOrigin;return{...Hy(n)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:a.href,...u?{crossOrigin:u}:{}}}function Qy(n){return typeof n=="string"?{href:n,crossOrigin:void 0}:n}function hs(n,i){if(i.length===0)return;if(i.length===1){n.push(i[0]);return}const o=new Set;for(const a of i){const u=JSON.stringify(a);o.has(u)||(o.add(u),n.push(a))}}function Gy(n){return typeof n=="string"?{href:n,crossOrigin:void 0}:n}var kp=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(n){if(this.init=i=>{this.originalIndex=i.originalIndex;const o=this.options,a=!o?.path&&!o?.id;this.parentRoute=this.options.getParentRoute?.(),a?this._path=sr:this.parentRoute||vt();let u=a?sr:o?.path;u&&u!=="/"&&(u=pp(u));const f=o?.id||u;let d=a?sr:ys([this.parentRoute.id==="__root__"?"":this.parentRoute.id,f]);u==="__root__"&&(u="/"),d!=="__root__"&&(d=ys(["/",d]));const p=d==="__root__"?"/":ys([this.parentRoute.fullPath,u]);this._path=u,this._id=d,this._fullPath=p,this._to=sn(p)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>ur({from:this.fullPath,...i}),this.options=n||{},this.isRoot=!n?.getParentRoute,n?.id&&n?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},Yy=class extends kp{constructor(n){super(n)}},Xy=(n=>(n[n.AggregateError=1]="AggregateError",n[n.ArrowFunction=2]="ArrowFunction",n[n.ErrorPrototypeStack=4]="ErrorPrototypeStack",n[n.ObjectAssign=8]="ObjectAssign",n[n.BigIntTypedArray=16]="BigIntTypedArray",n[n.RegExp=32]="RegExp",n))(Xy||{}),an=Symbol.asyncIterator,Pp=Symbol.hasInstance,Qr=Symbol.isConcatSpreadable,ln=Symbol.iterator,Ep=Symbol.match,Cp=Symbol.matchAll,Ip=Symbol.replace,Lp=Symbol.search,Tp=Symbol.species,Ap=Symbol.split,Mp=Symbol.toPrimitive,Gr=Symbol.toStringTag,Op=Symbol.unscopables,Np={[an]:0,[Pp]:1,[Qr]:2,[ln]:3,[Ep]:4,[Cp]:5,[Ip]:6,[Lp]:7,[Tp]:8,[Ap]:9,[Mp]:10,[Gr]:11,[Op]:12},qy={0:an,1:Pp,2:Qr,3:ln,4:Ep,5:Cp,6:Ip,7:Lp,8:Tp,9:Ap,10:Mp,11:Gr,12:Op},S=void 0,Jy={2:!0,3:!1,1:S,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},Zy={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},ev={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function Re(n,i,o,a,u,f,d,p,g,y,v,h){return{t:n,i,s:o,c:a,m:u,p:f,e:d,a:p,f:g,b:y,o:v,l:h}}function zn(n){return Re(2,S,n,S,S,S,S,S,S,S,S,S)}var Fp=zn(2),zp=zn(3),tv=zn(1),nv=zn(0),rv=zn(4),ov=zn(5),iv=zn(6),sv=zn(7);function av(n){switch(n){case'"':return'\\"';case"\\":return"\\\\";case` 10`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case" ":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return S}}function Dn(n){let i="",o=0,a;for(let u=0,f=n.length;u<f;u++)a=av(n[u]),a&&(i+=n.slice(o,u)+a,o=u+1);return o===0?i=n:i+=n.slice(o),i}function lv(n){switch(n){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return` 11`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return" ";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return n}}function jn(n){return n.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,lv)}var ms="__SEROVAL_REFS__",Dp=new Map,Wr=new Map;function jp(n){return Dp.has(n)}function uv(n){return Wr.has(n)}function cv(n){if(jp(n))return Dp.get(n);throw new Uv(n)}function fv(n){if(uv(n))return Wr.get(n);throw new Vv(n)}typeof globalThis<"u"?Object.defineProperty(globalThis,ms,{value:Wr,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,ms,{value:Wr,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,ms,{value:Wr,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,ms,{value:Wr,configurable:!0,writable:!1,enumerable:!1});function au(n){return n instanceof EvalError?1:n instanceof RangeError?2:n instanceof ReferenceError?3:n instanceof SyntaxError?4:n instanceof TypeError?5:n instanceof URIError?6:0}function dv(n){let i=Zy[au(n)];return n.name!==i?{name:n.name}:n.constructor.name!==i?{name:n.constructor.name}:{}}function $p(n,i){let o=dv(n),a=Object.getOwnPropertyNames(n);for(let u=0,f=a.length,d;u<f;u++)d=a[u],d!=="name"&&d!=="message"&&(d==="stack"?i&4&&(o=o||{},o[d]=n[d]):(o=o||{},o[d]=n[d]));return o}function Bp(n){return Object.isFrozen(n)?3:Object.isSealed(n)?2:Object.isExtensible(n)?0:1}function pv(n){switch(n){case Number.POSITIVE_INFINITY:return ov;case Number.NEGATIVE_INFINITY:return iv}return n!==n?sv:Object.is(n,-0)?rv:Re(0,S,n,S,S,S,S,S,S,S,S,S)}function Up(n){return Re(1,S,Dn(n),S,S,S,S,S,S,S,S,S)}function hv(n){return Re(3,S,""+n,S,S,S,S,S,S,S,S,S)}function mv(n){return Re(4,n,S,S,S,S,S,S,S,S,S,S)}
11function gv(n,i){let o=i.valueOf();return Re(5,n,o!==o?"":i.toISOString(),S,S,S,S,S,S,S,S,S)}function yv(n,i){return Re(6,n,S,Dn(i.source),i.flags,S,S,S,S,S,S,S)}function vv(n,i){return Re(17,n,Np[i],S,S,S,S,S,S,S,S,S)}function wv(n,i){return Re(18,n,Dn(cv(i)),S,S,S,S,S,S,S,S,S)}function Sv(n,i,o){return Re(25,n,o,Dn(i),S,S,S,S,S,S,S,S)}function _v(n,i,o){return Re(9,n,S,S,S,S,S,o,S,S,Bp(i),S)}function Rv(n,i){return Re(21,n,S,S,S,S,S,S,i,S,S,S)}function xv(n,i,o){return Re(15,n,S,i.constructor.name,S,S,S,S,o,i.byteOffset,S,i.length)}function kv(n,i,o){return Re(16,n,S,i.constructor.name,S,S,S,S,o,i.byteOffset,S,i.length)}function Pv(n,i,o){return Re(20,n,S,S,S,S,S,S,o,i.byteOffset,S,i.byteLength)}function Ev(n,i,o){return Re(13,n,au(i),S,Dn(i.message),o,S,S,S,S,S,S)}function Cv(n,i,o){return Re(14,n,au(i),S,Dn(i.message),o,S,S,S,S,S,S)}function Iv(n,i){return Re(7,n,S,S,S,S,S,i,S,S,S,S)}function Lv(n,i){return Re(28,S,S,S,S,S,S,[n,i],S,S,S,S)}function Tv(n,i){return Re(30,S,S,S,S,S,S,[n,i],S,S,S,S)}function Av(n,i,o){return Re(31,n,S,S,S,S,S,o,i,S,S,S)}function Mv(n,i){return Re(32,n,S,S,S,S,S,S,i,S,S,S)}function Ov(n,i){return Re(33,n,S,S,S,S,S,S,i,S,S,S)}function Nv(n,i){return Re(34,n,S,S,S,S,S,S,i,S,S,S)}function Fv(n,i,o,a){return Re(35,n,o,S,S,S,S,i,S,S,S,a)}var zv={parsing:1,serialization:2,deserialization:3};function Dv(n){return`Seroval Error (step: ${zv[n]})`}var jv=(n,i)=>Dv(n),Vp=class extends Error{constructor(n,i){super(jv(n)),this.cause=i}},Ad=class extends Vp{constructor(n){super("parsing",n)}},$v=class extends Vp{constructor(n){super("deserialization",n)}};function un(n){return`Seroval Error (specific: ${n})`}var Os=class extends Error{constructor(n){super(un(1)),this.value=n}},bp=class extends Error{constructor(n){super(un(2))}},Bv=class extends Error{constructor(n){super(un(3))}},Jo=class extends Error{constructor(n){super(un(4))}},Uv=class extends Error{constructor(n){super(un(5)),this.value=n}},Vv=class extends Error{constructor(n){super(un(6))}},bv=class extends Error{constructor(n){super(un(7))}},cn=class extends Error{constructor(n){super(un(8))}},Wv=class extends Error{constructor(n){super(un(9))}},Hv=class{constructor(n,i){this.value=n,this.replacement=i}},Ns=()=>{let n={p:0,s:0,f:0};return n.p=new Promise((i,o)=>{n.s=i,n.f=o}),n},Kv=(n,i)=>{n.s(i),n.p.s=1,n.p.v=i},Qv=(n,i)=>{n.f(i),n.p.s=2,n.p.v=i};Ns.toString();Kv.toString();Qv.toString();var Gv=()=>{let n=[],i=[],o=!0,a=!1,u=0,f=(g,y,v)=>{for(v=0;v<u;v++)i[v]&&i[v][y](g)},d=(g,y,v,h)=>{for(y=0,v=n.length;y<v;y++)h=n[y],!o&&y===v-1?g[a?"return":"throw"](h):g.next(h)},p=(g,y)=>(o&&(y=u++,i[y]=g),d(g),()=>{o&&(i[y]=i[u],i[u--]=void 0)});return{__SEROVAL_STREAM__:!0,on:g=>p(g),next:g=>{o&&(n.push(g),f(g,"next"))},throw:g=>{o&&(n.push(g),f(g,"throw"),o=!1,a=!1,i.length=0)},return:g=>{o&&(n.push(g),f(g,"return"),o=!1,a=!0,i.length=0)}}},Yv=n=>i=>()=>{let o=0,a={[n]:()=>a,next:()=>{if(o>i.d)return{done:!0,value:void 0};let u=o++,f=i.v[u];if(u===i.t)throw f;return{done:u===i.d,value:f}}};return a},Xv=(n,i)=>o=>()=>{let a=0,u=-1,f=!1,d=[],p=[],g=(v=0,h=p.length)=>{for(;v<h;v++)p[v].s({done:!0,value:void 0})};o.on({next:v=>{let h=p.shift();h&&h.s({done:!1,value:v}),d.push(v)},throw:v=>{let h=p.shift();h&&h.f(v),g(),u=d.length,f=!0,d.push(v)},return:v=>{let h=p.shift();h&&h.s({done:!0,value:v}),g(),u=d.length,d.push(v)}});let y={[n]:()=>y,next:()=>{if(u===-1){let w=a++;if(w>=d.length){let _=i();return p.push(_),_.p}return{done:!1,value:d[w]}}if(a>u)return{done:!0,value:void 0};let v=a++,h=d[v];if(v!==u)return{done:!1,value:h};if(f)throw h;return{done:!0,value:h}}};return y},Wp=n=>{let i=atob(n),o=i.length,a=new Uint8Array(o);for(let u=0;u<o;u++)a[u]=i.charCodeAt(u);return a.buffer};Wp.toString();function qv(n){return"__SEROVAL_SEQUENCE__"in n}function Hp(n,i,o){return{__SEROVAL_SEQUENCE__:!0,v:n,t:i,d:o}}function Jv(n){let i=[],o=-1,a=-1,u=n[ln]();for(;;)try{let f=u.next();if(i.push(f.value),f.done){a=i.length-1;break}}catch(f){o=i.length,i.push(f)}return Hp(i,o,a)}var Zv=Yv(ln);function e0(n){return Zv(n)}var t0={},n0={},r0={0:{},1:{},2:{},3:{},4:{},5:{}};function o0(n){return"__SEROVAL_STREAM__"in n}function cr(){return Gv()}function i0(n){let i=cr(),o=n[an]();async function a(){try{let u=await o.next();u.done?i.return(u.value):(i.next(u.value),await a())}catch(u){i.throw(u)}}return a().catch(()=>{}),i}var s0=Xv(an,Ns);function a0(n){return s0(n)}async function l0(n){try{return[1,await n]}catch(i){return[0,i]}}function u0(n,i){return{plugins:i.plugins,mode:n,marked:new Set,features:63^(i.disabledFeatures||0),refs:i.refs||new Map,depthLimit:i.depthLimit||1e3}}function _s(n,i){n.marked.add(i)}function c0(n,i){let o=n.refs.size;return n.refs.set(i,o),o}function Fs(n,i){let o=n.refs.get(i);
11return o!=null?(_s(n,o),{type:1,value:mv(o)}):{type:0,value:c0(n,i)}}function lu(n,i){let o=Fs(n,i);return o.type===1?o:jp(i)?{type:2,value:wv(o.value,i)}:o}function ir(n,i){let o=lu(n,i);if(o.type!==0)return o.value;if(i in Np)return vv(o.value,i);throw new Os(i)}function zs(n,i){let o=Fs(n,r0[i]);return o.type===1?o.value:Re(26,o.value,i,S,S,S,S,S,S,S,S,S)}function f0(n){let i=Fs(n,t0);return i.type===1?i.value:Re(27,i.value,S,S,S,S,S,S,ir(n,ln),S,S,S)}function d0(n){let i=Fs(n,n0);return i.type===1?i.value:Re(29,i.value,S,S,S,S,S,[zs(n,1),ir(n,an)],S,S,S,S)}function p0(n,i,o,a){return Re(o?11:10,n,S,S,S,a,S,S,S,S,Bp(i),S)}function h0(n,i,o,a){return Re(8,i,S,S,S,S,{k:o,v:a},S,zs(n,0),S,S,S)}function m0(n,i,o){let a=new Uint8Array(o),u="";for(let f=0,d=a.length;f<d;f++)u+=String.fromCharCode(a[f]);return Re(19,i,Dn(btoa(u)),S,S,S,S,S,zs(n,5),S,S,S)}function g0(n,i){return{base:u0(n,i),child:void 0}}var y0=class{constructor(n,i){this._p=n,this.depth=i}parse(n){return Qe(this._p,this.depth,n)}};async function v0(n,i,o){let a=[];for(let u=0,f=o.length;u<f;u++)u in o?a[u]=await Qe(n,i,o[u]):a[u]=0;return a}async function w0(n,i,o,a){return _v(o,a,await v0(n,i,a))}async function uu(n,i,o){let a=Object.entries(o),u=[],f=[];for(let d=0,p=a.length;d<p;d++)u.push(Dn(a[d][0])),f.push(await Qe(n,i,a[d][1]));return ln in o&&(u.push(ir(n.base,ln)),f.push(Lv(f0(n.base),await Qe(n,i,Jv(o))))),an in o&&(u.push(ir(n.base,an)),f.push(Tv(d0(n.base),await Qe(n,i,i0(o))))),Gr in o&&(u.push(ir(n.base,Gr)),f.push(Up(o[Gr]))),Qr in o&&(u.push(ir(n.base,Qr)),f.push(o[Qr]?Fp:zp)),{k:u,v:f}}async function Dl(n,i,o,a,u){return p0(o,a,u,await uu(n,i,a))}async function S0(n,i,o,a){return Rv(o,await Qe(n,i,a.valueOf()))}async function _0(n,i,o,a){return xv(o,a,await Qe(n,i,a.buffer))}async function R0(n,i,o,a){return kv(o,a,await Qe(n,i,a.buffer))}async function x0(n,i,o,a){return Pv(o,a,await Qe(n,i,a.buffer))}async function Md(n,i,o,a){let u=$p(a,n.base.features);return Ev(o,a,u?await uu(n,i,u):S)}async function k0(n,i,o,a){let u=$p(a,n.base.features);return Cv(o,a,u?await uu(n,i,u):S)}async function P0(n,i,o,a){let u=[],f=[];for(let[d,p]of a.entries())u.push(await Qe(n,i,d)),f.push(await Qe(n,i,p));return h0(n.base,o,u,f)}async function E0(n,i,o,a){let u=[];for(let f of a.keys())u.push(await Qe(n,i,f));return Iv(o,u)}async function Kp(n,i,o,a){let u=n.base.plugins;if(u)for(let f=0,d=u.length;f<d;f++){let p=u[f];if(p.parse.async&&p.test(a))return Sv(o,p.tag,await p.parse.async(a,new y0(n,i),{id:o}))}return S}async function C0(n,i,o,a){let[u,f]=await l0(a);return Re(12,o,u,S,S,S,S,S,await Qe(n,i,f),S,S,S)}function I0(n,i,o,a,u){let f=[],d=o.on({next:p=>{_s(this.base,i),Qe(this,n,p).then(g=>{f.push(Mv(i,g))},g=>{u(g),d()})},throw:p=>{_s(this.base,i),Qe(this,n,p).then(g=>{f.push(Ov(i,g)),a(f),d()},g=>{u(g),d()})},return:p=>{_s(this.base,i),Qe(this,n,p).then(g=>{f.push(Nv(i,g)),a(f),d()},g=>{u(g),d()})}})}async function L0(n,i,o,a){return Av(o,zs(n.base,4),await new Promise(I0.bind(n,i,o,a)))}async function T0(n,i,o,a){let u=[];for(let f=0,d=a.v.length;f<d;f++)u[f]=await Qe(n,i,a.v[f]);return Fv(o,u,a.t,a.d)}async function A0(n,i,o,a){if(Array.isArray(a))return w0(n,i,o,a);if(o0(a))return L0(n,i,o,a);if(qv(a))return T0(n,i,o,a);let u=a.constructor;if(u===Hv)return Qe(n,i,a.replacement);let f=await Kp(n,i,o,a);if(f)return f;switch(u){case Object:return Dl(n,i,o,a,!1);case S:return Dl(n,i,o,a,!0);case Date:return gv(o,a);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Md(n,i,o,a);case Number:case Boolean:case String:case BigInt:return S0(n,i,o,a);case ArrayBuffer:return m0(n.base,o,a);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return _0(n,i,o,a);case DataView:return x0(n,i,o,a);case Map:return P0(n,i,o,a);case Set:return E0(n,i,o,a)}if(u===Promise||a instanceof Promise)return C0(n,i,o,a);let d=n.base.features;if(d&32&&u===RegExp)return yv(o,a);if(d&16)switch(u){case BigInt64Array:case BigUint64Array:return R0(n,i,o,a)}if(d&1&&typeof AggregateError<"u"&&(u===AggregateError||a instanceof AggregateError))return k0(n,i,o,a);if(a instanceof Error)return Md(n,i,o,a);if(ln in a||an in a)return Dl(n,i,o,a,!!u);throw new Os(a)}async function M0(n,i,o){let a=lu(n.base,o);if(a.type!==0)return a.value;let u=await Kp(n,i,a.value,o);if(u)return u;throw new Os(o)}async function Qe(n,i,o){switch(typeof o){case"boolean":return o?Fp:zp;case"undefined":return tv;case"string":return Up(o);case"number":return pv(o);case"bigint":return hv(o);case"object":{if(o){let a=lu(n.base,o);return a.type===0?await A0(n,i+1,a.value,o):a.value}return nv}case"symbol":return ir(n.base,o);case"function":return M0(n,i,o);default:throw new Os(o)}}async function O0(n,i){try{return await Qe(n,0,i)}catch(o){throw o instanceof Ad?o:new Ad(o)}}var N0=(n=>(n[n.Vanilla=1]="Vanilla",n[n.Cross=2]="Cross",n))(N0||{});function Qp(n,i){for(let o=0,a=i.length;o<a;o++){let u=i[o];n.has(u)||(n.add(u),u.extends&&Qp(n,u.extends))}}function Gp(n){if(n){let i=new Set;return Qp(i,n),[...i]}}function F0(n){switch(n){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new bv(n)}}function z0(n){switch(n){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function D0(n){switch(n){case an:case Qr:case Gr:case ln:return!0;default:return!1}}var j0=1e6,$0=1e4,B0=2e4;function Yp(n,i){switch(i){case 3:return Object.freeze(n);case 1:return Object.preventExtensions(n);case 2:return Object.seal(n);default:return n}}var U0=1e3;function V0(n,i){var o;let a=i.refs||new Map;return"types"in a||Object.assign(a,{types:new Map}),{mode:n,plugins:i.plugins,refs:a,features:(o=i.features)!=null?o:63^(i.disabledFeatures||0),depthLimit:i.depthLimit||U0}}
11function b0(n){return{mode:2,base:V0(2,n),child:S}}var W0=class{constructor(n,i){this._p=n,this.depth=i}deserialize(n){return Ie(this._p,this.depth,n)}};function Xp(n,i){if(i<0||!Number.isFinite(i)||!Number.isInteger(i))throw new cn({t:4,i});if(n.refs.has(i))throw new Error("Conflicted ref id: "+i)}function H0(n,i,o){return Xp(n.base,i),n.state.marked.has(i)&&n.base.refs.set(i,o),o}function K0(n,i,o){return Xp(n.base,i),n.base.refs.set(i,o),o}function Ge(n,i,o){return n.mode===1?H0(n,i,o):K0(n,i,o)}function Xl(n,i,o){if(Object.hasOwn(i,o))return i[o];throw new cn(n)}function Q0(n,i){return Ge(n,i.i,fv(jn(i.s)))}function G0(n,i,o){let a=o.a,u=a.length,f=Ge(n,o.i,new Array(u));for(let d=0,p;d<u;d++)p=a[d],p&&(f[d]=Ie(n,i,p));return Yp(f,o.o),f}function Od(n,i,o){z0(i)?n[i]=o:Object.defineProperty(n,i,{value:o,configurable:!0,enumerable:!0,writable:!0})}function Y0(n,i,o,a,u){if(typeof a=="string")Od(o,jn(a),Ie(n,i,u));else{let f=Ie(n,i,a);switch(typeof f){case"string":Od(o,f,Ie(n,i,u));break;case"symbol":D0(f)&&(o[f]=Ie(n,i,u));break;default:throw new cn(a)}}}function qp(n,i,o){n.base.refs.types.set(i,o)}function Zo(n,i,o,a){if(n.base.refs.types.get(o)!==a)throw new cn(i)}function Jp(n,i,o,a){let u=o.k;if(u.length>0)for(let f=0,d=o.v,p=u.length;f<p;f++)Y0(n,i,a,u[f],d[f]);return a}function X0(n,i,o){let a=Ge(n,o.i,o.t===10?{}:Object.create(null));return Jp(n,i,o.p,a),Yp(a,o.o),a}function q0(n,i){return Ge(n,i.i,new Date(i.s))}function J0(n,i){if(n.base.features&32){let o=jn(i.c);if(o.length>B0)throw new cn(i);return Ge(n,i.i,new RegExp(o,i.m))}throw new bp(i)}function Z0(n,i,o){let a=Ge(n,o.i,new Set);for(let u=0,f=o.a,d=f.length;u<d;u++)a.add(Ie(n,i,f[u]));return a}function ew(n,i,o){let a=Ge(n,o.i,new Map);for(let u=0,f=o.e.k,d=o.e.v,p=f.length;u<p;u++)a.set(Ie(n,i,f[u]),Ie(n,i,d[u]));return a}function tw(n,i){if(i.s.length>j0)throw new cn(i);return Ge(n,i.i,Wp(jn(i.s)))}function nw(n,i,o){var a;let u=F0(o.c),f=Ie(n,i,o.f),d=(a=o.b)!=null?a:0;if(d<0||d>f.byteLength)throw new cn(o);return Ge(n,o.i,new u(f,d,o.l))}function rw(n,i,o){var a;let u=Ie(n,i,o.f),f=(a=o.b)!=null?a:0;if(f<0||f>u.byteLength)throw new cn(o);return Ge(n,o.i,new DataView(u,f,o.l))}function Zp(n,i,o,a){if(o.p){let u=Jp(n,i,o.p,{});Object.defineProperties(a,Object.getOwnPropertyDescriptors(u))}return a}function ow(n,i,o){let a=Ge(n,o.i,new AggregateError([],jn(o.m)));return Zp(n,i,o,a)}function iw(n,i,o){let a=Xl(o,ev,o.s),u=Ge(n,o.i,new a(jn(o.m)));return Zp(n,i,o,u)}function sw(n,i,o){let a=Ns(),u=Ge(n,o.i,a.p),f=Ie(n,i,o.f);return o.s?a.s(f):a.f(f),u}function aw(n,i,o){return Ge(n,o.i,Object(Ie(n,i,o.f)))}function lw(n,i,o){let a=n.base.plugins;if(a){let u=jn(o.c);for(let f=0,d=a.length;f<d;f++){let p=a[f];if(p.tag===u)return Ge(n,o.i,p.deserialize(o.s,new W0(n,i),{id:o.i}))}}throw new Bv(o.c)}function uw(n,i){let o=Ge(n,i.i,Ge(n,i.s,Ns()).p);return qp(n,i.s,22),o}function cw(n,i,o){let a=n.base.refs.get(o.i);if(a)return Zo(n,o,o.i,22),a.s(Ie(n,i,o.a[1])),S;throw new Jo("Promise")}function fw(n,i,o){let a=n.base.refs.get(o.i);if(a)return Zo(n,o,o.i,22),a.f(Ie(n,i,o.a[1])),S;throw new Jo("Promise")}function dw(n,i,o){Ie(n,i,o.a[0]);let a=Ie(n,i,o.a[1]);return e0(a)}function pw(n,i,o){Ie(n,i,o.a[0]);let a=Ie(n,i,o.a[1]);return a0(a)}function hw(n,i,o){let a=Ge(n,o.i,cr());qp(n,o.i,31);let u=o.a,f=u.length;if(f)for(let d=0;d<f;d++)Ie(n,i,u[d]);return a}function mw(n,i,o){let a=n.base.refs.get(o.i);if(a)return Zo(n,o,o.i,31),a.next(Ie(n,i,o.f)),S;throw new Jo("Stream")}function gw(n,i,o){let a=n.base.refs.get(o.i);if(a)return Zo(n,o,o.i,31),a.throw(Ie(n,i,o.f)),S;throw new Jo("Stream")}function yw(n,i,o){let a=n.base.refs.get(o.i);if(a)return Zo(n,o,o.i,31),a.return(Ie(n,i,o.f)),S;throw new Jo("Stream")}function vw(n,i,o){return Ie(n,i,o.f),S}function ww(n,i,o){return Ie(n,i,o.a[1]),S}function Sw(n,i,o){let a=Ge(n,o.i,Hp([],o.s,o.l));for(let u=0,f=o.a.length;u<f;u++)a.v[u]=Ie(n,i,o.a[u]);return a}function Ie(n,i,o){if(i>n.base.depthLimit)throw new Wv(n.base.depthLimit);switch(i+=1,o.t){case 2:return Xl(o,Jy,o.s);case 0:return Number(o.s);case 1:return jn(String(o.s));case 3:if(String(o.s).length>$0)throw new cn(o);return BigInt(o.s);case 4:return n.base.refs.get(o.i);case 18:return Q0(n,o);case 9:return G0(n,i,o);case 10:case 11:return X0(n,i,o);case 5:return q0(n,o);case 6:return J0(n,o);case 7:return Z0(n,i,o);case 8:return ew(n,i,o);case 19:return tw(n,o);case 16:case 15:return nw(n,i,o);case 20:return rw(n,i,o);case 14:return ow(n,i,o);case 13:return iw(n,i,o);case 12:return sw(n,i,o);case 17:return Xl(o,qy,o.s);case 21:return aw(n,i,o);case 25:return lw(n,i,o);case 22:return uw(n,o);case 23:return cw(n,i,o);case 24:return fw(n,i,o);case 28:return dw(n,i,o);case 30:return pw(n,i,o);case 31:return hw(n,i,o);case 32:return mw(n,i,o);case 33:return gw(n,i,o);case 34:return yw(n,i,o);case 27:return vw(n,i,o);case 29:return ww(n,i,o);case 35:return Sw(n,i,o);default:throw new bp(o)}}function _w(n,i){try{return Ie(n,0,i)}catch(o){throw new $v(o)}}var Rw=()=>T;Rw.toString();function Nd(n,i){let o=Gp(i.plugins),a=b0({plugins:o,refs:i.refs,features:i.features,disabledFeatures:i.disabledFeatures,depthLimit:i.depthLimit});return _w(a,n)}async function xw(n,i={}){let o=Gp(i.plugins),a=g0(1,{plugins:o,disabledFeatures:i.disabledFeatures});return{t:await O0(a,n),f:a.base.features,m:Array.from(a.base.marked)}}function kw(n){return{tag:"$TSR/t/"+n.key,test:n.test,parse:{sync(i,o,a){return{v:o.parse(n.toSerializable(i))}},async async(i,o,a){return{v:await o.parse(n.toSerializable(i))}},stream(i,o,a){return{v:o.parse(n.toSerializable(i))}}},serialize:void 0,deserialize(i,o,a){return n.fromSerializable(o.deserialize(i.v))}}}var Pw=class{constructor(n,i){this.stream=n,this.hint=i?.hint??"binary"}};const Is=globalThis.Buffer,eh=!!Is&&typeof Is.from=="function";function th(n){if(n.length===0)return"";if(eh)return Is.from(n).toString("base64");const i=32768,o=[];for(let a=0;a<n.length;a+=i){const u=n.subarray(a,a+i);o.push(String.fromCharCode.apply(null,u))}return btoa(o.join(""))}function nh(n){if(n.length===0)return new Uint8Array(0);if(eh){const a=Is.from(n,"base64");return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}const i=atob(n),o=new Uint8Array(i.length);for(let a=0;a<i.length;a++)o[a]=i.charCodeAt(a);return o}const Bo=Object.create(null),Uo=Object.create(null),Ew=n=>new ReadableStream({start(i){n.on({next(o){try{i.enqueue(nh(o))}catch{}},throw(o){i.error(o)},return(){try{i.close()}catch{}}})}}),Cw=new TextEncoder,Iw=n=>
11new ReadableStream({start(i){n.on({next(o){try{typeof o=="string"?i.enqueue(Cw.encode(o)):i.enqueue(nh(o.$b64))}catch{}},throw(o){i.error(o)},return(){try{i.close()}catch{}}})}}),Lw="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",Tw="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function Fd(n){const i=cr(),o=n.getReader();return(async()=>{try{for(;;){const{done:a,value:u}=await o.read();if(a){i.return(void 0);break}i.next(th(u))}}catch(a){i.throw(a)}finally{o.releaseLock()}})(),i}function zd(n){const i=cr(),o=n.getReader(),a=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:u,value:f}=await o.read();if(u){try{const d=a.decode();d.length>0&&i.next(d)}catch{}i.return(void 0);break}try{const d=a.decode(f,{stream:!0});d.length>0&&i.next(d)}catch{i.next({$b64:th(f)})}}}catch(u){i.throw(u)}finally{o.releaseLock()}})(),i}const Aw={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(n){return n===Bo},parse:{sync(n,i,o){return{}},async async(n,i,o){return{}},stream(n,i,o){return{}}},serialize(n,i,o){return Lw},deserialize(n,i,o){return Bo}},{tag:"tss/RawStreamFactoryText",test(n){return n===Uo},parse:{sync(n,i,o){return{}},async async(n,i,o){return{}},stream(n,i,o){return{}}},serialize(n,i,o){return Tw},deserialize(n,i,o){return Uo}}],test(n){return n instanceof Pw},parse:{sync(n,i,o){const a=n.hint==="text"?Uo:Bo;return{hint:i.parse(n.hint),factory:i.parse(a),stream:i.parse(cr())}},async async(n,i,o){const a=n.hint==="text"?Uo:Bo,u=n.hint==="text"?zd(n.stream):Fd(n.stream);return{hint:await i.parse(n.hint),factory:await i.parse(a),stream:await i.parse(u)}},stream(n,i,o){const a=n.hint==="text"?Uo:Bo,u=n.hint==="text"?zd(n.stream):Fd(n.stream);return{hint:i.parse(n.hint),factory:i.parse(a),stream:i.parse(u)}}},serialize(n,i,o){return"("+i.serialize(n.factory)+")("+i.serialize(n.stream)+")"},deserialize(n,i,o){const a=i.deserialize(n.stream);return i.deserialize(n.hint)==="text"?Iw(a):Ew(a)}};function Mw(n){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(i,o,a){return n(typeof o?.deserialize=="function"?o.deserialize(i.streamId):i.streamId)}}}const Ow={tag:"$TSR/Error",test(n){return n instanceof Error},parse:{sync(n,i){return{message:i.parse(n.message)}},async async(n,i){return{message:await i.parse(n.message)}},stream(n,i){return{message:i.parse(n.message)}}},serialize(n,i){return"new Error("+i.serialize(n.message)+")"},deserialize(n,i){return new Error(i.deserialize(n.message))}};var Mn={},rh=n=>new ReadableStream({start:i=>{n.on({next:o=>{try{i.enqueue(o)}catch{}},throw:o=>{i.error(o)},return:()=>{try{i.close()}catch{}}})}}),Nw={tag:"seroval-plugins/web/ReadableStreamFactory",test(n){return n===Mn},parse:{sync(){return Mn},async async(){return await Promise.resolve(Mn)},stream(){return Mn}},serialize(){return rh.toString()},deserialize(){return Mn}};async function oh(n,i){try{let o=await i.read();o.done?(n.return(o.value),i.releaseLock()):(n.next(o.value),await oh(n,i))}catch(o){n.throw(o)}}function Fw(n){n.cancel().catch(()=>{}),n.releaseLock()}function Dd(n){let i=cr(),o=n.getReader(),a=Fw.bind(null,o);return oh(i,o).catch(a),[i,a]}var zw={tag:"seroval/plugins/web/ReadableStream",extends:[Nw],test(n){return typeof ReadableStream>"u"?!1:n instanceof ReadableStream},parse:{sync(n,i){return{factory:i.parse(Mn),stream:i.parse(cr())}},async async(n,i){return{factory:await i.parse(Mn),stream:await i.parse(Dd(n)[0])}},stream(n,i){let[o,a]=Dd(n);return i.addCleanup(a),{factory:i.parse(Mn),stream:i.parse(o)}}}
11,serialize(n,i){return"("+i.serialize(n.factory)+")("+i.serialize(n.stream)+")"},deserialize(n,i){let o=i.deserialize(n.stream);return rh(o)}},Dw=zw;const jw=[Ow,Aw,Dw];function $w(){return[...ru()?.serializationAdapters?.map(kw)??[],...jw]}var jd=new TextDecoder,Bw=new Uint8Array(0),$d=16*1024*1024,Bd=32*1024*1024,Ud=1024,Vd=1e5;function Uw(n){const i=new Map,o=new Map,a=new Set;let u=!1,f=null,d=0,p;const g=new ReadableStream({start(h){p=h},cancel(){u=!0;try{f?.cancel()}catch{}i.forEach(h=>{try{h.error(new Error("Framed response cancelled"))}catch{}}),i.clear(),o.clear(),a.clear()}});function y(h){const w=o.get(h);if(w)return w;if(a.has(h))return new ReadableStream({start(E){E.close()}});if(o.size>=Ud)throw new Error(`Too many raw streams in framed response (max ${Ud})`);const _=new ReadableStream({start(E){i.set(h,E)},cancel(){a.add(h),i.delete(h),o.delete(h)}});return o.set(h,_),_}function v(h){return y(h),i.get(h)}return(async()=>{const h=n.getReader();f=h;const w=[];let _=0;function E(){if(_<9)return null;const x=w[0];if(x.length>=9)return{type:x[0],streamId:(x[1]<<24|x[2]<<16|x[3]<<8|x[4])>>>0,length:(x[5]<<24|x[6]<<16|x[7]<<8|x[8])>>>0};const C=new Uint8Array(9);let N=0,z=9;for(let F=0;F<w.length&&z>0;F++){const U=w[F],H=Math.min(U.length,z);C.set(U.subarray(0,H),N),N+=H,z-=H}return{type:C[0],streamId:(C[1]<<24|C[2]<<16|C[3]<<8|C[4])>>>0,length:(C[5]<<24|C[6]<<16|C[7]<<8|C[8])>>>0}}function A(x){if(x===0)return Bw;const C=w[0];if(C&&C.length>=x){const U=C.subarray(0,x);return C.length===x?w.shift():w[0]=C.subarray(x),_-=x,U}const N=new Uint8Array(x);let z=0,F=x;for(;F>0&&w.length>0;){const U=w[0];if(!U)break;const H=Math.min(U.length,F);N.set(U.subarray(0,H),z),z+=H,F-=H,H===U.length?w.shift():w[0]=U.subarray(H)}return _-=x,N}try{for(;;){const{done:x,value:C}=await h.read();if(u||x)break;if(C){if(_+C.length>Bd)throw new Error(`Framed response buffer exceeded ${Bd} bytes`);for(w.push(C),_+=C.length;;){const N=E();if(!N)break;const{type:z,streamId:F,length:U}=N;if(z!==on.JSON&&z!==on.CHUNK&&z!==on.END&&z!==on.ERROR)throw new Error(`Unknown frame type: ${z}`);if(z===on.JSON){if(F!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(F===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(U>$d)throw new Error(`Frame payload too large: ${U} bytes (max ${$d})`);const H=9+U;if(_<H)break;if(++d>Vd)throw new Error(`Too many frames in framed response (max ${Vd})`);A(9);const B=A(U);switch(z){case on.JSON:try{p.enqueue(jd.decode(B))}catch{}break;case on.CHUNK:{const b=v(F);b&&b.enqueue(B);break}case on.END:{const b=v(F);if(a.add(F),b){try{b.close()}catch{}i.delete(F)}break}case on.ERROR:{const b=v(F);if(a.add(F),b){const Y=jd.decode(B);b.error(new Error(Y)),i.delete(F)}break}}}}}if(_!==0)throw new Error("Incomplete frame at end of framed response");try{p.close()}catch{}i.forEach(x=>{try{x.close()}catch{}}),i.clear()}catch(x){try{p.error(x)}catch{}i.forEach(C=>{try{C.error(x)}catch{}}),i.clear()}finally{try{h.releaseLock()}catch{}f=null}})(),{getOrCreateStream:y,jsonChunks:g}}var Xo=null;async function ql(n){n.length>0&&await Promise.allSettled(n)}var Vw=Object.prototype.hasOwnProperty;function ih(n){for(const i in n)if(Vw.call(n,i))return!0;return!1}async function bw(n,i,o){Xo||(Xo=$w());const a=i[0],u=a.fetch??o,f=a.data instanceof FormData?"formData":"payload",d=a.headers?new Headers(a.headers):new Headers;if(d.set("x-tsr-serverFn","true"),f==="payload"&&d.set("accept",`${zg}, application/x-ndjson, application/json`),a.method==="GET"){if(f==="formData")throw new Error("FormData is not supported with GET requests");const g=await sh(a);if(g!==void 0){const y=gp({payload:g});n.includes("?")?n+=`&${y}`:n+=`?${y}`}}let p;if(a.method==="POST"){const g=await Ww(a);g?.contentType&&d.set("content-type",g.contentType),p=g?.body}return await Hw(async()=>u(n,{method:a.method,headers:d,signal:a.signal,body:p}))}async function sh(n){let i=!1;const o={};if(n.data!==void 0&&(i=!0,o.data=n.data),n.context&&ih(n.context)&&(i=!0,o.context=n.context),i)return ah(o)}async function ah(n){return JSON.stringify(await Promise.resolve(xw(n,{plugins:Xo})))}
11async function Ww(n){if(n.data instanceof FormData){let o;return n.context&&ih(n.context)&&(o=await ah(n.context)),o!==void 0&&n.data.set(Fg,o),{body:n.data}}const i=await sh(n);if(i)return{body:i,contentType:"application/json"}}async function Hw(n){let i;try{i=await n()}catch(a){if(a instanceof Response)i=a;else throw console.log(a),a}if(i.headers.get("x-tss-raw")==="true")return i;const o=i.headers.get("content-type");if(o||vt(),i.headers.get("x-tss-serialized")){let a;if(o.includes("application/x-tss-framed")){if($g(o),!i.body)throw new Error("No response body for framed response");const{getOrCreateStream:u,jsonChunks:f}=Uw(i.body),d=[Mw(u),...Xo||[]],p=new Map;a=await Kw({jsonStream:f,onMessage:g=>Nd(g,{refs:p,plugins:d}),onError(g,y){console.error(g,y)}})}else if(o.includes("application/json")){const u=await i.json(),f=[];a=Nd(u,{plugins:Xo}),await ql(f)}if(a||vt(),a instanceof Error)throw a;return a}if(o.includes("application/json")){const a=await i.json(),u=yp(a);if(u)throw u;if(Je(a))throw a;return a}if(!i.ok)throw new Error(await i.text());return i}async function Kw({jsonStream:n,onMessage:i,onError:o}){const a=n.getReader(),{value:u,done:f}=await a.read();if(f||!u)throw new Error("Stream ended before first object");const d=JSON.parse(u);let p=!1;const g=(async()=>{try{for(;;){const{value:h,done:w}=await a.read();if(w)break;if(h)try{const _=[];try{i(JSON.parse(h))}finally{}await ql(_)}catch(_){o?.(`Invalid JSON: ${h}`,_)}}}catch(h){p||o?.("Stream processing error:",h)}})();let y;const v=[];try{y=i(d)}catch(h){throw p=!0,a.cancel().catch(()=>{}),h}return await ql(v),Promise.resolve(y).catch(()=>{p=!0,a.cancel().catch(()=>{})}),g.finally(()=>{try{a.releaseLock()}catch{}}),y}function cu(n){const i="/_serverFn/"+n;return Object.assign((...u)=>{const f=ru()?.serverFns?.fetch;return bw(i,u,f??fetch)},{url:i,serverFnMeta:{id:n},[Kl]:!0})}var Qw={key:"$TSS/serverfn",test:n=>typeof n!="function"||!(Kl in n)?!1:!!n[Kl],toSerializable:({serverFnMeta:n})=>({functionId:n.id}),fromSerializable:({functionId:n})=>cu(n)};function lh(n){if(Array.isArray(n))return n.flatMap(v=>lh(v));if(typeof n!="string")return[];const i=[];let o=0,a,u,f,d,p;const g=()=>{for(;o<n.length&&/\s/.test(n.charAt(o));)o+=1;return o<n.length},y=()=>(u=n.charAt(o),u!=="="&&u!==";"&&u!==",");for(;o<n.length;){for(a=o,p=!1;g();)if(u=n.charAt(o),u===","){for(f=o,o+=1,g(),d=o;o<n.length&&y();)o+=1;o<n.length&&n.charAt(o)==="="?(p=!0,o=d,i.push(n.slice(a,f)),a=o):o=f+1}else o+=1;(!p||o>=n.length)&&i.push(n.slice(a))}return i}function Gw(n){return n instanceof Headers?n:Array.isArray(n)?new Headers(n):typeof n=="object"?new Headers(n):null}function Yw(...n){return n.reduce((i,o)=>{const a=Gw(o);if(!a)return i;for(const[u,f]of a.entries())u==="set-cookie"?lh(f).forEach(d=>i.append("set-cookie",d)):i.set(u,f);return i},new Headers)}function bd(n){return n.replaceAll("\0","/").replaceAll("�","/")}function Xw(n,i){n.id=i.i,n.__beforeLoadContext=i.b,n.loaderData=i.l,n.status=i.s,n.ssr=i.ssr,n.updatedAt=i.u,n.error=i.e,i.g!==void 0&&(n.globalNotFound=i.g)}async function qw(n){window.$_TSR||vt();const i=n.options.serializationAdapters;if(i?.length){const x=new Map;i.forEach(C=>{x.set(C.key,C.fromSerializable)}),window.$_TSR.t=x,window.$_TSR.buffer.forEach(C=>C())}window.$_TSR.initialized=!0,window.$_TSR.router||vt();const o=window.$_TSR.router;o.matches.forEach(x=>{x.i=bd(x.i)}),o.lastMatchId&&(o.lastMatchId=bd(o.lastMatchId));const{manifest:a,dehydratedData:u,lastMatchId:f}=o;n.ssr={manifest:a};const d=document.querySelector('meta[property="csp-nonce"]')?.content;n.options.ssr={nonce:d},await n.options.hydrate?.(u);const p=n.matchRoutes(n.stores.location.get()),g=Promise.all(p.map(x=>n.loadRouteChunk(n.looseRoutesById[x.routeId])));function y(x){const C=n.looseRoutesById[x.routeId].options.pendingMinMs??n.options.defaultPendingMinMs;if(C){const N=lr();x._nonReactive.minPendingPromise=N,x._forcePending=!0,setTimeout(()=>{N.resolve(),n.updateMatch(x.id,z=>(z._nonReactive.minPendingPromise=void 0,{...z,_forcePending:void 0}))},C)}}function v(x){const C=n.looseRoutesById[x.routeId];C&&(C.options.ssr=x.ssr)}let h;p.forEach(x=>{const C=o.matches.find(N=>N.i===x.id);if(!C){x._nonReactive.dehydrated=!1,x.ssr=!1,v(x);return}Xw(x,C),v(x),x._nonReactive.dehydrated=x.ssr!==!1,(x.ssr==="data-only"||x.ssr===!1)&&h===void 0&&(h=x.index,y(x))}),n.stores.setMatches(p);const w=n.stores.matches.get(),_=n.stores.location.get();await Promise.all(w.map(async x=>{try{const C=n.looseRoutesById[x.routeId],N=w[x.index-1]?.context??n.options.context;if(C.options.context){const H={deps:x.loaderDeps,params:x.params,context:N??{},location:_,navigate:B=>n.navigate({...B,_fromLocation:_}),buildLocation:n.buildLocation,cause:x.cause,abortController:x.abortController,preload:!1,matches:p,routeId:C.id};
11x.__routeContext=C.options.context(H)??void 0}x.context={...N,...x.__routeContext,...x.__beforeLoadContext};const z={ssr:n.options.ssr,matches:w,match:x,params:x.params,loaderData:x.loaderData},F=await C.options.head?.(z),U=await C.options.scripts?.(z);x.meta=F?.meta,x.links=F?.links,x.headScripts=F?.scripts,x.styles=F?.styles,x.scripts=U}catch(C){if(Je(C))x.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${x.routeId}`,C);else throw x.error=C,console.error(`Error during hydration for route ${x.routeId}:`,C),C}}));const E=p[p.length-1].id!==f;if(!p.some(x=>x.ssr===!1)&&!E)return p.forEach(x=>{x._nonReactive.dehydrated=void 0}),n.stores.resolvedLocation.set(n.stores.location.get()),g;const A=Promise.resolve().then(()=>n.load()).catch(x=>{console.error("Error during router hydration:",x)});if(E){const x=p[1];x||vt(),y(x),x._displayPending=!0,x._nonReactive.displayPendingPromise=A,A.then(()=>{n.batch(()=>{n.stores.status.get()==="pending"&&(n.stores.status.set("idle"),n.stores.resolvedLocation.set(n.stores.location.get())),n.updateMatch(x.id,C=>({...C,_displayPending:void 0,displayPendingPromise:void 0}))})})}return g}var Ls=te.use,bo=typeof window<"u"?te.useLayoutEffect:te.useEffect;function jl(n){const i=te.useRef({value:n,prev:null}),o=i.current.value;return n!==o&&(i.current={value:n,prev:o}),i.current.prev}function Jw(n,i,o={},a={}){te.useEffect(()=>{if(!n.current||a.disabled||typeof IntersectionObserver!="function")return;const u=new IntersectionObserver(([f])=>{i(f)},o);return u.observe(n.current),()=>{u.disconnect()}},[i,o,a.disabled,n])}function Zw(n){const i=te.useRef(null);return te.useImperativeHandle(n,()=>i.current,[]),i}function eS({promise:n}){if(Ls)return Ls(n);const i=by(n);if(i[Ht].status==="pending")throw i;if(i[Ht].status==="error")throw i[Ht].error;return i[Ht].data}function tS(n){const i=K.jsx(nS,{...n});return n.fallback?K.jsx(te.Suspense,{fallback:n.fallback,children:i}):i}function nS(n){const i=eS(n);return n.children(i)}function fu(n){const i=n.errorComponent??du;return K.jsx(rS,{getResetKey:n.getResetKey,onCatch:n.onCatch,children:({error:o,reset:a})=>o?te.createElement(i,{error:o,reset:a}):n.children})}var rS=class extends te.Component{constructor(...n){super(...n),this.state={error:null}}static getDerivedStateFromProps(n,i){const o=n.getResetKey();return i.error&&i.resetKey!==o?{resetKey:o,error:null}:{resetKey:o}}static getDerivedStateFromError(n){return{error:n}}reset(){this.setState({error:null})}componentDidCatch(n,i){this.props.onCatch&&this.props.onCatch(n,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function du({error:n}){const[i,o]=te.useState(!1);return K.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[K.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),K.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>o(a=>!a),children:i?"Hide Error":"Show Error"})]}),K.jsx("div",{style:{height:".25rem"}}),i?K.jsx("div",{children:K.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:n.message?K.jsx("code",{children:n.message}):null})}):null]})}function oS({children:n,fallback:i=null}){return pu()?K.jsx(Yr.Fragment,{children:n}):K.jsx(Yr.Fragment,{children:i})}function pu(){return Yr.useSyncExternalStore(iS,()=>!0,()=>!1)}function iS(){return()=>{}}var uh=te.createContext(null);function at(n){return te.useContext(uh)}var Ds=te.createContext(void 0),sS=te.createContext(void 0),Fe=(n=>(n[n.None=0]="None",n[n.Mutable=1]="Mutable",n[n.Watching=2]="Watching",n[n.RecursedCheck=4]="RecursedCheck",n[n.Recursed=8]="Recursed",n[n.Dirty=16]="Dirty",n[n.Pending=32]="Pending",n))(Fe||{});function aS({update:n,notify:i,unwatched:o}){return{link:a,unlink:u,propagate:f,checkDirty:d,shallowPropagate:p};function a(y,v,h){const w=v.depsTail;if(w!==void 0&&w.dep===y)return;const _=w!==void 0?w.nextDep:v.deps;if(_!==void 0&&_.dep===y){_.version=h,v.depsTail=_;return}const E=y.subsTail;if(E!==void 0&&E.version===h&&E.sub===v)return;const A=v.depsTail=y.subsTail={version:h,dep:y,sub:v,prevDep:w,nextDep:_,prevSub:E,nextSub:void 0};_!==void 0&&(_.prevDep=A),w!==void 0?w.nextDep=A:v.deps=A,E!==void 0?E.nextSub=A:y.subs=A}function u(y,v=y.sub){const h=y.dep,w=y.prevDep,_=y.nextDep,E=y.nextSub,A=y.prevSub;return _!==void 0?_.prevDep=w:v.depsTail=w,w!==void 0?w.nextDep=_:v.deps=_,E!==void 0?E.prevSub=A:h.subsTail=A,A!==void 0?A.nextSub=E:(h.subs=E)===void 0&&o(h),_}function f(y){let v=y.nextSub,h;e:do{const w=y.sub;let _=w.flags;if(_&60?_&12?_&4?!(_&48)&&g(y,w)?(w.flags=_|40,_&=1):_=0:w.flags=_&-9|32:_=0:w.flags=_|32,_&2&&i(w),_&1){const E=w.subs;if(E!==void 0){const A=(y=E).nextSub;A!==void 0&&(h={value:v,prev:h},v=A);continue}}if((y=v)!==void 0){v=y.nextSub;continue}for(;h!==void 0;)if(y=h.value,h=h.prev,y!==void 0){v=y.nextSub;continue e}break}while(!0)}function d(y,v){let h,w=0,_=!1;e:do{const E=y.dep,A=E.flags;if(v.flags&16)_=!0;else if((A&17)===17){if(n(E)){const x=E.subs;x.nextSub!==void 0&&p(x),_=!0}}else if((A&33)===33){(y.nextSub!==void 0||y.prevSub!==void 0)&&(h={value:y,prev:h}),y=E.deps,v=E,++w;continue}if(!_){const x=y.nextDep;if(x!==void 0){y=x;continue}}for(;w--;){const x=v.subs,C=x.nextSub!==void 0;if(C?(y=h.value,h=h.prev):y=x,_){if(n(v)){C&&p(x),v=y.sub;continue}_=!1}else v.flags&=-33;v=y.sub;const N=y.nextDep;if(N!==void 0){y=N;continue e}}return _}while(!0)}function p(y){do{const v=y.sub,h=v.flags;(h&48)===32&&(v.flags=h|16,(h&6)===2&&i(v))}while((y=y.nextSub)!==void 0)}function g(y,v){let h=v.depsTail;for(;h!==void 0;){if(h===y)return!0;h=h.prevDep}return!1}}function lS(n,i,o){const a=typeof n=="object",u=a?n:void 0;return{next:(a?n.next:n)?.bind(u),error:(a?n.error:i)?.bind(u),complete:(a?n.complete:o)?.bind(u)}}const Jl=[];let Rs=0;const{link:Wd,unlink:uS,propagate:cS,checkDirty:ch,shallowPropagate:Hd}=aS({update(n){return n._update()},notify(n){Jl[Zl++]=n,n.flags&=~Fe.Watching},unwatched(n){n.depsTail!==void 0&&(n.depsTail=void 0,n.flags=Fe.Mutable|Fe.Dirty,Ts(n))}});let gs=0,Zl=0,Wt,eu=0;function fh(n){try{++eu,n()}finally{--eu||dh()}}function Ts(n){const i=n.depsTail;let o=i!==void 0?i.nextDep:n.deps;for(;o!==void 0;)o=uS(o,n)}function dh(){if(!(eu>0)){for(;gs<Zl;){const n=Jl[gs];Jl[gs++]=void 0,n.notify()}gs=0,Zl=0}}function Kd(n,i){const o=typeof n=="function",a=n,u={_snapshot:o?void 0:n,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:o?Fe.None:Fe.Mutable,get(){return Wt!==void 0&&Wd(u,Wt,Rs),u._snapshot},subscribe(f){const d=lS(f),p={current:!1},g=fS(()=>{u.get(),p.current?d.next?.(u._snapshot):p.current=!0});return{unsubscribe:()=>{g.stop()}}},_update(f){const d=Wt,p=i?.compare??Object.is;if(o)Wt=u,++Rs,u.depsTail=void 0;else if(f===void 0)return!1;o&&(u.flags=Fe.Mutable|Fe.RecursedCheck);try{const g=u._snapshot,y=typeof f=="function"?f(g):f===void 0&&o?a(g):f;return g===void 0||!p(g,y)?(u._snapshot=y,!0):!1}finally{Wt=d,o&&(u.flags&=~Fe.RecursedCheck),Ts(u)}}};return o?(u.flags=Fe.Mutable|Fe.Dirty,u.get=function(){const f=u.flags;if(f&Fe.Dirty||f&Fe.Pending&&ch(u.deps,u)){if(u._update()){const d=u.subs;d!==void 0&&Hd(d)}}else f&Fe.Pending&&(u.flags=f&~Fe.Pending);return Wt!==void 0&&Wd(u,Wt,Rs),u._snapshot}):u.set=function(f){if(u._update(f)){const d=u.subs;d!==void 0&&(cS(d),Hd(d),dh())}},u}function fS(n){const i=()=>{const a=Wt;Wt=o,++Rs,o.depsTail=void 0,o.flags=Fe.Watching|Fe.RecursedCheck;try{return n()}finally{Wt=a,o.flags&=~Fe.RecursedCheck,Ts(o)}},o={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Fe.Watching|Fe.RecursedCheck,notify(){const a=this.flags;a&Fe.Dirty||a&Fe.Pending&&ch(this.deps,this)?i():this.flags=Fe.Watching},stop(){this.flags=Fe.None,this.depsTail=void 0,Ts(this)}};return i(),o}var $l={exports:{}},Bl={},Ul={exports:{}},Vl={};var Qd;function dS(){if(Qd)return Vl;Qd=1;var n=qo();function i(h,w){return h===w&&(h!==0||1/h===1/w)||h!==h&&w!==w}var o=typeof Object.is=="function"?Object.is:i,a=n.useState,u=n.useEffect,f=n.useLayoutEffect,d=n.useDebugValue;function p(h,w){var _=w(),E=a({inst:{value:_,getSnapshot:w}}),A=E[0].inst,x=E[1];return f(function(){A.value=_,A.getSnapshot=w,g(A)&&x({inst:A})},[h,_,w]),u(function(){return g(A)&&x({inst:A}),h(function(){g(A)&&x({inst:A})})},[h]),d(_),_}function g(h){var w=h.getSnapshot;h=h.value;try{var _=w();return!o(h,_)}catch{return!0}}function y(h,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:p;return Vl.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:v,Vl}var Gd;
11function pS(){return Gd||(Gd=1,Ul.exports=dS()),Ul.exports}var Yd;function hS(){if(Yd)return Bl;Yd=1;var n=qo(),i=pS();function o(y,v){return y===v&&(y!==0||1/y===1/v)||y!==y&&v!==v}var a=typeof Object.is=="function"?Object.is:o,u=i.useSyncExternalStore,f=n.useRef,d=n.useEffect,p=n.useMemo,g=n.useDebugValue;return Bl.useSyncExternalStoreWithSelector=function(y,v,h,w,_){var E=f(null);if(E.current===null){var A={hasValue:!1,value:null};E.current=A}else A=E.current;E=p(function(){function C(H){if(!N){if(N=!0,z=H,H=w(H),_!==void 0&&A.hasValue){var B=A.value;if(_(B,H))return F=B}return F=H}if(B=F,a(z,H))return B;var b=w(H);return _!==void 0&&_(B,b)?(z=H,B):(z=H,F=b)}var N=!1,z,F,U=h===void 0?null:h;return[function(){return C(v())},U===null?void 0:function(){return C(U())}]},[v,h,w,_]);var x=u(y,E[0],E[1]);return d(function(){A.hasValue=!0,A.value=x},[x]),g(x),x},Bl}var Xd;function mS(){return Xd||(Xd=1,$l.exports=hS()),$l.exports}var gS=mS();function yS(n,i){return n===i}function $e(n,i,o=yS){const a=te.useCallback(d=>{if(!n)return()=>{};const{unsubscribe:p}=n.subscribe(d);return p},[n]),u=te.useCallback(()=>n?.get(),[n]);return gS.useSyncExternalStoreWithSelector(a,u,u,i,o)}var bl={get(){},subscribe(){return{unsubscribe(){}}}};function vS(n,i){const o=te.useRef();return a=>{const u=n?.select?n.select(a):a;return n?.structuralSharing??i.options.defaultStructuralSharing?o.current=rr(o.current,u):u}}function fr(n){const i=at(),o=te.useContext(n.from?sS:Ds),a=n.from?i.stores.getRouteMatchStore(n.from):i.stores.matchStores.get(o),u=vS(n,i),f=$e(a??bl,d=>d?u(d):bl);if(f!==bl)return f;(n.shouldThrow??!0)&&vt()}function ph(n){return fr({from:n.from,strict:n.strict,structuralSharing:n.structuralSharing,select:i=>n.select?n.select(i.loaderData):i.loaderData})}function hh(n){const{select:i,...o}=n;return fr({...o,select:a=>i?i(a.loaderDeps):a.loaderDeps})}function mh(n){return fr({from:n.from,shouldThrow:n.shouldThrow,structuralSharing:n.structuralSharing,strict:n.strict,select:i=>{const o=n.strict===!1?i.params:i._strictParams;return n.select?n.select(o):o}})}function gh(n){return fr({from:n.from,strict:n.strict,shouldThrow:n.shouldThrow,structuralSharing:n.structuralSharing,select:i=>n.select?n.select(i.search):i.search})}function yh(n){const i=at();return te.useCallback(o=>i.navigate({...o,from:o.from??n?.from}),[n?.from,i])}function vh(n){return fr({...n,select:i=>n.select?n.select(i.context):i.context})}var wS=ip();function SS(n,i){const o=at(),a=Zw(i),{activeProps:u,inactiveProps:f,activeOptions:d,to:p,preload:g,preloadDelay:y,preloadIntentProximity:v,hashScrollIntoView:h,replace:w,startTransition:_,resetScroll:E,viewTransition:A,children:x,target:C,disabled:N,style:z,className:F,onClick:U,onBlur:H,onFocus:B,onMouseEnter:b,onMouseLeave:Y,onTouchStart:ie,ignoreBlocker:se,params:ae,search:Oe,hash:Le,state:Ve,mask:We,reloadDocument:ye,unsafeRelative:Q,from:ne,_fromLocation:X,...I}=n,D=pu(),ce=te.useMemo(()=>n,[o,n.from,n._fromLocation,n.hash,n.to,n.search,n.params,n.state,n.mask,n.unsafeRelative]),fe=$e(o.stores.location,Ce=>Ce,(Ce,et)=>Ce.href===et.href),le=te.useMemo(()=>{const Ce={_fromLocation:fe,...ce};return o.buildLocation(Ce)},[o,fe,ce]),ve=le.maskedLocation?le.maskedLocation.publicHref:le.publicHref,ke=le.maskedLocation?le.maskedLocation.external:le.external,we=te.useMemo(()=>ES(ve,ke,o.history,N),[N,ke,ve,o.history]),xe=te.useMemo(()=>{if(we?.external)return ks(we.href,o.protocolAllowlist)?void 0:we.href;if(!CS(p)&&!(typeof p!="string"||p.indexOf(":")===-1))try{return new URL(p),ks(p,o.protocolAllowlist)?void 0:p}catch{}},[p,we,o.protocolAllowlist]),Ze=te.useMemo(()=>{if(xe)return!1;if(d?.exact){if(!ay(fe.pathname,le.pathname,o.basepath))return!1}else{const Ce=Ps(fe.pathname,o.basepath),et=Ps(le.pathname,o.basepath);if(!(Ce.startsWith(et)&&(Ce.length===et.length||Ce[et.length]==="/")))return!1}return(d?.includeSearch??!0)&&!ct(fe.search,le.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined})?!1:d?.includeHash?D&&fe.hash===le.hash:!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,fe,xe,D,le.hash,le.pathname,le.search,o.basepath]),Gt=Ze?nr(u,{})??_S:Wl,$n=Ze?Wl:nr(f,{}
11)??Wl,Bn=[F,Gt.className,$n.className].filter(Boolean).join(" "),dr=(z||Gt.style||$n.style)&&{...z,...Gt.style,...$n.style},[ti,Xr]=te.useState(!1),pr=te.useRef(!1),Yt=n.reloadDocument||xe?!1:g??o.options.defaultPreload,Un=y??o.options.defaultPreloadDelay??0,wt=te.useCallback(()=>{o.preloadRoute({...ce,_builtLocation:le}).catch(Ce=>{console.warn(Ce),console.warn(Wy)})},[o,ce,le]);Jw(a,te.useCallback(Ce=>{Ce?.isIntersecting&&wt()},[wt]),PS,{disabled:!!N||Yt!=="viewport"}),te.useEffect(()=>{pr.current||!N&&Yt==="render"&&(wt(),pr.current=!0)},[N,wt,Yt]);const fn=Ce=>{const et=Ce.currentTarget.getAttribute("target"),At=C!==void 0?C:et;if(!N&&!IS(Ce)&&!Ce.defaultPrevented&&(!At||At==="_self")&&Ce.button===0){Ce.preventDefault(),wS.flushSync(()=>{Xr(!0)});const mr=o.subscribe("onResolved",()=>{mr(),Xr(!1)});o.navigate({...ce,replace:w,resetScroll:E,hashScrollIntoView:h,startTransition:_,viewTransition:A,ignoreBlocker:se})}};if(xe)return{...I,ref:a,href:xe,...x&&{children:x},...C&&{target:C},...N&&{disabled:N},...z&&{style:z},...F&&{className:F},...U&&{onClick:U},...H&&{onBlur:H},...B&&{onFocus:B},...b&&{onMouseEnter:b},...Y&&{onMouseLeave:Y},...ie&&{onTouchStart:ie}};const hr=Ce=>{if(N||Yt!=="intent")return;if(!Un){wt();return}const et=Ce.currentTarget;if(Vo.has(et))return;const At=setTimeout(()=>{Vo.delete(et),wt()},Un);Vo.set(et,At)},ni=Ce=>{N||Yt!=="intent"||wt()},qr=Ce=>{if(N||!Yt||!Un)return;const et=Ce.currentTarget,At=Vo.get(et);At&&(clearTimeout(At),Vo.delete(et))};return{...I,...Gt,...$n,href:we?.href,ref:a,onClick:Br([U,fn]),onBlur:Br([H,qr]),onFocus:Br([B,hr]),onMouseEnter:Br([b,hr]),onMouseLeave:Br([Y,qr]),onTouchStart:Br([ie,ni]),disabled:!!N,target:C,...dr&&{style:dr},...Bn&&{className:Bn},...N&&RS,...Ze&&xS,...D&&ti&&kS}}var Wl={},_S={className:"active"},RS={role:"link","aria-disabled":!0},xS={"data-status":"active","aria-current":"page"},kS={"data-transitioning":"transitioning"},Vo=new WeakMap,PS={rootMargin:"100px"},Br=n=>i=>{for(const o of n)if(o){if(i.defaultPrevented)return;o(i)}};function ES(n,i,o,a){if(!a)return i?{href:n,external:!0}:{href:o.createHref(n)||"/",external:!1}}function CS(n){if(typeof n!="string")return!1;const i=n.charCodeAt(0);return i===47?n.charCodeAt(1)!==47:i===46}var wh=te.forwardRef((n,i)=>{const{_asChild:o,...a}=n,{type:u,...f}=SS(a,i),d=typeof a.children=="function"?a.children({isActive:f["data-status"]==="active"}):a.children;if(!o){const{disabled:p,...g}=f;return te.createElement("a",g,d)}return te.createElement(o,f,d)});function IS(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}var LS=class extends kp{constructor(i){super(i),this.useMatch=o=>fr({select:o?.select,from:this.id,structuralSharing:o?.structuralSharing}),this.useRouteContext=o=>vh({...o,from:this.id}),this.useSearch=o=>gh({select:o?.select,structuralSharing:o?.structuralSharing,from:this.id}),this.useParams=o=>mh({select:o?.select,structuralSharing:o?.structuralSharing,from:this.id}),this.useLoaderDeps=o=>hh({...o,from:this.id}),this.useLoaderData=o=>ph({...o,from:this.id}),this.useNavigate=()=>yh({from:this.fullPath}),this.Link=Yr.forwardRef((o,a)=>K.jsx(wh,{ref:a,from:this.fullPath,...o}))}};function TS(n){return new LS(n)}var AS=class extends Yy{constructor(n){super(n),this.useMatch=i=>fr({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>vh({...i,from:this.id}),this.useSearch=i=>gh({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>mh({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>hh({...i,from:this.id}),this.useLoaderData=i=>ph({...i,from:this.id}),this.useNavigate=()=>yh({from:this.fullPath}),this.Link=Yr.forwardRef((i,o)=>K.jsx(wh,{ref:o,from:this.fullPath,...i}))}};function MS(n){return new AS(n)}function de(n){return new OS(n,{silent:!0}).createRoute}var OS=class{constructor(n,i){this.path=n,this.createRoute=o=>{const a=TS(o);return a.isRoot=!1,a},this.silent=i?.silent}};function pe(n,i){let o,a,u,f;const d=()=>(o||(o=n().then(g=>{o=void 0,a=g[i]}).catch(g=>{if(u=g,Vg(u)&&u instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const y=`tanstack_router_reload:${u.message}`;sessionStorage.getItem(y)||(sessionStorage.setItem(y,"1"),f=!0)}})),o),p=function(y){if(f)throw window.location.reload(),new Promise(()=>{});if(u)throw u;if(!a)if(Ls)Ls(d());else throw d();return te.createElement(a,y)};return p.preload=d,p}function NS(n){const i=at(),o=`not-found-${$e(i.stores.location,a=>a.pathname)}-${$e(i.stores.status,a=>a)}`;return K.jsx(fu,{getResetKey:()=>o,onCatch:(a,u)=>{if(Je(a))n.onCatch?.(a,u);else throw a},errorComponent:({error:a})=>{if(Je(a))return n.fallback?.(a);throw a},children:n.children})}function FS(){return K.jsx("p",{children:"Not Found"})}function br(n){return K.jsx(K.Fragment,{children:n.children})}function Sh(n,i,o){return i.options.notFoundComponent?K.jsx(i.options.notFoundComponent,{...o}):n.options.defaultNotFoundComponent?K.jsx(n.options.defaultNotFoundComponent,{...o}):K.jsx(FS,{})}function zS(n){return null}function DS(){return zS(at()),null}var jS=(n,i)=>n.routeId===i.routeId&&n._displayPending===i._displayPending,$S=(n,i)=>
11n[0]===i[0]&&n[1]===i[1],_h=te.memo(function({matchId:i}){const o=at(),a=o.stores.matchStores.get(i);a||vt();const u=$e(o.stores.loadedAt,d=>d),f=$e(a,d=>d,jS);return K.jsx(BS,{router:o,matchId:i,resetKey:u,matchState:te.useMemo(()=>{const d=f.routeId,p=o.routesById[d].parentRoute?.id;return{routeId:d,ssr:f.ssr,_displayPending:f._displayPending,parentRouteId:p}},[f._displayPending,f.routeId,f.ssr,o.routesById])})});function BS({router:n,matchId:i,resetKey:o,matchState:a}){const u=n.routesById[a.routeId],f=u.options.pendingComponent??n.options.defaultPendingComponent,d=f?K.jsx(f,{}):null,p=u.options.errorComponent??n.options.defaultErrorComponent,g=u.options.onCatch??n.options.defaultOnCatch,y=u.isRoot?u.options.notFoundComponent??n.options.notFoundRoute?.options.component:u.options.notFoundComponent,v=a.ssr===!1||a.ssr==="data-only",h=(!u.isRoot||u.options.wrapInSuspense||v)&&(u.options.wrapInSuspense??f??(u.options.errorComponent?.preload||v))?te.Suspense:br,w=p?fu:br,_=y?NS:br;return K.jsxs(u.isRoot?u.options.shellComponent??br:br,{children:[K.jsx(Ds.Provider,{value:i,children:K.jsx(h,{fallback:d,children:K.jsx(w,{getResetKey:()=>o,errorComponent:p||du,onCatch:(E,A)=>{if(Je(E))throw E.routeId??=a.routeId,E;g?.(E,A)},children:K.jsx(_,{fallback:E=>{if(E.routeId??=a.routeId,!y||E.routeId&&E.routeId!==a.routeId||!E.routeId&&
11!u.isRoot)throw E;return te.createElement(y,E)},children:v||a._displayPending?K.jsx(oS,{fallback:d,children:K.jsx(qd,{matchId:i})}):K.jsx(qd,{matchId:i})})})})}),a.parentRouteId===sr?K.jsxs(K.Fragment,{children:[K.jsx(US,{}),n.options.scrollRestoration&&sp?K.jsx(DS,{}):null]}):null]})}function US(){const n=at(),i=te.useRef();return bo(()=>{const o=n.stores.resolvedLocation.get(),a=i.current;o&&(!a||a.href!==o.href)&&n.emit({type:"onRendered",...Kr(n.stores.location.get(),a??o)}),i.current=o},[$e(n.stores.resolvedLocation,o=>o?.state.__TSR_key),n]),null}var qd=te.memo(function({matchId:i}){const o=at(),a=(v,h)=>o.getMatch(v.id)?._nonReactive[h]??v._nonReactive[h],u=o.stores.matchStores.get(i);u||vt();const f=$e(u,v=>v),d=f.routeId,p=o.routesById[d],g=te.useMemo(()=>{const v=(o.routesById[d].options.remountDeps??o.options.defaultRemountDeps)?.({routeId:d,loaderDeps:f.loaderDeps,params:f._strictParams,search:f._strictSearch});return v?JSON.stringify(v):void 0},[d,f.loaderDeps,f._strictParams,f._strictSearch,o.options.defaultRemountDeps,o.routesById]),y=te.useMemo(()=>{const v=p.options.component??o.options.defaultComponent;return v?K.jsx(v,{},g):K.jsx(Rh,{})},[g,p.options.component,o.options.defaultComponent]);if(f._displayPending)throw a(f,"displayPendingPromise");if(f._forcePending)throw a(f,"minPendingPromise");if(f.status==="pending"){const v=p.options.pendingMinMs??o.options.defaultPendingMinMs;if(v){const h=o.getMatch(f.id);if(h&&!h._nonReactive.minPendingPromise){const w=lr();h._nonReactive.minPendingPromise=w,setTimeout(()=>{w.resolve(),h._nonReactive.minPendingPromise=void 0},v)}}throw a(f,"loadPromise")}if(f.status==="notFound")return Je(f.error)||vt(),Sh(o,p,f.error);if(f.status==="redirected")throw ft(f.error)||vt(),a(f,"loadPromise");if(f.status==="error")throw f.error;return y}),Rh=te.memo(function(){const i=at(),o=te.useContext(Ds);let a,u=!1,f;{const y=o?i.stores.matchStores.get(o):void 0;[a,u]=$e(y,v=>[v?.routeId,v?.globalNotFound??!1],$S),f=$e(i.stores.matchesId,v=>v[v.findIndex(h=>h===o)+1])}const d=a?i.routesById[a]:void 0,p=i.options.defaultPendingComponent?K.jsx(i.options.defaultPendingComponent,{}):null;if(u)return d||vt(),Sh(i,d,void 0);if(!f)return null;const g=K.jsx(_h,{matchId:f});return a===sr?K.jsx(te.Suspense,{fallback:p,children:g}):g});function VS(){const n=at(),i=te.useRef({router:n,mounted:!1}),[o,a]=te.useState(!1),u=$e(n.stores.isLoading,h=>h),f=$e(n.stores.hasPending,h=>h),d=jl(u),p=u||o||f,g=jl(p),y=u||f,v=jl(y);return n.startTransition=h=>{a(!0),te.startTransition(()=>{h(),a(!1)})},te.useEffect(()=>{const h=n.history.subscribe(n.load),w=n.buildLocation({to:n.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return sn(n.latestLocation.publicHref)!==sn(w.publicHref)&&n.commitLocation({...w,replace:!0}),()=>{h()}},[n,n.history]),bo(()=>{if(typeof window<"u"&&n.ssr||i.current.router===n&&i.current.mounted)return;i.current={router:n,mounted:!0},(async()=>{try{await n.load()}catch(w){console.error(w)}})()},[n]),bo(()=>{d&&!u&&n.emit({type:"onLoad",...Kr(n.stores.location.get(),n.stores.resolvedLocation.get())})},[d,n,u]),bo(()=>{v&&!y&&n.emit({type:"onBeforeRouteMount",...Kr(n.stores.location.get(),n.stores.resolvedLocation.get())})},[y,v,n]),bo(()=>{if(g&&!p){const h=Kr(n.stores.location.get(),n.stores.resolvedLocation.get());n.emit({type:"onResolved",...h}),fh(()=>{n.stores.status.set("idle"),n.stores.resolvedLocation.set(n.stores.location.get())})}},[p,g,n]),null}function bS(){const n=at(),i=n.routesById[sr].options.pendingComponent??n.options.defaultPendingComponent,o=i?K.jsx(i,{}):null,a=K.jsxs(typeof document<"u"&&n.ssr?br:te.Suspense,{fallback:o,children:[K.jsx(VS,{}),K.jsx(WS,{})]});return n.options.InnerWrap?K.jsx(n.options.InnerWrap,{children:a}):a}function WS(){const n=at(),i=$e(n.stores.firstId,u=>u),o=$e(n.stores.loadedAt,u=>u),a=i?K.jsx(_h,{matchId:i}):null;return K.jsx(Ds.Provider,{value:i,children:n.options.disableGlobalCatchBoundary?a:K.jsx(fu,{getResetKey:()=>o,errorComponent:du,onCatch:void 0,children:a})})}var HS=n=>({createMutableStore:Kd,createReadonlyStore:Kd,batch:fh}),KS=n=>
11new QS(n),QS=class extends zy{constructor(n){super(n,HS)}};function GS({router:n,children:i,...o}){lp(o)&&n.update({...n.options,...o,context:{...n.options.context,...o.context}});const a=K.jsx(uh.Provider,{value:n,children:i});return n.options.Wrap?K.jsx(n.options.Wrap,{children:a}):a}function YS({router:n,...i}){return K.jsx(GS,{router:n,...i,children:K.jsx(bS,{})})}function Jd(n,i){if(i)for(const[o,a]of Object.entries(i))o!=="suppressHydrationWarning"&&a!==void 0&&a!==!1&&n.setAttribute(o,typeof a=="boolean"?"":String(a))}function xh(n){const{attrs:i,children:o,nonce:a,preventScriptHoist:u}=n;switch(n.tag){case"title":return K.jsx("title",{...i,suppressHydrationWarning:!0,children:o});case"meta":return K.jsx("meta",{...i,suppressHydrationWarning:!0});case"link":return K.jsx("link",{...i,precedence:i?.precedence??(i?.rel==="stylesheet"?"default":void 0),nonce:a,suppressHydrationWarning:!0});case"style":return n.inlineCss,K.jsx("style",{...i,dangerouslySetInnerHTML:{__html:o},nonce:a});case"script":return K.jsx(XS,{attrs:i,preventScriptHoist:u,children:o});default:return null}}function XS({attrs:n,children:i,preventScriptHoist:o}){at();const a=pu(),u=typeof n?.type=="string"&&n.type!==""&&n.type!=="text/javascript"&&n.type!=="module";if(te.useEffect(()=>{if(!u){if(n?.src){const f=(()=>{try{const p=document.baseURI||window.location.href;return new URL(n.src,p).href}catch{return n.src}})();for(const p of document.querySelectorAll("script[src]"))if(p.src===f)return;const d=document.createElement("script");return Jd(d,n),document.head.appendChild(d),()=>d.remove()}if(typeof i=="string"){const f=typeof n?.type=="string"?n.type:"text/javascript",d=typeof n?.nonce=="string"?n.nonce:void 0;for(const g of document.querySelectorAll("script:not([src])")){if(!(g instanceof HTMLScriptElement))continue;const y=g.getAttribute("type")??"text/javascript",v=g.getAttribute("nonce")??void 0;if(g.textContent===i&&y===f&&v===d)return}const p=document.createElement("script");return p.textContent=i,Jd(p,n),document.head.appendChild(p),()=>p.remove()}}},[n,i,u]),u&&typeof i=="string")return K.jsx("script",{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:i}});if(!a){if(n?.src)return K.jsx("script",{...n,suppressHydrationWarning:!0});if(typeof i=="string")return K.jsx("script",{...n,dangerouslySetInnerHTML:{__html:i},suppressHydrationWarning:!0})}return null}var qS=n=>{const i=at(),o=i.options.ssr?.nonce,a=$e(i.stores.matches,h=>h.map(w=>w.meta).filter(w=>w!==void 0),ct),u=te.useMemo(()=>{const h=[],w={};let _;for(let E=a.length-1;E>=0;E--){const A=a[E];for(let x=A.length-1;x>=0;x--){const C=A[x];if(C)if(C.title)_||(_={tag:"title",children:C.title});else if("script:ld+json"in C)try{const N=JSON.stringify(C["script:ld+json"]);h.push({tag:"script",attrs:{type:"application/ld+json"},children:Gg(N)})}catch{}else{const N=C.name??C.property;if(N){if(w[N])continue;w[N]=!0}h.push({tag:"meta",attrs:{...C,nonce:o}})}}}return _&&h.push(_),o&&h.push({tag:"meta",attrs:{property:"csp-nonce",content:o}}),h.reverse(),h},[a,o]),f=$e(i.stores.matches,h=>h.flatMap(w=>w.links??[]).filter(w=>w!==void 0).map(w=>({tag:"link",attrs:{...w,nonce:o}})),ct),d=$e(i.stores.matches,h=>{const w=i.ssr?.manifest,_=[];return w&&(h.forEach(E=>{w.routes[E.routeId]?.css?.forEach(A=>{const x=Gy(A);_.push({tag:"link",attrs:{rel:"stylesheet",...x,crossOrigin:xp(n,"stylesheet")??x.crossOrigin,suppressHydrationWarning:!0,nonce:o}})})}),w.inlineStyle&&_.push({tag:"style",attrs:{...w.inlineStyle.attrs,nonce:o},children:w.inlineStyle.children,inlineCss:!0})),_},ct),p=$e(i.stores.matches,h=>{const w=[],_=i.ssr?.manifest;return _&&h.forEach(E=>{_.routes[E.routeId]?.preloads?.forEach(A=>{w.push({tag:"link",attrs:{...Ky(_,A,n),nonce:o}})})}),w},ct),g=$e(i.stores.matches,h=>h.flatMap(w=>w.styles??[]).filter(w=>w!==void 0).map(({children:w,..._})=>({tag:"style",attrs:{..._,nonce:o},children:w})),ct),y=$e(i.stores.matches,h=>h.flatMap(w=>w.headScripts??[]).filter(w=>w!==void 0).map(({children:w,..._})=>({tag:"script",attrs:{..._,nonce:o},children:w})),ct),v=[];return hs(v,u),v.push(...p),hs(v,f),v.push(...d),hs(v,g),hs(v,y),v};function JS(n){const i=qS(n.assetCrossOrigin),o=at().options.ssr?.nonce;return K.jsx(K.Fragment,{children:i.map(a=>te.createElement(xh,{...a,key:`tsr-meta-${JSON.stringify(a)}`,nonce:o}))})}var ZS=()=>{const n=at(),i=n.options.ssr?.nonce,o=f=>{const d=[],p=n.ssr?.manifest;
11if(!p)return[];for(const g of f){const y=p.routes[g.routeId]?.scripts;if(y)for(const v of y)d.push({tag:"script",attrs:{...v.attrs,nonce:i},children:v.children,...typeof v.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return d},a=f=>f.map(d=>d.scripts).flat(1).filter(Boolean).map(({children:d,...p})=>({tag:"script",attrs:{...p,suppressHydrationWarning:!0,nonce:i},children:d})),u=$e(n.stores.matches,o,ct);return e1(n,$e(n.stores.matches,a,ct),u)};function e1(n,i,o){const a=[...i,...o];return K.jsx(K.Fragment,{children:a.map((u,f)=>te.createElement(xh,{...u,key:`tsr-scripts-${u.tag}-${f}`}))})}const t1="/assets/global-r9xJ0zJw.css",Ee=MS({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{name:"format-detection",content:"telephone=no"}],links:[{rel:"stylesheet",href:t1},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Bungee+Hairline&family=Major+Mono+Display&display=swap"},{rel:"icon",type:"image/png",sizes:"1024x1024",href:"/zhuxin-1024.png"},{rel:"apple-touch-icon",href:"/zhuxin-1024.png"},{rel:"manifest",href:"/site.webmanifest"}]}),component:n1,notFoundComponent:o1});function n1(){return K.jsx(r1,{children:K.jsx(Rh,{})})}function r1({children:n}){return K.jsxs("html",{lang:"en",children:[K.jsx("head",{children:K.jsx(JS,{})}),K.jsxs("body",{children:[n,K.jsx(ZS,{})]})]})}function o1(){return K.jsx("main",{className:"page-hero",style:{minHeight:"100dvh"},children:K.jsxs("div",{className:"site-container",children:[K.jsx("p",{className:"eyebrow",children:"404"}),K.jsx("h1",{children:"Page not found."}),K.jsx("p",{children:K.jsx("a",{className:"button button-primary",href:"/",children:"Return home"})})]})})}const i1="modulepreload",s1=function(n){return"/"+n},Zd={},he=function(i,o,a){let u=Promise.resolve();if(o&&o.length>0){let g=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");u=g(o.map(y=>{if(y=s1(y),y in Zd)return;Zd[y]=!0;const v=y.endsWith(".css"),h=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${h}`))return;const w=document.createElement("link");if(w.rel=v?"stylesheet":i1,v||(w.as="script"),w.crossOrigin="",w.href=y,p&&w.setAttribute("nonce",p),document.head.appendChild(w),v)return new Promise((_,E)=>{w.addEventListener("load",_),w.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return u.then(d=>{for(const p of d||[])p.status==="rejected"&&f(p.reason);return i().catch(f)})},a1=()=>he(()=>import("./work-N0s01pNE.js"),[]),l1=de("/work")({component:pe(a1,"component")}),Kt="Buildmind",ep="Buildmind AI",Qt="https://buildmind.ai",kh="/zhuxin-1024.png",tp="/zhuxin-1024.png",Ur=`${Qt}/#organization`,np=`${Qt}/#website`,Hr={title:"Buildmind â AI implementation services for real workflows",description:"Buildmind helps product and operations teams implement AI across workflow discovery, integration, deployment, evaluation, and ongoing operation.",path:"/",image:kh,type:"website"},Ph={"/":{...Hr,tags:["AI implementation services","enterprise AI implementation","AI integration services","AI workflow automation","AI prototype to production"]},"/about":{title:"About Buildmind AI",description:"Learn how Buildmind AI is building multimodal AI systems for enterprise automation, embodied intelligence, and real-world operational workflows.",path:"/about/"},"/blog":{title:"AI Insights and Engineering Notes",description:"Read Buildmind insights on AI products, agent engineering, model launches, automation workflows, multimodal systems, and enterprise operations.",path:"/blog/"},"/blog/[slug]":{title:"Buildmind AI Blog",description:"Read Buildmind AI insights on AI products, model launches, automation workflows, multimodal systems, and enterprise operations.",path:"/blog/",type:"article"},"/contact":{title:"Discuss an AI Workflow â Buildmind",description:"Talk with Buildmind about an AI product, workflow, private deployment, data constraint, or production engineering challenge.",path:"/contact/"},"/products":{title:"Buildmind Products â AI Tools for Real Work",description:"Explore Buildmind products across agent tooling, model infrastru
11cture, character conversations, and family care.",path:"/products/"},"/letschat":{title:"Let's Chat â Character Conversations",description:"Discover, create, and return to character conversations with Let's Chat.",path:"/letschat/"},"/ourtoken":{title:"OurToken â Model Infrastructure for Developers",description:"Use a public model catalog, familiar API contracts, and explainable prepaid usage with OurToken.",path:"/ourtoken/"},"/easyparent":{title:"EASY Parent â Keep the Day in View",description:"EASY Parent helps families notice the rhythm of eating, activity, sleep, and the space in between.",path:"/easyparent/"},"/services":{title:"AI implementation services",description:"AI implementation consulting, integration, workflow automation, private deployment, and Forward Deployed Engineering for real business workflows.",path:"/services/",tags:["AI implementation consulting","AI integration services","AI workflow automation","AI deployment services","Forward Deployed Engineering"]},"/solutions":{title:"AI implementation solutions",description:"Explore Buildmind solution paths for AI implementation, integration, workflow automation, private deployment, AI product development, and FDE.",path:"/solutions/",tags:["enterprise AI implementation","AI implementation services","AI integration services","AI workflow automation","private AI deployment","FDE for AI"]},"/work":{title:"AI systems and product engineering case studies",description:"See selected Buildmind work across AI product engineering, finance automation, live multilingual media, and execution-oriented agents, with evidence boundaries named.",path:"/work/",tags:["AI implementation case study","AI workflow automation","applied AI engineering"]},"/work/finance-automation":{title:"AI accounting and reconciliation â Buildmind work",description:"A finance workflow prototype connecting document processing, structured records, reconciliation, and human approval.",path:"/work/finance-automation/",tags:["AI workflow automation","finance automation","AI implementation case study"]},"/work/live-media":{title:"Live multilingual media infrastructure â Buildmind work",description:"A multimodal speech, captions, translation, and operator-control workflow built for live media systems.",path:"/work/live-media/",tags:["multimodal AI implementation","AI integration services","AI implementation case study"]},"/showcases":{title:"AI Migration Showcases â Buildmind",description:"Explore representative Buildmind paths for moving real workflows from disconnected tools into useful AI systems.",path:"/showcases/",tags:["AI implementation services","AI workflow automation","AI integration services","enterprise AI implementation"]},"/open-source":{title:"Open-Source AI Agent Tools",description:"Explore Buildmindâs open-source TIA tools for terminal coding agents, local assistant workspaces, and messaging-to-agent gateways.",path:"/open-source/"},"/company":{title:"About Buildmind â Applied AI. Shipped.",description:"Learn why Buildmind builds execution-oriented AI products and production systems across cloud, local, and edge environments.",path:"/company/"},"/solutions/agentic-operations":{title:"Agentic AI implementation services",description:"Build AI workflows that research, use tools, execute multi-step work, preserve human approval, and deliver reviewable output.",path:"/solutions/agentic-operations/",tags:["agentic AI implementation services","AI workflow automation","enterprise AI implementation"]},"/solutions/private-ai":{title:"Private AI deployment",description:"Design and deploy AI systems around private data, customer-controlled infrastructure, local models, and strict operational boundaries.",path:"/solutions/private-ai/",tags:["private AI deployment","AI deployment services","enterprise AI implementation"]},"/solutions/voice-language":{title:"Voice, Speech & Language AI",description:"Build production voice, transcription, captioning, translation, and multilingual AI workflows with Buildmind.",path:"/solutions/voice-language/",tags:["multimodal AI implementation","voice AI implementation","AI integration services"]},"/solutions/finance-automation":{title:"AI Finance Automation",description:"Connect financial documents, structured records, reconciliation, approvals, and audit trails in a reviewable AI-assisted workflow.",path:"/solutions/finance-automation/",tags:["AI workflow automation","finance automation","enterprise AI implementation"]},"/solutions/connected-assistants":{title:"Connected AI Assistants",description:"Connect AI assistants to the messaging channels, agent runtimes, tools, and workflows your team already uses.",path:"/solutions/connected-assistants/",tags:["AI integration services","connected AI assistants","agentic AI implementation services"]},"/solutions/ai-product-development":{title:"AI Product Development",description:"Move an AI product from workflow discovery and prototype through production engineering, evaluation, deployment, and operation.",path:"/solutions/ai-product-development/",tags:["AI product development","AI prototype to production","enterprise AI implementation"]},"/solutions/ai-implementation":{title:"AI implementation consulting and services",description:"Turn an AI o
11pportunity into an operating system with workflow discovery, integration, evaluation, deployment, and support.",path:"/solutions/ai-implementation/",tags:["AI implementation consulting","AI implementation services","AI prototype to production","enterprise AI implementation"]},"/solutions/ai-integration":{title:"AI integration services",description:"Connect models and agents to APIs, documents, identity, databases, messaging, human approvals, and the system of record.",path:"/solutions/ai-integration/",tags:["AI integration services","AI deployment services","enterprise AI implementation"]},"/solutions/ai-workflow-automation":{title:"AI workflow automation services",description:"Automate research, support, finance, operations, and document-heavy work with clear inputs, bounded actions, and human review.",path:"/solutions/ai-workflow-automation/",tags:["AI workflow automation","agentic AI implementation services","enterprise AI implementation"]},"/solutions/forward-deployed-engineering":{title:"Forward Deployed Engineering for AI",description:"Forward Deployed Engineering puts product-minded engineers close to users, data, and operations while an AI system becomes production software.",path:"/solutions/forward-deployed-engineering/",tags:["Forward Deployed Engineering","FDE for AI","enterprise AI implementation","AI implementation services"]},"/privacy-policy":{title:"Privacy Policy",description:"Review how Buildmind AI collects, uses, stores, and protects information across its website, applications, and AI services.",path:"/privacy-policy/"},"/portfolio":{title:"Portfolio",description:"Explore Buildmind AI portfolio projects across FinTech workflow platforms, live video infrastructure, realtime collaboration, and AI automation.",path:"/portfolio/"},"/realtime-translation":{title:"Realtime Translation",description:"Realtime Translation delivers low-latency speech-to-speech translation and multilingual captions for meetings, events, and cross-language workflows.",path:"/realtime-translation/"},"/smart-accounting":{title:"Smart Accounting Core",description:"Smart Accounting Core turns receipts, bank statements, and voice instructions into structured ledgers and automated financial reconciliation.",path:"/smart-accounting/"},"/terms-of-service":{title:"Terms of Service",description:"Read the Buildmind AI Terms of Service covering access, acceptable use, responsibilities, and service conditions.",path:"/terms-of-service/"},"/tia-desktop":{title:"TIA Desktop Automation",description:"TIA Desktop Automation turns voice and natural language into desktop actions, task execution, and data collection on local machines.",path:"/tia-desktop/"},"/tia-code":{title:"TIA Code",description:"TIA Code is an open-source terminal coding agent for local repositories, with interactive and scriptable one-shot modes.",path:"/tia-code/"},"/tia-edge":{title:"TIA Edge â Private AI at the Edge",description:"TIA Edge provides private multimodal AI orchestration for local speech, vision, and language workloads on customer-controlled hardware.",path:"/tia-edge/"},"/tia-gateway":{title:"TIA Gateway",description:"TIA Gateway connects IM channels like WeChat and Lark to agent runtimes through a pluggable, ACP-first gateway built for agentic connections.",path:"/tia-gateway/"},"/tia-kit":{title:"TIA Kit",description:"TIA Kit is an offline-first AI orchestration stack for enterprise teams running ONNX and MLX models with local control and resilience.",path:"/tia-kit/"},"/tia-studio":{title:"TIA Studio",description:"TIA Studio lets teams create assistants, connect channels, and operate local-first AI workflows from a native desktop workspace.",path:"/tia-studio/"}};function u1(n=""){return n.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}function tu(n="/"){if(!n)return"/";if(/^https?:\/\//i.test(n))return n;const i=n.split(/[?#]/)[0]||"/";return i==="/"||i.endsWith("/")?i:`${i}/`}function Wo(n="/"){return n?/^https?:\/\//i.test(n)?n:new URL(n,Qt).toString():Qt}function c1(n){return n?n.includes(Kt)?n:`${n} | ${Kt}`:Hr.title}function Eh(n="/"){if(!n||n==="/")return Kt;
11const i=n.split("/").filter(Boolean).reverse().find(a=>!a.startsWith("["));if(!i)return Kt;const o=new Set(["ai","api","sdk","tia","ui","ux"]);return i.split("-").map(a=>{const u=a.toLowerCase();return o.has(u)?u.toUpperCase():`${u.charAt(0).toUpperCase()}${u.slice(1)}`}).join(" ")}function ge(n="/",i={}){const o=n==="/"?"/":n.replace(/\/$/,""),a=Ph[o],u={...Hr,...a||{},...i},f=tu(u.path||n),d=Wo(f),p=c1(i.title||a?.title||Eh(n)),g=u1(u.description||Hr.description),y=Wo(u.image||kh),v=tu(n),h=v==="/",w=f1(v,p),_=u.tags?.filter(Boolean).join(", "),E=v==="/services/"||v.startsWith("/solutions/"),A={"@context":"https://schema.org","@type":"Organization","@id":Ur,name:Kt,alternateName:ep,url:`${Qt}/`,description:Hr.description,logo:{"@type":"ImageObject","@id":`${Qt}/#logo`,url:Wo(tp),contentUrl:Wo(tp),width:1024,height:1024,caption:Kt},image:{"@id":`${Qt}/#logo`},sameAs:["https://github.com/ZhuXinAI"]},x={"@context":"https://schema.org","@type":"WebSite","@id":np,url:`${Qt}/`,name:Kt,alternateName:ep,description:Hr.description,publisher:{"@id":Ur},inLanguage:"en"},C=w.length>1?{"@context":"https://schema.org","@type":"BreadcrumbList","@id":`${d}#breadcrumb`,itemListElement:w.map((U,H)=>({"@type":"ListItem",position:H+1,name:U.name,item:U.url}))}:void 0,N={"@context":"https://schema.org","@type":u.type==="article"?"Article":"WebPage","@id":`${d}#webpage`,url:d,name:p,headline:p,description:g,keywords:_,image:[y],isPartOf:{"@id":np},about:{"@id":Ur},publisher:{"@id":Ur},breadcrumb:C?{"@id":`${d}#breadcrumb`}:void 0,inLanguage:"en",author:u.author?{"@type":"Person",name:u.author}:{"@id":Ur},datePublished:u.publishedTime,dateModified:u.modifiedTime},z=E?{"@context":"https://schema.org","@type":"Service","@id":`${d}#service`,name:p,serviceType:p.replace(/\s+\|\s+Buildmind$/,""),description:g,url:d,provider:{"@id":Ur},areaServed:"Worldwide"}:void 0,F=[...h?[A,x]:[],...C?[C]:[],N,...z?[z]:[]];return{meta:[{title:p},{name:"description",content:g},..._?[{name:"keywords",content:_}]:[],{name:"robots",content:u.noindex?"noindex, nofollow":"index, follow"},{name:"theme-color",content:"#0B0F14"},{property:"og:type",content:u.type||"website"},{property:"og:site_name",content:Kt},{property:"og:locale",content:"en_US"},{property:"og:title",content:p},{property:"og:description",content:g},{property:"og:url",content:d},{property:"og:image",content:y},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:p},{name:"twitter:description",content:g},{name:"twitter:image",content:y}],links:[{rel:"canonical",href:d}],scripts:F.map(U=>({type:"application/ld+json",children:JSON.stringify(U).replace(/</g,"\\u003c")}))}}function f1(n,i){const o=n.split("/").filter(Boolean);return o.length===0?[{name:Kt,url:`${Qt}/`}]:[{name:Kt,url:`${Qt}/`},...o.map((a,u)=>{const f=`/${o.slice(0,u+1).join("/")}`,d=Ph[f];return{name:u===o.length-1?i.replace(/\s+\|\s+Buildmind$/,""):d?.title||Eh(f),url:Wo(tu(f))}})]}const d1=()=>he(()=>import("./tia-workspace-DTmKVu0u.js"),__vite__mapDeps([0,1])),p1=de("/tia-workspace")({head:()=>ge("/",{title:"Open Supagent â Buildmind",description:"The active Buildmind workspace is now Supagent.",path:"/",noindex:!0}),component:pe(d1,"component")}),h1=()=>he(()=>import("./tia-studio-BzxuOyxr.js"),__vite__mapDeps([2,3,4,5,6])),m1=de("/tia-studio")({head:()=>ge("/tia-studio"),component:pe(h1,"component")}),g1=de("/tia-kit")({beforeLoad:()=>{throw ur({to:"/tia-edge/",statusCode:308})}}),y1=()=>he(()=>import("./tia-gateway-DgZ8e463.js"),__vite__mapDeps([7,3,4,5,6])),v1=de("/tia-gateway")({head:()=>
11ge("/tia-gateway"),component:pe(y1,"component")}),w1=()=>he(()=>import("./tia-edge-Brv_ve03.js"),__vite__mapDeps([8,3,4,5,6])),S1=de("/tia-edge")({head:()=>ge("/tia-edge",{title:"TIA Edge â Private AI at the Edge",path:"/tia-edge/"}),component:pe(w1,"component")}),_1=de("/tia-desktop")({beforeLoad:()=>{throw ur({to:"/solutions/agentic-operations/",statusCode:308})}}),R1=()=>he(()=>import("./tia-code-DMc5Ok8o.js"),__vite__mapDeps([9,3,4,5,6])),x1=de("/tia-code")({head:()=>ge("/tia-code"),component:pe(R1,"component")}),k1=()=>he(()=>import("./terms-of-service-Ci1HGJof.js"),__vite__mapDeps([10,4,11])),P1=de("/terms-of-service")({head:()=>ge("/terms-of-service"),component:pe(k1,"component")}),E1=()=>he(()=>import("./solutions-kwb0Rv46.js"),[]),C1=de("/solutions")({component:pe(E1,"component")}),I1=de("/smart-accounting")({beforeLoad:()=>{throw ur({to:"/solutions/finance-automation/",statusCode:308})}}),L1=()=>he(()=>import("./showcases-BNB9q7I2.js"),__vite__mapDeps([12,4,5,6])),T1=de("/showcases")({head:()=>ge("/showcases"),component:pe(L1,"component")}),A1=()=>he(()=>import("./services-K5ZfzBfq.js"),__vite__mapDeps([13,3,4,5,6])),M1=de("/services")({head:()=>ge("/services"),component:pe(A1,"component")}),O1=de("/realtime-translation")({beforeLoad:()=>{throw ur({to:"/solutions/voice-language/",statusCode:308})}}),N1=()=>he(()=>import("./products-Cdk4ypIE.js"),__vite__mapDeps([14,3,4,5,6])),F1=de("/products")({head:()=>ge("/products"),component:pe(N1,"component")}),z1=()=>he(()=>import("./privacy-policy-C1lDd7vP.js"),__vite__mapDeps([15,4,11])),D1=de("/privacy-policy")({head:()=>ge("/privacy-policy"),component:pe(z1,"component")}),j1=()=>he(()=>import("./portfolio-BMhsSMsL.js"),__vite__mapDeps([16,4,6])),$1=de("/portfolio")({head:()=>ge("/portfolio"),component:pe(j1,"component")}),B1=()=>he(()=>import("./ourtoken-BmiYEVoL.js"),__vite__mapDeps([17,3,4,5,6])),U1=de("/ourtoken")({head:()=>ge("/ourtoken"),component:pe(B1,"component")}),V1=()=>he(()=>import("./open-source-C1iLtg5k.js"),__vite__mapDeps([18,4,5,6,3])),b1=de("/open-source")({head:()=>ge("/open-source"),component:pe(V1,"component")}),W1=()=>he(()=>import("./letschat-D-ZQd-Yd.js"),__vite__mapDeps([19,3,4,5,6])),H1=de("/letschat")({head:()=>ge("/letschat"),component:pe(W1,"component")}),K1=()=>he(()=>import("./easyparent-DTTpOo0D.js"),__vite__mapDeps([20,3,4,5,6])),Q1=de("/easyparent")({head:()=>ge("/easyparent"),component:pe(K1,"component")}),G1=()=>he(()=>import("./design-system-CTdCbvQO.js"),__vite__mapDeps([21,4,5,6,3])),Y1=de("/design-system")({head:()=>ge("/design-system",{noindex:!0}),component:pe(G1,"component")}),X1=()=>he(()=>import("./contact-D8gydHLB.js"),__vite__mapDeps([22,3,4,5,6])),q1=de("/contact")({head:()=>ge("/contact"),component:pe(X1,"component")}),J1=()=>he(()=>import("./company-CKb7mGkR.js"),__vite__mapDeps([23,4,5,6,3])),Z1=de("/company")({head:()=>ge("/company"),component:pe(J1,"component")}),e_=()=>he(()=>import("./blog-CP_3rkOE.js"),[]),t_=de("/blog")({component:pe(e_,"component")}),n_=de("/about")({beforeLoad:()=>{throw ur({to:"/company/",statusCode:308})}}),r_=()=>he(()=>import("./index-CrLHEOkE.js"),__vite__mapDeps([24,4,5,6])),o_=de("/")({head:()=>ge("/"),component:pe(r_,"component")}),i_=()=>he(()=>import("./index-BSI90C0q.js"),__vite__mapDeps([25,3,4,5,6])),s_=de("/work/")({head:()=>ge("/work"),component:pe(i_,"component")}),a_=()=>he(()=>import("./tia-workspace-DxPaBtK-.js"),__vite__mapDeps([26,1])),l_=de("/work/tia-workspace")({head:()=>ge("/",{title:"Open Supagent â Buildmind",description:"The active Buildmind workspace is now Supagent.",path:"/",noindex:!0}),component:pe(a_,"component")}),u_=()=>he(()=>import("./live-media-D3Pva5-4.js"),__vite__mapDeps([27,3,4,5,6])),c_=de("/work/live-media")({head:()=>ge("/work/live-media"),component:pe(u_,"component")}),f_=()=>he(()=>import("./finance-automation-DIII54PV.js"),__vite__mapDeps([28,3,4,5,6])),d_=de("/work/finance-automation")({head:()=>ge("/work/finance-automation"),component:pe(f_,"component")}),p_=()=>he(()=>import("./index-DNUg1-t7.js"),__vite__mapDeps([29,3,4,5,6])),h_=de("/solutions/")({head:()=>ge("/solutions"),component:pe(p_,"component")}),m_=()=>he(()=>import("./voice-language-CTdVpOQ6.js"),__vite__mapDeps([30,3,4,5,6])),g_=de("/solutions/voice-language")({head:()=>ge("/solutions/voice-language"),component:pe(m_,"component")}),y_=()=>he(()=>import("./private-ai-BvGb1gun.js"),__vite__mapDeps([31,3,4,5,6])),v_=de("/solutions/private-ai")({head:()=>ge("/solutions/private-ai"),component:pe(y_,"component")}),w_=()=>he(()=>import("./forward-deployed-engineering-DQb-F2fE.js"),__vite__mapDeps([32,3,4,5,6])),S_=de("/solutions/forward-deployed-engineering")({head:()=>ge("/solutions/forward-deployed-engineering"),component:pe(w_,"component")}),__=()=>he(()=>import("./finance-automation-BvWnbN7z.js"),__vite__mapDeps([33,3,4,5,6])),R_=de("/solutions/finance-automation")({head:()=>ge("/solutions/finance-automation"),component:pe(__,"component")}),x_=()=>he(()=>import("./connected-assistants-BGIDWXiG.js"),__vite__mapDeps([34,3,4,5,6])),k_=de("/solutions/connected-assistants")({head:()=>ge("/solutions/connected-assistants"),component:pe(x_,"component")}),P_=()=>he(()=>import("./ai-workflow-automation-Be-HbRmL.js"),__vite__mapDeps([35,3,4,5,6])),E_=de("/solutions/ai-workflow-automation")({head:()=>ge("/solutions/ai-workflow-automation"),component:pe(P_,"component")}),C_=()=>he(()=>import("./ai-product-development-DHx0MedP.js"),__vite__mapDeps([36,3,4,5,6])),I_=de("/solutions/ai-product-development")({head:()=>ge("/solutions/ai-product-development"),component:pe(C_,"component")}),L_=()=>he(()=>import("./ai-integration-DWWm70L3.js"),__vite__mapDeps([37,3,4,5,6])),T_=de("/solutions/ai-integration")({head:()=>ge("/solutions/ai-integration"),component:pe(L_,"component")}),A_=()=>he(()=>import("./ai-implementation-Bo4ZgXiF.js"),__vite__mapDeps([38,3,4,5,6])),M_=
11de("/solutions/ai-implementation")({head:()=>ge("/solutions/ai-implementation"),component:pe(A_,"component")}),O_=()=>he(()=>import("./agentic-operations-D1biW3Ku.js"),__vite__mapDeps([39,3,4,5,6])),N_=de("/solutions/agentic-operations")({head:()=>ge("/solutions/agentic-operations"),component:pe(O_,"component")});function rp(n){return n!=="__proto__"&&n!=="constructor"&&n!=="prototype"}function nu(n,i){const o=Object.create(null);if(n)for(const a of Object.keys(n))rp(a)&&(o[a]=n[a]);if(i&&typeof i=="object")for(const a of Object.keys(i))rp(a)&&(o[a]=i[a]);return o}function Ch(n){return Object.create(null)}var Ih=()=>{throw new Error("createServerOnlyFn() functions can only be called on the server!")},Ho=(n,i)=>{const o=i||n||{};typeof o.method>"u"&&(o.method="GET");const a=d=>Ho(void 0,{...o,validator:d,inputValidator:d});return Object.assign(d=>Ho(void 0,{...o,...d}),{options:o,middleware:d=>{const p=[...o.middleware||[]];d.map(y=>{fd in y?y.options.middleware&&p.push(...y.options.middleware):p.push(y)});const g=Ho(void 0,{...o,middleware:p});return g[fd]=!0,g},validator:a,inputValidator:a,handler:(...d)=>{const[p,g]=d,y={...o,extractedFn:p,serverFn:g},v=[...y.middleware||[],D_(y)];return p.method=o.method,Object.assign(async h=>{const w=await op(v,"client",{...p,...y,data:h?.data,headers:h?.headers,signal:h?.signal,fetch:h?.fetch,context:Ch()}),_=yp(w.error);if(_)throw _;if(w.error)throw w.error;return w.result},{...p,method:o.method,__executeServer:async h=>{const w=Ih(),_=w.contextAfterGlobalMiddlewares;return await op(v,"server",{...p,...h,serverFnMeta:p.serverFnMeta,context:nu(h.context,_),request:w.request}).then(E=>({result:E.result,error:E.error,context:E.sendContext}))}})}})};async function op(n,i,o){let a=F_([...ru()?.functionMiddleware||[],...n]);if(i==="server"){const f=Ih();f?.executedRequestMiddlewares&&(a=a.filter(d=>!f.executedRequestMiddlewares.has(d)))}const u=async f=>{const d=a.shift();if(!d)return f;try{let p="validator"in d.options?d.options.validator:void 0;!p&&"inputValidator"in d.options&&(p=d.options.inputValidator),p&&i==="server"&&(f.data=await z_(p,f.data));let g;if(i==="client"?"client"in d.options&&(g=d.options.client):"server"in d.options&&(g=d.options.server),g){const v=await g({...f,next:async(h={})=>{const w=await u({...f,...h,context:nu(f.context,h.context),sendContext:nu(f.sendContext,h.sendContext),headers:Yw(f.headers,h.headers),_callSiteFetch:f._callSiteFetch,fetch:f._callSiteFetch??h.fetch??f.fetch,result:h.result!==void 0?h.result:h instanceof Response?h:f.result,error:h.error??f.error});if(w.error)throw w.error;return w}});if(ft(v))return{...f,error:v};if(v instanceof Response)return{...f,result:v};if(!v)throw new Error("User middleware returned undefined. You must call next() or return a result in your middlewares.");return v}return u(f)}catch(p){return{...f,error:p}}};return u({...o,headers:o.headers||{},sendContext:o.sendContext||{},context:o.context||Ch(),_callSiteFetch:o.fetch})}function F_(n,i=100){const o=new Set,a=[],u=(f,d)=>{if(d>i)throw new Error(`Middleware nesting depth exceeded maximum of ${i}. Check for circular references.`);f.forEach(p=>{p.options.middleware&&u(p.options.middleware,d+1),o.has(p)||(o.add(p),a.push(p))})};return u(n,0),a}async function z_(n,i){if(n==null)return{};if("~standard"in n){const o=await n["~standard"].validate(i);if(o.issues)throw new Error(JSON.stringify(o.issues,void 0,2));return o.value}if("parse"in n)return n.parse(i);if(typeof n=="function")return n(i);throw new Error("Invalid validator type!")}function D_(n){return{"~types":void 0,options:{inputValidator:n.validator??n.inputValidator,client:async({next:i,sendContext:o,fetch:a,...u})=>{const f={...u,context:o,fetch:a};return i(await n.extractedFn?.(f))},server:async({next:i,...o})=>{const a=await n.serverFn?.(o);return i({...o,result:a})}}}}const j_=Ho({method:"GET"}).handler(cu("e913c9ab2c5b005c6f51c872754be0a72a59fffcf4ffdb9f320504b7a7a719b7")),$_=Ho({method:"GET"}).handler(cu("e52db0cca892a02d6f7b82e0d68083d800bb2b11c226a428786b072c420a5f12")),B_=()=>he(()=>import("./index-KWb1tfdy.js"),__vite__mapDeps([40,4,5,6,41])),U_=de("/blog/")({loader:()=>j_(),head:()=>ge("/blog"),component:pe(B_,"component")}),V_=()=>he(()=>import("./_slug-k4LgZVK7.js"),__vite__mapDeps([42,4,41])),b_=de("/blog/$slug")({loader:async({params:n})=>{try{return await $_({data:n.slug})}catch{throw cy()}},head:({loaderData:n})=>n?ge(`/blog/${n.post.slug}
11`,{title:n.post.title,description:n.post.description||n.post.excerpt,path:`/blog/${n.post.slug}/`,image:n.post.coverImage||void 0,type:"article",author:n.post.author||"Buildmind AI Team",publishedTime:n.post.date,modifiedTime:n.post.date,tags:n.post.tags}):ge("/blog"),component:pe(V_,"component")}),ei=l1.update({id:"/work",path:"/work",getParentRoute:()=>Ee}),W_=p1.update({id:"/tia-workspace",path:"/tia-workspace",getParentRoute:()=>Ee}),H_=m1.update({id:"/tia-studio",path:"/tia-studio",getParentRoute:()=>Ee}),K_=g1.update({id:"/tia-kit",path:"/tia-kit",getParentRoute:()=>Ee}),Q_=v1.update({id:"/tia-gateway",path:"/tia-gateway",getParentRoute:()=>Ee}),G_=S1.update({id:"/tia-edge",path:"/tia-edge",getParentRoute:()=>Ee}),Y_=_1.update({id:"/tia-desktop",path:"/tia-desktop",getParentRoute:()=>Ee}),X_=x1.update({id:"/tia-code",path:"/tia-code",getParentRoute:()=>Ee}),q_=P1.update({id:"/terms-of-service",path:"/terms-of-service",getParentRoute:()=>Ee}),Tt=C1.update({id:"/solutions",path:"/solutions",getParentRoute:()=>Ee}),J_=I1.update({id:"/smart-accounting",path:"/smart-accounting",getParentRoute:()=>Ee}),Z_=T1.update({id:"/showcases",path:"/showcases",getParentRoute:()=>Ee}),eR=M1.update({id:"/services",path:"/services",getParentRoute:()=>Ee}),tR=O1.update({id:"/realtime-translation",path:"/realtime-translation",getParentRoute:()=>Ee}),nR=F1.update({id:"/products",path:"/products",getParentRoute:()=>Ee}),rR=D1.update({id:"/privacy-policy",path:"/privacy-policy",getParentRoute:()=>Ee}),oR=$1.update({id:"/portfolio",path:"/portfolio",getParentRoute:()=>Ee}),iR=U1.update({id:"/ourtoken",path:"/ourtoken",getParentRoute:()=>Ee}),sR=b1.update({id:"/open-source",path:"/open-source",getParentRoute:()=>Ee}),aR=H1.update({id:"/letschat",path:"/letschat",getParentRoute:()=>Ee}),lR=Q1.update({id:"/easyparent",path:"/easyparent",getParentRoute:()=>Ee}),uR=Y1.update({id:"/design-system",path:"/design-system",getParentRoute:()=>Ee}),cR=q1.update({id:"/contact",path:"/contact",getParentRoute:()=>Ee}),fR=Z1.update({id:"/company",path:"/company",getParentRoute:()=>Ee}),hu=t_.update({id:"/blog",path:"/blog",getParentRoute:()=>Ee}),dR=n_.update({id:"/about",path:"/about",getParentRoute:()=>Ee}),pR=o_.update({id:"/",path:"/",getParentRoute:()=>Ee}),hR=s_.update({id:"/",path:"/",getParentRoute:()=>ei}),mR=l_.update({id:"/tia-workspace",path:"/tia-workspace",getParentRoute:()=>ei}),gR=c_.update({id:"/live-media",path:"/live-media",getParentRoute:()=>ei}),yR=d_.update({id:"/finance-automation",path:"/finance-automation",getParentRoute:()=>ei}),vR=h_.update({id:"/",path:"/",getParentRoute:()=>Tt}),wR=g_.update({id:"/voice-language",path:"/voice-language",getParentRoute:()=>Tt}),SR=v_.update({id:"/private-ai",path:"/private-ai",getParentRoute:()=>Tt}),_R=S_.update({id:"/forward-deployed-engineering",path:"/forward-deployed-engineering",getParentRoute:()=>Tt}),RR=R_.update({id:"/finance-automation",path:"/finance-automation",getParentRoute:()=>Tt}),xR=k_.update({id:"/connected-assistants",path:"/connected-assistants",getParentRoute:()=>Tt}),kR=E_.update({id:"/ai-workflow-automation",path:"/ai-workflow-automation",getParentRoute:()=>Tt}),PR=I_.update({id:"/ai-product-development",path:"/ai-product-development",getParentRoute:()=>Tt}),ER=T_.update({id:"/ai-integration",path:"/ai-integration",getParentRoute:()=>Tt}),CR=M_.update({id:"/ai-implementation",path:"/ai-implementation",getParentRoute:()=>Tt}),IR=N_.update({id:"/agentic-operations",path:"/agentic-operations",getParentRoute:()=>Tt}),LR=U_.update({id:"/",path:"/",getParentRoute:()=>hu}),TR=b_.update({id:"/$slug",path:"/$slug",getParentRoute:()=>hu}),AR={BlogSlugRoute:TR,BlogIndexRoute:LR},MR=hu._addFileChildren(AR),OR={SolutionsAgenticOperationsRoute:IR,SolutionsAiImplementationRoute:CR,SolutionsAiIntegrationRoute:ER,SolutionsAiProductDevelopmentRoute:PR,SolutionsAiWorkflowAutomationRoute:kR,SolutionsConnectedAssistantsRoute:xR,SolutionsFinanceAutomationRoute:RR,SolutionsForwardDeployedEngineeringRoute:_R,SolutionsPrivateAiRoute:SR,SolutionsVoiceLanguageRoute:wR,SolutionsIndexRoute:vR},NR=Tt._addFileChildren(OR),FR={WorkFinanceAutomationRoute:yR,WorkLiveMediaRoute:gR,WorkTiaWorkspaceRoute:mR,WorkIndexRoute:hR},zR=ei._addFileChildren(FR),DR={IndexRoute:pR,AboutRoute:dR,BlogRoute:MR,CompanyRoute:fR,ContactRoute:cR,DesignSystemRoute:uR,EasyparentRoute:lR,LetschatRoute:aR,OpenSourceRoute:sR,OurtokenRoute:iR,PortfolioRoute:oR,PrivacyPolicyRoute:rR,ProductsRoute:nR,RealtimeTranslationRoute:tR,ServicesRoute:eR,ShowcasesRoute:Z_,SmartAccountingRoute:J_,SolutionsRoute:NR,TermsOfServiceRoute:q_,TiaCodeRoute:X_,TiaDesktopRoute:Y_,TiaEdgeRoute:G_,TiaGatewayRoute:Q_,TiaKitRoute:K_,TiaStudioRoute:H_,TiaWorkspaceRoute:W_,WorkRoute:zR},jR=Ee._addFileChildren(DR);function $R(){return KS({routeTree:jR,scrollRestoration:!0,trailingSlash:"always",defaultPreload:"intent",defaultPreloadDelay:50})}async function BR(){const n=await $R();let i;return i=[],window.__TSS_START_OPTIONS__={serializationAdapters:i},i.push(Qw),n.options.serializationAdapters&&i.push(...n.options.serializationAdapters),n.update({basepath:"",serializationAdapters:i}
11),n.stores.matchesId.get().length||await qw(n),n}var UR=BR;async function VR(){const n=await UR();return window.$_TSR?.h(),n}var Hl;function bR(){return Hl||(Hl=VR()),K.jsx(tS,{promise:Hl,children:n=>K.jsx(YS,{router:n})})}te.startTransition(()=>{Ng.hydrateRoot(document,K.jsx(te.StrictMode,{children:K.jsx(bR,{})}))});export{wh as L,Rh as O,Yr as R,WR as a,wS as b,U_ as c,b_ as d,Eg as g,K as j,te as r};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.