vendor: 5,225 bytes, line 1
1(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(l){if(l.ep)return;l.ep=!0;const c=s(l);fetch(l.href,c)}})();function Fr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var bl={exports:{}},ji={},Bl={exports:{}},ae={};var yh;function o0(){if(yh)return ae;yh=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function w(R){return R===null||typeof R!="object"?null:(R=v&&R[v]||R["@@iterator"],typeof R=="function"?R:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,j={};function C(R,V,se){this.props=R,this.context=V,this.refs=j,this.updater=se||E}C.prototype.isReactComponent={},C.prototype.setState=function(R,V){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,V,"setState")},C.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function D(){}D.prototype=C.prototype;function _(R,V,se){this.props=R,this.context=V,this.refs=j,this.updater=se||E}var I=_.prototype=new D;I.constructor=_,L(I,C.prototype),I.isPureReactComponent=!0;var H=Array.isArray,U=Object.prototype.hasOwnProperty,ee={current:null},ie={key:!0,ref:!0,__self:!0,__source:!0};function Q(R,V,se){var le,ce={},de=null,ye=null;if(V!=null)for(le in V.ref!==void 0&&(ye=V.ref),V.key!==void 0&&(de=""+V.key),V)U.call(V,le)&&!ie.hasOwnProperty(le)&&(ce[le]=V[le]);var pe=arguments.length-2;if(pe===1)ce.children=se;else if(1<pe){for(var Te=Array(pe),ht=0;ht<pe;ht++)Te[ht]=arguments[ht+2];ce.children=Te}if(R&&R.defaultProps)for(le in pe=R.defaultProps,pe)ce[le]===void 0&&(ce[le]=pe[le]);return{$$typeof:n,type:R,key:de,ref:ye,props:ce,_owner:ee.current}}function he(R,V){return{$$typeof:n,type:R.type,key:V,ref:R.ref,props:R.props,_owner:R._owner}}function ge(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function qe(R){var V={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(se){return V[se]})}var nt=/\/+/g;function Be(R,V){return typeof R=="object"&&R!==null&&R.key!=null?qe(""+R.key):V.toString(36)}function We(R,V,se,le,ce){var de=typeof R;(de==="undefined"||de==="boolean")&&(R=null);var ye=!1;if(R===null)ye=!0;else switch(de){case"string":case"number":ye=!0;break;case"object":switch(R.$$typeof){case n:case r:ye=!0}}if(ye)return ye=R,ce=ce(ye),R=le===""?"."+Be(ye,0):le,H(ce)?(se="",R!=null&&(se=R.replace(nt,"$&/")+"/"),We(ce,V,se,"",function(ht){return ht})):ce!=null&&(ge(ce)&&(ce=he(ce,se+(!ce.key||ye&&ye.key===ce.key?"":(""+ce.key).replace(nt,"$&/")+"/")+R)),V.push(ce)),1;if(ye=0,le=le===""?".":le+":",H(R))for(var pe=0;pe<R.length;pe++){de=R[pe];var Te=le+Be(de,pe);ye+=We(de,V,se,Te,ce)}else if(Te=w(R),typeof Te=="function")for(R=Te.call(R),pe=0;!(de=R.next()).done;)de=de.value,Te=le+Be(de,pe++),ye+=We(de,V,se,Te,ce);else if(de==="object")throw V=String(R),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.");return ye}function Oe(R,V,se){if(R==null)return R;var le=[],ce=0;return We(R,le,"","",function(de){return V.call(se,de,ce++)}),le}function rt(R){if(R._status===-1){var V=R._result;V=V(),V.then(function(se){(R._status===0||R._status===-1)&&(R._status=1,R._result=se)},function(se){(R._status===0||R._status===-1)&&(R._status=2,R._result=se)}),R._status===-1&&(R._status=0,R._result=V)}if(R._status===1)return R._result.default;throw R._result}var oe={current:null},z={transition:null},X={ReactCurrentDispatcher:oe,ReactCurrentBatchConfig:z,ReactCurrentOwner:ee};function W(){throw Error("act(...) is not supported in production builds of React.")}return ae.Children={map:Oe,forEach:function(R,V,se){Oe(R,function(){V.apply(this,arguments)},se)},count:function(R){var V=0;return Oe(R,function(){V++}),V},toArray:function(R){return Oe(R,function(V){return V})||[]},only:function(R){if(!ge(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},ae.Component=C,ae.Fragment=s,ae.Profiler=l,ae.PureComponent=_,ae.StrictMode=o,ae.Suspense=p,ae.__SECRET_INT
vendor: 7,122 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X,ae.act=W,ae.cloneElement=function(R,V,se){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var le=L({},R.props),ce=R.key,de=R.ref,ye=R._owner;if(V!=null){if(V.ref!==void 0&&(de=V.ref,ye=ee.current),V.key!==void 0&&(ce=""+V.key),R.type&&R.type.defaultProps)var pe=R.type.defaultProps;for(Te in V)U.call(V,Te)&&!ie.hasOwnProperty(Te)&&(le[Te]=V[Te]===void 0&&pe!==void 0?pe[Te]:V[Te])}var Te=arguments.length-2;if(Te===1)le.children=se;else if(1<Te){pe=Array(Te);for(var ht=0;ht<Te;ht++)pe[ht]=arguments[ht+2];le.children=pe}return{$$typeof:n,type:R.type,key:ce,ref:de,props:le,_owner:ye}},ae.createContext=function(R){return R={$$typeof:d,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:c,_context:R},R.Consumer=R},ae.createElement=Q,ae.createFactory=function(R){var V=Q.bind(null,R);return V.type=R,V},ae.createRef=function(){return{current:null}},ae.forwardRef=function(R){return{$$typeof:h,render:R}},ae.isValidElement=ge,ae.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:rt}},ae.memo=function(R,V){return{$$typeof:m,type:R,compare:V===void 0?null:V}},ae.startTransition=function(R){var V=z.transition;z.transition={};try{R()}finally{z.transition=V}},ae.unstable_act=W,ae.useCallback=function(R,V){return oe.current.useCallback(R,V)},ae.useContext=function(R){return oe.current.useContext(R)},ae.useDebugValue=function(){},ae.useDeferredValue=function(R){return oe.current.useDeferredValue(R)},ae.useEffect=function(R,V){return oe.current.useEffect(R,V)},ae.useId=function(){return oe.current.useId()},ae.useImperativeHandle=function(R,V,se){return oe.current.useImperativeHandle(R,V,se)},ae.useInsertionEffect=function(R,V){return oe.current.useInsertionEffect(R,V)},ae.useLayoutEffect=function(R,V){return oe.current.useLayoutEffect(R,V)},ae.useMemo=function(R,V){return oe.current.useMemo(R,V)},ae.useReducer=function(R,V,se){return oe.current.useReducer(R,V,se)},ae.useRef=function(R){return oe.current.useRef(R)},ae.useState=function(R){return oe.current.useState(R)},ae.useSyncExternalStore=function(R,V,se){return oe.current.useSyncExternalStore(R,V,se)},ae.useTransition=function(){return oe.current.useTransition()},ae.version="18.3.1",ae}var vh;function Vo(){return vh||(vh=1,Bl.exports=o0()),Bl.exports}var xh;function a0(){if(xh)return ji;xh=1;var n=Vo(),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(h,p,m){var g,v={},w=null,E=null;m!==void 0&&(w=""+m),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(E=p.ref);for(g in p)o.call(p,g)&&!c.hasOwnProperty(g)&&(v[g]=p[g]);if(h&&h.defaultProps)for(g in p=h.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:r,type:h,key:w,ref:E,props:v,_owner:l.current}}return ji.Fragment=s,ji.jsx=d,ji.jsxs=d,ji}var wh;function l0(){return wh||(wh=1,bl.exports=a0()),bl.exports}var x=l0(),P=Vo();const Ii=Fr(P);var ho={},zl={exports:{}},dt={},Ul={exports:{}},$l={};var Sh;function u0(){return Sh||(Sh=1,(function(n){function r(z,X){var W=z.length;z.push(X);e:for(;0<W;){var R=W-1>>>1,V=z[R];if(0<l(V,X))z[R]=X,z[W]=V,W=R;else break e}}function s(z){return z.length===0?null:z[0]}function o(z){if(z.length===0)return null;var X=z[0],W=z.pop();if(W!==X){z[0]=W;e:for(var R=0,V=z.length,se=V>>>1;R<se;){var le=2*(R+1)-1,ce=z[le],de=le+1,ye=z[de];if(0>l(ce,W))de<V&&0>l(ye,ce)?(z[R]=ye,z[de]=W,R=de):(z[R]=ce,z[le]=W,R=le);else if(de<V&&0>l(ye,W))z[R]=ye,z[de]=W,R=de;else break e}}return X}function l(z,X){var W=z.sortIndex-X.sortIndex;return W!==0?W:z.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var p=[],m=[],g=1,v=null,w=3,E=!1,L=!1,j=!1,C=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(z){for(var X=s(m);X!==null;){if(X.callback===null)o(m);else if(X.startTime<=z)o(m),X.sortIndex=X.expirationTime,r(p,X);else break;X=s(m)}}function H(z){if(j=!1,I(z),!L)if(s(p)!==null)L=!0,rt(U);else{var X=s(m);X!==null&&oe(H,X.startTime-z)}}function U(z,X){L=!1,j&&(j=!1,D(Q),Q=-1),E=!0;var W=w;try{for(I(X),v=s(p);v!==null&&(!(v.expirationTime>X)||z&&!qe());){var R=v.callback;if(typeof R=="function"){v.callback=null,w=v.priorityLevel;var V=R(v.expirationTime<=X);X=n.unstable_now(),typeof V=="function"?v.callback=V:v===s(p)&&o(p),I(X)}else o(p);v=s(p)}if(v!==null)var se=!0;else{var le=s(m);le!==null&&oe(H,le.startTime-X),se=!1}return se}finally{v=null,w=W,E=!1}}var ee=!1,ie=null,Q=-1,he=5,ge=-1;function qe(){return!(n.unstable_now()-ge<he)}function nt(){if(ie!==null){var z=n.unstable_now();ge=z;var X=!0;try{X=ie(!0,z)}finally{X?Be():(ee=!1,ie=null)}}else ee=!1}var Be;if(typeof _=="function")Be=function(){_(nt)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,Oe=We.port2;We.port1.onmessage=nt,Be=function(){Oe.postMessage(null)}}else Be=function(){C(nt,0)};function rt(z){ie=z,ee||(ee=!0,Be())}function oe(z,X){Q=C(function(){z(n.unstable_now())},X)}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(z){z.callback=null},n.unstable_continueExecution=function(){L||E||(L=!0,rt(U))},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_getFirstCallbackNode=function(){return s(p)},n.unstable_next=function(z){switch(w){case 1:case 2:case 3:var X=3;break;default:X=w}var W=w;w=X;try{return z()}finally{w=W}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(z,X){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var W=w;w=z;try{return X()}finally{w=W}},n.unstable_scheduleCallback=function(z,X,W){var R=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?R+W:R):W=R,z){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=W+V,z={id:g++,callback:X,priorityLevel:z,startTime:W,expirationTime:V,sortIndex:-1},W>R?(z.sortIndex=W,r(m,z),s(p)===null&&z===s(m)&&(j?(D(Q),Q=-1):j=!0,oe(H,W-R))):(z.sortIndex=V,r(p,z),L||E||(L=!0,rt(U))),z},n.unstable_shouldYield=qe,n.unstable_wrapCallback=function(z){var X=w;return function(){var W=w;w=X;try{return z.apply(this,arguments)}finally{w=W}}}})($l)),$l}var Th;
vendor: 47,590 bytes, lines 1-6
1function c0(){return Th||(Th=1,Ul.exports=u0()),Ul.exports}var Eh;function d0(){if(Eh)return dt;Eh=1;var n=Vo(),r=c0();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);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 o=new Set,l={};function c(e,t){d(e,t),d(e+"Capture",t)}function d(e,t){for(l[e]=t,e=0;e<t.length;e++)o.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function w(e){return p.call(v,e)?!0:p.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function E(e,t,i,a){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function L(e,t,i,a){if(t===null||typeof t>"u"||E(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.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 j(e,t,i,a,u,f,y){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=u,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=y}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new j(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new j(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new j(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new j(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){C[e]=new j(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new j(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new j(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new j(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new j(e,5,!1,e.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function _(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(D,_);C[t]=new j(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(D,_);C[t]=new j(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(D,_);C[t]=new j(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new j(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new j(e,1,!1,e.toLowerCase(),null,!0,!0)});function I(e,t,i,a){var u=C.hasOwnProperty(t)?C[t]:null;(u!==null?u.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(L(t,i,u,a)&&(i=null),a||u===null?w(t)&&(i===null?e.removeAttribute(t):e.setAttribute(t,""+i)):u.mustUseProperty?e[u.propertyName]=i===null?u.type===3?!1:"":i:(t=u.attributeName,a=u.attributeNamespace,i===null?e.removeAttribute(t):(u=u.type,i=u===3||u===4&&i===!0?"":""+i,a?e.setAttributeNS(a,t,i):e.setAttribute(t,i))))}var H=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),ee=Symbol.for("react.portal"),ie=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ge=Symbol.for("react.provider"),qe=Symbol.for("react.context"),nt=Symbol.for("react.forward_ref"),Be=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),z=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=z&&e[z]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,R;function V(e){if(R===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return` 2`+R+e}var se=!1;function le(e,t){if(!e||se)return"";se=!0;var i=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(M){var a=M}Reflect.construct(e,[],t)}else{try{t.call()}catch(M){a=M}e.call(t.prototype)}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var u=M.stack.split(` 3`),f=a.stack.split(` 4`),y=u.length-1,S=f.length-1;1<=y&&0<=S&&u[y]!==f[S];)S--;for(;1<=y&&0<=S;y--,S--)if(u[y]!==f[S]){if(y!==1||S!==1)do if(y--,S--,0>S||u[y]!==f[S]){var T=` 5`+u[y].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),T}while(1<=y&&0<=S);break}}}finally{se=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?V(e):""}function ce(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=le(e.type,!1),e;case 11:return e=le(e.type.render,!1),e;case 1:return e=le(e.type,!0),e;default:return""}}function de(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 ie:return"Fragment";case ee:return"Portal";case he:return"Profiler";case Q:return"StrictMode";case Be:return"Suspense";case We:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qe:return(e.displayName||"Context")+".Consumer";case ge:return(e._context.displayName||"Context")+".Provider";case nt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oe:return t=e.displayName||null,t!==null?t:de(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return de(e(t))}catch{}}return null}function ye(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 de(t);case 8:return t===Q?"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 pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Te(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ht(e){var t=Te(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var u=i.get,f=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){a=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ns(e){e._valueTracker||(e._valueTracker=ht(e))}function Tc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),a="";return e&&(a=Te(e)?e.checked?"true":"false":e.value),e=a,e!==i?(t.setValue(e),!0):!1}function rs(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 Ko(e,t){var i=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ec(e,t){var i=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;i=pe(t.value!=null?t.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kc(e,t){t=t.checked,t!=null&&I(e,"checked",t,!1)}function Go(e,t){kc(e,t);var i=pe(t.value),a=t.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?qo(e,t.type,i):t.hasOwnProperty("defaultValue")&&qo(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cc(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function qo(e,t,i){(t!=="number"||rs(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var $r=Array.isArray;function rr(e,t,i,a){if(e=e.options,t){t={};for(var u=0;u<i.length;u++)t["$"+i[u]]=!0;for(i=0;i<e.length;i++)u=t.hasOwnProperty("$"+e[i].value),e[i].selected!==u&&(e[i].selected=u),u&&a&&(e[i].defaultSelected=!0)}else{for(i=""+pe(i),t=null,u=0;u<e.length;u++){if(e[u].value===i){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Yo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pc(e,t){var i=t.value;if(i==null){if(i=t.children,t=t.defaultValue,i!=null){if(t!=null)throw Error(s(92));if($r(i)){if(1<i.length)throw Error(s(93));i=i[0]}t=i}t==null&&(t=""),i=t}e._wrapperState={initialValue:pe(i)}}function Rc(e,t){var i=pe(t.value),a=pe(t.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),t.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function jc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Nc(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 Qo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Nc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var is,Ac=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,u){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(is=is||document.createElement("div"),is.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=is.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wr(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Hr={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},cy=["Webkit","ms","Moz","O"];Object.keys(Hr).forEach(function(e){cy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hr[t]=Hr[e]})});function Lc(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Hr.hasOwnProperty(e)&&Hr[e]?(""+t).trim():t+"px"}function Mc(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=i.indexOf("--")===0,u=Lc(i,t[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,u):e[i]=u}}var dy=W({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 Xo(e,t){if(t){if(dy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function Zo(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 Jo=null;function ea(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ta=null,ir=null,sr=null;function Dc(e){if(e=hi(e)){if(typeof ta!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Rs(t),ta(e.stateNode,e.type,t))}}function _c(e){ir?sr?sr.push(e):sr=[e]:ir=e}function Oc(){if(ir){var e=ir,t=sr;if(sr=ir=null,Dc(e),t)for(e=0;e<t.length;e++)Dc(t[e])}}function Ic(e,t){return e(t)}function Vc(){}var na=!1;function Fc(e,t,i){if(na)return e(t,i);na=!0;try{return Ic(e,t,i)}finally{na=!1,(ir!==null||sr!==null)&&(Vc(),Oc())}}function Kr(e,t){var i=e.stateNode;if(i===null)return null;var a=Rs(i);if(a===null)return null;i=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,t,typeof i));return i}var ra=!1;if(h)try{var Gr={};Object.defineProperty(Gr,"passive",{get:function(){ra=!0}}),window.addEventListener("test",Gr,Gr),window.removeEventListener("test",Gr,Gr)}catch{ra=!1}function fy(e,t,i,a,u,f,y,S,T){var M=Array.prototype.slice.call(arguments,3);try{t.apply(i,M)}catch(F){this.onError(F)}}var qr=!1,ss=null,os=!1,ia=null,hy={onError:function(e){qr=!0,ss=e}};function py(e,t,i,a,u,f,y,S,T){qr=!1,ss=null,fy.apply(hy,arguments)}function my(e,t,i,a,u,f,y,S,T){if(py.apply(this,arguments),qr){if(qr){var M=ss;qr=!1,ss=null}else throw Error(s(198));os||(os=!0,ia=M)}}function On(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function bc(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 Bc(e){if(On(e)!==e)throw Error(s(188))}function gy(e){var t=e.alternate;if(!t){if(t=On(e),t===null)throw Error(s(188));return t!==e?null:e}for(var i=e,a=t;;){var u=i.return;if(u===null)break;var f=u.alternate;if(f===null){if(a=u.return,a!==null){i=a;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===i)return Bc(u),e;if(f===a)return Bc(u),t;f=f.sibling}throw Error(s(188))}if(i.return!==a.return)i=u,a=f;else{for(var y=!1,S=u.child;S;){if(S===i){y=!0,i=u,a=f;break}if(S===a){y=!0,a=u,i=f;break}S=S.sibling}if(!y){for(S=f.child;S;){if(S===i){y=!0,i=f,a=u;break}if(S===a){y=!0,a=f,i=u;break}S=S.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==a)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:t}function zc(e){return e=gy(e),e!==null?Uc(e):null}function Uc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Uc(e);if(t!==null)return t;e=e.sibling}return null}var $c=r.unstable_scheduleCallback,Wc=r.unstable_cancelCallback,yy=r.unstable_shouldYield,vy=r.unstable_requestPaint,Me=r.unstable_now,xy=r.unstable_getCurrentPriorityLevel,sa=r.unstable_ImmediatePriority,Hc=r.unstable_UserBlockingPriority,as=r.unstable_NormalPriority,wy=r.unstable_LowPriority,Kc=r.unstable_IdlePriority,ls=null,bt=null;function Sy(e){if(bt&&typeof bt.onCommitFiberRoot=="function")try{bt.onCommitFiberRoot(ls,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:ky,Ty=Math.log,Ey=Math.LN2;function ky(e){return e>>>=0,e===0?32:31-(Ty(e)/Ey|0)|0}var us=64,cs=4194304;function Yr(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 ds(e,t){var i=e.pendingLanes;if(i===0)return 0;var a=0,u=e.suspendedLanes,f=e.pingedLanes,y=i&268435455;if(y!==0){var S=y&~u;S!==0?a=Yr(S):(f&=y,f!==0&&(a=Yr(f)))}else y=i&~u,y!==0?a=Yr(y):f!==0&&(a=Yr(f));if(a===0)return 0;if(t!==0&&t!==a&&(t&u)===0&&(u=a&-a,f=t&-t,u>=f||u===16&&(f&4194240)!==0))return t;if((a&4)!==0&&(a|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)i=31-Nt(t),u=1<<i,a|=e[i],t&=~u;return a}function Cy(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 Py(e,t){for(var i=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,f=e.pendingLanes;0<f;){var y=31-Nt(f),S=1<<y,T=u[y];T===-1?((S&i)===0||(S&a)!==0)&&(u[y]=Cy(S,t)):T<=t&&(e.expiredLanes|=S),f&=~S}}function oa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gc(){var e=us;return us<<=1,(us&4194240)===0&&(us=64),e}function aa(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function Qr(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=i}function Ry(e,t){var i=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 a=e.eventTimes;for(e=e.expirationTimes;0<i;){var u=31-Nt(i),f=1<<u;t[u]=0,a[u]=-1,e[u]=-1,i&=~f}}function la(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var a=31-Nt(i),u=1<<a;u&t|e[a]&t&&(e[a]|=t),i&=~u}}var me=0;function qc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Yc,ua,Qc,Xc,Zc,ca=!1,fs=[],fn=null,hn=null,pn=null,Xr=new Map,Zr=new Map,mn=[],jy="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 Jc(e,t){switch(e){case"focusin":case"focusout":fn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":pn=null;break;case"pointerover":case"pointerout":Xr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zr.delete(t.pointerId)}}function Jr(e,t,i,a,u,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:i,eventSystemFlags:a,nativeEvent:f,targetContainers:[u]},t!==null&&(t=hi(t),t!==null&&ua(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Ny(e,t,i,a,u){switch(t){case"focusin":return fn=Jr(fn,e,t,i,a,u),!0;case"dragenter":return hn=Jr(hn,e,t,i,a,u),!0;case"mouseover":return pn=Jr(pn,e,t,i,a,u),!0;case"pointerover":var f=u.pointerId;return Xr.set(f,Jr(Xr.get(f)||null,e,t,i,a,u)),!0;case"gotpointercapture":return f=u.pointerId,Zr.set(f,Jr(Zr.get(f)||null,e,t,i,a,u)),!0}return!1}function ed(e){var t=In(e.target);if(t!==null){var i=On(t);if(i!==null){if(t=i.tag,t===13){if(t=bc(i),t!==null){e.blockedOn=t,Zc(e.priority,function(){Qc(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function hs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=fa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);Jo=a,i.target.dispatchEvent(a),Jo=null}else return t=hi(i),t!==null&&ua(t),e.blockedOn=i,!1;t.shift()}return!0}function td(e,t,i){hs(e)&&i.delete(t)}function Ay(){ca=!1,fn!==null&&hs(fn)&&(fn=null),hn!==null&&hs(hn)&&(hn=null),pn!==null&&hs(pn)&&(pn=null),Xr.forEach(td),Zr.forEach(td)}function ei(e,t){e.blockedOn===t&&(e.blockedOn=null,ca||(ca=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ay)))}function ti(e){function t(u){return ei(u,e)}if(0<fs.length){ei(fs[0],e);for(var i=1;i<fs.length;i++){var a=fs[i];a.blockedOn===e&&(a.blockedOn=null)}}for(fn!==null&&ei(fn,e),hn!==null&&ei(hn,e),pn!==null&&ei(pn,e),Xr.forEach(t),Zr.forEach(t),i=0;i<mn.length;i++)a=mn[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<mn.length&&(i=mn[0],i.blockedOn===null);)ed(i),i.blockedOn===null&&mn.shift()}var or=H.ReactCurrentBatchConfig,ps=!0;function Ly(e,t,i,a){var u=me,f=or.transition;or.transition=null;try{me=1,da(e,t,i,a)}finally{me=u,or.transition=f}}function My(e,t,i,a){var u=me,f=or.transition;or.transition=null;try{me=4,da(e,t,i,a)}finally{me=u,or.transition=f}}function da(e,t,i,a){if(ps){var u=fa(e,t,i,a);if(u===null)Na(e,t,a,ms,i),Jc(e,a);else if(Ny(u,e,t,i,a))a.stopPropagation();else if(Jc(e,a),t&4&&-1<jy.indexOf(e)){for(;u!==null;){var f=hi(u);if(f!==null&&Yc(f),f=fa(e,t,i,a),f===null&&Na(e,t,a,ms,i),f===u)break;u=f}u!==null&&a.stopPropagation()}else Na(e,t,a,null,i)}}var ms=null;function fa(e,t,i,a){if(ms=null,e=ea(a),e=In(e),e!==null)if(t=On(e),t===null)e=null;else if(i=t.tag,i===13){if(e=bc(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ms=e,null}function nd(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(xy()){case sa:return 1;case Hc:return 4;case as:case wy:return 16;case Kc:return 536870912;default:return 16}default:return 16}}var gn=null,ha=null,gs=null;function rd(){if(gs)return gs;var e,t=ha,i=t.length,a,u="value"in gn?gn.value:gn.textContent,f=u.length;for(e=0;e<i&&t[e]===u[e];e++);var y=i-e;for(a=1;a<=y&&t[i-a]===u[f-a];a++);return gs=u.slice(e,1<a?1-a:void 0)}function ys(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 vs(){return!0}function id(){return!1}function pt(e){function t(i,a,u,f,y){this._reactName=i,this._targetInst=u,this.type=a,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(i=e[S],this[S]=i?i(f):f[S]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?vs:id,this.isPropagationStopped=id,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=vs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=vs)},persist:function(){},isPersistent:vs}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pa=pt(ar),ni=W({},ar,{view:0,detail:0}),Dy=pt(ni),ma,ga,ri,xs=W({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:va,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!==ri&&(ri&&e.type==="mousemove"?(ma=e.screenX-ri.screenX,ga=e.screenY-ri.screenY):ga=ma=0,ri=e),ma)},movementY:function(e){return"movementY"in e?e.movementY:ga}}),sd=pt(xs),_y=W({},xs,{dataTransfer:0}),Oy=pt(_y),Iy=W({},ni,{relatedTarget:0}),ya=pt(Iy),Vy=W({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),Fy=pt(Vy),by=W({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),By=pt(by),zy=W({},ar,{data:0}),od=pt(zy),Uy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$y={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"},Wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wy[e])?!!t[e]:!1}function va(){return Hy}var Ky=W({},ni,{key:function(e){if(e.key){var t=Uy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ys(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$y[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:va,charCode:function(e){return e.type==="keypress"?ys(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ys(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gy=pt(Ky),qy=W({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ad=pt(qy),Yy=W({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:va}),Qy=pt(Yy),Xy=W({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zy=pt(Xy),Jy=W({},xs,{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}),ev=pt(Jy),tv=[9,13,27,32],xa=h&&"CompositionEvent"in window,ii=null;h&&"documentMode"in document&&(ii=document.documentMode);var nv=h&&"TextEvent"in window&&!ii,ld=h&&(!xa||ii&&8<ii&&11>=ii),ud=" ",cd=!1;function dd(e,t){switch(e){case"keyup":return tv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lr=!1;function rv(e,t){switch(e){case"compositionend":return fd(t);case"keypress":return t.which!==32?null:(cd=!0,ud);case"textInput":return e=t.data,e===ud&&cd?null:e;default:return null}}function iv(e,t){if(lr)return e==="compositionend"||!xa&&dd(e,t)?(e=rd(),gs=ha=gn=null,lr=!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 ld&&t.locale!=="ko"?null:t.data;default:return null}}var sv={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 hd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sv[e.type]:t==="textarea"}function pd(e,t,i,a){_c(a),t=ks(t,"onChange"),0<t.length&&(i=new pa("onChange","change",null,i,a),e.push({event:i,listeners:t}))}var si=null,oi=null;function ov(e){Md(e,0)}function ws(e){var t=hr(e);if(Tc(t))return e}function av(e,t){if(e==="change")return t}var md=!1;if(h){var wa;if(h){var Sa="oninput"in document;if(!Sa){var gd=document.createElement("div");gd.setAttribute("oninput","return;"),Sa=typeof gd.oninput=="function"}wa=Sa}else wa=!1;md=wa&&(!document.documentMode||9<document.documentMode)}function yd(){si&&(si.detachEvent("onpropertychange",vd),oi=si=null)}function vd(e){if(e.propertyName==="value"&&ws(oi)){var t=[];pd(t,oi,e,ea(e)),Fc(ov,t)}}function lv(e,t,i){e==="focusin"?(yd(),si=t,oi=i,si.attachEvent("onpropertychange",vd)):e==="focusout"&&yd()}function uv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ws(oi)}function cv(e,t){if(e==="click")return ws(t)}function dv(e,t){if(e==="input"||e==="change")return ws(t)}function fv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:fv;function ai(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var u=i[a];if(!p.call(t,u)||!At(e[u],t[u]))return!1}return!0}function xd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wd(e,t){var i=xd(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=t&&a>=t)return{node:i,offset:t-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=xd(i)}}function Sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Td(){for(var e=window,t=rs();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=rs(e.document)}return t}function Ta(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 hv(e){var t=Td(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&Sd(i.ownerDocument.documentElement,i)){if(a!==null&&Ta(i)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=i.textContent.length,f=Math.min(a.start,u);a=a.end===void 0?f:Math.min(a.end,u),!e.extend&&f>a&&(u=a,a=f,f=u),u=wd(i,f);var y=wd(i,a);u&&y&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),f>a?(e.addRange(t),e.extend(y.node,y.offset)):(t.setEnd(y.node,y.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<t.length;i++)e=t[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pv=h&&"documentMode"in document&&11>=document.documentMode,ur=null,Ea=null,li=null,ka=!1;function Ed(e,t,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ka||ur==null||ur!==rs(a)||(a=ur,"selectionStart"in a&&Ta(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),li&&ai(li,a)||(li=a,a=ks(Ea,"onSelect"),0<a.length&&(t=new pa("onSelect","select",null,t,i),e.push({event:t,listeners:a}),t.target=ur)))}function Ss(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var cr={animationend:Ss("Animation","AnimationEnd"),animationiteration:Ss("Animation","AnimationIteration"),animationstart:Ss("Animation","AnimationStart"),transitionend:Ss("Transition","TransitionEnd")},Ca={},kd={};h&&(kd=document.createElement("div").style,"AnimationEvent"in window||(delete cr.animationend.animation,delete cr.animationiteration.animation,delete cr.animationstart.animation),"TransitionEvent"in window||delete cr.transitionend.transition);function Ts(e){if(Ca[e])return Ca[e];if(!cr[e])return e;var t=cr[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in kd)return Ca[e]=t[i];return e}var Cd=Ts("animationend"),Pd=Ts("animationiteration"),Rd=Ts("animationstart"),jd=Ts("transitionend"),Nd=new Map,Ad="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){Nd.set(e,t),c(t,[e])}for(var Pa=0;Pa<Ad.length;Pa++){var Ra=Ad[Pa],mv=Ra.toLowerCase(),gv=Ra[0].toUpperCase()+Ra.slice(1);yn(mv,"on"+gv)}yn(Cd,"onAnimationEnd"),yn(Pd,"onAnimationIteration"),yn(Rd,"onAnimationStart"),yn("dblclick","onDoubleClick"),yn("focusin","onFocus"),yn("focusout","onBlur"),yn(jd,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ui="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(" "),yv=new Set("cancel close invalid load scroll toggle".split(" ").concat(ui));function Ld(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,my(a,t,void 0,e),e.currentTarget=null}function Md(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var a=e[i],u=a.event;a=a.listeners;e:{var f=void 0;if(t)for(var y=a.length-1;0<=y;y--){var S=a[y],T=S.instance,M=S.currentTarget;if(S=S.listener,T!==f&&u.isPropagationStopped())break e;Ld(u,S,M),f=T}else for(y=0;y<a.length;y++){if(S=a[y],T=S.instance,M=S.currentTarget,S=S.listener,T!==f&&u.isPropagationStopped())break e;Ld(u,S,M),f=T}}}if(os)throw e=ia,os=!1,ia=null,e}function xe(e,t){var i=t[Oa];i===void 0&&(i=t[Oa]=new Set);var a=e+"__bubble";i.has(a)||(Dd(t,e,2,!1),i.add(a))}function ja(e,t,i){var a=0;t&&(a|=4),Dd(i,e,a,t)}var Es="_reactListening"+Math.random().toString(36).slice(2);function ci(e){if(!e[Es]){e[Es]=!0,o.forEach(function(i){i!=="selectionchange"&&(yv.has(i)||ja(i,!1,e),ja(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Es]||(t[Es]=!0,ja("selectionchange",!1,t))}}function Dd(e,t,i,a){switch(nd(t)){case 1:var u=Ly;break;case 4:u=My;break;default:u=da}i=u.bind(null,t,i,e),u=void 0,!ra||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,i,{capture:!0,passive:u}):e.addEventListener(t,i,!0):u!==void 0?e.addEventListener(t,i,{passive:u}):e.addEventListener(t,i,!1)}function Na(e,t,i,a,u){var f=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var y=a.tag;if(y===3||y===4){var S=a.stateNode.containerInfo;if(S===u||S.nodeType===8&&S.parentNode===u)break;if(y===4)for(y=a.return;y!==null;){var T=y.tag;if((T===3||T===4)&&(T=y.stateNode.containerInfo,T===u||T.nodeType===8&&T.parentNode===u))return;y=y.return}for(;S!==null;){if(y=In(S),y===null)return;if(T=y.tag,T===5||T===6){a=f=y;continue e}S=S.parentNode}}a=a.return}Fc(function(){var M=f,F=ea(i),b=[];e:{var O=Nd.get(e);if(O!==void 0){var $=pa,G=e;switch(e){case"keypress":if(ys(i)===0)break e;case"keydown":case"keyup":$=Gy;break;case"focusin":G="focus",$=ya;break;case"focusout":G="blur",$=ya;break;case"beforeblur":case"afterblur":$=ya;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=sd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=Oy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=Qy;break;case Cd:case Pd:case Rd:$=Fy;break;case jd:$=Zy;break;case"scroll":$=Dy;break;case"wheel":$=ev;break;case"copy":case"cut":case"paste":$=By;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=ad}var q=(t&4)!==0,De=!q&&e==="scroll",N=q?O!==null?O+"Capture":null:O;q=[];for(var k=M,A;k!==null;){A=k;var B=A.stateNode;if(A.tag===5&&B!==null&&(A=B,N!==null&&(B=Kr(k,N),B!=null&&q.push(di(k,B,A)))),De)break;k=k.return}0<q.length&&(O=new $(O,G,null,i,F),b.push({event:O,listeners:q}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",O&&i!==Jo&&(G=i.relatedTarget||i.fromElement)&&(In(G)||G[Qt]))break e;if(($||O)&&(O=F.window===F?F:(O=F.ownerDocument)?O.defaultView||O.parentWindow:window,$?(G=i.relatedTarget||i.toElement,$=M,G=G?In(G):null,G!==null&&(De=On(G),G!==De||G.tag!==5&&G.tag!==6)&&(G=null)):($=null,G=M),$!==G)){if(q=sd,B="onMouseLeave",N="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(q=ad,B="onPointerLeave",N="onPointerEnter",k="pointer"),De=$==null?O:hr($),A=G==null?O:hr(G),O=new q(B,k+"leave",$,i,F),O.target=De,O.relatedTarget=A,B=null,In(F)===M&&(q=new q(N,k+"enter",G,i,F),q.target=A,q.relatedTarget=De,B=q),De=B,$&&G)t:{for(q=$,N=G,k=0,A=q;A;A=dr(A))k++;for(A=0,B=N;B;B=dr(B))A++;for(;0<k-A;)q=dr(q),k--;for(;0<A-k;)N=dr(N),A--;for(;k--;){if(q===N||N!==null&&q===N.alternate)break t;q=dr(q),N=dr(N)}q=null}else q=null;$!==null&&_d(b,O,$,q,!1),G!==null&&De!==null&&_d(b,De,G,q,!0)}}e:{if(O=M?hr(M):window,$=O.nodeName&&O.nodeName.toLowerCase(),$==="select"||$==="input"&&O.type==="file")var Y=av;else if(hd(O))if(md)Y=dv;else{Y=uv;var Z=lv}else($=O.nodeName)&&$.toLowerCase()==="input"&&(O.type==="checkbox"||O.type==="radio")&&(Y=cv);if(Y&&(Y=Y(e,M))){pd(b,Y,i,F);break e}Z&&Z(e,O,M),e==="focusout"&&(Z=O._wrapperState)&&Z.controlled&&O.type==="number"&&qo(O,"number",O.value)}switch(Z=M?hr(M):window,e){case"focusin":(hd(Z)||Z.contentEditable==="true")&&(ur=Z,Ea=M,li=null);break;case"focusout":li=Ea=ur=null;break;case"mousedown":ka=!0;break;case"contextmenu":case"mouseup":case"dragend":ka=!1,Ed(b,i,F);break;case"selectionchange":if(pv)break;case"keydown":case"keyup":Ed(b,i,F)}var J;if(xa)e:{switch(e){case"compositionstart":var ne="onCompositionStart";break e;case"compositionend":ne="onCompositionEnd";break e;case"compositionupdate":ne="onCompositionUpdate";break e}ne=void 0}else lr?dd(e,i)&&(ne="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ne="onCompositionStart");ne&&(ld&&i.locale!=="ko"&&(lr||ne!=="onCompositionStart"?ne==="onCompositionEnd"&&lr&&(J=rd()):(gn=F,ha="value"in gn?gn.value:gn.textContent,lr=!0)),Z=ks(M,ne),0<Z.length&&(ne=new od(ne,e,null,i,F),b.push({event:ne,listeners:Z}),J?ne.data=J:(J=fd(i),J!==null&&(ne.data=J)))),(J=nv?rv(e,i):iv(e,i))&&(M=ks(M,"onBeforeInput"),0<M.length&&(F=new od("onBeforeInput","beforeinput",null,i,F),b.push({event:F,listeners:M}),F.data=J))}Md(b,t)})}function di(e,t,i){return{instance:e,listener:t,currentTarget:i}}function ks(e,t){for(var i=t+"Capture",a=[];e!==null;){var u=e,f=u.stateNode;u.tag===5&&f!==null&&(u=f,f=Kr(e,i),f!=null&&a.unshift(di(e,f,u)),f=Kr(e,t),f!=null&&a.push(di(e,f,u))),e=e.return}return a}function dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _d(e,t,i,a,u){for(var f=t._reactName,y=[];i!==null&&i!==a;){var S=i,T=S.alternate,M=S.stateNode;if(T!==null&&T===a)break;S.tag===5&&M!==null&&(S=M,u?(T=Kr(i,f),T!=null&&y.unshift(di(i,T,S))):u||(T=Kr(i,f),T!=null&&y.push(di(i,T,S)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var vv=/\r\n?/g,xv=/\u0000|\uFFFD/g;function Od(e){return(typeof e=="string"?e:""+e).replace(vv,` 6`).replace(xv,"")}function Cs(e,t,i){if(t=Od(t),Od(e)!==t&&i)throw Error(s(425))}function Ps(){}var Aa=null,La=null;function Ma(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 Da=typeof setTimeout=="function"?setTimeout:void 0,wv=typeof clearTimeout=="function"?clearTimeout:void 0,Id=typeof Promise=="function"?Promise:void 0,Sv=typeof queueMicrotask=="function"?queueMicrotask:typeof Id<"u"?function(e){return Id.resolve(null).then(e).catch(Tv)}:Da;function Tv(e){setTimeout(function(){throw e})}function _a(e,t){var i=t,a=0;do{var u=i.nextSibling;if(e.removeChild(i),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(a===0){e.removeChild(u),ti(t);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=u}while(i);ti(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 Vd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(t===0)return e;t--}else i==="/$"&&t++}e=e.previousSibling}return null}var fr=Math.random().toString(36).slice(2),Bt="__reactFiber$"+fr,fi="__reactProps$"+fr,Qt="__reactContainer$"+fr,Oa="__reactEvents$"+fr,Ev="__reactListeners$"+fr,kv="__reactHandles$"+fr;function In(e){var t=e[Bt];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Qt]||i[Bt]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Vd(e);e!==null;){if(i=e[Bt])return i;e=Vd(e)}return t}e=i,i=e.parentNode}return null}function hi(e){return e=e[Bt]||e[Qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function hr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Rs(e){return e[fi]||null}var Ia=[],pr=-1;function xn(e){return{current:e}}function we(e){0>pr||(e.current=Ia[pr],Ia[pr]=null,pr--)}function ve(e,t){pr++,Ia[pr]=e.current,e.current=t}var wn={},Ye=xn(wn),ot=xn(!1),Vn=wn;function mr(e,t){var i=e.type.contextTypes;if(!i)return wn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var u={},f;for(f in i)u[f]=t[f];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function at(e){return e=e.childContextTypes,e!=null}function js(){we(ot),we(Ye)}function Fd(e,t,i){if(Ye.current!==wn)throw Error(s(168));ve(Ye,t),ve(ot,i)}function bd(e,t,i){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var u in a)if(!(u in t))throw Error(s(108,ye(e)||"Unknown",u));return W({},i,a)}function Ns(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wn,Vn=Ye.current,ve(Ye,e),ve(ot,ot.current),!0}function Bd(e,t,i){var a=e.stateNode;if(!a)throw Error(s(169));i?(e=bd(e,t,Vn),a.__reactInternalMemoizedMergedChildContext=e,we(ot),we(Ye),ve(Ye,e)):we(ot),ve(ot,i)}var Xt=null,As=!1,Va=!1;function zd(e){Xt===null?Xt=[e]:Xt.push(e)}function Cv(e){As=!0,zd(e)}function Sn(){if(!Va&&Xt!==null){Va=!0;var e=0,t=me;try{var i=Xt;
vendor: 4,309 bytes, line 6
6for(me=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Xt=null,As=!1}catch(u){throw Xt!==null&&(Xt=Xt.slice(e+1)),$c(sa,Sn),u}finally{me=t,Va=!1}}return null}var gr=[],yr=0,Ls=null,Ms=0,wt=[],St=0,Fn=null,Zt=1,Jt="";function bn(e,t){gr[yr++]=Ms,gr[yr++]=Ls,Ls=e,Ms=t}function Ud(e,t,i){wt[St++]=Zt,wt[St++]=Jt,wt[St++]=Fn,Fn=e;var a=Zt;e=Jt;var u=32-Nt(a)-1;a&=~(1<<u),i+=1;var f=32-Nt(t)+u;if(30<f){var y=u-u%5;f=(a&(1<<y)-1).toString(32),a>>=y,u-=y,Zt=1<<32-Nt(t)+u|i<<u|a,Jt=f+e}else Zt=1<<f|i<<u|a,Jt=e}function Fa(e){e.return!==null&&(bn(e,1),Ud(e,1,0))}function ba(e){for(;e===Ls;)Ls=gr[--yr],gr[yr]=null,Ms=gr[--yr],gr[yr]=null;for(;e===Fn;)Fn=wt[--St],wt[St]=null,Jt=wt[--St],wt[St]=null,Zt=wt[--St],wt[St]=null}var mt=null,gt=null,Ee=!1,Lt=null;function $d(e,t){var i=Ct(5,null,null,0);i.elementType="DELETED",i.stateNode=t,i.return=e,t=e.deletions,t===null?(e.deletions=[i],e.flags|=16):t.push(i)}function Wd(e,t){switch(e.tag){case 5:var i=e.type;return t=t.nodeType!==1||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,mt=e,gt=vn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,mt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(i=Fn!==null?{id:Zt,overflow:Jt}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},i=Ct(18,null,null,0),i.stateNode=t,i.return=e,e.child=i,mt=e,gt=null,!0):!1;default:return!1}}function Ba(e){return(e.mode&1)!==0&&(e.flags&128)===0}function za(e){if(Ee){var t=gt;if(t){var i=t;if(!Wd(e,t)){if(Ba(e))throw Error(s(418));t=vn(i.nextSibling);var a=mt;t&&Wd(e,t)?$d(a,i):(e.flags=e.flags&-4097|2,Ee=!1,mt=e)}}else{if(Ba(e))throw Error(s(418));e.flags=e.flags&-4097|2,Ee=!1,mt=e}}}function Hd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;mt=e}function Ds(e){if(e!==mt)return!1;if(!Ee)return Hd(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ma(e.type,e.memoizedProps)),t&&(t=gt)){if(Ba(e))throw Kd(),Error(s(418));for(;t;)$d(e,t),t=vn(t.nextSibling)}if(Hd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(t===0){gt=vn(e.nextSibling);break e}t--}else i!=="$"&&i!=="$!"&&i!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=mt?vn(e.stateNode.nextSibling):null;return!0}function Kd(){for(var e=gt;e;)e=vn(e.nextSibling)}function vr(){gt=mt=null,Ee=!1}function Ua(e){Lt===null?Lt=[e]:Lt.push(e)}var Pv=H.ReactCurrentBatchConfig;function pi(e,t,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(s(309));var a=i.stateNode}if(!a)throw Error(s(147,e));var u=a,f=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===f?t.ref:(t=function(y){var S=u.refs;y===null?delete S[f]:S[f]=y},t._stringRef=f,t)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function _s(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gd(e){var t=e._init;return t(e._payload)}function qd(e){function t(N,k){if(e){var A=N.deletions;A===null?(N.deletions=[k],N.flags|=16):A.push(k)}}function i(N,k){if(!e)return null;for(;k!==null;)t(N,k),k=k.sibling;return null}function a(N,k){for(N=new Map;k!==null;)k.key!==null?N.set(k.key,k):N.set(k.index,k),k=k.sibling;return N}function u(N,k){return N=Nn(N,k),N.index=0,N.sibling=null,N}function f(N,k,A){return N.index=A,e?(A=N.alternate,A!==null?(A=A.index,A<k?(N.flags|=2,k):A):(N.flags|=2,k)):(N.flags|=1048576,k)}function y(N){return e&&N.alternate===null&&(N.flags|=2),N}function S(N,k,A,B){return k===null||k.tag!==6?(k=Dl(A,N.mode,B),k.return=N,k):(k=u(k,A),k.return=N,k)}function T(N,k,A,B){var Y=A.type;return Y===ie?F(N,k,A.props.children,B,A.key):k!==null&&(k.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===rt&&Gd(Y)===k.type)?(B=u(k,A.props),B.ref=pi(N,k,A),B.return=N,B):(B=io(A.type,A.key,A.props,null,N.mode,B),B.ref=pi(N,k,A),B.return=N,B)}function M(N,k,A,B){return k===null||k.tag!==4||k.stateNode.containerInfo!==A.containerInfo||k.stateNode.implementation!==A.implementation?(k=_l(A,N.mode,B),
vendor: 4,110 bytes, line 6
6k.return=N,k):(k=u(k,A.children||[]),k.return=N,k)}function F(N,k,A,B,Y){return k===null||k.tag!==7?(k=Gn(A,N.mode,B,Y),k.return=N,k):(k=u(k,A),k.return=N,k)}function b(N,k,A){if(typeof k=="string"&&k!==""||typeof k=="number")return k=Dl(""+k,N.mode,A),k.return=N,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case U:return A=io(k.type,k.key,k.props,null,N.mode,A),A.ref=pi(N,null,k),A.return=N,A;case ee:return k=_l(k,N.mode,A),k.return=N,k;case rt:var B=k._init;return b(N,B(k._payload),A)}if($r(k)||X(k))return k=Gn(k,N.mode,A,null),k.return=N,k;_s(N,k)}return null}function O(N,k,A,B){var Y=k!==null?k.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return Y!==null?null:S(N,k,""+A,B);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case U:return A.key===Y?T(N,k,A,B):null;case ee:return A.key===Y?M(N,k,A,B):null;case rt:return Y=A._init,O(N,k,Y(A._payload),B)}if($r(A)||X(A))return Y!==null?null:F(N,k,A,B,null);_s(N,A)}return null}function $(N,k,A,B,Y){if(typeof B=="string"&&B!==""||typeof B=="number")return N=N.get(A)||null,S(k,N,""+B,Y);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case U:return N=N.get(B.key===null?A:B.key)||null,T(k,N,B,Y);case ee:return N=N.get(B.key===null?A:B.key)||null,M(k,N,B,Y);case rt:var Z=B._init;return $(N,k,A,Z(B._payload),Y)}if($r(B)||X(B))return N=N.get(A)||null,F(k,N,B,Y,null);_s(k,B)}return null}function G(N,k,A,B){for(var Y=null,Z=null,J=k,ne=k=0,$e=null;J!==null&&ne<A.length;ne++){J.index>ne?($e=J,J=null):$e=J.sibling;var fe=O(N,J,A[ne],B);if(fe===null){J===null&&(J=$e);break}e&&J&&fe.alternate===null&&t(N,J),k=f(fe,k,ne),Z===null?Y=fe:Z.sibling=fe,Z=fe,J=$e}if(ne===A.length)return i(N,J),Ee&&bn(N,ne),Y;if(J===null){for(;ne<A.length;ne++)J=b(N,A[ne],B),J!==null&&(k=f(J,k,ne),Z===null?Y=J:Z.sibling=J,Z=J);return Ee&&bn(N,ne),Y}for(J=a(N,J);ne<A.length;ne++)$e=$(J,N,ne,A[ne],B),$e!==null&&(e&&$e.alternate!==null&&J.delete($e.key===null?ne:$e.key),k=f($e,k,ne),Z===null?Y=$e:Z.sibling=$e,Z=$e);return e&&J.forEach(function(An){return t(N,An)}),Ee&&bn(N,ne),Y}function q(N,k,A,B){var Y=X(A);if(typeof Y!="function")throw Error(s(150));if(A=Y.call(A),A==null)throw Error(s(151));for(var Z=Y=null,J=k,ne=k=0,$e=null,fe=A.next();J!==null&&!fe.done;ne++,fe=A.next()){J.index>ne?($e=J,J=null):$e=J.sibling;var An=O(N,J,fe.value,B);if(An===null){J===null&&(J=$e);break}e&&J&&An.alternate===null&&t(N,J),k=f(An,k,ne),Z===null?Y=An:Z.sibling=An,Z=An,J=$e}if(fe.done)return i(N,J),Ee&&bn(N,ne),Y;if(J===null){for(;!fe.done;ne++,fe=A.next())fe=b(N,fe.value,B),fe!==null&&(k=f(fe,k,ne),Z===null?Y=fe:Z.sibling=fe,Z=fe);return Ee&&bn(N,ne),Y}for(J=a(N,J);!fe.done;ne++,fe=A.next())fe=$(J,N,ne,fe.value,B),fe!==null&&(e&&fe.alternate!==null&&J.delete(fe.key===null?ne:fe.key),k=f(fe,k,ne),Z===null?Y=fe:Z.sibling=fe,Z=fe);return e&&J.forEach(function(s0){return t(N,s0)}),Ee&&bn(N,ne),Y}function De(N,k,A,B){if(typeof A=="object"&&A!==null&&A.type===ie&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case U:e:{for(var Y=A.key,Z=k;Z!==null;){if(Z.key===Y){if(Y=A.type,Y===ie){if(Z.tag===7){i(N,Z.sibling),k=u(Z,A.props.children),k.return=N,N=k;break e}}else if(Z.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===rt&&Gd(Y)===Z.type){i(N,Z.sibling),k=u(Z,A.props),k.ref=pi(N,Z,A),k.return=N,N=k;break e}i(N,Z);break}else t(N,Z);Z=Z.sibling}A.type===ie?(k=Gn(A.props.children,N.mode,B,A.key),k.return=N,N=k):(B=io(A.type,A.key,A.props,null,N.mode,B),B.ref=pi(N,k,A),B.return=N,N=B)}return y(N);case ee:e:{for(Z=A.key;k!==null;){if(k.key===Z)if(k.tag===4&&k.stateNode.containerInfo===A.containerInfo&&k.stateNode.implementation===A.implementation){i(N,k.sibling),k=u(k,A.children||[]),k.return=N,N=k;break e}else{i(N,k);break}else t(N,k);k=k.sibling}k=_l(A,N.mode,B),k.return=N,N=k}return y(N);case rt:return Z=A._init,De(N,k,Z(A._payload),B)}if($r(A))return G(N,k,A,B);if(X(A))return q(N,k,A,B);_s(N,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,k!==null&&k.tag===6?(i(N,k.sibling),k=u(k,A),k.return=N,N=k):(i(N,k),k=Dl(A,N.mode,B),k.return=N,N=k),y(N)):i(N,k)}return De}
vendor: 19,519 bytes, lines 6-8
6var xr=qd(!0),Yd=qd(!1),Os=xn(null),Is=null,wr=null,$a=null;function Wa(){$a=wr=Is=null}function Ha(e){var t=Os.current;we(Os),e._currentValue=t}function Ka(e,t,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===i)break;e=e.return}}function Sr(e,t){Is=e,$a=wr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(lt=!0),e.firstContext=null)}function Tt(e){var t=e._currentValue;if($a!==e)if(e={context:e,memoizedValue:t,next:null},wr===null){if(Is===null)throw Error(s(308));wr=e,Is.dependencies={lanes:0,firstContext:e}}else wr=wr.next=e;return t}var Bn=null;function Ga(e){Bn===null?Bn=[e]:Bn.push(e)}function Qd(e,t,i,a){var u=t.interleaved;return u===null?(i.next=i,Ga(t)):(i.next=u.next,u.next=i),t.interleaved=i,en(e,a)}function en(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Tn=!1;function qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xd(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 En(e,t,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ue&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,en(e,i)}return u=a.interleaved,u===null?(t.next=t,Ga(a)):(t.next=u.next,u.next=t),a.interleaved=t,en(e,i)}function Vs(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,i|=a,t.lanes=i,la(e,i)}}function Zd(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var u=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var y={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};f===null?u=f=y:f=f.next=y,i=i.next}while(i!==null);f===null?u=f=t:f=f.next=t}else u=f=t;i={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Fs(e,t,i,a){var u=e.updateQueue;Tn=!1;var f=u.firstBaseUpdate,y=u.lastBaseUpdate,S=u.shared.pending;if(S!==null){u.shared.pending=null;var T=S,M=T.next;T.next=null,y===null?f=M:y.next=M,y=T;var F=e.alternate;F!==null&&(F=F.updateQueue,S=F.lastBaseUpdate,S!==y&&(S===null?F.firstBaseUpdate=M:S.next=M,F.lastBaseUpdate=T))}if(f!==null){var b=u.baseState;y=0,F=M=T=null,S=f;do{var O=S.lane,$=S.eventTime;if((a&O)===O){F!==null&&(F=F.next={eventTime:$,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var G=e,q=S;switch(O=t,$=i,q.tag){case 1:if(G=q.payload,typeof G=="function"){b=G.call($,b,O);break e}b=G;break e;case 3:G.flags=G.flags&-65537|128;case 0:if(G=q.payload,O=typeof G=="function"?G.call($,b,O):G,O==null)break e;b=W({},b,O);break e;case 2:Tn=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,O=u.effects,O===null?u.effects=[S]:O.push(S))}else $={eventTime:$,lane:O,tag:S.tag,payload:S.payload,callback:S.callback,next:null},F===null?(M=F=$,T=b):F=F.next=$,y|=O;if(S=S.next,S===null){if(S=u.shared.pending,S===null)break;O=S,S=O.next,O.next=null,u.lastBaseUpdate=O,u.shared.pending=null}}while(!0);if(F===null&&(T=b),u.baseState=T,u.firstBaseUpdate=M,u.lastBaseUpdate=F,t=u.shared.interleaved,t!==null){u=t;do y|=u.lane,u=u.next;while(u!==t)}else f===null&&(u.shared.lanes=0);$n|=y,e.lanes=y,e.memoizedState=b}}function Jd(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],u=a.callback;if(u!==null){if(a.callback=null,a=i,typeof u!="function")throw Error(s(191,u));u.call(a)}}}var mi={},zt=xn(mi),gi=xn(mi),yi=xn(mi);function zn(e){if(e===mi)throw Error(s(174));return e}function Ya(e,t){switch(ve(yi,t),ve(gi,e),ve(zt,mi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Qo(t,e)}we(zt),ve(zt,t)}function Tr(){we(zt),we(gi),we(yi)}function ef(e){zn(yi.current);var t=zn(zt.current),i=Qo(t,e.type);t!==i&&(ve(gi,e),ve(zt,i))}function Qa(e){gi.current===e&&(we(zt),we(gi))}var Pe=xn(0);function bs(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.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 Xa=[];function Za(){for(var e=0;e<Xa.length;e++)Xa[e]._workInProgressVersionPrimary=null;Xa.length=0}var Bs=H.ReactCurrentDispatcher,Ja=H.ReactCurrentBatchConfig,Un=0,Re=null,Fe=null,ze=null,zs=!1,vi=!1,xi=0,Rv=0;function Qe(){throw Error(s(321))}function el(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!At(e[i],t[i]))return!1;return!0}function tl(e,t,i,a,u,f){if(Un=f,Re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bs.current=e===null||e.memoizedState===null?Lv:Mv,e=i(a,u),vi){f=0;do{if(vi=!1,xi=0,25<=f)throw Error(s(301));f+=1,ze=Fe=null,t.updateQueue=null,Bs.current=Dv,e=i(a,u)}while(vi)}if(Bs.current=Ws,t=Fe!==null&&Fe.next!==null,Un=0,ze=Fe=Re=null,zs=!1,t)throw Error(s(300));return e}function nl(){var e=xi!==0;return xi=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ze===null?Re.memoizedState=ze=e:ze=ze.next=e,ze}function Et(){if(Fe===null){var e=Re.alternate;e=e!==null?e.memoizedState:null}else e=Fe.next;var t=ze===null?Re.memoizedState:ze.next;if(t!==null)ze=t,Fe=e;else{if(e===null)throw Error(s(310));Fe=e,e={memoizedState:Fe.memoizedState,baseState:Fe.baseState,baseQueue:Fe.baseQueue,queue:Fe.queue,next:null},ze===null?Re.memoizedState=ze=e:ze=ze.next=e}return ze}function wi(e,t){return typeof t=="function"?t(e):t}function rl(e){var t=Et(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=Fe,u=a.baseQueue,f=i.pending;if(f!==null){if(u!==null){var y=u.next;u.next=f.next,f.next=y}a.baseQueue=u=f,i.pending=null}if(u!==null){f=u.next,a=a.baseState;var S=y=null,T=null,M=f;do{var F=M.lane;if((Un&F)===F)T!==null&&(T=T.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),a=M.hasEagerState?M.eagerState:e(a,M.action);else{var b={lane:F,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};T===null?(S=T=b,y=a):T=T.next=b,Re.lanes|=F,$n|=F}M=M.next}while(M!==null&&M!==f);T===null?y=a:T.next=S,At(a,t.memoizedState)||(lt=!0),t.memoizedState=a,t.baseState=y,t.baseQueue=T,i.lastRenderedState=a}if(e=i.interleaved,e!==null){u=e;do f=u.lane,Re.lanes|=f,$n|=f,u=u.next;while(u!==e)}else u===null&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function il(e){var t=Et(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=i.dispatch,u=i.pending,f=t.memoizedState;if(u!==null){i.pending=null;var y=u=u.next;do f=e(f,y.action),y=y.next;while(y!==u);At(f,t.memoizedState)||(lt=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),i.lastRenderedState=f}return[f,a]}function tf(){}function nf(e,t){var i=Re,a=Et(),u=t(),f=!At(a.memoizedState,u);if(f&&(a.memoizedState=u,lt=!0),a=a.queue,sl(of.bind(null,i,a,e),[e]),a.getSnapshot!==t||f||ze!==null&&ze.memoizedState.tag&1){if(i.flags|=2048,Si(9,sf.bind(null,i,a,u,t),void 0,null),Ue===null)throw Error(s(349));(Un&30)!==0||rf(i,t,u)}return u}function rf(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function sf(e,t,i,a){t.value=i,t.getSnapshot=a,af(t)&&lf(e)}function of(e,t,i){return i(function(){af(t)&&lf(e)})}function af(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!At(e,i)}catch{return!0}}function lf(e){var t=en(e,1);t!==null&&Ot(t,e,1,-1)}function uf(e){var t=Ut();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=Av.bind(null,Re,e),[t.memoizedState,e]}function Si(e,t,i,a){return e={tag:e,create:t,destroy:i,deps:a,next:null},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.lastEffect=e.next=e):(i=t.lastEffect,i===null?t.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,t.lastEffect=e)),e}function cf(){return Et().memoizedState}function Us(e,t,i,a){var u=Ut();Re.flags|=e,u.memoizedState=Si(1|t,i,void 0,a===void 0?null:a)}function $s(e,t,i,a){var u=Et();a=a===void 0?null:a;var f=void 0;if(Fe!==null){var y=Fe.memoizedState;if(f=y.destroy,a!==null&&el(a,y.deps)){u.memoizedState=Si(t,i,f,a);return}}Re.flags|=e,u.memoizedState=Si(1|t,i,f,a)}function df(e,t){return Us(8390656,8,e,t)}function sl(e,t){return $s(2048,8,e,t)}function ff(e,t){return $s(4,2,e,t)}function hf(e,t){return $s(4,4,e,t)}function pf(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 mf(e,t,i){return i=i!=null?i.concat([e]):null,$s(4,4,pf.bind(null,t,e),i)}function ol(){}function gf(e,t){var i=Et();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&el(t,a[1])?a[0]:(i.memoizedState=[e,t],e)}function yf(e,t){var i=Et();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&el(t,a[1])?a[0]:(e=e(),i.memoizedState=[e,t],e)}function vf(e,t,i){return(Un&21)===0?(e.baseState&&(e.baseState=!1,lt=!0),e.memoizedState=i):(At(i,t)||(i=Gc(),Re.lanes|=i,$n|=i,e.baseState=!0),t)}function jv(e,t){var i=me;me=i!==0&&4>i?i:4,e(!0);var a=Ja.transition;Ja.transition={};try{e(!1),t()}finally{me=i,Ja.transition=a}}function xf(){return Et().memoizedState}function Nv(e,t,i){var a=Rn(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},wf(e))Sf(t,i);else if(i=Qd(e,t,i,a),i!==null){var u=st();Ot(i,e,a,u),Tf(i,t,a)}}function Av(e,t,i){var a=Rn(e),u={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(wf(e))Sf(t,u);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var y=t.lastRenderedState,S=f(y,i);if(u.hasEagerState=!0,u.eagerState=S,At(S,y)){var T=t.interleaved;T===null?(u.next=u,Ga(t)):(u.next=T.next,T.next=u),t.interleaved=u;return}}catch{}i=Qd(e,t,u,a),i!==null&&(u=st(),Ot(i,e,a,u),Tf(i,t,a))}}function wf(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function Sf(e,t){vi=zs=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Tf(e,t,i){if((i&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,i|=a,t.lanes=i,la(e,i)}}var Ws={readContext:Tt,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useInsertionEffect:Qe,useLayoutEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useMutableSource:Qe,useSyncExternalStore:Qe,useId:Qe,unstable_isNewReconciler:!1},Lv={readContext:Tt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:df,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,Us(4194308,4,pf.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Us(4194308,4,e,t)},useInsertionEffect:function(e,t){return Us(4,2,e,t)},useMemo:function(e,t){var i=Ut();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var a=Ut();return t=i!==void 0?i(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=Nv.bind(null,Re,e),[a.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:uf,useDebugValue:ol,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=uf(!1),t=e[0];return e=jv.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var a=Re,u=Ut();if(Ee){if(i===void 0)throw Error(s(407));i=i()}else{if(i=t(),Ue===null)throw Error(s(349));(Un&30)!==0||rf(a,t,i)}u.memoizedState=i;var f={value:i,getSnapshot:t};return u.queue=f,df(of.bind(null,a,f,e),[e]),a.flags|=2048,Si(9,sf.bind(null,a,f,i,t),void 0,null),i},useId:function(){var e=Ut(),t=Ue.identifierPrefix;if(Ee){var i=Jt,a=Zt;i=(a&~(1<<32-Nt(a)-1)).toString(32)+i,t=":"+t+"R"+i,i=xi++,0<i&&(t+="H"+i.toString(32)),t+=":"}else i=Rv++,t=":"+t+"r"+i.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Mv={readContext:Tt,useCallback:gf,useContext:Tt,useEffect:sl,useImperativeHandle:mf,useInsertionEffect:ff,useLayoutEffect:hf,useMemo:yf,useReducer:rl,useRef:cf,useState:function(){return rl(wi)},useDebugValue:ol,useDeferredValue:function(e){var t=Et();return vf(t,Fe.memoizedState,e)},useTransition:function(){var e=rl(wi)[0],t=Et().memoizedState;return[e,t]},useMutableSource:tf,useSyncExternalStore:nf,useId:xf,unstable_isNewReconciler:!1},Dv={readContext:Tt,useCallback:gf,useContext:Tt,useEffect:sl,useImperativeHandle:mf,useInsertionEffect:ff,useLayoutEffect:hf,useMemo:yf,useReducer:il,useRef:cf,useState:function(){return il(wi)},useDebugValue:ol,useDeferredValue:function(e){var t=Et();return Fe===null?t.memoizedState=e:vf(t,Fe.memoizedState,e)},useTransition:function(){var e=il(wi)[0],t=Et().memoizedState;return[e,t]},useMutableSource:tf,useSyncExternalStore:nf,useId:xf,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var i in e)t[i]===void 0&&(t[i]=e[i]);return t}return t}function al(e,t,i,a){t=e.memoizedState,i=i(a,t),i=i==null?t:W({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Hs={isMounted:function(e){return(e=e._reactInternals)?On(e)===e:!1},enqueueSetState:function(e,t,i){e=e._reactInternals;var a=st(),u=Rn(e),f=tn(a,u);f.payload=t,i!=null&&(f.callback=i),t=En(e,f,u),t!==null&&(Ot(t,e,u,a),Vs(t,e,u))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var a=st(),u=Rn(e),f=tn(a,u);f.tag=1,f.payload=t,i!=null&&(f.callback=i),t=En(e,f,u),t!==null&&(Ot(t,e,u,a),Vs(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=st(),a=Rn(e),u=tn(i,a);u.tag=2,t!=null&&(u.callback=t),t=En(e,u,a),t!==null&&(Ot(t,e,a,i),Vs(t,e,a))}};function Ef(e,t,i,a,u,f,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,f,y):t.prototype&&t.prototype.isPureReactComponent?!ai(i,a)||!ai(u,f):!0}function kf(e,t,i){var a=!1,u=wn,f=t.contextType;return typeof f=="object"&&f!==null?f=Tt(f):(u=at(t)?Vn:Ye.current,a=t.contextTypes,f=(a=a!=null)?mr(e,u):wn),t=new t(i,f),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Hs,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=f),t}function Cf(e,t,i,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,a),t.state!==e&&Hs.enqueueReplaceState(t,t.state,null)}function ll(e,t,i,a){var u=e.stateNode;u.props=i,u.state=e.memoizedState,u.refs={},qa(e);var f=t.contextType;typeof f=="object"&&f!==null?u.context=Tt(f):(f=at(t)?Vn:Ye.current,u.context=mr(e,f)),u.state=e.memoizedState,f=t.getDerivedStateFromProps,typeof f=="function"&&(al(e,t,f,i),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&Hs.enqueueReplaceState(u,u.state,null),Fs(e,i,u,a),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function Er(e,t){try{var i="",a=t;do i+=ce(a),a=a.return;while(a);var u=i}catch(f){u=` 7Error generating stack: `+f.message+` 8`+f.stack}return{value:e,source:t,stack:u,digest:null}}function ul(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function cl(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var _v=typeof WeakMap=="function"?WeakMap:Map;function Pf(e,t,i){i=tn(-1,i),i.tag=3,i.payload={element:null};var a=t.value;return i.callback=function(){Zs||(Zs=!0,Cl=a),cl(e,t)},i}function Rf(e,t,i){i=tn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var u=t.value;i.payload=function(){return a(u)},i.callback=function(){cl(e,t)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){cl(e,t),typeof a!="function"&&(Cn===null?Cn=new Set([this]):Cn.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),i}function jf(e,t,i){var a=e.pingCache;if(a===null){a=e.pingCache=new _v;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(i)||(u.add(i),e=qv.bind(null,e,t,i),t.then(e,e))}function Nf(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 Af(e,t,i,a,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(t=tn(-1,1),t.tag=2,En(i,t,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var Ov=H.ReactCurrentOwner,lt=!1;function it(e,t,i,a){t.child=e===null?Yd(t,null,i,a):xr(t,e.child,i,a)}function Lf(e,t,i,a,u){i=i.render;var f=t.ref;return Sr(t,u),a=tl(e,t,i,a,f,u),i=nl(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,nn(e,t,u)):(Ee&&i&&Fa(t),t.flags|=1,it(e,t,a,u),t.child)}function Mf(e,t,i,a,u){if(e===null){var f=i.type;return typeof f=="function"&&!Ml(f)&&f.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=f,Df(e,t,f,a,u)):(e=io(i.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,(e.lanes&u)===0){var y=f.memoizedProps;if(i=i.compare,i=i!==null?i:ai,i(y,a)&&e.ref===t.ref)return nn(e,t,u)}return t.flags|=1,e=Nn(f,a),e.ref=t.ref,e.return=t,t.child=e}function Df(e,t,i,a,u){if(e!==null){var f=e.memoizedProps;if(ai(f,a)&&e.ref===t.ref)if(lt=!1,t.pendingProps=a=f,(e.lanes&u)!==0)(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,nn(e,t,u)}return dl(e,t,i,a,u)}function _f(e,t,i){var a=t.pendingProps,u=a.children,f=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ve(Cr,yt),yt|=i;else{if((i&1073741824)===0)return e=f!==null?f.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ve(Cr,yt),yt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:i,ve(Cr,yt),yt|=a}else f!==null?(a=f.baseLanes|i,t.memoizedState=null):a=i,ve(Cr,yt),yt|=a;return it(e,t,u,i),t.child}function Of(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}
vendor: 4,668 bytes, line 8
8function dl(e,t,i,a,u){var f=at(i)?Vn:Ye.current;return f=mr(t,f),Sr(t,u),i=tl(e,t,i,a,f,u),a=nl(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,nn(e,t,u)):(Ee&&a&&Fa(t),t.flags|=1,it(e,t,i,u),t.child)}function If(e,t,i,a,u){if(at(i)){var f=!0;Ns(t)}else f=!1;if(Sr(t,u),t.stateNode===null)Gs(e,t),kf(t,i,a),ll(t,i,a,u),a=!0;else if(e===null){var y=t.stateNode,S=t.memoizedProps;y.props=S;var T=y.context,M=i.contextType;typeof M=="object"&&M!==null?M=Tt(M):(M=at(i)?Vn:Ye.current,M=mr(t,M));var F=i.getDerivedStateFromProps,b=typeof F=="function"||typeof y.getSnapshotBeforeUpdate=="function";b||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(S!==a||T!==M)&&Cf(t,y,a,M),Tn=!1;var O=t.memoizedState;y.state=O,Fs(t,a,y,u),T=t.memoizedState,S!==a||O!==T||ot.current||Tn?(typeof F=="function"&&(al(t,i,F,a),T=t.memoizedState),(S=Tn||Ef(t,i,S,a,O,T,M))?(b||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=T),y.props=a,y.state=T,y.context=M,a=S):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{y=t.stateNode,Xd(e,t),S=t.memoizedProps,M=t.type===t.elementType?S:Mt(t.type,S),y.props=M,b=t.pendingProps,O=y.context,T=i.contextType,typeof T=="object"&&T!==null?T=Tt(T):(T=at(i)?Vn:Ye.current,T=mr(t,T));var $=i.getDerivedStateFromProps;(F=typeof $=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(S!==b||O!==T)&&Cf(t,y,a,T),Tn=!1,O=t.memoizedState,y.state=O,Fs(t,a,y,u);var G=t.memoizedState;S!==b||O!==G||ot.current||Tn?(typeof $=="function"&&(al(t,i,$,a),G=t.memoizedState),(M=Tn||Ef(t,i,M,a,O,G,T)||!1)?(F||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(a,G,T),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(a,G,T)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||S===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=G),y.props=a,y.state=G,y.context=T,a=M):(typeof y.componentDidUpdate!="function"||S===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),a=!1)}return fl(e,t,i,a,f,u)}function fl(e,t,i,a,u,f){Of(e,t);var y=(t.flags&128)!==0;if(!a&&!y)return u&&Bd(t,i,!1),nn(e,t,f);a=t.stateNode,Ov.current=t;var S=y&&typeof i.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&y?(t.child=xr(t,e.child,null,f),t.child=xr(t,null,S,f)):it(e,t,S,f),t.memoizedState=a.state,u&&Bd(t,i,!0),t.child}function Vf(e){var t=e.stateNode;t.pendingContext?Fd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Fd(e,t.context,!1),Ya(e,t.containerInfo)}function Ff(e,t,i,a,u){return vr(),Ua(u),t.flags|=256,it(e,t,i,a),t.child}var hl={dehydrated:null,treeContext:null,retryLane:0};function pl(e){return{baseLanes:e,cachePool:null,transitions:null}}function bf(e,t,i){var a=t.pendingProps,u=Pe.current,f=!1,y=(t.flags&128)!==0,S;if((S=y)||(S=e!==null&&e.memoizedState===null?!1:(u&2)!==0),S?(f=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),ve(Pe,u&1),e===null)return za(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):(y=a.children,e=a.fallback,f?(a=t.mode,f=t.child,y={mode:"hidden",children:y},(a&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=y):f=so(y,a,0,null),e=Gn(e,a,i,null),f.return=t,e.return=t,f.sibling=e,t.child=f,t.child.memoizedState=pl(i),t.memoizedState=hl,e):ml(t,y));if(u=e.memoizedState,u!==null&&(S=u.dehydrated,S!==null))return Iv(e,t,y,a,S,u,i);if(f){f=a.fallback,y=t.mode,u=e.child,S=u.sibling;var T={mode:"hidden",children:a.children};return(y&1)===0&&t.child!==u?(a=t.child,a.childLanes=0,a.pendingProps=T,t.deletions=null):(a=Nn(u,T),a.subtreeFlags=u.subtreeFlags&14680064),S!==null?f=Nn(S,f):(f=Gn(f,y,i,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,a=f,f
vendor: 6,727 bytes, line 8
8=t.child,y=e.child.memoizedState,y=y===null?pl(i):{baseLanes:y.baseLanes|i,cachePool:null,transitions:y.transitions},f.memoizedState=y,f.childLanes=e.childLanes&~i,t.memoizedState=hl,a}return f=e.child,e=f.sibling,a=Nn(f,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=i),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a}function ml(e,t){return t=so({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ks(e,t,i,a){return a!==null&&Ua(a),xr(t,e.child,null,i),e=ml(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Iv(e,t,i,a,u,f,y){if(i)return t.flags&256?(t.flags&=-257,a=ul(Error(s(422))),Ks(e,t,y,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(f=a.fallback,u=t.mode,a=so({mode:"visible",children:a.children},u,0,null),f=Gn(f,u,y,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,(t.mode&1)!==0&&xr(t,e.child,null,y),t.child.memoizedState=pl(y),t.memoizedState=hl,f);if((t.mode&1)===0)return Ks(e,t,y,null);if(u.data==="$!"){if(a=u.nextSibling&&u.nextSibling.dataset,a)var S=a.dgst;return a=S,f=Error(s(419)),a=ul(f,a,void 0),Ks(e,t,y,a)}if(S=(y&e.childLanes)!==0,lt||S){if(a=Ue,a!==null){switch(y&-y){case 4:u=2;break;case 16:u=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:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(a.suspendedLanes|y))!==0?0:u,u!==0&&u!==f.retryLane&&(f.retryLane=u,en(e,u),Ot(a,e,u,-1))}return Ll(),a=ul(Error(s(421))),Ks(e,t,y,a)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=Yv.bind(null,e),u._reactRetry=t,null):(e=f.treeContext,gt=vn(u.nextSibling),mt=t,Ee=!0,Lt=null,e!==null&&(wt[St++]=Zt,wt[St++]=Jt,wt[St++]=Fn,Zt=e.id,Jt=e.overflow,Fn=t),t=ml(t,a.children),t.flags|=4096,t)}function Bf(e,t,i){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ka(e.return,t,i)}function gl(e,t,i,a,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=i,f.tailMode=u)}function zf(e,t,i){var a=t.pendingProps,u=a.revealOrder,f=a.tail;if(it(e,t,a.children,i),a=Pe.current,(a&2)!==0)a=a&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&&Bf(e,i,t);else if(e.tag===19)Bf(e,i,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}a&=1}if(ve(Pe,a),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(i=t.child,u=null;i!==null;)e=i.alternate,e!==null&&bs(e)===null&&(u=i),i=i.sibling;i=u,i===null?(u=t.child,t.child=null):(u=i.sibling,i.sibling=null),gl(t,!1,u,i,f);break;case"backwards":for(i=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&bs(e)===null){t.child=u;break}e=u.sibling,u.sibling=i,i=u,u=e}gl(t,!0,i,null,f);break;case"together":gl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gs(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nn(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),$n|=t.lanes,(i&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,i=Nn(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=Nn(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Vv(e,t,i){switch(t.tag){case 3:Vf(t),vr();break;case 5:ef(t);break;case 1:at(t.type)&&Ns(t);break;case 4:Ya(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,u=t.memoizedProps.value;ve(Os,a._currentValue),a._currentValue=u;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(ve(Pe,Pe.current&1),t.flags|=128,null):(i&t.child.childLanes)!==0?bf(e,t,i):(ve(Pe,Pe.current&1),e=nn(e,t,i),e!==null?e.sibling:null);ve(Pe,Pe.current&1);break;case 19:if(a=(i&t.childLanes)!==0,(e.flags&128)!==0){if(a)return zf(e,t,i);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ve(Pe,Pe.current),a)break;return null;case 22:case 23:return t.lanes=0,_f(e,t,i)}return nn(e,t,i)}var Uf,yl,$f,Wf;Uf=function(e,t){for(var i=t.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},yl=function(){},$f=function(e,t,i,a){var u=e.memoizedProps;if(u!==a){e=t.stateNode,zn(zt.current);var f=null;switch(i){case"input":u=Ko(e,u),a=Ko(e,a),f=[];break;case"select":u=W({},u,{value:void 0}),a=W({},a,{value:void 0}),f=[];break;case"textarea":u=Yo(e,u),a=Yo(e,a),f=[];break;default:typeof u.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Ps)}Xo(i,a);var y;i=null;for(M in u)if(!a.hasOwnProperty(M)&&u.hasOwnProperty(M)&&u[M]!=null)if(M==="style"){var S=u[M];for(y in S)S.hasOwnProperty(y)&&(i||(i={}),i[y]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(l.hasOwnProperty(M)?f||(f=[]):(f=f||[]).push(M,null));for(M in a){var T=a[M];if(S=u?.[M],a.hasOwnProperty(M)&&T!==S&&(T!=null||S!=null))if(M==="style")if(S){for(y in S)!S.hasOwnProperty(y)||T&&T.hasOwnProperty(y)||(i||(i={}),i[y]="");for(y in T)T.hasOwnProperty(y)&&S[y]!==T[y]&&(i||(i={}),i[y]=T[y])}else i||(f||(f=[]),f.push(M,i)),i=T;else M==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,S=S?S.__html:void 0,T!=null&&S!==T&&(f=f||[]).push(M,T)):M==="children"?typeof T!="string"&&typeof T!="number"||(f=f||[]).push(M,""+T):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(l.hasOwnProperty(M)?(T!=null&&M==="onScroll"&&xe("scroll",e),f||S===T||(f=[])):(f=f||[]).push(M,T))}i&&(f=f||[]).push("style",i);var M=f;(t.updateQueue=M)&&(t.flags|=4)}},Wf=function(e,t,i,a){i!==a&&(t.flags|=4)};function Ti(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(t)for(var u=e.child;u!==null;
vendor: 6,260 bytes, line 8
8)i|=u.lanes|u.childLanes,a|=u.subtreeFlags&14680064,a|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)i|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=i,t}function Fv(e,t,i){var a=t.pendingProps;switch(ba(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return at(t.type)&&js(),Xe(t),null;case 3:return a=t.stateNode,Tr(),we(ot),we(Ye),Za(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ds(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Lt!==null&&(jl(Lt),Lt=null))),yl(e,t),Xe(t),null;case 5:Qa(t);var u=zn(yi.current);if(i=t.type,e!==null&&t.stateNode!=null)$f(e,t,i,a,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(s(166));return Xe(t),null}if(e=zn(zt.current),Ds(t)){a=t.stateNode,i=t.type;var f=t.memoizedProps;switch(a[Bt]=t,a[fi]=f,e=(t.mode&1)!==0,i){case"dialog":xe("cancel",a),xe("close",a);break;case"iframe":case"object":case"embed":xe("load",a);break;case"video":case"audio":for(u=0;u<ui.length;u++)xe(ui[u],a);break;case"source":xe("error",a);break;case"img":case"image":case"link":xe("error",a),xe("load",a);break;case"details":xe("toggle",a);break;case"input":Ec(a,f),xe("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},xe("invalid",a);break;case"textarea":Pc(a,f),xe("invalid",a)}Xo(i,f),u=null;for(var y in f)if(f.hasOwnProperty(y)){var S=f[y];y==="children"?typeof S=="string"?a.textContent!==S&&(f.suppressHydrationWarning!==!0&&Cs(a.textContent,S,e),u=["children",S]):typeof S=="number"&&a.textContent!==""+S&&(f.suppressHydrationWarning!==!0&&Cs(a.textContent,S,e),u=["children",""+S]):l.hasOwnProperty(y)&&S!=null&&y==="onScroll"&&xe("scroll",a)}switch(i){case"input":ns(a),Cc(a,f,!0);break;case"textarea":ns(a),jc(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=Ps)}a=u,t.updateQueue=a,a!==null&&(t.flags|=4)}else{y=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Nc(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=y.createElement(i,{is:a.is}):(e=y.createElement(i),i==="select"&&(y=e,a.multiple?y.multiple=!0:a.size&&(y.size=a.size))):e=y.createElementNS(e,i),e[Bt]=t,e[fi]=a,Uf(e,t,!1,!1),t.stateNode=e;e:{switch(y=Zo(i,a),i){case"dialog":xe("cancel",e),xe("close",e),u=a;break;case"iframe":case"object":case"embed":xe("load",e),u=a;break;case"video":case"audio":for(u=0;u<ui.length;u++)xe(ui[u],e);u=a;break;case"source":xe("error",e),u=a;break;case"img":case"image":case"link":xe("error",e),xe("load",e),u=a;break;case"details":xe("toggle",e),u=a;break;case"input":Ec(e,a),u=Ko(e,a),xe("invalid",e);break;case"option":u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=W({},a,{value:void 0}),xe("invalid",e);break;case"textarea":Pc(e,a),u=Yo(e,a),xe("invalid",e);break;default:u=a}Xo(i,u),S=u;for(f in S)if(S.hasOwnProperty(f)){var T=S[f];f==="style"?Mc(e,T):f==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&Ac(e,T)):f==="children"?typeof T=="string"?(i!=="textarea"||T!=="")&&Wr(e,T):typeof T=="number"&&Wr(e,""+T):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?T!=null&&f==="onScroll"&&xe("scroll",e):T!=null&&I(e,f,T,y))}switch(i){case"input":ns(e),Cc(e,a,!1);break;case"textarea":ns(e),jc(e);break;case"option":a.value!=null&&e.setAttribute("value",""+pe(a.value));break;case"select":e.multiple=!!a.multiple,f=a.value,f!=null?rr(e,!!a.multiple,f,!1):a.defaultValue!=null&&rr(e,!!a.multiple,a.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Ps)}switch(i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Xe(t),null;case 6:if(e&&t.stateNode!=null)Wf(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(i=zn(yi.current),zn(zt.current),Ds(t)){if(a=t.stateNode,i=t.memoizedProps,a[Bt]=t,(f=a.nodeValue!==i)&&(e=mt,e!==null))switch(e.tag){case 3:Cs(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Cs(a.nodeValue,i,(e.mode&1)!==0)}f&&(t.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[Bt]=t,t.stateNode=a}return Xe(t),null;case 13:if(we(Pe),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&>!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Kd(),vr(),t.flags|=98560,f=!1;else if(f=Ds(t),a!==null&&a.dehydrated!==null){if(e===null){if(!f)throw Error(s(318));if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(s(317));f[Bt]=t}else vr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),f=!1}else Lt!==null&&(jl(Lt),Lt=null),f=!0;if(!f)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=i,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Pe.current&1)!==0?be===0&&(be=3):Ll())),t.updateQueue!==null&&(t.flags|=4),Xe(t),null);case 4:return Tr(),yl(e,t),e===null&&ci(t.stateNode.containerInfo),Xe(t),null;case 10:return Ha(t.type._context),Xe(t),null;case 17:return at(t.type)&&js(),Xe(t),null;case 19:if(we(Pe),f=t.memoizedState,f===null)return Xe(t),null;if(a=(t.flags&128)!==0,y=f.rendering,y===null)if(a)Ti(f,!1);else{if(be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=bs(e),y!==null){for(t.flags|=128,Ti(f,!1),a=y.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=i,i=t.child;i!==null;)f=i,e=a,f.flags&=14680066,y=f.alternate,y===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=y.childLanes,f.lanes=y.lanes,f.child=y.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=y.memoizedProps,f.memoizedState=y.memoizedState,f.updateQueue=y.updateQueue,f.type=y.type,e=y.dependencies,f.depen
vendor: 7,494 bytes, line 8
8dencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return ve(Pe,Pe.current&1|2),t.child}e=e.sibling}f.tail!==null&&Me()>Pr&&(t.flags|=128,a=!0,Ti(f,!1),t.lanes=4194304)}else{if(!a)if(e=bs(y),e!==null){if(t.flags|=128,a=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),Ti(f,!0),f.tail===null&&f.tailMode==="hidden"&&!y.alternate&&!Ee)return Xe(t),null}else 2*Me()-f.renderingStartTime>Pr&&i!==1073741824&&(t.flags|=128,a=!0,Ti(f,!1),t.lanes=4194304);f.isBackwards?(y.sibling=t.child,t.child=y):(i=f.last,i!==null?i.sibling=y:t.child=y,f.last=y)}return f.tail!==null?(t=f.tail,f.rendering=t,f.tail=t.sibling,f.renderingStartTime=Me(),t.sibling=null,i=Pe.current,ve(Pe,a?i&1|2:i&1),t):(Xe(t),null);case 22:case 23:return Al(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(yt&1073741824)!==0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function bv(e,t){switch(ba(t),t.tag){case 1:return at(t.type)&&js(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tr(),we(ot),we(Ye),Za(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Qa(t),null;case 13:if(we(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));vr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return we(Pe),null;case 4:return Tr(),null;case 10:return Ha(t.type._context),null;case 22:case 23:return Al(),null;case 24:return null;default:return null}}var qs=!1,Ze=!1,Bv=typeof WeakSet=="function"?WeakSet:Set,K=null;function kr(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){Ae(e,t,a)}else i.current=null}function vl(e,t,i){try{i()}catch(a){Ae(e,t,a)}}var Hf=!1;function zv(e,t){if(Aa=ps,e=Td(),Ta(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var u=a.anchorOffset,f=a.focusNode;a=a.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var y=0,S=-1,T=-1,M=0,F=0,b=e,O=null;t:for(;;){for(var $;b!==i||u!==0&&b.nodeType!==3||(S=y+u),b!==f||a!==0&&b.nodeType!==3||(T=y+a),b.nodeType===3&&(y+=b.nodeValue.length),($=b.firstChild)!==null;)O=b,b=$;for(;;){if(b===e)break t;if(O===i&&++M===u&&(S=y),O===f&&++F===a&&(T=y),($=b.nextSibling)!==null)break;b=O,O=b.parentNode}b=$}i=S===-1||T===-1?null:{start:S,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(La={focusedElem:e,selectionRange:i},ps=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var G=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(G!==null){var q=G.memoizedProps,De=G.memoizedState,N=t.stateNode,k=N.getSnapshotBeforeUpdate(t.elementType===t.type?q:Mt(t.type,q),De);N.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(B){Ae(t,t.return,B)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return G=Hf,Hf=!1,G}function Ei(e,t,i){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var u=a=a.next;do{if((u.tag&e)===e){var f=u.destroy;u.destroy=void 0,f!==void 0&&vl(t,i,f)}u=u.next}while(u!==a)}}function Ys(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==t)}}function xl(e){var t=e.ref;if(t!==null){var i=e.stateNode;e.tag,e=i,typeof t=="function"?t(e):t.current=e}}function Kf(e){var t=e.alternate;t!==null&&(e.alternate=null,Kf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[fi],delete t[Oa],delete t[Ev],delete t[kv])),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 Gf(e){return e.tag===5||e.tag===3||e.tag===4}function qf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gf(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 wl(e,t,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Ps));else if(a!==4&&(e=e.child,e!==null))for(wl(e,t,i),e=e.sibling;e!==null;)wl(e,t,i),e=e.sibling}function Sl(e,t,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Sl(e,t,i),e=e.sibling;e!==null;)Sl(e,t,i),e=e.sibling}var He=null,Dt=!1;function kn(e,t,i){for(i=i.child;i!==null;)Yf(e,t,i),i=i.sibling}function Yf(e,t,i){if(bt&&typeof bt.onCommitFiberUnmount=="function")try{bt.onCommitFiberUnmount(ls,i)}catch{}switch(i.tag){case 5:Ze||kr(i,t);case 6:var a=He,u=Dt;He=null,kn(e,t,i),He=a,Dt=u,He!==null&&(Dt?(e=He,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):He.removeChild(i.stateNode));break;case 18:He!==null&&(Dt?(e=He,i=i.stateNode,e.nodeType===8?_a(e.parentNode,i):e.nodeType===1&&_a(e,i),ti(e)):_a(He,i.stateNode));break;case 4:a=He,u=Dt,He=i.stateNode.containerInfo,Dt=!0,kn(e,t,i),He=a,Dt=u;break;case 0:case 11:case 14:case 15:if(!Ze&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){u=a=a.next;do{var f=u,y=f.destroy;f=f.tag,y!==void 0&&((f&2)!==0||(f&4)!==0)&&vl(i,t,y),u=u.next}while(u!==a)}kn(e,t,i);break;case 1:if(!Ze&&(kr(i,t),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(S){Ae(i,t,S)}kn(e,t,i);break;case 21:kn(e,t,i);break;case 22:i.mode&1?(Ze=(a=Ze)||i.memoizedState!==null,kn(e,t,i),Ze=a):kn(e,t,i);break;default:kn(e,t,i)}}function Qf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Bv),t.forEach(function(a){var u=Qv.bind(null,e,a);i.has(a)||(i.add(a),a.then(u,u))})}}function _t(e,t){var i=t.deletions;if(i!==null)for(var a=0;a<i.length;a++){var u=i[a];try{var f=e,y=t,S=y;e:for(;S!==null;){switch(S.tag){case 5:He=S.stateNode,Dt=!1;break e;case 3:He=S.stateNode.containerInfo,Dt=!0;break e;case 4:He=S.stateNode.containerInfo,Dt=!0;break e}S=S.return}if(He===null)throw Error(s(160));Yf(f,y,u),He=null,Dt=!1;var T=u.alternate;T!==null&&(T.return=null),u.return=null}catch(M){Ae(u,t,M)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Xf(t,e),t=t.sibling}function Xf(e,t){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_t(t,e),$t(e),a&4){try{Ei(3,e,e.return),Ys(3,e)}catch(q){Ae(e,e.return,q)}try{Ei(5,e,e.return)}catch(q){Ae(e,e.return,q)}}break;case 1:_t(t,e),$t(e),a&512&&i!==null&&kr(i,i.return);break;case 5:if(_t(t,e),$t(e),a&512&&i!==null&&kr(i,i.return),e.flags&32){var u=e.stateNode;try{Wr(u,"")}catch(q){Ae(e,e.return,q)}}if(a&4&&(u=e.stateNode,u!=null)){var f=e.memoizedProps,y=i!==null?i.memoizedProps:f,S=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{S==="input"&&f.type==="radio"&&f.n
vendor: 10,641 bytes, line 8
8ame!=null&&kc(u,f),Zo(S,y);var M=Zo(S,f);for(y=0;y<T.length;y+=2){var F=T[y],b=T[y+1];F==="style"?Mc(u,b):F==="dangerouslySetInnerHTML"?Ac(u,b):F==="children"?Wr(u,b):I(u,F,b,M)}switch(S){case"input":Go(u,f);break;case"textarea":Rc(u,f);break;case"select":var O=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!f.multiple;var $=f.value;$!=null?rr(u,!!f.multiple,$,!1):O!==!!f.multiple&&(f.defaultValue!=null?rr(u,!!f.multiple,f.defaultValue,!0):rr(u,!!f.multiple,f.multiple?[]:"",!1))}u[fi]=f}catch(q){Ae(e,e.return,q)}}break;case 6:if(_t(t,e),$t(e),a&4){if(e.stateNode===null)throw Error(s(162));u=e.stateNode,f=e.memoizedProps;try{u.nodeValue=f}catch(q){Ae(e,e.return,q)}}break;case 3:if(_t(t,e),$t(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{ti(t.containerInfo)}catch(q){Ae(e,e.return,q)}break;case 4:_t(t,e),$t(e);break;case 13:_t(t,e),$t(e),u=e.child,u.flags&8192&&(f=u.memoizedState!==null,u.stateNode.isHidden=f,!f||u.alternate!==null&&u.alternate.memoizedState!==null||(kl=Me())),a&4&&Qf(e);break;case 22:if(F=i!==null&&i.memoizedState!==null,e.mode&1?(Ze=(M=Ze)||F,_t(t,e),Ze=M):_t(t,e),$t(e),a&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!F&&(e.mode&1)!==0)for(K=e,F=e.child;F!==null;){for(b=K=F;K!==null;){switch(O=K,$=O.child,O.tag){case 0:case 11:case 14:case 15:Ei(4,O,O.return);break;case 1:kr(O,O.return);var G=O.stateNode;if(typeof G.componentWillUnmount=="function"){a=O,i=O.return;try{t=a,G.props=t.memoizedProps,G.state=t.memoizedState,G.componentWillUnmount()}catch(q){Ae(a,i,q)}}break;case 5:kr(O,O.return);break;case 22:if(O.memoizedState!==null){eh(b);continue}}$!==null?($.return=O,K=$):eh(b)}F=F.sibling}e:for(F=null,b=e;;){if(b.tag===5){if(F===null){F=b;try{u=b.stateNode,M?(f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(S=b.stateNode,T=b.memoizedProps.style,y=T!=null&&T.hasOwnProperty("display")?T.display:null,S.style.display=Lc("display",y))}catch(q){Ae(e,e.return,q)}}}else if(b.tag===6){if(F===null)try{b.stateNode.nodeValue=M?"":b.memoizedProps}catch(q){Ae(e,e.return,q)}}else if((b.tag!==22&&b.tag!==23||b.memoizedState===null||b===e)&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===e)break e;for(;b.sibling===null;){if(b.return===null||b.return===e)break e;F===b&&(F=null),b=b.return}F===b&&(F=null),b.sibling.return=b.return,b=b.sibling}}break;case 19:_t(t,e),$t(e),a&4&&Qf(e);break;case 21:break;default:_t(t,e),$t(e)}}function $t(e){var t=e.flags;if(t&2){try{e:{for(var i=e.return;i!==null;){if(Gf(i)){var a=i;break e}i=i.return}throw Error(s(160))}switch(a.tag){case 5:var u=a.stateNode;a.flags&32&&(Wr(u,""),a.flags&=-33);var f=qf(e);Sl(e,f,u);break;case 3:case 4:var y=a.stateNode.containerInfo,S=qf(e);wl(e,S,y);break;default:throw Error(s(161))}}catch(T){Ae(e,e.return,T)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Uv(e,t,i){K=e,Zf(e)}function Zf(e,t,i){for(var a=(e.mode&1)!==0;K!==null;){var u=K,f=u.child;if(u.tag===22&&a){var y=u.memoizedState!==null||qs;if(!y){var S=u.alternate,T=S!==null&&S.memoizedState!==null||Ze;S=qs;var M=Ze;if(qs=y,(Ze=T)&&!M)for(K=u;K!==null;)y=K,T=y.child,y.tag===22&&y.memoizedState!==null?th(u):T!==null?(T.return=y,K=T):th(u);for(;f!==null;)K=f,Zf(f),f=f.sibling;K=u,qs=S,Ze=M}Jf(e)}else(u.subtreeFlags&8772)!==0&&f!==null?(f.return=u,K=f):Jf(e)}}function Jf(e){for(;K!==null;){var t=K;if((t.flags&8772)!==0){var i=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ze||Ys(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!Ze)if(i===null)a.componentDidMount();else{var u=t.elementType===t.type?i.memoizedProps:Mt(t.type,i.memoizedProps);a.componentDidUpdate(u,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=t.updateQueue;f!==null&&Jd(t,f,a);break;case 3:var y=t.updateQueue;if(y!==null){if(i=null,t.child!==null)switch(t.child.tag){case 5:i=t.child.stateNode;break;case 1:i=t.child.stateNode}Jd(t,y,i)}break;case 5:var S=t.stateNode;if(i===null&&t.flags&4){i=S;var T=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&i.focus();break;case"img":T.src&&(i.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var M=t.alternate;if(M!==null){var F=M.memoizedState;if(F!==null){var b=F.dehydrated;b!==null&&ti(b)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ze||t.flags&512&&xl(t)}catch(O){Ae(t,t.return,O)}}if(t===e){K=null;break}if(i=t.sibling,i!==null){i.return=t.return,K=i;break}K=t.return}}function eh(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var i=t.sibling;if(i!==null){i.return=t.return,K=i;break}K=t.return}}function th(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{Ys(4,t)}catch(T){Ae(t,i,T)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var u=t.return;try{a.componentDidMount()}catch(T){Ae(t,u,T)}}var f=t.return;try{xl(t)}catch(T){Ae(t,f,T)}break;case 5:var y=t.return;try{xl(t)}catch(T){Ae(t,y,T)}}}catch(T){Ae(t,t.return,T)}if(t===e){K=null;break}var S=t.sibling;if(S!==null){S.return=t.return,K=S;break}K=t.return}}var $v=Math.ceil,Qs=H.ReactCurrentDispatcher,Tl=H.ReactCurrentOwner,kt=H.ReactCurrentBatchConfig,ue=0,Ue=null,Ie=null,Ke=0,yt=0,Cr=xn(0),be=0,ki=null,$n=0,Xs=0,El=0,Ci=null,ut=null,kl=0,Pr=1/0,rn=null,Zs=!1,Cl=null,Cn=null,Js=!1,Pn=null,eo=0,Pi=0,Pl=null,to=-1,no=0;function st(){return(ue&6)!==0?Me():to!==-1?to:to=Me()}function Rn(e){return(e.mode&1)===0?1:(ue&2)!==0&&Ke!==0?Ke&-Ke:Pv.transition!==null?(no===0&&(no=Gc()),no):(e=me,e!==0||(e=window.event,e=e===void 0?16:nd(e.type)),e)}function Ot(e,t,i,a){if(50<Pi)throw Pi=0,Pl=null,Error(s(185));Qr(e,i,a),((ue&2)===0||e!==Ue)&&(e===Ue&&((ue&2)===0&&(Xs|=i),be===4&&jn(e,Ke)),ct(e,a),i===1&&ue===0&&(t.mode&1)===0&&(Pr=Me()+500,As&&Sn()))}function ct(e,t){var i=e.callbackNode;Py(e,t);var a=ds(e,e===Ue?Ke:0);if(a===0)i!==null&&Wc(i),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(i!=null&&Wc(i),t===1)e.tag===0?Cv(rh.bind(null,e)):zd(rh.bind(null,e)),Sv(function(){(ue&6)===0&&Sn()}),i=null;else{switch(qc(a)){case 1:i=sa;break;case 4:i=Hc;break;case 16:i=as;break;case 536870912:i=Kc;break;default:i=as}i=dh(i,nh.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function nh(e,t){if(to=-1,no=0,(ue&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Rr()&&e.callbackNode!==i)return null;var a=ds(e,e===Ue?Ke:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=ro(e,a);else{t=a;var u=ue;ue|=2;var f=sh();(Ue!==e||Ke!==t)&&(rn=null,Pr=Me()+500,Hn(e,t));do try{Kv();break}catch(S){ih(e,S)}while(!0);Wa(),Qs.current=f,ue=u,Ie!==null?t=0:(Ue=null,Ke=0,t=be)}if(t!==0){if(t===2&&(u=oa(e),u!==0&&(a=u,t=Rl(e,u))),t===1)throw i=ki,Hn(e,0),jn(e,a),ct(e,Me()),i;if(t===6)jn(e,a);else{if(u=e.current.alternate,(a&30)===0&&!Wv(u)&&(t=ro(e,a),t===2&&(f=oa(e),f!==0&&(a=f,t=Rl(e,f))),t===1))throw i=ki,Hn(e,0),jn(e,a),ct(e,Me()),i;switch(e.finishedWork=u,e.finishedLanes=a,t){case 0:case 1:throw Error(s(345));case 2:Kn(e,ut,rn);break;case 3:if(jn(e,a),(a&130023424)===a&&(t=kl+500-Me(),10<t)){if(ds(e,0)!==0)break;if(u=e.suspendedLanes,(u&a)!==a){st(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Da(Kn.bind(null,e,ut,rn),t);break}Kn(e,ut,rn);break;case 4:if(jn(e,a),(a&4194240)===a)break;for(t=e.eventTimes,u=-1;0<a;){var y=31-Nt(a);f=1<<y,y=t[y],y>u&&(u=y),a&=~f}if(a=u,a=Me()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*$v(a/1960))-a,10<a){e.timeoutHandle=Da(Kn.bind(null,e,ut,rn),a);break}Kn(e,ut,rn);break;case 5:Kn(e,ut,rn);break;default:throw Error(s(329))}}}return ct(e,Me()),e.callbackNode===i?nh.bind(null,e):null}function Rl(e,t){var i=Ci;return e.current.memoizedState.isDehydrated&&(Hn(e,t).flags|=256),e=ro(e,t),e!==2&&(t=ut,ut=i,t!==null&&jl(t)),e}function jl(e){ut===null?ut=e:ut.push.apply(ut,e)}function Wv(e){for(var t=e;;){if(t.flags&16384){var i=t.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var a=0;a<i.length;a++){var u=i[a],f=u.getSnapshot;u=u.value;try{if(!At(f(),u))return!1}catch{return!1}}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 jn(e,t){for(t&=~El,t&=~Xs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-Nt(t),a=1<<i;e[i]=-1,t&=~a}}function rh(e){if((ue&6)!==0)throw Error(s(327));Rr();var t=ds(e,0);if((t&1)===0)return ct(e,Me()),null;var i=ro(e,t);if(e.tag!==0&&i===2){var a=oa(e);a!==0&&(t=a,i=Rl(e,a))}if(i===1)throw i=ki,Hn(e,0),jn(e,t),ct(e,Me()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Kn(e,ut,rn),ct(e,Me()),null}function Nl(e,t){var i=ue;ue|=1;try{return e(t)}finally{ue=i,ue===0&&(Pr=Me()+500,As&&Sn())}}function Wn(e){Pn!==null&&Pn.tag===0&&(ue&6)===0&&Rr();var t=ue;ue|=1;var i=kt.transition,a=me;try{if(kt.transition=null,me=1,e)return e()}finally{me=a,kt.transition=i,ue=t,(ue&6)===0&&Sn()}}function Al(){yt=Cr.current,we(Cr)}function Hn(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,wv(i)),Ie!==null)for(i=Ie.return;i!==null;){var a=i;switch(ba(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&js();break;case 3:Tr(),we(ot),we(Ye),Za();break;case 5:Qa(a);break;case 4:Tr();break;case 13:we(Pe);break;case 19:we(Pe);break;case 10:Ha(a.type._context);break;case 22:case 23:Al()}i=i.return}if(Ue=e,Ie=e=Nn(e.current,null),Ke=yt=t,be=0,ki=null,El=Xs=$n=0,ut=Ci=null,Bn!==null){for(t=0;t<Bn.length;t++)if(i=Bn[t],a=i.interleaved,a!==null){i.interleaved=null;var u=a.next,f=i.pending;if(f!==null){var y=f.next;f.next=u,a.next=y}i.pending=a}Bn=null}return e}function ih(e,t){do{var i=Ie;try{if(Wa(),Bs.current=Ws,zs){for(var a=Re.memoizedState;a!==null;){var u=a.queue;u!==null&&(u.pending=null),a=a.next}zs=!1}if(Un=0,ze=Fe=Re=null,vi=!1,xi=0,Tl.current=null,i===null||i.return===null){be=1,ki=t,Ie=null;break}e:{var f=e,y=i.return,S=i,T=t;if(t=Ke,S.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var M=T,F=S,b=F.tag;if((F.mode&1)===0&&(b===0||b===11||b===15)){var O=F.alternate;O?(F.updateQueue=O.updateQueue,F.memoizedState=O.memoizedState,F.lanes=O.lanes):(F.updateQueue=null,F.memoizedState=null)}var $=Nf(y);if($!==null){$.flags&=-257,Af($,y,S,f,t),$.mode&1&&jf(f,M,t),t=$,T=M;var G=t.updateQueue;if(G===null){var q=new Set;q.add(T),t.updateQueue=q}else G.add(T);break e}else{if((t&1)===0){jf(f,M,t),Ll();break e}T=Error(s(426))}}else if(Ee&&S.mode&1){var De=Nf(y);
vendor: 9,120 bytes, line 8
8if(De!==null){(De.flags&65536)===0&&(De.flags|=256),Af(De,y,S,f,t),Ua(Er(T,S));break e}}f=T=Er(T,S),be!==4&&(be=2),Ci===null?Ci=[f]:Ci.push(f),f=y;do{switch(f.tag){case 3:f.flags|=65536,t&=-t,f.lanes|=t;var N=Pf(f,T,t);Zd(f,N);break e;case 1:S=T;var k=f.type,A=f.stateNode;if((f.flags&128)===0&&(typeof k.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(Cn===null||!Cn.has(A)))){f.flags|=65536,t&=-t,f.lanes|=t;var B=Rf(f,S,t);Zd(f,B);break e}}f=f.return}while(f!==null)}ah(i)}catch(Y){t=Y,Ie===i&&i!==null&&(Ie=i=i.return);continue}break}while(!0)}function sh(){var e=Qs.current;return Qs.current=Ws,e===null?Ws:e}function Ll(){(be===0||be===3||be===2)&&(be=4),Ue===null||($n&268435455)===0&&(Xs&268435455)===0||jn(Ue,Ke)}function ro(e,t){var i=ue;ue|=2;var a=sh();(Ue!==e||Ke!==t)&&(rn=null,Hn(e,t));do try{Hv();break}catch(u){ih(e,u)}while(!0);if(Wa(),ue=i,Qs.current=a,Ie!==null)throw Error(s(261));return Ue=null,Ke=0,be}function Hv(){for(;Ie!==null;)oh(Ie)}function Kv(){for(;Ie!==null&&!yy();)oh(Ie)}function oh(e){var t=ch(e.alternate,e,yt);e.memoizedProps=e.pendingProps,t===null?ah(e):Ie=t,Tl.current=null}function ah(e){var t=e;do{var i=t.alternate;if(e=t.return,(t.flags&32768)===0){if(i=Fv(i,t,yt),i!==null){Ie=i;return}}else{if(i=bv(i,t),i!==null){i.flags&=32767,Ie=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{be=6,Ie=null;return}}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);be===0&&(be=5)}function Kn(e,t,i){var a=me,u=kt.transition;try{kt.transition=null,me=1,Gv(e,t,i,a)}finally{kt.transition=u,me=a}return null}function Gv(e,t,i,a){do Rr();while(Pn!==null);if((ue&6)!==0)throw Error(s(327));i=e.finishedWork;var u=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var f=i.lanes|i.childLanes;if(Ry(e,f),e===Ue&&(Ie=Ue=null,Ke=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Js||(Js=!0,dh(as,function(){return Rr(),null})),f=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||f){f=kt.transition,kt.transition=null;var y=me;me=1;var S=ue;ue|=4,Tl.current=null,zv(e,i),Xf(i,e),hv(La),ps=!!Aa,La=Aa=null,e.current=i,Uv(i),vy(),ue=S,me=y,kt.transition=f}else e.current=i;if(Js&&(Js=!1,Pn=e,eo=u),f=e.pendingLanes,f===0&&(Cn=null),Sy(i.stateNode),ct(e,Me()),t!==null)for(a=e.onRecoverableError,i=0;i<t.length;i++)u=t[i],a(u.value,{componentStack:u.stack,digest:u.digest});if(Zs)throw Zs=!1,e=Cl,Cl=null,e;return(eo&1)!==0&&e.tag!==0&&Rr(),f=e.pendingLanes,(f&1)!==0?e===Pl?Pi++:(Pi=0,Pl=e):Pi=0,Sn(),null}function Rr(){if(Pn!==null){var e=qc(eo),t=kt.transition,i=me;try{if(kt.transition=null,me=16>e?16:e,Pn===null)var a=!1;else{if(e=Pn,Pn=null,eo=0,(ue&6)!==0)throw Error(s(331));var u=ue;for(ue|=4,K=e.current;K!==null;){var f=K,y=f.child;if((K.flags&16)!==0){var S=f.deletions;if(S!==null){for(var T=0;T<S.length;T++){var M=S[T];for(K=M;K!==null;){var F=K;switch(F.tag){case 0:case 11:case 15:Ei(8,F,f)}var b=F.child;if(b!==null)b.return=F,K=b;else for(;K!==null;){F=K;var O=F.sibling,$=F.return;if(Kf(F),F===M){K=null;break}if(O!==null){O.return=$,K=O;break}K=$}}}var G=f.alternate;if(G!==null){var q=G.child;if(q!==null){G.child=null;do{var De=q.sibling;q.sibling=null,q=De}while(q!==null)}}K=f}}if((f.subtreeFlags&2064)!==0&&y!==null)y.return=f,K=y;else e:for(;K!==null;){if(f=K,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:Ei(9,f,f.return)}var N=f.sibling;if(N!==null){N.return=f.return,K=N;break e}K=f.return}}var k=e.current;for(K=k;K!==null;){y=K;var A=y.child;if((y.subtreeFlags&2064)!==0&&A!==null)A.return=y,K=A;else e:for(y=k;K!==null;){if(S=K,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:Ys(9,S)}}catch(Y){Ae(S,S.return,Y)}if(S===y){K=null;break e}var B=S.sibling;if(B!==null){B.return=S.return,K=B;break e}K=S.return}}if(ue=u,Sn(),bt&&typeof bt.onPostCommitFiberRoot=="function")try{bt.onPostCommitFiberRoot(ls,e)}catch{}a=!0}return a}finally{me=i,kt.transition=t}}return!1}function lh(e,t,i){t=Er(i,t),t=Pf(e,t,1),e=En(e,t,1),t=st(),e!==null&&(Qr(e,1,t),ct(e,t))}function Ae(e,t,i){if(e.tag===3)lh(e,e,i);else for(;t!==null;){if(t.tag===3){lh(t,e,i);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Cn===null||!Cn.has(a))){e=Er(i,e),e=Rf(t,e,1),t=En(t,e,1),e=st(),t!==null&&(Qr(t,1,e),ct(t,e));break}}t=t.return}}function qv(e,t,i){var a=e.pingCache;a!==null&&a.delete(t),t=st(),e.pingedLanes|=e.suspendedLanes&i,Ue===e&&(Ke&i)===i&&(be===4||be===3&&(Ke&130023424)===Ke&&500>Me()-kl?Hn(e,0):El|=i),ct(e,t)}function uh(e,t){t===0&&((e.mode&1)===0?t=1:(t=cs,cs<<=1,(cs&130023424)===0&&(cs=4194304)));var i=st();e=en(e,t),e!==null&&(Qr(e,t,i),ct(e,i))}function Yv(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),uh(e,i)}function Qv(e,t){var i=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(i=u.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(s(314))}a!==null&&a.delete(t),uh(e,i)}var ch;ch=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)lt=!0;else{if((e.lanes&i)===0&&(t.flags&128)===0)return lt=!1,Vv(e,t,i);lt=(e.flags&131072)!==0}else lt=!1,Ee&&(t.flags&1048576)!==0&&Ud(t,Ms,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Gs(e,t),e=t.pendingProps;var u=mr(t,Ye.current);Sr(t,i),u=tl(null,t,a,e,u,i);var f=nl();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(a)?(f=!0,Ns(t)):f=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,qa(t),u.updater=Hs,t.stateNode=u,u._reactInternals=t,ll(t,a,e,i),t=fl(null,t,a,!0,f,i)):(t.tag=0,Ee&&f&&Fa(t),it(null,t,u,i),t=t.child),t;case 16:a=t.elementType;e:{switch(Gs(e,t),e=t.pendingProps,u=a._init,a=u(a._payload),t.type=a,u=t.tag=Zv(a),e=Mt(a,e),u){case 0:t=dl(null,t,a,e,i);break e;case 1:t=If(null,t,a,e,i);break e;case 11:t=Lf(null,t,a,e,i);break e;case 14:t=Mf(null,t,a,Mt(a.type,e),i);break e}throw Error(s(306,a,""))}return t;case 0:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Mt(a,u),dl(e,t,a,u,i);case 1:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Mt(a,u),If(e,t,a,u,i);case 3:e:{if(Vf(t),e===null)throw Error(s(387));a=t.pendingProps,f=t.memoizedState,u=f.element,Xd(e,t),Fs(t,a,null,i);var y=t.memoizedState;if(a=y.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){u=Er(Error(s(423)),t),t=Ff(e,t,a,i,u);break e}else if(a!==u){u=Er(Error(s(424)),t),t=Ff(e,t,a,i,u);break e}else for(gt=vn(t.stateNode.containerInfo.firstChild),mt=t,Ee=!0,Lt=null,i=Yd(t,null,a,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(vr(),a===u){t=nn(e,t,i);break e}it(e,t,a,i)}t=t.child}return t;case 5:return ef(t),e===null&&za(t),a=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,y=u.children,Ma(a,u)?y=null:f!==null&&Ma(a,f)&&(t.flags|=32),Of(e,t),it(e,t,y,i),t.child;case 6:return e===null&&za(t),null;case 13:return bf(e,t,i);case 4:return Ya(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=xr(t,null,a,i):it(e,t,a,i),t.child;case 11:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Mt(a,u),Lf(e,t,a,u,i);case 7:return it(e,t,t.pendingProps,i),t.child;case 8:return it(e,t,t.pendingProps.children,i),t.child;case 12:return it(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(a=t.type._context,u=t.pendingProps,f=t.memoizedProps,y=u.value,ve(Os,a._currentValue),a._currentValue=y,f!==null)if(At(f.value,y)){if(f.children===u.children&&!ot.current){t=nn(e,t,i);break e}}else for(f=t.child,f!==null&&(f.return=t);f!==null;){var S=f.dependencies;if(S!==null){y=f.child;for(var T=S.firstContext;T!==null;){if(T.context===a){if(f.tag===1){T=tn(-1,i&-i),T.tag=2;var M=f.updateQueue;if(M!==null){M=M.shared;var F=M.pending;F===null?T.next=T:(T.next=F.next,F.next=T),M.pending=T}}f.lanes|=i,T=f.alternate,T!==null&&(T.lanes|=i),Ka(f.return,i,t),S.lanes|=i;break}T=T.next}}else if(f.tag===10)y=f.type===t.type?null:f.child;else if(f.tag===18){if(y=f.return,y===null)throw Error(s(341));y.lanes|=i,S=y.alternate,S!==null&&(S.lanes|=i),Ka(y,i,t),y=f.sibling}else y=f.child;if(y!==null)y.return=f;else for(y=f;y!==null;){if(y===t){y=null;break}if(f=y.sibling,f!==null){f.return=y.return,y=f;break}y=y.return}f=y}it(e,t,u.children,i),t=t.child}return t;case 9:return u=t.type,a=t.pendingProps.children,Sr(t,i),u=Tt(u),a=a(u),t.flags|=1,it(e,t,a,i),t.child;case 14:return a=t.type,u=Mt(a,t.pendingProps),u=Mt(a.type,u),Mf(e,t,a,u,i);case 15:return Df(e,t,t.type,t.pendingProps,i);case 17:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Mt(a,u),Gs(e,t),t.tag=1,at(a)?(e=!0,Ns(t)):e=!1,Sr(t,i),kf(t,a,u),ll(t,a,u,i),fl(null,t,a,!0,e,i);case 19:return zf(e,t,i);case 22:return _f(e,t,i)}throw Error(s(156,t.tag))};function dh(e,t){return $c(e,t)}function Xv(e,t,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 7,513 bytes, line 8
8ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ct(e,t,i,a){return new Xv(e,t,i,a)}function Ml(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zv(e){if(typeof e=="function")return Ml(e)?1:0;if(e!=null){if(e=e.$$typeof,e===nt)return 11;if(e===Oe)return 14}return 2}function Nn(e,t){var i=e.alternate;return i===null?(i=Ct(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function io(e,t,i,a,u,f){var y=2;if(a=e,typeof e=="function")Ml(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case ie:return Gn(i.children,u,f,t);case Q:y=8,u|=8;break;case he:return e=Ct(12,i,t,u|2),e.elementType=he,e.lanes=f,e;case Be:return e=Ct(13,i,t,u),e.elementType=Be,e.lanes=f,e;case We:return e=Ct(19,i,t,u),e.elementType=We,e.lanes=f,e;case oe:return so(i,u,f,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ge:y=10;break e;case qe:y=9;break e;case nt:y=11;break e;case Oe:y=14;break e;case rt:y=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Ct(y,i,t,u),t.elementType=e,t.type=a,t.lanes=f,t}function Gn(e,t,i,a){return e=Ct(7,e,a,t),e.lanes=i,e}function so(e,t,i,a){return e=Ct(22,e,a,t),e.elementType=oe,e.lanes=i,e.stateNode={isHidden:!1},e}function Dl(e,t,i){return e=Ct(6,e,null,t),e.lanes=i,e}function _l(e,t,i){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jv(e,t,i,a,u){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=aa(0),this.expirationTimes=aa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=aa(0),this.identifierPrefix=a,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Ol(e,t,i,a,u,f,y,S,T){return e=new Jv(e,t,i,S,T),t===1?(t=1,f===!0&&(t|=8)):t=0,f=Ct(3,null,null,t),e.current=f,f.stateNode=e,f.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},qa(f),e}function e0(e,t,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ee,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}function fh(e){if(!e)return wn;e=e._reactInternals;e:{if(On(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(at(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(at(i))return bd(e,i,t)}return t}function hh(e,t,i,a,u,f,y,S,T){return e=Ol(i,a,!0,e,u,f,y,S,T),e.context=fh(null),i=e.current,a=st(),u=Rn(i),f=tn(a,u),f.callback=t??null,En(i,f,u),e.current.lanes=u,Qr(e,u,a),ct(e,a),e}function oo(e,t,i,a){var u=t.current,f=st(),y=Rn(u);return i=fh(i),t.context===null?t.context=i:t.pendingContext=i,t=tn(f,y),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=En(u,t,y),e!==null&&(Ot(e,u,y,f),Vs(e,u,y)),y}function ao(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function ph(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Il(e,t){ph(e,t),(e=e.alternate)&&ph(e,t)}function t0(){return null}var mh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vl(e){this._internalRoot=e}lo.prototype.render=Vl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));oo(e,t,null,null)},lo.prototype.unmount=Vl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Wn(function(){oo(null,e,null,null)}),t[Qt]=null}};function lo(e){this._internalRoot=e}lo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xc();e={blockedOn:null,target:e,priority:t};for(var i=0;i<mn.length&&t!==0&&t<mn[i].priority;i++);mn.splice(i,0,e),i===0&&ed(e)}};function Fl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gh(){}function n0(e,t,i,a,u){if(u){if(typeof a=="function"){var f=a;a=function(){var M=ao(y);f.call(M)}}var y=hh(t,a,e,0,null,!1,!1,"",gh);return e._reactRootContainer=y,e[Qt]=y.current,ci(e.nodeType===8?e.parentNode:e),Wn(),y}for(;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var S=a;a=function(){var M=ao(T);S.call(M)}}var T=Ol(e,0,!1,null,null,!1,!1,"",gh);return e._reactRootContainer=T,e[Qt]=T.current,ci(e.nodeType===8?e.parentNode:e),Wn(function(){oo(t,T,i,a)}),T}function co(e,t,i,a,u){var f=i._reactRootContainer;if(f){var y=f;if(typeof u=="function"){var S=u;u=function(){var T=ao(y);S.call(T)}}oo(t,y,e,u)}else y=n0(i,t,e,u,a);return ao(y)}Yc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=Yr(t.pendingLanes);i!==0&&(la(t,i|1),ct(t,Me()),(ue&6)===0&&(Pr=Me()+500,Sn()))}break;case 13:Wn(function(){var a=en(e,1);if(a!==null){var u=st();Ot(a,e,1,u)}}),Il(e,1)}},ua=function(e){if(e.tag===13){var t=en(e,134217728);if(t!==null){var i=st();Ot(t,e,134217728,i)}Il(e,134217728)}},Qc=function(e){if(e.tag===13){var t=Rn(e),i=en(e,t);if(i!==null){var a=st();Ot(i,e,t,a)}Il(e,t)}},Xc=function(){return me},Zc=function(e,t){var i=me;try{return me=e,t()}finally{me=i}},ta=function(e,t,i){switch(t){case"input":if(Go(e,i),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++){var a=i[t];if(a!==e&&a.form===e.form){var u=Rs(a);if(!u)throw Error(s(90));Tc(a),Go(a,u)}}}break;case"textarea":Rc(e,i);break;case"select":t=i.value,t!=null&&rr(e,!!i.multiple,t,!1)}},Ic=Nl,Vc=Wn;var r0={usingClientEntryPoint:!1,Events:[hi,hr,Rs,_c,Oc,Nl]},Ri={findFiberByHostInstance:In,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},i0={bundleType:Ri.bundleType,version:Ri.version,rendererPackageName:Ri.rendererPackageName,rendererConfig:Ri.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=zc(e),e===null?null:e.stateNode},findFiberByHostInstance:Ri.findFiberByHostInstance||t0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
8if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fo.isDisabled&&fo.supportsFiber)try{ls=fo.inject(i0),bt=fo}catch{}}return dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r0,dt.createPortal=function(e,t){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fl(t))throw Error(s(200));return e0(e,t,null,i)},dt.createRoot=function(e,t){if(!Fl(e))throw Error(s(299));var i=!1,a="",u=mh;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Ol(e,1,!1,null,null,i,!1,a,u),e[Qt]=t.current,ci(e.nodeType===8?e.parentNode:e),new Vl(t)},dt.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(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=zc(t),e=e===null?null:e.stateNode,e},dt.flushSync=function(e){return Wn(e)},dt.hydrate=function(e,t,i){if(!uo(t))throw Error(s(200));return co(null,e,t,!0,i)},dt.hydrateRoot=function(e,t,i){if(!Fl(e))throw Error(s(405));var a=i!=null&&i.hydratedSources||null,u=!1,f="",y=mh;if(i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(y=i.onRecoverableError)),t=hh(t,null,e,1,i??null,u,!1,f,y),e[Qt]=t.current,ci(e),a)for(e=0;e<a.length;e++)i=a[e],u=i._getVersion,u=u(i._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[i,u]:t.mutableSourceEagerHydrationData.push(i,u);return new lo(t)},dt.render=function(e,t,i){if(!uo(t))throw Error(s(200));return co(null,e,t,!1,i)},dt.unmountComponentAtNode=function(e){if(!uo(e))throw Error(s(40));return e._reactRootContainer?(Wn(function(){co(null,null,e,!1,function(){e._reactRootContainer=null,e[Qt]=null})}),!0):!1},dt.unstable_batchedUpdates=Nl,dt.unstable_renderSubtreeIntoContainer=function(e,t,i,a){if(!uo(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return co(e,t,i,!1,a)},dt.version="18.3.1-next-f1338f8080-20240426",dt}var kh;function f0(){if(kh)return zl.exports;kh=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(r){console.error(r)}}return n(),zl.exports=d0(),zl.exports}var Ch;function h0(){if(Ch)return ho;Ch=1;var n=f0();return ho.createRoot=n.createRoot,ho.hydrateRoot=n.hydrateRoot,ho}var p0=h0();const m0=Fr(p0);var Ou=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,im=/^[\\/]{2}/;function g0(n,r){return r+n.replace(/\\/g,"/")}var Ph="popstate";function Rh(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function y0(n={}){function r(o,l){let c=l.state?.masked,{pathname:d,search:h,hash:p}=c||o.location;return hu("",{pathname:d,search:h,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default",c?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function s(o,l){return typeof l=="string"?l:zi(l)}return x0(r,s,null,n)}function Ne(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function qt(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function v0(){return Math.random().toString(36).substring(2,10)}function jh(n,r){return{usr:n.state,key:n.key,idx:r,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function hu(n,r,s=null,o,l){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?br(r):r,state:s,key:r&&r.key||o||v0(),mask:l}}function zi({pathname:n="/",search:r="",hash:s=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function br(n){let r={};if(n){let s=n.indexOf("#");s>=0&&(r.hash=n.substring(s),n=n.substring(0,s));let o=n.indexOf("?");o>=0&&(r.search=n.substring(o),n=n.substring(0,o)),n&&(r.pathname=n)}return r}function x0(n,r,s,o={}){let{window:l=document.defaultView,v5Compat:c=!1}=o,d=l.history,h="POP",p=null,m=g();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function g(){return(d.state||{idx:null}).idx}function v(){h="POP";let C=g(),D=C==null?null:C-m;m=C,p&&p({action:h,location:j.location,delta:D})}function w(C,D){h="PUSH";let _=Rh(C)?C:hu(j.location,C,D);m=g()+1;let I=jh(_,m),H=j.createHref(_.mask||_);try{d.pushState(I,"",H)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;l.location.assign(H)}c&&p&&p({action:h,location:j.location,delta:1})}function E(C,D){h="REPLACE";let _=Rh(C)?C:hu(j.location,C,D);m=g();let I=jh(_,m),H=j.createHref(_.mask||_);d.replaceState(I,"",H),c&&p&&p({action:h,location:j.location,delta:0})}function L(C){return w0(l,C)}let j={get action(){return h},get location(){return n(l,d)},listen(C){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(Ph,v),p=C,()=>{l.removeEventListener(Ph,v),p=null}},createHref(C){return r(l,C)},createURL:L,encodeLocation(C){let D=L(C);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:w,replace:E,go(C){return d.go(C)}};return j}function w0(n,r,s=!1){let o="http://localhost";n&&(o=n.location.origin!=="null"?n.location.origin:n.location.href),Ne(o,"No window.location.(origin|href) available to create URL");let l=typeof r=="string"?r:zi(r);return l=l.replace(/ $/,"%20"),!s&&im.test(l)&&(l=o+l),new URL(l,o)}function sm(n,r,s="/"){return S0(n,r,s,!1)}function S0(n,r,s,o,l){let c=typeof r=="string"?br(r):r,d=un(c.pathname||"/",s);if(d==null)return null;let h=T0(n),p=null,m=D0(d);for(let g=0;p==null&&g<h.length;++g)p=M0(h[g],m,o);return p}function T0(n){let r=om(n);return E0(r),r}function om(n,r=[],s=[],o="",l=!1){let c=(d,h,p=l,m)=>{let g={relativePath:m===void 0?d.path||"":m,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(o)&&p)return;Ne(g.relativePath.startsWith(o),`Absolute route path "${g.relativePath}" nested under path "${o}
8" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(o.length)}let v=Ft([o,g.relativePath]),w=s.concat(g);d.children&&d.children.length>0&&(Ne(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),om(d.children,r,w,v,p)),!(d.path==null&&!d.index)&&r.push({path:v,score:A0(v,d.index),routesMeta:w.map((E,L)=>{let[j,C]=um(E.relativePath,E.caseSensitive,L===w.length-1);return{...E,matcher:j,compiledParams:C}})})};return n.forEach((d,h)=>{if(d.path===""||!d.path?.includes("?"))c(d,h);else for(let p of am(d.path))c(d,h,!0,p)}),r}function am(n){let r=n.split("/");if(r.length===0)return[];let[s,...o]=r,l=s.endsWith("?"),c=s.replace(/\?$/,"");if(o.length===0)return l?[c,""]:[c];let d=am(o.join("/")),h=[];return h.push(...d.map(p=>p===""?c:[c,p].join("/"))),l&&h.push(...d),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function E0(n){n.sort((r,s)=>r.score!==s.score?s.score-r.score:L0(r.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}var k0=/^:[\w-]+$/,C0=3,P0=2,R0=1,j0=10,N0=-2,Nh=n=>n==="*";function A0(n,r){let s=n.split("/"),o=s.length;return s.some(Nh)&&(o+=N0),r&&(o+=P0),s.filter(l=>!Nh(l)).reduce((l,c)=>l+(k0.test(c)?C0:c===""?R0:j0),o)}function L0(n,r){return n.length===r.length&&n.slice(0,-1).every((o,l)=>o===r[l])?n[n.length-1]-r[r.length-1]:0}function M0(n,r,s=!1){let{routesMeta:o}=n,l={},c="/",d=[];for(let h=0;h<o.length;++h){let p=o[h],m=h===o.length-1,g=c==="/"?r:r.slice(c.length)||"/",v={path:p.relativePath,caseSensitive:p.caseSensitive,end:m},w=p.matcher&&p.compiledParams?lm(v,g,p.matcher,p.compiledParams):ko(v,g),E=p.route;if(!w&&m&&s&&!o[o.length-1].route.index&&(w=ko({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!w)return null;
8Object.assign(l,w.params),d.push({params:l,pathname:Ft([c,w.pathname]),pathnameBase:I0(Ft([c,w.pathnameBase])),route:E}),w.pathnameBase!=="/"&&(c=Ft([c,w.pathnameBase]))}return d}function ko(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,o]=um(n.path,n.caseSensitive,n.end);return lm(n,r,s,o)}function lm(n,r,s,o){let l=r.match(s);if(!l)return null;let c=l[0],d=c.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:o.reduce((m,{paramName:g,isOptional:v},w)=>{if(g==="*"){let L=h[w]||"";d=c.slice(0,c.length-L.length).replace(/(.)\/+$/,"$1")}const E=h[w];return v&&!E?m[g]=void 0:m[g]=(E||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:d,pattern:n}}function um(n,r=!1,s=!0){qt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let o=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,p,m,g)=>{if(o.push({paramName:h,isOptional:p!=null}),p){let v=g.charAt(m+d.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(o.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),o]}function D0(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return qt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function un(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let s=r.endsWith("/")?r.length-1:r.length,o=n.charAt(s);return o&&o!=="/"?null:n.slice(s)||"/"}function _0(n,r="/"){let{pathname:s,search:o="",hash:l=""}=typeof n=="string"?br(n):n,c;return s?(s=dm(s),s.startsWith("/")?c=Ah(s.substring(1),"/"):c=Ah(s,r)):c=r,{pathname:c,search:V0(o),hash:F0(l)}}function Ah(n,r){let s=Co(r).split("/");return n.split("/").forEach(l=>{l===".."?s.length>1&&s.pop():l!=="."&&s.push(l)}),s.length>1?s.join("/"):"/"}function Wl(n,r,s,o){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function O0(n){return n.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function cm(n){let r=O0(n);return r.map((s,o)=>o===r.length-1?s.pathname:s.pathnameBase)}function Iu(n,r,s,o=!1){let l;typeof n=="string"?l=br(n):(l={...n},Ne(!l.pathname||!l.pathname.includes("?"),Wl("?","pathname","search",l)),Ne(!l.pathname||!l.pathname.includes("#"),Wl("#","pathname","hash",l)),Ne(!l.search||!l.search.includes("#"),Wl("#","search","hash",l)));let c=n===""||l.pathname==="",d=c?"/":l.pathname,h;if(d==null)h=s;else{let v=r.length-1;if(!o&&d.startsWith("..")){let w=d.split("/");for(;w[0]==="..";)w.shift(),v-=1;l.pathname=w.join("/")}h=v>=0?r[v]:"/"}let p=_0(l,h),m=d&&d!=="/"&&d.endsWith("/"),g=(c||d===".")&&s.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}var dm=n=>n.replace(/[\\/]{2,}/g,"/"),Ft=n=>dm(n.join("/")),Co=n=>n.replace(/\/+$/,""),I0=n=>Co(n).replace(/^\/*/,"/"),V0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,F0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,b0=class{constructor(n,r,s,o=!1){this.status=n,this.statusText=r||"",this.internal=o,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function B0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function z0(n){let r=n.map(s=>s.route.path).filter(Boolean);return Ft(r)||"/"}var fm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hm(n,r){let s=n;if(typeof s!="string"||!Ou.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let o=s,l=!1;if(fm)try{let c=new URL(window.location.href),d=im.test(s)?new URL(g0(s,c.protocol)):new URL(s),h=un(d.pathname,r);d.origin===c.origin&&h!=null?s=h+d.search+d.hash:l=!0}catch{qt(!1,`<Link to="${s}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:l,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var pm=["POST","PUT","PATCH","DELETE"];new Set(pm);var U0=["GET",...pm];new Set(U0);var $0=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function W0(n){try{return $0.includes(new URL(n).protocol)}catch{return!1}}var Br=P.createContext(null);Br.displayName="DataRouter";var Fo=P.createContext(null);Fo.displayName="DataRouterState";var mm=P.createContext(!1);function H0(){return P.useContext(mm)}var gm=P.createContext({isTransitioning:!1});gm.displayName="ViewTransition";var K0=P.createContext(new Map);K0.displayName="Fetchers";var G0=P.createContext(null);G0.displayName="Await";var jt=P.createContext(null);jt.displayName="Navigation";var Yi=P.createContext(null);Yi.displayName="Location";var dn=P.createContext({outlet:null,matches:[],isDataRoute:!1});dn.displayName="Route";var Vu=P.createContext(null);Vu.displayName="RouteError";var ym="REACT_ROUTER_ERROR",q0="REDIRECT",Y0="ROUTE_ERROR_RESPONSE";function Q0(n){if(n.startsWith(`${ym}:${q0}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function X0(n){if(n.startsWith(`${ym}:${Y0}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new b0(r.status,r.statusText,r.data)}catch{}}function Z0(n,{relative:r}={}){Ne(Qi(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:o}=P.useContext(jt),{hash:l,pathname:c,search:d}=Xi(n,{relative:r}),h=c;return s!=="/"&&(h=c==="/"?s:Ft([s,c])),o.createHref({pathname:h,search:d,hash:l})}function Qi(){return P.useContext(Yi)!=null}function Yt(){return Ne(Qi(),"useLocation() may be used only in the context of a <Router> component."),P.useContext(Yi).location}var vm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xm(n){P.useContext(jt).static||P.useLayoutEffect(n)}function J0(){let{isDataRoute:n}=P.useContext(dn);return n?fx():ex()}function ex(){Ne(Qi(),"useNavigate() may be used only in the context of a <Router> component.");let n=P.useContext(Br),{basename:r,navigator:s}=P.useContext(jt),{matches:o}=P.useContext(dn),{pathname:l}=Yt(),c=JSON.stringify(cm(o)),d=P.useRef(!1);return xm(()=>{d.current=!0}),P.useCallback((p,m={})=>{if(qt(d.current,vm),!d.current)return;if(typeof p=="number"){s.go(p);return}let g=Iu(p,JSON.parse(c),l,m.relative==="path");n==null&&r!=="/"&&(g.pathname=g.pathname==="/"?r:Ft([r,g.pathname])),(m.replace?s.replace:s.push)(g,m.state,m)},[r,s,c,l,n])}P.createContext(null);function Xi(n,{relative:r}={}){let{matches:s}=P.useContext(dn),{pathname:o}=Yt(),l=JSON.stringify(cm(s));return P.useMemo(()=>Iu(n,JSON.parse(l),o,r==="path"),[n,l,o,r])}function tx(n,r){return wm(n,r)}function wm(n,r,s){Ne(Qi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=P.useContext(jt),{matches:l}=P.useContext(dn),c=l[l.length-1],d=c?c.params:{},h=c?c.pathname:"/",p=c?c.pathnameBase:"/",m=c&&c.route;{let C=m&&m.path||"";Tm(h,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 9 10Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let g=Yt(),v;if(r){let C=typeof r=="string"?br(r):r;Ne(p==="/"||C.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${C.pathname}" was given in the \`location\` prop.`),v=C}else v=g;let w=v.pathname||"/",E=w;if(p!=="/"){let C=p.replace(/^\//,"").split("/");E="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let L=s&&s.state.matches.length?s.state.matches.map(C=>Object.assign(C,{route:s.manifest[C.route.id]||C.route})):sm(n,{pathname:E});qt(m||L!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),qt(L==null||L[L.length-1].route.element!==void 0||L[L.length-1].route.Component!==void 0||L[L.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let j=ox(L&&L.map(C=>Object.assign({},C,{params:Object.assign({},d,C.params),pathname:Ft([p,o.encodeLocation?o.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?p:Ft([p,o.encodeLocation?o.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),l,s);
10return r&&j?P.createElement(Yi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},j):j}function nx(){let n=dx(),r=B0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=P.createElement(P.Fragment,null,P.createElement("p",null,"ð¿ Hey developer ð"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:c},"ErrorBoundary")," or"," ",P.createElement("code",{style:c},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},r),s?P.createElement("pre",{style:l},s):null,d)}var rx=P.createElement(nx,null),Sm=class extends P.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const s=X0(n.digest);s&&(n=s)}let r=n!==void 0?P.createElement(dn.Provider,{value:this.props.routeContext},P.createElement(Vu.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?P.createElement(ix,{error:n},r):r}};Sm.contextType=mm;var Hl=new WeakMap;function ix({children:n,error:r}){let{basename:s}=P.useContext(jt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let o=Q0(r.digest);if(o){let l=Hl.get(r);if(l)throw l;let c=hm(o.location,s),d=c.absoluteURL||c.to;if(W0(d))throw new Error("Invalid redirect location");if(fm&&!Hl.get(r))if(c.isExternal||o.reloadDocument)window.location.href=d;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:o.replace}));throw Hl.set(r,h),h}return P.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d}`})}}return n}function sx({routeContext:n,match:r,children:s}){let o=P.useContext(Br);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),P.createElement(dn.Provider,{value:n},s)}function ox(n,r=[],s){let o=s?.state;if(n==null){if(!o)return null;if(o.errors)n=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)n=o.matches;else return null}
10let l=n,c=o?.errors;if(c!=null){let g=l.findIndex(v=>v.route.id&&c?.[v.route.id]!==void 0);Ne(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,g+1))}let d=!1,h=-1;if(s&&o){d=o.renderFallback;for(let g=0;g<l.length;g++){let v=l[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=g),v.route.id){let{loaderData:w,errors:E}=o,L=v.route.loader&&!w.hasOwnProperty(v.route.id)&&(!E||E[v.route.id]===void 0);if(v.route.lazy||L){s.isStatic&&(d=!0),h>=0?l=l.slice(0,h+1):l=[l[0]];break}}}}let p=s?.onError,m=o&&p?(g,v)=>{p(g,{location:o.location,params:o.matches?.[0]?.params??{},pattern:z0(o.matches),errorInfo:v})}:void 0;return l.reduceRight((g,v,w)=>{let E,L=!1,j=null,C=null;o&&(E=c&&v.route.id?c[v.route.id]:void 0,j=v.route.errorElement||rx,d&&(h<0&&w===0?(Tm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,C=null):h===w&&(L=!0,C=v.route.hydrateFallbackElement||null)));let D=r.concat(l.slice(0,w+1)),_=()=>{let I;return E?I=j:L?I=C:v.route.Component?I=P.createElement(v.route.Component,null):v.route.element?I=v.route.element:I=g,P.createElement(sx,{match:v,routeContext:{outlet:g,matches:D,isDataRoute:o!=null},children:I})};return o&&(v.route.ErrorBoundary||v.route.errorElement||w===0)?P.createElement(Sm,{location:o.location,revalidation:o.revalidation,component:j,error:E,children:_(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:m}):_()},null)}function Fu(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ax(n){let r=P.useContext(Br);return Ne(r,Fu(n)),r}function lx(n){let r=P.useContext(Fo);return Ne(r,Fu(n)),r}function ux(n){let r=P.useContext(dn);return Ne(r,Fu(n)),r}function bu(n){let r=ux(n),s=r.matches[r.matches.length-1];return Ne(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function cx(){return bu("useRouteId")}function dx(){let n=P.useContext(Vu),r=lx("useRouteError"),s=bu("useRouteError");return n!==void 0?n:r.errors?.[s]}function fx(){let{router:n}=ax("useNavigate"),r=bu("useNavigate"),s=P.useRef(!1);return xm(()=>{s.current=!0}),P.useCallback(async(l,c={})=>{qt(s.current,vm),s.current&&(typeof l=="number"?await n.navigate(l):await n.navigate(l,{fromRouteId:r,...c}))},[n,r])}var Lh={};function Tm(n,r,s){!r&&!Lh[n]&&(Lh[n]=!0,qt(!1,s))}P.memo(hx);function hx({routes:n,manifest:r,future:s,state:o,isStatic:l,onError:c}){return wm(n,void 0,{manifest:r,state:o,isStatic:l,onError:c})}function pu(n){Ne(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function px({basename:n="/",children:r=null,location:s,navigationType:o="POP",navigator:l,static:c=!1,useTransitions:d}){Ne(!Qi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=P.useMemo(()=>({basename:h,navigator:l,static:c,useTransitions:d,future:{}}),[h,l,c,d]);typeof s=="string"&&(s=br(s));let{pathname:m="/",search:g="",hash:v="",state:w=null,key:E="default",mask:L}=s,j=P.useMemo(()=>{let C=un(m,h);return C==null?null:{location:{pathname:C,search:g,hash:v,state:w,key:E,mask:L},navigationType:o}},[h,m,g,v,w,E,o,L]);
10return qt(j!=null,`<Router basename="${h}"> is not able to match the URL "${m}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:P.createElement(jt.Provider,{value:p},P.createElement(Yi.Provider,{children:r,value:j}))}function mx({children:n,location:r}){return tx(mu(n),r)}function mu(n,r=[]){let s=[];return P.Children.forEach(n,(o,l)=>{if(!P.isValidElement(o))return;let c=[...r,l];if(o.type===P.Fragment){s.push.apply(s,mu(o.props.children,c));return}Ne(o.type===pu,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ne(!o.props.index||!o.props.children,"An index route cannot have child routes.");let d={id:o.props.id||c.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(d.children=mu(o.props.children,c)),s.push(d)}),s}var xo="get",wo="application/x-www-form-urlencoded";function bo(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function gx(n){return bo(n)&&n.tagName.toLowerCase()==="button"}function yx(n){return bo(n)&&n.tagName.toLowerCase()==="form"}function vx(n){return bo(n)&&n.tagName.toLowerCase()==="input"}function xx(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function wx(n,r){return n.button===0&&(!r||r==="_self")&&!xx(n)}var po=null;function Sx(){if(po===null)try{new FormData(document.createElement("form"),0),po=!1}catch{po=!0}return po}var Tx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Kl(n){return n!=null&&!Tx.has(n)?(qt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wo}"`),null):n}function Ex(n,r){let s,o,l,c,d;if(yx(n)){let h=n.getAttribute("action");o=h?un(h,r):null,s=n.getAttribute("method")||xo,l=Kl(n.getAttribute("enctype"))||wo,c=new FormData(n)}else if(gx(n)||vx(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||h.getAttribute("action");if(o=p?un(p,r):null,s=n.getAttribute("formmethod")||h.getAttribute("method")||xo,l=Kl(n.getAttribute("formenctype"))||Kl(h.getAttribute("enctype"))||wo,c=new FormData(h,n),!Sx()){let{name:m,type:g,value:v}=n;if(g==="image"){let w=m?`${m}.`:"";c.append(`${w}x`,"0"),c.append(`${w}y`,"0")}else m&&c.append(m,v)}}else{if(bo(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=xo,o=null,l=wo,d=n}return c&&l==="text/plain"&&(d=c,c=void 0),{action:o,method:s.toLowerCase(),encType:l,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Bu(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Em(n,r,s,o){let l=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return s?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${o}`:l.pathname=`${l.pathname}.${o}`:l.pathname==="/"?l.pathname=`_root.${o}`:r&&un(l.pathname,r)==="/"?l.pathname=`${Co(r)}/_root.${o}`:l.pathname=`${Co(l.pathname)}.${o}`,l}async function kx(n,r){if(n.id in r)return r[n.id];try{let s=await import(n.module);return r[n.id]=s,s}catch(s){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Cx(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function Px(n,r,s){let o=await Promise.all(n.map(async l=>{let c=r.routes[l.route.id];if(c){let d=await kx(c,s);return d.links?d.links():[]}return[]}));return Ax(o.flat(1).filter(Cx).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function Mh(n,r,s,o,l,c){let d=(p,m)=>s[m]?p.route.id!==s[m].route.id:!0,h=(p,m)=>s[m].pathname!==p.pathname||s[m].route.path?.endsWith("*")&&s[m].params["*"]!==p.params["*"];return c==="assets"?r.filter((p,m)=>d(p,m)||h(p,m)):c==="data"?r.filter((p,m)=>{let g=o.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(d(p,m)||h(p,m))return!0;
10if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function Rx(n,r,{includeHydrateFallback:s}={}){return jx(n.map(o=>{let l=r.routes[o.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),s&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function jx(n){return[...new Set(n)]}function Nx(n){let r={},s=Object.keys(n).sort();for(let o of s)r[o]=n[o];return r}function Ax(n,r){let s=new Set;return new Set(r),n.reduce((o,l)=>{let c=JSON.stringify(Nx(l));return s.has(c)||(s.add(c),o.push({key:c,link:l})),o},[])}function zu(){let n=P.useContext(Br);return Bu(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Lx(){let n=P.useContext(Fo);return Bu(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Uu=P.createContext(void 0);Uu.displayName="FrameworkContext";function Bo(){let n=P.useContext(Uu);return Bu(n,"You must render this element inside a <HydratedRouter> element"),n}function Mx(n,r){let s=P.useContext(Uu),[o,l]=P.useState(!1),[c,d]=P.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:m,onMouseLeave:g,onTouchStart:v}=r,w=P.useRef(null);P.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let j=D=>{D.forEach(_=>{d(_.isIntersecting)})},C=new IntersectionObserver(j,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[n]),P.useEffect(()=>{if(o){let j=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(j)}}},[o]);let E=()=>{l(!0)},L=()=>{l(!1),d(!1)};return s?n!=="intent"?[c,w,{}]:[c,w,{onFocus:Ni(h,E),onBlur:Ni(p,L),onMouseEnter:Ni(m,E),onMouseLeave:Ni(g,L),onTouchStart:Ni(v,E)}]:[!1,w,{}]}function Ni(n,r){return s=>{n&&n(s),s.defaultPrevented||r(s)}}function Dx({page:n,...r}){let s=H0(),{nonce:o}=Bo(),{router:l}=zu(),c=P.useMemo(()=>sm(l.routes,n,l.basename),[l.routes,n,l.basename]);return c?(r.nonce==null&&o&&(r={...r,nonce:o}),s?P.createElement(Ox,{page:n,matches:c,...r}):P.createElement(Ix,{page:n,matches:c,...r})):null}function _x(n){let{manifest:r,routeModules:s}=Bo(),[o,l]=P.useState([]);return P.useEffect(()=>{let c=!1;return Px(n,r,s).then(d=>{c||l(d)}),()=>{c=!0}},[n,r,s]),o}function Ox({page:n,matches:r,...s}){let o=Yt(),{future:l}=Bo(),{basename:c}=zu(),d=P.useMemo(()=>{if(n===o.pathname+o.search+o.hash)return[];let h=Em(n,c,l.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,m=[];for(let g of r)typeof g.route.shouldRevalidate=="function"?p=!0:m.push(g.route.id);return p&&m.length>0&&h.searchParams.set("_routes",m.join(",")),[h.pathname+h.search]},[c,l.v8_trailingSlashAwareDataRequests,n,o,r]);return P.createElement(P.Fragment,null,d.map(h=>P.createElement("link",{key:h,rel:"prefetch",as:"fetch",href:h,...s})))}function Ix({page:n,matches:r,...s}){let o=Yt(),{future:l,manifest:c,routeModules:d}=Bo(),{basename:h}=zu(),{loaderData:p,matches:m}=Lx(),g=P.useMemo(()=>Mh(n,r,m,c,o,"data"),[n,r,m,c,o]),v=P.useMemo(()=>Mh(n,r,m,c,o,"assets"),[n,r,m,c,o]),w=P.useMemo(()=>{if(n===o.pathname+o.search+o.hash)return[];let j=new Set,C=!1;if(r.forEach(_=>{let I=c.routes[_.route.id];!I||!I.hasLoader||(!g.some(H=>H.route.id===_.route.id)&&_.route.id in p&&d[_.route.id]?.shouldRevalidate||I.hasClientLoader?C=!0:j.add(_.route.id))}),j.size===0)return[];let D=Em(n,h,l.v8_trailingSlashAwareDataRequests,"data");return C&&j.size>0&&D.searchParams.set("_routes",r.filter(_=>j.has(_.route.id)).map(_=>_.route.id).join(",")),[D.pathname+D.search]},[h,l.v8_trailingSlashAwareDataRequests,p,o,c,g,r,n,d]),E=P.useMemo(()=>Rx(v,c),[v,c]),L=_x(v);return P.createElement(P.Fragment,null,w.map(j=>P.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...s})),E.map(j=>P.createElement("link",{key:j,rel:"modulepreload",href:j,...s})),L.map(({key:j,link:C})=>P.createElement("link",{key:j,nonce:s.nonce,...C,crossOrigin:C.crossOrigin??s.crossOrigin})))}function Vx(...n){return r=>
10{n.forEach(s=>{typeof s=="function"?s(r):s!=null&&(s.current=r)})}}var Fx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Fx&&(window.__reactRouterVersion="7.18.2")}catch{}function bx({basename:n,children:r,useTransitions:s,window:o}){let l=P.useRef();l.current==null&&(l.current=y0({window:o,v5Compat:!0}));let c=l.current,[d,h]=P.useState({action:c.action,location:c.location}),p=P.useCallback(m=>{s===!1?h(m):P.startTransition(()=>h(m))},[s]);return P.useLayoutEffect(()=>c.listen(p),[c,p]),P.createElement(px,{basename:n,children:r,location:d.location,navigationType:d.action,navigator:c,useTransitions:s})}var on=P.forwardRef(function({onClick:r,discover:s="render",prefetch:o="none",relative:l,reloadDocument:c,replace:d,mask:h,state:p,target:m,to:g,preventScrollReset:v,viewTransition:w,defaultShouldRevalidate:E,...L},j){let{basename:C,navigator:D,useTransitions:_}=P.useContext(jt),I=typeof g=="string"&&Ou.test(g),H=hm(g,C);g=H.to;let U=Z0(g,{relative:l}),ee=Yt(),ie=null;if(h){let Oe=Iu(h,[],ee.mask?ee.mask.pathname:"/",!0);C!=="/"&&(Oe.pathname=Oe.pathname==="/"?C:Ft([C,Oe.pathname])),ie=D.createHref(Oe)}let[Q,he,ge]=Mx(o,L),qe=$x(g,{replace:d,mask:h,state:p,target:m,preventScrollReset:v,relative:l,viewTransition:w,defaultShouldRevalidate:E,useTransitions:_});function nt(Oe){r&&r(Oe),Oe.defaultPrevented||qe(Oe)}let Be=!(H.isExternal||c),We=P.createElement("a",{...L,...ge,href:(Be?ie:void 0)||H.absoluteURL||U,onClick:Be?nt:r,ref:Vx(j,he),target:m,"data-discover":!I&&s==="render"?"true":void 0});return Q&&!I?P.createElement(P.Fragment,null,We,P.createElement(Dx,{page:U})):We});on.displayName="Link";var Bx=P.forwardRef(function({"aria-current":r="page",caseSensitive:s=!1,className:o="",end:l=!1,style:c,to:d,viewTransition:h,children:p,...m},g){let v=Xi(d,{relative:m.relative}),w=Yt(),E=P.useContext(Fo),{navigator:L,basename:j}=P.useContext(jt),C=E!=null&&qx(v)&&h===!0,D=L.encodeLocation?L.encodeLocation(v).pathname:v.pathname,_=w.pathname,I=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;s||(_=_.toLowerCase(),I=I?I.toLowerCase():null,D=D.toLowerCase()),I&&j&&(I=un(I,j)||I);const H=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let U=_===D||!l&&_.startsWith(D)&&_.charAt(H)==="/",ee=I!=null&&(I===D||!l&&I.startsWith(D)&&I.charAt(D.length)==="/"),ie={isActive:U,isPending:ee,isTransitioning:C},Q=U?r:void 0,he;typeof o=="function"?he=o(ie):he=[o,U?"active":null,ee?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let ge=typeof c=="function"?c(ie):c;return P.createElement(on,{...m,"aria-current":Q,className:he,ref:g,style:ge,to:d,viewTransition:h},typeof p=="function"?p(ie):p)});Bx.displayName="NavLink";var zx=P.forwardRef(({discover:n="render",fetcherKey:r,navigate:s,reloadDocument:o,replace:l,state:c,method:d=xo,action:h,onSubmit:p,relative:m,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:w,...E},L)=>{let{useTransitions:j}=P.useContext(jt),C=Kx(),D=Gx(h,{relative:m}),_=d.toLowerCase()==="get"?"get":"post",I=typeof h=="string"&&Ou.test(h),H=U=>{if(p&&p(U),U.defaultPrevented)return;U.preventDefault();let ee=U.nativeEvent.submitter,ie=ee?.getAttribute("formmethod")||d,Q=()=>C(ee||U.currentTarget,{fetcherKey:r,method:ie,navigate:s,replace:l,state:c,relative:m,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:w});j&&s!==!1?P.startTransition(()=>Q()):Q()};return P.createElement("form",{ref:L,method:_,action:D,onSubmit:o?p:H,...E,"data-discover":!I&&n==="render"?"true":void 0})});zx.displayName="Form";function Ux(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function km(n){let r=P.useContext(Br);return Ne(r,Ux(n)),r}function $x(n,{target:r,replace:s,mask:o,state:l,preventScrollReset:c,relative:d,viewTransition:h,defaultShouldRevalidate:p,useTransitions:m}={}){let g=J0(),v=Yt(),w=Xi(n,{relative:d});return P.useCallback(E=>{if(wx(E,r)){E.preventDefault();let L=s!==void 0?s:zi(v)===zi(w),j=()=>g(n,{replace:L,mask:o,state:l,preventScrollReset:c,relative:d,viewTransition:h,defaultShouldRevalidate:p});m?P.startTransition(()=>j()):j()}},[v,g,w,s,o,l,r,n,c,d,h,p,m])}var Wx=0,Hx=()=>`__${String(++Wx)}__`;function Kx(){let{router:n}=km("useSubmit"),{basename:r}=P.useContext(jt),s=cx(),o=n.fetch,l=n.navigate;return P.useCallback(async(c,d={})=>{let{action:h,method:p,encType:m,formData:g,body:v}=Ex(c,r);if(d.navigate===!1){let w=d.fetcherKey||Hx();await o(w,s,d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||m,flushSync:d.flushSync})}else await l(d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||m,replace:d.replace,state:d.state,fromRouteId:s,flushSync:d.flushSync,viewTransition:d.viewTransition})},[o,l,r,s])}function Gx(n,{relative:r}={}){let{basename:s}=P.useContext(jt),o=P.useContext(dn);Ne(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),c={...Xi(n||".",{relative:r})},d=Yt();if(n==null){c.search=d.search;let h=new URLSearchParams(c.search),p=h.getAll("index");if(p.some(g=>g==="")){h.delete("index"),p.filter(v=>v).forEach(v=>h.append("index",v));let g=h.toString();c.search=g?`?${g}`:""}}return(!n||n===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(c.pathname=c.pathname==="/"?s:Ft([s,c.pathname])),zi(c)}function qx(n,{relative:r}={}){let s=P.useContext(gm);Ne(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=km("useViewTransitionState"),l=Xi(n,{relative:r});if(!s.isTransitioning)return!1;let c=un(s.currentLocation.pathname,o)||s.currentLocation.pathname,d=un(s.nextLocation.pathname,o)||s.nextLocation.pathname;return ko(l.pathname,d)!=null||ko(l.pathname,c)!=null}const Yx=()=>{const{pathname:n,hash:r}=Yt();return P.useLayoutEffect(()=>{if(r){const s=document.getElementById(r.slice(1));if(s){s.scrollIntoView({behavior:"smooth",block:"start"});return}}window.scrollTo({top:0,left:0,behavior:"instant"})},[n,r]),null};var Gl={exports:{}},ql,Dh;function Qx(){if(Dh)return ql;Dh=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ql=n,ql}var Yl,_h;
10function Xx(){if(_h)return Yl;_h=1;var n=Qx();function r(){}function s(){}return s.resetWarningCache=r,Yl=function(){function o(d,h,p,m,g,v){if(v!==n){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}o.isRequired=o;function l(){return o}var c={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:s,resetWarningCache:r};return c.PropTypes=c,c},Yl}var Oh;function Zx(){return Oh||(Oh=1,Gl.exports=Xx()()),Gl.exports}var Jx=Zx();const ke=Fr(Jx);var Ql,Ih;function e1(){if(Ih)return Ql;Ih=1;function n(h){return h&&typeof h=="object"&&"default"in h?h.default:h}var r=Vo(),s=n(r);function o(h,p,m){return p in h?Object.defineProperty(h,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):h[p]=m,h}function l(h,p){h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.__proto__=p}var c=!!(typeof window<"u"&&window.document&&window.document.createElement);function d(h,p,m){if(typeof h!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof p!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof m<"u"&&typeof m!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function g(v){return v.displayName||v.name||"Component"}return function(w){if(typeof w!="function")throw new Error("Expected WrappedComponent to be a React component.");var E=[],L;function j(){L=h(E.map(function(D){return D.props})),C.canUseDOM?p(L):m&&(L=m(L))}var C=(function(D){l(_,D);function _(){return D.apply(this,arguments)||this}_.peek=function(){return L},_.rewind=function(){if(_.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var U=L;return L=void 0,E=[],U};var I=_.prototype;return I.UNSAFE_componentWillMount=function(){E.push(this),j()},I.componentDidUpdate=function(){j()},I.componentWillUnmount=function(){var U=E.indexOf(this);E.splice(U,1),j()},I.render=function(){return s.createElement(w,this.props)},_})(r.PureComponent);return o(C,"displayName","SideEffect("+g(w)+")"),o(C,"canUseDOM",c),C}}return Ql=d,Ql}var t1=e1();const n1=Fr(t1);var Xl,Vh;function r1(){if(Vh)return Xl;Vh=1;var n=typeof Element<"u",r=typeof Map=="function",s=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var h,p,m;if(Array.isArray(c)){if(h=c.length,h!=d.length)return!1;for(p=h;p--!==0;)if(!l(c[p],d[p]))return!1;return!0}var g;if(r&&c instanceof Map&&d instanceof Map){if(c.size!==d.size)return!1;for(g=c.entries();!(p=g.next()).done;)if(!d.has(p.value[0]))return!1;for(g=c.entries();!(p=g.next()).done;)if(!l(p.value[1],d.get(p.value[0])))return!1;return!0}if(s&&c instanceof Set&&d instanceof Set){if(c.size!==d.size)return!1;for(g=c.entries();!(p=g.next()).done;)if(!d.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(d)){if(h=c.length,h!=d.length)return!1;for(p=h;p--!==0;)if(c[p]!==d[p])return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof d.valueOf=="function")return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof d.toString=="function")return c.toString()===d.toString();if(m=Object.keys(c),h=m.length,h!==Object.keys(d).length)return!1;for(p=h;p--!==0;)if(!Object.prototype.hasOwnProperty.call(d,m[p]))return!1;if(n&&c instanceof Element)return!1;for(p=h;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&c.$$typeof)&&!l(c[m[p]],d[m[p]]))return!1;return!0}return c!==c&&d!==d}return Xl=function(d,h){try{return l(d,h)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},Xl}var i1=r1();const s1=Fr(i1);var Zl,Fh;function o1(){if(Fh)return Zl;
10Fh=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var d={},h=0;h<10;h++)d["_"+String.fromCharCode(h)]=h;var p=Object.getOwnPropertyNames(d).map(function(g){return d[g]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(g){m[g]=g}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Zl=l()?Object.assign:function(c,d){for(var h,p=o(c),m,g=1;g<arguments.length;g++){h=Object(arguments[g]);for(var v in h)r.call(h,v)&&(p[v]=h[v]);if(n){m=n(h);for(var w=0;w<m.length;w++)s.call(h,m[w])&&(p[m[w]]=h[m[w]])}}return p},Zl}var a1=o1();const l1=Fr(a1);var er={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},re={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(re).map(function(n){return re[n]});var Ce={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Po={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Ui={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},u1=Object.keys(Po).reduce(function(n,r){return n[Po[r]]=r,n},{}),c1=[re.NOSCRIPT,re.SCRIPT,re.STYLE],Vt="data-react-helmet",d1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f1=function(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")},h1=(function(){function n(r,s){for(var o=0;o<s.length;o++){var l=s[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,s,o){return s&&n(r.prototype,s),o&&n(r,o),r}}
10)(),ft=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n[o]=s[o])}return n},p1=function(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)},bh=function(n,r){var s={};for(var o in n)r.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(n,o)&&(s[o]=n[o]);return s},m1=function(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n},gu=function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s===!1?String(r):String(r).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},g1=function(r){var s=_r(r,re.TITLE),o=_r(r,Ui.TITLE_TEMPLATE);if(o&&s)return o.replace(/%s/g,function(){return Array.isArray(s)?s.join(""):s});var l=_r(r,Ui.DEFAULT_TITLE);return s||l||void 0},y1=function(r){return _r(r,Ui.ON_CHANGE_CLIENT_STATE)||function(){}},Jl=function(r,s){return s.filter(function(o){return typeof o[r]<"u"}).map(function(o){return o[r]}).reduce(function(o,l){return ft({},o,l)},{})},v1=function(r,s){return s.filter(function(o){return typeof o[re.BASE]<"u"}).map(function(o){return o[re.BASE]}).reverse().reduce(function(o,l){if(!o.length)for(var c=Object.keys(l),d=0;d<c.length;d++){var h=c[d],p=h.toLowerCase();if(r.indexOf(p)!==-1&&l[p])return o.concat(l)}return o},[])},Ai=function(r,s,o){var l={};return o.filter(function(c){return Array.isArray(c[r])?!0:(typeof c[r]<"u"&&T1("Helmet: "+r+' should be of type "Array". Instead found type "'+d1(c[r])+'"'),!1)}).map(function(c){return c[r]}).reverse().reduce(function(c,d){var h={};d.filter(function(w){for(var E=void 0,L=Object.keys(w),j=0;j<L.length;j++){var C=L[j],D=C.toLowerCase();s.indexOf(D)!==-1&&!(E===Ce.REL&&w[E].toLowerCase()==="canonical")&&!(D===Ce.REL&&w[D].toLowerCase()==="stylesheet")&&(E=D),s.indexOf(C)!==-1&&(C===Ce.INNER_HTML||C===Ce.CSS_TEXT||C===Ce.ITEM_PROP)&&(E=C)}if(!E||!w[E])return!1;var _=w[E].toLowerCase();return l[E]||(l[E]={}),h[E]||(h[E]={}),l[E][_]?!1:(h[E][_]=!0,!0)}).reverse().forEach(function(w){return c.push(w)});for(var p=Object.keys(h),m=0;m<p.length;m++){var g=p[m],v=l1({},l[g],h[g]);l[g]=v}return c},[]).reverse()},_r=function(r,s){for(var o=r.length-1;o>=0;o--){var l=r[o];if(l.hasOwnProperty(s))return l[s]}return null},x1=function(r){return{baseTag:v1([Ce.HREF,Ce.TARGET],r),bodyAttributes:Jl(er.BODY,r),defer:_r(r,Ui.DEFER),encode:_r(r,Ui.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Jl(er.HTML,r),linkTags:Ai(re.LINK,[Ce.REL,Ce.HREF],r),metaTags:Ai(re.META,[Ce.NAME,Ce.CHARSET,Ce.HTTPEQUIV,Ce.PROPERTY,Ce.ITEM_PROP],r),noscriptTags:Ai(re.NOSCRIPT,[Ce.INNER_HTML],r),onChangeClientState:y1(r),scriptTags:Ai(re.SCRIPT,[Ce.SRC,Ce.INNER_HTML],r),styleTags:Ai(re.STYLE,[Ce.CSS_TEXT],r),title:g1(r),titleAttributes:Jl(er.TITLE,r)}},yu=(function(){var n=Date.now();return function(r){var s=Date.now();s-n>16?(n=s,r(s)):setTimeout(function(){yu(r)},0)}})(),Bh=function(r){return clearTimeout(r)},w1=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||yu:global.requestAnimationFrame||yu,S1=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Bh:global.cancelAnimationFrame||Bh,T1=function(r){return console&&typeof console.warn=="function"&&console.warn(r)},Li=null,E1=function(r){Li&&S1(Li),r.defer?Li=w1(function(){zh(r,function(){Li=null})}):(zh(r),Li=null)},zh=function(r,s){var o=r.baseTag,l=r.bodyAttributes,c=r.htmlAttributes,d=r.linkTags,h=r.metaTags,p=r.noscriptTags,m=r.onChangeClientState,g=r.scriptTags,v=r.styleTags,w=r.title,E=r.titleAttributes;vu(re.BODY,l),vu(re.HTML,c),k1(w,E);var L={baseTag:jr(re.BASE,o),linkTags:jr(re.LINK,d),metaTags:jr(re.META,h),noscriptTags:jr(re.NOSCRIPT,p),scriptTags:jr(re.SCRIPT,g),styleTags:jr(re.STYLE,v)},j={},C={};
10Object.keys(L).forEach(function(D){var _=L[D],I=_.newTags,H=_.oldTags;I.length&&(j[D]=I),H.length&&(C[D]=L[D].oldTags)}),s&&s(),m(r,j,C)},Cm=function(r){return Array.isArray(r)?r.join(""):r},k1=function(r,s){typeof r<"u"&&document.title!==r&&(document.title=Cm(r)),vu(re.TITLE,s)},vu=function(r,s){var o=document.getElementsByTagName(r)[0];if(o){for(var l=o.getAttribute(Vt),c=l?l.split(","):[],d=[].concat(c),h=Object.keys(s),p=0;p<h.length;p++){var m=h[p],g=s[m]||"";o.getAttribute(m)!==g&&o.setAttribute(m,g),c.indexOf(m)===-1&&c.push(m);var v=d.indexOf(m);v!==-1&&d.splice(v,1)}for(var w=d.length-1;w>=0;w--)o.removeAttribute(d[w]);c.length===d.length?o.removeAttribute(Vt):o.getAttribute(Vt)!==h.join(",")&&o.setAttribute(Vt,h.join(","))}},jr=function(r,s){var o=document.head||document.querySelector(re.HEAD),l=o.querySelectorAll(r+"["+Vt+"]"),c=Array.prototype.slice.call(l),d=[],h=void 0;return s&&s.length&&s.forEach(function(p){var m=document.createElement(r);for(var g in p)if(p.hasOwnProperty(g))if(g===Ce.INNER_HTML)m.innerHTML=p.innerHTML;else if(g===Ce.CSS_TEXT)m.styleSheet?m.styleSheet.cssText=p.cssText:m.appendChild(document.createTextNode(p.cssText));else{var v=typeof p[g]>"u"?"":p[g];m.setAttribute(g,v)}m.setAttribute(Vt,"true"),c.some(function(w,E){return h=E,m.isEqualNode(w)})?c.splice(h,1):d.push(m)}),c.forEach(function(p){return p.parentNode.removeChild(p)}),d.forEach(function(p){return o.appendChild(p)}),{oldTags:c,newTags:d}},Pm=function(r){return Object.keys(r).reduce(function(s,o){var l=typeof r[o]<"u"?o+'="'+r[o]+'"':""+o;return s?s+" "+l:l},"")},C1=function(r,s,o,l){var c=Pm(o),d=Cm(s);return c?"<"+r+" "+Vt+'="true" '+c+">"+gu(d,l)+"</"+r+">":"<"+r+" "+Vt+'="true">'+gu(d,l)+"</"+r+">"},P1=function(r,s,o){return s.reduce(function(l,c){var d=Object.keys(c).filter(function(m){return!(m===Ce.INNER_HTML||m===Ce.CSS_TEXT)}).reduce(function(m,g){var v=typeof c[g]>"u"?g:g+'="'+gu(c[g],o)+'"';return m?m+" "+v:v},""),h=c.innerHTML||c.cssText||"",p=c1.indexOf(r)===-1;return l+"<"+r+" "+Vt+'="true" '+d+(p?"/>":">"+h+"</"+r+">")},"")},Rm=function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(o,l){return o[Po[l]||l]=r[l],o},s)},R1=function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(o,l){return o[u1[l]||l]=r[l],o},s)},j1=function(r,s,o){var l,c=(l={key:s},l[Vt]=!0,l),d=Rm(o,c);return[Ii.createElement(re.TITLE,d,s)]},N1=function(r,s){return s.map(function(o,l){var c,d=(c={key:l},c[Vt]=!0,c);return Object.keys(o).forEach(function(h){var p=Po[h]||h;if(p===Ce.INNER_HTML||p===Ce.CSS_TEXT){var m=o.innerHTML||o.cssText;d.dangerouslySetInnerHTML={__html:m}}else d[p]=o[h]}),Ii.createElement(r,d)})},sn=function(r,s,o){switch(r){case re.TITLE:return{toComponent:function(){return j1(r,s.title,s.titleAttributes)},toString:function(){return C1(r,s.title,s.titleAttributes,o)}};case er.BODY:case er.HTML:return{toComponent:function(){return Rm(s)},toString:function(){return Pm(s)}};default:return{toComponent:function(){return N1(r,s)},toString:function(){return P1(r,s,o)}}}},jm=function(r){var s=r.baseTag,o=r.bodyAttributes,l=r.encode,c=r.htmlAttributes,d=r.linkTags,h=r.metaTags,p=r.noscriptTags,m=r.scriptTags,g=r.styleTags,v=r.title,w=v===void 0?"":v,E=r.titleAttributes;return{base:sn(re.BASE,s,l),bodyAttributes:sn(er.BODY,o,l),htmlAttributes:sn(er.HTML,c,l),link:sn(re.LINK,d,l),meta:sn(re.META,h,l),noscript:sn(re.NOSCRIPT,p,l),script:sn(re.SCRIPT,m,l),style:sn(re.STYLE,g,l),title:sn(re.TITLE,{title:w,titleAttributes:E},l)}},A1=function(r){var s,o;return o=s=(function(l){p1(c,l);function c(){return f1(this,c),m1(this,l.apply(this,arguments))}return c.prototype.shouldComponentUpdate=function(h){return!s1(this.props,h)},c.prototype.mapNestedChildrenToProps=function(h,p){if(!p)return null;switch(h.type){case re.SCRIPT:case re.NOSCRIPT:return{innerHTML:p};case re.STYLE:return{cssText:p}}throw new Error("<"+h.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},c.prototype.flattenArrayTypeChildren=function(h){var p,m=h.child,g=h.arrayTypeChildren,v=h.newChildProps,w=h.nestedChildren;return ft({},g,(p={},p[m.type]=[].concat(g[m.type]||[],[ft({},v,this.mapNestedChildrenToProps(m,w))]),p))},c.prototype.mapObjectTypeChildren=function(h){var p,m,g=h.child,v=h.newProps,w=h.newChildProps,E=h.nestedChildren;switch(g.type){case re.TITLE:return ft({},v,(p={},p[g.type]=E,p.titleAttributes=ft({},w),p));case re.BODY:return ft({},v,{bodyAttributes:ft({},w)});case re.HTML:return ft({},v,{htmlAttributes:ft({},w)})}return ft({},v,(m={},m[g.type]=ft({},w),m))},c.prototype.mapArrayTypeChildrenToProps=function(h,p){var m=ft({},p);
10return Object.keys(h).forEach(function(g){var v;m=ft({},m,(v={},v[g]=h[g],v))}),m},c.prototype.warnOnInvalidChildren=function(h,p){return!0},c.prototype.mapChildrenToProps=function(h,p){var m=this,g={};return Ii.Children.forEach(h,function(v){if(!(!v||!v.props)){var w=v.props,E=w.children,L=bh(w,["children"]),j=R1(L);switch(m.warnOnInvalidChildren(v,E),v.type){case re.LINK:case re.META:case re.NOSCRIPT:case re.SCRIPT:case re.STYLE:g=m.flattenArrayTypeChildren({child:v,arrayTypeChildren:g,newChildProps:j,nestedChildren:E});break;default:p=m.mapObjectTypeChildren({child:v,newProps:p,newChildProps:j,nestedChildren:E});break}}}),p=this.mapArrayTypeChildrenToProps(g,p),p},c.prototype.render=function(){var h=this.props,p=h.children,m=bh(h,["children"]),g=ft({},m);return p&&(g=this.mapChildrenToProps(p,g)),Ii.createElement(r,g)},h1(c,null,[{key:"canUseDOM",set:function(h){r.canUseDOM=h}}]),c})(Ii.Component),s.propTypes={base:ke.object,bodyAttributes:ke.object,children:ke.oneOfType([ke.arrayOf(ke.node),ke.node]),defaultTitle:ke.string,defer:ke.bool,encodeSpecialCharacters:ke.bool,htmlAttributes:ke.object,link:ke.arrayOf(ke.object),meta:ke.arrayOf(ke.object),noscript:ke.arrayOf(ke.object),onChangeClientState:ke.func,script:ke.arrayOf(ke.object),style:ke.arrayOf(ke.object),title:ke.string,titleAttributes:ke.object,titleTemplate:ke.string},s.defaultProps={defer:!0,encodeSpecialCharacters:!0},s.peek=r.peek,s.rewind=function(){var l=r.rewind();return l||(l=jm({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),l},o},L1=function(){return null},M1=n1(x1,E1,jm)(L1),$i=A1(M1);$i.renderStatic=$i.rewind;const Nm=P.createContext({});function D1(n){const r=P.useRef(null);return r.current===null&&(r.current=n()),r.current}const $u=P.createContext(null),Am=P.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function _1(n=!0){const r=P.useContext($u);if(r===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:l}=r,c=P.useId();P.useEffect(()=>{n&&l(c)},[n]);const d=P.useCallback(()=>n&&o&&o(c),[c,o,n]);return!s&&o?[!1,d]:[!0]}const Wu=typeof window<"u",O1=Wu?P.useLayoutEffect:P.useEffect,vt=n=>n;let Lm=vt;function Hu(n){let r;return()=>(r===void 0&&(r=n()),r)}const Or=(n,r,s)=>{const o=r-n;return o===0?1:(s-n)/o},an=n=>n*1e3,ln=n=>n/1e3,I1={useManualTiming:!1};function V1(n){let r=new Set,s=new Set,o=!1,l=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(m){c.has(m)&&(p.schedule(m),n()),m(d)}const p={schedule:(m,g=!1,v=!1)=>{const E=v&&o?r:s;return g&&c.add(m),E.has(m)||E.add(m),m},cancel:m=>{s.delete(m),c.delete(m)},process:m=>{if(d=m,o){l=!0;return}o=!0,[r,s]=[s,r],r.forEach(h),r.clear(),o=!1,l&&(l=!1,p.process(m))}};return p}const mo=["read","resolveKeyframes","update","preRender","render","postRender"],F1=40;function Mm(n,r){let s=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>s=!0,d=mo.reduce((D,_)=>(D[_]=V1(c),D),{}),{read:h,resolveKeyframes:p,update:m,preRender:g,render:v,postRender:w}=d,E=()=>{const D=performance.now();s=!1,l.delta=o?1e3/60:Math.max(Math.min(D-l.timestamp,F1),1),l.timestamp=D,l.isProcessing=!0,h.process(l),p.process(l),m.process(l),g.process(l),v.process(l),w.process(l),l.isProcessing=!1,s&&r&&(o=!1,n(E))},L=()=>{s=!0,o=!0,l.isProcessing||n(E)};return{schedule:mo.reduce((D,_)=>{const I=d[_];return D[_]=(H,U=!1,ee=!1)=>(s||L(),I.schedule(H,U,ee)),D},{}),cancel:D=>{for(let _=0;_<mo.length;_++)d[mo[_]].cancel(D)},state:l,steps:d}}const{schedule:Se,cancel:Mn,state:Ge,steps:eu}=Mm(typeof requestAnimationFrame<"u"?requestAnimationFrame:vt,!0),Dm=P.createContext({strict:!1}),Uh={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ir={};for(const n in Uh)Ir[n]={isEnabled:r=>Uh[n].some(s=>!!r[s])};function b1(n){for(const r in n)Ir[r]={...Ir[r],...n[r]}}const B1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ro(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||B1.has(n)}let _m=n=>!Ro(n);
vendor: 26,657 bytes, line 10
10function z1(n){n&&(_m=r=>r.startsWith("on")?!Ro(r):n(r))}try{z1(require("@emotion/is-prop-valid").default)}catch{}function U1(n,r,s){const o={};for(const l in n)l==="values"&&typeof n.values=="object"||(_m(l)||s===!0&&Ro(l)||!r&&!Ro(l)||n.draggable&&l.startsWith("onDrag"))&&(o[l]=n[l]);return o}function $1(n){if(typeof Proxy>"u")return n;const r=new Map,s=(...o)=>n(...o);return new Proxy(s,{get:(o,l)=>l==="create"?n:(r.has(l)||r.set(l,n(l)),r.get(l))})}const zo=P.createContext({});function Wi(n){return typeof n=="string"||Array.isArray(n)}function Uo(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}const Ku=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Gu=["initial",...Ku];function $o(n){return Uo(n.animate)||Gu.some(r=>Wi(n[r]))}function Om(n){return!!($o(n)||n.variants)}function W1(n,r){if($o(n)){const{initial:s,animate:o}=n;return{initial:s===!1||Wi(s)?s:void 0,animate:Wi(o)?o:void 0}}return n.inherit!==!1?r:{}}function H1(n){const{initial:r,animate:s}=W1(n,P.useContext(zo));return P.useMemo(()=>({initial:r,animate:s}),[$h(r),$h(s)])}function $h(n){return Array.isArray(n)?n.join(" "):n}const K1=Symbol.for("motionComponentSymbol");function Nr(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function G1(n,r,s){return P.useCallback(o=>{o&&n.onMount&&n.onMount(o),r&&(o?r.mount(o):r.unmount()),s&&(typeof s=="function"?s(o):Nr(s)&&(s.current=o))},[r])}const qu=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),q1="framerAppearId",Im="data-"+qu(q1),{schedule:Yu}=Mm(queueMicrotask,!1),Vm=P.createContext({});function Y1(n,r,s,o,l){var c,d;const{visualElement:h}=P.useContext(zo),p=P.useContext(Dm),m=P.useContext($u),g=P.useContext(Am).reducedMotion,v=P.useRef(null);o=o||p.renderer,!v.current&&o&&(v.current=o(n,{visualState:r,parent:h,props:s,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g}));const w=v.current,E=P.useContext(Vm);w&&!w.projection&&l&&(w.type==="html"||w.type==="svg")&&Q1(v.current,s,l,E);const L=P.useRef(!1);P.useInsertionEffect(()=>{w&&L.current&&w.update(s,m)});const j=s[Im],C=P.useRef(!!j&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,j))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,j)));return O1(()=>{w&&(L.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),Yu.render(w.render),C.current&&w.animationState&&w.animationState.animateChanges())}),P.useEffect(()=>{w&&(!C.current&&w.animationState&&w.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var D;(D=window.MotionHandoffMarkAsComplete)===null||D===void 0||D.call(window,j)}),C.current=!1))}),w}function Q1(n,r,s,o){const{layoutId:l,layout:c,drag:d,dragConstraints:h,layoutScroll:p,layoutRoot:m}=r;n.projection=new s(n.latestValues,r["data-framer-portal-id"]?void 0:Fm(n.parent)),n.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!d||h&&Nr(h),visualElement:n,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,layoutScroll:p,layoutRoot:m})}function Fm(n){if(n)return n.options.allowProjection!==!1?n.projection:Fm(n.parent)}function X1({preloadedFeatures:n,createVisualElement:r,useRender:s,useVisualState:o,Component:l}){var c,d;n&&b1(n);function h(m,g){let v;const w={...P.useContext(Am),...m,layoutId:Z1(m)},{isStatic:E}=w,L=H1(m),j=o(m,E);if(!E&&Wu){J1();const C=ew(w);v=C.MeasureLayout,L.visualElement=Y1(l,j,w,r,C.ProjectionNode)}return x.jsxs(zo.Provider,{value:L,children:[v&&L.visualElement?x.jsx(v,{visualElement:L.visualElement,...w}):null,s(l,m,G1(j,L.visualElement,g),j,E,L.visualElement)]})}h.displayName=`motion.${typeof l=="string"?l:`create(${(d=(c=l.displayName)!==null&&c!==void 0?c:l.name)!==null&&d!==void 0?d:""})`}`;const p=P.forwardRef(h);return p[K1]=l,p}function Z1({layoutId:n}){const r=P.useContext(Nm).id;return r&&n!==void 0?r+"-"+n:n}function J1(n,r){P.useContext(Dm).strict}function ew(n){const{drag:r,layout:s}=Ir;if(!r&&!s)return{};const o={...r,...s};return{MeasureLayout:r?.isEnabled(n)||s?.isEnabled(n)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const tw=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Qu(n){return typeof n!="string"||n.includes("-")?!1:!!(tw.indexOf(n)>-1||/[A-Z]/u.test(n))}function Wh(n){const r=[{},{}];return n?.values.forEach((s,o)=>{r[0][o]=s.get(),r[1][o]=s.getVelocity()}),r}function Xu(n,r,s,o){if(typeof r=="function"){const[l,c]=Wh(o);r=r(s!==void 0?s:n.custom,l,c)}if(typeof r=="string"&&(r=n.variants&&n.variants[r]),typeof r=="function"){const[l,c]=Wh(o);r=r(s!==void 0?s:n.custom,l,c)}return r}const xu=n=>Array.isArray(n),nw=n=>!!(n&&typeof n=="object"&&n.mix&&n.toValue),rw=n=>xu(n)?n[n.length-1]||0:n,et=n=>!!(n&&n.getVelocity);function So(n){const r=et(n)?n.get():n;return nw(r)?r.toValue():r}function iw({scrapeMotionValuesFromProps:n,createRenderState:r,onUpdate:s},o,l,c){const d={latestValues:sw(o,l,c,n),renderState:r()};return s&&(d.onMount=h=>s({props:o,current:h,...d}),d.onUpdate=h=>s(h)),d}const bm=n=>(r,s)=>{const o=P.useContext(zo),l=P.useContext($u),c=()=>iw(n,r,o,l);return s?c():D1(c)};function sw(n,r,s,o){const l={},c=o(n,{});for(const w in c)l[w]=So(c[w]);let{initial:d,animate:h}=n;const p=$o(n),m=Om(n);r&&m&&!p&&n.inherit!==!1&&(d===void 0&&(d=r.initial),h===void 0&&(h=r.animate));let g=s?s.initial===!1:!1;g=g||d===!1;const v=g?h:d;if(v&&typeof v!="boolean"&&!Uo(v)){const w=Array.isArray(v)?v:[v];for(let E=0;E<w.length;E++){const L=Xu(n,w[E]);if(L){const{transitionEnd:j,transition:C,...D}=L;for(const _ in D){let I=D[_];if(Array.isArray(I)){const H=g?I.length-1:0;I=I[H]}I!==null&&(l[_]=I)}for(const _ in j)l[_]=j[_]}}}return l}const zr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nr=new Set(zr),Bm=n=>r=>typeof r=="string"&&r.startsWith(n),zm=Bm("--"),ow=Bm("var(--"),Zu=n=>ow(n)?aw.test(n.split("/*")[0].trim()):!1,aw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Um=(n,r)=>r&&typeof n=="number"?r.transform(n):n,cn=(n,r,s)=>s>r?r:s<n?n:s,Ur={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Hi={...Ur,transform:n=>cn(0,1,n)},go={...Ur,default:1},Zi=n=>({test:r=>typeof r=="string"&&r.endsWith(n)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${n}`}),Ln=Zi("deg"),Kt=Zi("%"),te=Zi("px"),lw=Zi("vh"),uw=Zi("vw"),Hh={...Kt,parse:n=>Kt.parse(n)/100,transform:n=>Kt.transform(n*100)},cw={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,radius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,top:te,right:te,bottom:te,left:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,backgroundPositionX:te,backgroundPositionY:te},dw={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:go,scaleX:go,scaleY:go,scaleZ:go,skew:Ln,skewX:Ln,skewY:Ln,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:Hi,originX:Hh,originY:Hh,originZ:te},Kh={...Ur,transform:Math.round},Ju={...cw,...dw,zIndex:Kh,size:te,fillOpacity:Hi,strokeOpacity:Hi,numOctaves:Kh},fw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},hw=zr.length;function pw(n,r,s){let o="",l=!0;for(let c=0;c<hw;c++){const d=zr[c],h=n[d];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(d.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||s){const m=Um(h,Ju[d]);if(!p){l=!1;const g=fw[d]||d;o+=`${g}(${m}) `}s&&(r[d]=m)}}return o=o.trim(),s?o=s(r,l?"":o):l&&(o="none"),o}function ec(n,r,s){const{style:o,vars:l,transformOrigin:c}=n;let d=!1,h=!1;for(const p in r){const m=r[p];if(nr.has(p)){d=!0;continue}else if(zm(p)){l[p]=m;continue}else{const g=Um(m,Ju[p]);p.startsWith("origin")?(h=!0,c[p]=g):o[p]=g}}if(r.transform||(d||s?o.transform=pw(r,n.transform,s):o.transform&&(o.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:g=0}=c;o.transformOrigin=`${p} ${m} ${g}`}}const mw={offset:"stroke-dashoffset",array:"stroke-dasharray"},gw={offset:"strokeDashoffset",array:"strokeDasharray"};function yw(n,r,s=1,o=0,l=!0){n.pathLength=1;const c=l?mw:gw;n[c.offset]=te.transform(-o);const d=te.transform(r),h=te.transform(s);n[c.array]=`${d} ${h}`}function Gh(n,r,s){return typeof n=="string"?n:te.transform(r+s*n)}function vw(n,r,s){const o=Gh(r,n.x,n.width),l=Gh(s,n.y,n.height);return`${o} ${l}`}function tc(n,{attrX:r,attrY:s,attrScale:o,originX:l,originY:c,pathLength:d,pathSpacing:h=1,pathOffset:p=0,...m},g,v){if(ec(n,m,v),g){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:w,style:E,dimensions:L}=n;w.transform&&(L&&(E.transform=w.transform),delete w.transform),L&&(l!==void 0||c!==void 0||E.transform)&&(E.transformOrigin=vw(L,l!==void 0?l:.5,c!==void 0?c:.5)),r!==void 0&&(w.x=r),s!==void 0&&(w.y=s),o!==void 0&&(w.scale=o),d!==void 0&&yw(w,d,h,p,!1)}const nc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),$m=()=>({...nc(),attrs:{}}),rc=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Wm(n,{style:r,vars:s},o,l){Object.assign(n.style,r,l&&l.getProjectionStyles(o));for(const c in s)n.style.setProperty(c,s[c])}const Hm=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Km(n,r,s,o){Wm(n,r,void 0,o);for(const l in r.attrs)n.setAttribute(Hm.has(l)?l:qu(l),r.attrs[l])}const jo={};function xw(n){Object.assign(jo,n)}function Gm(n,{layout:r,layoutId:s}){return nr.has(n)||n.startsWith("origin")||(r||s!==void 0)&&(!!jo[n]||n==="opacity")}function ic(n,r,s){var o;const{style:l}=n,c={};for(const d in l)(et(l[d])||r.style&&et(r.style[d])||Gm(d,n)||((o=s?.getValue(d))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(c[d]=l[d]);return c}function qm(n,r,s){const o=ic(n,r,s);for(const l in n)if(et(n[l])||et(r[l])){const c=zr.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[c]=n[l]}return o}function ww(n,r){try{r.dimensions=typeof n.getBBox=="function"?n.getBBox():n.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}const qh=["x","y","width","height","cx","cy","r"],Sw={useVisualState:bm({scrapeMotionValuesFromProps:qm,createRenderState:$m,onUpdate:({props:n,prevProps:r,current:s,renderState:o,latestValues:l})=>{if(!s)return;let c=!!n.drag;if(!c){for(const h in l)if(nr.has(h)){c=!0;break}}if(!c)return;let d=!r;if(r)for(let h=0;h<qh.length;h++){const p=qh[h];n[p]!==r[p]&&(d=!0)}d&&Se.read(()=>{ww(s,o),Se.render(()=>{tc(o,l,rc(s.tagName),n.transformTemplate),Km(s,o)})})}})},Tw={useVisualState:bm({scrapeMotionValuesFromProps:ic,createRenderState:nc})};function Ym(n,r,s){for(const o in r)!et(r[o])&&!Gm(o,s)&&(n[o]=r[o])}function Ew({transformTemplate:n},r){return P.useMemo(()=>{const s=nc();return ec(s,r,n),Object.assign({},s.vars,s.style)},[r])}function kw(n,r){const s=n.style||{},o={};return Ym(o,s,n),Object.assign(o,Ew(n,r)),o}function Cw(n,r){const s={},o=kw(n,r);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=o,s}function Pw(n,r,s,o){const l=P.useMemo(()=>{const c=$m();return tc(c,r,rc(o),n.transformTemplate),{...c.attrs,style:{...c.style}}},[r]);if(n.style){const c={};Ym(c,n.style,n),l.style={...c,...l.style}}return l}function Rw(n=!1){return(s,o,l,{latestValues:c},d)=>{const p=(Qu(s)?Pw:Cw)(o,c,d,s),m=U1(o,typeof s=="string",n),g=s!==P.Fragment?{...m,...p,ref:l}:{},{children:v}=o,w=P.useMemo(()=>et(v)?v.get():v,[v]);return P.createElement(s,{...g,children:w})}}function jw(n,r){return function(o,{forwardMotionProps:l}={forwardMotionProps:!1}){const d={...Qu(o)?Sw:Tw,preloadedFeatures:n,useRender:Rw(l),createVisualElement:r,Component:o};return X1(d)}}function Qm(n,r){if(!Array.isArray(r))return!1;const s=r.length;if(s!==n.length)return!1;for(let o=0;o<s;o++)if(r[o]!==n[o])return!1;return!0}function Wo(n,r,s){const o=n.getProps();return Xu(o,r,s!==void 0?s:o.custom,n)}const Nw=Hu(()=>window.ScrollTimeline!==void 0);class Aw{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}get finished(){return Promise.all(this.animations.map(r=>"finished"in r?r.finished:r))}getAll(r){return this.animations[0][r]}setAll(r,s){for(let o=0;o<this.animations.length;o++)this.animations[o][r]=s}attachTimeline(r,s){const o=this.animations.map(l=>{if(Nw()&&l.attachTimeline)return l.attachTimeline(r);if(typeof s=="function")return s(l)});return()=>{o.forEach((l,c)=>{l&&l(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get startTime(){return this.getAll("startTime")}get duration(){let r=0;for(let s=0;s<this.animations.length;s++)r=Math.max(r,this.animations[s].duration);return r}runAll(r){this.animations.forEach(s=>s[r]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Lw extends Aw{then(r,s){return Promise.all(this.animations).then(r).catch(s)}}function sc(n,r){return n?n[r]||n.default||n:void 0}const wu=2e4;function Xm(n){let r=0;const s=50;let o=n.next(r);for(;!o.done&&r<wu;)r+=s,o=n.next(r);return r>=wu?1/0:r}function oc(n){return typeof n=="function"}function Yh(n,r){n.timeline=r,n.onfinish=null}const ac=n=>Array.isArray(n)&&typeof n[0]=="number",Mw={linearEasing:void 0};function Dw(n,r){const s=Hu(n);return()=>{var o;return(o=Mw[r])!==null&&o!==void 0?o:s()}}const No=Dw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zm=(n,r,s=10)=>{let o="";const l=Math.max(Math.round(r/s),2);for(let c=0;c<l;c++)o+=n(Or(0,l-1,c))+", ";return`linear(${o.substring(0,o.length-2)})`};function Jm(n){return!!(typeof n=="function"&&No()||!n||typeof n=="string"&&(n in Su||No())||ac(n)||Array.isArray(n)&&n.every(Jm))}const Di=([n,r,s,o])=>`cubic-bezier(${n}, ${r}, ${s}, ${o})`,Su={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Di([0,.65,.55,1]),circOut:Di([.55,0,1,.45]),backIn:Di([.31,.01,.66,-.59]),backOut:Di([.33,1.53,.69,.99])};function eg(n,r){if(n)return typeof n=="function"&&No()?Zm(n,r):ac(n)?Di(n):Array.isArray(n)?n.map(s=>eg(s,r)||Su.easeOut):Su[n]}const It={x:!1,y:!1};function tg(){return It.x||It.y}function _w(n,r,s){var o;if(n instanceof Element)return[n];if(typeof n=="string"){let l=document;const c=(o=void 0)!==null&&o!==void 0?o:l.querySelectorAll(n);return c?Array.from(c):[]}return Array.from(n)}function ng(n,r){const s=_w(n),o=new AbortController,l={passive:!0,...r,signal:o.signal};return[s,l,()=>o.abort()]}function Qh(n){return r=>{r.pointerType==="touch"||tg()||n(r)}}function Ow(n,r,s={}){const[o,l,c]=ng(n,s),d=Qh(h=>{const{target:p}=h,m=r(h);if(typeof m!="function"||!p)return;const g=Qh(v=>{m(v),p.removeEventListener("pointerleave",g)});p.addEventListener("pointerleave",g,l)});return o.forEach(h=>{h.addEventListener("pointerenter",d,l)}),c}const rg=(n,r)=>r?n===r?!0:rg(n,r.parentElement):!1,lc=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,Iw=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Vw(n){return Iw.has(n.tagName)||n.tabIndex!==-1}const _i=new WeakSet;function Xh(n){return r=>{r.key==="Enter"&&n(r)}}function tu(n,r){n.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const Fw=(n,r)=>{const s=n.currentTarget;if(!s)return;const o=Xh(()=>{if(_i.has(s))return;tu(s,"down");const l=Xh(()=>{tu(s,"up")}),c=()=>tu(s,"cancel");s.addEventListener("keyup",l,r),s.addEventListener("blur",c,r)});s.addEventListener("keydown",o,r),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),r)};function Zh(n){return lc(n)&&!tg()}function bw(n,r,s={}){const[o,l,c]=ng(n,s),d=h=>{const p=h.currentTarget;if(!Zh(h)||_i.has(p))return;_i.add(p);const m=r(h),g=(E,L)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),!(!Zh(E)||!_i.has(p))&&(_i.delete(p),typeof m=="function"&&m(E,{success:L}))},v=E=>{g(E,s.useGlobalTarget||rg(p,E.target))},w=E=>{g(E,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",w,l)};return o.forEach(h=>{!Vw(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(s.useGlobalTarget?window:h).addEventListener("pointerdown",d,l),h.addEventListener("focus",m=>Fw(m,l),l)}),c}function Bw(n){return n==="x"||n==="y"?It[n]?null:(It[n]=!0,()=>{It[n]=!1}):It.x||It.y?null:(It.x=It.y=!0,()=>{It.x=It.y=!1})}const ig=new Set(["width","height","top","left","right","bottom",...zr]);let To;function zw(){To=void 0}const Gt={now:()=>(To===void 0&&Gt.set(Ge.isProcessing||I1.useManualTiming?Ge.timestamp:performance.now()),To),set:n=>{To=n,queueMicrotask(zw)}};function uc(n,r){n.indexOf(r)===-1&&n.push(r)}function cc(n,r){const s=n.indexOf(r);s>-1&&n.splice(s,1)}class dc{constructor(){this.subscriptions=[]}add(r){return uc(this.subscriptions,r),()=>cc(this.subscriptions,r)}notify(r,s,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](r,s,o);else for(let c=0;c<l;c++){const d=this.subscriptions[c];d&&d(r,s,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function sg(n,r){return r?n*(1e3/r):0}const Jh=30,Uw=n=>!isNaN(parseFloat(n));class $w{constructor(r,s={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,l=!0)=>{const c=Gt.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),l&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(r),this.owner=s.owner}setCurrent(r){this.current=r,this.updatedAt=Gt.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=Uw(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,s){this.events[r]||(this.events[r]=new dc);const o=this.events[r].add(s);return r==="change"?()=>{o(),Se.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,s){this.passiveEffect=r,this.stopPassiveEffect=s}set(r,s=!0){!s||!this.passiveEffect?this.updateAndNotify(r,s):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-o}jump(r,s=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=Gt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>Jh)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Jh);return sg(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(r){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=r(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ki(n,r){return new $w(n,r)}function Ww(n,r,s){n.hasValue(r)?n.getValue(r).set(s):n.addValue(r,Ki(s))}function Hw(n,r){const s=Wo(n,r);let{transitionEnd:o={},transition:l={},...c}=s||{};c={...c,...o};for(const d in c){const h=rw(c[d]);Ww(n,d,h)}}function Kw(n){return!!(et(n)&&n.add)}function Tu(n,r){const s=n.getValue("willChange");if(Kw(s))return s.add(r)}function og(n){return n.props[Im]}const ag=(n,r,s)=>(((1-3*s+3*r)*n+(3*s-6*r))*n+3*r)*n,Gw=1e-7,qw=12;function Yw(n,r,s,o,l){let c,d,h=0;do d=r+(s-r)/2,c=ag(d,o,l)-n,c>0?s=d:r=d;while(Math.abs(c)>Gw&&++h<qw);return d}function Ji(n,r,s,o){if(n===r&&s===o)return vt;const l=c=>Yw(c,0,1,n,s);return c=>c===0||c===1?c:ag(l(c),r,o)}const lg=n=>r=>r<=.5?n(2*r)/2:(2-n(2*(1-r)))/2,ug=n=>r=>1-n(1-r),cg=Ji(.33,1.53,.69,.99),fc=ug(cg),dg=lg(fc),fg=n=>(n*=2)<1?.5*fc(n):.5*(2-Math.pow(2,-10*(n-1))),hc=n=>1-Math.sin(Math.acos(n)),hg=ug(hc),pg=lg(hc),mg=n=>/^0[^.\s]+$/u.test(n);function Qw(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||mg(n):!0}const Vi=n=>Math.round(n*1e5)/1e5,pc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xw(n){return n==null}const Zw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,mc=(n,r)=>s=>!!(typeof s=="string"&&Zw.test(s)&&s.startsWith(n)||r&&!Xw(s)&&Object.prototype.hasOwnProperty.call(s,r)),gg=(n,r,s)=>o=>{if(typeof o!="string")return o;const[l,c,d,h]=o.match(pc);return{[n]:parseFloat(l),[r]:parseFloat(c),[s]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},Jw=n=>cn(0,255,n),nu={...Ur,transform:n=>Math.round(Jw(n))},Xn={test:mc("rgb","red"),parse:gg("red","green","blue"),transform:({red:n,green:r,blue:s,alpha:o=1})=>"rgba("+nu.transform(n)+", "+nu.transform(r)+", "+nu.transform(s)+", "+Vi(Hi.transform(o))+")"};function eS(n){let r="",s="",o="",l="";return n.length>5?(r=n.substring(1,3),s=n.substring(3,5),o=n.substring(5,7),l=n.substring(7,9)):(r=n.substring(1,2),s=n.substring(2,3),o=n.substring(3,4),l=n.substring(4,5),r+=r,s+=s,o+=o,l+=l),{red:parseInt(r,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const Eu={test:mc("#"),parse:eS,transform:Xn.transform},Ar={test:mc("hsl","hue"),parse:gg("hue","saturation","lightness"),transform:({hue:n,saturation:r,lightness:s,alpha:o=1})=>"hsla("+Math.round(n)+", "+Kt.transform(Vi(r))+", "+Kt.transform(Vi(s))+", "+Vi(Hi.transform(o))+")"},Je={test:n=>Xn.test(n)||Eu.test(n)||Ar.test(n),parse:n=>Xn.test(n)?Xn.parse(n):Ar.test(n)?Ar.parse(n):Eu.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Xn.transform(n):Ar.transform(n)},tS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nS(n){var r,s;return isNaN(n)&&typeof n=="string"&&(((r=n.match(pc))===null||r===void 0?void 0:r.length)||0)+(((s=n.match(tS))===null||s===void 0?void 0:s.length)||0)>0}const yg="number",vg="color",rS="var",iS="var(",ep="${}",sS=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gi(n){const r=n.toString(),s=[],o={color:[],number:[],var:[]},l=[];let c=0;const h=r.replace(sS,p=>(Je.test(p)?(o.color.push(c),l.push(vg),s.push(Je.parse(p))):p.startsWith(iS)?(o.var.push(c),l.push(rS),s.push(p)):(o.number.push(c),l.push(yg),s.push(parseFloat(p))),++c,ep)).split(ep);return{values:s,split:h,indexes:o,types:l}}function xg(n){return Gi(n).values}function wg(n){const{split:r,types:s}=Gi(n),o=r.length;return l=>{let c="";for(let d=0;d<o;d++)if(c+=r[d],l[d]!==void 0){const h=s[d];h===yg?c+=Vi(l[d]):h===vg?c+=Je.transform(l[d]):c+=l[d]}return c}}const oS=n=>typeof n=="number"?0:n;function aS(n){const r=xg(n);return wg(n)(r.map(oS))}const Dn={test:nS,parse:xg,createTransformer:wg,getAnimatableNone:aS},lS=new Set(["brightness","contrast","saturate","opacity"]);function uS(n){const[r,s]=n.slice(0,-1).split("(");if(r==="drop-shadow")return n;const[o]=s.match(pc)||[];if(!o)return n;const l=s.replace(o,"");let c=lS.has(r)?1:0;return o!==s&&(c*=100),r+"("+c+l+")"}const cS=/\b([a-z-]*)\(.*?\)/gu,ku={...Dn,getAnimatableNone:n=>{const r=n.match(cS);return r?r.map(uS).join(" "):n}},dS={...Ju,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:ku,WebkitFilter:ku},gc=n=>dS[n];function Sg(n,r){let s=gc(n);return s!==ku&&(s=Dn),s.getAnimatableNone?s.getAnimatableNone(r):void 0}const fS=new Set(["auto","none","0"]);function hS(n,r,s){let o=0,l;for(;o<n.length&&!l;){const c=n[o];typeof c=="string"&&!fS.has(c)&&Gi(c).values.length&&(l=n[o]),o++}if(l&&s)for(const c of r)n[c]=Sg(s,l)}const tp=n=>n===Ur||n===te,np=(n,r)=>parseFloat(n.split(", ")[r]),rp=(n,r)=>(s,{transform:o})=>{if(o==="none"||!o)return 0;const l=o.match(/^matrix3d\((.+)\)$/u);if(l)return np(l[1],r);{const c=o.match(/^matrix\((.+)\)$/u);return c?np(c[1],n):0}},pS=new Set(["x","y","z"]),mS=zr.filter(n=>!pS.has(n));function gS(n){const r=[];return mS.forEach(s=>{const o=n.getValue(s);o!==void 0&&(r.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),r}const Vr={width:({x:n},{paddingLeft:r="0",paddingRight:s="0"})=>n.max-n.min-parseFloat(r)-parseFloat(s),height:({y:n},{paddingTop:r="0",paddingBottom:s="0"})=>n.max-n.min-parseFloat(r)-parseFloat(s),top:(n,{top:r})=>parseFloat(r),left:(n,{left:r})=>parseFloat(r),bottom:({y:n},{top:r})=>parseFloat(r)+(n.max-n.min),right:({x:n},{left:r})=>parseFloat(r)+(n.max-n.min),x:rp(4,13),y:rp(5,14)};Vr.translateX=Vr.x;Vr.translateY=Vr.y;const tr=new Set;let Cu=!1,Pu=!1;function Tg(){if(Pu){const n=Array.from(tr).filter(o=>o.needsMeasurement),r=new Set(n.map(o=>o.element)),s=new Map;r.forEach(o=>{const l=gS(o);l.length&&(s.set(o,l),o.render())}),n.forEach(o=>o.measureInitialState()),r.forEach(o=>{o.render();const l=s.get(o);l&&l.forEach(([c,d])=>{var h;(h=o.getValue(c))===null||h===void 0||h.set(d)})}),n.forEach(o=>o.measureEndState()),n.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Pu=!1,Cu=!1,tr.forEach(n=>n.complete()),tr.clear()}function Eg(){tr.forEach(n=>
vendor: 12,340 bytes, line 10
10{n.readKeyframes(),n.needsMeasurement&&(Pu=!0)})}function yS(){Eg(),Tg()}class yc{constructor(r,s,o,l,c,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...r],this.onComplete=s,this.name=o,this.motionValue=l,this.element=c,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tr.add(this),Cu||(Cu=!0,Se.read(Eg),Se.resolveKeyframes(Tg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:s,element:o,motionValue:l}=this;for(let c=0;c<r.length;c++)if(r[c]===null)if(c===0){const d=l?.get(),h=r[r.length-1];if(d!==void 0)r[0]=d;else if(o&&s){const p=o.readValue(s,h);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=h),l&&d===void 0&&l.set(r[0])}else r[c]=r[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),tr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const kg=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),vS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function xS(n){const r=vS.exec(n);if(!r)return[,];const[,s,o,l]=r;return[`--${s??o}`,l]}function Cg(n,r,s=1){const[o,l]=xS(n);if(!o)return;const c=window.getComputedStyle(r).getPropertyValue(o);if(c){const d=c.trim();return kg(d)?parseFloat(d):d}return Zu(l)?Cg(l,r,s+1):l}const Pg=n=>r=>r.test(n),wS={test:n=>n==="auto",parse:n=>n},Rg=[Ur,te,Kt,Ln,uw,lw,wS],ip=n=>Rg.find(Pg(n));class jg extends yc{constructor(r,s,o,l,c){super(r,s,o,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:s,name:o}=this;if(!s||!s.current)return;super.readKeyframes();for(let p=0;p<r.length;p++){let m=r[p];if(typeof m=="string"&&(m=m.trim(),Zu(m))){const g=Cg(m,s.current);g!==void 0&&(r[p]=g),p===r.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!ig.has(o)||r.length!==2)return;const[l,c]=r,d=ip(l),h=ip(c);if(d!==h)if(tp(d)&&tp(h))for(let p=0;p<r.length;p++){const m=r[p];typeof m=="string"&&(r[p]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:s}=this,o=[];for(let l=0;l<r.length;l++)Qw(r[l])&&o.push(l);o.length&&hS(r,o,s)}measureInitialState(){const{element:r,unresolvedKeyframes:s,name:o}=this;if(!r||!r.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Vr[o](r.measureViewportBox(),window.getComputedStyle(r.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&r.getValue(o,l).jump(l,!1)}measureEndState(){var r;const{element:s,name:o,unresolvedKeyframes:l}=this;if(!s||!s.current)return;const c=s.getValue(o);c&&c.jump(this.measuredOrigin,!1);const d=l.length-1,h=l[d];l[d]=Vr[o](s.measureViewportBox(),window.getComputedStyle(s.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((r=this.removedTransforms)===null||r===void 0)&&r.length&&this.removedTransforms.forEach(([p,m])=>{s.getValue(p).set(m)}),this.resolveNoneKeyframes()}}const sp=(n,r)=>r==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Dn.test(n)||n==="0")&&!n.startsWith("url("));function SS(n){const r=n[0];if(n.length===1)return!0;for(let s=0;s<n.length;s++)if(n[s]!==r)return!0}function TS(n,r,s,o){const l=n[0];if(l===null)return!1;if(r==="display"||r==="visibility")return!0;const c=n[n.length-1],d=sp(l,r),h=sp(c,r);return!d||!h?!1:SS(n)||(s==="spring"||oc(s))&&o}const ES=n=>n!==null;function Ho(n,{repeat:r,repeatType:s="loop"},o){const l=n.filter(ES),c=r&&s!=="loop"&&r%2===1?0:l.length-1;return!c||o===void 0?l[c]:o}const kS=40;class Ng{constructor({autoplay:r=!0,delay:s=0,type:o="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:d="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Gt.now(),this.options={autoplay:r,delay:s,type:o,repeat:l,repeatDelay:c,repeatType:d,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>kS?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&yS(),this._resolved}onKeyframesResolved(r,s){this.resolvedAt=Gt.now(),this.hasAttemptedResolve=!0;const{name:o,type:l,velocity:c,delay:d,onComplete:h,onUpdate:p,isGenerator:m}=this.options;if(!m&&!TS(r,o,l,c))if(d)this.options.duration=0;else{p&&p(Ho(r,this.options,s)),h&&h(),this.resolveFinishedPromise();return}const g=this.initPlayback(r,s);g!==!1&&(this._resolved={keyframes:r,finalKeyframe:s,...g},this.onPostResolved())}onPostResolved(){}then(r,s){return this.currentFinishedPromise.then(r,s)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(r=>{this.resolveFinishedPromise=r})}}const je=(n,r,s)=>n+(r-n)*s;function ru(n,r,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?n+(r-n)*6*s:s<1/2?r:s<2/3?n+(r-n)*(2/3-s)*6:n}function CS({hue:n,saturation:r,lightness:s,alpha:o}){n/=360,r/=100,s/=100;let l=0,c=0,d=0;if(!r)l=c=d=s;else{const h=s<.5?s*(1+r):s+r-s*r,p=2*s-h;l=ru(p,h,n+1/3),c=ru(p,h,n),d=ru(p,h,n-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:o}}function Ao(n,r){return s=>s>0?r:n}const iu=(n,r,s)=>{const o=n*n,l=s*(r*r-o)+o;return l<0?0:Math.sqrt(l)},PS=[Eu,Xn,Ar],RS=n=>PS.find(r=>r.test(n));function op(n){const r=RS(n);if(!r)return!1;let s=r.parse(n);return r===Ar&&(s=CS(s)),s}const ap=(n,r)=>{const s=op(n),o=op(r);if(!s||!o)return Ao(n,r);const l={...s};return c=>(l.red=iu(s.red,o.red,c),l.green=iu(s.green,o.green,c),l.blue=iu(s.blue,o.blue,c),l.alpha=je(s.alpha,o.alpha,c),Xn.transform(l))},jS=(n,r)=>s=>r(n(s)),es=(...n)=>n.reduce(jS),Ru=new Set(["none","hidden"]);function NS(n,r){return Ru.has(n)?s=>s<=0?n:r:s=>s>=1?r:n}function AS(n,r){return s=>je(n,r,s)}function vc(n){return typeof n=="number"?AS:typeof n=="string"?Zu(n)?Ao:Je.test(n)?ap:DS:Array.isArray(n)?Ag:typeof n=="object"?Je.test(n)?ap:LS:Ao}function Ag(n,r){const s=[...n],o=s.length,l=n.map((c,d)=>vc(c)(c,r[d]));return c=>{for(let d=0;d<o;d++)s[d]=l[d](c);return s}}function LS(n,r){const s={...n,...r},o={};for(const l in s)n[l]!==void 0&&r[l]!==void 0&&(o[l]=vc(n[l])(n[l],r[l]));return l=>{for(const c in o)s[c]=o[c](l);return s}}function MS(n,r){var s;const o=[],l={color:0,var:0,number:0};for(let c=0;c<r.values.length;c++){const d=r.types[c],h=n.indexes[d][l[d]],p=(s=n.values[h])!==null&&s!==void 0?s:0;o[c]=p,l[d]++}return o}const DS=(n,r)=>{const s=Dn.createTransformer(r),o=Gi(n),l=Gi(r);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?Ru.has(n)&&!l.values.length||Ru.has(r)&&!o.values.length?NS(n,r):es(Ag(MS(o,l),l.values),s):Ao(n,r)};function Lg(n,r,s){return typeof n=="number"&&typeof r=="number"&&typeof s=="number"?je(n,r,s):vc(n)(n,r)}const _S=5;function Mg(n,r,s){const o=Math.max(r-_S,0);return sg(s-n(o),r-o)}const Le={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},su=.001;function OS({duration:n=Le.duration,bounce:r=Le.bounce,velocity:s=Le.velocity,mass:o=Le.mass}){let l,c,d=1-r;d=cn(Le.minDamping,Le.maxDamping,d),n=cn(Le.minDuration,Le.maxDuration,ln(n)),d<1?(l=m=>{const g=m*d,v=g*n,w=g-s,E=ju(m,d),L=Math.exp(-v);return su-w/E*L},c=m=>{const v=m*d*n,w=v*s+s,E=Math.pow(d,2)*Math.pow(m,2)*n,L=Math.exp(-v),j=ju(Math.pow(m,2),d);return(-l(m)+su>0?-1:1)*((w-E)*L)/j}):(l=m=>{const g=Math.exp(-m*n),v=(m-s)*n+1;return-su+g*v},c=m=>{const g=Math.exp(-m*n),v=(s-m)*(n*n);return g*v});const h=5/n,p=VS(l,c,h);if(n=an(n),isNaN(p))return{stiffness:Le.stiffness,damping:Le.damping,duration:n};{const m=Math.pow(p,2)*o;return{stiffness:m,damping:d*2*Math.sqrt(o*m),duration:n}}}const IS=12;function VS(n,r,s){let o=s;for(let l=1;l<IS;l++)o=o-n(o)/r(o);return o}function ju(n,r){return n*Math.sqrt(1-r*r)}const FS=["duration","bounce"],bS=["stiffness","damping","mass"];function lp(n,r){return r.some(s=>n[s]!==void 0)}function BS(n){let r={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...n};if(!lp(n,bS)&&lp(n,FS))if(n.visualDuration){const s=n.visualDuration,o=2*Math.PI/(s*1.2),l=o*o,c=2*cn(.05,1,1-(n.bounce||0))*Math.sqrt(l);r={...r,mass:Le.mass,stiffness:l,damping:c}}else{const s=OS(n);r={...r,...s,mass:Le.mass},r.isResolvedFromDuration=!0}return r}function Dg(n=Le.visualDuration,r=Le.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:r}:n;let{restSpeed:o,restDelta:l}=s;const c=s.keyframes[0],d=s.keyframes[s.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:m,mass:g,duration:v,velocity:w,isResolvedFromDuration:E}=BS({...s,velocity:-ln(s.velocity||0)}),L=w||0,j=m/(2*Math.sqrt(p*g)),C=d-c,D=ln(Math.sqrt(p/g)),_=Math.abs(C)<5;o||(o=_?Le.restSpeed.granular:Le.restSpeed.default),l||(l=_?Le.restDelta.granular:Le.restDelta.default);let I;if(j<1){const U=ju(D,j);I=ee=>{const ie=Math.exp(-j*D*ee);return d-ie*((L+j*D*C)/U*Math.sin(U*ee)+C*Math.cos(U*ee))}}else if(j===1)I=U=>d-Math.exp(-D*U)*(C+(L+D*C)*U);else{const U=D*Math.sqrt(j*j-1);I=ee=>{const ie=Math.exp(-j*D*ee),Q=Math.min(U*ee,300);return d-ie*((L+j*D*C)*Math.sinh(Q)+U*C*Math.cosh(Q))/U}}const H={calculatedDuration:E&&v||null,next:U=>{const ee=I(U);if(E)h.done=U>=v;else{let ie=0;j<1&&(ie=U===0?an(L):Mg(I,U,ee));const Q=Math.abs(ie)<=o,he=Math.abs(d-ee)<=l;h.done=Q&&he}return h.value=h.done?d:ee,h},toString:()=>{const U=Math.min(Xm(H),wu),ee=Zm(ie=>H.next(U*ie).value,U,30);return U+"ms "+ee}};return H}function up({keyframes:n,velocity:r=0,power:s=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:d,min:h,max:p,restDelta:m=.5,restSpeed:g}){const v=n[0],w={done:!1,value:v},E=Q=>h!==void 0&&Q<h||p!==void 0&&Q>p,L=Q=>h===void 0?p:p===void 0||Math.abs(h-Q)<Math.abs(p-Q)?h:p;let j=s*r;const C=v+j,D=d===void 0?C:d(C);D!==C&&(j=D-v);const _=Q=>-j*Math.exp(-Q/o),I=Q=>D+_(Q),H=Q=>{const he=_(Q),ge=I(Q);w.done=Math.abs(he)<=m,w.value=w.done?D:ge};let U,ee;const ie=Q=>{E(w.value)&&(U=Q,ee=Dg({keyframes:[w.value,L(w.value)],velocity:Mg(I,Q,w.value),damping:l,stiffness:c,restDelta:m,restSpeed:g}))};return ie(0),{calculatedDuration:null,next:Q=>{let he=!1;return!ee&&U===void 0&&(he=!0,H(Q),ie(Q)),U!==void 0&&Q>=U?ee.next(Q-U):(!he&&H(Q),w)}}}const zS=Ji(.42,0,1,1),US=Ji(0,0,.58,1),_g=Ji(.42,0,.58,1),$S=n=>Array.isArray(n)&&typeof n[0]!="number",WS={linear:vt,easeIn:zS,easeInOut:_g,easeOut:US,circIn:hc,circInOut:pg,circOut:hg,backIn:fc,backInOut:dg,backOut:cg,anticipate:fg},cp=n=>{if(ac(n)){Lm(n.length===4);const[r,s,o,l]=n;return Ji(r,s,o,l)}else if(typeof n=="string")return WS[n];return n};function HS(n,r,s){const o=[],l=s||Lg,c=n.length-1;for(let d=0;d<c;d++){let h=l(n[d],n[d+1]);if(r){const p=Array.isArray(r)?r[d]||vt:r;h=es(p,h)}o.push(h)}return o}function KS(n,r,{clamp:s=!0,ease:o,mixer:l}={}){const c=n.length;if(Lm(c===r.length),c===1)return()=>r[0];if(c===2&&r[0]===r[1])return()=>r[1];const d=n[0]===n[1];n[0]>n[c-1]&&(n=[...n].reverse(),r=[...r].reverse());const h=HS(r,o,l),p=h.length,m=g=>{if(d&&g<n[0])return r[0];let v=0;if(p>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const w=Or(n[v],n[v+1],g);return h[v](w)};return s?g=>m(cn(n[0],n[c-1],g)):m}function GS(n,r){const s=n[n.length-1];for(let o=1;o<=r;o++){const l=Or(0,r,o);n.push(je(s,1,l))}}function qS(n){const r=[0];return GS(r,n.length-1),r}function YS(n,r){return n.map(s=>s*r)}function QS(n,r){return n.map(()=>r||_g).splice(0,n.length-1)}function Lo({duration:n=300,keyframes:r,times:s,ease:o="easeInOut"}){const l=$S(o)?o.map(cp):cp(o),c={done:!1,value:r[0]},d=YS(s&&s.length===r.length?s:qS(r),n),h=KS(d,r,{ease:Array.isArray(l)?l:QS(r,l)});return{calculatedDuration:n,next:p=>(c.value=h(p),c.done=p>=n,c)}}const XS=n=>{const r=({timestamp:s})=>n(s);return{start:()=>Se.update(r,!0),stop:()=>Mn(r),now:()=>Ge.isProcessing?Ge.timestamp:Gt.now()}},ZS={decay:up,inertia:up,tween:Lo,keyframes:Lo,spring:Dg},JS=n=>n/100;class xc extends Ng{constructor(r){super(r),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
vendor: 4,889 bytes, line 10
10{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:s,motionValue:o,element:l,keyframes:c}=this.options,d=l?.KeyframeResolver||yc,h=(p,m)=>this.onKeyframesResolved(p,m);this.resolver=new d(c,h,s,o,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(r){const{type:s="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:c,velocity:d=0}=this.options,h=oc(s)?s:ZS[s]||Lo;let p,m;h!==Lo&&typeof r[0]!="number"&&(p=es(JS,Lg(r[0],r[1])),r=[0,100]);const g=h({...this.options,keyframes:r});c==="mirror"&&(m=h({...this.options,keyframes:[...r].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=Xm(g));const{calculatedDuration:v}=g,w=v+l,E=w*(o+1)-l;return{generator:g,mirroredGenerator:m,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:w,totalDuration:E}}onPostResolved(){const{autoplay:r=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!r?this.pause():this.state=this.pendingPlayState}tick(r,s=!1){const{resolved:o}=this;if(!o){const{keyframes:Q}=this.options;return{done:!0,value:Q[Q.length-1]}}const{finalKeyframe:l,generator:c,mirroredGenerator:d,mapPercentToKeyframes:h,keyframes:p,calculatedDuration:m,totalDuration:g,resolvedDuration:v}=o;if(this.startTime===null)return c.next(0);const{delay:w,repeat:E,repeatType:L,repeatDelay:j,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-g/this.speed,this.startTime)),s?this.currentTime=r:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(r-this.startTime)*this.speed;const D=this.currentTime-w*(this.speed>=0?1:-1),_=this.speed>=0?D<0:D>g;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let I=this.currentTime,H=c;if(E){const Q=Math.min(this.currentTime,g)/v;let he=Math.floor(Q),ge=Q%1;!ge&&Q>=1&&(ge=1),ge===1&&he--,he=Math.min(he,E+1),he%2&&(L==="reverse"?(ge=1-ge,j&&(ge-=j/v)):L==="mirror"&&(H=d)),I=cn(0,1,ge)*v}const U=_?{done:!1,value:p[0]}:H.next(I);h&&(U.value=h(U.value));let{done:ee}=U;!_&&m!==null&&(ee=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const ie=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ee);return ie&&l!==void 0&&(U.value=Ho(p,this.options,l)),C&&C(U.value),ie&&this.finish(),U}get duration(){const{resolved:r}=this;return r?ln(r.calculatedDuration):0}get time(){return ln(this.currentTime)}set time(r){r=an(r),this.currentTime=r,this.holdTime!==null||this.speed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.speed)}get speed(){return this.playbackSpeed}set speed(r){const s=this.playbackSpeed!==r;this.playbackSpeed=r,s&&(this.time=ln(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:r=XS,onPlay:s,startTime:o}=this.options;this.driver||(this.driver=r(c=>this.tick(c))),s&&s();const l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var r;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(r=this.currentTime)!==null&&r!==void 0?r:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:r}=this.options;r&&r()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}}const eT=new Set(["opacity","clipPath","filter","transform"]);function tT(n,r,s,{delay:o=0,duration:l=300,repeat:c=0,repeatType:d="loop",ease:h="easeInOut",times:p}={}){const m={[r]:s};p&&(m.offset=p);const g=eg(h,l);return Array.isArray(g)&&(m.easing=g),n.animate(m,{delay:o,duration:l,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"})}const nT=Hu(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Mo=10,rT=2e4;function iT(n){return oc(n.type)||n.type==="spring"||!Jm(n.ease)}function sT(n,r){const s=new xc({...r,keyframes:n,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:n[0]};const l=[];let c=0;for(;!o.done&&c<rT;
vendor: 5,870 bytes, line 10
10)o=s.sample(c),l.push(o.value),c+=Mo;return{times:void 0,keyframes:l,duration:c-Mo,ease:"linear"}}const Og={anticipate:fg,backInOut:dg,circInOut:pg};function oT(n){return n in Og}class dp extends Ng{constructor(r){super(r);const{name:s,motionValue:o,element:l,keyframes:c}=this.options;this.resolver=new jg(c,(d,h)=>this.onKeyframesResolved(d,h),s,o,l),this.resolver.scheduleResolve()}initPlayback(r,s){let{duration:o=300,times:l,ease:c,type:d,motionValue:h,name:p,startTime:m}=this.options;if(!h.owner||!h.owner.current)return!1;if(typeof c=="string"&&No()&&oT(c)&&(c=Og[c]),iT(this.options)){const{onComplete:v,onUpdate:w,motionValue:E,element:L,...j}=this.options,C=sT(r,j);r=C.keyframes,r.length===1&&(r[1]=r[0]),o=C.duration,l=C.times,c=C.ease,d="keyframes"}const g=tT(h.owner.current,p,r,{...this.options,duration:o,times:l,ease:c});return g.startTime=m??this.calcStartTime(),this.pendingTimeline?(Yh(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:v}=this.options;h.set(Ho(r,this.options,s)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:o,times:l,type:d,ease:c,keyframes:r}}get duration(){const{resolved:r}=this;if(!r)return 0;const{duration:s}=r;return ln(s)}get time(){const{resolved:r}=this;if(!r)return 0;const{animation:s}=r;return ln(s.currentTime||0)}set time(r){const{resolved:s}=this;if(!s)return;const{animation:o}=s;o.currentTime=an(r)}get speed(){const{resolved:r}=this;if(!r)return 1;const{animation:s}=r;return s.playbackRate}set speed(r){const{resolved:s}=this;if(!s)return;const{animation:o}=s;o.playbackRate=r}get state(){const{resolved:r}=this;if(!r)return"idle";const{animation:s}=r;return s.playState}get startTime(){const{resolved:r}=this;if(!r)return null;const{animation:s}=r;return s.startTime}attachTimeline(r){if(!this._resolved)this.pendingTimeline=r;else{const{resolved:s}=this;if(!s)return vt;const{animation:o}=s;Yh(o,r)}return vt}play(){if(this.isStopped)return;const{resolved:r}=this;if(!r)return;const{animation:s}=r;s.playState==="finished"&&this.updateFinishedPromise(),s.play()}pause(){const{resolved:r}=this;if(!r)return;const{animation:s}=r;s.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:r}=this;if(!r)return;const{animation:s,keyframes:o,duration:l,type:c,ease:d,times:h}=r;if(s.playState==="idle"||s.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:g,onComplete:v,element:w,...E}=this.options,L=new xc({...E,keyframes:o,duration:l,type:c,ease:d,times:h,isGenerator:!0}),j=an(this.time);m.setWithVelocity(L.sample(j-Mo).value,L.sample(j).value,Mo)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:r}=this;r&&r.animation.finish()}cancel(){const{resolved:r}=this;r&&r.animation.cancel()}static supports(r){const{motionValue:s,name:o,repeatDelay:l,repeatType:c,damping:d,type:h}=r;if(!s||!s.owner||!(s.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:m}=s.owner.getProps();return nT()&&o&&eT.has(o)&&!p&&!m&&!l&&c!=="mirror"&&d!==0&&h!=="inertia"}}const aT={type:"spring",stiffness:500,damping:25,restSpeed:10},lT=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),uT={type:"keyframes",duration:.8},cT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dT=(n,{keyframes:r})=>r.length>2?uT:nr.has(n)?n.startsWith("scale")?lT(r[1]):aT:cT;function fT({when:n,delay:r,delayChildren:s,staggerChildren:o,staggerDirection:l,repeat:c,repeatType:d,repeatDelay:h,from:p,elapsed:m,...g}){return!!Object.keys(g).length}const wc=(n,r,s,o={},l,c)=>d=>{const h=sc(o,n)||{},p=h.delay||o.delay||0;let{elapsed:m=0}=o;m=m-an(p);let g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:r.getVelocity(),...h,delay:-m,onUpdate:w=>{r.set(w),h.onUpdate&&h.onUpdate(w)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:r,element:c?void 0:l};fT(h)||(g={...g,...dT(n,g)}),g.duration&&(g.duration=an(g.duration)),g.repeatDelay&&(g.repeatDelay=an(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(v=!0)),v&&!c&&r.get()!==void 0){const w=Ho(g.keyframes,h);if(w!==void 0)return Se.update(()=>{g.onUpdate(w),g.onComplete()}),new Lw([])}return!c&&dp.supports(g)?new dp(g):new xc(g)};function hT({protectedKeys:n,needsAnimating:r},s){const o=n.hasOwnProperty(s)&&r[s]!==!0;return r[s]=!1,o}function Ig(n,r,{delay:s=0,transitionOverride:o,type:l}={}){var c;let{transition:d=n.getDefaultTransition(),transitionEnd:h,...p}=r;o&&(d=o);const m=[],g=l&&n.animationState&&n.animationState.getState()[l];for(const v in p){const w=n.getValue(v,(c=n.latestValues[v])!==null&&c!==void 0?c:null),E=p[v];if(E===void 0||g&&hT(g,v))continue;const L={delay:s,...sc(d||{},v)};let j=!1;if(window.MotionHandoffAnimation){const D=og(n);if(D){const _=window.MotionHandoffAnimation(D,v,Se);_!==null&&(L.startTime=_,j=!0)}}Tu(n,v),w.start(wc(v,w,E,n.shouldReduceMotion&&ig.has(v)?{type:!1}:L,n,j));const C=w.animation;C&&m.push(C)}return h&&Promise.all(m).then(()=>{Se.update(()=>{h&&Hw(n,h)})}),m}function Nu(n,r,s={}){var o;const l=Wo(n,r,s.type==="exit"?(o=n.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:c=n.getDefaultTransition()||{}}=l||{};s.transitionOverride&&(c=s.transitionOverride);const d=l?()=>Promise.all(Ig(n,l,s)):()=>Promise.resolve(),h=n.variantChildren&&n.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:w}=c;return pT(n,r,g+m,v,w,s)}:()=>Promise.resolve(),{when:p}=c;if(p){const[m,g]=p==="beforeChildren"?[d,h]:[h,d];return m().then(()=>g())}else return Promise.all([d(),h(s.delay)])}function pT(n,r,s=0,o=0,l=1,c){const d=[],h=(n.variantChildren.size-1)*o,p=l===1?(m=0)=>
vendor: 49,006 bytes, line 10
10m*o:(m=0)=>h-m*o;return Array.from(n.variantChildren).sort(mT).forEach((m,g)=>{m.notify("AnimationStart",r),d.push(Nu(m,r,{...c,delay:s+p(g)}).then(()=>m.notify("AnimationComplete",r)))}),Promise.all(d)}function mT(n,r){return n.sortNodePosition(r)}function gT(n,r,s={}){n.notify("AnimationStart",r);let o;if(Array.isArray(r)){const l=r.map(c=>Nu(n,c,s));o=Promise.all(l)}else if(typeof r=="string")o=Nu(n,r,s);else{const l=typeof r=="function"?Wo(n,r,s.custom):r;o=Promise.all(Ig(n,l,s))}return o.then(()=>{n.notify("AnimationComplete",r)})}const yT=Gu.length;function Vg(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?Vg(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const r={};for(let s=0;s<yT;s++){const o=Gu[s],l=n.props[o];(Wi(l)||l===!1)&&(r[o]=l)}return r}const vT=[...Ku].reverse(),xT=Ku.length;function wT(n){return r=>Promise.all(r.map(({animation:s,options:o})=>gT(n,s,o)))}function ST(n){let r=wT(n),s=fp(),o=!0;const l=p=>(m,g)=>{var v;const w=Wo(n,g,p==="exit"?(v=n.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(w){const{transition:E,transitionEnd:L,...j}=w;m={...m,...j,...L}}return m};function c(p){r=p(n)}function d(p){const{props:m}=n,g=Vg(n.parent)||{},v=[],w=new Set;let E={},L=1/0;for(let C=0;C<xT;C++){const D=vT[C],_=s[D],I=m[D]!==void 0?m[D]:g[D],H=Wi(I),U=D===p?_.isActive:null;U===!1&&(L=C);let ee=I===g[D]&&I!==m[D]&&H;if(ee&&o&&n.manuallyAnimateOnMount&&(ee=!1),_.protectedKeys={...E},!_.isActive&&U===null||!I&&!_.prevProp||Uo(I)||typeof I=="boolean")continue;const ie=TT(_.prevProp,I);let Q=ie||D===p&&_.isActive&&!ee&&H||C>L&&H,he=!1;const ge=Array.isArray(I)?I:[I];let qe=ge.reduce(l(D),{});U===!1&&(qe={});const{prevResolvedValues:nt={}}=_,Be={...nt,...qe},We=oe=>{Q=!0,w.has(oe)&&(he=!0,w.delete(oe)),_.needsAnimating[oe]=!0;const z=n.getValue(oe);z&&(z.liveStyle=!1)};for(const oe in Be){const z=qe[oe],X=nt[oe];if(E.hasOwnProperty(oe))continue;let W=!1;xu(z)&&xu(X)?W=!Qm(z,X):W=z!==X,W?z!=null?We(oe):w.add(oe):z!==void 0&&w.has(oe)?We(oe):_.protectedKeys[oe]=!0}_.prevProp=I,_.prevResolvedValues=qe,_.isActive&&(E={...E,...qe}),o&&n.blockInitialAnimation&&(Q=!1),Q&&(!(ee&&ie)||he)&&v.push(...ge.map(oe=>({animation:oe,options:{type:D}})))}if(w.size){const C={};w.forEach(D=>{const _=n.getBaseTarget(D),I=n.getValue(D);I&&(I.liveStyle=!0),C[D]=_??null}),v.push({animation:C})}let j=!!v.length;return o&&(m.initial===!1||m.initial===m.animate)&&!n.manuallyAnimateOnMount&&(j=!1),o=!1,j?r(v):Promise.resolve()}function h(p,m){var g;if(s[p].isActive===m)return Promise.resolve();(g=n.variantChildren)===null||g===void 0||g.forEach(w=>{var E;return(E=w.animationState)===null||E===void 0?void 0:E.setActive(p,m)}),s[p].isActive=m;const v=d(p);for(const w in s)s[w].protectedKeys={};return v}return{animateChanges:d,setActive:h,setAnimateFunction:c,getState:()=>s,reset:()=>{s=fp(),o=!0}}}function TT(n,r){return typeof r=="string"?r!==n:Array.isArray(r)?!Qm(r,n):!1}function qn(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fp(){return{animate:qn(!0),whileInView:qn(),whileHover:qn(),whileTap:qn(),whileDrag:qn(),whileFocus:qn(),exit:qn()}}class _n{constructor(r){this.isMounted=!1,this.node=r}update(){}}class ET extends _n{constructor(r){super(r),r.animationState||(r.animationState=ST(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Uo(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:s}=this.node.prevProps||{};r!==s&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)===null||r===void 0||r.call(this)}}let kT=0;class CT extends _n{constructor(){super(...arguments),this.id=kT++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===o)return;const l=this.node.animationState.setActive("exit",!r);s&&!r&&l.then(()=>s(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const PT={animation:{Feature:ET},exit:{Feature:CT}};function qi(n,r,s,o={passive:!0}){return n.addEventListener(r,s,o),()=>n.removeEventListener(r,s)}function ts(n){return{point:{x:n.pageX,y:n.pageY}}}const RT=n=>r=>lc(r)&&n(r,ts(r));function Fi(n,r,s,o){return qi(n,r,RT(s),o)}const hp=(n,r)=>Math.abs(n-r);function jT(n,r){const s=hp(n.x,r.x),o=hp(n.y,r.y);return Math.sqrt(s**2+o**2)}class Fg{constructor(r,s,{transformPagePoint:o,contextWindow:l,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=au(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,E=jT(v.offset,{x:0,y:0})>=3;if(!w&&!E)return;const{point:L}=v,{timestamp:j}=Ge;this.history.push({...L,timestamp:j});const{onStart:C,onMove:D}=this.handlers;w||(C&&C(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),D&&D(this.lastMoveEvent,v)},this.handlePointerMove=(v,w)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=ou(w,this.transformPagePoint),Se.update(this.updatePoint,!0)},this.handlePointerUp=(v,w)=>{this.end();const{onEnd:E,onSessionEnd:L,resumeAnimation:j}=this.handlers;if(this.dragSnapToOrigin&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=au(v.type==="pointercancel"?this.lastMoveEventInfo:ou(w,this.transformPagePoint),this.history);this.startEvent&&E&&E(v,C),L&&L(v,C)},!lc(r))return;this.dragSnapToOrigin=c,this.handlers=s,this.transformPagePoint=o,this.contextWindow=l||window;const d=ts(r),h=ou(d,this.transformPagePoint),{point:p}=h,{timestamp:m}=Ge;this.history=[{...p,timestamp:m}];const{onSessionStart:g}=s;g&&g(r,au(h,this.history)),this.removeListeners=es(Fi(this.contextWindow,"pointermove",this.handlePointerMove),Fi(this.contextWindow,"pointerup",this.handlePointerUp),Fi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Mn(this.updatePoint)}}function ou(n,r){return r?{point:r(n.point)}:n}function pp(n,r){return{x:n.x-r.x,y:n.y-r.y}}function au({point:n},r){return{point:n,delta:pp(n,bg(r)),offset:pp(n,NT(r)),velocity:AT(r,.1)}}function NT(n){return n[0]}function bg(n){return n[n.length-1]}function AT(n,r){if(n.length<2)return{x:0,y:0};let s=n.length-1,o=null;const l=bg(n);for(;s>=0&&(o=n[s],!(l.timestamp-o.timestamp>an(r)));)s--;if(!o)return{x:0,y:0};const c=ln(l.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const d={x:(l.x-o.x)/c,y:(l.y-o.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}const Bg=1e-4,LT=1-Bg,MT=1+Bg,zg=.01,DT=0-zg,_T=0+zg;function xt(n){return n.max-n.min}function OT(n,r,s){return Math.abs(n-r)<=s}function mp(n,r,s,o=.5){n.origin=o,n.originPoint=je(r.min,r.max,n.origin),n.scale=xt(s)/xt(r),n.translate=je(s.min,s.max,n.origin)-n.originPoint,(n.scale>=LT&&n.scale<=MT||isNaN(n.scale))&&(n.scale=1),(n.translate>=DT&&n.translate<=_T||isNaN(n.translate))&&(n.translate=0)}function bi(n,r,s,o){mp(n.x,r.x,s.x,o?o.originX:void 0),mp(n.y,r.y,s.y,o?o.originY:void 0)}function gp(n,r,s){n.min=s.min+r.min,n.max=n.min+xt(r)}function IT(n,r,s){gp(n.x,r.x,s.x),gp(n.y,r.y,s.y)}function yp(n,r,s){n.min=r.min-s.min,n.max=n.min+xt(r)}function Bi(n,r,s){yp(n.x,r.x,s.x),yp(n.y,r.y,s.y)}function VT(n,{min:r,max:s},o){return r!==void 0&&n<r?n=o?je(r,n,o.min):Math.max(n,r):s!==void 0&&n>s&&(n=o?je(s,n,o.max):Math.min(n,s)),n}function vp(n,r,s){return{min:r!==void 0?n.min+r:void 0,max:s!==void 0?n.max+s-(n.max-n.min):void 0}}function FT(n,{top:r,left:s,bottom:o,right:l}){return{x:vp(n.x,s,l),y:vp(n.y,r,o)}}function xp(n,r){let s=r.min-n.min,o=r.max-n.max;return r.max-r.min<n.max-n.min&&([s,o]=[o,s]),{min:s,max:o}}function bT(n,r){return{x:xp(n.x,r.x),y:xp(n.y,r.y)}}function BT(n,r){let s=.5;const o=xt(n),l=xt(r);return l>o?s=Or(r.min,r.max-o,n.min):o>l&&(s=Or(n.min,n.max-l,r.min)),cn(0,1,s)}function zT(n,r){const s={};return r.min!==void 0&&(s.min=r.min-n.min),r.max!==void 0&&(s.max=r.max-n.min),s}const Au=.35;function UT(n=Au){return n===!1?n=0:n===!0&&(n=Au),{x:wp(n,"left","right"),y:wp(n,"top","bottom")}}function wp(n,r,s){return{min:Sp(n,r),max:Sp(n,s)}}function Sp(n,r){return typeof n=="number"?n:n[r]||0}const Tp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Lr=()=>({x:Tp(),y:Tp()}),Ep=()=>({min:0,max:0}),_e=()=>({x:Ep(),y:Ep()});function Rt(n){return[n("x"),n("y")]}function Ug({top:n,left:r,right:s,bottom:o}){return{x:{min:r,max:s},y:{min:n,max:o}}}function $T({x:n,y:r}){return{top:r.min,right:n.max,bottom:r.max,left:n.min}}function WT(n,r){if(!r)return n;const s=r({x:n.left,y:n.top}),o=r({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}function lu(n){return n===void 0||n===1}function Lu({scale:n,scaleX:r,scaleY:s}){return!lu(n)||!lu(r)||!lu(s)}function Yn(n){return Lu(n)||$g(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function $g(n){return kp(n.x)||kp(n.y)}function kp(n){return n&&n!=="0%"}function Do(n,r,s){const o=n-s,l=r*o;return s+l}function Cp(n,r,s,o,l){return l!==void 0&&(n=Do(n,l,o)),Do(n,s,o)+r}function Mu(n,r=0,s=1,o,l){n.min=Cp(n.min,r,s,o,l),n.max=Cp(n.max,r,s,o,l)}function Wg(n,{x:r,y:s}){Mu(n.x,r.translate,r.scale,r.originPoint),Mu(n.y,s.translate,s.scale,s.originPoint)}const Pp=.999999999999,Rp=1.0000000000001;function HT(n,r,s,o=!1){const l=s.length;if(!l)return;r.x=r.y=1;let c,d;for(let h=0;h<l;h++){c=s[h],d=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Dr(n,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),d&&(r.x*=d.x.scale,r.y*=d.y.scale,Wg(n,d)),o&&Yn(c.latestValues)&&Dr(n,c.latestValues))}r.x<Rp&&r.x>Pp&&(r.x=1),r.y<Rp&&r.y>Pp&&(r.y=1)}function Mr(n,r){n.min=n.min+r,n.max=n.max+r}function jp(n,r,s,o,l=.5){const c=je(n.min,n.max,l);Mu(n,r,s,c,o)}function Dr(n,r){jp(n.x,r.x,r.scaleX,r.scale,r.originX),jp(n.y,r.y,r.scaleY,r.scale,r.originY)}function Hg(n,r){return Ug(WT(n.getBoundingClientRect(),r))}function KT(n,r,s){const o=Hg(n,s),{scroll:l}=r;return l&&(Mr(o.x,l.offset.x),Mr(o.y,l.offset.y)),o}const Kg=({current:n})=>n?n.ownerDocument.defaultView:null,GT=new WeakMap;class qT{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_e(),this.visualElement=r}start(r,{snapToCursor:s=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const l=g=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(ts(g).point)},c=(g,v)=>{const{drag:w,dragPropagation:E,onDragStart:L}=this.getProps();if(w&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Bw(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rt(C=>{let D=this.getAxisMotionValue(C).get()||0;if(Kt.test(D)){const{projection:_}=this.visualElement;if(_&&_.layout){const I=_.layout.layoutBox[C];I&&(D=xt(I)*(parseFloat(D)/100))}}this.originPoint[C]=D}),L&&Se.postRender(()=>L(g,v)),Tu(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},d=(g,v)=>{const{dragPropagation:w,dragDirectionLock:E,onDirectionLock:L,onDrag:j}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:C}=v;if(E&&this.currentDirection===null){this.currentDirection=YT(C),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",v.point,C),this.updateAxis("y",v.point,C),this.visualElement.render(),j&&j(g,v)},h=(g,v)=>this.stop(g,v),p=()=>Rt(g=>{var v;return this.getAnimationState(g)==="paused"&&((v=this.getAxisMotionValue(g).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Fg(r,{onSessionStart:l,onStart:c,onMove:d,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:Kg(this.visualElement)})}stop(r,s){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:l}=s;this.startAnimation(l);const{onDragEnd:c}=this.getProps();c&&Se.postRender(()=>c(r,s))}cancel(){this.isDragging=!1;const{projection:r,animationState:s}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(r,s,o){const{drag:l}=this.getProps();if(!o||!yo(r,l,this.currentDirection))return;const c=this.getAxisMotionValue(r);let d=this.originPoint[r]+o[r];this.constraints&&this.constraints[r]&&(d=VT(d,this.constraints[r],this.elastic[r])),c.set(d)}resolveConstraints(){var r;const{dragConstraints:s,dragElastic:o}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)===null||r===void 0?void 0:r.layout,c=this.constraints;s&&Nr(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&l?this.constraints=FT(l.layoutBox,s):this.constraints=!1,this.elastic=UT(o),c!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&Rt(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=zT(l.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:s}=this.getProps();if(!r||!Nr(r))return!1;const o=r.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=KT(o,l.root,this.visualElement.getTransformPagePoint());let d=bT(l.layout.layoutBox,c);if(s){const h=s($T(d));this.hasMutatedConstraints=!!h,h&&(d=Ug(h))}return d}startAnimation(r){const{drag:s,dragMomentum:o,dragElastic:l,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=Rt(g=>{if(!yo(g,s,this.currentDirection))return;let v=p&&p[g]||{};d&&(v={min:0,max:0});const w=l?200:1e6,E=l?40:1e7,L={type:"inertia",velocity:o?r[g]:0,bounceStiffness:w,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(g,L)});return Promise.all(m).then(h)}startAxisValueAnimation(r,s){const o=this.getAxisMotionValue(r);return Tu(this.visualElement,r),o.start(wc(r,o,0,s,this.visualElement,!1))}stopAnimation(){Rt(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Rt(r=>{var s;return(s=this.getAxisMotionValue(r).animation)===null||s===void 0?void 0:s.pause()})}getAnimationState(r){var s;return(s=this.getAxisMotionValue(r).animation)===null||s===void 0?void 0:s.state}getAxisMotionValue(r){const s=`_drag${r.toUpperCase()}`,o=this.visualElement.getProps(),l=o[s];return l||this.visualElement.getValue(r,(o.initial?o.initial[r]:void 0)||0)}snapToCursor(r){Rt(s=>{const{drag:o}=this.getProps();if(!yo(s,o,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(s);if(l&&l.layout){const{min:d,max:h}=l.layout.layoutBox[s];c.set(r[s]-je(d,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Nr(s)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Rt(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const p=h.get();l[d]=BT({min:p,max:p},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Rt(d=>{if(!yo(d,r,null))return;const h=this.getAxisMotionValue(d),{min:p,max:m}=this.constraints[d];h.set(je(p,m,l[d]))})}addListeners(){if(!this.visualElement.current)return;GT.set(this.visualElement,this);const r=this.visualElement.current,s=Fi(r,"pointerdown",p=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Nr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Se.read(o);const d=qi(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(Rt(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=p[g].translate,v.set(v.get()+p[g].translate))}),this.visualElement.render())}));return()=>{d(),s(),c(),h&&h()}}getProps(){const r=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:d=Au,dragMomentum:h=!0}=r;return{...r,drag:s,dragDirectionLock:o,dragPropagation:l,dragConstraints:c,dragElastic:d,dragMomentum:h}}}function yo(n,r,s){return(r===!0||r===n)&&(s===null||s===n)}function YT(n,r=10){let s=null;return Math.abs(n.y)>r?s="y":Math.abs(n.x)>r&&(s="x"),s}class QT extends _n{constructor(r){super(r),this.removeGroupControls=vt,this.removeListeners=vt,this.controls=new qT(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Np=n=>(r,s)=>{n&&Se.postRender(()=>n(r,s))};class XT extends _n{constructor(){super(...arguments),this.removePointerDownListener=vt}onPointerDown(r){this.session=new Fg(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kg(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:s,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:Np(r),onStart:Np(s),onMove:o,onEnd:(c,d)=>{delete this.session,l&&Se.postRender(()=>l(c,d))}}}mount(){this.removePointerDownListener=Fi(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Eo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ap(n,r){return r.max===r.min?0:n/(r.max-r.min)*100}const Mi={correct:(n,r)=>{if(!r.target)return n;if(typeof n=="string")if(te.test(n))n=parseFloat(n);else return n;const s=Ap(n,r.target.x),o=Ap(n,r.target.y);return`${s}% ${o}%`}},ZT={correct:(n,{treeScale:r,projectionDelta:s})=>{const o=n,l=Dn.parse(n);if(l.length>5)return o;const c=Dn.createTransformer(n),d=typeof l[0]!="number"?1:0,h=s.x.scale*r.x,p=s.y.scale*r.y;l[0+d]/=h,l[1+d]/=p;const m=je(h,p,.5);return typeof l[2+d]=="number"&&(l[2+d]/=m),typeof l[3+d]=="number"&&(l[3+d]/=m),c(l)}};class JT extends P.Component{componentDidMount(){const{visualElement:r,layoutGroup:s,switchLayoutGroup:o,layoutId:l}=this.props,{projection:c}=r;xw(eE),c&&(s.group&&s.group.add(c),o&&o.register&&l&&o.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Eo.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:s,visualElement:o,drag:l,isPresent:c}=this.props,d=o.projection;return d&&(d.isPresent=c,l||r.layoutDependency!==s||s===void 0?d.willUpdate():this.safeToRemove(),r.isPresent!==c&&(c?d.promote():d.relegate()||Se.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),Yu.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:l}=r;l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function Gg(n){const[r,s]=_1(),o=P.useContext(Nm);return x.jsx(JT,{...n,layoutGroup:o,switchLayoutGroup:P.useContext(Vm),isPresent:r,safeToRemove:s})}const eE={borderRadius:{...Mi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Mi,borderTopRightRadius:Mi,borderBottomLeftRadius:Mi,borderBottomRightRadius:Mi,boxShadow:ZT};function tE(n,r,s){const o=et(n)?n:Ki(n);return o.start(wc("",o,r,s)),o.animation}function nE(n){return n instanceof SVGElement&&n.tagName!=="svg"}const rE=(n,r)=>n.depth-r.depth;class iE{constructor(){this.children=[],this.isDirty=!1}add(r){uc(this.children,r),this.isDirty=!0}remove(r){cc(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(rE),this.isDirty=!1,this.children.forEach(r)}}function sE(n,r){const s=Gt.now(),o=({timestamp:l})=>{const c=l-s;c>=r&&(Mn(o),n(c-r))};return Se.read(o,!0),()=>Mn(o)}const qg=["TopLeft","TopRight","BottomLeft","BottomRight"],oE=qg.length,Lp=n=>typeof n=="string"?parseFloat(n):n,Mp=n=>typeof n=="number"||te.test(n);function aE(n,r,s,o,l,c){l?(n.opacity=je(0,s.opacity!==void 0?s.opacity:1,lE(o)),n.opacityExit=je(r.opacity!==void 0?r.opacity:1,0,uE(o))):c&&(n.opacity=je(r.opacity!==void 0?r.opacity:1,s.opacity!==void 0?s.opacity:1,o));for(let d=0;d<oE;d++){const h=`border${qg[d]}Radius`;let p=Dp(r,h),m=Dp(s,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||Mp(p)===Mp(m)?(n[h]=Math.max(je(Lp(p),Lp(m),o),0),(Kt.test(m)||Kt.test(p))&&(n[h]+="%")):n[h]=m}(r.rotate||s.rotate)&&(n.rotate=je(r.rotate||0,s.rotate||0,o))}function Dp(n,r){return n[r]!==void 0?n[r]:n.borderRadius}const lE=Yg(0,.5,hg),uE=Yg(.5,.95,vt);function Yg(n,r,s){return o=>o<n?0:o>r?1:s(Or(n,r,o))}function _p(n,r){n.min=r.min,n.max=r.max}function Pt(n,r){_p(n.x,r.x),_p(n.y,r.y)}function Op(n,r){n.translate=r.translate,n.scale=r.scale,n.originPoint=r.originPoint,n.origin=r.origin}function Ip(n,r,s,o,l){return n-=r,n=Do(n,1/s,o),l!==void 0&&(n=Do(n,1/l,o)),n}function cE(n,r=0,s=1,o=.5,l,c=n,d=n){if(Kt.test(r)&&(r=parseFloat(r),r=je(d.min,d.max,r/100)-d.min),typeof r!="number")return;let h=je(c.min,c.max,o);n===c&&(h-=r),n.min=Ip(n.min,r,s,h,l),n.max=Ip(n.max,r,s,h,l)}function Vp(n,r,[s,o,l],c,d){cE(n,r[s],r[o],r[l],r.scale,c,d)}const dE=["x","scaleX","originX"],fE=["y","scaleY","originY"];function Fp(n,r,s,o){Vp(n.x,r,dE,s?s.x:void 0,o?o.x:void 0),Vp(n.y,r,fE,s?s.y:void 0,o?o.y:void 0)}function bp(n){return n.translate===0&&n.scale===1}function Qg(n){return bp(n.x)&&bp(n.y)}function Bp(n,r){return n.min===r.min&&n.max===r.max}function hE(n,r){return Bp(n.x,r.x)&&Bp(n.y,r.y)}function zp(n,r){return Math.round(n.min)===Math.round(r.min)&&Math.round(n.max)===Math.round(r.max)}function Xg(n,r){return zp(n.x,r.x)&&zp(n.y,r.y)}function Up(n){return xt(n.x)/xt(n.y)}function $p(n,r){return n.translate===r.translate&&n.scale===r.scale&&n.originPoint===r.originPoint}class pE{constructor(){this.members=[]}add(r){uc(this.members,r),r.scheduleRender()}remove(r){if(cc(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(r){const s=this.members.findIndex(l=>r===l);if(s===0)return!1;let o;for(let l=s;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){o=c;break}}return o?(this.promote(o),!0):!1}promote(r,s){const o=this.lead;if(r!==o&&(this.prevLead=o,this.lead=r,r.show(),o)){o.instance&&o.scheduleRender(),r.scheduleRender(),r.resumeFrom=o,s&&(r.resumeFrom.preserveOpacity=!0),o.snapshot&&(r.snapshot=o.snapshot,r.snapshot.latestValues=o.animationValues||o.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:l}=r.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:s,resumingFrom:o}=r;s.onExitComplete&&s.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mE(n,r,s){let o="";const l=n.x.translate/r.x,c=n.y.translate/r.y,d=s?.z||0;if((l||c||d)&&(o=`translate3d(${l}px, ${c}px, ${d}px) `),(r.x!==1||r.y!==1)&&(o+=`scale(${1/r.x}, ${1/r.y}) `),s){const{transformPerspective:m,rotate:g,rotateX:v,rotateY:w,skewX:E,skewY:L}=s;m&&(o=`perspective(${m}px) ${o}`),g&&(o+=`rotate(${g}deg) `),v&&(o+=`rotateX(${v}deg) `),w&&(o+=`rotateY(${w}deg) `),E&&(o+=`skewX(${E}deg) `),L&&(o+=`skewY(${L}deg) `)}const h=n.x.scale*r.x,p=n.y.scale*r.y;return(h!==1||p!==1)&&(o+=`scale(${h}, ${p})`),o||"none"}const Qn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Oi=typeof window<"u"&&window.MotionDebug!==void 0,uu=["","X","Y","Z"],gE={visibility:"hidden"},Wp=1e3;let yE=0;function cu(n,r,s,o){const{latestValues:l}=r;l[n]&&(s[n]=l[n],r.setStaticValue(n,0),o&&(o[n]=0))}function Zg(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:r}=n.options;if(!r)return;const s=og(r);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:c}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",Se,!(l||c))}const{parent:o}=n;o&&!o.hasCheckedOptimisedAppear&&Zg(o)}function Jg({attachResizeListener:n,defaultParent:r,measureScroll:s,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(d={},h=r?.()){this.id=yE++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Oi&&(Qn.totalNodes=Qn.resolvedTargetDeltas=Qn.recalculatedProjection=0),this.nodes.forEach(wE),this.nodes.forEach(CE),this.nodes.forEach(PE),this.nodes.forEach(SE),Oi&&window.MotionDebug.record(Qn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new iE)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new dc),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const p=this.eventHandlers.get(d);p&&p.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=nE(d),this.instance=d;const{layoutId:p,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(m||p)&&(this.isLayoutDirty=!0),n){let v;const w=()=>this.root.updateBlockedByResize=!1;n(d,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=sE(w,250),Eo.hasAnimatedSinceResize&&(Eo.hasAnimatedSinceResize=!1,this.nodes.forEach(Kp))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||m)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:w,hasRelativeTargetChanged:E,layout:L})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||g.getDefaultTransition()||LE,{onLayoutAnimationStart:C,onLayoutAnimationComplete:D}=g.getProps(),_=!this.targetLayout||!Xg(this.targetLayout,L)||E,I=!w&&E;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||w&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,I);const H={...sc(j,"layout"),onPlay:C,onComplete:D};(g.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H)}else w||Kp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=L})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Mn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(RE),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Zg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Hp);return}this.isUpdating||this.nodes.forEach(EE),this.isUpdating=!1,this.nodes.forEach(kE),this.nodes.forEach(vE),this.nodes.forEach(xE),this.clearAllSnapshots();const h=Gt.now();Ge.delta=cn(0,1e3/60,h-Ge.timestamp),Ge.timestamp=h,Ge.isProcessing=!0,eu.update.process(Ge),eu.preRender.process(Ge),eu.render.process(Ge),Ge.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Yu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(TE),this.sharedNodes.forEach(jE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=_e(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Qg(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;d&&(h||Yn(this.latestValues)||g)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return d&&(p=this.removeTransform(p)),ME(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:h}=this.options;if(!h)return _e();const p=h.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(DE))){const{scroll:g}=this.root;g&&(Mr(p.x,g.offset.x),Mr(p.y,g.offset.y))}return p}removeElementScroll(d){var h;const p=_e();if(Pt(p,d),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return p;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:v,options:w}=g;g!==this.root&&v&&w.layoutScroll&&(v.wasRoot&&Pt(p,d),Mr(p.x,v.offset.x),Mr(p.y,v.offset.y))}return p}applyTransform(d,h=!1){const p=_e();Pt(p,d);for(let m=0;m<this.path.length;m++){const g=this.path[m];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Dr(p,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Yn(g.latestValues)&&Dr(p,g.latestValues)}return Yn(this.latestValues)&&Dr(p,this.latestValues),p}removeTransform(d){const h=_e();Pt(h,d);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!Yn(m.latestValues))continue;Lu(m.latestValues)&&m.updateSnapshot();const g=_e(),v=m.measurePageBox();Pt(g,v),Fp(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return Yn(this.latestValues)&&Fp(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ge.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var h;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==p;if(!(d||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:w}=this.options;if(!(!this.layout||!(v||w))){if(this.resolvedRelativeTargetAt=Ge.timestamp,!this.targetDelta&&!this.relativeTarget){const E=this.getClosestProjectingParent();E&&E.layout&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),Bi(this.relativeTargetOrigin,this.layout.layoutBox,E.layout.layoutBox),Pt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=_e(),this.targetWithTransforms=_e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),IT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Pt(this.target,this.layout.layoutBox),Wg(this.target,this.targetDelta)):Pt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const E=this.getClosestProjectingParent();E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_e(),this.relativeTargetOrigin=_e(),Bi(this.relativeTargetOrigin,this.target,E.target),Pt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Oi&&Qn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Lu(this.parent.latestValues)||$g(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;const h=this.getLead(),p=!!this.resumingFrom||this!==h;let m=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Ge.timestamp&&(m=!1),m)return;const{layout:g,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||v))return;Pt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,E=this.treeScale.y;HT(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=_e());const{target:L}=h;if(!L){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Op(this.prevProjectionDelta.x,this.projectionDelta.x),Op(this.prevProjectionDelta.y,this.projectionDelta.y)),bi(this.projectionDelta,this.layoutCorrected,L,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==E||!$p(this.projectionDelta.x,this.prevProjectionDelta.x)||!$p(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",L)),Oi&&Qn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Lr(),this.projectionDelta=Lr(),this.projectionDeltaWithTransform=Lr()}setAnimationOrigin(d,h=!1){const p=this.snapshot,m=p?p.latestValues:{},g={...this.latestValues},v=Lr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=_e(),E=p?p.source:void 0,L=this.layout?this.layout.source:void 0,j=E!==L,C=this.getStack(),D=!C||C.members.length<=1,_=!!(j&&!D&&this.options.crossfade===!0&&!this.path.some(AE));this.animationProgress=0;let I;this.mixTargetDelta=H=>{const U=H/1e3;Gp(v.x,d.x,U),Gp(v.y,d.y,U),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bi(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),NE(this.relativeTarget,this.relativeTargetOrigin,w,U),I&&hE(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=_e()),Pt(I,this.relativeTarget)),j&&(this.animationValues=g,aE(g,m,this.latestValues,U,_,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Mn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Se.update(()=>{Eo.hasAnimatedSinceResize=!0,this.currentAnimation=tE(0,Wp,{...d,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Wp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:g}=d;if(!(!h||!p||!m)){if(this!==d&&this.layout&&m&&ey(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||_e();const v=xt(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+v;const w=xt(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+w}Pt(h,p),Dr(h,g),bi(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new pE),this.sharedNodes.get(d).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var d;const{layoutId:h}=this.options;return h?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:h}=this.options;return h?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&cu("z",d,m,this.animationValues);for(let g=0;g<uu.length;g++)cu(`rotate${uu[g]}`,d,m,this.animationValues),cu(`skew${uu[g]}`,d,m,this.animationValues);d.render();for(const g in m)d.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);d.scheduleRender()}getProjectionStyles(d){var h,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return gE;const m={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=So(d?.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none",m;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const j={};return this.options.layoutId&&(j.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,j.pointerEvents=So(d?.pointerEvents)||""),this.hasProjected&&!Yn(this.latestValues)&&(j.transform=g?g({},""):"none",this.hasProjected=!1),j}const w=v.animationValues||v.latestValues;this.applyTransformsToTarget(),m.transform=mE(this.projectionDeltaWithTransform,this.treeScale,w),g&&(m.transform=g(w,m.transform));const{x:E,y:L}=this.projectionDelta;m.transformOrigin=`${E.origin*100}% ${L.origin*100}% 0`,v.animationValues?m.opacity=v===this?(p=(h=w.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:m.opacity=v===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const j in jo){if(w[j]===void 0)continue;const{correct:C,applyTo:D}=jo[j],_=m.transform==="none"?w[j]:C(w[j],v);if(D){const I=D.length;for(let H=0;H<I;H++)m[D[H]]=_}else m[j]=_}return this.options.layoutId&&(m.pointerEvents=v===this?So(d?.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(Hp),this.root.sharedNodes.clear()}}}function vE(n){n.updateLayout()}function xE(n){var r;const s=((r=n.resumeFrom)===null||r===void 0?void 0:r.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&s&&n.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:l}=n.layout,{animationType:c}=n.options,d=s.source!==n.layout.source;c==="size"?Rt(v=>{const w=d?s.measuredBox[v]:s.layoutBox[v],E=xt(w);w.min=o[v].min,w.max=w.min+E}):ey(c,s.layoutBox,o)&&Rt(v=>{const w=d?s.measuredBox[v]:s.layoutBox[v],E=xt(o[v]);w.max=w.min+E,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+E)});const h=Lr();bi(h,o,s.layoutBox);const p=Lr();d?bi(p,n.applyTransform(l,!0),s.measuredBox):bi(p,o,s.layoutBox);const m=!Qg(h);let g=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:w,layout:E}=v;if(w&&E){const L=_e();Bi(L,s.layoutBox,w.layoutBox);const j=_e();Bi(j,o,E.layoutBox),Xg(L,j)||(g=!0),v.options.layoutRoot&&(n.relativeTarget=j,n.relativeTargetOrigin=L,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:o,snapshot:s,delta:p,layoutDelta:h,hasLayoutChanged:m,hasRelativeTargetChanged:g})}else if(n.isLead()){const{onExitComplete:o}=n.options;o&&o()}n.options.transition=void 0}function wE(n){Oi&&Qn.totalNodes++,n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function SE(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function TE(n){n.clearSnapshot()}function Hp(n){n.clearMeasurements()}function EE(n){n.isLayoutDirty=!1}function kE(n){const{visualElement:r}=n.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),n.resetTransform()}function Kp(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function CE(n){n.resolveTargetDelta()}function PE(n){n.calcProjection()}function RE(n){n.resetSkewAndRotation()}function jE(n){n.removeLeadSnapshot()}function Gp(n,r,s){n.translate=je(r.translate,0,s),n.scale=je(r.scale,1,s),n.origin=r.origin,n.originPoint=r.originPoint}function qp(n,r,s,o){n.min=je(r.min,s.min,o),n.max=je(r.max,s.max,o)}function NE(n,r,s,o){qp(n.x,r.x,s.x,o),qp(n.y,r.y,s.y,o)}function AE(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const LE={duration:.45,ease:[.4,0,.1,1]},Yp=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Qp=Yp("applewebkit/")&&!Yp("chrome/")?Math.round:vt;function Xp(n){n.min=Qp(n.min),n.max=Qp(n.max)}function ME(n){Xp(n.x),Xp(n.y)}function ey(n,r,s){return n==="position"||n==="preserve-aspect"&&!OT(Up(r),Up(s),.2)}function DE(n){var r;return n!==n.root&&((r=n.scroll)===null||r===void 0?void 0:r.wasRoot)}const _E=Jg({attachResizeListener:(n,r)=>qi(n,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),du={current:void 0},ty=Jg({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!du.current){const n=new _E({});n.mount(window),n.setOptions({layoutScroll:!0}),du.current=n}return du.current},resetTransform:(n,r)=>{n.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),OE={pan:{Feature:XT},drag:{Feature:QT,ProjectionNode:ty,MeasureLayout:Gg}};function Zp(n,r,s){const{props:o}=n;n.animationState&&o.whileHover&&n.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,c=o[l];c&&Se.postRender(()=>c(r,ts(r)))}class IE extends _n{mount(){const{current:r}=this.node;r&&(this.unmount=Ow(r,s=>(Zp(this.node,s,"Start"),o=>Zp(this.node,o,"End"))))}unmount(){}}class VE extends _n{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=es(qi(this.node.current,"focus",()=>this.onFocus()),qi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Jp(n,r,s){const{props:o}=n;n.animationState&&o.whileTap&&n.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),c=o[l];c&&Se.postRender(()=>c(r,ts(r)))}class FE extends _n{mount(){const{current:r}=this.node;r&&(this.unmount=bw(r,s=>(Jp(this.node,s,"Start"),(o,{success:l})=>Jp(this.node,o,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Du=new WeakMap,fu=new WeakMap,bE=n=>{const r=Du.get(n.target);r&&r(n)},BE=n=>
vendor: 6,554 bytes, line 10
10{n.forEach(bE)};function zE({root:n,...r}){const s=n||document;fu.has(s)||fu.set(s,{});const o=fu.get(s),l=JSON.stringify(r);return o[l]||(o[l]=new IntersectionObserver(BE,{root:n,...r})),o[l]}function UE(n,r,s){const o=zE(r);return Du.set(n,s),o.observe(n),()=>{Du.delete(n),o.unobserve(n)}}const $E={some:0,all:1};class WE extends _n{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:s,margin:o,amount:l="some",once:c}=r,d={root:s?s.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:$E[l]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,c&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),w=m?g:v;w&&w(p)};return UE(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:s}=this.node;["amount","margin","root"].some(HE(r,s))&&this.startObserver()}unmount(){}}function HE({viewport:n={}},{viewport:r={}}={}){return s=>n[s]!==r[s]}const KE={inView:{Feature:WE},tap:{Feature:FE},focus:{Feature:VE},hover:{Feature:IE}},GE={layout:{ProjectionNode:ty,MeasureLayout:Gg}},_o={current:null},Sc={current:!1};function ny(){if(Sc.current=!0,!!Wu)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),r=()=>_o.current=n.matches;n.addListener(r),r()}else _o.current=!1}const qE=[...Rg,Je,Dn],YE=n=>qE.find(Pg(n)),em=new WeakMap;function QE(n,r,s){for(const o in r){const l=r[o],c=s[o];if(et(l))n.addValue(o,l);else if(et(c))n.addValue(o,Ki(l,{owner:n}));else if(c!==l)if(n.hasValue(o)){const d=n.getValue(o);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=n.getStaticValue(o);n.addValue(o,Ki(d!==void 0?d:l,{owner:n}))}}for(const o in s)r[o]===void 0&&n.removeValue(o);return r}const tm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class XE{scrapeMotionValuesFromProps(r,s,o){return{}}constructor({parent:r,props:s,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:c,visualState:d},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const E=Gt.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Se.render(this.render,!1,!0))};const{latestValues:p,renderState:m,onUpdate:g}=d;this.onUpdate=g,this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=m,this.parent=r,this.props=s,this.presenceContext=o,this.depth=r?r.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=$o(s),this.isVariantNode=Om(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:v,...w}=this.scrapeMotionValuesFromProps(s,{},this);for(const E in w){const L=w[E];p[E]!==void 0&&et(L)&&L.set(p[E],!1)}}mount(r){this.current=r,em.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),Sc.current||ny(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:_o.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){em.delete(this.current),this.projection&&this.projection.unmount(),Mn(this.notifyUpdate),Mn(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const s=this.features[r];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(r,s){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const o=nr.has(r),l=s.on("change",h=>{this.latestValues[r]=h,this.props.onUpdate&&Se.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),c=s.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,r,s)),this.valueSubscriptions.set(r,()=>{l(),c(),d&&d(),s.owner&&s.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Ir){const s=Ir[r];if(!s)continue;const{isEnabled:o,Feature:l}=s;if(!this.features[r]&&l&&o(this.props)&&(this.features[r]=new l(this)),this.features[r]){const c=this.features[r];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_e()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,s){this.latestValues[r]=s}update(r,s){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let o=0;o<tm.length;o++){const l=tm[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,d=r[c];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=QE(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 5,739 bytes, line 10
10addVariantChild(r){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(r),()=>s.variantChildren.delete(r)}addValue(r,s){const o=this.values.get(r);s!==o&&(o&&this.removeValue(r),this.bindToMotionValue(r,s),this.values.set(r,s),this.latestValues[r]=s.get())}removeValue(r){this.values.delete(r);const s=this.valueSubscriptions.get(r);s&&(s(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,s){if(this.props.values&&this.props.values[r])return this.props.values[r];let o=this.values.get(r);return o===void 0&&s!==void 0&&(o=Ki(s===null?void 0:s,{owner:this}),this.addValue(r,o)),o}readValue(r,s){var o;let l=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(o=this.getBaseTargetFromProps(this.props,r))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,r,this.options);return l!=null&&(typeof l=="string"&&(kg(l)||mg(l))?l=parseFloat(l):!YE(l)&&Dn.test(s)&&(l=Sg(r,s)),this.setBaseTarget(r,et(l)?l.get():l)),et(l)?l.get():l}setBaseTarget(r,s){this.baseTarget[r]=s}getBaseTarget(r){var s;const{initial:o}=this.props;let l;if(typeof o=="string"||typeof o=="object"){const d=Xu(this.props,o,(s=this.presenceContext)===null||s===void 0?void 0:s.custom);d&&(l=d[r])}if(o&&l!==void 0)return l;const c=this.getBaseTargetFromProps(this.props,r);return c!==void 0&&!et(c)?c:this.initialValues[r]!==void 0&&l===void 0?void 0:this.baseTarget[r]}on(r,s){return this.events[r]||(this.events[r]=new dc),this.events[r].add(s)}notify(r,...s){this.events[r]&&this.events[r].notify(...s)}}class ry extends XE{constructor(){super(...arguments),this.KeyframeResolver=jg}sortInstanceNodePosition(r,s){return r.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(r,s){return r.style?r.style[s]:void 0}removeValueFromRenderState(r,{vars:s,style:o}){delete s[r],delete o[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;et(r)&&(this.childSubscription=r.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function ZE(n){return window.getComputedStyle(n)}class JE extends ry{constructor(){super(...arguments),this.type="html",this.renderInstance=Wm}readValueFromInstance(r,s){if(nr.has(s)){const o=gc(s);return o&&o.default||0}else{const o=ZE(r),l=(zm(s)?o.getPropertyValue(s):o[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(r,{transformPagePoint:s}){return Hg(r,s)}build(r,s,o){ec(r,s,o.transformTemplate)}scrapeMotionValuesFromProps(r,s,o){return ic(r,s,o)}}class ek extends ry{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_e}getBaseTargetFromProps(r,s){return r[s]}readValueFromInstance(r,s){if(nr.has(s)){const o=gc(s);return o&&o.default||0}return s=Hm.has(s)?s:qu(s),r.getAttribute(s)}scrapeMotionValuesFromProps(r,s,o){return qm(r,s,o)}build(r,s,o){tc(r,s,this.isSVGTag,o.transformTemplate)}renderInstance(r,s,o,l){Km(r,s,o,l)}mount(r){this.isSVGTag=rc(r.tagName),super.mount(r)}}const tk=(n,r)=>Qu(n)?new ek(r):new JE(r,{allowProjection:n!==P.Fragment}),nk=jw({...PT,...KE,...OE,...GE},tk),Zn=$1(nk);function rk(){!Sc.current&&ny();const[n]=P.useState(_o.current);return n}const ik=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iy=(...n)=>n.filter((r,s,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===s).join(" ").trim();var sk={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ok=P.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:c,iconNode:d,...h},p)=>P.createElement("svg",{ref:p,...sk,width:r,height:r,stroke:n,strokeWidth:o?Number(s)*24/Number(r):s,className:iy("lucide",l),...h},[...d.map(([m,g])=>P.createElement(m,g)),...Array.isArray(c)?c:[c]]));const tt=(n,r)=>{const s=P.forwardRef(({className:o,...l},c)=>P.createElement(ok,{ref:c,iconNode:r,className:iy(`lucide-${ik(n)}`,o),...l}));return s.displayName=`${n}`,s};const ak=tt("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const Oo=tt("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const Jn=tt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const lk=tt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const uk=tt("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const ck=tt("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const dk=tt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const fk=tt("Fingerprint",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}
10],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);const hk=tt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const sy=tt("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const oy=tt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const pk=tt("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const mk=tt("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const gk=tt("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);const yk=tt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const _u=tt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ve=({children:n,delay:r=0,y:s=24,className:o="",as:l="div",once:c=!0,...d})=>{const h=rk(),p=Zn[l]||Zn.div,m=r>10?r/1e3:r;return x.jsx(p,{className:o,initial:{opacity:0,y:h?0:s},whileInView:{opacity:1,y:0},viewport:{once:c,margin:"-60px"},transition:{duration:.6,delay:m,ease:[.22,1,.36,1]},...d,children:n})},ay=({title:n,description:r,image:s,url:o,siteName:l,type:c="website"})=>{const d=o||window.location.origin+window.location.pathname;return x.jsxs($i,{children:[x.jsx("link",{rel:"canonical",href:d}),x.jsx("meta",{property:"og:url",content:d}),x.jsx("meta",{property:"og:type",content:c}),l&&x.jsx("meta",{property:"og:site_name",content:l}),n&&x.jsx("meta",{property:"og:title",content:n}),r&&x.jsx("meta",{property:"og:description",content:r}),s&&x.jsx("meta",{property:"og:image",content:s}),x.jsx("meta",{name:"twitter:card",content:s?"summary_large_image":"summary"}),n&&x.jsx("meta",{name:"twitter:title",content:n}),r&&x.jsx("meta",{name:"twitter:description",content:r}),s&&x.jsx("meta",{name:"twitter:image",content:s})]})},ly="https://images.hostinger.com/0aa765b2-981b-45bf-81bc-7101526cf6ee.png",vk="https://images.hostinger.com/294bff51-6e38-4c7f-9fd0-85cc2e6d9ef8.png",xk="https://images.hostinger.com/f6d59e50-4b0b-427a-9e74-f90c979dd1ff.png",wk="https://images.hostinger.com/6d6b665d-d61d-484d-b8b1-7080e2bc17bc.png",uy="https://horizons-cdn.hostinger.com/c190c861-ba31-4df6-8c25-3ef04ea7225b/06bcb7e3e74132f58b317fe25d4c3696.png",Io="KRIMES KONSULT LTD",nm=["No Upfront Recovery Fees","Independent Investigations","Evidence-Based Analysis","Selective Case Acceptance","No Guaranteed Recovery Claims"],Sk=[{icon:mk,title:"Blockchain Intelligence",body:"Wallet tracing, transaction mapping, and fund-movement analysis across major chains and bridging services."},{icon:ck,title:"Open Source Intelligence",body:"Structured OSINT research into domains, personas, infrastru
10cture, and corporate registrations tied to an incident."},{icon:fk,title:"Entity Attribution",body:"Clustering of addresses and off-chain identifiers to distinguish services, intermediaries, and controlling parties."},{icon:dk,title:"Investigative Reporting",body:"Written findings prepared for counsel, law enforcement referral, or internal decision-making â with stated confidence levels."},{icon:sy,title:"Evidence Preservation",body:"Guidance on capturing and safeguarding records, communications, and account data before they become unavailable."},{icon:gk,title:"Options Assessment",body:"A candid review of the investigative and legal avenues that may â or may not â remain available in your matter."}],Tk=[{n:"01",title:"Initial Case Assessment",items:["Review documentation","Assess available evidence","Determine investigative viability"]},{n:"02",title:"Evidence Collection",items:["Wallet addresses","Transaction history","Communications","Documentation","Exchange information"]},{n:"03",title:"Blockchain Investigation",items:["Wallet tracing","Transaction mapping","Fund movement analysis","Entity attribution","Blockchain intelligence"]},{n:"04",title:"Investigative Analysis",items:["Timeline reconstruction","Scam infrastructure","Risk assessment","Evidence verification","Investigative findings"]}],Ek=["A crypto recovery company","A recovery boiler room","A recovery scam","A firm that guarantees recovery","A firm charging upfront recovery fees","A business promising impossible results"],kk=["An independent investigative firm","Evidence-driven in every engagement","Selective about the cases we accept","Transparent about the limits of analysis","Focused on facts, analysis, and guidance"],Ck=[{q:"Can you recover my funds?",a:"We do not recover funds and we do not guarantee any outcome. Our work is investigative: we analyse the available evidence, trace transactions where the chain permits, and document findings that you or your counsel may act upon."},{q:"Do you charge a percentage of recovered assets?",a:"No. We do not charge upfront recovery fees or success fees on assets, because we are not a recovery service. Engagements are scoped as professional investigative work."},{q:"Will you take every case?",a:"No. Following assessment we decline matters where the available evidence is insufficient, or where no realistic investigative avenue exists. We will tell you plainly when that is the case."},{q:"What do I receive at the end?",a:"A written investigative report setting out the verified facts, the transaction analysis, attribution findings with confidence levels, the limitations of that analysis, and recommended next steps."}],vo=({href:n,children:r})=>x.jsx("a",{href:n,className:"text-sm text-muted-foreground transition-colors hover:text-foreground",children:r});function Pk(){const[n,r]=P.useState(!1);return x.jsxs("header",{className:"fixed inset-x-0 top-0 z-50 border-b border-border/60 bg-background/85 backdrop-blur-md",children:[x.jsxs("div",{className:"mx-auto flex max-w-[80rem] items-center justify-between px-6 py-4",children:[x.jsxs("a",{href:"#top",className:"flex items-center gap-3",children:[x.jsx("img",{src:uy,alt:"",width:40,height:40,className:"h-10 w-10 object-contain"}),x.jsxs("span",{className:"font-display text-[0.95rem] leading-tight tracking-tight",children:["KRIMES",x.jsx("span",{className:"text-accent",children:"."}),x.jsx("span",{className:"ml-1 hidden text-xs uppercase tracking-[0.22em] text-muted-foreground sm:inline",children:"KONSULT LTD"})]})]}),x.jsxs("nav",{className:"hidden items-center gap-8 md:flex",children:[x.jsx(vo,{href:"#disciplines",children:"Capabilities"}),x.jsx(vo,{href:"#process",children:"Process"}),x.jsx(vo,{href:"#position",children:"Our Position"}),x.jsx(vo,{href:"#faq",children:"FAQ"}),x.jsx(on,{to:"/contact",className:"border border-accent/60 px-4 py-2 text-xs uppercase tracking-[0.16em] text-accent transition-colors hover:bg-accent hover:text-accent-foreground",children:"Request Assessment"})]}),x.jsx("button",{onClick:()=>r(!n),"aria-label":"Menu",className:"md:hidden",children:n?x.jsx(_u,{className:"h-5 w-5"}):x.jsx(pk,{className:"h-5 w-5"})})]}),n&&x.jsx("div",{className:"border-t border-border/60 px-6 py-4 md:hidden",children:x.jsxs("div",{className:"flex flex-col gap-4",children:[[["#disciplines","Capabilities"],["#process","Process"],["#position","Our Position"],["#faq","FAQ"]].map(([s,o])=>x.jsx("a",{href:s,onClick:()=>r(!1),className:"text-sm text-muted-foreground",children:o},s)),x.jsx(on,{to:"/contact",onClick:()=>r(!1),className:"border border-accent/60 py-3 text-center text-xs uppercase tracking-[0.16em] text-accent",children:"Request Assessment"})]})})]})}function Rk(){return x.jsxs("section",{id:"top",className:"relative flex min-h-[100dvh] items-end overflow-hidden pt-28",children:[x.jsx("img",{src:ly,alt:"Abstract blockchain network analysis visualisation",className:"absolute inset-0 h-full w-full object-cover opacity-45"}),x.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/85 to-background/40"}),x.jsx("div",{className:"grain pointer-events-none absolute inset-0 opacity-40"}),x.jsxs("div",{className:"relative mx-auto w-full max-w-[80rem] px-6 pb-20",children:[x.jsxs(Zn.p,{initial:{opacity:0,y:12}
10,animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"mb-8 flex items-center gap-3 text-[0.68rem] uppercase tracking-[0.3em] text-accent",children:[x.jsx("span",{className:"h-px w-10 bg-accent/70"})," Independent · Evidence-Led · Confidential"]}),x.jsxs(Zn.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.75,delay:.08,ease:"easeOut"},className:"max-w-4xl font-display text-[2.6rem] font-normal leading-[1.05] tracking-[-0.02em] sm:text-6xl lg:text-[4.6rem]",children:["Independent Digital",x.jsx("br",{}),"Asset Investigations"]}),x.jsx(Zn.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.75,delay:.18,ease:"easeOut"},className:"mt-8 max-w-2xl text-[1.02rem] leading-relaxed text-muted-foreground",children:"We investigate cryptocurrency fraud, digital asset theft, investment scams, and blockchain-related financial crime through evidence-based analysis, blockchain intelligence, and professional investigative guidance."}),x.jsxs(Zn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.28,ease:"easeOut"},className:"mt-11 flex flex-col gap-3 sm:flex-row sm:items-center",children:[x.jsxs(on,{to:"/contact",className:"group inline-flex min-h-[52px] items-center justify-center gap-3 bg-accent px-8 text-xs uppercase tracking-[0.18em] text-accent-foreground transition-transform active:scale-[0.98]",children:["Request Case Assessment",x.jsx(Oo,{className:"h-4 w-4 transition-transform group-hover:translate-x-1",strokeWidth:1.75})]}),x.jsx("a",{href:"#process",className:"inline-flex min-h-[52px] items-center justify-center border border-border px-8 text-xs uppercase tracking-[0.18em] text-foreground/90 transition-colors hover:border-foreground
10/50",children:"Learn Our Process"})]}),x.jsx("p",{className:"mt-10 max-w-xl border-l border-border pl-4 text-xs leading-relaxed text-muted-foreground",children:"We are not a recovery company. We do not guarantee recovery of funds or any legal outcome."})]})]})}function jk(){const n=[...nm,...nm];return x.jsx("div",{className:"border-y border-border bg-secondary/40 py-4",children:x.jsx("div",{className:"flex overflow-hidden",children:x.jsx("div",{className:"marquee-track flex w-max shrink-0 items-center gap-12 pr-12",children:n.concat(n).map((r,s)=>x.jsxs("span",{className:"flex items-center gap-3 whitespace-nowrap text-[0.7rem] uppercase tracking-[0.22em] text-muted-foreground",children:[x.jsx(Jn,{className:"h-3.5 w-3.5 text-accent",strokeWidth:2}),r]},s))})})})}function Nk(){return x.jsx("section",{className:"mx-auto max-w-[72rem] px-6 py-24 sm:py-32",children:x.jsxs("div",{className:"grid gap-14 lg:grid-cols-12",children:[x.jsx("div",{className:"lg:col-span-5",children:x.jsxs(Ve,{children:[x.jsx("p",{className:"text-[0.68rem] uppercase tracking-[0.28em] text-accent",children:"The Mandate"}),x.jsx("h2",{className:"mt-6 font-display text-3xl leading-[1.15] tracking-tight sm:text-[2.6rem]",children:"Evidence first. Conclusions only where the evidence supports them."})]})}),x.jsxs("div",{className:"space-y-6 text-[0.98rem] leading-relaxed text-muted-foreground lg:col-span-6 lg:col-start-7",children:[x.jsx(Ve,{delay:.08,children:x.jsxs("p",{children:[Io," is an independent investigative practice. We are engaged by individuals, companies, and legal counsel to establish what actually happened in incidents involving digital assets â and to document it to a standard that can withstand scrutiny."]})}),x.jsx(Ve,{delay:.14,children:x.jsx("p",{children:"Our work begins with the available facts: records, wallet addresses, communications, and account data. From there we perform blockchain transaction analysis and open-source intelligence research, identify investigative leads, and assess the legal and investigative options that realistically remain."})}),x.jsx(Ve,{delay:.2,children:x.jsx("div",{className:"grid grid-cols-2 gap-px border border-border bg-border",children:[["Deliverable","Written investigative report"],["Fee model","Scoped professional fees"],["Case intake","Selective, assessed first"],["Outcome","Findings â never guarantees"]].map(([n,r])=>x.jsxs("div",{className:"bg-card p-5",children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.2em] text-muted-foreground/70",children:n}),x.jsx("p",{className:"mt-2 text-sm text-foreground",children:r})]},n))})})]})]})})}function Ak(){return x.jsx("section",{id:"disciplines",className:"border-t border-border bg-secondary/20",children:x.jsxs("div",{className:"mx-auto max-w-[80rem] px-6 py-24 sm:py-28",children:[x.jsx(Ve,{children:x.jsxs("div",{className:"flex flex-col gap-4 border-b border-border pb-10 sm:flex-row sm:items-end sm:justify-between",children:[x.jsx("h2",{className:"max-w-xl font-display text-3xl leading-tight tracking-tight sm:text-4xl",children:"Investigative capabilities"}),x.jsx("p",{className:"max-w-sm text-sm leading-relaxed text-muted-foreground",children:"Six disciplines applied in combination, according to what a matter genuinely requires."})]})}),x.jsx("div",{className:"grid gap-px border-b border-border bg-border sm:grid-cols-2 lg:grid-cols-3",children:Sk.map((n,r)=>x.jsx(Ve,{delay:r*.05,children:x.jsxs("div",{className:"group h-full bg-background p-8 transition-colors hover:bg-card",children:[x.jsx(n.icon,{className:"h-6 w-6 text-accent",strokeWidth:1.4}),x.jsx("h3",{className:"mt-6 text-base font-medium tracking-tight",children:n.title}),x.jsx("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:n.body})]})},n.title))})]})})}function Lk(){return x.jsxs("section",{id:"process",className:"relative overflow-hidden border-t border-border",children:[x.jsx("img",{src:xk,alt:"Abstract dotted world map with connection arcs",className:"pointer-events-none absolute inset-x-0 top-0 h-[420px] w-full object-cover opacity-20"}),x.jsx("div",{className:"absolute inset-x-0 top-0 h-[420px] bg-gradient-to-b from-transparent to-background"}),x.jsxs("div",{className:"relative mx-auto max-w-[72rem] px-6 py-24 sm:py-32",children:[x.jsxs(Ve,{children:[x.jsx("p",{className:"text-[0.68rem] uppercase tracking-[0.28em] text-accent",children:"Our Process"}),x.jsx("h2",{className:"mt-6 max-w-2xl font-display text-3xl leading-[1.15] tracking-tight sm:text-[2.7rem]",children:"A methodical four-stage investigation"}),x.jsx("p",{className:"mt-5 max-w-2xl text-sm leading-relaxed text-muted-foreground",children:"Each stage has a defined output. If a stage shows that no viable investigative avenue exists, we say so and stop rather than continue billable work."})]}),x.jsx("ol",{className:"mt-16 space-y-px bg-border",children:Tk.map((n,r)=>x.jsx(Ve,{delay:r*.06,children:x.jsxs("li",{className:"grid gap-6 bg-background py-10 md:grid-cols-12 md:gap-10",children:[x.jsx("div",{className:"md:col-span-3",children:x.jsx("span",{className:"font-display text-4xl text-accent/70",children:n.n})}),x.jsx("h3",{className:"font-display text-xl tracking-tight md:col-span-4",children:n.title}),x.jsx("ul",{className:"space-y-2.5 md:col-span-5",children:n.items.map(s=>x.jsxs("li",{className:"flex items-start gap-3 text-sm text-muted-foreground",children:[x.jsx("span",{className:"mt-[0.45rem] h-1 w-4 shrink-0 bg-primary/70"}),s]},s))})]})},n.n))})]})]})}function Mk(){return x.jsx("section",{id:"position",className:"border-t border-border bg-card/60",children:x.jsxs("div",{className:"mx-auto max-w-[80rem] px-6 py-24 sm:py-28",children:[x.jsx(Ve,{children:x.jsx("h2",{className:"max-w-2xl font-display text-3xl leading-tight tracking-tight sm:text-4xl",children:"Where we stand, stated plainly"})}),x.jsxs("div",{className:"mt-14 grid gap-px bg-border lg:grid-cols-2",children:[x.jsx(Ve,{children:x.jsxs("div",{className:"h-full bg-background p-9",children:[x.jsxs("p",{className:"flex items-center gap-3 text-[0.68rem] uppercase tracking-[0.24em] text-destructive-foreground
10/70",children:[x.jsx(_u,{className:"h-4 w-4 text-destructive",strokeWidth:2})," We are not"]}),x.jsx("ul",{className:"mt-7 space-y-4",children:Ek.map(n=>x.jsxs("li",{className:"flex items-start gap-3 border-b border-border/70 pb-4 text-sm text-muted-foreground",children:[x.jsx(_u,{className:"mt-0.5 h-4 w-4 shrink-0 text-destructive",strokeWidth:1.75}),n]},n))})]})}),x.jsx(Ve,{delay:.08,children:x.jsxs("div",{className:"h-full bg-background p-9",children:[x.jsxs("p",{className:"flex items-center gap-3 text-[0.68rem] uppercase tracking-[0.24em] text-accent",children:[x.jsx(Jn,{className:"h-4 w-4",strokeWidth:2})," We are"]}),x.jsx("ul",{className:"mt-7 space-y-4",children:kk.map(n=>x.jsxs("li",{className:"flex items-start gap-3 border-b border-border/70 pb-4 text-sm text-foreground/90",children:[x.jsx(Jn,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent",strokeWidth:1.75}),n]},n))})]})})]}),x.jsx(Ve,{delay:.12,children:x.jsx("p",{className:"mt-10 max-w-3xl border-l-2 border-accent/60 pl-5 text-sm leading-relaxed text-muted-foreground",children:"We do not guarantee recovery. We do not guarantee legal outcomes. We do not promise impossible results. Any firm that does should be treated with caution."})})]})})}function Dk(){return x.jsx("section",{className:"border-t border-border",children:x.jsxs("div",{className:"mx-auto grid max-w-[80rem] items-stretch gap-px bg-border px-0 lg:grid-cols-2",children:[x.jsx("div",{className:"relative min-h-[360px]",children:x.jsx("img",{src:vk,alt:"Investigative case file review at a forensic consulting desk",className:"absolute inset-0 h-full w-full object-cover opacity-90"})}),x.jsxs("div",{className:"bg-background px-6 py-16 sm:px-12",children:[x.jsxs(Ve,{children:[x.jsx("p",{className:"text-[0.68rem] uppercase tracking-[0.28em] text-accent",children:"Matters We Review"}),x.jsx("h2",{className:"mt-6 font-display text-3xl leading-tight tracking-tight",children:"Incident types"})]}),x.jsx("div",{className:"mt-10 grid gap-px bg-border sm:grid-cols-2",children:["Investment and trading platform fraud","Digital asset theft and wallet compromise","Romance and social-engineering scams","Fraudulent token and presale schemes","Business email compromise involving crypto","Unauthorised transfers and insider misuse"].map(n=>x.jsx("div",{className:"bg-background py-5 pr-4 text-sm text-muted-foreground sm:px-4",children:n},n))}),x.jsx("div",{className:"mt-10 flex flex-wrap gap-x-10 gap-y-6 border-t border-border pt-8",children:[[uk,"Assessment response within two business days"],[sy,"Confidential handling of all case material"],[yk,"Declined where evidence is insufficient"]].map(([n,r])=>x.jsxs("p",{className:"flex max-w-[15rem] items-start gap-3 text-xs leading-relaxed text-muted-foreground",children:[x.jsx(n,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary",strokeWidth:1.5}),r]},r))})]})]})})}function _k(){const[n,r]=P.useState(0);return x.jsx("section",{id:"faq",className:"border-t border-border bg-secondary/20",children:x.jsxs("div",{className:"mx-auto grid max-w-[72rem] gap-14 px-6 py-24 lg:grid-cols-12",children:[x.jsx("div",{className:"lg:col-span-4",children:x.jsxs(Ve,{children:[x.jsx("h2",{className:"font-display text-3xl leading-tight tracking-tight",children:"Questions we expect"}),x.jsx("img",{src:wk,alt:"Investigators reviewing documentation in an advisory office",className:"mt-10 hidden aspect-[4/3] w-full object-cover lg:block"})]})}),x.jsx("div",{className:"lg:col-span-7 lg:col-start-6",children:x.jsx("div",{className:"border-t border-border",children:Ck.map((s,o)=>x.jsxs("div",{className:"border-b border-border",children:[x.jsxs("button",{onClick:()=>r(n===o?-1:o),className:"flex w-full items-center justify-between gap-6 py-6 text-left",children:[x.jsx("span",{className:"text-[0.98rem] font-medium tracking-tight",children:s.q}),x.jsx("span",{className:`text-accent transition-transform duration-200 ${n===o?"rotate-45":""}`,children:"+"})]}),n===o&&x.jsx(Zn.p,{initial:{opacity:0,y:-6},animate:{opacity:1,y:0},transition:{duration:.25,ease:"easeOut"},className:"pb-7 pr-8 text-sm leading-relaxed text-muted-foreground",children:s.a})]},s.q))})})]})})}function Ok(){return x.jsx("section",{id:"assessment",className:"border-t border-border",children:x.jsx("div",{className:"mx-auto max-w-[72rem] px-6 py-24 sm:py-32",children:x.jsxs("div",{className:"grid gap-14 lg:grid-cols-12",children:[x.jsx("div",{className:"lg:col-span-5",children:x.jsxs(Ve,{children:[x.jsx("p",{className:"text-[0.68rem] uppercase tracking-[0.28em] text-accent",children:"Case Assessment"}),x.jsx("h2",{className:"mt-6 font-display text-3xl leading-[1.15] tracking-tight sm:text-[2.4rem]",children:"Submit the facts. We will tell you what can be investigated."}),x.jsx("p",{className:"mt-6 text-sm leading-relaxed text-muted-foreground",children:"An assessment is a review of your documentation and the available evidence. It concludes with an honest statement of whether an investigation is viable â including when it is not."}),x.jsxs("p",{className:"mt-8 flex items-center gap-3 text-sm text-muted-foreground",children:[x.jsx(oy,{className:"h-4 w-4 text-accent",strokeWidth:1.5}),"[email protected]"]})]})}),x.jsx("div",{className:"lg:col-span-6 lg:col-start-7",children:x.jsx(Ve,{delay:.1,children:x.jsxs("div",{className:"border border-border bg-card p-8",children:[x.jsx("ol",{className:"space-y-6",children:[["Prepare your material","Transaction records, wallet addresses, communications, platform names, and dates."],["Send an assessment request","Describe the incident chronologically. Do not send funds or fees at this stage â none are requested."],["Receive a viability response","We confirm whether the matter is one we can investigate, and the scope of work if so."]].map(([n,r],s)=>x.jsxs("li",{className:"flex gap-5",children:[x.jsxs("span",{className:"font-display text-sm text-accent/80",children:["0",s+1]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium tracking-tight",children:n}),x.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:r})]})]},n))}),x.jsxs(on,{to:"/contact",className:"mt-9 flex min-h-[52px] items-center justify-center gap-3 bg-accent px-8 text-xs uppercase tracking-[0.18em] text-accent-foreground transition-transform active:scale-[0.98]",children:["Request Case Assessment ",x.jsx(Oo,{className:"h-4 w-4",strokeWidth:1.75})]}),x.jsx("p",{className:"mt-5 text-center text-[0.7rem] leading-relaxed text-muted-foreground",children:"No upfront recovery fees. No guarantee of recovery or legal outcome."})]})})})]})})})}function Ik(){return x.jsx("footer",{className:"border-t border-border bg-card/60",children:x.jsxs("div",{className:"mx-auto max-w-[80rem] px-6 py-14",children:[x.jsxs("div",{className:"grid gap-10 sm:grid-cols-2 lg:grid-cols-4",children:[x.jsxs("div",{children:[x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx("img",{src:uy,alt:"",width:44,height:44,className:"h-11 w-11 object-contain"}),x.jsx("p",{className:"font-display text-base",children:Io})]}),x.jsx("p",{className:"mt-3 text-xs leading-relaxed text-muted-foreground",children:"Independent digital asset investigations, blockchain intelligence, and investigative reporting."})]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.22em] text-muted-foreground
10/70",children:"Practice"}),x.jsxs("ul",{className:"mt-4 space-y-2 text-xs text-muted-foreground",children:[x.jsx("li",{children:x.jsx("a",{href:"#disciplines",className:"hover:text-foreground",children:"Capabilities"})}),x.jsx("li",{children:x.jsx("a",{href:"#process",className:"hover:text-foreground",children:"Process"})}),x.jsx("li",{children:x.jsx("a",{href:"#position",className:"hover:text-foreground",children:"Our position"})}),x.jsx("li",{children:x.jsx("a",{href:"#faq",className:"hover:text-foreground",children:"FAQ"})})]})]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.22em] text-muted-foreground/70",children:"Contact"}),x.jsxs("ul",{className:"mt-4 space-y-2 text-xs text-muted-foreground",children:[x.jsx("li",{children:"[email protected]"}),x.jsx("li",{children:"Assessment requests only"}),x.jsx("li",{children:"Correspondence in English"}),x.jsxs("li",{className:"pt-2 border-t border-border/40 mt-3",children:["19, Eynsham Drive",x.jsx("br",{}),"Abbey Wood",x.jsx("br",{}),"London, SE2 9QX",x.jsx("br",{}),"United Kingdom"]})]})]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.22em] text-muted-foreground/70",children:"Notice"}),x.jsx("p",{className:"mt-4 text-xs leading-relaxed text-muted-foreground",children:"Nothing on this site constitutes legal advice or a guarantee of recovery. We are an investigative firm, not a recovery service or law firm."})]})]}),x.jsxs("p",{className:"mt-12 border-t border-border pt-6 text-[0.7rem] text-muted-foreground/70",children:["© ",new Date().getFullYear()," ",Io,". All rights reserved."]})]})})}function Vk(){return x.jsxs("div",{className:"min-h-screen bg-background text-foreground antialiased",children:[x.jsxs($i,{children:[x.jsx("title",{children:"Independent Digital Asset Investigations | KRIMES KONSULT LTD"}),x.jsx("meta",{name:"description",content:"Independent investigative firm specialising in cryptocurrency fraud investigations, blockchain intelligence, OSINT, wallet tracing, and digital evidence analysis. Evidence-based analysis with no guaranteed recovery claims."})]}),x.jsx(ay,{title:"Independent Digital Asset Investigations",description:"Evidence-based cryptocurrency fraud investigations, blockchain intelligence, and professional investigative reporting.",image:ly,siteName:Io}),x.jsx(Pk,{}),x.jsxs("main",{children:[x.jsx(Rk,{}),x.jsx(jk,{}),x.jsx(Nk,{}),x.jsx(Ak,{}),x.jsx(Lk,{}),x.jsx(Mk,{}),x.jsx(Dk,{}),x.jsx(_k,{}),x.jsx(Ok,{})]}),x.jsx(Ik,{})]})}const Fk="/hcgi/api",bk={fetch:async(n,r={})=>await window.fetch(Fk+n,r)},rm="https://horizons-cdn.hostinger.com/c190c861-ba31-4df6-8c25-3ef04ea7225b/06bcb7e3e74132f58b317fe25d4c3696.png",Bk="KRIMES KONSULT LTD",zk=["USD","EUR","GBP","AUD","CAD","CHF","AED","SGD","JPY","Other"],Uk=["Email","Encrypted messaging","Phone (if provided)"],$k=["Transaction history / records","Wallet addresses","Communications / messages","Platform account screenshots","Identity / registration records","Police or counsel correspondence","None at present"],Wt="w-full min-h-[48px] border border-border bg-background/60 px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground/60 transition-colors focus:border-accent focus:outline-none focus:ring-1 focus:ring-accent/40";function Ht({children:n,required:r}){return x.jsxs("label",{className:"flex items-center gap-1 text-[0.7rem] uppercase tracking-[0.18em] text-muted-foreground",children:[n,r&&x.jsx("span",{className:"text-accent",children:"*"})]})}function Wk(){const[n,r]=P.useState({fullName:"",email:"",phone:"",jurisdiction:"",incidentDate:"",lossCurrency:"",lossAmount:"",contactMethod:"",walletTxids:"",incidentSummary:"",supportingDocs:[]}),[s,o]=P.useState("idle"),[l,c]=P.useState(""),d=m=>g=>r(v=>({...v,[m]:g.target.value})),h=m=>r(g=>{const v=g.supportingDocs.includes(m);let w=v?g.supportingDocs.filter(E=>E!==m):[...g.supportingDocs,m];return m==="None at present"&&!v?w=["None at present"]:m!=="None at present"&&w.includes("None at present")&&(w=w.filter(E=>E!=="None at present")),{...g,supportingDocs:w}}),p=async m=>{if(m.preventDefault(),s!=="submitting"){o("submitting"),c("");try{const g=await bk.fetch("/case-assessment",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,supportingDocs:n.supportingDocs.join(", ")||"None specified"})});if(!g.ok){const v=await g.json().catch(()=>({}));throw new Error(v.error||"Submission failed. Please try again.")}o("success")}catch(g){o("error"),c(g.message||"Something went wrong. Please email us directly.")}}};return x.jsxs("div",{className:"min-h-screen bg-background text-foreground antialiased",children:[x.jsxs($i,{children:[x.jsx("title",{children:"Case Assessment Request | KRIMES KONSULT LTD"}),x.jsx("meta",{name:"description",content:"Submit a case assessment request to KRIMES KONSULT LTD. Provide the facts of your digital asset incident and we will advise whether an investigation is viable."})]}),x.jsx(ay,{title:"Case Assessment Request â KRIMES KONSULT LTD",description:"Submit the facts of your digital asset incident for an evidence-based viability assessment.",siteName:Bk}),x.jsx("header",{className:"fixed inset-x-0 top-0 z-50 border-b border-border/60 bg-background/85 backdrop-blur-md",children:x.jsxs("div",{className:"mx-auto flex max-w-[80rem] items-center justify-between px-6 py-4",children:[x.jsxs(on,{to:"/",className:"flex items-center gap-3",children:[x.jsx("img",{src:rm,alt:"",width:40,height:40,className:"h-10 w-10 object-contain"}),x.jsxs("span",{className:"font-display text-[0.95rem] leading-tight tracking-tight",children:["KRIMES",x.jsx("span",{className:"text-accent",children:"."}),x.jsx("span",{className:"ml-1 hidden text-xs uppercase tracking-[0.22em] text-muted-foreground sm:inline",children:"KONSULT LTD"})]})]}),x.jsxs(on,{to:"/",className:"inline-flex items-center gap-2 text-xs uppercase tracking-[0.16em] text-muted-foreground transition-colors hover:text-foreground",children:[x.jsx(ak,{className:"h-3.5 w-3.5",
10strokeWidth:1.75})," Back to site"]})]})}),x.jsxs("main",{className:"mx-auto max-w-[72rem] px-6 pb-28 pt-32 sm:pt-40",children:[x.jsxs(Ve,{children:[x.jsx("p",{className:"text-[0.68rem] uppercase tracking-[0.28em] text-accent",children:"Case Assessment"}),x.jsx("h1",{className:"mt-6 max-w-3xl font-display text-3xl leading-[1.1] tracking-tight sm:text-[2.6rem]",children:"Submit the facts. We will tell you what can be investigated."}),x.jsx("p",{className:"mt-6 max-w-2xl text-sm leading-relaxed text-muted-foreground",children:"An assessment is a review of your documentation and the available evidence. It concludes with an honest statement of whether an investigation is viable â including when it is not. Fields marked with an asterisk are required."})]}),x.jsxs("div",{className:"mt-14 grid gap-12 lg:grid-cols-12",children:[x.jsx("aside",{className:"lg:col-span-4",children:x.jsx(Ve,{delay:.08,children:x.jsxs("div",{className:"space-y-8 border-l border-border pl-6",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.22em] text-muted-foreground/70",children:"Before you begin"}),x.jsxs("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-muted-foreground",children:[x.jsxs("li",{className:"flex gap-3",children:[x.jsx(Jn,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent",strokeWidth:1.75})," Gather transaction records, wallet addresses, and communications."]}),x.jsxs("li",{className:"flex gap-3",children:[x.jsx(Jn,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent",strokeWidth:1.75})," Describe the incident chronologically."]}),x.jsxs("li",{className:"flex gap-3",children:[x.jsx(Jn,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent",strokeWidth:1.75})," Do not send funds or fees at this stage."]})]})]}),x.jsxs("div",{className:"border-t border-border pt-6",children:[x.jsx("p",{className:"text-[0.62rem] uppercase tracking-[0.22em] text-muted-foreground/70",children:"Direct contact"}),x.jsxs("p",{className:"mt-4 flex items-center gap-3 text-sm text-muted-foreground",children:[x.jsx(oy,{className:"h-4 w-4 text-accent",strokeWidth:1.5}),"[email protected]"]}),x.jsxs("p",{className:"mt-4 text-sm leading-relaxed text-muted-foreground",children:["19, Eynsham Drive",x.jsx("br",{}),"Abbey Wood",x.jsx("br",{}),"London, SE2 9QX",x.jsx("br",{}),"United Kingdom"]})]}),x.jsx("p",{className:"border-t border-border pt-6 text-[0.7rem] leading-relaxed text-muted-foreground/70",children:"No upfront recovery fees. No guarantee of recovery or legal outcome. Submissions are treated as confidential."})]})})}),x.jsx("div",{className:"lg:col-span-8",children:s==="success"?x.jsx(Ve,{children:x.jsxs("div",{className:"border border-accent/40 bg-card p-10 text-center",children:[x.jsx("img",{src:rm,alt:"",width:64,height:64,className:"mx-auto h-16 w-16 object-contain"}),x.jsx("h2",{className:"mt-6 font-display text-2xl tracking-tight",children:"Assessment request received"}),x.jsx("p",{className:"mx-auto mt-4 max-w-md text-sm leading-relaxed text-muted-foreground",children:"Thank you. Your case details have been submitted securely. We will review the material and respond within two business days. Please do not submit the same matter more than once."}),x.jsxs(on,{to:"/",className:"mt-8 inline-flex min-h-[48px] items-center justify-center gap-2 border border-border px-7 text-xs uppercase tracking-[0.18em] text-foreground/90 transition-colors hover:border-foreground
10/50",children:["Return to homepage ",x.jsx(Oo,{className:"h-4 w-4",strokeWidth:1.75})]})]})}):x.jsx(Ve,{delay:.1,children:x.jsxs("form",{onSubmit:p,className:"space-y-8 border border-border bg-card/40 p-7 sm:p-9",children:[x.jsxs("div",{className:"grid gap-6 sm:grid-cols-2",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{required:!0,children:"Full name"}),x.jsx("input",{type:"text",required:!0,value:n.fullName,onChange:d("fullName"),placeholder:"Your full name",className:Wt})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{required:!0,children:"Email address"}),x.jsx("input",{type:"email",required:!0,value:n.email,onChange:d("email"),placeholder:"[email protected]",className:Wt})]})]}),x.jsx("div",{className:"grid gap-6 sm:grid-cols-2",children:x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{required:!0,children:"Phone number"}),x.jsx("input",{type:"tel",required:!0,value:n.phone,onChange:d("phone"),placeholder:"+1 (555) 123-4567",className:Wt})]})}),x.jsxs("div",{className:"grid gap-6 sm:grid-cols-2",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{children:"Jurisdiction / country of residence"}),x.jsx("input",{type:"text",value:n.jurisdiction,onChange:d("jurisdiction"),placeholder:"e.g. United Kingdom",className:Wt})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{children:"Date of incident"}),x.jsx("input",{type:"date",value:n.incidentDate,onChange:d("incidentDate"),className:Wt})]})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{children:"Estimated losses (currency and amount)"}),x.jsxs("div",{className:"grid gap-3 sm:grid-cols-[10rem_1fr]",children:[x.jsxs("select",{value:n.lossCurrency,onChange:d("lossCurrency"),className:Wt,children:[x.jsx("option",{value:"",children:"Currency"}),zk.map(m=>x.jsx("option",{value:m,children:m},m))]}),x.jsx("input",{type:"number",min:"0",step:"any",value:n.lossAmount,onChange:d("lossAmount"),placeholder:"Approximate amount",className:Wt})]})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{children:"Preferred contact method"}),x.jsxs("select",{value:n.contactMethod,onChange:d("contactMethod"),className:Wt,children:[x.jsx("option",{value:"",children:"Select a method"}),Uk.map(m=>x.jsx("option",{value:m,children:m},m))]})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{children:"Wallet addresses and transaction identifiers"}),x.jsx("textarea",{rows:4,value:n.walletTxids,onChange:d("walletTxids"),placeholder:"One per line â wallet addresses, transaction hashes, exchange references, etc.",className:`${Wt} min-h-[120px] resize-y py-3`})]}),x.jsxs("div",{className:"space-y-2",children:[x.jsx(Ht,{required:!0,children:"Incident summary"}),x.jsx("textarea",{rows:6,required:!0,value:n.incidentSummary,onChange:d("incidentSummary"),placeholder:"Describe what happened, in chronological order. Include dates, platforms, and how contact was made.",className:`${Wt} min-h-[160px] resize-y py-3`})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Ht,{children:"Supporting documentation available"}),x.jsx("p",{className:"text-xs text-muted-foreground/70",children:"Select all that apply."}),x.jsx("div",{className:"grid gap-2 sm:grid-cols-2",children:$k.map(m=>{const g=n.supportingDocs.includes(m);return x.jsxs("button",{type:"button",onClick:()=>h(m),className:`flex items-center gap-3 border px-4 py-3 text-left text-sm transition-colors ${g?"border-accent/60 bg-accent/10 text-foreground":"border-border bg-background/60 text-muted-foreground hover:border-foreground
10/30"}`,children:[x.jsx("span",{className:`grid h-4 w-4 shrink-0 place-items-center border ${g?"border-accent bg-accent text-accent-foreground":"border-border"}`,children:g&&x.jsx(Jn,{className:"h-3 w-3",strokeWidth:2.5})}),m]},m)})})]}),s==="error"&&x.jsxs("div",{className:"flex items-start gap-3 border border-destructive/50 bg-destructive/10 px-4 py-3 text-sm text-destructive-foreground/90",children:[x.jsx(lk,{className:"mt-0.5 h-4 w-4 shrink-0 text-destructive",strokeWidth:1.75}),x.jsx("span",{children:l})]}),x.jsxs("div",{className:"pt-2",children:[x.jsx("button",{type:"submit",disabled:s==="submitting",className:"group flex min-h-[52px] w-full items-center justify-center gap-3 bg-accent px-8 text-xs uppercase tracking-[0.18em] text-accent-foreground transition-transform active:scale-[0.98] disabled:cursor-not-allowed disabled:opacity-60",children:s==="submitting"?x.jsxs(x.Fragment,{children:[x.jsx(hk,{className:"h-4 w-4 animate-spin",strokeWidth:1.75})," Submittingâ¦"]}):x.jsxs(x.Fragment,{children:["Submit Assessment Request ",x.jsx(Oo,{className:"h-4 w-4 transition-transform group-hover:translate-x-1",strokeWidth:1.75})]})}),x.jsx("p",{className:"mt-5 text-center text-[0.7rem] leading-relaxed text-muted-foreground",children:"No upfront recovery fees. No guarantee of recovery or legal outcome."})]})]})})})]})]})]})}function Hk(){return x.jsxs(bx,{children:[x.jsx(Yx,{}),x.jsxs(mx,{children:[x.jsx(pu,{path:"/",element:x.jsx(Vk,{})}),x.jsx(pu,{path:"/contact",element:x.jsx(Wk,{})})]})]})}m0.createRoot(document.getElementById("root")).render(x.jsx(Hk,{}));
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.