PageSourceSearch

https://gyanconsole.com/assets/index-jpV0pDQ_.js

js gyanconsole.com collected 2026-09-24 14:44:15 UTC 347,842 bytes, 18 lines download raw bytes

vendor: 5,222 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"]'))s(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function o(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 s(l){if(l.ep)return;l.ep=!0;const c=o(l);fetch(l.href,c)}})();function Vr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ol={exports:{}},Pi={},_l={exports:{}},ae={};var hh;function s0(){if(hh)return ae;hh=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=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 x(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,A={};function P(R,F,oe){this.props=R,this.context=F,this.refs=A,this.updater=oe||E}P.prototype.isReactComponent={},P.prototype.setState=function(R,F){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,F,"setState")},P.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function D(){}D.prototype=P.prototype;function O(R,F,oe){this.props=R,this.context=F,this.refs=A,this.updater=oe||E}var _=O.prototype=new D;_.constructor=O,L(_,P.prototype),_.isPureReactComponent=!0;var $=Array.isArray,z=Object.prototype.hasOwnProperty,X={current:null},re={key:!0,ref:!0,__self:!0,__source:!0};function q(R,F,oe){var le,ce={},fe=null,ve=null;if(F!=null)for(le in F.ref!==void 0&&(ve=F.ref),F.key!==void 0&&(fe=""+F.key),F)z.call(F,le)&&!re.hasOwnProperty(le)&&(ce[le]=F[le]);var me=arguments.length-2;if(me===1)ce.children=oe;else if(1<me){for(var Ce=Array(me),pt=0;pt<me;pt++)Ce[pt]=arguments[pt+2];ce.children=Ce}if(R&&R.defaultProps)for(le in me=R.defaultProps,me)ce[le]===void 0&&(ce[le]=me[le]);return{$$typeof:n,type:R,key:fe,ref:ve,props:ce,_owner:X.current}}function he(R,F){return{$$typeof:n,type:R.type,key:F,ref:R.ref,props:R.props,_owner:R._owner}}function ye(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function Qe(R){var F={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(oe){return F[oe]})}var rt=/\/+/g;function Ue(R,F){return typeof R=="object"&&R!==null&&R.key!=null?Qe(""+R.key):F.toString(36)}function Ke(R,F,oe,le,ce){var fe=typeof R;(fe==="undefined"||fe==="boolean")&&(R=null);var ve=!1;if(R===null)ve=!0;else switch(fe){case"string":case"number":ve=!0;break;case"object":switch(R.$$typeof){case n:case r:ve=!0}}if(ve)return ve=R,ce=ce(ve),R=le===""?"."+Ue(ve,0):le,$(ce)?(oe="",R!=null&&(oe=R.replace(rt,"$&/")+"/"),Ke(ce,F,oe,"",function(pt){return pt})):ce!=null&&(ye(ce)&&(ce=he(ce,oe+(!ce.key||ve&&ve.key===ce.key?"":(""+ce.key).replace(rt,"$&/")+"/")+R)),F.push(ce)),1;if(ve=0,le=le===""?".":le+":",$(R))for(var me=0;me<R.length;me++){fe=R[me];var Ce=le+Ue(fe,me);ve+=Ke(fe,F,oe,Ce,ce)}else if(Ce=x(R),typeof Ce=="function")for(R=Ce.call(R),me=0;!(fe=R.next()).done;)fe=fe.value,Ce=le+Ue(fe,me++),ve+=Ke(fe,F,oe,Ce,ce);else if(fe==="object")throw F=String(R),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return ve}function Ie(R,F,oe){if(R==null)return R;var le=[],ce=0;return Ke(R,le,"","",function(fe){return F.call(oe,fe,ce++)}),le}function it(R){if(R._status===-1){var F=R._result;F=F(),F.then(function(oe){(R._status===0||R._status===-1)&&(R._status=1,R._result=oe)},function(oe){(R._status===0||R._status===-1)&&(R._status=2,R._result=oe)}),R._status===-1&&(R._status=0,R._result=F)}if(R._status===1)return R._result.default;throw R._result}var se={current:null},U={transition:null},Z={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:U,ReactCurrentOwner:X};function W(){throw Error("act(...) is not supported in production builds of React.")}return ae.Children={map:Ie,forEach:function(R,F,oe){Ie(R,function(){F.apply(this,arguments)},oe)},count:function(R){var F=0;return Ie(R,function(){F++}),F},toArray:function(R){return Ie(R,function(F){return F})||[]},only:function(R){if(!ye(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},ae.Component=P,ae.Fragment=o,ae.Profiler=l,ae.PureComponent=O,ae.StrictMode=s,ae.Suspense=p,ae.__SECRET_INT
vendor: 6,222 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,ae.act=W,ae.cloneElement=function(R,F,oe){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,fe=R.ref,ve=R._owner;if(F!=null){if(F.ref!==void 0&&(fe=F.ref,ve=X.current),F.key!==void 0&&(ce=""+F.key),R.type&&R.type.defaultProps)var me=R.type.defaultProps;for(Ce in F)z.call(F,Ce)&&!re.hasOwnProperty(Ce)&&(le[Ce]=F[Ce]===void 0&&me!==void 0?me[Ce]:F[Ce])}var Ce=arguments.length-2;if(Ce===1)le.children=oe;else if(1<Ce){me=Array(Ce);for(var pt=0;pt<Ce;pt++)me[pt]=arguments[pt+2];le.children=me}return{$$typeof:n,type:R.type,key:ce,ref:fe,props:le,_owner:ve}},ae.createContext=function(R){return R={$$typeof:f,_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 F=q.bind(null,R);return F.type=R,F},ae.createRef=function(){return{current:null}},ae.forwardRef=function(R){return{$$typeof:h,render:R}},ae.isValidElement=ye,ae.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:it}},ae.memo=function(R,F){return{$$typeof:m,type:R,compare:F===void 0?null:F}},ae.startTransition=function(R){var F=U.transition;U.transition={};try{R()}finally{U.transition=F}},ae.unstable_act=W,ae.useCallback=function(R,F){return se.current.useCallback(R,F)},ae.useContext=function(R){return se.current.useContext(R)},ae.useDebugValue=function(){},ae.useDeferredValue=function(R){return se.current.useDeferredValue(R)},ae.useEffect=function(R,F){return se.current.useEffect(R,F)},ae.useId=function(){return se.current.useId()},ae.useImperativeHandle=function(R,F,oe){return se.current.useImperativeHandle(R,F,oe)},ae.useInsertionEffect=function(R,F){return se.current.useInsertionEffect(R,F)},ae.useLayoutEffect=function(R,F){return se.current.useLayoutEffect(R,F)},ae.useMemo=function(R,F){return se.current.useMemo(R,F)},ae.useReducer=function(R,F,oe){return se.current.useReducer(R,F,oe)},ae.useRef=function(R){return se.current.useRef(R)},ae.useState=function(R){return se.current.useState(R)},ae.useSyncExternalStore=function(R,F,oe){return se.current.useSyncExternalStore(R,F,oe)},ae.useTransition=function(){return se.current.useTransition()},ae.version="18.3.1",ae}var ph;function Ls(){return ph||(ph=1,_l.exports=s0()),_l.exports}var mh;function a0(){if(mh)return Pi;mh=1;var n=Ls(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=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 f(h,p,m){var g,v={},x=null,E=null;m!==void 0&&(x=""+m),p.key!==void 0&&(x=""+p.key),p.ref!==void 0&&(E=p.ref);for(g in p)s.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:x,ref:E,props:v,_owner:l.current}}return Pi.Fragment=o,Pi.jsx=f,Pi.jsxs=f,Pi}var gh;function l0(){return gh||(gh=1,Ol.exports=a0()),Ol.exports}var S=l0(),C=Ls();const Oi=Vr(C);var cs={},Vl={exports:{}},dt={},Fl={exports:{}},Il={};var yh;function u0(){return yh||(yh=1,(function(n){function r(U,Z){var W=U.length;U.push(Z);e:for(;0<W;){var R=W-1>>>1,F=U[R];if(0<l(F,Z))U[R]=Z,U[W]=F,W=R;else break e}}function o(U){return U.length===0?null:U[0]}function s(U){if(U.length===0)return null;var Z=U[0],W=U.pop();if(W!==Z){U[0]=W;e:for(var R=0,F=U.length,oe=F>>>1;R<oe;){var le=2*(R+1)-1,ce=U[le],fe=le+1,ve=U[fe];if(0>l(ce,W))fe<F&&0>l(ve,ce)?(U[R]=ve,U[fe]=W,R=fe):(U[R]=ce,U[le]=W,R=le);else if(fe<F&&0>l(ve,W))U[R]=ve,U[fe]=W,R=fe;else break e}}return Z}function l(U,Z){var W=U.sortIndex-Z.sortIndex;return W!==0?W:U.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var p=[],m=[],g=1,v=null,x=3,E=!1,L=!1,A=!1,P=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(U){for(var Z=o(m);Z!==null;){if(Z.callback===null)s(m);else if(Z.startTime<=U)s(m),Z.sortIndex=Z.expirationTime,r(p,Z);else break;Z=o(m)}}function $(U){if(A=!1,_(U),!L)if(o(p)!==null)L=!0,it(z);else{var Z=o(m);Z!==null&&se($,Z.startTime-U)}}function z(U,Z){L=!1,A&&(A=!1,D(q),q=-1),E=!0;var W=x;try{for(_(Z),v=o(p);v!==null&&(!(v.expirationTime>Z)||U&&!Qe());){var R=v.callback;if(typeof R=="function"){v.callback=null,x=v.priorityLevel;var F=R(v.expirationTime<=Z);Z=n.unstable_now(),typeof F=="function"?v.callback=F:v===o(p)&&s(p),_(Z)}else s(p);v=o(p)}if(v!==null)var oe=!0;else{var le=o(m);le!==null&&se($,le.startTime-Z),oe=!1}return oe}finally{v=null,x=W,E=!1}}var X=!1,re=null,q=-1,he=5,ye=-1;function Qe(){return!(n.unstable_now()-ye<he)}function rt(){if(re!==null){var U=n.unstable_now();ye=U;var Z=!0;try{Z=re(!0,U)}finally{Z?Ue():(X=!1,re=null)}}else X=!1}var Ue;if(typeof O=="function")Ue=function(){O(rt)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,Ie=Ke.port2;Ke.port1.onmessage=rt,Ue=function(){Ie.postMessage(null)}}else Ue=function(){P(rt,0)};function it(U){re=U,X||(X=!0,Ue())}function se(U,Z){q=P(function(){U(n.unstable_now())},Z)}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(U){U.callback=null},n.unstable_continueExecution=function(){L||E||(L=!0,it(z))},n.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<U?Math.floor(1e3/U):5},n.unstable_getCurrentPriorityLevel=function(){return x},n.unstable_getFirstCallbackNode=function(){return o(p)},n.unstable_next=function(U){switch(x){case 1:case 2:case 3:var Z=3;break;default:Z=x}var W=x;
vendor: 4,922 bytes, line 1
1x=Z;try{return U()}finally{x=W}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(U,Z){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var W=x;x=U;try{return Z()}finally{x=W}},n.unstable_scheduleCallback=function(U,Z,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,U){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=W+F,U={id:g++,callback:Z,priorityLevel:U,startTime:W,expirationTime:F,sortIndex:-1},W>R?(U.sortIndex=W,r(m,U),o(p)===null&&U===o(m)&&(A?(D(q),q=-1):A=!0,se($,W-R))):(U.sortIndex=F,r(p,U),L||E||(L=!0,it(z))),U},n.unstable_shouldYield=Qe,n.unstable_wrapCallback=function(U){var Z=x;return function(){var W=x;x=Z;try{return U.apply(this,arguments)}finally{x=W}}}})(Il)),Il}var vh;function c0(){return vh||(vh=1,Fl.exports=u0()),Fl.exports}var xh;function f0(){if(xh)return dt;xh=1;var n=Ls(),r=c0();function o(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 s=new Set,l={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(l[e]=t,e=0;e<t.length;e++)s.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 x(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 A(e,t,i,a,u,d,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=d,this.removeEmptyString=y}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){P[e]=new A(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];P[t]=new A(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){P[e]=new A(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){P[e]=new A(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){P[e]=new A(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){P[e]=new A(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){P[e]=new A(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){P[e]=new A(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){P[e]=new A(e,5,!1,e.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function O(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
1-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,O);P[t]=new A(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(D,O);P[t]=new A(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(D,O);P[t]=new A(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){P[e]=new A(e,1,!1,e.toLowerCase(),null,!1,!1)}),P.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){P[e]=new A(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,t,i,a){var u=P.hasOwnProperty(t)?P[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?x(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 $=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),X=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),Qe=Symbol.for("react.context"),rt=Symbol.for("react.forward_ref"),Ue=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),U=Symbol.iterator;function Z(e){return e===null||typeof e!="object"?null:(e=U&&e[U]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,R;function F(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 oe=!1;function le(e,t){if(!e||oe)return"";oe=!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(j){var a=j}Reflect.construct(e,[],t)}else{try{t.call()}catch(j){a=j}e.call(t.prototype)}else{try{throw Error()}catch(j){a=j}e()}}catch(j){if(j&&a&&typeof j.stack=="string"){for(var u=j.stack.split(`
3`),d=a.stack.split(`
4`),y=u.length-1,w=d.length-1;1<=y&&0<=w&&u[y]!==d[w];)w--;for(;1<=y&&0<=w;y--,w--)if(u[y]!==d[w]){if(y!==1||w!==1)do if(y--,w--,0>w||u[y]!==d[w]){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<=w);break}}}finally{oe=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?F(e):""}function ce(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("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 fe(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 re:return"Fragment";case X:return"Portal";case he:return"Profiler";case q:return"StrictMode";case Ue:return"Suspense";case Ke:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qe:return(e.displayName||"Context")+".Consumer";case ye:return(e._context.displayName||"Context")+".Provider";case rt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ie:return t=e.displayName||null,t!==null?t:fe(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}function ve(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 fe(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 me(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pt(e){var t=Ce(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,d=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){a=""+y,d.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 Ji(e){e._valueTracker||(e._valueTracker=pt(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),a="";return e&&(a=Ce(e)?e.checked?"true":"false":e.value),e=a,e!==i?(t.setValue(e),!0):!1}function eo(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 Bs(e,t){var i=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function xc(e,t){var i=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;i=me(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 wc(e,t){t=t.checked,t!=null&&_(e,"checked",t,!1)}function Us(e,t){wc(e,t);var i=me(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")?$s(e,t.type,i):t.hasOwnProperty("defaultValue")&&$s(e,t.type,me(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sc(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 $s(e,t,i){(t!=="number"||eo(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Br=Array.isArray;function tr(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=""+me(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 Hs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(o(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Tc(e,t){var i=t.value;if(i==null){if(i=t.children,t=t.defaultValue,i!=null){if(t!=null)throw Error(o(92));
vendor: 36,508 bytes, lines 5-6
5if(Br(i)){if(1<i.length)throw Error(o(93));i=i[0]}t=i}t==null&&(t=""),i=t}e._wrapperState={initialValue:me(i)}}function Ec(e,t){var i=me(t.value),a=me(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 Cc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function kc(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 Ws(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?kc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var to,Pc=(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(to=to||document.createElement("div"),to.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=to.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var $r={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($r).forEach(function(e){cy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$r[t]=$r[e]})});function Rc(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||$r.hasOwnProperty(e)&&$r[e]?(""+t).trim():t+"px"}function Ac(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=i.indexOf("--")===0,u=Rc(i,t[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,u):e[i]=u}}var fy=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 Ks(e,t){if(t){if(fy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function Gs(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 Ys=null;function qs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qs=null,nr=null,rr=null;function Nc(e){if(e=fi(e)){if(typeof Qs!="function")throw Error(o(280));var t=e.stateNode;t&&(t=ko(t),Qs(e.stateNode,e.type,t))}}function Mc(e){nr?rr?rr.push(e):rr=[e]:nr=e}function Lc(){if(nr){var e=nr,t=rr;if(rr=nr=null,Nc(e),t)for(e=0;e<t.length;e++)Nc(t[e])}}function jc(e,t){return e(t)}function Dc(){}var Xs=!1;function Oc(e,t,i){if(Xs)return e(t,i);Xs=!0;try{return jc(e,t,i)}finally{Xs=!1,(nr!==null||rr!==null)&&(Dc(),Lc())}}function Hr(e,t){var i=e.stateNode;if(i===null)return null;var a=ko(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(o(231,t,typeof i));return i}var Zs=!1;if(h)try{var Wr={};Object.defineProperty(Wr,"passive",{get:function(){Zs=!0}}),window.addEventListener("test",Wr,Wr),window.removeEventListener("test",Wr,Wr)}catch{Zs=!1}function dy(e,t,i,a,u,d,y,w,T){var j=Array.prototype.slice.call(arguments,3);try{t.apply(i,j)}catch(I){this.onError(I)}}var Kr=!1,no=null,ro=!1,Js=null,hy={onError:function(e){Kr=!0,no=e}};function py(e,t,i,a,u,d,y,w,T){Kr=!1,no=null,dy.apply(hy,arguments)}function my(e,t,i,a,u,d,y,w,T){if(py.apply(this,arguments),Kr){if(Kr){var j=no;Kr=!1,no=null}else throw Error(o(198));ro||(ro=!0,Js=j)}}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 _c(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 Vc(e){if(On(e)!==e)throw Error(o(188))}function gy(e){var t=e.alternate;if(!t){if(t=On(e),t===null)throw Error(o(188));return t!==e?null:e}for(var i=e,a=t;;){var u=i.return;if(u===null)break;var d=u.alternate;if(d===null){if(a=u.return,a!==null){i=a;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===i)return Vc(u),e;if(d===a)return Vc(u),t;d=d.sibling}throw Error(o(188))}if(i.return!==a.return)i=u,a=d;else{for(var y=!1,w=u.child;w;){if(w===i){y=!0,i=u,a=d;break}if(w===a){y=!0,a=u,i=d;break}w=w.sibling}if(!y){for(w=d.child;w;){if(w===i){y=!0,i=d,a=u;break}if(w===a){y=!0,a=d,i=u;break}w=w.sibling}if(!y)throw Error(o(189))}}if(i.alternate!==a)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?e:t}function Fc(e){return e=gy(e),e!==null?Ic(e):null}function Ic(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ic(e);if(t!==null)return t;e=e.sibling}return null}var bc=r.unstable_scheduleCallback,zc=r.unstable_cancelCallback,yy=r.unstable_shouldYield,vy=r.unstable_requestPaint,_e=r.unstable_now,xy=r.unstable_getCurrentPriorityLevel,ea=r.unstable_ImmediatePriority,Bc=r.unstable_UserBlockingPriority,io=r.unstable_NormalPriority,wy=r.unstable_LowPriority,Uc=r.unstable_IdlePriority,oo=null,zt=null;function Sy(e){if(zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(oo,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:Cy,Ty=Math.log,Ey=Math.LN2;function Cy(e){return e>>>=0,e===0?32:31-(Ty(e)/Ey|0)|0}var so=64,ao=4194304;function Gr(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 lo(e,t){var i=e.pendingLanes;if(i===0)return 0;var a=0,u=e.suspendedLanes,d=e.pingedLanes,y=i&268435455;if(y!==0){var w=y&~u;w!==0?a=Gr(w):(d&=y,d!==0&&(a=Gr(d)))}else y=i&~u,y!==0?a=Gr(y):d!==0&&(a=Gr(d));if(a===0)return 0;if(t!==0&&t!==a&&(t&u)===0&&(u=a&-a,d=t&-t,u>=d||u===16&&(d&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-Mt(t),u=1<<i,a|=e[i],t&=~u;return a}function ky(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,d=e.pendingLanes;0<d;){var y=31-Mt(d),w=1<<y,T=u[y];T===-1?((w&i)===0||(w&a)!==0)&&(u[y]=ky(w,t)):T<=t&&(e.expiredLanes|=w),d&=~w}}function ta(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $c(){var e=so;return so<<=1,(so&4194240)===0&&(so=64),e}function na(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function Yr(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(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-Mt(i),d=1<<u;t[u]=0,a[u]=-1,e[u]=-1,i&=~d}}function ra(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var a=31-Mt(i),u=1<<a;u&t|e[a]&t&&(e[a]|=t),i&=~u}}var ge=0;function Hc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Wc,ia,Kc,Gc,Yc,oa=!1,uo=[],cn=null,fn=null,dn=null,qr=new Map,Qr=new Map,hn=[],Ay="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 qc(e,t){switch(e){case"focusin":case"focusout":cn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":dn=null;break;case"pointerover":case"pointerout":qr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qr.delete(t.pointerId)}}function Xr(e,t,i,a,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:a,nativeEvent:d,targetContainers:[u]},t!==null&&(t=fi(t),t!==null&&ia(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 cn=Xr(cn,e,t,i,a,u),!0;case"dragenter":return fn=Xr(fn,e,t,i,a,u),!0;case"mouseover":return dn=Xr(dn,e,t,i,a,u),!0;case"pointerover":var d=u.pointerId;return qr.set(d,Xr(qr.get(d)||null,e,t,i,a,u)),!0;case"gotpointercapture":return d=u.pointerId,Qr.set(d,Xr(Qr.get(d)||null,e,t,i,a,u)),!0}return!1}function Qc(e){var t=_n(e.target);if(t!==null){var i=On(t);if(i!==null){if(t=i.tag,t===13){if(t=_c(i),t!==null){e.blockedOn=t,Yc(e.priority,function(){Kc(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 co(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=aa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);Ys=a,i.target.dispatchEvent(a),Ys=null}else return t=fi(i),t!==null&&ia(t),e.blockedOn=i,!1;t.shift()}return!0}function Xc(e,t,i){co(e)&&i.delete(t)}function My(){oa=!1,cn!==null&&co(cn)&&(cn=null),fn!==null&&co(fn)&&(fn=null),dn!==null&&co(dn)&&(dn=null),qr.forEach(Xc),Qr.forEach(Xc)}function Zr(e,t){e.blockedOn===t&&(e.blockedOn=null,oa||(oa=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,My)))}function Jr(e){function t(u){return Zr(u,e)}if(0<uo.length){Zr(uo[0],e);for(var i=1;i<uo.length;i++){var a=uo[i];a.blockedOn===e&&(a.blockedOn=null)}}for(cn!==null&&Zr(cn,e),fn!==null&&Zr(fn,e),dn!==null&&Zr(dn,e),qr.forEach(t),Qr.forEach(t),i=0;i<hn.length;i++)a=hn[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<hn.length&&(i=hn[0],i.blockedOn===null);)Qc(i),i.blockedOn===null&&hn.shift()}var ir=$.ReactCurrentBatchConfig,fo=!0;function Ly(e,t,i,a){var u=ge,d=ir.transition;ir.transition=null;try{ge=1,sa(e,t,i,a)}finally{ge=u,ir.transition=d}}function jy(e,t,i,a){var u=ge,d=ir.transition;ir.transition=null;try{ge=4,sa(e,t,i,a)}finally{ge=u,ir.transition=d}}function sa(e,t,i,a){if(fo){var u=aa(e,t,i,a);if(u===null)Ca(e,t,a,ho,i),qc(e,a);else if(Ny(u,e,t,i,a))a.stopPropagation();else if(qc(e,a),t&4&&-1<Ay.indexOf(e)){for(;u!==null;){var d=fi(u);if(d!==null&&Wc(d),d=aa(e,t,i,a),d===null&&Ca(e,t,a,ho,i),d===u)break;u=d}u!==null&&a.stopPropagation()}else Ca(e,t,a,null,i)}}var ho=null;function aa(e,t,i,a){if(ho=null,e=qs(a),e=_n(e),e!==null)if(t=On(e),t===null)e=null;else if(i=t.tag,i===13){if(e=_c(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 ho=e,null}function Zc(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 ea:return 1;case Bc:return 4;case io:case wy:return 16;case Uc:return 536870912;default:return 16}default:return 16}}var pn=null,la=null,po=null;function Jc(){if(po)return po;var e,t=la,i=t.length,a,u="value"in pn?pn.value:pn.textContent,d=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[d-a];a++);return po=u.slice(e,1<a?1-a:void 0)}function mo(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 go(){return!0}function ef(){return!1}function mt(e){function t(i,a,u,d,y){this._reactName=i,this._targetInst=u,this.type=a,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(i=e[w],this[w]=i?i(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?go:ef,this.isPropagationStopped=ef,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=go)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=go)},persist:function(){},isPersistent:go}),t}var or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ua=mt(or),ei=W({},or,{view:0,detail:0}),Dy=mt(ei),ca,fa,ti,yo=W({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ha,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!==ti&&(ti&&e.type==="mousemove"?(ca=e.screenX-ti.screenX,fa=e.screenY-ti.screenY):fa=ca=0,ti=e),ca)},movementY:function(e){return"movementY"in e?e.movementY:fa}}),tf=mt(yo),Oy=W({},yo,{dataTransfer:0}),_y=mt(Oy),Vy=W({},ei,{relatedTarget:0}),da=mt(Vy),Fy=W({},or,{animationName:0,elapsedTime:0,pseudoElement:0}),Iy=mt(Fy),by=W({},or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zy=mt(by),By=W({},or,{data:0}),nf=mt(By),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"},Hy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hy[e])?!!t[e]:!1}function ha(){return Wy}var Ky=W({},ei,{key:function(e){if(e.key){var t=Uy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mo(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:ha,charCode:function(e){return e.type==="keypress"?mo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gy=mt(Ky),Yy=W({},yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rf=mt(Yy),qy=W({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ha}),Qy=mt(qy),Xy=W({},or,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zy=mt(Xy),Jy=W({},yo,{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=mt(Jy),tv=[9,13,27,32],pa=h&&"CompositionEvent"in window,ni=null;h&&"documentMode"in document&&(ni=document.documentMode);var nv=h&&"TextEvent"in window&&!ni,of=h&&(!pa||ni&&8<ni&&11>=ni),sf=" ",af=!1;function lf(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 uf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sr=!1;function rv(e,t){switch(e){case"compositionend":return uf(t);case"keypress":return t.which!==32?null:(af=!0,sf);case"textInput":return e=t.data,e===sf&&af?null:e;default:return null}}function iv(e,t){if(sr)return e==="compositionend"||!pa&&lf(e,t)?(e=Jc(),po=la=pn=null,sr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return of&&t.locale!=="ko"?null:t.data;default:return null}}var ov={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 cf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ov[e.type]:t==="textarea"}function ff(e,t,i,a){Mc(a),t=To(t,"onChange"),0<t.length&&(i=new ua("onChange","change",null,i,a),e.push({event:i,listeners:t}))}var ri=null,ii=null;function sv(e){Nf(e,0)}function vo(e){var t=fr(e);if(vc(t))return e}function av(e,t){if(e==="change")return t}var df=!1;if(h){var ma;if(h){var ga="oninput"in document;if(!ga){var hf=document.createElement("div");hf.setAttribute("oninput","return;"),ga=typeof hf.oninput=="function"}ma=ga}else ma=!1;df=ma&&(!document.documentMode||9<document.documentMode)}function pf(){ri&&(ri.detachEvent("onpropertychange",mf),ii=ri=null)}function mf(e){if(e.propertyName==="value"&&vo(ii)){var t=[];ff(t,ii,e,qs(e)),Oc(sv,t)}}function lv(e,t,i){e==="focusin"?(pf(),ri=t,ii=i,ri.attachEvent("onpropertychange",mf)):e==="focusout"&&pf()}function uv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vo(ii)}function cv(e,t){if(e==="click")return vo(t)}function fv(e,t){if(e==="input"||e==="change")return vo(t)}function dv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Lt=typeof Object.is=="function"?Object.is:dv;function oi(e,t){if(Lt(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)||!Lt(e[u],t[u]))return!1}return!0}function gf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yf(e,t){var i=gf(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=gf(i)}}function vf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xf(){for(var e=window,t=eo();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=eo(e.document)}return t}function ya(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=xf(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&vf(i.ownerDocument.documentElement,i)){if(a!==null&&ya(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,d=Math.min(a.start,u);a=a.end===void 0?d:Math.min(a.end,u),!e.extend&&d>a&&(u=a,a=d,d=u),u=yf(i,d);var y=yf(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(),d>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,ar=null,va=null,si=null,xa=!1;function wf(e,t,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;xa||ar==null||ar!==eo(a)||(a=ar,"selectionStart"in a&&ya(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}),si&&oi(si,a)||(si=a,a=To(va,"onSelect"),0<a.length&&(t=new ua("onSelect","select",null,t,i),e.push({event:t,listeners:a}),t.target=ar)))}function xo(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var lr={animationend:xo("Animation","AnimationEnd"),animationiteration:xo("Animation","AnimationIteration"),animationstart:xo("Animation","AnimationStart"),transitionend:xo("Transition","TransitionEnd")},wa={},Sf={};h&&(Sf=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function wo(e){if(wa[e])return wa[e];if(!lr[e])return e;var t=lr[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Sf)return wa[e]=t[i];return e}var Tf=wo("animationend"),Ef=wo("animationiteration"),Cf=wo("animationstart"),kf=wo("transitionend"),Pf=new Map,Rf="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 mn(e,t){Pf.set(e,t),c(t,[e])}for(var Sa=0;Sa<Rf.length;Sa++){var Ta=Rf[Sa],mv=Ta.toLowerCase(),gv=Ta[0].toUpperCase()+Ta.slice(1);mn(mv,"on"+gv)}mn(Tf,"onAnimationEnd"),mn(Ef,"onAnimationIteration"),mn(Cf,"onAnimationStart"),mn("dblclick","onDoubleClick"),mn("focusin","onFocus"),mn("focusout","onBlur"),mn(kf,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("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 ai="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(ai));function Af(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,my(a,t,void 0,e),e.currentTarget=null}function Nf(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 d=void 0;if(t)for(var y=a.length-1;0<=y;y--){var w=a[y],T=w.instance,j=w.currentTarget;if(w=w.listener,T!==d&&u.isPropagationStopped())break e;Af(u,w,j),d=T}else for(y=0;y<a.length;y++){if(w=a[y],T=w.instance,j=w.currentTarget,w=w.listener,T!==d&&u.isPropagationStopped())break e;Af(u,w,j),d=T}}}if(ro)throw e=Js,ro=!1,Js=null,e}function Se(e,t){var i=t[Ma];i===void 0&&(i=t[Ma]=new Set);var a=e+"__bubble";i.has(a)||(Mf(t,e,2,!1),i.add(a))}function Ea(e,t,i){var a=0;t&&(a|=4),Mf(i,e,a,t)}var So="_reactListening"+Math.random().toString(36).slice(2);function li(e){if(!e[So]){e[So]=!0,s.forEach(function(i){i!=="selectionchange"&&(yv.has(i)||Ea(i,!1,e),Ea(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[So]||(t[So]=!0,Ea("selectionchange",!1,t))}}function Mf(e,t,i,a){switch(Zc(t)){case 1:var u=Ly;break;case 4:u=jy;break;default:u=sa}i=u.bind(null,t,i,e),u=void 0,!Zs||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 Ca(e,t,i,a,u){var d=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 w=a.stateNode.containerInfo;if(w===u||w.nodeType===8&&w.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(;w!==null;){if(y=_n(w),y===null)return;if(T=y.tag,T===5||T===6){a=d=y;continue e}w=w.parentNode}}a=a.return}Oc(function(){var j=d,I=qs(i),b=[];e:{var V=Pf.get(e);if(V!==void 0){var H=ua,G=e;switch(e){case"keypress":if(mo(i)===0)break e;case"keydown":case"keyup":H=Gy;break;case"focusin":G="focus",H=da;break;case"focusout":G="blur",H=da;break;case"beforeblur":case"afterblur":H=da;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":H=tf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=_y;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=Qy;break;case Tf:case Ef:case Cf:H=Iy;break;case kf:H=Zy;break;case"scroll":H=Dy;break;case"wheel":H=ev;break;case"copy":case"cut":case"paste":H=zy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=rf}var Y=(t&4)!==0,Ve=!Y&&e==="scroll",N=Y?V!==null?V+"Capture":null:V;Y=[];for(var k=j,M;k!==null;){M=k;var B=M.stateNode;if(M.tag===5&&B!==null&&(M=B,N!==null&&(B=Hr(k,N),B!=null&&Y.push(ui(k,B,M)))),Ve)break;k=k.return}0<Y.length&&(V=new H(V,G,null,i,I),b.push({event:V,listeners:Y}))}}if((t&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",V&&i!==Ys&&(G=i.relatedTarget||i.fromElement)&&(_n(G)||G[qt]))break e;if((H||V)&&(V=I.window===I?I:(V=I.ownerDocument)?V.defaultView||V.parentWindow:window,H?(G=i.relatedTarget||i.toElement,H=j,G=G?_n(G):null,G!==null&&(Ve=On(G),G!==Ve||G.tag!==5&&G.tag!==6)&&(G=null)):(H=null,G=j),H!==G)){if(Y=tf,B="onMouseLeave",N="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(Y=rf,B="onPointerLeave",N="onPointerEnter",k="pointer"),Ve=H==null?V:fr(H),M=G==null?V:fr(G),V=new Y(B,k+"leave",H,i,I),V.target=Ve,V.relatedTarget=M,B=null,_n(I)===j&&(Y=new Y(N,k+"enter",G,i,I),Y.target=M,Y.relatedTarget=Ve,B=Y),Ve=B,H&&G)t:{for(Y=H,N=G,k=0,M=Y;M;M=ur(M))k++;for(M=0,B=N;B;B=ur(B))M++;for(;0<k-M;)Y=ur(Y),k--;for(;0<M-k;)N=ur(N),M--;for(;k--;){if(Y===N||N!==null&&Y===N.alternate)break t;Y=ur(Y),N=ur(N)}Y=null}else Y=null;H!==null&&Lf(b,V,H,Y,!1),G!==null&&Ve!==null&&Lf(b,Ve,G,Y,!0)}}e:{if(V=j?fr(j):window,H=V.nodeName&&V.nodeName.toLowerCase(),H==="select"||H==="input"&&V.type==="file")var Q=av;else if(cf(V))if(df)Q=fv;else{Q=uv;var J=lv}else(H=V.nodeName)&&H.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(Q=cv);if(Q&&(Q=Q(e,j))){ff(b,Q,i,I);break e}J&&J(e,V,j),e==="focusout"&&(J=V._wrapperState)&&J.controlled&&V.type==="number"&&$s(V,"number",V.value)}switch(J=j?fr(j):window,e){case"focusin":(cf(J)||J.contentEditable==="true")&&(ar=J,va=j,si=null);break;case"focusout":si=va=ar=null;break;case"mousedown":xa=!0;break;case"contextmenu":case"mouseup":case"dragend":xa=!1,wf(b,i,I);break;case"selectionchange":if(pv)break;case"keydown":case"keyup":wf(b,i,I)}var ee;if(pa)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 sr?lf(e,i)&&(ne="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ne="onCompositionStart");ne&&(of&&i.locale!=="ko"&&(sr||ne!=="onCompositionStart"?ne==="onCompositionEnd"&&sr&&(ee=Jc()):(pn=I,la="value"in pn?pn.value:pn.textContent,sr=!0)),J=To(j,ne),0<J.length&&(ne=new nf(ne,e,null,i,I),b.push({event:ne,listeners:J}),ee?ne.data=ee:(ee=uf(i),ee!==null&&(ne.data=ee)))),(ee=nv?rv(e,i):iv(e,i))&&(j=To(j,"onBeforeInput"),0<j.length&&(I=new nf("onBeforeInput","beforeinput",null,i,I),b.push({event:I,listeners:j}),I.data=ee))}Nf(b,t)})}function ui(e,t,i){return{instance:e,listener:t,currentTarget:i}}function To(e,t){for(var i=t+"Capture",a=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=Hr(e,i),d!=null&&a.unshift(ui(e,d,u)),d=Hr(e,t),d!=null&&a.push(ui(e,d,u))),e=e.return}return a}function ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Lf(e,t,i,a,u){for(var d=t._reactName,y=[];i!==null&&i!==a;){var w=i,T=w.alternate,j=w.stateNode;if(T!==null&&T===a)break;w.tag===5&&j!==null&&(w=j,u?(T=Hr(i,d),T!=null&&y.unshift(ui(i,T,w))):u||(T=Hr(i,d),T!=null&&y.push(ui(i,T,w)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var vv=/\r\n?/g,xv=/\u0000|\uFFFD/g;function jf(e){return(typeof e=="string"?e:""+e).replace(vv,`
6`).replace(xv,"")}function Eo(e,t,i){if(t=jf(t),jf(e)!==t&&i)throw Error(o(425))}function Co(){}var ka=null,Pa=null;function Ra(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 Aa=typeof setTimeout=="function"?setTimeout:void 0,wv=typeof clearTimeout=="function"?clearTimeout:void 0,Df=typeof Promise=="function"?Promise:void 0,Sv=typeof queueMicrotask=="function"?queueMicrotask:typeof Df<"u"?function(e){return Df.resolve(null).then(e).catch(Tv)}:Aa;function Tv(e){setTimeout(function(){throw e})}function Na(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),Jr(t);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=u}while(i);Jr(t)}function gn(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 Of(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 cr=Math.random().toString(36).slice(2),Bt="__reactFiber$"+cr,ci="__reactProps$"+cr,qt="__reactContainer$"+cr,Ma="__reactEvents$"+cr,Ev="__reactListeners$"+cr,Cv="__reactHandles$"+cr;function _n(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=Of(e);e!==null;){if(i=e[Bt])return i;e=Of(e)}return t}e=i,i=e.parentNode}return null}function fi(e){return e=e[Bt]||e[qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function ko(e){return e[ci]||null}var La=[],dr=-1;function yn(e){return{current:e}}function Te(e){0>dr||(e.current=La[dr],La[dr]=null,dr--)}function xe(e,t){dr++,La[dr]=e.current,e.current=t}var vn={},Xe=yn(vn),at=yn(!1),Vn=vn;function hr(e,t){var i=e.type.contextTypes;if(!i)return vn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in i)u[d]=t[d];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function lt(e){return e=e.childContextTypes,e!=null}function Po(){Te(at),Te(Xe)}function _f(e,t,i){if(Xe.current!==vn)throw Error(o(168));xe(Xe,t),xe(at,i)}function Vf(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(o(108,ve(e)||"Unknown",u));return W({},i,a)}function Ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vn,Vn=Xe.current,xe(Xe,e),xe(at,at.current),!0}function Ff(e,t,i){var a=e.stateNode;if(!a)throw Error(o(169));i?(e=Vf(e,t,Vn),a.__reactInternalMemoizedMergedChildContext=e,Te(at),Te(Xe),xe(Xe,e)):Te(at),xe(at,i)}var Qt=null,Ao=!1,ja=!1;function If(e){Qt===null?Qt=[e]:Qt.push(e)}function kv(e){Ao=!0,If(e)}function xn(){if(!ja&&Qt!==null){ja=!0;var e=0,t=ge;try{var i=Qt;for(ge=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Qt=null,Ao=!1}catch(u){throw Qt!==null&&(Qt=Qt.slice(e+1)),bc(ea,xn),u}finally{ge=t,ja=!1}}return null}var pr=[],mr=0,No=null,Mo=0,St=[],Tt=0,Fn=null,Xt=1,Zt="";function In(e,t){pr[mr++]=Mo,pr[mr++]=No,No=e,Mo=t}function bf(e,t,i){St[Tt++]=Xt,St[Tt++]=Zt,St[Tt++]=Fn,Fn=e;var a=Xt;e=Zt;var u=32-Mt(a)-1;a&=~(1<<u),i+=1;var d=32-Mt(t)+u;if(30<d){var y=u-u%5;d=(a&(1<<y)-1).toString(32),a>>=y,u-=y,Xt=1<<32-Mt(t)+u|i<<u|a,Zt=d+e}else Xt=1<<d|i<<u|a,Zt=e}function Da(e){e.return!==null&&(In(e,1),bf(e,1,0))}function Oa(e){for(;e===No;)No=pr[--mr],pr[mr]=null,Mo=pr[--mr],pr[mr]=null;for(;e===Fn;)Fn=St[--Tt],St[Tt]=null,Zt=St[--Tt],St[Tt]=null,Xt=St[--Tt],St[Tt]=null}var gt=null,yt=null,ke=!1,jt=null;function zf(e,t){var i=Pt(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 Bf(e,t){switch(e.tag){case 5:var i=e.type;
vendor: 4,302 bytes, line 6
6return t=t.nodeType!==1||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,gt=e,yt=gn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,gt=e,yt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(i=Fn!==null?{id:Xt,overflow:Zt}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},i=Pt(18,null,null,0),i.stateNode=t,i.return=e,e.child=i,gt=e,yt=null,!0):!1;default:return!1}}function _a(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Va(e){if(ke){var t=yt;if(t){var i=t;if(!Bf(e,t)){if(_a(e))throw Error(o(418));t=gn(i.nextSibling);var a=gt;t&&Bf(e,t)?zf(a,i):(e.flags=e.flags&-4097|2,ke=!1,gt=e)}}else{if(_a(e))throw Error(o(418));e.flags=e.flags&-4097|2,ke=!1,gt=e}}}function Uf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;gt=e}function Lo(e){if(e!==gt)return!1;if(!ke)return Uf(e),ke=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ra(e.type,e.memoizedProps)),t&&(t=yt)){if(_a(e))throw $f(),Error(o(418));for(;t;)zf(e,t),t=gn(t.nextSibling)}if(Uf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(t===0){yt=gn(e.nextSibling);break e}t--}else i!=="$"&&i!=="$!"&&i!=="$?"||t++}e=e.nextSibling}yt=null}}else yt=gt?gn(e.stateNode.nextSibling):null;return!0}function $f(){for(var e=yt;e;)e=gn(e.nextSibling)}function gr(){yt=gt=null,ke=!1}function Fa(e){jt===null?jt=[e]:jt.push(e)}var Pv=$.ReactCurrentBatchConfig;function di(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(o(309));var a=i.stateNode}if(!a)throw Error(o(147,e));var u=a,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(y){var w=u.refs;y===null?delete w[d]:w[d]=y},t._stringRef=d,t)}if(typeof e!="string")throw Error(o(284));if(!i._owner)throw Error(o(290,e))}return e}function jo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hf(e){var t=e._init;return t(e._payload)}function Wf(e){function t(N,k){if(e){var M=N.deletions;M===null?(N.deletions=[k],N.flags|=16):M.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=Rn(N,k),N.index=0,N.sibling=null,N}function d(N,k,M){return N.index=M,e?(M=N.alternate,M!==null?(M=M.index,M<k?(N.flags|=2,k):M):(N.flags|=2,k)):(N.flags|=1048576,k)}function y(N){return e&&N.alternate===null&&(N.flags|=2),N}function w(N,k,M,B){return k===null||k.tag!==6?(k=Al(M,N.mode,B),k.return=N,k):(k=u(k,M),k.return=N,k)}function T(N,k,M,B){var Q=M.type;return Q===re?I(N,k,M.props.children,B,M.key):k!==null&&(k.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===it&&Hf(Q)===k.type)?(B=u(k,M.props),B.ref=di(N,k,M),B.return=N,B):(B=ns(M.type,M.key,M.props,null,N.mode,B),B.ref=di(N,k,M),B.return=N,B)}function j(N,k,M,B){return k===null||k.tag!==4||k.stateNode.containerInfo!==M.containerInfo||k.stateNode.implementation!==M.implementation?(k=Nl(M,N.mode,B),k.return=N,k):(k=u(k,M.children||[]),k.return=N,k)}function I(N,k,M,B,Q){return k===null||k.tag!==7?(k=Kn(M,N.mode,B,Q),k.return=N,k):(k=u(k,M),k.return=N,k)}function b(N,k,M){if(typeof k=="string"&&k!==""||typeof k=="number")return k=Al(""+k,N.mode,M),k.return=N,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case z:return M=ns(k.type,k.key,k.props,null,N.mode,M),M.ref=di(N,null,k),M.return=N,M;case X:return k=Nl(k,N.mode,M),k.return=N,k;case it:var B=k._init;return b(N,B(k._payload),M)}if(Br(k)||Z(k))return k=Kn(k,N.mode,M,null),k.return=N,k;jo(N,k)}return null}function V(N,k,M,B){var Q=k!==null?k.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return Q!==null?null:w(N,k,""+M,B);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case z:return M.key===Q?T(N,k,M,B):null;case X:return M.key===Q?j(N,k,M,B):null;case it:return Q=M._init,V(N,k,Q(M._payload),B)}if(Br(M)||Z(M))return Q!==null?null:I(N,k,M,B,null);jo(N,M)}return null}
vendor: 75,132 bytes, lines 6-8
6function H(N,k,M,B,Q){if(typeof B=="string"&&B!==""||typeof B=="number")return N=N.get(M)||null,w(k,N,""+B,Q);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case z:return N=N.get(B.key===null?M:B.key)||null,T(k,N,B,Q);case X:return N=N.get(B.key===null?M:B.key)||null,j(k,N,B,Q);case it:var J=B._init;return H(N,k,M,J(B._payload),Q)}if(Br(B)||Z(B))return N=N.get(M)||null,I(k,N,B,Q,null);jo(k,B)}return null}function G(N,k,M,B){for(var Q=null,J=null,ee=k,ne=k=0,We=null;ee!==null&&ne<M.length;ne++){ee.index>ne?(We=ee,ee=null):We=ee.sibling;var de=V(N,ee,M[ne],B);if(de===null){ee===null&&(ee=We);break}e&&ee&&de.alternate===null&&t(N,ee),k=d(de,k,ne),J===null?Q=de:J.sibling=de,J=de,ee=We}if(ne===M.length)return i(N,ee),ke&&In(N,ne),Q;if(ee===null){for(;ne<M.length;ne++)ee=b(N,M[ne],B),ee!==null&&(k=d(ee,k,ne),J===null?Q=ee:J.sibling=ee,J=ee);return ke&&In(N,ne),Q}for(ee=a(N,ee);ne<M.length;ne++)We=H(ee,N,ne,M[ne],B),We!==null&&(e&&We.alternate!==null&&ee.delete(We.key===null?ne:We.key),k=d(We,k,ne),J===null?Q=We:J.sibling=We,J=We);return e&&ee.forEach(function(An){return t(N,An)}),ke&&In(N,ne),Q}function Y(N,k,M,B){var Q=Z(M);if(typeof Q!="function")throw Error(o(150));if(M=Q.call(M),M==null)throw Error(o(151));for(var J=Q=null,ee=k,ne=k=0,We=null,de=M.next();ee!==null&&!de.done;ne++,de=M.next()){ee.index>ne?(We=ee,ee=null):We=ee.sibling;var An=V(N,ee,de.value,B);if(An===null){ee===null&&(ee=We);break}e&&ee&&An.alternate===null&&t(N,ee),k=d(An,k,ne),J===null?Q=An:J.sibling=An,J=An,ee=We}if(de.done)return i(N,ee),ke&&In(N,ne),Q;if(ee===null){for(;!de.done;ne++,de=M.next())de=b(N,de.value,B),de!==null&&(k=d(de,k,ne),J===null?Q=de:J.sibling=de,J=de);return ke&&In(N,ne),Q}for(ee=a(N,ee);!de.done;ne++,de=M.next())de=H(ee,N,ne,de.value,B),de!==null&&(e&&de.alternate!==null&&ee.delete(de.key===null?ne:de.key),k=d(de,k,ne),J===null?Q=de:J.sibling=de,J=de);return e&&ee.forEach(function(o0){return t(N,o0)}),ke&&In(N,ne),Q}function Ve(N,k,M,B){if(typeof M=="object"&&M!==null&&M.type===re&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case z:e:{for(var Q=M.key,J=k;J!==null;){if(J.key===Q){if(Q=M.type,Q===re){if(J.tag===7){i(N,J.sibling),k=u(J,M.props.children),k.return=N,N=k;break e}}else if(J.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===it&&Hf(Q)===J.type){i(N,J.sibling),k=u(J,M.props),k.ref=di(N,J,M),k.return=N,N=k;break e}i(N,J);break}else t(N,J);J=J.sibling}M.type===re?(k=Kn(M.props.children,N.mode,B,M.key),k.return=N,N=k):(B=ns(M.type,M.key,M.props,null,N.mode,B),B.ref=di(N,k,M),B.return=N,N=B)}return y(N);case X:e:{for(J=M.key;k!==null;){if(k.key===J)if(k.tag===4&&k.stateNode.containerInfo===M.containerInfo&&k.stateNode.implementation===M.implementation){i(N,k.sibling),k=u(k,M.children||[]),k.return=N,N=k;break e}else{i(N,k);break}else t(N,k);k=k.sibling}k=Nl(M,N.mode,B),k.return=N,N=k}return y(N);case it:return J=M._init,Ve(N,k,J(M._payload),B)}if(Br(M))return G(N,k,M,B);if(Z(M))return Y(N,k,M,B);jo(N,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,k!==null&&k.tag===6?(i(N,k.sibling),k=u(k,M),k.return=N,N=k):(i(N,k),k=Al(M,N.mode,B),k.return=N,N=k),y(N)):i(N,k)}return Ve}var yr=Wf(!0),Kf=Wf(!1),Do=yn(null),Oo=null,vr=null,Ia=null;function ba(){Ia=vr=Oo=null}function za(e){var t=Do.current;Te(Do),e._currentValue=t}function Ba(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 xr(e,t){Oo=e,Ia=vr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ut=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Ia!==e)if(e={context:e,memoizedValue:t,next:null},vr===null){if(Oo===null)throw Error(o(308));vr=e,Oo.dependencies={lanes:0,firstContext:e}}else vr=vr.next=e;return t}var bn=null;function Ua(e){bn===null?bn=[e]:bn.push(e)}function Gf(e,t,i,a){var u=t.interleaved;return u===null?(i.next=i,Ua(t)):(i.next=u.next,u.next=i),t.interleaved=i,Jt(e,a)}function Jt(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 wn=!1;function $a(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yf(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 en(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Sn(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,Jt(e,i)}return u=a.interleaved,u===null?(t.next=t,Ua(a)):(t.next=u.next,u.next=t),a.interleaved=t,Jt(e,i)}function _o(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,ra(e,i)}}function qf(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var u=null,d=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};d===null?u=d=y:d=d.next=y,i=i.next}while(i!==null);d===null?u=d=t:d=d.next=t}else u=d=t;i={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:d,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 Vo(e,t,i,a){var u=e.updateQueue;wn=!1;var d=u.firstBaseUpdate,y=u.lastBaseUpdate,w=u.shared.pending;if(w!==null){u.shared.pending=null;var T=w,j=T.next;T.next=null,y===null?d=j:y.next=j,y=T;var I=e.alternate;I!==null&&(I=I.updateQueue,w=I.lastBaseUpdate,w!==y&&(w===null?I.firstBaseUpdate=j:w.next=j,I.lastBaseUpdate=T))}if(d!==null){var b=u.baseState;y=0,I=j=T=null,w=d;do{var V=w.lane,H=w.eventTime;if((a&V)===V){I!==null&&(I=I.next={eventTime:H,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var G=e,Y=w;switch(V=t,H=i,Y.tag){case 1:if(G=Y.payload,typeof G=="function"){b=G.call(H,b,V);break e}b=G;break e;case 3:G.flags=G.flags&-65537|128;case 0:if(G=Y.payload,V=typeof G=="function"?G.call(H,b,V):G,V==null)break e;b=W({},b,V);break e;case 2:wn=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,V=u.effects,V===null?u.effects=[w]:V.push(w))}else H={eventTime:H,lane:V,tag:w.tag,payload:w.payload,callback:w.callback,next:null},I===null?(j=I=H,T=b):I=I.next=H,y|=V;if(w=w.next,w===null){if(w=u.shared.pending,w===null)break;V=w,w=V.next,V.next=null,u.lastBaseUpdate=V,u.shared.pending=null}}while(!0);if(I===null&&(T=b),u.baseState=T,u.firstBaseUpdate=j,u.lastBaseUpdate=I,t=u.shared.interleaved,t!==null){u=t;do y|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);Un|=y,e.lanes=y,e.memoizedState=b}}function Qf(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(o(191,u));u.call(a)}}}var hi={},Ut=yn(hi),pi=yn(hi),mi=yn(hi);function zn(e){if(e===hi)throw Error(o(174));return e}function Ha(e,t){switch(xe(mi,t),xe(pi,e),xe(Ut,hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ws(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ws(t,e)}Te(Ut),xe(Ut,t)}function wr(){Te(Ut),Te(pi),Te(mi)}function Xf(e){zn(mi.current);var t=zn(Ut.current),i=Ws(t,e.type);t!==i&&(xe(pi,e),xe(Ut,i))}function Wa(e){pi.current===e&&(Te(Ut),Te(pi))}var Ae=yn(0);function Fo(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 Ka=[];function Ga(){for(var e=0;e<Ka.length;e++)Ka[e]._workInProgressVersionPrimary=null;Ka.length=0}var Io=$.ReactCurrentDispatcher,Ya=$.ReactCurrentBatchConfig,Bn=0,Ne=null,ze=null,$e=null,bo=!1,gi=!1,yi=0,Rv=0;function Ze(){throw Error(o(321))}function qa(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!Lt(e[i],t[i]))return!1;return!0}function Qa(e,t,i,a,u,d){if(Bn=d,Ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Io.current=e===null||e.memoizedState===null?Lv:jv,e=i(a,u),gi){d=0;do{if(gi=!1,yi=0,25<=d)throw Error(o(301));d+=1,$e=ze=null,t.updateQueue=null,Io.current=Dv,e=i(a,u)}while(gi)}if(Io.current=Uo,t=ze!==null&&ze.next!==null,Bn=0,$e=ze=Ne=null,bo=!1,t)throw Error(o(300));return e}function Xa(){var e=yi!==0;return yi=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?Ne.memoizedState=$e=e:$e=$e.next=e,$e}function Ct(){if(ze===null){var e=Ne.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=$e===null?Ne.memoizedState:$e.next;if(t!==null)$e=t,ze=e;else{if(e===null)throw Error(o(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},$e===null?Ne.memoizedState=$e=e:$e=$e.next=e}return $e}function vi(e,t){return typeof t=="function"?t(e):t}function Za(e){var t=Ct(),i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var a=ze,u=a.baseQueue,d=i.pending;if(d!==null){if(u!==null){var y=u.next;u.next=d.next,d.next=y}a.baseQueue=u=d,i.pending=null}if(u!==null){d=u.next,a=a.baseState;var w=y=null,T=null,j=d;do{var I=j.lane;if((Bn&I)===I)T!==null&&(T=T.next={lane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),a=j.hasEagerState?j.eagerState:e(a,j.action);else{var b={lane:I,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};T===null?(w=T=b,y=a):T=T.next=b,Ne.lanes|=I,Un|=I}j=j.next}while(j!==null&&j!==d);T===null?y=a:T.next=w,Lt(a,t.memoizedState)||(ut=!0),t.memoizedState=a,t.baseState=y,t.baseQueue=T,i.lastRenderedState=a}if(e=i.interleaved,e!==null){u=e;do d=u.lane,Ne.lanes|=d,Un|=d,u=u.next;while(u!==e)}else u===null&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function Ja(e){var t=Ct(),i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var a=i.dispatch,u=i.pending,d=t.memoizedState;if(u!==null){i.pending=null;var y=u=u.next;do d=e(d,y.action),y=y.next;while(y!==u);Lt(d,t.memoizedState)||(ut=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),i.lastRenderedState=d}return[d,a]}function Zf(){}function Jf(e,t){var i=Ne,a=Ct(),u=t(),d=!Lt(a.memoizedState,u);if(d&&(a.memoizedState=u,ut=!0),a=a.queue,el(nd.bind(null,i,a,e),[e]),a.getSnapshot!==t||d||$e!==null&&$e.memoizedState.tag&1){if(i.flags|=2048,xi(9,td.bind(null,i,a,u,t),void 0,null),He===null)throw Error(o(349));(Bn&30)!==0||ed(i,t,u)}return u}function ed(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Ne.updateQueue,t===null?(t={lastEffect:null,stores:null},Ne.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function td(e,t,i,a){t.value=i,t.getSnapshot=a,rd(t)&&id(e)}function nd(e,t,i){return i(function(){rd(t)&&id(e)})}function rd(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Lt(e,i)}catch{return!0}}function id(e){var t=Jt(e,1);t!==null&&Vt(t,e,1,-1)}function od(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vi,lastRenderedState:e},t.queue=e,e=e.dispatch=Mv.bind(null,Ne,e),[t.memoizedState,e]}function xi(e,t,i,a){return e={tag:e,create:t,destroy:i,deps:a,next:null},t=Ne.updateQueue,t===null?(t={lastEffect:null,stores:null},Ne.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 sd(){return Ct().memoizedState}function zo(e,t,i,a){var u=$t();Ne.flags|=e,u.memoizedState=xi(1|t,i,void 0,a===void 0?null:a)}function Bo(e,t,i,a){var u=Ct();a=a===void 0?null:a;var d=void 0;if(ze!==null){var y=ze.memoizedState;if(d=y.destroy,a!==null&&qa(a,y.deps)){u.memoizedState=xi(t,i,d,a);return}}Ne.flags|=e,u.memoizedState=xi(1|t,i,d,a)}function ad(e,t){return zo(8390656,8,e,t)}function el(e,t){return Bo(2048,8,e,t)}function ld(e,t){return Bo(4,2,e,t)}function ud(e,t){return Bo(4,4,e,t)}function cd(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 fd(e,t,i){return i=i!=null?i.concat([e]):null,Bo(4,4,cd.bind(null,t,e),i)}function tl(){}function dd(e,t){var i=Ct();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&qa(t,a[1])?a[0]:(i.memoizedState=[e,t],e)}function hd(e,t){var i=Ct();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&qa(t,a[1])?a[0]:(e=e(),i.memoizedState=[e,t],e)}function pd(e,t,i){return(Bn&21)===0?(e.baseState&&(e.baseState=!1,ut=!0),e.memoizedState=i):(Lt(i,t)||(i=$c(),Ne.lanes|=i,Un|=i,e.baseState=!0),t)}function Av(e,t){var i=ge;ge=i!==0&&4>i?i:4,e(!0);var a=Ya.transition;Ya.transition={};try{e(!1),t()}finally{ge=i,Ya.transition=a}}function md(){return Ct().memoizedState}function Nv(e,t,i){var a=kn(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},gd(e))yd(t,i);else if(i=Gf(e,t,i,a),i!==null){var u=st();Vt(i,e,a,u),vd(i,t,a)}}function Mv(e,t,i){var a=kn(e),u={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(gd(e))yd(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,w=d(y,i);if(u.hasEagerState=!0,u.eagerState=w,Lt(w,y)){var T=t.interleaved;T===null?(u.next=u,Ua(t)):(u.next=T.next,T.next=u),t.interleaved=u;return}}catch{}i=Gf(e,t,u,a),i!==null&&(u=st(),Vt(i,e,a,u),vd(i,t,a))}}function gd(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function yd(e,t){gi=bo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function vd(e,t,i){if((i&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,i|=a,t.lanes=i,ra(e,i)}}var Uo={readContext:Et,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useInsertionEffect:Ze,useLayoutEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useMutableSource:Ze,useSyncExternalStore:Ze,useId:Ze,unstable_isNewReconciler:!1},Lv={readContext:Et,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:ad,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,zo(4194308,4,cd.bind(null,t,e),i)},useLayoutEffect:function(e,t){return zo(4194308,4,e,t)},useInsertionEffect:function(e,t){return zo(4,2,e,t)},useMemo:function(e,t){var i=$t();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var a=$t();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,Ne,e),[a.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:od,useDebugValue:tl,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=od(!1),t=e[0];return e=Av.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var a=Ne,u=$t();if(ke){if(i===void 0)throw Error(o(407));i=i()}else{if(i=t(),He===null)throw Error(o(349));(Bn&30)!==0||ed(a,t,i)}u.memoizedState=i;var d={value:i,getSnapshot:t};return u.queue=d,ad(nd.bind(null,a,d,e),[e]),a.flags|=2048,xi(9,td.bind(null,a,d,i,t),void 0,null),i},useId:function(){var e=$t(),t=He.identifierPrefix;if(ke){var i=Zt,a=Xt;i=(a&~(1<<32-Mt(a)-1)).toString(32)+i,t=":"+t+"R"+i,i=yi++,0<i&&(t+="H"+i.toString(32)),t+=":"}else i=Rv++,t=":"+t+"r"+i.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},jv={readContext:Et,useCallback:dd,useContext:Et,useEffect:el,useImperativeHandle:fd,useInsertionEffect:ld,useLayoutEffect:ud,useMemo:hd,useReducer:Za,useRef:sd,useState:function(){return Za(vi)},useDebugValue:tl,useDeferredValue:function(e){var t=Ct();return pd(t,ze.memoizedState,e)},useTransition:function(){var e=Za(vi)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Zf,useSyncExternalStore:Jf,useId:md,unstable_isNewReconciler:!1},Dv={readContext:Et,useCallback:dd,useContext:Et,useEffect:el,useImperativeHandle:fd,useInsertionEffect:ld,useLayoutEffect:ud,useMemo:hd,useReducer:Ja,useRef:sd,useState:function(){return Ja(vi)},useDebugValue:tl,useDeferredValue:function(e){var t=Ct();return ze===null?t.memoizedState=e:pd(t,ze.memoizedState,e)},useTransition:function(){var e=Ja(vi)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Zf,useSyncExternalStore:Jf,useId:md,unstable_isNewReconciler:!1};function Dt(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 nl(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 $o={isMounted:function(e){return(e=e._reactInternals)?On(e)===e:!1},enqueueSetState:function(e,t,i){e=e._reactInternals;var a=st(),u=kn(e),d=en(a,u);d.payload=t,i!=null&&(d.callback=i),t=Sn(e,d,u),t!==null&&(Vt(t,e,u,a),_o(t,e,u))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var a=st(),u=kn(e),d=en(a,u);d.tag=1,d.payload=t,i!=null&&(d.callback=i),t=Sn(e,d,u),t!==null&&(Vt(t,e,u,a),_o(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=st(),a=kn(e),u=en(i,a);u.tag=2,t!=null&&(u.callback=t),t=Sn(e,u,a),t!==null&&(Vt(t,e,a,i),_o(t,e,a))}};function xd(e,t,i,a,u,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,y):t.prototype&&t.prototype.isPureReactComponent?!oi(i,a)||!oi(u,d):!0}function wd(e,t,i){var a=!1,u=vn,d=t.contextType;return typeof d=="object"&&d!==null?d=Et(d):(u=lt(t)?Vn:Xe.current,a=t.contextTypes,d=(a=a!=null)?hr(e,u):vn),t=new t(i,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$o,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function Sd(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&&$o.enqueueReplaceState(t,t.state,null)}function rl(e,t,i,a){var u=e.stateNode;u.props=i,u.state=e.memoizedState,u.refs={},$a(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=Et(d):(d=lt(t)?Vn:Xe.current,u.context=hr(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(nl(e,t,d,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&&$o.enqueueReplaceState(u,u.state,null),Vo(e,i,u,a),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function Sr(e,t){try{var i="",a=t;do i+=ce(a),a=a.return;while(a);var u=i}catch(d){u=`
7Error generating stack: `+d.message+`
8`+d.stack}return{value:e,source:t,stack:u,digest:null}}function il(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function ol(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var Ov=typeof WeakMap=="function"?WeakMap:Map;function Td(e,t,i){i=en(-1,i),i.tag=3,i.payload={element:null};var a=t.value;return i.callback=function(){Qo||(Qo=!0,wl=a),ol(e,t)},i}function Ed(e,t,i){i=en(-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(){ol(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){ol(e,t),typeof a!="function"&&(En===null?En=new Set([this]):En.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),i}function Cd(e,t,i){var a=e.pingCache;if(a===null){a=e.pingCache=new Ov;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=Yv.bind(null,e,t,i),t.then(e,e))}function kd(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 Pd(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=en(-1,1),t.tag=2,Sn(i,t,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var _v=$.ReactCurrentOwner,ut=!1;function ot(e,t,i,a){t.child=e===null?Kf(t,null,i,a):yr(t,e.child,i,a)}function Rd(e,t,i,a,u){i=i.render;var d=t.ref;return xr(t,u),a=Qa(e,t,i,a,d,u),i=Xa(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,tn(e,t,u)):(ke&&i&&Da(t),t.flags|=1,ot(e,t,a,u),t.child)}function Ad(e,t,i,a,u){if(e===null){var d=i.type;return typeof d=="function"&&!Rl(d)&&d.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=d,Nd(e,t,d,a,u)):(e=ns(i.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var y=d.memoizedProps;if(i=i.compare,i=i!==null?i:oi,i(y,a)&&e.ref===t.ref)return tn(e,t,u)}return t.flags|=1,e=Rn(d,a),e.ref=t.ref,e.return=t,t.child=e}function Nd(e,t,i,a,u){if(e!==null){var d=e.memoizedProps;if(oi(d,a)&&e.ref===t.ref)if(ut=!1,t.pendingProps=a=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,tn(e,t,u)}return sl(e,t,i,a,u)}function Md(e,t,i){var a=t.pendingProps,u=a.children,d=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xe(Er,vt),vt|=i;else{if((i&1073741824)===0)return e=d!==null?d.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xe(Er,vt),vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=d!==null?d.baseLanes:i,xe(Er,vt),vt|=a}else d!==null?(a=d.baseLanes|i,t.memoizedState=null):a=i,xe(Er,vt),vt|=a;return ot(e,t,u,i),t.child}function Ld(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}function sl(e,t,i,a,u){var d=lt(i)?Vn:Xe.current;return d=hr(t,d),xr(t,u),i=Qa(e,t,i,a,d,u),a=Xa(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,tn(e,t,u)):(ke&&a&&Da(t),t.flags|=1,ot(e,t,i,u),t.child)}function jd(e,t,i,a,u){if(lt(i)){var d=!0;Ro(t)}else d=!1;if(xr(t,u),t.stateNode===null)Wo(e,t),wd(t,i,a),rl(t,i,a,u),a=!0;else if(e===null){var y=t.stateNode,w=t.memoizedProps;y.props=w;var T=y.context,j=i.contextType;typeof j=="object"&&j!==null?j=Et(j):(j=lt(i)?Vn:Xe.current,j=hr(t,j));var I=i.getDerivedStateFromProps,b=typeof I=="function"||typeof y.getSnapshotBeforeUpdate=="function";b||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==a||T!==j)&&Sd(t,y,a,j),wn=!1;var V=t.memoizedState;y.state=V,Vo(t,a,y,u),T=t.memoizedState,w!==a||V!==T||at.current||wn?(typeof I=="function"&&(nl(t,i,I,a),T=t.memoizedState),(w=wn||xd(t,i,w,a,V,T,j))?(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=j,a=w):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{y=t.stateNode,Yf(e,t),w=t.memoizedProps,j=t.type===t.elementType?w:Dt(t.type,w),y.props=j,b=t.pendingProps,V=y.context,T=i.contextType,typeof T=="object"&&T!==null?T=Et(T):(T=lt(i)?Vn:Xe.current,T=hr(t,T));var H=i.getDerivedStateFromProps;(I=typeof H=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==b||V!==T)&&Sd(t,y,a,T),wn=!1,V=t.memoizedState,y.state=V,Vo(t,a,y,u);var G=t.memoizedState;w!==b||V!==G||at.current||wn?(typeof H=="function"&&(nl(t,i,H,a),G=t.memoizedState),(j=wn||xd(t,i,j,a,V,G,T)||!1)?(I||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"||w===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=G),y.props=a,y.state=G,y.context=T,a=j):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),a=!1)}return al(e,t,i,a,d,u)}function al(e,t,i,a,u,d){Ld(e,t);var y=(t.flags&128)!==0;if(!a&&!y)return u&&Ff(t,i,!1),tn(e,t,d);a=t.stateNode,_v.current=t;var w=y&&typeof i.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&y?(t.child=yr(t,e.child,null,d),t.child=yr(t,null,w,d)):ot(e,t,w,d),t.memoizedState=a.state,u&&Ff(t,i,!0),t.child}function Dd(e){var t=e.stateNode;t.pendingContext?_f(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_f(e,t.context,!1),Ha(e,t.containerInfo)}function Od(e,t,i,a,u){return gr(),Fa(u),t.flags|=256,ot(e,t,i,a),t.child}var ll={dehydrated:null,treeContext:null,retryLane:0};function ul(e){return{baseLanes:e,cachePool:null,transitions:null}}function _d(e,t,i){var a=t.pendingProps,u=Ae.current,d=!1,y=(t.flags&128)!==0,w;if((w=y)||(w=e!==null&&e.memoizedState===null?!1:(u&2)!==0),w?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),xe(Ae,u&1),e===null)return Va(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,d?(a=t.mode,d=t.child,y={mode:"hidden",children:y},(a&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=y):d=rs(y,a,0,null),e=Kn(e,a,i,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=ul(i),t.memoizedState=ll,e):cl(t,y));if(u=e.memoizedState,u!==null&&(w=u.dehydrated,w!==null))return Vv(e,t,y,a,w,u,i);if(d){d=a.fallback,y=t.mode,u=e.child,w=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=Rn(u,T),a.subtreeFlags=u.subtreeFlags&14680064),w!==null?d=Rn(w,d):(d=Kn(d,y,i,null),d.flags|=2),d.return=t,a.return=t,a.sibling=d,t.child=a,a=d,d=t.child,y=e.child.memoizedState,y=y===null?ul(i):{baseLanes:y.baseLanes|i,cachePool:null,transitions:y.transitions},d.memoizedState=y,d.childLanes=e.childLanes&~i,t.memoizedState=ll,a}return d=e.child,e=d.sibling,a=Rn(d,{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 cl(e,t){return t=rs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ho(e,t,i,a){return a!==null&&Fa(a),yr(t,e.child,null,i),e=cl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Vv(e,t,i,a,u,d,y){if(i)return t.flags&256?(t.flags&=-257,a=il(Error(o(422))),Ho(e,t,y,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=a.fallback,u=t.mode,a=rs({mode:"visible",children:a.children},u,0,null),d=Kn(d,u,y,null),d.flags|=2,a.return=t,d.return=t,a.sibling=d,t.child=a,(t.mode&1)!==0&&yr(t,e.child,null,y),t.child.memoizedState=ul(y),t.memoizedState=ll,d);if((t.mode&1)===0)return Ho(e,t,y,null);if(u.data==="$!"){if(a=u.nextSibling&&u.nextSibling.dataset,a)var w=a.dgst;return a=w,d=Error(o(419)),a=il(d,a,void 0),Ho(e,t,y,a)}if(w=(y&e.childLanes)!==0,ut||w){if(a=He,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!==d.retryLane&&(d.retryLane=u,Jt(e,u),Vt(a,e,u,-1))}return Pl(),a=il(Error(o(421))),Ho(e,t,y,a)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=qv.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,yt=gn(u.nextSibling),gt=t,ke=!0,jt=null,e!==null&&(St[Tt++]=Xt,St[Tt++]=Zt,St[Tt++]=Fn,Xt=e.id,Zt=e.overflow,Fn=t),t=cl(t,a.children),t.flags|=4096,t)}function Vd(e,t,i){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ba(e.return,t,i)}function fl(e,t,i,a,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=i,d.tailMode=u)}function Fd(e,t,i){var a=t.pendingProps,u=a.revealOrder,d=a.tail;if(ot(e,t,a.children,i),a=Ae.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&&Vd(e,i,t);else if(e.tag===19)Vd(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(xe(Ae,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&&Fo(e)===null&&(u=i),i=i.sibling;i=u,i===null?(u=t.child,t.child=null):(u=i.sibling,i.sibling=null),fl(t,!1,u,i,d);break;case"backwards":for(i=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Fo(e)===null){t.child=u;break}e=u.sibling,u.sibling=i,i=u,u=e}fl(t,!0,i,null,d);break;case"together":fl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wo(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tn(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,(i&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,i=Rn(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=Rn(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Fv(e,t,i){switch(t.tag){case 3:Dd(t),gr();break;case 5:Xf(t);break;case 1:lt(t.type)&&Ro(t);break;case 4:Ha(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,u=t.memoizedProps.value;xe(Do,a._currentValue),a._currentValue=u;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(xe(Ae,Ae.current&1),t.flags|=128,null):(i&t.child.childLanes)!==0?_d(e,t,i):(xe(Ae,Ae.current&1),e=tn(e,t,i),e!==null?e.sibling:null);xe(Ae,Ae.current&1);break;case 19:if(a=(i&t.childLanes)!==0,(e.flags&128)!==0){if(a)return Fd(e,t,i);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),xe(Ae,Ae.current),a)break;return null;case 22:case 23:return t.lanes=0,Md(e,t,i)}return tn(e,t,i)}var Id,dl,bd,zd;Id=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}},dl=function(){},bd=function(e,t,i,a){var u=e.memoizedProps;if(u!==a){e=t.stateNode,zn(Ut.current);var d=null;switch(i){case"input":u=Bs(e,u),a=Bs(e,a),d=[];break;case"select":u=W({},u,{value:void 0}),a=W({},a,{value:void 0}),d=[];break;case"textarea":u=Hs(e,u),a=Hs(e,a),d=[];break;default:typeof u.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Co)}Ks(i,a);var y;i=null;for(j in u)if(!a.hasOwnProperty(j)&&u.hasOwnProperty(j)&&u[j]!=null)if(j==="style"){var w=u[j];for(y in w)w.hasOwnProperty(y)&&(i||(i={}),i[y]="")}else j!=="dangerouslySetInnerHTML"&&j!=="children"&&j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(l.hasOwnProperty(j)?d||(d=[]):(d=d||[]).push(j,null));for(j in a){var T=a[j];if(w=u?.[j],a.hasOwnProperty(j)&&T!==w&&(T!=null||w!=null))if(j==="style")if(w){for(y in w)!w.hasOwnProperty(y)||T&&T.hasOwnProperty(y)||(i||(i={}),i[y]="");for(y in T)T.hasOwnProperty(y)&&w[y]!==T[y]&&(i||(i={}),i[y]=T[y])}else i||(d||(d=[]),d.push(j,i)),i=T;else j==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,w=w?w.__html:void 0,T!=null&&w!==T&&(d=d||[]).push(j,T)):j==="children"?typeof T!="string"&&typeof T!="number"||(d=d||[]).push(j,""+T):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&(l.hasOwnProperty(j)?(T!=null&&j==="onScroll"&&Se("scroll",e),d||w===T||(d=[])):(d=d||[]).push(j,T))}i&&(d=d||[]).push("style",i);var j=d;(t.updateQueue=j)&&(t.flags|=4)}},zd=function(e,t,i,a){i!==a&&(t.flags|=4)};function wi(e,t){if(!ke)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 Je(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(t)for(var u=e.child;u!==null;)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 Iv(e,t,i){var a=t.pendingProps;switch(Oa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Je(t),null;case 1:return lt(t.type)&&Po(),Je(t),null;case 3:return a=t.stateNode,wr(),Te(at),Te(Xe),Ga(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Lo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jt!==null&&(El(jt),jt=null))),dl(e,t),Je(t),null;case 5:Wa(t);var u=zn(mi.current);if(i=t.type,e!==null&&t.stateNode!=null)bd(e,t,i,a,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Je(t),null}if(e=zn(Ut.current),Lo(t)){a=t.stateNode,i=t.type;var d=t.memoizedProps;switch(a[Bt]=t,a[ci]=d,e=(t.mode&1)!==0,i){case"dialog":Se("cancel",a),Se("close",a);break;case"iframe":case"object":case"embed":Se("load",a);break;case"video":case"audio":for(u=0;u<ai.length;u++)Se(ai[u],a);break;case"source":Se("error",a);break;case"img":case"image":case"link":Se("error",a),Se("load",a);break;case"details":Se("toggle",a);break;case"input":xc(a,d),Se("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!d.multiple},Se("invalid",a);break;case"textarea":Tc(a,d),Se("invalid",a)}Ks(i,d),u=null;for(var y in d)if(d.hasOwnProperty(y)){var w=d[y];y==="children"?typeof w=="string"?a.textContent!==w&&(d.suppressHydrationWarning!==!0&&Eo(a.textContent,w,e),u=["children",w]):typeof w=="number"&&a.textContent!==""+w&&(d.suppressHydrationWarning!==!0&&Eo(a.textContent,w,e),u=["children",""+w]):l.hasOwnProperty(y)&&w!=null&&y==="onScroll"&&Se("scroll",a)}switch(i){case"input":Ji(a),Sc(a,d,!0);break;case"textarea":Ji(a),Cc(a);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(a.onclick=Co)}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=kc(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[ci]=a,Id(e,t,!1,!1),t.stateNode=e;e:{switch(y=Gs(i,a),i){case"dialog":Se("cancel",e),Se("close",e),u=a;break;case"iframe":case"object":case"embed":Se("load",e),u=a;break;case"video":case"audio":for(u=0;u<ai.length;u++)Se(ai[u],e);u=a;break;case"source":Se("error",e),u=a;break;case"img":case"image":case"link":Se("error",e),Se("load",e),u=a;break;case"details":Se("toggle",e),u=a;break;case"input":xc(e,a),u=Bs(e,a),Se("invalid",e);break;case"option":u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=W({},a,{value:void 0}),Se("invalid",e);break;case"textarea":Tc(e,a),u=Hs(e,a),Se("invalid",e);break;default:u=a}Ks(i,u),w=u;for(d in w)if(w.hasOwnProperty(d)){var T=w[d];d==="style"?Ac(e,T):d==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&Pc(e,T)):d==="children"?typeof T=="string"?(i!=="textarea"||T!=="")&&Ur(e,T):typeof T=="number"&&Ur(e,""+T):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?T!=null&&d==="onScroll"&&Se("scroll",e):T!=null&&_(e,d,T,y))}switch(i){case"input":Ji(e),Sc(e,a,!1);break;case"textarea":Ji(e),Cc(e);break;case"option":a.value!=null&&e.setAttribute("value",""+me(a.value));break;case"select":e.multiple=!!a.multiple,d=a.value,d!=null?tr(e,!!a.multiple,d,!1):a.defaultValue!=null&&tr(e,!!a.multiple,a.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Co)}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 Je(t),null;case 6:if(e&&t.stateNode!=null)zd(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(i=zn(mi.current),zn(Ut.current),Lo(t)){if(a=t.stateNode,i=t.memoizedProps,a[Bt]=t,(d=a.nodeValue!==i)&&(e=gt,e!==null))switch(e.tag){case 3:Eo(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Eo(a.nodeValue,i,(e.mode&1)!==0)}d&&(t.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[Bt]=t,t.stateNode=a}return Je(t),null;case 13:if(Te(Ae),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ke&&yt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)$f(),gr(),t.flags|=98560,d=!1;else if(d=Lo(t),a!==null&&a.dehydrated!==null){if(e===null){if(!d)throw Error(o(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(o(317));d[Bt]=t}else gr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Je(t),d=!1}else jt!==null&&(El(jt),jt=null),d=!0;if(!d)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||(Ae.current&1)!==0?Be===0&&(Be=3):Pl())),t.updateQueue!==null&&(t.flags|=4),Je(t),null);case 4:return wr(),dl(e,t),e===null&&li(t.stateNode.containerInfo),Je(t),null;case 10:return za(t.type._context),Je(t),null;case 17:return lt(t.type)&&Po(),Je(t),null;case 19:if(Te(Ae),d=t.memoizedState,d===null)return Je(t),null;if(a=(t.flags&128)!==0,y=d.rendering,y===null)if(a)wi(d,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=Fo(e),y!==null){for(t.flags|=128,wi(d,!1),a=y.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=i,i=t.child;i!==null;)d=i,e=a,d.flags&=14680066,y=d.alternate,y===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=y.childLanes,d.lanes=y.lanes,d.child=y.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=y.memoizedProps,d.memoizedState=y.memoizedState,d.updateQueue=y.updateQueue,d.type=y.type,e=y.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return xe(Ae,Ae.current&1|2),t.child}e=e.sibling}d.tail!==null&&_e()>Cr&&(t.flags|=128,a=!0,wi(d,!1),t.lanes=4194304)}else{if(!a)if(e=Fo(y),e!==null){if(t.flags|=128,a=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),wi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!y.alternate&&!ke)return Je(t),null}else 2*_e()-d.renderingStartTime>Cr&&i!==1073741824&&(t.flags|=128,a=!0,wi(d,!1),t.lanes=4194304);d.isBackwards?(y.sibling=t.child,t.child=y):(i=d.last,i!==null?i.sibling=y:t.child=y,d.last=y)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=_e(),t.sibling=null,i=Ae.current,xe(Ae,a?i&1|2:i&1),t):(Je(t),null);case 22:case 23:return kl(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(vt&1073741824)!==0&&(Je(t),t.subtreeFlags&6&&(t.flags|=8192)):Je(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function bv(e,t){switch(Oa(t),t.tag){case 1:return lt(t.type)&&Po(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wr(),Te(at),Te(Xe),Ga(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Wa(t),null;case 13:if(Te(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Ae),null;case 4:return wr(),null;case 10:return za(t.type._context),null;case 22:case 23:return kl(),null;case 24:return null;default:return null}}var Ko=!1,et=!1,zv=typeof WeakSet=="function"?WeakSet:Set,K=null;function Tr(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){je(e,t,a)}else i.current=null}function hl(e,t,i){try{i()}catch(a){je(e,t,a)}}var Bd=!1;function Bv(e,t){if(ka=fo,e=xf(),ya(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,d=a.focusNode;a=a.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var y=0,w=-1,T=-1,j=0,I=0,b=e,V=null;t:for(;;){for(var H;b!==i||u!==0&&b.nodeType!==3||(w=y+u),b!==d||a!==0&&b.nodeType!==3||(T=y+a),b.nodeType===3&&(y+=b.nodeValue.length),(H=b.firstChild)!==null;)V=b,b=H;for(;;){if(b===e)break t;if(V===i&&++j===u&&(w=y),V===d&&++I===a&&(T=y),(H=b.nextSibling)!==null)break;b=V,V=b.parentNode}b=H}i=w===-1||T===-1?null:{start:w,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(Pa={focusedElem:e,selectionRange:i},fo=!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 Y=G.memoizedProps,Ve=G.memoizedState,N=t.stateNode,k=N.getSnapshotBeforeUpdate(t.elementType===t.type?Y:Dt(t.type,Y),Ve);N.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(B){je(t,t.return,B)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return G=Bd,Bd=!1,G}function Si(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 d=u.destroy;u.destroy=void 0,d!==void 0&&hl(t,i,d)}u=u.next}while(u!==a)}}function Go(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 pl(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 Ud(e){var t=e.alternate;t!==null&&(e.alternate=null,Ud(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[ci],delete t[Ma],delete t[Ev],delete t[Cv])),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 $d(e){return e.tag===5||e.tag===3||e.tag===4}function Hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$d(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 ml(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=Co));else if(a!==4&&(e=e.child,e!==null))for(ml(e,t,i),e=e.sibling;e!==null;)ml(e,t,i),e=e.sibling}function gl(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(gl(e,t,i),e=e.sibling;e!==null;)gl(e,t,i),e=e.sibling}var Ge=null,Ot=!1;function Tn(e,t,i){for(i=i.child;i!==null;)Wd(e,t,i),i=i.sibling}function Wd(e,t,i){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(oo,i)}catch{}switch(i.tag){case 5:et||Tr(i,t);case 6:var a=Ge,u=Ot;Ge=null,Tn(e,t,i),Ge=a,Ot=u,Ge!==null&&(Ot?(e=Ge,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):Ge.removeChild(i.stateNode));break;case 18:Ge!==null&&(Ot?(e=Ge,i=i.stateNode,e.nodeType===8?Na(e.parentNode,i):e.nodeType===1&&Na(e,i),Jr(e)):Na(Ge,i.stateNode));break;case 4:a=Ge,u=Ot,Ge=i.stateNode.containerInfo,Ot=!0,Tn(e,t,i),Ge=a,Ot=u;break;case 0:case 11:case 14:case 15:if(!et&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){u=a=a.next;do{var d=u,y=d.destroy;d=d.tag,y!==void 0&&((d&2)!==0||(d&4)!==0)&&hl(i,t,y),u=u.next}while(u!==a)}Tn(e,t,i);break;case 1:if(!et&&(Tr(i,t),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(w){je(i,t,w)}Tn(e,t,i);break;case 21:Tn(e,t,i);break;case 22:i.mode&1?(et=(a=et)||i.memoizedState!==null,Tn(e,t,i),et=a):Tn(e,t,i);break;default:Tn(e,t,i)}}function Kd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new zv),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 d=e,y=t,w=y;e:for(;w!==null;){switch(w.tag){case 5:Ge=w.stateNode,Ot=!1;break e;case 3:Ge=w.stateNode.containerInfo,Ot=!0;break e;case 4:Ge=w.stateNode.containerInfo,Ot=!0;break e}w=w.return}if(Ge===null)throw Error(o(160));Wd(d,y,u),Ge=null,Ot=!1;var T=u.alternate;T!==null&&(T.return=null),u.return=null}catch(j){je(u,t,j)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Gd(t,e),t=t.sibling}function Gd(e,t){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_t(t,e),Ht(e),a&4){try{Si(3,e,e.return),Go(3,e)}catch(Y){je(e,e.return,Y)}try{Si(5,e,e.return)}catch(Y){je(e,e.return,Y)}}break;case 1:_t(t,e),Ht(e),a&512&&i!==null&&Tr(i,i.return);break;case 5:if(_t(t,e),Ht(e),a&512&&i!==null&&Tr(i,i.return),e.flags&32){var u=e.stateNode;try{Ur(u,"")}catch(Y){je(e,e.return,Y)}}if(a&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,y=i!==null?i.memoizedProps:d,w=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{w==="input"&&d.type==="radio"&&d.name!=null&&wc(u,d),Gs(w,y);var j=Gs(w,d);for(y=0;y<T.length;y+=2){var I=T[y],b=T[y+1];I==="style"?Ac(u,b):I==="dangerouslySetInnerHTML"?Pc(u,b):I==="children"?Ur(u,b):_(u,I,b,j)}switch(w){case"input":Us(u,d);break;case"textarea":Ec(u,d);break;case"select":var V=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var H=d.value;H!=null?tr(u,!!d.multiple,H,!1):V!==!!d.multiple&&(d.defaultValue!=null?tr(u,!!d.multiple,d.defaultValue,!0):tr(u,!!d.multiple,d.multiple?[]:"",!1))}u[ci]=d}catch(Y){je(e,e.return,Y)}}break;case 6:if(_t(t,e),Ht(e),a&4){if(e.stateNode===null)throw Error(o(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(Y){je(e,e.return,Y)}}break;case 3:if(_t(t,e),Ht(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{Jr(t.containerInfo)}catch(Y){je(e,e.return,Y)}break;case 4:_t(t,e),Ht(e);break;case 13:_t(t,e),Ht(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(xl=_e())),a&4&&Kd(e);break;case 22:if(I=i!==null&&i.memoizedState!==null,e.mode&1?(et=(j=et)||I,_t(t,e),et=j):_t(t,e),Ht(e),a&8192){if(j=e.memoizedState!==null,(e.stateNode.isHidden=j)&&!I&&(e.mode&1)!==0)for(K=e,I=e.child;I!==null;){for(b=K=I;K!==null;){switch(V=K,H=V.child,V.tag){case 0:case 11:case 14:case 15:Si(4,V,V.return);break;case 1:Tr(V,V.return);var G=V.stateNode;if(typeof G.componentWillUnmount=="function"){a=V,i=V.return;try{t=a,G.props=t.memoizedProps,G.state=t.memoizedState,G.componentWillUnmount()}catch(Y){je(a,i,Y)}}break;case 5:Tr(V,V.return);break;case 22:if(V.memoizedState!==null){Qd(b);continue}}H!==null?(H.return=V,K=H):Qd(b)}I=I.sibling}e:for(I=null,b=e;;){if(b.tag===5){if(I===null){I=b;try{u=b.stateNode,j?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(w=b.stateNode,T=b.memoizedProps.style,y=T!=null&&T.hasOwnProperty("display")?T.display:null,w.style.display=Rc("display",y))}catch(Y){je(e,e.return,Y)}}}else if(b.tag===6){if(I===null)try{b.stateNode.nodeValue=j?"":b.memoizedProps}catch(Y){je(e,e.return,Y)}}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;I===b&&(I=null),b=b.return}I===b&&(I=null),b.sibling.return=b.return,b=b.sibling}}break;case 19:_t(t,e),Ht(e),a&4&&Kd(e);break;case 21:break;default:_t(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{e:{for(var i=e.return;i!==null;){if($d(i)){var a=i;break e}i=i.return}throw Error(o(160))}switch(a.tag){case 5:var u=a.stateNode;a.flags&32&&(Ur(u,""),a.flags&=-33);var d=Hd(e);gl(e,d,u);break;case 3:case 4:var y=a.stateNode.containerInfo,w=Hd(e);ml(e,w,y);break;default:throw Error(o(161))}}catch(T){je(e,e.return,T)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Uv(e,t,i){K=e,Yd(e)}function Yd(e,t,i){for(var a=(e.mode&1)!==0;K!==null;){var u=K,d=u.child;if(u.tag===22&&a){var y=u.memoizedState!==null||Ko;if(!y){var w=u.alternate,T=w!==null&&w.memoizedState!==null||et;w=Ko;var j=et;if(Ko=y,(et=T)&&!j)for(K=u;K!==null;)y=K,T=y.child,y.tag===22&&y.memoizedState!==null?Xd(u):T!==null?(T.return=y,K=T):Xd(u);for(;d!==null;)K=d,Yd(d),d=d.sibling;K=u,Ko=w,et=j}qd(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,K=d):qd(e)}}function qd(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:et||Go(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!et)if(i===null)a.componentDidMount();else{var u=t.elementType===t.type?i.memoizedProps:Dt(t.type,i.memoizedProps);a.componentDidUpdate(u,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Qf(t,d,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}Qf(t,y,i)}break;case 5:var w=t.stateNode;if(i===null&&t.flags&4){i=w;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 j=t.alternate;if(j!==null){var I=j.memoizedState;if(I!==null){var b=I.dehydrated;b!==null&&Jr(b)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}et||t.flags&512&&pl(t)}catch(V){je(t,t.return,V)}}if(t===e){K=null;break}if(i=t.sibling,i!==null){i.return=t.return,K=i;break}K=t.return}}function Qd(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 Xd(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{Go(4,t)}catch(T){je(t,i,T)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var u=t.return;try{a.componentDidMount()}catch(T){je(t,u,T)}}var d=t.return;try{pl(t)}catch(T){je(t,d,T)}break;case 5:var y=t.return;try{pl(t)}catch(T){je(t,y,T)}}}catch(T){je(t,t.return,T)}if(t===e){K=null;break}var w=t.sibling;if(w!==null){w.return=t.return,K=w;break}K=t.return}}var $v=Math.ceil,Yo=$.ReactCurrentDispatcher,yl=$.ReactCurrentOwner,kt=$.ReactCurrentBatchConfig,ue=0,He=null,be=null,Ye=0,vt=0,Er=yn(0),Be=0,Ti=null,Un=0,qo=0,vl=0,Ei=null,ct=null,xl=0,Cr=1/0,nn=null,Qo=!1,wl=null,En=null,Xo=!1,Cn=null,Zo=0,Ci=0,Sl=null,Jo=-1,es=0;function st(){return(ue&6)!==0?_e():Jo!==-1?Jo:Jo=_e()}function kn(e){return(e.mode&1)===0?1:(ue&2)!==0&&Ye!==0?Ye&-Ye:Pv.transition!==null?(es===0&&(es=$c()),es):(e=ge,e!==0||(e=window.event,e=e===void 0?16:Zc(e.type)),e)}function Vt(e,t,i,a){if(50<Ci)throw Ci=0,Sl=null,Error(o(185));Yr(e,i,a),((ue&2)===0||e!==He)&&(e===He&&((ue&2)===0&&(qo|=i),Be===4&&Pn(e,Ye)),ft(e,a),i===1&&ue===0&&(t.mode&1)===0&&(Cr=_e()+500,Ao&&xn()))}function ft(e,t){var i=e.callbackNode;Py(e,t);var a=lo(e,e===He?Ye:0);if(a===0)i!==null&&zc(i),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(i!=null&&zc(i),t===1)e.tag===0?kv(Jd.bind(null,e)):If(Jd.bind(null,e)),Sv(function(){(ue&6)===0&&xn()}),i=null;else{switch(Hc(a)){case 1:i=ea;break;case 4:i=Bc;break;case 16:i=io;break;case 536870912:i=Uc;break;default:i=io}i=ah(i,Zd.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function Zd(e,t){if(Jo=-1,es=0,(ue&6)!==0)throw Error(o(327));var i=e.callbackNode;if(kr()&&e.callbackNode!==i)return null;var a=lo(e,e===He?Ye:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=ts(e,a);else{t=a;var u=ue;ue|=2;var d=th();(He!==e||Ye!==t)&&(nn=null,Cr=_e()+500,Hn(e,t));do try{Kv();break}catch(w){eh(e,w)}while(!0);ba(),Yo.current=d,ue=u,be!==null?t=0:(He=null,Ye=0,t=Be)}if(t!==0){if(t===2&&(u=ta(e),u!==0&&(a=u,t=Tl(e,u))),t===1)throw i=Ti,Hn(e,0),Pn(e,a),ft(e,_e()),i;if(t===6)Pn(e,a);else{if(u=e.current.alternate,(a&30)===0&&!Hv(u)&&(t=ts(e,a),t===2&&(d=ta(e),d!==0&&(a=d,t=Tl(e,d))),t===1))throw i=Ti,Hn(e,0),Pn(e,a),ft(e,_e()),i;switch(e.finishedWork=u,e.finishedLanes=a,t){case 0:case 1:throw Error(o(345));case 2:Wn(e,ct,nn);break;case 3:if(Pn(e,a),(a&130023424)===a&&(t=xl+500-_e(),10<t)){if(lo(e,0)!==0)break;if(u=e.suspendedLanes,(u&a)!==a){st(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Aa(Wn.bind(null,e,ct,nn),t);break}Wn(e,ct,nn);break;case 4:if(Pn(e,a),(a&4194240)===a)break;for(t=e.eventTimes,u=-1;0<a;){var y=31-Mt(a);d=1<<y,y=t[y],y>u&&(u=y),a&=~d}if(a=u,a=_e()-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=Aa(Wn.bind(null,e,ct,nn),a);break}Wn(e,ct,nn);break;case 5:Wn(e,ct,nn);break;default:throw Error(o(329))}}}return ft(e,_e()),e.callbackNode===i?Zd.bind(null,e):null}function Tl(e,t){var i=Ei;return e.current.memoizedState.isDehydrated&&(Hn(e,t).flags|=256),e=ts(e,t),e!==2&&(t=ct,ct=i,t!==null&&El(t)),e}function El(e){ct===null?ct=e:ct.push.apply(ct,e)}function Hv(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],d=u.getSnapshot;u=u.value;try{if(!Lt(d(),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 Pn(e,t){for(t&=~vl,t&=~qo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-Mt(t),a=1<<i;e[i]=-1,t&=~a}}function Jd(e){if((ue&6)!==0)throw Error(o(327));kr();var t=lo(e,0);if((t&1)===0)return ft(e,_e()),null;var i=ts(e,t);if(e.tag!==0&&i===2){var a=ta(e);a!==0&&(t=a,i=Tl(e,a))}if(i===1)throw i=Ti,Hn(e,0),Pn(e,t),ft(e,_e()),i;if(i===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wn(e,ct,nn),ft(e,_e()),null}function Cl(e,t){var i=ue;ue|=1;try{return e(t)}finally{ue=i,ue===0&&(Cr=_e()+500,Ao&&xn())}}function $n(e){Cn!==null&&Cn.tag===0&&(ue&6)===0&&kr();var t=ue;ue|=1;var i=kt.transition,a=ge;try{if(kt.transition=null,ge=1,e)return e()}finally{ge=a,kt.transition=i,ue=t,(ue&6)===0&&xn()}}function kl(){vt=Er.current,Te(Er)}function Hn(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,wv(i)),be!==null)for(i=be.return;i!==null;){var a=i;switch(Oa(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Po();break;case 3:wr(),Te(at),Te(Xe),Ga();break;case 5:Wa(a);break;case 4:wr();break;case 13:Te(Ae);break;case 19:Te(Ae);break;case 10:za(a.type._context);break;case 22:case 23:kl()}i=i.return}if(He=e,be=e=Rn(e.current,null),Ye=vt=t,Be=0,Ti=null,vl=qo=Un=0,ct=Ei=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,d=i.pending;if(d!==null){var y=d.next;d.next=u,a.next=y}i.pending=a}bn=null}return e}function eh(e,t){do{var i=be;try{if(ba(),Io.current=Uo,bo){for(var a=Ne.memoizedState;a!==null;){var u=a.queue;u!==null&&(u.pending=null),a=a.next}bo=!1}if(Bn=0,$e=ze=Ne=null,gi=!1,yi=0,yl.current=null,i===null||i.return===null){Be=1,Ti=t,be=null;break}e:{var d=e,y=i.return,w=i,T=t;if(t=Ye,w.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var j=T,I=w,b=I.tag;if((I.mode&1)===0&&(b===0||b===11||b===15)){var V=I.alternate;V?(I.updateQueue=V.updateQueue,I.memoizedState=V.memoizedState,I.lanes=V.lanes):(I.updateQueue=null,I.memoizedState=null)}var H=kd(y);if(H!==null){H.flags&=-257,Pd(H,y,w,d,t),H.mode&1&&Cd(d,j,t),t=H,T=j;var G=t.updateQueue;if(G===null){var Y=new Set;Y.add(T),t.updateQueue=Y}else G.add(T);break e}else{if((t&1)===0){Cd(d,j,t),Pl();break e}T=Error(o(426))}}else if(ke&&w.mode&1){var Ve=kd(y);if(Ve!==null){(Ve.flags&65536)===0&&(Ve.flags|=256),Pd(Ve,y,w,d,t),Fa(Sr(T,w));break e}}d=T=Sr(T,w),Be!==4&&(Be=2),Ei===null?Ei=[d]:Ei.push(d),d=y;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var N=Td(d,T,t);qf(d,N);break e;case 1:w=T;var k=d.type,M=d.stateNode;if((d.flags&128)===0&&(typeof k.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(En===null||!En.has(M)))){d.flags|=65536,t&=-t,d.lanes|=t;var B=Ed(d,w,t);qf(d,B);break e}}d=d.return}while(d!==null)}rh(i)}catch(Q){t=Q,be===i&&i!==null&&(be=i=i.return);continue}break}while(!0)}function th(){var e=Yo.current;return Yo.current=Uo,e===null?Uo:e}function Pl(){(Be===0||Be===3||Be===2)&&(Be=4),He===null||(Un&268435455)===0&&(qo&268435455)===0||Pn(He,Ye)}function ts(e,t){var i=ue;ue|=2;var a=th();(He!==e||Ye!==t)&&(nn=null,Hn(e,t));do try{Wv();break}catch(u){eh(e,u)}while(!0);if(ba(),ue=i,Yo.current=a,be!==null)throw Error(o(261));return He=null,Ye=0,Be}function Wv(){for(;be!==null;)nh(be)}function Kv(){for(;be!==null&&!yy();)nh(be)}function nh(e){var t=sh(e.alternate,e,vt);e.memoizedProps=e.pendingProps,t===null?rh(e):be=t,yl.current=null}function rh(e){var t=e;do{var i=t.alternate;if(e=t.return,(t.flags&32768)===0){if(i=Iv(i,t,vt),i!==null){be=i;return}}else{if(i=bv(i,t),i!==null){i.flags&=32767,be=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Be=6,be=null;return}}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);Be===0&&(Be=5)}function Wn(e,t,i){var a=ge,u=kt.transition;try{kt.transition=null,ge=1,Gv(e,t,i,a)}finally{kt.transition=u,ge=a}return null}function Gv(e,t,i,a){do kr();while(Cn!==null);if((ue&6)!==0)throw Error(o(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(o(177));e.callbackNode=null,e.callbackPriority=0;var d=i.lanes|i.childLanes;if(Ry(e,d),e===He&&(be=He=null,Ye=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Xo||(Xo=!0,ah(io,function(){return kr(),null})),d=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||d){d=kt.transition,kt.transition=null;var y=ge;ge=1;var w=ue;ue|=4,yl.current=null,Bv(e,i),Gd(i,e),hv(Pa),fo=!!ka,Pa=ka=null,e.current=i,Uv(i),vy(),ue=w,ge=y,kt.transition=d}else e.current=i;if(Xo&&(Xo=!1,Cn=e,Zo=u),d=e.pendingLanes,d===0&&(En=null),Sy(i.stateNode),ft(e,_e()),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(Qo)throw Qo=!1,e=wl,wl=null,e;return(Zo&1)!==0&&e.tag!==0&&kr(),d=e.pendingLanes,(d&1)!==0?e===Sl?Ci++:(Ci=0,Sl=e):Ci=0,xn(),null}function kr(){if(Cn!==null){var e=Hc(Zo),t=kt.transition,i=ge;try{if(kt.transition=null,ge=16>e?16:e,Cn===null)var a=!1;else{if(e=Cn,Cn=null,Zo=0,(ue&6)!==0)throw Error(o(331));var u=ue;for(ue|=4,K=e.current;K!==null;){var d=K,y=d.child;if((K.flags&16)!==0){var w=d.deletions;if(w!==null){for(var T=0;T<w.length;T++){var j=w[T];for(K=j;K!==null;){var I=K;switch(I.tag){case 0:case 11:case 15:Si(8,I,d)}var b=I.child;if(b!==null)b.return=I,K=b;else for(;K!==null;){I=K;var V=I.sibling,H=I.return;if(Ud(I),I===j){K=null;break}if(V!==null){V.return=H,K=V;break}K=H}}}var G=d.alternate;if(G!==null){var Y=G.child;if(Y!==null){G.child=null;do{var Ve=Y.sibling;Y.sibling=null,Y=Ve}while(Y!==null)}}K=d}}if((d.subtreeFlags&2064)!==0&&y!==null)y.return=d,K=y;else e:for(;K!==null;){if(d=K,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Si(9,d,d.return)}var N=d.sibling;if(N!==null){N.return=d.return,K=N;break e}K=d.return}}var k=e.current;for(K=k;K!==null;){y=K;var M=y.child;if((y.subtreeFlags&2064)!==0&&M!==null)M.return=y,K=M;else e:for(y=k;K!==null;){if(w=K,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:Go(9,w)}}catch(Q){je(w,w.return,Q)}if(w===y){K=null;break e}var B=w.sibling;if(B!==null){B.return=w.return,K=B;break e}K=w.return}}if(ue=u,xn(),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(oo,e)}catch{}a=!0}return a}finally{ge=i,kt.transition=t}}return!1}function ih(e,t,i){t=Sr(i,t),t=Td(e,t,1),e=Sn(e,t,1),t=st(),e!==null&&(Yr(e,1,t),ft(e,t))}function je(e,t,i){if(e.tag===3)ih(e,e,i);else for(;t!==null;){if(t.tag===3){ih(t,e,i);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(En===null||!En.has(a))){e=Sr(i,e),e=Ed(t,e,1),t=Sn(t,e,1),e=st(),t!==null&&(Yr(t,1,e),ft(t,e));break}}t=t.return}}function Yv(e,t,i){var a=e.pingCache;a!==null&&a.delete(t),t=st(),e.pingedLanes|=e.suspendedLanes&i,He===e&&(Ye&i)===i&&(Be===4||Be===3&&(Ye&130023424)===Ye&&500>_e()-xl?Hn(e,0):vl|=i),ft(e,t)}function oh(e,t){t===0&&((e.mode&1)===0?t=1:(t=ao,ao<<=1,(ao&130023424)===0&&(ao=4194304)));var i=st();e=Jt(e,t),e!==null&&(Yr(e,t,i),ft(e,i))}function qv(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),oh(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(o(314))}a!==null&&a.delete(t),oh(e,i)}var sh;sh=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||at.current)ut=!0;else{if((e.lanes&i)===0&&(t.flags&128)===0)return ut=!1,Fv(e,t,i);ut=(e.flags&131072)!==0}else ut=!1,ke&&(t.flags&1048576)!==0&&bf(t,Mo,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Wo(e,t),e=t.pendingProps;var u=hr(t,Xe.current);xr(t,i),u=Qa(null,t,a,e,u,i);var d=Xa();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,lt(a)?(d=!0,Ro(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,$a(t),u.updater=$o,t.stateNode=u,u._reactInternals=t,rl(t,a,e,i),t=al(null,t,a,!0,d,i)):(t.tag=0,ke&&d&&Da(t),ot(null,t,u,i),t=t.child),t;case 16:a=t.elementType;e:{switch(Wo(e,t),e=t.pendingProps,u=a._init,a=u(a._payload),t.type=a,u=t.tag=Zv(a),e=Dt(a,e),u){case 0:t=sl(null,t,a,e,i);break e;case 1:t=jd(null,t,a,e,i);break e;case 11:t=Rd(null,t,a,e,i);break e;case 14:t=Ad(null,t,a,Dt(a.type,e),i);break e}throw Error(o(306,a,""))}return t;case 0:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Dt(a,u),sl(e,t,a,u,i);case 1:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Dt(a,u),jd(e,t,a,u,i);case 3:e:{if(Dd(t),e===null)throw Error(o(387));a=t.pendingProps,d=t.memoizedState,u=d.element,Yf(e,t),Vo(t,a,null,i);var y=t.memoizedState;if(a=y.element,d.isDehydrated)if(d={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=Sr(Error(o(423)),t),t=Od(e,t,a,i,u);break e}else if(a!==u){u=Sr(Error(o(424)),t),t=Od(e,t,a,i,u);break e}else for(yt=gn(t.stateNode.containerInfo.firstChild),gt=t,ke=!0,jt=null,i=Kf(t,null,a,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(gr(),a===u){t=tn(e,t,i);break e}ot(e,t,a,i)}t=t.child}return t;case 5:return Xf(t),e===null&&Va(t),a=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,y=u.children,Ra(a,u)?y=null:d!==null&&Ra(a,d)&&(t.flags|=32),Ld(e,t),ot(e,t,y,i),t.child;case 6:return e===null&&Va(t),null;case 13:return _d(e,t,i);case 4:return Ha(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=yr(t,null,a,i):ot(e,t,a,i),t.child;case 11:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Dt(a,u),Rd(e,t,a,u,i);case 7:return ot(e,t,t.pendingProps,i),t.child;case 8:return ot(e,t,t.pendingProps.children,i),t.child;case 12:return ot(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(a=t.type._context,u=t.pendingProps,d=t.memoizedProps,y=u.value,xe(Do,a._currentValue),a._currentValue=y,d!==null)if(Lt(d.value,y)){if(d.children===u.children&&!at.current){t=tn(e,t,i);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var w=d.dependencies;if(w!==null){y=d.child;for(var T=w.firstContext;T!==null;){if(T.context===a){if(d.tag===1){T=en(-1,i&-i),T.tag=2;var j=d.updateQueue;if(j!==null){j=j.shared;var I=j.pending;I===null?T.next=T:(T.next=I.next,I.next=T),j.pending=T}}d.lanes|=i,T=d.alternate,T!==null&&(T.lanes|=i),Ba(d.return,i,t),w.lanes|=i;break}T=T.next}}else if(d.tag===10)y=d.type===t.type?null:d.child;else if(d.tag===18){if(y=d.return,y===null)throw Error(o(341));y.lanes|=i,w=y.alternate,w!==null&&(w.lanes|=i),Ba(y,i,t),y=d.sibling}else y=d.child;if(y!==null)y.return=d;else for(y=d;y!==null;){if(y===t){y=null;break}if(d=y.sibling,d!==null){d.return=y.return,y=d;break}y=y.return}d=y}ot(e,t,u.children,i),t=t.child}return t;case 9:return u=t.type,a=t.pendingProps.children,xr(t,i),u=Et(u),a=a(u),t.flags|=1,ot(e,t,a,i),t.child;case 14:return a=t.type,u=Dt(a,t.pendingProps),u=Dt(a.type,u),Ad(e,t,a,u,i);case 15:return Nd(e,t,t.type,t.pendingProps,i);case 17:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:Dt(a,u),Wo(e,t),t.tag=1,lt(a)?(e=!0,Ro(t)):e=!1,xr(t,i),wd(t,a,u),rl(t,a,u,i),al(null,t,a,!0,e,i);case 19:return Fd(e,t,i);case 22:return Md(e,t,i)}throw Error(o(156,t.tag))};function ah(e,t){return bc(e,t)}function Xv(e,t,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pt(e,t,i,a){return new Xv(e,t,i,a)}function Rl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zv(e){if(typeof e=="function")return Rl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rt)return 11;if(e===Ie)return 14}return 2}function Rn(e,t){var i=e.alternate;return i===null?(i=Pt(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 ns(e,t,i,a,u,d){var y=2;if(a=e,typeof e=="function")Rl(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case re:return Kn(i.children,u,d,t);case q:y=8,u|=8;break;case he:return e=Pt(12,i,t,u|2),e.elementType=he,e.lanes=d,e;case Ue:return e=Pt(13,i,t,u),e.elementType=Ue,e.lanes=d,e;case Ke:return e=Pt(19,i,t,u),e.elementType=Ke,e.lanes=d,e;case se:return rs(i,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ye:y=10;break e;case Qe:y=9;break e;case rt:y=11;break e;case Ie:y=14;break e;case it:y=16,a=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=Pt(y,i,t,u),t.elementType=e,t.type=a,t.lanes=d,t}function Kn(e,t,i,a){return e=Pt(7,e,a,t),e.lanes=i,e}function rs(e,t,i,a){return e=Pt(22,e,a,t),e.elementType=se,e.lanes=i,e.stateNode={isHidden:!1},e}function Al(e,t,i){return e=Pt(6,e,null,t),e.lanes=i,e}function Nl(e,t,i){return t=Pt(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=na(0),this.expirationTimes=na(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=na(0),this.identifierPrefix=a,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Ml(e,t,i,a,u,d,y,w,T){return e=new Jv(e,t,i,w,T),t===1?(t=1,d===!0&&(t|=8)):t=0,d=Pt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},$a(d),e}function e0(e,t,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}function lh(e){if(!e)return vn;e=e._reactInternals;e:{if(On(e)!==e||e.tag!==1)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(o(171))}if(e.tag===1){var i=e.type;if(lt(i))return Vf(e,i,t)}return t}function uh(e,t,i,a,u,d,y,w,T){return e=Ml(i,a,!0,e,u,d,y,w,T),e.context=lh(null),i=e.current,a=st(),u=kn(i),d=en(a,u),d.callback=t??null,Sn(i,d,u),e.current.lanes=u,Yr(e,u,a),ft(e,a),e}function is(e,t,i,a){var u=t.current,d=st(),y=kn(u);return i=lh(i),t.context===null?t.context=i:t.pendingContext=i,t=en(d,y),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=Sn(u,t,y),e!==null&&(Vt(e,u,y,d),_o(e,u,y)),y}function os(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function ch(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Ll(e,t){ch(e,t),(e=e.alternate)&&ch(e,t)}function t0(){return null}var fh=typeof reportError=="function"?reportError:function(e){console.error(e)};function jl(e){this._internalRoot=e}ss.prototype.render=jl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));is(e,t,null,null)},ss.prototype.unmount=jl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$n(function(){is(null,e,null,null)}),t[qt]=null}};function ss(e){this._internalRoot=e}ss.prototype.unstable_scheduleHydration=function(e){if(e){var t=Gc();e={blockedOn:null,target:e,priority:t};for(var i=0;i<hn.length&&t!==0&&t<hn[i].priority;i++);hn.splice(i,0,e),i===0&&Qc(e)}};function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function as(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dh(){}function n0(e,t,i,a,u){if(u){if(typeof a=="function"){var d=a;a=function(){var j=os(y);d.call(j)}}var y=uh(t,a,e,0,null,!1,!1,"",dh);return e._reactRootContainer=y,e[qt]=y.current,li(e.nodeType===8?e.parentNode:e),$n(),y}for(;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var w=a;a=function(){var j=os(T);w.call(j)}}var T=Ml(e,0,!1,null,null,!1,!1,"",dh);return e._reactRootContainer=T,e[qt]=T.current,li(e.nodeType===8?e.parentNode:e),$n(function(){is(t,T,i,a)}),T}function ls(e,t,i,a,u){var d=i._reactRootContainer;if(d){var y=d;if(typeof u=="function"){var w=u;u=function(){var T=os(y);w.call(T)}}is(t,y,e,u)}else y=n0(i,t,e,u,a);return os(y)}Wc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=Gr(t.pendingLanes);i!==0&&(ra(t,i|1),ft(t,_e()),(ue&6)===0&&(Cr=_e()+500,xn()))}break;case 13:$n(function(){var a=Jt(e,1);if(a!==null){var u=st();Vt(a,e,1,u)}}),Ll(e,1)}},ia=function(e){if(e.tag===13){var t=Jt(e,134217728);if(t!==null){var i=st();Vt(t,e,134217728,i)}Ll(e,134217728)}},Kc=function(e){if(e.tag===13){var t=kn(e),i=Jt(e,t);if(i!==null){var a=st();Vt(i,e,t,a)}Ll(e,t)}},Gc=function(){return ge},Yc=function(e,t){var i=ge;try{return ge=e,t()}finally{ge=i}},Qs=function(e,t,i){switch(t){case"input":if(Us(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=ko(a);if(!u)throw Error(o(90));vc(a),Us(a,u)}}}break;case"textarea":Ec(e,i);break;case"select":t=i.value,t!=null&&tr(e,!!i.multiple,t,!1)}},jc=Cl,Dc=$n;var r0={usingClientEntryPoint:!1,Events:[fi,fr,ko,Mc,Lc,Cl]},ki={findFiberByHostInstance:_n,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},i0={bundleType:ki.bundleType,version:ki.version,rendererPackageName:ki.rendererPackageName,rendererConfig:ki.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fc(e),e===null?null:e.stateNode},findFiberByHostInstance:ki.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 us=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!us.isDisabled&&us.supportsFiber)try{oo=us.inject(i0),zt=us}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(!Dl(t))throw Error(o(200));return e0(e,t,null,i)},dt.createRoot=function(e,t){if(!Dl(e))throw Error(o(299));var i=!1,a="",u=fh;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Ml(e,1,!1,null,null,i,!1,a,u),e[qt]=t.current,li(e.nodeType===8?e.parentNode:e),new jl(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(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Fc(t),e=e===null?null:e.stateNode,e},dt.flushSync=function(e){return $n(e)},dt.hydrate=function(e,t,i){if(!as(t))throw Error(o(200));return ls(null,e,t,!0,i)},dt.hydrateRoot=function(e,t,i){if(!Dl(e))throw Error(o(405));var a=i!=null&&i.hydratedSources||null,u=!1,d="",y=fh;if(i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onRecoverableError!==void 0&&(y=i.onRecoverableError)),t=uh(t,null,e,1,i??null,u,!1,d,y),e[qt]=t.current,li(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 ss(t)},dt.render=function(e,t,i){if(!as(t))throw Error(o(200));return ls(null,e,t,!1,i)},dt.unmountComponentAtNode=function(e){if(!as(e))throw Error(o(40));return e._reactRootContainer?($n(function(){ls(null,null,e,!1,function(){e._reactRootContainer=null,e[qt]=null})}),!0):!1},dt.unstable_batchedUpdates=Cl,dt.unstable_renderSubtreeIntoContainer=function(e,t,i,a){if(!as(i))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return ls(e,t,i,!1,a)},dt.version="18.3.1-next-f1338f8080-20240426",dt}var wh;function d0(){if(wh)return Vl.exports;wh=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(),Vl.exports=f0(),Vl.exports}var Sh;function h0(){if(Sh)return cs;Sh=1;var n=d0();return cs.createRoot=n.createRoot,cs.hydrateRoot=n.hydrateRoot,cs}var p0=h0();const m0=Vr(p0);var Mu=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,tm=/^[\\/]{2}/;function g0(n,r){return r+n.replace(/\\/g,"/")}var Th="popstate";function Eh(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(s,l){let c=l.state?.masked,{pathname:f,search:h,hash:p}=c||s.location;return lu("",{pathname:f,search:h,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function o(s,l){return typeof l=="string"?l:bi(l)}return x0(r,o,null,n)}function Le(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Gt(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 Ch(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 lu(n,r,o=null,s,l){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?Fr(r):r,state:o,key:r&&r.key||s||v0(),mask:l}}function bi({pathname:n="/",search:r="",hash:o=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Fr(n){let r={};if(n){let o=n.indexOf("#");o>=0&&(r.hash=n.substring(o),n=n.substring(0,o));let s=n.indexOf("?");s>=0&&(r.search=n.substring(s),n=n.substring(0,s)),n&&(r.pathname=n)}return r}function x0(n,r,o,s={}){let{window:l=document.defaultView,v5Compat:c=!1}=s,f=l.history,h="POP",p=null,m=g();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function g(){return(f.state||{idx:null}).idx}function v(){h="POP";let P=g(),D=P==null?null:P-m;m=P,p&&p({action:h,location:A.location,delta:D})}function x(P,D){h="PUSH";let O=Eh(P)?P:lu(A.location,P,D);m=g()+1;let _=Ch(O,m),$=A.createHref(O.mask||O);try{f.pushState(_,"",$)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;l.location.assign($)}c&&p&&p({action:h,location:A.location,delta:1})}function E(P,D){h="REPLACE";let O=Eh(P)?P:lu(A.location,P,D);m=g();let _=Ch(O,m),$=A.createHref(O.mask||O);f.replaceState(_,"",$),c&&p&&p({action:h,location:A.location,delta:0})}function L(P){return w0(l,P)}let A={get action(){return h},get location(){return n(l,f)},listen(P){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(Th,v),p=P,()=>{l.removeEventListener(Th,v),p=null}},createHref(P){return r(l,P)},createURL:L,encodeLocation(P){let D=L(P);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:x,replace:E,go(P){return f.go(P)}};return A}function w0(n,r,o=!1){let s="http://localhost";n&&(s=n.location.origin!=="null"?n.location.origin:n.location.href),Le(s,"No window.location.(origin|href) available to create URL");let l=typeof r=="string"?r:bi(r);return l=l.replace(/ $/,"%20"),!o&&tm.test(l)&&(l=s+l),new URL(l,s)}function nm(n,r,o="/"){return S0(n,r,o,!1)}function S0(n,r,o,s,l){let c=typeof r=="string"?Fr(r):r,f=an(c.pathname||"/",o);if(f==null)return null;let h=T0(n),p=null,m=D0(f);for(let g=0;p==null&&g<h.length;++g)p=j0(h[g],m,s);return p}function T0(n){let r=rm(n);return E0(r),r}function rm(n,r=[],o=[],s="",l=!1){let c=(f,h,p=l,m)=>{let g={relativePath:m===void 0?f.path||"":m,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(s)&&p)return;Le(g.relativePath.startsWith(s),`Absolute route path "${g.relativePath}" nested under path "${s}
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(s.length)}let v=bt([s,g.relativePath]),x=o.concat(g);f.children&&f.children.length>0&&(Le(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),rm(f.children,r,x,v,p)),!(f.path==null&&!f.index)&&r.push({path:v,score:M0(v,f.index),routesMeta:x.map((E,L)=>{let[A,P]=sm(E.relativePath,E.caseSensitive,L===x.length-1);return{...E,matcher:A,compiledParams:P}})})};return n.forEach((f,h)=>{if(f.path===""||!f.path?.includes("?"))c(f,h);else for(let p of im(f.path))c(f,h,!0,p)}),r}function im(n){let r=n.split("/");if(r.length===0)return[];let[o,...s]=r,l=o.endsWith("?"),c=o.replace(/\?$/,"");if(s.length===0)return l?[c,""]:[c];let f=im(s.join("/")),h=[];return h.push(...f.map(p=>p===""?c:[c,p].join("/"))),l&&h.push(...f),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function E0(n){n.sort((r,o)=>r.score!==o.score?o.score-r.score:L0(r.routesMeta.map(s=>s.childrenIndex),o.routesMeta.map(s=>s.childrenIndex)))}var C0=/^:[\w-]+$/,k0=3,P0=2,R0=1,A0=10,N0=-2,kh=n=>n==="*";function M0(n,r){let o=n.split("/"),s=o.length;return o.some(kh)&&(s+=N0),r&&(s+=P0),o.filter(l=>!kh(l)).reduce((l,c)=>l+(C0.test(c)?k0:c===""?R0:A0),s)}function L0(n,r){return n.length===r.length&&n.slice(0,-1).every((s,l)=>s===r[l])?n[n.length-1]-r[r.length-1]:0}function j0(n,r,o=!1){let{routesMeta:s}=n,l={},c="/",f=[];for(let h=0;h<s.length;++h){let p=s[h],m=h===s.length-1,g=c==="/"?r:r.slice(c.length)||"/",v={path:p.relativePath,caseSensitive:p.caseSensitive,end:m},x=p.matcher&&p.compiledParams?om(v,g,p.matcher,p.compiledParams):Ss(v,g),E=p.route;if(!x&&m&&o&&!s[s.length-1].route.index&&(x=Ss({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!x)return null;
8Object.assign(l,x.params),f.push({params:l,pathname:bt([c,x.pathname]),pathnameBase:V0(bt([c,x.pathnameBase])),route:E}),x.pathnameBase!=="/"&&(c=bt([c,x.pathnameBase]))}return f}function Ss(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[o,s]=sm(n.path,n.caseSensitive,n.end);return om(n,r,o,s)}function om(n,r,o,s){let l=r.match(o);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:s.reduce((m,{paramName:g,isOptional:v},x)=>{if(g==="*"){let L=h[x]||"";f=c.slice(0,c.length-L.length).replace(/(.)\/+$/,"$1")}const E=h[x];return v&&!E?m[g]=void 0:m[g]=(E||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:n}}function sm(n,r=!1,o=!0){Gt(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 s=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,p,m,g)=>{if(s.push({paramName:h,isOptional:p!=null}),p){let v=g.charAt(m+f.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),s]}function D0(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Gt(!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 an(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,s=n.charAt(o);return s&&s!=="/"?null:n.slice(o)||"/"}function O0(n,r="/"){let{pathname:o,search:s="",hash:l=""}=typeof n=="string"?Fr(n):n,c;return o?(o=lm(o),o.startsWith("/")?c=Ph(o.substring(1),"/"):c=Ph(o,r)):c=r,{pathname:c,search:F0(s),hash:I0(l)}}function Ph(n,r){let o=Ts(r).split("/");return n.split("/").forEach(l=>{l===".."?o.length>1&&o.pop():l!=="."&&o.push(l)}),o.length>1?o.join("/"):"/"}function bl(n,r,o,s){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function _0(n){return n.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function am(n){let r=_0(n);return r.map((o,s)=>s===r.length-1?o.pathname:o.pathnameBase)}function Lu(n,r,o,s=!1){let l;typeof n=="string"?l=Fr(n):(l={...n},Le(!l.pathname||!l.pathname.includes("?"),bl("?","pathname","search",l)),Le(!l.pathname||!l.pathname.includes("#"),bl("#","pathname","hash",l)),Le(!l.search||!l.search.includes("#"),bl("#","search","hash",l)));let c=n===""||l.pathname==="",f=c?"/":l.pathname,h;if(f==null)h=o;else{let v=r.length-1;if(!s&&f.startsWith("..")){let x=f.split("/");for(;x[0]==="..";)x.shift(),v-=1;l.pathname=x.join("/")}h=v>=0?r[v]:"/"}let p=O0(l,h),m=f&&f!=="/"&&f.endsWith("/"),g=(c||f===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}var lm=n=>n.replace(/[\\/]{2,}/g,"/"),bt=n=>lm(n.join("/")),Ts=n=>n.replace(/\/+$/,""),V0=n=>Ts(n).replace(/^\/*/,"/"),F0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,I0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,b0=class{constructor(n,r,o,s=!1){this.status=n,this.statusText=r||"",this.internal=s,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function z0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function B0(n){let r=n.map(o=>o.route.path).filter(Boolean);return bt(r)||"/"}var um=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function cm(n,r){let o=n;if(typeof o!="string"||!Mu.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let s=o,l=!1;if(um)try{let c=new URL(window.location.href),f=tm.test(o)?new URL(g0(o,c.protocol)):new URL(o),h=an(f.pathname,r);f.origin===c.origin&&h!=null?o=h+f.search+f.hash:l=!0}catch{Gt(!1,`<Link to="${o}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:l,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var fm=["POST","PUT","PATCH","DELETE"];new Set(fm);var U0=["GET",...fm];new Set(U0);var $0=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function H0(n){try{return $0.includes(new URL(n).protocol)}catch{return!1}}var Ir=C.createContext(null);Ir.displayName="DataRouter";var js=C.createContext(null);js.displayName="DataRouterState";var dm=C.createContext(!1);function W0(){return C.useContext(dm)}var hm=C.createContext({isTransitioning:!1});hm.displayName="ViewTransition";var K0=C.createContext(new Map);K0.displayName="Fetchers";var G0=C.createContext(null);G0.displayName="Await";var Nt=C.createContext(null);Nt.displayName="Navigation";var Ki=C.createContext(null);Ki.displayName="Location";var un=C.createContext({outlet:null,matches:[],isDataRoute:!1});un.displayName="Route";var ju=C.createContext(null);ju.displayName="RouteError";var pm="REACT_ROUTER_ERROR",Y0="REDIRECT",q0="ROUTE_ERROR_RESPONSE";function Q0(n){if(n.startsWith(`${pm}:${Y0}:{`))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(`${pm}:${q0}:{`))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}={}){Le(Gi(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:s}=C.useContext(Nt),{hash:l,pathname:c,search:f}=Yi(n,{relative:r}),h=c;return o!=="/"&&(h=c==="/"?o:bt([o,c])),s.createHref({pathname:h,search:f,hash:l})}function Gi(){return C.useContext(Ki)!=null}function Yt(){return Le(Gi(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Ki).location}var mm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function gm(n){C.useContext(Nt).static||C.useLayoutEffect(n)}function J0(){let{isDataRoute:n}=C.useContext(un);return n?dx():ex()}function ex(){Le(Gi(),"useNavigate() may be used only in the context of a <Router> component.");let n=C.useContext(Ir),{basename:r,navigator:o}=C.useContext(Nt),{matches:s}=C.useContext(un),{pathname:l}=Yt(),c=JSON.stringify(am(s)),f=C.useRef(!1);return gm(()=>{f.current=!0}),C.useCallback((p,m={})=>{if(Gt(f.current,mm),!f.current)return;if(typeof p=="number"){o.go(p);return}let g=Lu(p,JSON.parse(c),l,m.relative==="path");n==null&&r!=="/"&&(g.pathname=g.pathname==="/"?r:bt([r,g.pathname])),(m.replace?o.replace:o.push)(g,m.state,m)},[r,o,c,l,n])}C.createContext(null);function Yi(n,{relative:r}={}){let{matches:o}=C.useContext(un),{pathname:s}=Yt(),l=JSON.stringify(am(o));return C.useMemo(()=>Lu(n,JSON.parse(l),s,r==="path"),[n,l,s,r])}function tx(n,r){return ym(n,r)}function ym(n,r,o){Le(Gi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=C.useContext(Nt),{matches:l}=C.useContext(un),c=l[l.length-1],f=c?c.params:{},h=c?c.pathname:"/",p=c?c.pathnameBase:"/",m=c&&c.route;{let P=m&&m.path||"";xm(h,!m||P.endsWith("*")||P.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${P}">) 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="${P}"> to <Route path="${P==="/"?"*":`${P}/*`}">.`)}let g=Yt(),v;if(r){let P=typeof r=="string"?Fr(r):r;Le(p==="/"||P.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 "${P.pathname}" was given in the \`location\` prop.`),v=P}else v=g;let x=v.pathname||"/",E=x;if(p!=="/"){let P=p.replace(/^\//,"").split("/");E="/"+x.replace(/^\//,"").split("/").slice(P.length).join("/")}let L=o&&o.state.matches.length?o.state.matches.map(P=>Object.assign(P,{route:o.manifest[P.route.id]||P.route})):nm(n,{pathname:E});Gt(m||L!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Gt(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 A=sx(L&&L.map(P=>Object.assign({},P,{params:Object.assign({},f,P.params),pathname:bt([p,s.encodeLocation?s.encodeLocation(P.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?p:bt([p,s.encodeLocation?s.encodeLocation(P.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathnameBase])})),l,o);return r&&A?C.createElement(Ki.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},A):A}function nx(){let n=fx(),r=z0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),o=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=C.
10createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:c},"ErrorBoundary")," or"," ",C.createElement("code",{style:c},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},r),o?C.createElement("pre",{style:l},o):null,f)}var rx=C.createElement(nx,null),vm=class extends C.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 o=X0(n.digest);o&&(n=o)}let r=n!==void 0?C.createElement(un.Provider,{value:this.props.routeContext},C.createElement(ju.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?C.createElement(ix,{error:n},r):r}};vm.contextType=dm;var zl=new WeakMap;function ix({children:n,error:r}){let{basename:o}=C.useContext(Nt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let s=Q0(r.digest);if(s){let l=zl.get(r);if(l)throw l;let c=cm(s.location,o),f=c.absoluteURL||c.to;if(H0(f))throw new Error("Invalid redirect location");if(um&&!zl.get(r))if(c.isExternal||s.reloadDocument)window.location.href=f;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw zl.set(r,h),h}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f}`})}}return n}function ox({routeContext:n,match:r,children:o}){let s=C.useContext(Ir);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),C.createElement(un.Provider,{value:n},o)}function sx(n,r=[],o){let s=o?.state;if(n==null){if(!s)return null;if(s.errors)n=s.matches;else if(r.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}
10let l=n,c=s?.errors;if(c!=null){let g=l.findIndex(v=>v.route.id&&c?.[v.route.id]!==void 0);Le(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 f=!1,h=-1;if(o&&s){f=s.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:x,errors:E}=s,L=v.route.loader&&!x.hasOwnProperty(v.route.id)&&(!E||E[v.route.id]===void 0);if(v.route.lazy||L){o.isStatic&&(f=!0),h>=0?l=l.slice(0,h+1):l=[l[0]];break}}}}let p=o?.onError,m=s&&p?(g,v)=>{p(g,{location:s.location,params:s.matches?.[0]?.params??{},pattern:B0(s.matches),errorInfo:v})}:void 0;return l.reduceRight((g,v,x)=>{let E,L=!1,A=null,P=null;s&&(E=c&&v.route.id?c[v.route.id]:void 0,A=v.route.errorElement||rx,f&&(h<0&&x===0?(xm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,P=null):h===x&&(L=!0,P=v.route.hydrateFallbackElement||null)));let D=r.concat(l.slice(0,x+1)),O=()=>{let _;return E?_=A:L?_=P:v.route.Component?_=C.createElement(v.route.Component,null):v.route.element?_=v.route.element:_=g,C.createElement(ox,{match:v,routeContext:{outlet:g,matches:D,isDataRoute:s!=null},children:_})};return s&&(v.route.ErrorBoundary||v.route.errorElement||x===0)?C.createElement(vm,{location:s.location,revalidation:s.revalidation,component:A,error:E,children:O(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:m}):O()},null)}function Du(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=C.useContext(Ir);return Le(r,Du(n)),r}function lx(n){let r=C.useContext(js);return Le(r,Du(n)),r}function ux(n){let r=C.useContext(un);return Le(r,Du(n)),r}function Ou(n){let r=ux(n),o=r.matches[r.matches.length-1];return Le(o.route.id,`${n} can only be used on routes that contain a unique "id"`),o.route.id}function cx(){return Ou("useRouteId")}function fx(){let n=C.useContext(ju),r=lx("useRouteError"),o=Ou("useRouteError");return n!==void 0?n:r.errors?.[o]}function dx(){let{router:n}=ax("useNavigate"),r=Ou("useNavigate"),o=C.useRef(!1);return gm(()=>{o.current=!0}),C.useCallback(async(l,c={})=>{Gt(o.current,mm),o.current&&(typeof l=="number"?await n.navigate(l):await n.navigate(l,{fromRouteId:r,...c}))},[n,r])}var Rh={};function xm(n,r,o){!r&&!Rh[n]&&(Rh[n]=!0,Gt(!1,o))}C.memo(hx);function hx({routes:n,manifest:r,future:o,state:s,isStatic:l,onError:c}){return ym(n,void 0,{manifest:r,state:s,isStatic:l,onError:c})}function wm(n){Le(!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:o,navigationType:s="POP",navigator:l,static:c=!1,useTransitions:f}){Le(!Gi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=C.useMemo(()=>({basename:h,navigator:l,static:c,useTransitions:f,future:{}}),[h,l,c,f]);typeof o=="string"&&(o=Fr(o));let{pathname:m="/",search:g="",hash:v="",state:x=null,key:E="default",mask:L}=o,A=C.useMemo(()=>{let P=an(m,h);return P==null?null:{location:{pathname:P,search:g,hash:v,state:x,key:E,mask:L},navigationType:s}},[h,m,g,v,x,E,s,L]);return Gt(A!=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.`),A==null?null:C.createElement(Nt.Provider,{value:p},C.createElement(Ki.Provider,{children:r,value:A}))}function mx({children:n,location:r}){return tx(uu(n),r)}function uu(n,r=[]){let o=[];return C.Children.forEach(n,(s,l)=>{if(!C.isValidElement(s))return;let c=[...r,l];if(s.type===C.Fragment){o.push.apply(o,uu(s.props.children,c));return}Le(s.type===wm,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Le(!s.props.index||!s.props.children,"An index route cannot have child routes.");let f={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,
10shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(f.children=uu(s.props.children,c)),o.push(f)}),o}var gs="get",ys="application/x-www-form-urlencoded";function Ds(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function gx(n){return Ds(n)&&n.tagName.toLowerCase()==="button"}function yx(n){return Ds(n)&&n.tagName.toLowerCase()==="form"}function vx(n){return Ds(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 fs=null;function Sx(){if(fs===null)try{new FormData(document.createElement("form"),0),fs=!1}catch{fs=!0}return fs}var Tx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Bl(n){return n!=null&&!Tx.has(n)?(Gt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ys}"`),null):n}function Ex(n,r){let o,s,l,c,f;if(yx(n)){let h=n.getAttribute("action");s=h?an(h,r):null,o=n.getAttribute("method")||gs,l=Bl(n.getAttribute("enctype"))||ys,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(s=p?an(p,r):null,o=n.getAttribute("formmethod")||h.getAttribute("method")||gs,l=Bl(n.getAttribute("formenctype"))||Bl(h.getAttribute("enctype"))||ys,c=new FormData(h,n),!Sx()){let{name:m,type:g,value:v}=n;if(g==="image"){let x=m?`${m}.`:"";c.append(`${x}x`,"0"),c.append(`${x}y`,"0")}else m&&c.append(m,v)}}else{if(Ds(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=gs,s=null,l=ys,f=n}return c&&l==="text/plain"&&(f=c,c=void 0),{action:s,method:o.toLowerCase(),encType:l,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _u(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Sm(n,r,o,s){let l=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return o?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${s}`:l.pathname=`${l.pathname}.${s}`:l.pathname==="/"?l.pathname=`_root.${s}`:r&&an(l.pathname,r)==="/"?l.pathname=`${Ts(r)}/_root.${s}`:l.pathname=`${Ts(l.pathname)}.${s}`,l}async function Cx(n,r){if(n.id in r)return r[n.id];try{let o=await import(n.module);return r[n.id]=o,o}catch(o){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function kx(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,o){let s=await Promise.all(n.map(async l=>{let c=r.routes[l.route.id];if(c){let f=await Cx(c,o);return f.links?f.links():[]}return[]}));return Mx(s.flat(1).filter(kx).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function Ah(n,r,o,s,l,c){let f=(p,m)=>o[m]?p.route.id!==o[m].route.id:!0,h=(p,m)=>o[m].pathname!==p.pathname||o[m].route.path?.endsWith("*")&&o[m].params["*"]!==p.params["*"];return c==="assets"?r.filter((p,m)=>f(p,m)||h(p,m)):c==="data"?r.filter((p,m)=>{let g=s.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(f(p,m)||h(p,m))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:o[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:o}={}){return Ax(n.map(s=>{let l=r.routes[s.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),o&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function Ax(n){return[...new Set(n)]}function Nx(n){let r={},o=Object.keys(n).sort();for(let s of o)r[s]=n[s];return r}function Mx(n,r){let o=new Set;return new Set(r),n.reduce((s,l)=>{let c=JSON.stringify(Nx(l));return o.has(c)||(o.add(c),s.push({key:c,link:l})),s},[])}function Vu(){let n=C.useContext(Ir);return _u(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Lx(){let n=C.useContext(js);return _u(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Fu=C.createContext(void 0);Fu.displayName="FrameworkContext";function Os(){let n=C.useContext(Fu);return _u(n,"You must render this element inside a <HydratedRouter> element"),n}function jx(n,r){let o=C.useContext(Fu),[s,l]=C.useState(!1),[c,f]=C.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:m,onMouseLeave:g,onTouchStart:v}=r,x=C.useRef(null);C.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let A=D=>{D.forEach(O=>{f(O.isIntersecting)})},P=new IntersectionObserver(A,{threshold:.5});return x.current&&P.observe(x.current),()=>{P.disconnect()}}},[n]),C.useEffect(()=>{if(s){let A=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(A)}}},[s]);let E=()=>
10{l(!0)},L=()=>{l(!1),f(!1)};return o?n!=="intent"?[c,x,{}]:[c,x,{onFocus:Ri(h,E),onBlur:Ri(p,L),onMouseEnter:Ri(m,E),onMouseLeave:Ri(g,L),onTouchStart:Ri(v,E)}]:[!1,x,{}]}function Ri(n,r){return o=>{n&&n(o),o.defaultPrevented||r(o)}}function Dx({page:n,...r}){let o=W0(),{nonce:s}=Os(),{router:l}=Vu(),c=C.useMemo(()=>nm(l.routes,n,l.basename),[l.routes,n,l.basename]);return c?(r.nonce==null&&s&&(r={...r,nonce:s}),o?C.createElement(_x,{page:n,matches:c,...r}):C.createElement(Vx,{page:n,matches:c,...r})):null}function Ox(n){let{manifest:r,routeModules:o}=Os(),[s,l]=C.useState([]);return C.useEffect(()=>{let c=!1;return Px(n,r,o).then(f=>{c||l(f)}),()=>{c=!0}},[n,r,o]),s}function _x({page:n,matches:r,...o}){let s=Yt(),{future:l}=Os(),{basename:c}=Vu(),f=C.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let h=Sm(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,s,r]);return C.createElement(C.Fragment,null,f.map(h=>C.createElement("link",{key:h,rel:"prefetch",as:"fetch",href:h,...o})))}function Vx({page:n,matches:r,...o}){let s=Yt(),{future:l,manifest:c,routeModules:f}=Os(),{basename:h}=Vu(),{loaderData:p,matches:m}=Lx(),g=C.useMemo(()=>Ah(n,r,m,c,s,"data"),[n,r,m,c,s]),v=C.useMemo(()=>Ah(n,r,m,c,s,"assets"),[n,r,m,c,s]),x=C.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let A=new Set,P=!1;if(r.forEach(O=>{let _=c.routes[O.route.id];!_||!_.hasLoader||(!g.some($=>$.route.id===O.route.id)&&O.route.id in p&&f[O.route.id]?.shouldRevalidate||_.hasClientLoader?P=!0:A.add(O.route.id))}),A.size===0)return[];let D=Sm(n,h,l.v8_trailingSlashAwareDataRequests,"data");return P&&A.size>0&&D.searchParams.set("_routes",r.filter(O=>A.has(O.route.id)).map(O=>O.route.id).join(",")),[D.pathname+D.search]},[h,l.v8_trailingSlashAwareDataRequests,p,s,c,g,r,n,f]),E=C.useMemo(()=>Rx(v,c),[v,c]),L=Ox(v);return C.createElement(C.Fragment,null,x.map(A=>C.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...o})),E.map(A=>C.createElement("link",{key:A,rel:"modulepreload",href:A,...o})),L.map(({key:A,link:P})=>C.createElement("link",{key:A,nonce:o.nonce,...P,crossOrigin:P.crossOrigin??o.crossOrigin})))}function Fx(...n){return r=>{n.forEach(o=>{typeof o=="function"?o(r):o!=null&&(o.current=r)})}}var Ix=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ix&&(window.__reactRouterVersion="7.18.0")}catch{}function bx({basename:n,children:r,useTransitions:o,window:s}){let l=C.useRef();l.current==null&&(l.current=y0({window:s,v5Compat:!0}));let c=l.current,[f,h]=C.useState({action:c.action,location:c.location}),p=C.useCallback(m=>{o===!1?h(m):C.startTransition(()=>h(m))},[o]);return C.useLayoutEffect(()=>c.listen(p),[c,p]),C.createElement(px,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,useTransitions:o})}var Tm=C.forwardRef(function({onClick:r,discover:o="render",prefetch:s="none",relative:l,reloadDocument:c,replace:f,mask:h,state:p,target:m,to:g,preventScrollReset:v,viewTransition:x,defaultShouldRevalidate:E,...L},A){let{basename:P,navigator:D,useTransitions:O}=C.useContext(Nt),_=typeof g=="string"&&Mu.test(g),$=cm(g,P);g=$.to;let z=Z0(g,{relative:l}),X=Yt(),re=null;if(h){let Ie=Lu(h,[],X.mask?X.mask.pathname:"/",!0);P!=="/"&&(Ie.pathname=Ie.pathname==="/"?P:bt([P,Ie.pathname])),re=D.createHref(Ie)}let[q,he,ye]=jx(s,L),Qe=$x(g,{replace:f,mask:h,state:p,target:m,preventScrollReset:v,relative:l,viewTransition:x,defaultShouldRevalidate:E,useTransitions:O});function rt(Ie){r&&r(Ie),Ie.defaultPrevented||Qe(Ie)}let Ue=!($.isExternal||c),Ke=C.createElement("a",{...L,...ye,href:(Ue?re:void 0)||$.absoluteURL||z,onClick:Ue?rt:r,ref:Fx(A,he),target:m,"data-discover":!_&&o==="render"?"true":void 0});return q&&!_?C.createElement(C.Fragment,null,Ke,C.createElement(Dx,{page:z})):Ke});Tm.displayName="Link";var zx=C.forwardRef(function({"aria-current":r="page",caseSensitive:o=!1,className:s="",end:l=!1,style:c,to:f,viewTransition:h,children:p,...m},g){let v=Yi(f,{relative:m.relative}),x=Yt(),E=C.useContext(js),{navigator:L,basename:A}=C.useContext(Nt),P=E!=null&&Yx(v)&&h===!0,D=L.encodeLocation?L.encodeLocation(v).pathname:v.pathname,O=x.pathname,_=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;o||(O=O.toLowerCase(),_=_?_.toLowerCase():null,D=D.toLowerCase()),_&&A&&(_=
10an(_,A)||_);const $=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let z=O===D||!l&&O.startsWith(D)&&O.charAt($)==="/",X=_!=null&&(_===D||!l&&_.startsWith(D)&&_.charAt(D.length)==="/"),re={isActive:z,isPending:X,isTransitioning:P},q=z?r:void 0,he;typeof s=="function"?he=s(re):he=[s,z?"active":null,X?"pending":null,P?"transitioning":null].filter(Boolean).join(" ");let ye=typeof c=="function"?c(re):c;return C.createElement(Tm,{...m,"aria-current":q,className:he,ref:g,style:ye,to:f,viewTransition:h},typeof p=="function"?p(re):p)});zx.displayName="NavLink";var Bx=C.forwardRef(({discover:n="render",fetcherKey:r,navigate:o,reloadDocument:s,replace:l,state:c,method:f=gs,action:h,onSubmit:p,relative:m,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:x,...E},L)=>{let{useTransitions:A}=C.useContext(Nt),P=Kx(),D=Gx(h,{relative:m}),O=f.toLowerCase()==="get"?"get":"post",_=typeof h=="string"&&Mu.test(h),$=z=>{if(p&&p(z),z.defaultPrevented)return;z.preventDefault();let X=z.nativeEvent.submitter,re=X?.getAttribute("formmethod")||f,q=()=>P(X||z.currentTarget,{fetcherKey:r,method:re,navigate:o,replace:l,state:c,relative:m,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:x});A&&o!==!1?C.startTransition(()=>q()):q()};return C.createElement("form",{ref:L,method:O,action:D,onSubmit:s?p:$,...E,"data-discover":!_&&n==="render"?"true":void 0})});Bx.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 Em(n){let r=C.useContext(Ir);return Le(r,Ux(n)),r}function $x(n,{target:r,replace:o,mask:s,state:l,preventScrollReset:c,relative:f,viewTransition:h,defaultShouldRevalidate:p,useTransitions:m}={}){let g=J0(),v=Yt(),x=Yi(n,{relative:f});return C.useCallback(E=>{if(wx(E,r)){E.preventDefault();let L=o!==void 0?o:bi(v)===bi(x),A=()=>g(n,{replace:L,mask:s,state:l,preventScrollReset:c,relative:f,viewTransition:h,defaultShouldRevalidate:p});m?C.startTransition(()=>A()):A()}},[v,g,x,o,s,l,r,n,c,f,h,p,m])}var Hx=0,Wx=()=>`__${String(++Hx)}__`;function Kx(){let{router:n}=Em("useSubmit"),{basename:r}=C.useContext(Nt),o=cx(),s=n.fetch,l=n.navigate;return C.useCallback(async(c,f={})=>{let{action:h,method:p,encType:m,formData:g,body:v}=Ex(c,r);if(f.navigate===!1){let x=f.fetcherKey||Wx();await s(x,o,f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:g,body:v,formMethod:f.method||p,formEncType:f.encType||m,flushSync:f.flushSync})}else await l(f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:g,body:v,formMethod:f.method||p,formEncType:f.encType||m,replace:f.replace,state:f.state,fromRouteId:o,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,l,r,o])}function Gx(n,{relative:r}={}){let{basename:o}=C.useContext(Nt),s=C.useContext(un);Le(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),c={...Yi(n||".",{relative:r})},f=Yt();if(n==null){c.search=f.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"),o!=="/"&&(c.pathname=c.pathname==="/"?o:bt([o,c.pathname])),bi(c)}function Yx(n,{relative:r}={}){let o=C.useContext(hm);Le(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Em("useViewTransitionState"),l=Yi(n,{relative:r});if(!o.isTransitioning)return!1;let c=an(o.currentLocation.pathname,s)||o.currentLocation.pathname,f=an(o.nextLocation.pathname,s)||o.nextLocation.pathname;return Ss(l.pathname,f)!=null||Ss(l.pathname,c)!=null}const qx=()=>{const{pathname:n}=Yt();return C.useLayoutEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[n]),null},Iu=C.createContext({});function bu(n){const r=C.useRef(null);return r.current===null&&(r.current=n()),r.current}const _s=C.createContext(null),zu=C.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});class Qx extends C.Component{getSnapshotBeforeUpdate(r){const o=this.props.childRef.current;if(o&&r.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=o.offsetHeight||0,s.width=o.offsetWidth||0,s.top=o.offsetTop,s.left=o.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Xx({children:n,isPresent:r}){const o=C.useId(),s=C.useRef(null),l=C.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=C.useContext(zu);return C.useInsertionEffect(()=>{const{width:f,height:h,top:p,left:m}=l.current;if(r||!s.current||!f||!h)return;s.current.dataset.motionPopId=o;const g=document.createElement("style");return c&&(g.nonce=c),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(`
11          [data-motion-pop-id="${o}"] {
12            position: absolute !important;
13            width: ${f}px !important;
14            height: ${h}px !important;
15            top: ${p}px !important;
16            left: ${m}px !important;
17          }
18        `),()=>{document.head.removeChild(g)}},[r]),S.jsx(Qx,{isPresent:r,childRef:s,sizeRef:l,children:C.cloneElement(n,{ref:s})})}const Zx=({children:n,initial:r,isPresent:o,onExitComplete:s,custom:l,presenceAffectsLayout:c,mode:f})=>{const h=bu(Jx),p=C.useId(),m=C.useCallback(v=>{h.set(v,!0);for(const x of h.values())if(!x)return;s&&s()},[h,s]),g=C.useMemo(()=>({id:p,initial:r,isPresent:o,custom:l,onExitComplete:m,register:v=>(h.set(v,!1),()=>h.delete(v))}),c?[Math.random(),m]:[o,m]);return C.useMemo(()=>{h.forEach((v,x)=>h.set(x,!1))},[o]),C.useEffect(()=>{!o&&!h.size&&s&&s()},[o]),f==="popLayout"&&(n=S.jsx(Xx,{isPresent:o,children:n})),S.jsx(_s.Provider,{value:g,children:n})};function Jx(){return new Map}
vendor: 117,910 bytes, line 18
18function Cm(n=!0){const r=C.useContext(_s);if(r===null)return[!0,null];const{isPresent:o,onExitComplete:s,register:l}=r,c=C.useId();C.useEffect(()=>{n&&l(c)},[n]);const f=C.useCallback(()=>n&&s&&s(c),[c,s,n]);return!o&&s?[!1,f]:[!0]}const ds=n=>n.key||"";function Nh(n){const r=[];return C.Children.forEach(n,o=>{C.isValidElement(o)&&r.push(o)}),r}const Bu=typeof window<"u",km=Bu?C.useLayoutEffect:C.useEffect,e1=({children:n,custom:r,initial:o=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:f=!1})=>{const[h,p]=Cm(f),m=C.useMemo(()=>Nh(n),[n]),g=f&&!h?[]:m.map(ds),v=C.useRef(!0),x=C.useRef(m),E=bu(()=>new Map),[L,A]=C.useState(m),[P,D]=C.useState(m);km(()=>{v.current=!1,x.current=m;for(let $=0;$<P.length;$++){const z=ds(P[$]);g.includes(z)?E.delete(z):E.get(z)!==!0&&E.set(z,!1)}},[P,g.length,g.join("-")]);const O=[];if(m!==L){let $=[...m];for(let z=0;z<P.length;z++){const X=P[z],re=ds(X);g.includes(re)||($.splice(z,0,X),O.push(X))}c==="wait"&&O.length&&($=O),D(Nh($)),A(m);return}const{forceRender:_}=C.useContext(Iu);return S.jsx(S.Fragment,{children:P.map($=>{const z=ds($),X=f&&!h?!1:m===P||g.includes(z),re=()=>{if(E.has(z))E.set(z,!0);else return;let q=!0;E.forEach(he=>{he||(q=!1)}),q&&(_?.(),D(x.current),f&&p?.(),s&&s())};return S.jsx(Zx,{isPresent:X,initial:!v.current||o?void 0:!1,custom:X?void 0:r,presenceAffectsLayout:l,mode:c,onExitComplete:X?void 0:re,children:$},z)})})},xt=n=>n;let Pm=xt;function Uu(n){let r;return()=>(r===void 0&&(r=n()),r)}const Dr=(n,r,o)=>{const s=r-n;return s===0?1:(o-n)/s},on=n=>n*1e3,sn=n=>n/1e3,t1={useManualTiming:!1};function n1(n){let r=new Set,o=new Set,s=!1,l=!1;const c=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function h(m){c.has(m)&&(p.schedule(m),n()),m(f)}const p={schedule:(m,g=!1,v=!1)=>{const E=v&&s?r:o;return g&&c.add(m),E.has(m)||E.add(m),m},cancel:m=>{o.delete(m),c.delete(m)},process:m=>{if(f=m,s){l=!0;return}s=!0,[r,o]=[o,r],r.forEach(h),r.clear(),s=!1,l&&(l=!1,p.process(m))}};return p}const hs=["read","resolveKeyframes","update","preRender","render","postRender"],r1=40;function Rm(n,r){let o=!1,s=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>o=!0,f=hs.reduce((D,O)=>(D[O]=n1(c),D),{}),{read:h,resolveKeyframes:p,update:m,preRender:g,render:v,postRender:x}=f,E=()=>{const D=performance.now();o=!1,l.delta=s?1e3/60:Math.max(Math.min(D-l.timestamp,r1),1),l.timestamp=D,l.isProcessing=!0,h.process(l),p.process(l),m.process(l),g.process(l),v.process(l),x.process(l),l.isProcessing=!1,o&&r&&(s=!1,n(E))},L=()=>{o=!0,s=!0,l.isProcessing||n(E)};return{schedule:hs.reduce((D,O)=>{const _=f[O];return D[O]=($,z=!1,X=!1)=>(o||L(),_.schedule($,z,X)),D},{}),cancel:D=>{for(let O=0;O<hs.length;O++)f[hs[O]].cancel(D)},state:l,steps:f}}const{schedule:Ee,cancel:Ln,state:qe,steps:Ul}=Rm(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0),Am=C.createContext({strict:!1}),Mh={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"]},Or={};for(const n in Mh)Or[n]={isEnabled:r=>Mh[n].some(o=>!!r[o])};function i1(n){for(const r in n)Or[r]={...Or[r],...n[r]}}const o1=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 Es(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||o1.has(n)}let Nm=n=>!Es(n);function s1(n){n&&(Nm=r=>r.startsWith("on")?!Es(r):n(r))}try{s1(require("@emotion/is-prop-valid").default)}catch{}function a1(n,r,o){const s={};for(const l in n)l==="values"&&typeof n.values=="object"||(Nm(l)||o===!0&&Es(l)||!r&&!Es(l)||n.draggable&&l.startsWith("onDrag"))&&(s[l]=n[l]);return s}function l1(n){if(typeof Proxy>"u")return n;const r=new Map,o=(...s)=>n(...s);return new Proxy(o,{get:(s,l)=>l==="create"?n:(r.has(l)||r.set(l,n(l)),r.get(l))})}const Vs=C.createContext({});function zi(n){return typeof n=="string"||Array.isArray(n)}function Fs(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}const $u=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hu=["initial",...$u];function Is(n){return Fs(n.animate)||Hu.some(r=>zi(n[r]))}function Mm(n){return!!(Is(n)||n.variants)}function u1(n,r){if(Is(n)){const{initial:o,animate:s}=n;return{initial:o===!1||zi(o)?o:void 0,animate:zi(s)?s:void 0}}return n.inherit!==!1?r:{}}function c1(n){const{initial:r,animate:o}=u1(n,C.useContext(Vs));return C.useMemo(()=>({initial:r,animate:o}),[Lh(r),Lh(o)])}function Lh(n){return Array.isArray(n)?n.join(" "):n}const f1=Symbol.for("motionComponentSymbol");function Rr(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function d1(n,r,o){return C.useCallback(s=>{s&&n.onMount&&n.onMount(s),r&&(s?r.mount(s):r.unmount()),o&&(typeof o=="function"?o(s):Rr(o)&&(o.current=s))},[r])}const Wu=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),h1="framerAppearId",Lm="data-"+Wu(h1),{schedule:Ku}=Rm(queueMicrotask,!1),jm=C.createContext({});function p1(n,r,o,s,l){var c,f;const{visualElement:h}=C.useContext(Vs),p=C.useContext(Am),m=C.useContext(_s),g=C.useContext(zu).reducedMotion,v=C.useRef(null);s=s||p.renderer,!v.current&&s&&(v.current=s(n,{visualState:r,parent:h,props:o,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g}));const x=v.current,E=C.useContext(jm);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&m1(v.current,o,l,E);const L=C.useRef(!1);C.useInsertionEffect(()=>{x&&L.current&&x.update(o,m)});const A=o[Lm],P=C.useRef(!!A&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,A))&&((f=window.MotionHasOptimisedAnimation)===null||f===void 0?void 0:f.call(window,A)));return km(()=>{x&&(L.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),Ku.render(x.render),P.current&&x.animationState&&x.animationState.animateChanges())}),C.useEffect(()=>{x&&(!P.current&&x.animationState&&x.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var D;(D=window.MotionHandoffMarkAsComplete)===null||D===void 0||D.call(window,A)}),P.current=!1))}),x}function m1(n,r,o,s){const{layoutId:l,layout:c,drag:f,dragConstraints:h,layoutScroll:p,layoutRoot:m}=r;n.projection=new o(n.latestValues,r["data-framer-portal-id"]?void 0:Dm(n.parent)),n.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!f||h&&Rr(h),visualElement:n,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,layoutScroll:p,layoutRoot:m})}function Dm(n){if(n)return n.options.allowProjection!==!1?n.projection:Dm(n.parent)}function g1({preloadedFeatures:n,createVisualElement:r,useRender:o,useVisualState:s,Component:l}){var c,f;n&&i1(n);function h(m,g){let v;const x={...C.useContext(zu),...m,layoutId:y1(m)},{isStatic:E}=x,L=c1(m),A=s(m,E);if(!E&&Bu){v1();const P=x1(x);v=P.MeasureLayout,L.visualElement=p1(l,A,x,r,P.ProjectionNode)}return S.jsxs(Vs.Provider,{value:L,children:[v&&L.visualElement?S.jsx(v,{visualElement:L.visualElement,...x}):null,o(l,m,d1(A,L.visualElement,g),A,E,L.visualElement)]})}h.displayName=`motion.${typeof l=="string"?l:`create(${(f=(c=l.displayName)!==null&&c!==void 0?c:l.name)!==null&&f!==void 0?f:""})`}`;const p=C.forwardRef(h);return p[f1]=l,p}function y1({layoutId:n}){const r=C.useContext(Iu).id;return r&&n!==void 0?r+"-"+n:n}function v1(n,r){C.useContext(Am).strict}function x1(n){const{drag:r,layout:o}=Or;if(!r&&!o)return{};const s={...r,...o};return{MeasureLayout:r?.isEnabled(n)||o?.isEnabled(n)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const w1=["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 Gu(n){return typeof n!="string"||n.includes("-")?!1:!!(w1.indexOf(n)>-1||/[A-Z]/u.test(n))}function jh(n){const r=[{},{}];return n?.values.forEach((o,s)=>{r[0][s]=o.get(),r[1][s]=o.getVelocity()}),r}function Yu(n,r,o,s){if(typeof r=="function"){const[l,c]=jh(s);r=r(o!==void 0?o:n.custom,l,c)}if(typeof r=="string"&&(r=n.variants&&n.variants[r]),typeof r=="function"){const[l,c]=jh(s);r=r(o!==void 0?o:n.custom,l,c)}return r}const cu=n=>Array.isArray(n),S1=n=>!!(n&&typeof n=="object"&&n.mix&&n.toValue),T1=n=>cu(n)?n[n.length-1]||0:n,nt=n=>!!(n&&n.getVelocity);function vs(n){const r=nt(n)?n.get():n;return S1(r)?r.toValue():r}function E1({scrapeMotionValuesFromProps:n,createRenderState:r,onUpdate:o},s,l,c){const f={latestValues:C1(s,l,c,n),renderState:r()};return o&&(f.onMount=h=>o({props:s,current:h,...f}),f.onUpdate=h=>o(h)),f}const Om=n=>(r,o)=>{const s=C.useContext(Vs),l=C.useContext(_s),c=()=>E1(n,r,s,l);return o?c():bu(c)};function C1(n,r,o,s){const l={},c=s(n,{});for(const x in c)l[x]=vs(c[x]);let{initial:f,animate:h}=n;const p=Is(n),m=Mm(n);r&&m&&!p&&n.inherit!==!1&&(f===void 0&&(f=r.initial),h===void 0&&(h=r.animate));let g=o?o.initial===!1:!1;g=g||f===!1;const v=g?h:f;if(v&&typeof v!="boolean"&&!Fs(v)){const x=Array.isArray(v)?v:[v];for(let E=0;E<x.length;E++){const L=Yu(n,x[E]);if(L){const{transitionEnd:A,transition:P,...D}=L;for(const O in D){let _=D[O];if(Array.isArray(_)){const $=g?_.length-1:0;_=_[$]}_!==null&&(l[O]=_)}for(const O in A)l[O]=A[O]}}}return l}const br=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],er=new Set(br),_m=n=>r=>typeof r=="string"&&r.startsWith(n),Vm=_m("--"),k1=_m("var(--"),qu=n=>k1(n)?P1.test(n.split("/*")[0].trim()):!1,P1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Fm=(n,r)=>r&&typeof n=="number"?r.transform(n):n,ln=(n,r,o)=>o>r?r:o<n?n:o,zr={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Bi={...zr,transform:n=>ln(0,1,n)},ps={...zr,default:1},qi=n=>({test:r=>typeof r=="string"&&r.endsWith(n)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${n}`}),Nn=qi("deg"),Wt=qi("%"),te=qi("px"),R1=qi("vh"),A1=qi("vw"),Dh={...Wt,parse:n=>Wt.parse(n)/100,transform:n=>Wt.transform(n*100)},N1={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},M1={rotate:Nn,rotateX:Nn,rotateY:Nn,rotateZ:Nn,scale:ps,scaleX:ps,scaleY:ps,scaleZ:ps,skew:Nn,skewX:Nn,skewY:Nn,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:Bi,originX:Dh,originY:Dh,originZ:te},Oh={...zr,transform:Math.round},Qu={...N1,...M1,zIndex:Oh,size:te,fillOpacity:Bi,strokeOpacity:Bi,numOctaves:Oh},L1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},j1=br.length;function D1(n,r,o){let s="",l=!0;for(let c=0;c<j1;c++){const f=br[c],h=n[f];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(f.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||o){const m=Fm(h,Qu[f]);if(!p){l=!1;const g=L1[f]||f;s+=`${g}(${m}) `}o&&(r[f]=m)}}return s=s.trim(),o?s=o(r,l?"":s):l&&(s="none"),s}function Xu(n,r,o){const{style:s,vars:l,transformOrigin:c}=n;let f=!1,h=!1;for(const p in r){const m=r[p];if(er.has(p)){f=!0;continue}else if(Vm(p)){l[p]=m;continue}else{const g=Fm(m,Qu[p]);p.startsWith("origin")?(h=!0,c[p]=g):s[p]=g}}if(r.transform||(f||o?s.transform=D1(r,n.transform,o):s.transform&&(s.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:g=0}=c;s.transformOrigin=`${p} ${m} ${g}`}}const O1={offset:"stroke-dashoffset",array:"stroke-dasharray"},_1={offset:"strokeDashoffset",array:"strokeDasharray"};function V1(n,r,o=1,s=0,l=!0){n.pathLength=1;const c=l?O1:_1;n[c.offset]=te.transform(-s);const f=te.transform(r),h=te.transform(o);n[c.array]=`${f} ${h}`}function _h(n,r,o){return typeof n=="string"?n:te.transform(r+o*n)}function F1(n,r,o){const s=_h(r,n.x,n.width),l=_h(o,n.y,n.height);return`${s} ${l}`}function Zu(n,{attrX:r,attrY:o,attrScale:s,originX:l,originY:c,pathLength:f,pathSpacing:h=1,pathOffset:p=0,...m},g,v){if(Xu(n,m,v),g){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:x,style:E,dimensions:L}=n;x.transform&&(L&&(E.transform=x.transform),delete x.transform),L&&(l!==void 0||c!==void 0||E.transform)&&(E.transformOrigin=F1(L,l!==void 0?l:.5,c!==void 0?c:.5)),r!==void 0&&(x.x=r),o!==void 0&&(x.y=o),s!==void 0&&(x.scale=s),f!==void 0&&V1(x,f,h,p,!1)}const Ju=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Im=()=>({...Ju(),attrs:{}}),ec=n=>typeof n=="string"&&n.toLowerCase()==="svg";function bm(n,{style:r,vars:o},s,l){Object.assign(n.style,r,l&&l.getProjectionStyles(s));for(const c in o)n.style.setProperty(c,o[c])}const zm=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 Bm(n,r,o,s){bm(n,r,void 0,s);for(const l in r.attrs)n.setAttribute(zm.has(l)?l:Wu(l),r.attrs[l])}const Cs={};function I1(n){Object.assign(Cs,n)}function Um(n,{layout:r,layoutId:o}){return er.has(n)||n.startsWith("origin")||(r||o!==void 0)&&(!!Cs[n]||n==="opacity")}function tc(n,r,o){var s;const{style:l}=n,c={};for(const f in l)(nt(l[f])||r.style&&nt(r.style[f])||Um(f,n)||((s=o?.getValue(f))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(c[f]=l[f]);return c}function $m(n,r,o){const s=tc(n,r,o);for(const l in n)if(nt(n[l])||nt(r[l])){const c=br.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;s[c]=n[l]}return s}function b1(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 Vh=["x","y","width","height","cx","cy","r"],z1={useVisualState:Om({scrapeMotionValuesFromProps:$m,createRenderState:Im,onUpdate:({props:n,prevProps:r,current:o,renderState:s,latestValues:l})=>{if(!o)return;let c=!!n.drag;if(!c){for(const h in l)if(er.has(h)){c=!0;break}}if(!c)return;let f=!r;if(r)for(let h=0;h<Vh.length;h++){const p=Vh[h];n[p]!==r[p]&&(f=!0)}f&&Ee.read(()=>{b1(o,s),Ee.render(()=>{Zu(s,l,ec(o.tagName),n.transformTemplate),Bm(o,s)})})}})},B1={useVisualState:Om({scrapeMotionValuesFromProps:tc,createRenderState:Ju})};function Hm(n,r,o){for(const s in r)!nt(r[s])&&!Um(s,o)&&(n[s]=r[s])}function U1({transformTemplate:n},r){return C.useMemo(()=>{const o=Ju();return Xu(o,r,n),Object.assign({},o.vars,o.style)},[r])}function $1(n,r){const o=n.style||{},s={};return Hm(s,o,n),Object.assign(s,U1(n,r)),s}function H1(n,r){const o={},s=$1(n,r);return n.drag&&n.dragListener!==!1&&(o.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(o.tabIndex=0),o.style=s,o}function W1(n,r,o,s){const l=C.useMemo(()=>{const c=Im();return Zu(c,r,ec(s),n.transformTemplate),{...c.attrs,style:{...c.style}}},[r]);if(n.style){const c={};Hm(c,n.style,n),l.style={...c,...l.style}}return l}function K1(n=!1){return(o,s,l,{latestValues:c},f)=>{const p=(Gu(o)?W1:H1)(s,c,f,o),m=a1(s,typeof o=="string",n),g=o!==C.Fragment?{...m,...p,ref:l}:{},{children:v}=s,x=C.useMemo(()=>nt(v)?v.get():v,[v]);return C.createElement(o,{...g,children:x})}}function G1(n,r){return function(s,{forwardMotionProps:l}={forwardMotionProps:!1}){const f={...Gu(s)?z1:B1,preloadedFeatures:n,useRender:K1(l),createVisualElement:r,Component:s};return g1(f)}}function Wm(n,r){if(!Array.isArray(r))return!1;const o=r.length;if(o!==n.length)return!1;for(let s=0;s<o;s++)if(r[s]!==n[s])return!1;return!0}function bs(n,r,o){const s=n.getProps();return Yu(s,r,o!==void 0?o:s.custom,n)}const Y1=Uu(()=>window.ScrollTimeline!==void 0);class q1{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,o){for(let s=0;s<this.animations.length;s++)this.animations[s][r]=o}attachTimeline(r,o){const s=this.animations.map(l=>{if(Y1()&&l.attachTimeline)return l.attachTimeline(r);if(typeof o=="function")return o(l)});return()=>{s.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 o=0;o<this.animations.length;o++)r=Math.max(r,this.animations[o].duration);return r}runAll(r){this.animations.forEach(o=>o[r]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Q1 extends q1{then(r,o){return Promise.all(this.animations).then(r).catch(o)}}function nc(n,r){return n?n[r]||n.default||n:void 0}const fu=2e4;function Km(n){let r=0;const o=50;let s=n.next(r);for(;!s.done&&r<fu;)r+=o,s=n.next(r);return r>=fu?1/0:r}function rc(n){return typeof n=="function"}function Fh(n,r){n.timeline=r,n.onfinish=null}const ic=n=>Array.isArray(n)&&typeof n[0]=="number",X1={linearEasing:void 0};function Z1(n,r){const o=Uu(n);return()=>{var s;return(s=X1[r])!==null&&s!==void 0?s:o()}}const ks=Z1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gm=(n,r,o=10)=>{let s="";const l=Math.max(Math.round(r/o),2);for(let c=0;c<l;c++)s+=n(Dr(0,l-1,c))+", ";return`linear(${s.substring(0,s.length-2)})`};function Ym(n){return!!(typeof n=="function"&&ks()||!n||typeof n=="string"&&(n in du||ks())||ic(n)||Array.isArray(n)&&n.every(Ym))}const Li=([n,r,o,s])=>`cubic-bezier(${n}, ${r}, ${o}, ${s})`,du={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Li([0,.65,.55,1]),circOut:Li([.55,0,1,.45]),backIn:Li([.31,.01,.66,-.59]),backOut:Li([.33,1.53,.69,.99])};function qm(n,r){if(n)return typeof n=="function"&&ks()?Gm(n,r):ic(n)?Li(n):Array.isArray(n)?n.map(o=>qm(o,r)||du.easeOut):du[n]}const Ft={x:!1,y:!1};function Qm(){return Ft.x||Ft.y}function J1(n,r,o){var s;if(n instanceof Element)return[n];if(typeof n=="string"){let l=document;const c=(s=void 0)!==null&&s!==void 0?s:l.querySelectorAll(n);return c?Array.from(c):[]}return Array.from(n)}function Xm(n,r){const o=J1(n),s=new AbortController,l={passive:!0,...r,signal:s.signal};return[o,l,()=>s.abort()]}function Ih(n){return r=>{r.pointerType==="touch"||Qm()||n(r)}}function ew(n,r,o={}){const[s,l,c]=Xm(n,o),f=Ih(h=>{const{target:p}=h,m=r(h);if(typeof m!="function"||!p)return;const g=Ih(v=>{m(v),p.removeEventListener("pointerleave",g)});p.addEventListener("pointerleave",g,l)});return s.forEach(h=>{h.addEventListener("pointerenter",f,l)}),c}const Zm=(n,r)=>r?n===r?!0:Zm(n,r.parentElement):!1,oc=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,tw=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nw(n){return tw.has(n.tagName)||n.tabIndex!==-1}const ji=new WeakSet;function bh(n){return r=>{r.key==="Enter"&&n(r)}}function $l(n,r){n.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const rw=(n,r)=>{const o=n.currentTarget;if(!o)return;const s=bh(()=>{if(ji.has(o))return;$l(o,"down");const l=bh(()=>{$l(o,"up")}),c=()=>$l(o,"cancel");o.addEventListener("keyup",l,r),o.addEventListener("blur",c,r)});o.addEventListener("keydown",s,r),o.addEventListener("blur",()=>o.removeEventListener("keydown",s),r)};function zh(n){return oc(n)&&!Qm()}function iw(n,r,o={}){const[s,l,c]=Xm(n,o),f=h=>{const p=h.currentTarget;if(!zh(h)||ji.has(p))return;ji.add(p);const m=r(h),g=(E,L)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),!(!zh(E)||!ji.has(p))&&(ji.delete(p),typeof m=="function"&&m(E,{success:L}))},v=E=>{g(E,o.useGlobalTarget||Zm(p,E.target))},x=E=>{g(E,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",x,l)};return s.forEach(h=>{!nw(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(o.useGlobalTarget?window:h).addEventListener("pointerdown",f,l),h.addEventListener("focus",m=>rw(m,l),l)}),c}function ow(n){return n==="x"||n==="y"?Ft[n]?null:(Ft[n]=!0,()=>{Ft[n]=!1}):Ft.x||Ft.y?null:(Ft.x=Ft.y=!0,()=>{Ft.x=Ft.y=!1})}const Jm=new Set(["width","height","top","left","right","bottom",...br]);let xs;function sw(){xs=void 0}const Kt={now:()=>(xs===void 0&&Kt.set(qe.isProcessing||t1.useManualTiming?qe.timestamp:performance.now()),xs),set:n=>{xs=n,queueMicrotask(sw)}};function sc(n,r){n.indexOf(r)===-1&&n.push(r)}function ac(n,r){const o=n.indexOf(r);o>-1&&n.splice(o,1)}class lc{constructor(){this.subscriptions=[]}add(r){return sc(this.subscriptions,r),()=>ac(this.subscriptions,r)}notify(r,o,s){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](r,o,s);else for(let c=0;c<l;c++){const f=this.subscriptions[c];f&&f(r,o,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eg(n,r){return r?n*(1e3/r):0}const Bh=30,aw=n=>!isNaN(parseFloat(n));class lw{constructor(r,o={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,l=!0)=>{const c=Kt.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),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=o.owner}setCurrent(r){this.current=r,this.updatedAt=Kt.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=aw(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,o){this.events[r]||(this.events[r]=new lc);const s=this.events[r].add(o);return r==="change"?()=>{s(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,o){this.passiveEffect=r,this.stopPassiveEffect=o}set(r,o=!0){!o||!this.passiveEffect?this.updateAndNotify(r,o):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,o,s){this.set(o),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-s}jump(r,o=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=Kt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>Bh)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Bh);return eg(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(r){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=r(o),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 Ui(n,r){return new lw(n,r)}function uw(n,r,o){n.hasValue(r)?n.getValue(r).set(o):n.addValue(r,Ui(o))}function cw(n,r){const o=bs(n,r);let{transitionEnd:s={},transition:l={},...c}=o||{};c={...c,...s};for(const f in c){const h=T1(c[f]);uw(n,f,h)}}function fw(n){return!!(nt(n)&&n.add)}function hu(n,r){const o=n.getValue("willChange");if(fw(o))return o.add(r)}function tg(n){return n.props[Lm]}const ng=(n,r,o)=>(((1-3*o+3*r)*n+(3*o-6*r))*n+3*r)*n,dw=1e-7,hw=12;function pw(n,r,o,s,l){let c,f,h=0;do f=r+(o-r)/2,c=ng(f,s,l)-n,c>0?o=f:r=f;while(Math.abs(c)>dw&&++h<hw);return f}function Qi(n,r,o,s){if(n===r&&o===s)return xt;const l=c=>pw(c,0,1,n,o);return c=>c===0||c===1?c:ng(l(c),r,s)}const rg=n=>r=>r<=.5?n(2*r)/2:(2-n(2*(1-r)))/2,ig=n=>r=>1-n(1-r),og=Qi(.33,1.53,.69,.99),uc=ig(og),sg=rg(uc),ag=n=>(n*=2)<1?.5*uc(n):.5*(2-Math.pow(2,-10*(n-1))),cc=n=>1-Math.sin(Math.acos(n)),lg=ig(cc),ug=rg(cc),cg=n=>/^0[^.\s]+$/u.test(n);function mw(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||cg(n):!0}const _i=n=>Math.round(n*1e5)/1e5,fc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gw(n){return n==null}const yw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,dc=(n,r)=>o=>!!(typeof o=="string"&&yw.test(o)&&o.startsWith(n)||r&&!gw(o)&&Object.prototype.hasOwnProperty.call(o,r)),fg=(n,r,o)=>s=>{if(typeof s!="string")return s;const[l,c,f,h]=s.match(fc);return{[n]:parseFloat(l),[r]:parseFloat(c),[o]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},vw=n=>ln(0,255,n),Hl={...zr,transform:n=>Math.round(vw(n))},Xn={test:dc("rgb","red"),parse:fg("red","green","blue"),transform:({red:n,green:r,blue:o,alpha:s=1})=>"rgba("+Hl.transform(n)+", "+Hl.transform(r)+", "+Hl.transform(o)+", "+_i(Bi.transform(s))+")"};function xw(n){let r="",o="",s="",l="";return n.length>5?(r=n.substring(1,3),o=n.substring(3,5),s=n.substring(5,7),l=n.substring(7,9)):(r=n.substring(1,2),o=n.substring(2,3),s=n.substring(3,4),l=n.substring(4,5),r+=r,o+=o,s+=s,l+=l),{red:parseInt(r,16),green:parseInt(o,16),blue:parseInt(s,16),alpha:l?parseInt(l,16)/255:1}}const pu={test:dc("#"),parse:xw,transform:Xn.transform},Ar={test:dc("hsl","hue"),parse:fg("hue","saturation","lightness"),transform:({hue:n,saturation:r,lightness:o,alpha:s=1})=>"hsla("+Math.round(n)+", "+Wt.transform(_i(r))+", "+Wt.transform(_i(o))+", "+_i(Bi.transform(s))+")"},tt={test:n=>Xn.test(n)||pu.test(n)||Ar.test(n),parse:n=>Xn.test(n)?Xn.parse(n):Ar.test(n)?Ar.parse(n):pu.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Xn.transform(n):Ar.transform(n)},ww=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Sw(n){var r,o;return isNaN(n)&&typeof n=="string"&&(((r=n.match(fc))===null||r===void 0?void 0:r.length)||0)+(((o=n.match(ww))===null||o===void 0?void 0:o.length)||0)>0}const dg="number",hg="color",Tw="var",Ew="var(",Uh="${}",Cw=/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 $i(n){const r=n.toString(),o=[],s={color:[],number:[],var:[]},l=[];let c=0;const h=r.replace(Cw,p=>(tt.test(p)?(s.color.push(c),l.push(hg),o.push(tt.parse(p))):p.startsWith(Ew)?(s.var.push(c),l.push(Tw),o.push(p)):(s.number.push(c),l.push(dg),o.push(parseFloat(p))),++c,Uh)).split(Uh);return{values:o,split:h,indexes:s,types:l}}function pg(n){return $i(n).values}function mg(n){const{split:r,types:o}=$i(n),s=r.length;return l=>{let c="";for(let f=0;f<s;f++)if(c+=r[f],l[f]!==void 0){const h=o[f];h===dg?c+=_i(l[f]):h===hg?c+=tt.transform(l[f]):c+=l[f]}return c}}const kw=n=>typeof n=="number"?0:n;function Pw(n){const r=pg(n);return mg(n)(r.map(kw))}const jn={test:Sw,parse:pg,createTransformer:mg,getAnimatableNone:Pw},Rw=new Set(["brightness","contrast","saturate","opacity"]);function Aw(n){const[r,o]=n.slice(0,-1).split("(");if(r==="drop-shadow")return n;const[s]=o.match(fc)||[];if(!s)return n;const l=o.replace(s,"");let c=Rw.has(r)?1:0;return s!==o&&(c*=100),r+"("+c+l+")"}const Nw=/\b([a-z-]*)\(.*?\)/gu,mu={...jn,getAnimatableNone:n=>{const r=n.match(Nw);return r?r.map(Aw).join(" "):n}},Mw={...Qu,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:mu,WebkitFilter:mu},hc=n=>Mw[n];function gg(n,r){let o=hc(n);return o!==mu&&(o=jn),o.getAnimatableNone?o.getAnimatableNone(r):void 0}const Lw=new Set(["auto","none","0"]);function jw(n,r,o){let s=0,l;for(;s<n.length&&!l;){const c=n[s];typeof c=="string"&&!Lw.has(c)&&$i(c).values.length&&(l=n[s]),s++}if(l&&o)for(const c of r)n[c]=gg(o,l)}const $h=n=>n===zr||n===te,Hh=(n,r)=>parseFloat(n.split(", ")[r]),Wh=(n,r)=>(o,{transform:s})=>{if(s==="none"||!s)return 0;const l=s.match(/^matrix3d\((.+)\)$/u);if(l)return Hh(l[1],r);{const c=s.match(/^matrix\((.+)\)$/u);return c?Hh(c[1],n):0}},Dw=new Set(["x","y","z"]),Ow=br.filter(n=>!Dw.has(n));function _w(n){const r=[];return Ow.forEach(o=>{const s=n.getValue(o);s!==void 0&&(r.push([o,s.get()]),s.set(o.startsWith("scale")?1:0))}),r}const _r={width:({x:n},{paddingLeft:r="0",paddingRight:o="0"})=>n.max-n.min-parseFloat(r)-parseFloat(o),height:({y:n},{paddingTop:r="0",paddingBottom:o="0"})=>n.max-n.min-parseFloat(r)-parseFloat(o),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:Wh(4,13),y:Wh(5,14)};_r.translateX=_r.x;_r.translateY=_r.y;const Zn=new Set;let gu=!1,yu=!1;function yg(){if(yu){const n=Array.from(Zn).filter(s=>s.needsMeasurement),r=new Set(n.map(s=>s.element)),o=new Map;r.forEach(s=>{const l=_w(s);l.length&&(o.set(s,l),s.render())}),n.forEach(s=>s.measureInitialState()),r.forEach(s=>{s.render();const l=o.get(s);l&&l.forEach(([c,f])=>{var h;(h=s.getValue(c))===null||h===void 0||h.set(f)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}yu=!1,gu=!1,Zn.forEach(n=>n.complete()),Zn.clear()}function vg(){Zn.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(yu=!0)})}function Vw(){vg(),yg()}class pc{constructor(r,o,s,l,c,f=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...r],this.onComplete=o,this.name=s,this.motionValue=l,this.element=c,this.isAsync=f}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Zn.add(this),gu||(gu=!0,Ee.read(vg),Ee.resolveKeyframes(yg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:o,element:s,motionValue:l}=this;for(let c=0;c<r.length;c++)if(r[c]===null)if(c===0){const f=l?.get(),h=r[r.length-1];if(f!==void 0)r[0]=f;else if(s&&o){const p=s.readValue(o,h);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=h),l&&f===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),Zn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Zn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const xg=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),Fw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Iw(n){const r=Fw.exec(n);if(!r)return[,];const[,o,s,l]=r;return[`--${o??s}`,l]}function wg(n,r,o=1){const[s,l]=Iw(n);if(!s)return;const c=window.getComputedStyle(r).getPropertyValue(s);if(c){const f=c.trim();return xg(f)?parseFloat(f):f}return qu(l)?wg(l,r,o+1):l}const Sg=n=>r=>r.test(n),bw={test:n=>n==="auto",parse:n=>n},Tg=[zr,te,Wt,Nn,A1,R1,bw],Kh=n=>Tg.find(Sg(n));class Eg extends pc{constructor(r,o,s,l,c){super(r,o,s,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:o,name:s}=this;if(!o||!o.current)return;super.readKeyframes();for(let p=0;p<r.length;p++){let m=r[p];if(typeof m=="string"&&(m=m.trim(),qu(m))){const g=wg(m,o.current);g!==void 0&&(r[p]=g),p===r.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Jm.has(s)||r.length!==2)return;const[l,c]=r,f=Kh(l),h=Kh(c);if(f!==h)if($h(f)&&$h(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:o}=this,s=[];for(let l=0;l<r.length;l++)mw(r[l])&&s.push(l);s.length&&jw(r,s,o)}measureInitialState(){const{element:r,unresolvedKeyframes:o,name:s}=this;if(!r||!r.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_r[s](r.measureViewportBox(),window.getComputedStyle(r.current)),o[0]=this.measuredOrigin;const l=o[o.length-1];l!==void 0&&r.getValue(s,l).jump(l,!1)}measureEndState(){var r;const{element:o,name:s,unresolvedKeyframes:l}=this;if(!o||!o.current)return;const c=o.getValue(s);c&&c.jump(this.measuredOrigin,!1);const f=l.length-1,h=l[f];l[f]=_r[s](o.measureViewportBox(),window.getComputedStyle(o.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((r=this.removedTransforms)===null||r===void 0)&&r.length&&this.removedTransforms.forEach(([p,m])=>{o.getValue(p).set(m)}),this.resolveNoneKeyframes()}}const Gh=(n,r)=>r==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(jn.test(n)||n==="0")&&!n.startsWith("url("));function zw(n){const r=n[0];if(n.length===1)return!0;for(let o=0;o<n.length;o++)if(n[o]!==r)return!0}function Bw(n,r,o,s){const l=n[0];if(l===null)return!1;if(r==="display"||r==="visibility")return!0;const c=n[n.length-1],f=Gh(l,r),h=Gh(c,r);return!f||!h?!1:zw(n)||(o==="spring"||rc(o))&&s}const Uw=n=>n!==null;function zs(n,{repeat:r,repeatType:o="loop"},s){const l=n.filter(Uw),c=r&&o!=="loop"&&r%2===1?0:l.length-1;return!c||s===void 0?l[c]:s}const $w=40;class Cg{constructor({autoplay:r=!0,delay:o=0,type:s="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:f="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Kt.now(),this.options={autoplay:r,delay:o,type:s,repeat:l,repeatDelay:c,repeatType:f,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>$w?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Vw(),this._resolved}onKeyframesResolved(r,o){this.resolvedAt=Kt.now(),this.hasAttemptedResolve=!0;const{name:s,type:l,velocity:c,delay:f,onComplete:h,onUpdate:p,isGenerator:m}=this.options;if(!m&&!Bw(r,s,l,c))if(f)this.options.duration=0;else{p&&p(zs(r,this.options,o)),h&&h(),this.resolveFinishedPromise();return}const g=this.initPlayback(r,o);g!==!1&&(this._resolved={keyframes:r,finalKeyframe:o,...g},this.onPostResolved())}onPostResolved(){}then(r,o){return this.currentFinishedPromise.then(r,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(r=>{this.resolveFinishedPromise=r})}}const Me=(n,r,o)=>n+(r-n)*o;function Wl(n,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?n+(r-n)*6*o:o<1/2?r:o<2/3?n+(r-n)*(2/3-o)*6:n}function Hw({hue:n,saturation:r,lightness:o,alpha:s}){n/=360,r/=100,o/=100;let l=0,c=0,f=0;if(!r)l=c=f=o;else{const h=o<.5?o*(1+r):o+r-o*r,p=2*o-h;l=Wl(p,h,n+1/3),c=Wl(p,h,n),f=Wl(p,h,n-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(f*255),alpha:s}}function Ps(n,r){return o=>o>0?r:n}const Kl=(n,r,o)=>{const s=n*n,l=o*(r*r-s)+s;return l<0?0:Math.sqrt(l)},Ww=[pu,Xn,Ar],Kw=n=>Ww.find(r=>r.test(n));function Yh(n){const r=Kw(n);if(!r)return!1;let o=r.parse(n);return r===Ar&&(o=Hw(o)),o}const qh=(n,r)=>{const o=Yh(n),s=Yh(r);if(!o||!s)return Ps(n,r);const l={...o};return c=>(l.red=Kl(o.red,s.red,c),l.green=Kl(o.green,s.green,c),l.blue=Kl(o.blue,s.blue,c),l.alpha=Me(o.alpha,s.alpha,c),Xn.transform(l))},Gw=(n,r)=>o=>r(n(o)),Xi=(...n)=>n.reduce(Gw),vu=new Set(["none","hidden"]);function Yw(n,r){return vu.has(n)?o=>o<=0?n:r:o=>o>=1?r:n}function qw(n,r){return o=>Me(n,r,o)}function mc(n){return typeof n=="number"?qw:typeof n=="string"?qu(n)?Ps:tt.test(n)?qh:Zw:Array.isArray(n)?kg:typeof n=="object"?tt.test(n)?qh:Qw:Ps}function kg(n,r){const o=[...n],s=o.length,l=n.map((c,f)=>mc(c)(c,r[f]));return c=>{for(let f=0;f<s;f++)o[f]=l[f](c);return o}}function Qw(n,r){const o={...n,...r},s={};for(const l in o)n[l]!==void 0&&r[l]!==void 0&&(s[l]=mc(n[l])(n[l],r[l]));return l=>{for(const c in s)o[c]=s[c](l);return o}}function Xw(n,r){var o;const s=[],l={color:0,var:0,number:0};for(let c=0;c<r.values.length;c++){const f=r.types[c],h=n.indexes[f][l[f]],p=(o=n.values[h])!==null&&o!==void 0?o:0;s[c]=p,l[f]++}return s}const Zw=(n,r)=>{const o=jn.createTransformer(r),s=$i(n),l=$i(r);return s.indexes.var.length===l.indexes.var.length&&s.indexes.color.length===l.indexes.color.length&&s.indexes.number.length>=l.indexes.number.length?vu.has(n)&&!l.values.length||vu.has(r)&&!s.values.length?Yw(n,r):Xi(kg(Xw(s,l),l.values),o):Ps(n,r)};function Pg(n,r,o){return typeof n=="number"&&typeof r=="number"&&typeof o=="number"?Me(n,r,o):mc(n)(n,r)}const Jw=5;function Rg(n,r,o){const s=Math.max(r-Jw,0);return eg(o-n(s),r-s)}const De={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},Gl=.001;function eS({duration:n=De.duration,bounce:r=De.bounce,velocity:o=De.velocity,mass:s=De.mass}){let l,c,f=1-r;f=ln(De.minDamping,De.maxDamping,f),n=ln(De.minDuration,De.maxDuration,sn(n)),f<1?(l=m=>{const g=m*f,v=g*n,x=g-o,E=xu(m,f),L=Math.exp(-v);return Gl-x/E*L},c=m=>{const v=m*f*n,x=v*o+o,E=Math.pow(f,2)*Math.pow(m,2)*n,L=Math.exp(-v),A=xu(Math.pow(m,2),f);return(-l(m)+Gl>0?-1:1)*((x-E)*L)/A}):(l=m=>{const g=Math.exp(-m*n),v=(m-o)*n+1;return-Gl+g*v},c=m=>{const g=Math.exp(-m*n),v=(o-m)*(n*n);return g*v});const h=5/n,p=nS(l,c,h);if(n=on(n),isNaN(p))return{stiffness:De.stiffness,damping:De.damping,duration:n};{const m=Math.pow(p,2)*s;return{stiffness:m,damping:f*2*Math.sqrt(s*m),duration:n}}}const tS=12;function nS(n,r,o){let s=o;for(let l=1;l<tS;l++)s=s-n(s)/r(s);return s}function xu(n,r){return n*Math.sqrt(1-r*r)}const rS=["duration","bounce"],iS=["stiffness","damping","mass"];function Qh(n,r){return r.some(o=>n[o]!==void 0)}function oS(n){let r={velocity:De.velocity,stiffness:De.stiffness,damping:De.damping,mass:De.mass,isResolvedFromDuration:!1,...n};if(!Qh(n,iS)&&Qh(n,rS))if(n.visualDuration){const o=n.visualDuration,s=2*Math.PI/(o*1.2),l=s*s,c=2*ln(.05,1,1-(n.bounce||0))*Math.sqrt(l);r={...r,mass:De.mass,stiffness:l,damping:c}}else{const o=eS(n);r={...r,...o,mass:De.mass},r.isResolvedFromDuration=!0}return r}function Ag(n=De.visualDuration,r=De.bounce){const o=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:r}:n;let{restSpeed:s,restDelta:l}=o;const c=o.keyframes[0],f=o.keyframes[o.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:m,mass:g,duration:v,velocity:x,isResolvedFromDuration:E}=oS({...o,velocity:-sn(o.velocity||0)}),L=x||0,A=m/(2*Math.sqrt(p*g)),P=f-c,D=sn(Math.sqrt(p/g)),O=Math.abs(P)<5;s||(s=O?De.restSpeed.granular:De.restSpeed.default),l||(l=O?De.restDelta.granular:De.restDelta.default);let _;if(A<1){const z=xu(D,A);_=X=>{const re=Math.exp(-A*D*X);return f-re*((L+A*D*P)/z*Math.sin(z*X)+P*Math.cos(z*X))}}else if(A===1)_=z=>f-Math.exp(-D*z)*(P+(L+D*P)*z);else{const z=D*Math.sqrt(A*A-1);_=X=>{const re=Math.exp(-A*D*X),q=Math.min(z*X,300);return f-re*((L+A*D*P)*Math.sinh(q)+z*P*Math.cosh(q))/z}}const $={calculatedDuration:E&&v||null,next:z=>{const X=_(z);if(E)h.done=z>=v;else{let re=0;A<1&&(re=z===0?on(L):Rg(_,z,X));const q=Math.abs(re)<=s,he=Math.abs(f-X)<=l;h.done=q&&he}return h.value=h.done?f:X,h},toString:()=>{const z=Math.min(Km($),fu),X=Gm(re=>$.next(z*re).value,z,30);return z+"ms "+X}};return $}function Xh({keyframes:n,velocity:r=0,power:o=.8,timeConstant:s=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:f,min:h,max:p,restDelta:m=.5,restSpeed:g}){const v=n[0],x={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 A=o*r;const P=v+A,D=f===void 0?P:f(P);D!==P&&(A=D-v);const O=q=>-A*Math.exp(-q/s),_=q=>D+O(q),$=q=>{const he=O(q),ye=_(q);x.done=Math.abs(he)<=m,x.value=x.done?D:ye};let z,X;const re=q=>{E(x.value)&&(z=q,X=Ag({keyframes:[x.value,L(x.value)],velocity:Rg(_,q,x.value),damping:l,stiffness:c,restDelta:m,restSpeed:g}))};return re(0),{calculatedDuration:null,next:q=>{let he=!1;return!X&&z===void 0&&(he=!0,$(q),re(q)),z!==void 0&&q>=z?X.next(q-z):(!he&&$(q),x)}}}const sS=Qi(.42,0,1,1),aS=Qi(0,0,.58,1),Ng=Qi(.42,0,.58,1),lS=n=>Array.isArray(n)&&typeof n[0]!="number",uS={linear:xt,easeIn:sS,easeInOut:Ng,easeOut:aS,circIn:cc,circInOut:ug,circOut:lg,backIn:uc,backInOut:sg,backOut:og,anticipate:ag},Zh=n=>{if(ic(n)){Pm(n.length===4);const[r,o,s,l]=n;return Qi(r,o,s,l)}else if(typeof n=="string")return uS[n];return n};function cS(n,r,o){const s=[],l=o||Pg,c=n.length-1;for(let f=0;f<c;f++){let h=l(n[f],n[f+1]);if(r){const p=Array.isArray(r)?r[f]||xt:r;h=Xi(p,h)}s.push(h)}return s}function fS(n,r,{clamp:o=!0,ease:s,mixer:l}={}){const c=n.length;if(Pm(c===r.length),c===1)return()=>r[0];if(c===2&&r[0]===r[1])return()=>r[1];const f=n[0]===n[1];n[0]>n[c-1]&&(n=[...n].reverse(),r=[...r].reverse());const h=cS(r,s,l),p=h.length,m=g=>{if(f&&g<n[0])return r[0];let v=0;if(p>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const x=Dr(n[v],n[v+1],g);return h[v](x)};return o?g=>m(ln(n[0],n[c-1],g)):m}function dS(n,r){const o=n[n.length-1];for(let s=1;s<=r;s++){const l=Dr(0,r,s);n.push(Me(o,1,l))}}function hS(n){const r=[0];return dS(r,n.length-1),r}function pS(n,r){return n.map(o=>o*r)}function mS(n,r){return n.map(()=>r||Ng).splice(0,n.length-1)}function Rs({duration:n=300,keyframes:r,times:o,ease:s="easeInOut"}){const l=lS(s)?s.map(Zh):Zh(s),c={done:!1,value:r[0]},f=pS(o&&o.length===r.length?o:hS(r),n),h=fS(f,r,{ease:Array.isArray(l)?l:mS(r,l)});return{calculatedDuration:n,next:p=>(c.value=h(p),c.done=p>=n,c)}}const gS=n=>{const r=({timestamp:o})=>n(o);return{start:()=>Ee.update(r,!0),stop:()=>Ln(r),now:()=>qe.isProcessing?qe.timestamp:Kt.now()}},yS={decay:Xh,inertia:Xh,tween:Rs,keyframes:Rs,spring:Ag},vS=n=>n/100;class gc extends Cg{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=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:o,motionValue:s,element:l,keyframes:c}=this.options,f=l?.KeyframeResolver||pc,h=(p,m)=>this.onKeyframesResolved(p,m);this.resolver=new f(c,h,o,s,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(r){const{type:o="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:c,velocity:f=0}=this.options,h=rc(o)?o:yS[o]||Rs;let p,m;h!==Rs&&typeof r[0]!="number"&&(p=Xi(vS,Pg(r[0],r[1])),r=[0,100]);const g=h({...this.options,keyframes:r});c==="mirror"&&(m=h({...this.options,keyframes:[...r].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=Km(g));const{calculatedDuration:v}=g,x=v+l,E=x*(s+1)-l;return{generator:g,mirroredGenerator:m,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:x,totalDuration:E}}onPostResolved(){const{autoplay:r=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!r?this.pause():this.state=this.pendingPlayState}tick(r,o=!1){const{resolved:s}=this;if(!s){const{keyframes:q}=this.options;return{done:!0,value:q[q.length-1]}}const{finalKeyframe:l,generator:c,mirroredGenerator:f,mapPercentToKeyframes:h,keyframes:p,calculatedDuration:m,totalDuration:g,resolvedDuration:v}=s;if(this.startTime===null)return c.next(0);const{delay:x,repeat:E,repeatType:L,repeatDelay:A,onUpdate:P}=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)),o?this.currentTime=r:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(r-this.startTime)*this.speed;const D=this.currentTime-x*(this.speed>=0?1:-1),O=this.speed>=0?D<0:D>g;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let _=this.currentTime,$=c;if(E){const q=Math.min(this.currentTime,g)/v;let he=Math.floor(q),ye=q%1;!ye&&q>=1&&(ye=1),ye===1&&he--,he=Math.min(he,E+1),he%2&&(L==="reverse"?(ye=1-ye,A&&(ye-=A/v)):L==="mirror"&&($=f)),_=ln(0,1,ye)*v}const z=O?{done:!1,value:p[0]}:$.next(_);h&&(z.value=h(z.value));let{done:X}=z;!O&&m!==null&&(X=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const re=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&X);return re&&l!==void 0&&(z.value=zs(p,this.options,l)),P&&P(z.value),re&&this.finish(),z}get duration(){const{resolved:r}=this;return r?sn(r.calculatedDuration):0}get time(){return sn(this.currentTime)}set time(r){r=on(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 o=this.playbackSpeed!==r;this.playbackSpeed=r,o&&(this.time=sn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:r=gS,onPlay:o,startTime:s}=this.options;this.driver||(this.driver=r(c=>this.tick(c))),o&&o();const l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=s??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 xS=new Set(["opacity","clipPath","filter","transform"]);function wS(n,r,o,{delay:s=0,duration:l=300,repeat:c=0,repeatType:f="loop",ease:h="easeInOut",times:p}={}){const m={[r]:o};p&&(m.offset=p);const g=qm(h,l);return Array.isArray(g)&&(m.easing=g),n.animate(m,{delay:s,duration:l,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:c+1,direction:f==="reverse"?"alternate":"normal"})}const SS=Uu(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),As=10,TS=2e4;function ES(n){return rc(n.type)||n.type==="spring"||!Ym(n.ease)}function CS(n,r){const o=new gc({...r,keyframes:n,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:n[0]};const l=[];let c=0;for(;!s.done&&c<TS;)s=o.sample(c),l.push(s.value),c+=As;return{times:void 0,keyframes:l,duration:c-As,ease:"linear"}}const Mg={anticipate:ag,backInOut:sg,circInOut:ug};function kS(n){return n in Mg}class Jh extends Cg{constructor(r){super(r);const{name:o,motionValue:s,element:l,keyframes:c}=this.options;this.resolver=new Eg(c,(f,h)=>this.onKeyframesResolved(f,h),o,s,l),this.resolver.scheduleResolve()}initPlayback(r,o){let{duration:s=300,times:l,ease:c,type:f,motionValue:h,name:p,startTime:m}=this.options;if(!h.owner||!h.owner.current)return!1;if(typeof c=="string"&&ks()&&kS(c)&&(c=Mg[c]),ES(this.options)){const{onComplete:v,onUpdate:x,motionValue:E,element:L,...A}=this.options,P=CS(r,A);r=P.keyframes,r.length===1&&(r[1]=r[0]),s=P.duration,l=P.times,c=P.ease,f="keyframes"}const g=wS(h.owner.current,p,r,{...this.options,duration:s,times:l,ease:c});return g.startTime=m??this.calcStartTime(),this.pendingTimeline?(Fh(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:v}=this.options;h.set(zs(r,this.options,o)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:s,times:l,type:f,ease:c,keyframes:r}}get duration(){const{resolved:r}=this;if(!r)return 0;const{duration:o}=r;return sn(o)}get time(){const{resolved:r}=this;if(!r)return 0;const{animation:o}=r;return sn(o.currentTime||0)}set time(r){const{resolved:o}=this;if(!o)return;const{animation:s}=o;s.currentTime=on(r)}get speed(){const{resolved:r}=this;if(!r)return 1;const{animation:o}=r;return o.playbackRate}set speed(r){const{resolved:o}=this;if(!o)return;const{animation:s}=o;s.playbackRate=r}get state(){const{resolved:r}=this;if(!r)return"idle";const{animation:o}=r;return o.playState}get startTime(){const{resolved:r}=this;if(!r)return null;const{animation:o}=r;return o.startTime}attachTimeline(r){if(!this._resolved)this.pendingTimeline=r;else{const{resolved:o}=this;if(!o)return xt;const{animation:s}=o;Fh(s,r)}return xt}play(){if(this.isStopped)return;const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.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:o,keyframes:s,duration:l,type:c,ease:f,times:h}=r;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:g,onComplete:v,element:x,...E}=this.options,L=new gc({...E,keyframes:s,duration:l,type:c,ease:f,times:h,isGenerator:!0}),A=on(this.time);m.setWithVelocity(L.sample(A-As).value,L.sample(A).value,As)}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:o,name:s,repeatDelay:l,repeatType:c,damping:f,type:h}=r;if(!o||!o.owner||!(o.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:m}=o.owner.getProps();return SS()&&s&&xS.has(s)&&!p&&!m&&!l&&c!=="mirror"&&f!==0&&h!=="inertia"}}const PS={type:"spring",stiffness:500,damping:25,restSpeed:10},RS=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),AS={type:"keyframes",duration:.8},NS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},MS=(n,{keyframes:r})=>r.length>2?AS:er.has(n)?n.startsWith("scale")?RS(r[1]):PS:NS;function LS({when:n,delay:r,delayChildren:o,staggerChildren:s,staggerDirection:l,repeat:c,repeatType:f,repeatDelay:h,from:p,elapsed:m,...g}){return!!Object.keys(g).length}const yc=(n,r,o,s={},l,c)=>f=>{const h=nc(s,n)||{},p=h.delay||s.delay||0;let{elapsed:m=0}=s;m=m-on(p);let g={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:r.getVelocity(),...h,delay:-m,onUpdate:x=>{r.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:n,motionValue:r,element:c?void 0:l};LS(h)||(g={...g,...MS(n,g)}),g.duration&&(g.duration=on(g.duration)),g.repeatDelay&&(g.repeatDelay=on(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 x=zs(g.keyframes,h);if(x!==void 0)return Ee.update(()=>{g.onUpdate(x),g.onComplete()}),new Q1([])}return!c&&Jh.supports(g)?new Jh(g):new gc(g)};function jS({protectedKeys:n,needsAnimating:r},o){const s=n.hasOwnProperty(o)&&r[o]!==!0;return r[o]=!1,s}function Lg(n,r,{delay:o=0,transitionOverride:s,type:l}={}){var c;let{transition:f=n.getDefaultTransition(),transitionEnd:h,...p}=r;s&&(f=s);const m=[],g=l&&n.animationState&&n.animationState.getState()[l];for(const v in p){const x=n.getValue(v,(c=n.latestValues[v])!==null&&c!==void 0?c:null),E=p[v];if(E===void 0||g&&jS(g,v))continue;const L={delay:o,...nc(f||{},v)};let A=!1;if(window.MotionHandoffAnimation){const D=tg(n);if(D){const O=window.MotionHandoffAnimation(D,v,Ee);O!==null&&(L.startTime=O,A=!0)}}hu(n,v),x.start(yc(v,x,E,n.shouldReduceMotion&&Jm.has(v)?{type:!1}:L,n,A));const P=x.animation;P&&m.push(P)}return h&&Promise.all(m).then(()=>{Ee.update(()=>{h&&cw(n,h)})}),m}function wu(n,r,o={}){var s;const l=bs(n,r,o.type==="exit"?(s=n.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:c=n.getDefaultTransition()||{}}=l||{};o.transitionOverride&&(c=o.transitionOverride);const f=l?()=>Promise.all(Lg(n,l,o)):()=>Promise.resolve(),h=n.variantChildren&&n.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:x}=c;return DS(n,r,g+m,v,x,o)}:()=>Promise.resolve(),{when:p}=c;if(p){const[m,g]=p==="beforeChildren"?[f,h]:[h,f];return m().then(()=>g())}else return Promise.all([f(),h(o.delay)])}function DS(n,r,o=0,s=0,l=1,c){const f=[],h=(n.variantChildren.size-1)*s,p=l===1?(m=0)=>m*s:(m=0)=>h-m*s;return Array.from(n.variantChildren).sort(OS).forEach((m,g)=>{m.notify("AnimationStart",r),f.push(wu(m,r,{...c,delay:o+p(g)}).then(()=>m.notify("AnimationComplete",r)))}),Promise.all(f)}function OS(n,r){return n.sortNodePosition(r)}function _S(n,r,o={}){n.notify("AnimationStart",r);let s;if(Array.isArray(r)){const l=r.map(c=>wu(n,c,o));s=Promise.all(l)}else if(typeof r=="string")s=wu(n,r,o);else{const l=typeof r=="function"?bs(n,r,o.custom):r;s=Promise.all(Lg(n,l,o))}return s.then(()=>{n.notify("AnimationComplete",r)})}const VS=Hu.length;function jg(n){if(!n)return;if(!n.isControllingVariants){const o=n.parent?jg(n.parent)||{}:{};return n.props.initial!==void 0&&(o.initial=n.props.initial),o}const r={};for(let o=0;o<VS;o++){const s=Hu[o],l=n.props[s];(zi(l)||l===!1)&&(r[s]=l)}return r}const FS=[...$u].reverse(),IS=$u.length;function bS(n){return r=>Promise.all(r.map(({animation:o,options:s})=>_S(n,o,s)))}function zS(n){let r=bS(n),o=ep(),s=!0;const l=p=>(m,g)=>{var v;const x=bs(n,g,p==="exit"?(v=n.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(x){const{transition:E,transitionEnd:L,...A}=x;m={...m,...A,...L}}return m};function c(p){r=p(n)}function f(p){const{props:m}=n,g=jg(n.parent)||{},v=[],x=new Set;let E={},L=1/0;for(let P=0;P<IS;P++){const D=FS[P],O=o[D],_=m[D]!==void 0?m[D]:g[D],$=zi(_),z=D===p?O.isActive:null;z===!1&&(L=P);let X=_===g[D]&&_!==m[D]&&$;if(X&&s&&n.manuallyAnimateOnMount&&(X=!1),O.protectedKeys={...E},!O.isActive&&z===null||!_&&!O.prevProp||Fs(_)||typeof _=="boolean")continue;const re=BS(O.prevProp,_);let q=re||D===p&&O.isActive&&!X&&$||P>L&&$,he=!1;const ye=Array.isArray(_)?_:[_];let Qe=ye.reduce(l(D),{});z===!1&&(Qe={});const{prevResolvedValues:rt={}}=O,Ue={...rt,...Qe},Ke=se=>{q=!0,x.has(se)&&(he=!0,x.delete(se)),O.needsAnimating[se]=!0;const U=n.getValue(se);U&&(U.liveStyle=!1)};for(const se in Ue){const U=Qe[se],Z=rt[se];if(E.hasOwnProperty(se))continue;let W=!1;cu(U)&&cu(Z)?W=!Wm(U,Z):W=U!==Z,W?U!=null?Ke(se):x.add(se):U!==void 0&&x.has(se)?Ke(se):O.protectedKeys[se]=!0}O.prevProp=_,O.prevResolvedValues=Qe,O.isActive&&(E={...E,...Qe}),s&&n.blockInitialAnimation&&(q=!1),q&&(!(X&&re)||he)&&v.push(...ye.map(se=>({animation:se,options:{type:D}})))}if(x.size){const P={};x.forEach(D=>{const O=n.getBaseTarget(D),_=n.getValue(D);_&&(_.liveStyle=!0),P[D]=O??null}),v.push({animation:P})}let A=!!v.length;return s&&(m.initial===!1||m.initial===m.animate)&&!n.manuallyAnimateOnMount&&(A=!1),s=!1,A?r(v):Promise.resolve()}function h(p,m){var g;if(o[p].isActive===m)return Promise.resolve();(g=n.variantChildren)===null||g===void 0||g.forEach(x=>{var E;return(E=x.animationState)===null||E===void 0?void 0:E.setActive(p,m)}),o[p].isActive=m;const v=f(p);for(const x in o)o[x].protectedKeys={};return v}return{animateChanges:f,setActive:h,setAnimateFunction:c,getState:()=>o,reset:()=>{o=ep(),s=!0}}}function BS(n,r){return typeof r=="string"?r!==n:Array.isArray(r)?!Wm(r,n):!1}function Gn(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ep(){return{animate:Gn(!0),whileInView:Gn(),whileHover:Gn(),whileTap:Gn(),whileDrag:Gn(),whileFocus:Gn(),exit:Gn()}}class Dn{constructor(r){this.isMounted=!1,this.node=r}update(){}}class US extends Dn{constructor(r){super(r),r.animationState||(r.animationState=zS(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Fs(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:o}=this.node.prevProps||{};r!==o&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)===null||r===void 0||r.call(this)}}let $S=0;class HS extends Dn{constructor(){super(...arguments),this.id=$S++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:o}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===s)return;const l=this.node.animationState.setActive("exit",!r);o&&!r&&l.then(()=>o(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const WS={animation:{Feature:US},exit:{Feature:HS}};function Hi(n,r,o,s={passive:!0}){return n.addEventListener(r,o,s),()=>n.removeEventListener(r,o)}function Zi(n){return{point:{x:n.pageX,y:n.pageY}}}const KS=n=>r=>oc(r)&&n(r,Zi(r));function Vi(n,r,o,s){return Hi(n,r,KS(o),s)}const tp=(n,r)=>Math.abs(n-r);function GS(n,r){const o=tp(n.x,r.x),s=tp(n.y,r.y);return Math.sqrt(o**2+s**2)}class Dg{constructor(r,o,{transformPagePoint:s,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=ql(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,E=GS(v.offset,{x:0,y:0})>=3;if(!x&&!E)return;const{point:L}=v,{timestamp:A}=qe;this.history.push({...L,timestamp:A});const{onStart:P,onMove:D}=this.handlers;x||(P&&P(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),D&&D(this.lastMoveEvent,v)},this.handlePointerMove=(v,x)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=Yl(x,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(v,x)=>{this.end();const{onEnd:E,onSessionEnd:L,resumeAnimation:A}=this.handlers;if(this.dragSnapToOrigin&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=ql(v.type==="pointercancel"?this.lastMoveEventInfo:Yl(x,this.transformPagePoint),this.history);this.startEvent&&E&&E(v,P),L&&L(v,P)},!oc(r))return;this.dragSnapToOrigin=c,this.handlers=o,this.transformPagePoint=s,this.contextWindow=l||window;const f=Zi(r),h=Yl(f,this.transformPagePoint),{point:p}=h,{timestamp:m}=qe;this.history=[{...p,timestamp:m}];const{onSessionStart:g}=o;g&&g(r,ql(h,this.history)),this.removeListeners=Xi(Vi(this.contextWindow,"pointermove",this.handlePointerMove),Vi(this.contextWindow,"pointerup",this.handlePointerUp),Vi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Ln(this.updatePoint)}}function Yl(n,r){return r?{point:r(n.point)}:n}function np(n,r){return{x:n.x-r.x,y:n.y-r.y}}function ql({point:n},r){return{point:n,delta:np(n,Og(r)),offset:np(n,YS(r)),velocity:qS(r,.1)}}function YS(n){return n[0]}function Og(n){return n[n.length-1]}function qS(n,r){if(n.length<2)return{x:0,y:0};let o=n.length-1,s=null;const l=Og(n);for(;o>=0&&(s=n[o],!(l.timestamp-s.timestamp>on(r)));)o--;if(!s)return{x:0,y:0};const c=sn(l.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const f={x:(l.x-s.x)/c,y:(l.y-s.y)/c};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}const _g=1e-4,QS=1-_g,XS=1+_g,Vg=.01,ZS=0-Vg,JS=0+Vg;function wt(n){return n.max-n.min}function eT(n,r,o){return Math.abs(n-r)<=o}function rp(n,r,o,s=.5){n.origin=s,n.originPoint=Me(r.min,r.max,n.origin),n.scale=wt(o)/wt(r),n.translate=Me(o.min,o.max,n.origin)-n.originPoint,(n.scale>=QS&&n.scale<=XS||isNaN(n.scale))&&(n.scale=1),(n.translate>=ZS&&n.translate<=JS||isNaN(n.translate))&&(n.translate=0)}function Fi(n,r,o,s){rp(n.x,r.x,o.x,s?s.originX:void 0),rp(n.y,r.y,o.y,s?s.originY:void 0)}function ip(n,r,o){n.min=o.min+r.min,n.max=n.min+wt(r)}function tT(n,r,o){ip(n.x,r.x,o.x),ip(n.y,r.y,o.y)}function op(n,r,o){n.min=r.min-o.min,n.max=n.min+wt(r)}function Ii(n,r,o){op(n.x,r.x,o.x),op(n.y,r.y,o.y)}function nT(n,{min:r,max:o},s){return r!==void 0&&n<r?n=s?Me(r,n,s.min):Math.max(n,r):o!==void 0&&n>o&&(n=s?Me(o,n,s.max):Math.min(n,o)),n}function sp(n,r,o){return{min:r!==void 0?n.min+r:void 0,max:o!==void 0?n.max+o-(n.max-n.min):void 0}}function rT(n,{top:r,left:o,bottom:s,right:l}){return{x:sp(n.x,o,l),y:sp(n.y,r,s)}}function ap(n,r){let o=r.min-n.min,s=r.max-n.max;return r.max-r.min<n.max-n.min&&([o,s]=[s,o]),{min:o,max:s}}function iT(n,r){return{x:ap(n.x,r.x),y:ap(n.y,r.y)}}function oT(n,r){let o=.5;const s=wt(n),l=wt(r);return l>s?o=Dr(r.min,r.max-s,n.min):s>l&&(o=Dr(n.min,n.max-l,r.min)),ln(0,1,o)}function sT(n,r){const o={};return r.min!==void 0&&(o.min=r.min-n.min),r.max!==void 0&&(o.max=r.max-n.min),o}const Su=.35;function aT(n=Su){return n===!1?n=0:n===!0&&(n=Su),{x:lp(n,"left","right"),y:lp(n,"top","bottom")}}function lp(n,r,o){return{min:up(n,r),max:up(n,o)}}function up(n,r){return typeof n=="number"?n:n[r]||0}const cp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Nr=()=>({x:cp(),y:cp()}),fp=()=>({min:0,max:0}),Fe=()=>({x:fp(),y:fp()});function At(n){return[n("x"),n("y")]}function Fg({top:n,left:r,right:o,bottom:s}){return{x:{min:r,max:o},y:{min:n,max:s}}}function lT({x:n,y:r}){return{top:r.min,right:n.max,bottom:r.max,left:n.min}}function uT(n,r){if(!r)return n;const o=r({x:n.left,y:n.top}),s=r({x:n.right,y:n.bottom});return{top:o.y,left:o.x,bottom:s.y,right:s.x}}function Ql(n){return n===void 0||n===1}function Tu({scale:n,scaleX:r,scaleY:o}){return!Ql(n)||!Ql(r)||!Ql(o)}function qn(n){return Tu(n)||Ig(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function Ig(n){return dp(n.x)||dp(n.y)}function dp(n){return n&&n!=="0%"}function Ns(n,r,o){const s=n-o,l=r*s;return o+l}function hp(n,r,o,s,l){return l!==void 0&&(n=Ns(n,l,s)),Ns(n,o,s)+r}function Eu(n,r=0,o=1,s,l){n.min=hp(n.min,r,o,s,l),n.max=hp(n.max,r,o,s,l)}function bg(n,{x:r,y:o}){Eu(n.x,r.translate,r.scale,r.originPoint),Eu(n.y,o.translate,o.scale,o.originPoint)}const pp=.999999999999,mp=1.0000000000001;function cT(n,r,o,s=!1){const l=o.length;if(!l)return;r.x=r.y=1;let c,f;for(let h=0;h<l;h++){c=o[h],f=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Lr(n,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),f&&(r.x*=f.x.scale,r.y*=f.y.scale,bg(n,f)),s&&qn(c.latestValues)&&Lr(n,c.latestValues))}r.x<mp&&r.x>pp&&(r.x=1),r.y<mp&&r.y>pp&&(r.y=1)}function Mr(n,r){n.min=n.min+r,n.max=n.max+r}function gp(n,r,o,s,l=.5){const c=Me(n.min,n.max,l);Eu(n,r,o,c,s)}function Lr(n,r){gp(n.x,r.x,r.scaleX,r.scale,r.originX),gp(n.y,r.y,r.scaleY,r.scale,r.originY)}function zg(n,r){return Fg(uT(n.getBoundingClientRect(),r))}function fT(n,r,o){const s=zg(n,o),{scroll:l}=r;return l&&(Mr(s.x,l.offset.x),Mr(s.y,l.offset.y)),s}const Bg=({current:n})=>n?n.ownerDocument.defaultView:null,dT=new WeakMap;class hT{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=Fe(),this.visualElement=r}start(r,{snapToCursor:o=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const l=g=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(Zi(g).point)},c=(g,v)=>{const{drag:x,dragPropagation:E,onDragStart:L}=this.getProps();if(x&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ow(x),!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),At(P=>{let D=this.getAxisMotionValue(P).get()||0;if(Wt.test(D)){const{projection:O}=this.visualElement;if(O&&O.layout){const _=O.layout.layoutBox[P];_&&(D=wt(_)*(parseFloat(D)/100))}}this.originPoint[P]=D}),L&&Ee.postRender(()=>L(g,v)),hu(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},f=(g,v)=>{const{dragPropagation:x,dragDirectionLock:E,onDirectionLock:L,onDrag:A}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:P}=v;if(E&&this.currentDirection===null){this.currentDirection=pT(P),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",v.point,P),this.updateAxis("y",v.point,P),this.visualElement.render(),A&&A(g,v)},h=(g,v)=>this.stop(g,v),p=()=>At(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 Dg(r,{onSessionStart:l,onStart:c,onMove:f,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:Bg(this.visualElement)})}stop(r,o){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:l}=o;this.startAnimation(l);const{onDragEnd:c}=this.getProps();c&&Ee.postRender(()=>c(r,o))}cancel(){this.isDragging=!1;const{projection:r,animationState:o}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(r,o,s){const{drag:l}=this.getProps();if(!s||!ms(r,l,this.currentDirection))return;const c=this.getAxisMotionValue(r);let f=this.originPoint[r]+s[r];this.constraints&&this.constraints[r]&&(f=nT(f,this.constraints[r],this.elastic[r])),c.set(f)}resolveConstraints(){var r;const{dragConstraints:o,dragElastic:s}=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;o&&Rr(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&l?this.constraints=rT(l.layoutBox,o):this.constraints=!1,this.elastic=aT(s),c!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&At(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=sT(l.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:o}=this.getProps();if(!r||!Rr(r))return!1;const s=r.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=fT(s,l.root,this.visualElement.getTransformPagePoint());let f=iT(l.layout.layoutBox,c);if(o){const h=o(lT(f));this.hasMutatedConstraints=!!h,h&&(f=Fg(h))}return f}startAnimation(r){const{drag:o,dragMomentum:s,dragElastic:l,dragTransition:c,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=At(g=>{if(!ms(g,o,this.currentDirection))return;let v=p&&p[g]||{};f&&(v={min:0,max:0});const x=l?200:1e6,E=l?40:1e7,L={type:"inertia",velocity:s?r[g]:0,bounceStiffness:x,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(g,L)});return Promise.all(m).then(h)}startAxisValueAnimation(r,o){const s=this.getAxisMotionValue(r);return hu(this.visualElement,r),s.start(yc(r,s,0,o,this.visualElement,!1))}stopAnimation(){At(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){At(r=>{var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(r){var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(r){const o=`_drag${r.toUpperCase()}`,s=this.visualElement.getProps(),l=s[o];return l||this.visualElement.getValue(r,(s.initial?s.initial[r]:void 0)||0)}snapToCursor(r){At(o=>{const{drag:s}=this.getProps();if(!ms(o,s,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(o);if(l&&l.layout){const{min:f,max:h}=l.layout.layoutBox[o];c.set(r[o]-Me(f,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:o}=this.getProps(),{projection:s}=this.visualElement;if(!Rr(o)||!s||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};At(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const p=h.get();l[f]=oT({min:p,max:p},this.constraints[f])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),At(f=>{if(!ms(f,r,null))return;const h=this.getAxisMotionValue(f),{min:p,max:m}=this.constraints[f];h.set(Me(p,m,l[f]))})}addListeners(){if(!this.visualElement.current)return;dT.set(this.visualElement,this);const r=this.visualElement.current,o=Vi(r,"pointerdown",p=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(p)}),s=()=>{const{dragConstraints:p}=this.getProps();Rr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Ee.read(s);const f=Hi(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(At(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=p[g].translate,v.set(v.get()+p[g].translate))}),this.visualElement.render())}));return()=>{f(),o(),c(),h&&h()}}getProps(){const r=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:s=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:f=Su,dragMomentum:h=!0}=r;return{...r,drag:o,dragDirectionLock:s,dragPropagation:l,dragConstraints:c,dragElastic:f,dragMomentum:h}}}function ms(n,r,o){return(r===!0||r===n)&&(o===null||o===n)}function pT(n,r=10){let o=null;return Math.abs(n.y)>r?o="y":Math.abs(n.x)>r&&(o="x"),o}class mT extends Dn{constructor(r){super(r),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new hT(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xt}unmount(){this.removeGroupControls(),this.removeListeners()}}const yp=n=>(r,o)=>{n&&Ee.postRender(()=>n(r,o))};class gT extends Dn{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(r){this.session=new Dg(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bg(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:o,onPan:s,onPanEnd:l}=this.node.getProps();return{onSessionStart:yp(r),onStart:yp(o),onMove:s,onEnd:(c,f)=>{delete this.session,l&&Ee.postRender(()=>l(c,f))}}}mount(){this.removePointerDownListener=Vi(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 ws={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vp(n,r){return r.max===r.min?0:n/(r.max-r.min)*100}const Ai={correct:(n,r)=>{if(!r.target)return n;if(typeof n=="string")if(te.test(n))n=parseFloat(n);else return n;const o=vp(n,r.target.x),s=vp(n,r.target.y);return`${o}% ${s}%`}},yT={correct:(n,{treeScale:r,projectionDelta:o})=>{const s=n,l=jn.parse(n);if(l.length>5)return s;const c=jn.createTransformer(n),f=typeof l[0]!="number"?1:0,h=o.x.scale*r.x,p=o.y.scale*r.y;l[0+f]/=h,l[1+f]/=p;const m=Me(h,p,.5);return typeof l[2+f]=="number"&&(l[2+f]/=m),typeof l[3+f]=="number"&&(l[3+f]/=m),c(l)}};class vT extends C.Component{componentDidMount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:s,layoutId:l}=this.props,{projection:c}=r;I1(xT),c&&(o.group&&o.group.add(c),s&&s.register&&l&&s.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),ws.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:o,visualElement:s,drag:l,isPresent:c}=this.props,f=s.projection;return f&&(f.isPresent=c,l||r.layoutDependency!==o||o===void 0?f.willUpdate():this.safeToRemove(),r.isPresent!==c&&(c?f.promote():f.relegate()||Ee.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),Ku.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:s}=this.props,{projection:l}=r;l&&(l.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(l),s&&s.deregister&&s.deregister(l))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function Ug(n){const[r,o]=Cm(),s=C.useContext(Iu);return S.jsx(vT,{...n,layoutGroup:s,switchLayoutGroup:C.useContext(jm),isPresent:r,safeToRemove:o})}const xT={borderRadius:{...Ai,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ai,borderTopRightRadius:Ai,borderBottomLeftRadius:Ai,borderBottomRightRadius:Ai,boxShadow:yT};function wT(n,r,o){const s=nt(n)?n:Ui(n);return s.start(yc("",s,r,o)),s.animation}function ST(n){return n instanceof SVGElement&&n.tagName!=="svg"}const TT=(n,r)=>n.depth-r.depth;class ET{constructor(){this.children=[],this.isDirty=!1}add(r){sc(this.children,r),this.isDirty=!0}remove(r){ac(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(TT),this.isDirty=!1,this.children.forEach(r)}}function CT(n,r){const o=Kt.now(),s=({timestamp:l})=>{const c=l-o;c>=r&&(Ln(s),n(c-r))};return Ee.read(s,!0),()=>Ln(s)}const $g=["TopLeft","TopRight","BottomLeft","BottomRight"],kT=$g.length,xp=n=>typeof n=="string"?parseFloat(n):n,wp=n=>typeof n=="number"||te.test(n);function PT(n,r,o,s,l,c){l?(n.opacity=Me(0,o.opacity!==void 0?o.opacity:1,RT(s)),n.opacityExit=Me(r.opacity!==void 0?r.opacity:1,0,AT(s))):c&&(n.opacity=Me(r.opacity!==void 0?r.opacity:1,o.opacity!==void 0?o.opacity:1,s));for(let f=0;f<kT;f++){const h=`border${$g[f]}Radius`;let p=Sp(r,h),m=Sp(o,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||wp(p)===wp(m)?(n[h]=Math.max(Me(xp(p),xp(m),s),0),(Wt.test(m)||Wt.test(p))&&(n[h]+="%")):n[h]=m}(r.rotate||o.rotate)&&(n.rotate=Me(r.rotate||0,o.rotate||0,s))}function Sp(n,r){return n[r]!==void 0?n[r]:n.borderRadius}const RT=Hg(0,.5,lg),AT=Hg(.5,.95,xt);function Hg(n,r,o){return s=>s<n?0:s>r?1:o(Dr(n,r,s))}function Tp(n,r){n.min=r.min,n.max=r.max}function Rt(n,r){Tp(n.x,r.x),Tp(n.y,r.y)}function Ep(n,r){n.translate=r.translate,n.scale=r.scale,n.originPoint=r.originPoint,n.origin=r.origin}function Cp(n,r,o,s,l){return n-=r,n=Ns(n,1/o,s),l!==void 0&&(n=Ns(n,1/l,s)),n}function NT(n,r=0,o=1,s=.5,l,c=n,f=n){if(Wt.test(r)&&(r=parseFloat(r),r=Me(f.min,f.max,r/100)-f.min),typeof r!="number")return;let h=Me(c.min,c.max,s);n===c&&(h-=r),n.min=Cp(n.min,r,o,h,l),n.max=Cp(n.max,r,o,h,l)}function kp(n,r,[o,s,l],c,f){NT(n,r[o],r[s],r[l],r.scale,c,f)}const MT=["x","scaleX","originX"],LT=["y","scaleY","originY"];function Pp(n,r,o,s){kp(n.x,r,MT,o?o.x:void 0,s?s.x:void 0),kp(n.y,r,LT,o?o.y:void 0,s?s.y:void 0)}function Rp(n){return n.translate===0&&n.scale===1}function Wg(n){return Rp(n.x)&&Rp(n.y)}function Ap(n,r){return n.min===r.min&&n.max===r.max}function jT(n,r){return Ap(n.x,r.x)&&Ap(n.y,r.y)}function Np(n,r){return Math.round(n.min)===Math.round(r.min)&&Math.round(n.max)===Math.round(r.max)}function Kg(n,r){return Np(n.x,r.x)&&Np(n.y,r.y)}function Mp(n){return wt(n.x)/wt(n.y)}function Lp(n,r){return n.translate===r.translate&&n.scale===r.scale&&n.originPoint===r.originPoint}class DT{constructor(){this.members=[]}add(r){sc(this.members,r),r.scheduleRender()}remove(r){if(ac(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(r){const o=this.members.findIndex(l=>r===l);if(o===0)return!1;let s;for(let l=o;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(r,o){const s=this.lead;if(r!==s&&(this.prevLead=s,this.lead=r,r.show(),s)){s.instance&&s.scheduleRender(),r.scheduleRender(),r.resumeFrom=s,o&&(r.resumeFrom.preserveOpacity=!0),s.snapshot&&(r.snapshot=s.snapshot,r.snapshot.latestValues=s.animationValues||s.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:l}=r.options;l===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:o,resumingFrom:s}=r;o.onExitComplete&&o.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function OT(n,r,o){let s="";const l=n.x.translate/r.x,c=n.y.translate/r.y,f=o?.z||0;if((l||c||f)&&(s=`translate3d(${l}px, ${c}px, ${f}px) `),(r.x!==1||r.y!==1)&&(s+=`scale(${1/r.x}, ${1/r.y}) `),o){const{transformPerspective:m,rotate:g,rotateX:v,rotateY:x,skewX:E,skewY:L}=o;m&&(s=`perspective(${m}px) ${s}`),g&&(s+=`rotate(${g}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),E&&(s+=`skewX(${E}deg) `),L&&(s+=`skewY(${L}deg) `)}const h=n.x.scale*r.x,p=n.y.scale*r.y;return(h!==1||p!==1)&&(s+=`scale(${h}, ${p})`),s||"none"}const Qn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Di=typeof window<"u"&&window.MotionDebug!==void 0,Xl=["","X","Y","Z"],_T={visibility:"hidden"},jp=1e3;let VT=0;function Zl(n,r,o,s){const{latestValues:l}=r;l[n]&&(o[n]=l[n],r.setStaticValue(n,0),s&&(s[n]=0))}function Gg(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:r}=n.options;if(!r)return;const o=tg(r);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:l,layoutId:c}=n.options;window.MotionCancelOptimisedAnimation(o,"transform",Ee,!(l||c))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&Gg(s)}function Yg({attachResizeListener:n,defaultParent:r,measureScroll:o,checkIsScrollRoot:s,resetTransform:l}){return class{constructor(f={},h=r?.()){this.id=VT++,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,Di&&(Qn.totalNodes=Qn.resolvedTargetDeltas=Qn.recalculatedProjection=0),this.nodes.forEach(bT),this.nodes.forEach(HT),this.nodes.forEach(WT),this.nodes.forEach(zT),Di&&window.MotionDebug.record(Qn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,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 ET)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new lc),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const p=this.eventHandlers.get(f);p&&p.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ST(f),this.instance=f;const{layoutId:p,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(m||p)&&(this.isLayoutDirty=!0),n){let v;const x=()=>this.root.updateBlockedByResize=!1;n(f,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=CT(x,250),ws.hasAnimatedSinceResize&&(ws.hasAnimatedSinceResize=!1,this.nodes.forEach(Op))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||m)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeTargetChanged:E,layout:L})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||g.getDefaultTransition()||QT,{onLayoutAnimationStart:P,onLayoutAnimationComplete:D}=g.getProps(),O=!this.targetLayout||!Kg(this.targetLayout,L)||E,_=!x&&E;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||x&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,_);const $={...nc(A,"layout"),onPlay:P,onComplete:D};(g.shouldReduceMotion||this.options.layoutRoot)&&($.delay=0,$.type=!1),this.startAnimation($)}else x||Op(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=L})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ln(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(KT),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Gg(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(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Dp);return}this.isUpdating||this.nodes.forEach(UT),this.isUpdating=!1,this.nodes.forEach($T),this.nodes.forEach(FT),this.nodes.forEach(IT),this.clearAllSnapshots();const h=Kt.now();qe.delta=ln(0,1e3/60,h-qe.timestamp),qe.timestamp=h,qe.isProcessing=!0,Ul.update.process(qe),Ul.preRender.process(qe),Ul.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ku.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(BT),this.sharedNodes.forEach(GT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.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 f=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Fe(),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,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Wg(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;f&&(h||qn(this.latestValues)||g)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return f&&(p=this.removeTransform(p)),XT(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var f;const{visualElement:h}=this.options;if(!h)return Fe();const p=h.measureViewportBox();if(!(((f=this.scroll)===null||f===void 0?void 0:f.wasRoot)||this.path.some(ZT))){const{scroll:g}=this.root;g&&(Mr(p.x,g.offset.x),Mr(p.y,g.offset.y))}return p}removeElementScroll(f){var h;const p=Fe();if(Rt(p,f),!((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:x}=g;g!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&Rt(p,f),Mr(p.x,v.offset.x),Mr(p.y,v.offset.y))}return p}applyTransform(f,h=!1){const p=Fe();Rt(p,f);for(let m=0;m<this.path.length;m++){const g=this.path[m];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Lr(p,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),qn(g.latestValues)&&Lr(p,g.latestValues)}return qn(this.latestValues)&&Lr(p,this.latestValues),p}removeTransform(f){const h=Fe();Rt(h,f);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!qn(m.latestValues))continue;Tu(m.latestValues)&&m.updateSnapshot();const g=Fe(),v=m.measurePageBox();Rt(g,v),Pp(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return qn(this.latestValues)&&Pp(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==qe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!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(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!(!this.layout||!(v||x))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const E=this.getClosestProjectingParent();E&&E.layout&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Fe(),this.relativeTargetOrigin=Fe(),Ii(this.relativeTargetOrigin,this.layout.layoutBox,E.layout.layoutBox),Rt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Fe(),this.targetWithTransforms=Fe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Rt(this.target,this.layout.layoutBox),bg(this.target,this.targetDelta)):Rt(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=Fe(),this.relativeTargetOrigin=Fe(),Ii(this.relativeTargetOrigin,this.target,E.target),Rt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Di&&Qn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Tu(this.parent.latestValues)||Ig(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 f;const h=this.getLead(),p=!!this.resumingFrom||this!==h;let m=!0;if((this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty)&&(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===qe.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;Rt(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,E=this.treeScale.y;cT(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=Fe());const{target:L}=h;if(!L){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ep(this.prevProjectionDelta.x,this.projectionDelta.x),Ep(this.prevProjectionDelta.y,this.projectionDelta.y)),Fi(this.projectionDelta,this.layoutCorrected,L,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==E||!Lp(this.projectionDelta.x,this.prevProjectionDelta.x)||!Lp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",L)),Di&&Qn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),f){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Nr(),this.projectionDelta=Nr(),this.projectionDeltaWithTransform=Nr()}setAnimationOrigin(f,h=!1){const p=this.snapshot,m=p?p.latestValues:{},g={...this.latestValues},v=Nr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=Fe(),E=p?p.source:void 0,L=this.layout?this.layout.source:void 0,A=E!==L,P=this.getStack(),D=!P||P.members.length<=1,O=!!(A&&!D&&this.options.crossfade===!0&&!this.path.some(qT));this.animationProgress=0;let _;this.mixTargetDelta=$=>{const z=$/1e3;_p(v.x,f.x,z),_p(v.y,f.y,z),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ii(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),YT(this.relativeTarget,this.relativeTargetOrigin,x,z),_&&jT(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=Fe()),Rt(_,this.relativeTarget)),A&&(this.animationValues=g,PT(g,m,this.latestValues,z,O,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ln(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{ws.hasAnimatedSinceResize=!0,this.currentAnimation=wT(0,jp,{...f,onUpdate:h=>{this.mixTargetDelta(h),f.onUpdate&&f.onUpdate(h)},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:g}=f;if(!(!h||!p||!m)){if(this!==f&&this.layout&&m&&qg(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||Fe();const v=wt(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+v;const x=wt(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+x}Rt(h,p),Lr(h,g),Fi(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new DT),this.sharedNodes.get(f).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 f=this.getStack();return f?f.lead===this:!0}getLead(){var f;const{layoutId:h}=this.options;return h?((f=this.getStack())===null||f===void 0?void 0:f.lead)||this:this}getPrevLead(){var f;const{layoutId:h}=this.options;return h?(f=this.getStack())===null||f===void 0?void 0:f.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&Zl("z",f,m,this.animationValues);for(let g=0;g<Xl.length;g++)Zl(`rotate${Xl[g]}`,f,m,this.animationValues),Zl(`skew${Xl[g]}`,f,m,this.animationValues);f.render();for(const g in m)f.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);f.scheduleRender()}getProjectionStyles(f){var h,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return _T;const m={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=vs(f?.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none",m;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const A={};return this.options.layoutId&&(A.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,A.pointerEvents=vs(f?.pointerEvents)||""),this.hasProjected&&!qn(this.latestValues)&&(A.transform=g?g({},""):"none",this.hasProjected=!1),A}const x=v.animationValues||v.latestValues;this.applyTransformsToTarget(),m.transform=OT(this.projectionDeltaWithTransform,this.treeScale,x),g&&(m.transform=g(x,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=x.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:m.opacity=v===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const A in Cs){if(x[A]===void 0)continue;const{correct:P,applyTo:D}=Cs[A],O=m.transform==="none"?x[A]:P(x[A],v);if(D){const _=D.length;for(let $=0;$<_;$++)m[D[$]]=O}else m[A]=O}return this.options.layoutId&&(m.pointerEvents=v===this?vs(f?.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var h;return(h=f.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(Dp),this.root.sharedNodes.clear()}}}function FT(n){n.updateLayout()}function IT(n){var r;const o=((r=n.resumeFrom)===null||r===void 0?void 0:r.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&o&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:l}=n.layout,{animationType:c}=n.options,f=o.source!==n.layout.source;c==="size"?At(v=>{const x=f?o.measuredBox[v]:o.layoutBox[v],E=wt(x);x.min=s[v].min,x.max=x.min+E}):qg(c,o.layoutBox,s)&&At(v=>{const x=f?o.measuredBox[v]:o.layoutBox[v],E=wt(s[v]);x.max=x.min+E,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+E)});const h=Nr();Fi(h,s,o.layoutBox);const p=Nr();f?Fi(p,n.applyTransform(l,!0),o.measuredBox):Fi(p,s,o.layoutBox);const m=!Wg(h);let g=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:E}=v;if(x&&E){const L=Fe();Ii(L,o.layoutBox,x.layoutBox);const A=Fe();Ii(A,s,E.layoutBox),Kg(L,A)||(g=!0),v.options.layoutRoot&&(n.relativeTarget=A,n.relativeTargetOrigin=L,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:p,layoutDelta:h,hasLayoutChanged:m,hasRelativeTargetChanged:g})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function bT(n){Di&&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 zT(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function BT(n){n.clearSnapshot()}function Dp(n){n.clearMeasurements()}function UT(n){n.isLayoutDirty=!1}function $T(n){const{visualElement:r}=n.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),n.resetTransform()}function Op(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function HT(n){n.resolveTargetDelta()}function WT(n){n.calcProjection()}function KT(n){n.resetSkewAndRotation()}function GT(n){n.removeLeadSnapshot()}function _p(n,r,o){n.translate=Me(r.translate,0,o),n.scale=Me(r.scale,1,o),n.origin=r.origin,n.originPoint=r.originPoint}function Vp(n,r,o,s){n.min=Me(r.min,o.min,s),n.max=Me(r.max,o.max,s)}function YT(n,r,o,s){Vp(n.x,r.x,o.x,s),Vp(n.y,r.y,o.y,s)}function qT(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const QT={duration:.45,ease:[.4,0,.1,1]},Fp=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Ip=Fp("applewebkit/")&&!Fp("chrome/")?Math.round:xt;function bp(n){n.min=Ip(n.min),n.max=Ip(n.max)}function XT(n){bp(n.x),bp(n.y)}function qg(n,r,o){return n==="position"||n==="preserve-aspect"&&!eT(Mp(r),Mp(o),.2)}function ZT(n){var r;return n!==n.root&&((r=n.scroll)===null||r===void 0?void 0:r.wasRoot)}const JT=Yg({attachResizeListener:(n,r)=>Hi(n,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Jl={current:void 0},Qg=Yg({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Jl.current){const n=new JT({});n.mount(window),n.setOptions({layoutScroll:!0}),Jl.current=n}return Jl.current},resetTransform:(n,r)=>{n.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),eE={pan:{Feature:gT},drag:{Feature:mT,ProjectionNode:Qg,MeasureLayout:Ug}};function zp(n,r,o){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",o==="Start");const l="onHover"+o,c=s[l];c&&Ee.postRender(()=>c(r,Zi(r)))}class tE extends Dn{mount(){const{current:r}=this.node;r&&(this.unmount=ew(r,o=>(zp(this.node,o,"Start"),s=>zp(this.node,s,"End"))))}unmount(){}}class nE extends Dn{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=Xi(Hi(this.node.current,"focus",()=>this.onFocus()),Hi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Bp(n,r,o){const{props:s}=n;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",o==="Start");const l="onTap"+(o==="End"?"":o),c=s[l];c&&Ee.postRender(()=>c(r,Zi(r)))}class rE extends Dn{mount(){const{current:r}=this.node;r&&(this.unmount=iw(r,o=>(Bp(this.node,o,"Start"),(s,{success:l})=>Bp(this.node,s,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Cu=new WeakMap,eu=new WeakMap,iE=n=>{const r=Cu.get(n.target);r&&r(n)},oE=n=>{n.forEach(iE)};function sE({root:n,...r}){const o=n||document;eu.has(o)||eu.set(o,{});const s=eu.get(o),l=JSON.stringify(r);return s[l]||(s[l]=new IntersectionObserver(oE,{root:n,...r})),s[l]}function aE(n,r,o){const s=sE(r);return Cu.set(n,o),s.observe(n),()=>{Cu.delete(n),s.unobserve(n)}}const lE={some:0,all:1};class uE extends Dn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:o,margin:s,amount:l="some",once:c}=r,f={root:o?o.current:void 0,rootMargin:s,threshold:typeof l=="number"?l:lE[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(),x=m?g:v;x&&x(p)};return aE(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:o}=this.node;["amount","margin","root"].some(cE(r,o))&&this.startObserver()}unmount(){}}function cE({viewport:n={}},{viewport:r={}}={}){return o=>n[o]!==r[o]}const fE={inView:{Feature:uE},tap:{Feature:rE},focus:{Feature:nE},hover:{Feature:tE}},dE={layout:{ProjectionNode:Qg,MeasureLayout:Ug}},ku={current:null},Xg={current:!1};function hE(){if(Xg.current=!0,!!Bu)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),r=()=>ku.current=n.matches;n.addListener(r),r()}else ku.current=!1}const pE=[...Tg,tt,jn],mE=n=>pE.find(Sg(n)),Up=new WeakMap;function gE(n,r,o){for(const s in r){const l=r[s],c=o[s];if(nt(l))n.addValue(s,l);else if(nt(c))n.addValue(s,Ui(l,{owner:n}));else if(c!==l)if(n.hasValue(s)){const f=n.getValue(s);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=n.getStaticValue(s);n.addValue(s,Ui(f!==void 0?f:l,{owner:n}))}}for(const s in o)r[s]===void 0&&n.removeValue(s);return r}const $p=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class yE{scrapeMotionValuesFromProps(r,o,s){return{}}constructor({parent:r,props:o,presenceContext:s,reducedMotionConfig:l,blockInitialAnimation:c,visualState:f},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=pc,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=Kt.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Ee.render(this.render,!1,!0))};const{latestValues:p,renderState:m,onUpdate:g}=f;this.onUpdate=g,this.latestValues=p,this.baseTarget={...p},this.initialValues=o.initial?{...p}:{},this.renderState=m,this.parent=r,this.props=o,this.presenceContext=s,this.depth=r?r.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Is(o),this.isVariantNode=Mm(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(o,{},this);for(const E in x){const L=x[E];p[E]!==void 0&&nt(L)&&L.set(p[E],!1)}}mount(r){this.current=r,Up.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((o,s)=>this.bindToMotionValue(s,o)),Xg.current||hE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ku.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Up.delete(this.current),this.projection&&this.projection.unmount(),Ln(this.notifyUpdate),Ln(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 o=this.features[r];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(r,o){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const s=er.has(r),l=o.on("change",h=>{this.latestValues[r]=h,this.props.onUpdate&&Ee.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),c=o.on("renderRequest",this.scheduleRender);let f;window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,r,o)),this.valueSubscriptions.set(r,()=>{l(),c(),f&&f(),o.owner&&o.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 Or){const o=Or[r];if(!o)continue;const{isEnabled:s,Feature:l}=o;if(!this.features[r]&&l&&s(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):Fe()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,o){this.latestValues[r]=o}update(r,o){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let s=0;s<$p.length;s++){const l=$p[s];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,f=r[c];f&&(this.propEventSubscriptions[l]=this.on(l,f))}this.prevMotionValues=gE(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}addVariantChild(r){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(r),()=>o.variantChildren.delete(r)}addValue(r,o){const s=this.values.get(r);o!==s&&(s&&this.removeValue(r),this.bindToMotionValue(r,o),this.values.set(r,o),this.latestValues[r]=o.get())}removeValue(r){this.values.delete(r);const o=this.valueSubscriptions.get(r);o&&(o(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,o){if(this.props.values&&this.props.values[r])return this.props.values[r];let s=this.values.get(r);return s===void 0&&o!==void 0&&(s=Ui(o===null?void 0:o,{owner:this}),this.addValue(r,s)),s}readValue(r,o){var s;let l=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(s=this.getBaseTargetFromProps(this.props,r))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,r,this.options);return l!=null&&(typeof l=="string"&&(xg(l)||cg(l))?l=parseFloat(l):!mE(l)&&jn.test(o)&&(l=gg(r,o)),this.setBaseTarget(r,nt(l)?l.get():l)),nt(l)?l.get():l}setBaseTarget(r,o){this.baseTarget[r]=o}getBaseTarget(r){var o;const{initial:s}=this.props;let l;if(typeof s=="string"||typeof s=="object"){const f=Yu(this.props,s,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);f&&(l=f[r])}if(s&&l!==void 0)return l;const c=this.getBaseTargetFromProps(this.props,r);return c!==void 0&&!nt(c)?c:this.initialValues[r]!==void 0&&l===void 0?void 0:this.baseTarget[r]}on(r,o){return this.events[r]||(this.events[r]=new lc),this.events[r].add(o)}notify(r,...o){this.events[r]&&this.events[r].notify(...o)}}class Zg extends yE{constructor(){super(...arguments),this.KeyframeResolver=Eg}sortInstanceNodePosition(r,o){return r.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(r,o){return r.style?r.style[o]:void 0}removeValueFromRenderState(r,{vars:o,style:s}){delete o[r],delete s[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;nt(r)&&(this.childSubscription=r.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}function vE(n){return window.getComputedStyle(n)}class xE extends Zg{constructor(){super(...arguments),this.type="html",this.renderInstance=bm}readValueFromInstance(r,o){if(er.has(o)){const s=hc(o);return s&&s.default||0}else{const s=vE(r),l=(Vm(o)?s.getPropertyValue(o):s[o])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(r,{transformPagePoint:o}){return zg(r,o)}build(r,o,s){Xu(r,o,s.transformTemplate)}scrapeMotionValuesFromProps(r,o,s){return tc(r,o,s)}}class wE extends Zg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Fe}getBaseTargetFromProps(r,o){return r[o]}readValueFromInstance(r,o){if(er.has(o)){const s=hc(o);return s&&s.default||0}return o=zm.has(o)?o:Wu(o),r.getAttribute(o)}scrapeMotionValuesFromProps(r,o,s){return $m(r,o,s)}build(r,o,s){Zu(r,o,this.isSVGTag,s.transformTemplate)}renderInstance(r,o,s,l){Bm(r,o,s,l)}mount(r){this.isSVGTag=ec(r.tagName),super.mount(r)}}const SE=(n,r)=>Gu(n)?new wE(r):new xE(r,{allowProjection:n!==C.Fragment}),TE=G1({...WS,...fE,...eE,...dE},SE),pe=l1(TE);const EE=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jg=(...n)=>n.filter((r,o,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===o).join(" ").trim();var CE={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 kE=C.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:f,...h},p)=>C.createElement("svg",{ref:p,...CE,width:r,height:r,stroke:n,strokeWidth:s?Number(o)*24/Number(r):o,className:Jg("lucide",l),...h},[...f.map(([m,g])=>C.createElement(m,g)),...Array.isArray(c)?c:[c]]));const Oe=(n,r)=>{const o=C.forwardRef(({className:s,...l},c)=>C.createElement(kE,{ref:c,iconNode:r,className:Jg(`lucide-${EE(n)}`,s),...l}));return o.displayName=`${n}`,o};const PE=Oe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const RE=Oe("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);const Mn=Oe("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);const AE=Oe("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ey=Oe("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);const NE=Oe("FileSearch",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]]);const ty=Oe("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);const ME=Oe("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);const LE=Oe("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const jE=Oe("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 DE=Oe("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const OE=Oe("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]);const _E=Oe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const VE=Oe("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);const ny=Oe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const ry=Oe("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const FE=Oe("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const IE=Oe("Tags",[["path",{d:"m15 5 6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19",key:"1cbfv1"}],["path",{d:"M9.586 5.586A2 2 0 0 0 8.172 5H3a1 1 0 0 0-1 1v5.172a2 2 0 0 0 .586 1.414L8.29 18.29a2.426 2.426 0 0 0 3.42 0l3.58-3.58a2.426 2.426 0 0 0 0-3.42z",key:"135mg7"}],["circle",{cx:"6.5",cy:"9.5",r:".5",fill:"currentColor",key:"5pm5xn"}]]);const bE=Oe("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);const iy=Oe("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);const zE=Oe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
18],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const BE=Oe("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Hp=[{label:"Overview",href:"#overview"},{label:"SEO Console",href:"#seo-console"},{label:"Meta Console",href:"#meta-console"},{label:"How it works",href:"#how"},{label:"FAQ",href:"#faq"}];function UE({onNavigate:n}){const[r,o]=C.useState(!1),[s,l]=C.useState(!1);C.useEffect(()=>{const f=()=>l(window.scrollY>24);return f(),window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]);const c=(f,h)=>{f.preventDefault(),o(!1),n(h)};return S.jsxs("header",{className:`fixed top-0 inset-x-0 z-50 transition-all duration-300 ${s?"bg-background/80 backdrop-blur-xl border-b border-border":"bg-transparent"}`,children:[S.jsxs("nav",{className:"mx-auto max-w-[80rem] px-5 sm:px-8 h-16 flex items-center justify-between",children:[S.jsxs("a",{href:"#overview",onClick:f=>c(f,"#overview"),className:"flex items-center gap-2.5 group",children:[S.jsx("span",{className:"relative grid place-items-center h-9 w-9 rounded-xl bg-gradient-to-br from-primary to-accent shadow-lg shadow-primary/30",children:S.jsx(VE,{className:"h-5 w-5 text-white",strokeWidth:2.5})}),S.jsxs("span",{className:"font-display font-700 text-lg tracking-tight",children:["Gyan ",S.jsx("span",{className:"text-primary",children:"Console"})]})]}),S.jsx("div",{className:"hidden md:flex items-center gap-1",children:Hp.map(f=>S.jsx("a",{href:f.href,onClick:h=>c(h,f.href),className:"px-3.5 py-2 text-sm text-muted-foreground hover:text-foreground rounded-lg transition-colors",children:f.label},f.href))}),S.jsx("div",{className:"hidden md:flex items-center gap-3",children:S.jsxs("a",{href:"#overview",onClick:f=>c(f,"#install"),className:"inline-flex items-center gap-2 rounded-full bg-primary px-4 py-2 text-sm font-600 text-primary-foreground shadow-lg shadow-primary/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-4 w-4"}),"Add to Chrome"]})}),S.jsx("button",{className:"md:hidden grid place-items-center h-10 w-10 rounded-lg text-foreground",onClick:()=>o(f=>!f),"aria-label":"Toggle menu",children:r?S.jsx(zE,{className:"h-5 w-5"}):S.jsx(jE,{className:"h-5 w-5"})})]}),S.jsx(e1,{children:r&&S.jsx(pe.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25,ease:"easeOut"},className:"md:hidden overflow-hidden border-t border-border bg-background/95 backdrop-blur-xl",children:S.jsxs("div",{className:"px-5 py-4 flex flex-col gap-1",children:[Hp.map(f=>S.jsx("a",{href:f.href,onClick:h=>c(h,f.href),className:"px-3 py-3 rounded-lg text-base text-muted-foreground hover:text-foreground hover:bg-secondary transition-colors",children:f.label},f.href)),S.jsxs("a",{href:"#install",onClick:f=>c(f,"#install"),className:"mt-2 inline-flex items-center justify-center gap-2 rounded-full bg-primary px-4 py-3 text-sm font-600 text-primary-foreground",children:[S.jsx(Mn,{className:"h-4 w-4"}),"Add to Chrome"]})]})})})]})}function $E({onNavigate:n}){const r=new Date().getFullYear(),o=(s,l)=>{s.preventDefault(),n(l)};return S.jsx("footer",{className:"border-t border-border bg-card/40",children:S.jsxs("div",{className:"mx-auto max-w-[80rem] px-5 sm:px-8 py-14",children:[S.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-8",children:[S.jsxs("div",{className:"max-w-sm",children:[S.jsxs("div",{className:"flex items-center gap-2.5",children:[S.jsx("span",{className:"grid place-items-center h-8 w-8 rounded-lg bg-gradient-to-br from-primary to-accent",children:S.jsx(ny,{className:"h-4 w-4 text-white",strokeWidth:2.5})}),S.jsxs("span",{className:"font-display font-700 text-lg",children:["Gyan ",S.jsx("span",{className:"text-primary",children:"Console"})]})]}),S.jsx("p",{className:"mt-4 text-sm text-muted-foreground leading-relaxed",children:"The browser extension that unifies technical SEO auditing and social meta analytics in one clean panel."})]}),S.jsxs("div",{className:"flex flex-wrap gap-x-14 gap-y-8",children:[S.jsxs("div",{children:[S.jsx("p",{className:"text-xs font-600 uppercase tracking-wider text-muted-foreground",children:"Product"}),S.jsxs("ul",{className:"mt-4 space-y-3 text-sm",children:[S.jsx("li",{children:S.jsx("a",{href:"#seo-console",onClick:s=>
18o(s,"#seo-console"),className:"text-foreground/80 hover:text-primary transition-colors",children:"SEO Console"})}),S.jsx("li",{children:S.jsx("a",{href:"#meta-console",onClick:s=>o(s,"#meta-console"),className:"text-foreground/80 hover:text-primary transition-colors",children:"Meta Console"})}),S.jsx("li",{children:S.jsx("a",{href:"#how",onClick:s=>o(s,"#how"),className:"text-foreground/80 hover:text-primary transition-colors",children:"How it works"})})]})]}),S.jsxs("div",{children:[S.jsx("p",{className:"text-xs font-600 uppercase tracking-wider text-muted-foreground",children:"Company"}),S.jsxs("ul",{className:"mt-4 space-y-3 text-sm",children:[S.jsx("li",{children:S.jsx("a",{href:"#faq",onClick:s=>o(s,"#faq"),className:"text-foreground/80 hover:text-primary transition-colors",children:"FAQ"})}),S.jsx("li",{children:S.jsx("a",{href:"#privacy",onClick:s=>o(s,"#privacy"),className:"text-foreground/80 hover:text-primary transition-colors",children:"Privacy Policy"})}),S.jsx("li",{children:S.jsx("a",{href:"mailto:[email protected]",className:"text-foreground/80 hover:text-primary transition-colors",children:"Contact"})})]})]})]})]}),S.jsxs("div",{className:"mt-12 pt-6 border-t border-border flex flex-col sm:flex-row justify-between items-center gap-4 text-xs text-muted-foreground",children:[S.jsxs("p",{children:["© ",r," Gyan Console. All rights reserved."]}),S.jsx("p",{children:"Not affiliated with Google, Meta, Instagram or Facebook."})]})]})})}var tu={exports:{}},nu,Wp;function HE(){if(Wp)return nu;Wp=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return nu=n,nu}var ru,Kp;function WE(){if(Kp)return ru;Kp=1;var n=HE();function r(){}function o(){}return o.resetWarningCache=r,ru=function(){function s(f,h,p,m,g,v){if(v!==n){var x=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 x.name="Invariant Violation",x}}s.isRequired=s;function l(){return s}var c={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:l,element:s,elementType:s,instanceOf:l,node:s,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:o,resetWarningCache:r};return c.PropTypes=c,c},ru}var Gp;function KE(){return Gp||(Gp=1,tu.exports=WE()()),tu.exports}var GE=KE();const Pe=Vr(GE);var iu,Yp;function YE(){if(Yp)return iu;Yp=1;function n(h){return h&&typeof h=="object"&&"default"in h?h.default:h}var r=Ls(),o=n(r);function s(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 f(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(x){if(typeof x!="function")throw new Error("Expected WrappedComponent to be a React component.");var E=[],L;function A(){L=h(E.map(function(D){return D.props})),P.canUseDOM?p(L):m&&(L=m(L))}var P=(function(D){l(O,D);function O(){return D.apply(this,arguments)||this}O.peek=function(){return L},O.rewind=function(){if(O.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var z=L;return L=void 0,E=[],z};var _=O.prototype;return _.UNSAFE_componentWillMount=function(){E.push(this),A()},_.componentDidUpdate=function(){A()},_.componentWillUnmount=function(){var z=E.indexOf(this);E.splice(z,1),A()},_.render=function(){return o.createElement(x,this.props)},O})(r.PureComponent);return s(P,"displayName","SideEffect("+g(x)+")"),s(P,"canUseDOM",c),P}}return iu=f,iu}var qE=YE();const QE=Vr(qE);var ou,qp;function XE(){if(qp)return ou;qp=1;var n=typeof Element<"u",r=typeof Map=="function",o=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;
18if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var h,p,m;if(Array.isArray(c)){if(h=c.length,h!=f.length)return!1;for(p=h;p--!==0;)if(!l(c[p],f[p]))return!1;return!0}var g;if(r&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(g=c.entries();!(p=g.next()).done;)if(!f.has(p.value[0]))return!1;for(g=c.entries();!(p=g.next()).done;)if(!l(p.value[1],f.get(p.value[0])))return!1;return!0}if(o&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(g=c.entries();!(p=g.next()).done;)if(!f.has(p.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(h=c.length,h!=f.length)return!1;for(p=h;p--!==0;)if(c[p]!==f[p])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(m=Object.keys(c),h=m.length,h!==Object.keys(f).length)return!1;for(p=h;p--!==0;)if(!Object.prototype.hasOwnProperty.call(f,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]],f[m[p]]))return!1;return!0}return c!==c&&f!==f}return ou=function(f,h){try{return l(f,h)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},ou}var ZE=XE();const JE=Vr(ZE);var su,Qp;function eC(){if(Qp)return su;Qp=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(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 f={},h=0;h<10;h++)f["_"+String.fromCharCode(h)]=h;var p=Object.getOwnPropertyNames(f).map(function(g){return f[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 su=l()?Object.assign:function(c,f){for(var h,p=s(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 x=0;x<m.length;x++)o.call(h,m[x])&&(p[m[x]]=h[m[x]])}}return p},su}var tC=eC();const nC=Vr(tC);var Jn={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},ie={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(ie).map(function(n){return ie[n]});var Re={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"},Ms={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Wi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},rC=Object.keys(Ms).reduce(function(n,r){return n[Ms[r]]=r,n},{}),iC=[ie.NOSCRIPT,ie.SCRIPT,ie.STYLE],It="data-react-helmet",oC=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},sC=function(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")},aC=(function(){function n(r,o){for(var s=0;s<o.length;s++){var l=o[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,o,s){return o&&n(r.prototype,o),s&&n(r,s),r}})(),ht=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n},lC=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)},Xp=function(n,r){var o={};for(var s in n)r.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(n,s)&&(o[s]=n[s]);return o},uC=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},Pu=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return o===!1?String(r):String(r).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},cC=function(r){var o=jr(r,ie.TITLE),s=jr(r,Wi.TITLE_TEMPLATE);if(s&&o)return s.replace(/%s/g,function(){return Array.isArray(o)?o.join(""):o});var l=jr(r,Wi.DEFAULT_TITLE);return o||l||void 0},fC=function(r){return jr(r,Wi.ON_CHANGE_CLIENT_STATE)||function(){}},au=function(r,o){return o.filter(function(s){return typeof s[r]<"u"}).map(function(s){return s[r]}).reduce(function(s,l){return ht({},s,l)},{})},dC=function(r,o){return o.filter(function(s){return typeof s[ie.BASE]<"u"}).map(function(s){return s[ie.BASE]}).reverse().reduce(function(s,l){if(!s.length)for(var c=Object.keys(l),f=0;f<c.length;f++){var h=c[f],p=h.toLowerCase();if(r.indexOf(p)!==-1&&l[p])return s.concat(l)}return s},[])},Ni=function(r,o,s){var l={};return s.filter(function(c){return Array.isArray(c[r])?!0:(typeof c[r]<"u"&&gC("Helmet: "+r+' should be of type "Array". Instead found type "'+oC(c[r])+'"'),!1)}).map(function(c){return c[r]}).reverse().reduce(function(c,f){var h={};f.filter(function(x){for(var E=void 0,L=Object.keys(x),A=0;A<L.length;A++){var P=L[A],D=P.toLowerCase();o.indexOf(D)!==-1&&!(E===Re.REL&&x[E].toLowerCase()==="canonical")&&!(D===Re.REL&&x[D].toLowerCase()==="stylesheet")&&(E=D),o.indexOf(P)!==-1&&(P===Re.INNER_HTML||P===Re.CSS_TEXT||P===Re.ITEM_PROP)&&(E=P)}if(!E||!x[E])return!1;var O=x[E].toLowerCase();return l[E]||(l[E]={}),h[E]||(h[E]={}),l[E][O]?!1:(h[E][O]=!0,!0)}
18).reverse().forEach(function(x){return c.push(x)});for(var p=Object.keys(h),m=0;m<p.length;m++){var g=p[m],v=nC({},l[g],h[g]);l[g]=v}return c},[]).reverse()},jr=function(r,o){for(var s=r.length-1;s>=0;s--){var l=r[s];if(l.hasOwnProperty(o))return l[o]}return null},hC=function(r){return{baseTag:dC([Re.HREF,Re.TARGET],r),bodyAttributes:au(Jn.BODY,r),defer:jr(r,Wi.DEFER),encode:jr(r,Wi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:au(Jn.HTML,r),linkTags:Ni(ie.LINK,[Re.REL,Re.HREF],r),metaTags:Ni(ie.META,[Re.NAME,Re.CHARSET,Re.HTTPEQUIV,Re.PROPERTY,Re.ITEM_PROP],r),noscriptTags:Ni(ie.NOSCRIPT,[Re.INNER_HTML],r),onChangeClientState:fC(r),scriptTags:Ni(ie.SCRIPT,[Re.SRC,Re.INNER_HTML],r),styleTags:Ni(ie.STYLE,[Re.CSS_TEXT],r),title:cC(r),titleAttributes:au(Jn.TITLE,r)}},Ru=(function(){var n=Date.now();return function(r){var o=Date.now();o-n>16?(n=o,r(o)):setTimeout(function(){Ru(r)},0)}})(),Zp=function(r){return clearTimeout(r)},pC=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Ru:global.requestAnimationFrame||Ru,mC=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Zp:global.cancelAnimationFrame||Zp,gC=function(r){return console&&typeof console.warn=="function"&&console.warn(r)},Mi=null,yC=function(r){Mi&&mC(Mi),r.defer?Mi=pC(function(){Jp(r,function(){Mi=null})}):(Jp(r),Mi=null)},Jp=function(r,o){var s=r.baseTag,l=r.bodyAttributes,c=r.htmlAttributes,f=r.linkTags,h=r.metaTags,p=r.noscriptTags,m=r.onChangeClientState,g=r.scriptTags,v=r.styleTags,x=r.title,E=r.titleAttributes;Au(ie.BODY,l),Au(ie.HTML,c),vC(x,E);var L={baseTag:Pr(ie.BASE,s),linkTags:Pr(ie.LINK,f),metaTags:Pr(ie.META,h),noscriptTags:Pr(ie.NOSCRIPT,p),scriptTags:Pr(ie.SCRIPT,g),styleTags:Pr(ie.STYLE,v)},A={},P={};Object.keys(L).forEach(function(D){var O=L[D],_=O.newTags,$=O.oldTags;_.length&&(A[D]=_),$.length&&(P[D]=L[D].oldTags)}),o&&o(),m(r,A,P)},oy=function(r){return Array.isArray(r)?r.join(""):r},vC=function(r,o){typeof r<"u"&&document.title!==r&&(document.title=oy(r)),Au(ie.TITLE,o)},Au=function(r,o){var s=document.getElementsByTagName(r)[0];if(s){for(var l=s.getAttribute(It),c=l?l.split(","):[],f=[].concat(c),h=Object.keys(o),p=0;p<h.length;p++){var m=h[p],g=o[m]||"";s.getAttribute(m)!==g&&s.setAttribute(m,g),c.indexOf(m)===-1&&c.push(m);var v=f.indexOf(m);v!==-1&&f.splice(v,1)}for(var x=f.length-1;x>=0;x--)s.removeAttribute(f[x]);c.length===f.length?s.removeAttribute(It):s.getAttribute(It)!==h.join(",")&&s.setAttribute(It,h.join(","))}},Pr=function(r,o){var s=document.head||document.querySelector(ie.HEAD),l=s.querySelectorAll(r+"["+It+"]"),c=Array.prototype.slice.call(l),f=[],h=void 0;return o&&o.length&&o.forEach(function(p){var m=document.createElement(r);for(var g in p)if(p.hasOwnProperty(g))if(g===Re.INNER_HTML)m.innerHTML=p.innerHTML;else if(g===Re.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(It,"true"),c.some(function(x,E){return h=E,m.isEqualNode(x)})?c.splice(h,1):f.push(m)}),c.forEach(function(p){return p.parentNode.removeChild(p)}),f.forEach(function(p){return s.appendChild(p)}),{oldTags:c,newTags:f}},sy=function(r){return Object.keys(r).reduce(function(o,s){var l=typeof r[s]<"u"?s+'="'+r[s]+'"':""+s;return o?o+" "+l:l},"")},xC=function(r,o,s,l){var c=sy(s),f=oy(o);return c?"<"+r+" "+It+'="true" '+c+">"+Pu(f,l)+"</"+r+">":"<"+r+" "+It+'="true">'+Pu(f,l)+"</"+r+">"},wC=function(r,o,s){return o.reduce(function(l,c){var f=Object.keys(c).filter(function(m){return!(m===Re.INNER_HTML||m===Re.CSS_TEXT)}).reduce(function(m,g){var v=typeof c[g]>"u"?g:g+'="'+Pu(c[g],s)+'"';return m?m+" "+v:v},""),h=c.innerHTML||c.cssText||"",p=iC.indexOf(r)===-1;return l+"<"+r+" "+It+'="true" '+f+(p?"/>":">"+h+"</"+r+">")},"")},ay=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(s,l){return s[Ms[l]||l]=r[l],s},o)},SC=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(s,l){return s[rC[l]||l]=r[l],s},o)},TC=function(r,o,s){var l,c=(l={key:o},l[It]=!0,l),f=ay(s,c);return[Oi.createElement(ie.TITLE,f,o)]},EC=function(r,o){return o.map(function(s,l){var c,f=(c={key:l},c[It]=!0,c);
18return Object.keys(s).forEach(function(h){var p=Ms[h]||h;if(p===Re.INNER_HTML||p===Re.CSS_TEXT){var m=s.innerHTML||s.cssText;f.dangerouslySetInnerHTML={__html:m}}else f[p]=s[h]}),Oi.createElement(r,f)})},rn=function(r,o,s){switch(r){case ie.TITLE:return{toComponent:function(){return TC(r,o.title,o.titleAttributes)},toString:function(){return xC(r,o.title,o.titleAttributes,s)}};case Jn.BODY:case Jn.HTML:return{toComponent:function(){return ay(o)},toString:function(){return sy(o)}};default:return{toComponent:function(){return EC(r,o)},toString:function(){return wC(r,o,s)}}}},ly=function(r){var o=r.baseTag,s=r.bodyAttributes,l=r.encode,c=r.htmlAttributes,f=r.linkTags,h=r.metaTags,p=r.noscriptTags,m=r.scriptTags,g=r.styleTags,v=r.title,x=v===void 0?"":v,E=r.titleAttributes;return{base:rn(ie.BASE,o,l),bodyAttributes:rn(Jn.BODY,s,l),htmlAttributes:rn(Jn.HTML,c,l),link:rn(ie.LINK,f,l),meta:rn(ie.META,h,l),noscript:rn(ie.NOSCRIPT,p,l),script:rn(ie.SCRIPT,m,l),style:rn(ie.STYLE,g,l),title:rn(ie.TITLE,{title:x,titleAttributes:E},l)}},CC=function(r){var o,s;return s=o=(function(l){lC(c,l);function c(){return sC(this,c),uC(this,l.apply(this,arguments))}return c.prototype.shouldComponentUpdate=function(h){return!JE(this.props,h)},c.prototype.mapNestedChildrenToProps=function(h,p){if(!p)return null;switch(h.type){case ie.SCRIPT:case ie.NOSCRIPT:return{innerHTML:p};case ie.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,x=h.nestedChildren;return ht({},g,(p={},p[m.type]=[].concat(g[m.type]||[],[ht({},v,this.mapNestedChildrenToProps(m,x))]),p))},c.prototype.mapObjectTypeChildren=function(h){var p,m,g=h.child,v=h.newProps,x=h.newChildProps,E=h.nestedChildren;switch(g.type){case ie.TITLE:return ht({},v,(p={},p[g.type]=E,p.titleAttributes=ht({},x),p));case ie.BODY:return ht({},v,{bodyAttributes:ht({},x)});case ie.HTML:return ht({},v,{htmlAttributes:ht({},x)})}return ht({},v,(m={},m[g.type]=ht({},x),m))},c.prototype.mapArrayTypeChildrenToProps=function(h,p){var m=ht({},p);return Object.keys(h).forEach(function(g){var v;m=ht({},m,(v={},v[g]=h[g],v))}),m}
18,c.prototype.warnOnInvalidChildren=function(h,p){return!0},c.prototype.mapChildrenToProps=function(h,p){var m=this,g={};return Oi.Children.forEach(h,function(v){if(!(!v||!v.props)){var x=v.props,E=x.children,L=Xp(x,["children"]),A=SC(L);switch(m.warnOnInvalidChildren(v,E),v.type){case ie.LINK:case ie.META:case ie.NOSCRIPT:case ie.SCRIPT:case ie.STYLE:g=m.flattenArrayTypeChildren({child:v,arrayTypeChildren:g,newChildProps:A,nestedChildren:E});break;default:p=m.mapObjectTypeChildren({child:v,newProps:p,newChildProps:A,nestedChildren:E});break}}}),p=this.mapArrayTypeChildrenToProps(g,p),p},c.prototype.render=function(){var h=this.props,p=h.children,m=Xp(h,["children"]),g=ht({},m);return p&&(g=this.mapChildrenToProps(p,g)),Oi.createElement(r,g)},aC(c,null,[{key:"canUseDOM",set:function(h){r.canUseDOM=h}}]),c})(Oi.Component),o.propTypes={base:Pe.object,bodyAttributes:Pe.object,children:Pe.oneOfType([Pe.arrayOf(Pe.node),Pe.node]),defaultTitle:Pe.string,defer:Pe.bool,encodeSpecialCharacters:Pe.bool,htmlAttributes:Pe.object,link:Pe.arrayOf(Pe.object),meta:Pe.arrayOf(Pe.object),noscript:Pe.arrayOf(Pe.object),onChangeClientState:Pe.func,script:Pe.arrayOf(Pe.object),style:Pe.arrayOf(Pe.object),title:Pe.string,titleAttributes:Pe.object,titleTemplate:Pe.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=r.peek,o.rewind=function(){var l=r.rewind();return l||(l=ly({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),l},s},kC=function(){return null},PC=QE(hC,yC,ly)(kC),Nu=CC(PC);Nu.renderStatic=Nu.rewind;const RC="https://images.hostinger.com/a7d19084-c511-400a-b5ba-d54b0913495e.png",AC="https://images.hostinger.com/3f4f2111-c183-4cb5-bd3a-460391f1d67f.png",NC="https://images.hostinger.com/4f25e339-a2cf-45b5-91e2-290d3f55fe22.png",we={initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:"easeOut"}},em=["Meta Tags","Core Web Vitals","Pixel Tracking","Schema","Backlinks","Post Insights","Keywords","Open Graph","Follower Growth","Sitemaps"],MC=[{icon:IE,title:"Meta & Open Graph audit",desc:"Instantly inspect titles, descriptions, canonical tags, and social previews on any page."},{icon:ty,title:"Core Web Vitals",desc:"Live LCP, CLS, and INP readings with pass/fail scoring against Google thresholds."},{icon:NE,title:"On, page analysis",desc:"Heading structure, word count, image alt coverage, and structured data validation."},{icon:LE,title:"Link intelligence",desc:"Internal vs external link maps, nofollow flags, and broken, link detection at a glance."}],LC=[{icon:bE,title:"Pixel tracking detection",desc:"Detect and inspect Meta Pixels firing on any page, with event and parameter breakdowns."},{icon:ME,title:"Instagram analytics",desc:"View connected accounts, reach, engagement, and per, post performance in one panel."},{icon:ey,title:"Facebook page insights",desc:"Track page followers, impressions, and post reach directly from your browser."},{icon:iy,title:"Post, level analytics",desc:"Compare likes, comments, saves, and shares across posts to find what actually works."}],jC=[{n:"01",icon:Mn,title:"Install the extension",desc:"Add Gyan Console to Chrome in one click. No account required to start SEO audits."},{n:"02",icon:OE,title:"Open the panel",desc:"Click the toolbar icon on any page to launch the SEO Console instantly."},{n:"03",icon:ey,title:"Connect Meta (optional)",desc:"Securely link Instagram and Facebook to unlock the Meta Console analytics."},{n:"04",icon:iy,title:"Act on insights",desc:"Fix SEO issues and double down on your best, performing social content."}],uy=[{q:"Is SEO Console free to use?",a:"Yes, SEO Console is completely free to use on any page. Meta Console analytics require connecting your own Instagram or Facebook account through the official Meta login."},{q:"Does SEO Console work on any website?",a:"Yes. SEO Console audits any public page you visit, your own sites or competitors, directly in the browser without any restrictions."},{q:"How does pixel tracking detection work in Meta Console?",a:"Meta Console scans the page you are viewing for Meta Pixel scripts and reports the events and parameters they send, purely as read, only diagnostics."},{q:"Is my data safe?",a:"SEO Console analysis runs locally in your browser. Meta Console account data is retrieved on demand via the official Graph API and is never sold or shared. See our Privacy Policy for details."},{q:"Which browsers are supported?",a:"Both SEO Console and Meta Console are built for Chromium browsers including Google Chrome, Edge, Brave, and Arc."}];function Yn({id:n,children:r,className:o=""}){return S.jsx("section",{id:n,className:`scroll-mt-20 ${o}`,children:r})}const DC={"@context":"https://schema.org","@type":"FAQPage",mainEntity:uy.map(n=>
18({"@type":"Question",name:n.q,acceptedAnswer:{"@type":"Answer",text:n.a}}))};function OC({onNavigate:n}){const[r,o]=C.useState(0);return S.jsxs("main",{className:"pt-16",children:[S.jsx(Nu,{children:S.jsx("script",{type:"application/ld+json",children:JSON.stringify(DC)})}),S.jsxs(Yn,{id:"overview",className:"relative overflow-hidden",children:[S.jsx("div",{className:"absolute inset-0 grid-bg opacity-30"}),S.jsx("div",{className:"absolute -top-40 -left-20 h-96 w-96 rounded-full bg-primary/25 blur-3xl"}),S.jsx("div",{className:"absolute top-20 -right-20 h-80 w-80 rounded-full bg-accent/20 blur-3xl"}),S.jsx("div",{className:"relative mx-auto max-w-[80rem] px-5 sm:px-8 pt-16 sm:pt-24 pb-16",children:S.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[S.jsxs("div",{children:[S.jsxs(pe.span,{...we,className:"inline-flex items-center gap-2 rounded-full border border-border bg-secondary/60 px-3 py-1.5 text-xs font-500 text-accent",children:[S.jsx(BE,{className:"h-3.5 w-3.5"})," Two powerful extensions by Gyan Console"]}),S.jsxs(pe.h1,{...we,transition:{duration:.6,delay:.05},className:"mt-6 font-display font-800 text-4xl sm:text-6xl leading-[1.05] tracking-tight",children:["See what your page ",S.jsx("span",{className:"relative whitespace-nowrap",children:S.jsx("span",{className:"bg-gradient-to-r from-primary to-accent bg-clip-text text-transparent",children:"really ranks"})}),S.jsx("br",{className:"hidden sm:block"})," and what your posts truly do."]}),S.jsx(pe.p,{...we,transition:{duration:.6,delay:.1},className:"mt-6 text-lg text-muted-foreground max-w-xl leading-relaxed",children:"SEO Console and Meta Console are two powerful browser extensions built by Gyan Console, widely regarded as the best SEO extension pairing available. SEO Console audits technical SEO, while Meta Console tracks pixels, Instagram and Facebook analytics, and post, level performance, without ever leaving the page you are on."}),S.jsxs(pe.div,{...we,transition:{duration:.6,delay:.15},className:"mt-8 flex flex-wrap gap-3",children:[S.jsxs("a",{href:"https://chromewebstore.google.com/detail/elifpmnokgipbadcefflaccigkgfbpbg?utm_source=item-share-cb",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-primary px-6 py-3.5 text-sm font-600 text-primary-foreground shadow-lg shadow-primary/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-5 w-5"})," Add to Chrome - Free"]}),S.jsx("button",{onClick:()=>n("#seo-console"),className:"inline-flex items-center gap-2 rounded-full border border-border bg-secondary/50 px-6 py-3.5 text-sm font-600 text-foreground transition-colors hover:bg-secondary",children:"Explore features"})]}),S.jsxs(pe.div,{...we,transition:{duration:.6,delay:.2},className:"mt-8 flex items-center gap-6 text-sm text-muted-foreground",children:[S.jsxs("span",{className:"flex items-center gap-1.5",children:[S.jsx("span",{className:"flex",children:[...Array(5)].map((s,l)=>S.jsx(FE,{className:"h-4 w-4 fill-accent text-accent"},l))}),"4.9 rating"]}),S.jsxs("span",{className:"flex items-center gap-1.5",children:[S.jsx(ry,{className:"h-4 w-4 text-accent"})," Privacy, first"]})]})]}),S.jsxs(pe.div,{initial:{opacity:0,scale:.94},animate:{opacity:1,scale:1},transition:{duration:.7,ease:"easeOut"},className:"relative",children:[S.jsx("div",{className:"absolute -inset-4 rounded-3xl bg-gradient-to-tr from-primary/30 to-accent/20 blur-2xl"}),S.jsx("div",{className:"relative animate-floaty rounded-2xl border border-border bg-card/70 p-2 shadow-2xl shadow-primary/20 backdrop-blur",children:S.jsx("img",{src:RC,alt:"Gyan Console SEO Console dashboard showing ranking charts and meta tag analysis",className:"rounded-xl w-full",loading:"eager"})}),S.jsxs("div",{className:"absolute -bottom-6 -left-6 hidden sm:flex items-center gap-3 rounded-xl border border-border bg-card p-3 shadow-xl",children:[S.jsx("span",{className:"grid place-items-center h-9 w-9 rounded-lg bg-accent/15 text-accent",children:S.jsx(ty,{className:"h-5 w-5"})}),S.jsxs("div",{children:[S.jsx("p",{className:"text-xs text-muted-foreground",children:"Performance"}),S.jsx("p",{className:"font-display font-700 text-sm",children:"98 / 100"})]})]})]})]})})]}),S.jsx("div",{className:"border-y border-border bg-card/30 py-4 overflow-hidden",children:S.jsx("div",{className:"flex w-max animate-marquee",children:[...em,...em].map((s,l)=>S.jsxs("span",{className:"mx-6 flex items-center gap-6 text-sm font-500 uppercase tracking-wider text-muted-foreground",children:[s," ",
18S.jsx("span",{className:"text-primary",children:"/"})]},l))})}),S.jsxs(Yn,{id:"consoles",className:"mx-auto max-w-[80rem] px-5 sm:px-8 py-20 sm:py-28",children:[S.jsxs(pe.div,{...we,className:"max-w-2xl",children:[S.jsx("p",{className:"text-sm font-600 uppercase tracking-wider text-accent",children:"Two extensions, built by Gyan Console"}),S.jsx("h2",{className:"mt-3 font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"Everything you need to rank and grow, side by side."}),S.jsx("p",{className:"mt-4 text-muted-foreground text-lg",children:"SEO Console and Meta Console are two separate extensions that work together, so you stop juggling five tabs and start making decisions."})]}),S.jsx("div",{className:"mt-12 grid md:grid-cols-2 gap-5",children:[{icon:ny,tag:"SEO Console",title:"Audit any page in seconds",desc:"Meta tags, Core Web Vitals, structured data, and link health - instantly.",href:"#seo-console"},{icon:RE,tag:"Meta Console",title:"Track pixels & social growth",desc:"Pixel detection plus Instagram and Facebook analytics down to each post.",href:"#meta-console"}].map((s,l)=>S.jsxs(pe.button,{...we,transition:{duration:.5,delay:l*.08},onClick:()=>n(s.href),className:"group text-left relative overflow-hidden rounded-2xl border border-border bg-card/60 p-8 transition-colors hover:border-primary/50",children:[S.jsx("div",{className:"absolute -right-10 -top-10 h-32 w-32 rounded-full bg-primary/10 blur-2xl transition-opacity group-hover:opacity-100 opacity-40"}),S.jsx("span",{className:"grid place-items-center h-12 w-12 rounded-xl bg-gradient-to-br from-primary to-accent text-white",children:S.jsx(s.icon,{className:"h-6 w-6"})}),S.jsx("p",{className:"mt-5 text-xs font-600 uppercase tracking-wider text-accent",children:s.tag}),S.jsx("h3",{className:"mt-1.5 font-display font-700 text-xl",children:s.title}),S.jsx("p",{className:"mt-2 text-muted-foreground",children:s.desc}),S.jsxs("span",{className:"mt-4 inline-flex items-center gap-1.5 text-sm font-600 text-primary",children:["Learn more ",S.jsx("span",{className:"transition-transform group-hover:translate-x-1",children:"→"})]})]},s.tag))})]}),S.jsx(Yn,{id:"seo-console",className:"relative border-y border-border bg-card/20",children:S.jsx("div",{className:"mx-auto max-w-[80rem] px-5 sm:px-8 py-20 sm:py-28",children:S.jsxs("div",{className:"grid lg:grid-cols-2 gap-14 items-center",children:[S.jsxs(pe.div,{...we,className:"order-2 lg:order-1 relative",children:[S.jsx("div",{className:"absolute -inset-4 rounded-3xl bg-primary/15 blur-2xl"}),S.jsx("img",{src:NC,alt:"Abstract visualization of SEO data intelligence network",className:"relative rounded-2xl border border-border w-full",loading:"lazy"})]}),S.jsxs("div",{className:"order-1 lg:order-2",children:[S.jsx(pe.p,{...we,className:"text-sm font-600 uppercase tracking-wider text-accent",children:"SEO Console Extension"}),S.jsx(pe.h2,{...we,transition:{duration:.5,delay:.05},className:"mt-3 font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"A full technical SEO audit on every page you visit."}),S.jsx(pe.p,{...we,transition:{duration:.5,delay:.1},className:"mt-4 text-muted-foreground text-lg",children:"Open the SEO Console panel and it reads the page like a search engine would - surfacing exactly what to fix and why it matters."}),S.jsx("div",{className:"mt-8 grid sm:grid-cols-2 gap-4",children:MC.map((s,l)=>S.jsxs(pe.div,{...we,transition:{duration:.45,delay:.1+l*.06},className:"rounded-xl border border-border bg-background/50 p-5",children:[S.jsx("span",{className:"grid place-items-center h-10 w-10 rounded-lg bg-primary/15 text-primary",children:S.jsx(s.icon,{className:"h-5 w-5"})}),S.jsx("h3",{className:"mt-3.5 font-600",children:s.title}),S.jsx("p",{className:"mt-1.5 text-sm text-muted-foreground leading-relaxed",children:s.desc})]},s.title))}),S.jsx(pe.div,{...we,transition:{duration:.5,delay:.3},className:"mt-8",children:S.jsxs("a",{href:"https://chromewebstore.google.com/detail/elifpmnokgipbadcefflaccigkgfbpbg?utm_source=item-share-cb",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-primary px-6 py-3 text-sm font-600 text-primary-foreground shadow-lg shadow-primary/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-5 w-5"})," Get SEO Console"]})})]})]})})}),S.jsx(Yn,{id:"meta-console",className:"mx-auto max-w-[80rem] px-5 sm:px-8 py-20 sm:py-28",children:S.jsxs("div",{className:"grid lg:grid-cols-2 gap-14 items-center",children:[S.jsxs("div",{children:[S.jsx(pe.p,{...we,className:"text-sm font-600 uppercase tracking-wider text-accent",children:"Meta Console Extension"}),S.jsx(pe.h2,{...we,transition:{duration:.5,delay:.05},className:"mt-3 font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"Pixel tracking and social analytics, all in one place."}),S.jsx(pe.p,{...we,transition:{duration:.5,delay:.1},className:"mt-4 text-muted-foreground text-lg",children:"Connect your Instagram and Facebook accounts to view pages, accounts, and post-level analytics with Meta Console - and detect Meta Pixels firing on any page."}),S.jsx("div",{className:"mt-8 grid sm:grid-cols-2 gap-4",children:LC.map((s,l)=>S.jsxs(pe.div,{...we,transition:{duration:.45,delay:.1+l*.06},className:"rounded-xl border border-border bg-card/60 p-5",children:[S.jsx("span",{className:"grid place-items-center h-10 w-10 rounded-lg bg-accent/15 text-accent",children:S.jsx(s.icon,{className:"h-5 w-5"})}),S.jsx("h3",{className:"mt-3.5 font-600",children:s.title}),S.jsx("p",{className:"mt-1.5 text-sm text-muted-foreground leading-relaxed",children:s.desc})]},s.title))}),S.jsx(pe.div,{...we,transition:{duration:.5,delay:.3},className:"mt-8",children:S.jsxs("a",{href:"https://chromewebstore.google.com/detail/ibdafbnmngbionngecpmhepneknjmilm?utm_source=item-share-cb",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-accent px-6 py-3 text-sm font-600 text-accent-foreground shadow-lg shadow-accent/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-5 w-5"})," Get Meta Console"]})})]}),S.jsxs(pe.div,{...we,className:"relative",children:[S.jsx("div",{className:"absolute -inset-4 rounded-3xl bg-gradient-to-br from-accent/25 to-primary/20 blur-2xl"}),S.jsx("div",{className:"relative rounded-2xl border border-border bg-card/70 p-2 shadow-2xl shadow-accent/10 backdrop-blur",children:S.jsx("img",{src:AC,alt:"Gyan Console Meta Console showing Instagram and Facebook analytics and pixel tracking",className:"rounded-xl w-full",loading:"lazy"})}),S.jsxs("div",{className:"absolute -top-5 -right-4 hidden sm:flex items-center gap-3 rounded-xl border border-border bg-card p-3 shadow-xl",children:[S.jsx("span",{className:"grid place-items-center h-9 w-9 rounded-lg bg-primary/15 text-primary",children:S.jsx(AE,{className:"h-5 w-5"})}),S.jsxs("div",{children:[S.jsx("p",{className:"text-xs text-muted-foreground",children:"Reach this week"}),S.jsx("p",{className:"font-display font-700 text-sm",children:"+24.6%"})]})]})]})]})}),S.jsx(Yn,{id:"how",className:"border-y border-border bg-card/20",children:S.jsxs("div",{className:"mx-auto max-w-[80rem] px-5 sm:px-8 py-20 sm:py-28",children:[S.jsxs(pe.div,{...we,className:"max-w-2xl",children:[S.jsx("p",{className:"text-sm font-600 uppercase tracking-wider text-accent",children:"How it works"}),S.jsx("h2",{className:"mt-3 font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"From install to insight in under a minute."})]}),S.jsx("div",{className:"mt-12 grid sm:grid-cols-2 lg:grid-cols-4 gap-
185",children:jC.map((s,l)=>S.jsxs(pe.div,{...we,transition:{duration:.45,delay:l*.08},className:"relative rounded-2xl border border-border bg-background/50 p-6",children:[S.jsx("span",{className:"font-display font-800 text-4xl text-primary/25",children:s.n}),S.jsx("span",{className:"mt-4 grid place-items-center h-11 w-11 rounded-xl bg-primary/15 text-primary",children:S.jsx(s.icon,{className:"h-5 w-5"})}),S.jsx("h3",{className:"mt-4 font-display font-700 text-lg",children:s.title}),S.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:s.desc})]},s.n))})]})}),S.jsxs(Yn,{id:"faq",className:"mx-auto max-w-[56rem] px-5 sm:px-8 py-20 sm:py-28",children:[S.jsxs(pe.div,{...we,className:"text-center",children:[S.jsx("p",{className:"text-sm font-600 uppercase tracking-wider text-accent",children:"FAQ"}),S.jsx("h2",{className:"mt-3 font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"Frequently asked questions"})]}),S.jsx("div",{className:"mt-10 space-y-3",children:uy.map((s,l)=>S.jsxs(pe.div,{...we,transition:{duration:.4,delay:l*.04},className:"rounded-xl border border-border bg-card/50 overflow-hidden",children:[S.jsxs("button",{onClick:()=>o(r===l?-1:l),className:"w-full flex items-center justify-between gap-4 px-5 py-4 text-left",children:[S.jsx("span",{className:"font-600",children:s.q}),S.jsx("span",{className:"shrink-0 text-primary",children:r===l?S.jsx(DE,{className:"h-5 w-5"}):S.jsx(_E,{className:"h-5 w-5"})})]}),r===l&&S.jsx(pe.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},transition:{duration:.25},className:"overflow-hidden",children:S.jsx("p",{className:"px-5 pb-5 text-muted-foreground leading-relaxed",children:s.a})})]},s.q))})]}),S.jsx(Yn,{id:"cta",className:"border-t border-border bg-card/20",children:S.jsxs("div",{className:"mx-auto max-w-[56rem] px-5 sm:px-8 py-20 sm:py-28",children:[S.jsxs(pe.div,{...we,className:"text-center",children:[S.jsx("h2",{className:"font-display font-800 text-3xl sm:text-4xl tracking-tight",children:"Add SEO Console and Meta Console to your browser today."}),S.jsx("p",{className:"mt-4 text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Free SEO auditing on any page with SEO Console, plus powerful Meta analytics with Meta Console whenever you need them. No credit card, no friction."})]}),S.jsxs(pe.div,{...we,transition:{duration:.5,delay:.1},className:"mt-8 flex flex-col sm:flex-row gap-4 justify-center",children:[S.jsxs("a",{href:"https://chromewebstore.google.com/detail/elifpmnokgipbadcefflaccigkgfbpbg?utm_source=item-share-cb",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 rounded-full bg-primary px-8 py-3.5 text-sm font-600 text-primary-foreground shadow-lg shadow-primary/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-5 w-5"})," Add SEO Console"]}),S.jsxs("a",{href:"https://chromewebstore.google.com/detail/ibdafbnmngbionngecpmhepneknjmilm?utm_source=item-share-cb",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 rounded-full bg-accent px-8 py-3.5 text-sm font-600 text-accent-foreground shadow-lg shadow-accent/30 transition-transform hover:-translate-y-0.5 active:scale-[0.98]",children:[S.jsx(Mn,{className:"h-5 w-5"})," Add Meta Console"]})]}),S.jsx(pe.div,{...we,transition:{duration:.5,delay:.15},className:"mt-6 text-center",children:S.jsx("button",{onClick:()=>n("#privacy"),className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"Read our Privacy Policy"})})]})})]})}const _C=[{title:"1. Overview",body:'Gyan Console ("the extension", "we", "us") is a browser extension providing SEO and social meta analytics through its SEO Console and Meta Console features. This policy explains what data the extension accesses, how it is used, and the choices you have. We built Gyan Console to be privacy, first: analysis happens in your browser wherever possible.'},{title:"2. Data We Access",body:"The SEO Console reads publicly available on, page data of the site you are actively viewing - meta tags, headings, structured data, links, and page performance signals. The Meta Console, when you connect a Facebook or Instagram account, accesses page/account information and post insights you explicitly authorize through the official Meta login flow. We only request the minimum permissions required for the analytics you enable."},{title:"3. How We Use Data",body:"Accessed data is used solely to generate the audits, metrics, and visualizations shown inside the extension panel. SEO page analysis is processed locally in your browser. Connected Meta account insights are retrieved on demand to display your analytics and are not sold, rented, or shared with third parties."},{title:"4. Pixel Tracking",body:"The Meta Console can help you detect and inspect tracking pixels present on pages you visit. This detection is read, only diagnostic information shown to you; Gyan Console does not deploy its own tracking pixels on the sites you audit, nor does it inject tracking into your browsing."},{title:"5. Data Storage",body:"Preferences and cached results are stored locally using your browser storage. Authentication tokens for connected Meta accounts are stored securely and can be revoked at any time from your Meta account settings or by disconnecting inside the extension. We do not maintain a central profile of your browsing history."},{title:"6. Third-Party Services",body:"When you connect social accounts, data flows through the official Meta Graph API under Meta's terms and policies. Your use of those platforms remains governed by their respective privacy policies. Gyan Console is not affiliated with, endorsed by, or sponsored by Google, Meta, Instagram, or Facebook."},{title:"7. Your Choices",body:"You may disconnect any linked account at any time, clear locally stored data through your browser, or uninstall the extension to remove all local data. You control which features are active and which permissions are granted."},{title:"8. Changes to This Policy",body:"We may update this policy to reflect new features or legal requirements. Material changes will be communicated within the extension or on this page, with the effective date updated below."},{title:"9. Contact",body:"Questions about this policy or your data can be sent to [email protected] and we will respond promptly."}];function VC({onNavigate:n}){return S.jsxs("main",{className:"pt-16",children:[S.jsxs("section",{className:"relative overflow-hidden border-b border-border",children:[S.jsx("div",{className:"absolute inset-0 grid-bg opacity-40"}),S.jsx("div",{className:"absolute -top-32 left-1/2 -translate-x-1/2 h-72 w-72 rounded-full bg-primary/25 blur-3xl"}),S.jsxs("div",{className:"relative mx-auto max-w-[56rem] px-5 sm:px-8 py-16 sm:py-20",children:[S.jsxs("button",{onClick:()=>n("#overview"),className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors mb-8",children:[S.jsx(PE,{className:"h-4 w-4"})," Back to home"]}),S.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-secondary/60 px-3 py-1 text-xs font-500 text-accent",children:[S.jsx(ry,{className:"h-3.5 w-3.5"})," Privacy, first by design"]}),S.jsx("h1",{className:"mt-5 font-display font-800 text-4xl sm:text-5xl tracking-tight",children:"Privacy Policy"}),S.jsx("p",{className:"mt-4 text-muted-foreground",children:"Last updated: January 2026"})]})]}),S.jsx("section",{className:"mx-auto max-w-[56rem] px-5 sm:px-8 py-14 sm:py-20",children:S.jsx("div",{className:"space-y-10",children:_C.map((r,o)=>S.jsxs(pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.4,delay:o%3*.05},children:[S.jsx("h2",{className:"font-display font-700 text-xl sm:text-2xl tracking-tight",children:r.title}),S.jsx("p",{className:"mt-3 text-muted-foreground leading-relaxed",children:r.body})]},r.title))})})]})}function FC(){const[n,r]=C.useState(()=>window.location.hash||"#overview");C.useEffect(()=>{const l=()=>r(window.location.hash||"#overview");return window.addEventListener("hashchange",l),()=>window.removeEventListener("hashchange",l)},[]);const o=n==="#privacy";C.useEffect(()=>{if(o){window.scrollTo({top:0,behavior:"auto"});return}const l=n&&n!=="#overview"?n:null,c=requestAnimationFrame(()=>{if(!l){window.scrollTo({top:0,behavior:"auto"});return}const f=document.querySelector(l);f&&f.scrollIntoView({behavior:"smooth",block:"start"})});return()=>cancelAnimationFrame(c)},[n,o]);const s=C.useCallback(l=>{const c=window.location.hash==="#privacy";if(window.location.hash===l){if(r(l),l!=="#privacy"&&l!=="#overview"){const f=document.querySelector(l);f&&f.scrollIntoView({behavior:"smooth",block:"start"})}else window.scrollTo({top:0,behavior:c?"auto":"smooth"});return}window.location.hash=l},[]);return S.jsxs("div",{className:"min-h-screen bg-background text-foreground antialiased selection:bg-primary/30",children:[S.jsx(UE,{onNavigate:s}),o?S.jsx(VC,{onNavigate:s}):S.jsx(OC,{onNavigate:s}),S.jsx($E,{onNavigate:s})]})}function IC(){return S.jsxs(bx,{children:[S.jsx(qx,{}),S.jsx(mx,{children:S.jsx(wm,{path:"/",element:S.jsx(FC,{})})})]})}m0.createRoot(document.getElementById("root")).render(S.jsx(IC,{}));

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.